const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/js/091a2786-94de-45a9-bd81-272cdea007f5._7T9wj6B.js","assets/js/4a12e97a-6677-4e6a-883a-a04a57fd20dd.DY4-Cj1r.js"])))=>i.map(i=>d[i]);
import{j as e,aG as j,_ as f}from"./c6da697c-7ad5-4d16-9811-816f0637e41e.BdjJkayk.js";import{a as o}from"./4a12e97a-6677-4e6a-883a-a04a57fd20dd.DY4-Cj1r.js";import{e as d,f as v,g as h}from"../../index.js";import{a as g}from"./32b3f534-34be-418b-9c8b-be5708dbe5cf.6TUYENWA.js";import"./914bdab0-2682-4422-a464-334586081859.BoGZ5jVn.js";import"./3d453f92-beed-4b03-a011-590d43576b2c.B9ygI19o.js";import"./fe8226ae-b013-4dcf-aa9d-e4201e8e35b0.B-7fKKSZ.js";import"./978fb8d0-2053-450f-9044-bd797f558ba4.DMNgrc0g.js";import"./aa7eadab-d177-4fbc-9520-18b634d565e1.DbqKyC1Q.js";var x=o.lazy(function(){return f(()=>import("./091a2786-94de-45a9-bd81-272cdea007f5._7T9wj6B.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};
