1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7097],{11064:(e,s,l)=>{"use strict";l.r(s),l.d(s,{default:()=>f});var i=l(95155),n=l(63554),r=l(12115),t=l(33542),a=l(72267),u=l(40584),d=l(28903),c=l(30172),m=l(523),o=l(55627);function f(e){let s,{children:l}=e,f=(0,o.nc)(),{t:p}=(0,t.Bd)("common"),[h,x]=(0,r.useState)(m.j);f.user&&(s={id:f.user.id||f.user.email||"unknown",type:f.user.type||"regular",email:f.user.email,name:f.user.name,image:f.user.profileImage||null});let j=f.user?{user:{id:f.user.id||f.user.email||"unknown",type:f.user.type||"regular",email:f.user.email,name:f.user.name,image:f.user.profileImage||null},expires:new Date(Date.now()+864e5).toISOString()}:null;return((0,r.useEffect)(()=>{if("undefined"!=typeof document){var e,s;let l=null==(s=document.cookie.split(";").find(e=>e.startsWith("chat-model=")))||null==(e=s.split("=")[1])?void 0:e.trim();l&&x(l)}},[]),f.isInitialized)?(0,i.jsxs)(u.GB,{defaultOpen:!0,children:[(0,i.jsx)(n.default,{src:"https://cdn.jsdelivr.net/pyodide/v0.23.4/full/pyodide.js",strategy:"lazyOnload"}),(0,i.jsx)(a.G,{user:s}),(0,i.jsx)(c._A,{children:(0,i.jsxs)(u.sF,{children:[(0,i.jsx)(d.e,{isReadonly:!1,session:j,selectedModelId:h}),(0,i.jsx)("div",{className:"flex-1 min-h-0 flex flex-col",children:l})]})})]}):(0,i.jsx)("div",{className:"flex items-center justify-center min-h-screen",children:(0,i.jsx)("div",{className:"text-lg",children:p("loading")})})}},43156:(e,s,l)=>{Promise.resolve().then(l.bind(l,11064))}},e=>{var s=s=>e(e.s=s);
1e.O(0,[1577,8446,6874,3542,6671,3455,3167,801,6827,9862,7884,7649,8189,5739,4139,7168,2403,2455,9111,6307,7060,3005,8441,1684,7358],()=>s(43156)),_N_E=e.O()}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.