const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/js/8df3ca2e-14c4-4f3d-897a-c3c390f8facb.DciW7YKU.js","assets/js/2b078188-5efb-4452-8ca5-7900b5d63e9c.DJkumxIr.js","assets/js/968a5d25-c22b-48fb-a949-8b1a51108ca8.B8_nURbH.js"])))=>i.map(i=>d[i]);
import{aC as p,_ as u}from"./06fa802d-ba98-44cf-bde0-ec08e5ff92e8.wKKXqRvV.js";import{j as e}from"./8bbe6333-6242-4956-8433-9ab482a4054b.B42l20xK.js";import{l as j,r as s}from"./2b078188-5efb-4452-8ca5-7900b5d63e9c.DJkumxIr.js";import{a as d,b as h}from"../../index.js";import{s as x}from"./index.6cqiAEjd.js";import"./c8517cf8-cfbd-48ef-99a8-2967003b413e.CBqVp_2c.js";import"./968a5d25-c22b-48fb-a949-8b1a51108ca8.B8_nURbH.js";import"./e72c2e74-1fea-4659-b00e-2ce620d58699.Dy5LTAT8.js";import"./929ddbaf-2e88-45b7-b940-dadb9764caf2.bSM1X-nk.js";import"./2fdb4ea3-e694-4386-a220-a3ce9c346741.CElZwULG.js";const E=s.lazy(()=>u(()=>import("./8df3ca2e-14c4-4f3d-897a-c3c390f8facb.DciW7YKU.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};
