const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/js/7153e936-bcd5-4a70-b4a0-3ce01e92b864.DjBd9yT-.js","assets/js/c72cd99e-5730-4cc2-aabe-4ae7e97095c6.DeMVsG9D.js","assets/js/07781464-665d-4951-b240-5b40a39e22dc.C0Zqfgkc.js"])))=>i.map(i=>d[i]);
import{aC as p,_ as u}from"./f4074a0d-5acc-4a62-bc3a-03856ffc70c7.BUHHOS2s.js";import{j as e}from"./12fcc156-8432-4f6a-a756-bc5c4804a065.C5GaJATJ.js";import{m as j,r as s}from"./c72cd99e-5730-4cc2-aabe-4ae7e97095c6.DeMVsG9D.js";import{a as d,b as h}from"../../index.js";import{s as x}from"./index.6cqiAEjd.js";import"./4b2a7e94-c8bf-4a6c-b737-60c84fbf1cdf.1pKRhbiQ.js";import"./07781464-665d-4951-b240-5b40a39e22dc.C0Zqfgkc.js";import"./58b66b3a-d812-4734-9eca-e501bc74e5aa.t6OGrC2p.js";import"./a5eb2f53-38cd-408f-aa75-e59898683a8e.C4WI4RHp.js";import"./07412ec9-ac8d-49eb-8fb8-8ea994d77cb8.Bh1YKqXA.js";const E=s.lazy(()=>u(()=>import("./7153e936-bcd5-4a70-b4a0-3ce01e92b864.DjBd9yT-.js"),__vite__mapDeps([0,1,2])));function z({id:o}){const i=d(t=>t.getContainer(o))(t=>t.emojiArea),r=h(t=>t.open),m=j(t=>t.theme),a="facebook",n=m?"dark":"light",c=t=>{r(e.jsx(s.Suspense,{fallback:e.jsx("img",{className:"blur",src:chrome.runtime.getURL("assets/png/emoji.png")}),children:e.jsx(E,{emojiStyle:a,theme:n,onEmojiClick:l=>x(o,l.emoji),width:"auto",height:"60vh"})}),{placement:i.position},t.target,10,{mounted:()=>t.target.setAttribute("style","color: green !important"),desmouted:()=>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:t=>c(t),children:e.jsx(p,{className:"h-7 w-7"})})})}export{z as default};
