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 p,_ as u}from"./3d807817-e816-4500-a9a7-ac5e78169597.DvnrkCrK.js";import{a as s}from"./83f0fd73-ea42-4f92-a76f-4edb15b122e6.DiKAzxfG.js";import{a as j,b as d}from"../../index.js";import{f as h}from"./da0e1b11-fc73-40c8-a043-d7542bea1d9b.DvQ-608t.js";import{s as x}from"./index.6cqiAEjd.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";const E=s.lazy(()=>u(()=>import("./9bde1c60-33a7-44f1-ac4a-fad5613228cf.BP-N5vW0.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};
