import{ah as p,_ as u}from"./v_7_4_3_72_6a457bf5-eeae-4570-8821-bd6fa39c89268.js";import{j as e}from"./v_7_4_3_72_6a457bf5-eeae-4570-8821-bd6fa39c89263.js";import{a as r}from"./v_7_4_3_72_6a457bf5-eeae-4570-8821-bd6fa39c89262.js";import{u as j,a as h}from"./v_7_4_3_72_6a457bf5-eeae-4570-8821-bd6fa39c892655.js";import{u as d}from"./v_7_4_3_72_6a457bf5-eeae-4570-8821-bd6fa39c89265.js";import{s as x}from"./v_7_4_3_72_6a457bf5-eeae-4570-8821-bd6fa39c8926128.js";import"./v_7_4_3_72_6a457bf5-eeae-4570-8821-bd6fa39c89264.js";import"./v_7_4_3_72_6a457bf5-eeae-4570-8821-bd6fa39c89266.js";import"./v_7_4_3_72_6a457bf5-eeae-4570-8821-bd6fa39c89267.js";import"./v_7_4_3_72_6a457bf5-eeae-4570-8821-bd6fa39c8926.js";const E=r.lazy(() => __vitePreload(()=>import(chrome.runtime.getURL("content/assets/js/v_7_4_3_72_6a457bf5-eeae-4570-8821-bd6fa39c8926127.js")),[]));function M({id:o}){const s=j(t=>t.getContainer(o))(t=>t.emojiArea),i=h(t=>t.open),a=d(t=>t.theme),m="facebook",n=a?"dark":"light",c=t=>{i(e.jsx(r.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:s.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{M as default};
