import{j as t,_ as a}from"./v_7_4_2_18_ea7d0884-20ea-4e04-b6f3-cef449ac182f10.js";import{R as n}from"./v_7_4_2_18_ea7d0884-20ea-4e04-b6f3-cef449ac182f5.js";import{z as l,K as p,P as x,J as u,A as j}from"./v_7_4_2_18_ea7d0884-20ea-4e04-b6f3-cef449ac182f23.js";import{a as e}from"./v_7_4_2_18_ea7d0884-20ea-4e04-b6f3-cef449ac182f4.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_18_ea7d0884-20ea-4e04-b6f3-cef449ac182f21.js";import"./v_7_4_2_18_ea7d0884-20ea-4e04-b6f3-cef449ac182f18.js";import"./v_7_4_2_18_ea7d0884-20ea-4e04-b6f3-cef449ac182f6.js";import"./v_7_4_2_18_ea7d0884-20ea-4e04-b6f3-cef449ac182f8.js";import"./v_7_4_2_18_ea7d0884-20ea-4e04-b6f3-cef449ac182f.js";import"./v_7_4_2_18_ea7d0884-20ea-4e04-b6f3-cef449ac182f19.js";import"./v_7_4_2_18_ea7d0884-20ea-4e04-b6f3-cef449ac182f7.js";import"./v_7_4_2_18_ea7d0884-20ea-4e04-b6f3-cef449ac182f9.js";import"./v_7_4_2_18_ea7d0884-20ea-4e04-b6f3-cef449ac182f2.js";import"./v_7_4_2_18_ea7d0884-20ea-4e04-b6f3-cef449ac182f3.js";import"./v_7_4_2_18_ea7d0884-20ea-4e04-b6f3-cef449ac182f45.js";const P=e.lazy(() => __vitePreload(()=>import(chrome.runtime.getURL("content/assets/js/v_7_4_2_18_ea7d0884-20ea-4e04-b6f3-cef449ac182f75.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_18_ea7d0884-20ea-4e04-b6f3-cef449ac182f76.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_18_ea7d0884-20ea-4e04-b6f3-cef449ac182f77.js")),[])),F=e.lazy(() => __vitePreload(()=>import(chrome.runtime.getURL("content/assets/js/v_7_4_2_18_ea7d0884-20ea-4e04-b6f3-cef449ac182f78.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_18_ea7d0884-20ea-4e04-b6f3-cef449ac182f79.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_18_ea7d0884-20ea-4e04-b6f3-cef449ac182f80.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_18_ea7d0884-20ea-4e04-b6f3-cef449ac182f81.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_18_ea7d0884-20ea-4e04-b6f3-cef449ac182f82.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_18_ea7d0884-20ea-4e04-b6f3-cef449ac182f83.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_18_ea7d0884-20ea-4e04-b6f3-cef449ac182f84.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_18_ea7d0884-20ea-4e04-b6f3-cef449ac182f85.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};
