@rizom/brain 0.2.0-alpha.591 → 0.2.0-alpha.592

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (27) hide show
  1. package/dist/brain.js +93 -97
  2. package/dist/chunks/{app-cm9qg1rk.js → app-a4cq4ahz.js} +2 -2
  3. package/dist/chunks/{index-n8geq9ke.js → index-nxhbb46m.js} +2 -2
  4. package/dist/chunks/{index-6fgz2frj.js → index-sfgja3hp.js} +2 -2
  5. package/dist/chunks/{index-akgxrc2s.js → index-z3mze0s4.js} +3 -3
  6. package/dist/chunks/{index-akgxrc2s.js.map → index-z3mze0s4.js.map} +1 -1
  7. package/dist/index.js +1 -1
  8. package/dist/model.js +93 -97
  9. package/dist/model.js.map +3 -3
  10. package/dist/ui/{studio-app-zsc289bw.js → studio-app-damvvg1e.js} +2 -2
  11. package/dist/ui/{studio-app-1d8a85ef60f4d93da4506c0d76de4cc4bfbfcb91a83e2453da2f013b67988223.css → studio-app-f6c5e0f4d0ed015cffcba309726c4569636ead327c9feace29aee7c9f65fb94f.css} +51 -56
  12. package/dist/ui/studio-asset-manifest.json +13 -13
  13. package/dist/ui/studio-chunks/{account-view-98yg3v5p.js → account-view-8a3p9e44.js} +1 -1
  14. package/dist/ui/studio-chunks/{main-9awxqy78.js → main-gr3a56s1.js} +6 -6
  15. package/dist/ui/studio-chunks/main-gr3a56s1.js.map +11 -0
  16. package/dist/ui/studio-chunks/main-rgr0k2sx.js +7 -0
  17. package/dist/ui/studio-chunks/{main-03546wcw.js.map → main-rgr0k2sx.js.map} +3 -3
  18. package/dist/ui/studio-chunks/{studio-chat-workspace-r77xdrgw.js → studio-chat-workspace-whsz4yd9.js} +1 -1
  19. package/package.json +1 -1
  20. package/dist/ui/studio-chunks/main-03546wcw.js +0 -7
  21. package/dist/ui/studio-chunks/main-9awxqy78.js.map +0 -11
  22. /package/dist/chunks/{app-cm9qg1rk.js.map → app-a4cq4ahz.js.map} +0 -0
  23. /package/dist/chunks/{index-n8geq9ke.js.map → index-nxhbb46m.js.map} +0 -0
  24. /package/dist/chunks/{index-6fgz2frj.js.map → index-sfgja3hp.js.map} +0 -0
  25. /package/dist/ui/{studio-app-zsc289bw.js.map → studio-app-damvvg1e.js.map} +0 -0
  26. /package/dist/ui/studio-chunks/{account-view-98yg3v5p.js.map → account-view-8a3p9e44.js.map} +0 -0
  27. /package/dist/ui/studio-chunks/{studio-chat-workspace-r77xdrgw.js.map → studio-chat-workspace-whsz4yd9.js.map} +0 -0
