@veracity/ai 2.3.3 → 2.3.5
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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ButtonOptionsDialog.d.ts","sourceRoot":"","sources":["../../src/components/ButtonOptionsDialog.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAiD,eAAe,EAAE,MAAM,SAAS,CAAC;AACjH,OAAO,EAAE,+BAA+B,EAAE,MAAM,oCAAoC,CAAC;AAarF,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAE9C,qBAAa,mBAAoB,SAAQ,YAAY;aAKjC,OAAO,EAAE,+BAA+B;IAJ1D,QAAQ,CAAC,IAAI,EAAE,WAAW,CAAC;IAC3B,QAAQ,CAAC,OAAO,EAAE;QAAE,CAAC,KAAK,EAAE,MAAM,GAAG,yBAAyB,CAAA;KAAE,CAAM;IACtE,QAAQ,CAAC,eAAe,EAAE,mBAAmB,CAAC;gBAE5B,OAAO,EAAE,+BAA+B,EACxD,aAAa,EAAE,sBAAsB;IAwDvC,cAAc,CAAC,KAAK,EAAE,MAAM;
|
|
1
|
+
{"version":3,"file":"ButtonOptionsDialog.d.ts","sourceRoot":"","sources":["../../src/components/ButtonOptionsDialog.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAiD,eAAe,EAAE,MAAM,SAAS,CAAC;AACjH,OAAO,EAAE,+BAA+B,EAAE,MAAM,oCAAoC,CAAC;AAarF,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAE9C,qBAAa,mBAAoB,SAAQ,YAAY;aAKjC,OAAO,EAAE,+BAA+B;IAJ1D,QAAQ,CAAC,IAAI,EAAE,WAAW,CAAC;IAC3B,QAAQ,CAAC,OAAO,EAAE;QAAE,CAAC,KAAK,EAAE,MAAM,GAAG,yBAAyB,CAAA;KAAE,CAAM;IACtE,QAAQ,CAAC,eAAe,EAAE,mBAAmB,CAAC;gBAE5B,OAAO,EAAE,+BAA+B,EACxD,aAAa,EAAE,sBAAsB;IAwDvC,cAAc,CAAC,KAAK,EAAE,MAAM;IAK5B,oCAAoC,CAAC,KAAK,EAAE,MAAM;IAKlD,6BAA6B,CAAC,KAAK,KAAA;CAIpC;AAED,cAAM,yBAAyB;aAGX,MAAM,EAAE,mBAAmB;aAC3B,YAAY,EAAE,eAAe;IAH/C,QAAQ,CAAC,IAAI,EAAE,IAAI,CAAC;gBAEF,MAAM,EAAE,mBAAmB,EAC3B,YAAY,EAAE,eAAe;IAa/C,OAAO,CAAC,QAAQ,CAAa;YAEf,YAAY;IAW1B,QAAQ;IAKR,qBAAqB;CAGtB"}
|
package/dist/enums.d.ts
CHANGED
|
@@ -7,16 +7,16 @@ export declare enum ChatCompletionSSEMessageType {
|
|
|
7
7
|
MessageBegin = 0,// <conversation id><role><id><picture url><display name><email><background color>
|
|
8
8
|
MessageAppend = 1,// <conversation id><Markdown> The message to append to the current message, in the context of the current function
|
|
9
9
|
MessageToolCallUpdate = 2,// <conversation id><func id><idx int><name><args>
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
10
|
+
MessageToolCallResult = 3,// <conversation id><func id>//<content><icon><Markdown> Done message displayed on the UI
|
|
11
|
+
MessageToolCallError = 4,// <conversation id><func id>//<content><icon><Markdown str> Error message displayed on the UI
|
|
12
|
+
MessageExecuteLlmFunctionsBegin = 5,// <conversation id>
|
|
13
|
+
MessageExecuteLlmFunctionsEnd = 6,// <conversation id>
|
|
14
|
+
MessageInvokeClientFunction = 7,// <conversation id><func id><operation id><function name><arguments as json>
|
|
15
|
+
MessageInvokeClientFunctionResult = 8,// <operation id><result as json>
|
|
16
|
+
MessageInvokeClientFunctionError = 9,// <operation id><error>
|
|
17
|
+
MessageSubConversationBegin = 10,// <conversation id><sub conversation id><author id><author picture url><author display name><author email>
|
|
18
|
+
ConversationEnd = 11,// <conversation id> Conversation ended successfully, before the connection is terminated
|
|
19
|
+
ConversationError = 12,
|
|
20
|
+
MessageToolCallBegin = 13
|
|
21
21
|
}
|
|
22
22
|
//# sourceMappingURL=enums.d.ts.map
|
package/dist/enums.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"enums.d.ts","sourceRoot":"","sources":["../src/enums.ts"],"names":[],"mappings":"AAAA,oBAAY,0BAA0B;IACpC,QAAQ,IAAA;IACR,eAAe,IAAA;IACf,cAAc,IAAA;CACf;AAED,oBAAY,4BAA4B;IACtC,YAAY,IAAA,CAAE,kFAAkF;IAChG,aAAa,IAAA,CAAE,mHAAmH;IAClI,qBAAqB,IAAA,CAAE,kDAAkD;IACzE,
|
|
1
|
+
{"version":3,"file":"enums.d.ts","sourceRoot":"","sources":["../src/enums.ts"],"names":[],"mappings":"AAAA,oBAAY,0BAA0B;IACpC,QAAQ,IAAA;IACR,eAAe,IAAA;IACf,cAAc,IAAA;CACf;AAED,oBAAY,4BAA4B;IACtC,YAAY,IAAA,CAAE,kFAAkF;IAChG,aAAa,IAAA,CAAE,mHAAmH;IAClI,qBAAqB,IAAA,CAAE,kDAAkD;IACzE,qBAAqB,IAAA,CAAE,yFAAyF;IAChH,oBAAoB,IAAA,CAAE,8FAA8F;IACpH,+BAA+B,IAAA,CAAE,oBAAoB;IACrD,6BAA6B,IAAA,CAAE,oBAAoB;IACnD,2BAA2B,IAAA,CAAE,6EAA6E;IAC1G,iCAAiC,IAAA,CAAE,iCAAiC;IACpE,gCAAgC,IAAA,CAAE,wBAAwB;IAC1D,2BAA2B,KAAA,CAAE,2GAA2G;IAExI,eAAe,KAAA,CAAE,yFAAyF;IAC1G,iBAAiB,KAAA;IACjB,oBAAoB,KAAA;CACrB"}
|
package/dist/veracity-ai.es.js
CHANGED
|
@@ -45,7 +45,7 @@ class vn extends Error {
|
|
|
45
45
|
super("Max input limit reached.");
|
|
46
46
|
}
|
|
47
47
|
}
|
|
48
|
-
var Qe = /* @__PURE__ */ ((e) => (e[e.Messages = 0] = "Messages", e[e.OperationResult = 1] = "OperationResult", e[e.OperationError = 2] = "OperationError", e))(Qe || {}), j = /* @__PURE__ */ ((e) => (e[e.MessageBegin = 0] = "MessageBegin", e[e.MessageAppend = 1] = "MessageAppend", e[e.MessageToolCallUpdate = 2] = "MessageToolCallUpdate", e[e.
|
|
48
|
+
var Qe = /* @__PURE__ */ ((e) => (e[e.Messages = 0] = "Messages", e[e.OperationResult = 1] = "OperationResult", e[e.OperationError = 2] = "OperationError", e))(Qe || {}), j = /* @__PURE__ */ ((e) => (e[e.MessageBegin = 0] = "MessageBegin", e[e.MessageAppend = 1] = "MessageAppend", e[e.MessageToolCallUpdate = 2] = "MessageToolCallUpdate", e[e.MessageToolCallResult = 3] = "MessageToolCallResult", e[e.MessageToolCallError = 4] = "MessageToolCallError", e[e.MessageExecuteLlmFunctionsBegin = 5] = "MessageExecuteLlmFunctionsBegin", e[e.MessageExecuteLlmFunctionsEnd = 6] = "MessageExecuteLlmFunctionsEnd", e[e.MessageInvokeClientFunction = 7] = "MessageInvokeClientFunction", e[e.MessageInvokeClientFunctionResult = 8] = "MessageInvokeClientFunctionResult", e[e.MessageInvokeClientFunctionError = 9] = "MessageInvokeClientFunctionError", e[e.MessageSubConversationBegin = 10] = "MessageSubConversationBegin", e[e.ConversationEnd = 11] = "ConversationEnd", e[e.ConversationError = 12] = "ConversationError", e[e.MessageToolCallBegin = 13] = "MessageToolCallBegin", e))(j || {});
|
|
49
49
|
class st extends Error {
|
|
50
50
|
constructor(n = "Operation was cancelled.") {
|
|
51
51
|
super(n);
|
|
@@ -4991,7 +4991,7 @@ class qa extends ut {
|
|
|
4991
4991
|
);
|
|
4992
4992
|
}
|
|
4993
4993
|
onClientResult(t) {
|
|
4994
|
-
this.buttons[t].selected();
|
|
4994
|
+
this.buttons[t].selected(), this.buttonsFieldset.disabled = !0;
|
|
4995
4995
|
}
|
|
4996
4996
|
onOpcodeMessageToolCallErrorReceived(t) {
|
|
4997
4997
|
this.buttonsFieldset.disabled = !0;
|
package/dist/veracity-ai.umd.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
(function(kt,_){typeof exports=="object"&&typeof module<"u"?_(exports):typeof define=="function"&&define.amd?define(["exports"],_):(kt=typeof globalThis<"u"?globalThis:kt||self,_(kt.VeracityAI={}))})(this,function(kt){"use strict";var a4=Object.defineProperty;var s4=(kt,_,Je)=>_ in kt?a4(kt,_,{enumerable:!0,configurable:!0,writable:!0,value:Je}):kt[_]=Je;var P=(kt,_,Je)=>s4(kt,typeof _!="symbol"?_+"":_,Je);function _(t,e,...r){switch(typeof t){case"string":{const n=document.createElement(t);Je(n,e);for(const i of r)Ia(n,i);return n}case"function":return t(e||{},r)}throw new Error(`Unable to create element of type '${typeof t}'`)}function Je(t,e){if(e)for(const r in e){const n=e[r];if(r in t)if(r==="classList"){if(n)for(const i of n)t.classList.add(i)}else t[r]=n;else r in t.style?t.style[r]=n:t.setAttribute(r,n)}}function nl(t){if(t instanceof Node)return t;if(typeof t=="string")return document.createTextNode(t);if(t!=null&&t[Symbol.iterator]){const e=document.createDocumentFragment();for(const r of t)Ia(e,r);return e}else return t?document.createTextNode(t):document.createComment(` ${t} `)}function Ia(t,e){const r=nl(e);t.appendChild(r)}const il=`*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:currentColor}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:Avenir Next,Segoe UI,-apple-system,BlinkMacSystemFont,Roboto,Helvetica Neue,sans-serif;font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}b,strong{font-weight:600}:root{--Dark-Blue-5: hsl(223, 67%, 5%);--Dark-Blue-10: hsl(223, 67%, 10%);--Dark-Blue-15: hsl(223, 67%, 15%);--Dark-Blue-20: hsl(223, 67%, 20%);--Dark-Blue-25: hsl(223, 67%, 25%);--Dark-Blue-30: hsl(223, 67%, 30%);--Dark-Blue-35: hsl(223, 67%, 35%);--Dark-Blue-40: hsl(223, 67%, 40%);--Dark-Blue-45: hsl(223, 67%, 45%);--Dark-Blue-50: hsl(223, 67%, 50%);--Dark-Blue-55: hsl(223, 67%, 55%);--Dark-Blue-60: hsl(223, 67%, 60%);--Dark-Blue-65: hsl(223, 67%, 65%);--Dark-Blue-70: hsl(223, 67%, 70%);--Dark-Blue-75: hsl(223, 67%, 75%);--Dark-Blue-80: hsl(223, 67%, 80%);--Dark-Blue-85: hsl(223, 67%, 85%);--Dark-Blue-90: hsl(223, 67%, 90%);--Dark-Blue-95: hsl(223, 67%, 95%);--Dark-Blue-Main-18: hsl(223, 67%, 18%);--Sea-Blue-5: hsl(218, 100%, 5%);--Sea-Blue-10: hsl(218, 100%, 10%);--Sea-Blue-15: hsl(218, 100%, 15%);--Sea-Blue-20: hsl(218, 100%, 20%);--Sea-Blue-25: hsl(218, 100%, 25%);--Sea-Blue-30: hsl(218, 100%, 30%);--Sea-Blue-35: hsl(218, 100%, 35%);--Sea-Blue-40: hsl(218, 100%, 40%);--Sea-Blue-45: hsl(218, 100%, 45%);--Sea-Blue-50: hsl(218, 100%, 50%);--Sea-Blue-55: hsl(218, 100%, 55%);--Sea-Blue-60: hsl(218, 100%, 60%);--Sea-Blue-65: hsl(218, 100%, 65%);--Sea-Blue-70: hsl(218, 100%, 70%);--Sea-Blue-75: hsl(218, 100%, 75%);--Sea-Blue-80: hsl(218, 100%, 80%);--Sea-Blue-85: hsl(218, 100%, 85%);--Sea-Blue-90: hsl(218, 100%, 90%);--Sea-Blue-95: hsl(218, 100%, 95%);--Sea-Blue-Main-28: hsl(218, 100%, 28%);--Sky-Blue-5: hsl(196, 74%, 5%);--Sky-Blue-10: hsl(196, 74%, 10%);--Sky-Blue-15: hsl(196, 74%, 15%);--Sky-Blue-20: hsl(196, 74%, 20%);--Sky-Blue-25: hsl(196, 74%, 25%);--Sky-Blue-30: hsl(196, 74%, 30%);--Sky-Blue-35: hsl(196, 74%, 35%);--Sky-Blue-40: hsl(196, 74%, 40%);--Sky-Blue-45: hsl(196, 74%, 45%);--Sky-Blue-50: hsl(196, 74%, 50%);--Sky-Blue-55: hsl(196, 74%, 55%);--Sky-Blue-60: hsl(196, 74%, 60%);--Sky-Blue-65: hsl(196, 74%, 65%);--Sky-Blue-70: hsl(196, 74%, 70%);--Sky-Blue-75: hsl(196, 74%, 75%);--Sky-Blue-80: hsl(196, 74%, 80%);--Sky-Blue-85: hsl(196, 74%, 85%);--Sky-Blue-90: hsl(196, 74%, 90%);--Sky-Blue-95: hsl(196, 74%, 95%);--Sky-Blue-97: hsl(196, 74%, 97%);--Sky-Blue-Main-77: hsl(196, 74%, 77%);--Digi-Green-5: hsl(139, 100%, 5%);--Digi-Green-10: hsl(139, 100%, 10%);--Digi-Green-15: hsl(139, 100%, 15%);--Digi-Green-20: hsl(139, 100%, 20%);--Digi-Green-25: hsl(139, 100%, 25%);--Digi-Green-30: hsl(139, 100%, 30%);--Digi-Green-35: hsl(139, 100%, 35%);--Digi-Green-40: hsl(139, 100%, 40%);--Digi-Green-45: hsl(139, 100%, 45%);--Digi-Green-50: hsl(139, 100%, 50%);--Digi-Green-55: hsl(139, 100%, 55%);--Digi-Green-60: hsl(139, 100%, 60%);--Digi-Green-65: hsl(139, 100%, 65%);--Digi-Green-70: hsl(139, 100%, 70%);--Digi-Green-75: hsl(139, 100%, 75%);--Digi-Green-80: hsl(139, 100%, 80%);--Digi-Green-85: hsl(139, 100%, 85%);--Digi-Green-90: hsl(139, 100%, 90%);--Digi-Green-95: hsl(139, 100%, 95%);--Digi-Green-Main-78: hsl(139, 100%, 78%);--Sandstone-5: hsl(40, 3%, 5%);--Sandstone-10: hsl(40, 3%, 10%);--Sandstone-15: hsl(40, 3%, 15%);--Sandstone-20: hsl(40, 3%, 20%);--Sandstone-25: hsl(40, 3%, 25%);--Sandstone-30: hsl(40, 3%, 30%);--Sandstone-35: hsl(40, 3%, 35%);--Sandstone-40: hsl(40, 3%, 40%);--Sandstone-45: hsl(40, 3%, 45%);--Sandstone-50: hsl(40, 3%, 50%);--Sandstone-55: hsl(40, 3%, 55%);--Sandstone-60: hsl(40, 3%, 60%);--Sandstone-65: hsl(40, 3%, 65%);--Sandstone-70: hsl(40, 3%, 70%);--Sandstone-75: hsl(40, 3%, 75%);--Sandstone-80: hsl(40, 3%, 80%);--Sandstone-85: hsl(40, 3%, 85%);--Sandstone-90: hsl(40, 3%, 90%);--Sandstone-95: hsl(40, 3%, 95%);--Sandstone-97: hsl(40, 3%, 97%);--Sandstone-Main-79: hsl(40, 3%, 79%);--Warm-Grey-5: hsl(30, 8%, 5%);--Warm-Grey-10: hsl(30, 8%, 10%);--Warm-Grey-15: hsl(30, 8%, 15%);--Warm-Grey-20: hsl(30, 8%, 20%);--Warm-Grey-25: hsl(30, 8%, 25%);--Warm-Grey-30: hsl(30, 8%, 30%);--Warm-Grey-35: hsl(30, 8%, 35%);--Warm-Grey-40: hsl(30, 8%, 40%);--Warm-Grey-45: hsl(30, 8%, 45%);--Warm-Grey-50: hsl(30, 8%, 50%);--Warm-Grey-55: hsl(30, 8%, 55%);--Warm-Grey-60: hsl(30, 8%, 60%);--Warm-Grey-65: hsl(30, 8%, 65%);--Warm-Grey-70: hsl(30, 8%, 70%);--Warm-Grey-75: hsl(30, 8%, 75%);--Warm-Grey-80: hsl(30, 8%, 80%);--Warm-Grey-85: hsl(30, 8%, 85%);--Warm-Grey-90: hsl(30, 8%, 90%);--Warm-Grey-95: hsl(30, 8%, 95%);--Warm-Grey-Main-56: hsl(30, 8%, 56%);--Earth-5: hsl(35, 53%, 5%);--Earth-10: hsl(35, 53%, 10%);--Earth-15: hsl(35, 53%, 15%);--Earth-20: hsl(35, 53%, 20%);--Earth-25: hsl(35, 53%, 25%);--Earth-30: hsl(35, 53%, 30%);--Earth-35: hsl(35, 53%, 35%);--Earth-40: hsl(35, 53%, 40%);--Earth-45: hsl(35, 53%, 45%);--Earth-50: hsl(35, 53%, 50%);--Earth-55: hsl(35, 53%, 55%);--Earth-60: hsl(35, 53%, 60%);--Earth-65: hsl(35, 53%, 65%);--Earth-70: hsl(35, 53%, 70%);--Earth-75: hsl(35, 53%, 75%);--Earth-80: hsl(35, 53%, 80%);--Earth-85: hsl(35, 53%, 85%);--Earth-90: hsl(35, 53%, 90%);--Earth-95: hsl(35, 53%, 95%);--Earth-97: hsl(35, 53%, 97%);--Earth-Main-89: hsl(35, 53%, 89%);--Pine-5: hsl(195, 46%, 5%);--Pine-10: hsl(195, 46%, 10%);--Pine-15: hsl(195, 46%, 15%);--Pine-20: hsl(195, 46%, 20%);--Pine-25: hsl(195, 46%, 25%);--Pine-30: hsl(195, 46%, 30%);--Pine-35: hsl(195, 46%, 35%);--Pine-40: hsl(195, 46%, 40%);--Pine-45: hsl(195, 46%, 45%);--Pine-50: hsl(195, 46%, 50%);--Pine-55: hsl(195, 46%, 55%);--Pine-60: hsl(195, 46%, 60%);--Pine-65: hsl(195, 46%, 65%);--Pine-70: hsl(195, 46%, 70%);--Pine-75: hsl(195, 46%, 75%);--Pine-80: hsl(195, 46%, 80%);--Pine-85: hsl(195, 46%, 85%);--Pine-90: hsl(195, 46%, 90%);--Pine-95: hsl(195, 46%, 95%);--Pine-Main-30: hsl(195, 46%, 30%);--Eucalyptus-5: hsl(178, 80%, 5%);--Eucalyptus-10: hsl(178, 80%, 10%);--Eucalyptus-15: hsl(178, 80%, 15%);--Eucalyptus-20: hsl(178, 80%, 20%);--Eucalyptus-25: hsl(178, 80%, 25%);--Eucalyptus-30: hsl(178, 80%, 30%);--Eucalyptus-35: hsl(178, 80%, 35%);--Eucalyptus-40: hsl(178, 80%, 40%);--Eucalyptus-45: hsl(178, 80%, 45%);--Eucalyptus-50: hsl(178, 80%, 50%);--Eucalyptus-55: hsl(178, 80%, 55%);--Eucalyptus-60: hsl(178, 80%, 60%);--Eucalyptus-65: hsl(178, 80%, 65%);--Eucalyptus-70: hsl(178, 80%, 70%);--Eucalyptus-75: hsl(178, 80%, 75%);--Eucalyptus-80: hsl(178, 80%, 80%);--Eucalyptus-85: hsl(178, 80%, 85%);--Eucalyptus-90: hsl(178, 80%, 90%);--Eucalyptus-95: hsl(178, 80%, 95%);--Eucalyptus-Main-41: hsl(178, 80%, 41%);--Lavender-5: hsl(232, 58%, 5%);--Lavender-10: hsl(232, 58%, 10%);--Lavender-15: hsl(232, 58%, 15%);--Lavender-20: hsl(232, 58%, 20%);--Lavender-25: hsl(232, 58%, 25%);--Lavender-30: hsl(232, 58%, 30%);--Lavender-35: hsl(232, 58%, 35%);--Lavender-40: hsl(232, 58%, 40%);--Lavender-45: hsl(232, 58%, 45%);--Lavender-50: hsl(232, 58%, 50%);--Lavender-55: hsl(232, 58%, 55%);--Lavender-60: hsl(232, 58%, 60%);--Lavender-65: hsl(232, 58%, 65%);--Lavender-70: hsl(232, 58%, 70%);--Lavender-75: hsl(232, 58%, 75%);--Lavender-80: hsl(232, 58%, 80%);--Lavender-85: hsl(232, 58%, 85%);--Lavender-90: hsl(232, 58%, 90%);--Lavender-95: hsl(232, 58%, 95%);--Lavender-Main-77: hsl(232, 58%, 77%);--Terracotta-5: hsl(34, 100%, 5%);--Terracotta-10: hsl(34, 100%, 10%);--Terracotta-15: hsl(34, 100%, 15%);--Terracotta-20: hsl(34, 100%, 20%);--Terracotta-25: hsl(34, 100%, 25%);--Terracotta-30: hsl(34, 100%, 30%);--Terracotta-35: hsl(34, 100%, 35%);--Terracotta-40: hsl(34, 100%, 40%);--Terracotta-45: hsl(34, 100%, 45%);--Terracotta-50: hsl(34, 100%, 50%);--Terracotta-55: hsl(34, 100%, 55%);--Terracotta-60: hsl(34, 100%, 60%);--Terracotta-65: hsl(34, 100%, 65%);--Terracotta-70: hsl(34, 100%, 70%);--Terracotta-75: hsl(34, 100%, 75%);--Terracotta-80: hsl(34, 100%, 80%);--Terracotta-85: hsl(34, 100%, 85%);--Terracotta-90: hsl(34, 100%, 90%);--Terracotta-95: hsl(34, 100%, 95%);--Terracotta-Main-35: hsl(34, 100%, 35%);--Land-Green-5: hsl(114, 49%, 5%);--Land-Green-10: hsl(114, 49%, 10%);--Land-Green-15: hsl(114, 49%, 15%);--Land-Green-20: hsl(114, 49%, 20%);--Land-Green-25: hsl(114, 49%, 25%);--Land-Green-30: hsl(114, 49%, 30%);--Land-Green-35: hsl(114, 49%, 35%);--Land-Green-40: hsl(114, 49%, 40%);--Land-Green-45: hsl(114, 49%, 45%);--Land-Green-50: hsl(114, 49%, 50%);--Land-Green-55: hsl(114, 49%, 55%);--Land-Green-60: hsl(114, 49%, 60%);--Land-Green-65: hsl(114, 49%, 65%);--Land-Green-70: hsl(114, 49%, 70%);--Land-Green-75: hsl(114, 49%, 75%);--Land-Green-80: hsl(114, 49%, 80%);--Land-Green-85: hsl(114, 49%, 85%);--Land-Green-90: hsl(114, 49%, 90%);--Land-Green-95: hsl(114, 49%, 95%);--Land-Green-Main-41: hsl(114, 49%, 41%);--Sunflower-5: hsl(55, 100%, 5%);--Sunflower-10: hsl(55, 100%, 10%);--Sunflower-15: hsl(55, 100%, 15%);--Sunflower-20: hsl(55, 100%, 20%);--Sunflower-25: hsl(55, 100%, 25%);--Sunflower-30: hsl(55, 100%, 30%);--Sunflower-35: hsl(55, 100%, 35%);--Sunflower-40: hsl(55, 100%, 40%);--Sunflower-45: hsl(55, 100%, 45%);--Sunflower-50: hsl(55, 100%, 50%);--Sunflower-55: hsl(55, 100%, 55%);--Sunflower-60: hsl(55, 100%, 60%);--Sunflower-65: hsl(55, 100%, 65%);--Sunflower-70: hsl(55, 100%, 70%);--Sunflower-75: hsl(55, 100%, 75%);--Sunflower-80: hsl(55, 100%, 80%);--Sunflower-85: hsl(55, 100%, 85%);--Sunflower-90: hsl(55, 100%, 90%);--Sunflower-95: hsl(55, 100%, 95%);--Sunflower-Main-73: hsl(55, 100%, 73%);--Energy-Red-5: hsl(357, 83%, 5%);--Energy-Red-10: hsl(357, 83%, 10%);--Energy-Red-15: hsl(357, 83%, 15%);--Energy-Red-20: hsl(357, 83%, 20%);--Energy-Red-25: hsl(357, 83%, 25%);--Energy-Red-30: hsl(357, 83%, 30%);--Energy-Red-35: hsl(357, 83%, 35%);--Energy-Red-40: hsl(357, 83%, 40%);--Energy-Red-45: hsl(357, 83%, 45%);--Energy-Red-50: hsl(357, 83%, 50%);--Energy-Red-55: hsl(357, 83%, 55%);--Energy-Red-60: hsl(357, 83%, 60%);--Energy-Red-65: hsl(357, 83%, 65%);--Energy-Red-70: hsl(357, 83%, 70%);--Energy-Red-75: hsl(357, 83%, 75%);--Energy-Red-80: hsl(357, 83%, 80%);--Energy-Red-85: hsl(357, 83%, 85%);--Energy-Red-90: hsl(357, 83%, 90%);--Energy-Red-95: hsl(357, 83%, 95%);--Energy-Red-Main-54: hsl(357, 83%, 54%);--Cyan-5: hsl(196, 100%, 5%);--Cyan-10: hsl(196, 100%, 10%);--Cyan-15: hsl(196, 100%, 15%);--Cyan-20: hsl(196, 100%, 20%);--Cyan-25: hsl(196, 100%, 25%);--Cyan-30: hsl(196, 100%, 30%);--Cyan-35: hsl(196, 100%, 35%);--Cyan-40: hsl(196, 100%, 40%);--Cyan-45: hsl(196, 100%, 45%);--Cyan-50: hsl(196, 100%, 50%);--Cyan-55: hsl(196, 100%, 55%);--Cyan-60: hsl(196, 100%, 60%);--Cyan-65: hsl(196, 100%, 65%);--Cyan-70: hsl(196, 100%, 70%);--Cyan-75: hsl(196, 100%, 75%);--Cyan-80: hsl(196, 100%, 80%);--Cyan-85: hsl(196, 100%, 85%);--Cyan-90: hsl(196, 100%, 90%);--Cyan-95: hsl(196, 100%, 95%);--Cyan-Main-43: hsl(196, 100%, 43%);--Black: hsl(40 3% 10%);--White: hsl(40 3% 100%);--Light: hsl(40, 3%, 90%);--Default: hsl(40, 3%, 79%);--Medium: hsl(40, 3%, 75%);--Strong: hsl(218, 100%, 28%);--Emphasis: hsl(223, 67%, 18%);--vui-animation-duration-0: 0ms;--vui-animation-duration-100: .13s;--vui-animation-duration-200: .16s;--vui-animation-duration-300: .19s;--vui-animation-duration-400: .22s;--vui-animation-duration-500: .25s;--vui-animation-duration-600: .3s;--vui-animation-duration-700: .35s;--vui-animation-duration-800: .4s;--vui-animation-duration-900: .45s;--vui-animation-duration-1000: .5s;--vui-animation-duration-2000: 1s;--vui-animation-duration-4000: 2s;--vui-animation-ease-in-out: cubic-bezier(.45, 0, .4, 1);--vui-animation-ease-in: cubic-bezier(.5, 0, 1, 1);--vui-animation-ease-out: cubic-bezier(0, 0, .4, 1);--vui-animation-linear: cubic-bezier(0, 0, 1, 1);--vui-elevation-1: 0 6px 23px -10px hsla(223, 67%, 18%, .2);--vui-elevation-2: 0 9px 20px -6px hsla(223, 67%, 18%, .2);--vui-elevation-3: 0 12px 23px -4px hsla(223, 67%, 18%, .2);--vui-elevation-4: 0 15px 23px 0 hsla(223, 67%, 18%, .2);--fluent-depth-0: 0 0 0 0 transparent;--fluent-depth-4: 0 1.6px 3.6px 0 rgba(0, 0, 0, .132), 0 .3px .9px 0 rgba(0, 0, 0, .108);--fluent-depth-8: 0 3.2px 7.2px 0 rgba(0, 0, 0, .132), 0 .6px 1.8px 0 rgba(0, 0, 0, .108);--fluent-depth-16: 0 6.4px 14.4px 0 rgba(0, 0, 0, .132), 0 1.2px 3.6px 0 rgba(0, 0, 0, .108);--fluent-depth-64: 0 25.6px 57.6px 0 rgba(0, 0, 0, .22), 0 4.8px 14.4px 0 rgba(0, 0, 0, .18)}.h1{font-size:3.125rem;font-style:normal;font-weight:400;line-height:1.24}@media only screen and (max-width: 992px){.h1{font-size:1.9375rem;line-height:1.5483870967741935}}.h1{color:var(--Dark-Blue-Main-18, hsl(223, 67%, 18%))}:is(.dark .h1){color:var(--White, hsl(40 3% 100%))}.h2{font-size:2rem;font-style:normal;font-weight:400;line-height:1.3125}@media only screen and (max-width: 992px){.h2{font-size:1.75rem;line-height:1.3571428571428572}}.h2{color:var(--Dark-Blue-Main-18, hsl(223, 67%, 18%))}:is(.dark .h2){color:var(--White, hsl(40 3% 100%))}.h3{font-size:1.5rem;font-style:normal;font-weight:400;line-height:1.3333333333333333}@media only screen and (max-width: 992px){.h3{font-size:1.375rem;line-height:1.4545454545454546}}.h3{color:var(--Dark-Blue-Main-18, hsl(223, 67%, 18%))}:is(.dark .h3){color:var(--White, hsl(40 3% 100%))}.h4{font-size:1.25rem;font-style:normal;font-weight:600;line-height:1.2}@media only screen and (max-width: 992px){.h4{font-size:1.125rem;line-height:1.3333333333333333}}.h4{color:var(--Dark-Blue-Main-18, hsl(223, 67%, 18%))}:is(.dark .h4){color:var(--White, hsl(40 3% 100%))}.h5{font-size:1.125rem;font-style:normal;font-weight:600;line-height:1.4444444444444444}@media only screen and (max-width: 992px){.h5{font-size:1rem;line-height:1.375}}.h5{color:var(--Dark-Blue-Main-18, hsl(223, 67%, 18%))}:is(.dark .h5){color:var(--White, hsl(40 3% 100%))}.h6{font-size:1rem;font-style:normal;font-weight:600;line-height:1.375;color:var(--Dark-Blue-Main-18, hsl(223, 67%, 18%))}:is(.dark .h6){color:var(--White, hsl(40 3% 100%))}.btn{font-weight:500;font-style:normal;align-items:center;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:none;border-radius:0;display:inline-flex}.btn>*{flex-shrink:0}.btn{height:auto;margin:0;outline:none;text-decoration:none;transition:background var(--vui-animation-duration-100) ease-out,border-color var(--vui-animation-duration-100) ease-out,color var(--vui-animation-duration-100) ease-out,box-shadow var(--vui-animation-duration-100) ease-out;white-space:nowrap}.btn:focus-visible,.btn.focus-visible{--tw-ring-inset: var(--tw-empty, );--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: hsl(196, 100%, 43%);--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.btn:disabled{opacity:.5}.btn.btn-xl,.btn-xl{font-size:1.125rem;line-height:1.5555555555555556;gap:.625rem;padding:.625rem 1.25rem}.btn.btn-lg,.btn-lg{font-size:1rem;line-height:1.5;gap:.5rem;padding:.5rem 1rem}.btn.btn-md,.btn-md{font-size:.875rem;line-height:1.4285714285714286;gap:.375rem;padding:.375rem .75rem}.btn.btn-sm,.btn-sm{font-size:.75rem;line-height:1.3333333333333333;gap:.25rem;padding:.25rem .5rem}.btn.btn-primary,.btn-primary{background:var(--Sea-Blue-Main-28, #00348F);color:var(--White, #FFFFFF);justify-content:center}.btn.btn-primary:hover,.btn-primary:hover{background:var(--Sea-Blue-20, #002566)}.btn.btn-primary:active,.btn.btn-primary.active,.btn-primary:active,.btn-primary.active{background:var(--Sea-Blue-35, #0041B3)}:is(.dark .btn.btn-primary),:is(.dark .btn-primary){background:var(--Digi-Green-Main-78, #8FFFB2);color:var(--Dark-Blue-Main-18, #0F214D)}:is(.dark .btn.btn-primary):hover,:is(.dark .btn-primary):hover{background:var(--Digi-Green-70, #66FF96)}:is(.dark .btn.btn-primary):active,:is(.dark .btn.btn-primary).active,:is(.dark .btn-primary):active,:is(.dark .btn-primary).active{background:var(--Digi-Green-85, #B3FFCB)}.btn.btn-secondary,.btn-secondary{background:transparent;border:1px solid var(--Sea-Blue-Main-28, #00348F);color:var(--Sea-Blue-Main-28, #00348F);justify-content:center}.btn.btn-secondary:hover,.btn-secondary:hover{background:var(--Sky-Blue-80, #A6DEF2)}.btn.btn-secondary:active,.btn.btn-secondary.active,.btn-secondary:active,.btn-secondary.active{background:var(--Sky-Blue-85, #BCE6F5)}:is(.dark .btn.btn-secondary),:is(.dark .btn-secondary){border-color:var(--Digi-Green-Main-78, #8FFFB2);color:var(--Digi-Green-Main-78, #8FFFB2)}:is(.dark .btn.btn-secondary):hover,:is(.dark .btn-secondary):hover{background:var(--Sea-Blue-25, #002F80)}:is(.dark .btn.btn-secondary):active,:is(.dark .btn.btn-secondary).active,:is(.dark .btn-secondary):active,:is(.dark .btn-secondary).active{background:var(--Sea-Blue-35, #0041B3)}.btn.btn-tertiary,.btn-tertiary{background:transparent;color:var(--Sea-Blue-Main-28, #00348F);justify-content:center}.btn.btn-tertiary:hover,.btn-tertiary:hover{background:var(--Sky-Blue-80, #A6DEF2)}.btn.btn-tertiary:active,.btn.btn-tertiary.active,.btn-tertiary:active,.btn-tertiary.active{background:var(--Sky-Blue-85, #BCE6F5)}:is(.dark .btn.btn-tertiary),:is(.dark .btn-tertiary){color:var(--Digi-Green-Main-78, #8FFFB2)}:is(.dark .btn.btn-tertiary):hover,:is(.dark .btn-tertiary):hover{background:var(--Sea-Blue-25, #002F80)}:is(.dark .btn.btn-tertiary):active,:is(.dark .btn.btn-tertiary).active,:is(.dark .btn-tertiary):active,:is(.dark .btn-tertiary).active{background:var(--Sea-Blue-35, #0041B3)}.btn.btn-badge,.btn-badge{background:var(--Sky-Blue-95, #E9F7FC);border-radius:9999px;color:var(--Sea-Blue-Main-28, #00348F);justify-content:center}.btn.btn-badge:hover,.btn-badge:hover{background:var(--Sky-Blue-90, #D3EEF8)}.btn.btn-badge:active,.btn.btn-badge.active,.btn-badge:active,.btn-badge.active{background:var(--Sky-Blue-85, #BCE6F5)}.btn.btn-badge[data-status=success],.btn-badge[data-status=success]{background:var(--Land-Green-95, #EDF8EC);color:var(--Land-Green-30, #2F7227)}.btn.btn-badge[data-status=success]:hover,.btn-badge[data-status=success]:hover{background:var(--Land-Green-90, #DCF2D9)}.btn.btn-badge[data-status=success]:active,.btn.btn-badge[data-status=success].active,.btn-badge[data-status=success]:active,.btn-badge[data-status=success].active{background:var(--Land-Green-85, #CAEBC6)}.btn.btn-badge[data-status=error],.btn-badge[data-status=error]{background:var(--Energy-Red-95, #FDE8E9);color:var(--Energy-Red-30, #8C0D13)}.btn.btn-badge[data-status=error]:hover,.btn-badge[data-status=error]:hover{background:var(--Energy-Red-90, #FBD0D2)}.btn.btn-badge[data-status=error]:active,.btn.btn-badge[data-status=error].active,.btn-badge[data-status=error]:active,.btn-badge[data-status=error].active{background:var(--Energy-Red-85, #F8B9BC)}.btn.btn-marketplaceCTA,.btn-marketplaceCTA{background:var(--Land-Green-35, #36852E);color:var(--White, #FFFFFF);justify-content:center}.btn.btn-marketplaceCTA:hover,.btn-marketplaceCTA:hover{background:var(--Land-Green-25, #275F21)}.btn.btn-marketplaceCTA:active,.btn.btn-marketplaceCTA.active,.btn-marketplaceCTA:active,.btn-marketplaceCTA.active{background:var(--Land-Green-Main-41, #409C35)}.btn.btn-destructive,.btn-destructive{background:var(--Energy-Red-45, #D2141D);color:var(--White, #FFFFFF);justify-content:center}.btn.btn-destructive:hover,.btn-destructive:hover{background:var(--Energy-Red-35, #A30F17)}.btn.btn-destructive:active,.btn.btn-destructive.active,.btn-destructive:active,.btn-destructive.active{background:var(--Energy-Red-50, #E91620)}.sideMenuItem>.icon{width:24px;height:24px}.input{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:#fff;border:1px solid var(--Sandstone-60, #9C9A96);border-radius:0;color:#1a1a19;display:block;font-weight:400;font-style:normal;outline:0 solid transparent;width:100%}.input:focus{border:1px solid var(--Cyan-Main-43, #00A1DB);outline:1px solid var(--Cyan-Main-43, #00A1DB)}.input:disabled,.input[aria-disabled=true],fieldset:disabled .input{background:var(--Sandstone-90, #E6E6E5);border-color:var(--Sandstone-90, #E6E6E5)}.input::-moz-placeholder{color:var(--Sandstone-55, #908D89);opacity:1}.input::placeholder{color:var(--Sandstone-55, #908D89);opacity:1}.input.input-xl,.input-xl{font-size:1rem;line-height:1.625;padding:.4375rem .5rem}.input.input-lg,.input-lg{font-size:1rem;line-height:1.625;padding:.375rem .5rem}.input.input-md,.input-md{font-size:.875rem;line-height:1.5714285714285714;padding:.25rem .5rem}.input.input-sm,.input-sm{font-size:.875rem;line-height:1.5714285714285714;padding:.0625rem .5rem}.input.input-validated,.input.input-validated:focus,.input-validated,.input-validated:focus{border-color:var(--Land-Green-35, #36852E)}.input.input-validated,.input-validated{background-image:url("data:image/svg+xml,%3csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M20.8831 4.31025L7.75741 17.436L3.11702 12.7956C2.89736 12.5759 2.54121 12.5759 2.3215 12.7956L1.79121 13.3259C1.57155 13.5455 1.57155 13.9017 1.79121 14.1214L7.35968 19.6898C7.57933 19.9095 7.93549 19.9095 8.15519 19.6898L22.2089 5.63611C22.4286 5.41645 22.4286 5.0603 22.2089 4.84059L21.6786 4.31025C21.4589 4.09059 21.1028 4.09059 20.8831 4.31025Z' fill='var(--Land-Green-35%2c %2336852E)'/%3e%3c/svg%3e");background-repeat:no-repeat}.input.input-error,.input.input-error:focus,.input-error,.input-error:focus{border-color:var(--Energy-Red-45, #D2141D)}.input.input-select,.input-select{background-image:url("data:image/svg+xml,%3csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M11.6018 15.3255L6.16426 9.80359C5.94395 9.58328 5.94395 9.22703 6.16426 9.00671L6.49707 8.6739C6.71738 8.45359 7.07363 8.45359 7.29395 8.6739L12.0002 13.4692L16.7064 8.67859C16.9268 8.45828 17.283 8.45828 17.5033 8.67859L17.8361 9.0114C18.0564 9.23171 18.0564 9.58796 17.8361 9.80828L12.3986 15.3302C12.1783 15.5458 11.8221 15.5458 11.6018 15.3255Z' fill='var(--Sea-Blue-Main-28%2c %2300348F)'/%3e%3c/svg%3e");background-repeat:no-repeat}.avatar{font-weight:500;font-style:normal;align-items:center;background:#e6e6e5;border-radius:9999px;color:#353431;display:inline-flex;justify-content:center;overflow:hidden;text-transform:uppercase}.avatar.avatar-xl,.avatar-xl{font-size:1.125rem;line-height:1.5555555555555556;height:3rem;width:3rem}.avatar.avatar-lg,.avatar-lg{font-size:1rem;line-height:1.5;height:2.5rem;width:2.5rem}.avatar.avatar-md,.avatar-md{font-size:.875rem;line-height:1.4285714285714286;height:2rem;width:2rem}.avatar.avatar-sm,.avatar-sm{font-size:.75rem;line-height:1.3333333333333333;height:1.5rem;width:1.5rem}.avatar.avatar-xxl,.avatar-xxl{font-size:1.125rem;line-height:1.5555555555555556;height:3.5rem;width:3.5rem}.prose{color:var(--tw-prose-body);max-width:65ch}.prose :where(p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em}.prose :where([class~=lead]):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-lead);font-size:1.25em;line-height:1.6;margin-top:1.2em;margin-bottom:1.2em}.prose :where(a):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-links);text-decoration:underline;font-weight:500}.prose :where(strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-bold);font-weight:600}.prose :where(a strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(blockquote strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(thead th strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(ol):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:decimal;margin-top:1.25em;margin-bottom:1.25em;padding-inline-start:1.625em}.prose :where(ol[type=A]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-alpha}.prose :where(ol[type=a]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-alpha}.prose :where(ol[type=A s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-alpha}.prose :where(ol[type=a s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-alpha}.prose :where(ol[type=I]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-roman}.prose :where(ol[type=i]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-roman}.prose :where(ol[type=I s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-roman}.prose :where(ol[type=i s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-roman}.prose :where(ol[type="1"]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:decimal}.prose :where(ul):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:disc;margin-top:1.25em;margin-bottom:1.25em;padding-inline-start:1.625em}.prose :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *))::marker{font-weight:400;color:var(--tw-prose-counters)}.prose :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *))::marker{color:var(--tw-prose-bullets)}.prose :where(dt):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;margin-top:1.25em}.prose :where(hr):not(:where([class~=not-prose],[class~=not-prose] *)){border-color:var(--tw-prose-hr);border-top-width:1px;margin-top:3em;margin-bottom:3em}.prose :where(blockquote):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:500;font-style:italic;color:var(--tw-prose-quotes);border-inline-start-width:.25rem;border-inline-start-color:var(--tw-prose-quote-borders);quotes:"“""”""‘""’";margin-top:1.6em;margin-bottom:1.6em;padding-inline-start:1em}.prose :where(blockquote p:first-of-type):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:open-quote}.prose :where(blockquote p:last-of-type):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:close-quote}.prose :where(h1):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:800;font-size:2.25em;margin-top:0;margin-bottom:.8888889em;line-height:1.1111111}.prose :where(h1 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:900;color:inherit}.prose :where(h2):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:700;font-size:1.5em;margin-top:2em;margin-bottom:1em;line-height:1.3333333}.prose :where(h2 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:800;color:inherit}.prose :where(h3):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;font-size:1.25em;margin-top:1.6em;margin-bottom:.6em;line-height:1.6}.prose :where(h3 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:700;color:inherit}.prose :where(h4):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;margin-top:1.5em;margin-bottom:.5em;line-height:1.5}.prose :where(h4 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:700;color:inherit}.prose :where(img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(picture):not(:where([class~=not-prose],[class~=not-prose] *)){display:block;margin-top:2em;margin-bottom:2em}.prose :where(video):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(kbd):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:500;font-family:inherit;color:var(--tw-prose-kbd);box-shadow:0 0 0 1px rgb(var(--tw-prose-kbd-shadows) / 10%),0 3px rgb(var(--tw-prose-kbd-shadows) / 10%);font-size:.875em;border-radius:.3125rem;padding-top:.1875em;padding-inline-end:.375em;padding-bottom:.1875em;padding-inline-start:.375em}.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-code);font-weight:600;font-size:.875em}.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:"\`"}.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:"\`"}.prose :where(a code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(h1 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(h2 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-size:.875em}.prose :where(h3 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-size:.9em}.prose :where(h4 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(blockquote code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(thead th code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(pre):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-pre-code);background-color:var(--tw-prose-pre-bg);overflow-x:auto;font-weight:400;font-size:.875em;line-height:1.7142857;margin-top:1.7142857em;margin-bottom:1.7142857em;border-radius:.375rem;padding-top:.8571429em;padding-inline-end:1.1428571em;padding-bottom:.8571429em;padding-inline-start:1.1428571em}.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)){background-color:transparent;border-width:0;border-radius:0;padding:0;font-weight:inherit;color:inherit;font-size:inherit;font-family:inherit;line-height:inherit}.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:none}.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:none}.prose :where(table):not(:where([class~=not-prose],[class~=not-prose] *)){width:100%;table-layout:auto;margin-top:2em;margin-bottom:2em;font-size:.875em;line-height:1.7142857}.prose :where(thead):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:1px;border-bottom-color:var(--tw-prose-th-borders)}.prose :where(thead th):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;vertical-align:bottom;padding-inline-end:.5714286em;padding-bottom:.5714286em;padding-inline-start:.5714286em}.prose :where(tbody tr):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:1px;border-bottom-color:var(--tw-prose-td-borders)}.prose :where(tbody tr:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:0}.prose :where(tbody td):not(:where([class~=not-prose],[class~=not-prose] *)){vertical-align:baseline}.prose :where(tfoot):not(:where([class~=not-prose],[class~=not-prose] *)){border-top-width:1px;border-top-color:var(--tw-prose-th-borders)}.prose :where(tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){vertical-align:top}.prose :where(th,td):not(:where([class~=not-prose],[class~=not-prose] *)){text-align:start}.prose :where(figure>*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose :where(figcaption):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-captions);font-size:.875em;line-height:1.4285714;margin-top:.8571429em}.prose{--tw-prose-body: #374151;--tw-prose-headings: #111827;--tw-prose-lead: #4b5563;--tw-prose-links: #111827;--tw-prose-bold: #111827;--tw-prose-counters: #6b7280;--tw-prose-bullets: #d1d5db;--tw-prose-hr: #e5e7eb;--tw-prose-quotes: #111827;--tw-prose-quote-borders: #e5e7eb;--tw-prose-captions: #6b7280;--tw-prose-kbd: #111827;--tw-prose-kbd-shadows: 17 24 39;--tw-prose-code: #111827;--tw-prose-pre-code: #e5e7eb;--tw-prose-pre-bg: #1f2937;--tw-prose-th-borders: #d1d5db;--tw-prose-td-borders: #e5e7eb;--tw-prose-invert-body: #d1d5db;--tw-prose-invert-headings: #fff;--tw-prose-invert-lead: #9ca3af;--tw-prose-invert-links: #fff;--tw-prose-invert-bold: #fff;--tw-prose-invert-counters: #9ca3af;--tw-prose-invert-bullets: #4b5563;--tw-prose-invert-hr: #374151;--tw-prose-invert-quotes: #f3f4f6;--tw-prose-invert-quote-borders: #374151;--tw-prose-invert-captions: #9ca3af;--tw-prose-invert-kbd: #fff;--tw-prose-invert-kbd-shadows: 255 255 255;--tw-prose-invert-code: #fff;--tw-prose-invert-pre-code: #d1d5db;--tw-prose-invert-pre-bg: rgb(0 0 0 / 50%);--tw-prose-invert-th-borders: #4b5563;--tw-prose-invert-td-borders: #374151;font-size:1rem;line-height:1.75}.prose :where(picture>img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose :where(li):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5em;margin-bottom:.5em}.prose :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:.375em}.prose :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:.375em}.prose :where(.prose>ul>li p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.75em;margin-bottom:.75em}.prose :where(.prose>ul>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em}.prose :where(.prose>ul>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.25em}.prose :where(.prose>ol>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em}.prose :where(.prose>ol>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.25em}.prose :where(ul ul,ul ol,ol ul,ol ol):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.75em;margin-bottom:.75em}.prose :where(dl):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em}.prose :where(dd):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5em;padding-inline-start:1.625em}.prose :where(hr+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(h2+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(h3+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(h4+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(thead th:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:0}.prose :where(thead th:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:0}.prose :where(tbody td,tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){padding-top:.5714286em;padding-inline-end:.5714286em;padding-bottom:.5714286em;padding-inline-start:.5714286em}.prose :where(tbody td:first-child,tfoot td:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:0}.prose :where(tbody td:last-child,tfoot td:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:0}.prose :where(figure):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(.prose>:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(.prose>:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:0}.prose :where(ul>li>*:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0!important}.prose :where(ul>li>*:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:0!important}.prose-sm{font-size:.875rem;line-height:1.7142857}.prose-sm :where(p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em;margin-bottom:1.1428571em}.prose-sm :where([class~=lead]):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:1.2857143em;line-height:1.5555556;margin-top:.8888889em;margin-bottom:.8888889em}.prose-sm :where(blockquote):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.3333333em;margin-bottom:1.3333333em;padding-inline-start:1.1111111em}.prose-sm :where(h1):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:2.1428571em;margin-top:0;margin-bottom:.8em;line-height:1.2}.prose-sm :where(h2):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:1.4285714em;margin-top:1.6em;margin-bottom:.8em;line-height:1.4}.prose-sm :where(h3):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:1.2857143em;margin-top:1.5555556em;margin-bottom:.4444444em;line-height:1.5555556}.prose-sm :where(h4):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.4285714em;margin-bottom:.5714286em;line-height:1.4285714}.prose-sm :where(img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.7142857em;margin-bottom:1.7142857em}.prose-sm :where(picture):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.7142857em;margin-bottom:1.7142857em}.prose-sm :where(picture>img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose-sm :where(video):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.7142857em;margin-bottom:1.7142857em}.prose-sm :where(kbd):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8571429em;border-radius:.3125rem;padding-top:.1428571em;padding-inline-end:.3571429em;padding-bottom:.1428571em;padding-inline-start:.3571429em}.prose-sm :where(code):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8571429em}.prose-sm :where(h2 code):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.9em}.prose-sm :where(h3 code):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8888889em}.prose-sm :where(pre):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8571429em;line-height:1.6666667;margin-top:1.6666667em;margin-bottom:1.6666667em;border-radius:.25rem;padding-top:.6666667em;padding-inline-end:1em;padding-bottom:.6666667em;padding-inline-start:1em}.prose-sm :where(ol):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em;margin-bottom:1.1428571em;padding-inline-start:1.5714286em}.prose-sm :where(ul):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em;margin-bottom:1.1428571em;padding-inline-start:1.5714286em}.prose-sm :where(li):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.2857143em;margin-bottom:.2857143em}.prose-sm :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:.4285714em}.prose-sm :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:.4285714em}.prose-sm :where(.prose-sm>ul>li p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5714286em;margin-bottom:.5714286em}.prose-sm :where(.prose-sm>ul>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em}.prose-sm :where(.prose-sm>ul>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.1428571em}.prose-sm :where(.prose-sm>ol>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em}.prose-sm :where(.prose-sm>ol>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.1428571em}.prose-sm :where(ul ul,ul ol,ol ul,ol ol):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5714286em;margin-bottom:.5714286em}.prose-sm :where(dl):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em;margin-bottom:1.1428571em}.prose-sm :where(dt):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em}.prose-sm :where(dd):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.2857143em;padding-inline-start:1.5714286em}.prose-sm :where(hr):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2.8571429em;margin-bottom:2.8571429em}.prose-sm :where(hr+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose-sm :where(h2+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose-sm :where(h3+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose-sm :where(h4+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose-sm :where(table):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8571429em;line-height:1.5}.prose-sm :where(thead th):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:1em;padding-bottom:.6666667em;padding-inline-start:1em}.prose-sm :where(thead th:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:0}.prose-sm :where(thead th:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:0}.prose-sm :where(tbody td,tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){padding-top:.6666667em;padding-inline-end:1em;padding-bottom:.6666667em;padding-inline-start:1em}.prose-sm :where(tbody td:first-child,tfoot td:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:0}.prose-sm :where(tbody td:last-child,tfoot td:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:0}.prose-sm :where(figure):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.7142857em;margin-bottom:1.7142857em}.prose-sm :where(figure>*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose-sm :where(figcaption):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8571429em;line-height:1.3333333;margin-top:.6666667em}.prose-sm :where(.prose-sm>:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose-sm :where(.prose-sm>:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:0}.prose-neutral{--tw-prose-body: #404040;--tw-prose-headings: #171717;--tw-prose-lead: #525252;--tw-prose-links: #171717;--tw-prose-bold: #171717;--tw-prose-counters: #737373;--tw-prose-bullets: #d4d4d4;--tw-prose-hr: #e5e5e5;--tw-prose-quotes: #171717;--tw-prose-quote-borders: #e5e5e5;--tw-prose-captions: #737373;--tw-prose-kbd: #171717;--tw-prose-kbd-shadows: 23 23 23;--tw-prose-code: #171717;--tw-prose-pre-code: #e5e5e5;--tw-prose-pre-bg: #262626;--tw-prose-th-borders: #d4d4d4;--tw-prose-td-borders: #e5e5e5;--tw-prose-invert-body: #d4d4d4;--tw-prose-invert-headings: #fff;--tw-prose-invert-lead: #a3a3a3;--tw-prose-invert-links: #fff;--tw-prose-invert-bold: #fff;--tw-prose-invert-counters: #a3a3a3;--tw-prose-invert-bullets: #525252;--tw-prose-invert-hr: #404040;--tw-prose-invert-quotes: #f5f5f5;--tw-prose-invert-quote-borders: #404040;--tw-prose-invert-captions: #a3a3a3;--tw-prose-invert-kbd: #fff;--tw-prose-invert-kbd-shadows: 255 255 255;--tw-prose-invert-code: #fff;--tw-prose-invert-pre-code: #d4d4d4;--tw-prose-invert-pre-bg: rgb(0 0 0 / 50%);--tw-prose-invert-th-borders: #525252;--tw-prose-invert-td-borders: #404040}.static{position:static!important}.absolute{position:absolute!important}.relative{position:relative!important}.m-2{margin:.5rem!important}.my-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.mb-2{margin-bottom:.5rem!important}.ml-\\[1ch\\]{margin-left:1ch!important}.mt-2{margin-top:.5rem!important}.block{display:block!important}.inline{display:inline!important}.flex{display:flex!important}.inline-flex{display:inline-flex!important}.table{display:table!important}.grid{display:grid!important}.h-3{height:.75rem!important}.h-full{height:100%!important}.w-3{width:.75rem!important}.w-\\[600px\\]{width:600px!important}.w-full{width:100%!important}.min-w-24{min-width:6rem!important}.max-w-lg{max-width:32rem!important}.max-w-none{max-width:none!important}.flex-1{flex:1 1 0%!important}.shrink-0{flex-shrink:0!important}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}@keyframes spin{to{transform:rotate(360deg)}}.animate-spin{animation:spin 1s linear infinite!important}.select-none{-webkit-user-select:none!important;-moz-user-select:none!important;user-select:none!important}.flex-col{flex-direction:column!important}.justify-end{justify-content:flex-end!important}.gap-2{gap:.5rem!important}.gap-3{gap:.75rem!important}.gap-5{gap:1.25rem!important}.overflow-hidden{overflow:hidden!important}.overflow-x-auto{overflow-x:auto!important}.whitespace-pre-wrap{white-space:pre-wrap!important}.rounded-full{border-radius:9999px!important}.border{border-width:1px!important}.border-l-4{border-left-width:4px!important}.border-t{border-top-width:1px!important}.border-Energy-Red-45{--tw-border-opacity: 1 !important;border-color:hsl(357 83% 45% / var(--tw-border-opacity, 1))!important}.border-Light{--tw-border-opacity: 1 !important;border-color:hsl(40 3% 90% / var(--tw-border-opacity, 1))!important}.border-t-Light{--tw-border-opacity: 1 !important;border-top-color:hsl(40 3% 90% / var(--tw-border-opacity, 1))!important}.bg-Black{--tw-bg-opacity: 1 !important;background-color:hsl(40 3% 10% / var(--tw-bg-opacity, 1))!important}.bg-Energy-Red-95{--tw-bg-opacity: 1 !important;background-color:hsl(357 83% 95% / var(--tw-bg-opacity, 1))!important}.bg-Eucalyptus-85{--tw-bg-opacity: 1 !important;background-color:hsl(178 80% 85% / var(--tw-bg-opacity, 1))!important}.bg-Land-Green-95{--tw-bg-opacity: 1 !important;background-color:hsl(114 49% 95% / var(--tw-bg-opacity, 1))!important}.bg-Lavender-90{--tw-bg-opacity: 1 !important;background-color:hsl(232 58% 90% / var(--tw-bg-opacity, 1))!important}.bg-Sandstone-95{--tw-bg-opacity: 1 !important;background-color:hsl(40 3% 95% / var(--tw-bg-opacity, 1))!important}.bg-Sandstone-97{--tw-bg-opacity: 1 !important;background-color:hsl(40 3% 97% / var(--tw-bg-opacity, 1))!important}.bg-Sea-Blue-Main-28{--tw-bg-opacity: 1 !important;background-color:hsl(218 100% 28% / var(--tw-bg-opacity, 1))!important}.bg-Sky-Blue-80{--tw-bg-opacity: 1 !important;background-color:hsl(196 74% 80% / var(--tw-bg-opacity, 1))!important}.bg-Sky-Blue-Main-77{--tw-bg-opacity: 1 !important;background-color:hsl(196 74% 77% / var(--tw-bg-opacity, 1))!important}.bg-Sunflower-85{--tw-bg-opacity: 1 !important;background-color:hsl(55 100% 85% / var(--tw-bg-opacity, 1))!important}.bg-Terracotta-85{--tw-bg-opacity: 1 !important;background-color:hsl(34 100% 85% / var(--tw-bg-opacity, 1))!important}.p-1{padding:.25rem!important}.p-2{padding:.5rem!important}.p-3{padding:.75rem!important}.p-6{padding:1.5rem!important}.pb-3{padding-bottom:.75rem!important}.pl-7{padding-left:1.75rem!important}.pr-3{padding-right:.75rem!important}.pt-3{padding-top:.75rem!important}.text-left{text-align:left!important}.text-base{font-size:1rem!important;line-height:1.625!important}.text-sm{font-size:.75rem!important;line-height:1.5!important}.font-medium{font-weight:500!important}.uppercase{text-transform:uppercase!important}.leading-5{line-height:1.25rem!important}.text-Black{--tw-text-opacity: 1 !important;color:hsl(40 3% 10% / var(--tw-text-opacity, 1))!important}.text-Energy-Red-45{--tw-text-opacity: 1 !important;color:hsl(357 83% 45% / var(--tw-text-opacity, 1))!important}.text-Eucalyptus-20{--tw-text-opacity: 1 !important;color:hsl(178 80% 20% / var(--tw-text-opacity, 1))!important}.text-Land-Green-30{--tw-text-opacity: 1 !important;color:hsl(114 49% 30% / var(--tw-text-opacity, 1))!important}.text-Lavender-50{--tw-text-opacity: 1 !important;color:hsl(232 58% 50% / var(--tw-text-opacity, 1))!important}.text-Sea-Blue-Main-28{--tw-text-opacity: 1 !important;color:hsl(218 100% 28% / var(--tw-text-opacity, 1))!important}.text-Sky-Blue-95{--tw-text-opacity: 1 !important;color:hsl(196 74% 95% / var(--tw-text-opacity, 1))!important}.text-Sunflower-20{--tw-text-opacity: 1 !important;color:hsl(55 100% 20% / var(--tw-text-opacity, 1))!important}.text-Terracotta-20{--tw-text-opacity: 1 !important;color:hsl(34 100% 20% / var(--tw-text-opacity, 1))!important}.text-Terracotta-30{--tw-text-opacity: 1 !important;color:hsl(34 100% 30% / var(--tw-text-opacity, 1))!important}.text-White{--tw-text-opacity: 1 !important;color:hsl(40 3% 100% / var(--tw-text-opacity, 1))!important}.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1) !important;--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color) !important;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)!important}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)!important}.transition-all{transition-property:all!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important;transition-duration:.15s!important}.duration-300{transition-duration:.3s!important}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)!important}.title{font-size:4rem!important;font-style:normal!important;font-weight:400!important;line-height:1.15625!important}@media only screen and (max-width: 992px){.title{font-size:2.625rem!important;line-height:1.2380952380952381!important}}.title{color:var(--Dark-Blue-Main-18, hsl(223, 67%, 18%))!important}:is(.dark .title){color:var(--White, hsl(40 3% 100%))!important}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.fade-in{animation:fadeIn .2s cubic-bezier(.4,0,1,1)}@keyframes pulse{0%{transform:scale(.75);opacity:.6}50%{transform:scale(1.25);opacity:1}to{transform:scale(.75);opacity:.6}}.btn-link:hover{cursor:pointer;border-radius:3px;background-color:#a8a2a2}.group[data-expanded=true] .group-data-\\[expanded\\=true\\]\\:-rotate-180{--tw-rotate: -180deg !important;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}`,al="pre code.hljs{display:block;overflow-x:auto;padding:1em}code.hljs{padding:3px 5px}.hljs{color:#383a42;background:#fafafa}.hljs-comment,.hljs-quote{color:#a0a1a7;font-style:italic}.hljs-doctag,.hljs-keyword,.hljs-formula{color:#a626a4}.hljs-section,.hljs-name,.hljs-selector-tag,.hljs-deletion,.hljs-subst{color:#e45649}.hljs-literal{color:#0184bb}.hljs-string,.hljs-regexp,.hljs-addition,.hljs-attribute,.hljs-meta .hljs-string{color:#50a14f}.hljs-attr,.hljs-variable,.hljs-template-variable,.hljs-type,.hljs-selector-class,.hljs-selector-attr,.hljs-selector-pseudo,.hljs-number{color:#986801}.hljs-symbol,.hljs-bullet,.hljs-link,.hljs-meta,.hljs-selector-id,.hljs-title{color:#4078f2}.hljs-built_in,.hljs-title.class_,.hljs-class .hljs-title{color:#c18401}.hljs-emphasis{font-style:italic}.hljs-strong{font-weight:700}.hljs-link{text-decoration:underline}",sl='@font-face{font-family:KaTeX_AMS;src:url(https://cdn.veracity.com/vcb/katex/KaTeX_AMS-Regular.woff2) format("woff2"),url(https://cdn.veracity.com/vcb/katex/KaTeX_AMS-Regular.woff) format("woff"),url(https://cdn.veracity.com/vcb/katex/KaTeX_AMS-Regular.ttf) format("truetype");font-weight:400;font-style:normal}@font-face{font-family:KaTeX_Caligraphic;src:url(https://cdn.veracity.com/vcb/katex/KaTeX_Caligraphic-Bold.woff2) format("woff2"),url(https://cdn.veracity.com/vcb/katex/KaTeX_Caligraphic-Bold.woff) format("woff"),url(https://cdn.veracity.com/vcb/katex/KaTeX_Caligraphic-Bold.ttf) format("truetype");font-weight:700;font-style:normal}@font-face{font-family:KaTeX_Caligraphic;src:url(https://cdn.veracity.com/vcb/katex/KaTeX_Caligraphic-Regular.woff2) format("woff2"),url(https://cdn.veracity.com/vcb/katex/KaTeX_Caligraphic-Regular.woff) format("woff"),url(https://cdn.veracity.com/vcb/katex/KaTeX_Caligraphic-Regular.ttf) format("truetype");font-weight:400;font-style:normal}@font-face{font-family:KaTeX_Fraktur;src:url(https://cdn.veracity.com/vcb/katex/KaTeX_Fraktur-Bold.woff2) format("woff2"),url(https://cdn.veracity.com/vcb/katex/KaTeX_Fraktur-Bold.woff) format("woff"),url(https://cdn.veracity.com/vcb/katex/KaTeX_Fraktur-Bold.ttf) format("truetype");font-weight:700;font-style:normal}@font-face{font-family:KaTeX_Fraktur;src:url(https://cdn.veracity.com/vcb/katex/KaTeX_Fraktur-Regular.woff2) format("woff2"),url(https://cdn.veracity.com/vcb/katex/KaTeX_Fraktur-Regular.woff) format("woff"),url(https://cdn.veracity.com/vcb/katex/KaTeX_Fraktur-Regular.ttf) format("truetype");font-weight:400;font-style:normal}@font-face{font-family:KaTeX_Main;src:url(https://cdn.veracity.com/vcb/katex/KaTeX_Main-Bold.woff2) format("woff2"),url(https://cdn.veracity.com/vcb/katex/KaTeX_Main-Bold.woff) format("woff"),url(https://cdn.veracity.com/vcb/katex/KaTeX_Main-Bold.ttf) format("truetype");font-weight:700;font-style:normal}@font-face{font-family:KaTeX_Main;src:url(https://cdn.veracity.com/vcb/katex/KaTeX_Main-BoldItalic.woff2) format("woff2"),url(https://cdn.veracity.com/vcb/katex/KaTeX_Main-BoldItalic.woff) format("woff"),url(https://cdn.veracity.com/vcb/katex/KaTeX_Main-BoldItalic.ttf) format("truetype");font-weight:700;font-style:italic}@font-face{font-family:KaTeX_Main;src:url(https://cdn.veracity.com/vcb/katex/KaTeX_Main-Italic.woff2) format("woff2"),url(https://cdn.veracity.com/vcb/katex/KaTeX_Main-Italic.woff) format("woff"),url(https://cdn.veracity.com/vcb/katex/KaTeX_Main-Italic.ttf) format("truetype");font-weight:400;font-style:italic}@font-face{font-family:KaTeX_Main;src:url(https://cdn.veracity.com/vcb/katex/KaTeX_Main-Regular.woff2) format("woff2"),url(https://cdn.veracity.com/vcb/katex/KaTeX_Main-Regular.woff) format("woff"),url(https://cdn.veracity.com/vcb/katex/KaTeX_Main-Regular.ttf) format("truetype");font-weight:400;font-style:normal}@font-face{font-family:KaTeX_Math;src:url(https://cdn.veracity.com/vcb/katex/KaTeX_Math-BoldItalic.woff2) format("woff2"),url(https://cdn.veracity.com/vcb/katex/KaTeX_Math-BoldItalic.woff) format("woff"),url(https://cdn.veracity.com/vcb/katex/KaTeX_Math-BoldItalic.ttf) format("truetype");font-weight:700;font-style:italic}@font-face{font-family:KaTeX_Math;src:url(https://cdn.veracity.com/vcb/katex/KaTeX_Math-Italic.woff2) format("woff2"),url(https://cdn.veracity.com/vcb/katex/KaTeX_Math-Italic.woff) format("woff"),url(https://cdn.veracity.com/vcb/katex/KaTeX_Math-Italic.ttf) format("truetype");font-weight:400;font-style:italic}@font-face{font-family:KaTeX_SansSerif;src:url(https://cdn.veracity.com/vcb/katex/KaTeX_SansSerif-Bold.woff2) format("woff2"),url(https://cdn.veracity.com/vcb/katex/KaTeX_SansSerif-Bold.woff) format("woff"),url(https://cdn.veracity.com/vcb/katex/KaTeX_SansSerif-Bold.ttf) format("truetype");font-weight:700;font-style:normal}@font-face{font-family:KaTeX_SansSerif;src:url(https://cdn.veracity.com/vcb/katex/KaTeX_SansSerif-Italic.woff2) format("woff2"),url(https://cdn.veracity.com/vcb/katex/KaTeX_SansSerif-Italic.woff) format("woff"),url(https://cdn.veracity.com/vcb/katex/KaTeX_SansSerif-Italic.ttf) format("truetype");font-weight:400;font-style:italic}@font-face{font-family:KaTeX_SansSerif;src:url(https://cdn.veracity.com/vcb/katex/KaTeX_SansSerif-Regular.woff2) format("woff2"),url(https://cdn.veracity.com/vcb/katex/KaTeX_SansSerif-Regular.woff) format("woff"),url(https://cdn.veracity.com/vcb/katex/KaTeX_SansSerif-Regular.ttf) format("truetype");font-weight:400;font-style:normal}@font-face{font-family:KaTeX_Script;src:url(https://cdn.veracity.com/vcb/katex/KaTeX_Script-Regular.woff2) format("woff2"),url(https://cdn.veracity.com/vcb/katex/KaTeX_Script-Regular.woff) format("woff"),url(https://cdn.veracity.com/vcb/katex/KaTeX_Script-Regular.ttf) format("truetype");font-weight:400;font-style:normal}@font-face{font-family:KaTeX_Size1;src:url(https://cdn.veracity.com/vcb/katex/KaTeX_Size1-Regular.woff2) format("woff2"),url(https://cdn.veracity.com/vcb/katex/KaTeX_Size1-Regular.woff) format("woff"),url(https://cdn.veracity.com/vcb/katex/KaTeX_Size1-Regular.ttf) format("truetype");font-weight:400;font-style:normal}@font-face{font-family:KaTeX_Size2;src:url(https://cdn.veracity.com/vcb/katex/KaTeX_Size2-Regular.woff2) format("woff2"),url(https://cdn.veracity.com/vcb/katex/KaTeX_Size2-Regular.woff) format("woff"),url(https://cdn.veracity.com/vcb/katex/KaTeX_Size2-Regular.ttf) format("truetype");font-weight:400;font-style:normal}@font-face{font-family:KaTeX_Size3;src:url(https://cdn.veracity.com/vcb/katex/KaTeX_Size3-Regular.woff2) format("woff2"),url(https://cdn.veracity.com/vcb/katex/KaTeX_Size3-Regular.woff) format("woff"),url(https://cdn.veracity.com/vcb/katex/KaTeX_Size3-Regular.ttf) format("truetype");font-weight:400;font-style:normal}@font-face{font-family:KaTeX_Size4;src:url(https://cdn.veracity.com/vcb/katex/KaTeX_Size4-Regular.woff2) format("woff2"),url(https://cdn.veracity.com/vcb/katex/KaTeX_Size4-Regular.woff) format("woff"),url(https://cdn.veracity.com/vcb/katex/KaTeX_Size4-Regular.ttf) format("truetype");font-weight:400;font-style:normal}@font-face{font-family:KaTeX_Typewriter;src:url(https://cdn.veracity.com/vcb/katex/KaTeX_Typewriter-Regular.woff2) format("woff2"),url(https://cdn.veracity.com/vcb/katex/KaTeX_Typewriter-Regular.woff) format("woff"),url(https://cdn.veracity.com/vcb/katex/KaTeX_Typewriter-Regular.ttf) format("truetype");font-weight:400;font-style:normal}.katex{font: 1.21em KaTeX_Main,Times New Roman,serif;line-height:1.2;text-indent:0;text-rendering:auto}.katex *{-ms-high-contrast-adjust:none!important;border-color:currentColor}.katex .katex-version:after{content:"0.16.15"}.katex .katex-mathml{position:absolute;clip:rect(1px,1px,1px,1px);padding:0;border:0;height:1px;width:1px;overflow:hidden}.katex .katex-html>.newline{display:block}.katex .base{position:relative;display:inline-block;white-space:nowrap;width:-moz-min-content;width:min-content}.katex .strut{display:inline-block}.katex .textbf{font-weight:700}.katex .textit{font-style:italic}.katex .textrm{font-family:KaTeX_Main}.katex .textsf{font-family:KaTeX_SansSerif}.katex .texttt{font-family:KaTeX_Typewriter}.katex .mathnormal{font-family:KaTeX_Math;font-style:italic}.katex .mathit{font-family:KaTeX_Main;font-style:italic}.katex .mathrm{font-style:normal}.katex .mathbf{font-family:KaTeX_Main;font-weight:700}.katex .boldsymbol{font-family:KaTeX_Math;font-weight:700;font-style:italic}.katex .amsrm,.katex .mathbb,.katex .textbb{font-family:KaTeX_AMS}.katex .mathcal{font-family:KaTeX_Caligraphic}.katex .mathfrak,.katex .textfrak{font-family:KaTeX_Fraktur}.katex .mathboldfrak,.katex .textboldfrak{font-family:KaTeX_Fraktur;font-weight:700}.katex .mathtt{font-family:KaTeX_Typewriter}.katex .mathscr,.katex .textscr{font-family:KaTeX_Script}.katex .mathsf,.katex .textsf{font-family:KaTeX_SansSerif}.katex .mathboldsf,.katex .textboldsf{font-family:KaTeX_SansSerif;font-weight:700}.katex .mathsfit,.katex .mathitsf,.katex .textitsf{font-family:KaTeX_SansSerif;font-style:italic}.katex .mainrm{font-family:KaTeX_Main;font-style:normal}.katex .vlist-t{display:inline-table;table-layout:fixed;border-collapse:collapse}.katex .vlist-r{display:table-row}.katex .vlist{display:table-cell;vertical-align:bottom;position:relative}.katex .vlist>span{display:block;height:0;position:relative}.katex .vlist>span>span{display:inline-block}.katex .vlist>span>.pstrut{overflow:hidden;width:0}.katex .vlist-t2{margin-right:-2px}.katex .vlist-s{display:table-cell;vertical-align:bottom;font-size:1px;width:2px;min-width:2px}.katex .vbox{display:inline-flex;flex-direction:column;align-items:baseline}.katex .hbox{display:inline-flex;flex-direction:row;width:100%}.katex .thinbox{display:inline-flex;flex-direction:row;width:0;max-width:0}.katex .msupsub{text-align:left}.katex .mfrac>span>span{text-align:center}.katex .mfrac .frac-line{display:inline-block;width:100%;border-bottom-style:solid}.katex .mfrac .frac-line,.katex .overline .overline-line,.katex .underline .underline-line,.katex .hline,.katex .hdashline,.katex .rule{min-height:1px}.katex .mspace{display:inline-block}.katex .llap,.katex .rlap,.katex .clap{width:0;position:relative}.katex .llap>.inner,.katex .rlap>.inner,.katex .clap>.inner{position:absolute}.katex .llap>.fix,.katex .rlap>.fix,.katex .clap>.fix{display:inline-block}.katex .llap>.inner{right:0}.katex .rlap>.inner,.katex .clap>.inner{left:0}.katex .clap>.inner>span{margin-left:-50%;margin-right:50%}.katex .rule{display:inline-block;border:solid 0;position:relative}.katex .overline .overline-line,.katex .underline .underline-line,.katex .hline{display:inline-block;width:100%;border-bottom-style:solid}.katex .hdashline{display:inline-block;width:100%;border-bottom-style:dashed}.katex .sqrt>.root{margin-left:.2777777778em;margin-right:-.5555555556em}.katex .sizing.reset-size1.size1,.katex .fontsize-ensurer.reset-size1.size1{font-size:1em}.katex .sizing.reset-size1.size2,.katex .fontsize-ensurer.reset-size1.size2{font-size:1.2em}.katex .sizing.reset-size1.size3,.katex .fontsize-ensurer.reset-size1.size3{font-size:1.4em}.katex .sizing.reset-size1.size4,.katex .fontsize-ensurer.reset-size1.size4{font-size:1.6em}.katex .sizing.reset-size1.size5,.katex .fontsize-ensurer.reset-size1.size5{font-size:1.8em}.katex .sizing.reset-size1.size6,.katex .fontsize-ensurer.reset-size1.size6{font-size:2em}.katex .sizing.reset-size1.size7,.katex .fontsize-ensurer.reset-size1.size7{font-size:2.4em}.katex .sizing.reset-size1.size8,.katex .fontsize-ensurer.reset-size1.size8{font-size:2.88em}.katex .sizing.reset-size1.size9,.katex .fontsize-ensurer.reset-size1.size9{font-size:3.456em}.katex .sizing.reset-size1.size10,.katex .fontsize-ensurer.reset-size1.size10{font-size:4.148em}.katex .sizing.reset-size1.size11,.katex .fontsize-ensurer.reset-size1.size11{font-size:4.976em}.katex .sizing.reset-size2.size1,.katex .fontsize-ensurer.reset-size2.size1{font-size:.8333333333em}.katex .sizing.reset-size2.size2,.katex .fontsize-ensurer.reset-size2.size2{font-size:1em}.katex .sizing.reset-size2.size3,.katex .fontsize-ensurer.reset-size2.size3{font-size:1.1666666667em}.katex .sizing.reset-size2.size4,.katex .fontsize-ensurer.reset-size2.size4{font-size:1.3333333333em}.katex .sizing.reset-size2.size5,.katex .fontsize-ensurer.reset-size2.size5{font-size:1.5em}.katex .sizing.reset-size2.size6,.katex .fontsize-ensurer.reset-size2.size6{font-size:1.6666666667em}.katex .sizing.reset-size2.size7,.katex .fontsize-ensurer.reset-size2.size7{font-size:2em}.katex .sizing.reset-size2.size8,.katex .fontsize-ensurer.reset-size2.size8{font-size:2.4em}.katex .sizing.reset-size2.size9,.katex .fontsize-ensurer.reset-size2.size9{font-size:2.88em}.katex .sizing.reset-size2.size10,.katex .fontsize-ensurer.reset-size2.size10{font-size:3.4566666667em}.katex .sizing.reset-size2.size11,.katex .fontsize-ensurer.reset-size2.size11{font-size:4.1466666667em}.katex .sizing.reset-size3.size1,.katex .fontsize-ensurer.reset-size3.size1{font-size:.7142857143em}.katex .sizing.reset-size3.size2,.katex .fontsize-ensurer.reset-size3.size2{font-size:.8571428571em}.katex .sizing.reset-size3.size3,.katex .fontsize-ensurer.reset-size3.size3{font-size:1em}.katex .sizing.reset-size3.size4,.katex .fontsize-ensurer.reset-size3.size4{font-size:1.1428571429em}.katex .sizing.reset-size3.size5,.katex .fontsize-ensurer.reset-size3.size5{font-size:1.2857142857em}.katex .sizing.reset-size3.size6,.katex .fontsize-ensurer.reset-size3.size6{font-size:1.4285714286em}.katex .sizing.reset-size3.size7,.katex .fontsize-ensurer.reset-size3.size7{font-size:1.7142857143em}.katex .sizing.reset-size3.size8,.katex .fontsize-ensurer.reset-size3.size8{font-size:2.0571428571em}.katex .sizing.reset-size3.size9,.katex .fontsize-ensurer.reset-size3.size9{font-size:2.4685714286em}.katex .sizing.reset-size3.size10,.katex .fontsize-ensurer.reset-size3.size10{font-size:2.9628571429em}.katex .sizing.reset-size3.size11,.katex .fontsize-ensurer.reset-size3.size11{font-size:3.5542857143em}.katex .sizing.reset-size4.size1,.katex .fontsize-ensurer.reset-size4.size1{font-size:.625em}.katex .sizing.reset-size4.size2,.katex .fontsize-ensurer.reset-size4.size2{font-size:.75em}.katex .sizing.reset-size4.size3,.katex .fontsize-ensurer.reset-size4.size3{font-size:.875em}.katex .sizing.reset-size4.size4,.katex .fontsize-ensurer.reset-size4.size4{font-size:1em}.katex .sizing.reset-size4.size5,.katex .fontsize-ensurer.reset-size4.size5{font-size:1.125em}.katex .sizing.reset-size4.size6,.katex .fontsize-ensurer.reset-size4.size6{font-size:1.25em}.katex .sizing.reset-size4.size7,.katex .fontsize-ensurer.reset-size4.size7{font-size:1.5em}.katex .sizing.reset-size4.size8,.katex .fontsize-ensurer.reset-size4.size8{font-size:1.8em}.katex .sizing.reset-size4.size9,.katex .fontsize-ensurer.reset-size4.size9{font-size:2.16em}.katex .sizing.reset-size4.size10,.katex .fontsize-ensurer.reset-size4.size10{font-size:2.5925em}.katex .sizing.reset-size4.size11,.katex .fontsize-ensurer.reset-size4.size11{font-size:3.11em}.katex .sizing.reset-size5.size1,.katex .fontsize-ensurer.reset-size5.size1{font-size:.5555555556em}.katex .sizing.reset-size5.size2,.katex .fontsize-ensurer.reset-size5.size2{font-size:.6666666667em}.katex .sizing.reset-size5.size3,.katex .fontsize-ensurer.reset-size5.size3{font-size:.7777777778em}.katex .sizing.reset-size5.size4,.katex .fontsize-ensurer.reset-size5.size4{font-size:.8888888889em}.katex .sizing.reset-size5.size5,.katex .fontsize-ensurer.reset-size5.size5{font-size:1em}.katex .sizing.reset-size5.size6,.katex .fontsize-ensurer.reset-size5.size6{font-size:1.1111111111em}.katex .sizing.reset-size5.size7,.katex .fontsize-ensurer.reset-size5.size7{font-size:1.3333333333em}.katex .sizing.reset-size5.size8,.katex .fontsize-ensurer.reset-size5.size8{font-size:1.6em}.katex .sizing.reset-size5.size9,.katex .fontsize-ensurer.reset-size5.size9{font-size:1.92em}.katex .sizing.reset-size5.size10,.katex .fontsize-ensurer.reset-size5.size10{font-size:2.3044444444em}.katex .sizing.reset-size5.size11,.katex .fontsize-ensurer.reset-size5.size11{font-size:2.7644444444em}.katex .sizing.reset-size6.size1,.katex .fontsize-ensurer.reset-size6.size1{font-size:.5em}.katex .sizing.reset-size6.size2,.katex .fontsize-ensurer.reset-size6.size2{font-size:.6em}.katex .sizing.reset-size6.size3,.katex .fontsize-ensurer.reset-size6.size3{font-size:.7em}.katex .sizing.reset-size6.size4,.katex .fontsize-ensurer.reset-size6.size4{font-size:.8em}.katex .sizing.reset-size6.size5,.katex .fontsize-ensurer.reset-size6.size5{font-size:.9em}.katex .sizing.reset-size6.size6,.katex .fontsize-ensurer.reset-size6.size6{font-size:1em}.katex .sizing.reset-size6.size7,.katex .fontsize-ensurer.reset-size6.size7{font-size:1.2em}.katex .sizing.reset-size6.size8,.katex .fontsize-ensurer.reset-size6.size8{font-size:1.44em}.katex .sizing.reset-size6.size9,.katex .fontsize-ensurer.reset-size6.size9{font-size:1.728em}.katex .sizing.reset-size6.size10,.katex .fontsize-ensurer.reset-size6.size10{font-size:2.074em}.katex .sizing.reset-size6.size11,.katex .fontsize-ensurer.reset-size6.size11{font-size:2.488em}.katex .sizing.reset-size7.size1,.katex .fontsize-ensurer.reset-size7.size1{font-size:.4166666667em}.katex .sizing.reset-size7.size2,.katex .fontsize-ensurer.reset-size7.size2{font-size:.5em}.katex .sizing.reset-size7.size3,.katex .fontsize-ensurer.reset-size7.size3{font-size:.5833333333em}.katex .sizing.reset-size7.size4,.katex .fontsize-ensurer.reset-size7.size4{font-size:.6666666667em}.katex .sizing.reset-size7.size5,.katex .fontsize-ensurer.reset-size7.size5{font-size:.75em}.katex .sizing.reset-size7.size6,.katex .fontsize-ensurer.reset-size7.size6{font-size:.8333333333em}.katex .sizing.reset-size7.size7,.katex .fontsize-ensurer.reset-size7.size7{font-size:1em}.katex .sizing.reset-size7.size8,.katex .fontsize-ensurer.reset-size7.size8{font-size:1.2em}.katex .sizing.reset-size7.size9,.katex .fontsize-ensurer.reset-size7.size9{font-size:1.44em}.katex .sizing.reset-size7.size10,.katex .fontsize-ensurer.reset-size7.size10{font-size:1.7283333333em}.katex .sizing.reset-size7.size11,.katex .fontsize-ensurer.reset-size7.size11{font-size:2.0733333333em}.katex .sizing.reset-size8.size1,.katex .fontsize-ensurer.reset-size8.size1{font-size:.3472222222em}.katex .sizing.reset-size8.size2,.katex .fontsize-ensurer.reset-size8.size2{font-size:.4166666667em}.katex .sizing.reset-size8.size3,.katex .fontsize-ensurer.reset-size8.size3{font-size:.4861111111em}.katex .sizing.reset-size8.size4,.katex .fontsize-ensurer.reset-size8.size4{font-size:.5555555556em}.katex .sizing.reset-size8.size5,.katex .fontsize-ensurer.reset-size8.size5{font-size:.625em}.katex .sizing.reset-size8.size6,.katex .fontsize-ensurer.reset-size8.size6{font-size:.6944444444em}.katex .sizing.reset-size8.size7,.katex .fontsize-ensurer.reset-size8.size7{font-size:.8333333333em}.katex .sizing.reset-size8.size8,.katex .fontsize-ensurer.reset-size8.size8{font-size:1em}.katex .sizing.reset-size8.size9,.katex .fontsize-ensurer.reset-size8.size9{font-size:1.2em}.katex .sizing.reset-size8.size10,.katex .fontsize-ensurer.reset-size8.size10{font-size:1.4402777778em}.katex .sizing.reset-size8.size11,.katex .fontsize-ensurer.reset-size8.size11{font-size:1.7277777778em}.katex .sizing.reset-size9.size1,.katex .fontsize-ensurer.reset-size9.size1{font-size:.2893518519em}.katex .sizing.reset-size9.size2,.katex .fontsize-ensurer.reset-size9.size2{font-size:.3472222222em}.katex .sizing.reset-size9.size3,.katex .fontsize-ensurer.reset-size9.size3{font-size:.4050925926em}.katex .sizing.reset-size9.size4,.katex .fontsize-ensurer.reset-size9.size4{font-size:.462962963em}.katex .sizing.reset-size9.size5,.katex .fontsize-ensurer.reset-size9.size5{font-size:.5208333333em}.katex .sizing.reset-size9.size6,.katex .fontsize-ensurer.reset-size9.size6{font-size:.5787037037em}.katex .sizing.reset-size9.size7,.katex .fontsize-ensurer.reset-size9.size7{font-size:.6944444444em}.katex .sizing.reset-size9.size8,.katex .fontsize-ensurer.reset-size9.size8{font-size:.8333333333em}.katex .sizing.reset-size9.size9,.katex .fontsize-ensurer.reset-size9.size9{font-size:1em}.katex .sizing.reset-size9.size10,.katex .fontsize-ensurer.reset-size9.size10{font-size:1.2002314815em}.katex .sizing.reset-size9.size11,.katex .fontsize-ensurer.reset-size9.size11{font-size:1.4398148148em}.katex .sizing.reset-size10.size1,.katex .fontsize-ensurer.reset-size10.size1{font-size:.2410800386em}.katex .sizing.reset-size10.size2,.katex .fontsize-ensurer.reset-size10.size2{font-size:.2892960463em}.katex .sizing.reset-size10.size3,.katex .fontsize-ensurer.reset-size10.size3{font-size:.337512054em}.katex .sizing.reset-size10.size4,.katex .fontsize-ensurer.reset-size10.size4{font-size:.3857280617em}.katex .sizing.reset-size10.size5,.katex .fontsize-ensurer.reset-size10.size5{font-size:.4339440694em}.katex .sizing.reset-size10.size6,.katex .fontsize-ensurer.reset-size10.size6{font-size:.4821600771em}.katex .sizing.reset-size10.size7,.katex .fontsize-ensurer.reset-size10.size7{font-size:.5785920926em}.katex .sizing.reset-size10.size8,.katex .fontsize-ensurer.reset-size10.size8{font-size:.6943105111em}.katex .sizing.reset-size10.size9,.katex .fontsize-ensurer.reset-size10.size9{font-size:.8331726133em}.katex .sizing.reset-size10.size10,.katex .fontsize-ensurer.reset-size10.size10{font-size:1em}.katex .sizing.reset-size10.size11,.katex .fontsize-ensurer.reset-size10.size11{font-size:1.1996142719em}.katex .sizing.reset-size11.size1,.katex .fontsize-ensurer.reset-size11.size1{font-size:.2009646302em}.katex .sizing.reset-size11.size2,.katex .fontsize-ensurer.reset-size11.size2{font-size:.2411575563em}.katex .sizing.reset-size11.size3,.katex .fontsize-ensurer.reset-size11.size3{font-size:.2813504823em}.katex .sizing.reset-size11.size4,.katex .fontsize-ensurer.reset-size11.size4{font-size:.3215434084em}.katex .sizing.reset-size11.size5,.katex .fontsize-ensurer.reset-size11.size5{font-size:.3617363344em}.katex .sizing.reset-size11.size6,.katex .fontsize-ensurer.reset-size11.size6{font-size:.4019292605em}.katex .sizing.reset-size11.size7,.katex .fontsize-ensurer.reset-size11.size7{font-size:.4823151125em}.katex .sizing.reset-size11.size8,.katex .fontsize-ensurer.reset-size11.size8{font-size:.578778135em}.katex .sizing.reset-size11.size9,.katex .fontsize-ensurer.reset-size11.size9{font-size:.6945337621em}.katex .sizing.reset-size11.size10,.katex .fontsize-ensurer.reset-size11.size10{font-size:.8336012862em}.katex .sizing.reset-size11.size11,.katex .fontsize-ensurer.reset-size11.size11{font-size:1em}.katex .delimsizing.size1{font-family:KaTeX_Size1}.katex .delimsizing.size2{font-family:KaTeX_Size2}.katex .delimsizing.size3{font-family:KaTeX_Size3}.katex .delimsizing.size4{font-family:KaTeX_Size4}.katex .delimsizing.mult .delim-size1>span{font-family:KaTeX_Size1}.katex .delimsizing.mult .delim-size4>span{font-family:KaTeX_Size4}.katex .nulldelimiter{display:inline-block;width:.12em}.katex .delimcenter,.katex .op-symbol{position:relative}.katex .op-symbol.small-op{font-family:KaTeX_Size1}.katex .op-symbol.large-op{font-family:KaTeX_Size2}.katex .op-limits>.vlist-t{text-align:center}.katex .accent>.vlist-t{text-align:center}.katex .accent .accent-body{position:relative}.katex .accent .accent-body:not(.accent-full){width:0}.katex .overlay{display:block}.katex .mtable .vertical-separator{display:inline-block;min-width:1px}.katex .mtable .arraycolsep{display:inline-block}.katex .mtable .col-align-c>.vlist-t{text-align:center}.katex .mtable .col-align-l>.vlist-t{text-align:left}.katex .mtable .col-align-r>.vlist-t{text-align:right}.katex .svg-align{text-align:left}.katex svg{display:block;position:absolute;width:100%;height:inherit;fill:currentColor;stroke:currentColor;fill-rule:nonzero;fill-opacity:1;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1}.katex svg path{stroke:none}.katex img{border-style:none;min-width:0;min-height:0;max-width:none;max-height:none}.katex .stretchy{width:100%;display:block;position:relative;overflow:hidden}.katex .stretchy:before,.katex .stretchy:after{content:""}.katex .hide-tail{width:100%;position:relative;overflow:hidden}.katex .halfarrow-left{position:absolute;left:0;width:50.2%;overflow:hidden}.katex .halfarrow-right{position:absolute;right:0;width:50.2%;overflow:hidden}.katex .brace-left{position:absolute;left:0;width:25.1%;overflow:hidden}.katex .brace-center{position:absolute;left:25%;width:50%;overflow:hidden}.katex .brace-right{position:absolute;right:0;width:25.1%;overflow:hidden}.katex .x-arrow-pad{padding:0 .5em}.katex .cd-arrow-pad{padding:0 .55556em 0 .27778em}.katex .x-arrow,.katex .mover,.katex .munder{text-align:center}.katex .boxpad{padding:0 .3em}.katex .fbox,.katex .fcolorbox{box-sizing:border-box;border:.04em solid}.katex .cancel-pad{padding:0 .2em}.katex .cancel-lap{margin-left:-.2em;margin-right:-.2em}.katex .sout{border-bottom-style:solid;border-bottom-width:.08em}.katex .angl{box-sizing:border-box;border-top:.049em solid;border-right:.049em solid;margin-right:.03889em}.katex .anglpad{padding:0 .03889em}.katex .eqn-num:before{counter-increment:katexEqnNo;content:"(" counter(katexEqnNo) ")"}.katex .mml-eqn-num:before{counter-increment:mmlEqnNo;content:"(" counter(mmlEqnNo) ")"}.katex .mtr-glue{width:50%}.katex .cd-vert-arrow{display:inline-block;position:relative}.katex .cd-label-left{display:inline-block;position:absolute;right:calc(50% + .3em);text-align:left}.katex .cd-label-right{display:inline-block;position:absolute;left:calc(50% + .3em);text-align:right}.katex-display{display:block;margin:1em 0;text-align:center}.katex-display>.katex{display:block;text-align:center;white-space:nowrap}.katex-display>.katex>.katex-html{display:block;position:relative}.katex-display>.katex>.katex-html>.tag{position:absolute;right:0}.katex-display.leqno>.katex>.katex-html>.tag{left:0;right:auto}.katex-display.fleqn>.katex{text-align:left;padding-left:2em}:host{counter-reset:katexEqnNo mmlEqnNo}';class Oa extends Error{constructor(){super("Max input limit reached.")}}var en=(t=>(t[t.Messages=0]="Messages",t[t.OperationResult=1]="OperationResult",t[t.OperationError=2]="OperationError",t))(en||{}),Me=(t=>(t[t.MessageBegin=0]="MessageBegin",t[t.MessageAppend=1]="MessageAppend",t[t.MessageToolCallUpdate=2]="MessageToolCallUpdate",t[t.MessageToolCallBegin=3]="MessageToolCallBegin",t[t.MessageToolCallResult=4]="MessageToolCallResult",t[t.MessageToolCallError=5]="MessageToolCallError",t[t.MessageExecuteLlmFunctionsBegin=6]="MessageExecuteLlmFunctionsBegin",t[t.MessageExecuteLlmFunctionsEnd=7]="MessageExecuteLlmFunctionsEnd",t[t.MessageInvokeClientFunction=8]="MessageInvokeClientFunction",t[t.MessageInvokeClientFunctionResult=9]="MessageInvokeClientFunctionResult",t[t.MessageInvokeClientFunctionError=10]="MessageInvokeClientFunctionError",t[t.MessageSubConversationBegin=11]="MessageSubConversationBegin",t[t.ConversationEnd=12]="ConversationEnd",t[t.ConversationError=13]="ConversationError",t))(Me||{});class bn extends Error{constructor(e="Operation was cancelled."){super(e)}}class Kt{constructor(){P(this,"isCancellationRequested",!1);P(this,"listeners",new Set)}addListener(e){this.isCancellationRequested?e():this.listeners.add(e)}cancel(){if(!this.isCancellationRequested){this.isCancellationRequested=!0;for(const e of this.listeners)e();this.listeners.clear()}}removeListener(e){this.listeners.delete(e)}throwIfCancellationRequested(){if(this.isCancellationRequested)throw new bn}}class ol{constructor(){P(this,"_queue",[]);P(this,"_waitToReadDeferred");P(this,"_isCompleted",!1)}resolveWaitToReadDeferred(e){const r=this._waitToReadDeferred;r&&(this._waitToReadDeferred=null,r.cancellationToken.removeListener(r.cancellationTokenListener),r.resolve(e))}complete(){this._isCompleted||(this._isCompleted=!0,this.resolveWaitToReadDeferred(!!this._queue.length))}completeWithError(e){if(this._isCompleted)return;this._isCompleted=!0;const r=this._waitToReadDeferred;r&&(this._waitToReadDeferred=null,r.cancellationToken.removeListener(r.cancellationTokenListener),r.reject(e))}tryWrite(e){return this._isCompleted?!1:(this._queue.push(e),this.resolveWaitToReadDeferred(!0),!0)}waitToReadAsync(e){if(e.isCancellationRequested)return Promise.reject(new bn);if(this._waitToReadDeferred)return Promise.reject(new Error("Multiple readers are not supported."));if(this._queue.length)return Promise.resolve(!0);if(this._isCompleted)return Promise.resolve(!1);const r={};r.cancellationTokenListener=()=>{this._waitToReadDeferred===r&&(this._waitToReadDeferred=null,r.reject(new bn))},r.cancellationToken=e,e.addListener(r.cancellationTokenListener);const n=new Promise((i,a)=>{r.resolve=i,r.reject=a});return this._waitToReadDeferred=r,n}read(){const e=this._queue;return this._queue=[],e}}class li extends ol{constructor(){super(...arguments);P(this,"_reader");P(this,"_buffer",new Uint8Array(0));P(this,"_bufferOffset",0);P(this,"_abortController");P(this,"_cancellationToken");P(this,"_textDecoder",new TextDecoder)}async initializeExistingAsync(r,n){this._abortController=new AbortController,(this._cancellationToken=new Kt).addListener(()=>this._abortController.abort());const i=await r(n,{method:"GET",signal:this._abortController.signal});if(i.status!==404){if(!i.ok)throw new Error(`Failed to load history messages: ${i.status} ${i.statusText}`);this._reader=i.body.getReader(),this.readMessagesAsync()}}async summarizeTitleAsync(r,n,i,a){this._abortController=new AbortController,(this._cancellationToken=new Kt).addListener(()=>this._abortController.abort());const s=await r(n,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({type:en.Messages,messages:i,chatId:a}),signal:this._abortController.signal});if(s.status===400)return null;if(!s.ok)throw new Error(`Failed to start chat completion SSE: ${s.status} ${s.statusText}`);return s.json()}async startAsync(r,n,i,a,s){this._abortController=new AbortController,(this._cancellationToken=new Kt).addListener(()=>this._abortController.abort());const o=await r(n,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({type:en.Messages,messages:i,chatId:a,copilotId:s}),signal:this._abortController.signal});if(o.status===429)throw new Oa;if(!o.ok)throw new Error(`Failed to start chat completion SSE: ${o.status} ${o.statusText}`);this._reader=o.body.getReader(),this.readMessagesAsync()}stop(){this._cancellationToken.cancel()}get wasStopped(){return this._cancellationToken.isCancellationRequested}async readBytesAsync(r){if(this._buffer.length-this._bufferOffset>=r){const i=this._buffer.subarray(this._bufferOffset,this._bufferOffset+r);return this._bufferOffset+=r,i}for(;this._buffer.length-this._bufferOffset<r;){const{done:i,value:a}=await this._reader.read();if(i){const s=this._buffer.subarray(this._bufferOffset);return this._buffer=new Uint8Array(0),this._bufferOffset=0,s}this._buffer=ll(this._buffer,a,this._bufferOffset),this._bufferOffset=0}const n=this._buffer.subarray(this._bufferOffset,this._bufferOffset+r);return this._bufferOffset+=r,n}async readLittleEndianInt32Async(){const r=await this.readBytesAsync(4),n=r.buffer.slice(r.byteOffset,r.byteOffset+r.byteLength);return new DataView(n).getInt32(0,!0)}async readUtf8StringAsync(){const r=await this.readLittleEndianInt32Async();if(r===-1)return null;const n=await this.readBytesAsync(r);return this._textDecoder.decode(n)}async readMessageAsync(){const r=await this.readBytesAsync(1);if(r.length==0)return null;const n=r[0];switch(n){case Me.MessageBegin:{const i=await this.readUtf8StringAsync(),a=await this.readUtf8StringAsync(),s=await this.readUtf8StringAsync(),o=await this.readUtf8StringAsync(),u=await this.readUtf8StringAsync(),h=await this.readUtf8StringAsync(),d=await this.readUtf8StringAsync(),p=await this.readUtf8StringAsync();return{type:n,conversationId:i,messageAuthorRole:a,messageAuthorId:s,messageAuthorPictureUrl:o,messageAuthorDisplayName:u,messageAuthorEmail:h,messageId:d,copilotId:p}}case Me.MessageAppend:{const i=await this.readUtf8StringAsync(),a=await this.readUtf8StringAsync();return{type:n,conversationId:i,appendMessageMarkdown:a}}case Me.MessageToolCallUpdate:{const i=await this.readUtf8StringAsync(),a=await this.readUtf8StringAsync(),s=await this.readLittleEndianInt32Async(),o=await this.readUtf8StringAsync(),u=await this.readUtf8StringAsync();return{type:n,conversationId:i,llmFunctionId:a,toolCallUpdateIndex:s,toolCallUpdateName:o,toolCallUpdateArguments:u}}case Me.MessageInvokeClientFunction:{const i=await this.readUtf8StringAsync(),a=await this.readUtf8StringAsync(),s=await this.readUtf8StringAsync(),o=await this.readUtf8StringAsync(),u=await this.readUtf8StringAsync();return{type:n,conversationId:i,llmFunctionId:a,operationId:s,clientFunctionName:o,argumentsAsJSON:u}}case Me.MessageInvokeClientFunctionResult:{const i=await this.readUtf8StringAsync(),a=await this.readUtf8StringAsync();return{type:n,operationId:i,result:a}}case Me.MessageInvokeClientFunctionError:{const i=await this.readUtf8StringAsync(),a=await this.readUtf8StringAsync();return{type:n,operationId:i,error:a}}case Me.MessageSubConversationBegin:{const i=await this.readUtf8StringAsync(),a=await this.readUtf8StringAsync(),s=await this.readUtf8StringAsync(),o=await this.readUtf8StringAsync(),u=await this.readUtf8StringAsync(),h=await this.readUtf8StringAsync(),d=await this.readUtf8StringAsync();return{type:n,conversationId:i,subConversationId:a,messageAuthorId:s,messageAuthorPictureUrl:o,messageAuthorDisplayName:u,messageAuthorEmail:h,subConversationTitle:d}}case Me.ConversationEnd:{const i=await this.readUtf8StringAsync();return{type:n,conversationId:i}}case Me.ConversationError:{const i=await this.readUtf8StringAsync(),a=await this.readUtf8StringAsync(),s=await this.readUtf8StringAsync();return{type:n,conversationId:i,error:a,stackTrace:s}}case Me.MessageExecuteLlmFunctionsBegin:case Me.MessageExecuteLlmFunctionsEnd:{const i=await this.readUtf8StringAsync();return{type:n,conversationId:i}}case Me.MessageToolCallBegin:{const i=await this.readUtf8StringAsync(),a=await this.readUtf8StringAsync(),s=await this.readUtf8StringAsync();return{type:n,conversationId:i,llmFunctionId:a,toolCallBeginInfo:s}}case Me.MessageToolCallResult:{const i=await this.readUtf8StringAsync(),a=await this.readUtf8StringAsync(),s=await this.readUtf8StringAsync();return{type:n,conversationId:i,llmFunctionId:a,result:s}}case Me.MessageToolCallError:{const i=await this.readUtf8StringAsync(),a=await this.readUtf8StringAsync(),s=await this.readUtf8StringAsync();return{type:n,conversationId:i,llmFunctionId:a,error:s}}default:throw new Error(`Unexpected message type: ${n}`)}}async readMessagesAsync(){try{for(;;){const r=await this.readMessageAsync();if(!r){this.complete();return}this.tryWrite(r)}}catch(r){this.completeWithError(r)}}waitToReadAsync(){return super.waitToReadAsync(this._cancellationToken)}}function ll(t,e,r){r>0&&t.copyWithin(0,r);let n=new Uint8Array(t.length-r+e.length);return n.set(t.subarray(0,t.length-r),0),n.set(e,t.length-r),n}var ul=Object.defineProperty,Se=(t,e)=>ul(t,"name",{value:e,configurable:!0}),La=(t=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(t,{get:(e,r)=>(typeof require<"u"?require:e)[r]}):t)(function(t){if(typeof require<"u")return require.apply(this,arguments);throw new Error('Dynamic require of "'+t+'" is not supported')});function Da(t){return!isNaN(parseFloat(t))&&isFinite(t)}Se(Da,"_isNumber");function ur(t){return t.charAt(0).toUpperCase()+t.substring(1)}Se(ur,"_capitalize");function vn(t){return function(){return this[t]}}Se(vn,"_getter");var qr=["isConstructor","isEval","isNative","isToplevel"],Ur=["columnNumber","lineNumber"],Hr=["fileName","functionName","source"],cl=["args"],hl=["evalOrigin"],yn=qr.concat(Ur,Hr,cl,hl);function gt(t){if(t)for(var e=0;e<yn.length;e++)t[yn[e]]!==void 0&&this["set"+ur(yn[e])](t[yn[e]])}for(Se(gt,"StackFrame"),gt.prototype={getArgs:function(){return this.args},setArgs:function(t){if(Object.prototype.toString.call(t)!=="[object Array]")throw new TypeError("Args must be an Array");this.args=t},getEvalOrigin:function(){return this.evalOrigin},setEvalOrigin:function(t){if(t instanceof gt)this.evalOrigin=t;else if(t instanceof Object)this.evalOrigin=new gt(t);else throw new TypeError("Eval Origin must be an Object or StackFrame")},toString:function(){var t=this.getFileName()||"",e=this.getLineNumber()||"",r=this.getColumnNumber()||"",n=this.getFunctionName()||"";return this.getIsEval()?t?"[eval] ("+t+":"+e+":"+r+")":"[eval]:"+e+":"+r:n?n+" ("+t+":"+e+":"+r+")":t+":"+e+":"+r}},gt.fromString=Se(function(t){var e=t.indexOf("("),r=t.lastIndexOf(")"),n=t.substring(0,e),i=t.substring(e+1,r).split(","),a=t.substring(r+1);if(a.indexOf("@")===0)var s=/@(.+?)(?::(\d+))?(?::(\d+))?$/.exec(a,""),o=s[1],u=s[2],h=s[3];return new gt({functionName:n,args:i||void 0,fileName:o,lineNumber:u||void 0,columnNumber:h||void 0})},"StackFrame$$fromString"),Ar=0;Ar<qr.length;Ar++)gt.prototype["get"+ur(qr[Ar])]=vn(qr[Ar]),gt.prototype["set"+ur(qr[Ar])]=function(t){return function(e){this[t]=!!e}}(qr[Ar]);var Ar;for(Mr=0;Mr<Ur.length;Mr++)gt.prototype["get"+ur(Ur[Mr])]=vn(Ur[Mr]),gt.prototype["set"+ur(Ur[Mr])]=function(t){return function(e){if(!Da(e))throw new TypeError(t+" must be a Number");this[t]=Number(e)}}(Ur[Mr]);var Mr;for(Cr=0;Cr<Hr.length;Cr++)gt.prototype["get"+ur(Hr[Cr])]=vn(Hr[Cr]),gt.prototype["set"+ur(Hr[Cr])]=function(t){return function(e){this[t]=String(e)}}(Hr[Cr]);var Cr,ui=gt;function Fa(){var t=/^\s*at .*(\S+:\d+|\(native\))/m,e=/^(eval@)?(\[native code])?$/;return{parse:Se(function(r){if(r.stack&&r.stack.match(t))return this.parseV8OrIE(r);if(r.stack)return this.parseFFOrSafari(r);throw new Error("Cannot parse given Error object")},"ErrorStackParser$$parse"),extractLocation:Se(function(r){if(r.indexOf(":")===-1)return[r];var n=/(.+?)(?::(\d+))?(?::(\d+))?$/,i=n.exec(r.replace(/[()]/g,""));return[i[1],i[2]||void 0,i[3]||void 0]},"ErrorStackParser$$extractLocation"),parseV8OrIE:Se(function(r){var n=r.stack.split(`
|
|
1
|
+
(function(kt,_){typeof exports=="object"&&typeof module<"u"?_(exports):typeof define=="function"&&define.amd?define(["exports"],_):(kt=typeof globalThis<"u"?globalThis:kt||self,_(kt.VeracityAI={}))})(this,function(kt){"use strict";var a4=Object.defineProperty;var s4=(kt,_,Je)=>_ in kt?a4(kt,_,{enumerable:!0,configurable:!0,writable:!0,value:Je}):kt[_]=Je;var P=(kt,_,Je)=>s4(kt,typeof _!="symbol"?_+"":_,Je);function _(t,e,...r){switch(typeof t){case"string":{const n=document.createElement(t);Je(n,e);for(const i of r)Ia(n,i);return n}case"function":return t(e||{},r)}throw new Error(`Unable to create element of type '${typeof t}'`)}function Je(t,e){if(e)for(const r in e){const n=e[r];if(r in t)if(r==="classList"){if(n)for(const i of n)t.classList.add(i)}else t[r]=n;else r in t.style?t.style[r]=n:t.setAttribute(r,n)}}function nl(t){if(t instanceof Node)return t;if(typeof t=="string")return document.createTextNode(t);if(t!=null&&t[Symbol.iterator]){const e=document.createDocumentFragment();for(const r of t)Ia(e,r);return e}else return t?document.createTextNode(t):document.createComment(` ${t} `)}function Ia(t,e){const r=nl(e);t.appendChild(r)}const il=`*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:currentColor}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:Avenir Next,Segoe UI,-apple-system,BlinkMacSystemFont,Roboto,Helvetica Neue,sans-serif;font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}b,strong{font-weight:600}:root{--Dark-Blue-5: hsl(223, 67%, 5%);--Dark-Blue-10: hsl(223, 67%, 10%);--Dark-Blue-15: hsl(223, 67%, 15%);--Dark-Blue-20: hsl(223, 67%, 20%);--Dark-Blue-25: hsl(223, 67%, 25%);--Dark-Blue-30: hsl(223, 67%, 30%);--Dark-Blue-35: hsl(223, 67%, 35%);--Dark-Blue-40: hsl(223, 67%, 40%);--Dark-Blue-45: hsl(223, 67%, 45%);--Dark-Blue-50: hsl(223, 67%, 50%);--Dark-Blue-55: hsl(223, 67%, 55%);--Dark-Blue-60: hsl(223, 67%, 60%);--Dark-Blue-65: hsl(223, 67%, 65%);--Dark-Blue-70: hsl(223, 67%, 70%);--Dark-Blue-75: hsl(223, 67%, 75%);--Dark-Blue-80: hsl(223, 67%, 80%);--Dark-Blue-85: hsl(223, 67%, 85%);--Dark-Blue-90: hsl(223, 67%, 90%);--Dark-Blue-95: hsl(223, 67%, 95%);--Dark-Blue-Main-18: hsl(223, 67%, 18%);--Sea-Blue-5: hsl(218, 100%, 5%);--Sea-Blue-10: hsl(218, 100%, 10%);--Sea-Blue-15: hsl(218, 100%, 15%);--Sea-Blue-20: hsl(218, 100%, 20%);--Sea-Blue-25: hsl(218, 100%, 25%);--Sea-Blue-30: hsl(218, 100%, 30%);--Sea-Blue-35: hsl(218, 100%, 35%);--Sea-Blue-40: hsl(218, 100%, 40%);--Sea-Blue-45: hsl(218, 100%, 45%);--Sea-Blue-50: hsl(218, 100%, 50%);--Sea-Blue-55: hsl(218, 100%, 55%);--Sea-Blue-60: hsl(218, 100%, 60%);--Sea-Blue-65: hsl(218, 100%, 65%);--Sea-Blue-70: hsl(218, 100%, 70%);--Sea-Blue-75: hsl(218, 100%, 75%);--Sea-Blue-80: hsl(218, 100%, 80%);--Sea-Blue-85: hsl(218, 100%, 85%);--Sea-Blue-90: hsl(218, 100%, 90%);--Sea-Blue-95: hsl(218, 100%, 95%);--Sea-Blue-Main-28: hsl(218, 100%, 28%);--Sky-Blue-5: hsl(196, 74%, 5%);--Sky-Blue-10: hsl(196, 74%, 10%);--Sky-Blue-15: hsl(196, 74%, 15%);--Sky-Blue-20: hsl(196, 74%, 20%);--Sky-Blue-25: hsl(196, 74%, 25%);--Sky-Blue-30: hsl(196, 74%, 30%);--Sky-Blue-35: hsl(196, 74%, 35%);--Sky-Blue-40: hsl(196, 74%, 40%);--Sky-Blue-45: hsl(196, 74%, 45%);--Sky-Blue-50: hsl(196, 74%, 50%);--Sky-Blue-55: hsl(196, 74%, 55%);--Sky-Blue-60: hsl(196, 74%, 60%);--Sky-Blue-65: hsl(196, 74%, 65%);--Sky-Blue-70: hsl(196, 74%, 70%);--Sky-Blue-75: hsl(196, 74%, 75%);--Sky-Blue-80: hsl(196, 74%, 80%);--Sky-Blue-85: hsl(196, 74%, 85%);--Sky-Blue-90: hsl(196, 74%, 90%);--Sky-Blue-95: hsl(196, 74%, 95%);--Sky-Blue-97: hsl(196, 74%, 97%);--Sky-Blue-Main-77: hsl(196, 74%, 77%);--Digi-Green-5: hsl(139, 100%, 5%);--Digi-Green-10: hsl(139, 100%, 10%);--Digi-Green-15: hsl(139, 100%, 15%);--Digi-Green-20: hsl(139, 100%, 20%);--Digi-Green-25: hsl(139, 100%, 25%);--Digi-Green-30: hsl(139, 100%, 30%);--Digi-Green-35: hsl(139, 100%, 35%);--Digi-Green-40: hsl(139, 100%, 40%);--Digi-Green-45: hsl(139, 100%, 45%);--Digi-Green-50: hsl(139, 100%, 50%);--Digi-Green-55: hsl(139, 100%, 55%);--Digi-Green-60: hsl(139, 100%, 60%);--Digi-Green-65: hsl(139, 100%, 65%);--Digi-Green-70: hsl(139, 100%, 70%);--Digi-Green-75: hsl(139, 100%, 75%);--Digi-Green-80: hsl(139, 100%, 80%);--Digi-Green-85: hsl(139, 100%, 85%);--Digi-Green-90: hsl(139, 100%, 90%);--Digi-Green-95: hsl(139, 100%, 95%);--Digi-Green-Main-78: hsl(139, 100%, 78%);--Sandstone-5: hsl(40, 3%, 5%);--Sandstone-10: hsl(40, 3%, 10%);--Sandstone-15: hsl(40, 3%, 15%);--Sandstone-20: hsl(40, 3%, 20%);--Sandstone-25: hsl(40, 3%, 25%);--Sandstone-30: hsl(40, 3%, 30%);--Sandstone-35: hsl(40, 3%, 35%);--Sandstone-40: hsl(40, 3%, 40%);--Sandstone-45: hsl(40, 3%, 45%);--Sandstone-50: hsl(40, 3%, 50%);--Sandstone-55: hsl(40, 3%, 55%);--Sandstone-60: hsl(40, 3%, 60%);--Sandstone-65: hsl(40, 3%, 65%);--Sandstone-70: hsl(40, 3%, 70%);--Sandstone-75: hsl(40, 3%, 75%);--Sandstone-80: hsl(40, 3%, 80%);--Sandstone-85: hsl(40, 3%, 85%);--Sandstone-90: hsl(40, 3%, 90%);--Sandstone-95: hsl(40, 3%, 95%);--Sandstone-97: hsl(40, 3%, 97%);--Sandstone-Main-79: hsl(40, 3%, 79%);--Warm-Grey-5: hsl(30, 8%, 5%);--Warm-Grey-10: hsl(30, 8%, 10%);--Warm-Grey-15: hsl(30, 8%, 15%);--Warm-Grey-20: hsl(30, 8%, 20%);--Warm-Grey-25: hsl(30, 8%, 25%);--Warm-Grey-30: hsl(30, 8%, 30%);--Warm-Grey-35: hsl(30, 8%, 35%);--Warm-Grey-40: hsl(30, 8%, 40%);--Warm-Grey-45: hsl(30, 8%, 45%);--Warm-Grey-50: hsl(30, 8%, 50%);--Warm-Grey-55: hsl(30, 8%, 55%);--Warm-Grey-60: hsl(30, 8%, 60%);--Warm-Grey-65: hsl(30, 8%, 65%);--Warm-Grey-70: hsl(30, 8%, 70%);--Warm-Grey-75: hsl(30, 8%, 75%);--Warm-Grey-80: hsl(30, 8%, 80%);--Warm-Grey-85: hsl(30, 8%, 85%);--Warm-Grey-90: hsl(30, 8%, 90%);--Warm-Grey-95: hsl(30, 8%, 95%);--Warm-Grey-Main-56: hsl(30, 8%, 56%);--Earth-5: hsl(35, 53%, 5%);--Earth-10: hsl(35, 53%, 10%);--Earth-15: hsl(35, 53%, 15%);--Earth-20: hsl(35, 53%, 20%);--Earth-25: hsl(35, 53%, 25%);--Earth-30: hsl(35, 53%, 30%);--Earth-35: hsl(35, 53%, 35%);--Earth-40: hsl(35, 53%, 40%);--Earth-45: hsl(35, 53%, 45%);--Earth-50: hsl(35, 53%, 50%);--Earth-55: hsl(35, 53%, 55%);--Earth-60: hsl(35, 53%, 60%);--Earth-65: hsl(35, 53%, 65%);--Earth-70: hsl(35, 53%, 70%);--Earth-75: hsl(35, 53%, 75%);--Earth-80: hsl(35, 53%, 80%);--Earth-85: hsl(35, 53%, 85%);--Earth-90: hsl(35, 53%, 90%);--Earth-95: hsl(35, 53%, 95%);--Earth-97: hsl(35, 53%, 97%);--Earth-Main-89: hsl(35, 53%, 89%);--Pine-5: hsl(195, 46%, 5%);--Pine-10: hsl(195, 46%, 10%);--Pine-15: hsl(195, 46%, 15%);--Pine-20: hsl(195, 46%, 20%);--Pine-25: hsl(195, 46%, 25%);--Pine-30: hsl(195, 46%, 30%);--Pine-35: hsl(195, 46%, 35%);--Pine-40: hsl(195, 46%, 40%);--Pine-45: hsl(195, 46%, 45%);--Pine-50: hsl(195, 46%, 50%);--Pine-55: hsl(195, 46%, 55%);--Pine-60: hsl(195, 46%, 60%);--Pine-65: hsl(195, 46%, 65%);--Pine-70: hsl(195, 46%, 70%);--Pine-75: hsl(195, 46%, 75%);--Pine-80: hsl(195, 46%, 80%);--Pine-85: hsl(195, 46%, 85%);--Pine-90: hsl(195, 46%, 90%);--Pine-95: hsl(195, 46%, 95%);--Pine-Main-30: hsl(195, 46%, 30%);--Eucalyptus-5: hsl(178, 80%, 5%);--Eucalyptus-10: hsl(178, 80%, 10%);--Eucalyptus-15: hsl(178, 80%, 15%);--Eucalyptus-20: hsl(178, 80%, 20%);--Eucalyptus-25: hsl(178, 80%, 25%);--Eucalyptus-30: hsl(178, 80%, 30%);--Eucalyptus-35: hsl(178, 80%, 35%);--Eucalyptus-40: hsl(178, 80%, 40%);--Eucalyptus-45: hsl(178, 80%, 45%);--Eucalyptus-50: hsl(178, 80%, 50%);--Eucalyptus-55: hsl(178, 80%, 55%);--Eucalyptus-60: hsl(178, 80%, 60%);--Eucalyptus-65: hsl(178, 80%, 65%);--Eucalyptus-70: hsl(178, 80%, 70%);--Eucalyptus-75: hsl(178, 80%, 75%);--Eucalyptus-80: hsl(178, 80%, 80%);--Eucalyptus-85: hsl(178, 80%, 85%);--Eucalyptus-90: hsl(178, 80%, 90%);--Eucalyptus-95: hsl(178, 80%, 95%);--Eucalyptus-Main-41: hsl(178, 80%, 41%);--Lavender-5: hsl(232, 58%, 5%);--Lavender-10: hsl(232, 58%, 10%);--Lavender-15: hsl(232, 58%, 15%);--Lavender-20: hsl(232, 58%, 20%);--Lavender-25: hsl(232, 58%, 25%);--Lavender-30: hsl(232, 58%, 30%);--Lavender-35: hsl(232, 58%, 35%);--Lavender-40: hsl(232, 58%, 40%);--Lavender-45: hsl(232, 58%, 45%);--Lavender-50: hsl(232, 58%, 50%);--Lavender-55: hsl(232, 58%, 55%);--Lavender-60: hsl(232, 58%, 60%);--Lavender-65: hsl(232, 58%, 65%);--Lavender-70: hsl(232, 58%, 70%);--Lavender-75: hsl(232, 58%, 75%);--Lavender-80: hsl(232, 58%, 80%);--Lavender-85: hsl(232, 58%, 85%);--Lavender-90: hsl(232, 58%, 90%);--Lavender-95: hsl(232, 58%, 95%);--Lavender-Main-77: hsl(232, 58%, 77%);--Terracotta-5: hsl(34, 100%, 5%);--Terracotta-10: hsl(34, 100%, 10%);--Terracotta-15: hsl(34, 100%, 15%);--Terracotta-20: hsl(34, 100%, 20%);--Terracotta-25: hsl(34, 100%, 25%);--Terracotta-30: hsl(34, 100%, 30%);--Terracotta-35: hsl(34, 100%, 35%);--Terracotta-40: hsl(34, 100%, 40%);--Terracotta-45: hsl(34, 100%, 45%);--Terracotta-50: hsl(34, 100%, 50%);--Terracotta-55: hsl(34, 100%, 55%);--Terracotta-60: hsl(34, 100%, 60%);--Terracotta-65: hsl(34, 100%, 65%);--Terracotta-70: hsl(34, 100%, 70%);--Terracotta-75: hsl(34, 100%, 75%);--Terracotta-80: hsl(34, 100%, 80%);--Terracotta-85: hsl(34, 100%, 85%);--Terracotta-90: hsl(34, 100%, 90%);--Terracotta-95: hsl(34, 100%, 95%);--Terracotta-Main-35: hsl(34, 100%, 35%);--Land-Green-5: hsl(114, 49%, 5%);--Land-Green-10: hsl(114, 49%, 10%);--Land-Green-15: hsl(114, 49%, 15%);--Land-Green-20: hsl(114, 49%, 20%);--Land-Green-25: hsl(114, 49%, 25%);--Land-Green-30: hsl(114, 49%, 30%);--Land-Green-35: hsl(114, 49%, 35%);--Land-Green-40: hsl(114, 49%, 40%);--Land-Green-45: hsl(114, 49%, 45%);--Land-Green-50: hsl(114, 49%, 50%);--Land-Green-55: hsl(114, 49%, 55%);--Land-Green-60: hsl(114, 49%, 60%);--Land-Green-65: hsl(114, 49%, 65%);--Land-Green-70: hsl(114, 49%, 70%);--Land-Green-75: hsl(114, 49%, 75%);--Land-Green-80: hsl(114, 49%, 80%);--Land-Green-85: hsl(114, 49%, 85%);--Land-Green-90: hsl(114, 49%, 90%);--Land-Green-95: hsl(114, 49%, 95%);--Land-Green-Main-41: hsl(114, 49%, 41%);--Sunflower-5: hsl(55, 100%, 5%);--Sunflower-10: hsl(55, 100%, 10%);--Sunflower-15: hsl(55, 100%, 15%);--Sunflower-20: hsl(55, 100%, 20%);--Sunflower-25: hsl(55, 100%, 25%);--Sunflower-30: hsl(55, 100%, 30%);--Sunflower-35: hsl(55, 100%, 35%);--Sunflower-40: hsl(55, 100%, 40%);--Sunflower-45: hsl(55, 100%, 45%);--Sunflower-50: hsl(55, 100%, 50%);--Sunflower-55: hsl(55, 100%, 55%);--Sunflower-60: hsl(55, 100%, 60%);--Sunflower-65: hsl(55, 100%, 65%);--Sunflower-70: hsl(55, 100%, 70%);--Sunflower-75: hsl(55, 100%, 75%);--Sunflower-80: hsl(55, 100%, 80%);--Sunflower-85: hsl(55, 100%, 85%);--Sunflower-90: hsl(55, 100%, 90%);--Sunflower-95: hsl(55, 100%, 95%);--Sunflower-Main-73: hsl(55, 100%, 73%);--Energy-Red-5: hsl(357, 83%, 5%);--Energy-Red-10: hsl(357, 83%, 10%);--Energy-Red-15: hsl(357, 83%, 15%);--Energy-Red-20: hsl(357, 83%, 20%);--Energy-Red-25: hsl(357, 83%, 25%);--Energy-Red-30: hsl(357, 83%, 30%);--Energy-Red-35: hsl(357, 83%, 35%);--Energy-Red-40: hsl(357, 83%, 40%);--Energy-Red-45: hsl(357, 83%, 45%);--Energy-Red-50: hsl(357, 83%, 50%);--Energy-Red-55: hsl(357, 83%, 55%);--Energy-Red-60: hsl(357, 83%, 60%);--Energy-Red-65: hsl(357, 83%, 65%);--Energy-Red-70: hsl(357, 83%, 70%);--Energy-Red-75: hsl(357, 83%, 75%);--Energy-Red-80: hsl(357, 83%, 80%);--Energy-Red-85: hsl(357, 83%, 85%);--Energy-Red-90: hsl(357, 83%, 90%);--Energy-Red-95: hsl(357, 83%, 95%);--Energy-Red-Main-54: hsl(357, 83%, 54%);--Cyan-5: hsl(196, 100%, 5%);--Cyan-10: hsl(196, 100%, 10%);--Cyan-15: hsl(196, 100%, 15%);--Cyan-20: hsl(196, 100%, 20%);--Cyan-25: hsl(196, 100%, 25%);--Cyan-30: hsl(196, 100%, 30%);--Cyan-35: hsl(196, 100%, 35%);--Cyan-40: hsl(196, 100%, 40%);--Cyan-45: hsl(196, 100%, 45%);--Cyan-50: hsl(196, 100%, 50%);--Cyan-55: hsl(196, 100%, 55%);--Cyan-60: hsl(196, 100%, 60%);--Cyan-65: hsl(196, 100%, 65%);--Cyan-70: hsl(196, 100%, 70%);--Cyan-75: hsl(196, 100%, 75%);--Cyan-80: hsl(196, 100%, 80%);--Cyan-85: hsl(196, 100%, 85%);--Cyan-90: hsl(196, 100%, 90%);--Cyan-95: hsl(196, 100%, 95%);--Cyan-Main-43: hsl(196, 100%, 43%);--Black: hsl(40 3% 10%);--White: hsl(40 3% 100%);--Light: hsl(40, 3%, 90%);--Default: hsl(40, 3%, 79%);--Medium: hsl(40, 3%, 75%);--Strong: hsl(218, 100%, 28%);--Emphasis: hsl(223, 67%, 18%);--vui-animation-duration-0: 0ms;--vui-animation-duration-100: .13s;--vui-animation-duration-200: .16s;--vui-animation-duration-300: .19s;--vui-animation-duration-400: .22s;--vui-animation-duration-500: .25s;--vui-animation-duration-600: .3s;--vui-animation-duration-700: .35s;--vui-animation-duration-800: .4s;--vui-animation-duration-900: .45s;--vui-animation-duration-1000: .5s;--vui-animation-duration-2000: 1s;--vui-animation-duration-4000: 2s;--vui-animation-ease-in-out: cubic-bezier(.45, 0, .4, 1);--vui-animation-ease-in: cubic-bezier(.5, 0, 1, 1);--vui-animation-ease-out: cubic-bezier(0, 0, .4, 1);--vui-animation-linear: cubic-bezier(0, 0, 1, 1);--vui-elevation-1: 0 6px 23px -10px hsla(223, 67%, 18%, .2);--vui-elevation-2: 0 9px 20px -6px hsla(223, 67%, 18%, .2);--vui-elevation-3: 0 12px 23px -4px hsla(223, 67%, 18%, .2);--vui-elevation-4: 0 15px 23px 0 hsla(223, 67%, 18%, .2);--fluent-depth-0: 0 0 0 0 transparent;--fluent-depth-4: 0 1.6px 3.6px 0 rgba(0, 0, 0, .132), 0 .3px .9px 0 rgba(0, 0, 0, .108);--fluent-depth-8: 0 3.2px 7.2px 0 rgba(0, 0, 0, .132), 0 .6px 1.8px 0 rgba(0, 0, 0, .108);--fluent-depth-16: 0 6.4px 14.4px 0 rgba(0, 0, 0, .132), 0 1.2px 3.6px 0 rgba(0, 0, 0, .108);--fluent-depth-64: 0 25.6px 57.6px 0 rgba(0, 0, 0, .22), 0 4.8px 14.4px 0 rgba(0, 0, 0, .18)}.h1{font-size:3.125rem;font-style:normal;font-weight:400;line-height:1.24}@media only screen and (max-width: 992px){.h1{font-size:1.9375rem;line-height:1.5483870967741935}}.h1{color:var(--Dark-Blue-Main-18, hsl(223, 67%, 18%))}:is(.dark .h1){color:var(--White, hsl(40 3% 100%))}.h2{font-size:2rem;font-style:normal;font-weight:400;line-height:1.3125}@media only screen and (max-width: 992px){.h2{font-size:1.75rem;line-height:1.3571428571428572}}.h2{color:var(--Dark-Blue-Main-18, hsl(223, 67%, 18%))}:is(.dark .h2){color:var(--White, hsl(40 3% 100%))}.h3{font-size:1.5rem;font-style:normal;font-weight:400;line-height:1.3333333333333333}@media only screen and (max-width: 992px){.h3{font-size:1.375rem;line-height:1.4545454545454546}}.h3{color:var(--Dark-Blue-Main-18, hsl(223, 67%, 18%))}:is(.dark .h3){color:var(--White, hsl(40 3% 100%))}.h4{font-size:1.25rem;font-style:normal;font-weight:600;line-height:1.2}@media only screen and (max-width: 992px){.h4{font-size:1.125rem;line-height:1.3333333333333333}}.h4{color:var(--Dark-Blue-Main-18, hsl(223, 67%, 18%))}:is(.dark .h4){color:var(--White, hsl(40 3% 100%))}.h5{font-size:1.125rem;font-style:normal;font-weight:600;line-height:1.4444444444444444}@media only screen and (max-width: 992px){.h5{font-size:1rem;line-height:1.375}}.h5{color:var(--Dark-Blue-Main-18, hsl(223, 67%, 18%))}:is(.dark .h5){color:var(--White, hsl(40 3% 100%))}.h6{font-size:1rem;font-style:normal;font-weight:600;line-height:1.375;color:var(--Dark-Blue-Main-18, hsl(223, 67%, 18%))}:is(.dark .h6){color:var(--White, hsl(40 3% 100%))}.btn{font-weight:500;font-style:normal;align-items:center;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:none;border-radius:0;display:inline-flex}.btn>*{flex-shrink:0}.btn{height:auto;margin:0;outline:none;text-decoration:none;transition:background var(--vui-animation-duration-100) ease-out,border-color var(--vui-animation-duration-100) ease-out,color var(--vui-animation-duration-100) ease-out,box-shadow var(--vui-animation-duration-100) ease-out;white-space:nowrap}.btn:focus-visible,.btn.focus-visible{--tw-ring-inset: var(--tw-empty, );--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: hsl(196, 100%, 43%);--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.btn:disabled{opacity:.5}.btn.btn-xl,.btn-xl{font-size:1.125rem;line-height:1.5555555555555556;gap:.625rem;padding:.625rem 1.25rem}.btn.btn-lg,.btn-lg{font-size:1rem;line-height:1.5;gap:.5rem;padding:.5rem 1rem}.btn.btn-md,.btn-md{font-size:.875rem;line-height:1.4285714285714286;gap:.375rem;padding:.375rem .75rem}.btn.btn-sm,.btn-sm{font-size:.75rem;line-height:1.3333333333333333;gap:.25rem;padding:.25rem .5rem}.btn.btn-primary,.btn-primary{background:var(--Sea-Blue-Main-28, #00348F);color:var(--White, #FFFFFF);justify-content:center}.btn.btn-primary:hover,.btn-primary:hover{background:var(--Sea-Blue-20, #002566)}.btn.btn-primary:active,.btn.btn-primary.active,.btn-primary:active,.btn-primary.active{background:var(--Sea-Blue-35, #0041B3)}:is(.dark .btn.btn-primary),:is(.dark .btn-primary){background:var(--Digi-Green-Main-78, #8FFFB2);color:var(--Dark-Blue-Main-18, #0F214D)}:is(.dark .btn.btn-primary):hover,:is(.dark .btn-primary):hover{background:var(--Digi-Green-70, #66FF96)}:is(.dark .btn.btn-primary):active,:is(.dark .btn.btn-primary).active,:is(.dark .btn-primary):active,:is(.dark .btn-primary).active{background:var(--Digi-Green-85, #B3FFCB)}.btn.btn-secondary,.btn-secondary{background:transparent;border:1px solid var(--Sea-Blue-Main-28, #00348F);color:var(--Sea-Blue-Main-28, #00348F);justify-content:center}.btn.btn-secondary:hover,.btn-secondary:hover{background:var(--Sky-Blue-80, #A6DEF2)}.btn.btn-secondary:active,.btn.btn-secondary.active,.btn-secondary:active,.btn-secondary.active{background:var(--Sky-Blue-85, #BCE6F5)}:is(.dark .btn.btn-secondary),:is(.dark .btn-secondary){border-color:var(--Digi-Green-Main-78, #8FFFB2);color:var(--Digi-Green-Main-78, #8FFFB2)}:is(.dark .btn.btn-secondary):hover,:is(.dark .btn-secondary):hover{background:var(--Sea-Blue-25, #002F80)}:is(.dark .btn.btn-secondary):active,:is(.dark .btn.btn-secondary).active,:is(.dark .btn-secondary):active,:is(.dark .btn-secondary).active{background:var(--Sea-Blue-35, #0041B3)}.btn.btn-tertiary,.btn-tertiary{background:transparent;color:var(--Sea-Blue-Main-28, #00348F);justify-content:center}.btn.btn-tertiary:hover,.btn-tertiary:hover{background:var(--Sky-Blue-80, #A6DEF2)}.btn.btn-tertiary:active,.btn.btn-tertiary.active,.btn-tertiary:active,.btn-tertiary.active{background:var(--Sky-Blue-85, #BCE6F5)}:is(.dark .btn.btn-tertiary),:is(.dark .btn-tertiary){color:var(--Digi-Green-Main-78, #8FFFB2)}:is(.dark .btn.btn-tertiary):hover,:is(.dark .btn-tertiary):hover{background:var(--Sea-Blue-25, #002F80)}:is(.dark .btn.btn-tertiary):active,:is(.dark .btn.btn-tertiary).active,:is(.dark .btn-tertiary):active,:is(.dark .btn-tertiary).active{background:var(--Sea-Blue-35, #0041B3)}.btn.btn-badge,.btn-badge{background:var(--Sky-Blue-95, #E9F7FC);border-radius:9999px;color:var(--Sea-Blue-Main-28, #00348F);justify-content:center}.btn.btn-badge:hover,.btn-badge:hover{background:var(--Sky-Blue-90, #D3EEF8)}.btn.btn-badge:active,.btn.btn-badge.active,.btn-badge:active,.btn-badge.active{background:var(--Sky-Blue-85, #BCE6F5)}.btn.btn-badge[data-status=success],.btn-badge[data-status=success]{background:var(--Land-Green-95, #EDF8EC);color:var(--Land-Green-30, #2F7227)}.btn.btn-badge[data-status=success]:hover,.btn-badge[data-status=success]:hover{background:var(--Land-Green-90, #DCF2D9)}.btn.btn-badge[data-status=success]:active,.btn.btn-badge[data-status=success].active,.btn-badge[data-status=success]:active,.btn-badge[data-status=success].active{background:var(--Land-Green-85, #CAEBC6)}.btn.btn-badge[data-status=error],.btn-badge[data-status=error]{background:var(--Energy-Red-95, #FDE8E9);color:var(--Energy-Red-30, #8C0D13)}.btn.btn-badge[data-status=error]:hover,.btn-badge[data-status=error]:hover{background:var(--Energy-Red-90, #FBD0D2)}.btn.btn-badge[data-status=error]:active,.btn.btn-badge[data-status=error].active,.btn-badge[data-status=error]:active,.btn-badge[data-status=error].active{background:var(--Energy-Red-85, #F8B9BC)}.btn.btn-marketplaceCTA,.btn-marketplaceCTA{background:var(--Land-Green-35, #36852E);color:var(--White, #FFFFFF);justify-content:center}.btn.btn-marketplaceCTA:hover,.btn-marketplaceCTA:hover{background:var(--Land-Green-25, #275F21)}.btn.btn-marketplaceCTA:active,.btn.btn-marketplaceCTA.active,.btn-marketplaceCTA:active,.btn-marketplaceCTA.active{background:var(--Land-Green-Main-41, #409C35)}.btn.btn-destructive,.btn-destructive{background:var(--Energy-Red-45, #D2141D);color:var(--White, #FFFFFF);justify-content:center}.btn.btn-destructive:hover,.btn-destructive:hover{background:var(--Energy-Red-35, #A30F17)}.btn.btn-destructive:active,.btn.btn-destructive.active,.btn-destructive:active,.btn-destructive.active{background:var(--Energy-Red-50, #E91620)}.sideMenuItem>.icon{width:24px;height:24px}.input{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:#fff;border:1px solid var(--Sandstone-60, #9C9A96);border-radius:0;color:#1a1a19;display:block;font-weight:400;font-style:normal;outline:0 solid transparent;width:100%}.input:focus{border:1px solid var(--Cyan-Main-43, #00A1DB);outline:1px solid var(--Cyan-Main-43, #00A1DB)}.input:disabled,.input[aria-disabled=true],fieldset:disabled .input{background:var(--Sandstone-90, #E6E6E5);border-color:var(--Sandstone-90, #E6E6E5)}.input::-moz-placeholder{color:var(--Sandstone-55, #908D89);opacity:1}.input::placeholder{color:var(--Sandstone-55, #908D89);opacity:1}.input.input-xl,.input-xl{font-size:1rem;line-height:1.625;padding:.4375rem .5rem}.input.input-lg,.input-lg{font-size:1rem;line-height:1.625;padding:.375rem .5rem}.input.input-md,.input-md{font-size:.875rem;line-height:1.5714285714285714;padding:.25rem .5rem}.input.input-sm,.input-sm{font-size:.875rem;line-height:1.5714285714285714;padding:.0625rem .5rem}.input.input-validated,.input.input-validated:focus,.input-validated,.input-validated:focus{border-color:var(--Land-Green-35, #36852E)}.input.input-validated,.input-validated{background-image:url("data:image/svg+xml,%3csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M20.8831 4.31025L7.75741 17.436L3.11702 12.7956C2.89736 12.5759 2.54121 12.5759 2.3215 12.7956L1.79121 13.3259C1.57155 13.5455 1.57155 13.9017 1.79121 14.1214L7.35968 19.6898C7.57933 19.9095 7.93549 19.9095 8.15519 19.6898L22.2089 5.63611C22.4286 5.41645 22.4286 5.0603 22.2089 4.84059L21.6786 4.31025C21.4589 4.09059 21.1028 4.09059 20.8831 4.31025Z' fill='var(--Land-Green-35%2c %2336852E)'/%3e%3c/svg%3e");background-repeat:no-repeat}.input.input-error,.input.input-error:focus,.input-error,.input-error:focus{border-color:var(--Energy-Red-45, #D2141D)}.input.input-select,.input-select{background-image:url("data:image/svg+xml,%3csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M11.6018 15.3255L6.16426 9.80359C5.94395 9.58328 5.94395 9.22703 6.16426 9.00671L6.49707 8.6739C6.71738 8.45359 7.07363 8.45359 7.29395 8.6739L12.0002 13.4692L16.7064 8.67859C16.9268 8.45828 17.283 8.45828 17.5033 8.67859L17.8361 9.0114C18.0564 9.23171 18.0564 9.58796 17.8361 9.80828L12.3986 15.3302C12.1783 15.5458 11.8221 15.5458 11.6018 15.3255Z' fill='var(--Sea-Blue-Main-28%2c %2300348F)'/%3e%3c/svg%3e");background-repeat:no-repeat}.avatar{font-weight:500;font-style:normal;align-items:center;background:#e6e6e5;border-radius:9999px;color:#353431;display:inline-flex;justify-content:center;overflow:hidden;text-transform:uppercase}.avatar.avatar-xl,.avatar-xl{font-size:1.125rem;line-height:1.5555555555555556;height:3rem;width:3rem}.avatar.avatar-lg,.avatar-lg{font-size:1rem;line-height:1.5;height:2.5rem;width:2.5rem}.avatar.avatar-md,.avatar-md{font-size:.875rem;line-height:1.4285714285714286;height:2rem;width:2rem}.avatar.avatar-sm,.avatar-sm{font-size:.75rem;line-height:1.3333333333333333;height:1.5rem;width:1.5rem}.avatar.avatar-xxl,.avatar-xxl{font-size:1.125rem;line-height:1.5555555555555556;height:3.5rem;width:3.5rem}.prose{color:var(--tw-prose-body);max-width:65ch}.prose :where(p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em}.prose :where([class~=lead]):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-lead);font-size:1.25em;line-height:1.6;margin-top:1.2em;margin-bottom:1.2em}.prose :where(a):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-links);text-decoration:underline;font-weight:500}.prose :where(strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-bold);font-weight:600}.prose :where(a strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(blockquote strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(thead th strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(ol):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:decimal;margin-top:1.25em;margin-bottom:1.25em;padding-inline-start:1.625em}.prose :where(ol[type=A]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-alpha}.prose :where(ol[type=a]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-alpha}.prose :where(ol[type=A s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-alpha}.prose :where(ol[type=a s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-alpha}.prose :where(ol[type=I]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-roman}.prose :where(ol[type=i]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-roman}.prose :where(ol[type=I s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-roman}.prose :where(ol[type=i s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-roman}.prose :where(ol[type="1"]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:decimal}.prose :where(ul):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:disc;margin-top:1.25em;margin-bottom:1.25em;padding-inline-start:1.625em}.prose :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *))::marker{font-weight:400;color:var(--tw-prose-counters)}.prose :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *))::marker{color:var(--tw-prose-bullets)}.prose :where(dt):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;margin-top:1.25em}.prose :where(hr):not(:where([class~=not-prose],[class~=not-prose] *)){border-color:var(--tw-prose-hr);border-top-width:1px;margin-top:3em;margin-bottom:3em}.prose :where(blockquote):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:500;font-style:italic;color:var(--tw-prose-quotes);border-inline-start-width:.25rem;border-inline-start-color:var(--tw-prose-quote-borders);quotes:"“""”""‘""’";margin-top:1.6em;margin-bottom:1.6em;padding-inline-start:1em}.prose :where(blockquote p:first-of-type):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:open-quote}.prose :where(blockquote p:last-of-type):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:close-quote}.prose :where(h1):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:800;font-size:2.25em;margin-top:0;margin-bottom:.8888889em;line-height:1.1111111}.prose :where(h1 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:900;color:inherit}.prose :where(h2):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:700;font-size:1.5em;margin-top:2em;margin-bottom:1em;line-height:1.3333333}.prose :where(h2 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:800;color:inherit}.prose :where(h3):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;font-size:1.25em;margin-top:1.6em;margin-bottom:.6em;line-height:1.6}.prose :where(h3 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:700;color:inherit}.prose :where(h4):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;margin-top:1.5em;margin-bottom:.5em;line-height:1.5}.prose :where(h4 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:700;color:inherit}.prose :where(img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(picture):not(:where([class~=not-prose],[class~=not-prose] *)){display:block;margin-top:2em;margin-bottom:2em}.prose :where(video):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(kbd):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:500;font-family:inherit;color:var(--tw-prose-kbd);box-shadow:0 0 0 1px rgb(var(--tw-prose-kbd-shadows) / 10%),0 3px rgb(var(--tw-prose-kbd-shadows) / 10%);font-size:.875em;border-radius:.3125rem;padding-top:.1875em;padding-inline-end:.375em;padding-bottom:.1875em;padding-inline-start:.375em}.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-code);font-weight:600;font-size:.875em}.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:"\`"}.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:"\`"}.prose :where(a code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(h1 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(h2 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-size:.875em}.prose :where(h3 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-size:.9em}.prose :where(h4 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(blockquote code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(thead th code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(pre):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-pre-code);background-color:var(--tw-prose-pre-bg);overflow-x:auto;font-weight:400;font-size:.875em;line-height:1.7142857;margin-top:1.7142857em;margin-bottom:1.7142857em;border-radius:.375rem;padding-top:.8571429em;padding-inline-end:1.1428571em;padding-bottom:.8571429em;padding-inline-start:1.1428571em}.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)){background-color:transparent;border-width:0;border-radius:0;padding:0;font-weight:inherit;color:inherit;font-size:inherit;font-family:inherit;line-height:inherit}.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:none}.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:none}.prose :where(table):not(:where([class~=not-prose],[class~=not-prose] *)){width:100%;table-layout:auto;margin-top:2em;margin-bottom:2em;font-size:.875em;line-height:1.7142857}.prose :where(thead):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:1px;border-bottom-color:var(--tw-prose-th-borders)}.prose :where(thead th):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;vertical-align:bottom;padding-inline-end:.5714286em;padding-bottom:.5714286em;padding-inline-start:.5714286em}.prose :where(tbody tr):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:1px;border-bottom-color:var(--tw-prose-td-borders)}.prose :where(tbody tr:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:0}.prose :where(tbody td):not(:where([class~=not-prose],[class~=not-prose] *)){vertical-align:baseline}.prose :where(tfoot):not(:where([class~=not-prose],[class~=not-prose] *)){border-top-width:1px;border-top-color:var(--tw-prose-th-borders)}.prose :where(tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){vertical-align:top}.prose :where(th,td):not(:where([class~=not-prose],[class~=not-prose] *)){text-align:start}.prose :where(figure>*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose :where(figcaption):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-captions);font-size:.875em;line-height:1.4285714;margin-top:.8571429em}.prose{--tw-prose-body: #374151;--tw-prose-headings: #111827;--tw-prose-lead: #4b5563;--tw-prose-links: #111827;--tw-prose-bold: #111827;--tw-prose-counters: #6b7280;--tw-prose-bullets: #d1d5db;--tw-prose-hr: #e5e7eb;--tw-prose-quotes: #111827;--tw-prose-quote-borders: #e5e7eb;--tw-prose-captions: #6b7280;--tw-prose-kbd: #111827;--tw-prose-kbd-shadows: 17 24 39;--tw-prose-code: #111827;--tw-prose-pre-code: #e5e7eb;--tw-prose-pre-bg: #1f2937;--tw-prose-th-borders: #d1d5db;--tw-prose-td-borders: #e5e7eb;--tw-prose-invert-body: #d1d5db;--tw-prose-invert-headings: #fff;--tw-prose-invert-lead: #9ca3af;--tw-prose-invert-links: #fff;--tw-prose-invert-bold: #fff;--tw-prose-invert-counters: #9ca3af;--tw-prose-invert-bullets: #4b5563;--tw-prose-invert-hr: #374151;--tw-prose-invert-quotes: #f3f4f6;--tw-prose-invert-quote-borders: #374151;--tw-prose-invert-captions: #9ca3af;--tw-prose-invert-kbd: #fff;--tw-prose-invert-kbd-shadows: 255 255 255;--tw-prose-invert-code: #fff;--tw-prose-invert-pre-code: #d1d5db;--tw-prose-invert-pre-bg: rgb(0 0 0 / 50%);--tw-prose-invert-th-borders: #4b5563;--tw-prose-invert-td-borders: #374151;font-size:1rem;line-height:1.75}.prose :where(picture>img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose :where(li):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5em;margin-bottom:.5em}.prose :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:.375em}.prose :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:.375em}.prose :where(.prose>ul>li p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.75em;margin-bottom:.75em}.prose :where(.prose>ul>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em}.prose :where(.prose>ul>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.25em}.prose :where(.prose>ol>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em}.prose :where(.prose>ol>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.25em}.prose :where(ul ul,ul ol,ol ul,ol ol):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.75em;margin-bottom:.75em}.prose :where(dl):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em}.prose :where(dd):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5em;padding-inline-start:1.625em}.prose :where(hr+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(h2+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(h3+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(h4+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(thead th:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:0}.prose :where(thead th:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:0}.prose :where(tbody td,tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){padding-top:.5714286em;padding-inline-end:.5714286em;padding-bottom:.5714286em;padding-inline-start:.5714286em}.prose :where(tbody td:first-child,tfoot td:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:0}.prose :where(tbody td:last-child,tfoot td:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:0}.prose :where(figure):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(.prose>:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(.prose>:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:0}.prose :where(ul>li>*:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0!important}.prose :where(ul>li>*:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:0!important}.prose-sm{font-size:.875rem;line-height:1.7142857}.prose-sm :where(p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em;margin-bottom:1.1428571em}.prose-sm :where([class~=lead]):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:1.2857143em;line-height:1.5555556;margin-top:.8888889em;margin-bottom:.8888889em}.prose-sm :where(blockquote):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.3333333em;margin-bottom:1.3333333em;padding-inline-start:1.1111111em}.prose-sm :where(h1):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:2.1428571em;margin-top:0;margin-bottom:.8em;line-height:1.2}.prose-sm :where(h2):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:1.4285714em;margin-top:1.6em;margin-bottom:.8em;line-height:1.4}.prose-sm :where(h3):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:1.2857143em;margin-top:1.5555556em;margin-bottom:.4444444em;line-height:1.5555556}.prose-sm :where(h4):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.4285714em;margin-bottom:.5714286em;line-height:1.4285714}.prose-sm :where(img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.7142857em;margin-bottom:1.7142857em}.prose-sm :where(picture):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.7142857em;margin-bottom:1.7142857em}.prose-sm :where(picture>img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose-sm :where(video):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.7142857em;margin-bottom:1.7142857em}.prose-sm :where(kbd):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8571429em;border-radius:.3125rem;padding-top:.1428571em;padding-inline-end:.3571429em;padding-bottom:.1428571em;padding-inline-start:.3571429em}.prose-sm :where(code):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8571429em}.prose-sm :where(h2 code):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.9em}.prose-sm :where(h3 code):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8888889em}.prose-sm :where(pre):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8571429em;line-height:1.6666667;margin-top:1.6666667em;margin-bottom:1.6666667em;border-radius:.25rem;padding-top:.6666667em;padding-inline-end:1em;padding-bottom:.6666667em;padding-inline-start:1em}.prose-sm :where(ol):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em;margin-bottom:1.1428571em;padding-inline-start:1.5714286em}.prose-sm :where(ul):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em;margin-bottom:1.1428571em;padding-inline-start:1.5714286em}.prose-sm :where(li):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.2857143em;margin-bottom:.2857143em}.prose-sm :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:.4285714em}.prose-sm :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:.4285714em}.prose-sm :where(.prose-sm>ul>li p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5714286em;margin-bottom:.5714286em}.prose-sm :where(.prose-sm>ul>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em}.prose-sm :where(.prose-sm>ul>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.1428571em}.prose-sm :where(.prose-sm>ol>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em}.prose-sm :where(.prose-sm>ol>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.1428571em}.prose-sm :where(ul ul,ul ol,ol ul,ol ol):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5714286em;margin-bottom:.5714286em}.prose-sm :where(dl):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em;margin-bottom:1.1428571em}.prose-sm :where(dt):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em}.prose-sm :where(dd):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.2857143em;padding-inline-start:1.5714286em}.prose-sm :where(hr):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2.8571429em;margin-bottom:2.8571429em}.prose-sm :where(hr+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose-sm :where(h2+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose-sm :where(h3+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose-sm :where(h4+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose-sm :where(table):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8571429em;line-height:1.5}.prose-sm :where(thead th):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:1em;padding-bottom:.6666667em;padding-inline-start:1em}.prose-sm :where(thead th:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:0}.prose-sm :where(thead th:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:0}.prose-sm :where(tbody td,tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){padding-top:.6666667em;padding-inline-end:1em;padding-bottom:.6666667em;padding-inline-start:1em}.prose-sm :where(tbody td:first-child,tfoot td:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:0}.prose-sm :where(tbody td:last-child,tfoot td:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:0}.prose-sm :where(figure):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.7142857em;margin-bottom:1.7142857em}.prose-sm :where(figure>*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose-sm :where(figcaption):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8571429em;line-height:1.3333333;margin-top:.6666667em}.prose-sm :where(.prose-sm>:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose-sm :where(.prose-sm>:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:0}.prose-neutral{--tw-prose-body: #404040;--tw-prose-headings: #171717;--tw-prose-lead: #525252;--tw-prose-links: #171717;--tw-prose-bold: #171717;--tw-prose-counters: #737373;--tw-prose-bullets: #d4d4d4;--tw-prose-hr: #e5e5e5;--tw-prose-quotes: #171717;--tw-prose-quote-borders: #e5e5e5;--tw-prose-captions: #737373;--tw-prose-kbd: #171717;--tw-prose-kbd-shadows: 23 23 23;--tw-prose-code: #171717;--tw-prose-pre-code: #e5e5e5;--tw-prose-pre-bg: #262626;--tw-prose-th-borders: #d4d4d4;--tw-prose-td-borders: #e5e5e5;--tw-prose-invert-body: #d4d4d4;--tw-prose-invert-headings: #fff;--tw-prose-invert-lead: #a3a3a3;--tw-prose-invert-links: #fff;--tw-prose-invert-bold: #fff;--tw-prose-invert-counters: #a3a3a3;--tw-prose-invert-bullets: #525252;--tw-prose-invert-hr: #404040;--tw-prose-invert-quotes: #f5f5f5;--tw-prose-invert-quote-borders: #404040;--tw-prose-invert-captions: #a3a3a3;--tw-prose-invert-kbd: #fff;--tw-prose-invert-kbd-shadows: 255 255 255;--tw-prose-invert-code: #fff;--tw-prose-invert-pre-code: #d4d4d4;--tw-prose-invert-pre-bg: rgb(0 0 0 / 50%);--tw-prose-invert-th-borders: #525252;--tw-prose-invert-td-borders: #404040}.static{position:static!important}.absolute{position:absolute!important}.relative{position:relative!important}.m-2{margin:.5rem!important}.my-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.mb-2{margin-bottom:.5rem!important}.ml-\\[1ch\\]{margin-left:1ch!important}.mt-2{margin-top:.5rem!important}.block{display:block!important}.inline{display:inline!important}.flex{display:flex!important}.inline-flex{display:inline-flex!important}.table{display:table!important}.grid{display:grid!important}.h-3{height:.75rem!important}.h-full{height:100%!important}.w-3{width:.75rem!important}.w-\\[600px\\]{width:600px!important}.w-full{width:100%!important}.min-w-24{min-width:6rem!important}.max-w-lg{max-width:32rem!important}.max-w-none{max-width:none!important}.flex-1{flex:1 1 0%!important}.shrink-0{flex-shrink:0!important}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}@keyframes spin{to{transform:rotate(360deg)}}.animate-spin{animation:spin 1s linear infinite!important}.select-none{-webkit-user-select:none!important;-moz-user-select:none!important;user-select:none!important}.flex-col{flex-direction:column!important}.justify-end{justify-content:flex-end!important}.gap-2{gap:.5rem!important}.gap-3{gap:.75rem!important}.gap-5{gap:1.25rem!important}.overflow-hidden{overflow:hidden!important}.overflow-x-auto{overflow-x:auto!important}.whitespace-pre-wrap{white-space:pre-wrap!important}.rounded-full{border-radius:9999px!important}.border{border-width:1px!important}.border-l-4{border-left-width:4px!important}.border-t{border-top-width:1px!important}.border-Energy-Red-45{--tw-border-opacity: 1 !important;border-color:hsl(357 83% 45% / var(--tw-border-opacity, 1))!important}.border-Light{--tw-border-opacity: 1 !important;border-color:hsl(40 3% 90% / var(--tw-border-opacity, 1))!important}.border-t-Light{--tw-border-opacity: 1 !important;border-top-color:hsl(40 3% 90% / var(--tw-border-opacity, 1))!important}.bg-Black{--tw-bg-opacity: 1 !important;background-color:hsl(40 3% 10% / var(--tw-bg-opacity, 1))!important}.bg-Energy-Red-95{--tw-bg-opacity: 1 !important;background-color:hsl(357 83% 95% / var(--tw-bg-opacity, 1))!important}.bg-Eucalyptus-85{--tw-bg-opacity: 1 !important;background-color:hsl(178 80% 85% / var(--tw-bg-opacity, 1))!important}.bg-Land-Green-95{--tw-bg-opacity: 1 !important;background-color:hsl(114 49% 95% / var(--tw-bg-opacity, 1))!important}.bg-Lavender-90{--tw-bg-opacity: 1 !important;background-color:hsl(232 58% 90% / var(--tw-bg-opacity, 1))!important}.bg-Sandstone-95{--tw-bg-opacity: 1 !important;background-color:hsl(40 3% 95% / var(--tw-bg-opacity, 1))!important}.bg-Sandstone-97{--tw-bg-opacity: 1 !important;background-color:hsl(40 3% 97% / var(--tw-bg-opacity, 1))!important}.bg-Sea-Blue-Main-28{--tw-bg-opacity: 1 !important;background-color:hsl(218 100% 28% / var(--tw-bg-opacity, 1))!important}.bg-Sky-Blue-80{--tw-bg-opacity: 1 !important;background-color:hsl(196 74% 80% / var(--tw-bg-opacity, 1))!important}.bg-Sky-Blue-Main-77{--tw-bg-opacity: 1 !important;background-color:hsl(196 74% 77% / var(--tw-bg-opacity, 1))!important}.bg-Sunflower-85{--tw-bg-opacity: 1 !important;background-color:hsl(55 100% 85% / var(--tw-bg-opacity, 1))!important}.bg-Terracotta-85{--tw-bg-opacity: 1 !important;background-color:hsl(34 100% 85% / var(--tw-bg-opacity, 1))!important}.p-1{padding:.25rem!important}.p-2{padding:.5rem!important}.p-3{padding:.75rem!important}.p-6{padding:1.5rem!important}.pb-3{padding-bottom:.75rem!important}.pl-7{padding-left:1.75rem!important}.pr-3{padding-right:.75rem!important}.pt-3{padding-top:.75rem!important}.text-left{text-align:left!important}.text-base{font-size:1rem!important;line-height:1.625!important}.text-sm{font-size:.75rem!important;line-height:1.5!important}.font-medium{font-weight:500!important}.uppercase{text-transform:uppercase!important}.leading-5{line-height:1.25rem!important}.text-Black{--tw-text-opacity: 1 !important;color:hsl(40 3% 10% / var(--tw-text-opacity, 1))!important}.text-Energy-Red-45{--tw-text-opacity: 1 !important;color:hsl(357 83% 45% / var(--tw-text-opacity, 1))!important}.text-Eucalyptus-20{--tw-text-opacity: 1 !important;color:hsl(178 80% 20% / var(--tw-text-opacity, 1))!important}.text-Land-Green-30{--tw-text-opacity: 1 !important;color:hsl(114 49% 30% / var(--tw-text-opacity, 1))!important}.text-Lavender-50{--tw-text-opacity: 1 !important;color:hsl(232 58% 50% / var(--tw-text-opacity, 1))!important}.text-Sea-Blue-Main-28{--tw-text-opacity: 1 !important;color:hsl(218 100% 28% / var(--tw-text-opacity, 1))!important}.text-Sky-Blue-95{--tw-text-opacity: 1 !important;color:hsl(196 74% 95% / var(--tw-text-opacity, 1))!important}.text-Sunflower-20{--tw-text-opacity: 1 !important;color:hsl(55 100% 20% / var(--tw-text-opacity, 1))!important}.text-Terracotta-20{--tw-text-opacity: 1 !important;color:hsl(34 100% 20% / var(--tw-text-opacity, 1))!important}.text-Terracotta-30{--tw-text-opacity: 1 !important;color:hsl(34 100% 30% / var(--tw-text-opacity, 1))!important}.text-White{--tw-text-opacity: 1 !important;color:hsl(40 3% 100% / var(--tw-text-opacity, 1))!important}.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1) !important;--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color) !important;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)!important}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)!important}.transition-all{transition-property:all!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important;transition-duration:.15s!important}.duration-300{transition-duration:.3s!important}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)!important}.title{font-size:4rem!important;font-style:normal!important;font-weight:400!important;line-height:1.15625!important}@media only screen and (max-width: 992px){.title{font-size:2.625rem!important;line-height:1.2380952380952381!important}}.title{color:var(--Dark-Blue-Main-18, hsl(223, 67%, 18%))!important}:is(.dark .title){color:var(--White, hsl(40 3% 100%))!important}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.fade-in{animation:fadeIn .2s cubic-bezier(.4,0,1,1)}@keyframes pulse{0%{transform:scale(.75);opacity:.6}50%{transform:scale(1.25);opacity:1}to{transform:scale(.75);opacity:.6}}.btn-link:hover{cursor:pointer;border-radius:3px;background-color:#a8a2a2}.group[data-expanded=true] .group-data-\\[expanded\\=true\\]\\:-rotate-180{--tw-rotate: -180deg !important;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}`,al="pre code.hljs{display:block;overflow-x:auto;padding:1em}code.hljs{padding:3px 5px}.hljs{color:#383a42;background:#fafafa}.hljs-comment,.hljs-quote{color:#a0a1a7;font-style:italic}.hljs-doctag,.hljs-keyword,.hljs-formula{color:#a626a4}.hljs-section,.hljs-name,.hljs-selector-tag,.hljs-deletion,.hljs-subst{color:#e45649}.hljs-literal{color:#0184bb}.hljs-string,.hljs-regexp,.hljs-addition,.hljs-attribute,.hljs-meta .hljs-string{color:#50a14f}.hljs-attr,.hljs-variable,.hljs-template-variable,.hljs-type,.hljs-selector-class,.hljs-selector-attr,.hljs-selector-pseudo,.hljs-number{color:#986801}.hljs-symbol,.hljs-bullet,.hljs-link,.hljs-meta,.hljs-selector-id,.hljs-title{color:#4078f2}.hljs-built_in,.hljs-title.class_,.hljs-class .hljs-title{color:#c18401}.hljs-emphasis{font-style:italic}.hljs-strong{font-weight:700}.hljs-link{text-decoration:underline}",sl='@font-face{font-family:KaTeX_AMS;src:url(https://cdn.veracity.com/vcb/katex/KaTeX_AMS-Regular.woff2) format("woff2"),url(https://cdn.veracity.com/vcb/katex/KaTeX_AMS-Regular.woff) format("woff"),url(https://cdn.veracity.com/vcb/katex/KaTeX_AMS-Regular.ttf) format("truetype");font-weight:400;font-style:normal}@font-face{font-family:KaTeX_Caligraphic;src:url(https://cdn.veracity.com/vcb/katex/KaTeX_Caligraphic-Bold.woff2) format("woff2"),url(https://cdn.veracity.com/vcb/katex/KaTeX_Caligraphic-Bold.woff) format("woff"),url(https://cdn.veracity.com/vcb/katex/KaTeX_Caligraphic-Bold.ttf) format("truetype");font-weight:700;font-style:normal}@font-face{font-family:KaTeX_Caligraphic;src:url(https://cdn.veracity.com/vcb/katex/KaTeX_Caligraphic-Regular.woff2) format("woff2"),url(https://cdn.veracity.com/vcb/katex/KaTeX_Caligraphic-Regular.woff) format("woff"),url(https://cdn.veracity.com/vcb/katex/KaTeX_Caligraphic-Regular.ttf) format("truetype");font-weight:400;font-style:normal}@font-face{font-family:KaTeX_Fraktur;src:url(https://cdn.veracity.com/vcb/katex/KaTeX_Fraktur-Bold.woff2) format("woff2"),url(https://cdn.veracity.com/vcb/katex/KaTeX_Fraktur-Bold.woff) format("woff"),url(https://cdn.veracity.com/vcb/katex/KaTeX_Fraktur-Bold.ttf) format("truetype");font-weight:700;font-style:normal}@font-face{font-family:KaTeX_Fraktur;src:url(https://cdn.veracity.com/vcb/katex/KaTeX_Fraktur-Regular.woff2) format("woff2"),url(https://cdn.veracity.com/vcb/katex/KaTeX_Fraktur-Regular.woff) format("woff"),url(https://cdn.veracity.com/vcb/katex/KaTeX_Fraktur-Regular.ttf) format("truetype");font-weight:400;font-style:normal}@font-face{font-family:KaTeX_Main;src:url(https://cdn.veracity.com/vcb/katex/KaTeX_Main-Bold.woff2) format("woff2"),url(https://cdn.veracity.com/vcb/katex/KaTeX_Main-Bold.woff) format("woff"),url(https://cdn.veracity.com/vcb/katex/KaTeX_Main-Bold.ttf) format("truetype");font-weight:700;font-style:normal}@font-face{font-family:KaTeX_Main;src:url(https://cdn.veracity.com/vcb/katex/KaTeX_Main-BoldItalic.woff2) format("woff2"),url(https://cdn.veracity.com/vcb/katex/KaTeX_Main-BoldItalic.woff) format("woff"),url(https://cdn.veracity.com/vcb/katex/KaTeX_Main-BoldItalic.ttf) format("truetype");font-weight:700;font-style:italic}@font-face{font-family:KaTeX_Main;src:url(https://cdn.veracity.com/vcb/katex/KaTeX_Main-Italic.woff2) format("woff2"),url(https://cdn.veracity.com/vcb/katex/KaTeX_Main-Italic.woff) format("woff"),url(https://cdn.veracity.com/vcb/katex/KaTeX_Main-Italic.ttf) format("truetype");font-weight:400;font-style:italic}@font-face{font-family:KaTeX_Main;src:url(https://cdn.veracity.com/vcb/katex/KaTeX_Main-Regular.woff2) format("woff2"),url(https://cdn.veracity.com/vcb/katex/KaTeX_Main-Regular.woff) format("woff"),url(https://cdn.veracity.com/vcb/katex/KaTeX_Main-Regular.ttf) format("truetype");font-weight:400;font-style:normal}@font-face{font-family:KaTeX_Math;src:url(https://cdn.veracity.com/vcb/katex/KaTeX_Math-BoldItalic.woff2) format("woff2"),url(https://cdn.veracity.com/vcb/katex/KaTeX_Math-BoldItalic.woff) format("woff"),url(https://cdn.veracity.com/vcb/katex/KaTeX_Math-BoldItalic.ttf) format("truetype");font-weight:700;font-style:italic}@font-face{font-family:KaTeX_Math;src:url(https://cdn.veracity.com/vcb/katex/KaTeX_Math-Italic.woff2) format("woff2"),url(https://cdn.veracity.com/vcb/katex/KaTeX_Math-Italic.woff) format("woff"),url(https://cdn.veracity.com/vcb/katex/KaTeX_Math-Italic.ttf) format("truetype");font-weight:400;font-style:italic}@font-face{font-family:KaTeX_SansSerif;src:url(https://cdn.veracity.com/vcb/katex/KaTeX_SansSerif-Bold.woff2) format("woff2"),url(https://cdn.veracity.com/vcb/katex/KaTeX_SansSerif-Bold.woff) format("woff"),url(https://cdn.veracity.com/vcb/katex/KaTeX_SansSerif-Bold.ttf) format("truetype");font-weight:700;font-style:normal}@font-face{font-family:KaTeX_SansSerif;src:url(https://cdn.veracity.com/vcb/katex/KaTeX_SansSerif-Italic.woff2) format("woff2"),url(https://cdn.veracity.com/vcb/katex/KaTeX_SansSerif-Italic.woff) format("woff"),url(https://cdn.veracity.com/vcb/katex/KaTeX_SansSerif-Italic.ttf) format("truetype");font-weight:400;font-style:italic}@font-face{font-family:KaTeX_SansSerif;src:url(https://cdn.veracity.com/vcb/katex/KaTeX_SansSerif-Regular.woff2) format("woff2"),url(https://cdn.veracity.com/vcb/katex/KaTeX_SansSerif-Regular.woff) format("woff"),url(https://cdn.veracity.com/vcb/katex/KaTeX_SansSerif-Regular.ttf) format("truetype");font-weight:400;font-style:normal}@font-face{font-family:KaTeX_Script;src:url(https://cdn.veracity.com/vcb/katex/KaTeX_Script-Regular.woff2) format("woff2"),url(https://cdn.veracity.com/vcb/katex/KaTeX_Script-Regular.woff) format("woff"),url(https://cdn.veracity.com/vcb/katex/KaTeX_Script-Regular.ttf) format("truetype");font-weight:400;font-style:normal}@font-face{font-family:KaTeX_Size1;src:url(https://cdn.veracity.com/vcb/katex/KaTeX_Size1-Regular.woff2) format("woff2"),url(https://cdn.veracity.com/vcb/katex/KaTeX_Size1-Regular.woff) format("woff"),url(https://cdn.veracity.com/vcb/katex/KaTeX_Size1-Regular.ttf) format("truetype");font-weight:400;font-style:normal}@font-face{font-family:KaTeX_Size2;src:url(https://cdn.veracity.com/vcb/katex/KaTeX_Size2-Regular.woff2) format("woff2"),url(https://cdn.veracity.com/vcb/katex/KaTeX_Size2-Regular.woff) format("woff"),url(https://cdn.veracity.com/vcb/katex/KaTeX_Size2-Regular.ttf) format("truetype");font-weight:400;font-style:normal}@font-face{font-family:KaTeX_Size3;src:url(https://cdn.veracity.com/vcb/katex/KaTeX_Size3-Regular.woff2) format("woff2"),url(https://cdn.veracity.com/vcb/katex/KaTeX_Size3-Regular.woff) format("woff"),url(https://cdn.veracity.com/vcb/katex/KaTeX_Size3-Regular.ttf) format("truetype");font-weight:400;font-style:normal}@font-face{font-family:KaTeX_Size4;src:url(https://cdn.veracity.com/vcb/katex/KaTeX_Size4-Regular.woff2) format("woff2"),url(https://cdn.veracity.com/vcb/katex/KaTeX_Size4-Regular.woff) format("woff"),url(https://cdn.veracity.com/vcb/katex/KaTeX_Size4-Regular.ttf) format("truetype");font-weight:400;font-style:normal}@font-face{font-family:KaTeX_Typewriter;src:url(https://cdn.veracity.com/vcb/katex/KaTeX_Typewriter-Regular.woff2) format("woff2"),url(https://cdn.veracity.com/vcb/katex/KaTeX_Typewriter-Regular.woff) format("woff"),url(https://cdn.veracity.com/vcb/katex/KaTeX_Typewriter-Regular.ttf) format("truetype");font-weight:400;font-style:normal}.katex{font: 1.21em KaTeX_Main,Times New Roman,serif;line-height:1.2;text-indent:0;text-rendering:auto}.katex *{-ms-high-contrast-adjust:none!important;border-color:currentColor}.katex .katex-version:after{content:"0.16.15"}.katex .katex-mathml{position:absolute;clip:rect(1px,1px,1px,1px);padding:0;border:0;height:1px;width:1px;overflow:hidden}.katex .katex-html>.newline{display:block}.katex .base{position:relative;display:inline-block;white-space:nowrap;width:-moz-min-content;width:min-content}.katex .strut{display:inline-block}.katex .textbf{font-weight:700}.katex .textit{font-style:italic}.katex .textrm{font-family:KaTeX_Main}.katex .textsf{font-family:KaTeX_SansSerif}.katex .texttt{font-family:KaTeX_Typewriter}.katex .mathnormal{font-family:KaTeX_Math;font-style:italic}.katex .mathit{font-family:KaTeX_Main;font-style:italic}.katex .mathrm{font-style:normal}.katex .mathbf{font-family:KaTeX_Main;font-weight:700}.katex .boldsymbol{font-family:KaTeX_Math;font-weight:700;font-style:italic}.katex .amsrm,.katex .mathbb,.katex .textbb{font-family:KaTeX_AMS}.katex .mathcal{font-family:KaTeX_Caligraphic}.katex .mathfrak,.katex .textfrak{font-family:KaTeX_Fraktur}.katex .mathboldfrak,.katex .textboldfrak{font-family:KaTeX_Fraktur;font-weight:700}.katex .mathtt{font-family:KaTeX_Typewriter}.katex .mathscr,.katex .textscr{font-family:KaTeX_Script}.katex .mathsf,.katex .textsf{font-family:KaTeX_SansSerif}.katex .mathboldsf,.katex .textboldsf{font-family:KaTeX_SansSerif;font-weight:700}.katex .mathsfit,.katex .mathitsf,.katex .textitsf{font-family:KaTeX_SansSerif;font-style:italic}.katex .mainrm{font-family:KaTeX_Main;font-style:normal}.katex .vlist-t{display:inline-table;table-layout:fixed;border-collapse:collapse}.katex .vlist-r{display:table-row}.katex .vlist{display:table-cell;vertical-align:bottom;position:relative}.katex .vlist>span{display:block;height:0;position:relative}.katex .vlist>span>span{display:inline-block}.katex .vlist>span>.pstrut{overflow:hidden;width:0}.katex .vlist-t2{margin-right:-2px}.katex .vlist-s{display:table-cell;vertical-align:bottom;font-size:1px;width:2px;min-width:2px}.katex .vbox{display:inline-flex;flex-direction:column;align-items:baseline}.katex .hbox{display:inline-flex;flex-direction:row;width:100%}.katex .thinbox{display:inline-flex;flex-direction:row;width:0;max-width:0}.katex .msupsub{text-align:left}.katex .mfrac>span>span{text-align:center}.katex .mfrac .frac-line{display:inline-block;width:100%;border-bottom-style:solid}.katex .mfrac .frac-line,.katex .overline .overline-line,.katex .underline .underline-line,.katex .hline,.katex .hdashline,.katex .rule{min-height:1px}.katex .mspace{display:inline-block}.katex .llap,.katex .rlap,.katex .clap{width:0;position:relative}.katex .llap>.inner,.katex .rlap>.inner,.katex .clap>.inner{position:absolute}.katex .llap>.fix,.katex .rlap>.fix,.katex .clap>.fix{display:inline-block}.katex .llap>.inner{right:0}.katex .rlap>.inner,.katex .clap>.inner{left:0}.katex .clap>.inner>span{margin-left:-50%;margin-right:50%}.katex .rule{display:inline-block;border:solid 0;position:relative}.katex .overline .overline-line,.katex .underline .underline-line,.katex .hline{display:inline-block;width:100%;border-bottom-style:solid}.katex .hdashline{display:inline-block;width:100%;border-bottom-style:dashed}.katex .sqrt>.root{margin-left:.2777777778em;margin-right:-.5555555556em}.katex .sizing.reset-size1.size1,.katex .fontsize-ensurer.reset-size1.size1{font-size:1em}.katex .sizing.reset-size1.size2,.katex .fontsize-ensurer.reset-size1.size2{font-size:1.2em}.katex .sizing.reset-size1.size3,.katex .fontsize-ensurer.reset-size1.size3{font-size:1.4em}.katex .sizing.reset-size1.size4,.katex .fontsize-ensurer.reset-size1.size4{font-size:1.6em}.katex .sizing.reset-size1.size5,.katex .fontsize-ensurer.reset-size1.size5{font-size:1.8em}.katex .sizing.reset-size1.size6,.katex .fontsize-ensurer.reset-size1.size6{font-size:2em}.katex .sizing.reset-size1.size7,.katex .fontsize-ensurer.reset-size1.size7{font-size:2.4em}.katex .sizing.reset-size1.size8,.katex .fontsize-ensurer.reset-size1.size8{font-size:2.88em}.katex .sizing.reset-size1.size9,.katex .fontsize-ensurer.reset-size1.size9{font-size:3.456em}.katex .sizing.reset-size1.size10,.katex .fontsize-ensurer.reset-size1.size10{font-size:4.148em}.katex .sizing.reset-size1.size11,.katex .fontsize-ensurer.reset-size1.size11{font-size:4.976em}.katex .sizing.reset-size2.size1,.katex .fontsize-ensurer.reset-size2.size1{font-size:.8333333333em}.katex .sizing.reset-size2.size2,.katex .fontsize-ensurer.reset-size2.size2{font-size:1em}.katex .sizing.reset-size2.size3,.katex .fontsize-ensurer.reset-size2.size3{font-size:1.1666666667em}.katex .sizing.reset-size2.size4,.katex .fontsize-ensurer.reset-size2.size4{font-size:1.3333333333em}.katex .sizing.reset-size2.size5,.katex .fontsize-ensurer.reset-size2.size5{font-size:1.5em}.katex .sizing.reset-size2.size6,.katex .fontsize-ensurer.reset-size2.size6{font-size:1.6666666667em}.katex .sizing.reset-size2.size7,.katex .fontsize-ensurer.reset-size2.size7{font-size:2em}.katex .sizing.reset-size2.size8,.katex .fontsize-ensurer.reset-size2.size8{font-size:2.4em}.katex .sizing.reset-size2.size9,.katex .fontsize-ensurer.reset-size2.size9{font-size:2.88em}.katex .sizing.reset-size2.size10,.katex .fontsize-ensurer.reset-size2.size10{font-size:3.4566666667em}.katex .sizing.reset-size2.size11,.katex .fontsize-ensurer.reset-size2.size11{font-size:4.1466666667em}.katex .sizing.reset-size3.size1,.katex .fontsize-ensurer.reset-size3.size1{font-size:.7142857143em}.katex .sizing.reset-size3.size2,.katex .fontsize-ensurer.reset-size3.size2{font-size:.8571428571em}.katex .sizing.reset-size3.size3,.katex .fontsize-ensurer.reset-size3.size3{font-size:1em}.katex .sizing.reset-size3.size4,.katex .fontsize-ensurer.reset-size3.size4{font-size:1.1428571429em}.katex .sizing.reset-size3.size5,.katex .fontsize-ensurer.reset-size3.size5{font-size:1.2857142857em}.katex .sizing.reset-size3.size6,.katex .fontsize-ensurer.reset-size3.size6{font-size:1.4285714286em}.katex .sizing.reset-size3.size7,.katex .fontsize-ensurer.reset-size3.size7{font-size:1.7142857143em}.katex .sizing.reset-size3.size8,.katex .fontsize-ensurer.reset-size3.size8{font-size:2.0571428571em}.katex .sizing.reset-size3.size9,.katex .fontsize-ensurer.reset-size3.size9{font-size:2.4685714286em}.katex .sizing.reset-size3.size10,.katex .fontsize-ensurer.reset-size3.size10{font-size:2.9628571429em}.katex .sizing.reset-size3.size11,.katex .fontsize-ensurer.reset-size3.size11{font-size:3.5542857143em}.katex .sizing.reset-size4.size1,.katex .fontsize-ensurer.reset-size4.size1{font-size:.625em}.katex .sizing.reset-size4.size2,.katex .fontsize-ensurer.reset-size4.size2{font-size:.75em}.katex .sizing.reset-size4.size3,.katex .fontsize-ensurer.reset-size4.size3{font-size:.875em}.katex .sizing.reset-size4.size4,.katex .fontsize-ensurer.reset-size4.size4{font-size:1em}.katex .sizing.reset-size4.size5,.katex .fontsize-ensurer.reset-size4.size5{font-size:1.125em}.katex .sizing.reset-size4.size6,.katex .fontsize-ensurer.reset-size4.size6{font-size:1.25em}.katex .sizing.reset-size4.size7,.katex .fontsize-ensurer.reset-size4.size7{font-size:1.5em}.katex .sizing.reset-size4.size8,.katex .fontsize-ensurer.reset-size4.size8{font-size:1.8em}.katex .sizing.reset-size4.size9,.katex .fontsize-ensurer.reset-size4.size9{font-size:2.16em}.katex .sizing.reset-size4.size10,.katex .fontsize-ensurer.reset-size4.size10{font-size:2.5925em}.katex .sizing.reset-size4.size11,.katex .fontsize-ensurer.reset-size4.size11{font-size:3.11em}.katex .sizing.reset-size5.size1,.katex .fontsize-ensurer.reset-size5.size1{font-size:.5555555556em}.katex .sizing.reset-size5.size2,.katex .fontsize-ensurer.reset-size5.size2{font-size:.6666666667em}.katex .sizing.reset-size5.size3,.katex .fontsize-ensurer.reset-size5.size3{font-size:.7777777778em}.katex .sizing.reset-size5.size4,.katex .fontsize-ensurer.reset-size5.size4{font-size:.8888888889em}.katex .sizing.reset-size5.size5,.katex .fontsize-ensurer.reset-size5.size5{font-size:1em}.katex .sizing.reset-size5.size6,.katex .fontsize-ensurer.reset-size5.size6{font-size:1.1111111111em}.katex .sizing.reset-size5.size7,.katex .fontsize-ensurer.reset-size5.size7{font-size:1.3333333333em}.katex .sizing.reset-size5.size8,.katex .fontsize-ensurer.reset-size5.size8{font-size:1.6em}.katex .sizing.reset-size5.size9,.katex .fontsize-ensurer.reset-size5.size9{font-size:1.92em}.katex .sizing.reset-size5.size10,.katex .fontsize-ensurer.reset-size5.size10{font-size:2.3044444444em}.katex .sizing.reset-size5.size11,.katex .fontsize-ensurer.reset-size5.size11{font-size:2.7644444444em}.katex .sizing.reset-size6.size1,.katex .fontsize-ensurer.reset-size6.size1{font-size:.5em}.katex .sizing.reset-size6.size2,.katex .fontsize-ensurer.reset-size6.size2{font-size:.6em}.katex .sizing.reset-size6.size3,.katex .fontsize-ensurer.reset-size6.size3{font-size:.7em}.katex .sizing.reset-size6.size4,.katex .fontsize-ensurer.reset-size6.size4{font-size:.8em}.katex .sizing.reset-size6.size5,.katex .fontsize-ensurer.reset-size6.size5{font-size:.9em}.katex .sizing.reset-size6.size6,.katex .fontsize-ensurer.reset-size6.size6{font-size:1em}.katex .sizing.reset-size6.size7,.katex .fontsize-ensurer.reset-size6.size7{font-size:1.2em}.katex .sizing.reset-size6.size8,.katex .fontsize-ensurer.reset-size6.size8{font-size:1.44em}.katex .sizing.reset-size6.size9,.katex .fontsize-ensurer.reset-size6.size9{font-size:1.728em}.katex .sizing.reset-size6.size10,.katex .fontsize-ensurer.reset-size6.size10{font-size:2.074em}.katex .sizing.reset-size6.size11,.katex .fontsize-ensurer.reset-size6.size11{font-size:2.488em}.katex .sizing.reset-size7.size1,.katex .fontsize-ensurer.reset-size7.size1{font-size:.4166666667em}.katex .sizing.reset-size7.size2,.katex .fontsize-ensurer.reset-size7.size2{font-size:.5em}.katex .sizing.reset-size7.size3,.katex .fontsize-ensurer.reset-size7.size3{font-size:.5833333333em}.katex .sizing.reset-size7.size4,.katex .fontsize-ensurer.reset-size7.size4{font-size:.6666666667em}.katex .sizing.reset-size7.size5,.katex .fontsize-ensurer.reset-size7.size5{font-size:.75em}.katex .sizing.reset-size7.size6,.katex .fontsize-ensurer.reset-size7.size6{font-size:.8333333333em}.katex .sizing.reset-size7.size7,.katex .fontsize-ensurer.reset-size7.size7{font-size:1em}.katex .sizing.reset-size7.size8,.katex .fontsize-ensurer.reset-size7.size8{font-size:1.2em}.katex .sizing.reset-size7.size9,.katex .fontsize-ensurer.reset-size7.size9{font-size:1.44em}.katex .sizing.reset-size7.size10,.katex .fontsize-ensurer.reset-size7.size10{font-size:1.7283333333em}.katex .sizing.reset-size7.size11,.katex .fontsize-ensurer.reset-size7.size11{font-size:2.0733333333em}.katex .sizing.reset-size8.size1,.katex .fontsize-ensurer.reset-size8.size1{font-size:.3472222222em}.katex .sizing.reset-size8.size2,.katex .fontsize-ensurer.reset-size8.size2{font-size:.4166666667em}.katex .sizing.reset-size8.size3,.katex .fontsize-ensurer.reset-size8.size3{font-size:.4861111111em}.katex .sizing.reset-size8.size4,.katex .fontsize-ensurer.reset-size8.size4{font-size:.5555555556em}.katex .sizing.reset-size8.size5,.katex .fontsize-ensurer.reset-size8.size5{font-size:.625em}.katex .sizing.reset-size8.size6,.katex .fontsize-ensurer.reset-size8.size6{font-size:.6944444444em}.katex .sizing.reset-size8.size7,.katex .fontsize-ensurer.reset-size8.size7{font-size:.8333333333em}.katex .sizing.reset-size8.size8,.katex .fontsize-ensurer.reset-size8.size8{font-size:1em}.katex .sizing.reset-size8.size9,.katex .fontsize-ensurer.reset-size8.size9{font-size:1.2em}.katex .sizing.reset-size8.size10,.katex .fontsize-ensurer.reset-size8.size10{font-size:1.4402777778em}.katex .sizing.reset-size8.size11,.katex .fontsize-ensurer.reset-size8.size11{font-size:1.7277777778em}.katex .sizing.reset-size9.size1,.katex .fontsize-ensurer.reset-size9.size1{font-size:.2893518519em}.katex .sizing.reset-size9.size2,.katex .fontsize-ensurer.reset-size9.size2{font-size:.3472222222em}.katex .sizing.reset-size9.size3,.katex .fontsize-ensurer.reset-size9.size3{font-size:.4050925926em}.katex .sizing.reset-size9.size4,.katex .fontsize-ensurer.reset-size9.size4{font-size:.462962963em}.katex .sizing.reset-size9.size5,.katex .fontsize-ensurer.reset-size9.size5{font-size:.5208333333em}.katex .sizing.reset-size9.size6,.katex .fontsize-ensurer.reset-size9.size6{font-size:.5787037037em}.katex .sizing.reset-size9.size7,.katex .fontsize-ensurer.reset-size9.size7{font-size:.6944444444em}.katex .sizing.reset-size9.size8,.katex .fontsize-ensurer.reset-size9.size8{font-size:.8333333333em}.katex .sizing.reset-size9.size9,.katex .fontsize-ensurer.reset-size9.size9{font-size:1em}.katex .sizing.reset-size9.size10,.katex .fontsize-ensurer.reset-size9.size10{font-size:1.2002314815em}.katex .sizing.reset-size9.size11,.katex .fontsize-ensurer.reset-size9.size11{font-size:1.4398148148em}.katex .sizing.reset-size10.size1,.katex .fontsize-ensurer.reset-size10.size1{font-size:.2410800386em}.katex .sizing.reset-size10.size2,.katex .fontsize-ensurer.reset-size10.size2{font-size:.2892960463em}.katex .sizing.reset-size10.size3,.katex .fontsize-ensurer.reset-size10.size3{font-size:.337512054em}.katex .sizing.reset-size10.size4,.katex .fontsize-ensurer.reset-size10.size4{font-size:.3857280617em}.katex .sizing.reset-size10.size5,.katex .fontsize-ensurer.reset-size10.size5{font-size:.4339440694em}.katex .sizing.reset-size10.size6,.katex .fontsize-ensurer.reset-size10.size6{font-size:.4821600771em}.katex .sizing.reset-size10.size7,.katex .fontsize-ensurer.reset-size10.size7{font-size:.5785920926em}.katex .sizing.reset-size10.size8,.katex .fontsize-ensurer.reset-size10.size8{font-size:.6943105111em}.katex .sizing.reset-size10.size9,.katex .fontsize-ensurer.reset-size10.size9{font-size:.8331726133em}.katex .sizing.reset-size10.size10,.katex .fontsize-ensurer.reset-size10.size10{font-size:1em}.katex .sizing.reset-size10.size11,.katex .fontsize-ensurer.reset-size10.size11{font-size:1.1996142719em}.katex .sizing.reset-size11.size1,.katex .fontsize-ensurer.reset-size11.size1{font-size:.2009646302em}.katex .sizing.reset-size11.size2,.katex .fontsize-ensurer.reset-size11.size2{font-size:.2411575563em}.katex .sizing.reset-size11.size3,.katex .fontsize-ensurer.reset-size11.size3{font-size:.2813504823em}.katex .sizing.reset-size11.size4,.katex .fontsize-ensurer.reset-size11.size4{font-size:.3215434084em}.katex .sizing.reset-size11.size5,.katex .fontsize-ensurer.reset-size11.size5{font-size:.3617363344em}.katex .sizing.reset-size11.size6,.katex .fontsize-ensurer.reset-size11.size6{font-size:.4019292605em}.katex .sizing.reset-size11.size7,.katex .fontsize-ensurer.reset-size11.size7{font-size:.4823151125em}.katex .sizing.reset-size11.size8,.katex .fontsize-ensurer.reset-size11.size8{font-size:.578778135em}.katex .sizing.reset-size11.size9,.katex .fontsize-ensurer.reset-size11.size9{font-size:.6945337621em}.katex .sizing.reset-size11.size10,.katex .fontsize-ensurer.reset-size11.size10{font-size:.8336012862em}.katex .sizing.reset-size11.size11,.katex .fontsize-ensurer.reset-size11.size11{font-size:1em}.katex .delimsizing.size1{font-family:KaTeX_Size1}.katex .delimsizing.size2{font-family:KaTeX_Size2}.katex .delimsizing.size3{font-family:KaTeX_Size3}.katex .delimsizing.size4{font-family:KaTeX_Size4}.katex .delimsizing.mult .delim-size1>span{font-family:KaTeX_Size1}.katex .delimsizing.mult .delim-size4>span{font-family:KaTeX_Size4}.katex .nulldelimiter{display:inline-block;width:.12em}.katex .delimcenter,.katex .op-symbol{position:relative}.katex .op-symbol.small-op{font-family:KaTeX_Size1}.katex .op-symbol.large-op{font-family:KaTeX_Size2}.katex .op-limits>.vlist-t{text-align:center}.katex .accent>.vlist-t{text-align:center}.katex .accent .accent-body{position:relative}.katex .accent .accent-body:not(.accent-full){width:0}.katex .overlay{display:block}.katex .mtable .vertical-separator{display:inline-block;min-width:1px}.katex .mtable .arraycolsep{display:inline-block}.katex .mtable .col-align-c>.vlist-t{text-align:center}.katex .mtable .col-align-l>.vlist-t{text-align:left}.katex .mtable .col-align-r>.vlist-t{text-align:right}.katex .svg-align{text-align:left}.katex svg{display:block;position:absolute;width:100%;height:inherit;fill:currentColor;stroke:currentColor;fill-rule:nonzero;fill-opacity:1;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1}.katex svg path{stroke:none}.katex img{border-style:none;min-width:0;min-height:0;max-width:none;max-height:none}.katex .stretchy{width:100%;display:block;position:relative;overflow:hidden}.katex .stretchy:before,.katex .stretchy:after{content:""}.katex .hide-tail{width:100%;position:relative;overflow:hidden}.katex .halfarrow-left{position:absolute;left:0;width:50.2%;overflow:hidden}.katex .halfarrow-right{position:absolute;right:0;width:50.2%;overflow:hidden}.katex .brace-left{position:absolute;left:0;width:25.1%;overflow:hidden}.katex .brace-center{position:absolute;left:25%;width:50%;overflow:hidden}.katex .brace-right{position:absolute;right:0;width:25.1%;overflow:hidden}.katex .x-arrow-pad{padding:0 .5em}.katex .cd-arrow-pad{padding:0 .55556em 0 .27778em}.katex .x-arrow,.katex .mover,.katex .munder{text-align:center}.katex .boxpad{padding:0 .3em}.katex .fbox,.katex .fcolorbox{box-sizing:border-box;border:.04em solid}.katex .cancel-pad{padding:0 .2em}.katex .cancel-lap{margin-left:-.2em;margin-right:-.2em}.katex .sout{border-bottom-style:solid;border-bottom-width:.08em}.katex .angl{box-sizing:border-box;border-top:.049em solid;border-right:.049em solid;margin-right:.03889em}.katex .anglpad{padding:0 .03889em}.katex .eqn-num:before{counter-increment:katexEqnNo;content:"(" counter(katexEqnNo) ")"}.katex .mml-eqn-num:before{counter-increment:mmlEqnNo;content:"(" counter(mmlEqnNo) ")"}.katex .mtr-glue{width:50%}.katex .cd-vert-arrow{display:inline-block;position:relative}.katex .cd-label-left{display:inline-block;position:absolute;right:calc(50% + .3em);text-align:left}.katex .cd-label-right{display:inline-block;position:absolute;left:calc(50% + .3em);text-align:right}.katex-display{display:block;margin:1em 0;text-align:center}.katex-display>.katex{display:block;text-align:center;white-space:nowrap}.katex-display>.katex>.katex-html{display:block;position:relative}.katex-display>.katex>.katex-html>.tag{position:absolute;right:0}.katex-display.leqno>.katex>.katex-html>.tag{left:0;right:auto}.katex-display.fleqn>.katex{text-align:left;padding-left:2em}:host{counter-reset:katexEqnNo mmlEqnNo}';class Oa extends Error{constructor(){super("Max input limit reached.")}}var en=(t=>(t[t.Messages=0]="Messages",t[t.OperationResult=1]="OperationResult",t[t.OperationError=2]="OperationError",t))(en||{}),Me=(t=>(t[t.MessageBegin=0]="MessageBegin",t[t.MessageAppend=1]="MessageAppend",t[t.MessageToolCallUpdate=2]="MessageToolCallUpdate",t[t.MessageToolCallResult=3]="MessageToolCallResult",t[t.MessageToolCallError=4]="MessageToolCallError",t[t.MessageExecuteLlmFunctionsBegin=5]="MessageExecuteLlmFunctionsBegin",t[t.MessageExecuteLlmFunctionsEnd=6]="MessageExecuteLlmFunctionsEnd",t[t.MessageInvokeClientFunction=7]="MessageInvokeClientFunction",t[t.MessageInvokeClientFunctionResult=8]="MessageInvokeClientFunctionResult",t[t.MessageInvokeClientFunctionError=9]="MessageInvokeClientFunctionError",t[t.MessageSubConversationBegin=10]="MessageSubConversationBegin",t[t.ConversationEnd=11]="ConversationEnd",t[t.ConversationError=12]="ConversationError",t[t.MessageToolCallBegin=13]="MessageToolCallBegin",t))(Me||{});class bn extends Error{constructor(e="Operation was cancelled."){super(e)}}class Kt{constructor(){P(this,"isCancellationRequested",!1);P(this,"listeners",new Set)}addListener(e){this.isCancellationRequested?e():this.listeners.add(e)}cancel(){if(!this.isCancellationRequested){this.isCancellationRequested=!0;for(const e of this.listeners)e();this.listeners.clear()}}removeListener(e){this.listeners.delete(e)}throwIfCancellationRequested(){if(this.isCancellationRequested)throw new bn}}class ol{constructor(){P(this,"_queue",[]);P(this,"_waitToReadDeferred");P(this,"_isCompleted",!1)}resolveWaitToReadDeferred(e){const r=this._waitToReadDeferred;r&&(this._waitToReadDeferred=null,r.cancellationToken.removeListener(r.cancellationTokenListener),r.resolve(e))}complete(){this._isCompleted||(this._isCompleted=!0,this.resolveWaitToReadDeferred(!!this._queue.length))}completeWithError(e){if(this._isCompleted)return;this._isCompleted=!0;const r=this._waitToReadDeferred;r&&(this._waitToReadDeferred=null,r.cancellationToken.removeListener(r.cancellationTokenListener),r.reject(e))}tryWrite(e){return this._isCompleted?!1:(this._queue.push(e),this.resolveWaitToReadDeferred(!0),!0)}waitToReadAsync(e){if(e.isCancellationRequested)return Promise.reject(new bn);if(this._waitToReadDeferred)return Promise.reject(new Error("Multiple readers are not supported."));if(this._queue.length)return Promise.resolve(!0);if(this._isCompleted)return Promise.resolve(!1);const r={};r.cancellationTokenListener=()=>{this._waitToReadDeferred===r&&(this._waitToReadDeferred=null,r.reject(new bn))},r.cancellationToken=e,e.addListener(r.cancellationTokenListener);const n=new Promise((i,a)=>{r.resolve=i,r.reject=a});return this._waitToReadDeferred=r,n}read(){const e=this._queue;return this._queue=[],e}}class li extends ol{constructor(){super(...arguments);P(this,"_reader");P(this,"_buffer",new Uint8Array(0));P(this,"_bufferOffset",0);P(this,"_abortController");P(this,"_cancellationToken");P(this,"_textDecoder",new TextDecoder)}async initializeExistingAsync(r,n){this._abortController=new AbortController,(this._cancellationToken=new Kt).addListener(()=>this._abortController.abort());const i=await r(n,{method:"GET",signal:this._abortController.signal});if(i.status!==404){if(!i.ok)throw new Error(`Failed to load history messages: ${i.status} ${i.statusText}`);this._reader=i.body.getReader(),this.readMessagesAsync()}}async summarizeTitleAsync(r,n,i,a){this._abortController=new AbortController,(this._cancellationToken=new Kt).addListener(()=>this._abortController.abort());const s=await r(n,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({type:en.Messages,messages:i,chatId:a}),signal:this._abortController.signal});if(s.status===400)return null;if(!s.ok)throw new Error(`Failed to start chat completion SSE: ${s.status} ${s.statusText}`);return s.json()}async startAsync(r,n,i,a,s){this._abortController=new AbortController,(this._cancellationToken=new Kt).addListener(()=>this._abortController.abort());const o=await r(n,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({type:en.Messages,messages:i,chatId:a,copilotId:s}),signal:this._abortController.signal});if(o.status===429)throw new Oa;if(!o.ok)throw new Error(`Failed to start chat completion SSE: ${o.status} ${o.statusText}`);this._reader=o.body.getReader(),this.readMessagesAsync()}stop(){this._cancellationToken.cancel()}get wasStopped(){return this._cancellationToken.isCancellationRequested}async readBytesAsync(r){if(this._buffer.length-this._bufferOffset>=r){const i=this._buffer.subarray(this._bufferOffset,this._bufferOffset+r);return this._bufferOffset+=r,i}for(;this._buffer.length-this._bufferOffset<r;){const{done:i,value:a}=await this._reader.read();if(i){const s=this._buffer.subarray(this._bufferOffset);return this._buffer=new Uint8Array(0),this._bufferOffset=0,s}this._buffer=ll(this._buffer,a,this._bufferOffset),this._bufferOffset=0}const n=this._buffer.subarray(this._bufferOffset,this._bufferOffset+r);return this._bufferOffset+=r,n}async readLittleEndianInt32Async(){const r=await this.readBytesAsync(4),n=r.buffer.slice(r.byteOffset,r.byteOffset+r.byteLength);return new DataView(n).getInt32(0,!0)}async readUtf8StringAsync(){const r=await this.readLittleEndianInt32Async();if(r===-1)return null;const n=await this.readBytesAsync(r);return this._textDecoder.decode(n)}async readMessageAsync(){const r=await this.readBytesAsync(1);if(r.length==0)return null;const n=r[0];switch(n){case Me.MessageBegin:{const i=await this.readUtf8StringAsync(),a=await this.readUtf8StringAsync(),s=await this.readUtf8StringAsync(),o=await this.readUtf8StringAsync(),u=await this.readUtf8StringAsync(),h=await this.readUtf8StringAsync(),d=await this.readUtf8StringAsync(),p=await this.readUtf8StringAsync();return{type:n,conversationId:i,messageAuthorRole:a,messageAuthorId:s,messageAuthorPictureUrl:o,messageAuthorDisplayName:u,messageAuthorEmail:h,messageId:d,copilotId:p}}case Me.MessageAppend:{const i=await this.readUtf8StringAsync(),a=await this.readUtf8StringAsync();return{type:n,conversationId:i,appendMessageMarkdown:a}}case Me.MessageToolCallUpdate:{const i=await this.readUtf8StringAsync(),a=await this.readUtf8StringAsync(),s=await this.readLittleEndianInt32Async(),o=await this.readUtf8StringAsync(),u=await this.readUtf8StringAsync();return{type:n,conversationId:i,llmFunctionId:a,toolCallUpdateIndex:s,toolCallUpdateName:o,toolCallUpdateArguments:u}}case Me.MessageInvokeClientFunction:{const i=await this.readUtf8StringAsync(),a=await this.readUtf8StringAsync(),s=await this.readUtf8StringAsync(),o=await this.readUtf8StringAsync(),u=await this.readUtf8StringAsync();return{type:n,conversationId:i,llmFunctionId:a,operationId:s,clientFunctionName:o,argumentsAsJSON:u}}case Me.MessageInvokeClientFunctionResult:{const i=await this.readUtf8StringAsync(),a=await this.readUtf8StringAsync();return{type:n,operationId:i,result:a}}case Me.MessageInvokeClientFunctionError:{const i=await this.readUtf8StringAsync(),a=await this.readUtf8StringAsync();return{type:n,operationId:i,error:a}}case Me.MessageSubConversationBegin:{const i=await this.readUtf8StringAsync(),a=await this.readUtf8StringAsync(),s=await this.readUtf8StringAsync(),o=await this.readUtf8StringAsync(),u=await this.readUtf8StringAsync(),h=await this.readUtf8StringAsync(),d=await this.readUtf8StringAsync();return{type:n,conversationId:i,subConversationId:a,messageAuthorId:s,messageAuthorPictureUrl:o,messageAuthorDisplayName:u,messageAuthorEmail:h,subConversationTitle:d}}case Me.ConversationEnd:{const i=await this.readUtf8StringAsync();return{type:n,conversationId:i}}case Me.ConversationError:{const i=await this.readUtf8StringAsync(),a=await this.readUtf8StringAsync(),s=await this.readUtf8StringAsync();return{type:n,conversationId:i,error:a,stackTrace:s}}case Me.MessageExecuteLlmFunctionsBegin:case Me.MessageExecuteLlmFunctionsEnd:{const i=await this.readUtf8StringAsync();return{type:n,conversationId:i}}case Me.MessageToolCallBegin:{const i=await this.readUtf8StringAsync(),a=await this.readUtf8StringAsync(),s=await this.readUtf8StringAsync();return{type:n,conversationId:i,llmFunctionId:a,toolCallBeginInfo:s}}case Me.MessageToolCallResult:{const i=await this.readUtf8StringAsync(),a=await this.readUtf8StringAsync(),s=await this.readUtf8StringAsync();return{type:n,conversationId:i,llmFunctionId:a,result:s}}case Me.MessageToolCallError:{const i=await this.readUtf8StringAsync(),a=await this.readUtf8StringAsync(),s=await this.readUtf8StringAsync();return{type:n,conversationId:i,llmFunctionId:a,error:s}}default:throw new Error(`Unexpected message type: ${n}`)}}async readMessagesAsync(){try{for(;;){const r=await this.readMessageAsync();if(!r){this.complete();return}this.tryWrite(r)}}catch(r){this.completeWithError(r)}}waitToReadAsync(){return super.waitToReadAsync(this._cancellationToken)}}function ll(t,e,r){r>0&&t.copyWithin(0,r);let n=new Uint8Array(t.length-r+e.length);return n.set(t.subarray(0,t.length-r),0),n.set(e,t.length-r),n}var ul=Object.defineProperty,Se=(t,e)=>ul(t,"name",{value:e,configurable:!0}),La=(t=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(t,{get:(e,r)=>(typeof require<"u"?require:e)[r]}):t)(function(t){if(typeof require<"u")return require.apply(this,arguments);throw new Error('Dynamic require of "'+t+'" is not supported')});function Da(t){return!isNaN(parseFloat(t))&&isFinite(t)}Se(Da,"_isNumber");function ur(t){return t.charAt(0).toUpperCase()+t.substring(1)}Se(ur,"_capitalize");function vn(t){return function(){return this[t]}}Se(vn,"_getter");var qr=["isConstructor","isEval","isNative","isToplevel"],Ur=["columnNumber","lineNumber"],Hr=["fileName","functionName","source"],cl=["args"],hl=["evalOrigin"],yn=qr.concat(Ur,Hr,cl,hl);function gt(t){if(t)for(var e=0;e<yn.length;e++)t[yn[e]]!==void 0&&this["set"+ur(yn[e])](t[yn[e]])}for(Se(gt,"StackFrame"),gt.prototype={getArgs:function(){return this.args},setArgs:function(t){if(Object.prototype.toString.call(t)!=="[object Array]")throw new TypeError("Args must be an Array");this.args=t},getEvalOrigin:function(){return this.evalOrigin},setEvalOrigin:function(t){if(t instanceof gt)this.evalOrigin=t;else if(t instanceof Object)this.evalOrigin=new gt(t);else throw new TypeError("Eval Origin must be an Object or StackFrame")},toString:function(){var t=this.getFileName()||"",e=this.getLineNumber()||"",r=this.getColumnNumber()||"",n=this.getFunctionName()||"";return this.getIsEval()?t?"[eval] ("+t+":"+e+":"+r+")":"[eval]:"+e+":"+r:n?n+" ("+t+":"+e+":"+r+")":t+":"+e+":"+r}},gt.fromString=Se(function(t){var e=t.indexOf("("),r=t.lastIndexOf(")"),n=t.substring(0,e),i=t.substring(e+1,r).split(","),a=t.substring(r+1);if(a.indexOf("@")===0)var s=/@(.+?)(?::(\d+))?(?::(\d+))?$/.exec(a,""),o=s[1],u=s[2],h=s[3];return new gt({functionName:n,args:i||void 0,fileName:o,lineNumber:u||void 0,columnNumber:h||void 0})},"StackFrame$$fromString"),Ar=0;Ar<qr.length;Ar++)gt.prototype["get"+ur(qr[Ar])]=vn(qr[Ar]),gt.prototype["set"+ur(qr[Ar])]=function(t){return function(e){this[t]=!!e}}(qr[Ar]);var Ar;for(Mr=0;Mr<Ur.length;Mr++)gt.prototype["get"+ur(Ur[Mr])]=vn(Ur[Mr]),gt.prototype["set"+ur(Ur[Mr])]=function(t){return function(e){if(!Da(e))throw new TypeError(t+" must be a Number");this[t]=Number(e)}}(Ur[Mr]);var Mr;for(Cr=0;Cr<Hr.length;Cr++)gt.prototype["get"+ur(Hr[Cr])]=vn(Hr[Cr]),gt.prototype["set"+ur(Hr[Cr])]=function(t){return function(e){this[t]=String(e)}}(Hr[Cr]);var Cr,ui=gt;function Fa(){var t=/^\s*at .*(\S+:\d+|\(native\))/m,e=/^(eval@)?(\[native code])?$/;return{parse:Se(function(r){if(r.stack&&r.stack.match(t))return this.parseV8OrIE(r);if(r.stack)return this.parseFFOrSafari(r);throw new Error("Cannot parse given Error object")},"ErrorStackParser$$parse"),extractLocation:Se(function(r){if(r.indexOf(":")===-1)return[r];var n=/(.+?)(?::(\d+))?(?::(\d+))?$/,i=n.exec(r.replace(/[()]/g,""));return[i[1],i[2]||void 0,i[3]||void 0]},"ErrorStackParser$$extractLocation"),parseV8OrIE:Se(function(r){var n=r.stack.split(`
|
|
2
2
|
`).filter(function(i){return!!i.match(t)},this);return n.map(function(i){i.indexOf("(eval ")>-1&&(i=i.replace(/eval code/g,"eval").replace(/(\(eval at [^()]*)|(,.*$)/g,""));var a=i.replace(/^\s+/,"").replace(/\(eval code/g,"(").replace(/^.*?\s+/,""),s=a.match(/ (\(.+\)$)/);a=s?a.replace(s[0],""):a;var o=this.extractLocation(s?s[1]:a),u=s&&a||void 0,h=["eval","<anonymous>"].indexOf(o[0])>-1?void 0:o[0];return new ui({functionName:u,fileName:h,lineNumber:o[1],columnNumber:o[2],source:i})},this)},"ErrorStackParser$$parseV8OrIE"),parseFFOrSafari:Se(function(r){var n=r.stack.split(`
|
|
3
3
|
`).filter(function(i){return!i.match(e)},this);return n.map(function(i){if(i.indexOf(" > eval")>-1&&(i=i.replace(/ line (\d+)(?: > eval line \d+)* > eval:\d+:\d+/g,":$1")),i.indexOf("@")===-1&&i.indexOf(":")===-1)return new ui({functionName:i});var a=/((.*".+"[^@]*)?[^@]*)(?:@)/,s=i.match(a),o=s&&s[1]?s[1]:void 0,u=this.extractLocation(i.replace(a,""));return new ui({functionName:o,fileName:u[0],lineNumber:u[1],columnNumber:u[2],source:i})},this)},"ErrorStackParser$$parseFFOrSafari")}}Se(Fa,"ErrorStackParser");var dl=new Fa,ml=dl,Lt=typeof process=="object"&&typeof process.versions=="object"&&typeof process.versions.node=="string"&&!process.browser,Pa=Lt&&typeof module<"u"&&typeof module.exports<"u"&&typeof La<"u"&&typeof __dirname<"u",pl=Lt&&!Pa,fl=typeof Deno<"u",qa=!Lt&&!fl,gl=qa&&typeof window=="object"&&typeof document=="object"&&typeof document.createElement=="function"&&"sessionStorage"in window&&typeof importScripts!="function",bl=qa&&typeof importScripts=="function"&&typeof self=="object";typeof navigator=="object"&&typeof navigator.userAgent=="string"&&navigator.userAgent.indexOf("Chrome")==-1&&navigator.userAgent.indexOf("Safari")>-1;var Ua,ci,Ha,Ga,hi;async function di(){if(!Lt||(Ua=(await Promise.resolve().then(()=>jt)).default,Ga=await Promise.resolve().then(()=>jt),hi=await Promise.resolve().then(()=>jt),Ha=(await Promise.resolve().then(()=>jt)).default,ci=await Promise.resolve().then(()=>jt),pi=ci.sep,typeof La<"u"))return;let t=Ga,e=await Promise.resolve().then(()=>jt),r=await Promise.resolve().then(()=>jt),n=await Promise.resolve().then(()=>jt),i={fs:t,crypto:e,ws:r,child_process:n};globalThis.require=function(a){return i[a]}}Se(di,"initNodeModules");function $a(t,e){return ci.resolve(e||".",t)}Se($a,"node_resolvePath");function Wa(t,e){return e===void 0&&(e=location),new URL(t,e).toString()}Se(Wa,"browser_resolvePath");var mi;Lt?mi=$a:mi=Wa;var pi;Lt||(pi="/");function ja(t,e){return t.startsWith("file://")&&(t=t.slice(7)),t.includes("://")?{response:fetch(t)}:{binary:hi.readFile(t).then(r=>new Uint8Array(r.buffer,r.byteOffset,r.byteLength))}}Se(ja,"node_getBinaryResponse");function Va(t,e){let r=new URL(t,location);return{response:fetch(r,e?{integrity:e}:{})}}Se(Va,"browser_getBinaryResponse");var wn;Lt?wn=ja:wn=Va;async function Xa(t,e){let{response:r,binary:n}=wn(t,e);if(n)return n;let i=await r;if(!i.ok)throw new Error(`Failed to load '${t}': request failed.`);return new Uint8Array(await i.arrayBuffer())}Se(Xa,"loadBinaryFile");var xn;if(gl)xn=Se(async t=>await import(t),"loadScript");else if(bl)xn=Se(async t=>{try{globalThis.importScripts(t)}catch(e){if(e instanceof TypeError)await import(t);else throw e}},"loadScript");else if(Lt)xn=Ka;else throw new Error("Cannot determine runtime environment");async function Ka(t){t.startsWith("file://")&&(t=t.slice(7)),t.includes("://")?Ha.runInThisContext(await(await fetch(t)).text()):await import(Ua.pathToFileURL(t).href)}Se(Ka,"nodeLoadScript");async function Ya(t){if(Lt){await di();let e=await hi.readFile(t,{encoding:"utf8"});return JSON.parse(e)}else return await(await fetch(t)).json()}Se(Ya,"loadLockFile");async function Za(){if(Pa)return __dirname;let t;try{throw new Error}catch(n){t=n}let e=ml.parse(t)[0].fileName;if(Lt&&!e.startsWith("file://")&&(e=`file://${e}`),pl){let n=await Promise.resolve().then(()=>jt);return(await Promise.resolve().then(()=>jt)).fileURLToPath(n.dirname(e))}let r=e.lastIndexOf(pi);if(r===-1)throw new Error("Could not extract indexURL path from pyodide module location");return e.slice(0,r)}Se(Za,"calculateDirname");function Ja(t){let e=t.FS,r=t.FS.filesystems.MEMFS,n=t.PATH,i={DIR_MODE:16895,FILE_MODE:33279,mount:function(a){if(!a.opts.fileSystemHandle)throw new Error("opts.fileSystemHandle is required");return r.mount.apply(null,arguments)},syncfs:async(a,s,o)=>{try{let u=i.getLocalSet(a),h=await i.getRemoteSet(a),d=s?h:u,p=s?u:h;await i.reconcile(a,d,p),o(null)}catch(u){o(u)}},getLocalSet:a=>{let s=Object.create(null);function o(d){return d!=="."&&d!==".."}Se(o,"isRealDir");function u(d){return p=>n.join2(d,p)}Se(u,"toAbsolute");let h=e.readdir(a.mountpoint).filter(o).map(u(a.mountpoint));for(;h.length;){let d=h.pop(),p=e.stat(d);e.isDir(p.mode)&&h.push.apply(h,e.readdir(d).filter(o).map(u(d))),s[d]={timestamp:p.mtime,mode:p.mode}}return{type:"local",entries:s}},getRemoteSet:async a=>{let s=Object.create(null),o=await vl(a.opts.fileSystemHandle);for(let[u,h]of o)u!=="."&&(s[n.join2(a.mountpoint,u)]={timestamp:h.kind==="file"?(await h.getFile()).lastModifiedDate:new Date,mode:h.kind==="file"?i.FILE_MODE:i.DIR_MODE});return{type:"remote",entries:s,handles:o}},loadLocalEntry:a=>{let s=e.lookupPath(a).node,o=e.stat(a);if(e.isDir(o.mode))return{timestamp:o.mtime,mode:o.mode};if(e.isFile(o.mode))return s.contents=r.getFileDataAsTypedArray(s),{timestamp:o.mtime,mode:o.mode,contents:s.contents};throw new Error("node type not supported")},storeLocalEntry:(a,s)=>{if(e.isDir(s.mode))e.mkdirTree(a,s.mode);else if(e.isFile(s.mode))e.writeFile(a,s.contents,{canOwn:!0});else throw new Error("node type not supported");e.chmod(a,s.mode),e.utime(a,s.timestamp,s.timestamp)},removeLocalEntry:a=>{var s=e.stat(a);e.isDir(s.mode)?e.rmdir(a):e.isFile(s.mode)&&e.unlink(a)},loadRemoteEntry:async a=>{if(a.kind==="file"){let s=await a.getFile();return{contents:new Uint8Array(await s.arrayBuffer()),mode:i.FILE_MODE,timestamp:s.lastModifiedDate}}else{if(a.kind==="directory")return{mode:i.DIR_MODE,timestamp:new Date};throw new Error("unknown kind: "+a.kind)}},storeRemoteEntry:async(a,s,o)=>{let u=a.get(n.dirname(s)),h=e.isFile(o.mode)?await u.getFileHandle(n.basename(s),{create:!0}):await u.getDirectoryHandle(n.basename(s),{create:!0});if(h.kind==="file"){let d=await h.createWritable();await d.write(o.contents),await d.close()}a.set(s,h)},removeRemoteEntry:async(a,s)=>{await a.get(n.dirname(s)).removeEntry(n.basename(s)),a.delete(s)},reconcile:async(a,s,o)=>{let u=0,h=[];Object.keys(s.entries).forEach(function(b){let f=s.entries[b],z=o.entries[b];(!z||e.isFile(f.mode)&&f.timestamp.getTime()>z.timestamp.getTime())&&(h.push(b),u++)}),h.sort();let d=[];if(Object.keys(o.entries).forEach(function(b){s.entries[b]||(d.push(b),u++)}),d.sort().reverse(),!u)return;let p=s.type==="remote"?s.handles:o.handles;for(let b of h){let f=n.normalize(b.replace(a.mountpoint,"/")).substring(1);if(o.type==="local"){let z=p.get(f),E=await i.loadRemoteEntry(z);i.storeLocalEntry(b,E)}else{let z=i.loadLocalEntry(b);await i.storeRemoteEntry(p,f,z)}}for(let b of d)if(o.type==="local")i.removeLocalEntry(b);else{let f=n.normalize(b.replace(a.mountpoint,"/")).substring(1);await i.removeRemoteEntry(p,f)}}};t.FS.filesystems.NATIVEFS_ASYNC=i}Se(Ja,"initializeNativeFS");var vl=Se(async t=>{let e=[];async function r(i){for await(let a of i.values())e.push(a),a.kind==="directory"&&await r(a)}Se(r,"collect"),await r(t);let n=new Map;n.set(".",t);for(let i of e){let a=(await t.resolve(i)).join("/");n.set(a,i)}return n},"getFsHandles");function Qa(t){let e={noImageDecoding:!0,noAudioDecoding:!0,noWasmDecoding:!1,preRun:i0(t),quit(r,n){throw e.exited={status:r,toThrow:n},n},print:t.stdout,printErr:t.stderr,arguments:t.args,API:{config:t},locateFile:r=>t.indexURL+r,instantiateWasm:a0(t.indexURL)};return e}Se(Qa,"createSettings");function e0(t){return function(e){let r="/";try{e.FS.mkdirTree(t)}catch(n){console.error(`Error occurred while making a home directory '${t}':`),console.error(n),console.error(`Using '${r}' for a home directory instead`),t=r}e.FS.chdir(t)}}Se(e0,"createHomeDirectory");function t0(t){return function(e){Object.assign(e.ENV,t)}}Se(t0,"setEnvironment");function r0(t){return e=>{for(let r of t)e.FS.mkdirTree(r),e.FS.mount(e.FS.filesystems.NODEFS,{root:r},r)}}Se(r0,"mountLocalDirectories");function n0(t){let e=Xa(t);return r=>{let n=r._py_version_major(),i=r._py_version_minor();r.FS.mkdirTree("/lib"),r.FS.mkdirTree(`/lib/python${n}.${i}/site-packages`),r.addRunDependency("install-stdlib"),e.then(a=>{r.FS.writeFile(`/lib/python${n}${i}.zip`,a)}).catch(a=>{console.error("Error occurred while installing the standard library:"),console.error(a)}).finally(()=>{r.removeRunDependency("install-stdlib")})}}Se(n0,"installStdlib");function i0(t){let e;return t.stdLibURL!=null?e=t.stdLibURL:e=t.indexURL+"python_stdlib.zip",[n0(e),e0(t.env.HOME),t0(t.env),r0(t._node_mounts),Ja]}Se(i0,"getFileSystemInitializationFuncs");function a0(t){let{binary:e,response:r}=wn(t+"pyodide.asm.wasm");return function(n,i){return async function(){try{let a;r?a=await WebAssembly.instantiateStreaming(r,n):a=await WebAssembly.instantiate(await e,n);let{instance:s,module:o}=a;typeof WasmOffsetConverter<"u"&&(wasmOffsetConverter=new WasmOffsetConverter(wasmBinary,o)),i(s,o)}catch(a){console.warn("wasm instantiation failed!"),console.warn(a)}}(),{}}}Se(a0,"getInstantiateWasmFunc");var s0="0.26.4";async function o0(t={}){var e,r;await di();let n=t.indexURL||await Za();n=mi(n),n.endsWith("/")||(n+="/"),t.indexURL=n;let i={fullStdLib:!1,jsglobals:globalThis,stdin:globalThis.prompt?globalThis.prompt:void 0,lockFileURL:n+"pyodide-lock.json",args:[],_node_mounts:[],env:{},packageCacheDir:n,packages:[],enableRunUntilComplete:!1,checkAPIVersion:!0},a=Object.assign(i,t);(e=a.env).HOME??(e.HOME="/home/pyodide"),(r=a.env).PYTHONINSPECT??(r.PYTHONINSPECT="1");let s=Qa(a),o=s.API;if(o.lockFilePromise=Ya(a.lockFileURL),typeof _createPyodideModule!="function"){let b=`${a.indexURL}pyodide.asm.js`;await xn(b)}let u;if(t._loadSnapshot){let b=await t._loadSnapshot;ArrayBuffer.isView(b)?u=b:u=new Uint8Array(b),s.noInitialRun=!0,s.INITIAL_MEMORY=u.length}let h=await _createPyodideModule(s);if(s.exited)throw s.exited.toThrow;if(t.pyproxyToStringRepr&&o.setPyProxyToStringMethod(!0),o.version!==s0&&a.checkAPIVersion)throw new Error(`Pyodide version does not match: '${s0}' <==> '${o.version}'. If you updated the Pyodide version, make sure you also updated the 'indexURL' parameter passed to loadPyodide.`);h.locateFile=b=>{throw new Error("Didn't expect to load any more file_packager files!")};let d;u&&(d=o.restoreSnapshot(u));let p=o.finalizeBootstrap(d);return o.sys.path.insert(0,o.config.env.HOME),p.version.includes("dev")||o.setCdnUrl(`https://cdn.jsdelivr.net/pyodide/v${p.version}/full/`),o._pyodide.set_excepthook(),await o.packageIndexReady,o.initializeStreams(a.stdin,a.stdout,a.stderr),p}Se(o0,"loadPyodide");var Qe=typeof globalThis<"u"&&globalThis||typeof self<"u"&&self||typeof global<"u"&&global||{},ot={searchParams:"URLSearchParams"in Qe,iterable:"Symbol"in Qe&&"iterator"in Symbol,blob:"FileReader"in Qe&&"Blob"in Qe&&function(){try{return new Blob,!0}catch{return!1}}(),formData:"FormData"in Qe,arrayBuffer:"ArrayBuffer"in Qe};function yl(t){return t&&DataView.prototype.isPrototypeOf(t)}if(ot.arrayBuffer)var wl=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],xl=ArrayBuffer.isView||function(t){return t&&wl.indexOf(Object.prototype.toString.call(t))>-1};function Gr(t){if(typeof t!="string"&&(t=String(t)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(t)||t==="")throw new TypeError('Invalid character in header field name: "'+t+'"');return t.toLowerCase()}function fi(t){return typeof t!="string"&&(t=String(t)),t}function gi(t){var e={next:function(){var r=t.shift();return{done:r===void 0,value:r}}};return ot.iterable&&(e[Symbol.iterator]=function(){return e}),e}function Xe(t){this.map={},t instanceof Xe?t.forEach(function(e,r){this.append(r,e)},this):Array.isArray(t)?t.forEach(function(e){if(e.length!=2)throw new TypeError("Headers constructor: expected name/value pair to be length 2, found"+e.length);this.append(e[0],e[1])},this):t&&Object.getOwnPropertyNames(t).forEach(function(e){this.append(e,t[e])},this)}Xe.prototype.append=function(t,e){t=Gr(t),e=fi(e);var r=this.map[t];this.map[t]=r?r+", "+e:e},Xe.prototype.delete=function(t){delete this.map[Gr(t)]},Xe.prototype.get=function(t){return t=Gr(t),this.has(t)?this.map[t]:null},Xe.prototype.has=function(t){return this.map.hasOwnProperty(Gr(t))},Xe.prototype.set=function(t,e){this.map[Gr(t)]=fi(e)},Xe.prototype.forEach=function(t,e){for(var r in this.map)this.map.hasOwnProperty(r)&&t.call(e,this.map[r],r,this)},Xe.prototype.keys=function(){var t=[];return this.forEach(function(e,r){t.push(r)}),gi(t)},Xe.prototype.values=function(){var t=[];return this.forEach(function(e){t.push(e)}),gi(t)},Xe.prototype.entries=function(){var t=[];return this.forEach(function(e,r){t.push([r,e])}),gi(t)},ot.iterable&&(Xe.prototype[Symbol.iterator]=Xe.prototype.entries);function bi(t){if(!t._noBody){if(t.bodyUsed)return Promise.reject(new TypeError("Already read"));t.bodyUsed=!0}}function l0(t){return new Promise(function(e,r){t.onload=function(){e(t.result)},t.onerror=function(){r(t.error)}})}function kl(t){var e=new FileReader,r=l0(e);return e.readAsArrayBuffer(t),r}function Sl(t){var e=new FileReader,r=l0(e),n=/charset=([A-Za-z0-9_-]+)/.exec(t.type),i=n?n[1]:"utf-8";return e.readAsText(t,i),r}function zl(t){for(var e=new Uint8Array(t),r=new Array(e.length),n=0;n<e.length;n++)r[n]=String.fromCharCode(e[n]);return r.join("")}function u0(t){if(t.slice)return t.slice(0);var e=new Uint8Array(t.byteLength);return e.set(new Uint8Array(t)),e.buffer}function c0(){return this.bodyUsed=!1,this._initBody=function(t){this.bodyUsed=this.bodyUsed,this._bodyInit=t,t?typeof t=="string"?this._bodyText=t:ot.blob&&Blob.prototype.isPrototypeOf(t)?this._bodyBlob=t:ot.formData&&FormData.prototype.isPrototypeOf(t)?this._bodyFormData=t:ot.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)?this._bodyText=t.toString():ot.arrayBuffer&&ot.blob&&yl(t)?(this._bodyArrayBuffer=u0(t.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):ot.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(t)||xl(t))?this._bodyArrayBuffer=u0(t):this._bodyText=t=Object.prototype.toString.call(t):(this._noBody=!0,this._bodyText=""),this.headers.get("content-type")||(typeof t=="string"?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):ot.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},ot.blob&&(this.blob=function(){var t=bi(this);if(t)return t;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))}),this.arrayBuffer=function(){if(this._bodyArrayBuffer){var t=bi(this);return t||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer))}else{if(ot.blob)return this.blob().then(kl);throw new Error("could not read as ArrayBuffer")}},this.text=function(){var t=bi(this);if(t)return t;if(this._bodyBlob)return Sl(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(zl(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},ot.formData&&(this.formData=function(){return this.text().then(Al)}),this.json=function(){return this.text().then(JSON.parse)},this}var El=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function Tl(t){var e=t.toUpperCase();return El.indexOf(e)>-1?e:t}function _r(t,e){if(!(this instanceof _r))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');e=e||{};var r=e.body;if(t instanceof _r){if(t.bodyUsed)throw new TypeError("Already read");this.url=t.url,this.credentials=t.credentials,e.headers||(this.headers=new Xe(t.headers)),this.method=t.method,this.mode=t.mode,this.signal=t.signal,!r&&t._bodyInit!=null&&(r=t._bodyInit,t.bodyUsed=!0)}else this.url=String(t);if(this.credentials=e.credentials||this.credentials||"same-origin",(e.headers||!this.headers)&&(this.headers=new Xe(e.headers)),this.method=Tl(e.method||this.method||"GET"),this.mode=e.mode||this.mode||null,this.signal=e.signal||this.signal||function(){if("AbortController"in Qe){var a=new AbortController;return a.signal}}(),this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&r)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(r),(this.method==="GET"||this.method==="HEAD")&&(e.cache==="no-store"||e.cache==="no-cache")){var n=/([?&])_=[^&]*/;if(n.test(this.url))this.url=this.url.replace(n,"$1_="+new Date().getTime());else{var i=/\?/;this.url+=(i.test(this.url)?"&":"?")+"_="+new Date().getTime()}}}_r.prototype.clone=function(){return new _r(this,{body:this._bodyInit})};function Al(t){var e=new FormData;return t.trim().split("&").forEach(function(r){if(r){var n=r.split("="),i=n.shift().replace(/\+/g," "),a=n.join("=").replace(/\+/g," ");e.append(decodeURIComponent(i),decodeURIComponent(a))}}),e}function Ml(t){var e=new Xe,r=t.replace(/\r?\n[\t ]+/g," ");return r.split("\r").map(function(n){return n.indexOf(`
|
|
4
4
|
`)===0?n.substr(1,n.length):n}).forEach(function(n){var i=n.split(":"),a=i.shift().trim();if(a){var s=i.join(":").trim();try{e.append(a,s)}catch(o){console.warn("Response "+o.message)}}}),e}c0.call(_r.prototype);function Dt(t,e){if(!(this instanceof Dt))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(e||(e={}),this.type="default",this.status=e.status===void 0?200:e.status,this.status<200||this.status>599)throw new RangeError("Failed to construct 'Response': The status provided (0) is outside the range [200, 599].");this.ok=this.status>=200&&this.status<300,this.statusText=e.statusText===void 0?"":""+e.statusText,this.headers=new Xe(e.headers),this.url=e.url||"",this._initBody(t)}c0.call(Dt.prototype),Dt.prototype.clone=function(){return new Dt(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new Xe(this.headers),url:this.url})},Dt.error=function(){var t=new Dt(null,{status:200,statusText:""});return t.ok=!1,t.status=0,t.type="error",t};var Cl=[301,302,303,307,308];Dt.redirect=function(t,e){if(Cl.indexOf(e)===-1)throw new RangeError("Invalid status code");return new Dt(null,{status:e,headers:{location:t}})};var Nr=Qe.DOMException;try{new Nr}catch{Nr=function(e,r){this.message=e,this.name=r;var n=Error(e);this.stack=n.stack},Nr.prototype=Object.create(Error.prototype),Nr.prototype.constructor=Nr}function h0(t,e){return new Promise(function(r,n){var i=new _r(t,e);if(i.signal&&i.signal.aborted)return n(new Nr("Aborted","AbortError"));var a=new XMLHttpRequest;function s(){a.abort()}a.onload=function(){var h={statusText:a.statusText,headers:Ml(a.getAllResponseHeaders()||"")};i.url.indexOf("file://")===0&&(a.status<200||a.status>599)?h.status=200:h.status=a.status,h.url="responseURL"in a?a.responseURL:h.headers.get("X-Request-URL");var d="response"in a?a.response:a.responseText;setTimeout(function(){r(new Dt(d,h))},0)},a.onerror=function(){setTimeout(function(){n(new TypeError("Network request failed"))},0)},a.ontimeout=function(){setTimeout(function(){n(new TypeError("Network request timed out"))},0)},a.onabort=function(){setTimeout(function(){n(new Nr("Aborted","AbortError"))},0)};function o(h){try{return h===""&&Qe.location.href?Qe.location.href:h}catch{return h}}if(a.open(i.method,o(i.url),!0),i.credentials==="include"?a.withCredentials=!0:i.credentials==="omit"&&(a.withCredentials=!1),"responseType"in a&&(ot.blob?a.responseType="blob":ot.arrayBuffer&&(a.responseType="arraybuffer")),e&&typeof e.headers=="object"&&!(e.headers instanceof Xe||Qe.Headers&&e.headers instanceof Qe.Headers)){var u=[];Object.getOwnPropertyNames(e.headers).forEach(function(h){u.push(Gr(h)),a.setRequestHeader(h,fi(e.headers[h]))}),i.headers.forEach(function(h,d){u.indexOf(d)===-1&&a.setRequestHeader(d,h)})}else i.headers.forEach(function(h,d){a.setRequestHeader(d,h)});i.signal&&(i.signal.addEventListener("abort",s),a.onreadystatechange=function(){a.readyState===4&&i.signal.removeEventListener("abort",s)}),a.send(typeof i._bodyInit>"u"?null:i._bodyInit)})}h0.polyfill=!0,Qe.fetch||(Qe.fetch=h0,Qe.Headers=Xe,Qe.Request=_r,Qe.Response=Dt);class _l extends Error{constructor(e="Unexpected end of stream"){super(e)}}function cr(t,e,r,n){return n?new Promise((i,a)=>{const s=t.animate(e,r),o=()=>{s.pause()};n.addListener(o),s.onfinish=()=>{n.removeListener(o),i()},s.oncancel=()=>{a(new bn)}}):new Promise(i=>{const a=t.animate(e,r);a.onfinish=i})}var Ft=(t=>(t.Primary="btn-primary",t.Secondary="btn-secondary",t.Tertiary="btn-tertiary",t.Badge="btn-badge",t.CTA="btn-cta",t.Destructive="btn-destructive",t))(Ft||{}),$r=(t=>(t.Small="btn-sm",t.Medium="btn-md",t.Large="btn-lg",t.ExtraLarge="btn-xl",t))($r||{});function tn({as:t="button",type:e,variant:r="btn-primary",size:n="btn-lg",...i},a){const s=_(t,{...i},a);return t==="button"&&(s.type=e||"button"),s.classList.add("btn"),r&&s.classList.add(r),n&&s.classList.add(n),s}class d0{constructor(e,r,n){this.llmFunctionId=e,this.operationId=r,this.conversationMessage=n}async postResultAsync(e){const r=await this.conversationMessage.chat.fetch(this.conversationMessage.chat.url,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({type:en.OperationResult,operationId:this.operationId,operationResult:e})});if(!r.ok)throw new Error(`Failed to post the result for the operation with id ${this.operationId} that was called from the LLM function with id ${this.llmFunctionId} because the server responded with ${r.status} ${r.statusText}`)}async postErrorAsync(e){const r=await this.conversationMessage.chat.fetch(this.conversationMessage.chat.url,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({type:en.OperationError,operationId:this.operationId,operationError:e})});if(!r.ok)throw new Error(`Failed to post the error for the operation with id ${this.operationId} that was called from the LLM function with id ${this.llmFunctionId} because the server responded with ${r.status} ${r.statusText}`)}}const Nl={};function Bl(t,e){const r=Nl,n=typeof r.includeImageAlt=="boolean"?r.includeImageAlt:!0,i=typeof r.includeHtml=="boolean"?r.includeHtml:!0;return m0(t,n,i)}function m0(t,e,r){if(Rl(t)){if("value"in t)return t.type==="html"&&!r?"":t.value;if(e&&"alt"in t&&t.alt)return t.alt;if("children"in t)return p0(t.children,e,r)}return Array.isArray(t)?p0(t,e,r):""}function p0(t,e,r){const n=[];let i=-1;for(;++i<t.length;)n[i]=m0(t[i],e,r);return n.join("")}function Rl(t){return!!(t&&typeof t=="object")}const f0=document.createElement("i");function vi(t){const e="&"+t+";";f0.innerHTML=e;const r=f0.textContent;return r.charCodeAt(r.length-1)===59&&t!=="semi"||r===e?!1:r}function Pt(t,e,r,n){const i=t.length;let a=0,s;if(e<0?e=-e>i?0:i+e:e=e>i?i:e,r=r>0?r:0,n.length<1e4)s=Array.from(n),s.unshift(e,r),t.splice(...s);else for(r&&t.splice(e,r);a<n.length;)s=n.slice(a,a+1e4),s.unshift(e,0),t.splice(...s),a+=1e4,e+=1e4}function St(t,e){return t.length>0?(Pt(t,t.length,0,e),t):e}const g0={}.hasOwnProperty;function Il(t){const e={};let r=-1;for(;++r<t.length;)Ol(e,t[r]);return e}function Ol(t,e){let r;for(r in e){const i=(g0.call(t,r)?t[r]:void 0)||(t[r]={}),a=e[r];let s;if(a)for(s in a){g0.call(i,s)||(i[s]=[]);const o=a[s];Ll(i[s],Array.isArray(o)?o:o?[o]:[])}}}function Ll(t,e){let r=-1;const n=[];for(;++r<e.length;)(e[r].add==="after"?t:n).push(e[r]);Pt(t,0,0,n)}function b0(t,e){const r=Number.parseInt(t,e);return r<9||r===11||r>13&&r<32||r>126&&r<160||r>55295&&r<57344||r>64975&&r<65008||(r&65535)===65535||(r&65535)===65534||r>1114111?"�":String.fromCodePoint(r)}function Wr(t){return t.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const qt=hr(/[A-Za-z]/),Nt=hr(/[\dA-Za-z]/),Dl=hr(/[#-'*+\--9=?A-Z^-~]/);function yi(t){return t!==null&&(t<32||t===127)}const wi=hr(/\d/),Fl=hr(/[\dA-Fa-f]/),Pl=hr(/[!-/:-@[-`{-~]/);function re(t){return t!==null&&t<-2}function nt(t){return t!==null&&(t<0||t===32)}function we(t){return t===-2||t===-1||t===32}const ql=hr(new RegExp("\\p{P}|\\p{S}","u")),Ul=hr(/\s/);function hr(t){return e;function e(r){return r!==null&&r>-1&&t.test(String.fromCharCode(r))}}function xe(t,e,r,n){const i=n?n-1:Number.POSITIVE_INFINITY;let a=0;return s;function s(u){return we(u)?(t.enter(r),o(u)):e(u)}function o(u){return we(u)&&a++<i?(t.consume(u),o):(t.exit(r),e(u))}}const Hl={tokenize:Gl};function Gl(t){const e=t.attempt(this.parser.constructs.contentInitial,n,i);let r;return e;function n(o){if(o===null){t.consume(o);return}return t.enter("lineEnding"),t.consume(o),t.exit("lineEnding"),xe(t,e,"linePrefix")}function i(o){return t.enter("paragraph"),a(o)}function a(o){const u=t.enter("chunkText",{contentType:"text",previous:r});return r&&(r.next=u),r=u,s(o)}function s(o){if(o===null){t.exit("chunkText"),t.exit("paragraph"),t.consume(o);return}return re(o)?(t.consume(o),t.exit("chunkText"),a):(t.consume(o),s)}}const $l={tokenize:Wl},v0={tokenize:jl};function Wl(t){const e=this,r=[];let n=0,i,a,s;return o;function o(I){if(n<r.length){const Y=r[n];return e.containerState=Y[1],t.attempt(Y[0].continuation,u,h)(I)}return h(I)}function u(I){if(n++,e.containerState._closeFlow){e.containerState._closeFlow=void 0,i&&N();const Y=e.events.length;let G=Y,C;for(;G--;)if(e.events[G][0]==="exit"&&e.events[G][1].type==="chunkFlow"){C=e.events[G][1].end;break}A(n);let V=Y;for(;V<e.events.length;)e.events[V][1].end=Object.assign({},C),V++;return Pt(e.events,G+1,0,e.events.slice(Y)),e.events.length=V,h(I)}return o(I)}function h(I){if(n===r.length){if(!i)return b(I);if(i.currentConstruct&&i.currentConstruct.concrete)return z(I);e.interrupt=!!(i.currentConstruct&&!i._gfmTableDynamicInterruptHack)}return e.containerState={},t.check(v0,d,p)(I)}function d(I){return i&&N(),A(n),b(I)}function p(I){return e.parser.lazy[e.now().line]=n!==r.length,s=e.now().offset,z(I)}function b(I){return e.containerState={},t.attempt(v0,f,z)(I)}function f(I){return n++,r.push([e.currentConstruct,e.containerState]),b(I)}function z(I){if(I===null){i&&N(),A(0),t.consume(I);return}return i=i||e.parser.flow(e.now()),t.enter("chunkFlow",{contentType:"flow",previous:a,_tokenizer:i}),E(I)}function E(I){if(I===null){O(t.exit("chunkFlow"),!0),A(0),t.consume(I);return}return re(I)?(t.consume(I),O(t.exit("chunkFlow")),n=0,e.interrupt=void 0,o):(t.consume(I),E)}function O(I,Y){const G=e.sliceStream(I);if(Y&&G.push(null),I.previous=a,a&&(a.next=I),a=I,i.defineSkip(I.start),i.write(G),e.parser.lazy[I.start.line]){let C=i.events.length;for(;C--;)if(i.events[C][1].start.offset<s&&(!i.events[C][1].end||i.events[C][1].end.offset>s))return;const V=e.events.length;let ee=V,j,M;for(;ee--;)if(e.events[ee][0]==="exit"&&e.events[ee][1].type==="chunkFlow"){if(j){M=e.events[ee][1].end;break}j=!0}for(A(n),C=V;C<e.events.length;)e.events[C][1].end=Object.assign({},M),C++;Pt(e.events,ee+1,0,e.events.slice(V)),e.events.length=C}}function A(I){let Y=r.length;for(;Y-- >I;){const G=r[Y];e.containerState=G[1],G[0].exit.call(e,t)}r.length=I}function N(){i.write([null]),a=void 0,i=void 0,e.containerState._closeFlow=void 0}}function jl(t,e,r){return xe(t,t.attempt(this.parser.constructs.document,e,r),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function y0(t){if(t===null||nt(t)||Ul(t))return 1;if(ql(t))return 2}function xi(t,e,r){const n=[];let i=-1;for(;++i<t.length;){const a=t[i].resolveAll;a&&!n.includes(a)&&(e=a(e,r),n.push(a))}return e}const ki={name:"attention",tokenize:Xl,resolveAll:Vl};function Vl(t,e){let r=-1,n,i,a,s,o,u,h,d;for(;++r<t.length;)if(t[r][0]==="enter"&&t[r][1].type==="attentionSequence"&&t[r][1]._close){for(n=r;n--;)if(t[n][0]==="exit"&&t[n][1].type==="attentionSequence"&&t[n][1]._open&&e.sliceSerialize(t[n][1]).charCodeAt(0)===e.sliceSerialize(t[r][1]).charCodeAt(0)){if((t[n][1]._close||t[r][1]._open)&&(t[r][1].end.offset-t[r][1].start.offset)%3&&!((t[n][1].end.offset-t[n][1].start.offset+t[r][1].end.offset-t[r][1].start.offset)%3))continue;u=t[n][1].end.offset-t[n][1].start.offset>1&&t[r][1].end.offset-t[r][1].start.offset>1?2:1;const p=Object.assign({},t[n][1].end),b=Object.assign({},t[r][1].start);w0(p,-u),w0(b,u),s={type:u>1?"strongSequence":"emphasisSequence",start:p,end:Object.assign({},t[n][1].end)},o={type:u>1?"strongSequence":"emphasisSequence",start:Object.assign({},t[r][1].start),end:b},a={type:u>1?"strongText":"emphasisText",start:Object.assign({},t[n][1].end),end:Object.assign({},t[r][1].start)},i={type:u>1?"strong":"emphasis",start:Object.assign({},s.start),end:Object.assign({},o.end)},t[n][1].end=Object.assign({},s.start),t[r][1].start=Object.assign({},o.end),h=[],t[n][1].end.offset-t[n][1].start.offset&&(h=St(h,[["enter",t[n][1],e],["exit",t[n][1],e]])),h=St(h,[["enter",i,e],["enter",s,e],["exit",s,e],["enter",a,e]]),h=St(h,xi(e.parser.constructs.insideSpan.null,t.slice(n+1,r),e)),h=St(h,[["exit",a,e],["enter",o,e],["exit",o,e],["exit",i,e]]),t[r][1].end.offset-t[r][1].start.offset?(d=2,h=St(h,[["enter",t[r][1],e],["exit",t[r][1],e]])):d=0,Pt(t,n-1,r-n+3,h),r=n+h.length-d-2;break}}for(r=-1;++r<t.length;)t[r][1].type==="attentionSequence"&&(t[r][1].type="data");return t}function Xl(t,e){const r=this.parser.constructs.attentionMarkers.null,n=this.previous,i=y0(n);let a;return s;function s(u){return a=u,t.enter("attentionSequence"),o(u)}function o(u){if(u===a)return t.consume(u),o;const h=t.exit("attentionSequence"),d=y0(u),p=!d||d===2&&i||r.includes(u),b=!i||i===2&&d||r.includes(n);return h._open=!!(a===42?p:p&&(i||!b)),h._close=!!(a===42?b:b&&(d||!p)),e(u)}}function w0(t,e){t.column+=e,t.offset+=e,t._bufferIndex+=e}const Kl={name:"autolink",tokenize:Yl};function Yl(t,e,r){let n=0;return i;function i(f){return t.enter("autolink"),t.enter("autolinkMarker"),t.consume(f),t.exit("autolinkMarker"),t.enter("autolinkProtocol"),a}function a(f){return qt(f)?(t.consume(f),s):h(f)}function s(f){return f===43||f===45||f===46||Nt(f)?(n=1,o(f)):h(f)}function o(f){return f===58?(t.consume(f),n=0,u):(f===43||f===45||f===46||Nt(f))&&n++<32?(t.consume(f),o):(n=0,h(f))}function u(f){return f===62?(t.exit("autolinkProtocol"),t.enter("autolinkMarker"),t.consume(f),t.exit("autolinkMarker"),t.exit("autolink"),e):f===null||f===32||f===60||yi(f)?r(f):(t.consume(f),u)}function h(f){return f===64?(t.consume(f),d):Dl(f)?(t.consume(f),h):r(f)}function d(f){return Nt(f)?p(f):r(f)}function p(f){return f===46?(t.consume(f),n=0,d):f===62?(t.exit("autolinkProtocol").type="autolinkEmail",t.enter("autolinkMarker"),t.consume(f),t.exit("autolinkMarker"),t.exit("autolink"),e):b(f)}function b(f){if((f===45||Nt(f))&&n++<63){const z=f===45?b:p;return t.consume(f),z}return r(f)}}const kn={tokenize:Zl,partial:!0};function Zl(t,e,r){return n;function n(a){return we(a)?xe(t,i,"linePrefix")(a):i(a)}function i(a){return a===null||re(a)?e(a):r(a)}}const x0={name:"blockQuote",tokenize:Jl,continuation:{tokenize:Ql},exit:e1};function Jl(t,e,r){const n=this;return i;function i(s){if(s===62){const o=n.containerState;return o.open||(t.enter("blockQuote",{_container:!0}),o.open=!0),t.enter("blockQuotePrefix"),t.enter("blockQuoteMarker"),t.consume(s),t.exit("blockQuoteMarker"),a}return r(s)}function a(s){return we(s)?(t.enter("blockQuotePrefixWhitespace"),t.consume(s),t.exit("blockQuotePrefixWhitespace"),t.exit("blockQuotePrefix"),e):(t.exit("blockQuotePrefix"),e(s))}}function Ql(t,e,r){const n=this;return i;function i(s){return we(s)?xe(t,a,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(s):a(s)}function a(s){return t.attempt(x0,e,r)(s)}}function e1(t){t.exit("blockQuote")}const k0={name:"characterEscape",tokenize:t1};function t1(t,e,r){return n;function n(a){return t.enter("characterEscape"),t.enter("escapeMarker"),t.consume(a),t.exit("escapeMarker"),i}function i(a){return Pl(a)?(t.enter("characterEscapeValue"),t.consume(a),t.exit("characterEscapeValue"),t.exit("characterEscape"),e):r(a)}}const S0={name:"characterReference",tokenize:r1};function r1(t,e,r){const n=this;let i=0,a,s;return o;function o(p){return t.enter("characterReference"),t.enter("characterReferenceMarker"),t.consume(p),t.exit("characterReferenceMarker"),u}function u(p){return p===35?(t.enter("characterReferenceMarkerNumeric"),t.consume(p),t.exit("characterReferenceMarkerNumeric"),h):(t.enter("characterReferenceValue"),a=31,s=Nt,d(p))}function h(p){return p===88||p===120?(t.enter("characterReferenceMarkerHexadecimal"),t.consume(p),t.exit("characterReferenceMarkerHexadecimal"),t.enter("characterReferenceValue"),a=6,s=Fl,d):(t.enter("characterReferenceValue"),a=7,s=wi,d(p))}function d(p){if(p===59&&i){const b=t.exit("characterReferenceValue");return s===Nt&&!vi(n.sliceSerialize(b))?r(p):(t.enter("characterReferenceMarker"),t.consume(p),t.exit("characterReferenceMarker"),t.exit("characterReference"),e)}return s(p)&&i++<a?(t.consume(p),d):r(p)}}const z0={tokenize:i1,partial:!0},E0={name:"codeFenced",tokenize:n1,concrete:!0};function n1(t,e,r){const n=this,i={tokenize:G,partial:!0};let a=0,s=0,o;return u;function u(C){return h(C)}function h(C){const V=n.events[n.events.length-1];return a=V&&V[1].type==="linePrefix"?V[2].sliceSerialize(V[1],!0).length:0,o=C,t.enter("codeFenced"),t.enter("codeFencedFence"),t.enter("codeFencedFenceSequence"),d(C)}function d(C){return C===o?(s++,t.consume(C),d):s<3?r(C):(t.exit("codeFencedFenceSequence"),we(C)?xe(t,p,"whitespace")(C):p(C))}function p(C){return C===null||re(C)?(t.exit("codeFencedFence"),n.interrupt?e(C):t.check(z0,E,Y)(C)):(t.enter("codeFencedFenceInfo"),t.enter("chunkString",{contentType:"string"}),b(C))}function b(C){return C===null||re(C)?(t.exit("chunkString"),t.exit("codeFencedFenceInfo"),p(C)):we(C)?(t.exit("chunkString"),t.exit("codeFencedFenceInfo"),xe(t,f,"whitespace")(C)):C===96&&C===o?r(C):(t.consume(C),b)}function f(C){return C===null||re(C)?p(C):(t.enter("codeFencedFenceMeta"),t.enter("chunkString",{contentType:"string"}),z(C))}function z(C){return C===null||re(C)?(t.exit("chunkString"),t.exit("codeFencedFenceMeta"),p(C)):C===96&&C===o?r(C):(t.consume(C),z)}function E(C){return t.attempt(i,Y,O)(C)}function O(C){return t.enter("lineEnding"),t.consume(C),t.exit("lineEnding"),A}function A(C){return a>0&&we(C)?xe(t,N,"linePrefix",a+1)(C):N(C)}function N(C){return C===null||re(C)?t.check(z0,E,Y)(C):(t.enter("codeFlowValue"),I(C))}function I(C){return C===null||re(C)?(t.exit("codeFlowValue"),N(C)):(t.consume(C),I)}function Y(C){return t.exit("codeFenced"),e(C)}function G(C,V,ee){let j=0;return M;function M(le){return C.enter("lineEnding"),C.consume(le),C.exit("lineEnding"),W}function W(le){return C.enter("codeFencedFence"),we(le)?xe(C,$,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(le):$(le)}function $(le){return le===o?(C.enter("codeFencedFenceSequence"),be(le)):ee(le)}function be(le){return le===o?(j++,C.consume(le),be):j>=s?(C.exit("codeFencedFenceSequence"),we(le)?xe(C,he,"whitespace")(le):he(le)):ee(le)}function he(le){return le===null||re(le)?(C.exit("codeFencedFence"),V(le)):ee(le)}}}function i1(t,e,r){const n=this;return i;function i(s){return s===null?r(s):(t.enter("lineEnding"),t.consume(s),t.exit("lineEnding"),a)}function a(s){return n.parser.lazy[n.now().line]?r(s):e(s)}}const Si={name:"codeIndented",tokenize:s1},a1={tokenize:o1,partial:!0};function s1(t,e,r){const n=this;return i;function i(h){return t.enter("codeIndented"),xe(t,a,"linePrefix",5)(h)}function a(h){const d=n.events[n.events.length-1];return d&&d[1].type==="linePrefix"&&d[2].sliceSerialize(d[1],!0).length>=4?s(h):r(h)}function s(h){return h===null?u(h):re(h)?t.attempt(a1,s,u)(h):(t.enter("codeFlowValue"),o(h))}function o(h){return h===null||re(h)?(t.exit("codeFlowValue"),s(h)):(t.consume(h),o)}function u(h){return t.exit("codeIndented"),e(h)}}function o1(t,e,r){const n=this;return i;function i(s){return n.parser.lazy[n.now().line]?r(s):re(s)?(t.enter("lineEnding"),t.consume(s),t.exit("lineEnding"),i):xe(t,a,"linePrefix",5)(s)}function a(s){const o=n.events[n.events.length-1];return o&&o[1].type==="linePrefix"&&o[2].sliceSerialize(o[1],!0).length>=4?e(s):re(s)?i(s):r(s)}}const l1={name:"codeText",tokenize:h1,resolve:u1,previous:c1};function u1(t){let e=t.length-4,r=3,n,i;if((t[r][1].type==="lineEnding"||t[r][1].type==="space")&&(t[e][1].type==="lineEnding"||t[e][1].type==="space")){for(n=r;++n<e;)if(t[n][1].type==="codeTextData"){t[r][1].type="codeTextPadding",t[e][1].type="codeTextPadding",r+=2,e-=2;break}}for(n=r-1,e++;++n<=e;)i===void 0?n!==e&&t[n][1].type!=="lineEnding"&&(i=n):(n===e||t[n][1].type==="lineEnding")&&(t[i][1].type="codeTextData",n!==i+2&&(t[i][1].end=t[n-1][1].end,t.splice(i+2,n-i-2),e-=n-i-2,n=i+2),i=void 0);return t}function c1(t){return t!==96||this.events[this.events.length-1][1].type==="characterEscape"}function h1(t,e,r){let n=0,i,a;return s;function s(p){return t.enter("codeText"),t.enter("codeTextSequence"),o(p)}function o(p){return p===96?(t.consume(p),n++,o):(t.exit("codeTextSequence"),u(p))}function u(p){return p===null?r(p):p===32?(t.enter("space"),t.consume(p),t.exit("space"),u):p===96?(a=t.enter("codeTextSequence"),i=0,d(p)):re(p)?(t.enter("lineEnding"),t.consume(p),t.exit("lineEnding"),u):(t.enter("codeTextData"),h(p))}function h(p){return p===null||p===32||p===96||re(p)?(t.exit("codeTextData"),u(p)):(t.consume(p),h)}function d(p){return p===96?(t.consume(p),i++,d):i===n?(t.exit("codeTextSequence"),t.exit("codeText"),e(p)):(a.type="codeTextData",h(p))}}function T0(t){const e={};let r=-1,n,i,a,s,o,u,h;for(;++r<t.length;){for(;r in e;)r=e[r];if(n=t[r],r&&n[1].type==="chunkFlow"&&t[r-1][1].type==="listItemPrefix"&&(u=n[1]._tokenizer.events,a=0,a<u.length&&u[a][1].type==="lineEndingBlank"&&(a+=2),a<u.length&&u[a][1].type==="content"))for(;++a<u.length&&u[a][1].type!=="content";)u[a][1].type==="chunkText"&&(u[a][1]._isInFirstContentOfListItem=!0,a++);if(n[0]==="enter")n[1].contentType&&(Object.assign(e,d1(t,r)),r=e[r],h=!0);else if(n[1]._container){for(a=r,i=void 0;a--&&(s=t[a],s[1].type==="lineEnding"||s[1].type==="lineEndingBlank");)s[0]==="enter"&&(i&&(t[i][1].type="lineEndingBlank"),s[1].type="lineEnding",i=a);i&&(n[1].end=Object.assign({},t[i][1].start),o=t.slice(i,r),o.unshift(n),Pt(t,i,r-i+1,o))}}return!h}function d1(t,e){const r=t[e][1],n=t[e][2];let i=e-1;const a=[],s=r._tokenizer||n.parser[r.contentType](r.start),o=s.events,u=[],h={};let d,p,b=-1,f=r,z=0,E=0;const O=[E];for(;f;){for(;t[++i][1]!==f;);a.push(i),f._tokenizer||(d=n.sliceStream(f),f.next||d.push(null),p&&s.defineSkip(f.start),f._isInFirstContentOfListItem&&(s._gfmTasklistFirstContentOfListItem=!0),s.write(d),f._isInFirstContentOfListItem&&(s._gfmTasklistFirstContentOfListItem=void 0)),p=f,f=f.next}for(f=r;++b<o.length;)o[b][0]==="exit"&&o[b-1][0]==="enter"&&o[b][1].type===o[b-1][1].type&&o[b][1].start.line!==o[b][1].end.line&&(E=b+1,O.push(E),f._tokenizer=void 0,f.previous=void 0,f=f.next);for(s.events=[],f?(f._tokenizer=void 0,f.previous=void 0):O.pop(),b=O.length;b--;){const A=o.slice(O[b],O[b+1]),N=a.pop();u.unshift([N,N+A.length-1]),Pt(t,N,2,A)}for(b=-1;++b<u.length;)h[z+u[b][0]]=z+u[b][1],z+=u[b][1]-u[b][0]-1;return h}const m1={tokenize:g1,resolve:f1},p1={tokenize:b1,partial:!0};function f1(t){return T0(t),t}function g1(t,e){let r;return n;function n(o){return t.enter("content"),r=t.enter("chunkContent",{contentType:"content"}),i(o)}function i(o){return o===null?a(o):re(o)?t.check(p1,s,a)(o):(t.consume(o),i)}function a(o){return t.exit("chunkContent"),t.exit("content"),e(o)}function s(o){return t.consume(o),t.exit("chunkContent"),r.next=t.enter("chunkContent",{contentType:"content",previous:r}),r=r.next,i}}function b1(t,e,r){const n=this;return i;function i(s){return t.exit("chunkContent"),t.enter("lineEnding"),t.consume(s),t.exit("lineEnding"),xe(t,a,"linePrefix")}function a(s){if(s===null||re(s))return r(s);const o=n.events[n.events.length-1];return!n.parser.constructs.disable.null.includes("codeIndented")&&o&&o[1].type==="linePrefix"&&o[2].sliceSerialize(o[1],!0).length>=4?e(s):t.interrupt(n.parser.constructs.flow,r,e)(s)}}function A0(t,e,r,n,i,a,s,o,u){const h=u||Number.POSITIVE_INFINITY;let d=0;return p;function p(A){return A===60?(t.enter(n),t.enter(i),t.enter(a),t.consume(A),t.exit(a),b):A===null||A===32||A===41||yi(A)?r(A):(t.enter(n),t.enter(s),t.enter(o),t.enter("chunkString",{contentType:"string"}),E(A))}function b(A){return A===62?(t.enter(a),t.consume(A),t.exit(a),t.exit(i),t.exit(n),e):(t.enter(o),t.enter("chunkString",{contentType:"string"}),f(A))}function f(A){return A===62?(t.exit("chunkString"),t.exit(o),b(A)):A===null||A===60||re(A)?r(A):(t.consume(A),A===92?z:f)}function z(A){return A===60||A===62||A===92?(t.consume(A),f):f(A)}function E(A){return!d&&(A===null||A===41||nt(A))?(t.exit("chunkString"),t.exit(o),t.exit(s),t.exit(n),e(A)):d<h&&A===40?(t.consume(A),d++,E):A===41?(t.consume(A),d--,E):A===null||A===32||A===40||yi(A)?r(A):(t.consume(A),A===92?O:E)}function O(A){return A===40||A===41||A===92?(t.consume(A),E):E(A)}}function M0(t,e,r,n,i,a){const s=this;let o=0,u;return h;function h(f){return t.enter(n),t.enter(i),t.consume(f),t.exit(i),t.enter(a),d}function d(f){return o>999||f===null||f===91||f===93&&!u||f===94&&!o&&"_hiddenFootnoteSupport"in s.parser.constructs?r(f):f===93?(t.exit(a),t.enter(i),t.consume(f),t.exit(i),t.exit(n),e):re(f)?(t.enter("lineEnding"),t.consume(f),t.exit("lineEnding"),d):(t.enter("chunkString",{contentType:"string"}),p(f))}function p(f){return f===null||f===91||f===93||re(f)||o++>999?(t.exit("chunkString"),d(f)):(t.consume(f),u||(u=!we(f)),f===92?b:p)}function b(f){return f===91||f===92||f===93?(t.consume(f),o++,p):p(f)}}function C0(t,e,r,n,i,a){let s;return o;function o(b){return b===34||b===39||b===40?(t.enter(n),t.enter(i),t.consume(b),t.exit(i),s=b===40?41:b,u):r(b)}function u(b){return b===s?(t.enter(i),t.consume(b),t.exit(i),t.exit(n),e):(t.enter(a),h(b))}function h(b){return b===s?(t.exit(a),u(s)):b===null?r(b):re(b)?(t.enter("lineEnding"),t.consume(b),t.exit("lineEnding"),xe(t,h,"linePrefix")):(t.enter("chunkString",{contentType:"string"}),d(b))}function d(b){return b===s||b===null||re(b)?(t.exit("chunkString"),h(b)):(t.consume(b),b===92?p:d)}function p(b){return b===s||b===92?(t.consume(b),d):d(b)}}function rn(t,e){let r;return n;function n(i){return re(i)?(t.enter("lineEnding"),t.consume(i),t.exit("lineEnding"),r=!0,n):we(i)?xe(t,n,r?"linePrefix":"lineSuffix")(i):e(i)}}const v1={name:"definition",tokenize:w1},y1={tokenize:x1,partial:!0};function w1(t,e,r){const n=this;let i;return a;function a(f){return t.enter("definition"),s(f)}function s(f){return M0.call(n,t,o,r,"definitionLabel","definitionLabelMarker","definitionLabelString")(f)}function o(f){return i=Wr(n.sliceSerialize(n.events[n.events.length-1][1]).slice(1,-1)),f===58?(t.enter("definitionMarker"),t.consume(f),t.exit("definitionMarker"),u):r(f)}function u(f){return nt(f)?rn(t,h)(f):h(f)}function h(f){return A0(t,d,r,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(f)}function d(f){return t.attempt(y1,p,p)(f)}function p(f){return we(f)?xe(t,b,"whitespace")(f):b(f)}function b(f){return f===null||re(f)?(t.exit("definition"),n.parser.defined.push(i),e(f)):r(f)}}function x1(t,e,r){return n;function n(o){return nt(o)?rn(t,i)(o):r(o)}function i(o){return C0(t,a,r,"definitionTitle","definitionTitleMarker","definitionTitleString")(o)}function a(o){return we(o)?xe(t,s,"whitespace")(o):s(o)}function s(o){return o===null||re(o)?e(o):r(o)}}const k1={name:"hardBreakEscape",tokenize:S1};function S1(t,e,r){return n;function n(a){return t.enter("hardBreakEscape"),t.consume(a),i}function i(a){return re(a)?(t.exit("hardBreakEscape"),e(a)):r(a)}}const z1={name:"headingAtx",tokenize:T1,resolve:E1};function E1(t,e){let r=t.length-2,n=3,i,a;return t[n][1].type==="whitespace"&&(n+=2),r-2>n&&t[r][1].type==="whitespace"&&(r-=2),t[r][1].type==="atxHeadingSequence"&&(n===r-1||r-4>n&&t[r-2][1].type==="whitespace")&&(r-=n+1===r?2:4),r>n&&(i={type:"atxHeadingText",start:t[n][1].start,end:t[r][1].end},a={type:"chunkText",start:t[n][1].start,end:t[r][1].end,contentType:"text"},Pt(t,n,r-n+1,[["enter",i,e],["enter",a,e],["exit",a,e],["exit",i,e]])),t}function T1(t,e,r){let n=0;return i;function i(d){return t.enter("atxHeading"),a(d)}function a(d){return t.enter("atxHeadingSequence"),s(d)}function s(d){return d===35&&n++<6?(t.consume(d),s):d===null||nt(d)?(t.exit("atxHeadingSequence"),o(d)):r(d)}function o(d){return d===35?(t.enter("atxHeadingSequence"),u(d)):d===null||re(d)?(t.exit("atxHeading"),e(d)):we(d)?xe(t,o,"whitespace")(d):(t.enter("atxHeadingText"),h(d))}function u(d){return d===35?(t.consume(d),u):(t.exit("atxHeadingSequence"),o(d))}function h(d){return d===null||d===35||nt(d)?(t.exit("atxHeadingText"),o(d)):(t.consume(d),h)}}const A1=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],_0=["pre","script","style","textarea"],M1={name:"htmlFlow",tokenize:B1,resolveTo:N1,concrete:!0},C1={tokenize:I1,partial:!0},_1={tokenize:R1,partial:!0};function N1(t){let e=t.length;for(;e--&&!(t[e][0]==="enter"&&t[e][1].type==="htmlFlow"););return e>1&&t[e-2][1].type==="linePrefix"&&(t[e][1].start=t[e-2][1].start,t[e+1][1].start=t[e-2][1].start,t.splice(e-2,2)),t}function B1(t,e,r){const n=this;let i,a,s,o,u;return h;function h(k){return d(k)}function d(k){return t.enter("htmlFlow"),t.enter("htmlFlowData"),t.consume(k),p}function p(k){return k===33?(t.consume(k),b):k===47?(t.consume(k),a=!0,E):k===63?(t.consume(k),i=3,n.interrupt?e:w):qt(k)?(t.consume(k),s=String.fromCharCode(k),O):r(k)}function b(k){return k===45?(t.consume(k),i=2,f):k===91?(t.consume(k),i=5,o=0,z):qt(k)?(t.consume(k),i=4,n.interrupt?e:w):r(k)}function f(k){return k===45?(t.consume(k),n.interrupt?e:w):r(k)}function z(k){const et="CDATA[";return k===et.charCodeAt(o++)?(t.consume(k),o===et.length?n.interrupt?e:$:z):r(k)}function E(k){return qt(k)?(t.consume(k),s=String.fromCharCode(k),O):r(k)}function O(k){if(k===null||k===47||k===62||nt(k)){const et=k===47,it=s.toLowerCase();return!et&&!a&&_0.includes(it)?(i=1,n.interrupt?e(k):$(k)):A1.includes(s.toLowerCase())?(i=6,et?(t.consume(k),A):n.interrupt?e(k):$(k)):(i=7,n.interrupt&&!n.parser.lazy[n.now().line]?r(k):a?N(k):I(k))}return k===45||Nt(k)?(t.consume(k),s+=String.fromCharCode(k),O):r(k)}function A(k){return k===62?(t.consume(k),n.interrupt?e:$):r(k)}function N(k){return we(k)?(t.consume(k),N):M(k)}function I(k){return k===47?(t.consume(k),M):k===58||k===95||qt(k)?(t.consume(k),Y):we(k)?(t.consume(k),I):M(k)}function Y(k){return k===45||k===46||k===58||k===95||Nt(k)?(t.consume(k),Y):G(k)}function G(k){return k===61?(t.consume(k),C):we(k)?(t.consume(k),G):I(k)}function C(k){return k===null||k===60||k===61||k===62||k===96?r(k):k===34||k===39?(t.consume(k),u=k,V):we(k)?(t.consume(k),C):ee(k)}function V(k){return k===u?(t.consume(k),u=null,j):k===null||re(k)?r(k):(t.consume(k),V)}function ee(k){return k===null||k===34||k===39||k===47||k===60||k===61||k===62||k===96||nt(k)?G(k):(t.consume(k),ee)}function j(k){return k===47||k===62||we(k)?I(k):r(k)}function M(k){return k===62?(t.consume(k),W):r(k)}function W(k){return k===null||re(k)?$(k):we(k)?(t.consume(k),W):r(k)}function $(k){return k===45&&i===2?(t.consume(k),Ee):k===60&&i===1?(t.consume(k),Ce):k===62&&i===4?(t.consume(k),Te):k===63&&i===3?(t.consume(k),w):k===93&&i===5?(t.consume(k),_e):re(k)&&(i===6||i===7)?(t.exit("htmlFlowData"),t.check(C1,Ae,be)(k)):k===null||re(k)?(t.exit("htmlFlowData"),be(k)):(t.consume(k),$)}function be(k){return t.check(_1,he,Ae)(k)}function he(k){return t.enter("lineEnding"),t.consume(k),t.exit("lineEnding"),le}function le(k){return k===null||re(k)?be(k):(t.enter("htmlFlowData"),$(k))}function Ee(k){return k===45?(t.consume(k),w):$(k)}function Ce(k){return k===47?(t.consume(k),s="",ue):$(k)}function ue(k){if(k===62){const et=s.toLowerCase();return _0.includes(et)?(t.consume(k),Te):$(k)}return qt(k)&&s.length<8?(t.consume(k),s+=String.fromCharCode(k),ue):$(k)}function _e(k){return k===93?(t.consume(k),w):$(k)}function w(k){return k===62?(t.consume(k),Te):k===45&&i===2?(t.consume(k),w):$(k)}function Te(k){return k===null||re(k)?(t.exit("htmlFlowData"),Ae(k)):(t.consume(k),Te)}function Ae(k){return t.exit("htmlFlow"),e(k)}}function R1(t,e,r){const n=this;return i;function i(s){return re(s)?(t.enter("lineEnding"),t.consume(s),t.exit("lineEnding"),a):r(s)}function a(s){return n.parser.lazy[n.now().line]?r(s):e(s)}}function I1(t,e,r){return n;function n(i){return t.enter("lineEnding"),t.consume(i),t.exit("lineEnding"),t.attempt(kn,e,r)}}const O1={name:"htmlText",tokenize:L1};function L1(t,e,r){const n=this;let i,a,s;return o;function o(w){return t.enter("htmlText"),t.enter("htmlTextData"),t.consume(w),u}function u(w){return w===33?(t.consume(w),h):w===47?(t.consume(w),G):w===63?(t.consume(w),I):qt(w)?(t.consume(w),ee):r(w)}function h(w){return w===45?(t.consume(w),d):w===91?(t.consume(w),a=0,z):qt(w)?(t.consume(w),N):r(w)}function d(w){return w===45?(t.consume(w),f):r(w)}function p(w){return w===null?r(w):w===45?(t.consume(w),b):re(w)?(s=p,Ce(w)):(t.consume(w),p)}function b(w){return w===45?(t.consume(w),f):p(w)}function f(w){return w===62?Ee(w):w===45?b(w):p(w)}function z(w){const Te="CDATA[";return w===Te.charCodeAt(a++)?(t.consume(w),a===Te.length?E:z):r(w)}function E(w){return w===null?r(w):w===93?(t.consume(w),O):re(w)?(s=E,Ce(w)):(t.consume(w),E)}function O(w){return w===93?(t.consume(w),A):E(w)}function A(w){return w===62?Ee(w):w===93?(t.consume(w),A):E(w)}function N(w){return w===null||w===62?Ee(w):re(w)?(s=N,Ce(w)):(t.consume(w),N)}function I(w){return w===null?r(w):w===63?(t.consume(w),Y):re(w)?(s=I,Ce(w)):(t.consume(w),I)}function Y(w){return w===62?Ee(w):I(w)}function G(w){return qt(w)?(t.consume(w),C):r(w)}function C(w){return w===45||Nt(w)?(t.consume(w),C):V(w)}function V(w){return re(w)?(s=V,Ce(w)):we(w)?(t.consume(w),V):Ee(w)}function ee(w){return w===45||Nt(w)?(t.consume(w),ee):w===47||w===62||nt(w)?j(w):r(w)}function j(w){return w===47?(t.consume(w),Ee):w===58||w===95||qt(w)?(t.consume(w),M):re(w)?(s=j,Ce(w)):we(w)?(t.consume(w),j):Ee(w)}function M(w){return w===45||w===46||w===58||w===95||Nt(w)?(t.consume(w),M):W(w)}function W(w){return w===61?(t.consume(w),$):re(w)?(s=W,Ce(w)):we(w)?(t.consume(w),W):j(w)}function $(w){return w===null||w===60||w===61||w===62||w===96?r(w):w===34||w===39?(t.consume(w),i=w,be):re(w)?(s=$,Ce(w)):we(w)?(t.consume(w),$):(t.consume(w),he)}function be(w){return w===i?(t.consume(w),i=void 0,le):w===null?r(w):re(w)?(s=be,Ce(w)):(t.consume(w),be)}function he(w){return w===null||w===34||w===39||w===60||w===61||w===96?r(w):w===47||w===62||nt(w)?j(w):(t.consume(w),he)}function le(w){return w===47||w===62||nt(w)?j(w):r(w)}function Ee(w){return w===62?(t.consume(w),t.exit("htmlTextData"),t.exit("htmlText"),e):r(w)}function Ce(w){return t.exit("htmlTextData"),t.enter("lineEnding"),t.consume(w),t.exit("lineEnding"),ue}function ue(w){return we(w)?xe(t,_e,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(w):_e(w)}function _e(w){return t.enter("htmlTextData"),s(w)}}const zi={name:"labelEnd",tokenize:H1,resolveTo:U1,resolveAll:q1},D1={tokenize:G1},F1={tokenize:$1},P1={tokenize:W1};function q1(t){let e=-1;for(;++e<t.length;){const r=t[e][1];(r.type==="labelImage"||r.type==="labelLink"||r.type==="labelEnd")&&(t.splice(e+1,r.type==="labelImage"?4:2),r.type="data",e++)}return t}function U1(t,e){let r=t.length,n=0,i,a,s,o;for(;r--;)if(i=t[r][1],a){if(i.type==="link"||i.type==="labelLink"&&i._inactive)break;t[r][0]==="enter"&&i.type==="labelLink"&&(i._inactive=!0)}else if(s){if(t[r][0]==="enter"&&(i.type==="labelImage"||i.type==="labelLink")&&!i._balanced&&(a=r,i.type!=="labelLink")){n=2;break}}else i.type==="labelEnd"&&(s=r);const u={type:t[a][1].type==="labelLink"?"link":"image",start:Object.assign({},t[a][1].start),end:Object.assign({},t[t.length-1][1].end)},h={type:"label",start:Object.assign({},t[a][1].start),end:Object.assign({},t[s][1].end)},d={type:"labelText",start:Object.assign({},t[a+n+2][1].end),end:Object.assign({},t[s-2][1].start)};return o=[["enter",u,e],["enter",h,e]],o=St(o,t.slice(a+1,a+n+3)),o=St(o,[["enter",d,e]]),o=St(o,xi(e.parser.constructs.insideSpan.null,t.slice(a+n+4,s-3),e)),o=St(o,[["exit",d,e],t[s-2],t[s-1],["exit",h,e]]),o=St(o,t.slice(s+1)),o=St(o,[["exit",u,e]]),Pt(t,a,t.length,o),t}function H1(t,e,r){const n=this;let i=n.events.length,a,s;for(;i--;)if((n.events[i][1].type==="labelImage"||n.events[i][1].type==="labelLink")&&!n.events[i][1]._balanced){a=n.events[i][1];break}return o;function o(b){return a?a._inactive?p(b):(s=n.parser.defined.includes(Wr(n.sliceSerialize({start:a.end,end:n.now()}))),t.enter("labelEnd"),t.enter("labelMarker"),t.consume(b),t.exit("labelMarker"),t.exit("labelEnd"),u):r(b)}function u(b){return b===40?t.attempt(D1,d,s?d:p)(b):b===91?t.attempt(F1,d,s?h:p)(b):s?d(b):p(b)}function h(b){return t.attempt(P1,d,p)(b)}function d(b){return e(b)}function p(b){return a._balanced=!0,r(b)}}function G1(t,e,r){return n;function n(p){return t.enter("resource"),t.enter("resourceMarker"),t.consume(p),t.exit("resourceMarker"),i}function i(p){return nt(p)?rn(t,a)(p):a(p)}function a(p){return p===41?d(p):A0(t,s,o,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(p)}function s(p){return nt(p)?rn(t,u)(p):d(p)}function o(p){return r(p)}function u(p){return p===34||p===39||p===40?C0(t,h,r,"resourceTitle","resourceTitleMarker","resourceTitleString")(p):d(p)}function h(p){return nt(p)?rn(t,d)(p):d(p)}function d(p){return p===41?(t.enter("resourceMarker"),t.consume(p),t.exit("resourceMarker"),t.exit("resource"),e):r(p)}}function $1(t,e,r){const n=this;return i;function i(o){return M0.call(n,t,a,s,"reference","referenceMarker","referenceString")(o)}function a(o){return n.parser.defined.includes(Wr(n.sliceSerialize(n.events[n.events.length-1][1]).slice(1,-1)))?e(o):r(o)}function s(o){return r(o)}}function W1(t,e,r){return n;function n(a){return t.enter("reference"),t.enter("referenceMarker"),t.consume(a),t.exit("referenceMarker"),i}function i(a){return a===93?(t.enter("referenceMarker"),t.consume(a),t.exit("referenceMarker"),t.exit("reference"),e):r(a)}}const j1={name:"labelStartImage",tokenize:V1,resolveAll:zi.resolveAll};function V1(t,e,r){const n=this;return i;function i(o){return t.enter("labelImage"),t.enter("labelImageMarker"),t.consume(o),t.exit("labelImageMarker"),a}function a(o){return o===91?(t.enter("labelMarker"),t.consume(o),t.exit("labelMarker"),t.exit("labelImage"),s):r(o)}function s(o){return o===94&&"_hiddenFootnoteSupport"in n.parser.constructs?r(o):e(o)}}const X1={name:"labelStartLink",tokenize:K1,resolveAll:zi.resolveAll};function K1(t,e,r){const n=this;return i;function i(s){return t.enter("labelLink"),t.enter("labelMarker"),t.consume(s),t.exit("labelMarker"),t.exit("labelLink"),a}function a(s){return s===94&&"_hiddenFootnoteSupport"in n.parser.constructs?r(s):e(s)}}const Ei={name:"lineEnding",tokenize:Y1};function Y1(t,e){return r;function r(n){return t.enter("lineEnding"),t.consume(n),t.exit("lineEnding"),xe(t,e,"linePrefix")}}const Sn={name:"thematicBreak",tokenize:Z1};function Z1(t,e,r){let n=0,i;return a;function a(h){return t.enter("thematicBreak"),s(h)}function s(h){return i=h,o(h)}function o(h){return h===i?(t.enter("thematicBreakSequence"),u(h)):n>=3&&(h===null||re(h))?(t.exit("thematicBreak"),e(h)):r(h)}function u(h){return h===i?(t.consume(h),n++,u):(t.exit("thematicBreakSequence"),we(h)?xe(t,o,"whitespace")(h):o(h))}}const dt={name:"list",tokenize:eu,continuation:{tokenize:tu},exit:nu},J1={tokenize:iu,partial:!0},Q1={tokenize:ru,partial:!0};function eu(t,e,r){const n=this,i=n.events[n.events.length-1];let a=i&&i[1].type==="linePrefix"?i[2].sliceSerialize(i[1],!0).length:0,s=0;return o;function o(f){const z=n.containerState.type||(f===42||f===43||f===45?"listUnordered":"listOrdered");if(z==="listUnordered"?!n.containerState.marker||f===n.containerState.marker:wi(f)){if(n.containerState.type||(n.containerState.type=z,t.enter(z,{_container:!0})),z==="listUnordered")return t.enter("listItemPrefix"),f===42||f===45?t.check(Sn,r,h)(f):h(f);if(!n.interrupt||f===49)return t.enter("listItemPrefix"),t.enter("listItemValue"),u(f)}return r(f)}function u(f){return wi(f)&&++s<10?(t.consume(f),u):(!n.interrupt||s<2)&&(n.containerState.marker?f===n.containerState.marker:f===41||f===46)?(t.exit("listItemValue"),h(f)):r(f)}function h(f){return t.enter("listItemMarker"),t.consume(f),t.exit("listItemMarker"),n.containerState.marker=n.containerState.marker||f,t.check(kn,n.interrupt?r:d,t.attempt(J1,b,p))}function d(f){return n.containerState.initialBlankLine=!0,a++,b(f)}function p(f){return we(f)?(t.enter("listItemPrefixWhitespace"),t.consume(f),t.exit("listItemPrefixWhitespace"),b):r(f)}function b(f){return n.containerState.size=a+n.sliceSerialize(t.exit("listItemPrefix"),!0).length,e(f)}}function tu(t,e,r){const n=this;return n.containerState._closeFlow=void 0,t.check(kn,i,a);function i(o){return n.containerState.furtherBlankLines=n.containerState.furtherBlankLines||n.containerState.initialBlankLine,xe(t,e,"listItemIndent",n.containerState.size+1)(o)}function a(o){return n.containerState.furtherBlankLines||!we(o)?(n.containerState.furtherBlankLines=void 0,n.containerState.initialBlankLine=void 0,s(o)):(n.containerState.furtherBlankLines=void 0,n.containerState.initialBlankLine=void 0,t.attempt(Q1,e,s)(o))}function s(o){return n.containerState._closeFlow=!0,n.interrupt=void 0,xe(t,t.attempt(dt,e,r),"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(o)}}function ru(t,e,r){const n=this;return xe(t,i,"listItemIndent",n.containerState.size+1);function i(a){const s=n.events[n.events.length-1];return s&&s[1].type==="listItemIndent"&&s[2].sliceSerialize(s[1],!0).length===n.containerState.size?e(a):r(a)}}function nu(t){t.exit(this.containerState.type)}function iu(t,e,r){const n=this;return xe(t,i,"listItemPrefixWhitespace",n.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function i(a){const s=n.events[n.events.length-1];return!we(a)&&s&&s[1].type==="listItemPrefixWhitespace"?e(a):r(a)}}const N0={name:"setextUnderline",tokenize:su,resolveTo:au};function au(t,e){let r=t.length,n,i,a;for(;r--;)if(t[r][0]==="enter"){if(t[r][1].type==="content"){n=r;break}t[r][1].type==="paragraph"&&(i=r)}else t[r][1].type==="content"&&t.splice(r,1),!a&&t[r][1].type==="definition"&&(a=r);const s={type:"setextHeading",start:Object.assign({},t[i][1].start),end:Object.assign({},t[t.length-1][1].end)};return t[i][1].type="setextHeadingText",a?(t.splice(i,0,["enter",s,e]),t.splice(a+1,0,["exit",t[n][1],e]),t[n][1].end=Object.assign({},t[a][1].end)):t[n][1]=s,t.push(["exit",s,e]),t}function su(t,e,r){const n=this;let i;return a;function a(h){let d=n.events.length,p;for(;d--;)if(n.events[d][1].type!=="lineEnding"&&n.events[d][1].type!=="linePrefix"&&n.events[d][1].type!=="content"){p=n.events[d][1].type==="paragraph";break}return!n.parser.lazy[n.now().line]&&(n.interrupt||p)?(t.enter("setextHeadingLine"),i=h,s(h)):r(h)}function s(h){return t.enter("setextHeadingLineSequence"),o(h)}function o(h){return h===i?(t.consume(h),o):(t.exit("setextHeadingLineSequence"),we(h)?xe(t,u,"lineSuffix")(h):u(h))}function u(h){return h===null||re(h)?(t.exit("setextHeadingLine"),e(h)):r(h)}}const ou={tokenize:lu};function lu(t){const e=this,r=t.attempt(kn,n,t.attempt(this.parser.constructs.flowInitial,i,xe(t,t.attempt(this.parser.constructs.flow,i,t.attempt(m1,i)),"linePrefix")));return r;function n(a){if(a===null){t.consume(a);return}return t.enter("lineEndingBlank"),t.consume(a),t.exit("lineEndingBlank"),e.currentConstruct=void 0,r}function i(a){if(a===null){t.consume(a);return}return t.enter("lineEnding"),t.consume(a),t.exit("lineEnding"),e.currentConstruct=void 0,r}}const uu={resolveAll:R0()},cu=B0("string"),hu=B0("text");function B0(t){return{tokenize:e,resolveAll:R0(t==="text"?du:void 0)};function e(r){const n=this,i=this.parser.constructs[t],a=r.attempt(i,s,o);return s;function s(d){return h(d)?a(d):o(d)}function o(d){if(d===null){r.consume(d);return}return r.enter("data"),r.consume(d),u}function u(d){return h(d)?(r.exit("data"),a(d)):(r.consume(d),u)}function h(d){if(d===null)return!0;const p=i[d];let b=-1;if(p)for(;++b<p.length;){const f=p[b];if(!f.previous||f.previous.call(n,n.previous))return!0}return!1}}}function R0(t){return e;function e(r,n){let i=-1,a;for(;++i<=r.length;)a===void 0?r[i]&&r[i][1].type==="data"&&(a=i,i++):(!r[i]||r[i][1].type!=="data")&&(i!==a+2&&(r[a][1].end=r[i-1][1].end,r.splice(a+2,i-a-2),i=a+2),a=void 0);return t?t(r,n):r}}function du(t,e){let r=0;for(;++r<=t.length;)if((r===t.length||t[r][1].type==="lineEnding")&&t[r-1][1].type==="data"){const n=t[r-1][1],i=e.sliceStream(n);let a=i.length,s=-1,o=0,u;for(;a--;){const h=i[a];if(typeof h=="string"){for(s=h.length;h.charCodeAt(s-1)===32;)o++,s--;if(s)break;s=-1}else if(h===-2)u=!0,o++;else if(h!==-1){a++;break}}if(o){const h={type:r===t.length||u||o<2?"lineSuffix":"hardBreakTrailing",start:{line:n.end.line,column:n.end.column-o,offset:n.end.offset-o,_index:n.start._index+a,_bufferIndex:a?s:n.start._bufferIndex+s},end:Object.assign({},n.end)};n.end=Object.assign({},h.start),n.start.offset===n.end.offset?Object.assign(n,h):(t.splice(r,0,["enter",h,e],["exit",h,e]),r+=2)}r++}return t}function mu(t,e,r){let n=Object.assign(r?Object.assign({},r):{line:1,column:1,offset:0},{_index:0,_bufferIndex:-1});const i={},a=[];let s=[],o=[];const u={consume:N,enter:I,exit:Y,attempt:V(G),check:V(C),interrupt:V(C,{interrupt:!0})},h={previous:null,code:null,containerState:{},events:[],parser:t,sliceStream:f,sliceSerialize:b,now:z,defineSkip:E,write:p};let d=e.tokenize.call(h,u);return e.resolveAll&&a.push(e),h;function p(W){return s=St(s,W),O(),s[s.length-1]!==null?[]:(ee(e,0),h.events=xi(a,h.events,h),h.events)}function b(W,$){return fu(f(W),$)}function f(W){return pu(s,W)}function z(){const{line:W,column:$,offset:be,_index:he,_bufferIndex:le}=n;return{line:W,column:$,offset:be,_index:he,_bufferIndex:le}}function E(W){i[W.line]=W.column,M()}function O(){let W;for(;n._index<s.length;){const $=s[n._index];if(typeof $=="string")for(W=n._index,n._bufferIndex<0&&(n._bufferIndex=0);n._index===W&&n._bufferIndex<$.length;)A($.charCodeAt(n._bufferIndex));else A($)}}function A(W){d=d(W)}function N(W){re(W)?(n.line++,n.column=1,n.offset+=W===-3?2:1,M()):W!==-1&&(n.column++,n.offset++),n._bufferIndex<0?n._index++:(n._bufferIndex++,n._bufferIndex===s[n._index].length&&(n._bufferIndex=-1,n._index++)),h.previous=W}function I(W,$){const be=$||{};return be.type=W,be.start=z(),h.events.push(["enter",be,h]),o.push(be),be}function Y(W){const $=o.pop();return $.end=z(),h.events.push(["exit",$,h]),$}function G(W,$){ee(W,$.from)}function C(W,$){$.restore()}function V(W,$){return be;function be(he,le,Ee){let Ce,ue,_e,w;return Array.isArray(he)?Ae(he):"tokenize"in he?Ae([he]):Te(he);function Te(He){return ft;function ft(tt){const _t=tt!==null&&He[tt],at=tt!==null&&He.null,wr=[...Array.isArray(_t)?_t:_t?[_t]:[],...Array.isArray(at)?at:at?[at]:[]];return Ae(wr)(tt)}}function Ae(He){return Ce=He,ue=0,He.length===0?Ee:k(He[ue])}function k(He){return ft;function ft(tt){return w=j(),_e=He,He.partial||(h.currentConstruct=He),He.name&&h.parser.constructs.disable.null.includes(He.name)?it():He.tokenize.call($?Object.assign(Object.create(h),$):h,u,et,it)(tt)}}function et(He){return W(_e,w),le}function it(He){return w.restore(),++ue<Ce.length?k(Ce[ue]):Ee}}}function ee(W,$){W.resolveAll&&!a.includes(W)&&a.push(W),W.resolve&&Pt(h.events,$,h.events.length-$,W.resolve(h.events.slice($),h)),W.resolveTo&&(h.events=W.resolveTo(h.events,h))}function j(){const W=z(),$=h.previous,be=h.currentConstruct,he=h.events.length,le=Array.from(o);return{restore:Ee,from:he};function Ee(){n=W,h.previous=$,h.currentConstruct=be,h.events.length=he,o=le,M()}}function M(){n.line in i&&n.column<2&&(n.column=i[n.line],n.offset+=i[n.line]-1)}}function pu(t,e){const r=e.start._index,n=e.start._bufferIndex,i=e.end._index,a=e.end._bufferIndex;let s;if(r===i)s=[t[r].slice(n,a)];else{if(s=t.slice(r,i),n>-1){const o=s[0];typeof o=="string"?s[0]=o.slice(n):s.shift()}a>0&&s.push(t[i].slice(0,a))}return s}function fu(t,e){let r=-1;const n=[];let i;for(;++r<t.length;){const a=t[r];let s;if(typeof a=="string")s=a;else switch(a){case-5:{s="\r";break}case-4:{s=`
|
|
@@ -263,7 +263,7 @@ l0,-`+(r+144)+`c-2,-159.3,-10,-310.7,-24,-454c-53.3,-528,-210,-949.7,
|
|
|
263
263
|
|[ \r ]+
|
|
264
264
|
?)[ \r ]*`,ha="[̀-ͯ]",Dh=new RegExp(ha+"+$"),Fh="("+uo+"+)|"+(Lh+"|")+"([!-\\[\\]-‧-豈-]"+(ha+"*")+"|[\uD800-\uDBFF][\uDC00-\uDFFF]"+(ha+"*")+"|\\\\verb\\*([^]).*?\\4|\\\\verb([^*a-zA-Z]).*?\\5"+("|"+Oh)+("|"+Ih+")");class co{constructor(e,r){this.input=void 0,this.settings=void 0,this.tokenRegex=void 0,this.catcodes=void 0,this.input=e,this.settings=r,this.tokenRegex=new RegExp(Fh,"g"),this.catcodes={"%":14,"~":13}}setCatcode(e,r){this.catcodes[e]=r}lex(){var e=this.input,r=this.tokenRegex.lastIndex;if(r===e.length)return new zt("EOF",new bt(this,r,r));var n=this.tokenRegex.exec(e);if(n===null||n.index!==r)throw new F("Unexpected character: '"+e[r]+"'",new zt(e[r],new bt(this,r,r+1)));var i=n[6]||n[3]||(n[2]?"\\ ":" ");if(this.catcodes[i]===14){var a=e.indexOf(`
|
|
265
265
|
`,this.tokenRegex.lastIndex);return a===-1?(this.tokenRegex.lastIndex=e.length,this.settings.reportNonstrict("commentAtEnd","% comment has no terminating newline; LaTeX would fail because of commenting the end of math mode (e.g. $)")):this.tokenRegex.lastIndex=a+1,this.lex()}return new zt(i,new bt(this,r,this.tokenRegex.lastIndex))}}class Ph{constructor(e,r){e===void 0&&(e={}),r===void 0&&(r={}),this.current=void 0,this.builtins=void 0,this.undefStack=void 0,this.current=r,this.builtins=e,this.undefStack=[]}beginGroup(){this.undefStack.push({})}endGroup(){if(this.undefStack.length===0)throw new F("Unbalanced namespace destruction: attempt to pop global namespace; please report this as a bug");var e=this.undefStack.pop();for(var r in e)e.hasOwnProperty(r)&&(e[r]==null?delete this.current[r]:this.current[r]=e[r])}endGroups(){for(;this.undefStack.length>0;)this.endGroup()}has(e){return this.current.hasOwnProperty(e)||this.builtins.hasOwnProperty(e)}get(e){return this.current.hasOwnProperty(e)?this.current[e]:this.builtins[e]}set(e,r,n){if(n===void 0&&(n=!1),n){for(var i=0;i<this.undefStack.length;i++)delete this.undefStack[i][e];this.undefStack.length>0&&(this.undefStack[this.undefStack.length-1][e]=r)}else{var a=this.undefStack[this.undefStack.length-1];a&&!a.hasOwnProperty(e)&&(a[e]=this.current[e])}r==null?delete this.current[e]:this.current[e]=r}}var qh=Ps;g("\\noexpand",function(t){var e=t.popToken();return t.isExpandable(e.text)&&(e.noexpand=!0,e.treatAsRelax=!0),{tokens:[e],numArgs:0}}),g("\\expandafter",function(t){var e=t.popToken();return t.expandOnce(!0),{tokens:[e],numArgs:0}}),g("\\@firstoftwo",function(t){var e=t.consumeArgs(2);return{tokens:e[0],numArgs:0}}),g("\\@secondoftwo",function(t){var e=t.consumeArgs(2);return{tokens:e[1],numArgs:0}}),g("\\@ifnextchar",function(t){var e=t.consumeArgs(3);t.consumeSpaces();var r=t.future();return e[0].length===1&&e[0][0].text===r.text?{tokens:e[1],numArgs:0}:{tokens:e[2],numArgs:0}}),g("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}"),g("\\TextOrMath",function(t){var e=t.consumeArgs(2);return t.mode==="text"?{tokens:e[0],numArgs:0}:{tokens:e[1],numArgs:0}});var ho={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,a:10,A:10,b:11,B:11,c:12,C:12,d:13,D:13,e:14,E:14,f:15,F:15};g("\\char",function(t){var e=t.popToken(),r,n="";if(e.text==="'")r=8,e=t.popToken();else if(e.text==='"')r=16,e=t.popToken();else if(e.text==="`")if(e=t.popToken(),e.text[0]==="\\")n=e.text.charCodeAt(1);else{if(e.text==="EOF")throw new F("\\char` missing argument");n=e.text.charCodeAt(0)}else r=10;if(r){if(n=ho[e.text],n==null||n>=r)throw new F("Invalid base-"+r+" digit "+e.text);for(var i;(i=ho[t.future().text])!=null&&i<r;)n*=r,n+=i,t.popToken()}return"\\@char{"+n+"}"});var da=(t,e,r)=>{var n=t.consumeArg().tokens;if(n.length!==1)throw new F("\\newcommand's first argument must be a macro name");var i=n[0].text,a=t.isDefined(i);if(a&&!e)throw new F("\\newcommand{"+i+"} attempting to redefine "+(i+"; use \\renewcommand"));if(!a&&!r)throw new F("\\renewcommand{"+i+"} when command "+i+" does not yet exist; use \\newcommand");var s=0;if(n=t.consumeArg().tokens,n.length===1&&n[0].text==="["){for(var o="",u=t.expandNextToken();u.text!=="]"&&u.text!=="EOF";)o+=u.text,u=t.expandNextToken();if(!o.match(/^\s*[0-9]+\s*$/))throw new F("Invalid number of arguments: "+o);s=parseInt(o),n=t.consumeArg().tokens}return t.macros.set(i,{tokens:n,numArgs:s}),""};g("\\newcommand",t=>da(t,!1,!0)),g("\\renewcommand",t=>da(t,!0,!1)),g("\\providecommand",t=>da(t,!0,!0)),g("\\message",t=>{var e=t.consumeArgs(1)[0];return console.log(e.reverse().map(r=>r.text).join("")),""}),g("\\errmessage",t=>{var e=t.consumeArgs(1)[0];return console.error(e.reverse().map(r=>r.text).join("")),""}),g("\\show",t=>{var e=t.popToken(),r=e.text;return console.log(e,t.macros.get(r),yr[r],Ie.math[r],Ie.text[r]),""}),g("\\bgroup","{"),g("\\egroup","}"),g("~","\\nobreakspace"),g("\\lq","`"),g("\\rq","'"),g("\\aa","\\r a"),g("\\AA","\\r A"),g("\\textcopyright","\\html@mathml{\\textcircled{c}}{\\char`©}"),g("\\copyright","\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}"),g("\\textregistered","\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`®}"),g("ℬ","\\mathscr{B}"),g("ℰ","\\mathscr{E}"),g("ℱ","\\mathscr{F}"),g("ℋ","\\mathscr{H}"),g("ℐ","\\mathscr{I}"),g("ℒ","\\mathscr{L}"),g("ℳ","\\mathscr{M}"),g("ℛ","\\mathscr{R}"),g("ℭ","\\mathfrak{C}"),g("ℌ","\\mathfrak{H}"),g("ℨ","\\mathfrak{Z}"),g("\\Bbbk","\\Bbb{k}"),g("·","\\cdotp"),g("\\llap","\\mathllap{\\textrm{#1}}"),g("\\rlap","\\mathrlap{\\textrm{#1}}"),g("\\clap","\\mathclap{\\textrm{#1}}"),g("\\mathstrut","\\vphantom{(}"),g("\\underbar","\\underline{\\text{#1}}"),g("\\not",'\\html@mathml{\\mathrel{\\mathrlap\\@not}}{\\char"338}'),g("\\neq","\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`≠}}"),g("\\ne","\\neq"),g("≠","\\neq"),g("\\notin","\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`∉}}"),g("∉","\\notin"),g("≘","\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`≘}}"),g("≙","\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`≘}}"),g("≚","\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`≚}}"),g("≛","\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`≛}}"),g("≝","\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`≝}}"),g("≞","\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`≞}}"),g("≟","\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`≟}}"),g("⟂","\\perp"),g("‼","\\mathclose{!\\mkern-0.8mu!}"),g("∌","\\notni"),g("⌜","\\ulcorner"),g("⌝","\\urcorner"),g("⌞","\\llcorner"),g("⌟","\\lrcorner"),g("©","\\copyright"),g("®","\\textregistered"),g("️","\\textregistered"),g("\\ulcorner",'\\html@mathml{\\@ulcorner}{\\mathop{\\char"231c}}'),g("\\urcorner",'\\html@mathml{\\@urcorner}{\\mathop{\\char"231d}}'),g("\\llcorner",'\\html@mathml{\\@llcorner}{\\mathop{\\char"231e}}'),g("\\lrcorner",'\\html@mathml{\\@lrcorner}{\\mathop{\\char"231f}}'),g("\\vdots","{\\varvdots\\rule{0pt}{15pt}}"),g("⋮","\\vdots"),g("\\varGamma","\\mathit{\\Gamma}"),g("\\varDelta","\\mathit{\\Delta}"),g("\\varTheta","\\mathit{\\Theta}"),g("\\varLambda","\\mathit{\\Lambda}"),g("\\varXi","\\mathit{\\Xi}"),g("\\varPi","\\mathit{\\Pi}"),g("\\varSigma","\\mathit{\\Sigma}"),g("\\varUpsilon","\\mathit{\\Upsilon}"),g("\\varPhi","\\mathit{\\Phi}"),g("\\varPsi","\\mathit{\\Psi}"),g("\\varOmega","\\mathit{\\Omega}"),g("\\substack","\\begin{subarray}{c}#1\\end{subarray}"),g("\\colon","\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu\\relax"),g("\\boxed","\\fbox{$\\displaystyle{#1}$}"),g("\\iff","\\DOTSB\\;\\Longleftrightarrow\\;"),g("\\implies","\\DOTSB\\;\\Longrightarrow\\;"),g("\\impliedby","\\DOTSB\\;\\Longleftarrow\\;"),g("\\dddot","{\\overset{\\raisebox{-0.1ex}{\\normalsize ...}}{#1}}"),g("\\ddddot","{\\overset{\\raisebox{-0.1ex}{\\normalsize ....}}{#1}}");var mo={",":"\\dotsc","\\not":"\\dotsb","+":"\\dotsb","=":"\\dotsb","<":"\\dotsb",">":"\\dotsb","-":"\\dotsb","*":"\\dotsb",":":"\\dotsb","\\DOTSB":"\\dotsb","\\coprod":"\\dotsb","\\bigvee":"\\dotsb","\\bigwedge":"\\dotsb","\\biguplus":"\\dotsb","\\bigcap":"\\dotsb","\\bigcup":"\\dotsb","\\prod":"\\dotsb","\\sum":"\\dotsb","\\bigotimes":"\\dotsb","\\bigoplus":"\\dotsb","\\bigodot":"\\dotsb","\\bigsqcup":"\\dotsb","\\And":"\\dotsb","\\longrightarrow":"\\dotsb","\\Longrightarrow":"\\dotsb","\\longleftarrow":"\\dotsb","\\Longleftarrow":"\\dotsb","\\longleftrightarrow":"\\dotsb","\\Longleftrightarrow":"\\dotsb","\\mapsto":"\\dotsb","\\longmapsto":"\\dotsb","\\hookrightarrow":"\\dotsb","\\doteq":"\\dotsb","\\mathbin":"\\dotsb","\\mathrel":"\\dotsb","\\relbar":"\\dotsb","\\Relbar":"\\dotsb","\\xrightarrow":"\\dotsb","\\xleftarrow":"\\dotsb","\\DOTSI":"\\dotsi","\\int":"\\dotsi","\\oint":"\\dotsi","\\iint":"\\dotsi","\\iiint":"\\dotsi","\\iiiint":"\\dotsi","\\idotsint":"\\dotsi","\\DOTSX":"\\dotsx"};g("\\dots",function(t){var e="\\dotso",r=t.expandAfterFuture().text;return r in mo?e=mo[r]:(r.slice(0,4)==="\\not"||r in Ie.math&&ie.contains(["bin","rel"],Ie.math[r].group))&&(e="\\dotsb"),e});var ma={")":!0,"]":!0,"\\rbrack":!0,"\\}":!0,"\\rbrace":!0,"\\rangle":!0,"\\rceil":!0,"\\rfloor":!0,"\\rgroup":!0,"\\rmoustache":!0,"\\right":!0,"\\bigr":!0,"\\biggr":!0,"\\Bigr":!0,"\\Biggr":!0,$:!0,";":!0,".":!0,",":!0};g("\\dotso",function(t){var e=t.future().text;return e in ma?"\\ldots\\,":"\\ldots"}),g("\\dotsc",function(t){var e=t.future().text;return e in ma&&e!==","?"\\ldots\\,":"\\ldots"}),g("\\cdots",function(t){var e=t.future().text;return e in ma?"\\@cdots\\,":"\\@cdots"}),g("\\dotsb","\\cdots"),g("\\dotsm","\\cdots"),g("\\dotsi","\\!\\cdots"),g("\\dotsx","\\ldots\\,"),g("\\DOTSI","\\relax"),g("\\DOTSB","\\relax"),g("\\DOTSX","\\relax"),g("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax"),g("\\,","\\tmspace+{3mu}{.1667em}"),g("\\thinspace","\\,"),g("\\>","\\mskip{4mu}"),g("\\:","\\tmspace+{4mu}{.2222em}"),g("\\medspace","\\:"),g("\\;","\\tmspace+{5mu}{.2777em}"),g("\\thickspace","\\;"),g("\\!","\\tmspace-{3mu}{.1667em}"),g("\\negthinspace","\\!"),g("\\negmedspace","\\tmspace-{4mu}{.2222em}"),g("\\negthickspace","\\tmspace-{5mu}{.277em}"),g("\\enspace","\\kern.5em "),g("\\enskip","\\hskip.5em\\relax"),g("\\quad","\\hskip1em\\relax"),g("\\qquad","\\hskip2em\\relax"),g("\\tag","\\@ifstar\\tag@literal\\tag@paren"),g("\\tag@paren","\\tag@literal{({#1})}"),g("\\tag@literal",t=>{if(t.macros.get("\\df@tag"))throw new F("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"}),g("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}"),g("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)"),g("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}"),g("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1"),g("\\newline","\\\\\\relax"),g("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");var po=H(Ht["Main-Regular"][84][1]-.7*Ht["Main-Regular"][65][1]);g("\\LaTeX","\\textrm{\\html@mathml{"+("L\\kern-.36em\\raisebox{"+po+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{LaTeX}}"),g("\\KaTeX","\\textrm{\\html@mathml{"+("K\\kern-.17em\\raisebox{"+po+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{KaTeX}}"),g("\\hspace","\\@ifstar\\@hspacer\\@hspace"),g("\\@hspace","\\hskip #1\\relax"),g("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax"),g("\\ordinarycolon",":"),g("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}"),g("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}'),g("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}'),g("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}'),g("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}'),g("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}'),g("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}'),g("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}'),g("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}'),g("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}'),g("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}'),g("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}'),g("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}'),g("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}'),g("∷","\\dblcolon"),g("∹","\\eqcolon"),g("≔","\\coloneqq"),g("≕","\\eqqcolon"),g("⩴","\\Coloneqq"),g("\\ratio","\\vcentcolon"),g("\\coloncolon","\\dblcolon"),g("\\colonequals","\\coloneqq"),g("\\coloncolonequals","\\Coloneqq"),g("\\equalscolon","\\eqqcolon"),g("\\equalscoloncolon","\\Eqqcolon"),g("\\colonminus","\\coloneq"),g("\\coloncolonminus","\\Coloneq"),g("\\minuscolon","\\eqcolon"),g("\\minuscoloncolon","\\Eqcolon"),g("\\coloncolonapprox","\\Colonapprox"),g("\\coloncolonsim","\\Colonsim"),g("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),g("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}"),g("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),g("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}"),g("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`∌}}"),g("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}"),g("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}"),g("\\injlim","\\DOTSB\\operatorname*{inj\\,lim}"),g("\\projlim","\\DOTSB\\operatorname*{proj\\,lim}"),g("\\varlimsup","\\DOTSB\\operatorname*{\\overline{lim}}"),g("\\varliminf","\\DOTSB\\operatorname*{\\underline{lim}}"),g("\\varinjlim","\\DOTSB\\operatorname*{\\underrightarrow{lim}}"),g("\\varprojlim","\\DOTSB\\operatorname*{\\underleftarrow{lim}}"),g("\\gvertneqq","\\html@mathml{\\@gvertneqq}{≩}"),g("\\lvertneqq","\\html@mathml{\\@lvertneqq}{≨}"),g("\\ngeqq","\\html@mathml{\\@ngeqq}{≱}"),g("\\ngeqslant","\\html@mathml{\\@ngeqslant}{≱}"),g("\\nleqq","\\html@mathml{\\@nleqq}{≰}"),g("\\nleqslant","\\html@mathml{\\@nleqslant}{≰}"),g("\\nshortmid","\\html@mathml{\\@nshortmid}{∤}"),g("\\nshortparallel","\\html@mathml{\\@nshortparallel}{∦}"),g("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{⊈}"),g("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{⊉}"),g("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{⊊}"),g("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{⫋}"),g("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{⊋}"),g("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{⫌}"),g("\\imath","\\html@mathml{\\@imath}{ı}"),g("\\jmath","\\html@mathml{\\@jmath}{ȷ}"),g("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`⟦}}"),g("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`⟧}}"),g("⟦","\\llbracket"),g("⟧","\\rrbracket"),g("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`⦃}}"),g("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`⦄}}"),g("⦃","\\lBrace"),g("⦄","\\rBrace"),g("\\minuso","\\mathbin{\\html@mathml{{\\mathrlap{\\mathchoice{\\kern{0.145em}}{\\kern{0.145em}}{\\kern{0.1015em}}{\\kern{0.0725em}}\\circ}{-}}}{\\char`⦵}}"),g("⦵","\\minuso"),g("\\darr","\\downarrow"),g("\\dArr","\\Downarrow"),g("\\Darr","\\Downarrow"),g("\\lang","\\langle"),g("\\rang","\\rangle"),g("\\uarr","\\uparrow"),g("\\uArr","\\Uparrow"),g("\\Uarr","\\Uparrow"),g("\\N","\\mathbb{N}"),g("\\R","\\mathbb{R}"),g("\\Z","\\mathbb{Z}"),g("\\alef","\\aleph"),g("\\alefsym","\\aleph"),g("\\Alpha","\\mathrm{A}"),g("\\Beta","\\mathrm{B}"),g("\\bull","\\bullet"),g("\\Chi","\\mathrm{X}"),g("\\clubs","\\clubsuit"),g("\\cnums","\\mathbb{C}"),g("\\Complex","\\mathbb{C}"),g("\\Dagger","\\ddagger"),g("\\diamonds","\\diamondsuit"),g("\\empty","\\emptyset"),g("\\Epsilon","\\mathrm{E}"),g("\\Eta","\\mathrm{H}"),g("\\exist","\\exists"),g("\\harr","\\leftrightarrow"),g("\\hArr","\\Leftrightarrow"),g("\\Harr","\\Leftrightarrow"),g("\\hearts","\\heartsuit"),g("\\image","\\Im"),g("\\infin","\\infty"),g("\\Iota","\\mathrm{I}"),g("\\isin","\\in"),g("\\Kappa","\\mathrm{K}"),g("\\larr","\\leftarrow"),g("\\lArr","\\Leftarrow"),g("\\Larr","\\Leftarrow"),g("\\lrarr","\\leftrightarrow"),g("\\lrArr","\\Leftrightarrow"),g("\\Lrarr","\\Leftrightarrow"),g("\\Mu","\\mathrm{M}"),g("\\natnums","\\mathbb{N}"),g("\\Nu","\\mathrm{N}"),g("\\Omicron","\\mathrm{O}"),g("\\plusmn","\\pm"),g("\\rarr","\\rightarrow"),g("\\rArr","\\Rightarrow"),g("\\Rarr","\\Rightarrow"),g("\\real","\\Re"),g("\\reals","\\mathbb{R}"),g("\\Reals","\\mathbb{R}"),g("\\Rho","\\mathrm{P}"),g("\\sdot","\\cdot"),g("\\sect","\\S"),g("\\spades","\\spadesuit"),g("\\sub","\\subset"),g("\\sube","\\subseteq"),g("\\supe","\\supseteq"),g("\\Tau","\\mathrm{T}"),g("\\thetasym","\\vartheta"),g("\\weierp","\\wp"),g("\\Zeta","\\mathrm{Z}"),g("\\argmin","\\DOTSB\\operatorname*{arg\\,min}"),g("\\argmax","\\DOTSB\\operatorname*{arg\\,max}"),g("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits"),g("\\bra","\\mathinner{\\langle{#1}|}"),g("\\ket","\\mathinner{|{#1}\\rangle}"),g("\\braket","\\mathinner{\\langle{#1}\\rangle}"),g("\\Bra","\\left\\langle#1\\right|"),g("\\Ket","\\left|#1\\right\\rangle");var fo=t=>e=>{var r=e.consumeArg().tokens,n=e.consumeArg().tokens,i=e.consumeArg().tokens,a=e.consumeArg().tokens,s=e.macros.get("|"),o=e.macros.get("\\|");e.macros.beginGroup();var u=p=>b=>{t&&(b.macros.set("|",s),i.length&&b.macros.set("\\|",o));var f=p;if(!p&&i.length){var z=b.future();z.text==="|"&&(b.popToken(),f=!0)}return{tokens:f?i:n,numArgs:0}};e.macros.set("|",u(!1)),i.length&&e.macros.set("\\|",u(!0));var h=e.consumeArg().tokens,d=e.expandTokens([...a,...h,...r]);return e.macros.endGroup(),{tokens:d.reverse(),numArgs:0}};g("\\bra@ket",fo(!1)),g("\\bra@set",fo(!0)),g("\\Braket","\\bra@ket{\\left\\langle}{\\,\\middle\\vert\\,}{\\,\\middle\\vert\\,}{\\right\\rangle}"),g("\\Set","\\bra@set{\\left\\{\\:}{\\;\\middle\\vert\\;}{\\;\\middle\\Vert\\;}{\\:\\right\\}}"),g("\\set","\\bra@set{\\{\\,}{\\mid}{}{\\,\\}}"),g("\\angln","{\\angl n}"),g("\\blue","\\textcolor{##6495ed}{#1}"),g("\\orange","\\textcolor{##ffa500}{#1}"),g("\\pink","\\textcolor{##ff00af}{#1}"),g("\\red","\\textcolor{##df0030}{#1}"),g("\\green","\\textcolor{##28ae7b}{#1}"),g("\\gray","\\textcolor{gray}{#1}"),g("\\purple","\\textcolor{##9d38bd}{#1}"),g("\\blueA","\\textcolor{##ccfaff}{#1}"),g("\\blueB","\\textcolor{##80f6ff}{#1}"),g("\\blueC","\\textcolor{##63d9ea}{#1}"),g("\\blueD","\\textcolor{##11accd}{#1}"),g("\\blueE","\\textcolor{##0c7f99}{#1}"),g("\\tealA","\\textcolor{##94fff5}{#1}"),g("\\tealB","\\textcolor{##26edd5}{#1}"),g("\\tealC","\\textcolor{##01d1c1}{#1}"),g("\\tealD","\\textcolor{##01a995}{#1}"),g("\\tealE","\\textcolor{##208170}{#1}"),g("\\greenA","\\textcolor{##b6ffb0}{#1}"),g("\\greenB","\\textcolor{##8af281}{#1}"),g("\\greenC","\\textcolor{##74cf70}{#1}"),g("\\greenD","\\textcolor{##1fab54}{#1}"),g("\\greenE","\\textcolor{##0d923f}{#1}"),g("\\goldA","\\textcolor{##ffd0a9}{#1}"),g("\\goldB","\\textcolor{##ffbb71}{#1}"),g("\\goldC","\\textcolor{##ff9c39}{#1}"),g("\\goldD","\\textcolor{##e07d10}{#1}"),g("\\goldE","\\textcolor{##a75a05}{#1}"),g("\\redA","\\textcolor{##fca9a9}{#1}"),g("\\redB","\\textcolor{##ff8482}{#1}"),g("\\redC","\\textcolor{##f9685d}{#1}"),g("\\redD","\\textcolor{##e84d39}{#1}"),g("\\redE","\\textcolor{##bc2612}{#1}"),g("\\maroonA","\\textcolor{##ffbde0}{#1}"),g("\\maroonB","\\textcolor{##ff92c6}{#1}"),g("\\maroonC","\\textcolor{##ed5fa6}{#1}"),g("\\maroonD","\\textcolor{##ca337c}{#1}"),g("\\maroonE","\\textcolor{##9e034e}{#1}"),g("\\purpleA","\\textcolor{##ddd7ff}{#1}"),g("\\purpleB","\\textcolor{##c6b9fc}{#1}"),g("\\purpleC","\\textcolor{##aa87ff}{#1}"),g("\\purpleD","\\textcolor{##7854ab}{#1}"),g("\\purpleE","\\textcolor{##543b78}{#1}"),g("\\mintA","\\textcolor{##f5f9e8}{#1}"),g("\\mintB","\\textcolor{##edf2df}{#1}"),g("\\mintC","\\textcolor{##e0e5cc}{#1}"),g("\\grayA","\\textcolor{##f6f7f7}{#1}"),g("\\grayB","\\textcolor{##f0f1f2}{#1}"),g("\\grayC","\\textcolor{##e3e5e6}{#1}"),g("\\grayD","\\textcolor{##d6d8da}{#1}"),g("\\grayE","\\textcolor{##babec2}{#1}"),g("\\grayF","\\textcolor{##888d93}{#1}"),g("\\grayG","\\textcolor{##626569}{#1}"),g("\\grayH","\\textcolor{##3b3e40}{#1}"),g("\\grayI","\\textcolor{##21242c}{#1}"),g("\\kaBlue","\\textcolor{##314453}{#1}"),g("\\kaGreen","\\textcolor{##71B307}{#1}");var go={"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0};class Uh{constructor(e,r,n){this.settings=void 0,this.expansionCount=void 0,this.lexer=void 0,this.macros=void 0,this.stack=void 0,this.mode=void 0,this.settings=r,this.expansionCount=0,this.feed(e),this.macros=new Ph(qh,r.macros),this.mode=n,this.stack=[]}feed(e){this.lexer=new co(e,this.settings)}switchMode(e){this.mode=e}beginGroup(){this.macros.beginGroup()}endGroup(){this.macros.endGroup()}endGroups(){this.macros.endGroups()}future(){return this.stack.length===0&&this.pushToken(this.lexer.lex()),this.stack[this.stack.length-1]}popToken(){return this.future(),this.stack.pop()}pushToken(e){this.stack.push(e)}pushTokens(e){this.stack.push(...e)}scanArgument(e){var r,n,i;if(e){if(this.consumeSpaces(),this.future().text!=="[")return null;r=this.popToken(),{tokens:i,end:n}=this.consumeArg(["]"])}else({tokens:i,start:r,end:n}=this.consumeArg());return this.pushToken(new zt("EOF",n.loc)),this.pushTokens(i),r.range(n,"")}consumeSpaces(){for(;;){var e=this.future();if(e.text===" ")this.stack.pop();else break}}consumeArg(e){var r=[],n=e&&e.length>0;n||this.consumeSpaces();var i=this.future(),a,s=0,o=0;do{if(a=this.popToken(),r.push(a),a.text==="{")++s;else if(a.text==="}"){if(--s,s===-1)throw new F("Extra }",a)}else if(a.text==="EOF")throw new F("Unexpected end of input in a macro argument, expected '"+(e&&n?e[o]:"}")+"'",a);if(e&&n)if((s===0||s===1&&e[o]==="{")&&a.text===e[o]){if(++o,o===e.length){r.splice(-o,o);break}}else o=0}while(s!==0||n);return i.text==="{"&&r[r.length-1].text==="}"&&(r.pop(),r.shift()),r.reverse(),{tokens:r,start:i,end:a}}consumeArgs(e,r){if(r){if(r.length!==e+1)throw new F("The length of delimiters doesn't match the number of args!");for(var n=r[0],i=0;i<n.length;i++){var a=this.popToken();if(n[i]!==a.text)throw new F("Use of the macro doesn't match its definition",a)}}for(var s=[],o=0;o<e;o++)s.push(this.consumeArg(r&&r[o+1]).tokens);return s}countExpansion(e){if(this.expansionCount+=e,this.expansionCount>this.settings.maxExpand)throw new F("Too many expansions: infinite loop or need to increase maxExpand setting")}expandOnce(e){var r=this.popToken(),n=r.text,i=r.noexpand?null:this._getExpansion(n);if(i==null||e&&i.unexpandable){if(e&&i==null&&n[0]==="\\"&&!this.isDefined(n))throw new F("Undefined control sequence: "+n);return this.pushToken(r),!1}this.countExpansion(1);var a=i.tokens,s=this.consumeArgs(i.numArgs,i.delimiters);if(i.numArgs){a=a.slice();for(var o=a.length-1;o>=0;--o){var u=a[o];if(u.text==="#"){if(o===0)throw new F("Incomplete placeholder at end of macro body",u);if(u=a[--o],u.text==="#")a.splice(o+1,1);else if(/^[1-9]$/.test(u.text))a.splice(o,2,...s[+u.text-1]);else throw new F("Not a valid argument number",u)}}}return this.pushTokens(a),a.length}expandAfterFuture(){return this.expandOnce(),this.future()}expandNextToken(){for(;;)if(this.expandOnce()===!1){var e=this.stack.pop();return e.treatAsRelax&&(e.text="\\relax"),e}throw new Error}expandMacro(e){return this.macros.has(e)?this.expandTokens([new zt(e)]):void 0}expandTokens(e){var r=[],n=this.stack.length;for(this.pushTokens(e);this.stack.length>n;)if(this.expandOnce(!0)===!1){var i=this.stack.pop();i.treatAsRelax&&(i.noexpand=!1,i.treatAsRelax=!1),r.push(i)}return this.countExpansion(r.length),r}expandMacroAsText(e){var r=this.expandMacro(e);return r&&r.map(n=>n.text).join("")}_getExpansion(e){var r=this.macros.get(e);if(r==null)return r;if(e.length===1){var n=this.lexer.catcodes[e];if(n!=null&&n!==13)return}var i=typeof r=="function"?r(this):r;if(typeof i=="string"){var a=0;if(i.indexOf("#")!==-1)for(var s=i.replace(/##/g,"");s.indexOf("#"+(a+1))!==-1;)++a;for(var o=new co(i,this.settings),u=[],h=o.lex();h.text!=="EOF";)u.push(h),h=o.lex();u.reverse();var d={tokens:u,numArgs:a};return d}return i}isDefined(e){return this.macros.has(e)||yr.hasOwnProperty(e)||Ie.math.hasOwnProperty(e)||Ie.text.hasOwnProperty(e)||go.hasOwnProperty(e)}isExpandable(e){var r=this.macros.get(e);return r!=null?typeof r=="string"||typeof r=="function"||!r.unexpandable:yr.hasOwnProperty(e)&&!yr[e].primitive}}var bo=/^[₊₋₌₍₎₀₁₂₃₄₅₆₇₈₉ₐₑₕᵢⱼₖₗₘₙₒₚᵣₛₜᵤᵥₓᵦᵧᵨᵩᵪ]/,Vn=Object.freeze({"₊":"+","₋":"-","₌":"=","₍":"(","₎":")","₀":"0","₁":"1","₂":"2","₃":"3","₄":"4","₅":"5","₆":"6","₇":"7","₈":"8","₉":"9","ₐ":"a","ₑ":"e","ₕ":"h","ᵢ":"i","ⱼ":"j","ₖ":"k","ₗ":"l","ₘ":"m","ₙ":"n","ₒ":"o","ₚ":"p","ᵣ":"r","ₛ":"s","ₜ":"t","ᵤ":"u","ᵥ":"v","ₓ":"x","ᵦ":"β","ᵧ":"γ","ᵨ":"ρ","ᵩ":"ϕ","ᵪ":"χ","⁺":"+","⁻":"-","⁼":"=","⁽":"(","⁾":")","⁰":"0","¹":"1","²":"2","³":"3","⁴":"4","⁵":"5","⁶":"6","⁷":"7","⁸":"8","⁹":"9","ᴬ":"A","ᴮ":"B","ᴰ":"D","ᴱ":"E","ᴳ":"G","ᴴ":"H","ᴵ":"I","ᴶ":"J","ᴷ":"K","ᴸ":"L","ᴹ":"M","ᴺ":"N","ᴼ":"O","ᴾ":"P","ᴿ":"R","ᵀ":"T","ᵁ":"U","ⱽ":"V","ᵂ":"W","ᵃ":"a","ᵇ":"b","ᶜ":"c","ᵈ":"d","ᵉ":"e","ᶠ":"f","ᵍ":"g",ʰ:"h","ⁱ":"i",ʲ:"j","ᵏ":"k",ˡ:"l","ᵐ":"m",ⁿ:"n","ᵒ":"o","ᵖ":"p",ʳ:"r",ˢ:"s","ᵗ":"t","ᵘ":"u","ᵛ":"v",ʷ:"w",ˣ:"x",ʸ:"y","ᶻ":"z","ᵝ":"β","ᵞ":"γ","ᵟ":"δ","ᵠ":"ϕ","ᵡ":"χ","ᶿ":"θ"}),pa={"́":{text:"\\'",math:"\\acute"},"̀":{text:"\\`",math:"\\grave"},"̈":{text:'\\"',math:"\\ddot"},"̃":{text:"\\~",math:"\\tilde"},"̄":{text:"\\=",math:"\\bar"},"̆":{text:"\\u",math:"\\breve"},"̌":{text:"\\v",math:"\\check"},"̂":{text:"\\^",math:"\\hat"},"̇":{text:"\\.",math:"\\dot"},"̊":{text:"\\r",math:"\\mathring"},"̋":{text:"\\H"},"̧":{text:"\\c"}},vo={á:"á",à:"à",ä:"ä",ǟ:"ǟ",ã:"ã",ā:"ā",ă:"ă",ắ:"ắ",ằ:"ằ",ẵ:"ẵ",ǎ:"ǎ",â:"â",ấ:"ấ",ầ:"ầ",ẫ:"ẫ",ȧ:"ȧ",ǡ:"ǡ",å:"å",ǻ:"ǻ",ḃ:"ḃ",ć:"ć",ḉ:"ḉ",č:"č",ĉ:"ĉ",ċ:"ċ",ç:"ç",ď:"ď",ḋ:"ḋ",ḑ:"ḑ",é:"é",è:"è",ë:"ë",ẽ:"ẽ",ē:"ē",ḗ:"ḗ",ḕ:"ḕ",ĕ:"ĕ",ḝ:"ḝ",ě:"ě",ê:"ê",ế:"ế",ề:"ề",ễ:"ễ",ė:"ė",ȩ:"ȩ",ḟ:"ḟ",ǵ:"ǵ",ḡ:"ḡ",ğ:"ğ",ǧ:"ǧ",ĝ:"ĝ",ġ:"ġ",ģ:"ģ",ḧ:"ḧ",ȟ:"ȟ",ĥ:"ĥ",ḣ:"ḣ",ḩ:"ḩ",í:"í",ì:"ì",ï:"ï",ḯ:"ḯ",ĩ:"ĩ",ī:"ī",ĭ:"ĭ",ǐ:"ǐ",î:"î",ǰ:"ǰ",ĵ:"ĵ",ḱ:"ḱ",ǩ:"ǩ",ķ:"ķ",ĺ:"ĺ",ľ:"ľ",ļ:"ļ",ḿ:"ḿ",ṁ:"ṁ",ń:"ń",ǹ:"ǹ",ñ:"ñ",ň:"ň",ṅ:"ṅ",ņ:"ņ",ó:"ó",ò:"ò",ö:"ö",ȫ:"ȫ",õ:"õ",ṍ:"ṍ",ṏ:"ṏ",ȭ:"ȭ",ō:"ō",ṓ:"ṓ",ṑ:"ṑ",ŏ:"ŏ",ǒ:"ǒ",ô:"ô",ố:"ố",ồ:"ồ",ỗ:"ỗ",ȯ:"ȯ",ȱ:"ȱ",ő:"ő",ṕ:"ṕ",ṗ:"ṗ",ŕ:"ŕ",ř:"ř",ṙ:"ṙ",ŗ:"ŗ",ś:"ś",ṥ:"ṥ",š:"š",ṧ:"ṧ",ŝ:"ŝ",ṡ:"ṡ",ş:"ş",ẗ:"ẗ",ť:"ť",ṫ:"ṫ",ţ:"ţ",ú:"ú",ù:"ù",ü:"ü",ǘ:"ǘ",ǜ:"ǜ",ǖ:"ǖ",ǚ:"ǚ",ũ:"ũ",ṹ:"ṹ",ū:"ū",ṻ:"ṻ",ŭ:"ŭ",ǔ:"ǔ",û:"û",ů:"ů",ű:"ű",ṽ:"ṽ",ẃ:"ẃ",ẁ:"ẁ",ẅ:"ẅ",ŵ:"ŵ",ẇ:"ẇ",ẘ:"ẘ",ẍ:"ẍ",ẋ:"ẋ",ý:"ý",ỳ:"ỳ",ÿ:"ÿ",ỹ:"ỹ",ȳ:"ȳ",ŷ:"ŷ",ẏ:"ẏ",ẙ:"ẙ",ź:"ź",ž:"ž",ẑ:"ẑ",ż:"ż",Á:"Á",À:"À",Ä:"Ä",Ǟ:"Ǟ",Ã:"Ã",Ā:"Ā",Ă:"Ă",Ắ:"Ắ",Ằ:"Ằ",Ẵ:"Ẵ",Ǎ:"Ǎ",Â:"Â",Ấ:"Ấ",Ầ:"Ầ",Ẫ:"Ẫ",Ȧ:"Ȧ",Ǡ:"Ǡ",Å:"Å",Ǻ:"Ǻ",Ḃ:"Ḃ",Ć:"Ć",Ḉ:"Ḉ",Č:"Č",Ĉ:"Ĉ",Ċ:"Ċ",Ç:"Ç",Ď:"Ď",Ḋ:"Ḋ",Ḑ:"Ḑ",É:"É",È:"È",Ë:"Ë",Ẽ:"Ẽ",Ē:"Ē",Ḗ:"Ḗ",Ḕ:"Ḕ",Ĕ:"Ĕ",Ḝ:"Ḝ",Ě:"Ě",Ê:"Ê",Ế:"Ế",Ề:"Ề",Ễ:"Ễ",Ė:"Ė",Ȩ:"Ȩ",Ḟ:"Ḟ",Ǵ:"Ǵ",Ḡ:"Ḡ",Ğ:"Ğ",Ǧ:"Ǧ",Ĝ:"Ĝ",Ġ:"Ġ",Ģ:"Ģ",Ḧ:"Ḧ",Ȟ:"Ȟ",Ĥ:"Ĥ",Ḣ:"Ḣ",Ḩ:"Ḩ",Í:"Í",Ì:"Ì",Ï:"Ï",Ḯ:"Ḯ",Ĩ:"Ĩ",Ī:"Ī",Ĭ:"Ĭ",Ǐ:"Ǐ",Î:"Î",İ:"İ",Ĵ:"Ĵ",Ḱ:"Ḱ",Ǩ:"Ǩ",Ķ:"Ķ",Ĺ:"Ĺ",Ľ:"Ľ",Ļ:"Ļ",Ḿ:"Ḿ",Ṁ:"Ṁ",Ń:"Ń",Ǹ:"Ǹ",Ñ:"Ñ",Ň:"Ň",Ṅ:"Ṅ",Ņ:"Ņ",Ó:"Ó",Ò:"Ò",Ö:"Ö",Ȫ:"Ȫ",Õ:"Õ",Ṍ:"Ṍ",Ṏ:"Ṏ",Ȭ:"Ȭ",Ō:"Ō",Ṓ:"Ṓ",Ṑ:"Ṑ",Ŏ:"Ŏ",Ǒ:"Ǒ",Ô:"Ô",Ố:"Ố",Ồ:"Ồ",Ỗ:"Ỗ",Ȯ:"Ȯ",Ȱ:"Ȱ",Ő:"Ő",Ṕ:"Ṕ",Ṗ:"Ṗ",Ŕ:"Ŕ",Ř:"Ř",Ṙ:"Ṙ",Ŗ:"Ŗ",Ś:"Ś",Ṥ:"Ṥ",Š:"Š",Ṧ:"Ṧ",Ŝ:"Ŝ",Ṡ:"Ṡ",Ş:"Ş",Ť:"Ť",Ṫ:"Ṫ",Ţ:"Ţ",Ú:"Ú",Ù:"Ù",Ü:"Ü",Ǘ:"Ǘ",Ǜ:"Ǜ",Ǖ:"Ǖ",Ǚ:"Ǚ",Ũ:"Ũ",Ṹ:"Ṹ",Ū:"Ū",Ṻ:"Ṻ",Ŭ:"Ŭ",Ǔ:"Ǔ",Û:"Û",Ů:"Ů",Ű:"Ű",Ṽ:"Ṽ",Ẃ:"Ẃ",Ẁ:"Ẁ",Ẅ:"Ẅ",Ŵ:"Ŵ",Ẇ:"Ẇ",Ẍ:"Ẍ",Ẋ:"Ẋ",Ý:"Ý",Ỳ:"Ỳ",Ÿ:"Ÿ",Ỹ:"Ỹ",Ȳ:"Ȳ",Ŷ:"Ŷ",Ẏ:"Ẏ",Ź:"Ź",Ž:"Ž",Ẑ:"Ẑ",Ż:"Ż",ά:"ά",ὰ:"ὰ",ᾱ:"ᾱ",ᾰ:"ᾰ",έ:"έ",ὲ:"ὲ",ή:"ή",ὴ:"ὴ",ί:"ί",ὶ:"ὶ",ϊ:"ϊ",ΐ:"ΐ",ῒ:"ῒ",ῑ:"ῑ",ῐ:"ῐ",ό:"ό",ὸ:"ὸ",ύ:"ύ",ὺ:"ὺ",ϋ:"ϋ",ΰ:"ΰ",ῢ:"ῢ",ῡ:"ῡ",ῠ:"ῠ",ώ:"ώ",ὼ:"ὼ",Ύ:"Ύ",Ὺ:"Ὺ",Ϋ:"Ϋ",Ῡ:"Ῡ",Ῠ:"Ῠ",Ώ:"Ώ",Ὼ:"Ὼ"};class Xn{constructor(e,r){this.mode=void 0,this.gullet=void 0,this.settings=void 0,this.leftrightDepth=void 0,this.nextToken=void 0,this.mode="math",this.gullet=new Uh(e,r,this.mode),this.settings=r,this.leftrightDepth=0}expect(e,r){if(r===void 0&&(r=!0),this.fetch().text!==e)throw new F("Expected '"+e+"', got '"+this.fetch().text+"'",this.fetch());r&&this.consume()}consume(){this.nextToken=null}fetch(){return this.nextToken==null&&(this.nextToken=this.gullet.expandNextToken()),this.nextToken}switchMode(e){this.mode=e,this.gullet.switchMode(e)}parse(){this.settings.globalGroup||this.gullet.beginGroup(),this.settings.colorIsTextColor&&this.gullet.macros.set("\\color","\\textcolor");try{var e=this.parseExpression(!1);return this.expect("EOF"),this.settings.globalGroup||this.gullet.endGroup(),e}finally{this.gullet.endGroups()}}subparse(e){var r=this.nextToken;this.consume(),this.gullet.pushToken(new zt("}")),this.gullet.pushTokens(e);var n=this.parseExpression(!1);return this.expect("}"),this.nextToken=r,n}parseExpression(e,r){for(var n=[];;){this.mode==="math"&&this.consumeSpaces();var i=this.fetch();if(Xn.endOfExpression.indexOf(i.text)!==-1||r&&i.text===r||e&&yr[i.text]&&yr[i.text].infix)break;var a=this.parseAtom(r);if(a){if(a.type==="internal")continue}else break;n.push(a)}return this.mode==="text"&&this.formLigatures(n),this.handleInfixNodes(n)}handleInfixNodes(e){for(var r=-1,n,i=0;i<e.length;i++)if(e[i].type==="infix"){if(r!==-1)throw new F("only one infix operator per group",e[i].token);r=i,n=e[i].replaceWith}if(r!==-1&&n){var a,s,o=e.slice(0,r),u=e.slice(r+1);o.length===1&&o[0].type==="ordgroup"?a=o[0]:a={type:"ordgroup",mode:this.mode,body:o},u.length===1&&u[0].type==="ordgroup"?s=u[0]:s={type:"ordgroup",mode:this.mode,body:u};var h;return n==="\\\\abovefrac"?h=this.callFunction(n,[a,e[r],s],[]):h=this.callFunction(n,[a,s],[]),[h]}else return e}handleSupSubscript(e){var r=this.fetch(),n=r.text;this.consume(),this.consumeSpaces();var i=this.parseGroup(e);if(!i)throw new F("Expected group after '"+n+"'",r);return i}formatUnsupportedCmd(e){for(var r=[],n=0;n<e.length;n++)r.push({type:"textord",mode:"text",text:e[n]});var i={type:"text",mode:this.mode,body:r},a={type:"color",mode:this.mode,color:this.settings.errorColor,body:[i]};return a}parseAtom(e){var r=this.parseGroup("atom",e);if(this.mode==="text")return r;for(var n,i;;){this.consumeSpaces();var a=this.fetch();if(a.text==="\\limits"||a.text==="\\nolimits"){if(r&&r.type==="op"){var s=a.text==="\\limits";r.limits=s,r.alwaysHandleSupSub=!0}else if(r&&r.type==="operatorname")r.alwaysHandleSupSub&&(r.limits=a.text==="\\limits");else throw new F("Limit controls must follow a math operator",a);this.consume()}else if(a.text==="^"){if(n)throw new F("Double superscript",a);n=this.handleSupSubscript("superscript")}else if(a.text==="_"){if(i)throw new F("Double subscript",a);i=this.handleSupSubscript("subscript")}else if(a.text==="'"){if(n)throw new F("Double superscript",a);var o={type:"textord",mode:this.mode,text:"\\prime"},u=[o];for(this.consume();this.fetch().text==="'";)u.push(o),this.consume();this.fetch().text==="^"&&u.push(this.handleSupSubscript("superscript")),n={type:"ordgroup",mode:this.mode,body:u}}else if(Vn[a.text]){var h=bo.test(a.text),d=[];for(d.push(new zt(Vn[a.text])),this.consume();;){var p=this.fetch().text;if(!Vn[p]||bo.test(p)!==h)break;d.unshift(new zt(Vn[p])),this.consume()}var b=this.subparse(d);h?i={type:"ordgroup",mode:"math",body:b}:n={type:"ordgroup",mode:"math",body:b}}else break}return n||i?{type:"supsub",mode:this.mode,base:r,sup:n,sub:i}:r}parseFunction(e,r){var n=this.fetch(),i=n.text,a=yr[i];if(!a)return null;if(this.consume(),r&&r!=="atom"&&!a.allowedInArgument)throw new F("Got function '"+i+"' with no arguments"+(r?" as "+r:""),n);if(this.mode==="text"&&!a.allowedInText)throw new F("Can't use function '"+i+"' in text mode",n);if(this.mode==="math"&&a.allowedInMath===!1)throw new F("Can't use function '"+i+"' in math mode",n);var{args:s,optArgs:o}=this.parseArguments(i,a);return this.callFunction(i,s,o,n,e)}callFunction(e,r,n,i,a){var s={funcName:e,parser:this,token:i,breakOnTokenText:a},o=yr[e];if(o&&o.handler)return o.handler(s,r,n);throw new F("No function handler for "+e)}parseArguments(e,r){var n=r.numArgs+r.numOptionalArgs;if(n===0)return{args:[],optArgs:[]};for(var i=[],a=[],s=0;s<n;s++){var o=r.argTypes&&r.argTypes[s],u=s<r.numOptionalArgs;(r.primitive&&o==null||r.type==="sqrt"&&s===1&&a[0]==null)&&(o="primitive");var h=this.parseGroupOfType("argument to '"+e+"'",o,u);if(u)a.push(h);else if(h!=null)i.push(h);else throw new F("Null argument, please report this as a bug")}return{args:i,optArgs:a}}parseGroupOfType(e,r,n){switch(r){case"color":return this.parseColorGroup(n);case"size":return this.parseSizeGroup(n);case"url":return this.parseUrlGroup(n);case"math":case"text":return this.parseArgumentGroup(n,r);case"hbox":{var i=this.parseArgumentGroup(n,"text");return i!=null?{type:"styling",mode:i.mode,body:[i],style:"text"}:null}case"raw":{var a=this.parseStringGroup("raw",n);return a!=null?{type:"raw",mode:"text",string:a.text}:null}case"primitive":{if(n)throw new F("A primitive argument cannot be optional");var s=this.parseGroup(e);if(s==null)throw new F("Expected group as "+e,this.fetch());return s}case"original":case null:case void 0:return this.parseArgumentGroup(n);default:throw new F("Unknown group type as "+e,this.fetch())}}consumeSpaces(){for(;this.fetch().text===" ";)this.consume()}parseStringGroup(e,r){var n=this.gullet.scanArgument(r);if(n==null)return null;for(var i="",a;(a=this.fetch()).text!=="EOF";)i+=a.text,this.consume();return this.consume(),n.text=i,n}parseRegexGroup(e,r){for(var n=this.fetch(),i=n,a="",s;(s=this.fetch()).text!=="EOF"&&e.test(a+s.text);)i=s,a+=i.text,this.consume();if(a==="")throw new F("Invalid "+r+": '"+n.text+"'",n);return n.range(i,a)}parseColorGroup(e){var r=this.parseStringGroup("color",e);if(r==null)return null;var n=/^(#[a-f0-9]{3}|#?[a-f0-9]{6}|[a-z]+)$/i.exec(r.text);if(!n)throw new F("Invalid color: '"+r.text+"'",r);var i=n[0];return/^[0-9a-f]{6}$/i.test(i)&&(i="#"+i),{type:"color-token",mode:this.mode,color:i}}parseSizeGroup(e){var r,n=!1;if(this.gullet.consumeSpaces(),!e&&this.gullet.future().text!=="{"?r=this.parseRegexGroup(/^[-+]? *(?:$|\d+|\d+\.\d*|\.\d*) *[a-z]{0,2} *$/,"size"):r=this.parseStringGroup("size",e),!r)return null;!e&&r.text.length===0&&(r.text="0pt",n=!0);var i=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(r.text);if(!i)throw new F("Invalid size: '"+r.text+"'",r);var a={number:+(i[1]+i[2]),unit:i[3]};if(!Z0(a))throw new F("Invalid unit: '"+a.unit+"'",r);return{type:"size",mode:this.mode,value:a,isBlank:n}}parseUrlGroup(e){this.gullet.lexer.setCatcode("%",13),this.gullet.lexer.setCatcode("~",12);var r=this.parseStringGroup("url",e);if(this.gullet.lexer.setCatcode("%",14),this.gullet.lexer.setCatcode("~",13),r==null)return null;var n=r.text.replace(/\\([#$%&~_^{}])/g,"$1");return{type:"url",mode:this.mode,url:n}}parseArgumentGroup(e,r){var n=this.gullet.scanArgument(e);if(n==null)return null;var i=this.mode;r&&this.switchMode(r),this.gullet.beginGroup();var a=this.parseExpression(!1,"EOF");this.expect("EOF"),this.gullet.endGroup();var s={type:"ordgroup",mode:this.mode,loc:n.loc,body:a};return r&&this.switchMode(i),s}parseGroup(e,r){var n=this.fetch(),i=n.text,a;if(i==="{"||i==="\\begingroup"){this.consume();var s=i==="{"?"}":"\\endgroup";this.gullet.beginGroup();var o=this.parseExpression(!1,s),u=this.fetch();this.expect(s),this.gullet.endGroup(),a={type:"ordgroup",mode:this.mode,loc:bt.range(n,u),body:o,semisimple:i==="\\begingroup"||void 0}}else if(a=this.parseFunction(r,e)||this.parseSymbol(),a==null&&i[0]==="\\"&&!go.hasOwnProperty(i)){if(this.settings.throwOnError)throw new F("Undefined control sequence: "+i,n);a=this.formatUnsupportedCmd(i),this.consume()}return a}formLigatures(e){for(var r=e.length-1,n=0;n<r;++n){var i=e[n],a=i.text;a==="-"&&e[n+1].text==="-"&&(n+1<r&&e[n+2].text==="-"?(e.splice(n,3,{type:"textord",mode:"text",loc:bt.range(i,e[n+2]),text:"---"}),r-=2):(e.splice(n,2,{type:"textord",mode:"text",loc:bt.range(i,e[n+1]),text:"--"}),r-=1)),(a==="'"||a==="`")&&e[n+1].text===a&&(e.splice(n,2,{type:"textord",mode:"text",loc:bt.range(i,e[n+1]),text:a+a}),r-=1)}}parseSymbol(){var e=this.fetch(),r=e.text;if(/^\\verb[^a-zA-Z]/.test(r)){this.consume();var n=r.slice(5),i=n.charAt(0)==="*";if(i&&(n=n.slice(1)),n.length<2||n.charAt(0)!==n.slice(-1))throw new F(`\\verb assertion failed --
|
|
266
|
-
please report what input caused this bug`);return n=n.slice(1,-1),{type:"verb",mode:"text",body:n,star:i}}vo.hasOwnProperty(r[0])&&!Ie[this.mode][r[0]]&&(this.settings.strict&&this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Accented Unicode text character "'+r[0]+'" used in math mode',e),r=vo[r[0]]+r.slice(1));var a=Dh.exec(r);a&&(r=r.substring(0,a.index),r==="i"?r="ı":r==="j"&&(r="ȷ"));var s;if(Ie[this.mode][r]){this.settings.strict&&this.mode==="math"&&Pi.indexOf(r)>=0&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+r[0]+'" used in math mode',e);var o=Ie[this.mode][r].group,u=bt.range(e),h;if(Cc.hasOwnProperty(o)){var d=o;h={type:"atom",mode:this.mode,family:d,loc:u,text:r}}else h={type:o,mode:this.mode,loc:u,text:r};s=h}else if(r.charCodeAt(0)>=128)this.settings.strict&&(j0(r.charCodeAt(0))?this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+r[0]+'" used in math mode',e):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+r[0]+'"'+(" ("+r.charCodeAt(0)+")"),e)),s={type:"textord",mode:"text",loc:bt.range(e),text:r};else return null;if(this.consume(),a)for(var p=0;p<a[0].length;p++){var b=a[0][p];if(!pa[b])throw new F("Unknown accent ' "+b+"'",e);var f=pa[b][this.mode]||pa[b].text;if(!f)throw new F("Accent "+b+" unsupported in "+this.mode+" mode",e);s={type:"accent",mode:this.mode,loc:bt.range(e),label:f,isStretchy:!1,isShifty:!0,base:s}}return s}}Xn.endOfExpression=["}","\\endgroup","\\end","\\right","&"];var fa=function(e,r){if(!(typeof e=="string"||e instanceof String))throw new TypeError("KaTeX can only parse string typed expression");var n=new Xn(e,r);delete n.gullet.macros.current["\\df@tag"];var i=n.parse();if(delete n.gullet.macros.current["\\current@color"],delete n.gullet.macros.current["\\color"],n.gullet.macros.get("\\df@tag")){if(!r.displayMode)throw new F("\\tag works only in display equations");i=[{type:"tag",mode:"text",body:i,tag:n.subparse([new zt("\\df@tag")])}]}return i},yo=function(e,r,n){r.textContent="";var i=ga(e,n).toNode();r.appendChild(i)};typeof document<"u"&&document.compatMode!=="CSS1Compat"&&(typeof console<"u"&&console.warn("Warning: KaTeX doesn't work in quirks mode. Make sure your website has a suitable doctype."),yo=function(){throw new F("KaTeX doesn't work in quirks mode.")});var Hh=function(e,r){var n=ga(e,r).toMarkup();return n},Gh=function(e,r){var n=new Mi(r);return fa(e,n)},wo=function(e,r,n){if(n.throwOnError||!(e instanceof F))throw e;var i=T.makeSpan(["katex-error"],[new Tt(r)]);return i.setAttribute("title",e.toString()),i.setAttribute("style","color:"+n.errorColor),i},ga=function(e,r){var n=new Mi(r);try{var i=fa(e,n);return Jc(i,e,n)}catch(a){return wo(a,e,n)}},$h=function(e,r){var n=new Mi(r);try{var i=fa(e,n);return Qc(i,e,n)}catch(a){return wo(a,e,n)}},Wh={version:"0.16.15",render:yo,renderToString:Hh,ParseError:F,SETTINGS_SCHEMA:Tn,__parse:Gh,__renderToDomTree:ga,__renderToHTMLTree:$h,__setFontMetrics:kc,__defineSymbol:l,__defineFunction:K,__defineMacro:g,__domTree:{Span:sn,Anchor:Ii,SymbolNode:Tt,SvgNode:Qt,PathNode:fr,LineNode:Oi}};const jh=Object.freeze(Object.defineProperty({__proto__:null,default:Wh},Symbol.toStringTag,{value:"Module"}));function Vh(){return{enter:{mathFlow:t,mathFlowFenceMeta:e,mathText:a},exit:{mathFlow:i,mathFlowFence:n,mathFlowFenceMeta:r,mathFlowValue:o,mathText:s,mathTextData:o}};function t(u){const h={type:"element",tagName:"code",properties:{className:["language-math","math-display"]},children:[]};this.enter({type:"math",meta:null,value:"",data:{hName:"pre",hChildren:[h]}},u)}function e(){this.buffer()}function r(){const u=this.resume(),h=this.stack[this.stack.length-1];h.type,h.meta=u}function n(){this.data.mathFlowInside||(this.buffer(),this.data.mathFlowInside=!0)}function i(u){const h=this.resume().replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),d=this.stack[this.stack.length-1];d.type,this.exit(u),d.value=h;const p=d.data.hChildren[0];p.type,p.tagName,p.children.push({type:"text",value:h}),this.data.mathFlowInside=void 0}function a(u){this.enter({type:"inlineMath",value:"",data:{hName:"code",hProperties:{className:["language-math","math-inline"]},hChildren:[]}},u),this.buffer()}function s(u){const h=this.resume(),d=this.stack[this.stack.length-1];d.type,this.exit(u),d.value=h,d.data.hChildren.push({type:"text",value:h})}function o(u){this.config.enter.data.call(this,u),this.config.exit.data.call(this,u)}}function Xh(t){const e=/(```[\s\S]+?```|~~~[\s\S]+?~~~)/g,r=t.split(e),n=/\\\((.*?)\\\)/g,i=/\\\[([\s\S]*?)\\\]/g;for(let a=0;a<r.length;a++)a%2===0&&(r[a]=r[a].replace(n,(s,o)=>`$${o}$`).replace(i,(s,o)=>`$$${o}$$`));return r.join("")}function ba(t,e,r,n){const i=Su(Xh(e),{extensions:[Cu(),Vu()],mdastExtensions:[Bu(),Vh(),...n]}),a={},s={};xo(i,a,s),va(i,t,a,s,r)}function xo(t,e,r){for(const n of t.children){switch(n.type){case"definition":const i=n.identifier;i&&(e[i]=n,r[i.toLowerCase()]=n);continue}n.children&&xo(n,e,r)}}function va(t,e,r,n,i){var s;let a=e.firstChild;for(const o of t.children){let u;switch(o.type){case"inlineMath":{if(!((a==null?void 0:a.nodeType)===Node.ELEMENT_NODE&&a.nodeName==="SPAN"&&Kn.has(a))){for(;a;){const d=a.nextSibling;a.remove(),a=d}a=document.createElement("span"),e.appendChild(a)}ko(a,o.value),a=a.nextSibling;continue}case"math":{if(!((a==null?void 0:a.nodeType)===Node.ELEMENT_NODE&&a.nodeName==="DIV"&&Kn.has(a))){for(;a;){const d=a.nextSibling;a.remove(),a=d}a=document.createElement("div"),e.appendChild(a)}ko(a,o.value),a=a.nextSibling;continue}case"code":{let d=So.get(a);if(d)d.updateCode(o.lang,o.value);else{for(;a;){const p=a.nextSibling;a.remove(),a=p}d=new H0(o.lang,o.value),a=d.node,So.set(a,d),e.appendChild(a)}a=a.nextSibling;continue}case"html":if(!((a==null?void 0:a.nodeType)===Node.ELEMENT_NODE&&a.nodeName==="SPAN")){for(;a;){const d=a.nextSibling;a.remove(),a=d}a=document.createElement("span"),e.appendChild(a)}a.innerHTML=o.value,a=a.nextSibling;continue;case"inlineCode":if(!((a==null?void 0:a.nodeType)===Node.ELEMENT_NODE&&a.nodeName==="CODE")){for(;a;){const d=a.nextSibling;a.remove(),a=d}a=document.createElement("code"),e.appendChild(a)}a.textContent=o.value,a=a.nextSibling;continue;case"text":if((a==null?void 0:a.nodeType)===Node.TEXT_NODE)a.nodeValue=o.value;else{for(;a;){const d=a.nextSibling;a.remove(),a=d}e.appendChild(a=document.createTextNode(o.value))}a=a.nextSibling;continue;case"yaml":continue;case"break":if(!((a==null?void 0:a.nodeType)===Node.ELEMENT_NODE&&a.nodeName==="BR")){for(;a;){const d=a.nextSibling;a.remove(),a=d}e.appendChild(a=document.createElement("br"))}a=a.nextSibling;continue;case"thematicBreak":if(!((a==null?void 0:a.nodeType)===Node.ELEMENT_NODE&&a.nodeName==="HR")){for(;a;){const d=a.nextSibling;a.remove(),a=d}a=document.createElement("hr"),e.appendChild(a)}a=a.nextSibling;continue;case"image":{if(!((a==null?void 0:a.nodeType)===Node.ELEMENT_NODE&&a.nodeName==="IMG")){for(;a;){const p=a.nextSibling;a.remove(),a=p}a=document.createElement("img"),e.appendChild(a)}const d=o.url;if(d)if(d.startsWith("python://")){let p=d.substring(9);try{a.src=qu(i,p)}catch(b){console.error(b),a.src=""}}else a.src=d;else a.src="";a.alt=o.alt||"",a.title=o.title||"",a=a.nextSibling;continue}case"linkReference":if(!((a==null?void 0:a.nodeType)===Node.ELEMENT_NODE&&a.nodeName==="A")){for(;a;){const d=a.nextSibling;a.remove(),a=d}a=document.createElement("a"),e.appendChild(a)}va(o,a,r,n,i);let h;switch(o.referenceType){case"shortcut":h=r[a.textContent.toLowerCase()];break;case"collapsed":h=n[a.textContent.toLowerCase()]||r[a.textContent.toLowerCase()];break;case"full":h=n[(s=o.identifier)==null?void 0:s.toLowerCase()];break}a.href=(h==null?void 0:h.url)||"",a.target="_blank",a.title=(h==null?void 0:h.title)||"",a=a.nextSibling;continue;case"definition":continue;case"footnoteDefinition":case"footnoteReference":case"imageReference":continue;case"blockquote":u="BLOCKQUOTE";break;case"delete":u="DEL";break;case"emphasis":u="EM";break;case"heading":u="H"+o.depth;break;case"link":u="A";break;case"list":u=o.ordered?"OL":"UL";break;case"listItem":u="LI";break;case"paragraph":u="P";break;case"strong":u="STRONG";break;case"table":u="TABLE";break;case"tableCell":u="TD";break;case"tableRow":u="TR";break;default:console.warn("Unknown MDAST node type: "+o.type);continue}if(!((a==null?void 0:a.nodeType)===Node.ELEMENT_NODE&&a.nodeName===u)){for(;a;){const h=a.nextSibling;a.remove(),a=h}a=document.createElement(u),e.appendChild(a)}u==="A"&&(a.href=o.url||"",a.target="_blank",a.title=o.title||""),va(o,a,r,n,i),a=a.nextSibling}for(;a;){const o=a.nextSibling;a.remove(),a=o}}let ya;function Kh(){return ya||(ya=Promise.resolve().then(()=>jh)),ya}async function ko(t,e){let r=Kn.get(t);r==null||r.cancel(),Kn.set(t,r=new Kt),(async()=>{const n=await Kh();r.isCancellationRequested||n.default.render(e,t,{throwOnError:!1})})()}const Kn=new WeakMap,So=new WeakMap;function Yh(t){const r=t.trim().replace(/[^\w\s]|_/g,"").replace(/\s+/g," ").toUpperCase().split(" ");if(r.length===1&&r[0]==="")return"?";let n=r[0][0];return r.length>1&&(n+=r[1][0]),n}function Zh({as:t="div",size:e="avatar-lg",id:r,...n},i){const a=_(t,{...n},i);return t==="button"&&!("type"in n)&&(a.type="button"),a.classList.add("avatar"),e&&a.classList.add(e),r&&a.classList.add(...Jh(r)),a}const zo=[["bg-Land-Green-95","text-Land-Green-30"],["bg-Sunflower-85","text-Sunflower-20"],["bg-Energy-Red-95","text-Energy-Red-45"],["bg-Sea-Blue-Main-28","text-Sky-Blue-95"],["bg-Lavender-90","text-Lavender-50"],["bg-Eucalyptus-85","text-Eucalyptus-20"],["bg-Terracotta-85","text-Terracotta-20"]];function Jh(t){const e=Qh(t);return zo[Math.floor(Math.abs(e%zo.length))]}function Qh(t){let e=0;for(let r=0;r<t.length;r++)e=t.charCodeAt(r)+((e<<5)-e);return e}var Rt=(t=>(t[t.Error=0]="Error",t[t.Danger=1]="Danger",t[t.Warning=2]="Warning",t[t.Info=3]="Info",t[t.Success=4]="Success",t))(Rt||{}),Jr=(t=>(t[t.Primary=0]="Primary",t[t.Secondary=1]="Secondary",t[t.Tertiary=2]="Tertiary",t[t.Destructive=3]="Destructive",t[t.CTA=4]="CTA",t))(Jr||{});function qe(t){return document.createElementNS("http://www.w3.org/2000/svg",t)}var Ct=(t=>(t.ExtraSmall="16",t.Small="20",t.Medium="24",t.Large="28",t.ExtraLarge="32",t.ExtraExtraLarge="40",t))(Ct||{});function Yn({size:t=Ct.Medium,...e}){const r=qe("svg");r.setAttribute("viewBox","0 0 448 512"),r.setAttribute("fill","currentColor"),r.setAttribute("width",t),r.setAttribute("height",t),Je(r,e);const n=qe("path");return n.setAttribute("d","M413.505 91.951L133.49 371.966l-98.995-98.995c-4.686-4.686-12.284-4.686-16.971 0L6.211 284.284c-4.686 4.686-4.686 12.284 0 16.971l118.794 118.794c4.686 4.686 12.284 4.686 16.971 0l299.813-299.813c4.686-4.686 4.686-12.284 0-16.971l-11.314-11.314c-4.686-4.686-12.284-4.686-16.97 0z"),r.appendChild(n),r.classList.add("icon"),r}function Eo({size:t=Ct.Medium,...e}){const r=qe("svg");r.setAttribute("viewBox","0 0 448 512"),r.setAttribute("fill","currentColor"),r.setAttribute("width",t),r.setAttribute("height",t),Je(r,e);const n=qe("path");return n.setAttribute("d","M256 8C119.033 8 8 119.033 8 256s111.033 248 248 248 248-111.033 248-248S392.967 8 256 8zm0 464c-118.664 0-216-96.055-216-216 0-118.663 96.055-216 216-216 118.664 0 216 96.055 216 216 0 118.663-96.055 216-216 216zm141.63-274.961L217.15 376.071c-4.705 4.667-12.303 4.637-16.97-.068l-85.878-86.572c-4.667-4.705-4.637-12.303.068-16.97l8.52-8.451c4.705-4.667 12.303-4.637 16.97.068l68.976 69.533 163.441-162.13c4.705-4.667 12.303-4.637 16.97.068l8.451 8.52c4.668 4.705 4.637 12.303-.068 16.97z"),r.appendChild(n),r}function wa({size:t=Ct.Medium,...e}){const r=qe("svg");r.setAttribute("viewBox","0 0 512 512"),r.setAttribute("fill","currentColor"),r.setAttribute("width",t),r.setAttribute("height",t),Je(r,e);const n=qe("path");return n.setAttribute("d","M256 40c118.621 0 216 96.075 216 216 0 119.291-96.61 216-216 216-119.244 0-216-96.562-216-216 0-119.203 96.602-216 216-216m0-32C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm-11.49 120h22.979c6.823 0 12.274 5.682 11.99 12.5l-7 168c-.268 6.428-5.556 11.5-11.99 11.5h-8.979c-6.433 0-11.722-5.073-11.99-11.5l-7-168c-.283-6.818 5.167-12.5 11.99-12.5zM256 340c-15.464 0-28 12.536-28 28s12.536 28 28 28 28-12.536 28-28-12.536-28-28-28z"),r.appendChild(n),r.classList.add("icon"),r}function Zn({size:t=Ct.Medium,...e}){const r=qe("svg");r.setAttribute("viewBox","0 0 576 512"),r.setAttribute("fill","currentColor"),r.setAttribute("width",t),r.setAttribute("height",t),Je(r,e);const n=qe("path");return n.setAttribute("d","M270.2 160h35.5c3.4 0 6.1 2.8 6 6.2l-7.5 196c-.1 3.2-2.8 5.8-6 5.8h-20.5c-3.2 0-5.9-2.5-6-5.8l-7.5-196c-.1-3.4 2.6-6.2 6-6.2zM288 388c-15.5 0-28 12.5-28 28s12.5 28 28 28 28-12.5 28-28-12.5-28-28-28zm281.5 52L329.6 24c-18.4-32-64.7-32-83.2 0L6.5 440c-18.4 31.9 4.6 72 41.6 72H528c36.8 0 60-40 41.5-72zM528 480H48c-12.3 0-20-13.3-13.9-24l240-416c6.1-10.6 21.6-10.7 27.7 0l240 416c6.2 10.6-1.5 24-13.8 24z"),r.appendChild(n),r.classList.add("icon"),r}function xa({size:t=Ct.Medium,...e}){const r=qe("svg");r.setAttribute("viewBox","0 0 512 512"),r.setAttribute("fill","currentColor"),r.setAttribute("width",t),r.setAttribute("height",t),Je(r,e);const n=qe("path");return n.setAttribute("d","M256 40c118.621 0 216 96.075 216 216 0 119.291-96.61 216-216 216-119.244 0-216-96.562-216-216 0-119.203 96.602-216 216-216m0-32C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm-36 344h12V232h-12c-6.627 0-12-5.373-12-12v-8c0-6.627 5.373-12 12-12h48c6.627 0 12 5.373 12 12v140h12c6.627 0 12 5.373 12 12v8c0 6.627-5.373 12-12 12h-72c-6.627 0-12-5.373-12-12v-8c0-6.627 5.373-12 12-12zm36-240c-17.673 0-32 14.327-32 32s14.327 32 32 32 32-14.327 32-32-14.327-32-32-32z"),r.appendChild(n),r.classList.add("icon"),r}var dn=(t=>(t.ExtraSmall="20",t.Small="24",t.Medium="32",t.Large="40",t.ExtraLarge="48",t.ExtraExtraLarge="60",t.ExtraExtraExtraLarge="80",t.ExtraExtraExtraExtraLarge="120",t))(dn||{});function Jn({size:t="80",...e}){const r=qe("svg");r.setAttribute("viewBox","0 0 80 80"),r.setAttribute("fill","none"),r.setAttribute("width",t),r.setAttribute("height",t),Je(r,e),r.setAttribute("class",(r.getAttribute("class")??"")+" animate-spin");const n=qe("path");n.setAttribute("d","M40 6.15385C21.3073 6.15385 6.15385 21.3073 6.15385 40C6.15385 58.6927 21.3073 73.8462 40 73.8462C58.6927 73.8462 73.8462 58.6927 73.8462 40C73.8462 21.3073 58.6927 6.15385 40 6.15385ZM0 40C0 17.9086 17.9086 0 40 0C62.0914 0 80 17.9086 80 40C80 62.0914 62.0914 80 40 80C17.9086 80 0 62.0914 0 40Z"),n.setAttribute("fill","#99BEFF"),r.appendChild(n);const i=qe("path");return i.setAttribute("d","M36.9229 3.07692C36.9229 1.37759 38.3004 0 39.9998 0C45.2526 0 50.4541 1.03463 55.3071 3.04482C60.1601 5.05501 64.5697 8.00138 68.284 11.7157C71.9984 15.4301 74.9448 19.8396 76.955 24.6927C78.9651 29.5457 79.9998 34.7471 79.9998 40C79.9998 41.6993 78.6222 43.0769 76.9228 43.0769C75.2235 43.0769 73.8459 41.6993 73.8459 40C73.8459 35.5553 72.9705 31.154 71.2695 27.0476C69.5686 22.9412 67.0755 19.2101 63.9326 16.0672C60.7897 12.9242 57.0585 10.4312 52.9521 8.73023C48.8457 7.0293 44.4445 6.15385 39.9998 6.15385C38.3004 6.15385 36.9229 4.77626 36.9229 3.07692Z"),i.setAttribute("fill","#003591"),r.appendChild(i),r}class Qn{}class ed extends Qn{constructor(r,n){super();P(this,"node");P(this,"buttons",{});P(this,"buttonsFieldset");this.context=r;let i;switch(n.type){case Rt.Error:i=_(wa,{class:"text-Energy-Red-45"});break;case Rt.Danger:i=_(Zn,{class:"text-Energy-Red-45"});break;case Rt.Warning:i=_(Zn,{class:"text-Terracotta-30"});break;case Rt.Info:i=_(xa,{class:"text-Sea-Blue-Main-28"});break;case Rt.Success:i=_(Eo,{class:"text-Land-Green-30"});break}i.classList.add("shrink-0");for(const s of n.buttons)this.buttons[s.value]=new td(this,s);let a;this.node=_("section",{class:"max-w-lg text-left my-2 bg-Sandstone-97 select-none border border-Light"},_("div",{class:"p-6 pb-3 flex gap-5"},i,_("div",null,_("h6",null,n.title),a=_("div",{class:"prose prose-sm prose-neutral"}))),this.buttonsFieldset=_("fieldset",{class:"p-6 pt-3 flex justify-end gap-3"},Object.values(this.buttons).map(s=>s.node))),ba(a,n.textInMarkdown,this.context.conversationMessage.chat.pyodide,this.context.conversationMessage.chat.mdastExtensions)}onClientResult(r){this.buttons[r].selected()}onOpcodeMessageToolCallErrorReceived(r){this.buttonsFieldset.disabled=!0;for(const n in this.buttons)this.buttons[n].possiblyRemoveSpinner()}onErrorWhileReadingBodyStream(r){this.buttonsFieldset.disabled=!0;for(const n in this.buttons)this.buttons[n].possiblyRemoveSpinner()}}class td{constructor(e,r){P(this,"node");P(this,"_spinner");this.dialog=e,this.buttonOption=r,this.node=_(tn,{class:rd(this.buttonOption.variant)+" min-w-24",size:$r.Medium,onclick:()=>this.onClickAsync()},this.buttonOption.text)}async onClickAsync(){this.dialog.buttonsFieldset.disabled=!0,this.node.insertBefore(this._spinner=_(Jn,{size:dn.ExtraSmall}),this.node.firstChild);try{await this.dialog.context.postResultAsync(this.buttonOption.value)}catch(e){throw e}}selected(){this.possiblyRemoveSpinner(),this.node.insertBefore(_(Yn,{size:Ct.Small}),this.node.firstChild)}possiblyRemoveSpinner(){var e;(e=this._spinner)==null||e.remove()}}function rd(t){switch(t){case Jr.Primary:return Ft.Primary;case Jr.Secondary:return Ft.Secondary;case Jr.Tertiary:return Ft.Tertiary;case Jr.Destructive:return Ft.Destructive;case Jr.CTA:return Ft.CTA}}class nd{constructor(){P(this,"_dataByIndex",{})}append(e){const r=this._dataByIndex[e.toolCallUpdateIndex];return r?(e.llmFunctionId&&(r.llmFunctionId=e.llmFunctionId),e.toolCallUpdateName&&(r.functionName=e.toolCallUpdateName),e.toolCallUpdateArguments&&(r.functionArguments+=e.toolCallUpdateArguments),r):this._dataByIndex[e.toolCallUpdateIndex]=new To(e.llmFunctionId,e.toolCallUpdateName,e.toolCallUpdateArguments??"")}clear(){this._dataByIndex={}}}class To{constructor(e,r,n){this.llmFunctionId=e,this.functionName=r,this.functionArguments=n}}function id(t){const e=[];let r=0;for(;r<t.length;)if(t[r]==="\\"&&r+1<t.length){switch(t[r+1]){case"n":e.push(`
|
|
266
|
+
please report what input caused this bug`);return n=n.slice(1,-1),{type:"verb",mode:"text",body:n,star:i}}vo.hasOwnProperty(r[0])&&!Ie[this.mode][r[0]]&&(this.settings.strict&&this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Accented Unicode text character "'+r[0]+'" used in math mode',e),r=vo[r[0]]+r.slice(1));var a=Dh.exec(r);a&&(r=r.substring(0,a.index),r==="i"?r="ı":r==="j"&&(r="ȷ"));var s;if(Ie[this.mode][r]){this.settings.strict&&this.mode==="math"&&Pi.indexOf(r)>=0&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+r[0]+'" used in math mode',e);var o=Ie[this.mode][r].group,u=bt.range(e),h;if(Cc.hasOwnProperty(o)){var d=o;h={type:"atom",mode:this.mode,family:d,loc:u,text:r}}else h={type:o,mode:this.mode,loc:u,text:r};s=h}else if(r.charCodeAt(0)>=128)this.settings.strict&&(j0(r.charCodeAt(0))?this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+r[0]+'" used in math mode',e):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+r[0]+'"'+(" ("+r.charCodeAt(0)+")"),e)),s={type:"textord",mode:"text",loc:bt.range(e),text:r};else return null;if(this.consume(),a)for(var p=0;p<a[0].length;p++){var b=a[0][p];if(!pa[b])throw new F("Unknown accent ' "+b+"'",e);var f=pa[b][this.mode]||pa[b].text;if(!f)throw new F("Accent "+b+" unsupported in "+this.mode+" mode",e);s={type:"accent",mode:this.mode,loc:bt.range(e),label:f,isStretchy:!1,isShifty:!0,base:s}}return s}}Xn.endOfExpression=["}","\\endgroup","\\end","\\right","&"];var fa=function(e,r){if(!(typeof e=="string"||e instanceof String))throw new TypeError("KaTeX can only parse string typed expression");var n=new Xn(e,r);delete n.gullet.macros.current["\\df@tag"];var i=n.parse();if(delete n.gullet.macros.current["\\current@color"],delete n.gullet.macros.current["\\color"],n.gullet.macros.get("\\df@tag")){if(!r.displayMode)throw new F("\\tag works only in display equations");i=[{type:"tag",mode:"text",body:i,tag:n.subparse([new zt("\\df@tag")])}]}return i},yo=function(e,r,n){r.textContent="";var i=ga(e,n).toNode();r.appendChild(i)};typeof document<"u"&&document.compatMode!=="CSS1Compat"&&(typeof console<"u"&&console.warn("Warning: KaTeX doesn't work in quirks mode. Make sure your website has a suitable doctype."),yo=function(){throw new F("KaTeX doesn't work in quirks mode.")});var Hh=function(e,r){var n=ga(e,r).toMarkup();return n},Gh=function(e,r){var n=new Mi(r);return fa(e,n)},wo=function(e,r,n){if(n.throwOnError||!(e instanceof F))throw e;var i=T.makeSpan(["katex-error"],[new Tt(r)]);return i.setAttribute("title",e.toString()),i.setAttribute("style","color:"+n.errorColor),i},ga=function(e,r){var n=new Mi(r);try{var i=fa(e,n);return Jc(i,e,n)}catch(a){return wo(a,e,n)}},$h=function(e,r){var n=new Mi(r);try{var i=fa(e,n);return Qc(i,e,n)}catch(a){return wo(a,e,n)}},Wh={version:"0.16.15",render:yo,renderToString:Hh,ParseError:F,SETTINGS_SCHEMA:Tn,__parse:Gh,__renderToDomTree:ga,__renderToHTMLTree:$h,__setFontMetrics:kc,__defineSymbol:l,__defineFunction:K,__defineMacro:g,__domTree:{Span:sn,Anchor:Ii,SymbolNode:Tt,SvgNode:Qt,PathNode:fr,LineNode:Oi}};const jh=Object.freeze(Object.defineProperty({__proto__:null,default:Wh},Symbol.toStringTag,{value:"Module"}));function Vh(){return{enter:{mathFlow:t,mathFlowFenceMeta:e,mathText:a},exit:{mathFlow:i,mathFlowFence:n,mathFlowFenceMeta:r,mathFlowValue:o,mathText:s,mathTextData:o}};function t(u){const h={type:"element",tagName:"code",properties:{className:["language-math","math-display"]},children:[]};this.enter({type:"math",meta:null,value:"",data:{hName:"pre",hChildren:[h]}},u)}function e(){this.buffer()}function r(){const u=this.resume(),h=this.stack[this.stack.length-1];h.type,h.meta=u}function n(){this.data.mathFlowInside||(this.buffer(),this.data.mathFlowInside=!0)}function i(u){const h=this.resume().replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),d=this.stack[this.stack.length-1];d.type,this.exit(u),d.value=h;const p=d.data.hChildren[0];p.type,p.tagName,p.children.push({type:"text",value:h}),this.data.mathFlowInside=void 0}function a(u){this.enter({type:"inlineMath",value:"",data:{hName:"code",hProperties:{className:["language-math","math-inline"]},hChildren:[]}},u),this.buffer()}function s(u){const h=this.resume(),d=this.stack[this.stack.length-1];d.type,this.exit(u),d.value=h,d.data.hChildren.push({type:"text",value:h})}function o(u){this.config.enter.data.call(this,u),this.config.exit.data.call(this,u)}}function Xh(t){const e=/(```[\s\S]+?```|~~~[\s\S]+?~~~)/g,r=t.split(e),n=/\\\((.*?)\\\)/g,i=/\\\[([\s\S]*?)\\\]/g;for(let a=0;a<r.length;a++)a%2===0&&(r[a]=r[a].replace(n,(s,o)=>`$${o}$`).replace(i,(s,o)=>`$$${o}$$`));return r.join("")}function ba(t,e,r,n){const i=Su(Xh(e),{extensions:[Cu(),Vu()],mdastExtensions:[Bu(),Vh(),...n]}),a={},s={};xo(i,a,s),va(i,t,a,s,r)}function xo(t,e,r){for(const n of t.children){switch(n.type){case"definition":const i=n.identifier;i&&(e[i]=n,r[i.toLowerCase()]=n);continue}n.children&&xo(n,e,r)}}function va(t,e,r,n,i){var s;let a=e.firstChild;for(const o of t.children){let u;switch(o.type){case"inlineMath":{if(!((a==null?void 0:a.nodeType)===Node.ELEMENT_NODE&&a.nodeName==="SPAN"&&Kn.has(a))){for(;a;){const d=a.nextSibling;a.remove(),a=d}a=document.createElement("span"),e.appendChild(a)}ko(a,o.value),a=a.nextSibling;continue}case"math":{if(!((a==null?void 0:a.nodeType)===Node.ELEMENT_NODE&&a.nodeName==="DIV"&&Kn.has(a))){for(;a;){const d=a.nextSibling;a.remove(),a=d}a=document.createElement("div"),e.appendChild(a)}ko(a,o.value),a=a.nextSibling;continue}case"code":{let d=So.get(a);if(d)d.updateCode(o.lang,o.value);else{for(;a;){const p=a.nextSibling;a.remove(),a=p}d=new H0(o.lang,o.value),a=d.node,So.set(a,d),e.appendChild(a)}a=a.nextSibling;continue}case"html":if(!((a==null?void 0:a.nodeType)===Node.ELEMENT_NODE&&a.nodeName==="SPAN")){for(;a;){const d=a.nextSibling;a.remove(),a=d}a=document.createElement("span"),e.appendChild(a)}a.innerHTML=o.value,a=a.nextSibling;continue;case"inlineCode":if(!((a==null?void 0:a.nodeType)===Node.ELEMENT_NODE&&a.nodeName==="CODE")){for(;a;){const d=a.nextSibling;a.remove(),a=d}a=document.createElement("code"),e.appendChild(a)}a.textContent=o.value,a=a.nextSibling;continue;case"text":if((a==null?void 0:a.nodeType)===Node.TEXT_NODE)a.nodeValue=o.value;else{for(;a;){const d=a.nextSibling;a.remove(),a=d}e.appendChild(a=document.createTextNode(o.value))}a=a.nextSibling;continue;case"yaml":continue;case"break":if(!((a==null?void 0:a.nodeType)===Node.ELEMENT_NODE&&a.nodeName==="BR")){for(;a;){const d=a.nextSibling;a.remove(),a=d}e.appendChild(a=document.createElement("br"))}a=a.nextSibling;continue;case"thematicBreak":if(!((a==null?void 0:a.nodeType)===Node.ELEMENT_NODE&&a.nodeName==="HR")){for(;a;){const d=a.nextSibling;a.remove(),a=d}a=document.createElement("hr"),e.appendChild(a)}a=a.nextSibling;continue;case"image":{if(!((a==null?void 0:a.nodeType)===Node.ELEMENT_NODE&&a.nodeName==="IMG")){for(;a;){const p=a.nextSibling;a.remove(),a=p}a=document.createElement("img"),e.appendChild(a)}const d=o.url;if(d)if(d.startsWith("python://")){let p=d.substring(9);try{a.src=qu(i,p)}catch(b){console.error(b),a.src=""}}else a.src=d;else a.src="";a.alt=o.alt||"",a.title=o.title||"",a=a.nextSibling;continue}case"linkReference":if(!((a==null?void 0:a.nodeType)===Node.ELEMENT_NODE&&a.nodeName==="A")){for(;a;){const d=a.nextSibling;a.remove(),a=d}a=document.createElement("a"),e.appendChild(a)}va(o,a,r,n,i);let h;switch(o.referenceType){case"shortcut":h=r[a.textContent.toLowerCase()];break;case"collapsed":h=n[a.textContent.toLowerCase()]||r[a.textContent.toLowerCase()];break;case"full":h=n[(s=o.identifier)==null?void 0:s.toLowerCase()];break}a.href=(h==null?void 0:h.url)||"",a.target="_blank",a.title=(h==null?void 0:h.title)||"",a=a.nextSibling;continue;case"definition":continue;case"footnoteDefinition":case"footnoteReference":case"imageReference":continue;case"blockquote":u="BLOCKQUOTE";break;case"delete":u="DEL";break;case"emphasis":u="EM";break;case"heading":u="H"+o.depth;break;case"link":u="A";break;case"list":u=o.ordered?"OL":"UL";break;case"listItem":u="LI";break;case"paragraph":u="P";break;case"strong":u="STRONG";break;case"table":u="TABLE";break;case"tableCell":u="TD";break;case"tableRow":u="TR";break;default:console.warn("Unknown MDAST node type: "+o.type);continue}if(!((a==null?void 0:a.nodeType)===Node.ELEMENT_NODE&&a.nodeName===u)){for(;a;){const h=a.nextSibling;a.remove(),a=h}a=document.createElement(u),e.appendChild(a)}u==="A"&&(a.href=o.url||"",a.target="_blank",a.title=o.title||""),va(o,a,r,n,i),a=a.nextSibling}for(;a;){const o=a.nextSibling;a.remove(),a=o}}let ya;function Kh(){return ya||(ya=Promise.resolve().then(()=>jh)),ya}async function ko(t,e){let r=Kn.get(t);r==null||r.cancel(),Kn.set(t,r=new Kt),(async()=>{const n=await Kh();r.isCancellationRequested||n.default.render(e,t,{throwOnError:!1})})()}const Kn=new WeakMap,So=new WeakMap;function Yh(t){const r=t.trim().replace(/[^\w\s]|_/g,"").replace(/\s+/g," ").toUpperCase().split(" ");if(r.length===1&&r[0]==="")return"?";let n=r[0][0];return r.length>1&&(n+=r[1][0]),n}function Zh({as:t="div",size:e="avatar-lg",id:r,...n},i){const a=_(t,{...n},i);return t==="button"&&!("type"in n)&&(a.type="button"),a.classList.add("avatar"),e&&a.classList.add(e),r&&a.classList.add(...Jh(r)),a}const zo=[["bg-Land-Green-95","text-Land-Green-30"],["bg-Sunflower-85","text-Sunflower-20"],["bg-Energy-Red-95","text-Energy-Red-45"],["bg-Sea-Blue-Main-28","text-Sky-Blue-95"],["bg-Lavender-90","text-Lavender-50"],["bg-Eucalyptus-85","text-Eucalyptus-20"],["bg-Terracotta-85","text-Terracotta-20"]];function Jh(t){const e=Qh(t);return zo[Math.floor(Math.abs(e%zo.length))]}function Qh(t){let e=0;for(let r=0;r<t.length;r++)e=t.charCodeAt(r)+((e<<5)-e);return e}var Rt=(t=>(t[t.Error=0]="Error",t[t.Danger=1]="Danger",t[t.Warning=2]="Warning",t[t.Info=3]="Info",t[t.Success=4]="Success",t))(Rt||{}),Jr=(t=>(t[t.Primary=0]="Primary",t[t.Secondary=1]="Secondary",t[t.Tertiary=2]="Tertiary",t[t.Destructive=3]="Destructive",t[t.CTA=4]="CTA",t))(Jr||{});function qe(t){return document.createElementNS("http://www.w3.org/2000/svg",t)}var Ct=(t=>(t.ExtraSmall="16",t.Small="20",t.Medium="24",t.Large="28",t.ExtraLarge="32",t.ExtraExtraLarge="40",t))(Ct||{});function Yn({size:t=Ct.Medium,...e}){const r=qe("svg");r.setAttribute("viewBox","0 0 448 512"),r.setAttribute("fill","currentColor"),r.setAttribute("width",t),r.setAttribute("height",t),Je(r,e);const n=qe("path");return n.setAttribute("d","M413.505 91.951L133.49 371.966l-98.995-98.995c-4.686-4.686-12.284-4.686-16.971 0L6.211 284.284c-4.686 4.686-4.686 12.284 0 16.971l118.794 118.794c4.686 4.686 12.284 4.686 16.971 0l299.813-299.813c4.686-4.686 4.686-12.284 0-16.971l-11.314-11.314c-4.686-4.686-12.284-4.686-16.97 0z"),r.appendChild(n),r.classList.add("icon"),r}function Eo({size:t=Ct.Medium,...e}){const r=qe("svg");r.setAttribute("viewBox","0 0 448 512"),r.setAttribute("fill","currentColor"),r.setAttribute("width",t),r.setAttribute("height",t),Je(r,e);const n=qe("path");return n.setAttribute("d","M256 8C119.033 8 8 119.033 8 256s111.033 248 248 248 248-111.033 248-248S392.967 8 256 8zm0 464c-118.664 0-216-96.055-216-216 0-118.663 96.055-216 216-216 118.664 0 216 96.055 216 216 0 118.663-96.055 216-216 216zm141.63-274.961L217.15 376.071c-4.705 4.667-12.303 4.637-16.97-.068l-85.878-86.572c-4.667-4.705-4.637-12.303.068-16.97l8.52-8.451c4.705-4.667 12.303-4.637 16.97.068l68.976 69.533 163.441-162.13c4.705-4.667 12.303-4.637 16.97.068l8.451 8.52c4.668 4.705 4.637 12.303-.068 16.97z"),r.appendChild(n),r}function wa({size:t=Ct.Medium,...e}){const r=qe("svg");r.setAttribute("viewBox","0 0 512 512"),r.setAttribute("fill","currentColor"),r.setAttribute("width",t),r.setAttribute("height",t),Je(r,e);const n=qe("path");return n.setAttribute("d","M256 40c118.621 0 216 96.075 216 216 0 119.291-96.61 216-216 216-119.244 0-216-96.562-216-216 0-119.203 96.602-216 216-216m0-32C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm-11.49 120h22.979c6.823 0 12.274 5.682 11.99 12.5l-7 168c-.268 6.428-5.556 11.5-11.99 11.5h-8.979c-6.433 0-11.722-5.073-11.99-11.5l-7-168c-.283-6.818 5.167-12.5 11.99-12.5zM256 340c-15.464 0-28 12.536-28 28s12.536 28 28 28 28-12.536 28-28-12.536-28-28-28z"),r.appendChild(n),r.classList.add("icon"),r}function Zn({size:t=Ct.Medium,...e}){const r=qe("svg");r.setAttribute("viewBox","0 0 576 512"),r.setAttribute("fill","currentColor"),r.setAttribute("width",t),r.setAttribute("height",t),Je(r,e);const n=qe("path");return n.setAttribute("d","M270.2 160h35.5c3.4 0 6.1 2.8 6 6.2l-7.5 196c-.1 3.2-2.8 5.8-6 5.8h-20.5c-3.2 0-5.9-2.5-6-5.8l-7.5-196c-.1-3.4 2.6-6.2 6-6.2zM288 388c-15.5 0-28 12.5-28 28s12.5 28 28 28 28-12.5 28-28-12.5-28-28-28zm281.5 52L329.6 24c-18.4-32-64.7-32-83.2 0L6.5 440c-18.4 31.9 4.6 72 41.6 72H528c36.8 0 60-40 41.5-72zM528 480H48c-12.3 0-20-13.3-13.9-24l240-416c6.1-10.6 21.6-10.7 27.7 0l240 416c6.2 10.6-1.5 24-13.8 24z"),r.appendChild(n),r.classList.add("icon"),r}function xa({size:t=Ct.Medium,...e}){const r=qe("svg");r.setAttribute("viewBox","0 0 512 512"),r.setAttribute("fill","currentColor"),r.setAttribute("width",t),r.setAttribute("height",t),Je(r,e);const n=qe("path");return n.setAttribute("d","M256 40c118.621 0 216 96.075 216 216 0 119.291-96.61 216-216 216-119.244 0-216-96.562-216-216 0-119.203 96.602-216 216-216m0-32C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm-36 344h12V232h-12c-6.627 0-12-5.373-12-12v-8c0-6.627 5.373-12 12-12h48c6.627 0 12 5.373 12 12v140h12c6.627 0 12 5.373 12 12v8c0 6.627-5.373 12-12 12h-72c-6.627 0-12-5.373-12-12v-8c0-6.627 5.373-12 12-12zm36-240c-17.673 0-32 14.327-32 32s14.327 32 32 32 32-14.327 32-32-14.327-32-32-32z"),r.appendChild(n),r.classList.add("icon"),r}var dn=(t=>(t.ExtraSmall="20",t.Small="24",t.Medium="32",t.Large="40",t.ExtraLarge="48",t.ExtraExtraLarge="60",t.ExtraExtraExtraLarge="80",t.ExtraExtraExtraExtraLarge="120",t))(dn||{});function Jn({size:t="80",...e}){const r=qe("svg");r.setAttribute("viewBox","0 0 80 80"),r.setAttribute("fill","none"),r.setAttribute("width",t),r.setAttribute("height",t),Je(r,e),r.setAttribute("class",(r.getAttribute("class")??"")+" animate-spin");const n=qe("path");n.setAttribute("d","M40 6.15385C21.3073 6.15385 6.15385 21.3073 6.15385 40C6.15385 58.6927 21.3073 73.8462 40 73.8462C58.6927 73.8462 73.8462 58.6927 73.8462 40C73.8462 21.3073 58.6927 6.15385 40 6.15385ZM0 40C0 17.9086 17.9086 0 40 0C62.0914 0 80 17.9086 80 40C80 62.0914 62.0914 80 40 80C17.9086 80 0 62.0914 0 40Z"),n.setAttribute("fill","#99BEFF"),r.appendChild(n);const i=qe("path");return i.setAttribute("d","M36.9229 3.07692C36.9229 1.37759 38.3004 0 39.9998 0C45.2526 0 50.4541 1.03463 55.3071 3.04482C60.1601 5.05501 64.5697 8.00138 68.284 11.7157C71.9984 15.4301 74.9448 19.8396 76.955 24.6927C78.9651 29.5457 79.9998 34.7471 79.9998 40C79.9998 41.6993 78.6222 43.0769 76.9228 43.0769C75.2235 43.0769 73.8459 41.6993 73.8459 40C73.8459 35.5553 72.9705 31.154 71.2695 27.0476C69.5686 22.9412 67.0755 19.2101 63.9326 16.0672C60.7897 12.9242 57.0585 10.4312 52.9521 8.73023C48.8457 7.0293 44.4445 6.15385 39.9998 6.15385C38.3004 6.15385 36.9229 4.77626 36.9229 3.07692Z"),i.setAttribute("fill","#003591"),r.appendChild(i),r}class Qn{}class ed extends Qn{constructor(r,n){super();P(this,"node");P(this,"buttons",{});P(this,"buttonsFieldset");this.context=r;let i;switch(n.type){case Rt.Error:i=_(wa,{class:"text-Energy-Red-45"});break;case Rt.Danger:i=_(Zn,{class:"text-Energy-Red-45"});break;case Rt.Warning:i=_(Zn,{class:"text-Terracotta-30"});break;case Rt.Info:i=_(xa,{class:"text-Sea-Blue-Main-28"});break;case Rt.Success:i=_(Eo,{class:"text-Land-Green-30"});break}i.classList.add("shrink-0");for(const s of n.buttons)this.buttons[s.value]=new td(this,s);let a;this.node=_("section",{class:"max-w-lg text-left my-2 bg-Sandstone-97 select-none border border-Light"},_("div",{class:"p-6 pb-3 flex gap-5"},i,_("div",null,_("h6",null,n.title),a=_("div",{class:"prose prose-sm prose-neutral"}))),this.buttonsFieldset=_("fieldset",{class:"p-6 pt-3 flex justify-end gap-3"},Object.values(this.buttons).map(s=>s.node))),ba(a,n.textInMarkdown,this.context.conversationMessage.chat.pyodide,this.context.conversationMessage.chat.mdastExtensions)}onClientResult(r){this.buttons[r].selected(),this.buttonsFieldset.disabled=!0}onOpcodeMessageToolCallErrorReceived(r){this.buttonsFieldset.disabled=!0;for(const n in this.buttons)this.buttons[n].possiblyRemoveSpinner()}onErrorWhileReadingBodyStream(r){this.buttonsFieldset.disabled=!0;for(const n in this.buttons)this.buttons[n].possiblyRemoveSpinner()}}class td{constructor(e,r){P(this,"node");P(this,"_spinner");this.dialog=e,this.buttonOption=r,this.node=_(tn,{class:rd(this.buttonOption.variant)+" min-w-24",size:$r.Medium,onclick:()=>this.onClickAsync()},this.buttonOption.text)}async onClickAsync(){this.dialog.buttonsFieldset.disabled=!0,this.node.insertBefore(this._spinner=_(Jn,{size:dn.ExtraSmall}),this.node.firstChild);try{await this.dialog.context.postResultAsync(this.buttonOption.value)}catch(e){throw e}}selected(){this.possiblyRemoveSpinner(),this.node.insertBefore(_(Yn,{size:Ct.Small}),this.node.firstChild)}possiblyRemoveSpinner(){var e;(e=this._spinner)==null||e.remove()}}function rd(t){switch(t){case Jr.Primary:return Ft.Primary;case Jr.Secondary:return Ft.Secondary;case Jr.Tertiary:return Ft.Tertiary;case Jr.Destructive:return Ft.Destructive;case Jr.CTA:return Ft.CTA}}class nd{constructor(){P(this,"_dataByIndex",{})}append(e){const r=this._dataByIndex[e.toolCallUpdateIndex];return r?(e.llmFunctionId&&(r.llmFunctionId=e.llmFunctionId),e.toolCallUpdateName&&(r.functionName=e.toolCallUpdateName),e.toolCallUpdateArguments&&(r.functionArguments+=e.toolCallUpdateArguments),r):this._dataByIndex[e.toolCallUpdateIndex]=new To(e.llmFunctionId,e.toolCallUpdateName,e.toolCallUpdateArguments??"")}clear(){this._dataByIndex={}}}class To{constructor(e,r,n){this.llmFunctionId=e,this.functionName=r,this.functionArguments=n}}function id(t){const e=[];let r=0;for(;r<t.length;)if(t[r]==="\\"&&r+1<t.length){switch(t[r+1]){case"n":e.push(`
|
|
267
267
|
`);break;case"t":e.push(" ");break;case"r":e.push("\r");break;case"\\":e.push("\\");break;case"'":e.push("'");break;case'"':e.push('"');break;case"b":e.push("\b");break;case"f":e.push("\f");break;case"v":e.push("\v");break;case"a":e.push("a");break;case"0":e.push("\0");break;case"u":r+5<t.length&&(e.push(String.fromCharCode(parseInt(t.substring(r+2,r+6),16))),r+=4);break;case"U":r+9<t.length&&(e.push(String.fromCodePoint(parseInt(t.substring(r+2,r+10),16))),r+=8);break;default:e.push(t[r+1]);break}r+=2}else e.push(t[r]),r++;return e.join("")}function ad(t){const e=[...sd(t)];if(e.length){const n=e[e.length-1];n===","?e.pop():n===":"&&e.push("undefined")}const r=[];for(const n of e)if(n==="{"||n==="[")r.push(n);else if(n==="}")if(r.length&&r[r.length-1]==="{")r.pop();else throw new Error("Invalid JSON");else if(n==="]")if(r.length&&r[r.length-1]==="[")r.pop();else throw new Error("Invalid JSON");for(;r.length;)r.pop()==="{"?e.push("}"):e.push("]");return JSON.parse(e.join(""))}function*sd(t){for(let e=0;e<t.length;++e){let r=t[e];switch(r){case" ":case" ":case`
|
|
268
268
|
`:case"\r":break;case",":case":":case"{":case"}":case"[":case"]":yield r;break;case'"':let n=e++;for(;;++e)if(e<t.length){if(r=t[e],r==='"'){yield t.substring(n,e+1);break}if(r==="\\")if(e+1<t.length)if(t[e+1]==="u")if(e+5<t.length)e+=5;else{yield t.substring(n,e)+'"';return}else++e;else{yield t.substring(n,e)+'"';return}}else{yield t.substring(n,e)+'"';return}break;default:yield r;break}}}function Ao({size:t=Ct.Medium,...e}){const r=qe("svg");r.setAttribute("viewBox","0 0 256 512"),r.setAttribute("fill","currentColor"),r.setAttribute("width",t),r.setAttribute("height",t),Je(r,e);const n=qe("path");return n.setAttribute("d","M119.5 326.9L3.5 209.1c-4.7-4.7-4.7-12.3 0-17l7.1-7.1c4.7-4.7 12.3-4.7 17 0L128 287.3l100.4-102.2c4.7-4.7 12.3-4.7 17 0l7.1 7.1c4.7 4.7 4.7 12.3 0 17L136.5 327c-4.7 4.6-12.3 4.6-17-.1z"),r.appendChild(n),r.classList.add("icon"),r}function ka({size:t=Ct.Medium,...e}){const r=qe("svg");r.setAttribute("viewBox","0 0 320 512"),r.setAttribute("fill","currentColor"),r.setAttribute("width",t),r.setAttribute("height",t),Je(r,e);const n=qe("path");return n.setAttribute("d","M193.94 256L296.5 153.44l21.15-21.15c3.12-3.12 3.12-8.19 0-11.31l-22.63-22.63c-3.12-3.12-8.19-3.12-11.31 0L160 222.06 36.29 98.34c-3.12-3.12-8.19-3.12-11.31 0L2.34 120.97c-3.12 3.12-3.12 8.19 0 11.31L126.06 256 2.34 379.71c-3.12 3.12-3.12 8.19 0 11.31l22.63 22.63c3.12 3.12 8.19 3.12 11.31 0L160 289.94 262.56 392.5l21.15 21.15c3.12 3.12 8.19 3.12 11.31 0l22.63-22.63c3.12-3.12 3.12-8.19 0-11.31L193.94 256z"),r.appendChild(n),r.classList.add("icon"),r}class Mo{constructor(e,r){P(this,"node");P(this,"_buttonNode");P(this,"_buttonIconWrapperNode");P(this,"_expanded",!1);P(this,"_expandedCt");P(this,"_contentWrapperNode");P(this,"_contentNode");P(this,"_highlightCode");P(this,"_stdoutStderrNode");P(this,"_stdoutNode");P(this,"_stderrNode");P(this,"_resultNode");P(this,"_resultRawNode");P(this,"_errorNode");P(this,"_ignoreSetResult");this.context=e,this.context.conversationMessage.chat.lazyInitializePyodideAsync(),this._highlightCode=new H0("python",r instanceof To?Co(r.functionArguments):r),this._highlightCode.node.classList.add("p-3","bg-Sandstone-97","text-Black","overflow-x-auto"),this.node=_("div",{class:"my-2"},this._buttonNode=_(tn,{class:"p-2 gap-2 group",variant:Ft.Badge,size:$r.Medium,onclick:()=>this.expanded=!this.expanded},this._buttonIconWrapperNode=_("div",{width:"24px",height:"24px"},_(Jn,{size:dn.Small})),"Generate and run Python code",_(Ao,{class:"transition-all duration-300 group-data-[expanded=true]:-rotate-180"})),this._contentWrapperNode=_("div",{class:"grid",gridTemplateRows:this._expanded?"1fr":"0fr",opacity:this._expanded?"1":"0","aria-expanded":this._expanded},_("div",{class:"overflow-hidden"},this._contentNode=_("section",{class:"mt-2 border border-Light flex flex-col text-sm"},this._highlightCode.node))))}get expanded(){return this._expanded}set expanded(e){var r;if(e!==this._expanded){(r=this._expandedCt)==null||r.cancel();const n=this._expandedCt=new Kt;this._buttonNode.setAttribute("data-expanded",String(this._expanded=e)),e?(async()=>{try{await cr(this._contentWrapperNode,[{gridTemplateRows:"1fr"}],{duration:300,easing:"ease-in-out",fill:"forwards"},this._expandedCt),await cr(this._contentWrapperNode,[{opacity:"1"}],{duration:300,easing:"ease-in-out",fill:"forwards"},this._expandedCt)}catch(i){if(!n.isCancellationRequested)throw i}})():(async()=>{try{await cr(this._contentWrapperNode,[{opacity:"0"}],{duration:300,easing:"ease-in-out",fill:"forwards"},this._expandedCt),await cr(this._contentWrapperNode,[{gridTemplateRows:"0fr"}],{duration:300,easing:"ease-in-out",fill:"forwards"},this._expandedCt)}catch(i){if(!n.isCancellationRequested)throw i}})()}}setButtonSuccess(){this._buttonNode.setAttribute("data-status","success"),this._buttonIconWrapperNode.replaceChild(_(Yn,null),this._buttonIconWrapperNode.firstChild)}setButtonError(){this._buttonNode.setAttribute("data-status","error"),this._buttonIconWrapperNode.replaceChild(_(ka,null),this._buttonIconWrapperNode.firstChild)}getOrAddStdoutStderrNode(){return this._stdoutStderrNode?this._stdoutStderrNode:(this._stdoutStderrNode=_("section",{class:"border-t border-t-Light p-3 bg-Black text-White text-sm"},_("h1",{class:"mb-2"},"STDOUT / STDERR")),this._contentNode.insertBefore(this._stdoutStderrNode,this._highlightCode.node.nextSibling),this._stdoutStderrNode)}getOrAddStdoutNode(){return this._stdoutNode?this._stdoutNode:(this._stderrNode=null,this._stdoutNode=_("pre",null),this.getOrAddStdoutStderrNode().appendChild(this._stdoutNode),this._stdoutNode)}getOrAddStderrNode(){return this._stderrNode?this._stderrNode:(this._stdoutNode=null,this._stderrNode=_("pre",{class:"text-Energy-Red-45"}),this.getOrAddStdoutStderrNode().appendChild(this._stderrNode),this._stderrNode)}getOrAddErrorNode(){return this._errorNode?this._errorNode:(this._errorNode=_("pre",{class:"border-t border-t-Light border-l-4 border-Energy-Red-45 p-3 text-sm"}),this._contentNode.appendChild(this._errorNode),this._errorNode)}getOrAddResultRawNode(){return this._resultRawNode?this._resultRawNode:(this._resultNode=_("section",{class:"border-t border-t-Light p-3 bg-Black text-White text-sm"},_("h1",{class:"mb-2"},"RESULT"),this._resultRawNode=_("pre",null)),this._contentNode.appendChild(this._resultNode),this._resultRawNode)}onClientResult(e){if(!this._ignoreSetResult){if(e.stdoutAndStderr)for(const r of e.stdoutAndStderr)r.isStderr?this.getOrAddStderrNode().textContent+=r.text:this.getOrAddStdoutNode().textContent+=r.text;e.terminatedWithError?(this.setButtonError(),e.error&&(this.getOrAddErrorNode().textContent=e.error)):e.result&&(this.setButtonSuccess(),this.getOrAddResultRawNode().textContent=e.result)}}onOpcodeMessageToolCallErrorReceived(e){this.setButtonError()}onErrorWhileReadingBodyStream(e){this.setButtonError()}async run(e){this._ignoreSetResult=!0;const r=this.context.conversationMessage.chat,n=[];try{await r.lazyInitializePyodideAsync(),r.pyodide.setStdout({batched:s=>{const o=s.split(`
|
|
269
269
|
`);if(n.length){const u=n[n.length-1];u.isStderr?n.push(...o.map(h=>({isStderr:!1,text:h}))):(u.text+=o.shift(),n.push(...o.map(h=>({isStderr:!1,text:h}))))}else n.push(...o.map(u=>({isStderr:!1,text:u})));this.getOrAddStdoutNode().textContent+=s}}),r.pyodide.setStderr({batched:s=>{const o=s.split(`
|