/*! For license information please see stlite.js.LICENSE.txt */ var stlite;(()=>{var __webpack_modules__={14098:(e,t,n)=>{"use strict";n.d(t,{Iz:()=>o.I,cF:()=>r.c});n(4932);var r=n(30885),o=n(579)},579:(e,t,n)=>{"use strict";n.d(t,{I:()=>r});class r{constructor(){this.promise=new Promise(((e,t)=>{this.resolveInternal=e,this.rejectInternal=t}))}resolve(e){this.resolveInternal(e)}reject(e){this.rejectInternal(e)}}},30885:(e,t,n)=>{"use strict";n.d(t,{c:()=>o});const r=/\s#.*$/;function o(e){return e.split("\n").filter((e=>!e.startsWith("#"))).map((e=>e.replace(r,""))).map((e=>e.trim())).filter((e=>""!==e))}},4932:(e,t,n)=>{"use strict";new RegExp("[[(<=>!~;@]")},62847:(e,t,n)=>{"use strict";n.d(t,{y0:()=>N,uv:()=>E,IF:()=>k,F6:()=>b,BZ:()=>m,$i:()=>O,uP:()=>x,ee:()=>A,v_:()=>y,O0:()=>w,KA:()=>S,Wq:()=>v});var r=n(14098),o=n(38232);function i(e,t){if(function(e){try{return new URL(e),!0}catch{return!1}}(e))return e;if(e.startsWith("./")){if(null==t)throw new Error("baseUrl is null");return o.URLExt.join(t,e)}const n=t?new URL(t).origin:window.location.origin;return o.URLExt.join(n,e)}const a=new Map;class s{constructor(e){if(function(e){return e.origin===window.location.origin}(e))console.debug(`Loading a worker script from the same origin: ${e}`),this.worker=new Worker(e);else{console.debug(`Loading a worker script from a different origin: ${e}`);const t=function(e){const t=e.toString(),n=a.get(t);if(n)return console.debug(`Using a cached worker blob URL for ${t}`),n;const r=new Blob([`importScripts("${t}");`],{type:"text/javascript"}),o=URL.createObjectURL(r);return a.set(t,o),o}(e);this.worker=new Worker(t)}}}function l(e){if(!function(e){return"object"===typeof e&&null!=e&&Object.entries(e).every((e=>{let[t,n]=e;return"string"===typeof t&&function(e){return"string"===typeof e||"number"===typeof e||"boolean"===typeof e||null===e||void 0===e}(n)}))}(e))throw new Error(`Invalid streamlitConfig: ${e}`)}const c=n.p+"pypi/stlite_lib-0.1.0-py3-none-any.whl",u=n.p+"pypi/streamlit-1.39.0-cp312-none-any.whl",p=/\/+$/,d=/^\/+/;class b{constructor(e){var t,o,a;if(this._isDisposed=!1,this._loaded=new r.Iz,this.handleWebSocketMessage=null,this.basePath=(null!==(t=e.basePath)&&void 0!==t?t:window.location.pathname).replace(p,"").replace(d,""),this.hostConfigResponse=null!==(o=e.hostConfigResponse)&&void 0!==o?o:{},this.onProgress=e.onProgress,this.onLoad=e.onLoad,this.onError=e.onError,this.onModuleAutoLoad=e.onModuleAutoLoad,e.worker)this._worker=e.worker;else{const e=new s(new URL(n.p+n.u(1898),n.b));this._worker=e.worker}let b;if(this._worker.onmessage=e=>{const t=e.ports[0];this._processWorkerMessage(e.data,t)},!e.skipStliteWheelsInstall){console.debug("Custom wheel URLs:",{STLITE_LIB_WHEEL:c,STREAMLIT_WHEEL:u});b={stliteLib:i(c,e.wheelBaseUrl),streamlit:i(u,e.wheelBaseUrl)},console.debug("Custom wheel resolved URLs:",b)}null!=e.streamlitConfig&&l(e.streamlitConfig),this._workerInitData={entrypoint:e.entrypoint,files:e.files,archives:e.archives,requirements:e.requirements,prebuiltPackageNames:e.prebuiltPackageNames,pyodideUrl:e.pyodideUrl,wheels:b,streamlitConfig:e.streamlitConfig,idbfsMountpoints:e.idbfsMountpoints,moduleAutoLoad:null!==(a=e.moduleAutoLoad)&&void 0!==a&&a}}get loaded(){return this._loaded.promise}connectWebSocket(e){return this._asyncPostMessage({type:"websocket:connect",data:{path:e}})}sendWebSocketMessage(e){return this._asyncPostMessage({type:"websocket:send",data:{payload:e}})}onWebSocketMessage(e){this.handleWebSocketMessage=e}sendHttpRequest(e){return this._asyncPostMessage({type:"http:request",data:{request:e}},"http:response").then((e=>({...e.response,headers:new Headers(Object.fromEntries(e.response.headers))})))}writeFile(e,t,n){return this._asyncPostMessage({type:"file:write",data:{path:e,data:t,opts:n}})}renameFile(e,t){return this._asyncPostMessage({type:"file:rename",data:{oldPath:e,newPath:t}})}readFile(e,t){return this._asyncPostMessage({type:"file:read",data:{path:e,opts:t}},"reply:file:read").then((e=>e.content))}unlink(e){return this._asyncPostMessage({type:"file:unlink",data:{path:e}})}install(e){return this._asyncPostMessage({type:"install",data:{requirements:e}})}reboot(e){return this._asyncPostMessage({type:"reboot",data:{entrypoint:e}})}_asyncPostMessage(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"reply";return new Promise(((n,r)=>{const o=new MessageChannel;o.port1.onmessage=e=>{o.port1.close();const i=e.data;if(i.error)r(i.error);else{if(i.type!==t)throw new Error(`Unexpected reply type "${i.type}"`);n(i.data)}},this._worker.postMessage(e,[o.port2])}))}_processWorkerMessage(e,t){switch(e.type){case"event:start":this._worker.postMessage({type:"initData",data:this._workerInitData});break;case"event:progress":this.onProgress&&this.onProgress(e.data.message);break;case"event:error":this.onError&&this.onError(e.data.error);break;case"event:loaded":this._loaded.resolve(),this.onLoad&&this.onLoad();break;case"websocket:message":{const{payload:t}=e.data;this.handleWebSocketMessage&&this.handleWebSocketMessage(t);break}case"event:moduleAutoLoad":if(null==t)throw new Error("Port is required for moduleAutoLoad event");this.onModuleAutoLoad&&this.onModuleAutoLoad(e.data.packagesToLoad,new Promise(((e,n)=>{t.onmessage=r=>{const o=r.data;"moduleAutoLoad:success"===o.type?e(o.data.loadedPackages):n(o.error),t.close()}})))}}get isDisposed(){return this._isDisposed}dispose(){this.isDisposed||(this._worker.terminate(),this._isDisposed=!0)}}var f=n(37574),h=n(30969);const m=h.createContext(void 0),g=m.Provider;function O(e){const{children:t,kernel:n}=e,r=(0,h.useMemo)((()=>({kernel:n})),[n]);return(0,f.jsx)(g,{value:r,children:t})}function y(){const e=(0,h.useContext)(m);if(null==e)throw new Error("useStliteKernel() must be inside ");return e.kernel}function M(e,t){return e.sendHttpRequest({method:"GET",path:t,headers:{},body:""}).then((e=>{let{statusCode:t,headers:n,body:r}=e;if(200!==t)throw new Error(`Failed to fetch media object: ${t}`);const o=n.get("Content-Type"),i=new Blob([r],o?{type:o}:void 0);return URL.createObjectURL(i)}))}function z(e,t){return t.startsWith("/media")?M(e,t):Promise.resolve(t)}function A(e,t){return Promise.all([z(e,t.image),z(e,t.iconImage)]).then((e=>{let[n,r]=e;return t.image=n,t.iconImage=r,t}))}function v(e){const t=y(),[n,r]=(0,h.useState)(null);return(0,h.useEffect)((()=>{let n=!1;const o=[];return null==e?r(null):A(t,e).then((e=>{n||(o.push(e.image),o.push(e.iconImage),r(e))})),()=>{o.forEach((e=>{URL.revokeObjectURL(e)})),n=!0}}),[t,e]),n}function w(e){const t=y(),[n,r]=(0,h.useState)(e);return(0,h.useEffect)((()=>{if(null==t)return;if(!e.startsWith("/media"))return;let n=!1;const o=[];return M(t,e).then((e=>{n||(o.push(e),r(e))})),()=>{n=!0,o.forEach((e=>{URL.revokeObjectURL(e)}))}}),[t,e]),n}function S(e){const[t,n]=(0,h.useState)(e),r=y();return(0,h.useEffect)((()=>{if(null==r)return;let t=!1;const o=[],i=e.map((e=>null==e.url?e:e.url.startsWith("/media")?M(r,e.url).then((n=>t?e:(o.push(n),{...e,url:n}))):e));return Promise.all(i).then((e=>{t||n(e)})),()=>{t=!0,o.forEach((e=>{URL.revokeObjectURL(e)}))}}),[r,e]),t}function x(e,t){e.sendHttpRequest({method:"GET",path:`${t}?title=${encodeURIComponent(document.title)}`,headers:{},body:""}).then((e=>{let{statusCode:t,headers:n,body:r}=e;if(200!==t)return;const o=n.get("Content-Disposition"),i=null!=o?function(e){const t=/filename="([^"]*?)"/.exec(e);return null==t?"":t[1]}(o):"",a=n.get("Content-Type"),s=new Blob([r],a?{type:a}:void 0),l=URL.createObjectURL(s),c=document.createElement("a");c.setAttribute("href",l),c.setAttribute("target","_blank"),c.setAttribute("download",i),c.click(),URL.revokeObjectURL(l),c.remove()}))}const E="xxx",k=99999,q=E+":"+k.toString();function T(e){const t=e.split("/").slice(0,-1).join("/");return t.startsWith("/")?t:"/"+t}function _(e,t,n){const r=T(t);if(!(n.host===e&&n.pathname.startsWith(r)))return null;const o=n.pathname.slice(r.length);return o.startsWith("/")?o.slice(1):o}const R=h.forwardRef(((e,t)=>{let{src:n,...r}=e;const i=y(),[a,s]=(0,h.useState)();(0,h.useEffect)((()=>{if(null==i)return;if(!n.startsWith("/component"))return;let e=!1;return i.sendHttpRequest({method:"GET",path:n,headers:{},body:""}).then((t=>{let{statusCode:n,headers:r,body:o}=t;if(e)return;if(200!==n)return;const i=r.get("Content-Type");new Blob([o],i?{type:i}:void 0).text().then((t=>{e||s(t)}))})),()=>{e=!0}}),[i,n]);const l=(0,h.useCallback)((e=>{var t;const r=null===(t=e.target.contentWindow)||void 0===t?void 0:t.document;null!=r?function(e,t,n){const r=[],i=t.getElementsByTagName("script");for(const s of i){if(""===s.src)continue;const i=_(window.location.host,window.location.pathname,new URL(s.src));if(null==i)continue;const a=o.URLExt.join(n,i),l=e.sendHttpRequest({method:"GET",headers:{},path:a,body:""}).then((e=>{let{statusCode:n,headers:r,body:o}=e;if(200!==n)return;const i=r.get("Content-Type");return new Blob([o],i?{type:i}:void 0).text().then((e=>{const n=t.createElement("script");n.text=e,n.type="text/javascript",n.setAttribute("data-stlite",""),s.replaceWith(n)}))}));r.push(l)}const a=t.querySelectorAll("link[rel=stylesheet]");for(const s of a){const i=_(window.location.host,window.location.pathname,new URL(s.href));if(null==i)continue;const a=o.URLExt.join(n,i),l=e.sendHttpRequest({method:"GET",headers:{},path:a,body:""}).then((e=>{let{statusCode:n,headers:r,body:o}=e;if(200!==n)return;const i=r.get("Content-Type");return new Blob([o],i?{type:i}:void 0).text().then((e=>{const n=t.createElement("style");n.innerHTML=e,n.setAttribute("data-stlite",""),s.replaceWith(n)}))}));r.push(l)}Promise.all(r).then()}(i,r,T(n)):console.warn("document not found in iframe")}),[i,n]);return(0,f.jsx)("iframe",{...r,srcDoc:a,onLoad:l,ref:t})}));R.displayName="InnerIFrame";const C=h.forwardRef(((e,t)=>{const n=function(e,t){const n=(q+"/"+e).replace(/\/$/,""),r=new RegExp(`https?://${n}(/.*?$)`),o=t.match(r);return null==o?null:o[1]}(y().basePath,e.src);return null==n?(0,f.jsx)("iframe",{...e,ref:t}):(0,f.jsx)(R,{...e,src:n,ref:t})}));C.displayName="StliteCustomComponentIFrame";const N=C},69016:(e,t,n)=>{"use strict";n.d(t,{B:()=>o,td:()=>r});const r=3e3===+window.location.port,o=!1},95407:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r=n(30969).createContext(!1)},60906:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r=n(30969).createContext(!1)},64756:(e,t,n)=>{"use strict";n.d(t,{E:()=>i});var r=n(30969),o=n(2906);const i=r.createContext({isFullScreen:!1,setFullScreen:()=>{},addScriptFinishedHandler:()=>{},removeScriptFinishedHandler:()=>{},activeTheme:o.wE,setTheme:()=>{},availableThemes:[],addThemes:()=>{},onPageChange:()=>{},currentPageScriptHash:"",libConfig:{},fragmentIdsThisRun:[]})},94191:(e,t,n)=>{"use strict";n.d(t,{Z:()=>f,O:()=>b});n(30969);var r=n(91439),o=n(21434),i=n(35197),a=n(76921),s=n(83405),l=n(3254),c=n(32160),u=n(84215);const p=(0,s.Z)("div",{target:"e1eexb540"})((e=>{let{theme:t}=e;return{display:"flex",gap:t.spacing.sm,width:"100%",[`${l.Er}, ${l.xL}, ${u.m}`]:{position:"relative",top:"2px"},[`${c.l1} code`]:{paddingRight:t.spacing.lg}}}),"");var d=n(37574);function b(e){switch(e){case r.bZ.Format.ERROR:return a.h.ERROR;case r.bZ.Format.INFO:return a.h.INFO;case r.bZ.Format.SUCCESS:return a.h.SUCCESS;case r.bZ.Format.WARNING:return a.h.WARNING;default:throw new Error(`Unexpected alert type: ${e}`)}}function f(e){let{icon:t,body:n,kind:r,width:s}=e;const l={width:t?"calc(100% - 1.75rem)":"100%"};return(0,d.jsx)("div",{className:"stAlert","data-testid":"stAlert",children:(0,d.jsx)(a.Z,{width:s,kind:r,children:(0,d.jsxs)(p,{children:[t&&(0,d.jsx)(i.p,{iconValue:t,size:"lg",testid:"stAlertDynamicIcon"}),(0,d.jsx)(o.ZP,{source:n,allowHTML:!1,style:l})]})})})}},15945:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>V});var r=n(30969),o=n(7896),i=n(56666);function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function s(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0;return function(e){if(0===e.length||1===e.length)return e;var t=e.join(".");return l[t]||(l[t]=function(e){var t=e.length;return 0===t||1===t?e:2===t?[e[0],e[1],"".concat(e[0],".").concat(e[1]),"".concat(e[1],".").concat(e[0])]:3===t?[e[0],e[1],e[2],"".concat(e[0],".").concat(e[1]),"".concat(e[0],".").concat(e[2]),"".concat(e[1],".").concat(e[0]),"".concat(e[1],".").concat(e[2]),"".concat(e[2],".").concat(e[0]),"".concat(e[2],".").concat(e[1]),"".concat(e[0],".").concat(e[1],".").concat(e[2]),"".concat(e[0],".").concat(e[2],".").concat(e[1]),"".concat(e[1],".").concat(e[0],".").concat(e[2]),"".concat(e[1],".").concat(e[2],".").concat(e[0]),"".concat(e[2],".").concat(e[0],".").concat(e[1]),"".concat(e[2],".").concat(e[1],".").concat(e[0])]:t>=4?[e[0],e[1],e[2],e[3],"".concat(e[0],".").concat(e[1]),"".concat(e[0],".").concat(e[2]),"".concat(e[0],".").concat(e[3]),"".concat(e[1],".").concat(e[0]),"".concat(e[1],".").concat(e[2]),"".concat(e[1],".").concat(e[3]),"".concat(e[2],".").concat(e[0]),"".concat(e[2],".").concat(e[1]),"".concat(e[2],".").concat(e[3]),"".concat(e[3],".").concat(e[0]),"".concat(e[3],".").concat(e[1]),"".concat(e[3],".").concat(e[2]),"".concat(e[0],".").concat(e[1],".").concat(e[2]),"".concat(e[0],".").concat(e[1],".").concat(e[3]),"".concat(e[0],".").concat(e[2],".").concat(e[1]),"".concat(e[0],".").concat(e[2],".").concat(e[3]),"".concat(e[0],".").concat(e[3],".").concat(e[1]),"".concat(e[0],".").concat(e[3],".").concat(e[2]),"".concat(e[1],".").concat(e[0],".").concat(e[2]),"".concat(e[1],".").concat(e[0],".").concat(e[3]),"".concat(e[1],".").concat(e[2],".").concat(e[0]),"".concat(e[1],".").concat(e[2],".").concat(e[3]),"".concat(e[1],".").concat(e[3],".").concat(e[0]),"".concat(e[1],".").concat(e[3],".").concat(e[2]),"".concat(e[2],".").concat(e[0],".").concat(e[1]),"".concat(e[2],".").concat(e[0],".").concat(e[3]),"".concat(e[2],".").concat(e[1],".").concat(e[0]),"".concat(e[2],".").concat(e[1],".").concat(e[3]),"".concat(e[2],".").concat(e[3],".").concat(e[0]),"".concat(e[2],".").concat(e[3],".").concat(e[1]),"".concat(e[3],".").concat(e[0],".").concat(e[1]),"".concat(e[3],".").concat(e[0],".").concat(e[2]),"".concat(e[3],".").concat(e[1],".").concat(e[0]),"".concat(e[3],".").concat(e[1],".").concat(e[2]),"".concat(e[3],".").concat(e[2],".").concat(e[0]),"".concat(e[3],".").concat(e[2],".").concat(e[1]),"".concat(e[0],".").concat(e[1],".").concat(e[2],".").concat(e[3]),"".concat(e[0],".").concat(e[1],".").concat(e[3],".").concat(e[2]),"".concat(e[0],".").concat(e[2],".").concat(e[1],".").concat(e[3]),"".concat(e[0],".").concat(e[2],".").concat(e[3],".").concat(e[1]),"".concat(e[0],".").concat(e[3],".").concat(e[1],".").concat(e[2]),"".concat(e[0],".").concat(e[3],".").concat(e[2],".").concat(e[1]),"".concat(e[1],".").concat(e[0],".").concat(e[2],".").concat(e[3]),"".concat(e[1],".").concat(e[0],".").concat(e[3],".").concat(e[2]),"".concat(e[1],".").concat(e[2],".").concat(e[0],".").concat(e[3]),"".concat(e[1],".").concat(e[2],".").concat(e[3],".").concat(e[0]),"".concat(e[1],".").concat(e[3],".").concat(e[0],".").concat(e[2]),"".concat(e[1],".").concat(e[3],".").concat(e[2],".").concat(e[0]),"".concat(e[2],".").concat(e[0],".").concat(e[1],".").concat(e[3]),"".concat(e[2],".").concat(e[0],".").concat(e[3],".").concat(e[1]),"".concat(e[2],".").concat(e[1],".").concat(e[0],".").concat(e[3]),"".concat(e[2],".").concat(e[1],".").concat(e[3],".").concat(e[0]),"".concat(e[2],".").concat(e[3],".").concat(e[0],".").concat(e[1]),"".concat(e[2],".").concat(e[3],".").concat(e[1],".").concat(e[0]),"".concat(e[3],".").concat(e[0],".").concat(e[1],".").concat(e[2]),"".concat(e[3],".").concat(e[0],".").concat(e[2],".").concat(e[1]),"".concat(e[3],".").concat(e[1],".").concat(e[0],".").concat(e[2]),"".concat(e[3],".").concat(e[1],".").concat(e[2],".").concat(e[0]),"".concat(e[3],".").concat(e[2],".").concat(e[0],".").concat(e[1]),"".concat(e[3],".").concat(e[2],".").concat(e[1],".").concat(e[0])]:void 0}(e)),l[t]}(e.filter((function(e){return"token"!==e}))).reduce((function(e,t){return s(s({},e),n[t])}),t)}function u(e){return e.join(" ")}function p(e){var t=e.node,n=e.stylesheet,i=e.style,a=void 0===i?{}:i,l=e.useInlineStyles,d=e.key,b=t.properties,f=t.type,h=t.tagName,m=t.value;if("text"===f)return m;if(h){var g,O=function(e,t){var n=0;return function(r){return n+=1,r.map((function(r,o){return p({node:r,stylesheet:e,useInlineStyles:t,key:"code-segment-".concat(n,"-").concat(o)})}))}}(n,l);if(l){var y=Object.keys(n).reduce((function(e,t){return t.split(".").forEach((function(t){e.includes(t)||e.push(t)})),e}),[]),M=b.className&&b.className.includes("token")?["token"]:[],z=b.className&&M.concat(b.className.filter((function(e){return!y.includes(e)})));g=s(s({},b),{},{className:u(z)||void 0,style:c(b.className,Object.assign({},b.style,a),n)})}else g=s(s({},b),{},{className:u(b.className)});var A=O(t.children);return r.createElement(h,(0,o.Z)({key:d},g),A)}}var d=n(59740),b=n(38777);const f=function(e,t){return-1!==e.listLanguages().indexOf(t)};var h=["language","children","style","customStyle","codeTagProps","useInlineStyles","showLineNumbers","showInlineLineNumbers","startingLineNumber","lineNumberContainerStyle","lineNumberStyle","wrapLines","wrapLongLines","lineProps","renderer","PreTag","CodeTag","code","astGenerator"];function m(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function g(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],r=0;r2&&void 0!==arguments[2]?arguments[2]:[];return t||c.length>0?function(e,t){return A({children:e,lineNumber:t,lineNumberStyle:s,largestLineNumber:a,showInlineLineNumbers:o,lineProps:n,className:arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],showLineNumbers:r,wrapLongLines:l})}(e,i,c):function(e,t){if(r&&t&&o){var n=z(s,t,a);e.unshift(M(t,n))}return e}(e,i)}for(var h=function(){var e=u[b],t=e.children[0].value;if(t.match(O)){var n=t.split("\n");n.forEach((function(t,o){var a=r&&p.length+i,s={type:"text",value:"".concat(t,"\n")};if(0===o){var l=f(u.slice(d+1,b).concat(A({children:[s],className:e.properties.className})),a);p.push(l)}else if(o===n.length-1){var c=u[b+1]&&u[b+1].children&&u[b+1].children[0],h={type:"text",value:"".concat(t)};if(c){var m=A({children:[h],className:e.properties.className});u.splice(b+1,0,m)}else{var g=f([h],a,e.properties.className);p.push(g)}}else{var O=f([s],a,e.properties.className);p.push(O)}})),d=b}b++};b code[class*="language-"]':{background:"#f5f2f0",padding:".1em",borderRadius:".3em",whiteSpace:"normal"},comment:{color:"slategray"},prolog:{color:"slategray"},doctype:{color:"slategray"},cdata:{color:"slategray"},punctuation:{color:"#999"},namespace:{Opacity:".7"},property:{color:"#905"},tag:{color:"#905"},boolean:{color:"#905"},number:{color:"#905"},constant:{color:"#905"},symbol:{color:"#905"},deleted:{color:"#905"},selector:{color:"#690"},"attr-name":{color:"#690"},string:{color:"#690"},char:{color:"#690"},builtin:{color:"#690"},inserted:{color:"#690"},operator:{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},entity:{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)",cursor:"help"},url:{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},".language-css .token.string":{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},".style .token.string":{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},atrule:{color:"#07a"},"attr-value":{color:"#07a"},keyword:{color:"#07a"},function:{color:"#DD4A68"},"class-name":{color:"#DD4A68"},regex:{color:"#e90"},important:{color:"#e90",fontWeight:"bold"},variable:{color:"#e90"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"}},function(e){var t=e.language,n=e.children,o=e.style,i=void 0===o?q:o,a=e.customStyle,s=void 0===a?{}:a,l=e.codeTagProps,c=void 0===l?{className:t?"language-".concat(t):void 0,style:g(g({},i['code[class*="language-"]']),i['code[class*="language-'.concat(t,'"]')])}:l,u=e.useInlineStyles,p=void 0===u||u,b=e.showLineNumbers,m=void 0!==b&&b,O=e.showInlineLineNumbers,M=void 0===O||O,z=e.startingLineNumber,A=void 0===z?1:z,v=e.lineNumberContainerStyle,E=e.lineNumberStyle,T=void 0===E?{}:E,_=e.wrapLines,R=e.wrapLongLines,C=void 0!==R&&R,N=e.lineProps,I=void 0===N?{}:N,W=e.renderer,P=e.PreTag,L=void 0===P?"pre":P,j=e.CodeTag,D=void 0===j?"code":j,B=e.code,F=void 0===B?(Array.isArray(n)?n[0]:n)||"":B,V=e.astGenerator,U=(0,d.Z)(e,h);V=V||k;var H=m?r.createElement(y,{containerStyle:v,codeStyle:c.style||{},numberStyle:T,startingLineNumber:A,codeString:F}):null,X=i.hljs||i['pre[class*="language-"]']||{backgroundColor:"#fff"},G=x(V)?"hljs":"prismjs",$=p?Object.assign({},U,{style:Object.assign({},X,s)}):Object.assign({},U,{className:U.className?"".concat(G," ").concat(U.className):G,style:Object.assign({},s)});if(c.style=g(g({},c.style),{},C?{whiteSpace:"pre-wrap"}:{whiteSpace:"pre"}),!V)return r.createElement(L,$,H,r.createElement(D,c,F));(void 0===_&&W||C)&&(_=!0),W=W||S;var K=[{type:"text",value:F}],Y=function(e){var t=e.astGenerator,n=e.language,r=e.code,o=e.defaultCodeValue;if(x(t)){var i=f(t,n);return"text"===n?{value:o,language:"text"}:i?t.highlight(n,r):t.highlightAuto(r)}try{return n&&"text"!==n?{value:t.highlight(r,n)}:{value:o}}catch(a){return{value:o}}}({astGenerator:V,language:t,code:F,defaultCodeValue:K});null===Y.language&&(Y.value=K);var Z=w(Y,_,I,m,M,A,Y.value.length+A,T,C);return r.createElement(L,$,r.createElement(D,c,!M&&H,W({rows:Z,stylesheet:i,useInlineStyles:p})))});T.supportedLanguages=["abap","abnf","actionscript","ada","agda","al","antlr4","apacheconf","apex","apl","applescript","aql","arduino","arff","asciidoc","asm6502","asmatmel","aspnet","autohotkey","autoit","avisynth","avro-idl","bash","basic","batch","bbcode","bicep","birb","bison","bnf","brainfuck","brightscript","bro","bsl","c","cfscript","chaiscript","cil","clike","clojure","cmake","cobol","coffeescript","concurnas","coq","cpp","crystal","csharp","cshtml","csp","css-extras","css","csv","cypher","d","dart","dataweave","dax","dhall","diff","django","dns-zone-file","docker","dot","ebnf","editorconfig","eiffel","ejs","elixir","elm","erb","erlang","etlua","excel-formula","factor","false","firestore-security-rules","flow","fortran","fsharp","ftl","gap","gcode","gdscript","gedcom","gherkin","git","glsl","gml","gn","go-module","go","graphql","groovy","haml","handlebars","haskell","haxe","hcl","hlsl","hoon","hpkp","hsts","http","ichigojam","icon","icu-message-format","idris","iecst","ignore","inform7","ini","io","j","java","javadoc","javadoclike","javascript","javastacktrace","jexl","jolie","jq","js-extras","js-templates","jsdoc","json","json5","jsonp","jsstacktrace","jsx","julia","keepalived","keyman","kotlin","kumir","kusto","latex","latte","less","lilypond","liquid","lisp","livescript","llvm","log","lolcode","lua","magma","makefile","markdown","markup-templating","markup","matlab","maxscript","mel","mermaid","mizar","mongodb","monkey","moonscript","n1ql","n4js","nand2tetris-hdl","naniscript","nasm","neon","nevod","nginx","nim","nix","nsis","objectivec","ocaml","opencl","openqasm","oz","parigp","parser","pascal","pascaligo","pcaxis","peoplecode","perl","php-extras","php","phpdoc","plsql","powerquery","powershell","processing","prolog","promql","properties","protobuf","psl","pug","puppet","pure","purebasic","purescript","python","q","qml","qore","qsharp","r","racket","reason","regex","rego","renpy","rest","rip","roboconf","robotframework","ruby","rust","sas","sass","scala","scheme","scss","shell-session","smali","smalltalk","smarty","sml","solidity","solution-file","soy","sparql","splunk-spl","sqf","sql","squirrel","stan","stylus","swift","systemd","t4-cs","t4-templating","t4-vb","tap","tcl","textile","toml","tremor","tsx","tt2","turtle","twig","typescript","typoscript","unrealscript","uorazor","uri","v","vala","vbnet","velocity","verilog","vhdl","vim","visual-basic","warpscript","wasm","web-idl","wiki","wolfram","wren","xeora","xml-doc","xojo","xquery","yaml","yang","zig"];const _=T;var R=n(26303),C=n.n(R),N=n(24974),I=n.n(N);function W(){return W=Object.assign||function(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var L=(0,r.forwardRef)((function(e,t){var n=e.color,o=void 0===n?"currentColor":n,i=e.size,a=void 0===i?24:i,s=P(e,["color","size"]);return r.createElement("svg",W({ref:t,xmlns:"http://www.w3.org/2000/svg",width:a,height:a,viewBox:"0 0 24 24",fill:"none",stroke:o,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},s),r.createElement("rect",{x:"9",y:"9",width:"13",height:"13",rx:"2",ry:"2"}),r.createElement("path",{d:"M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"}))}));L.propTypes={color:I().string,size:I().oneOfType([I().string,I().number])},L.displayName="Copy";const j=L;var D=n(32160),B=n(37574);const F=e=>{let{text:t}=e;const n=(0,r.useRef)(null),o=(0,r.useRef)(null);return(0,r.useEffect)((()=>{const e=n.current;var t;null!==e&&(o.current=new(C())(e,{container:null!==(t=e.parentElement)&&void 0!==t?t:void 0}));return()=>{null!==o.current&&o.current.destroy()}}),[]),(0,B.jsx)(D.qR,{"data-testid":"stCodeCopyButton",title:"Copy to clipboard",ref:n,"data-clipboard-text":t,style:{top:0,right:0},children:(0,B.jsx)(j,{size:"16"})})};function V(e){let{language:t,showLineNumbers:n,wrapLines:o,children:i}=e;const a=(0,r.useCallback)((e=>{let{rows:t,stylesheet:n,useInlineStyles:r}=e;return t.map(((e,t)=>{const o=e.children;if(o){const t=o.shift();t&&(e.children=[t,{children:o,properties:{className:[]},tagName:"span",type:"element"}])}return p({node:e,stylesheet:n,useInlineStyles:r,key:t})}))}),[]);return(0,B.jsxs)(D.l1,{className:"stCode","data-testid":"stCode",children:[(0,B.jsx)(D.nr,{children:(0,B.jsx)(_,{language:t,PreTag:"div",customStyle:{backgroundColor:"transparent"},style:{},lineNumberStyle:{},showLineNumbers:n,wrapLongLines:o,renderer:n&&o?a:void 0,children:i})}),"string"===typeof i&&""!==i.trim()&&(0,B.jsx)(D.ef,{children:(0,B.jsx)(F,{text:i})})]})}},32160:(e,t,n)=>{"use strict";n.d(t,{ef:()=>i,l1:()=>a,nr:()=>o,qR:()=>s});var r=n(83405);const o=(0,r.Z)("pre",{target:"e1ycw9pz3"})((e=>{let{theme:t}=e;return{margin:0,paddingRight:"2.75rem",color:t.colors.bodyText,borderRadius:t.radii.default,".comment.linenumber":{color:t.colors.fadedText40,fontSize:t.fontSizes.twoSm,alignSelf:"center",minWidth:`${t.spacing.threeXL} !important`},".token.comment, .token.prolog, .token.doctype, .token.cdata":{color:"slategray"},".token.punctuation":{color:"#999"},".namespace":{opacity:.7},".token.attr-name, .token.property, .token.variable":{color:t.colors.lightBlue80},".token.boolean, .token.constant, .token.symbol":{color:t.colors.green70},".token.number, .token.regex":{color:t.colors.blueGreen80},".token.string, .token.char, .token.attr-value":{color:t.colors.green80},".token.operator, .token.entity":{color:t.colors.orange90},".token.url":{color:t.colors.purple80},".token.decorator, .token.atrule":{color:t.colors.orange90},".token.keyword, .token.tag":{color:t.colors.blue70},".token.function, .token.class-name, .token.selector":{color:t.colors.blue70,fontWeight:"bold"},".token.important":{color:t.colors.red70,fontWeight:"bold"},".token.comment":{color:t.colors.gray70,fontStyle:"italic"},".token.italic":{fontStyle:"italic"},".token.entity":{cursor:"help"},".token.deleted.line, .token.deleted.prefix":{color:t.colors.red70},".token.inserted.line, .token.inserted.prefix":{color:t.colors.green70},".token.unchanged.line":{color:t.colors.gray70}}}),""),i=(0,r.Z)("div",{target:"e1ycw9pz2"})((e=>{let{theme:t}=e;return{opacity:0,padding:`${t.spacing.sm} ${t.spacing.sm} 0 0`,top:0,right:0,position:"absolute",width:"100%",height:"100%",backgroundColor:t.colors.transparent,zIndex:t.zIndices.sidebar+1,display:"flex",justifyContent:"flex-end",alignItems:"flex-start",transition:"opacity 300ms 150ms",pointerEvents:"none"}}),""),a=(0,r.Z)("div",{target:"e1ycw9pz1"})((e=>{let{theme:t}=e;return{position:"relative",marginLeft:t.spacing.none,marginRight:t.spacing.none,marginTop:t.spacing.none,marginBottom:void 0,"&:hover":{[`${i}`]:{opacity:1}}}}),""),s=(0,r.Z)("button",{target:"e1ycw9pz0"})((e=>{let{theme:t}=e;return{pointerEvents:"auto",height:t.iconSizes.threeXL,width:t.iconSizes.threeXL,padding:t.spacing.none,border:"none",backgroundColor:t.colors.transparent,color:t.colors.fadedText60,transform:"scale(0)",[`${a}:hover &, &:active, &:focus, &:hover`]:{opacity:1,transform:"scale(1)",outline:"none",transition:"none",color:t.colors.bodyText}}}),"")},24760:(e,t,n)=>{"use strict";n.d(t,{O:()=>m});var r=n(30969),o=n(91439),i=n(83405);const a={animationDuration:"750ms",animationName:n(54470).F4` 0%, 100% { opacity: 0.5; } 50% { opacity: 1; } `,animationTimingFunction:"ease-in",animationDirection:"normal",animationIterationCount:"infinite"},s=(0,i.Z)("div",{target:"e1lmee1o4"})((e=>{let{theme:t}=e;return{display:"flex",flexDirection:"column",gap:t.spacing.lg}}),""),l=(0,i.Z)("div",{target:"e1lmee1o3"})((e=>{let{theme:t}=e;return{height:t.fontSizes.fourXL,width:"17rem",maxWidth:"75%",background:t.colors.skeletonBackgroundColor||t.colors.darkenedBgMix15,borderRadius:t.radii.default,...a}}),""),c=(0,i.Z)("div",{target:"e1lmee1o2"})((e=>{let{theme:t}=e;return{display:"flex",flexDirection:"column",gap:t.spacing.sm}}),""),u=(0,i.Z)("div",{target:"e1lmee1o1"})((e=>{let{theme:t,width:n}=e;return{height:t.fontSizes.md,width:n,background:t.colors.skeletonBackgroundColor||t.colors.darkenedBgMix15,borderRadius:t.radii.default,...a}}),""),p=(0,i.Z)("div",{target:"e1lmee1o0"})((e=>{let{theme:t,height:n,width:r}=e;return{height:null!==n&&void 0!==n?n:t.fontSizes.fourXL,width:null!==r&&void 0!==r?r:"100%",background:t.colors.skeletonBackgroundColor||t.colors.darkenedBgMix15,borderRadius:t.radii.default,...a}}),"");var d=n(37574);const b=()=>{const[e,t]=(0,r.useState)(!1);return(0,r.useEffect)((()=>{const e=setTimeout((()=>{t(!0)}),500);return()=>{clearTimeout(e)}}),[]),e?(0,d.jsxs)(s,{className:"stAppSkeleton","data-testid":"stAppSkeleton",children:[(0,d.jsx)(l,{}),(0,d.jsxs)(c,{children:[(0,d.jsx)(u,{width:"98%"}),(0,d.jsx)(u,{width:"100%"}),(0,d.jsx)(u,{width:"96%"}),(0,d.jsx)(u,{width:"65%"})]}),(0,d.jsx)(p,{width:"75%",height:"9rem"})]}):(0,d.jsx)(d.Fragment,{})},f=(0,r.memo)(b),h=e=>{let{element:t}=e;return t.style==o.Od.SkeletonStyle.APP?(0,d.jsx)(f,{}):(0,d.jsx)(p,{className:"stSkeleton","data-testid":"stSkeleton",height:null!==t&&void 0!==t&&t.height?t.height+"px":void 0})},m=(0,r.memo)(h)},76921:(e,t,n)=>{"use strict";n.d(t,{h:()=>M,Z:()=>A});var r=n(30969),o=n(96696),i=n(3147),a=n(70692);function s(e){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s(e)}function l(){return l=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{theme:t}=e;return{pre:{backgroundColor:t.colors.transparent,paddingTop:t.spacing.lg,paddingBottom:t.spacing.lg,paddingRight:t.spacing.lg,paddingLeft:t.spacing.lg,border:`${t.sizes.borderWidth} solid ${t.colors.borderColor}`,"pre, code":{backgroundColor:t.colors.transparent,color:"inherit"}},code:{backgroundColor:t.colors.transparent,padding:t.spacing.none},"pre, code":{color:"inherit"},a:{color:"inherit",textDecoration:"underline"}}}),"");var y=n(37574);let M=function(e){return e.ERROR="error",e.INFO="info",e.SUCCESS="success",e.WARNING="warning",e}({});function z(e){switch(e){case M.ERROR:return o.TO.negative;case M.INFO:return o.TO.info;case M.SUCCESS:return o.TO.positive;case M.WARNING:return o.TO.warning;default:throw new Error(`Unexpected alert type: ${e}`)}}function A(e){let{kind:t,width:n,children:r}=e;const o=(0,g.u)(),i=t.charAt(0).toUpperCase()+t.slice(1);return(0,y.jsx)(m,{kind:z(t),overrides:{Body:{style:{marginTop:o.spacing.none,marginBottom:o.spacing.none,marginLeft:o.spacing.none,marginRight:o.spacing.none,width:n?n.toString():void 0,border:0,borderTopRightRadius:o.radii.default,borderBottomRightRadius:o.radii.default,borderTopLeftRadius:o.radii.default,borderBottomLeftRadius:o.radii.default},props:{"data-testid":"stAlertContainer",className:"stAlertContainer"}},InnerContainer:{style:{width:"100%",lineHeight:o.lineHeights.alert}}},children:(0,y.jsx)(O,{"data-testid":`stAlertContent${i}`,children:r})})}},64372:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>i});n(30969);var r=n(1454),o=n(37574);const i=function(e){var t,n;const{kind:i,size:a,disabled:s,onClick:l,fluidWidth:c,children:u,autoFocus:p}=e;let d=r.Db;return i===r.nW.SECONDARY?d=r.H7:i===r.nW.TERTIARY?d=r.ob:i===r.nW.LINK?d=r.UN:i===r.nW.SEGMENT?d=r.Qh:i===r.nW.SEGMENT_ACTIVE?d=r.AT:i===r.nW.PILLS?d=r.eY:i===r.nW.PILLS_ACTIVE?d=r.c7:i===r.nW.BORDERLESS_ICON?d=r.a1:i===r.nW.BORDERLESS_ICON_ACTIVE?d=r.qt:i===r.nW.MINIMAL?d=r.hV:i===r.nW.PRIMARY_FORM_SUBMIT?d=r.Hb:i===r.nW.SECONDARY_FORM_SUBMIT?d=r.MZ:i===r.nW.HEADER_BUTTON?d=r.X3:i===r.nW.HEADER_NO_PADDING?d=r.s8:i===r.nW.ELEMENT_TOOLBAR&&(d=r.Zc),(0,o.jsx)(d,{kind:i,size:null!==a&&void 0!==a?a:r.V5.MEDIUM,fluidWidth:c||!1,disabled:s||!1,onClick:l||(()=>{}),autoFocus:p||!1,"data-testid":null!==(t=e["data-testid"])&&void 0!==t?t:`stBaseButton-${i}`,"aria-label":null!==(n=e["aria-label"])&&void 0!==n?n:"",children:u})}},93548:(e,t,n)=>{"use strict";n.d(t,{t:()=>s});n(30969);var r=n(63705),o=n(62606),i=n(1454),a=n(37574);function s(e){let{children:t,help:n,placement:s}=e;return n?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(i.PM,{children:(0,a.jsx)(r.Z,{content:n,placement:s||o.u.TOP,children:t})}),(0,a.jsx)(i.zU,{children:t})]}):t}},78482:(e,t,n)=>{"use strict";n.d(t,{D:()=>a});n(30969);var r=n(35197),o=n(21434),i=n(37574);const a=e=>{let{icon:t,label:n}=e;const a=t.startsWith(":material"),s=a?"0 sm 0 0":"0 md 0 0";return(0,i.jsxs)(i.Fragment,{children:[t&&(0,i.jsx)(r.p,{size:a?"lg":"base",margin:n?s:"0",color:"inherit",iconValue:t}),n&&(0,i.jsx)(o.ZP,{source:n,allowHTML:!1,isLabel:!0,largerLabel:!0,disableLinks:!0})]})}},1454:(e,t,n)=>{"use strict";n.d(t,{AT:()=>g,Db:()=>c,H7:()=>u,Hb:()=>f,MZ:()=>h,PM:()=>w,Qh:()=>m,UN:()=>d,V5:()=>a,X3:()=>M,Zc:()=>x,a1:()=>A,c7:()=>y,eY:()=>O,hV:()=>b,nW:()=>i,ob:()=>p,qt:()=>v,s8:()=>z,zU:()=>S});var r=n(83405),o=n(41045);let i=function(e){return e.PRIMARY="primary",e.SECONDARY="secondary",e.TERTIARY="tertiary",e.LINK="link",e.SEGMENT="icon",e.SEGMENT_ACTIVE="iconActive",e.BORDERLESS_ICON="borderlessIcon",e.BORDERLESS_ICON_ACTIVE="borderlessIconActive",e.MINIMAL="minimal",e.PRIMARY_FORM_SUBMIT="primaryFormSubmit",e.SECONDARY_FORM_SUBMIT="secondaryFormSubmit",e.HEADER_BUTTON="header",e.HEADER_NO_PADDING="headerNoPadding",e.ELEMENT_TOOLBAR="elementToolbar",e.PILLS="pills",e.PILLS_ACTIVE="pillsActive",e}({}),a=function(e){return e.XSMALL="xsmall",e.SMALL="small",e.MEDIUM="medium",e.LARGE="large",e}({});function s(e,t){switch(e){case a.XSMALL:return{padding:`${t.spacing.twoXS} ${t.spacing.sm}`,fontSize:t.fontSizes.sm};case a.SMALL:return{padding:`${t.spacing.twoXS} ${t.spacing.md}`};case a.LARGE:return{padding:`${t.spacing.md} ${t.spacing.md}`};default:return{padding:`${t.spacing.xs} ${t.spacing.md}`}}}const l=(0,r.Z)("button",{target:"ef3psqc18"})((e=>{let{fluidWidth:t,size:n,theme:r}=e;const i="number"==typeof t?`${t}px`:"100%";return{display:"inline-flex",alignItems:"center",justifyContent:"center",fontWeight:r.fontWeights.normal,padding:`${r.spacing.xs} ${r.spacing.md}`,borderRadius:r.radii.default,minHeight:r.sizes.minElementHeight,margin:r.spacing.none,lineHeight:r.lineHeights.base,color:"inherit",width:t?i:"auto",userSelect:"none","&:focus":{outline:"none"},"&:focus-visible":{boxShadow:`0 0 0 0.2rem ${(0,o.DZ)(r.colors.primary,.5)}`},...s(n,r)}}),""),c=(0,r.Z)(l,{target:"ef3psqc17"})((e=>{let{theme:t}=e;return{backgroundColor:t.colors.primary,color:t.colors.white,border:`${t.sizes.borderWidth} solid ${t.colors.primary}`,"&:hover":{backgroundColor:(0,o._j)(t.colors.primary,.05)},"&:active":{backgroundColor:"transparent",color:t.colors.primary},"&:disabled, &:disabled:hover, &:disabled:active":{borderColor:t.colors.borderColor,backgroundColor:t.colors.transparent,color:t.colors.fadedText40,cursor:"not-allowed"}}}),""),u=(0,r.Z)(l,{target:"ef3psqc16"})((e=>{let{theme:t}=e;return{backgroundColor:t.colors.lightenedBg05,border:`${t.sizes.borderWidth} solid ${t.colors.borderColor}`,"&:hover":{borderColor:t.colors.primary,color:t.colors.primary},"&:active":{color:t.colors.white,borderColor:t.colors.primary,backgroundColor:t.colors.primary},"&:focus:not(:active)":{borderColor:t.colors.primary,color:t.colors.primary},"&:disabled, &:disabled:hover, &:disabled:active":{borderColor:t.colors.borderColor,backgroundColor:t.colors.transparent,color:t.colors.fadedText40,cursor:"not-allowed"}}}),""),p=(0,r.Z)(l,{target:"ef3psqc15"})((e=>{let{theme:t}=e;return{backgroundColor:t.colors.transparent,border:`${t.sizes.borderWidth} solid ${t.colors.transparent}`,"&:hover":{borderColor:t.colors.transparent,color:t.colors.primary},"&:active":{color:t.colors.primary,borderColor:t.colors.transparent,backgroundColor:t.colors.transparent},"&:focus:not(:active)":{borderColor:t.colors.transparent,color:t.colors.primary},"&:disabled, &:disabled:hover, &:disabled:active":{backgroundColor:t.colors.lightGray,borderColor:t.colors.transparent,color:t.colors.gray}}}),""),d=(0,r.Z)(l,{target:"ef3psqc14"})((e=>{let{theme:t}=e;return{backgroundColor:t.colors.transparent,padding:t.spacing.none,border:"none",color:t.colors.primary,"&:hover":{textDecoration:"underline"},"&:active":{backgroundColor:t.colors.transparent,color:t.colors.primary,textDecoration:"underline"},"&:disabled, &:disabled:hover, &:disabled:active":{backgroundColor:t.colors.lightGray,borderColor:t.colors.transparent,color:t.colors.gray}}}),""),b=(0,r.Z)(l,{target:"ef3psqc13"})((e=>{let{theme:t}=e;return{backgroundColor:t.colors.transparent,border:"none",boxShadow:"none",padding:t.spacing.none,"&:hover, &:active, &:focus-visible":{color:t.colors.primary}}}),""),f=(0,r.Z)(c,{target:"ef3psqc12"})(""),h=(0,r.Z)(u,{target:"ef3psqc11"})(""),m=(0,r.Z)(l,{target:"ef3psqc10"})((e=>{let{theme:t}=e;return{backgroundColor:t.colors.transparent,border:`${t.sizes.borderWidth} solid ${t.colors.borderColor}`,flex:"1 1 0",padding:0,"&:hover":{borderColor:t.colors.primary,color:t.colors.primary},"&:active":{backgroundColor:t.colors.primary,borderColor:t.colors.primary,color:t.colors.white},"&:not(:active)":{boxShadow:"none"},"&:disabled, &:disabled:hover, &:disabled:active":{backgroundColor:t.colors.lightGray,borderColor:t.colors.transparent,color:t.colors.gray,cursor:"not-allowed"}}}),""),g=(0,r.Z)(m,{target:"ef3psqc9"})((e=>{let{theme:t}=e;return{backgroundColor:t.colors.primary,borderColor:t.colors.primary,color:t.colors.white,"&:hover":{backgroundColor:t.colors.transparent,borderColor:t.colors.primary,color:t.colors.primary}}}),""),O=(0,r.Z)(l,{target:"ef3psqc8"})((e=>{let{theme:t}=e;return{background:t.colors.bgColor,color:t.colors.text,border:`${t.sizes.borderWidth} solid ${t.colors.borderColor}`,borderRadius:t.radii.xxxl,padding:`${t.spacing.twoXS} ${t.spacing.md}`,fontSize:t.fontSizes.sm,lineHeight:t.lineHeights.base,fontWeight:t.fontWeights.normal,height:t.sizes.largeLogoHeight,minHeight:t.sizes.largeLogoHeight,maxWidth:t.sizes.contentMaxWidth,gap:t.spacing.xs,whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis","&:hover":{borderColor:t.colors.primary,color:t.colors.primary},"&:disabled, &:disabled:hover, &:disabled:active":{color:t.colors.fadedText20,borderColor:t.colors.fadedText20,cursor:"not-allowed"},"& div":{textOverflow:"ellipsis",overflow:"hidden"},"& p":{fontSize:t.fontSizes.sm,textOverflow:"ellipsis",overflow:"hidden"}}}),""),y=(0,r.Z)(O,{target:"ef3psqc7"})((e=>{let{theme:t}=e;return{backgroundColor:(0,o.DZ)(t.colors.primary,.9),borderColor:t.colors.primary,color:t.colors.primary,"&:hover":{backgroundColor:(0,o.DZ)(t.colors.primary,.8),borderColor:t.colors.primary,color:t.colors.primary}}}),""),M=(0,r.Z)(l,{target:"ef3psqc6"})((e=>{let{theme:t}=e;return{backgroundColor:t.colors.transparent,border:"none",padding:t.spacing.sm,fontSize:t.fontSizes.sm,marginLeft:t.spacing.threeXS,marginRight:t.spacing.threeXS,lineHeight:t.lineHeights.none,minWidth:t.spacing.threeXL,minHeight:t.spacing.threeXL,"&:focus":{outline:"none"},"&:focus-visible":{boxShadow:`0 0 0 0.2rem ${(0,o.DZ)(t.colors.gray90,.8)}`},"&:hover":{backgroundColor:t.colors.darkenedBgMix25},"&:disabled, &:disabled:hover, &:disabled:active":{backgroundColor:t.colors.lightGray,borderColor:t.colors.transparent,color:t.colors.gray}}}),""),z=(0,r.Z)(M,{target:"ef3psqc5"})((()=>({padding:0})),""),A=(0,r.Z)(l,{target:"ef3psqc4"})((e=>{let{size:t,theme:n}=e;const r={[a.XSMALL]:n.spacing.threeXS,[a.SMALL]:n.spacing.twoXS,[a.MEDIUM]:n.spacing.md,[a.LARGE]:n.spacing.lg};return{backgroundColor:n.colors.transparent,color:n.colors.fadedText60,padding:r[t],marginLeft:n.spacing.none,marginRight:n.spacing.none,border:"none",display:"flex",minHeight:"unset","&:focus":{boxShadow:"none",outline:"none"},"&:hover":{color:n.colors.text},"&:disabled, &:disabled:hover, &:disabled:active":{color:n.colors.fadedText20,cursor:"not-allowed"}}}),""),v=(0,r.Z)(A,{target:"ef3psqc3"})((e=>{let{theme:t}=e;return{color:t.colors.bodyText}}),""),w=(0,r.Z)("div",{target:"ef3psqc2"})((e=>{let{theme:t}=e;return{display:"block",[`@media (max-width: ${t.breakpoints.sm})`]:{display:"none"}}}),""),S=(0,r.Z)("div",{target:"ef3psqc1"})((e=>{let{theme:t}=e;return{display:"none",[`@media (max-width: ${t.breakpoints.sm})`]:{display:"block"}}}),""),x=(0,r.Z)(l,{target:"ef3psqc0"})((e=>{let{theme:t}=e;return{backgroundColor:t.colors.transparent,border:"none",padding:t.spacing.xs,fontSize:t.fontSizes.twoSm,marginLeft:t.spacing.none,marginRight:t.spacing.none,display:"flex",gap:t.spacing.xs,alignItems:"center",minHeight:"unset",lineHeight:t.iconSizes.md,"&:focus":{outline:"none",border:"none",boxShadow:"none"},"&:focus-visible":{outline:"none",border:"none",boxShadow:"none",backgroundColor:t.colors.darkenedBgMix25},"&:hover":{backgroundColor:t.colors.darkenedBgMix25},"&:disabled, &:disabled:hover, &:disabled:active":{backgroundColor:t.colors.lightGray,borderColor:t.colors.transparent,color:t.colors.gray}}}),"")},18219:(e,t,n)=>{"use strict";n.d(t,{Z:()=>wa});var r=n(30969),o=n(61088),i=n(63201),a={},s=function(e,t,n,r){var o=e+"-"+t+"-"+n+(r?"-server":"");if(a[o])return a[o];var i=function(e,t,n,r){if("undefined"===typeof document&&!r)return null;var o=r?new r:document.createElement("canvas");o.width=2*n,o.height=2*n;var i=o.getContext("2d");return i?(i.fillStyle=e,i.fillRect(0,0,o.width,o.height),i.fillStyle=t,i.fillRect(0,0,n,n),i.translate(n,n),i.fillRect(0,0,n,n),o.toDataURL()):null}(e,t,n,r);return a[o]=i,i},l=Object.assign||function(e){for(var t=1;ta?1:Math.round(100*u/a)/100,t.a!==p)return{h:t.h,s:t.s,l:t.l,a:p,source:"rgb"}}else{var d=void 0;if(r!==(d=c<0?0:c>i?1:Math.round(100*c/i)/100))return{h:t.h,s:t.s,l:t.l,a:d,source:"rgb"}}return null}(e,r.props.hsl,r.props.direction,r.props.a,r.container);t&&"function"===typeof r.props.onChange&&r.props.onChange(t,e)},r.handleMouseDown=function(e){r.handleChange(e),window.addEventListener("mousemove",r.handleChange),window.addEventListener("mouseup",r.handleMouseUp)},r.handleMouseUp=function(){r.unbindEventListeners()},r.unbindEventListeners=function(){window.removeEventListener("mousemove",r.handleChange),window.removeEventListener("mouseup",r.handleMouseUp)},b(r,n)}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),d(t,[{key:"componentWillUnmount",value:function(){this.unbindEventListeners()}},{key:"render",value:function(){var e=this,t=this.props.rgb,n=(0,i.ZP)({default:{alpha:{absolute:"0px 0px 0px 0px",borderRadius:this.props.radius},checkboard:{absolute:"0px 0px 0px 0px",overflow:"hidden",borderRadius:this.props.radius},gradient:{absolute:"0px 0px 0px 0px",background:"linear-gradient(to right, rgba("+t.r+","+t.g+","+t.b+", 0) 0%,\n rgba("+t.r+","+t.g+","+t.b+", 1) 100%)",boxShadow:this.props.shadow,borderRadius:this.props.radius},container:{position:"relative",height:"100%",margin:"0 3px"},pointer:{position:"absolute",left:100*t.a+"%"},slider:{width:"4px",borderRadius:"1px",height:"8px",boxShadow:"0 0 2px rgba(0, 0, 0, .6)",background:"#fff",marginTop:"1px",transform:"translateX(-2px)"}},vertical:{gradient:{background:"linear-gradient(to bottom, rgba("+t.r+","+t.g+","+t.b+", 0) 0%,\n rgba("+t.r+","+t.g+","+t.b+", 1) 100%)"},pointer:{left:0,top:100*t.a+"%"}},overwrite:p({},this.props.style)},{vertical:"vertical"===this.props.direction,overwrite:!0});return r.createElement("div",{style:n.alpha},r.createElement("div",{style:n.checkboard},r.createElement(u,{renderers:this.props.renderers})),r.createElement("div",{style:n.gradient}),r.createElement("div",{style:n.container,ref:function(t){return e.container=t},onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},r.createElement("div",{style:n.pointer},this.props.pointer?r.createElement(this.props.pointer,this.props):r.createElement("div",{style:n.slider}))))}}]),t}(r.PureComponent||r.Component);var h=function(){function e(e,t){for(var n=0;n-1)){var o=n.getArrowOffset(),i=38===e.keyCode?r+o:r-o;n.setUpdatedValue(i,e)}},n.handleDrag=function(e){if(n.props.dragLabel){var t=Math.round(n.props.value+e.movementX);t>=0&&t<=n.props.dragMax&&n.props.onChange&&n.props.onChange(n.getValueObjectWithLabel(t),e)}},n.handleMouseDown=function(e){n.props.dragLabel&&(e.preventDefault(),n.handleDrag(e),window.addEventListener("mousemove",n.handleDrag),window.addEventListener("mouseup",n.handleMouseUp))},n.handleMouseUp=function(){n.unbindEventListeners()},n.unbindEventListeners=function(){window.removeEventListener("mousemove",n.handleDrag),window.removeEventListener("mouseup",n.handleMouseUp)},n.state={value:String(e.value).toUpperCase(),blurValue:String(e.value).toUpperCase()},n.inputId="rc-editable-input-"+g++,n}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),h(t,[{key:"componentDidUpdate",value:function(e,t){this.props.value===this.state.value||e.value===this.props.value&&t.value===this.state.value||(this.input===document.activeElement?this.setState({blurValue:String(this.props.value).toUpperCase()}):this.setState({value:String(this.props.value).toUpperCase(),blurValue:!this.state.blurValue&&String(this.props.value).toUpperCase()}))}},{key:"componentWillUnmount",value:function(){this.unbindEventListeners()}},{key:"getValueObjectWithLabel",value:function(e){return function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},this.props.label,e)}},{key:"getArrowOffset",value:function(){return this.props.arrowOffset||1}},{key:"setUpdatedValue",value:function(e,t){var n=this.props.label?this.getValueObjectWithLabel(e):e;this.props.onChange&&this.props.onChange(n,t),this.setState({value:e})}},{key:"render",value:function(){var e=this,t=(0,i.ZP)({default:{wrap:{position:"relative"}},"user-override":{wrap:this.props.style&&this.props.style.wrap?this.props.style.wrap:{},input:this.props.style&&this.props.style.input?this.props.style.input:{},label:this.props.style&&this.props.style.label?this.props.style.label:{}},"dragLabel-true":{label:{cursor:"ew-resize"}}},{"user-override":!0},this.props);return r.createElement("div",{style:t.wrap},r.createElement("input",{id:this.inputId,style:t.input,ref:function(t){return e.input=t},value:this.state.value,onKeyDown:this.handleKeyDown,onChange:this.handleChange,onBlur:this.handleBlur,placeholder:this.props.placeholder,spellCheck:"false"}),this.props.label&&!this.props.hideLabel?r.createElement("label",{htmlFor:this.inputId,style:t.label,onMouseDown:this.handleMouseDown},this.props.label):null)}}]),t}(r.PureComponent||r.Component);var y=function(){function e(e,t){for(var n=0;ni?0:360*(-100*c/i+100)/100,n.h!==u)return{h:u,s:n.s,l:n.l,a:n.a,source:"hsl"}}else{var p=void 0;if(p=l<0?0:l>o?359:100*l/o*360/100,n.h!==p)return{h:p,s:n.s,l:n.l,a:n.a,source:"hsl"}}return null}(e,r.props.direction,r.props.hsl,r.container);t&&"function"===typeof r.props.onChange&&r.props.onChange(t,e)},r.handleMouseDown=function(e){r.handleChange(e),window.addEventListener("mousemove",r.handleChange),window.addEventListener("mouseup",r.handleMouseUp)},r.handleMouseUp=function(){r.unbindEventListeners()},M(r,n)}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),y(t,[{key:"componentWillUnmount",value:function(){this.unbindEventListeners()}},{key:"unbindEventListeners",value:function(){window.removeEventListener("mousemove",this.handleChange),window.removeEventListener("mouseup",this.handleMouseUp)}},{key:"render",value:function(){var e=this,t=this.props.direction,n=void 0===t?"horizontal":t,o=(0,i.ZP)({default:{hue:{absolute:"0px 0px 0px 0px",borderRadius:this.props.radius,boxShadow:this.props.shadow},container:{padding:"0 2px",position:"relative",height:"100%",borderRadius:this.props.radius},pointer:{position:"absolute",left:100*this.props.hsl.h/360+"%"},slider:{marginTop:"1px",width:"4px",borderRadius:"1px",height:"8px",boxShadow:"0 0 2px rgba(0, 0, 0, .6)",background:"#fff",transform:"translateX(-2px)"}},vertical:{pointer:{left:"0px",top:-100*this.props.hsl.h/360+100+"%"}}},{vertical:"vertical"===n});return r.createElement("div",{style:o.hue},r.createElement("div",{className:"hue-"+n,style:o.container,ref:function(t){return e.container=t},onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},r.createElement("style",null,"\n .hue-horizontal {\n background: linear-gradient(to right, #f00 0%, #ff0 17%, #0f0\n 33%, #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);\n background: -webkit-linear-gradient(to right, #f00 0%, #ff0\n 17%, #0f0 33%, #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);\n }\n\n .hue-vertical {\n background: linear-gradient(to top, #f00 0%, #ff0 17%, #0f0 33%,\n #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);\n background: -webkit-linear-gradient(to top, #f00 0%, #ff0 17%,\n #0f0 33%, #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);\n }\n "),r.createElement("div",{style:o.pointer},this.props.pointer?r.createElement(this.props.pointer,this.props):r.createElement("div",{style:o.slider}))))}}]),t}(r.PureComponent||r.Component);var A=n(24974),v=n.n(A);const w=function(){this.__data__=[],this.size=0};const S=function(e,t){return e===t||e!==e&&t!==t};const x=function(e,t){for(var n=e.length;n--;)if(S(e[n][0],t))return n;return-1};var E=Array.prototype.splice;const k=function(e){var t=this.__data__,n=x(t,e);return!(n<0)&&(n==t.length-1?t.pop():E.call(t,n,1),--this.size,!0)};const q=function(e){var t=this.__data__,n=x(t,e);return n<0?void 0:t[n][1]};const T=function(e){return x(this.__data__,e)>-1};const _=function(e,t){var n=this.__data__,r=x(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this};function R(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t-1&&e%1==0&&e<=9007199254740991};const ut=function(e){return null!=e&&ct(e.length)&&!J(e)};const pt=function(e){return nt(e)&&ut(e)};const dt=function(){return!1};var bt="object"==typeof exports&&exports&&!exports.nodeType&&exports,ft=bt&&"object"==typeof module&&module&&!module.nodeType&&module,ht=ft&&ft.exports===bt?D.Buffer:void 0;const mt=(ht?ht.isBuffer:void 0)||dt;var gt=Function.prototype,Ot=Object.prototype,yt=gt.toString,Mt=Ot.hasOwnProperty,zt=yt.call(Object);const At=function(e){if(!nt(e)||"[object Object]"!=Y(e))return!1;var t=Je(e);if(null===t)return!0;var n=Mt.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&yt.call(n)==zt};var vt={};vt["[object Float32Array]"]=vt["[object Float64Array]"]=vt["[object Int8Array]"]=vt["[object Int16Array]"]=vt["[object Int32Array]"]=vt["[object Uint8Array]"]=vt["[object Uint8ClampedArray]"]=vt["[object Uint16Array]"]=vt["[object Uint32Array]"]=!0,vt["[object Arguments]"]=vt["[object Array]"]=vt["[object ArrayBuffer]"]=vt["[object Boolean]"]=vt["[object DataView]"]=vt["[object Date]"]=vt["[object Error]"]=vt["[object Function]"]=vt["[object Map]"]=vt["[object Number]"]=vt["[object Object]"]=vt["[object RegExp]"]=vt["[object Set]"]=vt["[object String]"]=vt["[object WeakMap]"]=!1;const wt=function(e){return nt(e)&&ct(e.length)&&!!vt[Y(e)]};const St=function(e){return function(t){return e(t)}};var xt="object"==typeof exports&&exports&&!exports.nodeType&&exports,Et=xt&&"object"==typeof module&&module&&!module.nodeType&&module,kt=Et&&Et.exports===xt&&L.process,qt=function(){try{var e=Et&&Et.require&&Et.require("util").types;return e||kt&&kt.binding&&kt.binding("util")}catch(t){}}();var Tt=qt&&qt.isTypedArray;const _t=Tt?St(Tt):wt;const Rt=function(e,t){if(("constructor"!==t||"function"!==typeof e[t])&&"__proto__"!=t)return e[t]};var Ct=Object.prototype.hasOwnProperty;const Nt=function(e,t,n){var r=e[t];Ct.call(e,t)&&S(r,n)&&(void 0!==n||t in e)||Pe(e,t,n)};const It=function(e,t,n,r){var o=!n;n||(n={});for(var i=-1,a=t.length;++i-1&&e%1==0&&e0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}(Qt);const nn=function(e,t){return tn(Zt(e,t,$t),e+"")};const rn=function(e,t,n){if(!Z(n))return!1;var r=typeof t;return!!("number"==r?ut(n)&&Lt(t,n.length):"string"==r&&t in n)&&S(n[t],e)};const on=function(e){return nn((function(t,n){var r=-1,o=n.length,i=o>1?n[o-1]:void 0,a=o>2?n[2]:void 0;for(i=e.length>3&&"function"==typeof i?(o--,i):void 0,a&&rn(n[0],n[1],a)&&(i=o<3?void 0:i,o=1),t=Object(t);++r=t||n<0||p&&e-c>=i}function h(){var e=ln();if(f(e))return m(e);s=setTimeout(h,function(e){var n=t-(e-l);return p?Mn(n,i-(e-c)):n}(e))}function m(e){return s=void 0,d&&r?b(e):(r=o=void 0,a)}function g(){var e=ln(),n=f(e);if(r=arguments,o=this,l=e,n){if(void 0===s)return function(e){return c=e,s=setTimeout(h,t),u?b(e):a}(l);if(p)return clearTimeout(s),s=setTimeout(h,t),b(l)}return void 0===s&&(s=setTimeout(h,t)),a}return t=On(t)||0,Z(n)&&(u=!!n.leading,i=(p="maxWait"in n)?yn(On(n.maxWait)||0,t):i,d="trailing"in n?!!n.trailing:d),g.cancel=function(){void 0!==s&&clearTimeout(s),c=0,r=l=o=s=void 0},g.flush=function(){return void 0===s?a:m(ln())},g};const An=function(e,t,n){var r=!0,o=!0;if("function"!=typeof e)throw new TypeError("Expected a function");return Z(n)&&(r="leading"in n?!!n.leading:r,o="trailing"in n?!!n.trailing:o),zn(e,t,{leading:r,maxWait:t,trailing:o})};var vn=function(){function e(e,t){for(var n=0;no&&(l=o),c<0?c=0:c>i&&(c=i);var u=l/o,p=1-c/i;return{h:t.h,s:u,v:p,a:t.a,source:"hsv"}}(e,n.props.hsl,n.container),e)},n.handleMouseDown=function(e){n.handleChange(e);var t=n.getContainerRenderWindow();t.addEventListener("mousemove",n.handleChange),t.addEventListener("mouseup",n.handleMouseUp)},n.handleMouseUp=function(){n.unbindEventListeners()},n.throttle=An((function(e,t,n){e(t,n)}),50),n}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),vn(t,[{key:"componentWillUnmount",value:function(){this.throttle.cancel(),this.unbindEventListeners()}},{key:"getContainerRenderWindow",value:function(){for(var e=this.container,t=window;!t.document.contains(e)&&t.parent!==t;)t=t.parent;return t}},{key:"unbindEventListeners",value:function(){var e=this.getContainerRenderWindow();e.removeEventListener("mousemove",this.handleChange),e.removeEventListener("mouseup",this.handleMouseUp)}},{key:"render",value:function(){var e=this,t=this.props.style||{},n=t.color,o=t.white,a=t.black,s=t.pointer,l=t.circle,c=(0,i.ZP)({default:{color:{absolute:"0px 0px 0px 0px",background:"hsl("+this.props.hsl.h+",100%, 50%)",borderRadius:this.props.radius},white:{absolute:"0px 0px 0px 0px",borderRadius:this.props.radius},black:{absolute:"0px 0px 0px 0px",boxShadow:this.props.shadow,borderRadius:this.props.radius},pointer:{position:"absolute",top:-100*this.props.hsv.v+100+"%",left:100*this.props.hsv.s+"%",cursor:"default"},circle:{width:"4px",height:"4px",boxShadow:"0 0 0 1.5px #fff, inset 0 0 1px 1px rgba(0,0,0,.3),\n 0 0 1px 2px rgba(0,0,0,.4)",borderRadius:"50%",cursor:"hand",transform:"translate(-2px, -2px)"}},custom:{color:n,white:o,black:a,pointer:s,circle:l}},{custom:!!this.props.style});return r.createElement("div",{style:c.color,ref:function(t){return e.container=t},onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},r.createElement("style",null,"\n .saturation-white {\n background: -webkit-linear-gradient(to right, #fff, rgba(255,255,255,0));\n background: linear-gradient(to right, #fff, rgba(255,255,255,0));\n }\n .saturation-black {\n background: -webkit-linear-gradient(to top, #000, rgba(0,0,0,0));\n background: linear-gradient(to top, #000, rgba(0,0,0,0));\n }\n "),r.createElement("div",{style:c.white,className:"saturation-white"},r.createElement("div",{style:c.black,className:"saturation-black"}),r.createElement("div",{style:c.pointer},this.props.pointer?r.createElement(this.props.pointer,this.props):r.createElement("div",{style:c.circle}))))}}]),t}(r.PureComponent||r.Component);const Sn=wn;const xn=function(e,t){for(var n=-1,r=null==e?0:e.length;++n1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}if(e=rr(e,360),t=rr(t,100),n=rr(n,100),0===t)r=o=i=n;else{var s=n<.5?n*(1+t):n+t-n*t,l=2*n-s;r=a(l,s,e+1/3),o=a(l,s,e),i=a(l,s,e-1/3)}return{r:255*r,g:255*o,b:255*i}}(e.h,r,i),a=!0,s="hsl"),e.hasOwnProperty("a")&&(n=e.a));var l,c,u;return n=nr(n),{ok:a,format:e.format||s,r:Math.min(255,Math.max(t.r,0)),g:Math.min(255,Math.max(t.g,0)),b:Math.min(255,Math.max(t.b,0)),a:n}}(e);this._originalInput=e,this._r=n.r,this._g=n.g,this._b=n.b,this._a=n.a,this._roundA=Math.round(100*this._a)/100,this._format=t.format||n.format,this._gradientType=t.gradientType,this._r<1&&(this._r=Math.round(this._r)),this._g<1&&(this._g=Math.round(this._g)),this._b<1&&(this._b=Math.round(this._b)),this._ok=n.ok}function Ln(e,t,n){e=rr(e,255),t=rr(t,255),n=rr(n,255);var r,o,i=Math.max(e,t,n),a=Math.min(e,t,n),s=(i+a)/2;if(i==a)r=o=0;else{var l=i-a;switch(o=s>.5?l/(2-i-a):l/(i+a),i){case e:r=(t-n)/l+(t>1)+720)%360;--t;)r.h=(r.h+o)%360,i.push(Pn(r));return i}function Qn(e,t){t=t||6;for(var n=Pn(e).toHsv(),r=n.h,o=n.s,i=n.v,a=[],s=1/t;t--;)a.push(Pn({h:r,s:o,v:i})),i=(i+s)%1;return a}Pn.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},getLuminance:function(){var e,t,n,r=this.toRgb();return e=r.r/255,t=r.g/255,n=r.b/255,.2126*(e<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4))+.7152*(t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4))+.0722*(n<=.03928?n/12.92:Math.pow((n+.055)/1.055,2.4))},setAlpha:function(e){return this._a=nr(e),this._roundA=Math.round(100*this._a)/100,this},toHsv:function(){var e=jn(this._r,this._g,this._b);return{h:360*e.h,s:e.s,v:e.v,a:this._a}},toHsvString:function(){var e=jn(this._r,this._g,this._b),t=Math.round(360*e.h),n=Math.round(100*e.s),r=Math.round(100*e.v);return 1==this._a?"hsv("+t+", "+n+"%, "+r+"%)":"hsva("+t+", "+n+"%, "+r+"%, "+this._roundA+")"},toHsl:function(){var e=Ln(this._r,this._g,this._b);return{h:360*e.h,s:e.s,l:e.l,a:this._a}},toHslString:function(){var e=Ln(this._r,this._g,this._b),t=Math.round(360*e.h),n=Math.round(100*e.s),r=Math.round(100*e.l);return 1==this._a?"hsl("+t+", "+n+"%, "+r+"%)":"hsla("+t+", "+n+"%, "+r+"%, "+this._roundA+")"},toHex:function(e){return Dn(this._r,this._g,this._b,e)},toHexString:function(e){return"#"+this.toHex(e)},toHex8:function(e){return function(e,t,n,r,o){var i=[ar(Math.round(e).toString(16)),ar(Math.round(t).toString(16)),ar(Math.round(n).toString(16)),ar(lr(r))];if(o&&i[0].charAt(0)==i[0].charAt(1)&&i[1].charAt(0)==i[1].charAt(1)&&i[2].charAt(0)==i[2].charAt(1)&&i[3].charAt(0)==i[3].charAt(1))return i[0].charAt(0)+i[1].charAt(0)+i[2].charAt(0)+i[3].charAt(0);return i.join("")}(this._r,this._g,this._b,this._a,e)},toHex8String:function(e){return"#"+this.toHex8(e)},toRgb:function(){return{r:Math.round(this._r),g:Math.round(this._g),b:Math.round(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+Math.round(this._r)+", "+Math.round(this._g)+", "+Math.round(this._b)+")":"rgba("+Math.round(this._r)+", "+Math.round(this._g)+", "+Math.round(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:Math.round(100*rr(this._r,255))+"%",g:Math.round(100*rr(this._g,255))+"%",b:Math.round(100*rr(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+Math.round(100*rr(this._r,255))+"%, "+Math.round(100*rr(this._g,255))+"%, "+Math.round(100*rr(this._b,255))+"%)":"rgba("+Math.round(100*rr(this._r,255))+"%, "+Math.round(100*rr(this._g,255))+"%, "+Math.round(100*rr(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(tr[Dn(this._r,this._g,this._b,!0)]||!1)},toFilter:function(e){var t="#"+Bn(this._r,this._g,this._b,this._a),n=t,r=this._gradientType?"GradientType = 1, ":"";if(e){var o=Pn(e);n="#"+Bn(o._r,o._g,o._b,o._a)}return"progid:DXImageTransform.Microsoft.gradient("+r+"startColorstr="+t+",endColorstr="+n+")"},toString:function(e){var t=!!e;e=e||this._format;var n=!1,r=this._a<1&&this._a>=0;return t||!r||"hex"!==e&&"hex6"!==e&&"hex3"!==e&&"hex4"!==e&&"hex8"!==e&&"name"!==e?("rgb"===e&&(n=this.toRgbString()),"prgb"===e&&(n=this.toPercentageRgbString()),"hex"!==e&&"hex6"!==e||(n=this.toHexString()),"hex3"===e&&(n=this.toHexString(!0)),"hex4"===e&&(n=this.toHex8String(!0)),"hex8"===e&&(n=this.toHex8String()),"name"===e&&(n=this.toName()),"hsl"===e&&(n=this.toHslString()),"hsv"===e&&(n=this.toHsvString()),n||this.toHexString()):"name"===e&&0===this._a?this.toName():this.toRgbString()},clone:function(){return Pn(this.toString())},_applyModification:function(e,t){var n=e.apply(null,[this].concat([].slice.call(t)));return this._r=n._r,this._g=n._g,this._b=n._b,this.setAlpha(n._a),this},lighten:function(){return this._applyModification(Hn,arguments)},brighten:function(){return this._applyModification(Xn,arguments)},darken:function(){return this._applyModification(Gn,arguments)},desaturate:function(){return this._applyModification(Fn,arguments)},saturate:function(){return this._applyModification(Vn,arguments)},greyscale:function(){return this._applyModification(Un,arguments)},spin:function(){return this._applyModification($n,arguments)},_applyCombination:function(e,t){return e.apply(null,[this].concat([].slice.call(t)))},analogous:function(){return this._applyCombination(Jn,arguments)},complement:function(){return this._applyCombination(Kn,arguments)},monochromatic:function(){return this._applyCombination(Qn,arguments)},splitcomplement:function(){return this._applyCombination(Zn,arguments)},triad:function(){return this._applyCombination(Yn,[3])},tetrad:function(){return this._applyCombination(Yn,[4])}},Pn.fromRatio=function(e,t){if("object"==Nn(e)){var n={};for(var r in e)e.hasOwnProperty(r)&&(n[r]="a"===r?e[r]:sr(e[r]));e=n}return Pn(e,t)},Pn.equals=function(e,t){return!(!e||!t)&&Pn(e).toRgbString()==Pn(t).toRgbString()},Pn.random=function(){return Pn.fromRatio({r:Math.random(),g:Math.random(),b:Math.random()})},Pn.mix=function(e,t,n){n=0===n?0:n||50;var r=Pn(e).toRgb(),o=Pn(t).toRgb(),i=n/100;return Pn({r:(o.r-r.r)*i+r.r,g:(o.g-r.g)*i+r.g,b:(o.b-r.b)*i+r.b,a:(o.a-r.a)*i+r.a})},Pn.readability=function(e,t){var n=Pn(e),r=Pn(t);return(Math.max(n.getLuminance(),r.getLuminance())+.05)/(Math.min(n.getLuminance(),r.getLuminance())+.05)},Pn.isReadable=function(e,t,n){var r,o,i=Pn.readability(e,t);switch(o=!1,(r=function(e){var t,n;t=((e=e||{level:"AA",size:"small"}).level||"AA").toUpperCase(),n=(e.size||"small").toLowerCase(),"AA"!==t&&"AAA"!==t&&(t="AA");"small"!==n&&"large"!==n&&(n="small");return{level:t,size:n}}(n)).level+r.size){case"AAsmall":case"AAAlarge":o=i>=4.5;break;case"AAlarge":o=i>=3;break;case"AAAsmall":o=i>=7}return o},Pn.mostReadable=function(e,t,n){var r,o,i,a,s=null,l=0;o=(n=n||{}).includeFallbackColors,i=n.level,a=n.size;for(var c=0;cl&&(l=r,s=Pn(t[c]));return Pn.isReadable(e,s,{level:i,size:a})||!o?s:(n.includeFallbackColors=!1,Pn.mostReadable(e,["#fff","#000"],n))};var er=Pn.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},tr=Pn.hexNames=function(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}(er);function nr(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function rr(e,t){(function(e){return"string"==typeof e&&-1!=e.indexOf(".")&&1===parseFloat(e)})(e)&&(e="100%");var n=function(e){return"string"===typeof e&&-1!=e.indexOf("%")}(e);return e=Math.min(t,Math.max(0,parseFloat(e))),n&&(e=parseInt(e*t,10)/100),Math.abs(e-t)<1e-6?1:e%t/parseFloat(t)}function or(e){return Math.min(1,Math.max(0,e))}function ir(e){return parseInt(e,16)}function ar(e){return 1==e.length?"0"+e:""+e}function sr(e){return e<=1&&(e=100*e+"%"),e}function lr(e){return Math.round(255*parseFloat(e)).toString(16)}function cr(e){return ir(e)/255}var ur=function(){var e="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)",t="[\\s|\\(]+("+e+")[,|\\s]+("+e+")[,|\\s]+("+e+")\\s*\\)?",n="[\\s|\\(]+("+e+")[,|\\s]+("+e+")[,|\\s]+("+e+")[,|\\s]+("+e+")\\s*\\)?";return{CSS_UNIT:new RegExp(e),rgb:new RegExp("rgb"+t),rgba:new RegExp("rgba"+n),hsl:new RegExp("hsl"+t),hsla:new RegExp("hsla"+n),hsv:new RegExp("hsv"+t),hsva:new RegExp("hsva"+n),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/}}();function pr(e){return!!ur.CSS_UNIT.exec(e)}var dr=function(e){var t=0,n=0;return Cn(["r","g","b","a","h","s","l","v"],(function(r){if(e[r]&&(t+=1,isNaN(e[r])||(n+=1),"s"===r||"l"===r)){/^\d+%$/.test(e[r])&&(n+=1)}})),t===n&&e},br=function(e,t){var n=e.hex?Pn(e.hex):Pn(e),r=n.toHsl(),o=n.toHsv(),i=n.toRgb(),a=n.toHex();return 0===r.s&&(r.h=t||0,o.h=t||0),{hsl:r,hex:"000000"===a&&0===i.a?"transparent":"#"+a,rgb:i,hsv:o,oldHue:e.h||t||r.h,source:e.source}},fr=function(e){if("transparent"===e)return!0;var t="#"===String(e).charAt(0)?1:0;return e.length!==4+t&&e.length<7+t&&Pn(e).isValid()},hr=function(e){if(!e)return"#fff";var t=br(e);return"transparent"===t.hex?"rgba(0,0,0,0.4)":(299*t.rgb.r+587*t.rgb.g+114*t.rgb.b)/1e3>=128?"#000":"#fff"},mr=function(e,t){return Pn(t+" ("+e.replace("\xb0","")+")")._ok},gr=Object.assign||function(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:"span";return function(n){function o(){var e,t,n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,o);for(var r=arguments.length,i=Array(r),a=0;as))return!1;var c=i.get(e),u=i.get(t);if(c&&u)return c==t&&u==e;var p=-1,d=!0,b=2&n?new Rr:void 0;for(i.set(e,t),i.set(t,e);++p1&&(e.a=1),n.props.onChange({h:n.props.hsl.h,s:n.props.hsl.s,l:n.props.hsl.l,a:Math.round(100*e.a)/100,source:"rgb"},t)):(e.h||e.s||e.l)&&("string"===typeof e.s&&e.s.includes("%")&&(e.s=e.s.replace("%","")),"string"===typeof e.l&&e.l.includes("%")&&(e.l=e.l.replace("%","")),1==e.s?e.s=.01:1==e.l&&(e.l=.01),n.props.onChange({h:e.h||n.props.hsl.h,s:Number(Mi(e.s)?n.props.hsl.s:e.s),l:Number(Mi(e.l)?n.props.hsl.l:e.l),source:"hsl"},t))},n.showHighlight=function(e){e.currentTarget.style.background="#eee"},n.hideHighlight=function(e){e.currentTarget.style.background="transparent"},1!==e.hsl.a&&"hex"===e.view?n.state={view:"rgb"}:n.state={view:e.view},n}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),Ai(t,[{key:"render",value:function(){var e=this,t=(0,i.ZP)({default:{wrap:{paddingTop:"16px",display:"flex"},fields:{flex:"1",display:"flex",marginLeft:"-6px"},field:{paddingLeft:"6px",width:"100%"},alpha:{paddingLeft:"6px",width:"100%"},toggle:{width:"32px",textAlign:"right",position:"relative"},icon:{marginRight:"-4px",marginTop:"12px",cursor:"pointer",position:"relative"},iconHighlight:{position:"absolute",width:"24px",height:"28px",background:"#eee",borderRadius:"4px",top:"10px",left:"12px",display:"none"},input:{fontSize:"11px",color:"#333",width:"100%",borderRadius:"2px",border:"none",boxShadow:"inset 0 0 0 1px #dadada",height:"21px",textAlign:"center"},label:{textTransform:"uppercase",fontSize:"11px",lineHeight:"11px",color:"#969696",textAlign:"center",display:"block",marginTop:"12px"},svg:{fill:"#333",width:"24px",height:"24px",border:"1px transparent solid",borderRadius:"5px"}},disableAlpha:{alpha:{display:"none"}}},this.props,this.state),n=void 0;return"hex"===this.state.view?n=r.createElement("div",{style:t.fields,className:"flexbox-fix"},r.createElement("div",{style:t.field},r.createElement(O,{style:{input:t.input,label:t.label},label:"hex",value:this.props.hex,onChange:this.handleChange}))):"rgb"===this.state.view?n=r.createElement("div",{style:t.fields,className:"flexbox-fix"},r.createElement("div",{style:t.field},r.createElement(O,{style:{input:t.input,label:t.label},label:"r",value:this.props.rgb.r,onChange:this.handleChange})),r.createElement("div",{style:t.field},r.createElement(O,{style:{input:t.input,label:t.label},label:"g",value:this.props.rgb.g,onChange:this.handleChange})),r.createElement("div",{style:t.field},r.createElement(O,{style:{input:t.input,label:t.label},label:"b",value:this.props.rgb.b,onChange:this.handleChange})),r.createElement("div",{style:t.alpha},r.createElement(O,{style:{input:t.input,label:t.label},label:"a",value:this.props.rgb.a,arrowOffset:.01,onChange:this.handleChange}))):"hsl"===this.state.view&&(n=r.createElement("div",{style:t.fields,className:"flexbox-fix"},r.createElement("div",{style:t.field},r.createElement(O,{style:{input:t.input,label:t.label},label:"h",value:Math.round(this.props.hsl.h),onChange:this.handleChange})),r.createElement("div",{style:t.field},r.createElement(O,{style:{input:t.input,label:t.label},label:"s",value:Math.round(100*this.props.hsl.s)+"%",onChange:this.handleChange})),r.createElement("div",{style:t.field},r.createElement(O,{style:{input:t.input,label:t.label},label:"l",value:Math.round(100*this.props.hsl.l)+"%",onChange:this.handleChange})),r.createElement("div",{style:t.alpha},r.createElement(O,{style:{input:t.input,label:t.label},label:"a",value:this.props.hsl.a,arrowOffset:.01,onChange:this.handleChange})))),r.createElement("div",{style:t.wrap,className:"flexbox-fix"},n,r.createElement("div",{style:t.toggle},r.createElement("div",{style:t.icon,onClick:this.toggleViews,ref:function(t){return e.icon=t}},r.createElement(zi.Z,{style:t.svg,onMouseOver:this.showHighlight,onMouseEnter:this.showHighlight,onMouseOut:this.hideHighlight}))))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return 1!==e.hsl.a&&"hex"===t.view?{view:"rgb"}:null}}]),t}(r.Component);vi.defaultProps={view:"hex"};const wi=vi;const Si=function(){var e=(0,i.ZP)({default:{picker:{width:"12px",height:"12px",borderRadius:"6px",transform:"translate(-6px, -1px)",backgroundColor:"rgb(248, 248, 248)",boxShadow:"0 1px 4px 0 rgba(0, 0, 0, 0.37)"}}});return r.createElement("div",{style:e.picker})};const xi=function(){var e=(0,i.ZP)({default:{picker:{width:"12px",height:"12px",borderRadius:"6px",boxShadow:"inset 0 0 0 1px #fff",transform:"translate(-6px, -6px)"}}});return r.createElement("div",{style:e.picker})};var Ei=function(e){var t=e.width,n=e.onChange,o=e.disableAlpha,a=e.rgb,s=e.hsl,l=e.hsv,c=e.hex,p=e.renderers,d=e.styles,b=void 0===d?{}:d,h=e.className,m=void 0===h?"":h,g=e.defaultView,O=(0,i.ZP)(on({default:{picker:{width:t,background:"#fff",borderRadius:"2px",boxShadow:"0 0 2px rgba(0,0,0,.3), 0 4px 8px rgba(0,0,0,.3)",boxSizing:"initial",fontFamily:"Menlo"},saturation:{width:"100%",paddingBottom:"55%",position:"relative",borderRadius:"2px 2px 0 0",overflow:"hidden"},Saturation:{radius:"2px 2px 0 0"},body:{padding:"16px 16px 12px"},controls:{display:"flex"},color:{width:"32px"},swatch:{marginTop:"6px",width:"16px",height:"16px",borderRadius:"8px",position:"relative",overflow:"hidden"},active:{absolute:"0px 0px 0px 0px",borderRadius:"8px",boxShadow:"inset 0 0 0 1px rgba(0,0,0,.1)",background:"rgba("+a.r+", "+a.g+", "+a.b+", "+a.a+")",zIndex:"2"},toggles:{flex:"1"},hue:{height:"10px",position:"relative",marginBottom:"8px"},Hue:{radius:"2px"},alpha:{height:"10px",position:"relative"},Alpha:{radius:"2px"}},disableAlpha:{color:{width:"22px"},alpha:{display:"none"},hue:{marginBottom:"0px"},swatch:{width:"10px",height:"10px",marginTop:"0px"}}},b),{disableAlpha:o});return r.createElement("div",{style:O.picker,className:"chrome-picker "+m},r.createElement("div",{style:O.saturation},r.createElement(Sn,{style:O.Saturation,hsl:s,hsv:l,pointer:xi,onChange:n})),r.createElement("div",{style:O.body},r.createElement("div",{style:O.controls,className:"flexbox-fix"},r.createElement("div",{style:O.color},r.createElement("div",{style:O.swatch},r.createElement("div",{style:O.active}),r.createElement(u,{renderers:p}))),r.createElement("div",{style:O.toggles},r.createElement("div",{style:O.hue},r.createElement(z,{style:O.Hue,hsl:s,pointer:Si,onChange:n})),r.createElement("div",{style:O.alpha},r.createElement(f,{style:O.Alpha,rgb:a,hsl:s,pointer:Si,renderers:p,onChange:n})))),r.createElement(wi,{rgb:a,hsl:s,hex:c,view:g,onChange:n,disableAlpha:o})))};Ei.propTypes={width:v().oneOfType([v().string,v().number]),disableAlpha:v().bool,styles:v().object,defaultView:v().oneOf(["hex","rgb","hsl"])},Ei.defaultProps={width:225,disableAlpha:!1,styles:{}};const ki=yr(Ei);const qi=function(e){var t=e.color,n=e.onClick,o=void 0===n?function(){}:n,a=e.onSwatchHover,s=e.active,l=(0,i.ZP)({default:{color:{background:t,width:"15px",height:"15px",float:"left",marginRight:"5px",marginBottom:"5px",position:"relative",cursor:"pointer"},dot:{absolute:"5px 5px 5px 5px",background:hr(t),borderRadius:"50%",opacity:"0"}},active:{dot:{opacity:"1"}},"color-#FFFFFF":{color:{boxShadow:"inset 0 0 0 1px #ddd"},dot:{background:"#000"}},transparent:{dot:{background:"#000"}}},{active:s,"color-#FFFFFF":"#FFFFFF"===t,transparent:"transparent"===t});return r.createElement(wr,{style:l.color,color:t,onClick:o,onHover:a,focusStyle:{boxShadow:"0 0 4px "+t}},r.createElement("div",{style:l.dot}))};const Ti=function(e){var t=e.hex,n=e.rgb,o=e.onChange,a=(0,i.ZP)({default:{fields:{display:"flex",paddingBottom:"6px",paddingRight:"5px",position:"relative"},active:{position:"absolute",top:"6px",left:"5px",height:"9px",width:"9px",background:t},HEXwrap:{flex:"6",position:"relative"},HEXinput:{width:"80%",padding:"0px",paddingLeft:"20%",border:"none",outline:"none",background:"none",fontSize:"12px",color:"#333",height:"16px"},HEXlabel:{display:"none"},RGBwrap:{flex:"3",position:"relative"},RGBinput:{width:"70%",padding:"0px",paddingLeft:"30%",border:"none",outline:"none",background:"none",fontSize:"12px",color:"#333",height:"16px"},RGBlabel:{position:"absolute",top:"3px",left:"0px",lineHeight:"16px",textTransform:"uppercase",fontSize:"12px",color:"#999"}}}),s=function(e,t){e.r||e.g||e.b?o({r:e.r||n.r,g:e.g||n.g,b:e.b||n.b,source:"rgb"},t):o({hex:e.hex,source:"hex"},t)};return r.createElement("div",{style:a.fields,className:"flexbox-fix"},r.createElement("div",{style:a.active}),r.createElement(O,{style:{wrap:a.HEXwrap,input:a.HEXinput,label:a.HEXlabel},label:"hex",value:t,onChange:s}),r.createElement(O,{style:{wrap:a.RGBwrap,input:a.RGBinput,label:a.RGBlabel},label:"r",value:n.r,onChange:s}),r.createElement(O,{style:{wrap:a.RGBwrap,input:a.RGBinput,label:a.RGBlabel},label:"g",value:n.g,onChange:s}),r.createElement(O,{style:{wrap:a.RGBwrap,input:a.RGBinput,label:a.RGBlabel},label:"b",value:n.b,onChange:s}))};var _i=function(e){var t=e.onChange,n=e.onSwatchHover,o=e.colors,a=e.hex,s=e.rgb,l=e.styles,c=void 0===l?{}:l,u=e.className,p=void 0===u?"":u,d=(0,i.ZP)(on({default:{Compact:{background:"#f6f6f6",radius:"4px"},compact:{paddingTop:"5px",paddingLeft:"5px",boxSizing:"initial",width:"240px"},clear:{clear:"both"}}},c)),b=function(e,n){e.hex?fr(e.hex)&&t({hex:e.hex,source:"hex"},n):t(e,n)};return r.createElement(sn,{style:d.Compact,styles:c},r.createElement("div",{style:d.compact,className:"compact-picker "+p},r.createElement("div",null,Yo(o,(function(e){return r.createElement(qi,{key:e,color:e,active:e.toLowerCase()===a,onClick:b,onSwatchHover:n})})),r.createElement("div",{style:d.clear})),r.createElement(Ti,{hex:a,rgb:s,onChange:b})))};_i.propTypes={colors:v().arrayOf(v().string),styles:v().object},_i.defaultProps={colors:["#4D4D4D","#999999","#FFFFFF","#F44E3B","#FE9200","#FCDC00","#DBDF00","#A4DD00","#68CCCA","#73D8FF","#AEA1FF","#FDA1FF","#333333","#808080","#cccccc","#D33115","#E27300","#FCC400","#B0BC00","#68BC00","#16A5A5","#009CE0","#7B64FF","#FA28FF","#000000","#666666","#B3B3B3","#9F0500","#C45100","#FB9E00","#808900","#194D33","#0C797D","#0062B1","#653294","#AB149E"],styles:{}};yr(_i);const Ri=(0,i.tz)((function(e){var t=e.hover,n=e.color,o=e.onClick,a=e.onSwatchHover,s={position:"relative",zIndex:"2",outline:"2px solid #fff",boxShadow:"0 0 5px 2px rgba(0,0,0,0.25)"},l=(0,i.ZP)({default:{swatch:{width:"25px",height:"25px",fontSize:"0"}},hover:{swatch:s}},{hover:t});return r.createElement("div",{style:l.swatch},r.createElement(wr,{color:n,onClick:o,onHover:a,focusStyle:s}))}));var Ci=function(e){var t=e.width,n=e.colors,o=e.onChange,a=e.onSwatchHover,s=e.triangle,l=e.styles,c=void 0===l?{}:l,u=e.className,p=void 0===u?"":u,d=(0,i.ZP)(on({default:{card:{width:t,background:"#fff",border:"1px solid rgba(0,0,0,0.2)",boxShadow:"0 3px 12px rgba(0,0,0,0.15)",borderRadius:"4px",position:"relative",padding:"5px",display:"flex",flexWrap:"wrap"},triangle:{position:"absolute",border:"7px solid transparent",borderBottomColor:"#fff"},triangleShadow:{position:"absolute",border:"8px solid transparent",borderBottomColor:"rgba(0,0,0,0.15)"}},"hide-triangle":{triangle:{display:"none"},triangleShadow:{display:"none"}},"top-left-triangle":{triangle:{top:"-14px",left:"10px"},triangleShadow:{top:"-16px",left:"9px"}},"top-right-triangle":{triangle:{top:"-14px",right:"10px"},triangleShadow:{top:"-16px",right:"9px"}},"bottom-left-triangle":{triangle:{top:"35px",left:"10px",transform:"rotate(180deg)"},triangleShadow:{top:"37px",left:"9px",transform:"rotate(180deg)"}},"bottom-right-triangle":{triangle:{top:"35px",right:"10px",transform:"rotate(180deg)"},triangleShadow:{top:"37px",right:"9px",transform:"rotate(180deg)"}}},c),{"hide-triangle":"hide"===s,"top-left-triangle":"top-left"===s,"top-right-triangle":"top-right"===s,"bottom-left-triangle":"bottom-left"===s,"bottom-right-triangle":"bottom-right"===s}),b=function(e,t){return o({hex:e,source:"hex"},t)};return r.createElement("div",{style:d.card,className:"github-picker "+p},r.createElement("div",{style:d.triangleShadow}),r.createElement("div",{style:d.triangle}),Yo(n,(function(e){return r.createElement(Ri,{color:e,key:e,onClick:b,onSwatchHover:a})})))};Ci.propTypes={width:v().oneOfType([v().string,v().number]),colors:v().arrayOf(v().string),triangle:v().oneOf(["hide","top-left","top-right","bottom-left","bottom-right"]),styles:v().object},Ci.defaultProps={width:200,colors:["#B80000","#DB3E00","#FCCB00","#008B02","#006B76","#1273DE","#004DCF","#5300EB","#EB9694","#FAD0C3","#FEF3BD","#C1E1C5","#BEDADC","#C4DEF6","#BED3F3","#D4C4FB"],triangle:"top-left",styles:{}};yr(Ci);const Ni=function(e){var t=e.direction,n=(0,i.ZP)({default:{picker:{width:"18px",height:"18px",borderRadius:"50%",transform:"translate(-9px, -1px)",backgroundColor:"rgb(248, 248, 248)",boxShadow:"0 1px 4px 0 rgba(0, 0, 0, 0.37)"}},vertical:{picker:{transform:"translate(-3px, -9px)"}}},{vertical:"vertical"===t});return r.createElement("div",{style:n.picker})};var Ii=Object.assign||function(e){for(var t=1;t.5});return r.createElement("div",{style:n.picker})};const ji=function(){var e=(0,i.ZP)({default:{triangle:{width:0,height:0,borderStyle:"solid",borderWidth:"4px 0 4px 6px",borderColor:"transparent transparent transparent #fff",position:"absolute",top:"1px",left:"1px"},triangleBorder:{width:0,height:0,borderStyle:"solid",borderWidth:"5px 0 5px 8px",borderColor:"transparent transparent transparent #555"},left:{Extend:"triangleBorder",transform:"translate(-13px, -4px)"},leftInside:{Extend:"triangle",transform:"translate(-8px, -5px)"},right:{Extend:"triangleBorder",transform:"translate(20px, -14px) rotate(180deg)"},rightInside:{Extend:"triangle",transform:"translate(-8px, -5px)"}}});return r.createElement("div",{style:e.pointer},r.createElement("div",{style:e.left},r.createElement("div",{style:e.leftInside})),r.createElement("div",{style:e.right},r.createElement("div",{style:e.rightInside})))};const Di=function(e){var t=e.onClick,n=e.label,o=e.children,a=e.active,s=(0,i.ZP)({default:{button:{backgroundImage:"linear-gradient(-180deg, #FFFFFF 0%, #E6E6E6 100%)",border:"1px solid #878787",borderRadius:"2px",height:"20px",boxShadow:"0 1px 0 0 #EAEAEA",fontSize:"14px",color:"#000",lineHeight:"20px",textAlign:"center",marginBottom:"10px",cursor:"pointer"}},active:{button:{boxShadow:"0 0 0 1px #878787"}}},{active:a});return r.createElement("div",{style:s.button,onClick:t},n||o)};const Bi=function(e){var t=e.rgb,n=e.currentColor,o=(0,i.ZP)({default:{swatches:{border:"1px solid #B3B3B3",borderBottom:"1px solid #F0F0F0",marginBottom:"2px",marginTop:"1px"},new:{height:"34px",background:"rgb("+t.r+","+t.g+", "+t.b+")",boxShadow:"inset 1px 0 0 #000, inset -1px 0 0 #000, inset 0 1px 0 #000"},current:{height:"34px",background:n,boxShadow:"inset 1px 0 0 #000, inset -1px 0 0 #000, inset 0 -1px 0 #000"},label:{fontSize:"14px",color:"#000",textAlign:"center"}}});return r.createElement("div",null,r.createElement("div",{style:o.label},"new"),r.createElement("div",{style:o.swatches},r.createElement("div",{style:o.new}),r.createElement("div",{style:o.current})),r.createElement("div",{style:o.label},"current"))};var Fi=function(){function e(e,t){for(var n=0;n100&&(e.a=100),e.a/=100,t({h:o.h,s:o.s,l:o.l,a:e.a,source:"rgb"},r))};return r.createElement("div",{style:l.fields,className:"flexbox-fix"},r.createElement("div",{style:l.double},r.createElement(O,{style:{input:l.input,label:l.label},label:"hex",value:a.replace("#",""),onChange:c})),r.createElement("div",{style:l.single},r.createElement(O,{style:{input:l.input,label:l.label},label:"r",value:n.r,onChange:c,dragLabel:"true",dragMax:"255"})),r.createElement("div",{style:l.single},r.createElement(O,{style:{input:l.input,label:l.label},label:"g",value:n.g,onChange:c,dragLabel:"true",dragMax:"255"})),r.createElement("div",{style:l.single},r.createElement(O,{style:{input:l.input,label:l.label},label:"b",value:n.b,onChange:c,dragLabel:"true",dragMax:"255"})),r.createElement("div",{style:l.alpha},r.createElement(O,{style:{input:l.input,label:l.label},label:"a",value:Math.round(100*n.a),onChange:c,dragLabel:"true",dragMax:"100"})))};var Hi=Object.assign||function(e){for(var t=1;t{let{disabled:t,width:n,theme:r}=e;return{fontFamily:r.genericFonts.bodyFont,display:"flex",flexDirection:"column",alignItems:"flex-start",cursor:t?"not-allowed":"default",width:n}}),""),Oa=(0,ma.Z)("div",{target:"e1rgp0873"})((e=>{let{theme:t}=e;return{div:{fontFamily:`${t.genericFonts.bodyFont} !important`}}}),""),ya=(0,ma.Z)("div",{target:"e1rgp0872"})((e=>{let{disabled:t,theme:n}=e;return{height:n.sizes.minElementHeight,borderRadius:n.radii.default,borderColor:n.colors.borderColor,cursor:t?"not-allowed":"pointer",pointerEvents:t?"none":"auto",boxShadow:"none",lineHeight:n.lineHeights.base,"&:focus":{outline:"none"},display:"flex"}}),""),Ma=(0,ma.Z)("div",{target:"e1rgp0871"})((e=>{let{backgroundColor:t,disabled:n,theme:r}=e;return{width:r.sizes.minElementHeight,height:r.sizes.minElementHeight,borderRadius:r.radii.default,borderColor:r.colors.borderColor,borderWidth:r.sizes.borderWidth,opacity:n?"0.4":"",backgroundColor:t,borderStyle:"solid",padding:"2px 0.8rem",cursor:"pointer",lineHeight:r.lineHeights.base,"&:focus":{outline:"none"}}}),""),za=(0,ma.Z)("div",{target:"e1rgp0870"})((()=>({display:"flex",alignItems:"center",padding:"0 0.8rem",width:"95px"})),"");var Aa=n(37574);class va extends r.PureComponent{constructor(){super(...arguments),this.state={value:this.props.value},this.onColorChange=e=>{this.setState({value:e.hex})},this.onColorClose=()=>{this.props.onChange(this.state.value)}}componentDidUpdate(e){e.value!==this.props.value&&this.props.value!==this.state.value&&this.setState(((e,t)=>({value:t.value})))}componentDidCatch(e){if("SecurityError"!==(null===e||void 0===e?void 0:e.name))throw e;(0,ha.KE)(`Swallowing ColorPicker SecurityError '${e.name}: ${e.message}'`),this.forceUpdate()}render(){const{width:e,showValue:t,label:n,labelVisibility:r,help:i,disabled:a}=this.props,{value:s}=this.state;return(0,Aa.jsxs)(ga,{className:"stColorPicker","data-testid":"stColorPicker",width:e,disabled:a,children:[(0,Aa.jsx)(pa.O,{label:n,disabled:a,labelVisibility:r,children:i&&(0,Aa.jsx)(da.Hp,{children:(0,Aa.jsx)(ba.Z,{content:i,placement:fa.u.TOP_RIGHT})})}),(0,Aa.jsx)(o.Z,{onClose:this.onColorClose,content:()=>(0,Aa.jsx)(Oa,{"data-testid":"stColorPickerPopover",children:(0,Aa.jsx)(ki,{color:s,onChange:this.onColorChange,disableAlpha:!0})}),children:(0,Aa.jsxs)(ya,{disabled:a,children:[(0,Aa.jsx)(Ma,{"data-testid":"stColorPickerBlock",backgroundColor:s,disabled:a}),t&&(0,Aa.jsx)(za,{children:s.toUpperCase()})]})})]})}}const wa=va},30379:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>R,HX:()=>T});var r=n(30969),o=n(46578),i=n(41720),a=n(84172),s=n(3077),l=-1/0,c=1/0,u=-.005,p=-.005,d=-.01,b=1,f=.9,h=.8,m=.7,g=.6;function O(e){return e.toUpperCase()===e}function y(e,t,n,r){for(var o=e.length,i=t.length,a=e.toLowerCase(),s=t.toLowerCase(),c=function(e){for(var t,n=e.length,r=new Array(n),o="/",i=0;ifunction(e,t){e=e.toLowerCase(),t=t.toLowerCase();for(var n=e.length,r=0,o=0;rfunction(e,t){var n=e.length,r=t.length;if(!n||!r)return l;if(n===r)return c;if(r>1024)return l;var o=new Array(n),i=new Array(n);return y(e,t,o,i),i[n-1][r-1]}(t,e.label))).reverse()}class _ extends r.PureComponent{constructor(){super(...arguments),this.state={isEmpty:!1,value:this.props.value},this.onChange=e=>{if(0===e.value.length)return void this.setState({value:null},(()=>this.props.onChange(null)));const[t]=e.value;this.setState({value:parseInt(t.value,10)},(()=>this.props.onChange(this.state.value)))},this.onInputChange=e=>{const t=e.target.value;this.setState({isEmpty:!t})},this.onClose=()=>{this.setState({isEmpty:!1})},this.filterOptions=(e,t)=>T(e,t)}componentDidUpdate(e){e.value!==this.props.value&&this.state.value!==this.props.value&&this.setState(((e,t)=>({value:t.value})))}render(){const e={width:this.props.width},{label:t,labelVisibility:n,help:r,placeholder:s,theme:l,clearable:c}=this.props;let{disabled:u,options:p}=this.props,d=[];(0,v.le)(this.state.value)||this.state.isEmpty||(d=[{label:p.length>0?p[this.state.value]:q,value:this.state.value.toString()}]),0===p.length&&(p=[q],u=!0);const b=p.map(((e,t)=>({label:e,value:t.toString()}))),f=p.length>10;return(0,k.jsxs)("div",{className:"stSelectbox","data-testid":"stSelectbox",style:e,children:[(0,k.jsx)(x.O,{label:t,labelVisibility:n,disabled:u,children:r&&(0,k.jsx)(E.dT,{children:(0,k.jsx)(S.Z,{content:r,placement:w.u.TOP_RIGHT})})}),(0,k.jsx)(a.Z,{disabled:u,labelKey:"label","aria-label":t||"",onChange:this.onChange,onInputChange:this.onInputChange,onClose:this.onClose,options:b,filterOptions:this.filterOptions,clearable:c||!1,escapeClearsValue:c||!1,value:d,valueKey:"value",placeholder:s,overrides:{Root:{style:()=>({lineHeight:l.lineHeights.inputWidget})},Dropdown:{component:A.Z},ClearIcon:{props:{overrides:{Svg:{style:{color:l.colors.darkGray,transform:"scale(1.25)",width:l.spacing.twoXL,":hover":{fill:l.colors.bodyText}}}}}},ControlContainer:{style:()=>({height:l.sizes.minElementHeight,borderLeftWidth:l.sizes.borderWidth,borderRightWidth:l.sizes.borderWidth,borderTopWidth:l.sizes.borderWidth,borderBottomWidth:l.sizes.borderWidth})},IconsContainer:{style:()=>({paddingRight:l.spacing.sm})},ValueContainer:{style:()=>({paddingRight:l.spacing.sm,paddingLeft:l.spacing.sm,paddingBottom:l.spacing.sm,paddingTop:l.spacing.sm})},Input:{props:{readOnly:o.tq&&!1===f?"readonly":null},style:()=>({lineHeight:l.lineHeights.inputWidget})},Popover:{props:{overrides:{Body:{style:()=>({marginTop:l.spacing.px})}}}},SelectArrow:{component:i.Z,props:{overrides:{Svg:{style:()=>({width:l.iconSizes.xl,height:l.iconSizes.xl})}}}}}})]})}}const R=(0,s.b)(_)},88112:(e,t,n)=>{"use strict";n.d(t,{Z:()=>R});var r=n(30969),o=n(65278),i=n(7896),a=n(80753),s=n(81665),l=Number.isNaN||function(e){return"number"===typeof e&&e!==e};function c(e,t){if(e.length!==t.length)return!1;for(var n=0;n=t?e.call(null):r.id=requestAnimationFrame(o)}))};return r}var f=-1;function h(e){if(void 0===e&&(e=!1),-1===f||e){var t=document.createElement("div"),n=t.style;n.width="50px",n.height="50px",n.overflow="scroll",document.body.appendChild(t),f=t.offsetWidth-t.clientWidth,document.body.removeChild(t)}return f}var m=null;function g(e){if(void 0===e&&(e=!1),null===m||e){var t=document.createElement("div"),n=t.style;n.width="50px",n.height="50px",n.overflow="scroll",n.direction="rtl";var r=document.createElement("div"),o=r.style;return o.width="100px",o.height="100px",t.appendChild(r),document.body.appendChild(t),t.scrollLeft>0?m="positive-descending":(t.scrollLeft=1,m=0===t.scrollLeft?"negative":"positive-ascending"),document.body.removeChild(t),m}return m}var O=function(e,t){return e};function y(e){var t,n=e.getItemOffset,o=e.getEstimatedTotalSize,l=e.getItemSize,c=e.getOffsetForIndexAndAlignment,p=e.getStartIndexForOffset,f=e.getStopIndexForStartIndex,m=e.initInstanceProps,y=e.shouldResetStyleCacheOnItemSizeChange,z=e.validateProps;return t=function(e){function t(t){var r;return(r=e.call(this,t)||this)._instanceProps=m(r.props,(0,a.Z)(r)),r._outerRef=void 0,r._resetIsScrollingTimeoutId=null,r.state={instance:(0,a.Z)(r),isScrolling:!1,scrollDirection:"forward",scrollOffset:"number"===typeof r.props.initialScrollOffset?r.props.initialScrollOffset:0,scrollUpdateWasRequested:!1},r._callOnItemsRendered=void 0,r._callOnItemsRendered=u((function(e,t,n,o){return r.props.onItemsRendered({overscanStartIndex:e,overscanStopIndex:t,visibleStartIndex:n,visibleStopIndex:o})})),r._callOnScroll=void 0,r._callOnScroll=u((function(e,t,n){return r.props.onScroll({scrollDirection:e,scrollOffset:t,scrollUpdateWasRequested:n})})),r._getItemStyle=void 0,r._getItemStyle=function(e){var t,o=r.props,i=o.direction,a=o.itemSize,s=o.layout,c=r._getItemStyleCache(y&&a,y&&s,y&&i);if(c.hasOwnProperty(e))t=c[e];else{var u=n(r.props,e,r._instanceProps),p=l(r.props,e,r._instanceProps),d="horizontal"===i||"horizontal"===s,b="rtl"===i,f=d?u:0;c[e]=t={position:"absolute",left:b?void 0:f,right:b?f:void 0,top:d?0:u,height:d?"100%":p,width:d?p:"100%"}}return t},r._getItemStyleCache=void 0,r._getItemStyleCache=u((function(e,t,n){return{}})),r._onScrollHorizontal=function(e){var t=e.currentTarget,n=t.clientWidth,o=t.scrollLeft,i=t.scrollWidth;r.setState((function(e){if(e.scrollOffset===o)return null;var t=r.props.direction,a=o;if("rtl"===t)switch(g()){case"negative":a=-o;break;case"positive-descending":a=i-n-o}return a=Math.max(0,Math.min(a,i-n)),{isScrolling:!0,scrollDirection:e.scrollOffsets.clientWidth?h():0:s.scrollHeight>s.clientHeight?h():0}this.scrollTo(c(this.props,e,t,i,this._instanceProps,a))},A.componentDidMount=function(){var e=this.props,t=e.direction,n=e.initialScrollOffset,r=e.layout;if("number"===typeof n&&null!=this._outerRef){var o=this._outerRef;"horizontal"===t||"horizontal"===r?o.scrollLeft=n:o.scrollTop=n}this._callPropsCallbacks()},A.componentDidUpdate=function(){var e=this.props,t=e.direction,n=e.layout,r=this.state,o=r.scrollOffset;if(r.scrollUpdateWasRequested&&null!=this._outerRef){var i=this._outerRef;if("horizontal"===t||"horizontal"===n)if("rtl"===t)switch(g()){case"negative":i.scrollLeft=-o;break;case"positive-ascending":i.scrollLeft=o;break;default:var a=i.clientWidth,s=i.scrollWidth;i.scrollLeft=s-a-o}else i.scrollLeft=o;else i.scrollTop=o}this._callPropsCallbacks()},A.componentWillUnmount=function(){null!==this._resetIsScrollingTimeoutId&&d(this._resetIsScrollingTimeoutId)},A.render=function(){var e=this.props,t=e.children,n=e.className,a=e.direction,s=e.height,l=e.innerRef,c=e.innerElementType,u=e.innerTagName,p=e.itemCount,d=e.itemData,b=e.itemKey,f=void 0===b?O:b,h=e.layout,m=e.outerElementType,g=e.outerTagName,y=e.style,M=e.useIsScrolling,z=e.width,A=this.state.isScrolling,v="horizontal"===a||"horizontal"===h,w=v?this._onScrollHorizontal:this._onScrollVertical,S=this._getRangeToRender(),x=S[0],E=S[1],k=[];if(p>0)for(var q=x;q<=E;q++)k.push((0,r.createElement)(t,{data:d,key:f(q,d),index:q,isScrolling:M?A:void 0,style:this._getItemStyle(q)}));var T=o(this.props,this._instanceProps);return(0,r.createElement)(m||g||"div",{className:n,onScroll:w,ref:this._outerRefSetter,style:(0,i.Z)({position:"relative",height:s,width:z,overflow:"auto",WebkitOverflowScrolling:"touch",willChange:"transform",direction:a},y)},(0,r.createElement)(c||u||"div",{children:k,ref:l,style:{height:v?"100%":T,pointerEvents:A?"none":void 0,width:v?T:"100%"}}))},A._callPropsCallbacks=function(){if("function"===typeof this.props.onItemsRendered&&this.props.itemCount>0){var e=this._getRangeToRender(),t=e[0],n=e[1],r=e[2],o=e[3];this._callOnItemsRendered(t,n,r,o)}if("function"===typeof this.props.onScroll){var i=this.state,a=i.scrollDirection,s=i.scrollOffset,l=i.scrollUpdateWasRequested;this._callOnScroll(a,s,l)}},A._getRangeToRender=function(){var e=this.props,t=e.itemCount,n=e.overscanCount,r=this.state,o=r.isScrolling,i=r.scrollDirection,a=r.scrollOffset;if(0===t)return[0,0,0,0];var s=p(this.props,a,this._instanceProps),l=f(this.props,s,a,this._instanceProps),c=o&&"backward"!==i?1:Math.max(1,n),u=o&&"forward"!==i?1:Math.max(1,n);return[Math.max(0,s-c),Math.max(0,Math.min(t-1,l+u)),s,l]},t}(r.PureComponent),t.defaultProps={direction:"ltr",itemData:void 0,layout:"vertical",overscanCount:2,useIsScrolling:!1},t}var M=function(e,t){e.children,e.direction,e.height,e.layout,e.innerTagName,e.outerTagName,e.width,t.instance},z=y({getItemOffset:function(e,t){return t*e.itemSize},getItemSize:function(e,t){return e.itemSize},getEstimatedTotalSize:function(e){var t=e.itemCount;return e.itemSize*t},getOffsetForIndexAndAlignment:function(e,t,n,r,o,i){var a=e.direction,s=e.height,l=e.itemCount,c=e.itemSize,u=e.layout,p=e.width,d="horizontal"===a||"horizontal"===u?p:s,b=Math.max(0,l*c-d),f=Math.min(b,t*c),h=Math.max(0,t*c-d+c+i);switch("smart"===n&&(n=r>=h-d&&r<=f+d?"auto":"center"),n){case"start":return f;case"end":return h;case"center":var m=Math.round(h+(f-h)/2);return mb+Math.floor(d/2)?b:m;default:return r>=h&&r<=f?r:r{const e=!(null===s||void 0===s||!s.current)&&s.current.offsetWidth{let{theme:t,$isHighlighted:n}=e;const r=t.inSidebar?t.colors.bgColor:t.colors.secondaryBg;return{display:"flex",alignItems:"center",paddingTop:t.spacing.none,paddingBottom:t.spacing.none,background:n?r:void 0,[`@media (max-width: ${t.breakpoints.md})`]:{minHeight:t.sizes.minElementHeight,height:"auto !important"},"&:hover, &:active, &:focus-visible":{background:r}}}),"");function T(e){const{data:t,index:n,style:r}=e,{item:o,overrides:i,...a}=t[n].props;return(0,w.jsx)(q,{style:r,...a,children:(0,w.jsx)(S,{content:o.label,placement:A.u.AUTO,children:o.label})},o.value)}const _=r.forwardRef(((e,t)=>{const n=r.Children.toArray(e.children);if(!n[0]||!n[0].props.item){const e=n[0]?n[0].props:{};return(0,w.jsx)(o.CK,{$style:{height:"90px"},ref:t,"data-testid":"stSelectboxVirtualDropdownEmpty",children:(0,w.jsx)(o.ey,{...e})})}const i=Math.min(300,40*n.length);return(0,w.jsx)(o.CK,{ref:t,$style:{paddingTop:0,paddingBottom:0},"data-testid":"stSelectboxVirtualDropdown",children:(0,w.jsx)(z,{width:"100%",height:i,itemCount:n.length,itemData:n,itemKey:(e,t)=>t[e].props.item.value,itemSize:40,children:T})})}));_.displayName="VirtualDropdown";const R=_},45162:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var r=n(30969),o=n(35354),i=n(1561),a=n(37574);class s extends r.PureComponent{constructor(){super(...arguments),this.state={error:null},this.componentDidCatch=e=>{(0,i.H)(`${e.name}: ${e.message}\n${e.stack}`)}}render(){const{error:e}=this.state;return e?"ChunkLoadError"===e.name?(0,a.jsx)(o.Z,{width:this.props.width,name:"Network issue",message:(0,a.jsxs)("p",{children:["Cannot load Streamlit frontend code. This can happen when you update Streamlit while a Streamlit app is running.",(0,a.jsx)("br",{}),"To fix this, simply reload this app by pressing ",(0,a.jsx)("kbd",{children:"F5"}),", ",(0,a.jsx)("kbd",{children:"Ctrl+R"}),", or ",(0,a.jsx)("kbd",{children:"Cmd+R"}),".",(0,a.jsx)("br",{}),"If the error persists, try force-clearing your browser's cache as described"," ",(0,a.jsx)("a",{href:"https://en.wikipedia.org/wiki/Wikipedia:Bypass_your_cache#Cache_clearing_and_disabling",rel:"noopener noreferrer",target:"_blank",children:"here"})]})}):(0,a.jsx)(o.Z,{width:this.props.width,name:e.name,message:e.message,stack:e.stack}):this.props.children}}s.getDerivedStateFromError=e=>({error:e});const l=s},35354:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});n(30969);var r=n(76921);const o=(0,n(83405).Z)("pre",{target:"e1ixn3a00"})((e=>{let{theme:t}=e;return{padding:t.spacing.twoXS,whiteSpace:"pre-wrap",wordWrap:"break-word",color:"inherit",fontSize:t.fontSizes.sm}}),"");var i=n(37574);const a=function(e){const{name:t,message:n,stack:a,width:s}=e,l=a?a.split("\n"):[];l.shift();const c=l.map((e=>e.trim())).join("\n");return(0,i.jsxs)(r.Z,{kind:r.h.ERROR,width:s,children:[(0,i.jsxs)("strong",{children:[t,": "]}),n,a?(0,i.jsx)(o,{"data-testid":"stErrorElementStack",children:(0,i.jsx)("code",{children:c})}):null]})}},35197:(e,t,n)=>{"use strict";n.d(t,{p:()=>b});var r=n(30969),o=n(77746),i=n(90816),a=n.n(i),s=n(84215),l=n(37574);const c=e=>{let{size:t,margin:n,padding:r,color:o}=e;return{size:t||"md",margin:n||"",padding:r||"",color:o||"inherit"}},u=e=>{let{iconName:t,...n}=e;return(0,l.jsx)(s.m,{...c(n),"data-testid":n.testid||"stIconMaterial",children:a()(t)})};var p=n(3254);const d=e=>{let{iconValue:t,...n}=e;const{pack:r,icon:i}=function(e){const t=e.match(/^:(.+)\/(.+):$/);return null===t?{pack:"emoji",icon:e}:{pack:t[1],icon:t[2]}}(t);return"material"===r?"star_filled"===i?(0,l.jsx)(p.k6,{...n,children:(0,l.jsx)(p.g,{src:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHZpZXdCb3g9IjAgMCAyMCAyMCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZyBjbGlwLXBhdGg9InVybCgjY2xpcDBfMTg2MF84NDMpIj48cGF0aCBkPSJNOS45OTk5NCAxNC4zOTE2TDEzLjQ1ODMgMTYuNDgzM0MxNC4wOTE2IDE2Ljg2NjYgMTQuODY2NiAxNi4zIDE0LjY5OTkgMTUuNTgzM0wxMy43ODMzIDExLjY1TDE2Ljg0MTYgOC45OTk5N0MxNy4zOTk5IDguNTE2NjMgMTcuMDk5OSA3LjU5OTk3IDE2LjM2NjYgNy41NDE2M0wxMi4zNDE2IDcuMTk5OTdMMTAuNzY2NiAzLjQ4MzNDMTAuNDgzMyAyLjgwODMgOS41MTY2MSAyLjgwODMgOS4yMzMyNyAzLjQ4MzNMNy42NTgyNyA3LjE5MTYzTDMuNjMzMjcgNy41MzMzQzIuODk5OTQgNy41OTE2MyAyLjU5OTk0IDguNTA4MyAzLjE1ODI3IDguOTkxNjNMNi4yMTY2MSAxMS42NDE2TDUuMjk5OTQgMTUuNTc1QzUuMTMzMjcgMTYuMjkxNiA1LjkwODI3IDE2Ljg1ODMgNi41NDE2MSAxNi40NzVMOS45OTk5NCAxNC4zOTE2WiIgZmlsbD0iI0ZBQ0EyQiIvPjwvZz48ZGVmcz48Y2xpcFBhdGggaWQ9ImNsaXAwXzE4NjBfODQzIj48cmVjdCB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIGZpbGw9IndoaXRlIi8+PC9jbGlwUGF0aD48L2RlZnM+PC9zdmc+","data-testid":n.testid||"stImageIcon"})}):(0,l.jsx)(p.k6,{...n,children:(0,l.jsx)(u,{pack:r,iconName:i,...n})}):(0,l.jsx)(p.k6,{...n,children:(0,l.jsx)(o.S,{...n,children:i})})},b=e=>(0,l.jsx)(r.Suspense,{fallback:(0,l.jsx)(p.k6,{...e,children:(0,l.jsx)(o.S,{...e,children:"\xa0"})}),children:(0,l.jsx)(d,{...e})},e.iconValue)},77746:(e,t,n)=>{"use strict";n.d(t,{S:()=>a,Z:()=>s});n(30969);var r=n(3254),o=n(37574);const i=e=>{let{size:t,margin:n,padding:r}=e;return{size:t||"md",margin:n||"",padding:r||""}},a=e=>{let{size:t,margin:n,padding:a,children:s,testid:l}=e;return(0,o.jsx)(r.Er,{"data-testid":l||"stIconEmoji","aria-hidden":"true",...i({size:t,margin:n,padding:a}),children:s})},s=e=>{let{content:t,color:n,size:a,margin:s,padding:l,testid:c}=e;return(0,o.jsx)(r.xL,{as:t,color:n||"inherit","aria-hidden":"true","data-testid":c,...i({size:a,margin:s,padding:l})})}},84215:(e,t,n)=>{"use strict";n.d(t,{m:()=>i});var r=n(83405),o=n(36599);const i=(0,r.Z)("span",{target:"e16edly10"})((e=>{let{size:t,margin:n,padding:r,theme:i,color:a}=e;return{display:"inline-flex",alignItems:"center",justifyContents:"center",color:a,fontSize:i.iconSizes[t],width:i.iconSizes[t],height:i.iconSizes[t],margin:(0,o.ZB)(n,i),padding:(0,o.ZB)(r,i),userSelect:"none",fontFamily:"Material Symbols Rounded",fontWeight:"normal",fontStyle:"normal",lineHeight:i.lineHeights.none,letterSpacing:"normal",textTransform:"none",whiteSpace:"nowrap",wordWrap:"normal",direction:"ltr",fontFeatureSettings:"liga",MozFontFeatureSettings:"liga",WebkitFontFeatureSettings:"liga",WebkitFontSmoothing:"antialiased"}}),"")},3254:(e,t,n)=>{"use strict";n.d(t,{Er:()=>p,g:()=>u,k6:()=>c,qu:()=>s,xL:()=>l});var r=n(83405),o=n(69562),i=n(34088),a=n(36599);const s=(0,r.Z)(i.Q,{shouldForwardProp:e=>(0,o.Z)(e)&&!["size"].includes(e),target:"eyeqlp54"})((e=>{let{usingCustomTheme:t,size:n,margin:r,padding:o,theme:i}=e;return{width:i.iconSizes[n],height:i.iconSizes[n],fontSize:i.iconSizes[n],justifyContents:"center",margin:(0,a.ZB)(r,i),padding:(0,a.ZB)(o,i),borderColor:i.colors.borderColor,borderTopColor:t?i.colors.primary:i.colors.blue70,borderWidth:"0.15em",flexGrow:0,flexShrink:0}}),""),l=(0,r.Z)("span",{shouldForwardProp:e=>(0,o.Z)(e)&&!["size","as"].includes(e),target:"eyeqlp53"})((e=>{let{color:t,size:n,margin:r,padding:o,theme:i}=e;return{color:i.colors[t],fill:"currentColor",display:"inline-flex",alignItems:"center",justifyContents:"center",fontSize:i.iconSizes[n],width:i.iconSizes[n],height:i.iconSizes[n],margin:(0,a.ZB)(r,i),padding:(0,a.ZB)(o,i),flexShrink:0}}),""),c=(0,r.Z)("span",{target:"eyeqlp52"})((e=>{let{size:t="lg",margin:n="",padding:r="",theme:o}=e;return{fill:"currentColor",display:"inline-flex",alignItems:"center",justifyContents:"center",fontSize:o.iconSizes[t],width:o.iconSizes[t],height:o.iconSizes[t],margin:(0,a.ZB)(n,o),padding:(0,a.ZB)(r,o),flexShrink:0}}),""),u=(0,r.Z)("img",{target:"eyeqlp51"})((e=>{let{}=e;return{width:"100%",height:"100%"}}),""),p=(0,r.Z)("span",{target:"eyeqlp50"})((e=>{let{size:t,margin:n,padding:r,theme:o}=e;return{display:"inline-flex",alignItems:"center",justifyContents:"center",fontSize:o.iconSizes[t],width:o.iconSizes[t],height:o.iconSizes[t],margin:(0,a.ZB)(n,o),padding:(0,a.ZB)(r,o)}}),"")},21434:(e,t,n)=>{"use strict";n.d(t,{aF:()=>hd,cw:()=>yd,$G:()=>pd,ZP:()=>Ad});var r={};n.r(r),n.d(r,{attentionMarkers:()=>zt,contentInitial:()=>ht,disable:()=>At,document:()=>ft,flow:()=>gt,flowInitial:()=>mt,insideSpan:()=>Mt,string:()=>Ot,text:()=>yt});var o={};n.r(o),n.d(o,{boolean:()=>bn,booleanish:()=>fn,commaOrSpaceSeparated:()=>yn,commaSeparated:()=>On,number:()=>mn,overloadedBoolean:()=>hn,spaceSeparated:()=>gn});var i=n(30969);const a=function(e){if(void 0===e||null===e)return l;if("string"===typeof e)return function(e){return s(t);function t(t){return t&&t.type===e}}(e);if("object"===typeof e)return Array.isArray(e)?function(e){const t=[];let n=-1;for(;++n1?n-1:0),o=1;o":"")+")"})}return u;function u(){let c,u,p,d=[];if((!t||o(a,s,l[l.length-1]||null))&&(d=function(e){if(Array.isArray(e))return e;if("number"===typeof e)return[true,e];return[e]}(n(a,l)),false===d[0]))return d;if(a.children&&"skip"!==d[0])for(u=(r?a.children.length:-1)+i,p=l.concat(a);u>-1&&ue.length){for(;i--;)if(47===e.charCodeAt(i)){if(n){r=i+1;break}}else o<0&&(n=!0,o=i+1);return o<0?"":e.slice(r,o)}if(t===e)return"";let a=-1,s=t.length-1;for(;i--;)if(47===e.charCodeAt(i)){if(n){r=i+1;break}}else a<0&&(n=!0,a=i+1),s>-1&&(e.charCodeAt(i)===t.charCodeAt(s--)?s<0&&(o=i):(s=-1,o=a));r===o?o=a:o<0&&(o=e.length);return e.slice(r,o)},dirname:function(e){if(y(e),0===e.length)return".";let t,n=-1,r=e.length;for(;--r;)if(47===e.charCodeAt(r)){if(t){n=r;break}}else t||(t=!0);return n<0?47===e.charCodeAt(0)?"/":".":1===n&&47===e.charCodeAt(0)?"//":e.slice(0,n)},extname:function(e){y(e);let t,n=e.length,r=-1,o=0,i=-1,a=0;for(;n--;){const s=e.charCodeAt(n);if(47!==s)r<0&&(t=!0,r=n+1),46===s?i<0?i=n:1!==a&&(a=1):i>-1&&(a=-1);else if(t){o=n+1;break}}if(i<0||r<0||0===a||1===a&&i===r-1&&i===o+1)return"";return e.slice(i,r)},join:function(){let e,t=-1;for(var n=arguments.length,r=new Array(n),o=0;o2){if(r=o.lastIndexOf("/"),r!==o.length-1){r<0?(o="",i=0):(o=o.slice(0,r),i=o.length-1-o.lastIndexOf("/")),a=l,s=0;continue}}else if(o.length>0){o="",i=0,a=l,s=0;continue}t&&(o=o.length>0?o+"/..":"..",i=2)}else o.length>0?o+="/"+e.slice(a+1,l):o=e.slice(a+1,l),i=l-a-1;a=l,s=0}else 46===n&&s>-1?s++:s=-1}return o}(e,!t);0!==n.length||t||(n=".");n.length>0&&47===e.charCodeAt(e.length-1)&&(n+="/");return t?"/"+n:n}(e)},sep:"/"};function y(e){if("string"!==typeof e)throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const M={cwd:function(){return"/"}};function z(e){return null!==e&&"object"===typeof e&&e.href&&e.origin}function A(e){if("string"===typeof e)e=new URL(e);else if(!z(e)){const t=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code="ERR_INVALID_ARG_TYPE",t}if("file:"!==e.protocol){const e=new TypeError("The URL must be of scheme file");throw e.code="ERR_INVALID_URL_SCHEME",e}return function(e){if(""!==e.hostname){const e=new TypeError('File URL host must be "localhost" or empty on darwin');throw e.code="ERR_INVALID_FILE_URL_HOST",e}const t=e.pathname;let n=-1;for(;++n1?l-1:0),u=1;uo.length;let c;l&&o.push(i);try{c=e.apply(this,o)}catch(r){if(l&&n)throw r;return i(r)}l||(c instanceof Promise?c.then(a,i):c instanceof Error?i(c):a(c))}function i(e){if(!n){n=!0;for(var r=arguments.length,o=new Array(r>1?r-1:0),i=1;i1?t-1:0),s=1;s{if(!e&&t&&n){const o=a.stringify(t,n);void 0===o||null===o||("string"===typeof(r=o)||d(r)?n.value=o:n.result=o),i(e,n)}else i(e);var r}))}n(null,t)},a.processSync=function(e){let t;a.freeze(),I("processSync",a.Parser),W("processSync",a.Compiler);const n=D(e);return a.process(n,r),j("processSync","process",t),n;function r(e){t=!0,k(e)}},a;function a(){const t=e();let r=-1;for(;++ro?0:o+t:t>o?o:t,n=n>0?n:0,r.length<1e4)i=Array.from(r),i.unshift(t,n),e.splice(...i);else for(n&&e.splice(t,n);a0?(U(e,e.length,0,t),e):t}const X={}.hasOwnProperty;function G(e){const t={};let n=-1;for(;++ni))return;const n=t.events.length;let o,s,l=n;for(;l--;)if("exit"===t.events[l][0]&&"chunkFlow"===t.events[l][1].type){if(o){s=t.events[l][1].end;break}o=!0}for(g(a),e=n;er;){const r=n[o];t.containerState=r[1],r[0].exit.call(t,e)}n.length=r}function O(){r.write([null]),o=void 0,r=void 0,t.containerState._closeFlow=void 0}}},de={tokenize:function(e,t,n){return ce(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}};const be={tokenize:function(e,t,n){return function(t){return ie(t)?ce(e,r,"linePrefix")(t):r(t)};function r(e){return null===e||re(e)?t(e):n(e)}},partial:!0};function fe(e){const t={};let n,r,o,i,a,s,l,c=-1;for(;++c=4?t(o):e.interrupt(r.parser.constructs.flow,n,t)(o)}},partial:!0};const Oe={tokenize:function(e){const t=this,n=e.attempt(be,(function(r){if(null===r)return void e.consume(r);return e.enter("lineEndingBlank"),e.consume(r),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n}),e.attempt(this.parser.constructs.flowInitial,r,ce(e,e.attempt(this.parser.constructs.flow,r,e.attempt(me,r)),"linePrefix")));return n;function r(r){if(null!==r)return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),t.currentConstruct=void 0,n;e.consume(r)}}};const ye={resolveAll:ve()},Me=Ae("string"),ze=Ae("text");function Ae(e){return{tokenize:function(t){const n=this,r=this.parser.constructs[e],o=t.attempt(r,i,a);return i;function i(e){return l(e)?o(e):a(e)}function a(e){if(null!==e)return t.enter("data"),t.consume(e),s;t.consume(e)}function s(e){return l(e)?(t.exit("data"),o(e)):(t.consume(e),s)}function l(e){if(null===e)return!0;const t=r[e];let o=-1;if(t)for(;++o-1){const e=a[0];"string"===typeof e?a[0]=e.slice(r):a.shift()}i>0&&a.push(e[o].slice(0,i))}return a}(a,e)}function f(){const{line:e,column:t,offset:n,_index:o,_bufferIndex:i}=r;return{line:e,column:t,offset:n,_index:o,_bufferIndex:i}}function h(){let e;for(;r._index=3&&(null===i||re(i))?(e.exit("thematicBreak"),t(i)):n(i)}function a(t){return t===r?(e.consume(t),o++,a):(e.exit("thematicBreakSequence"),ie(t)?ce(e,i,"whitespace")(t):i(t))}}};const ke={name:"list",tokenize:function(e,t,n){const r=this,o=r.events[r.events.length-1];let i=o&&"linePrefix"===o[1].type?o[2].sliceSerialize(o[1],!0).length:0,a=0;return function(t){const o=r.containerState.type||(42===t||43===t||45===t?"listUnordered":"listOrdered");if("listUnordered"===o?!r.containerState.marker||t===r.containerState.marker:ee(t)){if(r.containerState.type||(r.containerState.type=o,e.enter(o,{_container:!0})),"listUnordered"===o)return e.enter("listItemPrefix"),42===t||45===t?e.check(Ee,n,l)(t):l(t);if(!r.interrupt||49===t)return e.enter("listItemPrefix"),e.enter("listItemValue"),s(t)}return n(t)};function s(t){return ee(t)&&++a<10?(e.consume(t),s):(!r.interrupt||a<2)&&(r.containerState.marker?t===r.containerState.marker:41===t||46===t)?(e.exit("listItemValue"),l(t)):n(t)}function l(t){return e.enter("listItemMarker"),e.consume(t),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||t,e.check(be,r.interrupt?n:c,e.attempt(qe,p,u))}function c(e){return r.containerState.initialBlankLine=!0,i++,p(e)}function u(t){return ie(t)?(e.enter("listItemPrefixWhitespace"),e.consume(t),e.exit("listItemPrefixWhitespace"),p):n(t)}function p(n){return r.containerState.size=i+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(n)}},continuation:{tokenize:function(e,t,n){const r=this;return r.containerState._closeFlow=void 0,e.check(be,o,i);function o(n){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,ce(e,t,"listItemIndent",r.containerState.size+1)(n)}function i(n){return r.containerState.furtherBlankLines||!ie(n)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,a(n)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(Te,t,a)(n))}function a(o){return r.containerState._closeFlow=!0,r.interrupt=void 0,ce(e,e.attempt(ke,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(o)}}},exit:function(e){e.exit(this.containerState.type)}},qe={tokenize:function(e,t,n){const r=this;return ce(e,(function(e){const o=r.events[r.events.length-1];return!ie(e)&&o&&"listItemPrefixWhitespace"===o[1].type?t(e):n(e)}),"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5)},partial:!0},Te={tokenize:function(e,t,n){const r=this;return ce(e,(function(e){const o=r.events[r.events.length-1];return o&&"listItemIndent"===o[1].type&&o[2].sliceSerialize(o[1],!0).length===r.containerState.size?t(e):n(e)}),"listItemIndent",r.containerState.size+1)},partial:!0};const _e={name:"blockQuote",tokenize:function(e,t,n){const r=this;return function(t){if(62===t){const n=r.containerState;return n.open||(e.enter("blockQuote",{_container:!0}),n.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(t),e.exit("blockQuoteMarker"),o}return n(t)};function o(n){return ie(n)?(e.enter("blockQuotePrefixWhitespace"),e.consume(n),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(n))}},continuation:{tokenize:function(e,t,n){const r=this;return function(t){if(ie(t))return ce(e,o,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t);return o(t)};function o(r){return e.attempt(_e,t,n)(r)}}},exit:function(e){e.exit("blockQuote")}};function Re(e,t,n,r,o,i,a,s,l){const c=l||Number.POSITIVE_INFINITY;let u=0;return function(t){if(60===t)return e.enter(r),e.enter(o),e.enter(i),e.consume(t),e.exit(i),p;if(null===t||32===t||41===t||Q(t))return n(t);return e.enter(r),e.enter(a),e.enter(s),e.enter("chunkString",{contentType:"string"}),f(t)};function p(n){return 62===n?(e.enter(i),e.consume(n),e.exit(i),e.exit(o),e.exit(r),t):(e.enter(s),e.enter("chunkString",{contentType:"string"}),d(n))}function d(t){return 62===t?(e.exit("chunkString"),e.exit(s),p(t)):null===t||60===t||re(t)?n(t):(e.consume(t),92===t?b:d)}function b(t){return 60===t||62===t||92===t?(e.consume(t),d):d(t)}function f(o){return u||null!==o&&41!==o&&!oe(o)?u999||null===p||91===p||93===p&&!s||94===p&&!l&&"_hiddenFootnoteSupport"in a.parser.constructs?n(p):93===p?(e.exit(i),e.enter(o),e.consume(p),e.exit(o),e.exit(r),t):re(p)?(e.enter("lineEnding"),e.consume(p),e.exit("lineEnding"),c):(e.enter("chunkString",{contentType:"string"}),u(p))}function u(t){return null===t||91===t||93===t||re(t)||l++>999?(e.exit("chunkString"),c(t)):(e.consume(t),s||(s=!ie(t)),92===t?p:u)}function p(t){return 91===t||92===t||93===t?(e.consume(t),l++,u):u(t)}}function Ne(e,t,n,r,o,i){let a;return function(t){if(34===t||39===t||40===t)return e.enter(r),e.enter(o),e.consume(t),e.exit(o),a=40===t?41:t,s;return n(t)};function s(n){return n===a?(e.enter(o),e.consume(n),e.exit(o),e.exit(r),t):(e.enter(i),l(n))}function l(t){return t===a?(e.exit(i),s(a)):null===t?n(t):re(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),ce(e,l,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),c(t))}function c(t){return t===a||null===t||re(t)?(e.exit("chunkString"),l(t)):(e.consume(t),92===t?u:c)}function u(t){return t===a||92===t?(e.consume(t),c):c(t)}}function Ie(e,t){let n;return function r(o){if(re(o))return e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),n=!0,r;if(ie(o))return ce(e,r,n?"linePrefix":"lineSuffix")(o);return t(o)}}function We(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const Pe={name:"definition",tokenize:function(e,t,n){const r=this;let o;return function(t){return e.enter("definition"),function(t){return Ce.call(r,e,i,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(t)}(t)};function i(t){return o=We(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),58===t?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),a):n(t)}function a(t){return oe(t)?Ie(e,s)(t):s(t)}function s(t){return Re(e,l,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(t)}function l(t){return e.attempt(Le,c,c)(t)}function c(t){return ie(t)?ce(e,u,"whitespace")(t):u(t)}function u(i){return null===i||re(i)?(e.exit("definition"),r.parser.defined.push(o),t(i)):n(i)}}},Le={tokenize:function(e,t,n){return function(t){return oe(t)?Ie(e,r)(t):n(t)};function r(t){return Ne(e,o,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(t)}function o(t){return ie(t)?ce(e,i,"whitespace")(t):i(t)}function i(e){return null===e||re(e)?t(e):n(e)}},partial:!0};const je={name:"codeIndented",tokenize:function(e,t,n){const r=this;return function(t){return e.enter("codeIndented"),ce(e,o,"linePrefix",5)(t)};function o(e){const t=r.events[r.events.length-1];return t&&"linePrefix"===t[1].type&&t[2].sliceSerialize(t[1],!0).length>=4?i(e):n(e)}function i(t){return null===t?s(t):re(t)?e.attempt(De,i,s)(t):(e.enter("codeFlowValue"),a(t))}function a(t){return null===t||re(t)?(e.exit("codeFlowValue"),i(t)):(e.consume(t),a)}function s(n){return e.exit("codeIndented"),t(n)}}},De={tokenize:function(e,t,n){const r=this;return o;function o(t){return r.parser.lazy[r.now().line]?n(t):re(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),o):ce(e,i,"linePrefix",5)(t)}function i(e){const i=r.events[r.events.length-1];return i&&"linePrefix"===i[1].type&&i[2].sliceSerialize(i[1],!0).length>=4?t(e):re(e)?o(e):n(e)}},partial:!0};const Be={name:"headingAtx",tokenize:function(e,t,n){let r=0;return function(t){return e.enter("atxHeading"),function(t){return e.enter("atxHeadingSequence"),o(t)}(t)};function o(t){return 35===t&&r++<6?(e.consume(t),o):null===t||oe(t)?(e.exit("atxHeadingSequence"),i(t)):n(t)}function i(n){return 35===n?(e.enter("atxHeadingSequence"),a(n)):null===n||re(n)?(e.exit("atxHeading"),t(n)):ie(n)?ce(e,i,"whitespace")(n):(e.enter("atxHeadingText"),s(n))}function a(t){return 35===t?(e.consume(t),a):(e.exit("atxHeadingSequence"),i(t))}function s(t){return null===t||35===t||oe(t)?(e.exit("atxHeadingText"),i(t)):(e.consume(t),s)}},resolve:function(e,t){let n,r,o=e.length-2,i=3;"whitespace"===e[i][1].type&&(i+=2);o-2>i&&"whitespace"===e[o][1].type&&(o-=2);"atxHeadingSequence"===e[o][1].type&&(i===o-1||o-4>i&&"whitespace"===e[o-2][1].type)&&(o-=i+1===o?2:4);o>i&&(n={type:"atxHeadingText",start:e[i][1].start,end:e[o][1].end},r={type:"chunkText",start:e[i][1].start,end:e[o][1].end,contentType:"text"},U(e,i,o-i+1,[["enter",n,t],["enter",r,t],["exit",r,t],["exit",n,t]]));return e}};const Fe={name:"setextUnderline",tokenize:function(e,t,n){const r=this;let o;return function(t){let a,s=r.events.length;for(;s--;)if("lineEnding"!==r.events[s][1].type&&"linePrefix"!==r.events[s][1].type&&"content"!==r.events[s][1].type){a="paragraph"===r.events[s][1].type;break}if(!r.parser.lazy[r.now().line]&&(r.interrupt||a))return e.enter("setextHeadingLine"),o=t,function(t){return e.enter("setextHeadingLineSequence"),i(t)}(t);return n(t)};function i(t){return t===o?(e.consume(t),i):(e.exit("setextHeadingLineSequence"),ie(t)?ce(e,a,"lineSuffix")(t):a(t))}function a(r){return null===r||re(r)?(e.exit("setextHeadingLine"),t(r)):n(r)}},resolveTo:function(e,t){let n,r,o,i=e.length;for(;i--;)if("enter"===e[i][0]){if("content"===e[i][1].type){n=i;break}"paragraph"===e[i][1].type&&(r=i)}else"content"===e[i][1].type&&e.splice(i,1),o||"definition"!==e[i][1].type||(o=i);const a={type:"setextHeading",start:Object.assign({},e[r][1].start),end:Object.assign({},e[e.length-1][1].end)};e[r][1].type="setextHeadingText",o?(e.splice(r,0,["enter",a,t]),e.splice(o+1,0,["exit",e[n][1],t]),e[n][1].end=Object.assign({},e[o][1].end)):e[n][1]=a;return e.push(["exit",a,t]),e}};const Ve=["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"],Ue=["pre","script","style","textarea"],He={name:"htmlFlow",tokenize:function(e,t,n){const r=this;let o,i,a,s,l;return function(t){return function(t){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(t),c}(t)};function c(s){return 33===s?(e.consume(s),u):47===s?(e.consume(s),i=!0,b):63===s?(e.consume(s),o=3,r.interrupt?t:N):Y(s)?(e.consume(s),a=String.fromCharCode(s),f):n(s)}function u(i){return 45===i?(e.consume(i),o=2,p):91===i?(e.consume(i),o=5,s=0,d):Y(i)?(e.consume(i),o=4,r.interrupt?t:N):n(i)}function p(o){return 45===o?(e.consume(o),r.interrupt?t:N):n(o)}function d(o){const i="CDATA[";return o===i.charCodeAt(s++)?(e.consume(o),6===s?r.interrupt?t:x:d):n(o)}function b(t){return Y(t)?(e.consume(t),a=String.fromCharCode(t),f):n(t)}function f(s){if(null===s||47===s||62===s||oe(s)){const l=47===s,c=a.toLowerCase();return l||i||!Ue.includes(c)?Ve.includes(a.toLowerCase())?(o=6,l?(e.consume(s),h):r.interrupt?t(s):x(s)):(o=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(s):i?m(s):g(s)):(o=1,r.interrupt?t(s):x(s))}return 45===s||Z(s)?(e.consume(s),a+=String.fromCharCode(s),f):n(s)}function h(o){return 62===o?(e.consume(o),r.interrupt?t:x):n(o)}function m(t){return ie(t)?(e.consume(t),m):w(t)}function g(t){return 47===t?(e.consume(t),w):58===t||95===t||Y(t)?(e.consume(t),O):ie(t)?(e.consume(t),g):w(t)}function O(t){return 45===t||46===t||58===t||95===t||Z(t)?(e.consume(t),O):y(t)}function y(t){return 61===t?(e.consume(t),M):ie(t)?(e.consume(t),y):g(t)}function M(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),l=t,z):ie(t)?(e.consume(t),M):A(t)}function z(t){return t===l?(e.consume(t),l=null,v):null===t||re(t)?n(t):(e.consume(t),z)}function A(t){return null===t||34===t||39===t||47===t||60===t||61===t||62===t||96===t||oe(t)?y(t):(e.consume(t),A)}function v(e){return 47===e||62===e||ie(e)?g(e):n(e)}function w(t){return 62===t?(e.consume(t),S):n(t)}function S(t){return null===t||re(t)?x(t):ie(t)?(e.consume(t),S):n(t)}function x(t){return 45===t&&2===o?(e.consume(t),T):60===t&&1===o?(e.consume(t),_):62===t&&4===o?(e.consume(t),I):63===t&&3===o?(e.consume(t),N):93===t&&5===o?(e.consume(t),C):!re(t)||6!==o&&7!==o?null===t||re(t)?(e.exit("htmlFlowData"),E(t)):(e.consume(t),x):(e.exit("htmlFlowData"),e.check(Xe,W,E)(t))}function E(t){return e.check(Ge,k,W)(t)}function k(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),q}function q(t){return null===t||re(t)?E(t):(e.enter("htmlFlowData"),x(t))}function T(t){return 45===t?(e.consume(t),N):x(t)}function _(t){return 47===t?(e.consume(t),a="",R):x(t)}function R(t){if(62===t){const n=a.toLowerCase();return Ue.includes(n)?(e.consume(t),I):x(t)}return Y(t)&&a.length<8?(e.consume(t),a+=String.fromCharCode(t),R):x(t)}function C(t){return 93===t?(e.consume(t),N):x(t)}function N(t){return 62===t?(e.consume(t),I):45===t&&2===o?(e.consume(t),N):x(t)}function I(t){return null===t||re(t)?(e.exit("htmlFlowData"),W(t)):(e.consume(t),I)}function W(n){return e.exit("htmlFlow"),t(n)}},resolveTo:function(e){let t=e.length;for(;t--&&("enter"!==e[t][0]||"htmlFlow"!==e[t][1].type););t>1&&"linePrefix"===e[t-2][1].type&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2));return e},concrete:!0},Xe={tokenize:function(e,t,n){return function(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),e.attempt(be,t,n)}},partial:!0},Ge={tokenize:function(e,t,n){const r=this;return function(t){if(re(t))return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),o;return n(t)};function o(e){return r.parser.lazy[r.now().line]?n(e):t(e)}},partial:!0};const $e={tokenize:function(e,t,n){const r=this;return function(t){if(null===t)return n(t);return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),o};function o(e){return r.parser.lazy[r.now().line]?n(e):t(e)}},partial:!0},Ke={name:"codeFenced",tokenize:function(e,t,n){const r=this,o={tokenize:function(e,t,n){let o=0;return a;function a(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),l}function l(t){return e.enter("codeFencedFence"),ie(t)?ce(e,c,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):c(t)}function c(t){return t===i?(e.enter("codeFencedFenceSequence"),u(t)):n(t)}function u(t){return t===i?(o++,e.consume(t),u):o>=s?(e.exit("codeFencedFenceSequence"),ie(t)?ce(e,p,"whitespace")(t):p(t)):n(t)}function p(r){return null===r||re(r)?(e.exit("codeFencedFence"),t(r)):n(r)}},partial:!0};let i,a=0,s=0;return function(t){return function(t){const n=r.events[r.events.length-1];return a=n&&"linePrefix"===n[1].type?n[2].sliceSerialize(n[1],!0).length:0,i=t,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),l(t)}(t)};function l(t){return t===i?(s++,e.consume(t),l):s<3?n(t):(e.exit("codeFencedFenceSequence"),ie(t)?ce(e,c,"whitespace")(t):c(t))}function c(n){return null===n||re(n)?(e.exit("codeFencedFence"),r.interrupt?t(n):e.check($e,b,O)(n)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),u(n))}function u(t){return null===t||re(t)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),c(t)):ie(t)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),ce(e,p,"whitespace")(t)):96===t&&t===i?n(t):(e.consume(t),u)}function p(t){return null===t||re(t)?c(t):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),d(t))}function d(t){return null===t||re(t)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),c(t)):96===t&&t===i?n(t):(e.consume(t),d)}function b(t){return e.attempt(o,O,f)(t)}function f(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),h}function h(t){return a>0&&ie(t)?ce(e,m,"linePrefix",a+1)(t):m(t)}function m(t){return null===t||re(t)?e.check($e,b,O)(t):(e.enter("codeFlowValue"),g(t))}function g(t){return null===t||re(t)?(e.exit("codeFlowValue"),m(t)):(e.consume(t),g)}function O(n){return e.exit("codeFenced"),t(n)}},concrete:!0};const Ye=document.createElement("i");function Ze(e){const t="&"+e+";";Ye.innerHTML=t;const n=Ye.textContent;return(59!==n.charCodeAt(n.length-1)||"semi"===e)&&(n!==t&&n)}const Je={name:"characterReference",tokenize:function(e,t,n){const r=this;let o,i,a=0;return function(t){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(t),e.exit("characterReferenceMarker"),s};function s(t){return 35===t?(e.enter("characterReferenceMarkerNumeric"),e.consume(t),e.exit("characterReferenceMarkerNumeric"),l):(e.enter("characterReferenceValue"),o=31,i=Z,c(t))}function l(t){return 88===t||120===t?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(t),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),o=6,i=te,c):(e.enter("characterReferenceValue"),o=7,i=ee,c(t))}function c(s){if(59===s&&a){const o=e.exit("characterReferenceValue");return i!==Z||Ze(r.sliceSerialize(o))?(e.enter("characterReferenceMarker"),e.consume(s),e.exit("characterReferenceMarker"),e.exit("characterReference"),t):n(s)}return i(s)&&a++1&&e[u][1].end.offset-e[u][1].start.offset>1?2:1;const p=Object.assign({},e[n][1].end),d=Object.assign({},e[u][1].start);lt(p,-s),lt(d,s),i={type:s>1?"strongSequence":"emphasisSequence",start:p,end:Object.assign({},e[n][1].end)},a={type:s>1?"strongSequence":"emphasisSequence",start:Object.assign({},e[u][1].start),end:d},o={type:s>1?"strongText":"emphasisText",start:Object.assign({},e[n][1].end),end:Object.assign({},e[u][1].start)},r={type:s>1?"strong":"emphasis",start:Object.assign({},i.start),end:Object.assign({},a.end)},e[n][1].end=Object.assign({},i.start),e[u][1].start=Object.assign({},a.end),l=[],e[n][1].end.offset-e[n][1].start.offset&&(l=H(l,[["enter",e[n][1],t],["exit",e[n][1],t]])),l=H(l,[["enter",r,t],["enter",i,t],["exit",i,t],["enter",o,t]]),l=H(l,Se(t.parser.constructs.insideSpan.null,e.slice(n+1,u),t)),l=H(l,[["exit",o,t],["enter",a,t],["exit",a,t],["exit",r,t]]),e[u][1].end.offset-e[u][1].start.offset?(c=2,l=H(l,[["enter",e[u][1],t],["exit",e[u][1],t]])):c=0,U(e,n-1,u-n+3,l),u=n+l.length-c-2;break}u=-1;for(;++u13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||65535===(65535&n)||65534===(65535&n)||n>1114111?"\ufffd":String.fromCharCode(n)}const St=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function xt(e){return e.replace(St,Et)}function Et(e,t,n){if(t)return t;if(35===n.charCodeAt(0)){const e=n.charCodeAt(1),t=120===e||88===e;return wt(n.slice(t?2:1),t?16:10)}return Ze(n)||e}const kt={}.hasOwnProperty,qt=function(e,t,n){return"string"!==typeof t&&(n=t,t=void 0),function(e){const t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:s(ie),autolinkProtocol:k,autolinkEmail:k,atxHeading:s(te),blockQuote:s(Y),characterEscape:k,characterReference:k,codeFenced:s(Z),codeFencedFenceInfo:l,codeFencedFenceMeta:l,codeIndented:s(Z,l),codeText:s(J,l),codeTextData:k,data:k,codeFlowValue:k,definition:s(Q),definitionDestinationString:l,definitionLabelString:l,definitionTitleString:l,emphasis:s(ee),hardBreakEscape:s(ne),hardBreakTrailing:s(ne),htmlFlow:s(re,l),htmlFlowData:k,htmlText:s(re,l),htmlTextData:k,image:s(oe),label:l,link:s(ie),listItem:s(se),listItemValue:h,listOrdered:s(ae,f),listUnordered:s(ae),paragraph:s(le),reference:U,referenceString:l,resourceDestinationString:l,resourceTitleString:l,setextHeading:s(te),strong:s(ce),thematicBreak:s(pe)},exit:{atxHeading:u(),atxHeadingSequence:w,autolink:u(),autolinkEmail:K,autolinkProtocol:$,blockQuote:u(),characterEscapeValue:q,characterReferenceMarkerHexadecimal:X,characterReferenceMarkerNumeric:X,characterReferenceValue:G,codeFenced:u(y),codeFencedFence:O,codeFencedFenceInfo:m,codeFencedFenceMeta:g,codeFlowValue:q,codeIndented:u(M),codeText:u(N),codeTextData:q,data:q,definition:u(),definitionDestinationString:v,definitionLabelString:z,definitionTitleString:A,emphasis:u(),hardBreakEscape:u(_),hardBreakTrailing:u(_),htmlFlow:u(R),htmlFlowData:q,htmlText:u(C),htmlTextData:q,image:u(W),label:L,labelText:P,lineEnding:T,link:u(I),listItem:u(),listOrdered:u(),listUnordered:u(),paragraph:u(),referenceString:H,resourceDestinationString:j,resourceTitleString:D,resource:V,setextHeading:u(E),setextHeadingLineSequence:x,setextHeadingText:S,strong:u(),thematicBreak:u()}};_t(t,(e||{}).mdastExtensions||[]);const n={};return r;function r(e){let n={type:"root",children:[]};const r={stack:[n],tokenStack:[],config:t,enter:c,exit:p,buffer:l,resume:d,setData:i,getData:a},s=[];let u=-1;for(;++u0){const e=r.tokenStack[r.tokenStack.length-1];(e[1]||Ct).call(r,void 0,e[0])}for(n.position={start:Tt(e.length>0?e[0][1].start:{line:1,column:1,offset:0}),end:Tt(e.length>0?e[e.length-2][1].end:{line:1,column:1,offset:0})},u=-1;++u{const n=this.data("settings");return qt(t,Object.assign({},n,e,{extensions:this.data("micromarkExtensions")||[],mdastExtensions:this.data("fromMarkdownExtensions")||[]}))}})}function It(e){const t=[];let n=-1,r=0,o=0;for(;++n55295&&i<57344){const t=e.charCodeAt(n+1);i<56320&&t>56319&&t<57344?(a=String.fromCharCode(i,t),o=1):a="\ufffd"}else a=String.fromCharCode(i);a&&(t.push(e.slice(r,n),encodeURIComponent(a)),r=n+o+1,a=""),o&&(n+=o,o=0)}return t.join("")+e.slice(r)}const Wt=Lt("start"),Pt=Lt("end");function Lt(e){return function(t){const n=t&&t.position&&t.position[e]||{};return{line:n.line||null,column:n.column||null,offset:n.offset>-1?n.offset:null}}}const jt={}.hasOwnProperty;function Dt(e){return String(e||"").toUpperCase()}function Bt(e,t){const n=String(t.identifier).toUpperCase(),r=It(n.toLowerCase()),o=e.footnoteOrder.indexOf(n);let i;-1===o?(e.footnoteOrder.push(n),e.footnoteCounts[n]=1,i=e.footnoteOrder.length):(e.footnoteCounts[n]++,i=o+1);const a=e.footnoteCounts[n],s={type:"element",tagName:"a",properties:{href:"#"+e.clobberPrefix+"fn-"+r,id:e.clobberPrefix+"fnref-"+r+(a>1?"-"+a:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(i)}]};e.patch(t,s);const l={type:"element",tagName:"sup",properties:{},children:[s]};return e.patch(t,l),e.applyData(t,l)}function Ft(e,t){const n=t.referenceType;let r="]";if("collapsed"===n?r+="[]":"full"===n&&(r+="["+(t.label||t.identifier)+"]"),"imageReference"===t.type)return{type:"text",value:"!["+t.alt+r};const o=e.all(t),i=o[0];i&&"text"===i.type?i.value="["+i.value:o.unshift({type:"text",value:"["});const a=o[o.length-1];return a&&"text"===a.type?a.value+=r:o.push({type:"text",value:r}),o}function Vt(e){const t=e.spread;return void 0===t||null===t?e.children.length>1:t}const Ut=9,Ht=32;function Xt(e){const t=String(e),n=/\r?\n|\r/g;let r=n.exec(t),o=0;const i=[];for(;r;)i.push(Gt(t.slice(o,r.index),o>0,!0),r[0]),o=r.index+r[0].length,r=n.exec(t);return i.push(Gt(t.slice(o),o>0,!1)),i.join("")}function Gt(e,t,n){let r=0,o=e.length;if(t){let t=e.codePointAt(r);for(;t===Ut||t===Ht;)r++,t=e.codePointAt(r)}if(n){let t=e.codePointAt(o-1);for(;t===Ut||t===Ht;)o--,t=e.codePointAt(o-1)}return o>r?e.slice(r,o):""}const $t={blockquote:function(e,t){const n={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,n),e.applyData(t,n)},break:function(e,t){const n={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:"text",value:"\n"}]},code:function(e,t){const n=t.value?t.value+"\n":"",r=t.lang?t.lang.match(/^[^ \t]+(?=[ \t]|$)/):null,o={};r&&(o.className=["language-"+r]);let i={type:"element",tagName:"code",properties:o,children:[{type:"text",value:n}]};return t.meta&&(i.data={meta:t.meta}),e.patch(t,i),i=e.applyData(t,i),i={type:"element",tagName:"pre",properties:{},children:[i]},e.patch(t,i),i},delete:function(e,t){const n={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},emphasis:function(e,t){const n={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},footnoteReference:Bt,footnote:function(e,t){const n=e.footnoteById;let r=1;for(;r in n;)r++;const o=String(r);return n[o]={type:"footnoteDefinition",identifier:o,children:[{type:"paragraph",children:t.children}],position:t.position},Bt(e,{type:"footnoteReference",identifier:o,position:t.position})},heading:function(e,t){const n={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},html:function(e,t){if(e.dangerous){const n={type:"raw",value:t.value};return e.patch(t,n),e.applyData(t,n)}return null},imageReference:function(e,t){const n=e.definition(t.identifier);if(!n)return Ft(e,t);const r={src:It(n.url||""),alt:t.alt};null!==n.title&&void 0!==n.title&&(r.title=n.title);const o={type:"element",tagName:"img",properties:r,children:[]};return e.patch(t,o),e.applyData(t,o)},image:function(e,t){const n={src:It(t.url)};null!==t.alt&&void 0!==t.alt&&(n.alt=t.alt),null!==t.title&&void 0!==t.title&&(n.title=t.title);const r={type:"element",tagName:"img",properties:n,children:[]};return e.patch(t,r),e.applyData(t,r)},inlineCode:function(e,t){const n={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,n);const r={type:"element",tagName:"code",properties:{},children:[n]};return e.patch(t,r),e.applyData(t,r)},linkReference:function(e,t){const n=e.definition(t.identifier);if(!n)return Ft(e,t);const r={href:It(n.url||"")};null!==n.title&&void 0!==n.title&&(r.title=n.title);const o={type:"element",tagName:"a",properties:r,children:e.all(t)};return e.patch(t,o),e.applyData(t,o)},link:function(e,t){const n={href:It(t.url)};null!==t.title&&void 0!==t.title&&(n.title=t.title);const r={type:"element",tagName:"a",properties:n,children:e.all(t)};return e.patch(t,r),e.applyData(t,r)},listItem:function(e,t,n){const r=e.all(t),o=n?function(e){let t=!1;if("list"===e.type){t=e.spread||!1;const n=e.children;let r=-1;for(;!t&&++r0&&n.children.unshift({type:"text",value:" "}),n.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),i.className=["task-list-item"]}let s=-1;for(;++s0){const r={type:"element",tagName:"tbody",properties:{},children:e.wrap(n,!0)},i=Wt(t.children[1]),a=Pt(t.children[t.children.length-1]);i.line&&a.line&&(r.position={start:i,end:a}),o.push(r)}const i={type:"element",tagName:"table",properties:{},children:e.wrap(o,!0)};return e.patch(t,i),e.applyData(t,i)},tableCell:function(e,t){const n={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},tableRow:function(e,t,n){const r=n?n.children:void 0,o=0===(r?r.indexOf(t):1)?"th":"td",i=n&&"table"===n.type?n.align:void 0,a=i?i.length:t.children.length;let s=-1;const l=[];for(;++s{const n=Dt(e.identifier);n&&!jt.call(t,n)&&(t[n]=e)})),function(e){const n=Dt(e);return n&&jt.call(t,n)?t[n]:null}}(e),a.footnoteById=o,a.footnoteOrder=[],a.footnoteCounts={},a.patch=Jt,a.applyData=Qt,a.one=function(e,t){return en(a,e,t)},a.all=function(e){return tn(a,e)},a.wrap=nn,a.augment=i,u(e,"footnoteDefinition",(e=>{const t=String(e.identifier).toUpperCase();Yt.call(o,t)||(o[t]=e)})),a;function i(e,t){if(e&&"data"in e&&e.data){const n=e.data;n.hName&&("element"!==t.type&&(t={type:"element",tagName:"",properties:{},children:[]}),t.tagName=n.hName),"element"===t.type&&n.hProperties&&(t.properties={...t.properties,...n.hProperties}),"children"in t&&t.children&&n.hChildren&&(t.children=n.hChildren)}if(e){const n="type"in e?e:{position:e};(function(e){return!e||!e.position||!e.position.start||!e.position.start.line||!e.position.start.column||!e.position.end||!e.position.end.line||!e.position.end.column})(n)||(t.position={start:Wt(n),end:Pt(n)})}return t}function a(e,t,n,r){return Array.isArray(n)&&(r=n,n={}),i(e,{type:"element",tagName:t,properties:n||{},children:r||[]})}}function Jt(e,t){e.position&&(t.position=function(e){return{start:Wt(e),end:Pt(e)}}(e))}function Qt(e,t){let n=t;if(e&&e.data){const t=e.data.hName,r=e.data.hChildren,o=e.data.hProperties;"string"===typeof t&&("element"===n.type?n.tagName=t:n={type:"element",tagName:t,properties:{},children:[]}),"element"===n.type&&o&&(n.properties={...n.properties,...o}),"children"in n&&n.children&&null!==r&&void 0!==r&&(n.children=r)}return n}function en(e,t,n){const r=t&&t.type;if(!r)throw new Error("Expected node, got `"+t+"`");return Yt.call(e.handlers,r)?e.handlers[r](e,t,n):e.passThrough&&e.passThrough.includes(r)?"children"in t?{...t,children:tn(e,t)}:t:e.unknownHandler?e.unknownHandler(e,t,n):function(e,t){const n=t.data||{},r=!("value"in t)||Yt.call(n,"hProperties")||Yt.call(n,"hChildren")?{type:"element",tagName:"div",properties:{},children:tn(e,t)}:{type:"text",value:t.value};return e.patch(t,r),e.applyData(t,r)}(e,t)}function tn(e,t){const n=[];if("children"in t){const r=t.children;let o=-1;for(;++o0&&n.push({type:"text",value:"\n"}),n}function rn(e,t){const n=Zt(e,t),r=n.one(e,null),o=function(e){const t=[];let n=-1;for(;++n1?"-"+s:""),dataFootnoteBackref:!0,className:["data-footnote-backref"],ariaLabel:e.footnoteBackLabel},children:[{type:"text",value:"\u21a9"}]};s>1&&t.children.push({type:"element",tagName:"sup",children:[{type:"text",value:String(s)}]}),l.length>0&&l.push({type:"text",value:" "}),l.push(t)}const c=o[o.length-1];if(c&&"element"===c.type&&"p"===c.tagName){const e=c.children[c.children.length-1];e&&"text"===e.type?e.value+=" ":c.children.push({type:"text",value:" "}),c.children.push(...l)}else o.push(...l);const u={type:"element",tagName:"li",properties:{id:e.clobberPrefix+"fn-"+a},children:e.wrap(o,!0)};e.patch(r,u),t.push(u)}if(0!==t.length)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:e.footnoteLabelTagName,properties:{...JSON.parse(JSON.stringify(e.footnoteLabelProperties)),id:"footnote-label"},children:[{type:"text",value:e.footnoteLabel}]},{type:"text",value:"\n"},{type:"element",tagName:"ol",properties:{},children:e.wrap(t,!0)},{type:"text",value:"\n"}]}}(n);return o&&r.children.push({type:"text",value:"\n"},o),Array.isArray(r)?{type:"root",children:r}:r}const on=function(e,t){return e&&"run"in e?function(e,t){return(n,r,o)=>{e.run(rn(n,t),r,(e=>{o(e)}))}}(e,t):function(e){return t=>rn(t,e)}(e||t)};var an=n(24974),sn=n.n(an);class ln{constructor(e,t,n){this.property=e,this.normal=t,n&&(this.space=n)}}function cn(e,t){const n={},r={};let o=-1;for(;++o"xlink:"+t.slice(5).toLowerCase(),properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}}),En=Sn({space:"xml",transform:(e,t)=>"xml:"+t.slice(3).toLowerCase(),properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function kn(e,t){return t in e?e[t]:t}function qn(e,t){return kn(e,t.toLowerCase())}const Tn=Sn({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:qn,properties:{xmlns:null,xmlnsXLink:null}}),_n=Sn({transform:(e,t)=>"role"===t?t:"aria-"+t.slice(4).toLowerCase(),properties:{ariaActiveDescendant:null,ariaAtomic:fn,ariaAutoComplete:null,ariaBusy:fn,ariaChecked:fn,ariaColCount:mn,ariaColIndex:mn,ariaColSpan:mn,ariaControls:gn,ariaCurrent:null,ariaDescribedBy:gn,ariaDetails:null,ariaDisabled:fn,ariaDropEffect:gn,ariaErrorMessage:null,ariaExpanded:fn,ariaFlowTo:gn,ariaGrabbed:fn,ariaHasPopup:null,ariaHidden:fn,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:gn,ariaLevel:mn,ariaLive:null,ariaModal:fn,ariaMultiLine:fn,ariaMultiSelectable:fn,ariaOrientation:null,ariaOwns:gn,ariaPlaceholder:null,ariaPosInSet:mn,ariaPressed:fn,ariaReadOnly:fn,ariaRelevant:null,ariaRequired:fn,ariaRoleDescription:gn,ariaRowCount:mn,ariaRowIndex:mn,ariaRowSpan:mn,ariaSelected:fn,ariaSetSize:mn,ariaSort:null,ariaValueMax:mn,ariaValueMin:mn,ariaValueNow:mn,ariaValueText:null,role:null}}),Rn=Sn({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:qn,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:On,acceptCharset:gn,accessKey:gn,action:null,allow:null,allowFullScreen:bn,allowPaymentRequest:bn,allowUserMedia:bn,alt:null,as:null,async:bn,autoCapitalize:null,autoComplete:gn,autoFocus:bn,autoPlay:bn,blocking:gn,capture:bn,charSet:null,checked:bn,cite:null,className:gn,cols:mn,colSpan:null,content:null,contentEditable:fn,controls:bn,controlsList:gn,coords:mn|On,crossOrigin:null,data:null,dateTime:null,decoding:null,default:bn,defer:bn,dir:null,dirName:null,disabled:bn,download:hn,draggable:fn,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:bn,formTarget:null,headers:gn,height:mn,hidden:bn,high:mn,href:null,hrefLang:null,htmlFor:gn,httpEquiv:gn,id:null,imageSizes:null,imageSrcSet:null,inert:bn,inputMode:null,integrity:null,is:null,isMap:bn,itemId:null,itemProp:gn,itemRef:gn,itemScope:bn,itemType:gn,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:bn,low:mn,manifest:null,max:null,maxLength:mn,media:null,method:null,min:null,minLength:mn,multiple:bn,muted:bn,name:null,nonce:null,noModule:bn,noValidate:bn,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:bn,optimum:mn,pattern:null,ping:gn,placeholder:null,playsInline:bn,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:bn,referrerPolicy:null,rel:gn,required:bn,reversed:bn,rows:mn,rowSpan:mn,sandbox:gn,scope:null,scoped:bn,seamless:bn,selected:bn,shadowRootDelegatesFocus:bn,shadowRootMode:null,shape:null,size:mn,sizes:null,slot:null,span:mn,spellCheck:fn,src:null,srcDoc:null,srcLang:null,srcSet:null,start:mn,step:null,style:null,tabIndex:mn,target:null,title:null,translate:null,type:null,typeMustMatch:bn,useMap:null,value:fn,width:mn,wrap:null,align:null,aLink:null,archive:gn,axis:null,background:null,bgColor:null,border:mn,borderColor:null,bottomMargin:mn,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:bn,declare:bn,event:null,face:null,frame:null,frameBorder:null,hSpace:mn,leftMargin:mn,link:null,longDesc:null,lowSrc:null,marginHeight:mn,marginWidth:mn,noResize:bn,noHref:bn,noShade:bn,noWrap:bn,object:null,profile:null,prompt:null,rev:null,rightMargin:mn,rules:null,scheme:null,scrolling:fn,standby:null,summary:null,text:null,topMargin:mn,valueType:null,version:null,vAlign:null,vLink:null,vSpace:mn,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:bn,disableRemotePlayback:bn,prefix:null,property:null,results:mn,security:null,unselectable:null}}),Cn=Sn({space:"svg",attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},transform:kn,properties:{about:yn,accentHeight:mn,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:mn,amplitude:mn,arabicForm:null,ascent:mn,attributeName:null,attributeType:null,azimuth:mn,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:mn,by:null,calcMode:null,capHeight:mn,className:gn,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:mn,diffuseConstant:mn,direction:null,display:null,dur:null,divisor:mn,dominantBaseline:null,download:bn,dx:null,dy:null,edgeMode:null,editable:null,elevation:mn,enableBackground:null,end:null,event:null,exponent:mn,externalResourcesRequired:null,fill:null,fillOpacity:mn,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:On,g2:On,glyphName:On,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:mn,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:mn,horizOriginX:mn,horizOriginY:mn,id:null,ideographic:mn,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:mn,k:mn,k1:mn,k2:mn,k3:mn,k4:mn,kernelMatrix:yn,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:mn,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:mn,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:mn,overlineThickness:mn,paintOrder:null,panose1:null,path:null,pathLength:mn,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:gn,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:mn,pointsAtY:mn,pointsAtZ:mn,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:yn,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:yn,rev:yn,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:yn,requiredFeatures:yn,requiredFonts:yn,requiredFormats:yn,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:mn,specularExponent:mn,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:mn,strikethroughThickness:mn,string:null,stroke:null,strokeDashArray:yn,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:mn,strokeOpacity:mn,strokeWidth:null,style:null,surfaceScale:mn,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:yn,tabIndex:mn,tableValues:null,target:null,targetX:mn,targetY:mn,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:yn,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:mn,underlineThickness:mn,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:mn,values:null,vAlphabetic:mn,vMathematical:mn,vectorEffect:null,vHanging:mn,vIdeographic:mn,version:null,vertAdvY:mn,vertOriginX:mn,vertOriginY:mn,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:mn,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),Nn=cn([En,xn,Tn,_n,Rn],"html"),In=cn([En,xn,Tn,_n,Cn],"svg");function Wn(e){if(e.allowedElements&&e.disallowedElements)throw new TypeError("Only one of `allowedElements` and `disallowedElements` should be defined");if(e.allowedElements||e.disallowedElements||e.allowElement)return t=>{u(t,"element",((t,n,r)=>{const o=r;let i;if(e.allowedElements?i=!e.allowedElements.includes(t.tagName):e.disallowedElements&&(i=e.disallowedElements.includes(t.tagName)),!i&&e.allowElement&&"number"===typeof n&&(i=!e.allowElement(t,n,o)),i&&"number"===typeof n)return e.unwrapDisallowed&&t.children?o.children.splice(n,1,...t.children):o.children.splice(n,1),n}))}}var Pn=n(89832);function Ln(e){const t=e&&"object"===typeof e&&"text"===e.type?e.value||"":e;return"string"===typeof t&&""===t.replace(/[ \t\n\f\r]/g,"")}const jn=/^data[-\w.:]+$/i,Dn=/-[a-z]/g,Bn=/[A-Z]/g;function Fn(e,t){const n=un(t);let r=t,o=pn;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&"data"===n.slice(0,4)&&jn.test(t)){if("-"===t.charAt(4)){const e=t.slice(5).replace(Dn,Un);r="data"+e.charAt(0).toUpperCase()+e.slice(1)}else{const e=t.slice(4);if(!Dn.test(e)){let n=e.replace(Bn,Vn);"-"!==n.charAt(0)&&(n="-"+n),t="data"+n}}o=An}return new o(r,t)}function Vn(e){return"-"+e.toLowerCase()}function Un(e){return e.charAt(1).toUpperCase()}const Hn={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"};function Xn(e){const t=String(e||"").trim();return t?t.split(/[ \t\n\r\f]+/g):[]}function Gn(e){return e.join(" ").trim()}function $n(e){const t=[],n=String(e||"");let r=n.indexOf(","),o=0,i=!1;for(;!i;){-1===r&&(r=n.length,i=!0);const e=n.slice(o,r).trim();!e&&i||t.push(e),o=r+1,r=n.indexOf(",",o)}return t}function Kn(e,t){const n=t||{};return(""===e[e.length-1]?[...e,""]:e).join((n.padRight?" ":"")+","+(!1===n.padLeft?"":" ")).trim()}var Yn=n(27936);const Zn=n.n(Yn)(),Jn=["http","https","mailto","tel"];function Qn(e){const t=(e||"").trim(),n=t.charAt(0);if("#"===n||"/"===n)return t;const r=t.indexOf(":");if(-1===r)return t;let o=-1;for(;++oo?t:(o=t.indexOf("#"),-1!==o&&r>o?t:"javascript:void(0)")}const er={}.hasOwnProperty,tr=new Set(["table","thead","tbody","tfoot","tr"]);function nr(e,t){const n=[];let r,o=-1;for(;++o0?i.createElement(f,c,d):i.createElement(f,c)}function or(e,t){let n=-1,r=0;for(;++n for more info)`),delete cr[i]}const t=R().use(Nt).use(e.remarkPlugins||[]).use(on,{...e.remarkRehypeOptions,allowDangerousHtml:!0}).use(e.rehypePlugins||[]).use(Wn,e),n=new w;"string"===typeof e.children?n.value=e.children:void 0!==e.children&&null!==e.children&&console.warn(`[react-markdown] Warning: please pass a string as \`children\` (not: \`${e.children}\`)`);const r=t.runSync(t.parse(n),n);if("root"!==r.type)throw new TypeError("Expected a `root` node");let o=i.createElement(i.Fragment,{},nr({options:e,schema:Nn,listDepth:0},r));return e.className&&(o=i.createElement("div",{className:e.className},o)),o}ur.propTypes={children:an.string,className:an.string,allowElement:an.func,allowedElements:an.arrayOf(an.string),disallowedElements:an.arrayOf(an.string),unwrapDisallowed:an.bool,remarkPlugins:an.arrayOf(an.oneOfType([an.object,an.func,an.arrayOf(an.oneOfType([an.bool,an.string,an.object,an.func,an.arrayOf(an.any)]))])),rehypePlugins:an.arrayOf(an.oneOfType([an.object,an.func,an.arrayOf(an.oneOfType([an.bool,an.string,an.object,an.func,an.arrayOf(an.any)]))])),sourcePos:an.bool,rawSourcePos:an.bool,skipHtml:an.bool,includeElementIndex:an.bool,transformLinkUri:an.oneOfType([an.func,an.bool]),linkTarget:an.oneOfType([an.func,an.string]),transformImageUri:an.func,components:an.object};var pr=n(34707),dr=n.n(pr),br=n(88674),fr=n.n(br);function hr(e,t,n,r,o,i,a,s,l,c,u,p,d,b,f){let h,m;return function(t){return e.enter(r),e.enter(o),e.consume(t),e.exit(o),g};function g(t){return 35===t?(h=a,O(t)):46===t?(h=s,O(t)):58===t||95===t||Y(t)?(e.enter(i),e.enter(l),e.consume(t),z):f&&ie(t)?ce(e,g,"whitespace")(t):!f&&oe(t)?Ie(e,g)(t):q(t)}function O(t){const n=h+"Marker";return e.enter(i),e.enter(h),e.enter(n),e.consume(t),e.exit(n),y}function y(t){if(null===t||34===t||35===t||39===t||46===t||60===t||61===t||62===t||96===t||125===t||oe(t))return n(t);const r=h+"Value";return e.enter(r),e.consume(t),M}function M(t){if(null===t||34===t||39===t||60===t||61===t||62===t||96===t)return n(t);if(35===t||46===t||125===t||oe(t)){const n=h+"Value";return e.exit(n),e.exit(h),e.exit(i),g(t)}return e.consume(t),M}function z(t){return 45===t||46===t||58===t||95===t||Z(t)?(e.consume(t),z):(e.exit(l),f&&ie(t)?ce(e,A,"whitespace")(t):!f&&oe(t)?Ie(e,A)(t):A(t))}function A(t){return 61===t?(e.enter(c),e.consume(t),e.exit(c),v):(e.exit(i),g(t))}function v(t){return null===t||60===t||61===t||62===t||96===t||125===t||f&&re(t)?n(t):34===t||39===t?(e.enter(u),e.enter(d),e.consume(t),e.exit(d),m=t,S):f&&ie(t)?ce(e,v,"whitespace")(t):!f&&oe(t)?Ie(e,v)(t):(e.enter(p),e.enter(b),e.consume(t),m=void 0,w)}function w(t){return null===t||34===t||39===t||60===t||61===t||62===t||96===t?n(t):125===t||oe(t)?(e.exit(b),e.exit(p),e.exit(i),g(t)):(e.consume(t),w)}function S(t){return t===m?(e.enter(d),e.consume(t),e.exit(d),e.exit(u),e.exit(i),k):(e.enter(p),x(t))}function x(t){return t===m?(e.exit(p),S(t)):null===t?n(t):re(t)?f?n(t):Ie(e,x)(t):(e.enter(b),e.consume(t),E)}function E(t){return t===m||null===t||re(t)?(e.exit(b),x(t)):(e.consume(t),E)}function k(e){return 125===e||oe(e)?g(e):q(e)}function q(i){return 125===i?(e.enter(o),e.consume(i),e.exit(o),e.exit(r),t):n(i)}}function mr(e,t,n,r,o,i,a){let s,l=0,c=0;return function(t){return e.enter(r),e.enter(o),e.consume(t),e.exit(o),u};function u(n){return 93===n?(e.enter(o),e.consume(n),e.exit(o),e.exit(r),t):(e.enter(i),p(n))}function p(t){if(93===t&&!c)return f(t);const n=e.enter("chunkText",{contentType:"text",previous:s});return s&&(s.next=n),s=n,d(t)}function d(t){return null===t||l>999||91===t&&++c>32?n(t):93!==t||c--?re(t)?a?n(t):(e.consume(t),e.exit("chunkText"),p):(e.consume(t),92===t?b:d):(e.exit("chunkText"),f(t))}function b(t){return 91===t||92===t||93===t?(e.consume(t),l++,d):d(t)}function f(n){return e.exit(i),e.enter(o),e.consume(n),e.exit(o),e.exit(r),t}}function gr(e,t,n,r){const o=this;return function(t){if(Y(t))return e.enter(r),e.consume(t),i;return n(t)};function i(a){return 45===a||95===a||Z(a)?(e.consume(a),i):(e.exit(r),45===o.previous||95===o.previous?n(a):t(a))}}const Or={tokenize:function(e,t,n){const r=this,o=r.events[r.events.length-1],i=o&&"linePrefix"===o[1].type?o[2].sliceSerialize(o[1],!0).length:0;let a,s=0;return function(t){return e.enter("directiveContainer"),e.enter("directiveContainerFence"),e.enter("directiveContainerSequence"),l(t)};function l(t){return 58===t?(e.consume(t),s++,l):s<3?n(t):(e.exit("directiveContainerSequence"),gr.call(r,e,c,n,"directiveContainerName")(t))}function c(t){return 91===t?e.attempt(yr,u,u)(t):u(t)}function u(t){return 123===t?e.attempt(Mr,p,p)(t):p(t)}function p(t){return ce(e,d,"whitespace")(t)}function d(o){return e.exit("directiveContainerFence"),null===o?b(o):re(o)?r.interrupt?t(o):e.attempt(zr,f,b)(o):n(o)}function b(n){return e.exit("directiveContainer"),t(n)}function f(n){return null===n?(e.exit("directiveContainer"),t(n)):(e.enter("directiveContainerContent"),h(n))}function h(t){return null===t?M(t):e.attempt({tokenize:z,partial:!0},M,i?ce(e,m,"linePrefix",i+1):m)(t)}function m(t){if(null===t)return M(t);const n=e.enter("chunkDocument",{contentType:"document",previous:a});return a&&(a.next=n),a=n,g(t)}function g(t){if(null===t){const n=e.exit("chunkDocument");return r.parser.lazy[n.start.line]=!1,M(t)}return re(t)?e.check(zr,O,y)(t):(e.consume(t),g)}function O(t){e.consume(t);const n=e.exit("chunkDocument");return r.parser.lazy[n.start.line]=!1,h}function y(t){const n=e.exit("chunkDocument");return r.parser.lazy[n.start.line]=!1,M(t)}function M(n){return e.exit("directiveContainerContent"),e.exit("directiveContainer"),t(n)}function z(e,t,n){let r=0;return ce(e,(function(t){return e.enter("directiveContainerFence"),e.enter("directiveContainerSequence"),o(t)}),"linePrefix",4);function o(t){return 58===t?(e.consume(t),r++,o):r=48&&t<=57}function _r(e){const t="string"===typeof e?e.charCodeAt(0):e;return t>=97&&t<=102||t>=65&&t<=70||t>=48&&t<=57}function Rr(e){return function(e){const t="string"===typeof e?e.charCodeAt(0):e;return t>=97&&t<=122||t>=65&&t<=90}(e)||function(e){const t="string"===typeof e?e.charCodeAt(0):e;return t>=48&&t<=57}(e)}const Cr=String.fromCharCode,Nr=["","Named character references must be terminated by a semicolon","Numeric character references must be terminated by a semicolon","Named character references cannot be empty","Numeric character references cannot be empty","Named character references must be known","Numeric character references cannot be disallowed","Numeric character references cannot be outside the permissible Unicode range"];function Ir(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n="string"===typeof t.additional?t.additional.charCodeAt(0):t.additional,r=[];let o,i,a=0,s=-1,l="";t.position&&("start"in t.position||"indent"in t.position?(i=t.position.indent,o=t.position.start):o=t.position);let c,u=(o?o.line:0)||1,p=(o?o.column:0)||1,d=b();for(a--;++a<=e.length;)if(10===c&&(p=(i?i[s]:0)||1),c=e.charCodeAt(a),38===c){const o=e.charCodeAt(a+1);if(9===o||10===o||12===o||32===o||38===o||60===o||Number.isNaN(o)||n&&o===n){l+=Cr(c),p++;continue}const i=a+1;let s,u=i,m=i;if(35===o){m=++u;const t=e.charCodeAt(m);88===t||120===t?(s="hexadecimal",m=++u):s="decimal"}else s="named";let g="",O="",y="";const M="named"===s?Rr:"decimal"===s?Tr:_r;for(m--;++m<=e.length;){const t=e.charCodeAt(m);if(!M(t))break;y+=Cr(t),"named"===s&&kr.includes(y)&&(g=y,O=Ze(y))}let z=59===e.charCodeAt(m);if(z){m++;const e="named"===s&&Ze(y);e&&(g=y,O=e)}let A=1+m-i,v="";if(z||!1!==t.nonTerminated)if(y)if("named"===s){if(z&&!O)f(5,1);else if(g!==y&&(m=u+g.length,A=1+m-u,z=!1),!z){const n=g?1:3;if(t.attribute){const t=e.charCodeAt(m);61===t?(f(n,A),O=""):Rr(t)?O="":f(n,A)}else f(n,A)}v=O}else{z||f(2,A);let e=Number.parseInt(y,"hexadecimal"===s?16:10);if(Wr(e))f(7,A),v=Cr(65533);else if(e in qr)f(6,A),v=qr[e];else{let t="";Pr(e)&&f(6,A),e>65535&&(e-=65536,t+=Cr(e>>>10|55296),e=56320|1023&e),v=t+Cr(e)}}else"named"!==s&&f(4,A);else;if(v){h(),d=b(),a=m-1,p+=m-i+1,r.push(v);const n=b();n.offset++,t.reference&&t.reference.call(t.referenceContext,v,{start:d,end:n},e.slice(i-1,m)),d=n}else y=e.slice(i-1,m),l+=y,p+=y.length,a=m-1}else 10===c&&(u++,s++,p=0),Number.isNaN(c)?h():(l+=Cr(c),p++);return r.join("");function b(){return{line:u,column:p,offset:a+((o?o.offset:0)||0)}}function f(e,n){let r;t.warning&&(r=b(),r.column+=n,r.offset+=n,t.warning.call(t.warningContext,Nr[e],r,e))}function h(){l&&(r.push(l),t.text&&t.text.call(t.textContext,l,{start:d,end:b()}),l="")}}function Wr(e){return e>=55296&&e<=57343||e>1114111}function Pr(e){return e>=1&&e<=8||11===e||e>=13&&e<=31||e>=127&&e<=159||e>=64976&&e<=65007||65535===(65535&e)||65534===(65535&e)}function Lr(e,t){return e=e.replace(t.subset?function(e){const t=[];let n=-1;for(;++n`]/g,n),t.subset||t.escapeOnly?e:e.replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,(function(e,n,r){return t.format(1024*(e.charCodeAt(0)-55296)+e.charCodeAt(1)-56320+65536,r.charCodeAt(n+2),t)})).replace(/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,n);function n(e,n,r){return t.format(e.charCodeAt(0),r.charCodeAt(n+1),t)}}function jr(e){return"&#x"+e.toString(16).toUpperCase()+";"}function Dr(e,t,n){const r=t.indexStack,o=e.children||[],i=t.createTracker(n),a=[];let s=-1;for(r.push(-1);++s0&&("\r"===s||"\n"===s)&&"html"===c.type&&(i[i.length-1]=i[i.length-1].replace(/(\r?\n|\r)$/," "),s=" ",l=t.createTracker(n),l.move(i.join(""))),i.push(l.move(t.handle(c,e,t,{...l.current(),before:s,after:u}))),s=i[i.length-1].slice(-1)}return r.pop(),i.join("")}function Vr(e){const t=e||{},n=t.now||{};let r=t.lineShift||0,o=n.line||1,i=n.column||1;return{move:function(e){const t=e||"",n=t.split(/\r?\n|\r/g),a=n[n.length-1];return o+=n.length-1,i=1===n.length?i+a.length:1+a.length+r,t},current:function(){return{now:{line:o,column:i},lineShift:r}},shift:function(e){r+=e}}}const Ur={}.hasOwnProperty,Hr=/^[^\t\n\r "#'.<=>`}]+$/;ro.peek=function(){return":"};const Xr={canContainEols:["textDirective"],enter:{directiveContainer:function(e){$r.call(this,"containerDirective",e)},directiveContainerAttributes:Yr,directiveContainerLabel:function(e){this.enter({type:"paragraph",data:{directiveLabel:!0},children:[]},e)},directiveLeaf:function(e){$r.call(this,"leafDirective",e)},directiveLeafAttributes:Yr,directiveText:function(e){$r.call(this,"textDirective",e)},directiveTextAttributes:Yr},exit:{directiveContainer:no,directiveContainerAttributeClassValue:Jr,directiveContainerAttributeIdValue:Zr,directiveContainerAttributeName:eo,directiveContainerAttributeValue:Qr,directiveContainerAttributes:to,directiveContainerLabel:function(e){this.exit(e)},directiveContainerName:Kr,directiveLeaf:no,directiveLeafAttributeClassValue:Jr,directiveLeafAttributeIdValue:Zr,directiveLeafAttributeName:eo,directiveLeafAttributeValue:Qr,directiveLeafAttributes:to,directiveLeafName:Kr,directiveText:no,directiveTextAttributeClassValue:Jr,directiveTextAttributeIdValue:Zr,directiveTextAttributeName:eo,directiveTextAttributeValue:Qr,directiveTextAttributes:to,directiveTextName:Kr}},Gr={unsafe:[{character:"\r",inConstruct:["leafDirectiveLabel","containerDirectiveLabel"]},{character:"\n",inConstruct:["leafDirectiveLabel","containerDirectiveLabel"]},{before:"[^:]",character:":",after:"[A-Za-z]",inConstruct:["phrasing"]},{atBreak:!0,character:":",after:":"}],handlers:{containerDirective:ro,leafDirective:ro,textDirective:ro}};function $r(e,t){this.enter({type:e,name:"",attributes:{},children:[]},t)}function Kr(e){this.stack[this.stack.length-1].name=this.sliceSerialize(e)}function Yr(){this.setData("directiveAttributes",[]),this.buffer()}function Zr(e){this.getData("directiveAttributes").push(["id",Ir(this.sliceSerialize(e),{attribute:!0})])}function Jr(e){this.getData("directiveAttributes").push(["class",Ir(this.sliceSerialize(e),{attribute:!0})])}function Qr(e){const t=this.getData("directiveAttributes");t[t.length-1][1]=Ir(this.sliceSerialize(e),{attribute:!0})}function eo(e){this.getData("directiveAttributes").push([this.sliceSerialize(e),""])}function to(){const e=this.getData("directiveAttributes"),t={};let n=-1;for(;++nt&&(t=r)}})),t+=3):t="leafDirective"===e.type?2:1;return":".repeat(t)}(e),a=n.enter(e.type);let s,l=o.move(i+(e.name||""));if("containerDirective"===e.type){const t=(e.children||[])[0];s=oo(t)?t:void 0}else s=e;if(s&&s.children&&s.children.length>0){const t=n.enter("label"),r=`${e.type}Label`,i=n.enter(r);l+=o.move("["),l+=o.move(Fr(s,n,{...o.current(),before:l,after:"]"})),l+=o.move("]"),i(),t()}if(l+=o.move(function(e,t){const n=function(e){const t=e.options.quote||'"';if('"'!==t&&"'"!==t)throw new Error("Cannot serialize title with `"+t+"` for `options.quote`, expected `\"`, or `'`");return t}(t),r="textDirective"===e.type?[n]:[n,"\n","\r"],o=e.attributes||{},i=[];let a,s,l,c;for(c in o)if(Ur.call(o,c)&&void 0!==o[c]&&null!==o[c]){const e=String(o[c]);if("id"===c)l=Hr.test(e)?"#"+e:u("id",e);else if("class"===c){const t=e.split(/[\t\n\r ]+/g),n=[],r=[];let o=-1;for(;++o0?u("class",n.join(" ")):"",s=r.length>0?"."+r.join("."):""}else i.push(u(c,e))}a&&i.unshift(a);s&&i.unshift(s);l&&i.unshift(l);return i.length>0?"{"+i.join(" ")+"}":"";function u(e,t){return e+(t?"="+n+function(e,t){return Lr(e,Object.assign({format:jr},t))}(t,{subset:r})+n:"")}}(e,n)),"containerDirective"===e.type){let t=e;oo((e.children||[])[0])&&(t=Object.assign({},e,{children:e.children.slice(1)})),t&&t.children&&t.children.length>0&&(l+=o.move("\n"),l+=o.move(Dr(t,n,o.current()))),l+=o.move("\n"+i)}return a(),l}function oo(e){return Boolean(e&&"paragraph"===e.type&&e.data&&e.data.directiveLabel)}function io(){const e=this.data();function t(t,n){(e[t]?e[t]:e[t]=[]).push(n)}t("micromarkExtensions",{text:{58:Sr},flow:{58:[Or,Ar]}}),t("fromMarkdownExtensions",Xr),t("toMarkdownExtensions",Gr)}const ao={tokenize:function(e,t,n){const r=this,o=r.events[r.events.length-1],i=o&&"linePrefix"===o[1].type?o[2].sliceSerialize(o[1],!0).length:0;let a=0;return function(t){return e.enter("mathFlow"),e.enter("mathFlowFence"),e.enter("mathFlowFenceSequence"),s(t)};function s(t){return 36===t?(e.consume(t),a++,s):a<2?n(t):(e.exit("mathFlowFenceSequence"),ce(e,l,"whitespace")(t))}function l(t){return null===t||re(t)?u(t):(e.enter("mathFlowFenceMeta"),e.enter("chunkString",{contentType:"string"}),c(t))}function c(t){return null===t||re(t)?(e.exit("chunkString"),e.exit("mathFlowFenceMeta"),u(t)):36===t?n(t):(e.consume(t),c)}function u(n){return e.exit("mathFlowFence"),r.interrupt?t(n):e.attempt(so,p,h)(n)}function p(t){return e.attempt({tokenize:m,partial:!0},h,d)(t)}function d(t){return(i?ce(e,b,"linePrefix",i+1):b)(t)}function b(t){return null===t?h(t):re(t)?e.attempt(so,p,h)(t):(e.enter("mathFlowValue"),f(t))}function f(t){return null===t||re(t)?(e.exit("mathFlowValue"),b(t)):(e.consume(t),f)}function h(n){return e.exit("mathFlow"),t(n)}function m(e,t,n){let o=0;return ce(e,(function(t){return e.enter("mathFlowFence"),e.enter("mathFlowFenceSequence"),i(t)}),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4);function i(t){return 36===t?(o++,e.consume(t),i):o=c||(e+1a&&(a=i):i=1,o=r+t.length,r=n.indexOf(t,o);return a}(o,"$")+1,2)),s=n.enter("mathFlow");let l=i.move(a);if(e.meta){const t=n.enter("mathFlowMeta");l+=i.move(ho(n,e.meta,{before:l,after:"\n",encode:["$"],...i.current()})),t()}l+=i.move("\n"),o&&(l+=i.move(o+"\n"));return l+=i.move(a),s(),l},inlineMath:n}};function n(e,n,r){let o=e.value||"",i=1;for(t||i++;new RegExp("(^|[^$])"+"\\$".repeat(i)+"([^$]|$)").test(o);)i++;const a="$".repeat(i);/[^ \r\n]/.test(o)&&(/^[ \r\n]/.test(o)&&/[ \r\n]$/.test(o)||/^\$|\$$/.test(o))&&(o=" "+o+" ");let s=-1;for(;++s0&&void 0!==arguments[0]?arguments[0]:{};const t=this.data();function n(e,n){(t[e]?t[e]:t[e]=[]).push(n)}n("micromarkExtensions",function(e){return{flow:{36:ao},text:{36:lo(e)}}}(e)),n("fromMarkdownExtensions",function(){return{enter:{mathFlow:function(e){this.enter({type:"math",meta:null,value:"",data:{hName:"div",hProperties:{className:["math","math-display"]},hChildren:[{type:"text",value:""}]}},e)},mathFlowFenceMeta:function(){this.buffer()},mathText:function(e){this.enter({type:"inlineMath",value:"",data:{hName:"span",hProperties:{className:["math","math-inline"]},hChildren:[{type:"text",value:""}]}},e),this.buffer()}},exit:{mathFlow:function(e){const t=this.resume().replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),n=this.exit(e);n.value=t,n.data.hChildren[0].value=t,this.setData("mathFlowInside")},mathFlowFence:function(){this.getData("mathFlowInside")||(this.buffer(),this.setData("mathFlowInside",!0))},mathFlowFenceMeta:function(){const e=this.resume();this.stack[this.stack.length-1].meta=e},mathFlowValue:e,mathText:function(e){const t=this.resume(),n=this.exit(e);n.value=t,n.data.hChildren[0].value=t},mathTextData:e}};function e(e){this.config.enter.data.call(this,e),this.config.exit.data.call(this,e)}}()),n("toMarkdownExtensions",Oo(e))}var Mo=n(91305);const zo=/[#.]/g;const Ao=new Set(["menu","submit","reset","button"]),vo={}.hasOwnProperty;function wo(e,t,n){const r=n&&function(e){const t={};let n=-1;for(;++n2?s-2:0),c=2;c-1&&ee)return{line:t+1,column:e-(t>0?n[t-1]:0)+1,offset:e};return{line:void 0,column:void 0,offset:void 0}},toOffset:function(e){const t=e&&e.line,r=e&&e.column;if("number"===typeof t&&"number"===typeof r&&!Number.isNaN(t)&&!Number.isNaN(r)&&t-1 in n){const e=(n[t-2]||0)+r-1||0;if(e>-1&&e1?i-1:0),s=1;s{const r=e;if(r.value.stitch&&null!==n&&null!==t)return n.children[t]=r.value.stitch,t})),"root"!==e.type&&"root"===b.type&&1===b.children.length?b.children[0]:b;function f(e){let t=-1;if(e)for(;++t0&&void 0!==arguments[0]?arguments[0]:{};return(t,n)=>$o(t,n,e)}class ei{constructor(e,t,n){this.lexer=void 0,this.start=void 0,this.end=void 0,this.lexer=e,this.start=t,this.end=n}static range(e,t){return t?e&&e.loc&&t.loc&&e.loc.lexer===t.loc.lexer?new ei(e.loc.lexer,e.loc.start,t.loc.end):null:e&&e.loc}}class ti{constructor(e,t){this.text=void 0,this.loc=void 0,this.noexpand=void 0,this.treatAsRelax=void 0,this.text=e,this.loc=t}range(e,t){return new ti(t,ei.range(this,e))}}class ni{constructor(e,t){this.name=void 0,this.position=void 0,this.length=void 0,this.rawMessage=void 0;var n,r,o="KaTeX parse error: "+e,i=t&&t.loc;if(i&&i.start<=i.end){var a=i.lexer.input;n=i.start,r=i.end,n===a.length?o+=" at end of input: ":o+=" at position "+(n+1)+": ";var s=a.slice(n,r).replace(/[^]/g,"$&\u0332");o+=(n>15?"\u2026"+a.slice(n-15,n):a.slice(0,n))+s+(r+15":">","<":"<",'"':""","'":"'"},ii=/[&><"']/g;var ai=function e(t){return"ordgroup"===t.type||"color"===t.type?1===t.body.length?e(t.body[0]):t:"font"===t.type?e(t.body):t},si={contains:function(e,t){return-1!==e.indexOf(t)},deflt:function(e,t){return void 0===e?t:e},escape:function(e){return String(e).replace(ii,(e=>oi[e]))},hyphenate:function(e){return e.replace(ri,"-$1").toLowerCase()},getBaseElem:ai,isCharacterBox:function(e){var t=ai(e);return"mathord"===t.type||"textord"===t.type||"atom"===t.type},protocolFromUrl:function(e){var t=/^\s*([^\\/#]*?)(?::|�*58|�*3a)/i.exec(e);return null!=t?t[1]:"_relative"}},li={displayMode:{type:"boolean",description:"Render math in display mode, which puts the math in display style (so \\int and \\sum are large, for example), and centers the math on the page on its own line.",cli:"-d, --display-mode"},output:{type:{enum:["htmlAndMathml","html","mathml"]},description:"Determines the markup language of the output.",cli:"-F, --format "},leqno:{type:"boolean",description:"Render display math in leqno style (left-justified tags)."},fleqn:{type:"boolean",description:"Render display math flush left."},throwOnError:{type:"boolean",default:!0,cli:"-t, --no-throw-on-error",cliDescription:"Render errors (in the color given by --error-color) instead of throwing a ParseError exception when encountering an error."},errorColor:{type:"string",default:"#cc0000",cli:"-c, --error-color ",cliDescription:"A color string given in the format 'rgb' or 'rrggbb' (no #). This option determines the color of errors rendered by the -t option.",cliProcessor:e=>"#"+e},macros:{type:"object",cli:"-m, --macro ",cliDescription:"Define custom macro of the form '\\foo:expansion' (use multiple -m arguments for multiple macros).",cliDefault:[],cliProcessor:(e,t)=>(t.push(e),t)},minRuleThickness:{type:"number",description:"Specifies a minimum thickness, in ems, for fraction lines, `\\sqrt` top lines, `{array}` vertical lines, `\\hline`, `\\hdashline`, `\\underline`, `\\overline`, and the borders of `\\fbox`, `\\boxed`, and `\\fcolorbox`.",processor:e=>Math.max(0,e),cli:"--min-rule-thickness ",cliProcessor:parseFloat},colorIsTextColor:{type:"boolean",description:"Makes \\color behave like LaTeX's 2-argument \\textcolor, instead of LaTeX's one-argument \\color mode change.",cli:"-b, --color-is-text-color"},strict:{type:[{enum:["warn","ignore","error"]},"boolean","function"],description:"Turn on strict / LaTeX faithfulness mode, which throws an error if the input uses features that are not supported by LaTeX.",cli:"-S, --strict",cliDefault:!1},trust:{type:["boolean","function"],description:"Trust the input, enabling all HTML features such as \\url.",cli:"-T, --trust"},maxSize:{type:"number",default:1/0,description:"If non-zero, all user-specified sizes, e.g. in \\rule{500em}{500em}, will be capped to maxSize ems. Otherwise, elements and spaces can be arbitrarily large",processor:e=>Math.max(0,e),cli:"-s, --max-size ",cliProcessor:parseInt},maxExpand:{type:"number",default:1e3,description:"Limit the number of macro expansions to the specified number, to prevent e.g. infinite macro loops. If set to Infinity, the macro expander will try to fully expand as in LaTeX.",processor:e=>Math.max(0,e),cli:"-e, --max-expand ",cliProcessor:e=>"Infinity"===e?1/0:parseInt(e)},globalGroup:{type:"boolean",cli:!1}};function ci(e){if(e.default)return e.default;var t=e.type,n=Array.isArray(t)?t[0]:t;if("string"!==typeof n)return n.enum[0];switch(n){case"boolean":return!1;case"string":return"";case"number":return 0;case"object":return{}}}class ui{constructor(e){for(var t in this.displayMode=void 0,this.output=void 0,this.leqno=void 0,this.fleqn=void 0,this.throwOnError=void 0,this.errorColor=void 0,this.macros=void 0,this.minRuleThickness=void 0,this.colorIsTextColor=void 0,this.strict=void 0,this.trust=void 0,this.maxSize=void 0,this.maxExpand=void 0,this.globalGroup=void 0,e=e||{},li)if(li.hasOwnProperty(t)){var n=li[t];this[t]=void 0!==e[t]?n.processor?n.processor(e[t]):e[t]:ci(n)}}reportNonstrict(e,t,n){var r=this.strict;if("function"===typeof r&&(r=r(e,t,n)),r&&"ignore"!==r){if(!0===r||"error"===r)throw new ni("LaTeX-incompatible input and strict mode is set to 'error': "+t+" ["+e+"]",n);"warn"===r?"undefined"!==typeof console&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+t+" ["+e+"]"):"undefined"!==typeof console&&console.warn("LaTeX-incompatible input and strict mode is set to unrecognized '"+r+"': "+t+" ["+e+"]")}}useStrictBehavior(e,t,n){var r=this.strict;if("function"===typeof r)try{r=r(e,t,n)}catch(o){r="error"}return!(!r||"ignore"===r)&&(!0===r||"error"===r||("warn"===r?("undefined"!==typeof console&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+t+" ["+e+"]"),!1):("undefined"!==typeof console&&console.warn("LaTeX-incompatible input and strict mode is set to unrecognized '"+r+"': "+t+" ["+e+"]"),!1)))}isTrusted(e){e.url&&!e.protocol&&(e.protocol=si.protocolFromUrl(e.url));var t="function"===typeof this.trust?this.trust(e):this.trust;return Boolean(t)}}class pi{constructor(e,t,n){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=e,this.size=t,this.cramped=n}sup(){return di[bi[this.id]]}sub(){return di[fi[this.id]]}fracNum(){return di[hi[this.id]]}fracDen(){return di[mi[this.id]]}cramp(){return di[gi[this.id]]}text(){return di[Oi[this.id]]}isTight(){return this.size>=2}}var di=[new pi(0,0,!1),new pi(1,0,!0),new pi(2,1,!1),new pi(3,1,!0),new pi(4,2,!1),new pi(5,2,!0),new pi(6,3,!1),new pi(7,3,!0)],bi=[4,5,4,5,6,7,6,7],fi=[5,5,5,5,7,7,7,7],hi=[2,3,4,5,6,7,6,7],mi=[3,3,5,5,7,7,7,7],gi=[1,1,3,3,5,5,7,7],Oi=[0,1,2,3,2,3,2,3],yi={DISPLAY:di[0],TEXT:di[2],SCRIPT:di[4],SCRIPTSCRIPT:di[6]},Mi=[{name:"latin",blocks:[[256,591],[768,879]]},{name:"cyrillic",blocks:[[1024,1279]]},{name:"armenian",blocks:[[1328,1423]]},{name:"brahmic",blocks:[[2304,4255]]},{name:"georgian",blocks:[[4256,4351]]},{name:"cjk",blocks:[[12288,12543],[19968,40879],[65280,65376]]},{name:"hangul",blocks:[[44032,55215]]}];var zi=[];function Ai(e){for(var t=0;t=zi[t]&&e<=zi[t+1])return!0;return!1}Mi.forEach((e=>e.blocks.forEach((e=>zi.push(...e)))));var vi=80,wi={doubleleftarrow:"M262 157\nl10-10c34-36 62.7-77 86-123 3.3-8 5-13.3 5-16 0-5.3-6.7-8-20-8-7.3\n 0-12.2.5-14.5 1.5-2.3 1-4.8 4.5-7.5 10.5-49.3 97.3-121.7 169.3-217 216-28\n 14-57.3 25-88 33-6.7 2-11 3.8-13 5.5-2 1.7-3 4.2-3 7.5s1 5.8 3 7.5\nc2 1.7 6.3 3.5 13 5.5 68 17.3 128.2 47.8 180.5 91.5 52.3 43.7 93.8 96.2 124.5\n 157.5 9.3 8 15.3 12.3 18 13h6c12-.7 18-4 18-10 0-2-1.7-7-5-15-23.3-46-52-87\n-86-123l-10-10h399738v-40H218c328 0 0 0 0 0l-10-8c-26.7-20-65.7-43-117-69 2.7\n-2 6-3.7 10-5 36.7-16 72.3-37.3 107-64l10-8h399782v-40z\nm8 0v40h399730v-40zm0 194v40h399730v-40z",doublerightarrow:"M399738 392l\n-10 10c-34 36-62.7 77-86 123-3.3 8-5 13.3-5 16 0 5.3 6.7 8 20 8 7.3 0 12.2-.5\n 14.5-1.5 2.3-1 4.8-4.5 7.5-10.5 49.3-97.3 121.7-169.3 217-216 28-14 57.3-25 88\n-33 6.7-2 11-3.8 13-5.5 2-1.7 3-4.2 3-7.5s-1-5.8-3-7.5c-2-1.7-6.3-3.5-13-5.5-68\n-17.3-128.2-47.8-180.5-91.5-52.3-43.7-93.8-96.2-124.5-157.5-9.3-8-15.3-12.3-18\n-13h-6c-12 .7-18 4-18 10 0 2 1.7 7 5 15 23.3 46 52 87 86 123l10 10H0v40h399782\nc-328 0 0 0 0 0l10 8c26.7 20 65.7 43 117 69-2.7 2-6 3.7-10 5-36.7 16-72.3 37.3\n-107 64l-10 8H0v40zM0 157v40h399730v-40zm0 194v40h399730v-40z",leftarrow:"M400000 241H110l3-3c68.7-52.7 113.7-120\n 135-202 4-14.7 6-23 6-25 0-7.3-7-11-21-11-8 0-13.2.8-15.5 2.5-2.3 1.7-4.2 5.8\n-5.5 12.5-1.3 4.7-2.7 10.3-4 17-12 48.7-34.8 92-68.5 130S65.3 228.3 18 247\nc-10 4-16 7.7-18 11 0 8.7 6 14.3 18 17 47.3 18.7 87.8 47 121.5 85S196 441.3 208\n 490c.7 2 1.3 5 2 9s1.2 6.7 1.5 8c.3 1.3 1 3.3 2 6s2.2 4.5 3.5 5.5c1.3 1 3.3\n 1.8 6 2.5s6 1 10 1c14 0 21-3.7 21-11 0-2-2-10.3-6-25-20-79.3-65-146.7-135-202\n l-3-3h399890zM100 241v40h399900v-40z",leftbrace:"M6 548l-6-6v-35l6-11c56-104 135.3-181.3 238-232 57.3-28.7 117\n-45 179-50h399577v120H403c-43.3 7-81 15-113 26-100.7 33-179.7 91-237 174-2.7\n 5-6 9-10 13-.7 1-7.3 1-20 1H6z",leftbraceunder:"M0 6l6-6h17c12.688 0 19.313.3 20 1 4 4 7.313 8.3 10 13\n 35.313 51.3 80.813 93.8 136.5 127.5 55.688 33.7 117.188 55.8 184.5 66.5.688\n 0 2 .3 4 1 18.688 2.7 76 4.3 172 5h399450v120H429l-6-1c-124.688-8-235-61.7\n-331-161C60.687 138.7 32.312 99.3 7 54L0 41V6z",leftgroup:"M400000 80\nH435C64 80 168.3 229.4 21 260c-5.9 1.2-18 0-18 0-2 0-3-1-3-3v-38C76 61 257 0\n 435 0h399565z",leftgroupunder:"M400000 262\nH435C64 262 168.3 112.6 21 82c-5.9-1.2-18 0-18 0-2 0-3 1-3 3v38c76 158 257 219\n 435 219h399565z",leftharpoon:"M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3\n-3.3 10.2-9.5 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5\n-18.3 3-21-1.3-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7\n-196 228-6.7 4.7-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40z",leftharpoonplus:"M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3-3.3 10.2-9.5\n 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5-18.3 3-21-1.3\n-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7-196 228-6.7 4.7\n-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40zM0 435v40h400000v-40z\nm0 0v40h400000v-40z",leftharpoondown:"M7 241c-4 4-6.333 8.667-7 14 0 5.333.667 9 2 11s5.333\n 5.333 12 10c90.667 54 156 130 196 228 3.333 10.667 6.333 16.333 9 17 2 .667 5\n 1 9 1h5c10.667 0 16.667-2 18-6 2-2.667 1-9.667-3-21-32-87.333-82.667-157.667\n-152-211l-3-3h399907v-40zM93 281 H400000 v-40L7 241z",leftharpoondownplus:"M7 435c-4 4-6.3 8.7-7 14 0 5.3.7 9 2 11s5.3 5.3 12\n 10c90.7 54 156 130 196 228 3.3 10.7 6.3 16.3 9 17 2 .7 5 1 9 1h5c10.7 0 16.7\n-2 18-6 2-2.7 1-9.7-3-21-32-87.3-82.7-157.7-152-211l-3-3h399907v-40H7zm93 0\nv40h399900v-40zM0 241v40h399900v-40zm0 0v40h399900v-40z",lefthook:"M400000 281 H103s-33-11.2-61-33.5S0 197.3 0 164s14.2-61.2 42.5\n-83.5C70.8 58.2 104 47 142 47 c16.7 0 25 6.7 25 20 0 12-8.7 18.7-26 20-40 3.3\n-68.7 15.7-86 37-10 12-15 25.3-15 40 0 22.7 9.8 40.7 29.5 54 19.7 13.3 43.5 21\n 71.5 23h399859zM103 281v-40h399897v40z",leftlinesegment:"M40 281 V428 H0 V94 H40 V241 H400000 v40z\nM40 281 V428 H0 V94 H40 V241 H400000 v40z",leftmapsto:"M40 281 V448H0V74H40V241H400000v40z\nM40 281 V448H0V74H40V241H400000v40z",leftToFrom:"M0 147h400000v40H0zm0 214c68 40 115.7 95.7 143 167h22c15.3 0 23\n-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69-70-101l-7-8h399905v-40H95l7-8\nc28.7-32 52-65.7 70-101 10.7-23.3 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 265.3\n 68 321 0 361zm0-174v-40h399900v40zm100 154v40h399900v-40z",longequal:"M0 50 h400000 v40H0z m0 194h40000v40H0z\nM0 50 h400000 v40H0z m0 194h40000v40H0z",midbrace:"M200428 334\nc-100.7-8.3-195.3-44-280-108-55.3-42-101.7-93-139-153l-9-14c-2.7 4-5.7 8.7-9 14\n-53.3 86.7-123.7 153-211 199-66.7 36-137.3 56.3-212 62H0V214h199568c178.3-11.7\n 311.7-78.3 403-201 6-8 9.7-12 11-12 .7-.7 6.7-1 18-1s17.3.3 18 1c1.3 0 5 4 11\n 12 44.7 59.3 101.3 106.3 170 141s145.3 54.3 229 60h199572v120z",midbraceunder:"M199572 214\nc100.7 8.3 195.3 44 280 108 55.3 42 101.7 93 139 153l9 14c2.7-4 5.7-8.7 9-14\n 53.3-86.7 123.7-153 211-199 66.7-36 137.3-56.3 212-62h199568v120H200432c-178.3\n 11.7-311.7 78.3-403 201-6 8-9.7 12-11 12-.7.7-6.7 1-18 1s-17.3-.3-18-1c-1.3 0\n-5-4-11-12-44.7-59.3-101.3-106.3-170-141s-145.3-54.3-229-60H0V214z",oiintSize1:"M512.6 71.6c272.6 0 320.3 106.8 320.3 178.2 0 70.8-47.7 177.6\n-320.3 177.6S193.1 320.6 193.1 249.8c0-71.4 46.9-178.2 319.5-178.2z\nm368.1 178.2c0-86.4-60.9-215.4-368.1-215.4-306.4 0-367.3 129-367.3 215.4 0 85.8\n60.9 214.8 367.3 214.8 307.2 0 368.1-129 368.1-214.8z",oiintSize2:"M757.8 100.1c384.7 0 451.1 137.6 451.1 230 0 91.3-66.4 228.8\n-451.1 228.8-386.3 0-452.7-137.5-452.7-228.8 0-92.4 66.4-230 452.7-230z\nm502.4 230c0-111.2-82.4-277.2-502.4-277.2s-504 166-504 277.2\nc0 110 84 276 504 276s502.4-166 502.4-276z",oiiintSize1:"M681.4 71.6c408.9 0 480.5 106.8 480.5 178.2 0 70.8-71.6 177.6\n-480.5 177.6S202.1 320.6 202.1 249.8c0-71.4 70.5-178.2 479.3-178.2z\nm525.8 178.2c0-86.4-86.8-215.4-525.7-215.4-437.9 0-524.7 129-524.7 215.4 0\n85.8 86.8 214.8 524.7 214.8 438.9 0 525.7-129 525.7-214.8z",oiiintSize2:"M1021.2 53c603.6 0 707.8 165.8 707.8 277.2 0 110-104.2 275.8\n-707.8 275.8-606 0-710.2-165.8-710.2-275.8C311 218.8 415.2 53 1021.2 53z\nm770.4 277.1c0-131.2-126.4-327.6-770.5-327.6S248.4 198.9 248.4 330.1\nc0 130 128.8 326.4 772.7 326.4s770.5-196.4 770.5-326.4z",rightarrow:"M0 241v40h399891c-47.3 35.3-84 78-110 128\n-16.7 32-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20\n 11 8 0 13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7\n 39-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85\n-40.5-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5\n-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67\n 151.7 139 205zm0 0v40h399900v-40z",rightbrace:"M400000 542l\n-6 6h-17c-12.7 0-19.3-.3-20-1-4-4-7.3-8.3-10-13-35.3-51.3-80.8-93.8-136.5-127.5\ns-117.2-55.8-184.5-66.5c-.7 0-2-.3-4-1-18.7-2.7-76-4.3-172-5H0V214h399571l6 1\nc124.7 8 235 61.7 331 161 31.3 33.3 59.7 72.7 85 118l7 13v35z",rightbraceunder:"M399994 0l6 6v35l-6 11c-56 104-135.3 181.3-238 232-57.3\n 28.7-117 45-179 50H-300V214h399897c43.3-7 81-15 113-26 100.7-33 179.7-91 237\n-174 2.7-5 6-9 10-13 .7-1 7.3-1 20-1h17z",rightgroup:"M0 80h399565c371 0 266.7 149.4 414 180 5.9 1.2 18 0 18 0 2 0\n 3-1 3-3v-38c-76-158-257-219-435-219H0z",rightgroupunder:"M0 262h399565c371 0 266.7-149.4 414-180 5.9-1.2 18 0 18\n 0 2 0 3 1 3 3v38c-76 158-257 219-435 219H0z",rightharpoon:"M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3\n-3.7-15.3-11-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2\n-10.7 0-16.7 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58\n 69.2 92 94.5zm0 0v40h399900v-40z",rightharpoonplus:"M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3-3.7-15.3-11\n-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2-10.7 0-16.7\n 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58 69.2 92 94.5z\nm0 0v40h399900v-40z m100 194v40h399900v-40zm0 0v40h399900v-40z",rightharpoondown:"M399747 511c0 7.3 6.7 11 20 11 8 0 13-.8 15-2.5s4.7-6.8\n 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3 8.5-5.8 9.5\n-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3-64.7 57-92 95\n-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 241v40h399900v-40z",rightharpoondownplus:"M399747 705c0 7.3 6.7 11 20 11 8 0 13-.8\n 15-2.5s4.7-6.8 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3\n 8.5-5.8 9.5-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3\n-64.7 57-92 95-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 435v40h399900v-40z\nm0-194v40h400000v-40zm0 0v40h400000v-40z",righthook:"M399859 241c-764 0 0 0 0 0 40-3.3 68.7-15.7 86-37 10-12 15-25.3\n 15-40 0-22.7-9.8-40.7-29.5-54-19.7-13.3-43.5-21-71.5-23-17.3-1.3-26-8-26-20 0\n-13.3 8.7-20 26-20 38 0 71 11.2 99 33.5 0 0 7 5.6 21 16.7 14 11.2 21 33.5 21\n 66.8s-14 61.2-42 83.5c-28 22.3-61 33.5-99 33.5L0 241z M0 281v-40h399859v40z",rightlinesegment:"M399960 241 V94 h40 V428 h-40 V281 H0 v-40z\nM399960 241 V94 h40 V428 h-40 V281 H0 v-40z",rightToFrom:"M400000 167c-70.7-42-118-97.7-142-167h-23c-15.3 0-23 .3-23\n 1 0 1.3 5.3 13.7 16 37 18 35.3 41.3 69 70 101l7 8H0v40h399905l-7 8c-28.7 32\n-52 65.7-70 101-10.7 23.3-16 35.7-16 37 0 .7 7.7 1 23 1h23c24-69.3 71.3-125 142\n-167z M100 147v40h399900v-40zM0 341v40h399900v-40z",twoheadleftarrow:"M0 167c68 40\n 115.7 95.7 143 167h22c15.3 0 23-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69\n-70-101l-7-8h125l9 7c50.7 39.3 85 86 103 140h46c0-4.7-6.3-18.7-19-42-18-35.3\n-40-67.3-66-96l-9-9h399716v-40H284l9-9c26-28.7 48-60.7 66-96 12.7-23.333 19\n-37.333 19-42h-46c-18 54-52.3 100.7-103 140l-9 7H95l7-8c28.7-32 52-65.7 70-101\n 10.7-23.333 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 71.3 68 127 0 167z",twoheadrightarrow:"M400000 167\nc-68-40-115.7-95.7-143-167h-22c-15.3 0-23 .3-23 1 0 1.3 5.3 13.7 16 37 18 35.3\n 41.3 69 70 101l7 8h-125l-9-7c-50.7-39.3-85-86-103-140h-46c0 4.7 6.3 18.7 19 42\n 18 35.3 40 67.3 66 96l9 9H0v40h399716l-9 9c-26 28.7-48 60.7-66 96-12.7 23.333\n-19 37.333-19 42h46c18-54 52.3-100.7 103-140l9-7h125l-7 8c-28.7 32-52 65.7-70\n 101-10.7 23.333-16 35.7-16 37 0 .7 7.7 1 23 1h22c27.3-71.3 75-127 143-167z",tilde1:"M200 55.538c-77 0-168 73.953-177 73.953-3 0-7\n-2.175-9-5.437L2 97c-1-2-2-4-2-6 0-4 2-7 5-9l20-12C116 12 171 0 207 0c86 0\n 114 68 191 68 78 0 168-68 177-68 4 0 7 2 9 5l12 19c1 2.175 2 4.35 2 6.525 0\n 4.35-2 7.613-5 9.788l-19 13.05c-92 63.077-116.937 75.308-183 76.128\n-68.267.847-113-73.952-191-73.952z",tilde2:"M344 55.266c-142 0-300.638 81.316-311.5 86.418\n-8.01 3.762-22.5 10.91-23.5 5.562L1 120c-1-2-1-3-1-4 0-5 3-9 8-10l18.4-9C160.9\n 31.9 283 0 358 0c148 0 188 122 331 122s314-97 326-97c4 0 8 2 10 7l7 21.114\nc1 2.14 1 3.21 1 4.28 0 5.347-3 9.626-7 10.696l-22.3 12.622C852.6 158.372 751\n 181.476 676 181.476c-149 0-189-126.21-332-126.21z",tilde3:"M786 59C457 59 32 175.242 13 175.242c-6 0-10-3.457\n-11-10.37L.15 138c-1-7 3-12 10-13l19.2-6.4C378.4 40.7 634.3 0 804.3 0c337 0\n 411.8 157 746.8 157 328 0 754-112 773-112 5 0 10 3 11 9l1 14.075c1 8.066-.697\n 16.595-6.697 17.492l-21.052 7.31c-367.9 98.146-609.15 122.696-778.15 122.696\n -338 0-409-156.573-744-156.573z",tilde4:"M786 58C457 58 32 177.487 13 177.487c-6 0-10-3.345\n-11-10.035L.15 143c-1-7 3-12 10-13l22-6.7C381.2 35 637.15 0 807.15 0c337 0 409\n 177 744 177 328 0 754-127 773-127 5 0 10 3 11 9l1 14.794c1 7.805-3 13.38-9\n 14.495l-20.7 5.574c-366.85 99.79-607.3 139.372-776.3 139.372-338 0-409\n -175.236-744-175.236z",vec:"M377 20c0-5.333 1.833-10 5.5-14S391 0 397 0c4.667 0 8.667 1.667 12 5\n3.333 2.667 6.667 9 10 19 6.667 24.667 20.333 43.667 41 57 7.333 4.667 11\n10.667 11 18 0 6-1 10-3 12s-6.667 5-14 9c-28.667 14.667-53.667 35.667-75 63\n-1.333 1.333-3.167 3.5-5.5 6.5s-4 4.833-5 5.5c-1 .667-2.5 1.333-4.5 2s-4.333 1\n-7 1c-4.667 0-9.167-1.833-13.5-5.5S337 184 337 178c0-12.667 15.667-32.333 47-59\nH213l-171-1c-8.667-6-13-12.333-13-19 0-4.667 4.333-11.333 13-20h359\nc-16-25.333-24-45-24-59z",widehat1:"M529 0h5l519 115c5 1 9 5 9 10 0 1-1 2-1 3l-4 22\nc-1 5-5 9-11 9h-2L532 67 19 159h-2c-5 0-9-4-11-9l-5-22c-1-6 2-12 8-13z",widehat2:"M1181 0h2l1171 176c6 0 10 5 10 11l-2 23c-1 6-5 10\n-11 10h-1L1182 67 15 220h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z",widehat3:"M1181 0h2l1171 236c6 0 10 5 10 11l-2 23c-1 6-5 10\n-11 10h-1L1182 67 15 280h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z",widehat4:"M1181 0h2l1171 296c6 0 10 5 10 11l-2 23c-1 6-5 10\n-11 10h-1L1182 67 15 340h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z",widecheck1:"M529,159h5l519,-115c5,-1,9,-5,9,-10c0,-1,-1,-2,-1,-3l-4,-22c-1,\n-5,-5,-9,-11,-9h-2l-512,92l-513,-92h-2c-5,0,-9,4,-11,9l-5,22c-1,6,2,12,8,13z",widecheck2:"M1181,220h2l1171,-176c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,\n-11,-10h-1l-1168,153l-1167,-153h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z",widecheck3:"M1181,280h2l1171,-236c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,\n-11,-10h-1l-1168,213l-1167,-213h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z",widecheck4:"M1181,340h2l1171,-296c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,\n-11,-10h-1l-1168,273l-1167,-273h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z",baraboveleftarrow:"M400000 620h-399890l3 -3c68.7 -52.7 113.7 -120 135 -202\nc4 -14.7 6 -23 6 -25c0 -7.3 -7 -11 -21 -11c-8 0 -13.2 0.8 -15.5 2.5\nc-2.3 1.7 -4.2 5.8 -5.5 12.5c-1.3 4.7 -2.7 10.3 -4 17c-12 48.7 -34.8 92 -68.5 130\ns-74.2 66.3 -121.5 85c-10 4 -16 7.7 -18 11c0 8.7 6 14.3 18 17c47.3 18.7 87.8 47\n121.5 85s56.5 81.3 68.5 130c0.7 2 1.3 5 2 9s1.2 6.7 1.5 8c0.3 1.3 1 3.3 2 6\ns2.2 4.5 3.5 5.5c1.3 1 3.3 1.8 6 2.5s6 1 10 1c14 0 21 -3.7 21 -11\nc0 -2 -2 -10.3 -6 -25c-20 -79.3 -65 -146.7 -135 -202l-3 -3h399890z\nM100 620v40h399900v-40z M0 241v40h399900v-40zM0 241v40h399900v-40z",rightarrowabovebar:"M0 241v40h399891c-47.3 35.3-84 78-110 128-16.7 32\n-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20 11 8 0\n13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7 39\n-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85-40.5\n-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5\n-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67\n151.7 139 205zm96 379h399894v40H0zm0 0h399904v40H0z",baraboveshortleftharpoon:"M507,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11\nc1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17\nc2,0.7,5,1,9,1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21\nc-32,-87.3,-82.7,-157.7,-152,-211c0,0,-3,-3,-3,-3l399351,0l0,-40\nc-398570,0,-399437,0,-399437,0z M593 435 v40 H399500 v-40z\nM0 281 v-40 H399908 v40z M0 281 v-40 H399908 v40z",rightharpoonaboveshortbar:"M0,241 l0,40c399126,0,399993,0,399993,0\nc4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,\n-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6\nc-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z\nM0 241 v40 H399908 v-40z M0 475 v-40 H399500 v40z M0 475 v-40 H399500 v40z",shortbaraboveleftharpoon:"M7,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11\nc1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17c2,0.7,5,1,9,\n1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21c-32,-87.3,-82.7,-157.7,\n-152,-211c0,0,-3,-3,-3,-3l399907,0l0,-40c-399126,0,-399993,0,-399993,0z\nM93 435 v40 H400000 v-40z M500 241 v40 H400000 v-40z M500 241 v40 H400000 v-40z",shortrightharpoonabovebar:"M53,241l0,40c398570,0,399437,0,399437,0\nc4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,\n-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6\nc-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z\nM500 241 v40 H399408 v-40z M500 435 v40 H400000 v-40z"};class Si{constructor(e){this.children=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.children=e,this.classes=[],this.height=0,this.depth=0,this.maxFontSize=0,this.style={}}hasClass(e){return si.contains(this.classes,e)}toNode(){for(var e=document.createDocumentFragment(),t=0;te.toText())).join("")}}var xi={"AMS-Regular":{32:[0,0,0,0,.25],65:[0,.68889,0,0,.72222],66:[0,.68889,0,0,.66667],67:[0,.68889,0,0,.72222],68:[0,.68889,0,0,.72222],69:[0,.68889,0,0,.66667],70:[0,.68889,0,0,.61111],71:[0,.68889,0,0,.77778],72:[0,.68889,0,0,.77778],73:[0,.68889,0,0,.38889],74:[.16667,.68889,0,0,.5],75:[0,.68889,0,0,.77778],76:[0,.68889,0,0,.66667],77:[0,.68889,0,0,.94445],78:[0,.68889,0,0,.72222],79:[.16667,.68889,0,0,.77778],80:[0,.68889,0,0,.61111],81:[.16667,.68889,0,0,.77778],82:[0,.68889,0,0,.72222],83:[0,.68889,0,0,.55556],84:[0,.68889,0,0,.66667],85:[0,.68889,0,0,.72222],86:[0,.68889,0,0,.72222],87:[0,.68889,0,0,1],88:[0,.68889,0,0,.72222],89:[0,.68889,0,0,.72222],90:[0,.68889,0,0,.66667],107:[0,.68889,0,0,.55556],160:[0,0,0,0,.25],165:[0,.675,.025,0,.75],174:[.15559,.69224,0,0,.94666],240:[0,.68889,0,0,.55556],295:[0,.68889,0,0,.54028],710:[0,.825,0,0,2.33334],732:[0,.9,0,0,2.33334],770:[0,.825,0,0,2.33334],771:[0,.9,0,0,2.33334],989:[.08167,.58167,0,0,.77778],1008:[0,.43056,.04028,0,.66667],8245:[0,.54986,0,0,.275],8463:[0,.68889,0,0,.54028],8487:[0,.68889,0,0,.72222],8498:[0,.68889,0,0,.55556],8502:[0,.68889,0,0,.66667],8503:[0,.68889,0,0,.44445],8504:[0,.68889,0,0,.66667],8513:[0,.68889,0,0,.63889],8592:[-.03598,.46402,0,0,.5],8594:[-.03598,.46402,0,0,.5],8602:[-.13313,.36687,0,0,1],8603:[-.13313,.36687,0,0,1],8606:[.01354,.52239,0,0,1],8608:[.01354,.52239,0,0,1],8610:[.01354,.52239,0,0,1.11111],8611:[.01354,.52239,0,0,1.11111],8619:[0,.54986,0,0,1],8620:[0,.54986,0,0,1],8621:[-.13313,.37788,0,0,1.38889],8622:[-.13313,.36687,0,0,1],8624:[0,.69224,0,0,.5],8625:[0,.69224,0,0,.5],8630:[0,.43056,0,0,1],8631:[0,.43056,0,0,1],8634:[.08198,.58198,0,0,.77778],8635:[.08198,.58198,0,0,.77778],8638:[.19444,.69224,0,0,.41667],8639:[.19444,.69224,0,0,.41667],8642:[.19444,.69224,0,0,.41667],8643:[.19444,.69224,0,0,.41667],8644:[.1808,.675,0,0,1],8646:[.1808,.675,0,0,1],8647:[.1808,.675,0,0,1],8648:[.19444,.69224,0,0,.83334],8649:[.1808,.675,0,0,1],8650:[.19444,.69224,0,0,.83334],8651:[.01354,.52239,0,0,1],8652:[.01354,.52239,0,0,1],8653:[-.13313,.36687,0,0,1],8654:[-.13313,.36687,0,0,1],8655:[-.13313,.36687,0,0,1],8666:[.13667,.63667,0,0,1],8667:[.13667,.63667,0,0,1],8669:[-.13313,.37788,0,0,1],8672:[-.064,.437,0,0,1.334],8674:[-.064,.437,0,0,1.334],8705:[0,.825,0,0,.5],8708:[0,.68889,0,0,.55556],8709:[.08167,.58167,0,0,.77778],8717:[0,.43056,0,0,.42917],8722:[-.03598,.46402,0,0,.5],8724:[.08198,.69224,0,0,.77778],8726:[.08167,.58167,0,0,.77778],8733:[0,.69224,0,0,.77778],8736:[0,.69224,0,0,.72222],8737:[0,.69224,0,0,.72222],8738:[.03517,.52239,0,0,.72222],8739:[.08167,.58167,0,0,.22222],8740:[.25142,.74111,0,0,.27778],8741:[.08167,.58167,0,0,.38889],8742:[.25142,.74111,0,0,.5],8756:[0,.69224,0,0,.66667],8757:[0,.69224,0,0,.66667],8764:[-.13313,.36687,0,0,.77778],8765:[-.13313,.37788,0,0,.77778],8769:[-.13313,.36687,0,0,.77778],8770:[-.03625,.46375,0,0,.77778],8774:[.30274,.79383,0,0,.77778],8776:[-.01688,.48312,0,0,.77778],8778:[.08167,.58167,0,0,.77778],8782:[.06062,.54986,0,0,.77778],8783:[.06062,.54986,0,0,.77778],8785:[.08198,.58198,0,0,.77778],8786:[.08198,.58198,0,0,.77778],8787:[.08198,.58198,0,0,.77778],8790:[0,.69224,0,0,.77778],8791:[.22958,.72958,0,0,.77778],8796:[.08198,.91667,0,0,.77778],8806:[.25583,.75583,0,0,.77778],8807:[.25583,.75583,0,0,.77778],8808:[.25142,.75726,0,0,.77778],8809:[.25142,.75726,0,0,.77778],8812:[.25583,.75583,0,0,.5],8814:[.20576,.70576,0,0,.77778],8815:[.20576,.70576,0,0,.77778],8816:[.30274,.79383,0,0,.77778],8817:[.30274,.79383,0,0,.77778],8818:[.22958,.72958,0,0,.77778],8819:[.22958,.72958,0,0,.77778],8822:[.1808,.675,0,0,.77778],8823:[.1808,.675,0,0,.77778],8828:[.13667,.63667,0,0,.77778],8829:[.13667,.63667,0,0,.77778],8830:[.22958,.72958,0,0,.77778],8831:[.22958,.72958,0,0,.77778],8832:[.20576,.70576,0,0,.77778],8833:[.20576,.70576,0,0,.77778],8840:[.30274,.79383,0,0,.77778],8841:[.30274,.79383,0,0,.77778],8842:[.13597,.63597,0,0,.77778],8843:[.13597,.63597,0,0,.77778],8847:[.03517,.54986,0,0,.77778],8848:[.03517,.54986,0,0,.77778],8858:[.08198,.58198,0,0,.77778],8859:[.08198,.58198,0,0,.77778],8861:[.08198,.58198,0,0,.77778],8862:[0,.675,0,0,.77778],8863:[0,.675,0,0,.77778],8864:[0,.675,0,0,.77778],8865:[0,.675,0,0,.77778],8872:[0,.69224,0,0,.61111],8873:[0,.69224,0,0,.72222],8874:[0,.69224,0,0,.88889],8876:[0,.68889,0,0,.61111],8877:[0,.68889,0,0,.61111],8878:[0,.68889,0,0,.72222],8879:[0,.68889,0,0,.72222],8882:[.03517,.54986,0,0,.77778],8883:[.03517,.54986,0,0,.77778],8884:[.13667,.63667,0,0,.77778],8885:[.13667,.63667,0,0,.77778],8888:[0,.54986,0,0,1.11111],8890:[.19444,.43056,0,0,.55556],8891:[.19444,.69224,0,0,.61111],8892:[.19444,.69224,0,0,.61111],8901:[0,.54986,0,0,.27778],8903:[.08167,.58167,0,0,.77778],8905:[.08167,.58167,0,0,.77778],8906:[.08167,.58167,0,0,.77778],8907:[0,.69224,0,0,.77778],8908:[0,.69224,0,0,.77778],8909:[-.03598,.46402,0,0,.77778],8910:[0,.54986,0,0,.76042],8911:[0,.54986,0,0,.76042],8912:[.03517,.54986,0,0,.77778],8913:[.03517,.54986,0,0,.77778],8914:[0,.54986,0,0,.66667],8915:[0,.54986,0,0,.66667],8916:[0,.69224,0,0,.66667],8918:[.0391,.5391,0,0,.77778],8919:[.0391,.5391,0,0,.77778],8920:[.03517,.54986,0,0,1.33334],8921:[.03517,.54986,0,0,1.33334],8922:[.38569,.88569,0,0,.77778],8923:[.38569,.88569,0,0,.77778],8926:[.13667,.63667,0,0,.77778],8927:[.13667,.63667,0,0,.77778],8928:[.30274,.79383,0,0,.77778],8929:[.30274,.79383,0,0,.77778],8934:[.23222,.74111,0,0,.77778],8935:[.23222,.74111,0,0,.77778],8936:[.23222,.74111,0,0,.77778],8937:[.23222,.74111,0,0,.77778],8938:[.20576,.70576,0,0,.77778],8939:[.20576,.70576,0,0,.77778],8940:[.30274,.79383,0,0,.77778],8941:[.30274,.79383,0,0,.77778],8994:[.19444,.69224,0,0,.77778],8995:[.19444,.69224,0,0,.77778],9416:[.15559,.69224,0,0,.90222],9484:[0,.69224,0,0,.5],9488:[0,.69224,0,0,.5],9492:[0,.37788,0,0,.5],9496:[0,.37788,0,0,.5],9585:[.19444,.68889,0,0,.88889],9586:[.19444,.74111,0,0,.88889],9632:[0,.675,0,0,.77778],9633:[0,.675,0,0,.77778],9650:[0,.54986,0,0,.72222],9651:[0,.54986,0,0,.72222],9654:[.03517,.54986,0,0,.77778],9660:[0,.54986,0,0,.72222],9661:[0,.54986,0,0,.72222],9664:[.03517,.54986,0,0,.77778],9674:[.11111,.69224,0,0,.66667],9733:[.19444,.69224,0,0,.94445],10003:[0,.69224,0,0,.83334],10016:[0,.69224,0,0,.83334],10731:[.11111,.69224,0,0,.66667],10846:[.19444,.75583,0,0,.61111],10877:[.13667,.63667,0,0,.77778],10878:[.13667,.63667,0,0,.77778],10885:[.25583,.75583,0,0,.77778],10886:[.25583,.75583,0,0,.77778],10887:[.13597,.63597,0,0,.77778],10888:[.13597,.63597,0,0,.77778],10889:[.26167,.75726,0,0,.77778],10890:[.26167,.75726,0,0,.77778],10891:[.48256,.98256,0,0,.77778],10892:[.48256,.98256,0,0,.77778],10901:[.13667,.63667,0,0,.77778],10902:[.13667,.63667,0,0,.77778],10933:[.25142,.75726,0,0,.77778],10934:[.25142,.75726,0,0,.77778],10935:[.26167,.75726,0,0,.77778],10936:[.26167,.75726,0,0,.77778],10937:[.26167,.75726,0,0,.77778],10938:[.26167,.75726,0,0,.77778],10949:[.25583,.75583,0,0,.77778],10950:[.25583,.75583,0,0,.77778],10955:[.28481,.79383,0,0,.77778],10956:[.28481,.79383,0,0,.77778],57350:[.08167,.58167,0,0,.22222],57351:[.08167,.58167,0,0,.38889],57352:[.08167,.58167,0,0,.77778],57353:[0,.43056,.04028,0,.66667],57356:[.25142,.75726,0,0,.77778],57357:[.25142,.75726,0,0,.77778],57358:[.41951,.91951,0,0,.77778],57359:[.30274,.79383,0,0,.77778],57360:[.30274,.79383,0,0,.77778],57361:[.41951,.91951,0,0,.77778],57366:[.25142,.75726,0,0,.77778],57367:[.25142,.75726,0,0,.77778],57368:[.25142,.75726,0,0,.77778],57369:[.25142,.75726,0,0,.77778],57370:[.13597,.63597,0,0,.77778],57371:[.13597,.63597,0,0,.77778]},"Caligraphic-Regular":{32:[0,0,0,0,.25],65:[0,.68333,0,.19445,.79847],66:[0,.68333,.03041,.13889,.65681],67:[0,.68333,.05834,.13889,.52653],68:[0,.68333,.02778,.08334,.77139],69:[0,.68333,.08944,.11111,.52778],70:[0,.68333,.09931,.11111,.71875],71:[.09722,.68333,.0593,.11111,.59487],72:[0,.68333,.00965,.11111,.84452],73:[0,.68333,.07382,0,.54452],74:[.09722,.68333,.18472,.16667,.67778],75:[0,.68333,.01445,.05556,.76195],76:[0,.68333,0,.13889,.68972],77:[0,.68333,0,.13889,1.2009],78:[0,.68333,.14736,.08334,.82049],79:[0,.68333,.02778,.11111,.79611],80:[0,.68333,.08222,.08334,.69556],81:[.09722,.68333,0,.11111,.81667],82:[0,.68333,0,.08334,.8475],83:[0,.68333,.075,.13889,.60556],84:[0,.68333,.25417,0,.54464],85:[0,.68333,.09931,.08334,.62583],86:[0,.68333,.08222,0,.61278],87:[0,.68333,.08222,.08334,.98778],88:[0,.68333,.14643,.13889,.7133],89:[.09722,.68333,.08222,.08334,.66834],90:[0,.68333,.07944,.13889,.72473],160:[0,0,0,0,.25]},"Fraktur-Regular":{32:[0,0,0,0,.25],33:[0,.69141,0,0,.29574],34:[0,.69141,0,0,.21471],38:[0,.69141,0,0,.73786],39:[0,.69141,0,0,.21201],40:[.24982,.74947,0,0,.38865],41:[.24982,.74947,0,0,.38865],42:[0,.62119,0,0,.27764],43:[.08319,.58283,0,0,.75623],44:[0,.10803,0,0,.27764],45:[.08319,.58283,0,0,.75623],46:[0,.10803,0,0,.27764],47:[.24982,.74947,0,0,.50181],48:[0,.47534,0,0,.50181],49:[0,.47534,0,0,.50181],50:[0,.47534,0,0,.50181],51:[.18906,.47534,0,0,.50181],52:[.18906,.47534,0,0,.50181],53:[.18906,.47534,0,0,.50181],54:[0,.69141,0,0,.50181],55:[.18906,.47534,0,0,.50181],56:[0,.69141,0,0,.50181],57:[.18906,.47534,0,0,.50181],58:[0,.47534,0,0,.21606],59:[.12604,.47534,0,0,.21606],61:[-.13099,.36866,0,0,.75623],63:[0,.69141,0,0,.36245],65:[0,.69141,0,0,.7176],66:[0,.69141,0,0,.88397],67:[0,.69141,0,0,.61254],68:[0,.69141,0,0,.83158],69:[0,.69141,0,0,.66278],70:[.12604,.69141,0,0,.61119],71:[0,.69141,0,0,.78539],72:[.06302,.69141,0,0,.7203],73:[0,.69141,0,0,.55448],74:[.12604,.69141,0,0,.55231],75:[0,.69141,0,0,.66845],76:[0,.69141,0,0,.66602],77:[0,.69141,0,0,1.04953],78:[0,.69141,0,0,.83212],79:[0,.69141,0,0,.82699],80:[.18906,.69141,0,0,.82753],81:[.03781,.69141,0,0,.82699],82:[0,.69141,0,0,.82807],83:[0,.69141,0,0,.82861],84:[0,.69141,0,0,.66899],85:[0,.69141,0,0,.64576],86:[0,.69141,0,0,.83131],87:[0,.69141,0,0,1.04602],88:[0,.69141,0,0,.71922],89:[.18906,.69141,0,0,.83293],90:[.12604,.69141,0,0,.60201],91:[.24982,.74947,0,0,.27764],93:[.24982,.74947,0,0,.27764],94:[0,.69141,0,0,.49965],97:[0,.47534,0,0,.50046],98:[0,.69141,0,0,.51315],99:[0,.47534,0,0,.38946],100:[0,.62119,0,0,.49857],101:[0,.47534,0,0,.40053],102:[.18906,.69141,0,0,.32626],103:[.18906,.47534,0,0,.5037],104:[.18906,.69141,0,0,.52126],105:[0,.69141,0,0,.27899],106:[0,.69141,0,0,.28088],107:[0,.69141,0,0,.38946],108:[0,.69141,0,0,.27953],109:[0,.47534,0,0,.76676],110:[0,.47534,0,0,.52666],111:[0,.47534,0,0,.48885],112:[.18906,.52396,0,0,.50046],113:[.18906,.47534,0,0,.48912],114:[0,.47534,0,0,.38919],115:[0,.47534,0,0,.44266],116:[0,.62119,0,0,.33301],117:[0,.47534,0,0,.5172],118:[0,.52396,0,0,.5118],119:[0,.52396,0,0,.77351],120:[.18906,.47534,0,0,.38865],121:[.18906,.47534,0,0,.49884],122:[.18906,.47534,0,0,.39054],160:[0,0,0,0,.25],8216:[0,.69141,0,0,.21471],8217:[0,.69141,0,0,.21471],58112:[0,.62119,0,0,.49749],58113:[0,.62119,0,0,.4983],58114:[.18906,.69141,0,0,.33328],58115:[.18906,.69141,0,0,.32923],58116:[.18906,.47534,0,0,.50343],58117:[0,.69141,0,0,.33301],58118:[0,.62119,0,0,.33409],58119:[0,.47534,0,0,.50073]},"Main-Bold":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.35],34:[0,.69444,0,0,.60278],35:[.19444,.69444,0,0,.95833],36:[.05556,.75,0,0,.575],37:[.05556,.75,0,0,.95833],38:[0,.69444,0,0,.89444],39:[0,.69444,0,0,.31944],40:[.25,.75,0,0,.44722],41:[.25,.75,0,0,.44722],42:[0,.75,0,0,.575],43:[.13333,.63333,0,0,.89444],44:[.19444,.15556,0,0,.31944],45:[0,.44444,0,0,.38333],46:[0,.15556,0,0,.31944],47:[.25,.75,0,0,.575],48:[0,.64444,0,0,.575],49:[0,.64444,0,0,.575],50:[0,.64444,0,0,.575],51:[0,.64444,0,0,.575],52:[0,.64444,0,0,.575],53:[0,.64444,0,0,.575],54:[0,.64444,0,0,.575],55:[0,.64444,0,0,.575],56:[0,.64444,0,0,.575],57:[0,.64444,0,0,.575],58:[0,.44444,0,0,.31944],59:[.19444,.44444,0,0,.31944],60:[.08556,.58556,0,0,.89444],61:[-.10889,.39111,0,0,.89444],62:[.08556,.58556,0,0,.89444],63:[0,.69444,0,0,.54305],64:[0,.69444,0,0,.89444],65:[0,.68611,0,0,.86944],66:[0,.68611,0,0,.81805],67:[0,.68611,0,0,.83055],68:[0,.68611,0,0,.88194],69:[0,.68611,0,0,.75555],70:[0,.68611,0,0,.72361],71:[0,.68611,0,0,.90416],72:[0,.68611,0,0,.9],73:[0,.68611,0,0,.43611],74:[0,.68611,0,0,.59444],75:[0,.68611,0,0,.90138],76:[0,.68611,0,0,.69166],77:[0,.68611,0,0,1.09166],78:[0,.68611,0,0,.9],79:[0,.68611,0,0,.86388],80:[0,.68611,0,0,.78611],81:[.19444,.68611,0,0,.86388],82:[0,.68611,0,0,.8625],83:[0,.68611,0,0,.63889],84:[0,.68611,0,0,.8],85:[0,.68611,0,0,.88472],86:[0,.68611,.01597,0,.86944],87:[0,.68611,.01597,0,1.18888],88:[0,.68611,0,0,.86944],89:[0,.68611,.02875,0,.86944],90:[0,.68611,0,0,.70277],91:[.25,.75,0,0,.31944],92:[.25,.75,0,0,.575],93:[.25,.75,0,0,.31944],94:[0,.69444,0,0,.575],95:[.31,.13444,.03194,0,.575],97:[0,.44444,0,0,.55902],98:[0,.69444,0,0,.63889],99:[0,.44444,0,0,.51111],100:[0,.69444,0,0,.63889],101:[0,.44444,0,0,.52708],102:[0,.69444,.10903,0,.35139],103:[.19444,.44444,.01597,0,.575],104:[0,.69444,0,0,.63889],105:[0,.69444,0,0,.31944],106:[.19444,.69444,0,0,.35139],107:[0,.69444,0,0,.60694],108:[0,.69444,0,0,.31944],109:[0,.44444,0,0,.95833],110:[0,.44444,0,0,.63889],111:[0,.44444,0,0,.575],112:[.19444,.44444,0,0,.63889],113:[.19444,.44444,0,0,.60694],114:[0,.44444,0,0,.47361],115:[0,.44444,0,0,.45361],116:[0,.63492,0,0,.44722],117:[0,.44444,0,0,.63889],118:[0,.44444,.01597,0,.60694],119:[0,.44444,.01597,0,.83055],120:[0,.44444,0,0,.60694],121:[.19444,.44444,.01597,0,.60694],122:[0,.44444,0,0,.51111],123:[.25,.75,0,0,.575],124:[.25,.75,0,0,.31944],125:[.25,.75,0,0,.575],126:[.35,.34444,0,0,.575],160:[0,0,0,0,.25],163:[0,.69444,0,0,.86853],168:[0,.69444,0,0,.575],172:[0,.44444,0,0,.76666],176:[0,.69444,0,0,.86944],177:[.13333,.63333,0,0,.89444],184:[.17014,0,0,0,.51111],198:[0,.68611,0,0,1.04166],215:[.13333,.63333,0,0,.89444],216:[.04861,.73472,0,0,.89444],223:[0,.69444,0,0,.59722],230:[0,.44444,0,0,.83055],247:[.13333,.63333,0,0,.89444],248:[.09722,.54167,0,0,.575],305:[0,.44444,0,0,.31944],338:[0,.68611,0,0,1.16944],339:[0,.44444,0,0,.89444],567:[.19444,.44444,0,0,.35139],710:[0,.69444,0,0,.575],711:[0,.63194,0,0,.575],713:[0,.59611,0,0,.575],714:[0,.69444,0,0,.575],715:[0,.69444,0,0,.575],728:[0,.69444,0,0,.575],729:[0,.69444,0,0,.31944],730:[0,.69444,0,0,.86944],732:[0,.69444,0,0,.575],733:[0,.69444,0,0,.575],915:[0,.68611,0,0,.69166],916:[0,.68611,0,0,.95833],920:[0,.68611,0,0,.89444],923:[0,.68611,0,0,.80555],926:[0,.68611,0,0,.76666],928:[0,.68611,0,0,.9],931:[0,.68611,0,0,.83055],933:[0,.68611,0,0,.89444],934:[0,.68611,0,0,.83055],936:[0,.68611,0,0,.89444],937:[0,.68611,0,0,.83055],8211:[0,.44444,.03194,0,.575],8212:[0,.44444,.03194,0,1.14999],8216:[0,.69444,0,0,.31944],8217:[0,.69444,0,0,.31944],8220:[0,.69444,0,0,.60278],8221:[0,.69444,0,0,.60278],8224:[.19444,.69444,0,0,.51111],8225:[.19444,.69444,0,0,.51111],8242:[0,.55556,0,0,.34444],8407:[0,.72444,.15486,0,.575],8463:[0,.69444,0,0,.66759],8465:[0,.69444,0,0,.83055],8467:[0,.69444,0,0,.47361],8472:[.19444,.44444,0,0,.74027],8476:[0,.69444,0,0,.83055],8501:[0,.69444,0,0,.70277],8592:[-.10889,.39111,0,0,1.14999],8593:[.19444,.69444,0,0,.575],8594:[-.10889,.39111,0,0,1.14999],8595:[.19444,.69444,0,0,.575],8596:[-.10889,.39111,0,0,1.14999],8597:[.25,.75,0,0,.575],8598:[.19444,.69444,0,0,1.14999],8599:[.19444,.69444,0,0,1.14999],8600:[.19444,.69444,0,0,1.14999],8601:[.19444,.69444,0,0,1.14999],8636:[-.10889,.39111,0,0,1.14999],8637:[-.10889,.39111,0,0,1.14999],8640:[-.10889,.39111,0,0,1.14999],8641:[-.10889,.39111,0,0,1.14999],8656:[-.10889,.39111,0,0,1.14999],8657:[.19444,.69444,0,0,.70277],8658:[-.10889,.39111,0,0,1.14999],8659:[.19444,.69444,0,0,.70277],8660:[-.10889,.39111,0,0,1.14999],8661:[.25,.75,0,0,.70277],8704:[0,.69444,0,0,.63889],8706:[0,.69444,.06389,0,.62847],8707:[0,.69444,0,0,.63889],8709:[.05556,.75,0,0,.575],8711:[0,.68611,0,0,.95833],8712:[.08556,.58556,0,0,.76666],8715:[.08556,.58556,0,0,.76666],8722:[.13333,.63333,0,0,.89444],8723:[.13333,.63333,0,0,.89444],8725:[.25,.75,0,0,.575],8726:[.25,.75,0,0,.575],8727:[-.02778,.47222,0,0,.575],8728:[-.02639,.47361,0,0,.575],8729:[-.02639,.47361,0,0,.575],8730:[.18,.82,0,0,.95833],8733:[0,.44444,0,0,.89444],8734:[0,.44444,0,0,1.14999],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.31944],8741:[.25,.75,0,0,.575],8743:[0,.55556,0,0,.76666],8744:[0,.55556,0,0,.76666],8745:[0,.55556,0,0,.76666],8746:[0,.55556,0,0,.76666],8747:[.19444,.69444,.12778,0,.56875],8764:[-.10889,.39111,0,0,.89444],8768:[.19444,.69444,0,0,.31944],8771:[.00222,.50222,0,0,.89444],8773:[.027,.638,0,0,.894],8776:[.02444,.52444,0,0,.89444],8781:[.00222,.50222,0,0,.89444],8801:[.00222,.50222,0,0,.89444],8804:[.19667,.69667,0,0,.89444],8805:[.19667,.69667,0,0,.89444],8810:[.08556,.58556,0,0,1.14999],8811:[.08556,.58556,0,0,1.14999],8826:[.08556,.58556,0,0,.89444],8827:[.08556,.58556,0,0,.89444],8834:[.08556,.58556,0,0,.89444],8835:[.08556,.58556,0,0,.89444],8838:[.19667,.69667,0,0,.89444],8839:[.19667,.69667,0,0,.89444],8846:[0,.55556,0,0,.76666],8849:[.19667,.69667,0,0,.89444],8850:[.19667,.69667,0,0,.89444],8851:[0,.55556,0,0,.76666],8852:[0,.55556,0,0,.76666],8853:[.13333,.63333,0,0,.89444],8854:[.13333,.63333,0,0,.89444],8855:[.13333,.63333,0,0,.89444],8856:[.13333,.63333,0,0,.89444],8857:[.13333,.63333,0,0,.89444],8866:[0,.69444,0,0,.70277],8867:[0,.69444,0,0,.70277],8868:[0,.69444,0,0,.89444],8869:[0,.69444,0,0,.89444],8900:[-.02639,.47361,0,0,.575],8901:[-.02639,.47361,0,0,.31944],8902:[-.02778,.47222,0,0,.575],8968:[.25,.75,0,0,.51111],8969:[.25,.75,0,0,.51111],8970:[.25,.75,0,0,.51111],8971:[.25,.75,0,0,.51111],8994:[-.13889,.36111,0,0,1.14999],8995:[-.13889,.36111,0,0,1.14999],9651:[.19444,.69444,0,0,1.02222],9657:[-.02778,.47222,0,0,.575],9661:[.19444,.69444,0,0,1.02222],9667:[-.02778,.47222,0,0,.575],9711:[.19444,.69444,0,0,1.14999],9824:[.12963,.69444,0,0,.89444],9825:[.12963,.69444,0,0,.89444],9826:[.12963,.69444,0,0,.89444],9827:[.12963,.69444,0,0,.89444],9837:[0,.75,0,0,.44722],9838:[.19444,.69444,0,0,.44722],9839:[.19444,.69444,0,0,.44722],10216:[.25,.75,0,0,.44722],10217:[.25,.75,0,0,.44722],10815:[0,.68611,0,0,.9],10927:[.19667,.69667,0,0,.89444],10928:[.19667,.69667,0,0,.89444],57376:[.19444,.69444,0,0,0]},"Main-BoldItalic":{32:[0,0,0,0,.25],33:[0,.69444,.11417,0,.38611],34:[0,.69444,.07939,0,.62055],35:[.19444,.69444,.06833,0,.94444],37:[.05556,.75,.12861,0,.94444],38:[0,.69444,.08528,0,.88555],39:[0,.69444,.12945,0,.35555],40:[.25,.75,.15806,0,.47333],41:[.25,.75,.03306,0,.47333],42:[0,.75,.14333,0,.59111],43:[.10333,.60333,.03306,0,.88555],44:[.19444,.14722,0,0,.35555],45:[0,.44444,.02611,0,.41444],46:[0,.14722,0,0,.35555],47:[.25,.75,.15806,0,.59111],48:[0,.64444,.13167,0,.59111],49:[0,.64444,.13167,0,.59111],50:[0,.64444,.13167,0,.59111],51:[0,.64444,.13167,0,.59111],52:[.19444,.64444,.13167,0,.59111],53:[0,.64444,.13167,0,.59111],54:[0,.64444,.13167,0,.59111],55:[.19444,.64444,.13167,0,.59111],56:[0,.64444,.13167,0,.59111],57:[0,.64444,.13167,0,.59111],58:[0,.44444,.06695,0,.35555],59:[.19444,.44444,.06695,0,.35555],61:[-.10889,.39111,.06833,0,.88555],63:[0,.69444,.11472,0,.59111],64:[0,.69444,.09208,0,.88555],65:[0,.68611,0,0,.86555],66:[0,.68611,.0992,0,.81666],67:[0,.68611,.14208,0,.82666],68:[0,.68611,.09062,0,.87555],69:[0,.68611,.11431,0,.75666],70:[0,.68611,.12903,0,.72722],71:[0,.68611,.07347,0,.89527],72:[0,.68611,.17208,0,.8961],73:[0,.68611,.15681,0,.47166],74:[0,.68611,.145,0,.61055],75:[0,.68611,.14208,0,.89499],76:[0,.68611,0,0,.69777],77:[0,.68611,.17208,0,1.07277],78:[0,.68611,.17208,0,.8961],79:[0,.68611,.09062,0,.85499],80:[0,.68611,.0992,0,.78721],81:[.19444,.68611,.09062,0,.85499],82:[0,.68611,.02559,0,.85944],83:[0,.68611,.11264,0,.64999],84:[0,.68611,.12903,0,.7961],85:[0,.68611,.17208,0,.88083],86:[0,.68611,.18625,0,.86555],87:[0,.68611,.18625,0,1.15999],88:[0,.68611,.15681,0,.86555],89:[0,.68611,.19803,0,.86555],90:[0,.68611,.14208,0,.70888],91:[.25,.75,.1875,0,.35611],93:[.25,.75,.09972,0,.35611],94:[0,.69444,.06709,0,.59111],95:[.31,.13444,.09811,0,.59111],97:[0,.44444,.09426,0,.59111],98:[0,.69444,.07861,0,.53222],99:[0,.44444,.05222,0,.53222],100:[0,.69444,.10861,0,.59111],101:[0,.44444,.085,0,.53222],102:[.19444,.69444,.21778,0,.4],103:[.19444,.44444,.105,0,.53222],104:[0,.69444,.09426,0,.59111],105:[0,.69326,.11387,0,.35555],106:[.19444,.69326,.1672,0,.35555],107:[0,.69444,.11111,0,.53222],108:[0,.69444,.10861,0,.29666],109:[0,.44444,.09426,0,.94444],110:[0,.44444,.09426,0,.64999],111:[0,.44444,.07861,0,.59111],112:[.19444,.44444,.07861,0,.59111],113:[.19444,.44444,.105,0,.53222],114:[0,.44444,.11111,0,.50167],115:[0,.44444,.08167,0,.48694],116:[0,.63492,.09639,0,.385],117:[0,.44444,.09426,0,.62055],118:[0,.44444,.11111,0,.53222],119:[0,.44444,.11111,0,.76777],120:[0,.44444,.12583,0,.56055],121:[.19444,.44444,.105,0,.56166],122:[0,.44444,.13889,0,.49055],126:[.35,.34444,.11472,0,.59111],160:[0,0,0,0,.25],168:[0,.69444,.11473,0,.59111],176:[0,.69444,0,0,.94888],184:[.17014,0,0,0,.53222],198:[0,.68611,.11431,0,1.02277],216:[.04861,.73472,.09062,0,.88555],223:[.19444,.69444,.09736,0,.665],230:[0,.44444,.085,0,.82666],248:[.09722,.54167,.09458,0,.59111],305:[0,.44444,.09426,0,.35555],338:[0,.68611,.11431,0,1.14054],339:[0,.44444,.085,0,.82666],567:[.19444,.44444,.04611,0,.385],710:[0,.69444,.06709,0,.59111],711:[0,.63194,.08271,0,.59111],713:[0,.59444,.10444,0,.59111],714:[0,.69444,.08528,0,.59111],715:[0,.69444,0,0,.59111],728:[0,.69444,.10333,0,.59111],729:[0,.69444,.12945,0,.35555],730:[0,.69444,0,0,.94888],732:[0,.69444,.11472,0,.59111],733:[0,.69444,.11472,0,.59111],915:[0,.68611,.12903,0,.69777],916:[0,.68611,0,0,.94444],920:[0,.68611,.09062,0,.88555],923:[0,.68611,0,0,.80666],926:[0,.68611,.15092,0,.76777],928:[0,.68611,.17208,0,.8961],931:[0,.68611,.11431,0,.82666],933:[0,.68611,.10778,0,.88555],934:[0,.68611,.05632,0,.82666],936:[0,.68611,.10778,0,.88555],937:[0,.68611,.0992,0,.82666],8211:[0,.44444,.09811,0,.59111],8212:[0,.44444,.09811,0,1.18221],8216:[0,.69444,.12945,0,.35555],8217:[0,.69444,.12945,0,.35555],8220:[0,.69444,.16772,0,.62055],8221:[0,.69444,.07939,0,.62055]},"Main-Italic":{32:[0,0,0,0,.25],33:[0,.69444,.12417,0,.30667],34:[0,.69444,.06961,0,.51444],35:[.19444,.69444,.06616,0,.81777],37:[.05556,.75,.13639,0,.81777],38:[0,.69444,.09694,0,.76666],39:[0,.69444,.12417,0,.30667],40:[.25,.75,.16194,0,.40889],41:[.25,.75,.03694,0,.40889],42:[0,.75,.14917,0,.51111],43:[.05667,.56167,.03694,0,.76666],44:[.19444,.10556,0,0,.30667],45:[0,.43056,.02826,0,.35778],46:[0,.10556,0,0,.30667],47:[.25,.75,.16194,0,.51111],48:[0,.64444,.13556,0,.51111],49:[0,.64444,.13556,0,.51111],50:[0,.64444,.13556,0,.51111],51:[0,.64444,.13556,0,.51111],52:[.19444,.64444,.13556,0,.51111],53:[0,.64444,.13556,0,.51111],54:[0,.64444,.13556,0,.51111],55:[.19444,.64444,.13556,0,.51111],56:[0,.64444,.13556,0,.51111],57:[0,.64444,.13556,0,.51111],58:[0,.43056,.0582,0,.30667],59:[.19444,.43056,.0582,0,.30667],61:[-.13313,.36687,.06616,0,.76666],63:[0,.69444,.1225,0,.51111],64:[0,.69444,.09597,0,.76666],65:[0,.68333,0,0,.74333],66:[0,.68333,.10257,0,.70389],67:[0,.68333,.14528,0,.71555],68:[0,.68333,.09403,0,.755],69:[0,.68333,.12028,0,.67833],70:[0,.68333,.13305,0,.65277],71:[0,.68333,.08722,0,.77361],72:[0,.68333,.16389,0,.74333],73:[0,.68333,.15806,0,.38555],74:[0,.68333,.14028,0,.525],75:[0,.68333,.14528,0,.76888],76:[0,.68333,0,0,.62722],77:[0,.68333,.16389,0,.89666],78:[0,.68333,.16389,0,.74333],79:[0,.68333,.09403,0,.76666],80:[0,.68333,.10257,0,.67833],81:[.19444,.68333,.09403,0,.76666],82:[0,.68333,.03868,0,.72944],83:[0,.68333,.11972,0,.56222],84:[0,.68333,.13305,0,.71555],85:[0,.68333,.16389,0,.74333],86:[0,.68333,.18361,0,.74333],87:[0,.68333,.18361,0,.99888],88:[0,.68333,.15806,0,.74333],89:[0,.68333,.19383,0,.74333],90:[0,.68333,.14528,0,.61333],91:[.25,.75,.1875,0,.30667],93:[.25,.75,.10528,0,.30667],94:[0,.69444,.06646,0,.51111],95:[.31,.12056,.09208,0,.51111],97:[0,.43056,.07671,0,.51111],98:[0,.69444,.06312,0,.46],99:[0,.43056,.05653,0,.46],100:[0,.69444,.10333,0,.51111],101:[0,.43056,.07514,0,.46],102:[.19444,.69444,.21194,0,.30667],103:[.19444,.43056,.08847,0,.46],104:[0,.69444,.07671,0,.51111],105:[0,.65536,.1019,0,.30667],106:[.19444,.65536,.14467,0,.30667],107:[0,.69444,.10764,0,.46],108:[0,.69444,.10333,0,.25555],109:[0,.43056,.07671,0,.81777],110:[0,.43056,.07671,0,.56222],111:[0,.43056,.06312,0,.51111],112:[.19444,.43056,.06312,0,.51111],113:[.19444,.43056,.08847,0,.46],114:[0,.43056,.10764,0,.42166],115:[0,.43056,.08208,0,.40889],116:[0,.61508,.09486,0,.33222],117:[0,.43056,.07671,0,.53666],118:[0,.43056,.10764,0,.46],119:[0,.43056,.10764,0,.66444],120:[0,.43056,.12042,0,.46389],121:[.19444,.43056,.08847,0,.48555],122:[0,.43056,.12292,0,.40889],126:[.35,.31786,.11585,0,.51111],160:[0,0,0,0,.25],168:[0,.66786,.10474,0,.51111],176:[0,.69444,0,0,.83129],184:[.17014,0,0,0,.46],198:[0,.68333,.12028,0,.88277],216:[.04861,.73194,.09403,0,.76666],223:[.19444,.69444,.10514,0,.53666],230:[0,.43056,.07514,0,.71555],248:[.09722,.52778,.09194,0,.51111],338:[0,.68333,.12028,0,.98499],339:[0,.43056,.07514,0,.71555],710:[0,.69444,.06646,0,.51111],711:[0,.62847,.08295,0,.51111],713:[0,.56167,.10333,0,.51111],714:[0,.69444,.09694,0,.51111],715:[0,.69444,0,0,.51111],728:[0,.69444,.10806,0,.51111],729:[0,.66786,.11752,0,.30667],730:[0,.69444,0,0,.83129],732:[0,.66786,.11585,0,.51111],733:[0,.69444,.1225,0,.51111],915:[0,.68333,.13305,0,.62722],916:[0,.68333,0,0,.81777],920:[0,.68333,.09403,0,.76666],923:[0,.68333,0,0,.69222],926:[0,.68333,.15294,0,.66444],928:[0,.68333,.16389,0,.74333],931:[0,.68333,.12028,0,.71555],933:[0,.68333,.11111,0,.76666],934:[0,.68333,.05986,0,.71555],936:[0,.68333,.11111,0,.76666],937:[0,.68333,.10257,0,.71555],8211:[0,.43056,.09208,0,.51111],8212:[0,.43056,.09208,0,1.02222],8216:[0,.69444,.12417,0,.30667],8217:[0,.69444,.12417,0,.30667],8220:[0,.69444,.1685,0,.51444],8221:[0,.69444,.06961,0,.51444],8463:[0,.68889,0,0,.54028]},"Main-Regular":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.27778],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.77778],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.19444,.10556,0,0,.27778],45:[0,.43056,0,0,.33333],46:[0,.10556,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.64444,0,0,.5],49:[0,.64444,0,0,.5],50:[0,.64444,0,0,.5],51:[0,.64444,0,0,.5],52:[0,.64444,0,0,.5],53:[0,.64444,0,0,.5],54:[0,.64444,0,0,.5],55:[0,.64444,0,0,.5],56:[0,.64444,0,0,.5],57:[0,.64444,0,0,.5],58:[0,.43056,0,0,.27778],59:[.19444,.43056,0,0,.27778],60:[.0391,.5391,0,0,.77778],61:[-.13313,.36687,0,0,.77778],62:[.0391,.5391,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.77778],65:[0,.68333,0,0,.75],66:[0,.68333,0,0,.70834],67:[0,.68333,0,0,.72222],68:[0,.68333,0,0,.76389],69:[0,.68333,0,0,.68056],70:[0,.68333,0,0,.65278],71:[0,.68333,0,0,.78472],72:[0,.68333,0,0,.75],73:[0,.68333,0,0,.36111],74:[0,.68333,0,0,.51389],75:[0,.68333,0,0,.77778],76:[0,.68333,0,0,.625],77:[0,.68333,0,0,.91667],78:[0,.68333,0,0,.75],79:[0,.68333,0,0,.77778],80:[0,.68333,0,0,.68056],81:[.19444,.68333,0,0,.77778],82:[0,.68333,0,0,.73611],83:[0,.68333,0,0,.55556],84:[0,.68333,0,0,.72222],85:[0,.68333,0,0,.75],86:[0,.68333,.01389,0,.75],87:[0,.68333,.01389,0,1.02778],88:[0,.68333,0,0,.75],89:[0,.68333,.025,0,.75],90:[0,.68333,0,0,.61111],91:[.25,.75,0,0,.27778],92:[.25,.75,0,0,.5],93:[.25,.75,0,0,.27778],94:[0,.69444,0,0,.5],95:[.31,.12056,.02778,0,.5],97:[0,.43056,0,0,.5],98:[0,.69444,0,0,.55556],99:[0,.43056,0,0,.44445],100:[0,.69444,0,0,.55556],101:[0,.43056,0,0,.44445],102:[0,.69444,.07778,0,.30556],103:[.19444,.43056,.01389,0,.5],104:[0,.69444,0,0,.55556],105:[0,.66786,0,0,.27778],106:[.19444,.66786,0,0,.30556],107:[0,.69444,0,0,.52778],108:[0,.69444,0,0,.27778],109:[0,.43056,0,0,.83334],110:[0,.43056,0,0,.55556],111:[0,.43056,0,0,.5],112:[.19444,.43056,0,0,.55556],113:[.19444,.43056,0,0,.52778],114:[0,.43056,0,0,.39167],115:[0,.43056,0,0,.39445],116:[0,.61508,0,0,.38889],117:[0,.43056,0,0,.55556],118:[0,.43056,.01389,0,.52778],119:[0,.43056,.01389,0,.72222],120:[0,.43056,0,0,.52778],121:[.19444,.43056,.01389,0,.52778],122:[0,.43056,0,0,.44445],123:[.25,.75,0,0,.5],124:[.25,.75,0,0,.27778],125:[.25,.75,0,0,.5],126:[.35,.31786,0,0,.5],160:[0,0,0,0,.25],163:[0,.69444,0,0,.76909],167:[.19444,.69444,0,0,.44445],168:[0,.66786,0,0,.5],172:[0,.43056,0,0,.66667],176:[0,.69444,0,0,.75],177:[.08333,.58333,0,0,.77778],182:[.19444,.69444,0,0,.61111],184:[.17014,0,0,0,.44445],198:[0,.68333,0,0,.90278],215:[.08333,.58333,0,0,.77778],216:[.04861,.73194,0,0,.77778],223:[0,.69444,0,0,.5],230:[0,.43056,0,0,.72222],247:[.08333,.58333,0,0,.77778],248:[.09722,.52778,0,0,.5],305:[0,.43056,0,0,.27778],338:[0,.68333,0,0,1.01389],339:[0,.43056,0,0,.77778],567:[.19444,.43056,0,0,.30556],710:[0,.69444,0,0,.5],711:[0,.62847,0,0,.5],713:[0,.56778,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.66786,0,0,.27778],730:[0,.69444,0,0,.75],732:[0,.66786,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.68333,0,0,.625],916:[0,.68333,0,0,.83334],920:[0,.68333,0,0,.77778],923:[0,.68333,0,0,.69445],926:[0,.68333,0,0,.66667],928:[0,.68333,0,0,.75],931:[0,.68333,0,0,.72222],933:[0,.68333,0,0,.77778],934:[0,.68333,0,0,.72222],936:[0,.68333,0,0,.77778],937:[0,.68333,0,0,.72222],8211:[0,.43056,.02778,0,.5],8212:[0,.43056,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5],8224:[.19444,.69444,0,0,.44445],8225:[.19444,.69444,0,0,.44445],8230:[0,.123,0,0,1.172],8242:[0,.55556,0,0,.275],8407:[0,.71444,.15382,0,.5],8463:[0,.68889,0,0,.54028],8465:[0,.69444,0,0,.72222],8467:[0,.69444,0,.11111,.41667],8472:[.19444,.43056,0,.11111,.63646],8476:[0,.69444,0,0,.72222],8501:[0,.69444,0,0,.61111],8592:[-.13313,.36687,0,0,1],8593:[.19444,.69444,0,0,.5],8594:[-.13313,.36687,0,0,1],8595:[.19444,.69444,0,0,.5],8596:[-.13313,.36687,0,0,1],8597:[.25,.75,0,0,.5],8598:[.19444,.69444,0,0,1],8599:[.19444,.69444,0,0,1],8600:[.19444,.69444,0,0,1],8601:[.19444,.69444,0,0,1],8614:[.011,.511,0,0,1],8617:[.011,.511,0,0,1.126],8618:[.011,.511,0,0,1.126],8636:[-.13313,.36687,0,0,1],8637:[-.13313,.36687,0,0,1],8640:[-.13313,.36687,0,0,1],8641:[-.13313,.36687,0,0,1],8652:[.011,.671,0,0,1],8656:[-.13313,.36687,0,0,1],8657:[.19444,.69444,0,0,.61111],8658:[-.13313,.36687,0,0,1],8659:[.19444,.69444,0,0,.61111],8660:[-.13313,.36687,0,0,1],8661:[.25,.75,0,0,.61111],8704:[0,.69444,0,0,.55556],8706:[0,.69444,.05556,.08334,.5309],8707:[0,.69444,0,0,.55556],8709:[.05556,.75,0,0,.5],8711:[0,.68333,0,0,.83334],8712:[.0391,.5391,0,0,.66667],8715:[.0391,.5391,0,0,.66667],8722:[.08333,.58333,0,0,.77778],8723:[.08333,.58333,0,0,.77778],8725:[.25,.75,0,0,.5],8726:[.25,.75,0,0,.5],8727:[-.03472,.46528,0,0,.5],8728:[-.05555,.44445,0,0,.5],8729:[-.05555,.44445,0,0,.5],8730:[.2,.8,0,0,.83334],8733:[0,.43056,0,0,.77778],8734:[0,.43056,0,0,1],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.27778],8741:[.25,.75,0,0,.5],8743:[0,.55556,0,0,.66667],8744:[0,.55556,0,0,.66667],8745:[0,.55556,0,0,.66667],8746:[0,.55556,0,0,.66667],8747:[.19444,.69444,.11111,0,.41667],8764:[-.13313,.36687,0,0,.77778],8768:[.19444,.69444,0,0,.27778],8771:[-.03625,.46375,0,0,.77778],8773:[-.022,.589,0,0,.778],8776:[-.01688,.48312,0,0,.77778],8781:[-.03625,.46375,0,0,.77778],8784:[-.133,.673,0,0,.778],8801:[-.03625,.46375,0,0,.77778],8804:[.13597,.63597,0,0,.77778],8805:[.13597,.63597,0,0,.77778],8810:[.0391,.5391,0,0,1],8811:[.0391,.5391,0,0,1],8826:[.0391,.5391,0,0,.77778],8827:[.0391,.5391,0,0,.77778],8834:[.0391,.5391,0,0,.77778],8835:[.0391,.5391,0,0,.77778],8838:[.13597,.63597,0,0,.77778],8839:[.13597,.63597,0,0,.77778],8846:[0,.55556,0,0,.66667],8849:[.13597,.63597,0,0,.77778],8850:[.13597,.63597,0,0,.77778],8851:[0,.55556,0,0,.66667],8852:[0,.55556,0,0,.66667],8853:[.08333,.58333,0,0,.77778],8854:[.08333,.58333,0,0,.77778],8855:[.08333,.58333,0,0,.77778],8856:[.08333,.58333,0,0,.77778],8857:[.08333,.58333,0,0,.77778],8866:[0,.69444,0,0,.61111],8867:[0,.69444,0,0,.61111],8868:[0,.69444,0,0,.77778],8869:[0,.69444,0,0,.77778],8872:[.249,.75,0,0,.867],8900:[-.05555,.44445,0,0,.5],8901:[-.05555,.44445,0,0,.27778],8902:[-.03472,.46528,0,0,.5],8904:[.005,.505,0,0,.9],8942:[.03,.903,0,0,.278],8943:[-.19,.313,0,0,1.172],8945:[-.1,.823,0,0,1.282],8968:[.25,.75,0,0,.44445],8969:[.25,.75,0,0,.44445],8970:[.25,.75,0,0,.44445],8971:[.25,.75,0,0,.44445],8994:[-.14236,.35764,0,0,1],8995:[-.14236,.35764,0,0,1],9136:[.244,.744,0,0,.412],9137:[.244,.745,0,0,.412],9651:[.19444,.69444,0,0,.88889],9657:[-.03472,.46528,0,0,.5],9661:[.19444,.69444,0,0,.88889],9667:[-.03472,.46528,0,0,.5],9711:[.19444,.69444,0,0,1],9824:[.12963,.69444,0,0,.77778],9825:[.12963,.69444,0,0,.77778],9826:[.12963,.69444,0,0,.77778],9827:[.12963,.69444,0,0,.77778],9837:[0,.75,0,0,.38889],9838:[.19444,.69444,0,0,.38889],9839:[.19444,.69444,0,0,.38889],10216:[.25,.75,0,0,.38889],10217:[.25,.75,0,0,.38889],10222:[.244,.744,0,0,.412],10223:[.244,.745,0,0,.412],10229:[.011,.511,0,0,1.609],10230:[.011,.511,0,0,1.638],10231:[.011,.511,0,0,1.859],10232:[.024,.525,0,0,1.609],10233:[.024,.525,0,0,1.638],10234:[.024,.525,0,0,1.858],10236:[.011,.511,0,0,1.638],10815:[0,.68333,0,0,.75],10927:[.13597,.63597,0,0,.77778],10928:[.13597,.63597,0,0,.77778],57376:[.19444,.69444,0,0,0]},"Math-BoldItalic":{32:[0,0,0,0,.25],48:[0,.44444,0,0,.575],49:[0,.44444,0,0,.575],50:[0,.44444,0,0,.575],51:[.19444,.44444,0,0,.575],52:[.19444,.44444,0,0,.575],53:[.19444,.44444,0,0,.575],54:[0,.64444,0,0,.575],55:[.19444,.44444,0,0,.575],56:[0,.64444,0,0,.575],57:[.19444,.44444,0,0,.575],65:[0,.68611,0,0,.86944],66:[0,.68611,.04835,0,.8664],67:[0,.68611,.06979,0,.81694],68:[0,.68611,.03194,0,.93812],69:[0,.68611,.05451,0,.81007],70:[0,.68611,.15972,0,.68889],71:[0,.68611,0,0,.88673],72:[0,.68611,.08229,0,.98229],73:[0,.68611,.07778,0,.51111],74:[0,.68611,.10069,0,.63125],75:[0,.68611,.06979,0,.97118],76:[0,.68611,0,0,.75555],77:[0,.68611,.11424,0,1.14201],78:[0,.68611,.11424,0,.95034],79:[0,.68611,.03194,0,.83666],80:[0,.68611,.15972,0,.72309],81:[.19444,.68611,0,0,.86861],82:[0,.68611,.00421,0,.87235],83:[0,.68611,.05382,0,.69271],84:[0,.68611,.15972,0,.63663],85:[0,.68611,.11424,0,.80027],86:[0,.68611,.25555,0,.67778],87:[0,.68611,.15972,0,1.09305],88:[0,.68611,.07778,0,.94722],89:[0,.68611,.25555,0,.67458],90:[0,.68611,.06979,0,.77257],97:[0,.44444,0,0,.63287],98:[0,.69444,0,0,.52083],99:[0,.44444,0,0,.51342],100:[0,.69444,0,0,.60972],101:[0,.44444,0,0,.55361],102:[.19444,.69444,.11042,0,.56806],103:[.19444,.44444,.03704,0,.5449],104:[0,.69444,0,0,.66759],105:[0,.69326,0,0,.4048],106:[.19444,.69326,.0622,0,.47083],107:[0,.69444,.01852,0,.6037],108:[0,.69444,.0088,0,.34815],109:[0,.44444,0,0,1.0324],110:[0,.44444,0,0,.71296],111:[0,.44444,0,0,.58472],112:[.19444,.44444,0,0,.60092],113:[.19444,.44444,.03704,0,.54213],114:[0,.44444,.03194,0,.5287],115:[0,.44444,0,0,.53125],116:[0,.63492,0,0,.41528],117:[0,.44444,0,0,.68102],118:[0,.44444,.03704,0,.56666],119:[0,.44444,.02778,0,.83148],120:[0,.44444,0,0,.65903],121:[.19444,.44444,.03704,0,.59028],122:[0,.44444,.04213,0,.55509],160:[0,0,0,0,.25],915:[0,.68611,.15972,0,.65694],916:[0,.68611,0,0,.95833],920:[0,.68611,.03194,0,.86722],923:[0,.68611,0,0,.80555],926:[0,.68611,.07458,0,.84125],928:[0,.68611,.08229,0,.98229],931:[0,.68611,.05451,0,.88507],933:[0,.68611,.15972,0,.67083],934:[0,.68611,0,0,.76666],936:[0,.68611,.11653,0,.71402],937:[0,.68611,.04835,0,.8789],945:[0,.44444,0,0,.76064],946:[.19444,.69444,.03403,0,.65972],947:[.19444,.44444,.06389,0,.59003],948:[0,.69444,.03819,0,.52222],949:[0,.44444,0,0,.52882],950:[.19444,.69444,.06215,0,.50833],951:[.19444,.44444,.03704,0,.6],952:[0,.69444,.03194,0,.5618],953:[0,.44444,0,0,.41204],954:[0,.44444,0,0,.66759],955:[0,.69444,0,0,.67083],956:[.19444,.44444,0,0,.70787],957:[0,.44444,.06898,0,.57685],958:[.19444,.69444,.03021,0,.50833],959:[0,.44444,0,0,.58472],960:[0,.44444,.03704,0,.68241],961:[.19444,.44444,0,0,.6118],962:[.09722,.44444,.07917,0,.42361],963:[0,.44444,.03704,0,.68588],964:[0,.44444,.13472,0,.52083],965:[0,.44444,.03704,0,.63055],966:[.19444,.44444,0,0,.74722],967:[.19444,.44444,0,0,.71805],968:[.19444,.69444,.03704,0,.75833],969:[0,.44444,.03704,0,.71782],977:[0,.69444,0,0,.69155],981:[.19444,.69444,0,0,.7125],982:[0,.44444,.03194,0,.975],1009:[.19444,.44444,0,0,.6118],1013:[0,.44444,0,0,.48333],57649:[0,.44444,0,0,.39352],57911:[.19444,.44444,0,0,.43889]},"Math-Italic":{32:[0,0,0,0,.25],48:[0,.43056,0,0,.5],49:[0,.43056,0,0,.5],50:[0,.43056,0,0,.5],51:[.19444,.43056,0,0,.5],52:[.19444,.43056,0,0,.5],53:[.19444,.43056,0,0,.5],54:[0,.64444,0,0,.5],55:[.19444,.43056,0,0,.5],56:[0,.64444,0,0,.5],57:[.19444,.43056,0,0,.5],65:[0,.68333,0,.13889,.75],66:[0,.68333,.05017,.08334,.75851],67:[0,.68333,.07153,.08334,.71472],68:[0,.68333,.02778,.05556,.82792],69:[0,.68333,.05764,.08334,.7382],70:[0,.68333,.13889,.08334,.64306],71:[0,.68333,0,.08334,.78625],72:[0,.68333,.08125,.05556,.83125],73:[0,.68333,.07847,.11111,.43958],74:[0,.68333,.09618,.16667,.55451],75:[0,.68333,.07153,.05556,.84931],76:[0,.68333,0,.02778,.68056],77:[0,.68333,.10903,.08334,.97014],78:[0,.68333,.10903,.08334,.80347],79:[0,.68333,.02778,.08334,.76278],80:[0,.68333,.13889,.08334,.64201],81:[.19444,.68333,0,.08334,.79056],82:[0,.68333,.00773,.08334,.75929],83:[0,.68333,.05764,.08334,.6132],84:[0,.68333,.13889,.08334,.58438],85:[0,.68333,.10903,.02778,.68278],86:[0,.68333,.22222,0,.58333],87:[0,.68333,.13889,0,.94445],88:[0,.68333,.07847,.08334,.82847],89:[0,.68333,.22222,0,.58056],90:[0,.68333,.07153,.08334,.68264],97:[0,.43056,0,0,.52859],98:[0,.69444,0,0,.42917],99:[0,.43056,0,.05556,.43276],100:[0,.69444,0,.16667,.52049],101:[0,.43056,0,.05556,.46563],102:[.19444,.69444,.10764,.16667,.48959],103:[.19444,.43056,.03588,.02778,.47697],104:[0,.69444,0,0,.57616],105:[0,.65952,0,0,.34451],106:[.19444,.65952,.05724,0,.41181],107:[0,.69444,.03148,0,.5206],108:[0,.69444,.01968,.08334,.29838],109:[0,.43056,0,0,.87801],110:[0,.43056,0,0,.60023],111:[0,.43056,0,.05556,.48472],112:[.19444,.43056,0,.08334,.50313],113:[.19444,.43056,.03588,.08334,.44641],114:[0,.43056,.02778,.05556,.45116],115:[0,.43056,0,.05556,.46875],116:[0,.61508,0,.08334,.36111],117:[0,.43056,0,.02778,.57246],118:[0,.43056,.03588,.02778,.48472],119:[0,.43056,.02691,.08334,.71592],120:[0,.43056,0,.02778,.57153],121:[.19444,.43056,.03588,.05556,.49028],122:[0,.43056,.04398,.05556,.46505],160:[0,0,0,0,.25],915:[0,.68333,.13889,.08334,.61528],916:[0,.68333,0,.16667,.83334],920:[0,.68333,.02778,.08334,.76278],923:[0,.68333,0,.16667,.69445],926:[0,.68333,.07569,.08334,.74236],928:[0,.68333,.08125,.05556,.83125],931:[0,.68333,.05764,.08334,.77986],933:[0,.68333,.13889,.05556,.58333],934:[0,.68333,0,.08334,.66667],936:[0,.68333,.11,.05556,.61222],937:[0,.68333,.05017,.08334,.7724],945:[0,.43056,.0037,.02778,.6397],946:[.19444,.69444,.05278,.08334,.56563],947:[.19444,.43056,.05556,0,.51773],948:[0,.69444,.03785,.05556,.44444],949:[0,.43056,0,.08334,.46632],950:[.19444,.69444,.07378,.08334,.4375],951:[.19444,.43056,.03588,.05556,.49653],952:[0,.69444,.02778,.08334,.46944],953:[0,.43056,0,.05556,.35394],954:[0,.43056,0,0,.57616],955:[0,.69444,0,0,.58334],956:[.19444,.43056,0,.02778,.60255],957:[0,.43056,.06366,.02778,.49398],958:[.19444,.69444,.04601,.11111,.4375],959:[0,.43056,0,.05556,.48472],960:[0,.43056,.03588,0,.57003],961:[.19444,.43056,0,.08334,.51702],962:[.09722,.43056,.07986,.08334,.36285],963:[0,.43056,.03588,0,.57141],964:[0,.43056,.1132,.02778,.43715],965:[0,.43056,.03588,.02778,.54028],966:[.19444,.43056,0,.08334,.65417],967:[.19444,.43056,0,.05556,.62569],968:[.19444,.69444,.03588,.11111,.65139],969:[0,.43056,.03588,0,.62245],977:[0,.69444,0,.08334,.59144],981:[.19444,.69444,0,.08334,.59583],982:[0,.43056,.02778,0,.82813],1009:[.19444,.43056,0,.08334,.51702],1013:[0,.43056,0,.05556,.4059],57649:[0,.43056,0,.02778,.32246],57911:[.19444,.43056,0,.08334,.38403]},"SansSerif-Bold":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.36667],34:[0,.69444,0,0,.55834],35:[.19444,.69444,0,0,.91667],36:[.05556,.75,0,0,.55],37:[.05556,.75,0,0,1.02912],38:[0,.69444,0,0,.83056],39:[0,.69444,0,0,.30556],40:[.25,.75,0,0,.42778],41:[.25,.75,0,0,.42778],42:[0,.75,0,0,.55],43:[.11667,.61667,0,0,.85556],44:[.10556,.13056,0,0,.30556],45:[0,.45833,0,0,.36667],46:[0,.13056,0,0,.30556],47:[.25,.75,0,0,.55],48:[0,.69444,0,0,.55],49:[0,.69444,0,0,.55],50:[0,.69444,0,0,.55],51:[0,.69444,0,0,.55],52:[0,.69444,0,0,.55],53:[0,.69444,0,0,.55],54:[0,.69444,0,0,.55],55:[0,.69444,0,0,.55],56:[0,.69444,0,0,.55],57:[0,.69444,0,0,.55],58:[0,.45833,0,0,.30556],59:[.10556,.45833,0,0,.30556],61:[-.09375,.40625,0,0,.85556],63:[0,.69444,0,0,.51945],64:[0,.69444,0,0,.73334],65:[0,.69444,0,0,.73334],66:[0,.69444,0,0,.73334],67:[0,.69444,0,0,.70278],68:[0,.69444,0,0,.79445],69:[0,.69444,0,0,.64167],70:[0,.69444,0,0,.61111],71:[0,.69444,0,0,.73334],72:[0,.69444,0,0,.79445],73:[0,.69444,0,0,.33056],74:[0,.69444,0,0,.51945],75:[0,.69444,0,0,.76389],76:[0,.69444,0,0,.58056],77:[0,.69444,0,0,.97778],78:[0,.69444,0,0,.79445],79:[0,.69444,0,0,.79445],80:[0,.69444,0,0,.70278],81:[.10556,.69444,0,0,.79445],82:[0,.69444,0,0,.70278],83:[0,.69444,0,0,.61111],84:[0,.69444,0,0,.73334],85:[0,.69444,0,0,.76389],86:[0,.69444,.01528,0,.73334],87:[0,.69444,.01528,0,1.03889],88:[0,.69444,0,0,.73334],89:[0,.69444,.0275,0,.73334],90:[0,.69444,0,0,.67223],91:[.25,.75,0,0,.34306],93:[.25,.75,0,0,.34306],94:[0,.69444,0,0,.55],95:[.35,.10833,.03056,0,.55],97:[0,.45833,0,0,.525],98:[0,.69444,0,0,.56111],99:[0,.45833,0,0,.48889],100:[0,.69444,0,0,.56111],101:[0,.45833,0,0,.51111],102:[0,.69444,.07639,0,.33611],103:[.19444,.45833,.01528,0,.55],104:[0,.69444,0,0,.56111],105:[0,.69444,0,0,.25556],106:[.19444,.69444,0,0,.28611],107:[0,.69444,0,0,.53056],108:[0,.69444,0,0,.25556],109:[0,.45833,0,0,.86667],110:[0,.45833,0,0,.56111],111:[0,.45833,0,0,.55],112:[.19444,.45833,0,0,.56111],113:[.19444,.45833,0,0,.56111],114:[0,.45833,.01528,0,.37222],115:[0,.45833,0,0,.42167],116:[0,.58929,0,0,.40417],117:[0,.45833,0,0,.56111],118:[0,.45833,.01528,0,.5],119:[0,.45833,.01528,0,.74445],120:[0,.45833,0,0,.5],121:[.19444,.45833,.01528,0,.5],122:[0,.45833,0,0,.47639],126:[.35,.34444,0,0,.55],160:[0,0,0,0,.25],168:[0,.69444,0,0,.55],176:[0,.69444,0,0,.73334],180:[0,.69444,0,0,.55],184:[.17014,0,0,0,.48889],305:[0,.45833,0,0,.25556],567:[.19444,.45833,0,0,.28611],710:[0,.69444,0,0,.55],711:[0,.63542,0,0,.55],713:[0,.63778,0,0,.55],728:[0,.69444,0,0,.55],729:[0,.69444,0,0,.30556],730:[0,.69444,0,0,.73334],732:[0,.69444,0,0,.55],733:[0,.69444,0,0,.55],915:[0,.69444,0,0,.58056],916:[0,.69444,0,0,.91667],920:[0,.69444,0,0,.85556],923:[0,.69444,0,0,.67223],926:[0,.69444,0,0,.73334],928:[0,.69444,0,0,.79445],931:[0,.69444,0,0,.79445],933:[0,.69444,0,0,.85556],934:[0,.69444,0,0,.79445],936:[0,.69444,0,0,.85556],937:[0,.69444,0,0,.79445],8211:[0,.45833,.03056,0,.55],8212:[0,.45833,.03056,0,1.10001],8216:[0,.69444,0,0,.30556],8217:[0,.69444,0,0,.30556],8220:[0,.69444,0,0,.55834],8221:[0,.69444,0,0,.55834]},"SansSerif-Italic":{32:[0,0,0,0,.25],33:[0,.69444,.05733,0,.31945],34:[0,.69444,.00316,0,.5],35:[.19444,.69444,.05087,0,.83334],36:[.05556,.75,.11156,0,.5],37:[.05556,.75,.03126,0,.83334],38:[0,.69444,.03058,0,.75834],39:[0,.69444,.07816,0,.27778],40:[.25,.75,.13164,0,.38889],41:[.25,.75,.02536,0,.38889],42:[0,.75,.11775,0,.5],43:[.08333,.58333,.02536,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,.01946,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,.13164,0,.5],48:[0,.65556,.11156,0,.5],49:[0,.65556,.11156,0,.5],50:[0,.65556,.11156,0,.5],51:[0,.65556,.11156,0,.5],52:[0,.65556,.11156,0,.5],53:[0,.65556,.11156,0,.5],54:[0,.65556,.11156,0,.5],55:[0,.65556,.11156,0,.5],56:[0,.65556,.11156,0,.5],57:[0,.65556,.11156,0,.5],58:[0,.44444,.02502,0,.27778],59:[.125,.44444,.02502,0,.27778],61:[-.13,.37,.05087,0,.77778],63:[0,.69444,.11809,0,.47222],64:[0,.69444,.07555,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,.08293,0,.66667],67:[0,.69444,.11983,0,.63889],68:[0,.69444,.07555,0,.72223],69:[0,.69444,.11983,0,.59722],70:[0,.69444,.13372,0,.56945],71:[0,.69444,.11983,0,.66667],72:[0,.69444,.08094,0,.70834],73:[0,.69444,.13372,0,.27778],74:[0,.69444,.08094,0,.47222],75:[0,.69444,.11983,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,.08094,0,.875],78:[0,.69444,.08094,0,.70834],79:[0,.69444,.07555,0,.73611],80:[0,.69444,.08293,0,.63889],81:[.125,.69444,.07555,0,.73611],82:[0,.69444,.08293,0,.64584],83:[0,.69444,.09205,0,.55556],84:[0,.69444,.13372,0,.68056],85:[0,.69444,.08094,0,.6875],86:[0,.69444,.1615,0,.66667],87:[0,.69444,.1615,0,.94445],88:[0,.69444,.13372,0,.66667],89:[0,.69444,.17261,0,.66667],90:[0,.69444,.11983,0,.61111],91:[.25,.75,.15942,0,.28889],93:[.25,.75,.08719,0,.28889],94:[0,.69444,.0799,0,.5],95:[.35,.09444,.08616,0,.5],97:[0,.44444,.00981,0,.48056],98:[0,.69444,.03057,0,.51667],99:[0,.44444,.08336,0,.44445],100:[0,.69444,.09483,0,.51667],101:[0,.44444,.06778,0,.44445],102:[0,.69444,.21705,0,.30556],103:[.19444,.44444,.10836,0,.5],104:[0,.69444,.01778,0,.51667],105:[0,.67937,.09718,0,.23889],106:[.19444,.67937,.09162,0,.26667],107:[0,.69444,.08336,0,.48889],108:[0,.69444,.09483,0,.23889],109:[0,.44444,.01778,0,.79445],110:[0,.44444,.01778,0,.51667],111:[0,.44444,.06613,0,.5],112:[.19444,.44444,.0389,0,.51667],113:[.19444,.44444,.04169,0,.51667],114:[0,.44444,.10836,0,.34167],115:[0,.44444,.0778,0,.38333],116:[0,.57143,.07225,0,.36111],117:[0,.44444,.04169,0,.51667],118:[0,.44444,.10836,0,.46111],119:[0,.44444,.10836,0,.68334],120:[0,.44444,.09169,0,.46111],121:[.19444,.44444,.10836,0,.46111],122:[0,.44444,.08752,0,.43472],126:[.35,.32659,.08826,0,.5],160:[0,0,0,0,.25],168:[0,.67937,.06385,0,.5],176:[0,.69444,0,0,.73752],184:[.17014,0,0,0,.44445],305:[0,.44444,.04169,0,.23889],567:[.19444,.44444,.04169,0,.26667],710:[0,.69444,.0799,0,.5],711:[0,.63194,.08432,0,.5],713:[0,.60889,.08776,0,.5],714:[0,.69444,.09205,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,.09483,0,.5],729:[0,.67937,.07774,0,.27778],730:[0,.69444,0,0,.73752],732:[0,.67659,.08826,0,.5],733:[0,.69444,.09205,0,.5],915:[0,.69444,.13372,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,.07555,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,.12816,0,.66667],928:[0,.69444,.08094,0,.70834],931:[0,.69444,.11983,0,.72222],933:[0,.69444,.09031,0,.77778],934:[0,.69444,.04603,0,.72222],936:[0,.69444,.09031,0,.77778],937:[0,.69444,.08293,0,.72222],8211:[0,.44444,.08616,0,.5],8212:[0,.44444,.08616,0,1],8216:[0,.69444,.07816,0,.27778],8217:[0,.69444,.07816,0,.27778],8220:[0,.69444,.14205,0,.5],8221:[0,.69444,.00316,0,.5]},"SansSerif-Regular":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.31945],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.75834],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,0,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.65556,0,0,.5],49:[0,.65556,0,0,.5],50:[0,.65556,0,0,.5],51:[0,.65556,0,0,.5],52:[0,.65556,0,0,.5],53:[0,.65556,0,0,.5],54:[0,.65556,0,0,.5],55:[0,.65556,0,0,.5],56:[0,.65556,0,0,.5],57:[0,.65556,0,0,.5],58:[0,.44444,0,0,.27778],59:[.125,.44444,0,0,.27778],61:[-.13,.37,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,0,0,.66667],67:[0,.69444,0,0,.63889],68:[0,.69444,0,0,.72223],69:[0,.69444,0,0,.59722],70:[0,.69444,0,0,.56945],71:[0,.69444,0,0,.66667],72:[0,.69444,0,0,.70834],73:[0,.69444,0,0,.27778],74:[0,.69444,0,0,.47222],75:[0,.69444,0,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,0,0,.875],78:[0,.69444,0,0,.70834],79:[0,.69444,0,0,.73611],80:[0,.69444,0,0,.63889],81:[.125,.69444,0,0,.73611],82:[0,.69444,0,0,.64584],83:[0,.69444,0,0,.55556],84:[0,.69444,0,0,.68056],85:[0,.69444,0,0,.6875],86:[0,.69444,.01389,0,.66667],87:[0,.69444,.01389,0,.94445],88:[0,.69444,0,0,.66667],89:[0,.69444,.025,0,.66667],90:[0,.69444,0,0,.61111],91:[.25,.75,0,0,.28889],93:[.25,.75,0,0,.28889],94:[0,.69444,0,0,.5],95:[.35,.09444,.02778,0,.5],97:[0,.44444,0,0,.48056],98:[0,.69444,0,0,.51667],99:[0,.44444,0,0,.44445],100:[0,.69444,0,0,.51667],101:[0,.44444,0,0,.44445],102:[0,.69444,.06944,0,.30556],103:[.19444,.44444,.01389,0,.5],104:[0,.69444,0,0,.51667],105:[0,.67937,0,0,.23889],106:[.19444,.67937,0,0,.26667],107:[0,.69444,0,0,.48889],108:[0,.69444,0,0,.23889],109:[0,.44444,0,0,.79445],110:[0,.44444,0,0,.51667],111:[0,.44444,0,0,.5],112:[.19444,.44444,0,0,.51667],113:[.19444,.44444,0,0,.51667],114:[0,.44444,.01389,0,.34167],115:[0,.44444,0,0,.38333],116:[0,.57143,0,0,.36111],117:[0,.44444,0,0,.51667],118:[0,.44444,.01389,0,.46111],119:[0,.44444,.01389,0,.68334],120:[0,.44444,0,0,.46111],121:[.19444,.44444,.01389,0,.46111],122:[0,.44444,0,0,.43472],126:[.35,.32659,0,0,.5],160:[0,0,0,0,.25],168:[0,.67937,0,0,.5],176:[0,.69444,0,0,.66667],184:[.17014,0,0,0,.44445],305:[0,.44444,0,0,.23889],567:[.19444,.44444,0,0,.26667],710:[0,.69444,0,0,.5],711:[0,.63194,0,0,.5],713:[0,.60889,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.67937,0,0,.27778],730:[0,.69444,0,0,.66667],732:[0,.67659,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.69444,0,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,0,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,0,0,.66667],928:[0,.69444,0,0,.70834],931:[0,.69444,0,0,.72222],933:[0,.69444,0,0,.77778],934:[0,.69444,0,0,.72222],936:[0,.69444,0,0,.77778],937:[0,.69444,0,0,.72222],8211:[0,.44444,.02778,0,.5],8212:[0,.44444,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5]},"Script-Regular":{32:[0,0,0,0,.25],65:[0,.7,.22925,0,.80253],66:[0,.7,.04087,0,.90757],67:[0,.7,.1689,0,.66619],68:[0,.7,.09371,0,.77443],69:[0,.7,.18583,0,.56162],70:[0,.7,.13634,0,.89544],71:[0,.7,.17322,0,.60961],72:[0,.7,.29694,0,.96919],73:[0,.7,.19189,0,.80907],74:[.27778,.7,.19189,0,1.05159],75:[0,.7,.31259,0,.91364],76:[0,.7,.19189,0,.87373],77:[0,.7,.15981,0,1.08031],78:[0,.7,.3525,0,.9015],79:[0,.7,.08078,0,.73787],80:[0,.7,.08078,0,1.01262],81:[0,.7,.03305,0,.88282],82:[0,.7,.06259,0,.85],83:[0,.7,.19189,0,.86767],84:[0,.7,.29087,0,.74697],85:[0,.7,.25815,0,.79996],86:[0,.7,.27523,0,.62204],87:[0,.7,.27523,0,.80532],88:[0,.7,.26006,0,.94445],89:[0,.7,.2939,0,.70961],90:[0,.7,.24037,0,.8212],160:[0,0,0,0,.25]},"Size1-Regular":{32:[0,0,0,0,.25],40:[.35001,.85,0,0,.45834],41:[.35001,.85,0,0,.45834],47:[.35001,.85,0,0,.57778],91:[.35001,.85,0,0,.41667],92:[.35001,.85,0,0,.57778],93:[.35001,.85,0,0,.41667],123:[.35001,.85,0,0,.58334],125:[.35001,.85,0,0,.58334],160:[0,0,0,0,.25],710:[0,.72222,0,0,.55556],732:[0,.72222,0,0,.55556],770:[0,.72222,0,0,.55556],771:[0,.72222,0,0,.55556],8214:[-99e-5,.601,0,0,.77778],8593:[1e-5,.6,0,0,.66667],8595:[1e-5,.6,0,0,.66667],8657:[1e-5,.6,0,0,.77778],8659:[1e-5,.6,0,0,.77778],8719:[.25001,.75,0,0,.94445],8720:[.25001,.75,0,0,.94445],8721:[.25001,.75,0,0,1.05556],8730:[.35001,.85,0,0,1],8739:[-.00599,.606,0,0,.33333],8741:[-.00599,.606,0,0,.55556],8747:[.30612,.805,.19445,0,.47222],8748:[.306,.805,.19445,0,.47222],8749:[.306,.805,.19445,0,.47222],8750:[.30612,.805,.19445,0,.47222],8896:[.25001,.75,0,0,.83334],8897:[.25001,.75,0,0,.83334],8898:[.25001,.75,0,0,.83334],8899:[.25001,.75,0,0,.83334],8968:[.35001,.85,0,0,.47222],8969:[.35001,.85,0,0,.47222],8970:[.35001,.85,0,0,.47222],8971:[.35001,.85,0,0,.47222],9168:[-99e-5,.601,0,0,.66667],10216:[.35001,.85,0,0,.47222],10217:[.35001,.85,0,0,.47222],10752:[.25001,.75,0,0,1.11111],10753:[.25001,.75,0,0,1.11111],10754:[.25001,.75,0,0,1.11111],10756:[.25001,.75,0,0,.83334],10758:[.25001,.75,0,0,.83334]},"Size2-Regular":{32:[0,0,0,0,.25],40:[.65002,1.15,0,0,.59722],41:[.65002,1.15,0,0,.59722],47:[.65002,1.15,0,0,.81111],91:[.65002,1.15,0,0,.47222],92:[.65002,1.15,0,0,.81111],93:[.65002,1.15,0,0,.47222],123:[.65002,1.15,0,0,.66667],125:[.65002,1.15,0,0,.66667],160:[0,0,0,0,.25],710:[0,.75,0,0,1],732:[0,.75,0,0,1],770:[0,.75,0,0,1],771:[0,.75,0,0,1],8719:[.55001,1.05,0,0,1.27778],8720:[.55001,1.05,0,0,1.27778],8721:[.55001,1.05,0,0,1.44445],8730:[.65002,1.15,0,0,1],8747:[.86225,1.36,.44445,0,.55556],8748:[.862,1.36,.44445,0,.55556],8749:[.862,1.36,.44445,0,.55556],8750:[.86225,1.36,.44445,0,.55556],8896:[.55001,1.05,0,0,1.11111],8897:[.55001,1.05,0,0,1.11111],8898:[.55001,1.05,0,0,1.11111],8899:[.55001,1.05,0,0,1.11111],8968:[.65002,1.15,0,0,.52778],8969:[.65002,1.15,0,0,.52778],8970:[.65002,1.15,0,0,.52778],8971:[.65002,1.15,0,0,.52778],10216:[.65002,1.15,0,0,.61111],10217:[.65002,1.15,0,0,.61111],10752:[.55001,1.05,0,0,1.51112],10753:[.55001,1.05,0,0,1.51112],10754:[.55001,1.05,0,0,1.51112],10756:[.55001,1.05,0,0,1.11111],10758:[.55001,1.05,0,0,1.11111]},"Size3-Regular":{32:[0,0,0,0,.25],40:[.95003,1.45,0,0,.73611],41:[.95003,1.45,0,0,.73611],47:[.95003,1.45,0,0,1.04445],91:[.95003,1.45,0,0,.52778],92:[.95003,1.45,0,0,1.04445],93:[.95003,1.45,0,0,.52778],123:[.95003,1.45,0,0,.75],125:[.95003,1.45,0,0,.75],160:[0,0,0,0,.25],710:[0,.75,0,0,1.44445],732:[0,.75,0,0,1.44445],770:[0,.75,0,0,1.44445],771:[0,.75,0,0,1.44445],8730:[.95003,1.45,0,0,1],8968:[.95003,1.45,0,0,.58334],8969:[.95003,1.45,0,0,.58334],8970:[.95003,1.45,0,0,.58334],8971:[.95003,1.45,0,0,.58334],10216:[.95003,1.45,0,0,.75],10217:[.95003,1.45,0,0,.75]},"Size4-Regular":{32:[0,0,0,0,.25],40:[1.25003,1.75,0,0,.79167],41:[1.25003,1.75,0,0,.79167],47:[1.25003,1.75,0,0,1.27778],91:[1.25003,1.75,0,0,.58334],92:[1.25003,1.75,0,0,1.27778],93:[1.25003,1.75,0,0,.58334],123:[1.25003,1.75,0,0,.80556],125:[1.25003,1.75,0,0,.80556],160:[0,0,0,0,.25],710:[0,.825,0,0,1.8889],732:[0,.825,0,0,1.8889],770:[0,.825,0,0,1.8889],771:[0,.825,0,0,1.8889],8730:[1.25003,1.75,0,0,1],8968:[1.25003,1.75,0,0,.63889],8969:[1.25003,1.75,0,0,.63889],8970:[1.25003,1.75,0,0,.63889],8971:[1.25003,1.75,0,0,.63889],9115:[.64502,1.155,0,0,.875],9116:[1e-5,.6,0,0,.875],9117:[.64502,1.155,0,0,.875],9118:[.64502,1.155,0,0,.875],9119:[1e-5,.6,0,0,.875],9120:[.64502,1.155,0,0,.875],9121:[.64502,1.155,0,0,.66667],9122:[-99e-5,.601,0,0,.66667],9123:[.64502,1.155,0,0,.66667],9124:[.64502,1.155,0,0,.66667],9125:[-99e-5,.601,0,0,.66667],9126:[.64502,1.155,0,0,.66667],9127:[1e-5,.9,0,0,.88889],9128:[.65002,1.15,0,0,.88889],9129:[.90001,0,0,0,.88889],9130:[0,.3,0,0,.88889],9131:[1e-5,.9,0,0,.88889],9132:[.65002,1.15,0,0,.88889],9133:[.90001,0,0,0,.88889],9143:[.88502,.915,0,0,1.05556],10216:[1.25003,1.75,0,0,.80556],10217:[1.25003,1.75,0,0,.80556],57344:[-.00499,.605,0,0,1.05556],57345:[-.00499,.605,0,0,1.05556],57680:[0,.12,0,0,.45],57681:[0,.12,0,0,.45],57682:[0,.12,0,0,.45],57683:[0,.12,0,0,.45]},"Typewriter-Regular":{32:[0,0,0,0,.525],33:[0,.61111,0,0,.525],34:[0,.61111,0,0,.525],35:[0,.61111,0,0,.525],36:[.08333,.69444,0,0,.525],37:[.08333,.69444,0,0,.525],38:[0,.61111,0,0,.525],39:[0,.61111,0,0,.525],40:[.08333,.69444,0,0,.525],41:[.08333,.69444,0,0,.525],42:[0,.52083,0,0,.525],43:[-.08056,.53055,0,0,.525],44:[.13889,.125,0,0,.525],45:[-.08056,.53055,0,0,.525],46:[0,.125,0,0,.525],47:[.08333,.69444,0,0,.525],48:[0,.61111,0,0,.525],49:[0,.61111,0,0,.525],50:[0,.61111,0,0,.525],51:[0,.61111,0,0,.525],52:[0,.61111,0,0,.525],53:[0,.61111,0,0,.525],54:[0,.61111,0,0,.525],55:[0,.61111,0,0,.525],56:[0,.61111,0,0,.525],57:[0,.61111,0,0,.525],58:[0,.43056,0,0,.525],59:[.13889,.43056,0,0,.525],60:[-.05556,.55556,0,0,.525],61:[-.19549,.41562,0,0,.525],62:[-.05556,.55556,0,0,.525],63:[0,.61111,0,0,.525],64:[0,.61111,0,0,.525],65:[0,.61111,0,0,.525],66:[0,.61111,0,0,.525],67:[0,.61111,0,0,.525],68:[0,.61111,0,0,.525],69:[0,.61111,0,0,.525],70:[0,.61111,0,0,.525],71:[0,.61111,0,0,.525],72:[0,.61111,0,0,.525],73:[0,.61111,0,0,.525],74:[0,.61111,0,0,.525],75:[0,.61111,0,0,.525],76:[0,.61111,0,0,.525],77:[0,.61111,0,0,.525],78:[0,.61111,0,0,.525],79:[0,.61111,0,0,.525],80:[0,.61111,0,0,.525],81:[.13889,.61111,0,0,.525],82:[0,.61111,0,0,.525],83:[0,.61111,0,0,.525],84:[0,.61111,0,0,.525],85:[0,.61111,0,0,.525],86:[0,.61111,0,0,.525],87:[0,.61111,0,0,.525],88:[0,.61111,0,0,.525],89:[0,.61111,0,0,.525],90:[0,.61111,0,0,.525],91:[.08333,.69444,0,0,.525],92:[.08333,.69444,0,0,.525],93:[.08333,.69444,0,0,.525],94:[0,.61111,0,0,.525],95:[.09514,0,0,0,.525],96:[0,.61111,0,0,.525],97:[0,.43056,0,0,.525],98:[0,.61111,0,0,.525],99:[0,.43056,0,0,.525],100:[0,.61111,0,0,.525],101:[0,.43056,0,0,.525],102:[0,.61111,0,0,.525],103:[.22222,.43056,0,0,.525],104:[0,.61111,0,0,.525],105:[0,.61111,0,0,.525],106:[.22222,.61111,0,0,.525],107:[0,.61111,0,0,.525],108:[0,.61111,0,0,.525],109:[0,.43056,0,0,.525],110:[0,.43056,0,0,.525],111:[0,.43056,0,0,.525],112:[.22222,.43056,0,0,.525],113:[.22222,.43056,0,0,.525],114:[0,.43056,0,0,.525],115:[0,.43056,0,0,.525],116:[0,.55358,0,0,.525],117:[0,.43056,0,0,.525],118:[0,.43056,0,0,.525],119:[0,.43056,0,0,.525],120:[0,.43056,0,0,.525],121:[.22222,.43056,0,0,.525],122:[0,.43056,0,0,.525],123:[.08333,.69444,0,0,.525],124:[.08333,.69444,0,0,.525],125:[.08333,.69444,0,0,.525],126:[0,.61111,0,0,.525],127:[0,.61111,0,0,.525],160:[0,0,0,0,.525],176:[0,.61111,0,0,.525],184:[.19445,0,0,0,.525],305:[0,.43056,0,0,.525],567:[.22222,.43056,0,0,.525],711:[0,.56597,0,0,.525],713:[0,.56555,0,0,.525],714:[0,.61111,0,0,.525],715:[0,.61111,0,0,.525],728:[0,.61111,0,0,.525],730:[0,.61111,0,0,.525],770:[0,.61111,0,0,.525],771:[0,.61111,0,0,.525],776:[0,.61111,0,0,.525],915:[0,.61111,0,0,.525],916:[0,.61111,0,0,.525],920:[0,.61111,0,0,.525],923:[0,.61111,0,0,.525],926:[0,.61111,0,0,.525],928:[0,.61111,0,0,.525],931:[0,.61111,0,0,.525],933:[0,.61111,0,0,.525],934:[0,.61111,0,0,.525],936:[0,.61111,0,0,.525],937:[0,.61111,0,0,.525],8216:[0,.61111,0,0,.525],8217:[0,.61111,0,0,.525],8242:[0,.61111,0,0,.525],9251:[.11111,.21944,0,0,.525]}},Ei={slant:[.25,.25,.25],space:[0,0,0],stretch:[0,0,0],shrink:[0,0,0],xHeight:[.431,.431,.431],quad:[1,1.171,1.472],extraSpace:[0,0,0],num1:[.677,.732,.925],num2:[.394,.384,.387],num3:[.444,.471,.504],denom1:[.686,.752,1.025],denom2:[.345,.344,.532],sup1:[.413,.503,.504],sup2:[.363,.431,.404],sup3:[.289,.286,.294],sub1:[.15,.143,.2],sub2:[.247,.286,.4],supDrop:[.386,.353,.494],subDrop:[.05,.071,.1],delim1:[2.39,1.7,1.98],delim2:[1.01,1.157,1.42],axisHeight:[.25,.25,.25],defaultRuleThickness:[.04,.049,.049],bigOpSpacing1:[.111,.111,.111],bigOpSpacing2:[.166,.166,.166],bigOpSpacing3:[.2,.2,.2],bigOpSpacing4:[.6,.611,.611],bigOpSpacing5:[.1,.143,.143],sqrtRuleThickness:[.04,.04,.04],ptPerEm:[10,10,10],doubleRuleSep:[.2,.2,.2],arrayRuleWidth:[.04,.04,.04],fboxsep:[.3,.3,.3],fboxrule:[.04,.04,.04]},ki={"\xc5":"A","\xd0":"D","\xde":"o","\xe5":"a","\xf0":"d","\xfe":"o","\u0410":"A","\u0411":"B","\u0412":"B","\u0413":"F","\u0414":"A","\u0415":"E","\u0416":"K","\u0417":"3","\u0418":"N","\u0419":"N","\u041a":"K","\u041b":"N","\u041c":"M","\u041d":"H","\u041e":"O","\u041f":"N","\u0420":"P","\u0421":"C","\u0422":"T","\u0423":"y","\u0424":"O","\u0425":"X","\u0426":"U","\u0427":"h","\u0428":"W","\u0429":"W","\u042a":"B","\u042b":"X","\u042c":"B","\u042d":"3","\u042e":"X","\u042f":"R","\u0430":"a","\u0431":"b","\u0432":"a","\u0433":"r","\u0434":"y","\u0435":"e","\u0436":"m","\u0437":"e","\u0438":"n","\u0439":"n","\u043a":"n","\u043b":"n","\u043c":"m","\u043d":"n","\u043e":"o","\u043f":"n","\u0440":"p","\u0441":"c","\u0442":"o","\u0443":"y","\u0444":"b","\u0445":"x","\u0446":"n","\u0447":"n","\u0448":"w","\u0449":"w","\u044a":"a","\u044b":"m","\u044c":"a","\u044d":"e","\u044e":"m","\u044f":"r"};function qi(e,t,n){if(!xi[t])throw new Error("Font metrics not found for font: "+t+".");var r=e.charCodeAt(0),o=xi[t][r];if(!o&&e[0]in ki&&(r=ki[e[0]].charCodeAt(0),o=xi[t][r]),o||"text"!==n||Ai(r)&&(o=xi[t][77]),o)return{depth:o[0],height:o[1],italic:o[2],skew:o[3],width:o[4]}}var Ti={};var _i=[[1,1,1],[2,1,1],[3,1,1],[4,2,1],[5,2,1],[6,3,1],[7,4,2],[8,6,3],[9,7,6],[10,8,7],[11,10,9]],Ri=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],Ci=function(e,t){return t.size<2?e:_i[e-1][t.size-1]};class Ni{constructor(e){this.style=void 0,this.color=void 0,this.size=void 0,this.textSize=void 0,this.phantom=void 0,this.font=void 0,this.fontFamily=void 0,this.fontWeight=void 0,this.fontShape=void 0,this.sizeMultiplier=void 0,this.maxSize=void 0,this.minRuleThickness=void 0,this._fontMetrics=void 0,this.style=e.style,this.color=e.color,this.size=e.size||Ni.BASESIZE,this.textSize=e.textSize||this.size,this.phantom=!!e.phantom,this.font=e.font||"",this.fontFamily=e.fontFamily||"",this.fontWeight=e.fontWeight||"",this.fontShape=e.fontShape||"",this.sizeMultiplier=Ri[this.size-1],this.maxSize=e.maxSize,this.minRuleThickness=e.minRuleThickness,this._fontMetrics=void 0}extend(e){var t={style:this.style,size:this.size,textSize:this.textSize,color:this.color,phantom:this.phantom,font:this.font,fontFamily:this.fontFamily,fontWeight:this.fontWeight,fontShape:this.fontShape,maxSize:this.maxSize,minRuleThickness:this.minRuleThickness};for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return new Ni(t)}havingStyle(e){return this.style===e?this:this.extend({style:e,size:Ci(this.textSize,e)})}havingCrampedStyle(){return this.havingStyle(this.style.cramp())}havingSize(e){return this.size===e&&this.textSize===e?this:this.extend({style:this.style.text(),size:e,textSize:e,sizeMultiplier:Ri[e-1]})}havingBaseStyle(e){e=e||this.style.text();var t=Ci(Ni.BASESIZE,e);return this.size===t&&this.textSize===Ni.BASESIZE&&this.style===e?this:this.extend({style:e,size:t})}havingBaseSizing(){var e;switch(this.style.id){case 4:case 5:e=3;break;case 6:case 7:e=1;break;default:e=6}return this.extend({style:this.style.text(),size:e})}withColor(e){return this.extend({color:e})}withPhantom(){return this.extend({phantom:!0})}withFont(e){return this.extend({font:e})}withTextFontFamily(e){return this.extend({fontFamily:e,font:""})}withTextFontWeight(e){return this.extend({fontWeight:e,font:""})}withTextFontShape(e){return this.extend({fontShape:e,font:""})}sizingClasses(e){return e.size!==this.size?["sizing","reset-size"+e.size,"size"+this.size]:[]}baseSizingClasses(){return this.size!==Ni.BASESIZE?["sizing","reset-size"+this.size,"size"+Ni.BASESIZE]:[]}fontMetrics(){return this._fontMetrics||(this._fontMetrics=function(e){var t;if(!Ti[t=e>=5?0:e>=3?1:2]){var n=Ti[t]={cssEmPerMu:Ei.quad[t]/18};for(var r in Ei)Ei.hasOwnProperty(r)&&(n[r]=Ei[r][t])}return Ti[t]}(this.size)),this._fontMetrics}getColor(){return this.phantom?"transparent":this.color}}Ni.BASESIZE=6;var Ii={pt:1,mm:7227/2540,cm:7227/254,in:72.27,bp:1.00375,pc:12,dd:1238/1157,cc:14856/1157,nd:685/642,nc:1370/107,sp:1/65536,px:1.00375},Wi={ex:!0,em:!0,mu:!0},Pi=function(e){return"string"!==typeof e&&(e=e.unit),e in Ii||e in Wi||"ex"===e},Li=function(e,t){var n;if(e.unit in Ii)n=Ii[e.unit]/t.fontMetrics().ptPerEm/t.sizeMultiplier;else if("mu"===e.unit)n=t.fontMetrics().cssEmPerMu;else{var r;if(r=t.style.isTight()?t.havingStyle(t.style.text()):t,"ex"===e.unit)n=r.fontMetrics().xHeight;else{if("em"!==e.unit)throw new ni("Invalid unit: '"+e.unit+"'");n=r.fontMetrics().quad}r!==t&&(n*=r.sizeMultiplier/t.sizeMultiplier)}return Math.min(e.number*n,t.maxSize)},ji=function(e){return+e.toFixed(4)+"em"},Di=function(e){return e.filter((e=>e)).join(" ")},Bi=function(e,t,n){if(this.classes=e||[],this.attributes={},this.height=0,this.depth=0,this.maxFontSize=0,this.style=n||{},t){t.style.isTight()&&this.classes.push("mtight");var r=t.getColor();r&&(this.style.color=r)}},Fi=function(e){var t=document.createElement(e);for(var n in t.className=Di(this.classes),this.style)this.style.hasOwnProperty(n)&&(t.style[n]=this.style[n]);for(var r in this.attributes)this.attributes.hasOwnProperty(r)&&t.setAttribute(r,this.attributes[r]);for(var o=0;o"};class Ui{constructor(e,t,n,r){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.width=void 0,this.maxFontSize=void 0,this.style=void 0,Bi.call(this,e,n,r),this.children=t||[]}setAttribute(e,t){this.attributes[e]=t}hasClass(e){return si.contains(this.classes,e)}toNode(){return Fi.call(this,"span")}toMarkup(){return Vi.call(this,"span")}}class Hi{constructor(e,t,n,r){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,Bi.call(this,t,r),this.children=n||[],this.setAttribute("href",e)}setAttribute(e,t){this.attributes[e]=t}hasClass(e){return si.contains(this.classes,e)}toNode(){return Fi.call(this,"a")}toMarkup(){return Vi.call(this,"a")}}class Xi{constructor(e,t,n){this.src=void 0,this.alt=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.alt=t,this.src=e,this.classes=["mord"],this.style=n}hasClass(e){return si.contains(this.classes,e)}toNode(){var e=document.createElement("img");for(var t in e.src=this.src,e.alt=this.alt,e.className="mord",this.style)this.style.hasOwnProperty(t)&&(e.style[t]=this.style[t]);return e}toMarkup(){var e=""+this.alt+"=o[0]&&e<=o[1])return n.name}return null}(this.text.charCodeAt(0));l&&this.classes.push(l+"_fallback"),/[\xee\xef\xed\xec]/.test(this.text)&&(this.text=Gi[this.text])}hasClass(e){return si.contains(this.classes,e)}toNode(){var e=document.createTextNode(this.text),t=null;for(var n in this.italic>0&&((t=document.createElement("span")).style.marginRight=ji(this.italic)),this.classes.length>0&&((t=t||document.createElement("span")).className=Di(this.classes)),this.style)this.style.hasOwnProperty(n)&&((t=t||document.createElement("span")).style[n]=this.style[n]);return t?(t.appendChild(e),t):e}toMarkup(){var e=!1,t="0&&(n+="margin-right:"+this.italic+"em;"),this.style)this.style.hasOwnProperty(r)&&(n+=si.hyphenate(r)+":"+this.style[r]+";");n&&(e=!0,t+=' style="'+si.escape(n)+'"');var o=si.escape(this.text);return e?(t+=">",t+=o,t+=""):o}}class Ki{constructor(e,t){this.children=void 0,this.attributes=void 0,this.children=e||[],this.attributes=t||{}}toNode(){var e=document.createElementNS("http://www.w3.org/2000/svg","svg");for(var t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&e.setAttribute(t,this.attributes[t]);for(var n=0;n":""}}class Zi{constructor(e){this.attributes=void 0,this.attributes=e||{}}toNode(){var e=document.createElementNS("http://www.w3.org/2000/svg","line");for(var t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&e.setAttribute(t,this.attributes[t]);return e}toMarkup(){var e="","\\gt",!0),na(ra,ia,ha,"\u2208","\\in",!0),na(ra,ia,ha,"\ue020","\\@not"),na(ra,ia,ha,"\u2282","\\subset",!0),na(ra,ia,ha,"\u2283","\\supset",!0),na(ra,ia,ha,"\u2286","\\subseteq",!0),na(ra,ia,ha,"\u2287","\\supseteq",!0),na(ra,aa,ha,"\u2288","\\nsubseteq",!0),na(ra,aa,ha,"\u2289","\\nsupseteq",!0),na(ra,ia,ha,"\u22a8","\\models"),na(ra,ia,ha,"\u2190","\\leftarrow",!0),na(ra,ia,ha,"\u2264","\\le"),na(ra,ia,ha,"\u2264","\\leq",!0),na(ra,ia,ha,"<","\\lt",!0),na(ra,ia,ha,"\u2192","\\rightarrow",!0),na(ra,ia,ha,"\u2192","\\to"),na(ra,aa,ha,"\u2271","\\ngeq",!0),na(ra,aa,ha,"\u2270","\\nleq",!0),na(ra,ia,ma,"\xa0","\\ "),na(ra,ia,ma,"\xa0","\\space"),na(ra,ia,ma,"\xa0","\\nobreakspace"),na(oa,ia,ma,"\xa0","\\ "),na(oa,ia,ma,"\xa0"," "),na(oa,ia,ma,"\xa0","\\space"),na(oa,ia,ma,"\xa0","\\nobreakspace"),na(ra,ia,ma,null,"\\nobreak"),na(ra,ia,ma,null,"\\allowbreak"),na(ra,ia,fa,",",","),na(ra,ia,fa,";",";"),na(ra,aa,la,"\u22bc","\\barwedge",!0),na(ra,aa,la,"\u22bb","\\veebar",!0),na(ra,ia,la,"\u2299","\\odot",!0),na(ra,ia,la,"\u2295","\\oplus",!0),na(ra,ia,la,"\u2297","\\otimes",!0),na(ra,ia,ga,"\u2202","\\partial",!0),na(ra,ia,la,"\u2298","\\oslash",!0),na(ra,aa,la,"\u229a","\\circledcirc",!0),na(ra,aa,la,"\u22a1","\\boxdot",!0),na(ra,ia,la,"\u25b3","\\bigtriangleup"),na(ra,ia,la,"\u25bd","\\bigtriangledown"),na(ra,ia,la,"\u2020","\\dagger"),na(ra,ia,la,"\u22c4","\\diamond"),na(ra,ia,la,"\u22c6","\\star"),na(ra,ia,la,"\u25c3","\\triangleleft"),na(ra,ia,la,"\u25b9","\\triangleright"),na(ra,ia,ba,"{","\\{"),na(oa,ia,ga,"{","\\{"),na(oa,ia,ga,"{","\\textbraceleft"),na(ra,ia,ca,"}","\\}"),na(oa,ia,ga,"}","\\}"),na(oa,ia,ga,"}","\\textbraceright"),na(ra,ia,ba,"{","\\lbrace"),na(ra,ia,ca,"}","\\rbrace"),na(ra,ia,ba,"[","\\lbrack",!0),na(oa,ia,ga,"[","\\lbrack",!0),na(ra,ia,ca,"]","\\rbrack",!0),na(oa,ia,ga,"]","\\rbrack",!0),na(ra,ia,ba,"(","\\lparen",!0),na(ra,ia,ca,")","\\rparen",!0),na(oa,ia,ga,"<","\\textless",!0),na(oa,ia,ga,">","\\textgreater",!0),na(ra,ia,ba,"\u230a","\\lfloor",!0),na(ra,ia,ca,"\u230b","\\rfloor",!0),na(ra,ia,ba,"\u2308","\\lceil",!0),na(ra,ia,ca,"\u2309","\\rceil",!0),na(ra,ia,ga,"\\","\\backslash"),na(ra,ia,ga,"\u2223","|"),na(ra,ia,ga,"\u2223","\\vert"),na(oa,ia,ga,"|","\\textbar",!0),na(ra,ia,ga,"\u2225","\\|"),na(ra,ia,ga,"\u2225","\\Vert"),na(oa,ia,ga,"\u2225","\\textbardbl"),na(oa,ia,ga,"~","\\textasciitilde"),na(oa,ia,ga,"\\","\\textbackslash"),na(oa,ia,ga,"^","\\textasciicircum"),na(ra,ia,ha,"\u2191","\\uparrow",!0),na(ra,ia,ha,"\u21d1","\\Uparrow",!0),na(ra,ia,ha,"\u2193","\\downarrow",!0),na(ra,ia,ha,"\u21d3","\\Downarrow",!0),na(ra,ia,ha,"\u2195","\\updownarrow",!0),na(ra,ia,ha,"\u21d5","\\Updownarrow",!0),na(ra,ia,da,"\u2210","\\coprod"),na(ra,ia,da,"\u22c1","\\bigvee"),na(ra,ia,da,"\u22c0","\\bigwedge"),na(ra,ia,da,"\u2a04","\\biguplus"),na(ra,ia,da,"\u22c2","\\bigcap"),na(ra,ia,da,"\u22c3","\\bigcup"),na(ra,ia,da,"\u222b","\\int"),na(ra,ia,da,"\u222b","\\intop"),na(ra,ia,da,"\u222c","\\iint"),na(ra,ia,da,"\u222d","\\iiint"),na(ra,ia,da,"\u220f","\\prod"),na(ra,ia,da,"\u2211","\\sum"),na(ra,ia,da,"\u2a02","\\bigotimes"),na(ra,ia,da,"\u2a01","\\bigoplus"),na(ra,ia,da,"\u2a00","\\bigodot"),na(ra,ia,da,"\u222e","\\oint"),na(ra,ia,da,"\u222f","\\oiint"),na(ra,ia,da,"\u2230","\\oiiint"),na(ra,ia,da,"\u2a06","\\bigsqcup"),na(ra,ia,da,"\u222b","\\smallint"),na(oa,ia,ua,"\u2026","\\textellipsis"),na(ra,ia,ua,"\u2026","\\mathellipsis"),na(oa,ia,ua,"\u2026","\\ldots",!0),na(ra,ia,ua,"\u2026","\\ldots",!0),na(ra,ia,ua,"\u22ef","\\@cdots",!0),na(ra,ia,ua,"\u22f1","\\ddots",!0),na(ra,ia,ga,"\u22ee","\\varvdots"),na(ra,ia,sa,"\u02ca","\\acute"),na(ra,ia,sa,"\u02cb","\\grave"),na(ra,ia,sa,"\xa8","\\ddot"),na(ra,ia,sa,"~","\\tilde"),na(ra,ia,sa,"\u02c9","\\bar"),na(ra,ia,sa,"\u02d8","\\breve"),na(ra,ia,sa,"\u02c7","\\check"),na(ra,ia,sa,"^","\\hat"),na(ra,ia,sa,"\u20d7","\\vec"),na(ra,ia,sa,"\u02d9","\\dot"),na(ra,ia,sa,"\u02da","\\mathring"),na(ra,ia,pa,"\ue131","\\@imath"),na(ra,ia,pa,"\ue237","\\@jmath"),na(ra,ia,ga,"\u0131","\u0131"),na(ra,ia,ga,"\u0237","\u0237"),na(oa,ia,ga,"\u0131","\\i",!0),na(oa,ia,ga,"\u0237","\\j",!0),na(oa,ia,ga,"\xdf","\\ss",!0),na(oa,ia,ga,"\xe6","\\ae",!0),na(oa,ia,ga,"\u0153","\\oe",!0),na(oa,ia,ga,"\xf8","\\o",!0),na(oa,ia,ga,"\xc6","\\AE",!0),na(oa,ia,ga,"\u0152","\\OE",!0),na(oa,ia,ga,"\xd8","\\O",!0),na(oa,ia,sa,"\u02ca","\\'"),na(oa,ia,sa,"\u02cb","\\`"),na(oa,ia,sa,"\u02c6","\\^"),na(oa,ia,sa,"\u02dc","\\~"),na(oa,ia,sa,"\u02c9","\\="),na(oa,ia,sa,"\u02d8","\\u"),na(oa,ia,sa,"\u02d9","\\."),na(oa,ia,sa,"\xb8","\\c"),na(oa,ia,sa,"\u02da","\\r"),na(oa,ia,sa,"\u02c7","\\v"),na(oa,ia,sa,"\xa8",'\\"'),na(oa,ia,sa,"\u02dd","\\H"),na(oa,ia,sa,"\u25ef","\\textcircled");var Oa={"--":!0,"---":!0,"``":!0,"''":!0};na(oa,ia,ga,"\u2013","--",!0),na(oa,ia,ga,"\u2013","\\textendash"),na(oa,ia,ga,"\u2014","---",!0),na(oa,ia,ga,"\u2014","\\textemdash"),na(oa,ia,ga,"\u2018","`",!0),na(oa,ia,ga,"\u2018","\\textquoteleft"),na(oa,ia,ga,"\u2019","'",!0),na(oa,ia,ga,"\u2019","\\textquoteright"),na(oa,ia,ga,"\u201c","``",!0),na(oa,ia,ga,"\u201c","\\textquotedblleft"),na(oa,ia,ga,"\u201d","''",!0),na(oa,ia,ga,"\u201d","\\textquotedblright"),na(ra,ia,ga,"\xb0","\\degree",!0),na(oa,ia,ga,"\xb0","\\degree"),na(oa,ia,ga,"\xb0","\\textdegree",!0),na(ra,ia,ga,"\xa3","\\pounds"),na(ra,ia,ga,"\xa3","\\mathsterling",!0),na(oa,ia,ga,"\xa3","\\pounds"),na(oa,ia,ga,"\xa3","\\textsterling",!0),na(ra,aa,ga,"\u2720","\\maltese"),na(oa,aa,ga,"\u2720","\\maltese");for(var ya='0123456789/@."',Ma=0;Ma<14;Ma++){var za=ya.charAt(Ma);na(ra,ia,ga,za,za)}for(var Aa='0123456789!@*()-=+";:?/.,',va=0;va<25;va++){var wa=Aa.charAt(va);na(oa,ia,ga,wa,wa)}for(var Sa="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",xa=0;xa<52;xa++){var Ea=Sa.charAt(xa);na(ra,ia,pa,Ea,Ea),na(oa,ia,ga,Ea,Ea)}na(ra,aa,ga,"C","\u2102"),na(oa,aa,ga,"C","\u2102"),na(ra,aa,ga,"H","\u210d"),na(oa,aa,ga,"H","\u210d"),na(ra,aa,ga,"N","\u2115"),na(oa,aa,ga,"N","\u2115"),na(ra,aa,ga,"P","\u2119"),na(oa,aa,ga,"P","\u2119"),na(ra,aa,ga,"Q","\u211a"),na(oa,aa,ga,"Q","\u211a"),na(ra,aa,ga,"R","\u211d"),na(oa,aa,ga,"R","\u211d"),na(ra,aa,ga,"Z","\u2124"),na(oa,aa,ga,"Z","\u2124"),na(ra,ia,pa,"h","\u210e"),na(oa,ia,pa,"h","\u210e");for(var ka="",qa=0;qa<52;qa++){var Ta=Sa.charAt(qa);na(ra,ia,pa,Ta,ka=String.fromCharCode(55349,56320+qa)),na(oa,ia,ga,Ta,ka),na(ra,ia,pa,Ta,ka=String.fromCharCode(55349,56372+qa)),na(oa,ia,ga,Ta,ka),na(ra,ia,pa,Ta,ka=String.fromCharCode(55349,56424+qa)),na(oa,ia,ga,Ta,ka),na(ra,ia,pa,Ta,ka=String.fromCharCode(55349,56580+qa)),na(oa,ia,ga,Ta,ka),na(ra,ia,pa,Ta,ka=String.fromCharCode(55349,56684+qa)),na(oa,ia,ga,Ta,ka),na(ra,ia,pa,Ta,ka=String.fromCharCode(55349,56736+qa)),na(oa,ia,ga,Ta,ka),na(ra,ia,pa,Ta,ka=String.fromCharCode(55349,56788+qa)),na(oa,ia,ga,Ta,ka),na(ra,ia,pa,Ta,ka=String.fromCharCode(55349,56840+qa)),na(oa,ia,ga,Ta,ka),na(ra,ia,pa,Ta,ka=String.fromCharCode(55349,56944+qa)),na(oa,ia,ga,Ta,ka),qa<26&&(na(ra,ia,pa,Ta,ka=String.fromCharCode(55349,56632+qa)),na(oa,ia,ga,Ta,ka),na(ra,ia,pa,Ta,ka=String.fromCharCode(55349,56476+qa)),na(oa,ia,ga,Ta,ka))}na(ra,ia,pa,"k",ka=String.fromCharCode(55349,56668)),na(oa,ia,ga,"k",ka);for(var _a=0;_a<10;_a++){var Ra=_a.toString();na(ra,ia,pa,Ra,ka=String.fromCharCode(55349,57294+_a)),na(oa,ia,ga,Ra,ka),na(ra,ia,pa,Ra,ka=String.fromCharCode(55349,57314+_a)),na(oa,ia,ga,Ra,ka),na(ra,ia,pa,Ra,ka=String.fromCharCode(55349,57324+_a)),na(oa,ia,ga,Ra,ka),na(ra,ia,pa,Ra,ka=String.fromCharCode(55349,57334+_a)),na(oa,ia,ga,Ra,ka)}for(var Ca="\xd0\xde\xfe",Na=0;Na<3;Na++){var Ia=Ca.charAt(Na);na(ra,ia,pa,Ia,Ia),na(oa,ia,ga,Ia,Ia)}var Wa=[["mathbf","textbf","Main-Bold"],["mathbf","textbf","Main-Bold"],["mathnormal","textit","Math-Italic"],["mathnormal","textit","Math-Italic"],["boldsymbol","boldsymbol","Main-BoldItalic"],["boldsymbol","boldsymbol","Main-BoldItalic"],["mathscr","textscr","Script-Regular"],["","",""],["","",""],["","",""],["mathfrak","textfrak","Fraktur-Regular"],["mathfrak","textfrak","Fraktur-Regular"],["mathbb","textbb","AMS-Regular"],["mathbb","textbb","AMS-Regular"],["mathboldfrak","textboldfrak","Fraktur-Regular"],["mathboldfrak","textboldfrak","Fraktur-Regular"],["mathsf","textsf","SansSerif-Regular"],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathitsf","textitsf","SansSerif-Italic"],["mathitsf","textitsf","SansSerif-Italic"],["","",""],["","",""],["mathtt","texttt","Typewriter-Regular"],["mathtt","texttt","Typewriter-Regular"]],Pa=[["mathbf","textbf","Main-Bold"],["","",""],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathtt","texttt","Typewriter-Regular"]],La=function(e,t,n){return ta[n][e]&&ta[n][e].replace&&(e=ta[n][e].replace),{value:e,metrics:qi(e,t,n)}},ja=function(e,t,n,r,o){var i,a=La(e,t,n),s=a.metrics;if(e=a.value,s){var l=s.italic;("text"===n||r&&"mathit"===r.font)&&(l=0),i=new $i(e,s.height,s.depth,l,s.skew,s.width,o)}else"undefined"!==typeof console&&console.warn("No character metrics for '"+e+"' in style '"+t+"' and mode '"+n+"'"),i=new $i(e,0,0,0,0,0,o);if(r){i.maxFontSize=r.sizeMultiplier,r.style.isTight()&&i.classes.push("mtight");var c=r.getColor();c&&(i.style.color=c)}return i},Da=(e,t)=>{if(Di(e.classes)!==Di(t.classes)||e.skew!==t.skew||e.maxFontSize!==t.maxFontSize)return!1;if(1===e.classes.length){var n=e.classes[0];if("mbin"===n||"mord"===n)return!1}for(var r in e.style)if(e.style.hasOwnProperty(r)&&e.style[r]!==t.style[r])return!1;for(var o in t.style)if(t.style.hasOwnProperty(o)&&e.style[o]!==t.style[o])return!1;return!0},Ba=function(e){for(var t=0,n=0,r=0,o=0;ot&&(t=i.height),i.depth>n&&(n=i.depth),i.maxFontSize>r&&(r=i.maxFontSize)}e.height=t,e.depth=n,e.maxFontSize=r},Fa=function(e,t,n,r){var o=new Ui(e,t,n,r);return Ba(o),o},Va=(e,t,n,r)=>new Ui(e,t,n,r),Ua=function(e){var t=new Si(e);return Ba(t),t},Ha=function(e,t,n){var r="";switch(e){case"amsrm":r="AMS";break;case"textrm":r="Main";break;case"textsf":r="SansSerif";break;case"texttt":r="Typewriter";break;default:r=e}return r+"-"+("textbf"===t&&"textit"===n?"BoldItalic":"textbf"===t?"Bold":"textit"===t?"Italic":"Regular")},Xa={mathbf:{variant:"bold",fontName:"Main-Bold"},mathrm:{variant:"normal",fontName:"Main-Regular"},textit:{variant:"italic",fontName:"Main-Italic"},mathit:{variant:"italic",fontName:"Main-Italic"},mathnormal:{variant:"italic",fontName:"Math-Italic"},mathbb:{variant:"double-struck",fontName:"AMS-Regular"},mathcal:{variant:"script",fontName:"Caligraphic-Regular"},mathfrak:{variant:"fraktur",fontName:"Fraktur-Regular"},mathscr:{variant:"script",fontName:"Script-Regular"},mathsf:{variant:"sans-serif",fontName:"SansSerif-Regular"},mathtt:{variant:"monospace",fontName:"Typewriter-Regular"}},Ga={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},$a={fontMap:Xa,makeSymbol:ja,mathsym:function(e,t,n,r){return void 0===r&&(r=[]),"boldsymbol"===n.font&&La(e,"Main-Bold",t).metrics?ja(e,"Main-Bold",t,n,r.concat(["mathbf"])):"\\"===e||"main"===ta[t][e].font?ja(e,"Main-Regular",t,n,r):ja(e,"AMS-Regular",t,n,r.concat(["amsrm"]))},makeSpan:Fa,makeSvgSpan:Va,makeLineSpan:function(e,t,n){var r=Fa([e],[],t);return r.height=Math.max(n||t.fontMetrics().defaultRuleThickness,t.minRuleThickness),r.style.borderBottomWidth=ji(r.height),r.maxFontSize=1,r},makeAnchor:function(e,t,n,r){var o=new Hi(e,t,n,r);return Ba(o),o},makeFragment:Ua,wrapFragment:function(e,t){return e instanceof Si?Fa([],[e],t):e},makeVList:function(e,t){for(var{children:n,depth:r}=function(e){if("individualShift"===e.positionType){for(var t=e.children,n=[t[0]],r=-t[0].shift-t[0].elem.depth,o=r,i=1;i0)return ja(o,l,r,t,i.concat(c));if(s){var u,p;if("boldsymbol"===s){var d=function(e,t,n,r,o){return"textord"!==o&&La(e,"Math-BoldItalic",t).metrics?{fontName:"Math-BoldItalic",fontClass:"boldsymbol"}:{fontName:"Main-Bold",fontClass:"mathbf"}}(o,r,0,0,n);u=d.fontName,p=[d.fontClass]}else a?(u=Xa[s].fontName,p=[s]):(u=Ha(s,t.fontWeight,t.fontShape),p=[s,t.fontWeight,t.fontShape]);if(La(o,u,r).metrics)return ja(o,u,r,t,i.concat(p));if(Oa.hasOwnProperty(o)&&"Typewriter"===u.slice(0,10)){for(var b=[],f=0;f{var n=Fa(["mspace"],[],t),r=Li(e,t);return n.style.marginRight=ji(r),n},staticSvg:function(e,t){var[n,r,o]=Ga[e],i=new Yi(n),a=new Ki([i],{width:ji(r),height:ji(o),style:"width:"+ji(r),viewBox:"0 0 "+1e3*r+" "+1e3*o,preserveAspectRatio:"xMinYMin"}),s=Va(["overlay"],[a],t);return s.height=o,s.style.height=ji(o),s.style.width=ji(r),s},svgData:Ga,tryCombineChars:e=>{for(var t=0;t{var n=t.classes[0],r=e.classes[0];"mbin"===n&&si.contains(cs,r)?t.classes[0]="mord":"mbin"===r&&si.contains(ls,n)&&(e.classes[0]="mord")}),{node:u},p,d),bs(o,((e,t)=>{var n=ms(t),r=ms(e),o=n&&r?e.hasClass("mtight")?Qa[n][r]:Ja[n][r]:null;if(o)return $a.makeGlue(o,l)}),{node:u},p,d),o},bs=function e(t,n,r,o,i){o&&t.push(o);for(var a=0;an=>{t.splice(e+1,0,n),a++})(a)}}o&&t.pop()},fs=function(e){return e instanceof Si||e instanceof Hi||e instanceof Ui&&e.hasClass("enclosing")?e:null},hs=function e(t,n){var r=fs(t);if(r){var o=r.children;if(o.length){if("right"===n)return e(o[o.length-1],"right");if("left"===n)return e(o[0],"left")}}return t},ms=function(e,t){return e?(t&&(e=hs(e,t)),ps[e.classes[0]]||null):null},gs=function(e,t){var n=["nulldelimiter"].concat(e.baseSizingClasses());return ss(t.concat(n))},Os=function(e,t,n){if(!e)return ss();if(ts[e.type]){var r=ts[e.type](e,t);if(n&&t.size!==n.size){r=ss(t.sizingClasses(n),[r],t);var o=t.sizeMultiplier/n.sizeMultiplier;r.height*=o,r.depth*=o}return r}throw new ni("Got group of unknown type: '"+e.type+"'")};function ys(e,t){var n=ss(["base"],e,t),r=ss(["strut"]);return r.style.height=ji(n.height+n.depth),n.depth&&(r.style.verticalAlign=ji(-n.depth)),n.children.unshift(r),n}function Ms(e,t){var n=null;1===e.length&&"tag"===e[0].type&&(n=e[0].tag,e=e[0].body);var r,o=ds(e,t,"root");2===o.length&&o[1].hasClass("tag")&&(r=o.pop());for(var i,a=[],s=[],l=0;l0&&(a.push(ys(s,t)),s=[]),a.push(o[l]));s.length>0&&a.push(ys(s,t)),n?((i=ys(ds(n,t,!0))).classes=["tag"],a.push(i)):r&&a.push(r);var u=ss(["katex-html"],a);if(u.setAttribute("aria-hidden","true"),i){var p=i.children[0];p.style.height=ji(u.height+u.depth),u.depth&&(p.style.verticalAlign=ji(-u.depth))}return u}function zs(e){return new Si(e)}class As{constructor(e,t,n){this.type=void 0,this.attributes=void 0,this.children=void 0,this.classes=void 0,this.type=e,this.attributes={},this.children=t||[],this.classes=n||[]}setAttribute(e,t){this.attributes[e]=t}getAttribute(e){return this.attributes[e]}toNode(){var e=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(var t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&e.setAttribute(t,this.attributes[t]);this.classes.length>0&&(e.className=Di(this.classes));for(var n=0;n0&&(e+=' class ="'+si.escape(Di(this.classes))+'"'),e+=">";for(var n=0;n"}toText(){return this.children.map((e=>e.toText())).join("")}}class vs{constructor(e){this.text=void 0,this.text=e}toNode(){return document.createTextNode(this.text)}toMarkup(){return si.escape(this.toText())}toText(){return this.text}}var ws={MathNode:As,TextNode:vs,SpaceNode:class{constructor(e){this.width=void 0,this.character=void 0,this.width=e,this.character=e>=.05555&&e<=.05556?"\u200a":e>=.1666&&e<=.1667?"\u2009":e>=.2222&&e<=.2223?"\u2005":e>=.2777&&e<=.2778?"\u2005\u200a":e>=-.05556&&e<=-.05555?"\u200a\u2063":e>=-.1667&&e<=-.1666?"\u2009\u2063":e>=-.2223&&e<=-.2222?"\u205f\u2063":e>=-.2778&&e<=-.2777?"\u2005\u2063":null}toNode(){if(this.character)return document.createTextNode(this.character);var e=document.createElementNS("http://www.w3.org/1998/Math/MathML","mspace");return e.setAttribute("width",ji(this.width)),e}toMarkup(){return this.character?""+this.character+"":''}toText(){return this.character?this.character:" "}},newDocumentFragment:zs},Ss=function(e,t,n){return!ta[t][e]||!ta[t][e].replace||55349===e.charCodeAt(0)||Oa.hasOwnProperty(e)&&n&&(n.fontFamily&&"tt"===n.fontFamily.slice(4,6)||n.font&&"tt"===n.font.slice(4,6))||(e=ta[t][e].replace),new ws.TextNode(e)},xs=function(e){return 1===e.length?e[0]:new ws.MathNode("mrow",e)},Es=function(e,t){if("texttt"===t.fontFamily)return"monospace";if("textsf"===t.fontFamily)return"textit"===t.fontShape&&"textbf"===t.fontWeight?"sans-serif-bold-italic":"textit"===t.fontShape?"sans-serif-italic":"textbf"===t.fontWeight?"bold-sans-serif":"sans-serif";if("textit"===t.fontShape&&"textbf"===t.fontWeight)return"bold-italic";if("textit"===t.fontShape)return"italic";if("textbf"===t.fontWeight)return"bold";var n=t.font;if(!n||"mathnormal"===n)return null;var r=e.mode;if("mathit"===n)return"italic";if("boldsymbol"===n)return"textord"===e.type?"bold":"bold-italic";if("mathbf"===n)return"bold";if("mathbb"===n)return"double-struck";if("mathfrak"===n)return"fraktur";if("mathscr"===n||"mathcal"===n)return"script";if("mathsf"===n)return"sans-serif";if("mathtt"===n)return"monospace";var o=e.text;return si.contains(["\\imath","\\jmath"],o)?null:(ta[r][o]&&ta[r][o].replace&&(o=ta[r][o].replace),qi(o,$a.fontMap[n].fontName,r)?$a.fontMap[n].variant:null)},ks=function(e,t,n){if(1===e.length){var r=Ts(e[0],t);return n&&r instanceof As&&"mo"===r.type&&(r.setAttribute("lspace","0em"),r.setAttribute("rspace","0em")),[r]}for(var o,i=[],a=0;a0&&(u.text=u.text.slice(0,1)+"\u0338"+u.text.slice(1),i.pop())}}}i.push(s),o=s}return i},qs=function(e,t,n){return xs(ks(e,t,n))},Ts=function(e,t){if(!e)return new ws.MathNode("mrow");if(ns[e.type])return ns[e.type](e,t);throw new ni("Got group of unknown type: '"+e.type+"'")};function _s(e,t,n,r,o){var i,a=ks(e,n);i=1===a.length&&a[0]instanceof As&&si.contains(["mrow","mtable"],a[0].type)?a[0]:new ws.MathNode("mrow",a);var s=new ws.MathNode("annotation",[new ws.TextNode(t)]);s.setAttribute("encoding","application/x-tex");var l=new ws.MathNode("semantics",[i,s]),c=new ws.MathNode("math",[l]);c.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML"),r&&c.setAttribute("display","block");var u=o?"katex":"katex-mathml";return $a.makeSpan([u],[c])}var Rs=function(e){return new Ni({style:e.displayMode?yi.DISPLAY:yi.TEXT,maxSize:e.maxSize,minRuleThickness:e.minRuleThickness})},Cs=function(e,t){if(t.displayMode){var n=["katex-display"];t.leqno&&n.push("leqno"),t.fleqn&&n.push("fleqn"),e=$a.makeSpan(n,[e])}return e},Ns={widehat:"^",widecheck:"\u02c7",widetilde:"~",utilde:"~",overleftarrow:"\u2190",underleftarrow:"\u2190",xleftarrow:"\u2190",overrightarrow:"\u2192",underrightarrow:"\u2192",xrightarrow:"\u2192",underbrace:"\u23df",overbrace:"\u23de",overgroup:"\u23e0",undergroup:"\u23e1",overleftrightarrow:"\u2194",underleftrightarrow:"\u2194",xleftrightarrow:"\u2194",Overrightarrow:"\u21d2",xRightarrow:"\u21d2",overleftharpoon:"\u21bc",xleftharpoonup:"\u21bc",overrightharpoon:"\u21c0",xrightharpoonup:"\u21c0",xLeftarrow:"\u21d0",xLeftrightarrow:"\u21d4",xhookleftarrow:"\u21a9",xhookrightarrow:"\u21aa",xmapsto:"\u21a6",xrightharpoondown:"\u21c1",xleftharpoondown:"\u21bd",xrightleftharpoons:"\u21cc",xleftrightharpoons:"\u21cb",xtwoheadleftarrow:"\u219e",xtwoheadrightarrow:"\u21a0",xlongequal:"=",xtofrom:"\u21c4",xrightleftarrows:"\u21c4",xrightequilibrium:"\u21cc",xleftequilibrium:"\u21cb","\\cdrightarrow":"\u2192","\\cdleftarrow":"\u2190","\\cdlongequal":"="},Is={overrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],overleftarrow:[["leftarrow"],.888,522,"xMinYMin"],underrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],underleftarrow:[["leftarrow"],.888,522,"xMinYMin"],xrightarrow:[["rightarrow"],1.469,522,"xMaxYMin"],"\\cdrightarrow":[["rightarrow"],3,522,"xMaxYMin"],xleftarrow:[["leftarrow"],1.469,522,"xMinYMin"],"\\cdleftarrow":[["leftarrow"],3,522,"xMinYMin"],Overrightarrow:[["doublerightarrow"],.888,560,"xMaxYMin"],xRightarrow:[["doublerightarrow"],1.526,560,"xMaxYMin"],xLeftarrow:[["doubleleftarrow"],1.526,560,"xMinYMin"],overleftharpoon:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoonup:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoondown:[["leftharpoondown"],.888,522,"xMinYMin"],overrightharpoon:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoonup:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoondown:[["rightharpoondown"],.888,522,"xMaxYMin"],xlongequal:[["longequal"],.888,334,"xMinYMin"],"\\cdlongequal":[["longequal"],3,334,"xMinYMin"],xtwoheadleftarrow:[["twoheadleftarrow"],.888,334,"xMinYMin"],xtwoheadrightarrow:[["twoheadrightarrow"],.888,334,"xMaxYMin"],overleftrightarrow:[["leftarrow","rightarrow"],.888,522],overbrace:[["leftbrace","midbrace","rightbrace"],1.6,548],underbrace:[["leftbraceunder","midbraceunder","rightbraceunder"],1.6,548],underleftrightarrow:[["leftarrow","rightarrow"],.888,522],xleftrightarrow:[["leftarrow","rightarrow"],1.75,522],xLeftrightarrow:[["doubleleftarrow","doublerightarrow"],1.75,560],xrightleftharpoons:[["leftharpoondownplus","rightharpoonplus"],1.75,716],xleftrightharpoons:[["leftharpoonplus","rightharpoondownplus"],1.75,716],xhookleftarrow:[["leftarrow","righthook"],1.08,522],xhookrightarrow:[["lefthook","rightarrow"],1.08,522],overlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],underlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],overgroup:[["leftgroup","rightgroup"],.888,342],undergroup:[["leftgroupunder","rightgroupunder"],.888,342],xmapsto:[["leftmapsto","rightarrow"],1.5,522],xtofrom:[["leftToFrom","rightToFrom"],1.75,528],xrightleftarrows:[["baraboveleftarrow","rightarrowabovebar"],1.75,901],xrightequilibrium:[["baraboveshortleftharpoon","rightharpoonaboveshortbar"],1.75,716],xleftequilibrium:[["shortbaraboveleftharpoon","shortrightharpoonabovebar"],1.75,716]},Ws=function(e,t,n,r,o){var i,a=e.height+e.depth+n+r;if(/fbox|color|angl/.test(t)){if(i=$a.makeSpan(["stretchy",t],[],o),"fbox"===t){var s=o.color&&o.getColor();s&&(i.style.borderColor=s)}}else{var l=[];/^[bx]cancel$/.test(t)&&l.push(new Zi({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(t)&&l.push(new Zi({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var c=new Ki(l,{width:"100%",height:ji(a)});i=$a.makeSvgSpan([],[c],o)}return i.height=a,i.style.height=ji(a),i},Ps=function(e){var t=new ws.MathNode("mo",[new ws.TextNode(Ns[e.replace(/^\\/,"")])]);return t.setAttribute("stretchy","true"),t},Ls=function(e,t){var{span:n,minWidth:r,height:o}=function(){var n=4e5,r=e.label.slice(1);if(si.contains(["widehat","widecheck","widetilde","utilde"],r)){var o,i,a,s="ordgroup"===(b=e.base).type?b.body.length:1;if(s>5)"widehat"===r||"widecheck"===r?(o=420,n=2364,a=.42,i=r+"4"):(o=312,n=2340,a=.34,i="tilde4");else{var l=[1,1,2,2,3,3][s];"widehat"===r||"widecheck"===r?(n=[0,1062,2364,2364,2364][l],o=[0,239,300,360,420][l],a=[0,.24,.3,.3,.36,.42][l],i=r+l):(n=[0,600,1033,2339,2340][l],o=[0,260,286,306,312][l],a=[0,.26,.286,.3,.306,.34][l],i="tilde"+l)}var c=new Yi(i),u=new Ki([c],{width:"100%",height:ji(a),viewBox:"0 0 "+n+" "+o,preserveAspectRatio:"none"});return{span:$a.makeSvgSpan([],[u],t),minWidth:0,height:a}}var p,d,b,f=[],h=Is[r],[m,g,O]=h,y=O/1e3,M=m.length;if(1===M)p=["hide-tail"],d=[h[3]];else if(2===M)p=["halfarrow-left","halfarrow-right"],d=["xMinYMin","xMaxYMin"];else{if(3!==M)throw new Error("Correct katexImagesData or update code here to support\n "+M+" children.");p=["brace-left","brace-center","brace-right"],d=["xMinYMin","xMidYMin","xMaxYMin"]}for(var z=0;z0&&(n.style.minWidth=ji(r)),n};function js(e,t){if(!e||e.type!==t)throw new Error("Expected node of type "+t+", but got "+(e?"node of type "+e.type:String(e)));return e}function Ds(e){var t=Bs(e);if(!t)throw new Error("Expected node of symbol group type, but got "+(e?"node of type "+e.type:String(e)));return t}function Bs(e){return e&&("atom"===e.type||ea.hasOwnProperty(e.type))?e:null}var Fs=(e,t)=>{var n,r,o;e&&"supsub"===e.type?(n=(r=js(e.base,"accent")).base,e.base=n,o=function(e){if(e instanceof Ui)return e;throw new Error("Expected span but got "+String(e)+".")}(Os(e,t)),e.base=r):n=(r=js(e,"accent")).base;var i=Os(n,t.havingCrampedStyle()),a=0;if(r.isShifty&&si.isCharacterBox(n)){var s=si.getBaseElem(n);a=Ji(Os(s,t.havingCrampedStyle())).skew}var l,c="\\c"===r.label,u=c?i.height+i.depth:Math.min(i.height,t.fontMetrics().xHeight);if(r.isStretchy)l=Ls(r,t),l=$a.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:i},{type:"elem",elem:l,wrapperClasses:["svg-align"],wrapperStyle:a>0?{width:"calc(100% - "+ji(2*a)+")",marginLeft:ji(2*a)}:void 0}]},t);else{var p,d;"\\vec"===r.label?(p=$a.staticSvg("vec",t),d=$a.svgData.vec[1]):((p=Ji(p=$a.makeOrd({mode:r.mode,text:r.label},t,"textord"))).italic=0,d=p.width,c&&(u+=p.depth)),l=$a.makeSpan(["accent-body"],[p]);var b="\\textcircled"===r.label;b&&(l.classes.push("accent-full"),u=i.height);var f=a;b||(f-=d/2),l.style.left=ji(f),"\\textcircled"===r.label&&(l.style.top=".2em"),l=$a.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:i},{type:"kern",size:-u},{type:"elem",elem:l}]},t)}var h=$a.makeSpan(["mord","accent"],[l],t);return o?(o.children[0]=h,o.height=Math.max(h.height,o.height),o.classes[0]="mord",o):h},Vs=(e,t)=>{var n=e.isStretchy?Ps(e.label):new ws.MathNode("mo",[Ss(e.label,e.mode)]),r=new ws.MathNode("mover",[Ts(e.base,t),n]);return r.setAttribute("accent","true"),r},Us=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map((e=>"\\"+e)).join("|"));rs({type:"accent",names:["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring","\\widecheck","\\widehat","\\widetilde","\\overrightarrow","\\overleftarrow","\\Overrightarrow","\\overleftrightarrow","\\overgroup","\\overlinesegment","\\overleftharpoon","\\overrightharpoon"],props:{numArgs:1},handler:(e,t)=>{var n=is(t[0]),r=!Us.test(e.funcName),o=!r||"\\widehat"===e.funcName||"\\widetilde"===e.funcName||"\\widecheck"===e.funcName;return{type:"accent",mode:e.parser.mode,label:e.funcName,isStretchy:r,isShifty:o,base:n}},htmlBuilder:Fs,mathmlBuilder:Vs}),rs({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\c","\\r","\\H","\\v","\\textcircled"],props:{numArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["primitive"]},handler:(e,t)=>{var n=t[0],r=e.parser.mode;return"math"===r&&(e.parser.settings.reportNonstrict("mathVsTextAccents","LaTeX's accent "+e.funcName+" works only in text mode"),r="text"),{type:"accent",mode:r,label:e.funcName,isStretchy:!1,isShifty:!0,base:n}},htmlBuilder:Fs,mathmlBuilder:Vs}),rs({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:(e,t)=>{var{parser:n,funcName:r}=e,o=t[0];return{type:"accentUnder",mode:n.mode,label:r,base:o}},htmlBuilder:(e,t)=>{var n=Os(e.base,t),r=Ls(e,t),o="\\utilde"===e.label?.12:0,i=$a.makeVList({positionType:"top",positionData:n.height,children:[{type:"elem",elem:r,wrapperClasses:["svg-align"]},{type:"kern",size:o},{type:"elem",elem:n}]},t);return $a.makeSpan(["mord","accentunder"],[i],t)},mathmlBuilder:(e,t)=>{var n=Ps(e.label),r=new ws.MathNode("munder",[Ts(e.base,t),n]);return r.setAttribute("accentunder","true"),r}});var Hs=e=>{var t=new ws.MathNode("mpadded",e?[e]:[]);return t.setAttribute("width","+0.6em"),t.setAttribute("lspace","0.3em"),t};rs({type:"xArrow",names:["\\xleftarrow","\\xrightarrow","\\xLeftarrow","\\xRightarrow","\\xleftrightarrow","\\xLeftrightarrow","\\xhookleftarrow","\\xhookrightarrow","\\xmapsto","\\xrightharpoondown","\\xrightharpoonup","\\xleftharpoondown","\\xleftharpoonup","\\xrightleftharpoons","\\xleftrightharpoons","\\xlongequal","\\xtwoheadrightarrow","\\xtwoheadleftarrow","\\xtofrom","\\xrightleftarrows","\\xrightequilibrium","\\xleftequilibrium","\\\\cdrightarrow","\\\\cdleftarrow","\\\\cdlongequal"],props:{numArgs:1,numOptionalArgs:1},handler(e,t,n){var{parser:r,funcName:o}=e;return{type:"xArrow",mode:r.mode,label:o,body:t[0],below:n[0]}},htmlBuilder(e,t){var n,r=t.style,o=t.havingStyle(r.sup()),i=$a.wrapFragment(Os(e.body,o,t),t),a="\\x"===e.label.slice(0,2)?"x":"cd";i.classes.push(a+"-arrow-pad"),e.below&&(o=t.havingStyle(r.sub()),(n=$a.wrapFragment(Os(e.below,o,t),t)).classes.push(a+"-arrow-pad"));var s,l=Ls(e,t),c=-t.fontMetrics().axisHeight+.5*l.height,u=-t.fontMetrics().axisHeight-.5*l.height-.111;if((i.depth>.25||"\\xleftequilibrium"===e.label)&&(u-=i.depth),n){var p=-t.fontMetrics().axisHeight+n.height+.5*l.height+.111;s=$a.makeVList({positionType:"individualShift",children:[{type:"elem",elem:i,shift:u},{type:"elem",elem:l,shift:c},{type:"elem",elem:n,shift:p}]},t)}else s=$a.makeVList({positionType:"individualShift",children:[{type:"elem",elem:i,shift:u},{type:"elem",elem:l,shift:c}]},t);return s.children[0].children[0].children[1].classes.push("svg-align"),$a.makeSpan(["mrel","x-arrow"],[s],t)},mathmlBuilder(e,t){var n,r=Ps(e.label);if(r.setAttribute("minsize","x"===e.label.charAt(0)?"1.75em":"3.0em"),e.body){var o=Hs(Ts(e.body,t));if(e.below){var i=Hs(Ts(e.below,t));n=new ws.MathNode("munderover",[r,i,o])}else n=new ws.MathNode("mover",[r,o])}else if(e.below){var a=Hs(Ts(e.below,t));n=new ws.MathNode("munder",[r,a])}else n=Hs(),n=new ws.MathNode("mover",[r,n]);return n}});var Xs=$a.makeSpan;function Gs(e,t){var n=ds(e.body,t,!0);return Xs([e.mclass],n,t)}function $s(e,t){var n,r=ks(e.body,t);return"minner"===e.mclass?n=new ws.MathNode("mpadded",r):"mord"===e.mclass?e.isCharacterBox?(n=r[0]).type="mi":n=new ws.MathNode("mi",r):(e.isCharacterBox?(n=r[0]).type="mo":n=new ws.MathNode("mo",r),"mbin"===e.mclass?(n.attributes.lspace="0.22em",n.attributes.rspace="0.22em"):"mpunct"===e.mclass?(n.attributes.lspace="0em",n.attributes.rspace="0.17em"):"mopen"===e.mclass||"mclose"===e.mclass?(n.attributes.lspace="0em",n.attributes.rspace="0em"):"minner"===e.mclass&&(n.attributes.lspace="0.0556em",n.attributes.width="+0.1111em")),n}rs({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],props:{numArgs:1,primitive:!0},handler(e,t){var{parser:n,funcName:r}=e,o=t[0];return{type:"mclass",mode:n.mode,mclass:"m"+r.slice(5),body:as(o),isCharacterBox:si.isCharacterBox(o)}},htmlBuilder:Gs,mathmlBuilder:$s});var Ks=e=>{var t="ordgroup"===e.type&&e.body.length?e.body[0]:e;return"atom"!==t.type||"bin"!==t.family&&"rel"!==t.family?"mord":"m"+t.family};rs({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler(e,t){var{parser:n}=e;return{type:"mclass",mode:n.mode,mclass:Ks(t[0]),body:as(t[1]),isCharacterBox:si.isCharacterBox(t[1])}}}),rs({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler(e,t){var n,{parser:r,funcName:o}=e,i=t[1],a=t[0];n="\\stackrel"!==o?Ks(i):"mrel";var s={type:"op",mode:i.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:"\\stackrel"!==o,body:as(i)},l={type:"supsub",mode:a.mode,base:s,sup:"\\underset"===o?null:a,sub:"\\underset"===o?a:null};return{type:"mclass",mode:r.mode,mclass:n,body:[l],isCharacterBox:si.isCharacterBox(l)}},htmlBuilder:Gs,mathmlBuilder:$s}),rs({type:"pmb",names:["\\pmb"],props:{numArgs:1,allowedInText:!0},handler(e,t){var{parser:n}=e;return{type:"pmb",mode:n.mode,mclass:Ks(t[0]),body:as(t[0])}},htmlBuilder(e,t){var n=ds(e.body,t,!0),r=$a.makeSpan([e.mclass],n,t);return r.style.textShadow="0.02em 0.01em 0.04px",r},mathmlBuilder(e,t){var n=ks(e.body,t),r=new ws.MathNode("mstyle",n);return r.setAttribute("style","text-shadow: 0.02em 0.01em 0.04px"),r}});var Ys={">":"\\\\cdrightarrow","<":"\\\\cdleftarrow","=":"\\\\cdlongequal",A:"\\uparrow",V:"\\downarrow","|":"\\Vert",".":"no arrow"},Zs=e=>"textord"===e.type&&"@"===e.text,Js=(e,t)=>("mathord"===e.type||"atom"===e.type)&&e.text===t;function Qs(e,t,n){var r=Ys[e];switch(r){case"\\\\cdrightarrow":case"\\\\cdleftarrow":return n.callFunction(r,[t[0]],[t[1]]);case"\\uparrow":case"\\downarrow":var o={type:"atom",text:r,mode:"math",family:"rel"},i={type:"ordgroup",mode:"math",body:[n.callFunction("\\\\cdleft",[t[0]],[]),n.callFunction("\\Big",[o],[]),n.callFunction("\\\\cdright",[t[1]],[])]};return n.callFunction("\\\\cdparent",[i],[]);case"\\\\cdlongequal":return n.callFunction("\\\\cdlongequal",[],[]);case"\\Vert":return n.callFunction("\\Big",[{type:"textord",text:"\\Vert",mode:"math"}],[]);default:return{type:"textord",text:" ",mode:"math"}}}rs({type:"cdlabel",names:["\\\\cdleft","\\\\cdright"],props:{numArgs:1},handler(e,t){var{parser:n,funcName:r}=e;return{type:"cdlabel",mode:n.mode,side:r.slice(4),label:t[0]}},htmlBuilder(e,t){var n=t.havingStyle(t.style.sup()),r=$a.wrapFragment(Os(e.label,n,t),t);return r.classes.push("cd-label-"+e.side),r.style.bottom=ji(.8-r.depth),r.height=0,r.depth=0,r},mathmlBuilder(e,t){var n=new ws.MathNode("mrow",[Ts(e.label,t)]);return(n=new ws.MathNode("mpadded",[n])).setAttribute("width","0"),"left"===e.side&&n.setAttribute("lspace","-1width"),n.setAttribute("voffset","0.7em"),(n=new ws.MathNode("mstyle",[n])).setAttribute("displaystyle","false"),n.setAttribute("scriptlevel","1"),n}}),rs({type:"cdlabelparent",names:["\\\\cdparent"],props:{numArgs:1},handler(e,t){var{parser:n}=e;return{type:"cdlabelparent",mode:n.mode,fragment:t[0]}},htmlBuilder(e,t){var n=$a.wrapFragment(Os(e.fragment,t),t);return n.classes.push("cd-vert-arrow"),n},mathmlBuilder:(e,t)=>new ws.MathNode("mrow",[Ts(e.fragment,t)])}),rs({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler(e,t){for(var{parser:n}=e,r=js(t[0],"ordgroup").body,o="",i=0;i=1114111)throw new ni("\\@char with invalid code point "+o);return s<=65535?a=String.fromCharCode(s):(s-=65536,a=String.fromCharCode(55296+(s>>10),56320+(1023&s))),{type:"textord",mode:n.mode,text:a}}});var el=(e,t)=>{var n=ds(e.body,t.withColor(e.color),!1);return $a.makeFragment(n)},tl=(e,t)=>{var n=ks(e.body,t.withColor(e.color)),r=new ws.MathNode("mstyle",n);return r.setAttribute("mathcolor",e.color),r};rs({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,argTypes:["color","original"]},handler(e,t){var{parser:n}=e,r=js(t[0],"color-token").color,o=t[1];return{type:"color",mode:n.mode,color:r,body:as(o)}},htmlBuilder:el,mathmlBuilder:tl}),rs({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,argTypes:["color"]},handler(e,t){var{parser:n,breakOnTokenText:r}=e,o=js(t[0],"color-token").color;n.gullet.macros.set("\\current@color",o);var i=n.parseExpression(!0,r);return{type:"color",mode:n.mode,color:o,body:i}},htmlBuilder:el,mathmlBuilder:tl}),rs({type:"cr",names:["\\\\"],props:{numArgs:0,numOptionalArgs:0,allowedInText:!0},handler(e,t,n){var{parser:r}=e,o="["===r.gullet.future().text?r.parseSizeGroup(!0):null,i=!r.settings.displayMode||!r.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode");return{type:"cr",mode:r.mode,newLine:i,size:o&&js(o,"size").value}},htmlBuilder(e,t){var n=$a.makeSpan(["mspace"],[],t);return e.newLine&&(n.classes.push("newline"),e.size&&(n.style.marginTop=ji(Li(e.size,t)))),n},mathmlBuilder(e,t){var n=new ws.MathNode("mspace");return e.newLine&&(n.setAttribute("linebreak","newline"),e.size&&n.setAttribute("height",ji(Li(e.size,t)))),n}});var nl={"\\global":"\\global","\\long":"\\\\globallong","\\\\globallong":"\\\\globallong","\\def":"\\gdef","\\gdef":"\\gdef","\\edef":"\\xdef","\\xdef":"\\xdef","\\let":"\\\\globallet","\\futurelet":"\\\\globalfuture"},rl=e=>{var t=e.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(t))throw new ni("Expected a control sequence",e);return t},ol=(e,t,n,r)=>{var o=e.gullet.macros.get(n.text);null==o&&(n.noexpand=!0,o={tokens:[n],numArgs:0,unexpandable:!e.gullet.isExpandable(n.text)}),e.gullet.macros.set(t,o,r)};rs({type:"internal",names:["\\global","\\long","\\\\globallong"],props:{numArgs:0,allowedInText:!0},handler(e){var{parser:t,funcName:n}=e;t.consumeSpaces();var r=t.fetch();if(nl[r.text])return"\\global"!==n&&"\\\\globallong"!==n||(r.text=nl[r.text]),js(t.parseFunction(),"internal");throw new ni("Invalid token after macro prefix",r)}}),rs({type:"internal",names:["\\def","\\gdef","\\edef","\\xdef"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:n}=e,r=t.gullet.popToken(),o=r.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(o))throw new ni("Expected a control sequence",r);for(var i,a=0,s=[[]];"{"!==t.gullet.future().text;)if("#"===(r=t.gullet.popToken()).text){if("{"===t.gullet.future().text){i=t.gullet.future(),s[a].push("{");break}if(r=t.gullet.popToken(),!/^[1-9]$/.test(r.text))throw new ni('Invalid argument number "'+r.text+'"');if(parseInt(r.text)!==a+1)throw new ni('Argument number "'+r.text+'" out of order');a++,s.push([])}else{if("EOF"===r.text)throw new ni("Expected a macro definition");s[a].push(r.text)}var{tokens:l}=t.gullet.consumeArg();return i&&l.unshift(i),"\\edef"!==n&&"\\xdef"!==n||(l=t.gullet.expandTokens(l)).reverse(),t.gullet.macros.set(o,{tokens:l,numArgs:a,delimiters:s},n===nl[n]),{type:"internal",mode:t.mode}}}),rs({type:"internal",names:["\\let","\\\\globallet"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:n}=e,r=rl(t.gullet.popToken());t.gullet.consumeSpaces();var o=(e=>{var t=e.gullet.popToken();return"="===t.text&&" "===(t=e.gullet.popToken()).text&&(t=e.gullet.popToken()),t})(t);return ol(t,r,o,"\\\\globallet"===n),{type:"internal",mode:t.mode}}}),rs({type:"internal",names:["\\futurelet","\\\\globalfuture"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:n}=e,r=rl(t.gullet.popToken()),o=t.gullet.popToken(),i=t.gullet.popToken();return ol(t,r,i,"\\\\globalfuture"===n),t.gullet.pushToken(i),t.gullet.pushToken(o),{type:"internal",mode:t.mode}}});var il=function(e,t,n){var r=qi(ta.math[e]&&ta.math[e].replace||e,t,n);if(!r)throw new Error("Unsupported symbol "+e+" and font size "+t+".");return r},al=function(e,t,n,r){var o=n.havingBaseStyle(t),i=$a.makeSpan(r.concat(o.sizingClasses(n)),[e],n),a=o.sizeMultiplier/n.sizeMultiplier;return i.height*=a,i.depth*=a,i.maxFontSize=o.sizeMultiplier,i},sl=function(e,t,n){var r=t.havingBaseStyle(n),o=(1-t.sizeMultiplier/r.sizeMultiplier)*t.fontMetrics().axisHeight;e.classes.push("delimcenter"),e.style.top=ji(o),e.height-=o,e.depth+=o},ll=function(e,t,n,r,o,i){var a=function(e,t,n,r){return $a.makeSymbol(e,"Size"+t+"-Regular",n,r)}(e,t,o,r),s=al($a.makeSpan(["delimsizing","size"+t],[a],r),yi.TEXT,r,i);return n&&sl(s,r,yi.TEXT),s},cl=function(e,t,n){var r;return r="Size1-Regular"===t?"delim-size1":"delim-size4",{type:"elem",elem:$a.makeSpan(["delimsizinginner",r],[$a.makeSpan([],[$a.makeSymbol(e,t,n)])])}},ul=function(e,t,n){var r=xi["Size4-Regular"][e.charCodeAt(0)]?xi["Size4-Regular"][e.charCodeAt(0)][4]:xi["Size1-Regular"][e.charCodeAt(0)][4],o=new Yi("inner",function(e,t){switch(e){case"\u239c":return"M291 0 H417 V"+t+" H291z M291 0 H417 V"+t+" H291z";case"\u2223":return"M145 0 H188 V"+t+" H145z M145 0 H188 V"+t+" H145z";case"\u2225":return"M145 0 H188 V"+t+" H145z M145 0 H188 V"+t+" H145zM367 0 H410 V"+t+" H367z M367 0 H410 V"+t+" H367z";case"\u239f":return"M457 0 H583 V"+t+" H457z M457 0 H583 V"+t+" H457z";case"\u23a2":return"M319 0 H403 V"+t+" H319z M319 0 H403 V"+t+" H319z";case"\u23a5":return"M263 0 H347 V"+t+" H263z M263 0 H347 V"+t+" H263z";case"\u23aa":return"M384 0 H504 V"+t+" H384z M384 0 H504 V"+t+" H384z";case"\u23d0":return"M312 0 H355 V"+t+" H312z M312 0 H355 V"+t+" H312z";case"\u2016":return"M257 0 H300 V"+t+" H257z M257 0 H300 V"+t+" H257zM478 0 H521 V"+t+" H478z M478 0 H521 V"+t+" H478z";default:return""}}(e,Math.round(1e3*t))),i=new Ki([o],{width:ji(r),height:ji(t),style:"width:"+ji(r),viewBox:"0 0 "+1e3*r+" "+Math.round(1e3*t),preserveAspectRatio:"xMinYMin"}),a=$a.makeSvgSpan([],[i],n);return a.height=t,a.style.height=ji(t),a.style.width=ji(r),{type:"elem",elem:a}},pl={type:"kern",size:-.008},dl=["|","\\lvert","\\rvert","\\vert"],bl=["\\|","\\lVert","\\rVert","\\Vert"],fl=function(e,t,n,r,o,i){var a,s,l,c,u="",p=0;a=l=c=e,s=null;var d="Size1-Regular";"\\uparrow"===e?l=c="\u23d0":"\\Uparrow"===e?l=c="\u2016":"\\downarrow"===e?a=l="\u23d0":"\\Downarrow"===e?a=l="\u2016":"\\updownarrow"===e?(a="\\uparrow",l="\u23d0",c="\\downarrow"):"\\Updownarrow"===e?(a="\\Uparrow",l="\u2016",c="\\Downarrow"):si.contains(dl,e)?(l="\u2223",u="vert",p=333):si.contains(bl,e)?(l="\u2225",u="doublevert",p=556):"["===e||"\\lbrack"===e?(a="\u23a1",l="\u23a2",c="\u23a3",d="Size4-Regular",u="lbrack",p=667):"]"===e||"\\rbrack"===e?(a="\u23a4",l="\u23a5",c="\u23a6",d="Size4-Regular",u="rbrack",p=667):"\\lfloor"===e||"\u230a"===e?(l=a="\u23a2",c="\u23a3",d="Size4-Regular",u="lfloor",p=667):"\\lceil"===e||"\u2308"===e?(a="\u23a1",l=c="\u23a2",d="Size4-Regular",u="lceil",p=667):"\\rfloor"===e||"\u230b"===e?(l=a="\u23a5",c="\u23a6",d="Size4-Regular",u="rfloor",p=667):"\\rceil"===e||"\u2309"===e?(a="\u23a4",l=c="\u23a5",d="Size4-Regular",u="rceil",p=667):"("===e||"\\lparen"===e?(a="\u239b",l="\u239c",c="\u239d",d="Size4-Regular",u="lparen",p=875):")"===e||"\\rparen"===e?(a="\u239e",l="\u239f",c="\u23a0",d="Size4-Regular",u="rparen",p=875):"\\{"===e||"\\lbrace"===e?(a="\u23a7",s="\u23a8",c="\u23a9",l="\u23aa",d="Size4-Regular"):"\\}"===e||"\\rbrace"===e?(a="\u23ab",s="\u23ac",c="\u23ad",l="\u23aa",d="Size4-Regular"):"\\lgroup"===e||"\u27ee"===e?(a="\u23a7",c="\u23a9",l="\u23aa",d="Size4-Regular"):"\\rgroup"===e||"\u27ef"===e?(a="\u23ab",c="\u23ad",l="\u23aa",d="Size4-Regular"):"\\lmoustache"===e||"\u23b0"===e?(a="\u23a7",c="\u23ad",l="\u23aa",d="Size4-Regular"):"\\rmoustache"!==e&&"\u23b1"!==e||(a="\u23ab",c="\u23a9",l="\u23aa",d="Size4-Regular");var b=il(a,d,o),f=b.height+b.depth,h=il(l,d,o),m=h.height+h.depth,g=il(c,d,o),O=g.height+g.depth,y=0,M=1;if(null!==s){var z=il(s,d,o);y=z.height+z.depth,M=2}var A=f+O+y,v=A+Math.max(0,Math.ceil((t-A)/(M*m)))*M*m,w=r.fontMetrics().axisHeight;n&&(w*=r.sizeMultiplier);var S=v/2-w,x=[];if(u.length>0){var E=v-f-O,k=Math.round(1e3*v),q=function(e,t){switch(e){case"lbrack":return"M403 1759 V84 H666 V0 H319 V1759 v"+t+" v1759 h347 v-84\nH403z M403 1759 V0 H319 V1759 v"+t+" v1759 h84z";case"rbrack":return"M347 1759 V0 H0 V84 H263 V1759 v"+t+" v1759 H0 v84 H347z\nM347 1759 V0 H263 V1759 v"+t+" v1759 h84z";case"vert":return"M145 15 v585 v"+t+" v585 c2.667,10,9.667,15,21,15\nc10,0,16.667,-5,20,-15 v-585 v"+-t+" v-585 c-2.667,-10,-9.667,-15,-21,-15\nc-10,0,-16.667,5,-20,15z M188 15 H145 v585 v"+t+" v585 h43z";case"doublevert":return"M145 15 v585 v"+t+" v585 c2.667,10,9.667,15,21,15\nc10,0,16.667,-5,20,-15 v-585 v"+-t+" v-585 c-2.667,-10,-9.667,-15,-21,-15\nc-10,0,-16.667,5,-20,15z M188 15 H145 v585 v"+t+" v585 h43z\nM367 15 v585 v"+t+" v585 c2.667,10,9.667,15,21,15\nc10,0,16.667,-5,20,-15 v-585 v"+-t+" v-585 c-2.667,-10,-9.667,-15,-21,-15\nc-10,0,-16.667,5,-20,15z M410 15 H367 v585 v"+t+" v585 h43z";case"lfloor":return"M319 602 V0 H403 V602 v"+t+" v1715 h263 v84 H319z\nMM319 602 V0 H403 V602 v"+t+" v1715 H319z";case"rfloor":return"M319 602 V0 H403 V602 v"+t+" v1799 H0 v-84 H319z\nMM319 602 V0 H403 V602 v"+t+" v1715 H319z";case"lceil":return"M403 1759 V84 H666 V0 H319 V1759 v"+t+" v602 h84z\nM403 1759 V0 H319 V1759 v"+t+" v602 h84z";case"rceil":return"M347 1759 V0 H0 V84 H263 V1759 v"+t+" v602 h84z\nM347 1759 V0 h-84 V1759 v"+t+" v602 h84z";case"lparen":return"M863,9c0,-2,-2,-5,-6,-9c0,0,-17,0,-17,0c-12.7,0,-19.3,0.3,-20,1\nc-5.3,5.3,-10.3,11,-15,17c-242.7,294.7,-395.3,682,-458,1162c-21.3,163.3,-33.3,349,\n-36,557 l0,"+(t+84)+"c0.2,6,0,26,0,60c2,159.3,10,310.7,24,454c53.3,528,210,\n949.7,470,1265c4.7,6,9.7,11.7,15,17c0.7,0.7,7,1,19,1c0,0,18,0,18,0c4,-4,6,-7,6,-9\nc0,-2.7,-3.3,-8.7,-10,-18c-135.3,-192.7,-235.5,-414.3,-300.5,-665c-65,-250.7,-102.5,\n-544.7,-112.5,-882c-2,-104,-3,-167,-3,-189\nl0,-"+(t+92)+"c0,-162.7,5.7,-314,17,-454c20.7,-272,63.7,-513,129,-723c65.3,\n-210,155.3,-396.3,270,-559c6.7,-9.3,10,-15.3,10,-18z";case"rparen":return"M76,0c-16.7,0,-25,3,-25,9c0,2,2,6.3,6,13c21.3,28.7,42.3,60.3,\n63,95c96.7,156.7,172.8,332.5,228.5,527.5c55.7,195,92.8,416.5,111.5,664.5\nc11.3,139.3,17,290.7,17,454c0,28,1.7,43,3.3,45l0,"+(t+9)+"\nc-3,4,-3.3,16.7,-3.3,38c0,162,-5.7,313.7,-17,455c-18.7,248,-55.8,469.3,-111.5,664\nc-55.7,194.7,-131.8,370.3,-228.5,527c-20.7,34.7,-41.7,66.3,-63,95c-2,3.3,-4,7,-6,11\nc0,7.3,5.7,11,17,11c0,0,11,0,11,0c9.3,0,14.3,-0.3,15,-1c5.3,-5.3,10.3,-11,15,-17\nc242.7,-294.7,395.3,-681.7,458,-1161c21.3,-164.7,33.3,-350.7,36,-558\nl0,-"+(t+144)+"c-2,-159.3,-10,-310.7,-24,-454c-53.3,-528,-210,-949.7,\n-470,-1265c-4.7,-6,-9.7,-11.7,-15,-17c-0.7,-0.7,-6.7,-1,-18,-1z";default:throw new Error("Unknown stretchy delimiter.")}}(u,Math.round(1e3*E)),T=new Yi(u,q),_=(p/1e3).toFixed(3)+"em",R=(k/1e3).toFixed(3)+"em",C=new Ki([T],{width:_,height:R,viewBox:"0 0 "+p+" "+k}),N=$a.makeSvgSpan([],[C],r);N.height=k/1e3,N.style.width=_,N.style.height=R,x.push({type:"elem",elem:N})}else{if(x.push(cl(c,d,o)),x.push(pl),null===s){var I=v-f-O+.016;x.push(ul(l,I,r))}else{var W=(v-f-O-y)/2+.016;x.push(ul(l,W,r)),x.push(pl),x.push(cl(s,d,o)),x.push(pl),x.push(ul(l,W,r))}x.push(pl),x.push(cl(a,d,o))}var P=r.havingBaseStyle(yi.TEXT),L=$a.makeVList({positionType:"bottom",positionData:S,children:x},P);return al($a.makeSpan(["delimsizing","mult"],[L],P),yi.TEXT,r,i)},hl=.08,ml=function(e,t,n,r,o){var i=function(e,t,n){t*=1e3;var r="";switch(e){case"sqrtMain":r=function(e,t){return"M95,"+(622+e+t)+"\nc-2.7,0,-7.17,-2.7,-13.5,-8c-5.8,-5.3,-9.5,-10,-9.5,-14\nc0,-2,0.3,-3.3,1,-4c1.3,-2.7,23.83,-20.7,67.5,-54\nc44.2,-33.3,65.8,-50.3,66.5,-51c1.3,-1.3,3,-2,5,-2c4.7,0,8.7,3.3,12,10\ns173,378,173,378c0.7,0,35.3,-71,104,-213c68.7,-142,137.5,-285,206.5,-429\nc69,-144,104.5,-217.7,106.5,-221\nl"+e/2.075+" -"+e+"\nc5.3,-9.3,12,-14,20,-14\nH400000v"+(40+e)+"H845.2724\ns-225.272,467,-225.272,467s-235,486,-235,486c-2.7,4.7,-9,7,-19,7\nc-6,0,-10,-1,-12,-3s-194,-422,-194,-422s-65,47,-65,47z\nM"+(834+e)+" "+t+"h400000v"+(40+e)+"h-400000z"}(t,vi);break;case"sqrtSize1":r=function(e,t){return"M263,"+(601+e+t)+"c0.7,0,18,39.7,52,119\nc34,79.3,68.167,158.7,102.5,238c34.3,79.3,51.8,119.3,52.5,120\nc340,-704.7,510.7,-1060.3,512,-1067\nl"+e/2.084+" -"+e+"\nc4.7,-7.3,11,-11,19,-11\nH40000v"+(40+e)+"H1012.3\ns-271.3,567,-271.3,567c-38.7,80.7,-84,175,-136,283c-52,108,-89.167,185.3,-111.5,232\nc-22.3,46.7,-33.8,70.3,-34.5,71c-4.7,4.7,-12.3,7,-23,7s-12,-1,-12,-1\ns-109,-253,-109,-253c-72.7,-168,-109.3,-252,-110,-252c-10.7,8,-22,16.7,-34,26\nc-22,17.3,-33.3,26,-34,26s-26,-26,-26,-26s76,-59,76,-59s76,-60,76,-60z\nM"+(1001+e)+" "+t+"h400000v"+(40+e)+"h-400000z"}(t,vi);break;case"sqrtSize2":r=function(e,t){return"M983 "+(10+e+t)+"\nl"+e/3.13+" -"+e+"\nc4,-6.7,10,-10,18,-10 H400000v"+(40+e)+"\nH1013.1s-83.4,268,-264.1,840c-180.7,572,-277,876.3,-289,913c-4.7,4.7,-12.7,7,-24,7\ns-12,0,-12,0c-1.3,-3.3,-3.7,-11.7,-7,-25c-35.3,-125.3,-106.7,-373.3,-214,-744\nc-10,12,-21,25,-33,39s-32,39,-32,39c-6,-5.3,-15,-14,-27,-26s25,-30,25,-30\nc26.7,-32.7,52,-63,76,-91s52,-60,52,-60s208,722,208,722\nc56,-175.3,126.3,-397.3,211,-666c84.7,-268.7,153.8,-488.2,207.5,-658.5\nc53.7,-170.3,84.5,-266.8,92.5,-289.5z\nM"+(1001+e)+" "+t+"h400000v"+(40+e)+"h-400000z"}(t,vi);break;case"sqrtSize3":r=function(e,t){return"M424,"+(2398+e+t)+"\nc-1.3,-0.7,-38.5,-172,-111.5,-514c-73,-342,-109.8,-513.3,-110.5,-514\nc0,-2,-10.7,14.3,-32,49c-4.7,7.3,-9.8,15.7,-15.5,25c-5.7,9.3,-9.8,16,-12.5,20\ns-5,7,-5,7c-4,-3.3,-8.3,-7.7,-13,-13s-13,-13,-13,-13s76,-122,76,-122s77,-121,77,-121\ns209,968,209,968c0,-2,84.7,-361.7,254,-1079c169.3,-717.3,254.7,-1077.7,256,-1081\nl"+e/4.223+" -"+e+"c4,-6.7,10,-10,18,-10 H400000\nv"+(40+e)+"H1014.6\ns-87.3,378.7,-272.6,1166c-185.3,787.3,-279.3,1182.3,-282,1185\nc-2,6,-10,9,-24,9\nc-8,0,-12,-0.7,-12,-2z M"+(1001+e)+" "+t+"\nh400000v"+(40+e)+"h-400000z"}(t,vi);break;case"sqrtSize4":r=function(e,t){return"M473,"+(2713+e+t)+"\nc339.3,-1799.3,509.3,-2700,510,-2702 l"+e/5.298+" -"+e+"\nc3.3,-7.3,9.3,-11,18,-11 H400000v"+(40+e)+"H1017.7\ns-90.5,478,-276.2,1466c-185.7,988,-279.5,1483,-281.5,1485c-2,6,-10,9,-24,9\nc-8,0,-12,-0.7,-12,-2c0,-1.3,-5.3,-32,-16,-92c-50.7,-293.3,-119.7,-693.3,-207,-1200\nc0,-1.3,-5.3,8.7,-16,30c-10.7,21.3,-21.3,42.7,-32,64s-16,33,-16,33s-26,-26,-26,-26\ns76,-153,76,-153s77,-151,77,-151c0.7,0.7,35.7,202,105,604c67.3,400.7,102,602.7,104,\n606zM"+(1001+e)+" "+t+"h400000v"+(40+e)+"H1017.7z"}(t,vi);break;case"sqrtTall":r=function(e,t,n){return"M702 "+(e+t)+"H400000"+(40+e)+"\nH742v"+(n-54-t-e)+"l-4 4-4 4c-.667.7 -2 1.5-4 2.5s-4.167 1.833-6.5 2.5-5.5 1-9.5 1\nh-12l-28-84c-16.667-52-96.667 -294.333-240-727l-212 -643 -85 170\nc-4-3.333-8.333-7.667-13 -13l-13-13l77-155 77-156c66 199.333 139 419.667\n219 661 l218 661zM702 "+t+"H400000v"+(40+e)+"H742z"}(t,vi,n)}return r}(e,r,n),a=new Yi(e,i),s=new Ki([a],{width:"400em",height:ji(t),viewBox:"0 0 400000 "+n,preserveAspectRatio:"xMinYMin slice"});return $a.makeSvgSpan(["hide-tail"],[s],o)},gl=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","\u230a","\u230b","\\lceil","\\rceil","\u2308","\u2309","\\surd"],Ol=["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","\u27ee","\u27ef","\\lmoustache","\\rmoustache","\u23b0","\u23b1"],yl=["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],Ml=[0,1.2,1.8,2.4,3],zl=[{type:"small",style:yi.SCRIPTSCRIPT},{type:"small",style:yi.SCRIPT},{type:"small",style:yi.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],Al=[{type:"small",style:yi.SCRIPTSCRIPT},{type:"small",style:yi.SCRIPT},{type:"small",style:yi.TEXT},{type:"stack"}],vl=[{type:"small",style:yi.SCRIPTSCRIPT},{type:"small",style:yi.SCRIPT},{type:"small",style:yi.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],wl=function(e){if("small"===e.type)return"Main-Regular";if("large"===e.type)return"Size"+e.size+"-Regular";if("stack"===e.type)return"Size4-Regular";throw new Error("Add support for delim type '"+e.type+"' here.")},Sl=function(e,t,n,r){for(var o=Math.min(2,3-r.style.size);ot)return n[o]}return n[n.length-1]},xl=function(e,t,n,r,o,i){var a;"<"===e||"\\lt"===e||"\u27e8"===e?e="\\langle":">"!==e&&"\\gt"!==e&&"\u27e9"!==e||(e="\\rangle"),a=si.contains(yl,e)?zl:si.contains(gl,e)?vl:Al;var s=Sl(e,t,a,r);return"small"===s.type?function(e,t,n,r,o,i){var a=$a.makeSymbol(e,"Main-Regular",o,r),s=al(a,t,r,i);return n&&sl(s,r,t),s}(e,s.style,n,r,o,i):"large"===s.type?ll(e,s.size,n,r,o,i):fl(e,t,n,r,o,i)},El={sqrtImage:function(e,t){var n,r,o=t.havingBaseSizing(),i=Sl("\\surd",e*o.sizeMultiplier,vl,o),a=o.sizeMultiplier,s=Math.max(0,t.minRuleThickness-t.fontMetrics().sqrtRuleThickness),l=0,c=0,u=0;return"small"===i.type?(e<1?a=1:e<1.4&&(a=.7),c=(1+s)/a,(n=ml("sqrtMain",l=(1+s+hl)/a,u=1e3+1e3*s+80,s,t)).style.minWidth="0.853em",r=.833/a):"large"===i.type?(u=1080*Ml[i.size],c=(Ml[i.size]+s)/a,l=(Ml[i.size]+s+hl)/a,(n=ml("sqrtSize"+i.size,l,u,s,t)).style.minWidth="1.02em",r=1/a):(l=e+s+hl,c=e+s,u=Math.floor(1e3*e+s)+80,(n=ml("sqrtTall",l,u,s,t)).style.minWidth="0.742em",r=1.056),n.height=c,n.style.height=ji(l),{span:n,advanceWidth:r,ruleWidth:(t.fontMetrics().sqrtRuleThickness+s)*a}},sizedDelim:function(e,t,n,r,o){if("<"===e||"\\lt"===e||"\u27e8"===e?e="\\langle":">"!==e&&"\\gt"!==e&&"\u27e9"!==e||(e="\\rangle"),si.contains(gl,e)||si.contains(yl,e))return ll(e,t,!1,n,r,o);if(si.contains(Ol,e))return fl(e,Ml[t],!1,n,r,o);throw new ni("Illegal delimiter: '"+e+"'")},sizeToMaxHeight:Ml,customSizedDelim:xl,leftRightDelim:function(e,t,n,r,o,i){var a=r.fontMetrics().axisHeight*r.sizeMultiplier,s=5/r.fontMetrics().ptPerEm,l=Math.max(t-a,n+a),c=Math.max(l/500*901,2*l-s);return xl(e,c,!0,r,o,i)}},kl={"\\bigl":{mclass:"mopen",size:1},"\\Bigl":{mclass:"mopen",size:2},"\\biggl":{mclass:"mopen",size:3},"\\Biggl":{mclass:"mopen",size:4},"\\bigr":{mclass:"mclose",size:1},"\\Bigr":{mclass:"mclose",size:2},"\\biggr":{mclass:"mclose",size:3},"\\Biggr":{mclass:"mclose",size:4},"\\bigm":{mclass:"mrel",size:1},"\\Bigm":{mclass:"mrel",size:2},"\\biggm":{mclass:"mrel",size:3},"\\Biggm":{mclass:"mrel",size:4},"\\big":{mclass:"mord",size:1},"\\Big":{mclass:"mord",size:2},"\\bigg":{mclass:"mord",size:3},"\\Bigg":{mclass:"mord",size:4}},ql=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","\u230a","\u230b","\\lceil","\\rceil","\u2308","\u2309","<",">","\\langle","\u27e8","\\rangle","\u27e9","\\lt","\\gt","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","\u27ee","\u27ef","\\lmoustache","\\rmoustache","\u23b0","\u23b1","/","\\backslash","|","\\vert","\\|","\\Vert","\\uparrow","\\Uparrow","\\downarrow","\\Downarrow","\\updownarrow","\\Updownarrow","."];function Tl(e,t){var n=Bs(e);if(n&&si.contains(ql,n.text))return n;throw new ni(n?"Invalid delimiter '"+n.text+"' after '"+t.funcName+"'":"Invalid delimiter type '"+e.type+"'",e)}function _l(e){if(!e.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}rs({type:"delimsizing",names:["\\bigl","\\Bigl","\\biggl","\\Biggl","\\bigr","\\Bigr","\\biggr","\\Biggr","\\bigm","\\Bigm","\\biggm","\\Biggm","\\big","\\Big","\\bigg","\\Bigg"],props:{numArgs:1,argTypes:["primitive"]},handler:(e,t)=>{var n=Tl(t[0],e);return{type:"delimsizing",mode:e.parser.mode,size:kl[e.funcName].size,mclass:kl[e.funcName].mclass,delim:n.text}},htmlBuilder:(e,t)=>"."===e.delim?$a.makeSpan([e.mclass]):El.sizedDelim(e.delim,e.size,t,e.mode,[e.mclass]),mathmlBuilder:e=>{var t=[];"."!==e.delim&&t.push(Ss(e.delim,e.mode));var n=new ws.MathNode("mo",t);"mopen"===e.mclass||"mclose"===e.mclass?n.setAttribute("fence","true"):n.setAttribute("fence","false"),n.setAttribute("stretchy","true");var r=ji(El.sizeToMaxHeight[e.size]);return n.setAttribute("minsize",r),n.setAttribute("maxsize",r),n}}),rs({type:"leftright-right",names:["\\right"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var n=e.parser.gullet.macros.get("\\current@color");if(n&&"string"!==typeof n)throw new ni("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:e.parser.mode,delim:Tl(t[0],e).text,color:n}}}),rs({type:"leftright",names:["\\left"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var n=Tl(t[0],e),r=e.parser;++r.leftrightDepth;var o=r.parseExpression(!1);--r.leftrightDepth,r.expect("\\right",!1);var i=js(r.parseFunction(),"leftright-right");return{type:"leftright",mode:r.mode,body:o,left:n.text,right:i.delim,rightColor:i.color}},htmlBuilder:(e,t)=>{_l(e);for(var n,r,o=ds(e.body,t,!0,["mopen","mclose"]),i=0,a=0,s=!1,l=0;l{_l(e);var n=ks(e.body,t);if("."!==e.left){var r=new ws.MathNode("mo",[Ss(e.left,e.mode)]);r.setAttribute("fence","true"),n.unshift(r)}if("."!==e.right){var o=new ws.MathNode("mo",[Ss(e.right,e.mode)]);o.setAttribute("fence","true"),e.rightColor&&o.setAttribute("mathcolor",e.rightColor),n.push(o)}return xs(n)}}),rs({type:"middle",names:["\\middle"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var n=Tl(t[0],e);if(!e.parser.leftrightDepth)throw new ni("\\middle without preceding \\left",n);return{type:"middle",mode:e.parser.mode,delim:n.text}},htmlBuilder:(e,t)=>{var n;if("."===e.delim)n=gs(t,[]);else{n=El.sizedDelim(e.delim,1,t,e.mode,[]);var r={delim:e.delim,options:t};n.isMiddle=r}return n},mathmlBuilder:(e,t)=>{var n="\\vert"===e.delim||"|"===e.delim?Ss("|","text"):Ss(e.delim,e.mode),r=new ws.MathNode("mo",[n]);return r.setAttribute("fence","true"),r.setAttribute("lspace","0.05em"),r.setAttribute("rspace","0.05em"),r}});var Rl=(e,t)=>{var n,r,o,i=$a.wrapFragment(Os(e.body,t),t),a=e.label.slice(1),s=t.sizeMultiplier,l=0,c=si.isCharacterBox(e.body);if("sout"===a)(n=$a.makeSpan(["stretchy","sout"])).height=t.fontMetrics().defaultRuleThickness/s,l=-.5*t.fontMetrics().xHeight;else if("phase"===a){var u=Li({number:.6,unit:"pt"},t),p=Li({number:.35,unit:"ex"},t);s/=t.havingBaseSizing().sizeMultiplier;var d=i.height+i.depth+u+p;i.style.paddingLeft=ji(d/2+u);var b=Math.floor(1e3*d*s),f="M400000 "+(r=b)+" H0 L"+r/2+" 0 l65 45 L145 "+(r-80)+" H400000z",h=new Ki([new Yi("phase",f)],{width:"400em",height:ji(b/1e3),viewBox:"0 0 400000 "+b,preserveAspectRatio:"xMinYMin slice"});(n=$a.makeSvgSpan(["hide-tail"],[h],t)).style.height=ji(d),l=i.depth+u+p}else{/cancel/.test(a)?c||i.classes.push("cancel-pad"):"angl"===a?i.classes.push("anglpad"):i.classes.push("boxpad");var m=0,g=0,O=0;/box/.test(a)?(O=Math.max(t.fontMetrics().fboxrule,t.minRuleThickness),g=m=t.fontMetrics().fboxsep+("colorbox"===a?0:O)):"angl"===a?(m=4*(O=Math.max(t.fontMetrics().defaultRuleThickness,t.minRuleThickness)),g=Math.max(0,.25-i.depth)):g=m=c?.2:0,n=Ws(i,a,m,g,t),/fbox|boxed|fcolorbox/.test(a)?(n.style.borderStyle="solid",n.style.borderWidth=ji(O)):"angl"===a&&.049!==O&&(n.style.borderTopWidth=ji(O),n.style.borderRightWidth=ji(O)),l=i.depth+g,e.backgroundColor&&(n.style.backgroundColor=e.backgroundColor,e.borderColor&&(n.style.borderColor=e.borderColor))}if(e.backgroundColor)o=$a.makeVList({positionType:"individualShift",children:[{type:"elem",elem:n,shift:l},{type:"elem",elem:i,shift:0}]},t);else{var y=/cancel|phase/.test(a)?["svg-align"]:[];o=$a.makeVList({positionType:"individualShift",children:[{type:"elem",elem:i,shift:0},{type:"elem",elem:n,shift:l,wrapperClasses:y}]},t)}return/cancel/.test(a)&&(o.height=i.height,o.depth=i.depth),/cancel/.test(a)&&!c?$a.makeSpan(["mord","cancel-lap"],[o],t):$a.makeSpan(["mord"],[o],t)},Cl=(e,t)=>{var n=0,r=new ws.MathNode(e.label.indexOf("colorbox")>-1?"mpadded":"menclose",[Ts(e.body,t)]);switch(e.label){case"\\cancel":r.setAttribute("notation","updiagonalstrike");break;case"\\bcancel":r.setAttribute("notation","downdiagonalstrike");break;case"\\phase":r.setAttribute("notation","phasorangle");break;case"\\sout":r.setAttribute("notation","horizontalstrike");break;case"\\fbox":r.setAttribute("notation","box");break;case"\\angl":r.setAttribute("notation","actuarial");break;case"\\fcolorbox":case"\\colorbox":if(n=t.fontMetrics().fboxsep*t.fontMetrics().ptPerEm,r.setAttribute("width","+"+2*n+"pt"),r.setAttribute("height","+"+2*n+"pt"),r.setAttribute("lspace",n+"pt"),r.setAttribute("voffset",n+"pt"),"\\fcolorbox"===e.label){var o=Math.max(t.fontMetrics().fboxrule,t.minRuleThickness);r.setAttribute("style","border: "+o+"em solid "+String(e.borderColor))}break;case"\\xcancel":r.setAttribute("notation","updiagonalstrike downdiagonalstrike")}return e.backgroundColor&&r.setAttribute("mathbackground",e.backgroundColor),r};rs({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,argTypes:["color","text"]},handler(e,t,n){var{parser:r,funcName:o}=e,i=js(t[0],"color-token").color,a=t[1];return{type:"enclose",mode:r.mode,label:o,backgroundColor:i,body:a}},htmlBuilder:Rl,mathmlBuilder:Cl}),rs({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,argTypes:["color","color","text"]},handler(e,t,n){var{parser:r,funcName:o}=e,i=js(t[0],"color-token").color,a=js(t[1],"color-token").color,s=t[2];return{type:"enclose",mode:r.mode,label:o,backgroundColor:a,borderColor:i,body:s}},htmlBuilder:Rl,mathmlBuilder:Cl}),rs({type:"enclose",names:["\\fbox"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!0},handler(e,t){var{parser:n}=e;return{type:"enclose",mode:n.mode,label:"\\fbox",body:t[0]}}}),rs({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\sout","\\phase"],props:{numArgs:1},handler(e,t){var{parser:n,funcName:r}=e,o=t[0];return{type:"enclose",mode:n.mode,label:r,body:o}},htmlBuilder:Rl,mathmlBuilder:Cl}),rs({type:"enclose",names:["\\angl"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!1},handler(e,t){var{parser:n}=e;return{type:"enclose",mode:n.mode,label:"\\angl",body:t[0]}}});var Nl={};function Il(e){for(var{type:t,names:n,props:r,handler:o,htmlBuilder:i,mathmlBuilder:a}=e,s={type:t,numArgs:r.numArgs||0,allowedInText:!1,numOptionalArgs:0,handler:o},l=0;l{if(!e.parser.settings.displayMode)throw new ni("{"+e.envName+"} can be used only in display mode.")};function Dl(e){if(-1===e.indexOf("ed"))return-1===e.indexOf("*")}function Bl(e,t,n){var{hskipBeforeAndAfter:r,addJot:o,cols:i,arraystretch:a,colSeparationType:s,autoTag:l,singleRow:c,emptySingleRow:u,maxNumCols:p,leqno:d}=t;if(e.gullet.beginGroup(),c||e.gullet.macros.set("\\cr","\\\\\\relax"),!a){var b=e.gullet.expandMacroAsText("\\arraystretch");if(null==b)a=1;else if(!(a=parseFloat(b))||a<0)throw new ni("Invalid \\arraystretch: "+b)}e.gullet.beginGroup();var f=[],h=[f],m=[],g=[],O=null!=l?[]:void 0;function y(){l&&e.gullet.macros.set("\\@eqnsw","1",!0)}function M(){O&&(e.gullet.macros.get("\\df@tag")?(O.push(e.subparse([new ti("\\df@tag")])),e.gullet.macros.set("\\df@tag",void 0,!0)):O.push(Boolean(l)&&"1"===e.gullet.macros.get("\\@eqnsw")))}for(y(),g.push(Ll(e));;){var z=e.parseExpression(!1,c?"\\end":"\\\\");e.gullet.endGroup(),e.gullet.beginGroup(),z={type:"ordgroup",mode:e.mode,body:z},n&&(z={type:"styling",mode:e.mode,style:n,body:[z]}),f.push(z);var A=e.fetch().text;if("&"===A){if(p&&f.length===p){if(c||s)throw new ni("Too many tab characters: &",e.nextToken);e.settings.reportNonstrict("textEnv","Too few columns specified in the {array} column argument.")}e.consume()}else{if("\\end"===A){M(),1===f.length&&"styling"===z.type&&0===z.body[0].body.length&&(h.length>1||!u)&&h.pop(),g.length0&&(g+=.25),l.push({pos:g,isDashed:e[t]})}for(O(i[0]),n=0;n0&&(z<(S+=m)&&(z=S),S=0),e.addJot&&(z+=b),A.height=M,A.depth=z,g+=M,A.pos=g,g+=z+S,s[n]=A,O(i[n+1])}var x,E,k=g/2+t.fontMetrics().axisHeight,q=e.cols||[],T=[],_=[];if(e.tags&&e.tags.some((e=>e)))for(n=0;n=a)){var B=void 0;(r>0||e.hskipBeforeAndAfter)&&0!==(B=si.deflt(W.pregap,p))&&((x=$a.makeSpan(["arraycolsep"],[])).style.width=ji(B),T.push(x));var F=[];for(n=0;n0){for(var X=$a.makeLineSpan("hline",t,c),G=$a.makeLineSpan("hdashline",t,c),$=[{type:"elem",elem:s,shift:0}];l.length>0;){var K=l.pop(),Y=K.pos-k;K.isDashed?$.push({type:"elem",elem:G,shift:Y}):$.push({type:"elem",elem:X,shift:Y})}s=$a.makeVList({positionType:"individualShift",children:$},t)}if(0===_.length)return $a.makeSpan(["mord"],[s],t);var Z=$a.makeVList({positionType:"individualShift",children:_},t);return Z=$a.makeSpan(["tag"],[Z],t),$a.makeFragment([s,Z])},Ul={c:"center ",l:"left ",r:"right "},Hl=function(e,t){for(var n=[],r=new ws.MathNode("mtd",[],["mtr-glue"]),o=new ws.MathNode("mtd",[],["mml-eqn-num"]),i=0;i0){var b=e.cols,f="",h=!1,m=0,g=b.length;"separator"===b[0].type&&(p+="top ",m=1),"separator"===b[b.length-1].type&&(p+="bottom ",g-=1);for(var O=m;O0?"left ":"",p+=v[v.length-1].length>0?"right ":"";for(var w=1;w-1?"alignat":"align",i="split"===e.envName,a=Bl(e.parser,{cols:r,addJot:!0,autoTag:i?void 0:Dl(e.envName),emptySingleRow:!0,colSeparationType:o,maxNumCols:i?2:void 0,leqno:e.parser.settings.leqno},"display"),s=0,l={type:"ordgroup",mode:e.mode,body:[]};if(t[0]&&"ordgroup"===t[0].type){for(var c="",u=0;u0&&p&&(f=1),r[d]={type:"align",align:b,pregap:f,postgap:0}}return a.colSeparationType=p?"align":"alignat",a};Il({type:"array",names:["array","darray"],props:{numArgs:1},handler(e,t){var n=(Bs(t[0])?[t[0]]:js(t[0],"ordgroup").body).map((function(e){var t=Ds(e).text;if(-1!=="lcr".indexOf(t))return{type:"align",align:t};if("|"===t)return{type:"separator",separator:"|"};if(":"===t)return{type:"separator",separator:":"};throw new ni("Unknown column alignment: "+t,e)})),r={cols:n,hskipBeforeAndAfter:!0,maxNumCols:n.length};return Bl(e.parser,r,Fl(e.envName))},htmlBuilder:Vl,mathmlBuilder:Hl}),Il({type:"array",names:["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix","matrix*","pmatrix*","bmatrix*","Bmatrix*","vmatrix*","Vmatrix*"],props:{numArgs:0},handler(e){var t={matrix:null,pmatrix:["(",")"],bmatrix:["[","]"],Bmatrix:["\\{","\\}"],vmatrix:["|","|"],Vmatrix:["\\Vert","\\Vert"]}[e.envName.replace("*","")],n="c",r={hskipBeforeAndAfter:!1,cols:[{type:"align",align:n}]};if("*"===e.envName.charAt(e.envName.length-1)){var o=e.parser;if(o.consumeSpaces(),"["===o.fetch().text){if(o.consume(),o.consumeSpaces(),n=o.fetch().text,-1==="lcr".indexOf(n))throw new ni("Expected l or c or r",o.nextToken);o.consume(),o.consumeSpaces(),o.expect("]"),o.consume(),r.cols=[{type:"align",align:n}]}}var i=Bl(e.parser,r,Fl(e.envName)),a=Math.max(0,...i.body.map((e=>e.length)));return i.cols=new Array(a).fill({type:"align",align:n}),t?{type:"leftright",mode:e.mode,body:[i],left:t[0],right:t[1],rightColor:void 0}:i},htmlBuilder:Vl,mathmlBuilder:Hl}),Il({type:"array",names:["smallmatrix"],props:{numArgs:0},handler(e){var t=Bl(e.parser,{arraystretch:.5},"script");return t.colSeparationType="small",t},htmlBuilder:Vl,mathmlBuilder:Hl}),Il({type:"array",names:["subarray"],props:{numArgs:1},handler(e,t){var n=(Bs(t[0])?[t[0]]:js(t[0],"ordgroup").body).map((function(e){var t=Ds(e).text;if(-1!=="lc".indexOf(t))return{type:"align",align:t};throw new ni("Unknown column alignment: "+t,e)}));if(n.length>1)throw new ni("{subarray} can contain only one column");var r={cols:n,hskipBeforeAndAfter:!1,arraystretch:.5};if((r=Bl(e.parser,r,"script")).body.length>0&&r.body[0].length>1)throw new ni("{subarray} can contain only one column");return r},htmlBuilder:Vl,mathmlBuilder:Hl}),Il({type:"array",names:["cases","dcases","rcases","drcases"],props:{numArgs:0},handler(e){var t=Bl(e.parser,{arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]},Fl(e.envName));return{type:"leftright",mode:e.mode,body:[t],left:e.envName.indexOf("r")>-1?".":"\\{",right:e.envName.indexOf("r")>-1?"\\}":".",rightColor:void 0}},htmlBuilder:Vl,mathmlBuilder:Hl}),Il({type:"array",names:["align","align*","aligned","split"],props:{numArgs:0},handler:Xl,htmlBuilder:Vl,mathmlBuilder:Hl}),Il({type:"array",names:["gathered","gather","gather*"],props:{numArgs:0},handler(e){si.contains(["gather","gather*"],e.envName)&&jl(e);var t={cols:[{type:"align",align:"c"}],addJot:!0,colSeparationType:"gather",autoTag:Dl(e.envName),emptySingleRow:!0,leqno:e.parser.settings.leqno};return Bl(e.parser,t,"display")},htmlBuilder:Vl,mathmlBuilder:Hl}),Il({type:"array",names:["alignat","alignat*","alignedat"],props:{numArgs:1},handler:Xl,htmlBuilder:Vl,mathmlBuilder:Hl}),Il({type:"array",names:["equation","equation*"],props:{numArgs:0},handler(e){jl(e);var t={autoTag:Dl(e.envName),emptySingleRow:!0,singleRow:!0,maxNumCols:1,leqno:e.parser.settings.leqno};return Bl(e.parser,t,"display")},htmlBuilder:Vl,mathmlBuilder:Hl}),Il({type:"array",names:["CD"],props:{numArgs:0},handler:e=>(jl(e),function(e){var t=[];for(e.gullet.beginGroup(),e.gullet.macros.set("\\cr","\\\\\\relax"),e.gullet.beginGroup();;){t.push(e.parseExpression(!1,"\\\\")),e.gullet.endGroup(),e.gullet.beginGroup();var n=e.fetch().text;if("&"!==n&&"\\\\"!==n){if("\\end"===n){0===t[t.length-1].length&&t.pop();break}throw new ni("Expected \\\\ or \\cr or \\end",e.nextToken)}e.consume()}for(var r=[],o=[r],i=0;i-1);else{if(!("<>AV".indexOf(c)>-1))throw new ni('Expected one of "<>AV=|." after @',a[l]);for(var p=0;p<2;p++){for(var d=!0,b=l+1;b{var n=e.font,r=t.withFont(n);return Os(e.body,r)},Kl=(e,t)=>{var n=e.font,r=t.withFont(n);return Ts(e.body,r)},Yl={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak","\\bm":"\\boldsymbol"};rs({type:"font",names:["\\mathrm","\\mathit","\\mathbf","\\mathnormal","\\mathbb","\\mathcal","\\mathfrak","\\mathscr","\\mathsf","\\mathtt","\\Bbb","\\bold","\\frak"],props:{numArgs:1,allowedInArgument:!0},handler:(e,t)=>{var{parser:n,funcName:r}=e,o=is(t[0]),i=r;return i in Yl&&(i=Yl[i]),{type:"font",mode:n.mode,font:i.slice(1),body:o}},htmlBuilder:$l,mathmlBuilder:Kl}),rs({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1},handler:(e,t)=>{var{parser:n}=e,r=t[0],o=si.isCharacterBox(r);return{type:"mclass",mode:n.mode,mclass:Ks(r),body:[{type:"font",mode:n.mode,font:"boldsymbol",body:r}],isCharacterBox:o}}}),rs({type:"font",names:["\\rm","\\sf","\\tt","\\bf","\\it","\\cal"],props:{numArgs:0,allowedInText:!0},handler:(e,t)=>{var{parser:n,funcName:r,breakOnTokenText:o}=e,{mode:i}=n,a=n.parseExpression(!0,o);return{type:"font",mode:i,font:"math"+r.slice(1),body:{type:"ordgroup",mode:n.mode,body:a}}},htmlBuilder:$l,mathmlBuilder:Kl});var Zl=(e,t)=>{var n=t;return"display"===e?n=n.id>=yi.SCRIPT.id?n.text():yi.DISPLAY:"text"===e&&n.size===yi.DISPLAY.size?n=yi.TEXT:"script"===e?n=yi.SCRIPT:"scriptscript"===e&&(n=yi.SCRIPTSCRIPT),n},Jl=(e,t)=>{var n,r=Zl(e.size,t.style),o=r.fracNum(),i=r.fracDen();n=t.havingStyle(o);var a=Os(e.numer,n,t);if(e.continued){var s=8.5/t.fontMetrics().ptPerEm,l=3.5/t.fontMetrics().ptPerEm;a.height=a.height0?3*p:7*p,f=t.fontMetrics().denom1):(u>0?(d=t.fontMetrics().num2,b=p):(d=t.fontMetrics().num3,b=3*p),f=t.fontMetrics().denom2),c){var M=t.fontMetrics().axisHeight;d-a.depth-(M+.5*u){var n=new ws.MathNode("mfrac",[Ts(e.numer,t),Ts(e.denom,t)]);if(e.hasBarLine){if(e.barSize){var r=Li(e.barSize,t);n.setAttribute("linethickness",ji(r))}}else n.setAttribute("linethickness","0px");var o=Zl(e.size,t.style);if(o.size!==t.style.size){n=new ws.MathNode("mstyle",[n]);var i=o.size===yi.DISPLAY.size?"true":"false";n.setAttribute("displaystyle",i),n.setAttribute("scriptlevel","0")}if(null!=e.leftDelim||null!=e.rightDelim){var a=[];if(null!=e.leftDelim){var s=new ws.MathNode("mo",[new ws.TextNode(e.leftDelim.replace("\\",""))]);s.setAttribute("fence","true"),a.push(s)}if(a.push(n),null!=e.rightDelim){var l=new ws.MathNode("mo",[new ws.TextNode(e.rightDelim.replace("\\",""))]);l.setAttribute("fence","true"),a.push(l)}return xs(a)}return n};rs({type:"genfrac",names:["\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac","\\\\bracefrac","\\\\brackfrac"],props:{numArgs:2,allowedInArgument:!0},handler:(e,t)=>{var n,{parser:r,funcName:o}=e,i=t[0],a=t[1],s=null,l=null,c="auto";switch(o){case"\\dfrac":case"\\frac":case"\\tfrac":n=!0;break;case"\\\\atopfrac":n=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":n=!1,s="(",l=")";break;case"\\\\bracefrac":n=!1,s="\\{",l="\\}";break;case"\\\\brackfrac":n=!1,s="[",l="]";break;default:throw new Error("Unrecognized genfrac command")}switch(o){case"\\dfrac":case"\\dbinom":c="display";break;case"\\tfrac":case"\\tbinom":c="text"}return{type:"genfrac",mode:r.mode,continued:!1,numer:i,denom:a,hasBarLine:n,leftDelim:s,rightDelim:l,size:c,barSize:null}},htmlBuilder:Jl,mathmlBuilder:Ql}),rs({type:"genfrac",names:["\\cfrac"],props:{numArgs:2},handler:(e,t)=>{var{parser:n,funcName:r}=e,o=t[0],i=t[1];return{type:"genfrac",mode:n.mode,continued:!0,numer:o,denom:i,hasBarLine:!0,leftDelim:null,rightDelim:null,size:"display",barSize:null}}}),rs({type:"infix",names:["\\over","\\choose","\\atop","\\brace","\\brack"],props:{numArgs:0,infix:!0},handler(e){var t,{parser:n,funcName:r,token:o}=e;switch(r){case"\\over":t="\\frac";break;case"\\choose":t="\\binom";break;case"\\atop":t="\\\\atopfrac";break;case"\\brace":t="\\\\bracefrac";break;case"\\brack":t="\\\\brackfrac";break;default:throw new Error("Unrecognized infix genfrac command")}return{type:"infix",mode:n.mode,replaceWith:t,token:o}}});var ec=["display","text","script","scriptscript"],tc=function(e){var t=null;return e.length>0&&(t="."===(t=e)?null:t),t};rs({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,allowedInArgument:!0,argTypes:["math","math","size","text","math","math"]},handler(e,t){var n,{parser:r}=e,o=t[4],i=t[5],a=is(t[0]),s="atom"===a.type&&"open"===a.family?tc(a.text):null,l=is(t[1]),c="atom"===l.type&&"close"===l.family?tc(l.text):null,u=js(t[2],"size"),p=null;n=!!u.isBlank||(p=u.value).number>0;var d="auto",b=t[3];if("ordgroup"===b.type){if(b.body.length>0){var f=js(b.body[0],"textord");d=ec[Number(f.text)]}}else b=js(b,"textord"),d=ec[Number(b.text)];return{type:"genfrac",mode:r.mode,numer:o,denom:i,continued:!1,hasBarLine:n,barSize:p,leftDelim:s,rightDelim:c,size:d}},htmlBuilder:Jl,mathmlBuilder:Ql}),rs({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler(e,t){var{parser:n,funcName:r,token:o}=e;return{type:"infix",mode:n.mode,replaceWith:"\\\\abovefrac",size:js(t[0],"size").value,token:o}}}),rs({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:(e,t)=>{var{parser:n,funcName:r}=e,o=t[0],i=function(e){if(!e)throw new Error("Expected non-null, but got "+String(e));return e}(js(t[1],"infix").size),a=t[2],s=i.number>0;return{type:"genfrac",mode:n.mode,numer:o,denom:a,continued:!1,hasBarLine:s,barSize:i,leftDelim:null,rightDelim:null,size:"auto"}},htmlBuilder:Jl,mathmlBuilder:Ql});var nc=(e,t)=>{var n,r,o=t.style;"supsub"===e.type?(n=e.sup?Os(e.sup,t.havingStyle(o.sup()),t):Os(e.sub,t.havingStyle(o.sub()),t),r=js(e.base,"horizBrace")):r=js(e,"horizBrace");var i,a=Os(r.base,t.havingBaseStyle(yi.DISPLAY)),s=Ls(r,t);if(r.isOver?(i=$a.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:a},{type:"kern",size:.1},{type:"elem",elem:s}]},t)).children[0].children[0].children[1].classes.push("svg-align"):(i=$a.makeVList({positionType:"bottom",positionData:a.depth+.1+s.height,children:[{type:"elem",elem:s},{type:"kern",size:.1},{type:"elem",elem:a}]},t)).children[0].children[0].children[0].classes.push("svg-align"),n){var l=$a.makeSpan(["mord",r.isOver?"mover":"munder"],[i],t);i=r.isOver?$a.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:l},{type:"kern",size:.2},{type:"elem",elem:n}]},t):$a.makeVList({positionType:"bottom",positionData:l.depth+.2+n.height+n.depth,children:[{type:"elem",elem:n},{type:"kern",size:.2},{type:"elem",elem:l}]},t)}return $a.makeSpan(["mord",r.isOver?"mover":"munder"],[i],t)};rs({type:"horizBrace",names:["\\overbrace","\\underbrace"],props:{numArgs:1},handler(e,t){var{parser:n,funcName:r}=e;return{type:"horizBrace",mode:n.mode,label:r,isOver:/^\\over/.test(r),base:t[0]}},htmlBuilder:nc,mathmlBuilder:(e,t)=>{var n=Ps(e.label);return new ws.MathNode(e.isOver?"mover":"munder",[Ts(e.base,t),n])}}),rs({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:(e,t)=>{var{parser:n}=e,r=t[1],o=js(t[0],"url").url;return n.settings.isTrusted({command:"\\href",url:o})?{type:"href",mode:n.mode,href:o,body:as(r)}:n.formatUnsupportedCmd("\\href")},htmlBuilder:(e,t)=>{var n=ds(e.body,t,!1);return $a.makeAnchor(e.href,[],n,t)},mathmlBuilder:(e,t)=>{var n=qs(e.body,t);return n instanceof As||(n=new As("mrow",[n])),n.setAttribute("href",e.href),n}}),rs({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:(e,t)=>{var{parser:n}=e,r=js(t[0],"url").url;if(!n.settings.isTrusted({command:"\\url",url:r}))return n.formatUnsupportedCmd("\\url");for(var o=[],i=0;inew ws.MathNode("mrow",ks(e.body,t))}),rs({type:"html",names:["\\htmlClass","\\htmlId","\\htmlStyle","\\htmlData"],props:{numArgs:2,argTypes:["raw","original"],allowedInText:!0},handler:(e,t)=>{var n,{parser:r,funcName:o,token:i}=e,a=js(t[0],"raw").string,s=t[1];r.settings.strict&&r.settings.reportNonstrict("htmlExtension","HTML extension is disabled on strict mode");var l={};switch(o){case"\\htmlClass":l.class=a,n={command:"\\htmlClass",class:a};break;case"\\htmlId":l.id=a,n={command:"\\htmlId",id:a};break;case"\\htmlStyle":l.style=a,n={command:"\\htmlStyle",style:a};break;case"\\htmlData":for(var c=a.split(","),u=0;u{var n=ds(e.body,t,!1),r=["enclosing"];e.attributes.class&&r.push(...e.attributes.class.trim().split(/\s+/));var o=$a.makeSpan(r,n,t);for(var i in e.attributes)"class"!==i&&e.attributes.hasOwnProperty(i)&&o.setAttribute(i,e.attributes[i]);return o},mathmlBuilder:(e,t)=>qs(e.body,t)}),rs({type:"htmlmathml",names:["\\html@mathml"],props:{numArgs:2,allowedInText:!0},handler:(e,t)=>{var{parser:n}=e;return{type:"htmlmathml",mode:n.mode,html:as(t[0]),mathml:as(t[1])}},htmlBuilder:(e,t)=>{var n=ds(e.html,t,!1);return $a.makeFragment(n)},mathmlBuilder:(e,t)=>qs(e.mathml,t)});var rc=function(e){if(/^[-+]? *(\d+(\.\d*)?|\.\d+)$/.test(e))return{number:+e,unit:"bp"};var t=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(e);if(!t)throw new ni("Invalid size: '"+e+"' in \\includegraphics");var n={number:+(t[1]+t[2]),unit:t[3]};if(!Pi(n))throw new ni("Invalid unit: '"+n.unit+"' in \\includegraphics.");return n};rs({type:"includegraphics",names:["\\includegraphics"],props:{numArgs:1,numOptionalArgs:1,argTypes:["raw","url"],allowedInText:!1},handler:(e,t,n)=>{var{parser:r}=e,o={number:0,unit:"em"},i={number:.9,unit:"em"},a={number:0,unit:"em"},s="";if(n[0])for(var l=js(n[0],"raw").string.split(","),c=0;c{var n=Li(e.height,t),r=0;e.totalheight.number>0&&(r=Li(e.totalheight,t)-n);var o=0;e.width.number>0&&(o=Li(e.width,t));var i={height:ji(n+r)};o>0&&(i.width=ji(o)),r>0&&(i.verticalAlign=ji(-r));var a=new Xi(e.src,e.alt,i);return a.height=n,a.depth=r,a},mathmlBuilder:(e,t)=>{var n=new ws.MathNode("mglyph",[]);n.setAttribute("alt",e.alt);var r=Li(e.height,t),o=0;if(e.totalheight.number>0&&(o=Li(e.totalheight,t)-r,n.setAttribute("valign",ji(-o))),n.setAttribute("height",ji(r+o)),e.width.number>0){var i=Li(e.width,t);n.setAttribute("width",ji(i))}return n.setAttribute("src",e.src),n}}),rs({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],props:{numArgs:1,argTypes:["size"],primitive:!0,allowedInText:!0},handler(e,t){var{parser:n,funcName:r}=e,o=js(t[0],"size");if(n.settings.strict){var i="m"===r[1],a="mu"===o.value.unit;i?(a||n.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+r+" supports only mu units, not "+o.value.unit+" units"),"math"!==n.mode&&n.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+r+" works only in math mode")):a&&n.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+r+" doesn't support mu units")}return{type:"kern",mode:n.mode,dimension:o.value}},htmlBuilder:(e,t)=>$a.makeGlue(e.dimension,t),mathmlBuilder(e,t){var n=Li(e.dimension,t);return new ws.SpaceNode(n)}}),rs({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:n,funcName:r}=e,o=t[0];return{type:"lap",mode:n.mode,alignment:r.slice(5),body:o}},htmlBuilder:(e,t)=>{var n;"clap"===e.alignment?(n=$a.makeSpan([],[Os(e.body,t)]),n=$a.makeSpan(["inner"],[n],t)):n=$a.makeSpan(["inner"],[Os(e.body,t)]);var r=$a.makeSpan(["fix"],[]),o=$a.makeSpan([e.alignment],[n,r],t),i=$a.makeSpan(["strut"]);return i.style.height=ji(o.height+o.depth),o.depth&&(i.style.verticalAlign=ji(-o.depth)),o.children.unshift(i),o=$a.makeSpan(["thinbox"],[o],t),$a.makeSpan(["mord","vbox"],[o],t)},mathmlBuilder:(e,t)=>{var n=new ws.MathNode("mpadded",[Ts(e.body,t)]);if("rlap"!==e.alignment){var r="llap"===e.alignment?"-1":"-0.5";n.setAttribute("lspace",r+"width")}return n.setAttribute("width","0px"),n}}),rs({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(e,t){var{funcName:n,parser:r}=e,o=r.mode;r.switchMode("math");var i="\\("===n?"\\)":"$",a=r.parseExpression(!1,i);return r.expect(i),r.switchMode(o),{type:"styling",mode:r.mode,style:"text",body:a}}}),rs({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(e,t){throw new ni("Mismatched "+e.funcName)}});var oc=(e,t)=>{switch(t.style.size){case yi.DISPLAY.size:return e.display;case yi.TEXT.size:return e.text;case yi.SCRIPT.size:return e.script;case yi.SCRIPTSCRIPT.size:return e.scriptscript;default:return e.text}};rs({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4,primitive:!0},handler:(e,t)=>{var{parser:n}=e;return{type:"mathchoice",mode:n.mode,display:as(t[0]),text:as(t[1]),script:as(t[2]),scriptscript:as(t[3])}},htmlBuilder:(e,t)=>{var n=oc(e,t),r=ds(n,t,!1);return $a.makeFragment(r)},mathmlBuilder:(e,t)=>{var n=oc(e,t);return qs(n,t)}});var ic=(e,t,n,r,o,i,a)=>{e=$a.makeSpan([],[e]);var s,l,c,u=n&&si.isCharacterBox(n);if(t){var p=Os(t,r.havingStyle(o.sup()),r);l={elem:p,kern:Math.max(r.fontMetrics().bigOpSpacing1,r.fontMetrics().bigOpSpacing3-p.depth)}}if(n){var d=Os(n,r.havingStyle(o.sub()),r);s={elem:d,kern:Math.max(r.fontMetrics().bigOpSpacing2,r.fontMetrics().bigOpSpacing4-d.height)}}if(l&&s){var b=r.fontMetrics().bigOpSpacing5+s.elem.height+s.elem.depth+s.kern+e.depth+a;c=$a.makeVList({positionType:"bottom",positionData:b,children:[{type:"kern",size:r.fontMetrics().bigOpSpacing5},{type:"elem",elem:s.elem,marginLeft:ji(-i)},{type:"kern",size:s.kern},{type:"elem",elem:e},{type:"kern",size:l.kern},{type:"elem",elem:l.elem,marginLeft:ji(i)},{type:"kern",size:r.fontMetrics().bigOpSpacing5}]},r)}else if(s){var f=e.height-a;c=$a.makeVList({positionType:"top",positionData:f,children:[{type:"kern",size:r.fontMetrics().bigOpSpacing5},{type:"elem",elem:s.elem,marginLeft:ji(-i)},{type:"kern",size:s.kern},{type:"elem",elem:e}]},r)}else{if(!l)return e;var h=e.depth+a;c=$a.makeVList({positionType:"bottom",positionData:h,children:[{type:"elem",elem:e},{type:"kern",size:l.kern},{type:"elem",elem:l.elem,marginLeft:ji(i)},{type:"kern",size:r.fontMetrics().bigOpSpacing5}]},r)}var m=[c];if(s&&0!==i&&!u){var g=$a.makeSpan(["mspace"],[],r);g.style.marginRight=ji(i),m.unshift(g)}return $a.makeSpan(["mop","op-limits"],m,r)},ac=["\\smallint"],sc=(e,t)=>{var n,r,o,i=!1;"supsub"===e.type?(n=e.sup,r=e.sub,o=js(e.base,"op"),i=!0):o=js(e,"op");var a,s=t.style,l=!1;if(s.size===yi.DISPLAY.size&&o.symbol&&!si.contains(ac,o.name)&&(l=!0),o.symbol){var c=l?"Size2-Regular":"Size1-Regular",u="";if("\\oiint"!==o.name&&"\\oiiint"!==o.name||(u=o.name.slice(1),o.name="oiint"===u?"\\iint":"\\iiint"),a=$a.makeSymbol(o.name,c,"math",t,["mop","op-symbol",l?"large-op":"small-op"]),u.length>0){var p=a.italic,d=$a.staticSvg(u+"Size"+(l?"2":"1"),t);a=$a.makeVList({positionType:"individualShift",children:[{type:"elem",elem:a,shift:0},{type:"elem",elem:d,shift:l?.08:0}]},t),o.name="\\"+u,a.classes.unshift("mop"),a.italic=p}}else if(o.body){var b=ds(o.body,t,!0);1===b.length&&b[0]instanceof $i?(a=b[0]).classes[0]="mop":a=$a.makeSpan(["mop"],b,t)}else{for(var f=[],h=1;h{var n;if(e.symbol)n=new As("mo",[Ss(e.name,e.mode)]),si.contains(ac,e.name)&&n.setAttribute("largeop","false");else if(e.body)n=new As("mo",ks(e.body,t));else{n=new As("mi",[new vs(e.name.slice(1))]);var r=new As("mo",[Ss("\u2061","text")]);n=e.parentIsSupSub?new As("mrow",[n,r]):zs([n,r])}return n},cc={"\u220f":"\\prod","\u2210":"\\coprod","\u2211":"\\sum","\u22c0":"\\bigwedge","\u22c1":"\\bigvee","\u22c2":"\\bigcap","\u22c3":"\\bigcup","\u2a00":"\\bigodot","\u2a01":"\\bigoplus","\u2a02":"\\bigotimes","\u2a04":"\\biguplus","\u2a06":"\\bigsqcup"};rs({type:"op",names:["\\coprod","\\bigvee","\\bigwedge","\\biguplus","\\bigcap","\\bigcup","\\intop","\\prod","\\sum","\\bigotimes","\\bigoplus","\\bigodot","\\bigsqcup","\\smallint","\u220f","\u2210","\u2211","\u22c0","\u22c1","\u22c2","\u22c3","\u2a00","\u2a01","\u2a02","\u2a04","\u2a06"],props:{numArgs:0},handler:(e,t)=>{var{parser:n,funcName:r}=e,o=r;return 1===o.length&&(o=cc[o]),{type:"op",mode:n.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:o}},htmlBuilder:sc,mathmlBuilder:lc}),rs({type:"op",names:["\\mathop"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var{parser:n}=e,r=t[0];return{type:"op",mode:n.mode,limits:!1,parentIsSupSub:!1,symbol:!1,body:as(r)}},htmlBuilder:sc,mathmlBuilder:lc});var uc={"\u222b":"\\int","\u222c":"\\iint","\u222d":"\\iiint","\u222e":"\\oint","\u222f":"\\oiint","\u2230":"\\oiiint"};rs({type:"op",names:["\\arcsin","\\arccos","\\arctan","\\arctg","\\arcctg","\\arg","\\ch","\\cos","\\cosec","\\cosh","\\cot","\\cotg","\\coth","\\csc","\\ctg","\\cth","\\deg","\\dim","\\exp","\\hom","\\ker","\\lg","\\ln","\\log","\\sec","\\sin","\\sinh","\\sh","\\tan","\\tanh","\\tg","\\th"],props:{numArgs:0},handler(e){var{parser:t,funcName:n}=e;return{type:"op",mode:t.mode,limits:!1,parentIsSupSub:!1,symbol:!1,name:n}},htmlBuilder:sc,mathmlBuilder:lc}),rs({type:"op",names:["\\det","\\gcd","\\inf","\\lim","\\max","\\min","\\Pr","\\sup"],props:{numArgs:0},handler(e){var{parser:t,funcName:n}=e;return{type:"op",mode:t.mode,limits:!0,parentIsSupSub:!1,symbol:!1,name:n}},htmlBuilder:sc,mathmlBuilder:lc}),rs({type:"op",names:["\\int","\\iint","\\iiint","\\oint","\\oiint","\\oiiint","\u222b","\u222c","\u222d","\u222e","\u222f","\u2230"],props:{numArgs:0},handler(e){var{parser:t,funcName:n}=e,r=n;return 1===r.length&&(r=uc[r]),{type:"op",mode:t.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:r}},htmlBuilder:sc,mathmlBuilder:lc});var pc=(e,t)=>{var n,r,o,i,a=!1;if("supsub"===e.type?(n=e.sup,r=e.sub,o=js(e.base,"operatorname"),a=!0):o=js(e,"operatorname"),o.body.length>0){for(var s=o.body.map((e=>{var t=e.text;return"string"===typeof t?{type:"textord",mode:e.mode,text:t}:e})),l=ds(s,t.withFont("mathrm"),!0),c=0;c{var{parser:n,funcName:r}=e,o=t[0];return{type:"operatorname",mode:n.mode,body:as(o),alwaysHandleSupSub:"\\operatornamewithlimits"===r,limits:!1,parentIsSupSub:!1}},htmlBuilder:pc,mathmlBuilder:(e,t)=>{for(var n=ks(e.body,t.withFont("mathrm")),r=!0,o=0;oe.toText())).join("");n=[new ws.TextNode(s)]}var l=new ws.MathNode("mi",n);l.setAttribute("mathvariant","normal");var c=new ws.MathNode("mo",[Ss("\u2061","text")]);return e.parentIsSupSub?new ws.MathNode("mrow",[l,c]):ws.newDocumentFragment([l,c])}}),Pl("\\operatorname","\\@ifstar\\operatornamewithlimits\\operatorname@"),os({type:"ordgroup",htmlBuilder:(e,t)=>e.semisimple?$a.makeFragment(ds(e.body,t,!1)):$a.makeSpan(["mord"],ds(e.body,t,!0),t),mathmlBuilder:(e,t)=>qs(e.body,t,!0)}),rs({type:"overline",names:["\\overline"],props:{numArgs:1},handler(e,t){var{parser:n}=e,r=t[0];return{type:"overline",mode:n.mode,body:r}},htmlBuilder(e,t){var n=Os(e.body,t.havingCrampedStyle()),r=$a.makeLineSpan("overline-line",t),o=t.fontMetrics().defaultRuleThickness,i=$a.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:n},{type:"kern",size:3*o},{type:"elem",elem:r},{type:"kern",size:o}]},t);return $a.makeSpan(["mord","overline"],[i],t)},mathmlBuilder(e,t){var n=new ws.MathNode("mo",[new ws.TextNode("\u203e")]);n.setAttribute("stretchy","true");var r=new ws.MathNode("mover",[Ts(e.body,t),n]);return r.setAttribute("accent","true"),r}}),rs({type:"phantom",names:["\\phantom"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:n}=e,r=t[0];return{type:"phantom",mode:n.mode,body:as(r)}},htmlBuilder:(e,t)=>{var n=ds(e.body,t.withPhantom(),!1);return $a.makeFragment(n)},mathmlBuilder:(e,t)=>{var n=ks(e.body,t);return new ws.MathNode("mphantom",n)}}),rs({type:"hphantom",names:["\\hphantom"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:n}=e,r=t[0];return{type:"hphantom",mode:n.mode,body:r}},htmlBuilder:(e,t)=>{var n=$a.makeSpan([],[Os(e.body,t.withPhantom())]);if(n.height=0,n.depth=0,n.children)for(var r=0;r{var n=ks(as(e.body),t),r=new ws.MathNode("mphantom",n),o=new ws.MathNode("mpadded",[r]);return o.setAttribute("height","0px"),o.setAttribute("depth","0px"),o}}),rs({type:"vphantom",names:["\\vphantom"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:n}=e,r=t[0];return{type:"vphantom",mode:n.mode,body:r}},htmlBuilder:(e,t)=>{var n=$a.makeSpan(["inner"],[Os(e.body,t.withPhantom())]),r=$a.makeSpan(["fix"],[]);return $a.makeSpan(["mord","rlap"],[n,r],t)},mathmlBuilder:(e,t)=>{var n=ks(as(e.body),t),r=new ws.MathNode("mphantom",n),o=new ws.MathNode("mpadded",[r]);return o.setAttribute("width","0px"),o}}),rs({type:"raisebox",names:["\\raisebox"],props:{numArgs:2,argTypes:["size","hbox"],allowedInText:!0},handler(e,t){var{parser:n}=e,r=js(t[0],"size").value,o=t[1];return{type:"raisebox",mode:n.mode,dy:r,body:o}},htmlBuilder(e,t){var n=Os(e.body,t),r=Li(e.dy,t);return $a.makeVList({positionType:"shift",positionData:-r,children:[{type:"elem",elem:n}]},t)},mathmlBuilder(e,t){var n=new ws.MathNode("mpadded",[Ts(e.body,t)]),r=e.dy.number+e.dy.unit;return n.setAttribute("voffset",r),n}}),rs({type:"internal",names:["\\relax"],props:{numArgs:0,allowedInText:!0},handler(e){var{parser:t}=e;return{type:"internal",mode:t.mode}}}),rs({type:"rule",names:["\\rule"],props:{numArgs:2,numOptionalArgs:1,argTypes:["size","size","size"]},handler(e,t,n){var{parser:r}=e,o=n[0],i=js(t[0],"size"),a=js(t[1],"size");return{type:"rule",mode:r.mode,shift:o&&js(o,"size").value,width:i.value,height:a.value}},htmlBuilder(e,t){var n=$a.makeSpan(["mord","rule"],[],t),r=Li(e.width,t),o=Li(e.height,t),i=e.shift?Li(e.shift,t):0;return n.style.borderRightWidth=ji(r),n.style.borderTopWidth=ji(o),n.style.bottom=ji(i),n.width=r,n.height=o+i,n.depth=-i,n.maxFontSize=1.125*o*t.sizeMultiplier,n},mathmlBuilder(e,t){var n=Li(e.width,t),r=Li(e.height,t),o=e.shift?Li(e.shift,t):0,i=t.color&&t.getColor()||"black",a=new ws.MathNode("mspace");a.setAttribute("mathbackground",i),a.setAttribute("width",ji(n)),a.setAttribute("height",ji(r));var s=new ws.MathNode("mpadded",[a]);return o>=0?s.setAttribute("height",ji(o)):(s.setAttribute("height",ji(o)),s.setAttribute("depth",ji(-o))),s.setAttribute("voffset",ji(o)),s}});var bc=["\\tiny","\\sixptsize","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"];rs({type:"sizing",names:bc,props:{numArgs:0,allowedInText:!0},handler:(e,t)=>{var{breakOnTokenText:n,funcName:r,parser:o}=e,i=o.parseExpression(!1,n);return{type:"sizing",mode:o.mode,size:bc.indexOf(r)+1,body:i}},htmlBuilder:(e,t)=>{var n=t.havingSize(e.size);return dc(e.body,n,t)},mathmlBuilder:(e,t)=>{var n=t.havingSize(e.size),r=ks(e.body,n),o=new ws.MathNode("mstyle",r);return o.setAttribute("mathsize",ji(n.sizeMultiplier)),o}}),rs({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:(e,t,n)=>{var{parser:r}=e,o=!1,i=!1,a=n[0]&&js(n[0],"ordgroup");if(a)for(var s="",l=0;l{var n=$a.makeSpan([],[Os(e.body,t)]);if(!e.smashHeight&&!e.smashDepth)return n;if(e.smashHeight&&(n.height=0,n.children))for(var r=0;r{var n=new ws.MathNode("mpadded",[Ts(e.body,t)]);return e.smashHeight&&n.setAttribute("height","0px"),e.smashDepth&&n.setAttribute("depth","0px"),n}}),rs({type:"sqrt",names:["\\sqrt"],props:{numArgs:1,numOptionalArgs:1},handler(e,t,n){var{parser:r}=e,o=n[0],i=t[0];return{type:"sqrt",mode:r.mode,body:i,index:o}},htmlBuilder(e,t){var n=Os(e.body,t.havingCrampedStyle());0===n.height&&(n.height=t.fontMetrics().xHeight),n=$a.wrapFragment(n,t);var r=t.fontMetrics().defaultRuleThickness,o=r;t.style.idn.height+n.depth+i&&(i=(i+u-n.height-n.depth)/2);var p=s.height-n.height-i-l;n.style.paddingLeft=ji(c);var d=$a.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:n,wrapperClasses:["svg-align"]},{type:"kern",size:-(n.height+p)},{type:"elem",elem:s},{type:"kern",size:l}]},t);if(e.index){var b=t.havingStyle(yi.SCRIPTSCRIPT),f=Os(e.index,b,t),h=.6*(d.height-d.depth),m=$a.makeVList({positionType:"shift",positionData:-h,children:[{type:"elem",elem:f}]},t),g=$a.makeSpan(["root"],[m]);return $a.makeSpan(["mord","sqrt"],[g,d],t)}return $a.makeSpan(["mord","sqrt"],[d],t)},mathmlBuilder(e,t){var{body:n,index:r}=e;return r?new ws.MathNode("mroot",[Ts(n,t),Ts(r,t)]):new ws.MathNode("msqrt",[Ts(n,t)])}});var fc={display:yi.DISPLAY,text:yi.TEXT,script:yi.SCRIPT,scriptscript:yi.SCRIPTSCRIPT};rs({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e,t){var{breakOnTokenText:n,funcName:r,parser:o}=e,i=o.parseExpression(!0,n),a=r.slice(1,r.length-5);return{type:"styling",mode:o.mode,style:a,body:i}},htmlBuilder(e,t){var n=fc[e.style],r=t.havingStyle(n).withFont("");return dc(e.body,r,t)},mathmlBuilder(e,t){var n=fc[e.style],r=t.havingStyle(n),o=ks(e.body,r),i=new ws.MathNode("mstyle",o),a={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]}[e.style];return i.setAttribute("scriptlevel",a[0]),i.setAttribute("displaystyle",a[1]),i}});os({type:"supsub",htmlBuilder(e,t){var n=function(e,t){var n=e.base;return n?"op"===n.type?n.limits&&(t.style.size===yi.DISPLAY.size||n.alwaysHandleSupSub)?sc:null:"operatorname"===n.type?n.alwaysHandleSupSub&&(t.style.size===yi.DISPLAY.size||n.limits)?pc:null:"accent"===n.type?si.isCharacterBox(n.base)?Fs:null:"horizBrace"===n.type&&!e.sub===n.isOver?nc:null:null}(e,t);if(n)return n(e,t);var r,o,i,{base:a,sup:s,sub:l}=e,c=Os(a,t),u=t.fontMetrics(),p=0,d=0,b=a&&si.isCharacterBox(a);if(s){var f=t.havingStyle(t.style.sup());r=Os(s,f,t),b||(p=c.height-f.fontMetrics().supDrop*f.sizeMultiplier/t.sizeMultiplier)}if(l){var h=t.havingStyle(t.style.sub());o=Os(l,h,t),b||(d=c.depth+h.fontMetrics().subDrop*h.sizeMultiplier/t.sizeMultiplier)}i=t.style===yi.DISPLAY?u.sup1:t.style.cramped?u.sup3:u.sup2;var m,g=t.sizeMultiplier,O=ji(.5/u.ptPerEm/g),y=null;if(o){var M=e.base&&"op"===e.base.type&&e.base.name&&("\\oiint"===e.base.name||"\\oiiint"===e.base.name);(c instanceof $i||M)&&(y=ji(-c.italic))}if(r&&o){p=Math.max(p,i,r.depth+.25*u.xHeight),d=Math.max(d,u.sub2);var z=4*u.defaultRuleThickness;if(p-r.depth-(o.height-d)0&&(p+=A,d-=A)}var v=[{type:"elem",elem:o,shift:d,marginRight:O,marginLeft:y},{type:"elem",elem:r,shift:-p,marginRight:O}];m=$a.makeVList({positionType:"individualShift",children:v},t)}else if(o){d=Math.max(d,u.sub1,o.height-.8*u.xHeight);var w=[{type:"elem",elem:o,marginLeft:y,marginRight:O}];m=$a.makeVList({positionType:"shift",positionData:d,children:w},t)}else{if(!r)throw new Error("supsub must have either sup or sub.");p=Math.max(p,i,r.depth+.25*u.xHeight),m=$a.makeVList({positionType:"shift",positionData:-p,children:[{type:"elem",elem:r,marginRight:O}]},t)}var S=ms(c,"right")||"mord";return $a.makeSpan([S],[c,$a.makeSpan(["msupsub"],[m])],t)},mathmlBuilder(e,t){var n,r=!1;e.base&&"horizBrace"===e.base.type&&!!e.sup===e.base.isOver&&(r=!0,n=e.base.isOver),!e.base||"op"!==e.base.type&&"operatorname"!==e.base.type||(e.base.parentIsSupSub=!0);var o,i=[Ts(e.base,t)];if(e.sub&&i.push(Ts(e.sub,t)),e.sup&&i.push(Ts(e.sup,t)),r)o=n?"mover":"munder";else if(e.sub)if(e.sup){var a=e.base;o=a&&"op"===a.type&&a.limits&&t.style===yi.DISPLAY||a&&"operatorname"===a.type&&a.alwaysHandleSupSub&&(t.style===yi.DISPLAY||a.limits)?"munderover":"msubsup"}else{var s=e.base;o=s&&"op"===s.type&&s.limits&&(t.style===yi.DISPLAY||s.alwaysHandleSupSub)||s&&"operatorname"===s.type&&s.alwaysHandleSupSub&&(s.limits||t.style===yi.DISPLAY)?"munder":"msub"}else{var l=e.base;o=l&&"op"===l.type&&l.limits&&(t.style===yi.DISPLAY||l.alwaysHandleSupSub)||l&&"operatorname"===l.type&&l.alwaysHandleSupSub&&(l.limits||t.style===yi.DISPLAY)?"mover":"msup"}return new ws.MathNode(o,i)}}),os({type:"atom",htmlBuilder:(e,t)=>$a.mathsym(e.text,e.mode,t,["m"+e.family]),mathmlBuilder(e,t){var n=new ws.MathNode("mo",[Ss(e.text,e.mode)]);if("bin"===e.family){var r=Es(e,t);"bold-italic"===r&&n.setAttribute("mathvariant",r)}else"punct"===e.family?n.setAttribute("separator","true"):"open"!==e.family&&"close"!==e.family||n.setAttribute("stretchy","false");return n}});var hc={mi:"italic",mn:"normal",mtext:"normal"};os({type:"mathord",htmlBuilder:(e,t)=>$a.makeOrd(e,t,"mathord"),mathmlBuilder(e,t){var n=new ws.MathNode("mi",[Ss(e.text,e.mode,t)]),r=Es(e,t)||"italic";return r!==hc[n.type]&&n.setAttribute("mathvariant",r),n}}),os({type:"textord",htmlBuilder:(e,t)=>$a.makeOrd(e,t,"textord"),mathmlBuilder(e,t){var n,r=Ss(e.text,e.mode,t),o=Es(e,t)||"normal";return n="text"===e.mode?new ws.MathNode("mtext",[r]):/[0-9]/.test(e.text)?new ws.MathNode("mn",[r]):"\\prime"===e.text?new ws.MathNode("mo",[r]):new ws.MathNode("mi",[r]),o!==hc[n.type]&&n.setAttribute("mathvariant",o),n}});var mc={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},gc={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};os({type:"spacing",htmlBuilder(e,t){if(gc.hasOwnProperty(e.text)){var n=gc[e.text].className||"";if("text"===e.mode){var r=$a.makeOrd(e,t,"textord");return r.classes.push(n),r}return $a.makeSpan(["mspace",n],[$a.mathsym(e.text,e.mode,t)],t)}if(mc.hasOwnProperty(e.text))return $a.makeSpan(["mspace",mc[e.text]],[],t);throw new ni('Unknown type of space "'+e.text+'"')},mathmlBuilder(e,t){if(!gc.hasOwnProperty(e.text)){if(mc.hasOwnProperty(e.text))return new ws.MathNode("mspace");throw new ni('Unknown type of space "'+e.text+'"')}return new ws.MathNode("mtext",[new ws.TextNode("\xa0")])}});var Oc=()=>{var e=new ws.MathNode("mtd",[]);return e.setAttribute("width","50%"),e};os({type:"tag",mathmlBuilder(e,t){var n=new ws.MathNode("mtable",[new ws.MathNode("mtr",[Oc(),new ws.MathNode("mtd",[qs(e.body,t)]),Oc(),new ws.MathNode("mtd",[qs(e.tag,t)])])]);return n.setAttribute("width","100%"),n}});var yc={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},Mc={"\\textbf":"textbf","\\textmd":"textmd"},zc={"\\textit":"textit","\\textup":"textup"},Ac=(e,t)=>{var n=e.font;return n?yc[n]?t.withTextFontFamily(yc[n]):Mc[n]?t.withTextFontWeight(Mc[n]):t.withTextFontShape(zc[n]):t};rs({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textmd","\\textit","\\textup"],props:{numArgs:1,argTypes:["text"],allowedInArgument:!0,allowedInText:!0},handler(e,t){var{parser:n,funcName:r}=e,o=t[0];return{type:"text",mode:n.mode,body:as(o),font:r}},htmlBuilder(e,t){var n=Ac(e,t),r=ds(e.body,n,!0);return $a.makeSpan(["mord","text"],r,n)},mathmlBuilder(e,t){var n=Ac(e,t);return qs(e.body,n)}}),rs({type:"underline",names:["\\underline"],props:{numArgs:1,allowedInText:!0},handler(e,t){var{parser:n}=e;return{type:"underline",mode:n.mode,body:t[0]}},htmlBuilder(e,t){var n=Os(e.body,t),r=$a.makeLineSpan("underline-line",t),o=t.fontMetrics().defaultRuleThickness,i=$a.makeVList({positionType:"top",positionData:n.height,children:[{type:"kern",size:o},{type:"elem",elem:r},{type:"kern",size:3*o},{type:"elem",elem:n}]},t);return $a.makeSpan(["mord","underline"],[i],t)},mathmlBuilder(e,t){var n=new ws.MathNode("mo",[new ws.TextNode("\u203e")]);n.setAttribute("stretchy","true");var r=new ws.MathNode("munder",[Ts(e.body,t),n]);return r.setAttribute("accentunder","true"),r}}),rs({type:"vcenter",names:["\\vcenter"],props:{numArgs:1,argTypes:["original"],allowedInText:!1},handler(e,t){var{parser:n}=e;return{type:"vcenter",mode:n.mode,body:t[0]}},htmlBuilder(e,t){var n=Os(e.body,t),r=t.fontMetrics().axisHeight,o=.5*(n.height-r-(n.depth+r));return $a.makeVList({positionType:"shift",positionData:o,children:[{type:"elem",elem:n}]},t)},mathmlBuilder:(e,t)=>new ws.MathNode("mpadded",[Ts(e.body,t)],["vcenter"])}),rs({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler(e,t,n){throw new ni("\\verb ended by end of line instead of matching delimiter")},htmlBuilder(e,t){for(var n=vc(e),r=[],o=t.havingStyle(t.style.text()),i=0;ie.body.replace(/ /g,e.star?"\u2423":"\xa0"),wc=es,Sc="[ \r\n\t]",xc="(\\\\[a-zA-Z@]+)"+Sc+"*",Ec="[\u0300-\u036f]",kc=new RegExp(Ec+"+$"),qc="("+Sc+"+)|\\\\(\n|[ \r\t]+\n?)[ \r\t]*|([!-\\[\\]-\u2027\u202a-\ud7ff\uf900-\uffff]"+Ec+"*|[\ud800-\udbff][\udc00-\udfff]"+Ec+"*|\\\\verb\\*([^]).*?\\4|\\\\verb([^*a-zA-Z]).*?\\5|"+xc+"|\\\\[^\ud800-\udfff])";class Tc{constructor(e,t){this.input=void 0,this.settings=void 0,this.tokenRegex=void 0,this.catcodes=void 0,this.input=e,this.settings=t,this.tokenRegex=new RegExp(qc,"g"),this.catcodes={"%":14,"~":13}}setCatcode(e,t){this.catcodes[e]=t}lex(){var e=this.input,t=this.tokenRegex.lastIndex;if(t===e.length)return new ti("EOF",new ei(this,t,t));var n=this.tokenRegex.exec(e);if(null===n||n.index!==t)throw new ni("Unexpected character: '"+e[t]+"'",new ti(e[t],new ei(this,t,t+1)));var r=n[6]||n[3]||(n[2]?"\\ ":" ");if(14===this.catcodes[r]){var o=e.indexOf("\n",this.tokenRegex.lastIndex);return-1===o?(this.tokenRegex.lastIndex=e.length,this.settings.reportNonstrict("commentAtEnd","% comment has no terminating newline; LaTeX would fail because of commenting the end of math mode (e.g. $)")):this.tokenRegex.lastIndex=o+1,this.lex()}return new ti(r,new ei(this,t,this.tokenRegex.lastIndex))}}class _c{constructor(e,t){void 0===e&&(e={}),void 0===t&&(t={}),this.current=void 0,this.builtins=void 0,this.undefStack=void 0,this.current=t,this.builtins=e,this.undefStack=[]}beginGroup(){this.undefStack.push({})}endGroup(){if(0===this.undefStack.length)throw new ni("Unbalanced namespace destruction: attempt to pop global namespace; please report this as a bug");var e=this.undefStack.pop();for(var t in e)e.hasOwnProperty(t)&&(null==e[t]?delete this.current[t]:this.current[t]=e[t])}endGroups(){for(;this.undefStack.length>0;)this.endGroup()}has(e){return this.current.hasOwnProperty(e)||this.builtins.hasOwnProperty(e)}get(e){return this.current.hasOwnProperty(e)?this.current[e]:this.builtins[e]}set(e,t,n){if(void 0===n&&(n=!1),n){for(var r=0;r0&&(this.undefStack[this.undefStack.length-1][e]=t)}else{var o=this.undefStack[this.undefStack.length-1];o&&!o.hasOwnProperty(e)&&(o[e]=this.current[e])}null==t?delete this.current[e]:this.current[e]=t}}var Rc=Wl;Pl("\\noexpand",(function(e){var t=e.popToken();return e.isExpandable(t.text)&&(t.noexpand=!0,t.treatAsRelax=!0),{tokens:[t],numArgs:0}})),Pl("\\expandafter",(function(e){var t=e.popToken();return e.expandOnce(!0),{tokens:[t],numArgs:0}})),Pl("\\@firstoftwo",(function(e){return{tokens:e.consumeArgs(2)[0],numArgs:0}})),Pl("\\@secondoftwo",(function(e){return{tokens:e.consumeArgs(2)[1],numArgs:0}})),Pl("\\@ifnextchar",(function(e){var t=e.consumeArgs(3);e.consumeSpaces();var n=e.future();return 1===t[0].length&&t[0][0].text===n.text?{tokens:t[1],numArgs:0}:{tokens:t[2],numArgs:0}})),Pl("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}"),Pl("\\TextOrMath",(function(e){var t=e.consumeArgs(2);return"text"===e.mode?{tokens:t[0],numArgs:0}:{tokens:t[1],numArgs:0}}));var Cc={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,a:10,A:10,b:11,B:11,c:12,C:12,d:13,D:13,e:14,E:14,f:15,F:15};Pl("\\char",(function(e){var t,n=e.popToken(),r="";if("'"===n.text)t=8,n=e.popToken();else if('"'===n.text)t=16,n=e.popToken();else if("`"===n.text)if("\\"===(n=e.popToken()).text[0])r=n.text.charCodeAt(1);else{if("EOF"===n.text)throw new ni("\\char` missing argument");r=n.text.charCodeAt(0)}else t=10;if(t){if(null==(r=Cc[n.text])||r>=t)throw new ni("Invalid base-"+t+" digit "+n.text);for(var o;null!=(o=Cc[e.future().text])&&o{var r=e.consumeArg().tokens;if(1!==r.length)throw new ni("\\newcommand's first argument must be a macro name");var o=r[0].text,i=e.isDefined(o);if(i&&!t)throw new ni("\\newcommand{"+o+"} attempting to redefine "+o+"; use \\renewcommand");if(!i&&!n)throw new ni("\\renewcommand{"+o+"} when command "+o+" does not yet exist; use \\newcommand");var a=0;if(1===(r=e.consumeArg().tokens).length&&"["===r[0].text){for(var s="",l=e.expandNextToken();"]"!==l.text&&"EOF"!==l.text;)s+=l.text,l=e.expandNextToken();if(!s.match(/^\s*[0-9]+\s*$/))throw new ni("Invalid number of arguments: "+s);a=parseInt(s),r=e.consumeArg().tokens}return e.macros.set(o,{tokens:r,numArgs:a}),""};Pl("\\newcommand",(e=>Nc(e,!1,!0))),Pl("\\renewcommand",(e=>Nc(e,!0,!1))),Pl("\\providecommand",(e=>Nc(e,!0,!0))),Pl("\\message",(e=>{var t=e.consumeArgs(1)[0];return console.log(t.reverse().map((e=>e.text)).join("")),""})),Pl("\\errmessage",(e=>{var t=e.consumeArgs(1)[0];return console.error(t.reverse().map((e=>e.text)).join("")),""})),Pl("\\show",(e=>{var t=e.popToken(),n=t.text;return console.log(t,e.macros.get(n),wc[n],ta.math[n],ta.text[n]),""})),Pl("\\bgroup","{"),Pl("\\egroup","}"),Pl("~","\\nobreakspace"),Pl("\\lq","`"),Pl("\\rq","'"),Pl("\\aa","\\r a"),Pl("\\AA","\\r A"),Pl("\\textcopyright","\\html@mathml{\\textcircled{c}}{\\char`\xa9}"),Pl("\\copyright","\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}"),Pl("\\textregistered","\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`\xae}"),Pl("\u212c","\\mathscr{B}"),Pl("\u2130","\\mathscr{E}"),Pl("\u2131","\\mathscr{F}"),Pl("\u210b","\\mathscr{H}"),Pl("\u2110","\\mathscr{I}"),Pl("\u2112","\\mathscr{L}"),Pl("\u2133","\\mathscr{M}"),Pl("\u211b","\\mathscr{R}"),Pl("\u212d","\\mathfrak{C}"),Pl("\u210c","\\mathfrak{H}"),Pl("\u2128","\\mathfrak{Z}"),Pl("\\Bbbk","\\Bbb{k}"),Pl("\xb7","\\cdotp"),Pl("\\llap","\\mathllap{\\textrm{#1}}"),Pl("\\rlap","\\mathrlap{\\textrm{#1}}"),Pl("\\clap","\\mathclap{\\textrm{#1}}"),Pl("\\mathstrut","\\vphantom{(}"),Pl("\\underbar","\\underline{\\text{#1}}"),Pl("\\not",'\\html@mathml{\\mathrel{\\mathrlap\\@not}}{\\char"338}'),Pl("\\neq","\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`\u2260}}"),Pl("\\ne","\\neq"),Pl("\u2260","\\neq"),Pl("\\notin","\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`\u2209}}"),Pl("\u2209","\\notin"),Pl("\u2258","\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`\u2258}}"),Pl("\u2259","\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`\u2258}}"),Pl("\u225a","\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`\u225a}}"),Pl("\u225b","\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`\u225b}}"),Pl("\u225d","\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`\u225d}}"),Pl("\u225e","\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`\u225e}}"),Pl("\u225f","\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`\u225f}}"),Pl("\u27c2","\\perp"),Pl("\u203c","\\mathclose{!\\mkern-0.8mu!}"),Pl("\u220c","\\notni"),Pl("\u231c","\\ulcorner"),Pl("\u231d","\\urcorner"),Pl("\u231e","\\llcorner"),Pl("\u231f","\\lrcorner"),Pl("\xa9","\\copyright"),Pl("\xae","\\textregistered"),Pl("\ufe0f","\\textregistered"),Pl("\\ulcorner",'\\html@mathml{\\@ulcorner}{\\mathop{\\char"231c}}'),Pl("\\urcorner",'\\html@mathml{\\@urcorner}{\\mathop{\\char"231d}}'),Pl("\\llcorner",'\\html@mathml{\\@llcorner}{\\mathop{\\char"231e}}'),Pl("\\lrcorner",'\\html@mathml{\\@lrcorner}{\\mathop{\\char"231f}}'),Pl("\\vdots","\\mathord{\\varvdots\\rule{0pt}{15pt}}"),Pl("\u22ee","\\vdots"),Pl("\\varGamma","\\mathit{\\Gamma}"),Pl("\\varDelta","\\mathit{\\Delta}"),Pl("\\varTheta","\\mathit{\\Theta}"),Pl("\\varLambda","\\mathit{\\Lambda}"),Pl("\\varXi","\\mathit{\\Xi}"),Pl("\\varPi","\\mathit{\\Pi}"),Pl("\\varSigma","\\mathit{\\Sigma}"),Pl("\\varUpsilon","\\mathit{\\Upsilon}"),Pl("\\varPhi","\\mathit{\\Phi}"),Pl("\\varPsi","\\mathit{\\Psi}"),Pl("\\varOmega","\\mathit{\\Omega}"),Pl("\\substack","\\begin{subarray}{c}#1\\end{subarray}"),Pl("\\colon","\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu\\relax"),Pl("\\boxed","\\fbox{$\\displaystyle{#1}$}"),Pl("\\iff","\\DOTSB\\;\\Longleftrightarrow\\;"),Pl("\\implies","\\DOTSB\\;\\Longrightarrow\\;"),Pl("\\impliedby","\\DOTSB\\;\\Longleftarrow\\;");var Ic={",":"\\dotsc","\\not":"\\dotsb","+":"\\dotsb","=":"\\dotsb","<":"\\dotsb",">":"\\dotsb","-":"\\dotsb","*":"\\dotsb",":":"\\dotsb","\\DOTSB":"\\dotsb","\\coprod":"\\dotsb","\\bigvee":"\\dotsb","\\bigwedge":"\\dotsb","\\biguplus":"\\dotsb","\\bigcap":"\\dotsb","\\bigcup":"\\dotsb","\\prod":"\\dotsb","\\sum":"\\dotsb","\\bigotimes":"\\dotsb","\\bigoplus":"\\dotsb","\\bigodot":"\\dotsb","\\bigsqcup":"\\dotsb","\\And":"\\dotsb","\\longrightarrow":"\\dotsb","\\Longrightarrow":"\\dotsb","\\longleftarrow":"\\dotsb","\\Longleftarrow":"\\dotsb","\\longleftrightarrow":"\\dotsb","\\Longleftrightarrow":"\\dotsb","\\mapsto":"\\dotsb","\\longmapsto":"\\dotsb","\\hookrightarrow":"\\dotsb","\\doteq":"\\dotsb","\\mathbin":"\\dotsb","\\mathrel":"\\dotsb","\\relbar":"\\dotsb","\\Relbar":"\\dotsb","\\xrightarrow":"\\dotsb","\\xleftarrow":"\\dotsb","\\DOTSI":"\\dotsi","\\int":"\\dotsi","\\oint":"\\dotsi","\\iint":"\\dotsi","\\iiint":"\\dotsi","\\iiiint":"\\dotsi","\\idotsint":"\\dotsi","\\DOTSX":"\\dotsx"};Pl("\\dots",(function(e){var t="\\dotso",n=e.expandAfterFuture().text;return n in Ic?t=Ic[n]:("\\not"===n.slice(0,4)||n in ta.math&&si.contains(["bin","rel"],ta.math[n].group))&&(t="\\dotsb"),t}));var Wc={")":!0,"]":!0,"\\rbrack":!0,"\\}":!0,"\\rbrace":!0,"\\rangle":!0,"\\rceil":!0,"\\rfloor":!0,"\\rgroup":!0,"\\rmoustache":!0,"\\right":!0,"\\bigr":!0,"\\biggr":!0,"\\Bigr":!0,"\\Biggr":!0,$:!0,";":!0,".":!0,",":!0};Pl("\\dotso",(function(e){return e.future().text in Wc?"\\ldots\\,":"\\ldots"})),Pl("\\dotsc",(function(e){var t=e.future().text;return t in Wc&&","!==t?"\\ldots\\,":"\\ldots"})),Pl("\\cdots",(function(e){return e.future().text in Wc?"\\@cdots\\,":"\\@cdots"})),Pl("\\dotsb","\\cdots"),Pl("\\dotsm","\\cdots"),Pl("\\dotsi","\\!\\cdots"),Pl("\\dotsx","\\ldots\\,"),Pl("\\DOTSI","\\relax"),Pl("\\DOTSB","\\relax"),Pl("\\DOTSX","\\relax"),Pl("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax"),Pl("\\,","\\tmspace+{3mu}{.1667em}"),Pl("\\thinspace","\\,"),Pl("\\>","\\mskip{4mu}"),Pl("\\:","\\tmspace+{4mu}{.2222em}"),Pl("\\medspace","\\:"),Pl("\\;","\\tmspace+{5mu}{.2777em}"),Pl("\\thickspace","\\;"),Pl("\\!","\\tmspace-{3mu}{.1667em}"),Pl("\\negthinspace","\\!"),Pl("\\negmedspace","\\tmspace-{4mu}{.2222em}"),Pl("\\negthickspace","\\tmspace-{5mu}{.277em}"),Pl("\\enspace","\\kern.5em "),Pl("\\enskip","\\hskip.5em\\relax"),Pl("\\quad","\\hskip1em\\relax"),Pl("\\qquad","\\hskip2em\\relax"),Pl("\\tag","\\@ifstar\\tag@literal\\tag@paren"),Pl("\\tag@paren","\\tag@literal{({#1})}"),Pl("\\tag@literal",(e=>{if(e.macros.get("\\df@tag"))throw new ni("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"})),Pl("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}"),Pl("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)"),Pl("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}"),Pl("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1"),Pl("\\newline","\\\\\\relax"),Pl("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");var Pc=ji(xi["Main-Regular"]["T".charCodeAt(0)][1]-.7*xi["Main-Regular"]["A".charCodeAt(0)][1]);Pl("\\LaTeX","\\textrm{\\html@mathml{L\\kern-.36em\\raisebox{"+Pc+"}{\\scriptstyle A}\\kern-.15em\\TeX}{LaTeX}}"),Pl("\\KaTeX","\\textrm{\\html@mathml{K\\kern-.17em\\raisebox{"+Pc+"}{\\scriptstyle A}\\kern-.15em\\TeX}{KaTeX}}"),Pl("\\hspace","\\@ifstar\\@hspacer\\@hspace"),Pl("\\@hspace","\\hskip #1\\relax"),Pl("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax"),Pl("\\ordinarycolon",":"),Pl("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}"),Pl("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}'),Pl("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}'),Pl("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}'),Pl("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}'),Pl("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}'),Pl("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}'),Pl("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}'),Pl("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}'),Pl("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}'),Pl("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}'),Pl("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}'),Pl("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}'),Pl("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}'),Pl("\u2237","\\dblcolon"),Pl("\u2239","\\eqcolon"),Pl("\u2254","\\coloneqq"),Pl("\u2255","\\eqqcolon"),Pl("\u2a74","\\Coloneqq"),Pl("\\ratio","\\vcentcolon"),Pl("\\coloncolon","\\dblcolon"),Pl("\\colonequals","\\coloneqq"),Pl("\\coloncolonequals","\\Coloneqq"),Pl("\\equalscolon","\\eqqcolon"),Pl("\\equalscoloncolon","\\Eqqcolon"),Pl("\\colonminus","\\coloneq"),Pl("\\coloncolonminus","\\Coloneq"),Pl("\\minuscolon","\\eqcolon"),Pl("\\minuscoloncolon","\\Eqcolon"),Pl("\\coloncolonapprox","\\Colonapprox"),Pl("\\coloncolonsim","\\Colonsim"),Pl("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),Pl("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}"),Pl("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),Pl("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}"),Pl("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`\u220c}}"),Pl("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}"),Pl("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}"),Pl("\\injlim","\\DOTSB\\operatorname*{inj\\,lim}"),Pl("\\projlim","\\DOTSB\\operatorname*{proj\\,lim}"),Pl("\\varlimsup","\\DOTSB\\operatorname*{\\overline{lim}}"),Pl("\\varliminf","\\DOTSB\\operatorname*{\\underline{lim}}"),Pl("\\varinjlim","\\DOTSB\\operatorname*{\\underrightarrow{lim}}"),Pl("\\varprojlim","\\DOTSB\\operatorname*{\\underleftarrow{lim}}"),Pl("\\gvertneqq","\\html@mathml{\\@gvertneqq}{\u2269}"),Pl("\\lvertneqq","\\html@mathml{\\@lvertneqq}{\u2268}"),Pl("\\ngeqq","\\html@mathml{\\@ngeqq}{\u2271}"),Pl("\\ngeqslant","\\html@mathml{\\@ngeqslant}{\u2271}"),Pl("\\nleqq","\\html@mathml{\\@nleqq}{\u2270}"),Pl("\\nleqslant","\\html@mathml{\\@nleqslant}{\u2270}"),Pl("\\nshortmid","\\html@mathml{\\@nshortmid}{\u2224}"),Pl("\\nshortparallel","\\html@mathml{\\@nshortparallel}{\u2226}"),Pl("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{\u2288}"),Pl("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{\u2289}"),Pl("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{\u228a}"),Pl("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{\u2acb}"),Pl("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{\u228b}"),Pl("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{\u2acc}"),Pl("\\imath","\\html@mathml{\\@imath}{\u0131}"),Pl("\\jmath","\\html@mathml{\\@jmath}{\u0237}"),Pl("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`\u27e6}}"),Pl("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`\u27e7}}"),Pl("\u27e6","\\llbracket"),Pl("\u27e7","\\rrbracket"),Pl("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`\u2983}}"),Pl("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`\u2984}}"),Pl("\u2983","\\lBrace"),Pl("\u2984","\\rBrace"),Pl("\\minuso","\\mathbin{\\html@mathml{{\\mathrlap{\\mathchoice{\\kern{0.145em}}{\\kern{0.145em}}{\\kern{0.1015em}}{\\kern{0.0725em}}\\circ}{-}}}{\\char`\u29b5}}"),Pl("\u29b5","\\minuso"),Pl("\\darr","\\downarrow"),Pl("\\dArr","\\Downarrow"),Pl("\\Darr","\\Downarrow"),Pl("\\lang","\\langle"),Pl("\\rang","\\rangle"),Pl("\\uarr","\\uparrow"),Pl("\\uArr","\\Uparrow"),Pl("\\Uarr","\\Uparrow"),Pl("\\N","\\mathbb{N}"),Pl("\\R","\\mathbb{R}"),Pl("\\Z","\\mathbb{Z}"),Pl("\\alef","\\aleph"),Pl("\\alefsym","\\aleph"),Pl("\\Alpha","\\mathrm{A}"),Pl("\\Beta","\\mathrm{B}"),Pl("\\bull","\\bullet"),Pl("\\Chi","\\mathrm{X}"),Pl("\\clubs","\\clubsuit"),Pl("\\cnums","\\mathbb{C}"),Pl("\\Complex","\\mathbb{C}"),Pl("\\Dagger","\\ddagger"),Pl("\\diamonds","\\diamondsuit"),Pl("\\empty","\\emptyset"),Pl("\\Epsilon","\\mathrm{E}"),Pl("\\Eta","\\mathrm{H}"),Pl("\\exist","\\exists"),Pl("\\harr","\\leftrightarrow"),Pl("\\hArr","\\Leftrightarrow"),Pl("\\Harr","\\Leftrightarrow"),Pl("\\hearts","\\heartsuit"),Pl("\\image","\\Im"),Pl("\\infin","\\infty"),Pl("\\Iota","\\mathrm{I}"),Pl("\\isin","\\in"),Pl("\\Kappa","\\mathrm{K}"),Pl("\\larr","\\leftarrow"),Pl("\\lArr","\\Leftarrow"),Pl("\\Larr","\\Leftarrow"),Pl("\\lrarr","\\leftrightarrow"),Pl("\\lrArr","\\Leftrightarrow"),Pl("\\Lrarr","\\Leftrightarrow"),Pl("\\Mu","\\mathrm{M}"),Pl("\\natnums","\\mathbb{N}"),Pl("\\Nu","\\mathrm{N}"),Pl("\\Omicron","\\mathrm{O}"),Pl("\\plusmn","\\pm"),Pl("\\rarr","\\rightarrow"),Pl("\\rArr","\\Rightarrow"),Pl("\\Rarr","\\Rightarrow"),Pl("\\real","\\Re"),Pl("\\reals","\\mathbb{R}"),Pl("\\Reals","\\mathbb{R}"),Pl("\\Rho","\\mathrm{P}"),Pl("\\sdot","\\cdot"),Pl("\\sect","\\S"),Pl("\\spades","\\spadesuit"),Pl("\\sub","\\subset"),Pl("\\sube","\\subseteq"),Pl("\\supe","\\supseteq"),Pl("\\Tau","\\mathrm{T}"),Pl("\\thetasym","\\vartheta"),Pl("\\weierp","\\wp"),Pl("\\Zeta","\\mathrm{Z}"),Pl("\\argmin","\\DOTSB\\operatorname*{arg\\,min}"),Pl("\\argmax","\\DOTSB\\operatorname*{arg\\,max}"),Pl("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits"),Pl("\\bra","\\mathinner{\\langle{#1}|}"),Pl("\\ket","\\mathinner{|{#1}\\rangle}"),Pl("\\braket","\\mathinner{\\langle{#1}\\rangle}"),Pl("\\Bra","\\left\\langle#1\\right|"),Pl("\\Ket","\\left|#1\\right\\rangle");var Lc=e=>t=>{var n=t.consumeArg().tokens,r=t.consumeArg().tokens,o=t.consumeArg().tokens,i=t.consumeArg().tokens,a=t.macros.get("|"),s=t.macros.get("\\|");t.macros.beginGroup();var l=t=>n=>{e&&(n.macros.set("|",a),o.length&&n.macros.set("\\|",s));var i=t;!t&&o.length&&("|"===n.future().text&&(n.popToken(),i=!0));return{tokens:i?o:r,numArgs:0}};t.macros.set("|",l(!1)),o.length&&t.macros.set("\\|",l(!0));var c=t.consumeArg().tokens,u=t.expandTokens([...i,...c,...n]);return t.macros.endGroup(),{tokens:u.reverse(),numArgs:0}};Pl("\\bra@ket",Lc(!1)),Pl("\\bra@set",Lc(!0)),Pl("\\Braket","\\bra@ket{\\left\\langle}{\\,\\middle\\vert\\,}{\\,\\middle\\vert\\,}{\\right\\rangle}"),Pl("\\Set","\\bra@set{\\left\\{\\:}{\\;\\middle\\vert\\;}{\\;\\middle\\Vert\\;}{\\:\\right\\}}"),Pl("\\set","\\bra@set{\\{\\,}{\\mid}{}{\\,\\}}"),Pl("\\angln","{\\angl n}"),Pl("\\blue","\\textcolor{##6495ed}{#1}"),Pl("\\orange","\\textcolor{##ffa500}{#1}"),Pl("\\pink","\\textcolor{##ff00af}{#1}"),Pl("\\red","\\textcolor{##df0030}{#1}"),Pl("\\green","\\textcolor{##28ae7b}{#1}"),Pl("\\gray","\\textcolor{gray}{#1}"),Pl("\\purple","\\textcolor{##9d38bd}{#1}"),Pl("\\blueA","\\textcolor{##ccfaff}{#1}"),Pl("\\blueB","\\textcolor{##80f6ff}{#1}"),Pl("\\blueC","\\textcolor{##63d9ea}{#1}"),Pl("\\blueD","\\textcolor{##11accd}{#1}"),Pl("\\blueE","\\textcolor{##0c7f99}{#1}"),Pl("\\tealA","\\textcolor{##94fff5}{#1}"),Pl("\\tealB","\\textcolor{##26edd5}{#1}"),Pl("\\tealC","\\textcolor{##01d1c1}{#1}"),Pl("\\tealD","\\textcolor{##01a995}{#1}"),Pl("\\tealE","\\textcolor{##208170}{#1}"),Pl("\\greenA","\\textcolor{##b6ffb0}{#1}"),Pl("\\greenB","\\textcolor{##8af281}{#1}"),Pl("\\greenC","\\textcolor{##74cf70}{#1}"),Pl("\\greenD","\\textcolor{##1fab54}{#1}"),Pl("\\greenE","\\textcolor{##0d923f}{#1}"),Pl("\\goldA","\\textcolor{##ffd0a9}{#1}"),Pl("\\goldB","\\textcolor{##ffbb71}{#1}"),Pl("\\goldC","\\textcolor{##ff9c39}{#1}"),Pl("\\goldD","\\textcolor{##e07d10}{#1}"),Pl("\\goldE","\\textcolor{##a75a05}{#1}"),Pl("\\redA","\\textcolor{##fca9a9}{#1}"),Pl("\\redB","\\textcolor{##ff8482}{#1}"),Pl("\\redC","\\textcolor{##f9685d}{#1}"),Pl("\\redD","\\textcolor{##e84d39}{#1}"),Pl("\\redE","\\textcolor{##bc2612}{#1}"),Pl("\\maroonA","\\textcolor{##ffbde0}{#1}"),Pl("\\maroonB","\\textcolor{##ff92c6}{#1}"),Pl("\\maroonC","\\textcolor{##ed5fa6}{#1}"),Pl("\\maroonD","\\textcolor{##ca337c}{#1}"),Pl("\\maroonE","\\textcolor{##9e034e}{#1}"),Pl("\\purpleA","\\textcolor{##ddd7ff}{#1}"),Pl("\\purpleB","\\textcolor{##c6b9fc}{#1}"),Pl("\\purpleC","\\textcolor{##aa87ff}{#1}"),Pl("\\purpleD","\\textcolor{##7854ab}{#1}"),Pl("\\purpleE","\\textcolor{##543b78}{#1}"),Pl("\\mintA","\\textcolor{##f5f9e8}{#1}"),Pl("\\mintB","\\textcolor{##edf2df}{#1}"),Pl("\\mintC","\\textcolor{##e0e5cc}{#1}"),Pl("\\grayA","\\textcolor{##f6f7f7}{#1}"),Pl("\\grayB","\\textcolor{##f0f1f2}{#1}"),Pl("\\grayC","\\textcolor{##e3e5e6}{#1}"),Pl("\\grayD","\\textcolor{##d6d8da}{#1}"),Pl("\\grayE","\\textcolor{##babec2}{#1}"),Pl("\\grayF","\\textcolor{##888d93}{#1}"),Pl("\\grayG","\\textcolor{##626569}{#1}"),Pl("\\grayH","\\textcolor{##3b3e40}{#1}"),Pl("\\grayI","\\textcolor{##21242c}{#1}"),Pl("\\kaBlue","\\textcolor{##314453}{#1}"),Pl("\\kaGreen","\\textcolor{##71B307}{#1}");var jc={"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0};class Dc{constructor(e,t,n){this.settings=void 0,this.expansionCount=void 0,this.lexer=void 0,this.macros=void 0,this.stack=void 0,this.mode=void 0,this.settings=t,this.expansionCount=0,this.feed(e),this.macros=new _c(Rc,t.macros),this.mode=n,this.stack=[]}feed(e){this.lexer=new Tc(e,this.settings)}switchMode(e){this.mode=e}beginGroup(){this.macros.beginGroup()}endGroup(){this.macros.endGroup()}endGroups(){this.macros.endGroups()}future(){return 0===this.stack.length&&this.pushToken(this.lexer.lex()),this.stack[this.stack.length-1]}popToken(){return this.future(),this.stack.pop()}pushToken(e){this.stack.push(e)}pushTokens(e){this.stack.push(...e)}scanArgument(e){var t,n,r;if(e){if(this.consumeSpaces(),"["!==this.future().text)return null;t=this.popToken(),({tokens:r,end:n}=this.consumeArg(["]"]))}else({tokens:r,start:t,end:n}=this.consumeArg());return this.pushToken(new ti("EOF",n.loc)),this.pushTokens(r),t.range(n,"")}consumeSpaces(){for(;;){if(" "!==this.future().text)break;this.stack.pop()}}consumeArg(e){var t=[],n=e&&e.length>0;n||this.consumeSpaces();var r,o=this.future(),i=0,a=0;do{if(r=this.popToken(),t.push(r),"{"===r.text)++i;else if("}"===r.text){if(-1===--i)throw new ni("Extra }",r)}else if("EOF"===r.text)throw new ni("Unexpected end of input in a macro argument, expected '"+(e&&n?e[a]:"}")+"'",r);if(e&&n)if((0===i||1===i&&"{"===e[a])&&r.text===e[a]){if(++a===e.length){t.splice(-a,a);break}}else a=0}while(0!==i||n);return"{"===o.text&&"}"===t[t.length-1].text&&(t.pop(),t.shift()),t.reverse(),{tokens:t,start:o,end:r}}consumeArgs(e,t){if(t){if(t.length!==e+1)throw new ni("The length of delimiters doesn't match the number of args!");for(var n=t[0],r=0;rthis.settings.maxExpand)throw new ni("Too many expansions: infinite loop or need to increase maxExpand setting");var o=r.tokens,i=this.consumeArgs(r.numArgs,r.delimiters);if(r.numArgs)for(var a=(o=o.slice()).length-1;a>=0;--a){var s=o[a];if("#"===s.text){if(0===a)throw new ni("Incomplete placeholder at end of macro body",s);if("#"===(s=o[--a]).text)o.splice(a+1,1);else{if(!/^[1-9]$/.test(s.text))throw new ni("Not a valid argument number",s);o.splice(a,2,...i[+s.text-1])}}}return this.pushTokens(o),o.length}expandAfterFuture(){return this.expandOnce(),this.future()}expandNextToken(){for(;;)if(!1===this.expandOnce()){var e=this.stack.pop();return e.treatAsRelax&&(e.text="\\relax"),e}throw new Error}expandMacro(e){return this.macros.has(e)?this.expandTokens([new ti(e)]):void 0}expandTokens(e){var t=[],n=this.stack.length;for(this.pushTokens(e);this.stack.length>n;)if(!1===this.expandOnce(!0)){var r=this.stack.pop();r.treatAsRelax&&(r.noexpand=!1,r.treatAsRelax=!1),t.push(r)}return t}expandMacroAsText(e){var t=this.expandMacro(e);return t?t.map((e=>e.text)).join(""):t}_getExpansion(e){var t=this.macros.get(e);if(null==t)return t;if(1===e.length){var n=this.lexer.catcodes[e];if(null!=n&&13!==n)return}var r="function"===typeof t?t(this):t;if("string"===typeof r){var o=0;if(-1!==r.indexOf("#"))for(var i=r.replace(/##/g,"");-1!==i.indexOf("#"+(o+1));)++o;for(var a=new Tc(r,this.settings),s=[],l=a.lex();"EOF"!==l.text;)s.push(l),l=a.lex();return s.reverse(),{tokens:s,numArgs:o}}return r}isDefined(e){return this.macros.has(e)||wc.hasOwnProperty(e)||ta.math.hasOwnProperty(e)||ta.text.hasOwnProperty(e)||jc.hasOwnProperty(e)}isExpandable(e){var t=this.macros.get(e);return null!=t?"string"===typeof t||"function"===typeof t||!t.unexpandable:wc.hasOwnProperty(e)&&!wc[e].primitive}}var Bc=/^[\u208a\u208b\u208c\u208d\u208e\u2080\u2081\u2082\u2083\u2084\u2085\u2086\u2087\u2088\u2089\u2090\u2091\u2095\u1d62\u2c7c\u2096\u2097\u2098\u2099\u2092\u209a\u1d63\u209b\u209c\u1d64\u1d65\u2093\u1d66\u1d67\u1d68\u1d69\u1d6a]/,Fc=Object.freeze({"\u208a":"+","\u208b":"-","\u208c":"=","\u208d":"(","\u208e":")","\u2080":"0","\u2081":"1","\u2082":"2","\u2083":"3","\u2084":"4","\u2085":"5","\u2086":"6","\u2087":"7","\u2088":"8","\u2089":"9","\u2090":"a","\u2091":"e","\u2095":"h","\u1d62":"i","\u2c7c":"j","\u2096":"k","\u2097":"l","\u2098":"m","\u2099":"n","\u2092":"o","\u209a":"p","\u1d63":"r","\u209b":"s","\u209c":"t","\u1d64":"u","\u1d65":"v","\u2093":"x","\u1d66":"\u03b2","\u1d67":"\u03b3","\u1d68":"\u03c1","\u1d69":"\u03d5","\u1d6a":"\u03c7","\u207a":"+","\u207b":"-","\u207c":"=","\u207d":"(","\u207e":")","\u2070":"0","\xb9":"1","\xb2":"2","\xb3":"3","\u2074":"4","\u2075":"5","\u2076":"6","\u2077":"7","\u2078":"8","\u2079":"9","\u1d2c":"A","\u1d2e":"B","\u1d30":"D","\u1d31":"E","\u1d33":"G","\u1d34":"H","\u1d35":"I","\u1d36":"J","\u1d37":"K","\u1d38":"L","\u1d39":"M","\u1d3a":"N","\u1d3c":"O","\u1d3e":"P","\u1d3f":"R","\u1d40":"T","\u1d41":"U","\u2c7d":"V","\u1d42":"W","\u1d43":"a","\u1d47":"b","\u1d9c":"c","\u1d48":"d","\u1d49":"e","\u1da0":"f","\u1d4d":"g","\u02b0":"h","\u2071":"i","\u02b2":"j","\u1d4f":"k","\u02e1":"l","\u1d50":"m","\u207f":"n","\u1d52":"o","\u1d56":"p","\u02b3":"r","\u02e2":"s","\u1d57":"t","\u1d58":"u","\u1d5b":"v","\u02b7":"w","\u02e3":"x","\u02b8":"y","\u1dbb":"z","\u1d5d":"\u03b2","\u1d5e":"\u03b3","\u1d5f":"\u03b4","\u1d60":"\u03d5","\u1d61":"\u03c7","\u1dbf":"\u03b8"}),Vc={"\u0301":{text:"\\'",math:"\\acute"},"\u0300":{text:"\\`",math:"\\grave"},"\u0308":{text:'\\"',math:"\\ddot"},"\u0303":{text:"\\~",math:"\\tilde"},"\u0304":{text:"\\=",math:"\\bar"},"\u0306":{text:"\\u",math:"\\breve"},"\u030c":{text:"\\v",math:"\\check"},"\u0302":{text:"\\^",math:"\\hat"},"\u0307":{text:"\\.",math:"\\dot"},"\u030a":{text:"\\r",math:"\\mathring"},"\u030b":{text:"\\H"},"\u0327":{text:"\\c"}},Uc={"\xe1":"a\u0301","\xe0":"a\u0300","\xe4":"a\u0308","\u01df":"a\u0308\u0304","\xe3":"a\u0303","\u0101":"a\u0304","\u0103":"a\u0306","\u1eaf":"a\u0306\u0301","\u1eb1":"a\u0306\u0300","\u1eb5":"a\u0306\u0303","\u01ce":"a\u030c","\xe2":"a\u0302","\u1ea5":"a\u0302\u0301","\u1ea7":"a\u0302\u0300","\u1eab":"a\u0302\u0303","\u0227":"a\u0307","\u01e1":"a\u0307\u0304","\xe5":"a\u030a","\u01fb":"a\u030a\u0301","\u1e03":"b\u0307","\u0107":"c\u0301","\u1e09":"c\u0327\u0301","\u010d":"c\u030c","\u0109":"c\u0302","\u010b":"c\u0307","\xe7":"c\u0327","\u010f":"d\u030c","\u1e0b":"d\u0307","\u1e11":"d\u0327","\xe9":"e\u0301","\xe8":"e\u0300","\xeb":"e\u0308","\u1ebd":"e\u0303","\u0113":"e\u0304","\u1e17":"e\u0304\u0301","\u1e15":"e\u0304\u0300","\u0115":"e\u0306","\u1e1d":"e\u0327\u0306","\u011b":"e\u030c","\xea":"e\u0302","\u1ebf":"e\u0302\u0301","\u1ec1":"e\u0302\u0300","\u1ec5":"e\u0302\u0303","\u0117":"e\u0307","\u0229":"e\u0327","\u1e1f":"f\u0307","\u01f5":"g\u0301","\u1e21":"g\u0304","\u011f":"g\u0306","\u01e7":"g\u030c","\u011d":"g\u0302","\u0121":"g\u0307","\u0123":"g\u0327","\u1e27":"h\u0308","\u021f":"h\u030c","\u0125":"h\u0302","\u1e23":"h\u0307","\u1e29":"h\u0327","\xed":"i\u0301","\xec":"i\u0300","\xef":"i\u0308","\u1e2f":"i\u0308\u0301","\u0129":"i\u0303","\u012b":"i\u0304","\u012d":"i\u0306","\u01d0":"i\u030c","\xee":"i\u0302","\u01f0":"j\u030c","\u0135":"j\u0302","\u1e31":"k\u0301","\u01e9":"k\u030c","\u0137":"k\u0327","\u013a":"l\u0301","\u013e":"l\u030c","\u013c":"l\u0327","\u1e3f":"m\u0301","\u1e41":"m\u0307","\u0144":"n\u0301","\u01f9":"n\u0300","\xf1":"n\u0303","\u0148":"n\u030c","\u1e45":"n\u0307","\u0146":"n\u0327","\xf3":"o\u0301","\xf2":"o\u0300","\xf6":"o\u0308","\u022b":"o\u0308\u0304","\xf5":"o\u0303","\u1e4d":"o\u0303\u0301","\u1e4f":"o\u0303\u0308","\u022d":"o\u0303\u0304","\u014d":"o\u0304","\u1e53":"o\u0304\u0301","\u1e51":"o\u0304\u0300","\u014f":"o\u0306","\u01d2":"o\u030c","\xf4":"o\u0302","\u1ed1":"o\u0302\u0301","\u1ed3":"o\u0302\u0300","\u1ed7":"o\u0302\u0303","\u022f":"o\u0307","\u0231":"o\u0307\u0304","\u0151":"o\u030b","\u1e55":"p\u0301","\u1e57":"p\u0307","\u0155":"r\u0301","\u0159":"r\u030c","\u1e59":"r\u0307","\u0157":"r\u0327","\u015b":"s\u0301","\u1e65":"s\u0301\u0307","\u0161":"s\u030c","\u1e67":"s\u030c\u0307","\u015d":"s\u0302","\u1e61":"s\u0307","\u015f":"s\u0327","\u1e97":"t\u0308","\u0165":"t\u030c","\u1e6b":"t\u0307","\u0163":"t\u0327","\xfa":"u\u0301","\xf9":"u\u0300","\xfc":"u\u0308","\u01d8":"u\u0308\u0301","\u01dc":"u\u0308\u0300","\u01d6":"u\u0308\u0304","\u01da":"u\u0308\u030c","\u0169":"u\u0303","\u1e79":"u\u0303\u0301","\u016b":"u\u0304","\u1e7b":"u\u0304\u0308","\u016d":"u\u0306","\u01d4":"u\u030c","\xfb":"u\u0302","\u016f":"u\u030a","\u0171":"u\u030b","\u1e7d":"v\u0303","\u1e83":"w\u0301","\u1e81":"w\u0300","\u1e85":"w\u0308","\u0175":"w\u0302","\u1e87":"w\u0307","\u1e98":"w\u030a","\u1e8d":"x\u0308","\u1e8b":"x\u0307","\xfd":"y\u0301","\u1ef3":"y\u0300","\xff":"y\u0308","\u1ef9":"y\u0303","\u0233":"y\u0304","\u0177":"y\u0302","\u1e8f":"y\u0307","\u1e99":"y\u030a","\u017a":"z\u0301","\u017e":"z\u030c","\u1e91":"z\u0302","\u017c":"z\u0307","\xc1":"A\u0301","\xc0":"A\u0300","\xc4":"A\u0308","\u01de":"A\u0308\u0304","\xc3":"A\u0303","\u0100":"A\u0304","\u0102":"A\u0306","\u1eae":"A\u0306\u0301","\u1eb0":"A\u0306\u0300","\u1eb4":"A\u0306\u0303","\u01cd":"A\u030c","\xc2":"A\u0302","\u1ea4":"A\u0302\u0301","\u1ea6":"A\u0302\u0300","\u1eaa":"A\u0302\u0303","\u0226":"A\u0307","\u01e0":"A\u0307\u0304","\xc5":"A\u030a","\u01fa":"A\u030a\u0301","\u1e02":"B\u0307","\u0106":"C\u0301","\u1e08":"C\u0327\u0301","\u010c":"C\u030c","\u0108":"C\u0302","\u010a":"C\u0307","\xc7":"C\u0327","\u010e":"D\u030c","\u1e0a":"D\u0307","\u1e10":"D\u0327","\xc9":"E\u0301","\xc8":"E\u0300","\xcb":"E\u0308","\u1ebc":"E\u0303","\u0112":"E\u0304","\u1e16":"E\u0304\u0301","\u1e14":"E\u0304\u0300","\u0114":"E\u0306","\u1e1c":"E\u0327\u0306","\u011a":"E\u030c","\xca":"E\u0302","\u1ebe":"E\u0302\u0301","\u1ec0":"E\u0302\u0300","\u1ec4":"E\u0302\u0303","\u0116":"E\u0307","\u0228":"E\u0327","\u1e1e":"F\u0307","\u01f4":"G\u0301","\u1e20":"G\u0304","\u011e":"G\u0306","\u01e6":"G\u030c","\u011c":"G\u0302","\u0120":"G\u0307","\u0122":"G\u0327","\u1e26":"H\u0308","\u021e":"H\u030c","\u0124":"H\u0302","\u1e22":"H\u0307","\u1e28":"H\u0327","\xcd":"I\u0301","\xcc":"I\u0300","\xcf":"I\u0308","\u1e2e":"I\u0308\u0301","\u0128":"I\u0303","\u012a":"I\u0304","\u012c":"I\u0306","\u01cf":"I\u030c","\xce":"I\u0302","\u0130":"I\u0307","\u0134":"J\u0302","\u1e30":"K\u0301","\u01e8":"K\u030c","\u0136":"K\u0327","\u0139":"L\u0301","\u013d":"L\u030c","\u013b":"L\u0327","\u1e3e":"M\u0301","\u1e40":"M\u0307","\u0143":"N\u0301","\u01f8":"N\u0300","\xd1":"N\u0303","\u0147":"N\u030c","\u1e44":"N\u0307","\u0145":"N\u0327","\xd3":"O\u0301","\xd2":"O\u0300","\xd6":"O\u0308","\u022a":"O\u0308\u0304","\xd5":"O\u0303","\u1e4c":"O\u0303\u0301","\u1e4e":"O\u0303\u0308","\u022c":"O\u0303\u0304","\u014c":"O\u0304","\u1e52":"O\u0304\u0301","\u1e50":"O\u0304\u0300","\u014e":"O\u0306","\u01d1":"O\u030c","\xd4":"O\u0302","\u1ed0":"O\u0302\u0301","\u1ed2":"O\u0302\u0300","\u1ed6":"O\u0302\u0303","\u022e":"O\u0307","\u0230":"O\u0307\u0304","\u0150":"O\u030b","\u1e54":"P\u0301","\u1e56":"P\u0307","\u0154":"R\u0301","\u0158":"R\u030c","\u1e58":"R\u0307","\u0156":"R\u0327","\u015a":"S\u0301","\u1e64":"S\u0301\u0307","\u0160":"S\u030c","\u1e66":"S\u030c\u0307","\u015c":"S\u0302","\u1e60":"S\u0307","\u015e":"S\u0327","\u0164":"T\u030c","\u1e6a":"T\u0307","\u0162":"T\u0327","\xda":"U\u0301","\xd9":"U\u0300","\xdc":"U\u0308","\u01d7":"U\u0308\u0301","\u01db":"U\u0308\u0300","\u01d5":"U\u0308\u0304","\u01d9":"U\u0308\u030c","\u0168":"U\u0303","\u1e78":"U\u0303\u0301","\u016a":"U\u0304","\u1e7a":"U\u0304\u0308","\u016c":"U\u0306","\u01d3":"U\u030c","\xdb":"U\u0302","\u016e":"U\u030a","\u0170":"U\u030b","\u1e7c":"V\u0303","\u1e82":"W\u0301","\u1e80":"W\u0300","\u1e84":"W\u0308","\u0174":"W\u0302","\u1e86":"W\u0307","\u1e8c":"X\u0308","\u1e8a":"X\u0307","\xdd":"Y\u0301","\u1ef2":"Y\u0300","\u0178":"Y\u0308","\u1ef8":"Y\u0303","\u0232":"Y\u0304","\u0176":"Y\u0302","\u1e8e":"Y\u0307","\u0179":"Z\u0301","\u017d":"Z\u030c","\u1e90":"Z\u0302","\u017b":"Z\u0307","\u03ac":"\u03b1\u0301","\u1f70":"\u03b1\u0300","\u1fb1":"\u03b1\u0304","\u1fb0":"\u03b1\u0306","\u03ad":"\u03b5\u0301","\u1f72":"\u03b5\u0300","\u03ae":"\u03b7\u0301","\u1f74":"\u03b7\u0300","\u03af":"\u03b9\u0301","\u1f76":"\u03b9\u0300","\u03ca":"\u03b9\u0308","\u0390":"\u03b9\u0308\u0301","\u1fd2":"\u03b9\u0308\u0300","\u1fd1":"\u03b9\u0304","\u1fd0":"\u03b9\u0306","\u03cc":"\u03bf\u0301","\u1f78":"\u03bf\u0300","\u03cd":"\u03c5\u0301","\u1f7a":"\u03c5\u0300","\u03cb":"\u03c5\u0308","\u03b0":"\u03c5\u0308\u0301","\u1fe2":"\u03c5\u0308\u0300","\u1fe1":"\u03c5\u0304","\u1fe0":"\u03c5\u0306","\u03ce":"\u03c9\u0301","\u1f7c":"\u03c9\u0300","\u038e":"\u03a5\u0301","\u1fea":"\u03a5\u0300","\u03ab":"\u03a5\u0308","\u1fe9":"\u03a5\u0304","\u1fe8":"\u03a5\u0306","\u038f":"\u03a9\u0301","\u1ffa":"\u03a9\u0300"};class Hc{constructor(e,t){this.mode=void 0,this.gullet=void 0,this.settings=void 0,this.leftrightDepth=void 0,this.nextToken=void 0,this.mode="math",this.gullet=new Dc(e,t,this.mode),this.settings=t,this.leftrightDepth=0}expect(e,t){if(void 0===t&&(t=!0),this.fetch().text!==e)throw new ni("Expected '"+e+"', got '"+this.fetch().text+"'",this.fetch());t&&this.consume()}consume(){this.nextToken=null}fetch(){return null==this.nextToken&&(this.nextToken=this.gullet.expandNextToken()),this.nextToken}switchMode(e){this.mode=e,this.gullet.switchMode(e)}parse(){this.settings.globalGroup||this.gullet.beginGroup(),this.settings.colorIsTextColor&&this.gullet.macros.set("\\color","\\textcolor");try{var e=this.parseExpression(!1);return this.expect("EOF"),this.settings.globalGroup||this.gullet.endGroup(),e}finally{this.gullet.endGroups()}}subparse(e){var t=this.nextToken;this.consume(),this.gullet.pushToken(new ti("}")),this.gullet.pushTokens(e);var n=this.parseExpression(!1);return this.expect("}"),this.nextToken=t,n}parseExpression(e,t){for(var n=[];;){"math"===this.mode&&this.consumeSpaces();var r=this.fetch();if(-1!==Hc.endOfExpression.indexOf(r.text))break;if(t&&r.text===t)break;if(e&&wc[r.text]&&wc[r.text].infix)break;var o=this.parseAtom(t);if(!o)break;"internal"!==o.type&&n.push(o)}return"text"===this.mode&&this.formLigatures(n),this.handleInfixNodes(n)}handleInfixNodes(e){for(var t,n=-1,r=0;r=0&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+t[0]+'" used in math mode',e);var a,s=ta[this.mode][t].group,l=ei.range(e);if(Qi.hasOwnProperty(s)){var c=s;a={type:"atom",mode:this.mode,family:c,loc:l,text:t}}else a={type:s,mode:this.mode,loc:l,text:t};o=a}else{if(!(t.charCodeAt(0)>=128))return null;this.settings.strict&&(Ai(t.charCodeAt(0))?"math"===this.mode&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+t[0]+'" used in math mode',e):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+t[0]+'" ('+t.charCodeAt(0)+")",e)),o={type:"textord",mode:"text",loc:ei.range(e),text:t}}if(this.consume(),i)for(var u=0;u1?n-1:0),o=1;o{u(e,"element",(e=>{const o=e.properties&&Array.isArray(e.properties.className)?e.properties.className:[],i=o.includes("math-inline"),a=o.includes("math-display");if(!i&&!a)return;const s=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n="children"in e?e.children:[],r=lu(e),o=du(e,{whitespace:t.whitespace||"normal",breakBefore:!1,breakAfter:!1}),i=[];"text"!==e.type&&"comment"!==e.type||i.push(...uu(e,{whitespace:o,breakBefore:!0,breakAfter:!0}));let a=-1;for(;++al&&(l=e):e&&(void 0!==l&&l>-1&&s.push("\n".repeat(l)||" "),l=-1,s.push(e))}return s.join("")}(e,{whitespace:"pre"});let l;try{l=Yc.renderToString(s,Ou({},t,{displayMode:a,throwOnError:!0}))}catch(u){const o=u,i=n?"fail":"message",c=[yu,o.name.toLowerCase()].join(":");if(r[i](o.message,e.position,c),"ParseError"!==o.name)return void(e.children=[{type:"element",tagName:"span",properties:{className:["katex-error"],title:String(o),style:"color:"+(t.errorColor||"#cc0000")},children:[{type:"text",value:s}]}]);l=Yc.renderToString(s,Ou({},t,{displayMode:a,throwOnError:!1,strict:"ignore"}))}const c=gu(l,{fragment:!0});e.children=c.children}))}}function zu(){return zu=Object.assign||function(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var vu=(0,i.forwardRef)((function(e,t){var n=e.color,r=void 0===n?"currentColor":n,o=e.size,a=void 0===o?24:o,s=Au(e,["color","size"]);return i.createElement("svg",zu({ref:t,xmlns:"http://www.w3.org/2000/svg",width:a,height:a,viewBox:"0 0 24 24",fill:"none",stroke:r,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},s),i.createElement("path",{d:"M15 7h3a5 5 0 0 1 5 5 5 5 0 0 1-5 5h-3m-6 0H6a5 5 0 0 1-5-5 5 5 0 0 1 5-5h3"}),i.createElement("line",{x1:"8",y1:"12",x2:"16",y2:"12"}))}));vu.propTypes={color:sn().string,size:sn().oneOfType([sn().string,sn().number])},vu.displayName="Link2";const wu=vu;var Su=n(14853);const xu=[{name:"angry",emoji:"\ud83d\ude20",tags:["mad","annoyed"],description:"angry face",emoticons:[">:(",">:[",">:-(",">:-[",">=(",">=[",">=-(",">=-["]},{name:"blush",emoji:"\ud83d\ude0a",tags:["proud"],description:"smiling face with smiling eyes",emoticons:[':")',':"]',':"D',':-")',':-"]',':-"D','=")','="]','="D','=-")','=-"]','=-"D']},{name:"broken_heart",emoji:"\ud83d\udc94",tags:[],description:"broken heart",emoticons:["<\\3","0?{type:"text",value:l}:void 0),!1!==l&&(i!==n&&c.push({type:"text",value:e.value.slice(i,n)}),Array.isArray(l)?c.push(...l):l&&c.push(l),i=n+p[0].length,s=!0),!r.global)break;p=r.exec(e.value)}s?(ie}const _u=/:\+1:|:-1:|:[\w-]+:/g,Ru=/[$@|*'",;.=:\-)([\]\\/<>038BOopPsSdDxXzZ]{2,5}/g,Cu=/_/g,Nu=/(?:_|-(?!1))/g,Iu={padSpaceAfter:!1,emoticon:!1,accessible:!1};function Wu(e){const t=Object.assign({},Iu,e),n=!!t.padSpaceAfter,r=!!t.emoticon,o=!!t.accessible;function i(e,t){return{type:"text",meta:null,value:e,data:{hName:"span",hProperties:{role:"img",ariaLabel:t},hChildren:[{type:"text",value:e}]}}}const a=[[_u,function(e){let t=Su.get(e);if(e.endsWith("_man:")&&t===e){const n="man-"+e.slice(1,-5).replace(Cu,"-"),r=Su.get(n);r!==n&&(t=r)}else if(e.endsWith("_woman:")&&t===e){const n="woman-"+e.slice(1,-7).replace(Cu,"-"),r=Su.get(n);r!==n&&(t=r)}if(t===e)return!1;if(n&&(t+=" "),o){return i(t,e.slice(1,-1).replace(Nu," ")+" emoji")}return t}]];return r&&a.push([Ru,function(e){const t=xu.find((t=>t.emoticons.includes(e))),r=xu.find((t=>t.emoticons.includes(e.slice(0,-1)))),a=t||r;if(!a)return!1;const s=!t&&r?e.slice(-1):"",l=n?" ":"",c=a.emoji+l+s;return o?i(c,a.name+" emoticon"):c}]),function(e){ku(e,a)}}const Pu={tokenize:function(e,t,n){let r=0;return function t(i){if((87===i||119===i)&&r<3)return r++,e.consume(i),t;if(46===i&&3===r)return e.consume(i),o;return n(i)};function o(e){return null===e?n(e):t(e)}},partial:!0},Lu={tokenize:function(e,t,n){let r,o,i;return a;function a(t){return 46===t||95===t?e.check(Du,l,s)(t):null===t||oe(t)||se(t)||45!==t&&ae(t)?l(t):(i=!0,e.consume(t),a)}function s(t){return 95===t?r=!0:(o=r,r=void 0),e.consume(t),a}function l(e){return o||r||!i?n(e):t(e)}},partial:!0},ju={tokenize:function(e,t){let n=0,r=0;return o;function o(a){return 40===a?(n++,e.consume(a),o):41===a&&r0&&!n&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}Hu[43]=Uu,Hu[45]=Uu,Hu[46]=Uu,Hu[95]=Uu,Hu[72]=[Uu,Vu],Hu[104]=[Uu,Vu],Hu[87]=[Uu,Fu],Hu[119]=[Uu,Fu];const Qu={tokenize:function(e,t,n){const r=this;return ce(e,(function(e){const o=r.events[r.events.length-1];return o&&"gfmFootnoteDefinitionIndent"===o[1].type&&4===o[2].sliceSerialize(o[1],!0).length?t(e):n(e)}),"gfmFootnoteDefinitionIndent",5)},partial:!0};function ep(e,t,n){const r=this;let o=r.events.length;const i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let a;for(;o--;){const e=r.events[o][1];if("labelImage"===e.type){a=e;break}if("gfmFootnoteCall"===e.type||"labelLink"===e.type||"label"===e.type||"image"===e.type||"link"===e.type)break}return function(o){if(!a||!a._balanced)return n(o);const s=We(r.sliceSerialize({start:a.end,end:r.now()}));if(94!==s.codePointAt(0)||!i.includes(s.slice(1)))return n(o);return e.enter("gfmFootnoteCallLabelMarker"),e.consume(o),e.exit("gfmFootnoteCallLabelMarker"),t(o)}}function tp(e,t){let n,r=e.length;for(;r--;)if("labelImage"===e[r][1].type&&"enter"===e[r][0]){n=e[r][1];break}e[r+1][1].type="data",e[r+3][1].type="gfmFootnoteCallLabelMarker";const o={type:"gfmFootnoteCall",start:Object.assign({},e[r+3][1].start),end:Object.assign({},e[e.length-1][1].end)},i={type:"gfmFootnoteCallMarker",start:Object.assign({},e[r+3][1].end),end:Object.assign({},e[r+3][1].end)};i.end.column++,i.end.offset++,i.end._bufferIndex++;const a={type:"gfmFootnoteCallString",start:Object.assign({},i.end),end:Object.assign({},e[e.length-1][1].start)},s={type:"chunkString",contentType:"string",start:Object.assign({},a.start),end:Object.assign({},a.end)},l=[e[r+1],e[r+2],["enter",o,t],e[r+3],e[r+4],["enter",i,t],["exit",i,t],["enter",a,t],["enter",s,t],["exit",s,t],["exit",a,t],e[e.length-2],e[e.length-1],["exit",o,t]];return e.splice(r,e.length-r+1,...l),e}function np(e,t,n){const r=this,o=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let i,a=0;return function(t){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(t),e.exit("gfmFootnoteCallLabelMarker"),s};function s(t){return 94!==t?n(t):(e.enter("gfmFootnoteCallMarker"),e.consume(t),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",l)}function l(s){if(a>999||93===s&&!i||null===s||91===s||oe(s))return n(s);if(93===s){e.exit("chunkString");const i=e.exit("gfmFootnoteCallString");return o.includes(We(r.sliceSerialize(i)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(s),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):n(s)}return oe(s)||(i=!0),a++,e.consume(s),92===s?c:l}function c(t){return 91===t||92===t||93===t?(e.consume(t),a++,l):l(t)}}function rp(e,t,n){const r=this,o=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let i,a,s=0;return function(t){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),l};function l(t){return 94===t?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",c):n(t)}function c(t){if(s>999||93===t&&!a||null===t||91===t||oe(t))return n(t);if(93===t){e.exit("chunkString");const n=e.exit("gfmFootnoteDefinitionLabelString");return i=We(r.sliceSerialize(n)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),p}return oe(t)||(a=!0),s++,e.consume(t),92===t?u:c}function u(t){return 91===t||92===t||93===t?(e.consume(t),s++,c):c(t)}function p(t){return 58===t?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),o.includes(i)||o.push(i),ce(e,d,"gfmFootnoteDefinitionWhitespace")):n(t)}function d(e){return t(e)}}function op(e,t,n){return e.check(be,t,e.attempt(Qu,t,n))}function ip(e){e.exit("gfmFootnoteDefinition")}function ap(e){let t=(e||{}).singleTilde;const n={tokenize:function(e,n,r){const o=this.previous,i=this.events;let a=0;return function(t){if(126===o&&"characterEscape"!==i[i.length-1][1].type)return r(t);return e.enter("strikethroughSequenceTemporary"),s(t)};function s(i){const l=at(o);if(126===i)return a>1?r(i):(e.consume(i),a++,s);if(a<2&&!t)return r(i);const c=e.exit("strikethroughSequenceTemporary"),u=at(i);return c._open=!u||2===u&&Boolean(l),c._close=!l||2===l&&Boolean(u),n(i)}},resolveAll:function(e,t){let n=-1;for(;++ne[0]-t[0])),0===this.map.length)return;let t=this.map.length;const n=[];for(;t>0;)t-=1,n.push(e.slice(this.map[t][0]+this.map[t][1])),n.push(this.map[t][2]),e.length=this.map[t][0];n.push([...e]),e.length=0;let r=n.pop();for(;r;)e.push(...r),r=n.pop();this.map.length=0}}function lp(e,t){let n=!1;const r=[];for(;t-1;){const e=r.events[t][1].type;if("lineEnding"!==e&&"linePrefix"!==e)break;t--}const o=t>-1?r.events[t][1].type:null,i="tableHead"===o||"tableRow"===o?M:s;if(i===M&&r.parser.lazy[r.now().line])return n(e);return i(e)};function s(t){return e.enter("tableHead"),e.enter("tableRow"),function(e){if(124===e)return l(e);return o=!0,a+=1,l(e)}(t)}function l(t){return null===t?n(t):re(t)?a>1?(a=0,r.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),p):n(t):ie(t)?ce(e,l,"whitespace")(t):(a+=1,o&&(o=!1,i+=1),124===t?(e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),o=!0,l):(e.enter("data"),c(t)))}function c(t){return null===t||124===t||oe(t)?(e.exit("data"),l(t)):(e.consume(t),92===t?u:c)}function u(t){return 92===t||124===t?(e.consume(t),c):c(t)}function p(t){return r.interrupt=!1,r.parser.lazy[r.now().line]?n(t):(e.enter("tableDelimiterRow"),o=!1,ie(t)?ce(e,d,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):d(t))}function d(t){return 45===t||58===t?f(t):124===t?(o=!0,e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),b):y(t)}function b(t){return ie(t)?ce(e,f,"whitespace")(t):f(t)}function f(t){return 58===t?(a+=1,o=!0,e.enter("tableDelimiterMarker"),e.consume(t),e.exit("tableDelimiterMarker"),h):45===t?(a+=1,h(t)):null===t||re(t)?O(t):y(t)}function h(t){return 45===t?(e.enter("tableDelimiterFiller"),m(t)):y(t)}function m(t){return 45===t?(e.consume(t),m):58===t?(o=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(t),e.exit("tableDelimiterMarker"),g):(e.exit("tableDelimiterFiller"),g(t))}function g(t){return ie(t)?ce(e,O,"whitespace")(t):O(t)}function O(n){return 124===n?d(n):(null===n||re(n))&&o&&i===a?(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(n)):y(n)}function y(e){return n(e)}function M(t){return e.enter("tableRow"),z(t)}function z(n){return 124===n?(e.enter("tableCellDivider"),e.consume(n),e.exit("tableCellDivider"),z):null===n||re(n)?(e.exit("tableRow"),t(n)):ie(n)?ce(e,z,"whitespace")(n):(e.enter("data"),A(n))}function A(t){return null===t||124===t||oe(t)?(e.exit("data"),z(t)):(e.consume(t),92===t?v:A)}function v(t){return 92===t||124===t?(e.consume(t),A):A(t)}},resolveAll:function(e,t){let n,r,o,i=-1,a=!0,s=0,l=[0,0,0,0],c=[0,0,0,0],u=!1,p=0;const d=new sp;for(;++in[2]+1){const t=n[2]+1,r=n[3]-n[2]-1;e.add(t,r,[])}}e.add(n[3]+1,0,[["exit",a,t]])}return void 0!==o&&(i.end=Object.assign({},dp(t.events,o)),e.add(o,0,[["exit",i,t]]),i=void 0),i}function pp(e,t,n,r,o){const i=[],a=dp(t.events,n);o&&(o.end=Object.assign({},a),i.push(["exit",o,t])),r.end=Object.assign({},a),i.push(["exit",r,t]),e.add(n+1,0,i)}function dp(e,t){const n=e[t],r="enter"===n[0]?"start":"end";return n[1][r]}const bp={tokenize:function(e,t,n){const r=this;return function(t){if(null!==r.previous||!r._gfmTasklistFirstContentOfListItem)return n(t);return e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(t),e.exit("taskListCheckMarker"),o};function o(t){return oe(t)?(e.enter("taskListCheckValueUnchecked"),e.consume(t),e.exit("taskListCheckValueUnchecked"),i):88===t||120===t?(e.enter("taskListCheckValueChecked"),e.consume(t),e.exit("taskListCheckValueChecked"),i):n(t)}function i(t){return 93===t?(e.enter("taskListCheckMarker"),e.consume(t),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),a):n(t)}function a(r){return re(r)?t(r):ie(r)?e.check({tokenize:hp},t,n)(r):n(r)}}},fp={text:{91:bp}};function hp(e,t,n){return ce(e,(function(e){return null===e?n(e):t(e)}),"whitespace")}function mp(e,t){const n=String(e);if("string"!==typeof t)throw new TypeError("Expected character");let r=0,o=n.indexOf(t);for(;-1!==o;)r++,o=n.indexOf(t,o+t.length);return r}const gp="phrasing",Op=["autolink","link","image","label"],yp={transforms:[function(e){ku(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,Ap],[/([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/g,vp]],{ignore:["link","linkReference"]})}],enter:{literalAutolink:function(e){this.enter({type:"link",title:null,url:"",children:[]},e)},literalAutolinkEmail:zp,literalAutolinkHttp:zp,literalAutolinkWww:zp},exit:{literalAutolink:function(e){this.exit(e)},literalAutolinkEmail:function(e){this.config.exit.autolinkEmail.call(this,e)},literalAutolinkHttp:function(e){this.config.exit.autolinkProtocol.call(this,e)},literalAutolinkWww:function(e){this.config.exit.data.call(this,e);const t=this.stack[this.stack.length-1];t.url="http://"+this.sliceSerialize(e)}}},Mp={unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:gp,notInConstruct:Op},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:gp,notInConstruct:Op},{character:":",before:"[ps]",after:"\\/",inConstruct:gp,notInConstruct:Op}]};function zp(e){this.config.enter.autolinkProtocol.call(this,e)}function Ap(e,t,n,r,o){let i="";if(!wp(o))return!1;if(/^w/i.test(t)&&(n=t+n,t="",i="http://"),!function(e){const t=e.split(".");if(t.length<2||t[t.length-1]&&(/_/.test(t[t.length-1])||!/[a-zA-Z\d]/.test(t[t.length-1]))||t[t.length-2]&&(/_/.test(t[t.length-2])||!/[a-zA-Z\d]/.test(t[t.length-2])))return!1;return!0}(n))return!1;const a=function(e){const t=/[!"&'),.:;<>?\]}]+$/.exec(e);if(!t)return[e,void 0];e=e.slice(0,t.index);let n=t[0],r=n.indexOf(")");const o=mp(e,"(");let i=mp(e,")");for(;-1!==r&&o>i;)e+=n.slice(0,r+1),n=n.slice(r+1),r=n.indexOf(")"),i++;return[e,n]}(n+r);if(!a[0])return!1;const s={type:"link",title:null,url:i+t+a[0],children:[{type:"text",value:t+a[0]}]};return a[1]?[s,{type:"text",value:a[1]}]:s}function vp(e,t,n,r){return!(!wp(r,!0)||/[-\d_]$/.test(n))&&{type:"link",title:null,url:"mailto:"+t+"@"+n,children:[{type:"text",value:t+"@"+n}]}}function wp(e,t){const n=e.input.charCodeAt(e.index-1);return(0===e.index||se(n)||ae(n))&&(!t||47!==n)}function Sp(e){return e.label||!e.identifier?e.label||"":xt(e.identifier)}const xp=/\r?\n|\r/g;function Ep(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function kp(){this.buffer()}function qp(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=We(this.sliceSerialize(e)).toLowerCase()}function Tp(e){this.exit(e)}function _p(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function Rp(){this.buffer()}function Cp(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=We(this.sliceSerialize(e)).toLowerCase()}function Np(e){this.exit(e)}function Ip(e,t,n,r){const o=Vr(r);let i=o.move("[^");const a=n.enter("footnoteReference"),s=n.enter("reference");return i+=o.move(ho(n,Sp(e),{...o.current(),before:i,after:"]"})),s(),a(),i+=o.move("]"),i}function Wp(e,t,n,r){const o=Vr(r);let i=o.move("[^");const a=n.enter("footnoteDefinition"),s=n.enter("label");return i+=o.move(ho(n,Sp(e),{...o.current(),before:i,after:"]"})),s(),i+=o.move("]:"+(e.children&&e.children.length>0?" ":"")),o.shift(4),i+=o.move(function(e,t){const n=[];let r,o=0,i=0;for(;r=xp.exec(e);)a(e.slice(o,r.index)),n.push(r[0]),o=r.index+r[0].length,i++;return a(e.slice(o)),n.join("");function a(e){n.push(t(e,i,!e))}}(Dr(e,n,o.current()),Pp)),a(),i}function Pp(e,t,n){return 0===t?e:(n?"":" ")+e}Ip.peek=function(){return"["};Dp.peek=function(){return"~"};const Lp={canContainEols:["delete"],enter:{strikethrough:function(e){this.enter({type:"delete",children:[]},e)}},exit:{strikethrough:function(e){this.exit(e)}}},jp={unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"]}],handlers:{delete:Dp}};function Dp(e,t,n,r){const o=Vr(r),i=n.enter("strikethrough");let a=o.move("~~");return a+=Fr(e,n,{...o.current(),before:a,after:"~"}),a+=o.move("~~"),i(),a}function Bp(e,t,n){let r=e.value||"",o="`",i=-1;for(;new RegExp("(^|[^`])"+o+"([^`]|$)").test(r);)o+="`";for(/[^ \r\n]/.test(r)&&(/^[ \r\n]/.test(r)&&/[ \r\n]$/.test(r)||/^`|`$/.test(r))&&(r=" "+r+" ");++i"none"===e?null:e)),children:[]},e),this.setData("inTable",!0)},tableData:Xp,tableHeader:Xp,tableRow:function(e){this.enter({type:"tableRow",children:[]},e)}},exit:{codeText:function(e){let t=this.resume();this.getData("inTable")&&(t=t.replace(/\\([\\|])/g,Gp));const n=this.stack[this.stack.length-1];n.value=t,this.exit(e)},table:function(e){this.exit(e),this.setData("inTable")},tableData:Hp,tableHeader:Hp,tableRow:Hp}};function Hp(e){this.exit(e)}function Xp(e){this.enter({type:"tableCell",children:[]},e)}function Gp(e,t){return"|"===t?t:e}function $p(e){const t=e||{},n=t.tableCellPadding,r=t.tablePipeAlign,o=t.stringLength,i=n?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:"\n",inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[\t :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{table:function(e,t,n,r){return s(function(e,t,n){const r=e.children;let o=-1;const i=[],a=t.enter("table");for(;++o1&&void 0!==arguments[1]?arguments[1]:{};const n=(t.align||[]).concat(),r=t.stringLength||Fp,o=[],i=[],a=[],s=[];let l=0,c=-1;for(;++cl&&(l=e[c].length);++ps[p])&&(s[p]=e)}n.push(i)}i[c]=n,a[c]=o}var u;let p=-1;if("object"===typeof n&&"length"in n)for(;++ps[p]&&(s[p]=i),b[p]=i),d[p]=a}i.splice(1,0,d),a.splice(1,0,b),c=-1;const f=[];for(;++c-1?t.start:1)+(!1===n.options.incrementListMarker?0:t.children.indexOf(e))+i);let a=i.length+1;("tab"===o||"mixed"===o&&(t&&"list"===t.type&&t.spread||e.spread))&&(a=4*Math.ceil(a/4));const s=n.createTracker(r);s.move(i+" ".repeat(a-i.length)),s.shift(a);const l=n.enter("listItem"),c=n.indentLines(n.containerFlow(e,s.current()),(function(e,t,n){if(t)return(n?"":" ".repeat(a))+e;return(n?i:i+" ".repeat(a-i.length))+e}));return l(),c}const Yp={exit:{taskListCheckValueChecked:Jp,taskListCheckValueUnchecked:Jp,paragraph:function(e){const t=this.stack[this.stack.length-2];if(t&&"listItem"===t.type&&"boolean"===typeof t.checked){const e=this.stack[this.stack.length-1],n=e.children[0];if(n&&"text"===n.type){const r=t.children;let o,i=-1;for(;++i0&&void 0!==arguments[0]?arguments[0]:{};const t=this.data();function n(e,n){(t[e]?t[e]:t[e]=[]).push(n)}n("micromarkExtensions",function(e){return G([Xu,{document:{91:{tokenize:rp,continuation:{tokenize:op},exit:ip}},text:{91:{tokenize:np},93:{add:"after",tokenize:ep,resolveTo:tp}}},ap(e),cp,fp])}(e)),n("fromMarkdownExtensions",[yp,{enter:{gfmFootnoteDefinition:Ep,gfmFootnoteDefinitionLabelString:kp,gfmFootnoteCall:_p,gfmFootnoteCallString:Rp},exit:{gfmFootnoteDefinition:Tp,gfmFootnoteDefinitionLabelString:qp,gfmFootnoteCall:Np,gfmFootnoteCallString:Cp}},Lp,Up,Yp]),n("toMarkdownExtensions",function(e){return{extensions:[Mp,{unsafe:[{character:"[",inConstruct:["phrasing","label","reference"]}],handlers:{footnoteDefinition:Wp,footnoteReference:Ip}},jp,$p(e),Zp]}}(e))}var ed=n(13418),td=n.n(ed),nd=n(15945),rd=n(95407),od=n(60906),id=n(45162),ad=n(63705),sd=n(36599),ld=n(64756),cd=n(97218),ud=(n(81998),n(37574));let pd=function(e){return e.H1="h1",e.H2="h2",e.H3="h3",e}({});function dd(e){return e}const bd=dr()((e=>{e.scrollIntoView(!0)})),fd=e=>{let{elementId:t,help:n,hideAnchor:r}=e;return!n&&r?(0,ud.jsx)(ud.Fragment,{}):(0,ud.jsxs)(cd.O7,{"data-testid":"stHeaderActionElements",children:[n&&(0,ud.jsx)(ad.w,{content:n}),t&&!r&&(0,ud.jsx)(cd.Cv,{href:`#${t}`,children:(0,ud.jsx)(wu,{size:"18"})})]})},hd=e=>{let{tag:t,anchor:n,help:r,hideAnchor:o,children:a,tagProps:s}=e;const l=i.useContext(od.Z),c=i.useContext(rd.Z),[u,p]=i.useState(n),[d,b]=i.useState(null),{addScriptFinishedHandler:f,removeScriptFinishedHandler:h}=i.useContext(ld.E),m=i.useCallback((()=>{null!==d&&window.setTimeout((()=>{bd(d)}),300)}),[d]);i.useEffect((()=>(f(m),()=>{h(m)})),[f,h,m]);const g=i.useCallback((e=>{if(null===e)return;const t=n||function(e){let t="";return e&&/^[\x00-\x7F]*$/.test(e)?t=null===e||void 0===e?void 0:e.toLowerCase().split(/[^\p{L}\p{N}]+/gu).filter(Boolean).join("-"):e&&(t=td().h32(e,43981).toString(16)),t}(e.textContent);p(t);const r=window.location.hash.slice(1);r&&r===t&&b(e)}),[n]),O=l||c,y=(0,ud.jsx)(fd,{elementId:u,help:r,hideAnchor:o||O}),M=O?{}:{ref:g,id:u},z=i.createElement(t,{...s,...M},(0,ud.jsxs)(ud.Fragment,{children:[a,y]}));return O?z:(0,ud.jsx)(cd.iV,{"data-testid":"stHeadingWithActionElements",children:z})},md=e=>{let{node:t,children:n,...r}=e;const o=r["data-anchor"];return(0,ud.jsx)(hd,{tag:t.tagName,anchor:o,tagProps:r,children:n})},gd=e=>{let{inline:t,className:n,children:r,...o}=e;const i=/language-(\w+)/.exec(n||""),a=String(r).trim().replace(/\n$/,""),s=i&&i[1]||"";return t?(0,ud.jsx)("code",{className:n,...fr()(o,"node"),children:r}):(0,ud.jsx)(nd.default,{language:s,showLineNumbers:!1,children:a})},Od=e=>{let{children:t}=e;return(0,ud.jsx)(cd.IL,{"data-testid":"stMarkdownPre",children:t})};function yd(e){let{allowHTML:t,source:n,overrideComponents:r,isLabel:o,disableLinks:i}=e;const a={pre:Od,code:gd,a:zd,h1:md,h2:md,h3:md,h4:md,h5:md,h6:md,...r||{}},s=(0,p.u)(),{red:l,orange:c,yellow:d,green:b,blue:f,violet:h,purple:m,gray:g}=(0,sd.KQ)(s),{redbg:O,orangebg:y,yellowbg:M,greenbg:z,bluebg:A,violetbg:v,purplebg:w,graybg:S}=(0,sd.iX)(s),x=new Map(Object.entries({red:`color: ${l}`,blue:`color: ${f}`,green:`color: ${b}`,violet:`color: ${h}`,orange:`color: ${c}`,gray:`color: ${g}`,grey:`color: ${g}`,rainbow:`color: transparent; background-clip: text; -webkit-background-clip: text; background-image: linear-gradient(to right,\n ${l}, ${c}, ${d}, ${b}, ${f}, ${h}, ${m});`,"red-background":`background-color: ${O}`,"blue-background":`background-color: ${A}`,"green-background":`background-color: ${z}`,"violet-background":`background-color: ${v}`,"orange-background":`background-color: ${y}`,"gray-background":`background-color: ${S}`,"grey-background":`background-color: ${S}`,"rainbow-background":`background: linear-gradient(to right,\n ${O}, ${y}, ${M}, ${z}, ${A}, ${v}, ${w});`}));const E=[yo,Wu,Qp,io,function(){return e=>{u(e,"textDirective",((e,t,n)=>{const r=String(e.name);if(x.has(r)){const t=e.data||(e.data={}),n=x.get(r);t.hName="span",t.hProperties=t.hProperties||{},t.hProperties.style=n,n&&(/background-color:/.test(n)||/background:/.test(n))&&(t.hProperties.className=(t.hProperties.className||"")+" has-background-color")}else e.type="text",e.value=`:${r}`,e.data={}}))}},function(){return e=>(ku(e,[[/:material_(\w+):/g,function(e,t){return{type:"text",value:e,data:{hName:"span",hProperties:{role:"img",ariaLabel:t+" icon",style:{display:"inline-block",fontFamily:"Material Symbols Rounded",userSelect:"none",verticalAlign:"bottom",fontWeight:"normal",whiteSpace:"nowrap",wordWrap:"normal"}},hChildren:[{type:"text",value:t}]}}}]]),e)}],k=[Mu,...t?[Qo]:[]],q=n.replaceAll(":material/",":material_"),T=["img","table","thead","tbody","tr","th","td","h1","h2","h3","h4","h5","h6","ul","ol","li","input","hr","blockquote",...i?["a"]:[]];return(0,ud.jsx)(id.Z,{children:(0,ud.jsx)(ur,{remarkPlugins:E,rehypePlugins:k,components:a,transformLinkUri:dd,disallowedElements:o?T:[],unwrapDisallowed:!0,children:q})})}class Md extends i.PureComponent{constructor(){super(...arguments),this.context=void 0,this.componentDidCatch=()=>{const{source:e}=this.props;throw Object.assign(new Error,{name:"Error parsing Markdown or HTML in this string",message:(0,ud.jsx)("p",{children:e}),stack:null})}}render(){const{source:e,allowHTML:t,style:n,isCaption:r,isLabel:o,boldLabel:i,largerLabel:a,disableLinks:s,isToast:l}=this.props,c=this.context;return(0,ud.jsx)(cd.r$,{isCaption:Boolean(r),isInSidebar:c,isLabel:o,boldLabel:i,largerLabel:a,isToast:l,style:n,"data-testid":r?"stCaptionContainer":"stMarkdownContainer",children:(0,ud.jsx)(yd,{source:e,allowHTML:t,isLabel:o,disableLinks:s})})}}function zd(e){const{href:t}=e;if(t&&t.startsWith("#")){const{children:t,...n}=e;return(0,ud.jsx)("a",{...fr()(n,"node"),children:t})}const{title:n,children:r,target:o,rel:i,...a}=e;return(0,ud.jsx)("a",{href:t,title:n,target:o||"_blank",rel:i||"noopener noreferrer",...fr()(a,"node"),children:r})}Md.contextType=od.Z;const Ad=Md},97218:(e,t,n)=>{"use strict";n.d(t,{Cv:()=>s,IL:()=>p,IW:()=>u,O7:()=>c,iV:()=>l,r$:()=>a});var r=n(83405);function o(e){return e.replace(/rem$/,"em")}function i(e){return{a:{color:e.colors.linkText}}}const a=(0,r.Z)("div",{target:"e1nzilvr5"})((e=>{let{theme:t,isCaption:n,isInSidebar:r,isLabel:a,boldLabel:s,largerLabel:l,isToast:c}=e;const u=a&&!l||c;return{fontFamily:t.genericFonts.bodyFont,marginBottom:a?"":`-${t.spacing.lg}`,...i(t),p:{wordBreak:"break-word",marginBottom:a?t.spacing.none:"",fontWeight:s?t.fontWeights.bold:"",...u?{fontSize:t.fontSizes.sm}:{}},img:{maxWidth:"100%"},li:{margin:"0.2em 0 0.2em 1.2em",padding:"0 0 0 0.6em",fontSize:t.fontSizes.md},table:{marginBottom:t.spacing.lg},tr:{borderTop:`${t.sizes.borderWidth} solid ${t.colors.borderColor}`},"th, td":{padding:"6px 13px",border:`${t.sizes.borderWidth} solid ${t.colors.borderColor}`},"span.has-background-color":{padding:`${t.spacing.threeXS} ${t.spacing.twoXS}`,margin:t.spacing.none,borderRadius:t.radii.md},...c?{div:{display:"inline-flex"}}:{},...n?{color:r?t.colors.gray:t.colors.fadedText60,fontSize:t.fontSizes.sm,"p, ol, ul, dl, li":{fontSize:"inherit"},"h1, h2, h3, h4, h5, h6":{color:"inherit"},h1:{fontSize:o(r?t.fontSizes.xl:t.fontSizes.threeXL)},h2:{fontSize:o(r?t.fontSizes.lg:t.fontSizes.twoXL)},h3:{fontSize:o(r?t.fontSizes.mdLg:t.fontSizes.lg)},"h4, h5, h6":{fontSize:o(t.fontSizes.md)}}:{}}}),""),s=(0,r.Z)("a",{target:"e1nzilvr4"})((e=>{let{theme:t}=e;return{lineHeight:0,display:"inline-flex",alignItems:"center",justifyContent:"center",svg:{stroke:t.colors.fadedText60,strokeWidth:2.25},"&:hover svg":{stroke:t.colors.bodyText}}}),""),l=(0,r.Z)("div",{target:"e1nzilvr3"})((e=>{let{theme:t}=e;return{"h1, h2, h3, h4, h5, h6, span":{scrollMarginTop:t.sizes.headerHeight},...i(t),wordBreak:"break-word",textWrap:"pretty",[s]:{visibility:"hidden"},"&:hover":{[s]:{visibility:"visible"}}}}),""),c=(0,r.Z)("span",{target:"e1nzilvr2"})((e=>{let{theme:t}=e;return{marginLeft:t.spacing.sm,display:"inline-flex",gap:t.spacing.sm,verticalAlign:"middle","& > *":{marginLeft:"0 !important"}}}),""),u=(0,r.Z)("hr",{target:"e1nzilvr1"})((e=>{let{theme:t,rainbow:n,color:r}=e;return{height:"2px !important",marginTop:t.spacing.sm,marginBottom:t.spacing.none,border:"none",borderRadius:"3px",...n?{background:r}:{backgroundColor:r}}}),""),p=(0,r.Z)("div",{target:"e1nzilvr0"})((e=>{let{theme:t}=e;return{marginBottom:t.spacing.lg}}),"")},89976:(e,t,n)=>{"use strict";n.d(t,{x:()=>i});var r=n(83405);let o=function(e){return e.DANGER="danger",e}({});const i=(0,r.Z)("small",{target:"e1bju1570"})((e=>{let{kind:t,theme:n}=e;const{danger:r,fadedText60:i}=n.colors;return{color:t===o.DANGER?r:i,fontSize:n.fontSizes.sm,lineHeight:n.lineHeights.tight}}),"")},62606:(e,t,n)=>{"use strict";n.d(t,{u:()=>H,Z:()=>X});var r=n(30969),o=n(3077),i=n(9306),a=n(6846);const s={accessibilityType:a.SI.tooltip,focusLock:!1,autoFocus:!1,returnFocus:!1,onMouseEnterDelay:200,onMouseLeaveDelay:200,overrides:{},placement:a.r4.auto,popoverMargin:0,showArrow:!1,triggerType:a.gu.hover,renderAll:!1};function l(e){return l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},l(e)}function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function u(e,t){for(var n=0;n=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function D(e){var t=e.children,n=j(e,L);return r.createElement(m,n,(function(e){return r.createElement(P,e,t)}))}D.defaultProps=m.defaultProps;const B=D;var F=n(36599),V=n(83971),U=n(37574);let H=function(e){return e.AUTO="auto",e.TOP_LEFT="topLeft",e.TOP="top",e.TOP_RIGHT="topRight",e.RIGHT_TOP="rightTop",e.RIGHT="right",e.RIGHT_BOTTOM="rightBottom",e.BOTTOM_RIGHT="bottomRight",e.BOTTOM="bottom",e.BOTTOM_LEFT="bottomLeft",e.LEFT_BOTTOM="leftBottom",e.LEFT="left",e.LEFT_TOP="leftTop",e}({});const X=function(e){let{content:t,placement:n,children:r,inline:i,style:s,onMouseEnterDelay:l}=e;const c=(0,o.u)(),{colors:u,fontSizes:p,radii:d}=c;return(0,U.jsx)(B,{content:t?(0,U.jsx)(V.Uo,{className:"stTooltipContent","data-testid":"stTooltipContent",children:t}):null,placement:a.r4[n],accessibilityType:a.SI.tooltip,showArrow:!1,popoverMargin:10,onMouseEnterDelay:l,overrides:{Body:{style:{borderTopLeftRadius:d.default,borderTopRightRadius:d.default,borderBottomLeftRadius:d.default,borderBottomRightRadius:d.default,paddingTop:"0 !important",paddingBottom:"0 !important",paddingLeft:"0 !important",paddingRight:"0 !important",backgroundColor:"transparent"}},Inner:{style:{backgroundColor:(0,F.Iy)(c)?u.bgColor:u.secondaryBg,color:u.bodyText,fontSize:p.sm,fontWeight:"normal",paddingTop:"0 !important",paddingBottom:"0 !important",paddingLeft:"0 !important",paddingRight:"0 !important"}}},children:(0,U.jsx)("div",{style:{display:"flex",flexDirection:"row",justifyContent:i?"flex-end":"",...s},"data-testid":"stTooltipHoverTarget",className:"stTooltipHoverTarget",children:r})})}},83971:(e,t,n)=>{"use strict";n.d(t,{$k:()=>a,SD:()=>i,Uo:()=>s});var r=n(83405),o=n(41045);const i=(0,r.Z)("div",{target:"e1gc5fo22"})({name:"87mhkc",styles:"display:table;table-layout:fixed;width:100%"}),a=(0,r.Z)("div",{target:"e1gc5fo21"})({name:"sy3zga",styles:"overflow:hidden;white-space:nowrap;text-overflow:ellipsis;display:table-cell"}),s=(0,r.Z)("div",{target:"e1gc5fo20"})((e=>{let{theme:t}=e;return{boxSizing:"border-box",fontSize:`${t.fontSizes.sm}`,maxWidth:`calc(${t.sizes.contentMaxWidth} - 4rem)`,maxHeight:"300px",overflow:["auto","overlay"],padding:`${t.spacing.xs} ${t.spacing.md}`,[`@media (max-width: ${t.breakpoints.sm})`]:{maxWidth:`calc(100% - ${t.spacing.threeXL})`},img:{maxWidth:"100%"},code:{background:(0,o.DZ)(t.colors.darkenedBgMix100,.8)},"*":{fontSize:`${t.fontSizes.sm} !important`}}}),"")},63705:(e,t,n)=>{"use strict";n.d(t,{w:()=>m,Z:()=>g});var r=n(30969),o=n(24974),i=n.n(o);function a(){return a=Object.assign||function(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var l=(0,r.forwardRef)((function(e,t){var n=e.color,o=void 0===n?"currentColor":n,i=e.size,l=void 0===i?24:i,c=s(e,["color","size"]);return r.createElement("svg",a({ref:t,xmlns:"http://www.w3.org/2000/svg",width:l,height:l,viewBox:"0 0 24 24",fill:"none",stroke:o,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},c),r.createElement("circle",{cx:"12",cy:"12",r:"10"}),r.createElement("path",{d:"M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3"}),r.createElement("line",{x1:"12",y1:"17",x2:"12.01",y2:"17"}))}));l.propTypes={color:i().string,size:i().oneOfType([i().string,i().number])},l.displayName="HelpCircle";const c=l;var u=n(3077),p=n(62606),d=n(21434),b=n(81151),f=n(37574);function h(e){let{placement:t=p.u.AUTO,iconSize:n="16",isLatex:r=!1,content:o,children:i,markdownProps:a,onMouseEnterDelay:s}=e;const l=(0,u.u)();return(0,f.jsx)(b.Ib,{className:"stTooltipIcon","data-testid":"stTooltipIcon",isLatex:r,children:(0,f.jsx)(p.Z,{content:(0,f.jsx)(d.ZP,{style:{fontSize:l.fontSizes.sm},source:o,allowHTML:!1,...a||{}}),placement:t,onMouseEnterDelay:s,inline:!0,children:i||(0,f.jsx)(c,{className:"icon",size:n})})})}const m=e=>{let{placement:t=p.u.TOP_RIGHT,iconSize:n="16",isLatex:r=!1,content:o,children:i,markdownProps:a}=e;return(0,f.jsx)(b.PG,{children:(0,f.jsx)(h,{placement:t,iconSize:n,isLatex:r,content:o,markdownProps:a,children:i})})},g=h},81151:(e,t,n)=>{"use strict";n.d(t,{Ib:()=>o,KH:()=>i,PG:()=>a});var r=n(83405);const o=(0,r.Z)("div",{target:"ewgb6652"})((e=>{let{isLatex:t,theme:n}=e;return{display:"flex",alignItems:"center",marginTop:t?n.spacing.mdPx:"0","& .stTooltipHoverTarget > svg":{stroke:n.colors.fadedText60,strokeWidth:2.25}}}),""),i=(0,r.Z)("div",{target:"ewgb6651"})((()=>({display:"flex",visibility:"visible",verticalAlign:"middle",flexDirection:"row",alignItems:"center"})),""),a=(0,r.Z)("label",{target:"ewgb6650"})((e=>{let{theme:t}=e;return{marginLeft:t.spacing.xs,position:"relative",display:"flex",flexDirection:"row"}}),"")},85668:(e,t,n)=>{"use strict";n.d(t,{O:()=>s});n(30969);var r=n(98170),o=n(21434),i=n(3146),a=n(37574);function s(e){let{label:t,children:n,disabled:s,labelVisibility:l,htmlFor:c}=e;return(0,r.le)(t)?(0,a.jsx)(a.Fragment,{}):(0,a.jsxs)(i.y8,{"data-testid":"stWidgetLabel","aria-hidden":"true",disabled:s,labelVisibility:l,htmlFor:c,children:[(0,a.jsx)(o.ZP,{source:t,allowHTML:!1,isLabel:!0}),n]})}},3146:(e,t,n)=>{"use strict";n.d(t,{Hp:()=>l,X7:()=>s,dT:()=>a,y8:()=>i});var r=n(83405),o=n(98170);const i=(0,r.Z)("label",{target:"e1y5xkzn3"})((e=>{let{disabled:t,labelVisibility:n,theme:r}=e;return{fontSize:r.fontSizes.sm,color:t?r.colors.fadedText40:r.colors.bodyText,display:n===o.Ws.Collapsed?"none":"flex",visibility:n===o.Ws.Hidden?"hidden":"visible",marginBottom:r.spacing.twoXS,height:"auto",minHeight:r.fontSizes.xl,verticalAlign:"middle",flexDirection:"row",alignItems:"center"}}),""),a=(0,r.Z)("div",{target:"e1y5xkzn2"})((()=>({display:"flex",flexDirection:"row",justifyContent:"flex-end",flex:1})),""),s=(0,r.Z)("div",{target:"e1y5xkzn1"})((e=>{let{theme:t}=e;return{fontSize:t.fontSizes.twoSm,color:t.colors.fadedText60,margin:t.spacing.none,textAlign:"right",position:"absolute",bottom:0,right:t.spacing.halfSmFont}}),""),l=(0,r.Z)("label",{target:"e1y5xkzn0"})((e=>{let{theme:t}=e;return{marginLeft:t.spacing.xs,position:"relative",display:"flex",flexDirection:"row"}}),"")},52857:(e,t,n)=>{"use strict";n.d(t,{H:()=>a,P:()=>i});var r=n(83405),o=n(98170);const i=(0,r.Z)("div",{target:"edwcd611"})((e=>{let{width:t,theme:n}=e;return{width:t,display:"flex",alignItems:"center",minHeight:n.sizes.minElementHeight}}),""),a=(0,r.Z)("div",{target:"edwcd610"})((e=>{let{visibility:t}=e;return{display:t===o.Ws.Collapsed?"none":"flex",visibility:t===o.Ws.Hidden?"hidden":"visible",verticalAlign:"middle",flexDirection:"row",alignItems:"center"}}),"")},53950:(e,t,n)=>{"use strict";n.d(t,{GI:()=>Ya,fu:()=>Ja});var r={};n.r(r),n.d(r,{valueToString:()=>b});var o={};n.r(o),n.d(o,{compareArrayLike:()=>ge,joinUint8Arrays:()=>W,memcpy:()=>I,rebaseValueOffsets:()=>me,toArrayBufferView:()=>P,toArrayBufferViewAsyncIterator:()=>ae,toArrayBufferViewIterator:()=>Y,toBigInt64Array:()=>B,toBigUint64Array:()=>H,toFloat32Array:()=>X,toFloat32ArrayAsyncIterator:()=>be,toFloat32ArrayIterator:()=>re,toFloat64Array:()=>G,toFloat64ArrayAsyncIterator:()=>fe,toFloat64ArrayIterator:()=>oe,toInt16Array:()=>j,toInt16ArrayAsyncIterator:()=>le,toInt16ArrayIterator:()=>J,toInt32Array:()=>D,toInt32ArrayAsyncIterator:()=>ce,toInt32ArrayIterator:()=>Q,toInt8Array:()=>L,toInt8ArrayAsyncIterator:()=>se,toInt8ArrayIterator:()=>Z,toUint16Array:()=>V,toUint16ArrayAsyncIterator:()=>pe,toUint16ArrayIterator:()=>te,toUint32Array:()=>U,toUint32ArrayAsyncIterator:()=>de,toUint32ArrayIterator:()=>ne,toUint8Array:()=>F,toUint8ArrayAsyncIterator:()=>ue,toUint8ArrayIterator:()=>ee,toUint8ClampedArray:()=>$,toUint8ClampedArrayAsyncIterator:()=>he,toUint8ClampedArrayIterator:()=>ie});var i={};n.r(i),n.d(i,{BN:()=>Te,bigNumToBigInt:()=>ke,bigNumToNumber:()=>xe,bigNumToString:()=>Ee,isArrowBigNumSymbol:()=>Me});var a={};n.r(a),n.d(a,{float64ToUint16:()=>Pt,uint16ToFloat64:()=>Wt});var s={};n.r(s),n.d(s,{clampRange:()=>Zn,createElementComparator:()=>er,wrapIndex:()=>Jn});var l={};n.r(l),n.d(l,{BitIterator:()=>gr,getBit:()=>br,getBool:()=>dr,packBools:()=>mr,popcnt_array:()=>yr,popcnt_bit_range:()=>Or,popcnt_uint32:()=>Mr,setBool:()=>fr,truncateBitmap:()=>hr});var c,u,p={};n.r(p),n.d(p,{BaseInt64:()=>Jo,Int128:()=>ti,Int64:()=>ei,Uint64:()=>Qo}),function(e){e[e.NONE=0]="NONE",e[e.Null=1]="Null",e[e.Int=2]="Int",e[e.Float=3]="Float",e[e.Binary=4]="Binary",e[e.Utf8=5]="Utf8",e[e.Bool=6]="Bool",e[e.Decimal=7]="Decimal",e[e.Date=8]="Date",e[e.Time=9]="Time",e[e.Timestamp=10]="Timestamp",e[e.Interval=11]="Interval",e[e.List=12]="List",e[e.Struct=13]="Struct",e[e.Union=14]="Union",e[e.FixedSizeBinary=15]="FixedSizeBinary",e[e.FixedSizeList=16]="FixedSizeList",e[e.Map=17]="Map",e[e.Duration=18]="Duration",e[e.LargeBinary=19]="LargeBinary",e[e.LargeUtf8=20]="LargeUtf8",e[e.Dictionary=-1]="Dictionary",e[e.Int8=-2]="Int8",e[e.Int16=-3]="Int16",e[e.Int32=-4]="Int32",e[e.Int64=-5]="Int64",e[e.Uint8=-6]="Uint8",e[e.Uint16=-7]="Uint16",e[e.Uint32=-8]="Uint32",e[e.Uint64=-9]="Uint64",e[e.Float16=-10]="Float16",e[e.Float32=-11]="Float32",e[e.Float64=-12]="Float64",e[e.DateDay=-13]="DateDay",e[e.DateMillisecond=-14]="DateMillisecond",e[e.TimestampSecond=-15]="TimestampSecond",e[e.TimestampMillisecond=-16]="TimestampMillisecond",e[e.TimestampMicrosecond=-17]="TimestampMicrosecond",e[e.TimestampNanosecond=-18]="TimestampNanosecond",e[e.TimeSecond=-19]="TimeSecond",e[e.TimeMillisecond=-20]="TimeMillisecond",e[e.TimeMicrosecond=-21]="TimeMicrosecond",e[e.TimeNanosecond=-22]="TimeNanosecond",e[e.DenseUnion=-23]="DenseUnion",e[e.SparseUnion=-24]="SparseUnion",e[e.IntervalDayTime=-25]="IntervalDayTime",e[e.IntervalYearMonth=-26]="IntervalYearMonth",e[e.DurationSecond=-27]="DurationSecond",e[e.DurationMillisecond=-28]="DurationMillisecond",e[e.DurationMicrosecond=-29]="DurationMicrosecond",e[e.DurationNanosecond=-30]="DurationNanosecond"}(c||(c={})),function(e){e[e.OFFSET=0]="OFFSET",e[e.DATA=1]="DATA",e[e.VALIDITY=2]="VALIDITY",e[e.TYPE=3]="TYPE"}(u||(u={}));const d=void 0;function b(e){if(null===e)return"null";if(e===d)return"undefined";switch(typeof e){case"number":case"bigint":return`${e}`;case"string":return`"${e}"`}return"function"===typeof e[Symbol.toPrimitive]?e[Symbol.toPrimitive]("string"):ArrayBuffer.isView(e)?e instanceof BigInt64Array||e instanceof BigUint64Array?`[${[...e].map((e=>b(e)))}]`:`[${e}]`:ArrayBuffer.isView(e)?`[${e}]`:JSON.stringify(e,((e,t)=>"bigint"===typeof t?`${t}`:t))}var f=n(57469);const h=new TextDecoder("utf-8"),m=e=>h.decode(e),g=new TextEncoder,O=e=>g.encode(e),y=e=>"number"===typeof e,M=e=>"boolean"===typeof e,z=e=>"function"===typeof e,A=e=>null!=e&&Object(e)===e,v=e=>A(e)&&z(e.then),w=e=>A(e)&&z(e[Symbol.iterator]),S=e=>A(e)&&z(e[Symbol.asyncIterator]),x=e=>A(e)&&A(e.schema),E=e=>A(e)&&"done"in e&&"value"in e,k=e=>A(e)&&z(e.stat)&&y(e.fd),q=e=>A(e)&&_(e.body),T=e=>"_getDOMStream"in e&&"_getNodeStream"in e,_=e=>A(e)&&z(e.cancel)&&z(e.getReader)&&!T(e),R=e=>A(e)&&z(e.read)&&z(e.pipe)&&M(e.readable)&&!T(e),C=e=>A(e)&&z(e.clear)&&z(e.bytes)&&z(e.position)&&z(e.setPosition)&&z(e.capacity)&&z(e.getBufferIdentifier)&&z(e.createLong),N="undefined"!==typeof SharedArrayBuffer?SharedArrayBuffer:ArrayBuffer;function I(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:t.byteLength;const o=e.byteLength,i=new Uint8Array(e.buffer,e.byteOffset,o),a=new Uint8Array(t.buffer,t.byteOffset,Math.min(r,o));return i.set(a,n),e}function W(e,t){const n=function(e){const t=e[0]?[e[0]]:[];let n,r,o,i;for(let a,s,l=0,c=0,u=e.length;++le+t.byteLength),0);let o,i,a,s=0,l=-1;const c=Math.min(t||Number.POSITIVE_INFINITY,r);for(const u=n.length;++lP(Int8Array,e),j=e=>P(Int16Array,e),D=e=>P(Int32Array,e),B=e=>P(BigInt64Array,e),F=e=>P(Uint8Array,e),V=e=>P(Uint16Array,e),U=e=>P(Uint32Array,e),H=e=>P(BigUint64Array,e),X=e=>P(Float32Array,e),G=e=>P(Float64Array,e),$=e=>P(Uint8ClampedArray,e),K=e=>(e.next(),e);function*Y(e,t){const n=function*(e){yield e},r="string"===typeof t||ArrayBuffer.isView(t)||t instanceof ArrayBuffer||t instanceof N?n(t):w(t)?t:n(t);return yield*K(function*(t){let n=null;do{n=t.next(yield P(e,n))}while(!n.done)}(r[Symbol.iterator]())),new e}const Z=e=>Y(Int8Array,e),J=e=>Y(Int16Array,e),Q=e=>Y(Int32Array,e),ee=e=>Y(Uint8Array,e),te=e=>Y(Uint16Array,e),ne=e=>Y(Uint32Array,e),re=e=>Y(Float32Array,e),oe=e=>Y(Float64Array,e),ie=e=>Y(Uint8ClampedArray,e);function ae(e,t){return(0,f.FC)(this,arguments,(function*(){if(v(t))return yield(0,f.qq)(yield(0,f.qq)(yield*(0,f.V2)((0,f.KL)(ae(e,yield(0,f.qq)(t))))));const n=function(e){return(0,f.FC)(this,arguments,(function*(){yield yield(0,f.qq)(yield(0,f.qq)(e))}))},r="string"===typeof t||ArrayBuffer.isView(t)||t instanceof ArrayBuffer||t instanceof N?n(t):w(t)?function(e){return(0,f.FC)(this,arguments,(function*(){yield(0,f.qq)(yield*(0,f.V2)((0,f.KL)(K(function*(e){let t=null;do{t=e.next(yield null===t||void 0===t?void 0:t.value)}while(!t.done)}(e[Symbol.iterator]())))))}))}(t):S(t)?t:n(t);return yield(0,f.qq)(yield*(0,f.V2)((0,f.KL)(K(function(t){return(0,f.FC)(this,arguments,(function*(){let n=null;do{n=yield(0,f.qq)(t.next(yield yield(0,f.qq)(P(e,n))))}while(!n.done)}))}(r[Symbol.asyncIterator]()))))),yield(0,f.qq)(new e)}))}const se=e=>ae(Int8Array,e),le=e=>ae(Int16Array,e),ce=e=>ae(Int32Array,e),ue=e=>ae(Uint8Array,e),pe=e=>ae(Uint16Array,e),de=e=>ae(Uint32Array,e),be=e=>ae(Float32Array,e),fe=e=>ae(Float64Array,e),he=e=>ae(Uint8ClampedArray,e);function me(e,t,n){if(0!==e)for(let r=-1,o=(n=n.slice(0,t)).length;++r0)do{if(e[n]!==t[n])return!1}while(++nNumber.MAX_SAFE_INTEGER))throw new TypeError(`${e} is not safe to convert to a number.`);return Number(e)}function ye(e,t){return Oe(e/t)+Oe(e%t)/Oe(t)}const Me=Symbol.for("isArrowBigNum");function ze(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r0&&void 0!==arguments[0]?arguments[0]:"default"){case"number":return xe(this);case"string":return Ee(this);case"default":return ke(this)}return Ee(this)},Object.setPrototypeOf(Ae.prototype,Object.create(Int32Array.prototype)),Object.setPrototypeOf(ve.prototype,Object.create(Uint32Array.prototype)),Object.setPrototypeOf(we.prototype,Object.create(Uint32Array.prototype)),Object.assign(Ae.prototype,ze.prototype,{constructor:Ae,signed:!0,TypedArray:Int32Array,BigIntArray:BigInt64Array}),Object.assign(ve.prototype,ze.prototype,{constructor:ve,signed:!1,TypedArray:Uint32Array,BigIntArray:BigUint64Array}),Object.assign(we.prototype,ze.prototype,{constructor:we,signed:!0,TypedArray:Uint32Array,BigIntArray:BigUint64Array});const Se=BigInt(4294967296)*BigInt(4294967296)-BigInt(1);function xe(e,t){const{buffer:n,byteOffset:r,byteLength:o,signed:i}=e,a=new BigUint64Array(n,r,o/8),s=i&&a.at(-1)&BigInt(1)<=0)return qe(e);t=t.slice();let n=1;for(let r=0;re[Symbol.toStringTag]="Null")(at.prototype);class st extends it{constructor(e,t){super(c.Int),this.isSigned=e,this.bitWidth=t}get ArrayType(){switch(this.bitWidth){case 8:return this.isSigned?Int8Array:Uint8Array;case 16:return this.isSigned?Int16Array:Uint16Array;case 32:return this.isSigned?Int32Array:Uint32Array;case 64:return this.isSigned?BigInt64Array:BigUint64Array}throw new Error(`Unrecognized ${this[Symbol.toStringTag]} type`)}toString(){return`${this.isSigned?"I":"Ui"}nt${this.bitWidth}`}}Le=Symbol.toStringTag,st[Le]=(e=>(e.isSigned=null,e.bitWidth=null,e[Symbol.toStringTag]="Int"))(st.prototype);class lt extends st{constructor(){super(!0,32)}get ArrayType(){return Int32Array}}Object.defineProperty(class extends st{constructor(){super(!0,8)}get ArrayType(){return Int8Array}}.prototype,"ArrayType",{value:Int8Array}),Object.defineProperty(class extends st{constructor(){super(!0,16)}get ArrayType(){return Int16Array}}.prototype,"ArrayType",{value:Int16Array}),Object.defineProperty(lt.prototype,"ArrayType",{value:Int32Array}),Object.defineProperty(class extends st{constructor(){super(!0,64)}get ArrayType(){return BigInt64Array}}.prototype,"ArrayType",{value:BigInt64Array}),Object.defineProperty(class extends st{constructor(){super(!1,8)}get ArrayType(){return Uint8Array}}.prototype,"ArrayType",{value:Uint8Array}),Object.defineProperty(class extends st{constructor(){super(!1,16)}get ArrayType(){return Uint16Array}}.prototype,"ArrayType",{value:Uint16Array}),Object.defineProperty(class extends st{constructor(){super(!1,32)}get ArrayType(){return Uint32Array}}.prototype,"ArrayType",{value:Uint32Array}),Object.defineProperty(class extends st{constructor(){super(!1,64)}get ArrayType(){return BigUint64Array}}.prototype,"ArrayType",{value:BigUint64Array});class ct extends it{constructor(e){super(c.Float),this.precision=e}get ArrayType(){switch(this.precision){case _e.HALF:return Uint16Array;case _e.SINGLE:return Float32Array;case _e.DOUBLE:return Float64Array}throw new Error(`Unrecognized ${this[Symbol.toStringTag]} type`)}toString(){return`Float${this.precision<<5||16}`}}je=Symbol.toStringTag,ct[je]=(e=>(e.precision=null,e[Symbol.toStringTag]="Float"))(ct.prototype);Object.defineProperty(class extends ct{constructor(){super(_e.HALF)}}.prototype,"ArrayType",{value:Uint16Array}),Object.defineProperty(class extends ct{constructor(){super(_e.SINGLE)}}.prototype,"ArrayType",{value:Float32Array}),Object.defineProperty(class extends ct{constructor(){super(_e.DOUBLE)}}.prototype,"ArrayType",{value:Float64Array});class ut extends it{constructor(){super(c.Binary)}toString(){return"Binary"}}De=Symbol.toStringTag,ut[De]=(e=>(e.ArrayType=Uint8Array,e[Symbol.toStringTag]="Binary"))(ut.prototype);class pt extends it{constructor(){super(c.LargeBinary)}toString(){return"LargeBinary"}}Be=Symbol.toStringTag,pt[Be]=(e=>(e.ArrayType=Uint8Array,e.OffsetArrayType=BigInt64Array,e[Symbol.toStringTag]="LargeBinary"))(pt.prototype);class dt extends it{constructor(){super(c.Utf8)}toString(){return"Utf8"}}Fe=Symbol.toStringTag,dt[Fe]=(e=>(e.ArrayType=Uint8Array,e[Symbol.toStringTag]="Utf8"))(dt.prototype);class bt extends it{constructor(){super(c.LargeUtf8)}toString(){return"LargeUtf8"}}Ve=Symbol.toStringTag,bt[Ve]=(e=>(e.ArrayType=Uint8Array,e.OffsetArrayType=BigInt64Array,e[Symbol.toStringTag]="LargeUtf8"))(bt.prototype);class ft extends it{constructor(){super(c.Bool)}toString(){return"Bool"}}Ue=Symbol.toStringTag,ft[Ue]=(e=>(e.ArrayType=Uint8Array,e[Symbol.toStringTag]="Bool"))(ft.prototype);class ht extends it{constructor(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:128;super(c.Decimal),this.scale=e,this.precision=t,this.bitWidth=n}toString(){return`Decimal[${this.precision}e${this.scale>0?"+":""}${this.scale}]`}}He=Symbol.toStringTag,ht[He]=(e=>(e.scale=null,e.precision=null,e.ArrayType=Uint32Array,e[Symbol.toStringTag]="Decimal"))(ht.prototype);class mt extends it{constructor(e){super(c.Date),this.unit=e}toString(){return`Date${32*(this.unit+1)}<${Ce[this.unit]}>`}get ArrayType(){return this.unit===Ce.DAY?Int32Array:BigInt64Array}}Xe=Symbol.toStringTag,mt[Xe]=(e=>(e.unit=null,e[Symbol.toStringTag]="Date"))(mt.prototype);class gt extends it{constructor(e,t){super(c.Time),this.unit=e,this.bitWidth=t}toString(){return`Time${this.bitWidth}<${Re[this.unit]}>`}get ArrayType(){switch(this.bitWidth){case 32:return Int32Array;case 64:return BigInt64Array}throw new Error(`Unrecognized ${this[Symbol.toStringTag]} type`)}}Ge=Symbol.toStringTag,gt[Ge]=(e=>(e.unit=null,e.bitWidth=null,e[Symbol.toStringTag]="Time"))(gt.prototype);class Ot extends it{constructor(e,t){super(c.Timestamp),this.unit=e,this.timezone=t}toString(){return`Timestamp<${Re[this.unit]}${this.timezone?`, ${this.timezone}`:""}>`}}$e=Symbol.toStringTag,Ot[$e]=(e=>(e.unit=null,e.timezone=null,e.ArrayType=BigInt64Array,e[Symbol.toStringTag]="Timestamp"))(Ot.prototype);class yt extends it{constructor(e){super(c.Interval),this.unit=e}toString(){return`Interval<${Ne[this.unit]}>`}}Ke=Symbol.toStringTag,yt[Ke]=(e=>(e.unit=null,e.ArrayType=Int32Array,e[Symbol.toStringTag]="Interval"))(yt.prototype);class Mt extends it{constructor(e){super(c.Duration),this.unit=e}toString(){return`Duration<${Re[this.unit]}>`}}Ye=Symbol.toStringTag,Mt[Ye]=(e=>(e.unit=null,e.ArrayType=BigInt64Array,e[Symbol.toStringTag]="Duration"))(Mt.prototype);class zt extends it{constructor(e){super(c.List),this.children=[e]}toString(){return`List<${this.valueType}>`}get valueType(){return this.children[0].type}get valueField(){return this.children[0]}get ArrayType(){return this.valueType.ArrayType}}Ze=Symbol.toStringTag,zt[Ze]=(e=>(e.children=null,e[Symbol.toStringTag]="List"))(zt.prototype);class At extends it{constructor(e){super(c.Struct),this.children=e}toString(){return`Struct<{${this.children.map((e=>`${e.name}:${e.type}`)).join(", ")}}>`}}Je=Symbol.toStringTag,At[Je]=(e=>(e.children=null,e[Symbol.toStringTag]="Struct"))(At.prototype);class vt extends it{constructor(e,t,n){super(c.Union),this.mode=e,this.children=n,this.typeIds=t=Int32Array.from(t),this.typeIdToChildIndex=t.reduce(((e,t,n)=>(e[t]=n)&&e||e),Object.create(null))}toString(){return`${this[Symbol.toStringTag]}<${this.children.map((e=>`${e.type}`)).join(" | ")}>`}}Qe=Symbol.toStringTag,vt[Qe]=(e=>(e.mode=null,e.typeIds=null,e.children=null,e.typeIdToChildIndex=null,e.ArrayType=Int8Array,e[Symbol.toStringTag]="Union"))(vt.prototype);class wt extends it{constructor(e){super(c.FixedSizeBinary),this.byteWidth=e}toString(){return`FixedSizeBinary[${this.byteWidth}]`}}et=Symbol.toStringTag,wt[et]=(e=>(e.byteWidth=null,e.ArrayType=Uint8Array,e[Symbol.toStringTag]="FixedSizeBinary"))(wt.prototype);class St extends it{constructor(e,t){super(c.FixedSizeList),this.listSize=e,this.children=[t]}get valueType(){return this.children[0].type}get valueField(){return this.children[0]}get ArrayType(){return this.valueType.ArrayType}toString(){return`FixedSizeList[${this.listSize}]<${this.valueType}>`}}tt=Symbol.toStringTag,St[tt]=(e=>(e.children=null,e.listSize=null,e[Symbol.toStringTag]="FixedSizeList"))(St.prototype);class xt extends it{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];var n,r,o;if(super(c.Map),this.children=[e],this.keysSorted=t,e&&(e.name="entries",null===(n=null===e||void 0===e?void 0:e.type)||void 0===n?void 0:n.children)){const t=null===(r=null===e||void 0===e?void 0:e.type)||void 0===r?void 0:r.children[0];t&&(t.name="key");const n=null===(o=null===e||void 0===e?void 0:e.type)||void 0===o?void 0:o.children[1];n&&(n.name="value")}}get keyType(){return this.children[0].type.children[0].type}get valueType(){return this.children[0].type.children[1].type}get childType(){return this.children[0].type}toString(){return`Map<{${this.children[0].type.children.map((e=>`${e.name}:${e.type}`)).join(", ")}}>`}}nt=Symbol.toStringTag,xt[nt]=(e=>(e.children=null,e.keysSorted=null,e[Symbol.toStringTag]="Map_"))(xt.prototype);const Et=(kt=-1,()=>++kt);var kt;class qt extends it{constructor(e,t,n,r){super(c.Dictionary),this.indices=t,this.dictionary=e,this.isOrdered=r||!1,this.id=null==n?Et():Oe(n)}get children(){return this.dictionary.children}get valueType(){return this.dictionary}get ArrayType(){return this.dictionary.ArrayType}toString(){return`Dictionary<${this.indices}, ${this.dictionary}>`}}function Tt(e){const t=e;switch(e.typeId){case c.Decimal:return e.bitWidth/32;case c.Interval:return 1+t.unit;case c.FixedSizeList:return t.listSize;case c.FixedSizeBinary:return t.byteWidth;default:return 1}}rt=Symbol.toStringTag,qt[rt]=(e=>(e.id=null,e.indices=null,e.isOrdered=null,e.dictionary=null,e[Symbol.toStringTag]="Dictionary"))(qt.prototype);class _t{visitMany(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;rthis.visit(e,...n.map((e=>e[t])))))}visit(){for(var e=arguments.length,t=new Array(e),n=0;n2&&void 0!==arguments[2])||arguments[2];if("number"===typeof t)return Rt(e,t,n);if("string"===typeof t&&t in c)return Rt(e,c[t],n);if(t&&t instanceof it)return Rt(e,Ct(t),n);if((null===t||void 0===t?void 0:t.type)&&t.type instanceof it)return Rt(e,Ct(t.type),n);return Rt(e,c.NONE,n)}(this,e,!(arguments.length>1&&void 0!==arguments[1])||arguments[1])}getVisitFnByTypeId(e){return Rt(this,e,!(arguments.length>1&&void 0!==arguments[1])||arguments[1])}visitNull(e){return null}visitBool(e){return null}visitInt(e){return null}visitFloat(e){return null}visitUtf8(e){return null}visitLargeUtf8(e){return null}visitBinary(e){return null}visitLargeBinary(e){return null}visitFixedSizeBinary(e){return null}visitDate(e){return null}visitTimestamp(e){return null}visitTime(e){return null}visitDecimal(e){return null}visitList(e){return null}visitStruct(e){return null}visitUnion(e){return null}visitDictionary(e){return null}visitInterval(e){return null}visitDuration(e){return null}visitFixedSizeList(e){return null}visitMap(e){return null}}function Rt(e,t){let n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],r=null;switch(t){case c.Null:r=e.visitNull;break;case c.Bool:r=e.visitBool;break;case c.Int:r=e.visitInt;break;case c.Int8:r=e.visitInt8||e.visitInt;break;case c.Int16:r=e.visitInt16||e.visitInt;break;case c.Int32:r=e.visitInt32||e.visitInt;break;case c.Int64:r=e.visitInt64||e.visitInt;break;case c.Uint8:r=e.visitUint8||e.visitInt;break;case c.Uint16:r=e.visitUint16||e.visitInt;break;case c.Uint32:r=e.visitUint32||e.visitInt;break;case c.Uint64:r=e.visitUint64||e.visitInt;break;case c.Float:r=e.visitFloat;break;case c.Float16:r=e.visitFloat16||e.visitFloat;break;case c.Float32:r=e.visitFloat32||e.visitFloat;break;case c.Float64:r=e.visitFloat64||e.visitFloat;break;case c.Utf8:r=e.visitUtf8;break;case c.LargeUtf8:r=e.visitLargeUtf8;break;case c.Binary:r=e.visitBinary;break;case c.LargeBinary:r=e.visitLargeBinary;break;case c.FixedSizeBinary:r=e.visitFixedSizeBinary;break;case c.Date:r=e.visitDate;break;case c.DateDay:r=e.visitDateDay||e.visitDate;break;case c.DateMillisecond:r=e.visitDateMillisecond||e.visitDate;break;case c.Timestamp:r=e.visitTimestamp;break;case c.TimestampSecond:r=e.visitTimestampSecond||e.visitTimestamp;break;case c.TimestampMillisecond:r=e.visitTimestampMillisecond||e.visitTimestamp;break;case c.TimestampMicrosecond:r=e.visitTimestampMicrosecond||e.visitTimestamp;break;case c.TimestampNanosecond:r=e.visitTimestampNanosecond||e.visitTimestamp;break;case c.Time:r=e.visitTime;break;case c.TimeSecond:r=e.visitTimeSecond||e.visitTime;break;case c.TimeMillisecond:r=e.visitTimeMillisecond||e.visitTime;break;case c.TimeMicrosecond:r=e.visitTimeMicrosecond||e.visitTime;break;case c.TimeNanosecond:r=e.visitTimeNanosecond||e.visitTime;break;case c.Decimal:r=e.visitDecimal;break;case c.List:r=e.visitList;break;case c.Struct:r=e.visitStruct;break;case c.Union:r=e.visitUnion;break;case c.DenseUnion:r=e.visitDenseUnion||e.visitUnion;break;case c.SparseUnion:r=e.visitSparseUnion||e.visitUnion;break;case c.Dictionary:r=e.visitDictionary;break;case c.Interval:r=e.visitInterval;break;case c.IntervalDayTime:r=e.visitIntervalDayTime||e.visitInterval;break;case c.IntervalYearMonth:r=e.visitIntervalYearMonth||e.visitInterval;break;case c.Duration:r=e.visitDuration;break;case c.DurationSecond:r=e.visitDurationSecond||e.visitDuration;break;case c.DurationMillisecond:r=e.visitDurationMillisecond||e.visitDuration;break;case c.DurationMicrosecond:r=e.visitDurationMicrosecond||e.visitDuration;break;case c.DurationNanosecond:r=e.visitDurationNanosecond||e.visitDuration;break;case c.FixedSizeList:r=e.visitFixedSizeList;break;case c.Map:r=e.visitMap}if("function"===typeof r)return r;if(!n)return()=>null;throw new Error(`Unrecognized type '${c[t]}'`)}function Ct(e){switch(e.typeId){case c.Null:return c.Null;case c.Int:{const{bitWidth:t,isSigned:n}=e;switch(t){case 8:return n?c.Int8:c.Uint8;case 16:return n?c.Int16:c.Uint16;case 32:return n?c.Int32:c.Uint32;case 64:return n?c.Int64:c.Uint64}return c.Int}case c.Float:switch(e.precision){case _e.HALF:return c.Float16;case _e.SINGLE:return c.Float32;case _e.DOUBLE:return c.Float64}return c.Float;case c.Binary:return c.Binary;case c.LargeBinary:return c.LargeBinary;case c.Utf8:return c.Utf8;case c.LargeUtf8:return c.LargeUtf8;case c.Bool:return c.Bool;case c.Decimal:return c.Decimal;case c.Time:switch(e.unit){case Re.SECOND:return c.TimeSecond;case Re.MILLISECOND:return c.TimeMillisecond;case Re.MICROSECOND:return c.TimeMicrosecond;case Re.NANOSECOND:return c.TimeNanosecond}return c.Time;case c.Timestamp:switch(e.unit){case Re.SECOND:return c.TimestampSecond;case Re.MILLISECOND:return c.TimestampMillisecond;case Re.MICROSECOND:return c.TimestampMicrosecond;case Re.NANOSECOND:return c.TimestampNanosecond}return c.Timestamp;case c.Date:switch(e.unit){case Ce.DAY:return c.DateDay;case Ce.MILLISECOND:return c.DateMillisecond}return c.Date;case c.Interval:switch(e.unit){case Ne.DAY_TIME:return c.IntervalDayTime;case Ne.YEAR_MONTH:return c.IntervalYearMonth}return c.Interval;case c.Duration:switch(e.unit){case Re.SECOND:return c.DurationSecond;case Re.MILLISECOND:return c.DurationMillisecond;case Re.MICROSECOND:return c.DurationMicrosecond;case Re.NANOSECOND:return c.DurationNanosecond}return c.Duration;case c.Map:return c.Map;case c.List:return c.List;case c.Struct:return c.Struct;case c.Union:switch(e.mode){case Ie.Dense:return c.DenseUnion;case Ie.Sparse:return c.SparseUnion}return c.Union;case c.FixedSizeBinary:return c.FixedSizeBinary;case c.FixedSizeList:return c.FixedSizeList;case c.Dictionary:return c.Dictionary}throw new Error(`Unrecognized type '${c[e.typeId]}'`)}_t.prototype.visitInt8=null,_t.prototype.visitInt16=null,_t.prototype.visitInt32=null,_t.prototype.visitInt64=null,_t.prototype.visitUint8=null,_t.prototype.visitUint16=null,_t.prototype.visitUint32=null,_t.prototype.visitUint64=null,_t.prototype.visitFloat16=null,_t.prototype.visitFloat32=null,_t.prototype.visitFloat64=null,_t.prototype.visitDateDay=null,_t.prototype.visitDateMillisecond=null,_t.prototype.visitTimestampSecond=null,_t.prototype.visitTimestampMillisecond=null,_t.prototype.visitTimestampMicrosecond=null,_t.prototype.visitTimestampNanosecond=null,_t.prototype.visitTimeSecond=null,_t.prototype.visitTimeMillisecond=null,_t.prototype.visitTimeMicrosecond=null,_t.prototype.visitTimeNanosecond=null,_t.prototype.visitDenseUnion=null,_t.prototype.visitSparseUnion=null,_t.prototype.visitIntervalDayTime=null,_t.prototype.visitIntervalYearMonth=null,_t.prototype.visitDuration=null,_t.prototype.visitDurationSecond=null,_t.prototype.visitDurationMillisecond=null,_t.prototype.visitDurationMicrosecond=null,_t.prototype.visitDurationNanosecond=null;const Nt=new Float64Array(1),It=new Uint32Array(Nt.buffer);function Wt(e){const t=(31744&e)>>10,n=(1023&e)/1024,r=Math.pow(-1,(32768&e)>>15);switch(t){case 31:return r*(n?Number.NaN:1/0);case 0:return r*(n?6103515625e-14*n:0)}return r*Math.pow(2,t-15)*(1+n)}function Pt(e){if(e!==e)return 32256;Nt[0]=e;const t=(2147483648&It[1])>>16&65535;let n=2146435072&It[1],r=0;return n>=1089470464?It[0]>0?n=31744:(n=(2080374784&n)>>16,r=(1048575&It[1])>>10):n<=1056964608?(r=1048576+(1048575&It[1]),r=1048576+(r<<(n>>20)-998)>>21,n=0):(n=n-1056964608>>10,r=512+(1048575&It[1])>>10),t|n|65535&r}class Lt extends _t{}function jt(e){return(t,n,r)=>{if(t.setValid(n,null!=r))return e(t,n,r)}}const Dt=(e,t,n,r)=>{if(n+1{let{values:r}=e;r[t]=n},Ft=(e,t,n)=>{let{values:r}=e;r[t]=n},Vt=(e,t,n)=>{let{values:r}=e;r[t]=Pt(n)},Ut=(e,t,n)=>{let{values:r}=e;((e,t,n)=>{e[t]=Math.floor(n/864e5)})(r,t,n.valueOf())},Ht=(e,t,n)=>{let{values:r}=e;r[t]=BigInt(n)},Xt=(e,t,n)=>{let{values:r,valueOffsets:o}=e;return Dt(r,o,t,n)},Gt=(e,t,n)=>{let{values:r,valueOffsets:o}=e;return Dt(r,o,t,O(n))},$t=(e,t,n)=>{let{values:r}=e;r[t]=BigInt(n/1e3)},Kt=(e,t,n)=>{let{values:r}=e;r[t]=BigInt(n)},Yt=(e,t,n)=>{let{values:r}=e;r[t]=BigInt(1e3*n)},Zt=(e,t,n)=>{let{values:r}=e;r[t]=BigInt(1e6*n)},Jt=(e,t,n)=>{let{values:r}=e;r[t]=n},Qt=(e,t,n)=>{let{values:r}=e;r[t]=n},en=(e,t,n)=>{let{values:r}=e;r[t]=n},tn=(e,t,n)=>{let{values:r}=e;r[t]=n},nn=(e,t,n)=>{const r=e.type.typeIdToChildIndex[e.typeIds[t]],o=e.children[r];pn.visit(o,e.valueOffsets[t],n)},rn=(e,t,n)=>{const r=e.type.typeIdToChildIndex[e.typeIds[t]],o=e.children[r];pn.visit(o,t,n)},on=(e,t,n)=>{let{values:r}=e;r.set(n.subarray(0,2),2*t)},an=(e,t,n)=>{let{values:r}=e;r[t]=12*n[0]+n[1]%12},sn=(e,t,n)=>{let{values:r}=e;r[t]=n},ln=(e,t,n)=>{let{values:r}=e;r[t]=n},cn=(e,t,n)=>{let{values:r}=e;r[t]=n},un=(e,t,n)=>{let{values:r}=e;r[t]=n};Lt.prototype.visitBool=jt(((e,t,n)=>{let{offset:r,values:o}=e;const i=r+t;n?o[i>>3]|=1<>3]&=~(1<{switch(e.type.precision){case _e.HALF:return Vt(e,t,n);case _e.SINGLE:case _e.DOUBLE:return Ft(e,t,n)}})),Lt.prototype.visitFloat16=jt(Vt),Lt.prototype.visitFloat32=jt(Ft),Lt.prototype.visitFloat64=jt(Ft),Lt.prototype.visitUtf8=jt(Gt),Lt.prototype.visitLargeUtf8=jt(Gt),Lt.prototype.visitBinary=jt(Xt),Lt.prototype.visitLargeBinary=jt(Xt),Lt.prototype.visitFixedSizeBinary=jt(((e,t,n)=>{let{stride:r,values:o}=e;o.set(n.subarray(0,r),r*t)})),Lt.prototype.visitDate=jt(((e,t,n)=>{e.type.unit===Ce.DAY?Ut(e,t,n):Ht(e,t,n)})),Lt.prototype.visitDateDay=jt(Ut),Lt.prototype.visitDateMillisecond=jt(Ht),Lt.prototype.visitTimestamp=jt(((e,t,n)=>{switch(e.type.unit){case Re.SECOND:return $t(e,t,n);case Re.MILLISECOND:return Kt(e,t,n);case Re.MICROSECOND:return Yt(e,t,n);case Re.NANOSECOND:return Zt(e,t,n)}})),Lt.prototype.visitTimestampSecond=jt($t),Lt.prototype.visitTimestampMillisecond=jt(Kt),Lt.prototype.visitTimestampMicrosecond=jt(Yt),Lt.prototype.visitTimestampNanosecond=jt(Zt),Lt.prototype.visitTime=jt(((e,t,n)=>{switch(e.type.unit){case Re.SECOND:return Jt(e,t,n);case Re.MILLISECOND:return Qt(e,t,n);case Re.MICROSECOND:return en(e,t,n);case Re.NANOSECOND:return tn(e,t,n)}})),Lt.prototype.visitTimeSecond=jt(Jt),Lt.prototype.visitTimeMillisecond=jt(Qt),Lt.prototype.visitTimeMicrosecond=jt(en),Lt.prototype.visitTimeNanosecond=jt(tn),Lt.prototype.visitDecimal=jt(((e,t,n)=>{let{values:r,stride:o}=e;r.set(n.subarray(0,o),o*t)})),Lt.prototype.visitList=jt(((e,t,n)=>{const r=e.children[0],o=e.valueOffsets,i=pn.getVisitFn(r);if(Array.isArray(n))for(let a=-1,s=o[t],l=o[t+1];s{const r=e.type.children.map((e=>pn.getVisitFn(e.type))),o=n instanceof Map?(i=t,a=n,(e,t,n,r)=>t&&e(t,i,a.get(n.name))):n instanceof Rr?((e,t)=>(n,r,o,i)=>r&&n(r,e,t.get(i)))(t,n):Array.isArray(n)?((e,t)=>(n,r,o,i)=>r&&n(r,e,t[i]))(t,n):((e,t)=>(n,r,o,i)=>r&&n(r,e,t[o.name]))(t,n);var i,a;e.type.children.forEach(((t,n)=>o(r[n],e.children[n],t,n)))})),Lt.prototype.visitUnion=jt(((e,t,n)=>{e.type.mode===Ie.Dense?nn(e,t,n):rn(e,t,n)})),Lt.prototype.visitDenseUnion=jt(nn),Lt.prototype.visitSparseUnion=jt(rn),Lt.prototype.visitDictionary=jt(((e,t,n)=>{var r;null===(r=e.dictionary)||void 0===r||r.set(e.values[t],n)})),Lt.prototype.visitInterval=jt(((e,t,n)=>{e.type.unit===Ne.DAY_TIME?on(e,t,n):an(e,t,n)})),Lt.prototype.visitIntervalDayTime=jt(on),Lt.prototype.visitIntervalYearMonth=jt(an),Lt.prototype.visitDuration=jt(((e,t,n)=>{switch(e.type.unit){case Re.SECOND:return sn(e,t,n);case Re.MILLISECOND:return ln(e,t,n);case Re.MICROSECOND:return cn(e,t,n);case Re.NANOSECOND:return un(e,t,n)}})),Lt.prototype.visitDurationSecond=jt(sn),Lt.prototype.visitDurationMillisecond=jt(ln),Lt.prototype.visitDurationMicrosecond=jt(cn),Lt.prototype.visitDurationNanosecond=jt(un),Lt.prototype.visitFixedSizeList=jt(((e,t,n)=>{const{stride:r}=e,o=e.children[0],i=pn.getVisitFn(o);if(Array.isArray(n))for(let a=-1,s=t*r;++a{const r=e.children[0],{valueOffsets:o}=e,i=pn.getVisitFn(r);let{[t]:a,[t+1]:s}=o;const l=n instanceof Map?n.entries():Object.entries(n);for(const c of l)if(i(r,a,c),++a>=s)break}));const pn=new Lt,dn=Symbol.for("parent"),bn=Symbol.for("rowIndex");class fn{constructor(e,t){return this[dn]=e,this[bn]=t,new Proxy(this,new mn)}toArray(){return Object.values(this.toJSON())}toJSON(){const e=this[bn],t=this[dn],n=t.type.children,r={};for(let o=-1,i=n.length;++o{let[t,n]=e;return`${b(t)}: ${b(n)}`})).join(", ")}}`}[Symbol.for("nodejs.util.inspect.custom")](){return this.toString()}[Symbol.iterator](){return new hn(this[dn],this[bn])}}class hn{constructor(e,t){this.childIndex=0,this.children=e.children,this.rowIndex=t,this.childFields=e.type.children,this.numChildren=this.childFields.length}[Symbol.iterator](){return this}next(){const e=this.childIndex;return ee.name))}has(e,t){return-1!==e[dn].type.children.findIndex((e=>e.name===t))}getOwnPropertyDescriptor(e,t){if(-1!==e[dn].type.children.findIndex((e=>e.name===t)))return{writable:!0,enumerable:!0,configurable:!0}}get(e,t){if(Reflect.has(e,t))return e[t];const n=e[dn].type.children.findIndex((e=>e.name===t));if(-1!==n){const r=Fn.visit(e[dn].children[n],e[bn]);return Reflect.set(e,t,r),r}}set(e,t,n){const r=e[dn].type.children.findIndex((e=>e.name===t));return-1!==r?(pn.visit(e[dn].children[r],e[bn],n),Reflect.set(e,t,n)):!(!Reflect.has(e,t)&&"symbol"!==typeof t)&&Reflect.set(e,t,n)}}class gn extends _t{}function On(e){return(t,n)=>t.getValid(n)?e(t,n):null}const yn=(e,t,n)=>{if(n+1>=t.length)return null;const r=Oe(t[n]),o=Oe(t[n+1]);return e.subarray(r,o)},Mn=(e,t)=>{let{values:n}=e;return((e,t)=>864e5*e[t])(n,t)},zn=(e,t)=>{let{values:n}=e;return Oe(n[t])},An=(e,t)=>{let{stride:n,values:r}=e;return r[n*t]},vn=(e,t)=>{let{values:n}=e;return n[t]},wn=(e,t)=>{let{values:n,valueOffsets:r}=e;return yn(n,r,t)},Sn=(e,t)=>{let{values:n,valueOffsets:r}=e;const o=yn(n,r,t);return null!==o?m(o):null},xn=(e,t)=>{let{values:n}=e;return 1e3*Oe(n[t])},En=(e,t)=>{let{values:n}=e;return Oe(n[t])},kn=(e,t)=>{let{values:n}=e;return ye(n[t],BigInt(1e3))},qn=(e,t)=>{let{values:n}=e;return ye(n[t],BigInt(1e6))},Tn=(e,t)=>{let{values:n}=e;return n[t]},_n=(e,t)=>{let{values:n}=e;return n[t]},Rn=(e,t)=>{let{values:n}=e;return n[t]},Cn=(e,t)=>{let{values:n}=e;return n[t]},Nn=(e,t)=>{const n=e.type.typeIdToChildIndex[e.typeIds[t]],r=e.children[n];return Fn.visit(r,e.valueOffsets[t])},In=(e,t)=>{const n=e.type.typeIdToChildIndex[e.typeIds[t]],r=e.children[n];return Fn.visit(r,t)},Wn=(e,t)=>{let{values:n}=e;return n.subarray(2*t,2*(t+1))},Pn=(e,t)=>{let{values:n}=e;const r=n[t],o=new Int32Array(2);return o[0]=Math.trunc(r/12),o[1]=Math.trunc(r%12),o},Ln=(e,t)=>{let{values:n}=e;return n[t]},jn=(e,t)=>{let{values:n}=e;return n[t]},Dn=(e,t)=>{let{values:n}=e;return n[t]},Bn=(e,t)=>{let{values:n}=e;return n[t]};gn.prototype.visitNull=On(((e,t)=>null)),gn.prototype.visitBool=On(((e,t)=>{let{offset:n,values:r}=e;const o=n+t;return 0!==(r[o>>3]&1<{let{values:n}=e;return n[t]})),gn.prototype.visitInt8=On(An),gn.prototype.visitInt16=On(An),gn.prototype.visitInt32=On(An),gn.prototype.visitInt64=On(vn),gn.prototype.visitUint8=On(An),gn.prototype.visitUint16=On(An),gn.prototype.visitUint32=On(An),gn.prototype.visitUint64=On(vn),gn.prototype.visitFloat=On(((e,t)=>{let{type:n,values:r}=e;return n.precision!==_e.HALF?r[t]:Wt(r[t])})),gn.prototype.visitFloat16=On(((e,t)=>{let{stride:n,values:r}=e;return Wt(r[n*t])})),gn.prototype.visitFloat32=On(An),gn.prototype.visitFloat64=On(An),gn.prototype.visitUtf8=On(Sn),gn.prototype.visitLargeUtf8=On(Sn),gn.prototype.visitBinary=On(wn),gn.prototype.visitLargeBinary=On(wn),gn.prototype.visitFixedSizeBinary=On(((e,t)=>{let{stride:n,values:r}=e;return r.subarray(n*t,n*(t+1))})),gn.prototype.visitDate=On(((e,t)=>e.type.unit===Ce.DAY?Mn(e,t):zn(e,t))),gn.prototype.visitDateDay=On(Mn),gn.prototype.visitDateMillisecond=On(zn),gn.prototype.visitTimestamp=On(((e,t)=>{switch(e.type.unit){case Re.SECOND:return xn(e,t);case Re.MILLISECOND:return En(e,t);case Re.MICROSECOND:return kn(e,t);case Re.NANOSECOND:return qn(e,t)}})),gn.prototype.visitTimestampSecond=On(xn),gn.prototype.visitTimestampMillisecond=On(En),gn.prototype.visitTimestampMicrosecond=On(kn),gn.prototype.visitTimestampNanosecond=On(qn),gn.prototype.visitTime=On(((e,t)=>{switch(e.type.unit){case Re.SECOND:return Tn(e,t);case Re.MILLISECOND:return _n(e,t);case Re.MICROSECOND:return Rn(e,t);case Re.NANOSECOND:return Cn(e,t)}})),gn.prototype.visitTimeSecond=On(Tn),gn.prototype.visitTimeMillisecond=On(_n),gn.prototype.visitTimeMicrosecond=On(Rn),gn.prototype.visitTimeNanosecond=On(Cn),gn.prototype.visitDecimal=On(((e,t)=>{let{values:n,stride:r}=e;return Te.decimal(n.subarray(r*t,r*(t+1)))})),gn.prototype.visitList=On(((e,t)=>{const{valueOffsets:n,stride:r,children:o}=e,{[t*r]:i,[t*r+1]:a}=n,s=o[0].slice(i,a-i);return new Rr([s])})),gn.prototype.visitStruct=On(((e,t)=>new fn(e,t))),gn.prototype.visitUnion=On(((e,t)=>e.type.mode===Ie.Dense?Nn(e,t):In(e,t))),gn.prototype.visitDenseUnion=On(Nn),gn.prototype.visitSparseUnion=On(In),gn.prototype.visitDictionary=On(((e,t)=>{var n;return null===(n=e.dictionary)||void 0===n?void 0:n.get(e.values[t])})),gn.prototype.visitInterval=On(((e,t)=>e.type.unit===Ne.DAY_TIME?Wn(e,t):Pn(e,t))),gn.prototype.visitIntervalDayTime=On(Wn),gn.prototype.visitIntervalYearMonth=On(Pn),gn.prototype.visitDuration=On(((e,t)=>{switch(e.type.unit){case Re.SECOND:return Ln(e,t);case Re.MILLISECOND:return jn(e,t);case Re.MICROSECOND:return Dn(e,t);case Re.NANOSECOND:return Bn(e,t)}})),gn.prototype.visitDurationSecond=On(Ln),gn.prototype.visitDurationMillisecond=On(jn),gn.prototype.visitDurationMicrosecond=On(Dn),gn.prototype.visitDurationNanosecond=On(Bn),gn.prototype.visitFixedSizeList=On(((e,t)=>{const{stride:n,children:r}=e,o=r[0].slice(t*n,n);return new Rr([o])})),gn.prototype.visitMap=On(((e,t)=>{const{valueOffsets:n,children:r}=e,{[t]:o,[t+1]:i}=n,a=r[0];return new Gn(a.slice(o,i-o))}));const Fn=new gn,Vn=Symbol.for("keys"),Un=Symbol.for("vals"),Hn=Symbol.for("kKeysAsStrings"),Xn=Symbol.for("_kKeysAsStrings");class Gn{constructor(e){return this[Vn]=new Rr([e.children[0]]).memoize(),this[Un]=e.children[1],new Proxy(this,new Kn)}get[Hn](){return this[Xn]||(this[Xn]=Array.from(this[Vn].toArray(),String))}[Symbol.iterator](){return new $n(this[Vn],this[Un])}get size(){return this[Vn].length}toArray(){return Object.values(this.toJSON())}toJSON(){const e=this[Vn],t=this[Un],n={};for(let r=-1,o=e.length;++r{let[t,n]=e;return`${b(t)}: ${b(n)}`})).join(", ")}}`}[Symbol.for("nodejs.util.inspect.custom")](){return this.toString()}}class $n{constructor(e,t){this.keys=e,this.vals=t,this.keyIndex=0,this.numKeys=e.length}[Symbol.iterator](){return this}next(){const e=this.keyIndex;return e===this.numKeys?{done:!0,value:null}:(this.keyIndex++,{done:!1,value:[this.keys.get(e),Fn.visit(this.vals,e)]})}}class Kn{isExtensible(){return!1}deleteProperty(){return!1}preventExtensions(){return!0}ownKeys(e){return e[Hn]}has(e,t){return e[Hn].includes(t)}getOwnPropertyDescriptor(e,t){if(-1!==e[Hn].indexOf(t))return{writable:!0,enumerable:!0,configurable:!0}}get(e,t){if(Reflect.has(e,t))return e[t];const n=e[Hn].indexOf(t);if(-1!==n){const r=Fn.visit(Reflect.get(e,Un),n);return Reflect.set(e,t,r),r}}set(e,t,n){const r=e[Hn].indexOf(t);return-1!==r?(pn.visit(Reflect.get(e,Un),r,n),Reflect.set(e,t,n)):!!Reflect.has(e,t)&&Reflect.set(e,t,n)}}let Yn;function Zn(e,t,n,r){const{length:o=0}=e;let i="number"!==typeof t?0:t,a="number"!==typeof n?o:n;return i<0&&(i=(i%o+o)%o),a<0&&(a=(a%o+o)%o),ao&&(a=o),r?r(e,i,a):[i,a]}Object.defineProperties(Gn.prototype,{[Symbol.toStringTag]:{enumerable:!1,configurable:!1,value:"Row"},[Vn]:{writable:!0,enumerable:!1,configurable:!1,value:null},[Un]:{writable:!0,enumerable:!1,configurable:!1,value:null},[Xn]:{writable:!0,enumerable:!1,configurable:!1,value:null}});const Jn=(e,t)=>e<0?t+e:e,Qn=e=>e!==e;function er(e){if("object"!==typeof e||null===e)return Qn(e)?Qn:t=>t===e;if(e instanceof Date){const t=e.valueOf();return e=>e instanceof Date&&e.valueOf()===t}return ArrayBuffer.isView(e)?t=>!!t&&ge(e,t):e instanceof Map?function(e){let t=-1;const n=[];for(const r of e.values())n[++t]=er(r);return tr(n)}(e):Array.isArray(e)?function(e){const t=[];for(let n=-1,r=e.length;++n1&&void 0!==arguments[1]&&arguments[1];const n=Object.keys(e);if(!t&&0===n.length)return()=>!1;const r=[];for(let o=-1,i=n.length;++o{if(!n||"object"!==typeof n)return!1;switch(n.constructor){case Array:return function(e,t){const n=e.length;if(t.length!==n)return!1;for(let r=-1;++r0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1?arguments[1]:void 0;this.numChunks=e,this.getChunkIterator=t,this.chunkIndex=0,this.chunkIterator=this.getChunkIterator(0)}next(){for(;this.chunkIndexe+t.nullCount),0)}function ir(e){return e.reduce(((e,t,n)=>(e[n+1]=e[n]+t.length,e)),new Uint32Array(e.length+1))}function ar(e,t,n,r){const o=[];for(let i=-1,a=e.length;++i=r)break;if(n>=s+l)continue;if(s>=n&&s+l<=r){o.push(a);continue}const c=Math.max(0,n-s),u=Math.min(r-s,l);o.push(a.slice(c,u-c))}return 0===o.length&&o.push(e[0].slice(0,0)),o}function sr(e,t,n,r){let o=0,i=0,a=t.length-1;do{if(o>=a-1)return n>r}function fr(e,t,n){return n?!!(e[t>>3]|=1<>3]&=~(1<0||n.byteLength>3):mr(new gr(n,e,t,null,dr)).subarray(0,r)),o}return n}function mr(e){const t=[];let n=0,r=0,o=0;for(const a of e)a&&(o|=1<0)&&(t[n++]=o);const i=new Uint8Array(t.length+7&-8);return i.set(t),i}class gr{constructor(e,t,n,r,o){this.bytes=e,this.length=n,this.context=r,this.get=o,this.bit=t%8,this.byteIndex=t>>3,this.byte=e[this.byteIndex++],this.index=0}next(){return this.index>3<<3,o=t+(t%8===0?0:8-t%8);return Or(e,t,o)+Or(e,r,n)+yr(e,o>>3,r-o>>3)}function yr(e,t,n){let r=0,o=Math.trunc(t);const i=new DataView(e.buffer,e.byteOffset,e.byteLength),a=void 0===n?e.byteLength:o+n;for(;a-o>=4;)r+=Mr(i.getUint32(o)),o+=4;for(;a-o>=2;)r+=Mr(i.getUint16(o)),o+=2;for(;a-o>=1;)r+=Mr(i.getUint8(o)),o+=1;return r}function Mr(e){let t=Math.trunc(e);return t-=t>>>1&1431655765,t=(858993459&t)+(t>>>2&858993459),16843009*(t+(t>>>4)&252645135)>>>24}class zr extends _t{}function Ar(e,t,n){if(void 0===t)return-1;if(null===t)switch(e.typeId){case c.Union:case c.Dictionary:break;default:return function(e,t){const{nullBitmap:n}=e;if(!n||e.nullCount<=0)return-1;let r=0;for(const o of new gr(n,e.offset+(t||0),e.length,n,dr)){if(!o)return r;++r}return-1}(e,n)}const r=Fn.getVisitFn(e),o=er(t);for(let i=(n||0)-1,a=e.length;++i0?0:-1},zr.prototype.visitBool=Ar,zr.prototype.visitInt=Ar,zr.prototype.visitInt8=Ar,zr.prototype.visitInt16=Ar,zr.prototype.visitInt32=Ar,zr.prototype.visitInt64=Ar,zr.prototype.visitUint8=Ar,zr.prototype.visitUint16=Ar,zr.prototype.visitUint32=Ar,zr.prototype.visitUint64=Ar,zr.prototype.visitFloat=Ar,zr.prototype.visitFloat16=Ar,zr.prototype.visitFloat32=Ar,zr.prototype.visitFloat64=Ar,zr.prototype.visitUtf8=Ar,zr.prototype.visitLargeUtf8=Ar,zr.prototype.visitBinary=Ar,zr.prototype.visitLargeBinary=Ar,zr.prototype.visitFixedSizeBinary=Ar,zr.prototype.visitDate=Ar,zr.prototype.visitDateDay=Ar,zr.prototype.visitDateMillisecond=Ar,zr.prototype.visitTimestamp=Ar,zr.prototype.visitTimestampSecond=Ar,zr.prototype.visitTimestampMillisecond=Ar,zr.prototype.visitTimestampMicrosecond=Ar,zr.prototype.visitTimestampNanosecond=Ar,zr.prototype.visitTime=Ar,zr.prototype.visitTimeSecond=Ar,zr.prototype.visitTimeMillisecond=Ar,zr.prototype.visitTimeMicrosecond=Ar,zr.prototype.visitTimeNanosecond=Ar,zr.prototype.visitDecimal=Ar,zr.prototype.visitList=Ar,zr.prototype.visitStruct=Ar,zr.prototype.visitUnion=Ar,zr.prototype.visitDenseUnion=vr,zr.prototype.visitSparseUnion=vr,zr.prototype.visitDictionary=Ar,zr.prototype.visitInterval=Ar,zr.prototype.visitIntervalDayTime=Ar,zr.prototype.visitIntervalYearMonth=Ar,zr.prototype.visitDuration=Ar,zr.prototype.visitDurationSecond=Ar,zr.prototype.visitDurationMillisecond=Ar,zr.prototype.visitDurationMicrosecond=Ar,zr.prototype.visitDurationNanosecond=Ar,zr.prototype.visitFixedSizeList=Ar,zr.prototype.visitMap=Ar;const wr=new zr;class Sr extends _t{}function xr(e){const{type:t}=e;if(0===e.nullCount&&1===e.stride&&(it.isInt(t)&&64!==t.bitWidth||it.isTime(t)&&64!==t.bitWidth||it.isFloat(t)&&t.precision!==_e.HALF))return new rr(e.data.length,(t=>{const n=e.data[t];return n.values.subarray(0,n.length)[Symbol.iterator]()}));let n=0;return new rr(e.data.length,(t=>{const r=e.data[t].length,o=e.slice(n,n+r);return n+=r,new Er(o)}))}class Er{constructor(e){this.vector=e,this.index=0}next(){return this.indexe.data)):e;if(0===o.length||o.some((e=>!(e instanceof Nr))))throw new TypeError("Vector constructor expects an Array of Data instances.");const i=null===(t=o[0])||void 0===t?void 0:t.type;switch(o.length){case 0:this._offsets=[0];break;case 1:{const{get:e,set:t,indexOf:n}=Tr[i.typeId],r=o[0];this.isValid=e=>lr(r,e),this.get=t=>e(r,t),this.set=(e,n)=>t(r,e,n),this.indexOf=e=>n(r,e),this._offsets=[0,r.length];break}default:Object.setPrototypeOf(this,_r[i.typeId]),this._offsets=ir(o)}this.data=o,this.type=i,this.stride=Tt(i),this.numChildren=null!==(r=null===(n=i.children)||void 0===n?void 0:n.length)&&void 0!==r?r:0,this.length=this._offsets.at(-1)}get byteLength(){return this.data.reduce(((e,t)=>e+t.byteLength),0)}get nullable(){return this.data.some((e=>e.nullable))}get nullCount(){return or(this.data)}get ArrayType(){return this.type.ArrayType}get[Symbol.toStringTag](){return`${this.VectorName}<${this.type[Symbol.toStringTag]}>`}get VectorName(){return`${c[this.type.typeId]}Vector`}isValid(e){return!1}get(e){return null}at(e){return this.get(Jn(e,this.length))}set(e,t){}indexOf(e,t){return-1}includes(e,t){return this.indexOf(e,t)>-1}[Symbol.iterator](){return kr.visit(this)}concat(){for(var e=arguments.length,t=new Array(e),n=0;ne.data)).flat(Number.POSITIVE_INFINITY)))}slice(e,t){return new Rr(Zn(this,e,t,((e,t,n)=>{let{data:r,_offsets:o}=e;return ar(r,o,t,n)})))}toJSON(){return[...this]}toArray(){const{type:e,data:t,length:n,stride:r,ArrayType:o}=this;switch(e.typeId){case c.Int:case c.Float:case c.Decimal:case c.Time:case c.Timestamp:switch(t.length){case 0:return new o;case 1:return t[0].values.subarray(0,n*r);default:return t.reduce(((e,t)=>{let{values:n,length:o}=t;return e.array.set(n.subarray(0,o*r),e.offset),e.offset+=o*r,e}),{array:new o(n*r),offset:0}).array}}return[...this]}toString(){return`[${[...this].join(",")}]`}getChild(e){var t;return this.getChildAt(null===(t=this.type.children)||void 0===t?void 0:t.findIndex((t=>t.name===e)))}getChildAt(e){return e>-1&&e{let{children:n}=t;return n[e]}))):null}get isMemoized(){return!!it.isDictionary(this.type)&&this.data[0].dictionary.isMemoized}memoize(){if(it.isDictionary(this.type)){const e=new Cr(this.data[0].dictionary),t=this.data.map((t=>{const n=t.clone();return n.dictionary=e,n}));return new Rr(t)}return new Cr(this)}unmemoize(){if(it.isDictionary(this.type)&&this.isMemoized){const e=this.data[0].dictionary.unmemoize(),t=this.data.map((t=>{const n=t.clone();return n.dictionary=e,n}));return new Rr(t)}return this}}qr=Symbol.toStringTag,Rr[qr]=(e=>{e.type=it.prototype,e.data=[],e.length=0,e.stride=1,e.numChildren=0,e._offsets=new Uint32Array([0]),e[Symbol.isConcatSpreadable]=!0;const t=Object.keys(c).map((e=>c[e])).filter((e=>"number"===typeof e&&e!==c.NONE));for(const n of t){const t=Fn.getVisitFnByTypeId(n),r=pn.getVisitFnByTypeId(n),o=wr.getVisitFnByTypeId(n);Tr[n]={get:t,set:r,indexOf:o},_r[n]=Object.create(e,{isValid:{value:cr(lr)},get:{value:cr(Fn.getVisitFnByTypeId(n))},set:{value:ur(pn.getVisitFnByTypeId(n))},indexOf:{value:pr(wr.getVisitFnByTypeId(n))}})}return"Vector"})(Rr.prototype);class Cr extends Rr{constructor(e){super(e.data);const t=this.get,n=this.set,r=this.slice,o=new Array(this.length);Object.defineProperty(this,"get",{value(e){const n=o[e];if(void 0!==n)return n;const r=t.call(this,e);return o[e]=r,r}}),Object.defineProperty(this,"set",{value(e,t){n.call(this,e,t),o[e]=t}}),Object.defineProperty(this,"slice",{value:(e,t)=>new Cr(r.call(this,e,t))}),Object.defineProperty(this,"isMemoized",{value:!0}),Object.defineProperty(this,"unmemoize",{value:()=>new Rr(this.data)}),Object.defineProperty(this,"memoize",{value:()=>this})}}class Nr{get typeId(){return this.type.typeId}get ArrayType(){return this.type.ArrayType}get buffers(){return[this.valueOffsets,this.values,this.nullBitmap,this.typeIds]}get nullable(){if(0!==this._nullCount){const{type:e}=this;return it.isSparseUnion(e)||it.isDenseUnion(e)?this.children.some((e=>e.nullable)):this.nullBitmap&&this.nullBitmap.byteLength>0}return!0}get byteLength(){let e=0;const{valueOffsets:t,values:n,nullBitmap:r,typeIds:o}=this;return t&&(e+=t.byteLength),n&&(e+=n.byteLength),r&&(e+=r.byteLength),o&&(e+=o.byteLength),this.children.reduce(((e,t)=>e+t.byteLength),e)}get nullCount(){if(it.isUnion(this.type))return this.children.reduce(((e,t)=>e+t.nullCount),0);let e,t=this._nullCount;return t<=-1&&(e=this.nullBitmap)&&(this._nullCount=t=0===e.length?0:this.length-Or(e,this.offset,this.offset+this.length)),t}constructor(e,t,n,r,o){let i,a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:[],s=arguments.length>6?arguments[6]:void 0;this.type=e,this.children=a,this.dictionary=s,this.offset=Math.floor(Math.max(t||0,0)),this.length=Math.floor(Math.max(n||0,0)),this._nullCount=Math.floor(Math.max(r||0,-1)),o instanceof Nr?(this.stride=o.stride,this.values=o.values,this.typeIds=o.typeIds,this.nullBitmap=o.nullBitmap,this.valueOffsets=o.valueOffsets):(this.stride=Tt(e),o&&((i=o[0])&&(this.valueOffsets=i),(i=o[1])&&(this.values=i),(i=o[2])&&(this.nullBitmap=i),(i=o[3])&&(this.typeIds=i)))}getValid(e){const{type:t}=this;if(it.isUnion(t)){const n=t,r=this.children[n.typeIdToChildIndex[this.typeIds[e]]],o=n.mode===Ie.Dense?this.valueOffsets[e]:e;return r.getValid(o)}if(this.nullable&&this.nullCount>0){const t=this.offset+e;return 0!==(this.nullBitmap[t>>3]&1<>3;(!r||r.byteLength<=l)&&(r=new Uint8Array((o+i+63&-64)>>3).fill(255),this.nullCount>0?(r.set(hr(o,i,this.nullBitmap),0),Object.assign(this,{nullBitmap:r})):Object.assign(this,{nullBitmap:r,_nullCount:0}));const c=r[l];n=0!==(c&s),r[l]=t?c|s:c&~s}return n!==!!t&&(this._nullCount=this.nullCount+(t?-1:1)),t}clone(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.type,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.offset,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.length,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:this._nullCount,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:this,i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:this.children;return new Nr(e,t,n,r,o,i,this.dictionary)}slice(e,t){const{stride:n,typeId:r,children:o}=this,i=+(0===this._nullCount)-1,a=16===r?n:1,s=this._sliceBuffers(e,t,n,r);return this.clone(this.type,this.offset+e,t,i,s,0===o.length||this.valueOffsets?o:this._sliceChildren(o,a*e,a*t))}_changeLengthAndBackfillNullBitmap(e){if(this.typeId===c.Null)return this.clone(this.type,0,e,0);const{length:t,nullCount:n}=this,r=new Uint8Array((e+63&-64)>>3).fill(255,0,t>>3);r[t>>3]=(1<0&&r.set(hr(this.offset,t,this.nullBitmap),0);const o=this.buffers;return o[u.VALIDITY]=r,this.clone(this.type,0,e,n+(e-t),o)}_sliceBuffers(e,t,n,r){let o;const{buffers:i}=this;return(o=i[u.TYPE])&&(i[u.TYPE]=o.subarray(e,e+t)),(o=i[u.OFFSET])&&(i[u.OFFSET]=o.subarray(e,e+t+1))||(o=i[u.DATA])&&(i[u.DATA]=6===r?o:o.subarray(n*e,n*(e+t))),i}_sliceChildren(e,t,n){return e.map((e=>e.slice(t,n)))}}Nr.prototype.children=Object.freeze([]);class Ir extends _t{visit(e){return this.getVisitFn(e.type).call(this,e)}visitNull(e){const{type:t,offset:n=0,length:r=0}=e;return new Nr(t,n,r,r)}visitBool(e){const{type:t,offset:n=0}=e,r=F(e.nullBitmap),o=P(t.ArrayType,e.data),{length:i=o.length>>3,nullCount:a=(e.nullBitmap?-1:0)}=e;return new Nr(t,n,i,a,[void 0,o,r])}visitInt(e){const{type:t,offset:n=0}=e,r=F(e.nullBitmap),o=P(t.ArrayType,e.data),{length:i=o.length,nullCount:a=(e.nullBitmap?-1:0)}=e;return new Nr(t,n,i,a,[void 0,o,r])}visitFloat(e){const{type:t,offset:n=0}=e,r=F(e.nullBitmap),o=P(t.ArrayType,e.data),{length:i=o.length,nullCount:a=(e.nullBitmap?-1:0)}=e;return new Nr(t,n,i,a,[void 0,o,r])}visitUtf8(e){const{type:t,offset:n=0}=e,r=F(e.data),o=F(e.nullBitmap),i=D(e.valueOffsets),{length:a=i.length-1,nullCount:s=(e.nullBitmap?-1:0)}=e;return new Nr(t,n,a,s,[i,r,o])}visitLargeUtf8(e){const{type:t,offset:n=0}=e,r=F(e.data),o=F(e.nullBitmap),i=B(e.valueOffsets),{length:a=i.length-1,nullCount:s=(e.nullBitmap?-1:0)}=e;return new Nr(t,n,a,s,[i,r,o])}visitBinary(e){const{type:t,offset:n=0}=e,r=F(e.data),o=F(e.nullBitmap),i=D(e.valueOffsets),{length:a=i.length-1,nullCount:s=(e.nullBitmap?-1:0)}=e;return new Nr(t,n,a,s,[i,r,o])}visitLargeBinary(e){const{type:t,offset:n=0}=e,r=F(e.data),o=F(e.nullBitmap),i=B(e.valueOffsets),{length:a=i.length-1,nullCount:s=(e.nullBitmap?-1:0)}=e;return new Nr(t,n,a,s,[i,r,o])}visitFixedSizeBinary(e){const{type:t,offset:n=0}=e,r=F(e.nullBitmap),o=P(t.ArrayType,e.data),{length:i=o.length/Tt(t),nullCount:a=(e.nullBitmap?-1:0)}=e;return new Nr(t,n,i,a,[void 0,o,r])}visitDate(e){const{type:t,offset:n=0}=e,r=F(e.nullBitmap),o=P(t.ArrayType,e.data),{length:i=o.length/Tt(t),nullCount:a=(e.nullBitmap?-1:0)}=e;return new Nr(t,n,i,a,[void 0,o,r])}visitTimestamp(e){const{type:t,offset:n=0}=e,r=F(e.nullBitmap),o=P(t.ArrayType,e.data),{length:i=o.length/Tt(t),nullCount:a=(e.nullBitmap?-1:0)}=e;return new Nr(t,n,i,a,[void 0,o,r])}visitTime(e){const{type:t,offset:n=0}=e,r=F(e.nullBitmap),o=P(t.ArrayType,e.data),{length:i=o.length/Tt(t),nullCount:a=(e.nullBitmap?-1:0)}=e;return new Nr(t,n,i,a,[void 0,o,r])}visitDecimal(e){const{type:t,offset:n=0}=e,r=F(e.nullBitmap),o=P(t.ArrayType,e.data),{length:i=o.length/Tt(t),nullCount:a=(e.nullBitmap?-1:0)}=e;return new Nr(t,n,i,a,[void 0,o,r])}visitList(e){const{type:t,offset:n=0,child:r}=e,o=F(e.nullBitmap),i=D(e.valueOffsets),{length:a=i.length-1,nullCount:s=(e.nullBitmap?-1:0)}=e;return new Nr(t,n,a,s,[i,void 0,o],[r])}visitStruct(e){const{type:t,offset:n=0,children:r=[]}=e,o=F(e.nullBitmap),{length:i=r.reduce(((e,t)=>{let{length:n}=t;return Math.max(e,n)}),0),nullCount:a=(e.nullBitmap?-1:0)}=e;return new Nr(t,n,i,a,[void 0,void 0,o],r)}visitUnion(e){const{type:t,offset:n=0,children:r=[]}=e,o=P(t.ArrayType,e.typeIds),{length:i=o.length,nullCount:a=-1}=e;if(it.isSparseUnion(t))return new Nr(t,n,i,a,[void 0,void 0,void 0,o],r);const s=D(e.valueOffsets);return new Nr(t,n,i,a,[s,void 0,void 0,o],r)}visitDictionary(e){const{type:t,offset:n=0}=e,r=F(e.nullBitmap),o=P(t.indices.ArrayType,e.data),{dictionary:i=new Rr([(new Ir).visit({type:t.dictionary})])}=e,{length:a=o.length,nullCount:s=(e.nullBitmap?-1:0)}=e;return new Nr(t,n,a,s,[void 0,o,r],[],i)}visitInterval(e){const{type:t,offset:n=0}=e,r=F(e.nullBitmap),o=P(t.ArrayType,e.data),{length:i=o.length/Tt(t),nullCount:a=(e.nullBitmap?-1:0)}=e;return new Nr(t,n,i,a,[void 0,o,r])}visitDuration(e){const{type:t,offset:n=0}=e,r=F(e.nullBitmap),o=P(t.ArrayType,e.data),{length:i=o.length,nullCount:a=(e.nullBitmap?-1:0)}=e;return new Nr(t,n,i,a,[void 0,o,r])}visitFixedSizeList(e){const{type:t,offset:n=0,child:r=(new Ir).visit({type:t.valueType})}=e,o=F(e.nullBitmap),{length:i=r.length/Tt(t),nullCount:a=(e.nullBitmap?-1:0)}=e;return new Nr(t,n,i,a,[void 0,void 0,o],[r])}visitMap(e){const{type:t,offset:n=0,child:r=(new Ir).visit({type:t.childType})}=e,o=F(e.nullBitmap),i=D(e.valueOffsets),{length:a=i.length-1,nullCount:s=(e.nullBitmap?-1:0)}=e;return new Nr(t,n,a,s,[i,void 0,o],[r])}}const Wr=new Ir;function Pr(e){return Wr.visit(e)}var Lr;!function(e){e[e.V1=0]="V1",e[e.V2=1]="V2",e[e.V3=2]="V3",e[e.V4=3]="V4",e[e.V5=4]="V5"}(Lr||(Lr={}));class jr{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:Lr.V5;this.fields=e||[],this.metadata=t||new Map,n||(n=Fr(this.fields)),this.dictionaries=n,this.metadataVersion=r}get[Symbol.toStringTag](){return"Schema"}get names(){return this.fields.map((e=>e.name))}toString(){return`Schema<{ ${this.fields.map(((e,t)=>`${t}: ${e}`)).join(", ")} }>`}select(e){const t=new Set(e),n=this.fields.filter((e=>t.has(e.name)));return new jr(n,this.metadata)}selectAt(e){const t=e.map((e=>this.fields[e])).filter(Boolean);return new jr(t,this.metadata)}assign(){for(var e=arguments.length,t=new Array(e),n=0;n{const t=o.findIndex((t=>t.name===e.name));return!~t||(o[t]=e.clone({metadata:Br(Br(new Map,o[t].metadata),e.metadata)}))&&!1})),s=Fr(a,new Map);return new jr([...o,...a],i,new Map([...this.dictionaries,...s]))}}jr.prototype.fields=null,jr.prototype.metadata=null,jr.prototype.dictionaries=null;class Dr{static new(){for(var e=arguments.length,t=new Array(e),n=0;n2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3?arguments[3]:void 0;this.name=e,this.type=t,this.nullable=n,this.metadata=r||new Map}get typeId(){return this.type.typeId}get[Symbol.toStringTag](){return"Field"}toString(){return`${this.name}: ${this.type}`}clone(){for(var e=arguments.length,t=new Array(e),n=0;n1&&void 0!==arguments[1]?arguments[1]:new Map;for(let n=-1,r=e.length;++n0&&Fr(r.children,t)}return t}Dr.prototype.type=null,Dr.prototype.name=null,Dr.prototype.nullable=null,Dr.prototype.metadata=null;class Vr extends _t{compareSchemas(e,t){return e===t||t instanceof e.constructor&&this.compareManyFields(e.fields,t.fields)}compareManyFields(e,t){return e===t||Array.isArray(e)&&Array.isArray(t)&&e.length===t.length&&e.every(((e,n)=>this.compareFields(e,t[n])))}compareFields(e,t){return e===t||t instanceof e.constructor&&e.name===t.name&&e.nullable===t.nullable&&this.visit(e.type,t.type)}}function Ur(e,t){return t instanceof e.constructor}function Hr(e,t){return e===t||Ur(e,t)}function Xr(e,t){return e===t||Ur(e,t)&&e.bitWidth===t.bitWidth&&e.isSigned===t.isSigned}function Gr(e,t){return e===t||Ur(e,t)&&e.precision===t.precision}function $r(e,t){return e===t||Ur(e,t)&&e.unit===t.unit}function Kr(e,t){return e===t||Ur(e,t)&&e.unit===t.unit&&e.timezone===t.timezone}function Yr(e,t){return e===t||Ur(e,t)&&e.unit===t.unit&&e.bitWidth===t.bitWidth}function Zr(e,t){return e===t||Ur(e,t)&&e.mode===t.mode&&e.typeIds.every(((e,n)=>e===t.typeIds[n]))&&eo.compareManyFields(e.children,t.children)}function Jr(e,t){return e===t||Ur(e,t)&&e.unit===t.unit}function Qr(e,t){return e===t||Ur(e,t)&&e.unit===t.unit}Vr.prototype.visitNull=Hr,Vr.prototype.visitBool=Hr,Vr.prototype.visitInt=Xr,Vr.prototype.visitInt8=Xr,Vr.prototype.visitInt16=Xr,Vr.prototype.visitInt32=Xr,Vr.prototype.visitInt64=Xr,Vr.prototype.visitUint8=Xr,Vr.prototype.visitUint16=Xr,Vr.prototype.visitUint32=Xr,Vr.prototype.visitUint64=Xr,Vr.prototype.visitFloat=Gr,Vr.prototype.visitFloat16=Gr,Vr.prototype.visitFloat32=Gr,Vr.prototype.visitFloat64=Gr,Vr.prototype.visitUtf8=Hr,Vr.prototype.visitLargeUtf8=Hr,Vr.prototype.visitBinary=Hr,Vr.prototype.visitLargeBinary=Hr,Vr.prototype.visitFixedSizeBinary=function(e,t){return e===t||Ur(e,t)&&e.byteWidth===t.byteWidth},Vr.prototype.visitDate=$r,Vr.prototype.visitDateDay=$r,Vr.prototype.visitDateMillisecond=$r,Vr.prototype.visitTimestamp=Kr,Vr.prototype.visitTimestampSecond=Kr,Vr.prototype.visitTimestampMillisecond=Kr,Vr.prototype.visitTimestampMicrosecond=Kr,Vr.prototype.visitTimestampNanosecond=Kr,Vr.prototype.visitTime=Yr,Vr.prototype.visitTimeSecond=Yr,Vr.prototype.visitTimeMillisecond=Yr,Vr.prototype.visitTimeMicrosecond=Yr,Vr.prototype.visitTimeNanosecond=Yr,Vr.prototype.visitDecimal=Hr,Vr.prototype.visitList=function(e,t){return e===t||Ur(e,t)&&e.children.length===t.children.length&&eo.compareManyFields(e.children,t.children)},Vr.prototype.visitStruct=function(e,t){return e===t||Ur(e,t)&&e.children.length===t.children.length&&eo.compareManyFields(e.children,t.children)},Vr.prototype.visitUnion=Zr,Vr.prototype.visitDenseUnion=Zr,Vr.prototype.visitSparseUnion=Zr,Vr.prototype.visitDictionary=function(e,t){return e===t||Ur(e,t)&&e.id===t.id&&e.isOrdered===t.isOrdered&&eo.visit(e.indices,t.indices)&&eo.visit(e.dictionary,t.dictionary)},Vr.prototype.visitInterval=Jr,Vr.prototype.visitIntervalDayTime=Jr,Vr.prototype.visitIntervalYearMonth=Jr,Vr.prototype.visitDuration=Qr,Vr.prototype.visitDurationSecond=Qr,Vr.prototype.visitDurationMillisecond=Qr,Vr.prototype.visitDurationMicrosecond=Qr,Vr.prototype.visitDurationNanosecond=Qr,Vr.prototype.visitFixedSizeList=function(e,t){return e===t||Ur(e,t)&&e.listSize===t.listSize&&e.children.length===t.children.length&&eo.compareManyFields(e.children,t.children)},Vr.prototype.visitMap=function(e,t){return e===t||Ur(e,t)&&e.keysSorted===t.keysSorted&&e.children.length===t.children.length&&eo.compareManyFields(e.children,t.children)};const eo=new Vr;function to(e,t){return eo.compareSchemas(e,t)}var no,ro,oo;class io{constructor(){for(var e=arguments.length,t=new Array(e),n=0;nPr({type:e.type,nullCount:0})))})]=t,!(this.data instanceof Nr))throw new TypeError("RecordBatch constructor expects a [Schema, Data] pair.");[this.schema,this.data]=ao(this.schema,this.data.children);break;case 1:{const[e]=t,{fields:n,children:r,length:o}=Object.keys(e).reduce(((t,n,r)=>(t.children[r]=e[n],t.length=Math.max(t.length,e[n].length),t.fields[r]=Dr.new({name:n,type:e[n].type,nullable:!0}),t)),{length:0,fields:new Array,children:new Array}),i=new jr(n),a=Pr({type:new At(n),length:o,children:r,nullCount:0});[this.schema,this.data]=ao(i,a.children,o);break}default:throw new TypeError("RecordBatch constructor expects an Object mapping names to child Data, or a [Schema, Data] pair.")}}get dictionaries(){return this._dictionaries||(this._dictionaries=so(this.schema.fields,this.data.children))}get numCols(){return this.schema.fields.length}get numRows(){return this.data.length}get nullCount(){return this.data.nullCount}isValid(e){return this.data.getValid(e)}get(e){return Fn.visit(this.data,e)}at(e){return this.get(Jn(e,this.numRows))}set(e,t){return pn.visit(this.data,e,t)}indexOf(e,t){return wr.visit(this.data,e,t)}[Symbol.iterator](){return kr.visit(new Rr([this.data]))}toArray(){return[...this]}concat(){for(var e=arguments.length,t=new Array(e),n=0;nt.name===e)))}getChildAt(e){return e>-1&&et.name===e)),t)}setChildAt(e,t){let n=this.schema,r=this.data;if(e>-1&&ee.name===o));~e&&(r[e]=this.data.children[e])}return new io(t,Pr({type:n,length:this.numRows,children:r}))}selectAt(e){const t=this.schema.selectAt(e),n=e.map((e=>this.data.children[e])).filter(Boolean),r=Pr({type:new At(t.fields),length:this.numRows,children:n});return new io(t,r)}}function ao(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t.reduce(((e,t)=>Math.max(e,t.length)),0);var r;const o=[...e.fields],i=[...t],a=(n+63&-64)>>3;for(const[s,l]of e.fields.entries()){const e=t[s];e&&e.length===n||(o[s]=l.clone({nullable:!0}),i[s]=null!==(r=null===e||void 0===e?void 0:e._changeLengthAndBackfillNullBitmap(n))&&void 0!==r?r:Pr({type:l.type,length:n,nullCount:n,nullBitmap:new Uint8Array(a)}))}return[e.assign(o),Pr({type:new At(o),length:n,children:i})]}function so(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:new Map;var r,o;if((null!==(r=null===e||void 0===e?void 0:e.length)&&void 0!==r?r:0)>0&&(null===e||void 0===e?void 0:e.length)===(null===t||void 0===t?void 0:t.length))for(let i=-1,a=e.length;++i(e._nullCount=-1,e[Symbol.isConcatSpreadable]=!0,"RecordBatch"))(io.prototype);class lo extends io{constructor(e){const t=e.fields.map((e=>Pr({type:e.type})));super(e,Pr({type:new At(e.fields),nullCount:0,children:t}))}}function co(e,t){return function(e,t){const n=[...e.fields],r=[],o={numBatches:t.reduce(((e,t)=>Math.max(e,t.length)),0)};let i=0,a=0,s=-1;const l=t.length;let c,u=[];for(;o.numBatches-- >0;){for(a=Number.POSITIVE_INFINITY,s=-1;++s0&&(r[i++]=Pr({type:new At(n),length:a,nullCount:0,children:u.slice()})))}return[e=e.assign(n),r.map((t=>new io(e,t)))]}(e,t.map((e=>e.data.concat())))}function uo(e,t,n,r,o){var i;const a=(t+63&-64)>>3;for(let s=-1,l=r.length;++s=t)c===t?n[s]=l:(n[s]=l.slice(0,t),o.numBatches=Math.max(o.numBatches,r[s].unshift(l.slice(t,c-t))));else{const r=e[s];e[s]=r.clone({nullable:!0}),n[s]=null!==(i=null===l||void 0===l?void 0:l._changeLengthAndBackfillNullBitmap(t))&&void 0!==i?i:Pr({type:r.type,length:t,nullCount:t,nullBitmap:new Uint8Array(a)})}}return n}class po{constructor(){for(var e,t,n=arguments.length,r=new Array(n),o=0;o{if(e){if(e instanceof io)return[e];if(e instanceof po)return e.batches;if(e instanceof Nr){if(e.type instanceof At)return[new io(new jr(e.type.children),e)]}else{if(Array.isArray(e))return e.flatMap((e=>s(e)));if("function"===typeof e[Symbol.iterator])return[...e].flatMap((e=>s(e)));if("object"===typeof e){const t=Object.keys(e),n=t.map((t=>new Rr([e[t]]))),r=null!==i&&void 0!==i?i:new jr(t.map(((e,t)=>new Dr(String(e),n[t].type,n[t].nullable)))),[,o]=co(r,n);return 0===o.length?[new io(e)]:o}}}return[]},l=r.flatMap((e=>s(e)));if(i=null!==(t=null!==i&&void 0!==i?i:null===(e=l[0])||void 0===e?void 0:e.schema)&&void 0!==t?t:new jr([]),!(i instanceof jr))throw new TypeError("Table constructor expects a [Schema, RecordBatch[]] pair.");for(const c of l){if(!(c instanceof io))throw new TypeError("Table constructor expects a [Schema, RecordBatch[]] pair.");if(!to(i,c.schema))throw new TypeError("Table and inner RecordBatch schemas must be equivalent.")}this.schema=i,this.batches=l,this._offsets=null!==a&&void 0!==a?a:ir(this.data)}get data(){return this.batches.map((e=>{let{data:t}=e;return t}))}get numCols(){return this.schema.fields.length}get numRows(){return this.data.reduce(((e,t)=>e+t.length),0)}get nullCount(){return-1===this._nullCount&&(this._nullCount=or(this.data)),this._nullCount}isValid(e){return!1}get(e){return null}at(e){return this.get(Jn(e,this.numRows))}set(e,t){}indexOf(e,t){return-1}[Symbol.iterator](){return this.batches.length>0?kr.visit(new Rr(this.data)):new Array(0)[Symbol.iterator]()}toArray(){return[...this]}toString(){return`[\n ${this.toArray().join(",\n ")}\n]`}concat(){const e=this.schema;for(var t=arguments.length,n=new Array(t),r=0;r{let{data:t}=e;return t})));return new po(e,o.map((t=>new io(e,t))))}slice(e,t){const n=this.schema;[e,t]=Zn({length:this.numRows},e,t);const r=ar(this.data,this._offsets,e,t);return new po(n,r.map((e=>new io(n,e))))}getChild(e){return this.getChildAt(this.schema.fields.findIndex((t=>t.name===e)))}getChildAt(e){if(e>-1&&et.children[e]));if(0===t.length){const{type:n}=this.schema.fields[e],r=Pr({type:n,length:0,nullCount:0});t.push(r._changeLengthAndBackfillNullBitmap(this.numRows))}return new Rr(t)}return null}setChild(e,t){var n;return this.setChildAt(null===(n=this.schema.fields)||void 0===n?void 0:n.findIndex((t=>t.name===e)),t)}setChildAt(e,t){let n=this.schema,r=[...this.batches];if(e>-1&&ethis.getChildAt(t)));[o[e],a[e]]=[i,t],[n,r]=co(n,a)}return new po(n,r)}select(e){const t=this.schema.fields.reduce(((e,t,n)=>e.set(t.name,n)),new Map);return this.selectAt(e.map((e=>t.get(e))).filter((e=>e>-1)))}selectAt(e){const t=this.schema.selectAt(e),n=this.batches.map((t=>t.selectAt(e)));return new po(t,n)}assign(e){const t=this.schema.fields,[n,r]=e.schema.fields.reduce(((e,n,r)=>{const[o,i]=e,a=t.findIndex((e=>e.name===n.name));return~a?i[a]=r:o.push(r),e}),[[],[]]),o=this.schema.assign(e.schema),i=[...t.map(((e,t)=>[t,r[t]])).map((t=>{let[n,r]=t;return void 0===r?this.getChildAt(n):e.getChildAt(r)})),...n.map((t=>e.getChildAt(t)))].filter(Boolean);return new po(...co(o,i))}}ro=Symbol.toStringTag,po[ro]=(e=>(e.schema=null,e.batches=[],e._offsets=new Uint32Array([0]),e._nullCount=-1,e[Symbol.isConcatSpreadable]=!0,e.isValid=cr(lr),e.get=cr(Fn.getVisitFn(c.Struct)),e.set=ur(pn.getVisitFn(c.Struct)),e.indexOf=pr(wr.getVisitFn(c.Struct)),"Table"))(po.prototype),function(e){e[e.NONE=0]="NONE",e[e.Schema=1]="Schema",e[e.DictionaryBatch=2]="DictionaryBatch",e[e.RecordBatch=3]="RecordBatch",e[e.Tensor=4]="Tensor",e[e.SparseTensor=5]="SparseTensor"}(oo||(oo={}));class bo{constructor(){this.bb=null,this.bb_pos=0}__init(e,t){return this.bb_pos=e,this.bb=t,this}offset(){return this.bb.readInt64(this.bb_pos)}metaDataLength(){return this.bb.readInt32(this.bb_pos+8)}bodyLength(){return this.bb.readInt64(this.bb_pos+16)}static sizeOf(){return 24}static createBlock(e,t,n,r){return e.prep(8,24),e.writeInt64(BigInt(null!==r&&void 0!==r?r:0)),e.pad(4),e.writeInt32(n),e.writeInt64(BigInt(null!==t&&void 0!==t?t:0)),e.offset()}}const fo=new Int32Array(2),ho=new Float32Array(fo.buffer),mo=new Float64Array(fo.buffer),go=1===new Uint16Array(new Uint8Array([1,0]).buffer)[0];var Oo,yo,Mo,zo;!function(e){e[e.UTF8_BYTES=1]="UTF8_BYTES",e[e.UTF16_STRING=2]="UTF16_STRING"}(Oo||(Oo={}));class Ao{constructor(e){this.bytes_=e,this.position_=0,this.text_decoder_=new TextDecoder}static allocate(e){return new Ao(new Uint8Array(e))}clear(){this.position_=0}bytes(){return this.bytes_}position(){return this.position_}setPosition(e){this.position_=e}capacity(){return this.bytes_.length}readInt8(e){return this.readUint8(e)<<24>>24}readUint8(e){return this.bytes_[e]}readInt16(e){return this.readUint16(e)<<16>>16}readUint16(e){return this.bytes_[e]|this.bytes_[e+1]<<8}readInt32(e){return this.bytes_[e]|this.bytes_[e+1]<<8|this.bytes_[e+2]<<16|this.bytes_[e+3]<<24}readUint32(e){return this.readInt32(e)>>>0}readInt64(e){return BigInt.asIntN(64,BigInt(this.readUint32(e))+(BigInt(this.readUint32(e+4))<>8}writeUint16(e,t){this.bytes_[e]=t,this.bytes_[e+1]=t>>8}writeInt32(e,t){this.bytes_[e]=t,this.bytes_[e+1]=t>>8,this.bytes_[e+2]=t>>16,this.bytes_[e+3]=t>>24}writeUint32(e,t){this.bytes_[e]=t,this.bytes_[e+1]=t>>8,this.bytes_[e+2]=t>>16,this.bytes_[e+3]=t>>24}writeInt64(e,t){this.writeInt32(e,Number(BigInt.asIntN(32,t))),this.writeInt32(e+4,Number(BigInt.asIntN(32,t>>BigInt(32))))}writeUint64(e,t){this.writeUint32(e,Number(BigInt.asUintN(32,t))),this.writeUint32(e+4,Number(BigInt.asUintN(32,t>>BigInt(32))))}writeFloat32(e,t){ho[0]=t,this.writeInt32(e,fo[0])}writeFloat64(e,t){mo[0]=t,this.writeInt32(e,fo[go?0:1]),this.writeInt32(e+4,fo[go?1:0])}getBufferIdentifier(){if(this.bytes_.lengththis.minalign&&(this.minalign=e);const n=1+~(this.bb.capacity()-this.space+t)&e-1;for(;this.space=0&&0==this.vtable[t];t--);const n=t+1;for(;t>=0;t--)this.addInt16(0!=this.vtable[t]?e-this.vtable[t]:0);this.addInt16(e-this.object_start);const r=2*(n+2);this.addInt16(r);let o=0;const i=this.space;e:for(t=0;t=0;t--)this.writeInt8(e.charCodeAt(t))}this.prep(this.minalign,4+r),this.addOffset(e),r&&this.addInt32(this.bb.capacity()-this.space),this.bb.setPosition(this.space)}finishSizePrefixed(e,t){this.finish(e,t,!0)}requiredField(e,t){const n=this.bb.capacity()-e,r=n-this.bb.readInt32(n);if(!(t=0;n--)e.addOffset(t[n]);return e.endVector()}static startChildrenVector(e,t){e.startVector(4,t,4)}static addCustomMetadata(e,t){e.addFieldOffset(6,t,0)}static createCustomMetadataVector(e,t){e.startVector(4,t.length,4);for(let n=t.length-1;n>=0;n--)e.addOffset(t[n]);return e.endVector()}static startCustomMetadataVector(e,t){e.startVector(4,t,4)}static endField(e){return e.endObject()}}class ko{constructor(){this.bb=null,this.bb_pos=0}__init(e,t){return this.bb_pos=e,this.bb=t,this}static getRootAsSchema(e,t){return(t||new ko).__init(e.readInt32(e.position())+e.position(),e)}static getSizePrefixedRootAsSchema(e,t){return e.setPosition(e.position()+4),(t||new ko).__init(e.readInt32(e.position())+e.position(),e)}endianness(){const e=this.bb.__offset(this.bb_pos,4);return e?this.bb.readInt16(this.bb_pos+e):yo.Little}fields(e,t){const n=this.bb.__offset(this.bb_pos,6);return n?(t||new Eo).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos+n)+4*e),this.bb):null}fieldsLength(){const e=this.bb.__offset(this.bb_pos,6);return e?this.bb.__vector_len(this.bb_pos+e):0}customMetadata(e,t){const n=this.bb.__offset(this.bb_pos,8);return n?(t||new wo).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos+n)+4*e),this.bb):null}customMetadataLength(){const e=this.bb.__offset(this.bb_pos,8);return e?this.bb.__vector_len(this.bb_pos+e):0}features(e){const t=this.bb.__offset(this.bb_pos,10);return t?this.bb.readInt64(this.bb.__vector(this.bb_pos+t)+8*e):BigInt(0)}featuresLength(){const e=this.bb.__offset(this.bb_pos,10);return e?this.bb.__vector_len(this.bb_pos+e):0}static startSchema(e){e.startObject(4)}static addEndianness(e,t){e.addFieldInt16(0,t,yo.Little)}static addFields(e,t){e.addFieldOffset(1,t,0)}static createFieldsVector(e,t){e.startVector(4,t.length,4);for(let n=t.length-1;n>=0;n--)e.addOffset(t[n]);return e.endVector()}static startFieldsVector(e,t){e.startVector(4,t,4)}static addCustomMetadata(e,t){e.addFieldOffset(2,t,0)}static createCustomMetadataVector(e,t){e.startVector(4,t.length,4);for(let n=t.length-1;n>=0;n--)e.addOffset(t[n]);return e.endVector()}static startCustomMetadataVector(e,t){e.startVector(4,t,4)}static addFeatures(e,t){e.addFieldOffset(3,t,0)}static createFeaturesVector(e,t){e.startVector(8,t.length,8);for(let n=t.length-1;n>=0;n--)e.addInt64(t[n]);return e.endVector()}static startFeaturesVector(e,t){e.startVector(8,t,8)}static endSchema(e){return e.endObject()}static finishSchemaBuffer(e,t){e.finish(t)}static finishSizePrefixedSchemaBuffer(e,t){e.finish(t,void 0,!0)}static createSchema(e,t,n,r,o){return ko.startSchema(e),ko.addEndianness(e,t),ko.addFields(e,n),ko.addCustomMetadata(e,r),ko.addFeatures(e,o),ko.endSchema(e)}}class qo{constructor(){this.bb=null,this.bb_pos=0}__init(e,t){return this.bb_pos=e,this.bb=t,this}static getRootAsFooter(e,t){return(t||new qo).__init(e.readInt32(e.position())+e.position(),e)}static getSizePrefixedRootAsFooter(e,t){return e.setPosition(e.position()+4),(t||new qo).__init(e.readInt32(e.position())+e.position(),e)}version(){const e=this.bb.__offset(this.bb_pos,4);return e?this.bb.readInt16(this.bb_pos+e):Lr.V1}schema(e){const t=this.bb.__offset(this.bb_pos,6);return t?(e||new ko).__init(this.bb.__indirect(this.bb_pos+t),this.bb):null}dictionaries(e,t){const n=this.bb.__offset(this.bb_pos,8);return n?(t||new bo).__init(this.bb.__vector(this.bb_pos+n)+24*e,this.bb):null}dictionariesLength(){const e=this.bb.__offset(this.bb_pos,8);return e?this.bb.__vector_len(this.bb_pos+e):0}recordBatches(e,t){const n=this.bb.__offset(this.bb_pos,10);return n?(t||new bo).__init(this.bb.__vector(this.bb_pos+n)+24*e,this.bb):null}recordBatchesLength(){const e=this.bb.__offset(this.bb_pos,10);return e?this.bb.__vector_len(this.bb_pos+e):0}customMetadata(e,t){const n=this.bb.__offset(this.bb_pos,12);return n?(t||new wo).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos+n)+4*e),this.bb):null}customMetadataLength(){const e=this.bb.__offset(this.bb_pos,12);return e?this.bb.__vector_len(this.bb_pos+e):0}static startFooter(e){e.startObject(5)}static addVersion(e,t){e.addFieldInt16(0,t,Lr.V1)}static addSchema(e,t){e.addFieldOffset(1,t,0)}static addDictionaries(e,t){e.addFieldOffset(2,t,0)}static startDictionariesVector(e,t){e.startVector(24,t,8)}static addRecordBatches(e,t){e.addFieldOffset(3,t,0)}static startRecordBatchesVector(e,t){e.startVector(24,t,8)}static addCustomMetadata(e,t){e.addFieldOffset(4,t,0)}static createCustomMetadataVector(e,t){e.startVector(4,t.length,4);for(let n=t.length-1;n>=0;n--)e.addOffset(t[n]);return e.endVector()}static startCustomMetadataVector(e,t){e.startVector(4,t,4)}static endFooter(e){return e.endObject()}static finishFooterBuffer(e,t){e.finish(t)}static finishSizePrefixedFooterBuffer(e,t){e.finish(t,void 0,!0)}}var To=vo,_o=Ao;class Ro{static decode(e){e=new _o(F(e));const t=qo.getRootAsFooter(e),n=jr.decode(t.schema(),new Map,t.version());return new Co(n,t)}static encode(e){const t=new To,n=jr.encode(t,e.schema);qo.startRecordBatchesVector(t,e.numRecordBatches);for(const i of[...e.recordBatches()].slice().reverse())No.encode(t,i);const r=t.endVector();qo.startDictionariesVector(t,e.numDictionaries);for(const i of[...e.dictionaryBatches()].slice().reverse())No.encode(t,i);const o=t.endVector();return qo.startFooter(t),qo.addSchema(t,n),qo.addVersion(t,Lr.V5),qo.addRecordBatches(t,r),qo.addDictionaries(t,o),qo.finishFooterBuffer(t,qo.endFooter(t)),t.asUint8Array()}get numRecordBatches(){return this._recordBatches.length}get numDictionaries(){return this._dictionaryBatches.length}constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Lr.V5,n=arguments.length>2?arguments[2]:void 0,r=arguments.length>3?arguments[3]:void 0;this.schema=e,this.version=t,n&&(this._recordBatches=n),r&&(this._dictionaryBatches=r)}*recordBatches(){for(let e,t=-1,n=this.numRecordBatches;++t=0&&e=0&&e=0&&e=0&&eWo(function*(e){let t,n,r,o,i=!1,a=[],s=0;function l(){return"peek"===r?W(a,o)[0]:([n,a,s]=W(a,o),n)}({cmd:r,size:o}=(yield null)||{cmd:"read",size:0});const c=ee(e)[Symbol.iterator]();try{do{if(({done:t,value:n}=Number.isNaN(o-s)?c.next():c.next(o-s)),!t&&n.byteLength>0&&(a.push(n),s+=n.byteLength),t||o<=s)do{({cmd:r,size:o}=yield l())}while(oWo(function(e){return(0,f.FC)(this,arguments,(function*(){let t,n,r,o,i=!1,a=[],s=0;function l(){return"peek"===r?W(a,o)[0]:([n,a,s]=W(a,o),n)}({cmd:r,size:o}=(yield yield(0,f.qq)(null))||{cmd:"read",size:0});const c=ue(e)[Symbol.asyncIterator]();try{do{if(({done:t,value:n}=Number.isNaN(o-s)?yield(0,f.qq)(c.next()):yield(0,f.qq)(c.next(o-s))),!t&&n.byteLength>0&&(a.push(n),s+=n.byteLength),t||o<=s)do{({cmd:r,size:o}=yield yield(0,f.qq)(l()))}while(oWo(function(e){return(0,f.FC)(this,arguments,(function*(){let t,n,r,o=!1,i=!1,a=[],s=0;function l(){return"peek"===n?W(a,r)[0]:([t,a,s]=W(a,r),t)}({cmd:n,size:r}=(yield yield(0,f.qq)(null))||{cmd:"read",size:0});const c=new Po(e);try{do{if(({done:o,value:t}=Number.isNaN(r-s)?yield(0,f.qq)(c.read()):yield(0,f.qq)(c.read(r-s))),!o&&t.byteLength>0&&(a.push(F(t)),s+=t.byteLength),o||r<=s)do{({cmd:n,size:r}=yield yield(0,f.qq)(l()))}while(rWo(function(e){return(0,f.FC)(this,arguments,(function*(){const t=[];let n,r,o,i="error",a=!1,s=null,l=0,c=[];function u(){return"peek"===n?W(c,r)[0]:([o,c,l]=W(c,r),o)}if(({cmd:n,size:r}=(yield yield(0,f.qq)(null))||{cmd:"read",size:0}),e.isTTY)return yield yield(0,f.qq)(new Uint8Array(0)),yield(0,f.qq)(null);try{t[0]=Lo(e,"end"),t[1]=Lo(e,"error");do{if(t[2]=Lo(e,"readable"),[i,s]=yield(0,f.qq)(Promise.race(t.map((e=>e[2])))),"error"===i)break;if((a="end"===i)||(Number.isFinite(r-l)?(o=F(e.read(r-l)),o.byteLength0&&(c.push(o),l+=o.byteLength)),a||r<=l)do{({cmd:n,size:r}=yield yield(0,f.qq)(u()))}while(r{for(const[n,a]of t)e.off(n,a);try{const t=e.destroy;t&&t.call(e,n),n=void 0}catch(i){n=i||n}finally{null!=n?o(n):r()}}))}}))}(e)),toDOMStream(e,t){throw new Error('"toDOMStream" not available in this environment')},toNodeStream(e,t){throw new Error('"toNodeStream" not available in this environment')}},Wo=e=>(e.next(),e);class Po{constructor(e){this.source=e,this.reader=null,this.reader=this.source.getReader(),this.reader.closed.catch((()=>{}))}get closed(){return this.reader?this.reader.closed.catch((()=>{})):Promise.resolve()}releaseLock(){this.reader&&this.reader.releaseLock(),this.reader=null}cancel(e){return(0,f.mG)(this,void 0,void 0,(function*(){const{reader:t,source:n}=this;t&&(yield t.cancel(e).catch((()=>{}))),n&&n.locked&&this.releaseLock()}))}read(e){return(0,f.mG)(this,void 0,void 0,(function*(){if(0===e)return{done:null==this.reader,value:new Uint8Array(0)};const t=yield this.reader.read();return!t.done&&(t.value=F(t)),t}))}}const Lo=(e,t)=>{const n=e=>r([t,e]);let r;return[t,n,new Promise((o=>(r=o)&&e.once(t,n)))]};const jo=Object.freeze({done:!0,value:void 0});class Do{constructor(e){this._json=e}get schema(){return this._json.schema}get batches(){return this._json.batches||[]}get dictionaries(){return this._json.dictionaries||[]}}class Bo{tee(){return this._getDOMStream().tee()}pipe(e,t){return this._getNodeStream().pipe(e,t)}pipeTo(e,t){return this._getDOMStream().pipeTo(e,t)}pipeThrough(e,t){return this._getDOMStream().pipeThrough(e,t)}_getDOMStream(){return this._DOMStream||(this._DOMStream=this.toDOMStream())}_getNodeStream(){return this._nodeStream||(this._nodeStream=this.toNodeStream())}}class Fo extends Bo{constructor(){super(),this._values=[],this.resolvers=[],this._closedPromise=new Promise((e=>this._closedPromiseResolve=e))}get closed(){return this._closedPromise}cancel(e){return(0,f.mG)(this,void 0,void 0,(function*(){yield this.return(e)}))}write(e){this._ensureOpen()&&(this.resolvers.length<=0?this._values.push(e):this.resolvers.shift().resolve({done:!1,value:e}))}abort(e){this._closedPromiseResolve&&(this.resolvers.length<=0?this._error={error:e}:this.resolvers.shift().reject({done:!0,value:e}))}close(){if(this._closedPromiseResolve){const{resolvers:e}=this;for(;e.length>0;)e.shift().resolve(jo);this._closedPromiseResolve(),this._closedPromiseResolve=void 0}}[Symbol.asyncIterator](){return this}toDOMStream(e){return Io.toDOMStream(this._closedPromiseResolve||this._error?this:this._values,e)}toNodeStream(e){return Io.toNodeStream(this._closedPromiseResolve||this._error?this:this._values,e)}throw(e){return(0,f.mG)(this,void 0,void 0,(function*(){return yield this.abort(e),jo}))}return(e){return(0,f.mG)(this,void 0,void 0,(function*(){return yield this.close(),jo}))}read(e){return(0,f.mG)(this,void 0,void 0,(function*(){return(yield this.next(e,"read")).value}))}peek(e){return(0,f.mG)(this,void 0,void 0,(function*(){return(yield this.next(e,"peek")).value}))}next(){return this._values.length>0?Promise.resolve({done:!1,value:this._values.shift()}):this._error?Promise.reject({done:!0,value:this._error.error}):this._closedPromiseResolve?new Promise(((e,t)=>{this.resolvers.push({resolve:e,reject:t})})):Promise.resolve(jo)}_ensureOpen(){if(this._closedPromiseResolve)return!0;throw new Error("AsyncQueue is closed")}}class Vo extends Fo{write(e){if((e=F(e)).byteLength>0)return super.write(e)}toString(){return arguments.length>0&&void 0!==arguments[0]&&arguments[0]?m(this.toUint8Array(!0)):this.toUint8Array(!1).then(m)}toUint8Array(){return arguments.length>0&&void 0!==arguments[0]&&arguments[0]?W(this._values)[0]:(()=>(0,f.mG)(this,void 0,void 0,(function*(){var e,t,n,r;const o=[];let i=0;try{for(var a,s=!0,l=(0,f.KL)(this);!(e=(a=yield l.next()).done);s=!0){r=a.value,s=!1;const e=r;o.push(e),i+=e.byteLength}}catch(c){t={error:c}}finally{try{s||e||!(n=l.return)||(yield n.call(l))}finally{if(t)throw t.error}}return W(o,i)[0]})))()}}class Uo{constructor(e){e&&(this.source=new Xo(Io.fromIterable(e)))}[Symbol.iterator](){return this}next(e){return this.source.next(e)}throw(e){return this.source.throw(e)}return(e){return this.source.return(e)}peek(e){return this.source.peek(e)}read(e){return this.source.read(e)}}class Ho{constructor(e){e instanceof Ho?this.source=e.source:e instanceof Vo?this.source=new Go(Io.fromAsyncIterable(e)):R(e)?this.source=new Go(Io.fromNodeStream(e)):_(e)?this.source=new Go(Io.fromDOMStream(e)):q(e)?this.source=new Go(Io.fromDOMStream(e.body)):w(e)?this.source=new Go(Io.fromIterable(e)):(v(e)||S(e))&&(this.source=new Go(Io.fromAsyncIterable(e)))}[Symbol.asyncIterator](){return this}next(e){return this.source.next(e)}throw(e){return this.source.throw(e)}return(e){return this.source.return(e)}get closed(){return this.source.closed}cancel(e){return this.source.cancel(e)}peek(e){return this.source.peek(e)}read(e){return this.source.read(e)}}class Xo{constructor(e){this.source=e}cancel(e){this.return(e)}peek(e){return this.next(e,"peek").value}read(e){return this.next(e,"read").value}next(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"read";return this.source.next({cmd:t,size:e})}throw(e){return Object.create(this.source.throw&&this.source.throw(e)||jo)}return(e){return Object.create(this.source.return&&this.source.return(e)||jo)}}class Go{constructor(e){this.source=e,this._closedPromise=new Promise((e=>this._closedPromiseResolve=e))}cancel(e){return(0,f.mG)(this,void 0,void 0,(function*(){yield this.return(e)}))}get closed(){return this._closedPromise}read(e){return(0,f.mG)(this,void 0,void 0,(function*(){return(yield this.next(e,"read")).value}))}peek(e){return(0,f.mG)(this,void 0,void 0,(function*(){return(yield this.next(e,"peek")).value}))}next(e){return(0,f.mG)(this,arguments,void 0,(function(e){var t=this;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"read";return function*(){return yield t.source.next({cmd:n,size:e})}()}))}throw(e){return(0,f.mG)(this,void 0,void 0,(function*(){const t=this.source.throw&&(yield this.source.throw(e))||jo;return this._closedPromiseResolve&&this._closedPromiseResolve(),this._closedPromiseResolve=void 0,Object.create(t)}))}return(e){return(0,f.mG)(this,void 0,void 0,(function*(){const t=this.source.return&&(yield this.source.return(e))||jo;return this._closedPromiseResolve&&this._closedPromiseResolve(),this._closedPromiseResolve=void 0,Object.create(t)}))}}class $o extends Uo{constructor(e,t){super(),this.position=0,this.buffer=F(e),this.size=void 0===t?this.buffer.byteLength:t}readInt32(e){const{buffer:t,byteOffset:n}=this.readAt(e,4);return new DataView(t,n).getInt32(0,!0)}seek(e){return this.position=Math.min(e,this.size),e(0,f.mG)(this,void 0,void 0,(function*(){this.size=(yield e.stat()).size,delete this._pending})))()}readInt32(e){return(0,f.mG)(this,void 0,void 0,(function*(){const{buffer:t,byteOffset:n}=yield this.readAt(e,4);return new DataView(t,n).getInt32(0,!0)}))}seek(e){return(0,f.mG)(this,void 0,void 0,(function*(){return this._pending&&(yield this._pending),this.position=Math.min(e,this.size),e>>16,65535&this.buffer[1],this.buffer[0]>>>16,65535&this.buffer[0]]),n=new Uint32Array([e.buffer[1]>>>16,65535&e.buffer[1],e.buffer[0]>>>16,65535&e.buffer[0]]);let r=t[3]*n[3];this.buffer[0]=65535&r;let o=r>>>16;return r=t[2]*n[3],o+=r,r=t[3]*n[2]>>>0,o+=r,this.buffer[0]+=o<<16,this.buffer[1]=o>>>0>>16,this.buffer[1]+=t[1]*n[3]+t[2]*n[2]+t[3]*n[1],this.buffer[1]+=t[0]*n[3]+t[1]*n[2]+t[2]*n[1]+t[3]*n[0]<<16,this}_plus(e){const t=this.buffer[0]+e.buffer[0]>>>0;this.buffer[1]+=e.buffer[1],t>>0&&++this.buffer[1],this.buffer[0]=t}lessThan(e){return this.buffer[1]1&&void 0!==arguments[1]?arguments[1]:new Uint32Array(2);return Qo.fromString("string"===typeof e?e:e.toString(),t)}static fromNumber(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Uint32Array(2);return Qo.fromString(e.toString(),t)}static fromString(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Uint32Array(2);const n=e.length,r=new Qo(t);for(let o=0;o1&&void 0!==arguments[1]?arguments[1]:new Uint32Array(2);return ei.fromString("string"===typeof e?e:e.toString(),t)}static fromNumber(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Uint32Array(2);return ei.fromString(e.toString(),t)}static fromString(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Uint32Array(2);const n=e.startsWith("-"),r=e.length,o=new ei(t);for(let i=n?1:0;i>>0,t[2]=this.buffer[2]+e.buffer[2]>>>0,t[1]=this.buffer[1]+e.buffer[1]>>>0,t[0]=this.buffer[0]+e.buffer[0]>>>0,t[0]>>0&&++t[1],t[1]>>0&&++t[2],t[2]>>0&&++t[3],this.buffer[3]=t[3],this.buffer[2]=t[2],this.buffer[1]=t[1],this.buffer[0]=t[0],this}hex(){return`${Yo(this.buffer[3])} ${Yo(this.buffer[2])} ${Yo(this.buffer[1])} ${Yo(this.buffer[0])}`}static multiply(e,t){return new ti(new Uint32Array(e.buffer)).times(t)}static add(e,t){return new ti(new Uint32Array(e.buffer)).plus(t)}static from(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Uint32Array(4);return ti.fromString("string"===typeof e?e:e.toString(),t)}static fromNumber(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Uint32Array(4);return ti.fromString(e.toString(),t)}static fromString(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Uint32Array(4);const n=e.startsWith("-"),r=e.length,o=new ti(t);for(let i=n?1:0;i4&&void 0!==arguments[4]?arguments[4]:Lr.V5;super(),this.nodesIndex=-1,this.buffersIndex=-1,this.bytes=e,this.nodes=t,this.buffers=n,this.dictionaries=r,this.metadataVersion=o}visit(e){return super.visit(e instanceof Dr?e.type:e)}visitNull(e){let{length:t}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.nextFieldNode();return Pr({type:e,length:t})}visitBool(e){let{length:t,nullCount:n}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.nextFieldNode();return Pr({type:e,length:t,nullCount:n,nullBitmap:this.readNullBitmap(e,n),data:this.readData(e)})}visitInt(e){let{length:t,nullCount:n}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.nextFieldNode();return Pr({type:e,length:t,nullCount:n,nullBitmap:this.readNullBitmap(e,n),data:this.readData(e)})}visitFloat(e){let{length:t,nullCount:n}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.nextFieldNode();return Pr({type:e,length:t,nullCount:n,nullBitmap:this.readNullBitmap(e,n),data:this.readData(e)})}visitUtf8(e){let{length:t,nullCount:n}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.nextFieldNode();return Pr({type:e,length:t,nullCount:n,nullBitmap:this.readNullBitmap(e,n),valueOffsets:this.readOffsets(e),data:this.readData(e)})}visitLargeUtf8(e){let{length:t,nullCount:n}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.nextFieldNode();return Pr({type:e,length:t,nullCount:n,nullBitmap:this.readNullBitmap(e,n),valueOffsets:this.readOffsets(e),data:this.readData(e)})}visitBinary(e){let{length:t,nullCount:n}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.nextFieldNode();return Pr({type:e,length:t,nullCount:n,nullBitmap:this.readNullBitmap(e,n),valueOffsets:this.readOffsets(e),data:this.readData(e)})}visitLargeBinary(e){let{length:t,nullCount:n}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.nextFieldNode();return Pr({type:e,length:t,nullCount:n,nullBitmap:this.readNullBitmap(e,n),valueOffsets:this.readOffsets(e),data:this.readData(e)})}visitFixedSizeBinary(e){let{length:t,nullCount:n}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.nextFieldNode();return Pr({type:e,length:t,nullCount:n,nullBitmap:this.readNullBitmap(e,n),data:this.readData(e)})}visitDate(e){let{length:t,nullCount:n}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.nextFieldNode();return Pr({type:e,length:t,nullCount:n,nullBitmap:this.readNullBitmap(e,n),data:this.readData(e)})}visitTimestamp(e){let{length:t,nullCount:n}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.nextFieldNode();return Pr({type:e,length:t,nullCount:n,nullBitmap:this.readNullBitmap(e,n),data:this.readData(e)})}visitTime(e){let{length:t,nullCount:n}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.nextFieldNode();return Pr({type:e,length:t,nullCount:n,nullBitmap:this.readNullBitmap(e,n),data:this.readData(e)})}visitDecimal(e){let{length:t,nullCount:n}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.nextFieldNode();return Pr({type:e,length:t,nullCount:n,nullBitmap:this.readNullBitmap(e,n),data:this.readData(e)})}visitList(e){let{length:t,nullCount:n}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.nextFieldNode();return Pr({type:e,length:t,nullCount:n,nullBitmap:this.readNullBitmap(e,n),valueOffsets:this.readOffsets(e),child:this.visit(e.children[0])})}visitStruct(e){let{length:t,nullCount:n}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.nextFieldNode();return Pr({type:e,length:t,nullCount:n,nullBitmap:this.readNullBitmap(e,n),children:this.visitMany(e.children)})}visitUnion(e){let{length:t,nullCount:n}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.nextFieldNode();return this.metadataVersion1&&void 0!==arguments[1]?arguments[1]:this.nextFieldNode();return Pr({type:e,length:t,nullCount:n,typeIds:this.readTypeIds(e),valueOffsets:this.readOffsets(e),children:this.visitMany(e.children)})}visitSparseUnion(e){let{length:t,nullCount:n}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.nextFieldNode();return Pr({type:e,length:t,nullCount:n,typeIds:this.readTypeIds(e),children:this.visitMany(e.children)})}visitDictionary(e){let{length:t,nullCount:n}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.nextFieldNode();return Pr({type:e,length:t,nullCount:n,nullBitmap:this.readNullBitmap(e,n),data:this.readData(e.indices),dictionary:this.readDictionary(e)})}visitInterval(e){let{length:t,nullCount:n}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.nextFieldNode();return Pr({type:e,length:t,nullCount:n,nullBitmap:this.readNullBitmap(e,n),data:this.readData(e)})}visitDuration(e){let{length:t,nullCount:n}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.nextFieldNode();return Pr({type:e,length:t,nullCount:n,nullBitmap:this.readNullBitmap(e,n),data:this.readData(e)})}visitFixedSizeList(e){let{length:t,nullCount:n}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.nextFieldNode();return Pr({type:e,length:t,nullCount:n,nullBitmap:this.readNullBitmap(e,n),child:this.visit(e.children[0])})}visitMap(e){let{length:t,nullCount:n}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.nextFieldNode();return Pr({type:e,length:t,nullCount:n,nullBitmap:this.readNullBitmap(e,n),valueOffsets:this.readOffsets(e),child:this.visit(e.children[0])})}nextFieldNode(){return this.nodes[++this.nodesIndex]}nextBufferRange(){return this.buffers[++this.buffersIndex]}readNullBitmap(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.nextBufferRange();return t>0&&this.readData(e,n)||new Uint8Array(0)}readOffsets(e,t){return this.readData(e,t)}readTypeIds(e,t){return this.readData(e,t)}readData(e){let{length:t,offset:n}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.nextBufferRange();return this.bytes.subarray(n,n+t)}readDictionary(e){return this.dictionaries.get(e.id)}}class ri extends ni{constructor(e,t,n,r,o){super(new Uint8Array(0),t,n,r,o),this.sources=e}readNullBitmap(e,t){let{offset:n}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.nextBufferRange();return t<=0?new Uint8Array(0):mr(this.sources[n])}readOffsets(e){let{offset:t}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.nextBufferRange();return P(Uint8Array,P(e.OffsetArrayType,this.sources[t]))}readTypeIds(e){let{offset:t}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.nextBufferRange();return P(Uint8Array,P(e.ArrayType,this.sources[t]))}readData(e){let{offset:t}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.nextBufferRange();const{sources:n}=this;return it.isTimestamp(e)||(it.isInt(e)||it.isTime(e))&&64===e.bitWidth||it.isDuration(e)||it.isDate(e)&&e.unit===Ce.MILLISECOND?P(Uint8Array,ei.convertArray(n[t])):it.isDecimal(e)?P(Uint8Array,ti.convertArray(n[t])):it.isBinary(e)||it.isLargeBinary(e)||it.isFixedSizeBinary(e)?function(e){const t=e.join(""),n=new Uint8Array(t.length/2);for(let r=0;r>1]=Number.parseInt(t.slice(r,r+2),16);return n}(n[t]):it.isBool(e)?mr(n[t]):it.isUtf8(e)||it.isLargeUtf8(e)?O(n[t].join("")):P(Uint8Array,P(e.ArrayType,n[t].map((e=>+e))))}}var oi,ii;!function(e){e[e.BUFFER=0]="BUFFER"}(oi||(oi={})),function(e){e[e.LZ4_FRAME=0]="LZ4_FRAME",e[e.ZSTD=1]="ZSTD"}(ii||(ii={}));class ai{constructor(){this.bb=null,this.bb_pos=0}__init(e,t){return this.bb_pos=e,this.bb=t,this}static getRootAsBodyCompression(e,t){return(t||new ai).__init(e.readInt32(e.position())+e.position(),e)}static getSizePrefixedRootAsBodyCompression(e,t){return e.setPosition(e.position()+4),(t||new ai).__init(e.readInt32(e.position())+e.position(),e)}codec(){const e=this.bb.__offset(this.bb_pos,4);return e?this.bb.readInt8(this.bb_pos+e):ii.LZ4_FRAME}method(){const e=this.bb.__offset(this.bb_pos,6);return e?this.bb.readInt8(this.bb_pos+e):oi.BUFFER}static startBodyCompression(e){e.startObject(2)}static addCodec(e,t){e.addFieldInt8(0,t,ii.LZ4_FRAME)}static addMethod(e,t){e.addFieldInt8(1,t,oi.BUFFER)}static endBodyCompression(e){return e.endObject()}static createBodyCompression(e,t,n){return ai.startBodyCompression(e),ai.addCodec(e,t),ai.addMethod(e,n),ai.endBodyCompression(e)}}class si{constructor(){this.bb=null,this.bb_pos=0}__init(e,t){return this.bb_pos=e,this.bb=t,this}offset(){return this.bb.readInt64(this.bb_pos)}length(){return this.bb.readInt64(this.bb_pos+8)}static sizeOf(){return 16}static createBuffer(e,t,n){return e.prep(8,16),e.writeInt64(BigInt(null!==n&&void 0!==n?n:0)),e.writeInt64(BigInt(null!==t&&void 0!==t?t:0)),e.offset()}}class li{constructor(){this.bb=null,this.bb_pos=0}__init(e,t){return this.bb_pos=e,this.bb=t,this}length(){return this.bb.readInt64(this.bb_pos)}nullCount(){return this.bb.readInt64(this.bb_pos+8)}static sizeOf(){return 16}static createFieldNode(e,t,n){return e.prep(8,16),e.writeInt64(BigInt(null!==n&&void 0!==n?n:0)),e.writeInt64(BigInt(null!==t&&void 0!==t?t:0)),e.offset()}}class ci{constructor(){this.bb=null,this.bb_pos=0}__init(e,t){return this.bb_pos=e,this.bb=t,this}static getRootAsRecordBatch(e,t){return(t||new ci).__init(e.readInt32(e.position())+e.position(),e)}static getSizePrefixedRootAsRecordBatch(e,t){return e.setPosition(e.position()+4),(t||new ci).__init(e.readInt32(e.position())+e.position(),e)}length(){const e=this.bb.__offset(this.bb_pos,4);return e?this.bb.readInt64(this.bb_pos+e):BigInt("0")}nodes(e,t){const n=this.bb.__offset(this.bb_pos,6);return n?(t||new li).__init(this.bb.__vector(this.bb_pos+n)+16*e,this.bb):null}nodesLength(){const e=this.bb.__offset(this.bb_pos,6);return e?this.bb.__vector_len(this.bb_pos+e):0}buffers(e,t){const n=this.bb.__offset(this.bb_pos,8);return n?(t||new si).__init(this.bb.__vector(this.bb_pos+n)+16*e,this.bb):null}buffersLength(){const e=this.bb.__offset(this.bb_pos,8);return e?this.bb.__vector_len(this.bb_pos+e):0}compression(e){const t=this.bb.__offset(this.bb_pos,10);return t?(e||new ai).__init(this.bb.__indirect(this.bb_pos+t),this.bb):null}static startRecordBatch(e){e.startObject(4)}static addLength(e,t){e.addFieldInt64(0,t,BigInt("0"))}static addNodes(e,t){e.addFieldOffset(1,t,0)}static startNodesVector(e,t){e.startVector(16,t,8)}static addBuffers(e,t){e.addFieldOffset(2,t,0)}static startBuffersVector(e,t){e.startVector(16,t,8)}static addCompression(e,t){e.addFieldOffset(3,t,0)}static endRecordBatch(e){return e.endObject()}}class ui{constructor(){this.bb=null,this.bb_pos=0}__init(e,t){return this.bb_pos=e,this.bb=t,this}static getRootAsDictionaryBatch(e,t){return(t||new ui).__init(e.readInt32(e.position())+e.position(),e)}static getSizePrefixedRootAsDictionaryBatch(e,t){return e.setPosition(e.position()+4),(t||new ui).__init(e.readInt32(e.position())+e.position(),e)}id(){const e=this.bb.__offset(this.bb_pos,4);return e?this.bb.readInt64(this.bb_pos+e):BigInt("0")}data(e){const t=this.bb.__offset(this.bb_pos,6);return t?(e||new ci).__init(this.bb.__indirect(this.bb_pos+t),this.bb):null}isDelta(){const e=this.bb.__offset(this.bb_pos,8);return!!e&&!!this.bb.readInt8(this.bb_pos+e)}static startDictionaryBatch(e){e.startObject(3)}static addId(e,t){e.addFieldInt64(0,t,BigInt("0"))}static addData(e,t){e.addFieldOffset(1,t,0)}static addIsDelta(e,t){e.addFieldInt8(2,+t,0)}static endDictionaryBatch(e){return e.endObject()}}class pi{constructor(){this.bb=null,this.bb_pos=0}__init(e,t){return this.bb_pos=e,this.bb=t,this}static getRootAsFloatingPoint(e,t){return(t||new pi).__init(e.readInt32(e.position())+e.position(),e)}static getSizePrefixedRootAsFloatingPoint(e,t){return e.setPosition(e.position()+4),(t||new pi).__init(e.readInt32(e.position())+e.position(),e)}precision(){const e=this.bb.__offset(this.bb_pos,4);return e?this.bb.readInt16(this.bb_pos+e):_e.HALF}static startFloatingPoint(e){e.startObject(1)}static addPrecision(e,t){e.addFieldInt16(0,t,_e.HALF)}static endFloatingPoint(e){return e.endObject()}static createFloatingPoint(e,t){return pi.startFloatingPoint(e),pi.addPrecision(e,t),pi.endFloatingPoint(e)}}class di{constructor(){this.bb=null,this.bb_pos=0}__init(e,t){return this.bb_pos=e,this.bb=t,this}static getRootAsDecimal(e,t){return(t||new di).__init(e.readInt32(e.position())+e.position(),e)}static getSizePrefixedRootAsDecimal(e,t){return e.setPosition(e.position()+4),(t||new di).__init(e.readInt32(e.position())+e.position(),e)}precision(){const e=this.bb.__offset(this.bb_pos,4);return e?this.bb.readInt32(this.bb_pos+e):0}scale(){const e=this.bb.__offset(this.bb_pos,6);return e?this.bb.readInt32(this.bb_pos+e):0}bitWidth(){const e=this.bb.__offset(this.bb_pos,8);return e?this.bb.readInt32(this.bb_pos+e):128}static startDecimal(e){e.startObject(3)}static addPrecision(e,t){e.addFieldInt32(0,t,0)}static addScale(e,t){e.addFieldInt32(1,t,0)}static addBitWidth(e,t){e.addFieldInt32(2,t,128)}static endDecimal(e){return e.endObject()}static createDecimal(e,t,n,r){return di.startDecimal(e),di.addPrecision(e,t),di.addScale(e,n),di.addBitWidth(e,r),di.endDecimal(e)}}class bi{constructor(){this.bb=null,this.bb_pos=0}__init(e,t){return this.bb_pos=e,this.bb=t,this}static getRootAsDate(e,t){return(t||new bi).__init(e.readInt32(e.position())+e.position(),e)}static getSizePrefixedRootAsDate(e,t){return e.setPosition(e.position()+4),(t||new bi).__init(e.readInt32(e.position())+e.position(),e)}unit(){const e=this.bb.__offset(this.bb_pos,4);return e?this.bb.readInt16(this.bb_pos+e):Ce.MILLISECOND}static startDate(e){e.startObject(1)}static addUnit(e,t){e.addFieldInt16(0,t,Ce.MILLISECOND)}static endDate(e){return e.endObject()}static createDate(e,t){return bi.startDate(e),bi.addUnit(e,t),bi.endDate(e)}}class fi{constructor(){this.bb=null,this.bb_pos=0}__init(e,t){return this.bb_pos=e,this.bb=t,this}static getRootAsTime(e,t){return(t||new fi).__init(e.readInt32(e.position())+e.position(),e)}static getSizePrefixedRootAsTime(e,t){return e.setPosition(e.position()+4),(t||new fi).__init(e.readInt32(e.position())+e.position(),e)}unit(){const e=this.bb.__offset(this.bb_pos,4);return e?this.bb.readInt16(this.bb_pos+e):Re.MILLISECOND}bitWidth(){const e=this.bb.__offset(this.bb_pos,6);return e?this.bb.readInt32(this.bb_pos+e):32}static startTime(e){e.startObject(2)}static addUnit(e,t){e.addFieldInt16(0,t,Re.MILLISECOND)}static addBitWidth(e,t){e.addFieldInt32(1,t,32)}static endTime(e){return e.endObject()}static createTime(e,t,n){return fi.startTime(e),fi.addUnit(e,t),fi.addBitWidth(e,n),fi.endTime(e)}}class hi{constructor(){this.bb=null,this.bb_pos=0}__init(e,t){return this.bb_pos=e,this.bb=t,this}static getRootAsTimestamp(e,t){return(t||new hi).__init(e.readInt32(e.position())+e.position(),e)}static getSizePrefixedRootAsTimestamp(e,t){return e.setPosition(e.position()+4),(t||new hi).__init(e.readInt32(e.position())+e.position(),e)}unit(){const e=this.bb.__offset(this.bb_pos,4);return e?this.bb.readInt16(this.bb_pos+e):Re.SECOND}timezone(e){const t=this.bb.__offset(this.bb_pos,6);return t?this.bb.__string(this.bb_pos+t,e):null}static startTimestamp(e){e.startObject(2)}static addUnit(e,t){e.addFieldInt16(0,t,Re.SECOND)}static addTimezone(e,t){e.addFieldOffset(1,t,0)}static endTimestamp(e){return e.endObject()}static createTimestamp(e,t,n){return hi.startTimestamp(e),hi.addUnit(e,t),hi.addTimezone(e,n),hi.endTimestamp(e)}}class mi{constructor(){this.bb=null,this.bb_pos=0}__init(e,t){return this.bb_pos=e,this.bb=t,this}static getRootAsInterval(e,t){return(t||new mi).__init(e.readInt32(e.position())+e.position(),e)}static getSizePrefixedRootAsInterval(e,t){return e.setPosition(e.position()+4),(t||new mi).__init(e.readInt32(e.position())+e.position(),e)}unit(){const e=this.bb.__offset(this.bb_pos,4);return e?this.bb.readInt16(this.bb_pos+e):Ne.YEAR_MONTH}static startInterval(e){e.startObject(1)}static addUnit(e,t){e.addFieldInt16(0,t,Ne.YEAR_MONTH)}static endInterval(e){return e.endObject()}static createInterval(e,t){return mi.startInterval(e),mi.addUnit(e,t),mi.endInterval(e)}}class gi{constructor(){this.bb=null,this.bb_pos=0}__init(e,t){return this.bb_pos=e,this.bb=t,this}static getRootAsDuration(e,t){return(t||new gi).__init(e.readInt32(e.position())+e.position(),e)}static getSizePrefixedRootAsDuration(e,t){return e.setPosition(e.position()+4),(t||new gi).__init(e.readInt32(e.position())+e.position(),e)}unit(){const e=this.bb.__offset(this.bb_pos,4);return e?this.bb.readInt16(this.bb_pos+e):Re.MILLISECOND}static startDuration(e){e.startObject(1)}static addUnit(e,t){e.addFieldInt16(0,t,Re.MILLISECOND)}static endDuration(e){return e.endObject()}static createDuration(e,t){return gi.startDuration(e),gi.addUnit(e,t),gi.endDuration(e)}}class Oi{constructor(){this.bb=null,this.bb_pos=0}__init(e,t){return this.bb_pos=e,this.bb=t,this}static getRootAsUnion(e,t){return(t||new Oi).__init(e.readInt32(e.position())+e.position(),e)}static getSizePrefixedRootAsUnion(e,t){return e.setPosition(e.position()+4),(t||new Oi).__init(e.readInt32(e.position())+e.position(),e)}mode(){const e=this.bb.__offset(this.bb_pos,4);return e?this.bb.readInt16(this.bb_pos+e):Ie.Sparse}typeIds(e){const t=this.bb.__offset(this.bb_pos,6);return t?this.bb.readInt32(this.bb.__vector(this.bb_pos+t)+4*e):0}typeIdsLength(){const e=this.bb.__offset(this.bb_pos,6);return e?this.bb.__vector_len(this.bb_pos+e):0}typeIdsArray(){const e=this.bb.__offset(this.bb_pos,6);return e?new Int32Array(this.bb.bytes().buffer,this.bb.bytes().byteOffset+this.bb.__vector(this.bb_pos+e),this.bb.__vector_len(this.bb_pos+e)):null}static startUnion(e){e.startObject(2)}static addMode(e,t){e.addFieldInt16(0,t,Ie.Sparse)}static addTypeIds(e,t){e.addFieldOffset(1,t,0)}static createTypeIdsVector(e,t){e.startVector(4,t.length,4);for(let n=t.length-1;n>=0;n--)e.addInt32(t[n]);return e.endVector()}static startTypeIdsVector(e,t){e.startVector(4,t,4)}static endUnion(e){return e.endObject()}static createUnion(e,t,n){return Oi.startUnion(e),Oi.addMode(e,t),Oi.addTypeIds(e,n),Oi.endUnion(e)}}class yi{constructor(){this.bb=null,this.bb_pos=0}__init(e,t){return this.bb_pos=e,this.bb=t,this}static getRootAsFixedSizeBinary(e,t){return(t||new yi).__init(e.readInt32(e.position())+e.position(),e)}static getSizePrefixedRootAsFixedSizeBinary(e,t){return e.setPosition(e.position()+4),(t||new yi).__init(e.readInt32(e.position())+e.position(),e)}byteWidth(){const e=this.bb.__offset(this.bb_pos,4);return e?this.bb.readInt32(this.bb_pos+e):0}static startFixedSizeBinary(e){e.startObject(1)}static addByteWidth(e,t){e.addFieldInt32(0,t,0)}static endFixedSizeBinary(e){return e.endObject()}static createFixedSizeBinary(e,t){return yi.startFixedSizeBinary(e),yi.addByteWidth(e,t),yi.endFixedSizeBinary(e)}}class Mi{constructor(){this.bb=null,this.bb_pos=0}__init(e,t){return this.bb_pos=e,this.bb=t,this}static getRootAsFixedSizeList(e,t){return(t||new Mi).__init(e.readInt32(e.position())+e.position(),e)}static getSizePrefixedRootAsFixedSizeList(e,t){return e.setPosition(e.position()+4),(t||new Mi).__init(e.readInt32(e.position())+e.position(),e)}listSize(){const e=this.bb.__offset(this.bb_pos,4);return e?this.bb.readInt32(this.bb_pos+e):0}static startFixedSizeList(e){e.startObject(1)}static addListSize(e,t){e.addFieldInt32(0,t,0)}static endFixedSizeList(e){return e.endObject()}static createFixedSizeList(e,t){return Mi.startFixedSizeList(e),Mi.addListSize(e,t),Mi.endFixedSizeList(e)}}class zi{constructor(){this.bb=null,this.bb_pos=0}__init(e,t){return this.bb_pos=e,this.bb=t,this}static getRootAsMap(e,t){return(t||new zi).__init(e.readInt32(e.position())+e.position(),e)}static getSizePrefixedRootAsMap(e,t){return e.setPosition(e.position()+4),(t||new zi).__init(e.readInt32(e.position())+e.position(),e)}keysSorted(){const e=this.bb.__offset(this.bb_pos,4);return!!e&&!!this.bb.readInt8(this.bb_pos+e)}static startMap(e){e.startObject(1)}static addKeysSorted(e,t){e.addFieldInt8(0,+t,0)}static endMap(e){return e.endObject()}static createMap(e,t){return zi.startMap(e),zi.addKeysSorted(e,t),zi.endMap(e)}}class Ai{constructor(){this.bb=null,this.bb_pos=0}__init(e,t){return this.bb_pos=e,this.bb=t,this}static getRootAsMessage(e,t){return(t||new Ai).__init(e.readInt32(e.position())+e.position(),e)}static getSizePrefixedRootAsMessage(e,t){return e.setPosition(e.position()+4),(t||new Ai).__init(e.readInt32(e.position())+e.position(),e)}version(){const e=this.bb.__offset(this.bb_pos,4);return e?this.bb.readInt16(this.bb_pos+e):Lr.V1}headerType(){const e=this.bb.__offset(this.bb_pos,6);return e?this.bb.readUint8(this.bb_pos+e):oo.NONE}header(e){const t=this.bb.__offset(this.bb_pos,8);return t?this.bb.__union(e,this.bb_pos+t):null}bodyLength(){const e=this.bb.__offset(this.bb_pos,10);return e?this.bb.readInt64(this.bb_pos+e):BigInt("0")}customMetadata(e,t){const n=this.bb.__offset(this.bb_pos,12);return n?(t||new wo).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos+n)+4*e),this.bb):null}customMetadataLength(){const e=this.bb.__offset(this.bb_pos,12);return e?this.bb.__vector_len(this.bb_pos+e):0}static startMessage(e){e.startObject(5)}static addVersion(e,t){e.addFieldInt16(0,t,Lr.V1)}static addHeaderType(e,t){e.addFieldInt8(1,t,oo.NONE)}static addHeader(e,t){e.addFieldOffset(2,t,0)}static addBodyLength(e,t){e.addFieldInt64(3,t,BigInt("0"))}static addCustomMetadata(e,t){e.addFieldOffset(4,t,0)}static createCustomMetadataVector(e,t){e.startVector(4,t.length,4);for(let n=t.length-1;n>=0;n--)e.addOffset(t[n]);return e.endVector()}static startCustomMetadataVector(e,t){e.startVector(4,t,4)}static endMessage(e){return e.endObject()}static finishMessageBuffer(e,t){e.finish(t)}static finishSizePrefixedMessageBuffer(e,t){e.finish(t,void 0,!0)}static createMessage(e,t,n,r,o,i){return Ai.startMessage(e),Ai.addVersion(e,t),Ai.addHeaderType(e,n),Ai.addHeader(e,r),Ai.addBodyLength(e,o),Ai.addCustomMetadata(e,i),Ai.endMessage(e)}}class vi{constructor(){this.bb=null,this.bb_pos=0}__init(e,t){return this.bb_pos=e,this.bb=t,this}static getRootAsNull(e,t){return(t||new vi).__init(e.readInt32(e.position())+e.position(),e)}static getSizePrefixedRootAsNull(e,t){return e.setPosition(e.position()+4),(t||new vi).__init(e.readInt32(e.position())+e.position(),e)}static startNull(e){e.startObject(0)}static endNull(e){return e.endObject()}static createNull(e){return vi.startNull(e),vi.endNull(e)}}class wi{constructor(){this.bb=null,this.bb_pos=0}__init(e,t){return this.bb_pos=e,this.bb=t,this}static getRootAsBinary(e,t){return(t||new wi).__init(e.readInt32(e.position())+e.position(),e)}static getSizePrefixedRootAsBinary(e,t){return e.setPosition(e.position()+4),(t||new wi).__init(e.readInt32(e.position())+e.position(),e)}static startBinary(e){e.startObject(0)}static endBinary(e){return e.endObject()}static createBinary(e){return wi.startBinary(e),wi.endBinary(e)}}class Si{constructor(){this.bb=null,this.bb_pos=0}__init(e,t){return this.bb_pos=e,this.bb=t,this}static getRootAsLargeBinary(e,t){return(t||new Si).__init(e.readInt32(e.position())+e.position(),e)}static getSizePrefixedRootAsLargeBinary(e,t){return e.setPosition(e.position()+4),(t||new Si).__init(e.readInt32(e.position())+e.position(),e)}static startLargeBinary(e){e.startObject(0)}static endLargeBinary(e){return e.endObject()}static createLargeBinary(e){return Si.startLargeBinary(e),Si.endLargeBinary(e)}}class xi{constructor(){this.bb=null,this.bb_pos=0}__init(e,t){return this.bb_pos=e,this.bb=t,this}static getRootAsBool(e,t){return(t||new xi).__init(e.readInt32(e.position())+e.position(),e)}static getSizePrefixedRootAsBool(e,t){return e.setPosition(e.position()+4),(t||new xi).__init(e.readInt32(e.position())+e.position(),e)}static startBool(e){e.startObject(0)}static endBool(e){return e.endObject()}static createBool(e){return xi.startBool(e),xi.endBool(e)}}class Ei{constructor(){this.bb=null,this.bb_pos=0}__init(e,t){return this.bb_pos=e,this.bb=t,this}static getRootAsUtf8(e,t){return(t||new Ei).__init(e.readInt32(e.position())+e.position(),e)}static getSizePrefixedRootAsUtf8(e,t){return e.setPosition(e.position()+4),(t||new Ei).__init(e.readInt32(e.position())+e.position(),e)}static startUtf8(e){e.startObject(0)}static endUtf8(e){return e.endObject()}static createUtf8(e){return Ei.startUtf8(e),Ei.endUtf8(e)}}class ki{constructor(){this.bb=null,this.bb_pos=0}__init(e,t){return this.bb_pos=e,this.bb=t,this}static getRootAsLargeUtf8(e,t){return(t||new ki).__init(e.readInt32(e.position())+e.position(),e)}static getSizePrefixedRootAsLargeUtf8(e,t){return e.setPosition(e.position()+4),(t||new ki).__init(e.readInt32(e.position())+e.position(),e)}static startLargeUtf8(e){e.startObject(0)}static endLargeUtf8(e){return e.endObject()}static createLargeUtf8(e){return ki.startLargeUtf8(e),ki.endLargeUtf8(e)}}class qi{constructor(){this.bb=null,this.bb_pos=0}__init(e,t){return this.bb_pos=e,this.bb=t,this}static getRootAsList(e,t){return(t||new qi).__init(e.readInt32(e.position())+e.position(),e)}static getSizePrefixedRootAsList(e,t){return e.setPosition(e.position()+4),(t||new qi).__init(e.readInt32(e.position())+e.position(),e)}static startList(e){e.startObject(0)}static endList(e){return e.endObject()}static createList(e){return qi.startList(e),qi.endList(e)}}class Ti{constructor(){this.bb=null,this.bb_pos=0}__init(e,t){return this.bb_pos=e,this.bb=t,this}static getRootAsStruct_(e,t){return(t||new Ti).__init(e.readInt32(e.position())+e.position(),e)}static getSizePrefixedRootAsStruct_(e,t){return e.setPosition(e.position()+4),(t||new Ti).__init(e.readInt32(e.position())+e.position(),e)}static startStruct_(e){e.startObject(0)}static endStruct_(e){return e.endObject()}static createStruct_(e){return Ti.startStruct_(e),Ti.endStruct_(e)}}const _i=new class extends _t{visit(e,t){return null==e||null==t?void 0:super.visit(e,t)}visitNull(e,t){return vi.startNull(t),vi.endNull(t)}visitInt(e,t){return So.startInt(t),So.addBitWidth(t,e.bitWidth),So.addIsSigned(t,e.isSigned),So.endInt(t)}visitFloat(e,t){return pi.startFloatingPoint(t),pi.addPrecision(t,e.precision),pi.endFloatingPoint(t)}visitBinary(e,t){return wi.startBinary(t),wi.endBinary(t)}visitLargeBinary(e,t){return Si.startLargeBinary(t),Si.endLargeBinary(t)}visitBool(e,t){return xi.startBool(t),xi.endBool(t)}visitUtf8(e,t){return Ei.startUtf8(t),Ei.endUtf8(t)}visitLargeUtf8(e,t){return ki.startLargeUtf8(t),ki.endLargeUtf8(t)}visitDecimal(e,t){return di.startDecimal(t),di.addScale(t,e.scale),di.addPrecision(t,e.precision),di.addBitWidth(t,e.bitWidth),di.endDecimal(t)}visitDate(e,t){return bi.startDate(t),bi.addUnit(t,e.unit),bi.endDate(t)}visitTime(e,t){return fi.startTime(t),fi.addUnit(t,e.unit),fi.addBitWidth(t,e.bitWidth),fi.endTime(t)}visitTimestamp(e,t){const n=e.timezone&&t.createString(e.timezone)||void 0;return hi.startTimestamp(t),hi.addUnit(t,e.unit),void 0!==n&&hi.addTimezone(t,n),hi.endTimestamp(t)}visitInterval(e,t){return mi.startInterval(t),mi.addUnit(t,e.unit),mi.endInterval(t)}visitDuration(e,t){return gi.startDuration(t),gi.addUnit(t,e.unit),gi.endDuration(t)}visitList(e,t){return qi.startList(t),qi.endList(t)}visitStruct(e,t){return Ti.startStruct_(t),Ti.endStruct_(t)}visitUnion(e,t){Oi.startTypeIdsVector(t,e.typeIds.length);const n=Oi.createTypeIdsVector(t,e.typeIds);return Oi.startUnion(t),Oi.addMode(t,e.mode),Oi.addTypeIds(t,n),Oi.endUnion(t)}visitDictionary(e,t){const n=this.visit(e.indices,t);return xo.startDictionaryEncoding(t),xo.addId(t,BigInt(e.id)),xo.addIsOrdered(t,e.isOrdered),void 0!==n&&xo.addIndexType(t,n),xo.endDictionaryEncoding(t)}visitFixedSizeBinary(e,t){return yi.startFixedSizeBinary(t),yi.addByteWidth(t,e.byteWidth),yi.endFixedSizeBinary(t)}visitFixedSizeList(e,t){return Mi.startFixedSizeList(t),Mi.addListSize(t,e.listSize),Mi.endFixedSizeList(t)}visitMap(e,t){return zi.startMap(t),zi.addKeysSorted(t,e.keysSorted),zi.endMap(t)}};function Ri(e){return new Fi(e.count,Ni(e.columns),Ii(e.columns))}function Ci(e,t){return(e.children||[]).filter(Boolean).map((e=>Dr.fromJSON(e,t)))}function Ni(e){return(e||[]).reduce(((e,t)=>{return[...e,new Hi(t.count,(n=t.VALIDITY,(n||[]).reduce(((e,t)=>e+ +(0===t)),0))),...Ni(t.children)];var n}),[])}function Ii(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];for(let n=-1,r=(e||[]).length;++n0&&void 0!==arguments[0]?arguments[0]:[]).map((e=>{let{key:t,value:n}=e;return[t,n]})))}function Pi(e){return new st(e.isSigned,e.bitWidth)}function Li(e,t){const n=e.type.name;switch(n){case"NONE":case"null":return new at;case"binary":return new ut;case"largebinary":return new pt;case"utf8":return new dt;case"largeutf8":return new bt;case"bool":return new ft;case"list":return new zt((t||[])[0]);case"struct":case"struct_":return new At(t||[])}switch(n){case"int":{const t=e.type;return new st(t.isSigned,t.bitWidth)}case"floatingpoint":{const t=e.type;return new ct(_e[t.precision])}case"decimal":{const t=e.type;return new ht(t.scale,t.precision,t.bitWidth)}case"date":{const t=e.type;return new mt(Ce[t.unit])}case"time":{const t=e.type;return new gt(Re[t.unit],t.bitWidth)}case"timestamp":{const t=e.type;return new Ot(Re[t.unit],t.timezone)}case"interval":{const t=e.type;return new yt(Ne[t.unit])}case"duration":{const t=e.type;return new Mt(Re[t.unit])}case"union":{const n=e.type,[r,...o]=(n.mode+"").toLowerCase(),i=r.toUpperCase()+o.join("");return new vt(Ie[i],n.typeIds||[],t||[])}case"fixedsizebinary":{const t=e.type;return new wt(t.byteWidth)}case"fixedsizelist":{const n=e.type;return new St(n.listSize,(t||[])[0])}case"map":{const n=e.type;return new xt((t||[])[0],n.keysSorted)}}throw new Error(`Unrecognized type: "${n}"`)}var ji=vo,Di=Ao;class Bi{static fromJSON(e,t){const n=new Bi(0,Lr.V5,t);return n._createHeader=function(e,t){return()=>{switch(t){case oo.Schema:return jr.fromJSON(e);case oo.RecordBatch:return Fi.fromJSON(e);case oo.DictionaryBatch:return Vi.fromJSON(e)}throw new Error(`Unrecognized Message type: { name: ${oo[t]}, type: ${t} }`)}}(e,t),n}static decode(e){e=new Di(F(e));const t=Ai.getRootAsMessage(e),n=t.bodyLength(),r=t.version(),o=t.headerType(),i=new Bi(n,r,o);return i._createHeader=function(e,t){return()=>{switch(t){case oo.Schema:return jr.decode(e.header(new ko),new Map,e.version());case oo.RecordBatch:return Fi.decode(e.header(new ci),e.version());case oo.DictionaryBatch:return Vi.decode(e.header(new ui),e.version())}throw new Error(`Unrecognized Message type: { name: ${oo[t]}, type: ${t} }`)}}(t,o),i}static encode(e){const t=new ji;let n=-1;return e.isSchema()?n=jr.encode(t,e.header()):e.isRecordBatch()?n=Fi.encode(t,e.header()):e.isDictionaryBatch()&&(n=Vi.encode(t,e.header())),Ai.startMessage(t),Ai.addVersion(t,Lr.V5),Ai.addHeader(t,n),Ai.addHeaderType(t,e.headerType),Ai.addBodyLength(t,BigInt(e.bodyLength)),Ai.finishMessageBuffer(t,Ai.endMessage(t)),t.asUint8Array()}static from(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(e instanceof jr)return new Bi(0,Lr.V5,oo.Schema,e);if(e instanceof Fi)return new Bi(t,Lr.V5,oo.RecordBatch,e);if(e instanceof Vi)return new Bi(t,Lr.V5,oo.DictionaryBatch,e);throw new Error(`Unrecognized Message header: ${e}`)}get type(){return this.headerType}get version(){return this._version}get headerType(){return this._headerType}get bodyLength(){return this._bodyLength}header(){return this._createHeader()}isSchema(){return this.headerType===oo.Schema}isRecordBatch(){return this.headerType===oo.RecordBatch}isDictionaryBatch(){return this.headerType===oo.DictionaryBatch}constructor(e,t,n,r){this._version=t,this._headerType=n,this.body=new Uint8Array(0),r&&(this._createHeader=()=>r),this._bodyLength=Oe(e)}}class Fi{get nodes(){return this._nodes}get length(){return this._length}get buffers(){return this._buffers}constructor(e,t,n){this._nodes=t,this._buffers=n,this._length=Oe(e)}}class Vi{get id(){return this._id}get data(){return this._data}get isDelta(){return this._isDelta}get length(){return this.data.length}get nodes(){return this.data.nodes}get buffers(){return this.data.buffers}constructor(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];this._data=e,this._isDelta=n,this._id=Oe(t)}}class Ui{constructor(e,t){this.offset=Oe(e),this.length=Oe(t)}}class Hi{constructor(e,t){this.length=Oe(e),this.nullCount=Oe(t)}}function Xi(e,t){const n=[];for(let r,o=-1,i=-1,a=e.childrenLength();++oDr.encode(e,t))),l=Eo.createChildrenVector(e,s),c=t.metadata&&t.metadata.size>0?Eo.createCustomMetadataVector(e,[...t.metadata].map((t=>{let[n,r]=t;const o=e.createString(`${n}`),i=e.createString(`${r}`);return wo.startKeyValue(e),wo.addKey(e,o),wo.addValue(e,i),wo.endKeyValue(e)}))):-1;t.name&&(n=e.createString(t.name));Eo.startField(e),Eo.addType(e,r),Eo.addTypeType(e,a),Eo.addChildren(e,l),Eo.addNullable(e,!!t.nullable),-1!==n&&Eo.addName(e,n);-1!==o&&Eo.addDictionary(e,o);-1!==c&&Eo.addCustomMetadata(e,c);return Eo.endField(e)},Dr.decode=function(e,t){let n,r,o,i,a,s;t&&(s=e.dictionary())?t.has(n=Oe(s.id()))?(i=(i=s.indexType())?$i(i):new lt,a=new qt(t.get(n),i,n,s.isOrdered()),r=new Dr(e.name(),a,e.nullable(),Gi(e))):(i=(i=s.indexType())?$i(i):new lt,t.set(n,o=Ki(e,Xi(e,t))),a=new qt(o,i,n,s.isOrdered()),r=new Dr(e.name(),a,e.nullable(),Gi(e))):(o=Ki(e,Xi(e,t)),r=new Dr(e.name(),o,e.nullable(),Gi(e)));return r||null},Dr.fromJSON=function(e,t){let n,r,o,i,a,s;return t&&(i=e.dictionary)?t.has(n=i.id)?(r=(r=i.indexType)?Pi(r):new lt,s=new qt(t.get(n),r,n,i.isOrdered),o=new Dr(e.name,s,e.nullable,Wi(e.metadata))):(r=(r=i.indexType)?Pi(r):new lt,t.set(n,a=Li(e,Ci(e,t))),s=new qt(a,r,n,i.isOrdered),o=new Dr(e.name,s,e.nullable,Wi(e.metadata))):(a=Li(e,Ci(e,t)),o=new Dr(e.name,a,e.nullable,Wi(e.metadata))),o||null},jr.encode=function(e,t){const n=t.fields.map((t=>Dr.encode(e,t)));ko.startFieldsVector(e,n.length);const r=ko.createFieldsVector(e,n),o=t.metadata&&t.metadata.size>0?ko.createCustomMetadataVector(e,[...t.metadata].map((t=>{let[n,r]=t;const o=e.createString(`${n}`),i=e.createString(`${r}`);return wo.startKeyValue(e),wo.addKey(e,o),wo.addValue(e,i),wo.endKeyValue(e)}))):-1;ko.startSchema(e),ko.addFields(e,r),ko.addEndianness(e,Yi?yo.Little:yo.Big),-1!==o&&ko.addCustomMetadata(e,o);return ko.endSchema(e)},jr.decode=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Map,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Lr.V5;const r=function(e,t){const n=[];for(let r,o=-1,i=-1,a=e.fieldsLength();++o1&&void 0!==arguments[1]?arguments[1]:new Map;return new jr(function(e,t){return(e.fields||[]).filter(Boolean).map((e=>Dr.fromJSON(e,t)))}(e,t),Wi(e.metadata),t)},Fi.encode=function(e,t){const n=t.nodes||[],r=t.buffers||[];ci.startNodesVector(e,n.length);for(const a of n.slice().reverse())Hi.encode(e,a);const o=e.endVector();ci.startBuffersVector(e,r.length);for(const a of r.slice().reverse())Ui.encode(e,a);const i=e.endVector();return ci.startRecordBatch(e),ci.addLength(e,BigInt(t.length)),ci.addNodes(e,o),ci.addBuffers(e,i),ci.endRecordBatch(e)},Fi.decode=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Lr.V5;if(null!==e.compression())throw new Error("Record batch compression not implemented");return new Fi(e.length(),function(e){const t=[];for(let n,r=-1,o=-1,i=e.nodesLength();++r1&&void 0!==arguments[1]?arguments[1]:Lr.V5;return new Vi(Fi.decode(e.data(),t),e.id(),e.isDelta())},Vi.fromJSON=function(e){return new Vi(Ri(e.data),e.id,e.isDelta)},Hi.encode=function(e,t){return li.createFieldNode(e,BigInt(t.length),BigInt(t.nullCount))},Hi.decode=function(e){return new Hi(e.length(),e.nullCount())},Ui.encode=function(e,t){return si.createBuffer(e,BigInt(t.offset),BigInt(t.length))},Ui.decode=function(e){return new Ui(e.offset(),e.length())};const Yi=(()=>{const e=new ArrayBuffer(2);return new DataView(e).setInt16(0,256,!0),256===new Int16Array(e)[0]})(),Zi=e=>`Expected ${oo[e]} Message in stream, but was null or length 0.`,Ji=e=>`Header pointer of flatbuffer-encoded ${oo[e]} Message is null or length 0.`,Qi=(e,t)=>`Expected to read ${e} metadata bytes, but only read ${t}.`,ea=(e,t)=>`Expected to read ${e} bytes for message body, but only read ${t}.`;class ta{constructor(e){this.source=e instanceof Uo?e:new Uo(e)}[Symbol.iterator](){return this}next(){let e;return(e=this.readMetadataLength()).done||-1===e.value&&(e=this.readMetadataLength()).done||(e=this.readMetadata(e.value)).done?jo:e}throw(e){return this.source.throw(e)}return(e){return this.source.return(e)}readMessage(e){let t;if((t=this.next()).done)return null;if(null!=e&&t.value.headerType!==e)throw new Error(Zi(e));return t.value}readMessageBody(e){if(e<=0)return new Uint8Array(0);const t=F(this.source.read(e));if(t.byteLength0&&void 0!==arguments[0]&&arguments[0];const t=oo.Schema,n=this.readMessage(t),r=null===n||void 0===n?void 0:n.header();if(e&&!r)throw new Error(Ji(t));return r}readMetadataLength(){const e=this.source.read(oa),t=e&&new Ao(e),n=(null===t||void 0===t?void 0:t.readInt32(0))||0;return{done:0===n,value:n}}readMetadata(e){const t=this.source.read(e);if(!t)return jo;if(t.byteLength0&&void 0!==arguments[0]&&arguments[0];return function*(){const n=oo.Schema,r=yield e.readMessage(n),o=null===r||void 0===r?void 0:r.header();if(t&&!o)throw new Error(Ji(n));return o}()}))}readMetadataLength(){return(0,f.mG)(this,void 0,void 0,(function*(){const e=yield this.source.read(oa),t=e&&new Ao(e),n=(null===t||void 0===t?void 0:t.readInt32(0))||0;return{done:0===n,value:n}}))}readMetadata(e){return(0,f.mG)(this,void 0,void 0,(function*(){const t=yield this.source.read(e);if(!t)return jo;if(t.byteLength[...t,...n.VALIDITY&&[n.VALIDITY]||[],...n.TYPE_ID&&[n.TYPE_ID]||[],...n.OFFSET&&[n.OFFSET]||[],...n.DATA&&[n.DATA]||[],...e(n.children)]),[])}(this._body)}readMessage(e){let t;if((t=this.next()).done)return null;if(null!=e&&t.value.headerType!==e)throw new Error(Zi(e));return t.value}readSchema(){const e=oo.Schema,t=this.readMessage(e),n=null===t||void 0===t?void 0:t.header();if(!t||!n)throw new Error(Ji(e));return n}}const oa=4,ia="ARROW1",aa=new Uint8Array(6);for(let Qa=0;Qa<6;Qa+=1)aa[Qa]=ia.codePointAt(Qa);function sa(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;for(let n=-1,r=aa.length;++nthis)):this}readRecordBatch(e){return this._impl.isFile()?this._impl.readRecordBatch(e):null}[Symbol.iterator](){return this._impl[Symbol.iterator]()}[Symbol.asyncIterator](){return this._impl[Symbol.asyncIterator]()}toDOMStream(){return Io.toDOMStream(this.isSync()?{[Symbol.iterator]:()=>this}:{[Symbol.asyncIterator]:()=>this})}toNodeStream(){return Io.toNodeStream(this.isSync()?{[Symbol.iterator]:()=>this}:{[Symbol.asyncIterator]:()=>this},{objectMode:!0})}static throughNode(e){throw new Error('"throughNode" not available in this environment')}static throughDOM(e,t){throw new Error('"throughDOM" not available in this environment')}static from(e){return e instanceof pa?e:x(e)?function(e){return new da(new za(e))}(e):k(e)?function(e){return(0,f.mG)(this,void 0,void 0,(function*(){const{size:t}=yield e.stat(),n=new Ko(e,t);return t>=ua&&sa(yield n.readAt(0,la+7&-8))?new ha(new Ma(n)):new ba(new Oa(n))}))}(e):v(e)?(()=>(0,f.mG)(this,void 0,void 0,(function*(){return yield pa.from(yield e)})))():q(e)||_(e)||R(e)||S(e)?function(e){return(0,f.mG)(this,void 0,void 0,(function*(){const t=yield e.peek(la+7&-8);return t&&t.byteLength>=4?sa(t)?new fa(new ya(yield e.read())):new ba(new Oa(e)):new ba(new Oa(function(){return(0,f.FC)(this,arguments,(function*(){}))}()))}))}(new Ho(e)):function(e){const t=e.peek(la+7&-8);return t&&t.byteLength>=4?sa(t)?new fa(new ya(e.read())):new da(new ga(e)):new da(new ga(function*(){}()))}(new Uo(e))}static readAll(e){return e instanceof pa?e.isSync()?va(e):wa(e):x(e)||ArrayBuffer.isView(e)||w(e)||E(e)?va(e):wa(e)}}class da extends pa{constructor(e){super(e),this._impl=e}readAll(){return[...this]}[Symbol.iterator](){return this._impl[Symbol.iterator]()}[Symbol.asyncIterator](){return(0,f.FC)(this,arguments,(function*(){yield(0,f.qq)(yield*(0,f.V2)((0,f.KL)(this[Symbol.iterator]())))}))}}class ba extends pa{constructor(e){super(e),this._impl=e}readAll(){return(0,f.mG)(this,void 0,void 0,(function*(){var e,t,n,r;const o=new Array;try{for(var i,a=!0,s=(0,f.KL)(this);!(e=(i=yield s.next()).done);a=!0){r=i.value,a=!1;const e=r;o.push(e)}}catch(l){t={error:l}}finally{try{a||e||!(n=s.return)||(yield n.call(s))}finally{if(t)throw t.error}}return o}))}[Symbol.iterator](){throw new Error("AsyncRecordBatchStreamReader is not Iterable")}[Symbol.asyncIterator](){return this._impl[Symbol.asyncIterator]()}}class fa extends da{constructor(e){super(e),this._impl=e}}class ha extends ba{constructor(e){super(e),this._impl=e}}class ma{get numDictionaries(){return this._dictionaryIndex}get numRecordBatches(){return this._recordBatchIndex}constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new Map;this.closed=!1,this.autoDestroy=!0,this._dictionaryIndex=0,this._recordBatchIndex=0,this.dictionaries=e}isSync(){return!1}isAsync(){return!1}isFile(){return!1}isStream(){return!1}reset(e){return this._dictionaryIndex=0,this._recordBatchIndex=0,this.schema=e,this.dictionaries=new Map,this}_loadRecordBatch(e,t){const n=this._loadVectors(e,t,this.schema.fields),r=Pr({type:new At(this.schema.fields),length:e.length,children:n});return new io(this.schema,r)}_loadDictionaryBatch(e,t){const{id:n,isDelta:r}=e,{dictionaries:o,schema:i}=this,a=o.get(n),s=i.dictionaries.get(n),l=this._loadVectors(e.data,t,[s]);return(a&&r?a.concat(new Rr(l)):new Rr(l)).memoize()}_loadVectors(e,t,n){return new ni(t,e.nodes,e.buffers,this.dictionaries,this.schema.metadataVersion).visitMany(n)}}class ga extends ma{constructor(e,t){super(t),this._reader=x(e)?new ra(this._handle=e):new ta(this._handle=e)}isSync(){return!0}isStream(){return!0}[Symbol.iterator](){return this}cancel(){!this.closed&&(this.closed=!0)&&(this.reset()._reader.return(),this._reader=null,this.dictionaries=null)}open(e){return this.closed||(this.autoDestroy=Aa(this,e),this.schema||(this.schema=this._reader.readSchema())||this.cancel()),this}throw(e){return!this.closed&&this.autoDestroy&&(this.closed=!0)?this.reset()._reader.throw(e):jo}return(e){return!this.closed&&this.autoDestroy&&(this.closed=!0)?this.reset()._reader.return(e):jo}next(){if(this.closed)return jo;let e;const{_reader:t}=this;for(;e=this._readNextMessageAndValidate();)if(e.isSchema())this.reset(e.header());else{if(e.isRecordBatch()){this._recordBatchIndex++;const n=e.header(),r=t.readMessageBody(e.bodyLength);return{done:!1,value:this._loadRecordBatch(n,r)}}if(e.isDictionaryBatch()){this._dictionaryIndex++;const n=e.header(),r=t.readMessageBody(e.bodyLength),o=this._loadDictionaryBatch(n,r);this.dictionaries.set(n.id,o)}}return this.schema&&0===this._recordBatchIndex?(this._recordBatchIndex++,{done:!1,value:new lo(this.schema)}):this.return()}_readNextMessageAndValidate(e){return this._reader.readMessage(e)}}class Oa extends ma{constructor(e,t){super(t),this._reader=new na(this._handle=e)}isAsync(){return!0}isStream(){return!0}[Symbol.asyncIterator](){return this}cancel(){return(0,f.mG)(this,void 0,void 0,(function*(){!this.closed&&(this.closed=!0)&&(yield this.reset()._reader.return(),this._reader=null,this.dictionaries=null)}))}open(e){return(0,f.mG)(this,void 0,void 0,(function*(){return this.closed||(this.autoDestroy=Aa(this,e),this.schema||(this.schema=yield this._reader.readSchema())||(yield this.cancel())),this}))}throw(e){return(0,f.mG)(this,void 0,void 0,(function*(){return!this.closed&&this.autoDestroy&&(this.closed=!0)?yield this.reset()._reader.throw(e):jo}))}return(e){return(0,f.mG)(this,void 0,void 0,(function*(){return!this.closed&&this.autoDestroy&&(this.closed=!0)?yield this.reset()._reader.return(e):jo}))}next(){return(0,f.mG)(this,void 0,void 0,(function*(){if(this.closed)return jo;let e;const{_reader:t}=this;for(;e=yield this._readNextMessageAndValidate();)if(e.isSchema())yield this.reset(e.header());else{if(e.isRecordBatch()){this._recordBatchIndex++;const n=e.header(),r=yield t.readMessageBody(e.bodyLength);return{done:!1,value:this._loadRecordBatch(n,r)}}if(e.isDictionaryBatch()){this._dictionaryIndex++;const n=e.header(),r=yield t.readMessageBody(e.bodyLength),o=this._loadDictionaryBatch(n,r);this.dictionaries.set(n.id,o)}}return this.schema&&0===this._recordBatchIndex?(this._recordBatchIndex++,{done:!1,value:new lo(this.schema)}):yield this.return()}))}_readNextMessageAndValidate(e){return(0,f.mG)(this,void 0,void 0,(function*(){return yield this._reader.readMessage(e)}))}}class ya extends ga{get footer(){return this._footer}get numDictionaries(){return this._footer?this._footer.numDictionaries:0}get numRecordBatches(){return this._footer?this._footer.numRecordBatches:0}constructor(e,t){super(e instanceof $o?e:new $o(e),t)}isSync(){return!0}isFile(){return!0}open(e){if(!this.closed&&!this._footer){this.schema=(this._footer=this._readFooter()).schema;for(const e of this._footer.dictionaryBatches())e&&this._readDictionaryBatch(this._dictionaryIndex++)}return super.open(e)}readRecordBatch(e){var t;if(this.closed)return null;this._footer||this.open();const n=null===(t=this._footer)||void 0===t?void 0:t.getRecordBatch(e);if(n&&this._handle.seek(n.offset)){const e=this._reader.readMessage(oo.RecordBatch);if(null===e||void 0===e?void 0:e.isRecordBatch()){const t=e.header(),n=this._reader.readMessageBody(e.bodyLength);return this._loadRecordBatch(t,n)}}return null}_readDictionaryBatch(e){var t;const n=null===(t=this._footer)||void 0===t?void 0:t.getDictionaryBatch(e);if(n&&this._handle.seek(n.offset)){const e=this._reader.readMessage(oo.DictionaryBatch);if(null===e||void 0===e?void 0:e.isDictionaryBatch()){const t=e.header(),n=this._reader.readMessageBody(e.bodyLength),r=this._loadDictionaryBatch(t,n);this.dictionaries.set(t.id,r)}}}_readFooter(){const{_handle:e}=this,t=e.size-ca,n=e.readInt32(t),r=e.readAt(t-n,n);return Ro.decode(r)}_readNextMessageAndValidate(e){var t;if(this._footer||this.open(),this._footer&&this._recordBatchIndex1?t-1:0),r=1;rsuper.open}});return(0,f.mG)(this,void 0,void 0,(function*(){if(!this.closed&&!this._footer){this.schema=(this._footer=yield this._readFooter()).schema;for(const e of this._footer.dictionaryBatches())e&&(yield this._readDictionaryBatch(this._dictionaryIndex++))}return yield t.open.call(this,e)}))}readRecordBatch(e){return(0,f.mG)(this,void 0,void 0,(function*(){var t;if(this.closed)return null;this._footer||(yield this.open());const n=null===(t=this._footer)||void 0===t?void 0:t.getRecordBatch(e);if(n&&(yield this._handle.seek(n.offset))){const e=yield this._reader.readMessage(oo.RecordBatch);if(null===e||void 0===e?void 0:e.isRecordBatch()){const t=e.header(),n=yield this._reader.readMessageBody(e.bodyLength);return this._loadRecordBatch(t,n)}}return null}))}_readDictionaryBatch(e){return(0,f.mG)(this,void 0,void 0,(function*(){var t;const n=null===(t=this._footer)||void 0===t?void 0:t.getDictionaryBatch(e);if(n&&(yield this._handle.seek(n.offset))){const e=yield this._reader.readMessage(oo.DictionaryBatch);if(null===e||void 0===e?void 0:e.isDictionaryBatch()){const t=e.header(),n=yield this._reader.readMessageBody(e.bodyLength),r=this._loadDictionaryBatch(t,n);this.dictionaries.set(t.id,r)}}}))}_readFooter(){return(0,f.mG)(this,void 0,void 0,(function*(){const{_handle:e}=this;e._pending&&(yield e._pending);const t=e.size-ca,n=yield e.readInt32(t),r=yield e.readAt(t-n,n);return Ro.decode(r)}))}_readNextMessageAndValidate(e){return(0,f.mG)(this,void 0,void 0,(function*(){if(this._footer||(yield this.open()),this._footer&&this._recordBatchIndexSa(e))):t.isAsync()?t.readAll().then((e=>new po(e))):new po(t.readAll())}const xa=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},i),p),l),a),o),s),r),{compareSchemas:to,compareFields:function(e,t){return eo.compareFields(e,t)},compareTypes:function(e,t){return eo.visit(e,t)}});var Ea=n(88563),ka=n(54932),qa=n.n(ka),Ta=n(2962),_a=n.n(Ta),Ra=n(10275),Ca=n.n(Ra),Na=n(18930),Ia=n.n(Na),Wa=n(97408),Pa=n.n(Wa),La=n(27801),ja=n.n(La),Da=n(98170),Ba=n(1561);let Fa;setTimeout((()=>n.e(6589).then(n.bind(n,46589)).then((e=>{Fa=e.readParquet}))));const Va=["SUN","MON","TUE","WED","THU","FRI","SAT"],Ua=e=>Pa()("19700101","YYYYMMDD").add(e,"ms").format("YYYY-MM-DD HH:mm:ss.SSS"),Ha=e=>Pa()("19700101","YYYYMMDD").add(e,"s").format("YYYY-MM-DD HH:mm:ss"),Xa=e=>Pa()("19700101","YYYYMMDD").add(e,"m").format("YYYY-MM-DD HH:mm"),Ga=e=>Pa()("19700101","YYYYMMDD").add(e,"h").format("YYYY-MM-DD HH:mm"),$a=e=>Pa()("19700101","YYYYMMDD").add(e,"y").format("YYYY"),Ka={L:Ua,ms:Ua,S:Ha,s:Ha,T:Xa,min:Xa,H:Ga,h:Ga,D:e=>Pa()("19700101","YYYYMMDD").add(e,"d").format("YYYY-MM-DD"),M:e=>Pa()("19700101","YYYYMMDD").add(e,"M").format("YYYY-MM"),W:(e,t)=>{if(!t)throw new Error('Frequency "W" requires parameter');const n=Va.indexOf(t);if(n<0)throw new Error(`Invalid value: ${t}. Supported values: ${JSON.stringify(Va)}`);return`${Pa()("19700101","YYYYMMDD").add(e,"w").day(n-6).format("YYYY-MM-DD")}/${Pa()("19700101","YYYYMMDD").add(e,"w").day(n).format("YYYY-MM-DD")}`},Q:e=>Pa()("19700101","YYYYMMDD").add(e,"Q").endOf("quarter").format("YYYY[Q]Q"),Y:$a,A:$a};let Ya=function(e){return e.CategoricalIndex="categorical",e.DatetimeIndex="datetime",e.Float64Index="float64",e.Int64Index="int64",e.RangeIndex="range",e.UInt64Index="uint64",e.UnicodeIndex="unicode",e.TimedeltaIndex="time",e}({}),Za=function(e){return e.BLANK="blank",e.INDEX="index",e.COLUMNS="columns",e.DATA="data",e}({});class Ja{constructor(e){this[Ea.sc]=!0,this._index=void 0,this._columns=void 0,this._indexNames=void 0,this._data=void 0,this._fields=void 0,this._types=void 0,this._styler=void 0;const t=Sa(e.data?Fa(e.data):e.data),n=Ja.parseSchema(t),r=Ja.getRawColumns(n),o=Ja.parseFields(t.schema),i=Ja.parseIndex(t,n),a=Ja.parseColumns(n),s=Ja.parseIndexNames(n),l=Ja.parseData(t,a,r),c=Ja.parseTypes(t,n),u=e.styler?Ja.parseStyler(e.styler):void 0;this._index=i,this._columns=a,this._data=l,this._types=c,this._fields=o,this._styler=u,this._indexNames=s}static parseSchema(e){const t=e.schema.metadata.get("pandas");if((0,Da.le)(t))throw new Error("Table schema is missing.");return JSON.parse(t)}static getRawColumns(e){return e.columns.map((e=>e.field_name)).filter((t=>!e.index_columns.includes(t)))}static parseIndex(e,t){return t.index_columns.map((t=>{if(Ja.isRangeIndex(t)){const{start:e,stop:n,step:r}=t;return qa()(e,n,r)}const n=e.getChild(t);return n instanceof Rr&&n.type instanceof at?null:n})).filter((e=>null!==e))}static parseIndexNames(e){return e.index_columns.map((e=>{if(Ja.isRangeIndex(e)){const{name:t}=e;return t||""}return e.startsWith("__index_level_")?"":e}))}static parseColumns(e){const t=e.column_indexes.length>1;return _a()(e.columns.map((e=>e.field_name)).filter((t=>!e.index_columns.includes(t))).map((e=>t?JSON.parse(e.replace(/\(/g,"[").replace(/\)/g,"]").replace(/'/g,'"')):[e])))}static parseData(e,t,n){const r=e.numRows,o=t.length>0?t[0].length:0;return 0===r||0===o?e.select([]):e.select(n)}static parseTypes(e,t){return{index:Ja.parseIndexType(t),data:Ja.parseDataType(e,t)}}static parseIndexType(e){return e.index_columns.map((t=>{if(Ja.isRangeIndex(t))return{pandas_type:Ya.RangeIndex,numpy_type:Ya.RangeIndex,meta:t};const n=e.columns.find((e=>e.field_name===t));if(!n)throw new Error(`${t} index not found.`);return{pandas_type:n.pandas_type,numpy_type:n.numpy_type,meta:n.metadata}}))}getCategoricalOptions(e){var t,n;const{dataColumns:r}=this.dimensions;if(e<0||e>=r)throw new Error(`Column index is out of range: ${e}`);if(!(this._fields[String(e)].type instanceof qt))return;const o=null===(t=this._data.getChildAt(e))||void 0===t||null===(n=t.data[0])||void 0===n?void 0:n.dictionary;if(o){const e=[];for(let t=0;t!t.index_columns.includes(e.field_name))).map((e=>({pandas_type:e.pandas_type,numpy_type:e.numpy_type,meta:e.metadata})))}static parseStyler(e){return{uuid:e.uuid,caption:e.caption,styles:e.styles,displayValues:new Ja({data:e.displayValues})}}concatIndexes(e,t){if(0===e.length)return this._index;if(0===this._index.length)return e;if(!Ja.sameIndexTypes(this._types.index,t)){const e=t.map((e=>Ja.getTypeName(e))),n=this._types.index.map((e=>Ja.getTypeName(e)));throw new Error(`\nUnsupported operation. The data passed into \`add_rows()\` must have the same\nindex signature as the original data.\n\nIn this case, \`add_rows()\` received \`${JSON.stringify(e)}\`\nbut was expecting \`${JSON.stringify(n)}\`.\n`)}if(0===this._types.index.length)throw new Error("There was an error while parsing index types.");if(this._types.index[0].pandas_type===Ya.RangeIndex){const{step:t,stop:n}=this._types.index[0].meta;e=[qa()(n,n+e[0].length*t,t)]}return Ca()(this._index,e).map((e=>e[0].concat(e[1])))}static sameIndexTypes(e,t){return e.length===t.length&&e.every(((e,n)=>ne.pandas_type)),n=this._types.data.map((e=>e.pandas_type));throw new Error(`\nUnsupported operation. The data passed into \`add_rows()\` must have the same\ndata signature as the original data.\n\nIn this case, \`add_rows()\` received \`${JSON.stringify(e)}\`\nbut was expecting \`${JSON.stringify(n)}\`.\n`)}const n=e.selectAt(qa()(0,this._data.numCols));return this._data.concat(n)}static sameDataTypes(e,t){return e.every(((e,n)=>{var r;return e.pandas_type===(null===(r=t[n])||void 0===r?void 0:r.pandas_type)}))}concatTypes(e){return{index:this.concatIndexTypes(e.index),data:this.concatDataTypes(e.data)}}concatIndexTypes(e){if(0===e.length)return this._types.index;if(0===this._types.index.length)return e;if(!Ja.sameIndexTypes(this._types.index,e)){const t=e.map((e=>Ja.getTypeName(e))),n=this._types.index.map((e=>Ja.getTypeName(e)));throw new Error(`\nUnsupported operation. The data passed into \`add_rows()\` must have the same\nindex signature as the original data.\n\nIn this case, \`add_rows()\` received \`${JSON.stringify(t)}\`\nbut was expecting \`${JSON.stringify(n)}\`.\n`)}return this._types.index.map((t=>{if(t.pandas_type===Ya.RangeIndex){const{stop:n,step:r}=t.meta,{start:o,stop:i,step:a}=e[0].meta,s=n+(i-o)/a*r;return{...t,meta:{...t.meta,stop:s}}}return t}))}concatDataTypes(e){return 0===this._types.data.length?e:this._types.data}static isRangeIndex(e){return"object"===typeof e&&"range"===e.kind}static formatIntervalType(e,t){const n=t.match(/interval\[(.+), (both|left|right|neither)\]/);if(null===n)throw new Error(`Invalid interval type: ${t}`);const[,r,o]=n;return this.formatInterval(e,r,o)}static formatInterval(e,t,n){const r=e.toJSON(),o="both"===n||"right"===n?"]":")";return`${("both"===n||"left"===n?"[":"(")+Ja.format(r.left,{pandas_type:t,numpy_type:t})}, ${Ja.format(r.right,{pandas_type:t,numpy_type:t})+o}`}static convertToSeconds(e,t){let n;if(1===t)n=1e3;else if(2===t)n=1e6;else{if(3!==t)return Number(e);n=1e9}return"bigint"!==typeof e||Number.isSafeInteger(Number(e))?Number(e)/n:Number(e/BigInt(n))}static formatTime(e,t){var n,r;const o=Ja.convertToSeconds(e,null!==(n=null===t||void 0===t||null===(r=t.type)||void 0===r?void 0:r.unit)&&void 0!==n?n:0);return Pa().unix(o).utc().format(o%1===0?"HH:mm:ss":"HH:mm:ss.SSS")}static formatDuration(e,t){var n,r;return Pa().duration(Ja.convertToSeconds(e,null!==(n=null===t||void 0===t||null===(r=t.type)||void 0===r?void 0:r.unit)&&void 0!==n?n:3),"seconds").humanize()}static formatDecimal(e,t){let n=xa.bigNumToString(new xa.BN(e)).padStart(t,"0");if(0===t)return n;let r="";n.startsWith("-")&&(r="-",n=n.slice(1));const o=n.slice(0,-t)||"0",i=Ia()(n.slice(-t),"0")||"";return`${r}${o}`+(i?`.${i}`:"")}static formatPeriodType(e,t){const n=t.match(/period\[(.*)]/);if(null===n)return(0,Ba.KE)(`Invalid period type: ${t}`),String(e);const[,r]=n;return this.formatPeriod(e,r)}static formatPeriod(e,t){const[n,r]=t.split("-",2),o=Ka[n];if(!o)return(0,Ba.KE)(`Unsupported period frequency: ${t}`),String(e);const i=Number(e);return Number.isSafeInteger(i)?o(i,r):((0,Ba.KE)(`Unsupported value: ${e}. Supported values: [${Number.MIN_SAFE_INTEGER}-${Number.MAX_SAFE_INTEGER}]`),String(e))}static formatCategoricalType(e,t){const n=t.metadata.get("ARROW:extension:name");if(n){const r=JSON.parse(t.metadata.get("ARROW:extension:metadata"));if("pandas.interval"===n){const{subtype:t,closed:n}=r;return Ja.formatInterval(e,t,n)}if("pandas.Period"===n){const{freq:t}=r;return Ja.formatPeriod(e,t)}}return String(e)}static getTypeName(e){return("object"===e.pandas_type?e.numpy_type:e.pandas_type).toLowerCase().trim()}static format(e,t,n){const r=t&&Ja.getTypeName(t);if((0,Da.le)(e))return"";const o=e instanceof Date||Number.isFinite(e);if(o&&"date"===r)return Pa().utc(e).format("YYYY-MM-DD");if("bigint"===typeof e&&"time"===r)return Ja.formatTime(Number(e),n);if(o&&"datetimetz"===r){const n=null===t||void 0===t?void 0:t.meta;let r=Pa()(e);return null!==n&&void 0!==n&&n.timezone&&(r=Pa().tz.zone(null===n||void 0===n?void 0:n.timezone)?r.tz(null===n||void 0===n?void 0:n.timezone):r.utcOffset(null===n||void 0===n?void 0:n.timezone)),r.format("YYYY-MM-DD HH:mm:ssZ")}return o&&null!==r&&void 0!==r&&r.startsWith("datetime")?Pa().utc(e).format("YYYY-MM-DD HH:mm:ss"):null!==r&&void 0!==r&&r.startsWith("interval")?Ja.formatIntervalType(e,r):null!==r&&void 0!==r&&r.startsWith("period")?Ja.formatPeriodType(e,r):"categorical"===r?this.formatCategoricalType(e,n):null!==r&&void 0!==r&&r.startsWith("timedelta")?this.formatDuration(e,n):"decimal"===r?this.formatDecimal(e,(null===n||void 0===n||null===(i=n.type)||void 0===i?void 0:i.scale)||0):"object"===r||null!==r&&void 0!==r&&r.startsWith("list")?(null===n||void 0===n?void 0:n.type)instanceof At?JSON.stringify(e,((e,t)=>{if((0,Da.bb)(t))return"bigint"===typeof t?Number(t):t})):JSON.stringify(e,((e,t)=>"bigint"===typeof t?Number(t):t)):"float64"===r&&Number.isFinite(e)?ja()(e).format("0,0.0000"):String(e);var i}get index(){return this._index}get indexNames(){return this._indexNames}get columns(){return this._columns}get data(){return this._data}get types(){return this._types}get cssId(){if(!(0,Da.le)(this._styler)&&!(0,Da.le)(this._styler.uuid))return`T_${this._styler.uuid}`}get cssStyles(){var e;return(null===(e=this._styler)||void 0===e?void 0:e.styles)||void 0}get caption(){var e;return(null===(e=this._styler)||void 0===e?void 0:e.caption)||void 0}get dimensions(){var e,t;const n=this._index.length||this.types.index.length||1,r=this._columns.length||1,o=this._data.numRows||0,i=this._data.numCols||(null===(e=this._columns)||void 0===e||null===(t=e[0])||void 0===t?void 0:t.length)||0;return{headerRows:r,headerColumns:n,dataRows:o,dataColumns:i,rows:r+o,columns:n+i}}isEmpty(){return 0===this._index.length&&0===this._columns.length&&0===this._data.numRows&&0===this._data.numCols}getCell(e,t){var n,r;const{headerRows:o,headerColumns:i,rows:a,columns:s}=this.dimensions;if(e<0||e>=a)throw new Error(`Row index is out of range: ${e}`);if(t<0||t>=s)throw new Error(`Column index is out of range: ${t}`);const l=e>=o&&t=i;if(e0&&n.push(`level${e}`),{type:Za.BLANK,cssClass:n.join(" "),content:""}}if(l){var u;const n=e-o,r=null!==(u=this._styler)&&void 0!==u&&u.uuid?`${this.cssId}level${t}_row${n}`:void 0,a=["row_heading",`level${t}`,`row${n}`].join(" "),l=this._types.index[t],c=this.getIndexValue(n,t);let p=this._fields[`__index_level_${String(t)}__`];return void 0===p&&(p=this._fields[String(s-i)]),{type:Za.INDEX,cssId:r,cssClass:a,content:c,contentType:l,field:p}}if(c){const n=t-i,r=["col_heading",`level${e}`,`col${n}`].join(" ");return{type:Za.COLUMNS,cssClass:r,content:this._columns[e][n],contentType:{pandas_type:Ya.UnicodeIndex,numpy_type:"object"}}}const p=e-o,d=t-i,b=null!==(n=this._styler)&&void 0!==n&&n.uuid?`${this.cssId}row${p}_col${d}`:void 0,f=["data",`row${p}`,`col${d}`].join(" "),h=this._types.data[d],m=this._fields[String(d)],g=this.getDataValue(p,d),O=null!==(r=this._styler)&&void 0!==r&&r.displayValues?this._styler.displayValues.getCell(e,t).content:void 0;return{type:Za.DATA,cssId:b,cssClass:f,content:g,contentType:h,displayContent:O,field:m}}getIndexValue(e,t){const n=this._index[t];return n instanceof Rr?n.get(e):n[e]}getDataValue(e,t){var n;return null===(n=this._data.getChildAt(t))||void 0===n?void 0:n.get(e)}addRows(e){if(this._styler||e._styler)throw new Error("\nUnsupported operation. `add_rows()` does not support Pandas Styler objects.\n\nIf you do not need the Styler's styles, try passing the `.data` attribute of\nthe Styler object instead to concatenate just the underlying dataframe.\n\nFor example:\n```\nst.add_rows(my_styler.data)\n```\n");if(e.isEmpty())return(0,Ea.Uy)(this,(e=>e));if(this.isEmpty())return(0,Ea.Uy)(e,(e=>e));const t=this.concatIndexes(e._index,e._types.index),n=this.concatData(e._data,e._types.data),r=this.concatTypes(e._types);return(0,Ea.Uy)(this,(e=>{e._index=t,e._data=n,e._types=r}))}static parseFields(e){return Object.fromEntries((e.fields||[]).map(((e,t)=>[e.name.startsWith("__index_level_")?e.name:String(t),e])))}}},91439:(e,t,n)=>{"use strict";n.d(t,{AG:()=>N,BN:()=>w,De:()=>T,Eh:()=>c,Fp:()=>f,KR:()=>B,MA:()=>_,Od:()=>W,PW:()=>g,Pz:()=>C,UG:()=>E,W_:()=>A,XZ:()=>b,Y2:()=>R,Zh:()=>m,_b:()=>u,bZ:()=>l,eI:()=>v,ef:()=>S,gO:()=>p,hE:()=>d,hP:()=>I,hz:()=>M,iE:()=>D,iR:()=>P,jM:()=>O,jb:()=>k,kM:()=>x,nk:()=>j,oJ:()=>z,oi:()=>L,qj:()=>h,uh:()=>q,xO:()=>y});var r=n(49378);const o=r.Reader,i=r.Writer,a=r.util,s=r.roots.default||(r.roots.default={}),l=s.Alert=(()=>{function e(e){if(e)for(let t=Object.keys(e),n=0;n>>3){case 1:r.body=e.string();break;case 2:r.format=e.int32();break;case 3:r.icon=e.string();break;default:e.skipType(7&t)}}return r},e.decodeDelimited=function(e){return e instanceof o||(e=new o(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.body&&e.hasOwnProperty("body")&&!a.isString(e.body))return"body: string expected";if(null!=e.format&&e.hasOwnProperty("format"))switch(e.format){default:return"format: enum value expected";case 0:case 1:case 2:case 3:case 4:}return null!=e.icon&&e.hasOwnProperty("icon")&&!a.isString(e.icon)?"icon: string expected":null},e.fromObject=function(e){if(e instanceof s.Alert)return e;let t=new s.Alert;switch(null!=e.body&&(t.body=String(e.body)),e.format){default:if("number"===typeof e.format){t.format=e.format;break}break;case"UNUSED":case 0:t.format=0;break;case"ERROR":case 1:t.format=1;break;case"WARNING":case 2:t.format=2;break;case"INFO":case 3:t.format=3;break;case"SUCCESS":case 4:t.format=4}return null!=e.icon&&(t.icon=String(e.icon)),t},e.toObject=function(e,t){t||(t={});let n={};return t.defaults&&(n.body="",n.format=t.enums===String?"UNUSED":0,n.icon=""),null!=e.body&&e.hasOwnProperty("body")&&(n.body=e.body),null!=e.format&&e.hasOwnProperty("format")&&(n.format=t.enums===String?void 0===s.Alert.Format[e.format]?e.format:s.Alert.Format[e.format]:e.format),null!=e.icon&&e.hasOwnProperty("icon")&&(n.icon=e.icon),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/Alert"},e.Format=function(){const e={},t=Object.create(e);return t[e[0]="UNUSED"]=0,t[e[1]="ERROR"]=1,t[e[2]="WARNING"]=2,t[e[3]="INFO"]=3,t[e[4]="SUCCESS"]=4,t}(),e})(),c=(s.AppPage=(()=>{function e(e){if(e)for(let t=Object.keys(e),n=0;n>>3){case 1:r.pageScriptHash=e.string();break;case 2:r.pageName=e.string();break;case 3:r.icon=e.string();break;case 4:r.isDefault=e.bool();break;case 5:r.sectionHeader=e.string();break;case 6:r.urlPathname=e.string();break;default:e.skipType(7&t)}}return r},e.decodeDelimited=function(e){return e instanceof o||(e=new o(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null!=e.pageScriptHash&&e.hasOwnProperty("pageScriptHash")&&!a.isString(e.pageScriptHash)?"pageScriptHash: string expected":null!=e.pageName&&e.hasOwnProperty("pageName")&&!a.isString(e.pageName)?"pageName: string expected":null!=e.icon&&e.hasOwnProperty("icon")&&!a.isString(e.icon)?"icon: string expected":null!=e.isDefault&&e.hasOwnProperty("isDefault")&&"boolean"!==typeof e.isDefault?"isDefault: boolean expected":null!=e.sectionHeader&&e.hasOwnProperty("sectionHeader")&&!a.isString(e.sectionHeader)?"sectionHeader: string expected":null!=e.urlPathname&&e.hasOwnProperty("urlPathname")&&!a.isString(e.urlPathname)?"urlPathname: string expected":null},e.fromObject=function(e){if(e instanceof s.AppPage)return e;let t=new s.AppPage;return null!=e.pageScriptHash&&(t.pageScriptHash=String(e.pageScriptHash)),null!=e.pageName&&(t.pageName=String(e.pageName)),null!=e.icon&&(t.icon=String(e.icon)),null!=e.isDefault&&(t.isDefault=Boolean(e.isDefault)),null!=e.sectionHeader&&(t.sectionHeader=String(e.sectionHeader)),null!=e.urlPathname&&(t.urlPathname=String(e.urlPathname)),t},e.toObject=function(e,t){t||(t={});let n={};return t.defaults&&(n.pageScriptHash="",n.pageName="",n.icon="",n.isDefault=!1,n.sectionHeader="",n.urlPathname=""),null!=e.pageScriptHash&&e.hasOwnProperty("pageScriptHash")&&(n.pageScriptHash=e.pageScriptHash),null!=e.pageName&&e.hasOwnProperty("pageName")&&(n.pageName=e.pageName),null!=e.icon&&e.hasOwnProperty("icon")&&(n.icon=e.icon),null!=e.isDefault&&e.hasOwnProperty("isDefault")&&(n.isDefault=e.isDefault),null!=e.sectionHeader&&e.hasOwnProperty("sectionHeader")&&(n.sectionHeader=e.sectionHeader),null!=e.urlPathname&&e.hasOwnProperty("urlPathname")&&(n.urlPathname=e.urlPathname),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/AppPage"},e})(),s.Arrow=(()=>{function e(e){if(this.columnOrder=[],this.selectionMode=[],e)for(let t=Object.keys(e),n=0;n>>3){case 1:r.data=e.bytes();break;case 2:r.styler=s.Styler.decode(e,e.uint32());break;case 3:r.width=e.uint32();break;case 4:r.height=e.uint32();break;case 5:r.useContainerWidth=e.bool();break;case 6:r.id=e.string();break;case 7:r.columns=e.string();break;case 8:r.editingMode=e.int32();break;case 9:r.disabled=e.bool();break;case 10:r.formId=e.string();break;case 11:r.columnOrder&&r.columnOrder.length||(r.columnOrder=[]),r.columnOrder.push(e.string());break;case 12:if(r.selectionMode&&r.selectionMode.length||(r.selectionMode=[]),2===(7&t)){let t=e.uint32()+e.pos;for(;e.pos=0&&(t.data=e.data)),null!=e.styler){if("object"!==typeof e.styler)throw TypeError(".Arrow.styler: object expected");t.styler=s.Styler.fromObject(e.styler)}switch(null!=e.width&&(t.width=e.width>>>0),null!=e.height&&(t.height=e.height>>>0),null!=e.useContainerWidth&&(t.useContainerWidth=Boolean(e.useContainerWidth)),null!=e.id&&(t.id=String(e.id)),null!=e.columns&&(t.columns=String(e.columns)),e.editingMode){default:if("number"===typeof e.editingMode){t.editingMode=e.editingMode;break}break;case"READ_ONLY":case 0:t.editingMode=0;break;case"FIXED":case 1:t.editingMode=1;break;case"DYNAMIC":case 2:t.editingMode=2}if(null!=e.disabled&&(t.disabled=Boolean(e.disabled)),null!=e.formId&&(t.formId=String(e.formId)),e.columnOrder){if(!Array.isArray(e.columnOrder))throw TypeError(".Arrow.columnOrder: array expected");t.columnOrder=[];for(let n=0;n{function e(e){if(e)for(let t=Object.keys(e),n=0;n>>3){case 1:r.uuid=e.string();break;case 2:r.caption=e.string();break;case 3:r.styles=e.string();break;case 4:r.displayValues=e.bytes();break;default:e.skipType(7&t)}}return r},e.decodeDelimited=function(e){return e instanceof o||(e=new o(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null!=e.uuid&&e.hasOwnProperty("uuid")&&!a.isString(e.uuid)?"uuid: string expected":null!=e.caption&&e.hasOwnProperty("caption")&&!a.isString(e.caption)?"caption: string expected":null!=e.styles&&e.hasOwnProperty("styles")&&!a.isString(e.styles)?"styles: string expected":null!=e.displayValues&&e.hasOwnProperty("displayValues")&&!(e.displayValues&&"number"===typeof e.displayValues.length||a.isString(e.displayValues))?"displayValues: buffer expected":null},e.fromObject=function(e){if(e instanceof s.Styler)return e;let t=new s.Styler;return null!=e.uuid&&(t.uuid=String(e.uuid)),null!=e.caption&&(t.caption=String(e.caption)),null!=e.styles&&(t.styles=String(e.styles)),null!=e.displayValues&&("string"===typeof e.displayValues?a.base64.decode(e.displayValues,t.displayValues=a.newBuffer(a.base64.length(e.displayValues)),0):e.displayValues.length>=0&&(t.displayValues=e.displayValues)),t},e.toObject=function(e,t){t||(t={});let n={};return t.defaults&&(n.uuid="",n.caption="",n.styles="",t.bytes===String?n.displayValues="":(n.displayValues=[],t.bytes!==Array&&(n.displayValues=a.newBuffer(n.displayValues)))),null!=e.uuid&&e.hasOwnProperty("uuid")&&(n.uuid=e.uuid),null!=e.caption&&e.hasOwnProperty("caption")&&(n.caption=e.caption),null!=e.styles&&e.hasOwnProperty("styles")&&(n.styles=e.styles),null!=e.displayValues&&e.hasOwnProperty("displayValues")&&(n.displayValues=t.bytes===String?a.base64.encode(e.displayValues,0,e.displayValues.length):t.bytes===Array?Array.prototype.slice.call(e.displayValues):e.displayValues),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/Styler"},e})(),s.ArrowNamedDataSet=(()=>{function e(e){if(e)for(let t=Object.keys(e),n=0;n>>3){case 1:r.name=e.string();break;case 3:r.hasName=e.bool();break;case 2:r.data=s.Arrow.decode(e,e.uint32());break;default:e.skipType(7&t)}}return r},e.decodeDelimited=function(e){return e instanceof o||(e=new o(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.name&&e.hasOwnProperty("name")&&!a.isString(e.name))return"name: string expected";if(null!=e.hasName&&e.hasOwnProperty("hasName")&&"boolean"!==typeof e.hasName)return"hasName: boolean expected";if(null!=e.data&&e.hasOwnProperty("data")){let t=s.Arrow.verify(e.data);if(t)return"data."+t}return null},e.fromObject=function(e){if(e instanceof s.ArrowNamedDataSet)return e;let t=new s.ArrowNamedDataSet;if(null!=e.name&&(t.name=String(e.name)),null!=e.hasName&&(t.hasName=Boolean(e.hasName)),null!=e.data){if("object"!==typeof e.data)throw TypeError(".ArrowNamedDataSet.data: object expected");t.data=s.Arrow.fromObject(e.data)}return t},e.toObject=function(e,t){t||(t={});let n={};return t.defaults&&(n.name="",n.data=null,n.hasName=!1),null!=e.name&&e.hasOwnProperty("name")&&(n.name=e.name),null!=e.data&&e.hasOwnProperty("data")&&(n.data=s.Arrow.toObject(e.data,t)),null!=e.hasName&&e.hasOwnProperty("hasName")&&(n.hasName=e.hasName),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/ArrowNamedDataSet"},e})(),s.ArrowVegaLiteChart=(()=>{function e(e){if(this.datasets=[],this.selectionMode=[],e)for(let t=Object.keys(e),n=0;n>>3){case 1:r.spec=e.string();break;case 2:r.data=s.Arrow.decode(e,e.uint32());break;case 4:r.datasets&&r.datasets.length||(r.datasets=[]),r.datasets.push(s.ArrowNamedDataSet.decode(e,e.uint32()));break;case 5:r.useContainerWidth=e.bool();break;case 6:r.theme=e.string();break;case 7:r.id=e.string();break;case 8:r.selectionMode&&r.selectionMode.length||(r.selectionMode=[]),r.selectionMode.push(e.string());break;case 9:r.formId=e.string();break;default:e.skipType(7&t)}}return r},e.decodeDelimited=function(e){return e instanceof o||(e=new o(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.spec&&e.hasOwnProperty("spec")&&!a.isString(e.spec))return"spec: string expected";if(null!=e.data&&e.hasOwnProperty("data")){let t=s.Arrow.verify(e.data);if(t)return"data."+t}if(null!=e.datasets&&e.hasOwnProperty("datasets")){if(!Array.isArray(e.datasets))return"datasets: array expected";for(let t=0;t{function e(e){if(e)for(let t=Object.keys(e),n=0;n>>3){case 5:r.url=e.string();break;case 3:r.startTime=e.int32();break;case 6:r.endTime=e.int32();break;case 7:r.loop=e.bool();break;case 8:r.autoplay=e.bool();break;case 9:r.id=e.string();break;default:e.skipType(7&t)}}return r},e.decodeDelimited=function(e){return e instanceof o||(e=new o(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null!=e.url&&e.hasOwnProperty("url")&&!a.isString(e.url)?"url: string expected":null!=e.startTime&&e.hasOwnProperty("startTime")&&!a.isInteger(e.startTime)?"startTime: integer expected":null!=e.endTime&&e.hasOwnProperty("endTime")&&!a.isInteger(e.endTime)?"endTime: integer expected":null!=e.loop&&e.hasOwnProperty("loop")&&"boolean"!==typeof e.loop?"loop: boolean expected":null!=e.autoplay&&e.hasOwnProperty("autoplay")&&"boolean"!==typeof e.autoplay?"autoplay: boolean expected":null!=e.id&&e.hasOwnProperty("id")&&!a.isString(e.id)?"id: string expected":null},e.fromObject=function(e){if(e instanceof s.Audio)return e;let t=new s.Audio;return null!=e.url&&(t.url=String(e.url)),null!=e.startTime&&(t.startTime=0|e.startTime),null!=e.endTime&&(t.endTime=0|e.endTime),null!=e.loop&&(t.loop=Boolean(e.loop)),null!=e.autoplay&&(t.autoplay=Boolean(e.autoplay)),null!=e.id&&(t.id=String(e.id)),t},e.toObject=function(e,t){t||(t={});let n={};return t.defaults&&(n.startTime=0,n.url="",n.endTime=0,n.loop=!1,n.autoplay=!1,n.id=""),null!=e.startTime&&e.hasOwnProperty("startTime")&&(n.startTime=e.startTime),null!=e.url&&e.hasOwnProperty("url")&&(n.url=e.url),null!=e.endTime&&e.hasOwnProperty("endTime")&&(n.endTime=e.endTime),null!=e.loop&&e.hasOwnProperty("loop")&&(n.loop=e.loop),null!=e.autoplay&&e.hasOwnProperty("autoplay")&&(n.autoplay=e.autoplay),null!=e.id&&e.hasOwnProperty("id")&&(n.id=e.id),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/Audio"},e})(),s.AudioInput=(()=>{function e(e){if(e)for(let t=Object.keys(e),n=0;n>>3){case 1:r.id=e.string();break;case 2:r.label=e.string();break;case 3:r.help=e.string();break;case 4:r.formId=e.string();break;case 5:r.disabled=e.bool();break;case 6:r.labelVisibility=s.LabelVisibilityMessage.decode(e,e.uint32());break;default:e.skipType(7&t)}}return r},e.decodeDelimited=function(e){return e instanceof o||(e=new o(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.id&&e.hasOwnProperty("id")&&!a.isString(e.id))return"id: string expected";if(null!=e.label&&e.hasOwnProperty("label")&&!a.isString(e.label))return"label: string expected";if(null!=e.help&&e.hasOwnProperty("help")&&!a.isString(e.help))return"help: string expected";if(null!=e.formId&&e.hasOwnProperty("formId")&&!a.isString(e.formId))return"formId: string expected";if(null!=e.disabled&&e.hasOwnProperty("disabled")&&"boolean"!==typeof e.disabled)return"disabled: boolean expected";if(null!=e.labelVisibility&&e.hasOwnProperty("labelVisibility")){let t=s.LabelVisibilityMessage.verify(e.labelVisibility);if(t)return"labelVisibility."+t}return null},e.fromObject=function(e){if(e instanceof s.AudioInput)return e;let t=new s.AudioInput;if(null!=e.id&&(t.id=String(e.id)),null!=e.label&&(t.label=String(e.label)),null!=e.help&&(t.help=String(e.help)),null!=e.formId&&(t.formId=String(e.formId)),null!=e.disabled&&(t.disabled=Boolean(e.disabled)),null!=e.labelVisibility){if("object"!==typeof e.labelVisibility)throw TypeError(".AudioInput.labelVisibility: object expected");t.labelVisibility=s.LabelVisibilityMessage.fromObject(e.labelVisibility)}return t},e.toObject=function(e,t){t||(t={});let n={};return t.defaults&&(n.id="",n.label="",n.help="",n.formId="",n.disabled=!1,n.labelVisibility=null),null!=e.id&&e.hasOwnProperty("id")&&(n.id=e.id),null!=e.label&&e.hasOwnProperty("label")&&(n.label=e.label),null!=e.help&&e.hasOwnProperty("help")&&(n.help=e.help),null!=e.formId&&e.hasOwnProperty("formId")&&(n.formId=e.formId),null!=e.disabled&&e.hasOwnProperty("disabled")&&(n.disabled=e.disabled),null!=e.labelVisibility&&e.hasOwnProperty("labelVisibility")&&(n.labelVisibility=s.LabelVisibilityMessage.toObject(e.labelVisibility,t)),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/AudioInput"},e})(),s.AutoRerun=(()=>{function e(e){if(e)for(let t=Object.keys(e),n=0;n>>3){case 1:r.interval=e.float();break;case 2:r.fragmentId=e.string();break;default:e.skipType(7&t)}}return r},e.decodeDelimited=function(e){return e instanceof o||(e=new o(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null!=e.interval&&e.hasOwnProperty("interval")&&"number"!==typeof e.interval?"interval: number expected":null!=e.fragmentId&&e.hasOwnProperty("fragmentId")&&!a.isString(e.fragmentId)?"fragmentId: string expected":null},e.fromObject=function(e){if(e instanceof s.AutoRerun)return e;let t=new s.AutoRerun;return null!=e.interval&&(t.interval=Number(e.interval)),null!=e.fragmentId&&(t.fragmentId=String(e.fragmentId)),t},e.toObject=function(e,t){t||(t={});let n={};return t.defaults&&(n.interval=0,n.fragmentId=""),null!=e.interval&&e.hasOwnProperty("interval")&&(n.interval=t.json&&!isFinite(e.interval)?String(e.interval):e.interval),null!=e.fragmentId&&e.hasOwnProperty("fragmentId")&&(n.fragmentId=e.fragmentId),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/AutoRerun"},e})(),s.BackMsg=(()=>{function e(e){if(e)for(let t=Object.keys(e),n=0;n>>3){case 5:r.clearCache=e.bool();break;case 6:r.setRunOnSave=e.bool();break;case 7:r.stopScript=e.bool();break;case 11:r.rerunScript=s.ClientState.decode(e,e.uint32());break;case 12:r.loadGitInfo=e.bool();break;case 14:r.debugDisconnectWebsocket=e.bool();break;case 15:r.debugShutdownRuntime=e.bool();break;case 16:r.fileUrlsRequest=s.FileURLsRequest.decode(e,e.uint32());break;case 17:r.appHeartbeat=e.bool();break;case 13:r.debugLastBackmsgId=e.string();break;default:e.skipType(7&t)}}return r},e.decodeDelimited=function(e){return e instanceof o||(e=new o(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";let t={};if(null!=e.clearCache&&e.hasOwnProperty("clearCache")&&(t.type=1,"boolean"!==typeof e.clearCache))return"clearCache: boolean expected";if(null!=e.setRunOnSave&&e.hasOwnProperty("setRunOnSave")){if(1===t.type)return"type: multiple values";if(t.type=1,"boolean"!==typeof e.setRunOnSave)return"setRunOnSave: boolean expected"}if(null!=e.stopScript&&e.hasOwnProperty("stopScript")){if(1===t.type)return"type: multiple values";if(t.type=1,"boolean"!==typeof e.stopScript)return"stopScript: boolean expected"}if(null!=e.rerunScript&&e.hasOwnProperty("rerunScript")){if(1===t.type)return"type: multiple values";t.type=1;{let t=s.ClientState.verify(e.rerunScript);if(t)return"rerunScript."+t}}if(null!=e.loadGitInfo&&e.hasOwnProperty("loadGitInfo")){if(1===t.type)return"type: multiple values";if(t.type=1,"boolean"!==typeof e.loadGitInfo)return"loadGitInfo: boolean expected"}if(null!=e.debugDisconnectWebsocket&&e.hasOwnProperty("debugDisconnectWebsocket")){if(1===t.type)return"type: multiple values";if(t.type=1,"boolean"!==typeof e.debugDisconnectWebsocket)return"debugDisconnectWebsocket: boolean expected"}if(null!=e.debugShutdownRuntime&&e.hasOwnProperty("debugShutdownRuntime")){if(1===t.type)return"type: multiple values";if(t.type=1,"boolean"!==typeof e.debugShutdownRuntime)return"debugShutdownRuntime: boolean expected"}if(null!=e.fileUrlsRequest&&e.hasOwnProperty("fileUrlsRequest")){if(1===t.type)return"type: multiple values";t.type=1;{let t=s.FileURLsRequest.verify(e.fileUrlsRequest);if(t)return"fileUrlsRequest."+t}}if(null!=e.appHeartbeat&&e.hasOwnProperty("appHeartbeat")){if(1===t.type)return"type: multiple values";if(t.type=1,"boolean"!==typeof e.appHeartbeat)return"appHeartbeat: boolean expected"}return null!=e.debugLastBackmsgId&&e.hasOwnProperty("debugLastBackmsgId")&&!a.isString(e.debugLastBackmsgId)?"debugLastBackmsgId: string expected":null},e.fromObject=function(e){if(e instanceof s.BackMsg)return e;let t=new s.BackMsg;if(null!=e.clearCache&&(t.clearCache=Boolean(e.clearCache)),null!=e.setRunOnSave&&(t.setRunOnSave=Boolean(e.setRunOnSave)),null!=e.stopScript&&(t.stopScript=Boolean(e.stopScript)),null!=e.rerunScript){if("object"!==typeof e.rerunScript)throw TypeError(".BackMsg.rerunScript: object expected");t.rerunScript=s.ClientState.fromObject(e.rerunScript)}if(null!=e.loadGitInfo&&(t.loadGitInfo=Boolean(e.loadGitInfo)),null!=e.debugDisconnectWebsocket&&(t.debugDisconnectWebsocket=Boolean(e.debugDisconnectWebsocket)),null!=e.debugShutdownRuntime&&(t.debugShutdownRuntime=Boolean(e.debugShutdownRuntime)),null!=e.fileUrlsRequest){if("object"!==typeof e.fileUrlsRequest)throw TypeError(".BackMsg.fileUrlsRequest: object expected");t.fileUrlsRequest=s.FileURLsRequest.fromObject(e.fileUrlsRequest)}return null!=e.appHeartbeat&&(t.appHeartbeat=Boolean(e.appHeartbeat)),null!=e.debugLastBackmsgId&&(t.debugLastBackmsgId=String(e.debugLastBackmsgId)),t},e.toObject=function(e,t){t||(t={});let n={};return t.defaults&&(n.debugLastBackmsgId=""),null!=e.clearCache&&e.hasOwnProperty("clearCache")&&(n.clearCache=e.clearCache,t.oneofs&&(n.type="clearCache")),null!=e.setRunOnSave&&e.hasOwnProperty("setRunOnSave")&&(n.setRunOnSave=e.setRunOnSave,t.oneofs&&(n.type="setRunOnSave")),null!=e.stopScript&&e.hasOwnProperty("stopScript")&&(n.stopScript=e.stopScript,t.oneofs&&(n.type="stopScript")),null!=e.rerunScript&&e.hasOwnProperty("rerunScript")&&(n.rerunScript=s.ClientState.toObject(e.rerunScript,t),t.oneofs&&(n.type="rerunScript")),null!=e.loadGitInfo&&e.hasOwnProperty("loadGitInfo")&&(n.loadGitInfo=e.loadGitInfo,t.oneofs&&(n.type="loadGitInfo")),null!=e.debugLastBackmsgId&&e.hasOwnProperty("debugLastBackmsgId")&&(n.debugLastBackmsgId=e.debugLastBackmsgId),null!=e.debugDisconnectWebsocket&&e.hasOwnProperty("debugDisconnectWebsocket")&&(n.debugDisconnectWebsocket=e.debugDisconnectWebsocket,t.oneofs&&(n.type="debugDisconnectWebsocket")),null!=e.debugShutdownRuntime&&e.hasOwnProperty("debugShutdownRuntime")&&(n.debugShutdownRuntime=e.debugShutdownRuntime,t.oneofs&&(n.type="debugShutdownRuntime")),null!=e.fileUrlsRequest&&e.hasOwnProperty("fileUrlsRequest")&&(n.fileUrlsRequest=s.FileURLsRequest.toObject(e.fileUrlsRequest,t),t.oneofs&&(n.type="fileUrlsRequest")),null!=e.appHeartbeat&&e.hasOwnProperty("appHeartbeat")&&(n.appHeartbeat=e.appHeartbeat,t.oneofs&&(n.type="appHeartbeat")),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/BackMsg"},e})()),p=(s.Balloons=(()=>{function e(e){if(e)for(let t=Object.keys(e),n=0;n>>3===3)r.show=e.bool();else e.skipType(7&t)}return r},e.decodeDelimited=function(e){return e instanceof o||(e=new o(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null!=e.show&&e.hasOwnProperty("show")&&"boolean"!==typeof e.show?"show: boolean expected":null},e.fromObject=function(e){if(e instanceof s.Balloons)return e;let t=new s.Balloons;return null!=e.show&&(t.show=Boolean(e.show)),t},e.toObject=function(e,t){t||(t={});let n={};return t.defaults&&(n.show=!1),null!=e.show&&e.hasOwnProperty("show")&&(n.show=e.show),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/Balloons"},e})(),s.Block=(()=>{function e(e){if(e)for(let t=Object.keys(e),n=0;n>>3){case 1:r.vertical=s.Block.Vertical.decode(e,e.uint32());break;case 2:r.horizontal=s.Block.Horizontal.decode(e,e.uint32());break;case 3:r.column=s.Block.Column.decode(e,e.uint32());break;case 4:r.expandable=s.Block.Expandable.decode(e,e.uint32());break;case 5:r.form=s.Block.Form.decode(e,e.uint32());break;case 6:r.tabContainer=s.Block.TabContainer.decode(e,e.uint32());break;case 7:r.tab=s.Block.Tab.decode(e,e.uint32());break;case 9:r.chatMessage=s.Block.ChatMessage.decode(e,e.uint32());break;case 10:r.popover=s.Block.Popover.decode(e,e.uint32());break;case 11:r.dialog=s.Block.Dialog.decode(e,e.uint32());break;case 8:r.allowEmpty=e.bool();break;case 12:r.id=e.string();break;default:e.skipType(7&t)}}return r},e.decodeDelimited=function(e){return e instanceof o||(e=new o(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";let t={};if(null!=e.vertical&&e.hasOwnProperty("vertical")){t.type=1;{let t=s.Block.Vertical.verify(e.vertical);if(t)return"vertical."+t}}if(null!=e.horizontal&&e.hasOwnProperty("horizontal")){if(1===t.type)return"type: multiple values";t.type=1;{let t=s.Block.Horizontal.verify(e.horizontal);if(t)return"horizontal."+t}}if(null!=e.column&&e.hasOwnProperty("column")){if(1===t.type)return"type: multiple values";t.type=1;{let t=s.Block.Column.verify(e.column);if(t)return"column."+t}}if(null!=e.expandable&&e.hasOwnProperty("expandable")){if(1===t.type)return"type: multiple values";t.type=1;{let t=s.Block.Expandable.verify(e.expandable);if(t)return"expandable."+t}}if(null!=e.form&&e.hasOwnProperty("form")){if(1===t.type)return"type: multiple values";t.type=1;{let t=s.Block.Form.verify(e.form);if(t)return"form."+t}}if(null!=e.tabContainer&&e.hasOwnProperty("tabContainer")){if(1===t.type)return"type: multiple values";t.type=1;{let t=s.Block.TabContainer.verify(e.tabContainer);if(t)return"tabContainer."+t}}if(null!=e.tab&&e.hasOwnProperty("tab")){if(1===t.type)return"type: multiple values";t.type=1;{let t=s.Block.Tab.verify(e.tab);if(t)return"tab."+t}}if(null!=e.chatMessage&&e.hasOwnProperty("chatMessage")){if(1===t.type)return"type: multiple values";t.type=1;{let t=s.Block.ChatMessage.verify(e.chatMessage);if(t)return"chatMessage."+t}}if(null!=e.popover&&e.hasOwnProperty("popover")){if(1===t.type)return"type: multiple values";t.type=1;{let t=s.Block.Popover.verify(e.popover);if(t)return"popover."+t}}if(null!=e.dialog&&e.hasOwnProperty("dialog")){if(1===t.type)return"type: multiple values";t.type=1;{let t=s.Block.Dialog.verify(e.dialog);if(t)return"dialog."+t}}return null!=e.allowEmpty&&e.hasOwnProperty("allowEmpty")&&"boolean"!==typeof e.allowEmpty?"allowEmpty: boolean expected":null!=e.id&&e.hasOwnProperty("id")&&(t._id=1,!a.isString(e.id))?"id: string expected":null},e.fromObject=function(e){if(e instanceof s.Block)return e;let t=new s.Block;if(null!=e.vertical){if("object"!==typeof e.vertical)throw TypeError(".Block.vertical: object expected");t.vertical=s.Block.Vertical.fromObject(e.vertical)}if(null!=e.horizontal){if("object"!==typeof e.horizontal)throw TypeError(".Block.horizontal: object expected");t.horizontal=s.Block.Horizontal.fromObject(e.horizontal)}if(null!=e.column){if("object"!==typeof e.column)throw TypeError(".Block.column: object expected");t.column=s.Block.Column.fromObject(e.column)}if(null!=e.expandable){if("object"!==typeof e.expandable)throw TypeError(".Block.expandable: object expected");t.expandable=s.Block.Expandable.fromObject(e.expandable)}if(null!=e.form){if("object"!==typeof e.form)throw TypeError(".Block.form: object expected");t.form=s.Block.Form.fromObject(e.form)}if(null!=e.tabContainer){if("object"!==typeof e.tabContainer)throw TypeError(".Block.tabContainer: object expected");t.tabContainer=s.Block.TabContainer.fromObject(e.tabContainer)}if(null!=e.tab){if("object"!==typeof e.tab)throw TypeError(".Block.tab: object expected");t.tab=s.Block.Tab.fromObject(e.tab)}if(null!=e.chatMessage){if("object"!==typeof e.chatMessage)throw TypeError(".Block.chatMessage: object expected");t.chatMessage=s.Block.ChatMessage.fromObject(e.chatMessage)}if(null!=e.popover){if("object"!==typeof e.popover)throw TypeError(".Block.popover: object expected");t.popover=s.Block.Popover.fromObject(e.popover)}if(null!=e.dialog){if("object"!==typeof e.dialog)throw TypeError(".Block.dialog: object expected");t.dialog=s.Block.Dialog.fromObject(e.dialog)}return null!=e.allowEmpty&&(t.allowEmpty=Boolean(e.allowEmpty)),null!=e.id&&(t.id=String(e.id)),t},e.toObject=function(e,t){t||(t={});let n={};return t.defaults&&(n.allowEmpty=!1),null!=e.vertical&&e.hasOwnProperty("vertical")&&(n.vertical=s.Block.Vertical.toObject(e.vertical,t),t.oneofs&&(n.type="vertical")),null!=e.horizontal&&e.hasOwnProperty("horizontal")&&(n.horizontal=s.Block.Horizontal.toObject(e.horizontal,t),t.oneofs&&(n.type="horizontal")),null!=e.column&&e.hasOwnProperty("column")&&(n.column=s.Block.Column.toObject(e.column,t),t.oneofs&&(n.type="column")),null!=e.expandable&&e.hasOwnProperty("expandable")&&(n.expandable=s.Block.Expandable.toObject(e.expandable,t),t.oneofs&&(n.type="expandable")),null!=e.form&&e.hasOwnProperty("form")&&(n.form=s.Block.Form.toObject(e.form,t),t.oneofs&&(n.type="form")),null!=e.tabContainer&&e.hasOwnProperty("tabContainer")&&(n.tabContainer=s.Block.TabContainer.toObject(e.tabContainer,t),t.oneofs&&(n.type="tabContainer")),null!=e.tab&&e.hasOwnProperty("tab")&&(n.tab=s.Block.Tab.toObject(e.tab,t),t.oneofs&&(n.type="tab")),null!=e.allowEmpty&&e.hasOwnProperty("allowEmpty")&&(n.allowEmpty=e.allowEmpty),null!=e.chatMessage&&e.hasOwnProperty("chatMessage")&&(n.chatMessage=s.Block.ChatMessage.toObject(e.chatMessage,t),t.oneofs&&(n.type="chatMessage")),null!=e.popover&&e.hasOwnProperty("popover")&&(n.popover=s.Block.Popover.toObject(e.popover,t),t.oneofs&&(n.type="popover")),null!=e.dialog&&e.hasOwnProperty("dialog")&&(n.dialog=s.Block.Dialog.toObject(e.dialog,t),t.oneofs&&(n.type="dialog")),null!=e.id&&e.hasOwnProperty("id")&&(n.id=e.id,t.oneofs&&(n._id="id")),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/Block"},e.Vertical=function(){function e(e){if(e)for(let t=Object.keys(e),n=0;n>>3){case 1:r.border=e.bool();break;case 2:r.height=e.uint32();break;default:e.skipType(7&t)}}return r},e.decodeDelimited=function(e){return e instanceof o||(e=new o(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null!=e.border&&e.hasOwnProperty("border")&&"boolean"!==typeof e.border?"border: boolean expected":null!=e.height&&e.hasOwnProperty("height")&&!a.isInteger(e.height)?"height: integer expected":null},e.fromObject=function(e){if(e instanceof s.Block.Vertical)return e;let t=new s.Block.Vertical;return null!=e.border&&(t.border=Boolean(e.border)),null!=e.height&&(t.height=e.height>>>0),t},e.toObject=function(e,t){t||(t={});let n={};return t.defaults&&(n.border=!1,n.height=0),null!=e.border&&e.hasOwnProperty("border")&&(n.border=e.border),null!=e.height&&e.hasOwnProperty("height")&&(n.height=e.height),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/Block.Vertical"},e}(),e.Horizontal=function(){function e(e){if(e)for(let t=Object.keys(e),n=0;n>>3===1)r.gap=e.string();else e.skipType(7&t)}return r},e.decodeDelimited=function(e){return e instanceof o||(e=new o(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null!=e.gap&&e.hasOwnProperty("gap")&&!a.isString(e.gap)?"gap: string expected":null},e.fromObject=function(e){if(e instanceof s.Block.Horizontal)return e;let t=new s.Block.Horizontal;return null!=e.gap&&(t.gap=String(e.gap)),t},e.toObject=function(e,t){t||(t={});let n={};return t.defaults&&(n.gap=""),null!=e.gap&&e.hasOwnProperty("gap")&&(n.gap=e.gap),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/Block.Horizontal"},e}(),e.Column=function(){function e(e){if(e)for(let t=Object.keys(e),n=0;n>>3){case 1:r.weight=e.double();break;case 2:r.gap=e.string();break;case 3:r.verticalAlignment=e.int32();break;default:e.skipType(7&t)}}return r},e.decodeDelimited=function(e){return e instanceof o||(e=new o(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.weight&&e.hasOwnProperty("weight")&&"number"!==typeof e.weight)return"weight: number expected";if(null!=e.gap&&e.hasOwnProperty("gap")&&!a.isString(e.gap))return"gap: string expected";if(null!=e.verticalAlignment&&e.hasOwnProperty("verticalAlignment"))switch(e.verticalAlignment){default:return"verticalAlignment: enum value expected";case 0:case 1:case 2:}return null},e.fromObject=function(e){if(e instanceof s.Block.Column)return e;let t=new s.Block.Column;switch(null!=e.weight&&(t.weight=Number(e.weight)),null!=e.gap&&(t.gap=String(e.gap)),e.verticalAlignment){default:if("number"===typeof e.verticalAlignment){t.verticalAlignment=e.verticalAlignment;break}break;case"TOP":case 0:t.verticalAlignment=0;break;case"CENTER":case 1:t.verticalAlignment=1;break;case"BOTTOM":case 2:t.verticalAlignment=2}return t},e.toObject=function(e,t){t||(t={});let n={};return t.defaults&&(n.weight=0,n.gap="",n.verticalAlignment=t.enums===String?"TOP":0),null!=e.weight&&e.hasOwnProperty("weight")&&(n.weight=t.json&&!isFinite(e.weight)?String(e.weight):e.weight),null!=e.gap&&e.hasOwnProperty("gap")&&(n.gap=e.gap),null!=e.verticalAlignment&&e.hasOwnProperty("verticalAlignment")&&(n.verticalAlignment=t.enums===String?void 0===s.Block.Column.VerticalAlignment[e.verticalAlignment]?e.verticalAlignment:s.Block.Column.VerticalAlignment[e.verticalAlignment]:e.verticalAlignment),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/Block.Column"},e.VerticalAlignment=function(){const e={},t=Object.create(e);return t[e[0]="TOP"]=0,t[e[1]="CENTER"]=1,t[e[2]="BOTTOM"]=2,t}(),e}(),e.Expandable=function(){function e(e){if(e)for(let t=Object.keys(e),n=0;n>>3){case 1:r.label=e.string();break;case 2:r.expanded=e.bool();break;case 3:r.icon=e.string();break;default:e.skipType(7&t)}}return r},e.decodeDelimited=function(e){return e instanceof o||(e=new o(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";let t={};return null!=e.label&&e.hasOwnProperty("label")&&!a.isString(e.label)?"label: string expected":null!=e.expanded&&e.hasOwnProperty("expanded")&&(t._expanded=1,"boolean"!==typeof e.expanded)?"expanded: boolean expected":null!=e.icon&&e.hasOwnProperty("icon")&&!a.isString(e.icon)?"icon: string expected":null},e.fromObject=function(e){if(e instanceof s.Block.Expandable)return e;let t=new s.Block.Expandable;return null!=e.label&&(t.label=String(e.label)),null!=e.expanded&&(t.expanded=Boolean(e.expanded)),null!=e.icon&&(t.icon=String(e.icon)),t},e.toObject=function(e,t){t||(t={});let n={};return t.defaults&&(n.label="",n.icon=""),null!=e.label&&e.hasOwnProperty("label")&&(n.label=e.label),null!=e.expanded&&e.hasOwnProperty("expanded")&&(n.expanded=e.expanded,t.oneofs&&(n._expanded="expanded")),null!=e.icon&&e.hasOwnProperty("icon")&&(n.icon=e.icon),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/Block.Expandable"},e}(),e.Dialog=function(){function e(e){if(e)for(let t=Object.keys(e),n=0;n>>3){case 1:r.title=e.string();break;case 2:r.dismissible=e.bool();break;case 3:r.width=e.int32();break;case 4:r.isOpen=e.bool();break;default:e.skipType(7&t)}}return r},e.decodeDelimited=function(e){return e instanceof o||(e=new o(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";let t={};if(null!=e.title&&e.hasOwnProperty("title")&&!a.isString(e.title))return"title: string expected";if(null!=e.dismissible&&e.hasOwnProperty("dismissible")&&"boolean"!==typeof e.dismissible)return"dismissible: boolean expected";if(null!=e.width&&e.hasOwnProperty("width"))switch(e.width){default:return"width: enum value expected";case 0:case 1:}return null!=e.isOpen&&e.hasOwnProperty("isOpen")&&(t._isOpen=1,"boolean"!==typeof e.isOpen)?"isOpen: boolean expected":null},e.fromObject=function(e){if(e instanceof s.Block.Dialog)return e;let t=new s.Block.Dialog;switch(null!=e.title&&(t.title=String(e.title)),null!=e.dismissible&&(t.dismissible=Boolean(e.dismissible)),e.width){default:if("number"===typeof e.width){t.width=e.width;break}break;case"SMALL":case 0:t.width=0;break;case"LARGE":case 1:t.width=1}return null!=e.isOpen&&(t.isOpen=Boolean(e.isOpen)),t},e.toObject=function(e,t){t||(t={});let n={};return t.defaults&&(n.title="",n.dismissible=!1,n.width=t.enums===String?"SMALL":0),null!=e.title&&e.hasOwnProperty("title")&&(n.title=e.title),null!=e.dismissible&&e.hasOwnProperty("dismissible")&&(n.dismissible=e.dismissible),null!=e.width&&e.hasOwnProperty("width")&&(n.width=t.enums===String?void 0===s.Block.Dialog.DialogWidth[e.width]?e.width:s.Block.Dialog.DialogWidth[e.width]:e.width),null!=e.isOpen&&e.hasOwnProperty("isOpen")&&(n.isOpen=e.isOpen,t.oneofs&&(n._isOpen="isOpen")),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/Block.Dialog"},e.DialogWidth=function(){const e={},t=Object.create(e);return t[e[0]="SMALL"]=0,t[e[1]="LARGE"]=1,t}(),e}(),e.Form=function(){function e(e){if(e)for(let t=Object.keys(e),n=0;n>>3){case 1:r.formId=e.string();break;case 2:r.clearOnSubmit=e.bool();break;case 3:r.border=e.bool();break;case 4:r.enterToSubmit=e.bool();break;default:e.skipType(7&t)}}return r},e.decodeDelimited=function(e){return e instanceof o||(e=new o(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null!=e.formId&&e.hasOwnProperty("formId")&&!a.isString(e.formId)?"formId: string expected":null!=e.clearOnSubmit&&e.hasOwnProperty("clearOnSubmit")&&"boolean"!==typeof e.clearOnSubmit?"clearOnSubmit: boolean expected":null!=e.border&&e.hasOwnProperty("border")&&"boolean"!==typeof e.border?"border: boolean expected":null!=e.enterToSubmit&&e.hasOwnProperty("enterToSubmit")&&"boolean"!==typeof e.enterToSubmit?"enterToSubmit: boolean expected":null},e.fromObject=function(e){if(e instanceof s.Block.Form)return e;let t=new s.Block.Form;return null!=e.formId&&(t.formId=String(e.formId)),null!=e.clearOnSubmit&&(t.clearOnSubmit=Boolean(e.clearOnSubmit)),null!=e.border&&(t.border=Boolean(e.border)),null!=e.enterToSubmit&&(t.enterToSubmit=Boolean(e.enterToSubmit)),t},e.toObject=function(e,t){t||(t={});let n={};return t.defaults&&(n.formId="",n.clearOnSubmit=!1,n.border=!1,n.enterToSubmit=!1),null!=e.formId&&e.hasOwnProperty("formId")&&(n.formId=e.formId),null!=e.clearOnSubmit&&e.hasOwnProperty("clearOnSubmit")&&(n.clearOnSubmit=e.clearOnSubmit),null!=e.border&&e.hasOwnProperty("border")&&(n.border=e.border),null!=e.enterToSubmit&&e.hasOwnProperty("enterToSubmit")&&(n.enterToSubmit=e.enterToSubmit),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/Block.Form"},e}(),e.TabContainer=function(){function e(e){if(e)for(let t=Object.keys(e),n=0;n>>3===1)r.label=e.string();else e.skipType(7&t)}return r},e.decodeDelimited=function(e){return e instanceof o||(e=new o(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null!=e.label&&e.hasOwnProperty("label")&&!a.isString(e.label)?"label: string expected":null},e.fromObject=function(e){if(e instanceof s.Block.Tab)return e;let t=new s.Block.Tab;return null!=e.label&&(t.label=String(e.label)),t},e.toObject=function(e,t){t||(t={});let n={};return t.defaults&&(n.label=""),null!=e.label&&e.hasOwnProperty("label")&&(n.label=e.label),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/Block.Tab"},e}(),e.Popover=function(){function e(e){if(e)for(let t=Object.keys(e),n=0;n>>3){case 1:r.label=e.string();break;case 2:r.useContainerWidth=e.bool();break;case 3:r.help=e.string();break;case 4:r.disabled=e.bool();break;case 5:r.icon=e.string();break;default:e.skipType(7&t)}}return r},e.decodeDelimited=function(e){return e instanceof o||(e=new o(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null!=e.label&&e.hasOwnProperty("label")&&!a.isString(e.label)?"label: string expected":null!=e.useContainerWidth&&e.hasOwnProperty("useContainerWidth")&&"boolean"!==typeof e.useContainerWidth?"useContainerWidth: boolean expected":null!=e.help&&e.hasOwnProperty("help")&&!a.isString(e.help)?"help: string expected":null!=e.disabled&&e.hasOwnProperty("disabled")&&"boolean"!==typeof e.disabled?"disabled: boolean expected":null!=e.icon&&e.hasOwnProperty("icon")&&!a.isString(e.icon)?"icon: string expected":null},e.fromObject=function(e){if(e instanceof s.Block.Popover)return e;let t=new s.Block.Popover;return null!=e.label&&(t.label=String(e.label)),null!=e.useContainerWidth&&(t.useContainerWidth=Boolean(e.useContainerWidth)),null!=e.help&&(t.help=String(e.help)),null!=e.disabled&&(t.disabled=Boolean(e.disabled)),null!=e.icon&&(t.icon=String(e.icon)),t},e.toObject=function(e,t){t||(t={});let n={};return t.defaults&&(n.label="",n.useContainerWidth=!1,n.help="",n.disabled=!1,n.icon=""),null!=e.label&&e.hasOwnProperty("label")&&(n.label=e.label),null!=e.useContainerWidth&&e.hasOwnProperty("useContainerWidth")&&(n.useContainerWidth=e.useContainerWidth),null!=e.help&&e.hasOwnProperty("help")&&(n.help=e.help),null!=e.disabled&&e.hasOwnProperty("disabled")&&(n.disabled=e.disabled),null!=e.icon&&e.hasOwnProperty("icon")&&(n.icon=e.icon),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/Block.Popover"},e}(),e.ChatMessage=function(){function e(e){if(e)for(let t=Object.keys(e),n=0;n>>3){case 1:r.name=e.string();break;case 2:r.avatar=e.string();break;case 3:r.avatarType=e.int32();break;default:e.skipType(7&t)}}return r},e.decodeDelimited=function(e){return e instanceof o||(e=new o(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.name&&e.hasOwnProperty("name")&&!a.isString(e.name))return"name: string expected";if(null!=e.avatar&&e.hasOwnProperty("avatar")&&!a.isString(e.avatar))return"avatar: string expected";if(null!=e.avatarType&&e.hasOwnProperty("avatarType"))switch(e.avatarType){default:return"avatarType: enum value expected";case 0:case 1:case 2:}return null},e.fromObject=function(e){if(e instanceof s.Block.ChatMessage)return e;let t=new s.Block.ChatMessage;switch(null!=e.name&&(t.name=String(e.name)),null!=e.avatar&&(t.avatar=String(e.avatar)),e.avatarType){default:if("number"===typeof e.avatarType){t.avatarType=e.avatarType;break}break;case"IMAGE":case 0:t.avatarType=0;break;case"EMOJI":case 1:t.avatarType=1;break;case"ICON":case 2:t.avatarType=2}return t},e.toObject=function(e,t){t||(t={});let n={};return t.defaults&&(n.name="",n.avatar="",n.avatarType=t.enums===String?"IMAGE":0),null!=e.name&&e.hasOwnProperty("name")&&(n.name=e.name),null!=e.avatar&&e.hasOwnProperty("avatar")&&(n.avatar=e.avatar),null!=e.avatarType&&e.hasOwnProperty("avatarType")&&(n.avatarType=t.enums===String?void 0===s.Block.ChatMessage.AvatarType[e.avatarType]?e.avatarType:s.Block.ChatMessage.AvatarType[e.avatarType]:e.avatarType),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/Block.ChatMessage"},e.AvatarType=function(){const e={},t=Object.create(e);return t[e[0]="IMAGE"]=0,t[e[1]="EMOJI"]=1,t[e[2]="ICON"]=2,t}(),e}(),e})()),d=(s.BokehChart=(()=>{function e(e){if(e)for(let t=Object.keys(e),n=0;n>>3){case 1:r.figure=e.string();break;case 2:r.useContainerWidth=e.bool();break;case 3:r.elementId=e.string();break;default:e.skipType(7&t)}}return r},e.decodeDelimited=function(e){return e instanceof o||(e=new o(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null!=e.figure&&e.hasOwnProperty("figure")&&!a.isString(e.figure)?"figure: string expected":null!=e.useContainerWidth&&e.hasOwnProperty("useContainerWidth")&&"boolean"!==typeof e.useContainerWidth?"useContainerWidth: boolean expected":null!=e.elementId&&e.hasOwnProperty("elementId")&&!a.isString(e.elementId)?"elementId: string expected":null},e.fromObject=function(e){if(e instanceof s.BokehChart)return e;let t=new s.BokehChart;return null!=e.figure&&(t.figure=String(e.figure)),null!=e.useContainerWidth&&(t.useContainerWidth=Boolean(e.useContainerWidth)),null!=e.elementId&&(t.elementId=String(e.elementId)),t},e.toObject=function(e,t){t||(t={});let n={};return t.defaults&&(n.figure="",n.useContainerWidth=!1,n.elementId=""),null!=e.figure&&e.hasOwnProperty("figure")&&(n.figure=e.figure),null!=e.useContainerWidth&&e.hasOwnProperty("useContainerWidth")&&(n.useContainerWidth=e.useContainerWidth),null!=e.elementId&&e.hasOwnProperty("elementId")&&(n.elementId=e.elementId),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/BokehChart"},e})(),s.Button=(()=>{function e(e){if(e)for(let t=Object.keys(e),n=0;n>>3){case 1:r.id=e.string();break;case 2:r.label=e.string();break;case 3:r.default=e.bool();break;case 4:r.help=e.string();break;case 5:r.formId=e.string();break;case 6:r.isFormSubmitter=e.bool();break;case 7:r.type=e.string();break;case 8:r.disabled=e.bool();break;case 9:r.useContainerWidth=e.bool();break;case 10:r.icon=e.string();break;default:e.skipType(7&t)}}return r},e.decodeDelimited=function(e){return e instanceof o||(e=new o(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null!=e.id&&e.hasOwnProperty("id")&&!a.isString(e.id)?"id: string expected":null!=e.label&&e.hasOwnProperty("label")&&!a.isString(e.label)?"label: string expected":null!=e.default&&e.hasOwnProperty("default")&&"boolean"!==typeof e.default?"default: boolean expected":null!=e.help&&e.hasOwnProperty("help")&&!a.isString(e.help)?"help: string expected":null!=e.formId&&e.hasOwnProperty("formId")&&!a.isString(e.formId)?"formId: string expected":null!=e.isFormSubmitter&&e.hasOwnProperty("isFormSubmitter")&&"boolean"!==typeof e.isFormSubmitter?"isFormSubmitter: boolean expected":null!=e.type&&e.hasOwnProperty("type")&&!a.isString(e.type)?"type: string expected":null!=e.disabled&&e.hasOwnProperty("disabled")&&"boolean"!==typeof e.disabled?"disabled: boolean expected":null!=e.useContainerWidth&&e.hasOwnProperty("useContainerWidth")&&"boolean"!==typeof e.useContainerWidth?"useContainerWidth: boolean expected":null!=e.icon&&e.hasOwnProperty("icon")&&!a.isString(e.icon)?"icon: string expected":null},e.fromObject=function(e){if(e instanceof s.Button)return e;let t=new s.Button;return null!=e.id&&(t.id=String(e.id)),null!=e.label&&(t.label=String(e.label)),null!=e.default&&(t.default=Boolean(e.default)),null!=e.help&&(t.help=String(e.help)),null!=e.formId&&(t.formId=String(e.formId)),null!=e.isFormSubmitter&&(t.isFormSubmitter=Boolean(e.isFormSubmitter)),null!=e.type&&(t.type=String(e.type)),null!=e.disabled&&(t.disabled=Boolean(e.disabled)),null!=e.useContainerWidth&&(t.useContainerWidth=Boolean(e.useContainerWidth)),null!=e.icon&&(t.icon=String(e.icon)),t},e.toObject=function(e,t){t||(t={});let n={};return t.defaults&&(n.id="",n.label="",n.default=!1,n.help="",n.formId="",n.isFormSubmitter=!1,n.type="",n.disabled=!1,n.useContainerWidth=!1,n.icon=""),null!=e.id&&e.hasOwnProperty("id")&&(n.id=e.id),null!=e.label&&e.hasOwnProperty("label")&&(n.label=e.label),null!=e.default&&e.hasOwnProperty("default")&&(n.default=e.default),null!=e.help&&e.hasOwnProperty("help")&&(n.help=e.help),null!=e.formId&&e.hasOwnProperty("formId")&&(n.formId=e.formId),null!=e.isFormSubmitter&&e.hasOwnProperty("isFormSubmitter")&&(n.isFormSubmitter=e.isFormSubmitter),null!=e.type&&e.hasOwnProperty("type")&&(n.type=e.type),null!=e.disabled&&e.hasOwnProperty("disabled")&&(n.disabled=e.disabled),null!=e.useContainerWidth&&e.hasOwnProperty("useContainerWidth")&&(n.useContainerWidth=e.useContainerWidth),null!=e.icon&&e.hasOwnProperty("icon")&&(n.icon=e.icon),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/Button"},e})(),s.ButtonGroup=(()=>{function e(e){if(this.options=[],this.default=[],this.value=[],e)for(let t=Object.keys(e),n=0;n>>3){case 1:r.id=e.string();break;case 2:r.options&&r.options.length||(r.options=[]),r.options.push(s.ButtonGroup.Option.decode(e,e.uint32()));break;case 3:if(r.default&&r.default.length||(r.default=[]),2===(7&t)){let t=e.uint32()+e.pos;for(;e.pos>>0}switch(null!=e.disabled&&(t.disabled=Boolean(e.disabled)),e.clickMode){default:if("number"===typeof e.clickMode){t.clickMode=e.clickMode;break}break;case"SINGLE_SELECT":case 0:t.clickMode=0;break;case"MULTI_SELECT":case 1:t.clickMode=1}if(null!=e.formId&&(t.formId=String(e.formId)),e.value){if(!Array.isArray(e.value))throw TypeError(".ButtonGroup.value: array expected");t.value=[];for(let n=0;n>>0}switch(null!=e.setValue&&(t.setValue=Boolean(e.setValue)),e.selectionVisualization){default:if("number"===typeof e.selectionVisualization){t.selectionVisualization=e.selectionVisualization;break}break;case"ONLY_SELECTED":case 0:t.selectionVisualization=0;break;case"ALL_UP_TO_SELECTED":case 1:t.selectionVisualization=1}switch(e.style){default:if("number"===typeof e.style){t.style=e.style;break}break;case"SEGMENT":case 0:t.style=0;break;case"PILLS":case 1:t.style=1;break;case"BORDERLESS":case 2:t.style=2}if(null!=e.label&&(t.label=String(e.label)),null!=e.labelVisibility){if("object"!==typeof e.labelVisibility)throw TypeError(".ButtonGroup.labelVisibility: object expected");t.labelVisibility=s.LabelVisibilityMessage.fromObject(e.labelVisibility)}return null!=e.help&&(t.help=String(e.help)),t},e.toObject=function(e,t){t||(t={});let n={};if((t.arrays||t.defaults)&&(n.options=[],n.default=[],n.value=[]),t.defaults&&(n.id="",n.disabled=!1,n.clickMode=t.enums===String?"SINGLE_SELECT":0,n.formId="",n.setValue=!1,n.selectionVisualization=t.enums===String?"ONLY_SELECTED":0,n.style=t.enums===String?"SEGMENT":0,n.label="",n.labelVisibility=null),null!=e.id&&e.hasOwnProperty("id")&&(n.id=e.id),e.options&&e.options.length){n.options=[];for(let r=0;r>>3){case 1:r.content=e.string();break;case 2:r.selectedContent=e.string();break;case 3:r.contentIcon=e.string();break;case 4:r.selectedContentIcon=e.string();break;default:e.skipType(7&t)}}return r},e.decodeDelimited=function(e){return e instanceof o||(e=new o(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";let t={};return null!=e.content&&e.hasOwnProperty("content")&&!a.isString(e.content)?"content: string expected":null!=e.selectedContent&&e.hasOwnProperty("selectedContent")&&(t._selectedContent=1,!a.isString(e.selectedContent))?"selectedContent: string expected":null!=e.contentIcon&&e.hasOwnProperty("contentIcon")&&(t._contentIcon=1,!a.isString(e.contentIcon))?"contentIcon: string expected":null!=e.selectedContentIcon&&e.hasOwnProperty("selectedContentIcon")&&(t._selectedContentIcon=1,!a.isString(e.selectedContentIcon))?"selectedContentIcon: string expected":null},e.fromObject=function(e){if(e instanceof s.ButtonGroup.Option)return e;let t=new s.ButtonGroup.Option;return null!=e.content&&(t.content=String(e.content)),null!=e.selectedContent&&(t.selectedContent=String(e.selectedContent)),null!=e.contentIcon&&(t.contentIcon=String(e.contentIcon)),null!=e.selectedContentIcon&&(t.selectedContentIcon=String(e.selectedContentIcon)),t},e.toObject=function(e,t){t||(t={});let n={};return t.defaults&&(n.content=""),null!=e.content&&e.hasOwnProperty("content")&&(n.content=e.content),null!=e.selectedContent&&e.hasOwnProperty("selectedContent")&&(n.selectedContent=e.selectedContent,t.oneofs&&(n._selectedContent="selectedContent")),null!=e.contentIcon&&e.hasOwnProperty("contentIcon")&&(n.contentIcon=e.contentIcon,t.oneofs&&(n._contentIcon="contentIcon")),null!=e.selectedContentIcon&&e.hasOwnProperty("selectedContentIcon")&&(n.selectedContentIcon=e.selectedContentIcon,t.oneofs&&(n._selectedContentIcon="selectedContentIcon")),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/ButtonGroup.Option"},e}(),e.SelectionVisualization=function(){const e={},t=Object.create(e);return t[e[0]="ONLY_SELECTED"]=0,t[e[1]="ALL_UP_TO_SELECTED"]=1,t}(),e.Style=function(){const e={},t=Object.create(e);return t[e[0]="SEGMENT"]=0,t[e[1]="PILLS"]=1,t[e[2]="BORDERLESS"]=2,t}(),e})()),b=(s.CameraInput=(()=>{function e(e){if(e)for(let t=Object.keys(e),n=0;n>>3){case 1:r.id=e.string();break;case 2:r.label=e.string();break;case 3:r.help=e.string();break;case 4:r.formId=e.string();break;case 5:r.disabled=e.bool();break;case 6:r.labelVisibility=s.LabelVisibilityMessage.decode(e,e.uint32());break;default:e.skipType(7&t)}}return r},e.decodeDelimited=function(e){return e instanceof o||(e=new o(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.id&&e.hasOwnProperty("id")&&!a.isString(e.id))return"id: string expected";if(null!=e.label&&e.hasOwnProperty("label")&&!a.isString(e.label))return"label: string expected";if(null!=e.help&&e.hasOwnProperty("help")&&!a.isString(e.help))return"help: string expected";if(null!=e.formId&&e.hasOwnProperty("formId")&&!a.isString(e.formId))return"formId: string expected";if(null!=e.disabled&&e.hasOwnProperty("disabled")&&"boolean"!==typeof e.disabled)return"disabled: boolean expected";if(null!=e.labelVisibility&&e.hasOwnProperty("labelVisibility")){let t=s.LabelVisibilityMessage.verify(e.labelVisibility);if(t)return"labelVisibility."+t}return null},e.fromObject=function(e){if(e instanceof s.CameraInput)return e;let t=new s.CameraInput;if(null!=e.id&&(t.id=String(e.id)),null!=e.label&&(t.label=String(e.label)),null!=e.help&&(t.help=String(e.help)),null!=e.formId&&(t.formId=String(e.formId)),null!=e.disabled&&(t.disabled=Boolean(e.disabled)),null!=e.labelVisibility){if("object"!==typeof e.labelVisibility)throw TypeError(".CameraInput.labelVisibility: object expected");t.labelVisibility=s.LabelVisibilityMessage.fromObject(e.labelVisibility)}return t},e.toObject=function(e,t){t||(t={});let n={};return t.defaults&&(n.id="",n.label="",n.help="",n.formId="",n.disabled=!1,n.labelVisibility=null),null!=e.id&&e.hasOwnProperty("id")&&(n.id=e.id),null!=e.label&&e.hasOwnProperty("label")&&(n.label=e.label),null!=e.help&&e.hasOwnProperty("help")&&(n.help=e.help),null!=e.formId&&e.hasOwnProperty("formId")&&(n.formId=e.formId),null!=e.disabled&&e.hasOwnProperty("disabled")&&(n.disabled=e.disabled),null!=e.labelVisibility&&e.hasOwnProperty("labelVisibility")&&(n.labelVisibility=s.LabelVisibilityMessage.toObject(e.labelVisibility,t)),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/CameraInput"},e})(),s.ChatInput=(()=>{function e(e){if(e)for(let t=Object.keys(e),n=0;n>>3){case 1:r.id=e.string();break;case 2:r.placeholder=e.string();break;case 3:r.maxChars=e.uint32();break;case 4:r.disabled=e.bool();break;case 5:r.value=e.string();break;case 6:r.setValue=e.bool();break;case 7:r.default=e.string();break;case 8:r.position=e.int32();break;default:e.skipType(7&t)}}return r},e.decodeDelimited=function(e){return e instanceof o||(e=new o(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null!=e.id&&e.hasOwnProperty("id")&&!a.isString(e.id)?"id: string expected":null!=e.placeholder&&e.hasOwnProperty("placeholder")&&!a.isString(e.placeholder)?"placeholder: string expected":null!=e.maxChars&&e.hasOwnProperty("maxChars")&&!a.isInteger(e.maxChars)?"maxChars: integer expected":null!=e.disabled&&e.hasOwnProperty("disabled")&&"boolean"!==typeof e.disabled?"disabled: boolean expected":null!=e.value&&e.hasOwnProperty("value")&&!a.isString(e.value)?"value: string expected":null!=e.setValue&&e.hasOwnProperty("setValue")&&"boolean"!==typeof e.setValue?"setValue: boolean expected":null!=e.default&&e.hasOwnProperty("default")&&!a.isString(e.default)?"default: string expected":null!=e.position&&e.hasOwnProperty("position")&&0!==e.position?"position: enum value expected":null},e.fromObject=function(e){if(e instanceof s.ChatInput)return e;let t=new s.ChatInput;switch(null!=e.id&&(t.id=String(e.id)),null!=e.placeholder&&(t.placeholder=String(e.placeholder)),null!=e.maxChars&&(t.maxChars=e.maxChars>>>0),null!=e.disabled&&(t.disabled=Boolean(e.disabled)),null!=e.value&&(t.value=String(e.value)),null!=e.setValue&&(t.setValue=Boolean(e.setValue)),null!=e.default&&(t.default=String(e.default)),e.position){default:if("number"===typeof e.position){t.position=e.position;break}break;case"BOTTOM":case 0:t.position=0}return t},e.toObject=function(e,t){t||(t={});let n={};return t.defaults&&(n.id="",n.placeholder="",n.maxChars=0,n.disabled=!1,n.value="",n.setValue=!1,n.default="",n.position=t.enums===String?"BOTTOM":0),null!=e.id&&e.hasOwnProperty("id")&&(n.id=e.id),null!=e.placeholder&&e.hasOwnProperty("placeholder")&&(n.placeholder=e.placeholder),null!=e.maxChars&&e.hasOwnProperty("maxChars")&&(n.maxChars=e.maxChars),null!=e.disabled&&e.hasOwnProperty("disabled")&&(n.disabled=e.disabled),null!=e.value&&e.hasOwnProperty("value")&&(n.value=e.value),null!=e.setValue&&e.hasOwnProperty("setValue")&&(n.setValue=e.setValue),null!=e.default&&e.hasOwnProperty("default")&&(n.default=e.default),null!=e.position&&e.hasOwnProperty("position")&&(n.position=t.enums===String?void 0===s.ChatInput.Position[e.position]?e.position:s.ChatInput.Position[e.position]:e.position),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/ChatInput"},e.Position=function(){const e={},t=Object.create(e);return t[e[0]="BOTTOM"]=0,t}(),e})(),s.Checkbox=(()=>{function e(e){if(e)for(let t=Object.keys(e),n=0;n>>3){case 1:r.id=e.string();break;case 2:r.label=e.string();break;case 3:r.default=e.bool();break;case 4:r.help=e.string();break;case 5:r.formId=e.string();break;case 6:r.value=e.bool();break;case 7:r.setValue=e.bool();break;case 8:r.disabled=e.bool();break;case 9:r.labelVisibility=s.LabelVisibilityMessage.decode(e,e.uint32());break;case 10:r.type=e.int32();break;default:e.skipType(7&t)}}return r},e.decodeDelimited=function(e){return e instanceof o||(e=new o(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.id&&e.hasOwnProperty("id")&&!a.isString(e.id))return"id: string expected";if(null!=e.label&&e.hasOwnProperty("label")&&!a.isString(e.label))return"label: string expected";if(null!=e.default&&e.hasOwnProperty("default")&&"boolean"!==typeof e.default)return"default: boolean expected";if(null!=e.help&&e.hasOwnProperty("help")&&!a.isString(e.help))return"help: string expected";if(null!=e.formId&&e.hasOwnProperty("formId")&&!a.isString(e.formId))return"formId: string expected";if(null!=e.value&&e.hasOwnProperty("value")&&"boolean"!==typeof e.value)return"value: boolean expected";if(null!=e.setValue&&e.hasOwnProperty("setValue")&&"boolean"!==typeof e.setValue)return"setValue: boolean expected";if(null!=e.disabled&&e.hasOwnProperty("disabled")&&"boolean"!==typeof e.disabled)return"disabled: boolean expected";if(null!=e.labelVisibility&&e.hasOwnProperty("labelVisibility")){let t=s.LabelVisibilityMessage.verify(e.labelVisibility);if(t)return"labelVisibility."+t}if(null!=e.type&&e.hasOwnProperty("type"))switch(e.type){default:return"type: enum value expected";case 0:case 1:}return null},e.fromObject=function(e){if(e instanceof s.Checkbox)return e;let t=new s.Checkbox;if(null!=e.id&&(t.id=String(e.id)),null!=e.label&&(t.label=String(e.label)),null!=e.default&&(t.default=Boolean(e.default)),null!=e.help&&(t.help=String(e.help)),null!=e.formId&&(t.formId=String(e.formId)),null!=e.value&&(t.value=Boolean(e.value)),null!=e.setValue&&(t.setValue=Boolean(e.setValue)),null!=e.disabled&&(t.disabled=Boolean(e.disabled)),null!=e.labelVisibility){if("object"!==typeof e.labelVisibility)throw TypeError(".Checkbox.labelVisibility: object expected");t.labelVisibility=s.LabelVisibilityMessage.fromObject(e.labelVisibility)}switch(e.type){default:if("number"===typeof e.type){t.type=e.type;break}break;case"DEFAULT":case 0:t.type=0;break;case"TOGGLE":case 1:t.type=1}return t},e.toObject=function(e,t){t||(t={});let n={};return t.defaults&&(n.id="",n.label="",n.default=!1,n.help="",n.formId="",n.value=!1,n.setValue=!1,n.disabled=!1,n.labelVisibility=null,n.type=t.enums===String?"DEFAULT":0),null!=e.id&&e.hasOwnProperty("id")&&(n.id=e.id),null!=e.label&&e.hasOwnProperty("label")&&(n.label=e.label),null!=e.default&&e.hasOwnProperty("default")&&(n.default=e.default),null!=e.help&&e.hasOwnProperty("help")&&(n.help=e.help),null!=e.formId&&e.hasOwnProperty("formId")&&(n.formId=e.formId),null!=e.value&&e.hasOwnProperty("value")&&(n.value=e.value),null!=e.setValue&&e.hasOwnProperty("setValue")&&(n.setValue=e.setValue),null!=e.disabled&&e.hasOwnProperty("disabled")&&(n.disabled=e.disabled),null!=e.labelVisibility&&e.hasOwnProperty("labelVisibility")&&(n.labelVisibility=s.LabelVisibilityMessage.toObject(e.labelVisibility,t)),null!=e.type&&e.hasOwnProperty("type")&&(n.type=t.enums===String?void 0===s.Checkbox.StyleType[e.type]?e.type:s.Checkbox.StyleType[e.type]:e.type),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/Checkbox"},e.StyleType=function(){const e={},t=Object.create(e);return t[e[0]="DEFAULT"]=0,t[e[1]="TOGGLE"]=1,t}(),e})()),f=(s.ClientState=(()=>{function e(e){if(e)for(let t=Object.keys(e),n=0;n>>3){case 1:r.queryString=e.string();break;case 2:r.widgetStates=s.WidgetStates.decode(e,e.uint32());break;case 3:r.pageScriptHash=e.string();break;case 4:r.pageName=e.string();break;case 5:r.fragmentId=e.string();break;case 6:r.isAutoRerun=e.bool();break;default:e.skipType(7&t)}}return r},e.decodeDelimited=function(e){return e instanceof o||(e=new o(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.queryString&&e.hasOwnProperty("queryString")&&!a.isString(e.queryString))return"queryString: string expected";if(null!=e.widgetStates&&e.hasOwnProperty("widgetStates")){let t=s.WidgetStates.verify(e.widgetStates);if(t)return"widgetStates."+t}return null!=e.pageScriptHash&&e.hasOwnProperty("pageScriptHash")&&!a.isString(e.pageScriptHash)?"pageScriptHash: string expected":null!=e.pageName&&e.hasOwnProperty("pageName")&&!a.isString(e.pageName)?"pageName: string expected":null!=e.fragmentId&&e.hasOwnProperty("fragmentId")&&!a.isString(e.fragmentId)?"fragmentId: string expected":null!=e.isAutoRerun&&e.hasOwnProperty("isAutoRerun")&&"boolean"!==typeof e.isAutoRerun?"isAutoRerun: boolean expected":null},e.fromObject=function(e){if(e instanceof s.ClientState)return e;let t=new s.ClientState;if(null!=e.queryString&&(t.queryString=String(e.queryString)),null!=e.widgetStates){if("object"!==typeof e.widgetStates)throw TypeError(".ClientState.widgetStates: object expected");t.widgetStates=s.WidgetStates.fromObject(e.widgetStates)}return null!=e.pageScriptHash&&(t.pageScriptHash=String(e.pageScriptHash)),null!=e.pageName&&(t.pageName=String(e.pageName)),null!=e.fragmentId&&(t.fragmentId=String(e.fragmentId)),null!=e.isAutoRerun&&(t.isAutoRerun=Boolean(e.isAutoRerun)),t},e.toObject=function(e,t){t||(t={});let n={};return t.defaults&&(n.queryString="",n.widgetStates=null,n.pageScriptHash="",n.pageName="",n.fragmentId="",n.isAutoRerun=!1),null!=e.queryString&&e.hasOwnProperty("queryString")&&(n.queryString=e.queryString),null!=e.widgetStates&&e.hasOwnProperty("widgetStates")&&(n.widgetStates=s.WidgetStates.toObject(e.widgetStates,t)),null!=e.pageScriptHash&&e.hasOwnProperty("pageScriptHash")&&(n.pageScriptHash=e.pageScriptHash),null!=e.pageName&&e.hasOwnProperty("pageName")&&(n.pageName=e.pageName),null!=e.fragmentId&&e.hasOwnProperty("fragmentId")&&(n.fragmentId=e.fragmentId),null!=e.isAutoRerun&&e.hasOwnProperty("isAutoRerun")&&(n.isAutoRerun=e.isAutoRerun),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/ClientState"},e})(),s.Code=(()=>{function e(e){if(e)for(let t=Object.keys(e),n=0;n>>3){case 1:r.codeText=e.string();break;case 2:r.language=e.string();break;case 3:r.showLineNumbers=e.bool();break;case 4:r.wrapLines=e.bool();break;default:e.skipType(7&t)}}return r},e.decodeDelimited=function(e){return e instanceof o||(e=new o(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null!=e.codeText&&e.hasOwnProperty("codeText")&&!a.isString(e.codeText)?"codeText: string expected":null!=e.language&&e.hasOwnProperty("language")&&!a.isString(e.language)?"language: string expected":null!=e.showLineNumbers&&e.hasOwnProperty("showLineNumbers")&&"boolean"!==typeof e.showLineNumbers?"showLineNumbers: boolean expected":null!=e.wrapLines&&e.hasOwnProperty("wrapLines")&&"boolean"!==typeof e.wrapLines?"wrapLines: boolean expected":null},e.fromObject=function(e){if(e instanceof s.Code)return e;let t=new s.Code;return null!=e.codeText&&(t.codeText=String(e.codeText)),null!=e.language&&(t.language=String(e.language)),null!=e.showLineNumbers&&(t.showLineNumbers=Boolean(e.showLineNumbers)),null!=e.wrapLines&&(t.wrapLines=Boolean(e.wrapLines)),t},e.toObject=function(e,t){t||(t={});let n={};return t.defaults&&(n.codeText="",n.language="",n.showLineNumbers=!1,n.wrapLines=!1),null!=e.codeText&&e.hasOwnProperty("codeText")&&(n.codeText=e.codeText),null!=e.language&&e.hasOwnProperty("language")&&(n.language=e.language),null!=e.showLineNumbers&&e.hasOwnProperty("showLineNumbers")&&(n.showLineNumbers=e.showLineNumbers),null!=e.wrapLines&&e.hasOwnProperty("wrapLines")&&(n.wrapLines=e.wrapLines),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/Code"},e})(),s.ColorPicker=(()=>{function e(e){if(e)for(let t=Object.keys(e),n=0;n>>3){case 1:r.id=e.string();break;case 2:r.label=e.string();break;case 3:r.default=e.string();break;case 4:r.help=e.string();break;case 5:r.formId=e.string();break;case 6:r.value=e.string();break;case 7:r.setValue=e.bool();break;case 8:r.disabled=e.bool();break;case 9:r.labelVisibility=s.LabelVisibilityMessage.decode(e,e.uint32());break;default:e.skipType(7&t)}}return r},e.decodeDelimited=function(e){return e instanceof o||(e=new o(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.id&&e.hasOwnProperty("id")&&!a.isString(e.id))return"id: string expected";if(null!=e.label&&e.hasOwnProperty("label")&&!a.isString(e.label))return"label: string expected";if(null!=e.default&&e.hasOwnProperty("default")&&!a.isString(e.default))return"default: string expected";if(null!=e.help&&e.hasOwnProperty("help")&&!a.isString(e.help))return"help: string expected";if(null!=e.formId&&e.hasOwnProperty("formId")&&!a.isString(e.formId))return"formId: string expected";if(null!=e.value&&e.hasOwnProperty("value")&&!a.isString(e.value))return"value: string expected";if(null!=e.setValue&&e.hasOwnProperty("setValue")&&"boolean"!==typeof e.setValue)return"setValue: boolean expected";if(null!=e.disabled&&e.hasOwnProperty("disabled")&&"boolean"!==typeof e.disabled)return"disabled: boolean expected";if(null!=e.labelVisibility&&e.hasOwnProperty("labelVisibility")){let t=s.LabelVisibilityMessage.verify(e.labelVisibility);if(t)return"labelVisibility."+t}return null},e.fromObject=function(e){if(e instanceof s.ColorPicker)return e;let t=new s.ColorPicker;if(null!=e.id&&(t.id=String(e.id)),null!=e.label&&(t.label=String(e.label)),null!=e.default&&(t.default=String(e.default)),null!=e.help&&(t.help=String(e.help)),null!=e.formId&&(t.formId=String(e.formId)),null!=e.value&&(t.value=String(e.value)),null!=e.setValue&&(t.setValue=Boolean(e.setValue)),null!=e.disabled&&(t.disabled=Boolean(e.disabled)),null!=e.labelVisibility){if("object"!==typeof e.labelVisibility)throw TypeError(".ColorPicker.labelVisibility: object expected");t.labelVisibility=s.LabelVisibilityMessage.fromObject(e.labelVisibility)}return t},e.toObject=function(e,t){t||(t={});let n={};return t.defaults&&(n.id="",n.label="",n.default="",n.help="",n.formId="",n.value="",n.setValue=!1,n.disabled=!1,n.labelVisibility=null),null!=e.id&&e.hasOwnProperty("id")&&(n.id=e.id),null!=e.label&&e.hasOwnProperty("label")&&(n.label=e.label),null!=e.default&&e.hasOwnProperty("default")&&(n.default=e.default),null!=e.help&&e.hasOwnProperty("help")&&(n.help=e.help),null!=e.formId&&e.hasOwnProperty("formId")&&(n.formId=e.formId),null!=e.value&&e.hasOwnProperty("value")&&(n.value=e.value),null!=e.setValue&&e.hasOwnProperty("setValue")&&(n.setValue=e.setValue),null!=e.disabled&&e.hasOwnProperty("disabled")&&(n.disabled=e.disabled),null!=e.labelVisibility&&e.hasOwnProperty("labelVisibility")&&(n.labelVisibility=s.LabelVisibilityMessage.toObject(e.labelVisibility,t)),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/ColorPicker"},e})(),s.StringArray=(()=>{function e(e){if(this.data=[],e)for(let t=Object.keys(e),n=0;n>>3===1)r.data&&r.data.length||(r.data=[]),r.data.push(e.string());else e.skipType(7&t)}return r},e.decodeDelimited=function(e){return e instanceof o||(e=new o(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.data&&e.hasOwnProperty("data")){if(!Array.isArray(e.data))return"data: array expected";for(let t=0;t{function e(e){if(this.data=[],e)for(let t=Object.keys(e),n=0;n>>3===1)if(r.data&&r.data.length||(r.data=[]),2===(7&t)){let t=e.uint32()+e.pos;for(;e.pos{function e(e){if(this.data=[],e)for(let t=Object.keys(e),n=0;n>>3===1)if(r.data&&r.data.length||(r.data=[]),2===(7&t)){let t=e.uint32()+e.pos;for(;e.pos{function e(e){if(this.data=[],e)for(let t=Object.keys(e),n=0;n>>3===1)if(r.data&&r.data.length||(r.data=[]),2===(7&t)){let t=e.uint32()+e.pos;for(;e.pos>>0,e.data[n].high>>>0).toNumber())}return t},e.toObject=function(e,t){t||(t={});let n={};if((t.arrays||t.defaults)&&(n.data=[]),e.data&&e.data.length){n.data=[];for(let r=0;r>>0,e.data[r].high>>>0).toNumber():e.data[r]}return n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/Int64Array"},e})(),s.SInt64Array=(()=>{function e(e){if(this.data=[],e)for(let t=Object.keys(e),n=0;n>>3===1)if(r.data&&r.data.length||(r.data=[]),2===(7&t)){let t=e.uint32()+e.pos;for(;e.pos>>0,e.data[n].high>>>0).toNumber())}return t},e.toObject=function(e,t){t||(t={});let n={};if((t.arrays||t.defaults)&&(n.data=[]),e.data&&e.data.length){n.data=[];for(let r=0;r>>0,e.data[r].high>>>0).toNumber():e.data[r]}return n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/SInt64Array"},e})()),g=(s.UInt32Array=(()=>{function e(e){if(this.data=[],e)for(let t=Object.keys(e),n=0;n>>3===1)if(r.data&&r.data.length||(r.data=[]),2===(7&t)){let t=e.uint32()+e.pos;for(;e.pos>>0}return t},e.toObject=function(e,t){t||(t={});let n={};if((t.arrays||t.defaults)&&(n.data=[]),e.data&&e.data.length){n.data=[];for(let t=0;t{function e(e){if(e)for(let t=Object.keys(e),n=0;n>>3===1)r.data=e.string();else e.skipType(7&t)}return r},e.decodeDelimited=function(e){return e instanceof o||(e=new o(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";let t={};return null!=e.data&&e.hasOwnProperty("data")&&(t._data=1,!a.isString(e.data))?"data: string expected":null},e.fromObject=function(e){if(e instanceof s.StringTriggerValue)return e;let t=new s.StringTriggerValue;return null!=e.data&&(t.data=String(e.data)),t},e.toObject=function(e,t){t||(t={});let n={};return null!=e.data&&e.hasOwnProperty("data")&&(n.data=e.data,t.oneofs&&(n._data="data")),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/StringTriggerValue"},e})()),O=(s.FileURLsRequest=(()=>{function e(e){if(this.fileNames=[],e)for(let t=Object.keys(e),n=0;n>>3){case 1:r.requestId=e.string();break;case 2:r.fileNames&&r.fileNames.length||(r.fileNames=[]),r.fileNames.push(e.string());break;case 3:r.sessionId=e.string();break;default:e.skipType(7&t)}}return r},e.decodeDelimited=function(e){return e instanceof o||(e=new o(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.requestId&&e.hasOwnProperty("requestId")&&!a.isString(e.requestId))return"requestId: string expected";if(null!=e.fileNames&&e.hasOwnProperty("fileNames")){if(!Array.isArray(e.fileNames))return"fileNames: array expected";for(let t=0;t{function e(e){if(e)for(let t=Object.keys(e),n=0;n>>3){case 1:r.fileId=e.string();break;case 2:r.uploadUrl=e.string();break;case 3:r.deleteUrl=e.string();break;default:e.skipType(7&t)}}return r},e.decodeDelimited=function(e){return e instanceof o||(e=new o(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null!=e.fileId&&e.hasOwnProperty("fileId")&&!a.isString(e.fileId)?"fileId: string expected":null!=e.uploadUrl&&e.hasOwnProperty("uploadUrl")&&!a.isString(e.uploadUrl)?"uploadUrl: string expected":null!=e.deleteUrl&&e.hasOwnProperty("deleteUrl")&&!a.isString(e.deleteUrl)?"deleteUrl: string expected":null},e.fromObject=function(e){if(e instanceof s.FileURLs)return e;let t=new s.FileURLs;return null!=e.fileId&&(t.fileId=String(e.fileId)),null!=e.uploadUrl&&(t.uploadUrl=String(e.uploadUrl)),null!=e.deleteUrl&&(t.deleteUrl=String(e.deleteUrl)),t},e.toObject=function(e,t){t||(t={});let n={};return t.defaults&&(n.fileId="",n.uploadUrl="",n.deleteUrl=""),null!=e.fileId&&e.hasOwnProperty("fileId")&&(n.fileId=e.fileId),null!=e.uploadUrl&&e.hasOwnProperty("uploadUrl")&&(n.uploadUrl=e.uploadUrl),null!=e.deleteUrl&&e.hasOwnProperty("deleteUrl")&&(n.deleteUrl=e.deleteUrl),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/FileURLs"},e})(),s.FileURLsResponse=(()=>{function e(e){if(this.fileUrls=[],e)for(let t=Object.keys(e),n=0;n>>3){case 1:r.responseId=e.string();break;case 2:r.fileUrls&&r.fileUrls.length||(r.fileUrls=[]),r.fileUrls.push(s.FileURLs.decode(e,e.uint32()));break;case 3:r.errorMsg=e.string();break;default:e.skipType(7&t)}}return r},e.decodeDelimited=function(e){return e instanceof o||(e=new o(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.responseId&&e.hasOwnProperty("responseId")&&!a.isString(e.responseId))return"responseId: string expected";if(null!=e.fileUrls&&e.hasOwnProperty("fileUrls")){if(!Array.isArray(e.fileUrls))return"fileUrls: array expected";for(let t=0;t{function e(e){if(e)for(let t=Object.keys(e),n=0;n>>3){case 1:r.id=e.sint64();break;case 2:r.name=e.string();break;case 3:r.size=e.uint64();break;case 4:r.fileId=e.string();break;case 5:r.fileUrls=s.FileURLs.decode(e,e.uint32());break;default:e.skipType(7&t)}}return r},e.decodeDelimited=function(e){return e instanceof o||(e=new o(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.id&&e.hasOwnProperty("id")&&!a.isInteger(e.id)&&!(e.id&&a.isInteger(e.id.low)&&a.isInteger(e.id.high)))return"id: integer|Long expected";if(null!=e.name&&e.hasOwnProperty("name")&&!a.isString(e.name))return"name: string expected";if(null!=e.size&&e.hasOwnProperty("size")&&!a.isInteger(e.size)&&!(e.size&&a.isInteger(e.size.low)&&a.isInteger(e.size.high)))return"size: integer|Long expected";if(null!=e.fileId&&e.hasOwnProperty("fileId")&&!a.isString(e.fileId))return"fileId: string expected";if(null!=e.fileUrls&&e.hasOwnProperty("fileUrls")){let t=s.FileURLs.verify(e.fileUrls);if(t)return"fileUrls."+t}return null},e.fromObject=function(e){if(e instanceof s.UploadedFileInfo)return e;let t=new s.UploadedFileInfo;if(null!=e.id&&(a.Long?(t.id=a.Long.fromValue(e.id)).unsigned=!1:"string"===typeof e.id?t.id=parseInt(e.id,10):"number"===typeof e.id?t.id=e.id:"object"===typeof e.id&&(t.id=new a.LongBits(e.id.low>>>0,e.id.high>>>0).toNumber())),null!=e.name&&(t.name=String(e.name)),null!=e.size&&(a.Long?(t.size=a.Long.fromValue(e.size)).unsigned=!0:"string"===typeof e.size?t.size=parseInt(e.size,10):"number"===typeof e.size?t.size=e.size:"object"===typeof e.size&&(t.size=new a.LongBits(e.size.low>>>0,e.size.high>>>0).toNumber(!0))),null!=e.fileId&&(t.fileId=String(e.fileId)),null!=e.fileUrls){if("object"!==typeof e.fileUrls)throw TypeError(".UploadedFileInfo.fileUrls: object expected");t.fileUrls=s.FileURLs.fromObject(e.fileUrls)}return t},e.toObject=function(e,t){t||(t={});let n={};if(t.defaults){if(a.Long){let e=new a.Long(0,0,!1);n.id=t.longs===String?e.toString():t.longs===Number?e.toNumber():e}else n.id=t.longs===String?"0":0;if(n.name="",a.Long){let e=new a.Long(0,0,!0);n.size=t.longs===String?e.toString():t.longs===Number?e.toNumber():e}else n.size=t.longs===String?"0":0;n.fileId="",n.fileUrls=null}return null!=e.id&&e.hasOwnProperty("id")&&("number"===typeof e.id?n.id=t.longs===String?String(e.id):e.id:n.id=t.longs===String?a.Long.prototype.toString.call(e.id):t.longs===Number?new a.LongBits(e.id.low>>>0,e.id.high>>>0).toNumber():e.id),null!=e.name&&e.hasOwnProperty("name")&&(n.name=e.name),null!=e.size&&e.hasOwnProperty("size")&&("number"===typeof e.size?n.size=t.longs===String?String(e.size):e.size:n.size=t.longs===String?a.Long.prototype.toString.call(e.size):t.longs===Number?new a.LongBits(e.size.low>>>0,e.size.high>>>0).toNumber(!0):e.size),null!=e.fileId&&e.hasOwnProperty("fileId")&&(n.fileId=e.fileId),null!=e.fileUrls&&e.hasOwnProperty("fileUrls")&&(n.fileUrls=s.FileURLs.toObject(e.fileUrls,t)),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/UploadedFileInfo"},e})()),y=s.FileUploaderState=(()=>{function e(e){if(this.uploadedFileInfo=[],e)for(let t=Object.keys(e),n=0;n>>3){case 1:r.maxFileId=e.sint64();break;case 2:r.uploadedFileInfo&&r.uploadedFileInfo.length||(r.uploadedFileInfo=[]),r.uploadedFileInfo.push(s.UploadedFileInfo.decode(e,e.uint32()));break;default:e.skipType(7&t)}}return r},e.decodeDelimited=function(e){return e instanceof o||(e=new o(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.maxFileId&&e.hasOwnProperty("maxFileId")&&!a.isInteger(e.maxFileId)&&!(e.maxFileId&&a.isInteger(e.maxFileId.low)&&a.isInteger(e.maxFileId.high)))return"maxFileId: integer|Long expected";if(null!=e.uploadedFileInfo&&e.hasOwnProperty("uploadedFileInfo")){if(!Array.isArray(e.uploadedFileInfo))return"uploadedFileInfo: array expected";for(let t=0;t>>0,e.maxFileId.high>>>0).toNumber())),e.uploadedFileInfo){if(!Array.isArray(e.uploadedFileInfo))throw TypeError(".FileUploaderState.uploadedFileInfo: array expected");t.uploadedFileInfo=[];for(let n=0;n>>0,e.maxFileId.high>>>0).toNumber():e.maxFileId),e.uploadedFileInfo&&e.uploadedFileInfo.length){n.uploadedFileInfo=[];for(let r=0;r{function e(e){if(this.specialArgs=[],e)for(let t=Object.keys(e),n=0;n>>3){case 1:r.id=e.string();break;case 2:r.jsonArgs=e.string();break;case 3:r.specialArgs&&r.specialArgs.length||(r.specialArgs=[]),r.specialArgs.push(s.SpecialArg.decode(e,e.uint32()));break;case 4:r.componentName=e.string();break;case 5:r.url=e.string();break;case 6:r.formId=e.string();break;default:e.skipType(7&t)}}return r},e.decodeDelimited=function(e){return e instanceof o||(e=new o(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.id&&e.hasOwnProperty("id")&&!a.isString(e.id))return"id: string expected";if(null!=e.jsonArgs&&e.hasOwnProperty("jsonArgs")&&!a.isString(e.jsonArgs))return"jsonArgs: string expected";if(null!=e.specialArgs&&e.hasOwnProperty("specialArgs")){if(!Array.isArray(e.specialArgs))return"specialArgs: array expected";for(let t=0;t{function e(e){if(e)for(let t=Object.keys(e),n=0;n>>3){case 1:r.key=e.string();break;case 2:r.arrowDataframe=s.ArrowDataframe.decode(e,e.uint32());break;case 3:r.bytes=e.bytes();break;default:e.skipType(7&t)}}return r},e.decodeDelimited=function(e){return e instanceof o||(e=new o(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";let t={};if(null!=e.key&&e.hasOwnProperty("key")&&!a.isString(e.key))return"key: string expected";if(null!=e.arrowDataframe&&e.hasOwnProperty("arrowDataframe")){t.value=1;{let t=s.ArrowDataframe.verify(e.arrowDataframe);if(t)return"arrowDataframe."+t}}if(null!=e.bytes&&e.hasOwnProperty("bytes")){if(1===t.value)return"value: multiple values";if(t.value=1,!(e.bytes&&"number"===typeof e.bytes.length||a.isString(e.bytes)))return"bytes: buffer expected"}return null},e.fromObject=function(e){if(e instanceof s.SpecialArg)return e;let t=new s.SpecialArg;if(null!=e.key&&(t.key=String(e.key)),null!=e.arrowDataframe){if("object"!==typeof e.arrowDataframe)throw TypeError(".SpecialArg.arrowDataframe: object expected");t.arrowDataframe=s.ArrowDataframe.fromObject(e.arrowDataframe)}return null!=e.bytes&&("string"===typeof e.bytes?a.base64.decode(e.bytes,t.bytes=a.newBuffer(a.base64.length(e.bytes)),0):e.bytes.length>=0&&(t.bytes=e.bytes)),t},e.toObject=function(e,t){t||(t={});let n={};return t.defaults&&(n.key=""),null!=e.key&&e.hasOwnProperty("key")&&(n.key=e.key),null!=e.arrowDataframe&&e.hasOwnProperty("arrowDataframe")&&(n.arrowDataframe=s.ArrowDataframe.toObject(e.arrowDataframe,t),t.oneofs&&(n.value="arrowDataframe")),null!=e.bytes&&e.hasOwnProperty("bytes")&&(n.bytes=t.bytes===String?a.base64.encode(e.bytes,0,e.bytes.length):t.bytes===Array?Array.prototype.slice.call(e.bytes):e.bytes,t.oneofs&&(n.value="bytes")),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/SpecialArg"},e})(),s.ArrowDataframe=(()=>{function e(e){if(e)for(let t=Object.keys(e),n=0;n>>3){case 1:r.data=s.ArrowTable.decode(e,e.uint32());break;case 2:r.height=e.uint32();break;case 3:r.width=e.uint32();break;default:e.skipType(7&t)}}return r},e.decodeDelimited=function(e){return e instanceof o||(e=new o(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.data&&e.hasOwnProperty("data")){let t=s.ArrowTable.verify(e.data);if(t)return"data."+t}return null!=e.height&&e.hasOwnProperty("height")&&!a.isInteger(e.height)?"height: integer expected":null!=e.width&&e.hasOwnProperty("width")&&!a.isInteger(e.width)?"width: integer expected":null},e.fromObject=function(e){if(e instanceof s.ArrowDataframe)return e;let t=new s.ArrowDataframe;if(null!=e.data){if("object"!==typeof e.data)throw TypeError(".ArrowDataframe.data: object expected");t.data=s.ArrowTable.fromObject(e.data)}return null!=e.height&&(t.height=e.height>>>0),null!=e.width&&(t.width=e.width>>>0),t},e.toObject=function(e,t){t||(t={});let n={};return t.defaults&&(n.data=null,n.height=0,n.width=0),null!=e.data&&e.hasOwnProperty("data")&&(n.data=s.ArrowTable.toObject(e.data,t)),null!=e.height&&e.hasOwnProperty("height")&&(n.height=e.height),null!=e.width&&e.hasOwnProperty("width")&&(n.width=e.width),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/ArrowDataframe"},e})()),z=(s.ArrowTable=(()=>{function e(e){if(e)for(let t=Object.keys(e),n=0;n>>3){case 1:r.data=e.bytes();break;case 2:r.index=e.bytes();break;case 3:r.columns=e.bytes();break;case 5:r.styler=s.ArrowTableStyler.decode(e,e.uint32());break;default:e.skipType(7&t)}}return r},e.decodeDelimited=function(e){return e instanceof o||(e=new o(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.data&&e.hasOwnProperty("data")&&!(e.data&&"number"===typeof e.data.length||a.isString(e.data)))return"data: buffer expected";if(null!=e.index&&e.hasOwnProperty("index")&&!(e.index&&"number"===typeof e.index.length||a.isString(e.index)))return"index: buffer expected";if(null!=e.columns&&e.hasOwnProperty("columns")&&!(e.columns&&"number"===typeof e.columns.length||a.isString(e.columns)))return"columns: buffer expected";if(null!=e.styler&&e.hasOwnProperty("styler")){let t=s.ArrowTableStyler.verify(e.styler);if(t)return"styler."+t}return null},e.fromObject=function(e){if(e instanceof s.ArrowTable)return e;let t=new s.ArrowTable;if(null!=e.data&&("string"===typeof e.data?a.base64.decode(e.data,t.data=a.newBuffer(a.base64.length(e.data)),0):e.data.length>=0&&(t.data=e.data)),null!=e.index&&("string"===typeof e.index?a.base64.decode(e.index,t.index=a.newBuffer(a.base64.length(e.index)),0):e.index.length>=0&&(t.index=e.index)),null!=e.columns&&("string"===typeof e.columns?a.base64.decode(e.columns,t.columns=a.newBuffer(a.base64.length(e.columns)),0):e.columns.length>=0&&(t.columns=e.columns)),null!=e.styler){if("object"!==typeof e.styler)throw TypeError(".ArrowTable.styler: object expected");t.styler=s.ArrowTableStyler.fromObject(e.styler)}return t},e.toObject=function(e,t){t||(t={});let n={};return t.defaults&&(t.bytes===String?n.data="":(n.data=[],t.bytes!==Array&&(n.data=a.newBuffer(n.data))),t.bytes===String?n.index="":(n.index=[],t.bytes!==Array&&(n.index=a.newBuffer(n.index))),t.bytes===String?n.columns="":(n.columns=[],t.bytes!==Array&&(n.columns=a.newBuffer(n.columns))),n.styler=null),null!=e.data&&e.hasOwnProperty("data")&&(n.data=t.bytes===String?a.base64.encode(e.data,0,e.data.length):t.bytes===Array?Array.prototype.slice.call(e.data):e.data),null!=e.index&&e.hasOwnProperty("index")&&(n.index=t.bytes===String?a.base64.encode(e.index,0,e.index.length):t.bytes===Array?Array.prototype.slice.call(e.index):e.index),null!=e.columns&&e.hasOwnProperty("columns")&&(n.columns=t.bytes===String?a.base64.encode(e.columns,0,e.columns.length):t.bytes===Array?Array.prototype.slice.call(e.columns):e.columns),null!=e.styler&&e.hasOwnProperty("styler")&&(n.styler=s.ArrowTableStyler.toObject(e.styler,t)),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/ArrowTable"},e})(),s.ArrowTableStyler=(()=>{function e(e){if(e)for(let t=Object.keys(e),n=0;n>>3){case 1:r.uuid=e.string();break;case 2:r.caption=e.string();break;case 3:r.styles=e.string();break;case 4:r.displayValues=e.bytes();break;default:e.skipType(7&t)}}return r},e.decodeDelimited=function(e){return e instanceof o||(e=new o(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null!=e.uuid&&e.hasOwnProperty("uuid")&&!a.isString(e.uuid)?"uuid: string expected":null!=e.caption&&e.hasOwnProperty("caption")&&!a.isString(e.caption)?"caption: string expected":null!=e.styles&&e.hasOwnProperty("styles")&&!a.isString(e.styles)?"styles: string expected":null!=e.displayValues&&e.hasOwnProperty("displayValues")&&!(e.displayValues&&"number"===typeof e.displayValues.length||a.isString(e.displayValues))?"displayValues: buffer expected":null},e.fromObject=function(e){if(e instanceof s.ArrowTableStyler)return e;let t=new s.ArrowTableStyler;return null!=e.uuid&&(t.uuid=String(e.uuid)),null!=e.caption&&(t.caption=String(e.caption)),null!=e.styles&&(t.styles=String(e.styles)),null!=e.displayValues&&("string"===typeof e.displayValues?a.base64.decode(e.displayValues,t.displayValues=a.newBuffer(a.base64.length(e.displayValues)),0):e.displayValues.length>=0&&(t.displayValues=e.displayValues)),t},e.toObject=function(e,t){t||(t={});let n={};return t.defaults&&(n.uuid="",n.caption="",n.styles="",t.bytes===String?n.displayValues="":(n.displayValues=[],t.bytes!==Array&&(n.displayValues=a.newBuffer(n.displayValues)))),null!=e.uuid&&e.hasOwnProperty("uuid")&&(n.uuid=e.uuid),null!=e.caption&&e.hasOwnProperty("caption")&&(n.caption=e.caption),null!=e.styles&&e.hasOwnProperty("styles")&&(n.styles=e.styles),null!=e.displayValues&&e.hasOwnProperty("displayValues")&&(n.displayValues=t.bytes===String?a.base64.encode(e.displayValues,0,e.displayValues.length):t.bytes===Array?Array.prototype.slice.call(e.displayValues):e.displayValues),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/ArrowTableStyler"},e})(),s.DataFrame=(()=>{function e(e){if(e)for(let t=Object.keys(e),n=0;n>>3){case 1:r.data=s.Table.decode(e,e.uint32());break;case 2:r.index=s.Index.decode(e,e.uint32());break;case 3:r.columns=s.Index.decode(e,e.uint32());break;case 4:r.style=s.TableStyle.decode(e,e.uint32());break;default:e.skipType(7&t)}}return r},e.decodeDelimited=function(e){return e instanceof o||(e=new o(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.data&&e.hasOwnProperty("data")){let t=s.Table.verify(e.data);if(t)return"data."+t}if(null!=e.index&&e.hasOwnProperty("index")){let t=s.Index.verify(e.index);if(t)return"index."+t}if(null!=e.columns&&e.hasOwnProperty("columns")){let t=s.Index.verify(e.columns);if(t)return"columns."+t}if(null!=e.style&&e.hasOwnProperty("style")){let t=s.TableStyle.verify(e.style);if(t)return"style."+t}return null},e.fromObject=function(e){if(e instanceof s.DataFrame)return e;let t=new s.DataFrame;if(null!=e.data){if("object"!==typeof e.data)throw TypeError(".DataFrame.data: object expected");t.data=s.Table.fromObject(e.data)}if(null!=e.index){if("object"!==typeof e.index)throw TypeError(".DataFrame.index: object expected");t.index=s.Index.fromObject(e.index)}if(null!=e.columns){if("object"!==typeof e.columns)throw TypeError(".DataFrame.columns: object expected");t.columns=s.Index.fromObject(e.columns)}if(null!=e.style){if("object"!==typeof e.style)throw TypeError(".DataFrame.style: object expected");t.style=s.TableStyle.fromObject(e.style)}return t},e.toObject=function(e,t){t||(t={});let n={};return t.defaults&&(n.data=null,n.index=null,n.columns=null,n.style=null),null!=e.data&&e.hasOwnProperty("data")&&(n.data=s.Table.toObject(e.data,t)),null!=e.index&&e.hasOwnProperty("index")&&(n.index=s.Index.toObject(e.index,t)),null!=e.columns&&e.hasOwnProperty("columns")&&(n.columns=s.Index.toObject(e.columns,t)),null!=e.style&&e.hasOwnProperty("style")&&(n.style=s.TableStyle.toObject(e.style,t)),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/DataFrame"},e})(),s.Index=(()=>{function e(e){if(e)for(let t=Object.keys(e),n=0;n>>3){case 1:r.plainIndex=s.PlainIndex.decode(e,e.uint32());break;case 2:r.rangeIndex=s.RangeIndex.decode(e,e.uint32());break;case 4:r.multiIndex=s.MultiIndex.decode(e,e.uint32());break;case 6:r.datetimeIndex=s.DatetimeIndex.decode(e,e.uint32());break;case 7:r.timedeltaIndex=s.TimedeltaIndex.decode(e,e.uint32());break;case 9:r.int_64Index=s.Int64Index.decode(e,e.uint32());break;case 11:r.float_64Index=s.Float64Index.decode(e,e.uint32());break;default:e.skipType(7&t)}}return r},e.decodeDelimited=function(e){return e instanceof o||(e=new o(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";let t={};if(null!=e.plainIndex&&e.hasOwnProperty("plainIndex")){t.type=1;{let t=s.PlainIndex.verify(e.plainIndex);if(t)return"plainIndex."+t}}if(null!=e.rangeIndex&&e.hasOwnProperty("rangeIndex")){if(1===t.type)return"type: multiple values";t.type=1;{let t=s.RangeIndex.verify(e.rangeIndex);if(t)return"rangeIndex."+t}}if(null!=e.multiIndex&&e.hasOwnProperty("multiIndex")){if(1===t.type)return"type: multiple values";t.type=1;{let t=s.MultiIndex.verify(e.multiIndex);if(t)return"multiIndex."+t}}if(null!=e.datetimeIndex&&e.hasOwnProperty("datetimeIndex")){if(1===t.type)return"type: multiple values";t.type=1;{let t=s.DatetimeIndex.verify(e.datetimeIndex);if(t)return"datetimeIndex."+t}}if(null!=e.timedeltaIndex&&e.hasOwnProperty("timedeltaIndex")){if(1===t.type)return"type: multiple values";t.type=1;{let t=s.TimedeltaIndex.verify(e.timedeltaIndex);if(t)return"timedeltaIndex."+t}}if(null!=e.int_64Index&&e.hasOwnProperty("int_64Index")){if(1===t.type)return"type: multiple values";t.type=1;{let t=s.Int64Index.verify(e.int_64Index);if(t)return"int_64Index."+t}}if(null!=e.float_64Index&&e.hasOwnProperty("float_64Index")){if(1===t.type)return"type: multiple values";t.type=1;{let t=s.Float64Index.verify(e.float_64Index);if(t)return"float_64Index."+t}}return null},e.fromObject=function(e){if(e instanceof s.Index)return e;let t=new s.Index;if(null!=e.plainIndex){if("object"!==typeof e.plainIndex)throw TypeError(".Index.plainIndex: object expected");t.plainIndex=s.PlainIndex.fromObject(e.plainIndex)}if(null!=e.rangeIndex){if("object"!==typeof e.rangeIndex)throw TypeError(".Index.rangeIndex: object expected");t.rangeIndex=s.RangeIndex.fromObject(e.rangeIndex)}if(null!=e.multiIndex){if("object"!==typeof e.multiIndex)throw TypeError(".Index.multiIndex: object expected");t.multiIndex=s.MultiIndex.fromObject(e.multiIndex)}if(null!=e.datetimeIndex){if("object"!==typeof e.datetimeIndex)throw TypeError(".Index.datetimeIndex: object expected");t.datetimeIndex=s.DatetimeIndex.fromObject(e.datetimeIndex)}if(null!=e.timedeltaIndex){if("object"!==typeof e.timedeltaIndex)throw TypeError(".Index.timedeltaIndex: object expected");t.timedeltaIndex=s.TimedeltaIndex.fromObject(e.timedeltaIndex)}if(null!=e.int_64Index){if("object"!==typeof e.int_64Index)throw TypeError(".Index.int_64Index: object expected");t.int_64Index=s.Int64Index.fromObject(e.int_64Index)}if(null!=e.float_64Index){if("object"!==typeof e.float_64Index)throw TypeError(".Index.float_64Index: object expected");t.float_64Index=s.Float64Index.fromObject(e.float_64Index)}return t},e.toObject=function(e,t){t||(t={});let n={};return null!=e.plainIndex&&e.hasOwnProperty("plainIndex")&&(n.plainIndex=s.PlainIndex.toObject(e.plainIndex,t),t.oneofs&&(n.type="plainIndex")),null!=e.rangeIndex&&e.hasOwnProperty("rangeIndex")&&(n.rangeIndex=s.RangeIndex.toObject(e.rangeIndex,t),t.oneofs&&(n.type="rangeIndex")),null!=e.multiIndex&&e.hasOwnProperty("multiIndex")&&(n.multiIndex=s.MultiIndex.toObject(e.multiIndex,t),t.oneofs&&(n.type="multiIndex")),null!=e.datetimeIndex&&e.hasOwnProperty("datetimeIndex")&&(n.datetimeIndex=s.DatetimeIndex.toObject(e.datetimeIndex,t),t.oneofs&&(n.type="datetimeIndex")),null!=e.timedeltaIndex&&e.hasOwnProperty("timedeltaIndex")&&(n.timedeltaIndex=s.TimedeltaIndex.toObject(e.timedeltaIndex,t),t.oneofs&&(n.type="timedeltaIndex")),null!=e.int_64Index&&e.hasOwnProperty("int_64Index")&&(n.int_64Index=s.Int64Index.toObject(e.int_64Index,t),t.oneofs&&(n.type="int_64Index")),null!=e.float_64Index&&e.hasOwnProperty("float_64Index")&&(n.float_64Index=s.Float64Index.toObject(e.float_64Index,t),t.oneofs&&(n.type="float_64Index")),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/Index"},e})(),s.PlainIndex=(()=>{function e(e){if(e)for(let t=Object.keys(e),n=0;n>>3===1)r.data=s.AnyArray.decode(e,e.uint32());else e.skipType(7&t)}return r},e.decodeDelimited=function(e){return e instanceof o||(e=new o(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.data&&e.hasOwnProperty("data")){let t=s.AnyArray.verify(e.data);if(t)return"data."+t}return null},e.fromObject=function(e){if(e instanceof s.PlainIndex)return e;let t=new s.PlainIndex;if(null!=e.data){if("object"!==typeof e.data)throw TypeError(".PlainIndex.data: object expected");t.data=s.AnyArray.fromObject(e.data)}return t},e.toObject=function(e,t){t||(t={});let n={};return t.defaults&&(n.data=null),null!=e.data&&e.hasOwnProperty("data")&&(n.data=s.AnyArray.toObject(e.data,t)),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/PlainIndex"},e})(),s.RangeIndex=(()=>{function e(e){if(e)for(let t=Object.keys(e),n=0;n>>3){case 1:r.start=e.int64();break;case 2:r.stop=e.int64();break;default:e.skipType(7&t)}}return r},e.decodeDelimited=function(e){return e instanceof o||(e=new o(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null==e.start||!e.hasOwnProperty("start")||a.isInteger(e.start)||e.start&&a.isInteger(e.start.low)&&a.isInteger(e.start.high)?null==e.stop||!e.hasOwnProperty("stop")||a.isInteger(e.stop)||e.stop&&a.isInteger(e.stop.low)&&a.isInteger(e.stop.high)?null:"stop: integer|Long expected":"start: integer|Long expected"},e.fromObject=function(e){if(e instanceof s.RangeIndex)return e;let t=new s.RangeIndex;return null!=e.start&&(a.Long?(t.start=a.Long.fromValue(e.start)).unsigned=!1:"string"===typeof e.start?t.start=parseInt(e.start,10):"number"===typeof e.start?t.start=e.start:"object"===typeof e.start&&(t.start=new a.LongBits(e.start.low>>>0,e.start.high>>>0).toNumber())),null!=e.stop&&(a.Long?(t.stop=a.Long.fromValue(e.stop)).unsigned=!1:"string"===typeof e.stop?t.stop=parseInt(e.stop,10):"number"===typeof e.stop?t.stop=e.stop:"object"===typeof e.stop&&(t.stop=new a.LongBits(e.stop.low>>>0,e.stop.high>>>0).toNumber())),t},e.toObject=function(e,t){t||(t={});let n={};if(t.defaults){if(a.Long){let e=new a.Long(0,0,!1);n.start=t.longs===String?e.toString():t.longs===Number?e.toNumber():e}else n.start=t.longs===String?"0":0;if(a.Long){let e=new a.Long(0,0,!1);n.stop=t.longs===String?e.toString():t.longs===Number?e.toNumber():e}else n.stop=t.longs===String?"0":0}return null!=e.start&&e.hasOwnProperty("start")&&("number"===typeof e.start?n.start=t.longs===String?String(e.start):e.start:n.start=t.longs===String?a.Long.prototype.toString.call(e.start):t.longs===Number?new a.LongBits(e.start.low>>>0,e.start.high>>>0).toNumber():e.start),null!=e.stop&&e.hasOwnProperty("stop")&&("number"===typeof e.stop?n.stop=t.longs===String?String(e.stop):e.stop:n.stop=t.longs===String?a.Long.prototype.toString.call(e.stop):t.longs===Number?new a.LongBits(e.stop.low>>>0,e.stop.high>>>0).toNumber():e.stop),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/RangeIndex"},e})(),s.MultiIndex=(()=>{function e(e){if(this.levels=[],this.labels=[],e)for(let t=Object.keys(e),n=0;n>>3){case 1:r.levels&&r.levels.length||(r.levels=[]),r.levels.push(s.Index.decode(e,e.uint32()));break;case 2:r.labels&&r.labels.length||(r.labels=[]),r.labels.push(s.Int32Array.decode(e,e.uint32()));break;default:e.skipType(7&t)}}return r},e.decodeDelimited=function(e){return e instanceof o||(e=new o(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.levels&&e.hasOwnProperty("levels")){if(!Array.isArray(e.levels))return"levels: array expected";for(let t=0;t{function e(e){if(e)for(let t=Object.keys(e),n=0;n>>3===1)r.data=s.StringArray.decode(e,e.uint32());else e.skipType(7&t)}return r},e.decodeDelimited=function(e){return e instanceof o||(e=new o(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.data&&e.hasOwnProperty("data")){let t=s.StringArray.verify(e.data);if(t)return"data."+t}return null},e.fromObject=function(e){if(e instanceof s.DatetimeIndex)return e;let t=new s.DatetimeIndex;if(null!=e.data){if("object"!==typeof e.data)throw TypeError(".DatetimeIndex.data: object expected");t.data=s.StringArray.fromObject(e.data)}return t},e.toObject=function(e,t){t||(t={});let n={};return t.defaults&&(n.data=null),null!=e.data&&e.hasOwnProperty("data")&&(n.data=s.StringArray.toObject(e.data,t)),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/DatetimeIndex"},e})(),s.TimedeltaIndex=(()=>{function e(e){if(e)for(let t=Object.keys(e),n=0;n>>3===1)r.data=s.Int64Array.decode(e,e.uint32());else e.skipType(7&t)}return r},e.decodeDelimited=function(e){return e instanceof o||(e=new o(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.data&&e.hasOwnProperty("data")){let t=s.Int64Array.verify(e.data);if(t)return"data."+t}return null},e.fromObject=function(e){if(e instanceof s.TimedeltaIndex)return e;let t=new s.TimedeltaIndex;if(null!=e.data){if("object"!==typeof e.data)throw TypeError(".TimedeltaIndex.data: object expected");t.data=s.Int64Array.fromObject(e.data)}return t},e.toObject=function(e,t){t||(t={});let n={};return t.defaults&&(n.data=null),null!=e.data&&e.hasOwnProperty("data")&&(n.data=s.Int64Array.toObject(e.data,t)),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/TimedeltaIndex"},e})(),s.Int64Index=(()=>{function e(e){if(e)for(let t=Object.keys(e),n=0;n>>3===1)r.data=s.Int64Array.decode(e,e.uint32());else e.skipType(7&t)}return r},e.decodeDelimited=function(e){return e instanceof o||(e=new o(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.data&&e.hasOwnProperty("data")){let t=s.Int64Array.verify(e.data);if(t)return"data."+t}return null},e.fromObject=function(e){if(e instanceof s.Int64Index)return e;let t=new s.Int64Index;if(null!=e.data){if("object"!==typeof e.data)throw TypeError(".Int64Index.data: object expected");t.data=s.Int64Array.fromObject(e.data)}return t},e.toObject=function(e,t){t||(t={});let n={};return t.defaults&&(n.data=null),null!=e.data&&e.hasOwnProperty("data")&&(n.data=s.Int64Array.toObject(e.data,t)),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/Int64Index"},e})(),s.Float64Index=(()=>{function e(e){if(e)for(let t=Object.keys(e),n=0;n>>3===1)r.data=s.DoubleArray.decode(e,e.uint32());else e.skipType(7&t)}return r},e.decodeDelimited=function(e){return e instanceof o||(e=new o(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.data&&e.hasOwnProperty("data")){let t=s.DoubleArray.verify(e.data);if(t)return"data."+t}return null},e.fromObject=function(e){if(e instanceof s.Float64Index)return e;let t=new s.Float64Index;if(null!=e.data){if("object"!==typeof e.data)throw TypeError(".Float64Index.data: object expected");t.data=s.DoubleArray.fromObject(e.data)}return t},e.toObject=function(e,t){t||(t={});let n={};return t.defaults&&(n.data=null),null!=e.data&&e.hasOwnProperty("data")&&(n.data=s.DoubleArray.toObject(e.data,t)),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/Float64Index"},e})(),s.CSSStyle=(()=>{function e(e){if(e)for(let t=Object.keys(e),n=0;n>>3){case 1:r.property=e.string();break;case 2:r.value=e.string();break;default:e.skipType(7&t)}}return r},e.decodeDelimited=function(e){return e instanceof o||(e=new o(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null!=e.property&&e.hasOwnProperty("property")&&!a.isString(e.property)?"property: string expected":null!=e.value&&e.hasOwnProperty("value")&&!a.isString(e.value)?"value: string expected":null},e.fromObject=function(e){if(e instanceof s.CSSStyle)return e;let t=new s.CSSStyle;return null!=e.property&&(t.property=String(e.property)),null!=e.value&&(t.value=String(e.value)),t},e.toObject=function(e,t){t||(t={});let n={};return t.defaults&&(n.property="",n.value=""),null!=e.property&&e.hasOwnProperty("property")&&(n.property=e.property),null!=e.value&&e.hasOwnProperty("value")&&(n.value=e.value),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/CSSStyle"},e})(),s.CellStyle=(()=>{function e(e){if(this.css=[],e)for(let t=Object.keys(e),n=0;n>>3){case 1:r.css&&r.css.length||(r.css=[]),r.css.push(s.CSSStyle.decode(e,e.uint32()));break;case 2:r.displayValue=e.string();break;case 3:r.hasDisplayValue=e.bool();break;default:e.skipType(7&t)}}return r},e.decodeDelimited=function(e){return e instanceof o||(e=new o(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.css&&e.hasOwnProperty("css")){if(!Array.isArray(e.css))return"css: array expected";for(let t=0;t{function e(e){if(this.styles=[],e)for(let t=Object.keys(e),n=0;n>>3===1)r.styles&&r.styles.length||(r.styles=[]),r.styles.push(s.CellStyle.decode(e,e.uint32()));else e.skipType(7&t)}return r},e.decodeDelimited=function(e){return e instanceof o||(e=new o(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.styles&&e.hasOwnProperty("styles")){if(!Array.isArray(e.styles))return"styles: array expected";for(let t=0;t{function e(e){if(e)for(let t=Object.keys(e),n=0;n>>3){case 1:r.strings=s.StringArray.decode(e,e.uint32());break;case 2:r.doubles=s.DoubleArray.decode(e,e.uint32());break;case 3:r.int64s=s.Int64Array.decode(e,e.uint32());break;case 4:r.datetimes=s.StringArray.decode(e,e.uint32());break;case 5:r.timedeltas=s.Int64Array.decode(e,e.uint32());break;default:e.skipType(7&t)}}return r},e.decodeDelimited=function(e){return e instanceof o||(e=new o(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";let t={};if(null!=e.strings&&e.hasOwnProperty("strings")){t.type=1;{let t=s.StringArray.verify(e.strings);if(t)return"strings."+t}}if(null!=e.doubles&&e.hasOwnProperty("doubles")){if(1===t.type)return"type: multiple values";t.type=1;{let t=s.DoubleArray.verify(e.doubles);if(t)return"doubles."+t}}if(null!=e.int64s&&e.hasOwnProperty("int64s")){if(1===t.type)return"type: multiple values";t.type=1;{let t=s.Int64Array.verify(e.int64s);if(t)return"int64s."+t}}if(null!=e.datetimes&&e.hasOwnProperty("datetimes")){if(1===t.type)return"type: multiple values";t.type=1;{let t=s.StringArray.verify(e.datetimes);if(t)return"datetimes."+t}}if(null!=e.timedeltas&&e.hasOwnProperty("timedeltas")){if(1===t.type)return"type: multiple values";t.type=1;{let t=s.Int64Array.verify(e.timedeltas);if(t)return"timedeltas."+t}}return null},e.fromObject=function(e){if(e instanceof s.AnyArray)return e;let t=new s.AnyArray;if(null!=e.strings){if("object"!==typeof e.strings)throw TypeError(".AnyArray.strings: object expected");t.strings=s.StringArray.fromObject(e.strings)}if(null!=e.doubles){if("object"!==typeof e.doubles)throw TypeError(".AnyArray.doubles: object expected");t.doubles=s.DoubleArray.fromObject(e.doubles)}if(null!=e.int64s){if("object"!==typeof e.int64s)throw TypeError(".AnyArray.int64s: object expected");t.int64s=s.Int64Array.fromObject(e.int64s)}if(null!=e.datetimes){if("object"!==typeof e.datetimes)throw TypeError(".AnyArray.datetimes: object expected");t.datetimes=s.StringArray.fromObject(e.datetimes)}if(null!=e.timedeltas){if("object"!==typeof e.timedeltas)throw TypeError(".AnyArray.timedeltas: object expected");t.timedeltas=s.Int64Array.fromObject(e.timedeltas)}return t},e.toObject=function(e,t){t||(t={});let n={};return null!=e.strings&&e.hasOwnProperty("strings")&&(n.strings=s.StringArray.toObject(e.strings,t),t.oneofs&&(n.type="strings")),null!=e.doubles&&e.hasOwnProperty("doubles")&&(n.doubles=s.DoubleArray.toObject(e.doubles,t),t.oneofs&&(n.type="doubles")),null!=e.int64s&&e.hasOwnProperty("int64s")&&(n.int64s=s.Int64Array.toObject(e.int64s,t),t.oneofs&&(n.type="int64s")),null!=e.datetimes&&e.hasOwnProperty("datetimes")&&(n.datetimes=s.StringArray.toObject(e.datetimes,t),t.oneofs&&(n.type="datetimes")),null!=e.timedeltas&&e.hasOwnProperty("timedeltas")&&(n.timedeltas=s.Int64Array.toObject(e.timedeltas,t),t.oneofs&&(n.type="timedeltas")),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/AnyArray"},e})(),s.Table=(()=>{function e(e){if(this.cols=[],e)for(let t=Object.keys(e),n=0;n>>3===1)r.cols&&r.cols.length||(r.cols=[]),r.cols.push(s.AnyArray.decode(e,e.uint32()));else e.skipType(7&t)}return r},e.decodeDelimited=function(e){return e instanceof o||(e=new o(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.cols&&e.hasOwnProperty("cols")){if(!Array.isArray(e.cols))return"cols: array expected";for(let t=0;t{function e(e){if(this.cols=[],e)for(let t=Object.keys(e),n=0;n>>3===1)r.cols&&r.cols.length||(r.cols=[]),r.cols.push(s.CellStyleArray.decode(e,e.uint32()));else e.skipType(7&t)}return r},e.decodeDelimited=function(e){return e instanceof o||(e=new o(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.cols&&e.hasOwnProperty("cols")){if(!Array.isArray(e.cols))return"cols: array expected";for(let t=0;t{function e(e){if(this.default=[],this.value=[],e)for(let t=Object.keys(e),n=0;n>>3){case 1:r.id=e.string();break;case 2:r.label=e.string();break;case 3:r.default&&r.default.length||(r.default=[]),r.default.push(e.string());break;case 4:r.min=e.string();break;case 5:r.max=e.string();break;case 6:r.isRange=e.bool();break;case 7:r.help=e.string();break;case 8:r.formId=e.string();break;case 9:r.value&&r.value.length||(r.value=[]),r.value.push(e.string());break;case 10:r.setValue=e.bool();break;case 11:r.disabled=e.bool();break;case 12:r.labelVisibility=s.LabelVisibilityMessage.decode(e,e.uint32());break;case 13:r.format=e.string();break;default:e.skipType(7&t)}}return r},e.decodeDelimited=function(e){return e instanceof o||(e=new o(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.id&&e.hasOwnProperty("id")&&!a.isString(e.id))return"id: string expected";if(null!=e.label&&e.hasOwnProperty("label")&&!a.isString(e.label))return"label: string expected";if(null!=e.default&&e.hasOwnProperty("default")){if(!Array.isArray(e.default))return"default: array expected";for(let t=0;t{function e(e){if(this.selectionMode=[],e)for(let t=Object.keys(e),n=0;n>>3){case 1:r.json=e.string();break;case 2:r.tooltip=e.string();break;case 4:r.useContainerWidth=e.bool();break;case 5:r.id=e.string();break;case 6:r.mapboxToken=e.string();break;case 7:r.width=e.uint32();break;case 8:r.height=e.uint32();break;case 9:if(r.selectionMode&&r.selectionMode.length||(r.selectionMode=[]),2===(7&t)){let t=e.uint32()+e.pos;for(;e.pos>>0),null!=e.height&&(t.height=e.height>>>0),e.selectionMode){if(!Array.isArray(e.selectionMode))throw TypeError(".DeckGlJsonChart.selectionMode: array expected");t.selectionMode=[];for(let n=0;n{function e(e){if(e)for(let t=Object.keys(e),n=0;n>>3){case 3:r.newElement=s.Element.decode(e,e.uint32());break;case 6:r.addBlock=s.Block.decode(e,e.uint32());break;case 5:r.addRows=s.NamedDataSet.decode(e,e.uint32());break;case 7:r.arrowAddRows=s.ArrowNamedDataSet.decode(e,e.uint32());break;case 8:r.fragmentId=e.string();break;default:e.skipType(7&t)}}return r},e.decodeDelimited=function(e){return e instanceof o||(e=new o(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";let t={};if(null!=e.newElement&&e.hasOwnProperty("newElement")){t.type=1;{let t=s.Element.verify(e.newElement);if(t)return"newElement."+t}}if(null!=e.addBlock&&e.hasOwnProperty("addBlock")){if(1===t.type)return"type: multiple values";t.type=1;{let t=s.Block.verify(e.addBlock);if(t)return"addBlock."+t}}if(null!=e.addRows&&e.hasOwnProperty("addRows")){if(1===t.type)return"type: multiple values";t.type=1;{let t=s.NamedDataSet.verify(e.addRows);if(t)return"addRows."+t}}if(null!=e.arrowAddRows&&e.hasOwnProperty("arrowAddRows")){if(1===t.type)return"type: multiple values";t.type=1;{let t=s.ArrowNamedDataSet.verify(e.arrowAddRows);if(t)return"arrowAddRows."+t}}return null!=e.fragmentId&&e.hasOwnProperty("fragmentId")&&!a.isString(e.fragmentId)?"fragmentId: string expected":null},e.fromObject=function(e){if(e instanceof s.Delta)return e;let t=new s.Delta;if(null!=e.newElement){if("object"!==typeof e.newElement)throw TypeError(".Delta.newElement: object expected");t.newElement=s.Element.fromObject(e.newElement)}if(null!=e.addBlock){if("object"!==typeof e.addBlock)throw TypeError(".Delta.addBlock: object expected");t.addBlock=s.Block.fromObject(e.addBlock)}if(null!=e.addRows){if("object"!==typeof e.addRows)throw TypeError(".Delta.addRows: object expected");t.addRows=s.NamedDataSet.fromObject(e.addRows)}if(null!=e.arrowAddRows){if("object"!==typeof e.arrowAddRows)throw TypeError(".Delta.arrowAddRows: object expected");t.arrowAddRows=s.ArrowNamedDataSet.fromObject(e.arrowAddRows)}return null!=e.fragmentId&&(t.fragmentId=String(e.fragmentId)),t},e.toObject=function(e,t){t||(t={});let n={};return t.defaults&&(n.fragmentId=""),null!=e.newElement&&e.hasOwnProperty("newElement")&&(n.newElement=s.Element.toObject(e.newElement,t),t.oneofs&&(n.type="newElement")),null!=e.addRows&&e.hasOwnProperty("addRows")&&(n.addRows=s.NamedDataSet.toObject(e.addRows,t),t.oneofs&&(n.type="addRows")),null!=e.addBlock&&e.hasOwnProperty("addBlock")&&(n.addBlock=s.Block.toObject(e.addBlock,t),t.oneofs&&(n.type="addBlock")),null!=e.arrowAddRows&&e.hasOwnProperty("arrowAddRows")&&(n.arrowAddRows=s.ArrowNamedDataSet.toObject(e.arrowAddRows,t),t.oneofs&&(n.type="arrowAddRows")),null!=e.fragmentId&&e.hasOwnProperty("fragmentId")&&(n.fragmentId=e.fragmentId),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/Delta"},e})(),s.DocString=(()=>{function e(e){if(this.members=[],e)for(let t=Object.keys(e),n=0;n>>3){case 3:r.docString=e.string();break;case 4:r.type=e.string();break;case 6:r.name=e.string();break;case 7:r.value=e.string();break;case 8:r.members&&r.members.length||(r.members=[]),r.members.push(s.Member.decode(e,e.uint32()));break;default:e.skipType(7&t)}}return r},e.decodeDelimited=function(e){return e instanceof o||(e=new o(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.docString&&e.hasOwnProperty("docString")&&!a.isString(e.docString))return"docString: string expected";if(null!=e.type&&e.hasOwnProperty("type")&&!a.isString(e.type))return"type: string expected";if(null!=e.name&&e.hasOwnProperty("name")&&!a.isString(e.name))return"name: string expected";if(null!=e.value&&e.hasOwnProperty("value")&&!a.isString(e.value))return"value: string expected";if(null!=e.members&&e.hasOwnProperty("members")){if(!Array.isArray(e.members))return"members: array expected";for(let t=0;t{function e(e){if(e)for(let t=Object.keys(e),n=0;n>>3){case 1:r.name=e.string();break;case 2:r.type=e.string();break;case 3:r.value=e.string();break;case 4:r.docString=e.string();break;default:e.skipType(7&t)}}return r},e.decodeDelimited=function(e){return e instanceof o||(e=new o(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";let t={};if(null!=e.name&&e.hasOwnProperty("name")&&!a.isString(e.name))return"name: string expected";if(null!=e.type&&e.hasOwnProperty("type")&&!a.isString(e.type))return"type: string expected";if(null!=e.value&&e.hasOwnProperty("value")&&(t.contents=1,!a.isString(e.value)))return"value: string expected";if(null!=e.docString&&e.hasOwnProperty("docString")){if(1===t.contents)return"contents: multiple values";if(t.contents=1,!a.isString(e.docString))return"docString: string expected"}return null},e.fromObject=function(e){if(e instanceof s.Member)return e;let t=new s.Member;return null!=e.name&&(t.name=String(e.name)),null!=e.type&&(t.type=String(e.type)),null!=e.value&&(t.value=String(e.value)),null!=e.docString&&(t.docString=String(e.docString)),t},e.toObject=function(e,t){t||(t={});let n={};return t.defaults&&(n.name="",n.type=""),null!=e.name&&e.hasOwnProperty("name")&&(n.name=e.name),null!=e.type&&e.hasOwnProperty("type")&&(n.type=e.type),null!=e.value&&e.hasOwnProperty("value")&&(n.value=e.value,t.oneofs&&(n.contents="value")),null!=e.docString&&e.hasOwnProperty("docString")&&(n.docString=e.docString,t.oneofs&&(n.contents="docString")),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/Member"},e})(),s.DownloadButton=(()=>{function e(e){if(e)for(let t=Object.keys(e),n=0;n>>3){case 1:r.id=e.string();break;case 2:r.label=e.string();break;case 3:r.default=e.bool();break;case 4:r.help=e.string();break;case 5:r.formId=e.string();break;case 6:r.url=e.string();break;case 7:r.disabled=e.bool();break;case 8:r.useContainerWidth=e.bool();break;case 9:r.type=e.string();break;case 10:r.icon=e.string();break;default:e.skipType(7&t)}}return r},e.decodeDelimited=function(e){return e instanceof o||(e=new o(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null!=e.id&&e.hasOwnProperty("id")&&!a.isString(e.id)?"id: string expected":null!=e.label&&e.hasOwnProperty("label")&&!a.isString(e.label)?"label: string expected":null!=e.default&&e.hasOwnProperty("default")&&"boolean"!==typeof e.default?"default: boolean expected":null!=e.help&&e.hasOwnProperty("help")&&!a.isString(e.help)?"help: string expected":null!=e.formId&&e.hasOwnProperty("formId")&&!a.isString(e.formId)?"formId: string expected":null!=e.url&&e.hasOwnProperty("url")&&!a.isString(e.url)?"url: string expected":null!=e.disabled&&e.hasOwnProperty("disabled")&&"boolean"!==typeof e.disabled?"disabled: boolean expected":null!=e.useContainerWidth&&e.hasOwnProperty("useContainerWidth")&&"boolean"!==typeof e.useContainerWidth?"useContainerWidth: boolean expected":null!=e.type&&e.hasOwnProperty("type")&&!a.isString(e.type)?"type: string expected":null!=e.icon&&e.hasOwnProperty("icon")&&!a.isString(e.icon)?"icon: string expected":null},e.fromObject=function(e){if(e instanceof s.DownloadButton)return e;let t=new s.DownloadButton;return null!=e.id&&(t.id=String(e.id)),null!=e.label&&(t.label=String(e.label)),null!=e.default&&(t.default=Boolean(e.default)),null!=e.help&&(t.help=String(e.help)),null!=e.formId&&(t.formId=String(e.formId)),null!=e.url&&(t.url=String(e.url)),null!=e.disabled&&(t.disabled=Boolean(e.disabled)),null!=e.useContainerWidth&&(t.useContainerWidth=Boolean(e.useContainerWidth)),null!=e.type&&(t.type=String(e.type)),null!=e.icon&&(t.icon=String(e.icon)),t},e.toObject=function(e,t){t||(t={});let n={};return t.defaults&&(n.id="",n.label="",n.default=!1,n.help="",n.formId="",n.url="",n.disabled=!1,n.useContainerWidth=!1,n.type="",n.icon=""),null!=e.id&&e.hasOwnProperty("id")&&(n.id=e.id),null!=e.label&&e.hasOwnProperty("label")&&(n.label=e.label),null!=e.default&&e.hasOwnProperty("default")&&(n.default=e.default),null!=e.help&&e.hasOwnProperty("help")&&(n.help=e.help),null!=e.formId&&e.hasOwnProperty("formId")&&(n.formId=e.formId),null!=e.url&&e.hasOwnProperty("url")&&(n.url=e.url),null!=e.disabled&&e.hasOwnProperty("disabled")&&(n.disabled=e.disabled),null!=e.useContainerWidth&&e.hasOwnProperty("useContainerWidth")&&(n.useContainerWidth=e.useContainerWidth),null!=e.type&&e.hasOwnProperty("type")&&(n.type=e.type),null!=e.icon&&e.hasOwnProperty("icon")&&(n.icon=e.icon),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/DownloadButton"},e})(),s.Element=(()=>{function e(e){if(e)for(let t=Object.keys(e),n=0;n>>3){case 30:r.alert=s.Alert.decode(e,e.uint32());break;case 40:r.arrowDataFrame=s.Arrow.decode(e,e.uint32());break;case 39:r.arrowTable=s.Arrow.decode(e,e.uint32());break;case 41:r.arrowVegaLiteChart=s.ArrowVegaLiteChart.decode(e,e.uint32());break;case 13:r.audio=s.Audio.decode(e,e.uint32());break;case 56:r.audioInput=s.AudioInput.decode(e,e.uint32());break;case 12:r.balloons=s.Balloons.decode(e,e.uint32());break;case 17:r.bokehChart=s.BokehChart.decode(e,e.uint32());break;case 19:r.button=s.Button.decode(e,e.uint32());break;case 55:r.buttonGroup=s.ButtonGroup.decode(e,e.uint32());break;case 43:r.downloadButton=s.DownloadButton.decode(e,e.uint32());break;case 45:r.cameraInput=s.CameraInput.decode(e,e.uint32());break;case 49:r.chatInput=s.ChatInput.decode(e,e.uint32());break;case 20:r.checkbox=s.Checkbox.decode(e,e.uint32());break;case 35:r.colorPicker=s.ColorPicker.decode(e,e.uint32());break;case 37:r.componentInstance=s.ComponentInstance.decode(e,e.uint32());break;case 3:r.dataFrame=s.DataFrame.decode(e,e.uint32());break;case 11:r.table=s.DataFrame.decode(e,e.uint32());break;case 27:r.dateInput=s.DateInput.decode(e,e.uint32());break;case 34:r.deckGlJsonChart=s.DeckGlJsonChart.decode(e,e.uint32());break;case 7:r.docString=s.DocString.decode(e,e.uint32());break;case 2:r.empty=s.Empty.decode(e,e.uint32());break;case 8:r.exception=s.Exception.decode(e,e.uint32());break;case 36:r.favicon=s.Favicon.decode(e,e.uint32());break;case 33:r.fileUploader=s.FileUploader.decode(e,e.uint32());break;case 18:r.graphvizChart=s.GraphVizChart.decode(e,e.uint32());break;case 54:r.html=s.Html.decode(e,e.uint32());break;case 38:r.iframe=s.IFrame.decode(e,e.uint32());break;case 6:r.imgs=s.ImageList.decode(e,e.uint32());break;case 31:r.json=s.Json.decode(e,e.uint32());break;case 51:r.linkButton=s.LinkButton.decode(e,e.uint32());break;case 29:r.markdown=s.Markdown.decode(e,e.uint32());break;case 42:r.metric=s.Metric.decode(e,e.uint32());break;case 28:r.multiselect=s.MultiSelect.decode(e,e.uint32());break;case 32:r.numberInput=s.NumberInput.decode(e,e.uint32());break;case 53:r.pageLink=s.PageLink.decode(e,e.uint32());break;case 16:r.plotlyChart=s.PlotlyChart.decode(e,e.uint32());break;case 5:r.progress=s.Progress.decode(e,e.uint32());break;case 23:r.radio=s.Radio.decode(e,e.uint32());break;case 25:r.selectbox=s.Selectbox.decode(e,e.uint32());break;case 52:r.skeleton=s.Skeleton.decode(e,e.uint32());break;case 21:r.slider=s.Slider.decode(e,e.uint32());break;case 46:r.snow=s.Snow.decode(e,e.uint32());break;case 44:r.spinner=s.Spinner.decode(e,e.uint32());break;case 1:r.text=s.Text.decode(e,e.uint32());break;case 22:r.textArea=s.TextArea.decode(e,e.uint32());break;case 24:r.textInput=s.TextInput.decode(e,e.uint32());break;case 26:r.timeInput=s.TimeInput.decode(e,e.uint32());break;case 50:r.toast=s.Toast.decode(e,e.uint32());break;case 10:r.vegaLiteChart=s.VegaLiteChart.decode(e,e.uint32());break;case 14:r.video=s.Video.decode(e,e.uint32());break;case 47:r.heading=s.Heading.decode(e,e.uint32());break;case 48:r.code=s.Code.decode(e,e.uint32());break;default:e.skipType(7&t)}}return r},e.decodeDelimited=function(e){return e instanceof o||(e=new o(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";let t={};if(null!=e.alert&&e.hasOwnProperty("alert")){t.type=1;{let t=s.Alert.verify(e.alert);if(t)return"alert."+t}}if(null!=e.arrowDataFrame&&e.hasOwnProperty("arrowDataFrame")){if(1===t.type)return"type: multiple values";t.type=1;{let t=s.Arrow.verify(e.arrowDataFrame);if(t)return"arrowDataFrame."+t}}if(null!=e.arrowTable&&e.hasOwnProperty("arrowTable")){if(1===t.type)return"type: multiple values";t.type=1;{let t=s.Arrow.verify(e.arrowTable);if(t)return"arrowTable."+t}}if(null!=e.arrowVegaLiteChart&&e.hasOwnProperty("arrowVegaLiteChart")){if(1===t.type)return"type: multiple values";t.type=1;{let t=s.ArrowVegaLiteChart.verify(e.arrowVegaLiteChart);if(t)return"arrowVegaLiteChart."+t}}if(null!=e.audio&&e.hasOwnProperty("audio")){if(1===t.type)return"type: multiple values";t.type=1;{let t=s.Audio.verify(e.audio);if(t)return"audio."+t}}if(null!=e.audioInput&&e.hasOwnProperty("audioInput")){if(1===t.type)return"type: multiple values";t.type=1;{let t=s.AudioInput.verify(e.audioInput);if(t)return"audioInput."+t}}if(null!=e.balloons&&e.hasOwnProperty("balloons")){if(1===t.type)return"type: multiple values";t.type=1;{let t=s.Balloons.verify(e.balloons);if(t)return"balloons."+t}}if(null!=e.bokehChart&&e.hasOwnProperty("bokehChart")){if(1===t.type)return"type: multiple values";t.type=1;{let t=s.BokehChart.verify(e.bokehChart);if(t)return"bokehChart."+t}}if(null!=e.button&&e.hasOwnProperty("button")){if(1===t.type)return"type: multiple values";t.type=1;{let t=s.Button.verify(e.button);if(t)return"button."+t}}if(null!=e.buttonGroup&&e.hasOwnProperty("buttonGroup")){if(1===t.type)return"type: multiple values";t.type=1;{let t=s.ButtonGroup.verify(e.buttonGroup);if(t)return"buttonGroup."+t}}if(null!=e.downloadButton&&e.hasOwnProperty("downloadButton")){if(1===t.type)return"type: multiple values";t.type=1;{let t=s.DownloadButton.verify(e.downloadButton);if(t)return"downloadButton."+t}}if(null!=e.cameraInput&&e.hasOwnProperty("cameraInput")){if(1===t.type)return"type: multiple values";t.type=1;{let t=s.CameraInput.verify(e.cameraInput);if(t)return"cameraInput."+t}}if(null!=e.chatInput&&e.hasOwnProperty("chatInput")){if(1===t.type)return"type: multiple values";t.type=1;{let t=s.ChatInput.verify(e.chatInput);if(t)return"chatInput."+t}}if(null!=e.checkbox&&e.hasOwnProperty("checkbox")){if(1===t.type)return"type: multiple values";t.type=1;{let t=s.Checkbox.verify(e.checkbox);if(t)return"checkbox."+t}}if(null!=e.colorPicker&&e.hasOwnProperty("colorPicker")){if(1===t.type)return"type: multiple values";t.type=1;{let t=s.ColorPicker.verify(e.colorPicker);if(t)return"colorPicker."+t}}if(null!=e.componentInstance&&e.hasOwnProperty("componentInstance")){if(1===t.type)return"type: multiple values";t.type=1;{let t=s.ComponentInstance.verify(e.componentInstance);if(t)return"componentInstance."+t}}if(null!=e.dataFrame&&e.hasOwnProperty("dataFrame")){if(1===t.type)return"type: multiple values";t.type=1;{let t=s.DataFrame.verify(e.dataFrame);if(t)return"dataFrame."+t}}if(null!=e.table&&e.hasOwnProperty("table")){if(1===t.type)return"type: multiple values";t.type=1;{let t=s.DataFrame.verify(e.table);if(t)return"table."+t}}if(null!=e.dateInput&&e.hasOwnProperty("dateInput")){if(1===t.type)return"type: multiple values";t.type=1;{let t=s.DateInput.verify(e.dateInput);if(t)return"dateInput."+t}}if(null!=e.deckGlJsonChart&&e.hasOwnProperty("deckGlJsonChart")){if(1===t.type)return"type: multiple values";t.type=1;{let t=s.DeckGlJsonChart.verify(e.deckGlJsonChart);if(t)return"deckGlJsonChart."+t}}if(null!=e.docString&&e.hasOwnProperty("docString")){if(1===t.type)return"type: multiple values";t.type=1;{let t=s.DocString.verify(e.docString);if(t)return"docString."+t}}if(null!=e.empty&&e.hasOwnProperty("empty")){if(1===t.type)return"type: multiple values";t.type=1;{let t=s.Empty.verify(e.empty);if(t)return"empty."+t}}if(null!=e.exception&&e.hasOwnProperty("exception")){if(1===t.type)return"type: multiple values";t.type=1;{let t=s.Exception.verify(e.exception);if(t)return"exception."+t}}if(null!=e.favicon&&e.hasOwnProperty("favicon")){if(1===t.type)return"type: multiple values";t.type=1;{let t=s.Favicon.verify(e.favicon);if(t)return"favicon."+t}}if(null!=e.fileUploader&&e.hasOwnProperty("fileUploader")){if(1===t.type)return"type: multiple values";t.type=1;{let t=s.FileUploader.verify(e.fileUploader);if(t)return"fileUploader."+t}}if(null!=e.graphvizChart&&e.hasOwnProperty("graphvizChart")){if(1===t.type)return"type: multiple values";t.type=1;{let t=s.GraphVizChart.verify(e.graphvizChart);if(t)return"graphvizChart."+t}}if(null!=e.html&&e.hasOwnProperty("html")){if(1===t.type)return"type: multiple values";t.type=1;{let t=s.Html.verify(e.html);if(t)return"html."+t}}if(null!=e.iframe&&e.hasOwnProperty("iframe")){if(1===t.type)return"type: multiple values";t.type=1;{let t=s.IFrame.verify(e.iframe);if(t)return"iframe."+t}}if(null!=e.imgs&&e.hasOwnProperty("imgs")){if(1===t.type)return"type: multiple values";t.type=1;{let t=s.ImageList.verify(e.imgs);if(t)return"imgs."+t}}if(null!=e.json&&e.hasOwnProperty("json")){if(1===t.type)return"type: multiple values";t.type=1;{let t=s.Json.verify(e.json);if(t)return"json."+t}}if(null!=e.linkButton&&e.hasOwnProperty("linkButton")){if(1===t.type)return"type: multiple values";t.type=1;{let t=s.LinkButton.verify(e.linkButton);if(t)return"linkButton."+t}}if(null!=e.markdown&&e.hasOwnProperty("markdown")){if(1===t.type)return"type: multiple values";t.type=1;{let t=s.Markdown.verify(e.markdown);if(t)return"markdown."+t}}if(null!=e.metric&&e.hasOwnProperty("metric")){if(1===t.type)return"type: multiple values";t.type=1;{let t=s.Metric.verify(e.metric);if(t)return"metric."+t}}if(null!=e.multiselect&&e.hasOwnProperty("multiselect")){if(1===t.type)return"type: multiple values";t.type=1;{let t=s.MultiSelect.verify(e.multiselect);if(t)return"multiselect."+t}}if(null!=e.numberInput&&e.hasOwnProperty("numberInput")){if(1===t.type)return"type: multiple values";t.type=1;{let t=s.NumberInput.verify(e.numberInput);if(t)return"numberInput."+t}}if(null!=e.pageLink&&e.hasOwnProperty("pageLink")){if(1===t.type)return"type: multiple values";t.type=1;{let t=s.PageLink.verify(e.pageLink);if(t)return"pageLink."+t}}if(null!=e.plotlyChart&&e.hasOwnProperty("plotlyChart")){if(1===t.type)return"type: multiple values";t.type=1;{let t=s.PlotlyChart.verify(e.plotlyChart);if(t)return"plotlyChart."+t}}if(null!=e.progress&&e.hasOwnProperty("progress")){if(1===t.type)return"type: multiple values";t.type=1;{let t=s.Progress.verify(e.progress);if(t)return"progress."+t}}if(null!=e.radio&&e.hasOwnProperty("radio")){if(1===t.type)return"type: multiple values";t.type=1;{let t=s.Radio.verify(e.radio);if(t)return"radio."+t}}if(null!=e.selectbox&&e.hasOwnProperty("selectbox")){if(1===t.type)return"type: multiple values";t.type=1;{let t=s.Selectbox.verify(e.selectbox);if(t)return"selectbox."+t}}if(null!=e.skeleton&&e.hasOwnProperty("skeleton")){if(1===t.type)return"type: multiple values";t.type=1;{let t=s.Skeleton.verify(e.skeleton);if(t)return"skeleton."+t}}if(null!=e.slider&&e.hasOwnProperty("slider")){if(1===t.type)return"type: multiple values";t.type=1;{let t=s.Slider.verify(e.slider);if(t)return"slider."+t}}if(null!=e.snow&&e.hasOwnProperty("snow")){if(1===t.type)return"type: multiple values";t.type=1;{let t=s.Snow.verify(e.snow);if(t)return"snow."+t}}if(null!=e.spinner&&e.hasOwnProperty("spinner")){if(1===t.type)return"type: multiple values";t.type=1;{let t=s.Spinner.verify(e.spinner);if(t)return"spinner."+t}}if(null!=e.text&&e.hasOwnProperty("text")){if(1===t.type)return"type: multiple values";t.type=1;{let t=s.Text.verify(e.text);if(t)return"text."+t}}if(null!=e.textArea&&e.hasOwnProperty("textArea")){if(1===t.type)return"type: multiple values";t.type=1;{let t=s.TextArea.verify(e.textArea);if(t)return"textArea."+t}}if(null!=e.textInput&&e.hasOwnProperty("textInput")){if(1===t.type)return"type: multiple values";t.type=1;{let t=s.TextInput.verify(e.textInput);if(t)return"textInput."+t}}if(null!=e.timeInput&&e.hasOwnProperty("timeInput")){if(1===t.type)return"type: multiple values";t.type=1;{let t=s.TimeInput.verify(e.timeInput);if(t)return"timeInput."+t}}if(null!=e.toast&&e.hasOwnProperty("toast")){if(1===t.type)return"type: multiple values";t.type=1;{let t=s.Toast.verify(e.toast);if(t)return"toast."+t}}if(null!=e.vegaLiteChart&&e.hasOwnProperty("vegaLiteChart")){if(1===t.type)return"type: multiple values";t.type=1;{let t=s.VegaLiteChart.verify(e.vegaLiteChart);if(t)return"vegaLiteChart."+t}}if(null!=e.video&&e.hasOwnProperty("video")){if(1===t.type)return"type: multiple values";t.type=1;{let t=s.Video.verify(e.video);if(t)return"video."+t}}if(null!=e.heading&&e.hasOwnProperty("heading")){if(1===t.type)return"type: multiple values";t.type=1;{let t=s.Heading.verify(e.heading);if(t)return"heading."+t}}if(null!=e.code&&e.hasOwnProperty("code")){if(1===t.type)return"type: multiple values";t.type=1;{let t=s.Code.verify(e.code);if(t)return"code."+t}}return null},e.fromObject=function(e){if(e instanceof s.Element)return e;let t=new s.Element;if(null!=e.alert){if("object"!==typeof e.alert)throw TypeError(".Element.alert: object expected");t.alert=s.Alert.fromObject(e.alert)}if(null!=e.arrowDataFrame){if("object"!==typeof e.arrowDataFrame)throw TypeError(".Element.arrowDataFrame: object expected");t.arrowDataFrame=s.Arrow.fromObject(e.arrowDataFrame)}if(null!=e.arrowTable){if("object"!==typeof e.arrowTable)throw TypeError(".Element.arrowTable: object expected");t.arrowTable=s.Arrow.fromObject(e.arrowTable)}if(null!=e.arrowVegaLiteChart){if("object"!==typeof e.arrowVegaLiteChart)throw TypeError(".Element.arrowVegaLiteChart: object expected");t.arrowVegaLiteChart=s.ArrowVegaLiteChart.fromObject(e.arrowVegaLiteChart)}if(null!=e.audio){if("object"!==typeof e.audio)throw TypeError(".Element.audio: object expected");t.audio=s.Audio.fromObject(e.audio)}if(null!=e.audioInput){if("object"!==typeof e.audioInput)throw TypeError(".Element.audioInput: object expected");t.audioInput=s.AudioInput.fromObject(e.audioInput)}if(null!=e.balloons){if("object"!==typeof e.balloons)throw TypeError(".Element.balloons: object expected");t.balloons=s.Balloons.fromObject(e.balloons)}if(null!=e.bokehChart){if("object"!==typeof e.bokehChart)throw TypeError(".Element.bokehChart: object expected");t.bokehChart=s.BokehChart.fromObject(e.bokehChart)}if(null!=e.button){if("object"!==typeof e.button)throw TypeError(".Element.button: object expected");t.button=s.Button.fromObject(e.button)}if(null!=e.buttonGroup){if("object"!==typeof e.buttonGroup)throw TypeError(".Element.buttonGroup: object expected");t.buttonGroup=s.ButtonGroup.fromObject(e.buttonGroup)}if(null!=e.downloadButton){if("object"!==typeof e.downloadButton)throw TypeError(".Element.downloadButton: object expected");t.downloadButton=s.DownloadButton.fromObject(e.downloadButton)}if(null!=e.cameraInput){if("object"!==typeof e.cameraInput)throw TypeError(".Element.cameraInput: object expected");t.cameraInput=s.CameraInput.fromObject(e.cameraInput)}if(null!=e.chatInput){if("object"!==typeof e.chatInput)throw TypeError(".Element.chatInput: object expected");t.chatInput=s.ChatInput.fromObject(e.chatInput)}if(null!=e.checkbox){if("object"!==typeof e.checkbox)throw TypeError(".Element.checkbox: object expected");t.checkbox=s.Checkbox.fromObject(e.checkbox)}if(null!=e.colorPicker){if("object"!==typeof e.colorPicker)throw TypeError(".Element.colorPicker: object expected");t.colorPicker=s.ColorPicker.fromObject(e.colorPicker)}if(null!=e.componentInstance){if("object"!==typeof e.componentInstance)throw TypeError(".Element.componentInstance: object expected");t.componentInstance=s.ComponentInstance.fromObject(e.componentInstance)}if(null!=e.dataFrame){if("object"!==typeof e.dataFrame)throw TypeError(".Element.dataFrame: object expected");t.dataFrame=s.DataFrame.fromObject(e.dataFrame)}if(null!=e.table){if("object"!==typeof e.table)throw TypeError(".Element.table: object expected");t.table=s.DataFrame.fromObject(e.table)}if(null!=e.dateInput){if("object"!==typeof e.dateInput)throw TypeError(".Element.dateInput: object expected");t.dateInput=s.DateInput.fromObject(e.dateInput)}if(null!=e.deckGlJsonChart){if("object"!==typeof e.deckGlJsonChart)throw TypeError(".Element.deckGlJsonChart: object expected");t.deckGlJsonChart=s.DeckGlJsonChart.fromObject(e.deckGlJsonChart)}if(null!=e.docString){if("object"!==typeof e.docString)throw TypeError(".Element.docString: object expected");t.docString=s.DocString.fromObject(e.docString)}if(null!=e.empty){if("object"!==typeof e.empty)throw TypeError(".Element.empty: object expected");t.empty=s.Empty.fromObject(e.empty)}if(null!=e.exception){if("object"!==typeof e.exception)throw TypeError(".Element.exception: object expected");t.exception=s.Exception.fromObject(e.exception)}if(null!=e.favicon){if("object"!==typeof e.favicon)throw TypeError(".Element.favicon: object expected");t.favicon=s.Favicon.fromObject(e.favicon)}if(null!=e.fileUploader){if("object"!==typeof e.fileUploader)throw TypeError(".Element.fileUploader: object expected");t.fileUploader=s.FileUploader.fromObject(e.fileUploader)}if(null!=e.graphvizChart){if("object"!==typeof e.graphvizChart)throw TypeError(".Element.graphvizChart: object expected");t.graphvizChart=s.GraphVizChart.fromObject(e.graphvizChart)}if(null!=e.html){if("object"!==typeof e.html)throw TypeError(".Element.html: object expected");t.html=s.Html.fromObject(e.html)}if(null!=e.iframe){if("object"!==typeof e.iframe)throw TypeError(".Element.iframe: object expected");t.iframe=s.IFrame.fromObject(e.iframe)}if(null!=e.imgs){if("object"!==typeof e.imgs)throw TypeError(".Element.imgs: object expected");t.imgs=s.ImageList.fromObject(e.imgs)}if(null!=e.json){if("object"!==typeof e.json)throw TypeError(".Element.json: object expected");t.json=s.Json.fromObject(e.json)}if(null!=e.linkButton){if("object"!==typeof e.linkButton)throw TypeError(".Element.linkButton: object expected");t.linkButton=s.LinkButton.fromObject(e.linkButton)}if(null!=e.markdown){if("object"!==typeof e.markdown)throw TypeError(".Element.markdown: object expected");t.markdown=s.Markdown.fromObject(e.markdown)}if(null!=e.metric){if("object"!==typeof e.metric)throw TypeError(".Element.metric: object expected");t.metric=s.Metric.fromObject(e.metric)}if(null!=e.multiselect){if("object"!==typeof e.multiselect)throw TypeError(".Element.multiselect: object expected");t.multiselect=s.MultiSelect.fromObject(e.multiselect)}if(null!=e.numberInput){if("object"!==typeof e.numberInput)throw TypeError(".Element.numberInput: object expected");t.numberInput=s.NumberInput.fromObject(e.numberInput)}if(null!=e.pageLink){if("object"!==typeof e.pageLink)throw TypeError(".Element.pageLink: object expected");t.pageLink=s.PageLink.fromObject(e.pageLink)}if(null!=e.plotlyChart){if("object"!==typeof e.plotlyChart)throw TypeError(".Element.plotlyChart: object expected");t.plotlyChart=s.PlotlyChart.fromObject(e.plotlyChart)}if(null!=e.progress){if("object"!==typeof e.progress)throw TypeError(".Element.progress: object expected");t.progress=s.Progress.fromObject(e.progress)}if(null!=e.radio){if("object"!==typeof e.radio)throw TypeError(".Element.radio: object expected");t.radio=s.Radio.fromObject(e.radio)}if(null!=e.selectbox){if("object"!==typeof e.selectbox)throw TypeError(".Element.selectbox: object expected");t.selectbox=s.Selectbox.fromObject(e.selectbox)}if(null!=e.skeleton){if("object"!==typeof e.skeleton)throw TypeError(".Element.skeleton: object expected");t.skeleton=s.Skeleton.fromObject(e.skeleton)}if(null!=e.slider){if("object"!==typeof e.slider)throw TypeError(".Element.slider: object expected");t.slider=s.Slider.fromObject(e.slider)}if(null!=e.snow){if("object"!==typeof e.snow)throw TypeError(".Element.snow: object expected");t.snow=s.Snow.fromObject(e.snow)}if(null!=e.spinner){if("object"!==typeof e.spinner)throw TypeError(".Element.spinner: object expected");t.spinner=s.Spinner.fromObject(e.spinner)}if(null!=e.text){if("object"!==typeof e.text)throw TypeError(".Element.text: object expected");t.text=s.Text.fromObject(e.text)}if(null!=e.textArea){if("object"!==typeof e.textArea)throw TypeError(".Element.textArea: object expected");t.textArea=s.TextArea.fromObject(e.textArea)}if(null!=e.textInput){if("object"!==typeof e.textInput)throw TypeError(".Element.textInput: object expected");t.textInput=s.TextInput.fromObject(e.textInput)}if(null!=e.timeInput){if("object"!==typeof e.timeInput)throw TypeError(".Element.timeInput: object expected");t.timeInput=s.TimeInput.fromObject(e.timeInput)}if(null!=e.toast){if("object"!==typeof e.toast)throw TypeError(".Element.toast: object expected");t.toast=s.Toast.fromObject(e.toast)}if(null!=e.vegaLiteChart){if("object"!==typeof e.vegaLiteChart)throw TypeError(".Element.vegaLiteChart: object expected");t.vegaLiteChart=s.VegaLiteChart.fromObject(e.vegaLiteChart)}if(null!=e.video){if("object"!==typeof e.video)throw TypeError(".Element.video: object expected");t.video=s.Video.fromObject(e.video)}if(null!=e.heading){if("object"!==typeof e.heading)throw TypeError(".Element.heading: object expected");t.heading=s.Heading.fromObject(e.heading)}if(null!=e.code){if("object"!==typeof e.code)throw TypeError(".Element.code: object expected");t.code=s.Code.fromObject(e.code)}return t},e.toObject=function(e,t){t||(t={});let n={};return null!=e.text&&e.hasOwnProperty("text")&&(n.text=s.Text.toObject(e.text,t),t.oneofs&&(n.type="text")),null!=e.empty&&e.hasOwnProperty("empty")&&(n.empty=s.Empty.toObject(e.empty,t),t.oneofs&&(n.type="empty")),null!=e.dataFrame&&e.hasOwnProperty("dataFrame")&&(n.dataFrame=s.DataFrame.toObject(e.dataFrame,t),t.oneofs&&(n.type="dataFrame")),null!=e.progress&&e.hasOwnProperty("progress")&&(n.progress=s.Progress.toObject(e.progress,t),t.oneofs&&(n.type="progress")),null!=e.imgs&&e.hasOwnProperty("imgs")&&(n.imgs=s.ImageList.toObject(e.imgs,t),t.oneofs&&(n.type="imgs")),null!=e.docString&&e.hasOwnProperty("docString")&&(n.docString=s.DocString.toObject(e.docString,t),t.oneofs&&(n.type="docString")),null!=e.exception&&e.hasOwnProperty("exception")&&(n.exception=s.Exception.toObject(e.exception,t),t.oneofs&&(n.type="exception")),null!=e.vegaLiteChart&&e.hasOwnProperty("vegaLiteChart")&&(n.vegaLiteChart=s.VegaLiteChart.toObject(e.vegaLiteChart,t),t.oneofs&&(n.type="vegaLiteChart")),null!=e.table&&e.hasOwnProperty("table")&&(n.table=s.DataFrame.toObject(e.table,t),t.oneofs&&(n.type="table")),null!=e.balloons&&e.hasOwnProperty("balloons")&&(n.balloons=s.Balloons.toObject(e.balloons,t),t.oneofs&&(n.type="balloons")),null!=e.audio&&e.hasOwnProperty("audio")&&(n.audio=s.Audio.toObject(e.audio,t),t.oneofs&&(n.type="audio")),null!=e.video&&e.hasOwnProperty("video")&&(n.video=s.Video.toObject(e.video,t),t.oneofs&&(n.type="video")),null!=e.plotlyChart&&e.hasOwnProperty("plotlyChart")&&(n.plotlyChart=s.PlotlyChart.toObject(e.plotlyChart,t),t.oneofs&&(n.type="plotlyChart")),null!=e.bokehChart&&e.hasOwnProperty("bokehChart")&&(n.bokehChart=s.BokehChart.toObject(e.bokehChart,t),t.oneofs&&(n.type="bokehChart")),null!=e.graphvizChart&&e.hasOwnProperty("graphvizChart")&&(n.graphvizChart=s.GraphVizChart.toObject(e.graphvizChart,t),t.oneofs&&(n.type="graphvizChart")),null!=e.button&&e.hasOwnProperty("button")&&(n.button=s.Button.toObject(e.button,t),t.oneofs&&(n.type="button")),null!=e.checkbox&&e.hasOwnProperty("checkbox")&&(n.checkbox=s.Checkbox.toObject(e.checkbox,t),t.oneofs&&(n.type="checkbox")),null!=e.slider&&e.hasOwnProperty("slider")&&(n.slider=s.Slider.toObject(e.slider,t),t.oneofs&&(n.type="slider")),null!=e.textArea&&e.hasOwnProperty("textArea")&&(n.textArea=s.TextArea.toObject(e.textArea,t),t.oneofs&&(n.type="textArea")),null!=e.radio&&e.hasOwnProperty("radio")&&(n.radio=s.Radio.toObject(e.radio,t),t.oneofs&&(n.type="radio")),null!=e.textInput&&e.hasOwnProperty("textInput")&&(n.textInput=s.TextInput.toObject(e.textInput,t),t.oneofs&&(n.type="textInput")),null!=e.selectbox&&e.hasOwnProperty("selectbox")&&(n.selectbox=s.Selectbox.toObject(e.selectbox,t),t.oneofs&&(n.type="selectbox")),null!=e.timeInput&&e.hasOwnProperty("timeInput")&&(n.timeInput=s.TimeInput.toObject(e.timeInput,t),t.oneofs&&(n.type="timeInput")),null!=e.dateInput&&e.hasOwnProperty("dateInput")&&(n.dateInput=s.DateInput.toObject(e.dateInput,t),t.oneofs&&(n.type="dateInput")),null!=e.multiselect&&e.hasOwnProperty("multiselect")&&(n.multiselect=s.MultiSelect.toObject(e.multiselect,t),t.oneofs&&(n.type="multiselect")),null!=e.markdown&&e.hasOwnProperty("markdown")&&(n.markdown=s.Markdown.toObject(e.markdown,t),t.oneofs&&(n.type="markdown")),null!=e.alert&&e.hasOwnProperty("alert")&&(n.alert=s.Alert.toObject(e.alert,t),t.oneofs&&(n.type="alert")),null!=e.json&&e.hasOwnProperty("json")&&(n.json=s.Json.toObject(e.json,t),t.oneofs&&(n.type="json")),null!=e.numberInput&&e.hasOwnProperty("numberInput")&&(n.numberInput=s.NumberInput.toObject(e.numberInput,t),t.oneofs&&(n.type="numberInput")),null!=e.fileUploader&&e.hasOwnProperty("fileUploader")&&(n.fileUploader=s.FileUploader.toObject(e.fileUploader,t),t.oneofs&&(n.type="fileUploader")),null!=e.deckGlJsonChart&&e.hasOwnProperty("deckGlJsonChart")&&(n.deckGlJsonChart=s.DeckGlJsonChart.toObject(e.deckGlJsonChart,t),t.oneofs&&(n.type="deckGlJsonChart")),null!=e.colorPicker&&e.hasOwnProperty("colorPicker")&&(n.colorPicker=s.ColorPicker.toObject(e.colorPicker,t),t.oneofs&&(n.type="colorPicker")),null!=e.favicon&&e.hasOwnProperty("favicon")&&(n.favicon=s.Favicon.toObject(e.favicon,t),t.oneofs&&(n.type="favicon")),null!=e.componentInstance&&e.hasOwnProperty("componentInstance")&&(n.componentInstance=s.ComponentInstance.toObject(e.componentInstance,t),t.oneofs&&(n.type="componentInstance")),null!=e.iframe&&e.hasOwnProperty("iframe")&&(n.iframe=s.IFrame.toObject(e.iframe,t),t.oneofs&&(n.type="iframe")),null!=e.arrowTable&&e.hasOwnProperty("arrowTable")&&(n.arrowTable=s.Arrow.toObject(e.arrowTable,t),t.oneofs&&(n.type="arrowTable")),null!=e.arrowDataFrame&&e.hasOwnProperty("arrowDataFrame")&&(n.arrowDataFrame=s.Arrow.toObject(e.arrowDataFrame,t),t.oneofs&&(n.type="arrowDataFrame")),null!=e.arrowVegaLiteChart&&e.hasOwnProperty("arrowVegaLiteChart")&&(n.arrowVegaLiteChart=s.ArrowVegaLiteChart.toObject(e.arrowVegaLiteChart,t),t.oneofs&&(n.type="arrowVegaLiteChart")),null!=e.metric&&e.hasOwnProperty("metric")&&(n.metric=s.Metric.toObject(e.metric,t),t.oneofs&&(n.type="metric")),null!=e.downloadButton&&e.hasOwnProperty("downloadButton")&&(n.downloadButton=s.DownloadButton.toObject(e.downloadButton,t),t.oneofs&&(n.type="downloadButton")),null!=e.spinner&&e.hasOwnProperty("spinner")&&(n.spinner=s.Spinner.toObject(e.spinner,t),t.oneofs&&(n.type="spinner")),null!=e.cameraInput&&e.hasOwnProperty("cameraInput")&&(n.cameraInput=s.CameraInput.toObject(e.cameraInput,t),t.oneofs&&(n.type="cameraInput")),null!=e.snow&&e.hasOwnProperty("snow")&&(n.snow=s.Snow.toObject(e.snow,t),t.oneofs&&(n.type="snow")),null!=e.heading&&e.hasOwnProperty("heading")&&(n.heading=s.Heading.toObject(e.heading,t),t.oneofs&&(n.type="heading")),null!=e.code&&e.hasOwnProperty("code")&&(n.code=s.Code.toObject(e.code,t),t.oneofs&&(n.type="code")),null!=e.chatInput&&e.hasOwnProperty("chatInput")&&(n.chatInput=s.ChatInput.toObject(e.chatInput,t),t.oneofs&&(n.type="chatInput")),null!=e.toast&&e.hasOwnProperty("toast")&&(n.toast=s.Toast.toObject(e.toast,t),t.oneofs&&(n.type="toast")),null!=e.linkButton&&e.hasOwnProperty("linkButton")&&(n.linkButton=s.LinkButton.toObject(e.linkButton,t),t.oneofs&&(n.type="linkButton")),null!=e.skeleton&&e.hasOwnProperty("skeleton")&&(n.skeleton=s.Skeleton.toObject(e.skeleton,t),t.oneofs&&(n.type="skeleton")),null!=e.pageLink&&e.hasOwnProperty("pageLink")&&(n.pageLink=s.PageLink.toObject(e.pageLink,t),t.oneofs&&(n.type="pageLink")),null!=e.html&&e.hasOwnProperty("html")&&(n.html=s.Html.toObject(e.html,t),t.oneofs&&(n.type="html")),null!=e.buttonGroup&&e.hasOwnProperty("buttonGroup")&&(n.buttonGroup=s.ButtonGroup.toObject(e.buttonGroup,t),t.oneofs&&(n.type="buttonGroup")),null!=e.audioInput&&e.hasOwnProperty("audioInput")&&(n.audioInput=s.AudioInput.toObject(e.audioInput,t),t.oneofs&&(n.type="audioInput")),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/Element"},e})()),v=(s.Empty=(()=>{function e(e){if(e)for(let t=Object.keys(e),n=0;n{function e(e){if(this.stackTrace=[],e)for(let t=Object.keys(e),n=0;n>>3){case 1:r.type=e.string();break;case 2:r.message=e.string();break;case 4:r.messageIsMarkdown=e.bool();break;case 3:r.stackTrace&&r.stackTrace.length||(r.stackTrace=[]),r.stackTrace.push(e.string());break;case 5:r.isWarning=e.bool();break;default:e.skipType(7&t)}}return r},e.decodeDelimited=function(e){return e instanceof o||(e=new o(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.type&&e.hasOwnProperty("type")&&!a.isString(e.type))return"type: string expected";if(null!=e.message&&e.hasOwnProperty("message")&&!a.isString(e.message))return"message: string expected";if(null!=e.messageIsMarkdown&&e.hasOwnProperty("messageIsMarkdown")&&"boolean"!==typeof e.messageIsMarkdown)return"messageIsMarkdown: boolean expected";if(null!=e.stackTrace&&e.hasOwnProperty("stackTrace")){if(!Array.isArray(e.stackTrace))return"stackTrace: array expected";for(let t=0;t{function e(e){if(e)for(let t=Object.keys(e),n=0;n>>3===1)r.url=e.string();else e.skipType(7&t)}return r},e.decodeDelimited=function(e){return e instanceof o||(e=new o(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null!=e.url&&e.hasOwnProperty("url")&&!a.isString(e.url)?"url: string expected":null},e.fromObject=function(e){if(e instanceof s.Favicon)return e;let t=new s.Favicon;return null!=e.url&&(t.url=String(e.url)),t},e.toObject=function(e,t){t||(t={});let n={};return t.defaults&&(n.url=""),null!=e.url&&e.hasOwnProperty("url")&&(n.url=e.url),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/Favicon"},e})(),s.FileUploader=(()=>{function e(e){if(this.type=[],e)for(let t=Object.keys(e),n=0;n>>3){case 1:r.id=e.string();break;case 2:r.label=e.string();break;case 3:r.type&&r.type.length||(r.type=[]),r.type.push(e.string());break;case 4:r.maxUploadSizeMb=e.int32();break;case 6:r.multipleFiles=e.bool();break;case 7:r.help=e.string();break;case 8:r.formId=e.string();break;case 9:r.disabled=e.bool();break;case 10:r.labelVisibility=s.LabelVisibilityMessage.decode(e,e.uint32());break;default:e.skipType(7&t)}}return r},e.decodeDelimited=function(e){return e instanceof o||(e=new o(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.id&&e.hasOwnProperty("id")&&!a.isString(e.id))return"id: string expected";if(null!=e.label&&e.hasOwnProperty("label")&&!a.isString(e.label))return"label: string expected";if(null!=e.type&&e.hasOwnProperty("type")){if(!Array.isArray(e.type))return"type: array expected";for(let t=0;t{function e(e){if(e)for(let t=Object.keys(e),n=0;n>>3){case 1:r.hash=e.string();break;case 2:r.metadata=s.ForwardMsgMetadata.decode(e,e.uint32());break;case 4:r.newSession=s.NewSession.decode(e,e.uint32());break;case 5:r.delta=s.Delta.decode(e,e.uint32());break;case 12:r.pageInfoChanged=s.PageInfo.decode(e,e.uint32());break;case 13:r.pageConfigChanged=s.PageConfig.decode(e,e.uint32());break;case 6:r.scriptFinished=e.int32();break;case 14:r.gitInfoChanged=s.GitInfo.decode(e,e.uint32());break;case 18:r.pageProfile=s.PageProfile.decode(e,e.uint32());break;case 9:r.sessionStatusChanged=s.SessionStatus.decode(e,e.uint32());break;case 10:r.sessionEvent=s.SessionEvent.decode(e,e.uint32());break;case 23:r.navigation=s.Navigation.decode(e,e.uint32());break;case 15:r.pageNotFound=s.PageNotFound.decode(e,e.uint32());break;case 16:r.pagesChanged=s.PagesChanged.decode(e,e.uint32());break;case 19:r.fileUrlsResponse=s.FileURLsResponse.decode(e,e.uint32());break;case 21:r.autoRerun=s.AutoRerun.decode(e,e.uint32());break;case 22:r.logo=s.Logo.decode(e,e.uint32());break;case 20:r.parentMessage=s.ParentMessage.decode(e,e.uint32());break;case 11:r.refHash=e.string();break;case 17:r.debugLastBackmsgId=e.string();break;default:e.skipType(7&t)}}return r},e.decodeDelimited=function(e){return e instanceof o||(e=new o(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";let t={};if(null!=e.hash&&e.hasOwnProperty("hash")&&!a.isString(e.hash))return"hash: string expected";if(null!=e.metadata&&e.hasOwnProperty("metadata")){let t=s.ForwardMsgMetadata.verify(e.metadata);if(t)return"metadata."+t}if(null!=e.newSession&&e.hasOwnProperty("newSession")){t.type=1;{let t=s.NewSession.verify(e.newSession);if(t)return"newSession."+t}}if(null!=e.delta&&e.hasOwnProperty("delta")){if(1===t.type)return"type: multiple values";t.type=1;{let t=s.Delta.verify(e.delta);if(t)return"delta."+t}}if(null!=e.pageInfoChanged&&e.hasOwnProperty("pageInfoChanged")){if(1===t.type)return"type: multiple values";t.type=1;{let t=s.PageInfo.verify(e.pageInfoChanged);if(t)return"pageInfoChanged."+t}}if(null!=e.pageConfigChanged&&e.hasOwnProperty("pageConfigChanged")){if(1===t.type)return"type: multiple values";t.type=1;{let t=s.PageConfig.verify(e.pageConfigChanged);if(t)return"pageConfigChanged."+t}}if(null!=e.scriptFinished&&e.hasOwnProperty("scriptFinished")){if(1===t.type)return"type: multiple values";switch(t.type=1,e.scriptFinished){default:return"scriptFinished: enum value expected";case 0:case 1:case 2:case 3:}}if(null!=e.gitInfoChanged&&e.hasOwnProperty("gitInfoChanged")){if(1===t.type)return"type: multiple values";t.type=1;{let t=s.GitInfo.verify(e.gitInfoChanged);if(t)return"gitInfoChanged."+t}}if(null!=e.pageProfile&&e.hasOwnProperty("pageProfile")){if(1===t.type)return"type: multiple values";t.type=1;{let t=s.PageProfile.verify(e.pageProfile);if(t)return"pageProfile."+t}}if(null!=e.sessionStatusChanged&&e.hasOwnProperty("sessionStatusChanged")){if(1===t.type)return"type: multiple values";t.type=1;{let t=s.SessionStatus.verify(e.sessionStatusChanged);if(t)return"sessionStatusChanged."+t}}if(null!=e.sessionEvent&&e.hasOwnProperty("sessionEvent")){if(1===t.type)return"type: multiple values";t.type=1;{let t=s.SessionEvent.verify(e.sessionEvent);if(t)return"sessionEvent."+t}}if(null!=e.navigation&&e.hasOwnProperty("navigation")){if(1===t.type)return"type: multiple values";t.type=1;{let t=s.Navigation.verify(e.navigation);if(t)return"navigation."+t}}if(null!=e.pageNotFound&&e.hasOwnProperty("pageNotFound")){if(1===t.type)return"type: multiple values";t.type=1;{let t=s.PageNotFound.verify(e.pageNotFound);if(t)return"pageNotFound."+t}}if(null!=e.pagesChanged&&e.hasOwnProperty("pagesChanged")){if(1===t.type)return"type: multiple values";t.type=1;{let t=s.PagesChanged.verify(e.pagesChanged);if(t)return"pagesChanged."+t}}if(null!=e.fileUrlsResponse&&e.hasOwnProperty("fileUrlsResponse")){if(1===t.type)return"type: multiple values";t.type=1;{let t=s.FileURLsResponse.verify(e.fileUrlsResponse);if(t)return"fileUrlsResponse."+t}}if(null!=e.autoRerun&&e.hasOwnProperty("autoRerun")){if(1===t.type)return"type: multiple values";t.type=1;{let t=s.AutoRerun.verify(e.autoRerun);if(t)return"autoRerun."+t}}if(null!=e.logo&&e.hasOwnProperty("logo")){if(1===t.type)return"type: multiple values";t.type=1;{let t=s.Logo.verify(e.logo);if(t)return"logo."+t}}if(null!=e.parentMessage&&e.hasOwnProperty("parentMessage")){if(1===t.type)return"type: multiple values";t.type=1;{let t=s.ParentMessage.verify(e.parentMessage);if(t)return"parentMessage."+t}}if(null!=e.refHash&&e.hasOwnProperty("refHash")){if(1===t.type)return"type: multiple values";if(t.type=1,!a.isString(e.refHash))return"refHash: string expected"}return null!=e.debugLastBackmsgId&&e.hasOwnProperty("debugLastBackmsgId")&&!a.isString(e.debugLastBackmsgId)?"debugLastBackmsgId: string expected":null},e.fromObject=function(e){if(e instanceof s.ForwardMsg)return e;let t=new s.ForwardMsg;if(null!=e.hash&&(t.hash=String(e.hash)),null!=e.metadata){if("object"!==typeof e.metadata)throw TypeError(".ForwardMsg.metadata: object expected");t.metadata=s.ForwardMsgMetadata.fromObject(e.metadata)}if(null!=e.newSession){if("object"!==typeof e.newSession)throw TypeError(".ForwardMsg.newSession: object expected");t.newSession=s.NewSession.fromObject(e.newSession)}if(null!=e.delta){if("object"!==typeof e.delta)throw TypeError(".ForwardMsg.delta: object expected");t.delta=s.Delta.fromObject(e.delta)}if(null!=e.pageInfoChanged){if("object"!==typeof e.pageInfoChanged)throw TypeError(".ForwardMsg.pageInfoChanged: object expected");t.pageInfoChanged=s.PageInfo.fromObject(e.pageInfoChanged)}if(null!=e.pageConfigChanged){if("object"!==typeof e.pageConfigChanged)throw TypeError(".ForwardMsg.pageConfigChanged: object expected");t.pageConfigChanged=s.PageConfig.fromObject(e.pageConfigChanged)}switch(e.scriptFinished){default:if("number"===typeof e.scriptFinished){t.scriptFinished=e.scriptFinished;break}break;case"FINISHED_SUCCESSFULLY":case 0:t.scriptFinished=0;break;case"FINISHED_WITH_COMPILE_ERROR":case 1:t.scriptFinished=1;break;case"FINISHED_EARLY_FOR_RERUN":case 2:t.scriptFinished=2;break;case"FINISHED_FRAGMENT_RUN_SUCCESSFULLY":case 3:t.scriptFinished=3}if(null!=e.gitInfoChanged){if("object"!==typeof e.gitInfoChanged)throw TypeError(".ForwardMsg.gitInfoChanged: object expected");t.gitInfoChanged=s.GitInfo.fromObject(e.gitInfoChanged)}if(null!=e.pageProfile){if("object"!==typeof e.pageProfile)throw TypeError(".ForwardMsg.pageProfile: object expected");t.pageProfile=s.PageProfile.fromObject(e.pageProfile)}if(null!=e.sessionStatusChanged){if("object"!==typeof e.sessionStatusChanged)throw TypeError(".ForwardMsg.sessionStatusChanged: object expected");t.sessionStatusChanged=s.SessionStatus.fromObject(e.sessionStatusChanged)}if(null!=e.sessionEvent){if("object"!==typeof e.sessionEvent)throw TypeError(".ForwardMsg.sessionEvent: object expected");t.sessionEvent=s.SessionEvent.fromObject(e.sessionEvent)}if(null!=e.navigation){if("object"!==typeof e.navigation)throw TypeError(".ForwardMsg.navigation: object expected");t.navigation=s.Navigation.fromObject(e.navigation)}if(null!=e.pageNotFound){if("object"!==typeof e.pageNotFound)throw TypeError(".ForwardMsg.pageNotFound: object expected");t.pageNotFound=s.PageNotFound.fromObject(e.pageNotFound)}if(null!=e.pagesChanged){if("object"!==typeof e.pagesChanged)throw TypeError(".ForwardMsg.pagesChanged: object expected");t.pagesChanged=s.PagesChanged.fromObject(e.pagesChanged)}if(null!=e.fileUrlsResponse){if("object"!==typeof e.fileUrlsResponse)throw TypeError(".ForwardMsg.fileUrlsResponse: object expected");t.fileUrlsResponse=s.FileURLsResponse.fromObject(e.fileUrlsResponse)}if(null!=e.autoRerun){if("object"!==typeof e.autoRerun)throw TypeError(".ForwardMsg.autoRerun: object expected");t.autoRerun=s.AutoRerun.fromObject(e.autoRerun)}if(null!=e.logo){if("object"!==typeof e.logo)throw TypeError(".ForwardMsg.logo: object expected");t.logo=s.Logo.fromObject(e.logo)}if(null!=e.parentMessage){if("object"!==typeof e.parentMessage)throw TypeError(".ForwardMsg.parentMessage: object expected");t.parentMessage=s.ParentMessage.fromObject(e.parentMessage)}return null!=e.refHash&&(t.refHash=String(e.refHash)),null!=e.debugLastBackmsgId&&(t.debugLastBackmsgId=String(e.debugLastBackmsgId)),t},e.toObject=function(e,t){t||(t={});let n={};return t.defaults&&(n.hash="",n.metadata=null,n.debugLastBackmsgId=""),null!=e.hash&&e.hasOwnProperty("hash")&&(n.hash=e.hash),null!=e.metadata&&e.hasOwnProperty("metadata")&&(n.metadata=s.ForwardMsgMetadata.toObject(e.metadata,t)),null!=e.newSession&&e.hasOwnProperty("newSession")&&(n.newSession=s.NewSession.toObject(e.newSession,t),t.oneofs&&(n.type="newSession")),null!=e.delta&&e.hasOwnProperty("delta")&&(n.delta=s.Delta.toObject(e.delta,t),t.oneofs&&(n.type="delta")),null!=e.scriptFinished&&e.hasOwnProperty("scriptFinished")&&(n.scriptFinished=t.enums===String?void 0===s.ForwardMsg.ScriptFinishedStatus[e.scriptFinished]?e.scriptFinished:s.ForwardMsg.ScriptFinishedStatus[e.scriptFinished]:e.scriptFinished,t.oneofs&&(n.type="scriptFinished")),null!=e.sessionStatusChanged&&e.hasOwnProperty("sessionStatusChanged")&&(n.sessionStatusChanged=s.SessionStatus.toObject(e.sessionStatusChanged,t),t.oneofs&&(n.type="sessionStatusChanged")),null!=e.sessionEvent&&e.hasOwnProperty("sessionEvent")&&(n.sessionEvent=s.SessionEvent.toObject(e.sessionEvent,t),t.oneofs&&(n.type="sessionEvent")),null!=e.refHash&&e.hasOwnProperty("refHash")&&(n.refHash=e.refHash,t.oneofs&&(n.type="refHash")),null!=e.pageInfoChanged&&e.hasOwnProperty("pageInfoChanged")&&(n.pageInfoChanged=s.PageInfo.toObject(e.pageInfoChanged,t),t.oneofs&&(n.type="pageInfoChanged")),null!=e.pageConfigChanged&&e.hasOwnProperty("pageConfigChanged")&&(n.pageConfigChanged=s.PageConfig.toObject(e.pageConfigChanged,t),t.oneofs&&(n.type="pageConfigChanged")),null!=e.gitInfoChanged&&e.hasOwnProperty("gitInfoChanged")&&(n.gitInfoChanged=s.GitInfo.toObject(e.gitInfoChanged,t),t.oneofs&&(n.type="gitInfoChanged")),null!=e.pageNotFound&&e.hasOwnProperty("pageNotFound")&&(n.pageNotFound=s.PageNotFound.toObject(e.pageNotFound,t),t.oneofs&&(n.type="pageNotFound")),null!=e.pagesChanged&&e.hasOwnProperty("pagesChanged")&&(n.pagesChanged=s.PagesChanged.toObject(e.pagesChanged,t),t.oneofs&&(n.type="pagesChanged")),null!=e.debugLastBackmsgId&&e.hasOwnProperty("debugLastBackmsgId")&&(n.debugLastBackmsgId=e.debugLastBackmsgId),null!=e.pageProfile&&e.hasOwnProperty("pageProfile")&&(n.pageProfile=s.PageProfile.toObject(e.pageProfile,t),t.oneofs&&(n.type="pageProfile")),null!=e.fileUrlsResponse&&e.hasOwnProperty("fileUrlsResponse")&&(n.fileUrlsResponse=s.FileURLsResponse.toObject(e.fileUrlsResponse,t),t.oneofs&&(n.type="fileUrlsResponse")),null!=e.parentMessage&&e.hasOwnProperty("parentMessage")&&(n.parentMessage=s.ParentMessage.toObject(e.parentMessage,t),t.oneofs&&(n.type="parentMessage")),null!=e.autoRerun&&e.hasOwnProperty("autoRerun")&&(n.autoRerun=s.AutoRerun.toObject(e.autoRerun,t),t.oneofs&&(n.type="autoRerun")),null!=e.logo&&e.hasOwnProperty("logo")&&(n.logo=s.Logo.toObject(e.logo,t),t.oneofs&&(n.type="logo")),null!=e.navigation&&e.hasOwnProperty("navigation")&&(n.navigation=s.Navigation.toObject(e.navigation,t),t.oneofs&&(n.type="navigation")),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/ForwardMsg"},e.ScriptFinishedStatus=function(){const e={},t=Object.create(e);return t[e[0]="FINISHED_SUCCESSFULLY"]=0,t[e[1]="FINISHED_WITH_COMPILE_ERROR"]=1,t[e[2]="FINISHED_EARLY_FOR_RERUN"]=2,t[e[3]="FINISHED_FRAGMENT_RUN_SUCCESSFULLY"]=3,t}(),e})()),w=s.ForwardMsgMetadata=(()=>{function e(e){if(this.deltaPath=[],e)for(let t=Object.keys(e),n=0;n>>3){case 1:r.cacheable=e.bool();break;case 2:if(r.deltaPath&&r.deltaPath.length||(r.deltaPath=[]),2===(7&t)){let t=e.uint32()+e.pos;for(;e.pos>>0}if(null!=e.elementDimensionSpec){if("object"!==typeof e.elementDimensionSpec)throw TypeError(".ForwardMsgMetadata.elementDimensionSpec: object expected");t.elementDimensionSpec=s.ElementDimensionSpec.fromObject(e.elementDimensionSpec)}return null!=e.activeScriptHash&&(t.activeScriptHash=String(e.activeScriptHash)),t},e.toObject=function(e,t){t||(t={});let n={};if((t.arrays||t.defaults)&&(n.deltaPath=[]),t.defaults&&(n.cacheable=!1,n.elementDimensionSpec=null,n.activeScriptHash=""),null!=e.cacheable&&e.hasOwnProperty("cacheable")&&(n.cacheable=e.cacheable),e.deltaPath&&e.deltaPath.length){n.deltaPath=[];for(let t=0;t{function e(e){if(e)for(let t=Object.keys(e),n=0;n>>3){case 1:r.width=e.uint32();break;case 2:r.height=e.uint32();break;default:e.skipType(7&t)}}return r},e.decodeDelimited=function(e){return e instanceof o||(e=new o(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null!=e.width&&e.hasOwnProperty("width")&&!a.isInteger(e.width)?"width: integer expected":null!=e.height&&e.hasOwnProperty("height")&&!a.isInteger(e.height)?"height: integer expected":null},e.fromObject=function(e){if(e instanceof s.ElementDimensionSpec)return e;let t=new s.ElementDimensionSpec;return null!=e.width&&(t.width=e.width>>>0),null!=e.height&&(t.height=e.height>>>0),t},e.toObject=function(e,t){t||(t={});let n={};return t.defaults&&(n.width=0,n.height=0),null!=e.width&&e.hasOwnProperty("width")&&(n.width=e.width),null!=e.height&&e.hasOwnProperty("height")&&(n.height=e.height),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/ElementDimensionSpec"},e})(),s.GitInfo=(()=>{function e(e){if(this.untrackedFiles=[],this.uncommittedFiles=[],e)for(let t=Object.keys(e),n=0;n>>3){case 1:r.repository=e.string();break;case 2:r.branch=e.string();break;case 3:r.module=e.string();break;case 4:r.untrackedFiles&&r.untrackedFiles.length||(r.untrackedFiles=[]),r.untrackedFiles.push(e.string());break;case 5:r.uncommittedFiles&&r.uncommittedFiles.length||(r.uncommittedFiles=[]),r.uncommittedFiles.push(e.string());break;case 6:r.state=e.int32();break;default:e.skipType(7&t)}}return r},e.decodeDelimited=function(e){return e instanceof o||(e=new o(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.repository&&e.hasOwnProperty("repository")&&!a.isString(e.repository))return"repository: string expected";if(null!=e.branch&&e.hasOwnProperty("branch")&&!a.isString(e.branch))return"branch: string expected";if(null!=e.module&&e.hasOwnProperty("module")&&!a.isString(e.module))return"module: string expected";if(null!=e.untrackedFiles&&e.hasOwnProperty("untrackedFiles")){if(!Array.isArray(e.untrackedFiles))return"untrackedFiles: array expected";for(let t=0;t{function e(e){if(e)for(let t=Object.keys(e),n=0;n>>3){case 1:r.spec=e.string();break;case 4:r.useContainerWidth=e.bool();break;case 5:r.elementId=e.string();break;case 6:r.engine=e.string();break;default:e.skipType(7&t)}}return r},e.decodeDelimited=function(e){return e instanceof o||(e=new o(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null!=e.spec&&e.hasOwnProperty("spec")&&!a.isString(e.spec)?"spec: string expected":null!=e.useContainerWidth&&e.hasOwnProperty("useContainerWidth")&&"boolean"!==typeof e.useContainerWidth?"useContainerWidth: boolean expected":null!=e.elementId&&e.hasOwnProperty("elementId")&&!a.isString(e.elementId)?"elementId: string expected":null!=e.engine&&e.hasOwnProperty("engine")&&!a.isString(e.engine)?"engine: string expected":null},e.fromObject=function(e){if(e instanceof s.GraphVizChart)return e;let t=new s.GraphVizChart;return null!=e.spec&&(t.spec=String(e.spec)),null!=e.useContainerWidth&&(t.useContainerWidth=Boolean(e.useContainerWidth)),null!=e.elementId&&(t.elementId=String(e.elementId)),null!=e.engine&&(t.engine=String(e.engine)),t},e.toObject=function(e,t){t||(t={});let n={};return t.defaults&&(n.spec="",n.useContainerWidth=!1,n.elementId="",n.engine=""),null!=e.spec&&e.hasOwnProperty("spec")&&(n.spec=e.spec),null!=e.useContainerWidth&&e.hasOwnProperty("useContainerWidth")&&(n.useContainerWidth=e.useContainerWidth),null!=e.elementId&&e.hasOwnProperty("elementId")&&(n.elementId=e.elementId),null!=e.engine&&e.hasOwnProperty("engine")&&(n.engine=e.engine),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/GraphVizChart"},e})(),s.Heading=(()=>{function e(e){if(e)for(let t=Object.keys(e),n=0;n>>3){case 1:r.tag=e.string();break;case 2:r.anchor=e.string();break;case 3:r.body=e.string();break;case 4:r.help=e.string();break;case 5:r.hideAnchor=e.bool();break;case 6:r.divider=e.string();break;default:e.skipType(7&t)}}return r},e.decodeDelimited=function(e){return e instanceof o||(e=new o(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null!=e.tag&&e.hasOwnProperty("tag")&&!a.isString(e.tag)?"tag: string expected":null!=e.anchor&&e.hasOwnProperty("anchor")&&!a.isString(e.anchor)?"anchor: string expected":null!=e.body&&e.hasOwnProperty("body")&&!a.isString(e.body)?"body: string expected":null!=e.help&&e.hasOwnProperty("help")&&!a.isString(e.help)?"help: string expected":null!=e.hideAnchor&&e.hasOwnProperty("hideAnchor")&&"boolean"!==typeof e.hideAnchor?"hideAnchor: boolean expected":null!=e.divider&&e.hasOwnProperty("divider")&&!a.isString(e.divider)?"divider: string expected":null},e.fromObject=function(e){if(e instanceof s.Heading)return e;let t=new s.Heading;return null!=e.tag&&(t.tag=String(e.tag)),null!=e.anchor&&(t.anchor=String(e.anchor)),null!=e.body&&(t.body=String(e.body)),null!=e.help&&(t.help=String(e.help)),null!=e.hideAnchor&&(t.hideAnchor=Boolean(e.hideAnchor)),null!=e.divider&&(t.divider=String(e.divider)),t},e.toObject=function(e,t){t||(t={});let n={};return t.defaults&&(n.tag="",n.anchor="",n.body="",n.help="",n.hideAnchor=!1,n.divider=""),null!=e.tag&&e.hasOwnProperty("tag")&&(n.tag=e.tag),null!=e.anchor&&e.hasOwnProperty("anchor")&&(n.anchor=e.anchor),null!=e.body&&e.hasOwnProperty("body")&&(n.body=e.body),null!=e.help&&e.hasOwnProperty("help")&&(n.help=e.help),null!=e.hideAnchor&&e.hasOwnProperty("hideAnchor")&&(n.hideAnchor=e.hideAnchor),null!=e.divider&&e.hasOwnProperty("divider")&&(n.divider=e.divider),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/Heading"},e})(),s.Html=(()=>{function e(e){if(e)for(let t=Object.keys(e),n=0;n>>3===1)r.body=e.string();else e.skipType(7&t)}return r},e.decodeDelimited=function(e){return e instanceof o||(e=new o(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null!=e.body&&e.hasOwnProperty("body")&&!a.isString(e.body)?"body: string expected":null},e.fromObject=function(e){if(e instanceof s.Html)return e;let t=new s.Html;return null!=e.body&&(t.body=String(e.body)),t},e.toObject=function(e,t){t||(t={});let n={};return t.defaults&&(n.body=""),null!=e.body&&e.hasOwnProperty("body")&&(n.body=e.body),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/Html"},e})(),s.IFrame=(()=>{function e(e){if(e)for(let t=Object.keys(e),n=0;n>>3){case 1:r.src=e.string();break;case 2:r.srcdoc=e.string();break;case 3:r.width=e.float();break;case 4:r.hasWidth=e.bool();break;case 5:r.height=e.float();break;case 7:r.scrolling=e.bool();break;default:e.skipType(7&t)}}return r},e.decodeDelimited=function(e){return e instanceof o||(e=new o(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";let t={};if(null!=e.src&&e.hasOwnProperty("src")&&(t.type=1,!a.isString(e.src)))return"src: string expected";if(null!=e.srcdoc&&e.hasOwnProperty("srcdoc")){if(1===t.type)return"type: multiple values";if(t.type=1,!a.isString(e.srcdoc))return"srcdoc: string expected"}return null!=e.width&&e.hasOwnProperty("width")&&"number"!==typeof e.width?"width: number expected":null!=e.hasWidth&&e.hasOwnProperty("hasWidth")&&"boolean"!==typeof e.hasWidth?"hasWidth: boolean expected":null!=e.height&&e.hasOwnProperty("height")&&"number"!==typeof e.height?"height: number expected":null!=e.scrolling&&e.hasOwnProperty("scrolling")&&"boolean"!==typeof e.scrolling?"scrolling: boolean expected":null},e.fromObject=function(e){if(e instanceof s.IFrame)return e;let t=new s.IFrame;return null!=e.src&&(t.src=String(e.src)),null!=e.srcdoc&&(t.srcdoc=String(e.srcdoc)),null!=e.width&&(t.width=Number(e.width)),null!=e.hasWidth&&(t.hasWidth=Boolean(e.hasWidth)),null!=e.height&&(t.height=Number(e.height)),null!=e.scrolling&&(t.scrolling=Boolean(e.scrolling)),t},e.toObject=function(e,t){t||(t={});let n={};return t.defaults&&(n.width=0,n.hasWidth=!1,n.height=0,n.scrolling=!1),null!=e.src&&e.hasOwnProperty("src")&&(n.src=e.src,t.oneofs&&(n.type="src")),null!=e.srcdoc&&e.hasOwnProperty("srcdoc")&&(n.srcdoc=e.srcdoc,t.oneofs&&(n.type="srcdoc")),null!=e.width&&e.hasOwnProperty("width")&&(n.width=t.json&&!isFinite(e.width)?String(e.width):e.width),null!=e.hasWidth&&e.hasOwnProperty("hasWidth")&&(n.hasWidth=e.hasWidth),null!=e.height&&e.hasOwnProperty("height")&&(n.height=t.json&&!isFinite(e.height)?String(e.height):e.height),null!=e.scrolling&&e.hasOwnProperty("scrolling")&&(n.scrolling=e.scrolling),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/IFrame"},e})(),s.Image=(()=>{function e(e){if(e)for(let t=Object.keys(e),n=0;n>>3){case 3:r.url=e.string();break;case 2:r.caption=e.string();break;case 4:r.markup=e.string();break;default:e.skipType(7&t)}}return r},e.decodeDelimited=function(e){return e instanceof o||(e=new o(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null!=e.url&&e.hasOwnProperty("url")&&!a.isString(e.url)?"url: string expected":null!=e.caption&&e.hasOwnProperty("caption")&&!a.isString(e.caption)?"caption: string expected":null!=e.markup&&e.hasOwnProperty("markup")&&!a.isString(e.markup)?"markup: string expected":null},e.fromObject=function(e){if(e instanceof s.Image)return e;let t=new s.Image;return null!=e.url&&(t.url=String(e.url)),null!=e.caption&&(t.caption=String(e.caption)),null!=e.markup&&(t.markup=String(e.markup)),t},e.toObject=function(e,t){t||(t={});let n={};return t.defaults&&(n.caption="",n.url="",n.markup=""),null!=e.caption&&e.hasOwnProperty("caption")&&(n.caption=e.caption),null!=e.url&&e.hasOwnProperty("url")&&(n.url=e.url),null!=e.markup&&e.hasOwnProperty("markup")&&(n.markup=e.markup),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/Image"},e})(),s.ImageList=(()=>{function e(e){if(this.imgs=[],e)for(let t=Object.keys(e),n=0;n>>3){case 1:r.imgs&&r.imgs.length||(r.imgs=[]),r.imgs.push(s.Image.decode(e,e.uint32()));break;case 2:r.width=e.int32();break;default:e.skipType(7&t)}}return r},e.decodeDelimited=function(e){return e instanceof o||(e=new o(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.imgs&&e.hasOwnProperty("imgs")){if(!Array.isArray(e.imgs))return"imgs: array expected";for(let t=0;t{function e(e){if(e)for(let t=Object.keys(e),n=0;n>>3){case 1:r.body=e.string();break;case 2:r.expanded=e.bool();break;case 3:r.maxExpandDepth=e.int32();break;default:e.skipType(7&t)}}return r},e.decodeDelimited=function(e){return e instanceof o||(e=new o(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";let t={};return null!=e.body&&e.hasOwnProperty("body")&&!a.isString(e.body)?"body: string expected":null!=e.expanded&&e.hasOwnProperty("expanded")&&"boolean"!==typeof e.expanded?"expanded: boolean expected":null!=e.maxExpandDepth&&e.hasOwnProperty("maxExpandDepth")&&(t._maxExpandDepth=1,!a.isInteger(e.maxExpandDepth))?"maxExpandDepth: integer expected":null},e.fromObject=function(e){if(e instanceof s.Json)return e;let t=new s.Json;return null!=e.body&&(t.body=String(e.body)),null!=e.expanded&&(t.expanded=Boolean(e.expanded)),null!=e.maxExpandDepth&&(t.maxExpandDepth=0|e.maxExpandDepth),t},e.toObject=function(e,t){t||(t={});let n={};return t.defaults&&(n.body="",n.expanded=!1),null!=e.body&&e.hasOwnProperty("body")&&(n.body=e.body),null!=e.expanded&&e.hasOwnProperty("expanded")&&(n.expanded=e.expanded),null!=e.maxExpandDepth&&e.hasOwnProperty("maxExpandDepth")&&(n.maxExpandDepth=e.maxExpandDepth,t.oneofs&&(n._maxExpandDepth="maxExpandDepth")),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/Json"},e})(),s.LabelVisibilityMessage=(()=>{function e(e){if(e)for(let t=Object.keys(e),n=0;n>>3===1)r.value=e.int32();else e.skipType(7&t)}return r},e.decodeDelimited=function(e){return e instanceof o||(e=new o(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.value&&e.hasOwnProperty("value"))switch(e.value){default:return"value: enum value expected";case 0:case 1:case 2:}return null},e.fromObject=function(e){if(e instanceof s.LabelVisibilityMessage)return e;let t=new s.LabelVisibilityMessage;switch(e.value){default:if("number"===typeof e.value){t.value=e.value;break}break;case"VISIBLE":case 0:t.value=0;break;case"HIDDEN":case 1:t.value=1;break;case"COLLAPSED":case 2:t.value=2}return t},e.toObject=function(e,t){t||(t={});let n={};return t.defaults&&(n.value=t.enums===String?"VISIBLE":0),null!=e.value&&e.hasOwnProperty("value")&&(n.value=t.enums===String?void 0===s.LabelVisibilityMessage.LabelVisibilityOptions[e.value]?e.value:s.LabelVisibilityMessage.LabelVisibilityOptions[e.value]:e.value),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/LabelVisibilityMessage"},e.LabelVisibilityOptions=function(){const e={},t=Object.create(e);return t[e[0]="VISIBLE"]=0,t[e[1]="HIDDEN"]=1,t[e[2]="COLLAPSED"]=2,t}(),e})()),E=(s.LinkButton=(()=>{function e(e){if(e)for(let t=Object.keys(e),n=0;n>>3){case 2:r.label=e.string();break;case 4:r.help=e.string();break;case 6:r.url=e.string();break;case 7:r.disabled=e.bool();break;case 8:r.useContainerWidth=e.bool();break;case 9:r.type=e.string();break;case 10:r.icon=e.string();break;default:e.skipType(7&t)}}return r},e.decodeDelimited=function(e){return e instanceof o||(e=new o(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null!=e.label&&e.hasOwnProperty("label")&&!a.isString(e.label)?"label: string expected":null!=e.help&&e.hasOwnProperty("help")&&!a.isString(e.help)?"help: string expected":null!=e.url&&e.hasOwnProperty("url")&&!a.isString(e.url)?"url: string expected":null!=e.disabled&&e.hasOwnProperty("disabled")&&"boolean"!==typeof e.disabled?"disabled: boolean expected":null!=e.useContainerWidth&&e.hasOwnProperty("useContainerWidth")&&"boolean"!==typeof e.useContainerWidth?"useContainerWidth: boolean expected":null!=e.type&&e.hasOwnProperty("type")&&!a.isString(e.type)?"type: string expected":null!=e.icon&&e.hasOwnProperty("icon")&&!a.isString(e.icon)?"icon: string expected":null},e.fromObject=function(e){if(e instanceof s.LinkButton)return e;let t=new s.LinkButton;return null!=e.label&&(t.label=String(e.label)),null!=e.help&&(t.help=String(e.help)),null!=e.url&&(t.url=String(e.url)),null!=e.disabled&&(t.disabled=Boolean(e.disabled)),null!=e.useContainerWidth&&(t.useContainerWidth=Boolean(e.useContainerWidth)),null!=e.type&&(t.type=String(e.type)),null!=e.icon&&(t.icon=String(e.icon)),t},e.toObject=function(e,t){t||(t={});let n={};return t.defaults&&(n.label="",n.help="",n.url="",n.disabled=!1,n.useContainerWidth=!1,n.type="",n.icon=""),null!=e.label&&e.hasOwnProperty("label")&&(n.label=e.label),null!=e.help&&e.hasOwnProperty("help")&&(n.help=e.help),null!=e.url&&e.hasOwnProperty("url")&&(n.url=e.url),null!=e.disabled&&e.hasOwnProperty("disabled")&&(n.disabled=e.disabled),null!=e.useContainerWidth&&e.hasOwnProperty("useContainerWidth")&&(n.useContainerWidth=e.useContainerWidth),null!=e.type&&e.hasOwnProperty("type")&&(n.type=e.type),null!=e.icon&&e.hasOwnProperty("icon")&&(n.icon=e.icon),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/LinkButton"},e})(),s.Logo=(()=>{function e(e){if(e)for(let t=Object.keys(e),n=0;n>>3){case 1:r.image=e.string();break;case 2:r.link=e.string();break;case 3:r.iconImage=e.string();break;case 4:r.size=e.string();break;default:e.skipType(7&t)}}return r},e.decodeDelimited=function(e){return e instanceof o||(e=new o(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null!=e.image&&e.hasOwnProperty("image")&&!a.isString(e.image)?"image: string expected":null!=e.link&&e.hasOwnProperty("link")&&!a.isString(e.link)?"link: string expected":null!=e.iconImage&&e.hasOwnProperty("iconImage")&&!a.isString(e.iconImage)?"iconImage: string expected":null!=e.size&&e.hasOwnProperty("size")&&!a.isString(e.size)?"size: string expected":null},e.fromObject=function(e){if(e instanceof s.Logo)return e;let t=new s.Logo;return null!=e.image&&(t.image=String(e.image)),null!=e.link&&(t.link=String(e.link)),null!=e.iconImage&&(t.iconImage=String(e.iconImage)),null!=e.size&&(t.size=String(e.size)),t},e.toObject=function(e,t){t||(t={});let n={};return t.defaults&&(n.image="",n.link="",n.iconImage="",n.size=""),null!=e.image&&e.hasOwnProperty("image")&&(n.image=e.image),null!=e.link&&e.hasOwnProperty("link")&&(n.link=e.link),null!=e.iconImage&&e.hasOwnProperty("iconImage")&&(n.iconImage=e.iconImage),null!=e.size&&e.hasOwnProperty("size")&&(n.size=e.size),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/Logo"},e})(),s.Markdown=(()=>{function e(e){if(e)for(let t=Object.keys(e),n=0;n>>3){case 1:r.body=e.string();break;case 2:r.allowHtml=e.bool();break;case 3:r.isCaption=e.bool();break;case 4:r.elementType=e.int32();break;case 5:r.help=e.string();break;default:e.skipType(7&t)}}return r},e.decodeDelimited=function(e){return e instanceof o||(e=new o(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.body&&e.hasOwnProperty("body")&&!a.isString(e.body))return"body: string expected";if(null!=e.allowHtml&&e.hasOwnProperty("allowHtml")&&"boolean"!==typeof e.allowHtml)return"allowHtml: boolean expected";if(null!=e.isCaption&&e.hasOwnProperty("isCaption")&&"boolean"!==typeof e.isCaption)return"isCaption: boolean expected";if(null!=e.elementType&&e.hasOwnProperty("elementType"))switch(e.elementType){default:return"elementType: enum value expected";case 0:case 1:case 2:case 3:case 4:case 5:}return null!=e.help&&e.hasOwnProperty("help")&&!a.isString(e.help)?"help: string expected":null},e.fromObject=function(e){if(e instanceof s.Markdown)return e;let t=new s.Markdown;switch(null!=e.body&&(t.body=String(e.body)),null!=e.allowHtml&&(t.allowHtml=Boolean(e.allowHtml)),null!=e.isCaption&&(t.isCaption=Boolean(e.isCaption)),e.elementType){default:if("number"===typeof e.elementType){t.elementType=e.elementType;break}break;case"UNSPECIFIED":case 0:t.elementType=0;break;case"NATIVE":case 1:t.elementType=1;break;case"CAPTION":case 2:t.elementType=2;break;case"CODE":case 3:t.elementType=3;break;case"LATEX":case 4:t.elementType=4;break;case"DIVIDER":case 5:t.elementType=5}return null!=e.help&&(t.help=String(e.help)),t},e.toObject=function(e,t){t||(t={});let n={};return t.defaults&&(n.body="",n.allowHtml=!1,n.isCaption=!1,n.elementType=t.enums===String?"UNSPECIFIED":0,n.help=""),null!=e.body&&e.hasOwnProperty("body")&&(n.body=e.body),null!=e.allowHtml&&e.hasOwnProperty("allowHtml")&&(n.allowHtml=e.allowHtml),null!=e.isCaption&&e.hasOwnProperty("isCaption")&&(n.isCaption=e.isCaption),null!=e.elementType&&e.hasOwnProperty("elementType")&&(n.elementType=t.enums===String?void 0===s.Markdown.Type[e.elementType]?e.elementType:s.Markdown.Type[e.elementType]:e.elementType),null!=e.help&&e.hasOwnProperty("help")&&(n.help=e.help),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/Markdown"},e.Type=function(){const e={},t=Object.create(e);return t[e[0]="UNSPECIFIED"]=0,t[e[1]="NATIVE"]=1,t[e[2]="CAPTION"]=2,t[e[3]="CODE"]=3,t[e[4]="LATEX"]=4,t[e[5]="DIVIDER"]=5,t}(),e})()),k=s.Metric=(()=>{function e(e){if(e)for(let t=Object.keys(e),n=0;n>>3){case 1:r.label=e.string();break;case 2:r.body=e.string();break;case 3:r.delta=e.string();break;case 4:r.direction=e.int32();break;case 5:r.color=e.int32();break;case 6:r.help=e.string();break;case 7:r.labelVisibility=s.LabelVisibilityMessage.decode(e,e.uint32());break;default:e.skipType(7&t)}}return r},e.decodeDelimited=function(e){return e instanceof o||(e=new o(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.label&&e.hasOwnProperty("label")&&!a.isString(e.label))return"label: string expected";if(null!=e.body&&e.hasOwnProperty("body")&&!a.isString(e.body))return"body: string expected";if(null!=e.delta&&e.hasOwnProperty("delta")&&!a.isString(e.delta))return"delta: string expected";if(null!=e.direction&&e.hasOwnProperty("direction"))switch(e.direction){default:return"direction: enum value expected";case 0:case 1:case 2:}if(null!=e.color&&e.hasOwnProperty("color"))switch(e.color){default:return"color: enum value expected";case 0:case 1:case 2:}if(null!=e.help&&e.hasOwnProperty("help")&&!a.isString(e.help))return"help: string expected";if(null!=e.labelVisibility&&e.hasOwnProperty("labelVisibility")){let t=s.LabelVisibilityMessage.verify(e.labelVisibility);if(t)return"labelVisibility."+t}return null},e.fromObject=function(e){if(e instanceof s.Metric)return e;let t=new s.Metric;switch(null!=e.label&&(t.label=String(e.label)),null!=e.body&&(t.body=String(e.body)),null!=e.delta&&(t.delta=String(e.delta)),e.direction){default:if("number"===typeof e.direction){t.direction=e.direction;break}break;case"DOWN":case 0:t.direction=0;break;case"UP":case 1:t.direction=1;break;case"NONE":case 2:t.direction=2}switch(e.color){default:if("number"===typeof e.color){t.color=e.color;break}break;case"RED":case 0:t.color=0;break;case"GREEN":case 1:t.color=1;break;case"GRAY":case 2:t.color=2}if(null!=e.help&&(t.help=String(e.help)),null!=e.labelVisibility){if("object"!==typeof e.labelVisibility)throw TypeError(".Metric.labelVisibility: object expected");t.labelVisibility=s.LabelVisibilityMessage.fromObject(e.labelVisibility)}return t},e.toObject=function(e,t){t||(t={});let n={};return t.defaults&&(n.label="",n.body="",n.delta="",n.direction=t.enums===String?"DOWN":0,n.color=t.enums===String?"RED":0,n.help="",n.labelVisibility=null),null!=e.label&&e.hasOwnProperty("label")&&(n.label=e.label),null!=e.body&&e.hasOwnProperty("body")&&(n.body=e.body),null!=e.delta&&e.hasOwnProperty("delta")&&(n.delta=e.delta),null!=e.direction&&e.hasOwnProperty("direction")&&(n.direction=t.enums===String?void 0===s.Metric.MetricDirection[e.direction]?e.direction:s.Metric.MetricDirection[e.direction]:e.direction),null!=e.color&&e.hasOwnProperty("color")&&(n.color=t.enums===String?void 0===s.Metric.MetricColor[e.color]?e.color:s.Metric.MetricColor[e.color]:e.color),null!=e.help&&e.hasOwnProperty("help")&&(n.help=e.help),null!=e.labelVisibility&&e.hasOwnProperty("labelVisibility")&&(n.labelVisibility=s.LabelVisibilityMessage.toObject(e.labelVisibility,t)),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/Metric"},e.MetricColor=function(){const e={},t=Object.create(e);return t[e[0]="RED"]=0,t[e[1]="GREEN"]=1,t[e[2]="GRAY"]=2,t}(),e.MetricDirection=function(){const e={},t=Object.create(e);return t[e[0]="DOWN"]=0,t[e[1]="UP"]=1,t[e[2]="NONE"]=2,t}(),e})(),q=(s.MultiSelect=(()=>{function e(e){if(this.default=[],this.options=[],this.value=[],e)for(let t=Object.keys(e),n=0;n>>3){case 1:r.id=e.string();break;case 2:r.label=e.string();break;case 3:if(r.default&&r.default.length||(r.default=[]),2===(7&t)){let t=e.uint32()+e.pos;for(;e.pos{function e(e){if(e)for(let t=Object.keys(e),n=0;n>>3){case 1:r.name=e.string();break;case 3:r.hasName=e.bool();break;case 2:r.data=s.DataFrame.decode(e,e.uint32());break;default:e.skipType(7&t)}}return r},e.decodeDelimited=function(e){return e instanceof o||(e=new o(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.name&&e.hasOwnProperty("name")&&!a.isString(e.name))return"name: string expected";if(null!=e.hasName&&e.hasOwnProperty("hasName")&&"boolean"!==typeof e.hasName)return"hasName: boolean expected";if(null!=e.data&&e.hasOwnProperty("data")){let t=s.DataFrame.verify(e.data);if(t)return"data."+t}return null},e.fromObject=function(e){if(e instanceof s.NamedDataSet)return e;let t=new s.NamedDataSet;if(null!=e.name&&(t.name=String(e.name)),null!=e.hasName&&(t.hasName=Boolean(e.hasName)),null!=e.data){if("object"!==typeof e.data)throw TypeError(".NamedDataSet.data: object expected");t.data=s.DataFrame.fromObject(e.data)}return t},e.toObject=function(e,t){t||(t={});let n={};return t.defaults&&(n.name="",n.data=null,n.hasName=!1),null!=e.name&&e.hasOwnProperty("name")&&(n.name=e.name),null!=e.data&&e.hasOwnProperty("data")&&(n.data=s.DataFrame.toObject(e.data,t)),null!=e.hasName&&e.hasOwnProperty("hasName")&&(n.hasName=e.hasName),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/NamedDataSet"},e})(),s.Navigation=(()=>{function e(e){if(this.sections=[],this.appPages=[],e)for(let t=Object.keys(e),n=0;n>>3){case 1:r.sections&&r.sections.length||(r.sections=[]),r.sections.push(e.string());break;case 2:r.appPages&&r.appPages.length||(r.appPages=[]),r.appPages.push(s.AppPage.decode(e,e.uint32()));break;case 3:r.position=e.int32();break;case 4:r.pageScriptHash=e.string();break;case 5:r.expanded=e.bool();break;default:e.skipType(7&t)}}return r},e.decodeDelimited=function(e){return e instanceof o||(e=new o(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.sections&&e.hasOwnProperty("sections")){if(!Array.isArray(e.sections))return"sections: array expected";for(let t=0;t{function e(e){if(this.appPages=[],this.fragmentIdsThisRun=[],e)for(let t=Object.keys(e),n=0;n>>3){case 1:r.initialize=s.Initialize.decode(e,e.uint32());break;case 2:r.scriptRunId=e.string();break;case 3:r.name=e.string();break;case 4:r.mainScriptPath=e.string();break;case 6:r.config=s.Config.decode(e,e.uint32());break;case 7:r.customTheme=s.CustomThemeConfig.decode(e,e.uint32());break;case 8:r.appPages&&r.appPages.length||(r.appPages=[]),r.appPages.push(s.AppPage.decode(e,e.uint32()));break;case 9:r.pageScriptHash=e.string();break;case 10:r.fragmentIdsThisRun&&r.fragmentIdsThisRun.length||(r.fragmentIdsThisRun=[]),r.fragmentIdsThisRun.push(e.string());break;case 11:r.mainScriptHash=e.string();break;default:e.skipType(7&t)}}return r},e.decodeDelimited=function(e){return e instanceof o||(e=new o(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.initialize&&e.hasOwnProperty("initialize")){let t=s.Initialize.verify(e.initialize);if(t)return"initialize."+t}if(null!=e.scriptRunId&&e.hasOwnProperty("scriptRunId")&&!a.isString(e.scriptRunId))return"scriptRunId: string expected";if(null!=e.name&&e.hasOwnProperty("name")&&!a.isString(e.name))return"name: string expected";if(null!=e.mainScriptPath&&e.hasOwnProperty("mainScriptPath")&&!a.isString(e.mainScriptPath))return"mainScriptPath: string expected";if(null!=e.config&&e.hasOwnProperty("config")){let t=s.Config.verify(e.config);if(t)return"config."+t}if(null!=e.customTheme&&e.hasOwnProperty("customTheme")){let t=s.CustomThemeConfig.verify(e.customTheme);if(t)return"customTheme."+t}if(null!=e.appPages&&e.hasOwnProperty("appPages")){if(!Array.isArray(e.appPages))return"appPages: array expected";for(let t=0;t{function e(e){if(e)for(let t=Object.keys(e),n=0;n>>3){case 1:r.userInfo=s.UserInfo.decode(e,e.uint32());break;case 3:r.environmentInfo=s.EnvironmentInfo.decode(e,e.uint32());break;case 4:r.sessionStatus=s.SessionStatus.decode(e,e.uint32());break;case 5:r.commandLine=e.string();break;case 6:r.sessionId=e.string();break;case 7:r.isHello=e.bool();break;default:e.skipType(7&t)}}return r},e.decodeDelimited=function(e){return e instanceof o||(e=new o(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.userInfo&&e.hasOwnProperty("userInfo")){let t=s.UserInfo.verify(e.userInfo);if(t)return"userInfo."+t}if(null!=e.environmentInfo&&e.hasOwnProperty("environmentInfo")){let t=s.EnvironmentInfo.verify(e.environmentInfo);if(t)return"environmentInfo."+t}if(null!=e.sessionStatus&&e.hasOwnProperty("sessionStatus")){let t=s.SessionStatus.verify(e.sessionStatus);if(t)return"sessionStatus."+t}return null!=e.commandLine&&e.hasOwnProperty("commandLine")&&!a.isString(e.commandLine)?"commandLine: string expected":null!=e.sessionId&&e.hasOwnProperty("sessionId")&&!a.isString(e.sessionId)?"sessionId: string expected":null!=e.isHello&&e.hasOwnProperty("isHello")&&"boolean"!==typeof e.isHello?"isHello: boolean expected":null},e.fromObject=function(e){if(e instanceof s.Initialize)return e;let t=new s.Initialize;if(null!=e.userInfo){if("object"!==typeof e.userInfo)throw TypeError(".Initialize.userInfo: object expected");t.userInfo=s.UserInfo.fromObject(e.userInfo)}if(null!=e.environmentInfo){if("object"!==typeof e.environmentInfo)throw TypeError(".Initialize.environmentInfo: object expected");t.environmentInfo=s.EnvironmentInfo.fromObject(e.environmentInfo)}if(null!=e.sessionStatus){if("object"!==typeof e.sessionStatus)throw TypeError(".Initialize.sessionStatus: object expected");t.sessionStatus=s.SessionStatus.fromObject(e.sessionStatus)}return null!=e.commandLine&&(t.commandLine=String(e.commandLine)),null!=e.sessionId&&(t.sessionId=String(e.sessionId)),null!=e.isHello&&(t.isHello=Boolean(e.isHello)),t},e.toObject=function(e,t){t||(t={});let n={};return t.defaults&&(n.userInfo=null,n.environmentInfo=null,n.sessionStatus=null,n.commandLine="",n.sessionId="",n.isHello=!1),null!=e.userInfo&&e.hasOwnProperty("userInfo")&&(n.userInfo=s.UserInfo.toObject(e.userInfo,t)),null!=e.environmentInfo&&e.hasOwnProperty("environmentInfo")&&(n.environmentInfo=s.EnvironmentInfo.toObject(e.environmentInfo,t)),null!=e.sessionStatus&&e.hasOwnProperty("sessionStatus")&&(n.sessionStatus=s.SessionStatus.toObject(e.sessionStatus,t)),null!=e.commandLine&&e.hasOwnProperty("commandLine")&&(n.commandLine=e.commandLine),null!=e.sessionId&&e.hasOwnProperty("sessionId")&&(n.sessionId=e.sessionId),null!=e.isHello&&e.hasOwnProperty("isHello")&&(n.isHello=e.isHello),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/Initialize"},e})(),s.Config=(()=>{function e(e){if(e)for(let t=Object.keys(e),n=0;n>>3){case 2:r.gatherUsageStats=e.bool();break;case 3:r.maxCachedMessageAge=e.int32();break;case 4:r.mapboxToken=e.string();break;case 5:r.allowRunOnSave=e.bool();break;case 6:r.hideTopBar=e.bool();break;case 7:r.hideSidebarNav=e.bool();break;case 8:r.toolbarMode=e.int32();break;default:e.skipType(7&t)}}return r},e.decodeDelimited=function(e){return e instanceof o||(e=new o(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.gatherUsageStats&&e.hasOwnProperty("gatherUsageStats")&&"boolean"!==typeof e.gatherUsageStats)return"gatherUsageStats: boolean expected";if(null!=e.maxCachedMessageAge&&e.hasOwnProperty("maxCachedMessageAge")&&!a.isInteger(e.maxCachedMessageAge))return"maxCachedMessageAge: integer expected";if(null!=e.mapboxToken&&e.hasOwnProperty("mapboxToken")&&!a.isString(e.mapboxToken))return"mapboxToken: string expected";if(null!=e.allowRunOnSave&&e.hasOwnProperty("allowRunOnSave")&&"boolean"!==typeof e.allowRunOnSave)return"allowRunOnSave: boolean expected";if(null!=e.hideTopBar&&e.hasOwnProperty("hideTopBar")&&"boolean"!==typeof e.hideTopBar)return"hideTopBar: boolean expected";if(null!=e.hideSidebarNav&&e.hasOwnProperty("hideSidebarNav")&&"boolean"!==typeof e.hideSidebarNav)return"hideSidebarNav: boolean expected";if(null!=e.toolbarMode&&e.hasOwnProperty("toolbarMode"))switch(e.toolbarMode){default:return"toolbarMode: enum value expected";case 0:case 1:case 2:case 3:}return null},e.fromObject=function(e){if(e instanceof s.Config)return e;let t=new s.Config;switch(null!=e.gatherUsageStats&&(t.gatherUsageStats=Boolean(e.gatherUsageStats)),null!=e.maxCachedMessageAge&&(t.maxCachedMessageAge=0|e.maxCachedMessageAge),null!=e.mapboxToken&&(t.mapboxToken=String(e.mapboxToken)),null!=e.allowRunOnSave&&(t.allowRunOnSave=Boolean(e.allowRunOnSave)),null!=e.hideTopBar&&(t.hideTopBar=Boolean(e.hideTopBar)),null!=e.hideSidebarNav&&(t.hideSidebarNav=Boolean(e.hideSidebarNav)),e.toolbarMode){default:if("number"===typeof e.toolbarMode){t.toolbarMode=e.toolbarMode;break}break;case"AUTO":case 0:t.toolbarMode=0;break;case"DEVELOPER":case 1:t.toolbarMode=1;break;case"VIEWER":case 2:t.toolbarMode=2;break;case"MINIMAL":case 3:t.toolbarMode=3}return t},e.toObject=function(e,t){t||(t={});let n={};return t.defaults&&(n.gatherUsageStats=!1,n.maxCachedMessageAge=0,n.mapboxToken="",n.allowRunOnSave=!1,n.hideTopBar=!1,n.hideSidebarNav=!1,n.toolbarMode=t.enums===String?"AUTO":0),null!=e.gatherUsageStats&&e.hasOwnProperty("gatherUsageStats")&&(n.gatherUsageStats=e.gatherUsageStats),null!=e.maxCachedMessageAge&&e.hasOwnProperty("maxCachedMessageAge")&&(n.maxCachedMessageAge=e.maxCachedMessageAge),null!=e.mapboxToken&&e.hasOwnProperty("mapboxToken")&&(n.mapboxToken=e.mapboxToken),null!=e.allowRunOnSave&&e.hasOwnProperty("allowRunOnSave")&&(n.allowRunOnSave=e.allowRunOnSave),null!=e.hideTopBar&&e.hasOwnProperty("hideTopBar")&&(n.hideTopBar=e.hideTopBar),null!=e.hideSidebarNav&&e.hasOwnProperty("hideSidebarNav")&&(n.hideSidebarNav=e.hideSidebarNav),null!=e.toolbarMode&&e.hasOwnProperty("toolbarMode")&&(n.toolbarMode=t.enums===String?void 0===s.Config.ToolbarMode[e.toolbarMode]?e.toolbarMode:s.Config.ToolbarMode[e.toolbarMode]:e.toolbarMode),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/Config"},e.ToolbarMode=function(){const e={},t=Object.create(e);return t[e[0]="AUTO"]=0,t[e[1]="DEVELOPER"]=1,t[e[2]="VIEWER"]=2,t[e[3]="MINIMAL"]=3,t}(),e})()),_=s.CustomThemeConfig=(()=>{function e(e){if(this.fontFaces=[],e)for(let t=Object.keys(e),n=0;n>>3){case 1:r.primaryColor=e.string();break;case 2:r.secondaryBackgroundColor=e.string();break;case 3:r.backgroundColor=e.string();break;case 4:r.textColor=e.string();break;case 5:r.font=e.int32();break;case 6:r.base=e.int32();break;case 7:r.widgetBackgroundColor=e.string();break;case 8:r.widgetBorderColor=e.string();break;case 9:r.radii=s.Radii.decode(e,e.uint32());break;case 13:r.bodyFont=e.string();break;case 14:r.codeFont=e.string();break;case 15:r.fontFaces&&r.fontFaces.length||(r.fontFaces=[]),r.fontFaces.push(s.FontFace.decode(e,e.uint32()));break;case 16:r.fontSizes=s.FontSizes.decode(e,e.uint32());break;case 17:r.skeletonBackgroundColor=e.string();break;default:e.skipType(7&t)}}return r},e.decodeDelimited=function(e){return e instanceof o||(e=new o(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.primaryColor&&e.hasOwnProperty("primaryColor")&&!a.isString(e.primaryColor))return"primaryColor: string expected";if(null!=e.secondaryBackgroundColor&&e.hasOwnProperty("secondaryBackgroundColor")&&!a.isString(e.secondaryBackgroundColor))return"secondaryBackgroundColor: string expected";if(null!=e.backgroundColor&&e.hasOwnProperty("backgroundColor")&&!a.isString(e.backgroundColor))return"backgroundColor: string expected";if(null!=e.textColor&&e.hasOwnProperty("textColor")&&!a.isString(e.textColor))return"textColor: string expected";if(null!=e.font&&e.hasOwnProperty("font"))switch(e.font){default:return"font: enum value expected";case 0:case 1:case 2:}if(null!=e.base&&e.hasOwnProperty("base"))switch(e.base){default:return"base: enum value expected";case 0:case 1:}if(null!=e.widgetBackgroundColor&&e.hasOwnProperty("widgetBackgroundColor")&&!a.isString(e.widgetBackgroundColor))return"widgetBackgroundColor: string expected";if(null!=e.widgetBorderColor&&e.hasOwnProperty("widgetBorderColor")&&!a.isString(e.widgetBorderColor))return"widgetBorderColor: string expected";if(null!=e.radii&&e.hasOwnProperty("radii")){let t=s.Radii.verify(e.radii);if(t)return"radii."+t}if(null!=e.bodyFont&&e.hasOwnProperty("bodyFont")&&!a.isString(e.bodyFont))return"bodyFont: string expected";if(null!=e.codeFont&&e.hasOwnProperty("codeFont")&&!a.isString(e.codeFont))return"codeFont: string expected";if(null!=e.fontFaces&&e.hasOwnProperty("fontFaces")){if(!Array.isArray(e.fontFaces))return"fontFaces: array expected";for(let t=0;t{function e(e){if(e)for(let t=Object.keys(e),n=0;n>>3){case 1:r.url=e.string();break;case 2:r.family=e.string();break;case 3:r.weight=e.int32();break;case 4:r.style=e.string();break;default:e.skipType(7&t)}}return r},e.decodeDelimited=function(e){return e instanceof o||(e=new o(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null!=e.url&&e.hasOwnProperty("url")&&!a.isString(e.url)?"url: string expected":null!=e.family&&e.hasOwnProperty("family")&&!a.isString(e.family)?"family: string expected":null!=e.weight&&e.hasOwnProperty("weight")&&!a.isInteger(e.weight)?"weight: integer expected":null!=e.style&&e.hasOwnProperty("style")&&!a.isString(e.style)?"style: string expected":null},e.fromObject=function(e){if(e instanceof s.FontFace)return e;let t=new s.FontFace;return null!=e.url&&(t.url=String(e.url)),null!=e.family&&(t.family=String(e.family)),null!=e.weight&&(t.weight=0|e.weight),null!=e.style&&(t.style=String(e.style)),t},e.toObject=function(e,t){t||(t={});let n={};return t.defaults&&(n.url="",n.family="",n.weight=0,n.style=""),null!=e.url&&e.hasOwnProperty("url")&&(n.url=e.url),null!=e.family&&e.hasOwnProperty("family")&&(n.family=e.family),null!=e.weight&&e.hasOwnProperty("weight")&&(n.weight=e.weight),null!=e.style&&e.hasOwnProperty("style")&&(n.style=e.style),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/FontFace"},e})(),s.Radii=(()=>{function e(e){if(e)for(let t=Object.keys(e),n=0;n>>3){case 1:r.baseWidgetRadius=e.int32();break;case 2:r.checkboxRadius=e.int32();break;default:e.skipType(7&t)}}return r},e.decodeDelimited=function(e){return e instanceof o||(e=new o(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null!=e.baseWidgetRadius&&e.hasOwnProperty("baseWidgetRadius")&&!a.isInteger(e.baseWidgetRadius)?"baseWidgetRadius: integer expected":null!=e.checkboxRadius&&e.hasOwnProperty("checkboxRadius")&&!a.isInteger(e.checkboxRadius)?"checkboxRadius: integer expected":null},e.fromObject=function(e){if(e instanceof s.Radii)return e;let t=new s.Radii;return null!=e.baseWidgetRadius&&(t.baseWidgetRadius=0|e.baseWidgetRadius),null!=e.checkboxRadius&&(t.checkboxRadius=0|e.checkboxRadius),t},e.toObject=function(e,t){t||(t={});let n={};return t.defaults&&(n.baseWidgetRadius=0,n.checkboxRadius=0),null!=e.baseWidgetRadius&&e.hasOwnProperty("baseWidgetRadius")&&(n.baseWidgetRadius=e.baseWidgetRadius),null!=e.checkboxRadius&&e.hasOwnProperty("checkboxRadius")&&(n.checkboxRadius=e.checkboxRadius),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/Radii"},e})(),s.FontSizes=(()=>{function e(e){if(e)for(let t=Object.keys(e),n=0;n>>3){case 1:r.tinyFontSize=e.int32();break;case 2:r.smallFontSize=e.int32();break;case 3:r.baseFontSize=e.int32();break;default:e.skipType(7&t)}}return r},e.decodeDelimited=function(e){return e instanceof o||(e=new o(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null!=e.tinyFontSize&&e.hasOwnProperty("tinyFontSize")&&!a.isInteger(e.tinyFontSize)?"tinyFontSize: integer expected":null!=e.smallFontSize&&e.hasOwnProperty("smallFontSize")&&!a.isInteger(e.smallFontSize)?"smallFontSize: integer expected":null!=e.baseFontSize&&e.hasOwnProperty("baseFontSize")&&!a.isInteger(e.baseFontSize)?"baseFontSize: integer expected":null},e.fromObject=function(e){if(e instanceof s.FontSizes)return e;let t=new s.FontSizes;return null!=e.tinyFontSize&&(t.tinyFontSize=0|e.tinyFontSize),null!=e.smallFontSize&&(t.smallFontSize=0|e.smallFontSize),null!=e.baseFontSize&&(t.baseFontSize=0|e.baseFontSize),t},e.toObject=function(e,t){t||(t={});let n={};return t.defaults&&(n.tinyFontSize=0,n.smallFontSize=0,n.baseFontSize=0),null!=e.tinyFontSize&&e.hasOwnProperty("tinyFontSize")&&(n.tinyFontSize=e.tinyFontSize),null!=e.smallFontSize&&e.hasOwnProperty("smallFontSize")&&(n.smallFontSize=e.smallFontSize),null!=e.baseFontSize&&e.hasOwnProperty("baseFontSize")&&(n.baseFontSize=e.baseFontSize),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/FontSizes"},e})(),s.UserInfo=(()=>{function e(e){if(e)for(let t=Object.keys(e),n=0;n>>3){case 1:r.installationId=e.string();break;case 5:r.installationIdV3=e.string();break;default:e.skipType(7&t)}}return r},e.decodeDelimited=function(e){return e instanceof o||(e=new o(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null!=e.installationId&&e.hasOwnProperty("installationId")&&!a.isString(e.installationId)?"installationId: string expected":null!=e.installationIdV3&&e.hasOwnProperty("installationIdV3")&&!a.isString(e.installationIdV3)?"installationIdV3: string expected":null},e.fromObject=function(e){if(e instanceof s.UserInfo)return e;let t=new s.UserInfo;return null!=e.installationId&&(t.installationId=String(e.installationId)),null!=e.installationIdV3&&(t.installationIdV3=String(e.installationIdV3)),t},e.toObject=function(e,t){t||(t={});let n={};return t.defaults&&(n.installationId="",n.installationIdV3=""),null!=e.installationId&&e.hasOwnProperty("installationId")&&(n.installationId=e.installationId),null!=e.installationIdV3&&e.hasOwnProperty("installationIdV3")&&(n.installationIdV3=e.installationIdV3),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/UserInfo"},e})(),s.EnvironmentInfo=(()=>{function e(e){if(e)for(let t=Object.keys(e),n=0;n>>3){case 1:r.streamlitVersion=e.string();break;case 2:r.pythonVersion=e.string();break;default:e.skipType(7&t)}}return r},e.decodeDelimited=function(e){return e instanceof o||(e=new o(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null!=e.streamlitVersion&&e.hasOwnProperty("streamlitVersion")&&!a.isString(e.streamlitVersion)?"streamlitVersion: string expected":null!=e.pythonVersion&&e.hasOwnProperty("pythonVersion")&&!a.isString(e.pythonVersion)?"pythonVersion: string expected":null},e.fromObject=function(e){if(e instanceof s.EnvironmentInfo)return e;let t=new s.EnvironmentInfo;return null!=e.streamlitVersion&&(t.streamlitVersion=String(e.streamlitVersion)),null!=e.pythonVersion&&(t.pythonVersion=String(e.pythonVersion)),t},e.toObject=function(e,t){t||(t={});let n={};return t.defaults&&(n.streamlitVersion="",n.pythonVersion=""),null!=e.streamlitVersion&&e.hasOwnProperty("streamlitVersion")&&(n.streamlitVersion=e.streamlitVersion),null!=e.pythonVersion&&e.hasOwnProperty("pythonVersion")&&(n.pythonVersion=e.pythonVersion),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/EnvironmentInfo"},e})(),s.NumberInput=(()=>{function e(e){if(e)for(let t=Object.keys(e),n=0;n>>3){case 1:r.id=e.string();break;case 2:r.label=e.string();break;case 3:r.formId=e.string();break;case 8:r.format=e.string();break;case 11:r.hasMin=e.bool();break;case 12:r.hasMax=e.bool();break;case 13:r.dataType=e.int32();break;case 14:r.default=e.double();break;case 15:r.step=e.double();break;case 16:r.min=e.double();break;case 17:r.max=e.double();break;case 18:r.help=e.string();break;case 19:r.value=e.double();break;case 20:r.setValue=e.bool();break;case 21:r.disabled=e.bool();break;case 22:r.labelVisibility=s.LabelVisibilityMessage.decode(e,e.uint32());break;case 23:r.placeholder=e.string();break;default:e.skipType(7&t)}}return r},e.decodeDelimited=function(e){return e instanceof o||(e=new o(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";let t={};if(null!=e.id&&e.hasOwnProperty("id")&&!a.isString(e.id))return"id: string expected";if(null!=e.label&&e.hasOwnProperty("label")&&!a.isString(e.label))return"label: string expected";if(null!=e.formId&&e.hasOwnProperty("formId")&&!a.isString(e.formId))return"formId: string expected";if(null!=e.format&&e.hasOwnProperty("format")&&!a.isString(e.format))return"format: string expected";if(null!=e.hasMin&&e.hasOwnProperty("hasMin")&&"boolean"!==typeof e.hasMin)return"hasMin: boolean expected";if(null!=e.hasMax&&e.hasOwnProperty("hasMax")&&"boolean"!==typeof e.hasMax)return"hasMax: boolean expected";if(null!=e.dataType&&e.hasOwnProperty("dataType"))switch(e.dataType){default:return"dataType: enum value expected";case 0:case 1:}if(null!=e.default&&e.hasOwnProperty("default")&&(t._default=1,"number"!==typeof e.default))return"default: number expected";if(null!=e.step&&e.hasOwnProperty("step")&&"number"!==typeof e.step)return"step: number expected";if(null!=e.min&&e.hasOwnProperty("min")&&"number"!==typeof e.min)return"min: number expected";if(null!=e.max&&e.hasOwnProperty("max")&&"number"!==typeof e.max)return"max: number expected";if(null!=e.help&&e.hasOwnProperty("help")&&!a.isString(e.help))return"help: string expected";if(null!=e.value&&e.hasOwnProperty("value")&&(t._value=1,"number"!==typeof e.value))return"value: number expected";if(null!=e.setValue&&e.hasOwnProperty("setValue")&&"boolean"!==typeof e.setValue)return"setValue: boolean expected";if(null!=e.disabled&&e.hasOwnProperty("disabled")&&"boolean"!==typeof e.disabled)return"disabled: boolean expected";if(null!=e.labelVisibility&&e.hasOwnProperty("labelVisibility")){let t=s.LabelVisibilityMessage.verify(e.labelVisibility);if(t)return"labelVisibility."+t}return null!=e.placeholder&&e.hasOwnProperty("placeholder")&&!a.isString(e.placeholder)?"placeholder: string expected":null},e.fromObject=function(e){if(e instanceof s.NumberInput)return e;let t=new s.NumberInput;switch(null!=e.id&&(t.id=String(e.id)),null!=e.label&&(t.label=String(e.label)),null!=e.formId&&(t.formId=String(e.formId)),null!=e.format&&(t.format=String(e.format)),null!=e.hasMin&&(t.hasMin=Boolean(e.hasMin)),null!=e.hasMax&&(t.hasMax=Boolean(e.hasMax)),e.dataType){default:if("number"===typeof e.dataType){t.dataType=e.dataType;break}break;case"INT":case 0:t.dataType=0;break;case"FLOAT":case 1:t.dataType=1}if(null!=e.default&&(t.default=Number(e.default)),null!=e.step&&(t.step=Number(e.step)),null!=e.min&&(t.min=Number(e.min)),null!=e.max&&(t.max=Number(e.max)),null!=e.help&&(t.help=String(e.help)),null!=e.value&&(t.value=Number(e.value)),null!=e.setValue&&(t.setValue=Boolean(e.setValue)),null!=e.disabled&&(t.disabled=Boolean(e.disabled)),null!=e.labelVisibility){if("object"!==typeof e.labelVisibility)throw TypeError(".NumberInput.labelVisibility: object expected");t.labelVisibility=s.LabelVisibilityMessage.fromObject(e.labelVisibility)}return null!=e.placeholder&&(t.placeholder=String(e.placeholder)),t},e.toObject=function(e,t){t||(t={});let n={};return t.defaults&&(n.id="",n.label="",n.formId="",n.format="",n.hasMin=!1,n.hasMax=!1,n.dataType=t.enums===String?"INT":0,n.step=0,n.min=0,n.max=0,n.help="",n.setValue=!1,n.disabled=!1,n.labelVisibility=null,n.placeholder=""),null!=e.id&&e.hasOwnProperty("id")&&(n.id=e.id),null!=e.label&&e.hasOwnProperty("label")&&(n.label=e.label),null!=e.formId&&e.hasOwnProperty("formId")&&(n.formId=e.formId),null!=e.format&&e.hasOwnProperty("format")&&(n.format=e.format),null!=e.hasMin&&e.hasOwnProperty("hasMin")&&(n.hasMin=e.hasMin),null!=e.hasMax&&e.hasOwnProperty("hasMax")&&(n.hasMax=e.hasMax),null!=e.dataType&&e.hasOwnProperty("dataType")&&(n.dataType=t.enums===String?void 0===s.NumberInput.DataType[e.dataType]?e.dataType:s.NumberInput.DataType[e.dataType]:e.dataType),null!=e.default&&e.hasOwnProperty("default")&&(n.default=t.json&&!isFinite(e.default)?String(e.default):e.default,t.oneofs&&(n._default="default")),null!=e.step&&e.hasOwnProperty("step")&&(n.step=t.json&&!isFinite(e.step)?String(e.step):e.step),null!=e.min&&e.hasOwnProperty("min")&&(n.min=t.json&&!isFinite(e.min)?String(e.min):e.min),null!=e.max&&e.hasOwnProperty("max")&&(n.max=t.json&&!isFinite(e.max)?String(e.max):e.max),null!=e.help&&e.hasOwnProperty("help")&&(n.help=e.help),null!=e.value&&e.hasOwnProperty("value")&&(n.value=t.json&&!isFinite(e.value)?String(e.value):e.value,t.oneofs&&(n._value="value")),null!=e.setValue&&e.hasOwnProperty("setValue")&&(n.setValue=e.setValue),null!=e.disabled&&e.hasOwnProperty("disabled")&&(n.disabled=e.disabled),null!=e.labelVisibility&&e.hasOwnProperty("labelVisibility")&&(n.labelVisibility=s.LabelVisibilityMessage.toObject(e.labelVisibility,t)),null!=e.placeholder&&e.hasOwnProperty("placeholder")&&(n.placeholder=e.placeholder),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/NumberInput"},e.DataType=function(){const e={},t=Object.create(e);return t[e[0]="INT"]=0,t[e[1]="FLOAT"]=1,t}(),e})()),C=s.PageConfig=(()=>{function e(e){if(e)for(let t=Object.keys(e),n=0;n>>3){case 1:r.title=e.string();break;case 2:r.favicon=e.string();break;case 3:r.layout=e.int32();break;case 4:r.initialSidebarState=e.int32();break;case 5:r.menuItems=s.PageConfig.MenuItems.decode(e,e.uint32());break;default:e.skipType(7&t)}}return r},e.decodeDelimited=function(e){return e instanceof o||(e=new o(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.title&&e.hasOwnProperty("title")&&!a.isString(e.title))return"title: string expected";if(null!=e.favicon&&e.hasOwnProperty("favicon")&&!a.isString(e.favicon))return"favicon: string expected";if(null!=e.layout&&e.hasOwnProperty("layout"))switch(e.layout){default:return"layout: enum value expected";case 0:case 1:}if(null!=e.initialSidebarState&&e.hasOwnProperty("initialSidebarState"))switch(e.initialSidebarState){default:return"initialSidebarState: enum value expected";case 0:case 1:case 2:}if(null!=e.menuItems&&e.hasOwnProperty("menuItems")){let t=s.PageConfig.MenuItems.verify(e.menuItems);if(t)return"menuItems."+t}return null},e.fromObject=function(e){if(e instanceof s.PageConfig)return e;let t=new s.PageConfig;switch(null!=e.title&&(t.title=String(e.title)),null!=e.favicon&&(t.favicon=String(e.favicon)),e.layout){default:if("number"===typeof e.layout){t.layout=e.layout;break}break;case"CENTERED":case 0:t.layout=0;break;case"WIDE":case 1:t.layout=1}switch(e.initialSidebarState){default:if("number"===typeof e.initialSidebarState){t.initialSidebarState=e.initialSidebarState;break}break;case"AUTO":case 0:t.initialSidebarState=0;break;case"EXPANDED":case 1:t.initialSidebarState=1;break;case"COLLAPSED":case 2:t.initialSidebarState=2}if(null!=e.menuItems){if("object"!==typeof e.menuItems)throw TypeError(".PageConfig.menuItems: object expected");t.menuItems=s.PageConfig.MenuItems.fromObject(e.menuItems)}return t},e.toObject=function(e,t){t||(t={});let n={};return t.defaults&&(n.title="",n.favicon="",n.layout=t.enums===String?"CENTERED":0,n.initialSidebarState=t.enums===String?"AUTO":0,n.menuItems=null),null!=e.title&&e.hasOwnProperty("title")&&(n.title=e.title),null!=e.favicon&&e.hasOwnProperty("favicon")&&(n.favicon=e.favicon),null!=e.layout&&e.hasOwnProperty("layout")&&(n.layout=t.enums===String?void 0===s.PageConfig.Layout[e.layout]?e.layout:s.PageConfig.Layout[e.layout]:e.layout),null!=e.initialSidebarState&&e.hasOwnProperty("initialSidebarState")&&(n.initialSidebarState=t.enums===String?void 0===s.PageConfig.SidebarState[e.initialSidebarState]?e.initialSidebarState:s.PageConfig.SidebarState[e.initialSidebarState]:e.initialSidebarState),null!=e.menuItems&&e.hasOwnProperty("menuItems")&&(n.menuItems=s.PageConfig.MenuItems.toObject(e.menuItems,t)),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/PageConfig"},e.MenuItems=function(){function e(e){if(e)for(let t=Object.keys(e),n=0;n>>3){case 1:r.getHelpUrl=e.string();break;case 2:r.hideGetHelp=e.bool();break;case 3:r.reportABugUrl=e.string();break;case 4:r.hideReportABug=e.bool();break;case 5:r.aboutSectionMd=e.string();break;default:e.skipType(7&t)}}return r},e.decodeDelimited=function(e){return e instanceof o||(e=new o(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null!=e.getHelpUrl&&e.hasOwnProperty("getHelpUrl")&&!a.isString(e.getHelpUrl)?"getHelpUrl: string expected":null!=e.hideGetHelp&&e.hasOwnProperty("hideGetHelp")&&"boolean"!==typeof e.hideGetHelp?"hideGetHelp: boolean expected":null!=e.reportABugUrl&&e.hasOwnProperty("reportABugUrl")&&!a.isString(e.reportABugUrl)?"reportABugUrl: string expected":null!=e.hideReportABug&&e.hasOwnProperty("hideReportABug")&&"boolean"!==typeof e.hideReportABug?"hideReportABug: boolean expected":null!=e.aboutSectionMd&&e.hasOwnProperty("aboutSectionMd")&&!a.isString(e.aboutSectionMd)?"aboutSectionMd: string expected":null},e.fromObject=function(e){if(e instanceof s.PageConfig.MenuItems)return e;let t=new s.PageConfig.MenuItems;return null!=e.getHelpUrl&&(t.getHelpUrl=String(e.getHelpUrl)),null!=e.hideGetHelp&&(t.hideGetHelp=Boolean(e.hideGetHelp)),null!=e.reportABugUrl&&(t.reportABugUrl=String(e.reportABugUrl)),null!=e.hideReportABug&&(t.hideReportABug=Boolean(e.hideReportABug)),null!=e.aboutSectionMd&&(t.aboutSectionMd=String(e.aboutSectionMd)),t},e.toObject=function(e,t){t||(t={});let n={};return t.defaults&&(n.getHelpUrl="",n.hideGetHelp=!1,n.reportABugUrl="",n.hideReportABug=!1,n.aboutSectionMd=""),null!=e.getHelpUrl&&e.hasOwnProperty("getHelpUrl")&&(n.getHelpUrl=e.getHelpUrl),null!=e.hideGetHelp&&e.hasOwnProperty("hideGetHelp")&&(n.hideGetHelp=e.hideGetHelp),null!=e.reportABugUrl&&e.hasOwnProperty("reportABugUrl")&&(n.reportABugUrl=e.reportABugUrl),null!=e.hideReportABug&&e.hasOwnProperty("hideReportABug")&&(n.hideReportABug=e.hideReportABug),null!=e.aboutSectionMd&&e.hasOwnProperty("aboutSectionMd")&&(n.aboutSectionMd=e.aboutSectionMd),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/PageConfig.MenuItems"},e}(),e.Layout=function(){const e={},t=Object.create(e);return t[e[0]="CENTERED"]=0,t[e[1]="WIDE"]=1,t}(),e.SidebarState=function(){const e={},t=Object.create(e);return t[e[0]="AUTO"]=0,t[e[1]="EXPANDED"]=1,t[e[2]="COLLAPSED"]=2,t}(),e})(),N=(s.PageInfo=(()=>{function e(e){if(e)for(let t=Object.keys(e),n=0;n>>3===1)r.queryString=e.string();else e.skipType(7&t)}return r},e.decodeDelimited=function(e){return e instanceof o||(e=new o(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null!=e.queryString&&e.hasOwnProperty("queryString")&&!a.isString(e.queryString)?"queryString: string expected":null},e.fromObject=function(e){if(e instanceof s.PageInfo)return e;let t=new s.PageInfo;return null!=e.queryString&&(t.queryString=String(e.queryString)),t},e.toObject=function(e,t){t||(t={});let n={};return t.defaults&&(n.queryString=""),null!=e.queryString&&e.hasOwnProperty("queryString")&&(n.queryString=e.queryString),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/PageInfo"},e})(),s.PageLink=(()=>{function e(e){if(e)for(let t=Object.keys(e),n=0;n>>3){case 1:r.page=e.string();break;case 2:r.label=e.string();break;case 3:r.icon=e.string();break;case 4:r.pageScriptHash=e.string();break;case 5:r.help=e.string();break;case 6:r.useContainerWidth=e.bool();break;case 7:r.disabled=e.bool();break;case 8:r.external=e.bool();break;default:e.skipType(7&t)}}return r},e.decodeDelimited=function(e){return e instanceof o||(e=new o(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";let t={};return null!=e.page&&e.hasOwnProperty("page")&&!a.isString(e.page)?"page: string expected":null!=e.label&&e.hasOwnProperty("label")&&!a.isString(e.label)?"label: string expected":null!=e.icon&&e.hasOwnProperty("icon")&&!a.isString(e.icon)?"icon: string expected":null!=e.pageScriptHash&&e.hasOwnProperty("pageScriptHash")&&!a.isString(e.pageScriptHash)?"pageScriptHash: string expected":null!=e.help&&e.hasOwnProperty("help")&&!a.isString(e.help)?"help: string expected":null!=e.useContainerWidth&&e.hasOwnProperty("useContainerWidth")&&(t._useContainerWidth=1,"boolean"!==typeof e.useContainerWidth)?"useContainerWidth: boolean expected":null!=e.disabled&&e.hasOwnProperty("disabled")&&"boolean"!==typeof e.disabled?"disabled: boolean expected":null!=e.external&&e.hasOwnProperty("external")&&"boolean"!==typeof e.external?"external: boolean expected":null},e.fromObject=function(e){if(e instanceof s.PageLink)return e;let t=new s.PageLink;return null!=e.page&&(t.page=String(e.page)),null!=e.label&&(t.label=String(e.label)),null!=e.icon&&(t.icon=String(e.icon)),null!=e.pageScriptHash&&(t.pageScriptHash=String(e.pageScriptHash)),null!=e.help&&(t.help=String(e.help)),null!=e.useContainerWidth&&(t.useContainerWidth=Boolean(e.useContainerWidth)),null!=e.disabled&&(t.disabled=Boolean(e.disabled)),null!=e.external&&(t.external=Boolean(e.external)),t},e.toObject=function(e,t){t||(t={});let n={};return t.defaults&&(n.page="",n.label="",n.icon="",n.pageScriptHash="",n.help="",n.disabled=!1,n.external=!1),null!=e.page&&e.hasOwnProperty("page")&&(n.page=e.page),null!=e.label&&e.hasOwnProperty("label")&&(n.label=e.label),null!=e.icon&&e.hasOwnProperty("icon")&&(n.icon=e.icon),null!=e.pageScriptHash&&e.hasOwnProperty("pageScriptHash")&&(n.pageScriptHash=e.pageScriptHash),null!=e.help&&e.hasOwnProperty("help")&&(n.help=e.help),null!=e.useContainerWidth&&e.hasOwnProperty("useContainerWidth")&&(n.useContainerWidth=e.useContainerWidth,t.oneofs&&(n._useContainerWidth="useContainerWidth")),null!=e.disabled&&e.hasOwnProperty("disabled")&&(n.disabled=e.disabled),null!=e.external&&e.hasOwnProperty("external")&&(n.external=e.external),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/PageLink"},e})(),s.PageNotFound=(()=>{function e(e){if(e)for(let t=Object.keys(e),n=0;n>>3===1)r.pageName=e.string();else e.skipType(7&t)}return r},e.decodeDelimited=function(e){return e instanceof o||(e=new o(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null!=e.pageName&&e.hasOwnProperty("pageName")&&!a.isString(e.pageName)?"pageName: string expected":null},e.fromObject=function(e){if(e instanceof s.PageNotFound)return e;let t=new s.PageNotFound;return null!=e.pageName&&(t.pageName=String(e.pageName)),t},e.toObject=function(e,t){t||(t={});let n={};return t.defaults&&(n.pageName=""),null!=e.pageName&&e.hasOwnProperty("pageName")&&(n.pageName=e.pageName),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/PageNotFound"},e})(),s.PageProfile=(()=>{function e(e){if(this.commands=[],this.config=[],this.attributions=[],e)for(let t=Object.keys(e),n=0;n>>3){case 1:r.commands&&r.commands.length||(r.commands=[]),r.commands.push(s.Command.decode(e,e.uint32()));break;case 2:r.execTime=e.int64();break;case 3:r.prepTime=e.int64();break;case 5:r.config&&r.config.length||(r.config=[]),r.config.push(e.string());break;case 6:r.uncaughtException=e.string();break;case 7:r.attributions&&r.attributions.length||(r.attributions=[]),r.attributions.push(e.string());break;case 8:r.os=e.string();break;case 9:r.timezone=e.string();break;case 10:r.headless=e.bool();break;case 11:r.isFragmentRun=e.bool();break;default:e.skipType(7&t)}}return r},e.decodeDelimited=function(e){return e instanceof o||(e=new o(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.commands&&e.hasOwnProperty("commands")){if(!Array.isArray(e.commands))return"commands: array expected";for(let t=0;t>>0,e.execTime.high>>>0).toNumber())),null!=e.prepTime&&(a.Long?(t.prepTime=a.Long.fromValue(e.prepTime)).unsigned=!1:"string"===typeof e.prepTime?t.prepTime=parseInt(e.prepTime,10):"number"===typeof e.prepTime?t.prepTime=e.prepTime:"object"===typeof e.prepTime&&(t.prepTime=new a.LongBits(e.prepTime.low>>>0,e.prepTime.high>>>0).toNumber())),e.config){if(!Array.isArray(e.config))throw TypeError(".PageProfile.config: array expected");t.config=[];for(let n=0;n>>0,e.execTime.high>>>0).toNumber():e.execTime),null!=e.prepTime&&e.hasOwnProperty("prepTime")&&("number"===typeof e.prepTime?n.prepTime=t.longs===String?String(e.prepTime):e.prepTime:n.prepTime=t.longs===String?a.Long.prototype.toString.call(e.prepTime):t.longs===Number?new a.LongBits(e.prepTime.low>>>0,e.prepTime.high>>>0).toNumber():e.prepTime),e.config&&e.config.length){n.config=[];for(let t=0;t{function e(e){if(e)for(let t=Object.keys(e),n=0;n>>3){case 1:r.k=e.string();break;case 2:r.t=e.string();break;case 3:r.m=e.string();break;case 5:r.p=e.int32();break;default:e.skipType(7&t)}}return r},e.decodeDelimited=function(e){return e instanceof o||(e=new o(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null!=e.k&&e.hasOwnProperty("k")&&!a.isString(e.k)?"k: string expected":null!=e.t&&e.hasOwnProperty("t")&&!a.isString(e.t)?"t: string expected":null!=e.m&&e.hasOwnProperty("m")&&!a.isString(e.m)?"m: string expected":null!=e.p&&e.hasOwnProperty("p")&&!a.isInteger(e.p)?"p: integer expected":null},e.fromObject=function(e){if(e instanceof s.Argument)return e;let t=new s.Argument;return null!=e.k&&(t.k=String(e.k)),null!=e.t&&(t.t=String(e.t)),null!=e.m&&(t.m=String(e.m)),null!=e.p&&(t.p=0|e.p),t},e.toObject=function(e,t){t||(t={});let n={};return t.defaults&&(n.k="",n.t="",n.m="",n.p=0),null!=e.k&&e.hasOwnProperty("k")&&(n.k=e.k),null!=e.t&&e.hasOwnProperty("t")&&(n.t=e.t),null!=e.m&&e.hasOwnProperty("m")&&(n.m=e.m),null!=e.p&&e.hasOwnProperty("p")&&(n.p=e.p),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/Argument"},e})(),s.Command=(()=>{function e(e){if(this.args=[],e)for(let t=Object.keys(e),n=0;n>>3){case 1:r.name=e.string();break;case 2:r.args&&r.args.length||(r.args=[]),r.args.push(s.Argument.decode(e,e.uint32()));break;case 4:r.time=e.int64();break;default:e.skipType(7&t)}}return r},e.decodeDelimited=function(e){return e instanceof o||(e=new o(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.name&&e.hasOwnProperty("name")&&!a.isString(e.name))return"name: string expected";if(null!=e.args&&e.hasOwnProperty("args")){if(!Array.isArray(e.args))return"args: array expected";for(let t=0;t>>0,e.time.high>>>0).toNumber())),t},e.toObject=function(e,t){t||(t={});let n={};if((t.arrays||t.defaults)&&(n.args=[]),t.defaults)if(n.name="",a.Long){let e=new a.Long(0,0,!1);n.time=t.longs===String?e.toString():t.longs===Number?e.toNumber():e}else n.time=t.longs===String?"0":0;if(null!=e.name&&e.hasOwnProperty("name")&&(n.name=e.name),e.args&&e.args.length){n.args=[];for(let r=0;r>>0,e.time.high>>>0).toNumber():e.time),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/Command"},e})(),s.PagesChanged=(()=>{function e(e){if(this.appPages=[],e)for(let t=Object.keys(e),n=0;n>>3===1)r.appPages&&r.appPages.length||(r.appPages=[]),r.appPages.push(s.AppPage.decode(e,e.uint32()));else e.skipType(7&t)}return r},e.decodeDelimited=function(e){return e instanceof o||(e=new o(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.appPages&&e.hasOwnProperty("appPages")){if(!Array.isArray(e.appPages))return"appPages: array expected";for(let t=0;t{function e(e){if(e)for(let t=Object.keys(e),n=0;n>>3===1)r.message=e.string();else e.skipType(7&t)}return r},e.decodeDelimited=function(e){return e instanceof o||(e=new o(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null!=e.message&&e.hasOwnProperty("message")&&!a.isString(e.message)?"message: string expected":null},e.fromObject=function(e){if(e instanceof s.ParentMessage)return e;let t=new s.ParentMessage;return null!=e.message&&(t.message=String(e.message)),t},e.toObject=function(e,t){t||(t={});let n={};return t.defaults&&(n.message=""),null!=e.message&&e.hasOwnProperty("message")&&(n.message=e.message),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/ParentMessage"},e})(),s.PlotlyChart=(()=>{function e(e){if(this.selectionMode=[],e)for(let t=Object.keys(e),n=0;n>>3){case 5:r.useContainerWidth=e.bool();break;case 6:r.theme=e.string();break;case 7:r.id=e.string();break;case 8:if(r.selectionMode&&r.selectionMode.length||(r.selectionMode=[]),2===(7&t)){let t=e.uint32()+e.pos;for(;e.pos{function e(e){if(e)for(let t=Object.keys(e),n=0;n>>3){case 1:r.spec=e.string();break;case 2:r.config=e.string();break;default:e.skipType(7&t)}}return r},e.decodeDelimited=function(e){return e instanceof o||(e=new o(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null!=e.spec&&e.hasOwnProperty("spec")&&!a.isString(e.spec)?"spec: string expected":null!=e.config&&e.hasOwnProperty("config")&&!a.isString(e.config)?"config: string expected":null},e.fromObject=function(e){if(e instanceof s.Figure)return e;let t=new s.Figure;return null!=e.spec&&(t.spec=String(e.spec)),null!=e.config&&(t.config=String(e.config)),t},e.toObject=function(e,t){t||(t={});let n={};return t.defaults&&(n.spec="",n.config=""),null!=e.spec&&e.hasOwnProperty("spec")&&(n.spec=e.spec),null!=e.config&&e.hasOwnProperty("config")&&(n.config=e.config),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/Figure"},e})(),s.Progress=(()=>{function e(e){if(e)for(let t=Object.keys(e),n=0;n>>3){case 1:r.value=e.uint32();break;case 2:r.text=e.string();break;default:e.skipType(7&t)}}return r},e.decodeDelimited=function(e){return e instanceof o||(e=new o(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null!=e.value&&e.hasOwnProperty("value")&&!a.isInteger(e.value)?"value: integer expected":null!=e.text&&e.hasOwnProperty("text")&&!a.isString(e.text)?"text: string expected":null},e.fromObject=function(e){if(e instanceof s.Progress)return e;let t=new s.Progress;return null!=e.value&&(t.value=e.value>>>0),null!=e.text&&(t.text=String(e.text)),t},e.toObject=function(e,t){t||(t={});let n={};return t.defaults&&(n.value=0,n.text=""),null!=e.value&&e.hasOwnProperty("value")&&(n.value=e.value),null!=e.text&&e.hasOwnProperty("text")&&(n.text=e.text),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/Progress"},e})(),s.Radio=(()=>{function e(e){if(this.options=[],this.captions=[],e)for(let t=Object.keys(e),n=0;n>>3){case 1:r.id=e.string();break;case 2:r.label=e.string();break;case 3:r.default=e.int32();break;case 4:r.options&&r.options.length||(r.options=[]),r.options.push(e.string());break;case 5:r.help=e.string();break;case 6:r.formId=e.string();break;case 7:r.value=e.int32();break;case 8:r.setValue=e.bool();break;case 9:r.disabled=e.bool();break;case 10:r.horizontal=e.bool();break;case 11:r.labelVisibility=s.LabelVisibilityMessage.decode(e,e.uint32());break;case 12:r.captions&&r.captions.length||(r.captions=[]),r.captions.push(e.string());break;default:e.skipType(7&t)}}return r},e.decodeDelimited=function(e){return e instanceof o||(e=new o(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";let t={};if(null!=e.id&&e.hasOwnProperty("id")&&!a.isString(e.id))return"id: string expected";if(null!=e.label&&e.hasOwnProperty("label")&&!a.isString(e.label))return"label: string expected";if(null!=e.default&&e.hasOwnProperty("default")&&(t._default=1,!a.isInteger(e.default)))return"default: integer expected";if(null!=e.options&&e.hasOwnProperty("options")){if(!Array.isArray(e.options))return"options: array expected";for(let t=0;t{const e={},t=Object.create(e);return t[e[0]="MAIN"]=0,t[e[1]="SIDEBAR"]=1,t[e[2]="EVENT"]=2,t[e[3]="BOTTOM"]=3,t})(),s.Selectbox=(()=>{function e(e){if(this.options=[],e)for(let t=Object.keys(e),n=0;n>>3){case 1:r.id=e.string();break;case 2:r.label=e.string();break;case 3:r.default=e.int32();break;case 4:r.options&&r.options.length||(r.options=[]),r.options.push(e.string());break;case 5:r.help=e.string();break;case 6:r.formId=e.string();break;case 7:r.value=e.int32();break;case 8:r.setValue=e.bool();break;case 9:r.disabled=e.bool();break;case 10:r.labelVisibility=s.LabelVisibilityMessage.decode(e,e.uint32());break;case 11:r.placeholder=e.string();break;default:e.skipType(7&t)}}return r},e.decodeDelimited=function(e){return e instanceof o||(e=new o(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";let t={};if(null!=e.id&&e.hasOwnProperty("id")&&!a.isString(e.id))return"id: string expected";if(null!=e.label&&e.hasOwnProperty("label")&&!a.isString(e.label))return"label: string expected";if(null!=e.default&&e.hasOwnProperty("default")&&(t._default=1,!a.isInteger(e.default)))return"default: integer expected";if(null!=e.options&&e.hasOwnProperty("options")){if(!Array.isArray(e.options))return"options: array expected";for(let t=0;t{function e(e){if(e)for(let t=Object.keys(e),n=0;n>>3){case 1:r.scriptChangedOnDisk=e.bool();break;case 2:r.scriptWasManuallyStopped=e.bool();break;case 3:r.scriptCompilationException=s.Exception.decode(e,e.uint32());break;default:e.skipType(7&t)}}return r},e.decodeDelimited=function(e){return e instanceof o||(e=new o(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";let t={};if(null!=e.scriptChangedOnDisk&&e.hasOwnProperty("scriptChangedOnDisk")&&(t.type=1,"boolean"!==typeof e.scriptChangedOnDisk))return"scriptChangedOnDisk: boolean expected";if(null!=e.scriptWasManuallyStopped&&e.hasOwnProperty("scriptWasManuallyStopped")){if(1===t.type)return"type: multiple values";if(t.type=1,"boolean"!==typeof e.scriptWasManuallyStopped)return"scriptWasManuallyStopped: boolean expected"}if(null!=e.scriptCompilationException&&e.hasOwnProperty("scriptCompilationException")){if(1===t.type)return"type: multiple values";t.type=1;{let t=s.Exception.verify(e.scriptCompilationException);if(t)return"scriptCompilationException."+t}}return null},e.fromObject=function(e){if(e instanceof s.SessionEvent)return e;let t=new s.SessionEvent;if(null!=e.scriptChangedOnDisk&&(t.scriptChangedOnDisk=Boolean(e.scriptChangedOnDisk)),null!=e.scriptWasManuallyStopped&&(t.scriptWasManuallyStopped=Boolean(e.scriptWasManuallyStopped)),null!=e.scriptCompilationException){if("object"!==typeof e.scriptCompilationException)throw TypeError(".SessionEvent.scriptCompilationException: object expected");t.scriptCompilationException=s.Exception.fromObject(e.scriptCompilationException)}return t},e.toObject=function(e,t){t||(t={});let n={};return null!=e.scriptChangedOnDisk&&e.hasOwnProperty("scriptChangedOnDisk")&&(n.scriptChangedOnDisk=e.scriptChangedOnDisk,t.oneofs&&(n.type="scriptChangedOnDisk")),null!=e.scriptWasManuallyStopped&&e.hasOwnProperty("scriptWasManuallyStopped")&&(n.scriptWasManuallyStopped=e.scriptWasManuallyStopped,t.oneofs&&(n.type="scriptWasManuallyStopped")),null!=e.scriptCompilationException&&e.hasOwnProperty("scriptCompilationException")&&(n.scriptCompilationException=s.Exception.toObject(e.scriptCompilationException,t),t.oneofs&&(n.type="scriptCompilationException")),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/SessionEvent"},e})(),s.SessionStatus=(()=>{function e(e){if(e)for(let t=Object.keys(e),n=0;n>>3){case 1:r.runOnSave=e.bool();break;case 2:r.scriptIsRunning=e.bool();break;default:e.skipType(7&t)}}return r},e.decodeDelimited=function(e){return e instanceof o||(e=new o(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null!=e.runOnSave&&e.hasOwnProperty("runOnSave")&&"boolean"!==typeof e.runOnSave?"runOnSave: boolean expected":null!=e.scriptIsRunning&&e.hasOwnProperty("scriptIsRunning")&&"boolean"!==typeof e.scriptIsRunning?"scriptIsRunning: boolean expected":null},e.fromObject=function(e){if(e instanceof s.SessionStatus)return e;let t=new s.SessionStatus;return null!=e.runOnSave&&(t.runOnSave=Boolean(e.runOnSave)),null!=e.scriptIsRunning&&(t.scriptIsRunning=Boolean(e.scriptIsRunning)),t},e.toObject=function(e,t){t||(t={});let n={};return t.defaults&&(n.runOnSave=!1,n.scriptIsRunning=!1),null!=e.runOnSave&&e.hasOwnProperty("runOnSave")&&(n.runOnSave=e.runOnSave),null!=e.scriptIsRunning&&e.hasOwnProperty("scriptIsRunning")&&(n.scriptIsRunning=e.scriptIsRunning),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/SessionStatus"},e})(),s.Skeleton=(()=>{function e(e){if(e)for(let t=Object.keys(e),n=0;n>>3){case 1:r.style=e.int32();break;case 2:r.height=e.int32();break;default:e.skipType(7&t)}}return r},e.decodeDelimited=function(e){return e instanceof o||(e=new o(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";let t={};if(null!=e.style&&e.hasOwnProperty("style"))switch(e.style){default:return"style: enum value expected";case 0:case 1:}return null!=e.height&&e.hasOwnProperty("height")&&(t._height=1,!a.isInteger(e.height))?"height: integer expected":null},e.fromObject=function(e){if(e instanceof s.Skeleton)return e;let t=new s.Skeleton;switch(e.style){default:if("number"===typeof e.style){t.style=e.style;break}break;case"ELEMENT":case 0:t.style=0;break;case"APP":case 1:t.style=1}return null!=e.height&&(t.height=0|e.height),t},e.toObject=function(e,t){t||(t={});let n={};return t.defaults&&(n.style=t.enums===String?"ELEMENT":0),null!=e.style&&e.hasOwnProperty("style")&&(n.style=t.enums===String?void 0===s.Skeleton.SkeletonStyle[e.style]?e.style:s.Skeleton.SkeletonStyle[e.style]:e.style),null!=e.height&&e.hasOwnProperty("height")&&(n.height=e.height,t.oneofs&&(n._height="height")),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/Skeleton"},e.SkeletonStyle=function(){const e={},t=Object.create(e);return t[e[0]="ELEMENT"]=0,t[e[1]="APP"]=1,t}(),e})()),P=s.Slider=(()=>{function e(e){if(this.default=[],this.value=[],this.options=[],e)for(let t=Object.keys(e),n=0;n>>3){case 1:r.id=e.string();break;case 2:r.formId=e.string();break;case 3:r.label=e.string();break;case 4:r.format=e.string();break;case 5:r.dataType=e.int32();break;case 6:if(r.default&&r.default.length||(r.default=[]),2===(7&t)){let t=e.uint32()+e.pos;for(;e.pos{function e(e){if(e)for(let t=Object.keys(e),n=0;n>>3===1)r.show=e.bool();else e.skipType(7&t)}return r},e.decodeDelimited=function(e){return e instanceof o||(e=new o(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null!=e.show&&e.hasOwnProperty("show")&&"boolean"!==typeof e.show?"show: boolean expected":null},e.fromObject=function(e){if(e instanceof s.Snow)return e;let t=new s.Snow;return null!=e.show&&(t.show=Boolean(e.show)),t},e.toObject=function(e,t){t||(t={});let n={};return t.defaults&&(n.show=!1),null!=e.show&&e.hasOwnProperty("show")&&(n.show=e.show),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/Snow"},e})(),s.Spinner=(()=>{function e(e){if(e)for(let t=Object.keys(e),n=0;n>>3){case 1:r.text=e.string();break;case 2:r.cache=e.bool();break;default:e.skipType(7&t)}}return r},e.decodeDelimited=function(e){return e instanceof o||(e=new o(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null!=e.text&&e.hasOwnProperty("text")&&!a.isString(e.text)?"text: string expected":null!=e.cache&&e.hasOwnProperty("cache")&&"boolean"!==typeof e.cache?"cache: boolean expected":null},e.fromObject=function(e){if(e instanceof s.Spinner)return e;let t=new s.Spinner;return null!=e.text&&(t.text=String(e.text)),null!=e.cache&&(t.cache=Boolean(e.cache)),t},e.toObject=function(e,t){t||(t={});let n={};return t.defaults&&(n.text="",n.cache=!1),null!=e.text&&e.hasOwnProperty("text")&&(n.text=e.text),null!=e.cache&&e.hasOwnProperty("cache")&&(n.cache=e.cache),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/Spinner"},e})(),s.Text=(()=>{function e(e){if(e)for(let t=Object.keys(e),n=0;n>>3){case 1:r.body=e.string();break;case 2:r.help=e.string();break;default:e.skipType(7&t)}}return r},e.decodeDelimited=function(e){return e instanceof o||(e=new o(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null!=e.body&&e.hasOwnProperty("body")&&!a.isString(e.body)?"body: string expected":null!=e.help&&e.hasOwnProperty("help")&&!a.isString(e.help)?"help: string expected":null},e.fromObject=function(e){if(e instanceof s.Text)return e;let t=new s.Text;return null!=e.body&&(t.body=String(e.body)),null!=e.help&&(t.help=String(e.help)),t},e.toObject=function(e,t){t||(t={});let n={};return t.defaults&&(n.body="",n.help=""),null!=e.body&&e.hasOwnProperty("body")&&(n.body=e.body),null!=e.help&&e.hasOwnProperty("help")&&(n.help=e.help),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/Text"},e})(),s.TextArea=(()=>{function e(e){if(e)for(let t=Object.keys(e),n=0;n>>3){case 1:r.id=e.string();break;case 2:r.label=e.string();break;case 3:r.default=e.string();break;case 4:r.height=e.uint32();break;case 5:r.maxChars=e.uint32();break;case 6:r.help=e.string();break;case 7:r.formId=e.string();break;case 8:r.value=e.string();break;case 9:r.setValue=e.bool();break;case 10:r.placeholder=e.string();break;case 11:r.disabled=e.bool();break;case 12:r.labelVisibility=s.LabelVisibilityMessage.decode(e,e.uint32());break;default:e.skipType(7&t)}}return r},e.decodeDelimited=function(e){return e instanceof o||(e=new o(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";let t={};if(null!=e.id&&e.hasOwnProperty("id")&&!a.isString(e.id))return"id: string expected";if(null!=e.label&&e.hasOwnProperty("label")&&!a.isString(e.label))return"label: string expected";if(null!=e.default&&e.hasOwnProperty("default")&&(t._default=1,!a.isString(e.default)))return"default: string expected";if(null!=e.height&&e.hasOwnProperty("height")&&!a.isInteger(e.height))return"height: integer expected";if(null!=e.maxChars&&e.hasOwnProperty("maxChars")&&!a.isInteger(e.maxChars))return"maxChars: integer expected";if(null!=e.help&&e.hasOwnProperty("help")&&!a.isString(e.help))return"help: string expected";if(null!=e.formId&&e.hasOwnProperty("formId")&&!a.isString(e.formId))return"formId: string expected";if(null!=e.value&&e.hasOwnProperty("value")&&(t._value=1,!a.isString(e.value)))return"value: string expected";if(null!=e.setValue&&e.hasOwnProperty("setValue")&&"boolean"!==typeof e.setValue)return"setValue: boolean expected";if(null!=e.placeholder&&e.hasOwnProperty("placeholder")&&!a.isString(e.placeholder))return"placeholder: string expected";if(null!=e.disabled&&e.hasOwnProperty("disabled")&&"boolean"!==typeof e.disabled)return"disabled: boolean expected";if(null!=e.labelVisibility&&e.hasOwnProperty("labelVisibility")){let t=s.LabelVisibilityMessage.verify(e.labelVisibility);if(t)return"labelVisibility."+t}return null},e.fromObject=function(e){if(e instanceof s.TextArea)return e;let t=new s.TextArea;if(null!=e.id&&(t.id=String(e.id)),null!=e.label&&(t.label=String(e.label)),null!=e.default&&(t.default=String(e.default)),null!=e.height&&(t.height=e.height>>>0),null!=e.maxChars&&(t.maxChars=e.maxChars>>>0),null!=e.help&&(t.help=String(e.help)),null!=e.formId&&(t.formId=String(e.formId)),null!=e.value&&(t.value=String(e.value)),null!=e.setValue&&(t.setValue=Boolean(e.setValue)),null!=e.placeholder&&(t.placeholder=String(e.placeholder)),null!=e.disabled&&(t.disabled=Boolean(e.disabled)),null!=e.labelVisibility){if("object"!==typeof e.labelVisibility)throw TypeError(".TextArea.labelVisibility: object expected");t.labelVisibility=s.LabelVisibilityMessage.fromObject(e.labelVisibility)}return t},e.toObject=function(e,t){t||(t={});let n={};return t.defaults&&(n.id="",n.label="",n.height=0,n.maxChars=0,n.help="",n.formId="",n.setValue=!1,n.placeholder="",n.disabled=!1,n.labelVisibility=null),null!=e.id&&e.hasOwnProperty("id")&&(n.id=e.id),null!=e.label&&e.hasOwnProperty("label")&&(n.label=e.label),null!=e.default&&e.hasOwnProperty("default")&&(n.default=e.default,t.oneofs&&(n._default="default")),null!=e.height&&e.hasOwnProperty("height")&&(n.height=e.height),null!=e.maxChars&&e.hasOwnProperty("maxChars")&&(n.maxChars=e.maxChars),null!=e.help&&e.hasOwnProperty("help")&&(n.help=e.help),null!=e.formId&&e.hasOwnProperty("formId")&&(n.formId=e.formId),null!=e.value&&e.hasOwnProperty("value")&&(n.value=e.value,t.oneofs&&(n._value="value")),null!=e.setValue&&e.hasOwnProperty("setValue")&&(n.setValue=e.setValue),null!=e.placeholder&&e.hasOwnProperty("placeholder")&&(n.placeholder=e.placeholder),null!=e.disabled&&e.hasOwnProperty("disabled")&&(n.disabled=e.disabled),null!=e.labelVisibility&&e.hasOwnProperty("labelVisibility")&&(n.labelVisibility=s.LabelVisibilityMessage.toObject(e.labelVisibility,t)),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/TextArea"},e})(),s.TextInput=(()=>{function e(e){if(e)for(let t=Object.keys(e),n=0;n>>3){case 1:r.id=e.string();break;case 2:r.label=e.string();break;case 3:r.default=e.string();break;case 4:r.type=e.int32();break;case 5:r.maxChars=e.uint32();break;case 6:r.help=e.string();break;case 7:r.formId=e.string();break;case 8:r.value=e.string();break;case 9:r.setValue=e.bool();break;case 10:r.autocomplete=e.string();break;case 11:r.placeholder=e.string();break;case 12:r.disabled=e.bool();break;case 13:r.labelVisibility=s.LabelVisibilityMessage.decode(e,e.uint32());break;default:e.skipType(7&t)}}return r},e.decodeDelimited=function(e){return e instanceof o||(e=new o(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";let t={};if(null!=e.id&&e.hasOwnProperty("id")&&!a.isString(e.id))return"id: string expected";if(null!=e.label&&e.hasOwnProperty("label")&&!a.isString(e.label))return"label: string expected";if(null!=e.default&&e.hasOwnProperty("default")&&(t._default=1,!a.isString(e.default)))return"default: string expected";if(null!=e.type&&e.hasOwnProperty("type"))switch(e.type){default:return"type: enum value expected";case 0:case 1:}if(null!=e.maxChars&&e.hasOwnProperty("maxChars")&&!a.isInteger(e.maxChars))return"maxChars: integer expected";if(null!=e.help&&e.hasOwnProperty("help")&&!a.isString(e.help))return"help: string expected";if(null!=e.formId&&e.hasOwnProperty("formId")&&!a.isString(e.formId))return"formId: string expected";if(null!=e.value&&e.hasOwnProperty("value")&&(t._value=1,!a.isString(e.value)))return"value: string expected";if(null!=e.setValue&&e.hasOwnProperty("setValue")&&"boolean"!==typeof e.setValue)return"setValue: boolean expected";if(null!=e.autocomplete&&e.hasOwnProperty("autocomplete")&&!a.isString(e.autocomplete))return"autocomplete: string expected";if(null!=e.placeholder&&e.hasOwnProperty("placeholder")&&!a.isString(e.placeholder))return"placeholder: string expected";if(null!=e.disabled&&e.hasOwnProperty("disabled")&&"boolean"!==typeof e.disabled)return"disabled: boolean expected";if(null!=e.labelVisibility&&e.hasOwnProperty("labelVisibility")){let t=s.LabelVisibilityMessage.verify(e.labelVisibility);if(t)return"labelVisibility."+t}return null},e.fromObject=function(e){if(e instanceof s.TextInput)return e;let t=new s.TextInput;switch(null!=e.id&&(t.id=String(e.id)),null!=e.label&&(t.label=String(e.label)),null!=e.default&&(t.default=String(e.default)),e.type){default:if("number"===typeof e.type){t.type=e.type;break}break;case"DEFAULT":case 0:t.type=0;break;case"PASSWORD":case 1:t.type=1}if(null!=e.maxChars&&(t.maxChars=e.maxChars>>>0),null!=e.help&&(t.help=String(e.help)),null!=e.formId&&(t.formId=String(e.formId)),null!=e.value&&(t.value=String(e.value)),null!=e.setValue&&(t.setValue=Boolean(e.setValue)),null!=e.autocomplete&&(t.autocomplete=String(e.autocomplete)),null!=e.placeholder&&(t.placeholder=String(e.placeholder)),null!=e.disabled&&(t.disabled=Boolean(e.disabled)),null!=e.labelVisibility){if("object"!==typeof e.labelVisibility)throw TypeError(".TextInput.labelVisibility: object expected");t.labelVisibility=s.LabelVisibilityMessage.fromObject(e.labelVisibility)}return t},e.toObject=function(e,t){t||(t={});let n={};return t.defaults&&(n.id="",n.label="",n.type=t.enums===String?"DEFAULT":0,n.maxChars=0,n.help="",n.formId="",n.setValue=!1,n.autocomplete="",n.placeholder="",n.disabled=!1,n.labelVisibility=null),null!=e.id&&e.hasOwnProperty("id")&&(n.id=e.id),null!=e.label&&e.hasOwnProperty("label")&&(n.label=e.label),null!=e.default&&e.hasOwnProperty("default")&&(n.default=e.default,t.oneofs&&(n._default="default")),null!=e.type&&e.hasOwnProperty("type")&&(n.type=t.enums===String?void 0===s.TextInput.Type[e.type]?e.type:s.TextInput.Type[e.type]:e.type),null!=e.maxChars&&e.hasOwnProperty("maxChars")&&(n.maxChars=e.maxChars),null!=e.help&&e.hasOwnProperty("help")&&(n.help=e.help),null!=e.formId&&e.hasOwnProperty("formId")&&(n.formId=e.formId),null!=e.value&&e.hasOwnProperty("value")&&(n.value=e.value,t.oneofs&&(n._value="value")),null!=e.setValue&&e.hasOwnProperty("setValue")&&(n.setValue=e.setValue),null!=e.autocomplete&&e.hasOwnProperty("autocomplete")&&(n.autocomplete=e.autocomplete),null!=e.placeholder&&e.hasOwnProperty("placeholder")&&(n.placeholder=e.placeholder),null!=e.disabled&&e.hasOwnProperty("disabled")&&(n.disabled=e.disabled),null!=e.labelVisibility&&e.hasOwnProperty("labelVisibility")&&(n.labelVisibility=s.LabelVisibilityMessage.toObject(e.labelVisibility,t)),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/TextInput"},e.Type=function(){const e={},t=Object.create(e);return t[e[0]="DEFAULT"]=0,t[e[1]="PASSWORD"]=1,t}(),e})()),j=(s.TimeInput=(()=>{function e(e){if(e)for(let t=Object.keys(e),n=0;n>>3){case 1:r.id=e.string();break;case 2:r.label=e.string();break;case 3:r.default=e.string();break;case 4:r.help=e.string();break;case 5:r.formId=e.string();break;case 6:r.value=e.string();break;case 7:r.setValue=e.bool();break;case 8:r.disabled=e.bool();break;case 9:r.labelVisibility=s.LabelVisibilityMessage.decode(e,e.uint32());break;case 10:r.step=e.int64();break;default:e.skipType(7&t)}}return r},e.decodeDelimited=function(e){return e instanceof o||(e=new o(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";let t={};if(null!=e.id&&e.hasOwnProperty("id")&&!a.isString(e.id))return"id: string expected";if(null!=e.label&&e.hasOwnProperty("label")&&!a.isString(e.label))return"label: string expected";if(null!=e.default&&e.hasOwnProperty("default")&&(t._default=1,!a.isString(e.default)))return"default: string expected";if(null!=e.help&&e.hasOwnProperty("help")&&!a.isString(e.help))return"help: string expected";if(null!=e.formId&&e.hasOwnProperty("formId")&&!a.isString(e.formId))return"formId: string expected";if(null!=e.value&&e.hasOwnProperty("value")&&(t._value=1,!a.isString(e.value)))return"value: string expected";if(null!=e.setValue&&e.hasOwnProperty("setValue")&&"boolean"!==typeof e.setValue)return"setValue: boolean expected";if(null!=e.disabled&&e.hasOwnProperty("disabled")&&"boolean"!==typeof e.disabled)return"disabled: boolean expected";if(null!=e.labelVisibility&&e.hasOwnProperty("labelVisibility")){let t=s.LabelVisibilityMessage.verify(e.labelVisibility);if(t)return"labelVisibility."+t}return null==e.step||!e.hasOwnProperty("step")||a.isInteger(e.step)||e.step&&a.isInteger(e.step.low)&&a.isInteger(e.step.high)?null:"step: integer|Long expected"},e.fromObject=function(e){if(e instanceof s.TimeInput)return e;let t=new s.TimeInput;if(null!=e.id&&(t.id=String(e.id)),null!=e.label&&(t.label=String(e.label)),null!=e.default&&(t.default=String(e.default)),null!=e.help&&(t.help=String(e.help)),null!=e.formId&&(t.formId=String(e.formId)),null!=e.value&&(t.value=String(e.value)),null!=e.setValue&&(t.setValue=Boolean(e.setValue)),null!=e.disabled&&(t.disabled=Boolean(e.disabled)),null!=e.labelVisibility){if("object"!==typeof e.labelVisibility)throw TypeError(".TimeInput.labelVisibility: object expected");t.labelVisibility=s.LabelVisibilityMessage.fromObject(e.labelVisibility)}return null!=e.step&&(a.Long?(t.step=a.Long.fromValue(e.step)).unsigned=!1:"string"===typeof e.step?t.step=parseInt(e.step,10):"number"===typeof e.step?t.step=e.step:"object"===typeof e.step&&(t.step=new a.LongBits(e.step.low>>>0,e.step.high>>>0).toNumber())),t},e.toObject=function(e,t){t||(t={});let n={};if(t.defaults)if(n.id="",n.label="",n.help="",n.formId="",n.setValue=!1,n.disabled=!1,n.labelVisibility=null,a.Long){let e=new a.Long(0,0,!1);n.step=t.longs===String?e.toString():t.longs===Number?e.toNumber():e}else n.step=t.longs===String?"0":0;return null!=e.id&&e.hasOwnProperty("id")&&(n.id=e.id),null!=e.label&&e.hasOwnProperty("label")&&(n.label=e.label),null!=e.default&&e.hasOwnProperty("default")&&(n.default=e.default,t.oneofs&&(n._default="default")),null!=e.help&&e.hasOwnProperty("help")&&(n.help=e.help),null!=e.formId&&e.hasOwnProperty("formId")&&(n.formId=e.formId),null!=e.value&&e.hasOwnProperty("value")&&(n.value=e.value,t.oneofs&&(n._value="value")),null!=e.setValue&&e.hasOwnProperty("setValue")&&(n.setValue=e.setValue),null!=e.disabled&&e.hasOwnProperty("disabled")&&(n.disabled=e.disabled),null!=e.labelVisibility&&e.hasOwnProperty("labelVisibility")&&(n.labelVisibility=s.LabelVisibilityMessage.toObject(e.labelVisibility,t)),null!=e.step&&e.hasOwnProperty("step")&&("number"===typeof e.step?n.step=t.longs===String?String(e.step):e.step:n.step=t.longs===String?a.Long.prototype.toString.call(e.step):t.longs===Number?new a.LongBits(e.step.low>>>0,e.step.high>>>0).toNumber():e.step),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/TimeInput"},e})(),s.Toast=(()=>{function e(e){if(e)for(let t=Object.keys(e),n=0;n>>3){case 1:r.body=e.string();break;case 2:r.icon=e.string();break;default:e.skipType(7&t)}}return r},e.decodeDelimited=function(e){return e instanceof o||(e=new o(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null!=e.body&&e.hasOwnProperty("body")&&!a.isString(e.body)?"body: string expected":null!=e.icon&&e.hasOwnProperty("icon")&&!a.isString(e.icon)?"icon: string expected":null},e.fromObject=function(e){if(e instanceof s.Toast)return e;let t=new s.Toast;return null!=e.body&&(t.body=String(e.body)),null!=e.icon&&(t.icon=String(e.icon)),t},e.toObject=function(e,t){t||(t={});let n={};return t.defaults&&(n.body="",n.icon=""),null!=e.body&&e.hasOwnProperty("body")&&(n.body=e.body),null!=e.icon&&e.hasOwnProperty("icon")&&(n.icon=e.icon),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/Toast"},e})(),s.VegaLiteChart=(()=>{function e(e){if(this.datasets=[],e)for(let t=Object.keys(e),n=0;n>>3){case 1:r.spec=e.string();break;case 2:r.data=s.DataFrame.decode(e,e.uint32());break;case 4:r.datasets&&r.datasets.length||(r.datasets=[]),r.datasets.push(s.NamedDataSet.decode(e,e.uint32()));break;case 5:r.useContainerWidth=e.bool();break;default:e.skipType(7&t)}}return r},e.decodeDelimited=function(e){return e instanceof o||(e=new o(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.spec&&e.hasOwnProperty("spec")&&!a.isString(e.spec))return"spec: string expected";if(null!=e.data&&e.hasOwnProperty("data")){let t=s.DataFrame.verify(e.data);if(t)return"data."+t}if(null!=e.datasets&&e.hasOwnProperty("datasets")){if(!Array.isArray(e.datasets))return"datasets: array expected";for(let t=0;t{function e(e){if(e)for(let t=Object.keys(e),n=0;n>>3){case 1:r.label=e.string();break;case 2:r.url=e.string();break;default:e.skipType(7&t)}}return r},e.decodeDelimited=function(e){return e instanceof o||(e=new o(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null!=e.label&&e.hasOwnProperty("label")&&!a.isString(e.label)?"label: string expected":null!=e.url&&e.hasOwnProperty("url")&&!a.isString(e.url)?"url: string expected":null},e.fromObject=function(e){if(e instanceof s.SubtitleTrack)return e;let t=new s.SubtitleTrack;return null!=e.label&&(t.label=String(e.label)),null!=e.url&&(t.url=String(e.url)),t},e.toObject=function(e,t){t||(t={});let n={};return t.defaults&&(n.label="",n.url=""),null!=e.label&&e.hasOwnProperty("label")&&(n.label=e.label),null!=e.url&&e.hasOwnProperty("url")&&(n.url=e.url),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/SubtitleTrack"},e})(),s.Video=(()=>{function e(e){if(this.subtitles=[],e)for(let t=Object.keys(e),n=0;n>>3){case 6:r.url=e.string();break;case 3:r.startTime=e.int32();break;case 5:r.type=e.int32();break;case 7:r.subtitles&&r.subtitles.length||(r.subtitles=[]),r.subtitles.push(s.SubtitleTrack.decode(e,e.uint32()));break;case 8:r.endTime=e.int32();break;case 9:r.loop=e.bool();break;case 10:r.autoplay=e.bool();break;case 11:r.muted=e.bool();break;case 12:r.id=e.string();break;default:e.skipType(7&t)}}return r},e.decodeDelimited=function(e){return e instanceof o||(e=new o(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.url&&e.hasOwnProperty("url")&&!a.isString(e.url))return"url: string expected";if(null!=e.startTime&&e.hasOwnProperty("startTime")&&!a.isInteger(e.startTime))return"startTime: integer expected";if(null!=e.type&&e.hasOwnProperty("type"))switch(e.type){default:return"type: enum value expected";case 0:case 1:case 2:}if(null!=e.subtitles&&e.hasOwnProperty("subtitles")){if(!Array.isArray(e.subtitles))return"subtitles: array expected";for(let t=0;t{function e(e){if(this.widgets=[],e)for(let t=Object.keys(e),n=0;n>>3===1)r.widgets&&r.widgets.length||(r.widgets=[]),r.widgets.push(s.WidgetState.decode(e,e.uint32()));else e.skipType(7&t)}return r},e.decodeDelimited=function(e){return e instanceof o||(e=new o(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.widgets&&e.hasOwnProperty("widgets")){if(!Array.isArray(e.widgets))return"widgets: array expected";for(let t=0;t{function e(e){if(e)for(let t=Object.keys(e),n=0;n>>3){case 1:r.id=e.string();break;case 2:r.triggerValue=e.bool();break;case 3:r.boolValue=e.bool();break;case 4:r.doubleValue=e.double();break;case 5:r.intValue=e.sint64();break;case 6:r.stringValue=e.string();break;case 7:r.doubleArrayValue=s.DoubleArray.decode(e,e.uint32());break;case 8:r.intArrayValue=s.SInt64Array.decode(e,e.uint32());break;case 9:r.stringArrayValue=s.StringArray.decode(e,e.uint32());break;case 10:r.jsonValue=e.string();break;case 11:r.arrowValue=s.ArrowTable.decode(e,e.uint32());break;case 12:r.bytesValue=e.bytes();break;case 13:r.fileUploaderStateValue=s.FileUploaderState.decode(e,e.uint32());break;case 14:r.stringTriggerValue=s.StringTriggerValue.decode(e,e.uint32());break;default:e.skipType(7&t)}}return r},e.decodeDelimited=function(e){return e instanceof o||(e=new o(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";let t={};if(null!=e.id&&e.hasOwnProperty("id")&&!a.isString(e.id))return"id: string expected";if(null!=e.triggerValue&&e.hasOwnProperty("triggerValue")&&(t.value=1,"boolean"!==typeof e.triggerValue))return"triggerValue: boolean expected";if(null!=e.boolValue&&e.hasOwnProperty("boolValue")){if(1===t.value)return"value: multiple values";if(t.value=1,"boolean"!==typeof e.boolValue)return"boolValue: boolean expected"}if(null!=e.doubleValue&&e.hasOwnProperty("doubleValue")){if(1===t.value)return"value: multiple values";if(t.value=1,"number"!==typeof e.doubleValue)return"doubleValue: number expected"}if(null!=e.intValue&&e.hasOwnProperty("intValue")){if(1===t.value)return"value: multiple values";if(t.value=1,!a.isInteger(e.intValue)&&!(e.intValue&&a.isInteger(e.intValue.low)&&a.isInteger(e.intValue.high)))return"intValue: integer|Long expected"}if(null!=e.stringValue&&e.hasOwnProperty("stringValue")){if(1===t.value)return"value: multiple values";if(t.value=1,!a.isString(e.stringValue))return"stringValue: string expected"}if(null!=e.doubleArrayValue&&e.hasOwnProperty("doubleArrayValue")){if(1===t.value)return"value: multiple values";t.value=1;{let t=s.DoubleArray.verify(e.doubleArrayValue);if(t)return"doubleArrayValue."+t}}if(null!=e.intArrayValue&&e.hasOwnProperty("intArrayValue")){if(1===t.value)return"value: multiple values";t.value=1;{let t=s.SInt64Array.verify(e.intArrayValue);if(t)return"intArrayValue."+t}}if(null!=e.stringArrayValue&&e.hasOwnProperty("stringArrayValue")){if(1===t.value)return"value: multiple values";t.value=1;{let t=s.StringArray.verify(e.stringArrayValue);if(t)return"stringArrayValue."+t}}if(null!=e.jsonValue&&e.hasOwnProperty("jsonValue")){if(1===t.value)return"value: multiple values";if(t.value=1,!a.isString(e.jsonValue))return"jsonValue: string expected"}if(null!=e.arrowValue&&e.hasOwnProperty("arrowValue")){if(1===t.value)return"value: multiple values";t.value=1;{let t=s.ArrowTable.verify(e.arrowValue);if(t)return"arrowValue."+t}}if(null!=e.bytesValue&&e.hasOwnProperty("bytesValue")){if(1===t.value)return"value: multiple values";if(t.value=1,!(e.bytesValue&&"number"===typeof e.bytesValue.length||a.isString(e.bytesValue)))return"bytesValue: buffer expected"}if(null!=e.fileUploaderStateValue&&e.hasOwnProperty("fileUploaderStateValue")){if(1===t.value)return"value: multiple values";t.value=1;{let t=s.FileUploaderState.verify(e.fileUploaderStateValue);if(t)return"fileUploaderStateValue."+t}}if(null!=e.stringTriggerValue&&e.hasOwnProperty("stringTriggerValue")){if(1===t.value)return"value: multiple values";t.value=1;{let t=s.StringTriggerValue.verify(e.stringTriggerValue);if(t)return"stringTriggerValue."+t}}return null},e.fromObject=function(e){if(e instanceof s.WidgetState)return e;let t=new s.WidgetState;if(null!=e.id&&(t.id=String(e.id)),null!=e.triggerValue&&(t.triggerValue=Boolean(e.triggerValue)),null!=e.boolValue&&(t.boolValue=Boolean(e.boolValue)),null!=e.doubleValue&&(t.doubleValue=Number(e.doubleValue)),null!=e.intValue&&(a.Long?(t.intValue=a.Long.fromValue(e.intValue)).unsigned=!1:"string"===typeof e.intValue?t.intValue=parseInt(e.intValue,10):"number"===typeof e.intValue?t.intValue=e.intValue:"object"===typeof e.intValue&&(t.intValue=new a.LongBits(e.intValue.low>>>0,e.intValue.high>>>0).toNumber())),null!=e.stringValue&&(t.stringValue=String(e.stringValue)),null!=e.doubleArrayValue){if("object"!==typeof e.doubleArrayValue)throw TypeError(".WidgetState.doubleArrayValue: object expected");t.doubleArrayValue=s.DoubleArray.fromObject(e.doubleArrayValue)}if(null!=e.intArrayValue){if("object"!==typeof e.intArrayValue)throw TypeError(".WidgetState.intArrayValue: object expected");t.intArrayValue=s.SInt64Array.fromObject(e.intArrayValue)}if(null!=e.stringArrayValue){if("object"!==typeof e.stringArrayValue)throw TypeError(".WidgetState.stringArrayValue: object expected");t.stringArrayValue=s.StringArray.fromObject(e.stringArrayValue)}if(null!=e.jsonValue&&(t.jsonValue=String(e.jsonValue)),null!=e.arrowValue){if("object"!==typeof e.arrowValue)throw TypeError(".WidgetState.arrowValue: object expected");t.arrowValue=s.ArrowTable.fromObject(e.arrowValue)}if(null!=e.bytesValue&&("string"===typeof e.bytesValue?a.base64.decode(e.bytesValue,t.bytesValue=a.newBuffer(a.base64.length(e.bytesValue)),0):e.bytesValue.length>=0&&(t.bytesValue=e.bytesValue)),null!=e.fileUploaderStateValue){if("object"!==typeof e.fileUploaderStateValue)throw TypeError(".WidgetState.fileUploaderStateValue: object expected");t.fileUploaderStateValue=s.FileUploaderState.fromObject(e.fileUploaderStateValue)}if(null!=e.stringTriggerValue){if("object"!==typeof e.stringTriggerValue)throw TypeError(".WidgetState.stringTriggerValue: object expected");t.stringTriggerValue=s.StringTriggerValue.fromObject(e.stringTriggerValue)}return t},e.toObject=function(e,t){t||(t={});let n={};return t.defaults&&(n.id=""),null!=e.id&&e.hasOwnProperty("id")&&(n.id=e.id),null!=e.triggerValue&&e.hasOwnProperty("triggerValue")&&(n.triggerValue=e.triggerValue,t.oneofs&&(n.value="triggerValue")),null!=e.boolValue&&e.hasOwnProperty("boolValue")&&(n.boolValue=e.boolValue,t.oneofs&&(n.value="boolValue")),null!=e.doubleValue&&e.hasOwnProperty("doubleValue")&&(n.doubleValue=t.json&&!isFinite(e.doubleValue)?String(e.doubleValue):e.doubleValue,t.oneofs&&(n.value="doubleValue")),null!=e.intValue&&e.hasOwnProperty("intValue")&&("number"===typeof e.intValue?n.intValue=t.longs===String?String(e.intValue):e.intValue:n.intValue=t.longs===String?a.Long.prototype.toString.call(e.intValue):t.longs===Number?new a.LongBits(e.intValue.low>>>0,e.intValue.high>>>0).toNumber():e.intValue,t.oneofs&&(n.value="intValue")),null!=e.stringValue&&e.hasOwnProperty("stringValue")&&(n.stringValue=e.stringValue,t.oneofs&&(n.value="stringValue")),null!=e.doubleArrayValue&&e.hasOwnProperty("doubleArrayValue")&&(n.doubleArrayValue=s.DoubleArray.toObject(e.doubleArrayValue,t),t.oneofs&&(n.value="doubleArrayValue")),null!=e.intArrayValue&&e.hasOwnProperty("intArrayValue")&&(n.intArrayValue=s.SInt64Array.toObject(e.intArrayValue,t),t.oneofs&&(n.value="intArrayValue")),null!=e.stringArrayValue&&e.hasOwnProperty("stringArrayValue")&&(n.stringArrayValue=s.StringArray.toObject(e.stringArrayValue,t),t.oneofs&&(n.value="stringArrayValue")),null!=e.jsonValue&&e.hasOwnProperty("jsonValue")&&(n.jsonValue=e.jsonValue,t.oneofs&&(n.value="jsonValue")),null!=e.arrowValue&&e.hasOwnProperty("arrowValue")&&(n.arrowValue=s.ArrowTable.toObject(e.arrowValue,t),t.oneofs&&(n.value="arrowValue")),null!=e.bytesValue&&e.hasOwnProperty("bytesValue")&&(n.bytesValue=t.bytes===String?a.base64.encode(e.bytesValue,0,e.bytesValue.length):t.bytes===Array?Array.prototype.slice.call(e.bytesValue):e.bytesValue,t.oneofs&&(n.value="bytesValue")),null!=e.fileUploaderStateValue&&e.hasOwnProperty("fileUploaderStateValue")&&(n.fileUploaderStateValue=s.FileUploaderState.toObject(e.fileUploaderStateValue,t),t.oneofs&&(n.value="fileUploaderStateValue")),null!=e.stringTriggerValue&&e.hasOwnProperty("stringTriggerValue")&&(n.stringTriggerValue=s.StringTriggerValue.toObject(e.stringTriggerValue,t),t.oneofs&&(n.value="stringTriggerValue")),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/WidgetState"},e})();s.openmetrics=(()=>{const e={};return e.MetricSet=function(){function e(e){if(this.metricFamilies=[],e)for(let t=Object.keys(e),n=0;n>>3===1)r.metricFamilies&&r.metricFamilies.length||(r.metricFamilies=[]),r.metricFamilies.push(s.openmetrics.MetricFamily.decode(e,e.uint32()));else e.skipType(7&t)}return r},e.decodeDelimited=function(e){return e instanceof o||(e=new o(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.metricFamilies&&e.hasOwnProperty("metricFamilies")){if(!Array.isArray(e.metricFamilies))return"metricFamilies: array expected";for(let t=0;t>>3){case 1:r.name=e.string();break;case 2:r.type=e.int32();break;case 3:r.unit=e.string();break;case 4:r.help=e.string();break;case 5:r.metrics&&r.metrics.length||(r.metrics=[]),r.metrics.push(s.openmetrics.Metric.decode(e,e.uint32()));break;default:e.skipType(7&t)}}return r},e.decodeDelimited=function(e){return e instanceof o||(e=new o(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.name&&e.hasOwnProperty("name")&&!a.isString(e.name))return"name: string expected";if(null!=e.type&&e.hasOwnProperty("type"))switch(e.type){default:return"type: enum value expected";case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:}if(null!=e.unit&&e.hasOwnProperty("unit")&&!a.isString(e.unit))return"unit: string expected";if(null!=e.help&&e.hasOwnProperty("help")&&!a.isString(e.help))return"help: string expected";if(null!=e.metrics&&e.hasOwnProperty("metrics")){if(!Array.isArray(e.metrics))return"metrics: array expected";for(let t=0;t>>3){case 1:r.labels&&r.labels.length||(r.labels=[]),r.labels.push(s.openmetrics.Label.decode(e,e.uint32()));break;case 2:r.metricPoints&&r.metricPoints.length||(r.metricPoints=[]),r.metricPoints.push(s.openmetrics.MetricPoint.decode(e,e.uint32()));break;default:e.skipType(7&t)}}return r},e.decodeDelimited=function(e){return e instanceof o||(e=new o(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.labels&&e.hasOwnProperty("labels")){if(!Array.isArray(e.labels))return"labels: array expected";for(let t=0;t>>3){case 1:r.name=e.string();break;case 2:r.value=e.string();break;default:e.skipType(7&t)}}return r},e.decodeDelimited=function(e){return e instanceof o||(e=new o(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null!=e.name&&e.hasOwnProperty("name")&&!a.isString(e.name)?"name: string expected":null!=e.value&&e.hasOwnProperty("value")&&!a.isString(e.value)?"value: string expected":null},e.fromObject=function(e){if(e instanceof s.openmetrics.Label)return e;let t=new s.openmetrics.Label;return null!=e.name&&(t.name=String(e.name)),null!=e.value&&(t.value=String(e.value)),t},e.toObject=function(e,t){t||(t={});let n={};return t.defaults&&(n.name="",n.value=""),null!=e.name&&e.hasOwnProperty("name")&&(n.name=e.name),null!=e.value&&e.hasOwnProperty("value")&&(n.value=e.value),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/openmetrics.Label"},e}(),e.MetricPoint=function(){function e(e){if(e)for(let t=Object.keys(e),n=0;n>>3){case 1:r.unknownValue=s.openmetrics.UnknownValue.decode(e,e.uint32());break;case 2:r.gaugeValue=s.openmetrics.GaugeValue.decode(e,e.uint32());break;case 3:r.counterValue=s.openmetrics.CounterValue.decode(e,e.uint32());break;case 4:r.histogramValue=s.openmetrics.HistogramValue.decode(e,e.uint32());break;case 5:r.stateSetValue=s.openmetrics.StateSetValue.decode(e,e.uint32());break;case 6:r.infoValue=s.openmetrics.InfoValue.decode(e,e.uint32());break;case 7:r.summaryValue=s.openmetrics.SummaryValue.decode(e,e.uint32());break;case 8:r.timestamp=s.google.protobuf.Timestamp.decode(e,e.uint32());break;default:e.skipType(7&t)}}return r},e.decodeDelimited=function(e){return e instanceof o||(e=new o(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";let t={};if(null!=e.unknownValue&&e.hasOwnProperty("unknownValue")){t.value=1;{let t=s.openmetrics.UnknownValue.verify(e.unknownValue);if(t)return"unknownValue."+t}}if(null!=e.gaugeValue&&e.hasOwnProperty("gaugeValue")){if(1===t.value)return"value: multiple values";t.value=1;{let t=s.openmetrics.GaugeValue.verify(e.gaugeValue);if(t)return"gaugeValue."+t}}if(null!=e.counterValue&&e.hasOwnProperty("counterValue")){if(1===t.value)return"value: multiple values";t.value=1;{let t=s.openmetrics.CounterValue.verify(e.counterValue);if(t)return"counterValue."+t}}if(null!=e.histogramValue&&e.hasOwnProperty("histogramValue")){if(1===t.value)return"value: multiple values";t.value=1;{let t=s.openmetrics.HistogramValue.verify(e.histogramValue);if(t)return"histogramValue."+t}}if(null!=e.stateSetValue&&e.hasOwnProperty("stateSetValue")){if(1===t.value)return"value: multiple values";t.value=1;{let t=s.openmetrics.StateSetValue.verify(e.stateSetValue);if(t)return"stateSetValue."+t}}if(null!=e.infoValue&&e.hasOwnProperty("infoValue")){if(1===t.value)return"value: multiple values";t.value=1;{let t=s.openmetrics.InfoValue.verify(e.infoValue);if(t)return"infoValue."+t}}if(null!=e.summaryValue&&e.hasOwnProperty("summaryValue")){if(1===t.value)return"value: multiple values";t.value=1;{let t=s.openmetrics.SummaryValue.verify(e.summaryValue);if(t)return"summaryValue."+t}}if(null!=e.timestamp&&e.hasOwnProperty("timestamp")){let t=s.google.protobuf.Timestamp.verify(e.timestamp);if(t)return"timestamp."+t}return null},e.fromObject=function(e){if(e instanceof s.openmetrics.MetricPoint)return e;let t=new s.openmetrics.MetricPoint;if(null!=e.unknownValue){if("object"!==typeof e.unknownValue)throw TypeError(".openmetrics.MetricPoint.unknownValue: object expected");t.unknownValue=s.openmetrics.UnknownValue.fromObject(e.unknownValue)}if(null!=e.gaugeValue){if("object"!==typeof e.gaugeValue)throw TypeError(".openmetrics.MetricPoint.gaugeValue: object expected");t.gaugeValue=s.openmetrics.GaugeValue.fromObject(e.gaugeValue)}if(null!=e.counterValue){if("object"!==typeof e.counterValue)throw TypeError(".openmetrics.MetricPoint.counterValue: object expected");t.counterValue=s.openmetrics.CounterValue.fromObject(e.counterValue)}if(null!=e.histogramValue){if("object"!==typeof e.histogramValue)throw TypeError(".openmetrics.MetricPoint.histogramValue: object expected");t.histogramValue=s.openmetrics.HistogramValue.fromObject(e.histogramValue)}if(null!=e.stateSetValue){if("object"!==typeof e.stateSetValue)throw TypeError(".openmetrics.MetricPoint.stateSetValue: object expected");t.stateSetValue=s.openmetrics.StateSetValue.fromObject(e.stateSetValue)}if(null!=e.infoValue){if("object"!==typeof e.infoValue)throw TypeError(".openmetrics.MetricPoint.infoValue: object expected");t.infoValue=s.openmetrics.InfoValue.fromObject(e.infoValue)}if(null!=e.summaryValue){if("object"!==typeof e.summaryValue)throw TypeError(".openmetrics.MetricPoint.summaryValue: object expected");t.summaryValue=s.openmetrics.SummaryValue.fromObject(e.summaryValue)}if(null!=e.timestamp){if("object"!==typeof e.timestamp)throw TypeError(".openmetrics.MetricPoint.timestamp: object expected");t.timestamp=s.google.protobuf.Timestamp.fromObject(e.timestamp)}return t},e.toObject=function(e,t){t||(t={});let n={};return t.defaults&&(n.timestamp=null),null!=e.unknownValue&&e.hasOwnProperty("unknownValue")&&(n.unknownValue=s.openmetrics.UnknownValue.toObject(e.unknownValue,t),t.oneofs&&(n.value="unknownValue")),null!=e.gaugeValue&&e.hasOwnProperty("gaugeValue")&&(n.gaugeValue=s.openmetrics.GaugeValue.toObject(e.gaugeValue,t),t.oneofs&&(n.value="gaugeValue")),null!=e.counterValue&&e.hasOwnProperty("counterValue")&&(n.counterValue=s.openmetrics.CounterValue.toObject(e.counterValue,t),t.oneofs&&(n.value="counterValue")),null!=e.histogramValue&&e.hasOwnProperty("histogramValue")&&(n.histogramValue=s.openmetrics.HistogramValue.toObject(e.histogramValue,t),t.oneofs&&(n.value="histogramValue")),null!=e.stateSetValue&&e.hasOwnProperty("stateSetValue")&&(n.stateSetValue=s.openmetrics.StateSetValue.toObject(e.stateSetValue,t),t.oneofs&&(n.value="stateSetValue")),null!=e.infoValue&&e.hasOwnProperty("infoValue")&&(n.infoValue=s.openmetrics.InfoValue.toObject(e.infoValue,t),t.oneofs&&(n.value="infoValue")),null!=e.summaryValue&&e.hasOwnProperty("summaryValue")&&(n.summaryValue=s.openmetrics.SummaryValue.toObject(e.summaryValue,t),t.oneofs&&(n.value="summaryValue")),null!=e.timestamp&&e.hasOwnProperty("timestamp")&&(n.timestamp=s.google.protobuf.Timestamp.toObject(e.timestamp,t)),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/openmetrics.MetricPoint"},e}(),e.UnknownValue=function(){function e(e){if(e)for(let t=Object.keys(e),n=0;n>>3){case 1:r.doubleValue=e.double();break;case 2:r.intValue=e.int64();break;default:e.skipType(7&t)}}return r},e.decodeDelimited=function(e){return e instanceof o||(e=new o(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";let t={};if(null!=e.doubleValue&&e.hasOwnProperty("doubleValue")&&(t.value=1,"number"!==typeof e.doubleValue))return"doubleValue: number expected";if(null!=e.intValue&&e.hasOwnProperty("intValue")){if(1===t.value)return"value: multiple values";if(t.value=1,!a.isInteger(e.intValue)&&!(e.intValue&&a.isInteger(e.intValue.low)&&a.isInteger(e.intValue.high)))return"intValue: integer|Long expected"}return null},e.fromObject=function(e){if(e instanceof s.openmetrics.UnknownValue)return e;let t=new s.openmetrics.UnknownValue;return null!=e.doubleValue&&(t.doubleValue=Number(e.doubleValue)),null!=e.intValue&&(a.Long?(t.intValue=a.Long.fromValue(e.intValue)).unsigned=!1:"string"===typeof e.intValue?t.intValue=parseInt(e.intValue,10):"number"===typeof e.intValue?t.intValue=e.intValue:"object"===typeof e.intValue&&(t.intValue=new a.LongBits(e.intValue.low>>>0,e.intValue.high>>>0).toNumber())),t},e.toObject=function(e,t){t||(t={});let n={};return null!=e.doubleValue&&e.hasOwnProperty("doubleValue")&&(n.doubleValue=t.json&&!isFinite(e.doubleValue)?String(e.doubleValue):e.doubleValue,t.oneofs&&(n.value="doubleValue")),null!=e.intValue&&e.hasOwnProperty("intValue")&&("number"===typeof e.intValue?n.intValue=t.longs===String?String(e.intValue):e.intValue:n.intValue=t.longs===String?a.Long.prototype.toString.call(e.intValue):t.longs===Number?new a.LongBits(e.intValue.low>>>0,e.intValue.high>>>0).toNumber():e.intValue,t.oneofs&&(n.value="intValue")),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/openmetrics.UnknownValue"},e}(),e.GaugeValue=function(){function e(e){if(e)for(let t=Object.keys(e),n=0;n>>3){case 1:r.doubleValue=e.double();break;case 2:r.intValue=e.int64();break;default:e.skipType(7&t)}}return r},e.decodeDelimited=function(e){return e instanceof o||(e=new o(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";let t={};if(null!=e.doubleValue&&e.hasOwnProperty("doubleValue")&&(t.value=1,"number"!==typeof e.doubleValue))return"doubleValue: number expected";if(null!=e.intValue&&e.hasOwnProperty("intValue")){if(1===t.value)return"value: multiple values";if(t.value=1,!a.isInteger(e.intValue)&&!(e.intValue&&a.isInteger(e.intValue.low)&&a.isInteger(e.intValue.high)))return"intValue: integer|Long expected"}return null},e.fromObject=function(e){if(e instanceof s.openmetrics.GaugeValue)return e;let t=new s.openmetrics.GaugeValue;return null!=e.doubleValue&&(t.doubleValue=Number(e.doubleValue)),null!=e.intValue&&(a.Long?(t.intValue=a.Long.fromValue(e.intValue)).unsigned=!1:"string"===typeof e.intValue?t.intValue=parseInt(e.intValue,10):"number"===typeof e.intValue?t.intValue=e.intValue:"object"===typeof e.intValue&&(t.intValue=new a.LongBits(e.intValue.low>>>0,e.intValue.high>>>0).toNumber())),t},e.toObject=function(e,t){t||(t={});let n={};return null!=e.doubleValue&&e.hasOwnProperty("doubleValue")&&(n.doubleValue=t.json&&!isFinite(e.doubleValue)?String(e.doubleValue):e.doubleValue,t.oneofs&&(n.value="doubleValue")),null!=e.intValue&&e.hasOwnProperty("intValue")&&("number"===typeof e.intValue?n.intValue=t.longs===String?String(e.intValue):e.intValue:n.intValue=t.longs===String?a.Long.prototype.toString.call(e.intValue):t.longs===Number?new a.LongBits(e.intValue.low>>>0,e.intValue.high>>>0).toNumber():e.intValue,t.oneofs&&(n.value="intValue")),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/openmetrics.GaugeValue"},e}(),e.CounterValue=function(){function e(e){if(e)for(let t=Object.keys(e),n=0;n>>3){case 1:r.doubleValue=e.double();break;case 2:r.intValue=e.uint64();break;case 3:r.created=s.google.protobuf.Timestamp.decode(e,e.uint32());break;case 4:r.exemplar=s.openmetrics.Exemplar.decode(e,e.uint32());break;default:e.skipType(7&t)}}return r},e.decodeDelimited=function(e){return e instanceof o||(e=new o(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";let t={};if(null!=e.doubleValue&&e.hasOwnProperty("doubleValue")&&(t.total=1,"number"!==typeof e.doubleValue))return"doubleValue: number expected";if(null!=e.intValue&&e.hasOwnProperty("intValue")){if(1===t.total)return"total: multiple values";if(t.total=1,!a.isInteger(e.intValue)&&!(e.intValue&&a.isInteger(e.intValue.low)&&a.isInteger(e.intValue.high)))return"intValue: integer|Long expected"}if(null!=e.created&&e.hasOwnProperty("created")){let t=s.google.protobuf.Timestamp.verify(e.created);if(t)return"created."+t}if(null!=e.exemplar&&e.hasOwnProperty("exemplar")){let t=s.openmetrics.Exemplar.verify(e.exemplar);if(t)return"exemplar."+t}return null},e.fromObject=function(e){if(e instanceof s.openmetrics.CounterValue)return e;let t=new s.openmetrics.CounterValue;if(null!=e.doubleValue&&(t.doubleValue=Number(e.doubleValue)),null!=e.intValue&&(a.Long?(t.intValue=a.Long.fromValue(e.intValue)).unsigned=!0:"string"===typeof e.intValue?t.intValue=parseInt(e.intValue,10):"number"===typeof e.intValue?t.intValue=e.intValue:"object"===typeof e.intValue&&(t.intValue=new a.LongBits(e.intValue.low>>>0,e.intValue.high>>>0).toNumber(!0))),null!=e.created){if("object"!==typeof e.created)throw TypeError(".openmetrics.CounterValue.created: object expected");t.created=s.google.protobuf.Timestamp.fromObject(e.created)}if(null!=e.exemplar){if("object"!==typeof e.exemplar)throw TypeError(".openmetrics.CounterValue.exemplar: object expected");t.exemplar=s.openmetrics.Exemplar.fromObject(e.exemplar)}return t},e.toObject=function(e,t){t||(t={});let n={};return t.defaults&&(n.created=null,n.exemplar=null),null!=e.doubleValue&&e.hasOwnProperty("doubleValue")&&(n.doubleValue=t.json&&!isFinite(e.doubleValue)?String(e.doubleValue):e.doubleValue,t.oneofs&&(n.total="doubleValue")),null!=e.intValue&&e.hasOwnProperty("intValue")&&("number"===typeof e.intValue?n.intValue=t.longs===String?String(e.intValue):e.intValue:n.intValue=t.longs===String?a.Long.prototype.toString.call(e.intValue):t.longs===Number?new a.LongBits(e.intValue.low>>>0,e.intValue.high>>>0).toNumber(!0):e.intValue,t.oneofs&&(n.total="intValue")),null!=e.created&&e.hasOwnProperty("created")&&(n.created=s.google.protobuf.Timestamp.toObject(e.created,t)),null!=e.exemplar&&e.hasOwnProperty("exemplar")&&(n.exemplar=s.openmetrics.Exemplar.toObject(e.exemplar,t)),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/openmetrics.CounterValue"},e}(),e.HistogramValue=function(){function e(e){if(this.buckets=[],e)for(let t=Object.keys(e),n=0;n>>3){case 1:r.doubleValue=e.double();break;case 2:r.intValue=e.int64();break;case 3:r.count=e.uint64();break;case 4:r.created=s.google.protobuf.Timestamp.decode(e,e.uint32());break;case 5:r.buckets&&r.buckets.length||(r.buckets=[]),r.buckets.push(s.openmetrics.HistogramValue.Bucket.decode(e,e.uint32()));break;default:e.skipType(7&t)}}return r},e.decodeDelimited=function(e){return e instanceof o||(e=new o(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";let t={};if(null!=e.doubleValue&&e.hasOwnProperty("doubleValue")&&(t.sum=1,"number"!==typeof e.doubleValue))return"doubleValue: number expected";if(null!=e.intValue&&e.hasOwnProperty("intValue")){if(1===t.sum)return"sum: multiple values";if(t.sum=1,!a.isInteger(e.intValue)&&!(e.intValue&&a.isInteger(e.intValue.low)&&a.isInteger(e.intValue.high)))return"intValue: integer|Long expected"}if(null!=e.count&&e.hasOwnProperty("count")&&!a.isInteger(e.count)&&!(e.count&&a.isInteger(e.count.low)&&a.isInteger(e.count.high)))return"count: integer|Long expected";if(null!=e.created&&e.hasOwnProperty("created")){let t=s.google.protobuf.Timestamp.verify(e.created);if(t)return"created."+t}if(null!=e.buckets&&e.hasOwnProperty("buckets")){if(!Array.isArray(e.buckets))return"buckets: array expected";for(let t=0;t>>0,e.intValue.high>>>0).toNumber())),null!=e.count&&(a.Long?(t.count=a.Long.fromValue(e.count)).unsigned=!0:"string"===typeof e.count?t.count=parseInt(e.count,10):"number"===typeof e.count?t.count=e.count:"object"===typeof e.count&&(t.count=new a.LongBits(e.count.low>>>0,e.count.high>>>0).toNumber(!0))),null!=e.created){if("object"!==typeof e.created)throw TypeError(".openmetrics.HistogramValue.created: object expected");t.created=s.google.protobuf.Timestamp.fromObject(e.created)}if(e.buckets){if(!Array.isArray(e.buckets))throw TypeError(".openmetrics.HistogramValue.buckets: array expected");t.buckets=[];for(let n=0;n>>0,e.intValue.high>>>0).toNumber():e.intValue,t.oneofs&&(n.sum="intValue")),null!=e.count&&e.hasOwnProperty("count")&&("number"===typeof e.count?n.count=t.longs===String?String(e.count):e.count:n.count=t.longs===String?a.Long.prototype.toString.call(e.count):t.longs===Number?new a.LongBits(e.count.low>>>0,e.count.high>>>0).toNumber(!0):e.count),null!=e.created&&e.hasOwnProperty("created")&&(n.created=s.google.protobuf.Timestamp.toObject(e.created,t)),e.buckets&&e.buckets.length){n.buckets=[];for(let r=0;r>>3){case 1:r.count=e.uint64();break;case 2:r.upperBound=e.double();break;case 3:r.exemplar=s.openmetrics.Exemplar.decode(e,e.uint32());break;default:e.skipType(7&t)}}return r},e.decodeDelimited=function(e){return e instanceof o||(e=new o(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.count&&e.hasOwnProperty("count")&&!a.isInteger(e.count)&&!(e.count&&a.isInteger(e.count.low)&&a.isInteger(e.count.high)))return"count: integer|Long expected";if(null!=e.upperBound&&e.hasOwnProperty("upperBound")&&"number"!==typeof e.upperBound)return"upperBound: number expected";if(null!=e.exemplar&&e.hasOwnProperty("exemplar")){let t=s.openmetrics.Exemplar.verify(e.exemplar);if(t)return"exemplar."+t}return null},e.fromObject=function(e){if(e instanceof s.openmetrics.HistogramValue.Bucket)return e;let t=new s.openmetrics.HistogramValue.Bucket;if(null!=e.count&&(a.Long?(t.count=a.Long.fromValue(e.count)).unsigned=!0:"string"===typeof e.count?t.count=parseInt(e.count,10):"number"===typeof e.count?t.count=e.count:"object"===typeof e.count&&(t.count=new a.LongBits(e.count.low>>>0,e.count.high>>>0).toNumber(!0))),null!=e.upperBound&&(t.upperBound=Number(e.upperBound)),null!=e.exemplar){if("object"!==typeof e.exemplar)throw TypeError(".openmetrics.HistogramValue.Bucket.exemplar: object expected");t.exemplar=s.openmetrics.Exemplar.fromObject(e.exemplar)}return t},e.toObject=function(e,t){t||(t={});let n={};if(t.defaults){if(a.Long){let e=new a.Long(0,0,!0);n.count=t.longs===String?e.toString():t.longs===Number?e.toNumber():e}else n.count=t.longs===String?"0":0;n.upperBound=0,n.exemplar=null}return null!=e.count&&e.hasOwnProperty("count")&&("number"===typeof e.count?n.count=t.longs===String?String(e.count):e.count:n.count=t.longs===String?a.Long.prototype.toString.call(e.count):t.longs===Number?new a.LongBits(e.count.low>>>0,e.count.high>>>0).toNumber(!0):e.count),null!=e.upperBound&&e.hasOwnProperty("upperBound")&&(n.upperBound=t.json&&!isFinite(e.upperBound)?String(e.upperBound):e.upperBound),null!=e.exemplar&&e.hasOwnProperty("exemplar")&&(n.exemplar=s.openmetrics.Exemplar.toObject(e.exemplar,t)),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/openmetrics.HistogramValue.Bucket"},e}(),e}(),e.Exemplar=function(){function e(e){if(this.label=[],e)for(let t=Object.keys(e),n=0;n>>3){case 1:r.value=e.double();break;case 2:r.timestamp=s.google.protobuf.Timestamp.decode(e,e.uint32());break;case 3:r.label&&r.label.length||(r.label=[]),r.label.push(s.openmetrics.Label.decode(e,e.uint32()));break;default:e.skipType(7&t)}}return r},e.decodeDelimited=function(e){return e instanceof o||(e=new o(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.value&&e.hasOwnProperty("value")&&"number"!==typeof e.value)return"value: number expected";if(null!=e.timestamp&&e.hasOwnProperty("timestamp")){let t=s.google.protobuf.Timestamp.verify(e.timestamp);if(t)return"timestamp."+t}if(null!=e.label&&e.hasOwnProperty("label")){if(!Array.isArray(e.label))return"label: array expected";for(let t=0;t>>3===1)r.states&&r.states.length||(r.states=[]),r.states.push(s.openmetrics.StateSetValue.State.decode(e,e.uint32()));else e.skipType(7&t)}return r},e.decodeDelimited=function(e){return e instanceof o||(e=new o(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.states&&e.hasOwnProperty("states")){if(!Array.isArray(e.states))return"states: array expected";for(let t=0;t>>3){case 1:r.enabled=e.bool();break;case 2:r.name=e.string();break;default:e.skipType(7&t)}}return r},e.decodeDelimited=function(e){return e instanceof o||(e=new o(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null!=e.enabled&&e.hasOwnProperty("enabled")&&"boolean"!==typeof e.enabled?"enabled: boolean expected":null!=e.name&&e.hasOwnProperty("name")&&!a.isString(e.name)?"name: string expected":null},e.fromObject=function(e){if(e instanceof s.openmetrics.StateSetValue.State)return e;let t=new s.openmetrics.StateSetValue.State;return null!=e.enabled&&(t.enabled=Boolean(e.enabled)),null!=e.name&&(t.name=String(e.name)),t},e.toObject=function(e,t){t||(t={});let n={};return t.defaults&&(n.enabled=!1,n.name=""),null!=e.enabled&&e.hasOwnProperty("enabled")&&(n.enabled=e.enabled),null!=e.name&&e.hasOwnProperty("name")&&(n.name=e.name),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/openmetrics.StateSetValue.State"},e}(),e}(),e.InfoValue=function(){function e(e){if(this.info=[],e)for(let t=Object.keys(e),n=0;n>>3===1)r.info&&r.info.length||(r.info=[]),r.info.push(s.openmetrics.Label.decode(e,e.uint32()));else e.skipType(7&t)}return r},e.decodeDelimited=function(e){return e instanceof o||(e=new o(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.info&&e.hasOwnProperty("info")){if(!Array.isArray(e.info))return"info: array expected";for(let t=0;t>>3){case 1:r.doubleValue=e.double();break;case 2:r.intValue=e.int64();break;case 3:r.count=e.uint64();break;case 4:r.created=s.google.protobuf.Timestamp.decode(e,e.uint32());break;case 5:r.quantile&&r.quantile.length||(r.quantile=[]),r.quantile.push(s.openmetrics.SummaryValue.Quantile.decode(e,e.uint32()));break;default:e.skipType(7&t)}}return r},e.decodeDelimited=function(e){return e instanceof o||(e=new o(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";let t={};if(null!=e.doubleValue&&e.hasOwnProperty("doubleValue")&&(t.sum=1,"number"!==typeof e.doubleValue))return"doubleValue: number expected";if(null!=e.intValue&&e.hasOwnProperty("intValue")){if(1===t.sum)return"sum: multiple values";if(t.sum=1,!a.isInteger(e.intValue)&&!(e.intValue&&a.isInteger(e.intValue.low)&&a.isInteger(e.intValue.high)))return"intValue: integer|Long expected"}if(null!=e.count&&e.hasOwnProperty("count")&&!a.isInteger(e.count)&&!(e.count&&a.isInteger(e.count.low)&&a.isInteger(e.count.high)))return"count: integer|Long expected";if(null!=e.created&&e.hasOwnProperty("created")){let t=s.google.protobuf.Timestamp.verify(e.created);if(t)return"created."+t}if(null!=e.quantile&&e.hasOwnProperty("quantile")){if(!Array.isArray(e.quantile))return"quantile: array expected";for(let t=0;t>>0,e.intValue.high>>>0).toNumber())),null!=e.count&&(a.Long?(t.count=a.Long.fromValue(e.count)).unsigned=!0:"string"===typeof e.count?t.count=parseInt(e.count,10):"number"===typeof e.count?t.count=e.count:"object"===typeof e.count&&(t.count=new a.LongBits(e.count.low>>>0,e.count.high>>>0).toNumber(!0))),null!=e.created){if("object"!==typeof e.created)throw TypeError(".openmetrics.SummaryValue.created: object expected");t.created=s.google.protobuf.Timestamp.fromObject(e.created)}if(e.quantile){if(!Array.isArray(e.quantile))throw TypeError(".openmetrics.SummaryValue.quantile: array expected");t.quantile=[];for(let n=0;n>>0,e.intValue.high>>>0).toNumber():e.intValue,t.oneofs&&(n.sum="intValue")),null!=e.count&&e.hasOwnProperty("count")&&("number"===typeof e.count?n.count=t.longs===String?String(e.count):e.count:n.count=t.longs===String?a.Long.prototype.toString.call(e.count):t.longs===Number?new a.LongBits(e.count.low>>>0,e.count.high>>>0).toNumber(!0):e.count),null!=e.created&&e.hasOwnProperty("created")&&(n.created=s.google.protobuf.Timestamp.toObject(e.created,t)),e.quantile&&e.quantile.length){n.quantile=[];for(let r=0;r>>3){case 1:r.quantile=e.double();break;case 2:r.value=e.double();break;default:e.skipType(7&t)}}return r},e.decodeDelimited=function(e){return e instanceof o||(e=new o(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null!=e.quantile&&e.hasOwnProperty("quantile")&&"number"!==typeof e.quantile?"quantile: number expected":null!=e.value&&e.hasOwnProperty("value")&&"number"!==typeof e.value?"value: number expected":null},e.fromObject=function(e){if(e instanceof s.openmetrics.SummaryValue.Quantile)return e;let t=new s.openmetrics.SummaryValue.Quantile;return null!=e.quantile&&(t.quantile=Number(e.quantile)),null!=e.value&&(t.value=Number(e.value)),t},e.toObject=function(e,t){t||(t={});let n={};return t.defaults&&(n.quantile=0,n.value=0),null!=e.quantile&&e.hasOwnProperty("quantile")&&(n.quantile=t.json&&!isFinite(e.quantile)?String(e.quantile):e.quantile),null!=e.value&&e.hasOwnProperty("value")&&(n.value=t.json&&!isFinite(e.value)?String(e.value):e.value),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/openmetrics.SummaryValue.Quantile"},e}(),e}(),e})(),s.google=(()=>{const e={};return e.protobuf=function(){const e={};return e.Timestamp=function(){function e(e){if(e)for(let t=Object.keys(e),n=0;n>>3){case 1:r.seconds=e.int64();break;case 2:r.nanos=e.int32();break;default:e.skipType(7&t)}}return r},e.decodeDelimited=function(e){return e instanceof o||(e=new o(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null==e.seconds||!e.hasOwnProperty("seconds")||a.isInteger(e.seconds)||e.seconds&&a.isInteger(e.seconds.low)&&a.isInteger(e.seconds.high)?null!=e.nanos&&e.hasOwnProperty("nanos")&&!a.isInteger(e.nanos)?"nanos: integer expected":null:"seconds: integer|Long expected"},e.fromObject=function(e){if(e instanceof s.google.protobuf.Timestamp)return e;let t=new s.google.protobuf.Timestamp;return null!=e.seconds&&(a.Long?(t.seconds=a.Long.fromValue(e.seconds)).unsigned=!1:"string"===typeof e.seconds?t.seconds=parseInt(e.seconds,10):"number"===typeof e.seconds?t.seconds=e.seconds:"object"===typeof e.seconds&&(t.seconds=new a.LongBits(e.seconds.low>>>0,e.seconds.high>>>0).toNumber())),null!=e.nanos&&(t.nanos=0|e.nanos),t},e.toObject=function(e,t){t||(t={});let n={};if(t.defaults){if(a.Long){let e=new a.Long(0,0,!1);n.seconds=t.longs===String?e.toString():t.longs===Number?e.toNumber():e}else n.seconds=t.longs===String?"0":0;n.nanos=0}return null!=e.seconds&&e.hasOwnProperty("seconds")&&("number"===typeof e.seconds?n.seconds=t.longs===String?String(e.seconds):e.seconds:n.seconds=t.longs===String?a.Long.prototype.toString.call(e.seconds):t.longs===Number?new a.LongBits(e.seconds.low>>>0,e.seconds.high>>>0).toNumber():e.seconds),null!=e.nanos&&e.hasOwnProperty("nanos")&&(n.nanos=e.nanos),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e.getTypeUrl=function(e){return void 0===e&&(e="type.googleapis.com"),e+"/google.protobuf.Timestamp"},e}(),e}(),e})()},10951:(e,t,n)=>{"use strict";n.d(t,{t:()=>l,u:()=>c});var r=n(58424),o=n(14764),i=n(46957),a=n(41269),s=n(31992);const l=(0,s.BX)(i.Z,r.Z),c=(0,s.BX)(a.Z,o.Z)},31992:(e,t,n)=>{"use strict";n.d(t,{BX:()=>a});var r=n(58424),o=n(60658),i=n(41045);const a=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:r.Z;return(0,o.Z)(((e,t)=>{const{colors:n,genericFonts:r}=t;return{...e,primaryFontFamily:r.bodyFont,primary100:n.primary,primary200:n.primary,primary300:n.primary,primary400:n.primary,primary500:n.primary,primary600:n.primary,primary700:n.primary,mono100:n.bgColor,mono200:n.secondaryBg,mono300:n.lightGray,mono400:n.lightGray,mono500:n.gray,mono600:n.fadedText40,mono700:n.gray,mono800:n.bodyText,mono900:n.bodyText,mono1000:n.black}})(t,e),(e=>{const{inSidebar:t,colors:n,genericFonts:r,fontSizes:o,lineHeights:a,radii:s}=e,l={fontFamily:r.bodyFont,fontSize:o.md,fontSizeSm:o.sm,fontWeight:"normal",lineHeight:a.base,lineHeightTight:a.tight},c=n.widgetBackgroundColor?n.widgetBackgroundColor:n.secondaryBg,u=t?n.secondaryBg:n.bgColor,p=t?n.bgColor:n.secondaryBg;return{borders:{radius100:s.default,radius200:s.default,radius300:s.default,radius400:s.default,radius500:s.default,useRoundedCorners:!0,buttonBorderRadiusMini:s.md,buttonBorderRadius:s.default,checkboxBorderRadius:s.md,inputBorderRadiusMini:s.md,inputBorderRadius:s.default,popoverBorderRadius:s.default,surfaceBorderRadius:s.default,tagBorderRadius:s.md},typography:{font100:{},font150:{...l},font200:{},font250:{},font300:{...l},font350:{...l},font400:{...l},font450:{...l},font460:{...l},font470:{...l},font500:{...l},font600:{},LabelXSmall:{...l},LabelSmall:{...l},LabelMedium:{...l},LabelLarge:{...l},ParagraphSmall:{...l}},colors:{white:n.white,black:n.black,primary:n.primary,primaryA:n.primary,backgroundPrimary:n.bgColor,backgroundSecondary:c,backgroundTertiary:n.bgColor,borderOpaque:n.darkenedBgMix25,accent:(0,i.DZ)(n.primary,.5),tagPrimarySolidBackground:n.primary,tagPrimaryFontDisabled:n.fadedText40,tagPrimaryOutlinedDisabled:n.transparent,borderSelected:n.primary,contentPrimary:n.bodyText,inputPlaceholder:n.fadedText60,tickFillDisabled:n.fadedText40,tickMarkFill:n.lightestGray,tickFillSelected:n.primary,datepickerBackground:u,calendarBackground:u,calendarForeground:n.bodyText,calendarDayForegroundPseudoSelected:n.bodyText,calendarHeaderBackground:p,calendarHeaderBackgroundActive:p,calendarHeaderForeground:n.bodyText,calendarHeaderForegroundDisabled:n.gray40,calendarDayBackgroundSelected:n.primary,calendarDayBackgroundSelectedHighlighted:n.primary,calendarDayForegroundSelected:n.white,calendarDayForegroundSelectedHighlighted:n.white,calendarDayForegroundPseudoSelectedHighlighted:n.bodyText,menuFontHighlighted:n.bodyText,menuFontSelected:n.bodyText,modalCloseColor:n.bodyText,notificationInfoBackground:n.alertInfoBackgroundColor,notificationInfoText:n.alertInfoTextColor,notificationPositiveBackground:n.alertSuccessBackgroundColor,notificationPositiveText:n.alertSuccessTextColor,notificationWarningBackground:n.alertWarningBackgroundColor,notificationWarningText:n.alertWarningTextColor,notificationNegativeBackground:n.alertErrorBackgroundColor,notificationNegativeText:n.alertErrorTextColor,progressbarTrackFill:c,tickFill:n.lightenedBg05,tickMarkFillDisabled:n.lightenedBg05,menuFill:u,buttonDisabledFill:n.lightenedBg05,tickFillHover:c,inputFillDisabled:c,inputFillActive:c,toggleTrackFillDisabled:c,tickFillActive:c,sliderTrackFillDisabled:c,inputBorder:n.widgetBorderColor||c,inputFill:c,inputEnhanceFill:c,inputEnhancerFillDisabled:c,buttonDisabledSpinnerBackground:n.gray40,toggleTrackFill:n.gray40,sliderTrackFill:n.gray40,sliderHandleInnerFill:n.gray40,sliderHandleInnerFillDisabled:n.gray40}}})(e))}},60315:(e,t,n)=>{"use strict";n.d(t,{Z:()=>p});var r=n(13926);const o={halfSmFont:r.CH.smPx/2+"px",twoThirdsSmFont:2*r.CH.smPx/3+"px",px:"1px",none:"0",threeXS:"0.125rem",twoXS:"0.25rem",xs:"0.375rem",sm:"0.5rem",md:"0.75rem",lg:"1rem",xl:"1.25rem",twoXL:"1.5rem",threeXL:"2rem",fourXL:"4rem",nonePx:0,threeXSPx:2,twoXSPx:4,xsPx:6,smPx:8,mdPx:12,lgPx:16,xlPx:20,twoXLPx:24,threeXLPx:32,fourXLPx:64},i=100,a=1e6,s=1000050,l={hide:-1,auto:"auto",base:0,sidebar:i,menuButton:110,balloons:a,header:999990,sidebarMobile:999995,popupMenu:1000040,fullscreenWrapper:s,tablePortal:1000110,bottom:99,cacheSpinner:101,toast:100};var c=n(72144),u=n(80403);const p={inSidebar:!1,breakpoints:{hideWidgetDetails:180,hideNumberInputControls:120,sm:"576px",columns:"640px",md:"768px",lg:"992px",xl:"1200px"},colors:(0,c.D)(u.Z),genericColors:u.Z,fonts:r.Rq,fontSizes:r.CH,fontWeights:r.vC,genericFonts:r.n4,iconSizes:{xs:"0.5rem",sm:"0.75rem",md:"0.9rem",base:"1rem",lg:"1.25rem",xl:"1.5rem",twoXL:"1.8rem",threeXL:"2.3rem"},lineHeights:r.tO,letterSpacings:r.le,radii:{none:"0",sm:"0.125rem",md:"0.25rem",lg:"0.5rem",xl:"0.75rem",xxl:"1rem",xxxl:"2rem",full:"9999px",default:"0.5rem"},sizes:{full:"100%",headerHeight:"3.75rem",fullScreenHeaderHeight:"2.875rem",sidebarTopSpace:"6rem",toastWidth:"21rem",contentMaxWidth:"46rem",checkbox:"1rem",borderWidth:"1px",minElementHeight:"2.5rem",smallLogoHeight:"1.25rem",defaultLogoHeight:"1.5rem",largeLogoHeight:"2rem",sliderThumb:"0.75rem",wideSidePadding:"5rem",headerDecorationHeight:"0.125rem",appRunningMen:"1.6rem",appStatusMaxWidth:"20rem",largestElementHeight:"4.25rem"},spacing:o,zIndices:l}},80403:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var r=n(41045),o=n(5409);const i={bgColor:o.O.white,secondaryBg:o.O.gray20,bodyText:o.O.gray85,warning:o.O.yellow110,warningBg:(0,r.DZ)(o.O.yellow80,.8),success:o.O.green100,successBg:(0,r.DZ)(o.O.green80,.8),infoBg:(0,r.DZ)(o.O.blue70,.9),info:o.O.blue100,danger:o.O.red100,dangerBg:(0,r.DZ)(o.O.red70,.8),primary:o.O.red70,disabled:o.O.gray40,lightestGray:o.O.gray20,lightGray:o.O.gray30,gray:o.O.gray60,darkGray:o.O.gray70,red:o.O.red80,blue:o.O.blue80,green:o.O.green80,yellow:o.O.yellow80},a={...o.O,...i}},41269:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var r=n(60315),o=n(72144),i=n(41045),a=n(5409);const s={...a.O,bgColor:a.O.gray100,secondaryBg:a.O.gray90,bodyText:a.O.gray10,navTextColor:a.O.gray50,navActiveTextColor:a.O.gray10,navIconColor:a.O.gray70,sidebarControlColor:a.O.gray10,warning:a.O.yellow20,warningBg:(0,i.DZ)(a.O.yellow70,.8),success:a.O.green10,successBg:(0,i.DZ)(a.O.green60,.8),info:a.O.blue20,infoBg:(0,i.DZ)(a.O.blue60,.8),danger:a.O.red20,dangerBg:(0,i.DZ)(a.O.red60,.8),primary:a.O.red70,disabled:a.O.gray70,lightestGray:a.O.gray20,lightGray:a.O.gray30,gray:a.O.gray60,darkGray:a.O.gray70,red:a.O.red80,blue:a.O.blue80,green:a.O.green80,yellow:a.O.yellow80},l={...r.Z,inSidebar:!1,genericColors:{...r.Z.genericColors,...s},colors:(0,o.D)({...r.Z.colors,...s})}},46957:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var r=n(60315),o=n(72144),i=n(41045),a=n(5409);const s={...a.O,bgColor:a.O.white,bodyText:a.O.gray85,primary:a.O.red70,disabled:a.O.gray40,navTextColor:a.O.gray80,navActiveTextColor:a.O.gray90,navIconColor:a.O.gray60,sidebarControlColor:a.O.gray70,lightestGray:a.O.gray20,lightGray:a.O.gray30,gray:a.O.gray60,darkGray:a.O.gray70,red:a.O.red80,blue:a.O.blue80,green:a.O.green80,yellow:a.O.yellow80,warning:"#926C05",warningBg:(0,i.DZ)(a.O.yellow70,.9),success:a.O.green100,successBg:(0,i.DZ)(a.O.green70,.9),info:a.O.blue100,infoBg:(0,i.DZ)(a.O.blue70,.9),danger:a.O.red100,dangerBg:(0,i.DZ)(a.O.red80,.91)},l={...r.Z,inSidebar:!1,genericColors:{...r.Z.genericColors,...s},colors:(0,o.D)({...r.Z.colors,...s})}},72144:(e,t,n)=>{"use strict";n.d(t,{$:()=>o,D:()=>i});var r=n(41045);const o=e=>{const{bodyText:t,secondaryBg:n,bgColor:o}=e,i=(0,r.H3)(o)>.5,a=i?e.blue:(0,r.$n)(e.blue,.2),s=(0,r.DZ)(t,.9),l=(0,r.DZ)(t,.8),c=(0,r.DZ)(t,.7),u=(0,r.DZ)(t,.6),p=(0,r.DZ)(t,.4),d=l,b=s,f=(0,r.CD)(o,n,.5),h=i?(0,r._j)(f,.3):(0,r.$n)(f,.6);return{linkText:a,fadedText05:s,fadedText10:l,fadedText20:c,fadedText40:u,fadedText60:p,bgMix:f,darkenedBgMix100:h,darkenedBgMix25:(0,r.DZ)(h,.75),darkenedBgMix15:(0,r.DZ)(h,.85),lightenedBg05:(0,r.$n)(o,.025),borderColor:d,borderColorLight:b}},i=e=>{const t=o(e);return{...e,...t,alertErrorBorderColor:e.dangerBg,alertErrorBackgroundColor:e.dangerBg,alertErrorTextColor:e.danger,alertInfoBorderColor:e.infoBg,alertInfoBackgroundColor:e.infoBg,alertInfoTextColor:e.info,alertSuccessBorderColor:e.successBg,alertSuccessBackgroundColor:e.successBg,alertSuccessTextColor:e.success,alertWarningBorderColor:e.warningBg,alertWarningBackgroundColor:e.warningBg,alertWarningTextColor:e.warning,codeTextColor:e.green80,codeHighlightColor:t.bgMix,docStringModuleText:e.bodyText,docStringContainerBackground:(0,r.DZ)(e.secondaryBg,.6),headingColor:e.bodyText}}},5409:(e,t,n)=>{"use strict";n.d(t,{O:()=>r});const r={transparent:"transparent",current:"currentColor",inherit:"inherit",black:"#000000",white:"#ffffff",gray10:"#fafafa",gray20:"#f0f2f6",gray30:"#e6eaf1",gray40:"#d5dae5",gray50:"#bfc5d3",gray60:"#a3a8b8",gray70:"#808495",gray80:"#555867",gray85:"#31333F",gray90:"#262730",gray100:"#0e1117",red10:"#fff0f0",red20:"#ffdede",red30:"#ffc7c7",red40:"#ffabab",red50:"#ff8c8c",red60:"#ff6c6c",red70:"#ff4b4b",red80:"#ff2b2b",red90:"#bd4043",red100:"#7d353b",orange10:"#fffae8",orange20:"#fff6d0",orange30:"#ffecb0",orange40:"#ffe08e",orange50:"#ffd16a",orange60:"#ffbd45",orange70:"#ffa421",orange80:"#ff8700",orange90:"#ed6f13",orange100:"#d95a00",yellow10:"#ffffe1",yellow20:"#ffffc2",yellow30:"#ffffa0",yellow40:"#ffff7d",yellow50:"#ffff59",yellow60:"#fff835",yellow70:"#ffe312",yellow80:"#faca2b",yellow90:"#edbb16",yellow100:"#dea816",yellow110:"#916e10",green10:"#dffde9",green20:"#c0fcd3",green30:"#9ef6bb",green40:"#7defa1",green50:"#5ce488",green60:"#3dd56d",green70:"#21c354",green80:"#09ab3b",green90:"#158237",green100:"#177233",blueGreen10:"#dcfffb",blueGreen20:"#bafff7",blueGreen30:"#93ffee",blueGreen40:"#6bfde3",blueGreen50:"#45f4d5",blueGreen60:"#20e7c5",blueGreen70:"#00d4b1",blueGreen80:"#29b09d",blueGreen90:"#2c867c",blueGreen100:"#246e69",lightBlue10:"#e0feff",lightBlue20:"#bffdff",lightBlue30:"#9af8ff",lightBlue40:"#73efff",lightBlue50:"#4be4ff",lightBlue60:"#24d4ff",lightBlue70:"#00c0f2",lightBlue80:"#00a4d4",lightBlue90:"#0d8cb5",lightBlue100:"#15799e",blue10:"#e4f5ff",blue20:"#c7ebff",blue30:"#a6dcff",blue40:"#83c9ff",blue50:"#60b4ff",blue60:"#3d9df3",blue70:"#1c83e1",blue80:"#0068c9",blue90:"#0054a3",blue100:"#004280",purple10:"#f5ebff",purple20:"#ebd6ff",purple30:"#dbbbff",purple40:"#c89dff",purple50:"#b27eff",purple60:"#9a5dff",purple70:"#803df5",purple80:"#6d3fc0",purple90:"#583f84",purple100:"#3f3163"}},13926:(e,t,n)=>{"use strict";n.d(t,{CH:()=>i,Rq:()=>r,le:()=>l,n4:()=>o,tO:()=>s,vC:()=>a});const r={sansSerif:'"Source Sans Pro", sans-serif',monospace:'"Source Code Pro", monospace',serif:'"Source Serif Pro", serif'},o={bodyFont:r.sansSerif,codeFont:r.monospace,headingFont:r.sansSerif},i={twoSm:"12px",sm:"14px",md:"1rem",mdLg:"1.125rem",lg:"1.25rem",xl:"1.5rem",twoXL:"1.75rem",threeXL:"2.25rem",fourXL:"2.75rem",twoSmPx:12,smPx:14,mdPx:16},a={normal:400,bold:600,extrabold:700},s={normal:"normal",none:1,tight:1.25,inputWidget:1.4,table:1.5,alert:1.5,base:1.6,menuItem:2},l={tighter:"-0.05em",tight:"-0.025em",normal:"0",wide:"0.025em",wider:"0.05em",widest:"0.1em"}},2906:(e,t,n)=>{"use strict";n.d(t,{$_:()=>u,Wb:()=>p,wE:()=>c});var r=n(58424),o=n(14764),i=n(10951),a=n(60315),s=n(46957),l=n(41269);const c={name:"base",emotion:a.Z,basewebTheme:i.t,primitives:r.Z},u={name:"Dark",emotion:l.Z,basewebTheme:i.u,primitives:o.Z},p={name:"Light",emotion:s.Z,basewebTheme:i.t,primitives:r.Z}},36599:(e,t,n)=>{"use strict";n.d(t,{By:()=>te,Dt:()=>P,Fu:()=>D,GJ:()=>H,Gy:()=>Z,He:()=>ee,Iy:()=>U,KQ:()=>X,MJ:()=>q,NH:()=>oe,UO:()=>v,Uy:()=>k,Vx:()=>B,XE:()=>ne,Xy:()=>$,ZB:()=>V,Zf:()=>C,b3:()=>L,iX:()=>G,iY:()=>Q,jG:()=>W,ny:()=>K,ol:()=>N,oo:()=>A,qr:()=>E,rk:()=>j,ru:()=>J,yq:()=>Y});var r=n(55242),o=n(41045),i=n(64028),a=n(74082),s=n.n(a),l=n(74274),c=n.n(l),u=n(62558),p=n.n(u),d=n(34707),b=n.n(d),f=n(91439),h=n(2906),m=n(1561),g=n(58996),O=n(98170),y=n(31992),M=n(72144),z=n(13926);const A="Use system setting",v="Custom Theme";function w(e,t){if(t&&c()(t)){const n=new f.MA(t);return W(e.name,n,e)}return e}const S=b()((()=>{var e;return w(h.Wb,null===(e=window.__streamlit)||void 0===e?void 0:e.LIGHT_THEME)})),x=b()((()=>{var e;return w(h.$_,null===(e=window.__streamlit)||void 0===e?void 0:e.DARK_THEME)})),E=()=>({...window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?x():S(),name:A}),k=()=>[E(),S(),x()],q=e=>k().map((e=>e.name)).includes(e.name),T=e=>{const t=Object.keys(z.Rq).find((t=>z.Rq[t]===e)),n=f.MA.FontFamily.SANS_SERIF;if(t){const e=(0,i.Z)(t).toUpperCase();return e in f.MA.FontFamily?f.MA.FontFamily[e]:n}return n},_=e=>null!==e&&void 0!==e&&e in f.MA.FontFamily?z.Rq[(0,r.Z)(f.MA.FontFamily[e].toString())]:void 0,R=e=>{const t=(new Option).style;return t.color=e,""!==t.color},C=e=>{const{colors:t,genericFonts:n}=e;return{primaryColor:t.primary,backgroundColor:t.bgColor,secondaryBackgroundColor:t.secondaryBg,textColor:t.bodyText,font:T(n.bodyFont)}},N=e=>{const{genericColors:t}=e,n=C(e);return{primaryColor:n.primaryColor,backgroundColor:n.backgroundColor,secondaryBackgroundColor:n.secondaryBackgroundColor,textColor:n.textColor,base:(r=n.backgroundColor,void 0===r||(0,o.H3)(r)>.5?"light":"dark"),font:_(n.font),...(0,M.$)(t)};var r},I=(e,t)=>new f.MA({...C(t.emotion),...e}),W=function(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];const i=(t=n?I(t,n):t.base===f.MA.BaseTheme.DARK?I(t,h.$_):I(t,h.Wb)).backgroundColor,a=p()(s()(n||((0,o.H3)(i)>.5?h.Wb:h.$_)),{emotion:{inSidebar:r}}),l=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:h.wE;const{genericColors:n,genericFonts:r}=t.emotion,{font:o,radii:i,fontSizes:a,...s}=e,l=_(o),c=Object.entries(s).reduce(((e,t)=>{let[n,r]=t;return R(r)?e[n]=r:R(`#${r}`)&&(e[n]=`#${r}`),e}),{}),{secondaryBackgroundColor:u,backgroundColor:p,primaryColor:d,textColor:b,skeletonBackgroundColor:f,widgetBackgroundColor:m,widgetBorderColor:g}=c,O={...n};d&&(O.primary=d),b&&(O.bodyText=b),u&&(O.secondaryBg=u),p&&(O.bgColor=p),m&&(O.widgetBackgroundColor=m),g&&(O.widgetBorderColor=g),f&&(O.skeletonBackgroundColor=f);const y={};return i&&(y.radii={...t.emotion.radii},i.checkboxRadius&&(y.radii.md=re(i.checkboxRadius)),i.baseWidgetRadius&&(y.radii.lg=re(i.baseWidgetRadius))),a&&(y.fontSizes={...t.emotion.fontSizes},a.tinyFontSize&&(y.fontSizes.twoSm=re(a.tinyFontSize),y.fontSizes.twoSmPx=a.tinyFontSize),a.smallFontSize&&(y.fontSizes.sm=re(a.smallFontSize),y.fontSizes.smPx=a.smallFontSize),a.baseFontSize&&(y.fontSizes.md=re(a.baseFontSize),y.fontSizes.mdPx=a.baseFontSize)),{...t.emotion,colors:(0,M.D)(O),genericColors:O,genericFonts:{...r,...l&&{bodyFont:e.bodyFont?e.bodyFont:l,headingFont:e.bodyFont?e.bodyFont:l,codeFont:e.codeFont?e.codeFont:r.codeFont}},...y}}(t,a);return{...a,name:e,emotion:l,basewebTheme:(0,y.BX)(l,a.primitives)}},P=()=>{if(!(0,g.V)())return null;const e=window.localStorage.getItem(g.j.ACTIVE_THEME);if(!e)return null;const{name:t,themeInput:n}=JSON.parse(e);switch(t){case h.Wb.name:return S();case h.$_.name:return x();default:return W(t,n)}},L=e=>{if(!(0,g.V)())return;if((()=>{const{CACHED_THEME_VERSION:e,CACHED_THEME_BASE_KEY:t}=g.j,{localStorage:n}=window;n.removeItem("stActiveTheme"),n.removeItem(t);for(let r=1;r<=e;r++)n.removeItem(`${t}-v${r}`)})(),(0,O.Tr)()||(0,O.QE)())return;const t={name:e.name,...!q(e)&&{themeInput:C(e.emotion)}};window.localStorage.setItem(g.j.ACTIVE_THEME,JSON.stringify(t))},j=()=>{(0,g.V)()&&window.localStorage.removeItem(g.j.ACTIVE_THEME)},D=()=>(0,O.Tr)()?S():(0,O.QE)()?x():E(),B=()=>{const e=P();return e&&e.name!==A?e:D()},F=/\s+/;function V(e,t){return""===e?"":e.split(F).map((e=>"0"===e?t.spacing.none:e in t.spacing?t.spacing[e]:((0,m.H)(`Invalid spacing value: ${e}`),t.spacing.none))).join(" ")}function U(e){return(0,o.H3)(e.colors.bgColor)>.5}function H(e){const t=U(e),n=t?e.colors.blue60:e.colors.blue90,r=t?e.colors.green60:e.colors.green90,o=t?e.colors.orange60:e.colors.orange90,i=t?e.colors.red60:e.colors.red90,a=t?e.colors.purple60:e.colors.purple80,s=t?e.colors.gray40:e.colors.gray70;return{blue:n,green:r,orange:o,red:i,violet:a,gray:s,grey:s,rainbow:`linear-gradient(to right, ${i}, ${o}, ${r}, ${n}, ${a})`}}function X(e){const t=U(e);return{red:t?e.colors.red80:e.colors.red70,orange:t?e.colors.orange100:e.colors.orange60,yellow:t?e.colors.yellow100:e.colors.yellow40,green:t?e.colors.green90:e.colors.green60,blue:t?e.colors.blue80:e.colors.blue50,violet:t?e.colors.purple80:e.colors.purple50,purple:t?e.colors.purple100:e.colors.purple80,gray:t?e.colors.gray80:e.colors.gray70}}function G(e){const t=U(e);return{redbg:(0,o.DZ)(e.colors[t?"red80":"red60"],t?.9:.7),orangebg:(0,o.DZ)(e.colors.yellow70,t?.9:.7),yellowbg:(0,o.DZ)(e.colors[t?"yellow70":"yellow50"],t?.9:.7),greenbg:(0,o.DZ)(e.colors[t?"green70":"green60"],t?.9:.7),bluebg:(0,o.DZ)(e.colors[t?"blue70":"blue60"],t?.9:.7),violetbg:(0,o.DZ)(e.colors[t?"purple70":"purple60"],t?.9:.7),purplebg:(0,o.DZ)(e.colors[t?"purple90":"purple80"],t?.9:.7),graybg:(0,o.DZ)(e.colors[t?"gray70":"gray50"],t?.9:.7)}}function $(e){return U(e)?e.colors.gray70:e.colors.gray30}function K(e){return U(e)?e.colors.gray30:e.colors.gray85}function Y(e){return U(e)?e.colors.gray90:e.colors.gray10}function Z(e){return U(e)?function(e){const{colors:t}=e;return[t.blue10,t.blue20,t.blue30,t.blue40,t.blue50,t.blue60,t.blue70,t.blue80,t.blue90,t.blue100]}(e):function(e){const{colors:t}=e;return[t.blue100,t.blue90,t.blue80,t.blue70,t.blue60,t.blue50,t.blue40,t.blue30,t.blue20,t.blue10]}(e)}function J(e){const{colors:t}=e;return[t.red100,t.red90,t.red70,t.red50,t.red30,t.blue30,t.blue50,t.blue70,t.blue90,t.blue100]}function Q(e){const{colors:t}=e;return U(e)?[t.blue80,t.blue40,t.red80,t.red40,t.blueGreen80,t.green40,t.orange80,t.orange50,t.purple80,t.gray40]:[t.blue40,t.blue80,t.red40,t.red80,t.green40,t.blueGreen80,t.orange50,t.orange80,t.purple80,t.gray40]}function ee(e){return U(e)?e.colors.red80:e.colors.red40}function te(e){return U(e)?e.colors.blueGreen80:e.colors.green40}function ne(e){return{"& h1":{fontSize:e.fontSizes.xl,fontWeight:e.fontWeights.bold},"& h2":{fontSize:e.fontSizes.lg,fontWeight:e.fontWeights.bold},"& h3":{fontSize:e.fontSizes.mdLg,fontWeight:e.fontWeights.bold},"& h4":{fontSize:e.fontSizes.md,fontWeight:e.fontWeights.bold},"& h5":{fontSize:e.fontSizes.sm,fontWeight:e.fontWeights.bold},"& h6":{fontSize:e.fontSizes.twoSm,fontWeight:e.fontWeights.bold}}}function re(e){return`${e}px`}function oe(e,t){if(void 0===t)return e;const[n,r,i,a]=(0,o.dF)(e);if(1===a)return e;const[s,l,c,u]=(0,o.dF)(t),p=a+u*(1-a),d=Math.round((a*n+u*s*(1-a))/p),b=Math.round((a*r+u*l*(1-a))/p),f=Math.round((a*i+u*c*(1-a))/p);return(0,o.NC)(`rgba(${d}, ${b}, ${f}, ${p})`)}},47394:(e,t,n)=>{"use strict";n.d(t,{Mu:()=>o,U3:()=>i,xN:()=>a,xz:()=>r});const r="https://discuss.streamlit.io",o="https://docs.streamlit.io/develop/concepts/custom-components",i="https://docs.streamlit.io/knowledge-base/using-streamlit/enable-camera",a="https://docs.streamlit.io/end-users/enable-peripherals"},65710:(e,t,n)=>{"use strict";function r(e){return e instanceof Error?e:new Error(`${e}`)}n.d(t,{b:()=>r})},49880:(e,t,n)=>{"use strict";n.d(t,{T:()=>r,p:()=>o});const r=["allow-forms","allow-modals","allow-popups","allow-popups-to-escape-sandbox","allow-same-origin","allow-scripts","allow-downloads"].join(" "),o=["accelerometer","ambient-light-sensor","autoplay","battery","camera","clipboard-write","document-domain","encrypted-media","fullscreen","geolocation","gyroscope","layout-animations","legacy-image-formats","magnetometer","microphone","midi","oversized-images","payment","picture-in-picture","publickey-credentials-get","sync-xhr","usb","vr ","wake-lock","xr-spatial-tracking"].join("; ")},1561:(e,t,n)=>{"use strict";n.d(t,{H:()=>a,KE:()=>i,ji:()=>o,up:()=>s});var r=n(69016);function o(){r.td&&console.log(...arguments)}function i(){r.td&&console.warn(...arguments)}function a(){console.error(...arguments)}function s(){console.log(...arguments)}},58996:(e,t,n)=>{"use strict";n.d(t,{V:()=>i,j:()=>o});const r=`stActiveTheme-${window.location.pathname}`,o={CACHED_THEME_VERSION:1,CACHED_THEME_BASE_KEY:r,ACTIVE_THEME:`${r}-v1`},i=()=>{const e="testData";try{const{localStorage:t}=window;t.setItem(e,e),t.getItem(e),t.removeItem(e)}catch(t){return!1}return!0}},98170:(e,t,n)=>{"use strict";n.d(t,{$b:()=>$,$e:()=>ne,Av:()=>j,D:()=>ee,Ds:()=>u,G$:()=>k,GP:()=>E,Ge:()=>F,KI:()=>re,MO:()=>W,NI:()=>H,P2:()=>S,QE:()=>_,Tr:()=>T,WK:()=>C,Ws:()=>K,Wu:()=>P,_A:()=>q,av:()=>x,bM:()=>G,bb:()=>D,ej:()=>U,fg:()=>N,hI:()=>R,iF:()=>Y,io:()=>v,l7:()=>te,le:()=>B,nk:()=>X,oW:()=>Q,rA:()=>V,sZ:()=>I});var r=n(64028),o=n(46292),i=n.n(o),a=n(13418),s=n.n(a),l=n(91439);const c="$$ID";function u(e,t){let n;return function(){for(var r=arguments.length,o=new Array(r),i=0;i{t(...o),n=null}),e)}}const p="embed",d="embed_options",b="show_colored_line",f="show_toolbar",h="show_padding",m="disable_scrolling",g="light_theme",O="dark_theme",y="true",M="hide_loading_screen",z="show_loading_screen_v1",A=[b,f,h,m,g,O,M,z,"show_loading_screen_v2",y];let v=function(e){return e[e.NONE=0]="NONE",e[e.V1=1]="V1",e[e.V2=2]="V2",e}({});function w(e){const t=new Set;return new URLSearchParams(window.location.search).forEach(((n,r)=>{r=r.toString().toLowerCase(),n=n.toString().toLowerCase(),r===e&&A.includes(n)&&t.add(n)})),t}function S(){return w(p).has(y)}function x(){return S()&&w(d).has(b)}function E(){return S()&&w(d).has(f)}function k(){return S()&&w(d).has(m)}function q(){return S()&&w(d).has(h)}function T(){return w(d).has(g)}function _(){return w(d).has(O)}function R(){return window.parent!==window}function C(){const e=w(d);return e.has(M)?v.NONE:e.has(z)?v.V1:v.V2}function N(e){return new l.W_({alert:{body:e,format:l.bZ.Format.INFO}})}function I(e){return new l.W_({alert:{body:e,format:l.bZ.Format.ERROR}})}function W(){return new l.W_({skeleton:{style:l.Od.SkeletonStyle.APP}})}function P(e){return s().h32(e,3735928559).toString(16)}function L(e){if(B(e))throw new Error("value is null");return e}function j(e){return void 0!==e}function D(e){return null!==e&&void 0!==e}function B(e){return null===e||void 0===e}function F(){return/Mac/i.test(navigator.platform)}function V(){return/^Win/i.test(navigator.platform)}function U(e){const t=document.cookie.match(`\\b${e}=([^;]*)\\b`);return t?t[1]:void 0}function H(e){return!!e&&e.startsWith(c)}function X(e){const t=i()(e,[L(e.type),"id"]);if(t&&H(t))return t}function G(e){return D(e)&&e.length>0}function $(e){return G(e.formId)}let K=function(e){return e[e.Visible=0]="Visible",e[e.Hidden=1]="Hidden",e[e.Collapsed=2]="Collapsed",e}({});function Y(e){switch(e){case l.kM.LabelVisibilityOptions.VISIBLE:return K.Visible;case l.kM.LabelVisibilityOptions.HIDDEN:return K.Hidden;case l.kM.LabelVisibilityOptions.COLLAPSED:return K.Collapsed;default:return K.Visible}}function Z(e,t){for(let n=0;n0)return e[n]}return null}function J(e){try{if(null===e.contentWindow)return!1;const t=(e.contentDocument||e.contentWindow.document).body.innerHTML;return null!==t&&""!==t}catch(t){return!1}}function Q(e){if(!R())return null;const t=te(e),n='iframe[title="streamlitApp"]';let r=window.document.querySelectorAll(n),o=Z(r,t);if(o&&!J(o))return null;if(o)return o;if(window.parent&&(r=window.parent.document.querySelectorAll(n)),o=Z(r,t),o&&!J(o))return null;if(o)return o;let i=window.document.getElementsByTagName("iframe");return o=Z(i,t),o&&!J(o)?null:o||(window.parent&&(i=window.parent.document.getElementsByTagName("iframe")),o=Z(i,t),o&&!J(o)?null:o)}function ee(){return Math.floor(Date.now()/1e3).toString(36)+Math.random().toString(36).slice(-6)}function te(e){return`stAppEmbeddingId-${e}`}function ne(e,t){return decodeURIComponent(document.location.pathname.replace(`/${t}`,"").replace(new RegExp("^/?"),"").replace(new RegExp("/$"),""))}function re(e){return Object.keys(e).reduce(((t,n)=>{const o=(0,r.Z)(n,{preserveConsecutiveUppercase:!0}).replace(".","_");let i=e[n];return i&&"object"===typeof i&&!Array.isArray(i)&&(i=re(i)),Array.isArray(i)&&(i=i.map((e=>"object"===typeof e?re(e):e))),t[o]=i,t}),{})}},67801:(e,t,n)=>{"use strict";n.d(t,{D:()=>d});var r=n(7896),o=n(56666),i=n(59740),a=n(83405),s=n(30969),l=["children","iconAttrs","iconVerticalAlign","iconViewBox","size","title"];function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function u(e){for(var t=1;t{"use strict";n.d(t,{s:()=>a});var r=n(7896),o=n(30969),i=n(67801),a=o.forwardRef((function(e,t){return o.createElement(i.D,(0,r.Z)({iconAttrs:{fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"},iconVerticalAlign:"middle",iconViewBox:"0 0 24 24"},e,{ref:t}),o.createElement("path",{fill:"none",d:"M0 0h24v24H0V0z"}),o.createElement("path",{d:"M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12l4.58-4.59z"}))}));a.displayName="ChevronLeft"},71999:(e,t,n)=>{"use strict";n.d(t,{_:()=>a});var r=n(7896),o=n(30969),i=n(67801),a=o.forwardRef((function(e,t){return o.createElement(i.D,(0,r.Z)({iconAttrs:{fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"},iconVerticalAlign:"middle",iconViewBox:"0 0 24 24"},e,{ref:t}),o.createElement("path",{fill:"none",d:"M0 0h24v24H0V0z"}),o.createElement("path",{d:"M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6-6-6z"}))}));a.displayName="ChevronRight"},34262:(e,t,n)=>{"use strict";n.d(t,{Z:()=>oe});var r=function(){function e(e){var t=this;this._insertTag=function(e){var n;n=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,n),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var n=function(e){if(e.sheet)return e.sheet;for(var t=0;t0?u(M,--O):0,m--,10===y&&(m=1,h--),y}function w(){return y=O2||k(y)>3?"":" "}function C(e,t){for(;--t&&w()&&!(y<48||y>102||y>57&&y<65||y>70&&y<97););return E(e,x()+(t<6&&32==S()&&32==w()))}function N(e){for(;w();)switch(y){case e:return O;case 34:case 39:34!==e&&39!==e&&N(y);break;case 40:41===e&&N(e);break;case 92:w()}return O}function I(e,t){for(;w()&&e+y!==57&&(e+y!==84||47!==S()););return"/*"+E(t,O-1)+"*"+i(47===e?e:w())}function W(e){for(;!k(S());)w();return E(e,O)}var P="-ms-",L="-moz-",j="-webkit-",D="comm",B="rule",F="decl",V="@keyframes";function U(e,t){for(var n="",r=b(e),o=0;o0&&d(L)-g&&f(y>32?Y(L+";",r,n,g-1):Y(l(L," ","")+";",r,n,g-2),b);break;case 59:L+=";";default:if(f(P=$(L,t,n,h,m,o,p,q,T=[],N=[],g),a),123===k)if(0===m)G(L,t,P,P,T,a,g,p,N);else switch(99===O&&110===u(L,3)?100:O){case 100:case 108:case 109:case 115:G(e,P,P,r&&f($(e,P,P,0,0,o,p,q,o,T=[],g),N),o,N,g,p,r?T:N);break;default:G(L,P,P,P,[""],N,0,p,N)}}h=m=y=0,z=E=1,q=L="",g=s;break;case 58:g=1+d(L),y=M;default:if(z<1)if(123==k)--z;else if(125==k&&0==z++&&125==v())continue;switch(L+=i(k),k*z){case 38:E=m>0?1:(L+="\f",-1);break;case 44:p[h++]=(d(L)-1)*E,E=1;break;case 64:45===S()&&(L+=_(w())),O=S(),m=g=d(q=L+=W(x())),k++;break;case 45:45===M&&2==d(L)&&(z=0)}}return a}function $(e,t,n,r,i,a,c,u,d,f,h){for(var m=i-1,g=0===i?a:[""],O=b(g),y=0,M=0,A=0;y0?g[v]+" "+w:l(w,/&\f/g,g[v])))&&(d[A++]=S);return z(e,t,n,0===i?B:u,d,f,h)}function K(e,t,n){return z(e,t,n,D,i(y),p(e,2,-2),0)}function Y(e,t,n,r){return z(e,t,n,F,p(e,0,r),p(e,r+1,-1),r)}var Z=function(e,t,n){for(var r=0,o=0;r=o,o=S(),38===r&&12===o&&(t[n]=1),!k(o);)w();return E(e,O)},J=function(e,t){return T(function(e,t){var n=-1,r=44;do{switch(k(r)){case 0:38===r&&12===S()&&(t[n]=1),e[n]+=Z(O-1,t,n);break;case 2:e[n]+=_(r);break;case 4:if(44===r){e[++n]=58===S()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=i(r)}}while(r=w());return e}(q(e),t))},Q=new WeakMap,ee=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,n=e.parent,r=e.column===n.column&&e.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||Q.get(n))&&!r){Q.set(e,!0);for(var o=[],i=J(t,o),a=n.props,s=0,l=0;s6)switch(u(e,t+1)){case 109:if(45!==u(e,t+4))break;case 102:return l(e,/(.+:)(.+)-([^]+)/,"$1"+j+"$2-$3$1"+L+(108==u(e,t+3)?"$3":"$2-$3"))+e;case 115:return~c(e,"stretch")?ne(l(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==u(e,t+1))break;case 6444:switch(u(e,d(e)-3-(~c(e,"!important")&&10))){case 107:return l(e,":",":"+j)+e;case 101:return l(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+j+(45===u(e,14)?"inline-":"")+"box$3$1"+j+"$2$3$1"+P+"$2box$3")+e}break;case 5936:switch(u(e,t+11)){case 114:return j+e+P+l(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return j+e+P+l(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return j+e+P+l(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return j+e+P+e+e}return e}var re=[function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case F:e.return=ne(e.value,e.length);break;case V:return U([A(e,{value:l(e.value,"@","@"+j)})],r);case B:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,(function(t){switch(function(e,t){return(e=t.exec(e))?e[0]:e}(t,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return U([A(e,{props:[l(t,/:(read-\w+)/,":-moz-$1")]})],r);case"::placeholder":return U([A(e,{props:[l(t,/:(plac\w+)/,":"+j+"input-$1")]}),A(e,{props:[l(t,/:(plac\w+)/,":-moz-$1")]}),A(e,{props:[l(t,/:(plac\w+)/,P+"input-$1")]})],r)}return""}))}}],oe=function(e){var t=e.key;if("css"===t){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var o=e.stylisPlugins||re;var i,a,s={},l=[];i=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),(function(e){for(var t=e.getAttribute("data-emotion").split(" "),n=1;n{"use strict";n.d(t,{Z:()=>i});var r=n(88726),o=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,i=(0,r.Z)((function(e){return o.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91}))},88726:(e,t,n)=>{"use strict";function r(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}n.d(t,{Z:()=>r})},3077:(e,t,n)=>{"use strict";n.d(t,{C:()=>m,E:()=>x,T:()=>O,a:()=>z,b:()=>A,c:()=>w,h:()=>f,i:()=>b,u:()=>y,w:()=>g});var r=n(30969),o=n(34262),i=n(7896),a=function(e){var t=new WeakMap;return function(n){if(t.has(n))return t.get(n);var r=e(n);return t.set(n,r),r}},s=n(47814),l=n.n(s),c=function(e,t){return l()(e,t)},u=n(51662),p=n(60038),d=n(90681),b=!0,f={}.hasOwnProperty,h=r.createContext("undefined"!==typeof HTMLElement?(0,o.Z)({key:"css"}):null);var m=h.Provider,g=function(e){return(0,r.forwardRef)((function(t,n){var o=(0,r.useContext)(h);return e(t,o,n)}))};b||(g=function(e){return function(t){var n=(0,r.useContext)(h);return null===n?(n=(0,o.Z)({key:"css"}),r.createElement(h.Provider,{value:n},e(t,n))):e(t,n)}});var O=r.createContext({});var y=function(){return r.useContext(O)},M=a((function(e){return a((function(t){return function(e,t){return"function"===typeof t?t(e):(0,i.Z)({},e,t)}(e,t)}))})),z=function(e){var t=r.useContext(O);return e.theme!==t&&(t=M(t)(e.theme)),r.createElement(O.Provider,{value:t},e.children)};function A(e){var t=e.displayName||e.name||"Component",n=function(t,n){var o=r.useContext(O);return r.createElement(e,(0,i.Z)({theme:o,ref:n},t))},o=r.forwardRef(n);return o.displayName="WithTheme("+t+")",c(o,e)}var v="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",w=function(e,t){var n={};for(var r in t)f.call(t,r)&&(n[r]=t[r]);return n[v]=e,n},S=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return(0,u.hC)(t,n,r),(0,d.L)((function(){return(0,u.My)(t,n,r)})),null};var x=g((function(e,t,n){var o=e.css;"string"===typeof o&&void 0!==t.registered[o]&&(o=t.registered[o]);var i=e[v],a=[o],s="";"string"===typeof e.className?s=(0,u.fp)(t.registered,a,e.className):null!=e.className&&(s=e.className+" ");var l=(0,p.O)(a,void 0,r.useContext(O));s+=t.key+"-"+l.name;var c={};for(var d in e)f.call(e,d)&&"css"!==d&&d!==v&&(c[d]=e[d]);return c.ref=n,c.className=s,r.createElement(r.Fragment,null,r.createElement(S,{cache:t,serialized:l,isStringTag:"string"===typeof i}),r.createElement(i,c))}))},54470:(e,t,n)=>{"use strict";n.d(t,{F4:()=>p,iv:()=>u,tZ:()=>l,xB:()=>c});var r=n(3077),o=n(30969),i=n(51662),a=n(90681),s=n(60038),l=(n(34262),n(47814),function(e,t){var n=arguments;if(null==t||!r.h.call(t,"css"))return o.createElement.apply(void 0,n);var i=n.length,a=new Array(i);a[0]=r.E,a[1]=(0,r.c)(e,t);for(var s=2;s{"use strict";n.d(t,{O:()=>f});var r={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},o=n(88726),i=/[A-Z]|^ms/g,a=/_EMO_([^_]+?)_([^]*?)_EMO_/g,s=function(e){return 45===e.charCodeAt(1)},l=function(e){return null!=e&&"boolean"!==typeof e},c=(0,o.Z)((function(e){return s(e)?e:e.replace(i,"-$&").toLowerCase()})),u=function(e,t){switch(e){case"animation":case"animationName":if("string"===typeof t)return t.replace(a,(function(e,t,n){return d={name:t,styles:n,next:d},t}))}return 1===r[e]||s(e)||"number"!==typeof t||0===t?t:t+"px"};function p(e,t,n){if(null==n)return"";if(void 0!==n.__emotion_styles)return n;switch(typeof n){case"boolean":return"";case"object":if(1===n.anim)return d={name:n.name,styles:n.styles,next:d},n.name;if(void 0!==n.styles){var r=n.next;if(void 0!==r)for(;void 0!==r;)d={name:r.name,styles:r.styles,next:d},r=r.next;return n.styles+";"}return function(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o=4;++r,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(o){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)}(o)+l;return{name:c,styles:o,next:d}}},83405:(e,t,n)=>{"use strict";n.d(t,{Z:()=>h});var r=n(7896),o=n(30969),i=n(69562),a=n(3077),s=n(51662),l=n(60038),c=n(90681),u=i.Z,p=function(e){return"theme"!==e},d=function(e){return"string"===typeof e&&e.charCodeAt(0)>96?u:p},b=function(e,t,n){var r;if(t){var o=t.shouldForwardProp;r=e.__emotion_forwardProp&&o?function(t){return e.__emotion_forwardProp(t)&&o(t)}:o}return"function"!==typeof r&&n&&(r=e.__emotion_forwardProp),r},f=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return(0,s.hC)(t,n,r),(0,c.L)((function(){return(0,s.My)(t,n,r)})),null},h=function e(t,n){var i,c,u=t.__emotion_real===t,p=u&&t.__emotion_base||t;void 0!==n&&(i=n.label,c=n.target);var h=b(t,n,u),m=h||d(p),g=!m("as");return function(){var O=arguments,y=u&&void 0!==t.__emotion_styles?t.__emotion_styles.slice(0):[];if(void 0!==i&&y.push("label:"+i+";"),null==O[0]||void 0===O[0].raw)y.push.apply(y,O);else{0,y.push(O[0][0]);for(var M=O.length,z=1;z{"use strict";var r;n.d(t,{L:()=>a,j:()=>s});var o=n(30969),i=!!(r||(r=n.t(o,2))).useInsertionEffect&&(r||(r=n.t(o,2))).useInsertionEffect,a=i||function(e){return e()},s=i||o.useLayoutEffect},51662:(e,t,n)=>{"use strict";n.d(t,{My:()=>i,fp:()=>r,hC:()=>o});function r(e,t,n){var r="";return n.split(" ").forEach((function(n){void 0!==e[n]?t.push(e[n]+";"):r+=n+" "})),r}var o=function(e,t,n){var r=e.key+"-"+t.name;!1===n&&void 0===e.registered[r]&&(e.registered[r]=t.styles)},i=function(e,t,n){o(e,t,n);var r=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var i=t;do{e.insert(t===i?"."+r:"",i,e.sheet,!0),i=i.next}while(void 0!==i)}}},60071:(e,t,n)=>{"use strict";var r,o=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["fill","width","height","style"]);return a.default.createElement("svg",o({viewBox:"0 0 24 24",style:o({fill:n,width:i,height:l},u)},p),a.default.createElement("path",{d:"M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"}))}},2858:(e,t,n)=>{"use strict";var r,o=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["fill","width","height","style"]);return a.default.createElement("svg",o({viewBox:"0 0 24 24",style:o({fill:n,width:i,height:l},u)},p),a.default.createElement("path",{d:"M12,18.17L8.83,15L7.42,16.41L12,21L16.59,16.41L15.17,15M12,5.83L15.17,9L16.58,7.59L12,3L7.41,7.59L8.83,9L12,5.83Z"}))}},93055:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ActivityMonitor=void 0;const r=n(83351);t.ActivityMonitor=class{constructor(e){this._timer=-1,this._timeout=-1,this._isDisposed=!1,this._activityStopped=new r.Signal(this),e.signal.connect(this._onSignalFired,this),this._timeout=e.timeout||1e3}get activityStopped(){return this._activityStopped}get timeout(){return this._timeout}set timeout(e){this._timeout=e}get isDisposed(){return this._isDisposed}dispose(){this._isDisposed||(this._isDisposed=!0,r.Signal.clearData(this))}_onSignalFired(e,t){clearTimeout(this._timer),this._sender=e,this._args=t,this._timer=setTimeout((()=>{this._activityStopped.emit({sender:this._sender,args:this._args})}),this._timeout)}}},38232:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),o(n(93055),t),o(n(8281),t),o(n(923),t),o(n(62777),t),o(n(93102),t),o(n(45034),t),o(n(18965),t),o(n(43315),t)},8281:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},923:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MarkdownCodeBlocks=void 0,function(e){e.CODE_BLOCK_MARKER="```";const t=[".markdown",".mdown",".mkdn",".md",".mkd",".mdwn",".mdtxt",".mdtext",".text",".txt",".Rmd"];class n{constructor(e){this.startLine=e,this.code="",this.endLine=-1}}e.MarkdownCodeBlock=n,e.isMarkdown=function(e){return t.indexOf(e)>-1},e.findMarkdownCodeBlocks=function(t){if(!t||""===t)return[];const r=t.split("\n"),o=[];let i=null;for(let a=0;ae===t||r&&e===r))},e.isDisabled=function(t){const n=t.indexOf(":");let r="";return-1!==n&&(r=t.slice(0,n)),e.disabled.some((e=>e===t||r&&e===r))}}(Extension=PageConfig.Extension||(PageConfig.Extension={}))})(PageConfig=exports.PageConfig||(exports.PageConfig={}))},93102:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PathExt=void 0;const r=n(22523);!function(e){function t(e){return 0===e.indexOf("/")&&(e=e.slice(1)),e}e.join=function(){const e=r.posix.join(...arguments);return"."===e?"":t(e)},e.basename=function(e,t){return r.posix.basename(e,t)},e.dirname=function(e){const n=t(r.posix.dirname(e));return"."===n?"":n},e.extname=function(e){return r.posix.extname(e)},e.normalize=function(e){return""===e?"":t(r.posix.normalize(e))},e.resolve=function(){return t(r.posix.resolve(...arguments))},e.relative=function(e,n){return t(r.posix.relative(e,n))},e.normalizeExtension=function(e){return e.length>0&&0!==e.indexOf(".")&&(e=`.${e}`),e},e.removeSlash=t}(t.PathExt||(t.PathExt={}))},45034:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Text=void 0,function(e){e.jsIndexToCharIndex=function(e,t){return e},e.charIndexToJsIndex=function(e,t){return e},e.camelCase=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return e.replace(/^(\w)|[\s-_:]+(\w)/g,(function(e,n,r){return r?r.toUpperCase():t?n.toUpperCase():n.toLowerCase()}))},e.titleCase=function(e){return(e||"").toLowerCase().split(" ").map((e=>e.charAt(0).toUpperCase()+e.slice(1))).join(" ")}}(t.Text||(t.Text={}))},18965:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Time=void 0;const o=r(n(92426));!function(e){e.formatHuman=function(e){o.default.locale(document.documentElement.lang);let t=o.default(e).fromNow();return t="a few seconds ago"===t?"seconds ago":t,t},e.format=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"YYYY-MM-DD HH:mm";return o.default(e).format(t)}}(t.Time||(t.Time={}))},43315:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.URLExt=void 0;const o=n(22523),i=r(n(791));!function(e){function t(e){if("undefined"!==typeof document&&document){const t=document.createElement("a");return t.href=e,t}return i.default(e)}function n(){for(var e=arguments.length,t=new Array(e),n=0;ne.length>0));return t.length?"?"+t.map((t=>{const n=encodeURIComponent(String(e[t]));return t+(n?"="+n:"")})).join("&"):""},e.queryStringToObject=function(e){return e.replace(/^\?/,"").split("&").reduce(((e,t)=>{const[n,r]=t.split("=");return n.length>0&&(e[n]=decodeURIComponent(r||"")),e}),{})},e.isLocal=function(e){const{protocol:n}=t(e);return(!n||0!==e.toLowerCase().indexOf(n))&&0!==e.indexOf("/")}}(t.URLExt||(t.URLExt={}))},61085:(e,t,n)=>{"use strict";var r;n.r(t),n.d(t,{JSONExt:()=>r,MimeData:()=>a,PromiseDelegate:()=>s,Random:()=>o,Token:()=>l,UUID:()=>i}),function(e){function t(e){return null===e||"boolean"===typeof e||"number"===typeof e||"string"===typeof e}function n(e){return Array.isArray(e)}function r(e,o){if(e===o)return!0;if(t(e)||t(o))return!1;var i=n(e),a=n(o);return i===a&&(i&&a?function(e,t){if(e===t)return!0;if(e.length!==t.length)return!1;for(var n=0,o=e.length;n>>0),e[n]=255&t,t>>>=8}!function(e){e.getRandomValues=function(){var e="undefined"!==typeof window&&(window.crypto||window.msCrypto)||null;return e&&"function"===typeof e.getRandomValues?function(t){return e.getRandomValues(t)}:c}()}(o||(o={})),function(e){e.uuid4=function(e){for(var t=new Uint8Array(16),n=new Array(256),r=0;r<16;++r)n[r]="0"+r.toString(16);for(r=16;r<256;++r)n[r]=r.toString(16);return function(){return e(t),t[6]=64|15&t[6],t[8]=128|63&t[8],n[t[0]]+n[t[1]]+n[t[2]]+n[t[3]]+"-"+n[t[4]]+n[t[5]]+"-"+n[t[6]]+n[t[7]]+"-"+n[t[8]]+n[t[9]]+"-"+n[t[10]]+n[t[11]]+n[t[12]]+n[t[13]]+n[t[14]]+n[t[15]]}}(o.getRandomValues)}(i||(i={}))},83351:(e,t,n)=>{"use strict";var r;function o(e){return"function"===typeof e.iter?e.iter():new a(e)}function i(e,t){for(var n,r=0,i=o(e);void 0!==(n=i.next());)if(!1===t(n,r++))return}n.r(t),n.d(t,{Signal:()=>d}),function(e){function t(e,t,n,r){void 0===n&&(n=0),void 0===r&&(r=-1);var o,i=e.length;if(0===i)return-1;n=n<0?Math.max(0,n+i):Math.min(n,i-1),o=(r=r<0?Math.max(0,r+i):Math.min(r,i-1))=n)){for(var r=e[t],o=t+1;o0;){var l=s>>1,c=a+l;n(e[c],t)<0?(a=c+1,s-=l+1):s=l}return a},e.upperBound=function(e,t,n,r,o){void 0===r&&(r=0),void 0===o&&(o=-1);var i=e.length;if(0===i)return 0;for(var a=r=r<0?Math.max(0,r+i):Math.min(r,i-1),s=(o=o<0?Math.max(0,o+i):Math.min(o,i-1))-r+1;s>0;){var l=s>>1,c=a+l;n(e[c],t)>0?s=l:(a=c+1,s-=l+1)}return a},e.shallowEqual=function(e,t,n){if(e===t)return!0;if(e.length!==t.length)return!1;for(var r=0,o=e.length;r=a&&(n=o<0?a-1:a),void 0===r?r=o<0?-1:a:r<0?r=Math.max(r+a,o<0?-1:0):r>=a&&(r=o<0?a-1:a),i=o<0&&r>=n||o>0&&n>=r?0:o<0?Math.floor((r-n+1)/o+1):Math.floor((r-n-1)/o+1);for(var s=[],l=0;l=(r=r<0?Math.max(0,r+o):Math.min(r,o-1)))){var a=r-n+1;if(t>0?t%=a:t<0&&(t=(t%a+a)%a),0!==t){var s=n+t;i(e,n,s-1),i(e,s,r),i(e,n,r)}}},e.fill=function(e,t,n,r){void 0===n&&(n=0),void 0===r&&(r=-1);var o=e.length;if(0!==o){var i;n=n<0?Math.max(0,n+o):Math.min(n,o-1),i=(r=r<0?Math.max(0,r+o):Math.min(r,o-1))t;--o)e[o]=e[o-1];e[t]=n},e.removeAt=a,e.removeFirstOf=function(e,n,r,o){void 0===r&&(r=0),void 0===o&&(o=-1);var i=t(e,n,r,o);return-1!==i&&a(e,i),i},e.removeLastOf=function(e,t,r,o){void 0===r&&(r=-1),void 0===o&&(o=0);var i=n(e,t,r,o);return-1!==i&&a(e,i),i},e.removeAllOf=function(e,t,n,r){void 0===n&&(n=0),void 0===r&&(r=-1);var o=e.length;if(0===o)return 0;n=n<0?Math.max(0,n+o):Math.min(n,o-1),r=r<0?Math.max(0,r+o):Math.min(r,o-1);for(var i=0,a=0;a=n&&a<=r&&e[a]===t||r=n)&&e[a]===t?i++:i>0&&(e[a-i]=e[a]);return i>0&&(e.length=o-i),i},e.removeFirstWhere=function(e,t,n,o){var i;void 0===n&&(n=0),void 0===o&&(o=-1);var s=r(e,t,n,o);return-1!==s&&(i=a(e,s)),{index:s,value:i}},e.removeLastWhere=function(e,t,n,r){var i;void 0===n&&(n=-1),void 0===r&&(r=0);var s=o(e,t,n,r);return-1!==s&&(i=a(e,s)),{index:s,value:i}},e.removeAllWhere=function(e,t,n,r){void 0===n&&(n=0),void 0===r&&(r=-1);var o=e.length;if(0===o)return 0;n=n<0?Math.max(0,n+o):Math.min(n,o-1),r=r<0?Math.max(0,r+o):Math.min(r,o-1);for(var i=0,a=0;a=n&&a<=r&&t(e[a],a)||r=n)&&t(e[a],a)?i++:i>0&&(e[a-i]=e[a]);return i>0&&(e.length=o-i),i}}(r||(r={}));var a=function(){function e(e){this._index=0,this._source=e}return e.prototype.iter=function(){return this},e.prototype.clone=function(){var t=new e(this._source);return t._index=this._index,t},e.prototype.next=function(){if(!(this._index>=this._source.length))return this._source[this._index++]},e}();(function(){function e(e,t){void 0===t&&(t=Object.keys(e)),this._index=0,this._source=e,this._keys=t}e.prototype.iter=function(){return this},e.prototype.clone=function(){var t=new e(this._source,this._keys);return t._index=this._index,t},e.prototype.next=function(){if(!(this._index>=this._keys.length)){var e=this._keys[this._index++];return e in this._source?e:this.next()}}})(),function(){function e(e,t){void 0===t&&(t=Object.keys(e)),this._index=0,this._source=e,this._keys=t}e.prototype.iter=function(){return this},e.prototype.clone=function(){var t=new e(this._source,this._keys);return t._index=this._index,t},e.prototype.next=function(){if(!(this._index>=this._keys.length)){var e=this._keys[this._index++];return e in this._source?this._source[e]:this.next()}}}(),function(){function e(e,t){void 0===t&&(t=Object.keys(e)),this._index=0,this._source=e,this._keys=t}e.prototype.iter=function(){return this},e.prototype.clone=function(){var t=new e(this._source,this._keys);return t._index=this._index,t},e.prototype.next=function(){if(!(this._index>=this._keys.length)){var e=this._keys[this._index++];return e in this._source?[e,this._source[e]]:this.next()}}}(),function(){function e(e){this._fn=e}e.prototype.iter=function(){return this},e.prototype.clone=function(){throw new Error("An `FnIterator` cannot be cloned.")},e.prototype.next=function(){return this._fn.call(void 0)}}();!function(){function e(e){this._cloned=!1,this._source=e,this._active=void 0}e.prototype.iter=function(){return this},e.prototype.clone=function(){var t=new e(this._source.clone());return t._active=this._active&&this._active.clone(),t._cloned=!0,this._cloned=!0,t},e.prototype.next=function(){if(void 0===this._active){var e=this._source.next();if(void 0===e)return;this._active=this._cloned?e.clone():e}var t=this._active.next();return void 0!==t?t:(this._active=void 0,this.next())}}();!function(){function e(){}e.prototype.iter=function(){return this},e.prototype.clone=function(){return new e},e.prototype.next=function(){}}();!function(){function e(e,t){this._source=e,this._index=t}e.prototype.iter=function(){return this},e.prototype.clone=function(){return new e(this._source.clone(),this._index)},e.prototype.next=function(){var e=this._source.next();if(void 0!==e)return[this._index++,e]}}();!function(){function e(e,t){this._index=0,this._source=e,this._fn=t}e.prototype.iter=function(){return this},e.prototype.clone=function(){var t=new e(this._source.clone(),this._fn);return t._index=this._index,t},e.prototype.next=function(){for(var e,t=this._fn,n=this._source;void 0!==(e=n.next());)if(t(e,this._index++))return e}}();!function(){function e(e,t){this._index=0,this._source=e,this._fn=t}e.prototype.iter=function(){return this},e.prototype.clone=function(){var t=new e(this._source.clone(),this._fn);return t._index=this._index,t},e.prototype.next=function(){var e=this._source.next();if(void 0!==e)return this._fn.call(void 0,e,this._index++)}}();var s;!function(){function e(e,t,n){this._index=0,this._start=e,this._stop=t,this._step=n,this._length=s.rangeLength(e,t,n)}e.prototype.iter=function(){return this},e.prototype.clone=function(){var t=new e(this._start,this._stop,this._step);return t._index=this._index,t},e.prototype.next=function(){if(!(this._index>=this._length))return this._start+this._step*this._index++}}();!function(e){e.rangeLength=function(e,t,n){return 0===n?1/0:e>t&&n>0||e=this._source.length))return this._source[this._index--]}}();var l;!function(){function e(e,t){this._source=e,this._step=t}e.prototype.iter=function(){return this},e.prototype.clone=function(){return new e(this._source.clone(),this._step)},e.prototype.next=function(){for(var e=this._source.next(),t=this._step-1;t>0;--t)this._source.next();return e}}();!function(e){function t(e,t,n){void 0===n&&(n=0);for(var r=new Array(t.length),o=0,i=n,a=t.length;ot?1:0}}(l||(l={}));!function(){function e(e,t){this._source=e,this._count=t}e.prototype.iter=function(){return this},e.prototype.clone=function(){return new e(this._source.clone(),this._count)},e.prototype.next=function(){if(!(this._count<=0)){var e=this._source.next();if(void 0!==e)return this._count--,e}}}();!function(){function e(e){this._source=e}e.prototype.iter=function(){return this},e.prototype.clone=function(){return new e(this._source.map((function(e){return e.clone()})))},e.prototype.next=function(){for(var e=new Array(this._source.length),t=0,n=this._source.length;t0)){var r=a.get(t.sender);if(r&&0!==r.length)for(var o=0,i=r.length;o{"use strict";e.exports=function(e,t){var n=new Array(arguments.length-1),r=0,o=2,i=!0;for(;o{"use strict";var n=t;n.length=function(e){var t=e.length;if(!t)return 0;for(var n=0;--t%4>1&&"="===e.charAt(t);)++n;return Math.ceil(3*e.length)/4-n};for(var r=new Array(64),o=new Array(123),i=0;i<64;)o[r[i]=i<26?i+65:i<52?i+71:i<62?i-4:i-59|43]=i++;n.encode=function(e,t,n){for(var o,i=null,a=[],s=0,l=0;t>2],o=(3&c)<<4,l=1;break;case 1:a[s++]=r[o|c>>4],o=(15&c)<<2,l=2;break;case 2:a[s++]=r[o|c>>6],a[s++]=r[63&c],l=0}s>8191&&((i||(i=[])).push(String.fromCharCode.apply(String,a)),s=0)}return l&&(a[s++]=r[o],a[s++]=61,1===l&&(a[s++]=61)),i?(s&&i.push(String.fromCharCode.apply(String,a.slice(0,s))),i.join("")):String.fromCharCode.apply(String,a.slice(0,s))};var a="invalid encoding";n.decode=function(e,t,n){for(var r,i=n,s=0,l=0;l1)break;if(void 0===(c=o[c]))throw Error(a);switch(s){case 0:r=c,s=1;break;case 1:t[n++]=r<<2|(48&c)>>4,r=c,s=2;break;case 2:t[n++]=(15&r)<<4|(60&c)>>2,r=c,s=3;break;case 3:t[n++]=(3&r)<<6|c,s=0}}if(1===s)throw Error(a);return n-i},n.test=function(e){return/^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/.test(e)}},33510:e=>{"use strict";function t(e,n){"string"===typeof e&&(n=e,e=void 0);var r=[];function o(e){if("string"!==typeof e){var n=i();if(t.verbose&&console.log("codegen: "+n),n="return "+n,e){for(var a=Object.keys(e),s=new Array(a.length+1),l=new Array(a.length),c=0;c{"use strict";function t(){this._listeners={}}e.exports=t,t.prototype.on=function(e,t,n){return(this._listeners[e]||(this._listeners[e]=[])).push({fn:t,ctx:n||this}),this},t.prototype.off=function(e,t){if(void 0===e)this._listeners={};else if(void 0===t)this._listeners[e]=[];else for(var n=this._listeners[e],r=0;r{"use strict";e.exports=i;var r=n(25029),o=n(53092)("fs");function i(e,t,n){return"function"===typeof t?(n=t,t={}):t||(t={}),n?!t.xhr&&o&&o.readFile?o.readFile(e,(function(r,o){return r&&"undefined"!==typeof XMLHttpRequest?i.xhr(e,t,n):r?n(r):n(null,t.binary?o:o.toString("utf8"))})):i.xhr(e,t,n):r(i,this,e,t)}i.xhr=function(e,t,n){var r=new XMLHttpRequest;r.onreadystatechange=function(){if(4===r.readyState){if(0!==r.status&&200!==r.status)return n(Error("status "+r.status));if(t.binary){var e=r.response;if(!e){e=[];for(var o=0;o{"use strict";function t(e){return"undefined"!==typeof Float32Array?function(){var t=new Float32Array([-0]),n=new Uint8Array(t.buffer),r=128===n[3];function o(e,r,o){t[0]=e,r[o]=n[0],r[o+1]=n[1],r[o+2]=n[2],r[o+3]=n[3]}function i(e,r,o){t[0]=e,r[o]=n[3],r[o+1]=n[2],r[o+2]=n[1],r[o+3]=n[0]}function a(e,r){return n[0]=e[r],n[1]=e[r+1],n[2]=e[r+2],n[3]=e[r+3],t[0]}function s(e,r){return n[3]=e[r],n[2]=e[r+1],n[1]=e[r+2],n[0]=e[r+3],t[0]}e.writeFloatLE=r?o:i,e.writeFloatBE=r?i:o,e.readFloatLE=r?a:s,e.readFloatBE=r?s:a}():function(){function t(e,t,n,r){var o=t<0?1:0;if(o&&(t=-t),0===t)e(1/t>0?0:2147483648,n,r);else if(isNaN(t))e(2143289344,n,r);else if(t>34028234663852886e22)e((o<<31|2139095040)>>>0,n,r);else if(t<11754943508222875e-54)e((o<<31|Math.round(t/1401298464324817e-60))>>>0,n,r);else{var i=Math.floor(Math.log(t)/Math.LN2);e((o<<31|i+127<<23|8388607&Math.round(t*Math.pow(2,-i)*8388608))>>>0,n,r)}}function a(e,t,n){var r=e(t,n),o=2*(r>>31)+1,i=r>>>23&255,a=8388607&r;return 255===i?a?NaN:o*(1/0):0===i?1401298464324817e-60*o*a:o*Math.pow(2,i-150)*(a+8388608)}e.writeFloatLE=t.bind(null,n),e.writeFloatBE=t.bind(null,r),e.readFloatLE=a.bind(null,o),e.readFloatBE=a.bind(null,i)}(),"undefined"!==typeof Float64Array?function(){var t=new Float64Array([-0]),n=new Uint8Array(t.buffer),r=128===n[7];function o(e,r,o){t[0]=e,r[o]=n[0],r[o+1]=n[1],r[o+2]=n[2],r[o+3]=n[3],r[o+4]=n[4],r[o+5]=n[5],r[o+6]=n[6],r[o+7]=n[7]}function i(e,r,o){t[0]=e,r[o]=n[7],r[o+1]=n[6],r[o+2]=n[5],r[o+3]=n[4],r[o+4]=n[3],r[o+5]=n[2],r[o+6]=n[1],r[o+7]=n[0]}function a(e,r){return n[0]=e[r],n[1]=e[r+1],n[2]=e[r+2],n[3]=e[r+3],n[4]=e[r+4],n[5]=e[r+5],n[6]=e[r+6],n[7]=e[r+7],t[0]}function s(e,r){return n[7]=e[r],n[6]=e[r+1],n[5]=e[r+2],n[4]=e[r+3],n[3]=e[r+4],n[2]=e[r+5],n[1]=e[r+6],n[0]=e[r+7],t[0]}e.writeDoubleLE=r?o:i,e.writeDoubleBE=r?i:o,e.readDoubleLE=r?a:s,e.readDoubleBE=r?s:a}():function(){function t(e,t,n,r,o,i){var a=r<0?1:0;if(a&&(r=-r),0===r)e(0,o,i+t),e(1/r>0?0:2147483648,o,i+n);else if(isNaN(r))e(0,o,i+t),e(2146959360,o,i+n);else if(r>17976931348623157e292)e(0,o,i+t),e((a<<31|2146435072)>>>0,o,i+n);else{var s;if(r<22250738585072014e-324)e((s=r/5e-324)>>>0,o,i+t),e((a<<31|s/4294967296)>>>0,o,i+n);else{var l=Math.floor(Math.log(r)/Math.LN2);1024===l&&(l=1023),e(4503599627370496*(s=r*Math.pow(2,-l))>>>0,o,i+t),e((a<<31|l+1023<<20|1048576*s&1048575)>>>0,o,i+n)}}}function a(e,t,n,r,o){var i=e(r,o+t),a=e(r,o+n),s=2*(a>>31)+1,l=a>>>20&2047,c=4294967296*(1048575&a)+i;return 2047===l?c?NaN:s*(1/0):0===l?5e-324*s*c:s*Math.pow(2,l-1075)*(c+4503599627370496)}e.writeDoubleLE=t.bind(null,n,0,4),e.writeDoubleBE=t.bind(null,r,4,0),e.readDoubleLE=a.bind(null,o,0,4),e.readDoubleBE=a.bind(null,i,4,0)}(),e}function n(e,t,n){t[n]=255&e,t[n+1]=e>>>8&255,t[n+2]=e>>>16&255,t[n+3]=e>>>24}function r(e,t,n){t[n]=e>>>24,t[n+1]=e>>>16&255,t[n+2]=e>>>8&255,t[n+3]=255&e}function o(e,t){return(e[t]|e[t+1]<<8|e[t+2]<<16|e[t+3]<<24)>>>0}function i(e,t){return(e[t]<<24|e[t+1]<<16|e[t+2]<<8|e[t+3])>>>0}e.exports=t(t)},53092:module=>{"use strict";function inquire(moduleName){try{var mod=eval("quire".replace(/^/,"re"))(moduleName);if(mod&&(mod.length||Object.keys(mod).length))return mod}catch(e){}return null}module.exports=inquire},87134:(e,t)=>{"use strict";var n=t,r=n.isAbsolute=function(e){return/^(?:\/|\w+:)/.test(e)},o=n.normalize=function(e){var t=(e=e.replace(/\\/g,"/").replace(/\/{2,}/g,"/")).split("/"),n=r(e),o="";n&&(o=t.shift()+"/");for(var i=0;i0&&".."!==t[i-1]?t.splice(--i,2):n?t.splice(i,1):++i:"."===t[i]?t.splice(i,1):++i;return o+t.join("/")};n.resolve=function(e,t,n){return n||(t=o(t)),r(t)?t:(n||(e=o(e)),(e=e.replace(/(?:\/|^)[^/]+$/,"")).length?o(e+"/"+t):t)}},13360:e=>{"use strict";e.exports=function(e,t,n){var r=n||8192,o=r>>>1,i=null,a=r;return function(n){if(n<1||n>o)return e(n);a+n>r&&(i=e(r),a=0);var s=t.call(i,a,a+=n);return 7&a&&(a=1+(7|a)),s}}},94992:(e,t)=>{"use strict";var n=t;n.length=function(e){for(var t=0,n=0,r=0;r191&&r<224?i[a++]=(31&r)<<6|63&e[t++]:r>239&&r<365?(r=((7&r)<<18|(63&e[t++])<<12|(63&e[t++])<<6|63&e[t++])-65536,i[a++]=55296+(r>>10),i[a++]=56320+(1023&r)):i[a++]=(15&r)<<12|(63&e[t++])<<6|63&e[t++],a>8191&&((o||(o=[])).push(String.fromCharCode.apply(String,i)),a=0);return o?(a&&o.push(String.fromCharCode.apply(String,i.slice(0,a))),o.join("")):String.fromCharCode.apply(String,i.slice(0,a))},n.write=function(e,t,n){for(var r,o,i=n,a=0;a>6|192,t[n++]=63&r|128):55296===(64512&r)&&56320===(64512&(o=e.charCodeAt(a+1)))?(r=65536+((1023&r)<<10)+(1023&o),++a,t[n++]=r>>18|240,t[n++]=r>>12&63|128,t[n++]=r>>6&63|128,t[n++]=63&r|128):(t[n++]=r>>12|224,t[n++]=r>>6&63|128,t[n++]=63&r|128);return n-i}},70692:(e,t,n)=>{"use strict";n.d(t,{XG:()=>p,aO:()=>h,ch:()=>d,hq:()=>b,jb:()=>f,vt:()=>m});var r=n(30969),o=n(9479),i=n(1204);function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=Object.assign({},e,t);return Object.keys(n).reduce((function(n,r){return n[r]=m(b(e[r]),b(t[r])),n}),{})}function m(e,t){var n=l(l({},e),t);return e.props&&t.props&&(n.props=g(e.props,t.props)),e.style&&t.style&&(n.style=g(e.style,t.style)),n}function g(e,t){return"object"===u(e)&&"object"===u(t)?(0,i.Z)({},e,t):function(){return(0,i.Z)({},"function"===typeof e?e.apply(void 0,arguments):e,"function"===typeof t?t.apply(void 0,arguments):t)}}},41720:(e,t,n)=>{"use strict";n.d(t,{Z:()=>b});var r=n(30969),o=n(23482),i=n(70692),a=n(46662),s=["title","size","color","overrides"];function l(){return l=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function u(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(l){s=!0,o=l}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"===typeof e)return p(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return p(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function p(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n{"use strict";n.d(t,{Z:()=>b});var r=n(30969),o=n(23482),i=n(70692),a=n(46662),s=["title","size","color","overrides"];function l(){return l=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function u(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(l){s=!0,o=l}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"===typeof e)return p(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return p(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function p(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n{"use strict";n.d(t,{Z:()=>b});var r=n(30969),o=n(23482),i=n(70692),a=n(46662),s=["title","size","color","overrides"];function l(){return l=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function u(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(l){s=!0,o=l}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"===typeof e)return p(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return p(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function p(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n{"use strict";n.d(t,{Z:()=>m});var r=n(30969),o=n(70692),i=n(55978);function a(e){var t={};for(var n in e)"$"!==n[0]&&(t[n]=e[n]);return t}var s=["children","title","size","color","overrides"];function l(){return l=Object.assign?Object.assign.bind():function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var h=function(e,t){var n=e.children,c=e.title,p=e.size,b=e.color,h=e.overrides,m=void 0===h?{}:h,g=f(e,s),O=d((0,o.jb)(m.Svg,i.n),2),y=O[0],M=O[1],z=y.__STYLETRON__?u(u({title:c,$color:b,$size:p},g),M):u(u({title:c,color:b,size:p},a(g)),a(M));return r.createElement(y,l({"data-baseweb":"icon",ref:t},z),c?r.createElement("title",null,c):null,n)};const m=r.forwardRef(h)},55978:(e,t,n)=>{"use strict";function r(e){var t=e.$theme,n=e.$size,r=e.$color,o=t.sizing.scale600;n&&(o=t.sizing[n]?t.sizing[n]:"number"===typeof n?"".concat(n,"px"):n);var i="currentColor";return r&&(i=t.colors[r]?t.colors[r]:r),{display:"inline-block",fill:i,color:i,height:o,width:o}}n.d(t,{n:()=>o,u:()=>r});var o=(0,n(23482).zo)("svg",r);o.displayName="Svg",o.displayName="Svg"},70209:(e,t,n)=>{"use strict";n.d(t,{NO:()=>i,Xf:()=>a,iB:()=>r,y4:()=>o});var r={textarea:"textarea"},o={none:"none",left:"left",right:"right",both:"both"},i={mini:"mini",default:"default",compact:"compact",large:"large"},a={start:"start",end:"end"}},99759:(e,t,n)=>{"use strict";n.d(t,{Z:()=>g});var r=n(30969),o=n(15749),i=n(23482),a=n(32463);function s(e){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s(e)}function l(){return l=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";n.d(t,{$6:()=>w,ZP:()=>S,rH:()=>A});var r=n(30969),o=n(23482),i=n(70692),a=n(55483);function s(e){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s(e)}function l(){return l=Object.assign?Object.assign.bind():function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n{"use strict";n.d(t,{R:()=>i});var r=n(30969);n(29538);const o={accordion:{collapse:"Collapse",expand:"Expand"},breadcrumbs:{ariaLabel:"Breadcrumbs navigation"},datepicker:{ariaLabel:"Select a date.",ariaLabelRange:"Select a date range.",ariaLabelCalendar:"Calendar.",ariaRoleDescriptionCalendarMonth:"Calendar month",previousMonth:"Previous month.",nextMonth:"Next month.",pastWeek:"Past Week",pastMonth:"Past Month",pastThreeMonths:"Past 3 Months",pastSixMonths:"Past 6 Months",pastYear:"Past Year",pastTwoYears:"Past 2 Years",screenReaderMessageInput:"Press the down arrow key to interact with the calendar and select a date. Press the escape button to close the calendar.",selectedDate:"Selected date is ${date}.",selectedDateRange:"Selected date range is from ${startDate} to ${endDate}.",selectSecondDatePrompt:"Select the second date.",quickSelectLabel:"Choose a date range",quickSelectAriaLabel:"Choose a date range",quickSelectPlaceholder:"None",timeSelectEndLabel:"End time",timeSelectStartLabel:"Start time",timePickerAriaLabel12Hour:"Select a time, 12-hour format.",timePickerAriaLabel24Hour:"Select a time, 24-hour format.",timezonePickerAriaLabel:"Select a timezone.",selectedStartDateLabel:"Selected start date.",selectedEndDateLabel:"Selected end date.",dateNotAvailableLabel:"Not available.",dateAvailableLabel:"It's available.",selectedLabel:"Selected.",chooseLabel:"Choose"},datatable:{emptyState:"No rows match the filter criteria defined. Please remove one or more filters to view more data.",loadingState:"Loading rows.",searchAriaLabel:"Search by text",filterAdd:"Add Filter",filterExclude:"Exclude",filterApply:"Apply",filterExcludeRange:"Exclude range",filterExcludeValue:"Exclude value",filterAppliedTo:"filter applied to",optionsLabel:"Select column to filter by",optionsSearch:"Search for a column to filter by...",optionsEmpty:"No columns available.",categoricalFilterSelectAll:"Select All",categoricalFilterSelectClear:"Clear",categoricalFilterEmpty:"No categories found",datetimeFilterRange:"Range",datetimeFilterRangeDatetime:"Date, Time",datetimeFilterRangeDate:"Date",datetimeFilterRangeTime:"Time",datetimeFilterCategorical:"Categorical",datetimeFilterCategoricalWeekday:"Weekday",datetimeFilterCategoricalMonth:"Month",datetimeFilterCategoricalQuarter:"Quarter",datetimeFilterCategoricalHalf:"Half",datetimeFilterCategoricalFirstHalf:"H1",datetimeFilterCategoricalSecondHalf:"H2",datetimeFilterCategoricalYear:"Year",numericalFilterRange:"Range",numericalFilterSingleValue:"Single Value",booleanFilterTrue:"true",booleanFilterFalse:"false",booleanColumnTrueShort:"T",booleanColumnFalseShort:"F",selectRow:"Select row",selectAllRows:"Select all rows"},buttongroup:{ariaLabel:"button group"},fileuploader:{dropFilesToUpload:"Drop files here to upload...",or:"",browseFiles:"Browse files",retry:"Retry Upload",cancel:"Cancel"},menu:{noResultsMsg:"No results",parentMenuItemAriaLabel:"You are currently at an item that opens a nested listbox. Press right arrow to enter that element and left arrow to return."},modal:{close:"Close"},drawer:{close:"Close"},pagination:{prev:"Prev",next:"Next",preposition:"of"},select:{noResultsMsg:"No results found",placeholder:"Select...",create:"Create"},toast:{close:"Close"}};var i=r.createContext(o)},105:(e,t,n)=>{"use strict";n.d(t,{Sz:()=>i,YV:()=>o,d0:()=>r});var r={click:"click",moveUp:"moveUp",moveDown:"moveDown",mouseEnter:"mouseEnter",mouseLeave:"mouseLeave",focus:"focus",reset:"reset",character:"character",enter:"enter"},o={ArrowUp:"ArrowUp",ArrowDown:"ArrowDown",ArrowLeft:"ArrowLeft",ArrowRight:"ArrowRight",Enter:"Enter",Space:" ",Escape:"Escape",Backspace:"Backspace",Home:"Home",End:"End"},i={default:"default",compact:"compact"}},18345:(e,t,n)=>{"use strict";n.d(t,{Z:()=>ge});var r=n(30969),o=n(32703),i=n(65278),a=n(70692),s=n(105);function l(e){return l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},l(e)}function c(e){return function(e){if(Array.isArray(e))return p(e)}(e)||function(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||u(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function u(e,t){if(e){if("string"===typeof e)return p(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?p(e,t):void 0}}function p(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);ne.length)&&(t=e.length);for(var n=0,r=new Array(t);ne.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function R(e,t){var n=e.getChildMenu,l=e.getItemLabel,c=void 0===l?function(e){return e?e.label:""}:l,u=e.item,p=e.onClick,d=void 0===p?function(){}:p,b=e.onMouseEnter,f=void 0===b?function(){}:b,h=e.overrides,m=void 0===h?{}:h,g=e.renderHrefAsAnchor,O=void 0===g||g,y=e.resetMenu,M=void 0===y?function(){}:y,z=e.size,A=void 0===z?s.Sz.default:z,v=e.$isHighlighted,T=e.renderAll,R=_(e,S),C=q((0,a.jb)(m.ListItem,i.oH),2),N=C[0],I=C[1],W=q((0,a.jb)(m.ListItemAnchor,i.v0),2),P=W[0],L=W[1];return r.createElement(o.R.Consumer,null,(function(e){return r.createElement(w,{getChildMenu:n,isOpen:!!v,item:u,resetParentMenu:M,renderAll:T,onClick:d,overrides:m},r.createElement(N,k({ref:t,"aria-label":n&&n(u)?e.menu.parentMenuItemAriaLabel:null,item:u,onClick:d,onMouseEnter:f,$size:A,$isHighlighted:v},R,I),function(e){return e.href&&O?r.createElement(P,k({$item:e,href:e.href},L),c(e)):r.createElement(r.Fragment,null,c(e))}(function(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function D(){return D=Object.assign?Object.assign.bind():function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n4&&void 0!==arguments[4]?arguments[4]:"auto";if(e){var i=e.getBoundingClientRect(),a=t.getBoundingClientRect();if(i.bottom>a.bottom)if(r)t.scrollTop=t.scrollHeight-a.height;else{var s=e.offsetTop+i.height;t.scrollTop=s-("center"===o?Math.round((a.height+i.height)/2):a.height)}else i.top=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function Z(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function J(e){for(var t=1;t0){o=u;break}}e.internalSetState(s.d0.character,{highlightedIndex:o}),e.refList[o]&&U(e.refList[o].current,n.current,0===o,o===i.length-1)}})),oe(ne(e),"handleArrowKey",(function(t){var n=e.props.rootRef?e.props.rootRef:e.rootRef,r=e.state.highlightedIndex,o=r;if(t.key===s.YV.ArrowUp)t.preventDefault(),o=Math.max(0,r-1),e.internalSetState(s.d0.moveUp,{highlightedIndex:o});else if(t.key===s.YV.ArrowDown)t.preventDefault(),o=Math.min(r+1,e.getItems().length-1),e.internalSetState(s.d0.moveDown,{highlightedIndex:o});else if(t.key===s.YV.Home)t.preventDefault(),o=0,e.internalSetState(s.d0.moveUp,{highlightedIndex:o});else if(t.key===s.YV.End)t.preventDefault(),o=e.getItems().length-1,e.internalSetState(s.d0.moveDown,{highlightedIndex:o});else if(t.key===s.YV.ArrowLeft){if(e.props.getParentMenu){var i=e.props.getParentMenu(n);i&&i.current&&i.current.focus()}}else if(t.key===s.YV.ArrowRight&&e.props.getChildMenu){var a=e.props.getChildMenu(n);a&&a.current&&a.current.focus()}e.refList[o]&&U(e.refList[o].current,n.current,0===o,o===e.getItems().length-1)})),oe(ne(e),"handleEnterKey",(function(t){var n=e.props.onItemSelect,r=e.state.highlightedIndex,o=e.getItems();o[r]&&n&&!o[r].disabled&&(t.preventDefault(),n({item:o[r],event:t}))})),oe(ne(e),"handleItemClick",(function(t,n,r){e.props.onItemSelect&&!n.disabled&&(e.props.onItemSelect({item:n,event:r}),e.internalSetState(s.d0.click,{highlightedIndex:t,activedescendantId:e.optionIds[t]}))})),oe(ne(e),"handleMouseEnter",(function(t){e.internalSetState(s.d0.mouseEnter,{highlightedIndex:t,activedescendantId:e.optionIds[t]})})),oe(ne(e),"handleMouseLeave",(function(e){})),oe(ne(e),"getRequiredItemProps",(function(t,n){var o=e.refList[n];o||(o=r.createRef(),e.refList[n]=o,e.optionIds[n]=e.props.uidSeed(n));var i=e.props.getRequiredItemProps(t,n),a=i.disabled,s=Y(i,G),l="boolean"===typeof a?a:!!t.disabled;return J(J({id:s.id||e.optionIds[n],disabled:l,ref:o,isFocused:e.state.isFocused,isHighlighted:e.state.highlightedIndex===n,resetMenu:e.resetMenu},l?{}:{onClick:e.handleItemClick.bind(ne(e),n,t),onMouseEnter:e.handleMouseEnter.bind(ne(e),n)}),s)})),oe(ne(e),"focusMenu",(function(t){var n=e.props.rootRef?e.props.rootRef:e.rootRef;!e.state.isFocused&&n.current&&n.current.contains(t.target)&&(e.state.highlightedIndex<0?e.internalSetState(s.d0.focus,{isFocused:!0,highlightedIndex:0}):e.internalSetState(s.d0.focus,{isFocused:!0}),n.current.focus())})),oe(ne(e),"unfocusMenu",(function(){e.internalSetState(s.d0.focus,{isFocused:!1})})),oe(ne(e),"resetMenu",(function(){e.internalSetState(s.d0.reset,{isFocused:!1,highlightedIndex:-1,activedescendantId:null})})),e}return t=a,(n=[{key:"getItems",value:function(){var e=this;return Array.isArray(this.props.items)?this.props.items:Object.keys(this.props.items).reduce((function(t,n){return t.concat(e.props.items[n])}),[])}},{key:"componentDidMount",value:function(){var e=this.props.rootRef?this.props.rootRef:this.rootRef;"undefined"!==typeof document&&(e.current&&this.state.highlightedIndex>-1&&this.refList[this.state.highlightedIndex]&&U(this.refList[this.state.highlightedIndex].current,e.current,0===this.state.highlightedIndex,this.state.highlightedIndex===this.getItems().length-1,"center"),this.state.isFocused&&this.keyboardControlNode&&this.keyboardControlNode.addEventListener("keydown",this.onKeyDown)),this.props.addMenuToNesting&&this.props.addMenuToNesting(e)}},{key:"componentWillUnmount",value:function(){var e=this.props.rootRef?this.props.rootRef:this.rootRef;"undefined"!==typeof document&&this.keyboardControlNode&&this.keyboardControlNode.removeEventListener("keydown",this.onKeyDown),this.props.removeMenuFromNesting&&this.props.removeMenuFromNesting(e)}},{key:"componentDidUpdate",value:function(e,t){"undefined"!==typeof document&&(!t.isFocused&&this.state.isFocused?this.keyboardControlNode&&this.keyboardControlNode.addEventListener("keydown",this.onKeyDown):t.isFocused&&!this.state.isFocused&&this.keyboardControlNode&&this.keyboardControlNode.removeEventListener("keydown",this.onKeyDown));var n=this.getItems().length;this.props.forceHighlight&&-1===this.state.highlightedIndex&&n>0&&this.internalSetState(s.d0.enter,{highlightedIndex:0}),0===n&&-1!==this.state.highlightedIndex?this.internalSetState(s.d0.enter,{highlightedIndex:-1}):this.state.highlightedIndex>=n&&this.internalSetState(s.d0.enter,{highlightedIndex:0}),!this.props.isNestedMenuVisible||this.props.nestedMenuHoverIndex===e.nestedMenuHoverIndex||this.props.isNestedMenuVisible(this.rootRef)||this.props.forceHighlight||this.setState({highlightedIndex:-1})}},{key:"internalSetState",value:function(e,t){var n=this.props.stateReducer;this.props.onActiveDescendantChange&&"number"===typeof t.highlightedIndex&&this.state.highlightedIndex!==t.highlightedIndex&&this.props.onActiveDescendantChange(this.optionIds[t.highlightedIndex]),this.setState(n(e,t,this.state))}},{key:"render",value:function(){var e=this,t=this.props,n=(t.initialState,t.stateReducer,t.children,t.onItemSelect,t.addMenuToNesting,t.removeMenuFromNesting,t.getParentMenu,t.getChildMenu,t.forceHighlight,Y(t,$));return this.props.children(J(J({},n),{},{rootRef:this.props.rootRef?this.props.rootRef:this.rootRef,activedescendantId:this.optionIds[this.state.highlightedIndex],getRequiredItemProps:function(t,n){return e.getRequiredItemProps(t,n)},handleMouseLeave:this.handleMouseLeave,highlightedIndex:this.state.highlightedIndex,isFocused:this.state.isFocused,handleKeyDown:this.props.keyboardControlNode.current?function(e){}:this.onKeyDown,focusMenu:this.focusMenu,unfocusMenu:this.unfocusMenu}))}}])&&Q(t.prototype,n),o&&Q(t,o),Object.defineProperty(t,"prototype",{writable:!1}),a}(r.Component);oe(ae,"defaultProps",ie);var se=function(e){return r.createElement(ae,K({uidSeed:(0,H.H)()},e))};se.defaultProps=ie;const le=se;function ce(e){return ce="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ce(e)}var ue=["overrides"];function pe(){return pe=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function be(e,t){for(var n=0;n{"use strict";n.d(t,{CK:()=>p,Sv:()=>x,au:()=>h,ey:()=>f,oH:()=>O,v0:()=>m});var r=n(30969),o=n(23482),i=n(105),a=["item"];function s(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function c(e){for(var t=1;t{"use strict";n.d(t,{AF:()=>s,Pd:()=>c,SI:()=>a,YM:()=>l,gu:()=>o,jt:()=>u,mb:()=>p,oL:()=>i,r4:()=>r});var r={auto:"auto",topLeft:"topLeft",top:"top",topRight:"topRight",rightTop:"rightTop",right:"right",rightBottom:"rightBottom",bottomRight:"bottomRight",bottom:"bottom",bottomLeft:"bottomLeft",leftBottom:"leftBottom",left:"left",leftTop:"leftTop"},o={click:"click",hover:"hover"},i={open:"open",close:"close"},a={none:"none",menu:"menu",tooltip:"tooltip"},s=8,l=6,c=0,u=20,p=Math.ceil(Math.sqrt(Math.pow(2*l,2)/2))},14912:(e,t,n)=>{"use strict";n.d(t,{Z:()=>Ke});var r=n(30969),o=n(51359),i=n(7896),a=n(691),s=n(55792),l=n(45709);function c(e){var t,n=e.disabled,o=e.className,c=e.children,u=r.useRef(null);return t=n?void 0:u,r.useEffect((function(){var e=!0;return l.zC.useMedium((function(n){var r=t&&t.current;e&&r&&(n.focusInside(r)||n.moveFocusInside(r,null))})),function(){e=!1}}),[t]),r.createElement("div",(0,i.Z)({},(0,s.X)(a.GV,!n),{ref:u,className:o}),c)}c.propTypes={},c.defaultProps={disabled:!1,className:void 0};const u=c;var p=n(70692),d=n(6846),b=n(99759),f="undefined"!==typeof window&&"undefined"!==typeof document&&"undefined"!==typeof navigator,h=function(){for(var e=["Edge","Trident","Firefox"],t=0;t=0)return 1;return 0}();var m=f&&window.Promise?function(e){var t=!1;return function(){t||(t=!0,window.Promise.resolve().then((function(){t=!1,e()})))}}:function(e){var t=!1;return function(){t||(t=!0,setTimeout((function(){t=!1,e()}),h))}};function g(e){return e&&"[object Function]"==={}.toString.call(e)}function O(e,t){if(1!==e.nodeType)return[];var n=e.ownerDocument.defaultView.getComputedStyle(e,null);return t?n[t]:n}function y(e){return"HTML"===e.nodeName?e:e.parentNode||e.host}function M(e){if(!e)return document.body;switch(e.nodeName){case"HTML":case"BODY":return e.ownerDocument.body;case"#document":return e.body}var t=O(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/(auto|scroll|overlay)/.test(n+o+r)?e:M(y(e))}function z(e){return e&&e.referenceNode?e.referenceNode:e}var A=f&&!(!window.MSInputMethodContext||!document.documentMode),v=f&&/MSIE 10/.test(navigator.userAgent);function w(e){return 11===e?A:10===e?v:A||v}function S(e){if(!e)return document.documentElement;for(var t=w(10)?document.body:null,n=e.offsetParent||null;n===t&&e.nextElementSibling;)n=(e=e.nextElementSibling).offsetParent;var r=n&&n.nodeName;return r&&"BODY"!==r&&"HTML"!==r?-1!==["TH","TD","TABLE"].indexOf(n.nodeName)&&"static"===O(n,"position")?S(n):n:e?e.ownerDocument.documentElement:document.documentElement}function x(e){return null!==e.parentNode?x(e.parentNode):e}function E(e,t){if(!e||!e.nodeType||!t||!t.nodeType)return document.documentElement;var n=e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,r=n?e:t,o=n?t:e,i=document.createRange();i.setStart(r,0),i.setEnd(o,0);var a=i.commonAncestorContainer;if(e!==a&&t!==a||r.contains(o))return function(e){var t=e.nodeName;return"BODY"!==t&&("HTML"===t||S(e.firstElementChild)===e)}(a)?a:S(a);var s=x(e);return s.host?E(s.host,t):E(e,x(t).host)}function k(e){var t="top"===(arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top")?"scrollTop":"scrollLeft",n=e.nodeName;if("BODY"===n||"HTML"===n){var r=e.ownerDocument.documentElement;return(e.ownerDocument.scrollingElement||r)[t]}return e[t]}function q(e,t){var n="x"===t?"Left":"Top",r="Left"===n?"Right":"Bottom";return parseFloat(e["border"+n+"Width"])+parseFloat(e["border"+r+"Width"])}function T(e,t,n,r){return Math.max(t["offset"+e],t["scroll"+e],n["client"+e],n["offset"+e],n["scroll"+e],w(10)?parseInt(n["offset"+e])+parseInt(r["margin"+("Height"===e?"Top":"Left")])+parseInt(r["margin"+("Height"===e?"Bottom":"Right")]):0)}function _(e){var t=e.body,n=e.documentElement,r=w(10)&&getComputedStyle(n);return{height:T("Height",t,n,r),width:T("Width",t,n,r)}}var R=function(){function e(e,t){for(var n=0;n2&&void 0!==arguments[2]&&arguments[2],r=w(10),o="HTML"===t.nodeName,i=W(e),a=W(t),s=M(e),l=O(t),c=parseFloat(l.borderTopWidth),u=parseFloat(l.borderLeftWidth);n&&o&&(a.top=Math.max(a.top,0),a.left=Math.max(a.left,0));var p=I({top:i.top-a.top-c,left:i.left-a.left-u,width:i.width,height:i.height});if(p.marginTop=0,p.marginLeft=0,!r&&o){var d=parseFloat(l.marginTop),b=parseFloat(l.marginLeft);p.top-=c-d,p.bottom-=c-d,p.left-=u-b,p.right-=u-b,p.marginTop=d,p.marginLeft=b}return(r&&!n?t.contains(s):t===s&&"BODY"!==s.nodeName)&&(p=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=k(t,"top"),o=k(t,"left"),i=n?-1:1;return e.top+=r*i,e.bottom+=r*i,e.left+=o*i,e.right+=o*i,e}(p,t)),p}function L(e){var t=e.nodeName;if("BODY"===t||"HTML"===t)return!1;if("fixed"===O(e,"position"))return!0;var n=y(e);return!!n&&L(n)}function j(e){if(!e||!e.parentElement||w())return document.documentElement;for(var t=e.parentElement;t&&"none"===O(t,"transform");)t=t.parentElement;return t||document.documentElement}function D(e,t,n,r){var o=arguments.length>4&&void 0!==arguments[4]&&arguments[4],i={top:0,left:0},a=o?j(e):E(e,z(t));if("viewport"===r)i=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e.ownerDocument.documentElement,r=P(e,n),o=Math.max(n.clientWidth,window.innerWidth||0),i=Math.max(n.clientHeight,window.innerHeight||0),a=t?0:k(n),s=t?0:k(n,"left");return I({top:a-r.top+r.marginTop,left:s-r.left+r.marginLeft,width:o,height:i})}(a,o);else{var s=void 0;"scrollParent"===r?"BODY"===(s=M(y(t))).nodeName&&(s=e.ownerDocument.documentElement):s="window"===r?e.ownerDocument.documentElement:r;var l=P(s,a,o);if("HTML"!==s.nodeName||L(a))i=l;else{var c=_(e.ownerDocument),u=c.height,p=c.width;i.top+=l.top-l.marginTop,i.bottom=u+l.top,i.left+=l.left-l.marginLeft,i.right=p+l.left}}var d="number"===typeof(n=n||0);return i.left+=d?n:n.left||0,i.top+=d?n:n.top||0,i.right-=d?n:n.right||0,i.bottom-=d?n:n.bottom||0,i}function B(e,t,n,r,o){var i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===e.indexOf("auto"))return e;var a=D(n,r,i,o),s={top:{width:a.width,height:t.top-a.top},right:{width:a.right-t.right,height:a.height},bottom:{width:a.width,height:a.bottom-t.bottom},left:{width:t.left-a.left,height:a.height}},l=Object.keys(s).map((function(e){return N({key:e},s[e],{area:(t=s[e],t.width*t.height)});var t})).sort((function(e,t){return t.area-e.area})),c=l.filter((function(e){var t=e.width,r=e.height;return t>=n.clientWidth&&r>=n.clientHeight})),u=c.length>0?c[0].key:l[0].key,p=e.split("-")[1];return u+(p?"-"+p:"")}function F(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return P(n,r?j(t):E(t,z(n)),r)}function V(e){var t=e.ownerDocument.defaultView.getComputedStyle(e),n=parseFloat(t.marginTop||0)+parseFloat(t.marginBottom||0),r=parseFloat(t.marginLeft||0)+parseFloat(t.marginRight||0);return{width:e.offsetWidth+r,height:e.offsetHeight+n}}function U(e){var t={left:"right",right:"left",bottom:"top",top:"bottom"};return e.replace(/left|right|bottom|top/g,(function(e){return t[e]}))}function H(e,t,n){n=n.split("-")[0];var r=V(e),o={width:r.width,height:r.height},i=-1!==["right","left"].indexOf(n),a=i?"top":"left",s=i?"left":"top",l=i?"height":"width",c=i?"width":"height";return o[a]=t[a]+t[l]/2-r[l]/2,o[s]=n===s?t[s]-r[c]:t[U(s)],o}function X(e,t){return Array.prototype.find?e.find(t):e.filter(t)[0]}function G(e,t,n){return(void 0===n?e:e.slice(0,function(e,t,n){if(Array.prototype.findIndex)return e.findIndex((function(e){return e[t]===n}));var r=X(e,(function(e){return e[t]===n}));return e.indexOf(r)}(e,"name",n))).forEach((function(e){e.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var n=e.function||e.fn;e.enabled&&g(n)&&(t.offsets.popper=I(t.offsets.popper),t.offsets.reference=I(t.offsets.reference),t=n(t,e))})),t}function $(){if(!this.state.isDestroyed){var e={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};e.offsets.reference=F(this.state,this.popper,this.reference,this.options.positionFixed),e.placement=B(this.options.placement,e.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),e.originalPlacement=e.placement,e.positionFixed=this.options.positionFixed,e.offsets.popper=H(this.popper,e.offsets.reference,e.placement),e.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",e=G(this.modifiers,e),this.state.isCreated?this.options.onUpdate(e):(this.state.isCreated=!0,this.options.onCreate(e))}}function K(e,t){return e.some((function(e){var n=e.name;return e.enabled&&n===t}))}function Y(e){for(var t=[!1,"ms","Webkit","Moz","O"],n=e.charAt(0).toUpperCase()+e.slice(1),r=0;r1&&void 0!==arguments[1]&&arguments[1],n=le.indexOf(e),r=le.slice(n+1).concat(le.slice(0,n));return t?r.reverse():r}var ue="flip",pe="clockwise",de="counterclockwise";function be(e,t,n,r){var o=[0,0],i=-1!==["right","left"].indexOf(r),a=e.split(/(\+|\-)/).map((function(e){return e.trim()})),s=a.indexOf(X(a,(function(e){return-1!==e.search(/,|\s/)})));a[s]&&-1===a[s].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var l=/\s*,\s*|\s+/,c=-1!==s?[a.slice(0,s).concat([a[s].split(l)[0]]),[a[s].split(l)[1]].concat(a.slice(s+1))]:[a];return c=c.map((function(e,r){var o=(1===r?!i:i)?"height":"width",a=!1;return e.reduce((function(e,t){return""===e[e.length-1]&&-1!==["+","-"].indexOf(t)?(e[e.length-1]=t,a=!0,e):a?(e[e.length-1]+=t,a=!1,e):e.concat(t)}),[]).map((function(e){return function(e,t,n,r){var o=e.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),i=+o[1],a=o[2];if(!i)return e;if(0===a.indexOf("%")){return I("%p"===a?n:r)[t]/100*i}if("vh"===a||"vw"===a)return("vh"===a?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*i;return i}(e,o,t,n)}))})),c.forEach((function(e,t){e.forEach((function(n,r){re(n)&&(o[t]+=n*("-"===e[r-1]?-1:1))}))})),o}var fe={shift:{order:100,enabled:!0,fn:function(e){var t=e.placement,n=t.split("-")[0],r=t.split("-")[1];if(r){var o=e.offsets,i=o.reference,a=o.popper,s=-1!==["bottom","top"].indexOf(n),l=s?"left":"top",c=s?"width":"height",u={start:C({},l,i[l]),end:C({},l,i[l]+i[c]-a[c])};e.offsets.popper=N({},a,u[r])}return e}},offset:{order:200,enabled:!0,fn:function(e,t){var n=t.offset,r=e.placement,o=e.offsets,i=o.popper,a=o.reference,s=r.split("-")[0],l=void 0;return l=re(+n)?[+n,0]:be(n,i,a,s),"left"===s?(i.top+=l[0],i.left-=l[1]):"right"===s?(i.top+=l[0],i.left+=l[1]):"top"===s?(i.left+=l[0],i.top-=l[1]):"bottom"===s&&(i.left+=l[0],i.top+=l[1]),e.popper=i,e},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(e,t){var n=t.boundariesElement||S(e.instance.popper);e.instance.reference===n&&(n=S(n));var r=Y("transform"),o=e.instance.popper.style,i=o.top,a=o.left,s=o[r];o.top="",o.left="",o[r]="";var l=D(e.instance.popper,e.instance.reference,t.padding,n,e.positionFixed);o.top=i,o.left=a,o[r]=s,t.boundaries=l;var c=t.priority,u=e.offsets.popper,p={primary:function(e){var n=u[e];return u[e]l[e]&&!t.escapeWithReference&&(r=Math.min(u[n],l[e]-("right"===e?u.width:u.height))),C({},n,r)}};return c.forEach((function(e){var t=-1!==["left","top"].indexOf(e)?"primary":"secondary";u=N({},u,p[t](e))})),e.offsets.popper=u,e},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(e){var t=e.offsets,n=t.popper,r=t.reference,o=e.placement.split("-")[0],i=Math.floor,a=-1!==["top","bottom"].indexOf(o),s=a?"right":"bottom",l=a?"left":"top",c=a?"width":"height";return n[s]i(r[s])&&(e.offsets.popper[l]=i(r[s])),e}},arrow:{order:500,enabled:!0,fn:function(e,t){var n;if(!ae(e.instance.modifiers,"arrow","keepTogether"))return e;var r=t.element;if("string"===typeof r){if(!(r=e.instance.popper.querySelector(r)))return e}else if(!e.instance.popper.contains(r))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),e;var o=e.placement.split("-")[0],i=e.offsets,a=i.popper,s=i.reference,l=-1!==["left","right"].indexOf(o),c=l?"height":"width",u=l?"Top":"Left",p=u.toLowerCase(),d=l?"left":"top",b=l?"bottom":"right",f=V(r)[c];s[b]-fa[b]&&(e.offsets.popper[p]+=s[p]+f-a[b]),e.offsets.popper=I(e.offsets.popper);var h=s[p]+s[c]/2-f/2,m=O(e.instance.popper),g=parseFloat(m["margin"+u]),y=parseFloat(m["border"+u+"Width"]),M=h-e.offsets.popper[p]-g-y;return M=Math.max(Math.min(a[c]-f,M),0),e.arrowElement=r,e.offsets.arrow=(C(n={},p,Math.round(M)),C(n,d,""),n),e},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(e,t){if(K(e.instance.modifiers,"inner"))return e;if(e.flipped&&e.placement===e.originalPlacement)return e;var n=D(e.instance.popper,e.instance.reference,t.padding,t.boundariesElement,e.positionFixed),r=e.placement.split("-")[0],o=U(r),i=e.placement.split("-")[1]||"",a=[];switch(t.behavior){case ue:a=[r,o];break;case pe:a=ce(r);break;case de:a=ce(r,!0);break;default:a=t.behavior}return a.forEach((function(s,l){if(r!==s||a.length===l+1)return e;r=e.placement.split("-")[0],o=U(r);var c=e.offsets.popper,u=e.offsets.reference,p=Math.floor,d="left"===r&&p(c.right)>p(u.left)||"right"===r&&p(c.left)p(u.top)||"bottom"===r&&p(c.top)p(n.right),h=p(c.top)p(n.bottom),g="left"===r&&b||"right"===r&&f||"top"===r&&h||"bottom"===r&&m,O=-1!==["top","bottom"].indexOf(r),y=!!t.flipVariations&&(O&&"start"===i&&b||O&&"end"===i&&f||!O&&"start"===i&&h||!O&&"end"===i&&m),M=!!t.flipVariationsByContent&&(O&&"start"===i&&f||O&&"end"===i&&b||!O&&"start"===i&&m||!O&&"end"===i&&h),z=y||M;(d||g||z)&&(e.flipped=!0,(d||g)&&(r=a[l+1]),z&&(i=function(e){return"end"===e?"start":"start"===e?"end":e}(i)),e.placement=r+(i?"-"+i:""),e.offsets.popper=N({},e.offsets.popper,H(e.instance.popper,e.offsets.reference,e.placement)),e=G(e.instance.modifiers,e,"flip"))})),e},behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:function(e){var t=e.placement,n=t.split("-")[0],r=e.offsets,o=r.popper,i=r.reference,a=-1!==["left","right"].indexOf(n),s=-1===["top","left"].indexOf(n);return o[a?"left":"top"]=i[n]-(s?o[a?"width":"height"]:0),e.placement=U(t),e.offsets.popper=I(o),e}},hide:{order:800,enabled:!0,fn:function(e){if(!ae(e.instance.modifiers,"hide","preventOverflow"))return e;var t=e.offsets.reference,n=X(e.instance.modifiers,(function(e){return"preventOverflow"===e.name})).boundaries;if(t.bottomn.right||t.top>n.bottom||t.right2&&void 0!==arguments[2]?arguments[2]:{};!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.scheduleUpdate=function(){return requestAnimationFrame(r.update)},this.update=m(this.update.bind(this)),this.options=N({},e.Defaults,o),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=t&&t.jquery?t[0]:t,this.popper=n&&n.jquery?n[0]:n,this.options.modifiers={},Object.keys(N({},e.Defaults.modifiers,o.modifiers)).forEach((function(t){r.options.modifiers[t]=N({},e.Defaults.modifiers[t]||{},o.modifiers?o.modifiers[t]:{})})),this.modifiers=Object.keys(this.options.modifiers).map((function(e){return N({name:e},r.options.modifiers[e])})).sort((function(e,t){return e.order-t.order})),this.modifiers.forEach((function(e){e.enabled&&g(e.onLoad)&&e.onLoad(r.reference,r.popper,r.options,e,r.state)})),this.update();var i=this.options.eventsEnabled;i&&this.enableEventListeners(),this.state.eventsEnabled=i}return R(e,[{key:"update",value:function(){return $.call(this)}},{key:"destroy",value:function(){return Z.call(this)}},{key:"enableEventListeners",value:function(){return te.call(this)}},{key:"disableEventListeners",value:function(){return ne.call(this)}}]),e}();me.Utils=("undefined"!==typeof window?window:n.g).PopperUtils,me.placements=se,me.Defaults=he;const ge=me;function Oe(e){return e.replace(/(Top|Left)$/,"-start").replace(/(Right|Bottom)$/,"-end")}function ye(e){return{top:Math.floor(e.top||0),left:Math.floor(e.left||0)}}function Me(e){return Me="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Me(e)}var ze=["modifiers"];function Ae(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ve(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function Se(e,t){for(var n=0;n0&&this.setState({autoFocusAfterPositioning:!0})}},{key:"init",value:function(e,t){if(this.props.isOpen!==e.isOpen||this.state.isMounted!==t.isMounted||this.state.isLayerMounted!==t.isLayerMounted){if(this.props.isOpen&&this.state.isLayerMounted)return void this.clearTimers();if(!this.props.isOpen&&e.isOpen)return void(this.animateOutTimer=setTimeout(this.animateOut,20))}}},{key:"componentWillUnmount",value:function(){this.clearTimers()}},{key:"getDefaultState",value:function(e){return{isAnimating:!1,arrowOffset:{left:0,top:0},popoverOffset:{left:0,top:0},placement:e.placement,isMounted:!1,isLayerMounted:!1,autoFocusAfterPositioning:!1}}},{key:"clearTimers",value:function(){[this.animateInTimer,this.animateOutTimer,this.animateOutCompleteTimer,this.onMouseEnterTimer,this.onMouseLeaveTimer].forEach((function(e){e&&clearTimeout(e)}))}},{key:"triggerOnMouseLeaveWithDelay",value:function(e){var t=this,n=this.props.onMouseLeaveDelay;n?this.onMouseLeaveTimer=setTimeout((function(){return t.triggerOnMouseLeave(e)}),n):this.triggerOnMouseLeave(e)}},{key:"triggerOnMouseEnterWithDelay",value:function(e){var t=this,n=this.props.onMouseEnterDelay;n?this.onMouseEnterTimer=setTimeout((function(){return t.triggerOnMouseEnter(e)}),n):this.triggerOnMouseEnter(e)}},{key:"isClickTrigger",value:function(){return this.props.triggerType===d.gu.click}},{key:"isHoverTrigger",value:function(){return this.props.triggerType===d.gu.hover}},{key:"isAccessibilityTypeMenu",value:function(){return this.props.accessibilityType===d.SI.menu}},{key:"isAccessibilityTypeTooltip",value:function(){return this.props.accessibilityType===d.SI.tooltip}},{key:"getAnchorIdAttr",value:function(){var e=this.getPopoverIdAttr();return e?"".concat(e,"__anchor"):null}},{key:"getPopoverIdAttr",value:function(){return this.props.id||null}},{key:"getAnchorProps",value:function(){var e=this.props.isOpen,t={ref:this.anchorRef},n=this.getPopoverIdAttr();return this.isAccessibilityTypeMenu()?(t[this.isClickTrigger()?"aria-controls":"aria-owns"]=e?n:null,t["aria-haspopup"]=!0,t["aria-expanded"]=Boolean(e)):this.isAccessibilityTypeTooltip()&&(t.id=this.getAnchorIdAttr(),t["aria-describedby"]=e?n:null),this.isHoverTrigger()?(t.onMouseEnter=this.onAnchorMouseEnter,t.onMouseLeave=this.onAnchorMouseLeave,t.onBlur=this.props.onBlur,t.onFocus=this.props.onFocus):t.onClick=this.onAnchorClick,t}},{key:"getPopoverBodyProps",value:function(){var e={},t=this.getPopoverIdAttr();return this.isAccessibilityTypeMenu()?e.id=t:this.isAccessibilityTypeTooltip()&&(e.id=t,e.role="tooltip"),this.isHoverTrigger()&&(e.onMouseEnter=this.onPopoverMouseEnter,e.onMouseLeave=this.onPopoverMouseLeave),e}},{key:"getSharedProps",value:function(){var e=this.props,t=e.isOpen,n=e.showArrow,r=e.popoverMargin,o=void 0===r?d.AF:r,i=this.state,a=i.isAnimating;return{$showArrow:!!n,$arrowOffset:i.arrowOffset,$popoverOffset:i.popoverOffset,$placement:i.placement,$isAnimating:a,$animationDuration:this.props.animateOutTime||d.Pd,$isOpen:t,$popoverMargin:o,$isHoverTrigger:this.isHoverTrigger()}}},{key:"getAnchorFromChildren",value:function(){var e=this.props.children,t=r.Children.toArray(e);return 1!==t.length&&console.error("[baseui] Exactly 1 child must be passed to Popover/Tooltip, found ".concat(t.length," children")),t[0]}},{key:"renderAnchor",value:function(){var e=this.getAnchorFromChildren();if(!e)return null;var t=r.isValidElement(e),n=this.getAnchorProps();return"object"===De(e)&&t?r.cloneElement(e,n):r.createElement("span",je({key:"popover-anchor"},n),e)}},{key:"renderPopover",value:function(e){var t=this.props,n=t.showArrow,o=t.overrides,i=void 0===o?{}:o,a=i.Arrow,s=i.Body,l=i.Inner,c=(0,p.XG)(a)||Ce.Eh,u=(0,p.XG)(s)||Ce.uT,d=(0,p.XG)(l)||Ce.Nh,b=this.getSharedProps(),f=this.getPopoverBodyProps();return r.createElement(u,je({key:"popover-body",ref:this.popperRef,"data-baseweb":this.props["data-baseweb"]||"popover"},f,b,(0,p.ch)(s)),n?r.createElement(c,je({key:"popover-arrow",ref:this.arrowRef},b,(0,p.ch)(a))):null,r.createElement(d,je({},b,(0,p.ch)(l)),e))}},{key:"renderContent",value:function(){var e=this.props.content;return"function"===typeof e?e():e}},{key:"render",value:function(){var e=this,t=this.state.isMounted&&(this.props.isOpen||this.state.isAnimating),n=[this.renderAnchor()],i=t||this.props.renderAll?this.renderContent():null,a={modifiers:{preventOverflow:{enabled:!this.props.ignoreBoundary,padding:0}}};return i&&(t?n.push(r.createElement(b.Z,{key:"new-layer",mountNode:this.props.mountNode,onEscape:this.props.onEsc,onDocumentClick:this.isHoverTrigger()?void 0:this.onDocumentClick,isHoverLayer:this.isHoverTrigger(),onMount:function(){return e.setState({isLayerMounted:!0})},onUnmount:function(){return e.setState({isLayerMounted:!1})}},r.createElement(Re,{anchorRef:this.anchorRef.current,arrowRef:this.arrowRef.current,popperRef:this.popperRef.current,popperOptions:Le(Le({},a),this.props.popperOptions),onPopperUpdate:this.onPopperUpdate,placement:this.state.placement},this.props.focusLock&&this.props.accessibilityType!==d.SI.tooltip?r.createElement(o.ZP,{disabled:!this.props.focusLock,noFocusGuards:!1,returnFocus:!this.isHoverTrigger()&&this.props.returnFocus,autoFocus:this.state.autoFocusAfterPositioning,crossFrame:!1,focusOptions:this.props.focusOptions},this.renderPopover(i)):r.createElement(u,{disabled:!this.props.autoFocus||!this.state.autoFocusAfterPositioning},this.renderPopover(i))))):n.push(r.createElement(Ce._G,{key:"hidden-layer"},i))),n}}])&&Be(t.prototype,n),i&&Be(t,i),Object.defineProperty(t,"prototype",{writable:!1}),s}(r.Component);Xe(Ge,"defaultProps",Ie);var $e=function(e){var t=e.innerRef,n=(0,We.D)();return r.createElement(Ge,je({id:e.id||n,ref:t},e))};$e.defaultProps=Ie;const Ke=$e},9306:(e,t,n)=>{"use strict";n.d(t,{Z:()=>h});var r=n(30969),o=n(6846),i=n(55483);function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e,t){for(var n=0;n{"use strict";n.d(t,{Z:()=>u});var r=n(30969),o=n(6846),i=n(9306),a=n(14912),s=["children"];function l(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function c(e){var t=e.children,n=l(e,s);return r.createElement(i.Z,n,(function(e){return r.createElement(a.Z,e,t)}))}c.defaultProps={accessibilityType:o.SI.menu,ignoreBoundary:!1,overrides:{},onMouseEnterDelay:200,onMouseLeaveDelay:200,placement:o.r4.auto,showArrow:!1,triggerType:o.gu.click,dismissOnClickOutside:!0,dismissOnEsc:!0,stateReducer:function(e,t){return t},popoverMargin:o.AF};const u=c},19857:(e,t,n)=>{"use strict";n.d(t,{Eh:()=>d,N4:()=>p,Nh:()=>f,_G:()=>m,do:()=>b,mg:()=>c,uT:()=>u});var r=n(23482),o=n(6846),i=n(72829);function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function s(e){for(var t=1;t{"use strict";n.d(t,{G1:()=>h,PQ:()=>b,PR:()=>p,nr:()=>f,wL:()=>m});var r=n(6846);function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(l){s=!0,o=l}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"===typeof e)return s(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return s(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n0?n:r);return u(s)?e.top+="top"===s?l:-l:e.left+="left"===s?l:-l,"translate3d(".concat(e.left,"px, ").concat(e.top,"px, 0)")}function h(e){return"translate3d(".concat(e.left,"px, ").concat(e.top,"px, 0)")}function m(e,t){var n,o=a(d(t),1)[0],s=c(o);if(!s)return null;var l=u(o)?"left":"top";return i(n={},l,"".concat(e[l],"px")),i(n,s,"-".concat(r.YM-2,"px")),n}},81982:(e,t,n)=>{"use strict";n.d(t,{oL:()=>o,wD:()=>r});var r={select:"select",search:"search"},o=Object.freeze({select:"select",remove:"remove",clear:"clear"})},84172:(e,t,n)=>{"use strict";n.d(t,{Z:()=>sn});var r=n(30969),o=n(70692),i=n(85037),a=n(23482),s=n(46662),l=["title","size","color","overrides"];function c(){return c=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function p(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(l){s=!0,o=l}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"===typeof e)return d(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return d(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function d(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function O(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(l){s=!0,o=l}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"===typeof e)return y(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return y(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function y(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);ne.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function I(e,t){for(var n=0;n=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function Z(){return Z=Object.assign?Object.assign.bind():function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n0?i=n[0]:n instanceof Array||(i=n),Object.keys(i).length>0){var a=r.findIndex((function(e){return e&&e[o]===i[o]}));return-1===a?0:a}return 0})),e}return t=s,(n=[{key:"getSharedProps",value:function(){var e=this.props,t=e.error,n=e.isLoading,r=e.multi,o=e.required,i=e.size;return{$error:t,$isLoading:n,$multi:r,$required:o,$searchable:e.searchable,$size:i,$type:e.type,$width:e.width}}},{key:"render",value:function(){var e=this,t=this.props,n=t.maxDropdownHeight,i=t.multi,a=t.noResultsMsg,s=t.onItemSelect,l=t.options,c=void 0===l?[]:l,u=t.overrides,p=void 0===u?{}:u,d=t.size,b=J((0,o.jb)(p.DropdownContainer,x.Iu),2),f=b[0],h=b[1],m=J((0,o.jb)(p.DropdownListItem,x.mj),2),g=m[0],O=m[1],y=J((0,o.jb)(p.StatefulMenu,H.Z),2),M=y[0],z=y[1],A=z.overrides,v=void 0===A?{}:A,w=Y(z,G),S=this.getHighlightedIndex(),E=function(e){return e.reduce((function(e,t){return t.__optgroup?(e[t.__optgroup]||(e[t.__optgroup]=[]),e[t.__optgroup].push(t)):e.__ungrouped.push(t),e}),{__ungrouped:[]})}(c);return r.createElement(f,Z({"data-no-focus-lock":!0,ref:this.props.innerRef},this.getSharedProps(),h),r.createElement(M,Z({noResultsMsg:a,onActiveDescendantChange:function(t){e.props.onActiveDescendantChange&&e.props.onActiveDescendantChange(t)},onItemSelect:s,items:E,size:d,initialState:{isFocused:!0,highlightedIndex:S},typeAhead:!1,keyboardControlNode:this.props.keyboardControlNode,forceHighlight:!0,overrides:(0,o.aO)({List:{component:x.EI,style:function(e){return{maxHeight:e.$maxHeight||null}},props:{id:this.props.id?this.props.id:null,$maxHeight:n,"aria-multiselectable":i}},Option:{props:{getItemLabel:this.getItemLabel,onMouseDown:this.onMouseDown,overrides:{ListItem:{component:g,props:K(K({},O),{},{role:"option"}),style:O.$style}},renderHrefAsAnchor:!1}}},K({List:p.Dropdown||{},Option:p.DropdownOption||{}},v))},w)))}}])&&ee(t.prototype,n),i&&ee(t,i),Object.defineProperty(t,"prototype",{writable:!1}),s}(r.Component);function se(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function le(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function he(){return he=Object.assign?Object.assign.bind():function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);ne.length)&&(t=e.length);for(var n=0,r=new Array(t);ne.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function Jt(e){var t=e.overrides,n=void 0===t?{}:t,i=e.removeValue,a=Zt(e,Gt),s=Kt((0,o.jb)(n.Tag||n.MultiValue,Xt),2),l=s[0],c=s[1];return r.createElement(l,$t({variant:Ye.solid,overrides:{Root:{style:function(e){var t=e.$theme.sizing;return{marginRight:t.scale0,marginBottom:t.scale0,marginLeft:t.scale0,marginTop:t.scale0}}}},onActionClick:i},a,c),e.children)}var Qt=["overrides"];function en(){return en=Object.assign?Object.assign.bind():function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function on(e){var t=e.overrides,n=void 0===t?{}:t,i=rn(e,Qt),a=tn((0,o.jb)(n.SingleValue,x.gR),2),s=a[0],l=a[1];return r.createElement(s,en({},i,l),e.children)}function an(){return an=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";n.d(t,{Bc:()=>S,EI:()=>f,Fp:()=>g,Fy:()=>v,Gj:()=>M,Iu:()=>b,Jw:()=>y,TT:()=>T,aO:()=>w,du:()=>m,gR:()=>z,j5:()=>A,lq:()=>O,mj:()=>h,uf:()=>q});var r=n(23482),o=n(70209),i=n(81982),a=n(65278),s=n(34088),l=n(25015);function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function u(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:o.NO.default,n=arguments.length>1?arguments[1]:void 0;return(e={},p(e,o.NO.mini,n.font100),p(e,o.NO.compact,n.font200),p(e,o.NO.default,n.font300),p(e,o.NO.large,n.font400),e)[t]}var b=(0,r.zo)("div",(function(e){return{width:"".concat(String(e.$width),"px")}}));b.displayName="StyledDropdownContainer",b.displayName="StyledDropdownContainer";var f=a.CK,h=a.oH,m=(0,r.zo)("div",(function(e){var t=e.$isHighlighted,n=e.$selected,r=e.$disabled,o=e.$theme;return{cursor:r?"not-allowed":"pointer",color:n&&!t?o.colors.menuFontSelected:null,fontWeight:n?"bold":"normal"}}));m.displayName="StyledOptionContent",m.displayName="StyledOptionContent";var g=(0,r.zo)("div",(function(e){var t=e.$theme.typography;return u(u({},d(e.$size,t)),{},{boxSizing:"border-box",position:"relative",width:"100%"})}));g.displayName="StyledRoot",g.displayName="StyledRoot";var O=(0,r.zo)("div",(function(e){var t=e.$disabled,n=e.$error,r=e.$positive,a=e.$isFocused,s=e.$isPseudoFocused,l=e.$type,c=e.$searchable,p=e.$size,d=e.$theme,b=d.borders,f=d.colors,h=d.animation;return u(u({},function(e,t){var n=t.inputBorderRadius;return e===o.NO.mini&&(n=t.inputBorderRadiusMini),{borderTopLeftRadius:n,borderBottomLeftRadius:n,borderTopRightRadius:n,borderBottomRightRadius:n}}(p,b)),{},{boxSizing:"border-box",overflow:"hidden",width:"100%",display:"flex",justifyContent:"space-between",cursor:t?"not-allowed":c||l===i.wD.search?"text":"pointer",borderLeftWidth:"2px",borderRightWidth:"2px",borderTopWidth:"2px",borderBottomWidth:"2px",borderLeftStyle:"solid",borderRightStyle:"solid",borderTopStyle:"solid",borderBottomStyle:"solid",transitionProperty:"border, box-shadow, background-color",transitionDuration:h.timing200,transitionTimingFunction:h.easeOutCurve},function(e,t,n,r,o,i){return e?{color:i.inputTextDisabled,borderLeftColor:i.inputFillDisabled,borderRightColor:i.inputFillDisabled,borderTopColor:i.inputFillDisabled,borderBottomColor:i.inputFillDisabled,backgroundColor:i.inputFillDisabled}:t||n?{color:i.contentPrimary,borderLeftColor:i.borderSelected,borderRightColor:i.borderSelected,borderTopColor:i.borderSelected,borderBottomColor:i.borderSelected,backgroundColor:i.inputFillActive}:o?{color:i.contentPrimary,borderLeftColor:i.inputBorderError,borderRightColor:i.inputBorderError,borderTopColor:i.inputBorderError,borderBottomColor:i.inputBorderError,backgroundColor:i.inputFillError}:r?{color:i.contentPrimary,borderLeftColor:i.inputBorderPositive,borderRightColor:i.inputBorderPositive,borderTopColor:i.inputBorderPositive,borderBottomColor:i.inputBorderPositive,backgroundColor:i.inputFillPositive}:{color:i.contentPrimary,borderLeftColor:i.inputBorder,borderRightColor:i.inputBorder,borderTopColor:i.inputBorder,borderBottomColor:i.inputBorder,backgroundColor:i.inputFill}}(t,a,s,r,n,f))}));O.displayName="StyledControlContainer",O.displayName="StyledControlContainer";var y=(0,r.zo)("div",(function(e){var t=function(e){var t,n,r,a,s,l=e.$theme,c=e.$theme.sizing,u=e.$size,d=void 0===u?o.NO.default:u,b=e.$type,f=e.$multi,h=e.$isEmpty,m=b===i.wD.search?"calc(".concat(c.scale1000," - ").concat(c.scale0,")"):c.scale400,g="rtl"===l.direction?"paddingRight":"paddingLeft",O="rtl"===l.direction?"paddingLeft":"paddingRight";return(s={},p(s,o.NO.mini,(t={paddingTop:f&&!h?0:c.scale100,paddingBottom:f&&!h?0:c.scale100},p(t,g,f&&!h?"calc(".concat(m," - ").concat(c.scale0,")"):m),p(t,O,"0"),t)),p(s,o.NO.compact,(n={paddingTop:f&&!h?"calc(".concat(c.scale100," - ").concat(c.scale0,")"):c.scale200,paddingBottom:f&&!h?"calc(".concat(c.scale100," - ").concat(c.scale0,")"):c.scale200},p(n,g,f&&!h?"calc(".concat(m," - ").concat(c.scale0,")"):m),p(n,O,"0"),n)),p(s,o.NO.default,(r={paddingTop:f&&!h?"calc(".concat(c.scale400," - ").concat(c.scale0,")"):c.scale400,paddingBottom:f&&!h?"calc(".concat(c.scale400," - ").concat(c.scale0,")"):c.scale400},p(r,g,f&&!h?"calc(".concat(m," + ").concat(c.scale0,")"):m),p(r,O,0),r)),p(s,o.NO.large,(a={paddingTop:f&&!h?"calc(".concat(c.scale600," - ").concat(c.scale0,")"):c.scale550,paddingBottom:f&&!h?"calc(".concat(c.scale600," - ").concat(c.scale0,")"):c.scale550},p(a,g,f&&!h?"calc(".concat(m," - ").concat(c.scale0,")"):m),p(a,O,0),a)),s)[d]}(e);return u({boxSizing:"border-box",position:"relative",flexGrow:1,flexShrink:1,flexBasis:"0%",display:"flex",alignItems:"center",flexWrap:e.$multi?"wrap":"nowrap",overflow:"hidden"},t)}));y.displayName="StyledValueContainer",y.displayName="StyledValueContainer";var M=(0,r.zo)("div",(function(e){var t=e.$disabled,n=e.$theme.colors;return{color:t?n.inputPlaceholderDisabled:n.inputPlaceholder,maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}}));M.displayName="StyledPlaceholder",M.displayName="StyledPlaceholder";var z=(0,r.zo)("div",(function(e){var t,n=e.$searchable,r=e.$size,o=e.$theme,i=d(r,e.$theme.typography),a="rtl"===o.direction?"marginRight":"marginLeft";return u((p(t={lineHeight:n?"inherit":i.lineHeight,boxSizing:"border-box"},a,o.sizing.scale0),p(t,"height","100%"),p(t,"maxWidth","100%"),t),l.wj)}));z.displayName="StyledSingleValue",z.displayName="StyledSingleValue";var A=(0,r.zo)("div",(function(e){var t=e.$size,n=e.$searchable,r=e.$theme,o=r.typography,i=r.sizing,a=e.$isEmpty,s=d(t,o);return{position:"relative",display:"inline-block",maxWidth:"100%",backgroundColor:"transparent",borderLeftStyle:"none",borderTopStyle:"none",borderRightStyle:"none",borderBottomStyle:"none",boxShadow:"none",boxSizing:"border-box",outline:"none",marginTop:0,marginBottom:0,marginLeft:a?0:i.scale0,marginRight:0,paddingTop:0,paddingBottom:0,paddingLeft:0,paddingRight:0,height:String(n?"auto":s.lineHeight),maxHeight:String(s.lineHeight)}}));A.displayName="StyledInputContainer",A.displayName="StyledInputContainer";var v=(0,r.zo)("input",(function(e){var t=e.$theme,n=t.colors,r=t.typography,o=e.$size,i=e.$searchable,a=e.$width;return u(u({},d(o,r)),{},{color:n.contentPrimary,boxSizing:"content-box",width:i?a||"100%":"1px",maxWidth:"100%",background:"transparent",borderLeftStyle:"none",borderTopStyle:"none",borderRightStyle:"none",borderBottomStyle:"none",boxShadow:"none",display:"inline-block",outline:"none",marginTop:"0",marginBottom:"0",marginLeft:"0",marginRight:"0",paddingTop:"0",paddingBottom:"0",paddingLeft:"0",paddingRight:"0"})}));v.displayName="StyledInput",v.displayName="StyledInput";var w=(0,r.zo)("div",(function(e){var t,n=e.$size,r=e.$theme,o=e.$theme.typography,i="rtl"===r.direction?"right":"left";return u(u({},d(n,o)),{},(p(t={position:"absolute",top:0},i,0),p(t,"visibility","hidden"),p(t,"height",0),p(t,"overflow","scroll"),p(t,"whiteSpace","pre"),t))}));w.displayName="StyledInputSizer",w.displayName="StyledInputSizer";var S=(0,r.zo)("div",(function(e){var t=e.$theme,n=e.$theme.sizing;return p({boxSizing:"border-box",position:"relative",display:"flex",flexShrink:0,alignItems:"center",alignSelf:"stretch"},"rtl"===t.direction?"paddingLeft":"paddingRight",n.scale500)}));function x(e){var t=e.$theme;return{display:"inline-block",fill:"currentColor",color:"currentColor",height:t.sizing.scale600,width:t.sizing.scale600}}S.displayName="StyledIconsContainer",S.displayName="StyledIconsContainer";var E=(0,r.zo)("svg",(function(e){var t,n=e.$theme,r=e.$disabled,i=e.$size,a=n.colors,s=(p(t={},o.NO.mini,16),p(t,o.NO.compact,16),p(t,o.NO.default,20),p(t,o.NO.large,24),t),l=s[o.NO.default];return i&&(l=s[i]),u(u({},x({$theme:n})),{},{color:r?a.inputTextDisabled:a.contentPrimary,cursor:r?"not-allowed":"pointer",height:"".concat(l,"px"),width:"".concat(l,"px")})}));E.displayName="StyledSelectArrow",E.displayName="StyledSelectArrow";var k=(0,r.zo)("svg",(function(e){var t,n=e.$theme,r=e.$size,i=n.colors,a=(p(t={},o.NO.mini,15),p(t,o.NO.compact,15),p(t,o.NO.default,18),p(t,o.NO.large,22),t),s=a[o.NO.default];return r&&(s=a[r]),u(u({},x({$theme:n})),{},{color:i.contentPrimary,cursor:"pointer",height:"".concat(s,"px"),width:"".concat(s,"px")})}));k.displayName="StyledClearIcon",k.displayName="StyledClearIcon";var q=(0,r.w1)(s.Q,(function(e){var t=e.$theme;return{borderTopWidth:"2px",borderRightWidth:"2px",borderBottomWidth:"2px",borderLeftWidth:"2px",borderRightColor:t.colors.borderOpaque,borderBottomColor:t.colors.borderOpaque,borderLeftColor:t.colors.borderOpaque,width:"16px",height:"16px"}}));q.displayName="StyledLoadingIndicator",q.displayName="StyledLoadingIndicator";var T=(0,r.zo)("div",(function(e){var t,n=e.$disabled,r=e.$theme,o=r.colors,i=r.sizing,a="rtl"===r.direction?"right":"left";return u(u({},x(e)),{},(p(t={color:n?o.inputTextDisabled:o.contentPrimary,cursor:n?"not-allowed":"pointer",position:"absolute",top:0},a,i.scale500),p(t,"display","flex"),p(t,"alignItems","center"),p(t,"height","100%"),t))}));T.displayName="StyledSearchIconContainer",T.displayName="StyledSearchIconContainer"},40044:(e,t,n)=>{"use strict";function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function o(e){for(var t=1;tl});var a=function(e){return"undefined"!==typeof e&&null!==e&&""!==e},s={filterOption:null,ignoreCase:!0,labelKey:"label",matchPos:"any",matchProp:"any",trimFilter:!0,valueKey:"value"};const l=function(e,t,n,r){var i=o(o({},s),r);i.ignoreCase&&(t=t.toLowerCase()),i.trimFilter&&(t=t.trim());var l=(n||[]).reduce((function(e,t){return e.add(t[i.valueKey]),e}),new Set),c=new RegExp("".concat("start"===i.matchPos?"^":"").concat(t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")),i.ignoreCase?"i":"");return e.filter((function(e){if(l.has(e[i.valueKey]))return!1;if(i.filterOption)return i.filterOption.call(void 0,e,t);if(!t)return!0;var n=e[i.valueKey],r=e[i.labelKey],o=a(n),s=a(r);if(!o&&!s)return!1;var u=o?String(n):null,p=s?String(r):null;return u&&"label"!==i.matchProp&&c.test(u)||p&&"value"!==i.matchProp&&c.test(p)}))}},34088:(e,t,n)=>{"use strict";n.d(t,{Q:()=>a});var r=n(23482),o="medium",i={from:{transform:"rotate(0deg)"},to:{transform:"rotate(360deg)"}},a=(0,r.zo)("i",(function(e){var t=e.$theme,n=e.$color,r=void 0===n?t.colors.contentAccent:n,a=e.$borderWidth,s=e.$size,l=void 0===s?o:s,c={large:t.sizing.scale300,medium:t.sizing.scale100,small:t.sizing.scale0}[a||l],u={large:t.sizing.scale1000,medium:t.sizing.scale900,small:t.sizing.scale800}[l];return c||(c=t.sizing[a])||(c="".concat(parseInt(a),"px")),u||(u=t.sizing[l])||(u="".concat(parseInt(l),"px")),{display:"block",animationName:i,animationDuration:t.animation.timing1000,animationIterationCount:"infinite",animationTimingFunction:"linear",borderLeftStyle:"solid",borderRightStyle:"solid",borderTopStyle:"solid",borderBottomStyle:"solid",borderRadius:"50%",borderTopColor:r,borderRightColor:t.colors.backgroundTertiary,borderBottomColor:t.colors.backgroundTertiary,borderLeftColor:t.colors.backgroundTertiary,borderLeftWidth:c,borderRightWidth:c,borderTopWidth:c,borderBottomWidth:c,width:u,height:u,cursor:"wait"}}));a.displayName="StyledSpinner",a.displayName="StyledSpinner"},23482:(e,t,n)=>{"use strict";n.d(t,{Le:()=>M,Tp:()=>f,fj:()=>O,hQ:()=>y,o4:()=>m,w1:()=>g,zo:()=>h});var r=n(30969),o=n(25568),i=n(23034),a=n(961);function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n{"use strict";n.d(t,{N:()=>y,Z:()=>M});var r=n(30969),o=n(41015),i=n(69762),a=n(37123),s=n(32090),l=n(53112),c=n(72433),u=n(9696),p=n(77359),d=n(73028),b=n(60110),f=n(66410);function h(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function m(e){for(var t=1;t{"use strict";function r(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"1";e=e.replace(/^#?([a-f\d])([a-f\d])([a-f\d])$/i,(function(e,t,n,r){return t+t+n+n+r+r}));var n=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(e);return n?"rgba(".concat(parseInt(n[1],16),", ").concat(parseInt(n[2],16),", ").concat(parseInt(n[3],16),", ").concat(t,")"):null}n.d(t,{Qj:()=>i,oo:()=>r,wj:()=>o});var o={overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",wordWrap:"normal"};function i(e){return{borderTopWidth:e.borderWidth,borderTopStyle:e.borderStyle,borderTopColor:e.borderColor,borderBottomWidth:e.borderWidth,borderBottomStyle:e.borderStyle,borderBottomColor:e.borderColor,borderLeftWidth:e.borderWidth,borderLeftStyle:e.borderStyle,borderLeftColor:e.borderColor,borderRightWidth:e.borderWidth,borderRightStyle:e.borderStyle,borderRightColor:e.borderColor}}},14764:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});var r=n(91701);const o={primaryA:r.Z.gray200,primaryB:r.Z.gray900,primary:r.Z.white,primary50:r.Z.gray50,primary100:r.Z.gray100,primary200:r.Z.gray200,primary300:r.Z.gray300,primary400:r.Z.gray400,primary500:r.Z.gray500,primary600:r.Z.gray600,primary700:r.Z.gray700,accent:r.Z.blue400,accent50:r.Z.blue50,accent100:r.Z.blue100,accent200:r.Z.blue200,accent300:r.Z.blue300,accent400:r.Z.blue400,accent500:r.Z.blue500,accent600:r.Z.blue600,accent700:r.Z.blue700,negative:r.Z.red500,negative50:r.Z.red50,negative100:r.Z.red100,negative200:r.Z.red200,negative300:r.Z.red300,negative400:r.Z.red400,negative500:r.Z.red500,negative600:r.Z.red600,negative700:r.Z.red700,warning:r.Z.yellow500,warning50:r.Z.yellow50,warning100:r.Z.yellow100,warning200:r.Z.yellow200,warning300:r.Z.yellow300,warning400:r.Z.yellow400,warning500:r.Z.yellow500,warning600:r.Z.yellow600,warning700:r.Z.yellow700,positive:r.Z.green400,positive50:r.Z.green50,positive100:r.Z.green100,positive200:r.Z.green200,positive300:r.Z.green300,positive400:r.Z.green400,positive500:r.Z.green500,positive600:r.Z.green600,positive700:r.Z.green700,white:r.Z.white,black:r.Z.black,mono100:r.Z.gray300,mono200:r.Z.gray400,mono300:r.Z.gray500,mono400:r.Z.gray600,mono500:r.Z.gray700,mono600:"#292929",mono700:"#1F1F1F",mono800:"#141414",mono900:"#111111",mono1000:r.Z.black,ratingInactiveFill:r.Z.gray500,ratingStroke:r.Z.gray700};var i=n(72433);function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function s(e){for(var t=1;t{"use strict";n.d(t,{Z:()=>i});var r=n(41015),o="rgba(0, 0, 0, 0.08)";const i=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:r.Z;return{bannerActionLowInfo:e.accent100,bannerActionLowNegative:e.negative100,bannerActionLowPositive:e.positive100,bannerActionLowWarning:e.warning200,bannerActionHighInfo:e.accent500,bannerActionHighNegative:e.negative500,bannerActionHighPositive:e.positive500,bannerActionHighWarning:e.warning200,buttonPrimaryFill:e.primary,buttonPrimaryText:e.white,buttonPrimaryHover:e.primary700,buttonPrimaryActive:e.primary600,buttonPrimarySelectedFill:e.primary600,buttonPrimarySelectedText:e.white,buttonPrimarySpinnerForeground:e.accent,buttonPrimarySpinnerBackground:e.primaryB,buttonSecondaryFill:e.primary100,buttonSecondaryText:e.primary,buttonSecondaryHover:e.primary200,buttonSecondaryActive:e.primary300,buttonSecondarySelectedFill:e.primary300,buttonSecondarySelectedText:e.primary,buttonSecondarySpinnerForeground:e.accent,buttonSecondarySpinnerBackground:e.primaryB,buttonTertiaryFill:"transparent",buttonTertiaryText:e.primary,buttonTertiaryHover:e.primary50,buttonTertiaryActive:e.primary100,buttonTertiarySelectedFill:e.primary100,buttonTertiarySelectedText:e.primary,buttonTertiaryDisabledActiveFill:e.primary50,buttonTertiaryDisabledActiveText:e.mono600,buttonTertiarySpinnerForeground:e.accent,buttonTertiarySpinnerBackground:e.primary100,buttonDisabledFill:e.mono200,buttonDisabledText:e.mono600,buttonDisabledActiveFill:e.mono700,buttonDisabledActiveText:e.mono100,buttonDisabledSpinnerForeground:e.mono600,buttonDisabledSpinnerBackground:e.mono400,breadcrumbsText:e.black,breadcrumbsSeparatorFill:e.mono700,calendarBackground:e.mono100,calendarForeground:e.mono1000,calendarForegroundDisabled:e.mono500,calendarHeaderBackground:e.white,calendarHeaderForeground:e.primary,calendarHeaderBackgroundActive:e.primary700,calendarHeaderForegroundDisabled:e.primary500,calendarDayForegroundPseudoSelected:e.mono1000,calendarDayBackgroundPseudoSelectedHighlighted:e.primary200,calendarDayForegroundPseudoSelectedHighlighted:e.mono1000,calendarDayBackgroundSelected:e.primary,calendarDayForegroundSelected:e.white,calendarDayBackgroundSelectedHighlighted:e.primary,calendarDayForegroundSelectedHighlighted:e.white,comboboxListItemFocus:e.mono200,comboboxListItemHover:e.mono300,fileUploaderBackgroundColor:e.mono200,fileUploaderBackgroundColorActive:e.primary50,fileUploaderBorderColorActive:e.primary,fileUploaderBorderColorDefault:e.mono500,fileUploaderMessageColor:e.mono800,linkText:e.primary,linkVisited:e.primary700,linkHover:e.primary600,linkActive:e.primary500,listHeaderFill:e.white,listBodyFill:e.white,progressStepsCompletedText:e.white,progressStepsCompletedFill:e.primary,progressStepsActiveText:e.white,progressStepsActiveFill:e.primary,toggleFill:e.white,toggleFillChecked:e.primary,toggleFillDisabled:e.mono600,toggleTrackFill:e.mono400,toggleTrackFillDisabled:e.mono300,tickFill:e.mono100,tickFillHover:e.mono200,tickFillActive:e.mono300,tickFillSelected:e.primary,tickFillSelectedHover:e.primary700,tickFillSelectedHoverActive:e.primary600,tickFillError:e.negative50,tickFillErrorHover:e.negative100,tickFillErrorHoverActive:e.negative200,tickFillErrorSelected:e.negative400,tickFillErrorSelectedHover:e.negative500,tickFillErrorSelectedHoverActive:e.negative600,tickFillDisabled:e.mono600,tickBorder:e.mono700,tickBorderError:e.negative400,tickMarkFill:e.white,tickMarkFillError:e.white,tickMarkFillDisabled:e.mono100,sliderTrackFill:"transparent",sliderHandleFill:e.primaryA,sliderHandleFillDisabled:e.primary400,sliderHandleInnerFill:e.primaryA,sliderTrackFillHover:e.mono500,sliderTrackFillActive:e.mono600,sliderTrackFillDisabled:e.mono300,sliderHandleInnerFillDisabled:e.mono400,sliderHandleInnerFillSelectedHover:e.primary,sliderHandleInnerFillSelectedActive:e.primary500,inputBorder:e.mono300,inputFill:e.mono300,inputFillError:e.negative50,inputFillDisabled:e.mono200,inputFillActive:e.mono200,inputFillPositive:e.positive50,inputTextDisabled:e.mono600,inputBorderError:e.negative200,inputBorderPositive:e.positive200,inputEnhancerFill:e.mono300,inputEnhancerFillDisabled:e.mono300,inputEnhancerTextDisabled:e.mono600,inputPlaceholder:e.mono700,inputPlaceholderDisabled:e.mono600,menuFill:e.mono100,menuFillHover:e.mono200,menuFontDefault:e.mono800,menuFontDisabled:e.mono500,menuFontHighlighted:e.mono1000,menuFontSelected:e.mono1000,modalCloseColor:e.mono1000,modalCloseColorHover:e.mono800,modalCloseColorFocus:e.mono800,tabBarFill:e.mono200,tabColor:e.mono800,notificationInfoBackground:e.accent50,notificationInfoText:e.primaryA,notificationPositiveBackground:e.positive50,notificationPositiveText:e.primaryA,notificationWarningBackground:e.warning50,notificationWarningText:e.primaryA,notificationNegativeBackground:e.negative50,notificationNegativeText:e.primaryA,tagFontDisabledRampUnit:"100",tagSolidFontRampUnit:"0",tagSolidRampUnit:"400",tagOutlinedFontRampUnit:"400",tagOutlinedRampUnit:"200",tagSolidHoverRampUnit:"50",tagSolidActiveRampUnit:"100",tagSolidDisabledRampUnit:"50",tagSolidFontHoverRampUnit:"500",tagLightRampUnit:"50",tagLightHoverRampUnit:"100",tagLightActiveRampUnit:"100",tagLightFontRampUnit:"500",tagLightFontHoverRampUnit:"500",tagOutlinedHoverRampUnit:"50",tagOutlinedActiveRampUnit:"0",tagOutlinedFontHoverRampUnit:"400",tagNeutralFontDisabled:e.mono600,tagNeutralOutlinedDisabled:e.mono400,tagNeutralSolidFont:e.white,tagNeutralSolidBackground:e.black,tagNeutralOutlinedBackground:e.mono600,tagNeutralOutlinedFont:e.black,tagNeutralSolidHover:e.mono300,tagNeutralSolidActive:e.mono400,tagNeutralSolidDisabled:e.mono200,tagNeutralSolidFontHover:e.mono900,tagNeutralLightBackground:e.mono300,tagNeutralLightHover:e.mono300,tagNeutralLightActive:e.mono400,tagNeutralLightDisabled:e.mono200,tagNeutralLightFont:e.mono900,tagNeutralLightFontHover:e.mono900,tagNeutralOutlinedActive:e.mono900,tagNeutralOutlinedFontHover:e.mono800,tagNeutralOutlinedHover:o,tagPrimaryFontDisabled:e.primary400,tagPrimaryOutlinedDisabled:e.primary200,tagPrimarySolidFont:e.white,tagPrimarySolidBackground:e.primary,tagPrimaryOutlinedFontHover:e.primary,tagPrimaryOutlinedFont:e.primary,tagPrimarySolidHover:e.primary100,tagPrimarySolidActive:e.primary200,tagPrimarySolidDisabled:e.primary50,tagPrimarySolidFontHover:e.primary700,tagPrimaryLightBackground:e.primary50,tagPrimaryLightHover:e.primary100,tagPrimaryLightActive:e.primary100,tagPrimaryLightDisabled:e.primary50,tagPrimaryLightFont:e.primary500,tagPrimaryLightFontHover:e.primary500,tagPrimaryOutlinedActive:e.primary600,tagPrimaryOutlinedHover:o,tagPrimaryOutlinedBackground:e.primary400,tagAccentFontDisabled:e.accent200,tagAccentOutlinedDisabled:e.accent200,tagAccentSolidFont:e.white,tagAccentSolidBackground:e.accent400,tagAccentOutlinedBackground:e.accent200,tagAccentOutlinedFont:e.accent400,tagAccentSolidHover:e.accent50,tagAccentSolidActive:e.accent100,tagAccentSolidDisabled:e.accent50,tagAccentSolidFontHover:e.accent500,tagAccentLightBackground:e.accent50,tagAccentLightHover:e.accent100,tagAccentLightActive:e.accent100,tagAccentLightDisabled:e.accent50,tagAccentLightFont:e.accent500,tagAccentLightFontHover:e.accent500,tagAccentOutlinedActive:e.accent600,tagAccentOutlinedFontHover:e.accent400,tagAccentOutlinedHover:o,tagPositiveFontDisabled:e.positive200,tagPositiveOutlinedDisabled:e.positive200,tagPositiveSolidFont:e.white,tagPositiveSolidBackground:e.positive400,tagPositiveOutlinedBackground:e.positive200,tagPositiveOutlinedFont:e.positive400,tagPositiveSolidHover:e.positive50,tagPositiveSolidActive:e.positive100,tagPositiveSolidDisabled:e.positive50,tagPositiveSolidFontHover:e.positive500,tagPositiveLightBackground:e.positive50,tagPositiveLightHover:e.positive100,tagPositiveLightActive:e.positive100,tagPositiveLightDisabled:e.positive50,tagPositiveLightFont:e.positive500,tagPositiveLightFontHover:e.positive500,tagPositiveOutlinedActive:e.positive600,tagPositiveOutlinedFontHover:e.positive400,tagPositiveOutlinedHover:o,tagWarningFontDisabled:e.warning300,tagWarningOutlinedDisabled:e.warning300,tagWarningSolidFont:e.warning700,tagWarningSolidBackground:e.warning400,tagWarningOutlinedBackground:e.warning300,tagWarningOutlinedFont:e.warning600,tagWarningSolidHover:e.warning50,tagWarningSolidActive:e.warning100,tagWarningSolidDisabled:e.warning50,tagWarningSolidFontHover:e.warning500,tagWarningLightBackground:e.warning50,tagWarningLightHover:e.warning100,tagWarningLightActive:e.warning100,tagWarningLightDisabled:e.warning50,tagWarningLightFont:e.warning500,tagWarningLightFontHover:e.warning500,tagWarningOutlinedActive:e.warning600,tagWarningOutlinedFontHover:e.warning600,tagWarningOutlinedHover:o,tagNegativeFontDisabled:e.negative200,tagNegativeOutlinedDisabled:e.negative200,tagNegativeSolidFont:e.white,tagNegativeSolidBackground:e.negative400,tagNegativeOutlinedBackground:e.negative200,tagNegativeOutlinedFont:e.negative400,tagNegativeSolidHover:e.negative50,tagNegativeSolidActive:e.negative100,tagNegativeSolidDisabled:e.negative50,tagNegativeSolidFontHover:e.negative500,tagNegativeLightBackground:e.negative50,tagNegativeLightHover:e.negative100,tagNegativeLightActive:e.negative100,tagNegativeLightDisabled:e.negative50,tagNegativeLightFont:e.negative500,tagNegativeLightFontHover:e.negative500,tagNegativeOutlinedActive:e.negative600,tagNegativeOutlinedFontHover:e.negative400,tagNegativeOutlinedHover:o,tableHeadBackgroundColor:e.mono100,tableBackground:e.mono100,tableStripedBackground:e.mono200,tableFilter:e.mono600,tableFilterHeading:e.mono700,tableFilterBackground:e.mono100,tableFilterFooterBackground:e.mono200,toastText:e.white,toastPrimaryText:e.white,toastInfoBackground:e.accent400,toastInfoText:e.white,toastPositiveBackground:e.positive400,toastPositiveText:e.white,toastWarningBackground:e.warning400,toastWarningText:e.black,toastNegativeBackground:e.negative400,toastNegativeText:e.white,spinnerTrackFill:e.mono900,progressbarTrackFill:e.mono900,tooltipBackground:e.mono900,tooltipText:e.mono100}}},69762:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});var r=n(41015),o=n(25015),i=n(91701);function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function s(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:r.Z,t={backgroundPrimary:e.primaryB,backgroundSecondary:i.Z.gray50,backgroundTertiary:i.Z.gray100,backgroundInversePrimary:e.primaryA,backgroundInverseSecondary:i.Z.gray800,contentPrimary:e.primaryA,contentSecondary:i.Z.gray600,contentTertiary:i.Z.gray500,contentInversePrimary:e.primaryB,contentInverseSecondary:i.Z.gray300,contentInverseTertiary:i.Z.gray400,borderOpaque:i.Z.gray200,borderTransparent:(0,o.oo)(e.primaryA,"0.08"),borderSelected:e.primaryA,borderInverseOpaque:i.Z.gray700,borderInverseTransparent:(0,o.oo)(e.primaryB,"0.2"),borderInverseSelected:e.primaryB},n={backgroundStateDisabled:i.Z.gray50,backgroundOverlayDark:(0,o.oo)(i.Z.black,"0.3"),backgroundOverlayLight:(0,o.oo)(i.Z.black,"0.08"),backgroundOverlayArt:(0,o.oo)(i.Z.black,"0.00"),backgroundAccent:e.accent,backgroundNegative:e.negative,backgroundWarning:e.warning,backgroundPositive:i.Z.green400,backgroundLightAccent:i.Z.blue50,backgroundLightNegative:i.Z.red50,backgroundLightWarning:i.Z.yellow50,backgroundLightPositive:i.Z.green50,backgroundAlwaysDark:i.Z.black,backgroundAlwaysLight:i.Z.white,contentStateDisabled:i.Z.gray400,contentAccent:e.accent,contentOnColor:i.Z.white,contentOnColorInverse:i.Z.black,contentNegative:e.negative,contentWarning:i.Z.yellow600,contentPositive:i.Z.green400,borderStateDisabled:i.Z.gray50,borderAccent:i.Z.blue400,borderAccentLight:i.Z.blue200,borderNegative:i.Z.red200,borderWarning:i.Z.yellow200,borderPositive:i.Z.green200,safety:i.Z.blue400,eatsGreen400:i.Z.green400,freightBlue400:i.Z.cobalt400,jumpRed400:i.Z.red400,rewardsTier1:i.Z.blue400,rewardsTier2:i.Z.yellow400,rewardsTier3:i.Z.platinum400,rewardsTier4:i.Z.black,membership:i.Z.yellow600};return s(s({},t),n)}},41015:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(91701);const o={primaryA:r.Z.black,primaryB:r.Z.white,primary:r.Z.black,primary50:r.Z.gray50,primary100:r.Z.gray100,primary200:r.Z.gray200,primary300:r.Z.gray300,primary400:r.Z.gray400,primary500:r.Z.gray500,primary600:r.Z.gray600,primary700:r.Z.gray700,accent:r.Z.blue400,accent50:r.Z.blue50,accent100:r.Z.blue100,accent200:r.Z.blue200,accent300:r.Z.blue300,accent400:r.Z.blue400,accent500:r.Z.blue500,accent600:r.Z.blue600,accent700:r.Z.blue700,negative:r.Z.red400,negative50:r.Z.red50,negative100:r.Z.red100,negative200:r.Z.red200,negative300:r.Z.red300,negative400:r.Z.red400,negative500:r.Z.red500,negative600:r.Z.red600,negative700:r.Z.red700,warning:r.Z.yellow400,warning50:r.Z.yellow50,warning100:r.Z.yellow100,warning200:r.Z.yellow200,warning300:r.Z.yellow300,warning400:r.Z.yellow400,warning500:r.Z.yellow500,warning600:r.Z.yellow600,warning700:r.Z.yellow700,positive:r.Z.green500,positive50:r.Z.green50,positive100:r.Z.green100,positive200:r.Z.green200,positive300:r.Z.green300,positive400:r.Z.green400,positive500:r.Z.green500,positive600:r.Z.green600,positive700:r.Z.green700,white:r.Z.white,black:r.Z.black,mono100:r.Z.white,mono200:r.Z.gray50,mono300:r.Z.gray100,mono400:r.Z.gray200,mono500:r.Z.gray300,mono600:r.Z.gray400,mono700:r.Z.gray500,mono800:r.Z.gray600,mono900:r.Z.gray700,mono1000:r.Z.black,ratingInactiveFill:r.Z.gray100,ratingStroke:r.Z.gray300}},60658:(e,t,n)=>{"use strict";n.d(t,{Z:()=>M});var r=n(9696),o=n(32090),i=n(77359),a=n(1204),s=n(41015),l=n(37123),c=n(69762),u=n(72433),p=n(73028),d=n(53112),b=n(60110),f=n(66410),h=["primaryFontFamily"];function m(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function g(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function M(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0,n=e.primaryFontFamily,m=y(e,h),O=g(g({},s.Z),m),M={animation:r.Z,borders:o.Z,breakpoints:i.Z,colors:g(g(g({},O),(0,l.Z)(O)),(0,c.Z)(O)),direction:"auto",grid:p.Z,lighting:d.Z,mediaQuery:b.Z,sizing:f.Z,typography:n?(0,u.Z)({primaryFontFamily:n}):(0,u.Z)(),zIndex:{modal:2e3}};return(0,a.Z)(M,t)}},58424:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var r=n(41015),o=n(72433);function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function a(e){for(var t=1;t{"use strict";n.d(t,{Z:()=>r});const r={timing100:"100ms",timing200:"200ms",timing300:"300ms",timing400:"400ms",timing500:"500ms",timing600:"600ms",timing700:"700ms",timing800:"800ms",timing900:"900ms",timing1000:"1000ms",easeInCurve:"cubic-bezier(.8, .2, .6, 1)",easeOutCurve:"cubic-bezier(.2, .8, .4, 1)",easeInOutCurve:"cubic-bezier(0.4, 0, 0.2, 1)",easeInQuinticCurve:"cubic-bezier(0.755, 0.05, 0.855, 0.06)",easeOutQuinticCurve:"cubic-bezier(0.23, 1, 0.32, 1)",easeInOutQuinticCurve:"cubic-bezier(0.86, 0, 0.07, 1)",linearCurve:"cubic-bezier(0, 0, 1, 1)"}},32090:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r={border100:{borderColor:"hsla(0, 0%, 0%, 0.04)",borderStyle:"solid",borderWidth:"1px"},border200:{borderColor:"hsla(0, 0%, 0%, 0.08)",borderStyle:"solid",borderWidth:"1px"},border300:{borderColor:"hsla(0, 0%, 0%, 0.12)",borderStyle:"solid",borderWidth:"1px"},border400:{borderColor:"hsla(0, 0%, 0%, 0.16)",borderStyle:"solid",borderWidth:"1px"},border500:{borderColor:"hsla(0, 0%, 0%, 0.2)",borderStyle:"solid",borderWidth:"1px"},border600:{borderColor:"hsla(0, 0%, 0%, 0.24)",borderStyle:"solid",borderWidth:"1px"},radius100:"2px",radius200:"4px",radius300:"8px",radius400:"12px",radius500:"16px",useRoundedCorners:!0,buttonBorderRadiusMini:"4px",buttonBorderRadius:"8px",checkboxBorderRadius:"0px",inputBorderRadiusMini:"4px",inputBorderRadius:"8px",popoverBorderRadius:"8px",surfaceBorderRadius:"0px",tagBorderRadius:"24px"}},77359:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r={small:320,medium:600,large:1136}},73028:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r={columns:[4,8,12],gutters:[16,36,36],margins:[16,36,64],gaps:0,unit:"px",maxWidth:1280}},53112:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r={shadow400:"0 1px 4px hsla(0, 0%, 0%, 0.16)",shadow500:"0 2px 8px hsla(0, 0%, 0%, 0.16)",shadow600:"0 4px 16px hsla(0, 0%, 0%, 0.16)",shadow700:"0 8px 24px hsla(0, 0%, 0%, 0.16)",overlay0:"inset 0 0 0 1000px hsla(0, 0%, 0%, 0)",overlay100:"inset 0 0 0 1000px hsla(0, 0%, 0%, 0.04)",overlay200:"inset 0 0 0 1000px hsla(0, 0%, 0%, 0.08)",overlay300:"inset 0 0 0 1000px hsla(0, 0%, 0%, 0.12)",overlay400:"inset 0 0 0 1000px hsla(0, 0%, 0%, 0.16)",overlay500:"inset 0 0 0 1000px hsla(0, 0%, 0%, 0.2)",overlay600:"inset 0 0 0 1000px hsla(0, 0%, 0%, 0.24)",shallowAbove:"0px -4px 16px rgba(0, 0, 0, 0.12)",shallowBelow:"0px 4px 16px rgba(0, 0, 0, 0.12)",deepAbove:"0px -16px 48px rgba(0, 0, 0, 0.22)",deepBelow:"0px 16px 48px rgba(0, 0, 0, 0.22)"}},60110:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=function(e){return"@media screen and (min-width: ".concat(e,"px)")},o=n(77359);const i={small:r(o.Z.small),medium:r(o.Z.medium),large:r(o.Z.large)}},66410:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r={scale0:"2px",scale100:"4px",scale200:"6px",scale300:"8px",scale400:"10px",scale500:"12px",scale550:"14px",scale600:"16px",scale650:"18px",scale700:"20px",scale750:"22px",scale800:"24px",scale850:"28px",scale900:"32px",scale950:"36px",scale1000:"40px",scale1200:"48px",scale1400:"56px",scale1600:"64px",scale2400:"96px",scale3200:"128px",scale4800:"192px"}},72433:(e,t,n)=>{"use strict";function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function o(e){for(var t=1;ta,Z:()=>l});var a={primaryFontFamily:'system-ui, "Helvetica Neue", Helvetica, Arial, sans-serif'},s='"Lucida Console", Monaco, monospace';const l=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:a,t={fontFamily:e.primaryFontFamily,fontSize:"12px",fontWeight:"normal",lineHeight:"20px"},n={fontFamily:e.primaryFontFamily,fontSize:"12px",fontWeight:500,lineHeight:"16px"},r={fontFamily:e.primaryFontFamily,fontSize:"14px",fontWeight:"normal",lineHeight:"20px"},i={fontFamily:e.primaryFontFamily,fontSize:"14px",fontWeight:500,lineHeight:"16px"},l={fontFamily:e.primaryFontFamily,fontSize:"16px",fontWeight:"normal",lineHeight:"24px"},c={fontFamily:e.primaryFontFamily,fontSize:"16px",fontWeight:500,lineHeight:"20px"},u={fontFamily:e.primaryFontFamily,fontSize:"18px",fontWeight:"normal",lineHeight:"28px"},p={fontFamily:e.primaryFontFamily,fontSize:"18px",fontWeight:500,lineHeight:"24px"},d={fontFamily:e.primaryFontFamily,fontSize:"20px",fontWeight:700,lineHeight:"28px"},b={fontFamily:e.primaryFontFamily,fontSize:"24px",fontWeight:700,lineHeight:"32px"},f={fontFamily:e.primaryFontFamily,fontSize:"28px",fontWeight:700,lineHeight:"36px"},h={fontFamily:e.primaryFontFamily,fontSize:"32px",fontWeight:700,lineHeight:"40px"},m={fontFamily:e.primaryFontFamily,fontSize:"36px",fontWeight:700,lineHeight:"44px"},g={fontFamily:e.primaryFontFamily,fontSize:"40px",fontWeight:700,lineHeight:"52px"},O={fontFamily:e.primaryFontFamily,fontSize:"36px",fontWeight:700,lineHeight:"44px"},y={fontFamily:e.primaryFontFamily,fontSize:"44px",fontWeight:700,lineHeight:"52px"},M={fontFamily:e.primaryFontFamily,fontSize:"52px",fontWeight:700,lineHeight:"64px"},z={fontFamily:e.primaryFontFamily,fontSize:"96px",fontWeight:700,lineHeight:"112px"};return{font100:t,font150:n,font200:r,font250:i,font300:l,font350:c,font400:u,font450:p,font550:d,font650:b,font750:f,font850:h,font950:m,font1050:g,font1150:O,font1250:y,font1350:M,font1450:z,ParagraphXSmall:t,ParagraphSmall:r,ParagraphMedium:l,ParagraphLarge:u,LabelXSmall:n,LabelSmall:i,LabelMedium:c,LabelLarge:p,HeadingXSmall:d,HeadingSmall:b,HeadingMedium:f,HeadingLarge:h,HeadingXLarge:m,HeadingXXLarge:g,DisplayXSmall:O,DisplaySmall:y,DisplayMedium:M,DisplayLarge:z,MonoParagraphXSmall:o(o({},t),{},{fontFamily:s}),MonoParagraphSmall:o(o({},r),{},{fontFamily:s}),MonoParagraphMedium:o(o({},l),{},{fontFamily:s}),MonoParagraphLarge:o(o({},u),{},{fontFamily:s}),MonoLabelXSmall:o(o({},n),{},{fontFamily:s}),MonoLabelSmall:o(o({},i),{},{fontFamily:s}),MonoLabelMedium:o(o({},c),{},{fontFamily:s}),MonoLabelLarge:o(o({},p),{},{fontFamily:s}),MonoHeadingXSmall:o(o({},d),{},{fontFamily:s}),MonoHeadingSmall:o(o({},b),{},{fontFamily:s}),MonoHeadingMedium:o(o({},f),{},{fontFamily:s}),MonoHeadingLarge:o(o({},h),{},{fontFamily:s}),MonoHeadingXLarge:o(o({},m),{},{fontFamily:s}),MonoHeadingXXLarge:o(o({},g),{},{fontFamily:s}),MonoDisplayXSmall:o(o({},O),{},{fontFamily:s}),MonoDisplaySmall:o(o({},y),{},{fontFamily:s}),MonoDisplayMedium:o(o({},M),{},{fontFamily:s}),MonoDisplayLarge:o(o({},z),{},{fontFamily:s})}}},96696:(e,t,n)=>{"use strict";n.d(t,{TO:()=>r,r4:()=>i,wD:()=>o});var r=Object.freeze({info:"info",positive:"positive",warning:"warning",negative:"negative"}),o=Object.freeze({inline:"inline",toast:"toast"}),i=Object.freeze({topLeft:"topLeft",top:"top",topRight:"topRight",bottomRight:"bottomRight",bottom:"bottom",bottomLeft:"bottomLeft"})},88695:(e,t,n)=>{"use strict";n.d(t,{W_:()=>d,an:()=>f,fC:()=>p,uT:()=>b});var r=n(23482),o=n(55978),i=n(96696);function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function s(e){for(var t=1;t{"use strict";n.d(t,{Z:()=>z});var r=n(30969),o=n(70692),i=n(66993),a=n(88695),s=n(96696),l=n(32703),c=n(55483);function u(e){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},u(e)}function p(){return p=Object.assign?Object.assign.bind():function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n0&&void 0!==arguments[0]?arguments[0]:function(){};t.setState({isVisible:!1}),t.animateOutCompleteTimer=setTimeout((function(){t.setState({isRendered:!1}),e()}),600)})),y(g(t),"dismiss",(function(){t.animateOut(t.props.onClose),t.props.autoFocus&&t.previouslyFocusedElement&&t.previouslyFocusedElement.focus()})),y(g(t),"onFocus",(function(e){t.state.isVisible&&(clearTimeout(t.autoHideTimeout),clearTimeout(t.animateOutCompleteTimer),"function"===typeof t.props.onFocus&&t.props.onFocus(e))})),y(g(t),"onMouseEnter",(function(e){t.state.isVisible&&(clearTimeout(t.autoHideTimeout),clearTimeout(t.animateOutCompleteTimer),"function"===typeof t.props.onMouseEnter&&t.props.onMouseEnter(e))})),y(g(t),"onBlur",(function(e){t.startTimeout(),"function"===typeof t.props.onBlur&&t.props.onBlur(e)})),y(g(t),"onMouseLeave",(function(e){t.startTimeout(),"function"===typeof t.props.onMouseLeave&&t.props.onMouseLeave(e)})),t.closeRef=r.createRef(),t.previouslyFocusedElement=null,t}return t=b,n=[{key:"componentDidMount",value:function(){this.animateIn(),this.startTimeout(),"undefined"!==typeof document&&this.props.autoFocus&&this.closeRef&&this.closeRef.current&&this.closeRef.current.focus&&"function"===typeof this.closeRef.current.focus&&(this.previouslyFocusedElement=document.activeElement,this.closeRef.current.focus(),this.setState({isFocusVisible:!0}))}},{key:"componentDidUpdate",value:function(e){this.props.autoHideDuration===e.autoHideDuration&&this.props.__updated===e.__updated||this.startTimeout()}},{key:"componentWillUnmount",value:function(){this.clearTimeout()}},{key:"startTimeout",value:function(){this.props.autoHideDuration&&(this.autoHideTimeout&&clearTimeout(this.autoHideTimeout),this.autoHideTimeout=setTimeout(this.dismiss,this.props.autoHideDuration))}},{key:"clearTimeout",value:function(e){function t(){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}((function(){[this.autoHideTimeout,this.animateInTimer,this.animateOutCompleteTimer].forEach((function(e){e&&clearTimeout(e)}))}))},{key:"getSharedProps",value:function(){var e=this.props,t=e.kind,n=e.notificationType,r=e.closeable,o=this.state;return{$kind:t,$type:n,$closeable:r,$isRendered:o.isRendered,$isVisible:o.isVisible}}},{key:"render",value:function(){var e=this,t=this.props,n=t.children,s=t.closeable,u=this.state.isRendered,b=this.props.overrides,f=b.Body,h=b.CloseIcon,m=b.InnerContainer,g=d((0,o.jb)(f,a.uT),2),O=g[0],y=g[1],M=d((0,o.jb)(m,a.W_),2),z=M[0],A=M[1],v=d((0,o.jb)(h,a.an),2),w=v[0],S=v[1],x=(0,o.aO)({Svg:{component:w}},{Svg:h}),E=this.getSharedProps();return u?r.createElement(l.R.Consumer,null,(function(t){return r.createElement(O,p({role:"alert","data-baseweb":e.props["data-baseweb"]||"toast"},E,y,{onBlur:e.onBlur,onFocus:e.onFocus,onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave}),r.createElement(z,p({},E,A),"function"===typeof n?n({dismiss:e.dismiss}):n),s?r.createElement(i.Z,p({ref:e.closeRef,role:"button",tabIndex:0,$isFocusVisible:e.state.isFocusVisible,onClick:e.dismiss,onKeyPress:function(t){"Enter"===t.key&&e.dismiss()},title:t.toast.close},E,S,{onFocus:(0,c.Ah)(S,e.handleFocus),onBlur:(0,c.Z5)(S,e.handleBlur),overrides:x})):null)})):null}}],n&&f(t.prototype,n),s&&f(t,s),Object.defineProperty(t,"prototype",{writable:!1}),b}(r.Component);y(M,"defaultProps",{autoFocus:!1,autoHideDuration:0,closeable:!0,kind:s.TO.info,notificationType:s.wD.toast,onClose:function(){},onBlur:function(){},onFocus:function(){},onMouseEnter:function(){},onMouseLeave:function(){},overrides:{}});const z=M},79404:(e,t,n)=>{"use strict";n.d(t,{Z:()=>E,w:()=>x});var r=n(30969),o=n(15749),i=n(70692),a=n(96696),s=n(88695),l=n(3147);function c(e){return c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},c(e)}var u,p=["onClose","children","key"];function d(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(l){s=!0,o=l}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}(e,t)||m(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function b(){return b=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function h(e){return function(e){if(Array.isArray(e))return g(e)}(e)||function(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||m(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function m(e,t){if(e){if("string"===typeof e)return g(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?g(e,t):void 0}}function g(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n0&&void 0!==arguments[0]?arguments[0]:{};if(t.state.toasts.map((function(e){return e.key})).includes(e.key))return t.update(e.key,e),e.key;var n=t.getToastProps(e);return t.setState((function(e){var t=e.toasts;return{toasts:[].concat(h(t),[n])}})),n.key})),S(v(t),"update",(function(e,n){t.setState((function(r){return{toasts:r.toasts.map((function(r){return r.key===e?y(y(y({},r),t.getToastProps(y({autoHideDuration:r.autoHideDuration},n))),{},{key:e},t.props.resetAutoHideTimerOnUpdate?{__updated:(+r.__updated||0)+1}:{}):r}))}}))})),S(v(t),"dismiss",(function(e){t.dismissHandlers[e]&&t.dismissHandlers[e]()})),S(v(t),"clearAll",(function(){Object.keys(t.dismissHandlers).forEach((function(e){t.dismissHandlers[e]()}))})),S(v(t),"clear",(function(e){void 0===e?t.clearAll():t.dismiss(e)})),S(v(t),"internalOnClose",(function(e){delete t.dismissHandlers[e],t.setState((function(t){return{toasts:t.toasts.filter((function(t){return!(t.key===e)}))}}))})),S(v(t),"getOnCloseHandler",(function(e,n){return function(){t.internalOnClose(e),"function"===typeof n&&n()}})),S(v(t),"renderToast",(function(e){var n=e.onClose,o=e.children,a=e.key,c=f(e,p),u=t.props.overrides,d=u.ToastBody,h=u.ToastCloseIcon,m=u.ToastInnerContainer,g=(0,i.aO)({Body:s.uT,CloseIcon:s.an,InnerContainer:s.W_},{Body:d||{},CloseIcon:h||{},InnerContainer:m||{}}),O=(0,i.aO)(g,e.overrides);return r.createElement(l.Z,b({},c,{overrides:O,key:a,onClose:t.getOnCloseHandler(a,n)}),(function(e){var n=e.dismiss;return t.dismissHandlers[a]=n,o}))})),S(v(t),"getSharedProps",(function(){return{$placement:t.props.placement}})),u=v(t),t}return t=m,(n=[{key:"componentDidMount",value:function(){this.setState({isMounted:!0})}},{key:"render",value:function(){for(var e=this.getSharedProps(),t=this.props.overrides.Root,n=d((0,i.jb)(t,s.fC),2),a=n[0],l=n[1],c=[],u=this.state.toasts.length-1;u>=0;u--)c.push(this.renderToast(this.state.toasts[u]));var p=r.createElement(a,b({"data-baseweb":"toaster"},e,l),c);return this.state.isMounted?r.createElement(r.Fragment,null,this.props.usePortal&&"undefined"!==typeof document&&document.body?o.createPortal(p,document.body):p,this.props.children):r.createElement(r.Fragment,null,this.props.children)}}])&&M(t.prototype,n),a&&M(t,a),Object.defineProperty(t,"prototype",{writable:!1}),m}(r.Component);S(x,"defaultProps",{autoFocus:!1,autoHideDuration:0,children:null,closeable:!0,overrides:{},placement:a.r4.top,resetAutoHideTimerOnUpdate:!0,usePortal:!0});const E={getRef:function(){return u},show:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=this.getRef();if(n)return n.show(y(y({},t),{},{children:e}))},info:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.show(e,y(y({},t),{},{kind:a.TO.info}))},positive:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.show(e,y(y({},t),{},{kind:a.TO.positive}))},warning:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.show(e,y(y({},t),{},{kind:a.TO.warning}))},negative:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.show(e,y(y({},t),{},{kind:a.TO.negative}))},update:function(e,t){var n=this.getRef();n&&n.update(e,t)},clear:function(e){var t=this.getRef();t&&t.clear(e)}}},91701:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r={white:"#FFFFFF",gray50:"#F6F6F6",gray100:"#EEEEEE",gray200:"#E2E2E2",gray300:"#CBCBCB",gray400:"#AFAFAF",gray500:"#6B6B6B",gray600:"#545454",gray700:"#333333",gray800:"#1F1F1F",gray900:"#141414",black:"#000000",platinum50:"#F4FAFB",platinum100:"#EBF5F7",platinum200:"#CCDFE5",platinum300:"#A1BDCA",platinum400:"#8EA3AD",platinum500:"#6C7C83",platinum600:"#556268",platinum700:"#394145",platinum800:"#142328",red50:"#FFEFED",red100:"#FED7D2",red200:"#F1998E",red300:"#E85C4A",red400:"#E11900",red500:"#AB1300",red600:"#870F00",red700:"#5A0A00",orange50:"#FFF3EF",orange100:"#FFE1D6",orange200:"#FABDA5",orange300:"#FA9269",orange400:"#FF6937",orange500:"#C14F29",orange600:"#9A3F21",orange700:"#672A16",yellow50:"#FFFAF0",yellow100:"#FFF2D9",yellow200:"#FFE3AC",yellow300:"#FFCF70",yellow400:"#FFC043",yellow500:"#BC8B2C",yellow600:"#996F00",yellow700:"#674D1B",lime50:"#F2F7ED",lime100:"#E0ECD2",lime200:"#BCD69D",lime300:"#8BB956",lime400:"#67A421",lime500:"#4E7C19",lime600:"#3D6213",lime700:"#29410d",green50:"#E6F2ED",green100:"#ADDEC9",green200:"#66D19E",green300:"#06C167",green400:"#048848",green500:"#03703C",green600:"#03582F",green700:"#10462D",teal50:"#EDF5F7",teal100:"#D2E8EC",teal200:"#9DCDD6",teal300:"#56A9B9",teal400:"#218EA4",teal500:"#196B7C",teal600:"#135562",teal700:"#0D3841",blue50:"#EFF3FE",blue100:"#D4E2FC",blue200:"#A0BFF8",blue300:"#5B91F5",blue400:"#276EF1",blue500:"#1E54B7",blue600:"#174291",blue700:"#102C60",cobalt50:"#EBEDFA",cobalt100:"#D2D7F0",cobalt200:"#949CE3",cobalt300:"#535FCF",cobalt400:"#0E1FC1",cobalt500:"#0A1899",cobalt600:"#081270",cobalt700:"#050C4D",purple50:"#F3F1F9",purple100:"#E3DDF2",purple200:"#C1B4E2",purple300:"#957FCE",purple400:"#7356BF",purple500:"#574191",purple600:"#453473",purple700:"#2E224C",magenta50:"#F9F1F7",magenta100:"#F2DDEB",magenta200:"#E2B4D3",magenta300:"#CE7EB3",magenta400:"#BF569C",magenta500:"#914176",magenta600:"#72335D",magenta700:"#4C223E",brown50:"#F6F0EA",brown100:"#EBE0DB",brown200:"#D2BBB0",brown300:"#B18977",brown400:"#99644C",brown500:"#744C3A",brown600:"#5C3C2E",brown700:"#3D281E"}},1204:(e,t,n)=>{"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function o(e){e=e||{};for(var t,n,a=arguments.length<=1?0:arguments.length-1,s=0;so})},55483:(e,t,n)=>{"use strict";n.d(t,{Ah:()=>d,E:()=>u,L:()=>p,Z5:()=>b});var r=!1,o=!0,i=!1,a={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function s(e){e.metaKey||e.altKey||e.ctrlKey||(o=!0)}function l(){o=!1}function c(){"hidden"===this.visibilityState&&i&&(o=!0)}function u(e){try{return e.target.matches(":focus-visible")}catch(t){}return o||function(e){var t=e.type,n=e.tagName;return!("INPUT"!==n||!a[t]||e.readOnly)||"TEXTAREA"===n&&!e.readOnly||!!e.isContentEditable}(e.target)}function p(e){var t;r||null==e||(r=!0,(t=e.ownerDocument).addEventListener("keydown",s,!0),t.addEventListener("mousedown",l,!0),t.addEventListener("pointerdown",l,!0),t.addEventListener("touchstart",l,!0),t.addEventListener("visibilitychange",c,!0))}var d=function(e,t){return function(n){"function"===typeof e.onFocus&&e.onFocus(n),t(n)}},b=function(e,t){return function(n){"function"===typeof e.onBlur&&e.onBlur(n),t(n)}}},26303:function(e){var t;t=function(){return function(){var e={686:function(e,t,n){"use strict";n.d(t,{default:function(){return A}});var r=n(279),o=n.n(r),i=n(370),a=n.n(i),s=n(817),l=n.n(s);function c(e){try{return document.execCommand(e)}catch(t){return!1}}var u=function(e){var t=l()(e);return c("cut"),t},p=function(e,t){var n=function(e){var t="rtl"===document.documentElement.getAttribute("dir"),n=document.createElement("textarea");n.style.fontSize="12pt",n.style.border="0",n.style.padding="0",n.style.margin="0",n.style.position="absolute",n.style[t?"right":"left"]="-9999px";var r=window.pageYOffset||document.documentElement.scrollTop;return n.style.top="".concat(r,"px"),n.setAttribute("readonly",""),n.value=e,n}(e);t.container.appendChild(n);var r=l()(n);return c("copy"),n.remove(),r},d=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{container:document.body},n="";return"string"===typeof e?n=p(e,t):e instanceof HTMLInputElement&&!["text","search","url","tel","password"].includes(null===e||void 0===e?void 0:e.type)?n=p(e.value,t):(n=l()(e),c("copy")),n};function b(e){return b="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},b(e)}var f=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.action,n=void 0===t?"copy":t,r=e.container,o=e.target,i=e.text;if("copy"!==n&&"cut"!==n)throw new Error('Invalid "action" value, use either "copy" or "cut"');if(void 0!==o){if(!o||"object"!==b(o)||1!==o.nodeType)throw new Error('Invalid "target" value, use a valid Element');if("copy"===n&&o.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if("cut"===n&&(o.hasAttribute("readonly")||o.hasAttribute("disabled")))throw new Error('Invalid "target" attribute. You can\'t cut text from elements with "readonly" or "disabled" attributes')}return i?d(i,{container:r}):o?"cut"===n?u(o):d(o,{container:r}):void 0};function h(e){return h="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},h(e)}function m(e,t){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:{};this.action="function"===typeof e.action?e.action:this.defaultAction,this.target="function"===typeof e.target?e.target:this.defaultTarget,this.text="function"===typeof e.text?e.text:this.defaultText,this.container="object"===h(e.container)?e.container:document.body}},{key:"listenClick",value:function(e){var t=this;this.listener=a()(e,"click",(function(e){return t.onClick(e)}))}},{key:"onClick",value:function(e){var t=e.delegateTarget||e.currentTarget,n=this.action(t)||"copy",r=f({action:n,container:this.container,target:this.target(t),text:this.text(t)});this.emit(r?"success":"error",{action:n,text:r,trigger:t,clearSelection:function(){t&&t.focus(),window.getSelection().removeAllRanges()}})}},{key:"defaultAction",value:function(e){return M("action",e)}},{key:"defaultTarget",value:function(e){var t=M("target",e);if(t)return document.querySelector(t)}},{key:"defaultText",value:function(e){return M("text",e)}},{key:"destroy",value:function(){this.listener.destroy()}}],r=[{key:"copy",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{container:document.body};return d(e,t)}},{key:"cut",value:function(e){return u(e)}},{key:"isSupported",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["copy","cut"],t="string"===typeof e?[e]:e,n=!!document.queryCommandSupported;return t.forEach((function(e){n=n&&!!document.queryCommandSupported(e)})),n}}],n&&m(t.prototype,n),r&&m(t,r),i}(o()),A=z},828:function(e){if("undefined"!==typeof Element&&!Element.prototype.matches){var t=Element.prototype;t.matches=t.matchesSelector||t.mozMatchesSelector||t.msMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector}e.exports=function(e,t){for(;e&&9!==e.nodeType;){if("function"===typeof e.matches&&e.matches(t))return e;e=e.parentNode}}},438:function(e,t,n){var r=n(828);function o(e,t,n,r,o){var a=i.apply(this,arguments);return e.addEventListener(n,a,o),{destroy:function(){e.removeEventListener(n,a,o)}}}function i(e,t,n,o){return function(n){n.delegateTarget=r(n.target,t),n.delegateTarget&&o.call(e,n)}}e.exports=function(e,t,n,r,i){return"function"===typeof e.addEventListener?o.apply(null,arguments):"function"===typeof n?o.bind(null,document).apply(null,arguments):("string"===typeof e&&(e=document.querySelectorAll(e)),Array.prototype.map.call(e,(function(e){return o(e,t,n,r,i)})))}},879:function(e,t){t.node=function(e){return void 0!==e&&e instanceof HTMLElement&&1===e.nodeType},t.nodeList=function(e){var n=Object.prototype.toString.call(e);return void 0!==e&&("[object NodeList]"===n||"[object HTMLCollection]"===n)&&"length"in e&&(0===e.length||t.node(e[0]))},t.string=function(e){return"string"===typeof e||e instanceof String},t.fn=function(e){return"[object Function]"===Object.prototype.toString.call(e)}},370:function(e,t,n){var r=n(879),o=n(438);e.exports=function(e,t,n){if(!e&&!t&&!n)throw new Error("Missing required arguments");if(!r.string(t))throw new TypeError("Second argument must be a String");if(!r.fn(n))throw new TypeError("Third argument must be a Function");if(r.node(e))return function(e,t,n){return e.addEventListener(t,n),{destroy:function(){e.removeEventListener(t,n)}}}(e,t,n);if(r.nodeList(e))return function(e,t,n){return Array.prototype.forEach.call(e,(function(e){e.addEventListener(t,n)})),{destroy:function(){Array.prototype.forEach.call(e,(function(e){e.removeEventListener(t,n)}))}}}(e,t,n);if(r.string(e))return function(e,t,n){return o(document.body,e,t,n)}(e,t,n);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList")}},817:function(e){e.exports=function(e){var t;if("SELECT"===e.nodeName)e.focus(),t=e.value;else if("INPUT"===e.nodeName||"TEXTAREA"===e.nodeName){var n=e.hasAttribute("readonly");n||e.setAttribute("readonly",""),e.select(),e.setSelectionRange(0,e.value.length),n||e.removeAttribute("readonly"),t=e.value}else{e.hasAttribute("contenteditable")&&e.focus();var r=window.getSelection(),o=document.createRange();o.selectNodeContents(e),r.removeAllRanges(),r.addRange(o),t=r.toString()}return t}},279:function(e){function t(){}t.prototype={on:function(e,t,n){var r=this.e||(this.e={});return(r[e]||(r[e]=[])).push({fn:t,ctx:n}),this},once:function(e,t,n){var r=this;function o(){r.off(e,o),t.apply(n,arguments)}return o._=t,this.on(e,o,n)},emit:function(e){for(var t=[].slice.call(arguments,1),n=((this.e||(this.e={}))[e]||[]).slice(),r=0,o=n.length;r{"use strict";function r(e,t,n){return Math.min(Math.max(e,n),t)}n.d(t,{$n:()=>v,CD:()=>A,DZ:()=>w,H3:()=>M,NC:()=>x,XV:()=>S,_j:()=>y,dF:()=>a});class o extends Error{constructor(e){super(`Failed to parse color: "${e}"`)}}var i=o;function a(e){if("string"!==typeof e)throw new i(e);if("transparent"===e.trim().toLowerCase())return[0,0,0,0];let t=e.trim();t=f.test(e)?function(e){const t=e.toLowerCase().trim(),n=l[function(e){let t=5381,n=e.length;for(;n;)t=33*t^e.charCodeAt(--n);return(t>>>0)%2341}(t)];if(!n)throw new i(e);return`#${n}`}(e):e;const n=u.exec(t);if(n){const e=Array.from(n).slice(1);return[...e.slice(0,3).map((e=>parseInt(c(e,2),16))),parseInt(c(e[3]||"f",2),16)/255]}const o=p.exec(t);if(o){const e=Array.from(o).slice(1);return[...e.slice(0,3).map((e=>parseInt(e,16))),parseInt(e[3]||"ff",16)/255]}const a=d.exec(t);if(a){const e=Array.from(a).slice(1);return[...e.slice(0,3).map((e=>parseInt(e,10))),parseFloat(e[3]||"1")]}const s=b.exec(t);if(s){const[t,n,o,a]=Array.from(s).slice(1).map(parseFloat);if(r(0,100,n)!==n)throw new i(e);if(r(0,100,o)!==o)throw new i(e);return[...m(t,n,o),Number.isNaN(a)?1:a]}throw new i(e)}const s=e=>parseInt(e.replace(/_/g,""),36),l="1q29ehhb 1n09sgk7 1kl1ekf_ _yl4zsno 16z9eiv3 1p29lhp8 _bd9zg04 17u0____ _iw9zhe5 _to73___ _r45e31e _7l6g016 _jh8ouiv _zn3qba8 1jy4zshs 11u87k0u 1ro9yvyo 1aj3xael 1gz9zjz0 _3w8l4xo 1bf1ekf_ _ke3v___ _4rrkb__ 13j776yz _646mbhl _nrjr4__ _le6mbhl 1n37ehkb _m75f91n _qj3bzfz 1939yygw 11i5z6x8 _1k5f8xs 1509441m 15t5lwgf _ae2th1n _tg1ugcv 1lp1ugcv 16e14up_ _h55rw7n _ny9yavn _7a11xb_ 1ih442g9 _pv442g9 1mv16xof 14e6y7tu 1oo9zkds 17d1cisi _4v9y70f _y98m8kc 1019pq0v 12o9zda8 _348j4f4 1et50i2o _8epa8__ _ts6senj 1o350i2o 1mi9eiuo 1259yrp0 1ln80gnw _632xcoy 1cn9zldc _f29edu4 1n490c8q _9f9ziet 1b94vk74 _m49zkct 1kz6s73a 1eu9dtog _q58s1rz 1dy9sjiq __u89jo3 _aj5nkwg _ld89jo3 13h9z6wx _qa9z2ii _l119xgq _bs5arju 1hj4nwk9 1qt4nwk9 1ge6wau6 14j9zlcw 11p1edc_ _ms1zcxe _439shk6 _jt9y70f _754zsow 1la40eju _oq5p___ _x279qkz 1fa5r3rv _yd2d9ip _424tcku _8y1di2_ _zi2uabw _yy7rn9h 12yz980_ __39ljp6 1b59zg0x _n39zfzp 1fy9zest _b33k___ _hp9wq92 1il50hz4 _io472ub _lj9z3eo 19z9ykg0 _8t8iu3a 12b9bl4a 1ak5yw0o _896v4ku _tb8k8lv _s59zi6t _c09ze0p 1lg80oqn 1id9z8wb _238nba5 1kq6wgdi _154zssg _tn3zk49 _da9y6tc 1sg7cv4f _r12jvtt 1gq5fmkz 1cs9rvci _lp9jn1c _xw1tdnb 13f9zje6 16f6973h _vo7ir40 _bt5arjf _rc45e4t _hr4e100 10v4e100 _hc9zke2 _w91egv_ _sj2r1kk 13c87yx8 _vqpds__ _ni8ggk8 _tj9yqfb 1ia2j4r4 _7x9b10u 1fc9ld4j 1eq9zldr _5j9lhpx _ez9zl6o _md61fzm".split(" ").reduce(((e,t)=>{const n=s(t.substring(0,3)),r=s(t.substring(3)).toString(16);let o="";for(let i=0;i<6-r.length;i++)o+="0";return e[n]=`${o}${r}`,e}),{});const c=(e,t)=>Array.from(Array(t)).map((()=>e)).join(""),u=new RegExp(`^#${c("([a-f0-9])",3)}([a-f0-9])?$`,"i"),p=new RegExp(`^#${c("([a-f0-9]{2})",3)}([a-f0-9]{2})?$`,"i"),d=new RegExp(`^rgba?\\(\\s*(\\d+)\\s*${c(",\\s*(\\d+)\\s*",2)}(?:,\\s*([\\d.]+))?\\s*\\)$`,"i"),b=/^hsla?\(\s*([\d.]+)\s*,\s*([\d.]+)%\s*,\s*([\d.]+)%(?:\s*,\s*([\d.]+))?\s*\)$/i,f=/^[a-z]+$/i,h=e=>Math.round(255*e),m=(e,t,n)=>{let r=n/100;if(0===t)return[r,r,r].map(h);const o=(e%360+360)%360/60,i=(1-Math.abs(2*r-1))*(t/100),a=i*(1-Math.abs(o%2-1));let s=0,l=0,c=0;o>=0&&o<1?(s=i,l=a):o>=1&&o<2?(s=a,l=i):o>=2&&o<3?(l=i,c=a):o>=3&&o<4?(l=a,c=i):o>=4&&o<5?(s=a,c=i):o>=5&&o<6&&(s=i,c=a);const u=r-i/2;return[s+u,l+u,c+u].map(h)};function g(e){const[t,n,r,o]=a(e).map(((e,t)=>3===t?e:e/255)),i=Math.max(t,n,r),s=Math.min(t,n,r),l=(i+s)/2;if(i===s)return[0,0,l,o];const c=i-s;return[60*(t===i?(n-r)/c+(n.5?c/(2-i-s):c/(i+s),l,o]}function O(e,t,n,o){return`hsla(${(e%360).toFixed()}, ${r(0,100,100*t).toFixed()}%, ${r(0,100,100*n).toFixed()}%, ${parseFloat(r(0,1,o).toFixed(3))})`}function y(e,t){const[n,r,o,i]=g(e);return O(n,r,o-t,i)}function M(e){if("transparent"===e)return 0;function t(e){const t=e/255;return t<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}const[n,r,o]=a(e);return.2126*t(n)+.7152*t(r)+.0722*t(o)}function z(e,t,n,o){return`rgba(${r(0,255,e).toFixed()}, ${r(0,255,t).toFixed()}, ${r(0,255,n).toFixed()}, ${parseFloat(r(0,1,o).toFixed(3))})`}function A(e,t,n){const r=(e,t)=>3===t?e:e/255,[o,i,s,l]=a(e).map(r),[c,u,p,d]=a(t).map(r),b=d-l,f=2*n-1,h=((f*b===-1?f:f+b/(1+f*b))+1)/2,m=1-h;return z(255*(o*m+c*h),255*(i*m+u*h),255*(s*m+p*h),d*n+l*(1-n))}function v(e,t){return y(e,-t)}function w(e,t){const[n,r,o,i]=a(e);return z(n,r,o,i-t)}function S(e){return function(e){return M(e)>.179}(e)?"#000":"#fff"}function x(e){const[t,n,o,i]=a(e);let s=e=>{const t=r(0,255,e).toString(16);return 1===t.length?`0${t}`:t};return`#${s(t)}${s(n)}${s(o)}${i<1?s(Math.round(255*i)):""}`}},33680:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,i.default)(e)};var r,o=n(78134),i=(r=o)&&r.__esModule?r:{default:r};e.exports=t.default},77891:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return"string"===typeof e&&n.test(e)};var n=/-webkit-|-moz-|-ms-/;e.exports=t.default},29838:(e,t,n)=>{t.UINT32=n(78647),t.UINT64=n(60925)},78647:function(e,t){var n;!function(r){o(Math.pow(36,5)),o(Math.pow(16,7)),o(Math.pow(10,9)),o(Math.pow(2,30)),o(36),o(16),o(10),o(2);function o(e,t){return this instanceof o?(this._low=0,this._high=0,this.remainder=null,"undefined"==typeof t?a.call(this,e):"string"==typeof e?s.call(this,e,t):void i.call(this,e,t)):new o(e,t)}function i(e,t){return this._low=0|e,this._high=0|t,this}function a(e){return this._low=65535&e,this._high=e>>>16,this}function s(e,t){var n=parseInt(e,t||10);return this._low=65535&n,this._high=n>>>16,this}o.prototype.fromBits=i,o.prototype.fromNumber=a,o.prototype.fromString=s,o.prototype.toNumber=function(){return 65536*this._high+this._low},o.prototype.toString=function(e){return this.toNumber().toString(e||10)},o.prototype.add=function(e){var t=this._low+e._low,n=t>>>16;return n+=this._high+e._high,this._low=65535&t,this._high=65535&n,this},o.prototype.subtract=function(e){return this.add(e.clone().negate())},o.prototype.multiply=function(e){var t,n,r=this._high,o=this._low,i=e._high,a=e._low;return t=(n=o*a)>>>16,t+=r*a,t&=65535,t+=o*i,this._low=65535&n,this._high=65535&t,this},o.prototype.div=function(e){if(0==e._low&&0==e._high)throw Error("division by zero");if(0==e._high&&1==e._low)return this.remainder=new o(0),this;if(e.gt(this))return this.remainder=this.clone(),this._low=0,this._high=0,this;if(this.eq(e))return this.remainder=new o(0),this._low=1,this._high=0,this;for(var t=e.clone(),n=-1;!this.lt(t);)t.shiftLeft(1,!0),n++;for(this.remainder=this.clone(),this._low=0,this._high=0;n>=0;n--)t.shiftRight(1),this.remainder.lt(t)||(this.remainder.subtract(t),n>=16?this._high|=1<>>16)&65535,this},o.prototype.equals=o.prototype.eq=function(e){return this._low==e._low&&this._high==e._high},o.prototype.greaterThan=o.prototype.gt=function(e){return this._high>e._high||!(this._highe._low},o.prototype.lessThan=o.prototype.lt=function(e){return this._highe._high)&&this._low16?(this._low=this._high>>e-16,this._high=0):16==e?(this._low=this._high,this._high=0):(this._low=this._low>>e|this._high<<16-e&65535,this._high>>=e),this},o.prototype.shiftLeft=o.prototype.shiftl=function(e,t){return e>16?(this._high=this._low<>16-e,this._low=this._low<>>32-e,this._low=65535&t,this._high=t>>>16,this},o.prototype.rotateRight=o.prototype.rotr=function(e){var t=this._high<<16|this._low;return t=t>>>e|t<<32-e,this._low=65535&t,this._high=t>>>16,this},o.prototype.clone=function(){return new o(this._low,this._high)},void 0===(n=function(){return o}.apply(t,[]))||(e.exports=n)}()},60925:function(e,t){var n;!function(r){var o={16:a(Math.pow(16,5)),10:a(Math.pow(10,5)),2:a(Math.pow(2,5))},i={16:a(16),10:a(10),2:a(2)};function a(e,t,n,r){return this instanceof a?(this.remainder=null,"string"==typeof e?c.call(this,e,t):"undefined"==typeof t?l.call(this,e):void s.apply(this,arguments)):new a(e,t,n,r)}function s(e,t,n,r){return"undefined"==typeof n?(this._a00=65535&e,this._a16=e>>>16,this._a32=65535&t,this._a48=t>>>16,this):(this._a00=0|e,this._a16=0|t,this._a32=0|n,this._a48=0|r,this)}function l(e){return this._a00=65535&e,this._a16=e>>>16,this._a32=0,this._a48=0,this}function c(e,t){t=t||10,this._a00=0,this._a16=0,this._a32=0,this._a48=0;for(var n=o[t]||new a(Math.pow(t,5)),r=0,i=e.length;r=0&&(n.div(t),r[o]=n.remainder.toNumber().toString(e),n.gt(t));o--);return r[o-1]=n.toNumber().toString(e),r.join("")},a.prototype.add=function(e){var t=this._a00+e._a00,n=t>>>16,r=(n+=this._a16+e._a16)>>>16,o=(r+=this._a32+e._a32)>>>16;return o+=this._a48+e._a48,this._a00=65535&t,this._a16=65535&n,this._a32=65535&r,this._a48=65535&o,this},a.prototype.subtract=function(e){return this.add(e.clone().negate())},a.prototype.multiply=function(e){var t=this._a00,n=this._a16,r=this._a32,o=this._a48,i=e._a00,a=e._a16,s=e._a32,l=t*i,c=l>>>16,u=(c+=t*a)>>>16;c&=65535,u+=(c+=n*i)>>>16;var p=(u+=t*s)>>>16;return u&=65535,p+=(u+=n*a)>>>16,u&=65535,p+=(u+=r*i)>>>16,p+=t*e._a48,p&=65535,p+=n*s,p&=65535,p+=r*a,p&=65535,p+=o*i,this._a00=65535&l,this._a16=65535&c,this._a32=65535&u,this._a48=65535&p,this},a.prototype.div=function(e){if(0==e._a16&&0==e._a32&&0==e._a48){if(0==e._a00)throw Error("division by zero");if(1==e._a00)return this.remainder=new a(0),this}if(e.gt(this))return this.remainder=this.clone(),this._a00=0,this._a16=0,this._a32=0,this._a48=0,this;if(this.eq(e))return this.remainder=new a(0),this._a00=1,this._a16=0,this._a32=0,this._a48=0,this;for(var t=e.clone(),n=-1;!this.lt(t);)t.shiftLeft(1,!0),n++;for(this.remainder=this.clone(),this._a00=0,this._a16=0,this._a32=0,this._a48=0;n>=0;n--)t.shiftRight(1),this.remainder.lt(t)||(this.remainder.subtract(t),n>=48?this._a48|=1<=32?this._a32|=1<=16?this._a16|=1<>>16),this._a16=65535&e,e=(65535&~this._a32)+(e>>>16),this._a32=65535&e,this._a48=~this._a48+(e>>>16)&65535,this},a.prototype.equals=a.prototype.eq=function(e){return this._a48==e._a48&&this._a00==e._a00&&this._a32==e._a32&&this._a16==e._a16},a.prototype.greaterThan=a.prototype.gt=function(e){return this._a48>e._a48||!(this._a48e._a32||!(this._a32e._a16||!(this._a16e._a00))},a.prototype.lessThan=a.prototype.lt=function(e){return this._a48e._a48)&&(this._a32e._a32)&&(this._a16e._a16)&&this._a00=48?(this._a00=this._a48>>e-48,this._a16=0,this._a32=0,this._a48=0):e>=32?(e-=32,this._a00=65535&(this._a32>>e|this._a48<<16-e),this._a16=this._a48>>e&65535,this._a32=0,this._a48=0):e>=16?(e-=16,this._a00=65535&(this._a16>>e|this._a32<<16-e),this._a16=65535&(this._a32>>e|this._a48<<16-e),this._a32=this._a48>>e&65535,this._a48=0):(this._a00=65535&(this._a00>>e|this._a16<<16-e),this._a16=65535&(this._a16>>e|this._a32<<16-e),this._a32=65535&(this._a32>>e|this._a48<<16-e),this._a48=this._a48>>e&65535),this},a.prototype.shiftLeft=a.prototype.shiftl=function(e,t){return(e%=64)>=48?(this._a48=this._a00<=32?(e-=32,this._a48=this._a16<>16-e,this._a32=this._a00<=16?(e-=16,this._a48=this._a32<>16-e,this._a32=65535&(this._a16<>16-e),this._a16=this._a00<>16-e,this._a32=65535&(this._a32<>16-e),this._a16=65535&(this._a16<>16-e),this._a00=this._a00<=32){var t=this._a00;if(this._a00=this._a32,this._a32=t,t=this._a48,this._a48=this._a16,this._a16=t,32==e)return this;e-=32}var n=this._a48<<16|this._a32,r=this._a16<<16|this._a00,o=n<>>32-e,i=r<>>32-e;return this._a00=65535&i,this._a16=i>>>16,this._a32=65535&o,this._a48=o>>>16,this},a.prototype.rotateRight=a.prototype.rotr=function(e){if(0==(e%=64))return this;if(e>=32){var t=this._a00;if(this._a00=this._a32,this._a32=t,t=this._a48,this._a48=this._a16,this._a16=t,32==e)return this;e-=32}var n=this._a48<<16|this._a32,r=this._a16<<16|this._a00,o=n>>>e|r<<32-e,i=r>>>e|n<<32-e;return this._a00=65535&i,this._a16=i>>>16,this._a32=65535&o,this._a48=o>>>16,this},a.prototype.clone=function(){return new a(this._a00,this._a16,this._a32,this._a48)},void 0===(n=function(){return a}.apply(t,[]))||(e.exports=n)}()},40253:e=>{"use strict";var t=Object.prototype.hasOwnProperty,n=Object.prototype.toString,r=Object.defineProperty,o=Object.getOwnPropertyDescriptor,i=function(e){return"function"===typeof Array.isArray?Array.isArray(e):"[object Array]"===n.call(e)},a=function(e){if(!e||"[object Object]"!==n.call(e))return!1;var r,o=t.call(e,"constructor"),i=e.constructor&&e.constructor.prototype&&t.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!o&&!i)return!1;for(r in e);return"undefined"===typeof r||t.call(e,r)},s=function(e,t){r&&"__proto__"===t.name?r(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},l=function(e,n){if("__proto__"===n){if(!t.call(e,n))return;if(o)return o(e,n).value}return e[n]};e.exports=function e(){var t,n,r,o,c,u,p=arguments[0],d=1,b=arguments.length,f=!1;for("boolean"===typeof p&&(f=p,p=arguments[1]||{},d=2),(null==p||"object"!==typeof p&&"function"!==typeof p)&&(p={});d{"use strict";n.d(t,{GV:()=>a,Gv:()=>i,Sk:()=>r,WQ:()=>s,ZO:()=>o});var r="data-focus-lock",o="data-focus-lock-disabled",i="data-no-focus-lock",a="data-autofocus-inside",s="data-no-autofocus"},81778:(e,t,n)=>{"use strict";const{DOCUMENT_MODE:r}=n(72449),o="html",i=["+//silmaril//dtd html pro v0r11 19970101//","-//as//dtd html 3.0 aswedit + extensions//","-//advasoft ltd//dtd html 3.0 aswedit + extensions//","-//ietf//dtd html 2.0 level 1//","-//ietf//dtd html 2.0 level 2//","-//ietf//dtd html 2.0 strict level 1//","-//ietf//dtd html 2.0 strict level 2//","-//ietf//dtd html 2.0 strict//","-//ietf//dtd html 2.0//","-//ietf//dtd html 2.1e//","-//ietf//dtd html 3.0//","-//ietf//dtd html 3.2 final//","-//ietf//dtd html 3.2//","-//ietf//dtd html 3//","-//ietf//dtd html level 0//","-//ietf//dtd html level 1//","-//ietf//dtd html level 2//","-//ietf//dtd html level 3//","-//ietf//dtd html strict level 0//","-//ietf//dtd html strict level 1//","-//ietf//dtd html strict level 2//","-//ietf//dtd html strict level 3//","-//ietf//dtd html strict//","-//ietf//dtd html//","-//metrius//dtd metrius presentational//","-//microsoft//dtd internet explorer 2.0 html strict//","-//microsoft//dtd internet explorer 2.0 html//","-//microsoft//dtd internet explorer 2.0 tables//","-//microsoft//dtd internet explorer 3.0 html strict//","-//microsoft//dtd internet explorer 3.0 html//","-//microsoft//dtd internet explorer 3.0 tables//","-//netscape comm. corp.//dtd html//","-//netscape comm. corp.//dtd strict html//","-//o'reilly and associates//dtd html 2.0//","-//o'reilly and associates//dtd html extended 1.0//","-//o'reilly and associates//dtd html extended relaxed 1.0//","-//sq//dtd html 2.0 hotmetal + extensions//","-//softquad software//dtd hotmetal pro 6.0::19990601::extensions to html 4.0//","-//softquad//dtd hotmetal pro 4.0::19971010::extensions to html 4.0//","-//spyglass//dtd html 2.0 extended//","-//sun microsystems corp.//dtd hotjava html//","-//sun microsystems corp.//dtd hotjava strict html//","-//w3c//dtd html 3 1995-03-24//","-//w3c//dtd html 3.2 draft//","-//w3c//dtd html 3.2 final//","-//w3c//dtd html 3.2//","-//w3c//dtd html 3.2s draft//","-//w3c//dtd html 4.0 frameset//","-//w3c//dtd html 4.0 transitional//","-//w3c//dtd html experimental 19960712//","-//w3c//dtd html experimental 970421//","-//w3c//dtd w3 html//","-//w3o//dtd w3 html 3.0//","-//webtechs//dtd mozilla html 2.0//","-//webtechs//dtd mozilla html//"],a=i.concat(["-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"]),s=["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"],l=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],c=l.concat(["-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"]);function u(e){const t=-1!==e.indexOf('"')?"'":'"';return t+e+t}function p(e,t){for(let n=0;n-1)return r.QUIRKS;let e=null===t?a:i;if(p(n,e))return r.QUIRKS;if(e=null===t?l:c,p(n,e))return r.LIMITED_QUIRKS}return r.NO_QUIRKS},t.serializeContent=function(e,t,n){let r="!DOCTYPE ";return e&&(r+=e),t?r+=" PUBLIC "+u(t):n&&(r+=" SYSTEM"),null!==n&&(r+=" "+u(n)),r}},48673:e=>{"use strict";e.exports={controlCharacterInInputStream:"control-character-in-input-stream",noncharacterInInputStream:"noncharacter-in-input-stream",surrogateInInputStream:"surrogate-in-input-stream",nonVoidHtmlElementStartTagWithTrailingSolidus:"non-void-html-element-start-tag-with-trailing-solidus",endTagWithAttributes:"end-tag-with-attributes",endTagWithTrailingSolidus:"end-tag-with-trailing-solidus",unexpectedSolidusInTag:"unexpected-solidus-in-tag",unexpectedNullCharacter:"unexpected-null-character",unexpectedQuestionMarkInsteadOfTagName:"unexpected-question-mark-instead-of-tag-name",invalidFirstCharacterOfTagName:"invalid-first-character-of-tag-name",unexpectedEqualsSignBeforeAttributeName:"unexpected-equals-sign-before-attribute-name",missingEndTagName:"missing-end-tag-name",unexpectedCharacterInAttributeName:"unexpected-character-in-attribute-name",unknownNamedCharacterReference:"unknown-named-character-reference",missingSemicolonAfterCharacterReference:"missing-semicolon-after-character-reference",unexpectedCharacterAfterDoctypeSystemIdentifier:"unexpected-character-after-doctype-system-identifier",unexpectedCharacterInUnquotedAttributeValue:"unexpected-character-in-unquoted-attribute-value",eofBeforeTagName:"eof-before-tag-name",eofInTag:"eof-in-tag",missingAttributeValue:"missing-attribute-value",missingWhitespaceBetweenAttributes:"missing-whitespace-between-attributes",missingWhitespaceAfterDoctypePublicKeyword:"missing-whitespace-after-doctype-public-keyword",missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers:"missing-whitespace-between-doctype-public-and-system-identifiers",missingWhitespaceAfterDoctypeSystemKeyword:"missing-whitespace-after-doctype-system-keyword",missingQuoteBeforeDoctypePublicIdentifier:"missing-quote-before-doctype-public-identifier",missingQuoteBeforeDoctypeSystemIdentifier:"missing-quote-before-doctype-system-identifier",missingDoctypePublicIdentifier:"missing-doctype-public-identifier",missingDoctypeSystemIdentifier:"missing-doctype-system-identifier",abruptDoctypePublicIdentifier:"abrupt-doctype-public-identifier",abruptDoctypeSystemIdentifier:"abrupt-doctype-system-identifier",cdataInHtmlContent:"cdata-in-html-content",incorrectlyOpenedComment:"incorrectly-opened-comment",eofInScriptHtmlCommentLikeText:"eof-in-script-html-comment-like-text",eofInDoctype:"eof-in-doctype",nestedComment:"nested-comment",abruptClosingOfEmptyComment:"abrupt-closing-of-empty-comment",eofInComment:"eof-in-comment",incorrectlyClosedComment:"incorrectly-closed-comment",eofInCdata:"eof-in-cdata",absenceOfDigitsInNumericCharacterReference:"absence-of-digits-in-numeric-character-reference",nullCharacterReference:"null-character-reference",surrogateCharacterReference:"surrogate-character-reference",characterReferenceOutsideUnicodeRange:"character-reference-outside-unicode-range",controlCharacterReference:"control-character-reference",noncharacterCharacterReference:"noncharacter-character-reference",missingWhitespaceBeforeDoctypeName:"missing-whitespace-before-doctype-name",missingDoctypeName:"missing-doctype-name",invalidCharacterSequenceAfterDoctypeName:"invalid-character-sequence-after-doctype-name",duplicateAttribute:"duplicate-attribute",nonConformingDoctype:"non-conforming-doctype",missingDoctype:"missing-doctype",misplacedDoctype:"misplaced-doctype",endTagWithoutMatchingOpenElement:"end-tag-without-matching-open-element",closingOfElementWithOpenChildElements:"closing-of-element-with-open-child-elements",disallowedContentInNoscriptInHead:"disallowed-content-in-noscript-in-head",openElementsLeftAfterEof:"open-elements-left-after-eof",abandonedHeadElementChild:"abandoned-head-element-child",misplacedStartTagForHeadElement:"misplaced-start-tag-for-head-element",nestedNoscriptInHead:"nested-noscript-in-head",eofInElementThatCanContainOnlyText:"eof-in-element-that-can-contain-only-text"}},70513:(e,t,n)=>{"use strict";const r=n(93368),o=n(72449),i=o.TAG_NAMES,a=o.NAMESPACES,s=o.ATTRS,l="text/html",c="application/xhtml+xml",u={attributename:"attributeName",attributetype:"attributeType",basefrequency:"baseFrequency",baseprofile:"baseProfile",calcmode:"calcMode",clippathunits:"clipPathUnits",diffuseconstant:"diffuseConstant",edgemode:"edgeMode",filterunits:"filterUnits",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",limitingconeangle:"limitingConeAngle",markerheight:"markerHeight",markerunits:"markerUnits",markerwidth:"markerWidth",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",numoctaves:"numOctaves",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",refx:"refX",refy:"refY",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",specularconstant:"specularConstant",specularexponent:"specularExponent",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stitchtiles:"stitchTiles",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textlength:"textLength",viewbox:"viewBox",viewtarget:"viewTarget",xchannelselector:"xChannelSelector",ychannelselector:"yChannelSelector",zoomandpan:"zoomAndPan"},p={"xlink:actuate":{prefix:"xlink",name:"actuate",namespace:a.XLINK},"xlink:arcrole":{prefix:"xlink",name:"arcrole",namespace:a.XLINK},"xlink:href":{prefix:"xlink",name:"href",namespace:a.XLINK},"xlink:role":{prefix:"xlink",name:"role",namespace:a.XLINK},"xlink:show":{prefix:"xlink",name:"show",namespace:a.XLINK},"xlink:title":{prefix:"xlink",name:"title",namespace:a.XLINK},"xlink:type":{prefix:"xlink",name:"type",namespace:a.XLINK},"xml:base":{prefix:"xml",name:"base",namespace:a.XML},"xml:lang":{prefix:"xml",name:"lang",namespace:a.XML},"xml:space":{prefix:"xml",name:"space",namespace:a.XML},xmlns:{prefix:"",name:"xmlns",namespace:a.XMLNS},"xmlns:xlink":{prefix:"xmlns",name:"xlink",namespace:a.XMLNS}},d=t.SVG_TAG_NAMES_ADJUSTMENT_MAP={altglyph:"altGlyph",altglyphdef:"altGlyphDef",altglyphitem:"altGlyphItem",animatecolor:"animateColor",animatemotion:"animateMotion",animatetransform:"animateTransform",clippath:"clipPath",feblend:"feBlend",fecolormatrix:"feColorMatrix",fecomponenttransfer:"feComponentTransfer",fecomposite:"feComposite",feconvolvematrix:"feConvolveMatrix",fediffuselighting:"feDiffuseLighting",fedisplacementmap:"feDisplacementMap",fedistantlight:"feDistantLight",feflood:"feFlood",fefunca:"feFuncA",fefuncb:"feFuncB",fefuncg:"feFuncG",fefuncr:"feFuncR",fegaussianblur:"feGaussianBlur",feimage:"feImage",femerge:"feMerge",femergenode:"feMergeNode",femorphology:"feMorphology",feoffset:"feOffset",fepointlight:"fePointLight",fespecularlighting:"feSpecularLighting",fespotlight:"feSpotLight",fetile:"feTile",feturbulence:"feTurbulence",foreignobject:"foreignObject",glyphref:"glyphRef",lineargradient:"linearGradient",radialgradient:"radialGradient",textpath:"textPath"},b={[i.B]:!0,[i.BIG]:!0,[i.BLOCKQUOTE]:!0,[i.BODY]:!0,[i.BR]:!0,[i.CENTER]:!0,[i.CODE]:!0,[i.DD]:!0,[i.DIV]:!0,[i.DL]:!0,[i.DT]:!0,[i.EM]:!0,[i.EMBED]:!0,[i.H1]:!0,[i.H2]:!0,[i.H3]:!0,[i.H4]:!0,[i.H5]:!0,[i.H6]:!0,[i.HEAD]:!0,[i.HR]:!0,[i.I]:!0,[i.IMG]:!0,[i.LI]:!0,[i.LISTING]:!0,[i.MENU]:!0,[i.META]:!0,[i.NOBR]:!0,[i.OL]:!0,[i.P]:!0,[i.PRE]:!0,[i.RUBY]:!0,[i.S]:!0,[i.SMALL]:!0,[i.SPAN]:!0,[i.STRONG]:!0,[i.STRIKE]:!0,[i.SUB]:!0,[i.SUP]:!0,[i.TABLE]:!0,[i.TT]:!0,[i.U]:!0,[i.UL]:!0,[i.VAR]:!0};t.causesExit=function(e){const t=e.tagName;return!!(t===i.FONT&&(null!==r.getTokenAttr(e,s.COLOR)||null!==r.getTokenAttr(e,s.SIZE)||null!==r.getTokenAttr(e,s.FACE)))||b[t]},t.adjustTokenMathMLAttrs=function(e){for(let t=0;t{"use strict";const n=t.NAMESPACES={HTML:"http://www.w3.org/1999/xhtml",MATHML:"http://www.w3.org/1998/Math/MathML",SVG:"http://www.w3.org/2000/svg",XLINK:"http://www.w3.org/1999/xlink",XML:"http://www.w3.org/XML/1998/namespace",XMLNS:"http://www.w3.org/2000/xmlns/"};t.ATTRS={TYPE:"type",ACTION:"action",ENCODING:"encoding",PROMPT:"prompt",NAME:"name",COLOR:"color",FACE:"face",SIZE:"size"},t.DOCUMENT_MODE={NO_QUIRKS:"no-quirks",QUIRKS:"quirks",LIMITED_QUIRKS:"limited-quirks"};const r=t.TAG_NAMES={A:"a",ADDRESS:"address",ANNOTATION_XML:"annotation-xml",APPLET:"applet",AREA:"area",ARTICLE:"article",ASIDE:"aside",B:"b",BASE:"base",BASEFONT:"basefont",BGSOUND:"bgsound",BIG:"big",BLOCKQUOTE:"blockquote",BODY:"body",BR:"br",BUTTON:"button",CAPTION:"caption",CENTER:"center",CODE:"code",COL:"col",COLGROUP:"colgroup",DD:"dd",DESC:"desc",DETAILS:"details",DIALOG:"dialog",DIR:"dir",DIV:"div",DL:"dl",DT:"dt",EM:"em",EMBED:"embed",FIELDSET:"fieldset",FIGCAPTION:"figcaption",FIGURE:"figure",FONT:"font",FOOTER:"footer",FOREIGN_OBJECT:"foreignObject",FORM:"form",FRAME:"frame",FRAMESET:"frameset",H1:"h1",H2:"h2",H3:"h3",H4:"h4",H5:"h5",H6:"h6",HEAD:"head",HEADER:"header",HGROUP:"hgroup",HR:"hr",HTML:"html",I:"i",IMG:"img",IMAGE:"image",INPUT:"input",IFRAME:"iframe",KEYGEN:"keygen",LABEL:"label",LI:"li",LINK:"link",LISTING:"listing",MAIN:"main",MALIGNMARK:"malignmark",MARQUEE:"marquee",MATH:"math",MENU:"menu",META:"meta",MGLYPH:"mglyph",MI:"mi",MO:"mo",MN:"mn",MS:"ms",MTEXT:"mtext",NAV:"nav",NOBR:"nobr",NOFRAMES:"noframes",NOEMBED:"noembed",NOSCRIPT:"noscript",OBJECT:"object",OL:"ol",OPTGROUP:"optgroup",OPTION:"option",P:"p",PARAM:"param",PLAINTEXT:"plaintext",PRE:"pre",RB:"rb",RP:"rp",RT:"rt",RTC:"rtc",RUBY:"ruby",S:"s",SCRIPT:"script",SECTION:"section",SELECT:"select",SOURCE:"source",SMALL:"small",SPAN:"span",STRIKE:"strike",STRONG:"strong",STYLE:"style",SUB:"sub",SUMMARY:"summary",SUP:"sup",TABLE:"table",TBODY:"tbody",TEMPLATE:"template",TEXTAREA:"textarea",TFOOT:"tfoot",TD:"td",TH:"th",THEAD:"thead",TITLE:"title",TR:"tr",TRACK:"track",TT:"tt",U:"u",UL:"ul",SVG:"svg",VAR:"var",WBR:"wbr",XMP:"xmp"};t.SPECIAL_ELEMENTS={[n.HTML]:{[r.ADDRESS]:!0,[r.APPLET]:!0,[r.AREA]:!0,[r.ARTICLE]:!0,[r.ASIDE]:!0,[r.BASE]:!0,[r.BASEFONT]:!0,[r.BGSOUND]:!0,[r.BLOCKQUOTE]:!0,[r.BODY]:!0,[r.BR]:!0,[r.BUTTON]:!0,[r.CAPTION]:!0,[r.CENTER]:!0,[r.COL]:!0,[r.COLGROUP]:!0,[r.DD]:!0,[r.DETAILS]:!0,[r.DIR]:!0,[r.DIV]:!0,[r.DL]:!0,[r.DT]:!0,[r.EMBED]:!0,[r.FIELDSET]:!0,[r.FIGCAPTION]:!0,[r.FIGURE]:!0,[r.FOOTER]:!0,[r.FORM]:!0,[r.FRAME]:!0,[r.FRAMESET]:!0,[r.H1]:!0,[r.H2]:!0,[r.H3]:!0,[r.H4]:!0,[r.H5]:!0,[r.H6]:!0,[r.HEAD]:!0,[r.HEADER]:!0,[r.HGROUP]:!0,[r.HR]:!0,[r.HTML]:!0,[r.IFRAME]:!0,[r.IMG]:!0,[r.INPUT]:!0,[r.LI]:!0,[r.LINK]:!0,[r.LISTING]:!0,[r.MAIN]:!0,[r.MARQUEE]:!0,[r.MENU]:!0,[r.META]:!0,[r.NAV]:!0,[r.NOEMBED]:!0,[r.NOFRAMES]:!0,[r.NOSCRIPT]:!0,[r.OBJECT]:!0,[r.OL]:!0,[r.P]:!0,[r.PARAM]:!0,[r.PLAINTEXT]:!0,[r.PRE]:!0,[r.SCRIPT]:!0,[r.SECTION]:!0,[r.SELECT]:!0,[r.SOURCE]:!0,[r.STYLE]:!0,[r.SUMMARY]:!0,[r.TABLE]:!0,[r.TBODY]:!0,[r.TD]:!0,[r.TEMPLATE]:!0,[r.TEXTAREA]:!0,[r.TFOOT]:!0,[r.TH]:!0,[r.THEAD]:!0,[r.TITLE]:!0,[r.TR]:!0,[r.TRACK]:!0,[r.UL]:!0,[r.WBR]:!0,[r.XMP]:!0},[n.MATHML]:{[r.MI]:!0,[r.MO]:!0,[r.MN]:!0,[r.MS]:!0,[r.MTEXT]:!0,[r.ANNOTATION_XML]:!0},[n.SVG]:{[r.TITLE]:!0,[r.FOREIGN_OBJECT]:!0,[r.DESC]:!0}}},11280:(e,t)=>{"use strict";const n=[65534,65535,131070,131071,196606,196607,262142,262143,327678,327679,393214,393215,458750,458751,524286,524287,589822,589823,655358,655359,720894,720895,786430,786431,851966,851967,917502,917503,983038,983039,1048574,1048575,1114110,1114111];t.REPLACEMENT_CHARACTER="\ufffd",t.CODE_POINTS={EOF:-1,NULL:0,TABULATION:9,CARRIAGE_RETURN:13,LINE_FEED:10,FORM_FEED:12,SPACE:32,EXCLAMATION_MARK:33,QUOTATION_MARK:34,NUMBER_SIGN:35,AMPERSAND:38,APOSTROPHE:39,HYPHEN_MINUS:45,SOLIDUS:47,DIGIT_0:48,DIGIT_9:57,SEMICOLON:59,LESS_THAN_SIGN:60,EQUALS_SIGN:61,GREATER_THAN_SIGN:62,QUESTION_MARK:63,LATIN_CAPITAL_A:65,LATIN_CAPITAL_F:70,LATIN_CAPITAL_X:88,LATIN_CAPITAL_Z:90,RIGHT_SQUARE_BRACKET:93,GRAVE_ACCENT:96,LATIN_SMALL_A:97,LATIN_SMALL_F:102,LATIN_SMALL_X:120,LATIN_SMALL_Z:122,REPLACEMENT_CHARACTER:65533},t.CODE_POINT_SEQUENCES={DASH_DASH_STRING:[45,45],DOCTYPE_STRING:[68,79,67,84,89,80,69],CDATA_START_STRING:[91,67,68,65,84,65,91],SCRIPT_STRING:[115,99,114,105,112,116],PUBLIC_STRING:[80,85,66,76,73,67],SYSTEM_STRING:[83,89,83,84,69,77]},t.isSurrogate=function(e){return e>=55296&&e<=57343},t.isSurrogatePair=function(e){return e>=56320&&e<=57343},t.getSurrogatePairCodePoint=function(e,t){return 1024*(e-55296)+9216+t},t.isControlCodePoint=function(e){return 32!==e&&10!==e&&13!==e&&9!==e&&12!==e&&e>=1&&e<=31||e>=127&&e<=159},t.isUndefinedCodePoint=function(e){return e>=64976&&e<=65007||n.indexOf(e)>-1}},21525:(e,t,n)=>{"use strict";const r=n(62288);e.exports=class extends r{constructor(e,t){super(e),this.posTracker=null,this.onParseError=t.onParseError}_setErrorLocation(e){e.startLine=e.endLine=this.posTracker.line,e.startCol=e.endCol=this.posTracker.col,e.startOffset=e.endOffset=this.posTracker.offset}_reportError(e){const t={code:e,startLine:-1,startCol:-1,startOffset:-1,endLine:-1,endCol:-1,endOffset:-1};this._setErrorLocation(t),this.onParseError(t)}_getOverriddenMethods(e){return{_err(t){e._reportError(t)}}}}},95399:(e,t,n)=>{"use strict";const r=n(21525),o=n(23894),i=n(76770),a=n(62288);e.exports=class extends r{constructor(e,t){super(e,t),this.opts=t,this.ctLoc=null,this.locBeforeToken=!1}_setErrorLocation(e){this.ctLoc&&(e.startLine=this.ctLoc.startLine,e.startCol=this.ctLoc.startCol,e.startOffset=this.ctLoc.startOffset,e.endLine=this.locBeforeToken?this.ctLoc.startLine:this.ctLoc.endLine,e.endCol=this.locBeforeToken?this.ctLoc.startCol:this.ctLoc.endCol,e.endOffset=this.locBeforeToken?this.ctLoc.startOffset:this.ctLoc.endOffset)}_getOverriddenMethods(e,t){return{_bootstrap(n,r){t._bootstrap.call(this,n,r),a.install(this.tokenizer,o,e.opts),a.install(this.tokenizer,i)},_processInputToken(n){e.ctLoc=n.location,t._processInputToken.call(this,n)},_err(t,n){e.locBeforeToken=n&&n.beforeToken,e._reportError(t)}}}}},24980:(e,t,n)=>{"use strict";const r=n(21525),o=n(58910),i=n(62288);e.exports=class extends r{constructor(e,t){super(e,t),this.posTracker=i.install(e,o),this.lastErrOffset=-1}_reportError(e){this.lastErrOffset!==this.posTracker.offset&&(this.lastErrOffset=this.posTracker.offset,super._reportError(e))}}},23894:(e,t,n)=>{"use strict";const r=n(21525),o=n(24980),i=n(62288);e.exports=class extends r{constructor(e,t){super(e,t);const n=i.install(e.preprocessor,o,t);this.posTracker=n.posTracker}}},82881:(e,t,n)=>{"use strict";const r=n(62288);e.exports=class extends r{constructor(e,t){super(e),this.onItemPop=t.onItemPop}_getOverriddenMethods(e,t){return{pop(){e.onItemPop(this.current),t.pop.call(this)},popAllUpToHtmlElement(){for(let t=this.stackTop;t>0;t--)e.onItemPop(this.items[t]);t.popAllUpToHtmlElement.call(this)},remove(n){e.onItemPop(this.current),t.remove.call(this,n)}}}}},65775:(e,t,n)=>{"use strict";const r=n(62288),o=n(93368),i=n(76770),a=n(82881),s=n(72449).TAG_NAMES;e.exports=class extends r{constructor(e){super(e),this.parser=e,this.treeAdapter=this.parser.treeAdapter,this.posTracker=null,this.lastStartTagToken=null,this.lastFosterParentingLocation=null,this.currentToken=null}_setStartLocation(e){let t=null;this.lastStartTagToken&&(t=Object.assign({},this.lastStartTagToken.location),t.startTag=this.lastStartTagToken.location),this.treeAdapter.setNodeSourceCodeLocation(e,t)}_setEndLocation(e,t){if(this.treeAdapter.getNodeSourceCodeLocation(e)&&t.location){const n=t.location,r=this.treeAdapter.getTagName(e),i={};t.type===o.END_TAG_TOKEN&&r===t.tagName?(i.endTag=Object.assign({},n),i.endLine=n.endLine,i.endCol=n.endCol,i.endOffset=n.endOffset):(i.endLine=n.startLine,i.endCol=n.startCol,i.endOffset=n.startOffset),this.treeAdapter.updateNodeSourceCodeLocation(e,i)}}_getOverriddenMethods(e,t){return{_bootstrap(n,o){t._bootstrap.call(this,n,o),e.lastStartTagToken=null,e.lastFosterParentingLocation=null,e.currentToken=null;const s=r.install(this.tokenizer,i);e.posTracker=s.posTracker,r.install(this.openElements,a,{onItemPop:function(t){e._setEndLocation(t,e.currentToken)}})},_runParsingLoop(n){t._runParsingLoop.call(this,n);for(let t=this.openElements.stackTop;t>=0;t--)e._setEndLocation(this.openElements.items[t],e.currentToken)},_processTokenInForeignContent(n){e.currentToken=n,t._processTokenInForeignContent.call(this,n)},_processToken(n){e.currentToken=n,t._processToken.call(this,n);if(n.type===o.END_TAG_TOKEN&&(n.tagName===s.HTML||n.tagName===s.BODY&&this.openElements.hasInScope(s.BODY)))for(let t=this.openElements.stackTop;t>=0;t--){const r=this.openElements.items[t];if(this.treeAdapter.getTagName(r)===n.tagName){e._setEndLocation(r,n);break}}},_setDocumentType(e){t._setDocumentType.call(this,e);const n=this.treeAdapter.getChildNodes(this.document),r=n.length;for(let t=0;t{"use strict";const r=n(62288),o=n(93368),i=n(58910);e.exports=class extends r{constructor(e){super(e),this.tokenizer=e,this.posTracker=r.install(e.preprocessor,i),this.currentAttrLocation=null,this.ctLoc=null}_getCurrentLocation(){return{startLine:this.posTracker.line,startCol:this.posTracker.col,startOffset:this.posTracker.offset,endLine:-1,endCol:-1,endOffset:-1}}_attachCurrentAttrLocationInfo(){this.currentAttrLocation.endLine=this.posTracker.line,this.currentAttrLocation.endCol=this.posTracker.col,this.currentAttrLocation.endOffset=this.posTracker.offset;const e=this.tokenizer.currentToken,t=this.tokenizer.currentAttr;e.location.attrs||(e.location.attrs=Object.create(null)),e.location.attrs[t.name]=this.currentAttrLocation}_getOverriddenMethods(e,t){const n={_createStartTagToken(){t._createStartTagToken.call(this),this.currentToken.location=e.ctLoc},_createEndTagToken(){t._createEndTagToken.call(this),this.currentToken.location=e.ctLoc},_createCommentToken(){t._createCommentToken.call(this),this.currentToken.location=e.ctLoc},_createDoctypeToken(n){t._createDoctypeToken.call(this,n),this.currentToken.location=e.ctLoc},_createCharacterToken(n,r){t._createCharacterToken.call(this,n,r),this.currentCharacterToken.location=e.ctLoc},_createEOFToken(){t._createEOFToken.call(this),this.currentToken.location=e._getCurrentLocation()},_createAttr(n){t._createAttr.call(this,n),e.currentAttrLocation=e._getCurrentLocation()},_leaveAttrName(n){t._leaveAttrName.call(this,n),e._attachCurrentAttrLocationInfo()},_leaveAttrValue(n){t._leaveAttrValue.call(this,n),e._attachCurrentAttrLocationInfo()},_emitCurrentToken(){const n=this.currentToken.location;this.currentCharacterToken&&(this.currentCharacterToken.location.endLine=n.startLine,this.currentCharacterToken.location.endCol=n.startCol,this.currentCharacterToken.location.endOffset=n.startOffset),this.currentToken.type===o.EOF_TOKEN?(n.endLine=n.startLine,n.endCol=n.startCol,n.endOffset=n.startOffset):(n.endLine=e.posTracker.line,n.endCol=e.posTracker.col+1,n.endOffset=e.posTracker.offset+1),t._emitCurrentToken.call(this)},_emitCurrentCharacterToken(){const n=this.currentCharacterToken&&this.currentCharacterToken.location;n&&-1===n.endOffset&&(n.endLine=e.posTracker.line,n.endCol=e.posTracker.col,n.endOffset=e.posTracker.offset),t._emitCurrentCharacterToken.call(this)}};return Object.keys(o.MODE).forEach((r=>{const i=o.MODE[r];n[i]=function(n){e.ctLoc=e._getCurrentLocation(),t[i].call(this,n)}})),n}}},58910:(e,t,n)=>{"use strict";const r=n(62288);e.exports=class extends r{constructor(e){super(e),this.preprocessor=e,this.isEol=!1,this.lineStartPos=0,this.droppedBufferSize=0,this.offset=0,this.col=0,this.line=1}_getOverriddenMethods(e,t){return{advance(){const n=this.pos+1,r=this.html[n];return e.isEol&&(e.isEol=!1,e.line++,e.lineStartPos=n),("\n"===r||"\r"===r&&"\n"!==this.html[n+1])&&(e.isEol=!0),e.col=n-e.lineStartPos+1,e.offset=e.droppedBufferSize+n,t.advance.call(this)},retreat(){t.retreat.call(this),e.isEol=!1,e.col=this.pos-e.lineStartPos+1},dropParsedChunk(){const n=this.pos;t.dropParsedChunk.call(this);const r=n-this.pos;e.lineStartPos-=r,e.droppedBufferSize+=r,e.offset=e.droppedBufferSize+this.pos}}}}},66963:e=>{"use strict";class t{constructor(e){this.length=0,this.entries=[],this.treeAdapter=e,this.bookmark=null}_getNoahArkConditionCandidates(e){const n=[];if(this.length>=3){const r=this.treeAdapter.getAttrList(e).length,o=this.treeAdapter.getTagName(e),i=this.treeAdapter.getNamespaceURI(e);for(let e=this.length-1;e>=0;e--){const a=this.entries[e];if(a.type===t.MARKER_ENTRY)break;const s=a.element,l=this.treeAdapter.getAttrList(s);this.treeAdapter.getTagName(s)===o&&this.treeAdapter.getNamespaceURI(s)===i&&l.length===r&&n.push({idx:e,attrs:l})}}return n.length<3?[]:n}_ensureNoahArkCondition(e){const t=this._getNoahArkConditionCandidates(e);let n=t.length;if(n){const r=this.treeAdapter.getAttrList(e),o=r.length,i=Object.create(null);for(let e=0;e=2;e--)this.entries.splice(t[e].idx,1),this.length--}}insertMarker(){this.entries.push({type:t.MARKER_ENTRY}),this.length++}pushElement(e,n){this._ensureNoahArkCondition(e),this.entries.push({type:t.ELEMENT_ENTRY,element:e,token:n}),this.length++}insertElementAfterBookmark(e,n){let r=this.length-1;for(;r>=0&&this.entries[r]!==this.bookmark;r--);this.entries.splice(r+1,0,{type:t.ELEMENT_ENTRY,element:e,token:n}),this.length++}removeEntry(e){for(let t=this.length-1;t>=0;t--)if(this.entries[t]===e){this.entries.splice(t,1),this.length--;break}}clearToLastMarker(){for(;this.length;){const e=this.entries.pop();if(this.length--,e.type===t.MARKER_ENTRY)break}}getElementEntryInScopeWithTagName(e){for(let n=this.length-1;n>=0;n--){const r=this.entries[n];if(r.type===t.MARKER_ENTRY)return null;if(this.treeAdapter.getTagName(r.element)===e)return r}return null}getElementEntry(e){for(let n=this.length-1;n>=0;n--){const r=this.entries[n];if(r.type===t.ELEMENT_ENTRY&&r.element===e)return r}return null}}t.MARKER_ENTRY="MARKER_ENTRY",t.ELEMENT_ENTRY="ELEMENT_ENTRY",e.exports=t},91305:(e,t,n)=>{"use strict";const r=n(93368),o=n(83618),i=n(66963),a=n(65775),s=n(95399),l=n(62288),c=n(66049),u=n(43835),p=n(81778),d=n(70513),b=n(48673),f=n(11280),h=n(72449),m=h.TAG_NAMES,g=h.NAMESPACES,O=h.ATTRS,y={scriptingEnabled:!0,sourceCodeLocationInfo:!1,onParseError:null,treeAdapter:c},M="hidden",z=8,A=3,v="INITIAL_MODE",w="BEFORE_HTML_MODE",S="BEFORE_HEAD_MODE",x="IN_HEAD_MODE",E="IN_HEAD_NO_SCRIPT_MODE",k="AFTER_HEAD_MODE",q="IN_BODY_MODE",T="TEXT_MODE",_="IN_TABLE_MODE",R="IN_TABLE_TEXT_MODE",C="IN_CAPTION_MODE",N="IN_COLUMN_GROUP_MODE",I="IN_TABLE_BODY_MODE",W="IN_ROW_MODE",P="IN_CELL_MODE",L="IN_SELECT_MODE",j="IN_SELECT_IN_TABLE_MODE",D="IN_TEMPLATE_MODE",B="AFTER_BODY_MODE",F="IN_FRAMESET_MODE",V="AFTER_FRAMESET_MODE",U="AFTER_AFTER_BODY_MODE",H="AFTER_AFTER_FRAMESET_MODE",X={[m.TR]:W,[m.TBODY]:I,[m.THEAD]:I,[m.TFOOT]:I,[m.CAPTION]:C,[m.COLGROUP]:N,[m.TABLE]:_,[m.BODY]:q,[m.FRAMESET]:F},G={[m.CAPTION]:_,[m.COLGROUP]:_,[m.TBODY]:_,[m.TFOOT]:_,[m.THEAD]:_,[m.COL]:N,[m.TR]:I,[m.TD]:W,[m.TH]:W},$={[v]:{[r.CHARACTER_TOKEN]:le,[r.NULL_CHARACTER_TOKEN]:le,[r.WHITESPACE_CHARACTER_TOKEN]:ne,[r.COMMENT_TOKEN]:oe,[r.DOCTYPE_TOKEN]:function(e,t){e._setDocumentType(t);const n=t.forceQuirks?h.DOCUMENT_MODE.QUIRKS:p.getDocumentMode(t);p.isConforming(t)||e._err(b.nonConformingDoctype);e.treeAdapter.setDocumentMode(e.document,n),e.insertionMode=w},[r.START_TAG_TOKEN]:le,[r.END_TAG_TOKEN]:le,[r.EOF_TOKEN]:le},[w]:{[r.CHARACTER_TOKEN]:ce,[r.NULL_CHARACTER_TOKEN]:ce,[r.WHITESPACE_CHARACTER_TOKEN]:ne,[r.COMMENT_TOKEN]:oe,[r.DOCTYPE_TOKEN]:ne,[r.START_TAG_TOKEN]:function(e,t){t.tagName===m.HTML?(e._insertElement(t,g.HTML),e.insertionMode=S):ce(e,t)},[r.END_TAG_TOKEN]:function(e,t){const n=t.tagName;n!==m.HTML&&n!==m.HEAD&&n!==m.BODY&&n!==m.BR||ce(e,t)},[r.EOF_TOKEN]:ce},[S]:{[r.CHARACTER_TOKEN]:ue,[r.NULL_CHARACTER_TOKEN]:ue,[r.WHITESPACE_CHARACTER_TOKEN]:ne,[r.COMMENT_TOKEN]:oe,[r.DOCTYPE_TOKEN]:re,[r.START_TAG_TOKEN]:function(e,t){const n=t.tagName;n===m.HTML?ke(e,t):n===m.HEAD?(e._insertElement(t,g.HTML),e.headElement=e.openElements.current,e.insertionMode=x):ue(e,t)},[r.END_TAG_TOKEN]:function(e,t){const n=t.tagName;n===m.HEAD||n===m.BODY||n===m.HTML||n===m.BR?ue(e,t):e._err(b.endTagWithoutMatchingOpenElement)},[r.EOF_TOKEN]:ue},[x]:{[r.CHARACTER_TOKEN]:be,[r.NULL_CHARACTER_TOKEN]:be,[r.WHITESPACE_CHARACTER_TOKEN]:ae,[r.COMMENT_TOKEN]:oe,[r.DOCTYPE_TOKEN]:re,[r.START_TAG_TOKEN]:pe,[r.END_TAG_TOKEN]:de,[r.EOF_TOKEN]:be},[E]:{[r.CHARACTER_TOKEN]:fe,[r.NULL_CHARACTER_TOKEN]:fe,[r.WHITESPACE_CHARACTER_TOKEN]:ae,[r.COMMENT_TOKEN]:oe,[r.DOCTYPE_TOKEN]:re,[r.START_TAG_TOKEN]:function(e,t){const n=t.tagName;n===m.HTML?ke(e,t):n===m.BASEFONT||n===m.BGSOUND||n===m.HEAD||n===m.LINK||n===m.META||n===m.NOFRAMES||n===m.STYLE?pe(e,t):n===m.NOSCRIPT?e._err(b.nestedNoscriptInHead):fe(e,t)},[r.END_TAG_TOKEN]:function(e,t){const n=t.tagName;n===m.NOSCRIPT?(e.openElements.pop(),e.insertionMode=x):n===m.BR?fe(e,t):e._err(b.endTagWithoutMatchingOpenElement)},[r.EOF_TOKEN]:fe},[k]:{[r.CHARACTER_TOKEN]:he,[r.NULL_CHARACTER_TOKEN]:he,[r.WHITESPACE_CHARACTER_TOKEN]:ae,[r.COMMENT_TOKEN]:oe,[r.DOCTYPE_TOKEN]:re,[r.START_TAG_TOKEN]:function(e,t){const n=t.tagName;n===m.HTML?ke(e,t):n===m.BODY?(e._insertElement(t,g.HTML),e.framesetOk=!1,e.insertionMode=q):n===m.FRAMESET?(e._insertElement(t,g.HTML),e.insertionMode=F):n===m.BASE||n===m.BASEFONT||n===m.BGSOUND||n===m.LINK||n===m.META||n===m.NOFRAMES||n===m.SCRIPT||n===m.STYLE||n===m.TEMPLATE||n===m.TITLE?(e._err(b.abandonedHeadElementChild),e.openElements.push(e.headElement),pe(e,t),e.openElements.remove(e.headElement)):n===m.HEAD?e._err(b.misplacedStartTagForHeadElement):he(e,t)},[r.END_TAG_TOKEN]:function(e,t){const n=t.tagName;n===m.BODY||n===m.HTML||n===m.BR?he(e,t):n===m.TEMPLATE?de(e,t):e._err(b.endTagWithoutMatchingOpenElement)},[r.EOF_TOKEN]:he},[q]:{[r.CHARACTER_TOKEN]:ge,[r.NULL_CHARACTER_TOKEN]:ne,[r.WHITESPACE_CHARACTER_TOKEN]:me,[r.COMMENT_TOKEN]:oe,[r.DOCTYPE_TOKEN]:ne,[r.START_TAG_TOKEN]:ke,[r.END_TAG_TOKEN]:Re,[r.EOF_TOKEN]:Ce},[T]:{[r.CHARACTER_TOKEN]:ae,[r.NULL_CHARACTER_TOKEN]:ae,[r.WHITESPACE_CHARACTER_TOKEN]:ae,[r.COMMENT_TOKEN]:ne,[r.DOCTYPE_TOKEN]:ne,[r.START_TAG_TOKEN]:ne,[r.END_TAG_TOKEN]:function(e,t){t.tagName===m.SCRIPT&&(e.pendingScript=e.openElements.current);e.openElements.pop(),e.insertionMode=e.originalInsertionMode},[r.EOF_TOKEN]:function(e,t){e._err(b.eofInElementThatCanContainOnlyText),e.openElements.pop(),e.insertionMode=e.originalInsertionMode,e._processToken(t)}},[_]:{[r.CHARACTER_TOKEN]:Ne,[r.NULL_CHARACTER_TOKEN]:Ne,[r.WHITESPACE_CHARACTER_TOKEN]:Ne,[r.COMMENT_TOKEN]:oe,[r.DOCTYPE_TOKEN]:ne,[r.START_TAG_TOKEN]:Ie,[r.END_TAG_TOKEN]:We,[r.EOF_TOKEN]:Ce},[R]:{[r.CHARACTER_TOKEN]:function(e,t){e.pendingCharacterTokens.push(t),e.hasNonWhitespacePendingCharacterToken=!0},[r.NULL_CHARACTER_TOKEN]:ne,[r.WHITESPACE_CHARACTER_TOKEN]:function(e,t){e.pendingCharacterTokens.push(t)},[r.COMMENT_TOKEN]:Le,[r.DOCTYPE_TOKEN]:Le,[r.START_TAG_TOKEN]:Le,[r.END_TAG_TOKEN]:Le,[r.EOF_TOKEN]:Le},[C]:{[r.CHARACTER_TOKEN]:ge,[r.NULL_CHARACTER_TOKEN]:ne,[r.WHITESPACE_CHARACTER_TOKEN]:me,[r.COMMENT_TOKEN]:oe,[r.DOCTYPE_TOKEN]:ne,[r.START_TAG_TOKEN]:function(e,t){const n=t.tagName;n===m.CAPTION||n===m.COL||n===m.COLGROUP||n===m.TBODY||n===m.TD||n===m.TFOOT||n===m.TH||n===m.THEAD||n===m.TR?e.openElements.hasInTableScope(m.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(m.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=_,e._processToken(t)):ke(e,t)},[r.END_TAG_TOKEN]:function(e,t){const n=t.tagName;n===m.CAPTION||n===m.TABLE?e.openElements.hasInTableScope(m.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(m.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=_,n===m.TABLE&&e._processToken(t)):n!==m.BODY&&n!==m.COL&&n!==m.COLGROUP&&n!==m.HTML&&n!==m.TBODY&&n!==m.TD&&n!==m.TFOOT&&n!==m.TH&&n!==m.THEAD&&n!==m.TR&&Re(e,t)},[r.EOF_TOKEN]:Ce},[N]:{[r.CHARACTER_TOKEN]:je,[r.NULL_CHARACTER_TOKEN]:je,[r.WHITESPACE_CHARACTER_TOKEN]:ae,[r.COMMENT_TOKEN]:oe,[r.DOCTYPE_TOKEN]:ne,[r.START_TAG_TOKEN]:function(e,t){const n=t.tagName;n===m.HTML?ke(e,t):n===m.COL?(e._appendElement(t,g.HTML),t.ackSelfClosing=!0):n===m.TEMPLATE?pe(e,t):je(e,t)},[r.END_TAG_TOKEN]:function(e,t){const n=t.tagName;n===m.COLGROUP?e.openElements.currentTagName===m.COLGROUP&&(e.openElements.pop(),e.insertionMode=_):n===m.TEMPLATE?de(e,t):n!==m.COL&&je(e,t)},[r.EOF_TOKEN]:Ce},[I]:{[r.CHARACTER_TOKEN]:Ne,[r.NULL_CHARACTER_TOKEN]:Ne,[r.WHITESPACE_CHARACTER_TOKEN]:Ne,[r.COMMENT_TOKEN]:oe,[r.DOCTYPE_TOKEN]:ne,[r.START_TAG_TOKEN]:function(e,t){const n=t.tagName;n===m.TR?(e.openElements.clearBackToTableBodyContext(),e._insertElement(t,g.HTML),e.insertionMode=W):n===m.TH||n===m.TD?(e.openElements.clearBackToTableBodyContext(),e._insertFakeElement(m.TR),e.insertionMode=W,e._processToken(t)):n===m.CAPTION||n===m.COL||n===m.COLGROUP||n===m.TBODY||n===m.TFOOT||n===m.THEAD?e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=_,e._processToken(t)):Ie(e,t)},[r.END_TAG_TOKEN]:function(e,t){const n=t.tagName;n===m.TBODY||n===m.TFOOT||n===m.THEAD?e.openElements.hasInTableScope(n)&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=_):n===m.TABLE?e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=_,e._processToken(t)):(n!==m.BODY&&n!==m.CAPTION&&n!==m.COL&&n!==m.COLGROUP||n!==m.HTML&&n!==m.TD&&n!==m.TH&&n!==m.TR)&&We(e,t)},[r.EOF_TOKEN]:Ce},[W]:{[r.CHARACTER_TOKEN]:Ne,[r.NULL_CHARACTER_TOKEN]:Ne,[r.WHITESPACE_CHARACTER_TOKEN]:Ne,[r.COMMENT_TOKEN]:oe,[r.DOCTYPE_TOKEN]:ne,[r.START_TAG_TOKEN]:function(e,t){const n=t.tagName;n===m.TH||n===m.TD?(e.openElements.clearBackToTableRowContext(),e._insertElement(t,g.HTML),e.insertionMode=P,e.activeFormattingElements.insertMarker()):n===m.CAPTION||n===m.COL||n===m.COLGROUP||n===m.TBODY||n===m.TFOOT||n===m.THEAD||n===m.TR?e.openElements.hasInTableScope(m.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=I,e._processToken(t)):Ie(e,t)},[r.END_TAG_TOKEN]:function(e,t){const n=t.tagName;n===m.TR?e.openElements.hasInTableScope(m.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=I):n===m.TABLE?e.openElements.hasInTableScope(m.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=I,e._processToken(t)):n===m.TBODY||n===m.TFOOT||n===m.THEAD?(e.openElements.hasInTableScope(n)||e.openElements.hasInTableScope(m.TR))&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=I,e._processToken(t)):(n!==m.BODY&&n!==m.CAPTION&&n!==m.COL&&n!==m.COLGROUP||n!==m.HTML&&n!==m.TD&&n!==m.TH)&&We(e,t)},[r.EOF_TOKEN]:Ce},[P]:{[r.CHARACTER_TOKEN]:ge,[r.NULL_CHARACTER_TOKEN]:ne,[r.WHITESPACE_CHARACTER_TOKEN]:me,[r.COMMENT_TOKEN]:oe,[r.DOCTYPE_TOKEN]:ne,[r.START_TAG_TOKEN]:function(e,t){const n=t.tagName;n===m.CAPTION||n===m.COL||n===m.COLGROUP||n===m.TBODY||n===m.TD||n===m.TFOOT||n===m.TH||n===m.THEAD||n===m.TR?(e.openElements.hasInTableScope(m.TD)||e.openElements.hasInTableScope(m.TH))&&(e._closeTableCell(),e._processToken(t)):ke(e,t)},[r.END_TAG_TOKEN]:function(e,t){const n=t.tagName;n===m.TD||n===m.TH?e.openElements.hasInTableScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=W):n===m.TABLE||n===m.TBODY||n===m.TFOOT||n===m.THEAD||n===m.TR?e.openElements.hasInTableScope(n)&&(e._closeTableCell(),e._processToken(t)):n!==m.BODY&&n!==m.CAPTION&&n!==m.COL&&n!==m.COLGROUP&&n!==m.HTML&&Re(e,t)},[r.EOF_TOKEN]:Ce},[L]:{[r.CHARACTER_TOKEN]:ae,[r.NULL_CHARACTER_TOKEN]:ne,[r.WHITESPACE_CHARACTER_TOKEN]:ae,[r.COMMENT_TOKEN]:oe,[r.DOCTYPE_TOKEN]:ne,[r.START_TAG_TOKEN]:De,[r.END_TAG_TOKEN]:Be,[r.EOF_TOKEN]:Ce},[j]:{[r.CHARACTER_TOKEN]:ae,[r.NULL_CHARACTER_TOKEN]:ne,[r.WHITESPACE_CHARACTER_TOKEN]:ae,[r.COMMENT_TOKEN]:oe,[r.DOCTYPE_TOKEN]:ne,[r.START_TAG_TOKEN]:function(e,t){const n=t.tagName;n===m.CAPTION||n===m.TABLE||n===m.TBODY||n===m.TFOOT||n===m.THEAD||n===m.TR||n===m.TD||n===m.TH?(e.openElements.popUntilTagNamePopped(m.SELECT),e._resetInsertionMode(),e._processToken(t)):De(e,t)},[r.END_TAG_TOKEN]:function(e,t){const n=t.tagName;n===m.CAPTION||n===m.TABLE||n===m.TBODY||n===m.TFOOT||n===m.THEAD||n===m.TR||n===m.TD||n===m.TH?e.openElements.hasInTableScope(n)&&(e.openElements.popUntilTagNamePopped(m.SELECT),e._resetInsertionMode(),e._processToken(t)):Be(e,t)},[r.EOF_TOKEN]:Ce},[D]:{[r.CHARACTER_TOKEN]:ge,[r.NULL_CHARACTER_TOKEN]:ne,[r.WHITESPACE_CHARACTER_TOKEN]:me,[r.COMMENT_TOKEN]:oe,[r.DOCTYPE_TOKEN]:ne,[r.START_TAG_TOKEN]:function(e,t){const n=t.tagName;if(n===m.BASE||n===m.BASEFONT||n===m.BGSOUND||n===m.LINK||n===m.META||n===m.NOFRAMES||n===m.SCRIPT||n===m.STYLE||n===m.TEMPLATE||n===m.TITLE)pe(e,t);else{const r=G[n]||q;e._popTmplInsertionMode(),e._pushTmplInsertionMode(r),e.insertionMode=r,e._processToken(t)}},[r.END_TAG_TOKEN]:function(e,t){t.tagName===m.TEMPLATE&&de(e,t)},[r.EOF_TOKEN]:Fe},[B]:{[r.CHARACTER_TOKEN]:Ve,[r.NULL_CHARACTER_TOKEN]:Ve,[r.WHITESPACE_CHARACTER_TOKEN]:me,[r.COMMENT_TOKEN]:function(e,t){e._appendCommentNode(t,e.openElements.items[0])},[r.DOCTYPE_TOKEN]:ne,[r.START_TAG_TOKEN]:function(e,t){t.tagName===m.HTML?ke(e,t):Ve(e,t)},[r.END_TAG_TOKEN]:function(e,t){t.tagName===m.HTML?e.fragmentContext||(e.insertionMode=U):Ve(e,t)},[r.EOF_TOKEN]:se},[F]:{[r.CHARACTER_TOKEN]:ne,[r.NULL_CHARACTER_TOKEN]:ne,[r.WHITESPACE_CHARACTER_TOKEN]:ae,[r.COMMENT_TOKEN]:oe,[r.DOCTYPE_TOKEN]:ne,[r.START_TAG_TOKEN]:function(e,t){const n=t.tagName;n===m.HTML?ke(e,t):n===m.FRAMESET?e._insertElement(t,g.HTML):n===m.FRAME?(e._appendElement(t,g.HTML),t.ackSelfClosing=!0):n===m.NOFRAMES&&pe(e,t)},[r.END_TAG_TOKEN]:function(e,t){t.tagName!==m.FRAMESET||e.openElements.isRootHtmlElementCurrent()||(e.openElements.pop(),e.fragmentContext||e.openElements.currentTagName===m.FRAMESET||(e.insertionMode=V))},[r.EOF_TOKEN]:se},[V]:{[r.CHARACTER_TOKEN]:ne,[r.NULL_CHARACTER_TOKEN]:ne,[r.WHITESPACE_CHARACTER_TOKEN]:ae,[r.COMMENT_TOKEN]:oe,[r.DOCTYPE_TOKEN]:ne,[r.START_TAG_TOKEN]:function(e,t){const n=t.tagName;n===m.HTML?ke(e,t):n===m.NOFRAMES&&pe(e,t)},[r.END_TAG_TOKEN]:function(e,t){t.tagName===m.HTML&&(e.insertionMode=H)},[r.EOF_TOKEN]:se},[U]:{[r.CHARACTER_TOKEN]:Ue,[r.NULL_CHARACTER_TOKEN]:Ue,[r.WHITESPACE_CHARACTER_TOKEN]:me,[r.COMMENT_TOKEN]:ie,[r.DOCTYPE_TOKEN]:ne,[r.START_TAG_TOKEN]:function(e,t){t.tagName===m.HTML?ke(e,t):Ue(e,t)},[r.END_TAG_TOKEN]:Ue,[r.EOF_TOKEN]:se},[H]:{[r.CHARACTER_TOKEN]:ne,[r.NULL_CHARACTER_TOKEN]:ne,[r.WHITESPACE_CHARACTER_TOKEN]:me,[r.COMMENT_TOKEN]:ie,[r.DOCTYPE_TOKEN]:ne,[r.START_TAG_TOKEN]:function(e,t){const n=t.tagName;n===m.HTML?ke(e,t):n===m.NOFRAMES&&pe(e,t)},[r.END_TAG_TOKEN]:ne,[r.EOF_TOKEN]:se}};function K(e,t){let n=e.activeFormattingElements.getElementEntryInScopeWithTagName(t.tagName);return n?e.openElements.contains(n.element)?e.openElements.hasInScope(t.tagName)||(n=null):(e.activeFormattingElements.removeEntry(n),n=null):_e(e,t),n}function Y(e,t){let n=null;for(let r=e.openElements.stackTop;r>=0;r--){const o=e.openElements.items[r];if(o===t.element)break;e._isSpecialElement(o)&&(n=o)}return n||(e.openElements.popUntilElementPopped(t.element),e.activeFormattingElements.removeEntry(t)),n}function Z(e,t,n){let r=t,o=e.openElements.getCommonAncestor(t);for(let i=0,a=o;a!==n;i++,a=o){o=e.openElements.getCommonAncestor(a);const n=e.activeFormattingElements.getElementEntry(a),s=n&&i>=A;!n||s?(s&&e.activeFormattingElements.removeEntry(n),e.openElements.remove(a)):(a=J(e,n),r===t&&(e.activeFormattingElements.bookmark=n),e.treeAdapter.detachNode(r),e.treeAdapter.appendChild(a,r),r=a)}return r}function J(e,t){const n=e.treeAdapter.getNamespaceURI(t.element),r=e.treeAdapter.createElement(t.token.tagName,n,t.token.attrs);return e.openElements.replace(t.element,r),t.element=r,r}function Q(e,t,n){if(e._isElementCausesFosterParenting(t))e._fosterParentElement(n);else{const r=e.treeAdapter.getTagName(t),o=e.treeAdapter.getNamespaceURI(t);r===m.TEMPLATE&&o===g.HTML&&(t=e.treeAdapter.getTemplateContent(t)),e.treeAdapter.appendChild(t,n)}}function ee(e,t,n){const r=e.treeAdapter.getNamespaceURI(n.element),o=n.token,i=e.treeAdapter.createElement(o.tagName,r,o.attrs);e._adoptNodes(t,i),e.treeAdapter.appendChild(t,i),e.activeFormattingElements.insertElementAfterBookmark(i,n.token),e.activeFormattingElements.removeEntry(n),e.openElements.remove(n.element),e.openElements.insertAfter(t,i)}function te(e,t){let n;for(let r=0;r0?(e.openElements.generateImpliedEndTagsThoroughly(),e.openElements.currentTagName!==m.TEMPLATE&&e._err(b.closingOfElementWithOpenChildElements),e.openElements.popUntilTagNamePopped(m.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e._popTmplInsertionMode(),e._resetInsertionMode()):e._err(b.endTagWithoutMatchingOpenElement)}function be(e,t){e.openElements.pop(),e.insertionMode=k,e._processToken(t)}function fe(e,t){const n=t.type===r.EOF_TOKEN?b.openElementsLeftAfterEof:b.disallowedContentInNoscriptInHead;e._err(n),e.openElements.pop(),e.insertionMode=x,e._processToken(t)}function he(e,t){e._insertFakeElement(m.BODY),e.insertionMode=q,e._processToken(t)}function me(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t)}function ge(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t),e.framesetOk=!1}function Oe(e,t){e.openElements.hasInButtonScope(m.P)&&e._closePElement(),e._insertElement(t,g.HTML)}function ye(e,t){e.openElements.hasInButtonScope(m.P)&&e._closePElement(),e._insertElement(t,g.HTML),e.skipNextNewLine=!0,e.framesetOk=!1}function Me(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,g.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function ze(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,g.HTML),e.activeFormattingElements.insertMarker(),e.framesetOk=!1}function Ae(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,g.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function ve(e,t){e._appendElement(t,g.HTML),t.ackSelfClosing=!0}function we(e,t){e._switchToTextParsing(t,r.MODE.RAWTEXT)}function Se(e,t){e.openElements.currentTagName===m.OPTION&&e.openElements.pop(),e._reconstructActiveFormattingElements(),e._insertElement(t,g.HTML)}function xe(e,t){e.openElements.hasInScope(m.RUBY)&&e.openElements.generateImpliedEndTags(),e._insertElement(t,g.HTML)}function Ee(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,g.HTML)}function ke(e,t){const n=t.tagName;switch(n.length){case 1:n===m.I||n===m.S||n===m.B||n===m.U?Me(e,t):n===m.P?Oe(e,t):n===m.A?function(e,t){const n=e.activeFormattingElements.getElementEntryInScopeWithTagName(m.A);n&&(te(e,t),e.openElements.remove(n.element),e.activeFormattingElements.removeEntry(n)),e._reconstructActiveFormattingElements(),e._insertElement(t,g.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}(e,t):Ee(e,t);break;case 2:n===m.DL||n===m.OL||n===m.UL?Oe(e,t):n===m.H1||n===m.H2||n===m.H3||n===m.H4||n===m.H5||n===m.H6?function(e,t){e.openElements.hasInButtonScope(m.P)&&e._closePElement();const n=e.openElements.currentTagName;n!==m.H1&&n!==m.H2&&n!==m.H3&&n!==m.H4&&n!==m.H5&&n!==m.H6||e.openElements.pop(),e._insertElement(t,g.HTML)}(e,t):n===m.LI||n===m.DD||n===m.DT?function(e,t){e.framesetOk=!1;const n=t.tagName;for(let r=e.openElements.stackTop;r>=0;r--){const t=e.openElements.items[r],o=e.treeAdapter.getTagName(t);let i=null;if(n===m.LI&&o===m.LI?i=m.LI:n!==m.DD&&n!==m.DT||o!==m.DD&&o!==m.DT||(i=o),i){e.openElements.generateImpliedEndTagsWithExclusion(i),e.openElements.popUntilTagNamePopped(i);break}if(o!==m.ADDRESS&&o!==m.DIV&&o!==m.P&&e._isSpecialElement(t))break}e.openElements.hasInButtonScope(m.P)&&e._closePElement(),e._insertElement(t,g.HTML)}(e,t):n===m.EM||n===m.TT?Me(e,t):n===m.BR?Ae(e,t):n===m.HR?function(e,t){e.openElements.hasInButtonScope(m.P)&&e._closePElement(),e._appendElement(t,g.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}(e,t):n===m.RB?xe(e,t):n===m.RT||n===m.RP?function(e,t){e.openElements.hasInScope(m.RUBY)&&e.openElements.generateImpliedEndTagsWithExclusion(m.RTC),e._insertElement(t,g.HTML)}(e,t):n!==m.TH&&n!==m.TD&&n!==m.TR&&Ee(e,t);break;case 3:n===m.DIV||n===m.DIR||n===m.NAV?Oe(e,t):n===m.PRE?ye(e,t):n===m.BIG?Me(e,t):n===m.IMG||n===m.WBR?Ae(e,t):n===m.XMP?function(e,t){e.openElements.hasInButtonScope(m.P)&&e._closePElement(),e._reconstructActiveFormattingElements(),e.framesetOk=!1,e._switchToTextParsing(t,r.MODE.RAWTEXT)}(e,t):n===m.SVG?function(e,t){e._reconstructActiveFormattingElements(),d.adjustTokenSVGAttrs(t),d.adjustTokenXMLAttrs(t),t.selfClosing?e._appendElement(t,g.SVG):e._insertElement(t,g.SVG),t.ackSelfClosing=!0}(e,t):n===m.RTC?xe(e,t):n!==m.COL&&Ee(e,t);break;case 4:n===m.HTML?function(e,t){0===e.openElements.tmplCount&&e.treeAdapter.adoptAttributes(e.openElements.items[0],t.attrs)}(e,t):n===m.BASE||n===m.LINK||n===m.META?pe(e,t):n===m.BODY?function(e,t){const n=e.openElements.tryPeekProperlyNestedBodyElement();n&&0===e.openElements.tmplCount&&(e.framesetOk=!1,e.treeAdapter.adoptAttributes(n,t.attrs))}(e,t):n===m.MAIN||n===m.MENU?Oe(e,t):n===m.FORM?function(e,t){const n=e.openElements.tmplCount>0;e.formElement&&!n||(e.openElements.hasInButtonScope(m.P)&&e._closePElement(),e._insertElement(t,g.HTML),n||(e.formElement=e.openElements.current))}(e,t):n===m.CODE||n===m.FONT?Me(e,t):n===m.NOBR?function(e,t){e._reconstructActiveFormattingElements(),e.openElements.hasInScope(m.NOBR)&&(te(e,t),e._reconstructActiveFormattingElements()),e._insertElement(t,g.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}(e,t):n===m.AREA?Ae(e,t):n===m.MATH?function(e,t){e._reconstructActiveFormattingElements(),d.adjustTokenMathMLAttrs(t),d.adjustTokenXMLAttrs(t),t.selfClosing?e._appendElement(t,g.MATHML):e._insertElement(t,g.MATHML),t.ackSelfClosing=!0}(e,t):n===m.MENU?function(e,t){e.openElements.hasInButtonScope(m.P)&&e._closePElement(),e._insertElement(t,g.HTML)}(e,t):n!==m.HEAD&&Ee(e,t);break;case 5:n===m.STYLE||n===m.TITLE?pe(e,t):n===m.ASIDE?Oe(e,t):n===m.SMALL?Me(e,t):n===m.TABLE?function(e,t){e.treeAdapter.getDocumentMode(e.document)!==h.DOCUMENT_MODE.QUIRKS&&e.openElements.hasInButtonScope(m.P)&&e._closePElement(),e._insertElement(t,g.HTML),e.framesetOk=!1,e.insertionMode=_}(e,t):n===m.EMBED?Ae(e,t):n===m.INPUT?function(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,g.HTML);const n=r.getTokenAttr(t,O.TYPE);n&&n.toLowerCase()===M||(e.framesetOk=!1),t.ackSelfClosing=!0}(e,t):n===m.PARAM||n===m.TRACK?ve(e,t):n===m.IMAGE?function(e,t){t.tagName=m.IMG,Ae(e,t)}(e,t):n!==m.FRAME&&n!==m.TBODY&&n!==m.TFOOT&&n!==m.THEAD&&Ee(e,t);break;case 6:n===m.SCRIPT?pe(e,t):n===m.CENTER||n===m.FIGURE||n===m.FOOTER||n===m.HEADER||n===m.HGROUP||n===m.DIALOG?Oe(e,t):n===m.BUTTON?function(e,t){e.openElements.hasInScope(m.BUTTON)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(m.BUTTON)),e._reconstructActiveFormattingElements(),e._insertElement(t,g.HTML),e.framesetOk=!1}(e,t):n===m.STRIKE||n===m.STRONG?Me(e,t):n===m.APPLET||n===m.OBJECT?ze(e,t):n===m.KEYGEN?Ae(e,t):n===m.SOURCE?ve(e,t):n===m.IFRAME?function(e,t){e.framesetOk=!1,e._switchToTextParsing(t,r.MODE.RAWTEXT)}(e,t):n===m.SELECT?function(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,g.HTML),e.framesetOk=!1,e.insertionMode===_||e.insertionMode===C||e.insertionMode===I||e.insertionMode===W||e.insertionMode===P?e.insertionMode=j:e.insertionMode=L}(e,t):n===m.OPTION?Se(e,t):Ee(e,t);break;case 7:n===m.BGSOUND?pe(e,t):n===m.DETAILS||n===m.ADDRESS||n===m.ARTICLE||n===m.SECTION||n===m.SUMMARY?Oe(e,t):n===m.LISTING?ye(e,t):n===m.MARQUEE?ze(e,t):n===m.NOEMBED?we(e,t):n!==m.CAPTION&&Ee(e,t);break;case 8:n===m.BASEFONT?pe(e,t):n===m.FRAMESET?function(e,t){const n=e.openElements.tryPeekProperlyNestedBodyElement();e.framesetOk&&n&&(e.treeAdapter.detachNode(n),e.openElements.popAllUpToHtmlElement(),e._insertElement(t,g.HTML),e.insertionMode=F)}(e,t):n===m.FIELDSET?Oe(e,t):n===m.TEXTAREA?function(e,t){e._insertElement(t,g.HTML),e.skipNextNewLine=!0,e.tokenizer.state=r.MODE.RCDATA,e.originalInsertionMode=e.insertionMode,e.framesetOk=!1,e.insertionMode=T}(e,t):n===m.TEMPLATE?pe(e,t):n===m.NOSCRIPT?e.options.scriptingEnabled?we(e,t):Ee(e,t):n===m.OPTGROUP?Se(e,t):n!==m.COLGROUP&&Ee(e,t);break;case 9:n===m.PLAINTEXT?function(e,t){e.openElements.hasInButtonScope(m.P)&&e._closePElement(),e._insertElement(t,g.HTML),e.tokenizer.state=r.MODE.PLAINTEXT}(e,t):Ee(e,t);break;case 10:n===m.BLOCKQUOTE||n===m.FIGCAPTION?Oe(e,t):Ee(e,t);break;default:Ee(e,t)}}function qe(e,t){const n=t.tagName;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n))}function Te(e,t){const n=t.tagName;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker())}function _e(e,t){const n=t.tagName;for(let r=e.openElements.stackTop;r>0;r--){const t=e.openElements.items[r];if(e.treeAdapter.getTagName(t)===n){e.openElements.generateImpliedEndTagsWithExclusion(n),e.openElements.popUntilElementPopped(t);break}if(e._isSpecialElement(t))break}}function Re(e,t){const n=t.tagName;switch(n.length){case 1:n===m.A||n===m.B||n===m.I||n===m.S||n===m.U?te(e,t):n===m.P?function(e){e.openElements.hasInButtonScope(m.P)||e._insertFakeElement(m.P),e._closePElement()}(e):_e(e,t);break;case 2:n===m.DL||n===m.UL||n===m.OL?qe(e,t):n===m.LI?function(e){e.openElements.hasInListItemScope(m.LI)&&(e.openElements.generateImpliedEndTagsWithExclusion(m.LI),e.openElements.popUntilTagNamePopped(m.LI))}(e):n===m.DD||n===m.DT?function(e,t){const n=t.tagName;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTagsWithExclusion(n),e.openElements.popUntilTagNamePopped(n))}(e,t):n===m.H1||n===m.H2||n===m.H3||n===m.H4||n===m.H5||n===m.H6?function(e){e.openElements.hasNumberedHeaderInScope()&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilNumberedHeaderPopped())}(e):n===m.BR?function(e){e._reconstructActiveFormattingElements(),e._insertFakeElement(m.BR),e.openElements.pop(),e.framesetOk=!1}(e):n===m.EM||n===m.TT?te(e,t):_e(e,t);break;case 3:n===m.BIG?te(e,t):n===m.DIR||n===m.DIV||n===m.NAV||n===m.PRE?qe(e,t):_e(e,t);break;case 4:n===m.BODY?function(e){e.openElements.hasInScope(m.BODY)&&(e.insertionMode=B)}(e):n===m.HTML?function(e,t){e.openElements.hasInScope(m.BODY)&&(e.insertionMode=B,e._processToken(t))}(e,t):n===m.FORM?function(e){const t=e.openElements.tmplCount>0,n=e.formElement;t||(e.formElement=null),(n||t)&&e.openElements.hasInScope(m.FORM)&&(e.openElements.generateImpliedEndTags(),t?e.openElements.popUntilTagNamePopped(m.FORM):e.openElements.remove(n))}(e):n===m.CODE||n===m.FONT||n===m.NOBR?te(e,t):n===m.MAIN||n===m.MENU?qe(e,t):_e(e,t);break;case 5:n===m.ASIDE?qe(e,t):n===m.SMALL?te(e,t):_e(e,t);break;case 6:n===m.CENTER||n===m.FIGURE||n===m.FOOTER||n===m.HEADER||n===m.HGROUP||n===m.DIALOG?qe(e,t):n===m.APPLET||n===m.OBJECT?Te(e,t):n===m.STRIKE||n===m.STRONG?te(e,t):_e(e,t);break;case 7:n===m.ADDRESS||n===m.ARTICLE||n===m.DETAILS||n===m.SECTION||n===m.SUMMARY||n===m.LISTING?qe(e,t):n===m.MARQUEE?Te(e,t):_e(e,t);break;case 8:n===m.FIELDSET?qe(e,t):n===m.TEMPLATE?de(e,t):_e(e,t);break;case 10:n===m.BLOCKQUOTE||n===m.FIGCAPTION?qe(e,t):_e(e,t);break;default:_e(e,t)}}function Ce(e,t){e.tmplInsertionModeStackTop>-1?Fe(e,t):e.stopped=!0}function Ne(e,t){const n=e.openElements.currentTagName;n===m.TABLE||n===m.TBODY||n===m.TFOOT||n===m.THEAD||n===m.TR?(e.pendingCharacterTokens=[],e.hasNonWhitespacePendingCharacterToken=!1,e.originalInsertionMode=e.insertionMode,e.insertionMode=R,e._processToken(t)):Pe(e,t)}function Ie(e,t){const n=t.tagName;switch(n.length){case 2:n===m.TD||n===m.TH||n===m.TR?function(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(m.TBODY),e.insertionMode=I,e._processToken(t)}(e,t):Pe(e,t);break;case 3:n===m.COL?function(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(m.COLGROUP),e.insertionMode=N,e._processToken(t)}(e,t):Pe(e,t);break;case 4:n===m.FORM?function(e,t){e.formElement||0!==e.openElements.tmplCount||(e._insertElement(t,g.HTML),e.formElement=e.openElements.current,e.openElements.pop())}(e,t):Pe(e,t);break;case 5:n===m.TABLE?function(e,t){e.openElements.hasInTableScope(m.TABLE)&&(e.openElements.popUntilTagNamePopped(m.TABLE),e._resetInsertionMode(),e._processToken(t))}(e,t):n===m.STYLE?pe(e,t):n===m.TBODY||n===m.TFOOT||n===m.THEAD?function(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,g.HTML),e.insertionMode=I}(e,t):n===m.INPUT?function(e,t){const n=r.getTokenAttr(t,O.TYPE);n&&n.toLowerCase()===M?e._appendElement(t,g.HTML):Pe(e,t),t.ackSelfClosing=!0}(e,t):Pe(e,t);break;case 6:n===m.SCRIPT?pe(e,t):Pe(e,t);break;case 7:n===m.CAPTION?function(e,t){e.openElements.clearBackToTableContext(),e.activeFormattingElements.insertMarker(),e._insertElement(t,g.HTML),e.insertionMode=C}(e,t):Pe(e,t);break;case 8:n===m.COLGROUP?function(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,g.HTML),e.insertionMode=N}(e,t):n===m.TEMPLATE?pe(e,t):Pe(e,t);break;default:Pe(e,t)}}function We(e,t){const n=t.tagName;n===m.TABLE?e.openElements.hasInTableScope(m.TABLE)&&(e.openElements.popUntilTagNamePopped(m.TABLE),e._resetInsertionMode()):n===m.TEMPLATE?de(e,t):n!==m.BODY&&n!==m.CAPTION&&n!==m.COL&&n!==m.COLGROUP&&n!==m.HTML&&n!==m.TBODY&&n!==m.TD&&n!==m.TFOOT&&n!==m.TH&&n!==m.THEAD&&n!==m.TR&&Pe(e,t)}function Pe(e,t){const n=e.fosterParentingEnabled;e.fosterParentingEnabled=!0,e._processTokenInBodyMode(t),e.fosterParentingEnabled=n}function Le(e,t){let n=0;if(e.hasNonWhitespacePendingCharacterToken)for(;n0?(e.openElements.popUntilTagNamePopped(m.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e._popTmplInsertionMode(),e._resetInsertionMode(),e._processToken(t)):e.stopped=!0}function Ve(e,t){e.insertionMode=q,e._processToken(t)}function Ue(e,t){e.insertionMode=q,e._processToken(t)}e.exports=class{constructor(e){this.options=u(y,e),this.treeAdapter=this.options.treeAdapter,this.pendingScript=null,this.options.sourceCodeLocationInfo&&l.install(this,a),this.options.onParseError&&l.install(this,s,{onParseError:this.options.onParseError})}parse(e){const t=this.treeAdapter.createDocument();return this._bootstrap(t,null),this.tokenizer.write(e,!0),this._runParsingLoop(null),t}parseFragment(e,t){t||(t=this.treeAdapter.createElement(m.TEMPLATE,g.HTML,[]));const n=this.treeAdapter.createElement("documentmock",g.HTML,[]);this._bootstrap(n,t),this.treeAdapter.getTagName(t)===m.TEMPLATE&&this._pushTmplInsertionMode(D),this._initTokenizerForFragmentParsing(),this._insertFakeRootElement(),this._resetInsertionMode(),this._findFormInFragmentContext(),this.tokenizer.write(e,!0),this._runParsingLoop(null);const r=this.treeAdapter.getFirstChild(n),o=this.treeAdapter.createDocumentFragment();return this._adoptNodes(r,o),o}_bootstrap(e,t){this.tokenizer=new r(this.options),this.stopped=!1,this.insertionMode=v,this.originalInsertionMode="",this.document=e,this.fragmentContext=t,this.headElement=null,this.formElement=null,this.openElements=new o(this.document,this.treeAdapter),this.activeFormattingElements=new i(this.treeAdapter),this.tmplInsertionModeStack=[],this.tmplInsertionModeStackTop=-1,this.currentTmplInsertionMode=null,this.pendingCharacterTokens=[],this.hasNonWhitespacePendingCharacterToken=!1,this.framesetOk=!0,this.skipNextNewLine=!1,this.fosterParentingEnabled=!1}_err(){}_runParsingLoop(e){for(;!this.stopped;){this._setupTokenizerCDATAMode();const t=this.tokenizer.getNextToken();if(t.type===r.HIBERNATION_TOKEN)break;if(this.skipNextNewLine&&(this.skipNextNewLine=!1,t.type===r.WHITESPACE_CHARACTER_TOKEN&&"\n"===t.chars[0])){if(1===t.chars.length)continue;t.chars=t.chars.substr(1)}if(this._processInputToken(t),e&&this.pendingScript)break}}runParsingLoopForCurrentChunk(e,t){if(this._runParsingLoop(t),t&&this.pendingScript){const e=this.pendingScript;return this.pendingScript=null,void t(e)}e&&e()}_setupTokenizerCDATAMode(){const e=this._getAdjustedCurrentElement();this.tokenizer.allowCDATA=e&&e!==this.document&&this.treeAdapter.getNamespaceURI(e)!==g.HTML&&!this._isIntegrationPoint(e)}_switchToTextParsing(e,t){this._insertElement(e,g.HTML),this.tokenizer.state=t,this.originalInsertionMode=this.insertionMode,this.insertionMode=T}switchToPlaintextParsing(){this.insertionMode=T,this.originalInsertionMode=q,this.tokenizer.state=r.MODE.PLAINTEXT}_getAdjustedCurrentElement(){return 0===this.openElements.stackTop&&this.fragmentContext?this.fragmentContext:this.openElements.current}_findFormInFragmentContext(){let e=this.fragmentContext;do{if(this.treeAdapter.getTagName(e)===m.FORM){this.formElement=e;break}e=this.treeAdapter.getParentNode(e)}while(e)}_initTokenizerForFragmentParsing(){if(this.treeAdapter.getNamespaceURI(this.fragmentContext)===g.HTML){const e=this.treeAdapter.getTagName(this.fragmentContext);e===m.TITLE||e===m.TEXTAREA?this.tokenizer.state=r.MODE.RCDATA:e===m.STYLE||e===m.XMP||e===m.IFRAME||e===m.NOEMBED||e===m.NOFRAMES||e===m.NOSCRIPT?this.tokenizer.state=r.MODE.RAWTEXT:e===m.SCRIPT?this.tokenizer.state=r.MODE.SCRIPT_DATA:e===m.PLAINTEXT&&(this.tokenizer.state=r.MODE.PLAINTEXT)}}_setDocumentType(e){const t=e.name||"",n=e.publicId||"",r=e.systemId||"";this.treeAdapter.setDocumentType(this.document,t,n,r)}_attachElementToTree(e){if(this._shouldFosterParentOnInsertion())this._fosterParentElement(e);else{const t=this.openElements.currentTmplContent||this.openElements.current;this.treeAdapter.appendChild(t,e)}}_appendElement(e,t){const n=this.treeAdapter.createElement(e.tagName,t,e.attrs);this._attachElementToTree(n)}_insertElement(e,t){const n=this.treeAdapter.createElement(e.tagName,t,e.attrs);this._attachElementToTree(n),this.openElements.push(n)}_insertFakeElement(e){const t=this.treeAdapter.createElement(e,g.HTML,[]);this._attachElementToTree(t),this.openElements.push(t)}_insertTemplate(e){const t=this.treeAdapter.createElement(e.tagName,g.HTML,e.attrs),n=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(t,n),this._attachElementToTree(t),this.openElements.push(t)}_insertFakeRootElement(){const e=this.treeAdapter.createElement(m.HTML,g.HTML,[]);this.treeAdapter.appendChild(this.openElements.current,e),this.openElements.push(e)}_appendCommentNode(e,t){const n=this.treeAdapter.createCommentNode(e.data);this.treeAdapter.appendChild(t,n)}_insertCharacters(e){if(this._shouldFosterParentOnInsertion())this._fosterParentText(e.chars);else{const t=this.openElements.currentTmplContent||this.openElements.current;this.treeAdapter.insertText(t,e.chars)}}_adoptNodes(e,t){for(let n=this.treeAdapter.getFirstChild(e);n;n=this.treeAdapter.getFirstChild(e))this.treeAdapter.detachNode(n),this.treeAdapter.appendChild(t,n)}_shouldProcessTokenInForeignContent(e){const t=this._getAdjustedCurrentElement();if(!t||t===this.document)return!1;const n=this.treeAdapter.getNamespaceURI(t);if(n===g.HTML)return!1;if(this.treeAdapter.getTagName(t)===m.ANNOTATION_XML&&n===g.MATHML&&e.type===r.START_TAG_TOKEN&&e.tagName===m.SVG)return!1;const o=e.type===r.CHARACTER_TOKEN||e.type===r.NULL_CHARACTER_TOKEN||e.type===r.WHITESPACE_CHARACTER_TOKEN;return(!(e.type===r.START_TAG_TOKEN&&e.tagName!==m.MGLYPH&&e.tagName!==m.MALIGNMARK)&&!o||!this._isIntegrationPoint(t,g.MATHML))&&((e.type!==r.START_TAG_TOKEN&&!o||!this._isIntegrationPoint(t,g.HTML))&&e.type!==r.EOF_TOKEN)}_processToken(e){$[this.insertionMode][e.type](this,e)}_processTokenInBodyMode(e){$[q][e.type](this,e)}_processTokenInForeignContent(e){e.type===r.CHARACTER_TOKEN?function(e,t){e._insertCharacters(t),e.framesetOk=!1}(this,e):e.type===r.NULL_CHARACTER_TOKEN?function(e,t){t.chars=f.REPLACEMENT_CHARACTER,e._insertCharacters(t)}(this,e):e.type===r.WHITESPACE_CHARACTER_TOKEN?ae(this,e):e.type===r.COMMENT_TOKEN?oe(this,e):e.type===r.START_TAG_TOKEN?function(e,t){if(d.causesExit(t)&&!e.fragmentContext){for(;e.treeAdapter.getNamespaceURI(e.openElements.current)!==g.HTML&&!e._isIntegrationPoint(e.openElements.current);)e.openElements.pop();e._processToken(t)}else{const n=e._getAdjustedCurrentElement(),r=e.treeAdapter.getNamespaceURI(n);r===g.MATHML?d.adjustTokenMathMLAttrs(t):r===g.SVG&&(d.adjustTokenSVGTagName(t),d.adjustTokenSVGAttrs(t)),d.adjustTokenXMLAttrs(t),t.selfClosing?e._appendElement(t,r):e._insertElement(t,r),t.ackSelfClosing=!0}}(this,e):e.type===r.END_TAG_TOKEN&&function(e,t){for(let n=e.openElements.stackTop;n>0;n--){const r=e.openElements.items[n];if(e.treeAdapter.getNamespaceURI(r)===g.HTML){e._processToken(t);break}if(e.treeAdapter.getTagName(r).toLowerCase()===t.tagName){e.openElements.popUntilElementPopped(r);break}}}(this,e)}_processInputToken(e){this._shouldProcessTokenInForeignContent(e)?this._processTokenInForeignContent(e):this._processToken(e),e.type===r.START_TAG_TOKEN&&e.selfClosing&&!e.ackSelfClosing&&this._err(b.nonVoidHtmlElementStartTagWithTrailingSolidus)}_isIntegrationPoint(e,t){const n=this.treeAdapter.getTagName(e),r=this.treeAdapter.getNamespaceURI(e),o=this.treeAdapter.getAttrList(e);return d.isIntegrationPoint(n,r,o,t)}_reconstructActiveFormattingElements(){const e=this.activeFormattingElements.length;if(e){let t=e,n=null;do{if(t--,n=this.activeFormattingElements.entries[t],n.type===i.MARKER_ENTRY||this.openElements.contains(n.element)){t++;break}}while(t>0);for(let r=t;r=0;e--){let n=this.openElements.items[e];0===e&&(t=!0,this.fragmentContext&&(n=this.fragmentContext));const r=this.treeAdapter.getTagName(n),o=X[r];if(o){this.insertionMode=o;break}if(!(t||r!==m.TD&&r!==m.TH)){this.insertionMode=P;break}if(!t&&r===m.HEAD){this.insertionMode=x;break}if(r===m.SELECT){this._resetInsertionModeForSelect(e);break}if(r===m.TEMPLATE){this.insertionMode=this.currentTmplInsertionMode;break}if(r===m.HTML){this.insertionMode=this.headElement?k:S;break}if(t){this.insertionMode=q;break}}}_resetInsertionModeForSelect(e){if(e>0)for(let t=e-1;t>0;t--){const e=this.openElements.items[t],n=this.treeAdapter.getTagName(e);if(n===m.TEMPLATE)break;if(n===m.TABLE)return void(this.insertionMode=j)}this.insertionMode=L}_pushTmplInsertionMode(e){this.tmplInsertionModeStack.push(e),this.tmplInsertionModeStackTop++,this.currentTmplInsertionMode=e}_popTmplInsertionMode(){this.tmplInsertionModeStack.pop(),this.tmplInsertionModeStackTop--,this.currentTmplInsertionMode=this.tmplInsertionModeStack[this.tmplInsertionModeStackTop]}_isElementCausesFosterParenting(e){const t=this.treeAdapter.getTagName(e);return t===m.TABLE||t===m.TBODY||t===m.TFOOT||t===m.THEAD||t===m.TR}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&this._isElementCausesFosterParenting(this.openElements.current)}_findFosterParentingLocation(){const e={parent:null,beforeElement:null};for(let t=this.openElements.stackTop;t>=0;t--){const n=this.openElements.items[t],r=this.treeAdapter.getTagName(n),o=this.treeAdapter.getNamespaceURI(n);if(r===m.TEMPLATE&&o===g.HTML){e.parent=this.treeAdapter.getTemplateContent(n);break}if(r===m.TABLE){e.parent=this.treeAdapter.getParentNode(n),e.parent?e.beforeElement=n:e.parent=this.openElements.items[t-1];break}}return e.parent||(e.parent=this.openElements.items[0]),e}_fosterParentElement(e){const t=this._findFosterParentingLocation();t.beforeElement?this.treeAdapter.insertBefore(t.parent,e,t.beforeElement):this.treeAdapter.appendChild(t.parent,e)}_fosterParentText(e){const t=this._findFosterParentingLocation();t.beforeElement?this.treeAdapter.insertTextBefore(t.parent,e,t.beforeElement):this.treeAdapter.insertText(t.parent,e)}_isSpecialElement(e){const t=this.treeAdapter.getTagName(e),n=this.treeAdapter.getNamespaceURI(e);return h.SPECIAL_ELEMENTS[n][t]}}},83618:(e,t,n)=>{"use strict";const r=n(72449),o=r.TAG_NAMES,i=r.NAMESPACES;function a(e){switch(e.length){case 1:return e===o.P;case 2:return e===o.RB||e===o.RP||e===o.RT||e===o.DD||e===o.DT||e===o.LI;case 3:return e===o.RTC;case 6:return e===o.OPTION;case 8:return e===o.OPTGROUP}return!1}function s(e){switch(e.length){case 1:return e===o.P;case 2:return e===o.RB||e===o.RP||e===o.RT||e===o.DD||e===o.DT||e===o.LI||e===o.TD||e===o.TH||e===o.TR;case 3:return e===o.RTC;case 5:return e===o.TBODY||e===o.TFOOT||e===o.THEAD;case 6:return e===o.OPTION;case 7:return e===o.CAPTION;case 8:return e===o.OPTGROUP||e===o.COLGROUP}return!1}function l(e,t){switch(e.length){case 2:if(e===o.TD||e===o.TH)return t===i.HTML;if(e===o.MI||e===o.MO||e===o.MN||e===o.MS)return t===i.MATHML;break;case 4:if(e===o.HTML)return t===i.HTML;if(e===o.DESC)return t===i.SVG;break;case 5:if(e===o.TABLE)return t===i.HTML;if(e===o.MTEXT)return t===i.MATHML;if(e===o.TITLE)return t===i.SVG;break;case 6:return(e===o.APPLET||e===o.OBJECT)&&t===i.HTML;case 7:return(e===o.CAPTION||e===o.MARQUEE)&&t===i.HTML;case 8:return e===o.TEMPLATE&&t===i.HTML;case 13:return e===o.FOREIGN_OBJECT&&t===i.SVG;case 14:return e===o.ANNOTATION_XML&&t===i.MATHML}return!1}e.exports=class{constructor(e,t){this.stackTop=-1,this.items=[],this.current=e,this.currentTagName=null,this.currentTmplContent=null,this.tmplCount=0,this.treeAdapter=t}_indexOf(e){let t=-1;for(let n=this.stackTop;n>=0;n--)if(this.items[n]===e){t=n;break}return t}_isInTemplate(){return this.currentTagName===o.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===i.HTML}_updateCurrentElement(){this.current=this.items[this.stackTop],this.currentTagName=this.current&&this.treeAdapter.getTagName(this.current),this.currentTmplContent=this._isInTemplate()?this.treeAdapter.getTemplateContent(this.current):null}push(e){this.items[++this.stackTop]=e,this._updateCurrentElement(),this._isInTemplate()&&this.tmplCount++}pop(){this.stackTop--,this.tmplCount>0&&this._isInTemplate()&&this.tmplCount--,this._updateCurrentElement()}replace(e,t){const n=this._indexOf(e);this.items[n]=t,n===this.stackTop&&this._updateCurrentElement()}insertAfter(e,t){const n=this._indexOf(e)+1;this.items.splice(n,0,t),n===++this.stackTop&&this._updateCurrentElement()}popUntilTagNamePopped(e){for(;this.stackTop>-1;){const t=this.currentTagName,n=this.treeAdapter.getNamespaceURI(this.current);if(this.pop(),t===e&&n===i.HTML)break}}popUntilElementPopped(e){for(;this.stackTop>-1;){const t=this.current;if(this.pop(),t===e)break}}popUntilNumberedHeaderPopped(){for(;this.stackTop>-1;){const e=this.currentTagName,t=this.treeAdapter.getNamespaceURI(this.current);if(this.pop(),e===o.H1||e===o.H2||e===o.H3||e===o.H4||e===o.H5||e===o.H6&&t===i.HTML)break}}popUntilTableCellPopped(){for(;this.stackTop>-1;){const e=this.currentTagName,t=this.treeAdapter.getNamespaceURI(this.current);if(this.pop(),e===o.TD||e===o.TH&&t===i.HTML)break}}popAllUpToHtmlElement(){this.stackTop=0,this._updateCurrentElement()}clearBackToTableContext(){for(;this.currentTagName!==o.TABLE&&this.currentTagName!==o.TEMPLATE&&this.currentTagName!==o.HTML||this.treeAdapter.getNamespaceURI(this.current)!==i.HTML;)this.pop()}clearBackToTableBodyContext(){for(;this.currentTagName!==o.TBODY&&this.currentTagName!==o.TFOOT&&this.currentTagName!==o.THEAD&&this.currentTagName!==o.TEMPLATE&&this.currentTagName!==o.HTML||this.treeAdapter.getNamespaceURI(this.current)!==i.HTML;)this.pop()}clearBackToTableRowContext(){for(;this.currentTagName!==o.TR&&this.currentTagName!==o.TEMPLATE&&this.currentTagName!==o.HTML||this.treeAdapter.getNamespaceURI(this.current)!==i.HTML;)this.pop()}remove(e){for(let t=this.stackTop;t>=0;t--)if(this.items[t]===e){this.items.splice(t,1),this.stackTop--,this._updateCurrentElement();break}}tryPeekProperlyNestedBodyElement(){const e=this.items[1];return e&&this.treeAdapter.getTagName(e)===o.BODY?e:null}contains(e){return this._indexOf(e)>-1}getCommonAncestor(e){let t=this._indexOf(e);return--t>=0?this.items[t]:null}isRootHtmlElementCurrent(){return 0===this.stackTop&&this.currentTagName===o.HTML}hasInScope(e){for(let t=this.stackTop;t>=0;t--){const n=this.treeAdapter.getTagName(this.items[t]),r=this.treeAdapter.getNamespaceURI(this.items[t]);if(n===e&&r===i.HTML)return!0;if(l(n,r))return!1}return!0}hasNumberedHeaderInScope(){for(let e=this.stackTop;e>=0;e--){const t=this.treeAdapter.getTagName(this.items[e]),n=this.treeAdapter.getNamespaceURI(this.items[e]);if((t===o.H1||t===o.H2||t===o.H3||t===o.H4||t===o.H5||t===o.H6)&&n===i.HTML)return!0;if(l(t,n))return!1}return!0}hasInListItemScope(e){for(let t=this.stackTop;t>=0;t--){const n=this.treeAdapter.getTagName(this.items[t]),r=this.treeAdapter.getNamespaceURI(this.items[t]);if(n===e&&r===i.HTML)return!0;if((n===o.UL||n===o.OL)&&r===i.HTML||l(n,r))return!1}return!0}hasInButtonScope(e){for(let t=this.stackTop;t>=0;t--){const n=this.treeAdapter.getTagName(this.items[t]),r=this.treeAdapter.getNamespaceURI(this.items[t]);if(n===e&&r===i.HTML)return!0;if(n===o.BUTTON&&r===i.HTML||l(n,r))return!1}return!0}hasInTableScope(e){for(let t=this.stackTop;t>=0;t--){const n=this.treeAdapter.getTagName(this.items[t]);if(this.treeAdapter.getNamespaceURI(this.items[t])===i.HTML){if(n===e)return!0;if(n===o.TABLE||n===o.TEMPLATE||n===o.HTML)return!1}}return!0}hasTableBodyContextInTableScope(){for(let e=this.stackTop;e>=0;e--){const t=this.treeAdapter.getTagName(this.items[e]);if(this.treeAdapter.getNamespaceURI(this.items[e])===i.HTML){if(t===o.TBODY||t===o.THEAD||t===o.TFOOT)return!0;if(t===o.TABLE||t===o.HTML)return!1}}return!0}hasInSelectScope(e){for(let t=this.stackTop;t>=0;t--){const n=this.treeAdapter.getTagName(this.items[t]);if(this.treeAdapter.getNamespaceURI(this.items[t])===i.HTML){if(n===e)return!0;if(n!==o.OPTION&&n!==o.OPTGROUP)return!1}}return!0}generateImpliedEndTags(){for(;a(this.currentTagName);)this.pop()}generateImpliedEndTagsThoroughly(){for(;s(this.currentTagName);)this.pop()}generateImpliedEndTagsWithExclusion(e){for(;a(this.currentTagName)&&this.currentTagName!==e;)this.pop()}}},93368:(e,t,n)=>{"use strict";const r=n(46182),o=n(11280),i=n(18524),a=n(48673),s=o.CODE_POINTS,l=o.CODE_POINT_SEQUENCES,c={128:8364,130:8218,131:402,132:8222,133:8230,134:8224,135:8225,136:710,137:8240,138:352,139:8249,140:338,142:381,145:8216,146:8217,147:8220,148:8221,149:8226,150:8211,151:8212,152:732,153:8482,154:353,155:8250,156:339,158:382,159:376},u="DATA_STATE",p="RCDATA_STATE",d="RAWTEXT_STATE",b="SCRIPT_DATA_STATE",f="PLAINTEXT_STATE",h="TAG_OPEN_STATE",m="END_TAG_OPEN_STATE",g="TAG_NAME_STATE",O="RCDATA_LESS_THAN_SIGN_STATE",y="RCDATA_END_TAG_OPEN_STATE",M="RCDATA_END_TAG_NAME_STATE",z="RAWTEXT_LESS_THAN_SIGN_STATE",A="RAWTEXT_END_TAG_OPEN_STATE",v="RAWTEXT_END_TAG_NAME_STATE",w="SCRIPT_DATA_LESS_THAN_SIGN_STATE",S="SCRIPT_DATA_END_TAG_OPEN_STATE",x="SCRIPT_DATA_END_TAG_NAME_STATE",E="SCRIPT_DATA_ESCAPE_START_STATE",k="SCRIPT_DATA_ESCAPE_START_DASH_STATE",q="SCRIPT_DATA_ESCAPED_STATE",T="SCRIPT_DATA_ESCAPED_DASH_STATE",_="SCRIPT_DATA_ESCAPED_DASH_DASH_STATE",R="SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN_STATE",C="SCRIPT_DATA_ESCAPED_END_TAG_OPEN_STATE",N="SCRIPT_DATA_ESCAPED_END_TAG_NAME_STATE",I="SCRIPT_DATA_DOUBLE_ESCAPE_START_STATE",W="SCRIPT_DATA_DOUBLE_ESCAPED_STATE",P="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_STATE",L="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH_STATE",j="SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN_STATE",D="SCRIPT_DATA_DOUBLE_ESCAPE_END_STATE",B="BEFORE_ATTRIBUTE_NAME_STATE",F="ATTRIBUTE_NAME_STATE",V="AFTER_ATTRIBUTE_NAME_STATE",U="BEFORE_ATTRIBUTE_VALUE_STATE",H="ATTRIBUTE_VALUE_DOUBLE_QUOTED_STATE",X="ATTRIBUTE_VALUE_SINGLE_QUOTED_STATE",G="ATTRIBUTE_VALUE_UNQUOTED_STATE",$="AFTER_ATTRIBUTE_VALUE_QUOTED_STATE",K="SELF_CLOSING_START_TAG_STATE",Y="BOGUS_COMMENT_STATE",Z="MARKUP_DECLARATION_OPEN_STATE",J="COMMENT_START_STATE",Q="COMMENT_START_DASH_STATE",ee="COMMENT_STATE",te="COMMENT_LESS_THAN_SIGN_STATE",ne="COMMENT_LESS_THAN_SIGN_BANG_STATE",re="COMMENT_LESS_THAN_SIGN_BANG_DASH_STATE",oe="COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH_STATE",ie="COMMENT_END_DASH_STATE",ae="COMMENT_END_STATE",se="COMMENT_END_BANG_STATE",le="DOCTYPE_STATE",ce="BEFORE_DOCTYPE_NAME_STATE",ue="DOCTYPE_NAME_STATE",pe="AFTER_DOCTYPE_NAME_STATE",de="AFTER_DOCTYPE_PUBLIC_KEYWORD_STATE",be="BEFORE_DOCTYPE_PUBLIC_IDENTIFIER_STATE",fe="DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED_STATE",he="DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED_STATE",me="AFTER_DOCTYPE_PUBLIC_IDENTIFIER_STATE",ge="BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS_STATE",Oe="AFTER_DOCTYPE_SYSTEM_KEYWORD_STATE",ye="BEFORE_DOCTYPE_SYSTEM_IDENTIFIER_STATE",Me="DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED_STATE",ze="DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED_STATE",Ae="AFTER_DOCTYPE_SYSTEM_IDENTIFIER_STATE",ve="BOGUS_DOCTYPE_STATE",we="CDATA_SECTION_STATE",Se="CDATA_SECTION_BRACKET_STATE",xe="CDATA_SECTION_END_STATE",Ee="CHARACTER_REFERENCE_STATE",ke="NAMED_CHARACTER_REFERENCE_STATE",qe="AMBIGUOS_AMPERSAND_STATE",Te="NUMERIC_CHARACTER_REFERENCE_STATE",_e="HEXADEMICAL_CHARACTER_REFERENCE_START_STATE",Re="DECIMAL_CHARACTER_REFERENCE_START_STATE",Ce="HEXADEMICAL_CHARACTER_REFERENCE_STATE",Ne="DECIMAL_CHARACTER_REFERENCE_STATE",Ie="NUMERIC_CHARACTER_REFERENCE_END_STATE";function We(e){return e===s.SPACE||e===s.LINE_FEED||e===s.TABULATION||e===s.FORM_FEED}function Pe(e){return e>=s.DIGIT_0&&e<=s.DIGIT_9}function Le(e){return e>=s.LATIN_CAPITAL_A&&e<=s.LATIN_CAPITAL_Z}function je(e){return e>=s.LATIN_SMALL_A&&e<=s.LATIN_SMALL_Z}function De(e){return je(e)||Le(e)}function Be(e){return De(e)||Pe(e)}function Fe(e){return e>=s.LATIN_CAPITAL_A&&e<=s.LATIN_CAPITAL_F}function Ve(e){return e>=s.LATIN_SMALL_A&&e<=s.LATIN_SMALL_F}function Ue(e){return e+32}function He(e){return e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode(e>>>10&1023|55296)+String.fromCharCode(56320|1023&e))}function Xe(e){return String.fromCharCode(Ue(e))}function Ge(e,t){const n=i[++e];let r=++e,o=r+n-1;for(;r<=o;){const e=r+o>>>1,a=i[e];if(at))return i[e+n];o=e-1}}return-1}class $e{constructor(){this.preprocessor=new r,this.tokenQueue=[],this.allowCDATA=!1,this.state=u,this.returnState="",this.charRefCode=-1,this.tempBuff=[],this.lastStartTagName="",this.consumedAfterSnapshot=-1,this.active=!1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr=null}_err(){}_errOnNextCodePoint(e){this._consume(),this._err(e),this._unconsume()}getNextToken(){for(;!this.tokenQueue.length&&this.active;){this.consumedAfterSnapshot=0;const e=this._consume();this._ensureHibernation()||this[this.state](e)}return this.tokenQueue.shift()}write(e,t){this.active=!0,this.preprocessor.write(e,t)}insertHtmlAtCurrentPos(e){this.active=!0,this.preprocessor.insertHtmlAtCurrentPos(e)}_ensureHibernation(){if(this.preprocessor.endOfChunkHit){for(;this.consumedAfterSnapshot>0;this.consumedAfterSnapshot--)this.preprocessor.retreat();return this.active=!1,this.tokenQueue.push({type:$e.HIBERNATION_TOKEN}),!0}return!1}_consume(){return this.consumedAfterSnapshot++,this.preprocessor.advance()}_unconsume(){this.consumedAfterSnapshot--,this.preprocessor.retreat()}_reconsumeInState(e){this.state=e,this._unconsume()}_consumeSequenceIfMatch(e,t,n){let r=0,o=!0;const i=e.length;let a,l=0,c=t;for(;l0&&(c=this._consume(),r++),c===s.EOF){o=!1;break}if(a=e[l],c!==a&&(n||c!==Ue(a))){o=!1;break}}if(!o)for(;r--;)this._unconsume();return o}_isTempBufferEqualToScriptString(){if(this.tempBuff.length!==l.SCRIPT_STRING.length)return!1;for(let e=0;e0&&this._err(a.endTagWithAttributes),e.selfClosing&&this._err(a.endTagWithTrailingSolidus)),this.tokenQueue.push(e)}_emitCurrentCharacterToken(){this.currentCharacterToken&&(this.tokenQueue.push(this.currentCharacterToken),this.currentCharacterToken=null)}_emitEOFToken(){this._createEOFToken(),this._emitCurrentToken()}_appendCharToCurrentCharacterToken(e,t){this.currentCharacterToken&&this.currentCharacterToken.type!==e&&this._emitCurrentCharacterToken(),this.currentCharacterToken?this.currentCharacterToken.chars+=t:this._createCharacterToken(e,t)}_emitCodePoint(e){let t=$e.CHARACTER_TOKEN;We(e)?t=$e.WHITESPACE_CHARACTER_TOKEN:e===s.NULL&&(t=$e.NULL_CHARACTER_TOKEN),this._appendCharToCurrentCharacterToken(t,He(e))}_emitSeveralCodePoints(e){for(let t=0;t-1;){const e=i[r],o=e<7;o&&1&e&&(t=2&e?[i[++r],i[++r]]:[i[++r]],n=0);const a=this._consume();if(this.tempBuff.push(a),n++,a===s.EOF)break;r=o?4&e?Ge(r,a):-1:a===e?++r:-1}for(;n--;)this.tempBuff.pop(),this._unconsume();return t}_isCharacterReferenceInAttribute(){return this.returnState===H||this.returnState===X||this.returnState===G}_isCharacterReferenceAttributeQuirk(e){if(!e&&this._isCharacterReferenceInAttribute()){const e=this._consume();return this._unconsume(),e===s.EQUALS_SIGN||Be(e)}return!1}_flushCodePointsConsumedAsCharacterReference(){if(this._isCharacterReferenceInAttribute())for(let e=0;e")):e===s.NULL?(this._err(a.unexpectedNullCharacter),this.state=q,this._emitChars(o.REPLACEMENT_CHARACTER)):e===s.EOF?(this._err(a.eofInScriptHtmlCommentLikeText),this._emitEOFToken()):(this.state=q,this._emitCodePoint(e))}[R](e){e===s.SOLIDUS?(this.tempBuff=[],this.state=C):De(e)?(this.tempBuff=[],this._emitChars("<"),this._reconsumeInState(I)):(this._emitChars("<"),this._reconsumeInState(q))}[C](e){De(e)?(this._createEndTagToken(),this._reconsumeInState(N)):(this._emitChars("")):e===s.NULL?(this._err(a.unexpectedNullCharacter),this.state=W,this._emitChars(o.REPLACEMENT_CHARACTER)):e===s.EOF?(this._err(a.eofInScriptHtmlCommentLikeText),this._emitEOFToken()):(this.state=W,this._emitCodePoint(e))}[j](e){e===s.SOLIDUS?(this.tempBuff=[],this.state=D,this._emitChars("/")):this._reconsumeInState(W)}[D](e){We(e)||e===s.SOLIDUS||e===s.GREATER_THAN_SIGN?(this.state=this._isTempBufferEqualToScriptString()?q:W,this._emitCodePoint(e)):Le(e)?(this.tempBuff.push(Ue(e)),this._emitCodePoint(e)):je(e)?(this.tempBuff.push(e),this._emitCodePoint(e)):this._reconsumeInState(W)}[B](e){We(e)||(e===s.SOLIDUS||e===s.GREATER_THAN_SIGN||e===s.EOF?this._reconsumeInState(V):e===s.EQUALS_SIGN?(this._err(a.unexpectedEqualsSignBeforeAttributeName),this._createAttr("="),this.state=F):(this._createAttr(""),this._reconsumeInState(F)))}[F](e){We(e)||e===s.SOLIDUS||e===s.GREATER_THAN_SIGN||e===s.EOF?(this._leaveAttrName(V),this._unconsume()):e===s.EQUALS_SIGN?this._leaveAttrName(U):Le(e)?this.currentAttr.name+=Xe(e):e===s.QUOTATION_MARK||e===s.APOSTROPHE||e===s.LESS_THAN_SIGN?(this._err(a.unexpectedCharacterInAttributeName),this.currentAttr.name+=He(e)):e===s.NULL?(this._err(a.unexpectedNullCharacter),this.currentAttr.name+=o.REPLACEMENT_CHARACTER):this.currentAttr.name+=He(e)}[V](e){We(e)||(e===s.SOLIDUS?this.state=K:e===s.EQUALS_SIGN?this.state=U:e===s.GREATER_THAN_SIGN?(this.state=u,this._emitCurrentToken()):e===s.EOF?(this._err(a.eofInTag),this._emitEOFToken()):(this._createAttr(""),this._reconsumeInState(F)))}[U](e){We(e)||(e===s.QUOTATION_MARK?this.state=H:e===s.APOSTROPHE?this.state=X:e===s.GREATER_THAN_SIGN?(this._err(a.missingAttributeValue),this.state=u,this._emitCurrentToken()):this._reconsumeInState(G))}[H](e){e===s.QUOTATION_MARK?this.state=$:e===s.AMPERSAND?(this.returnState=H,this.state=Ee):e===s.NULL?(this._err(a.unexpectedNullCharacter),this.currentAttr.value+=o.REPLACEMENT_CHARACTER):e===s.EOF?(this._err(a.eofInTag),this._emitEOFToken()):this.currentAttr.value+=He(e)}[X](e){e===s.APOSTROPHE?this.state=$:e===s.AMPERSAND?(this.returnState=X,this.state=Ee):e===s.NULL?(this._err(a.unexpectedNullCharacter),this.currentAttr.value+=o.REPLACEMENT_CHARACTER):e===s.EOF?(this._err(a.eofInTag),this._emitEOFToken()):this.currentAttr.value+=He(e)}[G](e){We(e)?this._leaveAttrValue(B):e===s.AMPERSAND?(this.returnState=G,this.state=Ee):e===s.GREATER_THAN_SIGN?(this._leaveAttrValue(u),this._emitCurrentToken()):e===s.NULL?(this._err(a.unexpectedNullCharacter),this.currentAttr.value+=o.REPLACEMENT_CHARACTER):e===s.QUOTATION_MARK||e===s.APOSTROPHE||e===s.LESS_THAN_SIGN||e===s.EQUALS_SIGN||e===s.GRAVE_ACCENT?(this._err(a.unexpectedCharacterInUnquotedAttributeValue),this.currentAttr.value+=He(e)):e===s.EOF?(this._err(a.eofInTag),this._emitEOFToken()):this.currentAttr.value+=He(e)}[$](e){We(e)?this._leaveAttrValue(B):e===s.SOLIDUS?this._leaveAttrValue(K):e===s.GREATER_THAN_SIGN?(this._leaveAttrValue(u),this._emitCurrentToken()):e===s.EOF?(this._err(a.eofInTag),this._emitEOFToken()):(this._err(a.missingWhitespaceBetweenAttributes),this._reconsumeInState(B))}[K](e){e===s.GREATER_THAN_SIGN?(this.currentToken.selfClosing=!0,this.state=u,this._emitCurrentToken()):e===s.EOF?(this._err(a.eofInTag),this._emitEOFToken()):(this._err(a.unexpectedSolidusInTag),this._reconsumeInState(B))}[Y](e){e===s.GREATER_THAN_SIGN?(this.state=u,this._emitCurrentToken()):e===s.EOF?(this._emitCurrentToken(),this._emitEOFToken()):e===s.NULL?(this._err(a.unexpectedNullCharacter),this.currentToken.data+=o.REPLACEMENT_CHARACTER):this.currentToken.data+=He(e)}[Z](e){this._consumeSequenceIfMatch(l.DASH_DASH_STRING,e,!0)?(this._createCommentToken(),this.state=J):this._consumeSequenceIfMatch(l.DOCTYPE_STRING,e,!1)?this.state=le:this._consumeSequenceIfMatch(l.CDATA_START_STRING,e,!0)?this.allowCDATA?this.state=we:(this._err(a.cdataInHtmlContent),this._createCommentToken(),this.currentToken.data="[CDATA[",this.state=Y):this._ensureHibernation()||(this._err(a.incorrectlyOpenedComment),this._createCommentToken(),this._reconsumeInState(Y))}[J](e){e===s.HYPHEN_MINUS?this.state=Q:e===s.GREATER_THAN_SIGN?(this._err(a.abruptClosingOfEmptyComment),this.state=u,this._emitCurrentToken()):this._reconsumeInState(ee)}[Q](e){e===s.HYPHEN_MINUS?this.state=ae:e===s.GREATER_THAN_SIGN?(this._err(a.abruptClosingOfEmptyComment),this.state=u,this._emitCurrentToken()):e===s.EOF?(this._err(a.eofInComment),this._emitCurrentToken(),this._emitEOFToken()):(this.currentToken.data+="-",this._reconsumeInState(ee))}[ee](e){e===s.HYPHEN_MINUS?this.state=ie:e===s.LESS_THAN_SIGN?(this.currentToken.data+="<",this.state=te):e===s.NULL?(this._err(a.unexpectedNullCharacter),this.currentToken.data+=o.REPLACEMENT_CHARACTER):e===s.EOF?(this._err(a.eofInComment),this._emitCurrentToken(),this._emitEOFToken()):this.currentToken.data+=He(e)}[te](e){e===s.EXCLAMATION_MARK?(this.currentToken.data+="!",this.state=ne):e===s.LESS_THAN_SIGN?this.currentToken.data+="!":this._reconsumeInState(ee)}[ne](e){e===s.HYPHEN_MINUS?this.state=re:this._reconsumeInState(ee)}[re](e){e===s.HYPHEN_MINUS?this.state=oe:this._reconsumeInState(ie)}[oe](e){e!==s.GREATER_THAN_SIGN&&e!==s.EOF&&this._err(a.nestedComment),this._reconsumeInState(ae)}[ie](e){e===s.HYPHEN_MINUS?this.state=ae:e===s.EOF?(this._err(a.eofInComment),this._emitCurrentToken(),this._emitEOFToken()):(this.currentToken.data+="-",this._reconsumeInState(ee))}[ae](e){e===s.GREATER_THAN_SIGN?(this.state=u,this._emitCurrentToken()):e===s.EXCLAMATION_MARK?this.state=se:e===s.HYPHEN_MINUS?this.currentToken.data+="-":e===s.EOF?(this._err(a.eofInComment),this._emitCurrentToken(),this._emitEOFToken()):(this.currentToken.data+="--",this._reconsumeInState(ee))}[se](e){e===s.HYPHEN_MINUS?(this.currentToken.data+="--!",this.state=ie):e===s.GREATER_THAN_SIGN?(this._err(a.incorrectlyClosedComment),this.state=u,this._emitCurrentToken()):e===s.EOF?(this._err(a.eofInComment),this._emitCurrentToken(),this._emitEOFToken()):(this.currentToken.data+="--!",this._reconsumeInState(ee))}[le](e){We(e)?this.state=ce:e===s.GREATER_THAN_SIGN?this._reconsumeInState(ce):e===s.EOF?(this._err(a.eofInDoctype),this._createDoctypeToken(null),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(a.missingWhitespaceBeforeDoctypeName),this._reconsumeInState(ce))}[ce](e){We(e)||(Le(e)?(this._createDoctypeToken(Xe(e)),this.state=ue):e===s.NULL?(this._err(a.unexpectedNullCharacter),this._createDoctypeToken(o.REPLACEMENT_CHARACTER),this.state=ue):e===s.GREATER_THAN_SIGN?(this._err(a.missingDoctypeName),this._createDoctypeToken(null),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this.state=u):e===s.EOF?(this._err(a.eofInDoctype),this._createDoctypeToken(null),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._createDoctypeToken(He(e)),this.state=ue))}[ue](e){We(e)?this.state=pe:e===s.GREATER_THAN_SIGN?(this.state=u,this._emitCurrentToken()):Le(e)?this.currentToken.name+=Xe(e):e===s.NULL?(this._err(a.unexpectedNullCharacter),this.currentToken.name+=o.REPLACEMENT_CHARACTER):e===s.EOF?(this._err(a.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):this.currentToken.name+=He(e)}[pe](e){We(e)||(e===s.GREATER_THAN_SIGN?(this.state=u,this._emitCurrentToken()):e===s.EOF?(this._err(a.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):this._consumeSequenceIfMatch(l.PUBLIC_STRING,e,!1)?this.state=de:this._consumeSequenceIfMatch(l.SYSTEM_STRING,e,!1)?this.state=Oe:this._ensureHibernation()||(this._err(a.invalidCharacterSequenceAfterDoctypeName),this.currentToken.forceQuirks=!0,this._reconsumeInState(ve)))}[de](e){We(e)?this.state=be:e===s.QUOTATION_MARK?(this._err(a.missingWhitespaceAfterDoctypePublicKeyword),this.currentToken.publicId="",this.state=fe):e===s.APOSTROPHE?(this._err(a.missingWhitespaceAfterDoctypePublicKeyword),this.currentToken.publicId="",this.state=he):e===s.GREATER_THAN_SIGN?(this._err(a.missingDoctypePublicIdentifier),this.currentToken.forceQuirks=!0,this.state=u,this._emitCurrentToken()):e===s.EOF?(this._err(a.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(a.missingQuoteBeforeDoctypePublicIdentifier),this.currentToken.forceQuirks=!0,this._reconsumeInState(ve))}[be](e){We(e)||(e===s.QUOTATION_MARK?(this.currentToken.publicId="",this.state=fe):e===s.APOSTROPHE?(this.currentToken.publicId="",this.state=he):e===s.GREATER_THAN_SIGN?(this._err(a.missingDoctypePublicIdentifier),this.currentToken.forceQuirks=!0,this.state=u,this._emitCurrentToken()):e===s.EOF?(this._err(a.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(a.missingQuoteBeforeDoctypePublicIdentifier),this.currentToken.forceQuirks=!0,this._reconsumeInState(ve)))}[fe](e){e===s.QUOTATION_MARK?this.state=me:e===s.NULL?(this._err(a.unexpectedNullCharacter),this.currentToken.publicId+=o.REPLACEMENT_CHARACTER):e===s.GREATER_THAN_SIGN?(this._err(a.abruptDoctypePublicIdentifier),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this.state=u):e===s.EOF?(this._err(a.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):this.currentToken.publicId+=He(e)}[he](e){e===s.APOSTROPHE?this.state=me:e===s.NULL?(this._err(a.unexpectedNullCharacter),this.currentToken.publicId+=o.REPLACEMENT_CHARACTER):e===s.GREATER_THAN_SIGN?(this._err(a.abruptDoctypePublicIdentifier),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this.state=u):e===s.EOF?(this._err(a.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):this.currentToken.publicId+=He(e)}[me](e){We(e)?this.state=ge:e===s.GREATER_THAN_SIGN?(this.state=u,this._emitCurrentToken()):e===s.QUOTATION_MARK?(this._err(a.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),this.currentToken.systemId="",this.state=Me):e===s.APOSTROPHE?(this._err(a.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),this.currentToken.systemId="",this.state=ze):e===s.EOF?(this._err(a.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(a.missingQuoteBeforeDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this._reconsumeInState(ve))}[ge](e){We(e)||(e===s.GREATER_THAN_SIGN?(this._emitCurrentToken(),this.state=u):e===s.QUOTATION_MARK?(this.currentToken.systemId="",this.state=Me):e===s.APOSTROPHE?(this.currentToken.systemId="",this.state=ze):e===s.EOF?(this._err(a.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(a.missingQuoteBeforeDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this._reconsumeInState(ve)))}[Oe](e){We(e)?this.state=ye:e===s.QUOTATION_MARK?(this._err(a.missingWhitespaceAfterDoctypeSystemKeyword),this.currentToken.systemId="",this.state=Me):e===s.APOSTROPHE?(this._err(a.missingWhitespaceAfterDoctypeSystemKeyword),this.currentToken.systemId="",this.state=ze):e===s.GREATER_THAN_SIGN?(this._err(a.missingDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this.state=u,this._emitCurrentToken()):e===s.EOF?(this._err(a.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(a.missingQuoteBeforeDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this._reconsumeInState(ve))}[ye](e){We(e)||(e===s.QUOTATION_MARK?(this.currentToken.systemId="",this.state=Me):e===s.APOSTROPHE?(this.currentToken.systemId="",this.state=ze):e===s.GREATER_THAN_SIGN?(this._err(a.missingDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this.state=u,this._emitCurrentToken()):e===s.EOF?(this._err(a.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(a.missingQuoteBeforeDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this._reconsumeInState(ve)))}[Me](e){e===s.QUOTATION_MARK?this.state=Ae:e===s.NULL?(this._err(a.unexpectedNullCharacter),this.currentToken.systemId+=o.REPLACEMENT_CHARACTER):e===s.GREATER_THAN_SIGN?(this._err(a.abruptDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this.state=u):e===s.EOF?(this._err(a.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):this.currentToken.systemId+=He(e)}[ze](e){e===s.APOSTROPHE?this.state=Ae:e===s.NULL?(this._err(a.unexpectedNullCharacter),this.currentToken.systemId+=o.REPLACEMENT_CHARACTER):e===s.GREATER_THAN_SIGN?(this._err(a.abruptDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this.state=u):e===s.EOF?(this._err(a.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):this.currentToken.systemId+=He(e)}[Ae](e){We(e)||(e===s.GREATER_THAN_SIGN?(this._emitCurrentToken(),this.state=u):e===s.EOF?(this._err(a.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(a.unexpectedCharacterAfterDoctypeSystemIdentifier),this._reconsumeInState(ve)))}[ve](e){e===s.GREATER_THAN_SIGN?(this._emitCurrentToken(),this.state=u):e===s.NULL?this._err(a.unexpectedNullCharacter):e===s.EOF&&(this._emitCurrentToken(),this._emitEOFToken())}[we](e){e===s.RIGHT_SQUARE_BRACKET?this.state=Se:e===s.EOF?(this._err(a.eofInCdata),this._emitEOFToken()):this._emitCodePoint(e)}[Se](e){e===s.RIGHT_SQUARE_BRACKET?this.state=xe:(this._emitChars("]"),this._reconsumeInState(we))}[xe](e){e===s.GREATER_THAN_SIGN?this.state=u:e===s.RIGHT_SQUARE_BRACKET?this._emitChars("]"):(this._emitChars("]]"),this._reconsumeInState(we))}[Ee](e){this.tempBuff=[s.AMPERSAND],e===s.NUMBER_SIGN?(this.tempBuff.push(e),this.state=Te):Be(e)?this._reconsumeInState(ke):(this._flushCodePointsConsumedAsCharacterReference(),this._reconsumeInState(this.returnState))}[ke](e){const t=this._matchNamedCharacterReference(e);if(this._ensureHibernation())this.tempBuff=[s.AMPERSAND];else if(t){const e=this.tempBuff[this.tempBuff.length-1]===s.SEMICOLON;this._isCharacterReferenceAttributeQuirk(e)||(e||this._errOnNextCodePoint(a.missingSemicolonAfterCharacterReference),this.tempBuff=t),this._flushCodePointsConsumedAsCharacterReference(),this.state=this.returnState}else this._flushCodePointsConsumedAsCharacterReference(),this.state=qe}[qe](e){Be(e)?this._isCharacterReferenceInAttribute()?this.currentAttr.value+=He(e):this._emitCodePoint(e):(e===s.SEMICOLON&&this._err(a.unknownNamedCharacterReference),this._reconsumeInState(this.returnState))}[Te](e){this.charRefCode=0,e===s.LATIN_SMALL_X||e===s.LATIN_CAPITAL_X?(this.tempBuff.push(e),this.state=_e):this._reconsumeInState(Re)}[_e](e){!function(e){return Pe(e)||Fe(e)||Ve(e)}(e)?(this._err(a.absenceOfDigitsInNumericCharacterReference),this._flushCodePointsConsumedAsCharacterReference(),this._reconsumeInState(this.returnState)):this._reconsumeInState(Ce)}[Re](e){Pe(e)?this._reconsumeInState(Ne):(this._err(a.absenceOfDigitsInNumericCharacterReference),this._flushCodePointsConsumedAsCharacterReference(),this._reconsumeInState(this.returnState))}[Ce](e){Fe(e)?this.charRefCode=16*this.charRefCode+e-55:Ve(e)?this.charRefCode=16*this.charRefCode+e-87:Pe(e)?this.charRefCode=16*this.charRefCode+e-48:e===s.SEMICOLON?this.state=Ie:(this._err(a.missingSemicolonAfterCharacterReference),this._reconsumeInState(Ie))}[Ne](e){Pe(e)?this.charRefCode=10*this.charRefCode+e-48:e===s.SEMICOLON?this.state=Ie:(this._err(a.missingSemicolonAfterCharacterReference),this._reconsumeInState(Ie))}[Ie](){if(this.charRefCode===s.NULL)this._err(a.nullCharacterReference),this.charRefCode=s.REPLACEMENT_CHARACTER;else if(this.charRefCode>1114111)this._err(a.characterReferenceOutsideUnicodeRange),this.charRefCode=s.REPLACEMENT_CHARACTER;else if(o.isSurrogate(this.charRefCode))this._err(a.surrogateCharacterReference),this.charRefCode=s.REPLACEMENT_CHARACTER;else if(o.isUndefinedCodePoint(this.charRefCode))this._err(a.noncharacterCharacterReference);else if(o.isControlCodePoint(this.charRefCode)||this.charRefCode===s.CARRIAGE_RETURN){this._err(a.controlCharacterReference);const e=c[this.charRefCode];e&&(this.charRefCode=e)}this.tempBuff=[this.charRefCode],this._flushCodePointsConsumedAsCharacterReference(),this._reconsumeInState(this.returnState)}}$e.CHARACTER_TOKEN="CHARACTER_TOKEN",$e.NULL_CHARACTER_TOKEN="NULL_CHARACTER_TOKEN",$e.WHITESPACE_CHARACTER_TOKEN="WHITESPACE_CHARACTER_TOKEN",$e.START_TAG_TOKEN="START_TAG_TOKEN",$e.END_TAG_TOKEN="END_TAG_TOKEN",$e.COMMENT_TOKEN="COMMENT_TOKEN",$e.DOCTYPE_TOKEN="DOCTYPE_TOKEN",$e.EOF_TOKEN="EOF_TOKEN",$e.HIBERNATION_TOKEN="HIBERNATION_TOKEN",$e.MODE={DATA:u,RCDATA:p,RAWTEXT:d,SCRIPT_DATA:b,PLAINTEXT:f},$e.getTokenAttr=function(e,t){for(let n=e.attrs.length-1;n>=0;n--)if(e.attrs[n].name===t)return e.attrs[n].value;return null},e.exports=$e},18524:e=>{"use strict";e.exports=new Uint16Array([4,52,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,106,303,412,810,1432,1701,1796,1987,2114,2360,2420,2484,3170,3251,4140,4393,4575,4610,5106,5512,5728,6117,6274,6315,6345,6427,6516,7002,7910,8733,9323,9870,10170,10631,10893,11318,11386,11467,12773,13092,14474,14922,15448,15542,16419,17666,18166,18611,19004,19095,19298,19397,4,16,69,77,97,98,99,102,103,108,109,110,111,112,114,115,116,117,140,150,158,169,176,194,199,210,216,222,226,242,256,266,283,294,108,105,103,5,198,1,59,148,1,198,80,5,38,1,59,156,1,38,99,117,116,101,5,193,1,59,167,1,193,114,101,118,101,59,1,258,4,2,105,121,182,191,114,99,5,194,1,59,189,1,194,59,1,1040,114,59,3,55349,56580,114,97,118,101,5,192,1,59,208,1,192,112,104,97,59,1,913,97,99,114,59,1,256,100,59,1,10835,4,2,103,112,232,237,111,110,59,1,260,102,59,3,55349,56632,112,108,121,70,117,110,99,116,105,111,110,59,1,8289,105,110,103,5,197,1,59,264,1,197,4,2,99,115,272,277,114,59,3,55349,56476,105,103,110,59,1,8788,105,108,100,101,5,195,1,59,292,1,195,109,108,5,196,1,59,301,1,196,4,8,97,99,101,102,111,114,115,117,321,350,354,383,388,394,400,405,4,2,99,114,327,336,107,115,108,97,115,104,59,1,8726,4,2,118,119,342,345,59,1,10983,101,100,59,1,8966,121,59,1,1041,4,3,99,114,116,362,369,379,97,117,115,101,59,1,8757,110,111,117,108,108,105,115,59,1,8492,97,59,1,914,114,59,3,55349,56581,112,102,59,3,55349,56633,101,118,101,59,1,728,99,114,59,1,8492,109,112,101,113,59,1,8782,4,14,72,79,97,99,100,101,102,104,105,108,111,114,115,117,442,447,456,504,542,547,569,573,577,616,678,784,790,796,99,121,59,1,1063,80,89,5,169,1,59,454,1,169,4,3,99,112,121,464,470,497,117,116,101,59,1,262,4,2,59,105,476,478,1,8914,116,97,108,68,105,102,102,101,114,101,110,116,105,97,108,68,59,1,8517,108,101,121,115,59,1,8493,4,4,97,101,105,111,514,520,530,535,114,111,110,59,1,268,100,105,108,5,199,1,59,528,1,199,114,99,59,1,264,110,105,110,116,59,1,8752,111,116,59,1,266,4,2,100,110,553,560,105,108,108,97,59,1,184,116,101,114,68,111,116,59,1,183,114,59,1,8493,105,59,1,935,114,99,108,101,4,4,68,77,80,84,591,596,603,609,111,116,59,1,8857,105,110,117,115,59,1,8854,108,117,115,59,1,8853,105,109,101,115,59,1,8855,111,4,2,99,115,623,646,107,119,105,115,101,67,111,110,116,111,117,114,73,110,116,101,103,114,97,108,59,1,8754,101,67,117,114,108,121,4,2,68,81,658,671,111,117,98,108,101,81,117,111,116,101,59,1,8221,117,111,116,101,59,1,8217,4,4,108,110,112,117,688,701,736,753,111,110,4,2,59,101,696,698,1,8759,59,1,10868,4,3,103,105,116,709,717,722,114,117,101,110,116,59,1,8801,110,116,59,1,8751,111,117,114,73,110,116,101,103,114,97,108,59,1,8750,4,2,102,114,742,745,59,1,8450,111,100,117,99,116,59,1,8720,110,116,101,114,67,108,111,99,107,119,105,115,101,67,111,110,116,111,117,114,73,110,116,101,103,114,97,108,59,1,8755,111,115,115,59,1,10799,99,114,59,3,55349,56478,112,4,2,59,67,803,805,1,8915,97,112,59,1,8781,4,11,68,74,83,90,97,99,101,102,105,111,115,834,850,855,860,865,888,903,916,921,1011,1415,4,2,59,111,840,842,1,8517,116,114,97,104,100,59,1,10513,99,121,59,1,1026,99,121,59,1,1029,99,121,59,1,1039,4,3,103,114,115,873,879,883,103,101,114,59,1,8225,114,59,1,8609,104,118,59,1,10980,4,2,97,121,894,900,114,111,110,59,1,270,59,1,1044,108,4,2,59,116,910,912,1,8711,97,59,1,916,114,59,3,55349,56583,4,2,97,102,927,998,4,2,99,109,933,992,114,105,116,105,99,97,108,4,4,65,68,71,84,950,957,978,985,99,117,116,101,59,1,180,111,4,2,116,117,964,967,59,1,729,98,108,101,65,99,117,116,101,59,1,733,114,97,118,101,59,1,96,105,108,100,101,59,1,732,111,110,100,59,1,8900,102,101,114,101,110,116,105,97,108,68,59,1,8518,4,4,112,116,117,119,1021,1026,1048,1249,102,59,3,55349,56635,4,3,59,68,69,1034,1036,1041,1,168,111,116,59,1,8412,113,117,97,108,59,1,8784,98,108,101,4,6,67,68,76,82,85,86,1065,1082,1101,1189,1211,1236,111,110,116,111,117,114,73,110,116,101,103,114,97,108,59,1,8751,111,4,2,116,119,1089,1092,59,1,168,110,65,114,114,111,119,59,1,8659,4,2,101,111,1107,1141,102,116,4,3,65,82,84,1117,1124,1136,114,114,111,119,59,1,8656,105,103,104,116,65,114,114,111,119,59,1,8660,101,101,59,1,10980,110,103,4,2,76,82,1149,1177,101,102,116,4,2,65,82,1158,1165,114,114,111,119,59,1,10232,105,103,104,116,65,114,114,111,119,59,1,10234,105,103,104,116,65,114,114,111,119,59,1,10233,105,103,104,116,4,2,65,84,1199,1206,114,114,111,119,59,1,8658,101,101,59,1,8872,112,4,2,65,68,1218,1225,114,114,111,119,59,1,8657,111,119,110,65,114,114,111,119,59,1,8661,101,114,116,105,99,97,108,66,97,114,59,1,8741,110,4,6,65,66,76,82,84,97,1264,1292,1299,1352,1391,1408,114,114,111,119,4,3,59,66,85,1276,1278,1283,1,8595,97,114,59,1,10515,112,65,114,114,111,119,59,1,8693,114,101,118,101,59,1,785,101,102,116,4,3,82,84,86,1310,1323,1334,105,103,104,116,86,101,99,116,111,114,59,1,10576,101,101,86,101,99,116,111,114,59,1,10590,101,99,116,111,114,4,2,59,66,1345,1347,1,8637,97,114,59,1,10582,105,103,104,116,4,2,84,86,1362,1373,101,101,86,101,99,116,111,114,59,1,10591,101,99,116,111,114,4,2,59,66,1384,1386,1,8641,97,114,59,1,10583,101,101,4,2,59,65,1399,1401,1,8868,114,114,111,119,59,1,8615,114,114,111,119,59,1,8659,4,2,99,116,1421,1426,114,59,3,55349,56479,114,111,107,59,1,272,4,16,78,84,97,99,100,102,103,108,109,111,112,113,115,116,117,120,1466,1470,1478,1489,1515,1520,1525,1536,1544,1593,1609,1617,1650,1664,1668,1677,71,59,1,330,72,5,208,1,59,1476,1,208,99,117,116,101,5,201,1,59,1487,1,201,4,3,97,105,121,1497,1503,1512,114,111,110,59,1,282,114,99,5,202,1,59,1510,1,202,59,1,1069,111,116,59,1,278,114,59,3,55349,56584,114,97,118,101,5,200,1,59,1534,1,200,101,109,101,110,116,59,1,8712,4,2,97,112,1550,1555,99,114,59,1,274,116,121,4,2,83,86,1563,1576,109,97,108,108,83,113,117,97,114,101,59,1,9723,101,114,121,83,109,97,108,108,83,113,117,97,114,101,59,1,9643,4,2,103,112,1599,1604,111,110,59,1,280,102,59,3,55349,56636,115,105,108,111,110,59,1,917,117,4,2,97,105,1624,1640,108,4,2,59,84,1631,1633,1,10869,105,108,100,101,59,1,8770,108,105,98,114,105,117,109,59,1,8652,4,2,99,105,1656,1660,114,59,1,8496,109,59,1,10867,97,59,1,919,109,108,5,203,1,59,1675,1,203,4,2,105,112,1683,1689,115,116,115,59,1,8707,111,110,101,110,116,105,97,108,69,59,1,8519,4,5,99,102,105,111,115,1713,1717,1722,1762,1791,121,59,1,1060,114,59,3,55349,56585,108,108,101,100,4,2,83,86,1732,1745,109,97,108,108,83,113,117,97,114,101,59,1,9724,101,114,121,83,109,97,108,108,83,113,117,97,114,101,59,1,9642,4,3,112,114,117,1770,1775,1781,102,59,3,55349,56637,65,108,108,59,1,8704,114,105,101,114,116,114,102,59,1,8497,99,114,59,1,8497,4,12,74,84,97,98,99,100,102,103,111,114,115,116,1822,1827,1834,1848,1855,1877,1882,1887,1890,1896,1978,1984,99,121,59,1,1027,5,62,1,59,1832,1,62,109,109,97,4,2,59,100,1843,1845,1,915,59,1,988,114,101,118,101,59,1,286,4,3,101,105,121,1863,1869,1874,100,105,108,59,1,290,114,99,59,1,284,59,1,1043,111,116,59,1,288,114,59,3,55349,56586,59,1,8921,112,102,59,3,55349,56638,101,97,116,101,114,4,6,69,70,71,76,83,84,1915,1933,1944,1953,1959,1971,113,117,97,108,4,2,59,76,1925,1927,1,8805,101,115,115,59,1,8923,117,108,108,69,113,117,97,108,59,1,8807,114,101,97,116,101,114,59,1,10914,101,115,115,59,1,8823,108,97,110,116,69,113,117,97,108,59,1,10878,105,108,100,101,59,1,8819,99,114,59,3,55349,56482,59,1,8811,4,8,65,97,99,102,105,111,115,117,2005,2012,2026,2032,2036,2049,2073,2089,82,68,99,121,59,1,1066,4,2,99,116,2018,2023,101,107,59,1,711,59,1,94,105,114,99,59,1,292,114,59,1,8460,108,98,101,114,116,83,112,97,99,101,59,1,8459,4,2,112,114,2055,2059,102,59,1,8461,105,122,111,110,116,97,108,76,105,110,101,59,1,9472,4,2,99,116,2079,2083,114,59,1,8459,114,111,107,59,1,294,109,112,4,2,68,69,2097,2107,111,119,110,72,117,109,112,59,1,8782,113,117,97,108,59,1,8783,4,14,69,74,79,97,99,100,102,103,109,110,111,115,116,117,2144,2149,2155,2160,2171,2189,2194,2198,2209,2245,2307,2329,2334,2341,99,121,59,1,1045,108,105,103,59,1,306,99,121,59,1,1025,99,117,116,101,5,205,1,59,2169,1,205,4,2,105,121,2177,2186,114,99,5,206,1,59,2184,1,206,59,1,1048,111,116,59,1,304,114,59,1,8465,114,97,118,101,5,204,1,59,2207,1,204,4,3,59,97,112,2217,2219,2238,1,8465,4,2,99,103,2225,2229,114,59,1,298,105,110,97,114,121,73,59,1,8520,108,105,101,115,59,1,8658,4,2,116,118,2251,2281,4,2,59,101,2257,2259,1,8748,4,2,103,114,2265,2271,114,97,108,59,1,8747,115,101,99,116,105,111,110,59,1,8898,105,115,105,98,108,101,4,2,67,84,2293,2300,111,109,109,97,59,1,8291,105,109,101,115,59,1,8290,4,3,103,112,116,2315,2320,2325,111,110,59,1,302,102,59,3,55349,56640,97,59,1,921,99,114,59,1,8464,105,108,100,101,59,1,296,4,2,107,109,2347,2352,99,121,59,1,1030,108,5,207,1,59,2358,1,207,4,5,99,102,111,115,117,2372,2386,2391,2397,2414,4,2,105,121,2378,2383,114,99,59,1,308,59,1,1049,114,59,3,55349,56589,112,102,59,3,55349,56641,4,2,99,101,2403,2408,114,59,3,55349,56485,114,99,121,59,1,1032,107,99,121,59,1,1028,4,7,72,74,97,99,102,111,115,2436,2441,2446,2452,2467,2472,2478,99,121,59,1,1061,99,121,59,1,1036,112,112,97,59,1,922,4,2,101,121,2458,2464,100,105,108,59,1,310,59,1,1050,114,59,3,55349,56590,112,102,59,3,55349,56642,99,114,59,3,55349,56486,4,11,74,84,97,99,101,102,108,109,111,115,116,2508,2513,2520,2562,2585,2981,2986,3004,3011,3146,3167,99,121,59,1,1033,5,60,1,59,2518,1,60,4,5,99,109,110,112,114,2532,2538,2544,2548,2558,117,116,101,59,1,313,98,100,97,59,1,923,103,59,1,10218,108,97,99,101,116,114,102,59,1,8466,114,59,1,8606,4,3,97,101,121,2570,2576,2582,114,111,110,59,1,317,100,105,108,59,1,315,59,1,1051,4,2,102,115,2591,2907,116,4,10,65,67,68,70,82,84,85,86,97,114,2614,2663,2672,2728,2735,2760,2820,2870,2888,2895,4,2,110,114,2620,2633,103,108,101,66,114,97,99,107,101,116,59,1,10216,114,111,119,4,3,59,66,82,2644,2646,2651,1,8592,97,114,59,1,8676,105,103,104,116,65,114,114,111,119,59,1,8646,101,105,108,105,110,103,59,1,8968,111,4,2,117,119,2679,2692,98,108,101,66,114,97,99,107,101,116,59,1,10214,110,4,2,84,86,2699,2710,101,101,86,101,99,116,111,114,59,1,10593,101,99,116,111,114,4,2,59,66,2721,2723,1,8643,97,114,59,1,10585,108,111,111,114,59,1,8970,105,103,104,116,4,2,65,86,2745,2752,114,114,111,119,59,1,8596,101,99,116,111,114,59,1,10574,4,2,101,114,2766,2792,101,4,3,59,65,86,2775,2777,2784,1,8867,114,114,111,119,59,1,8612,101,99,116,111,114,59,1,10586,105,97,110,103,108,101,4,3,59,66,69,2806,2808,2813,1,8882,97,114,59,1,10703,113,117,97,108,59,1,8884,112,4,3,68,84,86,2829,2841,2852,111,119,110,86,101,99,116,111,114,59,1,10577,101,101,86,101,99,116,111,114,59,1,10592,101,99,116,111,114,4,2,59,66,2863,2865,1,8639,97,114,59,1,10584,101,99,116,111,114,4,2,59,66,2881,2883,1,8636,97,114,59,1,10578,114,114,111,119,59,1,8656,105,103,104,116,97,114,114,111,119,59,1,8660,115,4,6,69,70,71,76,83,84,2922,2936,2947,2956,2962,2974,113,117,97,108,71,114,101,97,116,101,114,59,1,8922,117,108,108,69,113,117,97,108,59,1,8806,114,101,97,116,101,114,59,1,8822,101,115,115,59,1,10913,108,97,110,116,69,113,117,97,108,59,1,10877,105,108,100,101,59,1,8818,114,59,3,55349,56591,4,2,59,101,2992,2994,1,8920,102,116,97,114,114,111,119,59,1,8666,105,100,111,116,59,1,319,4,3,110,112,119,3019,3110,3115,103,4,4,76,82,108,114,3030,3058,3070,3098,101,102,116,4,2,65,82,3039,3046,114,114,111,119,59,1,10229,105,103,104,116,65,114,114,111,119,59,1,10231,105,103,104,116,65,114,114,111,119,59,1,10230,101,102,116,4,2,97,114,3079,3086,114,114,111,119,59,1,10232,105,103,104,116,97,114,114,111,119,59,1,10234,105,103,104,116,97,114,114,111,119,59,1,10233,102,59,3,55349,56643,101,114,4,2,76,82,3123,3134,101,102,116,65,114,114,111,119,59,1,8601,105,103,104,116,65,114,114,111,119,59,1,8600,4,3,99,104,116,3154,3158,3161,114,59,1,8466,59,1,8624,114,111,107,59,1,321,59,1,8810,4,8,97,99,101,102,105,111,115,117,3188,3192,3196,3222,3227,3237,3243,3248,112,59,1,10501,121,59,1,1052,4,2,100,108,3202,3213,105,117,109,83,112,97,99,101,59,1,8287,108,105,110,116,114,102,59,1,8499,114,59,3,55349,56592,110,117,115,80,108,117,115,59,1,8723,112,102,59,3,55349,56644,99,114,59,1,8499,59,1,924,4,9,74,97,99,101,102,111,115,116,117,3271,3276,3283,3306,3422,3427,4120,4126,4137,99,121,59,1,1034,99,117,116,101,59,1,323,4,3,97,101,121,3291,3297,3303,114,111,110,59,1,327,100,105,108,59,1,325,59,1,1053,4,3,103,115,119,3314,3380,3415,97,116,105,118,101,4,3,77,84,86,3327,3340,3365,101,100,105,117,109,83,112,97,99,101,59,1,8203,104,105,4,2,99,110,3348,3357,107,83,112,97,99,101,59,1,8203,83,112,97,99,101,59,1,8203,101,114,121,84,104,105,110,83,112,97,99,101,59,1,8203,116,101,100,4,2,71,76,3389,3405,114,101,97,116,101,114,71,114,101,97,116,101,114,59,1,8811,101,115,115,76,101,115,115,59,1,8810,76,105,110,101,59,1,10,114,59,3,55349,56593,4,4,66,110,112,116,3437,3444,3460,3464,114,101,97,107,59,1,8288,66,114,101,97,107,105,110,103,83,112,97,99,101,59,1,160,102,59,1,8469,4,13,59,67,68,69,71,72,76,78,80,82,83,84,86,3492,3494,3517,3536,3578,3657,3685,3784,3823,3860,3915,4066,4107,1,10988,4,2,111,117,3500,3510,110,103,114,117,101,110,116,59,1,8802,112,67,97,112,59,1,8813,111,117,98,108,101,86,101,114,116,105,99,97,108,66,97,114,59,1,8742,4,3,108,113,120,3544,3552,3571,101,109,101,110,116,59,1,8713,117,97,108,4,2,59,84,3561,3563,1,8800,105,108,100,101,59,3,8770,824,105,115,116,115,59,1,8708,114,101,97,116,101,114,4,7,59,69,70,71,76,83,84,3600,3602,3609,3621,3631,3637,3650,1,8815,113,117,97,108,59,1,8817,117,108,108,69,113,117,97,108,59,3,8807,824,114,101,97,116,101,114,59,3,8811,824,101,115,115,59,1,8825,108,97,110,116,69,113,117,97,108,59,3,10878,824,105,108,100,101,59,1,8821,117,109,112,4,2,68,69,3666,3677,111,119,110,72,117,109,112,59,3,8782,824,113,117,97,108,59,3,8783,824,101,4,2,102,115,3692,3724,116,84,114,105,97,110,103,108,101,4,3,59,66,69,3709,3711,3717,1,8938,97,114,59,3,10703,824,113,117,97,108,59,1,8940,115,4,6,59,69,71,76,83,84,3739,3741,3748,3757,3764,3777,1,8814,113,117,97,108,59,1,8816,114,101,97,116,101,114,59,1,8824,101,115,115,59,3,8810,824,108,97,110,116,69,113,117,97,108,59,3,10877,824,105,108,100,101,59,1,8820,101,115,116,101,100,4,2,71,76,3795,3812,114,101,97,116,101,114,71,114,101,97,116,101,114,59,3,10914,824,101,115,115,76,101,115,115,59,3,10913,824,114,101,99,101,100,101,115,4,3,59,69,83,3838,3840,3848,1,8832,113,117,97,108,59,3,10927,824,108,97,110,116,69,113,117,97,108,59,1,8928,4,2,101,105,3866,3881,118,101,114,115,101,69,108,101,109,101,110,116,59,1,8716,103,104,116,84,114,105,97,110,103,108,101,4,3,59,66,69,3900,3902,3908,1,8939,97,114,59,3,10704,824,113,117,97,108,59,1,8941,4,2,113,117,3921,3973,117,97,114,101,83,117,4,2,98,112,3933,3952,115,101,116,4,2,59,69,3942,3945,3,8847,824,113,117,97,108,59,1,8930,101,114,115,101,116,4,2,59,69,3963,3966,3,8848,824,113,117,97,108,59,1,8931,4,3,98,99,112,3981,4e3,4045,115,101,116,4,2,59,69,3990,3993,3,8834,8402,113,117,97,108,59,1,8840,99,101,101,100,115,4,4,59,69,83,84,4015,4017,4025,4037,1,8833,113,117,97,108,59,3,10928,824,108,97,110,116,69,113,117,97,108,59,1,8929,105,108,100,101,59,3,8831,824,101,114,115,101,116,4,2,59,69,4056,4059,3,8835,8402,113,117,97,108,59,1,8841,105,108,100,101,4,4,59,69,70,84,4080,4082,4089,4100,1,8769,113,117,97,108,59,1,8772,117,108,108,69,113,117,97,108,59,1,8775,105,108,100,101,59,1,8777,101,114,116,105,99,97,108,66,97,114,59,1,8740,99,114,59,3,55349,56489,105,108,100,101,5,209,1,59,4135,1,209,59,1,925,4,14,69,97,99,100,102,103,109,111,112,114,115,116,117,118,4170,4176,4187,4205,4212,4217,4228,4253,4259,4292,4295,4316,4337,4346,108,105,103,59,1,338,99,117,116,101,5,211,1,59,4185,1,211,4,2,105,121,4193,4202,114,99,5,212,1,59,4200,1,212,59,1,1054,98,108,97,99,59,1,336,114,59,3,55349,56594,114,97,118,101,5,210,1,59,4226,1,210,4,3,97,101,105,4236,4241,4246,99,114,59,1,332,103,97,59,1,937,99,114,111,110,59,1,927,112,102,59,3,55349,56646,101,110,67,117,114,108,121,4,2,68,81,4272,4285,111,117,98,108,101,81,117,111,116,101,59,1,8220,117,111,116,101,59,1,8216,59,1,10836,4,2,99,108,4301,4306,114,59,3,55349,56490,97,115,104,5,216,1,59,4314,1,216,105,4,2,108,109,4323,4332,100,101,5,213,1,59,4330,1,213,101,115,59,1,10807,109,108,5,214,1,59,4344,1,214,101,114,4,2,66,80,4354,4380,4,2,97,114,4360,4364,114,59,1,8254,97,99,4,2,101,107,4372,4375,59,1,9182,101,116,59,1,9140,97,114,101,110,116,104,101,115,105,115,59,1,9180,4,9,97,99,102,104,105,108,111,114,115,4413,4422,4426,4431,4435,4438,4448,4471,4561,114,116,105,97,108,68,59,1,8706,121,59,1,1055,114,59,3,55349,56595,105,59,1,934,59,1,928,117,115,77,105,110,117,115,59,1,177,4,2,105,112,4454,4467,110,99,97,114,101,112,108,97,110,101,59,1,8460,102,59,1,8473,4,4,59,101,105,111,4481,4483,4526,4531,1,10939,99,101,100,101,115,4,4,59,69,83,84,4498,4500,4507,4519,1,8826,113,117,97,108,59,1,10927,108,97,110,116,69,113,117,97,108,59,1,8828,105,108,100,101,59,1,8830,109,101,59,1,8243,4,2,100,112,4537,4543,117,99,116,59,1,8719,111,114,116,105,111,110,4,2,59,97,4555,4557,1,8759,108,59,1,8733,4,2,99,105,4567,4572,114,59,3,55349,56491,59,1,936,4,4,85,102,111,115,4585,4594,4599,4604,79,84,5,34,1,59,4592,1,34,114,59,3,55349,56596,112,102,59,1,8474,99,114,59,3,55349,56492,4,12,66,69,97,99,101,102,104,105,111,114,115,117,4636,4642,4650,4681,4704,4763,4767,4771,5047,5069,5081,5094,97,114,114,59,1,10512,71,5,174,1,59,4648,1,174,4,3,99,110,114,4658,4664,4668,117,116,101,59,1,340,103,59,1,10219,114,4,2,59,116,4675,4677,1,8608,108,59,1,10518,4,3,97,101,121,4689,4695,4701,114,111,110,59,1,344,100,105,108,59,1,342,59,1,1056,4,2,59,118,4710,4712,1,8476,101,114,115,101,4,2,69,85,4722,4748,4,2,108,113,4728,4736,101,109,101,110,116,59,1,8715,117,105,108,105,98,114,105,117,109,59,1,8651,112,69,113,117,105,108,105,98,114,105,117,109,59,1,10607,114,59,1,8476,111,59,1,929,103,104,116,4,8,65,67,68,70,84,85,86,97,4792,4840,4849,4905,4912,4972,5022,5040,4,2,110,114,4798,4811,103,108,101,66,114,97,99,107,101,116,59,1,10217,114,111,119,4,3,59,66,76,4822,4824,4829,1,8594,97,114,59,1,8677,101,102,116,65,114,114,111,119,59,1,8644,101,105,108,105,110,103,59,1,8969,111,4,2,117,119,4856,4869,98,108,101,66,114,97,99,107,101,116,59,1,10215,110,4,2,84,86,4876,4887,101,101,86,101,99,116,111,114,59,1,10589,101,99,116,111,114,4,2,59,66,4898,4900,1,8642,97,114,59,1,10581,108,111,111,114,59,1,8971,4,2,101,114,4918,4944,101,4,3,59,65,86,4927,4929,4936,1,8866,114,114,111,119,59,1,8614,101,99,116,111,114,59,1,10587,105,97,110,103,108,101,4,3,59,66,69,4958,4960,4965,1,8883,97,114,59,1,10704,113,117,97,108,59,1,8885,112,4,3,68,84,86,4981,4993,5004,111,119,110,86,101,99,116,111,114,59,1,10575,101,101,86,101,99,116,111,114,59,1,10588,101,99,116,111,114,4,2,59,66,5015,5017,1,8638,97,114,59,1,10580,101,99,116,111,114,4,2,59,66,5033,5035,1,8640,97,114,59,1,10579,114,114,111,119,59,1,8658,4,2,112,117,5053,5057,102,59,1,8477,110,100,73,109,112,108,105,101,115,59,1,10608,105,103,104,116,97,114,114,111,119,59,1,8667,4,2,99,104,5087,5091,114,59,1,8475,59,1,8625,108,101,68,101,108,97,121,101,100,59,1,10740,4,13,72,79,97,99,102,104,105,109,111,113,115,116,117,5134,5150,5157,5164,5198,5203,5259,5265,5277,5283,5374,5380,5385,4,2,67,99,5140,5146,72,99,121,59,1,1065,121,59,1,1064,70,84,99,121,59,1,1068,99,117,116,101,59,1,346,4,5,59,97,101,105,121,5176,5178,5184,5190,5195,1,10940,114,111,110,59,1,352,100,105,108,59,1,350,114,99,59,1,348,59,1,1057,114,59,3,55349,56598,111,114,116,4,4,68,76,82,85,5216,5227,5238,5250,111,119,110,65,114,114,111,119,59,1,8595,101,102,116,65,114,114,111,119,59,1,8592,105,103,104,116,65,114,114,111,119,59,1,8594,112,65,114,114,111,119,59,1,8593,103,109,97,59,1,931,97,108,108,67,105,114,99,108,101,59,1,8728,112,102,59,3,55349,56650,4,2,114,117,5289,5293,116,59,1,8730,97,114,101,4,4,59,73,83,85,5306,5308,5322,5367,1,9633,110,116,101,114,115,101,99,116,105,111,110,59,1,8851,117,4,2,98,112,5329,5347,115,101,116,4,2,59,69,5338,5340,1,8847,113,117,97,108,59,1,8849,101,114,115,101,116,4,2,59,69,5358,5360,1,8848,113,117,97,108,59,1,8850,110,105,111,110,59,1,8852,99,114,59,3,55349,56494,97,114,59,1,8902,4,4,98,99,109,112,5395,5420,5475,5478,4,2,59,115,5401,5403,1,8912,101,116,4,2,59,69,5411,5413,1,8912,113,117,97,108,59,1,8838,4,2,99,104,5426,5468,101,101,100,115,4,4,59,69,83,84,5440,5442,5449,5461,1,8827,113,117,97,108,59,1,10928,108,97,110,116,69,113,117,97,108,59,1,8829,105,108,100,101,59,1,8831,84,104,97,116,59,1,8715,59,1,8721,4,3,59,101,115,5486,5488,5507,1,8913,114,115,101,116,4,2,59,69,5498,5500,1,8835,113,117,97,108,59,1,8839,101,116,59,1,8913,4,11,72,82,83,97,99,102,104,105,111,114,115,5536,5546,5552,5567,5579,5602,5607,5655,5695,5701,5711,79,82,78,5,222,1,59,5544,1,222,65,68,69,59,1,8482,4,2,72,99,5558,5563,99,121,59,1,1035,121,59,1,1062,4,2,98,117,5573,5576,59,1,9,59,1,932,4,3,97,101,121,5587,5593,5599,114,111,110,59,1,356,100,105,108,59,1,354,59,1,1058,114,59,3,55349,56599,4,2,101,105,5613,5631,4,2,114,116,5619,5627,101,102,111,114,101,59,1,8756,97,59,1,920,4,2,99,110,5637,5647,107,83,112,97,99,101,59,3,8287,8202,83,112,97,99,101,59,1,8201,108,100,101,4,4,59,69,70,84,5668,5670,5677,5688,1,8764,113,117,97,108,59,1,8771,117,108,108,69,113,117,97,108,59,1,8773,105,108,100,101,59,1,8776,112,102,59,3,55349,56651,105,112,108,101,68,111,116,59,1,8411,4,2,99,116,5717,5722,114,59,3,55349,56495,114,111,107,59,1,358,4,14,97,98,99,100,102,103,109,110,111,112,114,115,116,117,5758,5789,5805,5823,5830,5835,5846,5852,5921,5937,6089,6095,6101,6108,4,2,99,114,5764,5774,117,116,101,5,218,1,59,5772,1,218,114,4,2,59,111,5781,5783,1,8607,99,105,114,59,1,10569,114,4,2,99,101,5796,5800,121,59,1,1038,118,101,59,1,364,4,2,105,121,5811,5820,114,99,5,219,1,59,5818,1,219,59,1,1059,98,108,97,99,59,1,368,114,59,3,55349,56600,114,97,118,101,5,217,1,59,5844,1,217,97,99,114,59,1,362,4,2,100,105,5858,5905,101,114,4,2,66,80,5866,5892,4,2,97,114,5872,5876,114,59,1,95,97,99,4,2,101,107,5884,5887,59,1,9183,101,116,59,1,9141,97,114,101,110,116,104,101,115,105,115,59,1,9181,111,110,4,2,59,80,5913,5915,1,8899,108,117,115,59,1,8846,4,2,103,112,5927,5932,111,110,59,1,370,102,59,3,55349,56652,4,8,65,68,69,84,97,100,112,115,5955,5985,5996,6009,6026,6033,6044,6075,114,114,111,119,4,3,59,66,68,5967,5969,5974,1,8593,97,114,59,1,10514,111,119,110,65,114,114,111,119,59,1,8645,111,119,110,65,114,114,111,119,59,1,8597,113,117,105,108,105,98,114,105,117,109,59,1,10606,101,101,4,2,59,65,6017,6019,1,8869,114,114,111,119,59,1,8613,114,114,111,119,59,1,8657,111,119,110,97,114,114,111,119,59,1,8661,101,114,4,2,76,82,6052,6063,101,102,116,65,114,114,111,119,59,1,8598,105,103,104,116,65,114,114,111,119,59,1,8599,105,4,2,59,108,6082,6084,1,978,111,110,59,1,933,105,110,103,59,1,366,99,114,59,3,55349,56496,105,108,100,101,59,1,360,109,108,5,220,1,59,6115,1,220,4,9,68,98,99,100,101,102,111,115,118,6137,6143,6148,6152,6166,6250,6255,6261,6267,97,115,104,59,1,8875,97,114,59,1,10987,121,59,1,1042,97,115,104,4,2,59,108,6161,6163,1,8873,59,1,10982,4,2,101,114,6172,6175,59,1,8897,4,3,98,116,121,6183,6188,6238,97,114,59,1,8214,4,2,59,105,6194,6196,1,8214,99,97,108,4,4,66,76,83,84,6209,6214,6220,6231,97,114,59,1,8739,105,110,101,59,1,124,101,112,97,114,97,116,111,114,59,1,10072,105,108,100,101,59,1,8768,84,104,105,110,83,112,97,99,101,59,1,8202,114,59,3,55349,56601,112,102,59,3,55349,56653,99,114,59,3,55349,56497,100,97,115,104,59,1,8874,4,5,99,101,102,111,115,6286,6292,6298,6303,6309,105,114,99,59,1,372,100,103,101,59,1,8896,114,59,3,55349,56602,112,102,59,3,55349,56654,99,114,59,3,55349,56498,4,4,102,105,111,115,6325,6330,6333,6339,114,59,3,55349,56603,59,1,926,112,102,59,3,55349,56655,99,114,59,3,55349,56499,4,9,65,73,85,97,99,102,111,115,117,6365,6370,6375,6380,6391,6405,6410,6416,6422,99,121,59,1,1071,99,121,59,1,1031,99,121,59,1,1070,99,117,116,101,5,221,1,59,6389,1,221,4,2,105,121,6397,6402,114,99,59,1,374,59,1,1067,114,59,3,55349,56604,112,102,59,3,55349,56656,99,114,59,3,55349,56500,109,108,59,1,376,4,8,72,97,99,100,101,102,111,115,6445,6450,6457,6472,6477,6501,6505,6510,99,121,59,1,1046,99,117,116,101,59,1,377,4,2,97,121,6463,6469,114,111,110,59,1,381,59,1,1047,111,116,59,1,379,4,2,114,116,6483,6497,111,87,105,100,116,104,83,112,97,99,101,59,1,8203,97,59,1,918,114,59,1,8488,112,102,59,1,8484,99,114,59,3,55349,56501,4,16,97,98,99,101,102,103,108,109,110,111,112,114,115,116,117,119,6550,6561,6568,6612,6622,6634,6645,6672,6699,6854,6870,6923,6933,6963,6974,6983,99,117,116,101,5,225,1,59,6559,1,225,114,101,118,101,59,1,259,4,6,59,69,100,105,117,121,6582,6584,6588,6591,6600,6609,1,8766,59,3,8766,819,59,1,8767,114,99,5,226,1,59,6598,1,226,116,101,5,180,1,59,6607,1,180,59,1,1072,108,105,103,5,230,1,59,6620,1,230,4,2,59,114,6628,6630,1,8289,59,3,55349,56606,114,97,118,101,5,224,1,59,6643,1,224,4,2,101,112,6651,6667,4,2,102,112,6657,6663,115,121,109,59,1,8501,104,59,1,8501,104,97,59,1,945,4,2,97,112,6678,6692,4,2,99,108,6684,6688,114,59,1,257,103,59,1,10815,5,38,1,59,6697,1,38,4,2,100,103,6705,6737,4,5,59,97,100,115,118,6717,6719,6724,6727,6734,1,8743,110,100,59,1,10837,59,1,10844,108,111,112,101,59,1,10840,59,1,10842,4,7,59,101,108,109,114,115,122,6753,6755,6758,6762,6814,6835,6848,1,8736,59,1,10660,101,59,1,8736,115,100,4,2,59,97,6770,6772,1,8737,4,8,97,98,99,100,101,102,103,104,6790,6793,6796,6799,6802,6805,6808,6811,59,1,10664,59,1,10665,59,1,10666,59,1,10667,59,1,10668,59,1,10669,59,1,10670,59,1,10671,116,4,2,59,118,6821,6823,1,8735,98,4,2,59,100,6830,6832,1,8894,59,1,10653,4,2,112,116,6841,6845,104,59,1,8738,59,1,197,97,114,114,59,1,9084,4,2,103,112,6860,6865,111,110,59,1,261,102,59,3,55349,56658,4,7,59,69,97,101,105,111,112,6886,6888,6891,6897,6900,6904,6908,1,8776,59,1,10864,99,105,114,59,1,10863,59,1,8778,100,59,1,8779,115,59,1,39,114,111,120,4,2,59,101,6917,6919,1,8776,113,59,1,8778,105,110,103,5,229,1,59,6931,1,229,4,3,99,116,121,6941,6946,6949,114,59,3,55349,56502,59,1,42,109,112,4,2,59,101,6957,6959,1,8776,113,59,1,8781,105,108,100,101,5,227,1,59,6972,1,227,109,108,5,228,1,59,6981,1,228,4,2,99,105,6989,6997,111,110,105,110,116,59,1,8755,110,116,59,1,10769,4,16,78,97,98,99,100,101,102,105,107,108,110,111,112,114,115,117,7036,7041,7119,7135,7149,7155,7219,7224,7347,7354,7463,7489,7786,7793,7814,7866,111,116,59,1,10989,4,2,99,114,7047,7094,107,4,4,99,101,112,115,7058,7064,7073,7080,111,110,103,59,1,8780,112,115,105,108,111,110,59,1,1014,114,105,109,101,59,1,8245,105,109,4,2,59,101,7088,7090,1,8765,113,59,1,8909,4,2,118,119,7100,7105,101,101,59,1,8893,101,100,4,2,59,103,7113,7115,1,8965,101,59,1,8965,114,107,4,2,59,116,7127,7129,1,9141,98,114,107,59,1,9142,4,2,111,121,7141,7146,110,103,59,1,8780,59,1,1073,113,117,111,59,1,8222,4,5,99,109,112,114,116,7167,7181,7188,7193,7199,97,117,115,4,2,59,101,7176,7178,1,8757,59,1,8757,112,116,121,118,59,1,10672,115,105,59,1,1014,110,111,117,59,1,8492,4,3,97,104,119,7207,7210,7213,59,1,946,59,1,8502,101,101,110,59,1,8812,114,59,3,55349,56607,103,4,7,99,111,115,116,117,118,119,7241,7262,7288,7305,7328,7335,7340,4,3,97,105,117,7249,7253,7258,112,59,1,8898,114,99,59,1,9711,112,59,1,8899,4,3,100,112,116,7270,7275,7281,111,116,59,1,10752,108,117,115,59,1,10753,105,109,101,115,59,1,10754,4,2,113,116,7294,7300,99,117,112,59,1,10758,97,114,59,1,9733,114,105,97,110,103,108,101,4,2,100,117,7318,7324,111,119,110,59,1,9661,112,59,1,9651,112,108,117,115,59,1,10756,101,101,59,1,8897,101,100,103,101,59,1,8896,97,114,111,119,59,1,10509,4,3,97,107,111,7362,7436,7458,4,2,99,110,7368,7432,107,4,3,108,115,116,7377,7386,7394,111,122,101,110,103,101,59,1,10731,113,117,97,114,101,59,1,9642,114,105,97,110,103,108,101,4,4,59,100,108,114,7411,7413,7419,7425,1,9652,111,119,110,59,1,9662,101,102,116,59,1,9666,105,103,104,116,59,1,9656,107,59,1,9251,4,2,49,51,7442,7454,4,2,50,52,7448,7451,59,1,9618,59,1,9617,52,59,1,9619,99,107,59,1,9608,4,2,101,111,7469,7485,4,2,59,113,7475,7478,3,61,8421,117,105,118,59,3,8801,8421,116,59,1,8976,4,4,112,116,119,120,7499,7504,7517,7523,102,59,3,55349,56659,4,2,59,116,7510,7512,1,8869,111,109,59,1,8869,116,105,101,59,1,8904,4,12,68,72,85,86,98,100,104,109,112,116,117,118,7549,7571,7597,7619,7655,7660,7682,7708,7715,7721,7728,7750,4,4,76,82,108,114,7559,7562,7565,7568,59,1,9559,59,1,9556,59,1,9558,59,1,9555,4,5,59,68,85,100,117,7583,7585,7588,7591,7594,1,9552,59,1,9574,59,1,9577,59,1,9572,59,1,9575,4,4,76,82,108,114,7607,7610,7613,7616,59,1,9565,59,1,9562,59,1,9564,59,1,9561,4,7,59,72,76,82,104,108,114,7635,7637,7640,7643,7646,7649,7652,1,9553,59,1,9580,59,1,9571,59,1,9568,59,1,9579,59,1,9570,59,1,9567,111,120,59,1,10697,4,4,76,82,108,114,7670,7673,7676,7679,59,1,9557,59,1,9554,59,1,9488,59,1,9484,4,5,59,68,85,100,117,7694,7696,7699,7702,7705,1,9472,59,1,9573,59,1,9576,59,1,9516,59,1,9524,105,110,117,115,59,1,8863,108,117,115,59,1,8862,105,109,101,115,59,1,8864,4,4,76,82,108,114,7738,7741,7744,7747,59,1,9563,59,1,9560,59,1,9496,59,1,9492,4,7,59,72,76,82,104,108,114,7766,7768,7771,7774,7777,7780,7783,1,9474,59,1,9578,59,1,9569,59,1,9566,59,1,9532,59,1,9508,59,1,9500,114,105,109,101,59,1,8245,4,2,101,118,7799,7804,118,101,59,1,728,98,97,114,5,166,1,59,7812,1,166,4,4,99,101,105,111,7824,7829,7834,7846,114,59,3,55349,56503,109,105,59,1,8271,109,4,2,59,101,7841,7843,1,8765,59,1,8909,108,4,3,59,98,104,7855,7857,7860,1,92,59,1,10693,115,117,98,59,1,10184,4,2,108,109,7872,7885,108,4,2,59,101,7879,7881,1,8226,116,59,1,8226,112,4,3,59,69,101,7894,7896,7899,1,8782,59,1,10926,4,2,59,113,7905,7907,1,8783,59,1,8783,4,15,97,99,100,101,102,104,105,108,111,114,115,116,117,119,121,7942,8021,8075,8080,8121,8126,8157,8279,8295,8430,8446,8485,8491,8707,8726,4,3,99,112,114,7950,7956,8007,117,116,101,59,1,263,4,6,59,97,98,99,100,115,7970,7972,7977,7984,7998,8003,1,8745,110,100,59,1,10820,114,99,117,112,59,1,10825,4,2,97,117,7990,7994,112,59,1,10827,112,59,1,10823,111,116,59,1,10816,59,3,8745,65024,4,2,101,111,8013,8017,116,59,1,8257,110,59,1,711,4,4,97,101,105,117,8031,8046,8056,8061,4,2,112,114,8037,8041,115,59,1,10829,111,110,59,1,269,100,105,108,5,231,1,59,8054,1,231,114,99,59,1,265,112,115,4,2,59,115,8069,8071,1,10828,109,59,1,10832,111,116,59,1,267,4,3,100,109,110,8088,8097,8104,105,108,5,184,1,59,8095,1,184,112,116,121,118,59,1,10674,116,5,162,2,59,101,8112,8114,1,162,114,100,111,116,59,1,183,114,59,3,55349,56608,4,3,99,101,105,8134,8138,8154,121,59,1,1095,99,107,4,2,59,109,8146,8148,1,10003,97,114,107,59,1,10003,59,1,967,114,4,7,59,69,99,101,102,109,115,8174,8176,8179,8258,8261,8268,8273,1,9675,59,1,10691,4,3,59,101,108,8187,8189,8193,1,710,113,59,1,8791,101,4,2,97,100,8200,8223,114,114,111,119,4,2,108,114,8210,8216,101,102,116,59,1,8634,105,103,104,116,59,1,8635,4,5,82,83,97,99,100,8235,8238,8241,8246,8252,59,1,174,59,1,9416,115,116,59,1,8859,105,114,99,59,1,8858,97,115,104,59,1,8861,59,1,8791,110,105,110,116,59,1,10768,105,100,59,1,10991,99,105,114,59,1,10690,117,98,115,4,2,59,117,8288,8290,1,9827,105,116,59,1,9827,4,4,108,109,110,112,8305,8326,8376,8400,111,110,4,2,59,101,8313,8315,1,58,4,2,59,113,8321,8323,1,8788,59,1,8788,4,2,109,112,8332,8344,97,4,2,59,116,8339,8341,1,44,59,1,64,4,3,59,102,108,8352,8354,8358,1,8705,110,59,1,8728,101,4,2,109,120,8365,8371,101,110,116,59,1,8705,101,115,59,1,8450,4,2,103,105,8382,8395,4,2,59,100,8388,8390,1,8773,111,116,59,1,10861,110,116,59,1,8750,4,3,102,114,121,8408,8412,8417,59,3,55349,56660,111,100,59,1,8720,5,169,2,59,115,8424,8426,1,169,114,59,1,8471,4,2,97,111,8436,8441,114,114,59,1,8629,115,115,59,1,10007,4,2,99,117,8452,8457,114,59,3,55349,56504,4,2,98,112,8463,8474,4,2,59,101,8469,8471,1,10959,59,1,10961,4,2,59,101,8480,8482,1,10960,59,1,10962,100,111,116,59,1,8943,4,7,100,101,108,112,114,118,119,8507,8522,8536,8550,8600,8697,8702,97,114,114,4,2,108,114,8516,8519,59,1,10552,59,1,10549,4,2,112,115,8528,8532,114,59,1,8926,99,59,1,8927,97,114,114,4,2,59,112,8545,8547,1,8630,59,1,10557,4,6,59,98,99,100,111,115,8564,8566,8573,8587,8592,8596,1,8746,114,99,97,112,59,1,10824,4,2,97,117,8579,8583,112,59,1,10822,112,59,1,10826,111,116,59,1,8845,114,59,1,10821,59,3,8746,65024,4,4,97,108,114,118,8610,8623,8663,8672,114,114,4,2,59,109,8618,8620,1,8631,59,1,10556,121,4,3,101,118,119,8632,8651,8656,113,4,2,112,115,8639,8645,114,101,99,59,1,8926,117,99,99,59,1,8927,101,101,59,1,8910,101,100,103,101,59,1,8911,101,110,5,164,1,59,8670,1,164,101,97,114,114,111,119,4,2,108,114,8684,8690,101,102,116,59,1,8630,105,103,104,116,59,1,8631,101,101,59,1,8910,101,100,59,1,8911,4,2,99,105,8713,8721,111,110,105,110,116,59,1,8754,110,116,59,1,8753,108,99,116,121,59,1,9005,4,19,65,72,97,98,99,100,101,102,104,105,106,108,111,114,115,116,117,119,122,8773,8778,8783,8821,8839,8854,8887,8914,8930,8944,9036,9041,9058,9197,9227,9258,9281,9297,9305,114,114,59,1,8659,97,114,59,1,10597,4,4,103,108,114,115,8793,8799,8805,8809,103,101,114,59,1,8224,101,116,104,59,1,8504,114,59,1,8595,104,4,2,59,118,8816,8818,1,8208,59,1,8867,4,2,107,108,8827,8834,97,114,111,119,59,1,10511,97,99,59,1,733,4,2,97,121,8845,8851,114,111,110,59,1,271,59,1,1076,4,3,59,97,111,8862,8864,8880,1,8518,4,2,103,114,8870,8876,103,101,114,59,1,8225,114,59,1,8650,116,115,101,113,59,1,10871,4,3,103,108,109,8895,8902,8907,5,176,1,59,8900,1,176,116,97,59,1,948,112,116,121,118,59,1,10673,4,2,105,114,8920,8926,115,104,116,59,1,10623,59,3,55349,56609,97,114,4,2,108,114,8938,8941,59,1,8643,59,1,8642,4,5,97,101,103,115,118,8956,8986,8989,8996,9001,109,4,3,59,111,115,8965,8967,8983,1,8900,110,100,4,2,59,115,8975,8977,1,8900,117,105,116,59,1,9830,59,1,9830,59,1,168,97,109,109,97,59,1,989,105,110,59,1,8946,4,3,59,105,111,9009,9011,9031,1,247,100,101,5,247,2,59,111,9020,9022,1,247,110,116,105,109,101,115,59,1,8903,110,120,59,1,8903,99,121,59,1,1106,99,4,2,111,114,9048,9053,114,110,59,1,8990,111,112,59,1,8973,4,5,108,112,116,117,119,9070,9076,9081,9130,9144,108,97,114,59,1,36,102,59,3,55349,56661,4,5,59,101,109,112,115,9093,9095,9109,9116,9122,1,729,113,4,2,59,100,9102,9104,1,8784,111,116,59,1,8785,105,110,117,115,59,1,8760,108,117,115,59,1,8724,113,117,97,114,101,59,1,8865,98,108,101,98,97,114,119,101,100,103,101,59,1,8966,110,4,3,97,100,104,9153,9160,9172,114,114,111,119,59,1,8595,111,119,110,97,114,114,111,119,115,59,1,8650,97,114,112,111,111,110,4,2,108,114,9184,9190,101,102,116,59,1,8643,105,103,104,116,59,1,8642,4,2,98,99,9203,9211,107,97,114,111,119,59,1,10512,4,2,111,114,9217,9222,114,110,59,1,8991,111,112,59,1,8972,4,3,99,111,116,9235,9248,9252,4,2,114,121,9241,9245,59,3,55349,56505,59,1,1109,108,59,1,10742,114,111,107,59,1,273,4,2,100,114,9264,9269,111,116,59,1,8945,105,4,2,59,102,9276,9278,1,9663,59,1,9662,4,2,97,104,9287,9292,114,114,59,1,8693,97,114,59,1,10607,97,110,103,108,101,59,1,10662,4,2,99,105,9311,9315,121,59,1,1119,103,114,97,114,114,59,1,10239,4,18,68,97,99,100,101,102,103,108,109,110,111,112,113,114,115,116,117,120,9361,9376,9398,9439,9444,9447,9462,9495,9531,9585,9598,9614,9659,9755,9771,9792,9808,9826,4,2,68,111,9367,9372,111,116,59,1,10871,116,59,1,8785,4,2,99,115,9382,9392,117,116,101,5,233,1,59,9390,1,233,116,101,114,59,1,10862,4,4,97,105,111,121,9408,9414,9430,9436,114,111,110,59,1,283,114,4,2,59,99,9421,9423,1,8790,5,234,1,59,9428,1,234,108,111,110,59,1,8789,59,1,1101,111,116,59,1,279,59,1,8519,4,2,68,114,9453,9458,111,116,59,1,8786,59,3,55349,56610,4,3,59,114,115,9470,9472,9482,1,10906,97,118,101,5,232,1,59,9480,1,232,4,2,59,100,9488,9490,1,10902,111,116,59,1,10904,4,4,59,105,108,115,9505,9507,9515,9518,1,10905,110,116,101,114,115,59,1,9191,59,1,8467,4,2,59,100,9524,9526,1,10901,111,116,59,1,10903,4,3,97,112,115,9539,9544,9564,99,114,59,1,275,116,121,4,3,59,115,118,9554,9556,9561,1,8709,101,116,59,1,8709,59,1,8709,112,4,2,49,59,9571,9583,4,2,51,52,9577,9580,59,1,8196,59,1,8197,1,8195,4,2,103,115,9591,9594,59,1,331,112,59,1,8194,4,2,103,112,9604,9609,111,110,59,1,281,102,59,3,55349,56662,4,3,97,108,115,9622,9635,9640,114,4,2,59,115,9629,9631,1,8917,108,59,1,10723,117,115,59,1,10865,105,4,3,59,108,118,9649,9651,9656,1,949,111,110,59,1,949,59,1,1013,4,4,99,115,117,118,9669,9686,9716,9747,4,2,105,111,9675,9680,114,99,59,1,8790,108,111,110,59,1,8789,4,2,105,108,9692,9696,109,59,1,8770,97,110,116,4,2,103,108,9705,9710,116,114,59,1,10902,101,115,115,59,1,10901,4,3,97,101,105,9724,9729,9734,108,115,59,1,61,115,116,59,1,8799,118,4,2,59,68,9741,9743,1,8801,68,59,1,10872,112,97,114,115,108,59,1,10725,4,2,68,97,9761,9766,111,116,59,1,8787,114,114,59,1,10609,4,3,99,100,105,9779,9783,9788,114,59,1,8495,111,116,59,1,8784,109,59,1,8770,4,2,97,104,9798,9801,59,1,951,5,240,1,59,9806,1,240,4,2,109,114,9814,9822,108,5,235,1,59,9820,1,235,111,59,1,8364,4,3,99,105,112,9834,9838,9843,108,59,1,33,115,116,59,1,8707,4,2,101,111,9849,9859,99,116,97,116,105,111,110,59,1,8496,110,101,110,116,105,97,108,101,59,1,8519,4,12,97,99,101,102,105,106,108,110,111,112,114,115,9896,9910,9914,9921,9954,9960,9967,9989,9994,10027,10036,10164,108,108,105,110,103,100,111,116,115,101,113,59,1,8786,121,59,1,1092,109,97,108,101,59,1,9792,4,3,105,108,114,9929,9935,9950,108,105,103,59,1,64259,4,2,105,108,9941,9945,103,59,1,64256,105,103,59,1,64260,59,3,55349,56611,108,105,103,59,1,64257,108,105,103,59,3,102,106,4,3,97,108,116,9975,9979,9984,116,59,1,9837,105,103,59,1,64258,110,115,59,1,9649,111,102,59,1,402,4,2,112,114,1e4,10005,102,59,3,55349,56663,4,2,97,107,10011,10016,108,108,59,1,8704,4,2,59,118,10022,10024,1,8916,59,1,10969,97,114,116,105,110,116,59,1,10765,4,2,97,111,10042,10159,4,2,99,115,10048,10155,4,6,49,50,51,52,53,55,10062,10102,10114,10135,10139,10151,4,6,50,51,52,53,54,56,10076,10083,10086,10093,10096,10099,5,189,1,59,10081,1,189,59,1,8531,5,188,1,59,10091,1,188,59,1,8533,59,1,8537,59,1,8539,4,2,51,53,10108,10111,59,1,8532,59,1,8534,4,3,52,53,56,10122,10129,10132,5,190,1,59,10127,1,190,59,1,8535,59,1,8540,53,59,1,8536,4,2,54,56,10145,10148,59,1,8538,59,1,8541,56,59,1,8542,108,59,1,8260,119,110,59,1,8994,99,114,59,3,55349,56507,4,17,69,97,98,99,100,101,102,103,105,106,108,110,111,114,115,116,118,10206,10217,10247,10254,10268,10273,10358,10363,10374,10380,10385,10406,10458,10464,10470,10497,10610,4,2,59,108,10212,10214,1,8807,59,1,10892,4,3,99,109,112,10225,10231,10244,117,116,101,59,1,501,109,97,4,2,59,100,10239,10241,1,947,59,1,989,59,1,10886,114,101,118,101,59,1,287,4,2,105,121,10260,10265,114,99,59,1,285,59,1,1075,111,116,59,1,289,4,4,59,108,113,115,10283,10285,10288,10308,1,8805,59,1,8923,4,3,59,113,115,10296,10298,10301,1,8805,59,1,8807,108,97,110,116,59,1,10878,4,4,59,99,100,108,10318,10320,10324,10345,1,10878,99,59,1,10921,111,116,4,2,59,111,10332,10334,1,10880,4,2,59,108,10340,10342,1,10882,59,1,10884,4,2,59,101,10351,10354,3,8923,65024,115,59,1,10900,114,59,3,55349,56612,4,2,59,103,10369,10371,1,8811,59,1,8921,109,101,108,59,1,8503,99,121,59,1,1107,4,4,59,69,97,106,10395,10397,10400,10403,1,8823,59,1,10898,59,1,10917,59,1,10916,4,4,69,97,101,115,10416,10419,10434,10453,59,1,8809,112,4,2,59,112,10426,10428,1,10890,114,111,120,59,1,10890,4,2,59,113,10440,10442,1,10888,4,2,59,113,10448,10450,1,10888,59,1,8809,105,109,59,1,8935,112,102,59,3,55349,56664,97,118,101,59,1,96,4,2,99,105,10476,10480,114,59,1,8458,109,4,3,59,101,108,10489,10491,10494,1,8819,59,1,10894,59,1,10896,5,62,6,59,99,100,108,113,114,10512,10514,10527,10532,10538,10545,1,62,4,2,99,105,10520,10523,59,1,10919,114,59,1,10874,111,116,59,1,8919,80,97,114,59,1,10645,117,101,115,116,59,1,10876,4,5,97,100,101,108,115,10557,10574,10579,10599,10605,4,2,112,114,10563,10570,112,114,111,120,59,1,10886,114,59,1,10616,111,116,59,1,8919,113,4,2,108,113,10586,10592,101,115,115,59,1,8923,108,101,115,115,59,1,10892,101,115,115,59,1,8823,105,109,59,1,8819,4,2,101,110,10616,10626,114,116,110,101,113,113,59,3,8809,65024,69,59,3,8809,65024,4,10,65,97,98,99,101,102,107,111,115,121,10653,10658,10713,10718,10724,10760,10765,10786,10850,10875,114,114,59,1,8660,4,4,105,108,109,114,10668,10674,10678,10684,114,115,112,59,1,8202,102,59,1,189,105,108,116,59,1,8459,4,2,100,114,10690,10695,99,121,59,1,1098,4,3,59,99,119,10703,10705,10710,1,8596,105,114,59,1,10568,59,1,8621,97,114,59,1,8463,105,114,99,59,1,293,4,3,97,108,114,10732,10748,10754,114,116,115,4,2,59,117,10741,10743,1,9829,105,116,59,1,9829,108,105,112,59,1,8230,99,111,110,59,1,8889,114,59,3,55349,56613,115,4,2,101,119,10772,10779,97,114,111,119,59,1,10533,97,114,111,119,59,1,10534,4,5,97,109,111,112,114,10798,10803,10809,10839,10844,114,114,59,1,8703,116,104,116,59,1,8763,107,4,2,108,114,10816,10827,101,102,116,97,114,114,111,119,59,1,8617,105,103,104,116,97,114,114,111,119,59,1,8618,102,59,3,55349,56665,98,97,114,59,1,8213,4,3,99,108,116,10858,10863,10869,114,59,3,55349,56509,97,115,104,59,1,8463,114,111,107,59,1,295,4,2,98,112,10881,10887,117,108,108,59,1,8259,104,101,110,59,1,8208,4,15,97,99,101,102,103,105,106,109,110,111,112,113,115,116,117,10925,10936,10958,10977,10990,11001,11039,11045,11101,11192,11220,11226,11237,11285,11299,99,117,116,101,5,237,1,59,10934,1,237,4,3,59,105,121,10944,10946,10955,1,8291,114,99,5,238,1,59,10953,1,238,59,1,1080,4,2,99,120,10964,10968,121,59,1,1077,99,108,5,161,1,59,10975,1,161,4,2,102,114,10983,10986,59,1,8660,59,3,55349,56614,114,97,118,101,5,236,1,59,10999,1,236,4,4,59,105,110,111,11011,11013,11028,11034,1,8520,4,2,105,110,11019,11024,110,116,59,1,10764,116,59,1,8749,102,105,110,59,1,10716,116,97,59,1,8489,108,105,103,59,1,307,4,3,97,111,112,11053,11092,11096,4,3,99,103,116,11061,11065,11088,114,59,1,299,4,3,101,108,112,11073,11076,11082,59,1,8465,105,110,101,59,1,8464,97,114,116,59,1,8465,104,59,1,305,102,59,1,8887,101,100,59,1,437,4,5,59,99,102,111,116,11113,11115,11121,11136,11142,1,8712,97,114,101,59,1,8453,105,110,4,2,59,116,11129,11131,1,8734,105,101,59,1,10717,100,111,116,59,1,305,4,5,59,99,101,108,112,11154,11156,11161,11179,11186,1,8747,97,108,59,1,8890,4,2,103,114,11167,11173,101,114,115,59,1,8484,99,97,108,59,1,8890,97,114,104,107,59,1,10775,114,111,100,59,1,10812,4,4,99,103,112,116,11202,11206,11211,11216,121,59,1,1105,111,110,59,1,303,102,59,3,55349,56666,97,59,1,953,114,111,100,59,1,10812,117,101,115,116,5,191,1,59,11235,1,191,4,2,99,105,11243,11248,114,59,3,55349,56510,110,4,5,59,69,100,115,118,11261,11263,11266,11271,11282,1,8712,59,1,8953,111,116,59,1,8949,4,2,59,118,11277,11279,1,8948,59,1,8947,59,1,8712,4,2,59,105,11291,11293,1,8290,108,100,101,59,1,297,4,2,107,109,11305,11310,99,121,59,1,1110,108,5,239,1,59,11316,1,239,4,6,99,102,109,111,115,117,11332,11346,11351,11357,11363,11380,4,2,105,121,11338,11343,114,99,59,1,309,59,1,1081,114,59,3,55349,56615,97,116,104,59,1,567,112,102,59,3,55349,56667,4,2,99,101,11369,11374,114,59,3,55349,56511,114,99,121,59,1,1112,107,99,121,59,1,1108,4,8,97,99,102,103,104,106,111,115,11404,11418,11433,11438,11445,11450,11455,11461,112,112,97,4,2,59,118,11413,11415,1,954,59,1,1008,4,2,101,121,11424,11430,100,105,108,59,1,311,59,1,1082,114,59,3,55349,56616,114,101,101,110,59,1,312,99,121,59,1,1093,99,121,59,1,1116,112,102,59,3,55349,56668,99,114,59,3,55349,56512,4,23,65,66,69,72,97,98,99,100,101,102,103,104,106,108,109,110,111,112,114,115,116,117,118,11515,11538,11544,11555,11560,11721,11780,11818,11868,12136,12160,12171,12203,12208,12246,12275,12327,12509,12523,12569,12641,12732,12752,4,3,97,114,116,11523,11528,11532,114,114,59,1,8666,114,59,1,8656,97,105,108,59,1,10523,97,114,114,59,1,10510,4,2,59,103,11550,11552,1,8806,59,1,10891,97,114,59,1,10594,4,9,99,101,103,109,110,112,113,114,116,11580,11586,11594,11600,11606,11624,11627,11636,11694,117,116,101,59,1,314,109,112,116,121,118,59,1,10676,114,97,110,59,1,8466,98,100,97,59,1,955,103,4,3,59,100,108,11615,11617,11620,1,10216,59,1,10641,101,59,1,10216,59,1,10885,117,111,5,171,1,59,11634,1,171,114,4,8,59,98,102,104,108,112,115,116,11655,11657,11669,11673,11677,11681,11685,11690,1,8592,4,2,59,102,11663,11665,1,8676,115,59,1,10527,115,59,1,10525,107,59,1,8617,112,59,1,8619,108,59,1,10553,105,109,59,1,10611,108,59,1,8610,4,3,59,97,101,11702,11704,11709,1,10923,105,108,59,1,10521,4,2,59,115,11715,11717,1,10925,59,3,10925,65024,4,3,97,98,114,11729,11734,11739,114,114,59,1,10508,114,107,59,1,10098,4,2,97,107,11745,11758,99,4,2,101,107,11752,11755,59,1,123,59,1,91,4,2,101,115,11764,11767,59,1,10635,108,4,2,100,117,11774,11777,59,1,10639,59,1,10637,4,4,97,101,117,121,11790,11796,11811,11815,114,111,110,59,1,318,4,2,100,105,11802,11807,105,108,59,1,316,108,59,1,8968,98,59,1,123,59,1,1083,4,4,99,113,114,115,11828,11832,11845,11864,97,59,1,10550,117,111,4,2,59,114,11840,11842,1,8220,59,1,8222,4,2,100,117,11851,11857,104,97,114,59,1,10599,115,104,97,114,59,1,10571,104,59,1,8626,4,5,59,102,103,113,115,11880,11882,12008,12011,12031,1,8804,116,4,5,97,104,108,114,116,11895,11913,11935,11947,11996,114,114,111,119,4,2,59,116,11905,11907,1,8592,97,105,108,59,1,8610,97,114,112,111,111,110,4,2,100,117,11925,11931,111,119,110,59,1,8637,112,59,1,8636,101,102,116,97,114,114,111,119,115,59,1,8647,105,103,104,116,4,3,97,104,115,11959,11974,11984,114,114,111,119,4,2,59,115,11969,11971,1,8596,59,1,8646,97,114,112,111,111,110,115,59,1,8651,113,117,105,103,97,114,114,111,119,59,1,8621,104,114,101,101,116,105,109,101,115,59,1,8907,59,1,8922,4,3,59,113,115,12019,12021,12024,1,8804,59,1,8806,108,97,110,116,59,1,10877,4,5,59,99,100,103,115,12043,12045,12049,12070,12083,1,10877,99,59,1,10920,111,116,4,2,59,111,12057,12059,1,10879,4,2,59,114,12065,12067,1,10881,59,1,10883,4,2,59,101,12076,12079,3,8922,65024,115,59,1,10899,4,5,97,100,101,103,115,12095,12103,12108,12126,12131,112,112,114,111,120,59,1,10885,111,116,59,1,8918,113,4,2,103,113,12115,12120,116,114,59,1,8922,103,116,114,59,1,10891,116,114,59,1,8822,105,109,59,1,8818,4,3,105,108,114,12144,12150,12156,115,104,116,59,1,10620,111,111,114,59,1,8970,59,3,55349,56617,4,2,59,69,12166,12168,1,8822,59,1,10897,4,2,97,98,12177,12198,114,4,2,100,117,12184,12187,59,1,8637,4,2,59,108,12193,12195,1,8636,59,1,10602,108,107,59,1,9604,99,121,59,1,1113,4,5,59,97,99,104,116,12220,12222,12227,12235,12241,1,8810,114,114,59,1,8647,111,114,110,101,114,59,1,8990,97,114,100,59,1,10603,114,105,59,1,9722,4,2,105,111,12252,12258,100,111,116,59,1,320,117,115,116,4,2,59,97,12267,12269,1,9136,99,104,101,59,1,9136,4,4,69,97,101,115,12285,12288,12303,12322,59,1,8808,112,4,2,59,112,12295,12297,1,10889,114,111,120,59,1,10889,4,2,59,113,12309,12311,1,10887,4,2,59,113,12317,12319,1,10887,59,1,8808,105,109,59,1,8934,4,8,97,98,110,111,112,116,119,122,12345,12359,12364,12421,12446,12467,12474,12490,4,2,110,114,12351,12355,103,59,1,10220,114,59,1,8701,114,107,59,1,10214,103,4,3,108,109,114,12373,12401,12409,101,102,116,4,2,97,114,12382,12389,114,114,111,119,59,1,10229,105,103,104,116,97,114,114,111,119,59,1,10231,97,112,115,116,111,59,1,10236,105,103,104,116,97,114,114,111,119,59,1,10230,112,97,114,114,111,119,4,2,108,114,12433,12439,101,102,116,59,1,8619,105,103,104,116,59,1,8620,4,3,97,102,108,12454,12458,12462,114,59,1,10629,59,3,55349,56669,117,115,59,1,10797,105,109,101,115,59,1,10804,4,2,97,98,12480,12485,115,116,59,1,8727,97,114,59,1,95,4,3,59,101,102,12498,12500,12506,1,9674,110,103,101,59,1,9674,59,1,10731,97,114,4,2,59,108,12517,12519,1,40,116,59,1,10643,4,5,97,99,104,109,116,12535,12540,12548,12561,12564,114,114,59,1,8646,111,114,110,101,114,59,1,8991,97,114,4,2,59,100,12556,12558,1,8651,59,1,10605,59,1,8206,114,105,59,1,8895,4,6,97,99,104,105,113,116,12583,12589,12594,12597,12614,12635,113,117,111,59,1,8249,114,59,3,55349,56513,59,1,8624,109,4,3,59,101,103,12606,12608,12611,1,8818,59,1,10893,59,1,10895,4,2,98,117,12620,12623,59,1,91,111,4,2,59,114,12630,12632,1,8216,59,1,8218,114,111,107,59,1,322,5,60,8,59,99,100,104,105,108,113,114,12660,12662,12675,12680,12686,12692,12698,12705,1,60,4,2,99,105,12668,12671,59,1,10918,114,59,1,10873,111,116,59,1,8918,114,101,101,59,1,8907,109,101,115,59,1,8905,97,114,114,59,1,10614,117,101,115,116,59,1,10875,4,2,80,105,12711,12716,97,114,59,1,10646,4,3,59,101,102,12724,12726,12729,1,9667,59,1,8884,59,1,9666,114,4,2,100,117,12739,12746,115,104,97,114,59,1,10570,104,97,114,59,1,10598,4,2,101,110,12758,12768,114,116,110,101,113,113,59,3,8808,65024,69,59,3,8808,65024,4,14,68,97,99,100,101,102,104,105,108,110,111,112,115,117,12803,12809,12893,12908,12914,12928,12933,12937,13011,13025,13032,13049,13052,13069,68,111,116,59,1,8762,4,4,99,108,112,114,12819,12827,12849,12887,114,5,175,1,59,12825,1,175,4,2,101,116,12833,12836,59,1,9794,4,2,59,101,12842,12844,1,10016,115,101,59,1,10016,4,2,59,115,12855,12857,1,8614,116,111,4,4,59,100,108,117,12869,12871,12877,12883,1,8614,111,119,110,59,1,8615,101,102,116,59,1,8612,112,59,1,8613,107,101,114,59,1,9646,4,2,111,121,12899,12905,109,109,97,59,1,10793,59,1,1084,97,115,104,59,1,8212,97,115,117,114,101,100,97,110,103,108,101,59,1,8737,114,59,3,55349,56618,111,59,1,8487,4,3,99,100,110,12945,12954,12985,114,111,5,181,1,59,12952,1,181,4,4,59,97,99,100,12964,12966,12971,12976,1,8739,115,116,59,1,42,105,114,59,1,10992,111,116,5,183,1,59,12983,1,183,117,115,4,3,59,98,100,12995,12997,13e3,1,8722,59,1,8863,4,2,59,117,13006,13008,1,8760,59,1,10794,4,2,99,100,13017,13021,112,59,1,10971,114,59,1,8230,112,108,117,115,59,1,8723,4,2,100,112,13038,13044,101,108,115,59,1,8871,102,59,3,55349,56670,59,1,8723,4,2,99,116,13058,13063,114,59,3,55349,56514,112,111,115,59,1,8766,4,3,59,108,109,13077,13079,13087,1,956,116,105,109,97,112,59,1,8888,97,112,59,1,8888,4,24,71,76,82,86,97,98,99,100,101,102,103,104,105,106,108,109,111,112,114,115,116,117,118,119,13142,13165,13217,13229,13247,13330,13359,13414,13420,13508,13513,13579,13602,13626,13631,13762,13767,13855,13936,13995,14214,14285,14312,14432,4,2,103,116,13148,13152,59,3,8921,824,4,2,59,118,13158,13161,3,8811,8402,59,3,8811,824,4,3,101,108,116,13173,13200,13204,102,116,4,2,97,114,13181,13188,114,114,111,119,59,1,8653,105,103,104,116,97,114,114,111,119,59,1,8654,59,3,8920,824,4,2,59,118,13210,13213,3,8810,8402,59,3,8810,824,105,103,104,116,97,114,114,111,119,59,1,8655,4,2,68,100,13235,13241,97,115,104,59,1,8879,97,115,104,59,1,8878,4,5,98,99,110,112,116,13259,13264,13270,13275,13308,108,97,59,1,8711,117,116,101,59,1,324,103,59,3,8736,8402,4,5,59,69,105,111,112,13287,13289,13293,13298,13302,1,8777,59,3,10864,824,100,59,3,8779,824,115,59,1,329,114,111,120,59,1,8777,117,114,4,2,59,97,13316,13318,1,9838,108,4,2,59,115,13325,13327,1,9838,59,1,8469,4,2,115,117,13336,13344,112,5,160,1,59,13342,1,160,109,112,4,2,59,101,13352,13355,3,8782,824,59,3,8783,824,4,5,97,101,111,117,121,13371,13385,13391,13407,13411,4,2,112,114,13377,13380,59,1,10819,111,110,59,1,328,100,105,108,59,1,326,110,103,4,2,59,100,13399,13401,1,8775,111,116,59,3,10861,824,112,59,1,10818,59,1,1085,97,115,104,59,1,8211,4,7,59,65,97,100,113,115,120,13436,13438,13443,13466,13472,13478,13494,1,8800,114,114,59,1,8663,114,4,2,104,114,13450,13454,107,59,1,10532,4,2,59,111,13460,13462,1,8599,119,59,1,8599,111,116,59,3,8784,824,117,105,118,59,1,8802,4,2,101,105,13484,13489,97,114,59,1,10536,109,59,3,8770,824,105,115,116,4,2,59,115,13503,13505,1,8708,59,1,8708,114,59,3,55349,56619,4,4,69,101,115,116,13523,13527,13563,13568,59,3,8807,824,4,3,59,113,115,13535,13537,13559,1,8817,4,3,59,113,115,13545,13547,13551,1,8817,59,3,8807,824,108,97,110,116,59,3,10878,824,59,3,10878,824,105,109,59,1,8821,4,2,59,114,13574,13576,1,8815,59,1,8815,4,3,65,97,112,13587,13592,13597,114,114,59,1,8654,114,114,59,1,8622,97,114,59,1,10994,4,3,59,115,118,13610,13612,13623,1,8715,4,2,59,100,13618,13620,1,8956,59,1,8954,59,1,8715,99,121,59,1,1114,4,7,65,69,97,100,101,115,116,13647,13652,13656,13661,13665,13737,13742,114,114,59,1,8653,59,3,8806,824,114,114,59,1,8602,114,59,1,8229,4,4,59,102,113,115,13675,13677,13703,13725,1,8816,116,4,2,97,114,13684,13691,114,114,111,119,59,1,8602,105,103,104,116,97,114,114,111,119,59,1,8622,4,3,59,113,115,13711,13713,13717,1,8816,59,3,8806,824,108,97,110,116,59,3,10877,824,4,2,59,115,13731,13734,3,10877,824,59,1,8814,105,109,59,1,8820,4,2,59,114,13748,13750,1,8814,105,4,2,59,101,13757,13759,1,8938,59,1,8940,105,100,59,1,8740,4,2,112,116,13773,13778,102,59,3,55349,56671,5,172,3,59,105,110,13787,13789,13829,1,172,110,4,4,59,69,100,118,13800,13802,13806,13812,1,8713,59,3,8953,824,111,116,59,3,8949,824,4,3,97,98,99,13820,13823,13826,59,1,8713,59,1,8951,59,1,8950,105,4,2,59,118,13836,13838,1,8716,4,3,97,98,99,13846,13849,13852,59,1,8716,59,1,8958,59,1,8957,4,3,97,111,114,13863,13892,13899,114,4,4,59,97,115,116,13874,13876,13883,13888,1,8742,108,108,101,108,59,1,8742,108,59,3,11005,8421,59,3,8706,824,108,105,110,116,59,1,10772,4,3,59,99,101,13907,13909,13914,1,8832,117,101,59,1,8928,4,2,59,99,13920,13923,3,10927,824,4,2,59,101,13929,13931,1,8832,113,59,3,10927,824,4,4,65,97,105,116,13946,13951,13971,13982,114,114,59,1,8655,114,114,4,3,59,99,119,13961,13963,13967,1,8603,59,3,10547,824,59,3,8605,824,103,104,116,97,114,114,111,119,59,1,8603,114,105,4,2,59,101,13990,13992,1,8939,59,1,8941,4,7,99,104,105,109,112,113,117,14011,14036,14060,14080,14085,14090,14106,4,4,59,99,101,114,14021,14023,14028,14032,1,8833,117,101,59,1,8929,59,3,10928,824,59,3,55349,56515,111,114,116,4,2,109,112,14045,14050,105,100,59,1,8740,97,114,97,108,108,101,108,59,1,8742,109,4,2,59,101,14067,14069,1,8769,4,2,59,113,14075,14077,1,8772,59,1,8772,105,100,59,1,8740,97,114,59,1,8742,115,117,4,2,98,112,14098,14102,101,59,1,8930,101,59,1,8931,4,3,98,99,112,14114,14157,14171,4,4,59,69,101,115,14124,14126,14130,14133,1,8836,59,3,10949,824,59,1,8840,101,116,4,2,59,101,14141,14144,3,8834,8402,113,4,2,59,113,14151,14153,1,8840,59,3,10949,824,99,4,2,59,101,14164,14166,1,8833,113,59,3,10928,824,4,4,59,69,101,115,14181,14183,14187,14190,1,8837,59,3,10950,824,59,1,8841,101,116,4,2,59,101,14198,14201,3,8835,8402,113,4,2,59,113,14208,14210,1,8841,59,3,10950,824,4,4,103,105,108,114,14224,14228,14238,14242,108,59,1,8825,108,100,101,5,241,1,59,14236,1,241,103,59,1,8824,105,97,110,103,108,101,4,2,108,114,14254,14269,101,102,116,4,2,59,101,14263,14265,1,8938,113,59,1,8940,105,103,104,116,4,2,59,101,14279,14281,1,8939,113,59,1,8941,4,2,59,109,14291,14293,1,957,4,3,59,101,115,14301,14303,14308,1,35,114,111,59,1,8470,112,59,1,8199,4,9,68,72,97,100,103,105,108,114,115,14332,14338,14344,14349,14355,14369,14376,14408,14426,97,115,104,59,1,8877,97,114,114,59,1,10500,112,59,3,8781,8402,97,115,104,59,1,8876,4,2,101,116,14361,14365,59,3,8805,8402,59,3,62,8402,110,102,105,110,59,1,10718,4,3,65,101,116,14384,14389,14393,114,114,59,1,10498,59,3,8804,8402,4,2,59,114,14399,14402,3,60,8402,105,101,59,3,8884,8402,4,2,65,116,14414,14419,114,114,59,1,10499,114,105,101,59,3,8885,8402,105,109,59,3,8764,8402,4,3,65,97,110,14440,14445,14468,114,114,59,1,8662,114,4,2,104,114,14452,14456,107,59,1,10531,4,2,59,111,14462,14464,1,8598,119,59,1,8598,101,97,114,59,1,10535,4,18,83,97,99,100,101,102,103,104,105,108,109,111,112,114,115,116,117,118,14512,14515,14535,14560,14597,14603,14618,14643,14657,14662,14701,14741,14747,14769,14851,14877,14907,14916,59,1,9416,4,2,99,115,14521,14531,117,116,101,5,243,1,59,14529,1,243,116,59,1,8859,4,2,105,121,14541,14557,114,4,2,59,99,14548,14550,1,8858,5,244,1,59,14555,1,244,59,1,1086,4,5,97,98,105,111,115,14572,14577,14583,14587,14591,115,104,59,1,8861,108,97,99,59,1,337,118,59,1,10808,116,59,1,8857,111,108,100,59,1,10684,108,105,103,59,1,339,4,2,99,114,14609,14614,105,114,59,1,10687,59,3,55349,56620,4,3,111,114,116,14626,14630,14640,110,59,1,731,97,118,101,5,242,1,59,14638,1,242,59,1,10689,4,2,98,109,14649,14654,97,114,59,1,10677,59,1,937,110,116,59,1,8750,4,4,97,99,105,116,14672,14677,14693,14698,114,114,59,1,8634,4,2,105,114,14683,14687,114,59,1,10686,111,115,115,59,1,10683,110,101,59,1,8254,59,1,10688,4,3,97,101,105,14709,14714,14719,99,114,59,1,333,103,97,59,1,969,4,3,99,100,110,14727,14733,14736,114,111,110,59,1,959,59,1,10678,117,115,59,1,8854,112,102,59,3,55349,56672,4,3,97,101,108,14755,14759,14764,114,59,1,10679,114,112,59,1,10681,117,115,59,1,8853,4,7,59,97,100,105,111,115,118,14785,14787,14792,14831,14837,14841,14848,1,8744,114,114,59,1,8635,4,4,59,101,102,109,14802,14804,14817,14824,1,10845,114,4,2,59,111,14811,14813,1,8500,102,59,1,8500,5,170,1,59,14822,1,170,5,186,1,59,14829,1,186,103,111,102,59,1,8886,114,59,1,10838,108,111,112,101,59,1,10839,59,1,10843,4,3,99,108,111,14859,14863,14873,114,59,1,8500,97,115,104,5,248,1,59,14871,1,248,108,59,1,8856,105,4,2,108,109,14884,14893,100,101,5,245,1,59,14891,1,245,101,115,4,2,59,97,14901,14903,1,8855,115,59,1,10806,109,108,5,246,1,59,14914,1,246,98,97,114,59,1,9021,4,12,97,99,101,102,104,105,108,109,111,114,115,117,14948,14992,14996,15033,15038,15068,15090,15189,15192,15222,15427,15441,114,4,4,59,97,115,116,14959,14961,14976,14989,1,8741,5,182,2,59,108,14968,14970,1,182,108,101,108,59,1,8741,4,2,105,108,14982,14986,109,59,1,10995,59,1,11005,59,1,8706,121,59,1,1087,114,4,5,99,105,109,112,116,15009,15014,15019,15024,15027,110,116,59,1,37,111,100,59,1,46,105,108,59,1,8240,59,1,8869,101,110,107,59,1,8241,114,59,3,55349,56621,4,3,105,109,111,15046,15057,15063,4,2,59,118,15052,15054,1,966,59,1,981,109,97,116,59,1,8499,110,101,59,1,9742,4,3,59,116,118,15076,15078,15087,1,960,99,104,102,111,114,107,59,1,8916,59,1,982,4,2,97,117,15096,15119,110,4,2,99,107,15103,15115,107,4,2,59,104,15110,15112,1,8463,59,1,8462,118,59,1,8463,115,4,9,59,97,98,99,100,101,109,115,116,15140,15142,15148,15151,15156,15168,15171,15179,15184,1,43,99,105,114,59,1,10787,59,1,8862,105,114,59,1,10786,4,2,111,117,15162,15165,59,1,8724,59,1,10789,59,1,10866,110,5,177,1,59,15177,1,177,105,109,59,1,10790,119,111,59,1,10791,59,1,177,4,3,105,112,117,15200,15208,15213,110,116,105,110,116,59,1,10773,102,59,3,55349,56673,110,100,5,163,1,59,15220,1,163,4,10,59,69,97,99,101,105,110,111,115,117,15244,15246,15249,15253,15258,15334,15347,15367,15416,15421,1,8826,59,1,10931,112,59,1,10935,117,101,59,1,8828,4,2,59,99,15264,15266,1,10927,4,6,59,97,99,101,110,115,15280,15282,15290,15299,15303,15329,1,8826,112,112,114,111,120,59,1,10935,117,114,108,121,101,113,59,1,8828,113,59,1,10927,4,3,97,101,115,15311,15319,15324,112,112,114,111,120,59,1,10937,113,113,59,1,10933,105,109,59,1,8936,105,109,59,1,8830,109,101,4,2,59,115,15342,15344,1,8242,59,1,8473,4,3,69,97,115,15355,15358,15362,59,1,10933,112,59,1,10937,105,109,59,1,8936,4,3,100,102,112,15375,15378,15404,59,1,8719,4,3,97,108,115,15386,15392,15398,108,97,114,59,1,9006,105,110,101,59,1,8978,117,114,102,59,1,8979,4,2,59,116,15410,15412,1,8733,111,59,1,8733,105,109,59,1,8830,114,101,108,59,1,8880,4,2,99,105,15433,15438,114,59,3,55349,56517,59,1,968,110,99,115,112,59,1,8200,4,6,102,105,111,112,115,117,15462,15467,15472,15478,15485,15491,114,59,3,55349,56622,110,116,59,1,10764,112,102,59,3,55349,56674,114,105,109,101,59,1,8279,99,114,59,3,55349,56518,4,3,97,101,111,15499,15520,15534,116,4,2,101,105,15506,15515,114,110,105,111,110,115,59,1,8461,110,116,59,1,10774,115,116,4,2,59,101,15528,15530,1,63,113,59,1,8799,116,5,34,1,59,15540,1,34,4,21,65,66,72,97,98,99,100,101,102,104,105,108,109,110,111,112,114,115,116,117,120,15586,15609,15615,15620,15796,15855,15893,15931,15977,16001,16039,16183,16204,16222,16228,16285,16312,16318,16363,16408,16416,4,3,97,114,116,15594,15599,15603,114,114,59,1,8667,114,59,1,8658,97,105,108,59,1,10524,97,114,114,59,1,10511,97,114,59,1,10596,4,7,99,100,101,110,113,114,116,15636,15651,15656,15664,15687,15696,15770,4,2,101,117,15642,15646,59,3,8765,817,116,101,59,1,341,105,99,59,1,8730,109,112,116,121,118,59,1,10675,103,4,4,59,100,101,108,15675,15677,15680,15683,1,10217,59,1,10642,59,1,10661,101,59,1,10217,117,111,5,187,1,59,15694,1,187,114,4,11,59,97,98,99,102,104,108,112,115,116,119,15721,15723,15727,15739,15742,15746,15750,15754,15758,15763,15767,1,8594,112,59,1,10613,4,2,59,102,15733,15735,1,8677,115,59,1,10528,59,1,10547,115,59,1,10526,107,59,1,8618,112,59,1,8620,108,59,1,10565,105,109,59,1,10612,108,59,1,8611,59,1,8605,4,2,97,105,15776,15781,105,108,59,1,10522,111,4,2,59,110,15788,15790,1,8758,97,108,115,59,1,8474,4,3,97,98,114,15804,15809,15814,114,114,59,1,10509,114,107,59,1,10099,4,2,97,107,15820,15833,99,4,2,101,107,15827,15830,59,1,125,59,1,93,4,2,101,115,15839,15842,59,1,10636,108,4,2,100,117,15849,15852,59,1,10638,59,1,10640,4,4,97,101,117,121,15865,15871,15886,15890,114,111,110,59,1,345,4,2,100,105,15877,15882,105,108,59,1,343,108,59,1,8969,98,59,1,125,59,1,1088,4,4,99,108,113,115,15903,15907,15914,15927,97,59,1,10551,100,104,97,114,59,1,10601,117,111,4,2,59,114,15922,15924,1,8221,59,1,8221,104,59,1,8627,4,3,97,99,103,15939,15966,15970,108,4,4,59,105,112,115,15950,15952,15957,15963,1,8476,110,101,59,1,8475,97,114,116,59,1,8476,59,1,8477,116,59,1,9645,5,174,1,59,15975,1,174,4,3,105,108,114,15985,15991,15997,115,104,116,59,1,10621,111,111,114,59,1,8971,59,3,55349,56623,4,2,97,111,16007,16028,114,4,2,100,117,16014,16017,59,1,8641,4,2,59,108,16023,16025,1,8640,59,1,10604,4,2,59,118,16034,16036,1,961,59,1,1009,4,3,103,110,115,16047,16167,16171,104,116,4,6,97,104,108,114,115,116,16063,16081,16103,16130,16143,16155,114,114,111,119,4,2,59,116,16073,16075,1,8594,97,105,108,59,1,8611,97,114,112,111,111,110,4,2,100,117,16093,16099,111,119,110,59,1,8641,112,59,1,8640,101,102,116,4,2,97,104,16112,16120,114,114,111,119,115,59,1,8644,97,114,112,111,111,110,115,59,1,8652,105,103,104,116,97,114,114,111,119,115,59,1,8649,113,117,105,103,97,114,114,111,119,59,1,8605,104,114,101,101,116,105,109,101,115,59,1,8908,103,59,1,730,105,110,103,100,111,116,115,101,113,59,1,8787,4,3,97,104,109,16191,16196,16201,114,114,59,1,8644,97,114,59,1,8652,59,1,8207,111,117,115,116,4,2,59,97,16214,16216,1,9137,99,104,101,59,1,9137,109,105,100,59,1,10990,4,4,97,98,112,116,16238,16252,16257,16278,4,2,110,114,16244,16248,103,59,1,10221,114,59,1,8702,114,107,59,1,10215,4,3,97,102,108,16265,16269,16273,114,59,1,10630,59,3,55349,56675,117,115,59,1,10798,105,109,101,115,59,1,10805,4,2,97,112,16291,16304,114,4,2,59,103,16298,16300,1,41,116,59,1,10644,111,108,105,110,116,59,1,10770,97,114,114,59,1,8649,4,4,97,99,104,113,16328,16334,16339,16342,113,117,111,59,1,8250,114,59,3,55349,56519,59,1,8625,4,2,98,117,16348,16351,59,1,93,111,4,2,59,114,16358,16360,1,8217,59,1,8217,4,3,104,105,114,16371,16377,16383,114,101,101,59,1,8908,109,101,115,59,1,8906,105,4,4,59,101,102,108,16394,16396,16399,16402,1,9657,59,1,8885,59,1,9656,116,114,105,59,1,10702,108,117,104,97,114,59,1,10600,59,1,8478,4,19,97,98,99,100,101,102,104,105,108,109,111,112,113,114,115,116,117,119,122,16459,16466,16472,16572,16590,16672,16687,16746,16844,16850,16924,16963,16988,17115,17121,17154,17206,17614,17656,99,117,116,101,59,1,347,113,117,111,59,1,8218,4,10,59,69,97,99,101,105,110,112,115,121,16494,16496,16499,16513,16518,16531,16536,16556,16564,16569,1,8827,59,1,10932,4,2,112,114,16505,16508,59,1,10936,111,110,59,1,353,117,101,59,1,8829,4,2,59,100,16524,16526,1,10928,105,108,59,1,351,114,99,59,1,349,4,3,69,97,115,16544,16547,16551,59,1,10934,112,59,1,10938,105,109,59,1,8937,111,108,105,110,116,59,1,10771,105,109,59,1,8831,59,1,1089,111,116,4,3,59,98,101,16582,16584,16587,1,8901,59,1,8865,59,1,10854,4,7,65,97,99,109,115,116,120,16606,16611,16634,16642,16646,16652,16668,114,114,59,1,8664,114,4,2,104,114,16618,16622,107,59,1,10533,4,2,59,111,16628,16630,1,8600,119,59,1,8600,116,5,167,1,59,16640,1,167,105,59,1,59,119,97,114,59,1,10537,109,4,2,105,110,16659,16665,110,117,115,59,1,8726,59,1,8726,116,59,1,10038,114,4,2,59,111,16679,16682,3,55349,56624,119,110,59,1,8994,4,4,97,99,111,121,16697,16702,16716,16739,114,112,59,1,9839,4,2,104,121,16708,16713,99,121,59,1,1097,59,1,1096,114,116,4,2,109,112,16724,16729,105,100,59,1,8739,97,114,97,108,108,101,108,59,1,8741,5,173,1,59,16744,1,173,4,2,103,109,16752,16770,109,97,4,3,59,102,118,16762,16764,16767,1,963,59,1,962,59,1,962,4,8,59,100,101,103,108,110,112,114,16788,16790,16795,16806,16817,16828,16832,16838,1,8764,111,116,59,1,10858,4,2,59,113,16801,16803,1,8771,59,1,8771,4,2,59,69,16812,16814,1,10910,59,1,10912,4,2,59,69,16823,16825,1,10909,59,1,10911,101,59,1,8774,108,117,115,59,1,10788,97,114,114,59,1,10610,97,114,114,59,1,8592,4,4,97,101,105,116,16860,16883,16891,16904,4,2,108,115,16866,16878,108,115,101,116,109,105,110,117,115,59,1,8726,104,112,59,1,10803,112,97,114,115,108,59,1,10724,4,2,100,108,16897,16900,59,1,8739,101,59,1,8995,4,2,59,101,16910,16912,1,10922,4,2,59,115,16918,16920,1,10924,59,3,10924,65024,4,3,102,108,112,16932,16938,16958,116,99,121,59,1,1100,4,2,59,98,16944,16946,1,47,4,2,59,97,16952,16954,1,10692,114,59,1,9023,102,59,3,55349,56676,97,4,2,100,114,16970,16985,101,115,4,2,59,117,16978,16980,1,9824,105,116,59,1,9824,59,1,8741,4,3,99,115,117,16996,17028,17089,4,2,97,117,17002,17015,112,4,2,59,115,17009,17011,1,8851,59,3,8851,65024,112,4,2,59,115,17022,17024,1,8852,59,3,8852,65024,117,4,2,98,112,17035,17062,4,3,59,101,115,17043,17045,17048,1,8847,59,1,8849,101,116,4,2,59,101,17056,17058,1,8847,113,59,1,8849,4,3,59,101,115,17070,17072,17075,1,8848,59,1,8850,101,116,4,2,59,101,17083,17085,1,8848,113,59,1,8850,4,3,59,97,102,17097,17099,17112,1,9633,114,4,2,101,102,17106,17109,59,1,9633,59,1,9642,59,1,9642,97,114,114,59,1,8594,4,4,99,101,109,116,17131,17136,17142,17148,114,59,3,55349,56520,116,109,110,59,1,8726,105,108,101,59,1,8995,97,114,102,59,1,8902,4,2,97,114,17160,17172,114,4,2,59,102,17167,17169,1,9734,59,1,9733,4,2,97,110,17178,17202,105,103,104,116,4,2,101,112,17188,17197,112,115,105,108,111,110,59,1,1013,104,105,59,1,981,115,59,1,175,4,5,98,99,109,110,112,17218,17351,17420,17423,17427,4,9,59,69,100,101,109,110,112,114,115,17238,17240,17243,17248,17261,17267,17279,17285,17291,1,8834,59,1,10949,111,116,59,1,10941,4,2,59,100,17254,17256,1,8838,111,116,59,1,10947,117,108,116,59,1,10945,4,2,69,101,17273,17276,59,1,10955,59,1,8842,108,117,115,59,1,10943,97,114,114,59,1,10617,4,3,101,105,117,17299,17335,17339,116,4,3,59,101,110,17308,17310,17322,1,8834,113,4,2,59,113,17317,17319,1,8838,59,1,10949,101,113,4,2,59,113,17330,17332,1,8842,59,1,10955,109,59,1,10951,4,2,98,112,17345,17348,59,1,10965,59,1,10963,99,4,6,59,97,99,101,110,115,17366,17368,17376,17385,17389,17415,1,8827,112,112,114,111,120,59,1,10936,117,114,108,121,101,113,59,1,8829,113,59,1,10928,4,3,97,101,115,17397,17405,17410,112,112,114,111,120,59,1,10938,113,113,59,1,10934,105,109,59,1,8937,105,109,59,1,8831,59,1,8721,103,59,1,9834,4,13,49,50,51,59,69,100,101,104,108,109,110,112,115,17455,17462,17469,17476,17478,17481,17496,17509,17524,17530,17536,17548,17554,5,185,1,59,17460,1,185,5,178,1,59,17467,1,178,5,179,1,59,17474,1,179,1,8835,59,1,10950,4,2,111,115,17487,17491,116,59,1,10942,117,98,59,1,10968,4,2,59,100,17502,17504,1,8839,111,116,59,1,10948,115,4,2,111,117,17516,17520,108,59,1,10185,98,59,1,10967,97,114,114,59,1,10619,117,108,116,59,1,10946,4,2,69,101,17542,17545,59,1,10956,59,1,8843,108,117,115,59,1,10944,4,3,101,105,117,17562,17598,17602,116,4,3,59,101,110,17571,17573,17585,1,8835,113,4,2,59,113,17580,17582,1,8839,59,1,10950,101,113,4,2,59,113,17593,17595,1,8843,59,1,10956,109,59,1,10952,4,2,98,112,17608,17611,59,1,10964,59,1,10966,4,3,65,97,110,17622,17627,17650,114,114,59,1,8665,114,4,2,104,114,17634,17638,107,59,1,10534,4,2,59,111,17644,17646,1,8601,119,59,1,8601,119,97,114,59,1,10538,108,105,103,5,223,1,59,17664,1,223,4,13,97,98,99,100,101,102,104,105,111,112,114,115,119,17694,17709,17714,17737,17742,17749,17754,17860,17905,17957,17964,18090,18122,4,2,114,117,17700,17706,103,101,116,59,1,8982,59,1,964,114,107,59,1,9140,4,3,97,101,121,17722,17728,17734,114,111,110,59,1,357,100,105,108,59,1,355,59,1,1090,111,116,59,1,8411,108,114,101,99,59,1,8981,114,59,3,55349,56625,4,4,101,105,107,111,17764,17805,17836,17851,4,2,114,116,17770,17786,101,4,2,52,102,17777,17780,59,1,8756,111,114,101,59,1,8756,97,4,3,59,115,118,17795,17797,17802,1,952,121,109,59,1,977,59,1,977,4,2,99,110,17811,17831,107,4,2,97,115,17818,17826,112,112,114,111,120,59,1,8776,105,109,59,1,8764,115,112,59,1,8201,4,2,97,115,17842,17846,112,59,1,8776,105,109,59,1,8764,114,110,5,254,1,59,17858,1,254,4,3,108,109,110,17868,17873,17901,100,101,59,1,732,101,115,5,215,3,59,98,100,17884,17886,17898,1,215,4,2,59,97,17892,17894,1,8864,114,59,1,10801,59,1,10800,116,59,1,8749,4,3,101,112,115,17913,17917,17953,97,59,1,10536,4,4,59,98,99,102,17927,17929,17934,17939,1,8868,111,116,59,1,9014,105,114,59,1,10993,4,2,59,111,17945,17948,3,55349,56677,114,107,59,1,10970,97,59,1,10537,114,105,109,101,59,1,8244,4,3,97,105,112,17972,17977,18082,100,101,59,1,8482,4,7,97,100,101,109,112,115,116,17993,18051,18056,18059,18066,18072,18076,110,103,108,101,4,5,59,100,108,113,114,18009,18011,18017,18032,18035,1,9653,111,119,110,59,1,9663,101,102,116,4,2,59,101,18026,18028,1,9667,113,59,1,8884,59,1,8796,105,103,104,116,4,2,59,101,18045,18047,1,9657,113,59,1,8885,111,116,59,1,9708,59,1,8796,105,110,117,115,59,1,10810,108,117,115,59,1,10809,98,59,1,10701,105,109,101,59,1,10811,101,122,105,117,109,59,1,9186,4,3,99,104,116,18098,18111,18116,4,2,114,121,18104,18108,59,3,55349,56521,59,1,1094,99,121,59,1,1115,114,111,107,59,1,359,4,2,105,111,18128,18133,120,116,59,1,8812,104,101,97,100,4,2,108,114,18143,18154,101,102,116,97,114,114,111,119,59,1,8606,105,103,104,116,97,114,114,111,119,59,1,8608,4,18,65,72,97,98,99,100,102,103,104,108,109,111,112,114,115,116,117,119,18204,18209,18214,18234,18250,18268,18292,18308,18319,18343,18379,18397,18413,18504,18547,18553,18584,18603,114,114,59,1,8657,97,114,59,1,10595,4,2,99,114,18220,18230,117,116,101,5,250,1,59,18228,1,250,114,59,1,8593,114,4,2,99,101,18241,18245,121,59,1,1118,118,101,59,1,365,4,2,105,121,18256,18265,114,99,5,251,1,59,18263,1,251,59,1,1091,4,3,97,98,104,18276,18281,18287,114,114,59,1,8645,108,97,99,59,1,369,97,114,59,1,10606,4,2,105,114,18298,18304,115,104,116,59,1,10622,59,3,55349,56626,114,97,118,101,5,249,1,59,18317,1,249,4,2,97,98,18325,18338,114,4,2,108,114,18332,18335,59,1,8639,59,1,8638,108,107,59,1,9600,4,2,99,116,18349,18374,4,2,111,114,18355,18369,114,110,4,2,59,101,18363,18365,1,8988,114,59,1,8988,111,112,59,1,8975,114,105,59,1,9720,4,2,97,108,18385,18390,99,114,59,1,363,5,168,1,59,18395,1,168,4,2,103,112,18403,18408,111,110,59,1,371,102,59,3,55349,56678,4,6,97,100,104,108,115,117,18427,18434,18445,18470,18475,18494,114,114,111,119,59,1,8593,111,119,110,97,114,114,111,119,59,1,8597,97,114,112,111,111,110,4,2,108,114,18457,18463,101,102,116,59,1,8639,105,103,104,116,59,1,8638,117,115,59,1,8846,105,4,3,59,104,108,18484,18486,18489,1,965,59,1,978,111,110,59,1,965,112,97,114,114,111,119,115,59,1,8648,4,3,99,105,116,18512,18537,18542,4,2,111,114,18518,18532,114,110,4,2,59,101,18526,18528,1,8989,114,59,1,8989,111,112,59,1,8974,110,103,59,1,367,114,105,59,1,9721,99,114,59,3,55349,56522,4,3,100,105,114,18561,18566,18572,111,116,59,1,8944,108,100,101,59,1,361,105,4,2,59,102,18579,18581,1,9653,59,1,9652,4,2,97,109,18590,18595,114,114,59,1,8648,108,5,252,1,59,18601,1,252,97,110,103,108,101,59,1,10663,4,15,65,66,68,97,99,100,101,102,108,110,111,112,114,115,122,18643,18648,18661,18667,18847,18851,18857,18904,18909,18915,18931,18937,18943,18949,18996,114,114,59,1,8661,97,114,4,2,59,118,18656,18658,1,10984,59,1,10985,97,115,104,59,1,8872,4,2,110,114,18673,18679,103,114,116,59,1,10652,4,7,101,107,110,112,114,115,116,18695,18704,18711,18720,18742,18754,18810,112,115,105,108,111,110,59,1,1013,97,112,112,97,59,1,1008,111,116,104,105,110,103,59,1,8709,4,3,104,105,114,18728,18732,18735,105,59,1,981,59,1,982,111,112,116,111,59,1,8733,4,2,59,104,18748,18750,1,8597,111,59,1,1009,4,2,105,117,18760,18766,103,109,97,59,1,962,4,2,98,112,18772,18791,115,101,116,110,101,113,4,2,59,113,18784,18787,3,8842,65024,59,3,10955,65024,115,101,116,110,101,113,4,2,59,113,18803,18806,3,8843,65024,59,3,10956,65024,4,2,104,114,18816,18822,101,116,97,59,1,977,105,97,110,103,108,101,4,2,108,114,18834,18840,101,102,116,59,1,8882,105,103,104,116,59,1,8883,121,59,1,1074,97,115,104,59,1,8866,4,3,101,108,114,18865,18884,18890,4,3,59,98,101,18873,18875,18880,1,8744,97,114,59,1,8891,113,59,1,8794,108,105,112,59,1,8942,4,2,98,116,18896,18901,97,114,59,1,124,59,1,124,114,59,3,55349,56627,116,114,105,59,1,8882,115,117,4,2,98,112,18923,18927,59,3,8834,8402,59,3,8835,8402,112,102,59,3,55349,56679,114,111,112,59,1,8733,116,114,105,59,1,8883,4,2,99,117,18955,18960,114,59,3,55349,56523,4,2,98,112,18966,18981,110,4,2,69,101,18973,18977,59,3,10955,65024,59,3,8842,65024,110,4,2,69,101,18988,18992,59,3,10956,65024,59,3,8843,65024,105,103,122,97,103,59,1,10650,4,7,99,101,102,111,112,114,115,19020,19026,19061,19066,19072,19075,19089,105,114,99,59,1,373,4,2,100,105,19032,19055,4,2,98,103,19038,19043,97,114,59,1,10847,101,4,2,59,113,19050,19052,1,8743,59,1,8793,101,114,112,59,1,8472,114,59,3,55349,56628,112,102,59,3,55349,56680,59,1,8472,4,2,59,101,19081,19083,1,8768,97,116,104,59,1,8768,99,114,59,3,55349,56524,4,14,99,100,102,104,105,108,109,110,111,114,115,117,118,119,19125,19146,19152,19157,19173,19176,19192,19197,19202,19236,19252,19269,19286,19291,4,3,97,105,117,19133,19137,19142,112,59,1,8898,114,99,59,1,9711,112,59,1,8899,116,114,105,59,1,9661,114,59,3,55349,56629,4,2,65,97,19163,19168,114,114,59,1,10234,114,114,59,1,10231,59,1,958,4,2,65,97,19182,19187,114,114,59,1,10232,114,114,59,1,10229,97,112,59,1,10236,105,115,59,1,8955,4,3,100,112,116,19210,19215,19230,111,116,59,1,10752,4,2,102,108,19221,19225,59,3,55349,56681,117,115,59,1,10753,105,109,101,59,1,10754,4,2,65,97,19242,19247,114,114,59,1,10233,114,114,59,1,10230,4,2,99,113,19258,19263,114,59,3,55349,56525,99,117,112,59,1,10758,4,2,112,116,19275,19281,108,117,115,59,1,10756,114,105,59,1,9651,101,101,59,1,8897,101,100,103,101,59,1,8896,4,8,97,99,101,102,105,111,115,117,19316,19335,19349,19357,19362,19367,19373,19379,99,4,2,117,121,19323,19332,116,101,5,253,1,59,19330,1,253,59,1,1103,4,2,105,121,19341,19346,114,99,59,1,375,59,1,1099,110,5,165,1,59,19355,1,165,114,59,3,55349,56630,99,121,59,1,1111,112,102,59,3,55349,56682,99,114,59,3,55349,56526,4,2,99,109,19385,19389,121,59,1,1102,108,5,255,1,59,19395,1,255,4,10,97,99,100,101,102,104,105,111,115,119,19419,19426,19441,19446,19462,19467,19472,19480,19486,19492,99,117,116,101,59,1,378,4,2,97,121,19432,19438,114,111,110,59,1,382,59,1,1079,111,116,59,1,380,4,2,101,116,19452,19458,116,114,102,59,1,8488,97,59,1,950,114,59,3,55349,56631,99,121,59,1,1078,103,114,97,114,114,59,1,8669,112,102,59,3,55349,56683,99,114,59,3,55349,56527,4,2,106,110,19498,19501,59,1,8205,106,59,1,8204])},46182:(e,t,n)=>{"use strict";const r=n(11280),o=n(48673),i=r.CODE_POINTS;e.exports=class{constructor(){this.html=null,this.pos=-1,this.lastGapPos=-1,this.lastCharPos=-1,this.gapStack=[],this.skipNextNewLine=!1,this.lastChunkWritten=!1,this.endOfChunkHit=!1,this.bufferWaterline=65536}_err(){}_addGap(){this.gapStack.push(this.lastGapPos),this.lastGapPos=this.pos}_processSurrogate(e){if(this.pos!==this.lastCharPos){const t=this.html.charCodeAt(this.pos+1);if(r.isSurrogatePair(t))return this.pos++,this._addGap(),r.getSurrogatePairCodePoint(e,t)}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,i.EOF;return this._err(o.surrogateInInputStream),e}dropParsedChunk(){this.pos>this.bufferWaterline&&(this.lastCharPos-=this.pos,this.html=this.html.substring(this.pos),this.pos=0,this.lastGapPos=-1,this.gapStack=[])}write(e,t){this.html?this.html+=e:this.html=e,this.lastCharPos=this.html.length-1,this.endOfChunkHit=!1,this.lastChunkWritten=t}insertHtmlAtCurrentPos(e){this.html=this.html.substring(0,this.pos+1)+e+this.html.substring(this.pos+1,this.html.length),this.lastCharPos=this.html.length-1,this.endOfChunkHit=!1}advance(){if(this.pos++,this.pos>this.lastCharPos)return this.endOfChunkHit=!this.lastChunkWritten,i.EOF;let e=this.html.charCodeAt(this.pos);if(this.skipNextNewLine&&e===i.LINE_FEED)return this.skipNextNewLine=!1,this._addGap(),this.advance();if(e===i.CARRIAGE_RETURN)return this.skipNextNewLine=!0,i.LINE_FEED;this.skipNextNewLine=!1,r.isSurrogate(e)&&(e=this._processSurrogate(e));return e>31&&e<127||e===i.LINE_FEED||e===i.CARRIAGE_RETURN||e>159&&e<64976||this._checkForProblematicCharacters(e),e}_checkForProblematicCharacters(e){r.isControlCodePoint(e)?this._err(o.controlCharacterInInputStream):r.isUndefinedCodePoint(e)&&this._err(o.noncharacterInInputStream)}retreat(){this.pos===this.lastGapPos&&(this.lastGapPos=this.gapStack.pop(),this.pos--),this.pos--}}},66049:(e,t,n)=>{"use strict";const{DOCUMENT_MODE:r}=n(72449);t.createDocument=function(){return{nodeName:"#document",mode:r.NO_QUIRKS,childNodes:[]}},t.createDocumentFragment=function(){return{nodeName:"#document-fragment",childNodes:[]}},t.createElement=function(e,t,n){return{nodeName:e,tagName:e,attrs:n,namespaceURI:t,childNodes:[],parentNode:null}},t.createCommentNode=function(e){return{nodeName:"#comment",data:e,parentNode:null}};const o=function(e){return{nodeName:"#text",value:e,parentNode:null}},i=t.appendChild=function(e,t){e.childNodes.push(t),t.parentNode=e},a=t.insertBefore=function(e,t,n){const r=e.childNodes.indexOf(n);e.childNodes.splice(r,0,t),t.parentNode=e};t.setTemplateContent=function(e,t){e.content=t},t.getTemplateContent=function(e){return e.content},t.setDocumentType=function(e,t,n,r){let o=null;for(let i=0;i{"use strict";e.exports=function(e,t){return[e,t=t||Object.create(null)].reduce(((e,t)=>(Object.keys(t).forEach((n=>{e[n]=t[n]})),e)),Object.create(null))}},62288:e=>{"use strict";class t{constructor(e){const t={},n=this._getOverriddenMethods(this,t);for(const r of Object.keys(n))"function"===typeof n[r]&&(t[r]=e[r],e[r]=n[r])}_getOverriddenMethods(){throw new Error("Not implemented")}}t.install=function(e,t,n){e.__mixins||(e.__mixins=[]);for(let o=0;o{"use strict";var r=n(9479),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function l(e){return r.isMemo(e)?a:s[e.$$typeof]||o}s[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[r.Memo]=a;var c=Object.defineProperty,u=Object.getOwnPropertyNames,p=Object.getOwnPropertySymbols,d=Object.getOwnPropertyDescriptor,b=Object.getPrototypeOf,f=Object.prototype;e.exports=function e(t,n,r){if("string"!==typeof n){if(f){var o=b(n);o&&o!==f&&e(t,o,r)}var a=u(n);p&&(a=a.concat(p(n)));for(var s=l(t),h=l(n),m=0;m{"use strict";const r=n(32039),o=e=>{if("string"!==typeof e)throw new TypeError("Expected a string");return e=(e=(e=r(e)).toLowerCase().replace(/[_-]+/g," ").replace(/\s{2,}/g," ").trim()).charAt(0).toUpperCase()+e.slice(1)};e.exports=o,e.exports.default=o},32039:(e,t,n)=>{"use strict";const r=n(49461);e.exports=(e,t)=>{if("string"!==typeof e)throw new TypeError("Expected a string");t="undefined"===typeof t?"_":t;const n=r("([\\p{Ll}\\d])(\\p{Lu})","g"),o=r("(\\p{Lu}+)(\\p{Lu}[\\p{Ll}\\d]+)","g");return e.replace(n,`$1${t}$2`).replace(o,`$1${t}$2`).toLowerCase()}},78134:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>s});var r=/[A-Z]/g,o=/^ms-/,i={};function a(e){return"-"+e.toLowerCase()}const s=function(e){if(i.hasOwnProperty(e))return i[e];var t=e.replace(r,a);return i[e]=o.test(t)?"-"+t:t}},88563:(e,t,n)=>{"use strict";function r(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r3?t.i-4:t.i:Array.isArray(e)?1:d(e)?2:b(e)?3:0}function l(e,t){return 2===s(e)?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function c(e,t){return 2===s(e)?e.get(t):e[t]}function u(e,t,n){var r=s(e);2===r?e.set(t,n):3===r?e.add(n):e[t]=n}function p(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function d(e){return F&&e instanceof Map}function b(e){return V&&e instanceof Set}function f(e){return e.o||e.t}function h(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=Z(e);delete t[G];for(var n=Y(t),r=0;r1&&(e.set=e.add=e.clear=e.delete=g),Object.freeze(e),t&&a(e,(function(e,t){return m(t,!0)}),!0)),e}function g(){r(2)}function O(e){return null==e||"object"!=typeof e||Object.isFrozen(e)}function y(e){var t=J[e];return t||r(18,e),t}function M(e,t){J[e]||(J[e]=t)}function z(){return D}function A(e,t){t&&(y("Patches"),e.u=[],e.s=[],e.v=t)}function v(e){w(e),e.p.forEach(x),e.p=null}function w(e){e===D&&(D=e.l)}function S(e){return D={p:[],l:D,h:e,m:!0,_:0}}function x(e){var t=e[G];0===t.i||1===t.i?t.j():t.g=!0}function E(e,t){t._=t.p.length;var n=t.p[0],o=void 0!==e&&e!==n;return t.h.O||y("ES5").S(t,e,o),o?(n[G].P&&(v(t),r(4)),i(e)&&(e=k(t,e),t.l||T(t,e)),t.u&&y("Patches").M(n[G].t,e,t.u,t.s)):e=k(t,n,[]),v(t),t.u&&t.v(t.u,t.s),e!==H?e:void 0}function k(e,t,n){if(O(t))return t;var r=t[G];if(!r)return a(t,(function(o,i){return q(e,r,t,o,i,n)}),!0),t;if(r.A!==e)return t;if(!r.P)return T(e,r.t,!0),r.t;if(!r.I){r.I=!0,r.A._--;var o=4===r.i||5===r.i?r.o=h(r.k):r.o,i=o,s=!1;3===r.i&&(i=new Set(o),o.clear(),s=!0),a(i,(function(t,i){return q(e,r,o,t,i,n,s)})),T(e,o,!1),n&&e.u&&y("Patches").N(r,n,e.u,e.s)}return r.o}function q(e,t,n,r,a,s,c){if(o(a)){var p=k(e,a,s&&t&&3!==t.i&&!l(t.R,r)?s.concat(r):void 0);if(u(n,r,p),!o(p))return;e.m=!1}else c&&n.add(a);if(i(a)&&!O(a)){if(!e.h.D&&e._<1)return;k(e,a),t&&t.A.l||T(e,a)}}function T(e,t,n){void 0===n&&(n=!1),!e.l&&e.h.D&&e.m&&m(t,n)}function _(e,t){var n=e[G];return(n?f(n):e)[t]}function R(e,t){if(t in e)for(var n=Object.getPrototypeOf(e);n;){var r=Object.getOwnPropertyDescriptor(n,t);if(r)return r;n=Object.getPrototypeOf(n)}}function C(e){e.P||(e.P=!0,e.l&&C(e.l))}function N(e){e.o||(e.o=h(e.t))}function I(e,t,n){var r=d(t)?y("MapSet").F(t,n):b(t)?y("MapSet").T(t,n):e.O?function(e,t){var n=Array.isArray(e),r={i:n?1:0,A:t?t.A:z(),P:!1,I:!1,R:{},l:t,t:e,k:null,o:null,j:null,C:!1},o=r,i=Q;n&&(o=[r],i=ee);var a=Proxy.revocable(o,i),s=a.revoke,l=a.proxy;return r.k=l,r.j=s,l}(t,n):y("ES5").J(t,n);return(n?n.A:z()).p.push(r),r}function W(e){return o(e)||r(22,e),function e(t){if(!i(t))return t;var n,r=t[G],o=s(t);if(r){if(!r.P&&(r.i<4||!y("ES5").K(r)))return r.t;r.I=!0,n=P(t,o),r.I=!1}else n=P(t,o);return a(n,(function(t,o){r&&c(r.t,t)===o||u(n,t,e(o))})),3===o?new Set(n):n}(e)}function P(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return h(e)}function L(){(function(){function e(e,t){var n=i[e];return n?n.enumerable=t:i[e]=n={configurable:!0,enumerable:t,get:function(){var t=this[G];return Q.get(t,e)},set:function(t){var n=this[G];Q.set(n,e,t)}},n}function t(e){for(var t=e.length-1;t>=0;t--){var o=e[t][G];if(!o.P)switch(o.i){case 5:r(o)&&C(o);break;case 4:n(o)&&C(o)}}}function n(e){for(var t=e.t,n=e.k,r=Y(n),o=r.length-1;o>=0;o--){var i=r[o];if(i!==G){var a=t[i];if(void 0===a&&!l(t,i))return!0;var s=n[i],c=s&&s[G];if(c?c.t!==a:!p(s,a))return!0}}var u=!!t[G];return r.length!==Y(t).length+(u?0:1)}function r(e){var t=e.k;if(t.length!==e.t.length)return!0;var n=Object.getOwnPropertyDescriptor(t,t.length-1);if(n&&!n.get)return!0;for(var r=0;rL,Uy:()=>re,ZP:()=>oe,sc:()=>X});var j,D,B="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),F="undefined"!=typeof Map,V="undefined"!=typeof Set,U="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,H=B?Symbol.for("immer-nothing"):((j={})["immer-nothing"]=!0,j),X=B?Symbol.for("immer-draftable"):"__$immer_draftable",G=B?Symbol.for("immer-state"):"__$immer_state",$="undefined"!=typeof Symbol&&Symbol.iterator||"@@iterator",K=""+Object.prototype.constructor,Y="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,Z=Object.getOwnPropertyDescriptors||function(e){var t={};return Y(e).forEach((function(n){t[n]=Object.getOwnPropertyDescriptor(e,n)})),t},J={},Q={get:function(e,t){if(t===G)return e;var n=f(e);if(!l(n,t))return function(e,t,n){var r,o=R(t,n);return o?"value"in o?o.value:null===(r=o.get)||void 0===r?void 0:r.call(e.k):void 0}(e,n,t);var r=n[t];return e.I||!i(r)?r:r===_(e.t,t)?(N(e),e.o[t]=I(e.A.h,r,e)):r},has:function(e,t){return t in f(e)},ownKeys:function(e){return Reflect.ownKeys(f(e))},set:function(e,t,n){var r=R(f(e),t);if(null==r?void 0:r.set)return r.set.call(e.k,n),!0;if(!e.P){var o=_(f(e),t),i=null==o?void 0:o[G];if(i&&i.t===n)return e.o[t]=n,e.R[t]=!1,!0;if(p(n,o)&&(void 0!==n||l(e.t,t)))return!0;N(e),C(e)}return e.o[t]===n&&(void 0!==n||t in e.o)||Number.isNaN(n)&&Number.isNaN(e.o[t])||(e.o[t]=n,e.R[t]=!0),!0},deleteProperty:function(e,t){return void 0!==_(e.t,t)||t in e.t?(e.R[t]=!1,N(e),C(e)):delete e.R[t],e.o&&delete e.o[t],!0},getOwnPropertyDescriptor:function(e,t){var n=f(e),r=Reflect.getOwnPropertyDescriptor(n,t);return r?{writable:!0,configurable:1!==e.i||"length"!==t,enumerable:r.enumerable,value:n[t]}:r},defineProperty:function(){r(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){r(12)}},ee={};a(Q,(function(e,t){ee[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}})),ee.deleteProperty=function(e,t){return ee.set.call(this,e,t,void 0)},ee.set=function(e,t,n){return Q.set.call(this,e[0],t,n,e[0])};var te=function(){function e(e){var t=this;this.O=U,this.D=!0,this.produce=function(e,n,o){if("function"==typeof e&&"function"!=typeof n){var a=n;n=e;var s=t;return function(e){var t=this;void 0===e&&(e=a);for(var r=arguments.length,o=Array(r>1?r-1:0),i=1;i1?r-1:0),i=1;i=0;n--){var r=t[n];if(0===r.path.length&&"replace"===r.op){e=r.value;break}}n>-1&&(t=t.slice(n+1));var i=y("Patches").$;return o(e)?i(e,t):this.produce(e,(function(e){return i(e,t)}))},e}(),ne=new te,re=ne.produce;ne.produceWithPatches.bind(ne),ne.setAutoFreeze.bind(ne),ne.setUseProxies.bind(ne),ne.applyPatches.bind(ne),ne.createDraft.bind(ne),ne.finishDraft.bind(ne);const oe=re},66559:e=>{var t=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,n=/\n/g,r=/^\s*/,o=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,i=/^:\s*/,a=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,s=/^[;\s]*/,l=/^\s+|\s+$/g,c="";function u(e){return e?e.replace(l,c):c}e.exports=function(e,l){if("string"!==typeof e)throw new TypeError("First argument must be a string");if(!e)return[];l=l||{};var p=1,d=1;function b(e){var t=e.match(n);t&&(p+=t.length);var r=e.lastIndexOf("\n");d=~r?e.length-r:d+e.length}function f(){var e={line:p,column:d};return function(t){return t.position=new h(e),y(),t}}function h(e){this.start=e,this.end={line:p,column:d},this.source=l.source}h.prototype.content=e;var m=[];function g(t){var n=new Error(l.source+":"+p+":"+d+": "+t);if(n.reason=t,n.filename=l.source,n.line=p,n.column=d,n.source=e,!l.silent)throw n;m.push(n)}function O(t){var n=t.exec(e);if(n){var r=n[0];return b(r),e=e.slice(r.length),n}}function y(){O(r)}function M(e){var t;for(e=e||[];t=z();)!1!==t&&e.push(t);return e}function z(){var t=f();if("/"==e.charAt(0)&&"*"==e.charAt(1)){for(var n=2;c!=e.charAt(n)&&("*"!=e.charAt(n)||"/"!=e.charAt(n+1));)++n;if(n+=2,c===e.charAt(n-1))return g("End of comment missing");var r=e.slice(2,n-2);return d+=2,b(r),e=e.slice(n),d+=2,t({type:"comment",comment:r})}}function A(){var e=f(),n=O(o);if(n){if(z(),!O(i))return g("property missing ':'");var r=O(a),l=e({type:"declaration",property:u(n[0].replace(t,c)),value:r?u(r[0].replace(t,c)):c});return O(s),l}}return y(),function(){var e,t=[];for(M(t);e=A();)!1!==e&&(t.push(e),M(t));return t}()}},34635:e=>{e.exports=function(e){return null!=e&&null!=e.constructor&&"function"===typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}},63053:e=>{"use strict";e.exports=function(e){var t="string"===typeof e?e.charCodeAt(0):e;return t>=48&&t<=57}},98441:(e,t,n)=>{"use strict";n.d(t,{Z:()=>W});var r={Space_Separator:/[\u1680\u2000-\u200A\u202F\u205F\u3000]/,ID_Start:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312E\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEA\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE83\uDE86-\uDE89\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F\uDFE0\uDFE1]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00-\uDD1E\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]/,ID_Continue:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u0860-\u086A\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u09FC\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9-\u0AFF\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D00-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19D9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF9\u1D00-\u1DF9\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312E\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEA\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF2D-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE3E\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC00-\uDC4A\uDC50-\uDC59\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDE00-\uDE3E\uDE47\uDE50-\uDE83\uDE86-\uDE99\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC50-\uDC59\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD36\uDD3A\uDD3C\uDD3D\uDD3F-\uDD47\uDD50-\uDD59]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F\uDFE0\uDFE1]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00-\uDD1E\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6\uDD00-\uDD4A\uDD50-\uDD59]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/},o={isSpaceSeparator:e=>"string"===typeof e&&r.Space_Separator.test(e),isIdStartChar:e=>"string"===typeof e&&(e>="a"&&e<="z"||e>="A"&&e<="Z"||"$"===e||"_"===e||r.ID_Start.test(e)),isIdContinueChar:e=>"string"===typeof e&&(e>="a"&&e<="z"||e>="A"&&e<="Z"||e>="0"&&e<="9"||"$"===e||"_"===e||"\u200c"===e||"\u200d"===e||r.ID_Continue.test(e)),isDigit:e=>"string"===typeof e&&/[0-9]/.test(e),isHexDigit:e=>"string"===typeof e&&/[0-9A-Fa-f]/.test(e)};let i,a,s,l,c,u,p,d,b;function f(e,t,n){const r=e[t];if(null!=r&&"object"===typeof r)if(Array.isArray(r))for(let o=0;o0;){const t=z();if(!o.isHexDigit(t))throw T(A());e+=A()}return String.fromCodePoint(parseInt(e,16))}const E={start(){if("eof"===p.type)throw _();k()},beforePropertyName(){switch(p.type){case"identifier":case"string":return d=p.value,void(a="afterPropertyName");case"punctuator":return void q();case"eof":throw _()}},afterPropertyName(){if("eof"===p.type)throw _();a="beforePropertyValue"},beforePropertyValue(){if("eof"===p.type)throw _();k()},beforeArrayValue(){if("eof"===p.type)throw _();"punctuator"!==p.type||"]"!==p.value?k():q()},afterPropertyValue(){if("eof"===p.type)throw _();switch(p.value){case",":return void(a="beforePropertyName");case"}":q()}},afterArrayValue(){if("eof"===p.type)throw _();switch(p.value){case",":return void(a="beforeArrayValue");case"]":q()}},end(){}};function k(){let e;switch(p.type){case"punctuator":switch(p.value){case"{":e={};break;case"[":e=[]}break;case"null":case"boolean":case"numeric":case"string":e=p.value}if(void 0===b)b=e;else{const t=s[s.length-1];Array.isArray(t)?t.push(e):Object.defineProperty(t,d,{value:e,writable:!0,enumerable:!0,configurable:!0})}if(null!==e&&"object"===typeof e)s.push(e),a=Array.isArray(e)?"beforeArrayValue":"beforePropertyName";else{const e=s[s.length-1];a=null==e?"end":Array.isArray(e)?"afterArrayValue":"afterPropertyValue"}}function q(){s.pop();const e=s[s.length-1];a=null==e?"end":Array.isArray(e)?"afterArrayValue":"afterPropertyValue"}function T(e){return N(void 0===e?`JSON5: invalid end of input at ${c}:${u}`:`JSON5: invalid character '${C(e)}' at ${c}:${u}`)}function _(){return N(`JSON5: invalid end of input at ${c}:${u}`)}function R(){return u-=5,N(`JSON5: invalid identifier character at ${c}:${u}`)}function C(e){const t={"'":"\\'",'"':'\\"',"\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\v":"\\v","\0":"\\0","\u2028":"\\u2028","\u2029":"\\u2029"};if(t[e])return t[e];if(e<" "){const t=e.charCodeAt(0).toString(16);return"\\x"+("00"+t).substring(t.length)}return e}function N(e){const t=new SyntaxError(e);return t.lineNumber=c,t.columnNumber=u,t}const I={parse:function(e,t){i=String(e),a="start",s=[],l=0,c=1,u=0,p=void 0,d=void 0,b=void 0;do{p=M(),E[a]()}while("eof"!==p.type);return"function"===typeof t?f({"":b},"",t):b},stringify:function(e,t,n){const r=[];let i,a,s,l="",c="";if(null==t||"object"!==typeof t||Array.isArray(t)||(n=t.space,s=t.quote,t=t.replacer),"function"===typeof t)a=t;else if(Array.isArray(t)){i=[];for(const e of t){let t;"string"===typeof e?t=e:("number"===typeof e||e instanceof String||e instanceof Number)&&(t=String(e)),void 0!==t&&i.indexOf(t)<0&&i.push(t)}}return n instanceof Number?n=Number(n):n instanceof String&&(n=String(n)),"number"===typeof n?n>0&&(n=Math.min(10,Math.floor(n)),c=" ".substr(0,n)):"string"===typeof n&&(c=n.substr(0,10)),u("",{"":e});function u(e,t){let n=t[e];switch(null!=n&&("function"===typeof n.toJSON5?n=n.toJSON5(e):"function"===typeof n.toJSON&&(n=n.toJSON(e))),a&&(n=a.call(t,e,n)),n instanceof Number?n=Number(n):n instanceof String?n=String(n):n instanceof Boolean&&(n=n.valueOf()),n){case null:return"null";case!0:return"true";case!1:return"false"}return"string"===typeof n?p(n):"number"===typeof n?String(n):"object"===typeof n?Array.isArray(n)?function(e){if(r.indexOf(e)>=0)throw TypeError("Converting circular structure to JSON5");r.push(e);let t=l;l+=c;let n,o=[];for(let r=0;r=0)throw TypeError("Converting circular structure to JSON5");r.push(e);let t=l;l+=c;let n,o=i||Object.keys(e),a=[];for(const r of o){const t=u(r,e);if(void 0!==t){let e=d(r)+":";""!==c&&(e+=" "),e+=t,a.push(e)}}if(0===a.length)n="{}";else{let e;if(""===c)e=a.join(","),n="{"+e+"}";else{let r=",\n"+l;e=a.join(r),n="{\n"+l+e+",\n"+t+"}"}}return r.pop(),l=t,n}(n):void 0}function p(e){const t={"'":.1,'"':.2},n={"'":"\\'",'"':'\\"',"\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\v":"\\v","\0":"\\0","\u2028":"\\u2028","\u2029":"\\u2029"};let r="";for(let a=0;at[e]{function t(e){return!e||"object"!=typeof e&&"function"!=typeof e}e.exports=function e(){var n=[].slice.call(arguments),r=!1;"boolean"==typeof n[0]&&(r=n.shift());var o=n[0];if(t(o))throw new Error("extendee must be an object");for(var i=n.slice(1),a=i.length,s=0;s{var r=NaN,o="[object Symbol]",i=/^\s+|\s+$/g,a=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,l=/^0o[0-7]+$/i,c=parseInt,u="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,p="object"==typeof self&&self&&self.Object===Object&&self,d=u||p||Function("return this")(),b=Object.prototype.toString,f=Math.max,h=Math.min,m=function(){return d.Date.now()};function g(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function O(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&b.call(e)==o}(e))return r;if(g(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=g(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(i,"");var n=s.test(e);return n||l.test(e)?c(e.slice(2),n?2:8):a.test(e)?r:+e}e.exports=function(e,t,n){var r,o,i,a,s,l,c=0,u=!1,p=!1,d=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function b(t){var n=r,i=o;return r=o=void 0,c=t,a=e.apply(i,n)}function y(e){var n=e-l;return void 0===l||n>=t||n<0||p&&e-c>=i}function M(){var e=m();if(y(e))return z(e);s=setTimeout(M,function(e){var n=t-(e-l);return p?h(n,i-(e-c)):n}(e))}function z(e){return s=void 0,d&&r?b(e):(r=o=void 0,a)}function A(){var e=m(),n=y(e);if(r=arguments,o=this,l=e,n){if(void 0===s)return function(e){return c=e,s=setTimeout(M,t),u?b(e):a}(l);if(p)return s=setTimeout(M,t),b(l)}return void 0===s&&(s=setTimeout(M,t)),a}return t=O(t)||0,g(n)&&(u=!!n.leading,i=(p="maxWait"in n)?f(O(n.maxWait)||0,t):i,d="trailing"in n?!!n.trailing:d),A.cancel=function(){void 0!==s&&clearTimeout(s),c=0,r=l=o=s=void 0},A.flush=function(){return void 0===s?a:z(m())},A}},54988:e=>{var t=Object.prototype.toString;e.exports=function(e){return!0===e||!1===e||function(e){return!!e&&"object"==typeof e}(e)&&"[object Boolean]"==t.call(e)}},78489:(e,t,n)=>{e=n.nmd(e);var r="__lodash_hash_undefined__",o=1,i=2,a=9007199254740991,s="[object Arguments]",l="[object Array]",c="[object AsyncFunction]",u="[object Boolean]",p="[object Date]",d="[object Error]",b="[object Function]",f="[object GeneratorFunction]",h="[object Map]",m="[object Number]",g="[object Null]",O="[object Object]",y="[object Promise]",M="[object Proxy]",z="[object RegExp]",A="[object Set]",v="[object String]",w="[object Symbol]",S="[object Undefined]",x="[object WeakMap]",E="[object ArrayBuffer]",k="[object DataView]",q=/^\[object .+?Constructor\]$/,T=/^(?:0|[1-9]\d*)$/,_={};_["[object Float32Array]"]=_["[object Float64Array]"]=_["[object Int8Array]"]=_["[object Int16Array]"]=_["[object Int32Array]"]=_["[object Uint8Array]"]=_["[object Uint8ClampedArray]"]=_["[object Uint16Array]"]=_["[object Uint32Array]"]=!0,_[s]=_[l]=_[E]=_[u]=_[k]=_[p]=_[d]=_[b]=_[h]=_[m]=_[O]=_[z]=_[A]=_[v]=_[x]=!1;var R="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,C="object"==typeof self&&self&&self.Object===Object&&self,N=R||C||Function("return this")(),I=t&&!t.nodeType&&t,W=I&&e&&!e.nodeType&&e,P=W&&W.exports===I,L=P&&R.process,j=function(){try{return L&&L.binding&&L.binding("util")}catch(e){}}(),D=j&&j.isTypedArray;function B(e,t){for(var n=-1,r=null==e?0:e.length;++nc))return!1;var p=s.get(e);if(p&&s.get(t))return p==t;var d=-1,b=!0,f=n&i?new xe:void 0;for(s.set(e,t),s.set(t,e);++d-1},we.prototype.set=function(e,t){var n=this.__data__,r=qe(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},Se.prototype.clear=function(){this.size=0,this.__data__={hash:new ve,map:new(pe||we),string:new ve}},Se.prototype.delete=function(e){var t=Pe(this,e).delete(e);return this.size-=t?1:0,t},Se.prototype.get=function(e){return Pe(this,e).get(e)},Se.prototype.has=function(e){return Pe(this,e).has(e)},Se.prototype.set=function(e,t){var n=Pe(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},xe.prototype.add=xe.prototype.push=function(e){return this.__data__.set(e,r),this},xe.prototype.has=function(e){return this.__data__.has(e)},Ee.prototype.clear=function(){this.__data__=new we,this.size=0},Ee.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},Ee.prototype.get=function(e){return this.__data__.get(e)},Ee.prototype.has=function(e){return this.__data__.has(e)},Ee.prototype.set=function(e,t){var n=this.__data__;if(n instanceof we){var r=n.__data__;if(!pe||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new Se(r)}return n.set(e,t),this.size=n.size,this};var je=se?function(e){return null==e?[]:(e=Object(e),function(e,t){for(var n=-1,r=null==e?0:e.length,o=0,i=[];++n-1&&e%1==0&&e-1&&e%1==0&&e<=a}function Ke(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function Ye(e){return null!=e&&"object"==typeof e}var Ze=D?function(e){return function(t){return e(t)}}(D):function(e){return Ye(e)&&$e(e.length)&&!!_[Te(e)]};function Je(e){return null!=(t=e)&&$e(t.length)&&!Ge(t)?ke(e):Ne(e);var t}e.exports=function(e,t){return Re(e,t)}},2885:e=>{e.exports=function(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}},73107:(e,t,n)=>{var r=n(29519)(n(95498),"DataView");e.exports=r},63210:(e,t,n)=>{var r=n(43793),o=n(30044),i=n(25427),a=n(82720),s=n(1249);function l(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t{var r=n(53910),o=n(39515),i=n(62267),a=n(69008),s=n(85035);function l(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t{var r=n(29519)(n(95498),"Map");e.exports=r},99365:(e,t,n)=>{var r=n(29789),o=n(12052),i=n(47940),a=n(36467),s=n(75188);function l(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t{var r=n(29519)(n(95498),"Promise");e.exports=r},35889:(e,t,n)=>{var r=n(29519)(n(95498),"Set");e.exports=r},81294:(e,t,n)=>{var r=n(99365),o=n(37162),i=n(44456);function a(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new r;++t{var r=n(31864),o=n(66960),i=n(4265),a=n(42468),s=n(58866),l=n(92822);function c(e){var t=this.__data__=new r(e);this.size=t.size}c.prototype.clear=o,c.prototype.delete=i,c.prototype.get=a,c.prototype.has=s,c.prototype.set=l,e.exports=c},25435:(e,t,n)=>{var r=n(95498).Symbol;e.exports=r},16343:(e,t,n)=>{var r=n(95498).Uint8Array;e.exports=r},51963:(e,t,n)=>{var r=n(29519)(n(95498),"WeakMap");e.exports=r},38280:e=>{e.exports=function(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}},32038:e=>{e.exports=function(e,t,n,r){for(var o=-1,i=null==e?0:e.length;++o{e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length;++n{e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,o=0,i=[];++n{var r=n(52830);e.exports=function(e,t){return!!(null==e?0:e.length)&&r(e,t,0)>-1}},93528:e=>{e.exports=function(e,t,n){for(var r=-1,o=null==e?0:e.length;++r{var r=n(20191),o=n(32824),i=n(49756),a=n(25377),s=n(90790),l=n(29239),c=Object.prototype.hasOwnProperty;e.exports=function(e,t){var n=i(e),u=!n&&o(e),p=!n&&!u&&a(e),d=!n&&!u&&!p&&l(e),b=n||u||p||d,f=b?r(e.length,String):[],h=f.length;for(var m in e)!t&&!c.call(e,m)||b&&("length"==m||p&&("offset"==m||"parent"==m)||d&&("buffer"==m||"byteLength"==m||"byteOffset"==m)||s(m,h))||f.push(m);return f}},26306:e=>{e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,o=Array(r);++n{e.exports=function(e,t){for(var n=-1,r=t.length,o=e.length;++n{e.exports=function(e,t,n,r){var o=-1,i=null==e?0:e.length;for(r&&i&&(n=e[++o]);++o{e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length;++n{e.exports=function(e){return e.split("")}},11308:e=>{var t=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;e.exports=function(e){return e.match(t)||[]}},69696:(e,t,n)=>{var r=n(56232),o=n(6170);e.exports=function(e,t,n){(void 0!==n&&!o(e[t],n)||void 0===n&&!(t in e))&&r(e,t,n)}},49671:(e,t,n)=>{var r=n(56232),o=n(6170),i=Object.prototype.hasOwnProperty;e.exports=function(e,t,n){var a=e[t];i.call(e,t)&&o(a,n)&&(void 0!==n||t in e)||r(e,t,n)}},44402:(e,t,n)=>{var r=n(6170);e.exports=function(e,t){for(var n=e.length;n--;)if(r(e[n][0],t))return n;return-1}},66217:(e,t,n)=>{var r=n(16051);e.exports=function(e,t,n,o){return r(e,(function(e,r,i){t(o,e,n(e),i)})),o}},41567:(e,t,n)=>{var r=n(79281),o=n(53675);e.exports=function(e,t){return e&&r(t,o(t),e)}},83248:(e,t,n)=>{var r=n(79281),o=n(93087);e.exports=function(e,t){return e&&r(t,o(t),e)}},56232:(e,t,n)=>{var r=n(83079);e.exports=function(e,t,n){"__proto__"==t&&r?r(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}},46817:(e,t,n)=>{var r=n(69155),o=n(84956),i=n(49671),a=n(41567),s=n(83248),l=n(42675),c=n(78595),u=n(10747),p=n(59363),d=n(30337),b=n(60699),f=n(28342),h=n(95385),m=n(74049),g=n(34095),O=n(49756),y=n(25377),M=n(32432),z=n(74274),A=n(6790),v=n(53675),w=n(93087),S="[object Arguments]",x="[object Function]",E="[object Object]",k={};k[S]=k["[object Array]"]=k["[object ArrayBuffer]"]=k["[object DataView]"]=k["[object Boolean]"]=k["[object Date]"]=k["[object Float32Array]"]=k["[object Float64Array]"]=k["[object Int8Array]"]=k["[object Int16Array]"]=k["[object Int32Array]"]=k["[object Map]"]=k["[object Number]"]=k[E]=k["[object RegExp]"]=k["[object Set]"]=k["[object String]"]=k["[object Symbol]"]=k["[object Uint8Array]"]=k["[object Uint8ClampedArray]"]=k["[object Uint16Array]"]=k["[object Uint32Array]"]=!0,k["[object Error]"]=k[x]=k["[object WeakMap]"]=!1,e.exports=function e(t,n,q,T,_,R){var C,N=1&n,I=2&n,W=4&n;if(q&&(C=_?q(t,T,_,R):q(t)),void 0!==C)return C;if(!z(t))return t;var P=O(t);if(P){if(C=h(t),!N)return c(t,C)}else{var L=f(t),j=L==x||"[object GeneratorFunction]"==L;if(y(t))return l(t,N);if(L==E||L==S||j&&!_){if(C=I||j?{}:g(t),!N)return I?p(t,s(C,t)):u(t,a(C,t))}else{if(!k[L])return _?t:{};C=m(t,L,N)}}R||(R=new r);var D=R.get(t);if(D)return D;R.set(t,C),A(t)?t.forEach((function(r){C.add(e(r,n,q,r,t,R))})):M(t)&&t.forEach((function(r,o){C.set(o,e(r,n,q,o,t,R))}));var B=P?void 0:(W?I?b:d:I?w:v)(t);return o(B||t,(function(r,o){B&&(r=t[o=r]),i(C,o,e(r,n,q,o,t,R))})),C}},56077:(e,t,n)=>{var r=n(74274),o=Object.create,i=function(){function e(){}return function(t){if(!r(t))return{};if(o)return o(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();e.exports=i},73360:(e,t,n)=>{var r=n(81294),o=n(24918),i=n(93528),a=n(26306),s=n(25098),l=n(82195);e.exports=function(e,t,n,c){var u=-1,p=o,d=!0,b=e.length,f=[],h=t.length;if(!b)return f;n&&(t=a(t,s(n))),c?(p=i,d=!1):t.length>=200&&(p=l,d=!1,t=new r(t));e:for(;++u{var r=n(20993),o=n(88849)(r);e.exports=o},8453:e=>{e.exports=function(e,t,n,r){for(var o=e.length,i=n+(r?1:-1);r?i--:++i{var r=n(64013),o=n(7530);e.exports=function e(t,n,i,a,s){var l=-1,c=t.length;for(i||(i=o),s||(s=[]);++l0&&i(u)?n>1?e(u,n-1,i,a,s):r(s,u):a||(s[s.length]=u)}return s}},86540:(e,t,n)=>{var r=n(96583)();e.exports=r},20993:(e,t,n)=>{var r=n(86540),o=n(53675);e.exports=function(e,t){return e&&r(e,t,o)}},22374:(e,t,n)=>{var r=n(76729),o=n(70239);e.exports=function(e,t){for(var n=0,i=(t=r(t,e)).length;null!=e&&n{var r=n(64013),o=n(49756);e.exports=function(e,t,n){var i=t(e);return o(e)?i:r(i,n(e))}},41602:(e,t,n)=>{var r=n(25435),o=n(34745),i=n(24363),a=r?r.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":a&&a in Object(e)?o(e):i(e)}},57201:e=>{e.exports=function(e,t){return null!=e&&t in Object(e)}},52830:(e,t,n)=>{var r=n(8453),o=n(5307),i=n(81821);e.exports=function(e,t,n){return t===t?i(e,t,n):r(e,o,n)}},89801:(e,t,n)=>{var r=n(41602),o=n(57126);e.exports=function(e){return o(e)&&"[object Arguments]"==r(e)}},48247:(e,t,n)=>{var r=n(54329),o=n(57126);e.exports=function e(t,n,i,a,s){return t===n||(null==t||null==n||!o(t)&&!o(n)?t!==t&&n!==n:r(t,n,i,a,e,s))}},54329:(e,t,n)=>{var r=n(69155),o=n(2951),i=n(89691),a=n(14037),s=n(28342),l=n(49756),c=n(25377),u=n(29239),p="[object Arguments]",d="[object Array]",b="[object Object]",f=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,h,m,g){var O=l(e),y=l(t),M=O?d:s(e),z=y?d:s(t),A=(M=M==p?b:M)==b,v=(z=z==p?b:z)==b,w=M==z;if(w&&c(e)){if(!c(t))return!1;O=!0,A=!1}if(w&&!A)return g||(g=new r),O||u(e)?o(e,t,n,h,m,g):i(e,t,M,n,h,m,g);if(!(1&n)){var S=A&&f.call(e,"__wrapped__"),x=v&&f.call(t,"__wrapped__");if(S||x){var E=S?e.value():e,k=x?t.value():t;return g||(g=new r),m(E,k,n,h,g)}}return!!w&&(g||(g=new r),a(e,t,n,h,m,g))}},322:(e,t,n)=>{var r=n(28342),o=n(57126);e.exports=function(e){return o(e)&&"[object Map]"==r(e)}},90046:(e,t,n)=>{var r=n(69155),o=n(48247);e.exports=function(e,t,n,i){var a=n.length,s=a,l=!i;if(null==e)return!s;for(e=Object(e);a--;){var c=n[a];if(l&&c[2]?c[1]!==e[c[0]]:!(c[0]in e))return!1}for(;++a{e.exports=function(e){return e!==e}},18273:(e,t,n)=>{var r=n(48776),o=n(38758),i=n(74274),a=n(36512),s=/^\[object .+?Constructor\]$/,l=Function.prototype,c=Object.prototype,u=l.toString,p=c.hasOwnProperty,d=RegExp("^"+u.call(p).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!i(e)||o(e))&&(r(e)?d:s).test(a(e))}},65486:(e,t,n)=>{var r=n(28342),o=n(57126);e.exports=function(e){return o(e)&&"[object Set]"==r(e)}},1967:(e,t,n)=>{var r=n(41602),o=n(88465),i=n(57126),a={};a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1,e.exports=function(e){return i(e)&&o(e.length)&&!!a[r(e)]}},48311:(e,t,n)=>{var r=n(24844),o=n(93219),i=n(64308),a=n(49756),s=n(9679);e.exports=function(e){return"function"==typeof e?e:null==e?i:"object"==typeof e?a(e)?o(e[0],e[1]):r(e):s(e)}},43746:(e,t,n)=>{var r=n(91121),o=n(92633),i=Object.prototype.hasOwnProperty;e.exports=function(e){if(!r(e))return o(e);var t=[];for(var n in Object(e))i.call(e,n)&&"constructor"!=n&&t.push(n);return t}},7467:(e,t,n)=>{var r=n(74274),o=n(91121),i=n(98489),a=Object.prototype.hasOwnProperty;e.exports=function(e){if(!r(e))return i(e);var t=o(e),n=[];for(var s in e)("constructor"!=s||!t&&a.call(e,s))&&n.push(s);return n}},17774:(e,t,n)=>{var r=n(16051),o=n(66274);e.exports=function(e,t){var n=-1,i=o(e)?Array(e.length):[];return r(e,(function(e,r,o){i[++n]=t(e,r,o)})),i}},24844:(e,t,n)=>{var r=n(90046),o=n(86123),i=n(87711);e.exports=function(e){var t=o(e);return 1==t.length&&t[0][2]?i(t[0][0],t[0][1]):function(n){return n===e||r(n,e,t)}}},93219:(e,t,n)=>{var r=n(48247),o=n(46292),i=n(33415),a=n(51057),s=n(38802),l=n(87711),c=n(70239);e.exports=function(e,t){return a(e)&&s(t)?l(c(e),t):function(n){var a=o(n,e);return void 0===a&&a===t?i(n,e):r(t,a,3)}}},26815:(e,t,n)=>{var r=n(69155),o=n(69696),i=n(86540),a=n(38117),s=n(74274),l=n(93087),c=n(16739);e.exports=function e(t,n,u,p,d){t!==n&&i(n,(function(i,l){if(d||(d=new r),s(i))a(t,n,l,u,e,p,d);else{var b=p?p(c(t,l),i,l+"",t,n,d):void 0;void 0===b&&(b=i),o(t,l,b)}}),l)}},38117:(e,t,n)=>{var r=n(69696),o=n(42675),i=n(30098),a=n(78595),s=n(34095),l=n(32824),c=n(49756),u=n(95788),p=n(25377),d=n(48776),b=n(74274),f=n(67722),h=n(29239),m=n(16739),g=n(2850);e.exports=function(e,t,n,O,y,M,z){var A=m(e,n),v=m(t,n),w=z.get(v);if(w)r(e,n,w);else{var S=M?M(A,v,n+"",e,t,z):void 0,x=void 0===S;if(x){var E=c(v),k=!E&&p(v),q=!E&&!k&&h(v);S=v,E||k||q?c(A)?S=A:u(A)?S=a(A):k?(x=!1,S=o(v,!0)):q?(x=!1,S=i(v,!0)):S=[]:f(v)||l(v)?(S=A,l(A)?S=g(A):b(A)&&!d(A)||(S=s(v))):x=!1}x&&(z.set(v,S),y(S,v,O,M,z),z.delete(v)),r(e,n,S)}}},78770:(e,t,n)=>{var r=n(26306),o=n(22374),i=n(48311),a=n(17774),s=n(29473),l=n(25098),c=n(60957),u=n(64308),p=n(49756);e.exports=function(e,t,n){t=t.length?r(t,(function(e){return p(e)?function(t){return o(t,1===e.length?e[0]:e)}:e})):[u];var d=-1;t=r(t,l(i));var b=a(e,(function(e,n,o){return{criteria:r(t,(function(t){return t(e)})),index:++d,value:e}}));return s(b,(function(e,t){return c(e,t,n)}))}},24174:(e,t,n)=>{var r=n(45994),o=n(33415);e.exports=function(e,t){return r(e,t,(function(t,n){return o(e,n)}))}},45994:(e,t,n)=>{var r=n(22374),o=n(16567),i=n(76729);e.exports=function(e,t,n){for(var a=-1,s=t.length,l={};++a{e.exports=function(e){return function(t){return null==t?void 0:t[e]}}},87139:(e,t,n)=>{var r=n(22374);e.exports=function(e){return function(t){return r(t,e)}}},38829:e=>{e.exports=function(e){return function(t){return null==e?void 0:e[t]}}},47839:e=>{var t=Math.ceil,n=Math.max;e.exports=function(e,r,o,i){for(var a=-1,s=n(t((r-e)/(o||1)),0),l=Array(s);s--;)l[i?s:++a]=e,e+=o;return l}},90280:(e,t,n)=>{var r=n(64308),o=n(88868),i=n(60945);e.exports=function(e,t){return i(o(e,t,r),e+"")}},16567:(e,t,n)=>{var r=n(49671),o=n(76729),i=n(90790),a=n(74274),s=n(70239);e.exports=function(e,t,n,l){if(!a(e))return e;for(var c=-1,u=(t=o(t,e)).length,p=u-1,d=e;null!=d&&++c{var r=n(48923),o=n(83079),i=n(64308),a=o?function(e,t){return o(e,"toString",{configurable:!0,enumerable:!1,value:r(t),writable:!0})}:i;e.exports=a},72111:e=>{e.exports=function(e,t,n){var r=-1,o=e.length;t<0&&(t=-t>o?0:o+t),(n=n>o?o:n)<0&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;for(var i=Array(o);++r{e.exports=function(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e}},20191:e=>{e.exports=function(e,t){for(var n=-1,r=Array(e);++n{var r=n(25435),o=n(26306),i=n(49756),a=n(5100),s=r?r.prototype:void 0,l=s?s.toString:void 0;e.exports=function e(t){if("string"==typeof t)return t;if(i(t))return o(t,e)+"";if(a(t))return l?l.call(t):"";var n=t+"";return"0"==n&&1/t==-Infinity?"-0":n}},77559:(e,t,n)=>{var r=n(42710),o=/^\s+/;e.exports=function(e){return e?e.slice(0,r(e)+1).replace(o,""):e}},25098:e=>{e.exports=function(e){return function(t){return e(t)}}},27593:(e,t,n)=>{var r=n(76729),o=n(99985),i=n(27964),a=n(70239);e.exports=function(e,t){return t=r(t,e),null==(e=i(e,t))||delete e[a(o(t))]}},17935:(e,t,n)=>{var r=n(26306);e.exports=function(e,t){return r(t,(function(t){return e[t]}))}},82195:e=>{e.exports=function(e,t){return e.has(t)}},49342:(e,t,n)=>{var r=n(64308);e.exports=function(e){return"function"==typeof e?e:r}},76729:(e,t,n)=>{var r=n(49756),o=n(51057),i=n(47476),a=n(71361);e.exports=function(e,t){return r(e)?e:o(e,t)?[e]:i(a(e))}},80105:(e,t,n)=>{var r=n(72111);e.exports=function(e,t,n){var o=e.length;return n=void 0===n?o:n,!t&&n>=o?e:r(e,t,n)}},40411:(e,t,n)=>{var r=n(52830);e.exports=function(e,t){for(var n=e.length;n--&&r(t,e[n],0)>-1;);return n}},93736:(e,t,n)=>{var r=n(16343);e.exports=function(e){var t=new e.constructor(e.byteLength);return new r(t).set(new r(e)),t}},42675:(e,t,n)=>{e=n.nmd(e);var r=n(95498),o=t&&!t.nodeType&&t,i=o&&e&&!e.nodeType&&e,a=i&&i.exports===o?r.Buffer:void 0,s=a?a.allocUnsafe:void 0;e.exports=function(e,t){if(t)return e.slice();var n=e.length,r=s?s(n):new e.constructor(n);return e.copy(r),r}},37701:(e,t,n)=>{var r=n(93736);e.exports=function(e,t){var n=t?r(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}},9977:e=>{var t=/\w*$/;e.exports=function(e){var n=new e.constructor(e.source,t.exec(e));return n.lastIndex=e.lastIndex,n}},81421:(e,t,n)=>{var r=n(25435),o=r?r.prototype:void 0,i=o?o.valueOf:void 0;e.exports=function(e){return i?Object(i.call(e)):{}}},30098:(e,t,n)=>{var r=n(93736);e.exports=function(e,t){var n=t?r(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}},39955:(e,t,n)=>{var r=n(5100);e.exports=function(e,t){if(e!==t){var n=void 0!==e,o=null===e,i=e===e,a=r(e),s=void 0!==t,l=null===t,c=t===t,u=r(t);if(!l&&!u&&!a&&e>t||a&&s&&c&&!l&&!u||o&&s&&c||!n&&c||!i)return 1;if(!o&&!a&&!u&&e{var r=n(39955);e.exports=function(e,t,n){for(var o=-1,i=e.criteria,a=t.criteria,s=i.length,l=n.length;++o=l?c:c*("desc"==n[o]?-1:1)}return e.index-t.index}},78595:e=>{e.exports=function(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n{var r=n(49671),o=n(56232);e.exports=function(e,t,n,i){var a=!n;n||(n={});for(var s=-1,l=t.length;++s{var r=n(79281),o=n(86578);e.exports=function(e,t){return r(e,o(e),t)}},59363:(e,t,n)=>{var r=n(79281),o=n(23589);e.exports=function(e,t){return r(e,o(e),t)}},60078:(e,t,n)=>{var r=n(95498)["__core-js_shared__"];e.exports=r},67515:(e,t,n)=>{var r=n(32038),o=n(66217),i=n(48311),a=n(49756);e.exports=function(e,t){return function(n,s){var l=a(n)?r:o,c=t?t():{};return l(n,e,i(s,2),c)}}},85337:(e,t,n)=>{var r=n(90280),o=n(89193);e.exports=function(e){return r((function(t,n){var r=-1,i=n.length,a=i>1?n[i-1]:void 0,s=i>2?n[2]:void 0;for(a=e.length>3&&"function"==typeof a?(i--,a):void 0,s&&o(n[0],n[1],s)&&(a=i<3?void 0:a,i=1),t=Object(t);++r{var r=n(66274);e.exports=function(e,t){return function(n,o){if(null==n)return n;if(!r(n))return e(n,o);for(var i=n.length,a=t?i:-1,s=Object(n);(t?a--:++a{e.exports=function(e){return function(t,n,r){for(var o=-1,i=Object(t),a=r(t),s=a.length;s--;){var l=a[e?s:++o];if(!1===n(i[l],l,i))break}return t}}},73374:(e,t,n)=>{var r=n(23529),o=n(68723),i=n(65826),a=RegExp("['\u2019]","g");e.exports=function(e){return function(t){return r(i(o(t).replace(a,"")),e,"")}}},40881:(e,t,n)=>{var r=n(47839),o=n(89193),i=n(91465);e.exports=function(e){return function(t,n,a){return a&&"number"!=typeof a&&o(t,n,a)&&(n=a=void 0),t=i(t),void 0===n?(n=t,t=0):n=i(n),a=void 0===a?t{var r=n(67722);e.exports=function(e){return r(e)?void 0:e}},64521:(e,t,n)=>{var r=n(38829)({"\xc0":"A","\xc1":"A","\xc2":"A","\xc3":"A","\xc4":"A","\xc5":"A","\xe0":"a","\xe1":"a","\xe2":"a","\xe3":"a","\xe4":"a","\xe5":"a","\xc7":"C","\xe7":"c","\xd0":"D","\xf0":"d","\xc8":"E","\xc9":"E","\xca":"E","\xcb":"E","\xe8":"e","\xe9":"e","\xea":"e","\xeb":"e","\xcc":"I","\xcd":"I","\xce":"I","\xcf":"I","\xec":"i","\xed":"i","\xee":"i","\xef":"i","\xd1":"N","\xf1":"n","\xd2":"O","\xd3":"O","\xd4":"O","\xd5":"O","\xd6":"O","\xd8":"O","\xf2":"o","\xf3":"o","\xf4":"o","\xf5":"o","\xf6":"o","\xf8":"o","\xd9":"U","\xda":"U","\xdb":"U","\xdc":"U","\xf9":"u","\xfa":"u","\xfb":"u","\xfc":"u","\xdd":"Y","\xfd":"y","\xff":"y","\xc6":"Ae","\xe6":"ae","\xde":"Th","\xfe":"th","\xdf":"ss","\u0100":"A","\u0102":"A","\u0104":"A","\u0101":"a","\u0103":"a","\u0105":"a","\u0106":"C","\u0108":"C","\u010a":"C","\u010c":"C","\u0107":"c","\u0109":"c","\u010b":"c","\u010d":"c","\u010e":"D","\u0110":"D","\u010f":"d","\u0111":"d","\u0112":"E","\u0114":"E","\u0116":"E","\u0118":"E","\u011a":"E","\u0113":"e","\u0115":"e","\u0117":"e","\u0119":"e","\u011b":"e","\u011c":"G","\u011e":"G","\u0120":"G","\u0122":"G","\u011d":"g","\u011f":"g","\u0121":"g","\u0123":"g","\u0124":"H","\u0126":"H","\u0125":"h","\u0127":"h","\u0128":"I","\u012a":"I","\u012c":"I","\u012e":"I","\u0130":"I","\u0129":"i","\u012b":"i","\u012d":"i","\u012f":"i","\u0131":"i","\u0134":"J","\u0135":"j","\u0136":"K","\u0137":"k","\u0138":"k","\u0139":"L","\u013b":"L","\u013d":"L","\u013f":"L","\u0141":"L","\u013a":"l","\u013c":"l","\u013e":"l","\u0140":"l","\u0142":"l","\u0143":"N","\u0145":"N","\u0147":"N","\u014a":"N","\u0144":"n","\u0146":"n","\u0148":"n","\u014b":"n","\u014c":"O","\u014e":"O","\u0150":"O","\u014d":"o","\u014f":"o","\u0151":"o","\u0154":"R","\u0156":"R","\u0158":"R","\u0155":"r","\u0157":"r","\u0159":"r","\u015a":"S","\u015c":"S","\u015e":"S","\u0160":"S","\u015b":"s","\u015d":"s","\u015f":"s","\u0161":"s","\u0162":"T","\u0164":"T","\u0166":"T","\u0163":"t","\u0165":"t","\u0167":"t","\u0168":"U","\u016a":"U","\u016c":"U","\u016e":"U","\u0170":"U","\u0172":"U","\u0169":"u","\u016b":"u","\u016d":"u","\u016f":"u","\u0171":"u","\u0173":"u","\u0174":"W","\u0175":"w","\u0176":"Y","\u0177":"y","\u0178":"Y","\u0179":"Z","\u017b":"Z","\u017d":"Z","\u017a":"z","\u017c":"z","\u017e":"z","\u0132":"IJ","\u0133":"ij","\u0152":"Oe","\u0153":"oe","\u0149":"'n","\u017f":"s"});e.exports=r},83079:(e,t,n)=>{var r=n(29519),o=function(){try{var e=r(Object,"defineProperty");return e({},"",{}),e}catch(t){}}();e.exports=o},2951:(e,t,n)=>{var r=n(81294),o=n(13964),i=n(82195);e.exports=function(e,t,n,a,s,l){var c=1&n,u=e.length,p=t.length;if(u!=p&&!(c&&p>u))return!1;var d=l.get(e),b=l.get(t);if(d&&b)return d==t&&b==e;var f=-1,h=!0,m=2&n?new r:void 0;for(l.set(e,t),l.set(t,e);++f{var r=n(25435),o=n(16343),i=n(6170),a=n(2951),s=n(2107),l=n(22761),c=r?r.prototype:void 0,u=c?c.valueOf:void 0;e.exports=function(e,t,n,r,c,p,d){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!p(new o(e),new o(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return i(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var b=s;case"[object Set]":var f=1&r;if(b||(b=l),e.size!=t.size&&!f)return!1;var h=d.get(e);if(h)return h==t;r|=2,d.set(e,t);var m=a(b(e),b(t),r,c,p,d);return d.delete(e),m;case"[object Symbol]":if(u)return u.call(e)==u.call(t)}return!1}},14037:(e,t,n)=>{var r=n(30337),o=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,i,a,s){var l=1&n,c=r(e),u=c.length;if(u!=r(t).length&&!l)return!1;for(var p=u;p--;){var d=c[p];if(!(l?d in t:o.call(t,d)))return!1}var b=s.get(e),f=s.get(t);if(b&&f)return b==t&&f==e;var h=!0;s.set(e,t),s.set(t,e);for(var m=l;++p{var r=n(43260),o=n(88868),i=n(60945);e.exports=function(e){return i(o(e,void 0,r),e+"")}},41363:(e,t,n)=>{var r="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;e.exports=r},30337:(e,t,n)=>{var r=n(14151),o=n(86578),i=n(53675);e.exports=function(e){return r(e,i,o)}},60699:(e,t,n)=>{var r=n(14151),o=n(23589),i=n(93087);e.exports=function(e){return r(e,i,o)}},38690:(e,t,n)=>{var r=n(55136);e.exports=function(e,t){var n=e.__data__;return r(t)?n["string"==typeof t?"string":"hash"]:n.map}},86123:(e,t,n)=>{var r=n(38802),o=n(53675);e.exports=function(e){for(var t=o(e),n=t.length;n--;){var i=t[n],a=e[i];t[n]=[i,a,r(a)]}return t}},29519:(e,t,n)=>{var r=n(18273),o=n(14959);e.exports=function(e,t){var n=o(e,t);return r(n)?n:void 0}},72661:(e,t,n)=>{var r=n(14102)(Object.getPrototypeOf,Object);e.exports=r},34745:(e,t,n)=>{var r=n(25435),o=Object.prototype,i=o.hasOwnProperty,a=o.toString,s=r?r.toStringTag:void 0;e.exports=function(e){var t=i.call(e,s),n=e[s];try{e[s]=void 0;var r=!0}catch(l){}var o=a.call(e);return r&&(t?e[s]=n:delete e[s]),o}},86578:(e,t,n)=>{var r=n(38047),o=n(47759),i=Object.prototype.propertyIsEnumerable,a=Object.getOwnPropertySymbols,s=a?function(e){return null==e?[]:(e=Object(e),r(a(e),(function(t){return i.call(e,t)})))}:o;e.exports=s},23589:(e,t,n)=>{var r=n(64013),o=n(72661),i=n(86578),a=n(47759),s=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)r(t,i(e)),e=o(e);return t}:a;e.exports=s},28342:(e,t,n)=>{var r=n(73107),o=n(8553),i=n(12445),a=n(35889),s=n(51963),l=n(41602),c=n(36512),u="[object Map]",p="[object Promise]",d="[object Set]",b="[object WeakMap]",f="[object DataView]",h=c(r),m=c(o),g=c(i),O=c(a),y=c(s),M=l;(r&&M(new r(new ArrayBuffer(1)))!=f||o&&M(new o)!=u||i&&M(i.resolve())!=p||a&&M(new a)!=d||s&&M(new s)!=b)&&(M=function(e){var t=l(e),n="[object Object]"==t?e.constructor:void 0,r=n?c(n):"";if(r)switch(r){case h:return f;case m:return u;case g:return p;case O:return d;case y:return b}return t}),e.exports=M},14959:e=>{e.exports=function(e,t){return null==e?void 0:e[t]}},52735:(e,t,n)=>{var r=n(76729),o=n(32824),i=n(49756),a=n(90790),s=n(88465),l=n(70239);e.exports=function(e,t,n){for(var c=-1,u=(t=r(t,e)).length,p=!1;++c{var t=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");e.exports=function(e){return t.test(e)}},71711:e=>{var t=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;e.exports=function(e){return t.test(e)}},43793:(e,t,n)=>{var r=n(90811);e.exports=function(){this.__data__=r?r(null):{},this.size=0}},30044:e=>{e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},25427:(e,t,n)=>{var r=n(90811),o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(r){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return o.call(t,e)?t[e]:void 0}},82720:(e,t,n)=>{var r=n(90811),o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return r?void 0!==t[e]:o.call(t,e)}},1249:(e,t,n)=>{var r=n(90811);e.exports=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=r&&void 0===t?"__lodash_hash_undefined__":t,this}},95385:e=>{var t=Object.prototype.hasOwnProperty;e.exports=function(e){var n=e.length,r=new e.constructor(n);return n&&"string"==typeof e[0]&&t.call(e,"index")&&(r.index=e.index,r.input=e.input),r}},74049:(e,t,n)=>{var r=n(93736),o=n(37701),i=n(9977),a=n(81421),s=n(30098);e.exports=function(e,t,n){var l=e.constructor;switch(t){case"[object ArrayBuffer]":return r(e);case"[object Boolean]":case"[object Date]":return new l(+e);case"[object DataView]":return o(e,n);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return s(e,n);case"[object Map]":case"[object Set]":return new l;case"[object Number]":case"[object String]":return new l(e);case"[object RegExp]":return i(e);case"[object Symbol]":return a(e)}}},34095:(e,t,n)=>{var r=n(56077),o=n(72661),i=n(91121);e.exports=function(e){return"function"!=typeof e.constructor||i(e)?{}:r(o(e))}},7530:(e,t,n)=>{var r=n(25435),o=n(32824),i=n(49756),a=r?r.isConcatSpreadable:void 0;e.exports=function(e){return i(e)||o(e)||!!(a&&e&&e[a])}},90790:e=>{var t=/^(?:0|[1-9]\d*)$/;e.exports=function(e,n){var r=typeof e;return!!(n=null==n?9007199254740991:n)&&("number"==r||"symbol"!=r&&t.test(e))&&e>-1&&e%1==0&&e{var r=n(6170),o=n(66274),i=n(90790),a=n(74274);e.exports=function(e,t,n){if(!a(n))return!1;var s=typeof t;return!!("number"==s?o(n)&&i(t,n.length):"string"==s&&t in n)&&r(n[t],e)}},51057:(e,t,n)=>{var r=n(49756),o=n(5100),i=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;e.exports=function(e,t){if(r(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!o(e))||(a.test(e)||!i.test(e)||null!=t&&e in Object(t))}},55136:e=>{e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},38758:(e,t,n)=>{var r=n(60078),o=function(){var e=/[^.]+$/.exec(r&&r.keys&&r.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();e.exports=function(e){return!!o&&o in e}},91121:e=>{var t=Object.prototype;e.exports=function(e){var n=e&&e.constructor;return e===("function"==typeof n&&n.prototype||t)}},38802:(e,t,n)=>{var r=n(74274);e.exports=function(e){return e===e&&!r(e)}},953:e=>{e.exports=function(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}},53910:e=>{e.exports=function(){this.__data__=[],this.size=0}},39515:(e,t,n)=>{var r=n(44402),o=Array.prototype.splice;e.exports=function(e){var t=this.__data__,n=r(t,e);return!(n<0)&&(n==t.length-1?t.pop():o.call(t,n,1),--this.size,!0)}},62267:(e,t,n)=>{var r=n(44402);e.exports=function(e){var t=this.__data__,n=r(t,e);return n<0?void 0:t[n][1]}},69008:(e,t,n)=>{var r=n(44402);e.exports=function(e){return r(this.__data__,e)>-1}},85035:(e,t,n)=>{var r=n(44402);e.exports=function(e,t){var n=this.__data__,o=r(n,e);return o<0?(++this.size,n.push([e,t])):n[o][1]=t,this}},29789:(e,t,n)=>{var r=n(63210),o=n(31864),i=n(8553);e.exports=function(){this.size=0,this.__data__={hash:new r,map:new(i||o),string:new r}}},12052:(e,t,n)=>{var r=n(38690);e.exports=function(e){var t=r(this,e).delete(e);return this.size-=t?1:0,t}},47940:(e,t,n)=>{var r=n(38690);e.exports=function(e){return r(this,e).get(e)}},36467:(e,t,n)=>{var r=n(38690);e.exports=function(e){return r(this,e).has(e)}},75188:(e,t,n)=>{var r=n(38690);e.exports=function(e,t){var n=r(this,e),o=n.size;return n.set(e,t),this.size+=n.size==o?0:1,this}},2107:e=>{e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}},87711:e=>{e.exports=function(e,t){return function(n){return null!=n&&(n[e]===t&&(void 0!==t||e in Object(n)))}}},46400:(e,t,n)=>{var r=n(32198);e.exports=function(e){var t=r(e,(function(e){return 500===n.size&&n.clear(),e})),n=t.cache;return t}},90811:(e,t,n)=>{var r=n(29519)(Object,"create");e.exports=r},92633:(e,t,n)=>{var r=n(14102)(Object.keys,Object);e.exports=r},98489:e=>{e.exports=function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}},31495:(e,t,n)=>{e=n.nmd(e);var r=n(41363),o=t&&!t.nodeType&&t,i=o&&e&&!e.nodeType&&e,a=i&&i.exports===o&&r.process,s=function(){try{var e=i&&i.require&&i.require("util").types;return e||a&&a.binding&&a.binding("util")}catch(t){}}();e.exports=s},24363:e=>{var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},14102:e=>{e.exports=function(e,t){return function(n){return e(t(n))}}},88868:(e,t,n)=>{var r=n(38280),o=Math.max;e.exports=function(e,t,n){return t=o(void 0===t?e.length-1:t,0),function(){for(var i=arguments,a=-1,s=o(i.length-t,0),l=Array(s);++a{var r=n(22374),o=n(72111);e.exports=function(e,t){return t.length<2?e:r(e,o(t,0,-1))}},95498:(e,t,n)=>{var r=n(41363),o="object"==typeof self&&self&&self.Object===Object&&self,i=r||o||Function("return this")();e.exports=i},16739:e=>{e.exports=function(e,t){if(("constructor"!==t||"function"!==typeof e[t])&&"__proto__"!=t)return e[t]}},37162:e=>{e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},44456:e=>{e.exports=function(e){return this.__data__.has(e)}},22761:e=>{e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}},60945:(e,t,n)=>{var r=n(67913),o=n(99445)(r);e.exports=o},99445:e=>{var t=Date.now;e.exports=function(e){var n=0,r=0;return function(){var o=t(),i=16-(o-r);if(r=o,i>0){if(++n>=800)return arguments[0]}else n=0;return e.apply(void 0,arguments)}}},66960:(e,t,n)=>{var r=n(31864);e.exports=function(){this.__data__=new r,this.size=0}},4265:e=>{e.exports=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}},42468:e=>{e.exports=function(e){return this.__data__.get(e)}},58866:e=>{e.exports=function(e){return this.__data__.has(e)}},92822:(e,t,n)=>{var r=n(31864),o=n(8553),i=n(99365);e.exports=function(e,t){var n=this.__data__;if(n instanceof r){var a=n.__data__;if(!o||a.length<199)return a.push([e,t]),this.size=++n.size,this;n=this.__data__=new i(a)}return n.set(e,t),this.size=n.size,this}},81821:e=>{e.exports=function(e,t,n){for(var r=n-1,o=e.length;++r{var r=n(65692),o=n(51911),i=n(59809);e.exports=function(e){return o(e)?i(e):r(e)}},47476:(e,t,n)=>{var r=n(46400),o=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,i=/\\(\\)?/g,a=r((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(o,(function(e,n,r,o){t.push(r?o.replace(i,"$1"):n||e)})),t}));e.exports=a},70239:(e,t,n)=>{var r=n(5100);e.exports=function(e){if("string"==typeof e||r(e))return e;var t=e+"";return"0"==t&&1/e==-Infinity?"-0":t}},36512:e=>{var t=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return t.call(e)}catch(n){}try{return e+""}catch(n){}}return""}},42710:e=>{var t=/\s/;e.exports=function(e){for(var n=e.length;n--&&t.test(e.charAt(n)););return n}},59809:e=>{var t="\\ud800-\\udfff",n="["+t+"]",r="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",o="\\ud83c[\\udffb-\\udfff]",i="[^"+t+"]",a="(?:\\ud83c[\\udde6-\\uddff]){2}",s="[\\ud800-\\udbff][\\udc00-\\udfff]",l="(?:"+r+"|"+o+")"+"?",c="[\\ufe0e\\ufe0f]?",u=c+l+("(?:\\u200d(?:"+[i,a,s].join("|")+")"+c+l+")*"),p="(?:"+[i+r+"?",r,a,s,n].join("|")+")",d=RegExp(o+"(?="+o+")|"+p+u,"g");e.exports=function(e){return e.match(d)||[]}},23786:e=>{var t="\\ud800-\\udfff",n="\\u2700-\\u27bf",r="a-z\\xdf-\\xf6\\xf8-\\xff",o="A-Z\\xc0-\\xd6\\xd8-\\xde",i="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",a="["+i+"]",s="\\d+",l="["+n+"]",c="["+r+"]",u="[^"+t+i+s+n+r+o+"]",p="(?:\\ud83c[\\udde6-\\uddff]){2}",d="[\\ud800-\\udbff][\\udc00-\\udfff]",b="["+o+"]",f="(?:"+c+"|"+u+")",h="(?:"+b+"|"+u+")",m="(?:['\u2019](?:d|ll|m|re|s|t|ve))?",g="(?:['\u2019](?:D|LL|M|RE|S|T|VE))?",O="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",y="[\\ufe0e\\ufe0f]?",M=y+O+("(?:\\u200d(?:"+["[^"+t+"]",p,d].join("|")+")"+y+O+")*"),z="(?:"+[l,p,d].join("|")+")"+M,A=RegExp([b+"?"+c+"+"+m+"(?="+[a,b,"$"].join("|")+")",h+"+"+g+"(?="+[a,b+f,"$"].join("|")+")",b+"?"+f+"+"+m,b+"+"+g,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",s,z].join("|"),"g");e.exports=function(e){return e.match(A)||[]}},2836:(e,t,n)=>{var r=n(34596);e.exports=function(e,t){var n;if("function"!=typeof t)throw new TypeError("Expected a function");return e=r(e),function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=void 0),n}}},74082:(e,t,n)=>{var r=n(46817);e.exports=function(e){return r(e,5)}},48923:e=>{e.exports=function(e){return function(){return e}}},68723:(e,t,n)=>{var r=n(64521),o=n(71361),i=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,a=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");e.exports=function(e){return(e=o(e))&&e.replace(i,r).replace(a,"")}},6170:e=>{e.exports=function(e,t){return e===t||e!==e&&t!==t}},43260:(e,t,n)=>{var r=n(53937);e.exports=function(e){return(null==e?0:e.length)?r(e,1):[]}},92997:(e,t,n)=>{var r=n(20993),o=n(49342);e.exports=function(e,t){return e&&r(e,o(t))}},46292:(e,t,n)=>{var r=n(22374);e.exports=function(e,t,n){var o=null==e?void 0:r(e,t);return void 0===o?n:o}},35379:(e,t,n)=>{var r=n(56232),o=n(67515),i=Object.prototype.hasOwnProperty,a=o((function(e,t,n){i.call(e,n)?e[n].push(t):r(e,n,[t])}));e.exports=a},33415:(e,t,n)=>{var r=n(57201),o=n(52735);e.exports=function(e,t){return null!=e&&o(e,t,r)}},64308:e=>{e.exports=function(e){return e}},32824:(e,t,n)=>{var r=n(89801),o=n(57126),i=Object.prototype,a=i.hasOwnProperty,s=i.propertyIsEnumerable,l=r(function(){return arguments}())?r:function(e){return o(e)&&a.call(e,"callee")&&!s.call(e,"callee")};e.exports=l},49756:e=>{var t=Array.isArray;e.exports=t},66274:(e,t,n)=>{var r=n(48776),o=n(88465);e.exports=function(e){return null!=e&&o(e.length)&&!r(e)}},95788:(e,t,n)=>{var r=n(66274),o=n(57126);e.exports=function(e){return o(e)&&r(e)}},25377:(e,t,n)=>{e=n.nmd(e);var r=n(95498),o=n(98364),i=t&&!t.nodeType&&t,a=i&&e&&!e.nodeType&&e,s=a&&a.exports===i?r.Buffer:void 0,l=(s?s.isBuffer:void 0)||o;e.exports=l},15888:(e,t,n)=>{var r=n(48247);e.exports=function(e,t){return r(e,t)}},48776:(e,t,n)=>{var r=n(41602),o=n(74274);e.exports=function(e){if(!o(e))return!1;var t=r(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},88465:e=>{e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},32432:(e,t,n)=>{var r=n(322),o=n(25098),i=n(31495),a=i&&i.isMap,s=a?o(a):r;e.exports=s},74274:e=>{e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},57126:e=>{e.exports=function(e){return null!=e&&"object"==typeof e}},67722:(e,t,n)=>{var r=n(41602),o=n(72661),i=n(57126),a=Function.prototype,s=Object.prototype,l=a.toString,c=s.hasOwnProperty,u=l.call(Object);e.exports=function(e){if(!i(e)||"[object Object]"!=r(e))return!1;var t=o(e);if(null===t)return!0;var n=c.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&l.call(n)==u}},6790:(e,t,n)=>{var r=n(65486),o=n(25098),i=n(31495),a=i&&i.isSet,s=a?o(a):r;e.exports=s},86446:(e,t,n)=>{var r=n(41602),o=n(49756),i=n(57126);e.exports=function(e){return"string"==typeof e||!o(e)&&i(e)&&"[object String]"==r(e)}},5100:(e,t,n)=>{var r=n(41602),o=n(57126);e.exports=function(e){return"symbol"==typeof e||o(e)&&"[object Symbol]"==r(e)}},29239:(e,t,n)=>{var r=n(1967),o=n(25098),i=n(31495),a=i&&i.isTypedArray,s=a?o(a):r;e.exports=s},53675:(e,t,n)=>{var r=n(30774),o=n(43746),i=n(66274);e.exports=function(e){return i(e)?r(e):o(e)}},93087:(e,t,n)=>{var r=n(30774),o=n(7467),i=n(66274);e.exports=function(e){return i(e)?r(e,!0):o(e)}},99985:e=>{e.exports=function(e){var t=null==e?0:e.length;return t?e[t-1]:void 0}},68941:(e,t,n)=>{var r=n(26306),o=n(48311),i=n(17774),a=n(49756);e.exports=function(e,t){return(a(e)?r:i)(e,o(t,3))}},69227:(e,t,n)=>{var r=n(56232),o=n(20993),i=n(48311);e.exports=function(e,t){var n={};return t=i(t,3),o(e,(function(e,o,i){r(n,o,t(e,o,i))})),n}},32198:(e,t,n)=>{var r=n(99365);function o(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=e.apply(this,r);return n.cache=i.set(o,a)||i,a};return n.cache=new(o.Cache||r),n}o.Cache=r,e.exports=o},62558:(e,t,n)=>{var r=n(26815),o=n(85337)((function(e,t,n){r(e,t,n)}));e.exports=o},88674:(e,t,n)=>{var r=n(26306),o=n(46817),i=n(27593),a=n(76729),s=n(79281),l=n(69752),c=n(36625),u=n(60699),p=c((function(e,t){var n={};if(null==e)return n;var c=!1;t=r(t,(function(t){return t=a(t,e),c||(c=t.length>1),t})),s(e,u(e),n),c&&(n=o(n,7,l));for(var p=t.length;p--;)i(n,t[p]);return n}));e.exports=p},34707:(e,t,n)=>{var r=n(2836);e.exports=function(e){return r(2,e)}},49735:(e,t,n)=>{var r=n(24174),o=n(36625)((function(e,t){return null==e?{}:r(e,t)}));e.exports=o},9679:(e,t,n)=>{var r=n(30215),o=n(87139),i=n(51057),a=n(70239);e.exports=function(e){return i(e)?r(a(e)):o(e)}},54932:(e,t,n)=>{var r=n(40881)();e.exports=r},90816:(e,t,n)=>{var r=n(73374)((function(e,t,n){return e+(n?"_":"")+t.toLowerCase()}));e.exports=r},88941:(e,t,n)=>{var r=n(53937),o=n(78770),i=n(90280),a=n(89193),s=i((function(e,t){if(null==e)return[];var n=t.length;return n>1&&a(e,t[0],t[1])?t=[]:n>2&&a(t[0],t[1],t[2])&&(t=[t[0]]),o(e,r(t,1),[])}));e.exports=s},47759:e=>{e.exports=function(){return[]}},98364:e=>{e.exports=function(){return!1}},65639:(e,t,n)=>{var r=n(72111),o=n(34596);e.exports=function(e,t,n){return e&&e.length?(t=n||void 0===t?1:o(t),r(e,0,t<0?0:t)):[]}},26:(e,t,n)=>{var r=n(25435),o=n(78595),i=n(28342),a=n(66274),s=n(86446),l=n(953),c=n(2107),u=n(22761),p=n(89167),d=n(9669),b=r?r.iterator:void 0;e.exports=function(e){if(!e)return[];if(a(e))return s(e)?p(e):o(e);if(b&&e[b])return l(e[b]());var t=i(e);return("[object Map]"==t?c:"[object Set]"==t?u:d)(e)}},91465:(e,t,n)=>{var r=n(24378),o=1/0;e.exports=function(e){return e?(e=r(e))===o||e===-1/0?17976931348623157e292*(e<0?-1:1):e===e?e:0:0===e?e:0}},34596:(e,t,n)=>{var r=n(91465);e.exports=function(e){var t=r(e),n=t%1;return t===t?n?t-n:t:0}},24378:(e,t,n)=>{var r=n(77559),o=n(74274),i=n(5100),a=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,l=/^0o[0-7]+$/i,c=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(i(e))return NaN;if(o(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=o(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=r(e);var n=s.test(e);return n||l.test(e)?c(e.slice(2),n?2:8):a.test(e)?NaN:+e}},2850:(e,t,n)=>{var r=n(79281),o=n(93087);e.exports=function(e){return r(e,o(e))}},71361:(e,t,n)=>{var r=n(64991);e.exports=function(e){return null==e?"":r(e)}},18930:(e,t,n)=>{var r=n(64991),o=n(80105),i=n(40411),a=n(89167),s=n(71361),l=n(42710);e.exports=function(e,t,n){if((e=s(e))&&(n||void 0===t))return e.slice(0,l(e)+1);if(!e||!(t=r(t)))return e;var c=a(e),u=i(c,a(t))+1;return o(c,0,u).join("")}},2962:(e,t,n)=>{var r=n(38047),o=n(26306),i=n(30215),a=n(20191),s=n(95788),l=Math.max;e.exports=function(e){if(!e||!e.length)return[];var t=0;return e=r(e,(function(e){if(s(e))return t=l(e.length,t),!0})),a(t,(function(t){return o(e,i(t))}))}},9669:(e,t,n)=>{var r=n(17935),o=n(53675);e.exports=function(e){return null==e?[]:r(e,o(e))}},75359:(e,t,n)=>{var r=n(73360),o=n(90280),i=n(95788),a=o((function(e,t){return i(e)?r(e,t):[]}));e.exports=a},65826:(e,t,n)=>{var r=n(11308),o=n(71711),i=n(71361),a=n(23786);e.exports=function(e,t,n){return e=i(e),void 0===(t=n?void 0:t)?o(e)?a(e):r(e):e.match(t)||[]}},10275:(e,t,n)=>{var r=n(90280)(n(2962));e.exports=r},90950:e=>{"use strict";function t(e){return"number"===typeof e||(!!/^0x[0-9a-f]+$/i.test(e)||/^[-+]?(?:\d+(?:\.\d*)?|\.\d+)(e[-+]?\d+)?$/.test(e))}function n(e,t){return"constructor"===t&&"function"===typeof e[t]||"__proto__"===t}e.exports=function(e,r){r||(r={});var o={bools:{},strings:{},unknownFn:null};"function"===typeof r.unknown&&(o.unknownFn=r.unknown),"boolean"===typeof r.boolean&&r.boolean?o.allBools=!0:[].concat(r.boolean).filter(Boolean).forEach((function(e){o.bools[e]=!0}));var i={};function a(e){return i[e].some((function(e){return o.bools[e]}))}Object.keys(r.alias||{}).forEach((function(e){i[e]=[].concat(r.alias[e]),i[e].forEach((function(t){i[t]=[e].concat(i[e].filter((function(e){return t!==e})))}))})),[].concat(r.string).filter(Boolean).forEach((function(e){o.strings[e]=!0,i[e]&&[].concat(i[e]).forEach((function(e){o.strings[e]=!0}))}));var s=r.default||{},l={_:[]};function c(e,t,r){for(var i=e,a=0;a>>0;for(t=0;t0)for(n=0;n=0?n?"+":"":"-")+Math.pow(10,Math.max(0,o)).toString().substr(1)+r}var W=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,P=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,L={},j={};function D(e,t,n,r){var o=r;"string"===typeof r&&(o=function(){return this[r]()}),e&&(j[e]=o),t&&(j[t[0]]=function(){return I(o.apply(this,arguments),t[1],t[2])}),n&&(j[n]=function(){return this.localeData().ordinal(o.apply(this,arguments),e)})}function B(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function F(e){var t,n,r=e.match(W);for(t=0,n=r.length;t=0&&P.test(e);)e=e.replace(P,r),P.lastIndex=0,n-=1;return e}var H={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};function X(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(W).map((function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e})).join(""),this._longDateFormat[e])}var G="Invalid date";function $(){return this._invalidDate}var K="%d",Y=/\d{1,2}/;function Z(e){return this._ordinal.replace("%d",e)}var J={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function Q(e,t,n,r){var o=this._relativeTime[n];return q(o)?o(e,t,n,r):o.replace(/%d/i,e)}function ee(e,t){var n=this._relativeTime[e>0?"future":"past"];return q(n)?n(t):n.replace(/%s/i,t)}var te={D:"date",dates:"date",date:"date",d:"day",days:"day",day:"day",e:"weekday",weekdays:"weekday",weekday:"weekday",E:"isoWeekday",isoweekdays:"isoWeekday",isoweekday:"isoWeekday",DDD:"dayOfYear",dayofyears:"dayOfYear",dayofyear:"dayOfYear",h:"hour",hours:"hour",hour:"hour",ms:"millisecond",milliseconds:"millisecond",millisecond:"millisecond",m:"minute",minutes:"minute",minute:"minute",M:"month",months:"month",month:"month",Q:"quarter",quarters:"quarter",quarter:"quarter",s:"second",seconds:"second",second:"second",gg:"weekYear",weekyears:"weekYear",weekyear:"weekYear",GG:"isoWeekYear",isoweekyears:"isoWeekYear",isoweekyear:"isoWeekYear",w:"week",weeks:"week",week:"week",W:"isoWeek",isoweeks:"isoWeek",isoweek:"isoWeek",y:"year",years:"year",year:"year"};function ne(e){return"string"===typeof e?te[e]||te[e.toLowerCase()]:void 0}function re(e){var t,n,r={};for(n in e)s(e,n)&&(t=ne(n))&&(r[t]=e[n]);return r}var oe={date:9,day:11,weekday:11,isoWeekday:11,dayOfYear:4,hour:13,millisecond:16,minute:14,month:8,quarter:7,second:15,weekYear:1,isoWeekYear:1,week:5,isoWeek:5,year:1};function ie(e){var t,n=[];for(t in e)s(e,t)&&n.push({unit:t,priority:oe[t]});return n.sort((function(e,t){return e.priority-t.priority})),n}var ae,se=/\d/,le=/\d\d/,ce=/\d{3}/,ue=/\d{4}/,pe=/[+-]?\d{6}/,de=/\d\d?/,be=/\d\d\d\d?/,fe=/\d\d\d\d\d\d?/,he=/\d{1,3}/,me=/\d{1,4}/,ge=/[+-]?\d{1,6}/,Oe=/\d+/,ye=/[+-]?\d+/,Me=/Z|[+-]\d\d:?\d\d/gi,ze=/Z|[+-]\d\d(?::?\d\d)?/gi,Ae=/[+-]?\d+(\.\d{1,3})?/,ve=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,we=/^[1-9]\d?/,Se=/^([1-9]\d|\d)/;function xe(e,t,n){ae[e]=q(t)?t:function(e,r){return e&&n?n:t}}function Ee(e,t){return s(ae,e)?ae[e](t._strict,t._locale):new RegExp(ke(e))}function ke(e){return qe(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(e,t,n,r,o){return t||n||r||o})))}function qe(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function Te(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function _e(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=Te(t)),n}ae={};var Re={};function Ce(e,t){var n,r,o=t;for("string"===typeof e&&(e=[e]),u(t)&&(o=function(e,n){n[t]=_e(e)}),r=e.length,n=0;n68?1900:2e3)};var Ge,$e=Ye("FullYear",!0);function Ke(){return We(this.year())}function Ye(e,t){return function(n){return null!=n?(Je(this,e,n),r.updateOffset(this,t),this):Ze(this,e)}}function Ze(e,t){if(!e.isValid())return NaN;var n=e._d,r=e._isUTC;switch(t){case"Milliseconds":return r?n.getUTCMilliseconds():n.getMilliseconds();case"Seconds":return r?n.getUTCSeconds():n.getSeconds();case"Minutes":return r?n.getUTCMinutes():n.getMinutes();case"Hours":return r?n.getUTCHours():n.getHours();case"Date":return r?n.getUTCDate():n.getDate();case"Day":return r?n.getUTCDay():n.getDay();case"Month":return r?n.getUTCMonth():n.getMonth();case"FullYear":return r?n.getUTCFullYear():n.getFullYear();default:return NaN}}function Je(e,t,n){var r,o,i,a,s;if(e.isValid()&&!isNaN(n)){switch(r=e._d,o=e._isUTC,t){case"Milliseconds":return void(o?r.setUTCMilliseconds(n):r.setMilliseconds(n));case"Seconds":return void(o?r.setUTCSeconds(n):r.setSeconds(n));case"Minutes":return void(o?r.setUTCMinutes(n):r.setMinutes(n));case"Hours":return void(o?r.setUTCHours(n):r.setHours(n));case"Date":return void(o?r.setUTCDate(n):r.setDate(n));case"FullYear":break;default:return}i=n,a=e.month(),s=29!==(s=e.date())||1!==a||We(i)?s:28,o?r.setUTCFullYear(i,a,s):r.setFullYear(i,a,s)}}function Qe(e){return q(this[e=ne(e)])?this[e]():this}function et(e,t){if("object"===typeof e){var n,r=ie(e=re(e)),o=r.length;for(n=0;n=0?(s=new Date(e+400,t,n,r,o,i,a),isFinite(s.getFullYear())&&s.setFullYear(e)):s=new Date(e,t,n,r,o,i,a),s}function yt(e){var t,n;return e<100&&e>=0?((n=Array.prototype.slice.call(arguments))[0]=e+400,t=new Date(Date.UTC.apply(null,n)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function Mt(e,t,n){var r=7+t-n;return-(7+yt(e,0,r).getUTCDay()-t)%7+r-1}function zt(e,t,n,r,o){var i,a,s=1+7*(t-1)+(7+n-r)%7+Mt(e,r,o);return s<=0?a=Xe(i=e-1)+s:s>Xe(e)?(i=e+1,a=s-Xe(e)):(i=e,a=s),{year:i,dayOfYear:a}}function At(e,t,n){var r,o,i=Mt(e.year(),t,n),a=Math.floor((e.dayOfYear()-i-1)/7)+1;return a<1?r=a+vt(o=e.year()-1,t,n):a>vt(e.year(),t,n)?(r=a-vt(e.year(),t,n),o=e.year()+1):(o=e.year(),r=a),{week:r,year:o}}function vt(e,t,n){var r=Mt(e,t,n),o=Mt(e+1,t,n);return(Xe(e)-r+o)/7}function wt(e){return At(e,this._week.dow,this._week.doy).week}D("w",["ww",2],"wo","week"),D("W",["WW",2],"Wo","isoWeek"),xe("w",de,we),xe("ww",de,le),xe("W",de,we),xe("WW",de,le),Ne(["w","ww","W","WW"],(function(e,t,n,r){t[r.substr(0,1)]=_e(e)}));var St={dow:0,doy:6};function xt(){return this._week.dow}function Et(){return this._week.doy}function kt(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")}function qt(e){var t=At(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")}function Tt(e,t){return"string"!==typeof e?e:isNaN(e)?"number"===typeof(e=t.weekdaysParse(e))?e:null:parseInt(e,10)}function _t(e,t){return"string"===typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function Rt(e,t){return e.slice(t,7).concat(e.slice(0,t))}D("d",0,"do","day"),D("dd",0,0,(function(e){return this.localeData().weekdaysMin(this,e)})),D("ddd",0,0,(function(e){return this.localeData().weekdaysShort(this,e)})),D("dddd",0,0,(function(e){return this.localeData().weekdays(this,e)})),D("e",0,0,"weekday"),D("E",0,0,"isoWeekday"),xe("d",de),xe("e",de),xe("E",de),xe("dd",(function(e,t){return t.weekdaysMinRegex(e)})),xe("ddd",(function(e,t){return t.weekdaysShortRegex(e)})),xe("dddd",(function(e,t){return t.weekdaysRegex(e)})),Ne(["dd","ddd","dddd"],(function(e,t,n,r){var o=n._locale.weekdaysParse(e,r,n._strict);null!=o?t.d=o:m(n).invalidWeekday=e})),Ne(["d","e","E"],(function(e,t,n,r){t[r]=_e(e)}));var Ct="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Nt="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),It="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Wt=ve,Pt=ve,Lt=ve;function jt(e,t){var n=i(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"];return!0===e?Rt(n,this._week.dow):e?n[e.day()]:n}function Dt(e){return!0===e?Rt(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function Bt(e){return!0===e?Rt(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function Ft(e,t,n){var r,o,i,a=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)i=f([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(i,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(i,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(i,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(o=Ge.call(this._weekdaysParse,a))?o:null:"ddd"===t?-1!==(o=Ge.call(this._shortWeekdaysParse,a))?o:null:-1!==(o=Ge.call(this._minWeekdaysParse,a))?o:null:"dddd"===t?-1!==(o=Ge.call(this._weekdaysParse,a))||-1!==(o=Ge.call(this._shortWeekdaysParse,a))||-1!==(o=Ge.call(this._minWeekdaysParse,a))?o:null:"ddd"===t?-1!==(o=Ge.call(this._shortWeekdaysParse,a))||-1!==(o=Ge.call(this._weekdaysParse,a))||-1!==(o=Ge.call(this._minWeekdaysParse,a))?o:null:-1!==(o=Ge.call(this._minWeekdaysParse,a))||-1!==(o=Ge.call(this._weekdaysParse,a))||-1!==(o=Ge.call(this._shortWeekdaysParse,a))?o:null}function Vt(e,t,n){var r,o,i;if(this._weekdaysParseExact)return Ft.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(o=f([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(o,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(o,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(o,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[r]||(i="^"+this.weekdays(o,"")+"|^"+this.weekdaysShort(o,"")+"|^"+this.weekdaysMin(o,""),this._weekdaysParse[r]=new RegExp(i.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[r].test(e))return r;if(n&&"ddd"===t&&this._shortWeekdaysParse[r].test(e))return r;if(n&&"dd"===t&&this._minWeekdaysParse[r].test(e))return r;if(!n&&this._weekdaysParse[r].test(e))return r}}function Ut(e){if(!this.isValid())return null!=e?this:NaN;var t=Ze(this,"Day");return null!=e?(e=Tt(e,this.localeData()),this.add(e-t,"d")):t}function Ht(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")}function Xt(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var t=_t(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7}function Gt(e){return this._weekdaysParseExact?(s(this,"_weekdaysRegex")||Yt.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(s(this,"_weekdaysRegex")||(this._weekdaysRegex=Wt),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function $t(e){return this._weekdaysParseExact?(s(this,"_weekdaysRegex")||Yt.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(s(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Pt),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Kt(e){return this._weekdaysParseExact?(s(this,"_weekdaysRegex")||Yt.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(s(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Lt),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Yt(){function e(e,t){return t.length-e.length}var t,n,r,o,i,a=[],s=[],l=[],c=[];for(t=0;t<7;t++)n=f([2e3,1]).day(t),r=qe(this.weekdaysMin(n,"")),o=qe(this.weekdaysShort(n,"")),i=qe(this.weekdays(n,"")),a.push(r),s.push(o),l.push(i),c.push(r),c.push(o),c.push(i);a.sort(e),s.sort(e),l.sort(e),c.sort(e),this._weekdaysRegex=new RegExp("^("+c.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+a.join("|")+")","i")}function Zt(){return this.hours()%12||12}function Jt(){return this.hours()||24}function Qt(e,t){D(e,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)}))}function en(e,t){return t._meridiemParse}function tn(e){return"p"===(e+"").toLowerCase().charAt(0)}D("H",["HH",2],0,"hour"),D("h",["hh",2],0,Zt),D("k",["kk",2],0,Jt),D("hmm",0,0,(function(){return""+Zt.apply(this)+I(this.minutes(),2)})),D("hmmss",0,0,(function(){return""+Zt.apply(this)+I(this.minutes(),2)+I(this.seconds(),2)})),D("Hmm",0,0,(function(){return""+this.hours()+I(this.minutes(),2)})),D("Hmmss",0,0,(function(){return""+this.hours()+I(this.minutes(),2)+I(this.seconds(),2)})),Qt("a",!0),Qt("A",!1),xe("a",en),xe("A",en),xe("H",de,Se),xe("h",de,we),xe("k",de,we),xe("HH",de,le),xe("hh",de,le),xe("kk",de,le),xe("hmm",be),xe("hmmss",fe),xe("Hmm",be),xe("Hmmss",fe),Ce(["H","HH"],De),Ce(["k","kk"],(function(e,t,n){var r=_e(e);t[De]=24===r?0:r})),Ce(["a","A"],(function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e})),Ce(["h","hh"],(function(e,t,n){t[De]=_e(e),m(n).bigHour=!0})),Ce("hmm",(function(e,t,n){var r=e.length-2;t[De]=_e(e.substr(0,r)),t[Be]=_e(e.substr(r)),m(n).bigHour=!0})),Ce("hmmss",(function(e,t,n){var r=e.length-4,o=e.length-2;t[De]=_e(e.substr(0,r)),t[Be]=_e(e.substr(r,2)),t[Fe]=_e(e.substr(o)),m(n).bigHour=!0})),Ce("Hmm",(function(e,t,n){var r=e.length-2;t[De]=_e(e.substr(0,r)),t[Be]=_e(e.substr(r))})),Ce("Hmmss",(function(e,t,n){var r=e.length-4,o=e.length-2;t[De]=_e(e.substr(0,r)),t[Be]=_e(e.substr(r,2)),t[Fe]=_e(e.substr(o))}));var nn=/[ap]\.?m?\.?/i,rn=Ye("Hours",!0);function on(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"}var an,sn={calendar:C,longDateFormat:H,invalidDate:G,ordinal:K,dayOfMonthOrdinalParse:Y,relativeTime:J,months:rt,monthsShort:ot,week:St,weekdays:Ct,weekdaysMin:It,weekdaysShort:Nt,meridiemParse:nn},ln={},cn={};function un(e,t){var n,r=Math.min(e.length,t.length);for(n=0;n0;){if(r=fn(o.slice(0,t).join("-")))return r;if(n&&n.length>=t&&un(o,n)>=t-1)break;t--}i++}return an}function bn(e){return!(!e||!e.match("^[^/\\\\]*$"))}function fn(t){var n=null;if(void 0===ln[t]&&e&&e.exports&&bn(t))try{n=an._abbr,Object(function(){var e=new Error("Cannot find module 'undefined'");throw e.code="MODULE_NOT_FOUND",e}()),hn(n)}catch(r){ln[t]=null}return ln[t]}function hn(e,t){var n;return e&&((n=c(t)?On(e):mn(e,t))?an=n:"undefined"!==typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),an._abbr}function mn(e,t){if(null!==t){var n,r=sn;if(t.abbr=e,null!=ln[e])k("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),r=ln[e]._config;else if(null!=t.parentLocale)if(null!=ln[t.parentLocale])r=ln[t.parentLocale]._config;else{if(null==(n=fn(t.parentLocale)))return cn[t.parentLocale]||(cn[t.parentLocale]=[]),cn[t.parentLocale].push({name:e,config:t}),null;r=n._config}return ln[e]=new R(_(r,t)),cn[e]&&cn[e].forEach((function(e){mn(e.name,e.config)})),hn(e),ln[e]}return delete ln[e],null}function gn(e,t){if(null!=t){var n,r,o=sn;null!=ln[e]&&null!=ln[e].parentLocale?ln[e].set(_(ln[e]._config,t)):(null!=(r=fn(e))&&(o=r._config),t=_(o,t),null==r&&(t.abbr=e),(n=new R(t)).parentLocale=ln[e],ln[e]=n),hn(e)}else null!=ln[e]&&(null!=ln[e].parentLocale?(ln[e]=ln[e].parentLocale,e===hn()&&hn(e)):null!=ln[e]&&delete ln[e]);return ln[e]}function On(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return an;if(!i(e)){if(t=fn(e))return t;e=[e]}return dn(e)}function yn(){return x(ln)}function Mn(e){var t,n=e._a;return n&&-2===m(e).overflow&&(t=n[Le]<0||n[Le]>11?Le:n[je]<1||n[je]>nt(n[Pe],n[Le])?je:n[De]<0||n[De]>24||24===n[De]&&(0!==n[Be]||0!==n[Fe]||0!==n[Ve])?De:n[Be]<0||n[Be]>59?Be:n[Fe]<0||n[Fe]>59?Fe:n[Ve]<0||n[Ve]>999?Ve:-1,m(e)._overflowDayOfYear&&(tje)&&(t=je),m(e)._overflowWeeks&&-1===t&&(t=Ue),m(e)._overflowWeekday&&-1===t&&(t=He),m(e).overflow=t),e}var zn=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,An=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,vn=/Z|[+-]\d\d(?::?\d\d)?/,wn=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],Sn=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],xn=/^\/?Date\((-?\d+)/i,En=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,kn={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function qn(e){var t,n,r,o,i,a,s=e._i,l=zn.exec(s)||An.exec(s),c=wn.length,u=Sn.length;if(l){for(m(e).iso=!0,t=0,n=c;tXe(i)||0===e._dayOfYear)&&(m(e)._overflowDayOfYear=!0),n=yt(i,0,e._dayOfYear),e._a[Le]=n.getUTCMonth(),e._a[je]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=a[t]=r[t];for(;t<7;t++)e._a[t]=a[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[De]&&0===e._a[Be]&&0===e._a[Fe]&&0===e._a[Ve]&&(e._nextDay=!0,e._a[De]=0),e._d=(e._useUTC?yt:Ot).apply(null,a),o=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[De]=24),e._w&&"undefined"!==typeof e._w.d&&e._w.d!==o&&(m(e).weekdayMismatch=!0)}}function Dn(e){var t,n,r,o,i,a,s,l,c;null!=(t=e._w).GG||null!=t.W||null!=t.E?(i=1,a=4,n=Pn(t.GG,e._a[Pe],At(Kn(),1,4).year),r=Pn(t.W,1),((o=Pn(t.E,1))<1||o>7)&&(l=!0)):(i=e._locale._week.dow,a=e._locale._week.doy,c=At(Kn(),i,a),n=Pn(t.gg,e._a[Pe],c.year),r=Pn(t.w,c.week),null!=t.d?((o=t.d)<0||o>6)&&(l=!0):null!=t.e?(o=t.e+i,(t.e<0||t.e>6)&&(l=!0)):o=i),r<1||r>vt(n,i,a)?m(e)._overflowWeeks=!0:null!=l?m(e)._overflowWeekday=!0:(s=zt(n,r,o,i,a),e._a[Pe]=s.year,e._dayOfYear=s.dayOfYear)}function Bn(e){if(e._f!==r.ISO_8601)if(e._f!==r.RFC_2822){e._a=[],m(e).empty=!0;var t,n,o,i,a,s,l,c=""+e._i,u=c.length,p=0;for(l=(o=U(e._f,e._locale).match(W)||[]).length,t=0;t0&&m(e).unusedInput.push(a),c=c.slice(c.indexOf(n)+n.length),p+=n.length),j[i]?(n?m(e).empty=!1:m(e).unusedTokens.push(i),Ie(i,n,e)):e._strict&&!n&&m(e).unusedTokens.push(i);m(e).charsLeftOver=u-p,c.length>0&&m(e).unusedInput.push(c),e._a[De]<=12&&!0===m(e).bigHour&&e._a[De]>0&&(m(e).bigHour=void 0),m(e).parsedDateParts=e._a.slice(0),m(e).meridiem=e._meridiem,e._a[De]=Fn(e._locale,e._a[De],e._meridiem),null!==(s=m(e).era)&&(e._a[Pe]=e._locale.erasConvertYear(s,e._a[Pe])),jn(e),Mn(e)}else In(e);else qn(e)}function Fn(e,t,n){var r;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?((r=e.isPM(n))&&t<12&&(t+=12),r||12!==t||(t=0),t):t}function Vn(e){var t,n,r,o,i,a,s=!1,l=e._f.length;if(0===l)return m(e).invalidFormat=!0,void(e._d=new Date(NaN));for(o=0;othis?this:e:O()}));function Jn(e,t){var n,r;if(1===t.length&&i(t[0])&&(t=t[0]),!t.length)return Kn();for(n=t[0],r=1;rthis.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function Ar(){if(!c(this._isDSTShifted))return this._isDSTShifted;var e,t={};return z(t,this),(t=Xn(t))._a?(e=t._isUTC?f(t._a):Kn(t._a),this._isDSTShifted=this.isValid()&&cr(t._a,e.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function vr(){return!!this.isValid()&&!this._isUTC}function wr(){return!!this.isValid()&&this._isUTC}function Sr(){return!!this.isValid()&&this._isUTC&&0===this._offset}r.updateOffset=function(){};var xr=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Er=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function kr(e,t){var n,r,o,i=e,a=null;return sr(e)?i={ms:e._milliseconds,d:e._days,M:e._months}:u(e)||!isNaN(+e)?(i={},t?i[t]=+e:i.milliseconds=+e):(a=xr.exec(e))?(n="-"===a[1]?-1:1,i={y:0,d:_e(a[je])*n,h:_e(a[De])*n,m:_e(a[Be])*n,s:_e(a[Fe])*n,ms:_e(lr(1e3*a[Ve]))*n}):(a=Er.exec(e))?(n="-"===a[1]?-1:1,i={y:qr(a[2],n),M:qr(a[3],n),w:qr(a[4],n),d:qr(a[5],n),h:qr(a[6],n),m:qr(a[7],n),s:qr(a[8],n)}):null==i?i={}:"object"===typeof i&&("from"in i||"to"in i)&&(o=_r(Kn(i.from),Kn(i.to)),(i={}).ms=o.milliseconds,i.M=o.months),r=new ar(i),sr(e)&&s(e,"_locale")&&(r._locale=e._locale),sr(e)&&s(e,"_isValid")&&(r._isValid=e._isValid),r}function qr(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function Tr(e,t){var n={};return n.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function _r(e,t){var n;return e.isValid()&&t.isValid()?(t=br(t,e),e.isBefore(t)?n=Tr(e,t):((n=Tr(t,e)).milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function Rr(e,t){return function(n,r){var o;return null===r||isNaN(+r)||(k(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),o=n,n=r,r=o),Cr(this,kr(n,r),e),this}}function Cr(e,t,n,o){var i=t._milliseconds,a=lr(t._days),s=lr(t._months);e.isValid()&&(o=null==o||o,s&&dt(e,Ze(e,"Month")+s*n),a&&Je(e,"Date",Ze(e,"Date")+a*n),i&&e._d.setTime(e._d.valueOf()+i*n),o&&r.updateOffset(e,a||s))}kr.fn=ar.prototype,kr.invalid=ir;var Nr=Rr(1,"add"),Ir=Rr(-1,"subtract");function Wr(e){return"string"===typeof e||e instanceof String}function Pr(e){return v(e)||p(e)||Wr(e)||u(e)||jr(e)||Lr(e)||null===e||void 0===e}function Lr(e){var t,n,r=a(e)&&!l(e),o=!1,i=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],c=i.length;for(t=0;tn.valueOf():n.valueOf()9999?V(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):q(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",V(n,"Z")):V(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function eo(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e,t,n,r,o="moment",i="";return this.isLocal()||(o=0===this.utcOffset()?"moment.utc":"moment.parseZone",i="Z"),e="["+o+'("]',t=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",n="-MM-DD[T]HH:mm:ss.SSS",r=i+'[")]',this.format(e+t+n+r)}function to(e){e||(e=this.isUtc()?r.defaultFormatUtc:r.defaultFormat);var t=V(this,e);return this.localeData().postformat(t)}function no(e,t){return this.isValid()&&(v(e)&&e.isValid()||Kn(e).isValid())?kr({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function ro(e){return this.from(Kn(),e)}function oo(e,t){return this.isValid()&&(v(e)&&e.isValid()||Kn(e).isValid())?kr({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function io(e){return this.to(Kn(),e)}function ao(e){var t;return void 0===e?this._locale._abbr:(null!=(t=On(e))&&(this._locale=t),this)}r.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",r.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var so=S("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",(function(e){return void 0===e?this.localeData():this.locale(e)}));function lo(){return this._locale}var co=1e3,uo=60*co,po=60*uo,bo=3506328*po;function fo(e,t){return(e%t+t)%t}function ho(e,t,n){return e<100&&e>=0?new Date(e+400,t,n)-bo:new Date(e,t,n).valueOf()}function mo(e,t,n){return e<100&&e>=0?Date.UTC(e+400,t,n)-bo:Date.UTC(e,t,n)}function go(e){var t,n;if(void 0===(e=ne(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?mo:ho,e){case"year":t=n(this.year(),0,1);break;case"quarter":t=n(this.year(),this.month()-this.month()%3,1);break;case"month":t=n(this.year(),this.month(),1);break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=n(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=fo(t+(this._isUTC?0:this.utcOffset()*uo),po);break;case"minute":t=this._d.valueOf(),t-=fo(t,uo);break;case"second":t=this._d.valueOf(),t-=fo(t,co)}return this._d.setTime(t),r.updateOffset(this,!0),this}function Oo(e){var t,n;if(void 0===(e=ne(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?mo:ho,e){case"year":t=n(this.year()+1,0,1)-1;break;case"quarter":t=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=n(this.year(),this.month()+1,1)-1;break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=po-fo(t+(this._isUTC?0:this.utcOffset()*uo),po)-1;break;case"minute":t=this._d.valueOf(),t+=uo-fo(t,uo)-1;break;case"second":t=this._d.valueOf(),t+=co-fo(t,co)-1}return this._d.setTime(t),r.updateOffset(this,!0),this}function yo(){return this._d.valueOf()-6e4*(this._offset||0)}function Mo(){return Math.floor(this.valueOf()/1e3)}function zo(){return new Date(this.valueOf())}function Ao(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function vo(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}}function wo(){return this.isValid()?this.toISOString():null}function So(){return g(this)}function xo(){return b({},m(this))}function Eo(){return m(this).overflow}function ko(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}function qo(e,t){var n,o,i,a=this._eras||On("en")._eras;for(n=0,o=a.length;n=0)return l[r]}function _o(e,t){var n=e.since<=e.until?1:-1;return void 0===t?r(e.since).year():r(e.since).year()+(t-e.offset)*n}function Ro(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e(i=vt(e,r,o))&&(t=i),Jo.call(this,e,t,n,r,o))}function Jo(e,t,n,r,o){var i=zt(e,t,n,r,o),a=yt(i.year,0,i.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}function Qo(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)}D("N",0,0,"eraAbbr"),D("NN",0,0,"eraAbbr"),D("NNN",0,0,"eraAbbr"),D("NNNN",0,0,"eraName"),D("NNNNN",0,0,"eraNarrow"),D("y",["y",1],"yo","eraYear"),D("y",["yy",2],0,"eraYear"),D("y",["yyy",3],0,"eraYear"),D("y",["yyyy",4],0,"eraYear"),xe("N",jo),xe("NN",jo),xe("NNN",jo),xe("NNNN",Do),xe("NNNNN",Bo),Ce(["N","NN","NNN","NNNN","NNNNN"],(function(e,t,n,r){var o=n._locale.erasParse(e,r,n._strict);o?m(n).era=o:m(n).invalidEra=e})),xe("y",Oe),xe("yy",Oe),xe("yyy",Oe),xe("yyyy",Oe),xe("yo",Fo),Ce(["y","yy","yyy","yyyy"],Pe),Ce(["yo"],(function(e,t,n,r){var o;n._locale._eraYearOrdinalRegex&&(o=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[Pe]=n._locale.eraYearOrdinalParse(e,o):t[Pe]=parseInt(e,10)})),D(0,["gg",2],0,(function(){return this.weekYear()%100})),D(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),Uo("gggg","weekYear"),Uo("ggggg","weekYear"),Uo("GGGG","isoWeekYear"),Uo("GGGGG","isoWeekYear"),xe("G",ye),xe("g",ye),xe("GG",de,le),xe("gg",de,le),xe("GGGG",me,ue),xe("gggg",me,ue),xe("GGGGG",ge,pe),xe("ggggg",ge,pe),Ne(["gggg","ggggg","GGGG","GGGGG"],(function(e,t,n,r){t[r.substr(0,2)]=_e(e)})),Ne(["gg","GG"],(function(e,t,n,o){t[o]=r.parseTwoDigitYear(e)})),D("Q",0,"Qo","quarter"),xe("Q",se),Ce("Q",(function(e,t){t[Le]=3*(_e(e)-1)})),D("D",["DD",2],"Do","date"),xe("D",de,we),xe("DD",de,le),xe("Do",(function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient})),Ce(["D","DD"],je),Ce("Do",(function(e,t){t[je]=_e(e.match(de)[0])}));var ei=Ye("Date",!0);function ti(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")}D("DDD",["DDDD",3],"DDDo","dayOfYear"),xe("DDD",he),xe("DDDD",ce),Ce(["DDD","DDDD"],(function(e,t,n){n._dayOfYear=_e(e)})),D("m",["mm",2],0,"minute"),xe("m",de,Se),xe("mm",de,le),Ce(["m","mm"],Be);var ni=Ye("Minutes",!1);D("s",["ss",2],0,"second"),xe("s",de,Se),xe("ss",de,le),Ce(["s","ss"],Fe);var ri,oi,ii=Ye("Seconds",!1);for(D("S",0,0,(function(){return~~(this.millisecond()/100)})),D(0,["SS",2],0,(function(){return~~(this.millisecond()/10)})),D(0,["SSS",3],0,"millisecond"),D(0,["SSSS",4],0,(function(){return 10*this.millisecond()})),D(0,["SSSSS",5],0,(function(){return 100*this.millisecond()})),D(0,["SSSSSS",6],0,(function(){return 1e3*this.millisecond()})),D(0,["SSSSSSS",7],0,(function(){return 1e4*this.millisecond()})),D(0,["SSSSSSSS",8],0,(function(){return 1e5*this.millisecond()})),D(0,["SSSSSSSSS",9],0,(function(){return 1e6*this.millisecond()})),xe("S",he,se),xe("SS",he,le),xe("SSS",he,ce),ri="SSSS";ri.length<=9;ri+="S")xe(ri,Oe);function ai(e,t){t[Ve]=_e(1e3*("0."+e))}for(ri="S";ri.length<=9;ri+="S")Ce(ri,ai);function si(){return this._isUTC?"UTC":""}function li(){return this._isUTC?"Coordinated Universal Time":""}oi=Ye("Milliseconds",!1),D("z",0,0,"zoneAbbr"),D("zz",0,0,"zoneName");var ci=A.prototype;function ui(e){return Kn(1e3*e)}function pi(){return Kn.apply(null,arguments).parseZone()}function di(e){return e}ci.add=Nr,ci.calendar=Fr,ci.clone=Vr,ci.diff=Yr,ci.endOf=Oo,ci.format=to,ci.from=no,ci.fromNow=ro,ci.to=oo,ci.toNow=io,ci.get=Qe,ci.invalidAt=Eo,ci.isAfter=Ur,ci.isBefore=Hr,ci.isBetween=Xr,ci.isSame=Gr,ci.isSameOrAfter=$r,ci.isSameOrBefore=Kr,ci.isValid=So,ci.lang=so,ci.locale=ao,ci.localeData=lo,ci.max=Zn,ci.min=Yn,ci.parsingFlags=xo,ci.set=et,ci.startOf=go,ci.subtract=Ir,ci.toArray=Ao,ci.toObject=vo,ci.toDate=zo,ci.toISOString=Qr,ci.inspect=eo,"undefined"!==typeof Symbol&&null!=Symbol.for&&(ci[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),ci.toJSON=wo,ci.toString=Jr,ci.unix=Mo,ci.valueOf=yo,ci.creationData=ko,ci.eraName=Ro,ci.eraNarrow=Co,ci.eraAbbr=No,ci.eraYear=Io,ci.year=$e,ci.isLeapYear=Ke,ci.weekYear=Ho,ci.isoWeekYear=Xo,ci.quarter=ci.quarters=Qo,ci.month=bt,ci.daysInMonth=ft,ci.week=ci.weeks=kt,ci.isoWeek=ci.isoWeeks=qt,ci.weeksInYear=Ko,ci.weeksInWeekYear=Yo,ci.isoWeeksInYear=Go,ci.isoWeeksInISOWeekYear=$o,ci.date=ei,ci.day=ci.days=Ut,ci.weekday=Ht,ci.isoWeekday=Xt,ci.dayOfYear=ti,ci.hour=ci.hours=rn,ci.minute=ci.minutes=ni,ci.second=ci.seconds=ii,ci.millisecond=ci.milliseconds=oi,ci.utcOffset=hr,ci.utc=gr,ci.local=Or,ci.parseZone=yr,ci.hasAlignedHourOffset=Mr,ci.isDST=zr,ci.isLocal=vr,ci.isUtcOffset=wr,ci.isUtc=Sr,ci.isUTC=Sr,ci.zoneAbbr=si,ci.zoneName=li,ci.dates=S("dates accessor is deprecated. Use date instead.",ei),ci.months=S("months accessor is deprecated. Use month instead",bt),ci.years=S("years accessor is deprecated. Use year instead",$e),ci.zone=S("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",mr),ci.isDSTShifted=S("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",Ar);var bi=R.prototype;function fi(e,t,n,r){var o=On(),i=f().set(r,t);return o[n](i,e)}function hi(e,t,n){if(u(e)&&(t=e,e=void 0),e=e||"",null!=t)return fi(e,t,n,"month");var r,o=[];for(r=0;r<12;r++)o[r]=fi(e,r,n,"month");return o}function mi(e,t,n,r){"boolean"===typeof e?(u(t)&&(n=t,t=void 0),t=t||""):(n=t=e,e=!1,u(t)&&(n=t,t=void 0),t=t||"");var o,i=On(),a=e?i._week.dow:0,s=[];if(null!=n)return fi(t,(n+a)%7,r,"day");for(o=0;o<7;o++)s[o]=fi(t,(o+a)%7,r,"day");return s}function gi(e,t){return hi(e,t,"months")}function Oi(e,t){return hi(e,t,"monthsShort")}function yi(e,t,n){return mi(e,t,n,"weekdays")}function Mi(e,t,n){return mi(e,t,n,"weekdaysShort")}function zi(e,t,n){return mi(e,t,n,"weekdaysMin")}bi.calendar=N,bi.longDateFormat=X,bi.invalidDate=$,bi.ordinal=Z,bi.preparse=di,bi.postformat=di,bi.relativeTime=Q,bi.pastFuture=ee,bi.set=T,bi.eras=qo,bi.erasParse=To,bi.erasConvertYear=_o,bi.erasAbbrRegex=Po,bi.erasNameRegex=Wo,bi.erasNarrowRegex=Lo,bi.months=lt,bi.monthsShort=ct,bi.monthsParse=pt,bi.monthsRegex=mt,bi.monthsShortRegex=ht,bi.week=wt,bi.firstDayOfYear=Et,bi.firstDayOfWeek=xt,bi.weekdays=jt,bi.weekdaysMin=Bt,bi.weekdaysShort=Dt,bi.weekdaysParse=Vt,bi.weekdaysRegex=Gt,bi.weekdaysShortRegex=$t,bi.weekdaysMinRegex=Kt,bi.isPM=tn,bi.meridiem=on,hn("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===_e(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),r.lang=S("moment.lang is deprecated. Use moment.locale instead.",hn),r.langData=S("moment.langData is deprecated. Use moment.localeData instead.",On);var Ai=Math.abs;function vi(){var e=this._data;return this._milliseconds=Ai(this._milliseconds),this._days=Ai(this._days),this._months=Ai(this._months),e.milliseconds=Ai(e.milliseconds),e.seconds=Ai(e.seconds),e.minutes=Ai(e.minutes),e.hours=Ai(e.hours),e.months=Ai(e.months),e.years=Ai(e.years),this}function wi(e,t,n,r){var o=kr(t,n);return e._milliseconds+=r*o._milliseconds,e._days+=r*o._days,e._months+=r*o._months,e._bubble()}function Si(e,t){return wi(this,e,t,1)}function xi(e,t){return wi(this,e,t,-1)}function Ei(e){return e<0?Math.floor(e):Math.ceil(e)}function ki(){var e,t,n,r,o,i=this._milliseconds,a=this._days,s=this._months,l=this._data;return i>=0&&a>=0&&s>=0||i<=0&&a<=0&&s<=0||(i+=864e5*Ei(Ti(s)+a),a=0,s=0),l.milliseconds=i%1e3,e=Te(i/1e3),l.seconds=e%60,t=Te(e/60),l.minutes=t%60,n=Te(t/60),l.hours=n%24,a+=Te(n/24),s+=o=Te(qi(a)),a-=Ei(Ti(o)),r=Te(s/12),s%=12,l.days=a,l.months=s,l.years=r,this}function qi(e){return 4800*e/146097}function Ti(e){return 146097*e/4800}function _i(e){if(!this.isValid())return NaN;var t,n,r=this._milliseconds;if("month"===(e=ne(e))||"quarter"===e||"year"===e)switch(t=this._days+r/864e5,n=this._months+qi(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(Ti(this._months)),e){case"week":return t/7+r/6048e5;case"day":return t+r/864e5;case"hour":return 24*t+r/36e5;case"minute":return 1440*t+r/6e4;case"second":return 86400*t+r/1e3;case"millisecond":return Math.floor(864e5*t)+r;default:throw new Error("Unknown unit "+e)}}function Ri(e){return function(){return this.as(e)}}var Ci=Ri("ms"),Ni=Ri("s"),Ii=Ri("m"),Wi=Ri("h"),Pi=Ri("d"),Li=Ri("w"),ji=Ri("M"),Di=Ri("Q"),Bi=Ri("y"),Fi=Ci;function Vi(){return kr(this)}function Ui(e){return e=ne(e),this.isValid()?this[e+"s"]():NaN}function Hi(e){return function(){return this.isValid()?this._data[e]:NaN}}var Xi=Hi("milliseconds"),Gi=Hi("seconds"),$i=Hi("minutes"),Ki=Hi("hours"),Yi=Hi("days"),Zi=Hi("months"),Ji=Hi("years");function Qi(){return Te(this.days()/7)}var ea=Math.round,ta={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function na(e,t,n,r,o){return o.relativeTime(t||1,!!n,e,r)}function ra(e,t,n,r){var o=kr(e).abs(),i=ea(o.as("s")),a=ea(o.as("m")),s=ea(o.as("h")),l=ea(o.as("d")),c=ea(o.as("M")),u=ea(o.as("w")),p=ea(o.as("y")),d=i<=n.ss&&["s",i]||i0,d[4]=r,na.apply(null,d)}function oa(e){return void 0===e?ea:"function"===typeof e&&(ea=e,!0)}function ia(e,t){return void 0!==ta[e]&&(void 0===t?ta[e]:(ta[e]=t,"s"===e&&(ta.ss=t-1),!0))}function aa(e,t){if(!this.isValid())return this.localeData().invalidDate();var n,r,o=!1,i=ta;return"object"===typeof e&&(t=e,e=!1),"boolean"===typeof e&&(o=e),"object"===typeof t&&(i=Object.assign({},ta,t),null!=t.s&&null==t.ss&&(i.ss=t.s-1)),r=ra(this,!o,i,n=this.localeData()),o&&(r=n.pastFuture(+this,r)),n.postformat(r)}var sa=Math.abs;function la(e){return(e>0)-(e<0)||+e}function ca(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n,r,o,i,a,s,l=sa(this._milliseconds)/1e3,c=sa(this._days),u=sa(this._months),p=this.asSeconds();return p?(e=Te(l/60),t=Te(e/60),l%=60,e%=60,n=Te(u/12),u%=12,r=l?l.toFixed(3).replace(/\.?0+$/,""):"",o=p<0?"-":"",i=la(this._months)!==la(p)?"-":"",a=la(this._days)!==la(p)?"-":"",s=la(this._milliseconds)!==la(p)?"-":"",o+"P"+(n?i+n+"Y":"")+(u?i+u+"M":"")+(c?a+c+"D":"")+(t||e||l?"T":"")+(t?s+t+"H":"")+(e?s+e+"M":"")+(l?s+r+"S":"")):"P0D"}var ua=ar.prototype;return ua.isValid=or,ua.abs=vi,ua.add=Si,ua.subtract=xi,ua.as=_i,ua.asMilliseconds=Ci,ua.asSeconds=Ni,ua.asMinutes=Ii,ua.asHours=Wi,ua.asDays=Pi,ua.asWeeks=Li,ua.asMonths=ji,ua.asQuarters=Di,ua.asYears=Bi,ua.valueOf=Fi,ua._bubble=ki,ua.clone=Vi,ua.get=Ui,ua.milliseconds=Xi,ua.seconds=Gi,ua.minutes=$i,ua.hours=Ki,ua.days=Yi,ua.weeks=Qi,ua.months=Zi,ua.years=Ji,ua.humanize=aa,ua.toISOString=ca,ua.toString=ca,ua.toJSON=ca,ua.locale=ao,ua.localeData=lo,ua.toIsoString=S("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",ca),ua.lang=so,D("X",0,0,"unix"),D("x",0,0,"valueOf"),xe("x",ye),xe("X",Ae),Ce("X",(function(e,t,n){n._d=new Date(1e3*parseFloat(e))})),Ce("x",(function(e,t,n){n._d=new Date(_e(e))})),r.version="2.30.1",o(Kn),r.fn=ci,r.min=Qn,r.max=er,r.now=tr,r.utc=f,r.unix=ui,r.months=gi,r.isDate=p,r.locale=hn,r.invalid=O,r.duration=kr,r.isMoment=v,r.weekdays=yi,r.parseZone=pi,r.localeData=On,r.isDuration=sr,r.monthsShort=Oi,r.weekdaysMin=zi,r.defineLocale=mn,r.updateLocale=gn,r.locales=yn,r.weekdaysShort=Mi,r.normalizeUnits=ne,r.relativeTimeRounding=oa,r.relativeTimeThreshold=ia,r.calendarFormat=Br,r.prototype=ci,r.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},r}()},90444:(e,t,n)=>{var r;!function(o,i,a){if(o){for(var s,l={8:"backspace",9:"tab",13:"enter",16:"shift",17:"ctrl",18:"alt",20:"capslock",27:"esc",32:"space",33:"pageup",34:"pagedown",35:"end",36:"home",37:"left",38:"up",39:"right",40:"down",45:"ins",46:"del",91:"meta",93:"meta",224:"meta"},c={106:"*",107:"+",109:"-",110:".",111:"/",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"},u={"~":"`","!":"1","@":"2","#":"3",$:"4","%":"5","^":"6","&":"7","*":"8","(":"9",")":"0",_:"-","+":"=",":":";",'"':"'","<":",",">":".","?":"/","|":"\\"},p={option:"alt",command:"meta",return:"enter",escape:"esc",plus:"+",mod:/Mac|iPod|iPhone|iPad/.test(navigator.platform)?"meta":"ctrl"},d=1;d<20;++d)l[111+d]="f"+d;for(d=0;d<=9;++d)l[d+96]=d.toString();y.prototype.bind=function(e,t,n){var r=this;return e=e instanceof Array?e:[e],r._bindMultiple.call(r,e,t,n),r},y.prototype.unbind=function(e,t){return this.bind.call(this,e,(function(){}),t)},y.prototype.trigger=function(e,t){var n=this;return n._directMap[e+":"+t]&&n._directMap[e+":"+t]({},e),n},y.prototype.reset=function(){var e=this;return e._callbacks={},e._directMap={},e},y.prototype.stopCallback=function(e,t){if((" "+t.className+" ").indexOf(" mousetrap ")>-1)return!1;if(O(t,this.target))return!1;if("composedPath"in e&&"function"===typeof e.composedPath){var n=e.composedPath()[0];n!==e.target&&(t=n)}return"INPUT"==t.tagName||"SELECT"==t.tagName||"TEXTAREA"==t.tagName||t.isContentEditable},y.prototype.handleKey=function(){return this._handleKey.apply(this,arguments)},y.addKeycodes=function(e){for(var t in e)e.hasOwnProperty(t)&&(l[t]=e[t]);s=null},y.init=function(){var e=y(i);for(var t in e)"_"!==t.charAt(0)&&(y[t]=function(t){return function(){return e[t].apply(e,arguments)}}(t))},y.init(),o.Mousetrap=y,e.exports&&(e.exports=y),void 0===(r=function(){return y}.call(t,n,t,e))||(e.exports=r)}function b(e,t,n){e.addEventListener?e.addEventListener(t,n,!1):e.attachEvent("on"+t,n)}function f(e){if("keypress"==e.type){var t=String.fromCharCode(e.which);return e.shiftKey||(t=t.toLowerCase()),t}return l[e.which]?l[e.which]:c[e.which]?c[e.which]:String.fromCharCode(e.which).toLowerCase()}function h(e){return"shift"==e||"ctrl"==e||"alt"==e||"meta"==e}function m(e,t,n){return n||(n=function(){if(!s)for(var e in s={},l)e>95&&e<112||l.hasOwnProperty(e)&&(s[l[e]]=e);return s}()[e]?"keydown":"keypress"),"keypress"==n&&t.length&&(n="keydown"),n}function g(e,t){var n,r,o,i=[];for(n=function(e){return"+"===e?["+"]:(e=e.replace(/\+{2}/g,"+plus")).split("+")}(e),o=0;o1?d(e,s,n,r):(a=g(e,r),t._callbacks[a.key]=t._callbacks[a.key]||[],c(a.key,a.modifiers,{type:a.action},o,e,i),t._callbacks[a.key][o?"unshift":"push"]({callback:n,modifiers:a.modifiers,action:a.action,seq:o,level:i,combo:e}))}t._handleKey=function(e,t,n){var r,o=c(e,t,n),i={},p=0,d=!1;for(r=0;r{e.exports=n(24353)},24353:(e,t,n)=>{var r=n(26),o=n(29599),i=/:([a-zA-Z0-9_\-\+]+):/g,a=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;function s(e){var t=e.indexOf(":");return t>-1?t===e.length-1?s(e=e.substring(0,t)):s(e=e.substr(t+1)):e}function l(e){return"string"===typeof e&&e.length>0?":"+e+":":e}var c=String.fromCharCode(65039),u=new RegExp(c,"g");function p(e){return e.replace(u,"")}var d=Object.keys(o).reduce((function(e,t){return e[p(o[t])]=t,e}),{}),b={emoji:o};b._get=function(e){return d[p(e)]?e:o.hasOwnProperty(e)?o[e]:"string"===typeof(t=e)&&":"!==t[0]?l(t):t;var t},b.get=function(e){return e=s(e),b._get(e)},b.find=function(e){return b.findByName(e)||b.findByCode(e)},b.findByName=function(e){var t=s(e),n=o[t];return n?{emoji:n,key:t}:void 0},b.findByCode=function(e){var t=p(e),n=d[t];return n?{emoji:o[n],key:n}:void 0},b.hasEmoji=function(e){return b.hasEmojiByName(e)||b.hasEmojiByCode(e)},b.hasEmojiByName=function(e){var t=b.findByName(e);return!!t&&t.key===s(e)},b.hasEmojiByCode=function(e){var t=b.findByCode(e);return!!t&&p(t.emoji)===p(e)},b.which=function(e,t){var n=p(e),r=d[n];return t?l(r):r},b.emojify=function(e,t,n){return e?e.split(i).map((function(e,r){if(r%2===0)return e;var o=b._get(e),i=o.indexOf(":")>-1;return i&&"function"===typeof t?t(e):i||"function"!==typeof n?o:n(o,e)})).join(""):""},b.random=function(){var e=Object.keys(o),t=e[Math.floor(Math.random()*e.length)];return{key:t,emoji:b._get(t)}},b.search=function(e){var t=Object.keys(o),n=s(e);return t.filter((function(e){return 0===e.toString().indexOf(n)})).map((function(e){return{key:e,emoji:b._get(e)}}))},b.unemojify=function(e){return e?r(e).map((function(e){return b.which(e,!0)||e})).join(""):""},b.replace=function(e,t,n){if(!e)return"";var o="function"===typeof t?t:function(){return t},i=r(e),s=i.map((function(e,t){var r=b.findByCode(e);return r&&n&&" "===i[t+1]&&(i[t+1]=""),r?o(r):e})).join("");return n?s.replace(a,""):s},b.strip=function(e){return b.replace(e,"",!0)},e.exports=b},27801:function(e,t,n){e.exports=function(){"use strict";var e,t,r,o,i,a,s="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof n.g?n.g:"undefined"!=typeof self?self:{};function l(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function c(){return t?e:(t=1,e={languageTag:"en-US",delimiters:{thousands:",",decimal:"."},abbreviations:{thousand:"k",million:"m",billion:"b",trillion:"t"},spaceSeparated:!1,ordinal:function(e){let t=e%10;return 1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th"},bytes:{binarySuffixes:["B","KiB","MiB","GiB","TiB","PiB","EiB","ZiB","YiB"],decimalSuffixes:["B","KB","MB","GB","TB","PB","EB","ZB","YB"]},currency:{symbol:"$",position:"prefix",code:"USD"},currencyFormat:{thousandSeparated:!0,totalLength:4,spaceSeparated:!0,spaceSeparatedCurrency:!0},formats:{fourDigits:{totalLength:4,spaceSeparated:!0},fullWithTwoDecimals:{output:"currency",thousandSeparated:!0,mantissa:2},fullWithTwoDecimalsNoCurrency:{thousandSeparated:!0,mantissa:2},fullWithNoDecimals:{output:"currency",thousandSeparated:!0,mantissa:0}}})}function u(){if(o)return r;o=1;const e=[{key:"ZiB",factor:Math.pow(1024,7)},{key:"ZB",factor:Math.pow(1e3,7)},{key:"YiB",factor:Math.pow(1024,8)},{key:"YB",factor:Math.pow(1e3,8)},{key:"TiB",factor:Math.pow(1024,4)},{key:"TB",factor:Math.pow(1e3,4)},{key:"PiB",factor:Math.pow(1024,5)},{key:"PB",factor:Math.pow(1e3,5)},{key:"MiB",factor:Math.pow(1024,2)},{key:"MB",factor:Math.pow(1e3,2)},{key:"KiB",factor:Math.pow(1024,1)},{key:"KB",factor:Math.pow(1e3,1)},{key:"GiB",factor:Math.pow(1024,3)},{key:"GB",factor:Math.pow(1e3,3)},{key:"EiB",factor:Math.pow(1024,6)},{key:"EB",factor:Math.pow(1e3,6)},{key:"B",factor:1}];function t(e){return e.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&")}function n(r,o,i,a,s,l,c){if(!isNaN(+r))return+r;let u="",p=r.replace(/(^[^(]*)\((.*)\)([^)]*$)/,"$1$2$3");if(p!==r)return-1*n(p,o,i,a,s,l);for(let t=0;t{f[l[e]]=e}));let h=Object.keys(f).sort().reverse(),m=h.length;for(let e=0;e2&&void 0!==arguments[2]?arguments[2]:"",i=arguments.length>3?arguments[3]:void 0,a=arguments.length>4?arguments[4]:void 0,s=arguments.length>5?arguments[5]:void 0;if(""===e)return;if(e===a)return 0;let l=function(e,n,r){let o=e.replace(r,"");return o=o.replace(new RegExp(`([0-9])${t(n.thousands)}([0-9])`,"g"),"$1$2"),o=o.replace(n.decimal,"."),o}(e,r,o);return n(l,r,o,i,a,s)}return r={unformat:function(e,t){const n=h();let r,o=n.currentDelimiters(),a=n.currentCurrency().symbol,s=n.currentOrdinal(),l=n.getZeroFormat(),c=n.currentAbbreviations();if("string"==typeof e)r=function(e,t){if(!e.indexOf(":")||":"===t.thousands)return!1;let n=e.split(":");if(3!==n.length)return!1;let r=+n[0],o=+n[1],i=+n[2];return!isNaN(r)&&!isNaN(o)&&!isNaN(i)}(e,o)?function(e){let t=e.split(":"),n=+t[0],r=+t[1];return+t[2]+60*r+3600*n}(e):i(e,o,a,s,l,c);else{if("number"!=typeof e)return;r=e}if(void 0!==r)return r}},r}function p(){if(a)return i;a=1;let e=u();const t=/^[a-z]{2,3}(-[a-zA-Z]{4})?(-([A-Z]{2}|[0-9]{3}))?$/,n={output:{type:"string",validValues:["currency","percent","byte","time","ordinal","number"]},base:{type:"string",validValues:["decimal","binary","general"],restriction:(e,t)=>"byte"===t.output,message:"`base` must be provided only when the output is `byte`",mandatory:e=>"byte"===e.output},characteristic:{type:"number",restriction:e=>e>=0,message:"value must be positive"},prefix:"string",postfix:"string",forceAverage:{type:"string",validValues:["trillion","billion","million","thousand"]},average:"boolean",lowPrecision:{type:"boolean",restriction:(e,t)=>!0===t.average,message:"`lowPrecision` must be provided only when the option `average` is set"},currencyPosition:{type:"string",validValues:["prefix","infix","postfix"]},currencySymbol:"string",totalLength:{type:"number",restrictions:[{restriction:e=>e>=0,message:"value must be positive"},{restriction:(e,t)=>!t.exponential,message:"`totalLength` is incompatible with `exponential`"}]},mantissa:{type:"number",restriction:e=>e>=0,message:"value must be positive"},optionalMantissa:"boolean",trimMantissa:"boolean",roundingFunction:"function",optionalCharacteristic:"boolean",thousandSeparated:"boolean",spaceSeparated:"boolean",spaceSeparatedCurrency:"boolean",spaceSeparatedAbbreviation:"boolean",abbreviations:{type:"object",children:{thousand:"string",million:"string",billion:"string",trillion:"string"}},negative:{type:"string",validValues:["sign","parenthesis"]},forceSign:"boolean",exponential:{type:"boolean"},prefixSymbol:{type:"boolean",restriction:(e,t)=>"percent"===t.output,message:"`prefixSymbol` can be provided only when the output is `percent`"}},r={languageTag:{type:"string",mandatory:!0,restriction:e=>e.match(t),message:"the language tag must follow the BCP 47 specification (see https://tools.ieft.org/html/bcp47)"},delimiters:{type:"object",children:{thousands:"string",decimal:"string",thousandsSize:"number"},mandatory:!0},abbreviations:{type:"object",children:{thousand:{type:"string",mandatory:!0},million:{type:"string",mandatory:!0},billion:{type:"string",mandatory:!0},trillion:{type:"string",mandatory:!0}},mandatory:!0},spaceSeparated:"boolean",spaceSeparatedCurrency:"boolean",ordinal:{type:"function",mandatory:!0},bytes:{type:"object",children:{binarySuffixes:"object",decimalSuffixes:"object"}},currency:{type:"object",children:{symbol:"string",position:"string",code:"string"},mandatory:!0},defaults:"format",ordinalFormat:"format",byteFormat:"format",percentageFormat:"format",currencyFormat:"format",timeDefaults:"format",formats:{type:"object",children:{fourDigits:{type:"format",mandatory:!0},fullWithTwoDecimals:{type:"format",mandatory:!0},fullWithTwoDecimalsNoCurrency:{type:"format",mandatory:!0},fullWithNoDecimals:{type:"format",mandatory:!0}}}};function o(t){return void 0!==e.unformat(t)}function s(e,t,r){let o=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=Object.keys(e).map((o=>{if(!t[o])return console.error(`${r} Invalid key: ${o}`),!1;let i=e[o],a=t[o];if("string"==typeof a&&(a={type:a}),"format"===a.type){if(!s(i,n,`[Validate ${o}]`,!0))return!1}else if(typeof i!==a.type)return console.error(`${r} ${o} type mismatched: "${a.type}" expected, "${typeof i}" provided`),!1;if(a.restrictions&&a.restrictions.length){let t=a.restrictions.length;for(let n=0;n{let o=t[n];if("string"==typeof o&&(o={type:o}),o.mandatory){let t=o.mandatory;if("function"==typeof t&&(t=t(e)),t&&void 0===e[n])return console.error(`${r} Missing mandatory key "${n}"`),!1}return!0}))),i.reduce(((e,t)=>e&&t),!0)}function l(e){return s(e,n,"[Validate format]")}return i={validate:function(e,t){let n=o(e),r=l(t);return n&&r},validateFormat:l,validateInput:o,validateLanguage:function(e){return s(e,r,"[Validate language]")}},i}var d,b,f={parseFormat:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return"string"!=typeof e?e:(function(e,t){if(-1===e.indexOf("$")){if(-1===e.indexOf("%"))return-1!==e.indexOf("bd")?(t.output="byte",void(t.base="general")):-1!==e.indexOf("b")?(t.output="byte",void(t.base="binary")):-1!==e.indexOf("d")?(t.output="byte",void(t.base="decimal")):void(-1===e.indexOf(":")?-1!==e.indexOf("o")&&(t.output="ordinal"):t.output="time");t.output="percent"}else t.output="currency"}(e=function(e,t){let n=e.match(/{([^}]*)}$/);return n?(t.postfix=n[1],e.slice(0,-n[0].length)):e}(e=function(e,t){let n=e.match(/^{([^}]*)}/);return n?(t.prefix=n[1],e.slice(n[0].length)):e}(e,t),t),t),function(e,t){let n=e.match(/[1-9]+[0-9]*/);n&&(t.totalLength=+n[0])}(e,t),function(e,t){let n=e.split(".")[0].match(/0+/);n&&(t.characteristic=n[0].length)}(e,t),function(e,t){if(-1!==e.indexOf(".")){let n=e.split(".")[0];t.optionalCharacteristic=-1===n.indexOf("0")}}(e,t),function(e,t){-1!==e.indexOf("a")&&(t.average=!0)}(e,t),function(e,t){-1!==e.indexOf("K")?t.forceAverage="thousand":-1!==e.indexOf("M")?t.forceAverage="million":-1!==e.indexOf("B")?t.forceAverage="billion":-1!==e.indexOf("T")&&(t.forceAverage="trillion")}(e,t),function(e,t){let n=e.split(".")[1];if(n){let e=n.match(/0+/);e&&(t.mantissa=e[0].length)}}(e,t),function(e,t){e.match(/\[\.]/)?t.optionalMantissa=!0:e.match(/\./)&&(t.optionalMantissa=!1)}(e,t),function(e,t){const n=e.split(".")[1];n&&(t.trimMantissa=-1!==n.indexOf("["))}(e,t),function(e,t){-1!==e.indexOf(",")&&(t.thousandSeparated=!0)}(e,t),function(e,t){-1!==e.indexOf(" ")&&(t.spaceSeparated=!0,t.spaceSeparatedCurrency=!0,(t.average||t.forceAverage)&&(t.spaceSeparatedAbbreviation=!0))}(e,t),function(e,t){e.match(/^\+?\([^)]*\)$/)&&(t.negative="parenthesis"),e.match(/^\+?-/)&&(t.negative="sign")}(e,t),function(e,t){e.match(/^\+/)&&(t.forceSign=!0)}(e,t),t)}};function h(){if(b)return d;b=1;const e=c(),t=p(),n=f;let r,o={},i={},a=null,s={};function l(e){r=e}function u(){return i[r]}return o.languages=()=>Object.assign({},i),o.currentLanguage=()=>r,o.currentBytes=()=>u().bytes||{},o.currentCurrency=()=>u().currency,o.currentAbbreviations=()=>u().abbreviations,o.currentDelimiters=()=>u().delimiters,o.currentOrdinal=()=>u().ordinal,o.currentDefaults=()=>Object.assign({},u().defaults,s),o.currentOrdinalDefaultFormat=()=>Object.assign({},o.currentDefaults(),u().ordinalFormat),o.currentByteDefaultFormat=()=>Object.assign({},o.currentDefaults(),u().byteFormat),o.currentPercentageDefaultFormat=()=>Object.assign({},o.currentDefaults(),u().percentageFormat),o.currentCurrencyDefaultFormat=()=>Object.assign({},o.currentDefaults(),u().currencyFormat),o.currentTimeDefaultFormat=()=>Object.assign({},o.currentDefaults(),u().timeFormat),o.setDefaults=e=>{e=n.parseFormat(e),t.validateFormat(e)&&(s=e)},o.getZeroFormat=()=>a,o.setZeroFormat=e=>a="string"==typeof e?e:null,o.hasZeroFormat=()=>null!==a,o.languageData=e=>{if(e){if(i[e])return i[e];throw new Error(`Unknown tag "${e}"`)}return u()},o.registerLanguage=function(e){let n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!t.validateLanguage(e))throw new Error("Invalid language data");i[e.languageTag]=e,n&&l(e.languageTag)},o.setLanguage=function(t){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.languageTag;if(!i[t]){let e=t.split("-")[0],r=Object.keys(i).find((t=>t.split("-")[0]===e));return i[r]?void l(r):void l(n)}l(t)},o.registerLanguage(e),r=e.languageTag,d=o}function m(e,t){e.forEach((e=>{let n;try{n=function(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}(`../languages/${e}`)}catch(t){console.error(`Unable to load "${e}". No matching language file found.`)}n&&t.registerLanguage(n)}))}var g={exports:{}};!function(e){!function(t){var n,r=/^-?(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?$/i,o=Math.ceil,i=Math.floor,a="[BigNumber Error] ",s=a+"Number primitive has more than 15 significant digits: ",l=1e14,c=14,u=9007199254740991,p=[1,10,100,1e3,1e4,1e5,1e6,1e7,1e8,1e9,1e10,1e11,1e12,1e13],d=1e7,b=1e9;function f(e){var t=0|e;return e>0||e===t?t:t-1}function h(e){for(var t,n,r=1,o=e.length,i=e[0]+"";rc^n?1:-1;for(s=(l=o.length)<(c=i.length)?l:c,a=0;ai[a]^n?1:-1;return l==c?0:l>c^n?1:-1}function g(e,t,n,r){if(en||e!==i(e))throw Error(a+(r||"Argument")+("number"==typeof e?en?" out of range: ":" not an integer: ":" not a primitive number: ")+String(e))}function O(e){var t=e.c.length-1;return f(e.e/c)==t&&e.c[t]%2!=0}function y(e,t){return(e.length>1?e.charAt(0)+"."+e.slice(1):e)+(t<0?"e":"e+")+t}function M(e,t,n){var r,o;if(t<0){for(o=n+".";++t;o+=n);e=o+e}else if(++t>(r=e.length)){for(o=n,t-=r;--t;o+=n);e+=o}else tP?h.c=h.e=null:e.e=10;p/=10,l++);return void(l>P?h.c=h.e=null:(h.e=l,h.c=[e]))}f=String(e)}else{if(!r.test(f=String(e)))return A(h,f,d);h.s=45==f.charCodeAt(0)?(f=f.slice(1),-1):1}(l=f.indexOf("."))>-1&&(f=f.replace(".","")),(p=f.search(/e/i))>0?(l<0&&(l=p),l+=+f.slice(p+1),f=f.substring(0,p)):l<0&&(l=f.length)}else{if(g(t,2,F.length,"Base"),10==t&&V)return $(h=new U(e),R+h.e+1,C);if(f=String(e),d="number"==typeof e){if(0*e!=0)return A(h,f,d,t);if(h.s=1/e<0?(f=f.slice(1),-1):1,U.DEBUG&&f.replace(/^0\.0*|\./,"").length>15)throw Error(s+e)}else h.s=45===f.charCodeAt(0)?(f=f.slice(1),-1):1;for(n=F.slice(0,t),l=p=0,b=f.length;pl){l=b;continue}}else if(!a&&(f==f.toUpperCase()&&(f=f.toLowerCase())||f==f.toLowerCase()&&(f=f.toUpperCase()))){a=!0,p=-1,l=0;continue}return A(h,String(e),d,t)}d=!1,(l=(f=z(f,t,10,h.s)).indexOf("."))>-1?f=f.replace(".",""):l=f.length}for(p=0;48===f.charCodeAt(p);p++);for(b=f.length;48===f.charCodeAt(--b););if(f=f.slice(p,++b)){if(b-=p,d&&U.DEBUG&&b>15&&(e>u||e!==i(e)))throw Error(s+h.s*e);if((l=l-p-1)>P)h.c=h.e=null;else if(l=I)?y(l,a):M(l,a,"0");else if(i=(e=$(new U(e),t,n)).e,s=(l=h(e.c)).length,1==r||2==r&&(t<=i||i<=N)){for(;ss){if(--t>0)for(l+=".";t--;l+="0");}else if((t+=i-s)>0)for(i+1==s&&(l+=".");t--;l+="0");return e.s<0&&o?"-"+l:l}function X(e,t){for(var n,r,o=1,i=new U(e[0]);o=10;o/=10,r++);return(n=r+n*c-1)>P?e.c=e.e=null:n=10;d/=10,a++);if((s=t-a)<0)s+=c,u=t,b=m[f=0],h=i(b/g[a-u-1]%10);else if((f=o((s+1)/c))>=m.length){if(!r)break e;for(;m.length<=f;m.push(0));b=h=0,a=1,u=(s%=c)-c+1}else{for(b=d=m[f],a=1;d>=10;d/=10,a++);h=(u=(s%=c)-c+a)<0?0:i(b/g[a-u-1]%10)}if(r=r||t<0||null!=m[f+1]||(u<0?b:b%g[a-u-1]),r=n<4?(h||r)&&(0==n||n==(e.s<0?3:2)):h>5||5==h&&(4==n||r||6==n&&(s>0?u>0?b/g[a-u]:0:m[f-1])%10&1||n==(e.s<0?8:7)),t<1||!m[0])return m.length=0,r?(t-=e.e+1,m[0]=g[(c-t%c)%c],e.e=-t||0):m[0]=e.e=0,e;if(0==s?(m.length=f,d=1,f--):(m.length=f+1,d=g[c-s],m[f]=u>0?i(b/g[a-u]%g[u])*d:0),r)for(;;){if(0==f){for(s=1,u=m[0];u>=10;u/=10,s++);for(u=m[0]+=d,d=1;u>=10;u/=10,d++);s!=d&&(e.e++,m[0]==l&&(m[0]=1));break}if(m[f]+=d,m[f]!=l)break;m[f--]=0,d=1}for(s=m.length;0===m[--s];m.pop());}e.e>P?e.c=e.e=null:e.e=I?y(t,n):M(t,n,"0"),e.s<0?"-"+t:t)}return U.clone=e,U.ROUND_UP=0,U.ROUND_DOWN=1,U.ROUND_CEIL=2,U.ROUND_FLOOR=3,U.ROUND_HALF_UP=4,U.ROUND_HALF_DOWN=5,U.ROUND_HALF_EVEN=6,U.ROUND_HALF_CEIL=7,U.ROUND_HALF_FLOOR=8,U.EUCLID=9,U.config=U.set=function(e){var t,n;if(null!=e){if("object"!=typeof e)throw Error(a+"Object expected: "+e);if(e.hasOwnProperty(t="DECIMAL_PLACES")&&(g(n=e[t],0,b,t),R=n),e.hasOwnProperty(t="ROUNDING_MODE")&&(g(n=e[t],0,8,t),C=n),e.hasOwnProperty(t="EXPONENTIAL_AT")&&((n=e[t])&&n.pop?(g(n[0],-b,0,t),g(n[1],0,b,t),N=n[0],I=n[1]):(g(n,-b,b,t),N=-(I=n<0?-n:n))),e.hasOwnProperty(t="RANGE"))if((n=e[t])&&n.pop)g(n[0],-b,-1,t),g(n[1],1,b,t),W=n[0],P=n[1];else{if(g(n,-b,b,t),!n)throw Error(a+t+" cannot be zero: "+n);W=-(P=n<0?-n:n)}if(e.hasOwnProperty(t="CRYPTO")){if((n=e[t])!==!!n)throw Error(a+t+" not true or false: "+n);if(n){if("undefined"==typeof crypto||!crypto||!crypto.getRandomValues&&!crypto.randomBytes)throw L=!n,Error(a+"crypto unavailable");L=n}else L=n}if(e.hasOwnProperty(t="MODULO_MODE")&&(g(n=e[t],0,9,t),j=n),e.hasOwnProperty(t="POW_PRECISION")&&(g(n=e[t],0,b,t),D=n),e.hasOwnProperty(t="FORMAT")){if("object"!=typeof(n=e[t]))throw Error(a+t+" not an object: "+n);B=n}if(e.hasOwnProperty(t="ALPHABET")){if("string"!=typeof(n=e[t])||/^.?$|[+\-.\s]|(.).*\1/.test(n))throw Error(a+t+" invalid: "+n);V="0123456789"==n.slice(0,10),F=n}}return{DECIMAL_PLACES:R,ROUNDING_MODE:C,EXPONENTIAL_AT:[N,I],RANGE:[W,P],CRYPTO:L,MODULO_MODE:j,POW_PRECISION:D,FORMAT:B,ALPHABET:F}},U.isBigNumber=function(e){if(!e||!0!==e._isBigNumber)return!1;if(!U.DEBUG)return!0;var t,n,r=e.c,o=e.e,s=e.s;e:if("[object Array]"=={}.toString.call(r)){if((1===s||-1===s)&&o>=-b&&o<=b&&o===i(o)){if(0===r[0]){if(0===o&&1===r.length)return!0;break e}if((t=(o+1)%c)<1&&(t+=c),String(r[0]).length==t){for(t=0;t=l||n!==i(n))break e;if(0!==n)return!0}}}else if(null===r&&null===o&&(null===s||1===s||-1===s))return!0;throw Error(a+"Invalid BigNumber: "+e)},U.maximum=U.max=function(){return X(arguments,-1)},U.minimum=U.min=function(){return X(arguments,1)},U.random=(v=9007199254740992,w=Math.random()*v&2097151?function(){return i(Math.random()*v)}:function(){return 8388608*(1073741824*Math.random()|0)+(8388608*Math.random()|0)},function(e){var t,n,r,s,l,u=0,d=[],f=new U(_);if(null==e?e=R:g(e,0,b),s=o(e/c),L)if(crypto.getRandomValues){for(t=crypto.getRandomValues(new Uint32Array(s*=2));u>>11))>=9e15?(n=crypto.getRandomValues(new Uint32Array(2)),t[u]=n[0],t[u+1]=n[1]):(d.push(l%1e14),u+=2);u=s/2}else{if(!crypto.randomBytes)throw L=!1,Error(a+"crypto unavailable");for(t=crypto.randomBytes(s*=7);u=9e15?crypto.randomBytes(7).copy(t,u):(d.push(l%1e14),u+=7);u=s/7}if(!L)for(;u=10;l/=10,u++);un-1&&(null==a[o+1]&&(a[o+1]=0),a[o+1]+=a[o]/n|0,a[o]%=n)}return a.reverse()}return function(r,o,i,a,s){var l,c,u,p,d,b,f,m,g=r.indexOf("."),O=R,y=C;for(g>=0&&(p=D,D=0,r=r.replace(".",""),b=(m=new U(o)).pow(r.length-g),D=p,m.c=t(M(h(b.c),b.e,"0"),10,i,e),m.e=m.c.length),u=p=(f=t(r,o,i,s?(l=F,e):(l=e,F))).length;0==f[--p];f.pop());if(!f[0])return l.charAt(0);if(g<0?--u:(b.c=f,b.e=u,b.s=a,f=(b=n(b,m,O,y,i)).c,d=b.r,u=b.e),g=f[c=u+O+1],p=i/2,d=d||c<0||null!=f[c+1],d=y<4?(null!=g||d)&&(0==y||y==(b.s<0?3:2)):g>p||g==p&&(4==y||d||6==y&&1&f[c-1]||y==(b.s<0?8:7)),c<1||!f[0])r=d?M(l.charAt(1),-O,l.charAt(0)):l.charAt(0);else{if(f.length=c,d)for(--i;++f[--c]>i;)f[c]=0,c||(++u,f=[1].concat(f));for(p=f.length;!f[--p];);for(g=0,r="";g<=p;r+=l.charAt(f[g++]));r=M(r,u,l.charAt(0))}return r}}(),n=function(){function e(e,t,n){var r,o,i,a,s=0,l=e.length,c=t%d,u=t/d|0;for(e=e.slice();l--;)s=((o=c*(i=e[l]%d)+(r=u*i+(a=e[l]/d|0)*c)%d*d+s)/n|0)+(r/d|0)+u*a,e[l]=o%n;return s&&(e=[s].concat(e)),e}function t(e,t,n,r){var o,i;if(n!=r)i=n>r?1:-1;else for(o=i=0;ot[o]?1:-1;break}return i}function n(e,t,n,r){for(var o=0;n--;)e[n]-=o,o=e[n]1;e.splice(0,1));}return function(r,o,a,s,u){var p,d,b,h,m,g,O,y,M,z,A,v,w,S,x,E,k,q=r.s==o.s?1:-1,T=r.c,_=o.c;if(!(T&&T[0]&&_&&_[0]))return new U(r.s&&o.s&&(T?!_||T[0]!=_[0]:_)?T&&0==T[0]||!_?0*q:q/0:NaN);for(M=(y=new U(q)).c=[],q=a+(d=r.e-o.e)+1,u||(u=l,d=f(r.e/c)-f(o.e/c),q=q/c|0),b=0;_[b]==(T[b]||0);b++);if(_[b]>(T[b]||0)&&d--,q<0)M.push(1),h=!0;else{for(S=T.length,E=_.length,b=0,q+=2,(m=i(u/(_[0]+1)))>1&&(_=e(_,m,u),T=e(T,m,u),E=_.length,S=T.length),w=E,A=(z=T.slice(0,E)).length;A=u/2&&x++;do{if(m=0,(p=t(_,z,E,A))<0){if(v=z[0],E!=A&&(v=v*u+(z[1]||0)),(m=i(v/x))>1)for(m>=u&&(m=u-1),O=(g=e(_,m,u)).length,A=z.length;1==t(g,z,O,A);)m--,n(g,E=10;q/=10,b++);$(y,a+(y.e=b+d*c-1)+1,s,h)}else y.e=d,y.r=+h;return y}}(),S=/^(-?)0([xbo])(?=\w[\w.]*$)/i,x=/^([^.]+)\.$/,E=/^\.([^.]+)$/,k=/^-?(Infinity|NaN)$/,q=/^\s*\+(?=[\w.])|^\s+|\s+$/g,A=function(e,t,n,r){var o,i=n?t:t.replace(q,"");if(k.test(i))e.s=isNaN(i)?null:i<0?-1:1;else{if(!n&&(i=i.replace(S,(function(e,t,n){return o="x"==(n=n.toLowerCase())?16:"b"==n?2:8,r&&r!=o?e:t})),r&&(o=r,i=i.replace(x,"$1").replace(E,"0.$1")),t!=i))return new U(i,o);if(U.DEBUG)throw Error(a+"Not a"+(r?" base "+r:"")+" number: "+t);e.s=null}e.c=e.e=null},T.absoluteValue=T.abs=function(){var e=new U(this);return e.s<0&&(e.s=1),e},T.comparedTo=function(e,t){return m(this,new U(e,t))},T.decimalPlaces=T.dp=function(e,t){var n,r,o,i=this;if(null!=e)return g(e,0,b),null==t?t=C:g(t,0,8),$(new U(i),e+i.e+1,t);if(!(n=i.c))return null;if(r=((o=n.length-1)-f(this.e/c))*c,o=n[o])for(;o%10==0;o/=10,r--);return r<0&&(r=0),r},T.dividedBy=T.div=function(e,t){return n(this,new U(e,t),R,C)},T.dividedToIntegerBy=T.idiv=function(e,t){return n(this,new U(e,t),0,1)},T.exponentiatedBy=T.pow=function(e,t){var n,r,s,l,u,p,d,b,f=this;if((e=new U(e)).c&&!e.isInteger())throw Error(a+"Exponent not an integer: "+K(e));if(null!=t&&(t=new U(t)),u=e.e>14,!f.c||!f.c[0]||1==f.c[0]&&!f.e&&1==f.c.length||!e.c||!e.c[0])return b=new U(Math.pow(+K(f),u?e.s*(2-O(e)):+K(e))),t?b.mod(t):b;if(p=e.s<0,t){if(t.c?!t.c[0]:!t.s)return new U(NaN);(r=!p&&f.isInteger()&&t.isInteger())&&(f=f.mod(t))}else{if(e.e>9&&(f.e>0||f.e<-1||(0==f.e?f.c[0]>1||u&&f.c[1]>=24e7:f.c[0]<8e13||u&&f.c[0]<=9999975e7)))return l=f.s<0&&O(e)?-0:0,f.e>-1&&(l=1/l),new U(p?1/l:l);D&&(l=o(D/c+2))}for(u?(n=new U(.5),p&&(e.s=1),d=O(e)):d=(s=Math.abs(+K(e)))%2,b=new U(_);;){if(d){if(!(b=b.times(f)).c)break;l?b.c.length>l&&(b.c.length=l):r&&(b=b.mod(t))}if(s){if(0===(s=i(s/2)))break;d=s%2}else if($(e=e.times(n),e.e+1,1),e.e>14)d=O(e);else{if(0===(s=+K(e)))break;d=s%2}f=f.times(f),l?f.c&&f.c.length>l&&(f.c.length=l):r&&(f=f.mod(t))}return r?b:(p&&(b=_.div(b)),t?b.mod(t):l?$(b,D,C,void 0):b)},T.integerValue=function(e){var t=new U(this);return null==e?e=C:g(e,0,8),$(t,t.e+1,e)},T.isEqualTo=T.eq=function(e,t){return 0===m(this,new U(e,t))},T.isFinite=function(){return!!this.c},T.isGreaterThan=T.gt=function(e,t){return m(this,new U(e,t))>0},T.isGreaterThanOrEqualTo=T.gte=function(e,t){return 1===(t=m(this,new U(e,t)))||0===t},T.isInteger=function(){return!!this.c&&f(this.e/c)>this.c.length-2},T.isLessThan=T.lt=function(e,t){return m(this,new U(e,t))<0},T.isLessThanOrEqualTo=T.lte=function(e,t){return-1===(t=m(this,new U(e,t)))||0===t},T.isNaN=function(){return!this.s},T.isNegative=function(){return this.s<0},T.isPositive=function(){return this.s>0},T.isZero=function(){return!!this.c&&0==this.c[0]},T.minus=function(e,t){var n,r,o,i,a=this,s=a.s;if(t=(e=new U(e,t)).s,!s||!t)return new U(NaN);if(s!=t)return e.s=-t,a.plus(e);var u=a.e/c,p=e.e/c,d=a.c,b=e.c;if(!u||!p){if(!d||!b)return d?(e.s=-t,e):new U(b?a:NaN);if(!d[0]||!b[0])return b[0]?(e.s=-t,e):new U(d[0]?a:3==C?-0:0)}if(u=f(u),p=f(p),d=d.slice(),s=u-p){for((i=s<0)?(s=-s,o=d):(p=u,o=b),o.reverse(),t=s;t--;o.push(0));o.reverse()}else for(r=(i=(s=d.length)<(t=b.length))?s:t,s=t=0;t0)for(;t--;d[n++]=0);for(t=l-1;r>s;){if(d[--r]=0;){for(n=0,m=v[o]%M,g=v[o]/M|0,i=o+(a=u);i>o;)n=((p=m*(p=A[--a]%M)+(s=g*p+(b=A[a]/M|0)*m)%M*M+O[i]+n)/y|0)+(s/M|0)+g*b,O[i--]=p%y;O[i]=n}return n?++r:O.splice(0,1),G(e,O,r)},T.negated=function(){var e=new U(this);return e.s=-e.s||null,e},T.plus=function(e,t){var n,r=this,o=r.s;if(t=(e=new U(e,t)).s,!o||!t)return new U(NaN);if(o!=t)return e.s=-t,r.minus(e);var i=r.e/c,a=e.e/c,s=r.c,u=e.c;if(!i||!a){if(!s||!u)return new U(o/0);if(!s[0]||!u[0])return u[0]?e:new U(s[0]?r:0*o)}if(i=f(i),a=f(a),s=s.slice(),o=i-a){for(o>0?(a=i,n=u):(o=-o,n=s),n.reverse();o--;n.push(0));n.reverse()}for((o=s.length)-(t=u.length)<0&&(n=u,u=s,s=n,t=o),o=0;t;)o=(s[--t]=s[t]+u[t]+o)/l|0,s[t]=l===s[t]?0:s[t]%l;return o&&(s=[o].concat(s),++a),G(e,s,a)},T.precision=T.sd=function(e,t){var n,r,o,i=this;if(null!=e&&e!==!!e)return g(e,1,b),null==t?t=C:g(t,0,8),$(new U(i),e,t);if(!(n=i.c))return null;if(r=(o=n.length-1)*c+1,o=n[o]){for(;o%10==0;o/=10,r--);for(o=n[0];o>=10;o/=10,r++);}return e&&i.e+1>r&&(r=i.e+1),r},T.shiftedBy=function(e){return g(e,-9007199254740991,u),this.times("1e"+e)},T.squareRoot=T.sqrt=function(){var e,t,r,o,i,a=this,s=a.c,l=a.s,c=a.e,u=R+4,p=new U("0.5");if(1!==l||!s||!s[0])return new U(!l||l<0&&(!s||s[0])?NaN:s?a:1/0);if(0==(l=Math.sqrt(+K(a)))||l==1/0?(((t=h(s)).length+c)%2==0&&(t+="0"),l=Math.sqrt(+t),c=f((c+1)/2)-(c<0||c%2),r=new U(t=l==1/0?"5e"+c:(t=l.toExponential()).slice(0,t.indexOf("e")+1)+c)):r=new U(l+""),r.c[0])for((l=(c=r.e)+u)<3&&(l=0);;)if(i=r,r=p.times(i.plus(n(a,i,u,1))),h(i.c).slice(0,l)===(t=h(r.c)).slice(0,l)){if(r.e0&&h>0){for(i=h%l||l,p=f.substr(0,i);i0&&(p+=u+f.slice(i)),b&&(p="-"+p)}r=d?p+(n.decimalSeparator||"")+((c=+n.fractionGroupSize)?d.replace(new RegExp("\\d{"+c+"}\\B","g"),"$&"+(n.fractionGroupSeparator||"")):d):p}return(n.prefix||"")+r+(n.suffix||"")},T.toFraction=function(e){var t,r,o,i,s,l,u,d,b,f,m,g,O=this,y=O.c;if(null!=e&&(!(u=new U(e)).isInteger()&&(u.c||1!==u.s)||u.lt(_)))throw Error(a+"Argument "+(u.isInteger()?"out of range: ":"not an integer: ")+K(u));if(!y)return new U(O);for(t=new U(_),b=r=new U(_),o=d=new U(_),g=h(y),s=t.e=g.length-O.e-1,t.c[0]=p[(l=s%c)<0?c+l:l],e=!e||u.comparedTo(t)>0?s>0?t:b:u,l=P,P=1/0,u=new U(g),d.c[0]=0;f=n(u,t,0,1),1!=(i=r.plus(f.times(o))).comparedTo(e);)r=o,o=i,b=d.plus(f.times(i=b)),d=i,t=u.minus(f.times(i=t)),u=i;return i=n(e.minus(r),o,0,1),d=d.plus(i.times(b)),r=r.plus(i.times(o)),d.s=b.s=O.s,m=n(b,o,s*=2,C).minus(O).abs().comparedTo(n(d,r,s,C).minus(O).abs())<1?[b,o]:[d,r],P=l,m},T.toNumber=function(){return+K(this)},T.toPrecision=function(e,t){return null!=e&&g(e,1,b),H(this,e,t,2)},T.toString=function(e){var t,n=this,r=n.s,o=n.e;return null===o?r?(t="Infinity",r<0&&(t="-"+t)):t="NaN":(null==e?t=o<=N||o>=I?y(h(n.c),o):M(h(n.c),o,"0"):10===e&&V?t=M(h((n=$(new U(n),R+o+1,C)).c),n.e,"0"):(g(e,2,F.length,"Base"),t=z(M(h(n.c),o,"0"),10,e,r,!0)),r<0&&n.c[0]&&(t="-"+t)),t},T.valueOf=T.toJSON=function(){return K(this)},T._isBigNumber=!0,null!=t&&U.set(t),U}(),n.default=n.BigNumber=n,e.exports?e.exports=n:(t||(t="undefined"!=typeof self&&self?self:window),t.BigNumber=n)}(s)}(g);var O=g.exports;const y=h(),M=p(),z=f,A=O,v={trillion:Math.pow(10,12),billion:Math.pow(10,9),million:Math.pow(10,6),thousand:Math.pow(10,3)},w={totalLength:0,characteristic:0,forceAverage:!1,average:!1,mantissa:-1,optionalMantissa:!0,thousandSeparated:!1,spaceSeparated:!1,negative:"sign",forceSign:!1,roundingFunction:Math.round,spaceSeparatedAbbreviation:!1},{binarySuffixes:S,decimalSuffixes:x}=y.currentBytes(),E={general:{scale:1024,suffixes:x,marker:"bd"},binary:{scale:1024,suffixes:S,marker:"b"},decimal:{scale:1e3,suffixes:x,marker:"d"}};function k(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0;if("string"==typeof t&&(t=z.parseFormat(t)),!M.validateFormat(t))return"ERROR: invalid format";let r=t.prefix||"",o=t.postfix||"",i=function(e,t,n){switch(t.output){case"currency":return function(e,t,n){const r=n.currentCurrency();let o,i=Object.assign({},t),a=Object.assign({},w,i),s="",l=!!a.totalLength||!!a.forceAverage||a.average,c=i.currencyPosition||r.position,u=i.currencySymbol||r.symbol;const p=void 0!==a.spaceSeparatedCurrency?a.spaceSeparatedCurrency:a.spaceSeparated;void 0===i.lowPrecision&&(i.lowPrecision=!1),p&&(s=" "),"infix"===c&&(o=s+u+s);let d=R({instance:e,providedFormat:i,state:n,decimalSeparator:o});return"prefix"===c&&(d=e._value<0&&"sign"===a.negative?`-${s}${u}${d.slice(1)}`:e._value>0&&a.forceSign?`+${s}${u}${d.slice(1)}`:u+s+d),c&&"postfix"!==c||(s=!a.spaceSeparatedAbbreviation&&l?"":s,d=d+s+u),d}(e,t=C(t,y.currentCurrencyDefaultFormat()),y);case"percent":return function(e,t,n,r){let o=t.prefixSymbol,i=R({instance:r(100*e._value),providedFormat:t,state:n}),a=Object.assign({},w,t);return o?`%${a.spaceSeparated?" ":""}${i}`:`${i}${a.spaceSeparated?" ":""}%`}(e,t=C(t,y.currentPercentageDefaultFormat()),y,n);case"byte":return function(e,t,n,r){let o=t.base||"binary",i=Object.assign({},w,t);const{binarySuffixes:a,decimalSuffixes:s}=n.currentBytes();let l={general:{scale:1024,suffixes:s||x,marker:"bd"},binary:{scale:1024,suffixes:a||S,marker:"b"},decimal:{scale:1e3,suffixes:s||x,marker:"d"}}[o],{value:c,suffix:u}=q(e._value,l.suffixes,l.scale);return`${R({instance:r(c),providedFormat:t,state:n,defaults:n.currentByteDefaultFormat()})}${i.spaceSeparated?" ":""}${u}`}(e,t=C(t,y.currentByteDefaultFormat()),y,n);case"time":return t=C(t,y.currentTimeDefaultFormat()),function(e){let t=Math.floor(e._value/60/60),n=Math.floor((e._value-60*t*60)/60),r=Math.round(e._value-60*t*60-60*n);return`${t}:${n<10?"0":""}${n}:${r<10?"0":""}${r}`}(e);case"ordinal":return function(e,t,n){let r=n.currentOrdinal(),o=Object.assign({},w,t),i=R({instance:e,providedFormat:t,state:n}),a=r(e._value);return`${i}${o.spaceSeparated?" ":""}${a}`}(e,t=C(t,y.currentOrdinalDefaultFormat()),y);default:return R({instance:e,providedFormat:t,numbro:n})}}(e,t,n);return i=function(e,t){return t+e}(i,r),i=function(e,t){return e+t}(i,o),i}function q(e,t,n){let r=t[0],o=Math.abs(e);if(o>=n){for(let i=1;i=a&&o2&&void 0!==arguments[2]?arguments[2]:Math.round;return-1!==e.toString().indexOf("e")?function(e,t){let n=e.toString(),[r,o]=n.split("e"),[i,a=""]=r.split(".");if(+o>0)n=i+a+T(o-a.length);else{let e=".";e=+i<0?`-0${e}`:`0${e}`;let r=(T(-o-1)+Math.abs(i)+a).substr(0,t);r.length0&&t>0&&(n+=`.${T(t)}`),n}(e,t):new A(n(+`${e}e+${t}`)/Math.pow(10,t)).toFixed(t)}function R(e){let{instance:t,providedFormat:n,state:r=y,decimalSeparator:o,defaults:i=r.currentDefaults()}=e,a=t._value;if(0===a&&r.hasZeroFormat())return r.getZeroFormat();if(!isFinite(a))return a.toString();let s=Object.assign({},w,i,n),l=s.totalLength,c=l?0:s.characteristic,u=s.optionalCharacteristic,p=s.forceAverage,d=s.lowPrecision,b=!!l||!!p||s.average,f=l?-1:b&&void 0===n.mantissa?0:s.mantissa,h=!l&&(void 0===n.optionalMantissa?-1===f:s.optionalMantissa),m=s.trimMantissa,g=s.thousandSeparated,O=s.spaceSeparated,M=s.negative,z=s.forceSign,A=s.exponential,S=s.roundingFunction,x="";if(b){let e=function(e){let{value:t,forceAverage:n,lowPrecision:r=!0,abbreviations:o,spaceSeparated:i=!1,totalLength:a=0,roundingFunction:s=Math.round}=e,l="",c=Math.abs(t),u=-1;if(n&&o[n]&&v[n]?(l=o[n],t/=v[n]):c>=v.trillion||r&&1===s(c/v.trillion)?(l=o.trillion,t/=v.trillion):c=v.billion||r&&1===s(c/v.billion)?(l=o.billion,t/=v.billion):c=v.million||r&&1===s(c/v.million)?(l=o.million,t/=v.million):(c=v.thousand||r&&1===s(c/v.thousand))&&(l=o.thousand,t/=v.thousand),l&&(l=(i?" ":"")+l),a){let e=t<0,n=t.toString().split(".")[0],r=e?n.length-1:n.length;u=Math.max(a-r,0)}return{value:t,abbreviation:l,mantissaPrecision:u}}({value:a,forceAverage:p,lowPrecision:d,abbreviations:r.currentAbbreviations(),spaceSeparated:O,roundingFunction:S,totalLength:l});a=e.value,x+=e.abbreviation,l&&(f=e.mantissaPrecision)}if(A){let e=function(e){let{value:t,characteristicPrecision:n}=e,[r,o]=t.toExponential().split("e"),i=+r;return n?(1=0?`+${o}`:o),{value:i,abbreviation:`e${o}`}):{value:i,abbreviation:`e${o}`}}({value:a,characteristicPrecision:c});a=e.value,x=e.abbreviation+x}let E=function(e,t,n,r,o,i){if(-1===r)return e;let a=_(t,r,i),[s,l=""]=a.toString().split(".");if(l.match(/^0+$/)&&(n||o))return s;let c=l.match(/0+$/);return o&&c?`${s}.${l.toString().slice(0,c.index)}`:a.toString()}(a.toString(),a,h,f,m,S);return E=function(e,t,n,r){let o=e,[i,a]=o.toString().split(".");if(i.match(/^-?0$/)&&n)return a?`${i.replace("0","")}.${a}`:i.replace("0","");const s=t<0&&0===i.indexOf("-");if(s&&(i=i.slice(1),o=o.slice(1)),i.length0;o--)r===t&&(n.unshift(o),r=0),r++;return n}(c.length,s);e.forEach(((e,t)=>{c=c.slice(0,e+t)+a+c.slice(e+t)})),p&&(c=`-${c}`)}return l=u?c+o+u:c,l}(E,a,g,r,o),(b||A)&&(E=function(e,t){return e+t}(E,x)),(z||a<0)&&(E=function(e,t,n){return 0===t?e:0==+e?e.replace("-",""):t>0?`+${e}`:"sign"===n?e:`(${e.replace("-","")})`}(E,a,M)),E}function C(e,t){if(!e)return t;let n=Object.keys(e);return 1===n.length&&"output"===n[0]?t:e}const N=O;function I(e,t,n){let r=new N(e._value),o=t;return n.isNumbro(t)&&(o=t._value),o=new N(o),e._value=r.minus(o).toNumber(),e}const W=h(),P=p(),L=(e=>({loadLanguagesInNode:t=>m(t,e)}))(H),j=u();let D=(e=>({format:function(){for(var t=arguments.length,n=new Array(t),r=0;r({add:(t,n)=>function(e,t,n){let r=new N(e._value),o=t;return n.isNumbro(t)&&(o=t._value),o=new N(o),e._value=r.plus(o).toNumber(),e}(t,n,e),subtract:(t,n)=>I(t,n,e),multiply:(t,n)=>function(e,t,n){let r=new N(e._value),o=t;return n.isNumbro(t)&&(o=t._value),o=new N(o),e._value=r.times(o).toNumber(),e}(t,n,e),divide:(t,n)=>function(e,t,n){let r=new N(e._value),o=t;return n.isNumbro(t)&&(o=t._value),o=new N(o),e._value=r.dividedBy(o).toNumber(),e}(t,n,e),set:(t,n)=>function(e,t,n){let r=t;return n.isNumbro(t)&&(r=t._value),e._value=r,e}(t,n,e),difference:(t,n)=>function(e,t,n){let r=n(e._value);return I(r,t,n),Math.abs(r._value)}(t,n,e),BigNumber:N}))(H);const F=f;class V{constructor(e){this._value=e}clone(){return H(this._value)}format(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return D.format(this,e)}formatCurrency(e){return"string"==typeof e&&(e=F.parseFormat(e)),(e=D.formatOrDefault(e,W.currentCurrencyDefaultFormat())).output="currency",D.format(this,e)}formatTime(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return e.output="time",D.format(this,e)}binaryByteUnits(){return D.getBinaryByteUnit(this)}decimalByteUnits(){return D.getDecimalByteUnit(this)}byteUnits(){return D.getByteUnit(this)}difference(e){return B.difference(this,e)}add(e){return B.add(this,e)}subtract(e){return B.subtract(this,e)}multiply(e){return B.multiply(this,e)}divide(e){return B.divide(this,e)}set(e){return B.set(this,U(e))}value(){return this._value}valueOf(){return this._value}}function U(e){let t=e;return H.isNumbro(e)?t=e._value:"string"==typeof e?t=H.unformat(e):isNaN(e)&&(t=NaN),t}function H(e){return new V(U(e))}return H.version="2.5.0",H.isNumbro=function(e){return e instanceof V},H.language=W.currentLanguage,H.registerLanguage=W.registerLanguage,H.setLanguage=W.setLanguage,H.languages=W.languages,H.languageData=W.languageData,H.zeroFormat=W.setZeroFormat,H.defaultFormat=W.currentDefaults,H.setDefaults=W.setDefaults,H.defaultCurrencyFormat=W.currentCurrencyDefaultFormat,H.validate=P.validate,H.loadLanguagesInNode=L.loadLanguagesInNode,H.unformat=j.unformat,H.BigNumber=B.BigNumber,l(H)}()},22523:e=>{"use strict";function t(e){if("string"!==typeof e)throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}function n(e,t){for(var n,r="",o=0,i=-1,a=0,s=0;s<=e.length;++s){if(s2){var l=r.lastIndexOf("/");if(l!==r.length-1){-1===l?(r="",o=0):o=(r=r.slice(0,l)).length-1-r.lastIndexOf("/"),i=s,a=0;continue}}else if(2===r.length||1===r.length){r="",o=0,i=s,a=0;continue}t&&(r.length>0?r+="/..":r="..",o=2)}else r.length>0?r+="/"+e.slice(i+1,s):r=e.slice(i+1,s),o=s-i-1;i=s,a=0}else 46===n&&-1!==a?++a:a=-1}return r}var r={resolve:function(){for(var e,r="",o=!1,i=arguments.length-1;i>=-1&&!o;i--){var a;i>=0?a=arguments[i]:(void 0===e&&(e=process.cwd()),a=e),t(a),0!==a.length&&(r=a+"/"+r,o=47===a.charCodeAt(0))}return r=n(r,!o),o?r.length>0?"/"+r:"/":r.length>0?r:"."},normalize:function(e){if(t(e),0===e.length)return".";var r=47===e.charCodeAt(0),o=47===e.charCodeAt(e.length-1);return 0!==(e=n(e,!r)).length||r||(e="."),e.length>0&&o&&(e+="/"),r?"/"+e:e},isAbsolute:function(e){return t(e),e.length>0&&47===e.charCodeAt(0)},join:function(){if(0===arguments.length)return".";for(var e,n=0;n0&&(void 0===e?e=o:e+="/"+o)}return void 0===e?".":r.normalize(e)},relative:function(e,n){if(t(e),t(n),e===n)return"";if((e=r.resolve(e))===(n=r.resolve(n)))return"";for(var o=1;oc){if(47===n.charCodeAt(s+p))return n.slice(s+p+1);if(0===p)return n.slice(s+p)}else a>c&&(47===e.charCodeAt(o+p)?u=p:0===p&&(u=0));break}var d=e.charCodeAt(o+p);if(d!==n.charCodeAt(s+p))break;47===d&&(u=p)}var b="";for(p=o+u+1;p<=i;++p)p!==i&&47!==e.charCodeAt(p)||(0===b.length?b+="..":b+="/..");return b.length>0?b+n.slice(s+u):(s+=u,47===n.charCodeAt(s)&&++s,n.slice(s))},_makeLong:function(e){return e},dirname:function(e){if(t(e),0===e.length)return".";for(var n=e.charCodeAt(0),r=47===n,o=-1,i=!0,a=e.length-1;a>=1;--a)if(47===(n=e.charCodeAt(a))){if(!i){o=a;break}}else i=!1;return-1===o?r?"/":".":r&&1===o?"//":e.slice(0,o)},basename:function(e,n){if(void 0!==n&&"string"!==typeof n)throw new TypeError('"ext" argument must be a string');t(e);var r,o=0,i=-1,a=!0;if(void 0!==n&&n.length>0&&n.length<=e.length){if(n.length===e.length&&n===e)return"";var s=n.length-1,l=-1;for(r=e.length-1;r>=0;--r){var c=e.charCodeAt(r);if(47===c){if(!a){o=r+1;break}}else-1===l&&(a=!1,l=r+1),s>=0&&(c===n.charCodeAt(s)?-1===--s&&(i=r):(s=-1,i=l))}return o===i?i=l:-1===i&&(i=e.length),e.slice(o,i)}for(r=e.length-1;r>=0;--r)if(47===e.charCodeAt(r)){if(!a){o=r+1;break}}else-1===i&&(a=!1,i=r+1);return-1===i?"":e.slice(o,i)},extname:function(e){t(e);for(var n=-1,r=0,o=-1,i=!0,a=0,s=e.length-1;s>=0;--s){var l=e.charCodeAt(s);if(47!==l)-1===o&&(i=!1,o=s+1),46===l?-1===n?n=s:1!==a&&(a=1):-1!==n&&(a=-1);else if(!i){r=s+1;break}}return-1===n||-1===o||0===a||1===a&&n===o-1&&n===r+1?"":e.slice(n,o)},format:function(e){if(null===e||"object"!==typeof e)throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof e);return function(e,t){var n=t.dir||t.root,r=t.base||(t.name||"")+(t.ext||"");return n?n===t.root?n+r:n+e+r:r}("/",e)},parse:function(e){t(e);var n={root:"",dir:"",base:"",ext:"",name:""};if(0===e.length)return n;var r,o=e.charCodeAt(0),i=47===o;i?(n.root="/",r=1):r=0;for(var a=-1,s=0,l=-1,c=!0,u=e.length-1,p=0;u>=r;--u)if(47!==(o=e.charCodeAt(u)))-1===l&&(c=!1,l=u+1),46===o?-1===a?a=u:1!==p&&(p=1):-1!==a&&(p=-1);else if(!c){s=u+1;break}return-1===a||-1===l||0===p||1===p&&a===l-1&&a===s+1?-1!==l&&(n.base=n.name=0===s&&i?e.slice(1,l):e.slice(s,l)):(0===s&&i?(n.name=e.slice(1,a),n.base=e.slice(1,l)):(n.name=e.slice(s,a),n.base=e.slice(s,l)),n.ext=e.slice(a,l)),s>0?n.dir=e.slice(0,s-1):i&&(n.dir="/"),n},sep:"/",delimiter:":",win32:null,posix:null};r.posix=r,e.exports=r},29091:(e,t,n)=>{"use strict";t.__esModule=!0,t.default=void 0;var r=a(n(52007)),o=a(n(20992)),i=a(n(99155));function a(e){return e&&e.__esModule?e:{default:e}}function s(){return s=Object.assign||function(e){for(var t=1;t{"use strict";t.__esModule=!0,t.default=function(e){if("string"!==typeof e)throw new i.default(3);var t=(0,o.default)(e);if(t.match(s))return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16)};if(t.match(l)){var n=parseFloat((parseInt(""+t[7]+t[8],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16),alpha:n}}if(t.match(c))return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16)};if(t.match(u)){var a=parseFloat((parseInt(""+t[4]+t[4],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16),alpha:a}}var h=p.exec(t);if(h)return{red:parseInt(""+h[1],10),green:parseInt(""+h[2],10),blue:parseInt(""+h[3],10)};var m=d.exec(t.substring(0,50));if(m)return{red:parseInt(""+m[1],10),green:parseInt(""+m[2],10),blue:parseInt(""+m[3],10),alpha:parseFloat(""+m[4])};var g=b.exec(t);if(g){var O=parseInt(""+g[1],10),y=parseInt(""+g[2],10)/100,M=parseInt(""+g[3],10)/100,z="rgb("+(0,r.default)(O,y,M)+")",A=p.exec(z);if(!A)throw new i.default(4,t,z);return{red:parseInt(""+A[1],10),green:parseInt(""+A[2],10),blue:parseInt(""+A[3],10)}}var v=f.exec(t.substring(0,50));if(v){var w=parseInt(""+v[1],10),S=parseInt(""+v[2],10)/100,x=parseInt(""+v[3],10)/100,E="rgb("+(0,r.default)(w,S,x)+")",k=p.exec(E);if(!k)throw new i.default(4,t,E);return{red:parseInt(""+k[1],10),green:parseInt(""+k[2],10),blue:parseInt(""+k[3],10),alpha:parseFloat(""+v[4])}}throw new i.default(5)};var r=a(n(1222)),o=a(n(31886)),i=a(n(77217));function a(e){return e&&e.__esModule?e:{default:e}}var s=/^#[a-fA-F0-9]{6}$/,l=/^#[a-fA-F0-9]{8}$/,c=/^#[a-fA-F0-9]{3}$/,u=/^#[a-fA-F0-9]{4}$/,p=/^rgb\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*\)$/i,d=/^rgba\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*([-+]?[0-9]*[.]?[0-9]+)\s*\)$/i,b=/^hsl\(\s*(\d{0,3}[.]?[0-9]+)\s*,\s*(\d{1,3}[.]?[0-9]?)%\s*,\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i,f=/^hsla\(\s*(\d{0,3}[.]?[0-9]+)\s*,\s*(\d{1,3}[.]?[0-9]?)%\s*,\s*(\d{1,3}[.]?[0-9]?)%\s*,\s*([-+]?[0-9]*[.]?[0-9]+)\s*\)$/i;e.exports=t.default},27592:(e,t,n)=>{"use strict";t.__esModule=!0,t.default=function(e,t,n){if("number"===typeof e&&"number"===typeof t&&"number"===typeof n)return(0,r.default)("#"+(0,o.default)(e)+(0,o.default)(t)+(0,o.default)(n));if("object"===typeof e&&void 0===t&&void 0===n)return(0,r.default)("#"+(0,o.default)(e.red)+(0,o.default)(e.green)+(0,o.default)(e.blue));throw new i.default(6)};var r=a(n(73509)),o=a(n(24251)),i=a(n(77217));function a(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default},20992:(e,t,n)=>{"use strict";t.__esModule=!0,t.default=function(e,t,n,a){if("string"===typeof e&&"number"===typeof t){var s=(0,r.default)(e);return"rgba("+s.red+","+s.green+","+s.blue+","+t+")"}if("number"===typeof e&&"number"===typeof t&&"number"===typeof n&&"number"===typeof a)return a>=1?(0,o.default)(e,t,n):"rgba("+e+","+t+","+n+","+a+")";if("object"===typeof e&&void 0===t&&void 0===n&&void 0===a)return e.alpha>=1?(0,o.default)(e.red,e.green,e.blue):"rgba("+e.red+","+e.green+","+e.blue+","+e.alpha+")";throw new i.default(7)};var r=a(n(99155)),o=a(n(27592)),i=a(n(77217));function a(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default},8184:(e,t,n)=>{"use strict";t.__esModule=!0,t.default=void 0;var r=i(n(52007)),o=i(n(29091));function i(e){return e&&e.__esModule?e:{default:e}}function a(e,t){return"transparent"===t?t:(0,o.default)(parseFloat(e),"rgb(0, 0, 0)",t)}var s=(0,r.default)(a);t.default=s,e.exports=t.default},66381:(e,t,n)=>{"use strict";t.__esModule=!0,t.default=void 0;var r=i(n(52007)),o=i(n(29091));function i(e){return e&&e.__esModule?e:{default:e}}function a(e,t){return"transparent"===t?t:(0,o.default)(parseFloat(e),"rgb(255, 255, 255)",t)}var s=(0,r.default)(a);t.default=s,e.exports=t.default},52007:(e,t)=>{"use strict";function n(e,t,r){return function(){var o=r.concat(Array.prototype.slice.call(arguments));return o.length>=t?e.apply(this,o):n(e,t,o)}}t.__esModule=!0,t.default=function(e){return n(e,e.length,[])},e.exports=t.default},77217:(e,t)=>{"use strict";function n(e){var t="function"===typeof Map?new Map:void 0;return n=function(e){if(null===e||(n=e,-1===Function.toString.call(n).indexOf("[native code]")))return e;var n;if("function"!==typeof e)throw new TypeError("Super expression must either be null or a function");if("undefined"!==typeof t){if(t.has(e))return t.get(e);t.set(e,a)}function a(){return r(e,arguments,i(this).constructor)}return a.prototype=Object.create(e.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),o(a,e)},n(e)}function r(e,t,n){return r=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}()?Reflect.construct:function(e,t,n){var r=[null];r.push.apply(r,t);var i=new(Function.bind.apply(e,r));return n&&o(i,n.prototype),i},r.apply(null,arguments)}function o(e,t){return o=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},o(e,t)}function i(e){return i=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},i(e)}t.__esModule=!0,t.default=void 0;var a=function(e){var t,n;function r(t){return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e.call(this,"An error occurred. See https://github.com/styled-components/polished/blob/main/src/internalHelpers/errors.md#"+t+" for more information.")||this)}return n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,o(t,n),r}(n(Error));t.default=a,e.exports=t.default},1222:(e,t)=>{"use strict";function n(e){return Math.round(255*e)}function r(e,t,r){return n(e)+","+n(t)+","+n(r)}t.__esModule=!0,t.default=void 0;var o=function(e,t,n,o){if(void 0===o&&(o=r),0===t)return o(n,n,n);var i=(e%360+360)%360/60,a=(1-Math.abs(2*n-1))*t,s=a*(1-Math.abs(i%2-1)),l=0,c=0,u=0;i>=0&&i<1?(l=a,c=s):i>=1&&i<2?(l=s,c=a):i>=2&&i<3?(c=a,u=s):i>=3&&i<4?(c=s,u=a):i>=4&&i<5?(l=s,u=a):i>=5&&i<6&&(l=a,u=s);var p=n-a/2;return o(l+p,c+p,u+p)};t.default=o,e.exports=t.default},31886:(e,t)=>{"use strict";t.__esModule=!0,t.default=void 0;var n={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"639",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"};var r=function(e){if("string"!==typeof e)return e;var t=e.toLowerCase();return n[t]?"#"+n[t]:e};t.default=r,e.exports=t.default},24251:(e,t)=>{"use strict";t.__esModule=!0,t.default=void 0;var n=function(e){var t=e.toString(16);return 1===t.length?"0"+t:t};t.default=n,e.exports=t.default},73509:(e,t)=>{"use strict";t.__esModule=!0,t.default=void 0;var n=function(e){return 7===e.length&&e[1]===e[2]&&e[3]===e[4]&&e[5]===e[6]?"#"+e[1]+e[3]+e[5]:e};t.default=n,e.exports=t.default},42102:(e,t,n)=>{"use strict";var r=n(21369);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,a){if(a!==r){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}},24974:(e,t,n)=>{e.exports=n(42102)()},21369:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},37321:(e,t,n)=>{"use strict";e.exports=n(11908)},49378:(e,t,n)=>{"use strict";e.exports=n(93612)},67210:e=>{"use strict";e.exports=r;var t,n=/\/|\./;function r(e,t){n.test(e)||(e="google/protobuf/"+e+".proto",t={nested:{google:{nested:{protobuf:{nested:t}}}}}),r[e]=t}r("any",{Any:{fields:{type_url:{type:"string",id:1},value:{type:"bytes",id:2}}}}),r("duration",{Duration:t={fields:{seconds:{type:"int64",id:1},nanos:{type:"int32",id:2}}}}),r("timestamp",{Timestamp:t}),r("empty",{Empty:{fields:{}}}),r("struct",{Struct:{fields:{fields:{keyType:"string",type:"Value",id:1}}},Value:{oneofs:{kind:{oneof:["nullValue","numberValue","stringValue","boolValue","structValue","listValue"]}},fields:{nullValue:{type:"NullValue",id:1},numberValue:{type:"double",id:2},stringValue:{type:"string",id:3},boolValue:{type:"bool",id:4},structValue:{type:"Struct",id:5},listValue:{type:"ListValue",id:6}}},NullValue:{values:{NULL_VALUE:0}},ListValue:{fields:{values:{rule:"repeated",type:"Value",id:1}}}}),r("wrappers",{DoubleValue:{fields:{value:{type:"double",id:1}}},FloatValue:{fields:{value:{type:"float",id:1}}},Int64Value:{fields:{value:{type:"int64",id:1}}},UInt64Value:{fields:{value:{type:"uint64",id:1}}},Int32Value:{fields:{value:{type:"int32",id:1}}},UInt32Value:{fields:{value:{type:"uint32",id:1}}},BoolValue:{fields:{value:{type:"bool",id:1}}},StringValue:{fields:{value:{type:"string",id:1}}},BytesValue:{fields:{value:{type:"bytes",id:1}}}}),r("field_mask",{FieldMask:{fields:{paths:{rule:"repeated",type:"string",id:1}}}}),r.get=function(e){return r[e]||null}},15559:(e,t,n)=>{"use strict";var r=t,o=n(56284),i=n(6405);function a(e,t,n,r){var i=!1;if(t.resolvedType)if(t.resolvedType instanceof o){e("switch(d%s){",r);for(var a=t.resolvedType.values,s=Object.keys(a),l=0;l>>0",r,r);break;case"int32":case"sint32":case"sfixed32":e("m%s=d%s|0",r,r);break;case"uint64":c=!0;case"int64":case"sint64":case"fixed64":case"sfixed64":e("if(util.Long)")("(m%s=util.Long.fromValue(d%s)).unsigned=%j",r,r,c)('else if(typeof d%s==="string")',r)("m%s=parseInt(d%s,10)",r,r)('else if(typeof d%s==="number")',r)("m%s=d%s",r,r)('else if(typeof d%s==="object")',r)("m%s=new util.LongBits(d%s.low>>>0,d%s.high>>>0).toNumber(%s)",r,r,r,c?"true":"");break;case"bytes":e('if(typeof d%s==="string")',r)("util.base64.decode(d%s,m%s=util.newBuffer(util.base64.length(d%s)),0)",r,r,r)("else if(d%s.length >= 0)",r)("m%s=d%s",r,r);break;case"string":e("m%s=String(d%s)",r,r);break;case"bool":e("m%s=Boolean(d%s)",r,r)}}return e}function s(e,t,n,r){if(t.resolvedType)t.resolvedType instanceof o?e("d%s=o.enums===String?(types[%i].values[m%s]===undefined?m%s:types[%i].values[m%s]):m%s",r,n,r,r,n,r,r):e("d%s=types[%i].toObject(m%s,o)",r,n,r);else{var i=!1;switch(t.type){case"double":case"float":e("d%s=o.json&&!isFinite(m%s)?String(m%s):m%s",r,r,r,r);break;case"uint64":i=!0;case"int64":case"sint64":case"fixed64":case"sfixed64":e('if(typeof m%s==="number")',r)("d%s=o.longs===String?String(m%s):m%s",r,r,r)("else")("d%s=o.longs===String?util.Long.prototype.toString.call(m%s):o.longs===Number?new util.LongBits(m%s.low>>>0,m%s.high>>>0).toNumber(%s):m%s",r,r,r,r,i?"true":"",r);break;case"bytes":e("d%s=o.bytes===String?util.base64.encode(m%s,0,m%s.length):o.bytes===Array?Array.prototype.slice.call(m%s):m%s",r,r,r,r,r);break;default:e("d%s=m%s",r,r)}}return e}r.fromObject=function(e){var t=e.fieldsArray,n=i.codegen(["d"],e.name+"$fromObject")("if(d instanceof this.ctor)")("return d");if(!t.length)return n("return new this.ctor");n("var m=new this.ctor");for(var r=0;r{"use strict";e.exports=function(e){var t=i.codegen(["r","l"],e.name+"$decode")("if(!(r instanceof Reader))")("r=Reader.create(r)")("var c=l===undefined?r.len:r.pos+l,m=new this.ctor"+(e.fieldsArray.filter((function(e){return e.map})).length?",k,value":""))("while(r.pos>>3){");for(var n=0;n>>3){")("case 1: k=r.%s(); break",s.keyType)("case 2:"),void 0===o.basic[l]?t("value=types[%i].decode(r,r.uint32())",n):t("value=r.%s()",l),t("break")("default:")("r.skipType(tag2&7)")("break")("}")("}"),void 0!==o.long[s.keyType]?t('%s[typeof k==="object"?util.longToHash(k):k]=value',c):t("%s[k]=value",c)):s.repeated?(t("if(!(%s&&%s.length))",c,c)("%s=[]",c),void 0!==o.packed[l]&&t("if((t&7)===2){")("var c2=r.uint32()+r.pos")("while(r.pos{"use strict";e.exports=function(e){for(var t,n=i.codegen(["m","w"],e.name+"$encode")("if(!w)")("w=Writer.create()"),s=e.fieldsArray.slice().sort(i.compareFieldsById),l=0;l>>0,8|o.mapKey[c.keyType],c.keyType),void 0===d?n("types[%i].encode(%s[ks[i]],w.uint32(18).fork()).ldelim().ldelim()",u,t):n(".uint32(%i).%s(%s[ks[i]]).ldelim()",16|d,p,t),n("}")("}")):c.repeated?(n("if(%s!=null&&%s.length){",t,t),c.packed&&void 0!==o.packed[p]?n("w.uint32(%i).fork()",(c.id<<3|2)>>>0)("for(var i=0;i<%s.length;++i)",t)("w.%s(%s[i])",p,t)("w.ldelim()"):(n("for(var i=0;i<%s.length;++i)",t),void 0===d?a(n,c,u,t+"[i]"):n("w.uint32(%i).%s(%s[i])",(c.id<<3|d)>>>0,p,t)),n("}")):(c.optional&&n("if(%s!=null&&Object.hasOwnProperty.call(m,%j))",t,c.name),void 0===d?a(n,c,u,t):n("w.uint32(%i).%s(%s)",(c.id<<3|d)>>>0,p,t))}return n("return w")};var r=n(56284),o=n(94988),i=n(6405);function a(e,t,n,r){return t.resolvedType.group?e("types[%i].encode(%s,w.uint32(%i)).uint32(%i)",n,r,(t.id<<3|3)>>>0,(t.id<<3|4)>>>0):e("types[%i].encode(%s,w.uint32(%i).fork()).ldelim()",n,r,(t.id<<3|2)>>>0)}},56284:(e,t,n)=>{"use strict";e.exports=a;var r=n(86216);((a.prototype=Object.create(r.prototype)).constructor=a).className="Enum";var o=n(21562),i=n(6405);function a(e,t,n,o,i,a){if(r.call(this,e,n),t&&"object"!==typeof t)throw TypeError("values must be an object");if(this.valuesById={},this.values=Object.create(this.valuesById),this.comment=o,this.comments=i||{},this.valuesOptions=a,this.reserved=void 0,t)for(var s=Object.keys(t),l=0;l{"use strict";e.exports=c;var r=n(86216);((c.prototype=Object.create(r.prototype)).constructor=c).className="Field";var o,i=n(56284),a=n(94988),s=n(6405),l=/^required|optional|repeated$/;function c(e,t,n,o,i,c,u){if(s.isObject(o)?(u=i,c=o,o=i=void 0):s.isObject(i)&&(u=c,c=i,i=void 0),r.call(this,e,c),!s.isInteger(t)||t<0)throw TypeError("id must be a non-negative integer");if(!s.isString(n))throw TypeError("type must be a string");if(void 0!==o&&!l.test(o=o.toString().toLowerCase()))throw TypeError("rule must be a string rule");if(void 0!==i&&!s.isString(i))throw TypeError("extend must be a string");"proto3_optional"===o&&(o="optional"),this.rule=o&&"optional"!==o?o:void 0,this.type=n,this.id=t,this.extend=i||void 0,this.required="required"===o,this.optional=!this.required,this.repeated="repeated"===o,this.map=!1,this.message=null,this.partOf=null,this.typeDefault=null,this.defaultValue=null,this.long=!!s.Long&&void 0!==a.long[n],this.bytes="bytes"===n,this.resolvedType=null,this.extensionField=null,this.declaringField=null,this._packed=null,this.comment=u}c.fromJSON=function(e,t){return new c(e,t.id,t.type,t.rule,t.extend,t.options,t.comment)},Object.defineProperty(c.prototype,"packed",{get:function(){return null===this._packed&&(this._packed=!1!==this.getOption("packed")),this._packed}}),c.prototype.setOption=function(e,t,n){return"packed"===e&&(this._packed=null),r.prototype.setOption.call(this,e,t,n)},c.prototype.toJSON=function(e){var t=!!e&&Boolean(e.keepComments);return s.toObject(["rule","optional"!==this.rule&&this.rule||void 0,"type",this.type,"id",this.id,"extend",this.extend,"options",this.options,"comment",t?this.comment:void 0])},c.prototype.resolve=function(){if(this.resolved)return this;if(void 0===(this.typeDefault=a.defaults[this.type])?(this.resolvedType=(this.declaringField?this.declaringField.parent:this.parent).lookupTypeOrEnum(this.type),this.resolvedType instanceof o?this.typeDefault=null:this.typeDefault=this.resolvedType.values[Object.keys(this.resolvedType.values)[0]]):this.options&&this.options.proto3_optional&&(this.typeDefault=null),this.options&&null!=this.options.default&&(this.typeDefault=this.options.default,this.resolvedType instanceof i&&"string"===typeof this.typeDefault&&(this.typeDefault=this.resolvedType.values[this.typeDefault])),this.options&&(!0!==this.options.packed&&(void 0===this.options.packed||!this.resolvedType||this.resolvedType instanceof i)||delete this.options.packed,Object.keys(this.options).length||(this.options=void 0)),this.long)this.typeDefault=s.Long.fromNumber(this.typeDefault,"u"===this.type.charAt(0)),Object.freeze&&Object.freeze(this.typeDefault);else if(this.bytes&&"string"===typeof this.typeDefault){var e;s.base64.test(this.typeDefault)?s.base64.decode(this.typeDefault,e=s.newBuffer(s.base64.length(this.typeDefault)),0):s.utf8.write(this.typeDefault,e=s.newBuffer(s.utf8.length(this.typeDefault)),0),this.typeDefault=e}return this.map?this.defaultValue=s.emptyObject:this.repeated?this.defaultValue=s.emptyArray:this.defaultValue=this.typeDefault,this.parent instanceof o&&(this.parent.ctor.prototype[this.name]=this.defaultValue),r.prototype.resolve.call(this)},c.d=function(e,t,n,r){return"function"===typeof t?t=s.decorateType(t).name:t&&"object"===typeof t&&(t=s.decorateEnum(t).name),function(o,i){s.decorateType(o.constructor).add(new c(i,e,t,n,{default:r}))}},c._configure=function(e){o=e}},4143:(e,t,n)=>{"use strict";var r=e.exports=n(93612);r.build="light",r.load=function(e,t,n){return"function"===typeof t?(n=t,t=new r.Root):t||(t=new r.Root),t.load(e,n)},r.loadSync=function(e,t){return t||(t=new r.Root),t.loadSync(e)},r.encoder=n(76255),r.decoder=n(61670),r.verifier=n(72743),r.converter=n(15559),r.ReflectionObject=n(86216),r.Namespace=n(21562),r.Root=n(12151),r.Enum=n(56284),r.Type=n(61850),r.Field=n(24967),r.OneOf=n(84908),r.MapField=n(10236),r.Service=n(58040),r.Method=n(44894),r.Message=n(19157),r.wrappers=n(94441),r.types=n(94988),r.util=n(6405),r.ReflectionObject._configure(r.Root),r.Namespace._configure(r.Type,r.Service,r.Enum),r.Root._configure(r.Type),r.Field._configure(r.Type)},93612:(e,t,n)=>{"use strict";var r=t;function o(){r.util._configure(),r.Writer._configure(r.BufferWriter),r.Reader._configure(r.BufferReader)}r.build="minimal",r.Writer=n(34075),r.BufferWriter=n(15446),r.Reader=n(92694),r.BufferReader=n(22015),r.util=n(7692),r.rpc=n(9760),r.roots=n(42860),r.configure=o,o()},11908:(e,t,n)=>{"use strict";var r=e.exports=n(4143);r.build="full",r.tokenize=n(66510),r.parse=n(54836),r.common=n(67210),r.Root._configure(r.Type,r.parse,r.common)},10236:(e,t,n)=>{"use strict";e.exports=a;var r=n(24967);((a.prototype=Object.create(r.prototype)).constructor=a).className="MapField";var o=n(94988),i=n(6405);function a(e,t,n,o,a,s){if(r.call(this,e,t,o,void 0,void 0,a,s),!i.isString(n))throw TypeError("keyType must be a string");this.keyType=n,this.resolvedKeyType=null,this.map=!0}a.fromJSON=function(e,t){return new a(e,t.id,t.keyType,t.type,t.options,t.comment)},a.prototype.toJSON=function(e){var t=!!e&&Boolean(e.keepComments);return i.toObject(["keyType",this.keyType,"type",this.type,"id",this.id,"extend",this.extend,"options",this.options,"comment",t?this.comment:void 0])},a.prototype.resolve=function(){if(this.resolved)return this;if(void 0===o.mapKey[this.keyType])throw Error("invalid key type: "+this.keyType);return r.prototype.resolve.call(this)},a.d=function(e,t,n){return"function"===typeof n?n=i.decorateType(n).name:n&&"object"===typeof n&&(n=i.decorateEnum(n).name),function(r,o){i.decorateType(r.constructor).add(new a(o,e,t,n))}}},19157:(e,t,n)=>{"use strict";e.exports=o;var r=n(7692);function o(e){if(e)for(var t=Object.keys(e),n=0;n{"use strict";e.exports=i;var r=n(86216);((i.prototype=Object.create(r.prototype)).constructor=i).className="Method";var o=n(6405);function i(e,t,n,i,a,s,l,c,u){if(o.isObject(a)?(l=a,a=s=void 0):o.isObject(s)&&(l=s,s=void 0),void 0!==t&&!o.isString(t))throw TypeError("type must be a string");if(!o.isString(n))throw TypeError("requestType must be a string");if(!o.isString(i))throw TypeError("responseType must be a string");r.call(this,e,l),this.type=t||"rpc",this.requestType=n,this.requestStream=!!a||void 0,this.responseType=i,this.responseStream=!!s||void 0,this.resolvedRequestType=null,this.resolvedResponseType=null,this.comment=c,this.parsedOptions=u}i.fromJSON=function(e,t){return new i(e,t.type,t.requestType,t.responseType,t.requestStream,t.responseStream,t.options,t.comment,t.parsedOptions)},i.prototype.toJSON=function(e){var t=!!e&&Boolean(e.keepComments);return o.toObject(["type","rpc"!==this.type&&this.type||void 0,"requestType",this.requestType,"requestStream",this.requestStream,"responseType",this.responseType,"responseStream",this.responseStream,"options",this.options,"comment",t?this.comment:void 0,"parsedOptions",this.parsedOptions])},i.prototype.resolve=function(){return this.resolved?this:(this.resolvedRequestType=this.parent.lookupType(this.requestType),this.resolvedResponseType=this.parent.lookupType(this.responseType),r.prototype.resolve.call(this))}},21562:(e,t,n)=>{"use strict";e.exports=p;var r=n(86216);((p.prototype=Object.create(r.prototype)).constructor=p).className="Namespace";var o,i,a,s=n(24967),l=n(6405),c=n(84908);function u(e,t){if(e&&e.length){for(var n={},r=0;rt)return!0;return!1},p.isReservedName=function(e,t){if(e)for(var n=0;n0;){var r=e.shift();if(n.nested&&n.nested[r]){if(!((n=n.nested[r])instanceof p))throw Error("path conflicts with non-namespace objects")}else n.add(n=new p(r))}return t&&n.addJSON(t),n},p.prototype.resolveAll=function(){for(var e=this.nestedArray,t=0;t-1)return r}else if(r instanceof p&&(r=r.lookup(e.slice(1),t,!0)))return r}else for(var o=0;o{"use strict";e.exports=i,i.className="ReflectionObject";var r,o=n(6405);function i(e,t){if(!o.isString(e))throw TypeError("name must be a string");if(t&&!o.isObject(t))throw TypeError("options must be an object");this.options=t,this.parsedOptions=null,this.name=e,this.parent=null,this.resolved=!1,this.comment=null,this.filename=null}Object.defineProperties(i.prototype,{root:{get:function(){for(var e=this;null!==e.parent;)e=e.parent;return e}},fullName:{get:function(){for(var e=[this.name],t=this.parent;t;)e.unshift(t.name),t=t.parent;return e.join(".")}}}),i.prototype.toJSON=function(){throw Error()},i.prototype.onAdd=function(e){this.parent&&this.parent!==e&&this.parent.remove(this),this.parent=e,this.resolved=!1;var t=e.root;t instanceof r&&t._handleAdd(this)},i.prototype.onRemove=function(e){var t=e.root;t instanceof r&&t._handleRemove(this),this.parent=null,this.resolved=!1},i.prototype.resolve=function(){return this.resolved||this.root instanceof r&&(this.resolved=!0),this},i.prototype.getOption=function(e){if(this.options)return this.options[e]},i.prototype.setOption=function(e,t,n){return n&&this.options&&void 0!==this.options[e]||((this.options||(this.options={}))[e]=t),this},i.prototype.setParsedOption=function(e,t,n){this.parsedOptions||(this.parsedOptions=[]);var r=this.parsedOptions;if(n){var i=r.find((function(t){return Object.prototype.hasOwnProperty.call(t,e)}));if(i){var a=i[e];o.setProperty(a,n,t)}else(i={})[e]=o.setProperty({},n,t),r.push(i)}else{var s={};s[e]=t,r.push(s)}return this},i.prototype.setOptions=function(e,t){if(e)for(var n=Object.keys(e),r=0;r{"use strict";e.exports=a;var r=n(86216);((a.prototype=Object.create(r.prototype)).constructor=a).className="OneOf";var o=n(24967),i=n(6405);function a(e,t,n,o){if(Array.isArray(t)||(n=t,t=void 0),r.call(this,e,n),void 0!==t&&!Array.isArray(t))throw TypeError("fieldNames must be an Array");this.oneof=t||[],this.fieldsArray=[],this.comment=o}function s(e){if(e.parent)for(var t=0;t-1&&this.oneof.splice(t,1),e.partOf=null,this},a.prototype.onAdd=function(e){r.prototype.onAdd.call(this,e);for(var t=0;t{"use strict";e.exports=w,w.filename=null,w.defaults={keepCase:!1};var r=n(66510),o=n(12151),i=n(61850),a=n(24967),s=n(10236),l=n(84908),c=n(56284),u=n(58040),p=n(44894),d=n(94988),b=n(6405),f=/^[1-9][0-9]*$/,h=/^-?[1-9][0-9]*$/,m=/^0[x][0-9a-fA-F]+$/,g=/^-?0[x][0-9a-fA-F]+$/,O=/^0[0-7]+$/,y=/^-?0[0-7]+$/,M=/^(?![eE])[0-9]*(?:\.[0-9]*)?(?:[eE][+-]?[0-9]+)?$/,z=/^[a-zA-Z_][a-zA-Z_0-9]*$/,A=/^(?:\.?[a-zA-Z_][a-zA-Z_0-9]*)(?:\.[a-zA-Z_][a-zA-Z_0-9]*)*$/,v=/^(?:\.[a-zA-Z_][a-zA-Z_0-9]*)+$/;function w(e,t,n){t instanceof o||(n=t,t=new o),n||(n=w.defaults);var S,x,E,k,q,T=n.preferTrailingComment||!1,_=r(e,n.alternateCommentMode||!1),R=_.next,C=_.push,N=_.peek,I=_.skip,W=_.cmnt,P=!0,L=!1,j=t,D=n.keepCase?function(e){return e}:b.camelCase;function B(e,t,n){var r=w.filename;return n||(w.filename=null),Error("illegal "+(t||"token")+" '"+e+"' ("+(r?r+", ":"")+"line "+_.line+")")}function F(){var e,t=[];do{if('"'!==(e=R())&&"'"!==e)throw B(e);t.push(R()),I(e),e=N()}while('"'===e||"'"===e);return t.join("")}function V(e){var t=R();switch(t){case"'":case'"':return C(t),F();case"true":case"TRUE":return!0;case"false":case"FALSE":return!1}try{return function(e,t){var n=1;"-"===e.charAt(0)&&(n=-1,e=e.substring(1));switch(e){case"inf":case"INF":case"Inf":return n*(1/0);case"nan":case"NAN":case"Nan":case"NaN":return NaN;case"0":return 0}if(f.test(e))return n*parseInt(e,10);if(m.test(e))return n*parseInt(e,16);if(O.test(e))return n*parseInt(e,8);if(M.test(e))return n*parseFloat(e);throw B(e,"number",t)}(t,!0)}catch(n){if(e&&A.test(t))return t;throw B(t,"value")}}function U(e,t){var n,r;do{!t||'"'!==(n=N())&&"'"!==n?e.push([r=H(R()),I("to",!0)?H(R()):r]):e.push(F())}while(I(",",!0));I(";")}function H(e,t){switch(e){case"max":case"MAX":case"Max":return 536870911;case"0":return 0}if(!t&&"-"===e.charAt(0))throw B(e,"id");if(h.test(e))return parseInt(e,10);if(g.test(e))return parseInt(e,16);if(y.test(e))return parseInt(e,8);throw B(e,"id")}function X(){if(void 0!==S)throw B("package");if(S=R(),!A.test(S))throw B(S,"name");j=j.define(S),I(";")}function G(){var e,t=N();switch(t){case"weak":e=E||(E=[]),R();break;case"public":R();default:e=x||(x=[])}t=F(),I(";"),e.push(t)}function $(){if(I("="),k=F(),!(L="proto3"===k)&&"proto2"!==k)throw B(k,"syntax");I(";")}function K(e,t){switch(t){case"option":return ee(e,t),I(";"),!0;case"message":return Z(e,t),!0;case"enum":return Q(e,t),!0;case"service":return function(e,t){if(!z.test(t=R()))throw B(t,"service name");var n=new u(t);Y(n,(function(e){if(!K(n,e)){if("rpc"!==e)throw B(e);!function(e,t){var n=W(),r=t;if(!z.test(t=R()))throw B(t,"name");var o,i,a,s,l=t;I("("),I("stream",!0)&&(i=!0);if(!A.test(t=R()))throw B(t);o=t,I(")"),I("returns"),I("("),I("stream",!0)&&(s=!0);if(!A.test(t=R()))throw B(t);a=t,I(")");var c=new p(l,r,o,a,i,s);c.comment=n,Y(c,(function(e){if("option"!==e)throw B(e);ee(c,e),I(";")})),e.add(c)}(n,e)}})),e.add(n)}(e,t),!0;case"extend":return function(e,t){if(!A.test(t=R()))throw B(t,"reference");var n=t;Y(null,(function(t){switch(t){case"required":case"repeated":J(e,t,n);break;case"optional":J(e,L?"proto3_optional":"optional",n);break;default:if(!L||!A.test(t))throw B(t);C(t),J(e,"optional",n)}}))}(e,t),!0}return!1}function Y(e,t,n){var r=_.line;if(e&&("string"!==typeof e.comment&&(e.comment=W()),e.filename=w.filename),I("{",!0)){for(var o;"}"!==(o=R());)t(o);I(";",!0)}else n&&n(),I(";"),e&&("string"!==typeof e.comment||T)&&(e.comment=W(r)||e.comment)}function Z(e,t){if(!z.test(t=R()))throw B(t,"type name");var n=new i(t);Y(n,(function(e){if(!K(n,e))switch(e){case"map":!function(e){I("<");var t=R();if(void 0===d.mapKey[t])throw B(t,"type");I(",");var n=R();if(!A.test(n))throw B(n,"type");I(">");var r=R();if(!z.test(r))throw B(r,"name");I("=");var o=new s(D(r),H(R()),t,n);Y(o,(function(e){if("option"!==e)throw B(e);ee(o,e),I(";")}),(function(){re(o)})),e.add(o)}(n);break;case"required":case"repeated":J(n,e);break;case"optional":J(n,L?"proto3_optional":"optional");break;case"oneof":!function(e,t){if(!z.test(t=R()))throw B(t,"name");var n=new l(D(t));Y(n,(function(e){"option"===e?(ee(n,e),I(";")):(C(e),J(n,"optional"))})),e.add(n)}(n,e);break;case"extensions":U(n.extensions||(n.extensions=[]));break;case"reserved":U(n.reserved||(n.reserved=[]),!0);break;default:if(!L||!A.test(e))throw B(e);C(e),J(n,"optional")}})),e.add(n)}function J(e,t,n){var r=R();if("group"!==r){for(;r.endsWith(".")||N().startsWith(".");)r+=R();if(!A.test(r))throw B(r,"type");var o=R();if(!z.test(o))throw B(o,"name");o=D(o),I("=");var s=new a(o,H(R()),r,t,n);if(Y(s,(function(e){if("option"!==e)throw B(e);ee(s,e),I(";")}),(function(){re(s)})),"proto3_optional"===t){var c=new l("_"+o);s.setOption("proto3_optional",!0),c.add(s),e.add(c)}else e.add(s);L||!s.repeated||void 0===d.packed[r]&&void 0!==d.basic[r]||s.setOption("packed",!1,!0)}else!function(e,t){var n=R();if(!z.test(n))throw B(n,"name");var r=b.lcFirst(n);n===r&&(n=b.ucFirst(n));I("=");var o=H(R()),s=new i(n);s.group=!0;var l=new a(r,o,n,t);l.filename=w.filename,Y(s,(function(e){switch(e){case"option":ee(s,e),I(";");break;case"required":case"repeated":J(s,e);break;case"optional":J(s,L?"proto3_optional":"optional");break;case"message":Z(s,e);break;case"enum":Q(s,e);break;default:throw B(e)}})),e.add(s).add(l)}(e,t)}function Q(e,t){if(!z.test(t=R()))throw B(t,"name");var n=new c(t);Y(n,(function(e){switch(e){case"option":ee(n,e),I(";");break;case"reserved":U(n.reserved||(n.reserved=[]),!0);break;default:!function(e,t){if(!z.test(t))throw B(t,"name");I("=");var n=H(R(),!0),r={options:void 0,setOption:function(e,t){void 0===this.options&&(this.options={}),this.options[e]=t}};Y(r,(function(e){if("option"!==e)throw B(e);ee(r,e),I(";")}),(function(){re(r)})),e.add(t,n,r.comment,r.options)}(n,e)}})),e.add(n)}function ee(e,t){var n=I("(",!0);if(!A.test(t=R()))throw B(t,"name");var r,o=t,i=o;n&&(I(")"),i=o="("+o+")",t=N(),v.test(t)&&(r=t.slice(1),o+=t,R())),I("="),function(e,t,n,r){e.setParsedOption&&e.setParsedOption(t,n,r)}(e,i,te(e,o),r)}function te(e,t){if(I("{",!0)){for(var n={};!I("}",!0);){if(!z.test(q=R()))throw B(q,"name");if(null===q)throw B(q,"end of input");var r,o=q;if(I(":",!0),"{"===N())r=te(e,t+"."+q);else if("["===N()){var i;if(r=[],I("[",!0)){do{i=V(!0),r.push(i)}while(I(",",!0));I("]"),"undefined"!==typeof i&&ne(e,t+"."+q,i)}}else r=V(!0),ne(e,t+"."+q,r);var a=n[o];a&&(r=[].concat(a).concat(r)),n[o]=r,I(",",!0),I(";",!0)}return n}var s=V(!0);return ne(e,t,s),s}function ne(e,t,n){e.setOption&&e.setOption(t,n)}function re(e){if(I("[",!0)){do{ee(e,"option")}while(I(",",!0));I("]")}return e}for(;null!==(q=R());)switch(q){case"package":if(!P)throw B(q);X();break;case"import":if(!P)throw B(q);G();break;case"syntax":if(!P)throw B(q);$();break;case"option":ee(j,q),I(";");break;default:if(K(j,q)){P=!1;continue}throw B(q)}return w.filename=null,{package:S,imports:x,weakImports:E,syntax:k,root:t}}},92694:(e,t,n)=>{"use strict";e.exports=l;var r,o=n(7692),i=o.LongBits,a=o.utf8;function s(e,t){return RangeError("index out of range: "+e.pos+" + "+(t||1)+" > "+e.len)}function l(e){this.buf=e,this.pos=0,this.len=e.length}var c="undefined"!==typeof Uint8Array?function(e){if(e instanceof Uint8Array||Array.isArray(e))return new l(e);throw Error("illegal buffer")}:function(e){if(Array.isArray(e))return new l(e);throw Error("illegal buffer")},u=function(){return o.Buffer?function(e){return(l.create=function(e){return o.Buffer.isBuffer(e)?new r(e):c(e)})(e)}:c};function p(){var e=new i(0,0),t=0;if(!(this.len-this.pos>4)){for(;t<3;++t){if(this.pos>=this.len)throw s(this);if(e.lo=(e.lo|(127&this.buf[this.pos])<<7*t)>>>0,this.buf[this.pos++]<128)return e}return e.lo=(e.lo|(127&this.buf[this.pos++])<<7*t)>>>0,e}for(;t<4;++t)if(e.lo=(e.lo|(127&this.buf[this.pos])<<7*t)>>>0,this.buf[this.pos++]<128)return e;if(e.lo=(e.lo|(127&this.buf[this.pos])<<28)>>>0,e.hi=(e.hi|(127&this.buf[this.pos])>>4)>>>0,this.buf[this.pos++]<128)return e;if(t=0,this.len-this.pos>4){for(;t<5;++t)if(e.hi=(e.hi|(127&this.buf[this.pos])<<7*t+3)>>>0,this.buf[this.pos++]<128)return e}else for(;t<5;++t){if(this.pos>=this.len)throw s(this);if(e.hi=(e.hi|(127&this.buf[this.pos])<<7*t+3)>>>0,this.buf[this.pos++]<128)return e}throw Error("invalid varint encoding")}function d(e,t){return(e[t-4]|e[t-3]<<8|e[t-2]<<16|e[t-1]<<24)>>>0}function b(){if(this.pos+8>this.len)throw s(this,8);return new i(d(this.buf,this.pos+=4),d(this.buf,this.pos+=4))}l.create=u(),l.prototype._slice=o.Array.prototype.subarray||o.Array.prototype.slice,l.prototype.uint32=function(){var e=4294967295;return function(){if(e=(127&this.buf[this.pos])>>>0,this.buf[this.pos++]<128)return e;if(e=(e|(127&this.buf[this.pos])<<7)>>>0,this.buf[this.pos++]<128)return e;if(e=(e|(127&this.buf[this.pos])<<14)>>>0,this.buf[this.pos++]<128)return e;if(e=(e|(127&this.buf[this.pos])<<21)>>>0,this.buf[this.pos++]<128)return e;if(e=(e|(15&this.buf[this.pos])<<28)>>>0,this.buf[this.pos++]<128)return e;if((this.pos+=5)>this.len)throw this.pos=this.len,s(this,10);return e}}(),l.prototype.int32=function(){return 0|this.uint32()},l.prototype.sint32=function(){var e=this.uint32();return e>>>1^-(1&e)|0},l.prototype.bool=function(){return 0!==this.uint32()},l.prototype.fixed32=function(){if(this.pos+4>this.len)throw s(this,4);return d(this.buf,this.pos+=4)},l.prototype.sfixed32=function(){if(this.pos+4>this.len)throw s(this,4);return 0|d(this.buf,this.pos+=4)},l.prototype.float=function(){if(this.pos+4>this.len)throw s(this,4);var e=o.float.readFloatLE(this.buf,this.pos);return this.pos+=4,e},l.prototype.double=function(){if(this.pos+8>this.len)throw s(this,4);var e=o.float.readDoubleLE(this.buf,this.pos);return this.pos+=8,e},l.prototype.bytes=function(){var e=this.uint32(),t=this.pos,n=this.pos+e;if(n>this.len)throw s(this,e);if(this.pos+=e,Array.isArray(this.buf))return this.buf.slice(t,n);if(t===n){var r=o.Buffer;return r?r.alloc(0):new this.buf.constructor(0)}return this._slice.call(this.buf,t,n)},l.prototype.string=function(){var e=this.bytes();return a.read(e,0,e.length)},l.prototype.skip=function(e){if("number"===typeof e){if(this.pos+e>this.len)throw s(this,e);this.pos+=e}else do{if(this.pos>=this.len)throw s(this)}while(128&this.buf[this.pos++]);return this},l.prototype.skipType=function(e){switch(e){case 0:this.skip();break;case 1:this.skip(8);break;case 2:this.skip(this.uint32());break;case 3:for(;4!==(e=7&this.uint32());)this.skipType(e);break;case 5:this.skip(4);break;default:throw Error("invalid wire type "+e+" at offset "+this.pos)}return this},l._configure=function(e){r=e,l.create=u(),r._configure();var t=o.Long?"toLong":"toNumber";o.merge(l.prototype,{int64:function(){return p.call(this)[t](!1)},uint64:function(){return p.call(this)[t](!0)},sint64:function(){return p.call(this).zzDecode()[t](!1)},fixed64:function(){return b.call(this)[t](!0)},sfixed64:function(){return b.call(this)[t](!1)}})}},22015:(e,t,n)=>{"use strict";e.exports=i;var r=n(92694);(i.prototype=Object.create(r.prototype)).constructor=i;var o=n(7692);function i(e){r.call(this,e)}i._configure=function(){o.Buffer&&(i.prototype._slice=o.Buffer.prototype.slice)},i.prototype.string=function(){var e=this.uint32();return this.buf.utf8Slice?this.buf.utf8Slice(this.pos,this.pos=Math.min(this.pos+e,this.len)):this.buf.toString("utf-8",this.pos,this.pos=Math.min(this.pos+e,this.len))},i._configure()},12151:(e,t,n)=>{"use strict";e.exports=p;var r=n(21562);((p.prototype=Object.create(r.prototype)).constructor=p).className="Root";var o,i,a,s=n(24967),l=n(56284),c=n(84908),u=n(6405);function p(e){r.call(this,"",e),this.deferred=[],this.files=[]}function d(){}p.fromJSON=function(e,t){return t||(t=new p),e.options&&t.setOptions(e.options),t.addJSON(e.nested)},p.prototype.resolvePath=u.path.resolve,p.prototype.fetch=u.fetch,p.prototype.load=function e(t,n,r){"function"===typeof n&&(r=n,n=void 0);var o=this;if(!r)return u.asPromise(e,o,t,n);var s=r===d;function l(e,t){if(r){var n=r;if(r=null,s)throw e;n(e,t)}}function c(e){var t=e.lastIndexOf("google/protobuf/");if(t>-1){var n=e.substring(t);if(n in a)return n}return null}function p(e,t){try{if(u.isString(t)&&"{"===t.charAt(0)&&(t=JSON.parse(t)),u.isString(t)){i.filename=e;var r,a=i(t,o,n),p=0;if(a.imports)for(;p-1))if(o.files.push(e),e in a)s?p(e,a[e]):(++f,setTimeout((function(){--f,p(e,a[e])})));else if(s){var n;try{n=u.fs.readFileSync(e).toString("utf8")}catch(i){return void(t||l(i))}p(e,n)}else++f,o.fetch(e,(function(n,i){--f,r&&(n?t?f||l(null,o):l(n):p(e,i))}))}var f=0;u.isString(t)&&(t=[t]);for(var h,m=0;m-1&&this.deferred.splice(t,1)}}else if(e instanceof l)b.test(e.name)&&delete e.parent[e.name];else if(e instanceof r){for(var n=0;n{"use strict";e.exports={}},9760:(e,t,n)=>{"use strict";t.Service=n(18382)},18382:(e,t,n)=>{"use strict";e.exports=o;var r=n(7692);function o(e,t,n){if("function"!==typeof e)throw TypeError("rpcImpl must be a function");r.EventEmitter.call(this),this.rpcImpl=e,this.requestDelimited=Boolean(t),this.responseDelimited=Boolean(n)}(o.prototype=Object.create(r.EventEmitter.prototype)).constructor=o,o.prototype.rpcCall=function e(t,n,o,i,a){if(!i)throw TypeError("request must be specified");var s=this;if(!a)return r.asPromise(e,s,t,n,o,i);if(s.rpcImpl)try{return s.rpcImpl(t,n[s.requestDelimited?"encodeDelimited":"encode"](i).finish(),(function(e,n){if(e)return s.emit("error",e,t),a(e);if(null!==n){if(!(n instanceof o))try{n=o[s.responseDelimited?"decodeDelimited":"decode"](n)}catch(e){return s.emit("error",e,t),a(e)}return s.emit("data",n,t),a(null,n)}s.end(!0)}))}catch(l){return s.emit("error",l,t),void setTimeout((function(){a(l)}),0)}else setTimeout((function(){a(Error("already ended"))}),0)},o.prototype.end=function(e){return this.rpcImpl&&(e||this.rpcImpl(null,null,null),this.rpcImpl=null,this.emit("end").off()),this}},58040:(e,t,n)=>{"use strict";e.exports=s;var r=n(21562);((s.prototype=Object.create(r.prototype)).constructor=s).className="Service";var o=n(44894),i=n(6405),a=n(9760);function s(e,t){r.call(this,e,t),this.methods={},this._methodsArray=null}function l(e){return e._methodsArray=null,e}s.fromJSON=function(e,t){var n=new s(e,t.options);if(t.methods)for(var r=Object.keys(t.methods),i=0;i{"use strict";e.exports=p;var t=/[\s{}=;:[\],'"()<>]/g,n=/(?:"([^"\\]*(?:\\.[^"\\]*)*)")/g,r=/(?:'([^'\\]*(?:\\.[^'\\]*)*)')/g,o=/^ *[*/]+ */,i=/^\s*\*?\/*/,a=/\n/g,s=/\s/,l=/\\(.?)/g,c={0:"\0",r:"\r",n:"\n",t:"\t"};function u(e){return e.replace(l,(function(e,t){switch(t){case"\\":case"":return t;default:return c[t]||""}}))}function p(e,l){e=e.toString();var c=0,p=e.length,d=1,b=0,f={},h=[],m=null;function g(e){return Error("illegal "+e+" (line "+d+")")}function O(t){return e.charAt(t)}function y(t,n,r){var s,c={type:e.charAt(t++),lineEmpty:!1,leading:r},u=t-(l?2:3);do{if(--u<0||"\n"===(s=e.charAt(u))){c.lineEmpty=!0;break}}while(" "===s||"\t"===s);for(var p=e.substring(t,n).split(a),h=0;h0)return h.shift();if(m)return function(){var t="'"===m?r:n;t.lastIndex=c-1;var o=t.exec(e);if(!o)throw g("string");return c=t.lastIndex,v(m),m=null,u(o[1])}();var o,i,a,b,f,A=0===c;do{if(c===p)return null;for(o=!1;s.test(a=O(c));)if("\n"===a&&(A=!0,++d),++c===p)return null;if("/"===O(c)){if(++c===p)throw g("comment");if("/"===O(c))if(l){if(b=c,f=!1,M(c-1)){f=!0;do{if((c=z(c))===p)break;if(c++,!A)break}while(M(c))}else c=Math.min(p,z(c)+1);f&&(y(b,c,A),A=!0),d++,o=!0}else{for(f="/"===O(b=c+1);"\n"!==O(++c);)if(c===p)return null;++c,f&&(y(b,c-1,A),A=!0),++d,o=!0}else{if("*"!==(a=O(c)))return"/";b=c+1,f=l||"*"===O(b);do{if("\n"===a&&++d,++c===p)throw g("comment");i=a,a=O(c)}while("*"!==i||"/"!==a);++c,f&&(y(b,c-2,A),A=!0),o=!0}}}while(o);var w=c;if(t.lastIndex=0,!t.test(O(w++)))for(;w{"use strict";e.exports=O;var r=n(21562);((O.prototype=Object.create(r.prototype)).constructor=O).className="Type";var o=n(56284),i=n(84908),a=n(24967),s=n(10236),l=n(58040),c=n(19157),u=n(92694),p=n(34075),d=n(6405),b=n(76255),f=n(61670),h=n(72743),m=n(15559),g=n(94441);function O(e,t){r.call(this,e,t),this.fields={},this.oneofs=void 0,this.extensions=void 0,this.reserved=void 0,this.group=void 0,this._fieldsById=null,this._fieldsArray=null,this._oneofsArray=null,this._ctor=null}function y(e){return e._fieldsById=e._fieldsArray=e._oneofsArray=null,delete e.encode,delete e.decode,delete e.verify,e}Object.defineProperties(O.prototype,{fieldsById:{get:function(){if(this._fieldsById)return this._fieldsById;this._fieldsById={};for(var e=Object.keys(this.fields),t=0;t{"use strict";var r=t,o=n(6405),i=["double","float","int32","uint32","sint32","fixed32","sfixed32","int64","uint64","sint64","fixed64","sfixed64","bool","string","bytes"];function a(e,t){var n=0,r={};for(t|=0;n{"use strict";var r,o,i=e.exports=n(7692),a=n(42860);i.codegen=n(33510),i.fetch=n(18296),i.path=n(87134),i.fs=i.inquire("fs"),i.toArray=function(e){if(e){for(var t=Object.keys(e),n=new Array(t.length),r=0;r0)t[o]=e(t[o]||{},n,r);else{var i=t[o];i&&(r=[].concat(i).concat(r)),t[o]=r}return t}(e,t=t.split("."),n)},Object.defineProperty(i,"decorateRoot",{get:function(){return a.decorated||(a.decorated=new(n(12151)))}})},62113:(e,t,n)=>{"use strict";e.exports=o;var r=n(7692);function o(e,t){this.lo=e>>>0,this.hi=t>>>0}var i=o.zero=new o(0,0);i.toNumber=function(){return 0},i.zzEncode=i.zzDecode=function(){return this},i.length=function(){return 1};var a=o.zeroHash="\0\0\0\0\0\0\0\0";o.fromNumber=function(e){if(0===e)return i;var t=e<0;t&&(e=-e);var n=e>>>0,r=(e-n)/4294967296>>>0;return t&&(r=~r>>>0,n=~n>>>0,++n>4294967295&&(n=0,++r>4294967295&&(r=0))),new o(n,r)},o.from=function(e){if("number"===typeof e)return o.fromNumber(e);if(r.isString(e)){if(!r.Long)return o.fromNumber(parseInt(e,10));e=r.Long.fromString(e)}return e.low||e.high?new o(e.low>>>0,e.high>>>0):i},o.prototype.toNumber=function(e){if(!e&&this.hi>>>31){var t=1+~this.lo>>>0,n=~this.hi>>>0;return t||(n=n+1>>>0),-(t+4294967296*n)}return this.lo+4294967296*this.hi},o.prototype.toLong=function(e){return r.Long?new r.Long(0|this.lo,0|this.hi,Boolean(e)):{low:0|this.lo,high:0|this.hi,unsigned:Boolean(e)}};var s=String.prototype.charCodeAt;o.fromHash=function(e){return e===a?i:new o((s.call(e,0)|s.call(e,1)<<8|s.call(e,2)<<16|s.call(e,3)<<24)>>>0,(s.call(e,4)|s.call(e,5)<<8|s.call(e,6)<<16|s.call(e,7)<<24)>>>0)},o.prototype.toHash=function(){return String.fromCharCode(255&this.lo,this.lo>>>8&255,this.lo>>>16&255,this.lo>>>24,255&this.hi,this.hi>>>8&255,this.hi>>>16&255,this.hi>>>24)},o.prototype.zzEncode=function(){var e=this.hi>>31;return this.hi=((this.hi<<1|this.lo>>>31)^e)>>>0,this.lo=(this.lo<<1^e)>>>0,this},o.prototype.zzDecode=function(){var e=-(1&this.lo);return this.lo=((this.lo>>>1|this.hi<<31)^e)>>>0,this.hi=(this.hi>>>1^e)>>>0,this},o.prototype.length=function(){var e=this.lo,t=(this.lo>>>28|this.hi<<4)>>>0,n=this.hi>>>24;return 0===n?0===t?e<16384?e<128?1:2:e<2097152?3:4:t<16384?t<128?5:6:t<2097152?7:8:n<128?9:10}},7692:function(e,t,n){"use strict";var r=t;function o(e,t,n){for(var r=Object.keys(t),o=0;o0)},r.Buffer=function(){try{var e=r.inquire("buffer").Buffer;return e.prototype.utf8Write?e:null}catch(t){return null}}(),r._Buffer_from=null,r._Buffer_allocUnsafe=null,r.newBuffer=function(e){return"number"===typeof e?r.Buffer?r._Buffer_allocUnsafe(e):new r.Array(e):r.Buffer?r._Buffer_from(e):"undefined"===typeof Uint8Array?e:new Uint8Array(e)},r.Array="undefined"!==typeof Uint8Array?Uint8Array:Array,r.Long=r.global.dcodeIO&&r.global.dcodeIO.Long||r.global.Long||r.inquire("long"),r.key2Re=/^true|false|0|1$/,r.key32Re=/^-?(?:0|[1-9][0-9]*)$/,r.key64Re=/^(?:[\\x00-\\xff]{8}|-?(?:0|[1-9][0-9]*))$/,r.longToHash=function(e){return e?r.LongBits.from(e).toHash():r.LongBits.zeroHash},r.longFromHash=function(e,t){var n=r.LongBits.fromHash(e);return r.Long?r.Long.fromBits(n.lo,n.hi,t):n.toNumber(Boolean(t))},r.merge=o,r.lcFirst=function(e){return e.charAt(0).toLowerCase()+e.substring(1)},r.newError=i,r.ProtocolError=i("ProtocolError"),r.oneOfGetter=function(e){for(var t={},n=0;n-1;--n)if(1===t[e[n]]&&void 0!==this[e[n]]&&null!==this[e[n]])return e[n]}},r.oneOfSetter=function(e){return function(t){for(var n=0;n{"use strict";e.exports=function(e){var t=o.codegen(["m"],e.name+"$verify")('if(typeof m!=="object"||m===null)')("return%j","object expected"),n=e.oneofsArray,r={};n.length&&t("var p={}");for(var l=0;l{"use strict";var r=t,o=n(19157);r[".google.protobuf.Any"]={fromObject:function(e){if(e&&e["@type"]){var t=e["@type"].substring(e["@type"].lastIndexOf("/")+1),n=this.lookup(t);if(n){var r="."===e["@type"].charAt(0)?e["@type"].slice(1):e["@type"];return-1===r.indexOf("/")&&(r="/"+r),this.create({type_url:r,value:n.encode(n.fromObject(e)).finish()})}}return this.fromObject(e)},toObject:function(e,t){var n="",r="";if(t&&t.json&&e.type_url&&e.value){r=e.type_url.substring(e.type_url.lastIndexOf("/")+1),n=e.type_url.substring(0,e.type_url.lastIndexOf("/")+1);var i=this.lookup(r);i&&(e=i.decode(e.value))}if(!(e instanceof this.ctor)&&e instanceof o){var a=e.$type.toObject(e,t);return""===n&&(n="type.googleapis.com/"),r=n+("."===e.$type.fullName[0]?e.$type.fullName.slice(1):e.$type.fullName),a["@type"]=r,a}return this.toObject(e,t)}}},34075:(e,t,n)=>{"use strict";e.exports=p;var r,o=n(7692),i=o.LongBits,a=o.base64,s=o.utf8;function l(e,t,n){this.fn=e,this.len=t,this.next=void 0,this.val=n}function c(){}function u(e){this.head=e.head,this.tail=e.tail,this.len=e.len,this.next=e.states}function p(){this.len=0,this.head=new l(c,0,0),this.tail=this.head,this.states=null}var d=function(){return o.Buffer?function(){return(p.create=function(){return new r})()}:function(){return new p}};function b(e,t,n){t[n]=255&e}function f(e,t){this.len=e,this.next=void 0,this.val=t}function h(e,t,n){for(;e.hi;)t[n++]=127&e.lo|128,e.lo=(e.lo>>>7|e.hi<<25)>>>0,e.hi>>>=7;for(;e.lo>127;)t[n++]=127&e.lo|128,e.lo=e.lo>>>7;t[n++]=e.lo}function m(e,t,n){t[n]=255&e,t[n+1]=e>>>8&255,t[n+2]=e>>>16&255,t[n+3]=e>>>24}p.create=d(),p.alloc=function(e){return new o.Array(e)},o.Array!==Array&&(p.alloc=o.pool(p.alloc,o.Array.prototype.subarray)),p.prototype._push=function(e,t,n){return this.tail=this.tail.next=new l(e,t,n),this.len+=t,this},f.prototype=Object.create(l.prototype),f.prototype.fn=function(e,t,n){for(;e>127;)t[n++]=127&e|128,e>>>=7;t[n]=e},p.prototype.uint32=function(e){return this.len+=(this.tail=this.tail.next=new f((e>>>=0)<128?1:e<16384?2:e<2097152?3:e<268435456?4:5,e)).len,this},p.prototype.int32=function(e){return e<0?this._push(h,10,i.fromNumber(e)):this.uint32(e)},p.prototype.sint32=function(e){return this.uint32((e<<1^e>>31)>>>0)},p.prototype.uint64=function(e){var t=i.from(e);return this._push(h,t.length(),t)},p.prototype.int64=p.prototype.uint64,p.prototype.sint64=function(e){var t=i.from(e).zzEncode();return this._push(h,t.length(),t)},p.prototype.bool=function(e){return this._push(b,1,e?1:0)},p.prototype.fixed32=function(e){return this._push(m,4,e>>>0)},p.prototype.sfixed32=p.prototype.fixed32,p.prototype.fixed64=function(e){var t=i.from(e);return this._push(m,4,t.lo)._push(m,4,t.hi)},p.prototype.sfixed64=p.prototype.fixed64,p.prototype.float=function(e){return this._push(o.float.writeFloatLE,4,e)},p.prototype.double=function(e){return this._push(o.float.writeDoubleLE,8,e)};var g=o.Array.prototype.set?function(e,t,n){t.set(e,n)}:function(e,t,n){for(var r=0;r>>0;if(!t)return this._push(b,1,0);if(o.isString(e)){var n=p.alloc(t=a.length(e));a.decode(e,n,0),e=n}return this.uint32(t)._push(g,t,e)},p.prototype.string=function(e){var t=s.length(e);return t?this.uint32(t)._push(s.write,t,e):this._push(b,1,0)},p.prototype.fork=function(){return this.states=new u(this),this.head=this.tail=new l(c,0,0),this.len=0,this},p.prototype.reset=function(){return this.states?(this.head=this.states.head,this.tail=this.states.tail,this.len=this.states.len,this.states=this.states.next):(this.head=this.tail=new l(c,0,0),this.len=0),this},p.prototype.ldelim=function(){var e=this.head,t=this.tail,n=this.len;return this.reset().uint32(n),n&&(this.tail.next=e.next,this.tail=t,this.len+=n),this},p.prototype.finish=function(){for(var e=this.head.next,t=this.constructor.alloc(this.len),n=0;e;)e.fn(e.val,t,n),n+=e.len,e=e.next;return t},p._configure=function(e){r=e,p.create=d(),r._configure()}},15446:(e,t,n)=>{"use strict";e.exports=i;var r=n(34075);(i.prototype=Object.create(r.prototype)).constructor=i;var o=n(7692);function i(){r.call(this)}function a(e,t,n){e.length<40?o.utf8.write(e,t,n):t.utf8Write?t.utf8Write(e,n):t.write(e,n)}i._configure=function(){i.alloc=o._Buffer_allocUnsafe,i.writeBytesBuffer=o.Buffer&&o.Buffer.prototype instanceof Uint8Array&&"set"===o.Buffer.prototype.set.name?function(e,t,n){t.set(e,n)}:function(e,t,n){if(e.copy)e.copy(t,n,0,e.length);else for(var r=0;r>>0;return this.uint32(t),t&&this._push(i.writeBytesBuffer,t,e),this},i.prototype.string=function(e){var t=o.Buffer.byteLength(e);return this.uint32(t),t&&this._push(a,t,e),this},i._configure()},88623:(e,t)=>{"use strict";var n=Object.prototype.hasOwnProperty;function r(e){try{return decodeURIComponent(e.replace(/\+/g," "))}catch(t){return null}}function o(e){try{return encodeURIComponent(e)}catch(t){return null}}t.stringify=function(e,t){t=t||"";var r,i,a=[];for(i in"string"!==typeof t&&(t="?"),e)if(n.call(e,i)){if((r=e[i])||null!==r&&undefined!==r&&!isNaN(r)||(r=""),i=o(i),r=o(r),null===i||null===r)continue;a.push(i+"="+r)}return a.length?t+a.join("&"):""},t.parse=function(e){for(var t,n=/([^=?#&]+)=?([^&]*)/g,o={};t=n.exec(e);){var i=r(t[1]),a=r(t[2]);null===i||null===a||i in o||(o[i]=a)}return o}},24964:(e,t,n)=>{"use strict";n.d(t,{e:()=>w});var r=n(30969),o=n(15749),i=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),a=function(){return a=Object.assign||function(e){for(var t,n=1,r=arguments.length;n{"use strict";var r,o=n(30969),i=(r=o)&&"object"===typeof r&&"default"in r?r.default:r,a=n(17973),s=new a,l=s.getBrowser(),c=s.getCPU(),u=s.getDevice(),p=s.getEngine(),d=s.getOS(),b=s.getUA(),f=function(e){return s.setUA(e)},h=function(e){if(e){var t=new a(e);return{UA:t,browser:t.getBrowser(),cpu:t.getCPU(),device:t.getDevice(),engine:t.getEngine(),os:t.getOS(),ua:t.getUA(),setUserAgent:function(e){return t.setUA(e)}}}console.error("No userAgent string was provided")},m=Object.freeze({ClientUAInstance:s,browser:l,cpu:c,device:u,engine:p,os:d,ua:b,setUa:f,parseUserAgent:h});function g(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function O(e){return O="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},O(e)}function y(e,t){for(var n=0;n=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function S(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function x(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(l){s=!0,o=l}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"===typeof e)return E(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return E(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function E(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n1&&void 0!==arguments[1]?arguments[1]:"none")},j=function(){return!("undefined"===typeof window||!window.navigator&&!navigator)&&(window.navigator||navigator)},D=function(e){var t=j();return t&&t.platform&&(-1!==t.platform.indexOf(e)||"MacIntel"===t.platform&&t.maxTouchPoints>1&&!window.MSStream)},B=function(e,t,n,r){return function(e){for(var t=1;t1)&&!window.MSStream},Se=function(){return D("iPad")},xe=function(){return D("iPhone")},Ee=function(){return D("iPod")},ke=function(e){return L(e)};function qe(e){var t=e||m,n=t.device,r=t.browser,o=t.os,i=t.engine,a=t.ua;return{isSmartTV:H(n),isConsole:$(n),isWearable:G(n),isEmbedded:K(n),isMobileSafari:de(r)||Se(),isChromium:le(r),isMobile:U(n)||Se(),isMobileOnly:F(n),isTablet:V(n)||Se(),isBrowser:X(n),isDesktop:X(n),isAndroid:Q(o),isWinPhone:ne(o),isIOS:re(o)||Se(),isChrome:ae(r),isFirefox:se(r),isSafari:pe(r),isOpera:be(r),isIE:fe(r),osVersion:oe(o),osName:ie(o),fullBrowserVersion:ge(r),browserVersion:Oe(r),browserName:ye(r),mobileVendor:Y(n),mobileModel:Z(n),engineName:Me(i),engineVersion:ze(i),getUA:ke(a),isEdge:ce(r)||ve(a),isYandex:ue(r),deviceType:J(n),isIOS13:we(),isIPad13:Se(),isIPhone13:xe(),isIPod13:Ee(),isElectron:Ae(),isEdgeChromium:ve(a),isLegacyEdge:ce(r)&&!ve(a),isWindows:ee(o),isMacOs:te(o),isMIUI:he(r),isSamsungBrowser:me(r)}}var Te=H(u),_e=$(u),Re=G(u),Ce=K(u),Ne=de(l)||Se(),Ie=le(l),We=U(u)||Se(),Pe=F(u),Le=V(u)||Se(),je=X(u),De=X(u),Be=Q(d),Fe=ne(d),Ve=re(d)||Se(),Ue=ae(l),He=se(l),Xe=pe(l),Ge=be(l),$e=fe(l),Ke=oe(d),Ye=ie(d),Ze=ge(l),Je=Oe(l),Qe=ye(l),et=Y(u),tt=Z(u),nt=Me(p),rt=ze(p),ot=ke(b),it=ce(l)||ve(b),at=ue(l),st=J(u),lt=we(),ct=Se(),ut=xe(),pt=Ee(),dt=Ae(),bt=ve(b),ft=ce(l)&&!ve(b),ht=ee(d),mt=te(d),gt=he(l),Ot=me(l);function yt(e){var t=e||window.navigator.userAgent;return h(t)}t.tq=We},62610:(e,t,n)=>{"use strict";var r=n(30969),o=n(78019);function i(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n