const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/js/1ea50d04-4c2e-4e69-8a67-9161d4b6b0ff.kfSqYip9.js","assets/js/d939214e-5bdd-4d85-988a-e0e19a9d44fb.CC2qRq32.js"])))=>i.map(i=>d[i]);
import{j as e,aD as j,_ as f}from"./12728c7f-a885-4090-a0ec-756bbcfc134b.DaTHzKwO.js";import{a as o}from"./d939214e-5bdd-4d85-988a-e0e19a9d44fb.CC2qRq32.js";import{e as d,f as v,g as h}from"../../index.js";import{a as g}from"./ab85f0c2-83f1-4008-a033-a1a345b837aa.CE5aiCBP.js";import"./432719ca-ca15-49cd-bfb0-2d74cba889f3.vmQPZsnS.js";import"./382eb425-f420-4d7c-b327-04ecc51dc0c7.NIGUFBhG.js";import"./24d46475-fb5c-4648-b7db-6bc4d3a32710.W1ymj3vX.js";import"./51633842-cd53-4079-b996-ea6883b6b414.y-0x-YU8.js";import"./ec5bfd76-7ecd-487e-9aa7-862475f81a0d.BpbwkdwC.js";var x=o.lazy(function(){return f(()=>import("./1ea50d04-4c2e-4e69-8a67-9161d4b6b0ff.kfSqYip9.js"),__vite__mapDeps([0,1]))});function z(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{z as default};