@@ -1,4 +1,4 @@
1
- import{a as YM,b as XM,e as $M,f as GM}from"./studio-chunks/main-9awxqy78.js";import{$ as Mg,A as v1,Aa as Fn,B as Ni,Ba as os,C as CT,Ca as Wm,D as gm,Da as ba,E as HM,Ea as Wn,F as M1,Fa as lg,G as Ng,Ga as Ed,H as Og,Ha as Fm,I as D1,Ia as DR,J as LL,Ja as RR,K as BL,Ka as Td,L as oL,La as ZD,M as k1,Ma as eR,N as Nn,Na as F,O as dM,Oa as OO,P as it,Pa as r1,Q as bg,Qa as dO,R as lL,Ra as bO,S as sL,Sa as ug,T as rL,U as Ui,V as aL,W as uL,X as cL,Y as R1,Z as fL,_ as dL,aa as Lg,ba as gc,ca as xa,da as Gd,ea as C1,fa as UM,g as HL,ga as $d,h as RL,ha as Bg,i as _L,ia as SM,j as yg,ja as vg,k as Eo,ka as zL,l as Rg,la as kL,m as OL,ma as CL,n as qL,na as PL,o as ML,oa as Eg,p as Ug,pa as mc,q as Qt,qa as ti,r as ke,ra as yr,s as pm,sa as _M,t as mr,ta as Cg,u as xT,ua as qM,v as yt,va as LM,w as nr,wa as BM,x as Hg,xa as Ag,y as nd,ya as EL,z as NM,za as WM}from"./studio-chunks/main-03546wcw.js";import"./studio-chunks/main-5vgqdq6h.js";import{$a as Gn,Ab as kg,Fb as Cv,Gb as Jn,Hb as zn,Ib as DM,Jb as zg,Lb as td,Mb as cg,Nb as xv,Ob as gM,Yb as Li,_a as V,ab as Se,ac as Ao,bb as Ue,bc as IL,cc as VL,dc as Ji,eb as OM,ec as er,fb as Ce,fc as An,gb as Sa,gc as kT,hb as Wl,hc as tr,ib as VM,kb as AM,kc as ei,lc as Iu,mc as Aa,nc as gL,ob as EM,oc as Zn,pb as TM,pc as mm,qb as Mn,qc as pi,rb as PM,sb as KO,tb as JO,ub as ZO,wb as jM,xb as Sg,yb as wg,zb as xg}from"./studio-chunks/main-xd94t9ag.js";import{rc as se,tc as Sv,wc as DL,xc as ln,zc as CN}from"./studio-chunks/main-h3ka07k3.js";var fT=Sv(function(kN){(function(){function t(){if(j=!1,he){var Q=kN.unstable_now();ce=Q;var le=!0;try{e:{U=!1,q&&(q=!1,ee(Je),Je=-1),B=!0;var te=R;try{t:{u(Q);for(C=l(S);C!==null&&!(C.expirationTime>Q&&h());){var K=C.callback;if(typeof K==="function"){C.callback=null,R=C.priorityLevel;var me=K(C.expirationTime<=Q);if(Q=kN.unstable_now(),typeof me==="function"){C.callback=me,u(Q),le=!0;break t}C===l(S)&&s(S),u(Q)}else s(S);C=l(S)}if(C!==null)le=!0;else{var Fe=l(k);Fe!==null&&p(f,Fe.startTime-Q),le=!1}}break e}finally{C=null,R=te,B=!1}le=void 0}}finally{le?X():he=!1}}}function i(Q,le){var te=Q.length;Q.push(le);e:for(;0<te;){var K=te-1>>>1,me=Q[K];if(0<a(me,le))Q[K]=le,Q[te]=me,te=K;else break e}}function l(Q){return Q.length===0?null:Q[0]}function s(Q){if(Q.length===0)return null;var le=Q[0],te=Q.pop();if(te!==le){Q[0]=te;e:for(var K=0,me=Q.length,Fe=me>>>1;K<Fe;){var Ie=2*(K+1)-1,pt=Q[Ie],Ze=Ie+1,Be=Q[Ze];if(0>a(pt,te))Ze<me&&0>a(Be,pt)?(Q[K]=Be,Q[Ze]=te,K=Ze):(Q[K]=pt,Q[Ie]=te,K=Ie);else if(Ze<me&&0>a(Be,te))Q[K]=Be,Q[Ze]=te,K=Ze;else break e}}return le}function a(Q,le){var te=Q.sortIndex-le.sortIndex;return te!==0?te:Q.id-le.id}function u(Q){for(var le=l(k);le!==null;){if(le.callback===null)s(k);else if(le.startTime<=Q)s(k),le.sortIndex=le.expirationTime,i(S,le);else break;le=l(k)}}function f(Q){if(q=!1,u(Q),!U)if(l(S)!==null)U=!0,he||(he=!0,X());else{var le=l(k);le!==null&&p(f,le.startTime-Q)}}function h(){return j?!0:kN.unstable_now()-ce<_?!1:!0}function p(Q,le){Je=P(function(){Q(kN.unstable_now())},le)}if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error()),kN.unstable_now=void 0,typeof performance==="object"&&typeof performance.now==="function"){var g=performance;kN.unstable_now=function(){return g.now()}}else{var b=Date,v=b.now();kN.unstable_now=function(){return b.now()-v}}var S=[],k=[],A=1,C=null,R=3,B=!1,U=!1,q=!1,j=!1,P=typeof setTimeout==="function"?setTimeout:null,ee=typeof clearTimeout==="function"?clearTimeout:null,Ae=typeof setImmediate<"u"?setImmediate:null,he=!1,Je=-1,_=5,ce=-1;if(typeof Ae==="function")var X=function(){Ae(t)};else if(typeof MessageChannel<"u"){var ge=new MessageChannel,ot=ge.port2;ge.port1.onmessage=t,X=function(){ot.postMessage(null)}}else X=function(){P(t,0)};kN.unstable_IdlePriority=5,kN.unstable_ImmediatePriority=1,kN.unstable_LowPriority=4,kN.unstable_NormalPriority=3,kN.unstable_Profiling=null,kN.unstable_UserBlockingPriority=2,kN.unstable_cancelCallback=function(Q){Q.callback=null},kN.unstable_forceFrameRate=function(Q){0>Q||125<Q?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):_=0<Q?Math.floor(1000/Q):5},kN.unstable_getCurrentPriorityLevel=function(){return R},kN.unstable_next=function(Q){switch(R){case 1:case 2:case 3:var le=3;break;default:le=R}var te=R;R=le;try{return Q()}finally{R=te}},kN.unstable_requestPaint=function(){j=!0},kN.unstable_runWithPriority=function(Q,le){switch(Q){case 1:case 2:case 3:case 4:case 5:break;default:Q=3}var te=R;R=Q;try{return le()}finally{R=te}},kN.unstable_scheduleCallback=function(Q,le,te){var K=kN.unstable_now();switch(typeof te==="object"&&te!==null?(te=te.delay,te=typeof te==="number"&&0<te?K+te:K):te=K,Q){case 1:var me=-1;break;case 2:me=250;break;case 5:me=1073741823;break;case 4:me=1e4;break;default:me=5000}return me=te+me,Q={id:A++,callback:le,priorityLevel:Q,startTime:te,expirationTime:me,sortIndex:-1},te>K?(Q.sortIndex=te,i(k,Q),l(S)===null&&Q===l(k)&&(q?(ee(Je),Je=-1):q=!0,p(f,te-K))):(Q.sortIndex=me,i(S,Q),U||B||(U=!0,he||(he=!0,X()))),Q},kN.unstable_shouldYield=h,kN.unstable_wrapCallback=function(Q){var le=R;return function(){var te=R;R=le;try{return Q.apply(this,arguments)}finally{R=te}}},typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()});var dT=Sv(function(AN){var Ye=se(fT()),Uu=se(ln()),wv=se(CN());(function(){function t(e,n){for(e=e.memoizedState;e!==null&&0<n;)e=e.next,n--;return e}function i(e,n,o,r){if(o>=n.length)return r;var c=n[o],d=sn(e)?e.slice():Ne({},e);return d[c]=i(e[c],n,o+1,r),d}function l(e,n,o){if(n.length!==o.length)console.warn("copyWithRename() expects paths of the same length");else{for(var r=0;r<o.length-1;r++)if(n[r]!==o[r]){console.warn("copyWithRename() expects paths to be the same except for the deepest key");return}return s(e,n,o,0)}}function s(e,n,o,r){var c=n[r],d=sn(e)?e.slice():Ne({},e);return r+1===n.length?(d[o[r]]=d[c],sn(d)?d.splice(c,1):delete d[c]):d[c]=s(e[c],n,o,r+1),d}function a(e,n,o){var r=n[o],c=sn(e)?e.slice():Ne({},e);if(o+1===n.length)return sn(c)?c.splice(r,1):delete c[r],c;return c[r]=a(e[r],n,o+1),c}function u(){return!1}function f(){return null}function h(){console.error("Do not call Hooks inside useEffect(...), useMemo(...), or other built-in Hooks. You can only call Hooks at the top level of your React function. For more information, see https://react.dev/link/rules-of-hooks")}function p(){console.error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().")}function g(){}function b(){}function v(e){var n=[];return e.forEach(function(o){n.push(o)}),n.sort().join(", ")}function S(e,n,o,r){return new dB(e,n,o,r)}function k(e,n){e.context===Ls&&(I0(e.current,2,n,e,null,null),Xa())}function A(e,n){if(Pi!==null){var o=n.staleFamilies;n=n.updatedFamilies,Wc(),yw(e.current,n,o),Xa()}}function C(e){Pi=e}function R(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function B(e){var n=e,o=e;if(e.alternate)for(;n.return;)n=n.return;else{e=n;do n=e,(n.flags&4098)!==0&&(o=n.return),e=n.return;while(e)}return n.tag===3?o:null}function U(e){if(e.tag===13){var n=e.memoizedState;if(n===null&&(e=e.alternate,e!==null&&(n=e.memoizedState)),n!==null)return n.dehydrated}return null}function q(e){if(e.tag===31){var n=e.memoizedState;if(n===null&&(e=e.alternate,e!==null&&(n=e.memoizedState)),n!==null)return n.dehydrated}return null}function j(e){if(B(e)!==e)throw Error("Unable to find node on an unmounted component.")}function P(e){var n=e.alternate;if(!n){if(n=B(e),n===null)throw Error("Unable to find node on an unmounted component.");return n!==e?null:e}for(var o=e,r=n;;){var c=o.return;if(c===null)break;var d=c.alternate;if(d===null){if(r=c.return,r!==null){o=r;continue}break}if(c.child===d.child){for(d=c.child;d;){if(d===o)return j(c),e;if(d===r)return j(c),n;d=d.sibling}throw Error("Unable to find node on an unmounted component.")}if(o.return!==r.return)o=c,r=d;else{for(var m=!1,y=c.child;y;){if(y===o){m=!0,o=c,r=d;break}if(y===r){m=!0,r=c,o=d;break}y=y.sibling}if(!m){for(y=d.child;y;){if(y===o){m=!0,o=d,r=c;break}if(y===r){m=!0,r=d,o=c;break}y=y.sibling}if(!m)throw Error("Child was not found in either parent set. This indicates a bug in React related to the return pointer. Please file an issue.")}}if(o.alternate!==r)throw Error("Return fibers should always be each others' alternates. This error is likely caused by a bug in React. Please file an issue.")}if(o.tag!==3)throw Error("Unable to find node on an unmounted component.");return o.stateNode.current===o?e:n}function ee(e){var n=e.tag;if(n===5||n===26||n===27||n===6)return e;for(e=e.child;e!==null;){if(n=ee(e),n!==null)return n;e=e.sibling}return null}function Ae(e){if(e===null||typeof e!=="object")return null;return e=CC&&e[CC]||e["@@iterator"],typeof e==="function"?e:null}function he(e){if(e==null)return null;if(typeof e==="function")return e.$$typeof===Bz?null:e.displayName||e.name||null;if(typeof e==="string")return e;switch(e){case tu:return"Fragment";case Q0:return"Profiler";case sp:return"StrictMode";case X0:return"Suspense";case W0:return"SuspenseList";case F0:return"Activity"}if(typeof e==="object")switch(typeof e.tag==="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),e.$$typeof){case eu:return"Portal";case sl:return e.displayName||"Context";case Y0:return(e._context.displayName||"Context")+".Consumer";case sf:var n=e.render;return e=e.displayName,e||(e=n.displayName||n.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case rp:return n=e.displayName||null,n!==null?n:he(e.type)||"Memo";case Ci:n=e._payload,e=e._init;try{return he(e(n))}catch(o){}}return null}function Je(e){return typeof e.tag==="number"?_(e):typeof e.name==="string"?e.name:null}function _(e){var n=e.type;switch(e.tag){case 31:return"Activity";case 24:return"Cache";case 9:return(n._context.displayName||"Context")+".Consumer";case 10:return n.displayName||"Context";case 18:return"DehydratedFragment";case 11:return e=n.render,e=e.displayName||e.name||"",n.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 26:case 27:case 5:return n;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return he(n);case 8:return n===sp?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 14:case 15:if(typeof n==="function")return n.displayName||n.name||null;if(typeof n==="string")return n;break;case 29:if(n=e._debugInfo,n!=null){for(var o=n.length-1;0<=o;o--)if(typeof n[o].name==="string")return n[o].name}if(e.return!==null)return _(e.return)}return null}function ce(e){return{current:e}}function X(e,n){0>Ll?console.error("Unexpected pop."):(n!==J0[Ll]&&console.error("Unexpected Fiber popped."),e.current=K0[Ll],K0[Ll]=null,J0[Ll]=null,Ll--)}function ge(e,n,o){Ll++,K0[Ll]=e.current,J0[Ll]=o,e.current=n}function ot(e){return e===null&&console.error("Expected host context to exist. This error is likely caused by a bug in React. Please file an issue."),e}function Q(e,n){ge(Es,n,e),ge(rf,e,e),ge(As,null,e);var o=n.nodeType;switch(o){case 9:case 11:o=o===9?"#document":"#fragment",n=(n=n.documentElement)?(n=n.namespaceURI)?Xk(n):Ql:Ql;break;default:if(o=n.tagName,n=n.namespaceURI)n=Xk(n),n=Wk(n,o);else switch(o){case"svg":n=Nu;break;case"math":n=lm;break;default:n=Ql}}o=o.toLowerCase(),o=P1(null,o),o={context:n,ancestorInfo:o},X(As,e),ge(As,o,e)}function le(e){X(As,e),X(rf,e),X(Es,e)}function te(){return ot(As.current)}function K(e){e.memoizedState!==null&&ge(ap,e,e);var n=ot(As.current),o=e.type,r=Wk(n.context,o);o=P1(n.ancestorInfo,o),r={context:r,ancestorInfo:o},n!==r&&(ge(rf,e,e),ge(As,r,e))}function me(e){rf.current===e&&(X(As,e),X(rf,e)),ap.current===e&&(X(ap,e),Jf._currentValue=aa)}function Fe(){}function Ie(){if(af===0){AC=console.log,EC=console.info,TC=console.warn,DC=console.error,RC=console.group,OC=console.groupCollapsed,MC=console.groupEnd;var e={configurable:!0,enumerable:!0,value:Fe,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}af++}function pt(){if(af--,af===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Ne({},e,{value:AC}),info:Ne({},e,{value:EC}),warn:Ne({},e,{value:TC}),error:Ne({},e,{value:DC}),group:Ne({},e,{value:RC}),groupCollapsed:Ne({},e,{value:OC}),groupEnd:Ne({},e,{value:MC})})}0>af&&console.error("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}function Ze(e){var n=Error.prepareStackTrace;if(Error.prepareStackTrace=void 0,e=e.stack,Error.prepareStackTrace=n,e.startsWith(`Error: react-stack-top-frame
1
+ import{a as YM,b as XM,e as $M,f as GM}from"./studio-chunks/main-gr3a56s1.js";import{$ as Mg,A as v1,Aa as Fn,B as Ni,Ba as os,C as CT,Ca as Wm,D as gm,Da as ba,E as HM,Ea as Wn,F as M1,Fa as lg,G as Ng,Ga as Ed,H as Og,Ha as Fm,I as D1,Ia as DR,J as LL,Ja as RR,K as BL,Ka as Td,L as oL,La as ZD,M as k1,Ma as eR,N as Nn,Na as F,O as dM,Oa as OO,P as it,Pa as r1,Q as bg,Qa as dO,R as lL,Ra as bO,S as sL,Sa as ug,T as rL,U as Ui,V as aL,W as uL,X as cL,Y as R1,Z as fL,_ as dL,aa as Lg,ba as gc,ca as xa,da as Gd,ea as C1,fa as UM,g as HL,ga as $d,h as RL,ha as Bg,i as _L,ia as SM,j as yg,ja as vg,k as Eo,ka as zL,l as Rg,la as kL,m as OL,ma as CL,n as qL,na as PL,o as ML,oa as Eg,p as Ug,pa as mc,q as Qt,qa as ti,r as ke,ra as yr,s as pm,sa as _M,t as mr,ta as Cg,u as xT,ua as qM,v as yt,va as LM,w as nr,wa as BM,x as Hg,xa as Ag,y as nd,ya as EL,z as NM,za as WM}from"./studio-chunks/main-rgr0k2sx.js";import"./studio-chunks/main-5vgqdq6h.js";import{$a as Gn,Ab as kg,Fb as Cv,Gb as Jn,Hb as zn,Ib as DM,Jb as zg,Lb as td,Mb as cg,Nb as xv,Ob as gM,Yb as Li,_a as V,ab as Se,ac as Ao,bb as Ue,bc as IL,cc as VL,dc as Ji,eb as OM,ec as er,fb as Ce,fc as An,gb as Sa,gc as kT,hb as Wl,hc as tr,ib as VM,kb as AM,kc as ei,lc as Iu,mc as Aa,nc as gL,ob as EM,oc as Zn,pb as TM,pc as mm,qb as Mn,qc as pi,rb as PM,sb as KO,tb as JO,ub as ZO,wb as jM,xb as Sg,yb as wg,zb as xg}from"./studio-chunks/main-xd94t9ag.js";import{rc as se,tc as Sv,wc as DL,xc as ln,zc as CN}from"./studio-chunks/main-h3ka07k3.js";var fT=Sv(function(kN){(function(){function t(){if(j=!1,he){var Q=kN.unstable_now();ce=Q;var le=!0;try{e:{U=!1,q&&(q=!1,ee(Je),Je=-1),B=!0;var te=R;try{t:{u(Q);for(C=l(S);C!==null&&!(C.expirationTime>Q&&h());){var K=C.callback;if(typeof K==="function"){C.callback=null,R=C.priorityLevel;var me=K(C.expirationTime<=Q);if(Q=kN.unstable_now(),typeof me==="function"){C.callback=me,u(Q),le=!0;break t}C===l(S)&&s(S),u(Q)}else s(S);C=l(S)}if(C!==null)le=!0;else{var Fe=l(k);Fe!==null&&p(f,Fe.startTime-Q),le=!1}}break e}finally{C=null,R=te,B=!1}le=void 0}}finally{le?X():he=!1}}}function i(Q,le){var te=Q.length;Q.push(le);e:for(;0<te;){var K=te-1>>>1,me=Q[K];if(0<a(me,le))Q[K]=le,Q[te]=me,te=K;else break e}}function l(Q){return Q.length===0?null:Q[0]}function s(Q){if(Q.length===0)return null;var le=Q[0],te=Q.pop();if(te!==le){Q[0]=te;e:for(var K=0,me=Q.length,Fe=me>>>1;K<Fe;){var Ie=2*(K+1)-1,pt=Q[Ie],Ze=Ie+1,Be=Q[Ze];if(0>a(pt,te))Ze<me&&0>a(Be,pt)?(Q[K]=Be,Q[Ze]=te,K=Ze):(Q[K]=pt,Q[Ie]=te,K=Ie);else if(Ze<me&&0>a(Be,te))Q[K]=Be,Q[Ze]=te,K=Ze;else break e}}return le}function a(Q,le){var te=Q.sortIndex-le.sortIndex;return te!==0?te:Q.id-le.id}function u(Q){for(var le=l(k);le!==null;){if(le.callback===null)s(k);else if(le.startTime<=Q)s(k),le.sortIndex=le.expirationTime,i(S,le);else break;le=l(k)}}function f(Q){if(q=!1,u(Q),!U)if(l(S)!==null)U=!0,he||(he=!0,X());else{var le=l(k);le!==null&&p(f,le.startTime-Q)}}function h(){return j?!0:kN.unstable_now()-ce<_?!1:!0}function p(Q,le){Je=P(function(){Q(kN.unstable_now())},le)}if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error()),kN.unstable_now=void 0,typeof performance==="object"&&typeof performance.now==="function"){var g=performance;kN.unstable_now=function(){return g.now()}}else{var b=Date,v=b.now();kN.unstable_now=function(){return b.now()-v}}var S=[],k=[],A=1,C=null,R=3,B=!1,U=!1,q=!1,j=!1,P=typeof setTimeout==="function"?setTimeout:null,ee=typeof clearTimeout==="function"?clearTimeout:null,Ae=typeof setImmediate<"u"?setImmediate:null,he=!1,Je=-1,_=5,ce=-1;if(typeof Ae==="function")var X=function(){Ae(t)};else if(typeof MessageChannel<"u"){var ge=new MessageChannel,ot=ge.port2;ge.port1.onmessage=t,X=function(){ot.postMessage(null)}}else X=function(){P(t,0)};kN.unstable_IdlePriority=5,kN.unstable_ImmediatePriority=1,kN.unstable_LowPriority=4,kN.unstable_NormalPriority=3,kN.unstable_Profiling=null,kN.unstable_UserBlockingPriority=2,kN.unstable_cancelCallback=function(Q){Q.callback=null},kN.unstable_forceFrameRate=function(Q){0>Q||125<Q?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):_=0<Q?Math.floor(1000/Q):5},kN.unstable_getCurrentPriorityLevel=function(){return R},kN.unstable_next=function(Q){switch(R){case 1:case 2:case 3:var le=3;break;default:le=R}var te=R;R=le;try{return Q()}finally{R=te}},kN.unstable_requestPaint=function(){j=!0},kN.unstable_runWithPriority=function(Q,le){switch(Q){case 1:case 2:case 3:case 4:case 5:break;default:Q=3}var te=R;R=Q;try{return le()}finally{R=te}},kN.unstable_scheduleCallback=function(Q,le,te){var K=kN.unstable_now();switch(typeof te==="object"&&te!==null?(te=te.delay,te=typeof te==="number"&&0<te?K+te:K):te=K,Q){case 1:var me=-1;break;case 2:me=250;break;case 5:me=1073741823;break;case 4:me=1e4;break;default:me=5000}return me=te+me,Q={id:A++,callback:le,priorityLevel:Q,startTime:te,expirationTime:me,sortIndex:-1},te>K?(Q.sortIndex=te,i(k,Q),l(S)===null&&Q===l(k)&&(q?(ee(Je),Je=-1):q=!0,p(f,te-K))):(Q.sortIndex=me,i(S,Q),U||B||(U=!0,he||(he=!0,X()))),Q},kN.unstable_shouldYield=h,kN.unstable_wrapCallback=function(Q){var le=R;return function(){var te=R;R=le;try{return Q.apply(this,arguments)}finally{R=te}}},typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()});var dT=Sv(function(AN){var Ye=se(fT()),Uu=se(ln()),wv=se(CN());(function(){function t(e,n){for(e=e.memoizedState;e!==null&&0<n;)e=e.next,n--;return e}function i(e,n,o,r){if(o>=n.length)return r;var c=n[o],d=sn(e)?e.slice():Ne({},e);return d[c]=i(e[c],n,o+1,r),d}function l(e,n,o){if(n.length!==o.length)console.warn("copyWithRename() expects paths of the same length");else{for(var r=0;r<o.length-1;r++)if(n[r]!==o[r]){console.warn("copyWithRename() expects paths to be the same except for the deepest key");return}return s(e,n,o,0)}}function s(e,n,o,r){var c=n[r],d=sn(e)?e.slice():Ne({},e);return r+1===n.length?(d[o[r]]=d[c],sn(d)?d.splice(c,1):delete d[c]):d[c]=s(e[c],n,o,r+1),d}function a(e,n,o){var r=n[o],c=sn(e)?e.slice():Ne({},e);if(o+1===n.length)return sn(c)?c.splice(r,1):delete c[r],c;return c[r]=a(e[r],n,o+1),c}function u(){return!1}function f(){return null}function h(){console.error("Do not call Hooks inside useEffect(...), useMemo(...), or other built-in Hooks. You can only call Hooks at the top level of your React function. For more information, see https://react.dev/link/rules-of-hooks")}function p(){console.error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().")}function g(){}function b(){}function v(e){var n=[];return e.forEach(function(o){n.push(o)}),n.sort().join(", ")}function S(e,n,o,r){return new dB(e,n,o,r)}function k(e,n){e.context===Ls&&(I0(e.current,2,n,e,null,null),Xa())}function A(e,n){if(Pi!==null){var o=n.staleFamilies;n=n.updatedFamilies,Wc(),yw(e.current,n,o),Xa()}}function C(e){Pi=e}function R(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function B(e){var n=e,o=e;if(e.alternate)for(;n.return;)n=n.return;else{e=n;do n=e,(n.flags&4098)!==0&&(o=n.return),e=n.return;while(e)}return n.tag===3?o:null}function U(e){if(e.tag===13){var n=e.memoizedState;if(n===null&&(e=e.alternate,e!==null&&(n=e.memoizedState)),n!==null)return n.dehydrated}return null}function q(e){if(e.tag===31){var n=e.memoizedState;if(n===null&&(e=e.alternate,e!==null&&(n=e.memoizedState)),n!==null)return n.dehydrated}return null}function j(e){if(B(e)!==e)throw Error("Unable to find node on an unmounted component.")}function P(e){var n=e.alternate;if(!n){if(n=B(e),n===null)throw Error("Unable to find node on an unmounted component.");return n!==e?null:e}for(var o=e,r=n;;){var c=o.return;if(c===null)break;var d=c.alternate;if(d===null){if(r=c.return,r!==null){o=r;continue}break}if(c.child===d.child){for(d=c.child;d;){if(d===o)return j(c),e;if(d===r)return j(c),n;d=d.sibling}throw Error("Unable to find node on an unmounted component.")}if(o.return!==r.return)o=c,r=d;else{for(var m=!1,y=c.child;y;){if(y===o){m=!0,o=c,r=d;break}if(y===r){m=!0,r=c,o=d;break}y=y.sibling}if(!m){for(y=d.child;y;){if(y===o){m=!0,o=d,r=c;break}if(y===r){m=!0,r=d,o=c;break}y=y.sibling}if(!m)throw Error("Child was not found in either parent set. This indicates a bug in React related to the return pointer. Please file an issue.")}}if(o.alternate!==r)throw Error("Return fibers should always be each others' alternates. This error is likely caused by a bug in React. Please file an issue.")}if(o.tag!==3)throw Error("Unable to find node on an unmounted component.");return o.stateNode.current===o?e:n}function ee(e){var n=e.tag;if(n===5||n===26||n===27||n===6)return e;for(e=e.child;e!==null;){if(n=ee(e),n!==null)return n;e=e.sibling}return null}function Ae(e){if(e===null||typeof e!=="object")return null;return e=CC&&e[CC]||e["@@iterator"],typeof e==="function"?e:null}function he(e){if(e==null)return null;if(typeof e==="function")return e.$$typeof===Bz?null:e.displayName||e.name||null;if(typeof e==="string")return e;switch(e){case tu:return"Fragment";case Q0:return"Profiler";case sp:return"StrictMode";case X0:return"Suspense";case W0:return"SuspenseList";case F0:return"Activity"}if(typeof e==="object")switch(typeof e.tag==="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),e.$$typeof){case eu:return"Portal";case sl:return e.displayName||"Context";case Y0:return(e._context.displayName||"Context")+".Consumer";case sf:var n=e.render;return e=e.displayName,e||(e=n.displayName||n.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case rp:return n=e.displayName||null,n!==null?n:he(e.type)||"Memo";case Ci:n=e._payload,e=e._init;try{return he(e(n))}catch(o){}}return null}function Je(e){return typeof e.tag==="number"?_(e):typeof e.name==="string"?e.name:null}function _(e){var n=e.type;switch(e.tag){case 31:return"Activity";case 24:return"Cache";case 9:return(n._context.displayName||"Context")+".Consumer";case 10:return n.displayName||"Context";case 18:return"DehydratedFragment";case 11:return e=n.render,e=e.displayName||e.name||"",n.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 26:case 27:case 5:return n;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return he(n);case 8:return n===sp?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 14:case 15:if(typeof n==="function")return n.displayName||n.name||null;if(typeof n==="string")return n;break;case 29:if(n=e._debugInfo,n!=null){for(var o=n.length-1;0<=o;o--)if(typeof n[o].name==="string")return n[o].name}if(e.return!==null)return _(e.return)}return null}function ce(e){return{current:e}}function X(e,n){0>Ll?console.error("Unexpected pop."):(n!==J0[Ll]&&console.error("Unexpected Fiber popped."),e.current=K0[Ll],K0[Ll]=null,J0[Ll]=null,Ll--)}function ge(e,n,o){Ll++,K0[Ll]=e.current,J0[Ll]=o,e.current=n}function ot(e){return e===null&&console.error("Expected host context to exist. This error is likely caused by a bug in React. Please file an issue."),e}function Q(e,n){ge(Es,n,e),ge(rf,e,e),ge(As,null,e);var o=n.nodeType;switch(o){case 9:case 11:o=o===9?"#document":"#fragment",n=(n=n.documentElement)?(n=n.namespaceURI)?Xk(n):Ql:Ql;break;default:if(o=n.tagName,n=n.namespaceURI)n=Xk(n),n=Wk(n,o);else switch(o){case"svg":n=Nu;break;case"math":n=lm;break;default:n=Ql}}o=o.toLowerCase(),o=P1(null,o),o={context:n,ancestorInfo:o},X(As,e),ge(As,o,e)}function le(e){X(As,e),X(rf,e),X(Es,e)}function te(){return ot(As.current)}function K(e){e.memoizedState!==null&&ge(ap,e,e);var n=ot(As.current),o=e.type,r=Wk(n.context,o);o=P1(n.ancestorInfo,o),r={context:r,ancestorInfo:o},n!==r&&(ge(rf,e,e),ge(As,r,e))}function me(e){rf.current===e&&(X(As,e),X(rf,e)),ap.current===e&&(X(ap,e),Jf._currentValue=aa)}function Fe(){}function Ie(){if(af===0){AC=console.log,EC=console.info,TC=console.warn,DC=console.error,RC=console.group,OC=console.groupCollapsed,MC=console.groupEnd;var e={configurable:!0,enumerable:!0,value:Fe,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}af++}function pt(){if(af--,af===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Ne({},e,{value:AC}),info:Ne({},e,{value:EC}),warn:Ne({},e,{value:TC}),error:Ne({},e,{value:DC}),group:Ne({},e,{value:RC}),groupCollapsed:Ne({},e,{value:OC}),groupEnd:Ne({},e,{value:MC})})}0>af&&console.error("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}function Ze(e){var n=Error.prepareStackTrace;if(Error.prepareStackTrace=void 0,e=e.stack,Error.prepareStackTrace=n,e.startsWith(`Error: react-stack-top-frame
2
2
  `)&&(e=e.slice(29)),n=e.indexOf(`
3
3
  `),n!==-1&&(e=e.slice(n+1)),n=e.indexOf("react_stack_bottom_frame"),n!==-1&&(n=e.lastIndexOf(`
4
4
  `,n)),n!==-1)e=e.slice(0,n);else return"";return e}function Be(e){if(Z0===void 0)try{throw Error()}catch(o){var n=o.stack.trim().match(/\n( *(at )?)/);Z0=n&&n[1]||"",LC=-1<o.stack.indexOf(`
@@ -242,6 +242,6 @@ You might need to use a local HTTP server (instead of file://): https://react.de
242
242
 
243
243
  [Open the Inbox item](${i.backlink})`;return{draft:l,body:i.body?`${i.body}
244
244
 
245
- ${s}`:s}}function h5(){let t=window.history.state;return td(t)?t:{}}function wL(t){let{api:i,queryClient:l,history:s,studioBasePath:a,routeTarget:u,routePathname:f,routeSearch:h,currentStudioPathname:p,createMode:g,entityType:b,collectionType:v,activeType:S,entityCollectionQuery:k,preferredMobilePane:A,dispatchEditor:C,setMobilePane:R,setBodyMode:B,setFieldAssistState:U}=t,q=S?.capabilities.canCreate===!0,j=S?.hierarchy.nested!==!1,[P,ee]=mi.useState(null),[Ae,he]=mi.useState(0),Je=mi.useRef(null),_=mi.useRef(0),ce=mi.useRef(b);ce.current=b,mi.useEffect(()=>{if(u.kind==="grouping"){C({type:"collectionChanged"});return}if(!b||u.kind==="workspace"||u.kind==="not-found")return;let le=u.kind==="entity"&&u.entityType===b?u.id:null,te=++_.current;C({type:"collectionChanged"}),R("details"),U({kind:"idle"});let K=!0,me=()=>K&&te===_.current;return l.fetchQuery({...Mg(i,b),staleTime:0}).then(async(Fe)=>{if(!K||te!==_.current)return;let Ie=FM(Fe,A.current);if(R(Ie),window.matchMedia("(max-width: 640px)").matches&&Ie!=="details")B(Ie==="write"?"source":"preview");if(g&&le===null){if(!q){ee(`Creating ${b} is not allowed.`);return}let pt=vL(window.history.state,b,()=>window.history.replaceState(bL(h5()),"",window.location.href)),Ze=SL(Fe.fields,pt);C({type:"creationStarted",draft:Ze.draft,body:Ze.body,...Fe.isSingleton&&{singleton:!0},...pt&&{prefilled:!0},...!pt&&!Fe.isSingleton&&{prefix:j?mc(h).prefix:null}});return}if(le!==null)return l.fetchQuery({...gc(i,b,le),staleTime:0}).then((pt)=>{if(!K||te!==_.current)return;let Ze=hc(pt),Be=Je.current,fn=Aa(a,b,le),ni=Be?.pathname===fn?Be.save:{kind:"idle"};if(Be?.pathname===fn)Je.current=null;C({type:"documentOpened",document:Ze,save:ni})});if(Fe.isSingleton){let pt=await l.ensureQueryData(Lg(i,b,mc("?scope=collection")));if(!me())return;let Ze=pt.entities[0];if(Ze)return l.fetchQuery({...gc(i,b,Ze.id),staleTime:0}).then((Be)=>{if(!K||te!==_.current)return;let fn=hc(Be);C({type:"documentOpened",document:fn})});C({type:"creationStarted",singleton:!0,draft:Hg(Fe.fields)})}return}).catch((Fe)=>{if(K&&te===_.current)ee(br(Fe))}),()=>{K=!1}},[g,p,b,Ae,l,f,h,u,q,j]);let X=mi.useCallback((le,te={kind:"idle"},K=b)=>{if(!K||!b)return;let me=Aa(a,K,le);if(!(K===b&&u.kind==="entity"&&u.entityType===b&&u.id===le)){Je.current={pathname:me,save:te};let Ze=`${ei(a,v??b)}${ti(k)}`,Be=g&&te.kind==="saved",fn=s.location.state,ni=!Be||td(fn)&&fn.studioCollectionPath===Ze;s[Be?"replace":"push"](`${me}${ti(k)}`,ni?{studioCollectionPath:Ze}:void 0,te.kind==="saved"?{ignoreBlocker:!0}:void 0);return}let Ie=++_.current,pt=b;l.fetchQuery({...gc(i,b,le),staleTime:0}).then((Ze)=>{if(Ie!==_.current||ce.current!==pt)return;let Be=hc(Ze);C({type:"documentOpened",document:Be,save:te}),U({kind:"idle"})}).catch((Ze)=>{if(Ie===_.current)ee(br(Ze))})},[a,p,u,g,b,v,k,l,s]),ge=mi.useCallback(()=>{he((le)=>le+1)},[]),ot=mi.useCallback(()=>{_.current+=1},[]),Q=mi.useCallback(()=>_.current,[]);return{openEntity:X,loadError:P,setLoadError:ee,retryOpen:ge,supersedeOpen:ot,currentOpenRequest:Q,pendingOpenState:Je}}var _o=se(ln(),1);function xL(t){let{api:i,queryClient:l,history:s,studioBasePath:a,entityType:u,collectionType:f,entityCollectionQuery:h,groupReturnPath:p,activeCapabilities:g,schema:b,editor:v,dispatchEditor:S,createPath:k,syncStatus:A,deleting:C,saveEntityMutation:R,deleteEntityMutation:B,openEntity:U,currentOpenRequest:q,setMobilePane:j,setFieldAssistState:P}=t,{mode:ee,draft:Ae,body:he,save:Je}=v,[_,ce]=_o.useState(null),X=_o.useRef(0);_o.useEffect(()=>{if(Je.kind!=="saved"||!A?.git)return;if(bm({save:Je,git:A.git,baselineCommit:_}).committed==="done")return;if(Date.now()-X.current>20000)return;let K=window.setTimeout(()=>{l.invalidateQueries({queryKey:Ui.syncStatus()})},900);return()=>window.clearTimeout(K)},[Je,A,_,l]);let ge=_o.useCallback((te,K)=>{if(!u||ee.kind!=="edit"||g?.canUpdate!==!0||g.canAssist!==!0||he.trim().length===0)return;P({kind:"loading",field:K,variant:te}),i.requestFieldAssist({variant:te,entityType:u,id:ee.entity.id,targetField:K}).then((me)=>{let Fe=me.variant==="summarize"?me.suggestion:me.suggestions;P({kind:"suggested",field:me.targetField,variant:me.variant,suggestion:Fe})}).catch((me)=>{P({kind:"error",field:K,message:Ni(me)})})},[g,he,u,ee]),ot=_o.useCallback((te,K)=>{S({type:"fieldAssistApplied",field:te,suggestion:K}),P({kind:"idle"})},[]),Q=_o.useCallback(()=>{if(!u||ee.kind==="browse"||!b||u===rs&&!b.groupingDefinitions||Vd(v)||(ee.kind==="create"&&b.isSingleton||u===rs)&&!dg(v))return;if(ee.kind==="create"?g?.canCreate!==!0:g?.canUpdate!==!0)return;X.current=Date.now(),ce(A?.git?.lastCommit??null),S({type:"saveStarted"});let te=b.hasBody?{body:he}:{},K=Bg(b.fields,Ae),me=ee.kind==="create"?{kind:"create",entityType:u,...k&&{idPath:k},frontmatter:K,...te}:{kind:"update",entityType:u,id:ee.entity.id,frontmatter:K,baseContentHash:ee.entity.contentHash,...te},Fe=q();R.mutate(me,{onSuccess:async(Ie)=>{if(await Promise.all([l.invalidateQueries({queryKey:["studio","groupings"]}),l.invalidateQueries({queryKey:Ui.entities(u)}),...f&&f!==u?[l.invalidateQueries({queryKey:Ui.entities(f)})]:[],l.invalidateQueries({queryKey:Ui.syncStatus()}),...u===rs?[l.invalidateQueries({queryKey:["studio","schema"]})]:[],...ee.kind==="create"||u===rs?[l.invalidateQueries({queryKey:Ui.navigation()})]:[]]),Fe!==q())return;let pt="skipped"in Ie&&Ie.skipped===!0;U(Ie.entityId,{kind:"saved",noop:pt})},onError:(Ie)=>{if(Fe!==q())return;if(Ie instanceof Ao&&(Ie.status===400||Ie.status===409))Promise.all([l.invalidateQueries({queryKey:Ui.navigation()}),l.invalidateQueries({queryKey:["studio","schema"]}),l.invalidateQueries({queryKey:["studio","groupings"]})]);if(Ie instanceof Ao&&Ie.issues.length>0)j("details");S({type:"saveFailed",save:Ie instanceof Ao&&Ie.status===409&&ee.kind==="edit"?{kind:"conflict",message:Ni(Ie)}:{kind:"error",message:Ie instanceof Ao&&Ie.issues.length>0?Ie.message||"Validation failed":Ni(Ie),...Ie instanceof Ao?{issues:Ie.issues}:{}}})}})},[g,u,f,ee,k,v,Ae,he,b,U,A,l,R]),le=_o.useCallback(()=>{if(!u||ee.kind!=="edit"||C||g?.canDelete!==!0)return;let{id:te}=ee.entity;B.mutate({entityType:u,id:te},{onSuccess:async()=>{S({type:"deleteSucceeded"}),l.removeQueries({queryKey:Ui.entity(u,te)}),await Promise.all([l.invalidateQueries({queryKey:["studio","groupings"]}),l.invalidateQueries({queryKey:Ui.entityLists()}),l.invalidateQueries({queryKey:Ui.syncStatus()}),l.invalidateQueries({queryKey:Ui.navigation()})]),s.replace(p??`${ei(a,f??u)}${ti(h)}`,void 0,{ignoreBlocker:!0})},onError:(K)=>{S({type:"deleteFailed",message:Ni(K)})}})},[g,a,u,f,ee,C,l,B,s,p,h]);return{runFieldAssist:ge,applyFieldAssist:ot,save:Q,remove:le,baselineCommit:_}}var Qd=se(ln(),1);function AL(t){let{history:i,queryClient:l,studioBasePath:s,routeTarget:a,routePathname:u,routeSearch:f,entityType:h,activeWorkspaceId:p,types:g,groupings:b,workspaces:v,activeType:S,activeWorkspace:k,entityCollectionQuery:A,entityListOffset:C,entityListTotal:R,declarativeWorkspaceData:B,initialUrlWorkspaceQuery:U,setActiveWorkspaceId:q,setEntityType:j,setLoadError:P,supersedeOpen:ee}=t;Qd.useEffect(()=>{if(!h||!S||p||a.kind!=="collection"&&a.kind!=="entity"||a.entityType!==h)return;if(R===void 0)return;let Ae=Math.floor(Math.max(0,R-1)/A.limit)*A.limit;if(C>Ae)i.replace(`${u}${ti({...A,offset:Ae})}`,i.location.state)},[S,p,C,R,A,h,u,a,i]),Qd.useEffect(()=>{if(!p||!B?.refreshAfterMs)return;let Ae=window.setTimeout(()=>{l.invalidateQueries({queryKey:Ui.workspace(p)})},B.refreshAfterMs);return()=>window.clearTimeout(Ae)},[p,B,l]),Qd.useEffect(()=>{if(k?.urlQuery!==!0||a.kind!=="workspace"||a.workspaceId!==k.id)return;let Ae=Zn(s,k.id);if(Ca(Ae,U)!==`${Ae}${f}`)Dg(i,Ae,U,window.location.pathname)},[k,s,U,f,a,i]),Qd.useEffect(()=>{if(!g)return;if(P(null),a.kind==="not-found"){ee(),P(`Studio route not found: ${a.pathname}`);return}if(a.kind==="grouping"){if(ee(),q(null),j(null),!b.some((_)=>_.key===a.grouping))P("Collection unavailable for this account.");return}if(a.kind==="workspace"){let _=v.find((ce)=>ce.id===a.workspaceId);if(!_){let ce=kL(s,a.workspaceId,f,v);if(ce){i.replace(ce);return}ee(),P(`Workspace unavailable for this account: ${a.workspaceId}`);return}q(_.id),j(null);return}let Ae=a.kind==="collection"||a.kind==="entity"?a.entityType:void 0,he=g.find((_)=>!_.isSingleton)??g[0];if(a.kind==="home"){let _=CL(s,g,v);if(_!==s){i.replace(_);return}}let Je=Ae??he?.entityType??null;if(Ae!==void 0&&!g.some((_)=>_.entityType===Ae)){ee(),P(`Collection unavailable for this account: ${Ae}`);return}q(null),j(Je)},[f,a,i,s,g,b,v])}var O1=se(ln(),1);function TL(t){let{queryClient:i,workspaces:l,activeWorkspaceId:s,entityType:a,mode:u,declarativeWorkspaceActionMutation:f,openEntity:h}=t,p=O1.useCallback(async(b)=>{let v=EL(l,b.entityType);if(!v)throw Error("Publishing is unavailable");let S={entityType:b.entityType,entityId:b.entityId,...b.type==="reorder"?{position:b.position}:{}};if(b.type==="publish"&&!b.confirmation){let C=await f.mutateAsync({workspaceId:v.id,action:{actionId:"publish",label:"Publish now",input:S,invocation:{mode:"prepare"}}});if(typeof C!=="object"||C===null||!("kind"in C)||C.kind!=="prepared-confirmation"||!("token"in C)||typeof C.token!=="string"||!("summary"in C)||typeof C.summary!=="string"||!("expiresAt"in C)||typeof C.expiresAt!=="string")throw Error("Publishing confirmation is unavailable");return{needsConfirmation:!0,summary:C.summary,args:{confirmed:!0,confirmationToken:C.token,contentHash:C.token,expiresAt:C.expiresAt}}}let k=await f.mutateAsync({workspaceId:v.id,action:{actionId:b.type,label:b.type,input:S,...b.type==="publish"&&b.confirmation?{invocation:{mode:"execute",token:b.confirmation.confirmationToken}}:{}}});if(typeof k!=="object"||k===null)throw Error("Publishing returned an invalid result");let A="success"in k&&k.success===!1?{success:!1,error:"error"in k&&typeof k.error==="string"?k.error:"Publishing failed",..."code"in k&&typeof k.code==="string"?{code:k.code}:{}}:{success:!0};if(!g1(A)&&!y1(A)){if(await R1(i,v.id),u.kind==="edit"&&a===b.entityType&&u.entity.id===b.entityId)h(b.entityId)}return A},[a,u,h,i,f,l]),g=O1.useCallback(async(b)=>{if(!s)throw Error("Declarative workspace is unavailable");try{let v=await f.mutateAsync({workspaceId:s,action:b});return await R1(i,s),v}finally{f.reset()}},[s,f,i]);return{performPublishingAction:p,performDeclarativeAction:g}}var Wt=se(Ue(),1),p5=ut.lazy(()=>Ev(async()=>({default:(await import("./studio-chunks/account-view-98yg3v5p.js")).AccountApp}))),m5=ut.lazy(()=>Ev(async()=>({default:(await import("./studio-chunks/studio-chat-workspace-r77xdrgw.js")).StudioChatWorkspace}),()=>Wt.jsxDEV(ka,{message:"Chat could not open.",children:Wt.jsxDEV(Av,{},void 0,!1,void 0,this)},void 0,!1,void 0,this)));function g5(t){let i=new URLSearchParams(t).get("session")?.trim();return i&&i.length<=256?i:null}var y5=["public","trusted","admin"];function b5(t,i,l){let s=document.querySelector("[data-studio-root]"),a=s?.getAttribute("data-studio-principal-name")??"Your account",u=s?.getAttribute("data-studio-principal-role"),f=y5.find((g)=>g===u)??"public",h=s?.getAttribute("data-studio-mcp-url")??void 0,p=new URLSearchParams(l).get("section")??void 0;return{displayName:a,role:f,routePath:t,studioPath:i,...h?{mcpUrl:h}:{},...p?{initialSection:p}:{}}}function NL(){let t=OL(),i=Ug({select:(Te)=>Te.location.pathname}),l=Ug({select:(Te)=>Te.location.searchStr}),s=Ug({select:(Te)=>Te.location.state}),a=zL(),u=ut.useMemo(()=>i===M1?{kind:"workspace",workspaceId:Ng}:mm(i,a),[i,a]),f=ut.useMemo(()=>u.kind==="collection"&&new URLSearchParams(l).get("mode")==="create",[l,u]),h=i,[p,g]=ut.useState(null),[b,v]=ut.useState(null),[S,k]=ut.useState({}),[A,C]=ut.useReducer(oM,Id),{mode:R}=A,B=dg(A),[U]=ut.useState(()=>new BL),q=ut.useSyncExternalStore(U.subscribe,U.hasDrafts,U.hasDrafts),[j,P]=ut.useState({hasDraft:!1,busy:!1}),ee=ML({shouldBlockFn:({next:Te})=>B||i===M1&&LL({...j,hasDraft:q},Te.pathname),enableBeforeUnload:B||q||j.busy,withResolver:!0}),[Ae,he]=ut.useState({kind:"idle"}),[Je,_]=ut.useState("preview"),ce=A.mode.kind==="create";ut.useEffect(()=>{if(ce)_("source")},[ce]);let[X,ge]=ut.useState("details"),ot=ut.useRef(null),Q=ut.useCallback((Te)=>{ot.current=Te,ge(Te)},[]),le=RL(),te=Ji(),{navigationQuery:K,types:me,groupings:Fe,activeType:Ie,collectionType:pt,activeCapabilities:Ze,entityCollectionQuery:Be,entityListOffset:fn,workspaces:ni,activeWorkspace:qo,activeAccount:vr,activeChat:us,initialUrlWorkspaceQuery:yc,workspaceRequestQuery:ie,workspaceQuery:Tn,workspaceData:Ea,workspaceError:Sr,agentTargets:wr,syncStatus:ct,entityListQuery:ao,entities:bc,entityListTotal:Yd,schema:lt,createPath:Ig,destinationQuery:uo,saveEntityMutation:Ta,deleteEntityMutation:xr,declarativeWorkspaceActionMutation:Vg,deleting:Da,declarativeWorkspaceData:Ra}=hL({api:te,entityType:b,activeWorkspaceId:p,routeSearch:l,workspaceQueries:S,editor:A}),_i=u.kind==="grouping"?Fe.find((Te)=>Te.key===u.grouping):void 0,Oa=ut.useMemo(()=>kv(l),[l]),Ma=u.kind==="entity"?ST(s,a,Fe):null,vc=Ma?.path,Xd=ut.useMemo(()=>b?Fe.filter((Te)=>Te.types.includes(b)):[],[Fe,b]),Sc=tL(Xd),{openEntity:La,loadError:Wd,setLoadError:Ba,retryOpen:Fd,supersedeOpen:Kd,currentOpenRequest:wc,pendingOpenState:kl}=wL({api:te,queryClient:le,history:t.history,studioBasePath:a,routeTarget:u,routePathname:i,routeSearch:l,currentStudioPathname:h,createMode:f,entityType:b,collectionType:pt,activeType:Ie,entityCollectionQuery:Be,preferredMobilePane:ot,dispatchEditor:C,setMobilePane:ge,setBodyMode:_,setFieldAssistState:he});AL({history:t.history,queryClient:le,studioBasePath:a,routeTarget:u,routePathname:i,routeSearch:l,entityType:b,activeWorkspaceId:p,types:me,groupings:Fe,workspaces:ni,activeType:Ie,activeWorkspace:qo,entityCollectionQuery:Be,entityListOffset:fn,entityListTotal:Yd,declarativeWorkspaceData:Ra,initialUrlWorkspaceQuery:yc,setActiveWorkspaceId:g,setEntityType:v,setLoadError:Ba,supersedeOpen:Kd});let{openWorkspaceEntity:Io,openWorkspaceLaunch:kr,selectEntityType:Vo,changeEntityPage:Ft,selectWorkspace:co,selectFolder:cs,startCreate:fs,backToList:xc,changeWorkspaceQuery:Jd}=yL({history:t.history,studioBasePath:a,routeSearch:l,entityType:b,collectionType:pt,entityCollectionQuery:Be,groupReturnPath:vc,workspaces:ni,schema:lt,activeCapabilities:Ze,pendingOpenState:kl,setFieldAssistState:he,setWorkspaceQueries:k}),{runFieldAssist:za,applyFieldAssist:Na,save:fo,remove:ii,baselineCommit:Zd}=xL({api:te,queryClient:le,history:t.history,studioBasePath:a,entityType:b,collectionType:pt,entityCollectionQuery:Be,groupReturnPath:vc,activeCapabilities:Ze,schema:lt,editor:A,dispatchEditor:C,createPath:Ig,syncStatus:ct,deleting:Da,saveEntityMutation:Ta,deleteEntityMutation:xr,openEntity:La,currentOpenRequest:wc,setMobilePane:ge,setFieldAssistState:he}),{performPublishingAction:Pg,performDeclarativeAction:kc}=TL({queryClient:le,workspaces:ni,activeWorkspaceId:p,entityType:b,mode:R,declarativeWorkspaceActionMutation:Vg,openEntity:La}),ho=Wd??(K.error?br(K.error):ao.error?br(ao.error):null),Cr=()=>{if(Ba(null),K.error)K.refetch();if(ao.error)ao.refetch();if(Tn.error)Tn.refetch();if(R.kind==="browse")Fd()};if(ho&&!me)return Wt.jsxDEV(ka,{message:ho,error:!0,onRetry:Cr},void 0,!1,void 0,this);if(!me)return Wt.jsxDEV(ka,{message:"Loading…"},void 0,!1,void 0,this);if(vr&&qo){let Te=Zn(a,zg);return Wt.jsxDEV(KM,{types:me,workspaces:ni,workspaceId:qo.id,selectEntityType:Vo,selectWorkspace:co,children:Wt.jsxDEV(ut.Suspense,{fallback:Wt.jsxDEV(ke,{children:"Opening Account…"},void 0,!1,void 0,this),children:Wt.jsxDEV(p5,{bootstrap:b5(Te,a,l)},void 0,!1,void 0,this)},void 0,!1,void 0,this)},void 0,!1,void 0,this)}if(us&&qo)return Wt.jsxDEV(Wt.Fragment,{children:[Wt.jsxDEV(ut.Suspense,{fallback:Wt.jsxDEV(ka,{message:"Opening Chat…"},void 0,!1,void 0,this),children:Wt.jsxDEV(m5,{apiPath:qo.chatApiPath,draftStore:U,onNavigationStateChange:P,studioBasePath:a,sessionId:g5(l),types:me,workspaces:ni,handoff:eL(s),navigate:(Te,Po)=>{t.history.push(Te,void 0,{ignoreBlocker:Po?.preserveWork===!0})},selectEntityType:Vo,selectWorkspace:co},void 0,!1,void 0,this)},void 0,!1,void 0,this),ee.status==="blocked"&&Wt.jsxDEV(Mn,{mark:"↩",title:"Leave this conversation?",titleId:"chat-navigation-title",cancelLabel:"Stay",confirmLabel:"Leave",onCancel:()=>ee.reset(),onConfirm:()=>ee.proceed(),children:Wt.jsxDEV("p",{children:"Your draft stays in this tab. Leaving stops receiving the response, but does not undo completed actions or background jobs."},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this);if(p?!Ea&&!Sr:b&&!lt&&!ho)return Wt.jsxDEV(ka,{message:"Loading…"},void 0,!1,void 0,this);if(!_i&&!p&&(!b||!lt&&!ho))return Wt.jsxDEV(ka,{message:ho??"No readable collections are available for this account.",error:Boolean(ho),...ho?{onHome:()=>t.history.push(a)}:{}},void 0,!1,void 0,this);return Wt.jsxDEV(JM,{groupings:{items:Fe,active:_i?.key??Ma?.grouping??null,onSelect:(Te)=>t.history.push(Iu(a,Te))},groupReturnLabel:Ma?.label,groupingSuggestions:Sc,groupingView:_i?Wt.jsxDEV(AT,{basePath:a,grouping:_i,types:me,query:Oa,onChange:(Te,Po)=>{let ds=`${Iu(a,_i.key)}${qu(Te)}`,eh=Te.value!==Oa.value||Te.offset!==Oa.offset;t.history[eh&&Po?.replace!==!0?"push":"replace"](ds)},onOpen:(Te,Po)=>{let ds=Aa(a,Te,Po);kl.current={pathname:ds,save:{kind:"idle"}},t.history.push(ds,{studioGroupingPath:`${Iu(a,_i.key)}${qu(Oa)}`})}},void 0,!1,void 0,this):null,activeWorkspaceId:p,types:me,workspaces:ni,workspaceError:Sr,readError:ho,onRetryRead:Cr,declarativeWorkspaceData:Ra,workspaceQuery:ie,entityType:b,entities:bc,folders:ao.data?.folders??[],collectionTrail:ao.data?.trail,collectionPath:pt?ei(a,pt):a,selectFolder:cs,creationDestination:{data:uo.data??null,pending:uo.isPending,error:uo.error},entityOffset:fn,entityLimit:Be.limit,entityTotal:Yd??0,collectionQuery:Be,onCollectionQueryChange:(Te)=>{if(!pt)return;t.history.push(`${ei(a,pt)}${ti({...Te,offset:0})}`),window.scrollTo({top:0,left:0})},entityListLoading:ao.isPending,schema:lt,editor:A,fieldAssistState:Ae,bodyMode:Je,mobilePane:X,syncStatus:ct,baselineCommit:Zd,agentTargets:wr,deleting:Da,hasUnsavedChanges:B,navigationBlocked:ee.status==="blocked",dispatchEditor:C,setFieldAssistState:he,setBodyMode:_,setMobilePane:Q,backToList:xc,selectEntityType:Vo,selectWorkspace:co,changeEntityPage:Ft,openWorkspaceEntity:Io,openWorkspaceLaunch:kr,performPublishingAction:Pg,performDeclarativeAction:kc,onWorkspaceQueryChange:Jd,startCreate:fs,openEntity:(Te,Po)=>La(Te,void 0,Po),runFieldAssist:za,applyFieldAssist:Na,save:fo,remove:ii,onNavigationReset:()=>ee.reset?.(),onNavigationProceed:()=>ee.proceed?.()},void 0,!1,void 0,this)}function UL(){return new HL({defaultOptions:{queries:{retry:!1,refetchOnWindowFocus:!1},mutations:{retry:!1}}})}var qg=se(Ue(),1),_g=document.querySelector("[data-studio-root]");if(_g){let t=_g.getAttribute("data-studio-base-path")??"/studio",i=new IL({basePath:t});_g.textContent="";let l=UL(),s=PL(t,NL);jL.createRoot(_g).render(qg.jsxDEV(_L,{client:l,children:qg.jsxDEV(VL,{api:i,children:qg.jsxDEV(qL,{router:s},void 0,!1,void 0,this)},void 0,!1,void 0,this)},void 0,!1,void 0,this))}
245
+ ${s}`:s}}function h5(){let t=window.history.state;return td(t)?t:{}}function wL(t){let{api:i,queryClient:l,history:s,studioBasePath:a,routeTarget:u,routePathname:f,routeSearch:h,currentStudioPathname:p,createMode:g,entityType:b,collectionType:v,activeType:S,entityCollectionQuery:k,preferredMobilePane:A,dispatchEditor:C,setMobilePane:R,setBodyMode:B,setFieldAssistState:U}=t,q=S?.capabilities.canCreate===!0,j=S?.hierarchy.nested!==!1,[P,ee]=mi.useState(null),[Ae,he]=mi.useState(0),Je=mi.useRef(null),_=mi.useRef(0),ce=mi.useRef(b);ce.current=b,mi.useEffect(()=>{if(u.kind==="grouping"){C({type:"collectionChanged"});return}if(!b||u.kind==="workspace"||u.kind==="not-found")return;let le=u.kind==="entity"&&u.entityType===b?u.id:null,te=++_.current;C({type:"collectionChanged"}),R("details"),U({kind:"idle"});let K=!0,me=()=>K&&te===_.current;return l.fetchQuery({...Mg(i,b),staleTime:0}).then(async(Fe)=>{if(!K||te!==_.current)return;let Ie=FM(Fe,A.current);if(R(Ie),window.matchMedia("(max-width: 640px)").matches&&Ie!=="details")B(Ie==="write"?"source":"preview");if(g&&le===null){if(!q){ee(`Creating ${b} is not allowed.`);return}let pt=vL(window.history.state,b,()=>window.history.replaceState(bL(h5()),"",window.location.href)),Ze=SL(Fe.fields,pt);C({type:"creationStarted",draft:Ze.draft,body:Ze.body,...Fe.isSingleton&&{singleton:!0},...pt&&{prefilled:!0},...!pt&&!Fe.isSingleton&&{prefix:j?mc(h).prefix:null}});return}if(le!==null)return l.fetchQuery({...gc(i,b,le),staleTime:0}).then((pt)=>{if(!K||te!==_.current)return;let Ze=hc(pt),Be=Je.current,fn=Aa(a,b,le),ni=Be?.pathname===fn?Be.save:{kind:"idle"};if(Be?.pathname===fn)Je.current=null;C({type:"documentOpened",document:Ze,save:ni})});if(Fe.isSingleton){let pt=await l.ensureQueryData(Lg(i,b,mc("?scope=collection")));if(!me())return;let Ze=pt.entities[0];if(Ze)return l.fetchQuery({...gc(i,b,Ze.id),staleTime:0}).then((Be)=>{if(!K||te!==_.current)return;let fn=hc(Be);C({type:"documentOpened",document:fn})});C({type:"creationStarted",singleton:!0,draft:Hg(Fe.fields)})}return}).catch((Fe)=>{if(K&&te===_.current)ee(br(Fe))}),()=>{K=!1}},[g,p,b,Ae,l,f,h,u,q,j]);let X=mi.useCallback((le,te={kind:"idle"},K=b)=>{if(!K||!b)return;let me=Aa(a,K,le);if(!(K===b&&u.kind==="entity"&&u.entityType===b&&u.id===le)){Je.current={pathname:me,save:te};let Ze=`${ei(a,v??b)}${ti(k)}`,Be=g&&te.kind==="saved",fn=s.location.state,ni=!Be||td(fn)&&fn.studioCollectionPath===Ze;s[Be?"replace":"push"](`${me}${ti(k)}`,ni?{studioCollectionPath:Ze}:void 0,te.kind==="saved"?{ignoreBlocker:!0}:void 0);return}let Ie=++_.current,pt=b;l.fetchQuery({...gc(i,b,le),staleTime:0}).then((Ze)=>{if(Ie!==_.current||ce.current!==pt)return;let Be=hc(Ze);C({type:"documentOpened",document:Be,save:te}),U({kind:"idle"})}).catch((Ze)=>{if(Ie===_.current)ee(br(Ze))})},[a,p,u,g,b,v,k,l,s]),ge=mi.useCallback(()=>{he((le)=>le+1)},[]),ot=mi.useCallback(()=>{_.current+=1},[]),Q=mi.useCallback(()=>_.current,[]);return{openEntity:X,loadError:P,setLoadError:ee,retryOpen:ge,supersedeOpen:ot,currentOpenRequest:Q,pendingOpenState:Je}}var _o=se(ln(),1);function xL(t){let{api:i,queryClient:l,history:s,studioBasePath:a,entityType:u,collectionType:f,entityCollectionQuery:h,groupReturnPath:p,activeCapabilities:g,schema:b,editor:v,dispatchEditor:S,createPath:k,syncStatus:A,deleting:C,saveEntityMutation:R,deleteEntityMutation:B,openEntity:U,currentOpenRequest:q,setMobilePane:j,setFieldAssistState:P}=t,{mode:ee,draft:Ae,body:he,save:Je}=v,[_,ce]=_o.useState(null),X=_o.useRef(0);_o.useEffect(()=>{if(Je.kind!=="saved"||!A?.git)return;if(bm({save:Je,git:A.git,baselineCommit:_}).committed==="done")return;if(Date.now()-X.current>20000)return;let K=window.setTimeout(()=>{l.invalidateQueries({queryKey:Ui.syncStatus()})},900);return()=>window.clearTimeout(K)},[Je,A,_,l]);let ge=_o.useCallback((te,K)=>{if(!u||ee.kind!=="edit"||g?.canUpdate!==!0||g.canAssist!==!0||he.trim().length===0)return;P({kind:"loading",field:K,variant:te}),i.requestFieldAssist({variant:te,entityType:u,id:ee.entity.id,targetField:K}).then((me)=>{let Fe=me.variant==="summarize"?me.suggestion:me.suggestions;P({kind:"suggested",field:me.targetField,variant:me.variant,suggestion:Fe})}).catch((me)=>{P({kind:"error",field:K,message:Ni(me)})})},[g,he,u,ee]),ot=_o.useCallback((te,K)=>{S({type:"fieldAssistApplied",field:te,suggestion:K}),P({kind:"idle"})},[]),Q=_o.useCallback(()=>{if(!u||ee.kind==="browse"||!b||u===rs&&!b.groupingDefinitions||Vd(v)||(ee.kind==="create"&&b.isSingleton||u===rs)&&!dg(v))return;if(ee.kind==="create"?g?.canCreate!==!0:g?.canUpdate!==!0)return;X.current=Date.now(),ce(A?.git?.lastCommit??null),S({type:"saveStarted"});let te=b.hasBody?{body:he}:{},K=Bg(b.fields,Ae),me=ee.kind==="create"?{kind:"create",entityType:u,...k&&{idPath:k},frontmatter:K,...te}:{kind:"update",entityType:u,id:ee.entity.id,frontmatter:K,baseContentHash:ee.entity.contentHash,...te},Fe=q();R.mutate(me,{onSuccess:async(Ie)=>{if(await Promise.all([l.invalidateQueries({queryKey:["studio","groupings"]}),l.invalidateQueries({queryKey:Ui.entities(u)}),...f&&f!==u?[l.invalidateQueries({queryKey:Ui.entities(f)})]:[],l.invalidateQueries({queryKey:Ui.syncStatus()}),...u===rs?[l.invalidateQueries({queryKey:["studio","schema"]})]:[],...ee.kind==="create"||u===rs?[l.invalidateQueries({queryKey:Ui.navigation()})]:[]]),Fe!==q())return;let pt="skipped"in Ie&&Ie.skipped===!0;U(Ie.entityId,{kind:"saved",noop:pt})},onError:(Ie)=>{if(Fe!==q())return;if(Ie instanceof Ao&&(Ie.status===400||Ie.status===409))Promise.all([l.invalidateQueries({queryKey:Ui.navigation()}),l.invalidateQueries({queryKey:["studio","schema"]}),l.invalidateQueries({queryKey:["studio","groupings"]})]);if(Ie instanceof Ao&&Ie.issues.length>0)j("details");S({type:"saveFailed",save:Ie instanceof Ao&&Ie.status===409&&ee.kind==="edit"?{kind:"conflict",message:Ni(Ie)}:{kind:"error",message:Ie instanceof Ao&&Ie.issues.length>0?Ie.message||"Validation failed":Ni(Ie),...Ie instanceof Ao?{issues:Ie.issues}:{}}})}})},[g,u,f,ee,k,v,Ae,he,b,U,A,l,R]),le=_o.useCallback(()=>{if(!u||ee.kind!=="edit"||C||g?.canDelete!==!0)return;let{id:te}=ee.entity;B.mutate({entityType:u,id:te},{onSuccess:async()=>{S({type:"deleteSucceeded"}),l.removeQueries({queryKey:Ui.entity(u,te)}),await Promise.all([l.invalidateQueries({queryKey:["studio","groupings"]}),l.invalidateQueries({queryKey:Ui.entityLists()}),l.invalidateQueries({queryKey:Ui.syncStatus()}),l.invalidateQueries({queryKey:Ui.navigation()})]),s.replace(p??`${ei(a,f??u)}${ti(h)}`,void 0,{ignoreBlocker:!0})},onError:(K)=>{S({type:"deleteFailed",message:Ni(K)})}})},[g,a,u,f,ee,C,l,B,s,p,h]);return{runFieldAssist:ge,applyFieldAssist:ot,save:Q,remove:le,baselineCommit:_}}var Qd=se(ln(),1);function AL(t){let{history:i,queryClient:l,studioBasePath:s,routeTarget:a,routePathname:u,routeSearch:f,entityType:h,activeWorkspaceId:p,types:g,groupings:b,workspaces:v,activeType:S,activeWorkspace:k,entityCollectionQuery:A,entityListOffset:C,entityListTotal:R,declarativeWorkspaceData:B,initialUrlWorkspaceQuery:U,setActiveWorkspaceId:q,setEntityType:j,setLoadError:P,supersedeOpen:ee}=t;Qd.useEffect(()=>{if(!h||!S||p||a.kind!=="collection"&&a.kind!=="entity"||a.entityType!==h)return;if(R===void 0)return;let Ae=Math.floor(Math.max(0,R-1)/A.limit)*A.limit;if(C>Ae)i.replace(`${u}${ti({...A,offset:Ae})}`,i.location.state)},[S,p,C,R,A,h,u,a,i]),Qd.useEffect(()=>{if(!p||!B?.refreshAfterMs)return;let Ae=window.setTimeout(()=>{l.invalidateQueries({queryKey:Ui.workspace(p)})},B.refreshAfterMs);return()=>window.clearTimeout(Ae)},[p,B,l]),Qd.useEffect(()=>{if(k?.urlQuery!==!0||a.kind!=="workspace"||a.workspaceId!==k.id)return;let Ae=Zn(s,k.id);if(Ca(Ae,U)!==`${Ae}${f}`)Dg(i,Ae,U,window.location.pathname)},[k,s,U,f,a,i]),Qd.useEffect(()=>{if(!g)return;if(P(null),a.kind==="not-found"){ee(),P(`Studio route not found: ${a.pathname}`);return}if(a.kind==="grouping"){if(ee(),q(null),j(null),!b.some((_)=>_.key===a.grouping))P("Collection unavailable for this account.");return}if(a.kind==="workspace"){let _=v.find((ce)=>ce.id===a.workspaceId);if(!_){let ce=kL(s,a.workspaceId,f,v);if(ce){i.replace(ce);return}ee(),P(`Workspace unavailable for this account: ${a.workspaceId}`);return}q(_.id),j(null);return}let Ae=a.kind==="collection"||a.kind==="entity"?a.entityType:void 0,he=g.find((_)=>!_.isSingleton)??g[0];if(a.kind==="home"){let _=CL(s,g,v);if(_!==s){i.replace(_);return}}let Je=Ae??he?.entityType??null;if(Ae!==void 0&&!g.some((_)=>_.entityType===Ae)){ee(),P(`Collection unavailable for this account: ${Ae}`);return}q(null),j(Je)},[f,a,i,s,g,b,v])}var O1=se(ln(),1);function TL(t){let{queryClient:i,workspaces:l,activeWorkspaceId:s,entityType:a,mode:u,declarativeWorkspaceActionMutation:f,openEntity:h}=t,p=O1.useCallback(async(b)=>{let v=EL(l,b.entityType);if(!v)throw Error("Publishing is unavailable");let S={entityType:b.entityType,entityId:b.entityId,...b.type==="reorder"?{position:b.position}:{}};if(b.type==="publish"&&!b.confirmation){let C=await f.mutateAsync({workspaceId:v.id,action:{actionId:"publish",label:"Publish now",input:S,invocation:{mode:"prepare"}}});if(typeof C!=="object"||C===null||!("kind"in C)||C.kind!=="prepared-confirmation"||!("token"in C)||typeof C.token!=="string"||!("summary"in C)||typeof C.summary!=="string"||!("expiresAt"in C)||typeof C.expiresAt!=="string")throw Error("Publishing confirmation is unavailable");return{needsConfirmation:!0,summary:C.summary,args:{confirmed:!0,confirmationToken:C.token,contentHash:C.token,expiresAt:C.expiresAt}}}let k=await f.mutateAsync({workspaceId:v.id,action:{actionId:b.type,label:b.type,input:S,...b.type==="publish"&&b.confirmation?{invocation:{mode:"execute",token:b.confirmation.confirmationToken}}:{}}});if(typeof k!=="object"||k===null)throw Error("Publishing returned an invalid result");let A="success"in k&&k.success===!1?{success:!1,error:"error"in k&&typeof k.error==="string"?k.error:"Publishing failed",..."code"in k&&typeof k.code==="string"?{code:k.code}:{}}:{success:!0};if(!g1(A)&&!y1(A)){if(await R1(i,v.id),u.kind==="edit"&&a===b.entityType&&u.entity.id===b.entityId)h(b.entityId)}return A},[a,u,h,i,f,l]),g=O1.useCallback(async(b)=>{if(!s)throw Error("Declarative workspace is unavailable");try{let v=await f.mutateAsync({workspaceId:s,action:b});return await R1(i,s),v}finally{f.reset()}},[s,f,i]);return{performPublishingAction:p,performDeclarativeAction:g}}var Wt=se(Ue(),1),p5=ut.lazy(()=>Ev(async()=>({default:(await import("./studio-chunks/account-view-8a3p9e44.js")).AccountApp}))),m5=ut.lazy(()=>Ev(async()=>({default:(await import("./studio-chunks/studio-chat-workspace-whsz4yd9.js")).StudioChatWorkspace}),()=>Wt.jsxDEV(ka,{message:"Chat could not open.",children:Wt.jsxDEV(Av,{},void 0,!1,void 0,this)},void 0,!1,void 0,this)));function g5(t){let i=new URLSearchParams(t).get("session")?.trim();return i&&i.length<=256?i:null}var y5=["public","trusted","admin"];function b5(t,i,l){let s=document.querySelector("[data-studio-root]"),a=s?.getAttribute("data-studio-principal-name")??"Your account",u=s?.getAttribute("data-studio-principal-role"),f=y5.find((g)=>g===u)??"public",h=s?.getAttribute("data-studio-mcp-url")??void 0,p=new URLSearchParams(l).get("section")??void 0;return{displayName:a,role:f,routePath:t,studioPath:i,...h?{mcpUrl:h}:{},...p?{initialSection:p}:{}}}function NL(){let t=OL(),i=Ug({select:(Te)=>Te.location.pathname}),l=Ug({select:(Te)=>Te.location.searchStr}),s=Ug({select:(Te)=>Te.location.state}),a=zL(),u=ut.useMemo(()=>i===M1?{kind:"workspace",workspaceId:Ng}:mm(i,a),[i,a]),f=ut.useMemo(()=>u.kind==="collection"&&new URLSearchParams(l).get("mode")==="create",[l,u]),h=i,[p,g]=ut.useState(null),[b,v]=ut.useState(null),[S,k]=ut.useState({}),[A,C]=ut.useReducer(oM,Id),{mode:R}=A,B=dg(A),[U]=ut.useState(()=>new BL),q=ut.useSyncExternalStore(U.subscribe,U.hasDrafts,U.hasDrafts),[j,P]=ut.useState({hasDraft:!1,busy:!1}),ee=ML({shouldBlockFn:({next:Te})=>B||i===M1&&LL({...j,hasDraft:q},Te.pathname),enableBeforeUnload:B||q||j.busy,withResolver:!0}),[Ae,he]=ut.useState({kind:"idle"}),[Je,_]=ut.useState("preview"),ce=A.mode.kind==="create";ut.useEffect(()=>{if(ce)_("source")},[ce]);let[X,ge]=ut.useState("details"),ot=ut.useRef(null),Q=ut.useCallback((Te)=>{ot.current=Te,ge(Te)},[]),le=RL(),te=Ji(),{navigationQuery:K,types:me,groupings:Fe,activeType:Ie,collectionType:pt,activeCapabilities:Ze,entityCollectionQuery:Be,entityListOffset:fn,workspaces:ni,activeWorkspace:qo,activeAccount:vr,activeChat:us,initialUrlWorkspaceQuery:yc,workspaceRequestQuery:ie,workspaceQuery:Tn,workspaceData:Ea,workspaceError:Sr,agentTargets:wr,syncStatus:ct,entityListQuery:ao,entities:bc,entityListTotal:Yd,schema:lt,createPath:Ig,destinationQuery:uo,saveEntityMutation:Ta,deleteEntityMutation:xr,declarativeWorkspaceActionMutation:Vg,deleting:Da,declarativeWorkspaceData:Ra}=hL({api:te,entityType:b,activeWorkspaceId:p,routeSearch:l,workspaceQueries:S,editor:A}),_i=u.kind==="grouping"?Fe.find((Te)=>Te.key===u.grouping):void 0,Oa=ut.useMemo(()=>kv(l),[l]),Ma=u.kind==="entity"?ST(s,a,Fe):null,vc=Ma?.path,Xd=ut.useMemo(()=>b?Fe.filter((Te)=>Te.types.includes(b)):[],[Fe,b]),Sc=tL(Xd),{openEntity:La,loadError:Wd,setLoadError:Ba,retryOpen:Fd,supersedeOpen:Kd,currentOpenRequest:wc,pendingOpenState:kl}=wL({api:te,queryClient:le,history:t.history,studioBasePath:a,routeTarget:u,routePathname:i,routeSearch:l,currentStudioPathname:h,createMode:f,entityType:b,collectionType:pt,activeType:Ie,entityCollectionQuery:Be,preferredMobilePane:ot,dispatchEditor:C,setMobilePane:ge,setBodyMode:_,setFieldAssistState:he});AL({history:t.history,queryClient:le,studioBasePath:a,routeTarget:u,routePathname:i,routeSearch:l,entityType:b,activeWorkspaceId:p,types:me,groupings:Fe,workspaces:ni,activeType:Ie,activeWorkspace:qo,entityCollectionQuery:Be,entityListOffset:fn,entityListTotal:Yd,declarativeWorkspaceData:Ra,initialUrlWorkspaceQuery:yc,setActiveWorkspaceId:g,setEntityType:v,setLoadError:Ba,supersedeOpen:Kd});let{openWorkspaceEntity:Io,openWorkspaceLaunch:kr,selectEntityType:Vo,changeEntityPage:Ft,selectWorkspace:co,selectFolder:cs,startCreate:fs,backToList:xc,changeWorkspaceQuery:Jd}=yL({history:t.history,studioBasePath:a,routeSearch:l,entityType:b,collectionType:pt,entityCollectionQuery:Be,groupReturnPath:vc,workspaces:ni,schema:lt,activeCapabilities:Ze,pendingOpenState:kl,setFieldAssistState:he,setWorkspaceQueries:k}),{runFieldAssist:za,applyFieldAssist:Na,save:fo,remove:ii,baselineCommit:Zd}=xL({api:te,queryClient:le,history:t.history,studioBasePath:a,entityType:b,collectionType:pt,entityCollectionQuery:Be,groupReturnPath:vc,activeCapabilities:Ze,schema:lt,editor:A,dispatchEditor:C,createPath:Ig,syncStatus:ct,deleting:Da,saveEntityMutation:Ta,deleteEntityMutation:xr,openEntity:La,currentOpenRequest:wc,setMobilePane:ge,setFieldAssistState:he}),{performPublishingAction:Pg,performDeclarativeAction:kc}=TL({queryClient:le,workspaces:ni,activeWorkspaceId:p,entityType:b,mode:R,declarativeWorkspaceActionMutation:Vg,openEntity:La}),ho=Wd??(K.error?br(K.error):ao.error?br(ao.error):null),Cr=()=>{if(Ba(null),K.error)K.refetch();if(ao.error)ao.refetch();if(Tn.error)Tn.refetch();if(R.kind==="browse")Fd()};if(ho&&!me)return Wt.jsxDEV(ka,{message:ho,error:!0,onRetry:Cr},void 0,!1,void 0,this);if(!me)return Wt.jsxDEV(ka,{message:"Loading…"},void 0,!1,void 0,this);if(vr&&qo){let Te=Zn(a,zg);return Wt.jsxDEV(KM,{types:me,workspaces:ni,workspaceId:qo.id,selectEntityType:Vo,selectWorkspace:co,children:Wt.jsxDEV(ut.Suspense,{fallback:Wt.jsxDEV(ke,{children:"Opening Account…"},void 0,!1,void 0,this),children:Wt.jsxDEV(p5,{bootstrap:b5(Te,a,l)},void 0,!1,void 0,this)},void 0,!1,void 0,this)},void 0,!1,void 0,this)}if(us&&qo)return Wt.jsxDEV(Wt.Fragment,{children:[Wt.jsxDEV(ut.Suspense,{fallback:Wt.jsxDEV(ka,{message:"Opening Chat…"},void 0,!1,void 0,this),children:Wt.jsxDEV(m5,{apiPath:qo.chatApiPath,draftStore:U,onNavigationStateChange:P,studioBasePath:a,sessionId:g5(l),types:me,workspaces:ni,handoff:eL(s),navigate:(Te,Po)=>{t.history.push(Te,void 0,{ignoreBlocker:Po?.preserveWork===!0})},selectEntityType:Vo,selectWorkspace:co},void 0,!1,void 0,this)},void 0,!1,void 0,this),ee.status==="blocked"&&Wt.jsxDEV(Mn,{mark:"↩",title:"Leave this conversation?",titleId:"chat-navigation-title",cancelLabel:"Stay",confirmLabel:"Leave",onCancel:()=>ee.reset(),onConfirm:()=>ee.proceed(),children:Wt.jsxDEV("p",{children:"Your draft stays in this tab. Leaving stops receiving the response, but does not undo completed actions or background jobs."},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this);if(p?!Ea&&!Sr:b&&!lt&&!ho)return Wt.jsxDEV(ka,{message:"Loading…"},void 0,!1,void 0,this);if(!_i&&!p&&(!b||!lt&&!ho))return Wt.jsxDEV(ka,{message:ho??"No readable collections are available for this account.",error:Boolean(ho),...ho?{onHome:()=>t.history.push(a)}:{}},void 0,!1,void 0,this);return Wt.jsxDEV(JM,{groupings:{items:Fe,active:_i?.key??Ma?.grouping??null,onSelect:(Te)=>t.history.push(Iu(a,Te))},groupReturnLabel:Ma?.label,groupingSuggestions:Sc,groupingView:_i?Wt.jsxDEV(AT,{basePath:a,grouping:_i,types:me,query:Oa,onChange:(Te,Po)=>{let ds=`${Iu(a,_i.key)}${qu(Te)}`,eh=Te.value!==Oa.value||Te.offset!==Oa.offset;t.history[eh&&Po?.replace!==!0?"push":"replace"](ds)},onOpen:(Te,Po)=>{let ds=Aa(a,Te,Po);kl.current={pathname:ds,save:{kind:"idle"}},t.history.push(ds,{studioGroupingPath:`${Iu(a,_i.key)}${qu(Oa)}`})}},void 0,!1,void 0,this):null,activeWorkspaceId:p,types:me,workspaces:ni,workspaceError:Sr,readError:ho,onRetryRead:Cr,declarativeWorkspaceData:Ra,workspaceQuery:ie,entityType:b,entities:bc,folders:ao.data?.folders??[],collectionTrail:ao.data?.trail,collectionPath:pt?ei(a,pt):a,selectFolder:cs,creationDestination:{data:uo.data??null,pending:uo.isPending,error:uo.error},entityOffset:fn,entityLimit:Be.limit,entityTotal:Yd??0,collectionQuery:Be,onCollectionQueryChange:(Te)=>{if(!pt)return;t.history.push(`${ei(a,pt)}${ti({...Te,offset:0})}`),window.scrollTo({top:0,left:0})},entityListLoading:ao.isPending,schema:lt,editor:A,fieldAssistState:Ae,bodyMode:Je,mobilePane:X,syncStatus:ct,baselineCommit:Zd,agentTargets:wr,deleting:Da,hasUnsavedChanges:B,navigationBlocked:ee.status==="blocked",dispatchEditor:C,setFieldAssistState:he,setBodyMode:_,setMobilePane:Q,backToList:xc,selectEntityType:Vo,selectWorkspace:co,changeEntityPage:Ft,openWorkspaceEntity:Io,openWorkspaceLaunch:kr,performPublishingAction:Pg,performDeclarativeAction:kc,onWorkspaceQueryChange:Jd,startCreate:fs,openEntity:(Te,Po)=>La(Te,void 0,Po),runFieldAssist:za,applyFieldAssist:Na,save:fo,remove:ii,onNavigationReset:()=>ee.reset?.(),onNavigationProceed:()=>ee.proceed?.()},void 0,!1,void 0,this)}function UL(){return new HL({defaultOptions:{queries:{retry:!1,refetchOnWindowFocus:!1},mutations:{retry:!1}}})}var qg=se(Ue(),1),_g=document.querySelector("[data-studio-root]");if(_g){let t=_g.getAttribute("data-studio-base-path")??"/studio",i=new IL({basePath:t});_g.textContent="";let l=UL(),s=PL(t,NL);jL.createRoot(_g).render(qg.jsxDEV(_L,{client:l,children:qg.jsxDEV(VL,{api:i,children:qg.jsxDEV(qL,{router:s},void 0,!1,void 0,this)},void 0,!1,void 0,this)},void 0,!1,void 0,this))}
246
246
 
247
247
  //# debugId=F4324C4CF1BCCC2564756E2164756E21
@@ -712,7 +712,6 @@
712
712
  @media (min-width: 641px) and (max-width: 900px){.xyev11v.xyev11v:not(#\#):not(#\#):not(#\#){grid-template-columns:320px minmax(0,1fr)}}
713
713
  @media (max-width: 900px){.x7aqbxz.x7aqbxz:not(#\#):not(#\#):not(#\#){grid-template-columns:auto minmax(0,1fr) auto}}
714
714
  @media (max-width: 640px){.xlpkf44.xlpkf44:not(#\#):not(#\#):not(#\#){grid-template-columns:minmax(0,1fr) auto}}
715
- @media (max-width: 1000px){.x1xvdkq4.x1xvdkq4:not(#\#):not(#\#):not(#\#){grid-template-columns:minmax(0,1fr)}}
716
715
  @media (max-width: 640px){.x4jmfmw.x4jmfmw:not(#\#):not(#\#):not(#\#){grid-template-columns:minmax(0,1fr)}}
717
716
  @media (max-width: 900px){.xirox3h.xirox3h:not(#\#):not(#\#):not(#\#){grid-template-columns:minmax(0,1fr)}}
718
717
  @media (min-width: 641px) and (max-width: 900px){.x8ef1wo.x8ef1wo:not(#\#):not(#\#):not(#\#){grid-template-columns:minmax(0,1fr)}}
@@ -1109,9 +1108,9 @@
1109
1108
  .x1sjuclm:not(#\#){padding:clamp(24px,4vw,48px) 0 60px}
1110
1109
  .x10e8r38:is([data-matrix-cell] li:last-child):not(#\#){padding:14px 0 4px}
1111
1110
  .x1xukwvs:is([data-matrix-cell] li):not(#\#){padding:14px 0}
1112
- @media (max-width: 700px){.x1fxr43a.x1fxr43a:not(#\#){margin:0}}
1111
+ @media (max-width: 720px){.x1yemgb7.x1yemgb7:not(#\#){margin:0}}
1113
1112
  @media (max-width: 640px){.x1xnq73d.x1xnq73d:not(#\#){padding:0 10px}}
1114
- @media (max-width: 700px){.xc6f5x5.xc6f5x5:not(#\#){padding:0 10px}}
1113
+ @media (max-width: 720px){.xe3jge6.xe3jge6:not(#\#){padding:0 10px}}
1115
1114
  @media (max-width: 900px){.xb1114b.xb1114b:not(#\#){padding:0}}
1116
1115
  @media (max-width: 640px){.xfc0hut.xfc0hut:not(#\#){padding:12px 0 40px}}
1117
1116
  @media (max-width: 640px){.xg8tid0.xg8tid0:not(#\#){padding:12px 14px 0}}
@@ -1272,20 +1271,20 @@
1272
1271
  @media (max-width: 640px){.xjgfjw9.xjgfjw9:not(#\#):not(#\#){gap:24px}}
1273
1272
  @media (max-width: 900px){.x1mlu5rb.x1mlu5rb:not(#\#):not(#\#){gap:32px}}
1274
1273
  @media (max-width: 640px){.x1kis1tw.x1kis1tw:not(#\#):not(#\#){gap:3px}}
1275
- @media (max-width: 700px){.x1t31nvy.x1t31nvy:not(#\#):not(#\#){gap:4px 12px}}
1274
+ @media (max-width: 720px){.x66wd9j.x66wd9j:not(#\#):not(#\#){gap:4px 12px}}
1276
1275
  @media (max-width: 640px){.x15j3ira.x15j3ira:not(#\#):not(#\#){gap:4px}}
1277
- @media (max-width: 700px){.x1ky9xo3.x1ky9xo3:not(#\#):not(#\#){gap:7px 14px}}
1276
+ @media (max-width: 720px){.x1hsl0lv.x1hsl0lv:not(#\#):not(#\#){gap:7px 14px}}
1278
1277
  @media (max-width: 640px){.x1dbyxhg.x1dbyxhg:not(#\#):not(#\#){gap:8px 12px}}
1279
1278
  @media (max-width: 640px){.x1otypdl.x1otypdl:not(#\#):not(#\#){gap:8px}}
1280
1279
  @media (max-width: 640px){.xdueovt.xdueovt:not(#\#):not(#\#){gap:9px}}
1281
1280
  @media (max-width: 640px){.x62c7l.x62c7l:not(#\#):not(#\#){gap:var(--operator-sections-gap,26px 40px)}}
1282
1281
  @media (max-width: 640px){.xqca30q.xqca30q:not(#\#):not(#\#){gap:var(--operator-sections-gap,28px)}}
1283
- @media (max-width: 700px){.xdq8kt8.xdq8kt8:not(#\#):not(#\#){grid-column:1 / -1}}
1282
+ @media (max-width: 720px){.x1mny9qk.x1mny9qk:not(#\#):not(#\#){grid-column:1 / -1}}
1284
1283
  @media (max-width: 420px){.x16ohsbj.x16ohsbj:not(#\#):not(#\#){grid-column:1}}
1285
- @media (max-width: 700px){.xjpies9.xjpies9:not(#\#):not(#\#){grid-column:1}}
1286
- @media (max-width: 700px){.x1h2ge3d.x1h2ge3d:not(#\#):not(#\#){grid-column:2}}
1287
- @media (min-width: 420.01px) and (max-width: 700px){.x4mvmlk.x4mvmlk:not(#\#):not(#\#){grid-column:2}}
1288
- @media (max-width: 700px){.x1xelu8c.x1xelu8c:not(#\#):not(#\#){grid-row:2}}
1284
+ @media (max-width: 720px){.xy0nd2e.xy0nd2e:not(#\#):not(#\#){grid-column:1}}
1285
+ @media (max-width: 720px){.x1yfacwp.x1yfacwp:not(#\#):not(#\#){grid-column:2}}
1286
+ @media (min-width: 420.01px) and (max-width: 720px){.xbzj6x0.xbzj6x0:not(#\#):not(#\#){grid-column:2}}
1287
+ @media (max-width: 720px){.x9zojqa.x9zojqa:not(#\#):not(#\#){grid-row:2}}
1289
1288
  @media (max-width: 640px){.x1qa1qnr.x1qa1qnr:not(#\#):not(#\#){padding-inline:18px}}
1290
1289
  @media (prefers-reduced-motion: reduce){.x9kvfbb.x9kvfbb:not(#\#):not(#\#){transition:none}}
1291
1290
  @media (min-width: 641px){.x8wqbq1.x8wqbq1:is([data-operator-action-popover] *):not(#\#):not(#\#){border-color:var(--console-rule-strong)}}
@@ -1802,7 +1801,7 @@
1802
1801
  @media (max-width: 640px){.xp7j7s0.xp7j7s0:not(#\#):not(#\#):not(#\#){align-items:center}}
1803
1802
  @media (max-width: 420px){.x6ssbkw.x6ssbkw:not(#\#):not(#\#):not(#\#){align-items:flex-start}}
1804
1803
  @media (max-width: 640px){.xelgs58.xelgs58:not(#\#):not(#\#):not(#\#){align-items:flex-start}}
1805
- @media (max-width: 700px){.x12kvzbs.x12kvzbs:not(#\#):not(#\#):not(#\#){align-items:flex-start}}
1804
+ @media (max-width: 720px){.x1pftkvw.x1pftkvw:not(#\#):not(#\#):not(#\#){align-items:flex-start}}
1806
1805
  @media (max-width: 640px){.x1fpodaz.x1fpodaz:not(#\#):not(#\#):not(#\#){align-items:start}}
1807
1806
  @media (max-width: 640px){.x1o3peri.x1o3peri:not(#\#):not(#\#):not(#\#){align-items:stretch}}
1808
1807
  @media (max-width: 720px){.x1943nhg.x1943nhg:not(#\#):not(#\#):not(#\#){align-items:stretch}}
@@ -1810,72 +1809,69 @@
1810
1809
  @media (prefers-reduced-motion: reduce){.x1aquc0h.x1aquc0h:not(#\#):not(#\#):not(#\#){animation-name:none}}
1811
1810
  @media (min-width: 641px){.xkktd5z.xkktd5z:not(#\#):not(#\#):not(#\#){background-color:var(--console-accent-soft)}}
1812
1811
  @media (max-width: 640px){.xlc8tcj.xlc8tcj:not(#\#):not(#\#):not(#\#){box-shadow:none}}
1813
- @media (max-width: 700px){.xvxd79e.xvxd79e:not(#\#):not(#\#):not(#\#){clip-path:inset(50%)}}
1812
+ @media (max-width: 720px){.x1uno8h5.x1uno8h5:not(#\#):not(#\#):not(#\#){clip-path:inset(50%)}}
1814
1813
  @media (max-width: 640px){.xfsj286.xfsj286:not(#\#):not(#\#):not(#\#){display:block}}
1815
1814
  @media (max-width: 640px){.x10acg2q.x10acg2q:not(#\#):not(#\#):not(#\#){display:grid}}
1816
- @media (max-width: 700px){.x1tkldnv.x1tkldnv:not(#\#):not(#\#):not(#\#){display:grid}}
1817
- @media (max-width: 960px){.x1mreouh.x1mreouh:not(#\#):not(#\#):not(#\#){display:grid}}
1815
+ @media (max-width: 720px){.x6i8fqm.x6i8fqm:not(#\#):not(#\#):not(#\#){display:grid}}
1816
+ @media (max-width: 900px){.x1dtk984.x1dtk984:not(#\#):not(#\#):not(#\#){display:grid}}
1818
1817
  @media (max-width: 640px){.x13v5x0x.x13v5x0x:not(#\#):not(#\#):not(#\#){display:inline-flex}}
1819
- @media (max-width: 860px){.x19y3i14.x19y3i14:not(#\#):not(#\#):not(#\#){display:inline-flex}}
1818
+ @media (max-width: 900px){.x168i3sl.x168i3sl:not(#\#):not(#\#):not(#\#){display:inline-flex}}
1820
1819
  @media (max-width: 640px){.xkaaz9w.xkaaz9w:not(#\#):not(#\#):not(#\#){display:none}}
1821
- @media (max-width: 700px){.x1gz44f.x1gz44f:not(#\#):not(#\#):not(#\#){display:none}}
1822
- @media (max-width: 860px){.xubcuz8.xubcuz8:not(#\#):not(#\#):not(#\#){display:none}}
1820
+ @media (max-width: 720px){.x49x15t.x49x15t:not(#\#):not(#\#):not(#\#){display:none}}
1821
+ @media (max-width: 900px){.xzd29fr.xzd29fr:not(#\#):not(#\#):not(#\#){display:none}}
1823
1822
  @media (max-width: 640px){.x1fdxwjo.x1fdxwjo:not(#\#):not(#\#):not(#\#){display:table-row}}
1824
- @media (max-width: 700px){.xk3fpul.xk3fpul:not(#\#):not(#\#):not(#\#){flex-basis:100%}}
1823
+ @media (max-width: 720px){.x1gue55y.x1gue55y:not(#\#):not(#\#):not(#\#){flex-basis:100%}}
1825
1824
  @media (max-width: 640px){.x17cst73.x17cst73:not(#\#):not(#\#):not(#\#){flex-direction:column}}
1826
- @media (max-width: 700px){.xwlf911.xwlf911:not(#\#):not(#\#):not(#\#){flex-direction:column}}
1827
1825
  @media (max-width: 720px){.x1g3ag0e.x1g3ag0e:not(#\#):not(#\#):not(#\#){flex-direction:column}}
1828
1826
  @media (max-width: 900px){.xxsmavh.xxsmavh:not(#\#):not(#\#):not(#\#){flex-wrap:nowrap}}
1829
1827
  @media (max-width: 640px){.xzbubq.xzbubq:not(#\#):not(#\#):not(#\#){flex-wrap:wrap}}
1830
1828
  @media (max-width: 900px){.xvabu7y.xvabu7y:not(#\#):not(#\#):not(#\#){flex-wrap:wrap}}
1831
1829
  @media (max-width: 640px){.xxgfmko.xxgfmko:not(#\#):not(#\#):not(#\#){font-size:10.5px}}
1832
- @media (max-width: 700px){.xx6x5xb.xx6x5xb:not(#\#):not(#\#):not(#\#){font-size:10px}}
1830
+ @media (max-width: 720px){.x1vq3b3y.x1vq3b3y:not(#\#):not(#\#):not(#\#){font-size:10px}}
1833
1831
  @media (max-width: 640px){.xqjcjlm.xqjcjlm:not(#\#):not(#\#):not(#\#){font-size:12.5px}}
1834
- @media (max-width: 700px){.x1myrtjv.x1myrtjv:not(#\#):not(#\#):not(#\#){font-size:12px}}
1832
+ @media (max-width: 720px){.xo9lxqq.xo9lxqq:not(#\#):not(#\#):not(#\#){font-size:12px}}
1835
1833
  @media (max-width: 640px){.x1yzm3l3.x1yzm3l3:not(#\#):not(#\#):not(#\#){font-size:13px}}
1836
1834
  @media (max-width: 640px){.x1sgj8az.x1sgj8az:not(#\#):not(#\#):not(#\#){font-size:15px}}
1837
1835
  @media (max-width: 640px) and (not (pointer: coarse)){.xhhd8f.xhhd8f:not(#\#):not(#\#):not(#\#){font-size:16px}}
1838
1836
  @media (max-width: 640px){.xf2x79s.xf2x79s:not(#\#):not(#\#):not(#\#){font-size:16px}}
1839
- @media (max-width: 700px){.x1h8vfmw.x1h8vfmw:not(#\#):not(#\#):not(#\#){font-size:16px}}
1837
+ @media (max-width: 720px){.xxae97u.xxae97u:not(#\#):not(#\#):not(#\#){font-size:16px}}
1840
1838
  @media (pointer: coarse){.x1yr6pw4.x1yr6pw4:not(#\#):not(#\#):not(#\#){font-size:16px}}
1841
- @media (max-width: 700px){.x1ma7c9k.x1ma7c9k:not(#\#):not(#\#):not(#\#){font-size:20px}}
1839
+ @media (max-width: 720px){.xn29b5y.xn29b5y:not(#\#):not(#\#):not(#\#){font-size:20px}}
1842
1840
  @media (max-width: 640px){.x1kth5g4.x1kth5g4:not(#\#):not(#\#):not(#\#){font-size:25px}}
1843
1841
  @media (max-width: 900px){.x1mg0i68.x1mg0i68:not(#\#):not(#\#):not(#\#){font-size:27px}}
1844
- @media (max-width: 700px){.x1co8zsc.x1co8zsc:not(#\#):not(#\#):not(#\#){font-size:6.5px}}
1842
+ @media (max-width: 720px){.x1ogbdcq.x1ogbdcq:not(#\#):not(#\#):not(#\#){font-size:6.5px}}
1845
1843
  @media (max-width: 640px){.xbewnxd.xbewnxd:not(#\#):not(#\#):not(#\#){font-size:8.5px}}
1846
1844
  @media (max-width: 640px){.x155ir8z.x155ir8z:not(#\#):not(#\#):not(#\#){font-size:9px}}
1847
1845
  @media (max-width: 640px){.x1i2bv8g.x1i2bv8g:not(#\#):not(#\#):not(#\#){font-size:clamp(27px,8.5vw,36px)}}
1848
1846
  @media (max-width: 640px){.x5z33oq.x5z33oq:not(#\#):not(#\#):not(#\#){grid-template-columns:1fr 1fr}}
1849
- @media (min-width: 420.01px) and (max-width: 700px){.x1f4sfy1.x1f4sfy1:not(#\#):not(#\#):not(#\#){grid-template-columns:auto minmax(0,1fr)}}
1850
- @media (max-width: 700px){.xnijijm.xnijijm:not(#\#):not(#\#):not(#\#){grid-template-columns:minmax(0,1fr) fit-content(40%)}}
1847
+ @media (min-width: 420.01px) and (max-width: 720px){.xxljim5.xxljim5:not(#\#):not(#\#):not(#\#){grid-template-columns:auto minmax(0,1fr)}}
1848
+ @media (max-width: 720px){.x159c1az.x159c1az:not(#\#):not(#\#):not(#\#){grid-template-columns:minmax(0,1fr) fit-content(40%)}}
1851
1849
  @media (max-width: 420px){.x1gc00kl.x1gc00kl:not(#\#):not(#\#):not(#\#){grid-template-columns:minmax(0,1fr)}}
1852
1850
  @media (max-width: 640px){.x4jmfmw.x4jmfmw:not(#\#):not(#\#):not(#\#){grid-template-columns:minmax(0,1fr)}}
1853
- @media (max-width: 700px){.x16p75mz.x16p75mz:not(#\#):not(#\#):not(#\#){grid-template-columns:minmax(0,1fr)}}
1854
- @media (max-width: 860px){.xf4kbi9.xf4kbi9:not(#\#):not(#\#):not(#\#){grid-template-columns:minmax(0,1fr)}}
1851
+ @media (max-width: 720px){.x57k0db.x57k0db:not(#\#):not(#\#):not(#\#){grid-template-columns:minmax(0,1fr)}}
1855
1852
  @media (max-width: 900px){.xirox3h.xirox3h:not(#\#):not(#\#):not(#\#){grid-template-columns:minmax(0,1fr)}}
1856
- @media (max-width: 960px){.x19dxrgd.x19dxrgd:not(#\#):not(#\#):not(#\#){grid-template-columns:minmax(0,1fr)}}
1857
1853
  @media (max-width: 640px){.xou8obv.xou8obv:not(#\#):not(#\#):not(#\#){grid-template-columns:repeat(2,minmax(0,1fr))}}
1858
- @media (max-width: 700px){.xnu5m2z.xnu5m2z:not(#\#):not(#\#):not(#\#){grid-template-columns:repeat(3,minmax(0,1fr))}}
1859
- @media (min-width: 700.01px) and (max-width: 960px){.xqu07bb.xqu07bb:not(#\#):not(#\#):not(#\#){grid-template-columns:repeat(3,minmax(0,1fr))}}
1854
+ @media (max-width: 720px){.x1otivht.x1otivht:not(#\#):not(#\#):not(#\#){grid-template-columns:repeat(3,minmax(0,1fr))}}
1855
+ @media (min-width: 720.01px) and (max-width: 900px){.x11pl5mh.x11pl5mh:not(#\#):not(#\#):not(#\#){grid-template-columns:repeat(3,minmax(0,1fr))}}
1860
1856
  @media (max-width: 640px){.xmn758v.xmn758v:not(#\#):not(#\#):not(#\#){justify-content:flex-start}}
1861
- @media (max-width: 700px){.x88anuq.x88anuq:not(#\#):not(#\#):not(#\#){justify-content:flex-start}}
1857
+ @media (max-width: 720px){.xx5kb6y.xx5kb6y:not(#\#):not(#\#):not(#\#){justify-content:flex-start}}
1862
1858
  @media (max-width: 640px){.x1s9bmkn.x1s9bmkn:not(#\#):not(#\#):not(#\#){justify-content:space-between}}
1863
1859
  @media (max-width: 640px){.x13bdqmg.x13bdqmg:not(#\#):not(#\#):not(#\#){line-height:1.03}}
1864
- @media (max-width: 700px){.x16slewp.x16slewp:not(#\#):not(#\#):not(#\#){line-height:1.4}}
1860
+ @media (max-width: 720px){.x1u6zlfl.x1u6zlfl:not(#\#):not(#\#):not(#\#){line-height:1.4}}
1865
1861
  @media (prefers-reduced-motion: reduce){.x16dpw5u.x16dpw5u:not(#\#):not(#\#):not(#\#){opacity:1}}
1866
1862
  @media (max-width: 640px){.x1iqbltf.x1iqbltf:not(#\#):not(#\#):not(#\#){order:3}}
1867
1863
  @media (max-width: 640px){.x3y8eqj.x3y8eqj:not(#\#):not(#\#):not(#\#){overscroll-behavior-inline:auto}}
1868
1864
  @media (max-width: 900px){.xbfx0k3.xbfx0k3:not(#\#):not(#\#):not(#\#){overscroll-behavior-inline:contain}}
1869
1865
  @media (max-width: 640px){.x1s77nak.x1s77nak:not(#\#):not(#\#):not(#\#){padding-inline-end:44px}}
1870
1866
  @media (max-width: 640px){.x1nck5sx.x1nck5sx:not(#\#):not(#\#):not(#\#){position:absolute}}
1871
- @media (max-width: 700px){.x18on85o.x18on85o:not(#\#):not(#\#):not(#\#){position:absolute}}
1867
+ @media (max-width: 720px){.xget08e.xget08e:not(#\#):not(#\#):not(#\#){position:absolute}}
1872
1868
  @media (min-width: 641px){.x14c6fbn.x14c6fbn:not(#\#):not(#\#):not(#\#){position:static}}
1873
1869
  @media (max-width: 640px){.x1668a04.x1668a04:not(#\#):not(#\#):not(#\#){scrollbar-width:auto}}
1874
1870
  @media (max-width: 900px){.xsbd0l1.xsbd0l1:not(#\#):not(#\#):not(#\#){scrollbar-width:none}}
1875
1871
  @media (prefers-reduced-motion: reduce){.x1nwy2jz.x1nwy2jz:not(#\#):not(#\#):not(#\#){stroke-dashoffset:0}}
1876
1872
  @media (max-width: 640px){.x1mji7za.x1mji7za:not(#\#):not(#\#):not(#\#){transform:none}}
1877
- @media (max-width: 700px){.x1exahbn.x1exahbn:not(#\#):not(#\#):not(#\#){transform:translateX(-15%)}}
1878
- @media (max-width: 700px){.xejwcb0.xejwcb0:not(#\#):not(#\#):not(#\#){transform:translateX(-18%)}}
1873
+ @media (max-width: 720px){.x1d7nh58.x1d7nh58:not(#\#):not(#\#):not(#\#){transform:translateX(-15%)}}
1874
+ @media (max-width: 720px){.x22pbl2.x22pbl2:not(#\#):not(#\#):not(#\#){transform:translateX(-18%)}}
1879
1875
  @media (prefers-reduced-motion: reduce){.x12w9bfk.x12w9bfk:not(#\#):not(#\#):not(#\#){transition-duration:0s}}
1880
1876
  @media (prefers-reduced-motion: reduce){.x4wkmsb.x4wkmsb:not(#\#):not(#\#):not(#\#){transition-property:none}}
1881
1877
  @media (max-width: 640px){.x1i1s3md.x1i1s3md:not(#\#):not(#\#):not(#\#){white-space:normal}}
@@ -1897,15 +1893,14 @@
1897
1893
  @container operator (max-width: 640px){.x1uk5d4i.x1uk5d4i:not(#\#):not(#\#):not(#\#){align-self:start}}
1898
1894
  @container operator (max-width: 640px){.xplwmzv.xplwmzv:not(#\#):not(#\#):not(#\#){display:block}}
1899
1895
  @container operator (max-width: 640px){.x1w305zg.x1w305zg:not(#\#):not(#\#):not(#\#){display:grid}}
1900
- @container operator (max-width: 860px){.xsyu1bm.xsyu1bm:not(#\#):not(#\#):not(#\#){display:inline-flex}}
1901
- @container operator (max-width: 860px){.x1lvm2b2.x1lvm2b2:not(#\#):not(#\#):not(#\#){display:none}}
1896
+ @container operator (max-width: 900px){.x1yu2ybr.x1yu2ybr:not(#\#):not(#\#):not(#\#){display:inline-flex}}
1897
+ @container operator (max-width: 900px){.xsu5lmx.xsu5lmx:not(#\#):not(#\#):not(#\#){display:none}}
1902
1898
  @container operator (max-width: 640px){.x1lu4wmf.x1lu4wmf:not(#\#):not(#\#):not(#\#){display:table-row}}
1903
1899
  @container operator (max-width: 640px){.xlrawni.xlrawni:not(#\#):not(#\#):not(#\#){flex-direction:column}}
1904
1900
  @container operator (max-width: 720px){.xlw4hyx.xlw4hyx:not(#\#):not(#\#):not(#\#){flex-direction:column}}
1905
1901
  @container operator-cell (max-width: 420px){.xyil5ud.xyil5ud:not(#\#):not(#\#):not(#\#){flex-direction:column}}
1906
1902
  @container operator (max-width: 640px){.x1i03alp.x1i03alp:not(#\#):not(#\#):not(#\#){flex-wrap:wrap}}
1907
1903
  @container operator (max-width: 640px){.x1c2rghm.x1c2rghm:not(#\#):not(#\#):not(#\#){grid-template-columns:minmax(0,1fr)}}
1908
- @container operator (max-width: 860px){.x1ids1fr.x1ids1fr:not(#\#):not(#\#):not(#\#){grid-template-columns:minmax(0,1fr)}}
1909
1904
  @container operator (max-width: 900px){.xtpkkxw.xtpkkxw:not(#\#):not(#\#):not(#\#){grid-template-columns:minmax(0,1fr)}}
1910
1905
  @container operator-aside (min-width: 0px){.x1ram2ln.x1ram2ln:not(#\#):not(#\#):not(#\#){grid-template-columns:minmax(0,1fr)}}
1911
1906
  @container operator-matrix (max-width: 480px){.x16lgxdz.x16lgxdz:not(#\#):not(#\#):not(#\#){grid-template-columns:minmax(0,1fr)}}
@@ -2122,11 +2117,11 @@
2122
2117
  @media (max-width: 640px){.x1lclwwd.x1lclwwd:not(#\#):not(#\#):not(#\#):not(#\#){border-bottom-left-radius:0}}
2123
2118
  @media (max-width: 640px){.xgrp7ii.xgrp7ii:not(#\#):not(#\#):not(#\#):not(#\#){border-bottom-right-radius:0}}
2124
2119
  @media (max-width: 640px){.x171z6dy.x171z6dy:not(#\#):not(#\#):not(#\#):not(#\#){border-left-width:0}}
2125
- @media (max-width: 700px){.xpp82rp.xpp82rp:not(#\#):not(#\#):not(#\#):not(#\#){border-left-width:0}}
2120
+ @media (max-width: 720px){.x1n97idq.x1n97idq:not(#\#):not(#\#):not(#\#):not(#\#){border-left-width:0}}
2126
2121
  @media (max-width: 640px){.x13ymtvt.x13ymtvt:not(#\#):not(#\#):not(#\#):not(#\#){border-right-width:0}}
2127
- @media (max-width: 700px){.x1240y2e.x1240y2e:not(#\#):not(#\#):not(#\#):not(#\#){border-top-width:1px}}
2122
+ @media (max-width: 720px){.xnc2tav.xnc2tav:not(#\#):not(#\#):not(#\#):not(#\#){border-top-width:1px}}
2128
2123
  @media (max-width: 640px){.x1imafyg.x1imafyg:not(#\#):not(#\#):not(#\#):not(#\#){bottom:0}}
2129
- @media (max-width: 700px){.x16psae1.x16psae1:not(#\#):not(#\#):not(#\#):not(#\#){height:1px}}
2124
+ @media (max-width: 720px){.xwj557x.xwj557x:not(#\#):not(#\#):not(#\#):not(#\#){height:1px}}
2130
2125
  @media (max-width: 640px){.x1iwbelc.x1iwbelc:not(#\#):not(#\#):not(#\#):not(#\#){height:26px}}
2131
2126
  @media (max-width: 640px){.x1fkvin3.x1fkvin3:not(#\#):not(#\#):not(#\#):not(#\#){height:44px}}
2132
2127
  @media (max-width: 420px){.x1li4m8q.x1li4m8q:not(#\#):not(#\#):not(#\#):not(#\#){height:54px}}
@@ -2134,21 +2129,21 @@
2134
2129
  @media (max-width: 640px){.x172uiah.x172uiah:not(#\#):not(#\#):not(#\#):not(#\#){left:0}}
2135
2130
  @media (max-width: 640px){.xzzd6q.xzzd6q:not(#\#):not(#\#):not(#\#):not(#\#){margin-bottom:10px}}
2136
2131
  @media (max-width: 640px){.x703316.x703316:not(#\#):not(#\#):not(#\#):not(#\#){margin-left:0}}
2137
- @media (max-width: 700px){.x1qcvvgs.x1qcvvgs:not(#\#):not(#\#):not(#\#):not(#\#){margin-left:0}}
2132
+ @media (max-width: 720px){.xzbafmd.xzbafmd:not(#\#):not(#\#):not(#\#):not(#\#){margin-left:0}}
2138
2133
  @media (max-width: 640px){.xtwf3lw.xtwf3lw:not(#\#):not(#\#):not(#\#):not(#\#){margin-right:18px}}
2139
2134
  @media (max-width: 640px){.xxnk3sr.xxnk3sr:not(#\#):not(#\#):not(#\#):not(#\#){max-height:min(88dvh,760px)}}
2140
2135
  @media (max-width: 720px){.xjjsibu.xjjsibu:not(#\#):not(#\#):not(#\#):not(#\#){max-width:100%}}
2141
2136
  @media (max-width: 640px){.xb4vn5r.xb4vn5r:not(#\#):not(#\#):not(#\#):not(#\#){max-width:145px}}
2142
2137
  @media (max-width: 640px){.xyv2k2f.xyv2k2f:not(#\#):not(#\#):not(#\#):not(#\#){max-width:50ch}}
2143
2138
  @media (max-width: 640px){.xeyi6kz.xeyi6kz:not(#\#):not(#\#):not(#\#):not(#\#){max-width:none}}
2144
- @media (max-width: 700px){.x1mtocob.x1mtocob:not(#\#):not(#\#):not(#\#):not(#\#){max-width:none}}
2145
- @media (max-width: 700px){.x17jk13s.x17jk13s:not(#\#):not(#\#):not(#\#):not(#\#){min-height:0}}
2146
- @media (max-width: 700px){.x1sl8kco.x1sl8kco:not(#\#):not(#\#):not(#\#):not(#\#){min-height:260px}}
2147
- @media (max-width: 700px){.xk28gw9.xk28gw9:not(#\#):not(#\#):not(#\#):not(#\#){min-height:270px}}
2148
- @media (max-width: 700px){.xli3pgb.xli3pgb:not(#\#):not(#\#):not(#\#):not(#\#){min-height:320px}}
2149
- @media (max-width: 700px){.xn0l7p9.xn0l7p9:not(#\#):not(#\#):not(#\#):not(#\#){min-height:36px}}
2139
+ @media (max-width: 720px){.x15a9oh8.x15a9oh8:not(#\#):not(#\#):not(#\#):not(#\#){max-width:none}}
2140
+ @media (max-width: 720px){.xxt49dy.xxt49dy:not(#\#):not(#\#):not(#\#):not(#\#){min-height:0}}
2141
+ @media (max-width: 720px){.x1en03wu.x1en03wu:not(#\#):not(#\#):not(#\#):not(#\#){min-height:260px}}
2142
+ @media (max-width: 720px){.xql4057.xql4057:not(#\#):not(#\#):not(#\#):not(#\#){min-height:270px}}
2143
+ @media (max-width: 720px){.xa6uzjl.xa6uzjl:not(#\#):not(#\#):not(#\#):not(#\#){min-height:320px}}
2144
+ @media (max-width: 720px){.xsz8nvi.xsz8nvi:not(#\#):not(#\#):not(#\#):not(#\#){min-height:36px}}
2150
2145
  @media (max-width: 640px){.x1c4ya5t.x1c4ya5t:not(#\#):not(#\#):not(#\#):not(#\#){min-height:44px}}
2151
- @media (max-width: 700px){.xdudkpw.xdudkpw:not(#\#):not(#\#):not(#\#):not(#\#){min-height:44px}}
2146
+ @media (max-width: 720px){.x1xb6689.x1xb6689:not(#\#):not(#\#):not(#\#):not(#\#){min-height:44px}}
2152
2147
  @media (max-width: 640px){.xn3zsfb.xn3zsfb:not(#\#):not(#\#):not(#\#):not(#\#){min-height:auto}}
2153
2148
  @media (max-width: 640px){.xdnb5l2.xdnb5l2:not(#\#):not(#\#):not(#\#):not(#\#){min-height:calc(58px + env(safe-area-inset-top))}}
2154
2149
  @media (max-width: 640px){.x126n28w.x126n28w:not(#\#):not(#\#):not(#\#):not(#\#){min-height:var(--console-touch)}}
@@ -2160,19 +2155,19 @@
2160
2155
  @media (max-width: 640px){.xu4eg61.xu4eg61:not(#\#):not(#\#):not(#\#):not(#\#){padding-bottom:10px}}
2161
2156
  @media (max-width: 640px){.x1ckun3f.x1ckun3f:not(#\#):not(#\#):not(#\#):not(#\#){padding-bottom:8px}}
2162
2157
  @media (max-width: 640px){.x1lak8av.x1lak8av:not(#\#):not(#\#):not(#\#):not(#\#){padding-bottom:calc(20px + env(safe-area-inset-bottom))}}
2163
- @media (max-width: 700px){.x1yyyhw4.x1yyyhw4:not(#\#):not(#\#):not(#\#):not(#\#){padding-left:11px}}
2158
+ @media (max-width: 720px){.xj0nzd3.xj0nzd3:not(#\#):not(#\#):not(#\#):not(#\#){padding-left:11px}}
2164
2159
  @media (max-width: 640px){.x1tkp2ng.x1tkp2ng:not(#\#):not(#\#):not(#\#):not(#\#){padding-left:14px}}
2165
2160
  @media (max-width: 640px){.x1316j.x1316j:not(#\#):not(#\#):not(#\#):not(#\#){padding-left:24px}}
2166
2161
  @media (max-width: 640px){.x33yvzk.x33yvzk:not(#\#):not(#\#):not(#\#):not(#\#){padding-right:0}}
2167
- @media (max-width: 700px){.xbmoodo.xbmoodo:not(#\#):not(#\#):not(#\#):not(#\#){padding-right:11px}}
2162
+ @media (max-width: 720px){.x1jt3kna.x1jt3kna:not(#\#):not(#\#):not(#\#):not(#\#){padding-right:11px}}
2168
2163
  @media (max-width: 640px){.x2egep.x2egep:not(#\#):not(#\#):not(#\#):not(#\#){padding-top:10px}}
2169
2164
  @media (max-width: 640px){.xugsc6q.xugsc6q:not(#\#):not(#\#):not(#\#):not(#\#){padding-top:var(--operator-sections-padding-top,24px)}}
2170
2165
  @media (max-width: 640px){.xz59zry.xz59zry:not(#\#):not(#\#):not(#\#):not(#\#){top:4px}}
2171
2166
  @media (max-width: 640px){.xl7365u.xl7365u:not(#\#):not(#\#):not(#\#):not(#\#){top:auto}}
2172
2167
  @media (max-width: 640px){.x1dbdljh.x1dbdljh:not(#\#):not(#\#):not(#\#):not(#\#){width:100%}}
2173
- @media (max-width: 700px){.xbpesgu.xbpesgu:not(#\#):not(#\#):not(#\#):not(#\#){width:140%}}
2174
- @media (max-width: 700px){.x1fo1atk.x1fo1atk:not(#\#):not(#\#):not(#\#):not(#\#){width:155%}}
2175
- @media (max-width: 700px){.xseebtw.xseebtw:not(#\#):not(#\#):not(#\#):not(#\#){width:1px}}
2168
+ @media (max-width: 720px){.x1w3b8m9.x1w3b8m9:not(#\#):not(#\#):not(#\#):not(#\#){width:140%}}
2169
+ @media (max-width: 720px){.xn7okfr.xn7okfr:not(#\#):not(#\#):not(#\#):not(#\#){width:155%}}
2170
+ @media (max-width: 720px){.x1dtpofi.x1dtpofi:not(#\#):not(#\#):not(#\#):not(#\#){width:1px}}
2176
2171
  @media (max-width: 640px){.xjjy2jw.xjjy2jw:not(#\#):not(#\#):not(#\#):not(#\#){width:26px}}
2177
2172
  @media (max-width: 640px){.xzy26m8.xzy26m8:not(#\#):not(#\#):not(#\#):not(#\#){width:44px}}
2178
2173
  @media (max-width: 420px){.xbfdvwu.xbfdvwu:not(#\#):not(#\#):not(#\#):not(#\#){width:54px}}
@@ -2183,7 +2178,7 @@
2183
2178
  @media (min-width: 641px){.x10spfxb.x10spfxb:is([data-operator-action-popover] *):not(#\#):not(#\#):not(#\#):not(#\#){right:0}}
2184
2179
  @media (min-width: 641px){.x126usnh.x126usnh:is([data-operator-action-popover] *):not(#\#):not(#\#):not(#\#):not(#\#){top:calc(100% + 10px)}}
2185
2180
  @media (min-width: 641px){.xq4oo3n.xq4oo3n:is([data-operator-action-popover] *):not(#\#):not(#\#):not(#\#):not(#\#){width:min(720px,calc(100vw - 80px))}}
2186
- @media (max-width: 700px){.xkcstdt.xkcstdt:first-child:not(#\#):not(#\#):not(#\#):not(#\#){border-top-width:0}}
2181
+ @media (max-width: 720px){.x6gzigo.x6gzigo:first-child:not(#\#):not(#\#):not(#\#):not(#\#){border-top-width:0}}
2187
2182
  @container operator (max-width: 640px){.xxdgi2x.xxdgi2x:not(#\#):not(#\#):not(#\#):not(#\#){left:0}}
2188
2183
  @container operator (max-width: 640px){.x1m2ds42.x1m2ds42:not(#\#):not(#\#):not(#\#):not(#\#){margin-left:0}}
2189
2184
  @container operator (max-width: 720px){.x1uikkot.x1uikkot:not(#\#):not(#\#):not(#\#):not(#\#){max-width:100%}}
@@ -1,30 +1,30 @@
1
1
  {
2
2
  "version": 2,
3
3
  "entrypoints": {
4
- "script": "studio-app-zsc289bw.js",
5
- "stylesheet": "studio-app-1d8a85ef60f4d93da4506c0d76de4cc4bfbfcb91a83e2453da2f013b67988223.css"
4
+ "script": "studio-app-damvvg1e.js",
5
+ "stylesheet": "studio-app-f6c5e0f4d0ed015cffcba309726c4569636ead327c9feace29aee7c9f65fb94f.css"
6
6
  },
7
7
  "assets": {
8
- "studio-app-1d8a85ef60f4d93da4506c0d76de4cc4bfbfcb91a83e2453da2f013b67988223.css": "studio-app-1d8a85ef60f4d93da4506c0d76de4cc4bfbfcb91a83e2453da2f013b67988223.css",
9
- "studio-app-zsc289bw.js": "studio-app-zsc289bw.js",
10
- "studio-app-zsc289bw.js.map": "studio-app-zsc289bw.js.map",
11
- "studio-chunks/account-view-98yg3v5p.js": "studio-chunks/account-view-98yg3v5p.js",
12
- "studio-chunks/account-view-98yg3v5p.js.map": "studio-chunks/account-view-98yg3v5p.js.map",
8
+ "studio-app-damvvg1e.js": "studio-app-damvvg1e.js",
9
+ "studio-app-damvvg1e.js.map": "studio-app-damvvg1e.js.map",
10
+ "studio-app-f6c5e0f4d0ed015cffcba309726c4569636ead327c9feace29aee7c9f65fb94f.css": "studio-app-f6c5e0f4d0ed015cffcba309726c4569636ead327c9feace29aee7c9f65fb94f.css",
11
+ "studio-chunks/account-view-8a3p9e44.js": "studio-chunks/account-view-8a3p9e44.js",
12
+ "studio-chunks/account-view-8a3p9e44.js.map": "studio-chunks/account-view-8a3p9e44.js.map",
13
13
  "studio-chunks/highlighted-body-OFNGDK62-ag1bvcvz.js": "studio-chunks/highlighted-body-OFNGDK62-ag1bvcvz.js",
14
14
  "studio-chunks/highlighted-body-OFNGDK62-ag1bvcvz.js.map": "studio-chunks/highlighted-body-OFNGDK62-ag1bvcvz.js.map",
15
- "studio-chunks/main-03546wcw.js": "studio-chunks/main-03546wcw.js",
16
- "studio-chunks/main-03546wcw.js.map": "studio-chunks/main-03546wcw.js.map",
17
15
  "studio-chunks/main-5vgqdq6h.js": "studio-chunks/main-5vgqdq6h.js",
18
16
  "studio-chunks/main-5vgqdq6h.js.map": "studio-chunks/main-5vgqdq6h.js.map",
19
- "studio-chunks/main-9awxqy78.js": "studio-chunks/main-9awxqy78.js",
20
- "studio-chunks/main-9awxqy78.js.map": "studio-chunks/main-9awxqy78.js.map",
17
+ "studio-chunks/main-gr3a56s1.js": "studio-chunks/main-gr3a56s1.js",
18
+ "studio-chunks/main-gr3a56s1.js.map": "studio-chunks/main-gr3a56s1.js.map",
21
19
  "studio-chunks/main-h3ka07k3.js": "studio-chunks/main-h3ka07k3.js",
22
20
  "studio-chunks/main-h3ka07k3.js.map": "studio-chunks/main-h3ka07k3.js.map",
21
+ "studio-chunks/main-rgr0k2sx.js": "studio-chunks/main-rgr0k2sx.js",
22
+ "studio-chunks/main-rgr0k2sx.js.map": "studio-chunks/main-rgr0k2sx.js.map",
23
23
  "studio-chunks/main-xd94t9ag.js": "studio-chunks/main-xd94t9ag.js",
24
24
  "studio-chunks/main-xd94t9ag.js.map": "studio-chunks/main-xd94t9ag.js.map",
25
25
  "studio-chunks/mermaid-GHXKKRXX-wa9tt0zt.js": "studio-chunks/mermaid-GHXKKRXX-wa9tt0zt.js",
26
26
  "studio-chunks/mermaid-GHXKKRXX-wa9tt0zt.js.map": "studio-chunks/mermaid-GHXKKRXX-wa9tt0zt.js.map",
27
- "studio-chunks/studio-chat-workspace-r77xdrgw.js": "studio-chunks/studio-chat-workspace-r77xdrgw.js",
28
- "studio-chunks/studio-chat-workspace-r77xdrgw.js.map": "studio-chunks/studio-chat-workspace-r77xdrgw.js.map"
27
+ "studio-chunks/studio-chat-workspace-whsz4yd9.js": "studio-chunks/studio-chat-workspace-whsz4yd9.js",
28
+ "studio-chunks/studio-chat-workspace-whsz4yd9.js.map": "studio-chunks/studio-chat-workspace-whsz4yd9.js.map"
29
29
  }
30
30
  }