@chillicream/nitro-embedded 32.0.2 → 33.0.0-insider.2

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.
@@ -1,4 +1,4 @@
1
- import{b as c,bN as e,cL as ue,cK as Se,s as R,I as S,c0 as a,c2 as m,dL as ke,b1 as we,a$ as De,be as ve,aV as xe,ba as Ne,bb as _e,aW as Ee,aX as ye,b3 as He,aY as Me,dc as P}from"./main.cbb9dd2a.ChRcIDX9.js";import{C as qe,H as ee,u as Oe,a as Pe,b as Ae,c as A,d as $e,e as ze,f as k,L as Be,g as Ge,V as Ue,N as Fe,h as he,i as E,j as y,k as v,l as U,T as F,m as H,n as M,o as Ke,p as We,S as je,q as Ve,r as Ye,s as Je,t as g,F as te,v as pe,w as Qe,I as Xe,x as N,W as Ze,y as et,z as tt,A as nt,B as st,D as it,M as ot,E as rt,G as ct,J as at,K as lt,O as j,P as w,Q as $,R as ne,U as z,X as C,Y as V,Z,_ as K,$ as _,a0 as fe,a1 as se,a2 as T,a3 as ie,a4 as dt,a5 as ut,a6 as ht,a7 as pt,a8 as ft,a9 as It,aa as mt,ab as gt,ac as Ct,ad as bt,ae as Lt,af as Tt,ag as Rt,ah as St,ai as kt,aj as wt,ak as Dt,al as vt,am as xt,an as Nt,ao as _t,ap as Et}from"./context-providers.cbb9dd2a.cIEPV5um.js";import"./monaco.cbb9dd2a.lpARKB0G.js";const x=c.forwardRef((t,n)=>e(ue,{ref:n,icon:"go-to-file",...t}));x.displayName="GoToItemIcon";const oe=c.forwardRef((t,n)=>e(ue,{ref:n,icon:"play-circle",fill:Se.states.info,...t}));oe.displayName="RunningIcon";const f=R(qe)(({theme:t})=>S`
1
+ import{b as c,bN as e,cL as ue,cK as Se,s as R,I as S,c0 as a,c2 as m,dL as ke,b1 as we,a$ as De,be as ve,aV as xe,ba as Ne,bb as _e,aW as Ee,aX as ye,b3 as He,aY as Me,dc as P}from"./main.cbb9dd2a.D_1FHyp6.js";import{C as qe,H as ee,u as Oe,a as Pe,b as Ae,c as A,d as $e,e as ze,f as k,L as Be,g as Ge,V as Ue,N as Fe,h as he,i as E,j as y,k as v,l as U,T as F,m as H,n as M,o as Ke,p as We,S as je,q as Ve,r as Ye,s as Je,t as g,F as te,v as pe,w as Qe,I as Xe,x as N,W as Ze,y as et,z as tt,A as nt,B as st,D as it,M as ot,E as rt,G as ct,J as at,K as lt,O as j,P as w,Q as $,R as ne,U as z,X as C,Y as V,Z,_ as K,$ as _,a0 as fe,a1 as se,a2 as T,a3 as ie,a4 as dt,a5 as ut,a6 as ht,a7 as pt,a8 as ft,a9 as It,aa as mt,ab as gt,ac as Ct,ad as bt,ae as Lt,af as Tt,ag as Rt,ah as St,ai as kt,aj as wt,ak as Dt,al as vt,am as xt,an as Nt,ao as _t,ap as Et}from"./context-providers.cbb9dd2a.KPYm6HBX.js";import"./monaco.cbb9dd2a.lpARKB0G.js";const x=c.forwardRef((t,n)=>e(ue,{ref:n,icon:"go-to-file",...t}));x.displayName="GoToItemIcon";const oe=c.forwardRef((t,n)=>e(ue,{ref:n,icon:"play-circle",fill:Se.states.info,...t}));oe.displayName="RunningIcon";const f=R(qe)(({theme:t})=>S`
2
2
  width: ${t.spacing(50)};
3
3
  text-transform: uppercase;
4
4
  `),W=R("div")(({theme:t})=>S`
@@ -1,4 +1,4 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./context-providers.cbb9dd2a.cIEPV5um.js","./monaco.cbb9dd2a.lpARKB0G.js","./monaco.cbb9dd2a.1cPGLvp7.css","./context-providers.cbb9dd2a.3HkX5s82.css"])))=>i.map(i=>d[i]);
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./context-providers.cbb9dd2a.KPYm6HBX.js","./monaco.cbb9dd2a.lpARKB0G.js","./monaco.cbb9dd2a.1cPGLvp7.css","./context-providers.cbb9dd2a.3HkX5s82.css"])))=>i.map(i=>d[i]);
2
2
  import{p as process$1,B as Buffer$1,U as Uri,l as languages,a as Buffer,e as editor,_ as __vitePreload}from"./monaco.cbb9dd2a.lpARKB0G.js";function _mergeNamespaces(n,t){for(var a=0;a<t.length;a++){const o=t[a];if(typeof o!="string"&&!Array.isArray(o)){for(const s in o)if(s!=="default"&&!(s in n)){const l=Object.getOwnPropertyDescriptor(o,s);l&&Object.defineProperty(n,s,l.get?l:{enumerable:!0,get:()=>o[s]})}}}return Object.freeze(Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))o(s);new MutationObserver(s=>{for(const l of s)if(l.type==="childList")for(const u of l.addedNodes)u.tagName==="LINK"&&u.rel==="modulepreload"&&o(u)}).observe(document,{childList:!0,subtree:!0});function a(s){const l={};return s.integrity&&(l.integrity=s.integrity),s.referrerPolicy&&(l.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?l.credentials="include":s.crossOrigin==="anonymous"?l.credentials="omit":l.credentials="same-origin",l}function o(s){if(s.ep)return;s.ep=!0;const l=a(s);fetch(s.href,l)}})();var commonjsGlobal=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function getDefaultExportFromCjs(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}function getAugmentedNamespace(n){if(Object.prototype.hasOwnProperty.call(n,"__esModule"))return n;var t=n.default;if(typeof t=="function"){var a=function o(){var s=!1;try{s=this instanceof o}catch{}return s?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};a.prototype=t.prototype}else a={};return Object.defineProperty(a,"__esModule",{value:!0}),Object.keys(n).forEach(function(o){var s=Object.getOwnPropertyDescriptor(n,o);Object.defineProperty(a,o,s.get?s:{enumerable:!0,get:function(){return n[o]}})}),a}var jsxRuntime={exports:{}},reactJsxRuntime_production={};/**
3
3
  * @license React
4
4
  * react-jsx-runtime.production.js
@@ -14,7 +14,7 @@ import{p as process$1,B as Buffer$1,U as Uri,l as languages,a as Buffer,e as edi
14
14
  *
15
15
  * This source code is licensed under the MIT license found in the
16
16
  * LICENSE file in the root directory of this source tree.
17
- */var hasRequiredReactIs_production_min;function requireReactIs_production_min(){if(hasRequiredReactIs_production_min)return reactIs_production_min;hasRequiredReactIs_production_min=1;var n=typeof Symbol=="function"&&Symbol.for,t=n?Symbol.for("react.element"):60103,a=n?Symbol.for("react.portal"):60106,o=n?Symbol.for("react.fragment"):60107,s=n?Symbol.for("react.strict_mode"):60108,l=n?Symbol.for("react.profiler"):60114,u=n?Symbol.for("react.provider"):60109,c=n?Symbol.for("react.context"):60110,f=n?Symbol.for("react.async_mode"):60111,h=n?Symbol.for("react.concurrent_mode"):60111,d=n?Symbol.for("react.forward_ref"):60112,p=n?Symbol.for("react.suspense"):60113,v=n?Symbol.for("react.suspense_list"):60120,g=n?Symbol.for("react.memo"):60115,b=n?Symbol.for("react.lazy"):60116,x=n?Symbol.for("react.block"):60121,w=n?Symbol.for("react.fundamental"):60117,S=n?Symbol.for("react.responder"):60118,C=n?Symbol.for("react.scope"):60119;function E($){if(typeof $=="object"&&$!==null){var P=$.$$typeof;switch(P){case t:switch($=$.type,$){case f:case h:case o:case l:case s:case p:return $;default:switch($=$&&$.$$typeof,$){case c:case d:case b:case g:case u:return $;default:return P}}case a:return P}}}function T($){return E($)===h}return reactIs_production_min.AsyncMode=f,reactIs_production_min.ConcurrentMode=h,reactIs_production_min.ContextConsumer=c,reactIs_production_min.ContextProvider=u,reactIs_production_min.Element=t,reactIs_production_min.ForwardRef=d,reactIs_production_min.Fragment=o,reactIs_production_min.Lazy=b,reactIs_production_min.Memo=g,reactIs_production_min.Portal=a,reactIs_production_min.Profiler=l,reactIs_production_min.StrictMode=s,reactIs_production_min.Suspense=p,reactIs_production_min.isAsyncMode=function($){return T($)||E($)===f},reactIs_production_min.isConcurrentMode=T,reactIs_production_min.isContextConsumer=function($){return E($)===c},reactIs_production_min.isContextProvider=function($){return E($)===u},reactIs_production_min.isElement=function($){return typeof $=="object"&&$!==null&&$.$$typeof===t},reactIs_production_min.isForwardRef=function($){return E($)===d},reactIs_production_min.isFragment=function($){return E($)===o},reactIs_production_min.isLazy=function($){return E($)===b},reactIs_production_min.isMemo=function($){return E($)===g},reactIs_production_min.isPortal=function($){return E($)===a},reactIs_production_min.isProfiler=function($){return E($)===l},reactIs_production_min.isStrictMode=function($){return E($)===s},reactIs_production_min.isSuspense=function($){return E($)===p},reactIs_production_min.isValidElementType=function($){return typeof $=="string"||typeof $=="function"||$===o||$===h||$===l||$===s||$===p||$===v||typeof $=="object"&&$!==null&&($.$$typeof===b||$.$$typeof===g||$.$$typeof===u||$.$$typeof===c||$.$$typeof===d||$.$$typeof===w||$.$$typeof===S||$.$$typeof===C||$.$$typeof===x)},reactIs_production_min.typeOf=E,reactIs_production_min}var hasRequiredReactIs$1;function requireReactIs$1(){return hasRequiredReactIs$1||(hasRequiredReactIs$1=1,reactIs$1.exports=requireReactIs_production_min()),reactIs$1.exports}var hoistNonReactStatics_cjs,hasRequiredHoistNonReactStatics_cjs;function requireHoistNonReactStatics_cjs(){if(hasRequiredHoistNonReactStatics_cjs)return hoistNonReactStatics_cjs;hasRequiredHoistNonReactStatics_cjs=1;var n=requireReactIs$1(),t={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},a={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},o={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},l={};l[n.ForwardRef]=o,l[n.Memo]=s;function u(b){return n.isMemo(b)?s:l[b.$$typeof]||t}var c=Object.defineProperty,f=Object.getOwnPropertyNames,h=Object.getOwnPropertySymbols,d=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,v=Object.prototype;function g(b,x,w){if(typeof x!="string"){if(v){var S=p(x);S&&S!==v&&g(b,S,w)}var C=f(x);h&&(C=C.concat(h(x)));for(var E=u(b),T=u(x),$=0;$<C.length;++$){var P=C[$];if(!a[P]&&!(w&&w[P])&&!(T&&T[P])&&!(E&&E[P])){var F=d(x,P);try{c(b,P,F)}catch{}}}}return b}return hoistNonReactStatics_cjs=g,hoistNonReactStatics_cjs}requireHoistNonReactStatics_cjs();var isBrowser=!0;function getRegisteredStyles(n,t,a){var o="";return a.split(" ").forEach(function(s){n[s]!==void 0?t.push(n[s]+";"):s&&(o+=s+" ")}),o}var registerStyles=function(t,a,o){var s=t.key+"-"+a.name;(o===!1||isBrowser===!1)&&t.registered[s]===void 0&&(t.registered[s]=a.styles)},insertStyles=function(t,a,o){registerStyles(t,a,o);var s=t.key+"-"+a.name;if(t.inserted[a.name]===void 0){var l=a;do t.insert(a===l?"."+s:"",l,t.sheet,!0),l=l.next;while(l!==void 0)}};function murmur2(n){for(var t=0,a,o=0,s=n.length;s>=4;++o,s-=4)a=n.charCodeAt(o)&255|(n.charCodeAt(++o)&255)<<8|(n.charCodeAt(++o)&255)<<16|(n.charCodeAt(++o)&255)<<24,a=(a&65535)*1540483477+((a>>>16)*59797<<16),a^=a>>>24,t=(a&65535)*1540483477+((a>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(s){case 3:t^=(n.charCodeAt(o+2)&255)<<16;case 2:t^=(n.charCodeAt(o+1)&255)<<8;case 1:t^=n.charCodeAt(o)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var unitlessKeys={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},hyphenateRegex=/[A-Z]|^ms/g,animationRegex=/_EMO_([^_]+?)_([^]*?)_EMO_/g,isCustomProperty=function(t){return t.charCodeAt(1)===45},isProcessableValue=function(t){return t!=null&&typeof t!="boolean"},processStyleName=memoize$1(function(n){return isCustomProperty(n)?n:n.replace(hyphenateRegex,"-$&").toLowerCase()}),processStyleValue=function(t,a){switch(t){case"animation":case"animationName":if(typeof a=="string")return a.replace(animationRegex,function(o,s,l){return cursor={name:s,styles:l,next:cursor},s})}return unitlessKeys[t]!==1&&!isCustomProperty(t)&&typeof a=="number"&&a!==0?a+"px":a};function handleInterpolation(n,t,a){if(a==null)return"";var o=a;if(o.__emotion_styles!==void 0)return o;switch(typeof a){case"boolean":return"";case"object":{var s=a;if(s.anim===1)return cursor={name:s.name,styles:s.styles,next:cursor},s.name;var l=a;if(l.styles!==void 0){var u=l.next;if(u!==void 0)for(;u!==void 0;)cursor={name:u.name,styles:u.styles,next:cursor},u=u.next;var c=l.styles+";";return c}return createStringFromObject(n,t,a)}case"function":{if(n!==void 0){var f=cursor,h=a(n);return cursor=f,handleInterpolation(n,t,h)}break}}var d=a;if(t==null)return d;var p=t[d];return p!==void 0?p:d}function createStringFromObject(n,t,a){var o="";if(Array.isArray(a))for(var s=0;s<a.length;s++)o+=handleInterpolation(n,t,a[s])+";";else for(var l in a){var u=a[l];if(typeof u!="object"){var c=u;t!=null&&t[c]!==void 0?o+=l+"{"+t[c]+"}":isProcessableValue(c)&&(o+=processStyleName(l)+":"+processStyleValue(l,c)+";")}else if(Array.isArray(u)&&typeof u[0]=="string"&&(t==null||t[u[0]]===void 0))for(var f=0;f<u.length;f++)isProcessableValue(u[f])&&(o+=processStyleName(l)+":"+processStyleValue(l,u[f])+";");else{var h=handleInterpolation(n,t,u);switch(l){case"animation":case"animationName":{o+=processStyleName(l)+":"+h+";";break}default:o+=l+"{"+h+"}"}}}return o}var labelPattern=/label:\s*([^\s;{]+)\s*(;|$)/g,cursor;function serializeStyles(n,t,a){if(n.length===1&&typeof n[0]=="object"&&n[0]!==null&&n[0].styles!==void 0)return n[0];var o=!0,s="";cursor=void 0;var l=n[0];if(l==null||l.raw===void 0)o=!1,s+=handleInterpolation(a,t,l);else{var u=l;s+=u[0]}for(var c=1;c<n.length;c++)if(s+=handleInterpolation(a,t,n[c]),o){var f=l;s+=f[c]}labelPattern.lastIndex=0;for(var h="",d;(d=labelPattern.exec(s))!==null;)h+="-"+d[1];var p=murmur2(s)+h;return{name:p,styles:s,next:cursor}}var syncFallback=function(t){return t()},useInsertionEffect=React$1.useInsertionEffect?React$1.useInsertionEffect:!1,useInsertionEffectAlwaysWithSyncFallback=useInsertionEffect||syncFallback,useInsertionEffectWithLayoutFallback=useInsertionEffect||reactExports.useLayoutEffect,EmotionCacheContext=reactExports.createContext(typeof HTMLElement<"u"?createCache({key:"css"}):null);EmotionCacheContext.Provider;var withEmotionCache=function(t){return reactExports.forwardRef(function(a,o){var s=reactExports.useContext(EmotionCacheContext);return t(a,s,o)})},ThemeContext$1=reactExports.createContext({}),hasOwn$1={}.hasOwnProperty,typePropName="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",createEmotionProps=function(t,a){var o={};for(var s in a)hasOwn$1.call(a,s)&&(o[s]=a[s]);return o[typePropName]=t,o},Insertion$1=function(t){var a=t.cache,o=t.serialized,s=t.isStringTag;return registerStyles(a,o,s),useInsertionEffectAlwaysWithSyncFallback(function(){return insertStyles(a,o,s)}),null},Emotion=withEmotionCache(function(n,t,a){var o=n.css;typeof o=="string"&&t.registered[o]!==void 0&&(o=t.registered[o]);var s=n[typePropName],l=[o],u="";typeof n.className=="string"?u=getRegisteredStyles(t.registered,l,n.className):n.className!=null&&(u=n.className+" ");var c=serializeStyles(l,void 0,reactExports.useContext(ThemeContext$1));u+=t.key+"-"+c.name;var f={};for(var h in n)hasOwn$1.call(n,h)&&h!=="css"&&h!==typePropName&&(f[h]=n[h]);return f.className=u,a&&(f.ref=a),reactExports.createElement(reactExports.Fragment,null,reactExports.createElement(Insertion$1,{cache:t,serialized:c,isStringTag:typeof s=="string"}),reactExports.createElement(s,f))}),Emotion$1=Emotion,Fragment=jsxRuntimeExports.Fragment,jsx$1=function(t,a,o){return hasOwn$1.call(a,"css")?jsxRuntimeExports.jsx(Emotion$1,createEmotionProps(t,a),o):jsxRuntimeExports.jsx(t,a,o)},jsxs=function(t,a,o){return hasOwn$1.call(a,"css")?jsxRuntimeExports.jsxs(Emotion$1,createEmotionProps(t,a),o):jsxRuntimeExports.jsxs(t,a,o)};const COMPANY_NAME="ChilliCream, Inc.",COMPANY_URL="https://chillicream.com",OS_NAME=getOsName(),IS_MAC_LIKE=isMacLike(),IS_RUNNING_IN_ELECTRON=navigator.userAgent.indexOf("Electron")>=0,IS_PR_PREVIEW=!1;function getOsName(){return navigator.userAgent.indexOf("Win")>=0?"Windows":navigator.userAgent.indexOf("Mac")>=0?"macOS":navigator.userAgent.indexOf("X11")>=0||navigator.userAgent.indexOf("Linux")>=0?"Linux":"Unknown"}function isMacLike(){const n=navigator.userAgent.toLowerCase();return n.includes("mac os")||n.includes("ipad")}const APP_LICENSE="ChilliCream License 1.0",APP_LICENSE_URL="https://chillicream.com/licensing/chillicream-license",APP_NAME="Nitro",APP_VERSION$1="32.0.2",APP_SCHEME="chillicream-nitro",APP_SIGNIN_PATH="signin-redirect",APP_GRAPHQL_CLIENT_ID="Q2xpZW50Cmc5ZjAwOTFmNTY5NmQ0NTZkOWUwZDQ0ZDMzYjJhZDJlOA==",cloudUriPattern=new RegExp("^https?:\\/\\/.*?\\.(bananacakepop\\.com|chillicream\\.com|chillicream\\.cloud)","i"),IS_RUNNING_IN_CLOUD=cloudUriPattern?.test(self.origin)??!1,APP_TYPE=IS_RUNNING_IN_CLOUD?"cloud":IS_RUNNING_IN_ELECTRON?"app":"middleware",APP_AGENT=`${APP_NAME}/${APP_VERSION$1} (${APP_TYPE})`,HTTP_SCHEME_PATTERN=/^https?:\/\//i,HTTP_SECURE_SCHEME_PATTERN=/^https:\/\//i,WS_SCHEME_PATTERN=/^wss?:\/\//i,INTERPOLATION_PATTERN=/({{\s*[a-z0-9_\-|.:+#$!?;,]+\s*}})/gi,INTERPOLATION_VARIABLE_NAME_PATTERN=/{{\s*([a-z0-9_\-|.:+#$!?;,]+)\s*}}/gi,INTERPOLATION_EXPRESSION_PATTERN=/({{)(\s*)([a-z0-9_\-|.:+#$!?;,]+)(\s*)(}})/gi,FUSION_OPERATION_PLAN_HEADER_NAME_PATTERN=/fusion-operation-plan/i,STARTS_WITH_INTERPOLATION_PATTERN=/^{{/i,VALID_NAME_PATTERN=/^[a-z0-9]{1}[_\-&+.:#!/\\()[\]{}a-z0-9\s]{0,63}$/i,common$2={black:"#000",white:"#fff"},red={300:"#e57373",400:"#ef5350",500:"#f44336",700:"#d32f2f",800:"#c62828"},purple={50:"#f3e5f5",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",700:"#7b1fa2"},blue={50:"#e3f2fd",200:"#90caf9",400:"#42a5f5",700:"#1976d2",800:"#1565c0"},lightBlue={300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",700:"#0288d1",900:"#01579b"},green={300:"#81c784",400:"#66bb6a",500:"#4caf50",700:"#388e3c",800:"#2e7d32",900:"#1b5e20"},orange={300:"#ffb74d",400:"#ffa726",500:"#ff9800",700:"#f57c00",900:"#e65100"},grey={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"};function formatMuiErrorMessage(n,...t){const a=new URL(`https://mui.com/production-error/?code=${n}`);return t.forEach(o=>a.searchParams.append("args[]",o)),`Minified MUI error #${n}; visit ${a} for the full message.`}const THEME_ID="$$material";function _extends(){return _extends=Object.assign?Object.assign.bind():function(n){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var o in a)({}).hasOwnProperty.call(a,o)&&(n[o]=a[o])}return n},_extends.apply(null,arguments)}var jsx=function(t,a){var o=arguments;if(a==null||!hasOwn$1.call(a,"css"))return reactExports.createElement.apply(void 0,o);var s=o.length,l=new Array(s);l[0]=Emotion$1,l[1]=createEmotionProps(t,a);for(var u=2;u<s;u++)l[u]=o[u];return reactExports.createElement.apply(null,l)};(function(n){var t;t||(t=n.JSX||(n.JSX={}))})(jsx||(jsx={}));var Global=withEmotionCache(function(n,t){var a=n.styles,o=serializeStyles([a],void 0,reactExports.useContext(ThemeContext$1)),s=reactExports.useRef();return useInsertionEffectWithLayoutFallback(function(){var l=t.key+"-global",u=new t.sheet.constructor({key:l,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),c=!1,f=document.querySelector('style[data-emotion="'+l+" "+o.name+'"]');return t.sheet.tags.length&&(u.before=t.sheet.tags[0]),f!==null&&(c=!0,f.setAttribute("data-emotion",l),u.hydrate([f])),s.current=[u,c],function(){u.flush()}},[t]),useInsertionEffectWithLayoutFallback(function(){var l=s.current,u=l[0],c=l[1];if(c){l[1]=!1;return}if(o.next!==void 0&&insertStyles(t,o.next,!0),u.tags.length){var f=u.tags[u.tags.length-1].nextElementSibling;u.before=f,u.flush()}t.insert("",o,u,!1)},[t,o.name]),null});function css(){for(var n=arguments.length,t=new Array(n),a=0;a<n;a++)t[a]=arguments[a];return serializeStyles(t)}function keyframes(){var n=css.apply(void 0,arguments),t="animation-"+n.name;return{name:t,styles:"@keyframes "+t+"{"+n.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}var reactPropsRegex=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|popover|popoverTarget|popoverTargetAction|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,isPropValid=memoize$1(function(n){return reactPropsRegex.test(n)||n.charCodeAt(0)===111&&n.charCodeAt(1)===110&&n.charCodeAt(2)<91}),testOmitPropsOnStringTag=isPropValid,testOmitPropsOnComponent=function(t){return t!=="theme"},getDefaultShouldForwardProp=function(t){return typeof t=="string"&&t.charCodeAt(0)>96?testOmitPropsOnStringTag:testOmitPropsOnComponent},composeShouldForwardProps=function(t,a,o){var s;if(a){var l=a.shouldForwardProp;s=t.__emotion_forwardProp&&l?function(u){return t.__emotion_forwardProp(u)&&l(u)}:l}return typeof s!="function"&&o&&(s=t.__emotion_forwardProp),s},Insertion=function(t){var a=t.cache,o=t.serialized,s=t.isStringTag;return registerStyles(a,o,s),useInsertionEffectAlwaysWithSyncFallback(function(){return insertStyles(a,o,s)}),null},createStyled$1=function n(t,a){var o=t.__emotion_real===t,s=o&&t.__emotion_base||t,l,u;a!==void 0&&(l=a.label,u=a.target);var c=composeShouldForwardProps(t,a,o),f=c||getDefaultShouldForwardProp(s),h=!f("as");return function(){var d=arguments,p=o&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(l!==void 0&&p.push("label:"+l+";"),d[0]==null||d[0].raw===void 0)p.push.apply(p,d);else{var v=d[0];p.push(v[0]);for(var g=d.length,b=1;b<g;b++)p.push(d[b],v[b])}var x=withEmotionCache(function(w,S,C){var E=h&&w.as||s,T="",$=[],P=w;if(w.theme==null){P={};for(var F in w)P[F]=w[F];P.theme=reactExports.useContext(ThemeContext$1)}typeof w.className=="string"?T=getRegisteredStyles(S.registered,$,w.className):w.className!=null&&(T=w.className+" ");var W=serializeStyles(p.concat($),S.registered,P);T+=S.key+"-"+W.name,u!==void 0&&(T+=" "+u);var j=h&&c===void 0?getDefaultShouldForwardProp(E):f,Y={};for(var z in w)h&&z==="as"||j(z)&&(Y[z]=w[z]);return Y.className=T,C&&(Y.ref=C),reactExports.createElement(reactExports.Fragment,null,reactExports.createElement(Insertion,{cache:S,serialized:W,isStringTag:typeof E=="string"}),reactExports.createElement(E,Y))});return x.displayName=l!==void 0?l:"Styled("+(typeof s=="string"?s:s.displayName||s.name||"Component")+")",x.defaultProps=t.defaultProps,x.__emotion_real=x,x.__emotion_base=s,x.__emotion_styles=p,x.__emotion_forwardProp=c,Object.defineProperty(x,"toString",{value:function(){return"."+u}}),x.withComponent=function(w,S){var C=n(w,_extends({},a,S,{shouldForwardProp:composeShouldForwardProps(x,S,!0)}));return C.apply(void 0,p)},x}},tags=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"],styled$2=createStyled$1.bind(null);tags.forEach(function(n){styled$2[n]=styled$2(n)});function isEmpty(n){return n==null||Object.keys(n).length===0}function GlobalStyles$3(n){const{styles:t,defaultTheme:a={}}=n,o=typeof t=="function"?s=>t(isEmpty(s)?a:s):t;return jsxRuntimeExports.jsx(Global,{styles:o})}function styled$1(n,t){return styled$2(n,t)}function internal_mutateStyles(n,t){Array.isArray(n.__emotion_styles)&&(n.__emotion_styles=t(n.__emotion_styles))}const wrapper=[];function internal_serializeStyles(n){return wrapper[0]=n,serializeStyles(wrapper)}var reactIs={exports:{}},reactIs_production={};/**
17
+ */var hasRequiredReactIs_production_min;function requireReactIs_production_min(){if(hasRequiredReactIs_production_min)return reactIs_production_min;hasRequiredReactIs_production_min=1;var n=typeof Symbol=="function"&&Symbol.for,t=n?Symbol.for("react.element"):60103,a=n?Symbol.for("react.portal"):60106,o=n?Symbol.for("react.fragment"):60107,s=n?Symbol.for("react.strict_mode"):60108,l=n?Symbol.for("react.profiler"):60114,u=n?Symbol.for("react.provider"):60109,c=n?Symbol.for("react.context"):60110,f=n?Symbol.for("react.async_mode"):60111,h=n?Symbol.for("react.concurrent_mode"):60111,d=n?Symbol.for("react.forward_ref"):60112,p=n?Symbol.for("react.suspense"):60113,v=n?Symbol.for("react.suspense_list"):60120,g=n?Symbol.for("react.memo"):60115,b=n?Symbol.for("react.lazy"):60116,x=n?Symbol.for("react.block"):60121,w=n?Symbol.for("react.fundamental"):60117,S=n?Symbol.for("react.responder"):60118,C=n?Symbol.for("react.scope"):60119;function E($){if(typeof $=="object"&&$!==null){var P=$.$$typeof;switch(P){case t:switch($=$.type,$){case f:case h:case o:case l:case s:case p:return $;default:switch($=$&&$.$$typeof,$){case c:case d:case b:case g:case u:return $;default:return P}}case a:return P}}}function T($){return E($)===h}return reactIs_production_min.AsyncMode=f,reactIs_production_min.ConcurrentMode=h,reactIs_production_min.ContextConsumer=c,reactIs_production_min.ContextProvider=u,reactIs_production_min.Element=t,reactIs_production_min.ForwardRef=d,reactIs_production_min.Fragment=o,reactIs_production_min.Lazy=b,reactIs_production_min.Memo=g,reactIs_production_min.Portal=a,reactIs_production_min.Profiler=l,reactIs_production_min.StrictMode=s,reactIs_production_min.Suspense=p,reactIs_production_min.isAsyncMode=function($){return T($)||E($)===f},reactIs_production_min.isConcurrentMode=T,reactIs_production_min.isContextConsumer=function($){return E($)===c},reactIs_production_min.isContextProvider=function($){return E($)===u},reactIs_production_min.isElement=function($){return typeof $=="object"&&$!==null&&$.$$typeof===t},reactIs_production_min.isForwardRef=function($){return E($)===d},reactIs_production_min.isFragment=function($){return E($)===o},reactIs_production_min.isLazy=function($){return E($)===b},reactIs_production_min.isMemo=function($){return E($)===g},reactIs_production_min.isPortal=function($){return E($)===a},reactIs_production_min.isProfiler=function($){return E($)===l},reactIs_production_min.isStrictMode=function($){return E($)===s},reactIs_production_min.isSuspense=function($){return E($)===p},reactIs_production_min.isValidElementType=function($){return typeof $=="string"||typeof $=="function"||$===o||$===h||$===l||$===s||$===p||$===v||typeof $=="object"&&$!==null&&($.$$typeof===b||$.$$typeof===g||$.$$typeof===u||$.$$typeof===c||$.$$typeof===d||$.$$typeof===w||$.$$typeof===S||$.$$typeof===C||$.$$typeof===x)},reactIs_production_min.typeOf=E,reactIs_production_min}var hasRequiredReactIs$1;function requireReactIs$1(){return hasRequiredReactIs$1||(hasRequiredReactIs$1=1,reactIs$1.exports=requireReactIs_production_min()),reactIs$1.exports}var hoistNonReactStatics_cjs,hasRequiredHoistNonReactStatics_cjs;function requireHoistNonReactStatics_cjs(){if(hasRequiredHoistNonReactStatics_cjs)return hoistNonReactStatics_cjs;hasRequiredHoistNonReactStatics_cjs=1;var n=requireReactIs$1(),t={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},a={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},o={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},l={};l[n.ForwardRef]=o,l[n.Memo]=s;function u(b){return n.isMemo(b)?s:l[b.$$typeof]||t}var c=Object.defineProperty,f=Object.getOwnPropertyNames,h=Object.getOwnPropertySymbols,d=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,v=Object.prototype;function g(b,x,w){if(typeof x!="string"){if(v){var S=p(x);S&&S!==v&&g(b,S,w)}var C=f(x);h&&(C=C.concat(h(x)));for(var E=u(b),T=u(x),$=0;$<C.length;++$){var P=C[$];if(!a[P]&&!(w&&w[P])&&!(T&&T[P])&&!(E&&E[P])){var F=d(x,P);try{c(b,P,F)}catch{}}}}return b}return hoistNonReactStatics_cjs=g,hoistNonReactStatics_cjs}requireHoistNonReactStatics_cjs();var isBrowser=!0;function getRegisteredStyles(n,t,a){var o="";return a.split(" ").forEach(function(s){n[s]!==void 0?t.push(n[s]+";"):s&&(o+=s+" ")}),o}var registerStyles=function(t,a,o){var s=t.key+"-"+a.name;(o===!1||isBrowser===!1)&&t.registered[s]===void 0&&(t.registered[s]=a.styles)},insertStyles=function(t,a,o){registerStyles(t,a,o);var s=t.key+"-"+a.name;if(t.inserted[a.name]===void 0){var l=a;do t.insert(a===l?"."+s:"",l,t.sheet,!0),l=l.next;while(l!==void 0)}};function murmur2(n){for(var t=0,a,o=0,s=n.length;s>=4;++o,s-=4)a=n.charCodeAt(o)&255|(n.charCodeAt(++o)&255)<<8|(n.charCodeAt(++o)&255)<<16|(n.charCodeAt(++o)&255)<<24,a=(a&65535)*1540483477+((a>>>16)*59797<<16),a^=a>>>24,t=(a&65535)*1540483477+((a>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(s){case 3:t^=(n.charCodeAt(o+2)&255)<<16;case 2:t^=(n.charCodeAt(o+1)&255)<<8;case 1:t^=n.charCodeAt(o)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var unitlessKeys={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},hyphenateRegex=/[A-Z]|^ms/g,animationRegex=/_EMO_([^_]+?)_([^]*?)_EMO_/g,isCustomProperty=function(t){return t.charCodeAt(1)===45},isProcessableValue=function(t){return t!=null&&typeof t!="boolean"},processStyleName=memoize$1(function(n){return isCustomProperty(n)?n:n.replace(hyphenateRegex,"-$&").toLowerCase()}),processStyleValue=function(t,a){switch(t){case"animation":case"animationName":if(typeof a=="string")return a.replace(animationRegex,function(o,s,l){return cursor={name:s,styles:l,next:cursor},s})}return unitlessKeys[t]!==1&&!isCustomProperty(t)&&typeof a=="number"&&a!==0?a+"px":a};function handleInterpolation(n,t,a){if(a==null)return"";var o=a;if(o.__emotion_styles!==void 0)return o;switch(typeof a){case"boolean":return"";case"object":{var s=a;if(s.anim===1)return cursor={name:s.name,styles:s.styles,next:cursor},s.name;var l=a;if(l.styles!==void 0){var u=l.next;if(u!==void 0)for(;u!==void 0;)cursor={name:u.name,styles:u.styles,next:cursor},u=u.next;var c=l.styles+";";return c}return createStringFromObject(n,t,a)}case"function":{if(n!==void 0){var f=cursor,h=a(n);return cursor=f,handleInterpolation(n,t,h)}break}}var d=a;if(t==null)return d;var p=t[d];return p!==void 0?p:d}function createStringFromObject(n,t,a){var o="";if(Array.isArray(a))for(var s=0;s<a.length;s++)o+=handleInterpolation(n,t,a[s])+";";else for(var l in a){var u=a[l];if(typeof u!="object"){var c=u;t!=null&&t[c]!==void 0?o+=l+"{"+t[c]+"}":isProcessableValue(c)&&(o+=processStyleName(l)+":"+processStyleValue(l,c)+";")}else if(Array.isArray(u)&&typeof u[0]=="string"&&(t==null||t[u[0]]===void 0))for(var f=0;f<u.length;f++)isProcessableValue(u[f])&&(o+=processStyleName(l)+":"+processStyleValue(l,u[f])+";");else{var h=handleInterpolation(n,t,u);switch(l){case"animation":case"animationName":{o+=processStyleName(l)+":"+h+";";break}default:o+=l+"{"+h+"}"}}}return o}var labelPattern=/label:\s*([^\s;{]+)\s*(;|$)/g,cursor;function serializeStyles(n,t,a){if(n.length===1&&typeof n[0]=="object"&&n[0]!==null&&n[0].styles!==void 0)return n[0];var o=!0,s="";cursor=void 0;var l=n[0];if(l==null||l.raw===void 0)o=!1,s+=handleInterpolation(a,t,l);else{var u=l;s+=u[0]}for(var c=1;c<n.length;c++)if(s+=handleInterpolation(a,t,n[c]),o){var f=l;s+=f[c]}labelPattern.lastIndex=0;for(var h="",d;(d=labelPattern.exec(s))!==null;)h+="-"+d[1];var p=murmur2(s)+h;return{name:p,styles:s,next:cursor}}var syncFallback=function(t){return t()},useInsertionEffect=React$1.useInsertionEffect?React$1.useInsertionEffect:!1,useInsertionEffectAlwaysWithSyncFallback=useInsertionEffect||syncFallback,useInsertionEffectWithLayoutFallback=useInsertionEffect||reactExports.useLayoutEffect,EmotionCacheContext=reactExports.createContext(typeof HTMLElement<"u"?createCache({key:"css"}):null);EmotionCacheContext.Provider;var withEmotionCache=function(t){return reactExports.forwardRef(function(a,o){var s=reactExports.useContext(EmotionCacheContext);return t(a,s,o)})},ThemeContext$1=reactExports.createContext({}),hasOwn$1={}.hasOwnProperty,typePropName="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",createEmotionProps=function(t,a){var o={};for(var s in a)hasOwn$1.call(a,s)&&(o[s]=a[s]);return o[typePropName]=t,o},Insertion$1=function(t){var a=t.cache,o=t.serialized,s=t.isStringTag;return registerStyles(a,o,s),useInsertionEffectAlwaysWithSyncFallback(function(){return insertStyles(a,o,s)}),null},Emotion=withEmotionCache(function(n,t,a){var o=n.css;typeof o=="string"&&t.registered[o]!==void 0&&(o=t.registered[o]);var s=n[typePropName],l=[o],u="";typeof n.className=="string"?u=getRegisteredStyles(t.registered,l,n.className):n.className!=null&&(u=n.className+" ");var c=serializeStyles(l,void 0,reactExports.useContext(ThemeContext$1));u+=t.key+"-"+c.name;var f={};for(var h in n)hasOwn$1.call(n,h)&&h!=="css"&&h!==typePropName&&(f[h]=n[h]);return f.className=u,a&&(f.ref=a),reactExports.createElement(reactExports.Fragment,null,reactExports.createElement(Insertion$1,{cache:t,serialized:c,isStringTag:typeof s=="string"}),reactExports.createElement(s,f))}),Emotion$1=Emotion,Fragment=jsxRuntimeExports.Fragment,jsx$1=function(t,a,o){return hasOwn$1.call(a,"css")?jsxRuntimeExports.jsx(Emotion$1,createEmotionProps(t,a),o):jsxRuntimeExports.jsx(t,a,o)},jsxs=function(t,a,o){return hasOwn$1.call(a,"css")?jsxRuntimeExports.jsxs(Emotion$1,createEmotionProps(t,a),o):jsxRuntimeExports.jsxs(t,a,o)};const COMPANY_NAME="ChilliCream, Inc.",COMPANY_URL="https://chillicream.com",OS_NAME=getOsName(),IS_MAC_LIKE=isMacLike(),IS_RUNNING_IN_ELECTRON=navigator.userAgent.indexOf("Electron")>=0,IS_PR_PREVIEW=!1;function getOsName(){return navigator.userAgent.indexOf("Win")>=0?"Windows":navigator.userAgent.indexOf("Mac")>=0?"macOS":navigator.userAgent.indexOf("X11")>=0||navigator.userAgent.indexOf("Linux")>=0?"Linux":"Unknown"}function isMacLike(){const n=navigator.userAgent.toLowerCase();return n.includes("mac os")||n.includes("ipad")}const APP_LICENSE="ChilliCream License 1.0",APP_LICENSE_URL="https://chillicream.com/licensing/chillicream-license",APP_NAME="Nitro",APP_VERSION$1="33.0.0-insider.2",APP_SCHEME="chillicream-nitro-insider",APP_SIGNIN_PATH="signin-redirect",APP_GRAPHQL_CLIENT_ID="Q2xpZW50Cmc5ZjAwOTFmNTY5NmQ0NTZkOWUwZDQ0ZDMzYjJhZDJlOA==",cloudUriPattern=new RegExp("^https?:\\/\\/.*?\\.(bananacakepop\\.com|chillicream\\.com|chillicream\\.cloud)","i"),IS_RUNNING_IN_CLOUD=cloudUriPattern?.test(self.origin)??!1,APP_TYPE=IS_RUNNING_IN_CLOUD?"cloud":IS_RUNNING_IN_ELECTRON?"app":"middleware",APP_AGENT=`${APP_NAME}/${APP_VERSION$1} (${APP_TYPE})`,HTTP_SCHEME_PATTERN=/^https?:\/\//i,HTTP_SECURE_SCHEME_PATTERN=/^https:\/\//i,WS_SCHEME_PATTERN=/^wss?:\/\//i,INTERPOLATION_PATTERN=/({{\s*[a-z0-9_\-|.:+#$!?;,]+\s*}})/gi,INTERPOLATION_VARIABLE_NAME_PATTERN=/{{\s*([a-z0-9_\-|.:+#$!?;,]+)\s*}}/gi,INTERPOLATION_EXPRESSION_PATTERN=/({{)(\s*)([a-z0-9_\-|.:+#$!?;,]+)(\s*)(}})/gi,FUSION_OPERATION_PLAN_HEADER_NAME_PATTERN=/fusion-operation-plan/i,STARTS_WITH_INTERPOLATION_PATTERN=/^{{/i,VALID_NAME_PATTERN=/^[a-z0-9]{1}[_\-&+.:#!/\\()[\]{}a-z0-9\s]{0,63}$/i,common$2={black:"#000",white:"#fff"},red={300:"#e57373",400:"#ef5350",500:"#f44336",700:"#d32f2f",800:"#c62828"},purple={50:"#f3e5f5",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",700:"#7b1fa2"},blue={50:"#e3f2fd",200:"#90caf9",400:"#42a5f5",700:"#1976d2",800:"#1565c0"},lightBlue={300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",700:"#0288d1",900:"#01579b"},green={300:"#81c784",400:"#66bb6a",500:"#4caf50",700:"#388e3c",800:"#2e7d32",900:"#1b5e20"},orange={300:"#ffb74d",400:"#ffa726",500:"#ff9800",700:"#f57c00",900:"#e65100"},grey={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"};function formatMuiErrorMessage(n,...t){const a=new URL(`https://mui.com/production-error/?code=${n}`);return t.forEach(o=>a.searchParams.append("args[]",o)),`Minified MUI error #${n}; visit ${a} for the full message.`}const THEME_ID="$$material";function _extends(){return _extends=Object.assign?Object.assign.bind():function(n){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var o in a)({}).hasOwnProperty.call(a,o)&&(n[o]=a[o])}return n},_extends.apply(null,arguments)}var jsx=function(t,a){var o=arguments;if(a==null||!hasOwn$1.call(a,"css"))return reactExports.createElement.apply(void 0,o);var s=o.length,l=new Array(s);l[0]=Emotion$1,l[1]=createEmotionProps(t,a);for(var u=2;u<s;u++)l[u]=o[u];return reactExports.createElement.apply(null,l)};(function(n){var t;t||(t=n.JSX||(n.JSX={}))})(jsx||(jsx={}));var Global=withEmotionCache(function(n,t){var a=n.styles,o=serializeStyles([a],void 0,reactExports.useContext(ThemeContext$1)),s=reactExports.useRef();return useInsertionEffectWithLayoutFallback(function(){var l=t.key+"-global",u=new t.sheet.constructor({key:l,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),c=!1,f=document.querySelector('style[data-emotion="'+l+" "+o.name+'"]');return t.sheet.tags.length&&(u.before=t.sheet.tags[0]),f!==null&&(c=!0,f.setAttribute("data-emotion",l),u.hydrate([f])),s.current=[u,c],function(){u.flush()}},[t]),useInsertionEffectWithLayoutFallback(function(){var l=s.current,u=l[0],c=l[1];if(c){l[1]=!1;return}if(o.next!==void 0&&insertStyles(t,o.next,!0),u.tags.length){var f=u.tags[u.tags.length-1].nextElementSibling;u.before=f,u.flush()}t.insert("",o,u,!1)},[t,o.name]),null});function css(){for(var n=arguments.length,t=new Array(n),a=0;a<n;a++)t[a]=arguments[a];return serializeStyles(t)}function keyframes(){var n=css.apply(void 0,arguments),t="animation-"+n.name;return{name:t,styles:"@keyframes "+t+"{"+n.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}var reactPropsRegex=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|popover|popoverTarget|popoverTargetAction|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,isPropValid=memoize$1(function(n){return reactPropsRegex.test(n)||n.charCodeAt(0)===111&&n.charCodeAt(1)===110&&n.charCodeAt(2)<91}),testOmitPropsOnStringTag=isPropValid,testOmitPropsOnComponent=function(t){return t!=="theme"},getDefaultShouldForwardProp=function(t){return typeof t=="string"&&t.charCodeAt(0)>96?testOmitPropsOnStringTag:testOmitPropsOnComponent},composeShouldForwardProps=function(t,a,o){var s;if(a){var l=a.shouldForwardProp;s=t.__emotion_forwardProp&&l?function(u){return t.__emotion_forwardProp(u)&&l(u)}:l}return typeof s!="function"&&o&&(s=t.__emotion_forwardProp),s},Insertion=function(t){var a=t.cache,o=t.serialized,s=t.isStringTag;return registerStyles(a,o,s),useInsertionEffectAlwaysWithSyncFallback(function(){return insertStyles(a,o,s)}),null},createStyled$1=function n(t,a){var o=t.__emotion_real===t,s=o&&t.__emotion_base||t,l,u;a!==void 0&&(l=a.label,u=a.target);var c=composeShouldForwardProps(t,a,o),f=c||getDefaultShouldForwardProp(s),h=!f("as");return function(){var d=arguments,p=o&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(l!==void 0&&p.push("label:"+l+";"),d[0]==null||d[0].raw===void 0)p.push.apply(p,d);else{var v=d[0];p.push(v[0]);for(var g=d.length,b=1;b<g;b++)p.push(d[b],v[b])}var x=withEmotionCache(function(w,S,C){var E=h&&w.as||s,T="",$=[],P=w;if(w.theme==null){P={};for(var F in w)P[F]=w[F];P.theme=reactExports.useContext(ThemeContext$1)}typeof w.className=="string"?T=getRegisteredStyles(S.registered,$,w.className):w.className!=null&&(T=w.className+" ");var W=serializeStyles(p.concat($),S.registered,P);T+=S.key+"-"+W.name,u!==void 0&&(T+=" "+u);var j=h&&c===void 0?getDefaultShouldForwardProp(E):f,Y={};for(var z in w)h&&z==="as"||j(z)&&(Y[z]=w[z]);return Y.className=T,C&&(Y.ref=C),reactExports.createElement(reactExports.Fragment,null,reactExports.createElement(Insertion,{cache:S,serialized:W,isStringTag:typeof E=="string"}),reactExports.createElement(E,Y))});return x.displayName=l!==void 0?l:"Styled("+(typeof s=="string"?s:s.displayName||s.name||"Component")+")",x.defaultProps=t.defaultProps,x.__emotion_real=x,x.__emotion_base=s,x.__emotion_styles=p,x.__emotion_forwardProp=c,Object.defineProperty(x,"toString",{value:function(){return"."+u}}),x.withComponent=function(w,S){var C=n(w,_extends({},a,S,{shouldForwardProp:composeShouldForwardProps(x,S,!0)}));return C.apply(void 0,p)},x}},tags=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"],styled$2=createStyled$1.bind(null);tags.forEach(function(n){styled$2[n]=styled$2(n)});function isEmpty(n){return n==null||Object.keys(n).length===0}function GlobalStyles$3(n){const{styles:t,defaultTheme:a={}}=n,o=typeof t=="function"?s=>t(isEmpty(s)?a:s):t;return jsxRuntimeExports.jsx(Global,{styles:o})}function styled$1(n,t){return styled$2(n,t)}function internal_mutateStyles(n,t){Array.isArray(n.__emotion_styles)&&(n.__emotion_styles=t(n.__emotion_styles))}const wrapper=[];function internal_serializeStyles(n){return wrapper[0]=n,serializeStyles(wrapper)}var reactIs={exports:{}},reactIs_production={};/**
18
18
  * @license React
19
19
  * react-is.production.js
20
20
  *
@@ -414,7 +414,7 @@ export default theme;`}function coefficientToPercentage(n){return typeof n=="num
414
414
  *
415
415
  * Copyright (c) Jon Schlinkert (https://github.com/jonschlinkert).
416
416
  * Released under the MIT License.
417
- */var setValue_1,hasRequiredSetValue;function requireSetValue(){if(hasRequiredSetValue)return setValue_1;hasRequiredSetValue=1;const{deleteProperty:n}=Reflect,t=requireIsPrimitive(),a=requireIsPlainObject(),o=g=>typeof g=="object"&&g!==null||typeof g=="function",s=g=>g==="__proto__"||g==="constructor"||g==="prototype",l=g=>{if(!t(g))throw new TypeError("Object keys must be strings or symbols");if(s(g))throw new Error(`Cannot set unsafe key: "${g}"`)},u=g=>Array.isArray(g)?g.flat().map(String).join(","):g,c=(g,b)=>{if(typeof g!="string"||!b)return g;let x=g+";";return b.arrays!==void 0&&(x+=`arrays=${b.arrays};`),b.separator!==void 0&&(x+=`separator=${b.separator};`),b.split!==void 0&&(x+=`split=${b.split};`),b.merge!==void 0&&(x+=`merge=${b.merge};`),b.preservePaths!==void 0&&(x+=`preservePaths=${b.preservePaths};`),x},f=(g,b,x)=>{const w=u(b?c(g,b):g);l(w);const S=v.cache.get(w)||x();return v.cache.set(w,S),S},h=(g,b={})=>{const x=b.separator||".",w=x==="/"?!1:b.preservePaths;if(typeof g=="string"&&w!==!1&&/\//.test(g))return[g];const S=[];let C="";const E=T=>{let $;T.trim()!==""&&Number.isInteger($=Number(T))?S.push($):S.push(T)};for(let T=0;T<g.length;T++){const $=g[T];if($==="\\"){C+=g[++T];continue}if($===x){E(C),C="";continue}C+=$}return C&&E(C),S},d=(g,b)=>b&&typeof b.split=="function"?b.split(g):typeof g=="symbol"?[g]:Array.isArray(g)?g:f(g,b,()=>h(g,b)),p=(g,b,x,w)=>{if(l(b),x===void 0)n(g,b);else if(w&&w.merge){const S=w.merge==="function"?w.merge:Object.assign;S&&a(g[b])&&a(x)?g[b]=S(g[b],x):g[b]=x}else g[b]=x;return g},v=(g,b,x,w)=>{if(!b||!o(g))return g;const S=d(b,w);let C=g;for(let E=0;E<S.length;E++){const T=S[E],$=S[E+1];if(l(T),$===void 0){p(C,T,x,w);break}if(typeof $=="number"&&!Array.isArray(C[T])){C=C[T]=[];continue}o(C[T])||(C[T]={}),C=C[T]}return g};return v.split=d,v.cache=new Map,v.clear=()=>{v.cache=new Map},setValue_1=v,setValue_1}var setValueExports=requireSetValue();const setValue=getDefaultExportFromCjs(setValueExports);function extractUrlPath({pathname:n}){return n.endsWith("/")?n.replace(/\/+$/,""):n}function extractAppUrlPath(n){const t=extractUrlPath(n),a="/"+APP_SIGNIN_PATH;return t.endsWith(a)?t.substring(0,t.length-a.length):t}function isURL(n){return HTTP_SCHEME_PATTERN.test(n)}function resolveUrl$1(n,t){return t?n.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):n}const TWENTY_FIVE_MILLISECONDS=25,FIFTY_MILLISECONDS=50,ONE_HUNDRED_MILLISECONDS=100,TWO_HUNDRED_MILLISECONDS=200,TWO_HUNDRED_FIFTY_MILLISECONDS=250,THREE_HUNDRED_MILLISECONDS=300,FIVE_HUNDRED_MILLISECONDS=500,ONE_SECOND$1=1e3,TWO_SECONDS=2e3,FIVE_SECONDS=5e3,TEN_SECONDS=1e4,THIRTY_SECONDS=3e4,ONE_MINUTE$1=6e4,TWO_MINUTES=12e4,FIVE_MINUTES=3e5,ONE_HOUR$1=36e5,SIX_HOURS=216e5,ONE_DAY$1=864e5,NINETY_DAYS=7776e6,stores={app:!0,attachment:!0,item:!0,mutex:!0,schema:!0,"schema-attachment":!0,session:!0,setting:!0,tab:!0,"tab-view-state":!0,"update-log":!0,workspace:!0,"workspace-sync":!0},STORE_NAMES=Object.keys(stores),DB_NAME="chillicream-nitro";function getDatabaseName(){return self.appNamespace?`${DB_NAME}-${self.appNamespace}`:DB_NAME}function deleteEntity(n,t){return openDatabaseScope(a=>a.delete(n,t))}function getAllEntities(n){return openDatabaseScope(t=>t.getAll(n))}function getEntityByKey(n,t){return openDatabaseScope(a=>a.get(n,t))}function putEntity(n,t){return openDatabaseScope(async a=>{await a.put(n,t)})}async function updateEntityTransactional(n,t,a){let o=await n.get(t);return o&&(o=a(o),o&&await n.put(o)),o}function openDatabase(){return openDB(getDatabaseName())}async function openDatabaseScope(n){const t=await openDatabase();try{return await n(t)}finally{t.close()}}async function openTransactionScope(n,t,a,o,s){const l=await createTransaction(n,t,a);try{return s?await createAbortScope(()=>l.abort("transaction aborted"),()=>o(l,n.version),s):await o(l,n.version)}finally{await l.done}}function openDatabaseWithTransactionScope(n,t,a,o){return openDatabaseScope(s=>openTransactionScope(s,n,t,a,o))}function deleteDatabase(){return deleteDB(getDatabaseName())}async function databaseExists(n){const t=await window.indexedDB.databases(),a=getDatabaseName();return t.some(({name:o,version:s})=>o===a&&!0)}const camelizationCache=new Map;function camelizeString(n){let t=camelizationCache.get(n);return t||(t=n.split("-").reduce((a,o)=>(o&&(a!==""?(a+=o[0].toUpperCase(),a+=o.substring(1)):a=o),a),""),camelizationCache.set(n,t)),t}async function createTransaction(n,t,a){const o=n.transaction(t,a),s={},l={};for(const u of t){const c=o.objectStore(u),f=camelizeString(u);s[f]=c,l[f]={};for(const h of c.indexNames)l[f][h]=c.index(h)}return{abort:u=>abortWithError(o,u),done:o.done.catch(u=>{if(!isAbortError(u))throw u}),store:s,index:l}}function abortWithError(n,t){throw n.abort(),new Error(t)}function purgeByTenants(n){return openDatabaseWithTransactionScope(STORE_NAMES,"readwrite",async t=>{const a=[];for(const s of n)a.push(purgeByTenantTransactional(t,s));await Promise.all(a);const o=[];for await(const{value:s}of t.store.session)o.push([s.sub,s.apiUrl]);for await(const{value:s}of t.store.setting)o.some(([l,u])=>l===s.sub&&u===s.apiUrl)||await t.store.setting.delete(s.id);o.length||(await t.store.app.delete(APP_AUTHENTICATION_STATE),await t.store.app.delete(APP_CURRENT_TENANT))})}async function purgeByTenantTransactional(n,t){const a=await n.index.workspace.user.getAll([t.tenant,t.sub,t.apiUrl]);if(!a.length)return;const o=await n.index.session.key.getAllKeys([t.sub,t.tenant,t.issuer]);await Promise.all([...o.map(s=>n.store.session.delete(s)),...a.map(({id:s})=>deleteWorkspaceTransactional(n,s))])}async function deleteWorkspaceTransactional(n,t){await Promise.all([n.store.workspace.delete(t),deleteWorkspaceTabStateTransactional(n,t),deleteWorkspaceAttachmentsTransactional(n,t),deleteWorkspaceItemsTransactional(n,t),deleteWorkspaceSyncEntriesTransactional(n,t)])}async function deleteWorkspaceTabStateTransactional(n,t){const a=await n.index.tabViewState.workspace.getAllKeys(t);await Promise.all([n.store.tab.delete(t),...a.map(o=>n.store.tabViewState.delete(o))])}async function deleteWorkspaceAttachmentsTransactional(n,t){const a=[];let o=await n.index.attachment.workspace.openKeyCursor(t);for(;o;)a.push(n.store.attachment.delete(o.primaryKey)),o=await o.continue();await Promise.all(a)}async function deleteWorkspaceItemsTransactional(n,t){const a=[];let o=await n.index.item.workspace.openKeyCursor(t);for(;o;)a.push(n.store.item.delete(o.primaryKey)),o=await o.continue();await Promise.all(a)}async function deleteWorkspaceSyncEntriesTransactional(n,t){const a=[];let o=await n.index.workspaceSync.workspace.openKeyCursor(t);for(;o;)a.push(n.store.workspaceSync.delete(o.primaryKey)),o=await o.continue();await Promise.all(a)}globalThis.idbGet=function(n,t){return openDatabaseScope(async a=>{console.log("IDB_GET",{store:n,key:t,data:await a.get(n,t)})})};globalThis.idbSet=function(n,t,a){return openDatabaseScope(async o=>{console.log("IDB_SET",{store:n,key:a,value:t,result:await o.put(n,t,a)})})};function areTenantsEqual(n,t){return n?.tenant===t?.tenant&&n?.sub===t?.sub&&n?.login===t?.login&&n?.apiUrl===t?.apiUrl&&n?.issuer===t?.issuer}async function getUserSession({sub:n,tenant:t,issuer:a}){return openDatabaseWithTransactionScope(["session"],"readonly",o=>o.index.session.key.get([n,t,a]))}async function getUserSessions(){return getAllEntities("session")}async function replaceUserSession(n){return await putEntity("session",n),n}const APP_KEY="app";function getAppValue(n){return getEntityByKey(APP_KEY,n)}function putAppValue(n,t){return openDatabaseScope(async a=>{await a.put(APP_KEY,t,n)})}const APP_SHELL_KEY="shell";function getShell(){return getAppValue(APP_SHELL_KEY)}function setShell(n){return putAppValue(APP_SHELL_KEY,n)}const APP_TELEMETRY_KEY="telemetry";function getTelemetry(){return getAppValue(APP_TELEMETRY_KEY)}function setTelemetry(n){return putAppValue(APP_TELEMETRY_KEY,n)}const APP_AUTHENTICATION_STATE="auth-state";function deleteAuthenticationState(){return deleteEntity("app",APP_AUTHENTICATION_STATE)}function getAuthenticationState(){return getEntityByKey("app",APP_AUTHENTICATION_STATE)}function setAuthenticationState(n){return putAppValue(APP_AUTHENTICATION_STATE,n)}const APP_CURRENT_TENANT="current-tenant";function getCurrentTenant(){return getEntityByKey("app",APP_CURRENT_TENANT)}function setCurrentTenant(n){return putAppValue(APP_CURRENT_TENANT,n)}function getAppSession(n){return openDatabaseWithTransactionScope([APP_KEY,"session"],"readonly",t=>Promise.all([t.store.app.get(APP_CURRENT_TENANT),t.store.session.getAll()]).then(([a,o])=>{if(!o)return null;const s=a?o.find(l=>areTenantsEqual(l,a)):void 0;return{userSessions:o,activeSession:s}}),n)}const APP_VERSION="app-version";function setAppVersion(n){return putAppValue(APP_VERSION,n)}const CURRENT_THEME="current-theme";async function getCurrentTheme(){return await getAppValue(CURRENT_THEME)}function setCurrentTheme(n){return putAppValue(CURRENT_THEME,n)}const editors=new Map,editorRegistry={get(n){return editors.get(n)},register(n,t){return editors.set(n,t),()=>{editors.delete(n)}},getAll(){return Array.from(editors.values())}};function createModelUri(n,t){return Uri.parse(n+"/"+t)}function getOperationsEditor(){return editorRegistry.get("operations")}function getOperationsResponseEditor(){return editorRegistry.get("response")}function getOperationsVariablesEditor(){return editorRegistry.get("variables")}function noop$1(){}function asyncNoop(){return Promise.resolve()}function registerEditorSchemas(n,t,a){const{diagnosticsOptions:o}=languages.json.jsonDefaults;let s=o.schemas??[];const l={uri:t,fileMatch:[n.path],schema:a};s.some(u=>u.uri===t)?s=s.map(u=>u.uri===t?l:u):s=[...s,l],languages.json.jsonDefaults.setDiagnosticsOptions({...o,schemas:s,trailingCommas:"error",validate:!0})}function unregisterEditorSchemas(n){const{diagnosticsOptions:t}=languages.json.jsonDefaults;t.schemas?.length&&languages.json.jsonDefaults.setDiagnosticsOptions({...t,schemas:t.schemas.filter(a=>a.uri!==n)})}function disableCertainDefaultShortcuts(n){["toggleFindCaseSensitive","toggleFindInSelection","toggleFindRegex","toggleFindWholeWord","togglePreserveCase"].forEach(a=>{n._standaloneKeybindingService.addDynamicKeybinding(`-${a}`,0,noop$1,!1)})}function isCodeEditor(n){return n.getEditorType()==="vs.editor.ICodeEditor"}/*! @license DOMPurify 3.2.4 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.2.4/LICENSE */const{entries,setPrototypeOf,isFrozen,getPrototypeOf,getOwnPropertyDescriptor}=Object;let{freeze,seal,create:create$3}=Object,{apply,construct}=typeof Reflect<"u"&&Reflect;freeze||(freeze=function(t){return t});seal||(seal=function(t){return t});apply||(apply=function(t,a,o){return t.apply(a,o)});construct||(construct=function(t,a){return new t(...a)});const arrayForEach=unapply(Array.prototype.forEach),arrayLastIndexOf=unapply(Array.prototype.lastIndexOf),arrayPop=unapply(Array.prototype.pop),arrayPush=unapply(Array.prototype.push),arraySplice=unapply(Array.prototype.splice),stringToLowerCase=unapply(String.prototype.toLowerCase),stringToString=unapply(String.prototype.toString),stringMatch=unapply(String.prototype.match),stringReplace=unapply(String.prototype.replace),stringIndexOf=unapply(String.prototype.indexOf),stringTrim=unapply(String.prototype.trim),objectHasOwnProperty=unapply(Object.prototype.hasOwnProperty),regExpTest=unapply(RegExp.prototype.test),typeErrorCreate=unconstruct(TypeError);function unapply(n){return function(t){for(var a=arguments.length,o=new Array(a>1?a-1:0),s=1;s<a;s++)o[s-1]=arguments[s];return apply(n,t,o)}}function unconstruct(n){return function(){for(var t=arguments.length,a=new Array(t),o=0;o<t;o++)a[o]=arguments[o];return construct(n,a)}}function addToSet(n,t){let a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:stringToLowerCase;setPrototypeOf&&setPrototypeOf(n,null);let o=t.length;for(;o--;){let s=t[o];if(typeof s=="string"){const l=a(s);l!==s&&(isFrozen(t)||(t[o]=l),s=l)}n[s]=!0}return n}function cleanArray(n){for(let t=0;t<n.length;t++)objectHasOwnProperty(n,t)||(n[t]=null);return n}function clone$5(n){const t=create$3(null);for(const[a,o]of entries(n))objectHasOwnProperty(n,a)&&(Array.isArray(o)?t[a]=cleanArray(o):o&&typeof o=="object"&&o.constructor===Object?t[a]=clone$5(o):t[a]=o);return t}function lookupGetter(n,t){for(;n!==null;){const o=getOwnPropertyDescriptor(n,t);if(o){if(o.get)return unapply(o.get);if(typeof o.value=="function")return unapply(o.value)}n=getPrototypeOf(n)}function a(){return null}return a}const html$1=freeze(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),svg$1=freeze(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),svgFilters=freeze(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),svgDisallowed=freeze(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),mathMl$1=freeze(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),mathMlDisallowed=freeze(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),text=freeze(["#text"]),html=freeze(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),svg=freeze(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),mathMl=freeze(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),xml=freeze(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),MUSTACHE_EXPR=seal(/\{\{[\w\W]*|[\w\W]*\}\}/gm),ERB_EXPR=seal(/<%[\w\W]*|[\w\W]*%>/gm),TMPLIT_EXPR=seal(/\$\{[\w\W]*/gm),DATA_ATTR=seal(/^data-[\-\w.\u00B7-\uFFFF]+$/),ARIA_ATTR=seal(/^aria-[\-\w]+$/),IS_ALLOWED_URI=seal(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),IS_SCRIPT_OR_DATA=seal(/^(?:\w+script|data):/i),ATTR_WHITESPACE=seal(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),DOCTYPE_NAME=seal(/^html$/i),CUSTOM_ELEMENT=seal(/^[a-z][.\w]*(-[.\w]+)+$/i);var EXPRESSIONS=Object.freeze({__proto__:null,ARIA_ATTR,ATTR_WHITESPACE,CUSTOM_ELEMENT,DATA_ATTR,DOCTYPE_NAME,ERB_EXPR,IS_ALLOWED_URI,IS_SCRIPT_OR_DATA,MUSTACHE_EXPR,TMPLIT_EXPR});const NODE_TYPE={element:1,text:3,progressingInstruction:7,comment:8,document:9},getGlobal=function(){return typeof window>"u"?null:window},_createTrustedTypesPolicy=function(t,a){if(typeof t!="object"||typeof t.createPolicy!="function")return null;let o=null;const s="data-tt-policy-suffix";a&&a.hasAttribute(s)&&(o=a.getAttribute(s));const l="dompurify"+(o?"#"+o:"");try{return t.createPolicy(l,{createHTML(u){return u},createScriptURL(u){return u}})}catch{return console.warn("TrustedTypes policy "+l+" could not be created."),null}},_createHooksMap=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}};function createDOMPurify(){let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:getGlobal();const t=et=>createDOMPurify(et);if(t.version="3.2.4",t.removed=[],!n||!n.document||n.document.nodeType!==NODE_TYPE.document||!n.Element)return t.isSupported=!1,t;let{document:a}=n;const o=a,s=o.currentScript,{DocumentFragment:l,HTMLTemplateElement:u,Node:c,Element:f,NodeFilter:h,NamedNodeMap:d=n.NamedNodeMap||n.MozNamedAttrMap,HTMLFormElement:p,DOMParser:v,trustedTypes:g}=n,b=f.prototype,x=lookupGetter(b,"cloneNode"),w=lookupGetter(b,"remove"),S=lookupGetter(b,"nextSibling"),C=lookupGetter(b,"childNodes"),E=lookupGetter(b,"parentNode");if(typeof u=="function"){const et=a.createElement("template");et.content&&et.content.ownerDocument&&(a=et.content.ownerDocument)}let T,$="";const{implementation:P,createNodeIterator:F,createDocumentFragment:W,getElementsByTagName:j}=a,{importNode:Y}=o;let z=_createHooksMap();t.isSupported=typeof entries=="function"&&typeof E=="function"&&P&&P.createHTMLDocument!==void 0;const{MUSTACHE_EXPR:D,ERB_EXPR:L,TMPLIT_EXPR:A,DATA_ATTR:R,ARIA_ATTR:I,IS_SCRIPT_OR_DATA:H,ATTR_WHITESPACE:V,CUSTOM_ELEMENT:q}=EXPRESSIONS;let{IS_ALLOWED_URI:Z}=EXPRESSIONS,N=null;const B=addToSet({},[...html$1,...svg$1,...svgFilters,...mathMl$1,...text]);let U=null;const ee=addToSet({},[...html,...svg,...mathMl,...xml]);let oe=Object.seal(create$3(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),ie=null,Q=null,te=!0,le=!0,fe=!1,ne=!0,ae=!1,he=!0,ve=!1,Ae=!1,Ee=!1,De=!1,Ie=!1,be=!1,Fe=!0,Te=!1;const He="user-content-";let $e=!0,Oe=!1,st={},qe=null;const ke=addToSet({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let ut=null;const Je=addToSet({},["audio","video","img","source","image","track"]);let Ge=null;const wt=addToSet({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),ct="http://www.w3.org/1998/Math/MathML",Ye="http://www.w3.org/2000/svg",ot="http://www.w3.org/1999/xhtml";let tt=ot,ze=!1,Rt=null;const dt=addToSet({},[ct,Ye,ot],stringToString);let Ke=addToSet({},["mi","mo","mn","ms","mtext"]),Ct=addToSet({},["annotation-xml"]);const ht=addToSet({},["title","style","font","a","script"]);let Ue=null;const bt=["application/xhtml+xml","text/html"],ft="text/html";let Ze=null,xt=null;const vt=a.createElement("form"),se=function(me){return me instanceof RegExp||me instanceof Function},X=function(){let me=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!(xt&&xt===me)){if((!me||typeof me!="object")&&(me={}),me=clone$5(me),Ue=bt.indexOf(me.PARSER_MEDIA_TYPE)===-1?ft:me.PARSER_MEDIA_TYPE,Ze=Ue==="application/xhtml+xml"?stringToString:stringToLowerCase,N=objectHasOwnProperty(me,"ALLOWED_TAGS")?addToSet({},me.ALLOWED_TAGS,Ze):B,U=objectHasOwnProperty(me,"ALLOWED_ATTR")?addToSet({},me.ALLOWED_ATTR,Ze):ee,Rt=objectHasOwnProperty(me,"ALLOWED_NAMESPACES")?addToSet({},me.ALLOWED_NAMESPACES,stringToString):dt,Ge=objectHasOwnProperty(me,"ADD_URI_SAFE_ATTR")?addToSet(clone$5(wt),me.ADD_URI_SAFE_ATTR,Ze):wt,ut=objectHasOwnProperty(me,"ADD_DATA_URI_TAGS")?addToSet(clone$5(Je),me.ADD_DATA_URI_TAGS,Ze):Je,qe=objectHasOwnProperty(me,"FORBID_CONTENTS")?addToSet({},me.FORBID_CONTENTS,Ze):ke,ie=objectHasOwnProperty(me,"FORBID_TAGS")?addToSet({},me.FORBID_TAGS,Ze):{},Q=objectHasOwnProperty(me,"FORBID_ATTR")?addToSet({},me.FORBID_ATTR,Ze):{},st=objectHasOwnProperty(me,"USE_PROFILES")?me.USE_PROFILES:!1,te=me.ALLOW_ARIA_ATTR!==!1,le=me.ALLOW_DATA_ATTR!==!1,fe=me.ALLOW_UNKNOWN_PROTOCOLS||!1,ne=me.ALLOW_SELF_CLOSE_IN_ATTR!==!1,ae=me.SAFE_FOR_TEMPLATES||!1,he=me.SAFE_FOR_XML!==!1,ve=me.WHOLE_DOCUMENT||!1,De=me.RETURN_DOM||!1,Ie=me.RETURN_DOM_FRAGMENT||!1,be=me.RETURN_TRUSTED_TYPE||!1,Ee=me.FORCE_BODY||!1,Fe=me.SANITIZE_DOM!==!1,Te=me.SANITIZE_NAMED_PROPS||!1,$e=me.KEEP_CONTENT!==!1,Oe=me.IN_PLACE||!1,Z=me.ALLOWED_URI_REGEXP||IS_ALLOWED_URI,tt=me.NAMESPACE||ot,Ke=me.MATHML_TEXT_INTEGRATION_POINTS||Ke,Ct=me.HTML_INTEGRATION_POINTS||Ct,oe=me.CUSTOM_ELEMENT_HANDLING||{},me.CUSTOM_ELEMENT_HANDLING&&se(me.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(oe.tagNameCheck=me.CUSTOM_ELEMENT_HANDLING.tagNameCheck),me.CUSTOM_ELEMENT_HANDLING&&se(me.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(oe.attributeNameCheck=me.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),me.CUSTOM_ELEMENT_HANDLING&&typeof me.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(oe.allowCustomizedBuiltInElements=me.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),ae&&(le=!1),Ie&&(De=!0),st&&(N=addToSet({},text),U=[],st.html===!0&&(addToSet(N,html$1),addToSet(U,html)),st.svg===!0&&(addToSet(N,svg$1),addToSet(U,svg),addToSet(U,xml)),st.svgFilters===!0&&(addToSet(N,svgFilters),addToSet(U,svg),addToSet(U,xml)),st.mathMl===!0&&(addToSet(N,mathMl$1),addToSet(U,mathMl),addToSet(U,xml))),me.ADD_TAGS&&(N===B&&(N=clone$5(N)),addToSet(N,me.ADD_TAGS,Ze)),me.ADD_ATTR&&(U===ee&&(U=clone$5(U)),addToSet(U,me.ADD_ATTR,Ze)),me.ADD_URI_SAFE_ATTR&&addToSet(Ge,me.ADD_URI_SAFE_ATTR,Ze),me.FORBID_CONTENTS&&(qe===ke&&(qe=clone$5(qe)),addToSet(qe,me.FORBID_CONTENTS,Ze)),$e&&(N["#text"]=!0),ve&&addToSet(N,["html","head","body"]),N.table&&(addToSet(N,["tbody"]),delete ie.tbody),me.TRUSTED_TYPES_POLICY){if(typeof me.TRUSTED_TYPES_POLICY.createHTML!="function")throw typeErrorCreate('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof me.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw typeErrorCreate('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');T=me.TRUSTED_TYPES_POLICY,$=T.createHTML("")}else T===void 0&&(T=_createTrustedTypesPolicy(g,s)),T!==null&&typeof $=="string"&&($=T.createHTML(""));freeze&&freeze(me),xt=me}},J=addToSet({},[...svg$1,...svgFilters,...svgDisallowed]),ce=addToSet({},[...mathMl$1,...mathMlDisallowed]),de=function(me){let Pe=E(me);(!Pe||!Pe.tagName)&&(Pe={namespaceURI:tt,tagName:"template"});const je=stringToLowerCase(me.tagName),St=stringToLowerCase(Pe.tagName);return Rt[me.namespaceURI]?me.namespaceURI===Ye?Pe.namespaceURI===ot?je==="svg":Pe.namespaceURI===ct?je==="svg"&&(St==="annotation-xml"||Ke[St]):!!J[je]:me.namespaceURI===ct?Pe.namespaceURI===ot?je==="math":Pe.namespaceURI===Ye?je==="math"&&Ct[St]:!!ce[je]:me.namespaceURI===ot?Pe.namespaceURI===Ye&&!Ct[St]||Pe.namespaceURI===ct&&!Ke[St]?!1:!ce[je]&&(ht[je]||!J[je]):!!(Ue==="application/xhtml+xml"&&Rt[me.namespaceURI]):!1},ge=function(me){arrayPush(t.removed,{element:me});try{E(me).removeChild(me)}catch{w(me)}},xe=function(me,Pe){try{arrayPush(t.removed,{attribute:Pe.getAttributeNode(me),from:Pe})}catch{arrayPush(t.removed,{attribute:null,from:Pe})}if(Pe.removeAttribute(me),me==="is")if(De||Ie)try{ge(Pe)}catch{}else try{Pe.setAttribute(me,"")}catch{}},Xe=function(me){let Pe=null,je=null;if(Ee)me="<remove></remove>"+me;else{const Lt=stringMatch(me,/^[\r\n\t ]+/);je=Lt&&Lt[0]}Ue==="application/xhtml+xml"&&tt===ot&&(me='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+me+"</body></html>");const St=T?T.createHTML(me):me;if(tt===ot)try{Pe=new v().parseFromString(St,Ue)}catch{}if(!Pe||!Pe.documentElement){Pe=P.createDocument(tt,"template",null);try{Pe.documentElement.innerHTML=ze?$:St}catch{}}const Pt=Pe.body||Pe.documentElement;return me&&je&&Pt.insertBefore(a.createTextNode(je),Pt.childNodes[0]||null),tt===ot?j.call(Pe,ve?"html":"body")[0]:ve?Pe.documentElement:Pt},Qe=function(me){return F.call(me.ownerDocument||me,me,h.SHOW_ELEMENT|h.SHOW_COMMENT|h.SHOW_TEXT|h.SHOW_PROCESSING_INSTRUCTION|h.SHOW_CDATA_SECTION,null)},Ve=function(me){return me instanceof p&&(typeof me.nodeName!="string"||typeof me.textContent!="string"||typeof me.removeChild!="function"||!(me.attributes instanceof d)||typeof me.removeAttribute!="function"||typeof me.setAttribute!="function"||typeof me.namespaceURI!="string"||typeof me.insertBefore!="function"||typeof me.hasChildNodes!="function")},nt=function(me){return typeof c=="function"&&me instanceof c};function Ne(et,me,Pe){arrayForEach(et,je=>{je.call(t,me,Pe,xt)})}const We=function(me){let Pe=null;if(Ne(z.beforeSanitizeElements,me,null),Ve(me))return ge(me),!0;const je=Ze(me.nodeName);if(Ne(z.uponSanitizeElement,me,{tagName:je,allowedTags:N}),me.hasChildNodes()&&!nt(me.firstElementChild)&&regExpTest(/<[/\w]/g,me.innerHTML)&&regExpTest(/<[/\w]/g,me.textContent)||me.nodeType===NODE_TYPE.progressingInstruction||he&&me.nodeType===NODE_TYPE.comment&&regExpTest(/<[/\w]/g,me.data))return ge(me),!0;if(!N[je]||ie[je]){if(!ie[je]&&gt(je)&&(oe.tagNameCheck instanceof RegExp&&regExpTest(oe.tagNameCheck,je)||oe.tagNameCheck instanceof Function&&oe.tagNameCheck(je)))return!1;if($e&&!qe[je]){const St=E(me)||me.parentNode,Pt=C(me)||me.childNodes;if(Pt&&St){const Lt=Pt.length;for(let _t=Lt-1;_t>=0;--_t){const Gt=x(Pt[_t],!0);Gt.__removalCount=(me.__removalCount||0)+1,St.insertBefore(Gt,S(me))}}}return ge(me),!0}return me instanceof f&&!de(me)||(je==="noscript"||je==="noembed"||je==="noframes")&&regExpTest(/<\/no(script|embed|frames)/i,me.innerHTML)?(ge(me),!0):(ae&&me.nodeType===NODE_TYPE.text&&(Pe=me.textContent,arrayForEach([D,L,A],St=>{Pe=stringReplace(Pe,St," ")}),me.textContent!==Pe&&(arrayPush(t.removed,{element:me.cloneNode()}),me.textContent=Pe)),Ne(z.afterSanitizeElements,me,null),!1)},Dt=function(me,Pe,je){if(Fe&&(Pe==="id"||Pe==="name")&&(je in a||je in vt))return!1;if(!(le&&!Q[Pe]&&regExpTest(R,Pe))){if(!(te&&regExpTest(I,Pe))){if(!U[Pe]||Q[Pe]){if(!(gt(me)&&(oe.tagNameCheck instanceof RegExp&&regExpTest(oe.tagNameCheck,me)||oe.tagNameCheck instanceof Function&&oe.tagNameCheck(me))&&(oe.attributeNameCheck instanceof RegExp&&regExpTest(oe.attributeNameCheck,Pe)||oe.attributeNameCheck instanceof Function&&oe.attributeNameCheck(Pe))||Pe==="is"&&oe.allowCustomizedBuiltInElements&&(oe.tagNameCheck instanceof RegExp&&regExpTest(oe.tagNameCheck,je)||oe.tagNameCheck instanceof Function&&oe.tagNameCheck(je))))return!1}else if(!Ge[Pe]){if(!regExpTest(Z,stringReplace(je,V,""))){if(!((Pe==="src"||Pe==="xlink:href"||Pe==="href")&&me!=="script"&&stringIndexOf(je,"data:")===0&&ut[me])){if(!(fe&&!regExpTest(H,stringReplace(je,V,"")))){if(je)return!1}}}}}}return!0},gt=function(me){return me!=="annotation-xml"&&stringMatch(me,q)},yt=function(me){Ne(z.beforeSanitizeAttributes,me,null);const{attributes:Pe}=me;if(!Pe||Ve(me))return;const je={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:U,forceKeepAttr:void 0};let St=Pe.length;for(;St--;){const Pt=Pe[St],{name:Lt,namespaceURI:_t,value:Gt}=Pt,tr=Ze(Lt);let Bt=Lt==="value"?Gt:stringTrim(Gt);if(je.attrName=tr,je.attrValue=Bt,je.keepAttr=!0,je.forceKeepAttr=void 0,Ne(z.uponSanitizeAttribute,me,je),Bt=je.attrValue,Te&&(tr==="id"||tr==="name")&&(xe(Lt,me),Bt=He+Bt),he&&regExpTest(/((--!?|])>)|<\/(style|title)/i,Bt)){xe(Lt,me);continue}if(je.forceKeepAttr||(xe(Lt,me),!je.keepAttr))continue;if(!ne&&regExpTest(/\/>/i,Bt)){xe(Lt,me);continue}ae&&arrayForEach([D,L,A],hr=>{Bt=stringReplace(Bt,hr," ")});const Qt=Ze(me.nodeName);if(Dt(Qt,tr,Bt)){if(T&&typeof g=="object"&&typeof g.getAttributeType=="function"&&!_t)switch(g.getAttributeType(Qt,tr)){case"TrustedHTML":{Bt=T.createHTML(Bt);break}case"TrustedScriptURL":{Bt=T.createScriptURL(Bt);break}}try{_t?me.setAttributeNS(_t,Lt,Bt):me.setAttribute(Lt,Bt),Ve(me)?ge(me):arrayPop(t.removed)}catch{}}}Ne(z.afterSanitizeAttributes,me,null)},dr=function et(me){let Pe=null;const je=Qe(me);for(Ne(z.beforeSanitizeShadowDOM,me,null);Pe=je.nextNode();)Ne(z.uponSanitizeShadowNode,Pe,null),We(Pe),yt(Pe),Pe.content instanceof l&&et(Pe.content);Ne(z.afterSanitizeShadowDOM,me,null)};return t.sanitize=function(et){let me=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Pe=null,je=null,St=null,Pt=null;if(ze=!et,ze&&(et="<!-->"),typeof et!="string"&&!nt(et))if(typeof et.toString=="function"){if(et=et.toString(),typeof et!="string")throw typeErrorCreate("dirty is not a string, aborting")}else throw typeErrorCreate("toString is not a function");if(!t.isSupported)return et;if(Ae||X(me),t.removed=[],typeof et=="string"&&(Oe=!1),Oe){if(et.nodeName){const Gt=Ze(et.nodeName);if(!N[Gt]||ie[Gt])throw typeErrorCreate("root node is forbidden and cannot be sanitized in-place")}}else if(et instanceof c)Pe=Xe("<!---->"),je=Pe.ownerDocument.importNode(et,!0),je.nodeType===NODE_TYPE.element&&je.nodeName==="BODY"||je.nodeName==="HTML"?Pe=je:Pe.appendChild(je);else{if(!De&&!ae&&!ve&&et.indexOf("<")===-1)return T&&be?T.createHTML(et):et;if(Pe=Xe(et),!Pe)return De?null:be?$:""}Pe&&Ee&&ge(Pe.firstChild);const Lt=Qe(Oe?et:Pe);for(;St=Lt.nextNode();)We(St),yt(St),St.content instanceof l&&dr(St.content);if(Oe)return et;if(De){if(Ie)for(Pt=W.call(Pe.ownerDocument);Pe.firstChild;)Pt.appendChild(Pe.firstChild);else Pt=Pe;return(U.shadowroot||U.shadowrootmode)&&(Pt=Y.call(o,Pt,!0)),Pt}let _t=ve?Pe.outerHTML:Pe.innerHTML;return ve&&N["!doctype"]&&Pe.ownerDocument&&Pe.ownerDocument.doctype&&Pe.ownerDocument.doctype.name&&regExpTest(DOCTYPE_NAME,Pe.ownerDocument.doctype.name)&&(_t="<!DOCTYPE "+Pe.ownerDocument.doctype.name+`>
417
+ */var setValue_1,hasRequiredSetValue;function requireSetValue(){if(hasRequiredSetValue)return setValue_1;hasRequiredSetValue=1;const{deleteProperty:n}=Reflect,t=requireIsPrimitive(),a=requireIsPlainObject(),o=g=>typeof g=="object"&&g!==null||typeof g=="function",s=g=>g==="__proto__"||g==="constructor"||g==="prototype",l=g=>{if(!t(g))throw new TypeError("Object keys must be strings or symbols");if(s(g))throw new Error(`Cannot set unsafe key: "${g}"`)},u=g=>Array.isArray(g)?g.flat().map(String).join(","):g,c=(g,b)=>{if(typeof g!="string"||!b)return g;let x=g+";";return b.arrays!==void 0&&(x+=`arrays=${b.arrays};`),b.separator!==void 0&&(x+=`separator=${b.separator};`),b.split!==void 0&&(x+=`split=${b.split};`),b.merge!==void 0&&(x+=`merge=${b.merge};`),b.preservePaths!==void 0&&(x+=`preservePaths=${b.preservePaths};`),x},f=(g,b,x)=>{const w=u(b?c(g,b):g);l(w);const S=v.cache.get(w)||x();return v.cache.set(w,S),S},h=(g,b={})=>{const x=b.separator||".",w=x==="/"?!1:b.preservePaths;if(typeof g=="string"&&w!==!1&&/\//.test(g))return[g];const S=[];let C="";const E=T=>{let $;T.trim()!==""&&Number.isInteger($=Number(T))?S.push($):S.push(T)};for(let T=0;T<g.length;T++){const $=g[T];if($==="\\"){C+=g[++T];continue}if($===x){E(C),C="";continue}C+=$}return C&&E(C),S},d=(g,b)=>b&&typeof b.split=="function"?b.split(g):typeof g=="symbol"?[g]:Array.isArray(g)?g:f(g,b,()=>h(g,b)),p=(g,b,x,w)=>{if(l(b),x===void 0)n(g,b);else if(w&&w.merge){const S=w.merge==="function"?w.merge:Object.assign;S&&a(g[b])&&a(x)?g[b]=S(g[b],x):g[b]=x}else g[b]=x;return g},v=(g,b,x,w)=>{if(!b||!o(g))return g;const S=d(b,w);let C=g;for(let E=0;E<S.length;E++){const T=S[E],$=S[E+1];if(l(T),$===void 0){p(C,T,x,w);break}if(typeof $=="number"&&!Array.isArray(C[T])){C=C[T]=[];continue}o(C[T])||(C[T]={}),C=C[T]}return g};return v.split=d,v.cache=new Map,v.clear=()=>{v.cache=new Map},setValue_1=v,setValue_1}var setValueExports=requireSetValue();const setValue=getDefaultExportFromCjs(setValueExports);function extractUrlPath({pathname:n}){return n.endsWith("/")?n.replace(/\/+$/,""):n}function extractAppUrlPath(n){const t=extractUrlPath(n),a="/"+APP_SIGNIN_PATH;return t.endsWith(a)?t.substring(0,t.length-a.length):t}function isURL(n){return HTTP_SCHEME_PATTERN.test(n)}function resolveUrl$1(n,t){return t?n.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):n}const TWENTY_FIVE_MILLISECONDS=25,FIFTY_MILLISECONDS=50,ONE_HUNDRED_MILLISECONDS=100,TWO_HUNDRED_MILLISECONDS=200,TWO_HUNDRED_FIFTY_MILLISECONDS=250,THREE_HUNDRED_MILLISECONDS=300,FIVE_HUNDRED_MILLISECONDS=500,ONE_SECOND$1=1e3,TWO_SECONDS=2e3,FIVE_SECONDS=5e3,TEN_SECONDS=1e4,THIRTY_SECONDS=3e4,ONE_MINUTE$1=6e4,TWO_MINUTES=12e4,FIVE_MINUTES=3e5,ONE_HOUR$1=36e5,SIX_HOURS=216e5,ONE_DAY$1=864e5,NINETY_DAYS=7776e6,stores={app:!0,attachment:!0,item:!0,mutex:!0,schema:!0,"schema-attachment":!0,session:!0,setting:!0,tab:!0,"tab-view-state":!0,"update-log":!0,workspace:!0,"workspace-sync":!0},STORE_NAMES=Object.keys(stores),DB_NAME="chillicream-nitro-insider";function getDatabaseName(){return self.appNamespace?`${DB_NAME}-${self.appNamespace}`:DB_NAME}function deleteEntity(n,t){return openDatabaseScope(a=>a.delete(n,t))}function getAllEntities(n){return openDatabaseScope(t=>t.getAll(n))}function getEntityByKey(n,t){return openDatabaseScope(a=>a.get(n,t))}function putEntity(n,t){return openDatabaseScope(async a=>{await a.put(n,t)})}async function updateEntityTransactional(n,t,a){let o=await n.get(t);return o&&(o=a(o),o&&await n.put(o)),o}function openDatabase(){return openDB(getDatabaseName())}async function openDatabaseScope(n){const t=await openDatabase();try{return await n(t)}finally{t.close()}}async function openTransactionScope(n,t,a,o,s){const l=await createTransaction(n,t,a);try{return s?await createAbortScope(()=>l.abort("transaction aborted"),()=>o(l,n.version),s):await o(l,n.version)}finally{await l.done}}function openDatabaseWithTransactionScope(n,t,a,o){return openDatabaseScope(s=>openTransactionScope(s,n,t,a,o))}function deleteDatabase(){return deleteDB(getDatabaseName())}async function databaseExists(n){const t=await window.indexedDB.databases(),a=getDatabaseName();return t.some(({name:o,version:s})=>o===a&&!0)}const camelizationCache=new Map;function camelizeString(n){let t=camelizationCache.get(n);return t||(t=n.split("-").reduce((a,o)=>(o&&(a!==""?(a+=o[0].toUpperCase(),a+=o.substring(1)):a=o),a),""),camelizationCache.set(n,t)),t}async function createTransaction(n,t,a){const o=n.transaction(t,a),s={},l={};for(const u of t){const c=o.objectStore(u),f=camelizeString(u);s[f]=c,l[f]={};for(const h of c.indexNames)l[f][h]=c.index(h)}return{abort:u=>abortWithError(o,u),done:o.done.catch(u=>{if(!isAbortError(u))throw u}),store:s,index:l}}function abortWithError(n,t){throw n.abort(),new Error(t)}function purgeByTenants(n){return openDatabaseWithTransactionScope(STORE_NAMES,"readwrite",async t=>{const a=[];for(const s of n)a.push(purgeByTenantTransactional(t,s));await Promise.all(a);const o=[];for await(const{value:s}of t.store.session)o.push([s.sub,s.apiUrl]);for await(const{value:s}of t.store.setting)o.some(([l,u])=>l===s.sub&&u===s.apiUrl)||await t.store.setting.delete(s.id);o.length||(await t.store.app.delete(APP_AUTHENTICATION_STATE),await t.store.app.delete(APP_CURRENT_TENANT))})}async function purgeByTenantTransactional(n,t){const a=await n.index.workspace.user.getAll([t.tenant,t.sub,t.apiUrl]);if(!a.length)return;const o=await n.index.session.key.getAllKeys([t.sub,t.tenant,t.issuer]);await Promise.all([...o.map(s=>n.store.session.delete(s)),...a.map(({id:s})=>deleteWorkspaceTransactional(n,s))])}async function deleteWorkspaceTransactional(n,t){await Promise.all([n.store.workspace.delete(t),deleteWorkspaceTabStateTransactional(n,t),deleteWorkspaceAttachmentsTransactional(n,t),deleteWorkspaceItemsTransactional(n,t),deleteWorkspaceSyncEntriesTransactional(n,t)])}async function deleteWorkspaceTabStateTransactional(n,t){const a=await n.index.tabViewState.workspace.getAllKeys(t);await Promise.all([n.store.tab.delete(t),...a.map(o=>n.store.tabViewState.delete(o))])}async function deleteWorkspaceAttachmentsTransactional(n,t){const a=[];let o=await n.index.attachment.workspace.openKeyCursor(t);for(;o;)a.push(n.store.attachment.delete(o.primaryKey)),o=await o.continue();await Promise.all(a)}async function deleteWorkspaceItemsTransactional(n,t){const a=[];let o=await n.index.item.workspace.openKeyCursor(t);for(;o;)a.push(n.store.item.delete(o.primaryKey)),o=await o.continue();await Promise.all(a)}async function deleteWorkspaceSyncEntriesTransactional(n,t){const a=[];let o=await n.index.workspaceSync.workspace.openKeyCursor(t);for(;o;)a.push(n.store.workspaceSync.delete(o.primaryKey)),o=await o.continue();await Promise.all(a)}globalThis.idbGet=function(n,t){return openDatabaseScope(async a=>{console.log("IDB_GET",{store:n,key:t,data:await a.get(n,t)})})};globalThis.idbSet=function(n,t,a){return openDatabaseScope(async o=>{console.log("IDB_SET",{store:n,key:a,value:t,result:await o.put(n,t,a)})})};function areTenantsEqual(n,t){return n?.tenant===t?.tenant&&n?.sub===t?.sub&&n?.login===t?.login&&n?.apiUrl===t?.apiUrl&&n?.issuer===t?.issuer}async function getUserSession({sub:n,tenant:t,issuer:a}){return openDatabaseWithTransactionScope(["session"],"readonly",o=>o.index.session.key.get([n,t,a]))}async function getUserSessions(){return getAllEntities("session")}async function replaceUserSession(n){return await putEntity("session",n),n}const APP_KEY="app";function getAppValue(n){return getEntityByKey(APP_KEY,n)}function putAppValue(n,t){return openDatabaseScope(async a=>{await a.put(APP_KEY,t,n)})}const APP_SHELL_KEY="shell";function getShell(){return getAppValue(APP_SHELL_KEY)}function setShell(n){return putAppValue(APP_SHELL_KEY,n)}const APP_TELEMETRY_KEY="telemetry";function getTelemetry(){return getAppValue(APP_TELEMETRY_KEY)}function setTelemetry(n){return putAppValue(APP_TELEMETRY_KEY,n)}const APP_AUTHENTICATION_STATE="auth-state";function deleteAuthenticationState(){return deleteEntity("app",APP_AUTHENTICATION_STATE)}function getAuthenticationState(){return getEntityByKey("app",APP_AUTHENTICATION_STATE)}function setAuthenticationState(n){return putAppValue(APP_AUTHENTICATION_STATE,n)}const APP_CURRENT_TENANT="current-tenant";function getCurrentTenant(){return getEntityByKey("app",APP_CURRENT_TENANT)}function setCurrentTenant(n){return putAppValue(APP_CURRENT_TENANT,n)}function getAppSession(n){return openDatabaseWithTransactionScope([APP_KEY,"session"],"readonly",t=>Promise.all([t.store.app.get(APP_CURRENT_TENANT),t.store.session.getAll()]).then(([a,o])=>{if(!o)return null;const s=a?o.find(l=>areTenantsEqual(l,a)):void 0;return{userSessions:o,activeSession:s}}),n)}const APP_VERSION="app-version";function setAppVersion(n){return putAppValue(APP_VERSION,n)}const CURRENT_THEME="current-theme";async function getCurrentTheme(){return await getAppValue(CURRENT_THEME)}function setCurrentTheme(n){return putAppValue(CURRENT_THEME,n)}const editors=new Map,editorRegistry={get(n){return editors.get(n)},register(n,t){return editors.set(n,t),()=>{editors.delete(n)}},getAll(){return Array.from(editors.values())}};function createModelUri(n,t){return Uri.parse(n+"/"+t)}function getOperationsEditor(){return editorRegistry.get("operations")}function getOperationsResponseEditor(){return editorRegistry.get("response")}function getOperationsVariablesEditor(){return editorRegistry.get("variables")}function noop$1(){}function asyncNoop(){return Promise.resolve()}function registerEditorSchemas(n,t,a){const{diagnosticsOptions:o}=languages.json.jsonDefaults;let s=o.schemas??[];const l={uri:t,fileMatch:[n.path],schema:a};s.some(u=>u.uri===t)?s=s.map(u=>u.uri===t?l:u):s=[...s,l],languages.json.jsonDefaults.setDiagnosticsOptions({...o,schemas:s,trailingCommas:"error",validate:!0})}function unregisterEditorSchemas(n){const{diagnosticsOptions:t}=languages.json.jsonDefaults;t.schemas?.length&&languages.json.jsonDefaults.setDiagnosticsOptions({...t,schemas:t.schemas.filter(a=>a.uri!==n)})}function disableCertainDefaultShortcuts(n){["toggleFindCaseSensitive","toggleFindInSelection","toggleFindRegex","toggleFindWholeWord","togglePreserveCase"].forEach(a=>{n._standaloneKeybindingService.addDynamicKeybinding(`-${a}`,0,noop$1,!1)})}function isCodeEditor(n){return n.getEditorType()==="vs.editor.ICodeEditor"}/*! @license DOMPurify 3.2.4 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.2.4/LICENSE */const{entries,setPrototypeOf,isFrozen,getPrototypeOf,getOwnPropertyDescriptor}=Object;let{freeze,seal,create:create$3}=Object,{apply,construct}=typeof Reflect<"u"&&Reflect;freeze||(freeze=function(t){return t});seal||(seal=function(t){return t});apply||(apply=function(t,a,o){return t.apply(a,o)});construct||(construct=function(t,a){return new t(...a)});const arrayForEach=unapply(Array.prototype.forEach),arrayLastIndexOf=unapply(Array.prototype.lastIndexOf),arrayPop=unapply(Array.prototype.pop),arrayPush=unapply(Array.prototype.push),arraySplice=unapply(Array.prototype.splice),stringToLowerCase=unapply(String.prototype.toLowerCase),stringToString=unapply(String.prototype.toString),stringMatch=unapply(String.prototype.match),stringReplace=unapply(String.prototype.replace),stringIndexOf=unapply(String.prototype.indexOf),stringTrim=unapply(String.prototype.trim),objectHasOwnProperty=unapply(Object.prototype.hasOwnProperty),regExpTest=unapply(RegExp.prototype.test),typeErrorCreate=unconstruct(TypeError);function unapply(n){return function(t){for(var a=arguments.length,o=new Array(a>1?a-1:0),s=1;s<a;s++)o[s-1]=arguments[s];return apply(n,t,o)}}function unconstruct(n){return function(){for(var t=arguments.length,a=new Array(t),o=0;o<t;o++)a[o]=arguments[o];return construct(n,a)}}function addToSet(n,t){let a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:stringToLowerCase;setPrototypeOf&&setPrototypeOf(n,null);let o=t.length;for(;o--;){let s=t[o];if(typeof s=="string"){const l=a(s);l!==s&&(isFrozen(t)||(t[o]=l),s=l)}n[s]=!0}return n}function cleanArray(n){for(let t=0;t<n.length;t++)objectHasOwnProperty(n,t)||(n[t]=null);return n}function clone$5(n){const t=create$3(null);for(const[a,o]of entries(n))objectHasOwnProperty(n,a)&&(Array.isArray(o)?t[a]=cleanArray(o):o&&typeof o=="object"&&o.constructor===Object?t[a]=clone$5(o):t[a]=o);return t}function lookupGetter(n,t){for(;n!==null;){const o=getOwnPropertyDescriptor(n,t);if(o){if(o.get)return unapply(o.get);if(typeof o.value=="function")return unapply(o.value)}n=getPrototypeOf(n)}function a(){return null}return a}const html$1=freeze(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),svg$1=freeze(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),svgFilters=freeze(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),svgDisallowed=freeze(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),mathMl$1=freeze(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),mathMlDisallowed=freeze(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),text=freeze(["#text"]),html=freeze(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),svg=freeze(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),mathMl=freeze(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),xml=freeze(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),MUSTACHE_EXPR=seal(/\{\{[\w\W]*|[\w\W]*\}\}/gm),ERB_EXPR=seal(/<%[\w\W]*|[\w\W]*%>/gm),TMPLIT_EXPR=seal(/\$\{[\w\W]*/gm),DATA_ATTR=seal(/^data-[\-\w.\u00B7-\uFFFF]+$/),ARIA_ATTR=seal(/^aria-[\-\w]+$/),IS_ALLOWED_URI=seal(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),IS_SCRIPT_OR_DATA=seal(/^(?:\w+script|data):/i),ATTR_WHITESPACE=seal(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),DOCTYPE_NAME=seal(/^html$/i),CUSTOM_ELEMENT=seal(/^[a-z][.\w]*(-[.\w]+)+$/i);var EXPRESSIONS=Object.freeze({__proto__:null,ARIA_ATTR,ATTR_WHITESPACE,CUSTOM_ELEMENT,DATA_ATTR,DOCTYPE_NAME,ERB_EXPR,IS_ALLOWED_URI,IS_SCRIPT_OR_DATA,MUSTACHE_EXPR,TMPLIT_EXPR});const NODE_TYPE={element:1,text:3,progressingInstruction:7,comment:8,document:9},getGlobal=function(){return typeof window>"u"?null:window},_createTrustedTypesPolicy=function(t,a){if(typeof t!="object"||typeof t.createPolicy!="function")return null;let o=null;const s="data-tt-policy-suffix";a&&a.hasAttribute(s)&&(o=a.getAttribute(s));const l="dompurify"+(o?"#"+o:"");try{return t.createPolicy(l,{createHTML(u){return u},createScriptURL(u){return u}})}catch{return console.warn("TrustedTypes policy "+l+" could not be created."),null}},_createHooksMap=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}};function createDOMPurify(){let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:getGlobal();const t=et=>createDOMPurify(et);if(t.version="3.2.4",t.removed=[],!n||!n.document||n.document.nodeType!==NODE_TYPE.document||!n.Element)return t.isSupported=!1,t;let{document:a}=n;const o=a,s=o.currentScript,{DocumentFragment:l,HTMLTemplateElement:u,Node:c,Element:f,NodeFilter:h,NamedNodeMap:d=n.NamedNodeMap||n.MozNamedAttrMap,HTMLFormElement:p,DOMParser:v,trustedTypes:g}=n,b=f.prototype,x=lookupGetter(b,"cloneNode"),w=lookupGetter(b,"remove"),S=lookupGetter(b,"nextSibling"),C=lookupGetter(b,"childNodes"),E=lookupGetter(b,"parentNode");if(typeof u=="function"){const et=a.createElement("template");et.content&&et.content.ownerDocument&&(a=et.content.ownerDocument)}let T,$="";const{implementation:P,createNodeIterator:F,createDocumentFragment:W,getElementsByTagName:j}=a,{importNode:Y}=o;let z=_createHooksMap();t.isSupported=typeof entries=="function"&&typeof E=="function"&&P&&P.createHTMLDocument!==void 0;const{MUSTACHE_EXPR:D,ERB_EXPR:L,TMPLIT_EXPR:A,DATA_ATTR:R,ARIA_ATTR:I,IS_SCRIPT_OR_DATA:H,ATTR_WHITESPACE:V,CUSTOM_ELEMENT:q}=EXPRESSIONS;let{IS_ALLOWED_URI:Z}=EXPRESSIONS,N=null;const B=addToSet({},[...html$1,...svg$1,...svgFilters,...mathMl$1,...text]);let U=null;const ee=addToSet({},[...html,...svg,...mathMl,...xml]);let oe=Object.seal(create$3(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),ie=null,Q=null,te=!0,le=!0,fe=!1,ne=!0,ae=!1,he=!0,ve=!1,Ae=!1,Ee=!1,De=!1,Ie=!1,be=!1,Fe=!0,Te=!1;const He="user-content-";let $e=!0,Oe=!1,st={},qe=null;const ke=addToSet({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let ut=null;const Je=addToSet({},["audio","video","img","source","image","track"]);let Ge=null;const wt=addToSet({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),ct="http://www.w3.org/1998/Math/MathML",Ye="http://www.w3.org/2000/svg",ot="http://www.w3.org/1999/xhtml";let tt=ot,ze=!1,Rt=null;const dt=addToSet({},[ct,Ye,ot],stringToString);let Ke=addToSet({},["mi","mo","mn","ms","mtext"]),Ct=addToSet({},["annotation-xml"]);const ht=addToSet({},["title","style","font","a","script"]);let Ue=null;const bt=["application/xhtml+xml","text/html"],ft="text/html";let Ze=null,xt=null;const vt=a.createElement("form"),se=function(me){return me instanceof RegExp||me instanceof Function},X=function(){let me=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!(xt&&xt===me)){if((!me||typeof me!="object")&&(me={}),me=clone$5(me),Ue=bt.indexOf(me.PARSER_MEDIA_TYPE)===-1?ft:me.PARSER_MEDIA_TYPE,Ze=Ue==="application/xhtml+xml"?stringToString:stringToLowerCase,N=objectHasOwnProperty(me,"ALLOWED_TAGS")?addToSet({},me.ALLOWED_TAGS,Ze):B,U=objectHasOwnProperty(me,"ALLOWED_ATTR")?addToSet({},me.ALLOWED_ATTR,Ze):ee,Rt=objectHasOwnProperty(me,"ALLOWED_NAMESPACES")?addToSet({},me.ALLOWED_NAMESPACES,stringToString):dt,Ge=objectHasOwnProperty(me,"ADD_URI_SAFE_ATTR")?addToSet(clone$5(wt),me.ADD_URI_SAFE_ATTR,Ze):wt,ut=objectHasOwnProperty(me,"ADD_DATA_URI_TAGS")?addToSet(clone$5(Je),me.ADD_DATA_URI_TAGS,Ze):Je,qe=objectHasOwnProperty(me,"FORBID_CONTENTS")?addToSet({},me.FORBID_CONTENTS,Ze):ke,ie=objectHasOwnProperty(me,"FORBID_TAGS")?addToSet({},me.FORBID_TAGS,Ze):{},Q=objectHasOwnProperty(me,"FORBID_ATTR")?addToSet({},me.FORBID_ATTR,Ze):{},st=objectHasOwnProperty(me,"USE_PROFILES")?me.USE_PROFILES:!1,te=me.ALLOW_ARIA_ATTR!==!1,le=me.ALLOW_DATA_ATTR!==!1,fe=me.ALLOW_UNKNOWN_PROTOCOLS||!1,ne=me.ALLOW_SELF_CLOSE_IN_ATTR!==!1,ae=me.SAFE_FOR_TEMPLATES||!1,he=me.SAFE_FOR_XML!==!1,ve=me.WHOLE_DOCUMENT||!1,De=me.RETURN_DOM||!1,Ie=me.RETURN_DOM_FRAGMENT||!1,be=me.RETURN_TRUSTED_TYPE||!1,Ee=me.FORCE_BODY||!1,Fe=me.SANITIZE_DOM!==!1,Te=me.SANITIZE_NAMED_PROPS||!1,$e=me.KEEP_CONTENT!==!1,Oe=me.IN_PLACE||!1,Z=me.ALLOWED_URI_REGEXP||IS_ALLOWED_URI,tt=me.NAMESPACE||ot,Ke=me.MATHML_TEXT_INTEGRATION_POINTS||Ke,Ct=me.HTML_INTEGRATION_POINTS||Ct,oe=me.CUSTOM_ELEMENT_HANDLING||{},me.CUSTOM_ELEMENT_HANDLING&&se(me.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(oe.tagNameCheck=me.CUSTOM_ELEMENT_HANDLING.tagNameCheck),me.CUSTOM_ELEMENT_HANDLING&&se(me.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(oe.attributeNameCheck=me.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),me.CUSTOM_ELEMENT_HANDLING&&typeof me.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(oe.allowCustomizedBuiltInElements=me.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),ae&&(le=!1),Ie&&(De=!0),st&&(N=addToSet({},text),U=[],st.html===!0&&(addToSet(N,html$1),addToSet(U,html)),st.svg===!0&&(addToSet(N,svg$1),addToSet(U,svg),addToSet(U,xml)),st.svgFilters===!0&&(addToSet(N,svgFilters),addToSet(U,svg),addToSet(U,xml)),st.mathMl===!0&&(addToSet(N,mathMl$1),addToSet(U,mathMl),addToSet(U,xml))),me.ADD_TAGS&&(N===B&&(N=clone$5(N)),addToSet(N,me.ADD_TAGS,Ze)),me.ADD_ATTR&&(U===ee&&(U=clone$5(U)),addToSet(U,me.ADD_ATTR,Ze)),me.ADD_URI_SAFE_ATTR&&addToSet(Ge,me.ADD_URI_SAFE_ATTR,Ze),me.FORBID_CONTENTS&&(qe===ke&&(qe=clone$5(qe)),addToSet(qe,me.FORBID_CONTENTS,Ze)),$e&&(N["#text"]=!0),ve&&addToSet(N,["html","head","body"]),N.table&&(addToSet(N,["tbody"]),delete ie.tbody),me.TRUSTED_TYPES_POLICY){if(typeof me.TRUSTED_TYPES_POLICY.createHTML!="function")throw typeErrorCreate('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof me.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw typeErrorCreate('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');T=me.TRUSTED_TYPES_POLICY,$=T.createHTML("")}else T===void 0&&(T=_createTrustedTypesPolicy(g,s)),T!==null&&typeof $=="string"&&($=T.createHTML(""));freeze&&freeze(me),xt=me}},J=addToSet({},[...svg$1,...svgFilters,...svgDisallowed]),ce=addToSet({},[...mathMl$1,...mathMlDisallowed]),de=function(me){let Pe=E(me);(!Pe||!Pe.tagName)&&(Pe={namespaceURI:tt,tagName:"template"});const je=stringToLowerCase(me.tagName),St=stringToLowerCase(Pe.tagName);return Rt[me.namespaceURI]?me.namespaceURI===Ye?Pe.namespaceURI===ot?je==="svg":Pe.namespaceURI===ct?je==="svg"&&(St==="annotation-xml"||Ke[St]):!!J[je]:me.namespaceURI===ct?Pe.namespaceURI===ot?je==="math":Pe.namespaceURI===Ye?je==="math"&&Ct[St]:!!ce[je]:me.namespaceURI===ot?Pe.namespaceURI===Ye&&!Ct[St]||Pe.namespaceURI===ct&&!Ke[St]?!1:!ce[je]&&(ht[je]||!J[je]):!!(Ue==="application/xhtml+xml"&&Rt[me.namespaceURI]):!1},ge=function(me){arrayPush(t.removed,{element:me});try{E(me).removeChild(me)}catch{w(me)}},xe=function(me,Pe){try{arrayPush(t.removed,{attribute:Pe.getAttributeNode(me),from:Pe})}catch{arrayPush(t.removed,{attribute:null,from:Pe})}if(Pe.removeAttribute(me),me==="is")if(De||Ie)try{ge(Pe)}catch{}else try{Pe.setAttribute(me,"")}catch{}},Xe=function(me){let Pe=null,je=null;if(Ee)me="<remove></remove>"+me;else{const Lt=stringMatch(me,/^[\r\n\t ]+/);je=Lt&&Lt[0]}Ue==="application/xhtml+xml"&&tt===ot&&(me='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+me+"</body></html>");const St=T?T.createHTML(me):me;if(tt===ot)try{Pe=new v().parseFromString(St,Ue)}catch{}if(!Pe||!Pe.documentElement){Pe=P.createDocument(tt,"template",null);try{Pe.documentElement.innerHTML=ze?$:St}catch{}}const Pt=Pe.body||Pe.documentElement;return me&&je&&Pt.insertBefore(a.createTextNode(je),Pt.childNodes[0]||null),tt===ot?j.call(Pe,ve?"html":"body")[0]:ve?Pe.documentElement:Pt},Qe=function(me){return F.call(me.ownerDocument||me,me,h.SHOW_ELEMENT|h.SHOW_COMMENT|h.SHOW_TEXT|h.SHOW_PROCESSING_INSTRUCTION|h.SHOW_CDATA_SECTION,null)},Ve=function(me){return me instanceof p&&(typeof me.nodeName!="string"||typeof me.textContent!="string"||typeof me.removeChild!="function"||!(me.attributes instanceof d)||typeof me.removeAttribute!="function"||typeof me.setAttribute!="function"||typeof me.namespaceURI!="string"||typeof me.insertBefore!="function"||typeof me.hasChildNodes!="function")},nt=function(me){return typeof c=="function"&&me instanceof c};function Ne(et,me,Pe){arrayForEach(et,je=>{je.call(t,me,Pe,xt)})}const We=function(me){let Pe=null;if(Ne(z.beforeSanitizeElements,me,null),Ve(me))return ge(me),!0;const je=Ze(me.nodeName);if(Ne(z.uponSanitizeElement,me,{tagName:je,allowedTags:N}),me.hasChildNodes()&&!nt(me.firstElementChild)&&regExpTest(/<[/\w]/g,me.innerHTML)&&regExpTest(/<[/\w]/g,me.textContent)||me.nodeType===NODE_TYPE.progressingInstruction||he&&me.nodeType===NODE_TYPE.comment&&regExpTest(/<[/\w]/g,me.data))return ge(me),!0;if(!N[je]||ie[je]){if(!ie[je]&&gt(je)&&(oe.tagNameCheck instanceof RegExp&&regExpTest(oe.tagNameCheck,je)||oe.tagNameCheck instanceof Function&&oe.tagNameCheck(je)))return!1;if($e&&!qe[je]){const St=E(me)||me.parentNode,Pt=C(me)||me.childNodes;if(Pt&&St){const Lt=Pt.length;for(let _t=Lt-1;_t>=0;--_t){const Gt=x(Pt[_t],!0);Gt.__removalCount=(me.__removalCount||0)+1,St.insertBefore(Gt,S(me))}}}return ge(me),!0}return me instanceof f&&!de(me)||(je==="noscript"||je==="noembed"||je==="noframes")&&regExpTest(/<\/no(script|embed|frames)/i,me.innerHTML)?(ge(me),!0):(ae&&me.nodeType===NODE_TYPE.text&&(Pe=me.textContent,arrayForEach([D,L,A],St=>{Pe=stringReplace(Pe,St," ")}),me.textContent!==Pe&&(arrayPush(t.removed,{element:me.cloneNode()}),me.textContent=Pe)),Ne(z.afterSanitizeElements,me,null),!1)},Dt=function(me,Pe,je){if(Fe&&(Pe==="id"||Pe==="name")&&(je in a||je in vt))return!1;if(!(le&&!Q[Pe]&&regExpTest(R,Pe))){if(!(te&&regExpTest(I,Pe))){if(!U[Pe]||Q[Pe]){if(!(gt(me)&&(oe.tagNameCheck instanceof RegExp&&regExpTest(oe.tagNameCheck,me)||oe.tagNameCheck instanceof Function&&oe.tagNameCheck(me))&&(oe.attributeNameCheck instanceof RegExp&&regExpTest(oe.attributeNameCheck,Pe)||oe.attributeNameCheck instanceof Function&&oe.attributeNameCheck(Pe))||Pe==="is"&&oe.allowCustomizedBuiltInElements&&(oe.tagNameCheck instanceof RegExp&&regExpTest(oe.tagNameCheck,je)||oe.tagNameCheck instanceof Function&&oe.tagNameCheck(je))))return!1}else if(!Ge[Pe]){if(!regExpTest(Z,stringReplace(je,V,""))){if(!((Pe==="src"||Pe==="xlink:href"||Pe==="href")&&me!=="script"&&stringIndexOf(je,"data:")===0&&ut[me])){if(!(fe&&!regExpTest(H,stringReplace(je,V,"")))){if(je)return!1}}}}}}return!0},gt=function(me){return me!=="annotation-xml"&&stringMatch(me,q)},yt=function(me){Ne(z.beforeSanitizeAttributes,me,null);const{attributes:Pe}=me;if(!Pe||Ve(me))return;const je={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:U,forceKeepAttr:void 0};let St=Pe.length;for(;St--;){const Pt=Pe[St],{name:Lt,namespaceURI:_t,value:Gt}=Pt,tr=Ze(Lt);let Bt=Lt==="value"?Gt:stringTrim(Gt);if(je.attrName=tr,je.attrValue=Bt,je.keepAttr=!0,je.forceKeepAttr=void 0,Ne(z.uponSanitizeAttribute,me,je),Bt=je.attrValue,Te&&(tr==="id"||tr==="name")&&(xe(Lt,me),Bt=He+Bt),he&&regExpTest(/((--!?|])>)|<\/(style|title)/i,Bt)){xe(Lt,me);continue}if(je.forceKeepAttr||(xe(Lt,me),!je.keepAttr))continue;if(!ne&&regExpTest(/\/>/i,Bt)){xe(Lt,me);continue}ae&&arrayForEach([D,L,A],hr=>{Bt=stringReplace(Bt,hr," ")});const Qt=Ze(me.nodeName);if(Dt(Qt,tr,Bt)){if(T&&typeof g=="object"&&typeof g.getAttributeType=="function"&&!_t)switch(g.getAttributeType(Qt,tr)){case"TrustedHTML":{Bt=T.createHTML(Bt);break}case"TrustedScriptURL":{Bt=T.createScriptURL(Bt);break}}try{_t?me.setAttributeNS(_t,Lt,Bt):me.setAttribute(Lt,Bt),Ve(me)?ge(me):arrayPop(t.removed)}catch{}}}Ne(z.afterSanitizeAttributes,me,null)},dr=function et(me){let Pe=null;const je=Qe(me);for(Ne(z.beforeSanitizeShadowDOM,me,null);Pe=je.nextNode();)Ne(z.uponSanitizeShadowNode,Pe,null),We(Pe),yt(Pe),Pe.content instanceof l&&et(Pe.content);Ne(z.afterSanitizeShadowDOM,me,null)};return t.sanitize=function(et){let me=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Pe=null,je=null,St=null,Pt=null;if(ze=!et,ze&&(et="<!-->"),typeof et!="string"&&!nt(et))if(typeof et.toString=="function"){if(et=et.toString(),typeof et!="string")throw typeErrorCreate("dirty is not a string, aborting")}else throw typeErrorCreate("toString is not a function");if(!t.isSupported)return et;if(Ae||X(me),t.removed=[],typeof et=="string"&&(Oe=!1),Oe){if(et.nodeName){const Gt=Ze(et.nodeName);if(!N[Gt]||ie[Gt])throw typeErrorCreate("root node is forbidden and cannot be sanitized in-place")}}else if(et instanceof c)Pe=Xe("<!---->"),je=Pe.ownerDocument.importNode(et,!0),je.nodeType===NODE_TYPE.element&&je.nodeName==="BODY"||je.nodeName==="HTML"?Pe=je:Pe.appendChild(je);else{if(!De&&!ae&&!ve&&et.indexOf("<")===-1)return T&&be?T.createHTML(et):et;if(Pe=Xe(et),!Pe)return De?null:be?$:""}Pe&&Ee&&ge(Pe.firstChild);const Lt=Qe(Oe?et:Pe);for(;St=Lt.nextNode();)We(St),yt(St),St.content instanceof l&&dr(St.content);if(Oe)return et;if(De){if(Ie)for(Pt=W.call(Pe.ownerDocument);Pe.firstChild;)Pt.appendChild(Pe.firstChild);else Pt=Pe;return(U.shadowroot||U.shadowrootmode)&&(Pt=Y.call(o,Pt,!0)),Pt}let _t=ve?Pe.outerHTML:Pe.innerHTML;return ve&&N["!doctype"]&&Pe.ownerDocument&&Pe.ownerDocument.doctype&&Pe.ownerDocument.doctype.name&&regExpTest(DOCTYPE_NAME,Pe.ownerDocument.doctype.name)&&(_t="<!DOCTYPE "+Pe.ownerDocument.doctype.name+`>
418
418
  `+_t),ae&&arrayForEach([D,L,A],Gt=>{_t=stringReplace(_t,Gt," ")}),T&&be?T.createHTML(_t):_t},t.setConfig=function(){let et=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};X(et),Ae=!0},t.clearConfig=function(){xt=null,Ae=!1},t.isValidAttribute=function(et,me,Pe){xt||X({});const je=Ze(et),St=Ze(me);return Dt(je,St,Pe)},t.addHook=function(et,me){typeof me=="function"&&arrayPush(z[et],me)},t.removeHook=function(et,me){if(me!==void 0){const Pe=arrayLastIndexOf(z[et],me);return Pe===-1?void 0:arraySplice(z[et],Pe,1)[0]}return arrayPop(z[et])},t.removeHooks=function(et){z[et]=[]},t.removeAllHooks=function(){z=_createHooksMap()},t}var purify=createDOMPurify();function getDefaults(){return{async:!1,baseUrl:null,breaks:!1,extensions:null,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,hooks:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1}}let defaults$1=getDefaults();function changeDefaults(n){defaults$1=n}const escapeTest=/[&<>"']/,escapeReplace=new RegExp(escapeTest.source,"g"),escapeTestNoEncode=/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,escapeReplaceNoEncode=new RegExp(escapeTestNoEncode.source,"g"),escapeReplacements={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},getEscapeReplacement=n=>escapeReplacements[n];function escape$1(n,t){if(t){if(escapeTest.test(n))return n.replace(escapeReplace,getEscapeReplacement)}else if(escapeTestNoEncode.test(n))return n.replace(escapeReplaceNoEncode,getEscapeReplacement);return n}const unescapeTest=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function unescape$1(n){return n.replace(unescapeTest,(t,a)=>(a=a.toLowerCase(),a==="colon"?":":a.charAt(0)==="#"?a.charAt(1)==="x"?String.fromCharCode(parseInt(a.substring(2),16)):String.fromCharCode(+a.substring(1)):""))}const caret=/(^|[^\[])\^/g;function edit(n,t){n=typeof n=="string"?n:n.source,t=t||"";const a={replace:(o,s)=>(s=s.source||s,s=s.replace(caret,"$1"),n=n.replace(o,s),a),getRegex:()=>new RegExp(n,t)};return a}const nonWordAndColonTest=/[^\w:]/g,originIndependentUrl=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function cleanUrl(n,t,a){if(n){let o;try{o=decodeURIComponent(unescape$1(a)).replace(nonWordAndColonTest,"").toLowerCase()}catch{return null}if(o.indexOf("javascript:")===0||o.indexOf("vbscript:")===0||o.indexOf("data:")===0)return null}t&&!originIndependentUrl.test(a)&&(a=resolveUrl(t,a));try{a=encodeURI(a).replace(/%25/g,"%")}catch{return null}return a}const baseUrls={},justDomain=/^[^:]+:\/*[^/]*$/,protocol=/^([^:]+:)[\s\S]*$/,domain=/^([^:]+:\/*[^/]*)[\s\S]*$/;function resolveUrl(n,t){baseUrls[" "+n]||(justDomain.test(n)?baseUrls[" "+n]=n+"/":baseUrls[" "+n]=rtrim(n,"/",!0)),n=baseUrls[" "+n];const a=n.indexOf(":")===-1;return t.substring(0,2)==="//"?a?t:n.replace(protocol,"$1")+t:t.charAt(0)==="/"?a?t:n.replace(domain,"$1")+t:n+t}const noopTest={exec:function(){}};function splitCells(n,t){const a=n.replace(/\|/g,(l,u,c)=>{let f=!1,h=u;for(;--h>=0&&c[h]==="\\";)f=!f;return f?"|":" |"}),o=a.split(/ \|/);let s=0;if(o[0].trim()||o.shift(),o.length>0&&!o[o.length-1].trim()&&o.pop(),o.length>t)o.splice(t);else for(;o.length<t;)o.push("");for(;s<o.length;s++)o[s]=o[s].trim().replace(/\\\|/g,"|");return o}function rtrim(n,t,a){const o=n.length;if(o===0)return"";let s=0;for(;s<o;){const l=n.charAt(o-s-1);if(l===t&&!a)s++;else if(l!==t&&a)s++;else break}return n.slice(0,o-s)}function findClosingBracket(n,t){if(n.indexOf(t[1])===-1)return-1;const a=n.length;let o=0,s=0;for(;s<a;s++)if(n[s]==="\\")s++;else if(n[s]===t[0])o++;else if(n[s]===t[1]&&(o--,o<0))return s;return-1}function checkSanitizeDeprecation(n){n&&n.sanitize&&!n.silent&&console.warn("marked(): sanitize and sanitizer parameters are deprecated since version 0.7.0, should not be used and will be removed in the future. Read more here: https://marked.js.org/#/USING_ADVANCED.md#options")}function repeatString(n,t){if(t<1)return"";let a="";for(;t>1;)t&1&&(a+=n),t>>=1,n+=n;return a+n}function outputLink(n,t,a,o){const s=t.href,l=t.title?escape$1(t.title):null,u=n[1].replace(/\\([\[\]])/g,"$1");if(n[0].charAt(0)!=="!"){o.state.inLink=!0;const c={type:"link",raw:a,href:s,title:l,text:u,tokens:o.inlineTokens(u)};return o.state.inLink=!1,c}return{type:"image",raw:a,href:s,title:l,text:escape$1(u)}}function indentCodeCompensation(n,t){const a=n.match(/^(\s+)(?:```)/);if(a===null)return t;const o=a[1];return t.split(`
419
419
  `).map(s=>{const l=s.match(/^\s+/);if(l===null)return s;const[u]=l;return u.length>=o.length?s.slice(o.length):s}).join(`
420
420
  `)}class Tokenizer{constructor(t){this.options=t||defaults$1}space(t){const a=this.rules.block.newline.exec(t);if(a&&a[0].length>0)return{type:"space",raw:a[0]}}code(t){const a=this.rules.block.code.exec(t);if(a){const o=a[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:a[0],codeBlockStyle:"indented",text:this.options.pedantic?o:rtrim(o,`
@@ -584,7 +584,7 @@ PERFORMANCE OF THIS SOFTWARE.
584
584
  bottom: 0;
585
585
  left: 0;
586
586
  margin: auto;
587
- `,Providers=reactExports.lazy(()=>__vitePreload(()=>import("./context-providers.cbb9dd2a.cIEPV5um.js").then(n=>n.aq),__vite__mapDeps([0,1,2,3]),import.meta.url));function Shell(){return window.appNamespace=IS_RUNNING_IN_CLOUD||IS_RUNNING_IN_ELECTRON?"":createAppNamespace(),jsx$1(ThemeProvider,{children:jsx$1(AppLoader,{children:jsx$1(reactExports.Suspense,{children:jsx$1(Providers,{})})})})}function createAppNamespace(){return createHash(extractAppUrlPath(window.location)).slice(0,8)}const container=document.getElementById("root");function getRootContainer(){return container}var client={exports:{}},reactDomClient_production={},scheduler={exports:{}},scheduler_production={};/**
587
+ `,Providers=reactExports.lazy(()=>__vitePreload(()=>import("./context-providers.cbb9dd2a.KPYm6HBX.js").then(n=>n.aq),__vite__mapDeps([0,1,2,3]),import.meta.url));function Shell(){return window.appNamespace=IS_RUNNING_IN_CLOUD||IS_RUNNING_IN_ELECTRON?"":createAppNamespace(),jsx$1(ThemeProvider,{children:jsx$1(AppLoader,{children:jsx$1(reactExports.Suspense,{children:jsx$1(Providers,{})})})})}function createAppNamespace(){return createHash(extractAppUrlPath(window.location)).slice(0,8)}const container=document.getElementById("root");function getRootContainer(){return container}var client={exports:{}},reactDomClient_production={},scheduler={exports:{}},scheduler_production={};/**
588
588
  * @license React
589
589
  * scheduler.production.js
590
590
  *