@veracity/ai 2.4.5 → 2.4.6
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.
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 s4=Object.defineProperty;var o4=(kt,_,Je)=>_ in kt?s4(kt,_,{enumerable:!0,configurable:!0,writable:!0,value:Je}):kt[_]=Je;var P=(kt,_,Je)=>o4(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(`
|
|
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 s4=Object.defineProperty;var o4=(kt,_,Je)=>_ in kt?s4(kt,_,{enumerable:!0,configurable:!0,writable:!0,value:Je}):kt[_]=Je;var P=(kt,_,Je)=>o4(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}.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}}.p-1{padding:4px}.btn-link-feedback{background:transparent;border:none;color:#1e6ea7;text-decoration:none;cursor:pointer;padding:8px;border-radius:4px;transition:background .1s ease-out}.btn-link-feedback: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=`
|
|
@@ -267,7 +267,7 @@ l0,-`+(r+144)+`c-2,-159.3,-10,-310.7,-24,-454c-53.3,-528,-210,-949.7,
|
|
|
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(`
|
|
270
|
-
`);if(n.length){const u=n[n.length-1];u.isStderr?(u.text+=o.shift(),n.push(...o.map(h=>({isStderr:!0,text:h})))):n.push(...o.map(h=>({isStderr:!0,text:h})))}else n.push(...o.map(u=>({isStderr:!0,text:u})));this.getOrAddStderrNode().textContent+=s}});const a=await r.runPythonCodeAsync(e);var i=a===void 0?"None":String(a)}catch(a){this.setButtonError();const s=String(a);this.getOrAddErrorNode().textContent=s,console.error(a),await this.context.postResultAsync({terminatedWithError:!0,error:s,stdoutAndStderr:n});return}this.setButtonSuccess(),i&&(this.getOrAddResultRawNode().textContent=i),await this.context.postResultAsync({result:i,stdoutAndStderr:n})}updateWithToolCallData(e){this._highlightCode.updateCode("python",Co(e.functionArguments))}}function Co(t){if(!t.startsWith("{"))return t;var e=t.indexOf("Code:");if(e!=-1&&t.substring(0,e).trim()=="{"&&(t='{"Code":'+t.substring(e+5)),e=t.indexOf('"""'),e!=-1){var r=t.lastIndexOf('"""');if(e<r&&t.substring(r+3).trim()=="}"){var n=id(t.substring(e+3,r-(e+3))),i=t.substring(0,e)+JSON.stringify(n)+t.substring(r+3);t=i}}try{var a=ad(t)}catch{return console.warn("Error parsing Python code arguments provided as JSON.",t),""}return(a==null?void 0:a.Code)||(a==null?void 0:a.code)||""}class od{constructor(e,r){P(this,"node");P(this,"_buttonNode");P(this,"_buttonIconWrapperNode");this.context=e,this.node=_("div",{class:"my-2"},this._buttonNode=_(tn,{as:"div",class:"p-2 pr-3 gap-2 select-none",variant:Ft.Badge,size:$r.Medium},this._buttonIconWrapperNode=_("div",{width:"24px",height:"24px"},_(Jn,{size:dn.Small})),`Search for '${r}'`))}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)}onOpcodeMessageToolCallResultReceived(e){this.setButtonSuccess()}onOpcodeMessageToolCallErrorReceived(e){this.setButtonError()}onErrorWhileReadingBodyStream(e){this.setButtonError()}run(e){}}class ld extends Qn{constructor(r,n){super();P(this,"node");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");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"}))),_("fieldset",{class:"p-6 pt-3 flex justify-end gap-3"},_(tn,{as:"a",variant:Ft.Tertiary,class:"min-w-24",size:$r.Medium,target:"_blank",href:n.url},"Open in new tab"))),ba(a,n.textInMarkdown,this.context.conversationMessage.chat.pyodide,this.context.conversationMessage.chat.mdastExtensions),n.openRightAway&&window.open(n.url,n.target,n.windowFeatures)}onOpcodeMessageToolCallErrorReceived(r){}onErrorWhileReadingBodyStream(r){}}function Sa({size:t=Ct.Medium,...e}){const r=qe("svg");r.setAttribute("viewBox","0 0 20 20"),r.setAttribute("fill","currentColor"),r.setAttribute("width",t),r.setAttribute("height",t),Je(r,e);const n=qe("path");return n.setAttribute("d","M10.9153 1.83987L11.2942 1.88772L11.4749 1.91507C13.2633 2.24201 14.4107 4.01717 13.9749 5.78225L13.9261 5.95901L13.3987 7.6719C13.7708 7.67575 14.0961 7.68389 14.3792 7.70608C14.8737 7.74486 15.3109 7.82759 15.7015 8.03323L15.8528 8.11819C16.5966 8.56353 17.1278 9.29625 17.3167 10.1475L17.347 10.3096C17.403 10.69 17.3647 11.0832 17.2835 11.5098C17.2375 11.7517 17.1735 12.0212 17.096 12.3233L16.8255 13.3321L16.4456 14.7276C16.2076 15.6001 16.0438 16.2356 15.7366 16.7305L15.595 16.9346C15.2989 17.318 14.9197 17.628 14.4866 17.8408L14.2982 17.9258C13.6885 18.1774 12.9785 18.1651 11.9446 18.1651H7.33331C6.64422 18.1651 6.08726 18.1657 5.63702 18.1289C5.23638 18.0962 4.87565 18.031 4.53936 17.8867L4.39679 17.8203C3.87576 17.5549 3.43916 17.151 3.13507 16.6553L3.013 16.4366C2.82119 16.0599 2.74182 15.6541 2.7044 15.1963C2.66762 14.7461 2.66827 14.1891 2.66827 13.5V11.667C2.66827 10.9349 2.66214 10.4375 2.77569 10.0137L2.83722 9.81253C3.17599 8.81768 3.99001 8.05084 5.01397 7.77639L5.17706 7.73928C5.56592 7.66435 6.02595 7.66799 6.66632 7.66799C6.9429 7.66799 7.19894 7.52038 7.33624 7.2803L10.2562 2.16995L10.3118 2.08792C10.4544 1.90739 10.6824 1.81092 10.9153 1.83987ZM7.33136 14.167C7.33136 14.9841 7.33714 15.2627 7.39386 15.4746L7.42999 15.5918C7.62644 16.1686 8.09802 16.6134 8.69171 16.7725L8.87042 16.8067C9.07652 16.8323 9.38687 16.835 10.0003 16.835H11.9446C13.099 16.835 13.4838 16.8228 13.7903 16.6963L13.8997 16.6465C14.1508 16.5231 14.3716 16.3444 14.5433 16.1221L14.6155 16.0166C14.7769 15.7552 14.8968 15.3517 15.1624 14.378L15.5433 12.9824L15.8079 11.9922C15.8804 11.7102 15.9368 11.4711 15.9769 11.2608C16.0364 10.948 16.0517 10.7375 16.0394 10.5791L16.0179 10.4356C15.9156 9.97497 15.641 9.57381 15.2542 9.31253L15.0814 9.20999C14.9253 9.12785 14.6982 9.06544 14.2747 9.03225C13.8477 8.99881 13.2923 8.99807 12.5003 8.99807C12.2893 8.99807 12.0905 8.89822 11.9651 8.72854C11.8398 8.55879 11.8025 8.33942 11.8646 8.13772L12.6556 5.56741L12.7054 5.36331C12.8941 4.35953 12.216 3.37956 11.1878 3.2178L8.49054 7.93948C8.23033 8.39484 7.81431 8.72848 7.33136 8.88967V14.167ZM3.99835 13.5C3.99835 14.2111 3.99924 14.7044 4.03058 15.0879C4.06128 15.4636 4.11804 15.675 4.19854 15.833L4.26886 15.959C4.44517 16.2466 4.69805 16.4808 5.0003 16.6348L5.13019 16.6905C5.27397 16.7419 5.46337 16.7797 5.74542 16.8028C5.97772 16.8217 6.25037 16.828 6.58722 16.8311C6.41249 16.585 6.27075 16.3136 6.1712 16.0215L6.10968 15.8194C5.99614 15.3956 6.00128 14.899 6.00128 14.167V9.00296C5.79386 9.0067 5.65011 9.01339 5.53741 9.02737L5.3587 9.06057C4.76502 9.21965 4.29247 9.66448 4.09601 10.2412L4.06085 10.3584C4.00404 10.5705 3.99835 10.8493 3.99835 11.667V13.5Z"),r.appendChild(n),r.classList.add("icon"),r}function za({size:t=Ct.Medium,...e}){const r=qe("svg");r.setAttribute("viewBox","0 0 20 20"),r.setAttribute("fill","currentColor"),r.setAttribute("width",t),r.setAttribute("height",t),Je(r,e);const n=qe("path");return n.setAttribute("d","M12.6687 5.83304C12.6687 5.22006 12.6649 4.91019 12.6394 4.70413L12.6062 4.52542C12.4471 3.93179 12.0022 3.45922 11.4255 3.26272L11.3083 3.22757C11.0963 3.17075 10.8175 3.16507 9.99974 3.16507H8.0554C7.04558 3.16507 6.62456 3.17475 6.32982 3.26175L6.2097 3.30374C5.95005 3.41089 5.71908 3.57635 5.53392 3.78616L5.45677 3.87796C5.30475 4.0748 5.20336 4.33135 5.03392 4.91702L4.83763 5.6221L4.45677 7.01761C4.24829 7.78204 4.10326 8.31846 4.02318 8.73929C3.94374 9.15672 3.94298 9.39229 3.98119 9.56448L4.03587 9.75784C4.18618 10.1996 4.50043 10.5702 4.91771 10.7901L5.05052 10.8477C5.20009 10.9014 5.40751 10.9429 5.72533 10.9678C6.15231 11.0012 6.70771 11.002 7.49974 11.002C7.71076 11.002 7.90952 11.1018 8.0349 11.2715C8.14465 11.4201 8.18683 11.6067 8.15404 11.7862L8.13548 11.8623L7.34447 14.4326C7.01523 15.5033 7.71404 16.6081 8.81126 16.7813L11.5095 12.0606L11.5827 11.9405C11.8445 11.5461 12.2289 11.2561 12.6687 11.1094V5.83304ZM17.3318 8.33304C17.3318 8.97366 17.3364 9.43432 17.2615 9.82327L17.2234 9.98538C16.949 11.0094 16.1821 11.8233 15.1872 12.1621L14.9861 12.2237C14.5624 12.3372 14.0656 12.3321 13.3337 12.3321C13.0915 12.3321 12.8651 12.4453 12.7204 12.6348L12.6638 12.7198L9.74388 17.8301C9.61066 18.0631 9.35005 18.1935 9.08372 18.1602L8.70579 18.1123C6.75379 17.8682 5.49542 15.9213 6.07396 14.041L6.60033 12.3272C6.22861 12.3233 5.90377 12.3161 5.62083 12.294C5.18804 12.26 4.79914 12.1931 4.44701 12.0391L4.29857 11.9668C3.52688 11.5605 2.95919 10.8555 2.72533 10.0205L2.68333 9.85257C2.58769 9.42154 2.62379 8.97768 2.71654 8.49026C2.80865 8.00634 2.97082 7.41139 3.17357 6.668L3.55443 5.27249L3.74583 4.58011C3.9286 3.94171 4.10186 3.45682 4.40404 3.06546L4.53685 2.9053C4.85609 2.54372 5.25433 2.25896 5.70189 2.07425L5.93626 1.99222C6.49455 1.82612 7.15095 1.83499 8.0554 1.83499H12.6667C13.3558 1.83499 13.9128 1.83434 14.363 1.87112C14.8208 1.90854 15.2266 1.98789 15.6033 2.17972L15.821 2.30179C16.317 2.6059 16.7215 3.04226 16.987 3.56351L17.0535 3.70608C17.1977 4.04236 17.2629 4.40311 17.2956 4.80374C17.3324 5.25398 17.3318 5.81094 17.3318 6.50003V8.33304ZM13.9978 10.9961C14.3321 10.9901 14.5013 10.977 14.6413 10.9395L14.7585 10.9033C15.3353 10.7069 15.7801 10.2353 15.9392 9.64163L15.9724 9.46292C15.998 9.25682 16.0017 8.94657 16.0017 8.33304V6.50003C16.0017 5.78899 16.0008 5.29566 15.9695 4.91214C15.9464 4.6301 15.9086 4.44069 15.8572 4.2969L15.8015 4.16702C15.6475 3.86478 15.4133 3.6119 15.1257 3.43558L14.9997 3.36526C14.8418 3.28477 14.6302 3.228 14.2546 3.19729C14.0221 3.1783 13.7491 3.17109 13.4118 3.168C13.6267 3.47028 13.7914 3.81126 13.8904 4.18069L13.9275 4.34378C13.981 4.62163 13.9947 4.93582 13.9978 5.3262V10.9961Z"),r.appendChild(n),r.classList.add("icon"),r}function ud({size:t=Ct.Medium,...e}){const r=qe("svg");r.setAttribute("viewBox","0 0 32 32"),r.setAttribute("fill","currentColor"),r.setAttribute("width",t),r.setAttribute("height",t),Je(r,e);const n=qe("path");return n.setAttribute("d","M18.1215 16.0003L24.5315 9.59034L25.8534 8.26846C26.0484 8.07346 26.0484 7.75659 25.8534 7.56159L24.439 6.14721C24.244 5.95221 23.9271 5.95221 23.7321 6.14721L16.0002 13.8791L8.26837 6.14659C8.07337 5.95159 7.75649 5.95159 7.56149 6.14659L6.14649 7.56096C5.95149 7.75596 5.95149 8.07284 6.14649 8.26784L13.879 16.0003L6.14649 23.7322C5.95149 23.9272 5.95149 24.2441 6.14649 24.4391L7.56087 25.8535C7.75587 26.0485 8.07274 26.0485 8.26774 25.8535L16.0002 18.1216L22.4102 24.5316L23.7321 25.8535C23.9271 26.0485 24.244 26.0485 24.439 25.8535L25.8534 24.4391C26.0484 24.2441 26.0484 23.9272 25.8534 23.7322L18.1215 16.0003Z"),r.appendChild(n),r.classList.add("icon"),r}const cd=".dialog-overlay{position:fixed;top:0;left:0;width:100%;height:100%;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:10000;font-family:Gantari,sans-serif}.dialog-content{background:#fff;box-shadow:0 4px 20px #00000026;position:relative;max-width:600px;width:90%;max-height:90vh;overflow-y:auto}.dialog-close-button{position:absolute;top:16px;right:16px;background:transparent;border:none;cursor:pointer;padding:4px;border-radius:4px;display:flex;align-items:center;justify-content:center;transition:background .1s ease-out;color:#2248aa}.dialog-close-button:hover{background:#f0f0f0}.dialog-header{padding:24px 24px 0;border-bottom:none}.dialog-body{padding:0 24px;display:flex;flex-direction:column;gap:20px}.dialog-footer{padding:0 24px 24px;border-top:none}.text-label-md{font-size:var(--text-lg, 1.5rem);font-weight:var(--font-weight-semibold, 600);color:#08122b;margin:0}.text-label-sm{font-size:var(--text-sm, .875rem);font-weight:var(--font-weight-normal, 400);color:#08122b;line-height:1.5}.feedback-suggestion-text{display:inline-block;padding:8px 16px;margin:4px 8px 4px 0;background:#d3eef8;border-radius:6px;cursor:pointer;transition:all .1s ease-out;font-size:var(--text-sm, .875rem);letter-spacing:.05rem;color:#2248aa}.feedback-suggestion-text:hover:not(.feedback-suggestion-text-active){background:#bce6f5;border-color:#17789b}.feedback-suggestion-text-active{background:#001333;color:#fff;border-color:#001333}.feedback-comment-text{width:100%;min-height:100px;padding:8px;border:2px solid hsl(40,3%,79%);font-family:Gantari,sans-serif;font-size:var(--text-sm, 1rem);font-weight:var(--font-weight-normal, 400);letter-spacing:.05rem;resize:none;box-sizing:border-box;transition:border-color .1s ease-out}.feedback-comment-text:focus{outline:none;border:4px solid hsl(218,100%,50%);box-shadow:0 0 0 2px #1e6ea71a}.feedback-comment-text::-moz-placeholder{color:#b5b3b0}.feedback-comment-text::placeholder{color:#b5b3b0}.btn-base{align-items:center;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:none;border-radius:0;display:inline-flex;height:auto;margin:0;outline:none;text-decoration:none;transition:background .1s ease-out,border-color .1s ease-out,color .1s ease-out,box-shadow .1s ease-out;white-space:nowrap;cursor:pointer;font-family:Gantari,sans-serif;font-size:var(--text-sm, .875rem);font-weight:var(--font-weight-medium, 500);justify-content:center}.btn-primary{background:#193680;color:#fff;border:1px solid hsl(223,67%,30%)}.btn-primary:disabled{background:#95adea;color:#fff;border-color:#0000;cursor:not-allowed;opacity:.5}.btn-primary:hover,.btn-primary:active{background:#002566}.btn-primary:disabled:hover{background:#95adea;color:#fff;border-color:#0000}.btn-lg{padding:10px 20px;min-width:100px;font-size:16px;letter-spacing:.05rem;height:50px}.btn-link{background:transparent;border:none;color:#1e6ea7;text-decoration:none;cursor:pointer;padding:8px;border-radius:4px;transition:background .1s ease-out}.btn-link:hover{background:#e6f3fb}.flex{display:flex}.flex-col{flex-direction:column}.justify-end{justify-content:flex-end}.gap-2{gap:8px;padding-top:40px}.gap-5{gap:20px}.w-\\[600px\\]{width:600px}.pl-7{padding-top:28px}.p-1{padding:4px}.footer-note{font-size:12px;color:#6c757d;line-height:1.5;margin:0;padding:0;text-align:left;font-weight:400;font-family:Gantari,sans-serif;letter-spacing:.02rem}.footer-note a{color:#6c757d;text-decoration:underline;text-underline-offset:2px;text-decoration-thickness:1px;font-weight:500;transition:color .1s ease-out}.footer-note a:hover{color:#6c757d;text-decoration-thickness:2px}@media (prefers-color-scheme: dark){.dialog-content{background:#0f214d;color:#fff}.text-label-md,.text-label-sm{color:#fff}.dialog-close-button:hover{background:#152d6a}.feedback-suggestion-text{background:#0d1b40;border-color:#0d1b40;color:#e0e0e0}.feedback-suggestion-text:hover:not(.feedback-suggestion-text-active){background:#1d3f95;border-color:#8fffb2}.feedback-suggestion-text-active{background:#2651c0;color:#00e649;border-color:#8fffb2}.feedback-comment-text{background:#2d2d2d;border-color:#404040;color:#fff}.feedback-comment-text:focus{border-color:#009930;box-shadow:0 0 0 2px #4caf501a}.feedback-comment-text::-moz-placeholder{color:#b5b3b0}.feedback-comment-text::placeholder{color:#b5b3b0}.btn-primary{background:#8fffb2;color:#0f214d;border-color:#8fffb2}.btn-primary:disabled{background:#dcf2d9;color:#d4def7;border-color:#dcf2d9}.btn-primary:disabled:hover{background:#00cc41;color:#0d1b40;border-color:#00cc41}.btn-primary:hover{background:#00cc41}.btn-link{color:#009930}.btn-link:hover{background:#1e6ea740}.footer-note{color:#8d8d8d}.footer-note a{color:#8fffb2;text-decoration:underline;text-underline-offset:2px;text-decoration-thickness:1px}.footer-note a:hover{color:#00cc41;text-decoration-thickness:2px}}.dialog-close-button:focus-visible,.btn-base:focus-visible,.btn-link:focus-visible{box-shadow:0 0 0 2px #8bc8f0}.btn-base:disabled{opacity:.5;cursor:not-allowed}";class _o{constructor(e,r,n,i,a,s,o,u){P(this,"node");P(this,"_rightColumnNode");P(this,"_feedbackNode");P(this,"_showToolCallResult",!1);P(this,"_toolCallInfoNode");P(this,"_currentMessageBlockNode");P(this,"_currentMessageBlockNodeMarkdown");P(this,"_accumulatedMarkdown","");P(this,"_toolCallBuilder",new nd);P(this,"_clientFunctionInvocationsByOperationId",{});P(this,"_clientFunctionInvocationsByLlmFunctionId",{});P(this,"_subConversations",{});P(this,"_pulseNode");P(this,"_pulseNodeAnimation");P(this,"_suggestionTextList");this.conversation=e,this.authorRole=r,this.authorId=n,this.authorPictureUrl=i,this.authorDisplayName=a,this.authorEmail=s,this.messageId=o,this.copilitId=u,this.node=_("li",{class:"p-2 flex gap-2"},_(Zh,{class:"shrink-0",id:this.authorId,title:this.authorDisplayName},this.authorPictureUrl?_("img",{src:this.authorPictureUrl,class:"w-full h-full"}):_("span",{marginTop:"-.1em"},Yh(this.authorDisplayName))),this._rightColumnNode=_("div",{class:"shrink-0 flex-1"},_("div",{class:"font-medium text-base leading-5"},this.authorDisplayName))),this.ensureCurrentMessageBlockNode(),this._suggestionTextList=[{text:"Irrelevant answer",isActive:!1},{text:"Incorrect information",isActive:!1},{text:"Incomplete answer",isActive:!1},{text:"Offensive content",isActive:!1},{text:"Other",isActive:!1}]}get chat(){return this.conversation.chat}ensureStyles(){if(document.getElementById("FeedBackDialog"))return;const e=document.createElement("style");e.id="FeedBackDialog",e.textContent=cd,document.head.appendChild(e)}ensureCurrentMessageBlockNode(){if(!this._currentMessageBlockNode&&(this._rightColumnNode.appendChild(this._toolCallInfoNode=_("div",{class:"prose prose-neutral prose-sm max-w-none"})),this._rightColumnNode.appendChild(this._currentMessageBlockNode=_("div",{class:"prose prose-neutral prose-sm max-w-none"})),this._currentMessageBlockNodeMarkdown="",this.authorRole==="assistant")){this._pulseNode=_("div",{class:"inline-flex relative h-3 w-3"},_("div",{class:"absolute inline-flex h-full w-full rounded-full bg-Sky-Blue-80"}),_("div",{class:"relative inline-flex rounded-full h-full w-full bg-Sky-Blue-Main-77"})),this._currentMessageBlockNode.appendChild(this._pulseNode);const e=[{transform:"scale(2.5)",opacity:0,offset:.75},{transform:"scale(2.5)",opacity:0,offset:1}],r={duration:1500,iterations:1/0,easing:"cubic-bezier(0, 0, 0.2, 1)"};this._pulseNodeAnimation=this._pulseNode.firstElementChild.animate(e,r)}}removePulseNodeIfItIsThere(){const e=this._pulseNode;e&&(this._pulseNode=null,this._pulseNodeAnimation.cancel(),e.remove())}append(e){if(this._accumulatedMarkdown+=e,this.ensureCurrentMessageBlockNode(),this._currentMessageBlockNodeMarkdown+=e,this._pulseNode){var r=this._pulseNodeAnimation.currentTime;this._pulseNodeAnimation.pause(),this._pulseNode.remove()}ba(this._currentMessageBlockNode,this._currentMessageBlockNodeMarkdown,this.chat.pyodide,this.chat.mdastExtensions),this._pulseNode&&(this._pulseNodeAnimation.currentTime=r,this._pulseNode.classList.add("ml-[1ch]"),hd(this._currentMessageBlockNode).appendChild(this._pulseNode),this._pulseNodeAnimation.play())}toolCallUpdate(e){var n;const r=this._toolCallBuilder.append(e);if(r.llmFunctionId&&r.functionName){let i=this._clientFunctionInvocationsByLlmFunctionId[r.llmFunctionId];if(i){(n=i.updateWithToolCallData)==null||n.call(i,r);return}const a=this.chat.clientFunctionInvocationHandlersPartial[r.functionName];if(a){const s=new d0(r.llmFunctionId,null,this),o=a(s,r);this._clientFunctionInvocationsByLlmFunctionId[r.llmFunctionId]=o,this.removePulseNodeIfItIsThere(),o.node&&(this._rightColumnNode.appendChild(o.node),o instanceof Qn&&o.context.conversationMessage.expandAsync(),this._currentMessageBlockNode=null,this._currentMessageBlockNodeMarkdown=null)}}}onOpcodeMessageInvokeClientFunctionReceived(e,r,n,i){var h,d;const a=JSON.parse(i);let s=this._clientFunctionInvocationsByOperationId[r];if(s){s.run(...a);return}if(s=this._clientFunctionInvocationsByLlmFunctionId[e],s&&!s.context.operationId){s.context.operationId=r,this.chat.clientFunctionInvocationsByOperationId[r]=s,this._clientFunctionInvocationsByOperationId[r]=s,(h=s.run)==null||h.call(s,...a);return}const o=new d0(e,r,this),u=this.chat.clientFunctionInvocationHandlers[n];if(u)s=u(o,...a),this.chat.clientFunctionInvocationsByOperationId[r]=s,this._clientFunctionInvocationsByOperationId[r]=s,this._clientFunctionInvocationsByLlmFunctionId[e]=s,(d=s.run)==null||d.call(s,...a),this.removePulseNodeIfItIsThere(),s.node&&(this._rightColumnNode.appendChild(s.node),s instanceof Qn&&s.context.conversationMessage.expandAsync(),this._currentMessageBlockNode=null,this._currentMessageBlockNodeMarkdown=null);else{const p=`Function '${n}' not found. This occurs if a tool / function has been invoked, that requires some sort of user interaction (e.g. to obtain confirmation or to fill out some form values), then contacts the front-end to obtain a response, but the front-end is unable to handle the request because the function to be invoked does not exist. This error was thrown in the front-end. This most likely indicates that the bot is set up incorrectly, and the user should contact support.`;o.postErrorAsync(p)}}setClientInvocationResult(e,r){var n;(n=e.onClientResult)==null||n.call(e,r)}setClientInvocationError(e,r){var n;(n=e.onClientError)==null||n.call(e,r)}onOpcodeMessageToolCallBeginReceived(e,r){this._showToolCallResult=!0,this.ensureCurrentMessageBlockNode(),this._toolCallInfoNode.appendChild(_("div",{class:"flex"},_("div",{class:"p-1"},_("label",null,r))))}onOpcodeMessageToolCallResultReceived(e,r){var a;let n;try{n=JSON.parse(r)}catch{n=r}this.ensureCurrentMessageBlockNode(),this._showToolCallResult&&r.length>0&&this._toolCallInfoNode.appendChild(_("div",{class:"flex"},_("div",{class:"p-1"},_("pre",{class:"whitespace-pre-wrap"},JSON.stringify(n,null,2)))));let i=this._clientFunctionInvocationsByLlmFunctionId[e];i&&((a=i.onOpcodeMessageToolCallResultReceived)==null||a.call(i,r),this.onClientFunctionInvocationCompleted(i))}onOpcodeMessageToolCallErrorReceived(e,r){const n=this._clientFunctionInvocationsByLlmFunctionId[e];n&&(n.onOpcodeMessageToolCallErrorReceived(r),this.onClientFunctionInvocationCompleted(n))}onClientFunctionInvocationCompleted(e){e.context.llmFunctionId in this._clientFunctionInvocationsByLlmFunctionId&&(delete this._clientFunctionInvocationsByLlmFunctionId[e.context.llmFunctionId],!Object.keys(this._subConversations).length&&!Object.keys(this._clientFunctionInvocationsByLlmFunctionId).length&&this.ensureCurrentMessageBlockNode())}executeLlmFunctionsBegin(){this._toolCallBuilder.clear()}executeLlmFunctionsEnd(){this.ensureCurrentMessageBlockNode(),this._clientFunctionInvocationsByLlmFunctionId={},this._subConversations={}}subConversationBegin(e,r,n,i,a,s){const o=new Bo(this.chat,e,this,s);this.chat.conversationsById.set(e,o),this._subConversations[e]=o,this.removePulseNodeIfItIsThere(),this._rightColumnNode.appendChild(o.node),this._currentMessageBlockNode=null,this._currentMessageBlockNodeMarkdown=null}notifySubConversationEnded(e,r){delete this._subConversations[e.id],!r&&!Object.keys(this._subConversations).length&&!Object.keys(this._clientFunctionInvocationsByLlmFunctionId).length&&this.ensureCurrentMessageBlockNode()}onOpcodeEndReceived(){this.removePulseNodeIfItIsThere(),this._toolCallBuilder.clear(),this._clientFunctionInvocationsByLlmFunctionId={},this._subConversations={},this.ensureStyles();const e=this.conversation.chat.feedbackByMessageId.get(this.messageId);e!=null?this._feedbackNode=_("div",{class:"flex"},_("a",{class:"btn btn-link p-1"},_(e?Sa:za,null))):this._feedbackNode=_("div",{class:"flex"},_("a",{class:"btn btn-link p-1",onclick:()=>{this.conversation.chat.setLikeAsync(this.messageId,this.copilitId,!0),this._feedbackNode.replaceWith(this._feedbackNode=_("div",{class:"flex"},_("a",{class:"btn btn-link p-1"},_(Sa,null))))}},_(Sa,null)),_("a",{class:"btn btn-link p-1",onclick:()=>{const r=_("div",{class:"dialog-overlay"},_("div",{role:"dialog",class:"dialog-content w-[600px] gap-5"},_("button",{onclick:()=>r.remove(),class:"dialog-close-button"},_(ud,{size:"22"})),_("div",{class:"dialog-header"},_("label",{class:"text-label-md pl-7"},"Tell us more")),_("div",{class:"dialog-body flex flex-col gap-5"},_("div",{class:"text-label-sm pl-7"},this._suggestionTextList.map((i,a)=>_("span",{class:"feedback-suggestion-text",onclick:s=>{const o=this;this._suggestionTextList.filter((d,p)=>p!==a&&d.isActive).forEach(d=>d.isActive=!1),r.querySelectorAll(".feedback-suggestion-text").forEach(d=>d.classList.toggle("feedback-suggestion-text-active",!1)),i.isActive=!i.isActive,s.currentTarget.classList.toggle("feedback-suggestion-text-active",i.isActive),n.call(o)}},i.text))),_("textarea",{placeholder:"Add special details (optional)",class:"feedback-comment-text"}),_("div",{class:"footer-note"},_("a",{href:"https://id.veracity.com/terms-of-use",target:"_blank",rel:"noopener noreferrer"},"Learn more")," about how this data is used and your rights. By pressing Submit, your conversation will be used to improve Veracity products and services. ",_("a",{href:"https://services.veracity.com/PrivacyStatement",target:"_blank",rel:"noopener noreferrer"},"Privacy statement."))),_("div",{class:"dialog-footer flex justify-end gap-2"},_("button",{id:"submit-btn",class:"btn-base btn-primary btn-lg",disabled:!0,onclick:()=>{let i="";this._suggestionTextList.map((o,u)=>{o.isActive&&(i=o.text)});let a="";const s=r.querySelector(".feedback-comment-text").value;s!==""&&(a=s),this.conversation.chat.setLikeAsync(this.messageId,this.copilitId,!1,i,a),r.remove(),this._feedbackNode.replaceWith(this._feedbackNode=_("div",{class:"flex"},_("a",{class:"btn btn-link p-1"},_(za,null))))}},"Submit"))));function n(){const i=r.querySelector("#submit-btn");this._suggestionTextList.some(s=>s.isActive)?i.disabled=!1:i.disabled=!0}setTimeout(()=>n.call(this),0),document.body.appendChild(r)}},_(za,null))),this._rightColumnNode.appendChild(this._feedbackNode)}onErrorWhileReadingBodyStream(e){console.log("ConversationMessage.onErrorWhileReadingBodyStream",e),this.removePulseNodeIfItIsThere();for(const r in this._clientFunctionInvocationsByLlmFunctionId)this._clientFunctionInvocationsByLlmFunctionId[r].onErrorWhileReadingBodyStream(e);this._toolCallBuilder.clear(),this._clientFunctionInvocationsByLlmFunctionId={};for(const r in this._subConversations)this._subConversations[r].onErrorWhileReadingBodyStream(e);this._subConversations={}}toDto(){return{role:this.authorRole,content:this._accumulatedMarkdown}}expandAsync(){if(this.conversation instanceof Bo)return this.conversation.expandAsync()}static installClientFunctions(e){e.clientFunctionInvocationHandlers.python=(r,n)=>{const i=new Mo(r,n);return i.run(n),i},e.clientFunctionInvocationHandlersPartial.python=(r,n)=>new Mo(r,n),e.clientFunctionInvocationHandlers.ButtonOptionsDialog=(r,n)=>new ed(r,n),e.clientFunctionInvocationHandlers.search=(r,n)=>new od(r,n),e.clientFunctionInvocationHandlers.WindowOpenDialog=(r,n)=>new ld(r,n)}}function hd(t){for(;;)for(let e=t.lastChild;;e=e.previousSibling)if(e){if(e.nodeType===Node.TEXT_NODE)return t;if(e.nodeType===Node.ELEMENT_NODE){if(e.tagName==="TABLE")return t;t=e;break}}else return t}class No{constructor(e,r){P(this,"node");P(this,"messagesListNode");P(this,"messages",[]);P(this,"activeMessage");P(this,"_opcodeConversationEndReceived");P(this,"_opcodeConversationErrorReceived");P(this,"_onErrorWhileReadingBodyStreamCalled");this.chat=e,this.id=r,this.node=this.messagesListNode=_("ol",null)}onOpcodeMessageBeginReceived(e,r,n,i,a,s,o){const u=new _o(this,e,r,n,i,a,s,o);return this.messages.push(this.activeMessage=u),this.messagesListNode.appendChild(u.node),u}onOpcodeMessageAppendReceived(e){this.activeMessage.append(e)}onOpcodeMessageExecuteLlmFunctionsBeginReceived(){this.activeMessage.executeLlmFunctionsBegin()}onOpcodeMessageExecuteLlmFunctionsEndReceived(){this.activeMessage.executeLlmFunctionsEnd()}onOpcodeMessageToolCallUpdateReceived(e){this.activeMessage.toolCallUpdate(e)}onOpcodeMessageToolCallBeginReceived(e,r){this.activeMessage.onOpcodeMessageToolCallBeginReceived(e,r)}onOpcodeMessageToolCallResultReceived(e,r){this.activeMessage.onOpcodeMessageToolCallResultReceived(e,r)}onOpcodeMessageToolCallErrorReceived(e,r){this.activeMessage.onOpcodeMessageToolCallErrorReceived(e,r)}onOpcodeMessageInvokeClientFunctionReceived(e,r,n,i){this.activeMessage.onOpcodeMessageInvokeClientFunctionReceived(e,r,n,i)}onOpcodeMessageSubConversationBeginReceived(e,r,n,i,a,s){this.activeMessage.subConversationBegin(e,r,n,i,a,s)}handleMessage(e){switch(e.type){case Me.MessageBegin:return this.onOpcodeMessageBeginReceived(e.messageAuthorRole,e.messageAuthorId,e.messageAuthorPictureUrl,e.messageAuthorDisplayName,e.messageAuthorEmail,e.messageId,e.copilotId),!0;case Me.MessageAppend:return this.onOpcodeMessageAppendReceived(e.appendMessageMarkdown),!0;case Me.MessageToolCallUpdate:return this.onOpcodeMessageToolCallUpdateReceived(e),!0;case Me.MessageToolCallBegin:return this.onOpcodeMessageToolCallBeginReceived(e.llmFunctionId,e.toolCallBeginInfo),!0;case Me.MessageToolCallResult:return this.onOpcodeMessageToolCallResultReceived(e.llmFunctionId,e.result),!0;case Me.MessageToolCallError:return this.onOpcodeMessageToolCallErrorReceived(e.llmFunctionId,e.error),!0;case Me.MessageExecuteLlmFunctionsBegin:return this.onOpcodeMessageExecuteLlmFunctionsBeginReceived(),!0;case Me.MessageExecuteLlmFunctionsEnd:return this.onOpcodeMessageExecuteLlmFunctionsEndReceived(),!0;case Me.MessageInvokeClientFunction:return this.onOpcodeMessageInvokeClientFunctionReceived(e.llmFunctionId,e.operationId,e.clientFunctionName,e.argumentsAsJSON),!0;case Me.MessageSubConversationBegin:return this.onOpcodeMessageSubConversationBeginReceived(e.subConversationId,e.messageAuthorId,e.messageAuthorPictureUrl,e.messageAuthorDisplayName,e.messageAuthorEmail,e.subConversationTitle),!0;case Me.ConversationEnd:return this.onOpcodeConversationEndReceived(),!0;case Me.ConversationError:return this.onOpcodeConversationErrorReceived(e.error,e.stackTrace),!0}return!1}onRootConversationEndOfBodyStream(){!this._opcodeConversationEndReceived&&!this._opcodeConversationErrorReceived&&!this._onErrorWhileReadingBodyStreamCalled&&this.onRootConversationUnexpectedEndOfBodyStream(),this.activeMessage=null,this._opcodeConversationEndReceived=!1,this._opcodeConversationErrorReceived=!1,this._onErrorWhileReadingBodyStreamCalled=!1}onRootConversationUnexpectedEndOfBodyStream(){var e,r;(r=(e=this.activeMessage)==null?void 0:e.onErrorWhileReadingBodyStream)==null||r.call(e,new _l),this.displayError("Unexpected end of response","The response ended unexpectedly. Please check your connectivity. Other possible causes include server instability or a bug.")}onOpcodeConversationEndReceived(){var e;this._opcodeConversationEndReceived=!0,(e=this.activeMessage)==null||e.onOpcodeEndReceived()}onOpcodeConversationErrorReceived(e,r){this._opcodeConversationErrorReceived=!0,e&&console.debug(e,r),this.displayError("Error","An undisclosed error occurred. Please contact Veracity Support.")}onErrorBeforeReadingBodyStreamStarted(e,r){if(r){this.displayInfo("Stopped","The generation of the response was stopped.");return}if(e instanceof Oa){this.displayError("Max limit reached","You have reached the maximum input limit. Please try again later.");return}else this.displayError("Error",String(e.message))}onErrorWhileReadingBodyStream(e,r){var n;this._onErrorWhileReadingBodyStreamCalled=!0,(n=this.activeMessage)==null||n.onErrorWhileReadingBodyStream(e),r?this.displayInfo("Stopped","The generation of the response was stopped."):this.displayError("Error while reading response",String(e.message))}displayError(e,r){this.messagesListNode.appendChild(_("li",{class:"m-2 border border-Light p-6 flex gap-5 bg-Sandstone-97"},_(wa,{class:"text-Energy-Red-45"}),_("div",null,_("h6",null,e),_("div",{class:"prose prose-sm prose-neutral"},_("p",null,r)))))}displayInfo(e,r){this.messagesListNode.appendChild(_("li",{class:"m-2 border border-Light p-6 flex gap-5 bg-Sandstone-97"},_(xa,{class:"text-Sea-Blue-Main-28"}),_("div",null,_("h6",null,e),_("div",{class:"prose prose-sm prose-neutral"},_("p",null,r)))))}}class Bo extends No{constructor(r,n,i,a){super(r,n);P(this,"_buttonNode");P(this,"_buttonIconWrapperNode");P(this,"_buttonTextNode");P(this,"_contentWrapperNode");P(this,"_contentNode");P(this,"_expanded",!1);P(this,"_expandedCt");P(this,"_expandPromise");this.parentMessage=i,this.title=a,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})),this.title,_(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 bg-Sandstone-95 p-3"},this.messagesListNode))))}get expanded(){return this._expanded}set expanded(r){r!==this._expanded&&(r?this.doExpandAsync():this.doCollapseAsync())}async doExpandAsync(){var n;(n=this._expandedCt)==null||n.cancel();const r=this._expandedCt=new Kt;this._buttonNode.setAttribute("data-expanded",String(this._expanded=!0)),this._expandPromise=(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(!r.isCancellationRequested)throw i}})(),await this._expandPromise}async doCollapseAsync(){var n;(n=this._expandedCt)==null||n.cancel();const r=this._expandedCt=new Kt;this._buttonNode.setAttribute("data-expanded",String(this._expanded=!1));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(!r.isCancellationRequested)throw i}}onErrorWhileReadingBodyStream(r){var n;(n=this.activeMessage)==null||n.onErrorWhileReadingBodyStream(r),this.setButtonError(),this.parentMessage.notifySubConversationEnded(this,!0)}onOpcodeConversationEndReceived(){var r;(r=this.activeMessage)==null||r.onOpcodeEndReceived(),this.setButtonSuccess(),this.parentMessage.notifySubConversationEnded(this,!1)}onOpcodeConversationErrorReceived(r,n){var s;r&&console.debug(r,n);const i="An undisclosed error occurred. Please contact Veracity Support.";this.displayError("Error",i);const a=new Error(i);(s=this.activeMessage)==null||s.onErrorWhileReadingBodyStream(a),this.setButtonError(),this.parentMessage.notifySubConversationEnded(this,!1)}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)}async expandAsync(){await this.parentMessage.expandAsync(),this._expanded?this._expandPromise&&await this._expandPromise:await this.doExpandAsync()}}class dd{constructor(e){P(this,"node");P(this,"url");P(this,"historyUrl");P(this,"feedbackUrl");P(this,"summarizeTitleUrl");P(this,"fetch");P(this,"conversationsById",new Map);P(this,"feedbackByMessageId",new Map);P(this,"rootConversation",new No(this,null));P(this,"clientFunctionInvocationHandlers",{});P(this,"clientFunctionInvocationHandlersPartial",{});P(this,"clientFunctionInvocationsByOperationId",{});P(this,"mdastExtensions",[]);P(this,"pyodide");P(this,"_lazyInitializePyodidePromise");P(this,"_completion");this.conversationsById.set(null,this.rootConversation),this.url=e.url,this.historyUrl=e.historyUrl,this.feedbackUrl=e.feedbackUrl,this.summarizeTitleUrl=e.summarizeTitleUrl,this.fetch=e.fetch??fetch.bind(window),this.node=_("div",null);const r=document.createElement("style");r.textContent=il+`
|
|
270
|
+
`);if(n.length){const u=n[n.length-1];u.isStderr?(u.text+=o.shift(),n.push(...o.map(h=>({isStderr:!0,text:h})))):n.push(...o.map(h=>({isStderr:!0,text:h})))}else n.push(...o.map(u=>({isStderr:!0,text:u})));this.getOrAddStderrNode().textContent+=s}});const a=await r.runPythonCodeAsync(e);var i=a===void 0?"None":String(a)}catch(a){this.setButtonError();const s=String(a);this.getOrAddErrorNode().textContent=s,console.error(a),await this.context.postResultAsync({terminatedWithError:!0,error:s,stdoutAndStderr:n});return}this.setButtonSuccess(),i&&(this.getOrAddResultRawNode().textContent=i),await this.context.postResultAsync({result:i,stdoutAndStderr:n})}updateWithToolCallData(e){this._highlightCode.updateCode("python",Co(e.functionArguments))}}function Co(t){if(!t.startsWith("{"))return t;var e=t.indexOf("Code:");if(e!=-1&&t.substring(0,e).trim()=="{"&&(t='{"Code":'+t.substring(e+5)),e=t.indexOf('"""'),e!=-1){var r=t.lastIndexOf('"""');if(e<r&&t.substring(r+3).trim()=="}"){var n=id(t.substring(e+3,r-(e+3))),i=t.substring(0,e)+JSON.stringify(n)+t.substring(r+3);t=i}}try{var a=ad(t)}catch{return console.warn("Error parsing Python code arguments provided as JSON.",t),""}return(a==null?void 0:a.Code)||(a==null?void 0:a.code)||""}class od{constructor(e,r){P(this,"node");P(this,"_buttonNode");P(this,"_buttonIconWrapperNode");this.context=e,this.node=_("div",{class:"my-2"},this._buttonNode=_(tn,{as:"div",class:"p-2 pr-3 gap-2 select-none",variant:Ft.Badge,size:$r.Medium},this._buttonIconWrapperNode=_("div",{width:"24px",height:"24px"},_(Jn,{size:dn.Small})),`Search for '${r}'`))}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)}onOpcodeMessageToolCallResultReceived(e){this.setButtonSuccess()}onOpcodeMessageToolCallErrorReceived(e){this.setButtonError()}onErrorWhileReadingBodyStream(e){this.setButtonError()}run(e){}}class ld extends Qn{constructor(r,n){super();P(this,"node");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");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"}))),_("fieldset",{class:"p-6 pt-3 flex justify-end gap-3"},_(tn,{as:"a",variant:Ft.Tertiary,class:"min-w-24",size:$r.Medium,target:"_blank",href:n.url},"Open in new tab"))),ba(a,n.textInMarkdown,this.context.conversationMessage.chat.pyodide,this.context.conversationMessage.chat.mdastExtensions),n.openRightAway&&window.open(n.url,n.target,n.windowFeatures)}onOpcodeMessageToolCallErrorReceived(r){}onErrorWhileReadingBodyStream(r){}}function Sa({size:t=Ct.Medium,...e}){const r=qe("svg");r.setAttribute("viewBox","0 0 20 20"),r.setAttribute("fill","currentColor"),r.setAttribute("width",t),r.setAttribute("height",t),Je(r,e);const n=qe("path");return n.setAttribute("d","M10.9153 1.83987L11.2942 1.88772L11.4749 1.91507C13.2633 2.24201 14.4107 4.01717 13.9749 5.78225L13.9261 5.95901L13.3987 7.6719C13.7708 7.67575 14.0961 7.68389 14.3792 7.70608C14.8737 7.74486 15.3109 7.82759 15.7015 8.03323L15.8528 8.11819C16.5966 8.56353 17.1278 9.29625 17.3167 10.1475L17.347 10.3096C17.403 10.69 17.3647 11.0832 17.2835 11.5098C17.2375 11.7517 17.1735 12.0212 17.096 12.3233L16.8255 13.3321L16.4456 14.7276C16.2076 15.6001 16.0438 16.2356 15.7366 16.7305L15.595 16.9346C15.2989 17.318 14.9197 17.628 14.4866 17.8408L14.2982 17.9258C13.6885 18.1774 12.9785 18.1651 11.9446 18.1651H7.33331C6.64422 18.1651 6.08726 18.1657 5.63702 18.1289C5.23638 18.0962 4.87565 18.031 4.53936 17.8867L4.39679 17.8203C3.87576 17.5549 3.43916 17.151 3.13507 16.6553L3.013 16.4366C2.82119 16.0599 2.74182 15.6541 2.7044 15.1963C2.66762 14.7461 2.66827 14.1891 2.66827 13.5V11.667C2.66827 10.9349 2.66214 10.4375 2.77569 10.0137L2.83722 9.81253C3.17599 8.81768 3.99001 8.05084 5.01397 7.77639L5.17706 7.73928C5.56592 7.66435 6.02595 7.66799 6.66632 7.66799C6.9429 7.66799 7.19894 7.52038 7.33624 7.2803L10.2562 2.16995L10.3118 2.08792C10.4544 1.90739 10.6824 1.81092 10.9153 1.83987ZM7.33136 14.167C7.33136 14.9841 7.33714 15.2627 7.39386 15.4746L7.42999 15.5918C7.62644 16.1686 8.09802 16.6134 8.69171 16.7725L8.87042 16.8067C9.07652 16.8323 9.38687 16.835 10.0003 16.835H11.9446C13.099 16.835 13.4838 16.8228 13.7903 16.6963L13.8997 16.6465C14.1508 16.5231 14.3716 16.3444 14.5433 16.1221L14.6155 16.0166C14.7769 15.7552 14.8968 15.3517 15.1624 14.378L15.5433 12.9824L15.8079 11.9922C15.8804 11.7102 15.9368 11.4711 15.9769 11.2608C16.0364 10.948 16.0517 10.7375 16.0394 10.5791L16.0179 10.4356C15.9156 9.97497 15.641 9.57381 15.2542 9.31253L15.0814 9.20999C14.9253 9.12785 14.6982 9.06544 14.2747 9.03225C13.8477 8.99881 13.2923 8.99807 12.5003 8.99807C12.2893 8.99807 12.0905 8.89822 11.9651 8.72854C11.8398 8.55879 11.8025 8.33942 11.8646 8.13772L12.6556 5.56741L12.7054 5.36331C12.8941 4.35953 12.216 3.37956 11.1878 3.2178L8.49054 7.93948C8.23033 8.39484 7.81431 8.72848 7.33136 8.88967V14.167ZM3.99835 13.5C3.99835 14.2111 3.99924 14.7044 4.03058 15.0879C4.06128 15.4636 4.11804 15.675 4.19854 15.833L4.26886 15.959C4.44517 16.2466 4.69805 16.4808 5.0003 16.6348L5.13019 16.6905C5.27397 16.7419 5.46337 16.7797 5.74542 16.8028C5.97772 16.8217 6.25037 16.828 6.58722 16.8311C6.41249 16.585 6.27075 16.3136 6.1712 16.0215L6.10968 15.8194C5.99614 15.3956 6.00128 14.899 6.00128 14.167V9.00296C5.79386 9.0067 5.65011 9.01339 5.53741 9.02737L5.3587 9.06057C4.76502 9.21965 4.29247 9.66448 4.09601 10.2412L4.06085 10.3584C4.00404 10.5705 3.99835 10.8493 3.99835 11.667V13.5Z"),r.appendChild(n),r.classList.add("icon"),r}function za({size:t=Ct.Medium,...e}){const r=qe("svg");r.setAttribute("viewBox","0 0 20 20"),r.setAttribute("fill","currentColor"),r.setAttribute("width",t),r.setAttribute("height",t),Je(r,e);const n=qe("path");return n.setAttribute("d","M12.6687 5.83304C12.6687 5.22006 12.6649 4.91019 12.6394 4.70413L12.6062 4.52542C12.4471 3.93179 12.0022 3.45922 11.4255 3.26272L11.3083 3.22757C11.0963 3.17075 10.8175 3.16507 9.99974 3.16507H8.0554C7.04558 3.16507 6.62456 3.17475 6.32982 3.26175L6.2097 3.30374C5.95005 3.41089 5.71908 3.57635 5.53392 3.78616L5.45677 3.87796C5.30475 4.0748 5.20336 4.33135 5.03392 4.91702L4.83763 5.6221L4.45677 7.01761C4.24829 7.78204 4.10326 8.31846 4.02318 8.73929C3.94374 9.15672 3.94298 9.39229 3.98119 9.56448L4.03587 9.75784C4.18618 10.1996 4.50043 10.5702 4.91771 10.7901L5.05052 10.8477C5.20009 10.9014 5.40751 10.9429 5.72533 10.9678C6.15231 11.0012 6.70771 11.002 7.49974 11.002C7.71076 11.002 7.90952 11.1018 8.0349 11.2715C8.14465 11.4201 8.18683 11.6067 8.15404 11.7862L8.13548 11.8623L7.34447 14.4326C7.01523 15.5033 7.71404 16.6081 8.81126 16.7813L11.5095 12.0606L11.5827 11.9405C11.8445 11.5461 12.2289 11.2561 12.6687 11.1094V5.83304ZM17.3318 8.33304C17.3318 8.97366 17.3364 9.43432 17.2615 9.82327L17.2234 9.98538C16.949 11.0094 16.1821 11.8233 15.1872 12.1621L14.9861 12.2237C14.5624 12.3372 14.0656 12.3321 13.3337 12.3321C13.0915 12.3321 12.8651 12.4453 12.7204 12.6348L12.6638 12.7198L9.74388 17.8301C9.61066 18.0631 9.35005 18.1935 9.08372 18.1602L8.70579 18.1123C6.75379 17.8682 5.49542 15.9213 6.07396 14.041L6.60033 12.3272C6.22861 12.3233 5.90377 12.3161 5.62083 12.294C5.18804 12.26 4.79914 12.1931 4.44701 12.0391L4.29857 11.9668C3.52688 11.5605 2.95919 10.8555 2.72533 10.0205L2.68333 9.85257C2.58769 9.42154 2.62379 8.97768 2.71654 8.49026C2.80865 8.00634 2.97082 7.41139 3.17357 6.668L3.55443 5.27249L3.74583 4.58011C3.9286 3.94171 4.10186 3.45682 4.40404 3.06546L4.53685 2.9053C4.85609 2.54372 5.25433 2.25896 5.70189 2.07425L5.93626 1.99222C6.49455 1.82612 7.15095 1.83499 8.0554 1.83499H12.6667C13.3558 1.83499 13.9128 1.83434 14.363 1.87112C14.8208 1.90854 15.2266 1.98789 15.6033 2.17972L15.821 2.30179C16.317 2.6059 16.7215 3.04226 16.987 3.56351L17.0535 3.70608C17.1977 4.04236 17.2629 4.40311 17.2956 4.80374C17.3324 5.25398 17.3318 5.81094 17.3318 6.50003V8.33304ZM13.9978 10.9961C14.3321 10.9901 14.5013 10.977 14.6413 10.9395L14.7585 10.9033C15.3353 10.7069 15.7801 10.2353 15.9392 9.64163L15.9724 9.46292C15.998 9.25682 16.0017 8.94657 16.0017 8.33304V6.50003C16.0017 5.78899 16.0008 5.29566 15.9695 4.91214C15.9464 4.6301 15.9086 4.44069 15.8572 4.2969L15.8015 4.16702C15.6475 3.86478 15.4133 3.6119 15.1257 3.43558L14.9997 3.36526C14.8418 3.28477 14.6302 3.228 14.2546 3.19729C14.0221 3.1783 13.7491 3.17109 13.4118 3.168C13.6267 3.47028 13.7914 3.81126 13.8904 4.18069L13.9275 4.34378C13.981 4.62163 13.9947 4.93582 13.9978 5.3262V10.9961Z"),r.appendChild(n),r.classList.add("icon"),r}function ud({size:t=Ct.Medium,...e}){const r=qe("svg");r.setAttribute("viewBox","0 0 32 32"),r.setAttribute("fill","currentColor"),r.setAttribute("width",t),r.setAttribute("height",t),Je(r,e);const n=qe("path");return n.setAttribute("d","M18.1215 16.0003L24.5315 9.59034L25.8534 8.26846C26.0484 8.07346 26.0484 7.75659 25.8534 7.56159L24.439 6.14721C24.244 5.95221 23.9271 5.95221 23.7321 6.14721L16.0002 13.8791L8.26837 6.14659C8.07337 5.95159 7.75649 5.95159 7.56149 6.14659L6.14649 7.56096C5.95149 7.75596 5.95149 8.07284 6.14649 8.26784L13.879 16.0003L6.14649 23.7322C5.95149 23.9272 5.95149 24.2441 6.14649 24.4391L7.56087 25.8535C7.75587 26.0485 8.07274 26.0485 8.26774 25.8535L16.0002 18.1216L22.4102 24.5316L23.7321 25.8535C23.9271 26.0485 24.244 26.0485 24.439 25.8535L25.8534 24.4391C26.0484 24.2441 26.0484 23.9272 25.8534 23.7322L18.1215 16.0003Z"),r.appendChild(n),r.classList.add("icon"),r}const cd=".dialog-overlay{position:fixed;top:0;left:0;width:100%;height:100%;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:10000;font-family:Gantari,sans-serif}.dialog-content{background:#fff;box-shadow:0 4px 20px #00000026;position:relative;max-width:600px;width:90%;max-height:90vh;overflow-y:auto}.dialog-close-button{position:absolute;top:16px;right:16px;background:transparent;border:none;cursor:pointer;padding:4px;border-radius:4px;display:flex;align-items:center;justify-content:center;transition:background .1s ease-out;color:#2248aa}.dialog-close-button:hover{background:#f0f0f0}.dialog-header{padding:24px 24px 0;border-bottom:none}.dialog-body{padding:0 24px;display:flex;flex-direction:column;gap:20px}.dialog-footer{padding:0 24px 24px;border-top:none}.text-label-md{font-size:var(--text-lg, 1.5rem);font-weight:var(--font-weight-semibold, 600);color:#08122b;margin:0}.text-label-sm{font-size:var(--text-sm, .875rem);font-weight:var(--font-weight-normal, 400);color:#08122b;line-height:1.5}.feedback-suggestion-text{display:inline-block;padding:8px 16px;margin:4px 8px 4px 0;background:#d3eef8;border-radius:6px;cursor:pointer;transition:all .1s ease-out;font-size:var(--text-sm, .875rem);letter-spacing:.05rem;color:#2248aa}.feedback-suggestion-text:hover:not(.feedback-suggestion-text-active){background:#bce6f5;border-color:#17789b}.feedback-suggestion-text-active{background:#001333;color:#fff;border-color:#001333}.feedback-comment-text{width:100%;min-height:100px;padding:8px;border:2px solid hsl(40,3%,79%);font-family:Gantari,sans-serif;font-size:var(--text-sm, 1rem);font-weight:var(--font-weight-normal, 400);letter-spacing:.05rem;resize:none;box-sizing:border-box;transition:border-color .1s ease-out}.feedback-comment-text:focus{outline:none;border:4px solid hsl(218,100%,50%);box-shadow:0 0 0 2px #1e6ea71a}.feedback-comment-text::-moz-placeholder{color:#b5b3b0}.feedback-comment-text::placeholder{color:#b5b3b0}.btn-base-feedback{align-items:center;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:none;border-radius:0;display:inline-flex;height:auto;margin:0;outline:none;text-decoration:none;transition:background .1s ease-out,border-color .1s ease-out,color .1s ease-out,box-shadow .1s ease-out;white-space:nowrap;cursor:pointer;font-family:Gantari,sans-serif;font-size:var(--text-sm, .875rem);font-weight:var(--font-weight-medium, 500);justify-content:center}.btn-primary-feedback{background:#193680;color:#fff;border:1px solid hsl(223,67%,30%)}.btn-primary-feedback:disabled{background:#95adea;color:#fff;border-color:#0000;cursor:not-allowed;opacity:.5}.btn-primary-feedback:hover,.btn-primary-feedback:active{background:#002566}.btn-primary-feedback:disabled:hover{background:#95adea;color:#fff;border-color:#0000}.btn-lg-feedback{padding:10px 20px;min-width:100px;font-size:16px;letter-spacing:.05rem;height:50px}.flex{display:flex}.flex-col{flex-direction:column}.justify-end{justify-content:flex-end}.gap-2-feedback{gap:8px;padding-top:40px}.gap-5-feedback{gap:20px}.w-\\[600px\\]{width:600px}.pl-7-feedback{padding-top:28px}.footer-note{font-size:12px;color:#6c757d;line-height:1.5;margin:0;padding:0;text-align:left;font-weight:400;font-family:Gantari,sans-serif;letter-spacing:.02rem}.footer-note a{color:#6c757d;text-decoration:underline;text-underline-offset:2px;text-decoration-thickness:1px;font-weight:500;transition:color .1s ease-out}.footer-note a:hover{color:#6c757d;text-decoration-thickness:2px}@media (prefers-color-scheme: dark){.dialog-content{background:#0f214d;color:#fff}.text-label-md,.text-label-sm{color:#fff}.dialog-close-button:hover{background:#152d6a}.feedback-suggestion-text{background:#0d1b40;border-color:#0d1b40;color:#e0e0e0}.feedback-suggestion-text:hover:not(.feedback-suggestion-text-active){background:#1d3f95;border-color:#8fffb2}.feedback-suggestion-text-active{background:#2651c0;color:#00e649;border-color:#8fffb2}.feedback-comment-text{background:#2d2d2d;border-color:#404040;color:#fff}.feedback-comment-text:focus{border-color:#009930;box-shadow:0 0 0 2px #4caf501a}.feedback-comment-text::-moz-placeholder{color:#b5b3b0}.feedback-comment-text::placeholder{color:#b5b3b0}.btn-primary-feedback{background:#8fffb2;color:#0f214d;border-color:#8fffb2}.btn-primary-feedback:disabled{background:#dcf2d9;color:#d4def7;border-color:#dcf2d9}.btn-primary-feedback:disabled:hover{background:#00cc41;color:#0d1b40;border-color:#00cc41}.btn-primary-feedback:hover{background:#00cc41}.btn-link-feedback{color:#009930}.btn-link-feedback:hover{background:#1e6ea740}.footer-note{color:#8d8d8d}.footer-note a{color:#8fffb2;text-decoration:underline;text-underline-offset:2px;text-decoration-thickness:1px}.footer-note a:hover{color:#00cc41;text-decoration-thickness:2px}}.dialog-close-button:focus-visible,.btn-base-feedback:focus-visible,.btn-link-feedback:focus-visible{box-shadow:0 0 0 2px #8bc8f0}.btn-base-feedback:disabled{opacity:.5;cursor:not-allowed}";class _o{constructor(e,r,n,i,a,s,o,u){P(this,"node");P(this,"_rightColumnNode");P(this,"_feedbackNode");P(this,"_showToolCallResult",!1);P(this,"_toolCallInfoNode");P(this,"_currentMessageBlockNode");P(this,"_currentMessageBlockNodeMarkdown");P(this,"_accumulatedMarkdown","");P(this,"_toolCallBuilder",new nd);P(this,"_clientFunctionInvocationsByOperationId",{});P(this,"_clientFunctionInvocationsByLlmFunctionId",{});P(this,"_subConversations",{});P(this,"_pulseNode");P(this,"_pulseNodeAnimation");P(this,"_suggestionTextList");this.conversation=e,this.authorRole=r,this.authorId=n,this.authorPictureUrl=i,this.authorDisplayName=a,this.authorEmail=s,this.messageId=o,this.copilitId=u,this.node=_("li",{class:"p-2 flex gap-2"},_(Zh,{class:"shrink-0",id:this.authorId,title:this.authorDisplayName},this.authorPictureUrl?_("img",{src:this.authorPictureUrl,class:"w-full h-full"}):_("span",{marginTop:"-.1em"},Yh(this.authorDisplayName))),this._rightColumnNode=_("div",{class:"shrink-0 flex-1"},_("div",{class:"font-medium text-base leading-5"},this.authorDisplayName))),this.ensureCurrentMessageBlockNode(),this._suggestionTextList=[{text:"Irrelevant answer",isActive:!1},{text:"Incorrect information",isActive:!1},{text:"Incomplete answer",isActive:!1},{text:"Offensive content",isActive:!1},{text:"Other",isActive:!1}]}get chat(){return this.conversation.chat}ensureStyles(){if(document.getElementById("FeedBackDialog"))return;const e=document.createElement("style");e.id="FeedBackDialog",e.textContent=cd,document.head.appendChild(e)}ensureCurrentMessageBlockNode(){if(!this._currentMessageBlockNode&&(this._rightColumnNode.appendChild(this._toolCallInfoNode=_("div",{class:"prose prose-neutral prose-sm max-w-none"})),this._rightColumnNode.appendChild(this._currentMessageBlockNode=_("div",{class:"prose prose-neutral prose-sm max-w-none"})),this._currentMessageBlockNodeMarkdown="",this.authorRole==="assistant")){this._pulseNode=_("div",{class:"inline-flex relative h-3 w-3"},_("div",{class:"absolute inline-flex h-full w-full rounded-full bg-Sky-Blue-80"}),_("div",{class:"relative inline-flex rounded-full h-full w-full bg-Sky-Blue-Main-77"})),this._currentMessageBlockNode.appendChild(this._pulseNode);const e=[{transform:"scale(2.5)",opacity:0,offset:.75},{transform:"scale(2.5)",opacity:0,offset:1}],r={duration:1500,iterations:1/0,easing:"cubic-bezier(0, 0, 0.2, 1)"};this._pulseNodeAnimation=this._pulseNode.firstElementChild.animate(e,r)}}removePulseNodeIfItIsThere(){const e=this._pulseNode;e&&(this._pulseNode=null,this._pulseNodeAnimation.cancel(),e.remove())}append(e){if(this._accumulatedMarkdown+=e,this.ensureCurrentMessageBlockNode(),this._currentMessageBlockNodeMarkdown+=e,this._pulseNode){var r=this._pulseNodeAnimation.currentTime;this._pulseNodeAnimation.pause(),this._pulseNode.remove()}ba(this._currentMessageBlockNode,this._currentMessageBlockNodeMarkdown,this.chat.pyodide,this.chat.mdastExtensions),this._pulseNode&&(this._pulseNodeAnimation.currentTime=r,this._pulseNode.classList.add("ml-[1ch]"),hd(this._currentMessageBlockNode).appendChild(this._pulseNode),this._pulseNodeAnimation.play())}toolCallUpdate(e){var n;const r=this._toolCallBuilder.append(e);if(r.llmFunctionId&&r.functionName){let i=this._clientFunctionInvocationsByLlmFunctionId[r.llmFunctionId];if(i){(n=i.updateWithToolCallData)==null||n.call(i,r);return}const a=this.chat.clientFunctionInvocationHandlersPartial[r.functionName];if(a){const s=new d0(r.llmFunctionId,null,this),o=a(s,r);this._clientFunctionInvocationsByLlmFunctionId[r.llmFunctionId]=o,this.removePulseNodeIfItIsThere(),o.node&&(this._rightColumnNode.appendChild(o.node),o instanceof Qn&&o.context.conversationMessage.expandAsync(),this._currentMessageBlockNode=null,this._currentMessageBlockNodeMarkdown=null)}}}onOpcodeMessageInvokeClientFunctionReceived(e,r,n,i){var h,d;const a=JSON.parse(i);let s=this._clientFunctionInvocationsByOperationId[r];if(s){s.run(...a);return}if(s=this._clientFunctionInvocationsByLlmFunctionId[e],s&&!s.context.operationId){s.context.operationId=r,this.chat.clientFunctionInvocationsByOperationId[r]=s,this._clientFunctionInvocationsByOperationId[r]=s,(h=s.run)==null||h.call(s,...a);return}const o=new d0(e,r,this),u=this.chat.clientFunctionInvocationHandlers[n];if(u)s=u(o,...a),this.chat.clientFunctionInvocationsByOperationId[r]=s,this._clientFunctionInvocationsByOperationId[r]=s,this._clientFunctionInvocationsByLlmFunctionId[e]=s,(d=s.run)==null||d.call(s,...a),this.removePulseNodeIfItIsThere(),s.node&&(this._rightColumnNode.appendChild(s.node),s instanceof Qn&&s.context.conversationMessage.expandAsync(),this._currentMessageBlockNode=null,this._currentMessageBlockNodeMarkdown=null);else{const p=`Function '${n}' not found. This occurs if a tool / function has been invoked, that requires some sort of user interaction (e.g. to obtain confirmation or to fill out some form values), then contacts the front-end to obtain a response, but the front-end is unable to handle the request because the function to be invoked does not exist. This error was thrown in the front-end. This most likely indicates that the bot is set up incorrectly, and the user should contact support.`;o.postErrorAsync(p)}}setClientInvocationResult(e,r){var n;(n=e.onClientResult)==null||n.call(e,r)}setClientInvocationError(e,r){var n;(n=e.onClientError)==null||n.call(e,r)}onOpcodeMessageToolCallBeginReceived(e,r){this._showToolCallResult=!0,this.ensureCurrentMessageBlockNode(),this._toolCallInfoNode.appendChild(_("div",{class:"flex"},_("div",{class:"p-1"},_("label",null,r))))}onOpcodeMessageToolCallResultReceived(e,r){var a;let n;try{n=JSON.parse(r)}catch{n=r}this.ensureCurrentMessageBlockNode(),this._showToolCallResult&&r.length>0&&this._toolCallInfoNode.appendChild(_("div",{class:"flex"},_("div",{class:"p-1"},_("pre",{class:"whitespace-pre-wrap"},JSON.stringify(n,null,2)))));let i=this._clientFunctionInvocationsByLlmFunctionId[e];i&&((a=i.onOpcodeMessageToolCallResultReceived)==null||a.call(i,r),this.onClientFunctionInvocationCompleted(i))}onOpcodeMessageToolCallErrorReceived(e,r){const n=this._clientFunctionInvocationsByLlmFunctionId[e];n&&(n.onOpcodeMessageToolCallErrorReceived(r),this.onClientFunctionInvocationCompleted(n))}onClientFunctionInvocationCompleted(e){e.context.llmFunctionId in this._clientFunctionInvocationsByLlmFunctionId&&(delete this._clientFunctionInvocationsByLlmFunctionId[e.context.llmFunctionId],!Object.keys(this._subConversations).length&&!Object.keys(this._clientFunctionInvocationsByLlmFunctionId).length&&this.ensureCurrentMessageBlockNode())}executeLlmFunctionsBegin(){this._toolCallBuilder.clear()}executeLlmFunctionsEnd(){this.ensureCurrentMessageBlockNode(),this._clientFunctionInvocationsByLlmFunctionId={},this._subConversations={}}subConversationBegin(e,r,n,i,a,s){const o=new Bo(this.chat,e,this,s);this.chat.conversationsById.set(e,o),this._subConversations[e]=o,this.removePulseNodeIfItIsThere(),this._rightColumnNode.appendChild(o.node),this._currentMessageBlockNode=null,this._currentMessageBlockNodeMarkdown=null}notifySubConversationEnded(e,r){delete this._subConversations[e.id],!r&&!Object.keys(this._subConversations).length&&!Object.keys(this._clientFunctionInvocationsByLlmFunctionId).length&&this.ensureCurrentMessageBlockNode()}onOpcodeEndReceived(){this.removePulseNodeIfItIsThere(),this._toolCallBuilder.clear(),this._clientFunctionInvocationsByLlmFunctionId={},this._subConversations={},this.ensureStyles();const e=this.conversation.chat.feedbackByMessageId.get(this.messageId);e!=null?this._feedbackNode=_("div",{class:"flex"},_("a",{class:"btn btn-link-feedback p-1"},_(e?Sa:za,null))):this._feedbackNode=_("div",{class:"flex"},_("a",{class:"btn btn-link-feedback p-1",onclick:()=>{this.conversation.chat.setLikeAsync(this.messageId,this.copilitId,!0),this._feedbackNode.replaceWith(this._feedbackNode=_("div",{class:"flex"},_("a",{class:"btn btn-link-feedback p-1"},_(Sa,null))))}},_(Sa,null)),_("a",{class:"btn btn-link-feedback p-1",onclick:()=>{const r=_("div",{class:"dialog-overlay"},_("div",{role:"dialog",class:"dialog-content w-[600px] gap-5-feedback"},_("button",{onclick:()=>r.remove(),class:"dialog-close-button"},_(ud,{size:"22"})),_("div",{class:"dialog-header"},_("label",{class:"text-label-md pl-7-feedback"},"Tell us more")),_("div",{class:"dialog-body flex flex-col gap-5-feedback"},_("div",{class:"text-label-sm pl-7-feedback"},this._suggestionTextList.map((i,a)=>_("span",{class:"feedback-suggestion-text",onclick:s=>{const o=this;this._suggestionTextList.filter((d,p)=>p!==a&&d.isActive).forEach(d=>d.isActive=!1),r.querySelectorAll(".feedback-suggestion-text").forEach(d=>d.classList.toggle("feedback-suggestion-text-active",!1)),i.isActive=!i.isActive,s.currentTarget.classList.toggle("feedback-suggestion-text-active",i.isActive),n.call(o)}},i.text))),_("textarea",{placeholder:"Add special details (optional)",class:"feedback-comment-text"}),_("div",{class:"footer-note"},_("a",{href:"https://id.veracity.com/terms-of-use",target:"_blank",rel:"noopener noreferrer"},"Learn more")," about how this data is used and your rights. By pressing Submit, your conversation will be used to improve Veracity products and services. ",_("a",{href:"https://services.veracity.com/PrivacyStatement",target:"_blank",rel:"noopener noreferrer"},"Privacy statement."))),_("div",{class:"dialog-footer flex justify-end gap-2-feedback"},_("button",{id:"submit-btn",class:"btn-base-feedback btn-primary-feedback btn-lg-feedback",disabled:!0,onclick:()=>{let i="";this._suggestionTextList.map((o,u)=>{o.isActive&&(i=o.text)});let a="";const s=r.querySelector(".feedback-comment-text").value;s!==""&&(a=s),this.conversation.chat.setLikeAsync(this.messageId,this.copilitId,!1,i,a),r.remove(),this._feedbackNode.replaceWith(this._feedbackNode=_("div",{class:"flex"},_("a",{class:"btn btn-link-feedback p-1"},_(za,null))))}},"Submit"))));function n(){const i=r.querySelector("#submit-btn");if(i){const a=this._suggestionTextList.some(s=>s.isActive);i.disabled=!a}}n.call(this),document.body.appendChild(r)}},_(za,null))),this._rightColumnNode.appendChild(this._feedbackNode)}onErrorWhileReadingBodyStream(e){console.log("ConversationMessage.onErrorWhileReadingBodyStream",e),this.removePulseNodeIfItIsThere();for(const r in this._clientFunctionInvocationsByLlmFunctionId)this._clientFunctionInvocationsByLlmFunctionId[r].onErrorWhileReadingBodyStream(e);this._toolCallBuilder.clear(),this._clientFunctionInvocationsByLlmFunctionId={};for(const r in this._subConversations)this._subConversations[r].onErrorWhileReadingBodyStream(e);this._subConversations={}}toDto(){return{role:this.authorRole,content:this._accumulatedMarkdown}}expandAsync(){if(this.conversation instanceof Bo)return this.conversation.expandAsync()}static installClientFunctions(e){e.clientFunctionInvocationHandlers.python=(r,n)=>{const i=new Mo(r,n);return i.run(n),i},e.clientFunctionInvocationHandlersPartial.python=(r,n)=>new Mo(r,n),e.clientFunctionInvocationHandlers.ButtonOptionsDialog=(r,n)=>new ed(r,n),e.clientFunctionInvocationHandlers.search=(r,n)=>new od(r,n),e.clientFunctionInvocationHandlers.WindowOpenDialog=(r,n)=>new ld(r,n)}}function hd(t){for(;;)for(let e=t.lastChild;;e=e.previousSibling)if(e){if(e.nodeType===Node.TEXT_NODE)return t;if(e.nodeType===Node.ELEMENT_NODE){if(e.tagName==="TABLE")return t;t=e;break}}else return t}class No{constructor(e,r){P(this,"node");P(this,"messagesListNode");P(this,"messages",[]);P(this,"activeMessage");P(this,"_opcodeConversationEndReceived");P(this,"_opcodeConversationErrorReceived");P(this,"_onErrorWhileReadingBodyStreamCalled");this.chat=e,this.id=r,this.node=this.messagesListNode=_("ol",null)}onOpcodeMessageBeginReceived(e,r,n,i,a,s,o){const u=new _o(this,e,r,n,i,a,s,o);return this.messages.push(this.activeMessage=u),this.messagesListNode.appendChild(u.node),u}onOpcodeMessageAppendReceived(e){this.activeMessage.append(e)}onOpcodeMessageExecuteLlmFunctionsBeginReceived(){this.activeMessage.executeLlmFunctionsBegin()}onOpcodeMessageExecuteLlmFunctionsEndReceived(){this.activeMessage.executeLlmFunctionsEnd()}onOpcodeMessageToolCallUpdateReceived(e){this.activeMessage.toolCallUpdate(e)}onOpcodeMessageToolCallBeginReceived(e,r){this.activeMessage.onOpcodeMessageToolCallBeginReceived(e,r)}onOpcodeMessageToolCallResultReceived(e,r){this.activeMessage.onOpcodeMessageToolCallResultReceived(e,r)}onOpcodeMessageToolCallErrorReceived(e,r){this.activeMessage.onOpcodeMessageToolCallErrorReceived(e,r)}onOpcodeMessageInvokeClientFunctionReceived(e,r,n,i){this.activeMessage.onOpcodeMessageInvokeClientFunctionReceived(e,r,n,i)}onOpcodeMessageSubConversationBeginReceived(e,r,n,i,a,s){this.activeMessage.subConversationBegin(e,r,n,i,a,s)}handleMessage(e){switch(e.type){case Me.MessageBegin:return this.onOpcodeMessageBeginReceived(e.messageAuthorRole,e.messageAuthorId,e.messageAuthorPictureUrl,e.messageAuthorDisplayName,e.messageAuthorEmail,e.messageId,e.copilotId),!0;case Me.MessageAppend:return this.onOpcodeMessageAppendReceived(e.appendMessageMarkdown),!0;case Me.MessageToolCallUpdate:return this.onOpcodeMessageToolCallUpdateReceived(e),!0;case Me.MessageToolCallBegin:return this.onOpcodeMessageToolCallBeginReceived(e.llmFunctionId,e.toolCallBeginInfo),!0;case Me.MessageToolCallResult:return this.onOpcodeMessageToolCallResultReceived(e.llmFunctionId,e.result),!0;case Me.MessageToolCallError:return this.onOpcodeMessageToolCallErrorReceived(e.llmFunctionId,e.error),!0;case Me.MessageExecuteLlmFunctionsBegin:return this.onOpcodeMessageExecuteLlmFunctionsBeginReceived(),!0;case Me.MessageExecuteLlmFunctionsEnd:return this.onOpcodeMessageExecuteLlmFunctionsEndReceived(),!0;case Me.MessageInvokeClientFunction:return this.onOpcodeMessageInvokeClientFunctionReceived(e.llmFunctionId,e.operationId,e.clientFunctionName,e.argumentsAsJSON),!0;case Me.MessageSubConversationBegin:return this.onOpcodeMessageSubConversationBeginReceived(e.subConversationId,e.messageAuthorId,e.messageAuthorPictureUrl,e.messageAuthorDisplayName,e.messageAuthorEmail,e.subConversationTitle),!0;case Me.ConversationEnd:return this.onOpcodeConversationEndReceived(),!0;case Me.ConversationError:return this.onOpcodeConversationErrorReceived(e.error,e.stackTrace),!0}return!1}onRootConversationEndOfBodyStream(){!this._opcodeConversationEndReceived&&!this._opcodeConversationErrorReceived&&!this._onErrorWhileReadingBodyStreamCalled&&this.onRootConversationUnexpectedEndOfBodyStream(),this.activeMessage=null,this._opcodeConversationEndReceived=!1,this._opcodeConversationErrorReceived=!1,this._onErrorWhileReadingBodyStreamCalled=!1}onRootConversationUnexpectedEndOfBodyStream(){var e,r;(r=(e=this.activeMessage)==null?void 0:e.onErrorWhileReadingBodyStream)==null||r.call(e,new _l),this.displayError("Unexpected end of response","The response ended unexpectedly. Please check your connectivity. Other possible causes include server instability or a bug.")}onOpcodeConversationEndReceived(){var e;this._opcodeConversationEndReceived=!0,(e=this.activeMessage)==null||e.onOpcodeEndReceived()}onOpcodeConversationErrorReceived(e,r){this._opcodeConversationErrorReceived=!0,e&&console.debug(e,r),this.displayError("Error","An undisclosed error occurred. Please contact Veracity Support.")}onErrorBeforeReadingBodyStreamStarted(e,r){if(r){this.displayInfo("Stopped","The generation of the response was stopped.");return}if(e instanceof Oa){this.displayError("Max limit reached","You have reached the maximum input limit. Please try again later.");return}else this.displayError("Error",String(e.message))}onErrorWhileReadingBodyStream(e,r){var n;this._onErrorWhileReadingBodyStreamCalled=!0,(n=this.activeMessage)==null||n.onErrorWhileReadingBodyStream(e),r?this.displayInfo("Stopped","The generation of the response was stopped."):this.displayError("Error while reading response",String(e.message))}displayError(e,r){this.messagesListNode.appendChild(_("li",{class:"m-2 border border-Light p-6 flex gap-5 bg-Sandstone-97"},_(wa,{class:"text-Energy-Red-45"}),_("div",null,_("h6",null,e),_("div",{class:"prose prose-sm prose-neutral"},_("p",null,r)))))}displayInfo(e,r){this.messagesListNode.appendChild(_("li",{class:"m-2 border border-Light p-6 flex gap-5 bg-Sandstone-97"},_(xa,{class:"text-Sea-Blue-Main-28"}),_("div",null,_("h6",null,e),_("div",{class:"prose prose-sm prose-neutral"},_("p",null,r)))))}}class Bo extends No{constructor(r,n,i,a){super(r,n);P(this,"_buttonNode");P(this,"_buttonIconWrapperNode");P(this,"_buttonTextNode");P(this,"_contentWrapperNode");P(this,"_contentNode");P(this,"_expanded",!1);P(this,"_expandedCt");P(this,"_expandPromise");this.parentMessage=i,this.title=a,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})),this.title,_(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 bg-Sandstone-95 p-3"},this.messagesListNode))))}get expanded(){return this._expanded}set expanded(r){r!==this._expanded&&(r?this.doExpandAsync():this.doCollapseAsync())}async doExpandAsync(){var n;(n=this._expandedCt)==null||n.cancel();const r=this._expandedCt=new Kt;this._buttonNode.setAttribute("data-expanded",String(this._expanded=!0)),this._expandPromise=(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(!r.isCancellationRequested)throw i}})(),await this._expandPromise}async doCollapseAsync(){var n;(n=this._expandedCt)==null||n.cancel();const r=this._expandedCt=new Kt;this._buttonNode.setAttribute("data-expanded",String(this._expanded=!1));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(!r.isCancellationRequested)throw i}}onErrorWhileReadingBodyStream(r){var n;(n=this.activeMessage)==null||n.onErrorWhileReadingBodyStream(r),this.setButtonError(),this.parentMessage.notifySubConversationEnded(this,!0)}onOpcodeConversationEndReceived(){var r;(r=this.activeMessage)==null||r.onOpcodeEndReceived(),this.setButtonSuccess(),this.parentMessage.notifySubConversationEnded(this,!1)}onOpcodeConversationErrorReceived(r,n){var s;r&&console.debug(r,n);const i="An undisclosed error occurred. Please contact Veracity Support.";this.displayError("Error",i);const a=new Error(i);(s=this.activeMessage)==null||s.onErrorWhileReadingBodyStream(a),this.setButtonError(),this.parentMessage.notifySubConversationEnded(this,!1)}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)}async expandAsync(){await this.parentMessage.expandAsync(),this._expanded?this._expandPromise&&await this._expandPromise:await this.doExpandAsync()}}class dd{constructor(e){P(this,"node");P(this,"url");P(this,"historyUrl");P(this,"feedbackUrl");P(this,"summarizeTitleUrl");P(this,"fetch");P(this,"conversationsById",new Map);P(this,"feedbackByMessageId",new Map);P(this,"rootConversation",new No(this,null));P(this,"clientFunctionInvocationHandlers",{});P(this,"clientFunctionInvocationHandlersPartial",{});P(this,"clientFunctionInvocationsByOperationId",{});P(this,"mdastExtensions",[]);P(this,"pyodide");P(this,"_lazyInitializePyodidePromise");P(this,"_completion");this.conversationsById.set(null,this.rootConversation),this.url=e.url,this.historyUrl=e.historyUrl,this.feedbackUrl=e.feedbackUrl,this.summarizeTitleUrl=e.summarizeTitleUrl,this.fetch=e.fetch??fetch.bind(window),this.node=_("div",null);const r=document.createElement("style");r.textContent=il+`
|
|
271
271
|
`+al+`
|
|
272
272
|
`+sl;const n=this.node.attachShadow({mode:"closed"});n.appendChild(r),n.appendChild(this.rootConversation.node),_o.installClientFunctions(this)}lazyInitializePyodideAsync(){return this._lazyInitializePyodidePromise??(this._lazyInitializePyodidePromise=this.doInitializePyodide())}async doInitializePyodide(){return this.pyodide=await o0({indexURL:"https://cdn.veracity.com/vcb/pyodide-0.26.4/pyodide/"}),this.pyodide.FS.mkdir("/mnt"),this.pyodide.FS.mkdir("/mnt/data"),this.pyodide}async runPythonCodeAsync(e){return await this.pyodide.loadPackagesFromImports(e),await this.pyodide.runPythonAsync(e)}get canSubmit(){return!this._completion}async LoadHistoryMessages(){let e=new li;await this.LoadLikesAsync();try{await e.initializeExistingAsync(this.fetch,this.historyUrl)}catch(r){let n=e.wasStopped;throw e=null,this.rootConversation.onErrorBeforeReadingBodyStreamStarted(r,n),r}try{for(;await e.waitToReadAsync();)for(const r of e.read()){switch(r.type){case Me.MessageInvokeClientFunctionResult:{const n=this.clientFunctionInvocationsByOperationId[r.operationId];n.context.conversationMessage.setClientInvocationResult(n,JSON.parse(r.result));continue}case Me.MessageInvokeClientFunctionError:{const n=this.clientFunctionInvocationsByOperationId[r.operationId];n.context.conversationMessage.setClientInvocationError(n,r.error);continue}}this.conversationsById.get(r.conversationId).handleMessage(r)}}catch(r){this.rootConversation.onErrorWhileReadingBodyStream(r,e.wasStopped)}finally{e=null,this.rootConversation.onRootConversationEndOfBodyStream()}}async SummarizeTitleAsync(e,r){const n=new li,i=this.rootConversation.messages.map(a=>a.toDto());i.push({role:"user",content:r});for(let a=0;a<i.length;++a)if(i[a].role==="user"){const s=a+1;for(;s<i.length&&i[s].role==="user";)i[a].content+=`
|
|
273
273
|
`+i[s].content,i.splice(s,1)}try{return await n.summarizeTitleAsync(this.fetch,this.summarizeTitleUrl,i,e)}catch(a){return console.error("Error summarizing title:",a),null}}async submitMessageAsync(e,r,n){if(!this.canSubmit)throw new Error("Cannot submit message because another message is currently being processed");this._completion=new li;const i=this.rootConversation.messages.map(a=>a.toDto());i.push({role:"user",content:e});for(let a=0;a<i.length;++a)if(i[a].role==="user"){const s=a+1;for(;s<i.length&&i[s].role==="user";)i[a].content+=`
|