const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/js/0316dccd-b1ad-48b5-a8b7-3b88d5185a89.Cv6WBMTb.js","assets/js/3be07107-f826-4553-a584-c09b1f768eb4.DiKAzxfG.js"])))=>i.map(i=>d[i]);
import{j as e,aL as p,_ as u}from"./86559299-b4db-4d4a-91d1-a5b16a832290.DNAe3rgy.js";import{a as s}from"./3be07107-f826-4553-a584-c09b1f768eb4.DiKAzxfG.js";import{a as j,b as d}from"../../index.js";import{f as h}from"./03bdaa01-c6d3-4805-9602-23eaef7ef89e.muuHxO4w.js";import{s as x}from"./index.6cqiAEjd.js";import"./cfa9b772-2d34-4d58-9a8e-135780f13e97.C1tr_lPN.js";import"./d803732d-59aa-40e7-911b-76c14d2f701c.Bo2UEwAP.js";import"./ba1b8ccf-a862-4f34-9556-ea5ecb69796a.BNN5RA9m.js";import"./f3ccf36e-59b2-42bf-ba52-32dd1beb180e.IKDEduMJ.js";import"./7dd95b95-3243-4c6a-9225-5da922c7ed9e.B9ygI19o.js";const E=s.lazy(()=>u(()=>import("./0316dccd-b1ad-48b5-a8b7-3b88d5185a89.Cv6WBMTb.js"),__vite__mapDeps([0,1])));function S({id:o}){const i=j(t=>t.getContainer(o))(t=>t.emojiArea),r=d(t=>t.open),a=h(t=>t.theme),m="facebook",n=a?"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:m,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{S as default};
