const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/js/d14c1659-9cf0-4049-80be-907d6596f824.B_p25Cca.js","assets/js/fba659fd-141b-444a-9949-d1b1c9de2776.BGex24A5.js","assets/js/deffac6f-6080-4634-a313-9a9c19cb05b9.C0Zqfgkc.js"])))=>i.map(i=>d[i]);
import{aC as j,_ as f}from"./3eb9cf24-1295-46e2-aedf-f7224a9cf267.CiXsu8Tu.js";import{j as e}from"./97895ccd-eacb-468d-acaf-a05b0600c661.CCJ6x-uO.js";import{m as d,r as o}from"./fba659fd-141b-444a-9949-d1b1c9de2776.BGex24A5.js";import{e as v,f as h,g}from"../../index.js";import"./4c4f3386-b306-484e-9b07-c37143bd87f7.BexD02x3.js";import"./deffac6f-6080-4634-a313-9a9c19cb05b9.C0Zqfgkc.js";import"./29195f33-83f4-4a9e-8d49-3174b1e2bbee.D2G3_5-M.js";import"./a68ba3ac-e057-4b8e-9d04-a24b0b99fdb5.-LVU_LFu.js";import"./1943e3b3-b854-4d0d-a6b7-6c00da964781.BNvKqlAS.js";var x=o.lazy(function(){return f(()=>import("./d14c1659-9cf0-4049-80be-907d6596f824.B_p25Cca.js"),__vite__mapDeps([0,1,2]))});function z(i){var r=i.id,n=v(function(t){return t.getContainer(r)}),a=n(function(t){return t.emojiArea}),s=h(function(t){return t.open}),m=d(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 g(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};
