import{j as t,_ as a}from"./v_7_4_2_23_80f0be4c-2624-48ff-84de-a733d033e3d610.js";import{R as n}from"./v_7_4_2_23_80f0be4c-2624-48ff-84de-a733d033e3d65.js";import{z as l,K as p,P as x,J as u,A as j}from"./v_7_4_2_23_80f0be4c-2624-48ff-84de-a733d033e3d623.js";import{a as e}from"./v_7_4_2_23_80f0be4c-2624-48ff-84de-a733d033e3d64.js";import{C as d,M as L,a as z,A as E,b as f,c as y,R as h,F as A,d as R}from"./v_7_4_2_23_80f0be4c-2624-48ff-84de-a733d033e3d621.js";import"./v_7_4_2_23_80f0be4c-2624-48ff-84de-a733d033e3d618.js";import"./v_7_4_2_23_80f0be4c-2624-48ff-84de-a733d033e3d66.js";import"./v_7_4_2_23_80f0be4c-2624-48ff-84de-a733d033e3d68.js";import"./v_7_4_2_23_80f0be4c-2624-48ff-84de-a733d033e3d6.js";import"./v_7_4_2_23_80f0be4c-2624-48ff-84de-a733d033e3d619.js";import"./v_7_4_2_23_80f0be4c-2624-48ff-84de-a733d033e3d67.js";import"./v_7_4_2_23_80f0be4c-2624-48ff-84de-a733d033e3d69.js";import"./v_7_4_2_23_80f0be4c-2624-48ff-84de-a733d033e3d62.js";import"./v_7_4_2_23_80f0be4c-2624-48ff-84de-a733d033e3d63.js";import"./v_7_4_2_23_80f0be4c-2624-48ff-84de-a733d033e3d645.js";const P=e.lazy(() => __vitePreload(()=>import(chrome.runtime.getURL("content/assets/js/v_7_4_2_23_80f0be4c-2624-48ff-84de-a733d033e3d675.js")),[]));function M(){return t.jsx(e.Suspense,{fallback:t.jsx(t.Fragment,{}),children:t.jsx(P,{})})}const v=e.lazy(() => __vitePreload(()=>import(chrome.runtime.getURL("content/assets/js/v_7_4_2_23_80f0be4c-2624-48ff-84de-a733d033e3d676.js")).then(s=>s.i),[]));function D(){return t.jsx(e.Suspense,{fallback:t.jsx(t.Fragment,{}),children:t.jsx(v,{})})}const I=e.lazy(() => __vitePreload(()=>import(chrome.runtime.getURL("content/assets/js/v_7_4_2_23_80f0be4c-2624-48ff-84de-a733d033e3d677.js")),[])),F=e.lazy(() => __vitePreload(()=>import(chrome.runtime.getURL("content/assets/js/v_7_4_2_23_80f0be4c-2624-48ff-84de-a733d033e3d678.js")),[]));function C(){const{activeChat:s}=l.getState();return t.jsx(e.Suspense,{fallback:t.jsx(t.Fragment,{}),children:s.id.server==="@lid"&&!s.accountLid?t.jsx(F,{}):t.jsx(I,{})})}const O=e.lazy(() => __vitePreload(()=>import(chrome.runtime.getURL("content/assets/js/v_7_4_2_23_80f0be4c-2624-48ff-84de-a733d033e3d679.js")),[]));function g(){var c;const s=l(o=>o.activeChat),r=p(o=>o.menuContent),i=(c=s==null?void 0:s.id)==null?void 0:c._serialized,m=x(o=>i?o.monitors.some(_=>_.userID===i):!1);return r.desactiveMonitorEnv||!i||!m?null:t.jsx(e.Suspense,{fallback:null,children:t.jsx(O,{})})}const V=e.lazy(() => __vitePreload(()=>import(chrome.runtime.getURL("content/assets/js/v_7_4_2_23_80f0be4c-2624-48ff-84de-a733d033e3d680.js")),[]));function S(){const{assistente:s}=u();return s.active&&t.jsx(e.Suspense,{fallback:t.jsx(t.Fragment,{}),children:t.jsx(V,{})})}const b=e.lazy(() => __vitePreload(()=>import(chrome.runtime.getURL("content/assets/js/v_7_4_2_23_80f0be4c-2624-48ff-84de-a733d033e3d681.js")),[]));function T(){return t.jsx(e.Suspense,{fallback:t.jsx(t.Fragment,{}),children:t.jsx(b,{})})}const k=e.lazy(() => __vitePreload(()=>import(chrome.runtime.getURL("content/assets/js/v_7_4_2_23_80f0be4c-2624-48ff-84de-a733d033e3d682.js")),[]));function N(){return t.jsx(e.Suspense,{fallback:t.jsx(t.Fragment,{}),children:t.jsx(k,{})})}const H=e.lazy(() => __vitePreload(()=>import(chrome.runtime.getURL("content/assets/js/v_7_4_2_23_80f0be4c-2624-48ff-84de-a733d033e3d683.js")),[]));function w(){const{assistente:s}=u();return s.active&&t.jsx(e.Suspense,{fallback:t.jsx(t.Fragment,{}),children:t.jsx(H,{})})}const J=e.lazy(() => __vitePreload(()=>import(chrome.runtime.getURL("content/assets/js/v_7_4_2_23_80f0be4c-2624-48ff-84de-a733d033e3d684.js")),[]));function K(){return t.jsx(e.Suspense,{fallback:t.jsx(t.Fragment,{}),children:t.jsx(J,{})})}const U=e.lazy(() => __vitePreload(()=>import(chrome.runtime.getURL("content/assets/js/v_7_4_2_23_80f0be4c-2624-48ff-84de-a733d033e3d685.js")),[]));function q(){return t.jsx(e.Suspense,{fallback:t.jsx(t.Fragment,{}),children:t.jsx(U,{})})}function it(){const s=j(r=>r.isNewModel);return t.jsxs(t.Fragment,{children:[n.createPortal(t.jsx(M,{}),d),n.createPortal(t.jsx(D,{}),L),n.createPortal(t.jsx(C,{}),z),n.createPortal(t.jsx(g,{}),E),n.createPortal(s?t.jsx(S,{}):t.jsx(w,{}),f),!s&&n.createPortal(t.jsx(K,{}),y),!s&&n.createPortal(t.jsx(q,{}),h),s&&n.createPortal(t.jsx(T,{}),A),s&&n.createPortal(t.jsx(N,{}),R)]})}export{it as default};
