import{r as e}from"./chunk-BPLyUllO.js";import{Yn as t}from"./_virtual_wxt-plugins-DvmdiDtI.js";import{a as n,c as r,i,s as a}from"./src-Dtet3gQG.js";import{n as o,t as s}from"./chunk-VCGWCGR7-HrmjO28K.js";import{t as c}from"./chunk-ODNERRIQ-CiIr8wWl.js";var l=e({onMessage:()=>p,onOpenStreamChannel:()=>h,openStream:()=>m,sendMessage:()=>f}),u=c(`popup`),d=s(`popup`,e=>u.postMessage(e));u.onMessage(d.handleMessage);var{sendMessage:f,onMessage:p}=d,{openStream:m,onOpenStreamChannel:h}=o(d);t(i).provide(n,l).use(r(e=>{a.register(e,l)})).mount(`#app`);