const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/js/3d63cb74-e4c5-4c93-a9dd-50918cb320cd.DYZXbMw6.js","assets/js/1f0bf85d-2689-4c10-8430-da1b1e7d0010.DY4-Cj1r.js"])))=>i.map(i=>d[i]);
import{j as e,aD as j,_ as f}from"./5c518819-7ebe-4103-a851-be46e3d65bf0.Dcj1nwh_.js";import{a as o}from"./1f0bf85d-2689-4c10-8430-da1b1e7d0010.DY4-Cj1r.js";import{e as d,f as v,g as h}from"../../index.js";import{a as g}from"./ef4e8458-aacd-4e21-abed-1d0b17bc11a3.CyjCDOIy.js";import"./e84eb26f-796c-4faa-a317-5109ba85e700.SSAC4PCw.js";import"./e1900af0-9d5c-481a-93b4-1db686ad9ab7.NIGUFBhG.js";import"./477600f5-f774-4453-9a21-0252efb3f679.CkA9_P0Y.js";import"./a894b5ab-841b-4164-9f83-9c6b468c53bf.BG2J9fa4.js";import"./471e0139-b0ca-46b2-9e30-f7acc4ebcbb3.Bp0eb5mn.js";var x=o.lazy(function(){return f(()=>import("./3d63cb74-e4c5-4c93-a9dd-50918cb320cd.DYZXbMw6.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};
