const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/js/cd369e78-bd1b-41f1-9027-26cfe9f1b6d1.BFoV4NYL.js","assets/js/22dd7e42-87be-4398-b1bd-5d76b303be77.DiKAzxfG.js"])))=>i.map(i=>d[i]);
import{j as e,aG as j,_ as f}from"./3555d203-2538-4509-8b24-bc3613546676.CEUjTIxG.js";import{a as o}from"./22dd7e42-87be-4398-b1bd-5d76b303be77.DiKAzxfG.js";import{e as d,f as v,g}from"../../index.js";import{g as h}from"./78e4e052-9712-4753-97c5-8c13ab5d82b5.hEZ_3ehH.js";import"./02e7782e-41f9-47f3-a7e1-1cc15ddfad06.BlNUIreo.js";import"./b7bf59fc-7460-48c4-8430-448b99c389f2.Dp7_4q2L.js";import"./5ef095bd-1088-472f-9deb-bd030454de5f.DfFmyfWN.js";import"./5a360292-97f8-4e7e-af1c-0c91c64bffd9.ChPk2P_C.js";import"./a28668d0-723d-4ff0-a148-26e7159e0c61.B9ygI19o.js";var x=o.lazy(function(){return f(()=>import("./cd369e78-bd1b-41f1-9027-26cfe9f1b6d1.BFoV4NYL.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=h(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};
