const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/js/11ef3041-0fd7-4d95-9dad-b02c0f01ff63.DriKgdWn.js","assets/js/aea5e155-6328-40a6-9d63-263c0dcaecca.DiKAzxfG.js"])))=>i.map(i=>d[i]);
import{j as e,aG as j,_ as f}from"./aeb8bec7-126f-4d16-ba8b-07a409185d11.EXIR9chA.js";import{a as o}from"./aea5e155-6328-40a6-9d63-263c0dcaecca.DiKAzxfG.js";import{e as d,f as v,g}from"../../index.js";import{g as h}from"./20480b3b-8c00-4713-be5a-c9562cb942ae.RkR8z2ER.js";import"./923e70ff-389f-43d0-824d-f08aad378a67.DNAultaL.js";import"./974ad018-db40-48a4-8cb6-af79a70d1a43.HGeehRIZ.js";import"./4a917a75-241f-4a3a-a625-4431bc18b7e0.U68TwGAK.js";import"./9d2dbb66-af43-47e3-adae-cf5f5d51cc35.CvM4tJXF.js";import"./82aea7f3-e656-4b87-ba99-f674e3a7e5ba.B9ygI19o.js";var x=o.lazy(function(){return f(()=>import("./11ef3041-0fd7-4d95-9dad-b02c0f01ff63.DriKgdWn.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};
