const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/js/9bde1c60-33a7-44f1-ac4a-fad5613228cf.BP-N5vW0.js","assets/js/83f0fd73-ea42-4f92-a76f-4edb15b122e6.DiKAzxfG.js"])))=>i.map(i=>d[i]);
import{j as e,aL as j,_ as f}from"./3d807817-e816-4500-a9a7-ac5e78169597.DvnrkCrK.js";import{a as o}from"./83f0fd73-ea42-4f92-a76f-4edb15b122e6.DiKAzxfG.js";import{e as d,f as v,g as h}from"../../index.js";import{f as g}from"./da0e1b11-fc73-40c8-a043-d7542bea1d9b.DvQ-608t.js";import"./7dd30cb7-9826-41ae-a6cf-480eea9dba3e.BIy9uQgi.js";import"./bb0cf78b-2065-447e-aa67-7e46ac570c2e.CtKGE-fM.js";import"./94b9af56-c425-4cfb-a77a-324b48aea7ad.CazJk8zJ.js";import"./e83096d2-0180-4048-95d6-6a839c11e2cf.DZDEIPZG.js";import"./e5b086ba-0129-450e-8373-b0fbebb9871c.B9ygI19o.js";var x=o.lazy(function(){return f(()=>import("./9bde1c60-33a7-44f1-ac4a-fad5613228cf.BP-N5vW0.js"),__vite__mapDeps([0,1]))});function S(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{S as default};
