const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/js/b780f8e7-0612-4d46-8024-c0614ca25ef0.BZZ1cLCR.js","assets/js/ba0f904d-b7bd-4a7d-8bd1-47e39e655dbc.DiKAzxfG.js"])))=>i.map(i=>d[i]);
import{j as e,aG as j,_ as f}from"./27cbb885-9bc5-418d-9ec6-2b35bff547d0.BEgz5TI0.js";import{a as o}from"./ba0f904d-b7bd-4a7d-8bd1-47e39e655dbc.DiKAzxfG.js";import{e as d,f as v,g}from"../../index.js";import{g as h}from"./1553a3d2-88ea-454c-b1d6-ad16e655d307.BU4QC3MU.js";import"./b813fac5-cbf4-4bdd-aa14-89e1842aae3c.C5hV1yqq.js";import"./7dfaa908-1fad-4330-a684-d3c24caf3b25.DBPB70EQ.js";import"./3f5e89eb-0b99-4989-ba42-9f14a1e0c07d.l-wE_TeF.js";import"./04eec2b6-5979-4c64-9e60-6995690ff008.dCeXI94U.js";import"./43178910-39de-4a44-8ec5-3a1260b397dc.B9ygI19o.js";var x=o.lazy(function(){return f(()=>import("./b780f8e7-0612-4d46-8024-c0614ca25ef0.BZZ1cLCR.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};
