const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/js/f738e8db-e7d2-4106-805e-56caacf33d0b.Da3LRNrU.js","assets/js/c07d242a-5b4a-4661-882b-c0ab5dd00093.DY4-Cj1r.js"])))=>i.map(i=>d[i]);
import{j as e,aG as j,_ as f}from"./7e9e5b2a-4945-46bc-8833-f32678ff993b.B8syaM8b.js";import{a as o}from"./c07d242a-5b4a-4661-882b-c0ab5dd00093.DY4-Cj1r.js";import{e as d,f as v,g as h}from"../../index.js";import{a as g}from"./c44ef250-861a-40aa-90df-115eddb53024.BtQIQt1-.js";import"./c3b2133e-74e3-4cbc-93ae-c23404a4b741.DegroQ2J.js";import"./714dcc15-f748-4b9d-85c3-0eee70c7793a.NIGUFBhG.js";import"./9737f6c3-b96e-4d76-865a-a131e3d36057.j2JXV5k-.js";import"./cdf811dc-33bd-497a-ba45-472c195ff5b5.BrVdrNdq.js";import"./445fb246-2203-4174-89de-dbe8a626f7ee.CzSfud0t.js";var x=o.lazy(function(){return f(()=>import("./f738e8db-e7d2-4106-805e-56caacf33d0b.Da3LRNrU.js"),__vite__mapDeps([0,1]))});function z(i){var r=i.id,n=d(function(t){return t.getContainer(r)}),a=n(function(t){return t.emojiArea}),s=v(function(t){return t.open}),m=g(function(t){return t.theme}),u="facebook",c=m?"dark":"light",l=function(t){s(e.jsx(o.Suspense,{fallback:e.jsx("img",{className:"blur",src:chrome.runtime.getURL("assets/png/emoji.png")}),children:e.jsx(x,{emojiStyle:u,theme:c,onEmojiClick:function(p){return h(r,p.emoji)},width:"auto",height:"60vh"})}),{placement:a.position},t.target,10,{mounted:function(){return t.target.setAttribute("style","color: green !important")},desmouted:function(){return t.target.removeAttribute("style")}})};return e.jsx("div",{className:"relative",style:{right:"32px",top:"3px"},children:e.jsx("span",{className:"cursor-pointer pulse absolute text-[var(--icon)]",onClick:function(t){return l(t)},children:e.jsx(j,{className:"h-7 w-7"})})})}export{z as default};
