PageSourceSearch

https://ssociety.manus.space/assets/index-DElUplxO.js

js ssociety.manus.space collected 2026-10-03 05:05:04 UTC 1,353,099 bytes, 689 lines download raw bytes

vendor: 30,839 bytes, lines 1-10
1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/angular-html-CU67Zn6k.js","assets/html-GMplVEZG.js","assets/javascript-wDzz0qaB.js","assets/css-DPfMkruS.js","assets/angular-ts-BwZT4LLn.js","assets/scss-OYdSNvt2.js","assets/apl-dKokRX4l.js","assets/xml-sdJ4AIDG.js","assets/java-CylS5w8V.js","assets/json-Cp-IABpG.js","assets/astro-CbQHKStN.js","assets/typescript-BPQ3VLAy.js","assets/postcss-CXtECtnM.js","assets/tsx-COt5Ahok.js","assets/blade-DVc8C-J4.js","assets/html-derivative-BFtXZ54Q.js","assets/sql-BLtJtn59.js","assets/bsl-BO_Y6i37.js","assets/sdbl-DVxCFoDh.js","assets/cairo-KRGpt6FW.js","assets/python-B6aJPvgy.js","assets/cobol-nwyudZeR.js","assets/coffee-Ch7k5sss.js","assets/cpp-CofmeUqb.js","assets/regexp-CDVJQ6XC.js","assets/glsl-DplSGwfg.js","assets/c-BIGW1oBm.js","assets/crystal-tKQVLTB8.js","assets/shellscript-Yzrsuije.js","assets/edge-BkV0erSs.js","assets/elixir-CDX3lj18.js","assets/elm-DbKCFpqz.js","assets/erb-BOJIQeun.js","assets/ruby-BvKwtOVI.js","assets/haml-B8DHNrY2.js","assets/graphql-ChdNCCLP.js","assets/jsx-g9-lgVsj.js","assets/lua-BbnMAYS6.js","assets/yaml-Buea-lGh.js","assets/erlang-DsQrWhSR.js","assets/markdown-Cvjx9yec.js","assets/fortran-fixed-form-BZjJHVRy.js","assets/fortran-free-form-D22FLkUw.js","assets/fsharp-CXgrBDvD.js","assets/gdresource-B7Tvp0Sc.js","assets/gdshader-DkwncUOv.js","assets/gdscript-DTMYz4Jt.js","assets/git-commit-F4YmCXRG.js","assets/diff-D97Zzqfu.js","assets/git-rebase-r7XF79zn.js","assets/glimmer-js-Rg0-pVw9.js","assets/glimmer-ts-U6CK756n.js","assets/hack-CaT9iCJl.js","assets/handlebars-BL8al0AC.js","assets/http-jrhK8wxY.js","assets/hurl-irOxFIW8.js","assets/csv-fuZLfV_i.js","assets/hxml-Bvhsp5Yf.js","assets/haxe-CzTSHFRz.js","assets/jinja-4LBKfQ-Z.js","assets/jison-wvAkD_A8.js","assets/julia-C8NyazO9.js","assets/r-DiinP2Uv.js","assets/latex-BUKiar2Z.js","assets/tex-Cppo0RY3.js","assets/liquid-DYVedYrR.js","assets/marko-CPi9NSCl.js","assets/less-B1dDrJ26.js","assets/mdc-DUICxH0z.js","assets/nginx-DknmC5AR.js","assets/nim-CVrawwO9.js","assets/perl-C0TMdlhV.js","assets/php-CDn_0X-4.js","assets/pug-CGlum2m_.js","assets/qml-3beO22l8.js","assets/razor-WgofotgN.js","assets/csharp-CX12Zw3r.js","assets/rst-B0xPkSld.js","assets/cmake-D1j8_8rp.js","assets/sas-cz2c8ADy.js","assets/shaderlab-Dg9Lc6iA.js","assets/hlsl-D3lLCCz7.js","assets/shellsession-BADoaaVG.js","assets/soy-Brmx7dQM.js","assets/sparql-rVzFXLq3.js","assets/turtle-BsS91CYL.js","assets/stata-BH5u7GGu.js","assets/svelte-3Dk4HxPD.js","assets/templ-W15q3VgB.js","assets/go-Dn2_MT6a.js","assets/ts-tags-zn1MmPIZ.js","assets/twig-CO9l9SDP.js","assets/vue-CCoi5OLL.js","assets/vue-html-DAAvJJDi.js","assets/vue-vine-_Ih-lPRR.js","assets/stylus-BEDo0Tqx.js","assets/xsl-CtQFsRM5.js"])))=>i.map(i=>d[i]);
2function zC(e,t){for(var n=0;n<t.length;n++){const r=t[n];if(typeof r!="string"&&!Array.isArray(r)){for(const a in r)if(a!=="default"&&!(a in e)){const s=Object.getOwnPropertyDescriptor(r,a);s&&Object.defineProperty(e,a,s.get?s:{enumerable:!0,get:()=>r[a]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const a of document.querySelectorAll('link[rel="modulepreload"]'))r(a);new MutationObserver(a=>{for(const s of a)if(s.type==="childList")for(const l of s.addedNodes)l.tagName==="LINK"&&l.rel==="modulepreload"&&r(l)}).observe(document,{childList:!0,subtree:!0});function n(a){const s={};return a.integrity&&(s.integrity=a.integrity),a.referrerPolicy&&(s.referrerPolicy=a.referrerPolicy),a.crossOrigin==="use-credentials"?s.credentials="include":a.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function r(a){if(a.ep)return;a.ep=!0;const s=n(a);fetch(a.href,s)}})();function rh(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var s1={exports:{}},ec={};/**
3 * @license React
4 * react-jsx-runtime.production.js
5 *
6 * Copyright (c) Meta Platforms, Inc. and affiliates.
7 *
8 * This source code is licensed under the MIT license found in the
9 * LICENSE file in the root directory of this source tree.
10 */var yv;function UC(){if(yv)return ec;yv=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.fragment");function n(r,a,s){var l=null;if(s!==void 0&&(l=""+s),a.key!==void 0&&(l=""+a.key),"key"in a){s={};for(var u in a)u!=="key"&&(s[u]=a[u])}else s=a;return a=s.ref,{$$typeof:e,type:r,key:l,ref:a!==void 0?a:null,props:s}}return ec.Fragment=t,ec.jsx=n,ec.jsxs=n,ec}var vv;function HC(){return vv||(vv=1,s1.exports=UC()),s1.exports}var A=HC(),_o=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},FC={setTimeout:(e,t)=>setTimeout(e,t),clearTimeout:e=>clearTimeout(e),setInterval:(e,t)=>setInterval(e,t),clearInterval:e=>clearInterval(e)},jC=class{#t=FC;#e=!1;setTimeoutProvider(e){this.#t=e}setTimeout(e,t){return this.#t.setTimeout(e,t)}clearTimeout(e){this.#t.clearTimeout(e)}setInterval(e,t){return this.#t.setInterval(e,t)}clearInterval(e){this.#t.clearInterval(e)}},uo=new jC;function qC(e){setTimeout(e,0)}var po=typeof window>"u"||"Deno"in globalThis;function Gn(){}function $C(e,t){return typeof e=="function"?e(t):e}function vg(e){return typeof e=="number"&&e>=0&&e!==1/0}function EE(e,t){return Math.max(e+(t||0)-Date.now(),0)}function Es(e,t){return typeof e=="function"?e(t):e}function Jr(e,t){return typeof e=="function"?e(t):e}function xv(e,t){const{type:n="all",exact:r,fetchStatus:a,predicate:s,queryKey:l,stale:u}=e;if(l){if(r){if(t.queryHash!==U2(l,t.options))return!1}else if(!Lc(t.queryKey,l))return!1}if(n!=="all"){const d=t.isActive();if(n==="active"&&!d||n==="inactive"&&d)return!1}return!(typeof u=="boolean"&&t.isStale()!==u||a&&a!==t.state.fetchStatus||s&&!s(t))}function Ev(e,t){const{exact:n,status:r,predicate:a,mutationKey:s}=e;if(s){if(!t.options.mutationKey)return!1;if(n){if(Ts(t.options.mutationKey)!==Ts(s))return!1}else if(!Lc(t.options.mutationKey,s))return!1}return!(r&&t.state.status!==r||a&&!a(t))}function U2(e,t){return(t?.queryKeyHashFn||Ts)(e)}function Ts(e){return JSON.stringify(e,(t,n)=>xg(n)?Object.keys(n).sort().reduce((r,a)=>(r[a]=n[a],r),{}):n)}function Lc(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?Object.keys(t).every(n=>Lc(e[n],t[n])):!1}var VC=Object.prototype.hasOwnProperty;function H2(e,t){if(e===t)return e;const n=_v(e)&&_v(t);if(!n&&!(xg(e)&&xg(t)))return t;const a=(n?e:Object.keys(e)).length,s=n?t:Object.keys(t),l=s.length,u=n?new Array(l):{};let d=0;for(let f=0;f<l;f++){const p=n?f:s[f],m=e[p],b=t[p];if(m===b){u[p]=m,(n?f<a:VC.call(e,p))&&d++;continue}if(m===null||b===null||typeof m!="object"||typeof b!="object"){u[p]=b;continue}const y=H2(m,b);u[p]=y,y===m&&d++}return a===l&&d===a?e:u}function Ic(e,t){if(!t||Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(e[n]!==t[n])return!1;return!0}function _v(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function xg(e){if(!Tv(e))return!1;const t=e.constructor;if(t===void 0)return!0;const n=t.prototype;return!(!Tv(n)||!n.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(e)!==Object.prototype)}function Tv(e){return Object.prototype.toString.call(e)==="[object Object]"}function GC(e){return new Promise(t=>{uo.setTimeout(t,e)})}function Eg(e,t,n){return typeof n.structuralSharing=="function"?n.structuralSharing(e,t):n.structuralSharing!==!1?H2(e,t):t}function YC(e,t,n=0){const r=[...e,t];return n&&r.length>n?r.slice(1):r}function QC(e,t,n=0){const r=[t,...e];return n&&r.length>n?r.slice(0,-1):r}var Ir=Symbol();function _E(e,t){return!e.queryFn&&t?.initialPromise?()=>t.initialPromise:!e.queryFn||e.queryFn===Ir?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}function TE(e,t){return typeof e=="function"?e(...t):!!e}var XC=class extends _o{#t;#e;#n;constructor(){super(),this.#n=e=>{if(!po&&window.addEventListener){const t=()=>e();return window.addEventListener("visibilitychange",t,!1),()=>{window.removeEventListener("visibilitychange",t)}}}}onSubscribe(){this.#e||this.setEventListener(this.#n)}onUnsubscribe(){this.hasListeners()||(this.#e?.(),this.#e=void 0)}setEventListener(e){this.#n=e,this.#e?.(),this.#e=e(t=>{typeof t=="boolean"?this.setFocused(t):this.onFocus()})}setFocused(e){this.#t!==e&&(this.#t=e,this.onFocus())}onFocus(){const e=this.isFocused();this.listeners.forEach(t=>{t(e)})}isFocused(){return typeof this.#t=="boolean"?this.#t:globalThis.document?.visibilityState!=="hidden"}},F2=new XC;function _g(){let e,t;const n=new Promise((a,s)=>{e=a,t=s});n.status="pending",n.catch(()=>{});function r(a){Object.assign(n,a),delete n.resolve,delete n.reject}return n.resolve=a=>{r({status:"fulfilled",value:a}),e(a)},n.reject=a=>{r({status:"rejected",reason:a}),t(a)},n}var WC=qC;function KC(){let e=[],t=0,n=u=>{u()},r=u=>{u()},a=WC;const s=u=>{t?e.push(u):a(()=>{n(u)})},l=()=>{const u=e;e=[],u.length&&a(()=>{r(()=>{u.forEach(d=>{n(d)})})})};return{batch:u=>{let d;t++;try{d=u()}finally{t--,t||l()}return d},batchCalls:u=>(...d)=>{s(()=>{u(...d)})},schedule:s,setNotifyFunction:u=>{n=u},setBatchNotifyFunction:u=>{r=u},setScheduler:u=>{a=u}}}var Zt=KC(),ZC=class extends _o{#t=!0;#e;#n;constructor(){super(),this.#n=e=>{if(!po&&window.addEventListener){const t=()=>e(!0),n=()=>e(!1);return window.addEventListener("online",t,!1),window.addEventListener("offline",n,!1),()=>{window.removeEventListener("online",t),window.removeEventListener("offline",n)}}}}onSubscribe(){this.#e||this.setEventListener(this.#n)}onUnsubscribe(){this.hasListeners()||(this.#e?.(),this.#e=void 0)}setEventListener(e){this.#n=e,this.#e?.(),this.#e=e(this.setOnline.bind(this))}setOnline(e){this.#t!==e&&(this.#t=e,this.listeners.forEach(n=>{n(e)}))}isOnline(){return this.#t}},Ef=new ZC;function JC(e){return Math.min(1e3*2**e,3e4)}function SE(e){return(e??"online")==="online"?Ef.isOnline():!0}var Tg=class extends Error{constructor(e){super("CancelledError"),this.revert=e?.revert,this.silent=e?.silent}};function wE(e){let t=!1,n=0,r;const a=_g(),s=()=>a.status!=="pending",l=T=>{if(!s()){const N=new Tg(T);b(N),e.onCancel?.(N)}},u=()=>{t=!0},d=()=>{t=!1},f=()=>F2.isFocused()&&(e.networkMode==="always"||Ef.isOnline())&&e.canRun(),p=()=>SE(e.networkMode)&&e.canRun(),m=T=>{s()||(r?.(),a.resolve(T))},b=T=>{s()||(r?.(),a.reject(T))},y=()=>new Promise(T=>{r=N=>{(s()||f())&&T(N)},e.onPause?.()}).then(()=>{r=void 0,s()||e.onContinue?.()}),E=()=>{if(s())return;let T;const N=n===0?e.initialPromise:void 0;try{T=N??e.fn()}catch(k){T=Promise.reject(k)}Promise.resolve(T).then(m).catch(k=>{if(s())return;const O=e.retry??(po?0:3),I=e.retryDelay??JC,K=typeof I=="function"?I(n,k):I,V=O===!0||typeof O=="number"&&n<O||typeof O=="function"&&O(n,k);if(t||!V){b(k);return}n++,e.onFail?.(n,k),GC(K).then(()=>f()?void 0:y()).then(()=>{t?b(k):E()})})};return{promise:a,status:()=>a.status,cancel:l,continue:()=>(r?.(),a),cancelRetry:u,continueRetry:d,canStart:p,start:()=>(p()?E():y().then(E),a)}}var AE=class{#t;destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),vg(this.gcTime)&&(this.#t=uo.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(po?1/0:300*1e3))}clearGcTimeout(){this.#t&&(uo.clearTimeout(this.#t),this.#t=void 0)}},eN=class extends AE{#t;#e;#n;#a;#r;#i;#o;constructor(e){super(),this.#o=!1,this.#i=e.defaultOptions,this.setOptions(e.options),this.observers=[],this.#a=e.client,this.#n=this.#a.getQueryCache(),this.queryKey=e.queryKey,this.queryHash=e.queryHash,this.#t=Sv(this.options),this.state=e.state??this.#t,this.scheduleGc()}get meta(){return this.options.meta}get promise(){return this.#r?.promise}setOptions(e){if(this.options={...this.#i,...e},this.updateGcTime(this.options.gcTime),this.state&&this.state.data===void 0){const t=Sv(this.options);t.data!==void 0&&(this.setData(t.data,{updatedAt:t.dataUpdatedAt,manual:!0}),this.#t=t)}}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&this.#n.remove(this)}setData(e,t){const n=Eg(this.state.data,e,this.options);return this.#s({data:n,type:"success",dataUpdatedAt:t?.updatedAt,manual:t?.manual}),n}setState(e,t){this.#s({type:"setState",state:e,setStateOptions:t})}cancel(e){const t=this.#r?.promise;return this.#r?.cancel(e),t?t.then(Gn).catch(Gn):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(this.#t)}isActive(){return this.observers.some(e=>Jr(e.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===Ir||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStatic(){return this.getObserversCount()>0?this.observers.some(e=>Es(e.options.staleTime,this)==="static"):!1}isStale(){return this.getObserversCount()>0?this.observers.some(e=>e.getCurrentResult().isStale):this.state.data===void 0||this.state.isInvalidated}isStaleByTime(e=0){return this.state.data===void 0?!0:e==="static"?!1:this.state.isInvalidated?!0:!EE(this.state.dataUpdatedAt,e)}onFocus(){this.observers.find(t=>t.shouldFetchOnWindowFocus())?.refetch({cancelRefetch:!1}),this.#r?.continue()}onOnline(){this.observers.find(t=>t.shouldFetchOnReconnect())?.refetch({cancelRefetch:!1}),this.#r?.continue()}addObserver(e){this.observers.includes(e)||(this.observers.push(e),this.clearGcTimeout(),this.#n.notify({type:"observerAdded",query:this,observer:e}))}removeObserver(e){this.observers.includes(e)&&(this.observers=this.observers.filter(t=>t!==e),this.observers.length||(this.#r&&(this.#o?this.#r.cancel({revert:!0}):this.#r.cancelRetry()),this.scheduleGc()),this.#n.notify({type:"observerRemoved",query:this,observer:e}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||this.#s({type:"invalidate"})}async fetch(e,t){if(this.state.fetchStatus!=="idle"&&this.#r?.status()!=="rejected"){if(this.state.data!==void 0&&t?.cancelRefetch)this.cancel({silent:!0});else if(this.#r)return this.#r.continueRetry(),this.#r.promise}if(e&&this.setOptions(e),!this.options.queryFn){const u=this.observers.find(d=>d.options.queryFn);u&&this.setOptions(u.options)}const n=new AbortController,r=u=>{Object.defineProperty(u,"signal",{enumerable:!0,get:()=>(this.#o=!0,n.signal)})},a=()=>{const u=_E(this.options,t),f=(()=>{const p={client:this.#a,queryKey:this.queryKey,meta:this.meta};return r(p),p})();return this.#o=!1,this.options.persister?this.options.persister(u,f,this):u(f)},l=(()=>{const u={fetchOptions:t,options:this.options,queryKey:this.queryKey,client:this.#a,state:this.state,fetchFn:a};return r(u),u})();this.options.behavior?.onFetch(l,this),this.#e=this.state,(this.state.fetchStatus==="idle"||this.state.fetchMeta!==l.fetchOptions?.meta)&&this.#s({type:"fetch",meta:l.fetchOptions?.meta}),this.#r=wE({initialPromise:t?.initialPromise,fn:l.fetchFn,onCancel:u=>{u instanceof Tg&&u.revert&&this.setState({...this.#e,fetchStatus:"idle"}),n.abort()},onFail:(u,d)=>{this.#s({type:"failed",failureCount:u,error:d})},onPause:()=>{this.#s({type:"pause"})},onContinue:()=>{this.#s({type:"continue"})},retry:l.options.retry,retryDelay:l.options.retryDelay,networkMode:l.options.networkMode,canRun:()=>!0});try{const u=await this.#r.start();if(u===void 0)throw new Error(`${this.queryHash} data is undefined`);return this.setData(u),this.#n.config.onSuccess?.(u,this),this.#n.config.onSettled?.(u,this.state.error,this),u}catch(u){if(u instanceof Tg){if(u.silent)return this.#r.promise;if(u.revert){if(this.state.data===void 0)throw u;return this.state.data}}throw this.#s({type:"error",error:u}),this.#n.config.onError?.(u,this),this.#n.config.onSettled?.(this.state.data,u,this),u}finally{this.scheduleGc()}}#s(e){const t=n=>{switch(e.type){case"failed":return{...n,fetchFailureCount:e.failureCount,fetchFailureReason:e.error};case"pause":return{...n,fetchStatus:"paused"};case"continue":return{...n,fetchStatus:"fetching"};case"fetch":return{...n,...kE(n.data,this.options),fetchMeta:e.meta??null};case"success":const r={...n,data:e.data,dataUpdateCount:n.dataUpdateCount+1,dataUpdatedAt:e.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!e.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return this.#e=e.manual?r:void 0,r;case"error":const a=e.error;return{...n,error:a,errorUpdateCount:n.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:n.fetchFailureCount+1,fetchFailureReason:a,fetchStatus:"idle",status:"error"};case"invalidate":return{...n,isInvalidated:!0};case"setState":return{...n,...e.state}}};this.state=t(this.state),Zt.batch(()=>{this.observers.forEach(n=>{n.onQueryUpdate()}),this.#n.notify({query:this,type:"updated",action:e})})}};function kE(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:SE(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function Sv(e){const t=typeof e.initialData=="function"?e.initialData():e.initialData,n=t!==void 0,r=n?typeof e.initialDataUpdatedAt=="function"?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:n?r??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?"success":"pending",fetchStatus:"idle"}}var Zc=class extends _o{constructor(e,t){super(),this.options=t,this.#t=e,this.#s=null,this.#o=_g(),this.bindMethods(),this.setOptions(t)}#t;#e=void 0;#n=void 0;#a=void 0;#r;#i;#o;#s;#h;#d;#f;#u;#c;#l;#p=new Set;bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(this.#e.addObserver(this),wv(this.#e,this.options)?this.#m():this.updateResult(),this.#v())}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return Sg(this.#e,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return Sg(this.#e,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,this.#x(),this.#E(),this.#e.removeObserver(this)}setOptions(e){const t=this.options,n=this.#e;if(this.options=this.#t.defaultQueryOptions(e),this.options.enabled!==void 0&&typeof this.options.enabled!="boolean"&&typeof this.options.enabled!="function"&&typeof Jr(this.options.enabled,this.#e)!="boolean")throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");this.#_(),this.#e.setOptions(this.options),t._defaulted&&!Ic(this.options,t)&&this.#t.getQueryCache().notify({type:"observerOptionsUpdated",query:this.#e,observer:this});const r=this.hasListeners();r&&Av(this.#e,n,this.options,t)&&this.#m(),this.updateResult(),r&&(this.#e!==n||Jr(this.options.enabled,this.#e)!==Jr(t.enabled,this.#e)||Es(this.options.staleTime,this.#e)!==Es(t.staleTime,this.#e))&&this.#g();const a=this.#b();r&&(this.#e!==n||Jr(this.options.enabled,this.#e)!==Jr(t.enabled,this.#e)||a!==this.#l)&&this.#y(a)}getOptimisticResult(e){const t=this.#t.getQueryCache().build(this.#t,e),n=this.createResult(t,e);return nN(this,n)&&(this.#a=n,this.#i=this.options,this.#r=this.#e.state),n}getCurrentResult(){return this.#a}trackResult(e,t){return new Proxy(e,{get:(n,r)=>(this.trackProp(r),t?.(r),r==="promise"&&!this.options.experimental_prefetchInRender&&this.#o.status==="pending"&&this.#o.reject(new Error("experimental_prefetchInRender feature flag is not enabled")),Reflect.get(n,r))})}trackProp(e){this.#p.add(e)}getCurrentQuery(){return this.#e}refetch({...e}={}){return this.fetch({...e})}fetchOptimistic(e){const t=this.#t.defaultQueryOptions(e),n=this.#t.getQueryCache().build(this.#t,t);return n.fetch().then(()=>this.createResult(n,t))}fetch(e){return this.#m({...e,cancelRefetch:e.cancelRefetch??!0}).then(()=>(this.updateResult(),this.#a))}#m(e){this.#_();let t=this.#e.fetch(this.options,e);return e?.throwOnError||(t=t.catch(Gn)),t}#g(){this.#x();const e=Es(this.options.staleTime,this.#e);if(po||this.#a.isStale||!vg(e))return;const n=EE(this.#a.dataUpdatedAt,e)+1;this.#u=uo.setTimeout(()=>{this.#a.isStale||this.updateResult()},n)}#b(){return(typeof this.options.refetchInterval=="function"?this.options.refetchInterval(this.#e):this.options.refetchInterval)??!1}#y(e){this.#E(),this.#l=e,!(po||Jr(this.options.enabled,this.#e)===!1||!vg(this.#l)||this.#l===0)&&(this.#c=uo.setInterval(()=>{(this.options.refetchIntervalInBackground||F2.isFocused())&&this.#m()},this.#l))}#v(){this.#g(),this.#y(this.#b())}#x(){this.#u&&(uo.clearTimeout(this.#u),this.#u=void 0)}#E(){this.#c&&(uo.clearInterval(this.#c),this.#c=void 0)}createResult(e,t){const n=this.#e,r=this.options,a=this.#a,s=this.#r,l=this.#i,d=e!==n?e.state:this.#n,{state:f}=e;let p={...f},m=!1,b;if(t._optimisticResults){const W=this.hasListeners(),re=!W&&wv(e,t),Y=W&&Av(e,n,t,r);(re||Y)&&(p={...p,...kE(f.data,e.options)}),t._optimisticResults==="isRestoring"&&(p.fetchStatus="idle")}let{error:y,errorUpdatedAt:E,status:T}=p;b=p.data;let N=!1;if(t.placeholderData!==void 0&&b===void 0&&T==="pending"){let W;a?.isPlaceholderData&&t.placeholderData===l?.placeholderData?(W=a.data,N=!0):W=typeof t.placeholderData=="function"?t.placeholderData(this.#f?.state.data,this.#f):t.placeholderData,W!==void 0&&(T="success",b=Eg(a?.data,W,t),m=!0)}if(t.select&&b!==void 0&&!N)if(a&&b===s?.data&&t.select===this.#h)b=this.#d;else try{this.#h=t.select,b=t.select(b),b=Eg(a?.data,b,t),this.#d=b,this.#s=null}catch(W){this.#s=W}this.#s&&(y=this.#s,b=this.#d,E=Date.now(),T="error");const k=p.fetchStatus==="fetching",O=T==="pending",I=T==="error",K=O&&k,V=b!==void 0,z={status:T,fetchStatus:p.fetchStatus,isPending:O,isSuccess:T==="success",isError:I,isInitialLoading:K,isLoading:K,data:b,dataUpdatedAt:p.dataUpdatedAt,error:y,errorUpdatedAt:E,failureCount:p.fetchFailureCount,failureReason:p.fetchFailureReason,errorUpdateCount:p.errorUpdateCount,isFetched:p.dataUpdateCount>0||p.errorUpdateCount>0,isFetchedAfterMount:p.dataUpdateCount>d.dataUpdateCount||p.errorUpdateCount>d.errorUpdateCount,isFetching:k,isRefetching:k&&!O,isLoadingError:I&&!V,isPaused:p.fetchStatus==="paused",isPlaceholderData:m,isRefetchError:I&&V,isStale:j2(e,t),refetch:this.refetch,promise:this.#o,isEnabled:Jr(t.enabled,e)!==!1};if(this.options.experimental_prefetchInRender){const W=se=>{z.status==="error"?se.reject(z.error):z.data!==void 0&&se.resolve(z.data)},re=()=>{const se=this.#o=z.promise=_g();W(se)},Y=this.#o;switch(Y.status){case"pending":e.queryHash===n.queryHash&&W(Y);break;case"fulfilled":(z.status==="error"||z.data!==Y.value)&&re();break;case"rejected":(z.status!=="error"||z.error!==Y.reason)&&re();break}}return z}updateResult(){const e=this.#a,t=this.createResult(this.#e,this.options);if(this.#r=this.#e.state,this.#i=this.options,this.#r.data!==void 0&&(this.#f=this.#e),Ic(t,e))return;this.#a=t;const n=()=>{if(!e)return!0;const{notifyOnChangeProps:r}=this.options,a=typeof r=="function"?r():r;if(a==="all"||!a&&!this.#p.size)return!0;const s=new Set(a??this.#p);return this.options.throwOnError&&s.add("error"),Object.keys(this.#a).some(l=>{const u=l;return this.#a[u]!==e[u]&&s.has(u)})};this.#T({listeners:n()})}#_(){const e=this.#t.getQueryCache().build(this.#t,this.options);if(e===this.#e)return;const t=this.#e;this.#e=e,this.#n=e.state,this.hasListeners()&&(t?.removeObserver(this),e.addObserver(this))}onQueryUpdate(){this.updateResult(),this.hasListeners()&&this.#v()}#T(e){Zt.batch(()=>{e.listeners&&this.listeners.forEach(t=>{t(this.#a)}),this.#t.getQueryCache().notify({query:this.#e,type:"observerResultsUpdated"})})}};function tN(e,t){return Jr(t.enabled,e)!==!1&&e.state.data===void 0&&!(e.state.status==="error"&&t.retryOnMount===!1)}function wv(e,t){return tN(e,t)||e.state.data!==void 0&&Sg(e,t,t.refetchOnMount)}function Sg(e,t,n){if(Jr(t.enabled,e)!==!1&&Es(t.staleTime,e)!=="static"){const r=typeof n=="function"?n(e):n;return r==="always"||r!==!1&&j2(e,t)}return!1}function Av(e,t,n,r){return(e!==t||Jr(r.enabled,e)===!1)&&(!n.suspense||e.state.status!=="error")&&j2(e,n)}function j2(e,t){return Jr(t.enabled,e)!==!1&&e.isStaleByTime(Es(t.staleTime,e))}function nN(e,t){return!Ic(e.getCurrentResult(),t)}function _f(e){return{onFetch:(t,n)=>{const r=t.options,a=t.fetchOptions?.meta?.fetchMore?.direction,s=t.state.data?.pages||[],l=t.state.data?.pageParams||[];let u={pages:[],pageParams:[]},d=0;const f=async()=>{let p=!1;const m=E=>{Object.defineProperty(E,"signal",{enumerable:!0,get:()=>(t.signal.aborted?p=!0:t.signal.addEventListener("abort",()=>{p=!0}),t.signal)})},b=_E(t.options,t.fetchOptions),y=async(E,T,N)=>{if(p)return Promise.reject();if(T==null&&E.pages.length)return Promise.resolve(E);const O=(()=>{const B={client:t.client,queryKey:t.queryKey,pageParam:T,direction:N?"backward":"forward",meta:t.options.meta};return m(B),B})(),I=await b(O),{maxPages:K}=t.options,V=N?QC:YC;return{pages:V(E.pages,I,K),pageParams:V(E.pageParams,T,K)}};if(a&&s.length){const E=a==="backward",T=E?CE:wg,N={pages:s,pageParams:l},k=T(r,N);u=await y(N,k,E)}else{const E=e??s.length;do{const T=d===0?l[0]??r.initialPageParam:wg(r,u);if(d>0&&T==null)break;u=await y(u,T),d++}while(d<E)}return u};t.options.persister?t.fetchFn=()=>t.options.persister?.(f,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n):t.fetchFn=f}}}function wg(e,{pages:t,pageParams:n}){const r=t.length-1;return t.length>0?e.getNextPageParam(t[r],t,n[r],n):void 0}function CE(e,{pages:t,pageParams:n}){return t.length>0?e.getPreviousPageParam?.(t[0],t,n[0],n):void 0}function rN(e,t){return t?wg(e,t)!=null:!1}function aN(e,t){return!t||!e.getPreviousPageParam?!1:CE(e,t)!=null}var NE=class extends Zc{constructor(e,t){super(e,t)}bindMethods(){super.bindMethods(),this.fetchNextPage=this.fetchNextPage.bind(this),this.fetchPreviousPage=this.fetchPreviousPage.bind(this)}setOptions(e){super.setOptions({...e,behavior:_f()})}getOptimisticResult(e){return e.behavior=_f(),super.getOptimisticResult(e)}fetchNextPage(e){return this.fetch({...e,meta:{fetchMore:{direction:"forward"}}})}fetchPreviousPage(e){return this.fetch({...e,meta:{fetchMore:{direction:"backward"}}})}createResult(e,t){const{state:n}=e,r=super.createResult(e,t),{isFetching:a,isRefetching:s,isError:l,isRefetchError:u}=r,d=n.fetchMeta?.fetchMore?.direction,f=l&&d==="forward",p=a&&d==="forward",m=l&&d==="backward",b=a&&d==="backward";return{...r,fetchNextPage:this.fetchNextPage,fetchPreviousPage:this.fetchPreviousPage,hasNextPage:rN(t,n.data),hasPreviousPage:aN(t,n.data),isFetchNextPageError:f,isFetchingNextPage:p,isFetchPreviousPageError:m,isFetchingPreviousPage:b,isRefetchError:u&&!f&&!m,isRefetching:s&&!p&&!b}}},iN=class extends AE{#t;#e;#n;#a;constructor(e){super(),this.#t=e.client,this.mutationId=e.mutationId,this.#n=e.mutationCache,this.#e=[],this.state=e.state||OE(),this.setOptions(e.options),this.scheduleGc()}setOptions(e){this.options=e,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(e){this.#e.includes(e)||(this.#e.push(e),this.clearGcTimeout(),this.#n.notify({type:"observerAdded",mutation:this,observer:e}))}removeObserver(e){this.#e=this.#e.filter(t=>t!==e),this.scheduleGc(),this.#n.notify({type:"observerRemoved",mutation:this,observer:e})}optionalRemove(){this.#e.length||(this.state.status==="pending"?this.scheduleGc():this.#n.remove(this))}continue(){return this.#a?.continue()??this.execute(this.state.variables)}async execute(e){const t=()=>{this.#r({type:"continue"})},n={client:this.#t,meta:this.options.meta,mutationKey:this.options.mutationKey};this.#a=wE({fn:()=>this.options.mutationFn?this.options.mutationFn(e,n):Promise.reject(new Error("No mutationFn found")),onFail:(s,l)=>{this.#r({type:"failed",failureCount:s,error:l})},onPause:()=>{this.#r({type:"pause"})},onContinue:t,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>this.#n.canRun(this)});const r=this.state.status==="pending",a=!this.#a.canStart();try{if(r)t();else{this.#r({type:"pending",variables:e,isPaused:a}),await this.#n.config.onMutate?.(e,this,n);const l=await this.options.onMutate?.(e,n);l!==this.state.context&&this.#r({type:"pending",context:l,variables:e,isPaused:a})}const s=await this.#a.start();return await this.#n.config.onSuccess?.(s,e,this.state.context,this,n),await this.options.onSuccess?.(s,e,this.state.context,n),await this.#n.config.onSettled?.(s,null,this.state.variables,this.state.context,this,n),await this.options.onSettled?.(s,null,e,this.state.context,n),this.#r({type:"success",data:s}),s}catch(s){try{throw await this.#n.config.onError?.(s,e,this.state.context,this,n),await this.options.onError?.(s,e,this.state.context,n),await this.#n.config.onSettled?.(void 0,s,this.state.variables,this.state.context,this,n),await this.options.onSettled?.(void 0,s,e,this.state.context,n),s}finally{this.#r({type:"error",error:s})}}finally{this.#n.runNext(this)}}#r(e){const t=n=>{switch(e.type){case"failed":return{...n,failureCount:e.failureCount,failureReason:e.error};case"pause":return{...n,isPaused:!0};case"continue":return{...n,isPaused:!1};case"pending":return{...n,context:e.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:e.isPaused,status:"pending",variables:e.variables,submittedAt:Date.now()};case"success":return{...n,data:e.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...n,data:void 0,error:e.error,failureCount:n.failureCount+1,failureReason:e.error,isPaused:!1,status:"error"}}};this.state=t(this.state),Zt.batch(()=>{this.#e.forEach(n=>{n.onMutationUpdate(e)}),this.#n.notify({mutation:this,type:"updated",action:e})})}};function OE(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var sN=class extends _o{constructor(e={}){super(),this.config=e,this.#t=new Set,this.#e=new Map,this.#n=0}#t;#e;#n;build(e,t,n){const r=new iN({client:e,mutationCache:this,mutationId:++this.#n,options:e.defaultMutationOptions(t),state:n});return this.add(r),r}add(e){this.#t.add(e);const t=Dd(e);if(typeof t=="string"){const n=this.#e.get(t);n?n.push(e):this.#e.set(t,[e])}this.notify({type:"added",mutation:e})}remove(e){if(this.#t.delete(e)){const t=Dd(e);if(typeof t=="string"){const n=this.#e.get(t);if(n)if(n.length>1){const r=n.indexOf(e);r!==-1&&n.splice(r,1)}else n[0]===e&&this.#e.delete(t)}}this.notify({type:"removed",mutation:e})}canRun(e){const t=Dd(e);if(typeof t=="string"){const r=this.#e.get(t)?.find(a=>a.state.status==="pending");return!r||r===e}else return!0}runNext(e){const t=Dd(e);return typeof t=="string"?this.#e.get(t)?.find(r=>
vendor: 2,022 bytes, line 10
10r!==e&&r.state.isPaused)?.continue()??Promise.resolve():Promise.resolve()}clear(){Zt.batch(()=>{this.#t.forEach(e=>{this.notify({type:"removed",mutation:e})}),this.#t.clear(),this.#e.clear()})}getAll(){return Array.from(this.#t)}find(e){const t={exact:!0,...e};return this.getAll().find(n=>Ev(t,n))}findAll(e={}){return this.getAll().filter(t=>Ev(e,t))}notify(e){Zt.batch(()=>{this.listeners.forEach(t=>{t(e)})})}resumePausedMutations(){const e=this.getAll().filter(t=>t.state.isPaused);return Zt.batch(()=>Promise.all(e.map(t=>t.continue().catch(Gn))))}};function Dd(e){return e.options.scope?.id}var oN=class extends _o{#t;#e=void 0;#n;#a;constructor(t,n){super(),this.#t=t,this.setOptions(n),this.bindMethods(),this.#r()}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(t){const n=this.options;this.options=this.#t.defaultMutationOptions(t),Ic(this.options,n)||this.#t.getMutationCache().notify({type:"observerOptionsUpdated",mutation:this.#n,observer:this}),n?.mutationKey&&this.options.mutationKey&&Ts(n.mutationKey)!==Ts(this.options.mutationKey)?this.reset():this.#n?.state.status==="pending"&&this.#n.setOptions(this.options)}onUnsubscribe(){this.hasListeners()||this.#n?.removeObserver(this)}onMutationUpdate(t){this.#r(),this.#i(t)}getCurrentResult(){return this.#e}reset(){this.#n?.removeObserver(this),this.#n=void 0,this.#r(),this.#i()}mutate(t,n){return this.#a=n,this.#n?.removeObserver(this),this.#n=this.#t.getMutationCache().build(this.#t,this.options),this.#n.addObserver(this),this.#n.execute(t)}#r(){const t=this.#n?.state??OE();this.#e={...t,isPending:t.status==="pending",isSuccess:t.status==="success",isError:t.status==="error",isIdle:t.status==="idle",mutate:this.mutate,reset:this.reset}}#i(t){Zt.batch(()=>{if(this.#a&&this.hasListeners()){const n=this.#e.variables,r=this.#e.context,a={client:this.#t,meta:this.options.meta,mutationKey:this.options.mutationKey};t?.type==="success"?(this.#a.onSuccess?.(t.data,n,r,a),this.#a.onSettled?.(t.data,null,
10n,r,a)):t?.type==="error"&&(this.#a.onError?.(t.error,n,r,a),this.#a.onSettled?.(void 0,t.error,n,r,a))}this.listeners.forEach(n=>{n(this.#e)})})}};function kv(e,t){const n=new Set(t);return e.filter(r=>!n.has(r))}function lN(e,t,n){const r=e.slice(0);return r[t]=n,r}var uN=class extends _o{#t;#e;#n;#a;#r;#i;#o;#s;#h=[];constructor(e,t,n){super(),this.#t=e,this.#a=n,this.#n=[],this.#r=[],this.#e=[],this.setQueries(t)}onSubscribe(){this.listeners.size===1&&this.#r.forEach(e=>{e.subscribe(t=>{this.#c(e,t)})})}onUnsubscribe(){this.listeners.size||this.destroy()}destroy(){this.listeners=new Set,this.#r.forEach(e=>{e.destroy()})}setQueries(e,t){this.#n=e,this.#a=t,Zt.batch(()=>{const n=this.#r,r=this.#u(this.#n);this.#h=r,r.forEach(p=>p.observer.setOptions(p.defaultedQueryOptions));const a=r.map(p=>p.observer),s=a.map(p=>p.getCurrentResult()),l=n.length!==a.length,u=a.some((p,m)=>p!==n[m]),d=l||u,f=d?!0:s.some((p,m)=>{const b=this.#e[m];return!b||!Ic(p,b)});!d&&!f||(d&&(this.#r=a),this.#e=s,this.hasListeners()&&(d&&(kv(n,a).forEach(p=>{p.destroy()}),kv(a,n).forEach(p=>{p.subscribe(m=>{this.#c(p,m)})})),this.#l()))})}getCurrentResult(){return this.#e}getQueries(){return this.#r.map(e=>e.getCurrentQuery())}getObservers(){return this.#r}getOptimisticResult(e,t){const n=this.#u(e),r=n.map(a=>a.observer.getOptimisticResult(a.defaultedQueryOptions));return[r,a=>this.#f(a??r,t),()=>this.#d(r,n)]}#d(e,t){return t.map((n,r)=>{const a=e[r];return n.defaultedQueryOptions.notifyOnChangeProps?a:n.observer.trackResult(a,s=>{t.forEach(l=>{l.observer.trackProp(s)})})})}#f(e,t){return t?((!this.#i||this.#e!==this.#s||t!==this.#o)&&(this.#o=t,this.#s=this.#e,this.#i=H2(this.#i,t(e))),this.#i):e}#u(e){const t=new Map(this.#r.map(r=>[r.options.queryHash,r])),n=[];return e.forEach(r=>{const a=this.#t.defaultQueryOptions(r),s=t.get(a.queryHash);s?n.push({defaultedQueryOptions:a,observer:s}):n.push({defaultedQueryOptions:a,observer:new Zc(this.#t,a)})}),n}#c(e,t){const n=this.#r.indexOf(e);n!==-1&&(this.#e=lN(this.#e,n,t),this.#l())}#l(){if(this.hasListeners()){const e=this.#i,t=this.#d(this.#e,this.#h),n=this.#f(t,this.#a?.combine);e!==n&&Zt.batch(()=>{this.listeners.forEach(r=>{r(this.#e)})})}}},cN=class extends _o{constructor(e={}){super(),this.config=e,this.#t=new Map}#t;build(e,t,n){const r=t.queryKey,a=t.queryHash??U2(r,t);let s=this.get(a);return s||(s=new eN({client:e,queryKey:r,queryHash:a,options:e.defaultQueryOptions(t),state:n,defaultOptions:e.getQueryDefaults(r)}),this.add(s)),s}add(e){this.#t.has(e.queryHash)||(this.#t.set(e.queryHash,e),this.notify({type:"added",query:e}))}remove(e){const t=this.#t.get(e.queryHash);t&&(e.destroy(),t===e&&this.#t.delete(e.queryHash),this.notify({type:"removed",query:e}))}clear(){Zt.batch(()=>{this.getAll().forEach(e=>{this.remove(e)})})}get(e){return this.#t.get(e)}getAll(){return[...this.#t.values()]}find(e){const t={exact:!0,...e};return this.getAll().find(n=>xv(t,n))}findAll(e={}){const t=this.getAll();return Object.keys(e).length>0?t.filter(n=>xv(e,n)):t}notify(e){Zt.batch(()=>{this.listeners.forEach(t=>{t(e)})})}onFocus(){Zt.batch(()=>{this.getAll().forEach(e=>{e.onFocus()})})}onOnline(){Zt.batch(()=>{this.getAll().forEach(e=>{e.onOnline()})})}},dN=class{#t;#e;#n;#a;#r;#i;#o;#s;constructor(e={}){this.#t=e.queryCache||new cN,this.#e=e.mutationCache||new sN,this.#n=e.defaultOptions||{},this.#a=new Map,this.#r=new Map,this.#i=0}mount(){this.#i++,this.#i===1&&(this.#o=F2.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#t.onFocus())}),this.#s=Ef.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#t.onOnline())}))}unmount(){this.#i--,this.#i===0&&(this.#o?.(),this.#o=void 0,this.#s?.(),this.#s=void 0)}isFetching(e){return this.#t.findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return this.#e.findAll({...e,status:"pending"}).length}getQueryData(e){const t=this.defaultQueryOptions({queryKey:e});return this.#t.get(t.queryHash)?.state.data}ensureQueryData(e){const t=this.defaultQueryOptions(e),n=this.#t.build(this,t),r=n.state.data;return r===void 0?this.fetchQuery(e):(e.revalidateIfStale&&n.isStaleByTime(Es(t.staleTime,n))&&this.prefetchQuery(t),Promise.resolve(r))}getQueriesData(e){return this.#t.findAll(e).map(({queryKey:t,state:n})=>{const r=n.data;return[t,r]})}setQueryData(e,t,n){const r=this.defaultQueryOptions({queryKey:e}),s=this.#t.get(r.queryHash)?.state.data,l=$C(t,s);if(l!==void 0)return this.#t.build(this,r).setData(l,{...n,manual:!0})}
vendor: 5,370 bytes, lines 10-18
10setQueriesData(e,t,n){return Zt.batch(()=>this.#t.findAll(e).map(({queryKey:r})=>[r,this.setQueryData(r,t,n)]))}getQueryState(e){const t=this.defaultQueryOptions({queryKey:e});return this.#t.get(t.queryHash)?.state}removeQueries(e){const t=this.#t;Zt.batch(()=>{t.findAll(e).forEach(n=>{t.remove(n)})})}resetQueries(e,t){const n=this.#t;return Zt.batch(()=>(n.findAll(e).forEach(r=>{r.reset()}),this.refetchQueries({type:"active",...e},t)))}cancelQueries(e,t={}){const n={revert:!0,...t},r=Zt.batch(()=>this.#t.findAll(e).map(a=>a.cancel(n)));return Promise.all(r).then(Gn).catch(Gn)}invalidateQueries(e,t={}){return Zt.batch(()=>(this.#t.findAll(e).forEach(n=>{n.invalidate()}),e?.refetchType==="none"?Promise.resolve():this.refetchQueries({...e,type:e?.refetchType??e?.type??"active"},t)))}refetchQueries(e,t={}){const n={...t,cancelRefetch:t.cancelRefetch??!0},r=Zt.batch(()=>this.#t.findAll(e).filter(a=>!a.isDisabled()&&!a.isStatic()).map(a=>{let s=a.fetch(void 0,n);return n.throwOnError||(s=s.catch(Gn)),a.state.fetchStatus==="paused"?Promise.resolve():s}));return Promise.all(r).then(Gn)}fetchQuery(e){const t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);const n=this.#t.build(this,t);return n.isStaleByTime(Es(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(Gn).catch(Gn)}fetchInfiniteQuery(e){return e.behavior=_f(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(Gn).catch(Gn)}ensureInfiniteQueryData(e){return e.behavior=_f(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return Ef.isOnline()?this.#e.resumePausedMutations():Promise.resolve()}getQueryCache(){return this.#t}getMutationCache(){return this.#e}getDefaultOptions(){return this.#n}setDefaultOptions(e){this.#n=e}setQueryDefaults(e,t){this.#a.set(Ts(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[...this.#a.values()],n={};return t.forEach(r=>{Lc(e,r.queryKey)&&Object.assign(n,r.defaultOptions)}),n}setMutationDefaults(e,t){this.#r.set(Ts(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[...this.#r.values()],n={};return t.forEach(r=>{Lc(e,r.mutationKey)&&Object.assign(n,r.defaultOptions)}),n}defaultQueryOptions(e){if(e._defaulted)return e;const t={...this.#n.queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=U2(t.queryKey,t)),t.refetchOnReconnect===void 0&&(t.refetchOnReconnect=t.networkMode!=="always"),t.throwOnError===void 0&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode="offlineFirst"),t.queryFn===Ir&&(t.enabled=!1),t}defaultMutationOptions(e){return e?._defaulted?e:{...this.#n.mutations,...e?.mutationKey&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){this.#t.clear(),this.#e.clear()}},o1={exports:{}},Je={};/**
11 * @license React
12 * react.production.js
13 *
14 * Copyright (c) Meta Platforms, Inc. and affiliates.
15 *
16 * This source code is licensed under the MIT license found in the
17 * LICENSE file in the root directory of this source tree.
18 */var Cv;function fN(){if(Cv)return Je;Cv=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),s=Symbol.for("react.consumer"),l=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),f=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),m=Symbol.for("react.activity"),b=Symbol.iterator;function y(j){return j===null||typeof j!="object"?null:(j=b&&j[b]||j["@@iterator"],typeof j=="function"?j:null)}var E={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},T=Object.assign,N={};function k(j,ce,R){this.props=j,this.context=ce,this.refs=N,this.updater=R||E}k.prototype.isReactComponent={},k.prototype.setState=function(j,ce){if(typeof j!="object"&&typeof j!="function"&&j!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,j,ce,"setState")},k.prototype.forceUpdate=function(j){this.updater.enqueueForceUpdate(this,j,"forceUpdate")};function O(){}O.prototype=k.prototype;function I(j,ce,R){this.props=j,this.context=ce,this.refs=N,this.updater=R||E}var K=I.prototype=new O;K.constructor=I,T(K,k.prototype),K.isPureReactComponent=!0;var V=Array.isArray;function B(){}var z={H:null,A:null,T:null,S:null},W=Object.prototype.hasOwnProperty;function re(j,ce,R){var he=R.ref;return{$$typeof:e,type:j,key:ce,ref:he!==void 0?he:null,props:R}}function Y(j,ce){return re(j.type,ce,j.props)}function se(j){return typeof j=="object"&&j!==null&&j.$$typeof===e}function ee(j){var ce={"=":"=0",":":"=2"};return"$"+j.replace(/[=:]/g,function(R){return ce[R]})}var me=/\/+/g;function ue(j,ce){return typeof j=="object"&&j!==null&&j.key!=null?ee(""+j.key):ce.toString(36)}function be(j){switch(j.status){case"fulfilled":return j.value;case"rejected":throw j.reason;default:switch(typeof j.status=="string"?j.then(B,B):(j.status="pending",j.then(function(ce){j.status==="pending"&&(j.status="fulfilled",j.value=ce)},function(ce){j.status==="pending"&&(j.status="rejected",j.reason=ce)})),j.status){case"fulfilled":return j.value;case"rejected":throw j.reason}}throw j}
vendor: 5,614 bytes, line 18
18function $(j,ce,R,he,_e){var Re=typeof j;(Re==="undefined"||Re==="boolean")&&(j=null);var Me=!1;if(j===null)Me=!0;else switch(Re){case"bigint":case"string":case"number":Me=!0;break;case"object":switch(j.$$typeof){case e:case t:Me=!0;break;case p:return Me=j._init,$(Me(j._payload),ce,R,he,_e)}}if(Me)return _e=_e(j),Me=he===""?"."+ue(j,0):he,V(_e)?(R="",Me!=null&&(R=Me.replace(me,"$&/")+"/"),$(_e,ce,R,"",function(At){return At})):_e!=null&&(se(_e)&&(_e=Y(_e,R+(_e.key==null||j&&j.key===_e.key?"":(""+_e.key).replace(me,"$&/")+"/")+Me)),ce.push(_e)),1;Me=0;var je=he===""?".":he+":";if(V(j))for(var Ke=0;Ke<j.length;Ke++)he=j[Ke],Re=je+ue(he,Ke),Me+=$(he,ce,R,Re,_e);else if(Ke=y(j),typeof Ke=="function")for(j=Ke.call(j),Ke=0;!(he=j.next()).done;)he=he.value,Re=je+ue(he,Ke++),Me+=$(he,ce,R,Re,_e);else if(Re==="object"){if(typeof j.then=="function")return $(be(j),ce,R,he,_e);throw ce=String(j),Error("Objects are not valid as a React child (found: "+(ce==="[object Object]"?"object with keys {"+Object.keys(j).join(", ")+"}":ce)+"). If you meant to render a collection of children, use an array instead.")}return Me}function ae(j,ce,R){if(j==null)return j;var he=[],_e=0;return $(j,he,"","",function(Re){return ce.call(R,Re,_e++)}),he}function te(j){if(j._status===-1){var ce=j._result;ce=ce(),ce.then(function(R){(j._status===0||j._status===-1)&&(j._status=1,j._result=R)},function(R){(j._status===0||j._status===-1)&&(j._status=2,j._result=R)}),j._status===-1&&(j._status=0,j._result=ce)}if(j._status===1)return j._result.default;throw j._result}var Oe=typeof reportError=="function"?reportError:function(j){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var ce=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof j=="object"&&j!==null&&typeof j.message=="string"?String(j.message):String(j),error:j});if(!window.dispatchEvent(ce))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",j);return}console.error(j)},U={map:ae,forEach:function(j,ce,R){ae(j,function(){ce.apply(this,arguments)},R)},count:function(j){var ce=0;return ae(j,function(){ce++}),ce},toArray:function(j){return ae(j,function(ce){return ce})||[]},only:function(j){if(!se(j))throw Error("React.Children.only expected to receive a single React element child.");return j}};return Je.Activity=m,Je.Children=U,Je.Component=k,Je.Fragment=n,Je.Profiler=a,Je.PureComponent=I,Je.StrictMode=r,Je.Suspense=d,Je.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=z,Je.__COMPILER_RUNTIME={__proto__:null,c:function(j){return z.H.useMemoCache(j)}},Je.cache=function(j){return function(){return j.apply(null,arguments)}},Je.cacheSignal=function(){return null},Je.cloneElement=function(j,ce,R){if(j==null)throw Error("The argument must be a React element, but you passed "+j+".");var he=T({},j.props),_e=j.key;if(ce!=null)for(Re in ce.key!==void 0&&(_e=""+ce.key),ce)!W.call(ce,Re)||Re==="key"||Re==="__self"||Re==="__source"||Re==="ref"&&ce.ref===void 0||(he[Re]=ce[Re]);var Re=arguments.length-2;if(Re===1)he.children=R;else if(1<Re){for(var Me=Array(Re),je=0;je<Re;je++)Me[je]=arguments[je+2];he.children=Me}return re(j.type,_e,he)},Je.createContext=function(j){return j={$$typeof:l,_currentValue:j,_currentValue2:j,_threadCount:0,Provider:null,Consumer:null},j.Provider=j,j.Consumer={$$typeof:s,_context:j},j},Je.createElement=function(j,ce,R){var he,_e={},Re=null;if(ce!=null)for(he in ce.key!==void 0&&(Re=""+ce.key),ce)W.call(ce,he)&&he!=="key"&&he!=="__self"&&he!=="__source"&&(_e[he]=ce[he]);var Me=arguments.length-2;if(Me===1)_e.children=R;else if(1<Me){for(var je=Array(Me),Ke=0;Ke<Me;Ke++)je[Ke]=arguments[Ke+2];_e.children=je}if(j&&j.defaultProps)for(he in Me=j.defaultProps,Me)_e[he]===void 0&&(_e[he]=Me[he]);return re(j,Re,_e)},Je.createRef=function(){return{current:null}},Je.forwardRef=function(j){return{$$typeof:u,render:j}},Je.isValidElement=se,Je.lazy=function(j){return{$$typeof:p,_payload:{_status:-1,_result:j},_init:te}},Je.memo=function(j,ce){return{$$typeof:f,type:j,compare:ce===void 0?null:ce}},Je.startTransition=function(j){var ce=z.T,R={};z.T=R;try{var he=j(),_e=z.S;_e!==null&&_e(R,he),typeof he=="object"&&he!==null&&typeof he.then=="function"&&he.then(B,Oe)}catch(Re){Oe(Re)}finally{ce!==null&&R.types!==null&&(ce.types=R.types),z.T=ce}},Je.unstable_useCacheRefresh=function(){return z.H.useCacheRefresh()},Je.use=function(j){return z.H.use(j)},Je.useActionState=function(j,ce,R){return z.H.useActionState(j,ce,R)},Je.useCallback=function(j,ce){return z.H.useCallback(j,ce)},Je.useContext=function(j){return z.H.useContext(j)},Je.useDebugValue=function(){},Je.useDeferredValue=function(j,ce){return z.H.useDeferredValue(j,ce)},Je.useEffect=function(j,ce){return z.H.useEffect(j,ce)},Je.useEffectEvent=function(j){return z.H.useEffectEvent(j)},Je.useId=function(){return z.H.useId()},Je.useImperativeHandle=function(j,ce,R){return z.H.useImperativeHandle(j,ce,R)},Je.useInsertionEffect=function(j,ce){return z.H.useInsertionEffect(j,ce)},Je.useLayoutEffect=function(j,ce){return z.H.useLayoutEffect(j,ce)},Je.useMemo=function(j,ce){return z.H.useMemo(j,ce)},Je.useOptimistic=function(j,ce){return z.H.useOptimistic(j,ce)},Je.useReducer=function(j,ce,R){return z.H.useReducer(j,ce,R)},Je.useRef=function(j){return z.H.useRef(j)},Je.useState=function(j){return z.H.useState(j)},Je.useSyncExternalStore=function(j,ce,R){return z.H.useSyncExternalStore(j,ce,R)},Je.useTransition=function(){return z.H.useTransition()},Je.version="19.2.1",Je}var Nv;function ah(){return Nv||(Nv=1,o1.exports=fN()),o1.exports}var H=ah();
18const Ie=rh(H),RE=zC({__proto__:null,default:Ie},[H]);var DE=H.createContext(void 0),Jc=e=>{const t=H.useContext(DE);if(e)return e;if(!t)throw new Error("No QueryClient set, use QueryClientProvider to set one");return t},hN=({client:e,children:t})=>(H.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),A.jsx(DE.Provider,{value:e,children:t})),LE=H.createContext(!1),IE=()=>H.useContext(LE);LE.Provider;function mN(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}var pN=H.createContext(mN()),ME=()=>H.useContext(pN),PE=(e,t)=>{(e.suspense||e.throwOnError||e.experimental_prefetchInRender)&&(t.isReset()||(e.retryOnMount=!1))},BE=e=>{H.useEffect(()=>{e.clearReset()},[e])},zE=({result:e,errorResetBoundary:t,throwOnError:n,query:r,suspense:a})=>e.isError&&!t.isReset()&&!e.isFetching&&r&&(a&&e.data===void 0||TE(n,[e.error,r])),q2=(e,t)=>t.state.data===void 0,UE=e=>{if(e.suspense){const n=a=>a==="static"?a:Math.max(a??1e3,1e3),r=e.staleTime;e.staleTime=typeof r=="function"?(...a)=>n(r(...a)):n(r),typeof e.gcTime=="number"&&(e.gcTime=Math.max(e.gcTime,1e3))}},HE=(e,t)=>e.isLoading&&e.isFetching&&!t,Ag=(e,t)=>e?.suspense&&t.isPending,Tf=(e,t,n)=>t.fetchOptimistic(e).catch(()=>{n.clearReset()});function FE({queries:e,...t},n){const r=Jc(n),a=IE(),s=ME(),l=H.useMemo(()=>e.map(T=>{const N=r.defaultQueryOptions(T);return N._optimisticResults=a?"isRestoring":"optimistic",N}),[e,r,a]);l.forEach(T=>{UE(T),PE(T,s)}),BE(s);const[u]=H.useState(()=>new uN(r,l,t)),[d,f,p]=u.getOptimisticResult(l,t.combine),m=!a&&t.subscribed!==!1;H.useSyncExternalStore(H.useCallback(T=>m?u.subscribe(Zt.batchCalls(T)):Gn,[u,m]),()=>u.getCurrentResult(),()=>u.getCurrentResult()),H.useEffect(()=>{u.setQueries(l,t)},[l,t,u]);const y=d.some((T,N)=>Ag(l[N],T))?d.flatMap((T,N)=>{const k=l[N];if(k){const O=new Zc(r,k);if(Ag(k,T))return Tf(k,O,s);HE(T,a)&&Tf(k,O,s)}return[]}):[];if(y.length>0)throw Promise.all(y);const E=d.find((T,N)=>{const k=l[N];return k&&zE({result:T,errorResetBoundary:s,throwOnError:k.throwOnError,query:r.getQueryCache().get(k.queryHash),suspense:k.suspense})});if(E?.error)throw E.error;return f(p())}function ih(e,t,n){const r=IE(),a=ME(),s=Jc(n),l=s.defaultQueryOptions(e);s.getDefaultOptions().queries?._experimental_beforeQuery?.(l),l._optimisticResults=r?"isRestoring":"optimistic",UE(l),PE(l,a),BE(a);const u=!s.getQueryCache().get(l.queryHash),[d]=H.useState(()=>new t(s,l)),f=d.getOptimisticResult(l),p=!r&&e.subscribed!==!1;if(H.useSyncExternalStore(H.useCallback(m=>{const b=p?d.subscribe(Zt.batchCalls(m)):Gn;return d.updateResult(),b},[d,p]),()=>d.getCurrentResult(),()=>d.getCurrentResult()),H.useEffect(()=>{d.setOptions(l)},[l,d]),Ag(l,f))throw Tf(l,d,a);if(zE({result:f,errorResetBoundary:a,throwOnError:l.throwOnError,query:s.getQueryCache().get(l.queryHash),suspense:l.suspense}))throw f.error;return s.getDefaultOptions().queries?._experimental_afterQuery?.(l,f),l.experimental_prefetchInRender&&!po&&HE(f,r)&&(u?Tf(l,d,a):s.getQueryCache().get(l.queryHash)?.promise)?.catch(Gn).finally(()=>{d.updateResult()}),l.notifyOnChangeProps?f:d.trackResult(f)}function gN(e,t){return ih(e,Zc,t)}function bN(e,t){return ih({...e,enabled:!0,suspense:!0,throwOnError:q2,placeholderData:void 0},Zc,t)}function yN(e,t){return ih({...e,enabled:!0,suspense:!0,throwOnError:q2},NE,t)}function vN(e,t){return FE({...e,queries:e.queries.map(n=>({...n,suspense:!0,throwOnError:q2,enabled:!0,placeholderData:void 0}))},t)}function xN(e,t){const n=Jc(t);n.getQueryState(e.queryKey)||n.prefetchQuery(e)}function EN(e,t){const n=Jc(t);n.getQueryState(e.queryKey)||n.prefetchInfiniteQuery(e)}function _N(e,t){const n=Jc(t),[r]=H.useState(()=>new oN(n,e));H.useEffect(()=>{r.setOptions(e)},[r,e]);const a=H.useSyncExternalStore(H.useCallback(l=>r.subscribe(Zt.batchCalls(l)),[r]),()=>r.getCurrentResult(),()=>r.getCurrentResult()),s=H.useCallback((l,u)=>{r.mutate(l,u).catch(Gn)},[r]);if(a.error&&TE(r.options.throwOnError,[a.error]))throw a.error;return{...a,mutate:s,mutateAsync:a.mutate}}function TN(e,t){return ih(e,NE,t)}function go(e){return!!e&&!Array.isArray(e)&&typeof e=="object"}const SN=typeof Symbol=="function"&&!!Symbol.asyncIterator;function jE(e){return SN&&go(e)&&Symbol.asyncIterator in e}var wN=Object.create,qE=Object.defineProperty,AN=Object.getOwnPropertyDescriptor,$E=Object.getOwnPropertyNames,kN=Object.getPrototypeOf,CN=Object.prototype.hasOwnProperty,e0=(e,t)=>function(){return t||(0,e[$E(e)[0]])((t={exports:{}}).exports,t),t.exports},NN=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(var a=$E(t),s=0,l=a.length,u;s<l;
18s++)u=a[s],!CN.call(e,u)&&u!==n&&qE(e,u,{get:(d=>t[d]).bind(null,u),enumerable:!(r=AN(t,u))||r.enumerable});return e},sh=(e,t,n)=>(n=e!=null?wN(kN(e)):{},NN(qE(n,"default",{value:e,enumerable:!0}),e));const VE=()=>{},Ov=e=>{Object.freeze&&Object.freeze(e)};function GE(e,t,n){var r;const a=t.join(".");return(r=n[a])!==null&&r!==void 0||(n[a]=new Proxy(VE,{get(s,l){if(!(typeof l!="string"||l==="then"))return GE(e,[...t,l],n)},apply(s,l,u){const d=t[t.length-1];let f={args:u,path:t};return d==="call"?f={args:u.length>=2?[u[1]]:[],path:t.slice(0,-1)}:d==="apply"&&(f={args:u.length>=2?u[1]:[],path:t.slice(0,-1)}),Ov(f.args),Ov(f.path),e(f)}})),n[a]}const oh=e=>GE(e,[],Object.create(null)),$2=e=>new Proxy(VE,{get(t,n){if(n!=="then")return e(n)}});var YE=e0({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/typeof.js"(e,t){function n(r){"@babel/helpers - typeof";return t.exports=n=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(a){return typeof a}:function(a){return a&&typeof Symbol=="function"&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a},t.exports.__esModule=!0,t.exports.default=t.exports,n(r)}t.exports=n,t.exports.__esModule=!0,t.exports.default=t.exports}}),ON=e0({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/toPrimitive.js"(e,t){var n=YE().default;function r(a,s){if(n(a)!="object"||!a)return a;var l=a[Symbol.toPrimitive];if(l!==void 0){var u=l.call(a,s||"default");if(n(u)!="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return(s==="string"?String:Number)(a)}t.exports=r,t.exports.__esModule=!0,t.exports.default=t.exports}}),RN=e0({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/toPropertyKey.js"(e,t){var n=YE().default,r=ON();function a(s){var l=r(s,"string");return n(l)=="symbol"?l:l+""}t.exports=a,t.exports.__esModule=!0,t.exports.default=t.exports}}),QE=e0({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/defineProperty.js"(e,t){var n=RN();function r(a,s,l){return(s=n(s))in a?Object.defineProperty(a,s,{value:l,enumerable:!0,configurable:!0,writable:!0}):a[s]=l,a}t.exports=r,t.exports.__esModule=!0,t.exports.default=t.exports}}),V2=e0({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/objectSpread2.js"(e,t){var n=QE();function r(s,l){var u=Object.keys(s);if(Object.getOwnPropertySymbols){var d=Object.getOwnPropertySymbols(s);l&&(d=d.filter(function(f){return Object.getOwnPropertyDescriptor(s,f).enumerable})),u.push.apply(u,d)}return u}function a(s){for(var l=1;l<arguments.length;l++){var u=arguments[l]!=null?arguments[l]:{};l%2?r(Object(u),!0).forEach(function(d){n(s,d,u[d])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(u)):r(Object(u)).forEach(function(d){Object.defineProperty(s,d,Object.getOwnPropertyDescriptor(u,d))})}return s}t.exports=a,t.exports.__esModule=!0,t.exports.default=t.exports}});sh(V2());sh(QE());var Ld=sh(V2());function DN(e,t){if("error"in e){const r=t.deserialize(e.error);return{ok:!1,error:(0,Ld.default)((0,Ld.default)({},e),{},{error:r})}}return{ok:!0,result:(0,Ld.default)((0,Ld.default)({},e.result),(!e.result.type||e.result.type==="data")&&{type:"data",data:t.deserialize(e.result.data)})}}var l1=class extends Error{constructor(){super("Unable to transform response from server")}};function LN(e,t){let n;try{n=DN(e,t)}catch{throw new l1}if(!n.ok&&(!go(n.error.error)||typeof n.error.error.code!="number"))throw new l1;if(n.ok&&!go(n.result))throw new l1;return n}sh(V2());function lh(e){const t={subscribe(n){let r=null,a=!1,s=!1,l=!1;function u(){if(r===null){l=!0;return}s||(s=!0,typeof r=="function"?r():r&&r.unsubscribe())}return r=e({next(d){var f;a||(f=n.next)===null||f===void 0||f.call(n,d)},error(d){var f;a||(a=!0,(f=n.error)===null||f===void 0||f.call(n,d),u())},complete(){var d;a||(a=!0,(d=n.complete)===null||d===void 0||d.call(n),u())}}),l&&u(),{unsubscribe:u}},pipe(...n){return n.reduce(IN,t)}};return t}function IN(e,t){return t(e)}function MN(e){const t=new AbortController;return new Promise((r,a)=>{let s=!1;function l(){s||(s=!0,u.unsubscribe())}t.signal.addEventListener("abort",()=>{a(t.signal.reason)});const u=e.subscribe({next(d){s=!0,r(d),l()},error(d){a(d)},complete(){t.abort(),l()}})})}var PN=Object.create,XE=Object.defineProperty,BN=Object.getOwnPropertyDescriptor,WE=Object.getOwnPropertyNames,zN=Object.getPrototypeOf,UN=Object.prototype.hasOwnProperty,Os=(e,t)=>function(){return t||(0,e[WE(e)[0]])((t={exports:{}}).exports,t),t.exports},HN=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(var a=WE(t),s=0,l=a.length,u;s<l;
18s++)u=a[s],!UN.call(e,u)&&u!==n&&XE(e,u,{get:(d=>t[d]).bind(null,u),enumerable:!(r=BN(t,u))||r.enumerable});return e},To=(e,t,n)=>(n=e!=null?PN(zN(e)):{},HN(t||!e||!e.__esModule?XE(n,"default",{value:e,enumerable:!0}):n,e)),FN=Os({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/objectWithoutPropertiesLoose.js"(e,t){function n(r,a){if(r==null)return{};var s={};for(var l in r)if({}.hasOwnProperty.call(r,l)){if(a.includes(l))continue;s[l]=r[l]}return s}t.exports=n,t.exports.__esModule=!0,t.exports.default=t.exports}}),jN=Os({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/objectWithoutProperties.js"(e,t){var n=FN();function r(a,s){if(a==null)return{};var l,u,d=n(a,s);if(Object.getOwnPropertySymbols){var f=Object.getOwnPropertySymbols(a);for(u=0;u<f.length;u++)l=f[u],s.includes(l)||{}.propertyIsEnumerable.call(a,l)&&(d[l]=a[l])}return d}t.exports=r,t.exports.__esModule=!0,t.exports.default=t.exports}}),KE=Os({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/typeof.js"(e,t){function n(r){"@babel/helpers - typeof";return t.exports=n=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(a){return typeof a}:function(a){return a&&typeof Symbol=="function"&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a},t.exports.__esModule=!0,t.exports.default=t.exports,n(r)}t.exports=n,t.exports.__esModule=!0,t.exports.default=t.exports}}),qN=Os({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/toPrimitive.js"(e,t){var n=KE().default;function r(a,s){if(n(a)!="object"||!a)return a;var l=a[Symbol.toPrimitive];if(l!==void 0){var u=l.call(a,s||"default");if(n(u)!="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return(s==="string"?String:Number)(a)}t.exports=r,t.exports.__esModule=!0,t.exports.default=t.exports}}),$N=Os({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/toPropertyKey.js"(e,t){var n=KE().default,r=qN();function a(s){var l=r(s,"string");return n(l)=="symbol"?l:l+""}t.exports=a,t.exports.__esModule=!0,t.exports.default=t.exports}}),VN=Os({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/defineProperty.js"(e,t){var n=$N();function r(a,s,l){return(s=n(s))in a?Object.defineProperty(a,s,{value:l,enumerable:!0,configurable:!0,writable:!0}):a[s]=l,a}t.exports=r,t.exports.__esModule=!0,t.exports.default=t.exports}}),t0=Os({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/objectSpread2.js"(e,t){var n=VN();function r(s,l){var u=Object.keys(s);if(Object.getOwnPropertySymbols){var d=Object.getOwnPropertySymbols(s);l&&(d=d.filter(function(f){return Object.getOwnPropertyDescriptor(s,f).enumerable})),u.push.apply(u,d)}return u}function a(s){for(var l=1;l<arguments.length;l++){var u=arguments[l]!=null?arguments[l]:{};l%2?r(Object(u),!0).forEach(function(d){n(s,d,u[d])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(u)):r(Object(u)).forEach(function(d){Object.defineProperty(s,d,Object.getOwnPropertyDescriptor(u,d))})}return s}t.exports=a,t.exports.__esModule=!0,t.exports.default=t.exports}}),GN=To(jN(),1),Rv=To(t0(),1);const YN=["cursor","direction"];function za(e,t,n){const r=e.flatMap(a=>a.split("."));if(!t&&(!n||n==="any"))return r.length?[r]:[];if(n==="infinite"&&go(t)&&("direction"in t||"cursor"in t)){const{cursor:a,direction:s}=t,l=(0,GN.default)(t,YN);return[r,{input:l,type:"infinite"}]}return[r,(0,Rv.default)((0,Rv.default)({},typeof t<"u"&&t!==Ir&&{input:t}),n&&n!=="any"&&{type:n})]}function cf(e){return za(e,void 0,"any")}var QN=Object.create,ZE=Object.defineProperty,XN=Object.getOwnPropertyDescriptor,JE=Object.getOwnPropertyNames,WN=Object.getPrototypeOf,KN=Object.prototype.hasOwnProperty,Ya=(e,t)=>function(){return t||(0,e[JE(e)[0]])((t={exports:{}}).exports,t),t.exports},ZN=(e,t,n,r)=>
18{if(t&&typeof t=="object"||typeof t=="function")for(var a=JE(t),s=0,l=a.length,u;s<l;s++)u=a[s],!KN.call(e,u)&&u!==n&&ZE(e,u,{get:(d=>t[d]).bind(null,u),enumerable:!(r=XN(t,u))||r.enumerable});return e},un=(e,t,n)=>(n=e!=null?QN(WN(e)):{},ZN(t||!e||!e.__esModule?ZE(n,"default",{value:e,enumerable:!0}):n,e)),e7=Ya({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/typeof.js"(e,t){function n(r){"@babel/helpers - typeof";return t.exports=n=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(a){return typeof a}:function(a){return a&&typeof Symbol=="function"&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a},t.exports.__esModule=!0,t.exports.default=t.exports,n(r)}t.exports=n,t.exports.__esModule=!0,t.exports.default=t.exports}}),JN=Ya({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/toPrimitive.js"(e,t){var n=e7().default;function r(a,s){if(n(a)!="object"||!a)return a;var l=a[Symbol.toPrimitive];if(l!==void 0){var u=l.call(a,s||"default");if(n(u)!="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return(s==="string"?String:Number)(a)}t.exports=r,t.exports.__esModule=!0,t.exports.default=t.exports}}),eO=Ya({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/toPropertyKey.js"(e,t){var n=e7().default,r=JN();function a(s){var l=r(s,"string");return n(l)=="symbol"?l:l+""}t.exports=a,t.exports.__esModule=!0,t.exports.default=t.exports}}),So=Ya({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/defineProperty.js"(e,t){var n=eO();function r(a,s,l){return(s=n(s))in a?Object.defineProperty(a,s,{value:l,enumerable:!0,configurable:!0,writable:!0}):a[s]=l,a}t.exports=r,t.exports.__esModule=!0,t.exports.default=t.exports}}),Ea=Ya({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/objectSpread2.js"(e,t){var n=So();function r(s,l){var u=Object.keys(s);if(Object.getOwnPropertySymbols){var d=Object.getOwnPropertySymbols(s);l&&(d=d.filter(function(f){return Object.getOwnPropertyDescriptor(s,f).enumerable})),u.push.apply(u,d)}return u}function a(s){for(var l=1;l<arguments.length;l++){var u=arguments[l]!=null?arguments[l]:{};l%2?r(Object(u),!0).forEach(function(d){n(s,d,u[d])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(u)):r(Object(u)).forEach(function(d){Object.defineProperty(s,d,Object.getOwnPropertyDescriptor(u,d))})}return s}t.exports=a,t.exports.__esModule=!0,t.exports.default=t.exports}});function tO(e){return t=>{let n=0,r=null;const a=[];function s(){r||(r=t.subscribe({next(u){for(const f of a){var d;(d=f.next)===null||d===void 0||d.call(f,u)}},error(u){for(const f of a){var d;(d=f.error)===null||d===void 0||d.call(f,u)}},complete(){for(const d of a){var u;(u=d.complete)===null||u===void 0||u.call(d)}}}))}function l(){if(n===0&&r){const u=r;r=null,u.unsubscribe()}}return lh(u=>(n++,a.push(u),s(),{unsubscribe(){n--,l();const d=a.findIndex(f=>f===u);d>-1&&a.splice(d,1)}}))}}function nO(e){let t=e;const n=[],r=l=>{t!==void 0&&l.next(t),n.push(l)},a=l=>{n.splice(n.indexOf(l),1)},s=lh(l=>(r(l),()=>{a(l)}));return s.next=l=>{if(t!==l){t=l;for(const u of n)u.next(l)}},s.get=()=>t,s}function rO(e){return lh(t=>{function n(a=0,s=e.op){const l=e.links[a];if(!l)throw new Error("No more links to execute - did you forget to add an ending link?");return l({op:s,next(d){return n(a+1,d)}})}return n().subscribe(t)})}var Id=un(So(),1),xl=un(Ea(),1);function aO(e){return e instanceof Hl}function iO(e){return go(e)&&go(e.error)&&typeof e.error.code=="number"&&typeof e.error.message=="string"}function sO(e,t){return typeof e=="string"?e:go(e)&&typeof e.message=="string"?e.message:t}var Hl=class df extends Error{constructor(t,n){var r,a;const s=n?.cause;super(t,{cause:s}),(0,Id.default)(this,"cause",void 0),(0,Id.default)(this,"shape",void 0),(0,Id.default)(this,"data",void 0),(0,Id.default)(this,"meta",void 0),this.meta=n?.meta,this.cause=s,this.shape=n==null||(r=n.result)===null||r===void 0?void 0:r.error,this.data=n==null||(a=n.result)===null||a===void 0?void 0:a.error.data,this.name="TRPCClientError",Object.setPrototypeOf(this,df.prototype)}static from(t,n={}){const r=t;return aO(r)?(n.meta&&(r.meta=(0,xl.default)((0,xl.default)({},r.meta),n.meta)),r):iO(r)?new df(r.error.message,(0,xl.default)((0,xl.default)({},n),{},{result:r})):new df(sO(r,"Unknown error"),(0,xl.default)((0,xl.default)({},n),{},{cause:r}))}};function oO(e){const t=e;return t?"input"in t?t:{input:t,output:t}:{input:{serialize:n=>n,deserialize:n=>n}
18,output:{serialize:n=>n,deserialize:n=>n}}}const Dv=e=>typeof e=="function";function lO(e){if(e)return e;if(typeof window<"u"&&Dv(window.fetch))return window.fetch;if(typeof globalThis<"u"&&Dv(globalThis.fetch))return globalThis.fetch;throw new Error("No fetch implementation found")}var yc=un(Ea());function uO(e){return{url:e.url.toString(),fetch:e.fetch,transformer:oO(e.transformer),methodOverride:e.methodOverride}}function cO(e){const t={};for(let n=0;n<e.length;n++){const r=e[n];t[n]=r}return t}const dO={query:"GET",mutation:"POST",subscription:"PATCH"};function t7(e){return"input"in e?e.transformer.input.serialize(e.input):cO(e.inputs.map(t=>e.transformer.input.serialize(t)))}const n7=e=>{const t=e.url.split("?");let r=t[0].replace(/\/$/,"")+"/"+e.path;const a=[];if(t[1]&&a.push(t[1]),"inputs"in e&&a.push("batch=1"),e.type==="query"||e.type==="subscription"){const s=t7(e);s!==void 0&&e.methodOverride!=="POST"&&a.push(`input=${encodeURIComponent(JSON.stringify(s))}`)}return a.length&&(r+="?"+a.join("&")),r},fO=e=>{if(e.type==="query"&&e.methodOverride!=="POST")return;const t=t7(e);return t!==void 0?JSON.stringify(t):void 0},hO=e=>bO((0,yc.default)((0,yc.default)({},e),{},{contentTypeHeader:"application/json",getUrl:n7,getBody:fO}));var mO=class extends Error{constructor(){const e="AbortError";super(e),this.name=e,this.message=e}};const pO=e=>{var t;if(e?.aborted)throw(t=e.throwIfAborted)===null||t===void 0||t.call(e),typeof DOMException<"u"?new DOMException("AbortError","AbortError"):new mO};async function gO(e){var t;pO(e.signal);const n=e.getUrl(e),r=e.getBody(e),a=(t=e.methodOverride)!==null&&t!==void 0?t:dO[e.type],s=await(async()=>{const u=await e.headers();return Symbol.iterator in u?Object.fromEntries(u):u})(),l=(0,yc.default)((0,yc.default)((0,yc.default)({},e.contentTypeHeader&&a!=="GET"?{"content-type":e.contentTypeHeader}:{}),e.trpcAcceptHeader?{"trpc-accept":e.trpcAcceptHeader}:void 0),s);return lO(e.fetch)(n,{method:a,signal:e.signal,body:r,headers:l})}async function bO(e){const t={},n=await gO(e);t.response=n;const r=await n.json();return t.responseJSON=r,{json:r,meta:t}}un(Ea(),1);const Lv=()=>{throw new Error("Something went wrong. Please submit an issue at https://github.com/trpc/trpc/issues/new")};function Iv(e){let t=null,n=null;const r=()=>{clearTimeout(n),n=null,t=null};function a(u){const d=[[]];let f=0;for(;;){const b=u[f];if(!b)break;const y=d[d.length-1];if(b.aborted){var p;(p=b.reject)===null||p===void 0||p.call(b,new Error("Aborted")),f++;continue}if(e.validate(y.concat(b).map(T=>T.key))){y.push(b),f++;continue}if(y.length===0){var m;(m=b.reject)===null||m===void 0||m.call(b,new Error("Input is too big for a single dispatch")),f++;continue}d.push([])}return d}function s(){const u=a(t);r();for(const d of u){if(!d.length)continue;const f={items:d};for(const m of d)m.batch=f;e.fetch(f.items.map(m=>m.key)).then(async m=>{await Promise.all(m.map(async(y,E)=>{const T=f.items[E];try{var N;const O=await Promise.resolve(y);(N=T.resolve)===null||N===void 0||N.call(T,O)}catch(O){var k;(k=T.reject)===null||k===void 0||k.call(T,O)}T.batch=null,T.reject=null,T.resolve=null}));for(const y of f.items){var b;(b=y.reject)===null||b===void 0||b.call(y,new Error("Missing result")),y.batch=null}}).catch(m=>{for(const y of f.items){var b;(b=y.reject)===null||b===void 0||b.call(y,m),y.batch=null}})}}function l(u){var d;const f={aborted:!1,key:u,batch:null,resolve:Lv,reject:Lv},p=new Promise((m,b)=>{var y;f.reject=b,f.resolve=m,(y=t)!==null&&y!==void 0||(t=[]),t.push(f)});return(d=n)!==null&&d!==void 0||(n=setTimeout(s)),p}return{load:l}}function yO(...e){const t=new AbortController,n=e.length;let r=0;const a=()=>{++r===n&&t.abort()};for(const s of e)s?.aborted?a():s?.addEventListener("abort",a,{once:!0});return t.signal}var Md=un(Ea(),1);function vO(e){var t,n;const r=uO(e),a=(t=e.maxURLLength)!==null&&t!==void 0?t:1/0,s=(n=e.maxItems)!==null&&n!==void 0?n:1/0;return()=>{const l=p=>({validate(m){if(a===1/0&&s===1/0)return!0;if(m.length>s)return!1;const b=m.map(T=>T.path).join(","),y=m.map(T=>T.input);return n7((0,Md.default)((0,Md.default)({},r),{},{type:p,path:b,inputs:y,signal:null})).length<=a},async fetch(m){const b=m.map(O=>O.path).join(","),y=m.map(O=>O.input),E=yO(...m.map(O=>O.signal)),T=await hO((0,Md.default)((0,Md.default)({},r),{},{path:b,inputs:y,type:p,headers(){return e.headers?typeof e.headers=="function"?e.headers({opList:m}):e.headers:{}},signal:E}));return(Array.isArray(T.json)?T.json:m.map(()=>T.json)).map(O=>({meta:T.meta,json:O}))}}
18),u=Iv(l("query")),d=Iv(l("mutation")),f={query:u,mutation:d};return({op:p})=>lh(m=>{/* istanbul ignore if -- @preserve */if(p.type==="subscription")throw new Error("Subscriptions are unsupported by `httpLink` - use `httpSubscriptionLink` or `wsLink`");const y=f[p.type].load(p);let E;return y.then(T=>{E=T;const N=LN(T.json,r.transformer.output);if(!N.ok){m.error(Hl.from(N.error,{meta:T.meta}));return}m.next({context:T.meta,result:N.result}),m.complete()}).catch(T=>{m.error(Hl.from(T,{meta:E?.meta}))}),()=>{}})}}un(Ea(),1);const r7=(e,...t)=>typeof e=="function"?e(...t):e;un(So(),1);function xO(){let e,t;return{promise:new Promise((r,a)=>{e=r,t=a}),resolve:e,reject:t}}async function EO(e){const t=await r7(e.url);if(!e.connectionParams)return t;const r=`${t.includes("?")?"&":"?"}connectionParams=1`;return t+r}async function _O(e){const t={method:"connectionParams",data:await r7(e)};return JSON.stringify(t)}un(So(),1);var io=un(So(),1);function TO(e){const{promise:t,resolve:n,reject:r}=xO();return e.addEventListener("open",()=>{e.removeEventListener("error",r),n()}),e.addEventListener("error",r),t}function SO(e,{intervalMs:t,pongTimeoutMs:n}){let r,a;function s(){r=setTimeout(()=>{e.send("PING"),a=setTimeout(()=>{e.close()},n)},t)}function l(){clearTimeout(r),s()}function u(){clearTimeout(a),l()}e.addEventListener("open",s),e.addEventListener("message",({data:d})=>{clearTimeout(r),s(),d==="PONG"&&u()}),e.addEventListener("close",()=>{clearTimeout(r),clearTimeout(a)})}var wO=class kg{constructor(t){var n;if((0,io.default)(this,"id",++kg.connectCount),(0,io.default)(this,"WebSocketPonyfill",void 0),(0,io.default)(this,"urlOptions",void 0),(0,io.default)(this,"keepAliveOpts",void 0),(0,io.default)(this,"wsObservable",nO(null)),(0,io.default)(this,"openPromise",null),this.WebSocketPonyfill=(n=t.WebSocketPonyfill)!==null&&n!==void 0?n:WebSocket,!this.WebSocketPonyfill)throw new Error("No WebSocket implementation found - you probably don't want to use this on the server, but if you do you need to pass a `WebSocket`-ponyfill");this.urlOptions=t.urlOptions,this.keepAliveOpts=t.keepAlive}get ws(){return this.wsObservable.get()}set ws(t){this.wsObservable.next(t)}isOpen(){return!!this.ws&&this.ws.readyState===this.WebSocketPonyfill.OPEN&&!this.openPromise}isClosed(){return!!this.ws&&(this.ws.readyState===this.WebSocketPonyfill.CLOSING||this.ws.readyState===this.WebSocketPonyfill.CLOSED)}async open(){var t=this;if(t.openPromise)return t.openPromise;t.id=++kg.connectCount;const n=EO(t.urlOptions).then(r=>new t.WebSocketPonyfill(r));t.openPromise=n.then(async r=>{t.ws=r,r.addEventListener("message",function({data:a}){a==="PING"&&this.send("PONG")}),t.keepAliveOpts.enabled&&SO(r,t.keepAliveOpts),r.addEventListener("close",()=>{t.ws===r&&(t.ws=null)}),await TO(r),t.urlOptions.connectionParams&&r.send(await _O(t.urlOptions.connectionParams))});try{await t.openPromise}finally{t.openPromise=null}}async close(){var t=this;try{await t.openPromise}finally{var n;(n=t.ws)===null||n===void 0||n.close()}}};(0,io.default)(wO,"connectCount",0);un(So(),1);un(Ea(),1);var u1=un(So(),1),Mv=un(Ea(),1),uh=class{constructor(e){(0,u1.default)(this,"links",void 0),(0,u1.default)(this,"runtime",void 0),(0,u1.default)(this,"requestId",void 0),this.requestId=0,this.runtime={},this.links=e.links.map(t=>t(this.runtime))}$request(e){var t;return rO({links:this.links,op:(0,Mv.default)((0,Mv.default)({},e),{},{context:(t=e.context)!==null&&t!==void 0?t:{},id:++this.requestId})}).pipe(tO())}async requestAsPromise(e){var t=this;try{const n=t.$request(e);return(await MN(n)).result.data}catch(n){throw Hl.from(n)}}query(e,t,n){return this.requestAsPromise({type:"query",path:e,input:t,context:n?.context,signal:n?.signal})}mutation(e,t,n){return this.requestAsPromise({type:"mutation",path:e,input:t,context:n?.context,signal:n?.signal})}subscription(e,t,n){return this.$request({type:"subscription",path:e,input:t,context:n.context,signal:n.signal}).subscribe({next(a){switch(a.result.type){case"state":{var s;(s=n.onConnectionStateChange)===null||s===void 0||s.call(n,a.result);break}case"started":{var l;(l=n.onStarted)===null||l===void 0||l.call(n,{context:a.context});break}case"stopped":{var u;(u=n.onStopped)===null||u===void 0||u.call(n);break}case"data":case void 0:{var d;(d=n.onData)===null||d===void 0||d.call(n,a.result.data);break}}},error(a){var s;(s=n.onError)===null||s===void 0||s.call(n,a)},complete(){var a;(a=n.onComplete)===null||a===void 0||a.call(n)}})}};const a7=Symbol.for("trpc_untypedClient"),AO={query:"query",mutate:"mutation",subscribe:"subscription"},kO=e=>AO[e];function i7(e){const t=oh(({path:n,args:r})=>{const a=[...n],s=kO(a.pop()),l=a.join(".");return e[s](l,...r)});return $2(n=>n===a7?e:t[n])}function CO(e){const t=new uh(e);return i7(t)}function G2(e){return e[a7]}un(Ea(),1);un(Ea(),1);var NO=Ya({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/asyncIterator.js"(e,t){function n(a){var s,l,u,d=2;for(typeof Symbol<"u"&&(l=Symbol.asyncIterator,u=Symbol.iterator);d--;){if(l&&(s=a[l])!=null)return s.call(a);if(u&&(s=a[u])!=null)return new r(s.call(a));l="@@asyncIterator",u="@@iterator"}throw new TypeError("Object is not async iterable")}function r(a){function s(l){if(Object(l)!==l)return Promise.reject(new TypeError(l+" is not an object."));var u=l.done;return Promise.resolve(l.value).then(function(d){return{value:d,done:u}})}return r=function(u){this.s=u,this.n=u.next},r.prototype={s:null,n:null,next:function(){return s(this.n.apply(this.s,arguments))},return:function(u){var d=this.s.return;return d===void 0?Promise.resolve({value:u,done:!0}):s(d.apply(this.s,arguments))},throw:function(u){var d=this.s.return;return d===void 0?Promise.reject(u):s(d.apply(this.s,arguments))}},new r(a)}
18t.exports=n,t.exports.__esModule=!0,t.exports.default=t.exports}});un(NO(),1);un(Ea(),1);var OO=Ya({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/usingCtx.js"(e,t){function n(){var r=typeof SuppressedError=="function"?SuppressedError:function(u,d){var f=Error();return f.name="SuppressedError",f.error=u,f.suppressed=d,f},a={},s=[];function l(u,d){if(d!=null){if(Object(d)!==d)throw new TypeError("using declarations can only be used with objects, functions, null, or undefined.");if(u)var f=d[Symbol.asyncDispose||Symbol.for("Symbol.asyncDispose")];if(f===void 0&&(f=d[Symbol.dispose||Symbol.for("Symbol.dispose")],u))var p=f;if(typeof f!="function")throw new TypeError("Object is not disposable.");p&&(f=function(){try{p.call(d)}catch(b){return Promise.reject(b)}}),s.push({v:d,d:f,a:u})}else u&&s.push({d,a:u});return d}return{e:a,u:l.bind(null,!1),a:l.bind(null,!0),d:function(){var d,f=this.e,p=0;function m(){for(;d=s.pop();)try{if(!d.a&&p===1)return p=0,s.push(d),Promise.resolve().then(m);if(d.d){var y=d.d.call(d.v);if(d.a)return p|=2,Promise.resolve(y).then(m,b)}else p|=1}catch(E){return b(E)}if(p===1)return f!==a?Promise.reject(f):Promise.resolve();if(f!==a)throw f}function b(y){return f=f!==a?new r(y,f):y,m()}return m()}}}t.exports=n,t.exports.__esModule=!0,t.exports.default=t.exports}}),s7=Ya({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/OverloadYield.js"(e,t){function n(r,a){this.v=r,this.k=a}t.exports=n,t.exports.__esModule=!0,t.exports.default=t.exports}}),RO=Ya({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/awaitAsyncGenerator.js"(e,t){var n=s7();function r(a){return new n(a,0)}t.exports=r,t.exports.__esModule=!0,t.exports.default=t.exports}}),DO=Ya({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/wrapAsyncGenerator.js"(e,t){var n=s7();function r(s){return function(){return new a(s.apply(this,arguments))}}function a(s){var l,u;function d(p,m){try{var b=s[p](m),y=b.value,E=y instanceof n;Promise.resolve(E?y.v:y).then(function(T){if(E){var N=p==="return"?"return":"next";if(!y.k||T.done)return d(N,T);T=s[N](T).value}f(b.done?"return":"normal",T)},function(T){d("throw",T)})}catch(T){f("throw",T)}}function f(p,m){switch(p){case"return":l.resolve({value:m,done:!0});break;case"throw":l.reject(m);break;default:l.resolve({value:m,done:!1})}(l=l.next)?d(l.key,l.arg):u=null}this._invoke=function(p,m){return new Promise(function(b,y){var E={key:p,arg:m,resolve:b,reject:y,next:null};u?u=u.next=E:(l=u=E,d(p,m))})},typeof s.return!="function"&&(this.return=void 0)}a.prototype[typeof Symbol=="function"&&Symbol.asyncIterator||"@@asyncIterator"]=function(){return this},a.prototype.next=function(s){return this._invoke("next",s)},a.prototype.throw=function(s){return this._invoke("throw",s)},a.prototype.return=function(s){return this._invoke("return",s)},t.exports=r,t.exports.__esModule=!0,t.exports.default=t.exports}});un(OO(),1);un(RO(),1);un(DO(),1);un(Ea(),1);function LO(e){return oh(({path:t,args:n})=>{var r;const a=[...t],s=a.pop();if(s==="useMutation")return e[s](a,...n);if(s==="_def")return{path:a};const[l,...u]=n,d=(r=u[0])!==null&&r!==void 0?r:{};return e[s](a,l,d)})}var c1;const IO=["client","ssrContext","ssrState","abortOnUnmount"],MO=(c1=H.createContext)===null||c1===void 0?void 0:c1.call(RE,null),PO=e=>{switch(e){case"queryOptions":case"fetch":case"ensureData":case"prefetch":case"getData":case"setData":case"setQueriesData":return"query";case"infiniteQueryOptions":case"fetchInfinite":case"prefetchInfinite":case"getInfiniteData":case"setInfiniteData":return"infinite";case"setMutationDefaults":case"getMutationDefaults":case"isMutating":case"cancel":case"invalidate":case"refetch":case"reset":return"any"}};function BO(e){return oh(t=>{const n=[...t.path],r=n.pop(),a=[...t.args],s=a.shift(),l=PO(r),u=za(n,s,l);return{infiniteQueryOptions:()=>e.infiniteQueryOptions(n,u,a[0]),queryOptions:()=>e.queryOptions(n,u,...a),fetch:()=>e.fetchQuery(u,...a),fetchInfinite:()=>e.fetchInfiniteQuery(u,a[0]),prefetch:()=>e.prefetchQuery(u,...a),prefetchInfinite:()=>e.prefetchInfiniteQuery(u,a[0]),ensureData:()=>e.ensureQueryData(u,...a),invalidate:()=>e.invalidateQueries(u,...a),reset:()=>e.resetQueries(u,...a),refetch:()=>e.refetchQueries(u,...a),cancel:()=>e.cancelQuery(u,...a),setData:()=>{e.setQueryData(u,a[0],a[1])},setQueriesData:()=>e.setQueriesData(u,a[0],a[1],a[2]),setInfiniteData:()=>{e.setInfiniteQueryData(u,a[0],a[1])},getData:()=>e.getQueryData(u),getInfiniteData:()=>e.getInfiniteQueryData(u),setMutationDefaults:()=>e.setMutationDefaults(cf(n),s),getMutationDefaults:()=>e.getMutationDefaults(cf(n)),isMutating:()=>e.isMutating({mutationKey:cf(n)})}[r]()})}function zO(e){const t=i7(e.client),n=BO(e);return $2(r=>{const a=r;return a==="client"?t:IO.includes(a)?e[a]:n[r]})}var UO=To(t0(),1);function Pv(e){const t=e instanceof uh?e:G2(e);return oh(n=>{const r=n.path,a=r.join("."),[s,l]=n.args;return(0,UO.default)({queryKey:za(r,s,"query"),queryFn:()=>t.query(a,s,l?.trpc)},l)})}var d1=To(t0(),1);function er(e,t,n){var r;const a=e[0];let s=(r=e[1])===null||r===void 0?void 0:r.input;if(n){var l;s=(0,d1.default)((0,d1.default)((0,d1.default)({},(l=s)!==null&&l!==void 0?l:{}),n.pageParam?{cursor:n.pageParam}:{}),{},{direction:n.direction})}return[a.join("."),s,t?.trpc]}var HO=Os({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/asyncIterator.js"(e,t){function n(a){var s,l,u,d=2;for(typeof Symbol<"u"&&(l=Symbol.asyncIterator,u=Symbol.iterator);d--;){if(l&&(s=a[l])!=null)return s.call(a);if(u&&(s=a[u])!=null)return new r(s.call(a));l="@@asyncIterator",u="@@iterator"}throw new TypeError("Object is not async iterable")}function r(a){function s(l){if(Object(l)!==l)return Promise.reject(new TypeError(l+" is not an object."));var u=l.done;return Promise.resolve(l.value).then(function(d){return{value:d,done:u}})}return r=function(u){this.s=u,this.n=u.next},r.prototype={s:null,n:null,next:function(){return s(this.n.apply(this.s,arguments))},return:function(u){var d=this.s.return;return d===void 0?Promise.resolve({value:u,done:!0}):s(d.apply(this.s,arguments))},throw:function(u){var d=this.s.return;return d===void 0?Promise.reject(u):s(d.apply(this.s,arguments))}},new r(a)}
18t.exports=n,t.exports.__esModule=!0,t.exports.default=t.exports}}),FO=To(HO(),1);function Cg(e){return{path:e.path.join(".")}}function tc(e){const t=Cg(e);return H.useMemo(()=>t,[t])}async function o7(e,t,n){const a=t.getQueryCache().build(t,{queryKey:n});a.setState({data:[],status:"success"});const s=[];var l=!1,u=!1,d;try{for(var f=(0,FO.default)(e),p;l=!(p=await f.next()).done;l=!1){const m=p.value;s.push(m),a.setState({data:[...s]})}}catch(m){u=!0,d=m}finally{try{l&&f.return!=null&&await f.return()}finally{if(u)throw d}}return s}var Et=To(t0(),1);function jO(e){const{client:t,queryClient:n}=e,r=t instanceof uh?t:G2(t);return{infiniteQueryOptions:(a,s,l)=>{var u,d;const f=((u=s[1])===null||u===void 0?void 0:u.input)===Ir,p=async m=>{var b;const y=(0,Et.default)((0,Et.default)({},l),{},{trpc:(0,Et.default)((0,Et.default)({},l?.trpc),!(l==null||(b=l.trpc)===null||b===void 0)&&b.abortOnUnmount?{signal:m.signal}:{signal:null})});return await r.query(...er(s,y,{direction:m.direction,pageParam:m.pageParam}))};return Object.assign((0,Et.default)((0,Et.default)({},l),{},{initialData:l?.initialData,queryKey:s,queryFn:f?Ir:p,initialPageParam:(d=l?.initialCursor)!==null&&d!==void 0?d:null}),{trpc:Cg({path:a})})},queryOptions:(a,s,l)=>{var u;const d=((u=s[1])===null||u===void 0?void 0:u.input)===Ir,f=async p=>{var m;const b=(0,Et.default)((0,Et.default)({},l),{},{trpc:(0,Et.default)((0,Et.default)({},l?.trpc),!(l==null||(m=l.trpc)===null||m===void 0)&&m.abortOnUnmount?{signal:p.signal}:{signal:null})}),y=await r.query(...er(s,b));return jE(y)?o7(y,n,s):y};return Object.assign((0,Et.default)((0,Et.default)({},l),{},{initialData:l?.initialData,queryKey:s,queryFn:d?Ir:f}),{trpc:Cg({path:a})})},fetchQuery:(a,s)=>n.fetchQuery((0,Et.default)((0,Et.default)({},s),{},{queryKey:a,queryFn:()=>r.query(...er(a,s))})),fetchInfiniteQuery:(a,s)=>{var l;return n.fetchInfiniteQuery((0,Et.default)((0,Et.default)({},s),{},{queryKey:a,queryFn:({pageParam:u,direction:d})=>r.query(...er(a,s,{pageParam:u,direction:d})),initialPageParam:(l=s?.initialCursor)!==null&&l!==void 0?l:null}))},prefetchQuery:(a,s)=>n.prefetchQuery((0,Et.default)((0,Et.default)({},s),{},{queryKey:a,queryFn:()=>r.query(...er(a,s))})),prefetchInfiniteQuery:(a,s)=>{var l;return n.prefetchInfiniteQuery((0,Et.default)((0,Et.default)({},s),{},{queryKey:a,queryFn:({pageParam:u,direction:d})=>r.query(...er(a,s,{pageParam:u,direction:d})),initialPageParam:(l=s?.initialCursor)!==null&&l!==void 0?l:null}))},ensureQueryData:(a,s)=>n.ensureQueryData((0,Et.default)((0,Et.default)({},s),{},{queryKey:a,queryFn:()=>r.query(...er(a,s))})),invalidateQueries:(a,s,l)=>n.invalidateQueries((0,Et.default)((0,Et.default)({},s),{},{queryKey:a}),l),resetQueries:(a,s,l)=>n.resetQueries((0,Et.default)((0,Et.default)({},s),{},{queryKey:a}),l),refetchQueries:(a,s,l)=>n.refetchQueries((0,Et.default)((0,Et.default)({},s),{},{queryKey:a}),l),cancelQuery:(a,s)=>n.cancelQueries({queryKey:a},s),setQueryData:(a,s,l)=>n.setQueryData(a,s,l),setQueriesData:(a,s,l,u)=>n.setQueriesData((0,Et.default)((0,Et.default)({},s),{},{queryKey:a}),l,u),getQueryData:a=>n.getQueryData(a),setInfiniteQueryData:(a,s,l)=>n.setQueryData(a,s,l),getInfiniteQueryData:a=>n.getQueryData(a),setMutationDefaults:(a,s)=>{const l=a[0],u=d=>r.mutation(...er([l,{input:d}],e));return n.setMutationDefaults(a,typeof s=="function"?s({canonicalMutationFn:u}):s)},getMutationDefaults:a=>n.getMutationDefaults(a),isMutating:a=>n.isMutating((0,Et.default)((0,Et.default)({},a),{},{exact:!0}))}}var Be=To(t0());const Bv=(e,t)=>new Proxy(e,{get(r,a){return t(a),r[a]}});function qO(e){var t,n;const r=(t=void 0)!==null&&t!==void 0?t:V=>V.originalFn(),a=(n=void 0)!==null&&n!==void 0?n:MO,s=CO,l=V=>{var B;const{abortOnUnmount:z=!1,queryClient:W,ssrContext:re}=V,[Y,se]=H.useState((B=V.ssrState)!==null&&B!==void 0?B:!1),ee=V.client instanceof uh?V.client:G2(V.client),me=H.useMemo(()=>jO({client:ee,queryClient:W}),[ee,W]),ue=H.useMemo(()=>(0,Be.default)({abortOnUnmount:z,queryClient:W,client:ee,ssrContext:re??null,ssrState:Y},me),[z,ee,me,W,re,Y]);return H.useEffect(()=>{se(be=>be?"mounted":!1)},[]),A.jsx(a.Provider,{value:ue,children:V.children})};function u(){const V=H.useContext(a);if(!V)throw new Error("Unable to find tRPC Context. Did you forget to wrap your Ap
18p inside `withTRPC` HoC?");return V}function d(V,B){var z;const{queryClient:W,ssrState:re}=u();return re&&re!=="mounted"&&((z=W.getQueryCache().find({queryKey:V}))===null||z===void 0?void 0:z.state.status)==="error"?(0,Be.default)({retryOnMount:!1},B):B}function f(V,B,z){var W,re,Y,se,ee;const me=u(),{abortOnUnmount:ue,client:be,ssrState:$,queryClient:ae,prefetchQuery:te}=me,Oe=za(V,B,"query"),U=ae.getQueryDefaults(Oe),j=B===Ir;typeof window>"u"&&$==="prepass"&&(z==null||(W=z.trpc)===null||W===void 0?void 0:W.ssr)!==!1&&((re=z?.enabled)!==null&&re!==void 0?re:U?.enabled)!==!1&&!j&&!ae.getQueryCache().find({queryKey:Oe})&&te(Oe,z);const ce=d(Oe,(0,Be.default)((0,Be.default)({},U),z)),R=(Y=(se=z==null||(ee=z.trpc)===null||ee===void 0?void 0:ee.abortOnUnmount)!==null&&se!==void 0?se:void 0)!==null&&Y!==void 0?Y:ue,he=gN((0,Be.default)((0,Be.default)({},ce),{},{queryKey:Oe,queryFn:j?B:async _e=>{const Re=(0,Be.default)((0,Be.default)({},ce),{},{trpc:(0,Be.default)((0,Be.default)({},ce?.trpc),R?{signal:_e.signal}:{signal:null})}),Me=await be.query(...er(Oe,Re));return jE(Me)?o7(Me,ae,Oe):Me}}),ae);return he.trpc=tc({path:V}),he}function p(V,B,z){var W,re,Y;const se=u(),ee=za(V,B,"query"),me=B===Ir,ue=(W=(re=z==null||(Y=z.trpc)===null||Y===void 0?void 0:Y.abortOnUnmount)!==null&&re!==void 0?re:void 0)!==null&&W!==void 0?W:se.abortOnUnmount;xN((0,Be.default)((0,Be.default)({},z),{},{queryKey:ee,queryFn:me?B:be=>{const $={trpc:(0,Be.default)((0,Be.default)({},z?.trpc),ue?{signal:be.signal}:{})};return se.client.query(...er(ee,$))}}))}function m(V,B,z){var W,re,Y;const se=u(),ee=za(V,B,"query"),me=(W=(re=z==null||(Y=z.trpc)===null||Y===void 0?void 0:Y.abortOnUnmount)!==null&&re!==void 0?re:void 0)!==null&&W!==void 0?W:se.abortOnUnmount,ue=bN((0,Be.default)((0,Be.default)({},z),{},{queryKey:ee,queryFn:be=>{const $=(0,Be.default)((0,Be.default)({},z),{},{trpc:(0,Be.default)((0,Be.default)({},z?.trpc),me?{signal:be.signal}:{signal:null})});return se.client.query(...er(ee,$))}}),se.queryClient);return ue.trpc=tc({path:V}),[ue.data,ue]}function b(V,B){const{client:z,queryClient:W}=u(),re=cf(V),Y=W.defaultMutationOptions(W.getMutationDefaults(re)),se=_N((0,Be.default)((0,Be.default)({},B),{},{mutationKey:re,mutationFn:ee=>z.mutation(...er([V,{input:ee}],B)),onSuccess(...ee){var me,ue;return r({originalFn:()=>{var $,ae,te;return($=B==null||(ae=B.onSuccess)===null||ae===void 0?void 0:ae.call(B,...ee))!==null&&$!==void 0?$:Y==null||(te=Y.onSuccess)===null||te===void 0?void 0:te.call(Y,...ee)},queryClient:W,meta:(me=(ue=B?.meta)!==null&&ue!==void 0?ue:Y?.meta)!==null&&me!==void 0?me:{}})}}),W);return se.trpc=tc({path:V}),se}const y={data:void 0,error:null,status:"idle"},E={data:void 0,error:null,status:"connecting"};/* istanbul ignore next -- @preserve */function T(V,B,z){var W;const re=(W=z?.enabled)!==null&&W!==void 0?W:B!==Ir,Y=Ts(za(V,B,"any")),{client:se}=u(),ee=H.useRef(z);H.useEffect(()=>{ee.current=z});const[me]=H.useState(new Set([])),ue=H.useCallback(j=>{me.add(j)},[me]),be=H.useRef(null),$=H.useCallback(j=>{const ce=te.current,R=te.current=j(ce);let he=!1;for(const _e of me)if(ce[_e]!==R[_e]){he=!0;break}he&&U(Bv(R,ue))},[ue,me]),ae=H.useCallback(()=>{var j;if((j=be.current)===null||j===void 0||j.unsubscribe(),!re){$(()=>(0,Be.default)((0,Be.default)({},y),{},{reset:ae}));return}$(()=>(0,Be.default)((0,Be.default)({},E),{},{reset:ae}));const ce=se.subscription(V.join("."),B??void 0,{onStarted:()=>{var R,he;(R=(he=ee.current).onStarted)===null||R===void 0||R.call(he),$(_e=>(0,Be.default)((0,Be.default)({},_e),{},{status:"pending",error:null}))},onData:R=>{var he,_e;(he=(_e=ee.current).onData)===null||he===void 0||he.call(_e,R),$(Re=>(0,Be.default)((0,Be.default)({},Re),{},{status:"pending",data:R,error:null}))},onError:R=>{var he,_e;(he=(_e=ee.current).onError)===null||he===void 0||he.call(_e,R),$(Re=>(0,Be.default)((0,Be.default)({},Re),{},{status:"error",error:R}))},onConnectionStateChange:R=>{$(he=>{switch(R.state){case"idle":return(0,Be.default)((0,Be.default)({},he),{},{status:R.state,error:null,data:void 0});case"connecting":return(0,Be.default)((0,Be.default)({},he),{},{error:R.error,status:R.state});
18case"pending":return he}})},onComplete:()=>{var R,he;(R=(he=ee.current).onComplete)===null||R===void 0||R.call(he),$(_e=>(0,Be.default)((0,Be.default)({},_e),{},{status:"idle",error:null,data:void 0}))}});be.current=ce},[se,Y,re,$]);H.useEffect(()=>(ae(),()=>{var j;(j=be.current)===null||j===void 0||j.unsubscribe()}),[ae]);const te=H.useRef(re?(0,Be.default)((0,Be.default)({},E),{},{reset:ae}):(0,Be.default)((0,Be.default)({},y),{},{reset:ae})),[Oe,U]=H.useState(Bv(te.current,ue));return Oe}function N(V,B,z){var W,re,Y,se,ee;const{client:me,ssrState:ue,prefetchInfiniteQuery:be,queryClient:$,abortOnUnmount:ae}=u(),te=za(V,B,"infinite"),Oe=$.getQueryDefaults(te),U=B===Ir;typeof window>"u"&&ue==="prepass"&&(z==null||(W=z.trpc)===null||W===void 0?void 0:W.ssr)!==!1&&((re=z?.enabled)!==null&&re!==void 0?re:Oe?.enabled)!==!1&&!U&&!$.getQueryCache().find({queryKey:te})&&be(te,(0,Be.default)((0,Be.default)({},Oe),z));const j=d(te,(0,Be.default)((0,Be.default)({},Oe),z)),ce=(Y=z==null||(se=z.trpc)===null||se===void 0?void 0:se.abortOnUnmount)!==null&&Y!==void 0?Y:ae,R=TN((0,Be.default)((0,Be.default)({},j),{},{initialPageParam:(ee=z.initialCursor)!==null&&ee!==void 0?ee:null,persister:z.persister,queryKey:te,queryFn:U?B:he=>{var _e;const Re=(0,Be.default)((0,Be.default)({},j),{},{trpc:(0,Be.default)((0,Be.default)({},j?.trpc),ce?{signal:he.signal}:{signal:null})});return me.query(...er(te,Re,{pageParam:(_e=he.pageParam)!==null&&_e!==void 0?_e:z.initialCursor,direction:he.direction}))}}),$);return R.trpc=tc({path:V}),R}function k(V,B,z){var W,re,Y;const se=u(),ee=za(V,B,"infinite"),me=se.queryClient.getQueryDefaults(ee),ue=B===Ir,be=d(ee,(0,Be.default)((0,Be.default)({},me),z)),$=(W=z==null||(re=z.trpc)===null||re===void 0?void 0:re.abortOnUnmount)!==null&&W!==void 0?W:se.abortOnUnmount;EN((0,Be.default)((0,Be.default)({},z),{},{initialPageParam:(Y=z.initialCursor)!==null&&Y!==void 0?Y:null,queryKey:ee,queryFn:ue?B:ae=>{var te;const Oe=(0,Be.default)((0,Be.default)({},be),{},{trpc:(0,Be.default)((0,Be.default)({},be?.trpc),$?{signal:ae.signal}:{})});return se.client.query(...er(ee,Oe,{pageParam:(te=ae.pageParam)!==null&&te!==void 0?te:z.initialCursor,direction:ae.direction}))}}))}function O(V,B,z){var W,re,Y;const se=u(),ee=za(V,B,"infinite"),me=se.queryClient.getQueryDefaults(ee),ue=d(ee,(0,Be.default)((0,Be.default)({},me),z)),be=(W=z==null||(re=z.trpc)===null||re===void 0?void 0:re.abortOnUnmount)!==null&&W!==void 0?W:se.abortOnUnmount,$=yN((0,Be.default)((0,Be.default)({},z),{},{initialPageParam:(Y=z.initialCursor)!==null&&Y!==void 0?Y:null,queryKey:ee,queryFn:ae=>{var te;const Oe=(0,Be.default)((0,Be.default)({},ue),{},{trpc:(0,Be.default)((0,Be.default)({},ue?.trpc),be?{signal:ae.signal}:{})});return se.client.query(...er(ee,Oe,{pageParam:(te=ae.pageParam)!==null&&te!==void 0?te:z.initialCursor,direction:ae.direction}))}}),se.queryClient);return $.trpc=tc({path:V}),[$.data,$]}return{Provider:l,createClient:s,useContext:u,useUtils:u,useQuery:f,usePrefetchQuery:p,useSuspenseQuery:m,useQueries:(V,B)=>{const{ssrState:z,queryClient:W,prefetchQuery:re,client:Y}=u(),se=Pv(Y),ee=V(se);if(typeof window>"u"&&z==="prepass")for(const ue of ee){var me;const be=ue;((me=be.trpc)===null||me===void 0?void 0:me.ssr)!==!1&&!W.getQueryCache().find({queryKey:be.queryKey})&&re(be.queryKey,be)}return FE({queries:ee.map(ue=>(0,Be.default)((0,Be.default)({},ue),{},{queryKey:ue.queryKey})),combine:B?.combine},W)},useSuspenseQueries:V=>{const{queryClient:B,client:z}=u(),W=Pv(z),re=V(W),Y=vN({queries:re.map(se=>(0,Be.default)((0,Be.default)({},se),{},{queryFn:se.queryFn,queryKey:se.queryKey}))},B);return[Y.map(se=>se.data),Y]},useMutation:b,useSubscription:T,useInfiniteQuery:N,usePrefetchInfiniteQuery:k,useSuspenseInfiniteQuery:O}}function $O(e){const t=LO(e);return $2(n=>n==="useContext"||n==="useUtils"?()=>{const r=e.useUtils();return H.useMemo(()=>zO(r),[r])}:e.hasOwnProperty(n)?e[n]:t[n])}function VO(e){const t=qO();return $O(t)}const ba=VO(),GO="Please login (10001)";var f1={exports:{}},nc={},h1={exports:{}},m1={};/**
19 * @license React
20 * scheduler.production.js
21 *
22 * Copyright (c) Meta Platforms, Inc. and affiliates.
23 *
24 * This source code is licensed under the MIT license found in the
25 * LICENSE file in the root directory of this source tree.
26 */var zv;function YO(){return zv||(zv=1,(function(e){function t($,ae){var te=$.length;$.push(ae);e:for(;0<te;){var Oe=te-1>>>1,U=$[Oe];if(0<a(U,ae))$[Oe]=ae,$[te]=U,te=Oe;else break e}}function n($){return $.length===0?null:$[0]}function r($){if($.length===0)return null;var ae=$[0],te=$.pop();if(te!==ae){$[0]=te;e:for(var Oe=0,U=$.length,j=U>>>1;Oe<j;){var ce=2*(Oe+1)-1,R=$[ce],he=ce+1,_e=$[he];if(0>a(R,te))he<U&&0>a(_e,R)?($[Oe]=_e,$[he]=te,Oe=he):($[Oe]=R,$[ce]=te,Oe=ce);else if(he<U&&0>a(_e,te))$[Oe]=_e,$[he]=te,Oe=he;else break e}}return ae}function a($,ae){var te=$.sortIndex-ae.sortIndex;return te!==0?te:$.id-ae.id}if(e.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var s=performance;e.unstable_now=function(){return s.now()}}else{var l=Date,u=l.now();e.unstable_now=function(){return l.now()-u}}var d=[],f=[],p=1,m=null,b=3,y=!1,E=!1,T=!1,N=!1,k=typeof setTimeout=="function"?setTimeout:null,O=typeof clearTimeout=="function"?clearTimeout:null,I=typeof setImmediate<"u"?setImmediate:null;function K($){for(var ae=n(f);ae!==null;){if(ae.callback===null)r(f);else if(ae.startTime<=$)r(f),ae.sortIndex=ae.expirationTime,t(d,ae);else break;ae=n(f)}}function V($){if(T=!1,K($),!E)if(n(d)!==null)E=!0,B||(B=!0,ee());else{var ae=n(f);ae!==null&&be(V,ae.startTime-$)}}var B=!1,z=-1,W=5,re=-1;function Y(){return N?!0:!(e.unstable_now()-re<W)}function se(){if(N=!1,B){var $=e.unstable_now();re=$;var ae=!0;try{e:{E=!1,T&&(T=!1,O(z),z=-1),y=!0;var te=b;try{t:{for(K($),m=n(d);m!==null&&!(m.expirationTime>$&&Y());){var Oe=m.callback;if(typeof Oe=="function"){m.callback=null,b=m.priorityLevel;var U=Oe(m.expirationTime<=$);if($=e.unstable_now(),typeof U=="function"){m.callback=U,K($),ae=!0;break t}m===n(d)&&r(d),K($)}else r(d);m=n(d)}if(m!==null)ae=!0;else{var j=n(f);j!==null&&be(V,j.startTime-$),ae=!1}}break e}finally{m=null,b=te,y=!1}ae=void 0}}finally{ae?ee():B=!1}}}var ee;if(typeof I=="function")ee=function(){I(se)};else if(typeof MessageChannel<"u"){var me=new MessageChannel,ue=me.port2;me.port1.onmessage=se,ee=function(){ue.postMessage(null)}}else ee=function(){k(se,0)};function be($,ae){z=k(function(){$(e.unstable_now())},ae)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function($){$.callback=null},e.unstable_forceFrameRate=function($){0>$||125<$?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):W=0<$?Math.floor(1e3/$):5},e.unstable_getCurrentPriorityLevel=function(){return b},e.unstable_next=function($){switch(b){case 1:case 2:case 3:var ae=3;break;default:ae=b}var te=b;b=ae;try{return $()}finally{b=te}},e.unstable_requestPaint=function(){N=!0},e.unstable_runWithPriority=function($,ae){switch($){case 1:case 2:case 3:case 4:case 5:break;default:$=3}var te=b;b=$;try{return ae()}finally{b=te}},e.unstable_scheduleCallback=function($,ae,te){var Oe=e.unstable_now();switch(typeof te=="object"&&te!==null?(te=te.delay,te=typeof te=="number"&&0<te?Oe+te:Oe):te=Oe,$){case 1:var U=-1;break;case 2:U=250;break;case 5:U=1073741823;break;case 4:U=1e4;break;default:U=5e3}return U=te+U,$={id:p++,callback:ae,priorityLevel:$,startTime:te,expirationTime:U,sortIndex:-1},te>Oe?($.sortIndex=te,t(f,$),n(d)===null&&$===n(f)&&(T?(O(z),z=-1):T=!0,be(V,te-Oe))):($.sortIndex=U,t(d,$),E||y||(E=!0,B||(B=!0,ee()))),$},e.unstable_shouldYield=Y,e.unstable_wrapCallback=function($){var ae=b;return function(){var te=b;b=ae;try{return $.apply(this,arguments)}finally{b=te}}}}
vendor: 8,174 bytes, lines 26-42
26)(m1)),m1}var Uv;function QO(){return Uv||(Uv=1,h1.exports=YO()),h1.exports}var p1={exports:{}},$n={};/**
27 * @license React
28 * react-dom.production.js
29 *
30 * Copyright (c) Meta Platforms, Inc. and affiliates.
31 *
32 * This source code is licensed under the MIT license found in the
33 * LICENSE file in the root directory of this source tree.
34 */var Hv;function XO(){if(Hv)return $n;Hv=1;var e=ah();function t(d){var f="https://react.dev/errors/"+d;if(1<arguments.length){f+="?args[]="+encodeURIComponent(arguments[1]);for(var p=2;p<arguments.length;p++)f+="&args[]="+encodeURIComponent(arguments[p])}return"Minified React error #"+d+"; visit "+f+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function n(){}var r={d:{f:n,r:function(){throw Error(t(522))},D:n,C:n,L:n,m:n,X:n,S:n,M:n},p:0,findDOMNode:null},a=Symbol.for("react.portal");function s(d,f,p){var m=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:a,key:m==null?null:""+m,children:d,containerInfo:f,implementation:p}}var l=e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function u(d,f){if(d==="font")return"";if(typeof f=="string")return f==="use-credentials"?f:""}return $n.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=r,$n.createPortal=function(d,f){var p=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!f||f.nodeType!==1&&f.nodeType!==9&&f.nodeType!==11)throw Error(t(299));return s(d,f,null,p)},$n.flushSync=function(d){var f=l.T,p=r.p;try{if(l.T=null,r.p=2,d)return d()}finally{l.T=f,r.p=p,r.d.f()}},$n.preconnect=function(d,f){typeof d=="string"&&(f?(f=f.crossOrigin,f=typeof f=="string"?f==="use-credentials"?f:"":void 0):f=null,r.d.C(d,f))},$n.prefetchDNS=function(d){typeof d=="string"&&r.d.D(d)},$n.preinit=function(d,f){if(typeof d=="string"&&f&&typeof f.as=="string"){var p=f.as,m=u(p,f.crossOrigin),b=typeof f.integrity=="string"?f.integrity:void 0,y=typeof f.fetchPriority=="string"?f.fetchPriority:void 0;p==="style"?r.d.S(d,typeof f.precedence=="string"?f.precedence:void 0,{crossOrigin:m,integrity:b,fetchPriority:y}):p==="script"&&r.d.X(d,{crossOrigin:m,integrity:b,fetchPriority:y,nonce:typeof f.nonce=="string"?f.nonce:void 0})}},$n.preinitModule=function(d,f){if(typeof d=="string")if(typeof f=="object"&&f!==null){if(f.as==null||f.as==="script"){var p=u(f.as,f.crossOrigin);r.d.M(d,{crossOrigin:p,integrity:typeof f.integrity=="string"?f.integrity:void 0,nonce:typeof f.nonce=="string"?f.nonce:void 0})}}else f==null&&r.d.M(d)},$n.preload=function(d,f){if(typeof d=="string"&&typeof f=="object"&&f!==null&&typeof f.as=="string"){var p=f.as,m=u(p,f.crossOrigin);r.d.L(d,p,{crossOrigin:m,integrity:typeof f.integrity=="string"?f.integrity:void 0,nonce:typeof f.nonce=="string"?f.nonce:void 0,type:typeof f.type=="string"?f.type:void 0,fetchPriority:typeof f.fetchPriority=="string"?f.fetchPriority:void 0,referrerPolicy:typeof f.referrerPolicy=="string"?f.referrerPolicy:void 0,imageSrcSet:typeof f.imageSrcSet=="string"?f.imageSrcSet:void 0,imageSizes:typeof f.imageSizes=="string"?f.imageSizes:void 0,media:typeof f.media=="string"?f.media:void 0})}},$n.preloadModule=function(d,f){if(typeof d=="string")if(f){var p=u(f.as,f.crossOrigin);r.d.m(d,{as:typeof f.as=="string"&&f.as!=="script"?f.as:void 0,crossOrigin:p,integrity:typeof f.integrity=="string"?f.integrity:void 0})}else r.d.m(d)},$n.requestFormReset=function(d){r.d.r(d)},$n.unstable_batchedUpdates=function(d,f){return d(f)},$n.useFormState=function(d,f,p){return l.H.useFormState(d,f,p)},$n.useFormStatus=function(){return l.H.useHostTransitionStatus()},$n.version="19.2.1",$n}var Fv;function l7(){if(Fv)return p1.exports;Fv=1;function e(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}return e(),p1.exports=XO(),p1.exports}/**
35 * @license React
36 * react-dom-client.production.js
37 *
38 * Copyright (c) Meta Platforms, Inc. and affiliates.
39 *
40 * This source code is licensed under the MIT license found in the
41 * LICENSE file in the root directory of this source tree.
42 */var jv;function WO(){if(jv)return nc;jv=1;var e=QO(),t=ah(),n=l7();function r(i){var o="https://react.dev/errors/"+i;if(1<arguments.length){o+="?args[]="+encodeURIComponent(arguments[1]);for(var c=2;c<arguments.length;c++)o+="&args[]="+encodeURIComponent(arguments[c])}return"Minified React error #"+i+"; visit "+o+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function a(i){return!(!i||i.nodeType!==1&&i.nodeType!==9&&i.nodeType!==11)}function s(i){var o=i,c=i;if(i.alternate)for(;o.return;)o=o.return;else{i=o;do o=i,(o.flags&4098)!==0&&(c=o.return),i=o.return;while(i)}return o.tag===3?c:null}function l(i){if(i.tag===13){var o=i.memoizedState;if(o===null&&(i=i.alternate,i!==null&&(o=i.memoizedState)),o!==null)return o.dehydrated}return null}function u(i){if(i.tag===31){var o=i.memoizedState;if(o===null&&(i=i.alternate,i!==null&&(o=i.memoizedState)),o!==null)return o.dehydrated}return null}function d(i){if(s(i)!==i)throw Error(r(188))}function f(i){var o=i.alternate;if(!o){if(o=s(i),o===null)throw Error(r(188));return o!==i?null:i}for(var c=i,h=o;;){var g=c.return;if(g===null)break;var v=g.alternate;if(v===null){if(h=g.return,h!==null){c=h;continue}break}if(g.child===v.child){for(v=g.child;v;){if(v===c)return d(g),i;if(v===h)return d(g),o;v=v.sibling}throw Error(r(188))}if(c.return!==h.return)c=g,h=v;else{for(var w=!1,D=g.child;D;){if(D===c){w=!0,c=g,h=v;break}if(D===h){w=!0,h=g,c=v;break}D=D.sibling}if(!w){for(D=v.child;D;){if(D===c){w=!0,c=v,h=g;break}if(D===h){w=!0,h=v,c=g;break}D=D.sibling}if(!w)throw Error(r(189))}}if(c.alternate!==h)throw Error(r(190))}if(c.tag!==3)throw Error(r(188));return c.stateNode.current===c?i:o}function p(i){var o=i.tag;if(o===5||o===26||o===27||o===6)return i;for(i=i.child;i!==null;){if(o=p(i),o!==null)return o;i=i.sibling}return null}var m=Object.assign,b=Symbol.for("react.element"),y=Symbol.for("react.transitional.element"),E=Symbol.for("react.portal"),T=Symbol.for("react.fragment"),N=Symbol.for("react.strict_mode"),k=Symbol.for("react.profiler"),O=Symbol.for("react.consumer"),I=Symbol.for("react.context"),K=Symbol.for("react.forward_ref"),V=Symbol.for("react.suspense"),B=Symbol.for("react.suspense_list"),z=Symbol.for("react.memo"),W=Symbol.for("react.lazy"),re=Symbol.for("react.activity"),Y=Symbol.for("react.memo_cache_sentinel"),se=Symbol.iterator;function ee(i){return i===null||typeof i!="object"?null:(i=se&&i[se]||i["@@iterator"],typeof i=="function"?i:null)}var me=Symbol.for("react.client.reference");function ue(i){if(i==null)return null;if(typeof i=="function")return i.$$typeof===me?null:i.displayName||i.name||null;if(typeof i=="string")return i;switch(i){case T:return"Fragment";case k:return"Profiler";case N:return"StrictMode";case V:return"Suspense";case B:return"SuspenseList";case re:return"Activity"}if(typeof i=="object")switch(i.$$typeof){case E:return"Portal";case I:return i.displayName||"Context";case O:return(i._context.displayName||"Context")+".Consumer";case K:var o=i.render;return i=i.displayName,i||(i=o.displayName||o.name||"",i=i!==""?"ForwardRef("+i+")":"ForwardRef"),i;case z:return o=i.displayName||null,o!==null?o:ue(i.type)||"Memo";case W:o=i._payload,i=i._init;try{return ue(i(o))}catch{}}return null}var be=Array.isArray,$=t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ae=n.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,te={pending:!1,data:null,method:null,action:null},Oe=[],U=-1;function j(i){return{current:i}}function ce(i){0>U||(i.current=Oe[U],Oe[U]=null,U--)}function R(i,o){U++,Oe[U]=i.current,i.current=o}var he=j(null),_e=j(null),Re=j(null),Me=j(null);function je(i,o){switch(R(Re,o),R(_e,i),R(he,null),o.nodeType){case 9:case 11:i=(i=o.documentElement)&&(i=i.namespaceURI)?F6(i):0;break;default:if(i=o.tagName,o=o.namespaceURI)o=F6(o),i=j6(o,i);else switch(i){case"svg":i=1;break;case"math":i=2;break;default:i=0}}ce(he),R(he,i)}function Ke(){ce(he),ce(_e),ce(Re)}
vendor: 7,293 bytes, lines 42-49
42function At(i){i.memoizedState!==null&&R(Me,i);var o=he.current,c=j6(o,i.type);o!==c&&(R(_e,i),R(he,c))}function Qt(i){_e.current===i&&(ce(he),ce(_e)),Me.current===i&&(ce(Me),Wu._currentValue=te)}var en,Tr;function Rn(i){if(en===void 0)try{throw Error()}catch(c){var o=c.stack.trim().match(/\n( *(at )?)/);en=o&&o[1]||"",Tr=-1<c.stack.indexOf(`
43    at`)?" (<anonymous>)":-1<c.stack.indexOf("@")?"@unknown:0:0":""}return`
44`+en+i+Tr}var ua=!1;function Hr(i,o){if(!i||ua)return"";ua=!0;var c=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var h={DetermineComponentFrameRoot:function(){try{if(o){var Ee=function(){throw Error()};if(Object.defineProperty(Ee.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(Ee,[])}catch(pe){var fe=pe}Reflect.construct(i,[],Ee)}else{try{Ee.call()}catch(pe){fe=pe}i.call(Ee.prototype)}}else{try{throw Error()}catch(pe){fe=pe}(Ee=i())&&typeof Ee.catch=="function"&&Ee.catch(function(){})}}catch(pe){if(pe&&fe&&typeof pe.stack=="string")return[pe.stack,fe.stack]}return[null,null]}};h.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var g=Object.getOwnPropertyDescriptor(h.DetermineComponentFrameRoot,"name");g&&g.configurable&&Object.defineProperty(h.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var v=h.DetermineComponentFrameRoot(),w=v[0],D=v[1];if(w&&D){var X=w.split(`
45`),de=D.split(`
46`);for(g=h=0;h<X.length&&!X[h].includes("DetermineComponentFrameRoot");)h++;for(;g<de.length&&!de[g].includes("DetermineComponentFrameRoot");)g++;if(h===X.length||g===de.length)for(h=X.length-1,g=de.length-1;1<=h&&0<=g&&X[h]!==de[g];)g--;for(;1<=h&&0<=g;h--,g--)if(X[h]!==de[g]){if(h!==1||g!==1)do if(h--,g--,0>g||X[h]!==de[g]){var ye=`
47`+X[h].replace(" at new "," at ");return i.displayName&&ye.includes("<anonymous>")&&(ye=ye.replace("<anonymous>",i.displayName)),ye}while(1<=h&&0<=g);break}}}finally{ua=!1,Error.prepareStackTrace=c}return(c=i?i.displayName||i.name:"")?Rn(c):""}function ir(i,o){switch(i.tag){case 26:case 27:case 5:return Rn(i.type);case 16:return Rn("Lazy");case 13:return i.child!==o&&o!==null?Rn("Suspense Fallback"):Rn("Suspense");case 19:return Rn("SuspenseList");case 0:case 15:return Hr(i.type,!1);case 11:return Hr(i.type.render,!1);case 1:return Hr(i.type,!0);case 31:return Rn("Activity");default:return""}}function Fr(i){try{var o="",c=null;do o+=ir(i,c),c=i,i=i.return;while(i);return o}catch(h){return`
48Error generating stack: `+h.message+`
49`+h.stack}}var tn=Object.prototype.hasOwnProperty,zi=e.unstable_scheduleCallback,Is=e.unstable_cancelCallback,Dn=e.unstable_shouldYield,Sa=e.unstable_requestPaint,Ln=e.unstable_now,cu=e.unstable_getCurrentPriorityLevel,ve=e.unstable_ImmediatePriority,De=e.unstable_UserBlockingPriority,Qe=e.unstable_NormalPriority,rt=e.unstable_LowPriority,ct=e.unstable_IdlePriority,Fn=e.log,jn=e.unstable_setDisableYieldValue,In=null,nn=null;function Mn(i){if(typeof Fn=="function"&&jn(i),nn&&typeof nn.setStrictMode=="function")try{nn.setStrictMode(In,i)}catch{}}var wt=Math.clz32?Math.clz32:Aa,wa=Math.log,Kn=Math.LN2;function Aa(i){return i>>>=0,i===0?32:31-(wa(i)/Kn|0)|0}var Lo=256,Io=262144,Ms=4194304;function ka(i){var o=i&42;if(o!==0)return o;switch(i&-i){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return i&261888;case 262144:case 524288:case 1048576:case 2097152:return i&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return i&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return i}}function Ze(i,o,c){var h=i.pendingLanes;if(h===0)return 0;var g=0,v=i.suspendedLanes,w=i.pingedLanes;i=i.warmLanes;var D=h&134217727;return D!==0?(h=D&~v,h!==0?g=ka(h):(w&=D,w!==0?g=ka(w):c||(c=D&~i,c!==0&&(g=ka(c))))):(D=h&~v,D!==0?g=ka(D):w!==0?g=ka(w):c||(c=h&~i,c!==0&&(g=ka(c)))),g===0?0:o!==0&&o!==g&&(o&v)===0&&(v=g&-g,c=o&-o,v>=c||v===32&&(c&4194048)!==0)?o:g}function Ft(i,o){return(i.pendingLanes&~(i.suspendedLanes&~i.pingedLanes)&o)===0}function Sn(i,o){switch(i){case 1:case 2:case 4:case 8:case 64:return o+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return o+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function qn(){var i=Ms;return Ms<<=1,(Ms&62914560)===0&&(Ms=4194304),i}function Ui(i){for(var o=[],c=0;31>c;c++)o.push(i);return o}function Vt(i,o){i.pendingLanes|=o,o!==268435456&&(i.suspendedLanes=0,i.pingedLanes=0,i.warmLanes=0)}function sr(i,o,c,h,g,v){var w=i.pendingLanes;i.pendingLanes=c,i.suspendedLanes=0,i.pingedLanes=0,i.warmLanes=0,i.expiredLanes&=c,i.entangledLanes&=c,i.errorRecoveryDisabledLanes&=c,i.shellSuspendCounter=0;var D=i.entanglements,X=i.expirationTimes,de=i.hiddenUpdates;for(c=w&~c;0<c;){var ye=31-wt(c),Ee=1<<ye;D[ye]=0,X[ye]=-1;var fe=de[ye];if(fe!==null)for(de[ye]=null,ye=0;ye<fe.length;ye++){var pe=fe[ye];pe!==null&&(pe.lane&=-536870913)}c&=~Ee}h!==0&&Ps(i,h,0),v!==0&&g===0&&i.tag!==0&&(i.suspendedLanes|=v&~(w&~o))}function Ps(i,o,c){i.pendingLanes|=o,i.suspendedLanes&=~o;var h=31-wt(o);i.entangledLanes|=o,i.entanglements[h]=i.entanglements[h]|1073741824|c&261930}function or(i,o){var c=i.entangledLanes|=o;for(i=i.entanglements;c;){var h=31-wt(c),g=1<<h;g&o|i[h]&o&&(i[h]|=o),c&=~g}}function lr(i,o){var c=o&-o;return c=(c&42)!==0?1:Mo(c),(c&(i.suspendedLanes|o))!==0?0:c}function Mo(i){switch(i){case 2:i=1;break;case 8:i=4;break;case 32:i=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:i=128;break;case 268435456:i=134217728;break;default:i=0}return i}function ca(i){return i&=-i,2<i?8<i?(i&134217727)!==0?32:268435456:8:2}function Wh(){var i=ae.p;return i!==0?i:(i=window.event,i===void 0?32:dv(i.type))}function k4(i,o){var c=ae.p;try{return ae.p=i,o()}finally{ae.p=c}}var Hi=Math.random().toString(36).slice(2),Pn="__reactFiber$"+Hi,ur="__reactProps$"+Hi,Po="__reactContainer$"+Hi,Kh="__reactEvents$"+Hi,kA="__reactListeners$"+Hi,CA="__reactHandles$"+Hi,C4="__reactResources$"+Hi,du="__reactMarker$"+Hi;function Zh(i){delete i[Pn],delete i[ur],delete i[Kh],delete i[kA],delete i[CA]}function Bo(i){var o=i[Pn];if(o)return o;for(var c=i.parentNode;c;){if(o=c[Po]||c[Pn]){if(c=o.alternate,o.child!==null||c!==null&&c.child!==null)for(i=X6(i);i!==null;){if(c=i[Pn])return c;i=X6(i)}return o}i=c,c=i.parentNode}return null}function zo(i){if(i=i[Pn]||i[Po]){var o=i.tag;if(o===5||o===6||o===13||o===31||o===26||o===27||o===3)return i}return null}function fu(i){var o=i.tag;if(o===5||o===26||o===27||o===6)return i.stateNode;throw Error(r(33))}function Uo(i){var o=i[C4];return o||(o=i[C4]={hoistableStyles:new Map,hoistableScripts:new Map}),o}function wn(i){i[du]=!0}
vendor: 6,971 bytes, line 49
49var N4=new Set,O4={};function Bs(i,o){Ho(i,o),Ho(i+"Capture",o)}function Ho(i,o){for(O4[i]=o,i=0;i<o.length;i++)N4.add(o[i])}var NA=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),R4={},D4={};function OA(i){return tn.call(D4,i)?!0:tn.call(R4,i)?!1:NA.test(i)?D4[i]=!0:(R4[i]=!0,!1)}function x0(i,o,c){if(OA(o))if(c===null)i.removeAttribute(o);else{switch(typeof c){case"undefined":case"function":case"symbol":i.removeAttribute(o);return;case"boolean":var h=o.toLowerCase().slice(0,5);if(h!=="data-"&&h!=="aria-"){i.removeAttribute(o);return}}i.setAttribute(o,""+c)}}function E0(i,o,c){if(c===null)i.removeAttribute(o);else{switch(typeof c){case"undefined":case"function":case"symbol":case"boolean":i.removeAttribute(o);return}i.setAttribute(o,""+c)}}function ei(i,o,c,h){if(h===null)i.removeAttribute(c);else{switch(typeof h){case"undefined":case"function":case"symbol":case"boolean":i.removeAttribute(c);return}i.setAttributeNS(o,c,""+h)}}function jr(i){switch(typeof i){case"bigint":case"boolean":case"number":case"string":case"undefined":return i;case"object":return i;default:return""}}function L4(i){var o=i.type;return(i=i.nodeName)&&i.toLowerCase()==="input"&&(o==="checkbox"||o==="radio")}function RA(i,o,c){var h=Object.getOwnPropertyDescriptor(i.constructor.prototype,o);if(!i.hasOwnProperty(o)&&typeof h<"u"&&typeof h.get=="function"&&typeof h.set=="function"){var g=h.get,v=h.set;return Object.defineProperty(i,o,{configurable:!0,get:function(){return g.call(this)},set:function(w){c=""+w,v.call(this,w)}}),Object.defineProperty(i,o,{enumerable:h.enumerable}),{getValue:function(){return c},setValue:function(w){c=""+w},stopTracking:function(){i._valueTracker=null,delete i[o]}}}}function Jh(i){if(!i._valueTracker){var o=L4(i)?"checked":"value";i._valueTracker=RA(i,o,""+i[o])}}function I4(i){if(!i)return!1;var o=i._valueTracker;if(!o)return!0;var c=o.getValue(),h="";return i&&(h=L4(i)?i.checked?"true":"false":i.value),i=h,i!==c?(o.setValue(i),!0):!1}function _0(i){if(i=i||(typeof document<"u"?document:void 0),typeof i>"u")return null;try{return i.activeElement||i.body}catch{return i.body}}var DA=/[\n"\\]/g;function qr(i){return i.replace(DA,function(o){return"\\"+o.charCodeAt(0).toString(16)+" "})}function em(i,o,c,h,g,v,w,D){i.name="",w!=null&&typeof w!="function"&&typeof w!="symbol"&&typeof w!="boolean"?i.type=w:i.removeAttribute("type"),o!=null?w==="number"?(o===0&&i.value===""||i.value!=o)&&(i.value=""+jr(o)):i.value!==""+jr(o)&&(i.value=""+jr(o)):w!=="submit"&&w!=="reset"||i.removeAttribute("value"),o!=null?tm(i,w,jr(o)):c!=null?tm(i,w,jr(c)):h!=null&&i.removeAttribute("value"),g==null&&v!=null&&(i.defaultChecked=!!v),g!=null&&(i.checked=g&&typeof g!="function"&&typeof g!="symbol"),D!=null&&typeof D!="function"&&typeof D!="symbol"&&typeof D!="boolean"?i.name=""+jr(D):i.removeAttribute("name")}function M4(i,o,c,h,g,v,w,D){if(v!=null&&typeof v!="function"&&typeof v!="symbol"&&typeof v!="boolean"&&(i.type=v),o!=null||c!=null){if(!(v!=="submit"&&v!=="reset"||o!=null)){Jh(i);return}c=c!=null?""+jr(c):"",o=o!=null?""+jr(o):c,D||o===i.value||(i.value=o),i.defaultValue=o}h=h??g,h=typeof h!="function"&&typeof h!="symbol"&&!!h,i.checked=D?i.checked:!!h,i.defaultChecked=!!h,w!=null&&typeof w!="function"&&typeof w!="symbol"&&typeof w!="boolean"&&(i.name=w),Jh(i)}function tm(i,o,c){o==="number"&&_0(i.ownerDocument)===i||i.defaultValue===""+c||(i.defaultValue=""+c)}function Fo(i,o,c,h){if(i=i.options,o){o={};for(var g=0;g<c.length;g++)o["$"+c[g]]=!0;for(c=0;c<i.length;c++)g=o.hasOwnProperty("$"+i[c].value),i[c].selected!==g&&(i[c].selected=g),g&&h&&(i[c].defaultSelected=!0)}else{for(c=""+jr(c),o=null,g=0;g<i.length;g++){if(i[g].value===c){i[g].selected=!0,h&&(i[g].defaultSelected=!0);return}o!==null||i[g].disabled||(o=i[g])}o!==null&&(o.selected=!0)}}function P4(i,o,c){if(o!=null&&(o=""+jr(o),o!==i.value&&(i.value=o),c==null)){i.defaultValue!==o&&(i.defaultValue=o);return}i.defaultValue=c!=null?""+jr(c):""}function B4(i,o,c,h){if(o==null){if(h!=null){if(c!=null)throw Error(r(92));if(be(h)){if(1<h.length)throw Error(r(93));h=h[0]}c=h}c==null&&(c=""),o=c}c=jr(o),i.defaultValue=c,h=i.textContent,h===c&&h!==""&&h!==null&&(i.value=h),Jh(i)}function jo(i,o){if(o){var c=i.firstChild;if(c&&c===i.lastChild&&c.nodeType===3){c.nodeValue=o;return}}i.textContent=o}var LA=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function z4(i,o,c){var h=o.indexOf("--")===0;c==null||typeof c=="boolean"||c===""?h?i.setProperty(o,""):o==="float"?i.cssFloat="":i[o]="":h?i.setProperty(o,c):typeof c!="number"||c===0||LA.has(o)?o==="float"?i.cssFloat=c:i[o]=(""+c).trim():i[o]=c+"px"}function U4(i,o,c){if(o!=null&&typeof o!="object")throw Error(r(62));if(i=i.style,c!=null){for(var h in c)!c.hasOwnProperty(h)||o!=null&&o.hasOwnProperty(h)||(h.indexOf("--")===0?i.setProperty(h,""):h==="float"?i.cssFloat="":i[h]="");for(var g in o)h=o[g],o.hasOwnProperty(g)&&c[g]!==h&&z4(i,g,h)}else for(var v in o)o.hasOwnProperty(v)&&z4(i,v,o[v])}function nm(i){if(i.indexOf("-")===-1)return!1;switch(i){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var IA=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRen
49dering","color-rendering"],["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"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["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"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["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"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),MA=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function T0(i){return MA.test(""+i)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":i}function ti(){}var rm=null;function am(i){return i=i.target||i.srcElement||window,i.correspondingUseElement&&(i=i.correspondingUseElement),i.nodeType===3?i.parentNode:i}var qo=null,$o=null;function H4(i){var o=zo(i);if(o&&(i=o.stateNode)){var c=i[ur]||null;e:switch(i=o.stateNode,o.type){case"input":if(em(i,c.value,c.defaultValue,c.defaultValue,c.checked,c.defaultChecked,c.type,c.name),o=c.name,c.type==="radio"&&o!=null){for(c=i;c.parentNode;)c=c.parentNode;for(c=c.querySelectorAll('input[name="'+qr(""+o)+'"][type="radio"]'),o=0;o<c.length;o++){var h=c[o];if(h!==i&&h.form===i.form){var g=h[ur]||null;if(!g)throw Error(r(90));em(h,g.value,g.defaultValue,g.defaultValue,g.checked,g.defaultChecked,g.type,g.name)}}for(o=0;o<c.length;o++)h=c[o],h.form===i.form&&I4(h)}break e;case"textarea":P4(i,c.value,c.defaultValue);break e;case"select":o=c.value,o!=null&&Fo(i,!!c.multiple,o,!1)}}}var im=!1;function F4(i,o,c){if(im)return i(o,c);im=!0;try{var h=i(o);return h}finally{if(im=!1,(qo!==null||$o!==null)&&(cd(),qo&&(o=qo,i=$o,$o=qo=null,H4(o),i)))for(o=0;o<i.length;o++)H4(i[o])}}function hu(i,o){var c=i.stateNode;if(c===null)return null;var h=c[ur]||null;if(h===null)return null;c=h[o];e:switch(o){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(h=!h.disabled)||(i=i.type,h=!(i==="button"||i==="input"||i==="select"||i==="textarea")),i=!h;break e;default:i=!1}if(i)return null;if(c&&typeof c!="function")throw Error(r(231,o,typeof c));return c}var ni=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),sm=!1;
vendor: 3,351 bytes, line 49
49if(ni)try{var mu={};Object.defineProperty(mu,"passive",{get:function(){sm=!0}}),window.addEventListener("test",mu,mu),window.removeEventListener("test",mu,mu)}catch{sm=!1}var Fi=null,om=null,S0=null;function j4(){if(S0)return S0;var i,o=om,c=o.length,h,g="value"in Fi?Fi.value:Fi.textContent,v=g.length;for(i=0;i<c&&o[i]===g[i];i++);var w=c-i;for(h=1;h<=w&&o[c-h]===g[v-h];h++);return S0=g.slice(i,1<h?1-h:void 0)}function w0(i){var o=i.keyCode;return"charCode"in i?(i=i.charCode,i===0&&o===13&&(i=13)):i=o,i===10&&(i=13),32<=i||i===13?i:0}function A0(){return!0}function q4(){return!1}function cr(i){function o(c,h,g,v,w){this._reactName=c,this._targetInst=g,this.type=h,this.nativeEvent=v,this.target=w,this.currentTarget=null;for(var D in i)i.hasOwnProperty(D)&&(c=i[D],this[D]=c?c(v):v[D]);return this.isDefaultPrevented=(v.defaultPrevented!=null?v.defaultPrevented:v.returnValue===!1)?A0:q4,this.isPropagationStopped=q4,this}return m(o.prototype,{preventDefault:function(){this.defaultPrevented=!0;var c=this.nativeEvent;c&&(c.preventDefault?c.preventDefault():typeof c.returnValue!="unknown"&&(c.returnValue=!1),this.isDefaultPrevented=A0)},stopPropagation:function(){var c=this.nativeEvent;c&&(c.stopPropagation?c.stopPropagation():typeof c.cancelBubble!="unknown"&&(c.cancelBubble=!0),this.isPropagationStopped=A0)},persist:function(){},isPersistent:A0}),o}var zs={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(i){return i.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},k0=cr(zs),pu=m({},zs,{view:0,detail:0}),PA=cr(pu),lm,um,gu,C0=m({},pu,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:dm,button:0,buttons:0,relatedTarget:function(i){return i.relatedTarget===void 0?i.fromElement===i.srcElement?i.toElement:i.fromElement:i.relatedTarget},movementX:function(i){return"movementX"in i?i.movementX:(i!==gu&&(gu&&i.type==="mousemove"?(lm=i.screenX-gu.screenX,um=i.screenY-gu.screenY):um=lm=0,gu=i),lm)},movementY:function(i){return"movementY"in i?i.movementY:um}}),$4=cr(C0),BA=m({},C0,{dataTransfer:0}),zA=cr(BA),UA=m({},pu,{relatedTarget:0}),cm=cr(UA),HA=m({},zs,{animationName:0,elapsedTime:0,pseudoElement:0}),FA=cr(HA),jA=m({},zs,{clipboardData:function(i){return"clipboardData"in i?i.clipboardData:window.clipboardData}}),qA=cr(jA),$A=m({},zs,{data:0}),V4=cr($A),VA={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},GA={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},YA={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function QA(i){var o=this.nativeEvent;return o.getModifierState?o.getModifierState(i):(i=YA[i])?!!o[i]:!1}function dm(){return QA}var XA=m({},pu,{key:function(i){if(i.key){var o=VA[i.key]||i.key;if(o!=="Unidentified")return o}return i.type==="keypress"?(i=w0(i),i===13?"Enter":String.fromCharCode(i)):i.type==="
49keydown"||i.type==="keyup"?GA[i.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:dm,charCode:function(i){return i.type==="keypress"?w0(i):0},keyCode:function(i){return i.type==="keydown"||i.type==="keyup"?i.keyCode:0},which:function(i){return i.type==="keypress"?w0(i):i.type==="keydown"||i.type==="keyup"?i.keyCode:0}}),WA=cr(XA),KA=m({},C0,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),G4=cr(KA),ZA=m({},pu,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:dm}),JA=cr(ZA),ek=m({},zs,{propertyName:0,elapsedTime:0,pseudoElement:0}),tk=cr(ek),nk=m({},C0,{deltaX:function(i){return"deltaX"in i?i.deltaX:"wheelDeltaX"in i?-i.wheelDeltaX:0},deltaY:function(i){return"deltaY"in i?i.deltaY:"wheelDeltaY"in i?-i.wheelDeltaY:"wheelDelta"in i?-i.wheelDelta:0},deltaZ:0,deltaMode:0}),rk=cr(nk),ak=m({},zs,{newState:0,oldState:0}),ik=cr(ak),sk=[9,13,27,32],fm=ni&&"CompositionEvent"in window,bu=null;ni&&"documentMode"in document&&(bu=document.documentMode);var ok=ni&&"TextEvent"in window&&!bu,Y4=ni&&(!fm||bu&&8<bu&&11>=bu),Q4=" ",X4=!1;function W4(i,o){switch(i){case"keyup":return sk.indexOf(o.keyCode)!==-1;case"keydown":return o.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function K4(i){return i=i.detail,typeof i=="object"&&"data"in i?i.data:null}var Vo=!1;function lk(i,o){switch(i){case"compositionend":return K4(o);case"keypress":return o.which!==32?null:(X4=!0,Q4);case"textInput":return i=o.data,i===Q4&&X4?null:i;default:return null}}function uk(i,o){if(Vo)return i==="compositionend"||!fm&&W4(i,o)?(i=j4(),S0=om=Fi=null,Vo=!1,i):null;switch(i){case"paste":return null;case"keypress":if(!(o.ctrlKey||o.altKey||o.metaKey)||o.ctrlKey&&o.altKey){if(o.char&&1<o.char.length)return o.char;if(o.which)return String.fromCharCode(o.which)}return null;case"compositionend":return Y4&&o.locale!=="ko"?null:o.data;default:return null}}var ck={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Z4(i){var o=i&&i.nodeName&&i.nodeName.toLowerCase();return o==="input"?!!ck[i.type]:o==="textarea"}function J4(i,o,c,h){qo?$o?$o.push(h):$o=[h]:qo=h,o=bd(o,"onChange"),0<o.length&&(c=new k0("onChange","change",null,c,h),i.push({event:c,listeners:o}))}var yu=null,vu=null;function dk(i){M6(i,0)}function N0(i){var o=fu(i);if(I4(o))return i}function ey(i,o){if(i==="change")return o}var ty=!1;if(ni){var hm;if(ni){var mm="oninput"in document;if(!mm){var ny=document.createElement("div");ny.setAttribute("oninput","return;"),mm=typeof ny.oninput=="function"}hm=mm}else hm=!1;ty=hm&&(!document.documentMode||9<document.documentMode)}function ry(){yu&&(yu.detachEvent("onpropertychange",ay),vu=yu=null)}function ay(i){if(i.propertyName==="value"&&N0(vu)){var o=[];J4(o,vu,i,am(i)),F4(dk,o)}}function fk(i,o,c){i==="focusin"?(ry(),yu=o,vu=c,yu.attachEvent("onpropertychange",ay)):i==="focusout"&&ry()}function hk(i){if(i==="selectionchange"||i==="keyup"||i==="keydown")return N0(vu)}function mk(i,o){if(i==="click")return N0(o)}function pk(i,o){if(i==="input"||i==="change")return N0(o)}function gk(i,o){return i===o&&(i!==0||1/i===1/o)||i!==i&&o!==o}var Sr=typeof Object.is=="function"?Object.is:gk;function xu(i,o){if(Sr(i,o))return!0;if(typeof i!="object"||i===null||typeof o!="object"||o===null)return!1;var c=Object.keys(i),h=Object.keys(o);if(c.length!==h.length)return!1;for(h=0;h<c.length;h++){var g=c[h];if(!tn.call(o,g)||!Sr(i[g],o[g]))return!1}return!0}function iy(i){for(;i&&i.firstChild;)i=i.firstChild;return i}function sy(i,o){var c=iy(i);i=0;for(var h;c;){if(c.nodeType===3){if(h=i+c.textContent.length,i<=o&&h>=o)return{node:c,offset:o-i};i=h}e:{for(;c;){if(c.nextSibling){c=c.nextSibling;break e}c=c.parentNode}c=void 0}c=iy(c)}}function oy(i,o){return i&&o?i===o?!0:i&&i.nodeType===3?!1:o&&o.nodeType===3?oy(i,o.parentNode):"contains"in i?i.contains(o):i.compareDocumentPosition?!!(i.compareDocumentPosition(o)&16):!1:!1}function ly(i){i=i!=null&&i.ownerDocument!=null&&i.ownerDocument.defaultView!=null?i.ownerDocument.defaultView:window;for(var o=_0(i.document);o instanceof i.HTMLIFrameElement;){try{var c=typeof o.contentWindow.location.href=="string"}catch{c=!1}if(c)i=o.contentWindow;else break;o=_0(i.document)}return o}function pm(i){var o=i&&i.nodeName&&i.nodeName.toLowerCase();return o&&(o==="input"&&(i.type==="text"||i.type==="search"||i.type==="tel"||i.type==="url"||i.type==="password")||o==="textarea"||i.contentEditable==="true")}var bk=ni&&"documentMode"in document&&11>=document.documentMode,Go=null,gm=null,Eu=null,bm=!1;function uy(i,o,c){var h=c.window===c?c.document:c.nodeType===9?c:c.ownerDocument;bm||Go==null||Go!==_0(h)||(h=Go,"selectionStart"in h&&pm(h)?h={start:h.selectionStart,end:h.selectionEnd}:(h=(h.ownerDocument&&h.ownerDocument.defaultView||window).getSelection(),h={anchorNode:h.anchorNode,anchorOffset:h.anchorOffset,focu
vendor: 22,663 bytes, line 49
49sNode:h.focusNode,focusOffset:h.focusOffset}),Eu&&xu(Eu,h)||(Eu=h,h=bd(gm,"onSelect"),0<h.length&&(o=new k0("onSelect","select",null,o,c),i.push({event:o,listeners:h}),o.target=Go)))}function Us(i,o){var c={};return c[i.toLowerCase()]=o.toLowerCase(),c["Webkit"+i]="webkit"+o,c["Moz"+i]="moz"+o,c}var Yo={animationend:Us("Animation","AnimationEnd"),animationiteration:Us("Animation","AnimationIteration"),animationstart:Us("Animation","AnimationStart"),transitionrun:Us("Transition","TransitionRun"),transitionstart:Us("Transition","TransitionStart"),transitioncancel:Us("Transition","TransitionCancel"),transitionend:Us("Transition","TransitionEnd")},ym={},cy={};ni&&(cy=document.createElement("div").style,"AnimationEvent"in window||(delete Yo.animationend.animation,delete Yo.animationiteration.animation,delete Yo.animationstart.animation),"TransitionEvent"in window||delete Yo.transitionend.transition);function Hs(i){if(ym[i])return ym[i];if(!Yo[i])return i;var o=Yo[i],c;for(c in o)if(o.hasOwnProperty(c)&&c in cy)return ym[i]=o[c];return i}var dy=Hs("animationend"),fy=Hs("animationiteration"),hy=Hs("animationstart"),yk=Hs("transitionrun"),vk=Hs("transitionstart"),xk=Hs("transitioncancel"),my=Hs("transitionend"),py=new Map,vm="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");vm.push("scrollEnd");function da(i,o){py.set(i,o),Bs(o,[i])}var O0=typeof reportError=="function"?reportError:function(i){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var o=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof i=="object"&&i!==null&&typeof i.message=="string"?String(i.message):String(i),error:i});if(!window.dispatchEvent(o))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",i);return}console.error(i)},$r=[],Qo=0,xm=0;function R0(){for(var i=Qo,o=xm=Qo=0;o<i;){var c=$r[o];$r[o++]=null;var h=$r[o];$r[o++]=null;var g=$r[o];$r[o++]=null;var v=$r[o];if($r[o++]=null,h!==null&&g!==null){var w=h.pending;w===null?g.next=g:(g.next=w.next,w.next=g),h.pending=g}v!==0&&gy(c,g,v)}}function D0(i,o,c,h){$r[Qo++]=i,$r[Qo++]=o,$r[Qo++]=c,$r[Qo++]=h,xm|=h,i.lanes|=h,i=i.alternate,i!==null&&(i.lanes|=h)}function Em(i,o,c,h){return D0(i,o,c,h),L0(i)}function Fs(i,o){return D0(i,null,null,o),L0(i)}function gy(i,o,c){i.lanes|=c;var h=i.alternate;h!==null&&(h.lanes|=c);for(var g=!1,v=i.return;v!==null;)v.childLanes|=c,h=v.alternate,h!==null&&(h.childLanes|=c),v.tag===22&&(i=v.stateNode,i===null||i._visibility&1||(g=!0)),i=v,v=v.return;return i.tag===3?(v=i.stateNode,g&&o!==null&&(g=31-wt(c),i=v.hiddenUpdates,h=i[g],h===null?i[g]=[o]:h.push(o),o.lane=c|536870912),v):null}function L0(i){if(50<qu)throw qu=0,Op=null,Error(r(185));for(var o=i.return;o!==null;)i=o,o=i.return;return i.tag===3?i.stateNode:null}var Xo={};function Ek(i,o,c,h){this.tag=i,this.key=c,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=o,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=h,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function wr(i,o,c,h){return new Ek(i,o,c,h)}function _m(i){return i=i.prototype,!(!i||!i.isReactComponent)}function ri(i,o){var c=i.alternate;return c===null?(c=wr(i.tag,o,i.key,i.mode),c.elementType=i.elementType,c.type=i.type,c.stateNode=i.stateNode,c.alternate=i,i.alternate=c):(c.pendingProps=o,c.type=i.type,c.flags=0,c.subtreeFlags=0,c.deletions=null),c.flags=i.flags&65011712,c.childLanes=i.childLanes,c.lanes=i.lanes,c.child=i.child,c.memoizedProps=i.memoizedProps,c.memoizedState=i.memoizedState,c.updateQueue=i.updateQueue,o=i.dependencies,c.dependencies=o===null?null:{lanes:o.lanes,firstContext:o.firstContext},c.sibling=i.sibling,c.index=i.index,c.ref=i.ref,c.refCleanup=i.refCleanup,c}function by(i,o){i.flags&=65011714;var c=i.alternate;return c===null?(i.childLanes=0,i.lanes=o,i.child=null,i.subtreeFlags=0,i.memoizedProps=null,i.memoizedState=null,i.updateQueue=null,i.dependencies=null,i.stateNode=null):(i.childLanes=c.childLanes,i.lanes=c.lanes,i.child=c.child,i.subtreeFlags=0,i.deletions=null,i.memoizedProps=c.memoizedProps,i.memoizedState=c.memoizedState,i.updateQueue=c.updateQueue,i.type=c.type,o=c.dependencies,i.dependencies=o===null?null:{lanes:o.lanes,firstContext:o.firstContext}),i}function I0(i,o,c,h,g,v){var w=0;if(h=i,typeof i=="function")_m(i)&&(w=1);else if(typeof i=="string")w=AC(i,c,he.current)?26:i==="html"||i==="head"||i==="body"?27:5;else e:switch(i){case re:return i=wr(31,c,o,g),i.elementType=re,i.lanes=v,i;case T:return js(c.children,g,v,o);case N:w=8,g|=24;break;case k:return i=wr(12,c,o,g|2),i.elementType=k,i.lanes=v,i;case V:return i=wr(13,c,o,g),i.elementType=V,i.lanes=v,i;case B:return i=wr(19,c,o,g),i.elementType=B,i.lanes=v,i;default:if(typeof i=="object"&&i!==null)switch(i.$$typeof){case I:w=10;break e;case O:w=9;break e;case K:w=11;break e;case z:w=14;break e;case W:w=16,h=null;break e}w=29,c=Error(r(130,i===null?"null":typeof i,"")),h=null}return o=wr(w,c,o,g),o.elementType=i,o.type=h,o.lanes=v,o}function js(i,o,c,h){return i=wr(7,i,h,o),i.lanes=c,i}function Tm(i,o,c){return i=wr(6,i,null,o),i.lanes=c,i}function yy(i){var o=wr(18,null,null,0);return o.stateNode=i,o}function Sm(i,o,c){return o=wr(4,i.children!==null?i.children:[],i.key,o),o.lanes=c,o.stateNode={containerInfo:i.containerInfo,pendingChildren:null,implementation:i.implementation},o}var vy=new WeakMap;function Vr(i,o){if(typeof i=="object"&&i!==null){var c=vy.get(i);return c!==void 0?c:(o={value:i,source:o,stack:Fr(o)},vy.set(i,o),o)}return{value:i,source:o,stack:Fr(o)}}var Wo=[],Ko=0,M0=null,_u=0,Gr=[],Yr=0,ji=null,Ca=1,Na="";function ai(i,o){Wo[Ko++]=_u,Wo[Ko++]=M0,M0=i,_u=o}function xy(i,o,c){Gr[Yr++]=Ca,Gr[Yr++]=Na,Gr[Yr++]=ji,ji=i;var h=Ca;i=Na;var g=32-wt(h)-1;h&=~(1<<g),c+=1;var v=32-wt(o)+g;if(30<v){var w=g-g%5;v=(h&(1<<w)-1).toString(32),h>>=w,g-=w,Ca=1<<32-wt(o)+g|c<<g|h,Na=v+i}else Ca=1<<v|c<<g|h,Na=i}function wm(i){i.return!==null&&(ai(i,1),xy(i,1,0))}function Am(i){for(;i===M0;)M0=Wo[--Ko],Wo[Ko]=null,_u=Wo[--Ko],Wo[Ko]=null;for(;i===ji;)ji=Gr[--Yr],Gr[Yr]=null,Na=Gr[--Yr],Gr[Yr]=null,Ca=Gr[--Yr],Gr[Yr]=null}function Ey(i,o){Gr[Yr++]=Ca,Gr[Yr++]=Na,Gr[Yr++]=ji,Ca=o.id,Na=o.overflow,ji=i}var Bn=null,Ut=null,bt=!1,qi=null,Qr=!1,km=Error(r(519));function $i(i){var o=Error(r(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw Tu(Vr(o,i)),km}function _y(i){var o=i.stateNode,c=i.type,h=i.memoizedProps;switch(o[Pn]=i,o[ur]=h,c){case"dialog":ft("cancel",o),ft("close",o);break;case"iframe":case"object":case"embed":ft("load",o);break;case"video":case"audio":for(c=0;c<Vu.length;c++)ft(Vu[c],o);break;case"source":ft("error",o);break;case"img":case"image":case"link":ft("error",o),ft("load",o);break;case"details":ft("toggle",o);break;case"input":ft("invalid",o),M4(o,h.value,h.defaultValue,h.checked,h.defaultChecked,h.type,h.name,!0);break;case"select":ft("invalid",o);break;case"textarea":ft("invalid",o),B4(o,h.value,h.defaultValue,h.children)}c=h.children,typeof c!="string"&&typeof c!="number"&&typeof c!="bigint"||o.textContent===""+c||h.suppressHydrationWarning===!0||U6(o.textContent,c)?(h.popover!=null&&(ft("beforetoggle",o),ft("toggle",o)),h.onScroll!=null&&ft("scroll",o),h.onScrollEnd!=null&&ft("scrollend",o),h.onClick!=null&&(o.onclick=ti),o=!0):o=!1,o||$i(i,!0)}function Ty(i){for(Bn=i.return;Bn;)switch(Bn.tag){case 5:case 31:case 13:Qr=!1;return;case 27:case 3:Qr=!0;return;default:Bn=Bn.return}}function Zo(i){if(i!==Bn)return!1;if(!bt)return Ty(i),bt=!0,!1;var o=i.tag,c;if((c=o!==3&&o!==27)&&((c=o===5)&&(c=i.type,c=!(c!=="form"&&c!=="button")||Vp(i.type,i.memoizedProps)),c=!c),c&&Ut&&$i(i),Ty(i),o===13){if(i=i.memoizedState,i=i!==null?i.dehydrated:null,!i)throw Error(r(317));Ut=Q6(i)}else if(o===31){if(i=i.memoizedState,i=i!==null?i.dehydrated:null,!i)throw Error(r(317));Ut=Q6(i)}else o===27?(o=Ut,as(i.type)?(i=Wp,Wp=null,Ut=i):Ut=o):Ut=Bn?Wr(i.stateNode.nextSibling):null;return!0}function qs(){Ut=Bn=null,bt=!1}function Cm(){var i=qi;return i!==null&&(mr===null?mr=i:mr.push.apply(mr,i),qi=null),i}function Tu(i){qi===null?qi=[i]:qi.push(i)}var Nm=j(null),$s=null,ii=null;function Vi(i,o,c){R(Nm,o._currentValue),o._currentValue=c}function si(i){i._currentValue=Nm.current,ce(Nm)}function Om(i,o,c){for(;i!==null;){var h=i.alternate;if((i.childLanes&o)!==o?(i.childLanes|=o,h!==null&&(h.childLanes|=o)):h!==null&&(h.childLanes&o)!==o&&(h.childLanes|=o),i===c)break;i=i.return}}function Rm(i,o,c,h){var g=i.child;for(g!==null&&(g.return=i);g!==null;){var v=g.dependencies;if(v!==null){var w=g.child;v=v.firstContext;e:for(;v!==null;){var D=v;v=g;for(var X=0;X<o.length;X++)if(D.context===o[X]){v.lanes|=c,D=v.alternate,D!==null&&(D.lanes|=c),Om(v.return,c,i),h||(w=null);break e}v=D.next}}else if(g.tag===18){if(w=g.return,w===null)throw Error(r(341));w.lanes|=c,v=w.alternate,v!==null&&(v.lanes|=c),Om(w,c,i),w=null}else w=g.child;if(w!==null)w.return=g;else for(w=g;w!==null;){if(w===i){w=null;break}if(g=w.sibling,g!==null){g.return=w.return,w=g;break}w=w.return}g=w}}function Jo(i,o,c,h){i=null;for(var g=o,v=!1;g!==null;){if(!v){if((g.flags&524288)!==0)v=!0;else if((g.flags&262144)!==0)break}if(g.tag===10){var w=g.alternate;if(w===null)throw Error(r(387));if(w=w.memoizedProps,w!==null){var D=g.type;Sr(g.pendingProps.value,w.value)||(i!==null?i.push(D):i=[D])}}else if(g===Me.current){if(w=g.alternate,w===null)throw Error(r(387));w.memoizedState.memoizedState!==g.memoizedState.memoizedState&&(i!==null?i.push(Wu):i=[Wu])}g=g.return}i!==null&&Rm(o,i,c,h),o.flags|=262144}function P0(i){for(i=i.firstContext;i!==null;){if(!Sr(i.context._currentValue,i.memoizedValue))return!0;i=i.next}return!1}function Vs(i){$s=i,ii=null,i=i.dependencies,i!==null&&(i.firstContext=null)}function zn(i){return Sy($s,i)}function B0(i,o){return $s===null&&Vs(i),Sy(i,o)}function Sy(i,o){var c=o._currentValue;if(o={context:o,memoizedValue:c,next:null},ii===null){if(i===null)throw Error(r(308));ii=o,i.dependencies={lanes:0,firstContext:o},i.flags|=524288}else ii=ii.next=o;return c}var _k=typeof AbortController<"u"?AbortController:function(){var i=[],o=this.signal={aborted:!1,addEventListener:function(c,h){i.push(h)}};this.abort=function(){o.aborted=!0,i.forEach(function(c){return c()})}},Tk=e.unstable_scheduleCallback,Sk=e.unstable_NormalPriority,cn={$$typeof:I,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Dm(){return{controller:new _k,data:new Map,refCount:0}}function Su(i){i.refCount--,i.refCount===0&&Tk(Sk,function(){i.controller.abort()})}var wu=null,Lm=0,el=0,tl=null;function wk(i,o){if(wu===null){var c=wu=[];Lm=0,el=Pp(),tl={status:"pending",value:void 0,then:function(h){c.push(h)}}}return Lm++,o.then(wy,wy),o}function wy(){if(--Lm===0&&wu!==null){tl!==null&&(tl.status="fulfilled");var i=wu;wu=null,el=0,tl=null;for(var o=0;o<i.length;o++)(0,i[o])()}}function Ak(i,o){var c=[],h={status:"pending",value:null,reason:null,then:function(g){c.push(g)}};return i.then(function(){h.status="fulfilled",h.value=o;for(var g=0;g<c.length;g++)(0,c[g])(o)},function(g){for(h.status="rejected",h.reason=g,g=0;g<c.length;g++)(0,c[g])(void 0)}),h}var Ay=$.S;$.S=function(i,o){u6=Ln(),typeof o=="object"&&o!==null&&typeof o.then=="function"&&wk(i,o),Ay!==null&&Ay(i,o)};var Gs=j(null);function Im(){var i=Gs.current;return i!==null?i:Lt.pooledCache}function z0(i,o){o===null?R(Gs,Gs.current):R(Gs,o.pool)}function ky(){var i=Im();return i===null?null:{parent:cn._currentValue,pool:i}}var nl=Error(r(460)),Mm=Error(r(474)),U0=Error(r(542)),H0={then:function(){}};function Cy(i){return i=i.status,i==="fulfilled"||i==="rejected"}function Ny(i,o,c){switch(c=i[c],c===void 0?i.push(o):c!==o&&(o.then(ti,ti),o=c),o.status){case"fulfilled":return o.value;case"rejected":throw i=o.reason,Ry(i),i;default:if(typeof o.status=="string")o.then(ti,ti);else{if(i=Lt,i!==null&&100<i.shellSuspendCounter)throw Error(r(482));i=o,i.status="pending",i.then(function(h){if(o.status==="pending"){var g=o;g.status="fulfilled",g.value=h}},function(h){if(o.status==="pending"){var g=o;g.status="rejected",g.reason=h}})}switch(o.status){case"fulfilled":return o.value;case"rejected":throw i=o.reason,Ry(i),i}throw Qs=o,nl}}function Ys(i){try{var o=i._init;return o(i._payload)}catch(c){throw c!==null&&typeof c=="object"&&typeof c.then=="function"?(Qs=c,nl):c}}var Qs=null;function Oy(){if(Qs===null)throw Error(r(459));var i=Qs;return Qs=null,i}function Ry(i){if(i===nl||i===U0)throw Error(r(483))}var rl=null,Au=0;function F0(i){var o=Au;return Au+=1,rl===null&&(rl=[]),Ny(rl,i,o)}function ku(i,o){o=o.props.ref,i.ref=o!==void 0?o:null}function j0(i,o){throw o.$$typeof===b?Error(r(525)):(i=Object.prototype.toString.call(o),Error(r(31,i==="[object Object]"?"object with keys {"+Object.keys(o).join(", ")+"}":i)))}function Dy(i){function o(ne,Z){if(i){var oe=ne.deletions;oe===null?(ne.deletions=[Z],ne.flags|=16):oe.push(Z)}}function c(ne,Z){if(!i)return null;for(;Z!==null;)o(ne,Z),Z=Z.sibling;return null}function h(ne){for(var Z=new Map;ne!==null;)ne.key!==null?Z.set(ne.key,ne):Z.set(ne.index,ne),ne=ne.sibling;return Z}function g(ne,Z){return ne=ri(ne,Z),ne.index=0,ne.sibling=null,ne}function v(ne,Z,oe){return ne.index=oe,i?(oe=ne.alternate,oe!==null?(oe=oe.index,oe<Z?(ne.flags|=67108866,Z):oe):(ne.flags|=67108866,Z)):(ne.flags|=1048576,Z)}function w(ne){return i&&ne.alternate===null&&(ne.flags|=67108866),ne}function D(ne,Z,oe,xe){return Z===null||Z.tag!==6?(Z=Tm(oe,ne.mode,xe),Z.return=ne,Z):(Z=g(Z,oe),Z.return=ne,Z)}function X(ne,Z,oe,xe){var Ve=oe.type;return Ve===T?ye(ne,Z,oe.props.children,xe,oe.key):Z!==null&&(Z.elementType===Ve||typeof Ve=="object"&&Ve!==null&&Ve.$$typeof===W&&Ys(Ve)===Z.type)?(Z=g(Z,oe.props),ku(Z,oe),Z.return=ne,Z):(Z=I0(oe.type,oe.key,oe.props,null,ne.mode,xe),ku(Z,oe),Z.return=ne,Z)}function de(ne,Z,oe,xe){return Z===null||Z.tag!==4||Z.stateNode.containerInfo!==oe.containerInfo||Z.stateNode.implementation!==oe.implementation?(Z=Sm(oe,ne.mode,xe),Z.return=ne,Z):(Z=g(Z,oe.children||[]),Z.return=ne,Z)}function ye(ne,Z,oe,xe,Ve){return Z===null||Z.tag!==7?(Z=js(oe,ne.mode,xe,Ve),Z.return=ne,Z):(Z=g(Z,oe),Z.return=ne,Z)}function Ee(ne,Z,oe){if(typeof Z=="string"&&Z!==""||typeof Z=="number"||typeof Z=="bigint")return Z=Tm(""+Z,ne.mode,oe),Z.return=ne,Z;if(typeof Z=="object"&&Z!==null){switch(Z.$$typeof){case y:return oe=I0(Z.type,Z.key,Z.props,null,ne.mode,oe),ku(oe,Z),oe.return=ne,oe;case E:return Z=Sm(Z,ne.mode,oe),Z.return=ne,Z;case W:return Z=Ys(Z),Ee(ne,Z,oe)}if(be(Z)||ee(Z))return Z=js(Z,ne.mode,oe,null),Z.return=ne,Z;if(typeof Z.then=="function")return Ee(ne,F0(Z),oe);if(Z.$$typeof===I)return Ee(ne,B0(ne,Z),oe);j0(ne,Z)}return null}function fe(ne,Z,oe,xe){var Ve=Z!==null?Z.key:null;if(typeof oe=="string"&&oe!==""||typeof oe=="number"||typeof oe=="bigint")return Ve!==null?null:D(ne,Z,""+oe,xe);if(typeof oe=="object"&&oe!==null){switch(oe.$$typeof){case y:return oe.key===Ve?X(ne,Z,oe,xe):null;case E:return oe.key===Ve?de(ne,Z,oe,xe):null;case W:return oe=Ys(oe),fe(ne,Z,oe,xe)}if(be(oe)||ee(oe))return Ve!==null?null:ye(ne,Z,oe,xe,null);if(typeof oe.then=="function")return fe(ne,Z,F0(oe),xe);if(oe.$$typeof===I)return fe(ne,Z,B0(ne,oe),xe);j0(ne,oe)}return null}function pe(ne,Z,oe,xe,Ve){if(typeof xe=="string"&&xe!==""||typeof xe=="number"||typeof xe=="bigint")return ne=ne.get(oe)||null,D(Z,ne,""+xe,Ve);if(typeof xe=="object"&&xe!==null){switch(xe.$$typeof){case y:return ne=ne.get(xe.key===null?oe:xe.key)||null,X(Z,ne,xe,Ve);case E:return ne=ne.get(xe.key===null?oe:xe.key)||null,de(Z,ne,xe,Ve);case W:return xe=Ys(xe),pe(ne,Z,oe,xe,Ve)}if(be(xe)||ee(xe))return ne=ne.get(oe)||null,ye(Z,ne,xe,Ve,null);if(typeof xe.then=="function")return pe(ne,Z,oe,F0(xe),Ve);if(xe.$$typeof===I)return pe(ne,Z,oe,B0(Z,xe),Ve);j0(Z,xe)}return null}function Ue(ne,Z,oe,xe){for(var Ve=null,vt=null,qe=Z,at=Z=0,pt=null;qe!==null&&at<oe.length;at++){qe.index>at?(pt=qe,qe=null):pt=qe.sibling;var xt=fe(ne,qe,oe[at],xe);if(xt===null){qe===null&&(qe=pt);break}i&&qe&&xt.alternate===null&&o(ne,qe),Z=v(xt,Z,at),vt===null?Ve=xt:vt.sibling=xt,vt=xt,qe=pt}if(at===oe.length)return c(ne,qe),bt&&ai(ne,at),Ve;if(qe===null){for(;at<oe.length;at++)qe=Ee(ne,oe[at],xe),qe!==null&&(Z=v(qe,Z,at),vt===null?Ve=qe:vt.sibling=qe,vt=qe);return bt&&ai(ne,at),Ve}for(qe=h(qe);at<oe.length;at++)pt=pe(qe,ne,at,oe[at],xe),pt!==null&&(i&&pt.alternate!==null&&qe.delete(pt.key===null?at:pt.key),Z=v(pt,Z,at),vt===null?Ve=pt:vt.sibling=pt,vt=pt);return i&&qe.forEach(function(us){return o(ne,us)}),bt&&ai(ne,at),Ve}function Xe(ne,Z,oe,xe){if(oe==null)throw Error(r(151));for(var Ve=null,vt=null,qe=Z,at=Z=0,pt=null,xt=oe.next();qe!==null&&!xt.done;at++,xt=oe.next()){qe.index>at?(pt=qe,qe=null):pt=qe.sibling;var us=fe(ne,qe,xt.value,xe);if(us===null){qe===null&&(qe=pt);break}i&&qe&&us.alternate===null&&o(ne,qe),Z=v(us,Z,at),vt===null?Ve=us:vt.sibling=us,vt=us,qe=pt}if(xt.done)return c(ne,qe),bt&&ai(ne,at),Ve;if(qe===null){for(;!xt.done;at++,xt=oe.next())xt=Ee(ne,xt.value,xe),xt!==null&&(Z=v(xt,Z,at),vt===null?Ve=xt:vt.sibling=xt,vt=xt);return bt&&ai(ne,at),Ve}for(qe=h(qe);!xt.done;at++,xt=oe.next())xt=pe(qe,ne,at,xt.value,xe),xt!==null&&(i&&xt.alternate!==null&&qe.delete(xt.key===null?at:xt.key),Z=v(xt,Z,at),vt===null?Ve=xt:vt.sibling=xt,vt=xt);return i&&qe.forEach(function(BC){return o(ne,BC)}),bt&&ai(ne,at),Ve}function Rt(ne,Z,oe,xe){if(typeof oe=="object"&&oe!==null&&oe.type===T&&oe.key===null&&(oe=oe.props.children),typeof oe=="object"&&oe!==null){switch(oe.$$typeof){case y:e:{for(var Ve=oe.key;Z!==null;){if(Z.key===Ve){if(Ve=oe.type,Ve===T){if(Z.tag===7){c(ne,Z.sibling),xe=g(Z,oe.props.children),xe.return=ne,ne=xe;break e}}else if(Z.elementType===Ve||typeof Ve=="object"&&Ve!==null&&Ve.$$typeof===W&&Ys(Ve)===Z.type){c(ne,Z.sibling),xe=g(Z,oe.props),ku(xe,oe),xe.return=ne,ne=xe;break e}c(ne,Z);break}else o(ne,Z);Z=Z.sibling}oe.type===T?(xe=js(oe.props.children,ne.mode,xe,oe.key),xe.return=ne,ne=xe):(xe=I0(oe.type,oe.key,oe.props,null,ne.mode,xe),ku(xe,oe),xe.return=ne,ne=xe)}return w(ne);case E:e:{for(Ve=oe.key;Z!==null;){if(Z.key===Ve)if(Z.tag===4&&Z.stateNode.containerInfo===oe.containerInfo&&Z.stateNode.implementation===oe.implementation){c(ne,Z.sibling),xe=g(Z,oe.children||[]),xe.return=ne,ne=xe;break e}else{c(ne,Z);break}else o(ne,Z);Z=Z.sibling}xe=Sm(oe,ne.mode,xe),xe.return=ne,ne=xe}return w(ne);case W:return oe=Ys(oe),Rt(ne,Z,oe,xe)}if(be(oe))return Ue(ne,Z,oe,xe);if(ee(oe)){if(Ve=ee(oe),typeof Ve!="function")throw Error(r(150));return oe=Ve.call(oe),Xe(ne,Z,oe,xe)}if(typeof oe.then=="function")return Rt(ne,Z,F0(oe),xe);if(oe.$$typeof===I)return Rt(ne,Z,B0(ne,oe),xe);j0(ne,oe)}return typeof oe=="string"&&oe!==""||typeof oe=="number"||typeof oe=="bigint"?(oe=""+oe,Z!==null&&Z.tag===6?(c(ne,Z.sibling),xe=g(Z,oe),xe.return=ne,ne=xe):(c(ne,Z),xe=Tm(oe,ne.mode,xe),xe.return=ne,ne=xe),w(ne)):c(ne,Z)}return function(ne,Z,oe,xe){try{Au=0;var Ve=Rt(ne,Z,oe,xe);return rl=null,Ve}catch(qe){if(qe===nl||qe===U0)throw qe;var vt=wr(29,qe,null,ne.mode);return vt.lanes=xe,vt.return=ne,vt}finally{}}}var Xs=Dy(!0),Ly=Dy(!1),Gi=!1;function Pm(i){i.updateQueue={baseState:i.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Bm(i,o){i=i.updateQueue,o.updateQueue===i&&(o.updateQueue={baseState:i.baseState,firstBaseUpdate:i.firstBaseUpdate,lastBaseUpdate:i.lastBaseUpdate,shared:i.shared,callbacks:null})}function Yi(i){return{lane:i,tag:0,payload:null,callback:null,next:null}}function Qi(i,o,c){var h=i.updateQueue;if(h===null)return null;if(h=h.shared,(St&2)!==0){var g=h.pending;return g===null?o.next=o:(o.next=g.next,g.next=o),h.pending=o,o=L0(i),gy(i,null,c),o}return D0(i,h,o,c),L0(i)}function Cu(i,o,c){if(o=o.updateQueue,o!==null&&(o=o.shared,(c&4194048)!==0)){var h=o.lanes;h&=i.pendingLanes,c|=h,o.lanes=c,or(i,c)}}function zm(i,o){var c=i.updateQueue,h=i.alternate;if(h!==null&&(h=h.updateQueue,c===h)){var g=null,v=null;if(c=c.firstBaseUpdate,c!==null){do{var w={lane:c.lane,tag:c.tag,payload:c.payload,callback:null,next:null};v===null?g=v=w:v=v.next=w,c=c.next}while(c!==null);v===null?g=v=o:v=v.next=o}else g=v=o;c={baseState:h.baseState,firstBaseUpdate:g,lastBaseUpdate:v,shared:h.shared,callbacks:h.callbacks},i.updateQueue=c;return}i=c.lastBaseUpdate,i===null?c.firstBaseUpdate=o:i.next=o,c.lastBaseUpdate=o}var Um=!1;function Nu(){if(Um){var i=tl;if(i!==null)throw i}}function Ou(i,o,c,h){Um=!1;var g=i.updateQueue;Gi=!1;var v=g.firstBaseUpdate,w=g.lastBaseUpdate,D=g.shared.pending;if(D!==null){g.shared.pending=null;var X=D,de=X.next;X.next=null,w===null?v=de:w.next=de,w=X;var ye=i.alternate;ye!==null&&(ye=ye.updateQueue,D=ye.lastBaseUpdate,D!==w&&(D===null?ye.firstBaseUpdate=de:D.next=de,ye.lastBaseUpdate=X))}if(v!==null){var Ee=g.baseState;w=0,ye=de=X=null,D=v;do{var fe=D.lane&-536870913,pe=fe!==D.lane;if(pe?(mt&fe)===fe:(h&fe)===fe){fe!==0&&fe===el&&(Um=!0),ye!==null&&(ye=ye.next={lane:0,tag:D.tag,payload:D.payload,callback:null,next:null});e:{var Ue=i,Xe=D;fe=o;var Rt=c;switch(Xe.tag){case 1:if(Ue=Xe.payload,typeof Ue=="function"){Ee=Ue.call(Rt,Ee,fe);break e}Ee=Ue;break e;case 3:Ue.flags=Ue.flags&-65537|128;case 0:if(Ue=Xe.payload,fe=typeof Ue=="function"?Ue.call(Rt,Ee,fe):Ue,fe==null)break e;Ee=m({},Ee,fe);break e;case 2:Gi=!0}}fe=D.callback,fe!==null&&(i.flags|=64,pe&&(i.flags|=8192),pe=g.callbacks,pe===null?g.callbacks=[fe]:pe.push(fe))}else pe={lane:fe,tag:D.tag,payload:D.payload,callback:D.callback,next:null},ye===null?(de=ye=pe,X=Ee):ye=ye.next=pe,w|=fe;if(D=D.next,D===null){if(D=g.shared.pending,D===null)break;pe=D,D=pe.next,pe.next=null,g.lastBaseUpdate=pe,g.shared.pending=null}}while(!0);ye===null&&(X=Ee),g.baseState=X,g.firstBaseUpdate=de,g.lastBaseUpdate=ye,v===null&&(g.shared.lanes=0),Ji|=w,i.lanes=w,i.memoizedState=Ee}}function Iy(i,o){if(typeof i!="function")throw Error(r(191,i));i.call(o)}function My(i,o){var c=i.callbacks;
vendor: 4,089 bytes, line 49
49if(c!==null)for(i.callbacks=null,i=0;i<c.length;i++)Iy(c[i],o)}var al=j(null),q0=j(0);function Py(i,o){i=pi,R(q0,i),R(al,o),pi=i|o.baseLanes}function Hm(){R(q0,pi),R(al,al.current)}function Fm(){pi=q0.current,ce(al),ce(q0)}var Ar=j(null),Xr=null;function Xi(i){var o=i.alternate;R(rn,rn.current&1),R(Ar,i),Xr===null&&(o===null||al.current!==null||o.memoizedState!==null)&&(Xr=i)}function jm(i){R(rn,rn.current),R(Ar,i),Xr===null&&(Xr=i)}function By(i){i.tag===22?(R(rn,rn.current),R(Ar,i),Xr===null&&(Xr=i)):Wi()}function Wi(){R(rn,rn.current),R(Ar,Ar.current)}function kr(i){ce(Ar),Xr===i&&(Xr=null),ce(rn)}var rn=j(0);function $0(i){for(var o=i;o!==null;){if(o.tag===13){var c=o.memoizedState;if(c!==null&&(c=c.dehydrated,c===null||Qp(c)||Xp(c)))return o}else if(o.tag===19&&(o.memoizedProps.revealOrder==="forwards"||o.memoizedProps.revealOrder==="backwards"||o.memoizedProps.revealOrder==="unstable_legacy-backwards"||o.memoizedProps.revealOrder==="together")){if((o.flags&128)!==0)return o}else if(o.child!==null){o.child.return=o,o=o.child;continue}if(o===i)break;for(;o.sibling===null;){if(o.return===null||o.return===i)return null;o=o.return}o.sibling.return=o.return,o=o.sibling}return null}var oi=0,tt=null,Nt=null,dn=null,V0=!1,il=!1,Ws=!1,G0=0,Ru=0,sl=null,kk=0;function Xt(){throw Error(r(321))}function qm(i,o){if(o===null)return!1;for(var c=0;c<o.length&&c<i.length;c++)if(!Sr(i[c],o[c]))return!1;return!0}function $m(i,o,c,h,g,v){return oi=v,tt=o,o.memoizedState=null,o.updateQueue=null,o.lanes=0,$.H=i===null||i.memoizedState===null?x3:ip,Ws=!1,v=c(h,g),Ws=!1,il&&(v=Uy(o,c,h,g)),zy(i),v}function zy(i){$.H=Iu;var o=Nt!==null&&Nt.next!==null;if(oi=0,dn=Nt=tt=null,V0=!1,Ru=0,sl=null,o)throw Error(r(300));i===null||fn||(i=i.dependencies,i!==null&&P0(i)&&(fn=!0))}function Uy(i,o,c,h){tt=i;var g=0;do{if(il&&(sl=null),Ru=0,il=!1,25<=g)throw Error(r(301));if(g+=1,dn=Nt=null,i.updateQueue!=null){var v=i.updateQueue;v.lastEffect=null,v.events=null,v.stores=null,v.memoCache!=null&&(v.memoCache.index=0)}$.H=E3,v=o(c,h)}while(il);return v}function Ck(){var i=$.H,o=i.useState()[0];return o=typeof o.then=="function"?Du(o):o,i=i.useState()[0],(Nt!==null?Nt.memoizedState:null)!==i&&(tt.flags|=1024),o}function Vm(){var i=G0!==0;return G0=0,i}function Gm(i,o,c){o.updateQueue=i.updateQueue,o.flags&=-2053,i.lanes&=~c}function Ym(i){if(V0){for(i=i.memoizedState;i!==null;){var o=i.queue;o!==null&&(o.pending=null),i=i.next}V0=!1}oi=0,dn=Nt=tt=null,il=!1,Ru=G0=0,sl=null}function Zn(){var i={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return dn===null?tt.memoizedState=dn=i:dn=dn.next=i,dn}function an(){if(Nt===null){var i=tt.alternate;i=i!==null?i.memoizedState:null}else i=Nt.next;var o=dn===null?tt.memoizedState:dn.next;if(o!==null)dn=o,Nt=i;else{if(i===null)throw tt.alternate===null?Error(r(467)):Error(r(310));Nt=i,i={memoizedState:Nt.memoizedState,baseState:Nt.baseState,baseQueue:Nt.baseQueue,queue:Nt.queue,next:null},dn===null?tt.memoizedState=dn=i:dn=dn.next=i}return dn}function Y0(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Du(i){var o=Ru;return Ru+=1,sl===null&&(sl=[]),i=Ny(sl,i,o),o=tt,(dn===null?o.memoizedState:dn.next)===null&&(o=o.alternate,$.H=o===null||o.memoizedState===null?x3:ip),i}function Q0(i){if(i!==null&&typeof i=="object"){if(typeof i.then=="function")return Du(i);if(i.$$typeof===I)return zn(i)}throw Error(r(438,String(i)))}function Qm(i){var o=null,c=tt.updateQueue;if(c!==null&&(o=c.memoCache),o==null){var h=tt.alternate;h!==null&&(h=h.updateQueue,h!==null&&(h=h.memoCache,h!=null&&(o={data:h.data.map(function(g){return g.slice()}),index:0})))}if(o==null&&(o={data:[],index:0}),c===null&&(c=Y0(),tt.updateQueue=c),c.memoCache=o,c=o.data[o.index],c===void 0)for(c=o.data[o.index]=Array(i),h=0;h<i;h++)c[h]=Y;return o.index++,c}function li(i,o){return typeof o=="function"?o(i):o}function X0(i){var o=an();return Xm(o,Nt,i)}function Xm(i,o,c){var h=i.queue;if(h===null)throw Error(r(311));h.lastRenderedReducer=c;var g=i.baseQueue,v=h.pending;if(v!==null){if(g!==null){var w=g.next;
vendor: 18,068 bytes, line 49
49g.next=v.next,v.next=w}o.baseQueue=g=v,h.pending=null}if(v=i.baseState,g===null)i.memoizedState=v;else{o=g.next;var D=w=null,X=null,de=o,ye=!1;do{var Ee=de.lane&-536870913;if(Ee!==de.lane?(mt&Ee)===Ee:(oi&Ee)===Ee){var fe=de.revertLane;if(fe===0)X!==null&&(X=X.next={lane:0,revertLane:0,gesture:null,action:de.action,hasEagerState:de.hasEagerState,eagerState:de.eagerState,next:null}),Ee===el&&(ye=!0);else if((oi&fe)===fe){de=de.next,fe===el&&(ye=!0);continue}else Ee={lane:0,revertLane:de.revertLane,gesture:null,action:de.action,hasEagerState:de.hasEagerState,eagerState:de.eagerState,next:null},X===null?(D=X=Ee,w=v):X=X.next=Ee,tt.lanes|=fe,Ji|=fe;Ee=de.action,Ws&&c(v,Ee),v=de.hasEagerState?de.eagerState:c(v,Ee)}else fe={lane:Ee,revertLane:de.revertLane,gesture:de.gesture,action:de.action,hasEagerState:de.hasEagerState,eagerState:de.eagerState,next:null},X===null?(D=X=fe,w=v):X=X.next=fe,tt.lanes|=Ee,Ji|=Ee;de=de.next}while(de!==null&&de!==o);if(X===null?w=v:X.next=D,!Sr(v,i.memoizedState)&&(fn=!0,ye&&(c=tl,c!==null)))throw c;i.memoizedState=v,i.baseState=w,i.baseQueue=X,h.lastRenderedState=v}return g===null&&(h.lanes=0),[i.memoizedState,h.dispatch]}function Wm(i){var o=an(),c=o.queue;if(c===null)throw Error(r(311));c.lastRenderedReducer=i;var h=c.dispatch,g=c.pending,v=o.memoizedState;if(g!==null){c.pending=null;var w=g=g.next;do v=i(v,w.action),w=w.next;while(w!==g);Sr(v,o.memoizedState)||(fn=!0),o.memoizedState=v,o.baseQueue===null&&(o.baseState=v),c.lastRenderedState=v}return[v,h]}function Hy(i,o,c){var h=tt,g=an(),v=bt;if(v){if(c===void 0)throw Error(r(407));c=c()}else c=o();var w=!Sr((Nt||g).memoizedState,c);if(w&&(g.memoizedState=c,fn=!0),g=g.queue,Jm(qy.bind(null,h,g,i),[i]),g.getSnapshot!==o||w||dn!==null&&dn.memoizedState.tag&1){if(h.flags|=2048,ol(9,{destroy:void 0},jy.bind(null,h,g,c,o),null),Lt===null)throw Error(r(349));v||(oi&127)!==0||Fy(h,o,c)}return c}function Fy(i,o,c){i.flags|=16384,i={getSnapshot:o,value:c},o=tt.updateQueue,o===null?(o=Y0(),tt.updateQueue=o,o.stores=[i]):(c=o.stores,c===null?o.stores=[i]:c.push(i))}function jy(i,o,c,h){o.value=c,o.getSnapshot=h,$y(o)&&Vy(i)}function qy(i,o,c){return c(function(){$y(o)&&Vy(i)})}function $y(i){var o=i.getSnapshot;i=i.value;try{var c=o();return!Sr(i,c)}catch{return!0}}function Vy(i){var o=Fs(i,2);o!==null&&pr(o,i,2)}function Km(i){var o=Zn();if(typeof i=="function"){var c=i;if(i=c(),Ws){Mn(!0);try{c()}finally{Mn(!1)}}}return o.memoizedState=o.baseState=i,o.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:li,lastRenderedState:i},o}function Gy(i,o,c,h){return i.baseState=c,Xm(i,Nt,typeof h=="function"?h:li)}function Nk(i,o,c,h,g){if(Z0(i))throw Error(r(485));if(i=o.action,i!==null){var v={payload:g,action:i,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(w){v.listeners.push(w)}};$.T!==null?c(!0):v.isTransition=!1,h(v),c=o.pending,c===null?(v.next=o.pending=v,Yy(o,v)):(v.next=c.next,o.pending=c.next=v)}}function Yy(i,o){var c=o.action,h=o.payload,g=i.state;if(o.isTransition){var v=$.T,w={};$.T=w;try{var D=c(g,h),X=$.S;X!==null&&X(w,D),Qy(i,o,D)}catch(de){Zm(i,o,de)}finally{v!==null&&w.types!==null&&(v.types=w.types),$.T=v}}else try{v=c(g,h),Qy(i,o,v)}catch(de){Zm(i,o,de)}}function Qy(i,o,c){c!==null&&typeof c=="object"&&typeof c.then=="function"?c.then(function(h){Xy(i,o,h)},function(h){return Zm(i,o,h)}):Xy(i,o,c)}function Xy(i,o,c){o.status="fulfilled",o.value=c,Wy(o),i.state=c,o=i.pending,o!==null&&(c=o.next,c===o?i.pending=null:(c=c.next,o.next=c,Yy(i,c)))}function Zm(i,o,c){var h=i.pending;if(i.pending=null,h!==null){h=h.next;do o.status="rejected",o.reason=c,Wy(o),o=o.next;while(o!==h)}i.action=null}function Wy(i){i=i.listeners;for(var o=0;o<i.length;o++)(0,i[o])()}function Ky(i,o){return o}function Zy(i,o){if(bt){var c=Lt.formState;if(c!==null){e:{var h=tt;if(bt){if(Ut){t:{for(var g=Ut,v=Qr;g.nodeType!==8;){if(!v){g=null;break t}if(g=Wr(g.nextSibling),g===null){g=null;break t}}v=g.data,g=v==="F!"||v==="F"?g:null}if(g){Ut=Wr(g.nextSibling),h=g.data==="F!";break e}}$i(h)}h=!1}h&&(o=c[0])}}return c=Zn(),c.memoizedState=c.baseState=o,h={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ky,lastRenderedState:o},c.queue=h,c=b3.bind(null,tt,h),h.dispatch=c,h=Km(!1),v=ap.bind(null,tt,!1,h.queue),h=Zn(),g={state:o,dispatch:null,action:i,pending:null},h.queue=g,c=Nk.bind(null,tt,g,v,c),g.dispatch=c,h.memoizedState=i,[o,c,!1]}function Jy(i){var o=an();return e3(o,Nt,i)}function e3(i,o,c){if(o=Xm(i,o,Ky)[0],i=X0(li)[0],typeof o=="object"&&o!==null&&typeof o.then=="function")try{var h=Du(o)}catch(w){throw w===nl?U0:w}else h=o;o=an();var g=o.queue,v=g.dispatch;return c!==o.memoizedState&&(tt.flags|=2048,ol(9,{destroy:void 0},Ok.bind(null,g,c),null)),[h,v,i]}function Ok(i,o){i.action=o}function t3(i){var o=an(),c=Nt;if(c!==null)return e3(o,c,i);an(),o=o.memoizedState,c=an();var h=c.queue.dispatch;return c.memoizedState=i,[o,h,!1]}function ol(i,o,c,h){return i={tag:i,create:c,deps:h,inst:o,next:null},o=tt.updateQueue,o===null&&(o=Y0(),tt.updateQueue=o),c=o.lastEffect,c===null?o.lastEffect=i.next=i:(h=c.next,c.next=i,i.next=h,o.lastEffect=i),i}function n3(){return an().memoizedState}function W0(i,o,c,h){var g=Zn();tt.flags|=i,g.memoizedState=ol(1|o,{destroy:void 0},c,h===void 0?null:h)}function K0(i,o,c,h){var g=an();h=h===void 0?null:h;var v=g.memoizedState.inst;Nt!==null&&h!==null&&qm(h,Nt.memoizedState.deps)?g.memoizedState=ol(o,v,c,h):(tt.flags|=i,g.memoizedState=ol(1|o,v,c,h))}function r3(i,o){W0(8390656,8,i,o)}function Jm(i,o){K0(2048,8,i,o)}function Rk(i){tt.flags|=4;var o=tt.updateQueue;if(o===null)o=Y0(),tt.updateQueue=o,o.events=[i];else{var c=o.events;c===null?o.events=[i]:c.push(i)}}function a3(i){var o=an().memoizedState;return Rk({ref:o,nextImpl:i}),function(){if((St&2)!==0)throw Error(r(440));return o.impl.apply(void 0,arguments)}}function i3(i,o){return K0(4,2,i,o)}function s3(i,o){return K0(4,4,i,o)}function o3(i,o){if(typeof o=="function"){i=i();var c=o(i);return function(){typeof c=="function"?c():o(null)}}if(o!=null)return i=i(),o.current=i,function(){o.current=null}}function l3(i,o,c){c=c!=null?c.concat([i]):null,K0(4,4,o3.bind(null,o,i),c)}function ep(){}function u3(i,o){var c=an();o=o===void 0?null:o;var h=c.memoizedState;return o!==null&&qm(o,h[1])?h[0]:(c.memoizedState=[i,o],i)}function c3(i,o){var c=an();o=o===void 0?null:o;var h=c.memoizedState;if(o!==null&&qm(o,h[1]))return h[0];if(h=i(),Ws){Mn(!0);try{i()}finally{Mn(!1)}}return c.memoizedState=[h,o],h}function tp(i,o,c){return c===void 0||(oi&1073741824)!==0&&(mt&261930)===0?i.memoizedState=o:(i.memoizedState=c,i=d6(),tt.lanes|=i,Ji|=i,c)}function d3(i,o,c,h){return Sr(c,o)?c:al.current!==null?(i=tp(i,c,h),Sr(i,o)||(fn=!0),i):(oi&42)===0||(oi&1073741824)!==0&&(mt&261930)===0?(fn=!0,i.memoizedState=c):(i=d6(),tt.lanes|=i,Ji|=i,o)}function f3(i,o,c,h,g){var v=ae.p;ae.p=v!==0&&8>v?v:8;var w=$.T,D={};$.T=D,ap(i,!1,o,c);try{var X=g(),de=$.S;if(de!==null&&de(D,X),X!==null&&typeof X=="object"&&typeof X.then=="function"){var ye=Ak(X,h);Lu(i,o,ye,Or(i))}else Lu(i,o,h,Or(i))}catch(Ee){Lu(i,o,{then:function(){},status:"rejected",reason:Ee},Or())}finally{ae.p=v,w!==null&&D.types!==null&&(w.types=D.types),$.T=w}}function Dk(){}function np(i,o,c,h){if(i.tag!==5)throw Error(r(476));var g=h3(i).queue;f3(i,g,o,te,c===null?Dk:function(){return m3(i),c(h)})}function h3(i){var o=i.memoizedState;if(o!==null)return o;o={memoizedState:te,baseState:te,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:li,lastRenderedState:te},next:null};var c={};return o.next={memoizedState:c,baseState:c,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:li,lastRenderedState:c},next:null},i.memoizedState=o,i=i.alternate,i!==null&&(i.memoizedState=o),o}function m3(i){var o=h3(i);o.next===null&&(o=i.alternate.memoizedState),Lu(i,o.next.queue,{},Or())}function rp(){return zn(Wu)}function p3(){return an().memoizedState}function g3(){return an().memoizedState}function Lk(i){for(var o=i.return;o!==null;){switch(o.tag){case 24:case 3:var c=Or();i=Yi(c);var h=Qi(o,i,c);h!==null&&(pr(h,o,c),Cu(h,o,c)),o={cache:Dm()},i.payload=o;return}o=o.return}}function Ik(i,o,c){var h=Or();c={lane:h,revertLane:0,gesture:null,action:c,hasEagerState:!1,eagerState:null,next:null},Z0(i)?y3(o,c):(c=Em(i,o,c,h),c!==null&&(pr(c,i,h),v3(c,o,h)))}function b3(i,o,c){var h=Or();Lu(i,o,c,h)}function Lu(i,o,c,h){var g={lane:h,revertLane:0,gesture:null,action:c,hasEagerState:!1,eagerState:null,next:null};if(Z0(i))y3(o,g);else{var v=i.alternate;if(i.lanes===0&&(v===null||v.lanes===0)&&(v=o.lastRenderedReducer,v!==null))try{var w=o.lastRenderedState,D=v(w,c);if(g.hasEagerState=!0,g.eagerState=D,Sr(D,w))return D0(i,o,g,0),Lt===null&&R0(),!1}catch{}finally{}if(c=Em(i,o,g,h),c!==null)return pr(c,i,h),v3(c,o,h),!0}return!1}function ap(i,o,c,h){if(h={lane:2,revertLane:Pp(),gesture:null,action:h,hasEagerState:!1,eagerState:null,next:null},Z0(i)){if(o)throw Error(r(479))}else o=Em(i,c,h,2),o!==null&&pr(o,i,2)}function Z0(i){var o=i.alternate;return i===tt||o!==null&&o===tt}function y3(i,o){il=V0=!0;var c=i.pending;c===null?o.next=o:(o.next=c.next,c.next=o),i.pending=o}function v3(i,o,c){if((c&4194048)!==0){var h=o.lanes;h&=i.pendingLanes,c|=h,o.lanes=c,or(i,c)}}var Iu={readContext:zn,use:Q0,useCallback:Xt,useContext:Xt,useEffect:Xt,useImperativeHandle:Xt,useLayoutEffect:Xt,useInsertionEffect:Xt,useMemo:Xt,useReducer:Xt,useRef:Xt,useState:Xt,useDebugValue:Xt,useDeferredValue:Xt,useTransition:Xt,useSyncExternalStore:Xt,useId:Xt,useHostTransitionStatus:Xt,useFormState:Xt,useActionState:Xt,useOptimistic:Xt,useMemoCache:Xt,useCacheRefresh:Xt};Iu.useEffectEvent=Xt;var x3={readContext:zn,use:Q0,useCallback:function(i,o){return Zn().memoizedState=[i,o===void 0?null:o],i},useContext:zn,useEffect:r3,useImperativeHandle:function(i,o,c){c=c!=null?c.concat([i]):null,W0(4194308,4,o3.bind(null,o,i),c)},useLayoutEffect:function(i,o){return W0(4194308,4,i,o)},useInsertionEffect:function(i,o){W0(4,2,i,o)},useMemo:function(i,o){var c=Zn();o=o===void 0?null:o;var h=i();if(Ws){Mn(!0);try{i()}finally{Mn(!1)}}return c.memoizedState=[h,o],h},useReducer:function(i,o,c){var h=Zn();if(c!==void 0){var g=c(o);if(Ws){Mn(!0);try{c(o)}finally{Mn(!1)}}}else g=o;return h.memoizedState=h.baseState=g,i={pending:null,lanes:0,dispatch:null,lastRenderedReducer:i,lastRenderedState:g},h.queue=i,i=i.dispatch=Ik.bind(null,tt,i),[h.memoizedState,i]},useRef:function(i){var o=Zn();return i={current:i},o.memoizedState=i},useState:function(i){i=Km(i);var o=i.queue,c=b3.bind(null,tt,o);return o.dispatch=c,[i.memoizedState,c]},useDebugValue:ep,useDeferredValue:function(i,o){var c=Zn();return tp(c,i,o)},useTransition:function(){var i=Km(!1);return i=f3.bind(null,tt,i.queue,!0,!1),Zn().memoizedState=i,[!1,i]},useSyncExternalStore:function(i,o,c){var h=tt,g=Zn();if(bt){if(c===void 0)throw Error(r(407));c=c()}else{if(c=o(),Lt===null)throw Error(r(349));(mt&127)!==0||Fy(h,o,c)}g.memoizedState=c;var v={value:c,getSnapshot:o};return g.queue=v,r3(qy.bind(null,h,v,i),[i]),h.flags|=2048,ol(9,{destroy:void 0},jy.bind(null,h,v,c,o),null),c},useId:function(){var i=Zn(),o=Lt.identifierPrefix;if(bt){var c=Na,h=Ca;c=(h&~(1<<32-wt(h)-1)).toString(32)+c,o="_"+o+"R_"+c,c=G0++,0<c&&(o+="H"+c.toString(32)),o+="_"}else c=kk++,o="_"+o+"r_"+c.toString(32)+"_";return i.memoizedState=o},useHostTransitionStatus:rp,useFormState:Zy,useActionState:Zy,useOptimistic:function(i){var o=Zn();o.memoizedState=o.baseState=i;var c={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return o.queue=c,o=ap.bind(null,tt,!0,c),c.dispatch=o,[i,o]},useMemoCache:Qm,useCacheRefresh:function(){return Zn().memoizedState=Lk.bind(null,tt)},useEffectEvent:function(i){var o=Zn(),c={impl:i};return o.memoizedState=c,function(){if((St&2)!==0)throw Error(r(440));return c.impl.apply(void 0,arguments)}}},ip={readContext:zn,use:Q0,useCallback:u3,useContext:zn,useEffect:Jm,useImperativeHandle:l3,useInsertionEffect:i3,useLayoutEffect:s3,useMemo:c3,useReducer:X0,useRef:n3,useState:function(){return X0(li)},useDebugValue:ep,useDeferredValue:function(i,o){var c=an();return d3(c,Nt.memoizedState,i,o)},useTransition:function(){var i=X0(li)[0],o=an().memoizedState;return[typeof i=="boolean"?i:Du(i),o]},useSyncExternalStore:Hy,useId:p3,useHostTransitionStatus:rp,useFormState:Jy,useActionState:Jy,useOptimistic:function(i,o){var c=an();return Gy(c,Nt,i,o)},useMemoCache:Qm,useCacheRefresh:g3};ip.useEffectEvent=a3;var E3={readContext:zn,use:Q0,useCallback:u3,useContext:zn,useEffect:Jm,useImperativeHandle:l3,useInsertionEffect:i3,useLayoutEffect:s3,useMemo:c3,useReducer:Wm,useRef:n3,useState:function(){return Wm(li)},useDebugValue:ep,useDeferredValue:function(i,o){var c=an();return Nt===null?tp(c,i,o):d3(c,Nt.memoizedState,i,o)},useTransition:function(){var i=Wm(li)[0],o=an().memoizedState;return[typeof i=="boolean"?i:Du(i),o]},useSyncExternalStore:Hy,useId:p3,useHostTransitionStatus:rp,useFormState:t3,useActionState:t3,useOptimistic:function(i,o){var c=an();return Nt!==null?Gy(c,Nt,i,o):(c.baseState=i,[i,c.queue.dispatch])},useMemoCache:Qm,useCacheRefresh:g3};E3.useEffectEvent=a3;function sp(i,o,c,h){o=i.memoizedState,c=c(h,o),c=c==null?o:m({},o,c),i.memoizedState=c,i.lanes===0&&(i.updateQueue.baseState=c)}var op={enqueueSetState:function(i,o,c){i=i._reactInternals;var h=Or(),g=Yi(h);g.payload=o,c!=null&&(g.callback=c),o=Qi(i,g,h),o!==null&&(pr(o,i,h),Cu(o,i,h))},enqueueReplaceState:function(i,o,c){i=i._reactInternals;var h=Or(),g=Yi(h);g.tag=1,g.payload=o,c!=null&&(g.callback=c),o=Qi(i,g,h),o!==null&&(pr(o,i,h),Cu(o,i,h))},enqueueForceUpdate:function(i,o){i=i._reactInternals;var c=Or(),h=Yi(c);h.tag=2,o!=null&&(h.callback=o),o=Qi(i,h,c),o!==null&&(pr(o,i,c),Cu(o,i,c))}};function _3(i,o,c,h,g,v,w){return i=i.stateNode,typeof i.shouldComponentUpdate=="function"?i.shouldComponentUpdate(h,v,w):o.prototype&&o.prototype.isPureReactComponent?!xu(c,h)||!xu(g,v):!0}function T3(i,o,c,h){i=o.state,typeof o.componentWillReceiveProps=="function"&&o.componentWillReceiveProps(c,h),typeof o.UNSAFE_componentWillReceiveProps=="function"&&o.UNSAFE_componentWillReceiveProps(c,h),o.state!==i&&op.enqueueReplaceState(o,o.state,null)}function Ks(i,o){var c=o;if("ref"in o){c={};for(var h in o)h!=="ref"&&(c[h]=o[h])}if(i=i.defaultProps){c===o&&(c=m({},c));for(var g in i)c[g]===void 0&&(c[g]=i[g])}return c}function S3(i){O0(i)}function w3(i){console.error(i)}function A3(i){O0(i)}function J0(i,o){try{var c=i.onUncaughtError;c(o.value,{componentStack:o.stack})}catch(h){setTimeout(function(){throw h})}}function k3(i,o,c){try{var h=i.onCaughtError;h(c.value,{componentStack:c.stack,errorBoundary:o.tag===1?o.stateNode:null})}catch(g){setTimeout(function(){throw g})}}function lp(i,o,c){return c=Yi(c),c.tag=3,c.payload={element:null},c.callback=function(){J0(i,o)},c}function C3(i){return i=Yi(i),i.tag=3,i}function N3(i,o,c,h){var g=c.type.getDerivedStateFromError;if(typeof g=="function"){var v=h.value;i.payload=function(){return g(v)},i.callback=function(){k3(o,c,h)}}var w=c.stateNode;w!==null&&typeof w.componentDidCatch=="function"&&(i.callback=function(){k3(o,c,h),typeof g!="function"&&(es===null?es=new Set([this]):es.add(this));var D=h.stack;this.componentDidCatch(h.value,{componentStack:D!==null?D:""})})}function Mk(i,o,c,h,g){if(c.flags|=32768,h!==null&&typeof h=="object"&&typeof h.then=="function"){if(o=c.alternate,o!==null&&Jo(o,c,g,!0),c=Ar.current,c!==null){switch(c.tag){case 31:case 13:return Xr===null?dd():c.alternate===null&&Wt===0&&(Wt=3),c.flags&=-257,c.flags|=65536,c.lanes=g,h===H0?c.flags|=16384:(o=c.updateQueue,o===null?c.updateQueue=new Set([h]):o.add(h),Lp(i,h,g)),!1;case 22:return c.flags|=65536,h===H0?c.flags|=16384:(o=c.updateQueue,o===null?(o={transitions:null,markerInstances:null,retryQueue:new Set([h])},c.updateQueue=o):(c=o.retryQueue,c===null?o.retryQueue=new Set([h]):c.add(h)),Lp(i,h,g)),!1}throw Error(r(435,c.tag))}return Lp(i,h,g),dd(),!1}if(bt)return o=Ar.current,o!==null?((o.flags&65536)===0&&(o.flags|=256),o.flags|=65536,o.lanes=g,h!==km&&(i=Error(r(422),{cause:h}),Tu(Vr(i,c)))):(h!==km&&(o=Error(r(423),{cause:h}),Tu(Vr(o,c))),i=i.current.alternate,i.flags|=65536,g&=-g,i.lanes|=g,h=Vr(h,c),g=lp(i.stateNode,h,g),zm(i,g),Wt!==4&&(Wt=2)),!1;var v=Error(r(520),{cause:h});if(v=Vr(v,c),ju===null?ju=[v]:ju.push(v),Wt!==4&&(Wt=2),o===null)return!0;h=Vr(h,c),c=o;do{switch(c.tag){case 3:return c.flags|=65536,i=g&-g,c.lanes|=i,i=lp(c.stateNode,h,i),zm(c,i),!1;case 1:if(o=c.type,v=c.stateNode,(c.flags&128)===0&&(typeof o.getDerivedStateFromError=="function"||v!==null&&typeof v.componentDidCatch=="function"&&(es===null||!es.has(v))))return c.flags|=65536,g&=-g,c.lanes|=g,g=C3(g),N3(g,i,c,h),zm(c,g),!1}c=c.return}while(c!==null);return!1}var up=Error(r(461)),fn=!1;function Un(i,o,c,h){o.child=i===null?Ly(o,null,c,h):Xs(o,i.child,c,h)}function O3(i,o,c,h,g){c=c.render;var v=o.ref;if("ref"in h){var w={};for(var D in h)D!=="ref"&&(w[D]=h[D])}else w=h;return Vs(o),h=$m(i,o,c,w,v,g),D=Vm(),i!==null&&!fn?(Gm(i,o,g),ui(i,o,g)):(bt&&D&&wm(o),o.flags|=1,Un(i,o,h,g),o.child)}function R3(i,o,c,h,g){if(i===null){var v=c.type;return typeof v=="function"&&!_m(v)&&v.defaultProps===void 0&&c.compare===null?(o.tag=15,o.type=v,D3(i,o,v,h,g)):(i=I0(c.type,null,h,o,o.mode,g),i.ref=o.ref,i.return=o,o.child=i)}if(v=i.child,!bp(i,g)){var w=v.memoizedProps;if(c=c.compare,c=c!==null?c:xu,c(w,h)&&i.ref===o.ref)return ui(i,o,g)}return o.flags|=1,i=ri(v,h),i.ref=o.ref,i.return=o,o.child=i}function D3(i,o,c,h,g){if(i!==null){var v=i.memoizedProps;if(xu(v,h)&&i.ref===o.ref)if(fn=!1,o.pendingProps=h=v,bp(i,g))(i.flags&131072)!==0&&(fn=!0);else return o.lanes=i.lanes,ui(i,o,g)}return cp(i,o,c,h,g)}function L3(i,o,c,h){var g=h.children,v=i!==null?i.memoizedState:null;if(i===null&&o.stateNode===null&&(o.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),h.mode==="hidden"){if((o.flags&128)!==0){if(v=v!==null?v.baseLanes|c:c,i!==null){for(h=o.child=i.child,g=0;h!==null;
vendor: 18,591 bytes, line 49
49)g=g|h.lanes|h.childLanes,h=h.sibling;h=g&~v}else h=0,o.child=null;return I3(i,o,v,c,h)}if((c&536870912)!==0)o.memoizedState={baseLanes:0,cachePool:null},i!==null&&z0(o,v!==null?v.cachePool:null),v!==null?Py(o,v):Hm(),By(o);else return h=o.lanes=536870912,I3(i,o,v!==null?v.baseLanes|c:c,c,h)}else v!==null?(z0(o,v.cachePool),Py(o,v),Wi(),o.memoizedState=null):(i!==null&&z0(o,null),Hm(),Wi());return Un(i,o,g,c),o.child}function Mu(i,o){return i!==null&&i.tag===22||o.stateNode!==null||(o.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),o.sibling}function I3(i,o,c,h,g){var v=Im();return v=v===null?null:{parent:cn._currentValue,pool:v},o.memoizedState={baseLanes:c,cachePool:v},i!==null&&z0(o,null),Hm(),By(o),i!==null&&Jo(i,o,h,!0),o.childLanes=g,null}function ed(i,o){return o=nd({mode:o.mode,children:o.children},i.mode),o.ref=i.ref,i.child=o,o.return=i,o}function M3(i,o,c){return Xs(o,i.child,null,c),i=ed(o,o.pendingProps),i.flags|=2,kr(o),o.memoizedState=null,i}function Pk(i,o,c){var h=o.pendingProps,g=(o.flags&128)!==0;if(o.flags&=-129,i===null){if(bt){if(h.mode==="hidden")return i=ed(o,h),o.lanes=536870912,Mu(null,i);if(jm(o),(i=Ut)?(i=Y6(i,Qr),i=i!==null&&i.data==="&"?i:null,i!==null&&(o.memoizedState={dehydrated:i,treeContext:ji!==null?{id:Ca,overflow:Na}:null,retryLane:536870912,hydrationErrors:null},c=yy(i),c.return=o,o.child=c,Bn=o,Ut=null)):i=null,i===null)throw $i(o);return o.lanes=536870912,null}return ed(o,h)}var v=i.memoizedState;if(v!==null){var w=v.dehydrated;if(jm(o),g)if(o.flags&256)o.flags&=-257,o=M3(i,o,c);else if(o.memoizedState!==null)o.child=i.child,o.flags|=128,o=null;else throw Error(r(558));else if(fn||Jo(i,o,c,!1),g=(c&i.childLanes)!==0,fn||g){if(h=Lt,h!==null&&(w=lr(h,c),w!==0&&w!==v.retryLane))throw v.retryLane=w,Fs(i,w),pr(h,i,w),up;dd(),o=M3(i,o,c)}else i=v.treeContext,Ut=Wr(w.nextSibling),Bn=o,bt=!0,qi=null,Qr=!1,i!==null&&Ey(o,i),o=ed(o,h),o.flags|=4096;return o}return i=ri(i.child,{mode:h.mode,children:h.children}),i.ref=o.ref,o.child=i,i.return=o,i}function td(i,o){var c=o.ref;if(c===null)i!==null&&i.ref!==null&&(o.flags|=4194816);else{if(typeof c!="function"&&typeof c!="object")throw Error(r(284));(i===null||i.ref!==c)&&(o.flags|=4194816)}}function cp(i,o,c,h,g){return Vs(o),c=$m(i,o,c,h,void 0,g),h=Vm(),i!==null&&!fn?(Gm(i,o,g),ui(i,o,g)):(bt&&h&&wm(o),o.flags|=1,Un(i,o,c,g),o.child)}function P3(i,o,c,h,g,v){return Vs(o),o.updateQueue=null,c=Uy(o,h,c,g),zy(i),h=Vm(),i!==null&&!fn?(Gm(i,o,v),ui(i,o,v)):(bt&&h&&wm(o),o.flags|=1,Un(i,o,c,v),o.child)}function B3(i,o,c,h,g){if(Vs(o),o.stateNode===null){var v=Xo,w=c.contextType;typeof w=="object"&&w!==null&&(v=zn(w)),v=new c(h,v),o.memoizedState=v.state!==null&&v.state!==void 0?v.state:null,v.updater=op,o.stateNode=v,v._reactInternals=o,v=o.stateNode,v.props=h,v.state=o.memoizedState,v.refs={},Pm(o),w=c.contextType,v.context=typeof w=="object"&&w!==null?zn(w):Xo,v.state=o.memoizedState,w=c.getDerivedStateFromProps,typeof w=="function"&&(sp(o,c,w,h),v.state=o.memoizedState),typeof c.getDerivedStateFromProps=="function"||typeof v.getSnapshotBeforeUpdate=="function"||typeof v.UNSAFE_componentWillMount!="function"&&typeof v.componentWillMount!="function"||(w=v.state,typeof v.componentWillMount=="function"&&v.componentWillMount(),typeof v.UNSAFE_componentWillMount=="function"&&v.UNSAFE_componentWillMount(),w!==v.state&&op.enqueueReplaceState(v,v.state,null),Ou(o,h,v,g),Nu(),v.state=o.memoizedState),typeof v.componentDidMount=="function"&&(o.flags|=4194308),h=!0}else if(i===null){v=o.stateNode;var D=o.memoizedProps,X=Ks(c,D);v.props=X;var de=v.context,ye=c.contextType;w=Xo,typeof ye=="object"&&ye!==null&&(w=zn(ye));var Ee=c.getDerivedStateFromProps;ye=typeof Ee=="function"||typeof v.getSnapshotBeforeUpdate=="function",D=o.pendingProps!==D,ye||typeof v.UNSAFE_componentWillReceiveProps!="function"&&typeof v.componentWillReceiveProps!="function"||(D||de!==w)&&T3(o,v,h,w),Gi=!1;var fe=o.memoizedState;v.state=fe,Ou(o,h,v,g),Nu(),de=o.memoizedState,D||fe!==de||Gi?(typeof Ee=="function"&&(sp(o,c,Ee,h),de=o.memoizedState),(X=Gi||_3(o,c,X,h,fe,de,w))?(ye||typeof v.UNSAFE_componentWillMount!="function"&&typeof v.componentWillMount!="function"||(typeof v.componentWillMount=="function"&&v.componentWillMount(),typeof v.UNSAFE_componentWillMount=="function"&&v.UNSAFE_componentWillMount()),typeof v.componentDidMount=="function"&&(o.flags|=4194308)):(typeof v.componentDidMount=="function"&&(o.flags|=4194308),o.memoizedProps=h,o.memoizedState=de),v.props=h,v.state=de,v.context=w,h=X):(typeof v.componentDidMount=="function"&&(o.flags|=4194308),h=!1)}else{v=o.stateNode,Bm(i,o),w=o.memoizedProps,ye=Ks(c,w),v.props=ye,Ee=o.pendingProps,fe=v.context,de=c.contextType,X=Xo,typeof de=="object"&&de!==null&&(X=zn(de)),D=c.getDerivedStateFromProps,(de=typeof D=="function"||typeof v.getSnapshotBeforeUpdate=="function")||typeof v.UNSAFE_componentWillReceiveProps!="function"&&typeof v.componentWillReceiveProps!="function"||(w!==Ee||fe!==X)&&T3(o,v,h,X),Gi=!1,fe=o.memoizedState,v.state=fe,Ou(o,h,v,g),Nu();var pe=o.memoizedState;w!==Ee||fe!==pe||Gi||i!==null&&i.dependencies!==null&&P0(i.dependencies)?(typeof D=="function"&&(sp(o,c,D,h),pe=o.memoizedState),(ye=Gi||_3(o,c,ye,h,fe,pe,X)||i!==null&&i.dependencies!==null&&P0(i.dependencies))?(de||typeof v.UNSAFE_componentWillUpdate!="function"&&typeof v.componentWillUpdate!="function"||(typeof v.componentWillUpdate=="function"&&v.componentWillUpdate(h,pe,X),typeof v.UNSAFE_componentWillUpdate=="function"&&v.UNSAFE_componentWillUpdate(h,pe,X)),typeof v.componentDidUpdate=="function"&&(o.flags|=4),typeof v.getSnapshotBeforeUpdate=="function"&&(o.flags|=1024)):(typeof v.componentDidUpdate!="function"||w===i.memoizedProps&&fe===i.memoizedState||(o.flags|=4),typeof v.getSnapshotBeforeUpdate!="function"||w===i.memoizedProps&&fe===i.memoizedState||(o.flags|=1024),o.memoizedProps=h,o.memoizedState=pe),v.props=h,v.state=pe,v.context=X,h=ye):(typeof v.componentDidUpdate!="function"||w===i.memoizedProps&&fe===i.memoizedState||(o.flags|=4),typeof v.getSnapshotBeforeUpdate!="function"||w===i.memoizedProps&&fe===i.memoizedState||(o.flags|=1024),h=!1)}return v=h,td(i,o),h=(o.flags&128)!==0,v||h?(v=o.stateNode,c=h&&typeof c.getDerivedStateFromError!="function"?null:v.render(),o.flags|=1,i!==null&&h?(o.child=Xs(o,i.child,null,g),o.child=Xs(o,null,c,g)):Un(i,o,c,g),o.memoizedState=v.state,i=o.child):i=ui(i,o,g),i}function z3(i,o,c,h){return qs(),o.flags|=256,Un(i,o,c,h),o.child}var dp={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function fp(i){return{baseLanes:i,cachePool:ky()}}function hp(i,o,c){return i=i!==null?i.childLanes&~c:0,o&&(i|=Nr),i}function U3(i,o,c){var h=o.pendingProps,g=!1,v=(o.flags&128)!==0,w;if((w=v)||(w=i!==null&&i.memoizedState===null?!1:(rn.current&2)!==0),w&&(g=!0,o.flags&=-129),w=(o.flags&32)!==0,o.flags&=-33,i===null){if(bt){if(g?Xi(o):Wi(),(i=Ut)?(i=Y6(i,Qr),i=i!==null&&i.data!=="&"?i:null,i!==null&&(o.memoizedState={dehydrated:i,treeContext:ji!==null?{id:Ca,overflow:Na}:null,retryLane:536870912,hydrationErrors:null},c=yy(i),c.return=o,o.child=c,Bn=o,Ut=null)):i=null,i===null)throw $i(o);return Xp(i)?o.lanes=32:o.lanes=536870912,null}var D=h.children;return h=h.fallback,g?(Wi(),g=o.mode,D=nd({mode:"hidden",children:D},g),h=js(h,g,c,null),D.return=o,h.return=o,D.sibling=h,o.child=D,h=o.child,h.memoizedState=fp(c),h.childLanes=hp(i,w,c),o.memoizedState=dp,Mu(null,h)):(Xi(o),mp(o,D))}var X=i.memoizedState;if(X!==null&&(D=X.dehydrated,D!==null)){if(v)o.flags&256?(Xi(o),o.flags&=-257,o=pp(i,o,c)):o.memoizedState!==null?(Wi(),o.child=i.child,o.flags|=128,o=null):(Wi(),D=h.fallback,g=o.mode,h=nd({mode:"visible",children:h.children},g),D=js(D,g,c,null),D.flags|=2,h.return=o,D.return=o,h.sibling=D,o.child=h,Xs(o,i.child,null,c),h=o.child,h.memoizedState=fp(c),h.childLanes=hp(i,w,c),o.memoizedState=dp,o=Mu(null,h));else if(Xi(o),Xp(D)){if(w=D.nextSibling&&D.nextSibling.dataset,w)var de=w.dgst;w=de,h=Error(r(419)),h.stack="",h.digest=w,Tu({value:h,source:null,stack:null}),o=pp(i,o,c)}else if(fn||Jo(i,o,c,!1),w=(c&i.childLanes)!==0,fn||w){if(w=Lt,w!==null&&(h=lr(w,c),h!==0&&h!==X.retryLane))throw X.retryLane=h,Fs(i,h),pr(w,i,h),up;Qp(D)||dd(),o=pp(i,o,c)}else Qp(D)?(o.flags|=192,o.child=i.child,o=null):(i=X.treeContext,Ut=Wr(D.nextSibling),Bn=o,bt=!0,qi=null,Qr=!1,i!==null&&Ey(o,i),o=mp(o,h.children),o.flags|=4096);return o}return g?(Wi(),D=h.fallback,g=o.mode,X=i.child,de=X.sibling,h=ri(X,{mode:"hidden",children:h.children}),h.subtreeFlags=X.subtreeFlags&65011712,de!==null?D=ri(de,D):(D=js(D,g,c,null),D.flags|=2),D.return=o,h.return=o,h.sibling=D,o.child=h,Mu(null,h),h=o.child,D=i.child.memoizedState,D===null?D=fp(c):(g=D.cachePool,g!==null?(X=cn._currentValue,g=g.parent!==X?{parent:X,pool:X}:g):g=ky(),D={baseLanes:D.baseLanes|c,cachePool:g}),h.memoizedState=D,h.childLanes=hp(i,w,c),o.memoizedState=dp,Mu(i.child,h)):(Xi(o),c=i.child,i=c.sibling,c=ri(c,{mode:"visible",children:h.children}),c.return=o,c.sibling=null,i!==null&&(w=o.deletions,w===null?(o.deletions=[i],o.flags|=16):w.push(i)),o.child=c,o.memoizedState=null,c)}function mp(i,o){return o=nd({mode:"visible",children:o},i.mode),o.return=i,i.child=o}function nd(i,o){return i=wr(22,i,null,o),i.lanes=0,i}function pp(i,o,c){return Xs(o,i.child,null,c),i=mp(o,o.pendingProps.children),i.flags|=2,o.memoizedState=null,i}function H3(i,o,c){i.lanes|=o;var h=i.alternate;h!==null&&(h.lanes|=o),Om(i.return,o,c)}function gp(i,o,c,h,g,v){var w=i.memoizedState;w===null?i.memoizedState={isBackwards:o,rendering:null,renderingStartTime:0,last:h,tail:c,tailMode:g,treeForkCount:v}:(w.isBackwards=o,w.rendering=null,w.renderingStartTime=0,w.last=h,w.tail=c,w.tailMode=g,w.treeForkCount=v)}function F3(i,o,c){var h=o.pendingProps,g=h.revealOrder,v=h.tail;h=h.children;var w=rn.current,D=(w&2)!==0;if(D?(w=w&1|2,o.flags|=128):w&=1,R(rn,w),Un(i,o,h,c),h=bt?_u:0,!D&&i!==null&&(i.flags&128)!==0)e:for(i=o.child;i!==null;){if(i.tag===13)i.memoizedState!==null&&H3(i,c,o);else if(i.tag===19)H3(i,c,o);else if(i.child!==null){i.child.return=i,i=i.child;continue}if(i===o)break e;for(;i.sibling===null;){if(i.return===null||i.return===o)break e;i=i.return}i.sibling.return=i.return,i=i.sibling}switch(g){case"forwards":for(c=o.child,g=null;c!==null;)i=c.alternate,i!==null&&$0(i)===null&&(g=c),c=c.sibling;c=g,c===null?(g=o.child,o.child=null):(g=c.sibling,c.sibling=null),gp(o,!1,g,c,v,h);break;case"backwards":case"unstable_legacy-backwards":for(c=null,g=o.child,o.child=null;g!==null;){if(i=g.alternate,i!==null&&$0(i)===null){o.child=g;break}i=g.sibling,g.sibling=c,c=g,g=i}gp(o,!0,c,null,v,h);break;case"together":gp(o,!1,null,null,void 0,h);break;default:o.memoizedState=null}return o.child}function ui(i,o,c){if(i!==null&&(o.dependencies=i.dependencies),Ji|=o.lanes,(c&o.childLanes)===0)if(i!==null){if(Jo(i,o,c,!1),(c&o.childLanes)===0)return null}else return null;if(i!==null&&o.child!==i.child)throw Error(r(153));if(o.child!==null){for(i=o.child,c=ri(i,i.pendingProps),o.child=c,c.return=o;i.sibling!==null;)i=i.sibling,c=c.sibling=ri(i,i.pendingProps),c.return=o;c.sibling=null}return o.child}function bp(i,o){return(i.lanes&o)!==0?!0:(i=i.dependencies,!!(i!==null&&P0(i)))}function Bk(i,o,c){switch(o.tag){case 3:je(o,o.stateNode.containerInfo),Vi(o,cn,i.memoizedState.cache),qs();break;case 27:case 5:At(o);break;case 4:je(o,o.stateNode.containerInfo);break;case 10:Vi(o,o.type,o.memoizedProps.value);break;case 31:if(o.memoizedState!==null)return o.flags|=128,jm(o),null;break;case 13:var h=o.memoizedState;if(h!==null)return h.dehydrated!==null?(Xi(o),o.flags|=128,null):(c&o.child.childLanes)!==0?U3(i,o,c):(Xi(o),i=ui(i,o,c),i!==null?i.sibling:null);Xi(o);break;case 19:var g=(i.flags&128)!==0;if(h=(c&o.childLanes)!==0,h||(Jo(i,o,c,!1),h=(c&o.childLanes)!==0),g){if(h)return F3(i,o,c);o.flags|=128}if(g=o.memoizedState,g!==null&&(g.rendering=null,g.tail=null,g.lastEffect=null),R(rn,rn.current),h)break;return null;case 22:return o.lanes=0,L3(i,o,c,o.pendingProps);case 24:Vi(o,cn,i.memoizedState.cache)}return ui(i,o,c)}function j3(i,o,c){if(i!==null)if(i.memoizedProps!==o.pendingProps)fn=!0;else{if(!bp(i,c)&&(o.flags&128)===0)return fn=!1,Bk(i,o,c);fn=(i.flags&131072)!==0}else fn=!1,bt&&(o.flags&1048576)!==0&&xy(o,_u,o.index);switch(o.lanes=0,o.tag){case 16:e:{var h=o.pendingProps;if(i=Ys(o.elementType),o.type=i,typeof i=="function")_m(i)?(h=Ks(i,h),o.tag=1,o=B3(null,o,i,h,c)):(o.tag=0,o=cp(null,o,i,h,c));else{if(i!=null){var g=i.$$typeof;if(g===K){o.tag=11,o=O3(null,o,i,h,c);break e}else if(g===z){o.tag=14,o=R3(null,o,i,h,c);break e}}throw o=ue(i)||i,Error(r(306,o,""))}}return o;case 0:return cp(i,o,o.type,o.pendingProps,c);case 1:return h=o.type,g=Ks(h,o.pendingProps),B3(i,o,h,g,c);case 3:e:{if(je(o,o.stateNode.containerInfo),i===null)throw Error(r(387));h=o.pendingProps;var v=o.memoizedState;g=v.element,Bm(i,o),Ou(o,h,null,c);var w=o.memoizedState;if(h=w.cache,Vi(o,cn,h),h!==v.cache&&Rm(o,[cn],c,!0),Nu(),h=w.element,v.isDehydrated)if(v={element:h,isDehydrated:!1,cache:w.cache},o.updateQueue.baseState=v,o.memoizedState=v,o.flags&256){o=z3(i,o,h,c);break e}else if(h!==g){g=Vr(Error(r(424)),o),Tu(g),o=z3(i,o,h,c);break e}else{switch(i=o.stateNode.containerInfo,i.nodeType){case 9:i=i.body;break;default:i=i.nodeName==="HTML"?i.ownerDocument.body:i}for(Ut=Wr(i.firstChild),Bn=o,bt=!0,qi=null,Qr=!0,c=Ly(o,null,h,c),o.child=c;c;)c.flags=c.flags&-3|4096,c=c.sibling}else{if(qs(),h===g){o=ui(i,o,c);break e}Un(i,o,h,c)}o=o.child}return o;case 26:return td(i,o),i===null?(c=J6(o.type,null,o.pendingProps,null))?o.memoizedState=c:bt||(c=o.type,i=o.pendingProps,h=yd(Re.current).createElement(c),h[Pn]=o,h[ur]=i,Hn(h,c,i),wn(h),o.stateNode=h):o.memoizedState=J6(o.type,i.memoizedProps,o.pendingProps,i.memoizedState),null;case 27:return At(o),i===null&&bt&&(h=o.stateNode=W6(o.type,o.pendingProps,Re.current),Bn=o,Qr=!0,g=Ut,as(o.type)?(Wp=g,Ut=Wr(h.firstChild)):Ut=g),Un(i,o,o.pendingProps.children,c),td(i,o),i===null&&(o.flags|=4194304),o.child;case 5:return i===null&&bt&&((g=h=Ut)&&(h=hC(h,o.type,o.pendingProps,Qr),h!==null?(o.stateNode=h,Bn=o,Ut=Wr(h.firstChild),Qr=!1,g=!0):g=!1),g||$i(o)),At(o),g=o.type,v=o.pendingProps,w=i!==null?i.memoizedProps:null,h=v.children,Vp(g,v)?h=null:w!==null&&Vp(g,w)&&(o.flags|=32),o.memoizedState!==null&&(g=$m(i,o,Ck,null,null,c),Wu._currentValue=g),td(i,o),Un(i,o,h,c),o.child;case 6:return i===null&&bt&&((i=c=Ut)&&(c=mC(c,o.pendingProps,Qr),c!==null?(o.stateNode=c,Bn=o,Ut=null,i=!0):i=!1),i||$i(o)),null;case 13:return U3(i,o,c);case 4:return je(o,o.stateNode.containerInfo),h=o.pendingProps,i===null?o.child=Xs(o,null,h,c):Un(i,o,h,c),o.child;case 11:return O3(i,o,o.type,o.pendingProps,c);case 7:return Un(i,o,o.pendingProps,c),o.child;case 8:return Un(i,o,o.pendingProps.children,c),o.child;case 12:return Un(i,o,o.pendingProps.children,c),o.child;case 10:return h=o.pendingProps,Vi(o,o.type,h.value),Un(i,o,h.children,c),o.child;case 9:return g=o.type._context,h=o.pendingProps.children,Vs(o),g=zn(g),h=h(g),o.flags|=1,Un(i,o,h,c),o.child;case 14:return R3(i,o,o.type,o.pendingProps,c);case 15:return D3(i,o,o.type,o.pendingProps,c);case 19:return F3(i,o,c);case 31:return Pk(i,o,c);case 22:return L3(i,o,c,o.pendingProps);case 24:return Vs(o),h=zn(cn),i===null?(g=Im(),g===null&&(g=Lt,v=Dm(),g.pooledCache=v,v.refCount++,v!==null&&(g.pooledCacheLanes|=c),g=v),o.memoizedState={parent:h,cache:g},Pm(o),Vi(o,cn,g)):((i.lanes&c)!==0&&(Bm(i,o),Ou(o,null,null,c),Nu()),g=i.memoizedState,v=o.memoizedState,g.parent!==h?(g={parent:h,cache:h},o.memoizedState=g,o.lanes===0&&(o.memoizedState=o.updateQueue.baseState=g),Vi(o,cn,h)):(h=v.cache,Vi(o,cn,h),h!==g.cache&&Rm(o,[cn],c,!0))),Un(i,o,o.pendingProps.children,c),o.child;case 29:throw o.pendingProps}throw Error(r(156,o.tag))}function ci(i){i.flags|=4}function yp(i,o,c,h,g){if((o=(i.mode&32)!==0)&&(o=!1),o){if(i.flags|=16777216,(g&335544128)===g)if(i.stateNode.complete)i.flags|=8192;else if(p6())i.flags|=8192;else throw Qs=H0,Mm}else i.flags&=-16777217}function q3(i,o){if(o.type!=="stylesheet"||(o.state.loading&4)!==0)i.flags&=-16777217;else if(i.flags|=16777216,!av(o))if(p6())i.flags|=8192;else throw Qs=H0,Mm}function rd(i,o){o!==null&&(i.flags|=4),i.flags&16384&&(o=i.tag!==22?qn():536870912,i.lanes|=o,dl|=o)}function Pu(i,o){if(!bt)switch(i.tailMode){case"hidden":o=i.tail;for(var c=null;o!==null;)o.alternate!==null&&(c=o),o=o.sibling;c===null?i.tail=null:c.sibling=null;break;case"collapsed":c=i.tail;for(var h=null;c!==null;)c.alternate!==null&&(h=c),c=c.sibling;h===null?o||i.tail===null?i.tail=null:i.tail.sibling=null:h.sibling=null}}function Ht(i){var o=i.alternate!==null&&i.alternate.child===i.child,c=0,h=0;if(o)for(var g=i.child;g!==null;)c|=g.lanes|g.childLanes,h|=g.subtreeFlags&65011712,h|=g.flags&65011712,g.return=i,g=g.sibling;else for(g=i.child;g!==null;)c|=g.lanes|g.childLanes,h|=g.subtreeFlags,h|=g.flags,g.return=i,g=g.sibling;return i.subtreeFlags|=h,i.childLanes=c,o}function zk(i,o,c){var h=o.pendingProps;switch(Am(o),o.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Ht(o),null;case 1:return Ht(o),null;case 3:return c=o.stateNode,h=null,i!==null&&(h=i.memoizedState.cache),o.memoizedState.cache!==h&&(o.flags|=2048),si(cn),Ke(),c.pendingContext&&(c.context=c.pendingContext,c.pendingContext=null),(i===null||i.child===null)&&(Zo(o)?ci(o):i===null||i.memoizedState.isDehydrated&&(o.flags&256)===0||(o.flags|=1024,Cm())),Ht(o),null;case 26:var g=o.type,v=o.memoizedState;return i===null?(ci(o),v!==null?(Ht(o),q3(o,v)):(Ht(o),yp(o,g,null,h,c))):v?v!==i.memoizedState?(ci(o),Ht(o),q3(o,v)):(Ht(o),o.flags&=-16777217):(i=i.memoizedProps,i!==h&&ci(o),Ht(o),yp(o,g,i,h,c)),null;case 27:if(Qt(o),c=Re.current,g=o.type,i!==null&&o.stateNode!=null)i.memoizedProps!==h&&ci(o);else{if(!h){if(o.stateNode===null)throw Error(r(166));return Ht(o),null}i=he.current,Zo(o)?_y(o):(i=W6(g,h,c),o.stateNode=i,ci(o))}return Ht(o),null;case 5:if(Qt(o),g=o.type,i!==null&&o.stateNode!=null)i.memoizedProps!==h&&ci(o);else{if(!h){if(o.stateNode===null)throw Error(r(166));return Ht(o),null}if(v=he.current,Zo(o))_y(o);else{var w=yd(Re.current);switch(v){case 1:v=w.createElementNS("http://www.w3.org/2000/svg",g);break;case 2:v=w.createElementNS("http://www.w3.org/1998/Math/MathML",g);break;default:switch(g){case"svg":v=w.createElementNS("http://www.w3.org/2000/svg",g);break;case"math":v=w.createElementNS("http://www.w3.org/1998/Math/MathML",g);break;case"script":v=w.createElement("div"),v.innerHTML="<script><\/script>",v=v.removeChild(v.firstChild);break;
vendor: 25,675 bytes, line 49
49case"select":v=typeof h.is=="string"?w.createElement("select",{is:h.is}):w.createElement("select"),h.multiple?v.multiple=!0:h.size&&(v.size=h.size);break;default:v=typeof h.is=="string"?w.createElement(g,{is:h.is}):w.createElement(g)}}v[Pn]=o,v[ur]=h;e:for(w=o.child;w!==null;){if(w.tag===5||w.tag===6)v.appendChild(w.stateNode);else if(w.tag!==4&&w.tag!==27&&w.child!==null){w.child.return=w,w=w.child;continue}if(w===o)break e;for(;w.sibling===null;){if(w.return===null||w.return===o)break e;w=w.return}w.sibling.return=w.return,w=w.sibling}o.stateNode=v;e:switch(Hn(v,g,h),g){case"button":case"input":case"select":case"textarea":h=!!h.autoFocus;break e;case"img":h=!0;break e;default:h=!1}h&&ci(o)}}return Ht(o),yp(o,o.type,i===null?null:i.memoizedProps,o.pendingProps,c),null;case 6:if(i&&o.stateNode!=null)i.memoizedProps!==h&&ci(o);else{if(typeof h!="string"&&o.stateNode===null)throw Error(r(166));if(i=Re.current,Zo(o)){if(i=o.stateNode,c=o.memoizedProps,h=null,g=Bn,g!==null)switch(g.tag){case 27:case 5:h=g.memoizedProps}i[Pn]=o,i=!!(i.nodeValue===c||h!==null&&h.suppressHydrationWarning===!0||U6(i.nodeValue,c)),i||$i(o,!0)}else i=yd(i).createTextNode(h),i[Pn]=o,o.stateNode=i}return Ht(o),null;case 31:if(c=o.memoizedState,i===null||i.memoizedState!==null){if(h=Zo(o),c!==null){if(i===null){if(!h)throw Error(r(318));if(i=o.memoizedState,i=i!==null?i.dehydrated:null,!i)throw Error(r(557));i[Pn]=o}else qs(),(o.flags&128)===0&&(o.memoizedState=null),o.flags|=4;Ht(o),i=!1}else c=Cm(),i!==null&&i.memoizedState!==null&&(i.memoizedState.hydrationErrors=c),i=!0;if(!i)return o.flags&256?(kr(o),o):(kr(o),null);if((o.flags&128)!==0)throw Error(r(558))}return Ht(o),null;case 13:if(h=o.memoizedState,i===null||i.memoizedState!==null&&i.memoizedState.dehydrated!==null){if(g=Zo(o),h!==null&&h.dehydrated!==null){if(i===null){if(!g)throw Error(r(318));if(g=o.memoizedState,g=g!==null?g.dehydrated:null,!g)throw Error(r(317));g[Pn]=o}else qs(),(o.flags&128)===0&&(o.memoizedState=null),o.flags|=4;Ht(o),g=!1}else g=Cm(),i!==null&&i.memoizedState!==null&&(i.memoizedState.hydrationErrors=g),g=!0;if(!g)return o.flags&256?(kr(o),o):(kr(o),null)}return kr(o),(o.flags&128)!==0?(o.lanes=c,o):(c=h!==null,i=i!==null&&i.memoizedState!==null,c&&(h=o.child,g=null,h.alternate!==null&&h.alternate.memoizedState!==null&&h.alternate.memoizedState.cachePool!==null&&(g=h.alternate.memoizedState.cachePool.pool),v=null,h.memoizedState!==null&&h.memoizedState.cachePool!==null&&(v=h.memoizedState.cachePool.pool),v!==g&&(h.flags|=2048)),c!==i&&c&&(o.child.flags|=8192),rd(o,o.updateQueue),Ht(o),null);case 4:return Ke(),i===null&&Hp(o.stateNode.containerInfo),Ht(o),null;case 10:return si(o.type),Ht(o),null;case 19:if(ce(rn),h=o.memoizedState,h===null)return Ht(o),null;if(g=(o.flags&128)!==0,v=h.rendering,v===null)if(g)Pu(h,!1);else{if(Wt!==0||i!==null&&(i.flags&128)!==0)for(i=o.child;i!==null;){if(v=$0(i),v!==null){for(o.flags|=128,Pu(h,!1),i=v.updateQueue,o.updateQueue=i,rd(o,i),o.subtreeFlags=0,i=c,c=o.child;c!==null;)by(c,i),c=c.sibling;return R(rn,rn.current&1|2),bt&&ai(o,h.treeForkCount),o.child}i=i.sibling}h.tail!==null&&Ln()>ld&&(o.flags|=128,g=!0,Pu(h,!1),o.lanes=4194304)}else{if(!g)if(i=$0(v),i!==null){if(o.flags|=128,g=!0,i=i.updateQueue,o.updateQueue=i,rd(o,i),Pu(h,!0),h.tail===null&&h.tailMode==="hidden"&&!v.alternate&&!bt)return Ht(o),null}else 2*Ln()-h.renderingStartTime>ld&&c!==536870912&&(o.flags|=128,g=!0,Pu(h,!1),o.lanes=4194304);h.isBackwards?(v.sibling=o.child,o.child=v):(i=h.last,i!==null?i.sibling=v:o.child=v,h.last=v)}return h.tail!==null?(i=h.tail,h.rendering=i,h.tail=i.sibling,h.renderingStartTime=Ln(),i.sibling=null,c=rn.current,R(rn,g?c&1|2:c&1),bt&&ai(o,h.treeForkCount),i):(Ht(o),null);case 22:case 23:return kr(o),Fm(),h=o.memoizedState!==null,i!==null?i.memoizedState!==null!==h&&(o.flags|=8192):h&&(o.flags|=8192),h?(c&536870912)!==0&&(o.flags&128)===0&&(Ht(o),o.subtreeFlags&6&&(o.flags|=8192)):Ht(o),c=o.updateQueue,c!==null&&rd(o,c.retryQueue),c=null,i!==null&&i.memoizedState!==null&&i.memoizedState.cachePool!==null&&(c=i.memoizedState.cachePool.pool),h=null,o.memoizedState!==null&&o.memoizedState.cachePool!==null&&(h=o.memoizedState.cachePool.pool),h!==c&&(o.flags|=2048),i!==null&&ce(Gs),null;case 24:return c=null,i!==null&&(c=i.memoizedState.cache),o.memoizedState.cache!==c&&(o.flags|=2048),si(cn),Ht(o),null;case 25:return null;case 30:return null}throw Error(r(156,o.tag))}function Uk(i,o){switch(Am(o),o.tag){case 1:return i=o.flags,i&65536?(o.flags=i&-65537|128,o):null;case 3:return si(cn),Ke(),i=o.flags,(i&65536)!==0&&(i&128)===0?(o.flags=i&-65537|128,o):null;case 26:case 27:case 5:return Qt(o),null;case 31:if(o.memoizedState!==null){if(kr(o),o.alternate===null)throw Error(r(340));qs()}return i=o.flags,i&65536?(o.flags=i&-65537|128,o):null;case 13:if(kr(o),i=o.memoizedState,i!==null&&i.dehydrated!==null){if(o.alternate===null)throw Error(r(340));qs()}return i=o.flags,i&65536?(o.flags=i&-65537|128,o):null;case 19:return ce(rn),null;case 4:return Ke(),null;case 10:return si(o.type),null;case 22:case 23:return kr(o),Fm(),i!==null&&ce(Gs),i=o.flags,i&65536?(o.flags=i&-65537|128,o):null;case 24:return si(cn),null;case 25:return null;default:return null}}function $3(i,o){switch(Am(o),o.tag){case 3:si(cn),Ke();break;case 26:case 27:case 5:Qt(o);break;case 4:Ke();break;case 31:o.memoizedState!==null&&kr(o);break;case 13:kr(o);break;case 19:ce(rn);break;case 10:si(o.type);break;case 22:case 23:kr(o),Fm(),i!==null&&ce(Gs);break;case 24:si(cn)}}function Bu(i,o){try{var c=o.updateQueue,h=c!==null?c.lastEffect:null;if(h!==null){var g=h.next;c=g;do{if((c.tag&i)===i){h=void 0;var v=c.create,w=c.inst;h=v(),w.destroy=h}c=c.next}while(c!==g)}}catch(D){Ct(o,o.return,D)}}function Ki(i,o,c){try{var h=o.updateQueue,g=h!==null?h.lastEffect:null;if(g!==null){var v=g.next;h=v;do{if((h.tag&i)===i){var w=h.inst,D=w.destroy;if(D!==void 0){w.destroy=void 0,g=o;var X=c,de=D;try{de()}catch(ye){Ct(g,X,ye)}}}h=h.next}while(h!==v)}}catch(ye){Ct(o,o.return,ye)}}function V3(i){var o=i.updateQueue;if(o!==null){var c=i.stateNode;try{My(o,c)}catch(h){Ct(i,i.return,h)}}}function G3(i,o,c){c.props=Ks(i.type,i.memoizedProps),c.state=i.memoizedState;try{c.componentWillUnmount()}catch(h){Ct(i,o,h)}}function zu(i,o){try{var c=i.ref;if(c!==null){switch(i.tag){case 26:case 27:case 5:var h=i.stateNode;break;case 30:h=i.stateNode;break;default:h=i.stateNode}typeof c=="function"?i.refCleanup=c(h):c.current=h}}catch(g){Ct(i,o,g)}}function Oa(i,o){var c=i.ref,h=i.refCleanup;if(c!==null)if(typeof h=="function")try{h()}catch(g){Ct(i,o,g)}finally{i.refCleanup=null,i=i.alternate,i!=null&&(i.refCleanup=null)}else if(typeof c=="function")try{c(null)}catch(g){Ct(i,o,g)}else c.current=null}function Y3(i){var o=i.type,c=i.memoizedProps,h=i.stateNode;try{e:switch(o){case"button":case"input":case"select":case"textarea":c.autoFocus&&h.focus();break e;case"img":c.src?h.src=c.src:c.srcSet&&(h.srcset=c.srcSet)}}catch(g){Ct(i,i.return,g)}}function vp(i,o,c){try{var h=i.stateNode;oC(h,i.type,c,o),h[ur]=o}catch(g){Ct(i,i.return,g)}}function Q3(i){return i.tag===5||i.tag===3||i.tag===26||i.tag===27&&as(i.type)||i.tag===4}function xp(i){e:for(;;){for(;i.sibling===null;){if(i.return===null||Q3(i.return))return null;i=i.return}for(i.sibling.return=i.return,i=i.sibling;i.tag!==5&&i.tag!==6&&i.tag!==18;){if(i.tag===27&&as(i.type)||i.flags&2||i.child===null||i.tag===4)continue e;i.child.return=i,i=i.child}if(!(i.flags&2))return i.stateNode}}function Ep(i,o,c){var h=i.tag;if(h===5||h===6)i=i.stateNode,o?(c.nodeType===9?c.body:c.nodeName==="HTML"?c.ownerDocument.body:c).insertBefore(i,o):(o=c.nodeType===9?c.body:c.nodeName==="HTML"?c.ownerDocument.body:c,o.appendChild(i),c=c._reactRootContainer,c!=null||o.onclick!==null||(o.onclick=ti));else if(h!==4&&(h===27&&as(i.type)&&(c=i.stateNode,o=null),i=i.child,i!==null))for(Ep(i,o,c),i=i.sibling;i!==null;)Ep(i,o,c),i=i.sibling}function ad(i,o,c){var h=i.tag;if(h===5||h===6)i=i.stateNode,o?c.insertBefore(i,o):c.appendChild(i);else if(h!==4&&(h===27&&as(i.type)&&(c=i.stateNode),i=i.child,i!==null))for(ad(i,o,c),i=i.sibling;i!==null;)ad(i,o,c),i=i.sibling}function X3(i){var o=i.stateNode,c=i.memoizedProps;try{for(var h=i.type,g=o.attributes;g.length;)o.removeAttributeNode(g[0]);Hn(o,h,c),o[Pn]=i,o[ur]=c}catch(v){Ct(i,i.return,v)}}var di=!1,hn=!1,_p=!1,W3=typeof WeakSet=="function"?WeakSet:Set,An=null;function Hk(i,o){if(i=i.containerInfo,qp=wd,i=ly(i),pm(i)){if("selectionStart"in i)var c={start:i.selectionStart,end:i.selectionEnd};else e:{c=(c=i.ownerDocument)&&c.defaultView||window;var h=c.getSelection&&c.getSelection();if(h&&h.rangeCount!==0){c=h.anchorNode;var g=h.anchorOffset,v=h.focusNode;h=h.focusOffset;try{c.nodeType,v.nodeType}catch{c=null;break e}var w=0,D=-1,X=-1,de=0,ye=0,Ee=i,fe=null;t:for(;;){for(var pe;Ee!==c||g!==0&&Ee.nodeType!==3||(D=w+g),Ee!==v||h!==0&&Ee.nodeType!==3||(X=w+h),Ee.nodeType===3&&(w+=Ee.nodeValue.length),(pe=Ee.firstChild)!==null;)fe=Ee,Ee=pe;for(;;){if(Ee===i)break t;if(fe===c&&++de===g&&(D=w),fe===v&&++ye===h&&(X=w),(pe=Ee.nextSibling)!==null)break;Ee=fe,fe=Ee.parentNode}Ee=pe}c=D===-1||X===-1?null:{start:D,end:X}}else c=null}c=c||{start:0,end:0}}else c=null;for($p={focusedElem:i,selectionRange:c},wd=!1,An=o;An!==null;)if(o=An,i=o.child,(o.subtreeFlags&1028)!==0&&i!==null)i.return=o,An=i;else for(;An!==null;){switch(o=An,v=o.alternate,i=o.flags,o.tag){case 0:if((i&4)!==0&&(i=o.updateQueue,i=i!==null?i.events:null,i!==null))for(c=0;c<i.length;c++)g=i[c],g.ref.impl=g.nextImpl;break;case 11:case 15:break;case 1:if((i&1024)!==0&&v!==null){i=void 0,c=o,g=v.memoizedProps,v=v.memoizedState,h=c.stateNode;try{var Ue=Ks(c.type,g);i=h.getSnapshotBeforeUpdate(Ue,v),h.__reactInternalSnapshotBeforeUpdate=i}catch(Xe){Ct(c,c.return,Xe)}}break;case 3:if((i&1024)!==0){if(i=o.stateNode.containerInfo,c=i.nodeType,c===9)Yp(i);else if(c===1)switch(i.nodeName){case"HEAD":case"HTML":case"BODY":Yp(i);break;default:i.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((i&1024)!==0)throw Error(r(163))}if(i=o.sibling,i!==null){i.return=o.return,An=i;break}An=o.return}}function K3(i,o,c){var h=c.flags;switch(c.tag){case 0:case 11:case 15:hi(i,c),h&4&&Bu(5,c);break;case 1:if(hi(i,c),h&4)if(i=c.stateNode,o===null)try{i.componentDidMount()}catch(w){Ct(c,c.return,w)}else{var g=Ks(c.type,o.memoizedProps);o=o.memoizedState;try{i.componentDidUpdate(g,o,i.__reactInternalSnapshotBeforeUpdate)}catch(w){Ct(c,c.return,w)}}h&64&&V3(c),h&512&&zu(c,c.return);break;case 3:if(hi(i,c),h&64&&(i=c.updateQueue,i!==null)){if(o=null,c.child!==null)switch(c.child.tag){case 27:case 5:o=c.child.stateNode;break;case 1:o=c.child.stateNode}try{My(i,o)}catch(w){Ct(c,c.return,w)}}break;case 27:o===null&&h&4&&X3(c);case 26:case 5:hi(i,c),o===null&&h&4&&Y3(c),h&512&&zu(c,c.return);break;case 12:hi(i,c);break;case 31:hi(i,c),h&4&&e6(i,c);break;case 13:hi(i,c),h&4&&t6(i,c),h&64&&(i=c.memoizedState,i!==null&&(i=i.dehydrated,i!==null&&(c=Xk.bind(null,c),pC(i,c))));break;case 22:if(h=c.memoizedState!==null||di,!h){o=o!==null&&o.memoizedState!==null||hn,g=di;var v=hn;di=h,(hn=o)&&!v?mi(i,c,(c.subtreeFlags&8772)!==0):hi(i,c),di=g,hn=v}break;case 30:break;default:hi(i,c)}}function Z3(i){var o=i.alternate;o!==null&&(i.alternate=null,Z3(o)),i.child=null,i.deletions=null,i.sibling=null,i.tag===5&&(o=i.stateNode,o!==null&&Zh(o)),i.stateNode=null,i.return=null,i.dependencies=null,i.memoizedProps=null,i.memoizedState=null,i.pendingProps=null,i.stateNode=null,i.updateQueue=null}var jt=null,dr=!1;function fi(i,o,c){for(c=c.child;c!==null;)J3(i,o,c),c=c.sibling}function J3(i,o,c){if(nn&&typeof nn.onCommitFiberUnmount=="function")try{nn.onCommitFiberUnmount(In,c)}catch{}switch(c.tag){case 26:hn||Oa(c,o),fi(i,o,c),c.memoizedState?c.memoizedState.count--:c.stateNode&&(c=c.stateNode,c.parentNode.removeChild(c));break;case 27:hn||Oa(c,o);var h=jt,g=dr;as(c.type)&&(jt=c.stateNode,dr=!1),fi(i,o,c),Yu(c.stateNode),jt=h,dr=g;break;case 5:hn||Oa(c,o);case 6:if(h=jt,g=dr,jt=null,fi(i,o,c),jt=h,dr=g,jt!==null)if(dr)try{(jt.nodeType===9?jt.body:jt.nodeName==="HTML"?jt.ownerDocument.body:jt).removeChild(c.stateNode)}catch(v){Ct(c,o,v)}else try{jt.removeChild(c.stateNode)}catch(v){Ct(c,o,v)}break;case 18:jt!==null&&(dr?(i=jt,V6(i.nodeType===9?i.body:i.nodeName==="HTML"?i.ownerDocument.body:i,c.stateNode),vl(i)):V6(jt,c.stateNode));break;case 4:h=jt,g=dr,jt=c.stateNode.containerInfo,dr=!0,fi(i,o,c),jt=h,dr=g;break;case 0:case 11:case 14:case 15:Ki(2,c,o),hn||Ki(4,c,o),fi(i,o,c);break;case 1:hn||(Oa(c,o),h=c.stateNode,typeof h.componentWillUnmount=="function"&&G3(c,o,h)),fi(i,o,c);break;case 21:fi(i,o,c);break;case 22:hn=(h=hn)||c.memoizedState!==null,fi(i,o,c),hn=h;break;default:fi(i,o,c)}}function e6(i,o){if(o.memoizedState===null&&(i=o.alternate,i!==null&&(i=i.memoizedState,i!==null))){i=i.dehydrated;try{vl(i)}catch(c){Ct(o,o.return,c)}}}function t6(i,o){if(o.memoizedState===null&&(i=o.alternate,i!==null&&(i=i.memoizedState,i!==null&&(i=i.dehydrated,i!==null))))try{vl(i)}catch(c){Ct(o,o.return,c)}}function Fk(i){switch(i.tag){case 31:case 13:case 19:var o=i.stateNode;return o===null&&(o=i.stateNode=new W3),o;case 22:return i=i.stateNode,o=i._retryCache,o===null&&(o=i._retryCache=new W3),o;default:throw Error(r(435,i.tag))}}function id(i,o){var c=Fk(i);o.forEach(function(h){if(!c.has(h)){c.add(h);var g=Wk.bind(null,i,h);h.then(g,g)}})}function fr(i,o){var c=o.deletions;if(c!==null)for(var h=0;h<c.length;h++){var g=c[h],v=i,w=o,D=w;e:for(;D!==null;){switch(D.tag){case 27:if(as(D.type)){jt=D.stateNode,dr=!1;break e}break;case 5:jt=D.stateNode,dr=!1;break e;case 3:case 4:jt=D.stateNode.containerInfo,dr=!0;break e}D=D.return}if(jt===null)throw Error(r(160));J3(v,w,g),jt=null,dr=!1,v=g.alternate,v!==null&&(v.return=null),g.return=null}if(o.subtreeFlags&13886)for(o=o.child;o!==null;)n6(o,i),o=o.sibling}var fa=null;function n6(i,o){var c=i.alternate,h=i.flags;switch(i.tag){case 0:case 11:case 14:case 15:fr(o,i),hr(i),h&4&&(Ki(3,i,i.return),Bu(3,i),Ki(5,i,i.return));break;case 1:fr(o,i),hr(i),h&512&&(hn||c===null||Oa(c,c.return)),h&64&&di&&(i=i.updateQueue,i!==null&&(h=i.callbacks,h!==null&&(c=i.shared.hiddenCallbacks,i.shared.hiddenCallbacks=c===null?h:c.concat(h))));break;case 26:var g=fa;if(fr(o,i),hr(i),h&512&&(hn||c===null||Oa(c,c.return)),h&4){var v=c!==null?c.memoizedState:null;if(h=i.memoizedState,c===null)if(h===null)if(i.stateNode===null){e:{h=i.type,c=i.memoizedProps,g=g.ownerDocument||g;t:switch(h){case"title":v=g.getElementsByTagName("title")[0],(!v||v[du]||v[Pn]||v.namespaceURI==="http://www.w3.org/2000/svg"||v.hasAttribute("itemprop"))&&(v=g.createElement(h),g.head.insertBefore(v,g.querySelector("head > title"))),Hn(v,h,c),v[Pn]=i,wn(v),h=v;break e;case"link":var w=nv("link","href",g).get(h+(c.href||""));if(w){for(var D=0;D<w.length;D++)if(v=w[D],v.getAttribute("href")===(c.href==null||c.href===""?null:c.href)&&v.getAttribute("rel")===(c.rel==null?null:c.rel)&&v.getAttribute("title")===(c.title==null?null:c.title)&&v.getAttribute("crossorigin")===(c.crossOrigin==null?null:c.crossOrigin)){w.splice(D,1);break t}}v=g.createElement(h),Hn(v,h,c),g.head.appendChild(v);break;case"meta":if(w=nv("meta","content",g).get(h+(c.content||""))){for(D=0;D<w.length;D++)if(v=w[D],v.getAttribute("content")===(c.content==null?null:""+c.content)&&v.getAttribute("name")===(c.name==null?null:c.name)&&v.getAttribute("property")===(c.property==null?null:c.property)&&v.getAttribute("http-equiv")===(c.httpEquiv==null?null:c.httpEquiv)&&v.getAttribute("charset")===(c.charSet==null?null:c.charSet)){w.splice(D,1);break t}}v=g.createElement(h),Hn(v,h,c),g.head.appendChild(v);break;default:throw Error(r(468,h))}v[Pn]=i,wn(v),h=v}i.stateNode=h}else rv(g,i.type,i.stateNode);else i.stateNode=tv(g,h,i.memoizedProps);else v!==h?(v===null?c.stateNode!==null&&(c=c.stateNode,c.parentNode.removeChild(c)):v.count--,h===null?rv(g,i.type,i.stateNode):tv(g,h,i.memoizedProps)):h===null&&i.stateNode!==null&&vp(i,i.memoizedProps,c.memoizedProps)}break;case 27:fr(o,i),hr(i),h&512&&(hn||c===null||Oa(c,c.return)),c!==null&&h&4&&vp(i,i.memoizedProps,c.memoizedProps);break;case 5:if(fr(o,i),hr(i),h&512&&(hn||c===null||Oa(c,c.return)),i.flags&32){g=i.stateNode;try{jo(g,"")}catch(Ue){Ct(i,i.return,Ue)}}h&4&&i.stateNode!=null&&(g=i.memoizedProps,vp(i,g,c!==null?c.memoizedProps:g)),h&1024&&(_p=!0);break;case 6:if(fr(o,i),hr(i),h&4){if(i.stateNode===null)throw Error(r(162));h=i.memoizedProps,c=i.stateNode;try{c.nodeValue=h}catch(Ue){Ct(i,i.return,Ue)}}break;case 3:if(Ed=null,g=fa,fa=vd(o.containerInfo),fr(o,i),fa=g,hr(i),h&4&&c!==null&&c.memoizedState.isDehydrated)try{vl(o.containerInfo)}catch(Ue){Ct(i,i.return,Ue)}_p&&(_p=!1,r6(i));break;case 4:h=fa,fa=vd(i.stateNode.containerInfo),fr(o,i),hr(i),fa=h;break;case 12:fr(o,i),hr(i);break;case 31:fr(o,i),hr(i),h&4&&(h=i.updateQueue,h!==null&&(i.updateQueue=null,id(i,h)));break;case 13:fr(o,i),hr(i),i.child.flags&8192&&i.memoizedState!==null!=(c!==null&&c.memoizedState!==null)&&(od=Ln()),h&4&&(h=i.updateQueue,h!==null&&(i.updateQueue=null,id(i,h)));break;case 22:g=i.memoizedState!==null;var X=c!==null&&c.memoizedState!==null,de=di,ye=hn;if(di=de||g,hn=ye||X,fr(o,i),hn=ye,di=de,hr(i),h&8192)e:for(o=i.stateNode,o._visibility=g?o._visibility&-2:o._visibility|1,g&&(c===null||X||di||hn||Zs(i)),c=null,o=i;;){if(o.tag===5||o.tag===26){if(c===null){X=c=o;try{if(v=X.stateNode,g)w=v.style,typeof w.setProperty=="function"?w.setProperty("display","none","important"):w.display="none";else{D=X.stateNode;var Ee=X.memoizedProps.style,fe=Ee!=null&&Ee.hasOwnProperty("display")?Ee.display:null;D.style.display=fe==null||typeof fe=="boolean"?"":(""+fe).trim()}}catch(Ue){Ct(X,X.return,Ue)}}}else if(o.tag===6){if(c===null){X=o;try{X.stateNode.nodeValue=g?"":X.memoizedProps}catch(Ue){Ct(X,X.return,Ue)}}}else if(o.tag===18){if(c===null){X=o;try{var pe=X.stateNode;g?G6(pe,!0):G6(X.stateNode,!1)}catch(Ue){Ct(X,X.return,Ue)}}}else if((o.tag!==22&&o.tag!==23||o.memoizedState===null||o===i)&&o.child!==null){o.child.return=o,o=o.child;continue}if(o===i)break e;for(;o.sibling===null;){if(o.return===null||o.return===i)break e;c===o&&(c=null),o=o.return}c===o&&(c=null),o.sibling.return=o.return,o=o.sibling}h&4&&(h=i.updateQueue,h!==null&&(c=h.retryQueue,c!==null&&(h.retryQueue=null,id(i,c))));break;case 19:fr(o,i),hr(i),h&4&&(h=i.updateQueue,h!==null&&(i.updateQueue=null,id(i,h)));break;case 30:break;case 21:break;default:fr(o,i),hr(i)}}function hr(i){var o=i.flags;if(o&2){try{for(var c,h=i.return;h!==null;){if(Q3(h)){c=h;break}h=h.return}if(c==null)throw Error(r(160));switch(c.tag){case 27:var g=c.stateNode,v=xp(i);ad(i,v,g);break;case 5:var w=c.stateNode;c.flags&32&&(jo(w,""),c.flags&=-33);var D=xp(i);ad(i,D,w);break;case 3:case 4:var X=c.stateNode.containerInfo,de=xp(i);Ep(i,de,X);break;default:throw Error(r(161))}}catch(ye){Ct(i,i.return,ye)}i.flags&=-3}o&4096&&(i.flags&=-4097)}function r6(i){if(i.subtreeFlags&1024)for(i=i.child;i!==null;){var o=i;r6(o),o.tag===5&&o.flags&1024&&o.stateNode.reset(),i=i.sibling}}function hi(i,o){if(o.subtreeFlags&8772)for(o=o.child;o!==null;)K3(i,o.alternate,o),o=o.sibling}function Zs(i){for(i=i.child;i!==null;){var o=i;switch(o.tag){case 0:case 11:case 14:case 15:Ki(4,o,o.return),Zs(o);break;case 1:Oa(o,o.return);var c=o.stateNode;typeof c.componentWillUnmount=="function"&&G3(o,o.return,c),Zs(o);break;case 27:Yu(o.stateNode);case 26:case 5:Oa(o,o.return),Zs(o);break;case 22:o.memoizedState===null&&Zs(o);break;case 30:Zs(o);break;default:Zs(o)}i=i.sibling}}function mi(i,o,c){for(c=c&&(o.subtreeFlags&8772)!==0,o=o.child;o!==null;){var h=o.alternate,g=i,v=o,w=v.flags;switch(v.tag){case 0:case 11:case 15:mi(g,v,c),Bu(4,v);break;case 1:if(mi(g,v,c),h=v,g=h.stateNode,typeof g.componentDidMount=="function")try{g.componentDidMount()}catch(de){Ct(h,h.return,de)}if(h=v,g=h.updateQueue,g!==null){var D=h.stateNode;try{var X=g.shared.hiddenCallbacks;if(X!==null)for(g.shared.hiddenCallbacks=null,g=0;g<X.length;g++)Iy(X[g],D)}catch(de){Ct(h,h.return,de)}}c&&w&64&&V3(v),zu(v,v.return);break;case 27:X3(v);case 26:case 5:mi(g,v,c),c&&h===null&&w&4&&Y3(v),zu(v,v.return);break;case 12:mi(g,v,c);break;case 31:mi(g,v,c),c&&w&4&&e6(g,v);break;case 13:mi(g,v,c),c&&w&4&&t6(g,v);break;case 22:v.memoizedState===null&&mi(g,v,c),zu(v,v.return);break;case 30:break;default:mi(g,v,c)}o=o.sibling}}function Tp(i,o){var c=null;i!==null&&i.memoizedState!==null&&i.memoizedState.cachePool!==null&&(c=i.memoizedState.cachePool.pool),i=null,o.memoizedState!==null&&o.memoizedState.cachePool!==null&&(i=o.memoizedState.cachePool.pool),i!==c&&(i!=null&&i.refCount++,c!=null&&Su(c))}function Sp(i,o){i=null,o.alternate!==null&&(i=o.alternate.memoizedState.cache),o=o.memoizedState.cache,o!==i&&(o.refCount++,i!=null&&Su(i))}function ha(i,o,c,h){if(o.subtreeFlags&10256)for(o=o.child;o!==null;)a6(i,o,c,h),o=o.sibling}function a6(i,o,c,h){var g=o.flags;switch(o.tag){case 0:case 11:case 15:ha(i,o,c,h),g&2048&&Bu(9,o);break;case 1:ha(i,o,c,h);break;case 3:ha(i,o,c,h),g&2048&&(i=null,o.alternate!==null&&(i=o.alternate.memoizedState.cache),o=o.memoizedState.cache,o!==i&&(o.refCount++,i!=null&&Su(i)));break;case 12:if(g&2048){ha(i,o,c,h),i=o.stateNode;try{var v=o.memoizedProps,w=v.id,D=v.onPostCommit;typeof D=="function"&&D(w,o.alternate===null?"mount":"update",i.passiveEffectDuration,-0)}catch(X){Ct(o,o.return,X)}}else ha(i,o,c,h);break;case 31:ha(i,o,c,h);break;case 13:ha(i,o,c,h);break;case 23:break;case 22:v=o.stateNode,w=o.alternate,o.memoizedState!==null?v._visibility&2?ha(i,o,c,h):Uu(i,o):v._visibility&2?ha(i,o,c,h):(v._visibility|=2,ll(i,o,c,h,(o.subtreeFlags&10256)!==0||!1)),g&2048&&Tp(w,o);break;case 24:ha(i,o,c,h),g&2048&&Sp(o.alternate,o);break;default:ha(i,o,c,h)}}function ll(i,o,c,h,g){for(g=g&&((o.subtreeFlags&10256)!==0||!1),o=o.child;o!==null;){var v=i,w=o,D=c,X=h,de=w.flags;switch(w.tag){case 0:case 11:case 15:ll(v,w,D,X,g),Bu(8,w);break;case 23:break;case 22:var ye=w.stateNode;w.memoizedState!==null?ye._visibility&2?ll(v,w,D,X,g):Uu(v,w):(ye._visibility|=2,ll(v,w,D,X,g)),g&&de&2048&&Tp(w.alternate,w);break;case 24:ll(v,w,D,X,g),g&&de&2048&&Sp(w.alternate,w);break;default:ll(v,w,D,X,g)}o=o.sibling}}function Uu(i,o){if(o.subtreeFlags&10256)for(o=o.child;o!==null;){var c=i,h=o,g=h.flags;switch(h.tag){case 22:Uu(c,h),g&2048&&Tp(h.alternate,h);break;case 24:Uu(c,h),g&2048&&Sp(h.alternate,h);break;default:Uu(c,h)}o=o.sibling}}var Hu=8192;function ul(i,o,c){if(i.subtreeFlags&Hu)for(i=i.child;i!==null;)i6(i,o,c),i=i.sibling}function i6(i,o,c){switch(i.tag){case 26:ul(i,o,c),i.flags&Hu&&i.memoizedState!==null&&kC(c,fa,i.memoizedState,i.memoizedProps);break;case 5:ul(i,o,c);break;case 3:case 4:var h=fa;fa=vd(i.stateNode.containerInfo),ul(i,o,c),fa=h;break;case 22:i.memoizedState===null&&(h=i.alternate,h!==null&&h.memoizedState!==null?(h=Hu,Hu=16777216,ul(i,o,c),Hu=h):ul(i,o,c));break;default:ul(i,o,c)}}function s6(i){var o=i.alternate;if(o!==null&&(i=o.child,i!==null)){o.child=null;do o=i.sibling,i.sibling=null,i=o;while(i!==null)}}function Fu(i){var o=i.deletions;if((i.flags&16)!==0){if(o!==null)for(var c=0;c<o.length;c++){var h=o[c];An=h,l6(h,i)}s6(i)}if(i.subtreeFlags&10256)for(i=i.child;i!==null;)o6(i),i=i.sibling}function o6(i){switch(i.tag){case 0:case 11:case 15:Fu(i),i.flags&2048&&Ki(9,i,i.return);break;case 3:Fu(i);break;case 12:Fu(i);break;case 22:var o=i.stateNode;i.memoizedState!==null&&o._visibility&2&&(i.return===null||i.return.tag!==13)?(o._visibility&=-3,sd(i)):Fu(i);break;default:Fu(i)}}function sd(i){var o=i.deletions;if((i.flags&16)!==0){if(o!==null)for(var c=0;c<o.length;c++){var h=o[c];An=h,l6(h,i)}s6(i)}for(i=i.child;i!==null;){switch(o=i,o.tag){case 0:case 11:case 15:Ki(8,o,o.return),sd(o);break;case 22:c=o.stateNode,c._visibility&2&&(c._visibility&=-3,sd(o));break;default:sd(o)}i=i.sibling}}function l6(i,o){for(;An!==null;){var c=An;switch(c.tag){case 0:case 11:case 15:Ki(8,c,o);break;case 23:case 22:if(c.memoizedState!==null&&c.memoizedState.cachePool!==null){var h=c.memoizedState.cachePool.pool;h!=null&&h.refCount++}break;case 24:Su(c.memoizedState.cache)}if(h=c.child,h!==null)h.return=c,An=h;else e:for(c=i;An!==null;){h=An;var g=h.sibling,v=h.return;if(Z3(h),h===c){An=null;break e}if(g!==null){g.return=v,An=g;break e}An=v}}}var jk={getCacheForType:function(i){var o=zn(cn),c=o.data.get(i);return c===void 0&&(c=i(),o.data.set(i,c)),c},cacheSignal:function(){return zn(cn).controller.signal}},qk=typeof WeakMap=="function"?WeakMap:Map,St=0,Lt=null,dt=null,mt=0,kt=0,Cr=null,Zi=!1,cl=!1,wp=!1,pi=0,Wt=0,Ji=0,Js=0,Ap=0,Nr=0,dl=0,ju=null,mr=null,kp=!1,od=0,u6=0,ld=1/0,ud=null,es=null,yn=0,ts=null,fl=null,gi=0,Cp=0,Np=null,c6=null,qu=0,Op=null;function Or(){return(St&2)!==0&&mt!==0?mt&-mt:$.T!==null?Pp():Wh()}function d6(){if(Nr===0)if((mt&536870912)===0||bt){var i=Io;Io<<=1,(Io&3932160)===0&&(Io=262144),Nr=i}else Nr=536870912;return i=Ar.current,i!==null&&(i.flags|=32),Nr}function pr(i,o,c){(i===Lt&&(kt===2||kt===9)||i.cancelPendingCommit!==null)&&(hl(i,0),ns(i,mt,Nr,!1)),Vt(i,c),((St&2)===0||i!==Lt)&&(i===Lt&&((St&2)===0&&(Js|=c),Wt===4&&ns(i,mt,Nr,!1)),Ra(i))}function f6(i,o,c){if((St&6)!==0)throw Error(r(327));var h=!c&&(o&127)===0&&(o&i.expiredLanes)===0||Ft(i,o),g=h?Gk(i,o):Dp(i,o,!0),v=h;do{if(g===0){cl&&!h&&ns(i,o,0,!1);break}else{if(c=i.current.alternate,v&&!$k(c)){g=Dp(i,o,!1),v=!1;continue}if(g===2){if(v=o,i.errorRecoveryDisabledLanes&v)var w=0;else w=i.pendingLanes&-536870913,w=w!==0?w:w&536870912?536870912:0;if(w!==0){o=w;e:{var D=i;g=ju;var X=D.current.memoizedState.isDehydrated;if(X&&(hl(D,w).flags|=256),w=Dp(D,w,!1),w!==2){if(wp&&!X){D.errorRecoveryDisabledLanes|=v,Js|=v,g=4;break e}
vendor: 15,917 bytes, line 49
49v=mr,mr=g,v!==null&&(mr===null?mr=v:mr.push.apply(mr,v))}g=w}if(v=!1,g!==2)continue}}if(g===1){hl(i,0),ns(i,o,0,!0);break}e:{switch(h=i,v=g,v){case 0:case 1:throw Error(r(345));case 4:if((o&4194048)!==o)break;case 6:ns(h,o,Nr,!Zi);break e;case 2:mr=null;break;case 3:case 5:break;default:throw Error(r(329))}if((o&62914560)===o&&(g=od+300-Ln(),10<g)){if(ns(h,o,Nr,!Zi),Ze(h,0,!0)!==0)break e;gi=o,h.timeoutHandle=q6(h6.bind(null,h,c,mr,ud,kp,o,Nr,Js,dl,Zi,v,"Throttled",-0,0),g);break e}h6(h,c,mr,ud,kp,o,Nr,Js,dl,Zi,v,null,-0,0)}}break}while(!0);Ra(i)}function h6(i,o,c,h,g,v,w,D,X,de,ye,Ee,fe,pe){if(i.timeoutHandle=-1,Ee=o.subtreeFlags,Ee&8192||(Ee&16785408)===16785408){Ee={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:ti},i6(o,v,Ee);var Ue=(v&62914560)===v?od-Ln():(v&4194048)===v?u6-Ln():0;if(Ue=CC(Ee,Ue),Ue!==null){gi=v,i.cancelPendingCommit=Ue(E6.bind(null,i,o,v,c,h,g,w,D,X,ye,Ee,null,fe,pe)),ns(i,v,w,!de);return}}E6(i,o,v,c,h,g,w,D,X)}function $k(i){for(var o=i;;){var c=o.tag;if((c===0||c===11||c===15)&&o.flags&16384&&(c=o.updateQueue,c!==null&&(c=c.stores,c!==null)))for(var h=0;h<c.length;h++){var g=c[h],v=g.getSnapshot;g=g.value;try{if(!Sr(v(),g))return!1}catch{return!1}}if(c=o.child,o.subtreeFlags&16384&&c!==null)c.return=o,o=c;else{if(o===i)break;for(;o.sibling===null;){if(o.return===null||o.return===i)return!0;o=o.return}o.sibling.return=o.return,o=o.sibling}}return!0}function ns(i,o,c,h){o&=~Ap,o&=~Js,i.suspendedLanes|=o,i.pingedLanes&=~o,h&&(i.warmLanes|=o),h=i.expirationTimes;for(var g=o;0<g;){var v=31-wt(g),w=1<<v;h[v]=-1,g&=~w}c!==0&&Ps(i,c,o)}function cd(){return(St&6)===0?($u(0),!1):!0}function Rp(){if(dt!==null){if(kt===0)var i=dt.return;else i=dt,ii=$s=null,Ym(i),rl=null,Au=0,i=dt;for(;i!==null;)$3(i.alternate,i),i=i.return;dt=null}}function hl(i,o){var c=i.timeoutHandle;c!==-1&&(i.timeoutHandle=-1,cC(c)),c=i.cancelPendingCommit,c!==null&&(i.cancelPendingCommit=null,c()),gi=0,Rp(),Lt=i,dt=c=ri(i.current,null),mt=o,kt=0,Cr=null,Zi=!1,cl=Ft(i,o),wp=!1,dl=Nr=Ap=Js=Ji=Wt=0,mr=ju=null,kp=!1,(o&8)!==0&&(o|=o&32);var h=i.entangledLanes;if(h!==0)for(i=i.entanglements,h&=o;0<h;){var g=31-wt(h),v=1<<g;o|=i[g],h&=~v}return pi=o,R0(),c}function m6(i,o){tt=null,$.H=Iu,o===nl||o===U0?(o=Oy(),kt=3):o===Mm?(o=Oy(),kt=4):kt=o===up?8:o!==null&&typeof o=="object"&&typeof o.then=="function"?6:1,Cr=o,dt===null&&(Wt=1,J0(i,Vr(o,i.current)))}function p6(){var i=Ar.current;return i===null?!0:(mt&4194048)===mt?Xr===null:(mt&62914560)===mt||(mt&536870912)!==0?i===Xr:!1}function g6(){var i=$.H;return $.H=Iu,i===null?Iu:i}function b6(){var i=$.A;return $.A=jk,i}function dd(){Wt=4,Zi||(mt&4194048)!==mt&&Ar.current!==null||(cl=!0),(Ji&134217727)===0&&(Js&134217727)===0||Lt===null||ns(Lt,mt,Nr,!1)}function Dp(i,o,c){var h=St;St|=2;var g=g6(),v=b6();(Lt!==i||mt!==o)&&(ud=null,hl(i,o)),o=!1;var w=Wt;e:do try{if(kt!==0&&dt!==null){var D=dt,X=Cr;switch(kt){case 8:Rp(),w=6;break e;case 3:case 2:case 9:case 6:Ar.current===null&&(o=!0);var de=kt;if(kt=0,Cr=null,ml(i,D,X,de),c&&cl){w=0;break e}break;default:de=kt,kt=0,Cr=null,ml(i,D,X,de)}}Vk(),w=Wt;break}catch(ye){m6(i,ye)}while(!0);return o&&i.shellSuspendCounter++,ii=$s=null,St=h,$.H=g,$.A=v,dt===null&&(Lt=null,mt=0,R0()),w}function Vk(){for(;dt!==null;)y6(dt)}function Gk(i,o){var c=St;St|=2;var h=g6(),g=b6();Lt!==i||mt!==o?(ud=null,ld=Ln()+500,hl(i,o)):cl=Ft(i,o);e:do try{if(kt!==0&&dt!==null){o=dt;var v=Cr;t:switch(kt){case 1:kt=0,Cr=null,ml(i,o,v,1);break;case 2:case 9:if(Cy(v)){kt=0,Cr=null,v6(o);break}o=function(){kt!==2&&kt!==9||Lt!==i||(kt=7),Ra(i)},v.then(o,o);break e;case 3:kt=7;break e;case 4:kt=5;break e;case 7:Cy(v)?(kt=0,Cr=null,v6(o)):(kt=0,Cr=null,ml(i,o,v,7));break;case 5:var w=null;switch(dt.tag){case 26:w=dt.memoizedState;case 5:case 27:var D=dt;if(w?av(w):D.stateNode.complete){kt=0,Cr=null;var X=D.sibling;if(X!==null)dt=X;else{var de=D.return;de!==null?(dt=de,fd(de)):dt=null}break t}}kt=0,Cr=null,ml(i,o,v,5);break;case 6:kt=0,Cr=null,ml(i,o,v,6);break;case 8:Rp(),Wt=6;break e;default:throw Error(r(462))}}Yk();break}catch(ye){m6(i,ye)}while(!0);return ii=$s=null,$.H=h,$.A=g,St=c,dt!==null?0:(Lt=null,mt=0,R0(),Wt)}function Yk(){for(;dt!==null&&!Dn();)y6(dt)}function y6(i){var o=j3(i.alternate,i,pi);i.memoizedProps=i.pendingProps,o===null?fd(i):dt=o}function v6(i){var o=i,c=o.alternate;switch(o.tag){case 15:case 0:o=P3(c,o,o.pendingProps,o.type,void 0,mt);break;case 11:o=P3(c,o,o.pendingProps,o.type.render,o.ref,mt);break;case 5:Ym(o);default:$3(c,o),o=dt=by(o,pi),o=j3(c,o,pi)}i.memoizedProps=i.pendingProps,o===null?fd(i):dt=o}function ml(i,o,c,h){ii=$s=null,Ym(o),rl=null,Au=0;var g=o.return;try{if(Mk(i,g,o,c,mt)){Wt=1,J0(i,Vr(c,i.current)),dt=null;return}}catch(v){if(g!==null)throw dt=g,v;Wt=1,J0(i,Vr(c,i.current)),dt=null;return}o.flags&32768?(bt||h===1?i=!0:cl||(mt&536870912)!==0?i=!1:(Zi=i=!0,(h===2||h===9||h===3||h===6)&&(h=Ar.current,h!==null&&h.tag===13&&(h.flags|=16384))),x6(o,i)):fd(o)}function fd(i){var o=i;do{if((o.flags&32768)!==0){x6(o,Zi);return}i=o.return;var c=zk(o.alternate,o,pi);if(c!==null){dt=c;return}if(o=o.sibling,o!==null){dt=o;return}dt=o=i}while(o!==null);Wt===0&&(Wt=5)}function x6(i,o){do{var c=Uk(i.alternate,i);if(c!==null){c.flags&=32767,dt=c;return}if(c=i.return,c!==null&&(c.flags|=32768,c.subtreeFlags=0,c.deletions=null),!o&&(i=i.sibling,i!==null)){dt=i;return}dt=i=c}while(i!==null);Wt=6,dt=null}function E6(i,o,c,h,g,v,w,D,X){i.cancelPendingCommit=null;do hd();while(yn!==0);if((St&6)!==0)throw Error(r(327));if(o!==null){if(o===i.current)throw Error(r(177));if(v=o.lanes|o.childLanes,v|=xm,sr(i,c,v,w,D,X),i===Lt&&(dt=Lt=null,mt=0),fl=o,ts=i,gi=c,Cp=v,Np=g,c6=h,(o.subtreeFlags&10256)!==0||(o.flags&10256)!==0?(i.callbackNode=null,i.callbackPriority=0,Kk(Qe,function(){return A6(),null})):(i.callbackNode=null,i.callbackPriority=0),h=(o.flags&13878)!==0,(o.subtreeFlags&13878)!==0||h){h=$.T,$.T=null,g=ae.p,ae.p=2,w=St,St|=4;try{Hk(i,o,c)}finally{St=w,ae.p=g,$.T=h}}yn=1,_6(),T6(),S6()}}function _6(){if(yn===1){yn=0;var i=ts,o=fl,c=(o.flags&13878)!==0;if((o.subtreeFlags&13878)!==0||c){c=$.T,$.T=null;var h=ae.p;ae.p=2;var g=St;St|=4;try{n6(o,i);var v=$p,w=ly(i.containerInfo),D=v.focusedElem,X=v.selectionRange;if(w!==D&&D&&D.ownerDocument&&oy(D.ownerDocument.documentElement,D)){if(X!==null&&pm(D)){var de=X.start,ye=X.end;if(ye===void 0&&(ye=de),"selectionStart"in D)D.selectionStart=de,D.selectionEnd=Math.min(ye,D.value.length);else{var Ee=D.ownerDocument||document,fe=Ee&&Ee.defaultView||window;if(fe.getSelection){var pe=fe.getSelection(),Ue=D.textContent.length,Xe=Math.min(X.start,Ue),Rt=X.end===void 0?Xe:Math.min(X.end,Ue);!pe.extend&&Xe>Rt&&(w=Rt,Rt=Xe,Xe=w);var ne=sy(D,Xe),Z=sy(D,Rt);if(ne&&Z&&(pe.rangeCount!==1||pe.anchorNode!==ne.node||pe.anchorOffset!==ne.offset||pe.focusNode!==Z.node||pe.focusOffset!==Z.offset)){var oe=Ee.createRange();oe.setStart(ne.node,ne.offset),pe.removeAllRanges(),Xe>Rt?(pe.addRange(oe),pe.extend(Z.node,Z.offset)):(oe.setEnd(Z.node,Z.offset),pe.addRange(oe))}}}}for(Ee=[],pe=D;pe=pe.parentNode;)pe.nodeType===1&&Ee.push({element:pe,left:pe.scrollLeft,top:pe.scrollTop});for(typeof D.focus=="function"&&D.focus(),D=0;D<Ee.length;D++){var xe=Ee[D];xe.element.scrollLeft=xe.left,xe.element.scrollTop=xe.top}}wd=!!qp,$p=qp=null}finally{St=g,ae.p=h,$.T=c}}i.current=o,yn=2}}function T6(){if(yn===2){yn=0;var i=ts,o=fl,c=(o.flags&8772)!==0;if((o.subtreeFlags&8772)!==0||c){c=$.T,$.T=null;var h=ae.p;ae.p=2;var g=St;St|=4;try{K3(i,o.alternate,o)}finally{St=g,ae.p=h,$.T=c}}yn=3}}function S6(){if(yn===4||yn===3){yn=0,Sa();var i=ts,o=fl,c=gi,h=c6;(o.subtreeFlags&10256)!==0||(o.flags&10256)!==0?yn=5:(yn=0,fl=ts=null,w6(i,i.pendingLanes));var g=i.pendingLanes;if(g===0&&(es=null),ca(c),o=o.stateNode,nn&&typeof nn.onCommitFiberRoot=="function")try{nn.onCommitFiberRoot(In,o,void 0,(o.current.flags&128)===128)}catch{}if(h!==null){o=$.T,g=ae.p,ae.p=2,$.T=null;try{for(var v=i.onRecoverableError,w=0;w<h.length;w++){var D=h[w];v(D.value,{componentStack:D.stack})}}finally{$.T=o,ae.p=g}}(gi&3)!==0&&hd(),Ra(i),g=i.pendingLanes,(c&261930)!==0&&(g&42)!==0?i===Op?qu++:(qu=0,Op=i):qu=0,$u(0)}}function w6(i,o){(i.pooledCacheLanes&=o)===0&&(o=i.pooledCache,o!=null&&(i.pooledCache=null,Su(o)))}function hd(){return _6(),T6(),S6(),A6()}function A6(){if(yn!==5)return!1;var i=ts,o=Cp;Cp=0;var c=ca(gi),h=$.T,g=ae.p;try{ae.p=32>c?32:c,$.T=null,c=Np,Np=null;var v=ts,w=gi;if(yn=0,fl=ts=null,gi=0,(St&6)!==0)throw Error(r(331));var D=St;if(St|=4,o6(v.current),a6(v,v.current,w,c),St=D,$u(0,!1),nn&&typeof nn.onPostCommitFiberRoot=="function")try{nn.onPostCommitFiberRoot(In,v)}catch{}return!0}finally{ae.p=g,$.T=h,w6(i,o)}}function k6(i,o,c){o=Vr(c,o),o=lp(i.stateNode,o,2),i=Qi(i,o,2),i!==null&&(Vt(i,2),Ra(i))}function Ct(i,o,c){if(i.tag===3)k6(i,i,c);else for(;o!==null;){if(o.tag===3){k6(o,i,c);break}else if(o.tag===1){var h=o.stateNode;if(typeof o.type.getDerivedStateFromError=="function"||typeof h.componentDidCatch=="function"&&(es===null||!es.has(h))){i=Vr(c,i),c=C3(2),h=Qi(o,c,2),h!==null&&(N3(c,h,o,i),Vt(h,2),Ra(h));break}}o=o.return}}function Lp(i,o,c){var h=i.pingCache;if(h===null){h=i.pingCache=new qk;var g=new Set;h.set(o,g)}else g=h.get(o),g===void 0&&(g=new Set,h.set(o,g));g.has(c)||(wp=!0,g.add(c),i=Qk.bind(null,i,o,c),o.then(i,i))}function Qk(i,o,c){var h=i.pingCache;h!==null&&h.delete(o),i.pingedLanes|=i.suspendedLanes&c,i.warmLanes&=~c,Lt===i&&(mt&c)===c&&(Wt===4||Wt===3&&(mt&62914560)===mt&&300>Ln()-od?(St&2)===0&&hl(i,0):Ap|=c,dl===mt&&(dl=0)),Ra(i)}function C6(i,o){o===0&&(o=qn()),i=Fs(i,o),i!==null&&(Vt(i,o),Ra(i))}function Xk(i){var o=i.memoizedState,c=0;o!==null&&(c=o.retryLane),C6(i,c)}function Wk(i,o){var c=0;switch(i.tag){case 31:case 13:var h=i.stateNode,g=i.memoizedState;g!==null&&(c=g.retryLane);break;case 19:h=i.stateNode;break;case 22:h=i.stateNode._retryCache;break;default:throw Error(r(314))}h!==null&&h.delete(o),C6(i,c)}function Kk(i,o){return zi(i,o)}var md=null,pl=null,Ip=!1,pd=!1,Mp=!1,rs=0;function Ra(i){i!==pl&&i.next===null&&(pl===null?md=pl=i:pl=pl.next=i),pd=!0,Ip||(Ip=!0,Jk())}function $u(i,o){if(!Mp&&pd){Mp=!0;do for(var c=!1,h=md;h!==null;){if(i!==0){var g=h.pendingLanes;if(g===0)var v=0;else{var w=h.suspendedLanes,D=h.pingedLanes;v=(1<<31-wt(42|i)+1)-1,v&=g&~(w&~D),v=v&201326741?v&201326741|1:v?v|2:0}v!==0&&(c=!0,D6(h,v))}else v=mt,v=Ze(h,h===Lt?v:0,h.cancelPendingCommit!==null||h.timeoutHandle!==-1),(v&3)===0||Ft(h,v)||(c=!0,D6(h,v));h=h.next}while(c);Mp=!1}}function Zk(){N6()}function N6(){pd=Ip=!1;var i=0;rs!==0&&uC()&&(i=rs);for(var o=Ln(),c=null,h=md;h!==null;){var g=h.next,v=O6(h,o);v===0?(h.next=null,c===null?md=g:c.next=g,g===null&&(pl=c)):(c=h,(i!==0||(v&3)!==0)&&(pd=!0)),h=g}yn!==0&&yn!==5||$u(i),rs!==0&&(rs=0)}function O6(i,o){for(var c=i.suspendedLanes,h=i.pingedLanes,g=i.expirationTimes,v=i.pendingLanes&-62914561;0<v;){var w=31-wt(v),D=1<<w,X=g[w];X===-1?((D&c)===0||(D&h)!==0)&&(g[w]=Sn(D,o)):X<=o&&(i.expiredLanes|=D),v&=~D}if(o=Lt,c=mt,c=Ze(i,i===o?c:0,i.cancelPendingCommit!==null||i.timeoutHandle!==-1),h=i.callbackNode,c===0||i===o&&(kt===2||kt===9)||i.cancelPendingCommit!==null)return h!==null&&h!==null&&Is(h),i.callbackNode=null,i.callbackPriority=0;if((c&3)===0||Ft(i,c)){if(o=c&-c,o===i.callbackPriority)return o;switch(h!==null&&Is(h),ca(c)){case 2:case 8:c=De;break;case 32:c=Qe;break;case 268435456:c=ct;break;default:c=Qe}return h=R6.bind(null,i),c=zi(c,h),i.callbackPriority=o,i.callbackNode=c,o}return h!==null&&h!==null&&Is(h),i.callbackPriority=2,i.callbackNode=null,2}function R6(i,o){if(yn!==0&&yn!==5)return i.callbackNode=null,i.callbackPriority=0,null;var c=i.callbackNode;if(hd()&&i.callbackNode!==c)return null;var h=mt;return h=Ze(i,i===Lt?h:0,i.cancelPendingCommit!==null||i.timeoutHandle!==-1),h===0?null:(f6(i,h,o),O6(i,Ln()),i.callbackNode!=null&&i.callbackNode===c?R6.bind(null,i):null)}function D6(i,o){if(hd())return null;f6(i,o,!0)}function Jk(){dC(function(){(St&6)!==0?zi(ve,Zk):N6()})}function Pp(){if(rs===0){var i=el;i===0&&(i=Lo,Lo<<=1,(Lo&261888)===0&&(Lo=256)),rs=i}return rs}function L6(i){return i==null||typeof i=="symbol"||typeof i=="boolean"?null:typeof i=="function"?i:T0(""+i)}function I6(i,o){var c=o.ownerDocument.createElement("input");return c.name=o.name,c.value=o.value,i.id&&c.setAttribute("form",i.id),o.parentNode.insertBefore(c,o),i=new FormData(i),c.parentNode.removeChild(c),i}function eC(i,o,c,h,g){if(o==="submit"&&c&&c.stateNode===g){var v=L6((g[ur]||null).action),w=h.submitter;w&&(o=(o=w[ur]||null)?L6(o.formAction):w.getAttribute("formAction"),o!==null&&(v=o,w=null));var D=new k0("action","action",null,h,g);i.push({event:D,listeners:[{instance:null,listener:function(){if(h.defaultPrevented){if(rs!==0){var X=w?I6(g,w):new FormData(g);np(c,{pending:!0,data:X,method:g.method,action:v},null,X)}}else typeof v=="function"&&(D.preventDefault(),X=w?I6(g,w):new FormData(g),np(c,{pending:!0,data:X,method:g.method,action:v},v,X))},currentTarget:g}]})}}for(var Bp=0;Bp<vm.length;Bp++){var zp=vm[Bp],tC=zp.toLowerCase(),nC=zp[0].toUpperCase()+zp.slice(1);da(tC,"on"+nC)}da(dy,"onAnimationEnd"),da(fy,"onAnimationIteration"),da(hy,"onAnimationStart"),da("dblclick","onDoubleClick"),da("focusin","onFocus"),da("focusout","onBlur"),da(yk,"onTransitionRun"),da(vk,"onTransitionStart"),da(xk,"onTransitionCancel"),da(my,"onTransitionEnd"),Ho("onMouseEnter",["mouseout","mouseover"]),Ho("onMouseLeave",["mouseout","mouseover"]),Ho("onPointerEnter",["pointerout","pointerover"]),Ho("onPointerLeave",["pointerout","pointerover"]),Bs("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Bs("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Bs("onBeforeInput",["compositionend","keypress","textInput","paste"]),Bs("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Bs("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Bs("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Vu="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),rC=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Vu));function M6(i,o){o=(o&4)!==0;for(var c=0;c<i.length;c++){var h=i[c],g=h.event;h=h.listeners;e:{var v=void 0;if(o)for(var w=h.length-1;0<=w;w--){var D=h[w],X=D.instance,de=D.currentTarget;if(D=D.listener,X!==v&&g.isPropagationStopped())break e;v=D,g.currentTarget=de;try{v(g)}catch(ye){O0(ye)}g.currentTarget=null,v=X}else for(w=0;w<h.length;w++){if(D=h[w],X=D.instance,de=D.currentTarget,D=D.listener,X!==v&&g.isPropagationStopped())break e;v=D,g.currentTarget=de;try{v(g)}catch(ye){O0(ye)}g.currentTarget=null,v=X}}}}function ft(i,o){var c=o[Kh];c===void 0&&(c=o[Kh]=new Set);var h=i+"__bubble";c.has(h)||(P6(o,i,2,!1),c.add(h))}function Up(i,o,c){var h=0;o&&(h|=4),P6(c,i,h,o)}var gd="_reactListening"+Math.random().toString(36).slice(2);function Hp(i){if(!i[gd]){i[gd]=!0,N4.forEach(function(c){c!=="selectionchange"&&(rC.has(c)||Up(c,!1,i),Up(c,!0,i))});var o=i.nodeType===9?i:i.ownerDocument;o===null||o[gd]||(o[gd]=!0,Up("selectionchange",!1,o))}}function P6(i,o,c,h){switch(dv(o)){case 2:var g=RC;break;case 8:g=DC;break;default:g=t1}c=g.bind(null,o,c,i),g=void 0,!sm||o!=="touchstart"&&o!=="touchmove"&&o!=="wheel"||(g=!0),h?g!==void 0?i.addEventListener(o,c,{capture:!0,passive:g}):i.addEventListener(o,c,!0):g!==void 0?i.addEventListener(o,c,{passive:g}):i.addEventListener(o,c,!1)}function Fp(i,o,c,h,g){var v=h;if((o&1)===0&&(o&2)===0&&h!==null)e:for(;;){if(h===null)return;var w=h.tag;if(w===3||w===4){var D=h.stateNode.containerInfo;
vendor: 2,770 bytes, line 49
49if(D===g)break;if(w===4)for(w=h.return;w!==null;){var X=w.tag;if((X===3||X===4)&&w.stateNode.containerInfo===g)return;w=w.return}for(;D!==null;){if(w=Bo(D),w===null)return;if(X=w.tag,X===5||X===6||X===26||X===27){h=v=w;continue e}D=D.parentNode}}h=h.return}F4(function(){var de=v,ye=am(c),Ee=[];e:{var fe=py.get(i);if(fe!==void 0){var pe=k0,Ue=i;switch(i){case"keypress":if(w0(c)===0)break e;case"keydown":case"keyup":pe=WA;break;case"focusin":Ue="focus",pe=cm;break;case"focusout":Ue="blur",pe=cm;break;case"beforeblur":case"afterblur":pe=cm;break;case"click":if(c.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":pe=$4;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":pe=zA;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":pe=JA;break;case dy:case fy:case hy:pe=FA;break;case my:pe=tk;break;case"scroll":case"scrollend":pe=PA;break;case"wheel":pe=rk;break;case"copy":case"cut":case"paste":pe=qA;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":pe=G4;break;case"toggle":case"beforetoggle":pe=ik}var Xe=(o&4)!==0,Rt=!Xe&&(i==="scroll"||i==="scrollend"),ne=Xe?fe!==null?fe+"Capture":null:fe;Xe=[];for(var Z=de,oe;Z!==null;){var xe=Z;if(oe=xe.stateNode,xe=xe.tag,xe!==5&&xe!==26&&xe!==27||oe===null||ne===null||(xe=hu(Z,ne),xe!=null&&Xe.push(Gu(Z,xe,oe))),Rt)break;Z=Z.return}0<Xe.length&&(fe=new pe(fe,Ue,null,c,ye),Ee.push({event:fe,listeners:Xe}))}}if((o&7)===0){e:{if(fe=i==="mouseover"||i==="pointerover",pe=i==="mouseout"||i==="pointerout",fe&&c!==rm&&(Ue=c.relatedTarget||c.fromElement)&&(Bo(Ue)||Ue[Po]))break e;if((pe||fe)&&(fe=ye.window===ye?ye:(fe=ye.ownerDocument)?fe.defaultView||fe.parentWindow:window,pe?(Ue=c.relatedTarget||c.toElement,pe=de,Ue=Ue?Bo(Ue):null,Ue!==null&&(Rt=s(Ue),Xe=Ue.tag,Ue!==Rt||Xe!==5&&Xe!==27&&Xe!==6)&&(Ue=null)):(pe=null,Ue=de),pe!==Ue)){if(Xe=$4,xe="onMouseLeave",ne="onMouseEnter",Z="mouse",(i==="pointerout"||i==="pointerover")&&(Xe=G4,xe="onPointerLeave",ne="onPointerEnter",Z="pointer"),Rt=pe==null?fe:fu(pe),oe=Ue==null?fe:fu(Ue),fe=new Xe(xe,Z+"leave",pe,c,ye),fe.target=Rt,fe.relatedTarget=oe,xe=null,Bo(ye)===de&&(Xe=new Xe(ne,Z+"enter",Ue,c,ye),Xe.target=oe,Xe.relatedTarget=Rt,xe=Xe),Rt=xe,pe&&Ue)t:{for(Xe=aC,ne=pe,Z=Ue,oe=0,xe=ne;xe;xe=Xe(xe))oe++;xe=0;for(var Ve=Z;Ve;Ve=Xe(Ve))xe++;for(;0<oe-xe;)ne=Xe(ne),oe--;for(;0<xe-oe;)Z=Xe(Z),xe--;for(;oe--;){if(ne===Z||Z!==null&&ne===Z.alternate){Xe=ne;break t}ne=Xe(ne),Z=Xe(Z)}Xe=null}else Xe=null;pe!==null&&B6(Ee,fe,pe,Xe,!1),Ue!==null&&Rt!==null&&B6(Ee,Rt,Ue,Xe,!0)}}
vendor: 1,698 bytes, line 49
49e:{if(fe=de?fu(de):window,pe=fe.nodeName&&fe.nodeName.toLowerCase(),pe==="select"||pe==="input"&&fe.type==="file")var vt=ey;else if(Z4(fe))if(ty)vt=pk;else{vt=hk;var qe=fk}else pe=fe.nodeName,!pe||pe.toLowerCase()!=="input"||fe.type!=="checkbox"&&fe.type!=="radio"?de&&nm(de.elementType)&&(vt=ey):vt=mk;if(vt&&(vt=vt(i,de))){J4(Ee,vt,c,ye);break e}qe&&qe(i,fe,de),i==="focusout"&&de&&fe.type==="number"&&de.memoizedProps.value!=null&&tm(fe,"number",fe.value)}switch(qe=de?fu(de):window,i){case"focusin":(Z4(qe)||qe.contentEditable==="true")&&(Go=qe,gm=de,Eu=null);break;case"focusout":Eu=gm=Go=null;break;case"mousedown":bm=!0;break;case"contextmenu":case"mouseup":case"dragend":bm=!1,uy(Ee,c,ye);break;case"selectionchange":if(bk)break;case"keydown":case"keyup":uy(Ee,c,ye)}var at;if(fm)e:{switch(i){case"compositionstart":var pt="onCompositionStart";break e;case"compositionend":pt="onCompositionEnd";break e;case"compositionupdate":pt="onCompositionUpdate";break e}pt=void 0}else Vo?W4(i,c)&&(pt="onCompositionEnd"):i==="keydown"&&c.keyCode===229&&(pt="onCompositionStart");pt&&(Y4&&c.locale!=="ko"&&(Vo||pt!=="onCompositionStart"?pt==="onCompositionEnd"&&Vo&&(at=j4()):(Fi=ye,om="value"in Fi?Fi.value:Fi.textContent,Vo=!0)),qe=bd(de,pt),0<qe.length&&(pt=new V4(pt,i,null,c,ye),Ee.push({event:pt,listeners:qe}),at?pt.data=at:(at=K4(c),at!==null&&(pt.data=at)))),(at=ok?lk(i,c):uk(i,c))&&(pt=bd(de,"onBeforeInput"),0<pt.length&&(qe=new V4("onBeforeInput","beforeinput",null,c,ye),Ee.push({event:qe,listeners:pt}),qe.data=at)),eC(Ee,i,de,c,ye)}M6(Ee,o)})}function Gu(i,o,c){return{instance:i,listener:o,currentTarget:c}}function bd(i,o){for(var c=o+"Capture",h=[];i!==null;){var g=i,v=g.stateNode;
vendor: 5,021 bytes, lines 49-50
49if(g=g.tag,g!==5&&g!==26&&g!==27||v===null||(g=hu(i,c),g!=null&&h.unshift(Gu(i,g,v)),g=hu(i,o),g!=null&&h.push(Gu(i,g,v))),i.tag===3)return h;i=i.return}return[]}function aC(i){if(i===null)return null;do i=i.return;while(i&&i.tag!==5&&i.tag!==27);return i||null}function B6(i,o,c,h,g){for(var v=o._reactName,w=[];c!==null&&c!==h;){var D=c,X=D.alternate,de=D.stateNode;if(D=D.tag,X!==null&&X===h)break;D!==5&&D!==26&&D!==27||de===null||(X=de,g?(de=hu(c,v),de!=null&&w.unshift(Gu(c,de,X))):g||(de=hu(c,v),de!=null&&w.push(Gu(c,de,X)))),c=c.return}w.length!==0&&i.push({event:o,listeners:w})}var iC=/\r\n?/g,sC=/\u0000|\uFFFD/g;function z6(i){return(typeof i=="string"?i:""+i).replace(iC,`
50`).replace(sC,"")}function U6(i,o){return o=z6(o),z6(i)===o}function Ot(i,o,c,h,g,v){switch(c){case"children":typeof h=="string"?o==="body"||o==="textarea"&&h===""||jo(i,h):(typeof h=="number"||typeof h=="bigint")&&o!=="body"&&jo(i,""+h);break;case"className":E0(i,"class",h);break;case"tabIndex":E0(i,"tabindex",h);break;case"dir":case"role":case"viewBox":case"width":case"height":E0(i,c,h);break;case"style":U4(i,h,v);break;case"data":if(o!=="object"){E0(i,"data",h);break}case"src":case"href":if(h===""&&(o!=="a"||c!=="href")){i.removeAttribute(c);break}if(h==null||typeof h=="function"||typeof h=="symbol"||typeof h=="boolean"){i.removeAttribute(c);break}h=T0(""+h),i.setAttribute(c,h);break;case"action":case"formAction":if(typeof h=="function"){i.setAttribute(c,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof v=="function"&&(c==="formAction"?(o!=="input"&&Ot(i,o,"name",g.name,g,null),Ot(i,o,"formEncType",g.formEncType,g,null),Ot(i,o,"formMethod",g.formMethod,g,null),Ot(i,o,"formTarget",g.formTarget,g,null)):(Ot(i,o,"encType",g.encType,g,null),Ot(i,o,"method",g.method,g,null),Ot(i,o,"target",g.target,g,null)));if(h==null||typeof h=="symbol"||typeof h=="boolean"){i.removeAttribute(c);break}h=T0(""+h),i.setAttribute(c,h);break;case"onClick":h!=null&&(i.onclick=ti);break;case"onScroll":h!=null&&ft("scroll",i);break;case"onScrollEnd":h!=null&&ft("scrollend",i);break;case"dangerouslySetInnerHTML":if(h!=null){if(typeof h!="object"||!("__html"in h))throw Error(r(61));if(c=h.__html,c!=null){if(g.children!=null)throw Error(r(60));i.innerHTML=c}}break;case"multiple":i.multiple=h&&typeof h!="function"&&typeof h!="symbol";break;case"muted":i.muted=h&&typeof h!="function"&&typeof h!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(h==null||typeof h=="function"||typeof h=="boolean"||typeof h=="symbol"){i.removeAttribute("xlink:href");break}c=T0(""+h),i.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",c);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":h!=null&&typeof h!="function"&&typeof h!="symbol"?i.setAttribute(c,""+h):i.removeAttribute(c);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":h&&typeof h!="function"&&typeof h!="symbol"?i.setAttribute(c,""):i.removeAttribute(c);break;case"capture":case"download":h===!0?i.setAttribute(c,""):h!==!1&&h!=null&&typeof h!="function"&&typeof h!="symbol"?i.setAttribute(c,h):i.removeAttribute(c);break;case"cols":case"rows":case"size":case"span":h!=null&&typeof h!="function"&&typeof h!="symbol"&&!isNaN(h)&&1<=h?i.setAttribute(c,h):i.removeAttribute(c);break;case"rowSpan":case"start":h==null||typeof h=="function"||typeof h=="symbol"||isNaN(h)?i.removeAttribute(c):i.setAttribute(c,h);break;case"popover":ft("beforetoggle",i),ft("toggle",i),x0(i,"popover",h);break;case"xlinkActuate":ei(i,"http://www.w3.org/1999/xlink","xlink:actuate",h);break;case"xlinkArcrole":ei(i,"http://www.w3.org/1999/xlink","xlink:arcrole",h);break;case"xlinkRole":ei(i,"http://www.w3.org/1999/xlink","xlink:role",h);break;case"xlinkShow":ei(i,"http://www.w3.org/1999/xlink","xlink:show",h);break;case"xlinkTitle":ei(i,"http://www.w3.org/1999/xlink","xlink:title",h);break;case"xlinkType":ei(i,"http://www.w3.org/1999/xlink","xlink:type",h);break;case"xmlBase":ei(i,"http://www.w3.org/XML/1998/namespace","xml:base",h);break;case"xmlLang":ei(i,"http://www.w3.org/XML/1998/namespace","xml:lang",h);break;case"xmlSpace":ei(i,"http://www.w3.org/XML/1998/namespace","xml:space",h);break;case"is":x0(i,"is",h);break;case"innerText":case"textContent":break;
vendor: 11,587 bytes, line 50
50default:(!(2<c.length)||c[0]!=="o"&&c[0]!=="O"||c[1]!=="n"&&c[1]!=="N")&&(c=IA.get(c)||c,x0(i,c,h))}}function jp(i,o,c,h,g,v){switch(c){case"style":U4(i,h,v);break;case"dangerouslySetInnerHTML":if(h!=null){if(typeof h!="object"||!("__html"in h))throw Error(r(61));if(c=h.__html,c!=null){if(g.children!=null)throw Error(r(60));i.innerHTML=c}}break;case"children":typeof h=="string"?jo(i,h):(typeof h=="number"||typeof h=="bigint")&&jo(i,""+h);break;case"onScroll":h!=null&&ft("scroll",i);break;case"onScrollEnd":h!=null&&ft("scrollend",i);break;case"onClick":h!=null&&(i.onclick=ti);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!O4.hasOwnProperty(c))e:{if(c[0]==="o"&&c[1]==="n"&&(g=c.endsWith("Capture"),o=c.slice(2,g?c.length-7:void 0),v=i[ur]||null,v=v!=null?v[c]:null,typeof v=="function"&&i.removeEventListener(o,v,g),typeof h=="function")){typeof v!="function"&&v!==null&&(c in i?i[c]=null:i.hasAttribute(c)&&i.removeAttribute(c)),i.addEventListener(o,h,g);break e}c in i?i[c]=h:h===!0?i.setAttribute(c,""):x0(i,c,h)}}}function Hn(i,o,c){switch(o){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":ft("error",i),ft("load",i);var h=!1,g=!1,v;for(v in c)if(c.hasOwnProperty(v)){var w=c[v];if(w!=null)switch(v){case"src":h=!0;break;case"srcSet":g=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(r(137,o));default:Ot(i,o,v,w,c,null)}}g&&Ot(i,o,"srcSet",c.srcSet,c,null),h&&Ot(i,o,"src",c.src,c,null);return;case"input":ft("invalid",i);var D=v=w=g=null,X=null,de=null;for(h in c)if(c.hasOwnProperty(h)){var ye=c[h];if(ye!=null)switch(h){case"name":g=ye;break;case"type":w=ye;break;case"checked":X=ye;break;case"defaultChecked":de=ye;break;case"value":v=ye;break;case"defaultValue":D=ye;break;case"children":case"dangerouslySetInnerHTML":if(ye!=null)throw Error(r(137,o));break;default:Ot(i,o,h,ye,c,null)}}M4(i,v,D,X,de,w,g,!1);return;case"select":ft("invalid",i),h=w=v=null;for(g in c)if(c.hasOwnProperty(g)&&(D=c[g],D!=null))switch(g){case"value":v=D;break;case"defaultValue":w=D;break;case"multiple":h=D;default:Ot(i,o,g,D,c,null)}o=v,c=w,i.multiple=!!h,o!=null?Fo(i,!!h,o,!1):c!=null&&Fo(i,!!h,c,!0);return;case"textarea":ft("invalid",i),v=g=h=null;for(w in c)if(c.hasOwnProperty(w)&&(D=c[w],D!=null))switch(w){case"value":h=D;break;case"defaultValue":g=D;break;case"children":v=D;break;case"dangerouslySetInnerHTML":if(D!=null)throw Error(r(91));break;default:Ot(i,o,w,D,c,null)}B4(i,h,g,v);return;case"option":for(X in c)if(c.hasOwnProperty(X)&&(h=c[X],h!=null))switch(X){case"selected":i.selected=h&&typeof h!="function"&&typeof h!="symbol";break;default:Ot(i,o,X,h,c,null)}return;case"dialog":ft("beforetoggle",i),ft("toggle",i),ft("cancel",i),ft("close",i);break;case"iframe":case"object":ft("load",i);break;case"video":case"audio":for(h=0;h<Vu.length;h++)ft(Vu[h],i);break;case"image":ft("error",i),ft("load",i);break;case"details":ft("toggle",i);break;case"embed":case"source":case"link":ft("error",i),ft("load",i);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(de in c)if(c.hasOwnProperty(de)&&(h=c[de],h!=null))switch(de){case"children":case"dangerouslySetInnerHTML":throw Error(r(137,o));default:Ot(i,o,de,h,c,null)}return;default:if(nm(o)){for(ye in c)c.hasOwnProperty(ye)&&(h=c[ye],h!==void 0&&jp(i,o,ye,h,c,void 0));return}}for(D in c)c.hasOwnProperty(D)&&(h=c[D],h!=null&&Ot(i,o,D,h,c,null))}function oC(i,o,c,h){switch(o){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var g=null,v=null,w=null,D=null,X=null,de=null,ye=null;for(pe in c){var Ee=c[pe];if(c.hasOwnProperty(pe)&&Ee!=null)switch(pe){case"checked":break;case"value":break;case"defaultValue":X=Ee;default:h.hasOwnProperty(pe)||Ot(i,o,pe,null,h,Ee)}}for(var fe in h){var pe=h[fe];if(Ee=c[fe],h.hasOwnProperty(fe)&&(pe!=null||Ee!=null))switch(fe){case"type":v=pe;break;case"name":g=pe;break;case"checked":de=pe;break;case"defaultChecked":ye=pe;break;case"value":w=pe;break;case"defaultValue":D=pe;break;case"children":case"dangerouslySetInnerHTML":if(pe!=null)throw Error(r(137,o));break;default:pe!==Ee&&Ot(i,o,fe,pe,h,Ee)}}em(i,w,D,X,de,ye,v,g);return;case"select":pe=w=D=fe=null;for(v in c)if(X=c[v],c.hasOwnProperty(v)&&X!=null)switch(v){case"value":break;case"multiple":pe=X;default:h.hasOwnProperty(v)||Ot(i,o,v,null,h,X)}for(g in h)if(v=h[g],X=c[g],h.hasOwnProperty(g)&&(v!=null||X!=null))switch(g){case"value":fe=v;break;case"defaultValue":D=v;break;case"multiple":w=v;default:v!==X&&Ot(i,o,g,v,h,X)}o=D,c=w,h=pe,fe!=null?Fo(i,!!c,fe,!1):!!h!=!!c&&(o!=null?Fo(i,!!c,o,!0):Fo(i,!!c,c?[]:"",!1));return;case"textarea":pe=fe=null;for(D in c)if(g=c[D],c.hasOwnProperty(D)&&g!=null&&!h.hasOwnProperty(D))switch(D){case"value":break;case"children":break;default:Ot(i,o,D,null,h,g)}for(w in h)if(g=h[w],v=c[w],h.hasOwnProperty(w)&&(g!=null||v!=null))switch(w){case"value":fe=g;break;case"defaultValue":pe=g;break;case"children":break;case"dangerouslySetInnerHTML":if(g!=null)throw Error(r(91));break;default:g!==v&&Ot(i,o,w,g,h,v)}P4(i,fe,pe);return;case"option":for(var Ue in c)if(fe=c[Ue],c.hasOwnProperty(Ue)&&fe!=null&&!h.hasOwnProperty(Ue))switch(Ue){case"selected":i.selected=!1;break;default:Ot(i,o,Ue,null,h,fe)}for(X in h)if(fe=h[X],pe=c[X],h.hasOwnProperty(X)&&fe!==pe&&(fe!=null||pe!=null))switch(X){case"selected":i.selected=fe&&typeof fe!="function"&&typeof fe!="symbol";break;default:Ot(i,o,X,fe,h,pe)}return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var Xe in c)fe=c[Xe],c.hasOwnProperty(Xe)&&fe!=null&&!h.hasOwnProperty(Xe)&&Ot(i,o,Xe,null,h,fe);for(de in h)if(fe=h[de],pe=c[de],h.hasOwnProperty(de)&&fe!==pe&&(fe!=null||pe!=null))switch(de){case"children":case"dangerouslySetInnerHTML":if(fe!=null)throw Error(r(137,o));break;default:Ot(i,o,de,fe,h,pe)}return;default:if(nm(o)){for(var Rt in c)fe=c[Rt],c.hasOwnProperty(Rt)&&fe!==void 0&&!h.hasOwnProperty(Rt)&&jp(i,o,Rt,void 0,h,fe);for(ye in h)fe=h[ye],pe=c[ye],!h.hasOwnProperty(ye)||fe===pe||fe===void 0&&pe===void 0||jp(i,o,ye,fe,h,pe);return}}for(var ne in c)fe=c[ne],c.hasOwnProperty(ne)&&fe!=null&&!h.hasOwnProperty(ne)&&Ot(i,o,ne,null,h,fe);for(Ee in h)fe=h[Ee],pe=c[Ee],!h.hasOwnProperty(Ee)||fe===pe||fe==null&&pe==null||Ot(i,o,Ee,fe,h,pe)}function H6(i){switch(i){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function lC(){if(typeof performance.getEntriesByType=="function"){for(var i=0,o=0,c=performance.getEntriesByType("resource"),h=0;h<c.length;h++){var g=c[h],v=g.transferSize,w=g.initiatorType,D=g.duration;if(v&&D&&H6(w)){for(w=0,D=g.responseEnd,h+=1;h<c.length;h++){var X=c[h],de=X.startTime;if(de>D)break;var ye=X.transferSize,Ee=X.initiatorType;ye&&H6(Ee)&&(X=X.responseEnd,w+=ye*(X<D?1:(D-de)/(X-de)))}if(--h,o+=8*(v+w)/(g.duration/1e3),i++,10<i)break}}if(0<i)return o/i/1e6}return navigator.connection&&(i=navigator.connection.downlink,typeof i=="number")?i:5}var qp=null,$p=null;function yd(i){return i.nodeType===9?i:i.ownerDocument}function F6(i){switch(i){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function j6(i,o){if(i===0)switch(o){case"svg":return 1;case"math":return 2;default:return 0}return i===1&&o==="foreignObject"?0:i}function Vp(i,o){return i==="textarea"||i==="noscript"||typeof o.children=="string"||typeof o.children=="number"||typeof o.children=="bigint"||typeof o.dangerouslySetInnerHTML=="object"&&o.dangerouslySetInnerHTML!==null&&o.dangerouslySetInnerHTML.__html!=null}var Gp=null;function uC(){var i=window.event;return i&&i.type==="popstate"?i===Gp?!1:(Gp=i,!0):(Gp=null,!1)}var q6=typeof setTimeout=="function"?setTimeout:void 0,cC=typeof clearTimeout=="function"?clearTimeout:void 0,$6=typeof Promise=="function"?Promise:void 0,dC=typeof queueMicrotask=="function"?queueMicrotask:typeof $6<"u"?function(i){return $6.resolve(null).then(i).catch(fC)}:q6;function fC(i){setTimeout(function(){throw i})}function as(i){return i==="head"}function V6(i,o){var c=o,h=0;do{var g=c.nextSibling;if(i.removeChild(c),g&&g.nodeType===8)if(c=g.data,c==="/$"||c==="/&"){if(h===0){i.removeChild(g),vl(o);return}h--}else if(c==="$"||c==="$?"||c==="$~"||c==="$!"||c==="&")h++;else if(c==="html")Yu(i.ownerDocument.documentElement);else if(c==="head"){c=i.ownerDocument.head,Yu(c);for(var v=c.firstChild;v;){var w=v.nextSibling,D=v.nodeName;v[du]||D==="SCRIPT"||D==="STYLE"||D==="LINK"&&v.rel.toLowerCase()==="stylesheet"||c.removeChild(v),v=w}}else c==="body"&&Yu(i.ownerDocument.body);c=g}while(c);vl(o)}function G6(i,o){var c=i;i=0;do{var h=c.nextSibling;if(c.nodeType===1?o?(c._stashedDisplay=c.style.display,c.style.display="none"):(c.style.display=c._stashedDisplay||"",c.getAttribute("style")===""&&c.removeAttribute("style")):c.nodeType===3&&(o?(c._stashedText=c.nodeValue,c.nodeValue=""):c.nodeValue=c._stashedText||""),h&&h.nodeType===8)if(c=h.data,c==="/$"){if(i===0)break;i--}else c!=="$"&&c!=="$?"&&c!=="$~"&&c!=="$!"||i++;c=h}while(c)}function Yp(i){var o=i.firstChild;for(o&&o.nodeType===10&&(o=o.nextSibling);o;){var c=o;switch(o=o.nextSibling,c.nodeName){case"HTML":case"HEAD":case"BODY":Yp(c),Zh(c);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(c.rel.toLowerCase()==="stylesheet")continue}i.removeChild(c)}}function hC(i,o,c,h){for(;i.nodeType===1;){var g=c;if(i.nodeName.toLowerCase()!==o.toLowerCase()){if(!h&&(i.nodeName!=="INPUT"||i.type!=="hidden"))break}else if(h){if(!i[du])switch(o){case"meta":if(!i.hasAttribute("itemprop"))break;return i;case"link":if(v=i.getAttribute("rel"),v==="stylesheet"&&i.hasAttribute("data-precedence"))break;if(v!==g.rel||i.getAttribute("href")!==(g.href==null||g.href===""?null:g.href)||i.getAttribute("crossorigin")!==(g.crossOrigin==null?null:g.crossOrigin)||i.getAttribute("title")!==(g.title==null?null:g.title))break;return i;case"style":if(i.hasAttribute("data-precedence"))break;return i;case"script":if(v=i.getAttribute("src"),(v!==(g.src==null?null:g.src)||i.getAttribute("type")!==(g.type==null?null:g.type)||i.getAttribute("crossorigin")!==(g.crossOrigin==null?null:g.crossOrigin))&&v&&i.hasAttribute("async")&&!i.hasAttribute("itemprop"))break;return i;default:return i}}else if(o==="input"&&i.type==="hidden"){var v=g.name==null?null:""+g.name;if(g.type==="hidden"&&i.getAttribute("name")===v)return i}else return i;if(i=Wr(i.nextSibling),i===null)break}return null}function mC(i,o,c){if(o==="")return null;for(;i.nodeType!==3;)if((i.nodeType!==1||i.nodeName!=="INPUT"||i.type!=="hidden")&&!c||(i=Wr(i.nextSibling),i===null))return null;return i}function Y6(i,o){for(;i.nodeType!==8;)if((i.nodeType!==1||i.nodeName!=="INPUT"||i.type!=="hidden")&&!o||(i=Wr(i.nextSibling),i===null))return null;return i}function Qp(i){return i.data==="$?"||i.data==="$~"}function Xp(i){return i.data==="$!"||i.data==="$?"&&i.ownerDocument.readyState!=="loading"}function pC(i,o){var c=i.ownerDocument;if(i.data==="$~")i._reactRetry=o;else if(i.data!=="$?"||c.readyState!=="loading")o();else{var h=function(){o(),c.removeEventListener("DOMContentLoaded",h)};c.addEventListener("DOMContentLoaded",h),i._reactRetry=h}}function Wr(i){for(;i!=null;i=i.nextSibling){var o=i.nodeType;if(o===1||o===3)break;if(o===8){if(o=i.data,o==="$"||o==="$!"||o==="$?"||o==="$~"||o==="&"||o==="F!"||o==="F")break;
vendor: 9,491 bytes, line 50
50if(o==="/$"||o==="/&")return null}}return i}var Wp=null;function Q6(i){i=i.nextSibling;for(var o=0;i;){if(i.nodeType===8){var c=i.data;if(c==="/$"||c==="/&"){if(o===0)return Wr(i.nextSibling);o--}else c!=="$"&&c!=="$!"&&c!=="$?"&&c!=="$~"&&c!=="&"||o++}i=i.nextSibling}return null}function X6(i){i=i.previousSibling;for(var o=0;i;){if(i.nodeType===8){var c=i.data;if(c==="$"||c==="$!"||c==="$?"||c==="$~"||c==="&"){if(o===0)return i;o--}else c!=="/$"&&c!=="/&"||o++}i=i.previousSibling}return null}function W6(i,o,c){switch(o=yd(c),i){case"html":if(i=o.documentElement,!i)throw Error(r(452));return i;case"head":if(i=o.head,!i)throw Error(r(453));return i;case"body":if(i=o.body,!i)throw Error(r(454));return i;default:throw Error(r(451))}}function Yu(i){for(var o=i.attributes;o.length;)i.removeAttributeNode(o[0]);Zh(i)}var Kr=new Map,K6=new Set;function vd(i){return typeof i.getRootNode=="function"?i.getRootNode():i.nodeType===9?i:i.ownerDocument}var bi=ae.d;ae.d={f:gC,r:bC,D:yC,C:vC,L:xC,m:EC,X:TC,S:_C,M:SC};function gC(){var i=bi.f(),o=cd();return i||o}function bC(i){var o=zo(i);o!==null&&o.tag===5&&o.type==="form"?m3(o):bi.r(i)}var gl=typeof document>"u"?null:document;function Z6(i,o,c){var h=gl;if(h&&typeof o=="string"&&o){var g=qr(o);g='link[rel="'+i+'"][href="'+g+'"]',typeof c=="string"&&(g+='[crossorigin="'+c+'"]'),K6.has(g)||(K6.add(g),i={rel:i,crossOrigin:c,href:o},h.querySelector(g)===null&&(o=h.createElement("link"),Hn(o,"link",i),wn(o),h.head.appendChild(o)))}}function yC(i){bi.D(i),Z6("dns-prefetch",i,null)}function vC(i,o){bi.C(i,o),Z6("preconnect",i,o)}function xC(i,o,c){bi.L(i,o,c);var h=gl;if(h&&i&&o){var g='link[rel="preload"][as="'+qr(o)+'"]';o==="image"&&c&&c.imageSrcSet?(g+='[imagesrcset="'+qr(c.imageSrcSet)+'"]',typeof c.imageSizes=="string"&&(g+='[imagesizes="'+qr(c.imageSizes)+'"]')):g+='[href="'+qr(i)+'"]';var v=g;switch(o){case"style":v=bl(i);break;case"script":v=yl(i)}Kr.has(v)||(i=m({rel:"preload",href:o==="image"&&c&&c.imageSrcSet?void 0:i,as:o},c),Kr.set(v,i),h.querySelector(g)!==null||o==="style"&&h.querySelector(Qu(v))||o==="script"&&h.querySelector(Xu(v))||(o=h.createElement("link"),Hn(o,"link",i),wn(o),h.head.appendChild(o)))}}function EC(i,o){bi.m(i,o);var c=gl;if(c&&i){var h=o&&typeof o.as=="string"?o.as:"script",g='link[rel="modulepreload"][as="'+qr(h)+'"][href="'+qr(i)+'"]',v=g;switch(h){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":v=yl(i)}if(!Kr.has(v)&&(i=m({rel:"modulepreload",href:i},o),Kr.set(v,i),c.querySelector(g)===null)){switch(h){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(c.querySelector(Xu(v)))return}h=c.createElement("link"),Hn(h,"link",i),wn(h),c.head.appendChild(h)}}}function _C(i,o,c){bi.S(i,o,c);var h=gl;if(h&&i){var g=Uo(h).hoistableStyles,v=bl(i);o=o||"default";var w=g.get(v);if(!w){var D={loading:0,preload:null};if(w=h.querySelector(Qu(v)))D.loading=5;else{i=m({rel:"stylesheet",href:i,"data-precedence":o},c),(c=Kr.get(v))&&Kp(i,c);var X=w=h.createElement("link");wn(X),Hn(X,"link",i),X._p=new Promise(function(de,ye){X.onload=de,X.onerror=ye}),X.addEventListener("load",function(){D.loading|=1}),X.addEventListener("error",function(){D.loading|=2}),D.loading|=4,xd(w,o,h)}w={type:"stylesheet",instance:w,count:1,state:D},g.set(v,w)}}}function TC(i,o){bi.X(i,o);var c=gl;if(c&&i){var h=Uo(c).hoistableScripts,g=yl(i),v=h.get(g);v||(v=c.querySelector(Xu(g)),v||(i=m({src:i,async:!0},o),(o=Kr.get(g))&&Zp(i,o),v=c.createElement("script"),wn(v),Hn(v,"link",i),c.head.appendChild(v)),v={type:"script",instance:v,count:1,state:null},h.set(g,v))}}function SC(i,o){bi.M(i,o);var c=gl;if(c&&i){var h=Uo(c).hoistableScripts,g=yl(i),v=h.get(g);v||(v=c.querySelector(Xu(g)),v||(i=m({src:i,async:!0,type:"module"},o),(o=Kr.get(g))&&Zp(i,o),v=c.createElement("script"),wn(v),Hn(v,"link",i),c.head.appendChild(v)),v={type:"script",instance:v,count:1,state:null},h.set(g,v))}}function J6(i,o,c,h){var g=(g=Re.current)?vd(g):null;if(!g)throw Error(r(446));switch(i){case"meta":case"title":return null;case"style":return typeof c.precedence=="string"&&typeof c.href=="string"?(o=bl(c.href),c=Uo(g).hoistableStyles,h=c.get(o),h||(h={type:"style",instance:null,count:0,state:null},c.set(o,h)),h):{type:"void",instance:null,count:0,state:null};case"link":if(c.rel==="stylesheet"&&typeof c.href=="string"&&typeof c.precedence=="string"){i=bl(c.href);var v=Uo(g).hoistableStyles,w=v.get(i);if(w||(g=g.ownerDocument||g,w={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},v.set(i,w),(v=g.querySelector(Qu(i)))&&!v._p&&(w.instance=v,w.state.loading=5),Kr.has(i)||(c={rel:"preload",as:"style",href:c.href,crossOrigin:c.crossOrigin,integrity:c.integrity,media:c.media,hrefLang:c.hrefLang,referrerPolicy:c.referrerPolicy},Kr.set(i,c),v||wC(g,i,c,w.state))),o&&h===null)throw Error(r(528,""));return w}if(o&&h!==null)throw Error(r(529,""));return null;case"script":return o=c.async,c=c.src,typeof c=="string"&&o&&typeof o!="function"&&typeof o!="symbol"?(o=yl(c),c=Uo(g).hoistableScripts,h=c.get(o),h||(h={type:"script",instance:null,count:0,state:null},c.set(o,h)),h):{type:"void",instance:null,count:0,state:null};default:throw Error(r(444,i))}}function bl(i){return'href="'+qr(i)+'"'}function Qu(i){return'link[rel="stylesheet"]['+i+"]"}function ev(i){return m({},i,{"data-precedence":i.precedence,precedence:null})}function wC(i,o,c,h){i.querySelector('link[rel="preload"][as="style"]['+o+"]")?h.loading=1:(o=i.createElement("link"),h.preload=o,o.addEventListener("load",function(){return h.loading|=1}),o.addEventListener("error",function(){return h.loading|=2}),Hn(o,"link",c),wn(o),i.head.appendChild(o))}function yl(i){return'[src="'+qr(i)+'"]'}function Xu(i){return"script[async]"+i}function tv(i,o,c){if(o.count++,o.instance===null)switch(o.type){case"style":var h=i.querySelector('style[data-href~="'+qr(c.href)+'"]');if(h)return o.instance=h,wn(h),h;var g=m({},c,{"data-href":c.href,"data-precedence":c.precedence,href:null,precedence:null});return h=(i.ownerDocument||i).createElement("style"),wn(h),Hn(h,"style",g),xd(h,c.precedence,i),o.instance=h;case"stylesheet":g=bl(c.href);var v=i.querySelector(Qu(g));if(v)return o.state.loading|=4,o.instance=v,wn(v),v;h=ev(c),(g=Kr.get(g))&&Kp(h,g),v=(i.ownerDocument||i).createElement("link"),wn(v);var w=v;return w._p=new Promise(function(D,X){w.onload=D,w.onerror=X}),Hn(v,"link",h),o.state.loading|=4,xd(v,c.precedence,i),o.instance=v;case"script":return v=yl(c.src),(g=i.querySelector(Xu(v)))?(o.instance=g,wn(g),g):(h=c,(g=Kr.get(v))&&(h=m({},c),Zp(h,g)),i=i.ownerDocument||i,g=i.createElement("script"),wn(g),Hn(g,"link",h),i.head.appendChild(g),o.instance=g);case"void":return null;default:throw Error(r(443,o.type))}else o.type==="stylesheet"&&(o.state.loading&4)===0&&(h=o.instance,o.state.loading|=4,xd(h,c.precedence,i));return o.instance}function xd(i,o,c){for(var h=c.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),g=h.length?h[h.length-1]:null,v=g,w=0;w<h.length;w++){var D=h[w];if(D.dataset.precedence===o)v=D;else if(v!==g)break}v?v.parentNode.insertBefore(i,v.nextSibling):(o=c.nodeType===9?c.head:c,o.insertBefore(i,o.firstChild))}function Kp(i,o){i.crossOrigin==null&&(i.crossOrigin=o.crossOrigin),i.referrerPolicy==null&&(i.referrerPolicy=o.referrerPolicy),i.title==null&&(i.title=o.title)}function Zp(i,o){i.crossOrigin==null&&(i.crossOrigin=o.crossOrigin),i.referrerPolicy==null&&(i.referrerPolicy=o.referrerPolicy),i.integrity==null&&(i.integrity=o.integrity)}var Ed=null;function nv(i,o,c){if(Ed===null){var h=new Map,g=Ed=new Map;g.set(c,h)}else g=Ed,h=g.get(c),h||(h=new Map,g.set(c,h));if(h.has(i))return h;for(h.set(i,null),c=c.getElementsByTagName(i),g=0;g<c.length;g++){var v=c[g];if(!(v[du]||v[Pn]||i==="link"&&v.getAttribute("rel")==="stylesheet")&&v.namespaceURI!=="http://www.w3.org/2000/svg"){var w=v.getAttribute(o)||"";w=i+w;var D=h.get(w);D?D.push(v):h.set(w,[v])}}return h}function rv(i,o,c){i=i.ownerDocument||i,i.head.insertBefore(c,o==="title"?i.querySelector("head > title"):null)}function AC(i,o,c){if(c===1||o.itemProp!=null)return!1;switch(i){case"meta":case"title":return!0;case"style":if(typeof o.precedence!="string"||typeof o.href!="string"||o.href==="")break;return!0;case"link":if(typeof o.rel!="string"||typeof o.href!="string"||o.href===""||o.onLoad||o.onError)break;switch(o.rel){case"stylesheet":return i=o.disabled,typeof o.precedence=="string"&&i==null;default:return!0}case"script":if(o.async&&typeof o.async!="function"&&typeof o.async!="symbol"&&!o.onLoad&&!o.onError&&o.src&&typeof o.src=="string")return!0}return!1}function av(i){return!(i.type==="stylesheet"&&(i.state.loading&3)===0)}function kC(i,o,c,h){if(c.type==="stylesheet"&&(typeof h.media!="string"||matchMedia(h.media).matches!==!1)&&(c.state.loading&4)===0){if(c.instance===null){var g=bl(h.href),v=o.querySelector(Qu(g));if(v){o=v._p,o!==null&&typeof o=="object"&&typeof o.then=="function"&&(i.count++,i=_d.bind(i),o.then(i,i)),c.state.loading|=4,c.instance=v,wn(v);return}v=o.ownerDocument||o,h=ev(h),(g=Kr.get(g))&&Kp(h,g),v=v.createElement("link"),wn(v);var w=v;w._p=new Promise(function(D,X){w.onload=D,w.onerror=X}),Hn(v,"link",h),c.instance=v}i.stylesheets===null&&(i.stylesheets=new Map),i.stylesheets.set(c,o),(o=c.state.preload)&&(c.state.loading&3)===0&&(i.count++,c=_d.bind(i),o.addEventListener("load",c),o.addEventListener("error",c))}}var Jp=0;
vendor: 4,462 bytes, line 50
50function CC(i,o){return i.stylesheets&&i.count===0&&Sd(i,i.stylesheets),0<i.count||0<i.imgCount?function(c){var h=setTimeout(function(){if(i.stylesheets&&Sd(i,i.stylesheets),i.unsuspend){var v=i.unsuspend;i.unsuspend=null,v()}},6e4+o);0<i.imgBytes&&Jp===0&&(Jp=62500*lC());var g=setTimeout(function(){if(i.waitingForImages=!1,i.count===0&&(i.stylesheets&&Sd(i,i.stylesheets),i.unsuspend)){var v=i.unsuspend;i.unsuspend=null,v()}},(i.imgBytes>Jp?50:800)+o);return i.unsuspend=c,function(){i.unsuspend=null,clearTimeout(h),clearTimeout(g)}}:null}function _d(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Sd(this,this.stylesheets);else if(this.unsuspend){var i=this.unsuspend;this.unsuspend=null,i()}}}var Td=null;function Sd(i,o){i.stylesheets=null,i.unsuspend!==null&&(i.count++,Td=new Map,o.forEach(NC,i),Td=null,_d.call(i))}function NC(i,o){if(!(o.state.loading&4)){var c=Td.get(i);if(c)var h=c.get(null);else{c=new Map,Td.set(i,c);for(var g=i.querySelectorAll("link[data-precedence],style[data-precedence]"),v=0;v<g.length;v++){var w=g[v];(w.nodeName==="LINK"||w.getAttribute("media")!=="not all")&&(c.set(w.dataset.precedence,w),h=w)}h&&c.set(null,h)}g=o.instance,w=g.getAttribute("data-precedence"),v=c.get(w)||h,v===h&&c.set(null,g),c.set(w,g),this.count++,h=_d.bind(this),g.addEventListener("load",h),g.addEventListener("error",h),v?v.parentNode.insertBefore(g,v.nextSibling):(i=i.nodeType===9?i.head:i,i.insertBefore(g,i.firstChild)),o.state.loading|=4}}var Wu={$$typeof:I,Provider:null,Consumer:null,_currentValue:te,_currentValue2:te,_threadCount:0};function OC(i,o,c,h,g,v,w,D,X){this.tag=1,this.containerInfo=i,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=Ui(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Ui(0),this.hiddenUpdates=Ui(null),this.identifierPrefix=h,this.onUncaughtError=g,this.onCaughtError=v,this.onRecoverableError=w,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=X,this.incompleteTransitions=new Map}function iv(i,o,c,h,g,v,w,D,X,de,ye,Ee){return i=new OC(i,o,c,w,X,de,ye,Ee,D),o=1,v===!0&&(o|=24),v=wr(3,null,null,o),i.current=v,v.stateNode=i,o=Dm(),o.refCount++,i.pooledCache=o,o.refCount++,v.memoizedState={element:h,isDehydrated:c,cache:o},Pm(v),i}function sv(i){return i?(i=Xo,i):Xo}function ov(i,o,c,h,g,v){g=sv(g),h.context===null?h.context=g:h.pendingContext=g,h=Yi(o),h.payload={element:c},v=v===void 0?null:v,v!==null&&(h.callback=v),c=Qi(i,h,o),c!==null&&(pr(c,i,o),Cu(c,i,o))}function lv(i,o){if(i=i.memoizedState,i!==null&&i.dehydrated!==null){var c=i.retryLane;i.retryLane=c!==0&&c<o?c:o}}function e1(i,o){lv(i,o),(i=i.alternate)&&lv(i,o)}function uv(i){if(i.tag===13||i.tag===31){var o=Fs(i,67108864);o!==null&&pr(o,i,67108864),e1(i,67108864)}}function cv(i){if(i.tag===13||i.tag===31){var o=Or();o=Mo(o);var c=Fs(i,o);c!==null&&pr(c,i,o),e1(i,o)}}var wd=!0;function RC(i,o,c,h){var g=$.T;$.T=null;var v=ae.p;try{ae.p=2,t1(i,o,c,h)}finally{ae.p=v,$.T=g}}function DC(i,o,c,h){var g=$.T;$.T=null;var v=ae.p;try{ae.p=8,t1(i,o,c,h)}finally{ae.p=v,$.T=g}}function t1(i,o,c,h){if(wd){var g=n1(h);if(g===null)Fp(i,o,h,Ad,c),fv(i,h);else if(IC(g,i,o,c,h))h.stopPropagation();else if(fv(i,h),o&4&&-1<LC.indexOf(i)){for(;g!==null;){var v=zo(g);if(v!==null)switch(v.tag){case 3:if(v=v.stateNode,v.current.memoizedState.isDehydrated){var w=ka(v.pendingLanes);if(w!==0){var D=v;for(D.pendingLanes|=2,D.entangledLanes|=2;w;){var X=1<<31-wt(w);D.entanglements[1]|=X,w&=~X}Ra(v),(St&6)===0&&(ld=Ln()+500,$u(0))}}break;case 31:case 13:D=Fs(v,2),D!==null&&pr(D,v,2),cd(),e1(v,2)}if(v=n1(h),v===null&&Fp(i,o,h,Ad,c),v===g)break;g=v}g!==null&&h.stopPropagation()}else Fp(i,o,h,null,c)}}function n1(i){return i=am(i),r1(i)}var Ad=null;function r1(i){if(Ad=null,i=Bo(i),i!==null){var o=s(i);if(o===null)i=null;else{var c=o.tag;if(c===13){if(i=l(o),i!==null)return i;i=null}else if(c===31){if(i=u(o),i!==null)return i;i=null}else if(c===3){if(o.stateNode.current.memoizedState.isDehydrated)return o.tag===3?o.stateNode.containerInfo:null;i=null}else o!==i&&(i=null)}}return Ad=i,null}function dv(i){switch(i){case"beforetoggle":case"cancel":case"click":case"close"
vendor: 4,413 bytes, line 50
50:case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(cu()){case ve:return 2;case De:return 8;case Qe:case rt:return 32;case ct:return 268435456;default:return 32}default:return 32}}var a1=!1,is=null,ss=null,os=null,Ku=new Map,Zu=new Map,ls=[],LC="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" ");function fv(i,o){switch(i){case"focusin":case"focusout":is=null;break;case"dragenter":case"dragleave":ss=null;break;case"mouseover":case"mouseout":os=null;break;case"pointerover":case"pointerout":Ku.delete(o.pointerId);break;case"gotpointercapture":case"lostpointercapture":Zu.delete(o.pointerId)}}function Ju(i,o,c,h,g,v){return i===null||i.nativeEvent!==v?(i={blockedOn:o,domEventName:c,eventSystemFlags:h,nativeEvent:v,targetContainers:[g]},o!==null&&(o=zo(o),o!==null&&uv(o)),i):(i.eventSystemFlags|=h,o=i.targetContainers,g!==null&&o.indexOf(g)===-1&&o.push(g),i)}function IC(i,o,c,h,g){switch(o){case"focusin":return is=Ju(is,i,o,c,h,g),!0;case"dragenter":return ss=Ju(ss,i,o,c,h,g),!0;case"mouseover":return os=Ju(os,i,o,c,h,g),!0;case"pointerover":var v=g.pointerId;return Ku.set(v,Ju(Ku.get(v)||null,i,o,c,h,g)),!0;case"gotpointercapture":return v=g.pointerId,Zu.set(v,Ju(Zu.get(v)||null,i,o,c,h,g)),!0}return!1}function hv(i){var o=Bo(i.target);if(o!==null){var c=s(o);if(c!==null){if(o=c.tag,o===13){if(o=l(c),o!==null){i.blockedOn=o,k4(i.priority,function(){cv(c)});return}}else if(o===31){if(o=u(c),o!==null){i.blockedOn=o,k4(i.priority,function(){cv(c)});return}}else if(o===3&&c.stateNode.current.memoizedState.isDehydrated){i.blockedOn=c.tag===3?c.stateNode.containerInfo:null;return}}}i.blockedOn=null}function kd(i){if(i.blockedOn!==null)return!1;for(var o=i.targetContainers;0<o.length;){var c=n1(i.nativeEvent);if(c===null){c=i.nativeEvent;var h=new c.constructor(c.type,c);rm=h,c.target.dispatchEvent(h),rm=null}else return o=zo(c),o!==null&&uv(o),i.blockedOn=c,!1;o.shift()}return!0}function mv(i,o,c){kd(i)&&c.delete(o)}function MC(){a1=!1,is!==null&&kd(is)&&(is=null),ss!==null&&kd(ss)&&(ss=null),os!==null&&kd(os)&&(os=null),Ku.forEach(mv),Zu.forEach(mv)}function Cd(i,o){i.blockedOn===o&&(i.blockedOn=null,a1||(a1=!0,e.unstable_scheduleCallback(e.unstable_NormalPriority,MC)))}var Nd=null;function pv(i){Nd!==i&&(Nd=i,e.unstable_scheduleCallback(e.unstable_NormalPriority,function(){Nd===i&&(Nd=null);for(var o=0;o<i.length;o+=3){var c=i[o],h=i[o+1],g=i[o+2];if(typeof h!="function"){if(r1(h||c)===null)continue;break}var v=zo(c);v!==null&&(i.splice(o,3),o-=3,np(v,{pending:!0,data:g,method:c.method,action:h},h,g))}}))}function vl(i){function o(X){return Cd(X,i)}is!==null&&Cd(is,i),ss!==null&&Cd(ss,i),os!==null&&Cd(os,i),Ku.forEach(o),Zu.forEach(o);for(var c=0;c<ls.length;c++){var h=ls[c];h.blockedOn===i&&(h.blockedOn=null)}for(;0<ls.length&&(c=ls[0],c.blockedOn===null);)hv(c),c.blockedOn===null&&ls.shift();if(c=(i.ownerDocument||i).$$reactFormReplay,c!=null)for(h=0;h<c.length;h+=3){var g=c[h],v=c[h+1],w=g[ur]||null;if(typeof v=="function")w||pv(c);else if(w){var D=null;if(v&&v.hasAttribute("formAction")){if(g=v,w=v[ur]||null)D=w.formAction;else if(r1(g)!==null)continue}else D=w.action;typeof D=="function"?c[h+1]=D:(c.splice(h,3),h-=3),pv(c)}}}
vendor: 4,469 bytes, line 50
50function gv(){function i(v){v.canIntercept&&v.info==="react-transition"&&v.intercept({handler:function(){return new Promise(function(w){return g=w})},focusReset:"manual",scroll:"manual"})}function o(){g!==null&&(g(),g=null),h||setTimeout(c,20)}function c(){if(!h&&!navigation.transition){var v=navigation.currentEntry;v&&v.url!=null&&navigation.navigate(v.url,{state:v.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var h=!1,g=null;return navigation.addEventListener("navigate",i),navigation.addEventListener("navigatesuccess",o),navigation.addEventListener("navigateerror",o),setTimeout(c,100),function(){h=!0,navigation.removeEventListener("navigate",i),navigation.removeEventListener("navigatesuccess",o),navigation.removeEventListener("navigateerror",o),g!==null&&(g(),g=null)}}}function i1(i){this._internalRoot=i}Od.prototype.render=i1.prototype.render=function(i){var o=this._internalRoot;if(o===null)throw Error(r(409));var c=o.current,h=Or();ov(c,h,i,o,null,null)},Od.prototype.unmount=i1.prototype.unmount=function(){var i=this._internalRoot;if(i!==null){this._internalRoot=null;var o=i.containerInfo;ov(i.current,2,null,i,null,null),cd(),o[Po]=null}};function Od(i){this._internalRoot=i}Od.prototype.unstable_scheduleHydration=function(i){if(i){var o=Wh();i={blockedOn:null,target:i,priority:o};for(var c=0;c<ls.length&&o!==0&&o<ls[c].priority;c++);ls.splice(c,0,i),c===0&&hv(i)}};var bv=t.version;if(bv!=="19.2.1")throw Error(r(527,bv,"19.2.1"));ae.findDOMNode=function(i){var o=i._reactInternals;if(o===void 0)throw typeof i.render=="function"?Error(r(188)):(i=Object.keys(i).join(","),Error(r(268,i)));return i=f(o),i=i!==null?p(i):null,i=i===null?null:i.stateNode,i};var PC={bundleType:0,version:"19.2.1",rendererPackageName:"react-dom",currentDispatcherRef:$,reconcilerVersion:"19.2.1"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Rd=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Rd.isDisabled&&Rd.supportsFiber)try{In=Rd.inject(PC),nn=Rd}catch{}}return nc.createRoot=function(i,o){if(!a(i))throw Error(r(299));var c=!1,h="",g=S3,v=w3,w=A3;return o!=null&&(o.unstable_strictMode===!0&&(c=!0),o.identifierPrefix!==void 0&&(h=o.identifierPrefix),o.onUncaughtError!==void 0&&(g=o.onUncaughtError),o.onCaughtError!==void 0&&(v=o.onCaughtError),o.onRecoverableError!==void 0&&(w=o.onRecoverableError)),o=iv(i,1,!1,null,null,c,h,null,g,v,w,gv),i[Po]=o.current,Hp(i),new i1(o)},nc.hydrateRoot=function(i,o,c){if(!a(i))throw Error(r(299));var h=!1,g="",v=S3,w=w3,D=A3,X=null;return c!=null&&(c.unstable_strictMode===!0&&(h=!0),c.identifierPrefix!==void 0&&(g=c.identifierPrefix),c.onUncaughtError!==void 0&&(v=c.onUncaughtError),c.onCaughtError!==void 0&&(w=c.onCaughtError),c.onRecoverableError!==void 0&&(D=c.onRecoverableError),c.formState!==void 0&&(X=c.formState)),o=iv(i,1,!0,o,c??null,h,g,X,v,w,D,gv),o.context=sv(null),c=o.current,h=Or(),h=Mo(h),g=Yi(h),g.callback=null,Qi(c,g,h),c=h,o.current.lanes=c,Vt(o,c),Ra(o),i[Po]=o.current,Hp(i),new Od(o)},nc.version="19.2.1",nc}var qv;function KO(){if(qv)return f1.exports;qv=1;function e(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}return e(),f1.exports=WO(),f1.exports}var ZO=KO(),JO=(function(){function e(){this.keyToValue=new Map,this.valueToKey=new Map}return e.prototype.set=function(t,n){this.keyToValue.set(t,n),this.valueToKey.set(n,t)},e.prototype.getByKey=function(t){return this.keyToValue.get(t)},e.prototype.getByValue=function(t){return this.valueToKey.get(t)},e.prototype.clear=function(){this.keyToValue.clear(),this.valueToKey.clear()},e})(),u7=(function(){function e(t){this.generateIdentifier=t,this.kv=new JO}return e.prototype.register=function(t,n){this.kv.getByValue(t)||(n||(n=this.generateIdentifier(t)),this.kv.set(n,t))},e.prototype.clear=function(){this.kv.clear()},e.prototype.getIdentifier=function(t){return this.kv.getByValue(t)},e.prototype.getValue=function(t){return this.kv.getByKey(t)},e})(),eR=(function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,a){r.__proto__=a}||function(r,a){for(var s in a)Object.prototype.hasOwnProperty.call(a,s)&&(r[s]=a[s])},e(t,n)};return function(t,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");e(t,n);function r(){this.constructor=t}
50t.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}})(),tR=(function(e){eR(t,e);function t(){var n=e.call(this,function(r){return r.name})||this;return n.classToAllowedProps=new Map,n}return t.prototype.register=function(n,r){typeof r=="object"?(r.allowProps&&this.classToAllowedProps.set(n,r.allowProps),e.prototype.register.call(this,n,r.identifier)):e.prototype.register.call(this,n,r)},t.prototype.getAllowedProps=function(n){return this.classToAllowedProps.get(n)},t})(u7),nR=function(e,t){var n=typeof Symbol=="function"&&e[Symbol.iterator];if(!n)return e;var r=n.call(e),a,s=[],l;try{for(;(t===void 0||t-- >0)&&!(a=r.next()).done;)s.push(a.value)}catch(u){l={error:u}}finally{try{a&&!a.done&&(n=r.return)&&n.call(r)}finally{if(l)throw l.error}}return s};function rR(e){if("values"in Object)return Object.values(e);var t=[];for(var n in e)e.hasOwnProperty(n)&&t.push(e[n]);return t}function aR(e,t){var n=rR(e);if("find"in n)return n.find(t);for(var r=n,a=0;a<r.length;a++){var s=r[a];if(t(s))return s}}function Fl(e,t){Object.entries(e).forEach(function(n){var r=nR(n,2),a=r[0],s=r[1];return t(s,a)})}function ff(e,t){return e.indexOf(t)!==-1}function $v(e,t){for(var n=0;n<e.length;n++){var r=e[n];if(t(r))return r}}var iR=(function(){function e(){this.transfomers={}}return e.prototype.register=function(t){this.transfomers[t.name]=t},e.prototype.findApplicable=function(t){return aR(this.transfomers,function(n){return n.isApplicable(t)})},e.prototype.findByName=function(t){return this.transfomers[t]},e})(),sR=function(e){return Object.prototype.toString.call(e).slice(8,-1)},c7=function(e){return typeof e>"u"},oR=function(e){return e===null},Mc=function(e){return typeof e!="object"||e===null||e===Object.prototype?!1:Object.getPrototypeOf(e)===null?!0:Object.getPrototypeOf(e)===Object.prototype},Ng=function(e){return Mc(e)&&Object.keys(e).length===0},Ss=function(e){return Array.isArray(e)},lR=function(e){return typeof e=="string"},uR=function(e){return typeof e=="number"&&!isNaN(e)},cR=function(e){return typeof e=="boolean"},dR=function(e){return e instanceof RegExp},Pc=function(e){return e instanceof Map},Bc=function(e){return e instanceof Set},d7=function(e){return sR(e)==="Symbol"},fR=function(e){return e instanceof Date&&!isNaN(e.valueOf())},hR=function(e){return e instanceof Error},Vv=function(e){return typeof e=="number"&&isNaN(e)},mR=function(e){return cR(e)||oR(e)||c7(e)||uR(e)||lR(e)||d7(e)},pR=function(e){return typeof e=="bigint"},gR=function(e){return e===1/0||e===-1/0},bR=function(e){return ArrayBuffer.isView(e)&&!(e instanceof DataView)},yR=function(e){return e instanceof URL},f7=function(e){return e.replace(/\./g,"\\.")},g1=function(e){return e.map(String).map(f7).join(".")},vc=function(e){for(var t=[],n="",r=0;r<e.length;r++){var a=e.charAt(r),s=a==="\\"&&e.charAt(r+1)===".";if(s){n+=".",r++;continue}var l=a===".";if(l){t.push(n),n="";continue}n+=a}var u=n;return t.push(u),t},Og=function(){return Og=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])}return e},Og.apply(this,arguments)},Rg=function(e,t){var n=typeof Symbol=="function"&&e[Symbol.iterator];if(!n)return e;var r=n.call(e),a,s=[],l;try{for(;(t===void 0||t-- >0)&&!(a=r.next()).done;)s.push(a.value)}catch(u){l={error:u}}finally{try{a&&!a.done&&(n=r.return)&&n.call(r)}finally{if(l)throw l.error}}return s},Dg=function(e,t){for(var n=0,r=t.length,a=e.length;n<r;n++,a++)e[a]=t[n];return e};function Da(e,t,n,r){return{isApplicable:e,annotation:t,transform:n,untransform:r}}var h7=[Da(c7,"undefined",function(){return null},function(){}),Da(pR,"bigint",function(e){return e.toString()},function(e){return typeof BigInt<"u"?BigInt(e):(console.error("Please add a BigInt polyfill."),e)}),Da(fR,"Date",function(e){return e.toISOString()},function(e){return new Date(e)}),Da(hR,"Error",function(e,t){var n={name:e.name,message:e.message};return t.allowedErrorProps.forEach(function(r){n[r]=e[r]}),n},function(e,t){var n=new Error(e.message);return n.name=e.name,n.stack=e.stack,t.allowedErrorProps.forEach(function(r){n[r]=e[r]}),n}),Da(dR,"regexp",function(e){return""+e},function(e){var t=e.slice(1,e.lastIndexOf("/")),n=e.slice(e.lastIndexOf("/")+1);return new RegExp(t,n)}
50),Da(Bc,"set",function(e){return Dg([],Rg(e.values()))},function(e){return new Set(e)}),Da(Pc,"map",function(e){return Dg([],Rg(e.entries()))},function(e){return new Map(e)}),Da(function(e){return Vv(e)||gR(e)},"number",function(e){return Vv(e)?"NaN":e>0?"Infinity":"-Infinity"},Number),Da(function(e){return e===0&&1/e===-1/0},"number",function(){return"-0"},Number),Da(yR,"URL",function(e){return e.toString()},function(e){return new URL(e)})];function ch(e,t,n,r){return{isApplicable:e,annotation:t,transform:n,untransform:r}}var m7=ch(function(e,t){if(d7(e)){var n=!!t.symbolRegistry.getIdentifier(e);return n}return!1},function(e,t){var n=t.symbolRegistry.getIdentifier(e);return["symbol",n]},function(e){return e.description},function(e,t,n){var r=n.symbolRegistry.getValue(t[1]);if(!r)throw new Error("Trying to deserialize unknown symbol");return r}),vR=[Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array,Uint8ClampedArray].reduce(function(e,t){return e[t.name]=t,e},{}),p7=ch(bR,function(e){return["typed-array",e.constructor.name]},function(e){return Dg([],Rg(e))},function(e,t){var n=vR[t[1]];if(!n)throw new Error("Trying to deserialize unknown typed array");return new n(e)});function g7(e,t){if(e?.constructor){var n=!!t.classRegistry.getIdentifier(e.constructor);return n}return!1}var b7=ch(g7,function(e,t){var n=t.classRegistry.getIdentifier(e.constructor);return["class",n]},function(e,t){var n=t.classRegistry.getAllowedProps(e.constructor);if(!n)return Og({},e);var r={};return n.forEach(function(a){r[a]=e[a]}),r},function(e,t,n){var r=n.classRegistry.getValue(t[1]);if(!r)throw new Error("Trying to deserialize unknown class - check https://github.com/blitz-js/superjson/issues/116#issuecomment-773996564");return Object.assign(Object.create(r.prototype),e)}),y7=ch(function(e,t){return!!t.customTransformerRegistry.findApplicable(e)},function(e,t){var n=t.customTransformerRegistry.findApplicable(e);return["custom",n.name]},function(e,t){var n=t.customTransformerRegistry.findApplicable(e);return n.serialize(e)},function(e,t,n){var r=n.customTransformerRegistry.findByName(t[1]);if(!r)throw new Error("Trying to deserialize unknown custom value");return r.deserialize(e)}),xR=[b7,m7,y7,p7],Gv=function(e,t){var n=$v(xR,function(a){return a.isApplicable(e,t)});if(n)return{value:n.transform(e,t),type:n.annotation(e,t)};var r=$v(h7,function(a){return a.isApplicable(e,t)});if(r)return{value:r.transform(e,t),type:r.annotation}},v7={};h7.forEach(function(e){v7[e.annotation]=e});var ER=function(e,t,n){if(Ss(t))switch(t[0]){case"symbol":return m7.untransform(e,t,n);case"class":return b7.untransform(e,t,n);case"custom":return y7.untransform(e,t,n);case"typed-array":return p7.untransform(e,t,n);default:throw new Error("Unknown transformation: "+t)}else{var r=v7[t];if(!r)throw new Error("Unknown transformation: "+t);return r.untransform(e,n)}},Rl=function(e,t){for(var n=e.keys();t>0;)n.next(),t--;return n.next().value};function x7(e){if(ff(e,"__proto__"))throw new Error("__proto__ is not allowed as a property");if(ff(e,"prototype"))throw new Error("prototype is not allowed as a property");if(ff(e,"constructor"))throw new Error("constructor is not allowed as a property")}var _R=function(e,t){x7(t);for(var n=0;n<t.length;n++){var r=t[n];if(Bc(e))e=Rl(e,+r);else if(Pc(e)){var a=+r,s=+t[++n]==0?"key":"value",l=Rl(e,a);switch(s){case"key":e=l;break;case"value":e=e.get(l);break}}else e=e[r]}return e},Lg=function(e,t,n){if(x7(t),t.length===0)return n(e);for(var r=e,a=0;a<t.length-1;a++){var s=t[a];if(Ss(r)){var l=+s;r=r[l]}else if(Mc(r))r=r[s];else if(Bc(r)){var u=+s;r=Rl(r,u)}else if(Pc(r)){var d=a===t.length-2;if(d)break;var u=+s,f=+t[++a]==0?"key":"value",p=Rl(r,u);switch(f){case"key":r=p;break;case"value":r=r.get(p);break}}}var m=t[t.length-1];if(Ss(r)?r[+m]=n(r[+m]):Mc(r)&&(r[m]=n(r[m])),Bc(r)){var b=Rl(r,+m),y=n(b);b!==y&&(r.delete(b),r.add(y))}if(Pc(r)){var u=+t[t.length-2],E=Rl(r,u),f=+m==0?"key":"value";switch(f){case"key":{var T=n(E);r.set(T,r.get(E)),T!==E&&r.delete(E);break}case"value":{r.set(E,n(r.get(E)));break}}}return e},Si=function(e,t){var n=typeof Symbol=="function"&&e[Symbol.iterator];if(!n)return e;var r=n.call(e),a,s=[],l;try{for(;(t===void 0||t-- >0)&&!(a=r.next()).done;)s.push(a.value)}catch(u){l={error:u}}finally{try{a&&!a.done&&(n=r.return)&&n.call(r)}finally{if(l)throw l.error}}return s},ys=function(e,t){for(var n=0,r=t.length,a=e.length;n<r;n++,a++)e[a]=t[n];return e};function Ig(e,t,n){if(n===void 0&&(n=[]),!!e){if(!Ss(e)){Fl(e,function(l,u){return Ig(l,t,ys(ys([],Si(n)),Si(vc(u))))});return}var r=Si(e,2),a=r[0],s=r[1];s&&Fl(s,function(l,u){Ig(l,t,ys(ys([],Si(n)),Si(vc(u))))}),t(a,n)}}function TR(e,t,n){return Ig(t,function(r,a){e=Lg(e,a,function(s){return ER(s,r,n)})}),e}function SR(e,t){function n(l,u){var d=_R(e,vc(u));
50l.map(vc).forEach(function(f){e=Lg(e,f,function(){return d})})}if(Ss(t)){var r=Si(t,2),a=r[0],s=r[1];a.forEach(function(l){e=Lg(e,vc(l),function(){return e})}),s&&Fl(s,n)}else Fl(t,n);return e}var wR=function(e,t){return Mc(e)||Ss(e)||Pc(e)||Bc(e)||g7(e,t)};function AR(e,t,n){var r=n.get(e);r?r.push(t):n.set(e,[t])}function kR(e,t){var n={},r=void 0;return e.forEach(function(a){if(!(a.length<=1)){t||(a=a.map(function(d){return d.map(String)}).sort(function(d,f){return d.length-f.length}));var s=Si(a),l=s[0],u=s.slice(1);l.length===0?r=u.map(g1):n[g1(l)]=u.map(g1)}}),r?Ng(n)?[r]:[r,n]:Ng(n)?void 0:n}var E7=function(e,t,n,r,a,s,l){var u;a===void 0&&(a=[]),s===void 0&&(s=[]),l===void 0&&(l=new Map);var d=mR(e);if(!d){AR(e,a,t);var f=l.get(e);if(f)return r?{transformedValue:null}:f}if(!wR(e,n)){var p=Gv(e,n),m=p?{transformedValue:p.value,annotations:[p.type]}:{transformedValue:e};return d||l.set(e,m),m}if(ff(s,e))return{transformedValue:null};var b=Gv(e,n),y=(u=b?.value)!==null&&u!==void 0?u:e,E=Ss(y)?[]:{},T={};Fl(y,function(k,O){var I=E7(k,t,n,r,ys(ys([],Si(a)),[O]),ys(ys([],Si(s)),[e]),l);E[O]=I.transformedValue,Ss(I.annotations)?T[O]=I.annotations:Mc(I.annotations)&&Fl(I.annotations,function(K,V){T[f7(O)+"."+V]=K})});var N=Ng(T)?{transformedValue:E,annotations:b?[b.type]:void 0}:{transformedValue:E,annotations:b?[b.type,T]:T};return d||l.set(e,N),N};function _7(e){return Object.prototype.toString.call(e).slice(8,-1)}function Yv(e){return _7(e)==="Array"}function CR(e){if(_7(e)!=="Object")return!1;const t=Object.getPrototypeOf(e);return!!t&&t.constructor===Object&&t===Object.prototype}function NR(e,t,n,r,a){const s={}.propertyIsEnumerable.call(r,t)?"enumerable":"nonenumerable";s==="enumerable"&&(e[t]=n),a&&s==="nonenumerable"&&Object.defineProperty(e,t,{value:n,enumerable:!1,writable:!0,configurable:!0})}function Mg(e,t={}){if(Yv(e))return e.map(a=>Mg(a,t));if(!CR(e))return e;const n=Object.getOwnPropertyNames(e),r=Object.getOwnPropertySymbols(e);return[...n,...r].reduce((a,s)=>{if(Yv(t.props)&&!t.props.includes(s))return a;const l=e[s],u=Mg(l,t);return NR(a,s,u,e,t.nonenumerable),a},{})}var oo=function(){return oo=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])}return e},oo.apply(this,arguments)},OR=function(e,t){var n=typeof Symbol=="function"&&e[Symbol.iterator];if(!n)return e;var r=n.call(e),a,s=[],l;try{for(;(t===void 0||t-- >0)&&!(a=r.next()).done;)s.push(a.value)}catch(u){l={error:u}}finally{try{a&&!a.done&&(n=r.return)&&n.call(r)}finally{if(l)throw l.error}}return s},RR=function(e,t){for(var n=0,r=t.length,a=e.length;n<r;n++,a++)e[a]=t[n];return e},Mi=(function(){function e(t){var n=t===void 0?{}:t,r=n.dedupe,a=r===void 0?!1:r;this.classRegistry=new tR,this.symbolRegistry=new u7(function(s){var l;return(l=s.description)!==null&&l!==void 0?l:""}),this.customTransformerRegistry=new iR,this.allowedErrorProps=[],this.dedupe=a}return e.prototype.serialize=function(t){var n=new Map,r=E7(t,n,this,this.dedupe),a={json:r.transformedValue};r.annotations&&(a.meta=oo(oo({},a.meta),{values:r.annotations}));var s=kR(n,this.dedupe);return s&&(a.meta=oo(oo({},a.meta),{referentialEqualities:s})),a},e.prototype.deserialize=function(t){var n=t.json,r=t.meta,a=Mg(n);return r?.values&&(a=TR(a,r.values,this)),r?.referentialEqualities&&(a=SR(a,r.referentialEqualities)),a},e.prototype.stringify=function(t){return JSON.stringify(this.serialize(t))},e.prototype.parse=function(t){return this.deserialize(JSON.parse(t))},e.prototype.registerClass=function(t,n){this.classRegistry.register(t,n)},e.prototype.registerSymbol=function(t,n){this.symbolRegistry.register(t,n)},e.prototype.registerCustom=function(t,n){this.customTransformerRegistry.register(oo({name:n},t))},e.prototype.allowErrorProps=function(){for(var t,n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];(t=this.allowedErrorProps).push.apply(t,RR([],OR(n)))},e.defaultInstance=new e,e.serialize=e.defaultInstance.serialize.bind(e.defaultInstance),e.deserialize=e.defaultInstance.deserialize.bind(e.defaultInstance),e.stringify=e.defaultInstance.stringify.bind(e.defaultInstance),e.parse=e.defaultInstance.parse.bind(e.defaultInstance),e.registerClass=e.defaultInstance.registerClass.bind(e.defaultInstance),e.registerSymbol=e.defaultInstance.registerSymbol.bind(e.defaultInstance),e.registerCustom=e.defaultInstance.registerCustom.bind(e.defaultInstance),e.allowErrorProps=e.defaultInstance.allowErrorProps.bind(e.defaultInstance),e})();Mi.serialize;Mi.deserialize;Mi.stringify;Mi.parse;Mi.registerClass;Mi.registerCustom;Mi.registerSymbol;Mi.allowErrorProps;var DR=(e,t,n,r,a,s,l,u)=>{let d=document.documentElement,f=["light","dark"];
vendor: 7,464 bytes, line 50
50function p(y){(Array.isArray(e)?e:[e]).forEach(E=>{let T=E==="class",N=T&&s?a.map(k=>s[k]||k):a;T?(d.classList.remove(...N),d.classList.add(s&&s[y]?s[y]:y)):d.setAttribute(E,y)}),m(y)}function m(y){u&&f.includes(y)&&(d.style.colorScheme=y)}function b(){return window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}if(r)p(r);else try{let y=localStorage.getItem(t)||n,E=l&&y==="system"?b():y;p(E)}catch{}},LR=H.createContext(void 0),IR={setTheme:e=>{},themes:[]},MR=()=>{var e;return(e=H.useContext(LR))!=null?e:IR};H.memo(({forcedTheme:e,storageKey:t,attribute:n,enableSystem:r,enableColorScheme:a,defaultTheme:s,value:l,themes:u,nonce:d,scriptProps:f})=>{let p=JSON.stringify([n,t,s,e,u,l,r,a]).slice(1,-1);return H.createElement("script",{...f,suppressHydrationWarning:!0,nonce:typeof window>"u"?d:"",dangerouslySetInnerHTML:{__html:`(${DR.toString()})(${p})`}})});var Y2=l7();const PR=rh(Y2);function BR(e){if(typeof document>"u")return;let t=document.head||document.getElementsByTagName("head")[0],n=document.createElement("style");n.type="text/css",t.appendChild(n),n.styleSheet?n.styleSheet.cssText=e:n.appendChild(document.createTextNode(e))}const zR=e=>{switch(e){case"success":return FR;case"info":return qR;case"warning":return jR;case"error":return $R;default:return null}},UR=Array(12).fill(0),HR=({visible:e,className:t})=>Ie.createElement("div",{className:["sonner-loading-wrapper",t].filter(Boolean).join(" "),"data-visible":e},Ie.createElement("div",{className:"sonner-spinner"},UR.map((n,r)=>Ie.createElement("div",{className:"sonner-loading-bar",key:`spinner-bar-${r}`})))),FR=Ie.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},Ie.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z",clipRule:"evenodd"})),jR=Ie.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"},Ie.createElement("path",{fillRule:"evenodd",d:"M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z",clipRule:"evenodd"})),qR=Ie.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},Ie.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z",clipRule:"evenodd"})),$R=Ie.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},Ie.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z",clipRule:"evenodd"})),VR=Ie.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"},Ie.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),Ie.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"})),GR=()=>{const[e,t]=Ie.useState(document.hidden);return Ie.useEffect(()=>{const n=()=>{t(document.hidden)};return document.addEventListener("visibilitychange",n),()=>window.removeEventListener("visibilitychange",n)},[]),e};let Pg=1;class YR{constructor(){this.subscribe=t=>(this.subscribers.push(t),()=>{const n=this.subscribers.indexOf(t);this.subscribers.splice(n,1)}),this.publish=t=>{this.subscribers.forEach(n=>n(t))},this.addToast=t=>{this.publish(t),this.toasts=[...this.toasts,t]},this.create=t=>{var n;const{message:r,...a}=t,s=typeof t?.id=="number"||((n=t.id)==null?void 0:n.length)>0?t.id:Pg++,l=this.toasts.find(d=>d.id===s),u=t.dismissible===void 0?!0:t.dismissible;return this.dismissedToasts.has(s)&&this.dismissedToasts.delete(s),l?this.toasts=this.toasts.map(d=>d.id===s?(this.publish({...d,...t,id:s,title:r}),{...d,...t,id:s,dismissible:u,title:r}):d):this.addToast({title:r,...a,dismissible:u,id:s}),s},this.dismiss=t=>(t?(this.dismissedToasts.add(t),requestAnimationFrame(()=>this.subscribers.forEach(n=>n({id:t,dismiss:!0})))):this.toasts.forEach(n=>{this.subscribers.forEach(r=>r({id:n.id,dismiss:!0}))}),t),this.message=(t,n)=>this.create({...n,message:t}),this.error=(t,n)=>this.create({...n,message:t,type:"error"}),this.success=(t,n)=>this.create({...n,type:"success",message:t}),this.info=(t,n)=>this.create({...n,type:"info",message:t}),this.warning=(t,n)=>this.create({...n,type:"warning",message:t}),this.loading=(t,n)=>this.create({...n,type:"loading",message:t}),this.promise=(t,n)=>{if(!n)return;let r;n.loading!==void 0&&(r=this.create({...n,promise:t,type:"loading",message:n.loading,description:typeof n.description!="function"?n.description:void 0}));const a=Promise.resolve(t instanceof Function?t():t);let s=r!==void 0,l;const u=a.then(async f=>{if(l=["resolve",f],Ie.isValidElement(f))s=!1,this.create({id:r,type:"default",message:f});else if(XR(f)&&!f.ok){s=!1;const m=typeof n.error=="function"?await n.error(`HTTP error! status: ${f.status}`):n.error,b=typeof n.description=="function"?await n.description(`HTTP error! status: ${f.status}`):n.description,E=typeof m=="object"&&!Ie.isValidElement(m)?m:{message:m};this.create({id:r,type:"error",description:b,...E})}else if(f instanceof Error){s=!1;const m=typeof n.error=="function"?await n.error(f):n.error,b=typeof n.description=="function"?await n.description(f):n.description,E=typeof m=="object"&&!Ie.isValidElement(m)?m:{message:m};this.create({id:r,type:"error",description:b,...E})}else if(n.success!==void 0){s=!1;const m=typeof n.success=="function"?await n.success(f):n.success,b=typeof n.description=="function"?await n.description(f):n.description,E=typeof m=="object"&&!Ie.isValidElement(m)?m:{message:m};this.create({id:r,type:"success",description:b,...E})}}).catch(async f=>{if(l=["reject",f],n.error!==void 0){s=!1;const p=typeof n.error=="function"?await n.error(f):n.error,m=typeof n.description=="function"?await n.description(f):n.description,y=typeof p=="object"&&!Ie.isValidElement(p)?p:{message:p};this.create({id:r,type:"error",description:m,...y})}}).finally(()=>{s&&(this.dismiss(r),r=void 0),n.finally==null||n.finally.call(n)}),d=()=>new Promise((f,p)=>u.then(()=>l[0]==="reject"?p(l[1]):f(l[1])).catch(p));return typeof r!="string"&&typeof r!="number"?{unwrap:d}:Object.assign(r,{unwrap:d})},this.custom=(t,n)=>{const r=n?.id||Pg++;return this.create({jsx:t(r),id:r,...n}),r},this.getActiveToasts=()=>this.toasts.filter(t=>!this.dismissedToasts.has(t.id)),this.subscribers=[],this.toasts=[],this.dismissedToasts=new Set}}const vr=new YR,QR=(e,t)=>{const n=t?.id||Pg++;return vr.addToast({title:e,...t,id:n}),n},XR=e=>e&&typeof e=="object"&&"ok"in e&&typeof e.ok=="boolean"&&"status"in e&&typeof e.status=="number",WR=QR,KR=()=>vr.toasts,ZR=()=>vr.getActiveToasts(),Qv=Object.assign(WR,{success:vr.success,info:vr.info,warning:vr.warning,error:vr.error,custom:vr.custom,message:vr.message,promise:vr.promise,dismiss:vr.dismiss,loading:vr.loading},{getHistory:KR,getToasts:ZR});BR
vendor: 14,873 bytes, line 50
50("[data-sonner-toaster][dir=ltr],html[dir=ltr]{--toast-icon-margin-start:-3px;--toast-icon-margin-end:4px;--toast-svg-margin-start:-1px;--toast-svg-margin-end:0px;--toast-button-margin-start:auto;--toast-button-margin-end:0;--toast-close-button-start:0;--toast-close-button-end:unset;--toast-close-button-transform:translate(-35%, -35%)}[data-sonner-toaster][dir=rtl],html[dir=rtl]{--toast-icon-margin-start:4px;--toast-icon-margin-end:-3px;--toast-svg-margin-start:0px;--toast-svg-margin-end:-1px;--toast-button-margin-start:0;--toast-button-margin-end:auto;--toast-close-button-start:unset;--toast-close-button-end:0;--toast-close-button-transform:translate(35%, -35%)}[data-sonner-toaster]{position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1:hsl(0, 0%, 99%);--gray2:hsl(0, 0%, 97.3%);--gray3:hsl(0, 0%, 95.1%);--gray4:hsl(0, 0%, 93%);--gray5:hsl(0, 0%, 90.9%);--gray6:hsl(0, 0%, 88.7%);--gray7:hsl(0, 0%, 85.8%);--gray8:hsl(0, 0%, 78%);--gray9:hsl(0, 0%, 56.1%);--gray10:hsl(0, 0%, 52.3%);--gray11:hsl(0, 0%, 43.5%);--gray12:hsl(0, 0%, 9%);--border-radius:8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:0;z-index:999999999;transition:transform .4s ease}@media (hover:none) and (pointer:coarse){[data-sonner-toaster][data-lifted=true]{transform:none}}[data-sonner-toaster][data-x-position=right]{right:var(--offset-right)}[data-sonner-toaster][data-x-position=left]{left:var(--offset-left)}[data-sonner-toaster][data-x-position=center]{left:50%;transform:translateX(-50%)}[data-sonner-toaster][data-y-position=top]{top:var(--offset-top)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--offset-bottom)}[data-sonner-toast]{--y:translateY(100%);--lift-amount:calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:0;overflow-wrap:anywhere}[data-sonner-toast][data-styled=true]{padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px rgba(0,0,0,.1);width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}[data-sonner-toast]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-y-position=top]{top:0;--y:translateY(-100%);--lift:1;--lift-amount:calc(1 * var(--gap))}[data-sonner-toast][data-y-position=bottom]{bottom:0;--y:translateY(100%);--lift:-1;--lift-amount:calc(var(--lift) * var(--gap))}[data-sonner-toast][data-styled=true] [data-description]{font-weight:400;line-height:1.4;color:#3f3f3f}[data-rich-colors=true][data-sonner-toast][data-styled=true] [data-description]{color:inherit}[data-sonner-toaster][data-sonner-theme=dark] [data-description]{color:#e8e8e8}[data-sonner-toast][data-styled=true] [data-title]{font-weight:500;line-height:1.5;color:inherit}[data-sonner-toast][data-styled=true] [data-icon]{display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}[data-sonner-toast][data-promise=true] [data-icon]>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}[data-sonner-toast][data-styled=true] [data-icon]>*{flex-shrink:0}[data-sonner-toast][data-styled=true] [data-icon] svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}[data-sonner-toast][data-styled=true] [data-content]{display:flex;flex-direction:column;gap:2px}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;font-weight:500;cursor:pointer;outline:0;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}[data-sonner-toast][data-styled=true] [data-button]:focus-visible{box-shadow:0 0 0 2px rgba(0,0,0,.4)}[data-sonner-toast][data-styled=true] [data-button]:first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}[data-sonner-toast][data-styled=true] [data-cancel]{color:var(--normal-text);background:rgba(0,0,0,.08)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-styled=true] [data-cancel]{background:rgba(255,255,255,.3)}[data-sonner-toast][data-styled=true] [data-close-button]{position:absolute;left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;color:var(--gray12);background:var(--normal-bg);border:1px solid var(--gray4);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}[data-sonner-toast][data-styled=true] [data-close-button]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-styled=true] [data-disabled=true]{cursor:not-allowed}[data-sonner-toast][data-styled=true]:hover [data-close-button]:hover{background:var(--gray2);border-color:var(--gray5)}[data-sonner-toast][data-swiping=true]::before{content:'';position:absolute;left:-100%;right:-100%;height:100%;z-index:-1}[data-sonner-toast][data-y-position=top][data-swiping=true]::before{bottom:50%;transform:scaleY(3) translateY(50%)}[data-sonner-toast][data-y-position=bottom][data-swiping=true]::before{top:50%;transform:scaleY(3) translateY(-50%)}[data-sonner-toast][data-swiping=false][data-removed=true]::before{content:'';position:absolute;inset:0;transform:scaleY(2)}[data-sonner-toast][data-expanded=true]::after{content:'';position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}[data-sonner-toast][data-mounted=true]{--y:translateY(0);opacity:1}[data-sonner-toast][data-expanded=false][data-front=false]{--scale:var(--toasts-before) * 0.05 + 1;--y:translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}[data-sonner-toast]>*{transition:opacity .4s}[data-sonner-toast][data-x-position=right]{right:0}[data-sonner-toast][data-x-position=left]{left:0}[data-sonner-toast][data-expanded=false][data-front=false][data-styled=true]>*{opacity:0}[data-sonner-toast][data-visible=false]{opacity:0;pointer-events:none}[data-sonner-toast][data-mounted=true][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}[data-sonner-toast][data-removed=true][data-front=true][data-swipe-out=false]{--y:translateY(calc(var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=false]{--y:translateY(40%);opacity:0;transition:transform .5s,opacity .2s}[data-sonner-toast][data-removed=true][data-front=false]::before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount-y,0)) translateX(var(--swipe-amount-x,0));transition:none}[data-sonner-toast][data-swiped=true]{user-select:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation-duration:.2s;animation-timing-function:ease-out;animation-fill-mode:forwards}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=left]{animation-name:swipe-out-left}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=right]{animation-name:swipe-out-right}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=up]{animation-name:swipe-out-up}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=down]{animation-name:swipe-out-down}@keyframes swipe-out-left{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) - 100%));opacity:0}}@keyframes swipe-out-right{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) + 100%));opacity:0}}@keyframes swipe-out-up{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) - 100%));opacity:0}}@keyframes swipe-out-down{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) + 100%));opacity:0}}@media (max-width:600px){[data-sonner-toaster]{position:fixed;right:var(--mobile-offset-right);left:var(--mobile-offset-left);width:100%}[data-sonner-toaster][dir=rtl]{left:calc(var(--mobile-offset-left) * -1)}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset-left) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset-left)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--mobile-offset-bottom)}[data-sonner-toaster][data-y-position=top]{top:var(--mobile-offset-top)}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset-left);right:var(--mobile-offset-right);transform:none}}[data-sonner-toaster][data-sonner-theme=light]{--normal-bg:#fff;--normal-border:var(--gray4);--normal-text:var(--gray12);--success-bg:hsl(143, 85%, 96%);--success-border:hsl(145, 92%, 87%);--success-text:hsl(140, 100%, 27%);--info-bg:hsl(208, 100%, 97%);--info-border:hsl(221, 91%, 93%);--info-text:hsl(210, 92%, 45%);--warning-bg:hsl(49, 100%, 97%);--warning-border:hsl(49, 91%, 84%);--warning-text:hsl(31, 92%, 45%);--error-bg:hsl(359, 100%, 97%);--error-border:hsl(359, 100%, 94%);--error-text:hsl(360, 100%, 45%)}[data-sonner-toaster][data-sonner-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg:#000;--normal-border:hsl(0, 0%, 20%);--normal-text:var(--gray1)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg:#fff;--normal-border:var(--gray3);--normal-text:var(--gray12)}[data-sonner-toaster][data-sonner-theme=dark]{--normal-bg:#000;--normal-bg-hover:hsl(0, 0%, 12%);--normal-border:hsl(0, 0%, 20%);--normal-border-hover:hsl(0, 0%, 25%);--normal-text:var(--gray1);--success-bg:hsl(150, 100%, 6%);--success-border:hsl(147, 100%, 12%);--success-text:hsl(150, 86%, 65%);--info-bg:hsl(215, 100%, 6%);--info-border:hsl(223, 43%, 17%);--info-text:hsl(216, 87%, 65%);--warning-bg:hsl(64, 100%, 6%);--warning-border:hsl(60, 100%, 9%);--warning-text:hsl(46, 87%, 65%);--error-bg:hsl(358, 76%, 10%);--error-border:hsl(357, 89%, 16%);--error-text:hsl(358, 100%, 81%)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]{background:var(--normal-bg);border-color:var(--normal-border);color:var(--normal-text)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]:hover{background:var(--normal-bg-hover);border-color:var(--normal-border-hover)}[data-rich-colors=true][data-sonner-toast][data-type=success]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size:16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:first-child{animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}100%{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}100%{opacity:.15}}@media (prefers-reduced-motion){.sonner-loading-bar,[data-sonner-toast],[data-sonner-toast]>*{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)}");function 
vendor: 1,685 bytes, line 50
50Pd(e){return e.label!==void 0}const JR=3,eD="24px",tD="16px",Xv=4e3,nD=356,rD=14,aD=45,iD=200;function La(...e){return e.filter(Boolean).join(" ")}function sD(e){const[t,n]=e.split("-"),r=[];return t&&r.push(t),n&&r.push(n),r}const oD=e=>{var t,n,r,a,s,l,u,d,f;const{invert:p,toast:m,unstyled:b,interacting:y,setHeights:E,visibleToasts:T,heights:N,index:k,toasts:O,expanded:I,removeToast:K,defaultRichColors:V,closeButton:B,style:z,cancelButtonStyle:W,actionButtonStyle:re,className:Y="",descriptionClassName:se="",duration:ee,position:me,gap:ue,expandByDefault:be,classNames:$,icons:ae,closeButtonAriaLabel:te="Close toast"}=e,[Oe,U]=Ie.useState(null),[j,ce]=Ie.useState(null),[R,he]=Ie.useState(!1),[_e,Re]=Ie.useState(!1),[Me,je]=Ie.useState(!1),[Ke,At]=Ie.useState(!1),[Qt,en]=Ie.useState(!1),[Tr,Rn]=Ie.useState(0),[ua,Hr]=Ie.useState(0),ir=Ie.useRef(m.duration||ee||Xv),Fr=Ie.useRef(null),tn=Ie.useRef(null),zi=k===0,Is=k+1<=T,Dn=m.type,Sa=m.dismissible!==!1,Ln=m.className||"",cu=m.descriptionClassName||"",ve=Ie.useMemo(()=>N.findIndex(Ze=>Ze.toastId===m.id)||0,[N,m.id]),De=Ie.useMemo(()=>{var Ze;return(Ze=m.closeButton)!=null?Ze:B},[m.closeButton,B]),Qe=Ie.useMemo(()=>m.duration||ee||Xv,[m.duration,ee]),rt=Ie.useRef(0),ct=Ie.useRef(0),Fn=Ie.useRef(0),jn=Ie.useRef(null),[In,nn]=me.split("-"),Mn=Ie.useMemo(()=>N.reduce((Ze,Ft,Sn)=>Sn>=ve?Ze:Ze+Ft.height,0),[N,ve]),wt=GR(),wa=m.invert||p,Kn=Dn==="loading";ct.current=Ie.useMemo(()=>ve*ue+Mn,[ve,Mn]),Ie.useEffect(()=>{ir.current=Qe},[Qe]),Ie.useEffect(()=>{he(!0)},[]),Ie.useEffect(()=>{const Ze=tn.current;if(Ze){const Ft=Ze.getBoundingClientRect().height;return Hr(Ft),E(Sn=>[{toastId:m.id,height:Ft,position:m.position}
vendor: 18,564 bytes, line 50
50,...Sn]),()=>E(Sn=>Sn.filter(qn=>qn.toastId!==m.id))}},[E,m.id]),Ie.useLayoutEffect(()=>{if(!R)return;const Ze=tn.current,Ft=Ze.style.height;Ze.style.height="auto";const Sn=Ze.getBoundingClientRect().height;Ze.style.height=Ft,Hr(Sn),E(qn=>qn.find(Vt=>Vt.toastId===m.id)?qn.map(Vt=>Vt.toastId===m.id?{...Vt,height:Sn}:Vt):[{toastId:m.id,height:Sn,position:m.position},...qn])},[R,m.title,m.description,E,m.id,m.jsx,m.action,m.cancel]);const Aa=Ie.useCallback(()=>{Re(!0),Rn(ct.current),E(Ze=>Ze.filter(Ft=>Ft.toastId!==m.id)),setTimeout(()=>{K(m)},iD)},[m,K,E,ct]);Ie.useEffect(()=>{if(m.promise&&Dn==="loading"||m.duration===1/0||m.type==="loading")return;let Ze;return I||y||wt?(()=>{if(Fn.current<rt.current){const qn=new Date().getTime()-rt.current;ir.current=ir.current-qn}Fn.current=new Date().getTime()})():(()=>{ir.current!==1/0&&(rt.current=new Date().getTime(),Ze=setTimeout(()=>{m.onAutoClose==null||m.onAutoClose.call(m,m),Aa()},ir.current))})(),()=>clearTimeout(Ze)},[I,y,m,Dn,wt,Aa]),Ie.useEffect(()=>{m.delete&&(Aa(),m.onDismiss==null||m.onDismiss.call(m,m))},[Aa,m.delete]);function Lo(){var Ze;if(ae?.loading){var Ft;return Ie.createElement("div",{className:La($?.loader,m==null||(Ft=m.classNames)==null?void 0:Ft.loader,"sonner-loader"),"data-visible":Dn==="loading"},ae.loading)}return Ie.createElement(HR,{className:La($?.loader,m==null||(Ze=m.classNames)==null?void 0:Ze.loader),visible:Dn==="loading"})}const Io=m.icon||ae?.[Dn]||zR(Dn);var Ms,ka;return Ie.createElement("li",{tabIndex:0,ref:tn,className:La(Y,Ln,$?.toast,m==null||(t=m.classNames)==null?void 0:t.toast,$?.default,$?.[Dn],m==null||(n=m.classNames)==null?void 0:n[Dn]),"data-sonner-toast":"","data-rich-colors":(Ms=m.richColors)!=null?Ms:V,"data-styled":!(m.jsx||m.unstyled||b),"data-mounted":R,"data-promise":!!m.promise,"data-swiped":Qt,"data-removed":_e,"data-visible":Is,"data-y-position":In,"data-x-position":nn,"data-index":k,"data-front":zi,"data-swiping":Me,"data-dismissible":Sa,"data-type":Dn,"data-invert":wa,"data-swipe-out":Ke,"data-swipe-direction":j,"data-expanded":!!(I||be&&R),"data-testid":m.testId,style:{"--index":k,"--toasts-before":k,"--z-index":O.length-k,"--offset":`${_e?Tr:ct.current}px`,"--initial-height":be?"auto":`${ua}px`,...z,...m.style},onDragEnd:()=>{je(!1),U(null),jn.current=null},onPointerDown:Ze=>{Ze.button!==2&&(Kn||!Sa||(Fr.current=new Date,Rn(ct.current),Ze.target.setPointerCapture(Ze.pointerId),Ze.target.tagName!=="BUTTON"&&(je(!0),jn.current={x:Ze.clientX,y:Ze.clientY})))},onPointerUp:()=>{var Ze,Ft,Sn;if(Ke||!Sa)return;jn.current=null;const qn=Number(((Ze=tn.current)==null?void 0:Ze.style.getPropertyValue("--swipe-amount-x").replace("px",""))||0),Ui=Number(((Ft=tn.current)==null?void 0:Ft.style.getPropertyValue("--swipe-amount-y").replace("px",""))||0),Vt=new Date().getTime()-((Sn=Fr.current)==null?void 0:Sn.getTime()),sr=Oe==="x"?qn:Ui,Ps=Math.abs(sr)/Vt;if(Math.abs(sr)>=aD||Ps>.11){Rn(ct.current),m.onDismiss==null||m.onDismiss.call(m,m),ce(Oe==="x"?qn>0?"right":"left":Ui>0?"down":"up"),Aa(),At(!0);return}else{var or,lr;(or=tn.current)==null||or.style.setProperty("--swipe-amount-x","0px"),(lr=tn.current)==null||lr.style.setProperty("--swipe-amount-y","0px")}en(!1),je(!1),U(null)},onPointerMove:Ze=>{var Ft,Sn,qn;if(!jn.current||!Sa||((Ft=window.getSelection())==null?void 0:Ft.toString().length)>0)return;const Vt=Ze.clientY-jn.current.y,sr=Ze.clientX-jn.current.x;var Ps;const or=(Ps=e.swipeDirections)!=null?Ps:sD(me);!Oe&&(Math.abs(sr)>1||Math.abs(Vt)>1)&&U(Math.abs(sr)>Math.abs(Vt)?"x":"y");let lr={x:0,y:0};const Mo=ca=>1/(1.5+Math.abs(ca)/20);if(Oe==="y"){if(or.includes("top")||or.includes("bottom"))if(or.includes("top")&&Vt<0||or.includes("bottom")&&Vt>0)lr.y=Vt;else{const ca=Vt*Mo(Vt);lr.y=Math.abs(ca)<Math.abs(Vt)?ca:Vt}}else if(Oe==="x"&&(or.includes("left")||or.includes("right")))if(or.includes("left")&&sr<0||or.includes("right")&&sr>0)lr.x=sr;else{const ca=sr*Mo(sr);lr.x=Math.abs(ca)<Math.abs(sr)?ca:sr}(Math.abs(lr.x)>0||Math.abs(lr.y)>0)&&en(!0),(Sn=tn.current)==null||Sn.style.setProperty("--swipe-amount-x",`${lr.x}px`),(qn=tn.current)==null||qn.style.setProperty("--swipe-amount-y",`${lr.y}px`)}},De&&!m.jsx&&Dn!=="loading"?Ie.createElement("button",{"aria-label":te,"data-disabled":Kn,"data-close-button":!0,onClick:Kn||!Sa?()=>{}:()=>{Aa(),m.onDismiss==null||m.onDismiss.call(m,m)},className:La($?.closeButton,m==null||(r=m.classNames)==null?void 0:r.closeButton)},(ka=ae?.close)!=null?ka:VR):null,(Dn||m.icon||m.promise)&&m.icon!==null&&(ae?.[Dn]!==null||m.icon)?Ie.createElement("div",{"data-icon":"",className:La($?.icon,m==null||(a=m.classNames)==null?void 0:a.icon)},m.promise||m.type==="loading"&&!m.icon?m.icon||Lo():null,m.type!=="loading"?Io:null):null,Ie.createElement("div",{"data-content":"",className:La($?.content,m==null||(s=m.classNames)==null?void 0:s.content)},Ie.createElement("div",{"data-title":"",className:La($?.title,m==null||(l=m.classNames)==null?void 0:l.title)},m.jsx?m.jsx:typeof m.title=="function"?m.title():m.title),m.description?Ie.createElement("div",{"data-description":"",className:La(se,cu,$?.description,m==null||(u=m.classNames)==null?void 0:u.description)},typeof m.description=="function"?m.description():m.description):null),Ie.isValidElement(m.cancel)?m.cancel:m.cancel&&Pd(m.cancel)?Ie.createElement("button",{"data-button":!0,"data-cancel":!0,style:m.cancelButtonStyle||W,onClick:Ze=>{Pd(m.cancel)&&Sa&&(m.cancel.onClick==null||m.cancel.onClick.call(m.cancel,Ze),Aa())},className:La($?.cancelButton,m==null||(d=m.classNames)==null?void 0:d.cancelButton)},m.cancel.label):null,Ie.isValidElement(m.action)?m.action:m.action&&Pd(m.action)?Ie.createElement("button",{"data-button":!0,"data-action":!0,style:m.actionButtonStyle||re,onClick:Ze=>{Pd(m.action)&&(m.action.onClick==null||m.action.onClick.call(m.action,Ze),!Ze.defaultPrevented&&Aa())},className:La($?.actionButton,m==null||(f=m.classNames)==null?void 0:f.actionButton)},m.action.label):null)};function Wv(){if(typeof window>"u"||typeof document>"u")return"ltr";const e=document.documentElement.getAttribute("dir");return e==="auto"||!e?window.getComputedStyle(document.documentElement).direction:e}function lD(e,t){const n={};return[e,t].forEach((r,a)=>{const s=a===1,l=s?"--mobile-offset":"--offset",u=s?tD:eD;function d(f){["top","right","bottom","left"].forEach(p=>{n[`${l}-${p}`]=typeof f=="number"?`${f}px`:f})}typeof r=="number"||typeof r=="string"?d(r):typeof r=="object"?["top","right","bottom","left"].forEach(f=>{r[f]===void 0?n[`${l}-${f}`]=u:n[`${l}-${f}`]=typeof r[f]=="number"?`${r[f]}px`:r[f]}):d(u)}),n}const uD=Ie.forwardRef(function(t,n){const{id:r,invert:a,position:s="bottom-right",hotkey:l=["altKey","KeyT"],expand:u,closeButton:d,className:f,offset:p,mobileOffset:m,theme:b="light",richColors:y,duration:E,style:T,visibleToasts:N=JR,toastOptions:k,dir:O=Wv(),gap:I=rD,icons:K,containerAriaLabel:V="Notifications"}=t,[B,z]=Ie.useState([]),W=Ie.useMemo(()=>r?B.filter(R=>R.toasterId===r):B.filter(R=>!R.toasterId),[B,r]),re=Ie.useMemo(()=>Array.from(new Set([s].concat(W.filter(R=>R.position).map(R=>R.position)))),[W,s]),[Y,se]=Ie.useState([]),[ee,me]=Ie.useState(!1),[ue,be]=Ie.useState(!1),[$,ae]=Ie.useState(b!=="system"?b:typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),te=Ie.useRef(null),Oe=l.join("+").replace(/Key/g,"").replace(/Digit/g,""),U=Ie.useRef(null),j=Ie.useRef(!1),ce=Ie.useCallback(R=>{z(he=>{var _e;return(_e=he.find(Re=>Re.id===R.id))!=null&&_e.delete||vr.dismiss(R.id),he.filter(({id:Re})=>Re!==R.id)})},[]);return Ie.useEffect(()=>vr.subscribe(R=>{if(R.dismiss){requestAnimationFrame(()=>{z(he=>he.map(_e=>_e.id===R.id?{..._e,delete:!0}:_e))});return}setTimeout(()=>{PR.flushSync(()=>{z(he=>{const _e=he.findIndex(Re=>Re.id===R.id);return _e!==-1?[...he.slice(0,_e),{...he[_e],...R},...he.slice(_e+1)]:[R,...he]})})})}),[B]),Ie.useEffect(()=>{if(b!=="system"){ae(b);return}if(b==="system"&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?ae("dark"):ae("light")),typeof window>"u")return;const R=window.matchMedia("(prefers-color-scheme: dark)");try{R.addEventListener("change",({matches:he})=>{ae(he?"dark":"light")})}catch{R.addListener(({matches:_e})=>{try{ae(_e?"dark":"light")}catch(Re){console.error(Re)}})}},[b]),Ie.useEffect(()=>{B.length<=1&&me(!1)},[B]),Ie.useEffect(()=>{const R=he=>{var _e;if(l.every(je=>he[je]||he.code===je)){var Me;me(!0),(Me=te.current)==null||Me.focus()}he.code==="Escape"&&(document.activeElement===te.current||(_e=te.current)!=null&&_e.contains(document.activeElement))&&me(!1)};return document.addEventListener("keydown",R),()=>document.removeEventListener("keydown",R)},[l]),Ie.useEffect(()=>{if(te.current)return()=>{U.current&&(U.current.focus({preventScroll:!0}),U.current=null,j.current=!1)}},[te.current]),Ie.createElement("section",{ref:n,"aria-label":`${V} ${Oe}`,tabIndex:-1,"aria-live":"polite","aria-relevant":"additions text","aria-atomic":"false",suppressHydrationWarning:!0},re.map((R,he)=>{var _e;const[Re,Me]=R.split("-");return W.length?Ie.createElement("ol",{key:R,dir:O==="auto"?Wv():O,tabIndex:-1,ref:te,className:f,"data-sonner-toaster":!0,"data-sonner-theme":$,"data-y-position":Re,"data-x-position":Me,style:{"--front-toast-height":`${((_e=Y[0])==null?void 0:_e.height)||0}px`,"--width":`${nD}px`,"--gap":`${I}px`,...T,...lD(p,m)},onBlur:je=>{j.current&&!je.currentTarget.contains(je.relatedTarget)&&(j.current=!1,U.current&&(U.current.focus({preventScroll:!0}),U.current=null))},onFocus:je=>{je.target instanceof HTMLElement&&je.target.dataset.dismissible==="false"||j.current||(j.current=!0,U.current=je.relatedTarget)},onMouseEnter:()=>me(!0),onMouseMove:()=>me(!0),onMouseLeave:()=>{ue||me(!1)},onDragEnd:()=>me(!1),onPointerDown:je=>{je.target instanceof HTMLElement&&je.target.dataset.dismissible==="false"||be(!0)},onPointerUp:()=>be(!1)},W.filter(je=>!je.position&&he===0||je.position===R).map((je,Ke)=>{var At,Qt;return Ie.createElement(oD,{key:je.id,icons:K,index:Ke,toast:je,defaultRichColors:y,duration:(At=k?.duration)!=null?At:E,className:k?.className,descriptionClassName:k?.descriptionClassName,invert:a,visibleToasts:N,closeButton:(Qt=k?.closeButton)!=null?Qt:d,interacting:ue,position:R,style:k?.style,unstyled:k?.unstyled,classNames:k?.classNames,cancelButtonStyle:k?.cancelButtonStyle,actionButtonStyle:k?.actionButtonStyle,closeButtonAriaLabel:k?.closeButtonAriaLabel,removeToast:ce,toasts:W.filter(en=>en.position==je.position),heights:Y.filter(en=>en.position==je.position),setHeights:se,expandByDefault:u,gap:I,expanded:ee,swipeDirections:t.swipeDirections})})):null}))}),cD=({...e})=>{const{theme:t="system"}=MR();return A.jsx(uD,{"data-loc":"client/src/components/ui/sonner.tsx:8",theme:t,className:"toaster group",style:{"--normal-bg":"var(--popover)","--normal-text":"var(--popover-foreground)","--normal-border":"var(--border)"},...e})};function _i(e,t,{checkForDefaultPrevented:n=!0}={}){return function(a){if(e?.(a),n===!1||!a.defaultPrevented)return t?.(a)}}function Kv(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function T7(...e){return t=>{let n=!1;const r=e.map(a=>{const s=Kv(a,t);return!n&&typeof s=="function"&&(n=!0),s});if(n)return()=>{for(let a=0;a<r.length;a++){const s=r[a];typeof s=="function"?s():Kv(e[a],null)}}}}function wo(...e){return H.useCallback(T7(...e),e)}function S7(e,t=[]){let n=[];function r(s,l){const u=H.createContext(l),d=n.length;n=[...n,l];const f=m=>{const{scope:b,children:y,...E}=m,T=b?.[e]?.[d]||u,N=H.useMemo(()=>E,Object.values(E));return A.jsx(T.Provider,{value:N,children:y})};f.displayName=s+"Provider";function p(m,b){const y=b?.[e]?.[d]||u,E=H.useContext(y);if(E)return E;if(l!==void 0)return l;throw new Error(`\`${m}\` must be used within \`${s}\``)}return[f,p]}const a=()=>{const s=n.map(l=>H.createContext(l));return function(u){const d=u?.[e]||s;return H.useMemo(()=>({[`__scope${e}`]:{...u,[e]:d}}),[u,d])}};return a.scopeName=e,[r,dD(a,...t)]}function dD(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(a=>({useScope:a(),scopeName:a.scopeName}));return function(s){const l=r.reduce((u,{useScope:d,scopeName:f})=>{const m=d(s)[`__scope${f}`];return{...u,...m}},{});return H.useMemo(()=>({[`__scope${t.scopeName}`]:l}),[l])}};return n.scopeName=t.scopeName,n}function w7(e){const t=hD(e),n=H.forwardRef((r,a)=>{const{children:s,...l}=r,u=H.Children.toArray(s),d=u.find(pD);if(d){const f=d.props.children,p=u.map(m=>m===d?H.Children.count(f)>1?H.Children.only(null):H.isValidElement(f)?f.props.children:null:m);return A.jsx(t,{...l,ref:a,children:H.isValidElement(f)?H.cloneElement(f,void 0,p):null})}return A.jsx(t,{...l,ref:a,children:s})});return n.displayName=`${e}.Slot`,n}var fD=w7("Slot");function hD(e){const t=H.forwardRef((n,r)=>{const{children:a,...s}=n;if(H.isValidElement(a)){const l=bD(a),u=gD(s,a.props);return a.type!==H.Fragment&&(u.ref=r?T7(r,l):l),H.cloneElement(a,u)}return H.Children.count(a)>1?H.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var A7=Symbol("radix.slottable");function mD(e){const t=({children:n})=>A.jsx(A.Fragment,{children:n});return t.displayName=`${e}.Slottable`,t.__radixId=A7,t}function pD(e){return H.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===A7}function gD(e,t){const n={...t};for(const r in t){const a=e[r],s=t[r];/^on[A-Z]/.test(r)?a&&s?n[r]=(...u)=>{const d=s(...u);return a(...u),d}:a&&(n[r]=a):r==="style"?n[r]={...a,...s}:r==="className"&&(n[r]=[a,s].filter(Boolean).join(" "))}return{...e,...n}}function bD(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var yD=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],Ao=yD.reduce((e,t)=>{const n=w7(`Primitive.${t}`),r=H.forwardRef((a,s)=>{const{asChild:l,...u}=a,d=l?n:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),A.jsx(d,{...u,ref:s})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function vD(e,t){e&&Y2.flushSync(()=>e.dispatchEvent(t))}function dh(e){const t=H.useRef(e);return H.useEffect(()=>{t.current=e}),H.useMemo(()=>(...n)=>t.current?.(...n),[])}function xD(e,t=globalThis?.document){const n=dh(e);H.useEffect(()=>{const r=a=>{a.key==="Escape"&&n(a)};return t.addEventListener("keydown",r,{capture:!0}),()=>t.removeEventListener("keydown",r,{capture:!0})},[n,t])}var ED="DismissableLayer",Bg="dismissableLayer.update",_D="dismissableLayer.pointerDownOutside",TD="dismissableLayer.focusOutside",Zv,k7=H.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),C7=H.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:a,onFocusOutside:s,onInteractOutside:l,onDismiss:u,...d}=e,f=H.useContext(k7),[p,m]=H.useState(null),b=p?.ownerDocument??globalThis?.document,[,y]=H.useState({}),E=wo(t,z=>m(z)),T=Array.from(f.layers),[N]=[...f.layersWithOutsidePointerEventsDisabled].slice(-1),k=T.indexOf(N),O=p?T.indexOf(p):-1,I=f.layersWithOutsidePointerEventsDisabled.size>0,K=O>=k,V=AD(z=>{const W=z.target,re=[...f.branches].some(Y=>Y.contains(W));!K||re||(a?.(z),l?.(z),z.defaultPrevented||u?.())},b),B=kD(z=>{const W=z.target;[...f.branches].some(Y=>Y.contains(W))||(s?.(z),l?.(z),z.defaultPrevented||u?.())},b);return xD(z=>{O===f.layers.size-1&&(r?.(z),!z.defaultPrevented&&u&&(z.preventDefault(),u()))},b),H.useEffect(()=>{if(p)return n&&(f.layersWithOutsidePointerEventsDisabled.size===0&&(Zv=b.body.style.pointerEvents,b.body.style.pointerEvents="none"),f.layersWithOutsidePointerEventsDisabled.add(p)),f.layers.add(p),Jv(),()=>{n&&f.layersWithOutsidePointerEventsDisabled.size===1&&(b.body.style.pointerEvents=Zv)}},[p,b,n,f]),H.useEffect(()=>()=>{p&&(f.layers.delete(p),f.layersWithOutsidePointerEventsDisabled.delete(p),Jv())},[p,f]),H.useEffect(()=>{const z=()=>y({});return document.addEventListener(Bg,z),()=>document.removeEventListener(Bg,z)},[]),A.jsx(Ao.div,{...d,ref:E,style:{pointerEvents:I?K?"auto":"none":void 0,...e.style},onFocusCapture:_i(e.onFocusCapture,B.onFocusCapture),onBlurCapture:_i(e.onBlurCapture,B.onBlurCapture),onPointerDownCapture:_i(e.onPointerDownCapture,V.onPointerDownCapture)})});C7.displayName=ED;var SD="DismissableLayerBranch",wD=H.forwardRef((e,t)=>{const n=H.useContext(k7),r=H.useRef(null),a=wo(t,r);return H.useEffect(()=>{const s=r.current;if(s)return n.branches.add(s),()=>{n.branches.delete(s)}},[n.branches]),A.jsx(Ao.div,{...e,ref:a})});wD.displayName=SD;function AD(e,t=globalThis?.document){const n=dh(e),r=H.useRef(!1),a=H.useRef(()=>{});return H.useEffect(()=>{const s=u=>{if(u.target&&!r.current){let d=function(){N7(_D,n,f,{discrete:!0})};const f={originalEvent:u};u.pointerType==="touch"?(t.removeEventListener("click",a.current),a.current=d,t.addEventListener("click",a.current,{once:!0})):d()}else t.removeEventListener("click",a.current);r.current=!1},l=window.setTimeout(()=>{t.addEventListener("pointerdown",s)},0);return()=>{window.clearTimeout(l),t.removeEventListener("pointerdown",s),t.removeEventListener("click",a.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}function kD(e,t=globalThis?.document){const n=dh(e),r=H.useRef(!1);return H.useEffect(()=>{const a=s=>{s.target&&!r.current&&N7(TD,n,{originalEvent:s},{discrete:!1})};return t.addEventListener("focusin",a),()=>t.removeEventListener("focusin",a)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function Jv(){const e=new CustomEvent(Bg);document.dispatchEvent(e)}function N7(e,t,n,{discrete:r}){const a=n.originalEvent.target,s=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&a.addEventListener(e,t,{once:!0}),r?vD(a,s):a.dispatchEvent(s)}var zc=globalThis?.document?H.useLayoutEffect:()=>{};const CD=["top","right","bottom","left"],ws=Math.min,Lr=Math.max,Sf=Math.round,Bd=Math.floor,Va=e=>({x:e,y:e}),ND={left:"right",right:"left",bottom:"top",top:"bottom"},OD={start:"end",end:"start"};function zg(e,t,n){return Lr(e,ws(t,n))}function Oi(e,t){return typeof e=="function"?e(t):e}function Ri(e){return e.split("-")[0]}function Xl(e){return e.split("-")[1]}function Q2(e){return e==="x"?"y":"x"}function X2(e){return e==="y"?"height":"width"}const RD=new Set(["top","bottom"]);function Fa(e){return RD.has(Ri(e))?"y":"x"}function W2(e){return Q2(Fa(e))}
vendor: 14,095 bytes, line 50
50function DD(e,t,n){n===void 0&&(n=!1);const r=Xl(e),a=W2(e),s=X2(a);let l=a==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[s]>t.floating[s]&&(l=wf(l)),[l,wf(l)]}function LD(e){const t=wf(e);return[Ug(e),t,Ug(t)]}function Ug(e){return e.replace(/start|end/g,t=>OD[t])}const e5=["left","right"],t5=["right","left"],ID=["top","bottom"],MD=["bottom","top"];function PD(e,t,n){switch(e){case"top":case"bottom":return n?t?t5:e5:t?e5:t5;case"left":case"right":return t?ID:MD;default:return[]}}function BD(e,t,n,r){const a=Xl(e);let s=PD(Ri(e),n==="start",r);return a&&(s=s.map(l=>l+"-"+a),t&&(s=s.concat(s.map(Ug)))),s}function wf(e){return e.replace(/left|right|bottom|top/g,t=>ND[t])}function zD(e){return{top:0,right:0,bottom:0,left:0,...e}}function O7(e){return typeof e!="number"?zD(e):{top:e,right:e,bottom:e,left:e}}function Af(e){const{x:t,y:n,width:r,height:a}=e;return{width:r,height:a,top:n,left:t,right:t+r,bottom:n+a,x:t,y:n}}function n5(e,t,n){let{reference:r,floating:a}=e;const s=Fa(t),l=W2(t),u=X2(l),d=Ri(t),f=s==="y",p=r.x+r.width/2-a.width/2,m=r.y+r.height/2-a.height/2,b=r[u]/2-a[u]/2;let y;switch(d){case"top":y={x:p,y:r.y-a.height};break;case"bottom":y={x:p,y:r.y+r.height};break;case"right":y={x:r.x+r.width,y:m};break;case"left":y={x:r.x-a.width,y:m};break;default:y={x:r.x,y:r.y}}switch(Xl(t)){case"start":y[l]-=b*(n&&f?-1:1);break;case"end":y[l]+=b*(n&&f?-1:1);break}return y}const UD=async(e,t,n)=>{const{placement:r="bottom",strategy:a="absolute",middleware:s=[],platform:l}=n,u=s.filter(Boolean),d=await(l.isRTL==null?void 0:l.isRTL(t));let f=await l.getElementRects({reference:e,floating:t,strategy:a}),{x:p,y:m}=n5(f,r,d),b=r,y={},E=0;for(let T=0;T<u.length;T++){const{name:N,fn:k}=u[T],{x:O,y:I,data:K,reset:V}=await k({x:p,y:m,initialPlacement:r,placement:b,strategy:a,middlewareData:y,rects:f,platform:l,elements:{reference:e,floating:t}});p=O??p,m=I??m,y={...y,[N]:{...y[N],...K}},V&&E<=50&&(E++,typeof V=="object"&&(V.placement&&(b=V.placement),V.rects&&(f=V.rects===!0?await l.getElementRects({reference:e,floating:t,strategy:a}):V.rects),{x:p,y:m}=n5(f,b,d)),T=-1)}return{x:p,y:m,placement:b,strategy:a,middlewareData:y}};async function Uc(e,t){var n;t===void 0&&(t={});const{x:r,y:a,platform:s,rects:l,elements:u,strategy:d}=e,{boundary:f="clippingAncestors",rootBoundary:p="viewport",elementContext:m="floating",altBoundary:b=!1,padding:y=0}=Oi(t,e),E=O7(y),N=u[b?m==="floating"?"reference":"floating":m],k=Af(await s.getClippingRect({element:(n=await(s.isElement==null?void 0:s.isElement(N)))==null||n?N:N.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(u.floating)),boundary:f,rootBoundary:p,strategy:d})),O=m==="floating"?{x:r,y:a,width:l.floating.width,height:l.floating.height}:l.reference,I=await(s.getOffsetParent==null?void 0:s.getOffsetParent(u.floating)),K=await(s.isElement==null?void 0:s.isElement(I))?await(s.getScale==null?void 0:s.getScale(I))||{x:1,y:1}:{x:1,y:1},V=Af(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:u,rect:O,offsetParent:I,strategy:d}):O);return{top:(k.top-V.top+E.top)/K.y,bottom:(V.bottom-k.bottom+E.bottom)/K.y,left:(k.left-V.left+E.left)/K.x,right:(V.right-k.right+E.right)/K.x}}const HD=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:a,rects:s,platform:l,elements:u,middlewareData:d}=t,{element:f,padding:p=0}=Oi(e,t)||{};if(f==null)return{};const m=O7(p),b={x:n,y:r},y=W2(a),E=X2(y),T=await l.getDimensions(f),N=y==="y",k=N?"top":"left",O=N?"bottom":"right",I=N?"clientHeight":"clientWidth",K=s.reference[E]+s.reference[y]-b[y]-s.floating[E],V=b[y]-s.reference[y],B=await(l.getOffsetParent==null?void 0:l.getOffsetParent(f));let z=B?B[I]:0;(!z||!await(l.isElement==null?void 0:l.isElement(B)))&&(z=u.floating[I]||s.floating[E]);const W=K/2-V/2,re=z/2-T[E]/2-1,Y=ws(m[k],re),se=ws(m[O],re),ee=Y,me=z-T[E]-se,ue=z/2-T[E]/2+W,be=zg(ee,ue,me),$=!d.arrow&&Xl(a)!=null&&ue!==be&&s.reference[E]/2-(ue<ee?Y:se)-T[E]/2<0,ae=$?ue<ee?ue-ee:ue-me:0;return{[y]:b[y]+ae,data:{[y]:be,centerOffset:ue-be-ae,...$&&{alignmentOffset:ae}},reset:$}}}),FD=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:a,middlewareData:s,rects:l,initialPlacement:u,platform:d,elements:f}=t,{mainAxis:p=!0,crossAxis:m=!0,fallbackPlacements:b,fallbackStrategy:y="bestFit",fallbackAxisSideDirection:E="none",flipAlignment:T=!0,...N}=Oi(e,t);if((n=s.arrow)!=null&&n.alignmentOffset)return{};const k=Ri(a),O=Fa(u),I=Ri(u)===u,K=await(d.isRTL==null?void 0:d.isRTL(f.floating)),V=b||(I||!T?[wf(u)]:LD(u)),B=E!=="none";!b&&B&&V.push(...BD(u,T,E,K));const z=[u,...V],W=await Uc(t,N),re=[];let Y=((r=s.flip)==null?void 0:r.overflows)||[];if(p&&re.push(W[k]),m){const ue=DD(a,l,K);re.push(W[ue[0]],W[ue[1]])}if(Y=[...Y,{placement:a,overflows:re}],!re.every(ue=>ue<=0)){var se,ee;const ue=(((se=s.flip)==null?void 0:se.index)||0)+1,be=z[ue];if(be&&(!(m==="alignment"?O!==Fa(be):!1)||Y.every(te=>Fa(te.placement)===O?te.overflows[0]>0:!0)))return{data:{index:ue,overflows:Y},reset:{placement:be}};let $=(ee=Y.filter(ae=>ae.overflows[0]<=0).sort((ae,te)=>ae.overflows[1]-te.overflows[1])[0])==null?void 0:ee.placement;if(!$)switch(y){case"bestFit":{var me;const ae=(me=Y.filter(te=>{if(B){const Oe=Fa(te.placement);return Oe===O||Oe==="y"}return!0}).map(te=>[te.placement,te.overflows.filter(Oe=>Oe>0).reduce((Oe,U)=>Oe+U,0)]).sort((te,Oe)=>te[1]-Oe[1])[0])==null?void 0:me[0];ae&&($=ae);break}case"initialPlacement":$=u;break}if(a!==$)return{reset:{placement:$}}}return{}}}};function r5(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function a5(e){return CD.some(t=>e[t]>=0)}const jD=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:r="referenceHidden",...a}=Oi(e,t);switch(r){case"referenceHidden":{const s=await Uc(t,{...a,elementContext:"reference"}),l=r5(s,n.reference);return{data:{referenceHiddenOffsets:l,referenceHidden:a5(l)}}}case"escaped":{const s=await Uc(t,{...a,altBoundary:!0}),l=r5(s,n.floating);return{data:{escapedOffsets:l,escaped:a5(l)}}}default:return{}}}}},R7=new Set(["left","top"]);async function qD(e,t){const{placement:n,platform:r,elements:a}=e,s=await(r.isRTL==null?void 0:r.isRTL(a.floating)),l=Ri(n),u=Xl(n),d=Fa(n)==="y",f=R7.has(l)?-1:1,p=s&&d?-1:1,m=Oi(t,e);let{mainAxis:b,crossAxis:y,alignmentAxis:E}=typeof m=="number"?{mainAxis:m,crossAxis:0,alignmentAxis:null}:{mainAxis:m.mainAxis||0,crossAxis:m.crossAxis||0,alignmentAxis:m.alignmentAxis};return u&&typeof E=="number"&&(y=u==="end"?E*-1:E),d?{x:y*p,y:b*f}:{x:b*f,y:y*p}}const $D=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:a,y:s,placement:l,middlewareData:u}=t,d=await qD(t,e);return l===((n=u.offset)==null?void 0:n.placement)&&(r=u.arrow)!=null&&r.alignmentOffset?{}:{x:a+d.x,y:s+d.y,data:{...d,placement:l}}}}},VD=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:a}=t,{mainAxis:s=!0,crossAxis:l=!1,limiter:u={fn:N=>{let{x:k,y:O}=N;return{x:k,y:O}}},...d}=Oi(e,t),f={x:n,y:r},p=await Uc(t,d),m=Fa(Ri(a)),b=Q2(m);let y=f[b],E=f[m];if(s){const N=b==="y"?"top":"left",k=b==="y"?"bottom":"right",O=y+p[N],I=y-p[k];y=zg(O,y,I)}if(l){const N=m==="y"?"top":"left",k=m==="y"?"bottom":"right",O=E+p[N],I=E-p[k];E=zg(O,E,I)}const T=u.fn({...t,[b]:y,[m]:E});return{...T,data:{x:T.x-n,y:T.y-r,enabled:{[b]:s,[m]:l}}}}}},GD=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:a,rects:s,middlewareData:l}=t,{offset:u=0,mainAxis:d=!0,crossAxis:f=!0}=Oi(e,t),p={x:n,y:r},m=Fa(a),b=Q2(m);let y=p[b],E=p[m];const T=Oi(u,t),N=typeof T=="number"?{mainAxis:T,crossAxis:0}:{mainAxis:0,crossAxis:0,...T};if(d){const I=b==="y"?"height":"width",K=s.reference[b]-s.floating[I]+N.mainAxis,V=s.reference[b]+s.reference[I]-N.mainAxis;y<K?y=K:y>V&&(y=V)}if(f){var k,O;const I=b==="y"?"width":"height",K=R7.has(Ri(a)),V=s.reference[m]-s.floating[I]+(K&&((k=l.offset)==null?void 0:k[m])||0)+(K?0:N.crossAxis),B=s.reference[m]+s.reference[I]+(K?0:((O=l.offset)==null?void 0:O[m])||0)-(K?N.crossAxis:0);E<V?E=V:E>B&&(E=B)}return{[b]:y,[m]:E}}}},YD=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n,r;const{placement:a,rects:s,platform:l,elements:u}=t,{apply:d=()=>{},...f}=Oi(e,t),p=await Uc(t,f),m=Ri(a),b=Xl(a),y=Fa(a)==="y",{width:E,height:T}=s.floating;let N,k;m==="top"||m==="bottom"?(N=m,k=b===(await(l.isRTL==null?void 0:l.isRTL(u.floating))?"start":"end")?"left":"right"):(k=m,N=b==="end"?"top":"bottom");const O=T-p.top-p.bottom,I=E-p.left-p.right,K=ws(T-p[N],O),V=ws(E-p[k],I),B=!t.middlewareData.shift;let z=K,W=V;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(W=I),(r=t.middlewareData.shift)!=null&&r.enabled.y&&(z=O),B&&!b){const Y=Lr(p.left,0),se=Lr(p.right,0),ee=Lr(p.top,0),me=Lr(p.bottom,0);y?W=E-2*(Y!==0||se!==0?Y+se:Lr(p.left,p.right)):z=T-2*(ee!==0||me!==0?ee+me:Lr(p.top,p.bottom))}await d({...t,availableWidth:W,availableHeight:z});const re=await l.getDimensions(u.floating);return E!==re.width||T!==re.height?{reset:{rects:!0}}:{}}}};function fh(){return typeof window<"u"}function Wl(e){return D7(e)?(e.nodeName||"").toLowerCase():"#document"}function Pr(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Qa(e){var t;return(t=(D7(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function D7(e){return fh()?e instanceof Node||e instanceof Pr(e).Node:!1}function va(e){return fh()?e instanceof Element||e instanceof Pr(e).Element:!1}function Ga(e){return fh()?e instanceof HTMLElement||e instanceof Pr(e).HTMLElement:!1}function i5(e){return!fh()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof Pr(e).ShadowRoot}const QD=new Set(["inline","contents"]);function n0(e){const{overflow:t,overflowX:n,overflowY:r,display:a}=xa(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!QD.has(a)}const XD=new Set(["table","td","th"]);function WD(e){return XD.has(Wl(e))}const KD=[":popover-open",":modal"];function hh(e){return KD.some(t=>{try{return e.matches(t)}catch{return!1}})}const ZD=["transform","translate","scale","rotate","perspective"],JD=["transform","translate","scale","rotate","perspective","filter"],eL=["paint","layout","strict","content"];function K2(e){const t=Z2(),n=va(e)?xa(e):e;return ZD.some(r=>n[r]?n[r]!=="none":!1)||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||JD.some(r=>(n.willChange||"").includes(r))||eL.some(r=>(n.contain||"").includes(r))}function tL(e){let t=As(e);for(;Ga(t)&&!jl(t);){if(K2(t))return t;if(hh(t))return null;t=As(t)}return null}function Z2(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const nL=new Set(["html","body","#document"]);function jl(e){return nL.has(Wl(e))}function xa(e){return Pr(e).getComputedStyle(e)}function mh(e){return va(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function As(e){if(Wl(e)==="html")return e;const t=e.assignedSlot||e.parentNode||i5(e)&&e.host||Qa(e);return i5(t)?t.host:t}function L7(e){const t=As(e);return jl(t)?e.ownerDocument?e.ownerDocument.body:e.body:Ga(t)&&n0(t)?t:L7(t)}function Hc(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const a=L7(e),s=a===((r=e.ownerDocument)==null?void 0:r.body),l=Pr(a);if(s){const u=Hg(l);return t.concat(l,l.visualViewport||[],n0(a)?a:[],u&&n?Hc(u):[])}return t.concat(a,Hc(a,[],n))}function Hg(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function I7(e){const t=xa(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const a=Ga(e),s=a?e.offsetWidth:n,l=a?e.offsetHeight:r,u=Sf(n)!==s||Sf(r)!==l;return u&&(n=s,r=l),{width:n,height:r,$:u}}function J2(e){return va(e)?e:e.contextElement}function Ml(e){const t=J2(e);if(!Ga(t))return Va(1);const n=t.getBoundingClientRect(),{width:r,height:a,$:s}=I7(t);let l=(s?Sf(n.width):n.width)/r,u=(s?Sf(n.height):n.height)/a;return(!l||!Number.isFinite(l))&&(l=1),(!u||!Number.isFinite(u))&&(u=1),{x:l,y:u}}const rL=Va(0);function M7(e){const t=Pr(e);return!Z2()||!t.visualViewport?rL:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function aL(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==Pr(e)?!1:t}function bo(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const a=e.getBoundingClientRect(),s=J2(e);let l=Va(1);t&&(r?va(r)&&(l=Ml(r)):l=Ml(e));const u=aL(s,n,r)?M7(s):Va(0);let d=(a.left+u.x)/l.x,f=(a.top+u.y)/l.y,p=a.width/l.x,m=a.height/l.y;if(s){const b=Pr(s),y=r&&va(r)?Pr(r):r;let E=b,T=Hg(E);for(;T&&r&&y!==E;){const N=Ml(T),k=T.getBoundingClientRect(),O=xa(T),I=k.left+(T.clientLeft+parseFloat(O.paddingLeft))*N.x,K=k.top+(T.clientTop+parseFloat(O.paddingTop))*N.y;d*=N.x,f*=N.y,p*=N.x,m*=N.y,d+=I,f+=K,E=Pr(T),T=Hg(E)}}return Af({width:p,height:m,x:d,y:f})}function ph(e,t){const n=mh(e).scrollLeft;return t?t.left+n:bo(Qa(e)).left+n}function P7(e,t){const n=e.getBoundingClientRect(),r=n.left+t.scrollLeft-ph(e,n),a=n.top+t.scrollTop;return{x:r,y:a}}function iL(e){let{elements:t,rect:n,offsetParent:r,strategy:a}=e;const s=a==="fixed",l=Qa(r),u=t?hh(t.floating):!1;if(r===l||u&&s)return n;let d={scrollLeft:0,scrollTop:0},f=Va(1);const p=Va(0),m=Ga(r);if((m||!m&&!s)&&((Wl(r)!=="body"||n0(l))&&(d=mh(r)),Ga(r))){const y=bo(r);f=Ml(r),p.x=y.x+r.clientLeft,p.y=y.y+r.clientTop}const b=l&&!m&&!s?P7(l,d):Va(0);return{width:n.width*f.x,height:n.height*f.y,x:n.x*f.x-d.scrollLeft*f.x+p.x+b.x,y:n.y*f.y-d.scrollTop*f.y+p.y+b.y}}function sL(e){return Array.from(e.getClientRects())}function oL(e){const t=Qa(e),n=mh(e),r=e.ownerDocument.body,a=Lr(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),s=Lr(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let l=-n.scrollLeft+ph(e);const u=-n.scrollTop;return xa(r).direction==="rtl"&&(l+=Lr(t.clientWidth,r.clientWidth)-a),{width:a,height:s,x:l,y:u}}const s5=25;
vendor: 5,081 bytes, line 50
50function lL(e,t){const n=Pr(e),r=Qa(e),a=n.visualViewport;let s=r.clientWidth,l=r.clientHeight,u=0,d=0;if(a){s=a.width,l=a.height;const p=Z2();(!p||p&&t==="fixed")&&(u=a.offsetLeft,d=a.offsetTop)}const f=ph(r);if(f<=0){const p=r.ownerDocument,m=p.body,b=getComputedStyle(m),y=p.compatMode==="CSS1Compat"&&parseFloat(b.marginLeft)+parseFloat(b.marginRight)||0,E=Math.abs(r.clientWidth-m.clientWidth-y);E<=s5&&(s-=E)}else f<=s5&&(s+=f);return{width:s,height:l,x:u,y:d}}const uL=new Set(["absolute","fixed"]);function cL(e,t){const n=bo(e,!0,t==="fixed"),r=n.top+e.clientTop,a=n.left+e.clientLeft,s=Ga(e)?Ml(e):Va(1),l=e.clientWidth*s.x,u=e.clientHeight*s.y,d=a*s.x,f=r*s.y;return{width:l,height:u,x:d,y:f}}function o5(e,t,n){let r;if(t==="viewport")r=lL(e,n);else if(t==="document")r=oL(Qa(e));else if(va(t))r=cL(t,n);else{const a=M7(e);r={x:t.x-a.x,y:t.y-a.y,width:t.width,height:t.height}}return Af(r)}function B7(e,t){const n=As(e);return n===t||!va(n)||jl(n)?!1:xa(n).position==="fixed"||B7(n,t)}function dL(e,t){const n=t.get(e);if(n)return n;let r=Hc(e,[],!1).filter(u=>va(u)&&Wl(u)!=="body"),a=null;const s=xa(e).position==="fixed";let l=s?As(e):e;for(;va(l)&&!jl(l);){const u=xa(l),d=K2(l);!d&&u.position==="fixed"&&(a=null),(s?!d&&!a:!d&&u.position==="static"&&!!a&&uL.has(a.position)||n0(l)&&!d&&B7(e,l))?r=r.filter(p=>p!==l):a=u,l=As(l)}return t.set(e,r),r}function fL(e){let{element:t,boundary:n,rootBoundary:r,strategy:a}=e;const l=[...n==="clippingAncestors"?hh(t)?[]:dL(t,this._c):[].concat(n),r],u=l[0],d=l.reduce((f,p)=>{const m=o5(t,p,a);return f.top=Lr(m.top,f.top),f.right=ws(m.right,f.right),f.bottom=ws(m.bottom,f.bottom),f.left=Lr(m.left,f.left),f},o5(t,u,a));return{width:d.right-d.left,height:d.bottom-d.top,x:d.left,y:d.top}}function hL(e){const{width:t,height:n}=I7(e);return{width:t,height:n}}function mL(e,t,n){const r=Ga(t),a=Qa(t),s=n==="fixed",l=bo(e,!0,s,t);let u={scrollLeft:0,scrollTop:0};const d=Va(0);function f(){d.x=ph(a)}if(r||!r&&!s)if((Wl(t)!=="body"||n0(a))&&(u=mh(t)),r){const y=bo(t,!0,s,t);d.x=y.x+t.clientLeft,d.y=y.y+t.clientTop}else a&&f();s&&!r&&a&&f();const p=a&&!r&&!s?P7(a,u):Va(0),m=l.left+u.scrollLeft-d.x-p.x,b=l.top+u.scrollTop-d.y-p.y;return{x:m,y:b,width:l.width,height:l.height}}function b1(e){return xa(e).position==="static"}function l5(e,t){if(!Ga(e)||xa(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return Qa(e)===n&&(n=n.ownerDocument.body),n}function z7(e,t){const n=Pr(e);if(hh(e))return n;if(!Ga(e)){let a=As(e);for(;a&&!jl(a);){if(va(a)&&!b1(a))return a;a=As(a)}return n}let r=l5(e,t);for(;r&&WD(r)&&b1(r);)r=l5(r,t);return r&&jl(r)&&b1(r)&&!K2(r)?n:r||tL(e)||n}const pL=async function(e){const t=this.getOffsetParent||z7,n=this.getDimensions,r=await n(e.floating);return{reference:mL(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function gL(e){return xa(e).direction==="rtl"}const bL={convertOffsetParentRelativeRectToViewportRelativeRect:iL,getDocumentElement:Qa,getClippingRect:fL,getOffsetParent:z7,getElementRects:pL,getClientRects:sL,getDimensions:hL,getScale:Ml,isElement:va,isRTL:gL};function U7(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function yL(e,t){let n=null,r;const a=Qa(e);function s(){var u;clearTimeout(r),(u=n)==null||u.disconnect(),n=null}function l(u,d){u===void 0&&(u=!1),d===void 0&&(d=1),s();const f=e.getBoundingClientRect(),{left:p,top:m,width:b,height:y}=f;if(u||t(),!b||!y)return;const E=Bd(m),T=Bd(a.clientWidth-(p+b)),N=Bd(a.clientHeight-(m+y)),k=Bd(p),I={rootMargin:-E+"px "+-T+"px "+-N+"px "+-k+"px",threshold:Lr(0,ws(1,d))||1};let K=!0;function V(B){const z=B[0].intersectionRatio;if(z!==d){if(!K)return l();z?l(!1,z):r=setTimeout(()=>{l(!1,1e-7)},1e3)}z===1&&!U7(f,e.getBoundingClientRect())&&l(),K=!1}try{n=new IntersectionObserver(V,{...I,root:a.ownerDocument})}catch{n=new IntersectionObserver(V,I)}n.observe(e)}return l(!0),s}function vL(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:a=!0,ancestorResize:s=!0,elementResize:l=typeof ResizeObserver=="function",layoutShift:u=typeof IntersectionObserver=="function",animationFrame:d=!1}=r,f=J2(e),p=a||s?[...f?Hc(f):[],...Hc(t)]:[];p.forEach(k=>{a&&k.addEventListener("scroll",n,{passive:!0}),s&&k.addEventListener("resize",n)});const m=f&&u?yL(f,n):null;let b=-1,y=null;l&&(y=new ResizeObserver(k=>{let[O]=k;O&&O.target===f&&y&&(y.unobserve(t),cancelAnimationFrame(b),b=requestAnimationFrame(()=>{var I;(I=y)==null||I.observe(t)})),n()}),f&&!d&&y.observe(f),y.observe(t));let E,T=d?bo(e):null;d&&N();function N(){const k=bo(e);T&&!U7(T,k)&&n(),T=k,E=requestAnimationFrame(N)}return n(),()=>{var k;p.forEach(O=>{a&&O.removeEventListener("scroll",n),s&&O.removeEventListener("resize",n)}),m?.(),(k=y)==null||k.disconnect(),y=null,d&&cancelAnimationFrame(E)}}const xL=$D,EL=VD,_L=FD,TL=YD,SL=jD,u5=HD,wL=GD,AL=(e,t,n)=>{const r=new Map,a={platform:bL,...n},s={...a.platform,_c:r};return UD(e,t,{...a,platform:s})};var kL=typeof document<"u",CL=function(){},hf=kL?H.useLayoutEffect:CL;function kf(e,t){if(e===t)return!0;
vendor: 4,828 bytes, line 50
50if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let n,r,a;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;r--!==0;)if(!kf(e[r],t[r]))return!1;return!0}if(a=Object.keys(e),n=a.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(t,a[r]))return!1;for(r=n;r--!==0;){const s=a[r];if(!(s==="_owner"&&e.$$typeof)&&!kf(e[s],t[s]))return!1}return!0}return e!==e&&t!==t}function H7(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function c5(e,t){const n=H7(e);return Math.round(t*n)/n}function y1(e){const t=H.useRef(e);return hf(()=>{t.current=e}),t}function NL(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:a,elements:{reference:s,floating:l}={},transform:u=!0,whileElementsMounted:d,open:f}=e,[p,m]=H.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[b,y]=H.useState(r);kf(b,r)||y(r);const[E,T]=H.useState(null),[N,k]=H.useState(null),O=H.useCallback(te=>{te!==B.current&&(B.current=te,T(te))},[]),I=H.useCallback(te=>{te!==z.current&&(z.current=te,k(te))},[]),K=s||E,V=l||N,B=H.useRef(null),z=H.useRef(null),W=H.useRef(p),re=d!=null,Y=y1(d),se=y1(a),ee=y1(f),me=H.useCallback(()=>{if(!B.current||!z.current)return;const te={placement:t,strategy:n,middleware:b};se.current&&(te.platform=se.current),AL(B.current,z.current,te).then(Oe=>{const U={...Oe,isPositioned:ee.current!==!1};ue.current&&!kf(W.current,U)&&(W.current=U,Y2.flushSync(()=>{m(U)}))})},[b,t,n,se,ee]);hf(()=>{f===!1&&W.current.isPositioned&&(W.current.isPositioned=!1,m(te=>({...te,isPositioned:!1})))},[f]);const ue=H.useRef(!1);hf(()=>(ue.current=!0,()=>{ue.current=!1}),[]),hf(()=>{if(K&&(B.current=K),V&&(z.current=V),K&&V){if(Y.current)return Y.current(K,V,me);me()}},[K,V,me,Y,re]);const be=H.useMemo(()=>({reference:B,floating:z,setReference:O,setFloating:I}),[O,I]),$=H.useMemo(()=>({reference:K,floating:V}),[K,V]),ae=H.useMemo(()=>{const te={position:n,left:0,top:0};if(!$.floating)return te;const Oe=c5($.floating,p.x),U=c5($.floating,p.y);return u?{...te,transform:"translate("+Oe+"px, "+U+"px)",...H7($.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:Oe,top:U}},[n,u,$.floating,p.x,p.y]);return H.useMemo(()=>({...p,update:me,refs:be,elements:$,floatingStyles:ae}),[p,me,be,$,ae])}const OL=e=>{function t(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:e,fn(n){const{element:r,padding:a}=typeof e=="function"?e(n):e;return r&&t(r)?r.current!=null?u5({element:r.current,padding:a}).fn(n):{}:r?u5({element:r,padding:a}).fn(n):{}}}},RL=(e,t)=>({...xL(e),options:[e,t]}),DL=(e,t)=>({...EL(e),options:[e,t]}),LL=(e,t)=>({...wL(e),options:[e,t]}),IL=(e,t)=>({..._L(e),options:[e,t]}),ML=(e,t)=>({...TL(e),options:[e,t]}),PL=(e,t)=>({...SL(e),options:[e,t]}),BL=(e,t)=>({...OL(e),options:[e,t]});var zL="Arrow",F7=H.forwardRef((e,t)=>{const{children:n,width:r=10,height:a=5,...s}=e;return A.jsx(Ao.svg,{...s,ref:t,width:r,height:a,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:A.jsx("polygon",{points:"0,0 30,0 15,10"})})});F7.displayName=zL;var UL=F7;function HL(e){const[t,n]=H.useState(void 0);return zc(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const r=new ResizeObserver(a=>{if(!Array.isArray(a)||!a.length)return;const s=a[0];let l,u;if("borderBoxSize"in s){const d=s.borderBoxSize,f=Array.isArray(d)?d[0]:d;l=f.inlineSize,u=f.blockSize}else l=e.offsetWidth,u=e.offsetHeight;n({width:l,height:u})});return r.observe(e,{box:"border-box"}),()=>r.unobserve(e)}else n(void 0)},[e]),t}var j7="Popper",[q7,$7]=S7(j7),[See,V7]=q7(j7),G7="PopperAnchor",Y7=H.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:r,...a}=e,s=V7(G7,n),l=H.useRef(null),u=wo(t,l),d=H.useRef(null);return H.useEffect(()=>{const f=d.current;d.current=r?.current||l.current,f!==d.current&&s.onAnchorChange(d.current)}),r?null:A.jsx(Ao.div,{...a,ref:u})});Y7.displayName=G7;var eb="PopperContent",[FL,jL]=q7(eb),Q7=H.forwardRef((e,t)=>{const{__scopePopper:n,side:r="bottom",sideOffset:a=0,align:s="center",alignOffset:l=0,arrowPadding:u=0,avoidCollisions:d=!0,collisionBoundary:f=[],collisionPadding:p=0,sticky:m="partial",hideWhenDetached:b=!1,updatePositionStrategy:y="optimized",onPlaced:E,...T}=e,N=V7(eb,n),[k,O]=H.useState(null),I=wo(t,Me=>O(Me)),[K,V]=H.useState(null),B=HL(K),z=B?.width??0,W=B?.height??0,re=r+(s!=="center"?"-"+s:""),Y=typeof p=="number"?p:{top:0,right:0,bottom:0,left:0,...p},se=Array.isArray(f)?f:[f],ee=se.length>0,me={padding:Y,boundary:se.filter($L),altBoundary:ee},{refs:ue,floatingStyles:be,placement:$,isPositioned:ae,middlewareData:te}=NL({strategy:"fixed",placement:re,whileElementsMounted:(...Me)=>vL(...Me,{animationFrame:y==="always"}
vendor: 4,886 bytes, line 50
50),elements:{reference:N.anchor},middleware:[RL({mainAxis:a+W,alignmentAxis:l}),d&&DL({mainAxis:!0,crossAxis:!1,limiter:m==="partial"?LL():void 0,...me}),d&&IL({...me}),ML({...me,apply:({elements:Me,rects:je,availableWidth:Ke,availableHeight:At})=>{const{width:Qt,height:en}=je.reference,Tr=Me.floating.style;Tr.setProperty("--radix-popper-available-width",`${Ke}px`),Tr.setProperty("--radix-popper-available-height",`${At}px`),Tr.setProperty("--radix-popper-anchor-width",`${Qt}px`),Tr.setProperty("--radix-popper-anchor-height",`${en}px`)}}),K&&BL({element:K,padding:u}),VL({arrowWidth:z,arrowHeight:W}),b&&PL({strategy:"referenceHidden",...me})]}),[Oe,U]=K7($),j=dh(E);zc(()=>{ae&&j?.()},[ae,j]);const ce=te.arrow?.x,R=te.arrow?.y,he=te.arrow?.centerOffset!==0,[_e,Re]=H.useState();return zc(()=>{k&&Re(window.getComputedStyle(k).zIndex)},[k]),A.jsx("div",{ref:ue.setFloating,"data-radix-popper-content-wrapper":"",style:{...be,transform:ae?be.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:_e,"--radix-popper-transform-origin":[te.transformOrigin?.x,te.transformOrigin?.y].join(" "),...te.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:A.jsx(FL,{scope:n,placedSide:Oe,onArrowChange:V,arrowX:ce,arrowY:R,shouldHideArrow:he,children:A.jsx(Ao.div,{"data-side":Oe,"data-align":U,...T,ref:I,style:{...T.style,animation:ae?void 0:"none"}})})})});Q7.displayName=eb;var X7="PopperArrow",qL={top:"bottom",right:"left",bottom:"top",left:"right"},W7=H.forwardRef(function(t,n){const{__scopePopper:r,...a}=t,s=jL(X7,r),l=qL[s.placedSide];return A.jsx("span",{ref:s.onArrowChange,style:{position:"absolute",left:s.arrowX,top:s.arrowY,[l]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[s.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[s.placedSide],visibility:s.shouldHideArrow?"hidden":void 0},children:A.jsx(UL,{...a,ref:n,style:{...a.style,display:"block"}})})});W7.displayName=X7;function $L(e){return e!==null}var VL=e=>({name:"transformOrigin",options:e,fn(t){const{placement:n,rects:r,middlewareData:a}=t,l=a.arrow?.centerOffset!==0,u=l?0:e.arrowWidth,d=l?0:e.arrowHeight,[f,p]=K7(n),m={start:"0%",center:"50%",end:"100%"}[p],b=(a.arrow?.x??0)+u/2,y=(a.arrow?.y??0)+d/2;let E="",T="";return f==="bottom"?(E=l?m:`${b}px`,T=`${-d}px`):f==="top"?(E=l?m:`${b}px`,T=`${r.floating.height+d}px`):f==="right"?(E=`${-d}px`,T=l?m:`${y}px`):f==="left"&&(E=`${r.floating.width+d}px`,T=l?m:`${y}px`),{data:{x:E,y:T}}}});function K7(e){const[t,n="center"]=e.split("-");return[t,n]}var GL=Y7,YL=Q7,QL=W7;function XL(e,t){return H.useReducer((n,r)=>t[n][r]??n,e)}var Z7=e=>{const{present:t,children:n}=e,r=WL(t),a=typeof n=="function"?n({present:r.isPresent}):H.Children.only(n),s=wo(r.ref,KL(a));return typeof n=="function"||r.isPresent?H.cloneElement(a,{ref:s}):null};Z7.displayName="Presence";function WL(e){const[t,n]=H.useState(),r=H.useRef(null),a=H.useRef(e),s=H.useRef("none"),l=e?"mounted":"unmounted",[u,d]=XL(l,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return H.useEffect(()=>{const f=zd(r.current);s.current=u==="mounted"?f:"none"},[u]),zc(()=>{const f=r.current,p=a.current;if(p!==e){const b=s.current,y=zd(f);e?d("MOUNT"):y==="none"||f?.display==="none"?d("UNMOUNT"):d(p&&b!==y?"ANIMATION_OUT":"UNMOUNT"),a.current=e}},[e,d]),zc(()=>{if(t){let f;const p=t.ownerDocument.defaultView??window,m=y=>{const T=zd(r.current).includes(CSS.escape(y.animationName));if(y.target===t&&T&&(d("ANIMATION_END"),!a.current)){const N=t.style.animationFillMode;t.style.animationFillMode="forwards",f=p.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=N)})}},b=y=>{y.target===t&&(s.current=zd(r.current))};return t.addEventListener("animationstart",b),t.addEventListener("animationcancel",m),t.addEventListener("animationend",m),()=>{p.clearTimeout(f),t.removeEventListener("animationstart",b),t.removeEventListener("animationcancel",m),t.removeEventListener("animationend",m)}}else d("ANIMATION_END")},[t,d]),{isPresent:["mounted","unmountSuspended"].includes(u),ref:H.useCallback(f=>{r.current=f?getComputedStyle(f):null,n(f)},[])}}function zd(e){return e?.animationName||"none"}function KL(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var ZL=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),JL="VisuallyHidden",J7=H.forwardRef((e,t)=>
vendor: 4,389 bytes, line 50
50A.jsx(Ao.span,{...e,ref:t,style:{...ZL,...e.style}}));J7.displayName=JL;var eI=J7,[gh]=S7("Tooltip",[$7]),tb=$7(),e_="TooltipProvider",tI=700,d5="tooltip.open",[nI,t_]=gh(e_),n_=e=>{const{__scopeTooltip:t,delayDuration:n=tI,skipDelayDuration:r=300,disableHoverableContent:a=!1,children:s}=e,l=H.useRef(!0),u=H.useRef(!1),d=H.useRef(0);return H.useEffect(()=>{const f=d.current;return()=>window.clearTimeout(f)},[]),A.jsx(nI,{scope:t,isOpenDelayedRef:l,delayDuration:n,onOpen:H.useCallback(()=>{window.clearTimeout(d.current),l.current=!1},[]),onClose:H.useCallback(()=>{window.clearTimeout(d.current),d.current=window.setTimeout(()=>l.current=!0,r)},[r]),isPointerInTransitRef:u,onPointerInTransitChange:H.useCallback(f=>{u.current=f},[]),disableHoverableContent:a,children:s})};n_.displayName=e_;var r_="Tooltip",[wee,bh]=gh(r_),Fg="TooltipTrigger",rI=H.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,a=bh(Fg,n),s=t_(Fg,n),l=tb(n),u=H.useRef(null),d=wo(t,u,a.onTriggerChange),f=H.useRef(!1),p=H.useRef(!1),m=H.useCallback(()=>f.current=!1,[]);return H.useEffect(()=>()=>document.removeEventListener("pointerup",m),[m]),A.jsx(GL,{asChild:!0,...l,children:A.jsx(Ao.button,{"aria-describedby":a.open?a.contentId:void 0,"data-state":a.stateAttribute,...r,ref:d,onPointerMove:_i(e.onPointerMove,b=>{b.pointerType!=="touch"&&!p.current&&!s.isPointerInTransitRef.current&&(a.onTriggerEnter(),p.current=!0)}),onPointerLeave:_i(e.onPointerLeave,()=>{a.onTriggerLeave(),p.current=!1}),onPointerDown:_i(e.onPointerDown,()=>{a.open&&a.onClose(),f.current=!0,document.addEventListener("pointerup",m,{once:!0})}),onFocus:_i(e.onFocus,()=>{f.current||a.onOpen()}),onBlur:_i(e.onBlur,a.onClose),onClick:_i(e.onClick,a.onClose)})})});rI.displayName=Fg;var aI="TooltipPortal",[Aee,iI]=gh(aI,{forceMount:void 0}),ql="TooltipContent",sI=H.forwardRef((e,t)=>{const n=iI(ql,e.__scopeTooltip),{forceMount:r=n.forceMount,side:a="top",...s}=e,l=bh(ql,e.__scopeTooltip);return A.jsx(Z7,{present:r||l.open,children:l.disableHoverableContent?A.jsx(a_,{side:a,...s,ref:t}):A.jsx(oI,{side:a,...s,ref:t})})}),oI=H.forwardRef((e,t)=>{const n=bh(ql,e.__scopeTooltip),r=t_(ql,e.__scopeTooltip),a=H.useRef(null),s=wo(t,a),[l,u]=H.useState(null),{trigger:d,onClose:f}=n,p=a.current,{onPointerInTransitChange:m}=r,b=H.useCallback(()=>{u(null),m(!1)},[m]),y=H.useCallback((E,T)=>{const N=E.currentTarget,k={x:E.clientX,y:E.clientY},O=fI(k,N.getBoundingClientRect()),I=hI(k,O),K=mI(T.getBoundingClientRect()),V=gI([...I,...K]);u(V),m(!0)},[m]);return H.useEffect(()=>()=>b(),[b]),H.useEffect(()=>{if(d&&p){const E=N=>y(N,p),T=N=>y(N,d);return d.addEventListener("pointerleave",E),p.addEventListener("pointerleave",T),()=>{d.removeEventListener("pointerleave",E),p.removeEventListener("pointerleave",T)}}},[d,p,y,b]),H.useEffect(()=>{if(l){const E=T=>{const N=T.target,k={x:T.clientX,y:T.clientY},O=d?.contains(N)||p?.contains(N),I=!pI(k,l);O?b():I&&(b(),f())};return document.addEventListener("pointermove",E),()=>document.removeEventListener("pointermove",E)}},[d,p,l,f,b]),A.jsx(a_,{...e,ref:s})}),[lI,uI]=gh(r_,{isInside:!1}),cI=mD("TooltipContent"),a_=H.forwardRef((e,t)=>{const{__scopeTooltip:n,children:r,"aria-label":a,onEscapeKeyDown:s,onPointerDownOutside:l,...u}=e,d=bh(ql,n),f=tb(n),{onClose:p}=d;return H.useEffect(()=>(document.addEventListener(d5,p),()=>document.removeEventListener(d5,p)),[p]),H.useEffect(()=>{if(d.trigger){const m=b=>{b.target?.contains(d.trigger)&&p()};return window.addEventListener("scroll",m,{capture:!0}),()=>window.removeEventListener("scroll",m,{capture:!0})}},[d.trigger,p]),A.jsx(C7,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:s,onPointerDownOutside:l,onFocusOutside:m=>m.preventDefault(),onDismiss:p,children:A.jsxs(YL,{"data-state":d.stateAttribute,...f,...u,ref:t,style:{...u.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"},children:[A.jsx(cI,{children:r}),A.jsx(lI,{scope:n,isInside:!0,children:A.jsx(eI,{id:d.contentId,role:"tooltip",children:a||r})})]})})});sI.displayName=ql;var i_="TooltipArrow",dI=H.forwardRef((e,t)=>
vendor: 5,165 bytes, line 50
50{const{__scopeTooltip:n,...r}=e,a=tb(n);return uI(i_,n).isInside?null:A.jsx(QL,{...a,...r,ref:t})});dI.displayName=i_;function fI(e,t){const n=Math.abs(t.top-e.y),r=Math.abs(t.bottom-e.y),a=Math.abs(t.right-e.x),s=Math.abs(t.left-e.x);switch(Math.min(n,r,a,s)){case s:return"left";case a:return"right";case n:return"top";case r:return"bottom";default:throw new Error("unreachable")}}function hI(e,t,n=5){const r=[];switch(t){case"top":r.push({x:e.x-n,y:e.y+n},{x:e.x+n,y:e.y+n});break;case"bottom":r.push({x:e.x-n,y:e.y-n},{x:e.x+n,y:e.y-n});break;case"left":r.push({x:e.x+n,y:e.y-n},{x:e.x+n,y:e.y+n});break;case"right":r.push({x:e.x-n,y:e.y-n},{x:e.x-n,y:e.y+n});break}return r}function mI(e){const{top:t,right:n,bottom:r,left:a}=e;return[{x:a,y:t},{x:n,y:t},{x:n,y:r},{x:a,y:r}]}function pI(e,t){const{x:n,y:r}=e;let a=!1;for(let s=0,l=t.length-1;s<t.length;l=s++){const u=t[s],d=t[l],f=u.x,p=u.y,m=d.x,b=d.y;p>r!=b>r&&n<(m-f)*(r-p)/(b-p)+f&&(a=!a)}return a}function gI(e){const t=e.slice();return t.sort((n,r)=>n.x<r.x?-1:n.x>r.x?1:n.y<r.y?-1:n.y>r.y?1:0),bI(t)}function bI(e){if(e.length<=1)return e.slice();const t=[];for(let r=0;r<e.length;r++){const a=e[r];for(;t.length>=2;){const s=t[t.length-1],l=t[t.length-2];if((s.x-l.x)*(a.y-l.y)>=(s.y-l.y)*(a.x-l.x))t.pop();else break}t.push(a)}t.pop();const n=[];for(let r=e.length-1;r>=0;r--){const a=e[r];for(;n.length>=2;){const s=n[n.length-1],l=n[n.length-2];if((s.x-l.x)*(a.y-l.y)>=(s.y-l.y)*(a.x-l.x))n.pop();else break}n.push(a)}return n.pop(),t.length===1&&n.length===1&&t[0].x===n[0].x&&t[0].y===n[0].y?t:t.concat(n)}var yI=n_;function s_(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var a=e.length;for(t=0;t<a;t++)e[t]&&(n=s_(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function nb(){for(var e,t,n=0,r="",a=arguments.length;n<a;n++)(e=arguments[n])&&(t=s_(e))&&(r&&(r+=" "),r+=t);return r}const rb="-",vI=e=>{const t=EI(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:l=>{const u=l.split(rb);return u[0]===""&&u.length!==1&&u.shift(),o_(u,t)||xI(l)},getConflictingClassGroupIds:(l,u)=>{const d=n[l]||[];return u&&r[l]?[...d,...r[l]]:d}}},o_=(e,t)=>{if(e.length===0)return t.classGroupId;const n=e[0],r=t.nextPart.get(n),a=r?o_(e.slice(1),r):void 0;if(a)return a;if(t.validators.length===0)return;const s=e.join(rb);return t.validators.find(({validator:l})=>l(s))?.classGroupId},f5=/^\[(.+)\]$/,xI=e=>{if(f5.test(e)){const t=f5.exec(e)[1],n=t?.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},EI=e=>{const{theme:t,classGroups:n}=e,r={nextPart:new Map,validators:[]};for(const a in n)jg(n[a],r,a,t);return r},jg=(e,t,n,r)=>{e.forEach(a=>{if(typeof a=="string"){const s=a===""?t:h5(t,a);s.classGroupId=n;return}if(typeof a=="function"){if(_I(a)){jg(a(r),t,n,r);return}t.validators.push({validator:a,classGroupId:n});return}Object.entries(a).forEach(([s,l])=>{jg(l,h5(t,s),n,r)})})},h5=(e,t)=>{let n=e;return t.split(rb).forEach(r=>{n.nextPart.has(r)||n.nextPart.set(r,{nextPart:new Map,validators:[]}),n=n.nextPart.get(r)}),n},_I=e=>e.isThemeGetter,TI=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map;const a=(s,l)=>{n.set(s,l),t++,t>e&&(t=0,r=n,n=new Map)};return{get(s){let l=n.get(s);if(l!==void 0)return l;if((l=r.get(s))!==void 0)return a(s,l),l},set(s,l){n.has(s)?n.set(s,l):a(s,l)}}},qg="!",$g=":",SI=$g.length,wI=e=>{const{prefix:t,experimentalParseClassName:n}=e;let r=a=>{const s=[];let l=0,u=0,d=0,f;for(let E=0;E<a.length;E++){let T=a[E];if(l===0&&u===0){if(T===$g){s.push(a.slice(d,E)),d=E+SI;continue}if(T==="/"){f=E;continue}}T==="["?l++:T==="]"?l--:T==="("?u++:T===")"&&u--}const p=s.length===0?a:a.substring(d),m=AI(p),b=m!==p,y=f&&f>d?f-d:void 0;return{modifiers:s,hasImportantModifier:b,baseClassName:m,maybePostfixModifierPosition:y}};if(t){const a=t+$g,s=r;r=l=>l.startsWith(a)?s(l.substring(a.length)):{isExternal:!0,modifiers:[],hasImportantModifier:!1,baseClassName:l,maybePostfixModifierPosition:void 0}}if(n){const a=r;r=s=>n({className:s,parseClassName:a})}return r},AI=e=>e.endsWith(qg)?e.substring(0,e.length-1):e.startsWith(qg)?e.substring(1):e,kI=e=>{const t=Object.fromEntries(e.orderSensitiveModifiers.map(r=>[r,!0]));return r=>{if(r.length<=1)return r;const a=[];let s=[];return r.forEach(l=>{l[0]==="["||t[l]?(a.push(...s.sort(),l),s=[]):s.push(l)}),a.push(...s.sort()),a}},CI=e=>({cache:TI(e.cacheSize),parseClassName:wI(e),sortModifiers:kI(e),...vI(e)}),NI=/\s+/,OI=(e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:a,sortModifiers:s}=t,l=[],u=e.trim().split(NI);let d="";for(let f=u.length-1;f>=0;f-=1){const p=u[f],{isExternal:m,modifiers:b,hasImportantModifier:y,baseClassName:E,maybePostfixModifierPosition:T}=n(p);if(m){d=p+(d.length>0?" "+d:d);continue}let N=!!T,k=r(N?E.substring(0,T):E);if(!k){if(!N){d=p+(d.length>0?" "+d:d);continue}if(k=r(E),!k){d=p+(d.length>0?" "+d:d);continue}N=!1}const O=s(b).join(":"),I=y?O+qg:O,K=I+k;if(l.includes(K))continue;l.push(K);const V=a(k,N);for(let B=0;B<V.length;++B){const z=V[B];l.push(I+z)}d=p+(d.length>0?" "+d:d)}return d};
vendor: 1,279 bytes, line 50
50function RI(){let e=0,t,n,r="";for(;e<arguments.length;)(t=arguments[e++])&&(n=l_(t))&&(r&&(r+=" "),r+=n);return r}const l_=e=>{if(typeof e=="string")return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=l_(e[r]))&&(n&&(n+=" "),n+=t);return n};function DI(e,...t){let n,r,a,s=l;function l(d){const f=t.reduce((p,m)=>m(p),e());return n=CI(f),r=n.cache.get,a=n.cache.set,s=u,u(d)}function u(d){const f=r(d);if(f)return f;const p=OI(d,n);return a(d,p),p}return function(){return s(RI.apply(null,arguments))}}const vn=e=>{const t=n=>n[e]||[];return t.isThemeGetter=!0,t},u_=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,c_=/^\((?:(\w[\w-]*):)?(.+)\)$/i,LI=/^\d+\/\d+$/,II=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,MI=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,PI=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,BI=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,zI=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,El=e=>LI.test(e),ot=e=>!!e&&!Number.isNaN(Number(e)),cs=e=>!!e&&Number.isInteger(Number(e)),v1=e=>e.endsWith("%")&&ot(e.slice(0,-1)),yi=e=>II.test(e),UI=()=>!0,HI=e=>MI.test(e)&&!PI.test(e),d_=()=>!1,FI=e=>BI.test(e),jI=e=>zI.test(e),qI=e=>
vendor: 4,188 bytes, line 50
50!He(e)&&!Fe(e),$I=e=>Kl(e,m_,d_),He=e=>u_.test(e),eo=e=>Kl(e,p_,HI),x1=e=>Kl(e,XI,ot),m5=e=>Kl(e,f_,d_),VI=e=>Kl(e,h_,jI),Ud=e=>Kl(e,g_,FI),Fe=e=>c_.test(e),rc=e=>Zl(e,p_),GI=e=>Zl(e,WI),p5=e=>Zl(e,f_),YI=e=>Zl(e,m_),QI=e=>Zl(e,h_),Hd=e=>Zl(e,g_,!0),Kl=(e,t,n)=>{const r=u_.exec(e);return r?r[1]?t(r[1]):n(r[2]):!1},Zl=(e,t,n=!1)=>{const r=c_.exec(e);return r?r[1]?t(r[1]):n:!1},f_=e=>e==="position"||e==="percentage",h_=e=>e==="image"||e==="url",m_=e=>e==="length"||e==="size"||e==="bg-size",p_=e=>e==="length",XI=e=>e==="number",WI=e=>e==="family-name",g_=e=>e==="shadow",KI=()=>{const e=vn("color"),t=vn("font"),n=vn("text"),r=vn("font-weight"),a=vn("tracking"),s=vn("leading"),l=vn("breakpoint"),u=vn("container"),d=vn("spacing"),f=vn("radius"),p=vn("shadow"),m=vn("inset-shadow"),b=vn("text-shadow"),y=vn("drop-shadow"),E=vn("blur"),T=vn("perspective"),N=vn("aspect"),k=vn("ease"),O=vn("animate"),I=()=>["auto","avoid","all","avoid-page","page","left","right","column"],K=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],V=()=>[...K(),Fe,He],B=()=>["auto","hidden","clip","visible","scroll"],z=()=>["auto","contain","none"],W=()=>[Fe,He,d],re=()=>[El,"full","auto",...W()],Y=()=>[cs,"none","subgrid",Fe,He],se=()=>["auto",{span:["full",cs,Fe,He]},cs,Fe,He],ee=()=>[cs,"auto",Fe,He],me=()=>["auto","min","max","fr",Fe,He],ue=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],be=()=>["start","end","center","stretch","center-safe","end-safe"],$=()=>["auto",...W()],ae=()=>[El,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...W()],te=()=>[e,Fe,He],Oe=()=>[...K(),p5,m5,{position:[Fe,He]}],U=()=>["no-repeat",{repeat:["","x","y","space","round"]}],j=()=>["auto","cover","contain",YI,$I,{size:[Fe,He]}],ce=()=>[v1,rc,eo],R=()=>["","none","full",f,Fe,He],he=()=>["",ot,rc,eo],_e=()=>["solid","dashed","dotted","double"],Re=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],Me=()=>[ot,v1,p5,m5],je=()=>["","none",E,Fe,He],Ke=()=>["none",ot,Fe,He],At=()=>["none",ot,Fe,He],Qt=()=>[ot,Fe,He],en=()=>[El,"full",...W()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[yi],breakpoint:[yi],color:[UI],container:[yi],"drop-shadow":[yi],ease:["in","out","in-out"],font:[qI],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[yi],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[yi],shadow:[yi],spacing:["px",ot],text:[yi],"text-shadow":[yi],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",El,He,Fe,N]}],container:["container"],columns:[{columns:[ot,He,Fe,u]}],"break-after":[{"break-after":I()}],"break-before":[{"break-before":I()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:V()}],overflow:[{overflow:B()}],"overflow-x":[{"overflow-x":B()}],"overflow-y":[{"overflow-y":B()}],overscroll:[{overscroll:z()}],"overscroll-x":[{"overscroll-x":z()}],"overscroll-y":[{"overscroll-y":z()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:re()}],"inset-x":[{"inset-x":re()}],"inset-y":[{"inset-y":re()}],start:[{start:re()}
vendor: 4,424 bytes, line 50
50],end:[{end:re()}],top:[{top:re()}],right:[{right:re()}],bottom:[{bottom:re()}],left:[{left:re()}],visibility:["visible","invisible","collapse"],z:[{z:[cs,"auto",Fe,He]}],basis:[{basis:[El,"full","auto",u,...W()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[ot,El,"auto","initial","none",He]}],grow:[{grow:["",ot,Fe,He]}],shrink:[{shrink:["",ot,Fe,He]}],order:[{order:[cs,"first","last","none",Fe,He]}],"grid-cols":[{"grid-cols":Y()}],"col-start-end":[{col:se()}],"col-start":[{"col-start":ee()}],"col-end":[{"col-end":ee()}],"grid-rows":[{"grid-rows":Y()}],"row-start-end":[{row:se()}],"row-start":[{"row-start":ee()}],"row-end":[{"row-end":ee()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":me()}],"auto-rows":[{"auto-rows":me()}],gap:[{gap:W()}],"gap-x":[{"gap-x":W()}],"gap-y":[{"gap-y":W()}],"justify-content":[{justify:[...ue(),"normal"]}],"justify-items":[{"justify-items":[...be(),"normal"]}],"justify-self":[{"justify-self":["auto",...be()]}],"align-content":[{content:["normal",...ue()]}],"align-items":[{items:[...be(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...be(),{baseline:["","last"]}]}],"place-content":[{"place-content":ue()}],"place-items":[{"place-items":[...be(),"baseline"]}],"place-self":[{"place-self":["auto",...be()]}],p:[{p:W()}],px:[{px:W()}],py:[{py:W()}],ps:[{ps:W()}],pe:[{pe:W()}],pt:[{pt:W()}],pr:[{pr:W()}],pb:[{pb:W()}],pl:[{pl:W()}],m:[{m:$()}],mx:[{mx:$()}],my:[{my:$()}],ms:[{ms:$()}],me:[{me:$()}],mt:[{mt:$()}],mr:[{mr:$()}],mb:[{mb:$()}],ml:[{ml:$()}],"space-x":[{"space-x":W()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":W()}],"space-y-reverse":["space-y-reverse"],size:[{size:ae()}],w:[{w:[u,"screen",...ae()]}],"min-w":[{"min-w":[u,"screen","none",...ae()]}],"max-w":[{"max-w":[u,"screen","none","prose",{screen:[l]},...ae()]}],h:[{h:["screen","lh",...ae()]}],"min-h":[{"min-h":["screen","lh","none",...ae()]}],"max-h":[{"max-h":["screen","lh",...ae()]}],"font-size":[{text:["base",n,rc,eo]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[r,Fe,x1]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",v1,He]}],"font-family":[{font:[GI,He,t]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[a,Fe,He]}],"line-clamp":[{"line-clamp":[ot,"none",Fe,x1]}],leading:[{leading:[s,...W()]}],"list-image":[{"list-image":["none",Fe,He]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",Fe,He]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:te()}],"text-color":[{text:te()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[..._e(),"wavy"]}],"text-decoration-thickness":[{decoration:[ot,"from-font","auto",Fe,eo]}],"text-decoration-color":[{decoration:te()}],"underline-offset":[{"underline-offset":[ot,"auto",Fe,He]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:W()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",Fe,He]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",Fe,He]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:Oe()}],"bg-repeat":[{bg:U()}],"bg-size":[{bg:j()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},cs,Fe,He],radial:["",Fe,He],conic:[cs,Fe,He]},QI,VI]}],"bg-color":[{bg:te()}],"gradient-from-pos":[{from:ce()}
50],"gradient-via-pos":[{via:ce()}],"gradient-to-pos":[{to:ce()}],"gradient-from":[{from:te()}],"gradient-via":[{via:te()}],"gradient-to":[{to:te()}],rounded:[{rounded:R()}],"rounded-s":[{"rounded-s":R()}],"rounded-e":[{"rounded-e":R()}],"rounded-t":[{"rounded-t":R()}],"rounded-r":[{"rounded-r":R()}],"rounded-b":[{"rounded-b":R()}],"rounded-l":[{"rounded-l":R()}],"rounded-ss":[{"rounded-ss":R()}],"rounded-se":[{"rounded-se":R()}],"rounded-ee":[{"rounded-ee":R()}],"rounded-es":[{"rounded-es":R()}],"rounded-tl":[{"rounded-tl":R()}],"rounded-tr":[{"rounded-tr":R()}],"rounded-br":[{"rounded-br":R()}],"rounded-bl":[{"rounded-bl":R()}],"border-w":[{border:he()}],"border-w-x":[{"border-x":he()}],"border-w-y":[{"border-y":he()}],"border-w-s":[{"border-s":he()}],"border-w-e":[{"border-e":he()}],"border-w-t":[{"border-t":he()}],"border-w-r":[{"border-r":he()}],"border-w-b":[{"border-b":he()}],"border-w-l":[{"border-l":he()}],"divide-x":[{"divide-x":he()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":he()}
vendor: 6,227 bytes, line 50
50],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[..._e(),"hidden","none"]}],"divide-style":[{divide:[..._e(),"hidden","none"]}],"border-color":[{border:te()}],"border-color-x":[{"border-x":te()}],"border-color-y":[{"border-y":te()}],"border-color-s":[{"border-s":te()}],"border-color-e":[{"border-e":te()}],"border-color-t":[{"border-t":te()}],"border-color-r":[{"border-r":te()}],"border-color-b":[{"border-b":te()}],"border-color-l":[{"border-l":te()}],"divide-color":[{divide:te()}],"outline-style":[{outline:[..._e(),"none","hidden"]}],"outline-offset":[{"outline-offset":[ot,Fe,He]}],"outline-w":[{outline:["",ot,rc,eo]}],"outline-color":[{outline:te()}],shadow:[{shadow:["","none",p,Hd,Ud]}],"shadow-color":[{shadow:te()}],"inset-shadow":[{"inset-shadow":["none",m,Hd,Ud]}],"inset-shadow-color":[{"inset-shadow":te()}],"ring-w":[{ring:he()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:te()}],"ring-offset-w":[{"ring-offset":[ot,eo]}],"ring-offset-color":[{"ring-offset":te()}],"inset-ring-w":[{"inset-ring":he()}],"inset-ring-color":[{"inset-ring":te()}],"text-shadow":[{"text-shadow":["none",b,Hd,Ud]}],"text-shadow-color":[{"text-shadow":te()}],opacity:[{opacity:[ot,Fe,He]}],"mix-blend":[{"mix-blend":[...Re(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":Re()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[ot]}],"mask-image-linear-from-pos":[{"mask-linear-from":Me()}],"mask-image-linear-to-pos":[{"mask-linear-to":Me()}],"mask-image-linear-from-color":[{"mask-linear-from":te()}],"mask-image-linear-to-color":[{"mask-linear-to":te()}],"mask-image-t-from-pos":[{"mask-t-from":Me()}],"mask-image-t-to-pos":[{"mask-t-to":Me()}],"mask-image-t-from-color":[{"mask-t-from":te()}],"mask-image-t-to-color":[{"mask-t-to":te()}],"mask-image-r-from-pos":[{"mask-r-from":Me()}],"mask-image-r-to-pos":[{"mask-r-to":Me()}],"mask-image-r-from-color":[{"mask-r-from":te()}],"mask-image-r-to-color":[{"mask-r-to":te()}],"mask-image-b-from-pos":[{"mask-b-from":Me()}],"mask-image-b-to-pos":[{"mask-b-to":Me()}],"mask-image-b-from-color":[{"mask-b-from":te()}],"mask-image-b-to-color":[{"mask-b-to":te()}],"mask-image-l-from-pos":[{"mask-l-from":Me()}],"mask-image-l-to-pos":[{"mask-l-to":Me()}],"mask-image-l-from-color":[{"mask-l-from":te()}],"mask-image-l-to-color":[{"mask-l-to":te()}],"mask-image-x-from-pos":[{"mask-x-from":Me()}],"mask-image-x-to-pos":[{"mask-x-to":Me()}],"mask-image-x-from-color":[{"mask-x-from":te()}],"mask-image-x-to-color":[{"mask-x-to":te()}],"mask-image-y-from-pos":[{"mask-y-from":Me()}],"mask-image-y-to-pos":[{"mask-y-to":Me()}],"mask-image-y-from-color":[{"mask-y-from":te()}],"mask-image-y-to-color":[{"mask-y-to":te()}],"mask-image-radial":[{"mask-radial":[Fe,He]}],"mask-image-radial-from-pos":[{"mask-radial-from":Me()}],"mask-image-radial-to-pos":[{"mask-radial-to":Me()}],"mask-image-radial-from-color":[{"mask-radial-from":te()}],"mask-image-radial-to-color":[{"mask-radial-to":te()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":K()}],"mask-image-conic-pos":[{"mask-conic":[ot]}],"mask-image-conic-from-pos":[{"mask-conic-from":Me()}],"mask-image-conic-to-pos":[{"mask-conic-to":Me()}],"mask-image-conic-from-color":[{"mask-conic-from":te()}],"mask-image-conic-to-color":[{"mask-conic-to":te()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:Oe()}],"mask-repeat":[{mask:U()}],"mask-size":[{mask:j()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",Fe,He]}],filter:[{filter:["","none",Fe,He]}],blur:[{blur:je()}],brightness:[{brightness:[ot,Fe,He]}],contrast:[{contrast:[ot,Fe,He]}],"drop-shadow":[{"drop-shadow":["","none",y,Hd,Ud]}],"drop-shadow-color":[{"drop-shadow":te()}],grayscale:[{grayscale:["",ot,Fe,He]}],"hue-rotate":[{"hue-rotate":[ot,Fe,He]}],invert:[{invert:["",ot,Fe,He]}],saturate:[{saturate:[ot,Fe,He]}],sepia:[{sepia:["",ot,Fe,He]}],"backdrop-filter":[{"backdrop-filter":["","none",Fe,He]}],"backdrop-blur":[{"backdrop-blur":je()}],"backdrop-brightness":[{"backdrop-brightness":[ot,Fe,He]}],"backdrop-contrast":[{"backdrop-contrast":[ot,Fe,He]}],"backdrop-grayscale":[{"backdrop-grayscale":["",ot,Fe,He]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[ot,Fe,He]}],"backdrop-invert":[{"backdrop-invert":["",ot,Fe,He]}],"backdrop-opacity":[{"backdrop-opacity":[ot,Fe,He]}],"backdrop-saturate":[{"backdrop-saturate":[ot,Fe,He]}],"backdrop-sepia":[{"backdrop-sepia":["",ot,Fe,He]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":W()}],"border-spacing-x":[{"border-spacing-x":W()}],"border-spacing-y":[{"border-spacing-y":W()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",Fe,He]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[ot,"initial",Fe,He]}],ease:[{ease:["linear","initial",k,Fe,He]}],delay:[{delay:[ot,Fe,He]}],animate:[{animate:["none",O,Fe,He]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[T,Fe,He]}],"perspective-origin":[{"perspective-origin":V()}],rotate:[{rotate:Ke()}],"rotate-x":[{"rotate-x":Ke()}],"rotate-y":[{"rotate-y":Ke()}],"rotate-z":[{"rotate-z":Ke()}],scale:[{scale:At()}],"scale-x":[{"scale-x":At()}],"scale-y":[{"scale-y":At()}],"scale-z":[{"scale-z":At()}],"scale-3d":["scale-3d"],skew:[{skew:Qt()}],"skew-x":[{"skew-x":Qt()}],"skew-y":[{"skew-y":Qt()}],transform:[{transform:[Fe,He,"","none","gpu","cpu"]}],"transform-origin":[{origin:V()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:en()}],"translate-x":[{"translate-x":en()}],"translate-y":[{"translate-y":en()}],"translate-z":[{"translate-z":en()}],"translate-none":["translate-none"],accent:[{accent:te()}],appearance:[{appearance:["none","auto"]}
vendor: 5,172 bytes, line 50
50],"caret-color":[{caret:te()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",Fe,He]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":W()}],"scroll-mx":[{"scroll-mx":W()}],"scroll-my":[{"scroll-my":W()}],"scroll-ms":[{"scroll-ms":W()}],"scroll-me":[{"scroll-me":W()}],"scroll-mt":[{"scroll-mt":W()}],"scroll-mr":[{"scroll-mr":W()}],"scroll-mb":[{"scroll-mb":W()}],"scroll-ml":[{"scroll-ml":W()}],"scroll-p":[{"scroll-p":W()}],"scroll-px":[{"scroll-px":W()}],"scroll-py":[{"scroll-py":W()}],"scroll-ps":[{"scroll-ps":W()}],"scroll-pe":[{"scroll-pe":W()}],"scroll-pt":[{"scroll-pt":W()}],"scroll-pr":[{"scroll-pr":W()}],"scroll-pb":[{"scroll-pb":W()}],"scroll-pl":[{"scroll-pl":W()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",Fe,He]}],fill:[{fill:["none",...te()]}],"stroke-w":[{stroke:[ot,rc,eo,x1]}],stroke:[{stroke:["none",...te()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},b_=DI(KI);function yh(...e){return b_(nb(e))}function ZI({delayDuration:e=0,...t}){return A.jsx(yI,{"data-loc":"client/src/components/ui/tooltip.tsx:11","data-slot":"tooltip-provider",delayDuration:e,...t})}const g5=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,b5=nb,JI=(e,t)=>n=>{var r;if(t?.variants==null)return b5(e,n?.class,n?.className);const{variants:a,defaultVariants:s}=t,l=Object.keys(a).map(f=>{const p=n?.[f],m=s?.[f];if(p===null)return null;const b=g5(p)||g5(m);return a[f][b]}),u=n&&Object.entries(n).reduce((f,p)=>{let[m,b]=p;return b===void 0||(f[m]=b),f},{}),d=t==null||(r=t.compoundVariants)===null||r===void 0?void 0:r.reduce((f,p)=>{let{class:m,className:b,...y}=p;return Object.entries(y).every(E=>
50{let[T,N]=E;return Array.isArray(N)?N.includes({...s,...u}[T]):{...s,...u}[T]===N})?[...f,m,b]:f},[]);return b5(e,l,d,n?.class,n?.className)},eM=JI("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-white hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"border bg-transparent shadow-xs hover:bg-accent dark:bg-transparent dark:border-input dark:hover:bg-input/50",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent dark:hover:bg-accent/50",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2 has-[>svg]:px-3",sm:"h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5",lg:"h-10 rounded-md px-6 has-[>svg]:px-4",icon:"size-9","icon-sm":"size-8","icon-lg":"size-10"}},defaultVariants:{variant:"default",size:"default"}});function tM({className:e,variant:t,size:n,asChild:r=!1,...a}){const s=r?fD:"button";return A.jsx(s,{"data-loc":"client/src/components/ui/button.tsx:52","data-slot":"button",className:yh(eM({variant:t,size:n,className:e})),...a})}function nM({className:e,...t}){return A.jsx("div",{"data-loc":"client/src/components/ui/card.tsx:7","data-slot":"card",className:yh("bg-card text-card-foreground flex flex-col gap-6 rounded-xl border py-6 shadow-sm",e),...t})}function rM({className:e,...t}){return A.jsx("div",{"data-loc":"client/src/components/ui/card.tsx:66","data-slot":"card-content",className:yh("px-6",e),...t})}/**
51 * @license lucide-react v0.453.0 - ISC
52 *
53 * This source code is licensed under the ISC license.
54 * See the LICENSE file in the root directory of this source tree.
55 */const aM=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),y_=(...e)=>e.filter((t,n,r)=>!!t&&r.indexOf(t)===n).join(" ");/**
56 * @license lucide-react v0.453.0 - ISC
57 *
58 * This source code is licensed under the ISC license.
59 * See the LICENSE file in the root directory of this source tree.
60 */var iM={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/**
61 * @license lucide-react v0.453.0 - ISC
62 *
63 * This source code is licensed under the ISC license.
64 * See the LICENSE file in the root directory of this source tree.
65 */const sM=H.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:n=2,absoluteStrokeWidth:r,className:a="",children:s,iconNode:l,...u},d)=>H.createElement("svg",{ref:d,...iM,width:t,height:t,stroke:e,strokeWidth:r?Number(n)*24/Number(t):n,className:y_("lucide",a),...u},[...l.map(([f,p])=>H.createElement(f,p)),...Array.isArray(s)?s:[s]]));/**
66 * @license lucide-react v0.453.0 - ISC
67 *
68 * This source code is licensed under the ISC license.
69 * See the LICENSE file in the root directory of this source tree.
70 */const _a=(e,t)=>{const n=H.forwardRef(({className:r,...a},s)=>H.createElement(sM,{ref:s,iconNode:t,className:y_(`lucide-${aM(e)}`,r),...a}));return n.displayName=`${e}`,n};/**
71 * @license lucide-react v0.453.0 - ISC
72 *
73 * This source code is licensed under the ISC license.
74 * See the LICENSE file in the root directory of this source tree.
75 */const oM=_a("ArrowLeft",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]]);/**
76 * @license lucide-react v0.453.0 - ISC
77 *
78 * This source code is licensed under the ISC license.
79 * See the LICENSE file in the root directory of this source tree.
80 */const lM=_a("ArrowRight",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]);/**
81 * @license lucide-react v0.453.0 - ISC
82 *
83 * This source code is licensed under the ISC license.
84 * See the LICENSE file in the root directory of this source tree.
85 */const uM=_a("BookOpen",[["path",{d:"M12 7v14",key:"1akyts"}],["path",{d:"M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z",key:"ruj8y"}]]);/**
86 * @license lucide-react v0.453.0 - ISC
87 *
88 * This source code is licensed under the ISC license.
89 * See the LICENSE file in the root directory of this source tree.
90 */const cM=_a("Calendar",[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}]]);/**
91 * @license lucide-react v0.453.0 - ISC
92 *
93 * This source code is licensed under the ISC license.
94 * See the LICENSE file in the root directory of this source tree.
95 */const dM=_a("CircleAlert",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]]);/**
96 * @license lucide-react v0.453.0 - ISC
97 *
98 * This source code is licensed under the ISC license.
99 * See the LICENSE file in the root directory of this source tree.
100 */const fM=_a("CircleCheckBig",[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]]);/**
101 * @license lucide-react v0.453.0 - ISC
102 *
103 * This source code is licensed under the ISC license.
104 * See the LICENSE file in the root directory of this source tree.
105 */const hM=_a("House",[["path",{d:"M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8",key:"5wwlr5"}],["path",{d:"M3 10a2 2 0 0 1 .709-1.528l7-5.999a2 2 0 0 1 2.582 0l7 5.999A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"1d0kgt"}]]);/**
106 * @license lucide-react v0.453.0 - ISC
107 *
108 * This source code is licensed under the ISC license.
109 * See the LICENSE file in the root directory of this source tree.
110 */const y5=_a("Plus",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]]);/**
111 * @license lucide-react v0.453.0 - ISC
112 *
113 * This source code is licensed under the ISC license.
114 * See the LICENSE file in the root directory of this source tree.
115 */const mM=_a("RotateCcw",[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}]]);/**
116 * @license lucide-react v0.453.0 - ISC
117 *
118 * This source code is licensed under the ISC license.
119 * See the LICENSE file in the root directory of this source tree.
120 */const pM=_a("Send",[["path",{d:"M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z",key:"1ffxy3"}],["path",{d:"m21.854 2.147-10.94 10.939",key:"12cjpa"}]]);/**
121 * @license lucide-react v0.453.0 - ISC
122 *
123 * This source code is licensed under the ISC license.
124 * See the LICENSE file in the root directory of this source tree.
125 */const gM=_a("TriangleAlert",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]]);function bM(e,t){if(e instanceof RegExp)return{keys:!1,pattern:e};var n,r,a,s,l=[],u="",d=e.split("/");for(d[0]||d.shift();a=d.shift();)n=a[0],n==="*"?(l.push(n),u+=a[1]==="?"?"(?:/(.*))?":"/(.*)"):n===":"?(r=a.indexOf("?",1),s=a.indexOf(".",1),l.push(a.substring(1,~r?r:~s?s:a.length)),u+=~r&&!~s?"(?:/([^/]+?))?":"/([^/]+?)",~s&&(u+=(~r?"?":"")+"\\"+a.substring(s))):u+="/"+a;return{keys:l,pattern:new RegExp("^"+u+(t?"(?=$|/)":"/?$"),"i")}}var E1={exports:{}},_1={};/**
126 * @license React
127 * use-sync-external-store-shim.production.js
128 *
129 * Copyright (c) Meta Platforms, Inc. and affiliates.
130 *
131 * This source code is licensed under the MIT license found in the
132 * LICENSE file in the root directory of this source tree.
133 */var v5;function yM(){if(v5)return _1;v5=1;var e=ah();function t(m,b){return m===b&&(m!==0||1/m===1/b)||m!==m&&b!==b}var n=typeof Object.is=="function"?Object.is:t,r=e.useState,a=e.useEffect,s=e.useLayoutEffect,l=e.useDebugValue;
133function u(m,b){var y=b(),E=r({inst:{value:y,getSnapshot:b}}),T=E[0].inst,N=E[1];return s(function(){T.value=y,T.getSnapshot=b,d(T)&&N({inst:T})},[m,y,b]),a(function(){return d(T)&&N({inst:T}),m(function(){d(T)&&N({inst:T})})},[m]),l(y),y}function d(m){var b=m.getSnapshot;m=m.value;try{var y=b();return!n(m,y)}catch{return!0}}function f(m,b){return b()}var p=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?f:u;return _1.useSyncExternalStore=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:p,_1}var x5;function vM(){return x5||(x5=1,E1.exports=yM()),E1.exports}var xM=vM();const EM=RE.useInsertionEffect,_M=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",TM=_M?H.useLayoutEffect:H.useEffect,SM=EM||TM,v_=e=>{const t=H.useRef([e,(...n)=>t[0](...n)]).current;return SM(()=>{t[0]=e}),t[1]},wM="popstate",ab="pushState",ib="replaceState",AM="hashchange",E5=[wM,ab,ib,AM],kM=e=>{for(const t of E5)addEventListener(t,e);return()=>{for(const t of E5)removeEventListener(t,e)}},x_=(e,t)=>xM.useSyncExternalStore(kM,e,t),CM=()=>location.search,NM=({ssrSearch:e=""}={})=>x_(CM,()=>e),_5=()=>location.pathname,OM=({ssrPath:e}={})=>x_(_5,e?()=>e:_5),RM=(e,{replace:t=!1,state:n=null}={})=>history[t?ib:ab](n,"",e),DM=(e={})=>[OM(e),RM],T5=Symbol.for("wouter_v3");if(typeof history<"u"&&typeof window[T5]>"u"){for(const e of[ab,ib]){const t=history[e];history[e]=function(){const n=t.apply(this,arguments),r=new Event(e);return r.arguments=arguments,dispatchEvent(r),n}}Object.defineProperty(window,T5,{value:!0})}const LM=(e,t)=>t.toLowerCase().indexOf(e.toLowerCase())?"~"+t:t.slice(e.length)||"/",E_=(e="")=>e==="/"?"":e,IM=(e,t)=>e[0]==="~"?e.slice(1):E_(t)+e,MM=(e="",t)=>LM(S5(E_(e)),S5(t)),S5=e=>{try{return decodeURI(e)}catch{return e}},__={hook:DM,searchHook:NM,parser:bM,base:"",ssrPath:void 0,ssrSearch:void 0,ssrContext:void 0,hrefs:e=>e},T_=H.createContext(__),r0=()=>H.useContext(T_),S_={},w_=H.createContext(S_),A_=()=>H.useContext(w_),vh=e=>{const[t,n]=e.hook(e);return[MM(e.base,t),v_((r,a)=>n(IM(r,e.base),a))]},a0=()=>vh(r0()),k_=(e,t,n,r)=>{const{pattern:a,keys:s}=t instanceof RegExp?{keys:!1,pattern:t}:e(t||"*",r),l=a.exec(n)||[],[u,...d]=l;return u!==void 0?[!0,(()=>{const f=s!==!1?Object.fromEntries(s.map((m,b)=>[m,d[b]])):l.groups;let p={...d};return f&&Object.assign(p,f),p})(),...r?[u]:[]]:[!1,null]},PM=({children:e,...t})=>{const n=r0(),r=t.hook?__:n;let a=r;const[s,l]=t.ssrPath?.split("?")??[];l&&(t.ssrSearch=l,t.ssrPath=s),t.hrefs=t.hrefs??t.hook?.hrefs;let u=H.useRef({}),d=u.current,f=d;for(let p in r){const m=p==="base"?r[p]+(t[p]||""):t[p]||r[p];d===f&&m!==f[p]&&(u.current=f={...f}),f[p]=m,(m!==r[p]||m!==a[p])&&(a=f)}return H.createElement(T_.Provider,{value:a,children:e})},w5=({children:e,component:t},n)=>t?H.createElement(t,{params:n}):typeof e=="function"?e(n):e,BM=e=>{let t=H.useRef(S_);const n=t.current;return t.current=Object.keys(e).length!==Object.keys(n).length||Object.entries(e).some(([r,a])=>a!==n[r])?e:n},_l=({path:e,nest:t,match:n,...r})=>{const a=r0(),[s]=vh(a),[l,u,d]=n??k_(a.parser,e,s,t),f=BM({...A_(),...u});if(!l)return null;const p=d?H.createElement(PM,{base:d},w5(r,f)):w5(r,f);return H.createElement(w_.Provider,{value:f,children:p})},Dl=H.forwardRef((e,t)=>{const n=r0(),[r,a]=vh(n),{to:s="",href:l=s,onClick:u,asChild:d,children:f,className:p,replace:m,state:b,...y}=e,E=v_(N=>{N.ctrlKey||N.metaKey||N.altKey||N.shiftKey||N.button!==0||(u?.(N),N.defaultPrevented||(N.preventDefault(),a(l,e)))}),T=n.hrefs(l[0]==="~"?l.slice(1):n.base+l,n);return d&&H.isValidElement(f)?H.cloneElement(f,{onClick:E,href:T}):H.createElement("a",{...y,onClick:E,href:T,className:p?.call?p(r===l):p,children:f,ref:t})}),Vg=e=>Array.isArray(e)?e.flatMap(t=>Vg(t&&t.type===H.Fragment?t.props.children:t)):[e],zM=({children:e,location:t})=>{const n=r0(),[r]=vh(n);typeof window<"u"&&(window.__WOUTER_ROUTES__||(window.__WOUTER_ROUTES__=[]),Vg(e).forEach(s=>{if(H.isValidElement(s)&&s.props.path){const l=s.props.path;window.__WOUTER_ROUTES__.includes(l)||window.__WOUTER_ROUTES__.push(l)}}));for(const a of Vg(e)){let s=0;if(H.isValidElement(a)&&(s=k_(n.parser,a.props.path,t||r,a.props.nest))[0])return H.cloneElement(a,{match:s})}return null};function A5(){const[,e]=a0(),t=()=>{e("/")};return A.jsx("div",{"data-loc":"client/src/pages/NotFound.tsx:14",className:"min-h-screen w-full flex items-center justify-center bg-gradient-to-br from-slate-50 to-slate-100",children:A.jsx(nM,{"data-loc":"client/src/pages/NotFound.tsx:15",className:"w-full max-w-lg mx-4 shadow-lg border-0 bg-white/80 backdrop-blur-sm",children:A.jsxs(rM,{"data-loc":"client/src/pages/NotFound.tsx:16",className:"pt-8 pb-8 text-center",children:[A.jsx("div",{"data-loc":"client/src/pages/NotFound.tsx:17",className:"flex justify-center mb-6",children:A.jsxs("div",{"data-loc":"client/src/pages/NotFound.tsx:18",className:"relative",children:[A.jsx("div",{"data-loc":"client/src/pages/NotFound.tsx:19",className:"absolute inset-0 bg-red-100 rounded-full animate-pulse"}),A.jsx(dM,{"data-loc":"client/src/pages/NotFound.tsx:20",className:"relative h-16 w-16 text-red-500"})]})}),A.jsx("h1",{"data-loc":"client/src/pages/NotFound.tsx:24",className:"text-4xl font-bold text-slate-900 mb-2",children:"404"}),A.jsx("h2",{"data-loc":"client/src/pages/NotFound.tsx:26",className:"text-xl font-semibold text-slate-700 mb-4",children:"Page Not Found"}),A.jsxs("p",{"data-loc":"client/src/pages/NotFound.tsx:30",className:"text-slate-600 mb-8 leading-relaxed",children:["Sorry, the page you are looking for doesn't exist.",A.jsx("br",{"data-loc":"client/src/pages/NotFound.tsx:32"}),"It may have been moved or deleted."]}),A.jsx("div",{"data-loc":"client/src/pages/NotFound.tsx:36",id:"not-found-button-group",className:"flex flex-col sm:flex-row gap-3 justify-center",children:A.jsxs(tM,{"data-loc":"client/src/pages/NotFound.tsx:40",onClick:t,className:"bg-blue-600 hover:bg-blue-700 text-white px-6 py-2.5 rounded-lg transition-all duration-200 shadow-md hover:shadow-lg",children:[A.jsx(hM,{"data-loc":"client/src/pages/NotFound.tsx:44",className:"w-4 h-4 mr-2"}),"Go Home"]})})]})})})}class UM extends H.Component{constructor(t){super(t),this.state={hasError:!1,error:null}}static getDerivedStateFromError(t){return{hasError:!0,error:t}}render(){return this.state.hasError?A.jsx("div",{"data-loc":"client/src/components/ErrorBoundary.tsx:27",className:"flex items-center justify-center min-h-screen p-8 bg-background",children:A.jsxs("div",{"data-loc":"client/src/components/ErrorBoundary.tsx:28",className:"flex flex-col items-center w-full max-w-2xl p-8",children:[A.jsx(gM,{"data-loc":"client/src/components/ErrorBoundary.tsx:29",size:48,className:"text-destructive mb-6 flex-shrink-0"}),A.jsx("h2",{"data-loc":"client/src/components/ErrorBoundary.tsx:34",className:"text-xl mb-4",children:"An unexpected error occurred."}),A.jsx("div",{"data-loc":"client/src/components/ErrorBoundary.tsx:36",className:"p-4 w-full rounded bg-muted overflow-auto mb-6",children:A.jsx("pre",{"data-loc":"client/src/components/ErrorBoundary.tsx:37",className:"text-sm text-muted-foreground whitespace-break-spaces",children:this.state.error?.stack})}),A.jsxs("button",{"data-loc":"client/src/components/ErrorBoundary.tsx:42",onClick:()=>window.location.reload(),className:yh("flex items-center gap-2 px-4 py-2 rounded-lg","bg-primary text-primary-foreground","hover:opacity-90 cursor-pointer"),children:[A.jsx(mM,{"data-loc":"client/src/components/ErrorBoundary.tsx:50",size:16}),"Reload Page"]})]})}):this.props.children}}const HM=H.createContext(void 0);function FM({children:e,defaultTheme:t="light",switchable:n=!1}){const[r,a]=H.useState(()=>n&&localStorage.getItem("theme")||t);H.useEffect(()=>{const l=document.documentElement;
133r==="dark"?l.classList.add("dark"):l.classList.remove("dark"),n&&localStorage.setItem("theme",r)},[r,n]);const s=n?()=>{a(l=>l==="light"?"dark":"light")}:void 0;return A.jsx(HM.Provider,{"data-loc":"client/src/contexts/ThemeContext.tsx:52",value:{theme:r,toggleTheme:s,switchable:n},children:e})}const ho=()=>{const e="https://manus.im",t="bMfBZ926TGuyKcf5zyVGLY",n=`${window.location.origin}/api/oauth/callback`,r=btoa(n),a=new URL(`${e}/app-auth`);return a.searchParams.set("appId",t),a.searchParams.set("redirectUri",n),a.searchParams.set("state",r),a.searchParams.set("type","signIn"),a.toString()};function xh(e){const{redirectOnUnauthenticated:t=!1,redirectPath:n=ho()}={},r=ba.useUtils(),a=ba.auth.me.useQuery(void 0,{retry:!1,refetchOnWindowFocus:!1}),s=ba.auth.logout.useMutation({onSuccess:()=>{r.auth.me.setData(void 0,null)}}),l=H.useCallback(async()=>{try{await s.mutateAsync()}catch(d){if(d instanceof Hl&&d.data?.code==="UNAUTHORIZED")return;throw d}finally{r.auth.me.setData(void 0,null),await r.auth.me.invalidate()}},[s,r]),u=H.useMemo(()=>(localStorage.setItem("manus-runtime-user-info",JSON.stringify(a.data)),{user:a.data??null,loading:a.isLoading||s.isPending,error:a.error??s.error??null,isAuthenticated:!!a.data}),[a.data,a.error,a.isLoading,s.error,s.isPending]);return H.useEffect(()=>{t&&(a.isLoading||s.isPending||u.user||typeof window>"u"||window.location.pathname!==n&&(window.location.href=n))},[t,n,s.isPending,a.isLoading,u.user]),{...u,refresh:()=>a.refetch(),logout:l}}function jM(){const{isAuthenticated:e}=xh();e||ho();const t=({children:n,className:r=""})=>e?A.jsx(Dl,{"data-loc":"client/src/pages/Landing.tsx:11",href:"/onboarding",children:A.jsx("button",{"data-loc":"client/src/pages/Landing.tsx:12",className:r,children:n})}):A.jsx("a",{"data-loc":"client/src/pages/Landing.tsx:15",href:ho(),children:A.jsx("button",{"data-loc":"client/src/pages/Landing.tsx:16",className:r,children:n})});return A.jsxs("div",{"data-loc":"client/src/pages/Landing.tsx:21",className:"min-h-screen bg-background text-foreground",children:[A.jsx("nav",{"data-loc":"client/src/pages/Landing.tsx:24",className:"fixed top-0 left-0 right-0 z-50 bg-background/95 backdrop-blur-sm border-b border-border",children:A.jsxs("div",{"data-loc":"client/src/pages/Landing.tsx:25",className:"container flex items-center justify-between h-16",children:[A.jsxs("div",{"data-loc":"client/src/pages/Landing.tsx:26",className:"flex flex-col leading-none",children:[A.jsx("span",{"data-loc":"client/src/pages/Landing.tsx:27",className:"font-serif text-lg font-semibold text-primary tracking-tight",children:"The Sinclaire Academy"}),A.jsx("span",{"data-loc":"client/src/pages/Landing.tsx:30",className:"text-[10px] text-muted-foreground tracking-[0.18em] uppercase font-sans",children:"A Sinclaire Society, LLC Company"})]}),A.jsxs("div",{"data-loc":"client/src/pages/Landing.tsx:34",className:"flex items-center gap-8",children:[A.jsx("a",{"data-loc":"client/src/pages/Landing.tsx:35",href:"#how-it-works",className:"text-sm text-muted-foreground hover:text-foreground transition-colors hidden md:block",children:"How It Works"}),A.jsx("a",{"data-loc":"client/src/pages/Landing.tsx:38",href:"#pricing",className:"text-sm text-muted-foreground hover:text-foreground transition-colors hidden md:block",children:"Pricing"}),e?A.jsx(Dl,{"data-loc":"client/src/pages/Landing.tsx:42",href:"/dashboard",children:A.jsx("button",{"data-loc":"client/src/pages/Landing.tsx:43",className:"btn-press text-sm font-medium bg-primary text-primary-foreground px-5 py-2 rounded-sm hover:opacity-90 transition-opacity",children:"Dashboard"})}):A.jsx("a",{"data-loc":"client/src/pages/Landing.tsx:48",href:ho(),children:A.jsx("button",{"data-loc":"client/src/pages/Landing.tsx:49",className:"btn-press text-sm font-medium bg-primary text-primary-foreground px-5 py-2 rounded-sm hover:opacity-90 transition-opacity",children:"Sign In"})})]})]})}),A.jsx("section",{"data-loc":"client/src/pages/Landing.tsx:59",className:"pt-44 pb-36 px-6",children:A.jsxs("div",{"data-loc":"client/src/pages/Landing.tsx:60",className:"container max-w-4xl mx-auto text-center",children:[A.jsx("div",{"data-loc":"client/src/pages/Landing.tsx:61",className:"animate-fade-up",style:{animationDelay:"0ms"},children:A.jsxs("div",{"data-loc":"client/src/pages/Landing.tsx:62",className:"flex items-center justify-center gap-4 mb-10",children:[A.jsx("span",{"data-loc":"client/src/pages/Landing.tsx:63",className:"accent-line"}),A.jsx("span",{"data-loc":"client/src/pages/Landing.tsx:64",className:"text-xs tracking-[0.22em] uppercase text-accent font-medium font-sans",children:"Summer Learning · 2025"}),A.jsx("span",{"data-loc":"client/src/pages/Landing.tsx:67",className:"accent-line"})]})}),A.jsxs("h1",{"data-loc":"client/src/pages/Landing.tsx:71",className:"animate-fade-up font-serif text-6xl md:text-8xl font-semibold text-primary leading-[1.05] mb-8",style:{animationDelay:"80ms"},children:["The Sinclaire",A.jsx("br",{"data-loc":"client/src/pages/Landing.tsx:76"}),A.jsx("em",{"data-loc":"client/src/pages/Landing.tsx:77",className:"not-italic",style:{color:"oklch(0.72 0.12 75)"},children:"Academy"})]}),A.jsx("p",{"data-loc":"client/src/pages/Landing.tsx:80",className:"animate-fade-up text-xl md:text-2xl text-muted-foreground font-light leading-relaxed max-w-2xl mx-auto mb-14",style:{animationDelay:"160ms"},children:"A patient, personal AI tutor — built for the way your child's brain works. Every day this summer. No meltdowns. No regression."}),A.jsxs("div",{"data-loc":"client/src/pages/Landing.tsx:88",className:"animate-fade-up flex flex-col sm:flex-row items-center justify-center gap-5",style:{animationDelay:"240ms"},children:[A.jsx(t,{"data-loc":"client/src/pages/Landing.tsx:92",className:"btn-press bg-primary text-primary-foreground px-12 py-4 text-base font-medium rounded-sm hover:opacity-90 transition-opacity w-full sm:w-auto",children:"Meet Your Child's Tutor"}),A.jsx("a",{"data-loc":"client/src/pages/Landing.tsx:95",href:"#how-it-works",className:"text-sm text-muted-foreground hover:text-foreground transition-colors underline underline-offset-4",children:"See how it works"})]})]})}),A.jsx("section",{"data-loc":"client/src/pages/Landing.tsx:106",className:"py-28 bg-primary text-primary-foreground",children:A.jsxs("div",{"data-loc":"client/src/pages/Landing.tsx:107",className:"container max-w-3xl mx-auto text-center",children:[A.jsxs("p",{"data-loc":"client/src/pages/Landing.tsx:108",className:"font-serif text-2xl md:text-3xl font-medium leading-[1.6] italic",children:['"Every child deserves a teacher who understands them.',A.jsx("br",{"data-loc":"client/src/pages/Landing.tsx:110"}),"The Sinclaire Academy makes sure they have one —",A.jsx("br",{"data-loc":"client/src/pages/Landing.tsx:112"}),'even at 8 PM on a Tuesday in July."']}),A.jsx("div",{"data-loc":"client/src/pages/Landing.tsx:115",className:"flex justify-center mt-10",children:A.jsx("span",{"data-loc":"client/src/pages/Landing.tsx:116",className:"accent-line",style:{backgroundColor:"oklch(0.72 0.12 75)"}})})]})}),A.jsx("section",{"data-loc":"client/src/pages/Landing.tsx:122",className:"section",id:"who",children:A.jsxs("div",{"data-loc":"client/src/pages/Landing.tsx:123",className:"container max-w-5xl mx-auto",children:[A.jsxs("div",{"data-loc":"client/src/pages/Landing.tsx:124",className:"text-center mb-16",children:[A.jsxs("div",{"data-loc":"client/src/pages/Landing.tsx:125",className:"flex items-center justify-center gap-4 mb-5",children:[A.jsx("span",{"data-loc":"client/src/pages/Landing.tsx:126",className:"accent-line"}),A.jsx("span",{"data-loc":"client/src/pages/Landing.tsx:127",className:"text-xs tracking-[0.22em] uppercase text-accent font-medium",children:"Built For"}),A.jsx("span",{"data-loc":"client/src/pages/Landing.tsx:128",className:"accent-line"})]}),A.jsx("h2",{"data-loc":"client/src/pages/Landing.tsx:130",className:"font-serif text-4xl md:text-5xl font-semibold text-primary leading-tight",children:"Children who learn differently."}),A.jsx("p",{"data-loc":"client/src/pages/Landing.tsx:133",className:"text-muted-foreground mt-5 text-lg max-w-xl mx-auto leading-relaxed",children:"Designed from the ground up for neurodivergent learners in grades K–8."})]}),A.jsx("div",{"data-loc":"client/src/pages/Landing.tsx:138",className:"grid grid-cols-1 md:grid-cols-3 gap-5",children:[{label:"ADHD",description:"Short, focused sessions with built-in movement breaks and timer-based pacing. Designed for the brain that needs momentum, not marathon."}
133,{label:"Dyslexia",description:"Phonetic scaffolding, visual word mapping, and text-to-speech support. Reading the way it was meant to be taught — patiently, step by step."},{label:"Autism Spectrum",description:"Predictable structure, literal language, and no ambiguity. Every session follows the same confident rhythm so your child always knows what comes next."},{label:"Processing Delays",description:"Extended wait time, simplified language, and gentle repetition without condescension. The tutor waits. It never rushes."},{label:"Dyscalculia",description:"Math taught through concrete, visual, and verbal representations. Number lines, step-by-step breakdowns, and zero judgment."},{label:"Anxiety & Emotional Regulation",description:"Low-pressure framing, consistent encouragement, and built-in escape options. Learning should feel safe. Here, it does."}].map((n,r)=>A.jsxs("div",{"data-loc":"client/src/pages/Landing.tsx:165",className:"card-elevated bg-card border border-border rounded-sm p-8",children:[A.jsxs("div",{"data-loc":"client/src/pages/Landing.tsx:166",className:"flex items-center gap-3 mb-5",children:[A.jsx("div",{"data-loc":"client/src/pages/Landing.tsx:167",className:"w-1 h-8 rounded-full flex-shrink-0",style:{backgroundColor:"oklch(0.72 0.12 75)"}}),A.jsx("h3",{"data-loc":"client/src/pages/Landing.tsx:171",className:"font-serif text-xl font-semibold text-primary",children:n.label})]}),A.jsx("p",{"data-loc":"client/src/pages/Landing.tsx:173",className:"text-muted-foreground text-sm leading-relaxed",children:n.description})]},r))})]})}),A.jsx("section",{"data-loc":"client/src/pages/Landing.tsx:181",className:"section bg-secondary",id:"how-it-works",children:A.jsxs("div",{"data-loc":"client/src/pages/Landing.tsx:182",className:"container max-w-4xl mx-auto",children:[A.jsxs("div",{"data-loc":"client/src/pages/Landing.tsx:183",className:"text-center mb-16",children:[A.jsxs("div",{"data-loc":"client/src/pages/Landing.tsx:184",className:"flex items-center justify-center gap-4 mb-5",children:[A.jsx("span",{"data-loc":"client/src/pages/Landing.tsx:185",className:"accent-line"}),A.jsx("span",{"data-loc":"client/src/pages/Landing.tsx:186",className:"text-xs tracking-[0.22em] uppercase text-accent font-medium",children:"The Process"}),A.jsx("span",{"data-loc":"client/src/pages/Landing.tsx:187",className:"accent-line"})]}),A.jsx("h2",{"data-loc":"client/src/pages/Landing.tsx:189",className:"font-serif text-4xl md:text-5xl font-semibold text-primary",children:"Simple. Every day."})]}),A.jsx("div",{"data-loc":"client/src/pages/Landing.tsx:194",className:"grid grid-cols-1 md:grid-cols-3 gap-14",children:[{step:"01",title:"Create Your Child's Profile",description:"Tell us your child's name, grade, and how their brain works best. Two minutes. Done once."},{step:"02",title:"Meet Their Tutor",description:"Their personal Sinclaire tutor adapts to their profile — patient, structured, and ready every single day."},{step:"03",title:"Ten Minutes a Day",description:"A focused session. Guided questions. Real learning. No answers given — only understanding built."}].map((n,r)=>A.jsxs("div",{"data-loc":"client/src/pages/Landing.tsx:212",className:"text-center",children:[A.jsx("div",{"data-loc":"client/src/pages/Landing.tsx:213",className:"font-serif text-6xl font-semibold mb-5",style:{color:"oklch(0.72 0.12 75 / 0.35)"},children:n.step}),A.jsx("h3",{"data-loc":"client/src/pages/Landing.tsx:219",className:"font-serif text-xl font-semibold text-primary mb-3",children:n.title}),A.jsx("p",{"data-loc":"client/src/pages/Landing.tsx:220",className:"text-muted-foreground text-sm leading-relaxed",children:n.description})]},r))})]})}),A.jsx("section",{"data-loc":"client/src/pages/Landing.tsx:228",className:"section",children:A.jsx("div",{"data-loc":"client/src/pages/Landing.tsx:229",className:"container max-w-4xl mx-auto",children:A.jsxs("div",{"data-loc":"client/src/pages/Landing.tsx:230",className:"grid grid-cols-1 md:grid-cols-2 gap-20 items-center",children:[A.jsxs("div",{"data-loc":"client/src/pages/Landing.tsx:231",children:[A.jsxs("div",{"data-loc":"client/src/pages/Landing.tsx:232",className:"flex items-center gap-3 mb-7",children:[A.jsx("span",{"data-loc":"client/src/pages/Landing.tsx:233",className:"accent-line"}),A.jsx("span",{"data-loc":"client/src/pages/Landing.tsx:234",className:"text-xs tracking-[0.22em] uppercase text-accent font-medium",children:"Our Promise"})]}),A.jsx("h2",{"data-loc":"client/src/pages/Landing.tsx:236",className:"font-serif text-4xl font-semibold text-primary mb-7 leading-tight",children:"The tutor never gives the answer."}),A.jsx("p",{"data-loc":"client/src/pages/Landing.tsx:239",className:"text-muted-foreground leading-relaxed mb-5",children:"Every other AI tool races to be more helpful by doing the work for your child. We race in the opposite direction. The Sinclaire Academy asks questions until your child finds the answer themselves."}),A.jsx("p",{"data-loc":"client/src/pages/Landing.tsx:242",className:"text-muted-foreground leading-relaxed",children:"Confidence is not built by being handed answers. It is built by discovering you were capable of finding them."})]}),A.jsx("div",{"data-loc":"client/src/pages/Landing.tsx:246",className:"space-y-3",children:["Breaks every problem into smaller, manageable steps","Asks guiding questions instead of stating solutions","Celebrates effort and persistence — not just correct answers","Adjusts pacing when frustration is detected","Ends every session with a moment of genuine recognition"].map((n,r)=>A.jsxs("div",{"data-loc":"client/src/pages/Landing.tsx:254",className:"flex items-start gap-4 p-5 bg-secondary rounded-sm",children:[A.jsx("div",{"data-loc":"client/src/pages/Landing.tsx:255",className:"w-5 h-5 rounded-full bg-accent/20 flex items-center justify-center flex-shrink-0 mt-0.5",children:A.jsx("div",{"data-loc":"client/src/pages/Landing.tsx:256",className:"w-2 h-2 rounded-full bg-accent"})}),A.jsx("p",{"data-loc":"client/src/pages/Landing.tsx:258",className:"text-sm text-foreground leading-relaxed",children:n})]},r))})]})})}),A.jsx("section",{"data-loc":"client/src/pages/Landing.tsx:267",className:"section bg-primary text-primary-foreground",id:"pricing",children:A.jsxs("div",{"data-loc":"client/src/pages/Landing.tsx:268",className:"container max-w-3xl mx-auto text-center",children:[A.jsxs("div",{"data-loc":"client/src/pages/Landing.tsx:269",className:"flex items-center justify-center gap-4 mb-7",children:[A.jsx("span",{"data-loc":"client/src/pages/Landing.tsx:270",className:"accent-line",style:{backgroundColor:"oklch(0.72 0.12 75)"}}),A.jsx("span",{"data-loc":"client/src/pages/Landing.tsx:271",className:"text-xs tracking-[0.22em] uppercase font-medium",style:{color:"oklch(0.72 0.12 75)"},children:"Summer 2025"}),A.jsx("span",{"data-loc":"client/src/pages/Landing.tsx:277",className:"accent-line",style:{backgroundColor:"oklch(0.72 0.12 75)"}})]}),A.jsx("h2",{"data-loc":"client/src/pages/Landing.tsx:279",className:"font-serif text-4xl md:text-5xl font-semibold mb-5",children:"One summer. One price."}),A.jsx("p",{"data-loc":"client/src/pages/Landing.tsx:282",className:"text-primary-foreground
133/70 text-lg mb-16 max-w-xl mx-auto leading-relaxed",children:"No monthly billing. No surprises. One investment in your child's summer."}),A.jsxs("div",{"data-loc":"client/src/pages/Landing.tsx:286",className:"grid grid-cols-1 md:grid-cols-2 gap-6 text-left",children:[A.jsxs("div",{"data-loc":"client/src/pages/Landing.tsx:288",className:"bg-primary-foreground/10 border border-primary-foreground/20 rounded-sm p-9",children:[A.jsx("h3",{"data-loc":"client/src/pages/Landing.tsx:289",className:"font-serif text-2xl font-semibold mb-2",children:"Summer Pass"}),A.jsx("p",{"data-loc":"client/src/pages/Landing.tsx:290",className:"text-primary-foreground/60 text-sm mb-7",children:"One child, all summer long"}),A.jsxs("div",{"data-loc":"client/src/pages/Landing.tsx:291",className:"flex items-baseline gap-2 mb-9",children:[A.jsx("span",{"data-loc":"client/src/pages/Landing.tsx:292",className:"font-serif text-5xl font-semibold",children:"$29"}),A.jsx("span",{"data-loc":"client/src/pages/Landing.tsx:293",className:"text-primary-foreground/60 text-sm",children:"one-time"})]}),A.jsx("ul",{"data-loc":"client/src/pages/Landing.tsx:295",className:"space-y-3 mb-9",children:["10 weeks of daily sessions","Personalized disability profile","Reading & math focus","Parent session summaries","End-of-summer report"].map((n,r)=>A.jsxs("li",{"data-loc":"client/src/pages/Landing.tsx:303",className:"flex items-center gap-3 text-sm text-primary-foreground/80",children:[A.jsx("div",{"data-loc":"client/src/pages/Landing.tsx:304",className:"w-1.5 h-1.5 rounded-full flex-shrink-0",style:{backgroundColor:"oklch(0.72 0.12 75)"}}),n]},r))}),A.jsx(t,{"data-loc":"client/src/pages/Landing.tsx:312",className:"btn-press w-full py-3 text-sm font-medium rounded-sm border border-primary-foreground/30 hover:bg-primary-foreground/10 transition-colors text-primary-foreground",children:"Get Started"})]}),A.jsxs("div",{"data-loc":"client/src/pages/Landing.tsx:318",className:"rounded-sm p-9 relative",style:{backgroundColor:"oklch(0.72 0.12 75)",color:"oklch(0.15 0.02 240)"},children:[A.jsx("div",{"data-loc":"client/src/pages/Landing.tsx:322",className:"absolute top-5 right-5 text-[10px] tracking-widest uppercase font-medium bg-primary text-primary-foreground px-3 py-1 rounded-sm",children:"Most Popular"}),A.jsx("h3",{"data-loc":"client/src/pages/Landing.tsx:325",className:"font-serif text-2xl font-semibold mb-2",children:"Family Pass"}),A.jsx("p",{"data-loc":"client/src/pages/Landing.tsx:326",className:"text-sm mb-7 opacity-70",children:"Up to three children"}),A.jsxs("div",{"data-loc":"client/src/pages/Landing.tsx:327",className:"flex items-baseline gap-2 mb-9",children:[A.jsx("span",{"data-loc":"client/src/pages/Landing.tsx:328",className:"font-serif text-5xl font-semibold",children:"$49"}),A.jsx("span",{"data-loc":"client/src/pages/Landing.tsx:329",className:"text-sm opacity-60",children:"one-time"})]}),A.jsx("ul",{"data-loc":"client/src/pages/Landing.tsx:331",className:"space-y-3 mb-9",children:["Everything in Summer Pass","Up to 3 child profiles","Individual profiles per child","Family dashboard","Priority access to fall product"].map((n,r)=>A.jsxs("li",{"data-loc":"client/src/pages/Landing.tsx:339",className:"flex items-center gap-3 text-sm opacity-80",children:[A.jsx("div",{"data-loc":"client/src/pages/Landing.tsx:340",className:"w-1.5 h-1.5 rounded-full flex-shrink-0 bg-primary"}),n]},r))}),A.jsx(t,{"data-loc":"client/src/pages/Landing.tsx:345",className:"btn-press w-full py-3 text-sm font-medium rounded-sm bg-primary text-primary-foreground hover:opacity-90 transition-opacity",children:"Get Started"})]})]})]})}),A.jsx("section",{"data-loc":"client/src/pages/Landing.tsx:354",className:"section",children:A.jsxs("div",{"data-loc":"client/src/pages/Landing.tsx:355",className:"container max-w-2xl mx-auto text-center",children:[A.jsxs("h2",{"data-loc":"client/src/pages/Landing.tsx:356",className:"font-serif text-4xl md:text-5xl font-semibold text-primary mb-7 leading-tight",children:["Your child's best summer",A.jsx("br",{"data-loc":"client/src/pages/Landing.tsx:358"}),"starts with one decision."]}),A.jsx("p",{"data-loc":"client/src/pages/Landing.tsx:361",className:"text-muted-foreground text-lg mb-12 leading-relaxed",children:"Ten minutes a day. A tutor who never gives up on them. A September that feels like a beginning, not a recovery."}),A.jsx(t,{"data-loc":"client/src/pages/Landing.tsx:365",className:"btn-press bg-primary text-primary-foreground px-14 py-4 text-base font-medium rounded-sm hover:opacity-90 transition-opacity",children:"Begin Today"})]})}),A.jsx("footer",{"data-loc":"client/src/pages/Landing.tsx:372",className:"border-t border-border py-14",children:A.jsxs("div",{"data-loc":"client/src/pages/Landing.tsx:373",className:"container flex flex-col md:flex-row items-center justify-between gap-5",children:[A.jsxs("div",{"data-loc":"client/src/pages/Landing.tsx:374",className:"flex flex-col items-center md:items-start",children:[A.jsx("span",{"data-loc":"client/src/pages/Landing.tsx:375",className:"font-serif text-base font-semibold text-primary",children:"The Sinclaire Academy"}),A.jsx("span",{"data-loc":"client/src/pages/Landing.tsx:376",className:"text-xs text-muted-foreground mt-1",children:"A Sinclaire Society, LLC Company"})]}),A.jsxs("div",{"data-loc":"client/src/pages/Landing.tsx:378",className:"flex items-center gap-7 text-xs text-muted-foreground",children:[A.jsx("a",{"data-loc":"client/src/pages/Landing.tsx:379",href:"#",className:"hover:text-foreground transition-colors",children:"Privacy Policy"}),A.jsx("a",{"data-loc":"client/src/pages/Landing.tsx:380",href:"#",className:"hover:text-foreground transition-colors",children:"Terms of Service"}),A.jsx("a",{"data-loc":"client/src/pages/Landing.tsx:381",href:"mailto:[email protected]",className:"hover:text-foreground transition-colors",children:"Contact"})]}),A.jsx("p",{"data-loc":"client/src/pages/Landing.tsx:383",className:"text-xs text-muted-foreground",children:"© 2025 Sinclaire Society, LLC. All rights reserved."})]})})]})}const qM=["ADHD","Dyslexia","Autism Spectrum Disorder","Processing Delays","Dyscalculia","Anxiety / Emotional Regulation","Intellectual Disability","Other"],$M=[{value:"reading",label:"Reading & Language Arts"},{value:"math",label:"Mathematics"},{value:"both",label:"Both Reading & Math"},{value:"writing",label:"Written Expression"}],VM=[{value:5,label:"5 minutes"},{value:10,label:"10 minutes"},{value:15,label:"15 minutes"}];function GM(){const{isAuthenticated:e,loading:t}=xh(),[,n]=a0(),[r,a]=H.useState(1),[s,l]=H.useState({childName:"",grade:"",disabilityArea:"",subjectFocus:"both",sessionLength:10}),[u,d]=H.useState(""),f=ba.academy.createChild.useMutation({onSuccess:m=>{n(`/session/${m.id}`)},onError:m=>{d(m.message)}});if(t)return A.jsx("div",{"data-loc":"client/src/pages/Onboarding.tsx:62",className:"min-h-screen bg-background flex items-center justify-center",children:A.jsx("div",{"data-loc":"client/src/pages/Onboarding.tsx:63",className:"w-8 h-8 border-2 border-primary border-t-transparent roun
133ded-full animate-spin"})});if(!e)return A.jsx("div",{"data-loc":"client/src/pages/Onboarding.tsx:70",className:"min-h-screen bg-background flex items-center justify-center px-6",children:A.jsxs("div",{"data-loc":"client/src/pages/Onboarding.tsx:71",className:"text-center max-w-sm",children:[A.jsx("h2",{"data-loc":"client/src/pages/Onboarding.tsx:72",className:"font-serif text-3xl font-semibold text-primary mb-4",children:"Sign in to continue"}),A.jsx("p",{"data-loc":"client/src/pages/Onboarding.tsx:73",className:"text-muted-foreground mb-8 leading-relaxed",children:"Create a free account to set up your child's profile and meet their Sinclaire tutor."}),A.jsx("a",{"data-loc":"client/src/pages/Onboarding.tsx:76",href:ho(),children:A.jsx("button",{"data-loc":"client/src/pages/Onboarding.tsx:77",className:"btn-press bg-primary text-primary-foreground px-10 py-3 text-sm font-medium rounded-sm hover:opacity-90 transition-opacity",children:"Sign In"})})]})});const p=()=>{if(!s.childName.trim()){d("Please enter your child's name.");return}if(!s.grade){d("Please select a grade.");return}if(!s.disabilityArea){d("Please select a learning profile.");return}d(""),f.mutate(s)};return A.jsxs("div",{"data-loc":"client/src/pages/Onboarding.tsx:95",className:"min-h-screen bg-background flex flex-col",children:[A.jsxs("nav",{"data-loc":"client/src/pages/Onboarding.tsx:97",className:"border-b border-border px-6 h-16 flex items-center justify-between",children:[A.jsxs("div",{"data-loc":"client/src/pages/Onboarding.tsx:98",className:"flex flex-col leading-none",children:[A.jsx("span",{"data-loc":"client/src/pages/Onboarding.tsx:99",className:"font-serif text-base font-semibold text-primary",children:"The Sinclaire Academy"}),A.jsx("span",{"data-loc":"client/src/pages/Onboarding.tsx:100",className:"text-[10px] text-muted-foreground tracking-[0.18em] uppercase",children:"A Sinclaire Society, LLC Company"})]}),A.jsx("div",{"data-loc":"client/src/pages/Onboarding.tsx:102",className:"flex gap-1",children:[1,2,3].map(m=>A.jsx("div",{"data-loc":"client/src/pages/Onboarding.tsx:104",className:"w-8 h-1 rounded-full transition-colors duration-300",style:{backgroundColor:m<=r?"oklch(0.25 0.06 240)":"oklch(0.88 0.01 240)"}},m))})]}),A.jsx("div",{"data-loc":"client/src/pages/Onboarding.tsx:113",className:"flex-1 flex items-center justify-center px-6 py-16",children:A.jsxs("div",{"data-loc":"client/src/pages/Onboarding.tsx:114",className:"w-full max-w-lg",children:[r===1&&A.jsxs("div",{"data-loc":"client/src/pages/Onboarding.tsx:117",className:"animate-fade-up",children:[A.jsxs("div",{"data-loc":"client/src/pages/Onboarding.tsx:118",className:"flex items-center gap-3 mb-6",children:[A.jsx("span",{"data-loc":"client/src/pages/Onboarding.tsx:119",className:"accent-line"}),A.jsx("span",{"data-loc":"client/src/pages/Onboarding.tsx:120",className:"text-xs tracking-[0.2em] uppercase text-accent font-medium",children:"Step 1 of 3"})]}),A.jsx("h1",{"data-loc":"client/src/pages/Onboarding.tsx:122",className:"font-serif text-4xl font-semibold text-primary mb-3",children:"Tell us about your child."}),A.jsx("p",{"data-loc":"client/src/pages/Onboarding.tsx:123",className:"text-muted-foreground mb-10 leading-relaxed",children:"This takes two minutes. It shapes everything that follows."}),A.jsxs("div",{"data-loc":"client/src/pages/Onboarding.tsx:125",className:"space-y-6",children:[A.jsxs("div",{"data-loc":"client/src/pages/Onboarding.tsx:126",children:[A.jsx("label",{"data-loc":"client/src/pages/Onboarding.tsx:127",className:"block text-sm font-medium text-foreground mb-2",children:"Child's first name"}),A.jsx("input",{"data-loc":"client/src/pages/Onboarding.tsx:128",type:"text",value:s.childName,onChange:m=>l({...s,childName:m.target.value}),placeholder:"First name or nickname",className:"w-full border border-border rounded-sm px-4 py-3 text-sm bg-background text-foreground placeholder:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-primary/30 transition-shadow"})]}),A.jsxs("div",{"data-loc":"client/src/pages/Onboarding.tsx:137",children:[A.jsx("label",{"data-loc":"client/src/pages/Onboarding.tsx:138",className:"block text-sm font-medium text-foreground mb-2",children:"Grade"}),A.jsxs("select",{"data-loc":"client/src/pages/Onboarding.tsx:139",value:s.grade,onCh
133ange:m=>l({...s,grade:m.target.value}),className:"w-full border border-border rounded-sm px-4 py-3 text-sm bg-background text-foreground focus:outline-none focus:ring-2 focus:ring-primary/30 transition-shadow",children:[A.jsx("option",{"data-loc":"client/src/pages/Onboarding.tsx:144",value:"",children:"Select grade"}),["Kindergarten","1st","2nd","3rd","4th","5th","6th","7th","8th"].map(m=>A.jsxs("option",{"data-loc":"client/src/pages/Onboarding.tsx:146",value:m,children:[m," Grade"]},m))]})]})]}),u&&A.jsx("p",{"data-loc":"client/src/pages/Onboarding.tsx:152",className:"text-destructive text-sm mt-4",children:u}),A.jsx("button",{"data-loc":"client/src/pages/Onboarding.tsx:154",onClick:()=>{if(!s.childName.trim()){d("Please enter your child's name.");return}if(!s.grade){d("Please select a grade.");return}d(""),a(2)},className:"btn-press mt-10 w-full bg-primary text-primary-foreground py-3 text-sm font-medium rounded-sm hover:opacity-90 transition-opacity",children:"Continue"})]}),r===2&&A.jsxs("div",{"data-loc":"client/src/pages/Onboarding.tsx:168",className:"animate-fade-up",children:[A.jsxs("div",{"data-loc":"client/src/pages/Onboarding.tsx:169",className:"flex items-center gap-3 mb-6",children:[A.jsx("span",{"data-loc":"client/src/pages/Onboarding.tsx:170",className:"accent-line"}),A.jsx("span",{"data-loc":"client/src/pages/Onboarding.tsx:171",className:"text-xs tracking-[0.2em] uppercase text-accent font-medium",children:"Step 2 of 3"})]}),A.jsxs("h1",{"data-loc":"client/src/pages/Onboarding.tsx:173",className:"font-serif text-4xl font-semibold text-primary mb-3",children:["How does ",s.childName," learn?"]}),A.jsxs("p",{"data-loc":"client/src/pages/Onboarding.tsx:174",className:"text-muted-foreground mb-10 leading-relaxed",children:["Select the learning profile that best describes ",s.childName,". This shapes how their tutor communicates."]}),A.jsx("div",{"data-loc":"client/src/pages/Onboarding.tsx:178",className:"grid grid-cols-1 gap-3",children:qM.map(m=>A.jsx("button",{"data-loc":"client/src/pages/Onboarding.tsx:180",onClick:()=>l({...s,disabilityArea:m}),className:`text-left px-5 py-4 rounded-sm border text-sm font-medium transition-all duration-150 ${s.disabilityArea===m?"border-primary bg-primary text-primary-foreground":"border-border bg-background text-foreground hover:border-primary/50"}`,children:m},m))}),u&&A.jsx("p",{"data-loc":"client/src/pages/Onboarding.tsx:194",className:"text-destructive text-sm mt-4",children:u}),A.jsxs("div",{"data-loc":"client/src/pages/Onboarding.tsx:196",className:"flex gap-3 mt-10",children:[A.jsx("button",{"data-loc":"client/src/pages/Onboarding.tsx:197",onClick:()=>a(1),className:"btn-press flex-1 border border-border py-3 text-sm font-medium rounded-sm hover:bg-secondary transition-colors",children:"Back"}),A.jsx("button",{"data-loc":"client/src/pages/Onboarding.tsx:203",onClick:()=>{if(!s.disabilityArea){d("Please select a learning profile.");return}d(""),a(3)},className:"btn-press flex-1 bg-primary text-primary-foreground py-3 text-sm font-medium rounded-sm hover:opacity-90 transition-opacity",children:"Continue"})]})]}),r===3&&A.jsxs("div",{"data-loc":"client/src/pages/Onboarding.tsx:217",className:"animate-fade-up",children:[A.jsxs("div",{"data-loc":"client/src/pages/Onboarding.tsx:218",className:"flex items-center gap-3 mb-6",children:[A.jsx("span",{"data-loc":"client/src/pages/Onboarding.tsx:219",className:"accent-line"}),A.jsx("span",{"data-loc":"client/src/pages/Onboarding.tsx:220",className:"text-xs tracking-[0.2em] uppercase text-accent font-medium",children:"Step 3 of 3"})]}),A.jsx("h1",{"data-loc":"client/src/pages/Onboarding.tsx:222",className:"font-serif text-4xl font-semibold text-primary mb-3",children:"One last thing."}),A.jsxs("p",{"data-loc":"client/src/pages/Onboarding.tsx:223",className:"text-muted-foreground mb-10 leading-relaxed",children:["What should ",s.childName,"'s tutor focus on, and how long should each session be?"]}),A.jsxs("div",{"data-loc":"client/src/pages/Onboarding.tsx:227",className:"space-y-8",children:[A.jsxs("div",{"data-loc":"client/src/pages/Onboarding.tsx:228",children:[A.jsx("label",{"data-loc":"client/src/pages/Onboarding.tsx:229",className:"block text-sm font-medium text-foreground mb-3",children:"Subject focus"}),A.jsx("div",{"data-loc":"client/src/pages/Onboarding.tsx:230",className:"grid grid-cols-1 gap-3",children:$M.map(m=>A.jsx("button",{"data-loc":"client/src/pages/Onboarding.tsx:232",onClick:()=>l({...s,subjectFocus:m.value}),className:`text-left px-5 py-4 rounded-sm border text-sm font-medium transition-all duration-150 ${s.subjectFocus===m.value?"border-primary bg-primary text-primary-foreground":"border-border bg-background text-foreground hover:border-primary/50"}`,children:m.label},m.value))})]}),A.jsxs("div",{"data-loc":"client/src/pages/Onboarding.tsx:247",children:[A.jsx("label",{"data-loc":"client/src/pages/Onboarding.tsx:248",className:"block text-sm font-medium text-foreground mb-3",children:"Daily session length"}),A.jsx("div",{"data-loc":"client/src/pages/Onboarding.tsx:249",className:"flex gap-3",children:VM.map(m=>A.jsx("button",{"data-loc":"client/src/pages/Onboarding.tsx:251",onClick:()=>l({...s,sessionLength:m.value}),className:`flex-1 py-3 rounded-sm border text-sm font-medium transition-all duration-150 ${s.sessionLength===m.value?"border-primary bg-primary text-primary-foreground":"border-border bg-background text-foreground hover:border-primary/50"}`,children:m.label},m.value))})]})]}),u&&A.jsx("p",{"data-loc":"client/src/pages/Onboarding.tsx:267",className:"text-destructive text-sm mt-4",children:u}),A.jsxs("div",{"data-loc":"client/src/pages/Onboarding.tsx:269",className:"flex gap-3 mt-10",children:[A.jsx("button",{"data-loc":"client/src/pages/Onboarding.tsx:270",onClick:()=>a(2),className:"btn-press flex-1 border border-border py-3 text-sm font-medium rounded-sm hover:bg-secondary transition-colors",children:"Back"}),A.jsx("button",{"data-loc":"client/src/pages/Onboarding.tsx:276",onClick:p,disabled:f.isPending,className:"btn-press flex-1 bg-primary text-primary-foreground py-3 text-sm font-medium rounded-sm hover:opacity-90 transition-opacity disabled:opacity-50",children:f.isPending?"Setting up...":`Meet ${s.childName}'s Tutor`})]})]})]})})]})}const YM="modulepreload",QM=function(e){return"/"+e},k5={}
vendor: 4,325 bytes, line 133
133,P=function(t,n,r){let a=Promise.resolve();if(n&&n.length>0){let d=function(f){return Promise.all(f.map(p=>Promise.resolve(p).then(m=>({status:"fulfilled",value:m}),m=>({status:"rejected",reason:m}))))};document.getElementsByTagName("link");const l=document.querySelector("meta[property=csp-nonce]"),u=l?.nonce||l?.getAttribute("nonce");a=d(n.map(f=>{if(f=QM(f),f in k5)return;k5[f]=!0;const p=f.endsWith(".css"),m=p?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${f}"]${m}`))return;const b=document.createElement("link");if(b.rel=p?"stylesheet":YM,p||(b.as="script"),b.crossOrigin="",b.href=f,u&&b.setAttribute("nonce",u),document.head.appendChild(b),p)return new Promise((y,E)=>{b.addEventListener("load",y),b.addEventListener("error",()=>E(new Error(`Unable to preload CSS for ${f}`)))})}))}function s(l){const u=new Event("vite:preloadError",{cancelable:!0});if(u.payload=l,window.dispatchEvent(u),!u.defaultPrevented)throw l}return a.then(l=>{for(const u of l||[])u.status==="rejected"&&s(u.reason);return t().catch(s)})};function C5(e){const t=[],n=String(e||"");let r=n.indexOf(","),a=0,s=!1;for(;!s;){r===-1&&(r=n.length,s=!0);const l=n.slice(a,r).trim();(l||!s)&&t.push(l),a=r+1,r=n.indexOf(",",a)}return t}function sb(e,t){const n=t||{};return(e[e.length-1]===""?[...e,""]:e).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}const XM=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,WM=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,KM={};function N5(e,t){return(KM.jsx?WM:XM).test(e)}const ZM=/[ \t\n\f\r]/g;function Eh(e){return typeof e=="object"?e.type==="text"?O5(e.value):!1:O5(e)}function O5(e){return e.replace(ZM,"")===""}let i0=class{constructor(t,n,r){this.normal=n,this.property=t,r&&(this.space=r)}};i0.prototype.normal={};i0.prototype.property={};i0.prototype.space=void 0;function C_(e,t){const n={},r={};for(const a of e)Object.assign(n,a.property),Object.assign(r,a.normal);return new i0(n,r,t)}function Fc(e){return e.toLowerCase()}let Er=class{constructor(t,n){this.attribute=n,this.property=t}};Er.prototype.attribute="";Er.prototype.booleanish=!1;Er.prototype.boolean=!1;Er.prototype.commaOrSpaceSeparated=!1;Er.prototype.commaSeparated=!1;Er.prototype.defined=!1;Er.prototype.mustUseProperty=!1;Er.prototype.number=!1;Er.prototype.overloadedBoolean=!1;Er.prototype.property="";Er.prototype.spaceSeparated=!1;Er.prototype.space=void 0;let JM=0;const it=ko(),mn=ko(),Gg=ko(),Ce=ko(),Pt=ko(),Pl=ko(),Rr=ko();function ko(){return 2**++JM}const Yg=Object.freeze(Object.defineProperty({__proto__:null,boolean:it,booleanish:mn,commaOrSpaceSeparated:Rr,commaSeparated:Pl,number:Ce,overloadedBoolean:Gg,spaceSeparated:Pt},Symbol.toStringTag,{value:"Module"})),T1=Object.keys(Yg);let ob=class extends Er{constructor(t,n,r,a){let s=-1;if(super(t,n),R5(this,"space",a),typeof r=="number")for(;++s<T1.length;){const l=T1[s];R5(this,T1[s],(r&Yg[l])===Yg[l])}}};ob.prototype.defined=!0;function R5(e,t,n){n&&(e[t]=n)}function Jl(e){const t={},n={};for(const[r,a]of Object.entries(e.properties)){const s=new ob(r,e.transform(e.attributes||{},r),a,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(s.mustUseProperty=!0),t[r]=s,n[Fc(r)]=r,n[Fc(s.attribute)]=r}return new i0(t,n,e.space)}const N_=Jl({properties:{ariaActiveDescendant:null,ariaAtomic:mn,ariaAutoComplete:null,ariaBusy:mn,ariaChecked:mn,ariaColCount:Ce,ariaColIndex:Ce,ariaColSpan:Ce,ariaControls:Pt,ariaCurrent:null,ariaDescribedBy:Pt,ariaDetails:null,ariaDisabled:mn,ariaDropEffect:Pt,ariaErrorMessage:null,ariaExpanded:mn,ariaFlowTo:Pt,ariaGrabbed:mn,ariaHasPopup:null,ariaHidden:mn,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:Pt,ariaLevel:Ce,ariaLive:null,ariaModal:mn,ariaMultiLine:mn,ariaMultiSelectable:mn,ariaOrientation:null,ariaOwns:Pt,ariaPlaceholder:null,ariaPosInSet:Ce,ariaPressed:mn,ariaReadOnly:mn,ariaRelevant:null,ariaRequired:mn,ariaRoleDescription:Pt,ariaRowCount:Ce,ariaRowIndex:Ce,ariaRowSpan:Ce,ariaSelected:mn,ariaSetSize:Ce,ariaSort:null,ariaValueMax:Ce,ariaValueMin:Ce,ariaValueNow:Ce,ariaValueText:null,role:null},transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()}});function O_(e,t){return t in e?e[t]:t}function R_(e,t){return O_(e,t.toLowerCase())}const eP=Jl({attributes:{acceptcharset:"accept-charset",classname:"
133class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:Pl,acceptCharset:Pt,accessKey:Pt,action:null,allow:null,allowFullScreen:it,allowPaymentRequest:it,allowUserMedia:it,alt:null,as:null,async:it,autoCapitalize:null,autoComplete:Pt,autoFocus:it,autoPlay:it,blocking:Pt,capture:null,charSet:null,checked:it,cite:null,className:Pt,cols:Ce,colSpan:null,content:null,contentEditable:mn,controls:it,controlsList:Pt,coords:Ce|Pl,crossOrigin:null,data:null,dateTime:null,decoding:null,default:it,defer:it,dir:null,dirName:null,disabled:it,download:Gg,draggable:mn,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:it,formTarget:null,headers:Pt,height:Ce,hidden:Gg,high:Ce,href:null,hrefLang:null,htmlFor:Pt,httpEquiv:Pt,id:null,imageSizes:null,imageSrcSet:null,inert:it,inputMode:null,integrity:null,is:null,isMap:it,itemId:null,itemProp:Pt,itemRef:Pt,itemScope:it,itemType:Pt,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:it,low:Ce,manifest:null,max:null,maxLength:Ce,media:null,method:null,min:null,minLength:Ce,multiple:it,muted:it,name:null,nonce:null,noModule:it,noValidate:it,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:it,optimum:Ce,pattern:null,ping:Pt,placeholder:null,playsInline:it,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:it,referrerPolicy:null,rel:Pt,required:it,reversed:it,rows:Ce,rowSpan:Ce,sandbox:Pt,scope:null,scoped:it,seamless:it,selected:it,shadowRootClonable:it,shadowRootDelegatesFocus:it,shadowRootMode:null,shape:null,size:Ce,sizes:null,slot:null,span:Ce,spellCheck:mn,src:null,srcDoc:null,srcLang:null,srcSet:null,start:Ce,step:null,style:null,tabIndex:Ce,target:null,title:null,translate:null,type:null,typeMustMatch:it,useMap:null,value:mn,width:Ce,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:Pt,axis:null,background:null,bgColor:null,border:Ce,borderColor:null,bottomMargin:Ce,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:it,declare:it,event:null,face:null,frame:null,frameBorder:null,hSpace:Ce,leftMargin:Ce,link:null,longDesc:null,lowSrc:null,marginHeight:Ce,marginWidth:Ce,noResize:it,noHref:it,noShade:it,noWrap:it,object:null,profile:null,prompt:null,rev:null,rightMargin:Ce,rules:null,scheme:null,scrolling:mn,standby:null,summary:null,text:null,topMargin:Ce,valueType:null,version:null,vAlign:null,vLink:null,vSpace:Ce,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:it,disableRemotePlayback:it,prefix:null,property:null,results:Ce,security:null,unselectable:null},space:"html",transform:R_}),tP=Jl({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",colorRen
133dering:"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"},properties:{about:Rr,accentHeight:Ce,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:Ce,amplitude:Ce,arabicForm:null,ascent:Ce,attributeName:null,attributeType:null,azimuth:Ce,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:Ce,by:null,calcMode:null,capHeight:Ce,className:Pt,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRen
133dering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:Ce,diffuseConstant:Ce,direction:null,display:null,dur:null,divisor:Ce,dominantBaseline:null,download:it,dx:null,dy:null,edgeMode:null,editable:null,elevation:Ce,enableBackground:null,end:null,event:null,exponent:Ce,externalResourcesRequired:null,fill:null,fillOpacity:Ce,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:Pl,g2:Pl,glyphName:Pl,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:Ce,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:Ce,horizOriginX:Ce,horizOriginY:Ce,id:null,ideographic:Ce,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:Ce,k:Ce,k1:Ce,k2:Ce,k3:Ce,k4:Ce,kernelMatrix:Rr,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:Ce,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:Ce,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:Ce,overlineThickness:Ce,paintOrder:null,panose1:null,path:null,pathLength:Ce,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:Pt,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:Ce,pointsAtY:Ce,pointsAtZ:Ce,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:Rr,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:Rr,rev:Rr,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:Rr,requiredFeatures:Rr,requiredFonts:Rr,requiredFormats:Rr,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:Ce,specularExponent:Ce,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:Ce,strikethroughThickness:Ce,string:null,stroke:null,strokeDashArray:Rr,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:Ce,strokeOpacity:Ce,strokeWidth:null,style:null,surfaceScale:Ce,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:Rr,tabIndex:Ce,tableValues:null,target:null,targetX:Ce,targetY:Ce,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:Rr,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:Ce,underlineThickness:Ce,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:Ce,values:null,vAlphabetic:Ce,vMathematical:Ce,vectorEffect:null,vHanging:Ce,vIdeographic:Ce,version:null,vertAdvY:Ce,vertOriginX:Ce,vertOriginY:Ce,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:Ce,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:O_}),D_=Jl({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}
vendor: 4,325 bytes, lines 133-134
133,space:"xlink",transform(e,t){return"xlink:"+t.slice(5).toLowerCase()}}),L_=Jl({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:R_}),I_=Jl({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()}}),nP={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"},rP=/[A-Z]/g,D5=/-[a-z]/g,aP=/^data[-\w.:]+$/i;function _h(e,t){const n=Fc(t);let r=t,a=Er;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)==="data"&&aP.test(t)){if(t.charAt(4)==="-"){const s=t.slice(5).replace(D5,sP);r="data"+s.charAt(0).toUpperCase()+s.slice(1)}else{const s=t.slice(4);if(!D5.test(s)){let l=s.replace(rP,iP);l.charAt(0)!=="-"&&(l="-"+l),t="data"+l}}a=ob}return new a(r,t)}function iP(e){return"-"+e.toLowerCase()}function sP(e){return e.charAt(1).toUpperCase()}const s0=C_([N_,eP,D_,L_,I_],"html"),Rs=C_([N_,tP,D_,L_,I_],"svg");function L5(e){const t=String(e||"").trim();return t?t.split(/[ \t\n\r\f]+/g):[]}function lb(e){return e.join(" ").trim()}var Tl={},S1,I5;function oP(){if(I5)return S1;I5=1;var e=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,t=/\n/g,n=/^\s*/,r=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,a=/^:\s*/,s=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,l=/^[;\s]*/,u=/^\s+|\s+$/g,d=`
134`,f="/",p="*",m="",b="comment",y="declaration";S1=function(T,N){if(typeof T!="string")throw new TypeError("First argument must be a string");if(!T)return[];N=N||{};var k=1,O=1;function I(me){var ue=me.match(t);ue&&(k+=ue.length);var be=me.lastIndexOf(d);O=~be?me.length-be:O+me.length}function K(){var me={line:k,column:O};return function(ue){return ue.position=new V(me),W(),ue}}function V(me){this.start=me,this.end={line:k,column:O},this.source=N.source}V.prototype.content=T;function B(me){var ue=new Error(N.source+":"+k+":"+O+": "+me);if(ue.reason=me,ue.filename=N.source,ue.line=k,ue.column=O,ue.source=T,!N.silent)throw ue}function z(me){var ue=me.exec(T);if(ue){var be=ue[0];return I(be),T=T.slice(be.length),ue}}function W(){z(n)}function re(me){var ue;for(me=me||[];ue=Y();)ue!==!1&&me.push(ue);return me}function Y(){var me=K();if(!(f!=T.charAt(0)||p!=T.charAt(1))){for(var ue=2;m!=T.charAt(ue)&&(p!=T.charAt(ue)||f!=T.charAt(ue+1));)++ue;if(ue+=2,m===T.charAt(ue-1))return B("End of comment missing");var be=T.slice(2,ue-2);return O+=2,I(be),T=T.slice(ue),O+=2,me({type:b,comment:be})}}function se(){var me=K(),ue=z(r);if(ue){if(Y(),!z(a))return B("property missing ':'");var be=z(s),$=me({type:y,property:E(ue[0].replace(e,m)),value:be?E(be[0].replace(e,m)):m});return z(l),$}}function ee(){var me=[];re(me);for(var ue;ue=se();)ue!==!1&&(me.push(ue),re(me));return me}return W(),ee()};function E(T){return T?T.replace(u,m):m}return S1}var M5;function lP(){if(M5)return Tl;M5=1;var e=Tl&&Tl.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(Tl,"__esModule",{value:!0}),Tl.default=n;const t=e(oP());function n(r,a){let s=null;if(!r||typeof r!="string")return s;const l=(0,t.default)(r),u=typeof a=="function";return l.forEach(d=>{if(d.type!=="declaration")return;const{property:f,value:p}=d;u?a(f,p,d):p&&(s=s||{},s[f]=p)}),s}return Tl}var ac={},P5;function uP(){if(P5)return ac;P5=1,Object.defineProperty(ac,"__esModule",{value:!0}),ac.camelCase=void 0;var e=/^--[a-zA-Z0-9_-]+$/,t=/-([a-z])/g,n=/^[^-]+$/,r=/^-(webkit|moz|ms|o|khtml)-/,a=/^-(ms)-/,s=function(f){return!f||n.test(f)||e.test(f)},l=function(f,p){return p.toUpperCase()},u=function(f,p){return"".concat(p,"-")},d=function(f,p){return p===void 0&&(p={}),s(f)?f:(f=f.toLowerCase(),p.reactCompat?f=f.replace(a,u):f=f.replace(r,u),f.replace(t,l))};return ac.camelCase=d,ac}var ic,B5;function cP(){if(B5)return ic;B5=1;var e=ic&&ic.__importDefault||function(a){return a&&a.__esModule?a:{default:a}},t=e(lP()),n=uP();function r(a,s){var l={};return!a||typeof a!="string"||(0,t.default)(a,function(u,d){u&&d&&(l[(0,n.camel
vendor: 2,654 bytes, line 134
134Case)(u,s)]=d)}),l}return r.default=r,ic=r,ic}var dP=cP();const fP=rh(dP),Th=M_("end"),Xa=M_("start");function M_(e){return t;function t(n){const r=n&&n.position&&n.position[e]||{};if(typeof r.line=="number"&&r.line>0&&typeof r.column=="number"&&r.column>0)return{line:r.line,column:r.column,offset:typeof r.offset=="number"&&r.offset>-1?r.offset:void 0}}}function hP(e){const t=Xa(e),n=Th(e);if(t&&n)return{start:t,end:n}}function xc(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?z5(e.position):"start"in e||"end"in e?z5(e):"line"in e||"column"in e?Qg(e):""}function Qg(e){return U5(e&&e.line)+":"+U5(e&&e.column)}function z5(e){return Qg(e&&e.start)+"-"+Qg(e&&e.end)}function U5(e){return e&&typeof e=="number"?e:1}class Xn extends Error{constructor(t,n,r){super(),typeof n=="string"&&(r=n,n=void 0);let a="",s={},l=!1;if(n&&("line"in n&&"column"in n?s={place:n}:"start"in n&&"end"in n?s={place:n}:"type"in n?s={ancestors:[n],place:n.position}:s={...n}),typeof t=="string"?a=t:!s.cause&&t&&(l=!0,a=t.message,s.cause=t),!s.ruleId&&!s.source&&typeof r=="string"){const d=r.indexOf(":");d===-1?s.ruleId=r:(s.source=r.slice(0,d),s.ruleId=r.slice(d+1))}if(!s.place&&s.ancestors&&s.ancestors){const d=s.ancestors[s.ancestors.length-1];d&&(s.place=d.position)}const u=s.place&&"start"in s.place?s.place.start:s.place;this.ancestors=s.ancestors||void 0,this.cause=s.cause||void 0,this.column=u?u.column:void 0,this.fatal=void 0,this.file="",this.message=a,this.line=u?u.line:void 0,this.name=xc(s.place)||"1:1",this.place=s.place||void 0,this.reason=this.message,this.ruleId=s.ruleId||void 0,this.source=s.source||void 0,this.stack=l&&s.cause&&typeof s.cause.stack=="string"?s.cause.stack:"",this.actual=void 0,this.expected=void 0,this.note=void 0,this.url=void 0}}Xn.prototype.file="";Xn.prototype.name="";Xn.prototype.reason="";Xn.prototype.message="";Xn.prototype.stack="";Xn.prototype.column=void 0;Xn.prototype.line=void 0;Xn.prototype.ancestors=void 0;Xn.prototype.cause=void 0;Xn.prototype.fatal=void 0;Xn.prototype.place=void 0;Xn.prototype.ruleId=void 0;Xn.prototype.source=void 0;const ub={}.hasOwnProperty,mP=new Map,pP=/[A-Z]/g,gP=new Set(["table","tbody","thead","tfoot","tr"]),bP=new Set(["td","th"]),P_="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function yP(e,t){if(!t||t.Fragment===void 0)throw new TypeError("Expected `Fragment` in options");const n=t.filePath||void 0;let r;if(t.development){if(typeof t.jsxDEV!="function")throw new TypeError("Expected `jsxDEV` in options when `development: true`");r=AP(n,t.jsxDEV)}else{if(typeof t.jsx!="function")throw new TypeError("Expected `jsx` in production options");
vendor: 6,302 bytes, line 134
134if(typeof t.jsxs!="function")throw new TypeError("Expected `jsxs` in production options");r=wP(n,t.jsx,t.jsxs)}const a={Fragment:t.Fragment,ancestors:[],components:t.components||{},create:r,elementAttributeNameCase:t.elementAttributeNameCase||"react",evaluater:t.createEvaluater?t.createEvaluater():void 0,filePath:n,ignoreInvalidStyle:t.ignoreInvalidStyle||!1,passKeys:t.passKeys!==!1,passNode:t.passNode||!1,schema:t.space==="svg"?Rs:s0,stylePropertyNameCase:t.stylePropertyNameCase||"dom",tableCellAlignToStyle:t.tableCellAlignToStyle!==!1},s=B_(a,e,void 0);return s&&typeof s!="string"?s:a.create(e,a.Fragment,{children:s||void 0},void 0)}function B_(e,t,n){if(t.type==="element")return vP(e,t,n);if(t.type==="mdxFlowExpression"||t.type==="mdxTextExpression")return xP(e,t);if(t.type==="mdxJsxFlowElement"||t.type==="mdxJsxTextElement")return _P(e,t,n);if(t.type==="mdxjsEsm")return EP(e,t);if(t.type==="root")return TP(e,t,n);if(t.type==="text")return SP(e,t)}function vP(e,t,n){const r=e.schema;let a=r;t.tagName.toLowerCase()==="svg"&&r.space==="html"&&(a=Rs,e.schema=a),e.ancestors.push(t);const s=U_(e,t.tagName,!1),l=kP(e,t);let u=db(e,t);return gP.has(t.tagName)&&(u=u.filter(function(d){return typeof d=="string"?!Eh(d):!0})),z_(e,l,s,t),cb(l,u),e.ancestors.pop(),e.schema=r,e.create(t,s,l,n)}function xP(e,t){if(t.data&&t.data.estree&&e.evaluater){const r=t.data.estree.body[0];return r.type,e.evaluater.evaluateExpression(r.expression)}jc(e,t.position)}function EP(e,t){if(t.data&&t.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(t.data.estree);jc(e,t.position)}function _P(e,t,n){const r=e.schema;let a=r;t.name==="svg"&&r.space==="html"&&(a=Rs,e.schema=a),e.ancestors.push(t);const s=t.name===null?e.Fragment:U_(e,t.name,!0),l=CP(e,t),u=db(e,t);return z_(e,l,s,t),cb(l,u),e.ancestors.pop(),e.schema=r,e.create(t,s,l,n)}function TP(e,t,n){const r={};return cb(r,db(e,t)),e.create(t,e.Fragment,r,n)}function SP(e,t){return t.value}function z_(e,t,n,r){typeof n!="string"&&n!==e.Fragment&&e.passNode&&(t.node=r)}function cb(e,t){if(t.length>0){const n=t.length>1?t:t[0];n&&(e.children=n)}}function wP(e,t,n){return r;function r(a,s,l,u){const f=Array.isArray(l.children)?n:t;return u?f(s,l,u):f(s,l)}}function AP(e,t){return n;function n(r,a,s,l){const u=Array.isArray(s.children),d=Xa(r);return t(a,s,l,u,{columnNumber:d?d.column-1:void 0,fileName:e,lineNumber:d?d.line:void 0},void 0)}}function kP(e,t){const n={};let r,a;for(a in t.properties)if(a!=="children"&&ub.call(t.properties,a)){const s=NP(e,a,t.properties[a]);if(s){const[l,u]=s;e.tableCellAlignToStyle&&l==="align"&&typeof u=="string"&&bP.has(t.tagName)?r=u:n[l]=u}}if(r){const s=n.style||(n.style={});s[e.stylePropertyNameCase==="css"?"text-align":"textAlign"]=r}return n}function CP(e,t){const n={};for(const r of t.attributes)if(r.type==="mdxJsxExpressionAttribute")if(r.data&&r.data.estree&&e.evaluater){const s=r.data.estree.body[0];s.type;const l=s.expression;l.type;const u=l.properties[0];u.type,Object.assign(n,e.evaluater.evaluateExpression(u.argument))}else jc(e,t.position);else{const a=r.name;let s;if(r.value&&typeof r.value=="object")if(r.value.data&&r.value.data.estree&&e.evaluater){const u=r.value.data.estree.body[0];u.type,s=e.evaluater.evaluateExpression(u.expression)}else jc(e,t.position);else s=r.value===null?!0:r.value;n[a]=s}return n}function db(e,t){const n=[];let r=-1;const a=e.passKeys?new Map:mP;for(;++r<t.children.length;){const s=t.children[r];let l;if(e.passKeys){const d=s.type==="element"?s.tagName:s.type==="mdxJsxFlowElement"||s.type==="mdxJsxTextElement"?s.name:void 0;if(d){const f=a.get(d)||0;l=d+"-"+f,a.set(d,f+1)}}const u=B_(e,s,l);u!==void 0&&n.push(u)}return n}function NP(e,t,n){const r=_h(e.schema,t);if(!(n==null||typeof n=="number"&&Number.isNaN(n))){if(Array.isArray(n)&&(n=r.commaSeparated?sb(n):lb(n)),r.property==="style"){let a=typeof n=="object"?n:OP(e,String(n));return e.stylePropertyNameCase==="css"&&(a=RP(a)),["style",a]}return[e.elementAttributeNameCase==="react"&&r.space?nP[r.property]||r.property:r.attribute,n]}}function OP(e,t){try{return fP(t,{reactCompat:!0})}catch(n){if(e.ignoreInvalidStyle)return{};const r=n,a=new Xn("Cannot parse `style` attribute",{ancestors:e.ancestors,cause:r,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw a.file=e.filePath||void 0,a.url=P_+"#cannot-parse-style-attribute",a}}function U_(e,t,n){let r;if(!n)r={type:"Literal",value:t};else if(t.includes(".")){const a=t.split(".");let s=-1,l;for(;++s<a.length;){const u=N5(a[s])?{type:"Identifier",name:a[s]}:{type:"Literal",value:a[s]};l=l?{type:"MemberExpression",object:l,property:u,computed:!!(s&&u.type==="Literal"),optional:!1}:u}r=l}else r=N5(t)&&!/^[a-z]/.test(t)?{type:"Identifier",name:t}:{type:"Literal",value:t};if(r.type==="Literal"){const a=r.value;return ub.call(e.components,a)?e.components[a]:a}if(e.evaluater)return e.evaluater.evaluateExpression(r);jc(e)}function jc(e,t){const n=new Xn("Cannot handle MDX estrees without `createEvaluater`",{ancestors:e.ancestors,place:t,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});throw n.file=e.filePath||void 0,n.url=P_+"#cannot-handle-mdx-estrees-without-createevaluater",n}function RP(e){const t={};let n;for(n in e)ub.call(e,n)&&(t[DP(n)]=e[n]);return t}function DP(e){let t=e.replace(pP,LP);return t.slice(0,3)==="ms-"&&(t="-"+t),t}function LP(e){return"-"+e.toLowerCase()}const w1={action:["form"],cite:["blockquote","del","ins","q"],data:["object"],formAction:["button","input"],href:["a","area","base","link"],icon:["menuitem"],itemId:null,manifest:["html"],ping:["a","area"],poster:["video"],src:["audio","embed","iframe","img","input","script","source","track","video"]},IP={};function fb(e,t){const n=IP,r=typeof n.includeImageAlt=="boolean"?n.includeImageAlt:!0,a=typeof n.includeHtml=="boolean"?n.includeHtml:!0;return H_(e,r,a)}function H_(e,t,n){if(MP(e)){if("value"in e)return e.type==="html"&&!n?"":e.value;if(t&&"alt"in e&&e.alt)return e.alt;if("children"in e)return H5(e.children,t,n)}return Array.isArray(e)?H5(e,t,n):""}function H5(e,t,n){const r=[];let a=-1;for(;++a<e.length;)r[a]=H_(e[a],t,n);return r.join("")}function MP(e){return!!(e&&typeof e=="object")}const F5=document.createElement("i");function hb(e){const t="&"+e+";";F5.innerHTML=t;const n=F5.textContent;
vendor: 10,883 bytes, line 134
134return n.charCodeAt(n.length-1)===59&&e!=="semi"||n===t?!1:n}function Br(e,t,n,r){const a=e.length;let s=0,l;if(t<0?t=-t>a?0:a+t:t=t>a?a:t,n=n>0?n:0,r.length<1e4)l=Array.from(r),l.unshift(t,n),e.splice(...l);else for(n&&e.splice(t,n);s<r.length;)l=r.slice(s,s+1e4),l.unshift(t,0),e.splice(...l),s+=1e4,t+=1e4}function ea(e,t){return e.length>0?(Br(e,e.length,0,t),e):t}const j5={}.hasOwnProperty;function F_(e){const t={};let n=-1;for(;++n<e.length;)PP(t,e[n]);return t}function PP(e,t){let n;for(n in t){const a=(j5.call(e,n)?e[n]:void 0)||(e[n]={}),s=t[n];let l;if(s)for(l in s){j5.call(a,l)||(a[l]=[]);const u=s[l];BP(a[l],Array.isArray(u)?u:u?[u]:[])}}}function BP(e,t){let n=-1;const r=[];for(;++n<t.length;)(t[n].add==="after"?e:r).push(t[n]);Br(e,0,0,r)}function j_(e,t){const n=Number.parseInt(e,t);return n<9||n===11||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||(n&65535)===65535||(n&65535)===65534||n>1114111?"�":String.fromCodePoint(n)}function ya(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const tr=Ds(/[A-Za-z]/),Qn=Ds(/[\dA-Za-z]/),zP=Ds(/[#-'*+\--9=?A-Z^-~]/);function Cf(e){return e!==null&&(e<32||e===127)}const Xg=Ds(/\d/),UP=Ds(/[\dA-Fa-f]/),HP=Ds(/[!-/:-@[-`{-~]/);function $e(e){return e!==null&&e<-2}function It(e){return e!==null&&(e<0||e===32)}function ht(e){return e===-2||e===-1||e===32}const Sh=Ds(new RegExp("\\p{P}|\\p{S}","u")),yo=Ds(/\s/);function Ds(e){return t;function t(n){return n!==null&&n>-1&&e.test(String.fromCharCode(n))}}function eu(e){const t=[];let n=-1,r=0,a=0;for(;++n<e.length;){const s=e.charCodeAt(n);let l="";if(s===37&&Qn(e.charCodeAt(n+1))&&Qn(e.charCodeAt(n+2)))a=2;else if(s<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(s))||(l=String.fromCharCode(s));else if(s>55295&&s<57344){const u=e.charCodeAt(n+1);s<56320&&u>56319&&u<57344?(l=String.fromCharCode(s,u),a=1):l="�"}else l=String.fromCharCode(s);l&&(t.push(e.slice(r,n),encodeURIComponent(l)),r=n+a+1,l=""),a&&(n+=a,a=0)}return t.join("")+e.slice(r)}function ut(e,t,n,r){const a=r?r-1:Number.POSITIVE_INFINITY;let s=0;return l;function l(d){return ht(d)?(e.enter(n),u(d)):t(d)}function u(d){return ht(d)&&s++<a?(e.consume(d),u):(e.exit(n),t(d))}}const FP={tokenize:jP};function jP(e){const t=e.attempt(this.parser.constructs.contentInitial,r,a);let n;return t;function r(u){if(u===null){e.consume(u);return}return e.enter("lineEnding"),e.consume(u),e.exit("lineEnding"),ut(e,t,"linePrefix")}function a(u){return e.enter("paragraph"),s(u)}function s(u){const d=e.enter("chunkText",{contentType:"text",previous:n});return n&&(n.next=d),n=d,l(u)}function l(u){if(u===null){e.exit("chunkText"),e.exit("paragraph"),e.consume(u);return}return $e(u)?(e.consume(u),e.exit("chunkText"),s):(e.consume(u),l)}}const qP={tokenize:$P},q5={tokenize:VP};function $P(e){const t=this,n=[];let r=0,a,s,l;return u;function u(I){if(r<n.length){const K=n[r];return t.containerState=K[1],e.attempt(K[0].continuation,d,f)(I)}return f(I)}function d(I){if(r++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,a&&O();const K=t.events.length;let V=K,B;for(;V--;)if(t.events[V][0]==="exit"&&t.events[V][1].type==="chunkFlow"){B=t.events[V][1].end;break}k(r);let z=K;for(;z<t.events.length;)t.events[z][1].end={...B},z++;return Br(t.events,V+1,0,t.events.slice(K)),t.events.length=z,f(I)}return u(I)}function f(I){if(r===n.length){if(!a)return b(I);if(a.currentConstruct&&a.currentConstruct.concrete)return E(I);t.interrupt=!!(a.currentConstruct&&!a._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(q5,p,m)(I)}function p(I){return a&&O(),k(r),b(I)}function m(I){return t.parser.lazy[t.now().line]=r!==n.length,l=t.now().offset,E(I)}function b(I){return t.containerState={},e.attempt(q5,y,E)(I)}function y(I){return r++,n.push([t.currentConstruct,t.containerState]),b(I)}function E(I){if(I===null){a&&O(),k(0),e.consume(I);return}return a=a||t.parser.flow(t.now()),e.enter("chunkFlow",{_tokenizer:a,contentType:"flow",previous:s}),T(I)}function T(I){if(I===null){N(e.exit("chunkFlow"),!0),k(0),e.consume(I);return}return $e(I)?(e.consume(I),N(e.exit("chunkFlow")),r=0,t.interrupt=void 0,u):(e.consume(I),T)}function N(I,K){const V=t.sliceStream(I);if(K&&V.push(null),I.previous=s,s&&(s.next=I),s=I,a.defineSkip(I.start),a.write(V),t.parser.lazy[I.start.line]){let B=a.events.length;for(;B--;)if(a.events[B][1].start.offset<l&&(!a.events[B][1].end||a.events[B][1].end.offset>l))return;const z=t.events.length;let W=z,re,Y;for(;W--;)if(t.events[W][0]==="exit"&&t.events[W][1].type==="chunkFlow"){if(re){Y=t.events[W][1].end;break}re=!0}for(k(r),B=z;B<t.events.length;)t.events[B][1].end={...Y},B++;Br(t.events,W+1,0,t.events.slice(z)),t.events.length=B}}function k(I){let K=n.length;for(;K-- >I;){const V=n[K];t.containerState=V[1],V[0].exit.call(t,e)}n.length=I}function O(){a.write([null]),s=void 0,a=void 0,t.containerState._closeFlow=void 0}}function VP(e,t,n){return ut(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function $l(e){if(e===null||It(e)||yo(e))return 1;if(Sh(e))return 2}function wh(e,t,n){const r=[];let a=-1;for(;++a<e.length;){const s=e[a].resolveAll;s&&!r.includes(s)&&(t=s(t,n),r.push(s))}return t}const Wg={name:"attention",resolveAll:GP,tokenize:YP};function GP(e,t){let n=-1,r,a,s,l,u,d,f,p;for(;++n<e.length;)if(e[n][0]==="enter"&&e[n][1].type==="attentionSequence"&&e[n][1]._close){for(r=n;r--;)if(e[r][0]==="exit"&&e[r][1].type==="attentionSequence"&&e[r][1]._open&&t.sliceSerialize(e[r][1]).charCodeAt(0)===t.sliceSerialize(e[n][1]).charCodeAt(0)){if((e[r][1]._close||e[n][1]._open)&&(e[n][1].end.offset-e[n][1].start.offset)%3&&!((e[r][1].end.offset-e[r][1].start.offset+e[n][1].end.offset-e[n][1].start.offset)%3))continue;d=e[r][1].end.offset-e[r][1].start.offset>1&&e[n][1].end.offset-e[n][1].start.offset>1?2:1;const m={...e[r][1].end},b={...e[n][1].start};$5(m,-d),$5(b,d),l={type:d>1?"strongSequence":"emphasisSequence",start:m,end:{...e[r][1].end}},u={type:d>1?"strongSequence":"emphasisSequence",start:{...e[n][1].start},end:b},s={type:d>1?"strongText":"emphasisText",start:{...e[r][1].end},end:{...e[n][1].start}},a={type:d>1?"strong":"emphasis",start:{...l.start},end:{...u.end}},e[r][1].end={...l.start},e[n][1].start={...u.end},f=[],e[r][1].end.offset-e[r][1].start.offset&&(f=ea(f,[["enter",e[r][1],t],["exit",e[r][1],t]])),f=ea(f,[["enter",a,t],["enter",l,t],["exit",l,t],["enter",s,t]]),f=ea(f,wh(t.parser.constructs.insideSpan.null,e.slice(r+1,n),t)),f=ea(f,[["exit",s,t],["enter",u,t],["exit",u,t],["exit",a,t]]),e[n][1].end.offset-e[n][1].start.offset?(p=2,f=ea(f,[["enter",e[n][1],t],["exit",e[n][1],t]])):p=0,Br(e,r-1,n-r+3,f),n=r+f.length-p-2;break}}for(n=-1;++n<e.length;)e[n][1].type==="attentionSequence"&&(e[n][1].type="data");return e}function YP(e,t){const n=this.parser.constructs.attentionMarkers.null,r=this.previous,a=$l(r);let s;return l;function l(d){return s=d,e.enter("attentionSequence"),u(d)}function u(d){if(d===s)return e.consume(d),u;const f=e.exit("attentionSequence"),p=$l(d),m=!p||p===2&&a||n.includes(d),b=!a||a===2&&p||n.includes(r);return f._open=!!(s===42?m:m&&(a||!b)),f._close=!!(s===42?b:b&&(p||!m)),t(d)}}function $5(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}const QP={name:"autolink",tokenize:XP};function XP(e,t,n){let r=0;return a;function a(y){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(y),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),s}function s(y){return tr(y)?(e.consume(y),l):y===64?n(y):f(y)}function l(y){return y===43||y===45||y===46||Qn(y)?(r=1,u(y)):f(y)}function u(y){return y===58?(e.consume(y),r=0,d):(y===43||y===45||y===46||Qn(y))&&r++<32?(e.consume(y),u):(r=0,f(y))}function d(y){return y===62?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(y),e.exit("autolinkMarker"),e.exit("autolink"),t):y===null||y===32||y===60||Cf(y)?n(y):(e.consume(y),d)}function f(y){return y===64?(e.consume(y),p):zP(y)?(e.consume(y),f):n(y)}function p(y){return Qn(y)?m(y):n(y)}function m(y){return y===46?(e.consume(y),r=0,p):y===62?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(y),e.exit("autolinkMarker"),e.exit("autolink"),t):b(y)}function b(y){if((y===45||Qn(y))&&r++<63){const E=y===45?b:m;return e.consume(y),E}return n(y)}}const o0={partial:!0,tokenize:WP};function WP(e,t,n){return r;function r(s){return ht(s)?ut(e,a,"linePrefix")(s):a(s)}function a(s){return s===null||$e(s)?t(s):n(s)}}const q_={continuation:{tokenize:ZP},exit:JP,name:"blockQuote",tokenize:KP};function KP(e,t,n){const r=this;return a;function a(l){if(l===62){const u=r.containerState;return u.open||(e.enter("blockQuote",{_container:!0}),u.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(l),e.exit("blockQuoteMarker"),s}return n(l)}function s(l){return ht(l)?(e.enter("blockQuotePrefixWhitespace"),e.consume(l),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(l))}}function ZP(e,t,n){const r=this;return a;function a(l){return ht(l)?ut(e,s,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(l):s(l)}function s(l){return e.attempt(q_,t,n)(l)}}function JP(e){e.exit("blockQuote")}const $_={name:"characterEscape",tokenize:eB};function eB(e,t,n){return r;function r(s){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(s),e.exit("escapeMarker"),a}function a(s){return HP(s)?(e.enter("characterEscapeValue"),e.consume(s),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):n(s)}}const V_={name:"characterReference",tokenize:tB};function tB(e,t,n){const r=this;let a=0,s,l;return u;function u(m){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(m),e.exit("characterReferenceMarker"),d}function d(m){return m===35?(e.enter("characterReferenceMarkerNumeric"),e.consume(m),e.exit("characterReferenceMarkerNumeric"),f):(e.enter("characterReferenceValue"),s=31,l=Qn,p(m))}function f(m){return m===88||m===120?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(m),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),s=6,l=UP,p):(e.enter("characterReferenceValue"),s=7,l=Xg,p(m))}function p(m){if(m===59&&a){const b=e.exit("characterReferenceValue");return l===Qn&&!hb(r.sliceSerialize(b))?n(m):(e.enter("characterReferenceMarker"),e.consume(m),e.exit("characterReferenceMarker"),e.exit("characterReference"),t)}return l(m)&&a++<s?(e.consume(m),p):n(m)}}const V5={partial:!0,tokenize:rB},G5={concrete:!0,name:"codeFenced",tokenize:nB};function nB(e,t,n){const r=this,a={partial:!0,tokenize:V};let s=0,l=0,u;return d;function d(B){return f(B)}function f(B){const z=r.events[r.events.length-1];return s=z&&z[1].type==="linePrefix"?z[2].sliceSerialize(z[1],!0).length:0,u=B,e.enter("co
134deFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),p(B)}function p(B){return B===u?(l++,e.consume(B),p):l<3?n(B):(e.exit("codeFencedFenceSequence"),ht(B)?ut(e,m,"whitespace")(B):m(B))}function m(B){return B===null||$e(B)?(e.exit("codeFencedFence"),r.interrupt?t(B):e.check(V5,T,K)(B)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),b(B))}function b(B){return B===null||$e(B)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),m(B)):ht(B)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),ut(e,y,"whitespace")(B)):B===96&&B===u?n(B):(e.consume(B),b)}function y(B){return B===null||$e(B)?m(B):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),E(B))}function E(B){return B===null||$e(B)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),m(B)):B===96&&B===u?n(B):(e.consume(B),E)}function T(B){return e.attempt(a,K,N)(B)}function N(B){return e.enter("lineEnding"),e.consume(B),e.exit("lineEnding"),k}function k(B){return s>0&&ht(B)?ut(e,O,"linePrefix",s+1)(B):O(B)}function O(B){return B===null||$e(B)?e.check(V5,T,K)(B):(e.enter("codeFlowValue"),I(B))}function I(B){return B===null||$e(B)?(e.exit("codeFlowValue"),O(B)):(e.consume(B),I)}function K(B){return e.exit("codeFenced"),t(B)}function V(B,z,W){let re=0;return Y;function Y(be){return B.enter("lineEnding"),B.consume(be),B.exit("lineEnding"),se}function se(be){return B.enter("codeFencedFence"),ht(be)?ut(B,ee,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(be):ee(be)}function ee(be){return be===u?(B.enter("codeFencedFenceSequence"),me(be)):W(be)}function me(be){return be===u?(re++,B.consume(be),me):re>=l?(B.exit("codeFencedFenceSequence"),ht(be)?ut(B,ue,"whitespace")(be):ue(be)):W(be)}function ue(be){return be===null||$e(be)?(B.exit("codeFencedFence"),z(be)):W(be)}}}function rB(e,t,n){const r=this;return a;function a(l){return l===null?n(l):(e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),s)}function s(l){return r.parser.lazy[r.now().line]?n(l):t(l)}}const A1={name:"codeIndented",tokenize:iB},aB={partial:!0,tokenize:sB};function iB(e,t,n){const r=this;return a;function a(f){return e.enter("codeIndented"),ut(e,s,"linePrefix",5)(f)}function s(f){const p=r.events[r.events.length-1];return p&&p[1].type==="linePrefix"&&p[2].sliceSerialize(p[1],!0).length>=4?l(f):n(f)}function l(f){return f===null?d(f):$e(f)?e.attempt(aB,l,d)(f):(e.enter("codeFlowValue"),u(f))}function u(f){return f===null||$e(f)?(e.exit("codeFlowValue"),l(f)):(e.consume(f),u)}function d(f){return e.exit("codeIndented"),t(f)}}function sB(e,t,n){const r=this;return a;function a(l){return r.parser.lazy[r.now().line]?n(l):$e(l)?(e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),a):ut(e,s,"linePrefix",5)(l)}function s(l){const u=r.events[r.events.length-1];return u&&u[1].type==="linePrefix"&&u[2].sliceSerialize(u[1],!0).length>=4?t(l):$e(l)?a(l):n(l)}}const oB={name:"codeText",previous:uB,resolve:lB,tokenize:cB};function lB(e){let t=e.length-4,n=3,r,a;if((e[n][1].type==="lineEnding"||e[n][1].type==="space")&&(e[t][1].type==="lineEnding"||e[t][1].type==="space")){for(r=n;++r<t;)if(e[r][1].type==="codeTextData"){e[n][1].type="codeTextPadding",e[t][1].type="codeTextPadding",n+=2,t-=2;break}}for(r=n-1,t++;++r<=t;)a===void 0?r!==t&&e[r][1].type!=="lineEnding"&&(a=r):(r===t||e[r][1].type==="lineEnding")&&(e[a][1].type="codeTextData",r!==a+2&&(e[a][1].end=e[r-1][1].end,e.splice(a+2,r-a-2),t-=r-a-2,r=a+2),a=void 0);return e}function uB(e){return e!==96||this.events[this.events.length-1][1].type==="characterEscape"}function cB(e,t,n){let r=0,a,s;return l;function l(m){return e.enter("codeText"),e.enter("codeTextSequence"),u(m)}function u(m){return m===96?(e.consume(m),r++,u):(e.exit("codeTextSequence"),d(m))}function d(m){return m===null?n(m):m===32?(e.enter("space"),e.consume(m),e.exit("space"),d):m===96?(s=e.enter("codeTextSequence"),a=0,p(m)):$e(m)?(e.enter("lineEnding"),e.consume(m),e.exit("lineEnding"),d):(e.enter("codeTextData"),f(m))}function f(m){return m===null||m===32||m===96||$e(m)?(e.exit("codeTextData"),d(m)):(e.consume(m),f)}function p(m){return m===96?(e.consume(m),a++,p):a===r?(e.exit("codeTextSequence"),e.exit("codeText"),t(m)):(s.type="codeTextData",f(m))}}class dB{constructor(t){this.left=t?[...t]:[],this.right=[]}get(t){if(t<0||t>=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+t+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return t<this.left.length?this.left[t]:this.right[this.right.length-t+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(t,n){const r=n??Number.POSITIVE_INFINITY;return r<this.left.length?this.left.slice(t,r):t>this.left.length?this.right.slice(this.right.length-r+this.left.length,this.right.length-t+this.left.length).reverse():this.left.slice(t).concat(this.right.slice(this.right.length-r+this.left.length).reverse())}splice(t,n,r){const a=n||0;this.setCursor(Math.trunc(t));const s=this.right.splice(this.right.length-a,Number.POSITIVE_INFINITY);return r&&sc(this.left,r),s.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(t){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(t)}pushMany(t){this.setCursor(Number.POSITIVE_INFINITY),sc(this.left,t)}unshift(t){this.setCursor(0),this.right.push(t)}unshiftMany(t){this.setCursor(0),sc(this.right,t.reverse())}setCursor(t){if(!(t===this.left.length||t>this.left.length&&this.right.length===0||t<0&&this.left.length===0))if(t<this.left.length){const n=this.left.splice(t,Number.POSITIVE_INFINITY);sc(this.right,n.reverse())}else{const n=this.right.splice(this.left.length+this.right.length-t,Number.POSITIVE_INFINITY);sc(this.left,n.reverse())}}}function sc(e,t){let n=0;if(t.length<1e4)e.push(...t);else for(;n<t.length;)e.push(...t.slice(n,n+1e4)),n+=1e4}function G_(e){const t={};let n=-1,r,a,s,l,u,d,f;const p=new dB(e);for(;++n<p.length;){for(;n in t;)n=t[n];if(r=p.get(n),n&&r[1].type==="chunkFlow"&&p.get(n-1)[1].type==="listItemPrefix"&&(d=r[1]._tokenizer.events,s=0,s<d.length&&d[s][1].type==="lineEndingBlank"&&(s+=2),s<d.length&&d[s][1].type==="content"))for(;++s<d.length&&d[s][1].type!=="content";)d[s][1].type==="chunkText"&&(d[s][1]._isInFirstContentOfListItem=!0,s++);if(r[0]==="enter")r[1].contentType&&(Object.assign(t,fB(p,n)),n=t[n],f=!0);else if(r[1]._container){for(s=n,a=void 0;s--;)if(l=p.get(s),l[1].type==="lineEnding"||l[1].type==="lineEndingBlank")l[0]==="enter"&&(a&&(p.get(a)[1].type="lineEndingBlank"),l[1].type="lineEnding",a=s);else if(!(l[1].type==="linePrefix"||l[1].type==="listItemIndent"))break;a&&(r[1].end={...p.get(a)[1].start},u=p.slice(a,n),u.unshift(r),p.splice(a,n-a+1,u))}}return Br(e,0,Number.POSITIVE_INFINITY,p.slice(0)),!f}function fB(e,t){const n=e.get(t)[1],r=e.get(t)[2];let a=t-1;const s=[];let l=n._tokenizer;l||(l=r.parser[n.contentType](n.start),n._contentTypeTextTrailing&&(l._contentTypeTextTrailing=!0));const u=l.events,d=[],f={};let p,m,b=-1,y=n,E=0,T=0;const N=[T];for(;y;){for(;e.get(++a)[1]!==y;);s.push(a),y._tokenizer||(p=r.sliceStream(y),y.next||p.push(null),m&&l.defineSki
vendor: 22,915 bytes, line 134
134p(y.start),y._isInFirstContentOfListItem&&(l._gfmTasklistFirstContentOfListItem=!0),l.write(p),y._isInFirstContentOfListItem&&(l._gfmTasklistFirstContentOfListItem=void 0)),m=y,y=y.next}for(y=n;++b<u.length;)u[b][0]==="exit"&&u[b-1][0]==="enter"&&u[b][1].type===u[b-1][1].type&&u[b][1].start.line!==u[b][1].end.line&&(T=b+1,N.push(T),y._tokenizer=void 0,y.previous=void 0,y=y.next);for(l.events=[],y?(y._tokenizer=void 0,y.previous=void 0):N.pop(),b=N.length;b--;){const k=u.slice(N[b],N[b+1]),O=s.pop();d.push([O,O+k.length-1]),e.splice(O,2,k)}for(d.reverse(),b=-1;++b<d.length;)f[E+d[b][0]]=E+d[b][1],E+=d[b][1]-d[b][0]-1;return f}const hB={resolve:pB,tokenize:gB},mB={partial:!0,tokenize:bB};function pB(e){return G_(e),e}function gB(e,t){let n;return r;function r(u){return e.enter("content"),n=e.enter("chunkContent",{contentType:"content"}),a(u)}function a(u){return u===null?s(u):$e(u)?e.check(mB,l,s)(u):(e.consume(u),a)}function s(u){return e.exit("chunkContent"),e.exit("content"),t(u)}function l(u){return e.consume(u),e.exit("chunkContent"),n.next=e.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,a}}function bB(e,t,n){const r=this;return a;function a(l){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),ut(e,s,"linePrefix")}function s(l){if(l===null||$e(l))return n(l);const u=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&u&&u[1].type==="linePrefix"&&u[2].sliceSerialize(u[1],!0).length>=4?t(l):e.interrupt(r.parser.constructs.flow,n,t)(l)}}function Y_(e,t,n,r,a,s,l,u,d){const f=d||Number.POSITIVE_INFINITY;let p=0;return m;function m(k){return k===60?(e.enter(r),e.enter(a),e.enter(s),e.consume(k),e.exit(s),b):k===null||k===32||k===41||Cf(k)?n(k):(e.enter(r),e.enter(l),e.enter(u),e.enter("chunkString",{contentType:"string"}),T(k))}function b(k){return k===62?(e.enter(s),e.consume(k),e.exit(s),e.exit(a),e.exit(r),t):(e.enter(u),e.enter("chunkString",{contentType:"string"}),y(k))}function y(k){return k===62?(e.exit("chunkString"),e.exit(u),b(k)):k===null||k===60||$e(k)?n(k):(e.consume(k),k===92?E:y)}function E(k){return k===60||k===62||k===92?(e.consume(k),y):y(k)}function T(k){return!p&&(k===null||k===41||It(k))?(e.exit("chunkString"),e.exit(u),e.exit(l),e.exit(r),t(k)):p<f&&k===40?(e.consume(k),p++,T):k===41?(e.consume(k),p--,T):k===null||k===32||k===40||Cf(k)?n(k):(e.consume(k),k===92?N:T)}function N(k){return k===40||k===41||k===92?(e.consume(k),T):T(k)}}function Q_(e,t,n,r,a,s){const l=this;let u=0,d;return f;function f(y){return e.enter(r),e.enter(a),e.consume(y),e.exit(a),e.enter(s),p}function p(y){return u>999||y===null||y===91||y===93&&!d||y===94&&!u&&"_hiddenFootnoteSupport"in l.parser.constructs?n(y):y===93?(e.exit(s),e.enter(a),e.consume(y),e.exit(a),e.exit(r),t):$e(y)?(e.enter("lineEnding"),e.consume(y),e.exit("lineEnding"),p):(e.enter("chunkString",{contentType:"string"}),m(y))}function m(y){return y===null||y===91||y===93||$e(y)||u++>999?(e.exit("chunkString"),p(y)):(e.consume(y),d||(d=!ht(y)),y===92?b:m)}function b(y){return y===91||y===92||y===93?(e.consume(y),u++,m):m(y)}}function X_(e,t,n,r,a,s){let l;return u;function u(b){return b===34||b===39||b===40?(e.enter(r),e.enter(a),e.consume(b),e.exit(a),l=b===40?41:b,d):n(b)}function d(b){return b===l?(e.enter(a),e.consume(b),e.exit(a),e.exit(r),t):(e.enter(s),f(b))}function f(b){return b===l?(e.exit(s),d(l)):b===null?n(b):$e(b)?(e.enter("lineEnding"),e.consume(b),e.exit("lineEnding"),ut(e,f,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),p(b))}function p(b){return b===l||b===null||$e(b)?(e.exit("chunkString"),f(b)):(e.consume(b),b===92?m:p)}function m(b){return b===l||b===92?(e.consume(b),p):p(b)}}function Ec(e,t){let n;return r;function r(a){return $e(a)?(e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),n=!0,r):ht(a)?ut(e,r,n?"linePrefix":"lineSuffix")(a):t(a)}}const yB={name:"definition",tokenize:xB},vB={partial:!0,tokenize:EB};function xB(e,t,n){const r=this;let a;return s;function s(y){return e.enter("definition"),l(y)}function l(y){return Q_.call(r,e,u,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(y)}function u(y){return a=ya(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),y===58?(e.enter("definitionMarker"),e.consume(y),e.exit("definitionMarker"),d):n(y)}function d(y){return It(y)?Ec(e,f)(y):f(y)}function f(y){return Y_(e,p,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(y)}function p(y){return e.attempt(vB,m,m)(y)}function m(y){return ht(y)?ut(e,b,"whitespace")(y):b(y)}function b(y){return y===null||$e(y)?(e.exit("definition"),r.parser.defined.push(a),t(y)):n(y)}}function EB(e,t,n){return r;function r(u){return It(u)?Ec(e,a)(u):n(u)}function a(u){return X_(e,s,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(u)}function s(u){return ht(u)?ut(e,l,"whitespace")(u):l(u)}function l(u){return u===null||$e(u)?t(u):n(u)}}const _B={name:"hardBreakEscape",tokenize:TB};function TB(e,t,n){return r;function r(s){return e.enter("hardBreakEscape"),e.consume(s),a}function a(s){return $e(s)?(e.exit("hardBreakEscape"),t(s)):n(s)}}const SB={name:"headingAtx",resolve:wB,tokenize:AB};function wB(e,t){let n=e.length-2,r=3,a,s;return e[r][1].type==="whitespace"&&(r+=2),n-2>r&&e[n][1].type==="whitespace"&&(n-=2),e[n][1].type==="atxHeadingSequence"&&(r===n-1||n-4>r&&e[n-2][1].type==="whitespace")&&(n-=r+1===n?2:4),n>r&&(a={type:"atxHeadingText",start:e[r][1].start,end:e[n][1].end},s={type:"chunkText",start:e[r][1].start,end:e[n][1].end,contentType:"text"},Br(e,r,n-r+1,[["enter",a,t],["enter",s,t],["exit",s,t],["exit",a,t]])),e}function AB(e,t,n){let r=0;return a;function a(p){return e.enter("atxHeading"),s(p)}function s(p){return e.enter("atxHeadingSequence"),l(p)}function l(p){return p===35&&r++<6?(e.consume(p),l):p===null||It(p)?(e.exit("atxHeadingSequence"),u(p)):n(p)}function u(p){return p===35?(e.enter("atxHeadingSequence"),d(p)):p===null||$e(p)?(e.exit("atxHeading"),t(p)):ht(p)?ut(e,u,"whitespace")(p):(e.enter("atxHeadingText"),f(p))}function d(p){return p===35?(e.consume(p),d):(e.exit("atxHeadingSequence"),u(p))}function f(p){return p===null||p===35||It(p)?(e.exit("atxHeadingText"),u(p)):(e.consume(p),f)}}const kB=["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"],Y5=["pre","script","style","textarea"],CB={concrete:!0,name:"htmlFlow",resolveTo:RB,tokenize:DB},NB={partial:!0,tokenize:IB},OB={partial:!0,tokenize:LB};function RB(e){let t=e.length;for(;t--&&!(e[t][0]==="enter"&&e[t][1].type==="htmlFlow"););return t>1&&e[t-2][1].type==="linePrefix"&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e}function DB(e,t,n){const r=this;let a,s,l,u,d;return f;function f(R){return p(R)}function p(R){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(R),m}function m(R){return R===33?(e.consume(R),b):R===47?(e.consume(R),s=!0,T):R===63?(e.consume(R),a=3,r.interrupt?t:U):tr(R)?(e.consume(R),l=String.fromCharCode(R),N):n(R)}function b(R){return R===45?(e.consume(R),a=2,y):R===91?(e.consume(R),a=5,u=0,E):tr(R)?(e.consume(R),a=4,r.interrupt?t:U):n(R)}function y(R){return R===45?(e.consume(R),r.interrupt?t:U):n(R)}function E(R){const he="CDATA[";return R===he.charCodeAt(u++)?(e.consume(R),u===he.length?r.interrupt?t:ee:E):n(R)}function T(R){return tr(R)?(e.consume(R),l=String.fromCharCode(R),N):n(R)}function N(R){if(R===null||R===47||R===62||It(R)){const he=R===47,_e=l.toLowerCase();return!he&&!s&&Y5.includes(_e)?(a=1,r.interrupt?t(R):ee(R)):kB.includes(l.toLowerCase())?(a=6,he?(e.consume(R),k):r.interrupt?t(R):ee(R)):(a=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(R):s?O(R):I(R))}return R===45||Qn(R)?(e.consume(R),l+=String.fromCharCode(R),N):n(R)}function k(R){return R===62?(e.consume(R),r.interrupt?t:ee):n(R)}function O(R){return ht(R)?(e.consume(R),O):Y(R)}function I(R){return R===47?(e.consume(R),Y):R===58||R===95||tr(R)?(e.consume(R),K):ht(R)?(e.consume(R),I):Y(R)}function K(R){return R===45||R===46||R===58||R===95||Qn(R)?(e.consume(R),K):V(R)}function V(R){return R===61?(e.consume(R),B):ht(R)?(e.consume(R),V):I(R)}function B(R){return R===null||R===60||R===61||R===62||R===96?n(R):R===34||R===39?(e.consume(R),d=R,z):ht(R)?(e.consume(R),B):W(R)}function z(R){return R===d?(e.consume(R),d=null,re):R===null||$e(R)?n(R):(e.consume(R),z)}function W(R){return R===null||R===34||R===39||R===47||R===60||R===61||R===62||R===96||It(R)?V(R):(e.consume(R),W)}function re(R){return R===47||R===62||ht(R)?I(R):n(R)}function Y(R){return R===62?(e.consume(R),se):n(R)}function se(R){return R===null||$e(R)?ee(R):ht(R)?(e.consume(R),se):n(R)}function ee(R){return R===45&&a===2?(e.consume(R),$):R===60&&a===1?(e.consume(R),ae):R===62&&a===4?(e.consume(R),j):R===63&&a===3?(e.consume(R),U):R===93&&a===5?(e.consume(R),Oe):$e(R)&&(a===6||a===7)?(e.exit("htmlFlowData"),e.check(NB,ce,me)(R)):R===null||$e(R)?(e.exit("htmlFlowData"),me(R)):(e.consume(R),ee)}function me(R){return e.check(OB,ue,ce)(R)}function ue(R){return e.enter("lineEnding"),e.consume(R),e.exit("lineEnding"),be}function be(R){return R===null||$e(R)?me(R):(e.enter("htmlFlowData"),ee(R))}function $(R){return R===45?(e.consume(R),U):ee(R)}function ae(R){return R===47?(e.consume(R),l="",te):ee(R)}function te(R){if(R===62){const he=l.toLowerCase();return Y5.includes(he)?(e.consume(R),j):ee(R)}return tr(R)&&l.length<8?(e.consume(R),l+=String.fromCharCode(R),te):ee(R)}function Oe(R){return R===93?(e.consume(R),U):ee(R)}function U(R){return R===62?(e.consume(R),j):R===45&&a===2?(e.consume(R),U):ee(R)}function j(R){return R===null||$e(R)?(e.exit("htmlFlowData"),ce(R)):(e.consume(R),j)}function ce(R){return e.exit("htmlFlow"),t(R)}}function LB(e,t,n){const r=this;return a;function a(l){return $e(l)?(e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),s):n(l)}function s(l){return r.parser.lazy[r.now().line]?n(l):t(l)}}function IB(e,t,n){return r;function r(a){return e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),e.attempt(o0,t,n)}}const MB={name:"htmlText",tokenize:PB};function PB(e,t,n){const r=this;let a,s,l;return u;function u(U){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(U),d}function d(U){return U===33?(e.consume(U),f):U===47?(e.consume(U),V):U===63?(e.consume(U),I):tr(U)?(e.consume(U),W):n(U)}function f(U){return U===45?(e.consume(U),p):U===91?(e.consume(U),s=0,E):tr(U)?(e.consume(U),O):n(U)}function p(U){return U===45?(e.consume(U),y):n(U)}function m(U){return U===null?n(U):U===45?(e.consume(U),b):$e(U)?(l=m,ae(U)):(e.consume(U),m)}function b(U){return U===45?(e.consume(U),y):m(U)}function y(U){return U===62?$(U):U===45?b(U):m(U)}function E(U){const j="CDATA[";return U===j.charCodeAt(s++)?(e.consume(U),s===j.length?T:E):n(U)}function T(U){return U===null?n(U):U===93?(e.consume(U),N):$e(U)?(l=T,ae(U)):(e.consume(U),T)}function N(U){return U===93?(e.consume(U),k):T(U)}function k(U){return U===62?$(U):U===93?(e.consume(U),k):T(U)}function O(U){return U===null||U===62?$(U):$e(U)?(l=O,ae(U)):(e.consume(U),O)}function I(U){return U===null?n(U):U===63?(e.consume(U),K):$e(U)?(l=I,ae(U)):(e.consume(U),I)}function K(U){return U===62?$(U):I(U)}function V(U){return tr(U)?(e.consume(U),B):n(U)}function B(U){return U===45||Qn(U)?(e.consume(U),B):z(U)}function z(U){return $e(U)?(l=z,ae(U)):ht(U)?(e.consume(U),z):$(U)}function W(U){return U===45||Qn(U)?(e.consume(U),W):U===47||U===62||It(U)?re(U):n(U)}function re(U){return U===47?(e.consume(U),$):U===58||U===95||tr(U)?(e.consume(U),Y):$e(U)?(l=re,ae(U)):ht(U)?(e.consume(U),re):$(U)}function Y(U){return U===45||U===46||U===58||U===95||Qn(U)?(e.consume(U),Y):se(U)}function se(U){return U===61?(e.consume(U),ee):$e(U)?(l=se,ae(U)):ht(U)?(e.consume(U),se):re(U)}function ee(U){return U===null||U===60||U===61||U===62||U===96?n(U):U===34||U===39?(e.consume(U),a=U,me):$e(U)?(l=ee,ae(U)):ht(U)?(e.consume(U),ee):(e.consume(U),ue)}function me(U){return U===a?(e.consume(U),a=void 0,be):U===null?n(U):$e(U)?(l=me,ae(U)):(e.consume(U),me)}function ue(U){return U===null||U===34||U===39||U===60||U===61||U===96?n(U):U===47||U===62||It(U)?re(U):(e.consume(U),ue)}function be(U){return U===47||U===62||It(U)?re(U):n(U)}function $(U){return U===62?(e.consume(U),e.exit("htmlTextData"),e.exit("htmlText"),t):n(U)}function ae(U){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(U),e.exit("lineEnding"),te}function te(U){return ht(U)?ut(e,Oe,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(U):Oe(U)}function Oe(U){return e.enter("htmlTextData"),l(U)}}const mb={name:"labelEnd",resolveAll:HB,resolveTo:FB,tokenize:jB},BB={tokenize:qB},zB={tokenize:$B},UB={tokenize:VB};function HB(e){let t=-1;const n=[];for(;++t<e.length;){const r=e[t][1];if(n.push(e[t]),r.type==="labelImage"||r.type==="labelLink"||r.type==="labelEnd"){const a=r.type==="labelImage"?4:2;r.type="data",t+=a}}return e.length!==n.length&&Br(e,0,e.length,n),e}function FB(e,t){let n=e.length,r=0,a,s,l,u;for(;n--;)if(a=e[n][1],s){if(a.type==="link"||a.type==="labelLink"&&a._inactive)break;e[n][0]==="enter"&&a.type==="labelLink"&&(a._inactive=!0)}else if(l){if(e[n][0]==="enter"&&(a.type==="labelImage"||a.type==="labelLink")&&!a._balanced&&(s=n,a.type!=="labelLink")){r=2;break}}else a.type==="labelEnd"&&(l=n);const d={type:e[s][1].type==="labelLink"?"link":"image",start:{...e[s][1].start},end:{...e[e.length-1][1].end}},f={type:"label",start:{...e[s][1].start},end:{...e[l][1].end}},p={type:"labelText",start:{...e[s+r+2][1].end},end:{...e[l-2][1].start}};return u=[["enter",d,t],["enter",f,t]],u=ea(u,e.slice(s+1,s+r+3)),u=ea(u,[["enter",p,t]]),u=ea(u,wh(t.parser.constructs.insideSpan.null,e.slice(s+r+4,l-3),t)),u=ea(u,[["exit",p,t],e[l-2],e[l-1],["exit",f,t]]),u=ea(u,e.slice(l+1)),u=ea(u,[["exit",d,t]]),Br(e,s,e.length,u),e}function jB(e,t,n){const r=this;let a=r.events.length,s,l;for(;a--;)if((r.events[a][1].type==="labelImage"||r.events[a][1].type==="labelLink")&&!r.events[a][1]._balanced){s=r.events[a][1];break}return u;function u(b){return s?s._inactive?m(b):(l=r.parser.defined.includes(ya(r.sliceSerialize({start:s.end,end:r.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(b),e.exit("labelMarker"),e.exit("labelEnd"),d):n(b)}function d(b){return b===40?e.attempt(BB,p,l?p:m)(b):b===91?e.attempt(zB,p,l?f:m)(b):l?p(b):m(b)}function f(b){return e.attempt(UB,p,m)(b)}function p(b){return t(b)}function m(b){return s._balanced=!0,n(b)}}function qB(e,t,n){return r;function r(m){return e.enter("resource"),e.enter("resourceMarker"),e.consume(m),e.exit("resourceMarker"),a}function a(m){return It(m)?Ec(e,s)(m):s(m)}function s(m){return m===41?p(m):Y_(e,l,u,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(m)}function l(m){return It(m)?Ec(e,d)(m):p(m)}function u(m){return n(m)}function d(m){return m===34||m===39||m===40?X_(e,f,n,"resourceTitle","resourceTitleMarker","resourceTitleString")(m):p(m)}function f(m){return It(m)?Ec(e,p)(m):p(m)}function p(m){return m===41?(e.enter("resourceMarker"),e.consume(m),e.exit("resourceMarker"),e.exit("resource"),t):n(m)}}function $B(e,t,n){const r=this;return a;function a(u){return Q_.call(r,e,s,l,"reference","referenceMarker","referenceString")(u)}function s(u){return r.parser.defined.includes(ya(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(u):n(u)}function l(u){return n(u)}}function VB(e,t,n){return r;function r(s){return e.enter("reference"),e.enter("referenceMarker"),e.consume(s),e.exit("referenceMarker"),a}function a(s){return s===93?(e.enter("referenceMarker"),e.consume(s),e.exit("referenceMarker"),e.exit("reference"),t):n(s)}}const GB={name:"labelStartImage",resolveAll:mb.resolveAll,tokenize:YB};function YB(e,t,n){const r=this;return a;function a(u){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(u),e.exit("labelImageMarker"),s}function s(u){return u===91?(e.enter("labelMarker"),e.consume(u),e.exit("labelMarker"),e.exit("labelImage"),l):n(u)}function l(u){return u===94&&"_hiddenFootnoteSupport"in r.parser.constructs?n(u):t(u)}}const QB={name:"labelStartLink",resolveAll:mb.resolveAll,tokenize:XB};function XB(e,t,n){const r=this;return a;function a(l){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(l),e.exit("labelMarker"),e.exit("labelLink"),s}function s(l){return l===94&&"_hiddenFootnoteSupport"in r.parser.constructs?n(l):t(l)}}const k1={name:"lineEnding",tokenize:WB};function WB(e,t){return n;function n(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),ut(e,t,"linePrefix")}}const mf={name:"thematicBreak",tokenize:KB};function KB(e,t,n){let r=0,a;return s;function s(f){return e.enter("thematicBreak"),l(f)}function l(f){return a=f,u(f)}function u(f){return f===a?(e.enter("thematicBreakSequence"),d(f)):r>=3&&(f===null||$e(f))?(e.exit("thematicBreak"),t(f)):n(f)}function d(f){return f===a?(e.consume(f),r++,d):(e.exit("thematicBreakSequence"),ht(f)?ut(e,u,"whitespace")(f):u(f))}}const br={continuation:{tokenize:tz},exit:rz,name:"list",tokenize:ez},ZB={partial:!0,tokenize:az},JB={partial:!0,tokenize:nz};function ez(e,t,n){const r=this,a=r.events[r.events.length-1];let s=a&&a[1].type==="linePrefix"?a[2].sliceSerialize(a[1],!0).length:0,l=0;return u;function u(y){const E=r.containerState.type||(y===42||y===43||y===45?"listUnordered":"listOrdered");if(E==="listUnordered"?!r.containerState.marker||y===r.containerState.marker:Xg(y)){if(r.containerState.type||(r.containerState.type=E,e.enter(E,{_container:!0})),E==="listUnordered")return e.enter("listItemPrefix"),y===42||y===45?e.check(mf,n,f)(y):f(y);if(!r.interrupt||y===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),d(y)}return n(y)}function d(y){return Xg(y)&&++l<10?(e.consume(y),d):(!r.interrupt||l<2)&&(r.containerState.marker?y===r.containerState.marker:y===41||y===46)?(e.exit("listItemValue"),f(y)):n(y)}function f(y){return e.enter("listItemMarker"),e.consume(y),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||y,e.check(o0,r.interrupt?n:p,e.attempt(ZB,b,m))}function p(y){return r.containerState.initialBlankLine=!0,s++,b(y)}function m(y){return ht(y)?(e.enter("listItemPrefixWhitespace"),e.consume(y),e.exit("listItemPrefixWhitespace"),b):n(y)}function b(y){return r.containerState.size=s+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(y)}}function tz(e,t,n){const r=this;return r.containerState._closeFlow=void 0,e.check(o0,a,s);function a(u){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,ut(e,t,"listItemIndent",r.containerState.size+1)(u)}function s(u){return r.containerState.furtherBlankLines||!ht(u)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,l(u)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(JB,t,l)(u))}function l(u){return r.containerState._closeFlow=!0,r.interrupt=void 0,ut(e,e.attempt(br,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(u)}}function nz(e,t,n){const r=this;return ut(e,a,"listItemIndent",r.containerState.size+1);function a(s){const l=r.events[r.events.length-1];return l&&l[1].type==="listItemIndent"&&l[2].sliceSerialize(l[1],!0).length===r.containerState.size?t(s):n(s)}}function rz(e){e.exit(this.containerState.type)}function az(e,t,n){const r=this;return ut(e,a,"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function a(s){const l=r.events[r.events.length-1];return!ht(s)&&l&&l[1].type==="listItemPrefixWhitespace"?t(s):n(s)}}const Q5={name:"setextUnderline",resolveTo:iz,tokenize:sz};function iz(e,t){let n=e.length,r,a,s;for(;n--;)if(e[n][0]==="enter"){if(e[n][1].type==="content"){r=n;break}e[n][1].type==="paragraph"&&(a=n)}else e[n][1].type==="content"&&e.splice(n,1),!s&&e[n][1].type==="definition"&&(s=n);const l={type:"setextHeading",start:{...e[r][1].start},end:{...e[e.length-1][1].end}};return e[a][1].type="setextHeadingText",s?(e.splice(a,0,["enter",l,t]),e.splice(s+1,0,["exit",e[r][1],t]),e[r][1].end={...e[s][1].end}):e[r][1]=l,e.push(["exit",l,t]),e}function sz(e,t,n){const r=this;let a;return s;function s(f){let p=r.events.length,m;for(;p--;)if(r.events[p][1].type!=="lineEnding"&&r.events[p][1].type!=="linePrefix"&&r.events[p][1].type!=="content"){m=r.events[p][1].type==="paragraph";break}return!r.parser.lazy[r.now().line]&&(r.interrupt||m)?(e.enter("setextHeadingLine"),a=f,l(f)):n(f)}function l(f){return e.enter("setextHeadingLineSequence"),u(f)}function u(f){return f===a?(e.consume(f),u):(e.exit("setextHeadingLineSequence"),ht(f)?ut(e,d,"lineSuffix")(f):d(f))}function d(f){return f===null||$e(f)?(e.exit("setextHeadingLine"),t(f)):n(f)}}const oz={tokenize:lz};function lz(e){const t=this,n=e.attempt(o0,r,e.attempt(this.parser.constructs.flowInitial,a,ut(e,e.attempt(this.parser.constructs.flow,a,e.attempt(hB,a)),"linePrefix")));return n;function r(s){if(s===null){e.consume(s);return}return e.enter("lineEndingBlank"),e.consume(s),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n}function a(s){if(s===null){e.consume(s);return}return e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),t.currentConstruct=void 0,n}}const uz={resolveAll:K_()},cz=W_("string"),dz=W_("text");function W_(e){return{resolveAll:K_(e==="text"?fz:void 0),tokenize:t};function t(n){const r=this,a=this.parser.constructs[e],s=n.attempt(a,l,u);return l;function l(p){return f(p)?s(p):u(p)}function u(p){if(p===null){n.consume(p);return}return n.enter("data"),n.consume(p),d}function d(p){return f(p)?(n.exit("data"),s(p)):(n.consume(p),d)}function f(p){if(p===null)return!0;const m=a[p];let b=-1;if(m)for(;++b<m.length;){const y=m[b];if(!y.previous||y.previous.call(r,r.previous))return!0}return!1}}}function K_(e){return t;function t(n,r){let a=-1,s;for(;++a<=n.length;)s===void 0?n[a]&&n[a][1].type==="data"&&(s=a,a++):(!n[a]||n[a][1].type!=="data")&&(a!==s+2&&(n[s][1].end=n[a-1][1].end,n.splice(s+2,a-s-2),a=s+2),s=void 0);return e?e(n,r):n}}function fz(e,t){let n=0;for(;++n<=e.length;)if((n===e.length||e[n][1].type==="lineEnding")&&e[n-1][1].type==="data"){const r=e[n-1][1],a=t.sliceStream(r);let s=a.length,l=-1,u=0,d;for(;s--;){const f=a[s];if(typeof f=="string"){for(l=f.length;f.charCodeAt(l-1)===32;)u++,l--;if(l)break;l=-1}
vendor: 5,620 bytes, lines 134-136
134else if(f===-2)d=!0,u++;else if(f!==-1){s++;break}}if(t._contentTypeTextTrailing&&n===e.length&&(u=0),u){const f={type:n===e.length||d||u<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:s?l:r.start._bufferIndex+l,_index:r.start._index+s,line:r.end.line,column:r.end.column-u,offset:r.end.offset-u},end:{...r.end}};r.end={...f.start},r.start.offset===r.end.offset?Object.assign(r,f):(e.splice(n,0,["enter",f,t],["exit",f,t]),n+=2)}n++}return e}const hz={42:br,43:br,45:br,48:br,49:br,50:br,51:br,52:br,53:br,54:br,55:br,56:br,57:br,62:q_},mz={91:yB},pz={[-2]:A1,[-1]:A1,32:A1},gz={35:SB,42:mf,45:[Q5,mf],60:CB,61:Q5,95:mf,96:G5,126:G5},bz={38:V_,92:$_},yz={[-5]:k1,[-4]:k1,[-3]:k1,33:GB,38:V_,42:Wg,60:[QP,MB],91:QB,92:[_B,$_],93:mb,95:Wg,96:oB},vz={null:[Wg,uz]},xz={null:[42,95]},Ez={null:[]},_z=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:xz,contentInitial:mz,disable:Ez,document:hz,flow:gz,flowInitial:pz,insideSpan:vz,string:bz,text:yz},Symbol.toStringTag,{value:"Module"}));function Tz(e,t,n){let r={_bufferIndex:-1,_index:0,line:n&&n.line||1,column:n&&n.column||1,offset:n&&n.offset||0};const a={},s=[];let l=[],u=[];const d={attempt:z(V),check:z(B),consume:O,enter:I,exit:K,interrupt:z(B,{interrupt:!0})},f={code:null,containerState:{},defineSkip:T,events:[],now:E,parser:e,previous:null,sliceSerialize:b,sliceStream:y,write:m};let p=t.tokenize.call(f,d);return t.resolveAll&&s.push(t),f;function m(se){return l=ea(l,se),N(),l[l.length-1]!==null?[]:(W(t,0),f.events=wh(s,f.events,f),f.events)}function b(se,ee){return wz(y(se),ee)}function y(se){return Sz(l,se)}function E(){const{_bufferIndex:se,_index:ee,line:me,column:ue,offset:be}=r;return{_bufferIndex:se,_index:ee,line:me,column:ue,offset:be}}function T(se){a[se.line]=se.column,Y()}function N(){let se;for(;r._index<l.length;){const ee=l[r._index];if(typeof ee=="string")for(se=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===se&&r._bufferIndex<ee.length;)k(ee.charCodeAt(r._bufferIndex));else k(ee)}}function k(se){p=p(se)}function O(se){$e(se)?(r.line++,r.column=1,r.offset+=se===-3?2:1,Y()):se!==-1&&(r.column++,r.offset++),r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===l[r._index].length&&(r._bufferIndex=-1,r._index++)),f.previous=se}function I(se,ee){const me=ee||{};return me.type=se,me.start=E(),f.events.push(["enter",me,f]),u.push(me),me}function K(se){const ee=u.pop();return ee.end=E(),f.events.push(["exit",ee,f]),ee}function V(se,ee){W(se,ee.from)}function B(se,ee){ee.restore()}function z(se,ee){return me;function me(ue,be,$){let ae,te,Oe,U;return Array.isArray(ue)?ce(ue):"tokenize"in ue?ce([ue]):j(ue);function j(Re){return Me;function Me(je){const Ke=je!==null&&Re[je],At=je!==null&&Re.null,Qt=[...Array.isArray(Ke)?Ke:Ke?[Ke]:[],...Array.isArray(At)?At:At?[At]:[]];return ce(Qt)(je)}}function ce(Re){return ae=Re,te=0,Re.length===0?$:R(Re[te])}function R(Re){return Me;function Me(je){return U=re(),Oe=Re,Re.partial||(f.currentConstruct=Re),Re.name&&f.parser.constructs.disable.null.includes(Re.name)?_e():Re.tokenize.call(ee?Object.assign(Object.create(f),ee):f,d,he,_e)(je)}}function he(Re){return se(Oe,U),be}function _e(Re){return U.restore(),++te<ae.length?R(ae[te]):$}}}function W(se,ee){se.resolveAll&&!s.includes(se)&&s.push(se),se.resolve&&Br(f.events,ee,f.events.length-ee,se.resolve(f.events.slice(ee),f)),se.resolveTo&&(f.events=se.resolveTo(f.events,f))}function re(){const se=E(),ee=f.previous,me=f.currentConstruct,ue=f.events.length,be=Array.from(u);return{from:ue,restore:$};function $(){r=se,f.previous=ee,f.currentConstruct=me,f.events.length=ue,u=be,Y()}}function Y(){r.line in a&&r.column<2&&(r.column=a[r.line],r.offset+=a[r.line]-1)}}function Sz(e,t){const n=t.start._index,r=t.start._bufferIndex,a=t.end._index,s=t.end._bufferIndex;let l;if(n===a)l=[e[n].slice(r,s)];else{if(l=e.slice(n,a),r>-1){const u=l[0];typeof u=="string"?l[0]=u.slice(r):l.shift()}s>0&&l.push(e[a].slice(0,s))}return l}function wz(e,t){let n=-1;const r=[];let a;for(;++n<e.length;){const s=e[n];let l;if(typeof s=="string")l=s;else switch(s){case-5:{l="\r";break}case-4:{l=`
135`;break}case-3:{l=`\r
136`;break}case-2:{l=t?" ":"	";break}case-1:{if(!t&&a)continue;l=" ";break}default:l=String.fromCharCode(s)}a=s===-2,r.push(l)}return r.join("")}function Az(e){const r={constructs:F_([_z,...(e||{}).extensions||[]]),content:a(FP),defined:[],document:a(qP),flow:a(oz),lazy:{},string:a(cz),text:a(dz)};return r;function a(s){return l;function l(u){return Tz(r,s,u)}}}function kz(e){for(;!G_(e););return e}const X5=/[\0\t\n\r]/g;function Cz(){let e=1,t="",n=!0,r;return a;function a(s,l,u){const d=[];let f,p,m,b,y;for(s=t+(typeof s=="string"?s.toString():new TextDecoder(l||void 0).decode(s)),m=0,t="",n&&(s.charCodeAt(0)===65279&&m++,n=void 0);m<s.length;){if(X5.lastIndex=m,f=X5.exec(s),b=f&&f.index!==void 0?f.index:s.length,y=s.charCodeAt(b),!f){t=s.slice(m);break}if(y===10&&m===b&&r)d.push(-3),r=void 0;else switch(r&&(d.push(-5),r=void 0),m<b&&(d.push(s.slice(m,b)),e+=b-m),y){case 0:{d.push(65533),e++;break}case 9:{for(p=Math.ceil(e/4)*4,d.push(-2);e++<p;)d.push(-1);break}case 10:{d.push(-4),e=1;break}default:r=!0,e=1}m=b+1}return u&&(r&&d.push(-5),t&&d.push(t),d.push(null)),d}}const Nz=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function Oz(e){return e.replace(Nz,Rz)}function Rz(e,t,n){if(t)return t;if(n.charCodeAt(0)===35){const a=n.charCodeAt(1),s=a===120||a===88;return j_(n.slice(s?2:1),s?16:10)}return hb(n)||e}const Z_={}.hasOwnProperty;function Dz(e,t,n){return typeof t!="string"&&(n=t,t=void 0),Lz(n)(kz(Az(n).document().write(Cz()(e,t,!0))
vendor: 16,706 bytes, lines 136-140
136))}function Lz(e){const t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:s(tn),autolinkProtocol:re,autolinkEmail:re,atxHeading:s(ua),blockQuote:s(At),characterEscape:re,characterReference:re,codeFenced:s(Qt),codeFencedFenceInfo:l,codeFencedFenceMeta:l,codeIndented:s(Qt,l),codeText:s(en,l),codeTextData:re,data:re,codeFlowValue:re,definition:s(Tr),definitionDestinationString:l,definitionLabelString:l,definitionTitleString:l,emphasis:s(Rn),hardBreakEscape:s(Hr),hardBreakTrailing:s(Hr),htmlFlow:s(ir,l),htmlFlowData:re,htmlText:s(ir,l),htmlTextData:re,image:s(Fr),label:l,link:s(tn),listItem:s(Is),listItemValue:b,listOrdered:s(zi,m),listUnordered:s(zi),paragraph:s(Dn),reference:R,referenceString:l,resourceDestinationString:l,resourceTitleString:l,setextHeading:s(ua),strong:s(Sa),thematicBreak:s(cu)},exit:{atxHeading:d(),atxHeadingSequence:V,autolink:d(),autolinkEmail:Ke,autolinkProtocol:je,blockQuote:d(),characterEscapeValue:Y,characterReferenceMarkerHexadecimal:_e,characterReferenceMarkerNumeric:_e,characterReferenceValue:Re,characterReference:Me,codeFenced:d(N),codeFencedFence:T,codeFencedFenceInfo:y,codeFencedFenceMeta:E,codeFlowValue:Y,codeIndented:d(k),codeText:d(be),codeTextData:Y,data:Y,definition:d(),definitionDestinationString:K,definitionLabelString:O,definitionTitleString:I,emphasis:d(),hardBreakEscape:d(ee),hardBreakTrailing:d(ee),htmlFlow:d(me),htmlFlowData:Y,htmlText:d(ue),htmlTextData:Y,image:d(ae),label:Oe,labelText:te,lineEnding:se,link:d($),listItem:d(),listOrdered:d(),listUnordered:d(),paragraph:d(),referenceString:he,resourceDestinationString:U,resourceTitleString:j,resource:ce,setextHeading:d(W),setextHeadingLineSequence:z,setextHeadingText:B,strong:d(),thematicBreak:d()}};J_(t,(e||{}).mdastExtensions||[]);const n={};return r;function r(ve){let De={type:"root",children:[]};const Qe={stack:[De],tokenStack:[],config:t,enter:u,exit:f,buffer:l,resume:p,data:n},rt=[];let ct=-1;for(;++ct<ve.length;)if(ve[ct][1].type==="listOrdered"||ve[ct][1].type==="listUnordered")if(ve[ct][0]==="enter")rt.push(ct);else{const Fn=rt.pop();ct=a(ve,Fn,ct)}for(ct=-1;++ct<ve.length;){const Fn=t[ve[ct][0]];Z_.call(Fn,ve[ct][1].type)&&Fn[ve[ct][1].type].call(Object.assign({sliceSerialize:ve[ct][2].sliceSerialize},Qe),ve[ct][1])}if(Qe.tokenStack.length>0){const Fn=Qe.tokenStack[Qe.tokenStack.length-1];(Fn[1]||W5).call(Qe,void 0,Fn[0])}for(De.position={start:ds(ve.length>0?ve[0][1].start:{line:1,column:1,offset:0}),end:ds(ve.length>0?ve[ve.length-2][1].end:{line:1,column:1,offset:0})},ct=-1;++ct<t.transforms.length;)De=t.transforms[ct](De)||De;return De}function a(ve,De,Qe){let rt=De-1,ct=-1,Fn=!1,jn,In,nn,Mn;for(;++rt<=Qe;){const wt=ve[rt];switch(wt[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{wt[0]==="enter"?ct++:ct--,Mn=void 0;break}case"lineEndingBlank":{wt[0]==="enter"&&(jn&&!Mn&&!ct&&!nn&&(nn=rt),Mn=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:Mn=void 0}if(!ct&&wt[0]==="enter"&&wt[1].type==="listItemPrefix"||ct===-1&&wt[0]==="exit"&&(wt[1].type==="listUnordered"||wt[1].type==="listOrdered")){if(jn){let wa=rt;for(In=void 0;wa--;){const Kn=ve[wa];if(Kn[1].type==="lineEnding"||Kn[1].type==="lineEndingBlank"){if(Kn[0]==="exit")continue;In&&(ve[In][1].type="lineEndingBlank",Fn=!0),Kn[1].type="lineEnding",In=wa}else if(!(Kn[1].type==="linePrefix"||Kn[1].type==="blockQuotePrefix"||Kn[1].type==="blockQuotePrefixWhitespace"||Kn[1].type==="blockQuoteMarker"||Kn[1].type==="listItemIndent"))break}nn&&(!In||nn<In)&&(jn._spread=!0),jn.end=Object.assign({},In?ve[In][1].start:wt[1].end),ve.splice(In||rt,0,["exit",jn,wt[2]]),rt++,Qe++}if(wt[1].type==="listItemPrefix"){const wa={type:"listItem",_spread:!1,start:Object.assign({},wt[1].start),end:void 0};jn=wa,ve.splice(rt,0,["enter",wa,wt[2]]),rt++,Qe++,nn=void 0,Mn=!0}}}return ve[De][1]._spread=Fn,Qe}function s(ve,De){return Qe;function Qe(rt){u.call(this,ve(rt),rt),De&&De.call(this,rt)}}function l(){this.stack.push({type:"fragment",children:[]})}function u(ve,De,Qe){this.stack[this.stack.length-1].children.push(ve),this.stack.push(ve),this.tokenStack.push([De,Qe||void 0]),ve.position={start:ds(De.start),end:void 0}}function d(ve){return De;function De(Qe){ve&&ve.call(this,Qe),f.call(this,Qe)}}function f(ve,De){const Qe=this.stack.pop(),rt=this.tokenStack.pop();if(rt)rt[0].type!==ve.type&&(De?De.call(this,ve,rt[0]):(rt[1]||W5).call(this,ve,rt[0]));else throw new Error("Cannot close `"+ve.type+"` ("+xc({start:ve.start,end:ve.end})+"): it’s not open");Qe.position.end=ds(ve.end)}function p(){return fb(this.stack.pop())}function m(){this.data.expectingFirstListItemValue=!0}function b(ve){if(this.data.expectingFirstListItemValue){const De=this.stack[this.stack.length-2];De.start=Number.parseInt(this.sliceSerialize(ve),10),this.data.expectingFirstListItemValue=void 0}}function y(){const ve=this.resume(),De=this.stack[this.stack.length-1];De.lang=ve}function E(){const ve=this.resume(),De=this.stack[this.stack.length-1];De.meta=ve}function T(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function N(){const ve=this.resume(),De=this.stack[this.stack.length-1];De.value=ve.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function k(){const ve=this.resume(),De=this.stack[this.stack.length-1];De.value=ve.replace(/(\r?\n|\r)$/g,"")}function O(ve){const De=this.resume(),Qe=this.stack[this.stack.length-1];Qe.label=De,Qe.identifier=ya(this.sliceSerialize(ve)).toLowerCase()}function I(){const ve=this.resume(),De=this.stack[this.stack.length-1];De.title=ve}function K(){const ve=this.resume(),De=this.stack[this.stack.length-1];De.url=ve}function V(ve){const De=this.stack[this.stack.length-1];if(!De.depth){const Qe=this.sliceSerialize(ve).length;De.depth=Qe}}function B(){this.data.setextHeadingSlurpLineEnding=!0}function z(ve){const De=this.stack[this.stack.length-1];De.depth=this.sliceSerialize(ve).codePointAt(0)===61?1:2}function W(){this.data.setextHeadingSlurpLineEnding=void 0}function re(ve){const Qe=this.stack[this.stack.length-1].children;let rt=Qe[Qe.length-1];(!rt||rt.type!=="text")&&(rt=Ln(),rt.position={start:ds(ve.start),end:void 0},Qe.push(rt)),this.stack.push(rt)}function Y(ve){const De=this.stack.pop();De.value+=this.sliceSerialize(ve),De.position.end=ds(ve.end)}function se(ve){const De=this.stack[this.stack.length-1];if(this.data.atHardBreak){const Qe=De.children[De.children.length-1];Qe.position.end=ds(ve.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(De.type)&&(re.call(this,ve),Y.call(this,ve))}function ee(){this.data.atHardBreak=!0}function me(){const ve=this.resume(),De=this.stack[this.stack.length-1];De.value=ve}function ue(){const ve=this.resume(),De=this.stack[this.stack.length-1];De.value=ve}function be(){const ve=this.resume(),De=this.stack[this.stack.length-1];De.value=ve}function $(){const ve=this.stack[this.stack.length-1];if(this.data.inReference){const De=this.data.referenceType||"shortcut";ve.type+="Reference",ve.referenceType=De,delete ve.url,delete ve.title}else delete ve.identifier,delete ve.label;this.data.referenceType=void 0}function ae(){const ve=this.stack[this.stack.length-1];if(this.data.inReference){const De=this.data.referenceType||"shortcut";ve.type+="Reference",ve.referenceType=De,delete ve.url,delete ve.title}else delete ve.identifier,delete ve.label;this.data.referenceType=void 0}function te(ve){const De=this.sliceSerialize(ve),Qe=this.stack[this.stack.length-2];Qe.label=Oz(De),Qe.identifier=ya(De).toLowerCase()}function Oe(){const ve=this.stack[this.stack.length-1],De=this.resume(),Qe=this.stack[this.stack.length-1];if(this.data.inReference=!0,Qe.type==="link"){const rt=ve.children;Qe.children=rt}else Qe.alt=De}function U(){const ve=this.resume(),De=this.stack[this.stack.length-1];De.url=ve}function j(){const ve=this.resume(),De=this.stack[this.stack.length-1];De.title=ve}function ce(){this.data.inReference=void 0}function R(){this.data.referenceType="collapsed"}function he(ve){const De=this.resume(),Qe=this.stack[this.stack.length-1];Qe.label=De,Qe.identifier=ya(this.sliceSerialize(ve)).toLowerCase(),this.data.referenceType="full"}function _e(ve){this.data.characterReferenceType=ve.type}function Re(ve){const De=this.sliceSerialize(ve),Qe=this.data.characterReferenceType;let rt;Qe?(rt=j_(De,Qe==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):rt=hb(De);const ct=this.stack[this.stack.length-1];ct.value+=rt}function Me(ve){const De=this.stack.pop();De.position.end=ds(ve.end)}function je(ve){Y.call(this,ve);const De=this.stack[this.stack.length-1];De.url=this.sliceSerialize(ve)}function Ke(ve){Y.call(this,ve);const De=this.stack[this.stack.length-1];De.url="mailto:"+this.sliceSerialize(ve)}function At(){return{type:"blockquote",children:[]}}function Qt(){return{type:"code",lang:null,meta:null,value:""}}function en(){return{type:"inlineCode",value:""}}function Tr(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function Rn(){return{type:"emphasis",children:[]}}function ua(){return{type:"heading",depth:0,children:[]}}function Hr(){return{type:"break"}}function ir(){return{type:"html",value:""}}function Fr(){return{type:"image",title:null,url:"",alt:null}}function tn(){return{type:"link",title:null,url:"",children:[]}}function zi(ve){return{type:"list",ordered:ve.type==="listOrdered",start:null,spread:ve._spread,children:[]}}function Is(ve){return{type:"listItem",spread:ve._spread,checked:null,children:[]}}function Dn(){return{type:"paragraph",children:[]}}function Sa(){return{type:"strong",children:[]}}function Ln(){return{type:"text",value:""}}function cu(){return{type:"thematicBreak"}}}function ds(e){return{line:e.line,column:e.column,offset:e.offset}}function J_(e,t){let n=-1;for(;++n<t.length;){const r=t[n];Array.isArray(r)?J_(e,r):Iz(e,r)}}function Iz(e,t){let n;for(n in t)if(Z_.call(t,n))switch(n){case"canContainEols":{const r=t[n];r&&e[n].push(...r);break}case"transforms":{const r=t[n];r&&e[n].push(...r);break}case"enter":case"exit":{const r=t[n];r&&Object.assign(e[n],r);break}}}function W5(e,t){throw e?new Error("Cannot close `"+e.type+"` ("+xc({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+xc({start:t.start,end:t.end})+") is open"):new Error("Cannot close document, a token (`"+t.type+"`, "+xc({start:t.start,end:t.end})+") is still open")}function Mz(e){const t=this;t.parser=n;function n(r){return Dz(r,{...t.data("settings"),...e,extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]})}}function Pz(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)}function Bz(e,t){const n={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:"text",value:`
137`}]}function zz(e,t){const n=t.value?t.value+`
138`:"",r={};t.lang&&(r.className=["language-"+t.lang]);let a={type:"element",tagName:"code",properties:r,children:[{type:"text",value:n}]};return t.meta&&(a.data={meta:t.meta}),e.patch(t,a),a=e.applyData(t,a),a={type:"element",tagName:"pre",properties:{},children:[a]},e.patch(t,a),a}function Uz(e,t){const n={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function Hz(e,t){const n={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function Fz(e,t){const n=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",r=String(t.identifier).toUpperCase(),a=eu(r.toLowerCase()),s=e.footnoteOrder.indexOf(r);let l,u=e.footnoteCounts.get(r);u===void 0?(u=0,e.footnoteOrder.push(r),l=e.footnoteOrder.length):l=s+1,u+=1,e.footnoteCounts.set(r,u);const d={type:"element",tagName:"a",properties:{href:"#"+n+"fn-"+a,id:n+"fnref-"+a+(u>1?"-"+u:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(l)}]};e.patch(t,d);const f={type:"element",tagName:"sup",properties:{},children:[d]};return e.patch(t,f),e.applyData(t,f)}function jz(e,t){const n={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function qz(e,t){if(e.options.allowDangerousHtml){const n={type:"raw",value:t.value};return e.patch(t,n),e.applyData(t,n)}}function eT(e,t){const n=t.referenceType;let r="]";if(n==="collapsed"?r+="[]":n==="full"&&(r+="["+(t.label||t.identifier)+"]"),t.type==="imageReference")return[{type:"text",value:"!["+t.alt+r}];const a=e.all(t),s=a[0];s&&s.type==="text"?s.value="["+s.value:a.unshift({type:"text",value:"["});const l=a[a.length-1];return l&&l.type==="text"?l.value+=r:a.push({type:"text",value:r}),a}function $z(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return eT(e,t);const a={src:eu(r.url||""),alt:t.alt};r.title!==null&&r.title!==void 0&&(a.title=r.title);const s={type:"element",tagName:"img",properties:a,children:[]};return e.patch(t,s),e.applyData(t,s)}function Vz(e,t){const n={src:eu(t.url)};t.alt!==null&&t.alt!==void 0&&(n.alt=t.alt),t.title!==null&&t.title!==void 0&&(n.title=t.title);const r={type:"element",tagName:"img",properties:n,children:[]};return e.patch(t,r),e.applyData(t,r)}function Gz(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)}function Yz(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return eT(e,t);const a={href:eu(r.url||"")};r.title!==null&&r.title!==void 0&&(a.title=r.title);const s={type:"element",tagName:"a",properties:a,children:e.all(t)};return e.patch(t,s),e.applyData(t,s)}function Qz(e,t){const n={href:eu(t.url)};t.title!==null&&t.title!==void 0&&(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)}function Xz(e,t,n){const r=e.all(t),a=n?Wz(n):tT(t),s={},l=[];if(typeof t.checked=="boolean"){const p=r[0];let m;p&&p.type==="element"&&p.tagName==="p"?m=p:(m={type:"element",tagName:"p",properties:{},children:[]},r.unshift(m)),m.children.length>0&&m.children.unshift({type:"text",value:" "}),m.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),s.className=["task-list-item"]}let u=-1;for(;++u<r.length;){const p=r[u];(a||u!==0||p.type!=="element"||p.tagName!=="p")&&l.push({type:"text",value:`
139`}),p.type==="element"&&p.tagName==="p"&&!a?l.push(...p.children):l.push(p)}const d=r[r.length-1];d&&(a||d.type!=="element"||d.tagName!=="p")&&l.push({type:"text",value:`
140`});const f={type:"element",tagName:"li",properties:s,children:l};return e.patch(t,f),e.applyData(t,f)}function Wz(e){let t=!1;if(e.type==="list"){t=e.spread||!1;const n=e.children;let r=-1;for(;!t&&++r<n.length;)t=tT(n[r])}return t}function tT(e){const t=e.spread;return t??e.children.length>1}function Kz(e,t){const n={},r=e.all(t);let a=-1;for(typeof t.start=="number"&&t.start!==1&&(n.start=t.start);++a<r.length;){const l=r[a];if(l.type==="element"&&l.tagName==="li"&&l.properties&&Array.isArray(l.properties.className)&&l.properties.className.includes("task-list-item")){n.className=["contains-task-list"];break}}const s={type:"element",tagName:t.ordered?"ol":"ul",properties:n,children:e.wrap(r,!0)};return e.patch(t,s),e.applyData(t,s)}function Zz(e,t){const n={type:"element",tagName:"p",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function Jz(e,t){const n={type:"root",children:e.wrap(e.all(t))};return e.patch(t,n),e.applyData(t,n)}function eU(e,t){const n={type:"element",tagName:"strong",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function tU(e,t){const n=e.all(t),r=n.shift(),a=[];if(r){const l={type:"element",tagName:"thead",properties:{},children:e.wrap([r],!0)};e.patch(t.children[0],l),a.push(l)}if(n.length>0){const l={type:"element",tagName:"tbody",properties:{},children:e.wrap(n,!0)},u=Xa(t.children[1]),d=Th(t.children[t.children.length-1]);u&&d&&(l.position={start:u,end:d}),a.push(l)}const s={type:"element",tagName:"table",properties:{},children:e.wrap(a,!0)};return e.patch(t,s),e.applyData(t,s)}function nU(e,t,n){const r=n?n.children:void 0,s=(r?r.indexOf(t):1)===0?"th":"td",l=n&&n.type==="table"?n.align:void 0,u=l?l.length:t.children.length;let d=-1;const f=[];for(;++d<u;){const m=t.children[d],b={},y=l?l[d]:void 0;y&&(b.align=y);let E={type:"element",tagName:s,properties:b,children:[]};
vendor: 4,282 bytes, line 140
140m&&(E.children=e.all(m),e.patch(m,E),E=e.applyData(m,E)),f.push(E)}const p={type:"element",tagName:"tr",properties:{},children:e.wrap(f,!0)};return e.patch(t,p),e.applyData(t,p)}function rU(e,t){const n={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}const K5=9,Z5=32;function aU(e){const t=String(e),n=/\r?\n|\r/g;let r=n.exec(t),a=0;const s=[];for(;r;)s.push(J5(t.slice(a,r.index),a>0,!0),r[0]),a=r.index+r[0].length,r=n.exec(t);return s.push(J5(t.slice(a),a>0,!1)),s.join("")}function J5(e,t,n){let r=0,a=e.length;if(t){let s=e.codePointAt(r);for(;s===K5||s===Z5;)r++,s=e.codePointAt(r)}if(n){let s=e.codePointAt(a-1);for(;s===K5||s===Z5;)a--,s=e.codePointAt(a-1)}return a>r?e.slice(r,a):""}function iU(e,t){const n={type:"text",value:aU(String(t.value))};return e.patch(t,n),e.applyData(t,n)}function sU(e,t){const n={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,n),e.applyData(t,n)}const oU={blockquote:Pz,break:Bz,code:zz,delete:Uz,emphasis:Hz,footnoteReference:Fz,heading:jz,html:qz,imageReference:$z,image:Vz,inlineCode:Gz,linkReference:Yz,link:Qz,listItem:Xz,list:Kz,paragraph:Zz,root:Jz,strong:eU,table:tU,tableCell:rU,tableRow:nU,text:iU,thematicBreak:sU,toml:Fd,yaml:Fd,definition:Fd,footnoteDefinition:Fd};function Fd(){}const nT=-1,Ah=0,_c=1,Nf=2,pb=3,gb=4,bb=5,yb=6,rT=7,aT=8,ex=typeof self=="object"?self:globalThis,lU=(e,t)=>{const n=(a,s)=>(e.set(s,a),a),r=a=>{if(e.has(a))return e.get(a);const[s,l]=t[a];switch(s){case Ah:case nT:return n(l,a);case _c:{const u=n([],a);for(const d of l)u.push(r(d));return u}case Nf:{const u=n({},a);for(const[d,f]of l)u[r(d)]=r(f);return u}case pb:return n(new Date(l),a);case gb:{const{source:u,flags:d}=l;return n(new RegExp(u,d),a)}case bb:{const u=n(new Map,a);for(const[d,f]of l)u.set(r(d),r(f));return u}case yb:{const u=n(new Set,a);for(const d of l)u.add(r(d));return u}case rT:{const{name:u,message:d}=l;return n(new ex[u](d),a)}case aT:return n(BigInt(l),a);case"BigInt":return n(Object(BigInt(l)),a);case"ArrayBuffer":return n(new Uint8Array(l).buffer,l);case"DataView":{const{buffer:u}=new Uint8Array(l);return n(new DataView(u),l)}}return n(new ex[s](l),a)};return r},tx=e=>lU(new Map,e)(0),Sl="",{toString:uU}={},{keys:cU}=Object,oc=e=>{const t=typeof e;if(t!=="object"||!e)return[Ah,t];const n=uU.call(e).slice(8,-1);switch(n){case"Array":return[_c,Sl];case"Object":return[Nf,Sl];case"Date":return[pb,Sl];case"RegExp":return[gb,Sl];case"Map":return[bb,Sl];case"Set":return[yb,Sl];case"DataView":return[_c,n]}return n.includes("Array")?[_c,n]:n.includes("Error")?[rT,n]:[Nf,n]},jd=([e,t])=>e===Ah&&(t==="function"||t==="symbol"),dU=(e,t,n,r)=>{const a=(l,u)=>{const d=r.push(l)-1;return n.set(u,d),d},s=l=>{if(n.has(l))return n.get(l);let[u,d]=oc(l);switch(u){case Ah:{let p=l;switch(d){case"bigint":u=aT,p=l.toString();break;case"function":case"symbol":if(e)throw new TypeError("unable to serialize "+d);p=null;break;case"undefined":return a([nT],l)}return a([u,p],l)}case _c:{if(d){let b=l;return d==="DataView"?b=new Uint8Array(l.buffer):d==="ArrayBuffer"&&(b=new Uint8Array(l)),a([d,[...b]],l)}const p=[],m=a([u,p],l);for(const b of l)p.push(s(b));return m}case Nf:{if(d)switch(d){case"BigInt":return a([d,l.toString()],l);case"Boolean":case"Number":case"String":return a([d,l.valueOf()],l)}if(t&&"toJSON"in l)return s(l.toJSON());const p=[],m=a([u,p],l);for(const b of cU(l))(e||!jd(oc(l[b])))&&p.push([s(b),s(l[b])]);return m}case pb:return a([u,l.toISOString()],l);case gb:{const{source:p,flags:m}=l;return a([u,{source:p,flags:m}],l)}case bb:{const p=[],m=a([u,p],l);for(const[b,y]of l)(e||!(jd(oc(b))||jd(oc(y))))&&p.push([s(b),s(y)]);return m}case yb:{const p=[],m=a([u,p],l);for(const b of l)(e||!jd(oc(b)))&&p.push(s(b));return m}}const{message:f}=l;return a([u,{name:d,message:f}],l)};return s},nx=(e,{json:t,lossy:n}={})=>{const r=[];return dU(!(t||n),!!t,new Map,r)(e),r},Vl=typeof structuredClone=="function"?(e,t)=>t&&("json"in t||"lossy"in t)?tx(nx(e,t)):structuredClone(e):(e,t)=>tx(nx(e,t));function fU(e,t){const n=[{type:"text",value:"↩"}];return t>1&&n.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(t)}]}),n}function hU(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")}
vendor: 4,144 bytes, lines 140-142
140function mU(e){const t=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",n=e.options.footnoteBackContent||fU,r=e.options.footnoteBackLabel||hU,a=e.options.footnoteLabel||"Footnotes",s=e.options.footnoteLabelTagName||"h2",l=e.options.footnoteLabelProperties||{className:["sr-only"]},u=[];let d=-1;for(;++d<e.footnoteOrder.length;){const f=e.footnoteById.get(e.footnoteOrder[d]);if(!f)continue;const p=e.all(f),m=String(f.identifier).toUpperCase(),b=eu(m.toLowerCase());let y=0;const E=[],T=e.footnoteCounts.get(m);for(;T!==void 0&&++y<=T;){E.length>0&&E.push({type:"text",value:" "});let O=typeof n=="string"?n:n(d,y);typeof O=="string"&&(O={type:"text",value:O}),E.push({type:"element",tagName:"a",properties:{href:"#"+t+"fnref-"+b+(y>1?"-"+y:""),dataFootnoteBackref:"",ariaLabel:typeof r=="string"?r:r(d,y),className:["data-footnote-backref"]},children:Array.isArray(O)?O:[O]})}const N=p[p.length-1];if(N&&N.type==="element"&&N.tagName==="p"){const O=N.children[N.children.length-1];O&&O.type==="text"?O.value+=" ":N.children.push({type:"text",value:" "}),N.children.push(...E)}else p.push(...E);const k={type:"element",tagName:"li",properties:{id:t+"fn-"+b},children:e.wrap(p,!0)};e.patch(f,k),u.push(k)}if(u.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:s,properties:{...Vl(l),id:"footnote-label"},children:[{type:"text",value:a}]},{type:"text",value:`
141`},{type:"element",tagName:"ol",properties:{},children:e.wrap(u,!0)},{type:"text",value:`
142`}]}}const l0=(function(e){if(e==null)return yU;if(typeof e=="function")return kh(e);if(typeof e=="object")return Array.isArray(e)?pU(e):gU(e);if(typeof e=="string")return bU(e);throw new Error("Expected function, string, or object as test")});function pU(e){const t=[];let n=-1;for(;++n<e.length;)t[n]=l0(e[n]);return kh(r);function r(...a){let s=-1;for(;++s<t.length;)if(t[s].apply(this,a))return!0;return!1}}function gU(e){const t=e;return kh(n);function n(r){const a=r;let s;for(s in e)if(a[s]!==t[s])return!1;return!0}}function bU(e){return kh(t);function t(n){return n&&n.type===e}}function kh(e){return t;function t(n,r,a){return!!(vU(n)&&e.call(this,n,typeof r=="number"?r:void 0,a||void 0))}}function yU(){return!0}function vU(e){return e!==null&&typeof e=="object"&&"type"in e}const iT=[],hc=!0,Kg=!1,Of="skip";function vb(e,t,n,r){let a;typeof t=="function"&&typeof n!="function"?(r=n,n=t):a=t;const s=l0(a),l=r?-1:1;u(e,void 0,[])();function u(d,f,p){const m=d&&typeof d=="object"?d:{};if(typeof m.type=="string"){const y=typeof m.tagName=="string"?m.tagName:typeof m.name=="string"?m.name:void 0;Object.defineProperty(b,"name",{value:"node ("+(d.type+(y?"<"+y+">":""))+")"})}return b;function b(){let y=iT,E,T,N;if((!t||s(d,f,p[p.length-1]||void 0))&&(y=xU(n(d,p)),y[0]===Kg))return y;if("children"in d&&d.children){const k=d;if(k.children&&y[0]!==Of)for(T=(r?k.children.length:-1)+l,N=p.concat(k);T>-1&&T<k.children.length;){const O=k.children[T];if(E=u(O,T,N)(),E[0]===Kg)return E;T=typeof E[1]=="number"?E[1]:T+l}}return y}}}function xU(e){return Array.isArray(e)?e:typeof e=="number"?[hc,e]:e==null?iT:[e]}function vo(e,t,n,r){let a,s,l;typeof t=="function"&&typeof n!="function"?(s=void 0,l=t,a=n):(s=t,l=n,a=r),vb(e,s,u,a);function u(d,f){const p=f[f.length-1],m=p?p.children.indexOf(d):void 0;return l(d,m,p)}}const Zg={}.hasOwnProperty,EU={};function _U(e,t){const n=t||EU,r=new Map,a=new Map,s=new Map,l={...oU,...n.handlers},u={all:f,applyData:SU,definitionById:r,footnoteById:a,footnoteCounts:s,footnoteOrder:[],handlers:l,one:d,options:n,patch:TU,wrap:AU};return vo(e,function(p){if(p.type==="definition"||p.type==="footnoteDefinition"){const m=p.type==="definition"?r:a,b=String(p.identifier).toUpperCase();m.has(b)||m.set(b,p)}}),u;function d(p,m){const b=p.type,y=u.handlers[b];if(Zg.call(u.handlers,b)&&y)return y(u,p,m);if(u.options.passThrough&&u.options.passThrough.includes(b)){if("children"in p){const{children:T,...N}=p,k=Vl(N);return k.children=u.all(p),k}return Vl(p)}return(u.options.unknownHandler||wU)(u,p,m)}function f(p){const m=[];
vendor: 10,835 bytes, lines 142-146
142if("children"in p){const b=p.children;let y=-1;for(;++y<b.length;){const E=u.one(b[y],p);if(E){if(y&&b[y-1].type==="break"&&(!Array.isArray(E)&&E.type==="text"&&(E.value=rx(E.value)),!Array.isArray(E)&&E.type==="element")){const T=E.children[0];T&&T.type==="text"&&(T.value=rx(T.value))}Array.isArray(E)?m.push(...E):m.push(E)}}}return m}}function TU(e,t){e.position&&(t.position=hP(e))}function SU(e,t){let n=t;if(e&&e.data){const r=e.data.hName,a=e.data.hChildren,s=e.data.hProperties;if(typeof r=="string")if(n.type==="element")n.tagName=r;else{const l="children"in n?n.children:[n];n={type:"element",tagName:r,properties:{},children:l}}n.type==="element"&&s&&Object.assign(n.properties,Vl(s)),"children"in n&&n.children&&a!==null&&a!==void 0&&(n.children=a)}return n}function wU(e,t){const n=t.data||{},r="value"in t&&!(Zg.call(n,"hProperties")||Zg.call(n,"hChildren"))?{type:"text",value:t.value}:{type:"element",tagName:"div",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function AU(e,t){const n=[];let r=-1;for(t&&n.push({type:"text",value:`
143`});++r<e.length;)r&&n.push({type:"text",value:`
144`}),n.push(e[r]);return t&&e.length>0&&n.push({type:"text",value:`
145`}),n}function rx(e){let t=0,n=e.charCodeAt(t);for(;n===9||n===32;)t++,n=e.charCodeAt(t);return e.slice(t)}function ax(e,t){const n=_U(e,t),r=n.one(e,void 0),a=mU(n),s=Array.isArray(r)?{type:"root",children:r}:r||{type:"root",children:[]};return a&&s.children.push({type:"text",value:`
146`},a),s}function kU(e,t){return e&&"run"in e?async function(n,r){const a=ax(n,{file:r,...t});await e.run(a,r)}:function(n,r){return ax(n,{file:r,...e||t})}}function ix(e){if(e)throw e}var C1,sx;function CU(){if(sx)return C1;sx=1;var e=Object.prototype.hasOwnProperty,t=Object.prototype.toString,n=Object.defineProperty,r=Object.getOwnPropertyDescriptor,a=function(f){return typeof Array.isArray=="function"?Array.isArray(f):t.call(f)==="[object Array]"},s=function(f){if(!f||t.call(f)!=="[object Object]")return!1;var p=e.call(f,"constructor"),m=f.constructor&&f.constructor.prototype&&e.call(f.constructor.prototype,"isPrototypeOf");if(f.constructor&&!p&&!m)return!1;var b;for(b in f);return typeof b>"u"||e.call(f,b)},l=function(f,p){n&&p.name==="__proto__"?n(f,p.name,{enumerable:!0,configurable:!0,value:p.newValue,writable:!0}):f[p.name]=p.newValue},u=function(f,p){if(p==="__proto__")if(e.call(f,p)){if(r)return r(f,p).value}else return;return f[p]};return C1=function d(){var f,p,m,b,y,E,T=arguments[0],N=1,k=arguments.length,O=!1;for(typeof T=="boolean"&&(O=T,T=arguments[1]||{},N=2),(T==null||typeof T!="object"&&typeof T!="function")&&(T={});N<k;++N)if(f=arguments[N],f!=null)for(p in f)m=u(T,p),b=u(f,p),T!==b&&(O&&b&&(s(b)||(y=a(b)))?(y?(y=!1,E=m&&a(m)?m:[]):E=m&&s(m)?m:{},l(T,{name:p,newValue:d(O,E,b)})):typeof b<"u"&&l(T,{name:p,newValue:b}));return T},C1}var NU=CU();const N1=rh(NU);function Jg(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function OU(){const e=[],t={run:n,use:r};return t;function n(...a){let s=-1;const l=a.pop();if(typeof l!="function")throw new TypeError("Expected function as last argument, not "+l);u(null,...a);function u(d,...f){const p=e[++s];let m=-1;if(d){l(d);return}for(;++m<a.length;)(f[m]===null||f[m]===void 0)&&(f[m]=a[m]);a=f,p?RU(p,u)(...f):l(null,...f)}}function r(a){if(typeof a!="function")throw new TypeError("Expected `middelware` to be a function, not "+a);return e.push(a),t}}function RU(e,t){let n;return r;function r(...l){const u=e.length>l.length;let d;u&&l.push(a);try{d=e.apply(this,l)}catch(f){const p=f;if(u&&n)throw p;return a(p)}u||(d&&d.then&&typeof d.then=="function"?d.then(s,a):d instanceof Error?a(d):s(d))}function a(l,...u){n||(n=!0,t(l,...u))}function s(l){a(null,l)}}const Ba={basename:DU,dirname:LU,extname:IU,join:MU,sep:"/"};function DU(e,t){if(t!==void 0&&typeof t!="string")throw new TypeError('"ext" argument must be a string');u0(e);let n=0,r=-1,a=e.length,s;if(t===void 0||t.length===0||t.length>e.length){for(;a--;)if(e.codePointAt(a)===47){if(s){n=a+1;break}}else r<0&&(s=!0,r=a+1);return r<0?"":e.slice(n,r)}if(t===e)return"";let l=-1,u=t.length-1;for(;a--;)if(e.codePointAt(a)===47){if(s){n=a+1;break}}else l<0&&(s=!0,l=a+1),u>-1&&(e.codePointAt(a)===t.codePointAt(u--)?u<0&&(r=a):(u=-1,r=l));return n===r?r=l:r<0&&(r=e.length),e.slice(n,r)}function LU(e){if(u0(e),e.length===0)return".";let t=-1,n=e.length,r;for(;--n;)if(e.codePointAt(n)===47){if(r){t=n;break}}else r||(r=!0);return t<0?e.codePointAt(0)===47?"/":".":t===1&&e.codePointAt(0)===47?"//":e.slice(0,t)}function IU(e){u0(e);let t=e.length,n=-1,r=0,a=-1,s=0,l;for(;t--;){const u=e.codePointAt(t);if(u===47){if(l){r=t+1;break}continue}n<0&&(l=!0,n=t+1),u===46?a<0?a=t:s!==1&&(s=1):a>-1&&(s=-1)}return a<0||n<0||s===0||s===1&&a===n-1&&a===r+1?"":e.slice(a,n)}function MU(...e){let t=-1,n;for(;++t<e.length;)u0(e[t]),e[t]&&(n=n===void 0?e[t]:n+"/"+e[t]);return n===void 0?".":PU(n)}function PU(e){u0(e);const t=e.codePointAt(0)===47;let n=BU(e,!t);return n.length===0&&!t&&(n="."),n.length>0&&e.codePointAt(e.length-1)===47&&(n+="/"),t?"/"+n:n}function BU(e,t){let n="",r=0,a=-1,s=0,l=-1,u,d;for(;++l<=e.length;){if(l<e.length)u=e.codePointAt(l);else{if(u===47)break;u=47}if(u===47){if(!(a===l-1||s===1))if(a!==l-1&&s===2){if(n.length<2||r!==2||n.codePointAt(n.length-1)!==46||n.codePointAt(n.length-2)!==46){if(n.length>2){if(d=n.lastIndexOf("/"),d!==n.length-1){d<0?(n="",r=0):(n=n.slice(0,d),r=n.length-1-n.lastIndexOf("/")),a=l,s=0;continue}}else if(n.length>0){n="",r=0,a=l,s=0;continue}}t&&(n=n.length>0?n+"/..":"..",r=2)}else n.length>0?n+="/"+e.slice(a+1,l):n=e.slice(a+1,l),r=l-a-1;a=l,s=0}else u===46&&s>-1?s++:s=-1}return n}function u0(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const zU={cwd:UU};function UU(){return"/"}function e2(e){return!!(e!==null&&typeof e=="object"&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&e.auth===void 0)}function HU(e){if(typeof e=="string")e=new URL(e);else if(!e2(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(e.protocol!=="file:"){const t=new TypeError("The URL must be of scheme file");throw t.code="ERR_INVALID_URL_SCHEME",t}return FU(e)}function FU(e){if(e.hostname!==""){const r=new TypeError('File URL host must be "localhost" or empty on darwin');throw r.code="ERR_INVALID_FILE_URL_HOST",r}const t=e.pathname;let n=-1;for(;++n<t.length;)if(t.codePointAt(n)===37&&t.codePointAt(n+1)===50){const r=t.codePointAt(n+2);if(r===70||r===102){const a=new TypeError("File URL path must not include encoded / characters");throw a.code="ERR_INVALID_FILE_URL_PATH",a}}return decodeURIComponent(t)}const O1=["history","path","basename","stem","extname","dirname"];class sT{constructor(t){let n;t?e2(t)?n={path:t}:typeof t=="string"||jU(t)?n={value:t}:n=t:n={},this.cwd="cwd"in n?"":zU.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let r=-1;for(;++r<O1.length;){const s=O1[r];s in n&&n[s]!==void 0&&n[s]!==null&&(this[s]=s==="history"?[...n[s]]:n[s])}let a;for(a in n)O1.includes(a)||(this[a]=n[a])}get basename(){return typeof this.path=="string"?Ba.basename(this.path):void 0}set basename(t){D1(t,"basename"),R1(t,"basename"),this.path=Ba.join(this.dirname||"",t)}get dirname(){return typeof this.path=="string"?Ba.dirname(this.path):void 0}set dirname(t){ox(this.basename,"dirname"),this.path=Ba.join(t||"",this.basename)}get extname(){return typeof this.path=="string"?Ba.extname(this.path):void 0}set extname(t){if(R1(t,"extname"),ox(this.dirname,"extname"),t){if(t.codePointAt(0)!==46)throw new Error("`extname` must start with `.`");if(t.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=Ba.join(this.dirname,this.stem+(t||""))}get path(){return this.history[this.history.length-1]}set path(t){e2(t)&&(t=HU(t)),D1(t,"path"),this.path!==t&&this.history.push(t)}get stem(){return typeof this.path=="string"?Ba.basename(this.path,this.extname):void 0}set stem(t){D1(t,"stem"),R1(t,"stem"),this.path=Ba.join(this.dirname||"",t+(this.extname||""))}fail(t,n,r){const a=this.message(t,n,r);throw a.fatal=!0,a}info(t,n,r){const a=this.message(t,n,r);return a.fatal=void 0,a}message(t,n,r){const a=new Xn(t,n,r);return this.path&&(a.name=this.path+":"+a.name,a.file=this.path),a.fatal=!1,this.messages.push(a),a}toString(t){return this.value===void 0?"":typeof this.value=="string"?this.value:new TextDecoder(t||void 0).decode(this.value)}}function R1(e,t){if(e&&e.includes(Ba.sep))throw new Error("`"+t+"` cannot be a path: did not expect `"+Ba.sep+"`")}function D1(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}function ox(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}function jU(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const qU=(function(e){const r=this.constructor.prototype,a=r[e],s=function(){return a.apply(s,arguments)};return Object.setPrototypeOf(s,r),s}),$U={}.hasOwnProperty;class xb extends qU{constructor(){super("copy"),this.Compiler=void 0,this.Parser=void 0,this.attachers=[],this.compiler=void 0,this.freezeIndex=-1,this.frozen=void 0,this.namespace={},this.parser=void 0,this.transformers=OU()}copy(){const t=new xb;let n=-1;for(;++n<this.attachers.length;){const r=this.attachers[n];t.use(...r)}return t.data(N1(!0,{},this.namespace)),t}data(t,n){return typeof t=="string"?arguments.length===2?(M1("data",this.frozen),this.namespace[t]=n,this):$U.call(this.namespace,t)&&this.namespace[t]||void 0:t?(M1("data",this.frozen),this.namespace=t,this):this.namespace}freeze(){if(this.frozen)return this;const t=this;for(;++this.freezeIndex<this.attachers.length;){const[n,...r]=this.attachers[this.freezeIndex];if(r[0]===!1)continue;r[0]===!0&&(r[0]=void 0);const a=n.call(t,...r);typeof a=="function"&&this.transformers.use(a)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(t){this.freeze();const n=qd(t),r=this.parser||this.Parser;return L1("parse",r),r(String(n),n)}process(t,n){const r=this;return this.freeze(),L1("process",this.parser||this.Parser),I1("process",this.compiler||this.Compiler),n?a(void 0,n):new Promise(a);function a(s,l){const u=qd(t),d=r.parse(u);r.run(d,u,function(p,m,b){if(p||!m||!b)return f(p);const y=m,E=r.stringify(y,b);YU(E)?b.value=E:b.result=E,f(p,b)});function f(p,m){p||!m?l(p):s?s(m):n(void 0,m)}}}processSync(t){let n=!1,r;return this.freeze(),L1("processSync",this.parser||this.Parser),I1("processSync",this.compiler||this.Compiler),this.process(t,a),ux("processSync","process",n),r;function a(s,l){n=!0,ix(s),r=l}}
vendor: 6,010 bytes, line 146
146run(t,n,r){lx(t),this.freeze();const a=this.transformers;return!r&&typeof n=="function"&&(r=n,n=void 0),r?s(void 0,r):new Promise(s);function s(l,u){const d=qd(n);a.run(t,d,f);function f(p,m,b){const y=m||t;p?u(p):l?l(y):r(void 0,y,b)}}}runSync(t,n){let r=!1,a;return this.run(t,n,s),ux("runSync","run",r),a;function s(l,u){ix(l),a=u,r=!0}}stringify(t,n){this.freeze();const r=qd(n),a=this.compiler||this.Compiler;return I1("stringify",a),lx(t),a(t,r)}use(t,...n){const r=this.attachers,a=this.namespace;if(M1("use",this.frozen),t!=null)if(typeof t=="function")d(t,n);else if(typeof t=="object")Array.isArray(t)?u(t):l(t);else throw new TypeError("Expected usable value, not `"+t+"`");return this;function s(f){if(typeof f=="function")d(f,[]);else if(typeof f=="object")if(Array.isArray(f)){const[p,...m]=f;d(p,m)}else l(f);else throw new TypeError("Expected usable value, not `"+f+"`")}function l(f){if(!("plugins"in f)&&!("settings"in f))throw new Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");u(f.plugins),f.settings&&(a.settings=N1(!0,a.settings,f.settings))}function u(f){let p=-1;if(f!=null)if(Array.isArray(f))for(;++p<f.length;){const m=f[p];s(m)}else throw new TypeError("Expected a list of plugins, not `"+f+"`")}function d(f,p){let m=-1,b=-1;for(;++m<r.length;)if(r[m][0]===f){b=m;break}if(b===-1)r.push([f,...p]);else if(p.length>0){let[y,...E]=p;const T=r[b][1];Jg(T)&&Jg(y)&&(y=N1(!0,T,y)),r[b]=[f,y,...E]}}}}const VU=new xb().freeze();function L1(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `parser`")}function I1(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `compiler`")}function M1(e,t){if(t)throw new Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function lx(e){if(!Jg(e)||typeof e.type!="string")throw new TypeError("Expected node, got `"+e+"`")}function ux(e,t,n){if(!n)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function qd(e){return GU(e)?e:new sT(e)}function GU(e){return!!(e&&typeof e=="object"&&"message"in e&&"messages"in e)}function YU(e){return typeof e=="string"||QU(e)}function QU(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const XU="https://github.com/remarkjs/react-markdown/blob/main/changelog.md",cx=[],dx={allowDangerousHtml:!0},WU=/^(https?|ircs?|mailto|xmpp)$/i,KU=[{from:"astPlugins",id:"remove-buggy-html-in-markdown-parser"},{from:"allowDangerousHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"allowNode",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowElement"},{from:"allowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowedElements"},{from:"className",id:"remove-classname"},{from:"disallowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"disallowedElements"},{from:"escapeHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"includeElementIndex",id:"#remove-includeelementindex"},{from:"includeNodeIndex",id:"change-includenodeindex-to-includeelementindex"},{from:"linkTarget",id:"remove-linktarget"},{from:"plugins",id:"change-plugins-to-remarkplugins",to:"remarkPlugins"},{from:"rawSourcePos",id:"#remove-rawsourcepos"},{from:"renderers",id:"change-renderers-to-components",to:"components"},{from:"source",id:"change-source-to-children",to:"children"},{from:"sourcePos",id:"#remove-sourcepos"},{from:"transformImageUri",id:"#add-urltransform",to:"urlTransform"},{from:"transformLinkUri",id:"#add-urltransform",to:"urlTransform"}];function ZU(e){const t=JU(e),n=eH(e);return tH(t.runSync(t.parse(n),n),e)}function JU(e){const t=e.rehypePlugins||cx,n=e.remarkPlugins||cx,r=e.remarkRehypeOptions?{...e.remarkRehypeOptions,...dx}:dx;return VU().use(Mz).use(n).use(kU,r).use(t)}function eH(e){const t=e.children||"",n=new sT;return typeof t=="string"&&(n.value=t),n}function tH(e,t){const n=t.allowedElements,r=t.allowElement,a=t.components,s=t.disallowedElements,l=t.skipHtml,u=t.unwrapDisallowed,d=t.urlTransform||nH;for(const p of KU)Object.hasOwn(t,p.from)&&(""+p.from+(p.to?"use `"+p.to+"` instead":"remove it")+XU+p.id,void 0);return vo(e,f),yP(e,{Fragment:A.Fragment,components:a,ignoreInvalidStyle:!0,jsx:A.jsx,jsxs:A.jsxs,passKeys:!0,passNode:!0});function f(p,m,b){if(p.type==="raw"&&b&&typeof m=="number")return l?b.children.splice(m,1):b.children[m]={type:"text",value:p.value},m;if(p.type==="element"){let y;for(y in w1)if(Object.hasOwn(w1,y)&&Object.hasOwn(p.properties,y)){const E=p.properties[y],T=w1[y];(T===null||T.includes(p.tagName))&&(p.properties[y]=d(String(E||""),y,p))}}if(p.type==="element"){let y=n?!n.includes(p.tagName):s?s.includes(p.tagName):!1;if(!y&&r&&typeof m=="number"&&(y=!r(p,m,b)),y&&b&&typeof m=="number")return u&&p.children?b.children.splice(m,1,...p.children):b.children.splice(m,1),m}}}function nH(e){const t=e.indexOf(":"),n=e.indexOf("?"),r=e.indexOf("#"),a=e.indexOf("/");return t===-1||a!==-1&&t>a||n!==-1&&t>n||r!==-1&&t>r||WU.test(e.slice(0,t))?e:""}const fx=/[#.]/g;function rH(e,t){const n=e||"",r={};let a=0,s,l;for(;a<n.length;){fx.lastIndex=a;const u=fx.exec(n),d=n.slice(a,u?u.index:n.length);d&&(s?s==="#"?r.id=d:Array.isArray(r.className)?r.className.push(d):r.className=[d]:l=d,a+=d.length),u&&(s=u[0],a++)}return{type:"element",tagName:l||t||"div",properties:r,children:[]}}function oT(e,t,n){const r=n?oH(n):void 0;function a(s,l,...u){let d;if(s==null){d={type:"root",children:[]};const f=l;u.unshift(f)}else{d=rH(s,t);const f=d.tagName.toLowerCase(),p=r?r.get(f):void 0;if(d.tagName=p||f,aH(l))u.unshift(l);else for(const[m,b]of Object.entries(l))iH(e,d.properties,m,b)}for(const f of u)t2(d.children,f);return d.type==="element"&&d.tagName==="template"&&(d.content={type:"root",children:d.children},d.children=[]),d}return a}function aH(e){if(e===null||typeof e!="object"||Array.isArray(e))return!0;
vendor: 10,273 bytes, lines 146-148
146if(typeof e.type!="string")return!1;const t=e,n=Object.keys(e);for(const r of n){const a=t[r];if(a&&typeof a=="object"){if(!Array.isArray(a))return!0;const s=a;for(const l of s)if(typeof l!="number"&&typeof l!="string")return!0}}return!!("children"in e&&Array.isArray(e.children))}function iH(e,t,n,r){const a=_h(e,n);let s;if(r!=null){if(typeof r=="number"){if(Number.isNaN(r))return;s=r}else typeof r=="boolean"?s=r:typeof r=="string"?a.spaceSeparated?s=L5(r):a.commaSeparated?s=C5(r):a.commaOrSpaceSeparated?s=L5(C5(r).join(" ")):s=hx(a,a.property,r):Array.isArray(r)?s=[...r]:s=a.property==="style"?sH(r):String(r);if(Array.isArray(s)){const l=[];for(const u of s)l.push(hx(a,a.property,u));s=l}a.property==="className"&&Array.isArray(t.className)&&(s=t.className.concat(s)),t[a.property]=s}}function t2(e,t){if(t!=null)if(typeof t=="number"||typeof t=="string")e.push({type:"text",value:String(t)});else if(Array.isArray(t))for(const n of t)t2(e,n);else if(typeof t=="object"&&"type"in t)t.type==="root"?t2(e,t.children):e.push(t);else throw new Error("Expected node, nodes, or string, got `"+t+"`")}function hx(e,t,n){if(typeof n=="string"){if(e.number&&n&&!Number.isNaN(Number(n)))return Number(n);if((e.boolean||e.overloadedBoolean)&&(n===""||Fc(n)===Fc(t)))return!0}return n}function sH(e){const t=[];for(const[n,r]of Object.entries(e))t.push([n,r].join(": "));return t.join("; ")}function oH(e){const t=new Map;for(const n of e)t.set(n.toLowerCase(),n);return t}const lH=["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","solidColor","textArea","textPath"],lT=oT(s0,"div"),uT=oT(Rs,"g",lH),ja={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/"};function uH(e,t){return cT(e,{})||{type:"root",children:[]}}function cT(e,t){const n=cH(e,t);return n&&t.afterTransform&&t.afterTransform(e,n),n}function cH(e,t){switch(e.nodeType){case 1:return mH(e,t);case 3:return fH(e);case 8:return hH(e);case 9:return mx(e,t);case 10:return dH();case 11:return mx(e,t);default:return}}function mx(e,t){return{type:"root",children:dT(e,t)}}function dH(){return{type:"doctype"}}function fH(e){return{type:"text",value:e.nodeValue||""}}function hH(e){return{type:"comment",value:e.nodeValue||""}}function mH(e,t){const n=e.namespaceURI,r=n===ja.svg?uT:lT,a=n===ja.html?e.tagName.toLowerCase():e.tagName,s=n===ja.html&&a==="template"?e.content:e,l=e.getAttributeNames(),u={};let d=-1;for(;++d<l.length;)u[l[d]]=e.getAttribute(l[d])||"";return r(a,u,dT(s,t))}function dT(e,t){const n=e.childNodes,r=[];let a=-1;for(;++a<n.length;){const s=cT(n[a],t);s!==void 0&&r.push(s)}return r}new DOMParser;function pH(e,t){const n=gH(e);return uH(n)}function gH(e){const t=document.createElement("template");return t.innerHTML=e,t.content}const px=(function(e,t,n){const r=l0(n);if(!e||!e.type||!e.children)throw new Error("Expected parent node");if(typeof t=="number"){if(t<0||t===Number.POSITIVE_INFINITY)throw new Error("Expected positive finite number as index")}else if(t=e.children.indexOf(t),t<0)throw new Error("Expected child node or index");for(;++t<e.children.length;)if(r(e.children[t],t,e))return e.children[t]}),Co=(function(e){if(e==null)return vH;if(typeof e=="string")return yH(e);if(typeof e=="object")return bH(e);if(typeof e=="function")return Eb(e);throw new Error("Expected function, string, or array as `test`")});function bH(e){const t=[];let n=-1;for(;++n<e.length;)t[n]=Co(e[n]);return Eb(r);function r(...a){let s=-1;for(;++s<t.length;)if(t[s].apply(this,a))return!0;return!1}}function yH(e){return Eb(t);function t(n){return n.tagName===e}}function Eb(e){return t;function t(n,r,a){return!!(xH(n)&&e.call(this,n,typeof r=="number"?r:void 0,a||void 0))}}function vH(e){return!!(e&&typeof e=="object"&&"type"in e&&e.type==="element"&&"tagName"in e&&typeof e.tagName=="string")}function xH(e){return e!==null&&typeof e=="object"&&"type"in e&&"tagName"in e}const gx=/\n/g,bx=/[\t ]+/g,n2=Co("br"),yx=Co(CH),EH=Co("p"),vx=Co("tr"),_H=Co(["datalist","head","noembed","noframes","noscript","rp","script","style","template","title",kH,NH]),fT=Co(["address","article","aside","blockquote","body","caption","center","dd","dialog","dir","dl","dt","div","figure","figcaption","footer","form,","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","legend","li","listing","main","menu","nav","ol","p","plaintext","pre","section","ul","xmp"]);function TH(e,t){const n=t||{},r="children"in e?e.children:[],a=fT(e),s=pT(e,{whitespace:n.whitespace||"normal"}),l=[];(e.type==="text"||e.type==="comment")&&l.push(...mT(e,{breakBefore:!0,breakAfter:!0}));let u=-1;for(;++u<r.length;)l.push(...hT(r[u],e,{whitespace:s,breakBefore:u?void 0:a,breakAfter:u<r.length-1?n2(r[u+1]):a}));const d=[];let f;for(u=-1;++u<l.length;){const p=l[u];typeof p=="number"?f!==void 0&&p>f&&(f=p):p&&(f!==void 0&&f>-1&&d.push(`
147`.repeat(f)||" "),f=-1,d.push(p))}return d.join("")}function hT(e,t,n){return e.type==="element"?SH(e,t,n):e.type==="text"?n.whitespace==="normal"?mT(e,n):wH(e):[]}function SH(e,t,n){const r=pT(e,n),a=e.children||[];let s=-1,l=[];if(_H(e))return l;let u,d;for(n2(e)||vx(e)&&px(t,e,vx)?d=`
148`:EH(e)?(u=2,d=2):fT(e)&&(u=1,d=1);++s<a.length;)l=l.concat(hT(a[s],e,{whitespace:r,breakBefore:s?void 0:u,breakAfter:s<a.length-1?n2(a[s+1]):d}));return yx(e)&&px(t,e,yx)&&l.push("	"),u&&l.unshift(u),d&&l.push(d),l}function mT(e,t){const n=String(e.value),r=[],a=[];let s=0;for(;s<=n.length;){gx.lastIndex=s;const d=gx.exec(n),f=d&&"index"in d?d.index:n.length;r.push(AH(n.slice(s,f).replace(/[\u061C\u200E\u200F\u202A-\u202E\u2066-\u2069]/g,""),s===0?t.breakBefore:!0,f===n.length?t.breakAfter:!0)),s=f+1}let l=-1,u;for(;++l<r.length;)r[l].charCodeAt(r[l].length-1)===8203||l<r.length-1&&r[l+1].charCodeAt(0)===8203?(a.push(r[l]),u=void 0):r[l]?(typeof u=="number"&&a.push(u),a.push(r[l]),u=0):(l===0||l===r.length-1)&&a.push(0);return a}function wH(e){return[String(e.value)]}function AH(e,t,n){const r=[];let a=0,s;for(;a<e.length;){bx.lastIndex=a;const l=bx.exec(e);s=l?l.index:e.length,!a&&!s&&l&&!t&&r.push(""),a!==s&&r.push(e.slice(a,s)),a=l?s+l[0].length:s}return a!==s&&!n&&r.push(""),r.join(" ")}function pT(e,t){if(e.type==="element"){const n=e.properties||{};switch(e.tagName){case"listing":case"plaintext":case"xmp":return"pre";case"nobr":return"nowrap";case"pre":return n.wrap?"pre-wrap":"pre";case"td":case"th":return n.noWrap?"nowrap":t.whitespace;case"textarea":return"pre-wrap"}}return t.whitespace}function kH(e){return!!(e.properties||{}).hidden}function CH(e){return e.tagName==="td"||e.tagName==="th"}function NH(e){return e.tagName==="dialog"&&!(e.properties||{}).open}class xr{constructor(t,n,r){this.lexer=void 0,this.start=void 0,this.end=void 0,this.lexer=t,this.start=n,this.end=r}static range(t,n){return n?!t||!t.loc||!n.loc||t.loc.lexer!==n.loc.lexer?null:new xr(t.loc.lexer,t.loc.start,n.loc.end):t&&t.loc}}class zr{constructor(t,n){this.text=void 0,this.loc=void 0,this.noexpand=void 0,this.treatAsRelax=void 0,this.text=t,this.loc=n}range(t,n){return new zr(n,xr.range(this,t))}}class ke{constructor(t,n){this.name=void 0,this.position=void 0,this.length=void 0,this.rawMessage=void 0;var r="KaTeX parse error: "+t,a,s,l=n&&n.loc;if(l&&l.start<=l.end){var u=l.lexer.input;a=l.start,s=l.end,a===u.length?r+=" at end of input: ":r+=" at position "+(a+1)+": ";var d=u.slice(a,s).replace(/[^]/g,"$&̲"),f;a>15?f="…"+u.slice(a-15,a):f=u.slice(0,a);var p;s+15<u.length?p=u.slice(s,s+15)+"…":p=u.slice(s),r+=f+d+p}var m=new Error(r);return m.name="ParseError",m.__proto__=ke.prototype,m.position=a,a!=null&&s!=null&&(m.length=s-a),m.rawMessage=t,m}}ke.prototype.__proto__=Error.prototype;var OH=function(t,n){return t===void 0?n:t},RH=/([A-Z])/g,DH=function(t){return t.replace(RH,"-$1").toLowerCase()},LH={"&":"&amp;",">":"&gt;","<":"&lt;",'"':"&quot;","'":"&#x27;"},IH=/[&><"']/g;function MH(e){return String(e).replace(IH,t=>LH[t])}var gT=function e(t){return t.type==="ordgroup"||t.type==="color"?t.body.length===1?e(t.body[0]):t:t.type==="font"?e(t.body):t},PH=function(t){var n=gT(t);return n.type==="mathord"||n.type==="textord"||n.type==="atom"},BH=function(t){if(!t)throw new Error("Expected non-null, but got "+String(t));return t},zH=function(t){var n=/^[\x00-\x20]*([^\\/#?]*?)(:|&#0*58|&#x0*3a|&colon)/i.exec(t);return n?n[2]!==":"||!/^[a-zA-Z][a-zA-Z0-9+\-.]*$/.test(n[1])?null:n[1].toLowerCase():"_relative"},_t={deflt:OH,escape:MH,hyphenate:DH,getBaseElem:gT,isCharacterBox:PH,protocolFromUrl:zH},Tc={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 <type>"},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 <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 <def>",cliDescription:"Define custom macro of the form '\\foo:expansion' (use multiple -m arguments for multiple macros).",cliDefault:[],cliProcessor:(e,t)=>
vendor: 4,516 bytes, line 148
148(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 <size>",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 <n>",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 <n>",cliProcessor:e=>e==="Infinity"?1/0:parseInt(e)},globalGroup:{type:"boolean",cli:!1}};function UH(e){if(e.default)return e.default;var t=e.type,n=Array.isArray(t)?t[0]:t;if(typeof n!="string")return n.enum[0];switch(n){case"boolean":return!1;case"string":return"";case"number":return 0;case"object":return{}}}class _b{constructor(t){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,t=t||{};for(var n in Tc)if(Tc.hasOwnProperty(n)){var r=Tc[n];this[n]=t[n]!==void 0?r.processor?r.processor(t[n]):t[n]:UH(r)}}reportNonstrict(t,n,r){var a=this.strict;if(typeof a=="function"&&(a=a(t,n,r)),!(!a||a==="ignore")){if(a===!0||a==="error")throw new ke("LaTeX-incompatible input and strict mode is set to 'error': "+(n+" ["+t+"]"),r);a==="warn"?typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(n+" ["+t+"]")):typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+a+"': "+n+" ["+t+"]"))}}useStrictBehavior(t,n,r){var a=this.strict;if(typeof a=="function")try{a=a(t,n,r)}catch{a="error"}return!a||a==="ignore"?!1:a===!0||a==="error"?!0:a==="warn"?(typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(n+" ["+t+"]")),!1):(typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+a+"': "+n+" ["+t+"]")),!1)}isTrusted(t){if(t.url&&!t.protocol){var n=_t.protocolFromUrl(t.url);if(n==null)return!1;t.protocol=n}var r=typeof this.trust=="function"?this.trust(t):this.trust;return!!r}}class fs{constructor(t,n,r){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=t,this.size=n,this.cramped=r}sup(){return Ua[HH[this.id]]}sub(){return Ua[FH[this.id]]}fracNum(){return Ua[jH[this.id]]}fracDen(){return Ua[qH[this.id]]}cramp(){return Ua[$H[this.id]]}text(){return Ua[VH[this.id]]}isTight(){return this.size>=2}}var Tb=0,Rf=1,Bl=2,ki=3,qc=4,aa=5,Gl=6,nr=7,Ua=[new fs(Tb,0,!1),new fs(Rf,0,!0),new fs(Bl,1,!1),new fs(ki,1,!0),new fs(qc,2,!1),new fs(aa,2,!0),new fs(Gl,3,!1),new fs(nr,3,!0)],HH=[qc,aa,qc,aa,Gl,nr,Gl,nr],FH=[aa,aa,aa,aa,nr,nr,nr,nr],jH=[Bl,ki,qc,aa,Gl,nr,Gl,nr],qH=[ki,ki,aa,aa,nr,nr,nr,nr],$H=[Rf,Rf,ki,ki,aa,aa,nr,nr],VH=[Tb,Rf,Bl,ki,Bl,ki,Bl,ki],Ye={DISPLAY:Ua[Tb],TEXT:Ua[Bl],SCRIPT:Ua[qc],SCRIPTSCRIPT:Ua[Gl]},r2=[{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]]}];function GH(e){for(var t=0;t<r2.length;t++)for(var n=r2[t],r=0;r<n.blocks.length;r++){var a=n.blocks[r];if(e>=a[0]&&e<=a[1])return n.name}return null}var pf=[];
vendor: 4,398 bytes, lines 148-199
148r2.forEach(e=>e.blocks.forEach(t=>pf.push(...t)));function bT(e){for(var t=0;t<pf.length;t+=2)if(e>=pf[t]&&e<=pf[t+1])return!0;return!1}var wl=80,YH=function(t,n){return"M95,"+(622+t+n)+`
149c-2.7,0,-7.17,-2.7,-13.5,-8c-5.8,-5.3,-9.5,-10,-9.5,-14
150c0,-2,0.3,-3.3,1,-4c1.3,-2.7,23.83,-20.7,67.5,-54
151c44.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
152s173,378,173,378c0.7,0,35.3,-71,104,-213c68.7,-142,137.5,-285,206.5,-429
153c69,-144,104.5,-217.7,106.5,-221
154l`+t/2.075+" -"+t+`
155c5.3,-9.3,12,-14,20,-14
156H400000v`+(40+t)+`H845.2724
157s-225.272,467,-225.272,467s-235,486,-235,486c-2.7,4.7,-9,7,-19,7
158c-6,0,-10,-1,-12,-3s-194,-422,-194,-422s-65,47,-65,47z
159M`+(834+t)+" "+n+"h400000v"+(40+t)+"h-400000z"},QH=function(t,n){return"M263,"+(601+t+n)+`c0.7,0,18,39.7,52,119
160c34,79.3,68.167,158.7,102.5,238c34.3,79.3,51.8,119.3,52.5,120
161c340,-704.7,510.7,-1060.3,512,-1067
162l`+t/2.084+" -"+t+`
163c4.7,-7.3,11,-11,19,-11
164H40000v`+(40+t)+`H1012.3
165s-271.3,567,-271.3,567c-38.7,80.7,-84,175,-136,283c-52,108,-89.167,185.3,-111.5,232
166c-22.3,46.7,-33.8,70.3,-34.5,71c-4.7,4.7,-12.3,7,-23,7s-12,-1,-12,-1
167s-109,-253,-109,-253c-72.7,-168,-109.3,-252,-110,-252c-10.7,8,-22,16.7,-34,26
168c-22,17.3,-33.3,26,-34,26s-26,-26,-26,-26s76,-59,76,-59s76,-60,76,-60z
169M`+(1001+t)+" "+n+"h400000v"+(40+t)+"h-400000z"},XH=function(t,n){return"M983 "+(10+t+n)+`
170l`+t/3.13+" -"+t+`
171c4,-6.7,10,-10,18,-10 H400000v`+(40+t)+`
172H1013.1s-83.4,268,-264.1,840c-180.7,572,-277,876.3,-289,913c-4.7,4.7,-12.7,7,-24,7
173s-12,0,-12,0c-1.3,-3.3,-3.7,-11.7,-7,-25c-35.3,-125.3,-106.7,-373.3,-214,-744
174c-10,12,-21,25,-33,39s-32,39,-32,39c-6,-5.3,-15,-14,-27,-26s25,-30,25,-30
175c26.7,-32.7,52,-63,76,-91s52,-60,52,-60s208,722,208,722
176c56,-175.3,126.3,-397.3,211,-666c84.7,-268.7,153.8,-488.2,207.5,-658.5
177c53.7,-170.3,84.5,-266.8,92.5,-289.5z
178M`+(1001+t)+" "+n+"h400000v"+(40+t)+"h-400000z"},WH=function(t,n){return"M424,"+(2398+t+n)+`
179c-1.3,-0.7,-38.5,-172,-111.5,-514c-73,-342,-109.8,-513.3,-110.5,-514
180c0,-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
181s-5,7,-5,7c-4,-3.3,-8.3,-7.7,-13,-13s-13,-13,-13,-13s76,-122,76,-122s77,-121,77,-121
182s209,968,209,968c0,-2,84.7,-361.7,254,-1079c169.3,-717.3,254.7,-1077.7,256,-1081
183l`+t/4.223+" -"+t+`c4,-6.7,10,-10,18,-10 H400000
184v`+(40+t)+`H1014.6
185s-87.3,378.7,-272.6,1166c-185.3,787.3,-279.3,1182.3,-282,1185
186c-2,6,-10,9,-24,9
187c-8,0,-12,-0.7,-12,-2z M`+(1001+t)+" "+n+`
188h400000v`+(40+t)+"h-400000z"},KH=function(t,n){return"M473,"+(2713+t+n)+`
189c339.3,-1799.3,509.3,-2700,510,-2702 l`+t/5.298+" -"+t+`
190c3.3,-7.3,9.3,-11,18,-11 H400000v`+(40+t)+`H1017.7
191s-90.5,478,-276.2,1466c-185.7,988,-279.5,1483,-281.5,1485c-2,6,-10,9,-24,9
192c-8,0,-12,-0.7,-12,-2c0,-1.3,-5.3,-32,-16,-92c-50.7,-293.3,-119.7,-693.3,-207,-1200
193c0,-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
194s76,-153,76,-153s77,-151,77,-151c0.7,0.7,35.7,202,105,604c67.3,400.7,102,602.7,104,
195606zM`+(1001+t)+" "+n+"h400000v"+(40+t)+"H1017.7z"},ZH=function(t){var n=t/2;return"M400000 "+t+" H0 L"+n+" 0 l65 45 L145 "+(t-80)+" H400000z"},JH=function(t,n,r){var a=r-54-n-t;return"M702 "+(t+n)+"H400000"+(40+t)+`
196H742v`+a+`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
197h-12l-28-84c-16.667-52-96.667 -294.333-240-727l-212 -643 -85 170
198c-4-3.333-8.333-7.667-13 -13l-13-13l77-155 77-156c66 199.333 139 419.667
199219 661 l218 661zM702 `+n+"H400000v"+(40+t)+"H742z"},eF=function(t,n,r){n=1e3*n;var a="";switch(t){case"sqrtMain":a=YH(n,wl);break;case"sqrtSize1":a=QH(n,wl);break;case"sqrtSize2":a=XH(n,wl);break;case"sqrtSize3":a=WH(n,wl);break;case"sqrtSize4":a=KH(n,wl);break;case"sqrtTall":a=JH(n,wl,r)}return a},tF=function(t,n){switch(t){case"⎜":return"M291 0 H417 V"+n+" H291z M291 0 H417 V"+n+" H291z";case"∣":return"M145 0 H188 V"+n+" H145z M145 0 H188 V"+n+" H145z";case"∥":return"M145 0 H188 V"+n+" H145z M145 0 H188 V"+n+" H145z"+("M367 0 H410 V"+n+" H367z M367 0 H410 V"+n+" H367z");case"⎟":return"M457 0 H583 V"+n+" H457z M457 0 H583 V"+n+" H457z";case"⎢":return"M319 0 H403 V"+n+" H319z M319 0 H403 V"+n+" H319z";case"⎥":return"M263 0 H347 V"+n+" H263z M263 0 H347 V"+n+" H263z";case"⎪":return"M384 0 H504 V"+n+" H384z M384 0 H504 V"+n+" H384z";case"⏐":return"M312 0 H355 V"+n+" H312z M312 0 H355 V"+n+" H312z";case"‖":return"M257 0 H300 V"+n+" H257z M257 0 H300 V"+n+" H257z"+("M478 0 H521 V"+n+" H478z M478 0 H521 V"+n+" H478z");default:return""}},xx
vendor: 15,381 bytes, lines 199-374
199={doubleleftarrow:`M262 157
200l10-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
201 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
202 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
203c2 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
204 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
205-86-123l-10-10h399738v-40H218c328 0 0 0 0 0l-10-8c-26.7-20-65.7-43-117-69 2.7
206-2 6-3.7 10-5 36.7-16 72.3-37.3 107-64l10-8h399782v-40z
207m8 0v40h399730v-40zm0 194v40h399730v-40z`,doublerightarrow:`M399738 392l
208-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
209 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
210-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
211-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
212-13h-6c-12 .7-18 4-18 10 0 2 1.7 7 5 15 23.3 46 52 87 86 123l10 10H0v40h399782
213c-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
214-107 64l-10 8H0v40zM0 157v40h399730v-40zm0 194v40h399730v-40z`,leftarrow:`M400000 241H110l3-3c68.7-52.7 113.7-120
215 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
216-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
217c-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
218 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
219 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
220 l-3-3h399890zM100 241v40h399900v-40z`,leftbrace:`M6 548l-6-6v-35l6-11c56-104 135.3-181.3 238-232 57.3-28.7 117
221-45 179-50h399577v120H403c-43.3 7-81 15-113 26-100.7 33-179.7 91-237 174-2.7
222 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
223 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
224 0 2 .3 4 1 18.688 2.7 76 4.3 172 5h399450v120H429l-6-1c-124.688-8-235-61.7
225-331-161C60.687 138.7 32.312 99.3 7 54L0 41V6z`,leftgroup:`M400000 80
226H435C64 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
227 435 0h399565z`,leftgroupunder:`M400000 262
228H435C64 262 168.3 112.6 21 82c-5.9-1.2-18 0-18 0-2 0-3 1-3 3v38c76 158 257 219
229 435 219h399565z`,leftharpoon:`M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3
230-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
231-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
232-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
233 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
234-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
235-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40zM0 435v40h400000v-40z
236m0 0v40h400000v-40z`,leftharpoondown:`M7 241c-4 4-6.333 8.667-7 14 0 5.333.667 9 2 11s5.333
237 5.333 12 10c90.667 54 156 130 196 228 3.333 10.667 6.333 16.333 9 17 2 .667 5
238 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
239-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
240 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
241-2 18-6 2-2.7 1-9.7-3-21-32-87.3-82.7-157.7-152-211l-3-3h399907v-40H7zm93 0
242v40h399900v-40zM0 241v40h399900v-40zm0 0v40h399900v-40z`,lefthook:`M400000 281 H103s-33-11.2-61-33.5S0 197.3 0 164s14.2-61.2 42.5
243-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
244-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
245 71.5 23h399859zM103 281v-40h399897v40z`,leftlinesegment:`M40 281 V428 H0 V94 H40 V241 H400000 v40z
246M40 281 V428 H0 V94 H40 V241 H400000 v40z`,leftmapsto:`M40 281 V448H0V74H40V241H400000v40z
247M40 281 V448H0V74H40V241H400000v40z`,leftToFrom:`M0 147h400000v40H0zm0 214c68 40 115.7 95.7 143 167h22c15.3 0 23
248-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69-70-101l-7-8h399905v-40H95l7-8
249c28.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
250 68 321 0 361zm0-174v-40h399900v40zm100 154v40h399900v-40z`,longequal:`M0 50 h400000 v40H0z m0 194h40000v40H0z
251M0 50 h400000 v40H0z m0 194h40000v40H0z`,midbrace:`M200428 334
252c-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
253-53.3 86.7-123.7 153-211 199-66.7 36-137.3 56.3-212 62H0V214h199568c178.3-11.7
254 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
255 12 44.7 59.3 101.3 106.3 170 141s145.3 54.3 229 60h199572v120z`,midbraceunder:`M199572 214
256c100.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
257 53.3-86.7 123.7-153 211-199 66.7-36 137.3-56.3 212-62h199568v120H200432c-178.3
258 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
259-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
260-320.3 177.6S193.1 320.6 193.1 249.8c0-71.4 46.9-178.2 319.5-178.2z
261m368.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
26260.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
263-451.1 228.8-386.3 0-452.7-137.5-452.7-228.8 0-92.4 66.4-230 452.7-230z
264m502.4 230c0-111.2-82.4-277.2-502.4-277.2s-504 166-504 277.2
265c0 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
266-480.5 177.6S202.1 320.6 202.1 249.8c0-71.4 70.5-178.2 479.3-178.2z
267m525.8 178.2c0-86.4-86.8-215.4-525.7-215.4-437.9 0-524.7 129-524.7 215.4 0
26885.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
269-707.8 275.8-606 0-710.2-165.8-710.2-275.8C311 218.8 415.2 53 1021.2 53z
270m770.4 277.1c0-131.2-126.4-327.6-770.5-327.6S248.4 198.9 248.4 330.1
271c0 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
272-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
273 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
274 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
275-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
276-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
277 151.7 139 205zm0 0v40h399900v-40z`,rightbrace:`M400000 542l
278-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
279s-117.2-55.8-184.5-66.5c-.7 0-2-.3-4-1-18.7-2.7-76-4.3-172-5H0V214h399571l6 1
280c124.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
281 28.7-117 45-179 50H-300V214h399897c43.3-7 81-15 113-26 100.7-33 179.7-91 237
282-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
283 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
284 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
285-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
286-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
287 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
288-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
289 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
290m0 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
291 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
292-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
293-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
294 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
295 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
296-64.7 57-92 95-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 435v40h399900v-40z
297m0-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
298 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
299-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
300 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
301M399960 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
302 1 0 1.3 5.3 13.7 16 37 18 35.3 41.3 69 70 101l7 8H0v40h399905l-7 8c-28.7 32
303-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
304-167z M100 147v40h399900v-40zM0 341v40h399900v-40z`,twoheadleftarrow:`M0 167c68 40
305 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
306-70-101l-7-8h125l9 7c50.7 39.3 85 86 103 140h46c0-4.7-6.3-18.7-19-42-18-35.3
307-40-67.3-66-96l-9-9h399716v-40H284l9-9c26-28.7 48-60.7 66-96 12.7-23.333 19
308-37.333 19-42h-46c-18 54-52.3 100.7-103 140l-9 7H95l7-8c28.7-32 52-65.7 70-101
309 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
310c-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
311 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
312 18 35.3 40 67.3 66 96l9 9H0v40h399716l-9 9c-26 28.7-48 60.7-66 96-12.7 23.333
313-19 37.333-19 42h46c18-54 52.3-100.7 103-140l9-7h125l-7 8c-28.7 32-52 65.7-70
314 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
315-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
316 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
317 4.35-2 7.613-5 9.788l-19 13.05c-92 63.077-116.937 75.308-183 76.128
318-68.267.847-113-73.952-191-73.952z`,tilde2:`M344 55.266c-142 0-300.638 81.316-311.5 86.418
319-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
320 31.9 283 0 358 0c148 0 188 122 331 122s314-97 326-97c4 0 8 2 10 7l7 21.114
321c1 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
322 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
323-11-10.37L.15 138c-1-7 3-12 10-13l19.2-6.4C378.4 40.7 634.3 0 804.3 0c337 0
324 411.8 157 746.8 157 328 0 754-112 773-112 5 0 10 3 11 9l1 14.075c1 8.066-.697
325 16.595-6.697 17.492l-21.052 7.31c-367.9 98.146-609.15 122.696-778.15 122.696
326 -338 0-409-156.573-744-156.573z`,tilde4:`M786 58C457 58 32 177.487 13 177.487c-6 0-10-3.345
327-11-10.035L.15 143c-1-7 3-12 10-13l22-6.7C381.2 35 637.15 0 807.15 0c337 0 409
328 177 744 177 328 0 754-127 773-127 5 0 10 3 11 9l1 14.794c1 7.805-3 13.38-9
329 14.495l-20.7 5.574c-366.85 99.79-607.3 139.372-776.3 139.372-338 0-409
330 -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
3313.333 2.667 6.667 9 10 19 6.667 24.667 20.333 43.667 41 57 7.333 4.667 11
33210.667 11 18 0 6-1 10-3 12s-6.667 5-14 9c-28.667 14.667-53.667 35.667-75 63
333-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
334-7 1c-4.667 0-9.167-1.833-13.5-5.5S337 184 337 178c0-12.667 15.667-32.333 47-59
335H213l-171-1c-8.667-6-13-12.333-13-19 0-4.667 4.333-11.333 13-20h359
336c-16-25.333-24-45-24-59z`,widehat1:`M529 0h5l519 115c5 1 9 5 9 10 0 1-1 2-1 3l-4 22
337c-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
338-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
339-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
340-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,
341-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,
342-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,
343-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,
344-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
345c4 -14.7 6 -23 6 -25c0 -7.3 -7 -11 -21 -11c-8 0 -13.2 0.8 -15.5 2.5
346c-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
347s-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
348121.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
349s2.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
350c0 -2 -2 -10.3 -6 -25c-20 -79.3 -65 -146.7 -135 -202l-3 -3h399890z
351M100 620v40h399900v-40z M0 241v40h399900v-40zM0 241v40h399900v-40z`,rightarrowabovebar:`M0 241v40h399891c-47.3 35.3-84 78-110 128-16.7 32
352-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
35313.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
354-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
355-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
356-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
357151.7 139 205zm96 379h399894v40H0zm0 0h399904v40H0z`,baraboveshortleftharpoon:`M507,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11
358c1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17
359c2,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
360c-32,-87.3,-82.7,-157.7,-152,-211c0,0,-3,-3,-3,-3l399351,0l0,-40
361c-398570,0,-399437,0,-399437,0z M593 435 v40 H399500 v-40z
362M0 281 v-40 H399908 v40z M0 281 v-40 H399908 v40z`,rightharpoonaboveshortbar:`M0,241 l0,40c399126,0,399993,0,399993,0
363c4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,
364-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
365c-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
366M0 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
367c1.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,
3681c0,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,
369-152,-211c0,0,-3,-3,-3,-3l399907,0l0,-40c-399126,0,-399993,0,-399993,0z
370M93 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
371c4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,
372-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
373c-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
374M500 241 v40 H399408 v-40z M500 435 v40 H400000 v-40z`},
vendor: 3,200 bytes, lines 374-402
374nF=function(t,n){switch(t){case"lbrack":return"M403 1759 V84 H666 V0 H319 V1759 v"+n+` v1759 h347 v-84
375H403z M403 1759 V0 H319 V1759 v`+n+" v1759 h84z";case"rbrack":return"M347 1759 V0 H0 V84 H263 V1759 v"+n+` v1759 H0 v84 H347z
376M347 1759 V0 H263 V1759 v`+n+" v1759 h84z";case"vert":return"M145 15 v585 v"+n+` v585 c2.667,10,9.667,15,21,15
377c10,0,16.667,-5,20,-15 v-585 v`+-n+` v-585 c-2.667,-10,-9.667,-15,-21,-15
378c-10,0,-16.667,5,-20,15z M188 15 H145 v585 v`+n+" v585 h43z";case"doublevert":return"M145 15 v585 v"+n+` v585 c2.667,10,9.667,15,21,15
379c10,0,16.667,-5,20,-15 v-585 v`+-n+` v-585 c-2.667,-10,-9.667,-15,-21,-15
380c-10,0,-16.667,5,-20,15z M188 15 H145 v585 v`+n+` v585 h43z
381M367 15 v585 v`+n+` v585 c2.667,10,9.667,15,21,15
382c10,0,16.667,-5,20,-15 v-585 v`+-n+` v-585 c-2.667,-10,-9.667,-15,-21,-15
383c-10,0,-16.667,5,-20,15z M410 15 H367 v585 v`+n+" v585 h43z";case"lfloor":return"M319 602 V0 H403 V602 v"+n+` v1715 h263 v84 H319z
384MM319 602 V0 H403 V602 v`+n+" v1715 H319z";case"rfloor":return"M319 602 V0 H403 V602 v"+n+` v1799 H0 v-84 H319z
385MM319 602 V0 H403 V602 v`+n+" v1715 H319z";case"lceil":return"M403 1759 V84 H666 V0 H319 V1759 v"+n+` v602 h84z
386M403 1759 V0 H319 V1759 v`+n+" v602 h84z";case"rceil":return"M347 1759 V0 H0 V84 H263 V1759 v"+n+` v602 h84z
387M347 1759 V0 h-84 V1759 v`+n+" 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
388c-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,
389-36,557 l0,`+(n+84)+`c0.2,6,0,26,0,60c2,159.3,10,310.7,24,454c53.3,528,210,
390949.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
391c0,-2.7,-3.3,-8.7,-10,-18c-135.3,-192.7,-235.5,-414.3,-300.5,-665c-65,-250.7,-102.5,
392-544.7,-112.5,-882c-2,-104,-3,-167,-3,-189
393l0,-`+(n+92)+`c0,-162.7,5.7,-314,17,-454c20.7,-272,63.7,-513,129,-723c65.3,
394-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,
39563,95c96.7,156.7,172.8,332.5,228.5,527.5c55.7,195,92.8,416.5,111.5,664.5
396c11.3,139.3,17,290.7,17,454c0,28,1.7,43,3.3,45l0,`+(n+9)+`
397c-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
398c-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
399c0,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
400c242.7,-294.7,395.3,-681.7,458,-1161c21.3,-164.7,33.3,-350.7,36,-558
401l0,-`+(n+144)+`c-2,-159.3,-10,-310.7,-24,-454c-53.3,-528,-210,-949.7,
402-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.")}};class c0{constructor(t){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=t,this.classes=[],this.height=0,this.depth=0,this.maxFontSize=0,this.style={}}hasClass(t){return this.classes.includes(t)}toNode(){for(var t=document.createDocumentFragment(),n=0;n<this.children.length;n++)t.appendChild(this.children[n].toNode());return t}toMarkup(){for(var t="",n=0;n<this.children.length;n++)t+=this.children[n].toMarkup();return t}toText(){var t=n=>n.toText();return this.children.map(t).join("")}}var qa
vendor: 57,629 bytes, line 402
402={"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]}},
vendor: 2,744 bytes, line 402
402$d={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]},Ex={Å:"A",Ð:"D",Þ:"o",å:"a",ð:"d",þ:"o",А:"A",Б:"B",В:"B",Г:"F",Д:"A",Е:"E",Ж:"K",З:"3",И:"N",Й:"N",К:"K",Л:"N",М:"M",Н:"H",О:"O",П:"N",Р:"P",С:"C",Т:"T",У:"y",Ф:"O",Х:"X",Ц:"U",Ч:"h",Ш:"W",Щ:"W",Ъ:"B",Ы:"X",Ь:"B",Э:"3",Ю:"X",Я:"R",а:"a",б:"b",в:"a",г:"r",д:"y",е:"e",ж:"m",з:"e",и:"n",й:"n",к:"n",л:"n",м:"m",н:"n",о:"o",п:"n",р:"p",с:"c",т:"o",у:"y",ф:"b",х:"x",ц:"n",ч:"n",ш:"w",щ:"w",ъ:"a",ы:"m",ь:"a",э:"e",ю:"m",я:"r"};function yT(e,t){qa[e]=t}function Sb(e,t,n){if(!qa[t])throw new Error("Font metrics not found for font: "+t+".");var r=e.charCodeAt(0),a=qa[t][r];if(!a&&e[0]in Ex&&(r=Ex[e[0]].charCodeAt(0),a=qa[t][r]),!a&&n==="text"&&bT(r)&&(a=qa[t][77]),a)return{depth:a[0],height:a[1],italic:a[2],skew:a[3],width:a[4]}}var P1={};function rF(e){var t;if(e>=5?t=0:e>=3?t=1:t=2,!P1[t]){var n=P1[t]={cssEmPerMu:$d.quad[t]/18};for(var r in $d)$d.hasOwnProperty(r)&&(n[r]=$d[r][t])}return P1[t]}var aF=[[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]],_x=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],Tx=function(t,n){return n.size<2?t:aF[t-1][n.size-1]};class Ti{constructor(t){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=t.style,this.color=t.color,this.size=t.size||Ti.BASESIZE,this.textSize=t.textSize||this.size,this.phantom=!!t.phantom,this.font=t.font||"",this.fontFamily=t.fontFamily||"",this.fontWeight=t.fontWeight||"",this.fontShape=t.fontShape||"",this.sizeMultiplier=_x[this.size-1],this.maxSize=t.maxSize,this.minRuleThickness=t.minRuleThickness,this._fontMetrics=void 0}extend(t){var n={style:this.style,size:this.size,textSize:this.textSize,color:this.color,ph
vendor: 8,331 bytes, line 402
402antom:this.phantom,font:this.font,fontFamily:this.fontFamily,fontWeight:this.fontWeight,fontShape:this.fontShape,maxSize:this.maxSize,minRuleThickness:this.minRuleThickness};for(var r in t)t.hasOwnProperty(r)&&(n[r]=t[r]);return new Ti(n)}havingStyle(t){return this.style===t?this:this.extend({style:t,size:Tx(this.textSize,t)})}havingCrampedStyle(){return this.havingStyle(this.style.cramp())}havingSize(t){return this.size===t&&this.textSize===t?this:this.extend({style:this.style.text(),size:t,textSize:t,sizeMultiplier:_x[t-1]})}havingBaseStyle(t){t=t||this.style.text();var n=Tx(Ti.BASESIZE,t);return this.size===n&&this.textSize===Ti.BASESIZE&&this.style===t?this:this.extend({style:t,size:n})}havingBaseSizing(){var t;switch(this.style.id){case 4:case 5:t=3;break;case 6:case 7:t=1;break;default:t=6}return this.extend({style:this.style.text(),size:t})}withColor(t){return this.extend({color:t})}withPhantom(){return this.extend({phantom:!0})}withFont(t){return this.extend({font:t})}withTextFontFamily(t){return this.extend({fontFamily:t,font:""})}withTextFontWeight(t){return this.extend({fontWeight:t,font:""})}withTextFontShape(t){return this.extend({fontShape:t,font:""})}sizingClasses(t){return t.size!==this.size?["sizing","reset-size"+t.size,"size"+this.size]:[]}baseSizingClasses(){return this.size!==Ti.BASESIZE?["sizing","reset-size"+this.size,"size"+Ti.BASESIZE]:[]}fontMetrics(){return this._fontMetrics||(this._fontMetrics=rF(this.size)),this._fontMetrics}getColor(){return this.phantom?"transparent":this.color}}Ti.BASESIZE=6;var a2={pt:1,mm:7227/2540,cm:7227/254,in:72.27,bp:803/800,pc:12,dd:1238/1157,cc:14856/1157,nd:685/642,nc:1370/107,sp:1/65536,px:803/800},iF={ex:!0,em:!0,mu:!0},vT=function(t){return typeof t!="string"&&(t=t.unit),t in a2||t in iF||t==="ex"},Yt=function(t,n){var r;if(t.unit in a2)r=a2[t.unit]/n.fontMetrics().ptPerEm/n.sizeMultiplier;else if(t.unit==="mu")r=n.fontMetrics().cssEmPerMu;else{var a;if(n.style.isTight()?a=n.havingStyle(n.style.text()):a=n,t.unit==="ex")r=a.fontMetrics().xHeight;else if(t.unit==="em")r=a.fontMetrics().quad;else throw new ke("Invalid unit: '"+t.unit+"'");a!==n&&(r*=a.sizeMultiplier/n.sizeMultiplier)}return Math.min(t.number*r,n.maxSize)},Le=function(t){return+t.toFixed(4)+"em"},ks=function(t){return t.filter(n=>n).join(" ")},xT=function(t,n,r){if(this.classes=t||[],this.attributes={},this.height=0,this.depth=0,this.maxFontSize=0,this.style=r||{},n){n.style.isTight()&&this.classes.push("mtight");var a=n.getColor();a&&(this.style.color=a)}},ET=function(t){var n=document.createElement(t);n.className=ks(this.classes);for(var r in this.style)this.style.hasOwnProperty(r)&&(n.style[r]=this.style[r]);for(var a in this.attributes)this.attributes.hasOwnProperty(a)&&n.setAttribute(a,this.attributes[a]);for(var s=0;s<this.children.length;s++)n.appendChild(this.children[s].toNode());return n},sF=/[\s"'>/=\x00-\x1f]/,_T=function(t){var n="<"+t;this.classes.length&&(n+=' class="'+_t.escape(ks(this.classes))+'"');var r="";for(var a in this.style)this.style.hasOwnProperty(a)&&(r+=_t.hyphenate(a)+":"+this.style[a]+";");r&&(n+=' style="'+_t.escape(r)+'"');for(var s in this.attributes)if(this.attributes.hasOwnProperty(s)){if(sF.test(s))throw new ke("Invalid attribute name '"+s+"'");n+=" "+s+'="'+_t.escape(this.attributes[s])+'"'}n+=">";for(var l=0;l<this.children.length;l++)n+=this.children[l].toMarkup();return n+="</"+t+">",n};class d0{constructor(t,n,r,a){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,xT.call(this,t,r,a),this.children=n||[]}setAttribute(t,n){this.attributes[t]=n}hasClass(t){return this.classes.includes(t)}toNode(){return ET.call(this,"span")}toMarkup(){return _T.call(this,"span")}}class wb{constructor(t,n,r,a){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,xT.call(this,n,a),this.children=r||[],this.setAttribute("href",t)}setAttribute(t,n){this.attributes[t]=n}hasClass(t){return this.classes.includes(t)}toNode(){return ET.call(this,"a")}toMarkup(){return _T.call(this,"a")}}class oF{constructor(t,n,r){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=n,this.src=t,this.classes=["mord"],this.style=r}hasClass(t){return this.classes.includes(t)}toNode(){var t=document.createElement("img");t.src=this.src,t.alt=this.alt,t.className="mord";for(var n in this.style)this.style.hasOwnProperty(n)&&(t.style[n]=this.style[n]);return t}toMarkup(){var t='<img src="'+_t.escape(this.src)+'"'+(' alt="'+_t.escape(this.alt)+'"'),n="";for(var r in this.style)this.style.hasOwnProperty(r)&&(n+=_t.hyphenate(r)+":"+this.style[r]+";");return n&&(t+=' style="'+_t.escape(n)+'"'),t+="'/>",t}}var lF={î:"ı̂",ï:"ı̈",í:"ı́",ì:"ı̀"};class sa{constructor(t,n,r,a,s,l,u,d){this.text=void 0,this.height=void 0,this.depth=void 0,this.italic=void 0,this.skew=void 0,this.width=void 0,this.maxFontSize=void 0,this.classes=void 0,this.style=void 0,this.text=t,this.height=n||0,this.depth=r||0,this.italic=a||0,this.skew=s||0,this.width=l||0,this.classes=u||[],this.style=d||{},this.maxFontSize=0;var f=GH(this.text.charCodeAt(0));f&&this.classes.push(f+"_fallback"),/[îïíì]/.test(this.text)&&(this.text=lF[this.text])}hasClass(t){return this.classes.includes(t)}toNode(){var t=document.createTextNode(this.text),n=null;this.italic>0&&(n=document.createElement("span"),n.style.marginRight=Le(this.italic)),this.classes.length>0&&(n=n||document.createElement("span"),n.className=ks(this.classes));for(var r in this.style)this.style.hasOwnProperty(r)&&(n=n||document.createElement("span"),n.style[r]=this.style[r]);return n?(n.appendChild(t),n):t}toMarkup(){var t=!1,n="<span";this.classes.length&&(t=!0,n+=' class="',n+=_t.escape(ks(this.classes)),n+='"');var r="";this.italic>0&&(r+="margin-right:"+this.italic+"em;");for(var a in this.style)this.style.hasOwnProperty(a)&&(r+=_t.hyphenate(a)+":"+this.style[a]+";");r&&(t=!0,n+=' style="'+_t.escape(r)+'"');var s=_t.escape(this.text);return t?(n+=">",n+=s,n+="</span>",n):s}}class Di{constructor(t,n){this.children=void 0,this.attributes=void 0,this.children=t||[],this.attributes=n||{}}toNode(){var t="http://www.w3.org/2000/svg",n=document.createElementNS(t,"svg");for(var r in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,r)&&n.setAttribute(r,this.attributes[r]);for(var a=0;a<this.children.length;a++)n.appendChild(this.children[a].toNode());return n}toMarkup(){var t='<svg xmlns="http://www.w3.org/2000/svg"';for(var n in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,n)&&(t+=" "+n+'="'+_t.escape(this.attributes[n])+'"');t+=">";for(var r=0;r<this.children.length;r++)t+=this.children[r].toMarkup();return t+="</svg>",t}}class Cs{constructor(t,n){this.pathName=void 0,this.alternate=void 0,this.pathName=t,this.alternate=n}toNode(){var t="http://www.w3.org/2000/svg",n=document.createElementNS(t,"path");return this.alternate?n.setAttribute("d",this.alternate):n.setAttribute("d",xx[this.pathName]),n}toMarkup(){return this.alternate?'<path d="'+_t.escape(this.alternate)+'"/>':'<path d="'+_t.escape(xx[this.pathName])+'"/>'}}class i2{constructor(t){this.attributes=void 0,this.attributes=t||{}}toNode(){var t="http://www.w3.org/2000/svg",n=document.createElementNS(t,"line");for(var r in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,r)&&n.setAttribute(r,this.attributes[r]);return n}toMarkup(){var t="<line";for(var n in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,n)&&(t+=" "+n+'="'+_t.escape(this.attributes[n])+'"');return t+="/>",t}}function Sx(e){if(e instanceof sa)return e;throw new Error("Expected symbolNode but got "+String(e)+".")}function uF(e){if(e instanceof d0)return e;throw new Error("Expected span<HtmlDomNode> but got "+String(e)+".")}var cF={bin:1,close:1,inner:1,open:1,punct:1,rel:1},dF={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1},zt={math:{},text:{}};function _(e,t,n,r,a,s){zt[e][a]={font:t,group:n,replace:r},s&&r&&(zt[e][r]=zt[e][a])}var S="math",Te="text",C="main",q="ams",$t="accent-token",ze="bin",ar="close",tu="inner",Ge="mathord",b
402n="op-token",Ur="open",Ch="punct",G="rel",Pi="spacing",J="textord";_(S,C,G,"≡","\\equiv",!0);_(S,C,G,"≺","\\prec",!0);_(S,C,G,"≻","\\succ",!0);_(S,C,G,"∼","\\sim",!0);_(S,C,G,"⊥","\\perp");_(S,C,G,"⪯","\\preceq",!0);_(S,C,G,"⪰","\\succeq",!0);_(S,C,G,"≃","\\simeq",!0);_(S,C,G,"∣","\\mid",!0);_(S,C,G,"≪","\\ll",!0);_(S,C,G,"≫","\\gg",!0);_(S,C,G,"≍","\\asymp",!0);_(S,C,G,"∥","\\parallel");_(S,C,G,"⋈","\\bowtie",!0);_(S,C,G,"⌣","\\smile",!0);_(S,C,G,"⊑","\\sqsubseteq",!0);_(S,C,G,"⊒","\\sqsupseteq",!0);_(S,C,G,"≐","\\doteq",!0);_(S,C,G,"⌢","\\frown",!0);_(S,C,G,"∋","\\ni",!0);_(S,C,G,"∝","\\propto",!0);_(S,C,G,"⊢","\\vdash",!0);_(S,C,G,"⊣","\\dashv",!0);_(S,C,G,"∋","\\owns");_(S,C,Ch,".","\\ldotp");_(S,C,Ch,"⋅","\\cdotp");_(S,C,J,"#","\\#");_(Te,C,J,"#","\\#");_(S,C,J,"&","\\&");_(Te,C,J,"&","\\&");_(S,C,J,"ℵ","\\aleph",!0);_(S,C,J,"∀","\\forall",!0);_(S,C,J,"ℏ","\\hbar",!0);_(S,C,J,"∃","\\exists",!0);_(S,C,J,"∇","\\nabla",!0);_(S,C,J,"♭","\\flat",!0);_(S,C,J,"ℓ","\\ell",!0);_(S,C,J,"♮","\\natural",!0);_(S,C,J,"♣","\\clubsuit",!0);_(S,C,J,"℘","\\wp",!0);_(S,C,J,"♯","\\sharp",!0);_(S,C,J,"♢","\\diamondsuit",!0);_(S,C,J,"ℜ","\\Re",!0);_(S,C,J,"♡","\\heartsuit",!0);_(S,C,J,"ℑ","\\Im",!0);_(S,C,J,"♠","\\spadesuit",!0);_(S,C,J,"§","\\S",!0);_(Te,C,J,"§","\\S");_(S,C,J,"¶","\\P",!0);_(Te,C,J,"¶","\\P");_(S,C,J,"†","\\dag");_(Te,C,J,"†","\\dag");_(Te,C,J,"†","\\textdagger");_(S,C,J,"‡","\\ddag");_(Te,C,J,"‡","\\ddag");_(Te,C,J,"‡","\\textdaggerdbl");_(S,C,ar,"⎱","\\rmoustache",!0);_(S,C,Ur,"⎰","\\lmoustache",!0);_(S,C,ar,"⟯","\\rgroup",!0);_(S,C,Ur,"⟮","\\lgroup",!0);_(S,C,ze,"∓","\\mp",!0);_(S,C,ze,"⊖","\\ominus",!0);_(S,C,ze,"⊎","\\uplus",!0);_(S,C,ze,"⊓","\\sqcap",!0);_(S,C,ze,"∗","\\ast");_(S,C,ze,"⊔","\\sqcup",!0);_(S,C,ze,"◯","\\bigcirc",!0);_(S,C,ze,"∙","\\bullet",!0);_(S,C,ze,"‡","\\ddagger");_(S,C,ze,"≀","\\wr",!0);_(S,C,ze,"⨿","\\amalg");_(S,C,ze,"&","\\And");_(S,C,G,"⟵","\\longleftarrow",!0);_(S,C,G,"⇐","\\Leftarrow",!0);_(S,C,G,"⟸","\\Longleftarrow",!0);_(S,C,G,"⟶","\\longrightarrow",!0);_(S,C,G,"⇒","\\Rightarrow",!0);_(S,C,G,"⟹","\\Longrightarrow",!0);_(S,C,G,"↔","\\leftrightarrow",!0);_(S,C,G,"⟷","\\longleftrightarrow",!0);_(S,C,G,"⇔","\\Leftrightarrow",!0);_(S,C,G,"⟺","\\Longleftrightarrow",!0);_(S,C,G,"↦","\\mapsto",!0);_(S,C,G,"⟼","\\longmapsto",!0);_(S,C,G,"↗","\\nearrow",!0);_(S,C,G,"↩","\\hookleftarrow",!0);_(S,C,G,"↪","\\hookrightarrow",!0);_(S,C,G,"↘","\\searrow",!0);_(S,C,G,"↼","\\leftharpoonup",!0);_(S,C,G,"⇀","\\rightharpoonup",!0);_(S,C,G,"↙","\\swarrow",!0);_(S,C,G,"↽","\\leftharpoondown",!0);_(S,C,G,"⇁","\\rightharpoondown",!0);_(S,C,G,"↖","\\nwarrow",!0);_(S,C,G,"⇌","\\rightleftharpoons",!0);_(S,q,G,"≮","\\nless",!0);_(S,q,G,"","\\@nleqslant");_(S,q,G,"","\\@nleqq");_(S,q,G,"⪇","\\lneq",!0);_(S,q,G,"≨","\\lneqq",!0);_(S,q,G,"","\\@lvertneqq");_(S,q,G,"⋦","\\lnsim",!0);_(S,q,G,"⪉","\\lnapprox",!0);_(S,q,G,"⊀","\\nprec",!0);_(S,q,G,"⋠","\\npreceq",!0);_(S,q,G,"⋨","\\precnsim",!0);_(S,q,G,"⪹","\\precnapprox",!0);_(S,q,G,"≁","\\nsim",!0);_(S,q,G,"","\\@nshortmid");_(S,q,G,"∤","\\nmid",!0);_(S,q,G,"⊬","\\nvdash",!0);_(S,q,G,"⊭","\\nvDash",!0);_(S,q,G,"⋪","\\ntriangleleft");_(S,q,G,"⋬","\\ntrianglelefteq",!0);_(S,q,G,"⊊","\\subsetneq",!0);_(S,q,G,"","\\@varsubsetneq");_(S,q,G,"⫋","\\subsetneqq",!0);_(S,q,G,"","\\@varsubsetneqq");_(S,q,G,"≯","\\ngtr",!0);_(S,q,G,"","\\@ngeqslant");_(S,q,G,"","\\@ngeqq");_(S,q,G,"⪈","\\gneq",!0);_(S,q,G,"≩","\\gneqq",!0);_(S,q,G,"","\\@gvertneqq");_(S,q,G,"⋧","\\gnsim",!0);_(S,q,G,"⪊","\\gnapprox",!0);_(S,q,G,"⊁","\\nsucc",!0);_(S,q,G,"⋡","\\nsucceq",!0);_(S,q,G,"⋩","\\succnsim",!0);_(S,q,G,"⪺","\\succnapprox",!0);_(S,q,G,"≆","\\ncong",!0);_(S,q,G,"","\\@nshortparallel");_(S,q,G,"∦","\\nparallel",!0);_(S,q,G,"⊯","\\nVDash",!0);_(S,q,G,"⋫","\\ntriangleright");_(S,q,G,"⋭","\\ntrianglerighteq",!0);_(S,q,G,"","\\@nsupseteqq");_(S,q,G,"⊋","\\supsetneq",!0);_(S,q,G,"","\\@varsupsetneq");_(S,q,G,"⫌","\\supsetneqq",!0);_(S,q,G,"","\\@varsupsetneqq");_(S,q,G,"⊮","\\nVdash",!0);_(S,q,G,"⪵","\\precneqq",!0);_(S,q,G,"⪶","\\succneqq",!0);
402_(S,q,G,"","\\@nsubseteqq");_(S,q,ze,"⊴","\\unlhd");_(S,q,ze,"⊵","\\unrhd");_(S,q,G,"↚","\\nleftarrow",!0);_(S,q,G,"↛","\\nrightarrow",!0);_(S,q,G,"⇍","\\nLeftarrow",!0);_(S,q,G,"⇏","\\nRightarrow",!0);_(S,q,G,"↮","\\nleftrightarrow",!0);_(S,q,G,"⇎","\\nLeftrightarrow",!0);_(S,q,G,"△","\\vartriangle");_(S,q,J,"ℏ","\\hslash");_(S,q,J,"▽","\\triangledown");_(S,q,J,"◊","\\lozenge");_(S,q,J,"Ⓢ","\\circledS");_(S,q,J,"®","\\circledR");_(Te,q,J,"®","\\circledR");_(S,q,J,"∡","\\measuredangle",!0);_(S,q,J,"∄","\\nexists");_(S,q,J,"℧","\\mho");_(S,q,J,"Ⅎ","\\Finv",!0);_(S,q,J,"⅁","\\Game",!0);_(S,q,J,"‵","\\backprime");_(S,q,J,"▲","\\blacktriangle");_(S,q,J,"▼","\\blacktriangledown");_(S,q,J,"■","\\blacksquare");_(S,q,J,"⧫","\\blacklozenge");_(S,q,J,"★","\\bigstar");_(S,q,J,"∢","\\sphericalangle",!0);_(S,q,J,"∁","\\complement",!0);_(S,q,J,"ð","\\eth",!0);_(Te,C,J,"ð","ð");_(S,q,J,"╱","\\diagup");_(S,q,J,"╲","\\diagdown");_(S,q,J,"□","\\square");_(S,q,J,"□","\\Box");_(S,q,J,"◊","\\Diamond");_(S,q,J,"¥","\\yen",!0);_(Te,q,J,"¥","\\yen",!0);_(S,q,J,"✓","\\checkmark",!0);_(Te,q,J,"✓","\\checkmark");_(S,q,J,"ℶ","\\beth",!0);_(S,q,J,"ℸ","\\daleth",!0);_(S,q,J,"ℷ","\\gimel",!0);_(S,q,J,"ϝ","\\digamma",!0);_(S,q,J,"ϰ","\\varkappa");_(S,q,Ur,"┌","\\@ulcorner",!0);_(S,q,ar,"┐","\\@urcorner",!0);_(S,q,Ur,"└","\\@llcorner",!0);_(S,q,ar,"┘","\\@lrcorner",!0);_(S,q,G,"≦","\\leqq",!0);_(S,q,G,"⩽","\\leqslant",!0);_(S,q,G,"⪕","\\eqslantless",!0);_(S,q,G,"≲","\\lesssim",!0);_(S,q,G,"⪅","\\lessapprox",!0);_(S,q,G,"≊","\\approxeq",!0);_(S,q,ze,"⋖","\\lessdot");_(S,q,G,"⋘","\\lll",!0);_(S,q,G,"≶","\\lessgtr",!0);_(S,q,G,"⋚","\\lesseqgtr",!0);_(S,q,G,"⪋","\\lesseqqgtr",!0);_(S,q,G,"≑","\\doteqdot");_(S,q,G,"≓","\\risingdotseq",!0);_(S,q,G,"≒","\\fallingdotseq",!0);_(S,q,G,"∽","\\backsim",!0);_(S,q,G,"⋍","\\backsimeq",!0);_(S,q,G,"⫅","\\subseteqq",!0);_(S,q,G,"⋐","\\Subset",!0);_(S,q,G,"⊏","\\sqsubset",!0);_(S,q,G,"≼","\\preccurlyeq",!0);_(S,q,G,"⋞","\\curlyeqprec",!0);_(S,q,G,"≾","\\precsim",!0);_(S,q,G,"⪷","\\precapprox",!0);_(S,q,G,"⊲","\\vartriangleleft");_(S,q,G,"⊴","\\trianglelefteq");_(S,q,G,"⊨","\\vDash",!0);_(S,q,G,"⊪","\\Vvdash",!0);_(S,q,G,"⌣","\\smallsmile");_(S,q,G,"⌢","\\smallfrown");_(S,q,G,"≏","\\bumpeq",!0);_(S,q,G,"≎","\\Bumpeq",!0);_(S,q,G,"≧","\\geqq",!0);_(S,q,G,"⩾","\\geqslant",!0);_(S,q,G,"⪖","\\eqslantgtr",!0);_(S,q,G,"≳","\\gtrsim",!0);_(S,q,G,"⪆","\\gtrapprox",!0);_(S,q,ze,"⋗","\\gtrdot");_(S,q,G,"⋙","\\ggg",!0);_(S,q,G,"≷","\\gtrless",!0);_(S,q,G,"⋛","\\gtreqless",!0);_(S,q,G,"⪌","\\gtreqqless",!0);_(S,q,G,"≖","\\eqcirc",!0);_(S,q,G,"≗","\\circeq",!0);_(S,q,G,"≜","\\triangleq",!0);_(S,q,G,"∼","\\thicksim");
402_(S,q,G,"≈","\\thickapprox");_(S,q,G,"⫆","\\supseteqq",!0);_(S,q,G,"⋑","\\Supset",!0);_(S,q,G,"⊐","\\sqsupset",!0);_(S,q,G,"≽","\\succcurlyeq",!0);_(S,q,G,"⋟","\\curlyeqsucc",!0);_(S,q,G,"≿","\\succsim",!0);_(S,q,G,"⪸","\\succapprox",!0);_(S,q,G,"⊳","\\vartriangleright");_(S,q,G,"⊵","\\trianglerighteq");_(S,q,G,"⊩","\\Vdash",!0);_(S,q,G,"∣","\\shortmid");_(S,q,G,"∥","\\shortparallel");_(S,q,G,"≬","\\between",!0);_(S,q,G,"⋔","\\pitchfork",!0);_(S,q,G,"∝","\\varpropto");_(S,q,G,"◀","\\blacktriangleleft");_(S,q,G,"∴","\\therefore",!0);_(S,q,G,"∍","\\backepsilon");_(S,q,G,"▶","\\blacktriangleright");_(S,q,G,"∵","\\because",!0);_(S,q,G,"⋘","\\llless");_(S,q,G,"⋙","\\gggtr");_(S,q,ze,"⊲","\\lhd");_(S,q,ze,"⊳","\\rhd");_(S,q,G,"≂","\\eqsim",!0);_(S,C,G,"⋈","\\Join");_(S,q,G,"≑","\\Doteq",!0);_(S,q,ze,"∔","\\dotplus",!0);_(S,q,ze,"∖","\\smallsetminus");_(S,q,ze,"⋒","\\Cap",!0);_(S,q,ze,"⋓","\\Cup",!0);_(S,q,ze,"⩞","\\doublebarwedge",!0);_(S,q,ze,"⊟","\\boxminus",!0);_(S,q,ze,"⊞","\\boxplus",!0);_(S,q,ze,"⋇","\\divideontimes",!0);_(S,q,ze,"⋉","\\ltimes",!0);_(S,q,ze,"⋊","\\rtimes",!0);_(S,q,ze,"⋋","\\leftthreetimes",!0);_(S,q,ze,"⋌","\\rightthreetimes",!0);_(S,q,ze,"⋏","\\curlywedge",!0);_(S,q,ze,"⋎","\\curlyvee",!0);_(S,q,ze,"⊝","\\circleddash",!0);_(S,q,ze,"⊛","\\circledast",!0);_(S,q,ze,"⋅","\\centerdot");_(S,q,ze,"⊺","\\intercal",!0);_(S,q,ze,"⋒","\\doublecap");_(S,q,ze,"⋓","\\doublecup");_(S,q,ze,"⊠","\\boxtimes",!0);_(S,q,G,"⇢","\\dashrightarrow",!0);_(S,q,G,"⇠","\\dashleftarrow",!0);_(S,q,G,"⇇","\\leftleftarrows",!0);_(S,q,G,"⇆","\\leftrightarrows",!0);_(S,q,G,"⇚","\\Lleftarrow",!0);_(S,q,G,"↞","\\twoheadleftarrow",!0);_(S,q,G,"↢","\\leftarrowtail",!0);_(S,q,G,"↫","\\looparrowleft",!0);_(S,q,G,"⇋","\\leftrightharpoons",!0);_(S,q,G,"↶","\\curvearrowleft",!0);_(S,q,G,"↺","\\circlearrowleft",!0);_(S,q,G,"↰","\\Lsh",!0);_(S,q,G,"⇈","\\upuparrows",!0);_(S,q,G,"↿","\\upharpoonleft",!0);_(S,q,G,"⇃","\\downharpoonleft",!0);_(S,C,G,"⊶","\\origof",!0);_(S,C,G,"⊷","\\imageof",!0);_(S,q,G,"⊸","\\multimap",!0);_(S,q,G,"↭","\\leftrightsquigarrow",!0);_(S,q,G,"⇉","\\rightrightarrows",!0);_(S,q,G,"⇄","\\rightleftarrows",!0);_(S,q,G,"↠","\\twoheadrightarrow",!0);_(S,q,G,"↣","\\rightarrowtail",!0);_(S,q,G,"↬","\\looparrowright",!0);_(S,q,G,"↷","\\curvearrowright",!0);_(S,q,G,"↻","\\circlearrowright",!0);_(S,q,G,"↱","\\Rsh",!0);_(S,q,G,"⇊","\\downdownarrows",!0);_(S,q,G,"↾","\\upharpoonright",!0);_(S,q,G,"⇂","\\downharpoonright",!0);_(S,q,G,"⇝","\\rightsquigarrow",!0);_(S,q,G,"⇝","\\leadsto");_(S,q,G,"⇛","\\Rrightarrow",!0);_(S,q,G,"↾","\\restriction");_(S,C,J,"‘","`");_(S,C,J,"$","\\$");_(Te,C,J,"$","\\$");_(Te,C,J,"$","\\textdollar");_(S,C,J,"%","\\%");_(Te,C,J,"%","\\%");_(S,C,J,"_","\\_");_(Te,C,J,"_","\\_");_(Te,C,J,"_","\\textunderscore");_(S,C,J,"∠","\\angle",!0);_(S,C,J,"∞","\\infty",!0);_(S,C,J,"′","\\prime");_(S,C,J,"△","\\triangle");_(S,C,J,"Γ","\\Gamma",!0);_(S,C,J,"Δ","\\Delta",!0);_(S,C,J,"Θ","\\Theta",!0);_(S,C,J,"Λ","\\Lambda",!0);_(S,C,J,"Ξ","\\Xi",!0);_(S,C,J,"Π","\\Pi",!0);_(S,C,J,"Σ","\\Sigma",!0);_(S,C,J,"Υ","\\Upsilon",!0);_(S,C,J,"Φ","\\Phi",!0);_(S,C,J,"Ψ","\\Psi",!0);_(S,C,J,"Ω","\\Omega",!0);_(S,C,J,"A","Α");_(S,C,J,"B","Β");_(S,C,J,"E","Ε");_(S,C,J,"Z","Ζ");_(S,C,J,"H","Η");_(S,C,J,"I","Ι");_(S,C,J,"K","Κ");_(S,C,J,"M","Μ");_(S,C,J,"N","Ν");_(S,C,J,"O","Ο");_(S,C,J,"P","Ρ");_(S,C,J,"T","Τ");_(S,C,J,"X","Χ");_(S,C,J,"¬","\\neg",!0);_(S,C,J,"¬","\\lnot");_(S,C,J,"⊤","\\top");_(S,C,J,"⊥","\\bot");_(S,C,J,"∅","\\emptyset");_(S,q,J,"∅","\\varnothing");_(S,C,Ge,"α","\\alpha",!0);_(S,C,Ge,"β","\\beta",!0);_(S,C,Ge,"γ","\\gamma",!0);_(S,C,Ge,"δ","\\delta",!0);_(S,C,Ge,"ϵ","\\epsilon",!0);_(S,C,Ge,"ζ","\\zeta",!0);_(S,C,Ge,"η","\\eta",!0);_(S,C,Ge,"θ","\\theta",!0);_(S,C,Ge,"ι","\\iota",!0);_(S,C,Ge,"κ","\\kappa",!0);_(S,C,Ge,"λ","\\lambda",!0);_(S,C,Ge,"μ","\\mu",!0);_(S,C,Ge,"ν","\\nu",!0);_(S,C,Ge,"ξ","\\xi",!0);_(S,C,Ge,"ο","\\omicron",!0);_(S,C,Ge,"π","\\pi",!0);_(S,C,Ge,"ρ","\\rho",!0);_(S,C,Ge,"σ","\\sigma",!0);_(S,C,Ge,"τ","\\tau",!0);_(S,C,Ge,"υ","\\upsilon",!0);_(S,C,Ge,"ϕ","\\phi",!0);_(S,C,Ge,"χ","\\chi",!0);_(S,C,Ge,"ψ","\\psi",!0);_(S,C,Ge,"ω","\\omega",!0);_(S,C,Ge,"ε","\\varepsilon",!0);_(S,C,Ge,"ϑ","\\vartheta",!0);_(S,C,Ge,"ϖ","\\varpi",!0);_(S,C,Ge,"ϱ","\\varrho",!0);_(S,C,Ge,"ς","\\varsigma",!0);_(S,C,Ge,"φ","\\varphi",!0);_(S,C,ze,"∗","*",!0);_(S,C,ze,"+","+");_(S,C,ze,"−","-",!0);_(S,C,ze,"⋅","\\cdot",!0);_(S,C,ze,"∘","\\circ",!0);_(S,C,ze,"÷","\\div",!0);_(S,C,ze,"±","\\pm",!0);_(S,C,ze,"×","\\times",!0);_(S,C,ze,"∩","\\cap",!0);_(S,C,ze,"∪","\\cup",!0);_(S,C,ze,"∖","\\setminus",!0);_(S,C,ze,"∧","\\land");_(S,C,ze,"∨","\\lor");_(S,C,ze,"∧","\\wedge",!0);_(S,C,ze,"∨","\\vee",!0);_(S,C,J,"√","\\surd");_(S,C,Ur,"⟨","\\langle",!0);_(S,C,Ur,"∣","\\lvert");_(S,C,Ur,"∥","\\lVert");_(S,C,ar,"?","?");_(S,C,ar,"!","!");_(S,C,ar,"⟩","\\rangle",!0);_(S,C,ar,"∣","\\rvert");_(S,C,ar,"∥","\\rVert");_(S,C,G,"=","=");_(S,C,G,":",":");_(S,C,G,"≈","\\approx",!0);_(S,C,G,"≅","\\cong",!0);_(S,C,G,"≥","\\ge");_(S,C,G,"≥","\\geq",!0);_(S,C,G,"←","\\gets");_(S,C,G,">","\\gt",!0);_(S,C,G,"∈","\\in",!0);_(S,C,G,"","\\@not");_(S,C,G,"⊂","\\subset",!0);_(S,C,G,"⊃","\\supset",!0);_(S,C,G,"⊆","\\subseteq",!0);_(S,C,G,"⊇","\\supseteq",!0);_(S,q,G,"⊈","\\nsubseteq",!0);_(S,q,G,"⊉","\\nsupseteq",!0);_(S,C,G,"⊨","\\models");_(S,C,G,"←","\\leftarrow",!0);_(S,C,G,"≤","\\le");_(S,C,G,"≤","\\leq",!0);_(S,C,G,"<","\\lt",!0);_(S,C,G,"→","\\rightarrow",!0);_(S,C,G,"→","\\to");_(S,q,G,"≱","\\ngeq",!0);_(S,q,G,"≰","\\nleq",!0);_(S,C,Pi," ","\\ ");_(S,C,Pi," ","\\space");_(S,C,Pi," ","\\nobreakspace");_(Te,C,Pi," ","\\ ");_(Te,C,Pi," "," ");_(Te,C,Pi," ","\\space");_(Te,C,Pi," ","\\nobreakspace");_(S,C,Pi,null,"\\nobreak");_(S,C,Pi,null,"\\allowbreak");_(S,C,Ch,",",",");_(S,C,Ch,";",";");_(S,q,ze,"⊼","\\barwedge",!0);_(S,q,ze,"⊻","\\veebar",!0);_(S,C,ze,"⊙","\\odot",!0);_(S,C,ze,"⊕","\\oplus",!0);_(S,C,ze,"⊗","\\otimes",!0);_(S,C,J,"∂","\\partial",!0);_(S,C,ze,"⊘","\\oslash",!0);_(S,q,ze,"⊚","\\circledcirc",!0);_(S,q,ze,"⊡","\\boxdot",!0);
vendor: 7,210 bytes, line 402
402_(S,C,ze,"△","\\bigtriangleup");_(S,C,ze,"▽","\\bigtriangledown");_(S,C,ze,"†","\\dagger");_(S,C,ze,"⋄","\\diamond");_(S,C,ze,"⋆","\\star");_(S,C,ze,"◃","\\triangleleft");_(S,C,ze,"▹","\\triangleright");_(S,C,Ur,"{","\\{");_(Te,C,J,"{","\\{");_(Te,C,J,"{","\\textbraceleft");_(S,C,ar,"}","\\}");_(Te,C,J,"}","\\}");_(Te,C,J,"}","\\textbraceright");_(S,C,Ur,"{","\\lbrace");_(S,C,ar,"}","\\rbrace");_(S,C,Ur,"[","\\lbrack",!0);_(Te,C,J,"[","\\lbrack",!0);_(S,C,ar,"]","\\rbrack",!0);_(Te,C,J,"]","\\rbrack",!0);_(S,C,Ur,"(","\\lparen",!0);_(S,C,ar,")","\\rparen",!0);_(Te,C,J,"<","\\textless",!0);_(Te,C,J,">","\\textgreater",!0);_(S,C,Ur,"⌊","\\lfloor",!0);_(S,C,ar,"⌋","\\rfloor",!0);_(S,C,Ur,"⌈","\\lceil",!0);_(S,C,ar,"⌉","\\rceil",!0);_(S,C,J,"\\","\\backslash");_(S,C,J,"∣","|");_(S,C,J,"∣","\\vert");_(Te,C,J,"|","\\textbar",!0);_(S,C,J,"∥","\\|");_(S,C,J,"∥","\\Vert");_(Te,C,J,"∥","\\textbardbl");_(Te,C,J,"~","\\textasciitilde");_(Te,C,J,"\\","\\textbackslash");_(Te,C,J,"^","\\textasciicircum");_(S,C,G,"↑","\\uparrow",!0);_(S,C,G,"⇑","\\Uparrow",!0);_(S,C,G,"↓","\\downarrow",!0);_(S,C,G,"⇓","\\Downarrow",!0);_(S,C,G,"↕","\\updownarrow",!0);_(S,C,G,"⇕","\\Updownarrow",!0);_(S,C,bn,"∐","\\coprod");_(S,C,bn,"⋁","\\bigvee");_(S,C,bn,"⋀","\\bigwedge");_(S,C,bn,"⨄","\\biguplus");_(S,C,bn,"⋂","\\bigcap");_(S,C,bn,"⋃","\\bigcup");_(S,C,bn,"∫","\\int");_(S,C,bn,"∫","\\intop");_(S,C,bn,"∬","\\iint");_(S,C,bn,"∭","\\iiint");_(S,C,bn,"∏","\\prod");_(S,C,bn,"∑","\\sum");_(S,C,bn,"⨂","\\bigotimes");_(S,C,bn,"⨁","\\bigoplus");_(S,C,bn,"⨀","\\bigodot");_(S,C,bn,"∮","\\oint");_(S,C,bn,"∯","\\oiint");_(S,C,bn,"∰","\\oiiint");_(S,C,bn,"⨆","\\bigsqcup");_(S,C,bn,"∫","\\smallint");_(Te,C,tu,"…","\\textellipsis");_(S,C,tu,"…","\\mathellipsis");_(Te,C,tu,"…","\\ldots",!0);_(S,C,tu,"…","\\ldots",!0);_(S,C,tu,"⋯","\\@cdots",!0);_(S,C,tu,"⋱","\\ddots",!0);_(S,C,J,"⋮","\\varvdots");_(Te,C,J,"⋮","\\varvdots");_(S,C,$t,"ˊ","\\acute");_(S,C,$t,"ˋ","\\grave");_(S,C,$t,"¨","\\ddot");_(S,C,$t,"~","\\tilde");_(S,C,$t,"ˉ","\\bar");_(S,C,$t,"˘","\\breve");_(S,C,$t,"ˇ","\\check");_(S,C,$t,"^","\\hat");_(S,C,$t,"⃗","\\vec");_(S,C,$t,"˙","\\dot");_(S,C,$t,"˚","\\mathring");_(S,C,Ge,"","\\@imath");_(S,C,Ge,"","\\@jmath");_(S,C,J,"ı","ı");_(S,C,J,"ȷ","ȷ");_(Te,C,J,"ı","\\i",!0);_(Te,C,J,"ȷ","\\j",!0);_(Te,C,J,"ß","\\ss",!0);_(Te,C,J,"æ","\\ae",!0);_(Te,C,J,"œ","\\oe",!0);_(Te,C,J,"ø","\\o",!0);_(Te,C,J,"Æ","\\AE",!0);_(Te,C,J,"Œ","\\OE",!0);_(Te,C,J,"Ø","\\O",!0);_(Te,C,$t,"ˊ","\\'");_(Te,C,$t,"ˋ","\\`");_(Te,C,$t,"ˆ","\\^");_(Te,C,$t,"˜","\\~");_(Te,C,$t,"ˉ","\\=");_(Te,C,$t,"˘","\\u");_(Te,C,$t,"˙","\\.");_(Te,C,$t,"¸","\\c");_(Te,C,$t,"˚","\\r");_(Te,C,$t,"ˇ","\\v");_(Te,C,$t,"¨",'\\"');_(Te,C,$t,"˝","\\H");_(Te,C,$t,"◯","\\textcircled");var TT={"--":!0,"---":!0,"``":!0,"''":!0};_(Te,C,J,"–","--",!0);_(Te,C,J,"–","\\textendash");_(Te,C,J,"—","---",!0);_(Te,C,J,"—","\\textemdash");_(Te,C,J,"‘","`",!0);_(Te,C,J,"‘","\\textquoteleft");_(Te,C,J,"’","'",!0);_(Te,C,J,"’","\\textquoteright");_(Te,C,J,"“","``",!0);_(Te,C,J,"“","\\textquotedblleft");_(Te,C,J,"”","''",!0);_(Te,C,J,"”","\\textquotedblright");_(S,C,J,"°","\\degree",!0);_(Te,C,J,"°","\\degree");_(Te,C,J,"°","\\textdegree",!0);_(S,C,J,"£","\\pounds");_(S,C,J,"£","\\mathsterling",!0);_(Te,C,J,"£","\\pounds");_(Te,C,J,"£","\\textsterling",!0);_(S,q,J,"✠","\\maltese");_(Te,q,J,"✠","\\maltese");var wx='0123456789/@."';for(var B1=0;B1<wx.length;B1++){var Ax=wx.charAt(B1);_(S,C,J,Ax,Ax)}var kx='0123456789!@*()-=+";:?/.,';for(var z1=0;z1<kx.length;z1++){var Cx=kx.charAt(z1);_(Te,C,J,Cx,Cx)}var Df="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";for(var U1=0;U1<Df.length;U1++){var Vd=Df.charAt(U1);_(S,C,Ge,Vd,Vd),_(Te,C,J,Vd,Vd)}_(S,q,J,"C","ℂ");_(Te,q,J,"C","ℂ");_(S,q,J,"H","ℍ");_(Te,q,J,"H","ℍ");_(S,q,J,"N","ℕ");_(Te,q,J,"N","ℕ");_(S,q,J,"P","ℙ");_(Te,q,J,"P","ℙ");_(S,q,J,"Q","ℚ");_(Te,q,J,"Q","ℚ");_(S,q,J,"R","ℝ");_(Te,q,J,"R","ℝ");_(S,q,J,"Z","ℤ");_(Te,q,J,"Z","ℤ");_(S,C,Ge,"h","ℎ");_(Te,C,Ge,"h","ℎ");var We="";for(var Jn=0;Jn<Df.length;Jn++){var Kt=Df.charAt(Jn);We=String.fromCharCode(55349,56320+Jn),_(S,C,Ge,Kt,We),_(Te,C,J,Kt,We),We=String.fromCharCode(55349,56372+Jn),_(S,C,Ge,Kt,We),_(Te,C,J,Kt,We),We=String.fromCharCode(55349,56424+Jn),_(S,C,Ge,Kt,We),_(Te,C,J,Kt,We),We=String.fromCharCode(55349,56580+Jn),_(S,C,Ge,Kt,We),_(Te,C,J,Kt,We),We=String.fromCharCode(55349,56684+Jn),_(S,C,Ge,Kt,We),_(Te,C,J,Kt,We),We=String.fromCharCode(55349,56736+Jn),_(S,C,Ge,Kt,We),_(Te,C,J,Kt,We),We=String.fromCharCode(55349,56788+Jn),_(S,C,Ge,Kt,We),_(Te,C,J,Kt,We),We=String.fromCharCode(55349,56840+Jn),_(S,C,Ge,Kt,We),_(Te,C,J,Kt,We),We=String.fromCharCode(55349,56944+Jn),_(S,C,Ge,Kt,We),_(Te,C,J,Kt,We),Jn<26&&(We=String.fromCharCode(55349,56632+Jn),_(S,C,Ge,Kt,We),_(Te,C,J,Kt,We),We=String.fromCharCode(55349,56476+Jn),_(S,C,Ge,Kt,We),_(Te,C,J,Kt,We))}We="𝕜";_(S,C,Ge,"k",We);_(Te,C,J,"k",We);for(var to=0;to<10;to++){var hs=to.toString();We=String.fromCharCode(55349,57294+to),_(S,C,Ge,hs,We),_(Te,C,J,hs,We),We=String.fromCharCode(55349,57314+to),_(S,C,Ge,hs,We),_(Te,C,J,hs,We),We=String.fromCharCode(55349,57324+to),_(S,C,Ge,hs,We),_(Te,C,J,hs,We),We=String.fromCharCode(55349,57334+to),_(S,C,Ge,hs,We),_(Te,C,J,hs,We)}var s2="ÐÞþ";for(var H1=0;H1<s2.length;H1++){var Gd=s2.charAt(H1);_(S,C,Ge,Gd,Gd),_(Te,C,J,Gd,Gd)}var Yd=[["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"]],Nx=[["mathbf","textbf","Main-Bold"],["","",""],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathtt","texttt","Typewriter-Regular"]],fF=function(t,n){var r=t.charCodeAt(0),a=t.charCodeAt(1),s=(r-55296)*1024+(a-56320)+65536,l=n==="math"?0:1;if(119808<=s&&s<120484){var u=Math.floor((s-119808)/26);return[Yd[u][2],Yd[u][l]]}else if(120782<=s&&s<=120831){var d=Math.floor((s-120782)/10);return[Nx[d][2],Nx[d][l]]}else{if(s===120485||s===120486)return[Yd[0][2],Yd[0][l]];if(120486<s&&s<120782)return["",""];throw new ke("Unsupported character: "+t)}},Nh=function(t,n,r){return zt[r][t]&&zt[r][t].replace&&(t=zt[r][t].replace),{value:t,metrics:Sb(t,n,r)}},ma=function(t,n,r,a,s){var l=Nh(t,n,r),u=l.metrics;t=l.value;var d;
vendor: 6,313 bytes, line 402
402if(u){var f=u.italic;(r==="text"||a&&a.font==="mathit")&&(f=0),d=new sa(t,u.height,u.depth,f,u.skew,u.width,s)}else typeof console<"u"&&console.warn("No character metrics "+("for '"+t+"' in style '"+n+"' and mode '"+r+"'")),d=new sa(t,0,0,0,0,0,s);if(a){d.maxFontSize=a.sizeMultiplier,a.style.isTight()&&d.classes.push("mtight");var p=a.getColor();p&&(d.style.color=p)}return d},hF=function(t,n,r,a){return a===void 0&&(a=[]),r.font==="boldsymbol"&&Nh(t,"Main-Bold",n).metrics?ma(t,"Main-Bold",n,r,a.concat(["mathbf"])):t==="\\"||zt[n][t].font==="main"?ma(t,"Main-Regular",n,r,a):ma(t,"AMS-Regular",n,r,a.concat(["amsrm"]))},mF=function(t,n,r,a,s){return s!=="textord"&&Nh(t,"Math-BoldItalic",n).metrics?{fontName:"Math-BoldItalic",fontClass:"boldsymbol"}:{fontName:"Main-Bold",fontClass:"mathbf"}},pF=function(t,n,r){var a=t.mode,s=t.text,l=["mord"],u=a==="math"||a==="text"&&n.font,d=u?n.font:n.fontFamily,f="",p="";if(s.charCodeAt(0)===55349&&([f,p]=fF(s,a)),f.length>0)return ma(s,f,a,n,l.concat(p));if(d){var m,b;if(d==="boldsymbol"){var y=mF(s,a,n,l,r);m=y.fontName,b=[y.fontClass]}else u?(m=AT[d].fontName,b=[d]):(m=Qd(d,n.fontWeight,n.fontShape),b=[d,n.fontWeight,n.fontShape]);if(Nh(s,m,a).metrics)return ma(s,m,a,n,l.concat(b));if(TT.hasOwnProperty(s)&&m.slice(0,10)==="Typewriter"){for(var E=[],T=0;T<s.length;T++)E.push(ma(s[T],m,a,n,l.concat(b)));return wT(E)}}if(r==="mathord")return ma(s,"Math-Italic",a,n,l.concat(["mathnormal"]));if(r==="textord"){var N=zt[a][s]&&zt[a][s].font;if(N==="ams"){var k=Qd("amsrm",n.fontWeight,n.fontShape);return ma(s,k,a,n,l.concat("amsrm",n.fontWeight,n.fontShape))}else if(N==="main"||!N){var O=Qd("textrm",n.fontWeight,n.fontShape);return ma(s,O,a,n,l.concat(n.fontWeight,n.fontShape))}else{var I=Qd(N,n.fontWeight,n.fontShape);return ma(s,I,a,n,l.concat(I,n.fontWeight,n.fontShape))}}else throw new Error("unexpected type: "+r+" in makeOrd")},gF=(e,t)=>{if(ks(e.classes)!==ks(t.classes)||e.skew!==t.skew||e.maxFontSize!==t.maxFontSize)return!1;if(e.classes.length===1){var n=e.classes[0];if(n==="mbin"||n==="mord")return!1}for(var r in e.style)if(e.style.hasOwnProperty(r)&&e.style[r]!==t.style[r])return!1;for(var a in t.style)if(t.style.hasOwnProperty(a)&&e.style[a]!==t.style[a])return!1;return!0},bF=e=>{for(var t=0;t<e.length-1;t++){var n=e[t],r=e[t+1];n instanceof sa&&r instanceof sa&&gF(n,r)&&(n.text+=r.text,n.height=Math.max(n.height,r.height),n.depth=Math.max(n.depth,r.depth),n.italic=r.italic,e.splice(t+1,1),t--)}return e},Ab=function(t){for(var n=0,r=0,a=0,s=0;s<t.children.length;s++){var l=t.children[s];l.height>n&&(n=l.height),l.depth>r&&(r=l.depth),l.maxFontSize>a&&(a=l.maxFontSize)}t.height=n,t.depth=r,t.maxFontSize=a},yr=function(t,n,r,a){var s=new d0(t,n,r,a);return Ab(s),s},ST=(e,t,n,r)=>new d0(e,t,n,r),yF=function(t,n,r){var a=yr([t],[],n);return a.height=Math.max(r||n.fontMetrics().defaultRuleThickness,n.minRuleThickness),a.style.borderBottomWidth=Le(a.height),a.maxFontSize=1,a},vF=function(t,n,r,a){var s=new wb(t,n,r,a);return Ab(s),s},wT=function(t){var n=new c0(t);return Ab(n),n},xF=function(t,n){return t instanceof c0?yr([],[t],n):t},EF=function(t){if(t.positionType==="individualShift"){for(var n=t.children,r=[n[0]],a=-n[0].shift-n[0].elem.depth,s=a,l=1;l<n.length;l++){var u=-n[l].shift-s-n[l].elem.depth,d=u-(n[l-1].elem.height+n[l-1].elem.depth);s=s+u,r.push({type:"kern",size:d}),r.push(n[l])}return{children:r,depth:a}}var f;if(t.positionType==="top"){for(var p=t.positionData,m=0;m<t.children.length;m++){var b=t.children[m];p-=b.type==="kern"?b.size:b.elem.height+b.elem.depth}f=p}else if(t.positionType==="bottom")f=-t.positionData;else{var y=t.children[0];if(y.type!=="elem")throw new Error('First child must have type "elem".');if(t.positionType==="shift")f=-y.elem.depth-t.positionData;else if(t.positionType==="firstBaseline")f=-y.elem.depth;else throw new Error("Invalid positionType "+t.positionType+".")}return{children:t.children,depth:f}},_F=function(t,n){for(var{children:r,depth:a}=EF(t),s=0,l=0;l<r.length;l++){var u=r[l];if(u.type==="elem"){var d=u.elem;s=Math.max(s,d.maxFontSize,d.height)}}s+=2;var f=yr(["pstrut"],[]);f.style.height=Le(s);for(var p=[],m=a,b=a,y=a,E=0;E<r.length;E++){var T=r[E];if(T.type==="kern")y+=T.size;else{var N=T.elem,k=T.wrapperClasses||[],O=T.wrapperStyle||{},I=yr(k,[f,N],void 0,O);I.style.top=Le(-s-y-N.depth),T.marginLeft&&(I.style.marginLeft=T.marginLeft),T.marginRight&&(I.style.marginRight=T.marginRight),p.push(I),y+=N.height+N.depth}m=Math.min(m,y),b=Math.max(b,y)}var K=yr(["vlist"],p);K.style.height=Le(b);var V;if(m<0){var B=yr([],[]),z=yr(["vlist"],[B]);z.style.height=Le(-m);var W=yr(["vlist-s"],[new sa("​")]);V=[yr(["vlist-r"],[K,W]),yr(["vlist-r"],[z])]}else V=[yr(["vlist-r"],[K])];var re=yr(["vlist-t"],V);return V.length===2&&re.classes.push("vlist-t2"),re.height=b,re.depth=-m,re},TF=(e,t)=>{var n=yr(["mspace"],[],t),r=Yt(e,t);return n.style.marginRight=Le(r),n},Qd=function(t,n,r){var a="";switch(t){case"amsrm":a="AMS";break;case"textrm":a="Main";break;case"textsf":a="SansSerif";break;case"texttt":a="Typewriter";break;default:a=t}var s;return n==="textbf"&&r==="textit"?s="BoldItalic":n==="textbf"?s="Bold":n==="textit"?s="Italic":s="Regular",a+"-"+s},AT={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"},mathsfit:{variant:"sans-serif-italic",fontName:"SansSerif-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"}},kT={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},SF=function(t,n){var[r,a,s]=kT[t],l=new Cs(r),u=new Di([l],{width:Le(a),height:Le(s),style:"width:"+Le(a),viewBox:"0 0 "+1e3*a+" "+1e3*s,preserveAspectRatio:"xMinYMin"}),d=ST(["overlay"],[u],n);return d.height=s,d.style.height=Le(s),d.style.width=Le(a),d}
vendor: 14,703 bytes, line 402
402,le={fontMap:AT,makeSymbol:ma,mathsym:hF,makeSpan:yr,makeSvgSpan:ST,makeLineSpan:yF,makeAnchor:vF,makeFragment:wT,wrapFragment:xF,makeVList:_F,makeOrd:pF,makeGlue:TF,staticSvg:SF,svgData:kT,tryCombineChars:bF},Gt={number:3,unit:"mu"},no={number:4,unit:"mu"},vi={number:5,unit:"mu"},wF={mord:{mop:Gt,mbin:no,mrel:vi,minner:Gt},mop:{mord:Gt,mop:Gt,mrel:vi,minner:Gt},mbin:{mord:no,mop:no,mopen:no,minner:no},mrel:{mord:vi,mop:vi,mopen:vi,minner:vi},mopen:{},mclose:{mop:Gt,mbin:no,mrel:vi,minner:Gt},mpunct:{mord:Gt,mop:Gt,mrel:vi,mopen:Gt,mclose:Gt,mpunct:Gt,minner:Gt},minner:{mord:Gt,mop:Gt,mbin:no,mrel:vi,mopen:Gt,mpunct:Gt,minner:Gt}},AF={mord:{mop:Gt},mop:{mord:Gt,mop:Gt},mbin:{},mrel:{},mopen:{},mclose:{mop:Gt},mpunct:{},minner:{mop:Gt}},CT={},Lf={},If={};function Pe(e){for(var{type:t,names:n,props:r,handler:a,htmlBuilder:s,mathmlBuilder:l}=e,u={type:t,numArgs:r.numArgs,argTypes:r.argTypes,allowedInArgument:!!r.allowedInArgument,allowedInText:!!r.allowedInText,allowedInMath:r.allowedInMath===void 0?!0:r.allowedInMath,numOptionalArgs:r.numOptionalArgs||0,infix:!!r.infix,primitive:!!r.primitive,handler:a},d=0;d<n.length;++d)CT[n[d]]=u;t&&(s&&(Lf[t]=s),l&&(If[t]=l))}function No(e){var{type:t,htmlBuilder:n,mathmlBuilder:r}=e;Pe({type:t,names:[],props:{numArgs:0},handler(){throw new Error("Should never be called.")},htmlBuilder:n,mathmlBuilder:r})}var Mf=function(t){return t.type==="ordgroup"&&t.body.length===1?t.body[0]:t},ln=function(t){return t.type==="ordgroup"?t.body:[t]},Li=le.makeSpan,kF=["leftmost","mbin","mopen","mrel","mop","mpunct"],CF=["rightmost","mrel","mclose","mpunct"],NF={display:Ye.DISPLAY,text:Ye.TEXT,script:Ye.SCRIPT,scriptscript:Ye.SCRIPTSCRIPT},OF={mord:"mord",mop:"mop",mbin:"mbin",mrel:"mrel",mopen:"mopen",mclose:"mclose",mpunct:"mpunct",minner:"minner"},_n=function(t,n,r,a){a===void 0&&(a=[null,null]);for(var s=[],l=0;l<t.length;l++){var u=yt(t[l],n);if(u instanceof c0){var d=u.children;s.push(...d)}else s.push(u)}if(le.tryCombineChars(s),!r)return s;var f=n;if(t.length===1){var p=t[0];p.type==="sizing"?f=n.havingSize(p.size):p.type==="styling"&&(f=n.havingStyle(NF[p.style]))}var m=Li([a[0]||"leftmost"],[],n),b=Li([a[1]||"rightmost"],[],n),y=r==="root";return Ox(s,(E,T)=>{var N=T.classes[0],k=E.classes[0];N==="mbin"&&CF.includes(k)?T.classes[0]="mord":k==="mbin"&&kF.includes(N)&&(E.classes[0]="mord")},{node:m},b,y),Ox(s,(E,T)=>{var N=o2(T),k=o2(E),O=N&&k?E.hasClass("mtight")?AF[N][k]:wF[N][k]:null;if(O)return le.makeGlue(O,f)},{node:m},b,y),s},Ox=function e(t,n,r,a,s){a&&t.push(a);for(var l=0;l<t.length;l++){var u=t[l],d=NT(u);if(d){e(d.children,n,r,null,s);continue}var f=!u.hasClass("mspace");if(f){var p=n(u,r.node);p&&(r.insertAfter?r.insertAfter(p):(t.unshift(p),l++))}f?r.node=u:s&&u.hasClass("newline")&&(r.node=Li(["leftmost"])),r.insertAfter=(m=>b=>{t.splice(m+1,0,b),l++})(l)}a&&t.pop()},NT=function(t){return t instanceof c0||t instanceof wb||t instanceof d0&&t.hasClass("enclosing")?t:null},RF=function e(t,n){var r=NT(t);if(r){var a=r.children;if(a.length){if(n==="right")return e(a[a.length-1],"right");if(n==="left")return e(a[0],"left")}}return t},o2=function(t,n){return t?(n&&(t=RF(t,n)),OF[t.classes[0]]||null):null},$c=function(t,n){var r=["nulldelimiter"].concat(t.baseSizingClasses());return Li(n.concat(r))},yt=function(t,n,r){if(!t)return Li();if(Lf[t.type]){var a=Lf[t.type](t,n);if(r&&n.size!==r.size){a=Li(n.sizingClasses(r),[a],n);var s=n.sizeMultiplier/r.sizeMultiplier;a.height*=s,a.depth*=s}return a}else throw new ke("Got group of unknown type: '"+t.type+"'")};function Xd(e,t){var n=Li(["base"],e,t),r=Li(["strut"]);return r.style.height=Le(n.height+n.depth),n.depth&&(r.style.verticalAlign=Le(-n.depth)),n.children.unshift(r),n}function l2(e,t){var n=null;e.length===1&&e[0].type==="tag"&&(n=e[0].tag,e=e[0].body);var r=_n(e,t,"root"),a;r.length===2&&r[1].hasClass("tag")&&(a=r.pop());for(var s=[],l=[],u=0;u<r.length;u++)if(l.push(r[u]),r[u].hasClass("mbin")||r[u].hasClass("mrel")||r[u].hasClass("allowbreak")){for(var d=!1;u<r.length-1&&r[u+1].hasClass("mspace")&&!r[u+1].hasClass("newline");)u++,l.push(r[u]),r[u].hasClass("nobreak")&&(d=!0);d||(s.push(Xd(l,t)),l=[])}else r[u].hasClass("newline")&&(l.pop(),l.length>0&&(s.push(Xd(l,t)),l=[]),s.push(r[u]));l.length>0&&s.push(Xd(l,t));var f;n?(f=Xd(_n(n,t,!0)),f.classes=["tag"],s.push(f)):a&&s.push(a);var p=Li(["katex-html"],s);if(p.setAttribute("aria-hidden","true"),f){var m=f.children[0];m.style.height=Le(p.height+p.depth),p.depth&&(m.style.verticalAlign=Le(-p.depth))}return p}function OT(e){return new c0(e)}class Mr{constructor(t,n,r){this.type=void 0,this.attributes=void 0,this.children=void 0,this.classes=void 0,this.type=t,this.attributes={},this.children=n||[],this.classes=r||[]}setAttribute(t,n){this.attributes[t]=n}getAttribute(t){return this.attributes[t]}toNode(){var t=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(var n in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,n)&&t.setAttribute(n,this.attributes[n]);this.classes.length>0&&(t.className=ks(this.classes));for(var r=0;r<this.children.length;r++)if(this.children[r]instanceof $a&&this.children[r+1]instanceof $a){for(var a=this.children[r].toText()+this.children[++r].toText();this.children[r+1]instanceof $a;)a+=this.children[++r].toText();t.appendChild(new $a(a).toNode())}else t.appendChild(this.children[r].toNode());return t}toMarkup(){var t="<"+this.type;for(var n in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,n)&&(t+=" "+n+'="',t+=_t.escape(this.attributes[n]),t+='"');this.classes.length>0&&(t+=' class ="'+_t.escape(ks(this.classes))+'"'),t+=">";for(var r=0;r<this.children.length;r++)t+=this.children[r].toMarkup();return t+="</"+this.type+">",t}toText(){return this.children.map(t=>t.toText()).join("")}}class $a{constructor(t){this.text=void 0,this.text=t}toNode(){return document.createTextNode(this.text)}toMarkup(){return _t.escape(this.toText())}toText(){return this.text}}class DF{constructor(t){this.width=void 0,this.character=void 0,this.width=t,t>=.05555&&t<=.05556?this.character=" ":t>=.1666&&t<=.1667?this.character=" ":t>=.2222&&t<=.2223?this.character=" ":t>=.2777&&t<=.2778?this.character="  ":t>=-.05556&&t<=-.05555?this.character=" ⁣":t>=-.1667&&t<=-.1666?this.character=" ⁣":t>=-.2223&&t<=-.2222?this.character=" ⁣":t>=-.2778&&t<=-.2777?this.character=" ⁣":this.character=null}toNode(){if(this.character)return document.createTextNode(this.character);var t=document.createElementNS("http://www.w3.org/1998/Math/MathML","mspace");return t.setAttribute("width",Le(this.width)),t}toMarkup(){return this.character?"<mtext>"+this.character+"</mtext>":'<mspace width="'+Le(this.width)+'"/>'}toText(){return this.character?this.character:" "}}var Ae={MathNode:Mr,TextNode:$a,SpaceNode:DF,newDocumentFragment:OT},oa=function(t,n,r){return zt[n][t]&&zt[n][t].replace&&t.charCodeAt(0)!==55349&&!(TT.hasOwnProperty(t)&&r&&(r.fontFamily&&r.fontFamily.slice(4,6)==="tt"||r.font&&r.font.slice(4,6)==="tt"))&&(t=zt[n][t].replace),new Ae.TextNode(t)},kb=function(t){return t.length===1?t[0]:new Ae.MathNode("mrow",t)},Cb=function(t,n){if(n.fontFamily==="texttt")return"monospace";if(n.fontFamily==="textsf")return n.fontShape==="textit"&&n.fontWeight==="textbf"?"sans-serif-bold-italic":n.fontShape==="textit"?"sans-serif-italic":n.fontWeight==="textbf"?"bold-sans-serif":"sans-serif";if(n.fontShape==="textit"&&n.fontWeight==="textbf")return"bold-italic";if(n.fontShape==="textit")return"italic";if(n.fontWeight==="textbf")return"bold";var r=n.font;if(!r||r==="mathnormal")return null;var a=t.mode;if(r==="mathit")return"italic";if(r==="boldsymbol")return t.type==="textord"?"bold":"bold-italic";if(r==="mathbf")return"bold";if(r==="mathbb")return"double-struck";if(r==="mathsfit")return"sans-serif-italic";if(r==="mathfrak")return"fraktur";if(r==="mathscr"||r==="mathcal")return"script";if(r==="mathsf")return"sans-serif";if(r==="mathtt")return"monospace";var s=t.text;if(["\\imath","\\jmath"].includes(s))return null;zt[a][s]&&zt[a][s].replace&&(s=zt[a][s].replace);var l=le.fontMap[r].fontName;return Sb(s,l,a)?le.fontMap[r].variant:null};function F1(e){if(!e)return!1;if(e.type==="mi"&&e.children.length===1){var t=e.children[0];return t instanceof $a&&t.text==="."}else if(e.type==="mo"&&e.children.length===1&&e.getAttribute("separator")==="true"&&e.getAttribute("lspace")==="0em"&&e.getAttribute("rspace")==="0em"){var n=e.children[0];return n instanceof $a&&n.text===","}else return!1}var _r=function(t,n,r){if(t.length===1){var a=Mt(t[0],n);return r&&a instanceof Mr&&a.type==="mo"&&(a.setAttribute("lspace","0em"),a.setAttribute("rspace","0em")),[a]}for(var s=[],l,u=0;u<t.length;u++){var d=Mt(t[u],n);if(d instanceof Mr&&l instanceof Mr){if(d.type==="mtext"&&l.type==="mtext"&&d.getAttribute("mathvariant")===l.getAttribute("mathvariant")){l.children.push(...d.children);continue}else if(d.type==="mn"&&l.type==="mn"){l.children.push(...d.children);continue}else if(F1(d)&&l.type==="mn"){l.children.push(...d.children);continue}else if(d.type==="mn"&&F1(l))d.children=[...l.children,...d.children],s.pop();else if((d.type==="msup"||d.type==="msub")&&d.children.length>=1&&(l.type==="mn"||F1(l))){var f=d.children[0];f instanceof Mr&&f.type==="mn"&&(f.children=[...l.children,...f.children],s.pop())}else if(l.type==="mi"&&l.children.length===1){var p=l.children[0];if(p instanceof $a&&p.text==="̸"&&(d.type==="mo"||d.type==="mi"||d.type==="mn")){var m=d.children[0];m instanceof $a&&m.text.length>0&&(m.text=m.text.slice(0,1)+"̸"+m.text.slice(1),s.pop())}}}s.push(d),l=d}return s},Ns=function(t,n,r){return kb(_r(t,n,r))},Mt=function(t,n){if(!t)return new Ae.MathNode("mrow");if(If[t.type]){var r=If[t.type](t,n);return r}else throw new ke("Got group of unknown type: '"+t.type+"'")};function Rx(e,t,n,r,a){var s=_r(e,n),l;s.length===1&&s[0]instanceof Mr&&["mrow","mtable"].includes(s[0].type)?l=s[0]:l=new Ae.MathNode("mrow",s);var u=new Ae.MathNode("annotation",[new Ae.TextNode(t)]);u.setAttribute("encoding","application/x-tex");var d=new Ae.MathNode("semantics",[l,u]),f=new Ae.MathNode("math",[d]);f.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML"),r&&f.setAttribute("display","block");var p=a?"katex":"katex-mathml";return le.makeSpan([p],[f])}var RT=function(t){return new Ti({style:t.displayMode?Ye.DISPLAY:Ye.TEXT,maxSize:t.maxSize,minRuleThickness:t.minRuleThickness})},DT=function(t,n){if(n.displayMode){var r=["katex-display"];n.leqno&&r.push("leqno"),n.fleqn&&r.push("fleqn"),t=le.makeSpan(r,[t])}return t},LF=function(t,n,r){var a=RT(r),s;if(r.output==="mathml")return Rx(t,n,a,r.displayMode,!0);if(r.output==="html"){var l=l2(t,a);s=le.makeSpan(["katex"],[l])}else{var u=Rx(t,n,a,r.displayMode,!1),d=l2(t,a);s=le.makeSpan(["katex"],[u,d])}return DT(s,r)},IF=function(t,n,r){var a=RT(r),s=l2(t,a),l=le.makeSpan(["katex"],[s]);return DT(l,r)},MF={widehat:"^",widecheck:"ˇ",widetilde:"~",utilde:"~",overleftarrow:"←",underleftarrow:"←",xleftarrow:"←",overrightarrow:"→",underrightarrow:"→",xrightarrow:"→",underbrace:"⏟",overbrace:"⏞",overgroup:"⏠",undergroup:"⏡",overleftrightarrow:"↔",underleftrightarrow:"↔",xleftrightarrow:"↔",Overrightarrow:"⇒",xRightarrow:"⇒",overleftharpoon:"↼",xleftharpoonup:"↼",overrightharpoon:"⇀",xrightharpoonup:"⇀",xLeftarrow:"⇐",xLeftrightarrow:"⇔",xhookleftarrow:"↩",xhookrightarrow:"↪",xmapsto:"↦",xrightharpoondown:"⇁",xleftharpoondown:"↽",xrightleftharpoons:"⇌",xleftrightharpoons:"⇋",xtwoheadleftarrow:"↞",xtwoheadrightarrow:"↠",xlongequal:"=",xtofrom:"⇄",xrightleftarrows:"⇄",xrightequilibrium:"⇌",xleftequilibrium:"⇋","\\cdrightarrow":"→","\\cdleftarrow":"←","\\cdlongequal":"="},PF=function(t){var n=new Ae.MathNode("mo",[new Ae.TextNode(MF[t.replace(/^\\/,"")])]);return n.setAttribute("stretchy","true"),n},BF={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]},zF=function(t){return t.type==="ordgroup"?t.body.length:1},UF=function(t,n){function r(){var u=4e5,d=t.label.slice(1);if(["widehat","widecheck","widetilde","utilde"].includes(d)){var f=t,p=zF(f.base),m,b,y;if(p>5)d==="widehat"||d==="widecheck"?(m=420,u=2364,y=.42,b=d+"4"):(m=312,u=2340,y=.34,b="tilde4");else{var E=[1,1,2,2,3,3][p];d==="widehat"||d==="widecheck"?(u=[0,1062,2364,2364,2364][E],m=[0,239,300,360,420][E],y=[0,.24,.3,.3,.36,.42][E],b=d+E):(u=[0,600,
vendor: 14,622 bytes, lines 402-403
4021033,2339,2340][E],m=[0,260,286,306,312][E],y=[0,.26,.286,.3,.306,.34][E],b="tilde"+E)}var T=new Cs(b),N=new Di([T],{width:"100%",height:Le(y),viewBox:"0 0 "+u+" "+m,preserveAspectRatio:"none"});return{span:le.makeSvgSpan([],[N],n),minWidth:0,height:y}}else{var k=[],O=BF[d],[I,K,V]=O,B=V/1e3,z=I.length,W,re;if(z===1){var Y=O[3];W=["hide-tail"],re=[Y]}else if(z===2)W=["halfarrow-left","halfarrow-right"],re=["xMinYMin","xMaxYMin"];else if(z===3)W=["brace-left","brace-center","brace-right"],re=["xMinYMin","xMidYMin","xMaxYMin"];else throw new Error(`Correct katexImagesData or update code here to support
403                    `+z+" children.");for(var se=0;se<z;se++){var ee=new Cs(I[se]),me=new Di([ee],{width:"400em",height:Le(B),viewBox:"0 0 "+u+" "+V,preserveAspectRatio:re[se]+" slice"}),ue=le.makeSvgSpan([W[se]],[me],n);if(z===1)return{span:ue,minWidth:K,height:B};ue.style.height=Le(B),k.push(ue)}return{span:le.makeSpan(["stretchy"],k,n),minWidth:K,height:B}}}var{span:a,minWidth:s,height:l}=r();return a.height=l,a.style.height=Le(l),s>0&&(a.style.minWidth=Le(s)),a},HF=function(t,n,r,a,s){var l,u=t.height+t.depth+r+a;if(/fbox|color|angl/.test(n)){if(l=le.makeSpan(["stretchy",n],[],s),n==="fbox"){var d=s.color&&s.getColor();d&&(l.style.borderColor=d)}}else{var f=[];/^[bx]cancel$/.test(n)&&f.push(new i2({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(n)&&f.push(new i2({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var p=new Di(f,{width:"100%",height:Le(u)});l=le.makeSvgSpan([],[p],s)}return l.height=u,l.style.height=Le(u),l},Ii={encloseSpan:HF,mathMLnode:PF,svgSpan:UF};function st(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 Nb(e){var t=Oh(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 Oh(e){return e&&(e.type==="atom"||dF.hasOwnProperty(e.type))?e:null}var Ob=(e,t)=>{var n,r,a;e&&e.type==="supsub"?(r=st(e.base,"accent"),n=r.base,e.base=n,a=uF(yt(e,t)),e.base=r):(r=st(e,"accent"),n=r.base);var s=yt(n,t.havingCrampedStyle()),l=r.isShifty&&_t.isCharacterBox(n),u=0;if(l){var d=_t.getBaseElem(n),f=yt(d,t.havingCrampedStyle());u=Sx(f).skew}var p=r.label==="\\c",m=p?s.height+s.depth:Math.min(s.height,t.fontMetrics().xHeight),b;if(r.isStretchy)b=Ii.svgSpan(r,t),b=le.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:s},{type:"elem",elem:b,wrapperClasses:["svg-align"],wrapperStyle:u>0?{width:"calc(100% - "+Le(2*u)+")",marginLeft:Le(2*u)}:void 0}]},t);else{var y,E;r.label==="\\vec"?(y=le.staticSvg("vec",t),E=le.svgData.vec[1]):(y=le.makeOrd({mode:r.mode,text:r.label},t,"textord"),y=Sx(y),y.italic=0,E=y.width,p&&(m+=y.depth)),b=le.makeSpan(["accent-body"],[y]);var T=r.label==="\\textcircled";T&&(b.classes.push("accent-full"),m=s.height);var N=u;T||(N-=E/2),b.style.left=Le(N),r.label==="\\textcircled"&&(b.style.top=".2em"),b=le.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:s},{type:"kern",size:-m},{type:"elem",elem:b}]},t)}var k=le.makeSpan(["mord","accent"],[b],t);return a?(a.children[0]=k,a.height=Math.max(k.height,a.height),a.classes[0]="mord",a):k},LT=(e,t)=>{var n=e.isStretchy?Ii.mathMLnode(e.label):new Ae.MathNode("mo",[oa(e.label,e.mode)]),r=new Ae.MathNode("mover",[Mt(e.base,t),n]);return r.setAttribute("accent","true"),r},FF=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map(e=>"\\"+e).join("|"));Pe({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=Mf(t[0]),r=!FF.test(e.funcName),a=!r||e.funcName==="\\widehat"||e.funcName==="\\widetilde"||e.funcName==="\\widecheck";return{type:"accent",mode:e.parser.mode,label:e.funcName,isStretchy:r,isShifty:a,base:n}},htmlBuilder:Ob,mathmlBuilder:LT});Pe({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 r==="math"&&(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:Ob,mathmlBuilder:LT});Pe({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:(e,t)=>{var{parser:n,funcName:r}=e,a=t[0];return{type:"accentUnder",mode:n.mode,label:r,base:a}},htmlBuilder:(e,t)=>{var n=yt(e.base,t),r=Ii.svgSpan(e,t),a=e.label==="\\utilde"?.12:0,s=le.makeVList({positionType:"top",positionData:n.height,children:[{type:"elem",elem:r,wrapperClasses:["svg-align"]},{type:"kern",size:a},{type:"elem",elem:n}]},t);return le.makeSpan(["mord","accentunder"],[s],t)},mathmlBuilder:(e,t)=>{var n=Ii.mathMLnode(e.label),r=new Ae.MathNode("munder",[Mt(e.base,t),n]);return r.setAttribute("accentunder","true"),r}});var Wd=e=>{var t=new Ae.MathNode("mpadded",e?[e]:[]);return t.setAttribute("width","+0.6em"),t.setAttribute("lspace","0.3em"),t};Pe({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:a}=e;return{type:"xArrow",mode:r.mode,label:a,body:t[0],below:n[0]}},htmlBuilder(e,t){var n=t.style,r=t.havingStyle(n.sup()),a=le.wrapFragment(yt(e.body,r,t),t),s=e.label.slice(0,2)==="\\x"?"x":"cd";a.classes.push(s+"-arrow-pad");var l;e.below&&(r=t.havingStyle(n.sub()),l=le.wrapFragment(yt(e.below,r,t),t),l.classes.push(s+"-arrow-pad"));var u=Ii.svgSpan(e,t),d=-t.fontMetrics().axisHeight+.5*u.height,f=-t.fontMetrics().axisHeight-.5*u.height-.111;(a.depth>.25||e.label==="\\xleftequilibrium")&&(f-=a.depth);var p;if(l){var m=-t.fontMetrics().axisHeight+l.height+.5*u.height+.111;p=le.makeVList({positionType:"individualShift",children:[{type:"elem",elem:a,shift:f},{type:"elem",elem:u,shift:d},{type:"elem",elem:l,shift:m}]},t)}else p=le.makeVList({positionType:"individualShift",children:[{type:"elem",elem:a,shift:f},{type:"elem",elem:u,shift:d}]},t);return p.children[0].children[0].children[1].classes.push("svg-align"),le.makeSpan(["mrel","x-arrow"],[p],t)},mathmlBuilder(e,t){var n=Ii.mathMLnode(e.label);n.setAttribute("minsize",e.label.charAt(0)==="x"?"1.75em":"3.0em");var r;if(e.body){var a=Wd(Mt(e.body,t));if(e.below){var s=Wd(Mt(e.below,t));r=new Ae.MathNode("munderover",[n,s,a])}else r=new Ae.MathNode("mover",[n,a])}else if(e.below){var l=Wd(Mt(e.below,t));r=new Ae.MathNode("munder",[n,l])}else r=Wd(),r=new Ae.MathNode("mover",[n,r]);return r}});var jF=le.makeSpan;function IT(e,t){var n=_n(e.body,t,!0);return jF([e.mclass],n,t)}function MT(e,t){var n,r=_r(e.body,t);return e.mclass==="minner"?n=new Ae.MathNode("mpadded",r):e.mclass==="mord"?e.isCharacterBox?(n=r[0],n.type="mi"):n=new Ae.MathNode("mi",r):(e.isCharacterBox?(n=r[0],n.type="mo"):n=new Ae.MathNode("mo",r),e.mclass==="mbin"?(n.attributes.lspace="0.22em",n.attributes.rspace="0.22em"):e.mclass==="mpunct"?(n.attributes.lspace="0em",n.attributes.rspace="0.17em"):e.mclass==="mopen"||e.mclass==="mclose"?(n.attributes.lspace="0em",n.attributes.rspace="0em"):e.mclass==="minner"&&(n.attributes.lspace="0.0556em",n.attributes.width="+0.1111em")),n}Pe({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],props:{numArgs:1,primitive:!0},handler(e,t){var{parser:n,funcName:r}=e,a=t[0];return{type:"mclass",mode:n.mode,mclass:"m"+r.slice(5),body:ln(a),isCharacterBox:_t.isCharacterBox(a)}},htmlBuilder:IT,mathmlBuilder:MT});var Rh=e=>{var t=e.type==="ordgroup"&&e.body.length?e.body[0]:e;return t.type==="atom"&&(t.family==="bin"||t.family==="rel")?"m"+t.family:"mord"};Pe({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler(e,t){var{parser:n}=e;return{type:"mclass",mode:n.mode,mclass:Rh(t[0]),body:ln(t[1]),isCharacterBox:_t.isCharacterBox(t[1])}}});Pe({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler(e,t){var{parser:n,funcName:r}=e,a=t[1],s=t[0],l;r!=="\\stackrel"?l=Rh(a):l="mrel";var u={type:"op",mode:a.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:r!=="\\stackrel",body:ln(a)},d={type:"supsub",mode:s.mode,base:u,sup:r==="\\underset"?null:s,sub:r==="\\underset"?s:null};return{type:"mclass",mode:n.mode,mclass:l,body:[d],isCharacterBox:_t.isCharacterBox(d)}},htmlBuilder:IT,mathmlBuilder:MT});Pe({type:"pmb",names:["\\pmb"],props:{numArgs:1,allowedInText:!0},handler(e,t){var{parser:n}=e;return{type:"pmb",mode:n.mode,mclass:Rh(t[0]),body:ln(t[0])}},htmlBuilder(e,t){var n=_n(e.body,t,!0),r=le.makeSpan([e.mclass],n,t);return r.style.textShadow="0.02em 0.01em 0.04px",r},mathmlBuilder(e,t){var n=_r(e.body,t),r=new Ae.MathNode("mstyle",n);return r.setAttribute("style","text-shadow: 0.02em 0.01em 0.04px"),r}});var qF={">":"\\\\cdrightarrow","<":"\\\\cdleftarrow","=":"\\\\cdlongequal",A:"\\uparrow",V:"\\downarrow","|":"\\Vert",".":"no arrow"},Dx=()=>({type:"styling",body:[],mode:"math",style:"display"}),Lx=e=>e.type==="textord"&&e.text==="@",$F=(e,t)=>(e.type==="mathord"||e.type==="atom")&&e.text===t;function VF(e,t,n){var r=qF[e];switch(r){case"\\\\cdrightarrow":case"\\\\cdleftarrow":return n.callFunction(r,[t[0]],[t[1]]);case"\\uparrow":case"\\downarrow":{var a=n.callFunction("\\\\cdleft",[t[0]],[]),s={type:"atom",text:r,mode:"math",family:"rel"},l=n.callFunction("\\Big",[s],[]),u=n.callFunction("\\\\cdright",[t[1]],[]),d={type:"ordgroup",mode:"math",body:[a,l,u]};return n.callFunction("\\\\cdparent",[d],[])}case"\\\\cdlongequal":return n.callFunction("\\\\cdlongequal",[],[]);case"\\Vert":{var f={type:"textord",text:"\\Vert",mode:"math"};return n.callFunction("\\Big",[f],[])}default:return{type:"textord",text:" ",mode:"math"}}}function GF(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==="\\\\")e.consume();else if(n==="\\end"){t[t.length-1].length===0&&t.pop();break}else throw new ke("Expected \\\\ or \\cr or \\end",e.nextToken)}for(var r=[],a=[r],s=0;s<t.length;s++){for(var l=t[s],u=Dx(),d=0;d<l.length;d++)if(!Lx(l[d]))u.body.push(l[d]);else{r.push(u),d+=1;var f=Nb(l[d]).text,p=new Array(2);if(p[0]={type:"ordgroup",mode:"math",body:[]},p[1]={type:"ordgroup",mode:"math",body:[]},!("=|.".indexOf(f)>-1))if("<>AV".indexOf(f)>-1)for(var m=0;m<2;m++){for(var b=!0,y=d+1;y<l.length;y++){if($F(l[y],f)){b=!1,d=y;break}if(Lx(l[y]))throw new ke("Missing a "+f+" character to complete a CD arrow.",l[y]);p[m].body.push(l[y])}if(b)throw new ke("Missing a "+f+" character to complete a CD arrow.",l[d])}else throw new ke('Expected one of "<>AV=|." after @',l[d]);var E=VF(f,p,e),T={type:"styling",body:[E],mode:"math",style:"display"};r.push(T),u=Dx()}s%2===0?r.push(u):r.shift(),r=[],a.push(r)}e.gullet.endGroup(),e.gullet.endGroup();var N=new Array(a[0].length).fill({type:"align",align:"c",pregap:.25,postgap:.25});return{type:"array",mode:"math",body:a,arraystretch:1,addJot:!0,rowGaps:[null],cols:N,colSeparationType:"CD",hLinesBeforeRow:new Array(a.length+1).fill([])}}Pe({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=le.wrapFragment(yt(e.label,n,t),t);return r.classes.push("cd-label-"+e.side),r.style.bottom=Le(.8-r.depth),r.height=0,r.depth=0,r},mathmlBuilder(e,t){var n=new Ae.MathNode("mrow",[Mt(e.label,t)]);return n=new Ae.MathNode("mpadded",[n]),n.setAttribute("width","0"),e.side==="left"&&n.setAttribute("lspace","-1width"),n.setAttribute("voffset","0.7em"),n=new Ae.MathNode("mstyle",[n]),n.setAttribute("displaystyle","false"),n.setAttribute("scriptlevel","1"),n}});Pe({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=le.wrapFragment(yt(e.fragment,t),t);return n.classes.push("cd-vert-arrow"),n},mathmlBuilder(e,t){return new Ae.MathNode("mrow",[Mt(e.fragment,t)])}});Pe({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler(e,t){for(var{parser:n}=e,r=st(t[0],"ordgroup"),a=r.body,s="",l=0;l<a.length;l++){var u=st(a[l],"textord");s+=u.text}var d=parseInt(s),f;if(isNaN(d))throw new ke("\\@char has non-numeric argument "+s);if(d<0||d>=1114111)throw new ke("\\@char with invalid code point "+s);return d<=65535?f=String.fromCharCode(d):(d-=65536,f=String.fromCharCode((d>>10)+55296,(d&1023)+56320)),{type:"textord",mode:n.mode,text:f}}});var PT=(e,t)=>{var n=_n(e.body,t.withColor(e.color),!1);return le.makeFragment(n)},BT=(e,t)=>{var n=_r(e.body,t.withColor(e.color)),r=new Ae.MathNode("mstyle",n);return r.setAttribute("mathcolor",e.color),r};Pe({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,argTypes:["color","original"]},handler(e,t){var{parser:n}=e,r=st(t[0],"color-token").color,a=t[1];return{type:"color",mode:n.mode,color:r,body:ln(a)}},htmlBuilder:PT,mathmlBuilder:BT});Pe({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,argTypes:["color"]},handler(e,t){var{parser:n,breakOnTokenText:r}=e,a=st(t[0],"color-token").color;n.gullet.macros.set("\\current@color",a);var s=n.parseExpression(!0,r);return{type:"color",mode:n.mode,color:a,body:s}},htmlBuilder:PT,mathmlBuilder:BT});Pe({type:"cr",names:["\\\\"],props:{numArgs:0,numOptionalArgs:0,allowedInText:!0},handler(e,t,n){var{parser:r}=e,a=r.gullet.future().text==="["?r.parseSizeGroup(!0):null,s=!r.settings.displayMode||!r.settings.useStrictBehavior("newLineInDisplayMode","In LaTe
403X, \\\\ or \\newline does nothing in display mode");return{type:"cr",mode:r.mode,newLine:s,size:a&&st(a,"size").value}},htmlBuilder(e,t){var n=le.makeSpan(["mspace"],[],t);return e.newLine&&(n.classes.push("newline"),e.size&&(n.style.marginTop=Le(Yt(e.size,t)))),n},mathmlBuilder(e,t){var n=new Ae.MathNode("mspace");return e.newLine&&(n.setAttribute("linebreak","newline"),e.size&&n.setAttribute("height",Le(Yt(e.size,t)))),n}});var u2={"\\global":"\\global","\\long":"\\\\globallong","\\\\globallong":"\\\\globallong","\\def":"\\gdef","\\gdef":"\\gdef","\\edef":"\\xdef","\\xdef":"\\xdef","\\let":"\\\\globallet","\\futurelet":"\\\\globalfuture"},zT=e=>{var t=e.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(t))throw new ke("Expected a control sequence",e);return t},YF=e=>{var t=e.gullet.popToken();return t.text==="="&&(t=e.gullet.popToken(),t.text===" "&&(t=e.gullet.popToken())),t},UT=(e,t,n,r)=>{var a=e.gullet.macros.get(n.text);a==null&&(n.noexpand=!0,a={tokens:[n],numArgs:0,unexpandable:!e.gullet.isExpandable(n.text)}),e.gullet.macros.set(t,a,r)};Pe({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(u2[r.text])return(n==="\\global"||n==="\\\\globallong")&&(r.text=u2[r.text]),st(t.parseFunction(),"internal");throw new ke("Invalid token after macro prefix",r)}});Pe({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(),a=r.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(a))throw new ke("Expected a control sequence",r);for(var s=0,l,u=[[]];t.gullet.future().text!=="{";)if(r=t.gullet.popToken(),r.text==="#"){if(t.gullet.future().text==="{"){l=t.gullet.future(),u[s].push("{");break}if(r=t.gullet.popToken(),!/^[1-9]$/.test(r.text))throw new ke('Invalid argument number "'+r.text+'"');if(parseInt(r.text)!==s+1)throw new ke('Argument number "'+r.text+'" out of order');s++,u.push([])}else{if(r.text==="EOF")throw new ke("Expected a macro definition");u[s].push(r.text)}var{tokens:d}=t.gullet.consumeArg();return l&&d.unshift(l),(n==="\\edef"||n==="\\xdef")&&(d=t.gullet.expandTokens(d),d.reverse()),t.gullet.macros.set(a,{tokens:d,numArgs:s,delimiters:u},n===u2[n]),{type:"internal",mode:t.mode}}});Pe({type:"internal",names:["\\let","\\\\globallet"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:n}=e,r=zT(t.gullet.popToken());t.gullet.consumeSpaces();var a=YF(t);return UT(t,r,a,n==="\\\\globallet"),{type:"internal",mode:t.mode}}});Pe({type:"internal",names:["\\futurelet","\\\\globalfuture"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:n}=e,r=zT(t.gullet.popToken()),a=t.gullet.popToken(),s=t.gullet.popToken();return UT(t,r,s,n==="\\\\globalfuture"),t.gullet.pushToken(s),t.gullet.pushToken(a),{type:"internal",mode:t.mode}}});var mc=function(t,n,r){var a=zt.math[t]&&zt.math[t].replace,s=Sb(a||t,n,r);if(!s)throw new Error("Unsupported symbol "+t+" and font size "+n+".");return s},Rb=function(t,n,r,a){var s=r.havingBaseStyle(n),l=le.makeSpan(a.concat(s.sizingClasses(r)),[t],r),u=s.sizeMultiplier/r.sizeMultiplier;return l.height*=u,l.depth*=u,l.maxFontSize=s.sizeMultiplier,l},HT=function(t,n,r){var a=n.havingBaseStyle(r),s=(1-n.sizeMultiplier/a.sizeMultiplier)*n.fontMetrics().axisHeight;t.classes.push("delimcenter"),t.style.top=Le(s),t.height-=s,t.depth+=s},QF=function(t,n,r,a,s,l){var u=le.makeSymbol(t,"Main-Regular",s,a),d=Rb(u,n,a,l);return r&&HT(d,a,n),d},XF=function(t,n,r,a){return le.makeSymbol(t,"Size"+n+"-Regular",r,a)},FT=function(t,n,r,a,s,l){var u=XF(t,n,s,a),d=Rb(le.makeSpan(["delimsizing","size"+n],[u],a),Ye.TEXT,a,l);return r&&HT(d,a,Ye.TEXT),d},j1=function(t,n,r){var a;n==="Size1-Regular"?a="delim-size1":a="delim-size4";var s=le.makeSpan(["delimsizinginner",a],[le.makeSpan([],[le.makeSymbol(t,n,r)])]);return{type:"elem",elem:s}},q1=function(t,n,r){var a=qa["Size4-Regular"][t.charCodeAt(0)]?qa["Size4-Regular"][t.charCodeAt(0)][4]:qa["Size1-Regular"][t.charCodeAt(0)][4],s=new Cs("inner",tF(t,Math.round(1e3*n))),l=new Di([s],{width:Le(a),height:Le(n),style:"width:"+Le(a),viewBox:"0 0 "+1e3*a+" "+Math.round(1e3*n),preserveAspectRatio:"xMinYMin"}),u=le.makeSvgSpan([],[l],r);return u.height=n,u.style.height=Le(n),u.style.width=Le(a),{type:"elem",elem:u}},c2=.008,Kd={type:"kern",size:-1*c2},WF=["|","\\lvert","\\rvert","\\vert"],KF=["\\|","\\lVert","\\rVert","\\Vert"],jT=function(t,n,r,a,s,l){var u,d,f,p,m="",b=0;u=f=p=t,d=null;var y="Size1-Regular";t==="\\uparrow"?f=p="⏐":t==="\\Uparrow"?f=p="‖":t==="\\downarrow"?u=f="⏐":t==="\\Downarrow"?u=f="‖":t==="\\updownarrow"?(u="\\uparrow",f="⏐",p="\\downarrow"):t==="\\Updownarrow"?(u="\\Uparrow",f="‖",p="\\Downarrow"):WF.includes(t)?(f="∣",m="vert",b=333):KF.includes(t)?(f="∥",m="doublevert",b=556):t==="["||t==="\\lbrack"?(u="⎡",f="⎢",p="⎣",y="Size4-Regular",m="lbrack",b=667):t==="]"||t==="\\rbrack"?(u="⎤",f="⎥",p="⎦",y="Size4-Regular",m="rbrack",b=667):t==="\\lfloor"||t==="⌊"?(f=u="⎢",p="⎣",y="Size4-Regular",m="lfloor",b=667):t==="\\lceil"||t==="⌈"?(u="⎡",f=p="⎢",y="Size4-Regular",m="lceil",b=667):t==="\\rfloor"||t==="⌋"?(f=u="⎥",p="⎦",y="Size4-Regular",m="rfloor",b=667):t==="\\rceil"||t==="⌉"?(u="⎤",f=p="⎥",y="Size4-Regular",m="rceil",b=667):t==="("||t==="\\lparen"?(u="⎛",f="⎜",p="⎝",y="Size4-Regular",m="lparen",b=87
vendor: 7,000 bytes, line 403
4035):t===")"||t==="\\rparen"?(u="⎞",f="⎟",p="⎠",y="Size4-Regular",m="rparen",b=875):t==="\\{"||t==="\\lbrace"?(u="⎧",d="⎨",p="⎩",f="⎪",y="Size4-Regular"):t==="\\}"||t==="\\rbrace"?(u="⎫",d="⎬",p="⎭",f="⎪",y="Size4-Regular"):t==="\\lgroup"||t==="⟮"?(u="⎧",p="⎩",f="⎪",y="Size4-Regular"):t==="\\rgroup"||t==="⟯"?(u="⎫",p="⎭",f="⎪",y="Size4-Regular"):t==="\\lmoustache"||t==="⎰"?(u="⎧",p="⎭",f="⎪",y="Size4-Regular"):(t==="\\rmoustache"||t==="⎱")&&(u="⎫",p="⎩",f="⎪",y="Size4-Regular");var E=mc(u,y,s),T=E.height+E.depth,N=mc(f,y,s),k=N.height+N.depth,O=mc(p,y,s),I=O.height+O.depth,K=0,V=1;if(d!==null){var B=mc(d,y,s);K=B.height+B.depth,V=2}var z=T+I+K,W=Math.max(0,Math.ceil((n-z)/(V*k))),re=z+W*V*k,Y=a.fontMetrics().axisHeight;r&&(Y*=a.sizeMultiplier);var se=re/2-Y,ee=[];if(m.length>0){var me=re-T-I,ue=Math.round(re*1e3),be=nF(m,Math.round(me*1e3)),$=new Cs(m,be),ae=(b/1e3).toFixed(3)+"em",te=(ue/1e3).toFixed(3)+"em",Oe=new Di([$],{width:ae,height:te,viewBox:"0 0 "+b+" "+ue}),U=le.makeSvgSpan([],[Oe],a);U.height=ue/1e3,U.style.width=ae,U.style.height=te,ee.push({type:"elem",elem:U})}else{if(ee.push(j1(p,y,s)),ee.push(Kd),d===null){var j=re-T-I+2*c2;ee.push(q1(f,j,a))}else{var ce=(re-T-I-K)/2+2*c2;ee.push(q1(f,ce,a)),ee.push(Kd),ee.push(j1(d,y,s)),ee.push(Kd),ee.push(q1(f,ce,a))}ee.push(Kd),ee.push(j1(u,y,s))}var R=a.havingBaseStyle(Ye.TEXT),he=le.makeVList({positionType:"bottom",positionData:se,children:ee},R);return Rb(le.makeSpan(["delimsizing","mult"],[he],R),Ye.TEXT,a,l)},$1=80,V1=.08,G1=function(t,n,r,a,s){var l=eF(t,a,r),u=new Cs(t,l),d=new Di([u],{width:"400em",height:Le(n),viewBox:"0 0 400000 "+r,preserveAspectRatio:"xMinYMin slice"});return le.makeSvgSpan(["hide-tail"],[d],s)},ZF=function(t,n){var r=n.havingBaseSizing(),a=GT("\\surd",t*r.sizeMultiplier,VT,r),s=r.sizeMultiplier,l=Math.max(0,n.minRuleThickness-n.fontMetrics().sqrtRuleThickness),u,d=0,f=0,p=0,m;return a.type==="small"?(p=1e3+1e3*l+$1,t<1?s=1:t<1.4&&(s=.7),d=(1+l+V1)/s,f=(1+l)/s,u=G1("sqrtMain",d,p,l,n),u.style.minWidth="0.853em",m=.833/s):a.type==="large"?(p=(1e3+$1)*Sc[a.size],f=(Sc[a.size]+l)/s,d=(Sc[a.size]+l+V1)/s,u=G1("sqrtSize"+a.size,d,p,l,n),u.style.minWidth="1.02em",m=1/s):(d=t+l+V1,f=t+l,p=Math.floor(1e3*t+l)+$1,u=G1("sqrtTall",d,p,l,n),u.style.minWidth="0.742em",m=1.056),u.height=f,u.style.height=Le(d),{span:u,advanceWidth:m,ruleWidth:(n.fontMetrics().sqrtRuleThickness+l)*s}},qT=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","⌊","⌋","\\lceil","\\rceil","⌈","⌉","\\surd"],JF=["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","⟮","⟯","\\lmoustache","\\rmoustache","⎰","⎱"],$T=["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],Sc=[0,1.2,1.8,2.4,3],ej=function(t,n,r,a,s){if(t==="<"||t==="\\lt"||t==="⟨"?t="\\langle":(t===">"||t==="\\gt"||t==="⟩")&&(t="\\rangle"),qT.includes(t)||$T.includes(t))return FT(t,n,!1,r,a,s);if(JF.includes(t))return jT(t,Sc[n],!1,r,a,s);throw new ke("Illegal delimiter: '"+t+"'")},tj=[{type:"small",style:Ye.SCRIPTSCRIPT},{type:"small",style:Ye.SCRIPT},{type:"small",style:Ye.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],nj=[{type:"small",style:Ye.SCRIPTSCRIPT},{type:"small",style:Ye.SCRIPT},{type:"small",style:Ye.TEXT},{type:"stack"}],VT=[{type:"small",style:Ye.SCRIPTSCRIPT},{type:"small",style:Ye.SCRIPT},{type:"small",style:Ye.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],rj=function(t){if(t.type==="small")return"Main-Regular";if(t.type==="large")return"Size"+t.size+"-Regular";if(t.type==="stack")return"Size4-Regular";throw new Error("Add support for delim type '"+t.type+"' here.")},GT=function(t,n,r,a){for(var s=Math.min(2,3-a.style.size),l=s;l<r.length&&r[l].type!=="stack";l++){var u=mc(t,rj(r[l]),"math"),d=u.height+u.depth;if(r[l].type==="small"){var f=a.havingBaseStyle(r[l].style);d*=f.sizeMultiplier}if(d>n)return r[l]}return r[r.length-1]},YT=function(t,n,r,a,s,l){t==="<"||t==="\\lt"||t==="⟨"?t="\\langle":(t===">"||t==="\\gt"||t==="⟩")&&(t="\\rangle");var u;$T.includes(t)?u=tj:qT.includes(t)?u=VT:u=nj;var d=GT(t,n,u,a);return d.type==="small"?QF(t,d.style,r,a,s,l):d.type==="large"?FT(t,d.size,r,a,s,l):jT(t,n,r,a,s,l)},aj=function(t,n,r,a,s,l){var u=a.fontMetrics().axisHeight*a.sizeMultiplier,d=901,f=5/a.fontMetrics().ptPerEm,p=Math.max(n-u,r+u),m=Math.max(p/500*d,2*p-f);return YT(t,m,!0,a,s,l)},Ci={sqrtImage:ZF,sizedDelim:ej,sizeToMaxHeight:Sc,customSizedDelim:YT,leftRightDelim:aj},Ix={"\\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}},ij=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","⌊","⌋","\\lceil","\\rceil","⌈","⌉","<",">","\\langle","⟨","\\rangle","⟩","\\lt","\\gt","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","⟮","⟯","\\lmoustache","\\rmoustache","⎰","⎱","/","\\backslash","|","\\vert","\\|","\\Vert","\\uparrow","\\Uparrow","\\downarrow","\\Downarrow","\\updownarrow","\\Updownarrow","."];function Dh(e,t){var n=Oh(e);if(n&&ij.includes(n.text))return n;throw n?new ke("Invalid delimiter '"+n.text+"' after '"+t.funcName+"'",e):new ke("Invalid delimiter type '"+e.type+"'",e)}Pe({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=Dh(t[0],e);return{type:"delimsizing",mode:e.parser.mode,size:Ix[e.funcName].size,mclass:Ix[e.funcName].mclass,delim:n.text}},htmlBuilder:(e,t)=>e.delim==="."?le.makeSpan([e.mclass]):Ci.sizedDelim(e.delim,e.size,t,e.mode,[e.mclass]),mathmlBuilder:e=>{var t=[];e.delim!=="."&&t.push(oa(e.delim,e.mode));var n=new Ae.MathNode("mo",t);e.mclass==="mopen"||e.mclass==="mclose"?n.setAttribute("fence","true"):n.setAttribute("fence","false"),n.setAttribute("stretchy","true");var r=Le(Ci.sizeToMaxHeight[e.size]);return n.setAttribute("minsize",r),n.setAttribute("maxsize",r),n}});function Mx(e){if(!e.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}Pe({type:"leftright-right",names:["\\right"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var n=e.parser.gullet.macros.get("\\current@color");
vendor: 10,213 bytes, line 403
403if(n&&typeof n!="string")throw new ke("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:e.parser.mode,delim:Dh(t[0],e).text,color:n}}});Pe({type:"leftright",names:["\\left"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var n=Dh(t[0],e),r=e.parser;++r.leftrightDepth;var a=r.parseExpression(!1);--r.leftrightDepth,r.expect("\\right",!1);var s=st(r.parseFunction(),"leftright-right");return{type:"leftright",mode:r.mode,body:a,left:n.text,right:s.delim,rightColor:s.color}},htmlBuilder:(e,t)=>{Mx(e);for(var n=_n(e.body,t,!0,["mopen","mclose"]),r=0,a=0,s=!1,l=0;l<n.length;l++)n[l].isMiddle?s=!0:(r=Math.max(n[l].height,r),a=Math.max(n[l].depth,a));r*=t.sizeMultiplier,a*=t.sizeMultiplier;var u;if(e.left==="."?u=$c(t,["mopen"]):u=Ci.leftRightDelim(e.left,r,a,t,e.mode,["mopen"]),n.unshift(u),s)for(var d=1;d<n.length;d++){var f=n[d],p=f.isMiddle;p&&(n[d]=Ci.leftRightDelim(p.delim,r,a,p.options,e.mode,[]))}var m;if(e.right===".")m=$c(t,["mclose"]);else{var b=e.rightColor?t.withColor(e.rightColor):t;m=Ci.leftRightDelim(e.right,r,a,b,e.mode,["mclose"])}return n.push(m),le.makeSpan(["minner"],n,t)},mathmlBuilder:(e,t)=>{Mx(e);var n=_r(e.body,t);if(e.left!=="."){var r=new Ae.MathNode("mo",[oa(e.left,e.mode)]);r.setAttribute("fence","true"),n.unshift(r)}if(e.right!=="."){var a=new Ae.MathNode("mo",[oa(e.right,e.mode)]);a.setAttribute("fence","true"),e.rightColor&&a.setAttribute("mathcolor",e.rightColor),n.push(a)}return kb(n)}});Pe({type:"middle",names:["\\middle"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var n=Dh(t[0],e);if(!e.parser.leftrightDepth)throw new ke("\\middle without preceding \\left",n);return{type:"middle",mode:e.parser.mode,delim:n.text}},htmlBuilder:(e,t)=>{var n;if(e.delim===".")n=$c(t,[]);else{n=Ci.sizedDelim(e.delim,1,t,e.mode,[]);var r={delim:e.delim,options:t};n.isMiddle=r}return n},mathmlBuilder:(e,t)=>{var n=e.delim==="\\vert"||e.delim==="|"?oa("|","text"):oa(e.delim,e.mode),r=new Ae.MathNode("mo",[n]);return r.setAttribute("fence","true"),r.setAttribute("lspace","0.05em"),r.setAttribute("rspace","0.05em"),r}});var Db=(e,t)=>{var n=le.wrapFragment(yt(e.body,t),t),r=e.label.slice(1),a=t.sizeMultiplier,s,l=0,u=_t.isCharacterBox(e.body);if(r==="sout")s=le.makeSpan(["stretchy","sout"]),s.height=t.fontMetrics().defaultRuleThickness/a,l=-.5*t.fontMetrics().xHeight;else if(r==="phase"){var d=Yt({number:.6,unit:"pt"},t),f=Yt({number:.35,unit:"ex"},t),p=t.havingBaseSizing();a=a/p.sizeMultiplier;var m=n.height+n.depth+d+f;n.style.paddingLeft=Le(m/2+d);var b=Math.floor(1e3*m*a),y=ZH(b),E=new Di([new Cs("phase",y)],{width:"400em",height:Le(b/1e3),viewBox:"0 0 400000 "+b,preserveAspectRatio:"xMinYMin slice"});s=le.makeSvgSpan(["hide-tail"],[E],t),s.style.height=Le(m),l=n.depth+d+f}else{/cancel/.test(r)?u||n.classes.push("cancel-pad"):r==="angl"?n.classes.push("anglpad"):n.classes.push("boxpad");var T=0,N=0,k=0;/box/.test(r)?(k=Math.max(t.fontMetrics().fboxrule,t.minRuleThickness),T=t.fontMetrics().fboxsep+(r==="colorbox"?0:k),N=T):r==="angl"?(k=Math.max(t.fontMetrics().defaultRuleThickness,t.minRuleThickness),T=4*k,N=Math.max(0,.25-n.depth)):(T=u?.2:0,N=T),s=Ii.encloseSpan(n,r,T,N,t),/fbox|boxed|fcolorbox/.test(r)?(s.style.borderStyle="solid",s.style.borderWidth=Le(k)):r==="angl"&&k!==.049&&(s.style.borderTopWidth=Le(k),s.style.borderRightWidth=Le(k)),l=n.depth+N,e.backgroundColor&&(s.style.backgroundColor=e.backgroundColor,e.borderColor&&(s.style.borderColor=e.borderColor))}var O;if(e.backgroundColor)O=le.makeVList({positionType:"individualShift",children:[{type:"elem",elem:s,shift:l},{type:"elem",elem:n,shift:0}]},t);else{var I=/cancel|phase/.test(r)?["svg-align"]:[];O=le.makeVList({positionType:"individualShift",children:[{type:"elem",elem:n,shift:0},{type:"elem",elem:s,shift:l,wrapperClasses:I}]},t)}return/cancel/.test(r)&&(O.height=n.height,O.depth=n.depth),/cancel/.test(r)&&!u?le.makeSpan(["mord","cancel-lap"],[O],t):le.makeSpan(["mord"],[O],t)},Lb=(e,t)=>{var n=0,r=new Ae.MathNode(e.label.indexOf("colorbox")>-1?"mpadded":"menclose",[Mt(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"),e.label==="\\fcolorbox"){var a=Math.max(t.fontMetrics().fboxrule,t.minRuleThickness);r.setAttribute("style","border: "+a+"em solid "+String(e.borderColor))}break;case"\\xcancel":r.setAttribute("notation","updiagonalstrike downdiagonalstrike");break}return e.backgroundColor&&r.setAttribute("mathbackground",e.backgroundColor),r};Pe({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,argTypes:["color","text"]},handler(e,t,n){var{parser:r,funcName:a}=e,s=st(t[0],"color-token").color,l=t[1];return{type:"enclose",mode:r.mode,label:a,backgroundColor:s,body:l}},htmlBuilder:Db,mathmlBuilder:Lb});Pe({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,argTypes:["color","color","text"]},handler(e,t,n){var{parser:r,funcName:a}=e,s=st(t[0],"color-token").color,l=st(t[1],"color-token").color,u=t[2];return{type:"enclose",mode:r.mode,label:a,backgroundColor:l,borderColor:s,body:u}},htmlBuilder:Db,mathmlBuilder:Lb});Pe({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]}}});Pe({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\sout","\\phase"],props:{numArgs:1},handler(e,t){var{parser:n,funcName:r}=e,a=t[0];return{type:"enclose",mode:n.mode,label:r,body:a}},htmlBuilder:Db,mathmlBuilder:Lb});Pe({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 QT={};function Wa(e){for(var{type:t,names:n,props:r,handler:a,htmlBuilder:s,mathmlBuilder:l}=e,u={type:t,numArgs:r.numArgs||0,allowedInText:!1,numOptionalArgs:0,handler:a},d=0;d<n.length;++d)QT[n[d]]=u;s&&(Lf[t]=s),l&&(If[t]=l)}var XT={};function L(e,t){XT[e]=t}function Px(e){var t=[];e.consumeSpaces();var n=e.fetch().text;for(n==="\\relax"&&(e.consume(),e.consumeSpaces(),n=e.fetch().text);n==="\\hline"||n==="\\hdashline";)e.consume(),t.push(n==="\\hdashline"),e.consumeSpaces(),n=e.fetch().text;return t}var Lh=e=>{var t=e.parser.settings;if(!t.displayMode)throw new ke("{"+e.envName+"} can be used only in display mode.")};function Ib(e){if(e.indexOf("ed")===-1)return e.indexOf("*")===-1}function Ls(e,t,n){var{hskipBeforeAndAfter:r,addJot:a,cols:s,arraystretch:l,colSeparationType:u,autoTag:d,singleRow:f,emptySingleRow:p,maxNumCols:m,leqno:b}=t;if(e.gullet.beginGroup(),f||e.gullet.macros.set("\\cr","\\\\\\relax"),!l){var y=e.gullet.expandMacroAsText("\\arraystretch");if(y==null)l=1;else if(l=parseFloat(y),!l||l<0)throw new ke("Invalid \\arraystretch: "+y)}e.gullet.beginGroup();var E=[],T=[E],N=[],k=[],O=d!=null?[]:void 0;function I(){d&&e.gullet.macros.set("\\@eqnsw","1",!0)}function K(){O&&(e.gullet.macros.get("\\df@tag")?(O.push(e.subparse([new zr("\\df@tag")])),e.gullet.macros.set("\\df@tag",void 0,!0)):O.push(!!d&&e.gullet.macros.get("\\@eqnsw")==="1"))}for(I(),k.push(Px(e));;){var V=e.parseExpression(!1,f?"\\end":"\\\\");e.gullet.endGroup(),e.gullet.beginGroup(),V={type:"ordgroup",mode:e.mode,body:V},n&&(V={type:"styling",mode:e.mode,style:n,body:[V]}),E.push(V);var B=e.fetch().text;if(B==="&"){if(m&&E.length===m){if(f||u)throw new ke("Too many tab characters: &",e.nextToken);e.settings.reportNonstrict("textEnv","Too few columns specified in the {array} column argument.")}e.consume()}else if(B==="\\end"){K(),E.length===1&&V.type==="styling"&&V.body[0].body.length===0&&(T.length>1||!p)&&T.pop(),k.length<T.length+1&&k.push([]);break}else if(B==="\\\\"){e.consume();var z=void 0;e.gullet.future().text!==" "&&(z=e.parseSizeGroup(!0)),N.push(z?z.value:null),K(),k.push(Px(e)),E=[],T.push(E),I()}else throw new ke("Expected & or \\\\ or \\cr or \\end",e.nextToken)}return e.gullet.endGroup(),e.gullet.endGroup(),{type:"array",mode:e.mode,addJot:a,arraystretch:l,body:T,cols:s,rowGaps:N,hskipBeforeAndAfter:r,hLinesBeforeRow:k,colSeparationType:u,tags:O,leqno:b}}function Mb(e){return e.slice(0,1)==="d"?"display":"text"}var Ka=function(t,n){var r,a,s=t.body.length,l=t.hLinesBeforeRow,u=0,d=new Array(s),f=[],p=Math.max(n.fontMetrics().arrayRuleWidth,n.minRuleThickness),m=1/n.fontMetrics().ptPerEm,b=5*m;if(t.colSeparationType&&t.colSeparationType==="small"){var y=n.havingStyle(Ye.SCRIPT).sizeMultiplier;b=.2778*(y/n.sizeMultiplier)}var E=t.colSeparationType==="CD"?Yt({number:3,unit:"ex"},n):12*m,T=3*m,N=t.arraystretch*E,k=.7*N,O=.3*N,I=0;function K(Fr){for(var tn=0;tn<Fr.length;++tn)tn>0&&(I+=.25),f.push({pos:I,isDashed:Fr[tn]})}for(K(l[0]),r=0;r<t.body.length;++r){var V=t.body[r],B=k,z=O;u<V.length&&(u=V.length);var W=new Array(V.length);for(a=0;a<V.length;++a){var re=yt(V[a],n);z<re.depth&&(z=re.depth),B<re.height&&(B=re.height),W[a]=re}var Y=t.rowGaps[r],se=0;Y&&(se=Yt(Y,n),se>0&&(se+=O,z<se&&(z=se),se=0)),t.addJot&&(z+=T),W.height=B,W.depth=z,I+=B,W.pos=I,I+=z+se,d[r]=W,K(l[r+1])}var ee=I/2+n.fontMetrics().axisHeight,me=t.cols||[],ue=[],be,$,ae=[];if(t.tags&&t.tags.some(Fr=>Fr))for(r=0;r<s;++r){var te=d[r],Oe=te.pos-ee,U=t.tags[r],j=void 0;U===!0?j=le.makeSpan(["eqn-num"],[],n):U===!1?j=le.makeSpan([],[],n):j=le.makeSpan([],_n(U,n,!0),n),j.depth=te.depth,j.height=te.height,ae.push({type:"elem",elem:j,shift:Oe})}for(a=0,$=0;a<u||$<me.length;++a,++$){for(var ce=me[$]||{},R=!0;ce.type==="separator";){if(R||(be=le.makeSpan(["arraycolsep"],[]),be.style.width=Le(n.fontMetrics().doubleRuleSep),ue.push(be)),ce.separator==="|"||ce.separator===":"){var he=ce.separator==="|"?"solid":"dashed",_e=le.makeSpan(["vertical-separator"],[],n);
vendor: 8,444 bytes, line 403
403_e.style.height=Le(I),_e.style.borderRightWidth=Le(p),_e.style.borderRightStyle=he,_e.style.margin="0 "+Le(-p/2);var Re=I-ee;Re&&(_e.style.verticalAlign=Le(-Re)),ue.push(_e)}else throw new ke("Invalid separator type: "+ce.separator);$++,ce=me[$]||{},R=!1}if(!(a>=u)){var Me=void 0;(a>0||t.hskipBeforeAndAfter)&&(Me=_t.deflt(ce.pregap,b),Me!==0&&(be=le.makeSpan(["arraycolsep"],[]),be.style.width=Le(Me),ue.push(be)));var je=[];for(r=0;r<s;++r){var Ke=d[r],At=Ke[a];if(At){var Qt=Ke.pos-ee;At.depth=Ke.depth,At.height=Ke.height,je.push({type:"elem",elem:At,shift:Qt})}}je=le.makeVList({positionType:"individualShift",children:je},n),je=le.makeSpan(["col-align-"+(ce.align||"c")],[je]),ue.push(je),(a<u-1||t.hskipBeforeAndAfter)&&(Me=_t.deflt(ce.postgap,b),Me!==0&&(be=le.makeSpan(["arraycolsep"],[]),be.style.width=Le(Me),ue.push(be)))}}if(d=le.makeSpan(["mtable"],ue),f.length>0){for(var en=le.makeLineSpan("hline",n,p),Tr=le.makeLineSpan("hdashline",n,p),Rn=[{type:"elem",elem:d,shift:0}];f.length>0;){var ua=f.pop(),Hr=ua.pos-ee;ua.isDashed?Rn.push({type:"elem",elem:Tr,shift:Hr}):Rn.push({type:"elem",elem:en,shift:Hr})}d=le.makeVList({positionType:"individualShift",children:Rn},n)}if(ae.length===0)return le.makeSpan(["mord"],[d],n);var ir=le.makeVList({positionType:"individualShift",children:ae},n);return ir=le.makeSpan(["tag"],[ir],n),le.makeFragment([d,ir])},sj={c:"center ",l:"left ",r:"right "},Za=function(t,n){for(var r=[],a=new Ae.MathNode("mtd",[],["mtr-glue"]),s=new Ae.MathNode("mtd",[],["mml-eqn-num"]),l=0;l<t.body.length;l++){for(var u=t.body[l],d=[],f=0;f<u.length;f++)d.push(new Ae.MathNode("mtd",[Mt(u[f],n)]));t.tags&&t.tags[l]&&(d.unshift(a),d.push(a),t.leqno?d.unshift(s):d.push(s)),r.push(new Ae.MathNode("mtr",d))}var p=new Ae.MathNode("mtable",r),m=t.arraystretch===.5?.1:.16+t.arraystretch-1+(t.addJot?.09:0);p.setAttribute("rowspacing",Le(m));var b="",y="";if(t.cols&&t.cols.length>0){var E=t.cols,T="",N=!1,k=0,O=E.length;E[0].type==="separator"&&(b+="top ",k=1),E[E.length-1].type==="separator"&&(b+="bottom ",O-=1);for(var I=k;I<O;I++)E[I].type==="align"?(y+=sj[E[I].align],N&&(T+="none "),N=!0):E[I].type==="separator"&&N&&(T+=E[I].separator==="|"?"solid ":"dashed ",N=!1);p.setAttribute("columnalign",y.trim()),/[sd]/.test(T)&&p.setAttribute("columnlines",T.trim())}if(t.colSeparationType==="align"){for(var K=t.cols||[],V="",B=1;B<K.length;B++)V+=B%2?"0em ":"1em ";p.setAttribute("columnspacing",V.trim())}else t.colSeparationType==="alignat"||t.colSeparationType==="gather"?p.setAttribute("columnspacing","0em"):t.colSeparationType==="small"?p.setAttribute("columnspacing","0.2778em"):t.colSeparationType==="CD"?p.setAttribute("columnspacing","0.5em"):p.setAttribute("columnspacing","1em");var z="",W=t.hLinesBeforeRow;b+=W[0].length>0?"left ":"",b+=W[W.length-1].length>0?"right ":"";for(var re=1;re<W.length-1;re++)z+=W[re].length===0?"none ":W[re][0]?"dashed ":"solid ";return/[sd]/.test(z)&&p.setAttribute("rowlines",z.trim()),b!==""&&(p=new Ae.MathNode("menclose",[p]),p.setAttribute("notation",b.trim())),t.arraystretch&&t.arraystretch<1&&(p=new Ae.MathNode("mstyle",[p]),p.setAttribute("scriptlevel","1")),p},WT=function(t,n){t.envName.indexOf("ed")===-1&&Lh(t);var r=[],a=t.envName.indexOf("at")>-1?"alignat":"align",s=t.envName==="split",l=Ls(t.parser,{cols:r,addJot:!0,autoTag:s?void 0:Ib(t.envName),emptySingleRow:!0,colSeparationType:a,maxNumCols:s?2:void 0,leqno:t.parser.settings.leqno},"display"),u,d=0,f={type:"ordgroup",mode:t.mode,body:[]};if(n[0]&&n[0].type==="ordgroup"){for(var p="",m=0;m<n[0].body.length;m++){var b=st(n[0].body[m],"textord");p+=b.text}u=Number(p),d=u*2}var y=!d;l.body.forEach(function(k){for(var O=1;O<k.length;O+=2){var I=st(k[O],"styling"),K=st(I.body[0],"ordgroup");K.body.unshift(f)}if(y)d<k.length&&(d=k.length);else{var V=k.length/2;if(u<V)throw new ke("Too many math in a row: "+("expected "+u+", but got "+V),k[0])}});for(var E=0;E<d;++E){var T="r",N=0;E%2===1?T="l":E>0&&y&&(N=1),r[E]={type:"align",align:T,pregap:N,postgap:0}}return l.colSeparationType=y?"align":"alignat",l};Wa({type:"array",names:["array","darray"],props:{numArgs:1},handler(e,t){var n=Oh(t[0]),r=n?[t[0]]:st(t[0],"ordgroup").body,a=r.map(function(l){var u=Nb(l),d=u.text;if("lcr".indexOf(d)!==-1)return{type:"align",align:d};if(d==="|")return{type:"separator",separator:"|"};if(d===":")return{type:"separator",separator:":"};throw new ke("Unknown column alignment: "+d,l)}),s={cols:a,hskipBeforeAndAfter:!0,maxNumCols:a.length};return Ls(e.parser,s,Mb(e.envName))},htmlBuilder:Ka,mathmlBuilder:Za});Wa({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 a=e.parser;if(a.consumeSpaces(),a.fetch().text==="["){if(a.consume(),a.consumeSpaces(),n=a.fetch().text,"lcr".indexOf(n)===-1)throw new ke("Expected l or c or r",a.nextToken);a.consume(),a.consumeSpaces(),a.expect("]"),a.consume(),r.cols=[{type:"align",align:n}]}}var s=Ls(e.parser,r,Mb(e.envName)),l=Math.max(0,...s.body.map(u=>u.length));return s.cols=new Array(l).fill({type:"align",align:n}),t?{type:"leftright",mode:e.mode,body:[s],left:t[0],right:t[1],rightColor:void 0}:s},htmlBuilder:Ka,mathmlBuilder:Za});Wa({type:"array",names:["smallmatrix"],props:{numArgs:0},handler(e){var t={arraystretch:.5},n=Ls(e.parser,t,"script");return n.colSeparationType="small",n},htmlBuilder:Ka,mathmlBuilder:Za});Wa({type:"array",names:["subarray"],props:{numArgs:1},handler(e,t){var n=Oh(t[0]),r=n?[t[0]]:st(t[0],"ordgroup").body,a=r.map(function(l){var u=Nb(l),d=u.text;if("lc".indexOf(d)!==-1)return{type:"align",align:d};throw new ke("Unknown column alignment: "+d,l)});if(a.length>1)throw new ke("{subarray} can contain only one column");var s={cols:a,hskipBeforeAndAfter:!1,arraystretch:.5};if(s=Ls(e.parser,s,"script"),s.body.length>0&&s.body[0].length>1)throw new ke("{subarray} can contain only one column");return s},htmlBuilder:Ka,mathmlBuilder:Za});Wa({type:"array",names:["cases","dcases","rcases","drcases"],props:{numArgs:0},handler(e){var t={arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]},n=Ls(e.parser,t,Mb(e.envName));return{type:"leftright",mode:e.mode,body:[n],left:e.envName.indexOf("r")>-1?".":"\\{",right:e.envName.indexOf("r")>-1?"\\}":".",rightColor:void 0}},htmlBuilder:Ka,mathmlBuilder:Za});Wa({type:"array",names:["align","align*","aligned","split"],props:{numArgs:0},handler:WT,htmlBuilder:Ka,mathmlBuilder:Za});Wa({type:"array",names:["gathered","gather","gather*"],props:{numArgs:0},handler(e){["gather","gather*"].includes(e.envName)&&Lh(e);var t={cols:[{type:"align",align:"c"}],addJot:!0,colSeparationType:"gather",autoTag:Ib(e.envName),emptySingleRow:!0,leqno:e.parser.settings.leqno};return Ls(e.parser,t,"display")},htmlBuilder:Ka,mathmlBuilder:Za});Wa({type:"array",names:["alignat","alignat*","alignedat"],props:{numArgs:1},handler:WT,htmlBuilder:Ka,mathmlBuilder:Za});Wa({type:"array",names:["equation","equation*"],props:{numArgs:0},handler(e){Lh(e);var t={autoTag:Ib(e.envName),emptySingleRow:!0,singleRow:!0,maxNumCols:1,leqno:e.parser.settings.leqno};return Ls(e.parser,t,"display")},htmlBuilder:Ka,mathmlBuilder:Za});Wa({type:"array",names:["CD"],props:{numArgs:0},handler(e){return Lh(e),GF(e.parser)},htmlBuilder:Ka,mathmlBuilder:Za});L("\\nonumber","\\gdef\\@eqnsw{0}");L("\\notag","\\nonumber");Pe({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler(e,t){throw new ke(e.funcName+" valid only within array environment")}});var Bx=QT;Pe({type:"environment",names:["\\begin","\\end"],props:{numArgs:1,argTypes:["text"]},handler(e,t){var{parser:n,funcName:r}=e,a=t[0];if(a.type!=="ordgroup")throw new ke("Invalid environment name",a);for(var s="",l=0;l<a.body.length;++l)s+=st(a.body[l],"textord").text;if(r==="\\begin"){if(!Bx.hasOwnProperty(s))throw new ke("No such environment: "+s,a);var u=Bx[s],{args:d,optArgs:f}=n.parseArguments("\\begin{"+s+"}",u),p={mode:n.mode,envName:s,parser:n},m=u.handler(p,d,f);n.expect("\\end",!1);var b=n.nextToken,y=st(n.parseFunction(),"environment");
vendor: 11,444 bytes, line 403
403if(y.name!==s)throw new ke("Mismatch: \\begin{"+s+"} matched by \\end{"+y.name+"}",b);return m}return{type:"environment",mode:n.mode,name:s,nameGroup:a}}});var KT=(e,t)=>{var n=e.font,r=t.withFont(n);return yt(e.body,r)},ZT=(e,t)=>{var n=e.font,r=t.withFont(n);return Mt(e.body,r)},zx={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak","\\bm":"\\boldsymbol"};Pe({type:"font",names:["\\mathrm","\\mathit","\\mathbf","\\mathnormal","\\mathsfit","\\mathbb","\\mathcal","\\mathfrak","\\mathscr","\\mathsf","\\mathtt","\\Bbb","\\bold","\\frak"],props:{numArgs:1,allowedInArgument:!0},handler:(e,t)=>{var{parser:n,funcName:r}=e,a=Mf(t[0]),s=r;return s in zx&&(s=zx[s]),{type:"font",mode:n.mode,font:s.slice(1),body:a}},htmlBuilder:KT,mathmlBuilder:ZT});Pe({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1},handler:(e,t)=>{var{parser:n}=e,r=t[0],a=_t.isCharacterBox(r);return{type:"mclass",mode:n.mode,mclass:Rh(r),body:[{type:"font",mode:n.mode,font:"boldsymbol",body:r}],isCharacterBox:a}}});Pe({type:"font",names:["\\rm","\\sf","\\tt","\\bf","\\it","\\cal"],props:{numArgs:0,allowedInText:!0},handler:(e,t)=>{var{parser:n,funcName:r,breakOnTokenText:a}=e,{mode:s}=n,l=n.parseExpression(!0,a),u="math"+r.slice(1);return{type:"font",mode:s,font:u,body:{type:"ordgroup",mode:n.mode,body:l}}},htmlBuilder:KT,mathmlBuilder:ZT});var JT=(e,t)=>{var n=t;return e==="display"?n=n.id>=Ye.SCRIPT.id?n.text():Ye.DISPLAY:e==="text"&&n.size===Ye.DISPLAY.size?n=Ye.TEXT:e==="script"?n=Ye.SCRIPT:e==="scriptscript"&&(n=Ye.SCRIPTSCRIPT),n},Pb=(e,t)=>{var n=JT(e.size,t.style),r=n.fracNum(),a=n.fracDen(),s;s=t.havingStyle(r);var l=yt(e.numer,s,t);if(e.continued){var u=8.5/t.fontMetrics().ptPerEm,d=3.5/t.fontMetrics().ptPerEm;l.height=l.height<u?u:l.height,l.depth=l.depth<d?d:l.depth}s=t.havingStyle(a);var f=yt(e.denom,s,t),p,m,b;e.hasBarLine?(e.barSize?(m=Yt(e.barSize,t),p=le.makeLineSpan("frac-line",t,m)):p=le.makeLineSpan("frac-line",t),m=p.height,b=p.height):(p=null,m=0,b=t.fontMetrics().defaultRuleThickness);var y,E,T;n.size===Ye.DISPLAY.size||e.size==="display"?(y=t.fontMetrics().num1,m>0?E=3*b:E=7*b,T=t.fontMetrics().denom1):(m>0?(y=t.fontMetrics().num2,E=b):(y=t.fontMetrics().num3,E=3*b),T=t.fontMetrics().denom2);var N;if(p){var O=t.fontMetrics().axisHeight;y-l.depth-(O+.5*m)<E&&(y+=E-(y-l.depth-(O+.5*m))),O-.5*m-(f.height-T)<E&&(T+=E-(O-.5*m-(f.height-T)));var I=-(O-.5*m);N=le.makeVList({positionType:"individualShift",children:[{type:"elem",elem:f,shift:T},{type:"elem",elem:p,shift:I},{type:"elem",elem:l,shift:-y}]},t)}else{var k=y-l.depth-(f.height-T);k<E&&(y+=.5*(E-k),T+=.5*(E-k)),N=le.makeVList({positionType:"individualShift",children:[{type:"elem",elem:f,shift:T},{type:"elem",elem:l,shift:-y}]},t)}s=t.havingStyle(n),N.height*=s.sizeMultiplier/t.sizeMultiplier,N.depth*=s.sizeMultiplier/t.sizeMultiplier;var K;n.size===Ye.DISPLAY.size?K=t.fontMetrics().delim1:n.size===Ye.SCRIPTSCRIPT.size?K=t.havingStyle(Ye.SCRIPT).fontMetrics().delim2:K=t.fontMetrics().delim2;var V,B;return e.leftDelim==null?V=$c(t,["mopen"]):V=Ci.customSizedDelim(e.leftDelim,K,!0,t.havingStyle(n),e.mode,["mopen"]),e.continued?B=le.makeSpan([]):e.rightDelim==null?B=$c(t,["mclose"]):B=Ci.customSizedDelim(e.rightDelim,K,!0,t.havingStyle(n),e.mode,["mclose"]),le.makeSpan(["mord"].concat(s.sizingClasses(t)),[V,le.makeSpan(["mfrac"],[N]),B],t)},Bb=(e,t)=>{var n=new Ae.MathNode("mfrac",[Mt(e.numer,t),Mt(e.denom,t)]);if(!e.hasBarLine)n.setAttribute("linethickness","0px");else if(e.barSize){var r=Yt(e.barSize,t);n.setAttribute("linethickness",Le(r))}var a=JT(e.size,t.style);if(a.size!==t.style.size){n=new Ae.MathNode("mstyle",[n]);var s=a.size===Ye.DISPLAY.size?"true":"false";n.setAttribute("displaystyle",s),n.setAttribute("scriptlevel","0")}if(e.leftDelim!=null||e.rightDelim!=null){var l=[];if(e.leftDelim!=null){var u=new Ae.MathNode("mo",[new Ae.TextNode(e.leftDelim.replace("\\",""))]);u.setAttribute("fence","true"),l.push(u)}if(l.push(n),e.rightDelim!=null){var d=new Ae.MathNode("mo",[new Ae.TextNode(e.rightDelim.replace("\\",""))]);d.setAttribute("fence","true"),l.push(d)}return kb(l)}return n};Pe({type:"genfrac",names:["\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac","\\\\bracefrac","\\\\brackfrac"],props:{numArgs:2,allowedInArgument:!0},handler:(e,t)=>{var{parser:n,funcName:r}=e,a=t[0],s=t[1],l,u=null,d=null,f="auto";switch(r){case"\\dfrac":case"\\frac":case"\\tfrac":l=!0;break;case"\\\\atopfrac":l=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":l=!1,u="(",d=")";break;case"\\\\bracefrac":l=!1,u="\\{",d="\\}";break;case"\\\\brackfrac":l=!1,u="[",d="]";break;default:throw new Error("Unrecognized genfrac command")}switch(r){case"\\dfrac":case"\\dbinom":f="display";break;case"\\tfrac":case"\\tbinom":f="text";break}return{type:"genfrac",mode:n.mode,continued:!1,numer:a,denom:s,hasBarLine:l,leftDelim:u,rightDelim:d,size:f,barSize:null}},htmlBuilder:Pb,mathmlBuilder:Bb});Pe({type:"genfrac",names:["\\cfrac"],props:{numArgs:2},handler:(e,t)=>{var{parser:n,funcName:r}=e,a=t[0],s=t[1];return{type:"genfrac",mode:n.mode,continued:!0,numer:a,denom:s,hasBarLine:!0,leftDelim:null,rightDelim:null,size:"display",barSize:null}}});Pe({type:"infix",names:["\\over","\\choose","\\atop","\\brace","\\brack"],props:{numArgs:0,infix:!0},handler(e){var{parser:t,funcName:n,token:r}=e,a;switch(n){case"\\over":a="\\frac";break;case"\\choose":a="\\binom";break;case"\\atop":a="\\\\atopfrac";break;case"\\brace":a="\\\\bracefrac";break;case"\\brack":a="\\\\brackfrac";break;default:throw new Error("Unrecognized infix genfrac command")}return{type:"infix",mode:t.mode,replaceWith:a,token:r}}});var Ux=["display","text","script","scriptscript"],Hx=function(t){var n=null;return t.length>0&&(n=t,n=n==="."?null:n),n};Pe({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,allowedInArgument:!0,argTypes:["math","math","size","text","math","math"]},handler(e,t){var{parser:n}=e,r=t[4],a=t[5],s=Mf(t[0]),l=s.type==="atom"&&s.family==="open"?Hx(s.text):null,u=Mf(t[1]),d=u.type==="atom"&&u.family==="close"?Hx(u.text):null,f=st(t[2],"size"),p,m=null;f.isBlank?p=!0:(m=f.value,p=m.number>0);var b="auto",y=t[3];if(y.type==="ordgroup"){if(y.body.length>0){var E=st(y.body[0],"textord");b=Ux[Number(E.text)]}}else y=st(y,"textord"),b=Ux[Number(y.text)];return{type:"genfrac",mode:n.mode,numer:r,denom:a,continued:!1,hasBarLine:p,barSize:m,leftDelim:l,rightDelim:d,size:b}},htmlBuilder:Pb,mathmlBuilder:Bb});Pe({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler(e,t){var{parser:n,funcName:r,token:a}=e;return{type:"infix",mode:n.mode,replaceWith:"\\\\abovefrac",size:st(t[0],"size").value,token:a}}});Pe({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:(e,t)=>{var{parser:n,funcName:r}=e,a=t[0],s=BH(st(t[1],"infix").size),l=t[2],u=s.number>0;return{type:"genfrac",mode:n.mode,numer:a,denom:l,continued:!1,hasBarLine:u,barSize:s,leftDelim:null,rightDelim:null,size:"auto"}},htmlBuilder:Pb,mathmlBuilder:Bb});var e9=(e,t)=>{var n=t.style,r,a;e.type==="supsub"?(r=e.sup?yt(e.sup,t.havingStyle(n.sup()),t):yt(e.sub,t.havingStyle(n.sub()),t),a=st(e.base,"horizBrace")):a=st(e,"horizBrace");var s=yt(a.base,t.havingBaseStyle(Ye.DISPLAY)),l=Ii.svgSpan(a,t),u;if(a.isOver?(u=le.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:s},{type:"kern",size:.1},{type:"elem",elem:l}]},t),u.children[0].children[0].children[1].classes.push("svg-align")):(u=le.makeVList({positionType:"bottom",positionData:s.depth+.1+l.height,children:[{type:"elem",elem:l},{type:"kern",size:.1},{type:"elem",elem:s}]},t),u.children[0].children[0].children[0].classes.push("svg-align")),r){var d=le.makeSpan(["mord",a.isOver?"mover":"munder"],[u],t);a.isOver?u=le.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:d},{type:"kern",size:.2},{type:"elem",elem:r}]},t):u=le.makeVList({positionType:"bottom",positionData:d.depth+.2+r.height+r.depth,children:[{type:"elem",elem:r},{type:"kern",size:.2},{type:"elem",elem:d}]},t)}return le.makeSpan(["mord",a.isOver?"mover":"munder"],[u],t)},oj=(e,t)=>{var n=Ii.mathMLnode(e.label);return new Ae.MathNode(e.isOver?"mover":"munder",[Mt(e.base,t),n])};Pe({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:e9,mathmlBuilder:oj});Pe({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:(e,t)=>{var{parser:n}=e,r=t[1],a=st(t[0],"url").url;return n.settings.isTrusted({command:"\\href",url:a})?{type:"href",mode:n.mode,href:a,body:ln(r)}:n.formatUnsupportedCmd("\\href")},htmlBuilder:(e,t)=>{var n=_n(e.body,t,!1);return le.makeAnchor(e.href,[],n,t)},mathmlBuilder:(e,t)=>{var n=Ns(e.body,t);return n instanceof Mr||(n=new Mr("mrow",[n])),n.setAttribute("href",e.href),n}});Pe({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:(e,t)=>{var{parser:n}=e,r=st(t[0],"url").url;if(!n.settings.isTrusted({command:"\\url",url:r}))return n.formatUnsupportedCmd("\\url");for(var a=[],s=0;s<r.length;s++){var l=r[s];l==="~"&&(l="\\textasciitilde"),a.push({type:"textord",mode:"text",text:l})}var u={type:"text",mode:n.mode,font:"\\texttt",body:a};return{type:"href",mode:n.mode,href:r,body:ln(u)}}});Pe({type:"hbox",names:["\\hbox"],props:{numArgs:1,argTypes:["text"],allowedInText:!0,primitive:!0},handler(e,t){var{parser:n}=e;return{type:"hbox",mode:n.mode,body:ln(t[0])}},htmlBuilder(e,t){var n=_n(e.body,t,!1);return le.makeFragment(n)},mathmlBuilder(e,t){return new Ae.MathNode("mrow",_r(e.body,t))}});Pe({type:"html",names:["\\htmlClass","\\htmlId","\\htmlStyle","\\htmlData"],props:{numArgs:2,argTypes:["raw","original"],allowedInText:!0},handler:(e,t)=>{var{parser:n,funcName:r,token:a}=e,s=st(t[0],"raw").string,l=t[1];n.settings.strict&&n.settings.reportNonstrict("htmlExtension","HTML extension is disabled on strict mode");var u,d={};switch(r){case"\\htmlClass":d.class=s,u={command:"\\htmlClass",class:s};break;case"\\htmlId":d.id=s,u={command:"\\htmlId",id:s};break;case"\\htmlStyle":d.style=s,u={command:"\\htmlStyle",style:s};break;case"\\htmlData":{for(var f=s.split(","),p=0;p<f.length;p++){var m=f[p].split("=");if(m.length!==2)throw new ke("Error parsing key-value for \\htmlData");d["data-"+m[0].trim()]=m[1].trim()}u={command:"\\htmlData",attributes:d};break}default:throw new Error("Unrecognized html command")}return n.settings.isTrusted(u)?{type:"html",mode:n.mode,attributes:d,body:ln(l)}:n.formatUnsupportedCmd(r)},htmlBuilder:(e,t)=>{var n=_n(e.body,t,!1),r=["enclosing"];e.attributes.class&&r.push(...e.attributes.class.trim().split(/\s+/));var a=le.makeSpan(r,n,t);for(var s in e.attributes)s!=="class"&&e.attributes.hasOwnProperty(s)&&a.setAttribute(s,e.attributes[s]);return a},mathmlBuilder:(e,t)=>Ns(e.body,t)});Pe({type:"htmlmathml",names:["\\html@mathml"],props:{numArgs:2,allowedInText:!0},handler:(e,t)=>{var{parser:n}=e;return{type:"htmlmathml",mode:n.mode,html:ln(t[0]),mathml:ln(t[1])}},htmlBuilder:(e,t)=>{var n=_n(e.html,t,!1);return le.makeFragment(n)},mathmlBuilder:(e,t)=>Ns(e.mathml,t)});var Y1=function(t){if(/^[-+]? *(\d+(\.\d*)?|\.\d+)$/.test(t))return{number:+t,unit:"bp"};var n=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(t);if(!n)throw new ke("Invalid size: '"+t+"' in \\includegraphics");
vendor: 9,075 bytes, line 403
403var r={number:+(n[1]+n[2]),unit:n[3]};if(!vT(r))throw new ke("Invalid unit: '"+r.unit+"' in \\includegraphics.");return r};Pe({type:"includegraphics",names:["\\includegraphics"],props:{numArgs:1,numOptionalArgs:1,argTypes:["raw","url"],allowedInText:!1},handler:(e,t,n)=>{var{parser:r}=e,a={number:0,unit:"em"},s={number:.9,unit:"em"},l={number:0,unit:"em"},u="";if(n[0])for(var d=st(n[0],"raw").string,f=d.split(","),p=0;p<f.length;p++){var m=f[p].split("=");if(m.length===2){var b=m[1].trim();switch(m[0].trim()){case"alt":u=b;break;case"width":a=Y1(b);break;case"height":s=Y1(b);break;case"totalheight":l=Y1(b);break;default:throw new ke("Invalid key: '"+m[0]+"' in \\includegraphics.")}}}var y=st(t[0],"url").url;return u===""&&(u=y,u=u.replace(/^.*[\\/]/,""),u=u.substring(0,u.lastIndexOf("."))),r.settings.isTrusted({command:"\\includegraphics",url:y})?{type:"includegraphics",mode:r.mode,alt:u,width:a,height:s,totalheight:l,src:y}:r.formatUnsupportedCmd("\\includegraphics")},htmlBuilder:(e,t)=>{var n=Yt(e.height,t),r=0;e.totalheight.number>0&&(r=Yt(e.totalheight,t)-n);var a=0;e.width.number>0&&(a=Yt(e.width,t));var s={height:Le(n+r)};a>0&&(s.width=Le(a)),r>0&&(s.verticalAlign=Le(-r));var l=new oF(e.src,e.alt,s);return l.height=n,l.depth=r,l},mathmlBuilder:(e,t)=>{var n=new Ae.MathNode("mglyph",[]);n.setAttribute("alt",e.alt);var r=Yt(e.height,t),a=0;if(e.totalheight.number>0&&(a=Yt(e.totalheight,t)-r,n.setAttribute("valign",Le(-a))),n.setAttribute("height",Le(r+a)),e.width.number>0){var s=Yt(e.width,t);n.setAttribute("width",Le(s))}return n.setAttribute("src",e.src),n}});Pe({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,a=st(t[0],"size");if(n.settings.strict){var s=r[1]==="m",l=a.value.unit==="mu";s?(l||n.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+r+" supports only mu units, "+("not "+a.value.unit+" units")),n.mode!=="math"&&n.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+r+" works only in math mode")):l&&n.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+r+" doesn't support mu units")}return{type:"kern",mode:n.mode,dimension:a.value}},htmlBuilder(e,t){return le.makeGlue(e.dimension,t)},mathmlBuilder(e,t){var n=Yt(e.dimension,t);return new Ae.SpaceNode(n)}});Pe({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:n,funcName:r}=e,a=t[0];return{type:"lap",mode:n.mode,alignment:r.slice(5),body:a}},htmlBuilder:(e,t)=>{var n;e.alignment==="clap"?(n=le.makeSpan([],[yt(e.body,t)]),n=le.makeSpan(["inner"],[n],t)):n=le.makeSpan(["inner"],[yt(e.body,t)]);var r=le.makeSpan(["fix"],[]),a=le.makeSpan([e.alignment],[n,r],t),s=le.makeSpan(["strut"]);return s.style.height=Le(a.height+a.depth),a.depth&&(s.style.verticalAlign=Le(-a.depth)),a.children.unshift(s),a=le.makeSpan(["thinbox"],[a],t),le.makeSpan(["mord","vbox"],[a],t)},mathmlBuilder:(e,t)=>{var n=new Ae.MathNode("mpadded",[Mt(e.body,t)]);if(e.alignment!=="rlap"){var r=e.alignment==="llap"?"-1":"-0.5";n.setAttribute("lspace",r+"width")}return n.setAttribute("width","0px"),n}});Pe({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(e,t){var{funcName:n,parser:r}=e,a=r.mode;r.switchMode("math");var s=n==="\\("?"\\)":"$",l=r.parseExpression(!1,s);return r.expect(s),r.switchMode(a),{type:"styling",mode:r.mode,style:"text",body:l}}});Pe({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(e,t){throw new ke("Mismatched "+e.funcName)}});var Fx=(e,t)=>{switch(t.style.size){case Ye.DISPLAY.size:return e.display;case Ye.TEXT.size:return e.text;case Ye.SCRIPT.size:return e.script;case Ye.SCRIPTSCRIPT.size:return e.scriptscript;default:return e.text}};Pe({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4,primitive:!0},handler:(e,t)=>{var{parser:n}=e;return{type:"mathchoice",mode:n.mode,display:ln(t[0]),text:ln(t[1]),script:ln(t[2]),scriptscript:ln(t[3])}},htmlBuilder:(e,t)=>{var n=Fx(e,t),r=_n(n,t,!1);return le.makeFragment(r)},mathmlBuilder:(e,t)=>{var n=Fx(e,t);return Ns(n,t)}});var t9=(e,t,n,r,a,s,l)=>{e=le.makeSpan([],[e]);var u=n&&_t.isCharacterBox(n),d,f;if(t){var p=yt(t,r.havingStyle(a.sup()),r);f={elem:p,kern:Math.max(r.fontMetrics().bigOpSpacing1,r.fontMetrics().bigOpSpacing3-p.depth)}}if(n){var m=yt(n,r.havingStyle(a.sub()),r);d={elem:m,kern:Math.max(r.fontMetrics().bigOpSpacing2,r.fontMetrics().bigOpSpacing4-m.height)}}var b;if(f&&d){var y=r.fontMetrics().bigOpSpacing5+d.elem.height+d.elem.depth+d.kern+e.depth+l;b=le.makeVList({positionType:"bottom",positionData:y,children:[{type:"kern",size:r.fontMetrics().bigOpSpacing5},{type:"elem",elem:d.elem,marginLeft:Le(-s)},{type:"kern",size:d.kern},{type:"elem",elem:e},{type:"kern",size:f.kern},{type:"elem",elem:f.elem,marginLeft:Le(s)},{type:"kern",size:r.fontMetrics().bigOpSpacing5}]},r)}else if(d){var E=e.height-l;b=le.makeVList({positionType:"top",positionData:E,children:[{type:"kern",size:r.fontMetrics().bigOpSpacing5},{type:"elem",elem:d.elem,marginLeft:Le(-s)},{type:"kern",size:d.kern},{type:"elem",elem:e}]},r)}else if(f){var T=e.depth+l;b=le.makeVList({positionType:"bottom",positionData:T,children:[{type:"elem",elem:e},{type:"kern",size:f.kern},{type:"elem",elem:f.elem,marginLeft:Le(s)},{type:"kern",size:r.fontMetrics().bigOpSpacing5}]},r)}else return e;var N=[b];if(d&&s!==0&&!u){var k=le.makeSpan(["mspace"],[],r);k.style.marginRight=Le(s),N.unshift(k)}return le.makeSpan(["mop","op-limits"],N,r)},n9=["\\smallint"],nu=(e,t)=>{var n,r,a=!1,s;e.type==="supsub"?(n=e.sup,r=e.sub,s=st(e.base,"op"),a=!0):s=st(e,"op");var l=t.style,u=!1;l.size===Ye.DISPLAY.size&&s.symbol&&!n9.includes(s.name)&&(u=!0);var d;if(s.symbol){var f=u?"Size2-Regular":"Size1-Regular",p="";if((s.name==="\\oiint"||s.name==="\\oiiint")&&(p=s.name.slice(1),s.name=p==="oiint"?"\\iint":"\\iiint"),d=le.makeSymbol(s.name,f,"math",t,["mop","op-symbol",u?"large-op":"small-op"]),p.length>0){var m=d.italic,b=le.staticSvg(p+"Size"+(u?"2":"1"),t);d=le.makeVList({positionType:"individualShift",children:[{type:"elem",elem:d,shift:0},{type:"elem",elem:b,shift:u?.08:0}]},t),s.name="\\"+p,d.classes.unshift("mop"),d.italic=m}}else if(s.body){var y=_n(s.body,t,!0);y.length===1&&y[0]instanceof sa?(d=y[0],d.classes[0]="mop"):d=le.makeSpan(["mop"],y,t)}else{for(var E=[],T=1;T<s.name.length;T++)E.push(le.mathsym(s.name[T],s.mode,t));d=le.makeSpan(["mop"],E,t)}var N=0,k=0;return(d instanceof sa||s.name==="\\oiint"||s.name==="\\oiiint")&&!s.suppressBaseShift&&(N=(d.height-d.depth)/2-t.fontMetrics().axisHeight,k=d.italic),a?t9(d,n,r,t,l,k,N):(N&&(d.style.position="relative",d.style.top=Le(N)),d)},f0=(e,t)=>{var n;if(e.symbol)n=new Mr("mo",[oa(e.name,e.mode)]),n9.includes(e.name)&&n.setAttribute("largeop","false");else if(e.body)n=new Mr("mo",_r(e.body,t));else{n=new Mr("mi",[new $a(e.name.slice(1))]);var r=new Mr("mo",[oa("⁡","text")]);e.parentIsSupSub?n=new Mr("mrow",[n,r]):n=OT([n,r])}return n},lj={"∏":"\\prod","∐":"\\coprod","∑":"\\sum","⋀":"\\bigwedge","⋁":"\\bigvee","⋂":"\\bigcap","⋃":"\\bigcup","⨀":"\\bigodot","⨁":"\\bigoplus","⨂":"\\bigotimes","⨄":"\\biguplus","⨆":"\\bigsqcup"};Pe({type:"op",names:["\\coprod","\\bigvee","\\bigwedge","\\biguplus","\\bigcap","\\bigcup","\\intop","\\prod","\\sum","\\bigotimes","\\bigoplus","\\bigodot","\\bigsqcup","\\smallint","∏","∐","∑","⋀","⋁","⋂","⋃","⨀","⨁","⨂","⨄","⨆"],props:{numArgs:0},handler:(e,t)=>{var{parser:n,funcName:r}=e,a=r;return a.length===1&&(a=lj[a]),{type:"op",mode:n.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:a}},htmlBuilder:nu,mathmlBuilder:f0});Pe({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:ln(r)}},htmlBuilder:nu,mathmlBuilder:f0});var uj={"∫":"\\int","∬":"\\iint","∭":"\\iiint","∮":"\\oint","∯":"\\oiint","∰":"\\oiiint"};Pe({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:nu,mathmlBuilder:f0});Pe({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:nu,mathmlBuilder:f0});Pe({type:"op",names:["\\int","\\iint","\\iiint","\\oint","\\oiint","\\oiiint","∫","∬","∭","∮","∯","∰"],props:{numArgs:0},handler(e){var{parser:t,funcName:n}=e,r=n;return r.length===1&&(r=uj[r]),{type:"op",mode:t.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:r}},htmlBuilder:nu,mathmlBuilder:f0});var r9=(e,t)=>
vendor: 12,443 bytes, line 403
403{var n,r,a=!1,s;e.type==="supsub"?(n=e.sup,r=e.sub,s=st(e.base,"operatorname"),a=!0):s=st(e,"operatorname");var l;if(s.body.length>0){for(var u=s.body.map(m=>{var b=m.text;return typeof b=="string"?{type:"textord",mode:m.mode,text:b}:m}),d=_n(u,t.withFont("mathrm"),!0),f=0;f<d.length;f++){var p=d[f];p instanceof sa&&(p.text=p.text.replace(/\u2212/,"-").replace(/\u2217/,"*"))}l=le.makeSpan(["mop"],d,t)}else l=le.makeSpan(["mop"],[],t);return a?t9(l,n,r,t,t.style,0,0):l},cj=(e,t)=>{for(var n=_r(e.body,t.withFont("mathrm")),r=!0,a=0;a<n.length;a++){var s=n[a];if(!(s instanceof Ae.SpaceNode))if(s instanceof Ae.MathNode)switch(s.type){case"mi":case"mn":case"ms":case"mspace":case"mtext":break;case"mo":{var l=s.children[0];s.children.length===1&&l instanceof Ae.TextNode?l.text=l.text.replace(/\u2212/,"-").replace(/\u2217/,"*"):r=!1;break}default:r=!1}else r=!1}if(r){var u=n.map(p=>p.toText()).join("");n=[new Ae.TextNode(u)]}var d=new Ae.MathNode("mi",n);d.setAttribute("mathvariant","normal");var f=new Ae.MathNode("mo",[oa("⁡","text")]);return e.parentIsSupSub?new Ae.MathNode("mrow",[d,f]):Ae.newDocumentFragment([d,f])};Pe({type:"operatorname",names:["\\operatorname@","\\operatornamewithlimits"],props:{numArgs:1},handler:(e,t)=>{var{parser:n,funcName:r}=e,a=t[0];return{type:"operatorname",mode:n.mode,body:ln(a),alwaysHandleSupSub:r==="\\operatornamewithlimits",limits:!1,parentIsSupSub:!1}},htmlBuilder:r9,mathmlBuilder:cj});L("\\operatorname","\\@ifstar\\operatornamewithlimits\\operatorname@");No({type:"ordgroup",htmlBuilder(e,t){return e.semisimple?le.makeFragment(_n(e.body,t,!1)):le.makeSpan(["mord"],_n(e.body,t,!0),t)},mathmlBuilder(e,t){return Ns(e.body,t,!0)}});Pe({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=yt(e.body,t.havingCrampedStyle()),r=le.makeLineSpan("overline-line",t),a=t.fontMetrics().defaultRuleThickness,s=le.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:n},{type:"kern",size:3*a},{type:"elem",elem:r},{type:"kern",size:a}]},t);return le.makeSpan(["mord","overline"],[s],t)},mathmlBuilder(e,t){var n=new Ae.MathNode("mo",[new Ae.TextNode("‾")]);n.setAttribute("stretchy","true");var r=new Ae.MathNode("mover",[Mt(e.body,t),n]);return r.setAttribute("accent","true"),r}});Pe({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:ln(r)}},htmlBuilder:(e,t)=>{var n=_n(e.body,t.withPhantom(),!1);return le.makeFragment(n)},mathmlBuilder:(e,t)=>{var n=_r(e.body,t);return new Ae.MathNode("mphantom",n)}});Pe({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=le.makeSpan([],[yt(e.body,t.withPhantom())]);if(n.height=0,n.depth=0,n.children)for(var r=0;r<n.children.length;r++)n.children[r].height=0,n.children[r].depth=0;return n=le.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:n}]},t),le.makeSpan(["mord"],[n],t)},mathmlBuilder:(e,t)=>{var n=_r(ln(e.body),t),r=new Ae.MathNode("mphantom",n),a=new Ae.MathNode("mpadded",[r]);return a.setAttribute("height","0px"),a.setAttribute("depth","0px"),a}});Pe({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=le.makeSpan(["inner"],[yt(e.body,t.withPhantom())]),r=le.makeSpan(["fix"],[]);return le.makeSpan(["mord","rlap"],[n,r],t)},mathmlBuilder:(e,t)=>{var n=_r(ln(e.body),t),r=new Ae.MathNode("mphantom",n),a=new Ae.MathNode("mpadded",[r]);return a.setAttribute("width","0px"),a}});Pe({type:"raisebox",names:["\\raisebox"],props:{numArgs:2,argTypes:["size","hbox"],allowedInText:!0},handler(e,t){var{parser:n}=e,r=st(t[0],"size").value,a=t[1];return{type:"raisebox",mode:n.mode,dy:r,body:a}},htmlBuilder(e,t){var n=yt(e.body,t),r=Yt(e.dy,t);return le.makeVList({positionType:"shift",positionData:-r,children:[{type:"elem",elem:n}]},t)},mathmlBuilder(e,t){var n=new Ae.MathNode("mpadded",[Mt(e.body,t)]),r=e.dy.number+e.dy.unit;return n.setAttribute("voffset",r),n}});Pe({type:"internal",names:["\\relax"],props:{numArgs:0,allowedInText:!0,allowedInArgument:!0},handler(e){var{parser:t}=e;return{type:"internal",mode:t.mode}}});Pe({type:"rule",names:["\\rule"],props:{numArgs:2,numOptionalArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["size","size","size"]},handler(e,t,n){var{parser:r}=e,a=n[0],s=st(t[0],"size"),l=st(t[1],"size");return{type:"rule",mode:r.mode,shift:a&&st(a,"size").value,width:s.value,height:l.value}},htmlBuilder(e,t){var n=le.makeSpan(["mord","rule"],[],t),r=Yt(e.width,t),a=Yt(e.height,t),s=e.shift?Yt(e.shift,t):0;return n.style.borderRightWidth=Le(r),n.style.borderTopWidth=Le(a),n.style.bottom=Le(s),n.width=r,n.height=a+s,n.depth=-s,n.maxFontSize=a*1.125*t.sizeMultiplier,n},mathmlBuilder(e,t){var n=Yt(e.width,t),r=Yt(e.height,t),a=e.shift?Yt(e.shift,t):0,s=t.color&&t.getColor()||"black",l=new Ae.MathNode("mspace");l.setAttribute("mathbackground",s),l.setAttribute("width",Le(n)),l.setAttribute("height",Le(r));var u=new Ae.MathNode("mpadded",[l]);return a>=0?u.setAttribute("height",Le(a)):(u.setAttribute("height",Le(a)),u.setAttribute("depth",Le(-a))),u.setAttribute("voffset",Le(a)),u}});function a9(e,t,n){for(var r=_n(e,t,!1),a=t.sizeMultiplier/n.sizeMultiplier,s=0;s<r.length;s++){var l=r[s].classes.indexOf("sizing");l<0?Array.prototype.push.apply(r[s].classes,t.sizingClasses(n)):r[s].classes[l+1]==="reset-size"+t.size&&(r[s].classes[l+1]="reset-size"+n.size),r[s].height*=a,r[s].depth*=a}return le.makeFragment(r)}var jx=["\\tiny","\\sixptsize","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"],dj=(e,t)=>{var n=t.havingSize(e.size);return a9(e.body,n,t)};Pe({type:"sizing",names:jx,props:{numArgs:0,allowedInText:!0},handler:(e,t)=>{var{breakOnTokenText:n,funcName:r,parser:a}=e,s=a.parseExpression(!1,n);return{type:"sizing",mode:a.mode,size:jx.indexOf(r)+1,body:s}},htmlBuilder:dj,mathmlBuilder:(e,t)=>{var n=t.havingSize(e.size),r=_r(e.body,n),a=new Ae.MathNode("mstyle",r);return a.setAttribute("mathsize",Le(n.sizeMultiplier)),a}});Pe({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:(e,t,n)=>{var{parser:r}=e,a=!1,s=!1,l=n[0]&&st(n[0],"ordgroup");if(l)for(var u="",d=0;d<l.body.length;++d){var f=l.body[d];if(u=f.text,u==="t")a=!0;else if(u==="b")s=!0;else{a=!1,s=!1;break}}else a=!0,s=!0;var p=t[0];return{type:"smash",mode:r.mode,body:p,smashHeight:a,smashDepth:s}},htmlBuilder:(e,t)=>{var n=le.makeSpan([],[yt(e.body,t)]);if(!e.smashHeight&&!e.smashDepth)return n;if(e.smashHeight&&(n.height=0,n.children))for(var r=0;r<n.children.length;r++)n.children[r].height=0;if(e.smashDepth&&(n.depth=0,n.children))for(var a=0;a<n.children.length;a++)n.children[a].depth=0;var s=le.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:n}]},t);return le.makeSpan(["mord"],[s],t)},mathmlBuilder:(e,t)=>{var n=new Ae.MathNode("mpadded",[Mt(e.body,t)]);return e.smashHeight&&n.setAttribute("height","0px"),e.smashDepth&&n.setAttribute("depth","0px"),n}});Pe({type:"sqrt",names:["\\sqrt"],props:{numArgs:1,numOptionalArgs:1},handler(e,t,n){var{parser:r}=e,a=n[0],s=t[0];return{type:"sqrt",mode:r.mode,body:s,index:a}},htmlBuilder(e,t){var n=yt(e.body,t.havingCrampedStyle());n.height===0&&(n.height=t.fontMetrics().xHeight),n=le.wrapFragment(n,t);var r=t.fontMetrics(),a=r.defaultRuleThickness,s=a;t.style.id<Ye.TEXT.id&&(s=t.fontMetrics().xHeight);var l=a+s/4,u=n.height+n.depth+l+a,{span:d,ruleWidth:f,advanceWidth:p}=Ci.sqrtImage(u,t),m=d.height-f;m>n.height+n.depth+l&&(l=(l+m-n.height-n.depth)/2);var b=d.height-n.height-l-f;n.style.paddingLeft=Le(p);var y=le.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:n,wrapperClasses:["svg-align"]},{type:"kern",size:-(n.height+b)},{type:"elem",elem:d},{type:"kern",size:f}]},t);if(e.index){var E=t.havingStyle(Ye.SCRIPTSCRIPT),T=yt(e.index,E,t),N=.6*(y.height-y.depth),k=le.makeVList({positionType:"shift",positionData:-N,children:[{type:"elem",elem:T}]},t),O=le.makeSpan(["root"],[k]);return le.makeSpan(["mord","sqrt"],[O,y],t)}else return le.makeSpan(["mord","sqrt"],[y],t)},mathmlBuilder(e,t){var{body:n,index:r}=e;return r?new Ae.MathNode("mroot",[Mt(n,t),Mt(r,t)]):new Ae.MathNode("msqrt",[Mt(n,t)])}});var qx={display:Ye.DISPLAY,text:Ye.TEXT,script:Ye.SCRIPT,scriptscript:Ye.SCRIPTSCRIPT};Pe({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e,t){var{breakOnTokenText:n,funcName:r,parser:a}=e,s=a.parseExpression(!0,n),l=r.slice(1,r.length-5);return{type:"styling",mode:a.mode,style:l,body:s}},htmlBuilder(e,t){var n=qx[e.style],r=t.havingStyle(n).withFont("");return a9(e.body,r,t)},mathmlBuilder(e,t){var n=qx[e.style],r=t.havingStyle(n),a=_r(e.body,r),s=new Ae.MathNode("mstyle",a),l={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]},u=l[e.style];return s.setAttribute("scriptlevel",u[0]),s.setAttribute("displaystyle",u[1]),s}});var fj=function(t,n){var r=t.base;if(r)if(r.type==="op"){var a=r.limits&&(n.style.size===Ye.DISPLAY.size||r.alwaysHandleSupSub);return a?nu:null}else if(r.type==="operatorname"){var s=r.alwaysHandleSupSub&&(n.style.size===Ye.DISPLAY.size||r.limits);return s?r9:null}else{if(r.type==="accent")return _t.isCharacterBox(r.base)?Ob:null;if(r.type==="horizBrace"){var l=!t.sub;return l===r.isOver?e9:null}else return null}else return null};No({type:"supsub",htmlBuilder(e,t){var n=fj(e,t);if(n)return n(e,t);var{base:r,sup:a,sub:s}=e,l=yt(r,t),u,d,f=t.fontMetrics(),p=0,m=0,b=r&&_t.isCharacterBox(r);if(a){var y=t.havingStyle(t.style.sup());u=yt(a,y,t),b||(p=l.height-y.fontMetrics().supDrop*y.sizeMultiplier/t.sizeMultiplier)}if(s){var E=t.havingStyle(t.style.sub());d=yt(s,E,t),b||(m=l.depth+E.fontMetrics().subDrop*E.sizeMultiplier/t.sizeMultiplier)}var T;t.style===Ye.DISPLAY?T=f.sup1:t.style.cramped?T=f.sup3:T=f.sup2;var N=t.sizeMultiplier,k=Le(.5/f.ptPerEm/N),O=null;if(d){var I=e.base&&e.base.type==="op"&&e.base.name&&(e.base.name==="\\oiint"||e.base.name==="\\oiiint");(l instanceof sa||I)&&(O=Le(-l.italic))}var K;if(u&&d){p=Math.max(p,T,u.depth+.25*f.xHeight),m=Math.max(m,f.sub2);var V=f.defaultRuleThickness,B=4*V;if(p-u.depth-(d.height-m)<B){m=B-(p-u.depth)+d.height;var z=.8*f.xHeight-(p-u.depth);z>0&&(p+=z,m-=z)}var W=[{type:"elem",elem:d,shift:m,marginRight:k,marginLeft:O},{type:"elem",elem:u,shift:-p,marginRight:k}];K=le.makeVList({positionType:"individualShift",children:W},t)}else if(d){m=Math.max(m,f.sub1,d.height-.8*f.xHeight);var re=[{type:"elem",elem:d,marginLeft:O,marginRight:k}];K=le.makeVList({positionType:"shift",positionData:m,children:re},t)}else if(u)p=Math.max(p,T,u.depth+.25*f.xHeight),K=le.makeVList({positionType:"shift",positionData:-p,children:[{type:"elem",elem:u,marginRight:k}]},t);else throw new Error("supsub must have either sup or sub.");var Y=o2(l,"right")||"mord";return le.makeSpan([Y],[l,le.makeSpan(["msupsub"],[K])],t)},mathmlBuilder(e,t){var n=!1,r,a;e.base&&e.base.type==="horizBrace"&&(a=!!e.sup,a===e.base.isOver&&(n=!0,r=e.base.isOver)),e.base&&(e.base.type==="op"||e.base.type==="operatorname")&&(e.base.parentIsSupSub=!0);var s=[Mt(e.base,t)];e.sub&&s.push(Mt(e.sub,t)),e.sup&&s.push(Mt(e.sup,t));var l;if(n)l=r?"mover":"munder";else if(e.sub)if(e.sup){var f=e.base;f&&f.type==="op"&&f.limits&&t.style===Ye.DISPLAY||f&&f.type==="operatorname"&&f.alwaysHandleSupSub&&(t.style===Ye.DISPLAY||f.limits)?l="munderover":l="msubsup"}else{var d=e.base;d&&d.type==="op"&&d.limits&&(t.style===Ye.DISPLAY||d.alwaysHandleSupSub)||d&&d.type==="operatorname"&&d.alwaysHandleSupSub&&(d.limits||t.style===Ye.DISPLAY)?l="munder":l="msub"}else{var u=e.base;u&&u.type==="op"&&u.limits&&(t.style===Ye.DISPLAY||u.alwaysHandleSupSub)||u&&u.type==="operatorname"&&u.alwaysHandleSupSub&&(u.limits||t.style===Ye.DISPLAY)?l="mover":l="msup"}return new Ae.MathNode(l,s)}});No({type:"atom",htmlBuilder(e,t){return le.mathsym(e.text,e.mode,t,["m"+e.family])},mathmlBuilder(e,t){var n=new Ae.MathNode("mo",[oa(e.text,e.mode)]);if(e.family==="bin"){var r=Cb(e,t);r==="bold-italic"&&n.setAttribute("mathvariant",r)}
vendor: 9,344 bytes, lines 403-407
403else e.family==="punct"?n.setAttribute("separator","true"):(e.family==="open"||e.family==="close")&&n.setAttribute("stretchy","false");return n}});var i9={mi:"italic",mn:"normal",mtext:"normal"};No({type:"mathord",htmlBuilder(e,t){return le.makeOrd(e,t,"mathord")},mathmlBuilder(e,t){var n=new Ae.MathNode("mi",[oa(e.text,e.mode,t)]),r=Cb(e,t)||"italic";return r!==i9[n.type]&&n.setAttribute("mathvariant",r),n}});No({type:"textord",htmlBuilder(e,t){return le.makeOrd(e,t,"textord")},mathmlBuilder(e,t){var n=oa(e.text,e.mode,t),r=Cb(e,t)||"normal",a;return e.mode==="text"?a=new Ae.MathNode("mtext",[n]):/[0-9]/.test(e.text)?a=new Ae.MathNode("mn",[n]):e.text==="\\prime"?a=new Ae.MathNode("mo",[n]):a=new Ae.MathNode("mi",[n]),r!==i9[a.type]&&a.setAttribute("mathvariant",r),a}});var Q1={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},X1={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};No({type:"spacing",htmlBuilder(e,t){if(X1.hasOwnProperty(e.text)){var n=X1[e.text].className||"";if(e.mode==="text"){var r=le.makeOrd(e,t,"textord");return r.classes.push(n),r}else return le.makeSpan(["mspace",n],[le.mathsym(e.text,e.mode,t)],t)}else{if(Q1.hasOwnProperty(e.text))return le.makeSpan(["mspace",Q1[e.text]],[],t);throw new ke('Unknown type of space "'+e.text+'"')}},mathmlBuilder(e,t){var n;if(X1.hasOwnProperty(e.text))n=new Ae.MathNode("mtext",[new Ae.TextNode(" ")]);else{if(Q1.hasOwnProperty(e.text))return new Ae.MathNode("mspace");throw new ke('Unknown type of space "'+e.text+'"')}return n}});var $x=()=>{var e=new Ae.MathNode("mtd",[]);return e.setAttribute("width","50%"),e};No({type:"tag",mathmlBuilder(e,t){var n=new Ae.MathNode("mtable",[new Ae.MathNode("mtr",[$x(),new Ae.MathNode("mtd",[Ns(e.body,t)]),$x(),new Ae.MathNode("mtd",[Ns(e.tag,t)])])]);return n.setAttribute("width","100%"),n}});var Vx={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},Gx={"\\textbf":"textbf","\\textmd":"textmd"},hj={"\\textit":"textit","\\textup":"textup"},Yx=(e,t)=>{var n=e.font;if(n){if(Vx[n])return t.withTextFontFamily(Vx[n]);if(Gx[n])return t.withTextFontWeight(Gx[n]);if(n==="\\emph")return t.fontShape==="textit"?t.withTextFontShape("textup"):t.withTextFontShape("textit")}else return t;return t.withTextFontShape(hj[n])};Pe({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textmd","\\textit","\\textup","\\emph"],props:{numArgs:1,argTypes:["text"],allowedInArgument:!0,allowedInText:!0},handler(e,t){var{parser:n,funcName:r}=e,a=t[0];return{type:"text",mode:n.mode,body:ln(a),font:r}},htmlBuilder(e,t){var n=Yx(e,t),r=_n(e.body,n,!0);return le.makeSpan(["mord","text"],r,n)},mathmlBuilder(e,t){var n=Yx(e,t);return Ns(e.body,n)}});Pe({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=yt(e.body,t),r=le.makeLineSpan("underline-line",t),a=t.fontMetrics().defaultRuleThickness,s=le.makeVList({positionType:"top",positionData:n.height,children:[{type:"kern",size:a},{type:"elem",elem:r},{type:"kern",size:3*a},{type:"elem",elem:n}]},t);return le.makeSpan(["mord","underline"],[s],t)},mathmlBuilder(e,t){var n=new Ae.MathNode("mo",[new Ae.TextNode("‾")]);n.setAttribute("stretchy","true");var r=new Ae.MathNode("munder",[Mt(e.body,t),n]);return r.setAttribute("accentunder","true"),r}});Pe({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=yt(e.body,t),r=t.fontMetrics().axisHeight,a=.5*(n.height-r-(n.depth+r));return le.makeVList({positionType:"shift",positionData:a,children:[{type:"elem",elem:n}]},t)},mathmlBuilder(e,t){return new Ae.MathNode("mpadded",[Mt(e.body,t)],["vcenter"])}});Pe({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler(e,t,n){throw new ke("\\verb ended by end of line instead of matching delimiter")},htmlBuilder(e,t){for(var n=Qx(e),r=[],a=t.havingStyle(t.style.text()),s=0;s<n.length;s++){var l=n[s];l==="~"&&(l="\\textasciitilde"),r.push(le.makeSymbol(l,"Typewriter-Regular",e.mode,a,["mord","texttt"]))}return le.makeSpan(["mord","text"].concat(a.sizingClasses(t)),le.tryCombineChars(r),a)},mathmlBuilder(e,t){var n=new Ae.TextNode(Qx(e)),r=new Ae.MathNode("mtext",[n]);return r.setAttribute("mathvariant","monospace"),r}});var Qx=e=>e.body.replace(/ /g,e.star?"␣":" "),vs=CT,s9=`[ \r
404	]`,mj="\\\\[a-zA-Z@]+",pj="\\\\[^\uD800-\uDFFF]",gj="("+mj+")"+s9+"*",bj=`\\\\(
405|[ \r	]+
406?)[ \r	]*`,d2="[̀-ͯ]",yj=new RegExp(d2+"+$"),vj="("+s9+"+)|"+(bj+"|")+"([!-\\[\\]-‧‪-퟿豈-￿]"+(d2+"*")+"|[\uD800-\uDBFF][\uDC00-\uDFFF]"+(d2+"*")+"|\\\\verb\\*([^]).*?\\4|\\\\verb([^*a-zA-Z]).*?\\5"+("|"+gj)+("|"+pj+")");class Xx{constructor(t,n){this.input=void 0,this.settings=void 0,this.tokenRegex=void 0,this.catcodes=void 0,this.input=t,this.settings=n,this.tokenRegex=new RegExp(vj,"g"),this.catcodes={"%":14,"~":13}}setCatcode(t,n){this.catcodes[t]=n}lex(){var t=this.input,n=this.tokenRegex.lastIndex;if(n===t.length)return new zr("EOF",new xr(this,n,n));var r=this.tokenRegex.exec(t);if(r===null||r.index!==n)throw new ke("Unexpected character: '"+t[n]+"'",new zr(t[n],new xr(this,n,n+1)));var a=r[6]||r[3]||(r[2]?"\\ ":" ");if(this.catcodes[a]===14){var s=t.indexOf(`
407`,this.tokenRegex.lastIndex);return s===-1?(this.tokenRegex.lastIndex=t.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=s+1,this.lex()}return new zr(a,new xr(this,n,this.tokenRegex.lastIndex))}}class xj{constructor(t,n){t===void 0&&(t={}),n===void 0&&(n={}),this.current=void 0,this.builtins=void 0,this.undefStack=void 0,this.current=n,this.builtins=t,this.undefStack=[]}beginGroup(){this.undefStack.push({})}endGroup(){if(this.undefStack.length===0)throw new ke("Unbalanced namespace destruction: attempt to pop global namespace; please report this as a bug");var t=this.undefStack.pop();for(var n in t)t.hasOwnProperty(n)&&(t[n]==null?delete this.current[n]:this.current[n]=t[n])}endGroups(){for(;this.undefStack.length>0;)this.endGroup()}has(t){return this.current.hasOwnProperty(t)||this.builtins.hasOwnProperty(t)}get(t){return this.current.hasOwnProperty(t)?this.current[t]:this.builtins[t]}set(t,n,r){if(r===void 0&&(r=!1),r){for(var a=0;a<this.undefStack.length;a++)delete this.undefStack[a][t];this.undefStack.length>0&&(this.undefStack[this.undefStack.length-1][t]=n)}else{var s=this.undefStack[this.undefStack.length-1];s&&!s.hasOwnProperty(t)&&(s[t]=this.current[t])}n==null?delete this.current[t]:this.current[t]=n}}var Ej=XT;L("\\noexpand",function(e){var t=e.popToken();return e.isExpandable(t.text)&&(t.noexpand=!0,t.treatAsRelax=!0),{tokens:[t],numArgs:0}});L("\\expandafter",function(e){var t=e.popToken();return e.expandOnce(!0),{tokens:[t],numArgs:0}});L("\\@firstoftwo",function(e){var t=e.consumeArgs(2);return{tokens:t[0],numArgs:0}});L("\\@secondoftwo",function(e){var t=e.consumeArgs(2);return{tokens:t[1],numArgs:0}});L("\\@ifnextchar",function(e){var t=e.consumeArgs(3);e.consumeSpaces();var n=e.future();return t[0].length===1&&t[0][0].text===n.text?{tokens:t[1],numArgs:0}:{tokens:t[2],numArgs:0}});L("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}");L("\\TextOrMath",function(e){var t=e.consumeArgs(2);return e.mode==="text"?{tokens:t[0],numArgs:0}:{tokens:t[1],numArgs:0}});var Wx={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};L("\\char",function(e){var t=e.popToken(),n,r="";if(t.text==="'")n=8,t=e.popToken();else if(t.text==='"')n=16,t=e.popToken();else if(t.text==="`")if(t=e.popToken(),t.text[0]==="\\")r=t.text.charCodeAt(1);else{if(t.text==="EOF")throw new ke("\\char` missing argument");r=t.text.charCodeAt(0)}else n=10;if(n){if(r=Wx[t.text],r==null||r>=n)throw new ke("Invalid base-"+n+" digit "+t.text);for(var a;(a=Wx[e.future().text])!=null&&a<n;)r*=n,r+=a,e.popToken()}return"\\@char{"+r+"}"});var zb=(e,t,n,r)=>{var a=e.consumeArg().tokens;if(a.length!==1)throw new ke("\\newcommand's first argument must be a macro name");var s=a[0].text,l=e.isDefined(s);if(l&&!t)throw new ke("\\newcommand{"+s+"} attempting to redefine "+(s+"; use \\renewcommand"));if(!l&&!n)throw new ke("\\renewcommand{"+s+"} when command "+s+" does not yet exist; use \\newcommand");var u=0;if(a=e.consumeArg().tokens,a.length===1&&a[0].text==="["){for(var d="",f=e.expandNextToken();f.text!=="]"&&f.text!=="EOF";)d+=f.text,f=e.expandNextToken();if(!d.match(/^\s*[0-9]+\s*$/))throw new ke("Invalid number of arguments: "+d);u=parseInt(d),a=e.consumeArg().tokens}return l&&r||e.macros.set(s,{tokens:a,numArgs:u}),""};L("\\newcommand",e=>zb(e,!1,!0,!1));L("\\renewcommand",e=>zb(e,!0,!1,!1));L("\\providecommand",e=>zb(e,!0,!0,!0));L("\\message",e=>{var t=e.consumeArgs(1)[0];return console.log(t.reverse().map(n=>n.text).join("")),""});L("\\errmessage",e=>{var t=e.consumeArgs(1)[0];return console.error(t.reverse().map(n=>n.text).join("")),""});L("\\show",e=>{var t=e.popToken(),n=t.text;return console.log(t,e.macros.get(n),vs[n],zt.math[n],zt.text[n]),""});L("\\bgroup","{");L("\\egroup","}");
vendor: 6,450 bytes, line 407
407L("~","\\nobreakspace");L("\\lq","`");L("\\rq","'");L("\\aa","\\r a");L("\\AA","\\r A");L("\\textcopyright","\\html@mathml{\\textcircled{c}}{\\char`©}");L("\\copyright","\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}");L("\\textregistered","\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`®}");L("ℬ","\\mathscr{B}");L("ℰ","\\mathscr{E}");L("ℱ","\\mathscr{F}");L("ℋ","\\mathscr{H}");L("ℐ","\\mathscr{I}");L("ℒ","\\mathscr{L}");L("ℳ","\\mathscr{M}");L("ℛ","\\mathscr{R}");L("ℭ","\\mathfrak{C}");L("ℌ","\\mathfrak{H}");L("ℨ","\\mathfrak{Z}");L("\\Bbbk","\\Bbb{k}");L("·","\\cdotp");L("\\llap","\\mathllap{\\textrm{#1}}");L("\\rlap","\\mathrlap{\\textrm{#1}}");L("\\clap","\\mathclap{\\textrm{#1}}");L("\\mathstrut","\\vphantom{(}");L("\\underbar","\\underline{\\text{#1}}");L("\\not",'\\html@mathml{\\mathrel{\\mathrlap\\@not}}{\\char"338}');L("\\neq","\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`≠}}");L("\\ne","\\neq");L("≠","\\neq");L("\\notin","\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`∉}}");L("∉","\\notin");L("≘","\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`≘}}");L("≙","\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`≘}}");L("≚","\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`≚}}");L("≛","\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`≛}}");L("≝","\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`≝}}");L("≞","\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`≞}}");L("≟","\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`≟}}");L("⟂","\\perp");L("‼","\\mathclose{!\\mkern-0.8mu!}");L("∌","\\notni");L("⌜","\\ulcorner");L("⌝","\\urcorner");L("⌞","\\llcorner");L("⌟","\\lrcorner");L("©","\\copyright");L("®","\\textregistered");L("️","\\textregistered");L("\\ulcorner",'\\html@mathml{\\@ulcorner}{\\mathop{\\char"231c}}');L("\\urcorner",'\\html@mathml{\\@urcorner}{\\mathop{\\char"231d}}');L("\\llcorner",'\\html@mathml{\\@llcorner}{\\mathop{\\char"231e}}');L("\\lrcorner",'\\html@mathml{\\@lrcorner}{\\mathop{\\char"231f}}');L("\\vdots","{\\varvdots\\rule{0pt}{15pt}}");L("⋮","\\vdots");L("\\varGamma","\\mathit{\\Gamma}");L("\\varDelta","\\mathit{\\Delta}");L("\\varTheta","\\mathit{\\Theta}");L("\\varLambda","\\mathit{\\Lambda}");L("\\varXi","\\mathit{\\Xi}");L("\\varPi","\\mathit{\\Pi}");L("\\varSigma","\\mathit{\\Sigma}");L("\\varUpsilon","\\mathit{\\Upsilon}");L("\\varPhi","\\mathit{\\Phi}");L("\\varPsi","\\mathit{\\Psi}");L("\\varOmega","\\mathit{\\Omega}");L("\\substack","\\begin{subarray}{c}#1\\end{subarray}");L("\\colon","\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu\\relax");L("\\boxed","\\fbox{$\\displaystyle{#1}$}");L("\\iff","\\DOTSB\\;\\Longleftrightarrow\\;");L("\\implies","\\DOTSB\\;\\Longrightarrow\\;");L("\\impliedby","\\DOTSB\\;\\Longleftarrow\\;");L("\\dddot","{\\overset{\\raisebox{-0.1ex}{\\normalsize ...}}{#1}}");L("\\ddddot","{\\overset{\\raisebox{-0.1ex}{\\normalsize ....}}{#1}}");var Kx={",":"\\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"};L("\\dots",function(e){var t="\\dotso",n=e.expandAfterFuture().text;return n in Kx?t=Kx[n]:(n.slice(0,4)==="\\not"||n in zt.math&&["bin","rel"].includes(zt.math[n].group))&&(t="\\dotsb"),t});var Ub={")":!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};L("\\dotso",function(e){var t=e.future().text;return t in Ub?"\\ldots\\,":"\\ldots"});L("\\dotsc",function(e){var t=e.future().text;return t in Ub&&t!==","?"\\ldots\\,":"\\ldots"});L("\\cdots",function(e){var t=e.future().text;return t in Ub?"\\@cdots\\,":"\\@cdots"});L("\\dotsb","\\cdots");L("\\dotsm","\\cdots");L("\\dotsi","\\!\\cdots");L("\\dotsx","\\ldots\\,");L("\\DOTSI","\\relax");L("\\DOTSB","\\relax");L("\\DOTSX","\\relax");L("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax");L("\\,","\\tmspace+{3mu}{.1667em}");L("\\thinspace","\\,");L("\\>","\\mskip{4mu}");L("\\:","\\tmspace+{4mu}{.2222em}");L("\\medspace","\\:");L("\\;","\\tmspace+{5mu}{.2777em}");L("\\thickspace","\\;");L("\\!","\\tmspace-{3mu}{.1667em}");L("\\negthinspace","\\!");L("\\negmedspace","\\tmspace-{4mu}{.2222em}");L("\\negthickspace","\\tmspace-{5mu}{.277em}");L("\\enspace","\\kern.5em ");L("\\enskip","\\hskip.5em\\relax");L("\\quad","\\hskip1em\\relax");L("\\qquad","\\hskip2em\\relax");L("\\tag","\\@ifstar\\tag@literal\\tag@paren");L("\\tag@paren","\\tag@literal{({#1})}");L("\\tag@literal",e=>{if(e.macros.get("\\df@tag"))throw new ke("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"});L("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}");L("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)");L("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}");L("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1");L("\\newline","\\\\\\relax");L("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");var o9=Le(qa["Main-Regular"][84][1]-.7*qa["Main-Regular"][65][1]);L("\\LaTeX","\\textrm{\\html@mathml{"+("L\\kern-.36em\\raisebox{"+o9+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{LaTeX}}");
407L("\\KaTeX","\\textrm{\\html@mathml{"+("K\\kern-.17em\\raisebox{"+o9+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{KaTeX}}");L("\\hspace","\\@ifstar\\@hspacer\\@hspace");L("\\@hspace","\\hskip #1\\relax");L("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax");L("\\ordinarycolon",":");L("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}");L("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}');L("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}');L("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}');L("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}');L("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}');L("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}');L("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}');L("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}');L("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}');L("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}');L("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}');L("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}');L("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}');L("∷","\\dblcolon");L("∹","\\eqcolon");L("≔","\\coloneqq");L("≕","\\eqqcolon");L("⩴","\\Coloneqq");L("\\ratio","\\vcentcolon");L("\\coloncolon","\\dblcolon");L("\\colonequals","\\coloneqq");L("\\coloncolonequals","\\Coloneqq");L("\\equalscolon","\\eqqcolon");L("\\equalscoloncolon","\\Eqqcolon");L("\\colonminus","\\coloneq");L("\\coloncolonminus","\\Coloneq");L("\\minuscolon","\\eqcolon");L("\\minuscoloncolon","\\Eqcolon");L("\\coloncolonapprox","\\Colonapprox");L("\\coloncolonsim","\\Colonsim");L("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}");L("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}");L("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}");L("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}");L("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`∌}}");L("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}");L("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}");L("\\injlim","\\DOTSB\\operatorname*{inj\\,lim}");L("\\projlim","\\DOTSB\\operatorname*{proj\\,lim}");L("\\varlimsup","\\DOTSB\\operatorname*{\\overline{lim}}");L("\\varliminf","\\DOTSB\\operatorname*{\\underline{lim}}");L("\\varinjlim","\\DOTSB\\operatorname*{\\underrightarrow{lim}}");L("\\varprojlim","\\DOTSB\\operatorname*{\\underleftarrow{lim}}");L("\\gvertneqq","\\html@mathml{\\@gvertneqq}{≩}");L("\\lvertneqq","\\html@mathml{\\@lvertneqq}{≨}");L("\\ngeqq","\\html@mathml{\\@ngeqq}{≱}");L("\\ngeqslant","\\html@mathml{\\@ngeqslant}{≱}");L("\\nleqq","\\html@mathml{\\@nleqq}{≰}");L("\\nleqslant","\\html@mathml{\\@nleqslant}{≰}");L("\\nshortmid","\\html@mathml{\\@nshortmid}{∤}");L("\\nshortparallel","\\html@mathml{\\@nshortparallel}{∦}");L("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{⊈}");L("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{⊉}");L("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{⊊}");L("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{⫋}");L("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{⊋}");L("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{⫌}");L("\\imath","\\html@mathml{\\@imath}{ı}");L("\\jmath","\\html@mathml{\\@jmath}{ȷ}");L("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`⟦}}");L("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`⟧}}");L("⟦","\\llbracket");L("⟧","\\rrbracket");L("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}
407{\\mathopen{\\char`⦃}}");L("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`⦄}}");L("⦃","\\lBrace");L("⦄","\\rBrace");L("\\minuso","\\mathbin{\\html@mathml{{\\mathrlap{\\mathchoice{\\kern{0.145em}}{\\kern{0.145em}}{\\kern{0.1015em}}{\\kern{0.0725em}}\\circ}{-}}}{\\char`⦵}}");L("⦵","\\minuso");L("\\darr","\\downarrow");L("\\dArr","\\Downarrow");L("\\Darr","\\Downarrow");L("\\lang","\\langle");L("\\rang","\\rangle");L("\\uarr","\\uparrow");L("\\uArr","\\Uparrow");L("\\Uarr","\\Uparrow");L("\\N","\\mathbb{N}");L("\\R","\\mathbb{R}");L("\\Z","\\mathbb{Z}");L("\\alef","\\aleph");L("\\alefsym","\\aleph");L("\\Alpha","\\mathrm{A}");L("\\Beta","\\mathrm{B}");L("\\bull","\\bullet");L("\\Chi","\\mathrm{X}");L("\\clubs","\\clubsuit");L("\\cnums","\\mathbb{C}");L("\\Complex","\\mathbb{C}");L("\\Dagger","\\ddagger");L("\\diamonds","\\diamondsuit");L("\\empty","\\emptyset");L("\\Epsilon","\\mathrm{E}");L("\\Eta","\\mathrm{H}");L("\\exist","\\exists");L("\\harr","\\leftrightarrow");L("\\hArr","\\Leftrightarrow");L("\\Harr","\\Leftrightarrow");L("\\hearts","\\heartsuit");L("\\image","\\Im");L("\\infin","\\infty");L("\\Iota","\\mathrm{I}");L("\\isin","\\in");L("\\Kappa","\\mathrm{K}");L("\\larr","\\leftarrow");L("\\lArr","\\Leftarrow");L("\\Larr","\\Leftarrow");L("\\lrarr","\\leftrightarrow");L("\\lrArr","\\Leftrightarrow");L("\\Lrarr","\\Leftrightarrow");L("\\Mu","\\mathrm{M}");L("\\natnums","\\mathbb{N}");L("\\Nu","\\mathrm{N}");L("\\Omicron","\\mathrm{O}");L("\\plusmn","\\pm");L("\\rarr","\\rightarrow");L("\\rArr","\\Rightarrow");L("\\Rarr","\\Rightarrow");L("\\real","\\Re");L("\\reals","\\mathbb{R}");L("\\Reals","\\mathbb{R}");L("\\Rho","\\mathrm{P}");L("\\sdot","\\cdot");L("\\sect","\\S");L("\\spades","\\spadesuit");L("\\sub","\\subset");L("\\sube","\\subseteq");L("\\supe","\\supseteq");L("\\Tau","\\mathrm{T}");L("\\thetasym","\\vartheta");L("\\weierp","\\wp");L("\\Zeta","\\mathrm{Z}");L("\\argmin","\\DOTSB\\operatorname*{arg\\,min}");L("\\argmax","\\DOTSB\\operatorname*{arg\\,max}");L("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits");L("\\bra","\\mathinner{\\langle{#1}|}");L("\\ket","\\mathinner{|{#1}\\rangle}");L("\\braket","\\mathinner{\\langle{#1}\\rangle}");L("\\Bra","\\left\\langle#1\\right|");L("\\Ket","\\left|#1\\right\\rangle");var l9=e=>t=>{var n=t.consumeArg().tokens,r=t.consumeArg().tokens,a=t.consumeArg().tokens,s=t.consumeArg().tokens,l=t.macros.get("|"),u=t.macros.get("\\|");t.macros.beginGroup();var d=m=>b=>{e&&(b.macros.set("|",l),a.length&&b.macros.set("\\|",u));var y=m;if(!m&&a.length){var E=b.future();E.text==="|"&&(b.popToken(),y=!0)}return{tokens:y?a:r,numArgs:0}};t.macros.set("|",d(!1)),a.length&&t.macros.set("\\|",d(!0));var f=t.consumeArg().tokens,p=t.expandTokens([...s,...f,...n]);return t.macros.endGroup(),{tokens:p.reverse(),numArgs:0}};L("\\bra@ket",l9(!1));L("\\bra@set",l9(!0));L("\\Braket","\\bra@ket{\\left\\langle}{\\,\\middle\\vert\\,}{\\,\\middle\\vert\\,}{\\right\\rangle}");L("\\Set","\\bra@set{\\left\\{\\:}{\\;\\middle\\vert\\;}{\\;\\middle\\Vert\\;}{\\:\\right\\}}");L("\\set","\\bra@set{\\{\\,}{\\mid}{}{\\,\\}}");L("\\angln","{\\angl n}");L("\\blue","\\textcolor{##6495ed}{#1}");L("\\orange","\\textcolor{##ffa500}{#1}");L("\\pink","\\textcolor{##ff00af}{#1}");L("\\red","\\textcolor{##df0030}{#1}");L("\\green","\\textcolor{##28ae7b}{#1}");L("\\gray","\\textcolor{gray}{#1}");L("\\purple","\\textcolor{##9d38bd}{#1}");L("\\blueA","\\textcolor{##ccfaff}{#1}");L("\\blueB","\\textcolor{##80f6ff}{#1}");L("\\blueC","\\textcolor{##63d9ea}{#1}");L("\\blueD","\\textcolor{##11accd}{#1}");L("\\blueE","\\textcolor{##0c7f99}{#1}");L("\\tealA","\\textcolor{##94fff5}{#1}");L("\\tealB","\\textcolor{##26edd5}{#1}");L("\\tealC","\\textcolor{##01d1c1}{#1}");L("\\tealD","\\textcolor{##01a995}{#1}");L("\\tealE","\\textcolor{##208170}{#1}");L("\\greenA","\\textcolor{##b6ffb0}{#1}");L("\\greenB","\\textcolor{##8af281}{#1}");L("\\greenC","\\textcolor{##74cf70}{#1}");L("\\greenD","\\textcolor{##1fab54}{#1}");L("\\greenE","\\textcolor{##0d923f}{#1}");L("\\goldA","\\textcolor{##ffd0a9}{#1}");L("\\goldB","\\textcolor{##ffbb71}{#1}");L("\\goldC","\\textcolor{##ff9c39}{#1}");L("\\goldD","\\textcolor{##e07d10}{#1}");L("\\goldE","\\textcolor{##a75a05}{#1}");L("\\redA","\\textcolor{##fca9a9}{#1}");L("\\redB","\\textcolor{##ff8482}{#1}");L("\\redC","\\textcolor{##f9685d}{#1}");L("\\redD","\\textcolor{##e84d39}{#1}");
vendor: 4,555 bytes, line 407
407L("\\redE","\\textcolor{##bc2612}{#1}");L("\\maroonA","\\textcolor{##ffbde0}{#1}");L("\\maroonB","\\textcolor{##ff92c6}{#1}");L("\\maroonC","\\textcolor{##ed5fa6}{#1}");L("\\maroonD","\\textcolor{##ca337c}{#1}");L("\\maroonE","\\textcolor{##9e034e}{#1}");L("\\purpleA","\\textcolor{##ddd7ff}{#1}");L("\\purpleB","\\textcolor{##c6b9fc}{#1}");L("\\purpleC","\\textcolor{##aa87ff}{#1}");L("\\purpleD","\\textcolor{##7854ab}{#1}");L("\\purpleE","\\textcolor{##543b78}{#1}");L("\\mintA","\\textcolor{##f5f9e8}{#1}");L("\\mintB","\\textcolor{##edf2df}{#1}");L("\\mintC","\\textcolor{##e0e5cc}{#1}");L("\\grayA","\\textcolor{##f6f7f7}{#1}");L("\\grayB","\\textcolor{##f0f1f2}{#1}");L("\\grayC","\\textcolor{##e3e5e6}{#1}");L("\\grayD","\\textcolor{##d6d8da}{#1}");L("\\grayE","\\textcolor{##babec2}{#1}");L("\\grayF","\\textcolor{##888d93}{#1}");L("\\grayG","\\textcolor{##626569}{#1}");L("\\grayH","\\textcolor{##3b3e40}{#1}");L("\\grayI","\\textcolor{##21242c}{#1}");L("\\kaBlue","\\textcolor{##314453}{#1}");L("\\kaGreen","\\textcolor{##71B307}{#1}");var u9={"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0};class _j{constructor(t,n,r){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=n,this.expansionCount=0,this.feed(t),this.macros=new xj(Ej,n.macros),this.mode=r,this.stack=[]}feed(t){this.lexer=new Xx(t,this.settings)}switchMode(t){this.mode=t}beginGroup(){this.macros.beginGroup()}endGroup(){this.macros.endGroup()}endGroups(){this.macros.endGroups()}future(){return this.stack.length===0&&this.pushToken(this.lexer.lex()),this.stack[this.stack.length-1]}popToken(){return this.future(),this.stack.pop()}pushToken(t){this.stack.push(t)}pushTokens(t){this.stack.push(...t)}scanArgument(t){var n,r,a;if(t){if(this.consumeSpaces(),this.future().text!=="[")return null;n=this.popToken(),{tokens:a,end:r}=this.consumeArg(["]"])}else({tokens:a,start:n,end:r}=this.consumeArg());return this.pushToken(new zr("EOF",r.loc)),this.pushTokens(a),new zr("",xr.range(n,r))}consumeSpaces(){for(;;){var t=this.future();if(t.text===" ")this.stack.pop();else break}}consumeArg(t){var n=[],r=t&&t.length>0;r||this.consumeSpaces();var a=this.future(),s,l=0,u=0;do{if(s=this.popToken(),n.push(s),s.text==="{")++l;else if(s.text==="}"){if(--l,l===-1)throw new ke("Extra }",s)}else if(s.text==="EOF")throw new ke("Unexpected end of input in a macro argument, expected '"+(t&&r?t[u]:"}")+"'",s);if(t&&r)if((l===0||l===1&&t[u]==="{")&&s.text===t[u]){if(++u,u===t.length){n.splice(-u,u);break}}else u=0}while(l!==0||r);return a.text==="{"&&n[n.length-1].text==="}"&&(n.pop(),n.shift()),n.reverse(),{tokens:n,start:a,end:s}}consumeArgs(t,n){if(n){if(n.length!==t+1)throw new ke("The length of delimiters doesn't match the number of args!");for(var r=n[0],a=0;a<r.length;a++){var s=this.popToken();if(r[a]!==s.text)throw new ke("Use of the macro doesn't match its definition",s)}}for(var l=[],u=0;u<t;u++)l.push(this.consumeArg(n&&n[u+1]).tokens);return l}countExpansion(t){if(this.expansionCount+=t,this.expansionCount>this.settings.maxExpand)throw new ke("Too many expansions: infinite loop or need to increase maxExpand setting")}expandOnce(t){var n=this.popToken(),r=n.text,a=n.noexpand?null:this._getExpansion(r);if(a==null||t&&a.unexpandable){if(t&&a==null&&r[0]==="\\"&&!this.isDefined(r))throw new ke("Undefined control sequence: "+r);return this.pushToken(n),!1}this.countExpansion(1);var s=a.tokens,l=this.consumeArgs(a.numArgs,a.delimiters);if(a.numArgs){s=s.slice();for(var u=s.length-1;u>=0;--u){var d=s[u];if(d.text==="#"){if(u===0)throw new ke("Incomplete placeholder at end of macro body",d);if(d=s[--u],d.text==="#")s.splice(u+1,1);else if(/^[1-9]$/.test(d.text))s.splice(u,2,...l[+d.text-1]);else throw new ke("Not a valid argument number",d)}}}return this.pushTokens(s),s.length}expandAfterFuture(){return this.expandOnce(),this.future()}expandNextToken(){for(;;)if(this.expandOnce()===!1){var t=this.stack.pop();return t.treatAsRelax&&(t.text="\\relax"),t}throw new Error}expandMacro(t){return this.macros.has(t)?this.expandTokens([new zr(t)]):void 0}expandTokens(t){var n=[],r=this.stack.length;for(this.pushTokens(t);this.stack.length>r;)if(this.expandOnce(!0)===!1){var a=this.stack.pop();a.treatAsRelax&&(a.noexpand=!1,a.treatAsRelax=!1),n.push(a)}return this.countExpansion(n.length),n}expandMacroAsText(t){var n=this.expandMacro(t);return n&&n.map(r=>r.text).join("")}_getExpansion(t){var n=this.macros.get(t);if(n==null)return n;if(t.length===1){var r=this.lexer.catcodes[t];
vendor: 5,115 bytes, line 407
407if(r!=null&&r!==13)return}var a=typeof n=="function"?n(this):n;if(typeof a=="string"){var s=0;if(a.indexOf("#")!==-1)for(var l=a.replace(/##/g,"");l.indexOf("#"+(s+1))!==-1;)++s;for(var u=new Xx(a,this.settings),d=[],f=u.lex();f.text!=="EOF";)d.push(f),f=u.lex();d.reverse();var p={tokens:d,numArgs:s};return p}return a}isDefined(t){return this.macros.has(t)||vs.hasOwnProperty(t)||zt.math.hasOwnProperty(t)||zt.text.hasOwnProperty(t)||u9.hasOwnProperty(t)}isExpandable(t){var n=this.macros.get(t);return n!=null?typeof n=="string"||typeof n=="function"||!n.unexpandable:vs.hasOwnProperty(t)&&!vs[t].primitive}}var Zx=/^[₊₋₌₍₎₀₁₂₃₄₅₆₇₈₉ₐₑₕᵢⱼₖₗₘₙₒₚᵣₛₜᵤᵥₓᵦᵧᵨᵩᵪ]/,Zd=Object.freeze({"₊":"+","₋":"-","₌":"=","₍":"(","₎":")","₀":"0","₁":"1","₂":"2","₃":"3","₄":"4","₅":"5","₆":"6","₇":"7","₈":"8","₉":"9","ₐ":"a","ₑ":"e","ₕ":"h","ᵢ":"i","ⱼ":"j","ₖ":"k","ₗ":"l","ₘ":"m","ₙ":"n","ₒ":"o","ₚ":"p","ᵣ":"r","ₛ":"s","ₜ":"t","ᵤ":"u","ᵥ":"v","ₓ":"x","ᵦ":"β","ᵧ":"γ","ᵨ":"ρ","ᵩ":"ϕ","ᵪ":"χ","⁺":"+","⁻":"-","⁼":"=","⁽":"(","⁾":")","⁰":"0","¹":"1","²":"2","³":"3","⁴":"4","⁵":"5","⁶":"6","⁷":"7","⁸":"8","⁹":"9","ᴬ":"A","ᴮ":"B","ᴰ":"D","ᴱ":"E","ᴳ":"G","ᴴ":"H","ᴵ":"I","ᴶ":"J","ᴷ":"K","ᴸ":"L","ᴹ":"M","ᴺ":"N","ᴼ":"O","ᴾ":"P","ᴿ":"R","ᵀ":"T","ᵁ":"U","ⱽ":"V","ᵂ":"W","ᵃ":"a","ᵇ":"b","ᶜ":"c","ᵈ":"d","ᵉ":"e","ᶠ":"f","ᵍ":"g",ʰ:"h","ⁱ":"i",ʲ:"j","ᵏ":"k",ˡ:"l","ᵐ":"m",ⁿ:"n","ᵒ":"o","ᵖ":"p",ʳ:"r",ˢ:"s","ᵗ":"t","ᵘ":"u","ᵛ":"v",ʷ:"w",ˣ:"x",ʸ:"y","ᶻ":"z","ᵝ":"β","ᵞ":"γ","ᵟ":"δ","ᵠ":"ϕ","ᵡ":"χ","ᶿ":"θ"}),W1={"́":{text:"\\'",math:"\\acute"},"̀":{text:"\\`",math:"\\grave"},"̈":{text:'\\"',math:"\\ddot"},"̃":{text:"\\~",math:"\\tilde"},"̄":{text:"\\=",math:"\\bar"},"̆":{text:"\\u",math:"\\breve"},"̌":{text:"\\v",math:"\\check"},"̂":{text:"\\^",math:"\\hat"},"̇":{text:"\\.",math:"\\dot"},"̊":{text:"\\r",math:"\\mathring"},"̋":{text:"\\H"},"̧":{text:"\\c"}},Jx={á:"á",à:"à",ä:"ä",ǟ:"ǟ",ã:"ã",ā:"ā",ă:"ă",ắ:"ắ",ằ:"ằ",ẵ:"ẵ",ǎ:"ǎ",â:"â",ấ:"ấ",ầ:"ầ",ẫ:"ẫ",ȧ:"ȧ",ǡ:"ǡ",å:"å",ǻ:"ǻ",ḃ:"ḃ",ć:"ć",ḉ:"ḉ",č:"č",ĉ:"ĉ",ċ:"ċ",ç:"ç",ď:"ď",ḋ:"ḋ",ḑ:"ḑ",é:"é",è:"è",ë:"ë",ẽ:"ẽ",ē:"ē",ḗ:"ḗ",ḕ:"ḕ",ĕ:"ĕ",ḝ:"ḝ",ě:"ě",ê:"ê",ế:"ế",ề:"ề",ễ:"ễ",ė:"ė",ȩ:"ȩ",ḟ:"ḟ",ǵ:"ǵ",ḡ:"ḡ",ğ:"ğ",ǧ:"ǧ",ĝ:"ĝ",ġ:"ġ",ģ:"ģ",ḧ:"ḧ",ȟ:"ȟ",ĥ:"ĥ",ḣ:"ḣ",ḩ:"ḩ",í:"í",ì:"ì",ï:"ï",ḯ:"ḯ",ĩ:"ĩ",ī:"ī",ĭ:"ĭ",ǐ:"ǐ",î:"î",ǰ:"ǰ",ĵ:"ĵ",ḱ:"ḱ",ǩ:"ǩ",ķ:"ķ",ĺ:"ĺ",ľ:"ľ",ļ:"ļ",ḿ:"ḿ",ṁ:"ṁ",ń:"ń",ǹ:"ǹ",ñ:"ñ",ň:"ň",ṅ:"ṅ",ņ:"ņ",ó:"ó",ò:"ò",ö:"ö",ȫ:"ȫ",õ:"õ",ṍ:"ṍ",ṏ:"ṏ",ȭ:"ȭ",ō:"ō",ṓ:"ṓ",ṑ:"ṑ",ŏ:"ŏ",ǒ:"ǒ",ô:"ô",ố:"ố",ồ:"ồ",ỗ:"ỗ",ȯ:"ȯ",ȱ:"ȱ",ő:"ő",ṕ:"ṕ",ṗ:"ṗ",ŕ:"ŕ",ř:"ř",ṙ:"ṙ",ŗ:"ŗ",ś:"ś",ṥ:"ṥ",š:"š",ṧ:"ṧ",ŝ:"ŝ",ṡ:"ṡ",ş:"ş",ẗ:"ẗ",ť:"ť",ṫ:"ṫ",ţ:"ţ",ú:"ú",ù:"ù",ü:"ü",ǘ:"ǘ",ǜ:"ǜ",ǖ:"ǖ",ǚ:"ǚ",ũ:"ũ",ṹ:"ṹ",ū:"ū",ṻ:"ṻ",ŭ:"ŭ",ǔ:"ǔ",û:"û",ů:"ů",ű:"ű",ṽ:"ṽ",ẃ:"ẃ",ẁ:"ẁ",ẅ:"ẅ",ŵ:"ŵ",ẇ:"ẇ",ẘ:"ẘ",ẍ:"ẍ",ẋ:"ẋ",ý:"ý",ỳ:"ỳ",ÿ:"ÿ",ỹ:"ỹ",ȳ:"ȳ",ŷ:"ŷ",ẏ:"ẏ",ẙ:"ẙ",ź:"ź",ž:"ž",ẑ:"ẑ",ż:"ż",Á:"Á",À:"À",Ä:"Ä",Ǟ:"Ǟ",Ã:"Ã",Ā:"Ā",Ă:"Ă",Ắ:"Ắ",Ằ:"Ằ",Ẵ:"Ẵ",Ǎ:"Ǎ",Â:"Â",Ấ:"Ấ",Ầ:"Ầ",Ẫ:"Ẫ",Ȧ:"Ȧ",Ǡ:"Ǡ",Å:"Å",Ǻ:"Ǻ",Ḃ:"Ḃ",Ć:"Ć",Ḉ:"Ḉ",Č:"Č",Ĉ:"Ĉ",Ċ:"Ċ",Ç:"Ç",Ď:"Ď",Ḋ:"Ḋ",Ḑ:"Ḑ",É:"É",È:"È",Ë:"Ë",Ẽ:"Ẽ",Ē:"Ē",Ḗ:"Ḗ",Ḕ:"Ḕ",Ĕ:"Ĕ",Ḝ:"Ḝ",Ě:"Ě",Ê:"Ê",Ế:"Ế",Ề:"Ề",Ễ:"Ễ",Ė:"Ė",Ȩ:"Ȩ",Ḟ:"Ḟ",Ǵ:"Ǵ",Ḡ:"Ḡ",Ğ:"Ğ",Ǧ:"Ǧ",Ĝ:"Ĝ",Ġ:"Ġ",Ģ:"Ģ",Ḧ:"Ḧ",Ȟ:"Ȟ",Ĥ:"Ĥ",Ḣ:"Ḣ",Ḩ:"Ḩ",Í:"Í",Ì:"Ì",Ï:"Ï",Ḯ:"Ḯ",Ĩ:"Ĩ",Ī:"Ī",Ĭ:"Ĭ",Ǐ:"Ǐ",Î:"Î",İ:"İ",Ĵ:"Ĵ",Ḱ:"Ḱ",Ǩ:"Ǩ",Ķ:"Ķ",Ĺ:"Ĺ",Ľ:"Ľ",Ļ:"Ļ",Ḿ:"Ḿ",Ṁ:"Ṁ",Ń:"Ń",Ǹ:"Ǹ",Ñ:"Ñ",Ň:"Ň",Ṅ:"Ṅ",Ņ:"Ņ",Ó:"Ó",Ò:"Ò",Ö:"Ö",Ȫ:"Ȫ",Õ:"Õ",Ṍ:"Ṍ",Ṏ:"Ṏ",Ȭ:"Ȭ",Ō:"Ō",Ṓ:"Ṓ",Ṑ:"Ṑ",Ŏ:"Ŏ",Ǒ:"Ǒ",Ô:"Ô",Ố:"Ố",Ồ:"Ồ",Ỗ:"Ỗ",Ȯ:"Ȯ",Ȱ:"Ȱ",Ő:"Ő",Ṕ:"Ṕ",Ṗ:"Ṗ",Ŕ:"Ŕ",Ř:"Ř",Ṙ:"Ṙ",Ŗ:"Ŗ",Ś:"Ś",Ṥ:"Ṥ",Š:"Š",Ṧ:"Ṧ",Ŝ:"Ŝ",Ṡ:"Ṡ",Ş:"Ş",Ť:"Ť",Ṫ:"Ṫ",Ţ:"Ţ",Ú:"Ú",Ù:"Ù",Ü:"Ü",Ǘ:"Ǘ",Ǜ:"Ǜ",Ǖ:"Ǖ",Ǚ:"Ǚ",Ũ:"Ũ",Ṹ:"Ṹ",Ū:"Ū",Ṻ:"Ṻ",Ŭ:"Ŭ",Ǔ:"Ǔ",Û:"Û",Ů:"Ů",Ű:"Ű",Ṽ:"Ṽ",Ẃ:"Ẃ",Ẁ:"Ẁ",Ẅ:"Ẅ",Ŵ:"Ŵ",Ẇ:"Ẇ",Ẍ:"Ẍ",Ẋ:"Ẋ",Ý:"Ý",Ỳ:"Ỳ",Ÿ:"Ÿ",Ỹ:"Ỹ",Ȳ
vendor: 5,746 bytes, line 407
407:"Ȳ",Ŷ:"Ŷ",Ẏ:"Ẏ",Ź:"Ź",Ž:"Ž",Ẑ:"Ẑ",Ż:"Ż",ά:"ά",ὰ:"ὰ",ᾱ:"ᾱ",ᾰ:"ᾰ",έ:"έ",ὲ:"ὲ",ή:"ή",ὴ:"ὴ",ί:"ί",ὶ:"ὶ",ϊ:"ϊ",ΐ:"ΐ",ῒ:"ῒ",ῑ:"ῑ",ῐ:"ῐ",ό:"ό",ὸ:"ὸ",ύ:"ύ",ὺ:"ὺ",ϋ:"ϋ",ΰ:"ΰ",ῢ:"ῢ",ῡ:"ῡ",ῠ:"ῠ",ώ:"ώ",ὼ:"ὼ",Ύ:"Ύ",Ὺ:"Ὺ",Ϋ:"Ϋ",Ῡ:"Ῡ",Ῠ:"Ῠ",Ώ:"Ώ",Ὼ:"Ὼ"};let c9=class d9{constructor(t,n){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 _j(t,n,this.mode),this.settings=n,this.leftrightDepth=0}expect(t,n){if(n===void 0&&(n=!0),this.fetch().text!==t)throw new ke("Expected '"+t+"', got '"+this.fetch().text+"'",this.fetch());n&&this.consume()}consume(){this.nextToken=null}fetch(){return this.nextToken==null&&(this.nextToken=this.gullet.expandNextToken()),this.nextToken}switchMode(t){this.mode=t,this.gullet.switchMode(t)}parse(){this.settings.globalGroup||this.gullet.beginGroup(),this.settings.colorIsTextColor&&this.gullet.macros.set("\\color","\\textcolor");try{var t=this.parseExpression(!1);return this.expect("EOF"),this.settings.globalGroup||this.gullet.endGroup(),t}finally{this.gullet.endGroups()}}subparse(t){var n=this.nextToken;this.consume(),this.gullet.pushToken(new zr("}")),this.gullet.pushTokens(t);var r=this.parseExpression(!1);return this.expect("}"),this.nextToken=n,r}parseExpression(t,n){for(var r=[];;){this.mode==="math"&&this.consumeSpaces();var a=this.fetch();if(d9.endOfExpression.indexOf(a.text)!==-1||n&&a.text===n||t&&vs[a.text]&&vs[a.text].infix)break;var s=this.parseAtom(n);if(s){if(s.type==="internal")continue}else break;r.push(s)}return this.mode==="text"&&this.formLigatures(r),this.handleInfixNodes(r)}handleInfixNodes(t){for(var n=-1,r,a=0;a<t.length;a++)if(t[a].type==="infix"){if(n!==-1)throw new ke("only one infix operator per group",t[a].token);n=a,r=t[a].replaceWith}if(n!==-1&&r){var s,l,u=t.slice(0,n),d=t.slice(n+1);u.length===1&&u[0].type==="ordgroup"?s=u[0]:s={type:"ordgroup",mode:this.mode,body:u},d.length===1&&d[0].type==="ordgroup"?l=d[0]:l={type:"ordgroup",mode:this.mode,body:d};var f;return r==="\\\\abovefrac"?f=this.callFunction(r,[s,t[n],l],[]):f=this.callFunction(r,[s,l],[]),[f]}else return t}handleSupSubscript(t){var n=this.fetch(),r=n.text;this.consume(),this.consumeSpaces();var a;do{var s;a=this.parseGroup(t)}while(((s=a)==null?void 0:s.type)==="internal");if(!a)throw new ke("Expected group after '"+r+"'",n);return a}formatUnsupportedCmd(t){for(var n=[],r=0;r<t.length;r++)n.push({type:"textord",mode:"text",text:t[r]});var a={type:"text",mode:this.mode,body:n},s={type:"color",mode:this.mode,color:this.settings.errorColor,body:[a]};return s}parseAtom(t){var n=this.parseGroup("atom",t);if(n?.type==="internal"||this.mode==="text")return n;for(var r,a;;){this.consumeSpaces();var s=this.fetch();if(s.text==="\\limits"||s.text==="\\nolimits"){if(n&&n.type==="op"){var l=s.text==="\\limits";n.limits=l,n.alwaysHandleSupSub=!0}else if(n&&n.type==="operatorname")n.alwaysHandleSupSub&&(n.limits=s.text==="\\limits");else throw new ke("Limit controls must follow a math operator",s);this.consume()}else if(s.text==="^"){if(r)throw new ke("Double superscript",s);r=this.handleSupSubscript("superscript")}else if(s.text==="_"){if(a)throw new ke("Double subscript",s);a=this.handleSupSubscript("subscript")}else if(s.text==="'"){if(r)throw new ke("Double superscript",s);var u={type:"textord",mode:this.mode,text:"\\prime"},d=[u];for(this.consume();this.fetch().text==="'";)d.push(u),this.consume();this.fetch().text==="^"&&d.push(this.handleSupSubscript("superscript")),r={type:"ordgroup",mode:this.mode,body:d}}else if(Zd[s.text]){var f=Zx.test(s.text),p=[];for(p.push(new zr(Zd[s.text])),this.consume();;){var m=this.fetch().text;if(!Zd[m]||Zx.test(m)!==f)break;p.unshift(new zr(Zd[m])),this.consume()}var b=this.subparse(p);f?a={type:"ordgroup",mode:"math",body:b}:r={type:"ordgroup",mode:"math",body:b}}else break}return r||a?{type:"supsub",mode:this.mode,base:n,sup:r,sub:a}:n}parseFunction(t,n){var r=this.fetch(),a=r.text,s=vs[a];if(!s)return null;if(this.consume(),n&&n!=="atom"&&!s.allowedInArgument)throw new ke("Got function '"+a+"' with no arguments"+(n?" as "+n:""),r);if(this.mode==="text"&&!s.allowedInText)throw new ke("Can't use function '"+a+"' in text mode",r);if(this.mode==="math"&&s.allowedInMath===!1)throw new ke("Can't use function '"+a+"' in math mode",r);var{args:l,optArgs:u}=this.parseArguments(a,s);return this.callFunction(a,l,u,r,t)}callFunction(t,n,r,a,s){var l={funcName:t,parser:this,token:a,breakOnTokenText:s},u=vs[t];if(u&&u.handler)return u.handler(l,n,r);throw new ke("No function handler for "+t)}parseArguments(t,n){var r=n.numArgs+n.numOptionalArgs;if(r===0)return{args:[],optArgs:[]};for(var a=[],s=[],l=0;l<r;l++){var u=n.argTypes&&n.argTypes[l],d=l<n.numOptionalArgs;(n.primitive&&u==null||n.type==="sqrt"&&l===1&&s[0]==null)&&(u="primitive");var f=this.parseGroupOfType("argument to '"+t+"'",u,d);if(d)s.push(f);else if(f!=null)a.push(f);else throw new ke("Null argument, please report this as a bug")}return{args:a,optArgs:s}}parseGroupOfType(t,n,r){switch(n){case"color":return this.parseColorGroup(r);case"size":return this.parseSizeGroup(r);case"url":return this.parseUrlGroup(r);case"math":case"text":return this.parseArgumentGroup(r,n);case"hbox":{var a=this.parseArgumentGroup(r,"text");return a!=null?{type:"styling",mode:a.mode,body:[a],style:"text"}:null}case"raw":{var s=this.parseStringGroup("raw",r);return s!=null?{type:"raw",mode:"text",string:s.text}:null}case"primitive":{if(r)throw new ke("A primitive argument cannot be optional");var l=this.parseGroup(t);
vendor: 5,925 bytes, lines 407-408
407if(l==null)throw new ke("Expected group as "+t,this.fetch());return l}case"original":case null:case void 0:return this.parseArgumentGroup(r);default:throw new ke("Unknown group type as "+t,this.fetch())}}consumeSpaces(){for(;this.fetch().text===" ";)this.consume()}parseStringGroup(t,n){var r=this.gullet.scanArgument(n);if(r==null)return null;for(var a="",s;(s=this.fetch()).text!=="EOF";)a+=s.text,this.consume();return this.consume(),r.text=a,r}parseRegexGroup(t,n){for(var r=this.fetch(),a=r,s="",l;(l=this.fetch()).text!=="EOF"&&t.test(s+l.text);)a=l,s+=a.text,this.consume();if(s==="")throw new ke("Invalid "+n+": '"+r.text+"'",r);return r.range(a,s)}parseColorGroup(t){var n=this.parseStringGroup("color",t);if(n==null)return null;var r=/^(#[a-f0-9]{3,4}|#[a-f0-9]{6}|#[a-f0-9]{8}|[a-f0-9]{6}|[a-z]+)$/i.exec(n.text);if(!r)throw new ke("Invalid color: '"+n.text+"'",n);var a=r[0];return/^[0-9a-f]{6}$/i.test(a)&&(a="#"+a),{type:"color-token",mode:this.mode,color:a}}parseSizeGroup(t){var n,r=!1;if(this.gullet.consumeSpaces(),!t&&this.gullet.future().text!=="{"?n=this.parseRegexGroup(/^[-+]? *(?:$|\d+|\d+\.\d*|\.\d*) *[a-z]{0,2} *$/,"size"):n=this.parseStringGroup("size",t),!n)return null;!t&&n.text.length===0&&(n.text="0pt",r=!0);var a=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(n.text);if(!a)throw new ke("Invalid size: '"+n.text+"'",n);var s={number:+(a[1]+a[2]),unit:a[3]};if(!vT(s))throw new ke("Invalid unit: '"+s.unit+"'",n);return{type:"size",mode:this.mode,value:s,isBlank:r}}parseUrlGroup(t){this.gullet.lexer.setCatcode("%",13),this.gullet.lexer.setCatcode("~",12);var n=this.parseStringGroup("url",t);if(this.gullet.lexer.setCatcode("%",14),this.gullet.lexer.setCatcode("~",13),n==null)return null;var r=n.text.replace(/\\([#$%&~_^{}])/g,"$1");return{type:"url",mode:this.mode,url:r}}parseArgumentGroup(t,n){var r=this.gullet.scanArgument(t);if(r==null)return null;var a=this.mode;n&&this.switchMode(n),this.gullet.beginGroup();var s=this.parseExpression(!1,"EOF");this.expect("EOF"),this.gullet.endGroup();var l={type:"ordgroup",mode:this.mode,loc:r.loc,body:s};return n&&this.switchMode(a),l}parseGroup(t,n){var r=this.fetch(),a=r.text,s;if(a==="{"||a==="\\begingroup"){this.consume();var l=a==="{"?"}":"\\endgroup";this.gullet.beginGroup();var u=this.parseExpression(!1,l),d=this.fetch();this.expect(l),this.gullet.endGroup(),s={type:"ordgroup",mode:this.mode,loc:xr.range(r,d),body:u,semisimple:a==="\\begingroup"||void 0}}else if(s=this.parseFunction(n,t)||this.parseSymbol(),s==null&&a[0]==="\\"&&!u9.hasOwnProperty(a)){if(this.settings.throwOnError)throw new ke("Undefined control sequence: "+a,r);s=this.formatUnsupportedCmd(a),this.consume()}return s}formLigatures(t){for(var n=t.length-1,r=0;r<n;++r){var a=t[r],s=a.text;s==="-"&&t[r+1].text==="-"&&(r+1<n&&t[r+2].text==="-"?(t.splice(r,3,{type:"textord",mode:"text",loc:xr.range(a,t[r+2]),text:"---"}),n-=2):(t.splice(r,2,{type:"textord",mode:"text",loc:xr.range(a,t[r+1]),text:"--"}),n-=1)),(s==="'"||s==="`")&&t[r+1].text===s&&(t.splice(r,2,{type:"textord",mode:"text",loc:xr.range(a,t[r+1]),text:s+s}),n-=1)}}parseSymbol(){var t=this.fetch(),n=t.text;if(/^\\verb[^a-zA-Z]/.test(n)){this.consume();var r=n.slice(5),a=r.charAt(0)==="*";if(a&&(r=r.slice(1)),r.length<2||r.charAt(0)!==r.slice(-1))throw new ke(`\\verb assertion failed --
408                    please report what input caused this bug`);return r=r.slice(1,-1),{type:"verb",mode:"text",body:r,star:a}}Jx.hasOwnProperty(n[0])&&!zt[this.mode][n[0]]&&(this.settings.strict&&this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Accented Unicode text character "'+n[0]+'" used in math mode',t),n=Jx[n[0]]+n.slice(1));var s=yj.exec(n);s&&(n=n.substring(0,s.index),n==="i"?n="ı":n==="j"&&(n="ȷ"));var l;if(zt[this.mode][n]){this.settings.strict&&this.mode==="math"&&s2.indexOf(n)>=0&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+n[0]+'" used in math mode',t);var u=zt[this.mode][n].group,d=xr.range(t),f;if(cF.hasOwnProperty(u)){var p=u;f={type:"atom",mode:this.mode,family:p,loc:d,text:n}}else f={type:u,mode:this.mode,loc:d,text:n};l=f}else if(n.charCodeAt(0)>=128)this.settings.strict&&(bT(n.charCodeAt(0))?this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+n[0]+'" used in math mode',t):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+n[0]+'"'+(" ("+n.charCodeAt(0)+")"),t)),l={type:"textord",mode:"text",loc:xr.range(t),text:n};else return null;if(this.consume(),s)for(var m=0;m<s[0].length;m++){var b=s[0][m];if(!W1[b])throw new ke("Unknown accent ' "+b+"'",t);var y=W1[b][this.mode]||W1[b].text;if(!y)throw new ke("Accent "+b+" unsupported in "+this.mode+" mode",t);l={type:"accent",mode:this.mode,loc:xr.range(t),label:y,isStretchy:!1,isShifty:!0,base:l}}return l}};c9.endOfExpression=["}","\\endgroup","\\end","\\right","&"];var Hb=function(t,n){if(!(typeof t=="string"||t instanceof String))throw new TypeError("KaTeX can only parse string typed expression");var r=new c9(t,n);delete r.gullet.macros.current["\\df@tag"];var a=r.parse();if(delete r.gullet.macros.current["\\current@color"],delete r.gullet.macros.current["\\color"],r.gullet.macros.get("\\df@tag")){if(!n.displayMode)throw new ke("\\tag works only in display equations");a=[{type:"tag",mode:"text",body:a,tag:r.subparse([new zr("\\df@tag")])}]}return a},Fb=function(t,n,r){n.textContent="";var a=Ih(t,r).toNode();n.appendChild(a)};typeof document<"u"&&document.compatMode!=="CSS1Compat"&&(typeof console<"u"&&console.warn("Warning: KaTeX doesn't work in quirks mode. Make sure your website has a suitable doctype."),Fb=function(){throw new ke("KaTeX doesn't work in quirks mode.")});var f9=function(t,n){var r=Ih(t,n).toMarkup();return r},h9=function(t,n){var r=new _b(n);return Hb(t,r)},m9=function(t,n,r){if(r.throwOnError||!(t instanceof ke))throw t;
vendor: 5,092 bytes, lines 408-409
408var a=le.makeSpan(["katex-error"],[new sa(n)]);return a.setAttribute("title",t.toString()),a.setAttribute("style","color:"+r.errorColor),a},Ih=function(t,n){var r=new _b(n);try{var a=Hb(t,r);return LF(a,t,r)}catch(s){return m9(s,t,r)}},p9=function(t,n){var r=new _b(n);try{var a=Hb(t,r);return IF(a,t,r)}catch(s){return m9(s,t,r)}},g9="0.16.25",b9={Span:d0,Anchor:wb,SymbolNode:sa,SvgNode:Di,PathNode:Cs,LineNode:i2},f2={version:g9,render:Fb,renderToString:f9,ParseError:ke,SETTINGS_SCHEMA:Tc,__parse:h9,__renderToDomTree:Ih,__renderToHTMLTree:p9,__setFontMetrics:yT,__defineSymbol:_,__defineFunction:Pe,__defineMacro:L,__domTree:b9};const Oee=Object.freeze(Object.defineProperty({__proto__:null,ParseError:ke,SETTINGS_SCHEMA:Tc,__defineFunction:Pe,__defineMacro:L,__defineSymbol:_,__domTree:b9,__parse:h9,__renderToDomTree:Ih,__renderToHTMLTree:p9,__setFontMetrics:yT,default:f2,get render(){return Fb},renderToString:f9,version:g9},Symbol.toStringTag,{value:"Module"})),Tj={},Sj=[];function wj(e){const t=e||Tj;return function(n,r){vb(n,"element",function(a,s){const l=Array.isArray(a.properties.className)?a.properties.className:Sj,u=l.includes("language-math"),d=l.includes("math-display"),f=l.includes("math-inline");let p=d;if(!u&&!d&&!f)return;let m=s[s.length-1],b=a;if(a.tagName==="code"&&u&&m&&m.type==="element"&&m.tagName==="pre"&&(b=m,m=s[s.length-2],p=!0),!m)return;const y=TH(b,{whitespace:"pre"});let E;try{E=f2.renderToString(y,{...t,displayMode:p,throwOnError:!0})}catch(N){const k=N,O=k.name.toLowerCase();r.message("Could not render math with KaTeX",{ancestors:[...s,a],cause:k,place:a.position,ruleId:O,source:"rehype-katex"});try{E=f2.renderToString(y,{...t,displayMode:p,strict:"ignore",throwOnError:!1})}catch{E=[{type:"element",tagName:"span",properties:{className:["katex-error"],style:"color:"+(t.errorColor||"#cc0000"),title:String(N)},children:[{type:"text",value:y}]}]}}typeof E=="string"&&(E=pH(E).children);const T=m.children.indexOf(b);return m.children.splice(T,1,...E),Of})}}function Aj(e){const t=String(e),n=[];return{toOffset:a,toPoint:r};function r(s){if(typeof s=="number"&&s>-1&&s<=t.length){let l=0;for(;;){let u=n[l];if(u===void 0){const d=e8(t,n[l-1]);u=d===-1?t.length+1:d+1,n[l]=u}if(u>s)return{line:l+1,column:s-(l>0?n[l-1]:0)+1,offset:s};l++}}}function a(s){if(s&&typeof s.line=="number"&&typeof s.column=="number"&&!Number.isNaN(s.line)&&!Number.isNaN(s.column)){for(;n.length<s.line;){const u=n[n.length-1],d=e8(t,u),f=d===-1?t.length+1:d+1;if(u===f)break;n.push(f)}const l=(s.line>1?n[s.line-2]:0)+s.column-1;if(l<n[s.line-1])return l}}}function e8(e,t){const n=e.indexOf("\r",t),r=e.indexOf(`
409`,t);return r===-1?n:n===-1||n+1===r?r:n<r?n:r}const y9={}.hasOwnProperty,kj=Object.prototype;function Cj(e,t){const n=t||{};return jb({file:n.file||void 0,location:!1,schema:n.space==="svg"?Rs:s0,verbose:n.verbose||!1},e)}function jb(e,t){let n;switch(t.nodeName){case"#comment":{const r=t;return n={type:"comment",value:r.data},gf(e,r,n),n}case"#document":case"#document-fragment":{const r=t,a="mode"in r?r.mode==="quirks"||r.mode==="limited-quirks":!1;if(n={type:"root",children:v9(e,t.childNodes),data:{quirksMode:a}},e.file&&e.location){const s=String(e.file),l=Aj(s),u=l.toPoint(0),d=l.toPoint(s.length);n.position={start:u,end:d}}return n}case"#documentType":{const r=t;return n={type:"doctype"},gf(e,r,n),n}case"#text":{const r=t;return n={type:"text",value:r.value},gf(e,r,n),n}default:return n=Nj(e,t),n}}function v9(e,t){let n=-1;const r=[];for(;++n<t.length;){const a=jb(e,t[n]);r.push(a)}return r}function Nj(e,t){const n=e.schema;e.schema=t.namespaceURI===ja.svg?Rs:s0;let r=-1;const a={};for(;++r<t.attrs.length;){const u=t.attrs[r],d=(u.prefix?u.prefix+":":"")+u.name;y9.call(kj,d)||(a[d]=u.value)}const l=(e.schema.space==="svg"?uT:lT)(t.tagName,a,v9(e,t.childNodes));if(gf(e,t,l),l.tagName==="template"){const u=t,d=u.sourceCodeLocation,f=d&&d.startTag&&Ll(d.startTag),p=d&&d.endTag&&Ll(d.endTag),m=jb(e,u.content);f&&p&&e.file&&(m.position={start:f.end,end:p.start}),l.content=m}return e.schema=n,l}function gf(e,t,n){if("sourceCodeLocation"in t&&t.sourceCodeLocation&&e.file){const r=Oj(e,n,t.sourceCodeLocation);r&&(e.location=!0,n.position=r)}}function Oj(e,t,n){const r=Ll(n);if(t.type==="element"){const a=t.children[t.children.length-1];if(r&&!n.endTag&&a&&a.position&&a.position.end&&(r.end=Object.assign({},a.position.end)),e.verbose){const s={};let l;if(n.attrs)for(l in n.attrs)y9.call(n.attrs,l)&&(s[_h(e.schema,l).property]=Ll(n.attrs[l]));n.startTag;const u=Ll(n.startTag),d=n.endTag?Ll(n.endTag):void 0,f={opening:u};d&&(f.closing=d),f.properties=s,t.data={position:f}}}return r}function Ll(e){const t=t8({line:e.startLine,column:e.startCol,offset:e.startOffset}),n=t8({line:e.endLine,column:e.endCol,offset:e.endOffset});return t||n?{start:t,end:n}:void 0}function t8(e){return e.line&&e.column?e:void 0}class h0{constructor(t,n,r){this.property=t,this.normal=n,r&&(this.space=r)}}h0.prototype.property={};h0.prototype.normal={};h0.prototype.space=null;function x9(e,t){const n={},r={};let a=-1;for(;++a<e.length;
vendor: 2,810 bytes, line 409
409)Object.assign(n,e[a].property),Object.assign(r,e[a].normal);return new h0(n,r,t)}function h2(e){return e.toLowerCase()}class la{constructor(t,n){this.property=t,this.attribute=n}}la.prototype.space=null;la.prototype.boolean=!1;la.prototype.booleanish=!1;la.prototype.overloadedBoolean=!1;la.prototype.number=!1;la.prototype.commaSeparated=!1;la.prototype.spaceSeparated=!1;la.prototype.commaOrSpaceSeparated=!1;la.prototype.mustUseProperty=!1;la.prototype.defined=!1;let Rj=0;const nt=Oo(),pn=Oo(),E9=Oo(),Ne=Oo(),Bt=Oo(),zl=Oo(),Dr=Oo();function Oo(){return 2**++Rj}const m2=Object.freeze(Object.defineProperty({__proto__:null,boolean:nt,booleanish:pn,commaOrSpaceSeparated:Dr,commaSeparated:zl,number:Ne,overloadedBoolean:E9,spaceSeparated:Bt},Symbol.toStringTag,{value:"Module"})),K1=Object.keys(m2);class qb extends la{constructor(t,n,r,a){let s=-1;if(super(t,n),n8(this,"space",a),typeof r=="number")for(;++s<K1.length;){const l=K1[s];n8(this,K1[s],(r&m2[l])===m2[l])}}}qb.prototype.defined=!0;function n8(e,t,n){n&&(e[t]=n)}const Dj={}.hasOwnProperty;function ru(e){const t={},n={};let r;for(r in e.properties)if(Dj.call(e.properties,r)){const a=e.properties[r],s=new qb(r,e.transform(e.attributes||{},r),a,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(s.mustUseProperty=!0),t[r]=s,n[h2(r)]=r,n[h2(s.attribute)]=r}return new h0(t,n,e.space)}const _9=ru({space:"xlink",transform(e,t){return"xlink:"+t.slice(5).toLowerCase()},properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}}),T9=ru({space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()},properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function S9(e,t){return t in e?e[t]:t}function w9(e,t){return S9(e,t.toLowerCase())}const A9=ru({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:w9,properties:{xmlns:null,xmlnsXLink:null}}),k9=ru({transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:pn,ariaAutoComplete:null,ariaBusy:pn,ariaChecked:pn,ariaColCount:Ne,ariaColIndex:Ne,ariaColSpan:Ne,ariaControls:Bt,ariaCurrent:null,ariaDescribedBy:Bt,ariaDetails:null,ariaDisabled:pn,ariaDropEffect:Bt,ariaErrorMessage:null,ariaExpanded:pn,ariaFlowTo:Bt,ariaGrabbed:pn,ariaHasPopup:null,ariaHidden:pn,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:Bt,ariaLevel:Ne,ariaLive:null,ariaModal:pn,ariaMultiLine:pn,ariaMultiSelectable:pn,ariaOrientation:null,ariaOwns:Bt,ariaPlaceholder:null,ariaPosInSet:Ne,ariaPressed:pn,ariaReadOnly:pn,ariaRelevant:null,ariaRequired:pn,ariaRoleDescription:Bt,ariaRowCount:Ne,ariaRowIndex:Ne,ariaRowSpan:Ne,ariaSelected:pn,ariaSetSize:Ne,ariaSort:null,ariaValueMax:Ne,ariaValueMin:Ne,ariaValueNow:Ne,ariaValueText:null,role:null}}
409),Lj=ru({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:w9,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:zl,acceptCharset:Bt,accessKey:Bt,action:null,allow:null,allowFullScreen:nt,allowPaymentRequest:nt,allowUserMedia:nt,alt:null,as:null,async:nt,autoCapitalize:null,autoComplete:Bt,autoFocus:nt,autoPlay:nt,blocking:Bt,capture:null,charSet:null,checked:nt,cite:null,className:Bt,cols:Ne,colSpan:null,content:null,contentEditable:pn,controls:nt,controlsList:Bt,coords:Ne|zl,crossOrigin:null,data:null,dateTime:null,decoding:null,default:nt,defer:nt,dir:null,dirName:null,disabled:nt,download:E9,draggable:pn,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:nt,formTarget:null,headers:Bt,height:Ne,hidden:nt,high:Ne,href:null,hrefLang:null,htmlFor:Bt,httpEquiv:Bt,id:null,imageSizes:null,imageSrcSet:null,inert:nt,inputMode:null,integrity:null,is:null,isMap:nt,itemId:null,itemProp:Bt,itemRef:Bt,itemScope:nt,itemType:Bt,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:nt,low:Ne,manifest:null,max:null,maxLength:Ne,media:null,method:null,min:null,minLength:Ne,multiple:nt,muted:nt,name:null,nonce:null,noModule:nt,noValidate:nt,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:nt,optimum:Ne,pattern:null,ping:Bt,placeholder:null,playsInline:nt,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:nt,referrerPolicy:null,rel:Bt,required:nt,reversed:nt,rows:Ne,rowSpan:Ne,sandbox:Bt,scope:null,scoped:nt,seamless:nt,selected:nt,shadowRootClonable:nt,shadowRootDelegatesFocus:nt,shadowRootMode:null,shape:null,size:Ne,sizes:null,slot:null,span:Ne,spellCheck:pn,src:null,srcDoc:null,srcLang:null,srcSet:null,start:Ne,step:null,style:null,tabIndex:Ne,target:null,title:null,translate:null,type:null,typeMustMatch:nt,useMap:null,value:pn,width:Ne,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:Bt,axis:null,background:null,bgColor:null,border:Ne,borderColor:null,bottomMargin:Ne,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:nt,declare:nt,event:null,face:null,frame:null,frameBorder:null,hSpace:Ne,leftMargin:Ne,link:null,longDesc:null,lowSrc:null,marginHeight:Ne,marginWidth:Ne,noResize:nt,noHref:nt,noShade:nt,noWrap:nt,object:null,profile:null,prompt:null,rev:null,rightMargin:Ne,rules:null,scheme:null,scrolling:pn,standby:null,summary:null,text:null,topMargin:Ne,valueType:null,version:null,vAlign:null,vLink:null,vSpace:Ne,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:nt,disableRemotePlayback:nt,prefix:null,property:null,results:Ne,security:null,unselectable:null}}
409),Ij=ru({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
409-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:S9,properties:{about:Dr,accentHeight:Ne,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:Ne,amplitude:Ne,arabicForm:null,ascent:Ne,attributeName:null,attributeType:null,azimuth:Ne,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:Ne,by:null,calcMode:null,capHeight:Ne,className:Bt,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:Ne,diffuseConstant:Ne,direction:null,display:null,dur:null,divisor:Ne,dominantBaseline:null,download:nt,dx:null,dy:null,edgeMode:null,editable:null,elevation:Ne,enableBackground:null,end:null,event:null,exponent:Ne,externalResourcesRequired:null,fill:null,fillOpacity:Ne,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:zl,g2:zl,glyphName:zl,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:Ne,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:Ne,horizOriginX:Ne,horizOriginY:Ne,id:null,ideographic:Ne,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:Ne,k:Ne,k1:Ne,k2:Ne,k3:Ne,k4:Ne,kernelMatrix:Dr,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:Ne,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:Ne,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,on
vendor: 5,078 bytes, line 409
409Zoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:Ne,overlineThickness:Ne,paintOrder:null,panose1:null,path:null,pathLength:Ne,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:Bt,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:Ne,pointsAtY:Ne,pointsAtZ:Ne,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:Dr,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:Dr,rev:Dr,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:Dr,requiredFeatures:Dr,requiredFonts:Dr,requiredFormats:Dr,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:Ne,specularExponent:Ne,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:Ne,strikethroughThickness:Ne,string:null,stroke:null,strokeDashArray:Dr,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:Ne,strokeOpacity:Ne,strokeWidth:null,style:null,surfaceScale:Ne,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:Dr,tabIndex:Ne,tableValues:null,target:null,targetX:Ne,targetY:Ne,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:Dr,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:Ne,underlineThickness:Ne,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:Ne,values:null,vAlphabetic:Ne,vMathematical:Ne,vectorEffect:null,vHanging:Ne,vIdeographic:Ne,version:null,vertAdvY:Ne,vertOriginX:Ne,vertOriginY:Ne,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:Ne,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),Mj=/^data[-\w.:]+$/i,r8=/-[a-z]/g,Pj=/[A-Z]/g;function Bj(e,t){const n=h2(t);let r=t,a=la;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)==="data"&&Mj.test(t)){if(t.charAt(4)==="-"){const s=t.slice(5).replace(r8,Uj);r="data"+s.charAt(0).toUpperCase()+s.slice(1)}else{const s=t.slice(4);if(!r8.test(s)){let l=s.replace(Pj,zj);l.charAt(0)!=="-"&&(l="-"+l),t="data"+l}}a=qb}return new a(r,t)}function zj(e){return"-"+e.toLowerCase()}function Uj(e){return e.charAt(1).toUpperCase()}const Hj=x9([T9,_9,A9,k9,Lj],"html"),C9=x9([T9,_9,A9,k9,Ij],"svg"),a8={}.hasOwnProperty;function $b(e,t){const n=t||{};function r(a,...s){let l=r.invalid;const u=r.handlers;if(a&&a8.call(a,e)){const d=String(a[e]);l=a8.call(u,d)?u[d]:r.unknown}if(l)return l.call(this,a,...s)}return r.handlers=n.handlers||{},r.invalid=n.invalid,r.unknown=n.unknown,r}const Fj={},jj={}.hasOwnProperty,N9=$b("type",{handlers:{root:$j,element:Xj,text:Yj,comment:Qj,doctype:Gj}});function qj(e,t){const r=(t||Fj).space;return N9(e,r==="svg"?C9:Hj)}function $j(e,t){const n={nodeName:"#document",mode:(e.data||{}).quirksMode?"quirks":"no-quirks",childNodes:[]};return n.childNodes=Vb(e.children,n,t),au(e,n),n}function Vj(e,t){const n={nodeName:"#document-fragment",childNodes:[]};return n.childNodes=Vb(e.children,n,t),au(e,n),n}function Gj(e){const t={nodeName:"#documentType",name:"html",publicId:"",systemId:"",parentNode:null};return au(e,t),t}function Yj(e){const t={nodeName:"#text",value:e.value,parentNode:null};return au(e,t),t}function Qj(e){const t={nodeName:"#comment",data:e.value,parentNode:null};return au(e,t),t}function Xj(e,t){const n=t;let r=n;e.type==="element"&&e.tagName.toLowerCase()==="svg"&&n.space==="html"&&(r=C9);const a=[];let s;if(e.properties){for(s in e.properties)if(s!=="children"&&jj.call(e.properties,s)){const d=Wj(r,s,e.properties[s]);d&&a.push(d)}}const l=r.space,u={nodeName:e.tagName,tagName:e.tagName,attrs:a,namespaceURI:ja[l],childNodes:[],parentNode:null};return u.childNodes=Vb(e.children,u,r),au(e,u),e.tagName==="template"&&e.content&&(u.content=Vj(e.content,r)),u}function Wj(e,t,n){const r=Bj(e,t);if(n===!1||n===null||n===void 0||typeof n=="number"&&Number.isNaN(n)||!n&&r.boolean)return;Array.isArray(n)&&(n=r.commaSeparated?sb(n):lb(n));const a={name:r.attribute,value:n===!0?"":String(n)};if(r.space&&r.space!=="html"&&r.space!=="svg"){const s=a.name.indexOf(":");s<0?a.prefix="":(a.name=a.name.slice(s+1),a.prefix=r.attribute.slice(0,s)),a.namespace=ja[r.space]}return a}function Vb(e,t,n){let r=-1;const a=[];if(e)for(;++r<e.length;){const s=N9(e[r],n);s.parentNode=t,a.push(s)}return a}function au(e,t){const n=e.position;n&&n.start&&n.end&&(n.start.offset,n.end.offset,t.sourceCodeLocation={startLine:n.start.line,startCol:n.start.column,startOffset:n.start.offset,endLine:n.end.line,endCol:n.end.column,endOffset:n.end.offset})}const O9=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","
409image","img","input","keygen","link","meta","param","source","track","wbr"],Kj=new Set([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]),qt="�";var M;(function(e){e[e.EOF=-1]="EOF",e[e.NULL=0]="NULL",e[e.TABULATION=9]="TABULATION",e[e.CARRIAGE_RETURN=13]="CARRIAGE_RETURN",e[e.LINE_FEED=10]="LINE_FEED",e[e.FORM_FEED=12]="FORM_FEED",e[e.SPACE=32]="SPACE",e[e.EXCLAMATION_MARK=33]="EXCLAMATION_MARK",e[e.QUOTATION_MARK=34]="QUOTATION_MARK",e[e.AMPERSAND=38]="AMPERSAND",e[e.APOSTROPHE=39]="APOSTROPHE",e[e.HYPHEN_MINUS=45]="HYPHEN_MINUS",e[e.SOLIDUS=47]="SOLIDUS",e[e.DIGIT_0=48]="DIGIT_0",e[e.DIGIT_9=57]="DIGIT_9",e[e.SEMICOLON=59]="SEMICOLON",e[e.LESS_THAN_SIGN=60]="LESS_THAN_SIGN",e[e.EQUALS_SIGN=61]="EQUALS_SIGN",e[e.GREATER_THAN_SIGN=62]="GREATER_THAN_SIGN",e[e.QUESTION_MARK=63]="QUESTION_MARK",e[e.LATIN_CAPITAL_A=65]="LATIN_CAPITAL_A",e[e.LATIN_CAPITAL_Z=90]="LATIN_CAPITAL_Z",e[e.RIGHT_SQUARE_BRACKET=93]="RIGHT_SQUARE_BRACKET",e[e.GRAVE_ACCENT=96]="GRAVE_ACCENT",e[e.LATIN_SMALL_A=97]="LATIN_SMALL_A",e[e.LATIN_SMALL_Z=122]="LATIN_SMALL_Z"})(M||(M={}));const gr={DASH_DASH:"--",CDATA_START:"[CDATA[",DOCTYPE:"doctype",SCRIPT:"script",PUBLIC:"public",SYSTEM:"system"};function R9(e){return e>=55296&&e<=57343}function Zj(e){return e>=56320&&e<=57343}function Jj(e,t){return(e-55296)*1024+9216+t}function D9(e){return e!==32&&e!==10&&e!==13&&e!==9&&e!==12&&e>=1&&e<=31||e>=127&&e<=159}function L9(e){return e>=64976&&e<=65007||Kj.has(e)}var ge;(function(e){e.controlCharacterInInputStream="control-character-in-input-stream",e.noncharacterInInputStream="noncharacter-in-input-stream",e.surrogateInInputStream="surrogate-in-input-stream",e.nonVoidHtmlElementStartTagWithTrailingSolidus="non-void-html-element-start-tag-with-trailing-solidus",e.endTagWithAttributes="end-tag-with-attributes",e.endTagWithTrailingSolidus="end-tag-with-trailing-solidus",e.unexpectedSolidusInTag="unexpected-solidus-in-tag",e.unexpectedNullCharacter="unexpected-null-character",e.unexpectedQuestionMarkInsteadOfTagName="unexpected-question-mark-instead-of-tag-name",e.invalidFirstCharacterOfTagName="invalid-first-character-of-tag-name",e.unexpectedEqualsSignBeforeAttributeName="unexpected-equals-sign-before-attribute-name",e.missingEndTagName="missing-end-tag-name",e.unexpectedCharacterInAttributeName="unexpected-character-in-attribute-name",e.unknownNamedCharacterReference="unknown-named-character-reference",e.missingSemicolonAfterCharacterReference="missing-semicolon-after-character-reference",e.unexpectedCharacterAfterDoctypeSystemIdentifier="unexpected-character-after-doctype-system-identifier",e.unexpectedCharacterInUnquotedAttributeValue="unexpected-character-in-unquoted-attribute-value",e.eofBeforeTagName="eof-before-tag-name",e.eofInTag="eof-in-tag",e.missingAttributeValue="missing-attribute-value",e.missingWhitespaceBetweenAttributes="missing-whitespace-between-attributes",e.missingWhitespaceAfterDoctypePublicKeyword="missing-whitespace-after-doctype-public-keyword",e.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers="missing-whitespace-between-doctype-public-and-system-identifiers",e.missingWhitespaceAfterDoctypeSystemKeyword="missing-whitespace-after-doctype-system-keyword",e.missingQuoteBeforeDoctypePublicIdentifier="missing-quote-before-doctype-public-identifier",e.missingQuoteBeforeDoctypeSystemIdentifier="missing-quote-before-doctype-system-identifier",e.missingDoctypePublicIdentifier="missing-doctype-public-identifier",e.missingDoctypeSystemIdentifier="missing-doctype-system-identifier",e.abruptDoctypePublicIdentifier="abrupt-doctype-public-identifier",e.abruptDoctypeSystemIdentifier="abrupt-doctype-system-identifier",e.cdataInHtmlContent="cdata-in-html-content",e.incorrectlyOpenedComment="incorrectly-opened-comment",e.eofInScriptHtmlCommentLikeText="eof-in-script-html-comment-like-text",e.eofInDoctype="eof-in-doctype",e.nestedComment="nested-comment",e.abruptClosingOfEmptyComment="abrupt-closing-of-empty-comment",e.eofInComment="eof-in-comment",e.incorrectlyClosedComment="incorrectly-closed-comment",e.eofInCdata="eof-in-cdata",e.absenceOfDigitsInNumericCharacterReference="absence-of-digits-in-numeric-character-reference",e.nullCharacterReference="null-character-reference",e.surrogateCharacterReference="surrogate-character-reference",e.characterReferenceOutsideUnicodeRange="character-reference-outside-unicode-range",e.controlCharacterReference="control-character-reference",e.noncharacterCharacterReference="noncharacter-character-reference",e.missingWhitespaceBeforeDoctypeName="missing-whitespace-before-doctype-name",e.missingDoctypeName="missing-doctype-name",e.invali
vendor: 4,106 bytes, line 409
409dCharacterSequenceAfterDoctypeName="invalid-character-sequence-after-doctype-name",e.duplicateAttribute="duplicate-attribute",e.nonConformingDoctype="non-conforming-doctype",e.missingDoctype="missing-doctype",e.misplacedDoctype="misplaced-doctype",e.endTagWithoutMatchingOpenElement="end-tag-without-matching-open-element",e.closingOfElementWithOpenChildElements="closing-of-element-with-open-child-elements",e.disallowedContentInNoscriptInHead="disallowed-content-in-noscript-in-head",e.openElementsLeftAfterEof="open-elements-left-after-eof",e.abandonedHeadElementChild="abandoned-head-element-child",e.misplacedStartTagForHeadElement="misplaced-start-tag-for-head-element",e.nestedNoscriptInHead="nested-noscript-in-head",e.eofInElementThatCanContainOnlyText="eof-in-element-that-can-contain-only-text"})(ge||(ge={}));const eq=65536;class tq{constructor(t){this.handler=t,this.html="",this.pos=-1,this.lastGapPos=-2,this.gapStack=[],this.skipNextNewLine=!1,this.lastChunkWritten=!1,this.endOfChunkHit=!1,this.bufferWaterline=eq,this.isEol=!1,this.lineStartPos=0,this.droppedBufferSize=0,this.line=1,this.lastErrOffset=-1}get col(){return this.pos-this.lineStartPos+ +(this.lastGapPos!==this.pos)}get offset(){return this.droppedBufferSize+this.pos}getError(t,n){const{line:r,col:a,offset:s}=this,l=a+n,u=s+n;return{code:t,startLine:r,endLine:r,startCol:l,endCol:l,startOffset:u,endOffset:u}}_err(t){this.handler.onParseError&&this.lastErrOffset!==this.offset&&(this.lastErrOffset=this.offset,this.handler.onParseError(this.getError(t,0)))}_addGap(){this.gapStack.push(this.lastGapPos),this.lastGapPos=this.pos}_processSurrogate(t){if(this.pos!==this.html.length-1){const n=this.html.charCodeAt(this.pos+1);if(Zj(n))return this.pos++,this._addGap(),Jj(t,n)}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,M.EOF;return this._err(ge.surrogateInInputStream),t}willDropParsedChunk(){return this.pos>this.bufferWaterline}dropParsedChunk(){this.willDropParsedChunk()&&(this.html=this.html.substring(this.pos),this.lineStartPos-=this.pos,this.droppedBufferSize+=this.pos,this.pos=0,this.lastGapPos=-2,this.gapStack.length=0)}write(t,n){this.html.length>0?this.html+=t:this.html=t,this.endOfChunkHit=!1,this.lastChunkWritten=n}insertHtmlAtCurrentPos(t){this.html=this.html.substring(0,this.pos+1)+t+this.html.substring(this.pos+1),this.endOfChunkHit=!1}startsWith(t,n){if(this.pos+t.length>this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,!1;if(n)return this.html.startsWith(t,this.pos);for(let r=0;r<t.length;r++)if((this.html.charCodeAt(this.pos+r)|32)!==t.charCodeAt(r))return!1;return!0}peek(t){const n=this.pos+t;if(n>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,M.EOF;const r=this.html.charCodeAt(n);return r===M.CARRIAGE_RETURN?M.LINE_FEED:r}advance(){if(this.pos++,this.isEol&&(this.isEol=!1,this.line++,this.lineStartPos=this.pos),this.pos>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,M.EOF;let t=this.html.charCodeAt(this.pos);return t===M.CARRIAGE_RETURN?(this.isEol=!0,this.skipNextNewLine=!0,M.LINE_FEED):t===M.LINE_FEED&&(this.isEol=!0,this.skipNextNewLine)?(this.line--,this.skipNextNewLine=!1,this._addGap(),this.advance()):(this.skipNextNewLine=!1,R9(t)&&(t=this._processSurrogate(t)),this.handler.onParseError===null||t>31&&t<127||t===M.LINE_FEED||t===M.CARRIAGE_RETURN||t>159&&t<64976||this._checkForProblematicCharacters(t),t)}_checkForProblematicCharacters(t){D9(t)?this._err(ge.controlCharacterInInputStream):L9(t)&&this._err(ge.noncharacterInInputStream)}retreat(t){for(this.pos-=t;this.pos<this.lastGapPos;)this.lastGapPos=this.gapStack.pop(),this.pos--;this.isEol=!1}}var lt;(function(e){e[e.CHARACTER=0]="CHARACTER",e[e.NULL_CHARACTER=1]="NULL_CHARACTER",e[e.WHITESPACE_CHARACTER=2]="WHITESPACE_CHARACTER",e[e.START_TAG=3]="START_TAG",e[e.END_TAG=4]="END_TAG",e[e.COMMENT=5]="COMMENT",e[e.DOCTYPE=6]="DOCTYPE",e[e.EOF=7]="EOF",e[e.HIBERNATION=8]="HIBERNATION"})(lt||(lt={}));function I9(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}const nq=new Uint16Array('
vendor: 16,129 bytes, line 409
409ᵁ<Õıʊҝջאٵ۞ޢߖࠏ੊ઑඡ๭༉༦჊ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ὾⁠↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms�„‹•˜¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;æ«§ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲ΂ϏϢϸontourIntegraìȹoɴ͹\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapÓºÓ¾cr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpÔ¦Ôªon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՗՚r;愰m;橳a;䎗ml耻Ë䃋ĀipÕªÕ¯sts;戃onentialE;慇ʀcfiosօֈ֍ֲ׌y;䐤r;쀀𝔉lledɓ֗\0\0Ö£mallSquare;旼erySmallSquare;斪Ͱֺ\0Ö¿\0\0ׄf;쀀𝔽All;戀riertrf;愱cò׋؀JTabcdfgorstר׬ׯ׺؀ؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d׷׸䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0Ú²f;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇܎ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgÜ´Ü·r;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ޷޼߂ߐĀiyÞ±Þµrc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄΀HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āeyß¶ß»dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣ঳সে্਷ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗ࡜ࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४Ānrࢃ࢏gleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpw৔ਖਛgȀLRlr৞৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼੝੠੷੼અઋ઎p;椅y;䐜Ādl੥੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑ඗ඞcy;䐊cute;䅃ƀaey઴હાron;䅇dil;䅅;䐝ƀgswે૰଎ativeƀMTV૓૟૨ediumSpace;怋hiĀcn૦૘ë૙eryThiî૙tedĀGL૸ଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷ଺reak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪୼஡௫ఄ౞಄ದ೘ൡඅ櫬Āou୛୤ngruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊ஛ement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater΀;EFGLSTஶஷ஽௉௓௘௥扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲௽ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ೒拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨೹setĀ;E೰ೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂ෉෕ෛ෠෧෼ขภยา฿ไlig;䅒cute耻Ó䃓Āiy෎ීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲ෶cr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬื฼de耻Õ䃕es;樷ml耻Ö䃖erĀBP๋๠Āar๐๓r;怾acĀek๚๜;揞et;掴arenthesis;揜Ҁacfhilors๿ງຊຏຒດຝະ໼rtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ໠໤檻cedesȀ;EST່້໏໚扺qual;檯lantEqual;扼ilde;找me;怳Ādp໩໮uct;戏ortionĀ;aȥ໹l;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬؀BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁࿫࿳ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL࿜࿝࿡憒ar;懥eftArrow;懄eiling;按oǵ࿹\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»࿝pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄ቉ቕ቞ቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHc቎ቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗Āeiቻ኉Dzኀ\0ኇefore;戴a;䎘Ācn኎ኘkSpace;쀀  Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0᏿ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0጖y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻፿on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;æ««y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtè૙a;䎖r;愨pf;愤cr;쀀𝒵௡ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚΀;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒΀;Eaeiop዁ᙻᙽᚂᚄᚇᚊ;æ©°cir;橯;扊d;手s;䀧roxĀ;e዁ᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;e዁ᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰ᜼ᝃᝈ᝸᝽០៦ᠹᡐᜍ᤽᥈ᥰot;櫭Ācrᛶ᜞kȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e᜚᜛戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;t፜᜷brk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓ᝛ᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯ᝱ᝳ;䎲;愶een;扬r;쀀𝔟g΀costuvwឍឝឳេ៕៛៞ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀako៭ᠦᠵĀcn៲ᠣkƀlst៺֫᠂ozenge;æ§«riangleȀ;dlr᠒᠓᠘᠝斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0á ±;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈؀DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬ᣿ᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教΀;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ᣷᣹᣻᣽;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ᤟;敛;敘;攘;攔΀;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģ᥂bar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;e᜚᜜lƀ;bhᥨᥩᥫ䁜;槅sub;柈Ŭᥴ᥾lĀ;e᥹᥺怢t»᥺pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭍᭒\0᯽\0ᰌƀcpr᦭ᦲ᧝ute;䄇̀;abcdsᦿᧀᧄ᧊᧕᧙戩nd;橄rcup;橉Āau᧏᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r΀;Ecefms᩟᩠ᩢᩫ᪤᪪᪮旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖᪚᪟»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇᫔᫺\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ᫙\0\0á«¢aĀ;t᫞᫟䀬;䁀ƀ;fl᫨᫩᫫戁îᅠeĀmx᫱᫶ent»᫩eóɍǧ᫾\0ᬇĀ;dኻᬂot;æ©­nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯΀delprvw᭠᭬᭷ᮂᮬᯔ᯹arrĀlr᭨᭪;椸;椵ɰ᭲\0\0á­µr;拞c;拟arrĀ;p᭿ᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰸᰻᰿ᱝᱩᱵᲊᲞᲬᲷ᳻᳿ᴍᵻᶑᶫᶻ᷆᷍rò΁ar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂͸᳖᳜᳠mƀ;oș᳊᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;oá³§á³°ntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;æ§¶rok;䄑Ādrá¶°á¶´ot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄ὎὚ĀDoḆᴴoôᲉĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;æ§£us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»Ṻƀaeiἒ἖Ἒls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0á¾½g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙ῜ῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao‌⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧‪‬\0‮耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₟₥₰₴⃰⃵⃺⃿℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕ₝ute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽⃉ƀ;qsؾٌ⃄lanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqr׮ⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0↎proø₞r;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢␧␭␱␵␻ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀஀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼rò৆òΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;
vendor: 4,294 bytes, line 409
409䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonó྘quigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d྘➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ᠛旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐௏쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop඄⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roø඄urĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓΀;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨í஘istĀ;s஠டr;쀀𝔫ȀEest௅⩦⩹⩼ƀ;qs஼⩭௡ƀ;qs஼௅⩴lanô௢ií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚΀AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs఻⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs఻⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast୻⭕⭚⭟lleì୻l;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖ΀chimpqu⮽⯍⯙⬄୸⯤⯯Ȁ;cerല⯆ഷ⯉uå൅;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭å೸åഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñ೗Ā;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰⳴ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥ⵲ⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;c᪞ⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācr⵩⵭ir;榿;쀀𝔬ͯ⵹\0\0⵼\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕ⶘ⶥⶨrò᪀Āir⶝ⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔ⷗ǒr;榷rp;榹΀;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ⹞\0⹽\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;
vendor: 6,210 bytes, line 409
409astЃ⹧⹲຅脀¶;l⹭⹮䂶leìЃɩ⹸\0\0⹻m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳⻴ᤈ⻹⻽⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp໬⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t໻⾴ï໻rel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⿚⋢⿟⿥⿫⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei⿾々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔઀ABHabcdefhilmnoprstux぀けさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤΀cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstw࿜ガクシスゼゾダッデナp;極Ā;f࿠ゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes㄂㄄;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ì࿲âヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘㇤㇮rrowĀ;t࿜ㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowó࿪arpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓rò࿪aòՑ;怏oustĀ;a㈞㈟掱che»㈟mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦΀Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼਴t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì⹯耻­䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;q኱ኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫ਩war;椪lig耻ß䃟௡㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rë๟ƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproø዁im»ኬsðኞĀas㚺㚮ð዁rn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈ΀adempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xô᝷headĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜΀eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roð໻tré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚΀cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜ៟tré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌
409'.split("").map(e=>e.charCodeAt(0))),rq=new Map([[0,65533],[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]]);function aq(e){var t;return e>=55296&&e<=57343||e>1114111?65533:(t=rq.get(e))!==null&&t!==void 0?t:e}var Nn;(function(e){e[e.NUM=35]="NUM",e[e.SEMI=59]="SEMI",e[e.EQUALS=61]="EQUALS",e[e.ZERO=48]="ZERO",e[e.NINE=57]="NINE",e[e.LOWER_A=97]="LOWER_A",e[e.LOWER_F=102]="LOWER_F",e[e.LOWER_X=120]="LOWER_X",e[e.LOWER_Z=122]="LOWER_Z",e[e.UPPER_A=65]="UPPER_A",e[e.UPPER_F=70]="UPPER_F",e[e.UPPER_Z=90]="UPPER_Z"})(Nn||(Nn={}));const iq=32;var xs;(function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"})(xs||(xs={}));function p2(e){return e>=Nn.ZERO&&e<=Nn.NINE}function sq(e){return e>=Nn.UPPER_A&&e<=Nn.UPPER_F||e>=Nn.LOWER_A&&e<=Nn.LOWER_F}function oq(e){return e>=Nn.UPPER_A&&e<=Nn.UPPER_Z||e>=Nn.LOWER_A&&e<=Nn.LOWER_Z||p2(e)}function lq(e){return e===Nn.EQUALS||oq(e)}var kn;(function(e){e[e.EntityStart=0]="EntityStart",e[e.NumericStart=1]="NumericStart",e[e.NumericDecimal=2]="NumericDecimal",e[e.NumericHex=3]="NumericHex",e[e.NamedEntity=4]="NamedEntity"})(kn||(kn={}));var wi;(function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"})(wi||(wi={}));class uq{constructor(t,n,r){this.decodeTree=t,this.emitCodePoint=n,this.errors=r,this.state=kn.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=wi.Strict}startEntity(t){this.decodeMode=t,this.state=kn.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(t,n){switch(this.state){case kn.EntityStart:return t.charCodeAt(n)===Nn.NUM?(this.state=kn.NumericStart,this.consumed+=1,this.stateNumericStart(t,n+1)):(this.state=kn.NamedEntity,this.stateNamedEntity(t,n));case kn.NumericStart:return this.stateNumericStart(t,n);case kn.NumericDecimal:return this.stateNumericDecimal(t,n);case kn.NumericHex:return this.stateNumericHex(t,n);case kn.NamedEntity:return this.stateNamedEntity(t,n)}}stateNumericStart(t,n){return n>=t.length?-1:(t.charCodeAt(n)|iq)===Nn.LOWER_X?(this.state=kn.NumericHex,this.consumed+=1,this.stateNumericHex(t,n+1)):(this.state=kn.NumericDecimal,this.stateNumericDecimal(t,n))}addToNumericResult(t,n,r,a){if(n!==r){const s=r-n;this.result=this.result*Math.pow(a,s)+Number.parseInt(t.substr(n,s),a),this.consumed+=s}}stateNumericHex(t,n){const r=n;for(;n<t.length;){const a=t.charCodeAt(n);if(p2(a)||sq(a))n+=1;else return this.addToNumericResult(t,r,n,16),this.emitNumericEntity(a,3)}return this.addToNumericResult(t,r,n,16),-1}stateNumericDecimal(t,n){const r=n;for(;n<t.length;){const a=t.charCodeAt(n);if(p2(a))n+=1;else return this.addToNumericResult(t,r,n,10),this.emitNumericEntity(a,2)}return this.addToNumericResult(t,r,n,10),-1}emitNumericEntity(t,n){var r;if(this.consumed<=n)return(r=this.errors)===null||r===void 0||r.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(t===Nn.SEMI)this.consumed+=1;
vendor: 4,913 bytes, line 409
409else if(this.decodeMode===wi.Strict)return 0;return this.emitCodePoint(aq(this.result),this.consumed),this.errors&&(t!==Nn.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(t,n){const{decodeTree:r}=this;let a=r[this.treeIndex],s=(a&xs.VALUE_LENGTH)>>14;for(;n<t.length;n++,this.excess++){const l=t.charCodeAt(n);if(this.treeIndex=cq(r,a,this.treeIndex+Math.max(1,s),l),this.treeIndex<0)return this.result===0||this.decodeMode===wi.Attribute&&(s===0||lq(l))?0:this.emitNotTerminatedNamedEntity();if(a=r[this.treeIndex],s=(a&xs.VALUE_LENGTH)>>14,s!==0){if(l===Nn.SEMI)return this.emitNamedEntityData(this.treeIndex,s,this.consumed+this.excess);this.decodeMode!==wi.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var t;const{result:n,decodeTree:r}=this,a=(r[n]&xs.VALUE_LENGTH)>>14;return this.emitNamedEntityData(n,a,this.consumed),(t=this.errors)===null||t===void 0||t.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(t,n,r){const{decodeTree:a}=this;return this.emitCodePoint(n===1?a[t]&~xs.VALUE_LENGTH:a[t+1],r),n===3&&this.emitCodePoint(a[t+2],r),r}end(){var t;switch(this.state){case kn.NamedEntity:return this.result!==0&&(this.decodeMode!==wi.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case kn.NumericDecimal:return this.emitNumericEntity(0,2);case kn.NumericHex:return this.emitNumericEntity(0,3);case kn.NumericStart:return(t=this.errors)===null||t===void 0||t.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case kn.EntityStart:return 0}}}function cq(e,t,n,r){const a=(t&xs.BRANCH_LENGTH)>>7,s=t&xs.JUMP_TABLE;if(a===0)return s!==0&&r===s?n:-1;if(s){const d=r-s;return d<0||d>=a?-1:e[n+d]-1}let l=n,u=l+a-1;for(;l<=u;){const d=l+u>>>1,f=e[d];if(f<r)l=d+1;else if(f>r)u=d-1;else return e[d+a]}return-1}var Se;(function(e){e.HTML="http://www.w3.org/1999/xhtml",e.MATHML="http://www.w3.org/1998/Math/MathML",e.SVG="http://www.w3.org/2000/svg",e.XLINK="http://www.w3.org/1999/xlink",e.XML="http://www.w3.org/XML/1998/namespace",e.XMLNS="http://www.w3.org/2000/xmlns/"})(Se||(Se={}));var mo;(function(e){e.TYPE="type",e.ACTION="action",e.ENCODING="encoding",e.PROMPT="prompt",e.NAME="name",e.COLOR="color",e.FACE="face",e.SIZE="size"})(mo||(mo={}));var ta;(function(e){e.NO_QUIRKS="no-quirks",e.QUIRKS="quirks",e.LIMITED_QUIRKS="limited-quirks"})(ta||(ta={}));var ie;(function(e){e.A="a",e.ADDRESS="address",e.ANNOTATION_XML="annotation-xml",e.APPLET="applet",e.AREA="area",e.ARTICLE="article",e.ASIDE="aside",e.B="b",e.BASE="base",e.BASEFONT="basefont",e.BGSOUND="bgsound",e.BIG="big",e.BLOCKQUOTE="blockquote",e.BODY="body",e.BR="br",e.BUTTON="button",e.CAPTION="caption",e.CENTER="center",e.CODE="code",e.COL="col",e.COLGROUP="colgroup",e.DD="dd",e.DESC="desc",e.DETAILS="details",e.DIALOG="dialog",e.DIR="dir",e.DIV="div",e.DL="dl",e.DT="dt",e.EM="em",e.EMBED="embed",e.FIELDSET="fieldset",e.FIGCAPTION="figcaption",e.FIGURE="figure",e.FONT="font",e.FOOTER="footer",e.FOREIGN_OBJECT="foreignObject",e.FORM="form",e.FRAME="frame",e.FRAMESET="frameset",e.H1="h1",e.H2="h2",e.H3="h3",e.H4="h4",e.H5="h5",e.H6="h6",e.HEAD="head",e.HEADER="header",e.HGROUP="hgroup",e.HR="hr",e.HTML="html",e.I="i",e.IMG="img",e.IMAGE="image",e.INPUT="input",e.IFRAME="iframe",e.KEYGEN="keygen",e.LABEL="label",e.LI="li",e.LINK="link",e.LISTING="listing",e.MAIN="main",e.MALIGNMARK="malignmark",e.MARQUEE="marquee",e.MATH="math",e.MENU="menu",e.META="meta",e.MGLYPH="mglyph",e.MI="mi",e.MO="mo",e.MN="mn",e.MS="ms",e.MTEXT="mtext",e.NAV="nav",e.NOBR="nobr",e.NOFRAMES="noframes",e.NOEMBED="noembed",e.NOSCRIPT="noscript",e.OBJECT="object",e.OL="ol",e.OPTGROUP="optgroup",e.OPTION="option",e.P="p",e.PARAM="param",e.PLAINTEXT="plaintext",e.PRE="pre",e.RB="rb",e.RP="rp",e.RT="rt",e.RTC="rtc",e.RUBY="ruby",e.S="s",e.SCRIPT="script",e.SEARCH="search",e.SECTION="section",e.SELECT="select",e.SOURCE="source",e.SMALL="small",e.SPAN="span",e.STRIKE="strike",e.STRONG="strong",e.STYLE="style",e.SUB="sub",e.SUMMARY="summary",e.SUP="sup",e.TABLE="table",e.TBODY="tbody",e.TEMPLATE="template",e.TEXTAREA="textarea",e.TFOOT="tfoot",e.TD="td",e.TH="th",e.THEAD="thead",e.TITLE="title",e.TR="tr",e.TRACK="track",e.TT="tt",e.U="u",e.UL="ul",e.SVG="svg",e.VAR="var",e.WBR="wbr",e.XMP="xmp"})(ie||(ie={}));var x;(function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.A=1]="A",e[e.ADDRESS=2]="ADDRESS",e[e.ANNOTATION_XML=3]="ANNOTATION_XML",e[e.APPLET=4]="APPLET",e[e.AREA=5]="AREA",e[e.ARTICLE=6]="ARTICLE",e[e.ASIDE=7]="ASIDE",e[e.B=8]="B",e[e.BASE=9]="BASE",e[e.BASEFONT=10]="BASEFONT",e[e.BGSOUND=11]="BGSOUND",e[e.BIG=12]="BIG",e[e.BLOCKQUOTE=13]="BLOCKQUOTE",e[e.BODY=14]="BODY",e[e.BR=15]="BR",e[e.BUTTON=16]="BUTTON",e[e.CAPTION=17]="CAPTION",e[e.CENTER=18]="CENTER",e[e.CODE=19]="CODE",e[e.COL=20]="
409COL",e[e.COLGROUP=21]="COLGROUP",e[e.DD=22]="DD",e[e.DESC=23]="DESC",e[e.DETAILS=24]="DETAILS",e[e.DIALOG=25]="DIALOG",e[e.DIR=26]="DIR",e[e.DIV=27]="DIV",e[e.DL=28]="DL",e[e.DT=29]="DT",e[e.EM=30]="EM",e[e.EMBED=31]="EMBED",e[e.FIELDSET=32]="FIELDSET",e[e.FIGCAPTION=33]="FIGCAPTION",e[e.FIGURE=34]="FIGURE",e[e.FONT=35]="FONT",e[e.FOOTER=36]="FOOTER",e[e.FOREIGN_OBJECT=37]="FOREIGN_OBJECT",e[e.FORM=38]="FORM",e[e.FRAME=39]="FRAME",e[e.FRAMESET=40]="FRAMESET",e[e.H1=41]="H1",e[e.H2=42]="H2",e[e.H3=43]="H3",e[e.H4=44]="H4",e[e.H5=45]="H5",e[e.H6=46]="H6",e[e.HEAD=47]="HEAD",e[e.HEADER=48]="HEADER",e[e.HGROUP=49]="HGROUP",e[e.HR=50]="HR",e[e.HTML=51]="HTML",e[e.I=52]="I",e[e.IMG=53]="IMG",e[e.IMAGE=54]="IMAGE",e[e.INPUT=55]="INPUT",e[e.IFRAME=56]="IFRAME",e[e.KEYGEN=57]="KEYGEN",e[e.LABEL=58]="LABEL",e[e.LI=59]="LI",e[e.LINK=60]="LINK",e[e.LISTING=61]="LISTING",e[e.MAIN=62]="MAIN",e[e.MALIGNMARK=63]="MALIGNMARK",e[e.MARQUEE=64]="MARQUEE",e[e.MATH=65]="MATH",e[e.MENU=66]="MENU",e[e.META=67]="META",e[e.MGLYPH=68]="MGLYPH",e[e.MI=69]="MI",e[e.MO=70]="MO",e[e.MN=71]="MN",e[e.MS=72]="MS",e[e.MTEXT=73]="MTEXT",e[e.NAV=74]="NAV",e[e.NOBR=75]="NOBR",e[e.NOFRAMES=76]="NOFRAMES",e[e.NOEMBED=77]="NOEMBED",e[e.NOSCRIPT=78]="NOSCRIPT",e[e.OBJECT=79]="OBJECT",e[e.OL=80]="OL",e[e.OPTGROUP=81]="OPTGROUP",e[e.OPTION=82]="OPTION",e[e.P=83]="P",e[e.PARAM=84]="PARAM",e[e.PLAINTEXT=85]="PLAINTEXT",e[e.PRE=86]="PRE",e[e.RB=87]="RB",e[e.RP=88]="RP",e[e.RT=89]="RT",e[e.RTC=90]="RTC",e[e.RUBY=91]="RUBY",e[e.S=92]="S",e[e.SCRIPT=93]="SCRIPT",e[e.SEARCH=94]="SEARCH",e[e.SECTION=95]="SECTION",e[e.SELECT=96]="SELECT",e[e.SOURCE=97]="SOURCE",e[e.SMALL=98]="SMALL",e[e.SPAN=99]="SPAN",e[e.STRIKE=100]="STRIKE",e[e.STRONG=101]="STRONG",e[e.STYLE=102]="STYLE",e[e.SUB=103]="SUB",e[e.SUMMARY=104]="SUMMARY",e[e.SUP=105]="SUP",e[e.TABLE=106]="TABLE",e[e.TBODY=107]="TBODY",e[e.TEMPLATE=108]="TEMPLATE",e[e.TEXTAREA=109]="TEXTAREA",e[e.TFOOT=110]="TFOOT",e[e.TD=111]="TD",e[e.TH=112]="TH",e[e.THEAD=113]="THEAD",e[e.TITLE=114]="TITLE",e[e.TR=115]="TR",e[e.TRACK=116]="TRACK",e[e.TT=117]="TT",e[e.U=118]="U",e[e.UL=119]="UL",e[e.SVG=120]="SVG",e[e.VAR=121]="VAR",e[e.WBR=122]="WBR",e[e.XMP=123]="XMP"})(x||(x={}));const dq=new Map([[ie.A,x.A],[ie.ADDRESS,x.ADDRESS],[ie.ANNOTATION_XML,x.ANNOTATION_XML],[ie.APPLET,x.APPLET],[ie.AREA,x.AREA],[ie.ARTICLE,x.ARTICLE],[ie.ASIDE,x.ASIDE],[ie.B,x.B],[ie.BASE,x.BASE],[ie.BASEFONT,x.BASEFONT],[ie.BGSOUND,x.BGSOUND],[ie.BIG,x.BIG],[ie.BLOCKQUOTE,x.BLOCKQUOTE],[ie.BODY,x.BODY],[ie.BR,x.BR],[ie.BUTTON,x.BUTTON],[ie.CAPTION,x.CAPTION],[ie.CENTER,x.CENTER],[ie.CODE,x.CODE],[ie.COL,x.COL],[ie.COLGROUP,x.COLGROUP],[ie.DD,x.DD],[ie.DESC,x.DESC],[ie.DETAILS,x.DETAILS],[ie.DIALOG,x.DIALOG],[ie.DIR,x.DIR],[ie.DIV,x.DIV],[ie.DL,x.DL],[ie.DT,x.DT],[ie.EM,x.EM],[ie.EMBED,x.EMBED],[ie.FIELDSET,x.FIELDSET],[ie.FIGCAPTION,x.FIGCAPTION],[ie.FIGURE,x.FIGURE],[ie.FONT,x.FONT],[ie.FOOTER,x.FOOTER],[ie.FOREIGN_OBJECT,x.FOREIGN_OBJECT],[ie.FORM,x.FORM],[ie.FRAME,x.FRAME],[ie.FRAMESET,x.FRAMESET],[ie.H1,x.H1],[ie.H2,x.H2],[ie.H3,x.H3],[ie.H4,x.H4],[ie.H5,x.H5],[ie.H6,x.H6],[ie.HEAD,x.HEAD],[ie.HEADER,x.HEADER],[ie.HGROUP,x.HGROUP],[ie.HR,x.HR],[ie.HTML,x.HTML],[ie.I,x.I],[ie.IMG,x.IMG],[ie.IMAGE,x.IMAGE],[ie.INPUT,x.INPUT],[ie.IFRAME,x.IFRAME],[ie.KEYGEN,x.KEYGEN],[ie.LABEL,x.LABEL],[ie.LI,x.LI],[ie.LINK,x.LINK],[ie.LISTING,x.LISTING],[ie.MAIN,x.MAIN],[ie.MALIGNMARK,x.MALIGNMARK],[ie.MARQUEE,x.MARQUEE],[ie.MATH,x.MATH],[ie.MENU,x.MENU],[ie.META,x.META],[ie.MGLYPH,x.MGLYPH],[ie.MI,x.MI],[ie.MO,x.MO],[ie.MN,x.MN],[ie.MS,x.MS],[ie.MTEXT,x.MTEXT],[ie.NAV,x.NAV],[ie.NOBR,x.NOBR],[ie.NOFRAMES,x.NOFRAMES],[ie.NOEMBED,x.NOEMBED],[ie.NOSCRIPT,x.NOSCRIPT],[ie.OBJECT,x.OBJECT],[ie.OL,x.OL],[ie.OPTGROUP,x.OPTGROUP],[ie.OPTION,x.OPTION],[ie.P,x.P],[ie.PARAM,x.PARAM],[ie.PLAINTEXT,x.PLAINTEXT],[ie.PRE,x.PRE],[ie.RB,x.RB],[ie.RP,x.RP],[ie.RT,x.RT],[ie.RTC,x.RTC],[ie.RUBY,x.RUBY],[ie.S,x.S],[ie.SCRIPT,x.SCRIPT],[ie.SEARCH,x.SEARCH],[ie.SECTION,x.SECTION],[ie.SELECT,x.SELECT],[ie.SOURCE,x.SOURCE],[ie.SMALL,x.SMALL],[ie.SPAN,x.SPAN],[ie.STRIKE,x.STRIKE],[ie.STRONG,x.STRONG],[ie.STYLE,x.STYLE],[ie.SUB,x.SUB],[ie.SUMMARY,x.SUMMARY],[ie.SUP,x.SUP],[ie.TABLE,x.TABLE],[ie.TBODY,x.TBODY],[ie.TEMPLATE,x.TEMPLATE],[ie.TEXTAREA,x.TEXTAREA],[ie.TFOOT,x.TFOOT],[ie.TD,x.TD],[ie.TH,x.TH],[ie.THEAD,x.THEAD],[ie.TITLE,x.TITLE],[ie.TR,x.TR],[ie.TRACK,x.TRACK],[ie.TT,x.TT],[ie.U,x.U],[ie.UL,x.UL],[ie.SVG,x.SVG],[ie.VAR,x.VAR
vendor: 14,305 bytes, line 409
409],[ie.WBR,x.WBR],[ie.XMP,x.XMP]]);function iu(e){var t;return(t=dq.get(e))!==null&&t!==void 0?t:x.UNKNOWN}const we=x,fq={[Se.HTML]:new Set([we.ADDRESS,we.APPLET,we.AREA,we.ARTICLE,we.ASIDE,we.BASE,we.BASEFONT,we.BGSOUND,we.BLOCKQUOTE,we.BODY,we.BR,we.BUTTON,we.CAPTION,we.CENTER,we.COL,we.COLGROUP,we.DD,we.DETAILS,we.DIR,we.DIV,we.DL,we.DT,we.EMBED,we.FIELDSET,we.FIGCAPTION,we.FIGURE,we.FOOTER,we.FORM,we.FRAME,we.FRAMESET,we.H1,we.H2,we.H3,we.H4,we.H5,we.H6,we.HEAD,we.HEADER,we.HGROUP,we.HR,we.HTML,we.IFRAME,we.IMG,we.INPUT,we.LI,we.LINK,we.LISTING,we.MAIN,we.MARQUEE,we.MENU,we.META,we.NAV,we.NOEMBED,we.NOFRAMES,we.NOSCRIPT,we.OBJECT,we.OL,we.P,we.PARAM,we.PLAINTEXT,we.PRE,we.SCRIPT,we.SECTION,we.SELECT,we.SOURCE,we.STYLE,we.SUMMARY,we.TABLE,we.TBODY,we.TD,we.TEMPLATE,we.TEXTAREA,we.TFOOT,we.TH,we.THEAD,we.TITLE,we.TR,we.TRACK,we.UL,we.WBR,we.XMP]),[Se.MATHML]:new Set([we.MI,we.MO,we.MN,we.MS,we.MTEXT,we.ANNOTATION_XML]),[Se.SVG]:new Set([we.TITLE,we.FOREIGN_OBJECT,we.DESC]),[Se.XLINK]:new Set,[Se.XML]:new Set,[Se.XMLNS]:new Set},g2=new Set([we.H1,we.H2,we.H3,we.H4,we.H5,we.H6]);ie.STYLE,ie.SCRIPT,ie.XMP,ie.IFRAME,ie.NOEMBED,ie.NOFRAMES,ie.PLAINTEXT;var F;(function(e){e[e.DATA=0]="DATA",e[e.RCDATA=1]="RCDATA",e[e.RAWTEXT=2]="RAWTEXT",e[e.SCRIPT_DATA=3]="SCRIPT_DATA",e[e.PLAINTEXT=4]="PLAINTEXT",e[e.TAG_OPEN=5]="TAG_OPEN",e[e.END_TAG_OPEN=6]="END_TAG_OPEN",e[e.TAG_NAME=7]="TAG_NAME",e[e.RCDATA_LESS_THAN_SIGN=8]="RCDATA_LESS_THAN_SIGN",e[e.RCDATA_END_TAG_OPEN=9]="RCDATA_END_TAG_OPEN",e[e.RCDATA_END_TAG_NAME=10]="RCDATA_END_TAG_NAME",e[e.RAWTEXT_LESS_THAN_SIGN=11]="RAWTEXT_LESS_THAN_SIGN",e[e.RAWTEXT_END_TAG_OPEN=12]="RAWTEXT_END_TAG_OPEN",e[e.RAWTEXT_END_TAG_NAME=13]="RAWTEXT_END_TAG_NAME",e[e.SCRIPT_DATA_LESS_THAN_SIGN=14]="SCRIPT_DATA_LESS_THAN_SIGN",e[e.SCRIPT_DATA_END_TAG_OPEN=15]="SCRIPT_DATA_END_TAG_OPEN",e[e.SCRIPT_DATA_END_TAG_NAME=16]="SCRIPT_DATA_END_TAG_NAME",e[e.SCRIPT_DATA_ESCAPE_START=17]="SCRIPT_DATA_ESCAPE_START",e[e.SCRIPT_DATA_ESCAPE_START_DASH=18]="SCRIPT_DATA_ESCAPE_START_DASH",e[e.SCRIPT_DATA_ESCAPED=19]="SCRIPT_DATA_ESCAPED",e[e.SCRIPT_DATA_ESCAPED_DASH=20]="SCRIPT_DATA_ESCAPED_DASH",e[e.SCRIPT_DATA_ESCAPED_DASH_DASH=21]="SCRIPT_DATA_ESCAPED_DASH_DASH",e[e.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN=22]="SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN",e[e.SCRIPT_DATA_ESCAPED_END_TAG_OPEN=23]="SCRIPT_DATA_ESCAPED_END_TAG_OPEN",e[e.SCRIPT_DATA_ESCAPED_END_TAG_NAME=24]="SCRIPT_DATA_ESCAPED_END_TAG_NAME",e[e.SCRIPT_DATA_DOUBLE_ESCAPE_START=25]="SCRIPT_DATA_DOUBLE_ESCAPE_START",e[e.SCRIPT_DATA_DOUBLE_ESCAPED=26]="SCRIPT_DATA_DOUBLE_ESCAPED",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_DASH=27]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH=28]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN=29]="SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN",e[e.SCRIPT_DATA_DOUBLE_ESCAPE_END=30]="SCRIPT_DATA_DOUBLE_ESCAPE_END",e[e.BEFORE_ATTRIBUTE_NAME=31]="BEFORE_ATTRIBUTE_NAME",e[e.ATTRIBUTE_NAME=32]="ATTRIBUTE_NAME",e[e.AFTER_ATTRIBUTE_NAME=33]="AFTER_ATTRIBUTE_NAME",e[e.BEFORE_ATTRIBUTE_VALUE=34]="BEFORE_ATTRIBUTE_VALUE",e[e.ATTRIBUTE_VALUE_DOUBLE_QUOTED=35]="ATTRIBUTE_VALUE_DOUBLE_QUOTED",e[e.ATTRIBUTE_VALUE_SINGLE_QUOTED=36]="ATTRIBUTE_VALUE_SINGLE_QUOTED",e[e.ATTRIBUTE_VALUE_UNQUOTED=37]="ATTRIBUTE_VALUE_UNQUOTED",e[e.AFTER_ATTRIBUTE_VALUE_QUOTED=38]="AFTER_ATTRIBUTE_VALUE_QUOTED",e[e.SELF_CLOSING_START_TAG=39]="SELF_CLOSING_START_TAG",e[e.BOGUS_COMMENT=40]="BOGUS_COMMENT",e[e.MARKUP_DECLARATION_OPEN=41]="MARKUP_DECLARATION_OPEN",e[e.COMMENT_START=42]="COMMENT_START",e[e.COMMENT_START_DASH=43]="COMMENT_START_DASH",e[e.COMMENT=44]="COMMENT",e[e.COMMENT_LESS_THAN_SIGN=45]="COMMENT_LESS_THAN_SIGN",e[e.COMMENT_LESS_THAN_SIGN_BANG=46]="COMMENT_LESS_THAN_SIGN_BANG",e[e.COMMENT_LESS_THAN_SIGN_BANG_DASH=47]="COMMENT_LESS_THAN_SIGN_BANG_DASH",e[e.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH=48]="COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH",e[e.COMMENT_END_DASH=49]="COMMENT_END_DASH",e[e.COMMENT_END=50]="COMMENT_END",e[e.COMMENT_END_BANG=51]="COMMENT_END_BANG",e[e.DOCTYPE=52]="DOCTYPE",e[e.BEFORE_DOCTYPE_NAME=53]="BEFORE_DOCTYPE_NAME",e[e.DOCTYPE_NAME=54]="DOCTYPE_NAME",e[e.AFTER_DOCTYPE_NAME=55]="AFTER_DOCTYPE_NAME",e[e.AFTER_DOCTYPE_PUBLIC_KEYWORD=56]="AFTER_DOCTYPE_PUBLIC_KEYWORD",e[e.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER=57]="BEFORE_DOCTYPE_PUBLIC_IDENTIFIER",e[e.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED=58]="DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED",e[e.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED=59]="DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED",e[e.AFTER_DOCTYPE_PUBLIC_IDENTIFIER=60]="AFTER_DOCTYPE_PUBLIC_IDENTIFIER",e[e.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS=61]="BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS",e[e.AFTER_DOCTYPE_SYSTEM_KEYWORD=62]="AFTER_DOCTYPE_SYSTEM_KEYWORD",e[e.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER=63]="BEFORE_DOCTYPE_SYSTEM_IDENTIFIER",e[e.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED=64]="DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED",e[e.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED=65]="DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED",e[e.AFTER_DOCTYPE_SYSTEM_IDENTIFIER=66]="AFTER_DOCTYPE_SYSTEM_IDENTIFIER",e[e.BOGUS_DOCTYPE=67]="BOGUS_DOCTYPE",e[e.CDATA_SECTION=68]="CDATA_SECTION",e[e.CDATA_SECTION_BRACKET=69]="CDATA_SECTION_BRACKET",e[e.CDATA_SECTION_END=70]="CDATA_SECTION_END",e[e.CHARACTER_REFERENCE=71]="CHARACTER_REFERENCE",e[e.AMBIGUOUS_AMPERSAND=72]="AMBIGUOUS_AMPERSAND"})(F||(F={}));const on={DATA:F.DATA,RCDATA:F.RCDATA,RAWTEXT:F.RAWTEXT,SCRIPT_DATA:F.SCRIPT_DATA,PLAINTEXT:F.PLAINTEXT,CDATA_SECTION:F.CDATA_SECTION};function hq(e){return e>=M.DIGIT_0&&e<=M.DIGIT_9}function pc(e){return e>=M.LATIN_CAPITAL_A&&e<=M.LATIN_CAPITAL_Z}function mq(e){return e>=M.LATIN_SMALL_A&&e<=M.LATIN_SMALL_Z}function ms(e){return mq(e)||pc(e)}function i8(e){return ms(e)||hq(e)}function Jd(e){return e+32}function M9(e){return e===M.SPACE||e===M.LINE_FEED||e===M.TABULATION||e===M.FORM_FEED}function s8(e){return M9(e)||e===M.SOLIDUS||e===M.GREATER_THAN_SIGN}function pq(e){return e===M.NULL?ge.nullCharacterReference:e>1114111?ge.characterReferenceOutsideUnicodeRange:R9(e)?ge.surrogateCharacterReference:L9(e)?ge.noncharacterCharacterReference:D9(e)||e===M.CARRIAGE_RETURN?ge.controlCharacterReference:null}class gq{constructor(t,n){this.options=t,this.handler=n,this.paused=!1,this.inLoop=!1,this.inForeignNode=!1,this.lastStartTagName="",this.active=!1,this.state=F.DATA,this.returnState=F.DATA,this.entityStartPos=0,this.consumedAfterSnapshot=-1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr={name:"",value:""},this.preprocessor=new tq(n),this.currentLocation=this.getCurrentLocation(-1),this.entityDecoder=new uq(nq,(r,a)=>{this.preprocessor.pos=this.entityStartPos+a-1,this._flushCodePointConsumedAsCharacterReference(r)},n.onParseError?{missingSemicolonAfterCharacterReference:()=>{this._err(ge.missingSemicolonAfterCharacterReference,1)},absenceOfDigitsInNumericCharacterReference:r=>{this._err(ge.absenceOfDigitsInNumericCharacterReference,this.entityStartPos-this.preprocessor.pos+r)},validateNumericCharacterReference:r=>{const a=pq(r);a&&this._err(a,1)}}:void 0)}_err(t,n=0){var r,a;(a=(r=this.handler).onParseError)===null||a===void 0||a.call(r,this.preprocessor.getError(t,n))}getCurrentLocation(t){return this.options.sourceCodeLocationInfo?{startLine:this.preprocessor.line,startCol:this.preprocessor.col-t,startOffset:this.preprocessor.offset-t,endLine:-1,endCol:-1,endOffset:-1}:null}_runParsingLoop(){if(!this.inLoop){for(this.inLoop=!0;this.active&&!this.paused;){this.consumedAfterSnapshot=0;const t=this._consume();this._ensureHibernation()||this._callState(t)}this.inLoop=!1}}pause(){this.paused=!0}resume(t){if(!this.paused)throw new Error("Parser was already resumed");this.paused=!1,!this.inLoop&&(this._runParsingLoop(),this.paused||t?.())}write(t,n,r){this.active=!0,this.preprocessor.write(t,n),this._runParsingLoop(),this.paused||r?.()}insertHtmlAtCurrentPos(t){this.active=!0,this.preprocessor.insertHtmlAtCurrentPos(t),this._runParsingLoop()}_ensureHibernation(){return this.preprocessor.endOfChunkHit?(this.preprocessor.retreat(this.consumedAfterSnapshot),this.consumedAfterSnapshot=0,this.active=!1,!0):!1}_consume(){return this.consumedAfterSnapshot++,this.preprocessor.advance()}_advanceBy(t){this.consumedAfterSnapshot+=t;for(let n=0;n<t;n++)this.preprocessor.advance()}_consumeSequenceIfMatch(t,n){return this.preprocessor.startsWith(t,n)?(this._advanceBy(t.length-1),!0):!1}_createStartTagToken(){this.currentToken={type:lt.START_TAG,tagName:"",tagID:x.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(1)}}_createEndTagToken(){this.currentToken={type:lt.END_TAG,tagName:"",tagID:x.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(2)}}_createCommentToken(t){this.currentToken={type:lt.COMMENT,data:"",location:this.getCurrentLocation(t)}}_createDoctypeToken(t){this.currentToken={type:lt.DOCTYPE,name:t,forceQuirks:!1,publicId:null,systemId:null,location:this.currentLocation}}_createCharacterToken(t,n){this.currentCharacterToken={type:t,chars:n,location:this.currentLocation}}_createAttr(t){this.currentAttr={name:t,value:""},this.currentLocation=this.getCurrentLocation(0)}_leaveAttrName(){var t,n;const r=this.currentToken;if(I9(r,this.currentAttr.name)===null){if(r.attrs.push(this.currentAttr),r.location&&this.currentLocation){const a=(t=(n=r.location).attrs)!==null&&t!==void 0?t:n.attrs=Object.create(null);a[this.currentAttr.name]=this.currentLocation,this._leaveAttrValue()}}else this._err(ge.duplicateAttribute)}_leaveAttrValue(){this.currentLocation&&(this.currentLocation.endLine=this.preprocessor.line,this.currentLocation.endCol=this.preprocessor.col,this.currentLocation.endOffset=this.preprocessor.offset)}prepareToken(t){this._emitCurrentCharacterToken(t.location),this.currentToken=null,t.location&&(t.location.endLine=this.preprocessor.line,t.location.endCol=this.preprocessor.col+1,t.location.endOffset=this.preprocessor.offset+1),this.currentLocation=this.getCurrentLocation(-1)}emitCurrentTagToken(){const t=this.currentToken;this.prepareToken(t),t.tagID=iu(t.tagName),t.type===lt.START_TAG?(this.lastStartTagName=t.tagName,this.handler.onStartTag(t)):(t.attrs.length>0&&this._err(ge.endTagWithAttributes),t.selfClosing&&this._err(ge.endTagWithTrailingSolidus),this.handler.onEndTag(t)),this.preprocessor.dropParsedChunk()}emitCurrentComment(t){this.prepareToken(t),this.handler.onComment(t),this.preprocessor.dropParsedChunk()}emitCurrentDoctype(t){this.prepareToken(t),this.handler.onDoctype(t),this.preprocessor.dropParsedChunk()}_emitCurrentCharacterToken(t){if(this.currentCharacterToken){switch(t&&this.currentCharacterToken.location&&(this.currentCharacterToken.location.endLine=t.startLine,this.currentCharacterToken.location.endCol=t.startCol,this.currentCharacterToken.location.endOffset=t.startOffset),this.currentCharacterToken.type){case lt.CHARACTER:{this.handler.onCharacter(this.currentCharacterToken);break}case lt.NULL_CHARACTER:{this.handler.onNullCharacter(this.currentCharacterToken);break}case lt.WHITESPACE_CHARACTER:{this.handler.onWhitespaceCharacter(this.currentCharacterToken);break}}this.currentCharacterToken=null}}_emitEOFToken(){const t=this.getCurrentLocation(0);t&&(t.endLine=t.startLine,t.endCol=t.startCol,t.endOffset=t.startOffset),this._emitCurrentCharacterToken(t),this.handler.onEof({type:lt.EOF,location:t}),this.active=!1}_appendCharToCurrentCharacterToken(t,n){if(this.currentCharacterToken)if(this.currentCharacterToken.type===t){this.currentCharacterToken.chars+=n;return}else this.currentLocation=this.getCurrentLocation(0),this._emitCurrentCharacterToken(this.currentLocation),this.preprocessor.dropParsedChunk();this._createCharacterToken(t,n)}_emitCodePoint(t){const n=M9(t)?lt.WHITESPACE_CHARACTER:t===M.NULL?lt.NULL_CHARACTER:lt.CHARACTER;this._appendCharToCurrentCharacterToken(n,String.fromCodePoint(t))}_emitChars(t){this._appendCharToCurrentCharacterToken(lt.CHARACTER,t)}_startCharacterReference(){this.returnState=this.state,this.state=F.CHARACTER_REFERENCE,this.entityStartPos=this.preprocessor.pos,this.entityDecoder.startEntity(this._isCharacterReferenceInAttribute()?wi.Attribute:wi.Legacy)}_isCharacterReferenceInAttribute(){return this.returnState===F.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===F.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===F.ATTRIBUTE_VALUE_UNQUOTED}_flushCodePointConsumedAsCharacterReference(t){this._isCharacterReferenceInAttribute()?this.currentAttr.value+=String.fromCodePoint(t):this._emitCodePoint(t)}_callState(t){switch(this.state){case F.DATA:{this._stateData(t);break}case F.RCDATA:{this._stateRcdata(t);break}case F.RAWTEXT:{this._stateRawtext(t);break}case F.SCRIPT_DATA:{this._stateScriptData(t);break}case F.PLAINTEXT:{this._statePlaintext(t);break}case F.TAG_OPEN:{this._stateTagOpen(t);break}case F.END_TAG_OPEN:{this._stateEndTagOpen(t);break}case F.TAG_NAME:{this._stateTagName(t);break}case F.RCDATA_LESS_THAN_SIGN:{this._stateRcdataLessThanSign(t);break}case F.RCDATA_END_TAG_OPEN:{this._stateRcdataEndTagOpen(t);break}case F.RCDATA_END_TAG_NAME:{this._stateRcdataEndTagName(t);break}case F.RAWTEXT_LESS_THAN_SIGN:{this._stateRawtextLessThanSign(t);break}case F.RAWTEXT_END_TAG_OPEN:{this._stateRawtextEndTagOpen(t);break}case F.RAWTEXT_END_TAG_NAME:{this._stateRawtextEndTagName(t);break}case F.SCRIPT_DATA_LESS_THAN_SIGN:{this._stateScriptDataLessThanSign(t);break}case F.SCRIPT_DATA_END_TAG_OPEN:{this._stateScriptDataEndTagOpen(t);break}case F.SCRIPT_DATA_END_TAG_NAME:{this._stateScriptDataEndTagName(t);break}case F.SCRIPT_DATA_ESCAPE_START:{this._stateScriptDataEscapeStart(t);break}case F.SCRIPT_DATA_ESCAPE_START_DASH:{this._stateScriptDataEscapeStartDash(t);break}case F.SCRIPT_DATA_ESCAPED:{this._stateScriptDataEscaped(t);break}case F.SCRIPT_DATA_ESCAPED_DASH:{this._stateScriptDataEscapedDash(t);break}case F.SCRIPT_DATA_ESCAPED_DASH_DASH:{this._stateScriptDataEscapedDashDash(t);break}case F.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataEscapedLessThanSign(t);break}case F.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:{this._stateScriptDataEscapedEndTagOpen(t);break}case F.SCRIPT_DATA_ESCAPED_END_TAG_NAME:{this._stateScriptDataEscapedEndTagName(t);break}case F.SCRIPT_DATA_DOUBLE_ESCAPE_START:{this._stateScriptDataDoubleEscape
vendor: 5,361 bytes, line 409
409Start(t);break}case F.SCRIPT_DATA_DOUBLE_ESCAPED:{this._stateScriptDataDoubleEscaped(t);break}case F.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:{this._stateScriptDataDoubleEscapedDash(t);break}case F.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:{this._stateScriptDataDoubleEscapedDashDash(t);break}case F.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataDoubleEscapedLessThanSign(t);break}case F.SCRIPT_DATA_DOUBLE_ESCAPE_END:{this._stateScriptDataDoubleEscapeEnd(t);break}case F.BEFORE_ATTRIBUTE_NAME:{this._stateBeforeAttributeName(t);break}case F.ATTRIBUTE_NAME:{this._stateAttributeName(t);break}case F.AFTER_ATTRIBUTE_NAME:{this._stateAfterAttributeName(t);break}case F.BEFORE_ATTRIBUTE_VALUE:{this._stateBeforeAttributeValue(t);break}case F.ATTRIBUTE_VALUE_DOUBLE_QUOTED:{this._stateAttributeValueDoubleQuoted(t);break}case F.ATTRIBUTE_VALUE_SINGLE_QUOTED:{this._stateAttributeValueSingleQuoted(t);break}case F.ATTRIBUTE_VALUE_UNQUOTED:{this._stateAttributeValueUnquoted(t);break}case F.AFTER_ATTRIBUTE_VALUE_QUOTED:{this._stateAfterAttributeValueQuoted(t);break}case F.SELF_CLOSING_START_TAG:{this._stateSelfClosingStartTag(t);break}case F.BOGUS_COMMENT:{this._stateBogusComment(t);break}case F.MARKUP_DECLARATION_OPEN:{this._stateMarkupDeclarationOpen(t);break}case F.COMMENT_START:{this._stateCommentStart(t);break}case F.COMMENT_START_DASH:{this._stateCommentStartDash(t);break}case F.COMMENT:{this._stateComment(t);break}case F.COMMENT_LESS_THAN_SIGN:{this._stateCommentLessThanSign(t);break}case F.COMMENT_LESS_THAN_SIGN_BANG:{this._stateCommentLessThanSignBang(t);break}case F.COMMENT_LESS_THAN_SIGN_BANG_DASH:{this._stateCommentLessThanSignBangDash(t);break}case F.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:{this._stateCommentLessThanSignBangDashDash(t);break}case F.COMMENT_END_DASH:{this._stateCommentEndDash(t);break}case F.COMMENT_END:{this._stateCommentEnd(t);break}case F.COMMENT_END_BANG:{this._stateCommentEndBang(t);break}case F.DOCTYPE:{this._stateDoctype(t);break}case F.BEFORE_DOCTYPE_NAME:{this._stateBeforeDoctypeName(t);break}case F.DOCTYPE_NAME:{this._stateDoctypeName(t);break}case F.AFTER_DOCTYPE_NAME:{this._stateAfterDoctypeName(t);break}case F.AFTER_DOCTYPE_PUBLIC_KEYWORD:{this._stateAfterDoctypePublicKeyword(t);break}case F.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateBeforeDoctypePublicIdentifier(t);break}case F.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypePublicIdentifierDoubleQuoted(t);break}case F.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypePublicIdentifierSingleQuoted(t);break}case F.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateAfterDoctypePublicIdentifier(t);break}case F.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:{this._stateBetweenDoctypePublicAndSystemIdentifiers(t);break}case F.AFTER_DOCTYPE_SYSTEM_KEYWORD:{this._stateAfterDoctypeSystemKeyword(t);break}case F.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateBeforeDoctypeSystemIdentifier(t);break}case F.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypeSystemIdentifierDoubleQuoted(t);break}case F.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypeSystemIdentifierSingleQuoted(t);break}case F.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateAfterDoctypeSystemIdentifier(t);break}case F.BOGUS_DOCTYPE:{this._stateBogusDoctype(t);break}case F.CDATA_SECTION:{this._stateCdataSection(t);break}case F.CDATA_SECTION_BRACKET:{this._stateCdataSectionBracket(t);break}case F.CDATA_SECTION_END:{this._stateCdataSectionEnd(t);break}case F.CHARACTER_REFERENCE:{this._stateCharacterReference();break}case F.AMBIGUOUS_AMPERSAND:{this._stateAmbiguousAmpersand(t);break}default:throw new Error("Unknown state")}}_stateData(t){switch(t){case M.LESS_THAN_SIGN:{this.state=F.TAG_OPEN;break}case M.AMPERSAND:{this._startCharacterReference();break}case M.NULL:{this._err(ge.unexpectedNullCharacter),this._emitCodePoint(t);break}case M.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateRcdata(t){switch(t){case M.AMPERSAND:{this._startCharacterReference();break}case M.LESS_THAN_SIGN:{this.state=F.RCDATA_LESS_THAN_SIGN;break}case M.NULL:{this._err(ge.unexpectedNullCharacter),this._emitChars(qt);break}case M.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateRawtext(t){switch(t){case M.LESS_THAN_SIGN:{this.state=F.RAWTEXT_LESS_THAN_SIGN;break}case M.NULL:{this._err(ge.unexpectedNullCharacter),this._emitChars(qt);break}case M.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateScriptData(t){switch(t){case M.LESS_THAN_SIGN:{this.state=F.SCRIPT_DATA_LESS_THAN_SIGN;break}case M.NULL:{this._err(ge.unexpectedNullCharacter),this._emitChars(qt);break}case M.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_statePlaintext(t){switch(t){case M.NULL:{this._err(ge.unexpectedNullCharacter),this._emitChars(qt);break}case M.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateTagOpen(t){if(ms(t))this._createStartTagToken(),this.state=F.TAG_NAME,this._stateTagName(t);else switch(t){case M.EXCLAMATION_MARK:{this.state=F.MARKUP_DECLARATION_OPEN;break}case M.SOLIDUS:{this.state=F.END_TAG_OPEN;break}case M.QUESTION_MARK:{this._err(ge.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=F.BOGUS_COMMENT,this._stateBogusComment(t);break}case M.EOF:{this._err(ge.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken();break}
vendor: 98,751 bytes, line 409
409default:this._err(ge.invalidFirstCharacterOfTagName),this._emitChars("<"),this.state=F.DATA,this._stateData(t)}}_stateEndTagOpen(t){if(ms(t))this._createEndTagToken(),this.state=F.TAG_NAME,this._stateTagName(t);else switch(t){case M.GREATER_THAN_SIGN:{this._err(ge.missingEndTagName),this.state=F.DATA;break}case M.EOF:{this._err(ge.eofBeforeTagName),this._emitChars("</"),this._emitEOFToken();break}default:this._err(ge.invalidFirstCharacterOfTagName),this._createCommentToken(2),this.state=F.BOGUS_COMMENT,this._stateBogusComment(t)}}_stateTagName(t){const n=this.currentToken;switch(t){case M.SPACE:case M.LINE_FEED:case M.TABULATION:case M.FORM_FEED:{this.state=F.BEFORE_ATTRIBUTE_NAME;break}case M.SOLIDUS:{this.state=F.SELF_CLOSING_START_TAG;break}case M.GREATER_THAN_SIGN:{this.state=F.DATA,this.emitCurrentTagToken();break}case M.NULL:{this._err(ge.unexpectedNullCharacter),n.tagName+=qt;break}case M.EOF:{this._err(ge.eofInTag),this._emitEOFToken();break}default:n.tagName+=String.fromCodePoint(pc(t)?Jd(t):t)}}_stateRcdataLessThanSign(t){t===M.SOLIDUS?this.state=F.RCDATA_END_TAG_OPEN:(this._emitChars("<"),this.state=F.RCDATA,this._stateRcdata(t))}_stateRcdataEndTagOpen(t){ms(t)?(this.state=F.RCDATA_END_TAG_NAME,this._stateRcdataEndTagName(t)):(this._emitChars("</"),this.state=F.RCDATA,this._stateRcdata(t))}handleSpecialEndTag(t){if(!this.preprocessor.startsWith(this.lastStartTagName,!1))return!this._ensureHibernation();this._createEndTagToken();const n=this.currentToken;switch(n.tagName=this.lastStartTagName,this.preprocessor.peek(this.lastStartTagName.length)){case M.SPACE:case M.LINE_FEED:case M.TABULATION:case M.FORM_FEED:return this._advanceBy(this.lastStartTagName.length),this.state=F.BEFORE_ATTRIBUTE_NAME,!1;case M.SOLIDUS:return this._advanceBy(this.lastStartTagName.length),this.state=F.SELF_CLOSING_START_TAG,!1;case M.GREATER_THAN_SIGN:return this._advanceBy(this.lastStartTagName.length),this.emitCurrentTagToken(),this.state=F.DATA,!1;default:return!this._ensureHibernation()}}_stateRcdataEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=F.RCDATA,this._stateRcdata(t))}_stateRawtextLessThanSign(t){t===M.SOLIDUS?this.state=F.RAWTEXT_END_TAG_OPEN:(this._emitChars("<"),this.state=F.RAWTEXT,this._stateRawtext(t))}_stateRawtextEndTagOpen(t){ms(t)?(this.state=F.RAWTEXT_END_TAG_NAME,this._stateRawtextEndTagName(t)):(this._emitChars("</"),this.state=F.RAWTEXT,this._stateRawtext(t))}_stateRawtextEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=F.RAWTEXT,this._stateRawtext(t))}_stateScriptDataLessThanSign(t){switch(t){case M.SOLIDUS:{this.state=F.SCRIPT_DATA_END_TAG_OPEN;break}case M.EXCLAMATION_MARK:{this.state=F.SCRIPT_DATA_ESCAPE_START,this._emitChars("<!");break}default:this._emitChars("<"),this.state=F.SCRIPT_DATA,this._stateScriptData(t)}}_stateScriptDataEndTagOpen(t){ms(t)?(this.state=F.SCRIPT_DATA_END_TAG_NAME,this._stateScriptDataEndTagName(t)):(this._emitChars("</"),this.state=F.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=F.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEscapeStart(t){t===M.HYPHEN_MINUS?(this.state=F.SCRIPT_DATA_ESCAPE_START_DASH,this._emitChars("-")):(this.state=F.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEscapeStartDash(t){t===M.HYPHEN_MINUS?(this.state=F.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-")):(this.state=F.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEscaped(t){switch(t){case M.HYPHEN_MINUS:{this.state=F.SCRIPT_DATA_ESCAPED_DASH,this._emitChars("-");break}case M.LESS_THAN_SIGN:{this.state=F.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case M.NULL:{this._err(ge.unexpectedNullCharacter),this._emitChars(qt);break}case M.EOF:{this._err(ge.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateScriptDataEscapedDash(t){switch(t){case M.HYPHEN_MINUS:{this.state=F.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-");break}case M.LESS_THAN_SIGN:{this.state=F.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case M.NULL:{this._err(ge.unexpectedNullCharacter),this.state=F.SCRIPT_DATA_ESCAPED,this._emitChars(qt);break}case M.EOF:{this._err(ge.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=F.SCRIPT_DATA_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataEscapedDashDash(t){switch(t){case M.HYPHEN_MINUS:{this._emitChars("-");break}case M.LESS_THAN_SIGN:{this.state=F.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case M.GREATER_THAN_SIGN:{this.state=F.SCRIPT_DATA,this._emitChars(">");break}case M.NULL:{this._err(ge.unexpectedNullCharacter),this.state=F.SCRIPT_DATA_ESCAPED,this._emitChars(qt);break}case M.EOF:{this._err(ge.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=F.SCRIPT_DATA_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataEscapedLessThanSign(t){t===M.SOLIDUS?this.state=F.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:ms(t)?(this._emitChars("<"),this.state=F.SCRIPT_DATA_DOUBLE_ESCAPE_START,this._stateScriptDataDoubleEscapeStart(t)):(this._emitChars("<"),this.state=F.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataEscapedEndTagOpen(t){ms(t)?(this.state=F.SCRIPT_DATA_ESCAPED_END_TAG_NAME,this._stateScriptDataEscapedEndTagName(t)):(this._emitChars("</"),this.state=F.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataEscapedEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=F.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataDoubleEscapeStart(t){if(this.preprocessor.startsWith(gr.SCRIPT,!1)&&s8(this.preprocessor.peek(gr.SCRIPT.length))){this._emitCodePoint(t);for(let n=0;n<gr.SCRIPT.length;n++)this._emitCodePoint(this._consume());this.state=F.SCRIPT_DATA_DOUBLE_ESCAPED}else this._ensureHibernation()||(this.state=F.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataDoubleEscaped(t){switch(t){case M.HYPHEN_MINUS:{this.state=F.SCRIPT_DATA_DOUBLE_ESCAPED_DASH,this._emitChars("-");break}case M.LESS_THAN_SIGN:{this.state=F.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case M.NULL:{this._err(ge.unexpectedNullCharacter),this._emitChars(qt);break}case M.EOF:{this._err(ge.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateScriptDataDoubleEscapedDash(t){switch(t){case M.HYPHEN_MINUS:{this.state=F.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH,this._emitChars("-");break}case M.LESS_THAN_SIGN:{this.state=F.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case M.NULL:{this._err(ge.unexpectedNullCharacter),this.state=F.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(qt);break}case M.EOF:{this._err(ge.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=F.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataDoubleEscapedDashDash(t){switch(t){case M.HYPHEN_MINUS:{this._emitChars("-");break}case M.LESS_THAN_SIGN:{this.state=F.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case M.GREATER_THAN_SIGN:{this.state=F.SCRIPT_DATA,this._emitChars(">");break}case M.NULL:{this._err(ge.unexpectedNullCharacter),this.state=F.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(qt);break}case M.EOF:{this._err(ge.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=F.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataDoubleEscapedLessThanSign(t){t===M.SOLIDUS?(this.state=F.SCRIPT_DATA_DOUBLE_ESCAPE_END,this._emitChars("/")):(this.state=F.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(t))}_stateScriptDataDoubleEscapeEnd(t){if(this.preprocessor.startsWith(gr.SCRIPT,!1)&&s8(this.preprocessor.peek(gr.SCRIPT.length))){this._emitCodePoint(t);for(let n=0;n<gr.SCRIPT.length;n++)this._emitCodePoint(this._consume());this.state=F.SCRIPT_DATA_ESCAPED}else this._ensureHibernation()||(this.state=F.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(t))}_stateBeforeAttributeName(t){switch(t){case M.SPACE:case M.LINE_FEED:case M.TABULATION:case M.FORM_FEED:break;case M.SOLIDUS:case M.GREATER_THAN_SIGN:case M.EOF:{this.state=F.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(t);break}case M.EQUALS_SIGN:{this._err(ge.unexpectedEqualsSignBeforeAttributeName),this._createAttr("="),this.state=F.ATTRIBUTE_NAME;break}default:this._createAttr(""),this.state=F.ATTRIBUTE_NAME,this._stateAttributeName(t)}}_stateAttributeName(t){switch(t){case M.SPACE:case M.LINE_FEED:case M.TABULATION:case M.FORM_FEED:case M.SOLIDUS:case M.GREATER_THAN_SIGN:case M.EOF:{this._leaveAttrName(),this.state=F.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(t);break}case M.EQUALS_SIGN:{this._leaveAttrName(),this.state=F.BEFORE_ATTRIBUTE_VALUE;break}case M.QUOTATION_MARK:case M.APOSTROPHE:case M.LESS_THAN_SIGN:{this._err(ge.unexpectedCharacterInAttributeName),this.currentAttr.name+=String.fromCodePoint(t);break}case M.NULL:{this._err(ge.unexpectedNullCharacter),this.currentAttr.name+=qt;break}default:this.currentAttr.name+=String.fromCodePoint(pc(t)?Jd(t):t)}}_stateAfterAttributeName(t){switch(t){case M.SPACE:case M.LINE_FEED:case M.TABULATION:case M.FORM_FEED:break;case M.SOLIDUS:{this.state=F.SELF_CLOSING_START_TAG;break}case M.EQUALS_SIGN:{this.state=F.BEFORE_ATTRIBUTE_VALUE;break}case M.GREATER_THAN_SIGN:{this.state=F.DATA,this.emitCurrentTagToken();break}case M.EOF:{this._err(ge.eofInTag),this._emitEOFToken();break}default:this._createAttr(""),this.state=F.ATTRIBUTE_NAME,this._stateAttributeName(t)}}_stateBeforeAttributeValue(t){switch(t){case M.SPACE:case M.LINE_FEED:case M.TABULATION:case M.FORM_FEED:break;case M.QUOTATION_MARK:{this.state=F.ATTRIBUTE_VALUE_DOUBLE_QUOTED;break}case M.APOSTROPHE:{this.state=F.ATTRIBUTE_VALUE_SINGLE_QUOTED;break}case M.GREATER_THAN_SIGN:{this._err(ge.missingAttributeValue),this.state=F.DATA,this.emitCurrentTagToken();break}default:this.state=F.ATTRIBUTE_VALUE_UNQUOTED,this._stateAttributeValueUnquoted(t)}}_stateAttributeValueDoubleQuoted(t){switch(t){case M.QUOTATION_MARK:{this.state=F.AFTER_ATTRIBUTE_VALUE_QUOTED;break}case M.AMPERSAND:{this._startCharacterReference();break}case M.NULL:{this._err(ge.unexpectedNullCharacter),this.currentAttr.value+=qt;break}case M.EOF:{this._err(ge.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(t)}}_stateAttributeValueSingleQuoted(t){switch(t){case M.APOSTROPHE:{this.state=F.AFTER_ATTRIBUTE_VALUE_QUOTED;break}case M.AMPERSAND:{this._startCharacterReference();break}case M.NULL:{this._err(ge.unexpectedNullCharacter),this.currentAttr.value+=qt;break}case M.EOF:{this._err(ge.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(t)}}_stateAttributeValueUnquoted(t){switch(t){case M.SPACE:case M.LINE_FEED:case M.TABULATION:case M.FORM_FEED:{this._leaveAttrValue(),this.state=F.BEFORE_ATTRIBUTE_NAME;break}case M.AMPERSAND:{this._startCharacterReference();break}case M.GREATER_THAN_SIGN:{this._leaveAttrValue(),this.state=F.DATA,this.emitCurrentTagToken();break}case M.NULL:{this._err(ge.unexpectedNullCharacter),this.currentAttr.value+=qt;break}case M.QUOTATION_MARK:case M.APOSTROPHE:case M.LESS_THAN_SIGN:case M.EQUALS_SIGN:case M.GRAVE_ACCENT:{this._err(ge.unexpectedCharacterInUnquotedAttributeValue),this.currentAttr.value+=String.fromCodePoint(t);break}case M.EOF:{this._err(ge.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(t)}}_stateAfterAttributeValueQuoted(t){switch(t){case M.SPACE:case M.LINE_FEED:case M.TABULATION:case M.FORM_FEED:{this._leaveAttrValue(),this.state=F.BEFORE_ATTRIBUTE_NAME;break}case M.SOLIDUS:{this._leaveAttrValue(),this.state=F.SELF_CLOSING_START_TAG;break}case M.GREATER_THAN_SIGN:{this._leaveAttrValue(),this.state=F.DATA,this.emitCurrentTagToken();break}case M.EOF:{this._err(ge.eofInTag),this._emitEOFToken();break}default:this._err(ge.missingWhitespaceBetweenAttributes),this.state=F.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(t)}}_stateSelfClosingStartTag(t){switch(t){case M.GREATER_THAN_SIGN:{const n=this.currentToken;n.selfClosing=!0,this.state=F.DATA,this.emitCurrentTagToken();break}case M.EOF:{this._err(ge.eofInTag),this._emitEOFToken();break}default:this._err(ge.unexpectedSolidusInTag),this.state=F.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(t)}}_stateBogusComment(t){const n=this.currentToken;switch(t){case M.GREATER_THAN_SIGN:{this.state=F.DATA,this.emitCurrentComment(n);break}case M.EOF:{this.emitCurrentComment(n),this._emitEOFToken();break}case M.NULL:{this._err(ge.unexpectedNullCharacter),n.data+=qt;break}default:n.data+=String.fromCodePoint(t)}}_stateMarkupDeclarationOpen(t){this._consumeSequenceIfMatch(gr.DASH_DASH,!0)?(this._createCommentToken(gr.DASH_DASH.length+1),this.state=F.COMMENT_START):this._consumeSequenceIfMatch(gr.DOCTYPE,!1)?(this.currentLocation=this.getCurrentLocation(gr.DOCTYPE.length+1),this.state=F.DOCTYPE):this._consumeSequenceIfMatch(gr.CDATA_START,!0)?this.inForeignNode?this.state=F.CDATA_SECTION:(this._err(ge.cdataInHtmlContent),this._createCommentToken(gr.CDATA_START.length+1),this.currentToken.data="[CDATA[",this.state=F.BOGUS_COMMENT):this._ensureHibernation()||(this._err(ge.incorrectlyOpenedComment),this._createCommentToken(2),this.state=F.BOGUS_COMMENT,this._stateBogusComment(t))}_stateCommentStart(t){switch(t){case M.HYPHEN_MINUS:{this.state=F.COMMENT_START_DASH;break}case M.GREATER_THAN_SIGN:{this._err(ge.abruptClosingOfEmptyComment),this.state=F.DATA;const n=this.currentToken;this.emitCurrentComment(n);break}default:this.state=F.COMMENT,this._stateComment(t)}}_stateCommentStartDash(t){const n=this.currentToken;switch(t){case M.HYPHEN_MINUS:{this.state=F.COMMENT_END;break}case M.GREATER_THAN_SIGN:{this._err(ge.abruptClosingOfEmptyComment),this.state=F.DATA,this.emitCurrentComment(n);break}case M.EOF:{this._err(ge.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+="-",this.state=F.COMMENT,this._stateComment(t)}}_stateComment(t){const n=this.currentToken;switch(t){case M.HYPHEN_MINUS:{this.state=F.COMMENT_END_DASH;break}case M.LESS_THAN_SIGN:{n.data+="<",this.state=F.COMMENT_LESS_THAN_SIGN;break}case M.NULL:{this._err(ge.unexpectedNullCharacter),n.data+=qt;break}case M.EOF:{this._err(ge.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+=String.fromCodePoint(t)}}_stateCommentLessThanSign(t){const n=this.currentToken;switch(t){case M.EXCLAMATION_MARK:{n.data+="!",this.state=F.COMMENT_LESS_THAN_SIGN_BANG;break}case M.LESS_THAN_SIGN:{n.data+="<";break}default:this.state=F.COMMENT,this._stateComment(t)}}_stateCommentLessThanSignBang(t){t===M.HYPHEN_MINUS?this.state=F.COMMENT_LESS_THAN_SIGN_BANG_DASH:(this.state=F.COMMENT,this._stateComment(t))}_stateCommentLessThanSignBangDash(t){t===M.HYPHEN_MINUS?this.state=F.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:(this.state=F.COMMENT_END_DASH,this._stateCommentEndDash(t))}_stateCommentLessThanSignBangDashDash(t){t!==M.GREATER_THAN_SIGN&&t!==M.EOF&&this._err(ge.nestedComment),this.state=F.COMMENT_END,this._stateCommentEnd(t)}_stateCommentEndDash(t){const n=this.currentToken;switch(t){case M.HYPHEN_MINUS:{this.state=F.COMMENT_END;break}case M.EOF:{this._err(ge.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+="-",this.state=F.COMMENT,this._stateComment(t)}}_stateCommentEnd(t){const n=this.currentToken;switch(t){case M.GREATER_THAN_SIGN:{this.state=F.DATA,this.emitCurrentComment(n);break}case M.EXCLAMATION_MARK:{this.state=F.COMMENT_END_BANG;break}case M.HYPHEN_MINUS:{n.data+="-";break}case M.EOF:{this._err(ge.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+="--",this.state=F.COMMENT,this._stateComment(t)}}_stateCommentEndBang(t){const n=this.currentToken;switch(t){case M.HYPHEN_MINUS:{n.data+="--!",this.state=F.COMMENT_END_DASH;break}case M.GREATER_THAN_SIGN:{this._err(ge.incorrectlyClosedComment),this.state=F.DATA,this.emitCurrentComment(n);break}case M.EOF:{this._err(ge.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+="--!",this.state=F.COMMENT,this._stateComment(t)}}_stateDoctype(t){switch(t){case M.SPACE:case M.LINE_FEED:case M.TABULATION:case M.FORM_FEED:{this.state=F.BEFORE_DOCTYPE_NAME;break}case M.GREATER_THAN_SIGN:{this.state=F.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(t);break}case M.EOF:{this._err(ge.eofInDoctype),this._createDoctypeToken(null);const n=this.currentToken;n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(ge.missingWhitespaceBeforeDoctypeName),this.state=F.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(t)}}_stateBeforeDoctypeName(t){if(pc(t))this._createDoctypeToken(String.fromCharCode(Jd(t))),this.state=F.DOCTYPE_NAME;else switch(t){case M.SPACE:case M.LINE_FEED:case M.TABULATION:case M.FORM_FEED:break;case M.NULL:{this._err(ge.unexpectedNullCharacter),this._createDoctypeToken(qt),this.state=F.DOCTYPE_NAME;break}case M.GREATER_THAN_SIGN:{this._err(ge.missingDoctypeName),this._createDoctypeToken(null);const n=this.currentToken;n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=F.DATA;break}case M.EOF:{this._err(ge.eofInDoctype),this._createDoctypeToken(null);const n=this.currentToken;n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._createDoctypeToken(String.fromCodePoint(t)),this.state=F.DOCTYPE_NAME}}_stateDoctypeName(t){const n=this.currentToken;switch(t){case M.SPACE:case M.LINE_FEED:case M.TABULATION:case M.FORM_FEED:{this.state=F.AFTER_DOCTYPE_NAME;break}case M.GREATER_THAN_SIGN:{this.state=F.DATA,this.emitCurrentDoctype(n);break}case M.NULL:{this._err(ge.unexpectedNullCharacter),n.name+=qt;break}case M.EOF:{this._err(ge.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:n.name+=String.fromCodePoint(pc(t)?Jd(t):t)}}_stateAfterDoctypeName(t){const n=this.currentToken;switch(t){case M.SPACE:case M.LINE_FEED:case M.TABULATION:case M.FORM_FEED:break;case M.GREATER_THAN_SIGN:{this.state=F.DATA,this.emitCurrentDoctype(n);break}case M.EOF:{this._err(ge.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._consumeSequenceIfMatch(gr.PUBLIC,!1)?this.state=F.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._consumeSequenceIfMatch(gr.SYSTEM,!1)?this.state=F.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._ensureHibernation()||(this._err(ge.invalidCharacterSequenceAfterDoctypeName),n.forceQuirks=!0,this.state=F.BOGUS_DOCTYPE,this._stateBogusDoctype(t))}}_stateAfterDoctypePublicKeyword(t){const n=this.currentToken;switch(t){case M.SPACE:case M.LINE_FEED:case M.TABULATION:case M.FORM_FEED:{this.state=F.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER;break}case M.QUOTATION_MARK:{this._err(ge.missingWhitespaceAfterDoctypePublicKeyword),n.publicId="",this.state=F.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break}case M.APOSTROPHE:{this._err(ge.missingWhitespaceAfterDoctypePublicKeyword),n.publicId="",this.state=F.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break}case M.GREATER_THAN_SIGN:{this._err(ge.missingDoctypePublicIdentifier),n.forceQuirks=!0,this.state=F.DATA,this.emitCurrentDoctype(n);break}case M.EOF:{this._err(ge.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(ge.missingQuoteBeforeDoctypePublicIdentifier),n.forceQuirks=!0,this.state=F.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBeforeDoctypePublicIdentifier(t){const n=this.currentToken;switch(t){case M.SPACE:case M.LINE_FEED:case M.TABULATION:case M.FORM_FEED:break;case M.QUOTATION_MARK:{n.publicId="",this.state=F.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break}case M.APOSTROPHE:{n.publicId="",this.state=F.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break}case M.GREATER_THAN_SIGN:{this._err(ge.missingDoctypePublicIdentifier),n.forceQuirks=!0,this.state=F.DATA,this.emitCurrentDoctype(n);break}case M.EOF:{this._err(ge.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(ge.missingQuoteBeforeDoctypePublicIdentifier),n.forceQuirks=!0,this.state=F.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateDoctypePublicIdentifierDoubleQuoted(t){const n=this.currentToken;switch(t){case M.QUOTATION_MARK:{this.state=F.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break}case M.NULL:{this._err(ge.unexpectedNullCharacter),n.publicId+=qt;break}case M.GREATER_THAN_SIGN:{this._err(ge.abruptDoctypePublicIdentifier),n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=F.DATA;break}case M.EOF:{this._err(ge.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:n.publicId+=String.fromCodePoint(t)}}_stateDoctypePublicIdentifierSingleQuoted(t){const n=this.currentToken;switch(t){case M.APOSTROPHE:{this.state=F.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break}case M.NULL:{this._err(ge.unexpectedNullCharacter),n.publicId+=qt;break}case M.GREATER_THAN_SIGN:{this._err(ge.abruptDoctypePublicIdentifier),n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=F.DATA;break}case M.EOF:{this._err(ge.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:n.publicId+=String.fromCodePoint(t)}}_stateAfterDoctypePublicIdentifier(t){const n=this.currentToken;switch(t){case M.SPACE:case M.LINE_FEED:case M.TABULATION:case M.FORM_FEED:{this.state=F.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS;break}case M.GREATER_THAN_SIGN:{this.state=F.DATA,this.emitCurrentDoctype(n);break}case M.QUOTATION_MARK:{this._err(ge.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),n.systemId="",this.state=F.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case M.APOSTROPHE:{this._err(ge.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),n.systemId="",this.state=F.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case M.EOF:{this._err(ge.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(ge.missingQuoteBeforeDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=F.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBetweenDoctypePublicAndSystemIdentifiers(t){const n=this.currentToken;switch(t){case M.SPACE:case M.LINE_FEED:case M.TABULATION:case M.FORM_FEED:break;case M.GREATER_THAN_SIGN:{this.emitCurrentDoctype(n),this.state=F.DATA;break}case M.QUOTATION_MARK:{n.systemId="",this.state=F.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case M.APOSTROPHE:{n.systemId="",this.state=F.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case M.EOF:{this._err(ge.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(ge.missingQuoteBeforeDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=F.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateAfterDoctypeSystemKeyword(t){const n=this.currentToken;switch(t){case M.SPACE:case M.LINE_FEED:case M.TABULATION:case M.FORM_FEED:{this.state=F.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER;break}case M.QUOTATION_MARK:{this._err(ge.missingWhitespaceAfterDoctypeSystemKeyword),n.systemId="",this.state=F.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case M.APOSTROPHE:{this._err(ge.missingWhitespaceAfterDoctypeSystemKeyword),n.systemId="",this.state=F.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case M.GREATER_THAN_SIGN:{this._err(ge.missingDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=F.DATA,this.emitCurrentDoctype(n);break}case M.EOF:{this._err(ge.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(ge.missingQuoteBeforeDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=F.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBeforeDoctypeSystemIdentifier(t){const n=this.currentToken;switch(t){case M.SPACE:case M.LINE_FEED:case M.TABULATION:case M.FORM_FEED:break;case M.QUOTATION_MARK:{n.systemId="",this.state=F.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case M.APOSTROPHE:{n.systemId="",this.state=F.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case M.GREATER_THAN_SIGN:{this._err(ge.missingDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=F.DATA,this.emitCurrentDoctype(n);break}case M.EOF:{this._err(ge.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(ge.missingQuoteBeforeDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=F.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateDoctypeSystemIdentifierDoubleQuoted(t){const n=this.currentToken;switch(t){case M.QUOTATION_MARK:{this.state=F.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break}case M.NULL:{this._err(ge.unexpectedNullCharacter),n.systemId+=qt;break}case M.GREATER_THAN_SIGN:{this._err(ge.abruptDoctypeSystemIdentifier),n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=F.DATA;break}case M.EOF:{this._err(ge.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:n.systemId+=String.fromCodePoint(t)}}_stateDoctypeSystemIdentifierSingleQuoted(t){const n=this.currentToken;switch(t){case M.APOSTROPHE:{this.state=F.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break}case M.NULL:{this._err(ge.unexpectedNullCharacter),n.systemId+=qt;break}case M.GREATER_THAN_SIGN:{this._err(ge.abruptDoctypeSystemIdentifier),n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=F.DATA;break}case M.EOF:{this._err(ge.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:n.systemId+=String.fromCodePoint(t)}}_stateAfterDoctypeSystemIdentifier(t){const n=this.currentToken;switch(t){case M.SPACE:case M.LINE_FEED:case M.TABULATION:case M.FORM_FEED:break;case M.GREATER_THAN_SIGN:{this.emitCurrentDoctype(n),this.state=F.DATA;break}case M.EOF:{this._err(ge.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(ge.unexpectedCharacterAfterDoctypeSystemIdentifier),this.state=F.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBogusDoctype(t){const n=this.currentToken;switch(t){case M.GREATER_THAN_SIGN:{this.emitCurrentDoctype(n),this.state=F.DATA;break}case M.NULL:{this._err(ge.unexpectedNullCharacter);break}case M.EOF:{this.emitCurrentDoctype(n),this._emitEOFToken();break}}}_stateCdataSection(t){switch(t){case M.RIGHT_SQUARE_BRACKET:{this.state=F.CDATA_SECTION_BRACKET;break}case M.EOF:{this._err(ge.eofInCdata),this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateCdataSectionBracket(t){t===M.RIGHT_SQUARE_BRACKET?this.state=F.CDATA_SECTION_END:(this._emitChars("]"),this.state=F.CDATA_SECTION,this._stateCdataSection(t))}_stateCdataSectionEnd(t){switch(t){case M.GREATER_THAN_SIGN:{this.state=F.DATA;break}case M.RIGHT_SQUARE_BRACKET:{this._emitChars("]");break}default:this._emitChars("]]"),this.state=F.CDATA_SECTION,this._stateCdataSection(t)}}_stateCharacterReference(){let t=this.entityDecoder.write(this.preprocessor.html,this.preprocessor.pos);if(t<0)if(this.preprocessor.lastChunkWritten)t=this.entityDecoder.end();else{this.active=!1,this.preprocessor.pos=this.preprocessor.html.length-1,this.consumedAfterSnapshot=0,this.preprocessor.endOfChunkHit=!0;return}t===0?(this.preprocessor.pos=this.entityStartPos,this._flushCodePointConsumedAsCharacterReference(M.AMPERSAND),this.state=!this._isCharacterReferenceInAttribute()&&i8(this.preprocessor.peek(1))?F.AMBIGUOUS_AMPERSAND:this.returnState):this.state=this.returnState}_stateAmbiguousAmpersand(t){i8(t)?this._flushCodePointConsumedAsCharacterReference(t):(t===M.SEMICOLON&&this._err(ge.unknownNamedCharacterReference),this.state=this.returnState,this._callState(t))}}const P9=new Set([x.DD,x.DT,x.LI,x.OPTGROUP,x.OPTION,x.P,x.RB,x.RP,x.RT,x.RTC]),o8=new Set([...P9,x.CAPTION,x.COLGROUP,x.TBODY,x.TD,x.TFOOT,x.TH,x.THEAD,x.TR]),Pf=new Set([x.APPLET,x.CAPTION,x.HTML,x.MARQUEE,x.OBJECT,x.TABLE,x.TD,x.TEMPLATE,x.TH]),bq=new Set([...Pf,x.OL,x.UL]),yq=new Set([...Pf,x.BUTTON]),l8=new Set([x.ANNOTATION_XML,x.MI,x.MN,x.MO,x.MS,x.MTEXT]),u8=new Set([x.DESC,x.FOREIGN_OBJECT,x.TITLE]),vq=new Set([x.TR,x.TEMPLATE,x.HTML]),xq=new Set([x.TBODY,x.TFOOT,x.THEAD,x.TEMPLATE,x.HTML]),Eq=new Set([x.TABLE,x.TEMPLATE,x.HTML]),_q=new Set([x.TD,x.TH]);class Tq{get currentTmplContentOrNode(){return this._isInTemplate()?this.treeAdapter.getTemplateContent(this.current):this.current}constructor(t,n,r){this.treeAdapter=n,this.handler=r,this.items=[],this.tagIDs=[],this.stackTop=-1,this.tmplCount=0,this.currentTagId=x.UNKNOWN,this.current=t}_indexOf(t){return this.items.lastIndexOf(t,this.stackTop)}_isInTemplate(){return this.currentTagId===x.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===Se.HTML}_updateCurrentElement(){this.current=this.items[this.stackTop],this.currentTagId=this.tagIDs[this.stackTop]}push(t,n){this.stackTop++,this.items[this.stackTop]=t,this.current=t,this.tagIDs[this.stackTop]=n,this.currentTagId=n,this._isInTemplate()&&this.tmplCount++,this.handler.onItemPush(t,n,!0)}pop(){const t=this.current;this.tmplCount>0&&this._isInTemplate()&&this.tmplCount--,this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(t,!0)}replace(t,n){const r=this._indexOf(t);this.items[r]=n,r===this.stackTop&&(this.current=n)}insertAfter(t,n,r){const a=this._indexOf(t)+1;this.items.splice(a,0,n),this.tagIDs.splice(a,0,r),this.stackTop++,a===this.stackTop&&this._updateCurrentElement(),this.current&&this.currentTagId!==void 0&&this.handler.onItemPush(this.current,this.currentTagId,a===this.stackTop)}popUntilTagNamePopped(t){let n=this.stackTop+1;do n=this.tagIDs.lastIndexOf(t,n-1);while(n>0&&this.treeAdapter.getNamespaceURI(this.items[n])!==Se.HTML);this.shortenToLength(Math.max(n,0))}shortenToLength(t){for(;this.stackTop>=t;){const n=this.current;this.tmplCount>0&&this._isInTemplate()&&(this.tmplCount-=1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(n,this.stackTop<t)}}popUntilElementPopped(t){const n=this._indexOf(t);this.shortenToLength(Math.max(n,0))}popUntilPopped(t,n){const r=this._indexOfTagNames(t,n);this.shortenToLength(Math.max(r,0))}popUntilNumberedHeaderPopped(){this.popUntilPopped(g2,Se.HTML)}popUntilTableCellPopped(){this.popUntilPopped(_q,Se.HTML)}popAllUpToHtmlElement(){this.tmplCount=0,this.shortenToLength(1)}_indexOfTagNames(t,n){for(let r=this.stackTop;r>=0;r--)if(t.has(this.tagIDs[r])&&this.treeAdapter.getNamespaceURI(this.items[r])===n)return r;return-1}clearBackTo(t,n){const r=this._indexOfTagNames(t,n);this.shortenToLength(r+1)}clearBackToTableContext(){this.clearBackTo(Eq,Se.HTML)}clearBackToTableBodyContext(){this.clearBackTo(xq,Se.HTML)}clearBackToTableRowContext(){this.clearBackTo(vq,Se.HTML)}remove(t){const n=this._indexOf(t);n>=0&&(n===this.stackTop?this.pop():(this.items.splice(n,1),this.tagIDs.splice(n,1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(t,!1)))}tryPeekProperlyNestedBodyElement(){return this.stackTop>=1&&this.tagIDs[1]===x.BODY?this.items[1]:null}contains(t){return this._indexOf(t)>-1}getCommonAncestor(t){const n=this._indexOf(t)-1;return n>=0?this.items[n]:null}isRootHtmlElementCurrent(){return this.stackTop===0&&this.tagIDs[0]===x.HTML}hasInDynamicScope(t,n){for(let r=this.stackTop;r>=0;r--){const a=this.tagIDs[r];switch(this.treeAdapter.getNamespaceURI(this.items[r])){case Se.HTML:{if(a===t)return!0;if(n.has(a))return!1;break}case Se.SVG:{if(u8.has(a))return!1;break}case Se.MATHML:{if(l8.has(a))return!1;break}}}return!0}hasInScope(t){return this.hasInDynamicScope(t,Pf)}hasInListItemScope(t){return this.hasInDynamicScope(t,bq)}hasInButtonScope(t){return this.hasInDynamicScope(t,yq)}hasNumberedHeaderInScope(){for(let t=this.stackTop;t>=0;t--){const n=this.tagIDs[t];switch(this.treeAdapter.getNamespaceURI(this.items[t])){case Se.HTML:{if(g2.has(n))return!0;if(Pf.has(n))return!1;break}case Se.SVG:{if(u8.has(n))return!1;break}case Se.MATHML:{if(l8.has(n))return!1;break}}}return!0}hasInTableScope(t){for(let n=this.stackTop;n>=0;n--)if(this.treeAdapter.getNamespaceURI(this.items[n])===Se.HTML)switch(this.tagIDs[n]){case t:return!0;case x.TABLE:case x.HTML:return!1}return!0}hasTableBodyContextInTableScope(){for(let t=this.stackTop;t>=0;t--)if(this.treeAdapter.getNamespaceURI(this.items[t])===Se.HTML)switch(this.tagIDs[t]){case x.TBODY:case x.THEAD:case x.TFOOT:return!0;case x.TABLE:case x.HTML:return!1}return!0}hasInSelectScope(t){for(let n=this.stackTop;n>=0;n--)if(this.treeAdapter.getNamespaceURI(this.items[n])===Se.HTML)switch(this.tagIDs[n]){case t:return!0;case x.OPTION:case x.OPTGROUP:break;default:return!1}return!0}generateImpliedEndTags(){for(;this.currentTagId!==void 0&&P9.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;this.currentTagId!==void 0&&o8.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(t){for(;this.currentTagId!==void 0&&this.currentTagId!==t&&o8.has(this.currentTagId);)this.pop()}}const Z1=3;var Ha;(function(e){e[e.Marker=0]="Marker",e[e.Element=1]="Element"})(Ha||(Ha={}));const c8={type:Ha.Marker};class Sq{constructor(t){this.treeAdapter=t,this.entries=[],this.bookmark=null}_getNoahArkConditionCandidates(t,n){const r=[],a=n.length,s=this.treeAdapter.getTagName(t),l=this.treeAdapter.getNamespaceURI(t);for(let u=0;u<this.entries.length;u++){const d=this.entries[u];if(d.type===Ha.Marker)break;const{element:f}=d;if(this.treeAdapter.getTagName(f)===s&&this.treeAdapter.getNamespaceURI(f)===l){const p=this.treeAdapter.getAttrList(f);p.length===a&&r.push({idx:u,attrs:p})}}return r}_ensureNoahArkCondition(t){if(this.entries.length<Z1)return;const n=this.treeAdapter.getAttrList(t),r=this._getNoahArkConditionCandidates(t,n);if(r.length<Z1)return;const a=new Map(n.map(l=>[l.name,l.value]));let s=0;for(let l=0;l<r.length;l++){const u=r[l];u.attrs.every(d=>a.get(d.name)===d.value)&&(s+=1,s>=Z1&&this.entries.splice(u.idx,1))}}insertMarker(){this.entries.unshift(c8)}pushElement(t,n){this._ensureNoahArkCondition(t),this.entries.unshift({type:Ha.Element,element:t,token:n})}insertElementAfterBookmark(t,n){const r=this.entries.indexOf(this.bookmark);this.entries.splice(r,0,{type:Ha.Element,element:t,token:n})}removeEntry(t){const n=this.entries.indexOf(t);n!==-1&&this.entries.splice(n,1)}clearToLastMarker(){const t=this.entries.indexOf(c8);t===-1?this.entries.length=0:this.entries.splice(0,t+1)}getElementEntryInScopeWithTagName(t){const n=this.entries.find(r=>r.type===Ha.Marker||this.treeAdapter.getTagName(r.element)===t);return n&&n.type===Ha.Element?n:null}getElementEntry(t){return this.entries.find(n=>n.type===Ha.Element&&n.element===t)}}const ps={createDocument(){return{nodeName:"#document",mode:ta.NO_QUIRKS,childNodes:[]}},createDocumentFragment(){return{nodeName:"#document-fragment",childNodes:[]}},createElement(e,t,n){return{nodeName:e,tagName:e,attrs:n,namespaceURI:t,childNodes:[],parentNode:null}},createCommentNode(e){return{nodeName:"#comment",data:e,parentNode:null}},createTextNode(e){return{nodeName:"#text",value:e,parentNode:null}},appendChild(e,t){e.childNodes.push(t),t.parentNode=e},insertBefore(e,t,n){const r=e.childNodes.indexOf(n);e.childNodes.splice(r,0,t),t.parentNode=e},setTemplateContent(e,t){e.content=t},getTemplateContent(e){return e.content},setDocumentType(e,t,n,r){const a=e.childNodes.find(s=>s.nodeName==="#documentType");if(a)a.name=t,a.publicId=n,a.systemId=r;else{const s={nodeName:"#documentType",name:t,publicId:n,systemId:r,parentNode:null};ps.appendChild(e,s)}},setDocumentMode(e,t){e.mode=t},getDocumentMode(e){return e.mode},detachNode(e){if(e.parentNode){const t=e.parentNode.childNodes.indexOf(e);e.parentNode.childNodes.splice(t,1),e.parentNode=null}},insertText(e,t){if(e.childNodes.length>0){const n=e.childNodes[e.childNodes.length-1];if(ps.isTextNode(n)){n.value+=t;return}}ps.appendChild(e,ps.createTextNode(t))},insertTextBefore(e,t,n){const r=e.childNodes[e.childNodes.indexOf(n)-1];r&&ps.isTextNode(r)?r.value+=t:ps.insertBefore(e,ps.createTextNode(t),n)},adoptAttributes(e,t){const n=new Set(e.attrs.map(r=>r.name));for(let r=0;r<t.length;r++)n.has(t[r].name)||e.attrs.push(t[r])},getFirstChild(e){return e.childNodes[0]},getChildNodes(e){return e.childNodes},getParentNode(e){return e.parentNode},getAttrList(e){return e.attrs},getTagName(e){return e.tagName},getNamespaceURI(e){return e.namespaceURI},getTextNodeContent(e){return e.value},getCommentNodeContent(e){return e.data},getDocumentTypeNodeName(e){return e.name},getDocumentTypeNodePublicId(e){return e.publicId},getDocumentTypeNodeSystemId(e){return e.systemId},isTextNode(e){return e.nodeName==="#text"},isCommentNode(e){return e.nodeName==="#comment"},isDocumentTypeNode(e){return e.nodeName==="#documentType"},isElementNode(e){return Object.prototype.hasOwnProperty.call(e,"tagName")},setNodeSourceCodeLocation(e,t){e.sourceCodeLocation=t},getNodeSourceCodeLocation(e){return e.sourceCodeLocation},updateNodeSourceCodeLocation(e,t){e.sourceCodeLocation={...e.sourceCodeLocation,...t}}},B9="html",wq="about:legacy-compat",Aq="http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd",z9=["+//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//"],kq=[...z9,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"],Cq=new Set(["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"]),U9=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],Nq=[...U9,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"];function d8(e,t){return t.some(n=>e.startsWith(n))}function Oq(e){return e.name===B9&&e.publicId===null&&(e.systemId===null||e.systemId===wq)}function Rq(e){if(e.name!==B9)return ta.QUIRKS;const{systemId:t}=e;if(t&&t.toLowerCase()===Aq)return ta.QUIRKS;let{publicId:n}=e;if(n!==null){if(n=n.toLowerCase(),Cq.has(n))return ta.QUIRKS;let r=t===null?kq:z9;if(d8(n,r))return ta.QUIRKS;if(r=t===null?U9:Nq,d8(n,r))return ta.LIMITED_QUIRKS}return ta.NO_QUIRKS}const f8={TEXT_HTML:"text/html",APPLICATION_XML:"application/xhtml+xml"},Dq="definitionurl",Lq="definitionURL",Iq=new Map(["attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map(e=>[e.toLowerCase(),e])),Mq=new Map([["xlink:actuate",{prefix:"xlink",name:"actuate",namespace:Se.XLINK}],["xlink:arcrole",{prefix:"xlink",name:"arcrole",namespace:Se.XLINK}],["xlink:href",{prefix:"xlink",name:"href",namespace:Se.XLINK}],["xlink:role",{prefix:"xlink",name:"role",namespace:Se.XLINK}],["xlink:show",{prefix:"xlink",name:"show",namespace:Se.XLINK}],["xlink:title",{prefix:"xlink",name:"title",namespace:Se.XLINK}],["xlink:type",{prefix:"xlink",name:"type",namespace:Se.XLINK}],["xml:lang",{prefix:"xml",name:"lang",namespace:Se.XML}],["xml:space",{prefix:"xml",name:"space",namespace:Se.XML}],["xmlns",{prefix:"",name:"xmlns",namespace:Se.XMLNS}],["xmlns:xlink",{prefix:"xmlns",name:"xlink",namespace:Se.XMLNS}]]),Pq=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map(e=>[e.toLowerCase(),e])),Bq=new Set([x.B,x.BIG,x.BLOCKQUOTE,x.BODY,x.BR,x.CENTER,x.CODE,x.DD,x.DIV,x.DL,x.DT,x.EM,x.EMBED,x.H1,x.H2,x.H3,x.H4,x.H5,x.H6,x.HEAD,x.HR,x.I,x.IMG,x.LI,x.LISTING,x.MENU,x.META,x.NOBR,x.OL,x.P,x.PRE,x.RUBY,x.S,x.SMALL,x.SPAN,x.STRONG,x.STRIKE,x.SUB,x.SUP,x.TABLE,x.TT,x.U,x.UL,x.VAR]);function zq(e){const t=e.tagID;return t===x.FONT&&e.attrs.some(({name:r})=>r===mo.COLOR||r===mo.SIZE||r===mo.FACE)||Bq.has(t)}function H9(e){for(let t=0;t<e.attrs.length;t++)if(e.attrs[t].name===Dq){e.attrs[t].name=Lq;break}}function F9(e){for(let t=0;t<e.attrs.length;t++){const n=Iq.get(e.attrs[t].name);n!=null&&(e.attrs[t].name=n)}}function Gb(e){for(let t=0;t<e.attrs.length;t++){const n=Mq.get(e.attrs[t].name);n&&(e.attrs[t].prefix=n.prefix,e.attrs[t].name=n.name,e.attrs[t].namespace=n.namespace)}}function Uq(e){const t=Pq.get(e.tagName);t!=null&&(e.tagName=t,e.tagID=iu(e.tagName))}function Hq(e,t){return t===Se.MATHML&&(e===x.MI||e===x.MO||e===x.MN||e===x.MS||e===x.MTEXT)}function Fq(e,t,n){if(t===Se.MATHML&&e===x.ANNOTATION_XML){for(let r=0;r<n.length;r++)if(n[r].name===mo.ENCODING){const a=n[r].value.toLowerCase();return a===f8.TEXT_HTML||a===f8.APPLICATION_XML}}return t===Se.SVG&&(e===x.FOREIGN_OBJECT||e===x.DESC||e===x.TITLE)}function jq(e,t,n,r){return(!r||r===Se.HTML)&&Fq(e,t,n)||(!r||r===Se.MATHML)&&Hq(e,t)}const qq="hidden",$q=8,Vq=3;var Q;(function(e){e[e.INITIAL=0]="INITIAL",e[e.BEFORE_HTML=1]="BEFORE_HTML",e[e.BEFORE_HEAD=2]="BEFORE_HEAD",e[e.IN_HEAD=3]="IN_HEAD",e[e.IN_HEAD_NO_SCRIPT=4]="IN_HEAD_NO_SCRIPT",e[e.AFTER_HEAD=5]="AFTER_HEAD",e[e.IN_BODY=6]="IN_BODY",e[e.TEXT=7]="TEXT",e[e.IN_TABLE=8]="IN_TABLE",e[e.IN_TABLE_TEXT=9]="IN_TABLE_TEXT",e[e.IN_CAPTION=10]="IN_CAPTION",e[e.IN_COLUMN_GROUP=11]="IN_COLUMN_GROUP",e[e.IN_TABLE_BODY=12]="IN_TABLE_BODY",e[e.IN_ROW=13]="IN_ROW",e[e.IN_CELL=14]="IN_CELL",e[e.IN_SELECT=15]="IN_SELECT",e[e.IN_SELECT_IN_TABLE=16]="IN_SELECT_IN_TABLE",e[e.IN_TEMPLATE=17]="IN_TEMPLATE",e[e.AFTER_BODY=18]="AFTER_BODY",e[e.IN_FRAMESET=19]="IN_FRAMESET",e[e.AFTER_FRAMESET=20]="AFTER_FRAMESET",e[e.AFTER_AFTER_BODY=21]="AFTER_AFTER_BODY",e[e.AFTER_AFTER_FRAMESET=22]="AFTER_AFTER_FRAMESET"})(Q||(Q={}));const Gq={startLine:-1,startCol:-1,startOffset:-1,endLine:-1,endCol:-1,endOffset:-1},j9=new Set([x.TABLE,x.TBODY,x.TFOOT,x.THEAD,x.TR]),h8={scriptingEnabled:!0,sourceCodeLocationInfo:!1,treeAdapter:ps,onParseError:null};class m8{constructor(t,n,r=null,a=null){this.fragmentContext=r,this.scriptHandler=a,this.currentToken=null,this.stopped=!1,this.insertionMode=Q.INITIAL,this.originalInsertionMode=Q.INITIAL,this.headElement=null,this.formElement=null,this.currentNotInHTML=!1,this.tmplInsertionModeStack=[],this.pendingCharacterTokens=[],this.hasNonWhitespacePendingCharacterToken=!1,this.framesetOk=!0,this.skipNextNewLine=!1,this.fosterParentingEnabled=!1,this.options={...h8,...t},this.treeAdapter=this.options.treeAdapter,this.onParseError=this.options.onParseError,this.onParseError&&(this.options.sourceCodeLocationInfo=!0),this.document=n??this.treeAdapter.createDocument(),this.tokenizer=new gq(this.options,this),this.activeFormattingElements=new Sq(this.treeAdapter),this.fragmentContextID=r?iu(this.treeAdapter.getTagName(r)):x.UNKNOWN,this._setContextModes(r??this.document,this.fragmentContextID),this.openElements=new Tq(this.document,this.treeAdapter,this)}static parse(t,n){const r=new this(n);return r.tokenizer.write(t,!0),r.document}static getFragmentParser(t,n){const r={...h8,...n};t??(t=r.treeAdapter.createElement(ie.TEMPLATE,Se.HTML,[]));const a=r.treeAdapter.createElement("documentmock",Se.HTML,[]),s=new this(r,a,t);return s.fragmentContextID===x.TEMPLATE&&s.tmplInsertionModeStack.unshift(Q.IN_TEMPLATE),s._initTokenizerForFragmentParsing(),s._insertFakeRootElement(),s._resetInsertionMode(),s._findFormInFragmentContext(),s}getFragment(){const t=this.treeAdapter.getFirstChild(this.document),n=this.treeAdapter.createDocumentFragment();return this._adoptNodes(t,n),n}_err(t,n,r){var a;if(!this.onParseError)return;const s=(a=t.location)!==null&&a!==void 0?a:Gq,l={code:n,startLine:s.startLine,startCol:s.startCol,startOffset:s.startOffset,endLine:r?s.startLine:s.endLine,endCol:r?s.startCol:s.endCol,endOffset:r?s.startOffset:s.endOffset};this.onParseError(l)}onItemPush(t,n,r){var a,s;(s=(a=this.treeAdapter).onItemPush)===null||s===void 0||s.call(a,t),r&&this.openElements.stackTop>0&&this._setContextModes(t,n)}onItemPop(t,n){var r,a;if(this.options.sourceCodeLocationInfo&&this._setEndLocation(t,this.currentToken),(a=(r=this.treeAdapter).onItemPop)===null||a===void 0||a.call(r,t,this.openElements.current),n){let s,l;this.openElements.stackTop===0&&this.fragmentContext?(s=this.fragmentContext,l=this.fragmentContextID):{current:s,currentTagId:l}=this.openElements,this._setContextModes(s,l)}}_setContextModes(t,n){const r=t===this.document||t&&this.treeAdapter.getNamespaceURI(t)===Se.HTML;this.currentNotInHTML=!r,this.tokenizer.inForeignNode=!r&&t!==void 0&&n!==void 0&&!this._isIntegrationPoint(n,t)}_switchToTextParsing(t,n){this._insertElement(t,Se.HTML),this.tokenizer.state=n,this.originalInsertionMode=this.insertionMode,this.insertionMode=Q.TEXT}switchToPlaintextParsing(){this.insertionMode=Q.TEXT,this.originalInsertionMode=Q.IN_BODY,this.tokenizer.state=on.PLAINTEXT}_getAdjustedCurrentElement(){return this.openElements.stackTop===0&&this.fragmentContext?this.fragmentContext:this.openElements.current}_findFormInFragmentContext(){let t=this.fragmentContext;for(;t;){if(this.treeAdapter.getTagName(t)===ie.FORM){this.formElement=t;break}t=this.treeAdapter.getParentNode(t)}}_initTokenizerForFragmentParsing(){if(!(!this.fragmentContext||this.treeAdapter.getNamespaceURI(this.fragmentContext)!==Se.HTML))switch(this.fragmentContextID){case x.TITLE:case x.TEXTAREA:{this.tokenizer.state=on.RCDATA;break}case x.STYLE:case x.XMP:case x.IFRAME:case x.NOEMBED:case x.NOFRAMES:case x.NOSCRIPT:{this.tokenizer.state=on.RAWTEXT;break}case x.SCRIPT:{this.tokenizer.state=on.SCRIPT_DATA;break}case x.PLAINTEXT:{this.tokenizer.state=on.PLAINTEXT;break}}}_setDocumentType(t){const n=t.name||"",r=t.publicId||"",a=t.systemId||"";if(this.treeAdapter.setDocumentType(this.document,n,r,a),t.location){const l=this.treeAdapter.getChildNodes(this.document).find(u=>this.treeAdapter.isDocumentTypeNode(u));l&&this.treeAdapter.setNodeSourceCodeLocation(l,t.location)}}_attachElementToTree(t,n){if(this.options.sourceCodeLocationInfo){const r=n&&{...n,startTag:n};this.treeAdapter.setNodeSourceCodeLocation(t,r)}if(this._shouldFosterParentOnInsertion())this._fosterParentElement(t);else{const r=this.openElements.currentTmplContentOrNode;this.treeAdapter.appendChild(r??this.document,t)}}_appendElement(t,n){const r=this.treeAdapter.createElement(t.tagName,n,t.attrs);this._attachElementToTree(r,t.location)}_insertElement(t,n){const r=this.treeAdapter.createElement(t.tagName,n,t.attrs);this._attachElementToTree(r,t.location),this.openElements.push(r,t.tagID)}_insertFakeElement(t,n){const r=this.treeAdapter.createElement(t,Se.HTML,[]);this._attachElementToTree(r,null),this.openElements.push(r,n)}_insertTemplate(t){const n=this.treeAdapter.createElement(t.tagName,Se.HTML,t.attrs),r=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(n,r),this._attachElementToTree(n,t.location),this.openElements.push(n,t.tagID),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(r,null)}_insertFakeRootElement(){const t=this.treeAdapter.createElement(ie.HTML,Se.HTML,[]);this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(t,null),this.treeAdapter.appendChild(this.openElements.current,t),this.openElements.push(t,x.HTML)}_appendCommentNode(t,n){const r=this.treeAdapter.createCommentNode(t.data);this.treeAdapter.appendChild(n,r),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(r,t.location)}_insertCharacters(t){let n,r;if(this._shouldFosterParentOnInsertion()?({parent:n,beforeElement:r}=this._findFosterParentingLocation(),r?this.treeAdapter.insertTextBefore(n,t.chars,r):this.treeAdapter.insertText(n,t.chars)):(n=this.openElements.currentTmplContentOrNode,this.treeAdapter.insertText(n,t.chars)),!t.location)return;const a=this.treeAdapter.getChildNodes(n),s=r?a.lastIndexOf(r):a.length,l=a[s-1];if(this.treeAdapter.getNodeSourceCodeLocation(l)){const{endLine:d,endCol:f,endOffset:p}=t.location;this.treeAdapter.updateNodeSourceCodeLocation(l,{endLine:d,endCol:f,endOffset:p})}else this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(l,t.location)}_adoptNodes(t,n){for(let r=this.treeAdapter.getFirstChild(t);r;r=this.treeAdapter.getFirstChild(t))this.treeAdapter.detachNode(r),this.treeAdapter.appendChild(n,r)}_setEndLocation(t,n){if(this.treeAdapter.getNodeSourceCodeLocation(t)&&n.location){const r=n.location,a=this.treeAdapter.getTagName(t),s=n.type===lt.END_TAG&&a===n.tagName?{endTag:{...r},endLine:r.endLine,endCol:r.endCol,endOffset:r.endOffset}:{endLine:r.startLine,endCol:r.startCol,endOffset:r.startOffset};this.treeAdapter.updateNodeSourceCodeLocation(t,s)}}shouldProcessStartTagTokenInForeignContent(t){if(!this.currentNotInHTML)return!1;let n,r;return this.openElements.stackTop===0&&this.fragmentContext?(n=this.fragmentContext,r=this.fragmentContextID):{current:n,currentTagId:r}=this.openElements,t.tagID===x.SVG&&this.treeAdapter.getTagName(n)===ie.ANNOTATION_XML&&this.treeAdapter.getNamespaceURI(n)===Se.MATHML?!1:this.tokenizer.inForeignNode||(t.tagID===x.MGLYPH||t.tagID===x.MALIGNMARK)&&r!==void 0&&!this._isIntegrationPoint(r,n,Se.HTML)}_processToken(t){switch(t.type){case lt.CHARACTER:{this.onCharacter(t);break}case lt.NULL_CHARACTER:{this.onNullCharacter(t);break}case lt.COMMENT:{this.onComment(t);break}case lt.DOCTYPE:{this.onDoctype(t);break}case lt.START_TAG:{this._processStartTag(t);break}case lt.END_TAG:{this.onEndTag(t);break}case lt.EOF:{this.onEof(t);break}case lt.WHITESPACE_CHARACTER:{this.onWhitespaceCharacter(t);break}}}_isIntegrationPoint(t,n,r){const a=this.treeAdapter.getNamespaceURI(n),s=this.treeAdapter.getAttrList(n);return jq(t,a,s,r)}_reconstructActiveFormattingElements(){const t=this.activeFormattingElements.entries.length;if(t){const n=this.activeFormattingElements.entries.findIndex(a=>a.type===Ha.Marker||this.openElements.contains(a.element)),r=n===-1?t-1:n-1;for(let a=r;a>=0;a--){const s=this.activeFormattingElements.entries[a];this._insertElement(s.token,this.treeAdapter.getNamespaceURI(s.element)),s.element=this.openElements.current}}}_closeTableCell(){this.openElements.generateImpliedEndTags(),this.openElements.popUntilTableCellPopped(),this.activeFormattingElements.clearToLastMarker(),this.insertionMode=Q.IN_ROW}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(x.P),this.openElements.popUntilTagNamePopped(x.P)}_resetInsertionMode(){for(let t=this.openElements.stackTop;t>=0;t--)switch(t===0&&this.fragmentContext?this.fragmentContextID:this.openElements.tagIDs[t]){case x.TR:{this.insertionMode=Q.IN_ROW;return}case x.TBODY:case x.THEAD:case x.TFOOT:{this.insertionMode=Q.IN_TABLE_BODY;return}case x.CAPTION:{this.insertionMode=Q.IN_CAPTION;return}case x.COLGROUP:{this.insertionMode=Q.IN_COLUMN_GROUP;return}case x.TABLE:{this.insertionMode=Q.IN_TABLE;return}case x.BODY:{this.insertionMode=Q.IN_BODY;return}case x.FRAMESET:{this.insertionMode=Q.IN_FRAMESET;return}case x.SELECT:{this._resetInsertionModeForSelect(t);return}case x.TEMPLATE:{this.insertionMode=this.tmplInsertionModeStack[0];return}case x.HTML:{this.insertionMode=this.headElement?Q.AFTER_HEAD:Q.BEFORE_HEAD;return}case x.TD:case x.TH:{if(t>0){this.insertionMode=Q.IN_CELL;return}break}case x.HEAD:{if(t>0){this.insertionMode=Q.IN_HEAD;return}break}}this.insertionMode=Q.IN_BODY}_resetInsertionModeForSelect(t){if(t>0)for(let n=t-1;n>0;n--){const r=this.openElements.tagIDs[n];if(r===x.TEMPLATE)break;if(r===x.TABLE){this.insertionMode=Q.IN_SELECT_IN_TABLE;return}}this.insertionMode=Q.IN_SELECT}_isElementCausesFosterParenting(t){return j9.has(t)}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&this.openElements.currentTagId!==void 0&&this._isElementCausesFosterParenting(this.openElements.currentTagId)}_findFosterParentingLocation(){for(let t=this.openElements.stackTop;t>=0;t--){const n=this.openElements.items[t];switch(this.openElements.tagIDs[t]){case x.TEMPLATE:{if(this.treeAdapter.getNamespaceURI(n)===Se.HTML)return{parent:this.treeAdapter.getTemplateContent(n),beforeElement:null};break}case x.TABLE:{const r=this.treeAdapter.getParentNode(n);return r?{parent:r,beforeElement:n}:{parent:this.openElements.items[t-1],beforeElement:null}}}}return{parent:this.openElements.items[0],beforeElement:null}}_fosterParentElement(t){const n=this._findFosterParentingLocation();n.beforeElement?this.treeAdapter.insertBefore(n.parent,t,n.beforeElement):this.treeAdapter.appendChild(n.parent,t)}_isSpecialElement(t,n){const r=this.treeAdapter.getNamespaceURI(t);return fq[r].has(n)}onCharacter(t){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){_V(this,t);return}switch(this.insertionMode){case Q.INITIAL:{lc(this,t);break}case Q.BEFORE_HTML:{wc(this,t);break}case Q.BEFORE_HEAD:{Ac(this,t);break}case Q.IN_HEAD:{kc(this,t);break}case Q.IN_HEAD_NO_SCRIPT:{Cc(this,t);break}case Q.AFTER_HEAD:{Nc(this,t);break}case Q.IN_BODY:case Q.IN_CAPTION:case Q.IN_CELL:case Q.IN_TEMPLATE:{$9(this,t);break}case Q.TEXT:case Q.IN_SELECT:case Q.IN_SELECT_IN_TABLE:{this._insertCharacters(t);break}case Q.IN_TABLE:case Q.IN_TABLE_BODY:case Q.IN_ROW:{J1(this,t);break}case Q.IN_TABLE_TEXT:{W9(this,t);break}case Q.IN_COLUMN_GROUP:{Bf(this,t);break}case Q.AFTER_BODY:{zf(this,t);break}case Q.AFTER_AFTER_BODY:{bf(this,t);break}}}onNullCharacter(t){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){EV(this,t);return}switch(this.insertionMode){case Q.INITIAL:{lc(this,t);break}case Q.BEFORE_HTML:{wc(this,t);break}case Q.BEFORE_HEAD:{Ac(this,t);break}case Q.IN_HEAD:{kc(this,t);break}case Q.IN_HEAD_NO_SCRIPT:{Cc(this,t);break}case Q.AFTER_HEAD:{Nc(this,t);break}case Q.TEXT:{this._insertCharacters(t);break}case Q.IN_TABLE:case Q.IN_TABLE_BODY:case Q.IN_ROW:{J1(this,t);break}case Q.IN_COLUMN_GROUP:{Bf(this,t);break}case Q.AFTER_BODY:{zf(this,t);break}case Q.AFTER_AFTER_BODY:{bf(this,t);break}}}onComment(t){if(this.skipNextNewLine=!1,this.currentNotInHTML){b2(this,t);return}switch(this.insertionMode){case Q.INITIAL:case Q.BEFORE_HTML:case Q.BEFORE_HEAD:case Q.IN_HEAD:case Q.IN_HEAD_NO_SCRIPT:case Q.AFTER_HEAD:case Q.IN_BODY:case Q.IN_TABLE:case Q.IN_CAPTION:case Q.IN_COLUMN_GROUP:case Q.IN_TABLE_BODY:case Q.IN_ROW:case Q.IN_CELL:case Q.IN_SELECT:case Q.IN_SELECT_IN_TABLE:case Q.IN_TEMPLATE:case Q.IN_FRAMESET:case Q.AFTER_FRAMESET:{b2(this,t);break}case Q.IN_TABLE_TEXT:{uc(this,t);break}case Q.AFTER_BODY:{Jq(this,t);break}case Q.AFTER_AFTER_BODY:case Q.AFTER_AFTER_FRAMESET:{e$(this,t);break}}}onDoctype(t){switch(this.skipNextNewLine=!1,this.insertionMode){case Q.INITIAL:{t$(this,t);break}case Q.BEFORE_HEAD:case Q.IN_HEAD:case Q.IN_HEAD_NO_SCRIPT:case Q.AFTER_HEAD:{this._err(t,ge.misplacedDoctype);break}case Q.IN_TABLE_TEXT:{uc(this,t);break}}}onStartTag(t){this.skipNextNewLine=!1,this.currentToken=t,this._processStartTag(t),t.selfClosing&&!t.ackSelfClosing&&this._err(t,ge.nonVoidHtmlElementStartTagWithTrailingSolidus)}_processStartTag(t){this.shouldProcessStartTagTokenInForeignContent(t)?TV(this,t):this._startTagOutsideForeignContent(t)}_startTagOutsideForeignContent(t){switch(this.insertionMode){case Q.INITIAL:{lc(this,t);break}case Q.BEFORE_HTML:{n$(this,t);break}case Q.BEFORE_HEAD:{a$(this,t);break}case Q.IN_HEAD:{Ta(this,t);break}case Q.IN_HEAD_NO_SCRIPT:{o$(this,t);break}case Q.AFTER_HEAD:{u$(this,t);break}case Q.IN_BODY:{Wn(this,t);break}case Q.IN_TABLE:{Yl(this,t);break}case Q.IN_TABLE_TEXT:{uc(this,t);break}case Q.IN_CAPTION:{iV(this,t);break}case Q.IN_COLUMN_GROUP:{Xb(this,t);break}case Q.IN_TABLE_BODY:{Bh(this,t);break}case Q.IN_ROW:{zh(this,t);break}case Q.IN_CELL:{lV(this,t);break}case Q.IN_SELECT:{J9(this,t);break}case Q.IN_SELECT_IN_TABLE:{cV(this,t);break}case Q.IN_TEMPLATE:{fV(this,t);break}case Q.AFTER_BODY:{mV(this,t);break}case Q.IN_FRAMESET:{pV(this,t);break}case Q.AFTER_FRAMESET:{bV(this,t);break}case Q.AFTER_AFTER_BODY:{vV(this,t);break}case Q.AFTER_AFTER_FRAMESET:{xV(this,t);break}}}onEndTag(t){this.skipNextNewLine=!1,this.currentToken=t,this.currentNotInHTML?SV(this,t):this._endTagOutsideForeignContent(t)}_endTagOutsideForeignContent(t){switch(this.insertionMode){case Q.INITIAL:{lc(this,t);break}case Q.BEFORE_HTML:{r$(this,t);break}case Q.BEFORE_HEAD:{i$(this,t);break}case Q.IN_HEAD:{s$(this,t);break}case Q.IN_HEAD_NO_SCRIPT:{l$(this,t);break}case Q.AFTER_HEAD:{c$(this,t);break}case Q.IN_BODY:{Ph(this,t);break}case Q.TEXT:{X$(this,t);break}case Q.IN_TABLE:{Vc(this,t);break}case Q.IN_TABLE_TEXT:{uc(this,t);break}case Q.IN_CAPTION:{sV(this,t);break}case Q.IN_COLUMN_GROUP:{oV(this,t);break}case Q.IN_TABLE_BODY:{y2(this,t);break}case Q.IN_ROW:{Z9(this,t);break}case Q.IN_CELL:{uV(this,t);break}case Q.IN_SELECT:{eS(this,t);break}case Q.IN_SELECT_IN_TABLE:{dV(this,t);break}case Q.IN_TEMPLATE:{hV(this,t);break}case Q.AFTER_BODY:{nS(this,t);break}case Q.IN_FRAMESET:{gV(this,t);break}case Q.AFTER_FRAMESET:{yV(this,t);break}case Q.AFTER_AFTER_BODY:{bf(this,t);break}}}onEof(t){switch(this.insertionMode){case Q.INITIAL:{lc(this,t);break}case Q.BEFORE_HTML:{wc(this,t);break}case Q.BEFORE_HEAD:{Ac(this,t);break}case Q.IN_HEAD:{kc(this,t);break}case Q.IN_HEAD_NO_SCRIPT:{Cc(this,t);break}case Q.AFTER_HEAD:{Nc(this,t);break}case Q.IN_BODY:case Q.IN_TABLE:case Q.IN_CAPTION:case Q.IN_COLUMN_GROUP:case Q.IN_TABLE_BODY:case Q.IN_ROW:case Q.IN_CELL:case Q.IN_SELECT:case Q.IN_SELECT_IN_TABLE:{Q9(this,t);break}case Q.TEXT:{W$(this,t);break}case Q.IN_TABLE_TEXT:{uc(this,t);break}case Q.IN_TEMPLATE:{tS(this,t);break}case Q.AFTER_BODY:case Q.IN_FRAMESET:case Q.AFTER_FRAMESET:case Q.AFTER_AFTER_BODY:case Q.AFTER_AFTER_FRAMESET:{Qb(this,t);break}}}onWhitespaceCharacter(t){if(this.skipNextNewLine&&(this.skipNextNewLine=!1,t.chars.charCodeAt(0)===M.LINE_FEED)){if(t.chars.length===1)return;t.chars=t.chars.substr(1)}if(this.tokenizer.inForeignNode){this._insertCharacters(t);return}switch(this.insertionMode){case Q.IN_HEAD:case Q.IN_HEAD_NO_SCRIPT:case Q.AFTER_HEAD:case Q.TEXT:case Q.IN_COLUMN_GROUP:case Q.IN_SELECT:case Q.IN_SELECT_IN_TABLE:case Q.IN_FRAMESET:case Q.AFTER_FRAMESET:{this._insertCharacters(t);break}case Q.IN_BODY:case Q.IN_CAPTION:case Q.IN_CELL:case Q.IN_TEMPLATE:case Q.AFTER_BODY:case Q.AFTER_AFTER_BODY:case Q.AFTER_AFTER_FRAMESET:{q9(this,t);break}case Q.IN_TABLE:case Q.IN_TABLE_BODY:case Q.IN_ROW:{J1(this,t);break}case Q.IN_TABLE_TEXT:{X9(this,t);break}}}}function Yq(e,t){let n=e.activeFormattingElements.getElementEntryInScopeWithTagName(t.tagName);return n?e.openElements.contains(n.element)?e.openElements.hasInScope(t.tagID)||(n=null):(e.activeFormattingElements.removeEntry(n),n=null):Y9(e,t),n}function Qq(e,t){let n=null,r=e.openElements.stackTop;for(;r>=0;r--){const a=e.openElements.items[r];if(a===t.element)break;e._isSpecialElement(a,e.openElements.tagIDs[r])&&(n=a)}return n||(e.openElements.shortenToLength(Math.max(r,0)),e.activeFormattingElements.removeEntry(t)),n}function Xq(e,t,n){let r=t,a=e.openElements.getCommonAncestor(t);for(let s=0,l=a;l!==n;s++,l=a){a=e.openElements.getCommonAncestor(l);const u=e.activeFormattingElements.getElementEntry(l),d=u&&s>=Vq;!u||d?(d&&e.activeFormattingElements.removeEntry(u),e.openElements.remove(l)):(l=Wq(e,u),r===t&&(e.activeFormattingElements.bookmark=u),e.treeAdapter.detachNode(r),e.treeAdapter.appendChild(l,r),r=l)}return r}function Wq(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 Kq(e,t,n){const r=e.treeAdapter.getTagName(t),a=iu(r);if(e._isElementCausesFosterParenting(a))e._fosterParentElement(n);else{const s=e.treeAdapter.getNamespaceURI(t);a===x.TEMPLATE&&s===Se.HTML&&(t=e.treeAdapter.getTemplateContent(t)),e.treeAdapter.appendChild(t,n)}}function Zq(e,t,n){const r=e.treeAdapter.getNamespaceURI(n.element),{token:a}=n,s=e.treeAdapter.createElement(a.tagName,r,a.attrs);e._adoptNodes(t,s),e.treeAdapter.appendChild(t,s),e.activeFormattingElements.insertElementAfterBookmark(s,a),e.activeFormattingElements.removeEntry(n),e.openElements.remove(n.element),e.openElements.insertAfter(t,s,a.tagID)}function Yb(e,t){for(let n=0;n<$q;n++){const r=Yq(e,t);if(!r)break;const a=Qq(e,r);if(!a)break;e.activeFormattingElements.bookmark=r;const s=Xq(e,a,r.element),l=e.openElements.getCommonAncestor(r.element);e.treeAdapter.detachNode(s),l&&Kq(e,l,s),Zq(e,a,r)}}function b2(e,t){e._appendCommentNode(t,e.openElements.currentTmplContentOrNode)}function Jq(e,t){e._appendCommentNode(t,e.openElements.items[0])}function e$(e,t){e._appendCommentNode(t,e.document)}function Qb(e,t){if(e.stopped=!0,t.location){const n=e.fragmentContext?0:2;for(let r=e.openElements.stackTop;r>=n;r--)e._setEndLocation(e.openElements.items[r],t);if(!e.fragmentContext&&e.openElements.stackTop>=0){const r=e.openElements.items[0],a=e.treeAdapter.getNodeSourceCodeLocation(r);if(a&&!a.endTag&&(e._setEndLocation(r,t),e.openElements.stackTop>=1)){const s=e.openElements.items[1],l=e.treeAdapter.getNodeSourceCodeLocation(s);l&&!l.endTag&&e._setEndLocation(s,t)}}}}function t$(e,t){e._setDocumentType(t);const n=t.forceQuirks?ta.QUIRKS:Rq(t);Oq(t)||e._err(t,ge.nonConformingDoctype),e.treeAdapter.setDocumentMode(e.document,n),e.insertionMode=Q.BEFORE_HTML}function lc(e,t){e._err(t,ge.missingDoctype,!0),e.treeAdapter.setDocumentMode(e.document,ta.QUIRKS),e.insertionMode=Q.BEFORE_HTML,e._processToken(t)}function n$(e,t){t.tagID===x.HTML?(e._insertElement(t,Se.HTML),e.insertionMode=Q.BEFORE_HEAD):wc(e,t)}function r$(e,t){const n=t.tagID;(n===x.HTML||n===x.HEAD||n===x.BODY||n===x.BR)&&wc(e,t)}function wc(e,t){e._insertFakeRootElement(),e.insertionMode=Q.BEFORE_HEAD,e._processToken(t)}function a$(e,t){switch(t.tagID){case x.HTML:{Wn(e,t);break}case x.HEAD:{e._insertElement(t,Se.HTML),e.headElement=e.openElements.current,e.insertionMode=Q.IN_HEAD;break}default:Ac(e,t)}}function i$(e,t){const n=t.tagID;n===x.HEAD||n===x.BODY||n===x.HTML||n===x.BR?Ac(e,t):e._err(t,ge.endTagWithoutMatchingOpenElement)}function Ac(e,t){e._insertFakeElement(ie.HEAD,x.HEAD),e.headElement=e.openElements.current,e.insertionMode=Q.IN_HEAD,e._processToken(t)}function Ta(e,t){switch(t.tagID){case x.HTML:{Wn(e,t);break}case x.BASE:case x.BASEFONT:case x.BGSOUND:case x.LINK:case x.META:{e._appendElement(t,Se.HTML),t.ackSelfClosing=!0;break}case x.TITLE:{e._switchToTextParsing(t,on.RCDATA);break}case x.NOSCRIPT:{e.options.scriptingEnabled?e._switchToTextParsing(t,on.RAWTEXT):(e._insertElement(t,Se.HTML),e.insertionMode=Q.IN_HEAD_NO_SCRIPT);break}case x.NOFRAMES:case x.STYLE:{e._switchToTextParsing(t,on.RAWTEXT);break}case x.SCRIPT:{e._switchToTextParsing(t,on.SCRIPT_DATA);break}case x.TEMPLATE:{e._insertTemplate(t),e.activeFormattingElements.insertMarker(),e.framesetOk=!1,e.insertionMode=Q.IN_TEMPLATE,e.tmplInsertionModeStack.unshift(Q.IN_TEMPLATE);break}case x.HEAD:{e._err(t,ge.misplacedStartTagForHeadElement);break}default:kc(e,t)}}function s$(e,t){switch(t.tagID){case x.HEAD:{e.openElements.pop(),e.insertionMode=Q.AFTER_HEAD;break}case x.BODY:case x.BR:case x.HTML:{kc(e,t);break}case x.TEMPLATE:{Ro(e,t);break}default:e._err(t,ge.endTagWithoutMatchingOpenElement)}}function Ro(e,t){e.openElements.tmplCount>0?(e.openElements.generateImpliedEndTagsThoroughly(),e.openElements.currentTagId!==x.TEMPLATE&&e._err(t,ge.closingOfElementWithOpenChildElements),e.openElements.popUntilTagNamePopped(x.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode()):e._err(t,ge.endTagWithoutMatchingOpenElement)}function kc(e,t){e.openElements.pop(),e.insertionMode=Q.AFTER_HEAD,e._processToken(t)}function o$(e,t){switch(t.tagID){case x.HTML:{Wn(e,t);break}case x.BASEFONT:case x.BGSOUND:case x.HEAD:case x.LINK:case x.META:case x.NOFRAMES:case x.STYLE:{Ta(e,t);break}case x.NOSCRIPT:{e._err(t,ge.nestedNoscriptInHead);break}default:Cc(e,t)}}function l$(e,t){switch(t.tagID){case x.NOSCRIPT:{e.openElements.pop(),e.insertionMode=Q.IN_HEAD;break}case x.BR:{Cc(e,t);break}default:e._err(t,ge.endTagWithoutMatchingOpenElement)}}function Cc(e,t){const n=t.type===lt.EOF?ge.openElementsLeftAfterEof:ge.disallowedContentInNoscriptInHead;e._err(t,n),e.openElements.pop(),e.insertionMode=Q.IN_HEAD,e._processToken(t)}function u$(e,t){switch(t.tagID){case x.HTML:{Wn(e,t);break}case x.BODY:{e._insertElement(t,Se.HTML),e.framesetOk=!1,e.insertionMode=Q.IN_BODY;break}case x.FRAMESET:{e._insertElement(t,Se.HTML),e.insertionMode=Q.IN_FRAMESET;break}case x.BASE:case x.BASEFONT:case x.BGSOUND:case x.LINK:case x.META:case x.NOFRAMES:case x.SCRIPT:case x.STYLE:case x.TEMPLATE:case x.TITLE:{e._err(t,ge.abandonedHeadElementChild),e.openElements.push(e.headElement,x.HEAD),Ta(e,t),e.openElements.remove(e.headElement);break}case x.HEAD:{e._err(t,ge.misplacedStartTagForHeadElement);break}default:Nc(e,t)}}function c$(e,t){switch(t.tagID){case x.BODY:case x.HTML:case x.BR:{Nc(e,t);break}case x.TEMPLATE:{Ro(e,t);break}default:e._err(t,ge.endTagWithoutMatchingOpenElement)}}function Nc(e,t){e._insertFakeElement(ie.BODY,x.BODY),e.insertionMode=Q.IN_BODY,Mh(e,t)}function Mh(e,t){switch(t.type){case lt.CHARACTER:{$9(e,t);break}case lt.WHITESPACE_CHARACTER:{q9(e,t);break}case lt.COMMENT:{b2(e,t);break}case lt.START_TAG:{Wn(e,t);break}case lt.END_TAG:{Ph(e,t);break}case lt.EOF:{Q9(e,t);break}}}function q9(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t)}function $9(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t),e.framesetOk=!1}function d$(e,t){e.openElements.tmplCount===0&&e.treeAdapter.adoptAttributes(e.openElements.items[0],t.attrs)}function f$(e,t){const n=e.openElements.tryPeekProperlyNestedBodyElement();n&&e.openElements.tmplCount===0&&(e.framesetOk=!1,e.treeAdapter.adoptAttributes(n,t.attrs))}function h$(e,t){const n=e.openElements.tryPeekProperlyNestedBodyElement();e.framesetOk&&n&&(e.treeAdapter.detachNode(n),e.openElements.popAllUpToHtmlElement(),e._insertElement(t,Se.HTML),e.insertionMode=Q.IN_FRAMESET)}function m$(e,t){e.openElements.hasInButtonScope(x.P)&&e._closePElement(),e._insertElement(t,Se.HTML)}function p$(e,t){e.openElements.hasInButtonScope(x.P)&&e._closePElement(),e.openElements.currentTagId!==void 0&&g2.has(e.openElements.currentTagId)&&e.openElements.pop(),e._insertElement(t,Se.HTML)}function g$(e,t){e.openElements.hasInButtonScope(x.P)&&e._closePElement(),e._insertElement(t,Se.HTML),e.skipNextNewLine=!0,e.framesetOk=!1}function b$(e,t){const n=e.openElements.tmplCount>0;(!e.formElement||n)&&(e.openElements.hasInButtonScope(x.P)&&e._closePElement(),e._insertElement(t,Se.HTML),n||(e.formElement=e.openElements.current))}function y$(e,t){e.framesetOk=!1;const n=t.tagID;for(let r=e.openElements.stackTop;r>=0;r--){const a=e.openElements.tagIDs[r];if(n===x.LI&&a===x.LI||(n===x.DD||n===x.DT)&&(a===x.DD||a===x.DT)){e.openElements.generateImpliedEndTagsWithExclusion(a),e.openElements.popUntilTagNamePopped(a);break}if(a!==x.ADDRESS&&a!==x.DIV&&a!==x.P&&e._isSpecialElement(e.openElements.items[r],a))break}e.openElements.hasInButtonScope(x.P)&&e._closePElement(),e._insertElement(t,Se.HTML)}function v$(e,t){e.openElements.hasInButtonScope(x.P)&&e._closePElement(),e._insertElement(t,Se.HTML),e.tokenizer.state=on.PLAINTEXT}function x$(e,t){e.openElements.hasInScope(x.BUTTON)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(x.BUTTON)),e._reconstructActiveFormattingElements(),e._insertElement(t,Se.HTML),e.framesetOk=!1}function E$(e,t){const n=e.activeFormattingElements.getElementEntryInScopeWithTagName(ie.A);n&&(Yb(e,t),e.openElements.remove(n.element),e.activeFormattingElements.removeEntry(n)),e._reconstructActiveFormattingElements(),e._insertElement(t,Se.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function _$(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,Se.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function T$(e,t){e._reconstructActiveFormattingElements(),e.openElements.hasInScope(x.NOBR)&&(Yb(e,t),e._reconstructActiveFormattingElements()),e._insertElement(t,Se.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function S$(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,Se.HTML),e.activeFormattingElements.insertMarker(),e.framesetOk=!1}function w$(e,t){e.treeAdapter.getDocumentMode(e.document)!==ta.QUIRKS&&e.openElements.hasInButtonScope(x.P)&&e._closePElement(),e._insertElement(t,Se.HTML),e.framesetOk=!1,e.insertionMode=Q.IN_TABLE}function V9(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,Se.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function G9(e){const t=I9(e,mo.TYPE);return t!=null&&t.toLowerCase()===qq}function A$(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,Se.HTML),G9(t)||(e.framesetOk=!1),t.ackSelfClosing=!0}function k$(e,t){e._appendElement(t,Se.HTML),t.ackSelfClosing=!0}function C$(e,t){e.openElements.hasInButtonScope(x.P)&&e._closePElement(),e._appendElement(t,Se.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function N$(e,t){t.tagName=ie.IMG,t.tagID=x.IMG,V9(e,t)}function O$(e,t){e._insertElement(t,Se.HTML),e.skipNextNewLine=!0,e.tokenizer.state=on.RCDATA,e.originalInsertionMode=e.insertionMode,e.framesetOk=!1,e.insertionMode=Q.TEXT}function R$(e,t){e.openElements.hasInButtonScope(x.P)&&e._closePElement(),e._reconstructActiveFormattingElements(),e.framesetOk=!1,e._switchToTextParsing(t,on.RAWTEXT)}function D$(e,t){e.framesetOk=!1,e._switchToTextParsing(t,on.RAWTEXT)}function p8(e,t){e._switchToTextParsing(t,on.RAWTEXT)}function L$(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,Se.HTML),e.framesetOk=!1,e.insertionMode=e.insertionMode===Q.IN_TABLE||e.insertionMode===Q.IN_CAPTION||e.insertionMode===Q.IN_TABLE_BODY||e.insertionMode===Q.IN_ROW||e.insertionMode===Q.IN_CELL?Q.IN_SELECT_IN_TABLE:Q.IN_SELECT}function I$(e,t){e.openElements.currentTagId===x.OPTION&&e.openElements.pop(),e._reconstructActiveFormattingElements(),e._insertElement(t,Se.HTML)}function M$(e,t){e.openElements.hasInScope(x.RUBY)&&e.openElements.generateImpliedEndTags(),e._insertElement(t,Se.HTML)}function P$(e,t){e.openElements.hasInScope(x.RUBY)&&e.openElements.generateImpliedEndTagsWithExclusion(x.RTC),e._insertElement(t,Se.HTML)}function B$(e,t){e._reconstructActiveFormattingElements(),H9(t),Gb(t),t.selfClosing?e._appendElement(t,Se.MATHML):e._insertElement(t,Se.MATHML),t.ackSelfClosing=!0}function z$(e,t){e._reconstructActiveFormattingElements(),F9(t),Gb(t),t.selfClosing?e._appendElement(t,Se.SVG):e._insertElement(t,Se.SVG),t.ackSelfClosing=!0}function g8(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,Se.HTML)}function Wn(e,t){switch(t.tagID){case x.I:case x.S:case x.B:case x.U:case x.EM:case x.TT:case x.BIG:case x.CODE:case x.FONT:case x.SMALL:case x.STRIKE:case x.STRONG:{_$(e,t);break}case x.A:{E$(e,t);break}case x.H1:case x.H2:case x.H3:case x.H4:case x.H5:case x.H6:{p$(e,t);break}case x.P:case x.DL:case x.OL:case x.UL:case x.DIV:case x.DIR:case x.NAV:case x.MAIN:case x.MENU:case x.ASIDE:case x.CENTER:case x.FIGURE:case x.FOOTER:case x.HEADER:case x.HGROUP:case x.DIALOG:case x.DETAILS:case x.ADDRESS:case x.ARTICLE:case x.SEARCH:case x.SECTION:case x.SUMMARY:case x.FIELDSET:case x.BLOCKQUOTE:case x.FIGCAPTION:{m$(e,t);break}case x.LI:case x.DD:case x.DT:{y$(e,t);break}case x.BR:case x.IMG:case x.WBR:case x.AREA:case x.EMBED:case x.KEYGEN:{V9(e,t);break}case x.HR:{C$(e,t);break}case x.RB:case x.RTC:{M$(e,t);break}case x.RT:case x.RP:{P$(e,t);break}case x.PRE:case x.LISTING:{g$(e,t);break}case x.XMP:{R$(e,t);break}case x.SVG:{z$(e,t);break}case x.HTML:{d$(e,t);break}case x.BASE:case x.LINK:case x.META:case x.STYLE:case x.TITLE:case x.SCRIPT:case x.BGSOUND:case x.BASEFONT:case x.TEMPLATE:{Ta(e,t);break}case x.BODY:{f$(e,t);break}case x.FORM:{b$(e,t);break}case x.NOBR:{T$(e,t);break}case x.MATH:{B$(e,t);break}case x.TABLE:{w$(e,t);break}case x.INPUT:{A$(e,t);break}case x.PARAM:case x.TRACK:case x.SOURCE:{k$(e,t);break}case x.IMAGE:{N$(e,t);break}case x.BUTTON:{x$(e,t);break}case x.APPLET:case x.OBJECT:case x.MARQUEE:{S$(e,t);break}case x.IFRAME:{D$(e,t);break}case x.SELECT:{L$(e,t);break}case x.OPTION:case x.OPTGROUP:{I$(e,t);break}case x.NOEMBED:case x.NOFRAMES:{p8(e,t);break}case x.FRAMESET:{h$(e,t);break}case x.TEXTAREA:{O$(e,t);break}case x.NOSCRIPT:{e.options.scriptingEnabled?p8(e,t):g8(e,t);break}case x.PLAINTEXT:{v$(e,t);break}case x.COL:case x.TH:case x.TD:case x.TR:case x.HEAD:case x.FRAME:case x.TBODY:case x.TFOOT:case x.THEAD:case x.CAPTION:case x.COLGROUP:break;default:g8(e,t)}}function U$(e,t){if(e.openElements.hasInScope(x.BODY)&&(e.insertionMode=Q.AFTER_BODY,e.options.sourceCodeLocationInfo)){const n=e.openElements.tryPeekProperlyNestedBodyElement();n&&e._setEndLocation(n,t)}}function H$(e,t){e.openElements.hasInScope(x.BODY)&&(e.insertionMode=Q.AFTER_BODY,nS(e,t))}function F$(e,t){const n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n))}function j$(e){const t=e.openElements.tmplCount>0,{formElement:n}=e;t||(e.formElement=null),(n||t)&&e.openElements.hasInScope(x.FORM)&&(e.openElements.generateImpliedEndTags(),t?e.openElements.popUntilTagNamePopped(x.FORM):n&&e.openElements.remove(n))}function q$(e){e.openElements.hasInButtonScope(x.P)||e._insertFakeElement(ie.P,x.P),e._closePElement()}function $$(e){e.openElements.hasInListItemScope(x.LI)&&(e.openElements.generateImpliedEndTagsWithExclusion(x.LI),e.openElements.popUntilTagNamePopped(x.LI))}function V$(e,t){const n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTagsWithExclusion(n),e.openElements.popUntilTagNamePopped(n))}function G$(e){e.openElements.hasNumberedHeaderInScope()&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilNumberedHeaderPopped())}function Y$(e,t){const n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker())}function Q$(e){e._reconstructActiveFormattingElements(),e._insertFakeElement(ie.BR,x.BR),e.openElements.pop(),e.framesetOk=!1}function Y9(e,t){const n=t.tagName,r=t.tagID;for(let a=e.openElements.stackTop;a>0;a--){const s=e.openElements.items[a],l=e.openElements.tagIDs[a];if(r===l&&(r!==x.UNKNOWN||e.treeAdapter.getTagName(s)===n)){e.openElements.generateImpliedEndTagsWithExclusion(r),e.openElements.stackTop>=a&&e.openElements.shortenToLength(a);break}if(e._isSpecialElement(s,l))break}}function Ph(e,t){switch(t.tagID){case x.A:case x.B:case x.I:case x.S:case x.U:case x.EM:case x.TT:case x.BIG:case x.CODE:case x.FONT:case x.NOBR:case x.SMALL:case x.STRIKE:case x.STRONG:{Yb(e,t);break}case x.P:{q$(e);break}case x.DL:case x.UL:case x.OL:case x.DIR:case x.DIV:case x.NAV:case x.PRE:case x.MAIN:case x.MENU:case x.ASIDE:case x.BUTTON:case x.CENTER:case x.FIGURE:case x.FOOTER:case x.HEADER:case x.HGROUP:case x.DIALOG:case x.ADDRESS:case x.ARTICLE:case x.DETAILS:case x.SEARCH:case x.SECTION:case x.SUMMARY:case x.LISTING:case x.FIELDSET:case x.BLOCKQUOTE:case x.FIGCAPTION:{F$(e,t);break}case x.LI:{$$(e);break}case x.DD:case x.DT:{V$(e,t);break}case x.H1:case x.H2:case x.H3:case x.H4:case x.H5:case x.H6:{G$(e);break}case x.BR:{Q$(e);break}case x.BODY:{U$(e,t);break}case x.HTML:{H$(e,t);break}case x.FORM:{j$(e);break}case x.APPLET:case x.OBJECT:case x.MARQUEE:{Y$(e,t);break}case x.TEMPLATE:{Ro(e,t);break}default:Y9(e,t)}}function Q9(e,t){e.tmplInsertionModeStack.length>0?tS(e,t):Qb(e,t)}function X$(e,t){var n;t.tagID===x.SCRIPT&&((n=e.scriptHandler)===null||n===void 0||n.call(e,e.openElements.current)),e.openElements.pop(),e.insertionMode=e.originalInsertionMode}function W$(e,t){e._err(t,ge.eofInElementThatCanContainOnlyText),e.openElements.pop(),e.insertionMode=e.originalInsertionMode,e.onEof(t)}function J1(e,t){if(e.openElements.currentTagId!==void 0&&j9.has(e.openElements.currentTagId))switch(e.pendingCharacterTokens.length=0,e.hasNonWhitespacePendingCharacterToken=!1,e.originalInsertionMode=e.insertionMode,e.insertionMode=Q.IN_TABLE_TEXT,t.type){case lt.CHARACTER:{W9(e,t);break}case lt.WHITESPACE_CHARACTER:{X9(e,t);break}}else m0(e,t)}function K$(e,t){e.openElements.clearBackToTableContext(),e.activeFormattingElements.insertMarker(),e._insertElement(t,Se.HTML),e.insertionMode=Q.IN_CAPTION}function Z$(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,Se.HTML),e.insertionMode=Q.IN_COLUMN_GROUP}function J$(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(ie.COLGROUP,x.COLGROUP),e.insertionMode=Q.IN_COLUMN_GROUP,Xb(e,t)}function eV(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,Se.HTML),e.insertionMode=Q.IN_TABLE_BODY}function tV(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(ie.TBODY,x.TBODY),e.insertionMode=Q.IN_TABLE_BODY,Bh(e,t)}function nV(e,t){e.openElements.hasInTableScope(x.TABLE)&&(e.openElements.popUntilTagNamePopped(x.TABLE),e._resetInsertionMode(),e._processStartTag(t))}function rV(e,t){G9(t)?e._appendElement(t,Se.HTML):m0(e,t),t.ackSelfClosing=!0}function aV(e,t){!e.formElement&&e.openElements.tmplCount===0&&(e._insertElement(t,Se.HTML),e.formElement=e.openElements.current,e.openElements.pop())}function Yl(e,t){switch(t.tagID){case x.TD:case x.TH:case x.TR:{tV(e,t);break}case x.STYLE:case x.SCRIPT:case x.TEMPLATE:{Ta(e,t);break}case x.COL:{J$(e,t);break}case x.FORM:{aV(e,t);break}case x.TABLE:{nV(e,t);break}case x.TBODY:case x.TFOOT:case x.THEAD:{eV(e,t);break}case x.INPUT:{rV(e,t);break}case x.CAPTION:{K$(e,t);break}case x.COLGROUP:{Z$(e,t);break}default:m0(e,t)}}function Vc(e,t){switch(t.tagID){case x.TABLE:{e.openElements.hasInTableScope(x.TABLE)&&(e.openElements.popUntilTagNamePopped(x.TABLE),e._resetInsertionMode());break}case x.TEMPLATE:{Ro(e,t);break}case x.BODY:case x.CAPTION:case x.COL:case x.COLGROUP:case x.HTML:case x.TBODY:case x.TD:case x.TFOOT:case x.TH:case x.THEAD:case x.TR:break;default:m0(e,t)}}function m0(e,t){const n=e.fosterParentingEnabled;e.fosterParentingEnabled=!0,Mh(e,t),e.fosterParentingEnabled=n}function X9(e,t){e.pendingCharacterTokens.push(t)}function W9(e,t){e.pendingCharacterTokens.push(t),e.hasNonWhitespacePendingCharacterToken=!0}function uc(e,t){let n=0;if(e.hasNonWhitespacePendingCharacterToken)for(;n<e.pendingCharacterTokens.length;n++)m0(e,e.pendingCharacterTokens[n]);else for(;n<e.pendingCharacterTokens.length;n++)e._insertCharacters(e.pendingCharacterTokens[n]);e.insertionMode=e.originalInsertionMode,e._processToken(t)}const K9=new Set([x.CAPTION,x.COL,x.COLGROUP,x.TBODY,x.TD,x.TFOOT,x.TH,x.THEAD,x.TR]);function iV(e,t){const n=t.tagID;K9.has(n)?e.openElements.hasInTableScope(x.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(x.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=Q.IN_TABLE,Yl(e,t)):Wn(e,t)}function sV(e,t){const n=t.tagID;switch(n){case x.CAPTION:case x.TABLE:{e.openElements.hasInTableScope(x.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(x.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=Q.IN_TABLE,n===x.TABLE&&Vc(e,t));break}case x.BODY:case x.COL:case x.COLGROUP:case x.HTML:case x.TBODY:case x.TD:case x.TFOOT:case x.TH:case x.THEAD:case x.TR:break;default:Ph(e,t)}}function Xb(e,t){switch(t.tagID){case x.HTML:{Wn(e,t);break}case x.COL:{e._appendElement(t,Se.HTML),t.ackSelfClosing=!0;break}case x.TEMPLATE:{Ta(e,t);break}default:Bf(e,t)}}function oV(e,t){switch(t.tagID){case x.COLGROUP:{e.openElements.currentTagId===x.COLGROUP&&(e.openElements.pop(),e.insertionMode=Q.IN_TABLE);break}case x.TEMPLATE:{Ro(e,t);break}case x.COL:break;default:Bf(e,t)}}function Bf(e,t){e.openElements.currentTagId===x.COLGROUP&&(e.openElements.pop(),e.insertionMode=Q.IN_TABLE,e._processToken(t))}function Bh(e,t){switch(t.tagID){case x.TR:{e.openElements.clearBackToTableBodyContext(),e._insertElement(t,Se.HTML),e.insertionMode=Q.IN_ROW;break}case x.TH:case x.TD:{e.openElements.clearBackToTableBodyContext(),e._insertFakeElement(ie.TR,x.TR),e.insertionMode=Q.IN_ROW,zh(e,t);break}case x.CAPTION:case x.COL:case x.COLGROUP:case x.TBODY:case x.TFOOT:case x.THEAD:{e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=Q.IN_TABLE,Yl(e,t));break}default:Yl(e,t)}}function y2(e,t){const n=t.tagID;switch(t.tagID){case x.TBODY:case x.TFOOT:case x.THEAD:{e.openElements.hasInTableScope(n)&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=Q.IN_TABLE);break}case x.TABLE:{e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=Q.IN_TABLE,Vc(e,t));break}case x.BODY:case x.CAPTION:case x.COL:case x.COLGROUP:case x.HTML:case x.TD:case x.TH:case x.TR:break;default:Vc(e,t)}}function zh(e,t){switch(t.tagID){case x.TH:case x.TD:{e.openElements.clearBackToTableRowContext(),e._insertElement(t,Se.HTML),e.insertionMode=Q.IN_CELL,e.activeFormattingElements.insertMarker();break}case x.CAPTION:case x.COL:case x.COLGROUP:case x.TBODY:case x.TFOOT:case x.THEAD:case x.TR:{e.openElements.hasInTableScope(x.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=Q.IN_TABLE_BODY,Bh(e,t));break}default:Yl(e,t)}}function Z9(e,t){switch(t.tagID){case x.TR:{e.openElements.hasInTableScope(x.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=Q.IN_TABLE_BODY);break}case x.TABLE:{e.openElements.hasInTableScope(x.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=Q.IN_TABLE_BODY,y2(e,t));break}case x.TBODY:case x.TFOOT:case x.THEAD:{(e.openElements.hasInTableScope(t.tagID)||e.openElements.hasInTableScope(x.TR))&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=Q.IN_TABLE_BODY,y2(e,t));break}case x.BODY:case x.CAPTION:case x.COL:case x.COLGROUP:case x.HTML:case x.TD:case x.TH:break;default:Vc(e,t)}}function lV(e,t){const n=t.tagID;K9.has(n)?(e.openElements.hasInTableScope(x.TD)||e.openElements.hasInTableScope(x.TH))&&(e._closeTableCell(),zh(e,t)):Wn(e,t)}function uV(e,t){const n=t.tagID;switch(n){case x.TD:case x.TH:{e.openElements.hasInTableScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=Q.IN_ROW);break}case x.TABLE:case x.TBODY:case x.TFOOT:case x.THEAD:case x.TR:{e.openElements.hasInTableScope(n)&&(e._closeTableCell(),Z9(e,t));break}case x.BODY:case x.CAPTION:case x.COL:case x.COLGROUP:case x.HTML:break;default:Ph(e,t)}}function J9(e,t){switch(t.tagID){case x.HTML:{Wn(e,t);break}case x.OPTION:{e.openElements.currentTagId===x.OPTION&&e.openElements.pop(),e._insertElement(t,Se.HTML);break}case x.OPTGROUP:{e.openElements.currentTagId===x.OPTION&&e.openElements.pop(),e.openElements.currentTagId===x.OPTGROUP&&e.openElements.pop(),e._insertElement(t,Se.HTML);break}case x.HR:{e.openElements.currentTagId===x.OPTION&&e.openElements.pop(),e.openElements.currentTagId===x.OPTGROUP&&e.openElements.pop(),e._appendElement(t,Se.HTML),t.ackSelfClosing=!0;break}case x.INPUT:case x.KEYGEN:case x.TEXTAREA:case x.SELECT:{e.openElements.hasInSelectScope(x.SELECT)&&(e.openElements.popUntilTagNamePopped(x.SELECT),e._resetInsertionMode(),t.tagID!==x.SELECT&&e._processStartTag(t));break}case x.SCRIPT:case x.TEMPLATE:{Ta(e,t);break}}}function eS(e,t){switch(t.tagID){case x.OPTGROUP:{e.openElements.stackTop>0&&e.openElements.currentTagId===x.OPTION&&e.openElements.tagIDs[e.openElements.stackTop-1]===x.OPTGROUP&&e.openElements.pop(),e.openElements.currentTagId===x.OPTGROUP&&e.openElements.pop();break}case x.OPTION:{e.openElements.currentTagId===x.OPTION&&e.openElements.pop();break}case x.SELECT:{e.openElements.hasInSelectScope(x.SELECT)&&(e.openElements.popUntilTagNamePopped(x.SELECT),e._resetInsertionMode());break}case x.TEMPLATE:{Ro(e,t);break}}}function cV(e,t){const n=t.tagID;n===x.CAPTION||n===x.TABLE||n===x.TBODY||n===x.TFOOT||n===x.THEAD||n===x.TR||n===x.TD||n===x.TH?(e.openElements.popUntilTagNamePopped(x.SELECT),e._resetInsertionMode(),e._processStartTag(t)):J9(e,t)}function dV(e,t){const n=t.tagID;n===x.CAPTION||n===x.TABLE||n===x.TBODY||n===x.TFOOT||n===x.THEAD||n===x.TR||n===x.TD||n===x.TH?e.openElements.hasInTableScope(n)&&(e.openElements.popUntilTagNamePopped(x.SELECT),e._resetInsertionMode(),e.onEndTag(t)):eS(e,t)}function fV(e,t){switch(t.tagID){case x.BASE:case x.BASEFONT:case x.BGSOUND:case x.LINK:case x.META:case x.NOFRAMES:case x.SCRIPT:case x.STYLE:case x.TEMPLATE:case x.TITLE:{Ta(e,t);break}case x.CAPTION:case x.COLGROUP:case x.TBODY:case x.TFOOT:case x.THEAD:{e.tmplInsertionModeStack[0]=Q.IN_TABLE,e.insertionMode=Q.IN_TABLE,Yl(e,t);break}case x.COL:{e.tmplInsertionModeStack[0]=Q.IN_COLUMN_GROUP,e.insertionMode=Q.IN_COLUMN_GROUP,Xb(e,t);break}case x.TR:{e.tmplInsertionModeStack[0]=Q.IN_TABLE_BODY,e.insertionMode=Q.IN_TABLE_BODY,Bh(e,t);break}case x.TD:case x.TH:{e.tmplInsertionModeStack[0]=Q.IN_ROW,e.insertionMode=Q.IN_ROW,zh(e,t);break}default:e.tmplInsertionModeStack[0]=Q.IN_BODY,e.insertionMode=Q.IN_BODY,Wn(e,t)}}function hV(e,t){t.tagID===x.TEMPLATE&&Ro(e,t)}function tS(e,t){e.openElements.tmplCount>0?(e.openElements.popUntilTagNamePopped(x.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode(),e.onEof(t)):Qb(e,t)}function mV(e,t){t.tagID===x.HTML?Wn(e,t):zf(e,t)}function nS(e,t){var n;if(t.tagID===x.HTML){if(e.fragmentContext||(e.insertionMode=Q.AFTER_AFTER_BODY),e.options.sourceCodeLocationInfo&&e.openElements.tagIDs[0]===x.HTML){e._setEndLocation(e.openElements.items[0],t);const r=e.openElements.items[1];r&&!(!((n=e.treeAdapter.getNodeSourceCodeLocation(r))===null||n===void 0)&&n.endTag)&&e._setEndLocation(r,t)}}else zf(e,t)}function zf(e,t){e.insertionMode=Q.IN_BODY,Mh(e,t)}function pV(e,t){switch(t.tagID){case x.HTML:{Wn(e,t);break}case x.FRAMESET:{e._insertElement(t,Se.HTML);break}case x.FRAME:{e._appendElement(t,Se.HTML),t.ackSelfClosing=!0;break}case x.NOFRAMES:{Ta(e,t);break}}}function gV(e,t){t.tagID===x.FRAMESET&&!e.openElements.isRootHtmlElementCurrent()&&(e.openElements.pop(),!e.fragmentContext&&e.openElements.currentTagId!==x.FRAMESET&&(e.insertionMode=Q.AFTER_FRAMESET))}function bV(e,t){switch(t.tagID){case x.HTML:{Wn(e,t);break}case x.NOFRAMES:{Ta(e,t);break}}}function yV(e,t){t.tagID===x.HTML&&(e.insertionMode=Q.AFTER_AFTER_FRAMESET)}function vV(e,t){t.tagID===x.HTML?Wn(e,t):bf(e,t)}function bf(e,t){e.insertionMode=Q.IN_BODY,Mh(e,t)}function xV(e,t){switch(t.tagID){case x.HTML:{Wn(e,t);break}case x.NOFRAMES:{Ta(e,t);break}}}function EV(e,t){t.chars=qt,e._insertCharacters(t)}function _V(e,t){e._insertCharacters(t),e.framesetOk=!1}function rS(e){for(;e.treeAdapter.getNamespaceURI(e.openElements.current)!==Se.HTML&&e.openElements.currentTagId!==void 0&&!e._isIntegrationPoint(e.openElements.currentTagId,e.openElements.current);)e.openElements.pop()}function TV(e,t){if(zq(t))rS(e),e._startTagOutsideForeignContent(t);else{const n=e._getAdjustedCurrentElement(),r=e.treeAdapter.getNamespaceURI(n);r===Se.MATHML?H9(t):r===Se.SVG&&(Uq(t),F9(t)),Gb(t),t.selfClosing?e._appendElement(t,r):e._insertElement(t,r),t.ackSelfClosing=!0}}function SV(e,t){if(t.tagID===x.P||t.tagID===x.BR){rS(e),e._endTagOutsideForeignContent(t);return}for(let n=e.openElements.stackTop;n>0;n--){const r=e.openElements.items[n];if(e.treeAdapter.getNamespaceURI(r)===Se.HTML){e._endTagOutsideForeignContent(t);break}const a=e.treeAdapter.getTagName(r);if(a.toLowerCase()===t.tagName){t.tagName=a,e.openElements.shortenToLength(n);break}}}ie.AREA,ie.BASE,ie.BASEFONT,ie.BGSOUND,ie.BR,ie.COL,ie.EMBED,ie.FRAME,ie.HR,ie.IMG,ie.INPUT,ie.KEYGEN,ie.LINK,ie.META,ie.PARAM,ie.SOURCE,ie.TRACK,ie.WBR;const wV=/<(\/?)(iframe|noembed|noframes|plaintext|script|style|textarea|title|xmp)(?=[\t\n\f\r />])/gi,AV=new Set(["mdxFlowExpression","mdxJsxFlowElement","mdxJsxTextElement","mdxTextExpression","mdxjsEsm"]),b8={sourceCodeLocationInfo:!0,scriptingEnabled:!1};function aS(e,t){const n=PV(e),r=$b("type",{handlers:{root:kV,element:CV,text:NV,comment:sS,doctype:OV,raw:DV},unknown:LV}),a={parser:n?new m8(b8):m8.getFragmentParser(void 0,b8),handle(u){r(u,a)},stitches:!1,options:t||{}};r(e,a),su(a,Xa());const s=n?a.parser.document:a.parser.getFragment(),l=Cj(s,{file:a.options.file});return a.stitches&&vo(l,"comment",function(u,d,f){const p=u;if(p.value.stitch&&f&&d!==void 0){const m=f.children;return m[d]=p.value.stitch,d}}),l.type==="root"&&l.children.length===1&&l.children[0].type===e.type?l.children[0]:l}function iS(e,t){let n=-1;if(e)for(;++n<e.length;)t.handle(e[n])}function kV(e,t){iS(e.children,t)}function CV(e,t){IV(e,t),iS(e.children,t),MV(e,t)}function NV(e,t){t.parser.tokenizer.state>4&&(t.parser.tokenizer.state=0);const n={type:lt.CHARACTER,chars:e.value,location:p0(e)};su(t,Xa(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function OV(e,t){const n={type:lt.DOCTYPE,name:"html",forceQuirks:!1,publicId:"",systemId:"",location:p0(e)};su(t,Xa(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function RV(e,t){t.stitches=!0;const n=BV(e);if("children"in e&&"children"in n){const r=aS({type:"root",children:e.children},t.options);n.children=r.children}sS({type:"comment",value:{stitch:n}},t)}function sS(e,t){const n=e.value,r={type:lt.COMMENT,data:n,location:p0(e)};su(t,Xa(e)),t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken)}function DV(e,t){if(t.parser.tokenizer.preprocessor.html="",t.parser.tokenizer.preprocessor.pos=-1,t.parser.tokenizer.preprocessor.lastGapPos=-2,t.parser.tokenizer.preprocessor.gapStack=[],t.parser.tokenizer.preprocessor.skipNextNewLine=!1,t.parser.tokenizer.preprocessor.lastChunkWritten=!1,t.parser.tokenizer.preprocessor.endOfChunkHit=!1,t.parser.tokenizer.preprocessor.isEol=!1,oS(t,Xa(e)),t.parser.tokenizer.write(t.options.tagfilter?e.value.replace(wV,"&lt;$1$2"):e.value,!1),t.parser.tokenizer._runParsingLoop(),t.parser.tokenizer.state===72||t.parser.tokenizer.state===78){t.parser.tokenizer.preprocessor.lastChunkWritten=!0;const n=t.parser.tokenizer._consume();t.parser.tokenizer._callState(n)}}function LV(e,t){const n=e;if(t.options.passThrough&&t.options.passThrough.includes(n.type))RV(n,t);else{let r="";throw AV.has(n.type)&&(r=". It looks like you are using MDX nodes with `hast-util-raw` (or `rehype-raw`). If you use this because you are using remark or rehype plugins that inject `'html'` nodes, then please raise an issue with that plugin, as its a bad and slow idea. If you use this because you are using markdown syntax, then you have to configure this utility (or plugin) to pass through these nodes (see `passThrough` in docs), but you can also migrate to use the MDX syntax"),new Error("Cannot compile `"+n.type+"` node"+r)}}function su(e,t){oS(e,t);const n=e.parser.tokenizer.currentCharacterToken;n&&n.location&&(n.location.endLine=e.parser.tokenizer.preprocessor.line,n.location.endCol=e.parser.tokenizer.preprocessor.col+1,n.location.endOffset=e.parser.tokenizer.preprocessor.offset+1,e.parser.currentToken=n,e.parser._processToken(e.parser.currentToken)),e.parser.tokenizer.paused=!1,e.parser.tokenizer.inLoop=!1,e.parser.tokenizer.active=!1,e.parser.tokenizer.returnState=on.DATA,e.parser.tokenizer.charRefCode=-1,e.parser.tokenizer.consumedAfterSnapshot=-1,e.parser.tokenizer.currentLocation=null,e.parser.tokenizer.currentCharacterToken=null,e.parser.tokenizer.currentToken=null,e.parser.tokenizer.currentAttr={name:"",value:""}}function oS(e,t){if(t&&t.offset!==void 0){const n={startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:-1,endCol:-1,endOffset:-1};e.parser.tokenizer.preprocessor.lineStartPos=-t.column+1,e.parser.tokenizer.preprocessor.droppedBufferSize=t.offset,e.parser.tokenizer.preprocessor.line=t.line,e.parser.tokenizer.currentLocation=n}}function IV(e,t){const n=e.tagName.toLowerCase();if(t.parser.tokenizer.state===on.PLAINTEXT)return;su(t,Xa(e));const r=t.parser.openElements.current;let a="namespaceURI"in r?r.namespaceURI:ja.html;a===ja.html&&n==="svg"&&(a=ja.svg);const s=qj({...e,children:[]},{space:a===ja.svg?"svg":"html"}),l={type:lt.START_TAG,tagName:n,tagID:iu(n),selfClosing:!1,ackSelfClosing:!1,attrs:"attrs"in s?s.attrs:[],location:p0(e)};t.parser.currentToken=l,t.parser._processToken(t.parser.currentToken),t.parser.tokenizer.lastStartTagName=n}function MV(e,t){const n=e.tagName.toLowerCase();if(!t.parser.tokenizer.inForeignNode&&O9.includes(n)||t.parser.tokenizer.state===on.PLAINTEXT)return;su(t,Th(e));const r={type:lt.END_TAG,tagName:n,tagID:iu(n),selfClosing:!1,ackSelfClosing:!1,attrs:[],location:p0(e)};t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken),n===t.parser.tokenizer.lastStartTagName&&(t.parser.tokenizer.state===on.RCDATA||t.parser.tokenizer.state===on.RAWTEXT||t.parser.tokenizer.state===on.SCRIPT_DATA)&&(t.parser.tokenizer.state=on.DATA)}function PV(e){const t=e.type==="root"?e.children[0]:e;return!!(t&&(t.type==="doctype"||t.type==="element"&&t.tagName.toLowerCase()==="html"))}function p0(e){const t=Xa(e)||{line:void 0,column:void 0,offset:void 0},n=Th(e)||{line:void 0,column:void 0,offset:void 0};return{startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:n.line,endCol:n.column,endOffset:n.offset}}function BV(e){return"children"in e?Vl({...e,children:[]}):Vl(e)}function zV(e){return function(t,n){return aS(t,{...e,file:n})}}function Uf(e,t){const n=String(e);if(typeof t!="string")throw new TypeError("Expected character");let r=0,a=n.indexOf(t);for(;a!==-1;)r++,a=n.indexOf(t,a+t.length);return r}function UV(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}function HV(e,t,n){const a=l0((n||{}).ignore||[]),s=FV(t);let l=-1;for(;++l<s.length;)vb(e,"text",u);function u(f,p){let m=-1,b;for(;++m<p.length;){const y=p[m],E=b?b.children:void 0;if(a(y,E?E.indexOf(y):void 0,b))return;b=y}if(b)return d(f,p)}function d(f,p){const m=p[p.length-1],b=s[l][0],y=s[l][1];let E=0;const N=m.children.indexOf(f);let k=!1,O=[];b.lastIndex=0;let I=b.exec(f.value);for(;I;){const K=I.index,V={index:I.index,input:I.input,stack:[...p,f]};let B=y(...I,V);if(typeof B=="string"&&(B=B.length>0?{type:"text",value:B}:void 0),B===!1?b.lastIndex=K+1:(E!==K&&O.push({type:"text",value:f.value.slice(E,K)}),Array.isArray(B)?O.push(...B):B&&O.push(B),E=K+I[0].length,k=!0),!b.global)break;I=b.exec(f.value)}return k?(E<f.value.length&&O.push({type:"text",value:f.value.slice(E)}),m.children.splice(N,1,...O)):O=[f],N+O.length}}function FV(e){const t=[];if(!Array.isArray(e))throw new TypeError("Expected find and replace tuple or list of tuples");const n=!e[0]||Array.isArray(e[0])?e:[e];let r=-1;for(;++r<n.length;){const a=n[r];t.push([jV(a[0]),qV(a[1])])}return t}function jV(e){return typeof e=="string"?new RegExp(UV(e),"g"):e}function qV(e){return typeof e=="function"?e:function(){return e}}const eg="phrasing",tg=["autolink","link","image","label"];function $V(){return{transforms:[KV],enter:{literalAutolink:GV,literalAutolinkEmail:ng,literalAutolinkHttp:ng,literalAutolinkWww:ng},exit:{literalAutolink:WV,literalAutolinkEmail:XV,literalAutolinkHttp:YV,literalAutolinkWww:QV}}}function VV(){return{unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:eg,notInConstruct:tg},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:eg,notInConstruct:tg},{character:":",before:"[ps]",after:"\\/",inConstruct:eg,notInConstruct:tg}]}}function GV(e){this.enter({type:"link",title:null,url:"",children:[]},e)}function ng(e){this.config.enter.autolinkProtocol.call(this,e)}function YV(e){this.config.exit.autolinkProtocol.call(this,e)}function QV(e){this.config.exit.data.call(this,e);const t=this.stack[this.stack.length-1];t.type,t.url="http://"+this.sliceSerialize(e)}function XV(e){this.config.exit.autolinkEmail.call(this,e)}function WV(e){this.exit(e)}function KV(e){HV(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,ZV],[new RegExp("(?<=^|\\s|\\p{P}|\\p{S}
409)([-.\\w+]+)@([-\\w]+(?:\\.[-\\w]+)+)","gu"),JV]],{ignore:["link","linkReference"]})}function ZV(e,t,n,r,a){let s="";if(!lS(a)||(/^w/i.test(t)&&(n=t+n,t="",s="http://"),!eG(n)))return!1;const l=tG(n+r);if(!l[0])return!1;const u={type:"link",title:null,url:s+t+l[0],children:[{type:"text",value:t+l[0]}]};return l[1]?[u,{type:"text",value:l[1]}]:u}function JV(e,t,n,r){return!lS(r,!0)||/[-\d_]$/.test(n)?!1:{type:"link",title:null,url:"mailto:"+t+"@"+n,children:[{type:"text",value:t+"@"+n}]}}function eG(e){const t=e.split(".");return!(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])))}function tG(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 a=Uf(e,"(");let s=Uf(e,")");for(;r!==-1&&a>s;)e+=n.slice(0,r+1),n=n.slice(r+1),r=n.indexOf(")"),s++;return[e,n]}function lS(e,t){const n=e.input.charCodeAt(e.index-1);return(e.index===0||yo(n)||Sh(n))&&(!t||n!==47)}uS.peek=cG;function nG(){this.buffer()}function rG(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function aG(){this.buffer()}function iG(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function sG(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.identifier=ya(this.sliceSerialize(e)).toLowerCase(),n.label=t}function oG(e){this.exit(e)}function lG(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.identifier=ya(this.sliceSerialize(e)).toLowerCase(),n.label=t}function uG(e){this.exit(e)}function cG(){return"["}function uS(e,t,n,r){const a=n.createTracker(r);let s=a.move("[^");const l=n.enter("footnoteReference"),u=n.enter("reference");return s+=a.move(n.safe(n.associationId(e),{after:"]",before:s})),u(),l(),s+=a.move("]"),s}function dG(){return{enter:{gfmFootnoteCallString:nG,gfmFootnoteCall:rG,gfmFootnoteDefinitionLabelString:aG,gfmFootnoteDefinition:iG},exit:{gfmFootnoteCallString:sG,gfmFootnoteCall:oG,gfmFootnoteDefinitionLabelString:lG,gfmFootnoteDefinition:uG}}}function fG(e){let t=!1;return e&&e.firstLineBlank&&(t=!0),{handlers:{footnoteDefinition:n,footnoteReference:uS},unsafe:[{character:"[",inConstruct:["label","phrasing","reference"]}]};function n(r,a,s,l){const u=s.createTracker(l);let d=u.move("[^");const f=s.enter("footnoteDefinition"),p=s.enter("label");return d+=u.move(s.safe(s.associationId(r),{before:d,after:"]"})),p(),d+=u.move("]:"),r.children&&r.children.length>0&&(u.shift(4),d+=u.move((t?`
410`:" ")+s.indentLines(s.containerFlow(r,u.current()),t?cS:hG))),f(),d}}function hG(e,t,n){return t===0?e:cS(e,t,n)}function cS(e,t,n){return(n?"":"    ")+e}const mG=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];dS.peek=vG;function pG(){return{canContainEols:["delete"],enter:{strikethrough:bG},exit:{strikethrough:yG}}}function gG(){return{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:mG}],handlers:{delete:dS}}}function bG(e){this.enter({type:"delete",children:[]},e)}function yG(e){this.exit(e)}function dS(e,t,n,r){const a=n.createTracker(r),s=n.enter("strikethrough");let l=a.move("~~");return l+=n.containerPhrasing(e,{...a.current(),before:l,after:"~"}),l+=a.move("~~"),s(),l}function vG(){return"~"}function xG(e){return e.length}function EG(e,t){const n=t||{},r=(n.align||[]).concat(),a=n.stringLength||xG,s=[],l=[],u=[],d=[];let f=0,p=-1;for(;++p<e.length;){const T=[],N=[];let k=-1;for(e[p].length>f&&(f=e[p].length);++k<e[p].length;){const O=_G(e[p][k]);if(n.alignDelimiters!==!1){const I=a(O);N[k]=I,(d[k]===void 0||I>d[k])&&(d[k]=I)}T.push(O)}l[p]=T,u[p]=N}let m=-1;if(typeof r=="object"&&"length"in r)for(;++m<f;)s[m]=y8(r[m]);else{const T=y8(r);for(;++m<f;)s[m]=T}m=-1;const b=[],y=[];for(;++m<f;){const T=s[m];let N="",k="";T===99?(N=":",k=":"):T===108?N=":":T===114&&(k=":");let O=n.alignDelimiters===!1?1:Math.max(1,d[m]-N.length-k.length);const I=N+"-".repeat(O)+k;n.alignDelimiters!==!1&&(O=N.length+O+k.length,O>d[m]&&(d[m]=O),y[m]=O),b[m]=I}l.splice(1,0,b),u.splice(1,0,y),p=-1;const E=[];for(;++p<l.length;){const T=l[p],N=u[p];m=-1;const k=[];for(;++m<f;){const O=T[m]||"";let I="",K="";if(n.alignDelimiters!==!1){const V=d[m]-(N[m]||0),B=s[m];B===114?I=" ".repeat(V):B===99?V%2?(I=" ".repeat(V/2+.5),K=" ".repeat(V/2-.5)):(I=" ".repeat(V/2),K=I):K=" ".repeat(V)}n.delimiterStart!==!1&&!m&&k.push("|"),n.padding!==!1&&!(n.alignDelimiters===!1&&O==="")&&(n.delimiterStart!==!1||m)&&k.push(" "),n.alignDelimiters!==!1&&k.push(I),k.push(O),n.alignDelimiters!==!1&&k.push(K),n.padding!==!1&&k.push(" "),(n.delimiterEnd!==!1||m!==f-1)&&k.push("|")}E.push(n.delimiterEnd===!1?k.join("").replace(/ +$/,""):k.join(""))}return E.join(`
411`)}function _G(e){return e==null?"":String(e)}function y8(e){const t=typeof e=="string"?e.codePointAt(0):0;return t===67||t===99?99:t===76||t===108?108:t===82||t===114?114:0}function TG(e,t,n,r){const a=n.enter("blockquote"),s=n.createTracker(r);s.move("> "),s.shift(2);const l=n.indentLines(n.containerFlow(e,s.current()),SG);return a(),l}function SG(e,t,n){return">"+(n?"":" ")+e}
vendor: 10,969 bytes, lines 411-422
411function wG(e,t){return v8(e,t.inConstruct,!0)&&!v8(e,t.notInConstruct,!1)}function v8(e,t,n){if(typeof t=="string"&&(t=[t]),!t||t.length===0)return n;let r=-1;for(;++r<t.length;)if(e.includes(t[r]))return!0;return!1}function x8(e,t,n,r){let a=-1;for(;++a<n.unsafe.length;)if(n.unsafe[a].character===`
412`&&wG(n.stack,n.unsafe[a]))return/[ \t]/.test(r.before)?"":" ";return`\\
413`}function fS(e,t){const n=String(e);let r=n.indexOf(t),a=r,s=0,l=0;if(typeof t!="string")throw new TypeError("Expected substring");for(;r!==-1;)r===a?++s>l&&(l=s):s=1,a=r+t.length,r=n.indexOf(t,a);return l}function AG(e,t){return!!(t.options.fences===!1&&e.value&&!e.lang&&/[^ \r\n]/.test(e.value)&&!/^[\t ]*(?:[\r\n]|$)|(?:^|[\r\n])[\t ]*$/.test(e.value))}function kG(e){const t=e.options.fence||"`";if(t!=="`"&&t!=="~")throw new Error("Cannot serialize code with `"+t+"` for `options.fence`, expected `` ` `` or `~`");return t}function CG(e,t,n,r){const a=kG(n),s=e.value||"",l=a==="`"?"GraveAccent":"Tilde";if(AG(e,n)){const m=n.enter("codeIndented"),b=n.indentLines(s,NG);return m(),b}const u=n.createTracker(r),d=a.repeat(Math.max(fS(s,a)+1,3)),f=n.enter("codeFenced");let p=u.move(d);if(e.lang){const m=n.enter(`codeFencedLang${l}`);p+=u.move(n.safe(e.lang,{before:p,after:" ",encode:["`"],...u.current()})),m()}if(e.lang&&e.meta){const m=n.enter(`codeFencedMeta${l}`);p+=u.move(" "),p+=u.move(n.safe(e.meta,{before:p,after:`
414`,encode:["`"],...u.current()})),m()}return p+=u.move(`
415`),s&&(p+=u.move(s+`
416`)),p+=u.move(d),f(),p}function NG(e,t,n){return(n?"":"    ")+e}function Wb(e){const t=e.options.quote||'"';if(t!=='"'&&t!=="'")throw new Error("Cannot serialize title with `"+t+"` for `options.quote`, expected `\"`, or `'`");return t}function OG(e,t,n,r){const a=Wb(n),s=a==='"'?"Quote":"Apostrophe",l=n.enter("definition");let u=n.enter("label");const d=n.createTracker(r);let f=d.move("[");return f+=d.move(n.safe(n.associationId(e),{before:f,after:"]",...d.current()})),f+=d.move("]: "),u(),!e.url||/[\0- \u007F]/.test(e.url)?(u=n.enter("destinationLiteral"),f+=d.move("<"),f+=d.move(n.safe(e.url,{before:f,after:">",...d.current()})),f+=d.move(">")):(u=n.enter("destinationRaw"),f+=d.move(n.safe(e.url,{before:f,after:e.title?" ":`
417`,...d.current()}))),u(),e.title&&(u=n.enter(`title${s}`),f+=d.move(" "+a),f+=d.move(n.safe(e.title,{before:f,after:a,...d.current()})),f+=d.move(a),u()),l(),f}function RG(e){const t=e.options.emphasis||"*";if(t!=="*"&&t!=="_")throw new Error("Cannot serialize emphasis with `"+t+"` for `options.emphasis`, expected `*`, or `_`");return t}function Gc(e){return"&#x"+e.toString(16).toUpperCase()+";"}function Hf(e,t,n){const r=$l(e),a=$l(t);return r===void 0?a===void 0?n==="_"?{inside:!0,outside:!0}:{inside:!1,outside:!1}:a===1?{inside:!0,outside:!0}:{inside:!1,outside:!0}:r===1?a===void 0?{inside:!1,outside:!1}:a===1?{inside:!0,outside:!0}:{inside:!1,outside:!1}:a===void 0?{inside:!1,outside:!1}:a===1?{inside:!0,outside:!1}:{inside:!1,outside:!1}}hS.peek=DG;function hS(e,t,n,r){const a=RG(n),s=n.enter("emphasis"),l=n.createTracker(r),u=l.move(a);let d=l.move(n.containerPhrasing(e,{after:a,before:u,...l.current()}));const f=d.charCodeAt(0),p=Hf(r.before.charCodeAt(r.before.length-1),f,a);p.inside&&(d=Gc(f)+d.slice(1));const m=d.charCodeAt(d.length-1),b=Hf(r.after.charCodeAt(0),m,a);b.inside&&(d=d.slice(0,-1)+Gc(m));const y=l.move(a);return s(),n.attentionEncodeSurroundingInfo={after:b.outside,before:p.outside},u+d+y}function DG(e,t,n){return n.options.emphasis||"*"}function LG(e,t){let n=!1;return vo(e,function(r){if("value"in r&&/\r?\n|\r/.test(r.value)||r.type==="break")return n=!0,Kg}),!!((!e.depth||e.depth<3)&&fb(e)&&(t.options.setext||n))}function IG(e,t,n,r){const a=Math.max(Math.min(6,e.depth||1),1),s=n.createTracker(r);if(LG(e,n)){const p=n.enter("headingSetext"),m=n.enter("phrasing"),b=n.containerPhrasing(e,{...s.current(),before:`
418`,after:`
419`});return m(),p(),b+`
420`+(a===1?"=":"-").repeat(b.length-(Math.max(b.lastIndexOf("\r"),b.lastIndexOf(`
421`))+1))}const l="#".repeat(a),u=n.enter("headingAtx"),d=n.enter("phrasing");s.move(l+" ");let f=n.containerPhrasing(e,{before:"# ",after:`
422`,...s.current()});return/^[\t ]/.test(f)&&(f=Gc(f.charCodeAt(0))+f.slice(1)),f=f?l+" "+f:l,n.options.closeAtx&&(f+=" "+l),d(),u(),f}mS.peek=MG;function mS(e){return e.value||""}function MG(){return"<"}pS.peek=PG;function pS(e,t,n,r){const a=Wb(n),s=a==='"'?"Quote":"Apostrophe",l=n.enter("image");let u=n.enter("label");const d=n.createTracker(r);let f=d.move("![");return f+=d.move(n.safe(e.alt,{before:f,after:"]",...d.current()})),f+=d.move("]("),u(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(u=n.enter("destinationLiteral"),f+=d.move("<"),f+=d.move(n.safe(e.url,{before:f,after:">",...d.current()})),f+=d.move(">")):(u=n.enter("destinationRaw"),f+=d.move(n.safe(e.url,{before:f,after:e.title?" ":")",...d.current()}))),u(),e.title&&(u=n.enter(`title${s}`),f+=d.move(" "+a),f+=d.move(n.safe(e.title,{before:f,after:a,...d.current()})),f+=d.move(a),u()),f+=d.move(")"),l(),f}function PG(){return"!"}gS.peek=BG;function gS(e,t,n,r){const a=e.referenceType,s=n.enter("imageReference");let l=n.enter("label");const u=n.createTracker(r);let d=u.move("![");const f=n.safe(e.alt,{before:d,after:"]",...u.current()});d+=u.move(f+"]["),l();const p=n.stack;n.stack=[],l=n.enter("reference");const m=n.safe(n.associationId(e),{before:d,after:"]",...u.current()});return l(),n.stack=p,s(),a==="full"||!f||f!==m?d+=u.move(m+"]"):a==="shortcut"?d=d.slice(0,-1):d+=u.move("]"),d}function BG(){return"!"}bS.peek=zG;function bS(e,t,n){let r=e.value||"",a="`",s=-1;for(;new RegExp("(^|[^`])"+a+"([^`]|$)").test(r);)a+="`";for(/[^ \r\n]/.test(r)&&(/^[ \r\n]/.test(r)&&/[ \r\n]$/.test(r)||/^`|`$/.test(r))&&(r=" "+r+" ");++s<n.unsafe.length;){const l=n.unsafe[s],u=n.compilePattern(l);let d;if(l.atBreak)for(;d=u.exec(r);){let f=d.index;r.charCodeAt(f)===10&&r.charCodeAt(f-1)===13&&f--,r=r.slice(0,f)+" "+r.slice(d.index+1)}}return a+r+a}function zG(){return"`"}function yS(e,t){const n=fb(e);return!!(!t.options.resourceLink&&e.url&&!e.title&&e.children&&e.children.length===1&&e.children[0].type==="text"&&(n===e.url||"mailto:"+n===e.url)&&/^[a-z][a-z+.-]+:/i.test(e.url)&&!/[\0- <>\u007F]/.test(e.url))}vS.peek=UG;function vS(e,t,n,r){const a=Wb(n),s=a==='"'?"Quote":"Apostrophe",l=n.createTracker(r);let u,d;if(yS(e,n)){const p=n.stack;n.stack=[],u=n.enter("autolink");let m=l.move("<");return m+=l.move(n.containerPhrasing(e,{before:m,after:">",...l.current()})),m+=l.move(">"),u(),n.stack=p,m}u=n.enter("link"),d=n.enter("label");let f=l.move("[");return f+=l.move(n.containerPhrasing(e,{before:f,after:"](",...l.current()})),f+=l.move("]("),d(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(d=n.enter("destinationLiteral"),f+=l.move("<"),f+=l.move(n.safe(e.url,{before:f,after:">",...l.current()})),f+=l.move(">")):(d=n.enter("destinationRaw"),f+=l.move(n.safe(e.url,{before:f,after:e.title?" ":")",...l.current()}))),d(),e.title&&(d=n.enter(`title${s}`),f+=l.move(" "+a),f+=l.move(n.safe(e.title,{before:f,after:a,...l.current()})),f+=l.move(a),d()),f+=l.move(")"),u(),f}function UG(e,t,n){return yS(e,n)?"<":"["}xS.peek=HG;function xS(e,t,n,r){const a=e.referenceType,s=n.enter("linkReference");let l=n.enter("label");const u=n.createTracker(r);let d=u.move("[");const f=n.containerPhrasing(e,{before:d,after:"]",...u.current()});d+=u.move(f+"]["),l();const p=n.stack;n.stack=[],l=n.enter("reference");const m=n.safe(n.associationId(e),{before:d,after:"]",...u.current()});return l(),n.stack=p,s(),a==="full"||!f||f!==m?d+=u.move(m+"]"):a==="shortcut"?d=d.slice(0,-1):d+=u.move("]"),d}function HG(){return"["}function Kb(e){const t=e.options.bullet||"*";if(t!=="*"&&t!=="+"&&t!=="-")throw new Error("Cannot serialize items with `"+t+"` for `options.bullet`, expected `*`, `+`, or `-`");return t}function FG(e){const t=Kb(e),n=e.options.bulletOther;if(!n)return t==="*"?"-":"*";if(n!=="*"&&n!=="+"&&n!=="-")throw new Error("Cannot serialize items with `"+n+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(n===t)throw new Error("Expected `bullet` (`"+t+"`) and `bulletOther` (`"+n+"`) to be different");return n}function jG(e){const t=e.options.bulletOrdered||".";if(t!=="."&&t!==")")throw new Error("Cannot serialize items with `"+t+"` for `options.bulletOrdered`, expected `.` or `)`");return t}function ES(e){const t=e.options.rule||"*";if(t!=="*"&&t!=="-"&&t!=="_")throw new Error("Cannot serialize rules with `"+t+"` for `options.rule`, expected `*`, `-`, or `_`");return t}function qG(e,t,n,r){const a=n.enter("list"),s=n.bulletCurrent;let l=e.ordered?jG(n):Kb(n);const u=e.ordered?l==="."?")":".":FG(n);let d=t&&n.bulletLastUsed?l===n.bulletLastUsed:!1;if(!e.ordered){const p=e.children?e.children[0]:void 0;if((l==="*"||l==="-")&&p&&(!p.children||!p.children[0])&&n.stack[n.stack.length-1]==="list"&&n.stack[n.stack.length-2]==="listItem"&&n.stack[n.stack.length-3]==="list"&&n.stack[n.stack.length-4]==="listItem"&&n.indexStack[n.indexStack.length-1]===0&&n.indexStack[n.indexStack.length-2]===0&&n.indexStack[n.indexStack.length-3]===0&&(d=!0),ES(n)===l&&p){let m=-1;for(;++m<e.children.length;){const b=e.children[m];if(b&&b.type==="listItem"&&b.children&&b.children[0]&&b.children[0].type==="thematicBreak"){d=!0;break}}}}d&&(l=u),n.bulletCurrent=l;const f=n.containerFlow(e,r);return n.bulletLastUsed=l,n.bulletCurrent=s,a(),f}function $G(e){const t=e.options.listItemIndent||"one";if(t!=="tab"&&t!=="one"&&t!=="mixed")throw new Error("Cannot serialize items with `"+t+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return t}function VG(e,t,n,r){const a=$G(n);let s=n.bulletCurrent||Kb(n);t&&t.type==="list"&&t.ordered&&(s=(typeof t.start=="number"&&t.start>-1?t.start:1)+(n.options.incrementListMarker===!1?0:t.children.indexOf(e))+s);let l=s.length+1;(a==="tab"||a==="mixed"&&(t&&t.type==="list"&&t.spread||e.spread))&&(l=Math.ceil(l/4)*4);const u=n.createTracker(r);u.move(s+" ".repeat(l-s.length)),u.shift(l);const d=n.enter("listItem"),f=n.indentLines(n.containerFlow(e,u.current()),p);return d(),f;function p(m,b,y){return b?(y?"":" ".repeat(l))+m:(y?s:s+" ".repeat(l-s.length))+m}}function GG(e,t,n,r){const a=n.enter("paragraph"),s=n.enter("phrasing"),l=n.containerPhrasing(e,r);return s(),a(),l}const YG=l0(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);function QG(e,t,n,r){return(e.children.some(function(l){return YG(l)})?n.containerPhrasing:n.containerFlow).call(n,e,r)}function XG(e){const t=e.options.strong||"*";if(t!=="*"&&t!=="_")throw new Error("Cannot serialize strong with `"+t+"` for `options.strong`, expected `*`, or `_`");return t}_S.peek=WG;function _S(e,t,n,r){const a=XG(n),s=n.enter("strong"),l=n.createTracker(r),u=l.move(a+a);let d=l.move(n.containerPhrasing(e,{after:a,before:u,...l.current()}));
vendor: 4,377 bytes, lines 422-424
422const f=d.charCodeAt(0),p=Hf(r.before.charCodeAt(r.before.length-1),f,a);p.inside&&(d=Gc(f)+d.slice(1));const m=d.charCodeAt(d.length-1),b=Hf(r.after.charCodeAt(0),m,a);b.inside&&(d=d.slice(0,-1)+Gc(m));const y=l.move(a+a);return s(),n.attentionEncodeSurroundingInfo={after:b.outside,before:p.outside},u+d+y}function WG(e,t,n){return n.options.strong||"*"}function KG(e,t,n,r){return n.safe(e.value,r)}function ZG(e){const t=e.options.ruleRepetition||3;if(t<3)throw new Error("Cannot serialize rules with repetition `"+t+"` for `options.ruleRepetition`, expected `3` or more");return t}function JG(e,t,n){const r=(ES(n)+(n.options.ruleSpaces?" ":"")).repeat(ZG(n));return n.options.ruleSpaces?r.slice(0,-1):r}const TS={blockquote:TG,break:x8,code:CG,definition:OG,emphasis:hS,hardBreak:x8,heading:IG,html:mS,image:pS,imageReference:gS,inlineCode:bS,link:vS,linkReference:xS,list:qG,listItem:VG,paragraph:GG,root:QG,strong:_S,text:KG,thematicBreak:JG};function eY(){return{enter:{table:tY,tableData:E8,tableHeader:E8,tableRow:rY},exit:{codeText:aY,table:nY,tableData:rg,tableHeader:rg,tableRow:rg}}}function tY(e){const t=e._align;this.enter({type:"table",align:t.map(function(n){return n==="none"?null:n}),children:[]},e),this.data.inTable=!0}function nY(e){this.exit(e),this.data.inTable=void 0}function rY(e){this.enter({type:"tableRow",children:[]},e)}function rg(e){this.exit(e)}function E8(e){this.enter({type:"tableCell",children:[]},e)}function aY(e){let t=this.resume();this.data.inTable&&(t=t.replace(/\\([\\|])/g,iY));const n=this.stack[this.stack.length-1];n.type,n.value=t,this.exit(e)}function iY(e,t){return t==="|"?t:e}function sY(e){const t=e||{},n=t.tableCellPadding,r=t.tablePipeAlign,a=t.stringLength,s=n?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:`
423`,inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[	 :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{inlineCode:b,table:l,tableCell:d,tableRow:u}};function l(y,E,T,N){return f(p(y,T,N),y.align)}function u(y,E,T,N){const k=m(y,T,N),O=f([k]);return O.slice(0,O.indexOf(`
424`))}function d(y,E,T,N){const k=T.enter("tableCell"),O=T.enter("phrasing"),I=T.containerPhrasing(y,{...N,before:s,after:s});return O(),k(),I}function f(y,E){return EG(y,{align:E,alignDelimiters:r,padding:n,stringLength:a})}function p(y,E,T){const N=y.children;let k=-1;const O=[],I=E.enter("table");for(;++k<N.length;)O[k]=m(N[k],E,T);return I(),O}function m(y,E,T){const N=y.children;let k=-1;const O=[],I=E.enter("tableRow");for(;++k<N.length;)O[k]=d(N[k],y,E,T);return I(),O}function b(y,E,T){let N=TS.inlineCode(y,E,T);return T.stack.includes("tableCell")&&(N=N.replace(/\|/g,"\\$&")),N}}function oY(){return{exit:{taskListCheckValueChecked:_8,taskListCheckValueUnchecked:_8,paragraph:uY}}}function lY(){return{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:cY}}}function _8(e){const t=this.stack[this.stack.length-2];t.type,t.checked=e.type==="taskListCheckValueChecked"}function uY(e){const t=this.stack[this.stack.length-2];if(t&&t.type==="listItem"&&typeof t.checked=="boolean"){const n=this.stack[this.stack.length-1];n.type;const r=n.children[0];if(r&&r.type==="text"){const a=t.children;let s=-1,l;for(;++s<a.length;){const u=a[s];if(u.type==="paragraph"){l=u;break}}l===n&&(r.value=r.value.slice(1),r.value.length===0?n.children.shift():n.position&&r.position&&typeof r.position.start.offset=="number"&&(r.position.start.column++,r.position.start.offset++,n.position.start=Object.assign({},r.position.start)))}}this.exit(e)}function cY(e,t,n,r){const a=e.children[0],s=typeof e.checked=="boolean"&&a&&a.type==="paragraph",l="["+(e.checked?"x":" ")+"] ",u=n.createTracker(r);s&&u.move(l);let d=TS.listItem(e,t,n,{...r,...u.current()});return s&&(d=d.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,f)),d;function f(p){return p+l}}function dY(){return[$V(),dG(),pG(),eY(),oY()]}function fY(e){return{extensions:[VV(),fG(e),gG(),sY(e),lY()]}}const hY={tokenize:vY,partial:!0},SS={tokenize:xY,partial:!0},wS={tokenize:EY,partial:!0},AS={tokenize:_Y,partial:!0},mY={tokenize:TY,partial:!0},kS={name:"wwwAutolink",tokenize:bY,previous:NS},CS={name:"protocolAutolink",tokenize:yY,previous:OS},Bi={name:"emailAutolink",tokenize:gY,previous:RS},Ja={};function pY(){return{text:Ja}}let ro=48;
vendor: 6,899 bytes, line 424
424for(;ro<123;)Ja[ro]=Bi,ro++,ro===58?ro=65:ro===91&&(ro=97);Ja[43]=Bi;Ja[45]=Bi;Ja[46]=Bi;Ja[95]=Bi;Ja[72]=[Bi,CS];Ja[104]=[Bi,CS];Ja[87]=[Bi,kS];Ja[119]=[Bi,kS];function gY(e,t,n){const r=this;let a,s;return l;function l(m){return!v2(m)||!RS.call(r,r.previous)||Zb(r.events)?n(m):(e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),u(m))}function u(m){return v2(m)?(e.consume(m),u):m===64?(e.consume(m),d):n(m)}function d(m){return m===46?e.check(mY,p,f)(m):m===45||m===95||Qn(m)?(s=!0,e.consume(m),d):p(m)}function f(m){return e.consume(m),a=!0,d}function p(m){return s&&a&&tr(r.previous)?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),t(m)):n(m)}}function bY(e,t,n){const r=this;return a;function a(l){return l!==87&&l!==119||!NS.call(r,r.previous)||Zb(r.events)?n(l):(e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(hY,e.attempt(SS,e.attempt(wS,s),n),n)(l))}function s(l){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),t(l)}}function yY(e,t,n){const r=this;let a="",s=!1;return l;function l(m){return(m===72||m===104)&&OS.call(r,r.previous)&&!Zb(r.events)?(e.enter("literalAutolink"),e.enter("literalAutolinkHttp"),a+=String.fromCodePoint(m),e.consume(m),u):n(m)}function u(m){if(tr(m)&&a.length<5)return a+=String.fromCodePoint(m),e.consume(m),u;if(m===58){const b=a.toLowerCase();if(b==="http"||b==="https")return e.consume(m),d}return n(m)}function d(m){return m===47?(e.consume(m),s?f:(s=!0,d)):n(m)}function f(m){return m===null||Cf(m)||It(m)||yo(m)||Sh(m)?n(m):e.attempt(SS,e.attempt(wS,p),n)(m)}function p(m){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),t(m)}}function vY(e,t,n){let r=0;return a;function a(l){return(l===87||l===119)&&r<3?(r++,e.consume(l),a):l===46&&r===3?(e.consume(l),s):n(l)}function s(l){return l===null?n(l):t(l)}}function xY(e,t,n){let r,a,s;return l;function l(f){return f===46||f===95?e.check(AS,d,u)(f):f===null||It(f)||yo(f)||f!==45&&Sh(f)?d(f):(s=!0,e.consume(f),l)}function u(f){return f===95?r=!0:(a=r,r=void 0),e.consume(f),l}function d(f){return a||r||!s?n(f):t(f)}}function EY(e,t){let n=0,r=0;return a;function a(l){return l===40?(n++,e.consume(l),a):l===41&&r<n?s(l):l===33||l===34||l===38||l===39||l===41||l===42||l===44||l===46||l===58||l===59||l===60||l===63||l===93||l===95||l===126?e.check(AS,t,s)(l):l===null||It(l)||yo(l)?t(l):(e.consume(l),a)}function s(l){return l===41&&r++,e.consume(l),a}}function _Y(e,t,n){return r;function r(u){return u===33||u===34||u===39||u===41||u===42||u===44||u===46||u===58||u===59||u===63||u===95||u===126?(e.consume(u),r):u===38?(e.consume(u),s):u===93?(e.consume(u),a):u===60||u===null||It(u)||yo(u)?t(u):n(u)}function a(u){return u===null||u===40||u===91||It(u)||yo(u)?t(u):r(u)}function s(u){return tr(u)?l(u):n(u)}function l(u){return u===59?(e.consume(u),r):tr(u)?(e.consume(u),l):n(u)}}function TY(e,t,n){return r;function r(s){return e.consume(s),a}function a(s){return Qn(s)?n(s):t(s)}}function NS(e){return e===null||e===40||e===42||e===95||e===91||e===93||e===126||It(e)}function OS(e){return!tr(e)}function RS(e){return!(e===47||v2(e))}function v2(e){return e===43||e===45||e===46||e===95||Qn(e)}function Zb(e){let t=e.length,n=!1;for(;t--;){const r=e[t][1];if((r.type==="labelLink"||r.type==="labelImage")&&!r._balanced){n=!0;break}if(r._gfmAutolinkLiteralWalkedInto){n=!1;break}}return e.length>0&&!n&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}const SY={tokenize:DY,partial:!0};function wY(){return{document:{91:{name:"gfmFootnoteDefinition",tokenize:NY,continuation:{tokenize:OY},exit:RY}},text:{91:{name:"gfmFootnoteCall",tokenize:CY},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:AY,resolveTo:kY}}}}function AY(e,t,n){const r=this;let a=r.events.length;const s=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let l;for(;a--;){const d=r.events[a][1];if(d.type==="labelImage"){l=d;break}if(d.type==="gfmFootnoteCall"||d.type==="labelLink"||d.type==="label"||d.type==="image"||d.type==="link")break}return u;function u(d){if(!l||!l._balanced)return n(d);const f=ya(r.sliceSerialize({start:l.end,end:r.now()}));return f.codePointAt(0)!==94||!s.includes(f.slice(1))?n(d):(e.enter("gfmFootnoteCallLabelMarker"),e.consume(d),e.exit("gfmFootnoteCallLabelMarker"),t(d))}}function kY(e,t){let n=e.length;for(;n--;)if(e[n][1].type==="labelImage"&&e[n][0]==="enter"){e[n][1];break}e[n+1][1].type="data",e[n+3][1].type="gfmFootnoteCallLabelMarker";const r={type:"gfmFootnoteCall",start:Object.assign({},e[n+3][1].start),end:Object.assign({},e[e.length-1][1].end)},a={type:"gfmFootnoteCallMarker",start:Object.assign({},e[n+3][1].end),end:Object.assign({},e[n+3][1].end)};a.end.column++,a.end.offset++,a.end._bufferIndex++;const s={type:"gfmFootnoteCallString",start:Object.assign({},a.end),end:Object.assign({},e[e.length-1][1].start)},l={type:"chunkString",contentType:"string",start:Object.assign({},s.start),end:Object.assign({},s.end)},u=[e[n+1],e[n+2],["enter",r,t],e[n+3],e[n+4],["enter",a,t],["exit",a,t],["enter",s,t],["enter",l,t],["exit",l,t],["exit",s,t],e[e.length-2],e[e.length-1],["exit",r,t]];return e.splice(n,e.length-n+1,...u),e}function CY(e,t,n){const r=this,a=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let s=0,l;return u;function u(m){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(m),e.exit("gfmFootnoteCallLabelMarker"),d}function d(m){return m!==94?n(m):(e.enter("gfmFootnoteCallMarker"),e.consume(m),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",f)}function f(m){if(s>999||m===93&&!l||m===null||m===91||It(m))return n(m);if(m===93){e.exit("chunkString");const b=e.exit("gfmFootnoteCallString");return a.includes(ya(r.sliceSerialize(b)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(m),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):n(m)}return It(m)||(l=!0),s++,e.consume(m),m===92?p:f}function p(m){return m===91||m===92||m===93?(e.consume(m),s++,f):f(m)}}function NY(e,t,n){const r=this,a=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let s,l=0,u;return d;function d(E){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(E),e.exit("gfmFootnoteDefinitionLabelMarker"),f}function f(E){return E===94?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(E),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",p):n(E)}function p(E){if(l>999||E===93&&!u||E===null||E===91||It(E))return n(E);if(E===93){e.exit("chunkString");const T=e.exit("gfmFootnoteDefinitionLabelString");return s=ya(r.sliceSerialize(T)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(E),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),b}return It(E)||(u=!0),l++,e.consume(E),E===92?m:p}
vendor: 6,782 bytes, line 424
424function m(E){return E===91||E===92||E===93?(e.consume(E),l++,p):p(E)}function b(E){return E===58?(e.enter("definitionMarker"),e.consume(E),e.exit("definitionMarker"),a.includes(s)||a.push(s),ut(e,y,"gfmFootnoteDefinitionWhitespace")):n(E)}function y(E){return t(E)}}function OY(e,t,n){return e.check(o0,t,e.attempt(SY,t,n))}function RY(e){e.exit("gfmFootnoteDefinition")}function DY(e,t,n){const r=this;return ut(e,a,"gfmFootnoteDefinitionIndent",5);function a(s){const l=r.events[r.events.length-1];return l&&l[1].type==="gfmFootnoteDefinitionIndent"&&l[2].sliceSerialize(l[1],!0).length===4?t(s):n(s)}}function LY(e){let n=(e||{}).singleTilde;const r={name:"strikethrough",tokenize:s,resolveAll:a};return n==null&&(n=!0),{text:{126:r},insideSpan:{null:[r]},attentionMarkers:{null:[126]}};function a(l,u){let d=-1;for(;++d<l.length;)if(l[d][0]==="enter"&&l[d][1].type==="strikethroughSequenceTemporary"&&l[d][1]._close){let f=d;for(;f--;)if(l[f][0]==="exit"&&l[f][1].type==="strikethroughSequenceTemporary"&&l[f][1]._open&&l[d][1].end.offset-l[d][1].start.offset===l[f][1].end.offset-l[f][1].start.offset){l[d][1].type="strikethroughSequence",l[f][1].type="strikethroughSequence";const p={type:"strikethrough",start:Object.assign({},l[f][1].start),end:Object.assign({},l[d][1].end)},m={type:"strikethroughText",start:Object.assign({},l[f][1].end),end:Object.assign({},l[d][1].start)},b=[["enter",p,u],["enter",l[f][1],u],["exit",l[f][1],u],["enter",m,u]],y=u.parser.constructs.insideSpan.null;y&&Br(b,b.length,0,wh(y,l.slice(f+1,d),u)),Br(b,b.length,0,[["exit",m,u],["enter",l[d][1],u],["exit",l[d][1],u],["exit",p,u]]),Br(l,f-1,d-f+3,b),d=f+b.length-2;break}}for(d=-1;++d<l.length;)l[d][1].type==="strikethroughSequenceTemporary"&&(l[d][1].type="data");return l}function s(l,u,d){const f=this.previous,p=this.events;let m=0;return b;function b(E){return f===126&&p[p.length-1][1].type!=="characterEscape"?d(E):(l.enter("strikethroughSequenceTemporary"),y(E))}function y(E){const T=$l(f);if(E===126)return m>1?d(E):(l.consume(E),m++,y);if(m<2&&!n)return d(E);const N=l.exit("strikethroughSequenceTemporary"),k=$l(E);return N._open=!k||k===2&&!!T,N._close=!T||T===2&&!!k,u(E)}}}class IY{constructor(){this.map=[]}add(t,n,r){MY(this,t,n,r)}consume(t){if(this.map.sort(function(s,l){return s[0]-l[0]}),this.map.length===0)return;let n=this.map.length;const r=[];for(;n>0;)n-=1,r.push(t.slice(this.map[n][0]+this.map[n][1]),this.map[n][2]),t.length=this.map[n][0];r.push(t.slice()),t.length=0;let a=r.pop();for(;a;){for(const s of a)t.push(s);a=r.pop()}this.map.length=0}}function MY(e,t,n,r){let a=0;if(!(n===0&&r.length===0)){for(;a<e.map.length;){if(e.map[a][0]===t){e.map[a][1]+=n,e.map[a][2].push(...r);return}a+=1}e.map.push([t,n,r])}}function PY(e,t){let n=!1;const r=[];for(;t<e.length;){const a=e[t];if(n){if(a[0]==="enter")a[1].type==="tableContent"&&r.push(e[t+1][1].type==="tableDelimiterMarker"?"left":"none");else if(a[1].type==="tableContent"){if(e[t-1][1].type==="tableDelimiterMarker"){const s=r.length-1;r[s]=r[s]==="left"?"center":"right"}}else if(a[1].type==="tableDelimiterRow")break}else a[0]==="enter"&&a[1].type==="tableDelimiterRow"&&(n=!0);t+=1}return r}function BY(){return{flow:{null:{name:"table",tokenize:zY,resolveAll:UY}}}}function zY(e,t,n){const r=this;let a=0,s=0,l;return u;function u(Y){let se=r.events.length-1;for(;se>-1;){const ue=r.events[se][1].type;if(ue==="lineEnding"||ue==="linePrefix")se--;else break}const ee=se>-1?r.events[se][1].type:null,me=ee==="tableHead"||ee==="tableRow"?B:d;return me===B&&r.parser.lazy[r.now().line]?n(Y):me(Y)}function d(Y){return e.enter("tableHead"),e.enter("tableRow"),f(Y)}function f(Y){return Y===124||(l=!0,s+=1),p(Y)}function p(Y){return Y===null?n(Y):$e(Y)?s>1?(s=0,r.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(Y),e.exit("lineEnding"),y):n(Y):ht(Y)?ut(e,p,"whitespace")(Y):(s+=1,l&&(l=!1,a+=1),Y===124?(e.enter("tableCellDivider"),e.consume(Y),e.exit("tableCellDivider"),l=!0,p):(e.enter("data"),m(Y)))}function m(Y){return Y===null||Y===124||It(Y)?(e.exit("data"),p(Y)):(e.consume(Y),Y===92?b:m)}function b(Y){return Y===92||Y===124?(e.consume(Y),m):m(Y)}function y(Y){return r.interrupt=!1,r.parser.lazy[r.now().line]?n(Y):(e.enter("tableDelimiterRow"),l=!1,ht(Y)?ut(e,E,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(Y):E(Y))}function E(Y){return Y===45||Y===58?N(Y):Y===124?(l=!0,e.enter("tableCellDivider"),e.consume(Y),e.exit("tableCellDivider"),T):V(Y)}function T(Y){return ht(Y)?ut(e,N,"whitespace")(Y):N(Y)}function N(Y){return Y===58?(s+=1,l=!0,e.enter("tableDelimiterMarker"),e.consume(Y),e.exit("tableDelimiterMarker"),k):Y===45?(s+=1,k(Y)):Y===null||$e(Y)?K(Y):V(Y)}function k(Y){return Y===45?(e.enter("tableDelimiterFiller"),O(Y)):V(Y)}function O(Y){return Y===45?(e.consume(Y),O):Y===58?(l=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(Y),e.exit("tableDelimiterMarker"),I):(e.exit("tableDelimiterFiller"),I(Y))}function I(Y){return ht(Y)?ut(e,K,"whitespace")(Y):K(Y)}function K(Y){return Y===124?E(Y):Y===null||$e(Y)?!l||a!==s?V(Y):(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(Y)):V(Y)}function V(Y){return n(Y)}function B(Y){return e.enter("tableRow"),z(Y)}function z(Y){return Y===124?(e.enter("tableCellDivider"),e.consume(Y),e.exit("tableCellDivider"),z):Y===null||$e(Y)?(e.exit("tableRow"),t(Y)):ht(Y)?ut(e,z,"whitespace")(Y):(e.enter("data"),W(Y))}function W(Y){return Y===null||Y===124||It(Y)?(e.exit("data"),z(Y)):(e.consume(Y),Y===92?re:W)}function re(Y){return Y===92||Y===124?(e.consume(Y),W):W(Y)}}function UY(e,t){let n=-1,r=!0,a=0,s=[0,0,0,0],l=[0,0,0,0],u=!1,d=0,f,p,m;const b=new IY;for(;++n<e.length;){const y=e[n],E=y[1];y[0]==="enter"?E.type==="tableHead"?(u=!1,d!==0&&(T8(b,t,d,f,p),p=void 0,d=0),f={type:"table",start:Object.assign({},E.start),end:Object.assign({},E.end)},b.add(n,0,[["enter",f,t]])):E.type==="tableRow"||E.type==="tableDelimiterRow"?(r=!0,m=void 0,s=[0,0,0,0],l=[0,n+1,0,0],u&&(u=!1,p={type:"tableBody",start:Object.assign({},E.start),end:Object.assign({},E.end)},b.add(n,0,[["enter",p,t]])),a=E.type==="tableDelimiterRow"?2:p?3:1):a&&(E.type==="data"||E.type==="tableDelimiterMarker"||E.type==="tableDelimiterFiller")?(r=!1,l[2]===0&&(s[1]!==0&&(l[0]=l[1],m=ef(b,t,s,a,void 0,m),s=[0,0,0,0]),l[2]=n)):E.type==="tableCellDivider"&&(r?r=!1:(s[1]!==0&&(l[0]=l[1],m=ef(b,t,s,a,void 0,m)),s=l,l=[s[1],n,0,0])):E.type==="tableHead"?(u=!0,d=n):E.type==="tableRow"||E.type==="tableDelimiterRow"?(d=n,s[1]!==0?(l[0]=l[1],m=ef(b,t,s,a,n,m)):l[1]!==0&&(m=ef(b,t,l,a,n,m)),a=0):a&&(E.type==="data"||E.type==="tableDelimiterMarker"||E.type==="tableDelimiterFiller")&&(l[3]=n)}for(d!==0&&T8(b,t,d,f,p),b.consume(t.events),n=-1;++n<t.events.length;){const y=t.events[n];
vendor: 1,838 bytes, line 424
424y[0]==="enter"&&y[1].type==="table"&&(y[1]._align=PY(t.events,n))}return e}function ef(e,t,n,r,a,s){const l=r===1?"tableHeader":r===2?"tableDelimiter":"tableData",u="tableContent";n[0]!==0&&(s.end=Object.assign({},Cl(t.events,n[0])),e.add(n[0],0,[["exit",s,t]]));const d=Cl(t.events,n[1]);if(s={type:l,start:Object.assign({},d),end:Object.assign({},d)},e.add(n[1],0,[["enter",s,t]]),n[2]!==0){const f=Cl(t.events,n[2]),p=Cl(t.events,n[3]),m={type:u,start:Object.assign({},f),end:Object.assign({},p)};if(e.add(n[2],0,[["enter",m,t]]),r!==2){const b=t.events[n[2]],y=t.events[n[3]];if(b[1].end=Object.assign({},y[1].end),b[1].type="chunkText",b[1].contentType="text",n[3]>n[2]+1){const E=n[2]+1,T=n[3]-n[2]-1;e.add(E,T,[])}}e.add(n[3]+1,0,[["exit",m,t]])}return a!==void 0&&(s.end=Object.assign({},Cl(t.events,a)),e.add(a,0,[["exit",s,t]]),s=void 0),s}function T8(e,t,n,r,a){const s=[],l=Cl(t.events,n);a&&(a.end=Object.assign({},l),s.push(["exit",a,t])),r.end=Object.assign({},l),s.push(["exit",r,t]),e.add(n+1,0,s)}function Cl(e,t){const n=e[t],r=n[0]==="enter"?"start":"end";return n[1][r]}const HY={name:"tasklistCheck",tokenize:jY};function FY(){return{text:{91:HY}}}function jY(e,t,n){const r=this;return a;function a(d){return r.previous!==null||!r._gfmTasklistFirstContentOfListItem?n(d):(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(d),e.exit("taskListCheckMarker"),s)}function s(d){return It(d)?(e.enter("taskListCheckValueUnchecked"),e.consume(d),e.exit("taskListCheckValueUnchecked"),l):d===88||d===120?(e.enter("taskListCheckValueChecked"),e.consume(d),e.exit("taskListCheckValueChecked"),l):n(d)}function l(d){return d===93?(e.enter("taskListCheckMarker"),e.consume(d),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),u):n(d)}function u(d){return $e(d)?t(d):ht(d)?e.check({tokenize:qY},t,n)(d):n(d)}}
vendor: 11,219 bytes, lines 424-463
424function qY(e,t,n){return ut(e,r,"whitespace");function r(a){return a===null?n(a):t(a)}}function $Y(e){return F_([pY(),wY(),LY(e),BY(),FY()])}const VY={};function GY(e){const t=this,n=e||VY,r=t.data(),a=r.micromarkExtensions||(r.micromarkExtensions=[]),s=r.fromMarkdownExtensions||(r.fromMarkdownExtensions=[]),l=r.toMarkdownExtensions||(r.toMarkdownExtensions=[]);a.push($Y(n)),s.push(dY()),l.push(fY(n))}function YY(){return{enter:{mathFlow:e,mathFlowFenceMeta:t,mathText:s},exit:{mathFlow:a,mathFlowFence:r,mathFlowFenceMeta:n,mathFlowValue:u,mathText:l,mathTextData:u}};function e(d){const f={type:"element",tagName:"code",properties:{className:["language-math","math-display"]},children:[]};this.enter({type:"math",meta:null,value:"",data:{hName:"pre",hChildren:[f]}},d)}function t(){this.buffer()}function n(){const d=this.resume(),f=this.stack[this.stack.length-1];f.type,f.meta=d}function r(){this.data.mathFlowInside||(this.buffer(),this.data.mathFlowInside=!0)}function a(d){const f=this.resume().replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),p=this.stack[this.stack.length-1];p.type,this.exit(d),p.value=f;const m=p.data.hChildren[0];m.type,m.tagName,m.children.push({type:"text",value:f}),this.data.mathFlowInside=void 0}function s(d){this.enter({type:"inlineMath",value:"",data:{hName:"code",hProperties:{className:["language-math","math-inline"]},hChildren:[]}},d),this.buffer()}function l(d){const f=this.resume(),p=this.stack[this.stack.length-1];p.type,this.exit(d),p.value=f,p.data.hChildren.push({type:"text",value:f})}function u(d){this.config.enter.data.call(this,d),this.config.exit.data.call(this,d)}}function QY(e){let t=(e||{}).singleDollarTextMath;return t==null&&(t=!0),r.peek=a,{unsafe:[{character:"\r",inConstruct:"mathFlowMeta"},{character:`
425`,inConstruct:"mathFlowMeta"},{character:"$",after:t?void 0:"\\$",inConstruct:"phrasing"},{character:"$",inConstruct:"mathFlowMeta"},{atBreak:!0,character:"$",after:"\\$"}],handlers:{math:n,inlineMath:r}};function n(s,l,u,d){const f=s.value||"",p=u.createTracker(d),m="$".repeat(Math.max(fS(f,"$")+1,2)),b=u.enter("mathFlow");let y=p.move(m);if(s.meta){const E=u.enter("mathFlowMeta");y+=p.move(u.safe(s.meta,{after:`
426`,before:y,encode:["$"],...p.current()})),E()}return y+=p.move(`
427`),f&&(y+=p.move(f+`
428`)),y+=p.move(m),b(),y}function r(s,l,u){let d=s.value||"",f=1;for(t||f++;new RegExp("(^|[^$])"+"\\$".repeat(f)+"([^$]|$)").test(d);)f++;const p="$".repeat(f);/[^ \r\n]/.test(d)&&(/^[ \r\n]/.test(d)&&/[ \r\n]$/.test(d)||/^\$|\$$/.test(d))&&(d=" "+d+" ");let m=-1;for(;++m<u.unsafe.length;){const b=u.unsafe[m];if(!b.atBreak)continue;const y=u.compilePattern(b);let E;for(;E=y.exec(d);){let T=E.index;d.codePointAt(T)===10&&d.codePointAt(T-1)===13&&T--,d=d.slice(0,T)+" "+d.slice(E.index+1)}}return p+d+p}function a(){return"$"}}const XY={tokenize:WY,concrete:!0,name:"mathFlow"},S8={tokenize:KY,partial:!0};function WY(e,t,n){const r=this,a=r.events[r.events.length-1],s=a&&a[1].type==="linePrefix"?a[2].sliceSerialize(a[1],!0).length:0;let l=0;return u;function u(O){return e.enter("mathFlow"),e.enter("mathFlowFence"),e.enter("mathFlowFenceSequence"),d(O)}function d(O){return O===36?(e.consume(O),l++,d):l<2?n(O):(e.exit("mathFlowFenceSequence"),ut(e,f,"whitespace")(O))}function f(O){return O===null||$e(O)?m(O):(e.enter("mathFlowFenceMeta"),e.enter("chunkString",{contentType:"string"}),p(O))}function p(O){return O===null||$e(O)?(e.exit("chunkString"),e.exit("mathFlowFenceMeta"),m(O)):O===36?n(O):(e.consume(O),p)}function m(O){return e.exit("mathFlowFence"),r.interrupt?t(O):e.attempt(S8,b,N)(O)}function b(O){return e.attempt({tokenize:k,partial:!0},N,y)(O)}function y(O){return(s?ut(e,E,"linePrefix",s+1):E)(O)}function E(O){return O===null?N(O):$e(O)?e.attempt(S8,b,N)(O):(e.enter("mathFlowValue"),T(O))}function T(O){return O===null||$e(O)?(e.exit("mathFlowValue"),E(O)):(e.consume(O),T)}function N(O){return e.exit("mathFlow"),t(O)}function k(O,I,K){let V=0;return ut(O,B,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4);function B(re){return O.enter("mathFlowFence"),O.enter("mathFlowFenceSequence"),z(re)}function z(re){return re===36?(V++,O.consume(re),z):V<l?K(re):(O.exit("mathFlowFenceSequence"),ut(O,W,"whitespace")(re))}function W(re){return re===null||$e(re)?(O.exit("mathFlowFence"),I(re)):K(re)}}}function KY(e,t,n){const r=this;return a;function a(l){return l===null?t(l):(e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),s)}function s(l){return r.parser.lazy[r.now().line]?n(l):t(l)}}function ZY(e){let n=(e||{}).singleDollarTextMath;return n==null&&(n=!0),{tokenize:r,resolve:JY,previous:eQ,name:"mathText"};function r(a,s,l){let u=0,d,f;return p;function p(T){return a.enter("mathText"),a.enter("mathTextSequence"),m(T)}function m(T){return T===36?(a.consume(T),u++,m):u<2&&!n?l(T):(a.exit("mathTextSequence"),b(T))}function b(T){return T===null?l(T):T===36?(f=a.enter("mathTextSequence"),d=0,E(T)):T===32?(a.enter("space"),a.consume(T),a.exit("space"),b):$e(T)?(a.enter("lineEnding"),a.consume(T),a.exit("lineEnding"),b):(a.enter("mathTextData"),y(T))}function y(T){return T===null||T===32||T===36||$e(T)?(a.exit("mathTextData"),b(T)):(a.consume(T),y)}function E(T){return T===36?(a.consume(T),d++,E):d===u?(a.exit("mathTextSequence"),a.exit("mathText"),s(T)):(f.type="mathTextData",y(T))}}}function JY(e){let t=e.length-4,n=3,r,a;if((e[n][1].type==="lineEnding"||e[n][1].type==="space")&&(e[t][1].type==="lineEnding"||e[t][1].type==="space")){for(r=n;++r<t;)if(e[r][1].type==="mathTextData"){e[t][1].type="mathTextPadding",e[n][1].type="mathTextPadding",n+=2,t-=2;break}}for(r=n-1,t++;++r<=t;)a===void 0?r!==t&&e[r][1].type!=="lineEnding"&&(a=r):(r===t||e[r][1].type==="lineEnding")&&(e[a][1].type="mathTextData",r!==a+2&&(e[a][1].end=e[r-1][1].end,e.splice(a+2,r-a-2),t-=r-a-2,r=a+2),a=void 0);return e}function eQ(e){return e!==36||this.events[this.events.length-1][1].type==="characterEscape"}function tQ(e){return{flow:{36:XY},text:{36:ZY(e)}}}const nQ={};function rQ(e){const t=this,n=e||nQ,r=t.data(),a=r.micromarkExtensions||(r.micromarkExtensions=[]),s=r.fromMarkdownExtensions||(r.fromMarkdownExtensions=[]),l=r.toMarkdownExtensions||(r.toMarkdownExtensions=[]);a.push(tQ(n)),s.push(YY()),l.push(QY(n))}function aQ({defaultOrigin:e="",allowedLinkPrefixes:t=[],allowedImagePrefixes:n=[],allowDataImages:r=!1,blockedImageClass:a="inline-block bg-gray-200 dark:bg-gray-700 text-gray-600 dark:text-gray-400 px-3 py-1 rounded text-sm",blockedLinkClass:s="text-gray-500"}){const l=t.length&&!t.every(d=>d==="*"),u=n.length&&!n.every(d=>d==="*");if(!e&&(l||u))throw new Error("defaultOrigin is required when allowedLinkPrefixes or allowedImagePrefixes are provided");return d=>{const f=oQ(e,t,n,r,a,s);vo(d,f)}}function w8(e,t){if(typeof e!="string")return null;try{return new URL(e)}catch{if(t)try{return new URL(e,t)}catch{return null}return null}}function iQ(e){return typeof e!="string"?!1:e.startsWith("/")}const sQ=new Set(["https:","http:","irc:","ircs:","mailto:","xmpp:"]);function A8(e,t,n,r=!1,a=!1){if(!e)return null;if(typeof e=="string"&&e.startsWith("#")&&!a)try{if(new URL(e,"http://example.com").hash===e)return e}catch{}if(typeof e=="string"&&e.startsWith("data:"))return a&&r&&e.startsWith("data:image/")?e:null;const s=w8(e,n);if(!s||!sQ.has(s.protocol))return null;if(s.protocol==="mailto:")return s.href;const l=iQ(e);return s&&t.some(u=>{const d=w8(u,n);return!d||d.origin!==s.origin?!1:s.href.startsWith(d.href)})?l?s.pathname+s.search+s.hash:s.href:t.includes("*")?s.protocol!=="https:"&&s.protocol!=="http:"?null:l?s.pathname+s.search+s.hash:s.href:null}const ag=Symbol("node-seen"),oQ=(e,t,n,r,a,s)=>{const l=(u,d,f)=>{if(u.type!=="element"||u[ag])return hc;if(u.tagName==="a"){const p=A8(u.properties.href,t,e,!1,!1);return p===null?(u[ag]=!0,vo(u,l),f&&typeof d=="number"&&(f.children[d]={type:"element",tagName:"span",properties:{title:"Blocked URL: "+String(u.properties.href),class:s},children:[...u.children,{type:"text",value:" [blocked]"}]}),Of):(u.properties.href=p,u.properties.target="_blank",u.properties.rel="noopener noreferrer",hc)}if(u.tagName==="img"){const p=A8(u.properties.src,n,e,r,!0);return p===null?(u[ag]=!0,vo(u,l),f&&typeof d=="number"&&(f.children[d]={type:"element",tagName:"span",properties:{class:a},children:[{type:"text",value:"[Image blocked: "+String(u.properties.alt||"No description")+"]"}]}),Of):(u.properties.src=p,hc)}return hc};return l};/**
429 * @license lucide-react v0.542.0 - ISC
430 *
431 * This source code is licensed under the ISC license.
432 * See the LICENSE file in the root directory of this source tree.
433 */const lQ=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),uQ=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(t,n,r)=>r?r.toUpperCase():n.toLowerCase()),k8=e=>{const t=uQ(e);return t.charAt(0).toUpperCase()+t.slice(1)},DS=(...e)=>e.filter((t,n,r)=>!!t&&t.trim()!==""&&r.indexOf(t)===n).join(" ").trim(),cQ=e=>{for(const t in e)if(t.startsWith("aria-")||t==="role"||t==="title")return!0};/**
434 * @license lucide-react v0.542.0 - ISC
435 *
436 * This source code is licensed under the ISC license.
437 * See the LICENSE file in the root directory of this source tree.
438 */var dQ={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/**
439 * @license lucide-react v0.542.0 - ISC
440 *
441 * This source code is licensed under the ISC license.
442 * See the LICENSE file in the root directory of this source tree.
443 */const fQ=H.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:n=2,absoluteStrokeWidth:r,className:a="",children:s,iconNode:l,...u},d)=>H.createElement("svg",{ref:d,...dQ,width:t,height:t,stroke:e,strokeWidth:r?Number(n)*24/Number(t):n,className:DS("lucide",a),...!s&&!cQ(u)&&{"aria-hidden":"true"},...u},[...l.map(([f,p])=>H.createElement(f,p)),...Array.isArray(s)?s:[s]]));/**
444 * @license lucide-react v0.542.0 - ISC
445 *
446 * This source code is licensed under the ISC license.
447 * See the LICENSE file in the root directory of this source tree.
448 */const Jb=(e,t)=>{const n=H.forwardRef(({className:r,...a},s)=>H.createElement(fQ,{ref:s,iconNode:t,className:DS(`lucide-${lQ(k8(e))}`,`lucide-${e}`,r),...a}));return n.displayName=k8(e),n};/**
449 * @license lucide-react v0.542.0 - ISC
450 *
451 * This source code is licensed under the ISC license.
452 * See the LICENSE file in the root directory of this source tree.
453 */const hQ=[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]],LS=Jb("check",hQ);/**
454 * @license lucide-react v0.542.0 - ISC
455 *
456 * This source code is licensed under the ISC license.
457 * See the LICENSE file in the root directory of this source tree.
458 */const mQ=[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]],IS=Jb("copy",mQ);/**
459 * @license lucide-react v0.542.0 - ISC
460 *
461 * This source code is licensed under the ISC license.
462 * See the LICENSE file in the root directory of this source tree.
463 */const pQ=[["path",{d:"M12 15V3",key:"m9g1x1"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["path",{d:"m7 10 5 5 5-5",key:"brsn70"}]],e4=Jb("download",pQ);
vendor: 43,469 bytes, lines 463-465
463let gn=class extends Error{constructor(t){super(t),this.name="ShikiError"}};function gQ(e){return t4(e)}function t4(e){return Array.isArray(e)?bQ(e):e instanceof RegExp?e:typeof e=="object"?yQ(e):e}function bQ(e){let t=[];for(let n=0,r=e.length;n<r;n++)t[n]=t4(e[n]);return t}function yQ(e){let t={};for(let n in e)t[n]=t4(e[n]);return t}function MS(e,...t){return t.forEach(n=>{for(let r in n)e[r]=n[r]}),e}function PS(e){const t=~e.lastIndexOf("/")||~e.lastIndexOf("\\");return t===0?e:~t===e.length-1?PS(e.substring(0,e.length-1)):e.substr(~t+1)}var ig=/\$(\d+)|\${(\d+):\/(downcase|upcase)}/g,tf=class{static hasCaptures(e){return e===null?!1:(ig.lastIndex=0,ig.test(e))}static replaceCaptures(e,t,n){return e.replace(ig,(r,a,s,l)=>{let u=n[parseInt(a||s,10)];if(u){let d=t.substring(u.start,u.end);for(;d[0]===".";)d=d.substring(1);switch(l){case"downcase":return d.toLowerCase();case"upcase":return d.toUpperCase();default:return d}}else return r})}};function BS(e,t){return e<t?-1:e>t?1:0}function zS(e,t){if(e===null&&t===null)return 0;if(!e)return-1;if(!t)return 1;let n=e.length,r=t.length;if(n===r){for(let a=0;a<n;a++){let s=BS(e[a],t[a]);if(s!==0)return s}return 0}return n-r}function C8(e){return!!(/^#[0-9a-f]{6}$/i.test(e)||/^#[0-9a-f]{8}$/i.test(e)||/^#[0-9a-f]{3}$/i.test(e)||/^#[0-9a-f]{4}$/i.test(e))}function US(e){return e.replace(/[\-\\\{\}\*\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&")}var HS=class{constructor(e){this.fn=e}cache=new Map;get(e){if(this.cache.has(e))return this.cache.get(e);const t=this.fn(e);return this.cache.set(e,t),t}},Ff=class{constructor(e,t,n){this._colorMap=e,this._defaults=t,this._root=n}static createFromRawTheme(e,t){return this.createFromParsedTheme(EQ(e),t)}static createFromParsedTheme(e,t){return TQ(e,t)}_cachedMatchRoot=new HS(e=>this._root.match(e));getColorMap(){return this._colorMap.getColorMap()}getDefaults(){return this._defaults}match(e){if(e===null)return this._defaults;const t=e.scopeName,r=this._cachedMatchRoot.get(t).find(a=>vQ(e.parent,a.parentScopes));return r?new FS(r.fontStyle,r.foreground,r.background):null}},sg=class yf{constructor(t,n){this.parent=t,this.scopeName=n}static push(t,n){for(const r of n)t=new yf(t,r);return t}static from(...t){let n=null;for(let r=0;r<t.length;r++)n=new yf(n,t[r]);return n}push(t){return new yf(this,t)}getSegments(){let t=this;const n=[];for(;t;)n.push(t.scopeName),t=t.parent;return n.reverse(),n}toString(){return this.getSegments().join(" ")}extends(t){return this===t?!0:this.parent===null?!1:this.parent.extends(t)}getExtensionIfDefined(t){const n=[];let r=this;for(;r&&r!==t;)n.push(r.scopeName),r=r.parent;return r===t?n.reverse():void 0}};function vQ(e,t){if(t.length===0)return!0;for(let n=0;n<t.length;n++){let r=t[n],a=!1;if(r===">"){if(n===t.length-1)return!1;r=t[++n],a=!0}for(;e&&!xQ(e.scopeName,r);){if(a)return!1;e=e.parent}if(!e)return!1;e=e.parent}return!0}function xQ(e,t){return t===e||e.startsWith(t)&&e[t.length]==="."}var FS=class{constructor(e,t,n){this.fontStyle=e,this.foregroundId=t,this.backgroundId=n}};function EQ(e){if(!e)return[];if(!e.settings||!Array.isArray(e.settings))return[];let t=e.settings,n=[],r=0;for(let a=0,s=t.length;a<s;a++){let l=t[a];if(!l.settings)continue;let u;if(typeof l.scope=="string"){let m=l.scope;m=m.replace(/^[,]+/,""),m=m.replace(/[,]+$/,""),u=m.split(",")}else Array.isArray(l.scope)?u=l.scope:u=[""];let d=-1;if(typeof l.settings.fontStyle=="string"){d=0;let m=l.settings.fontStyle.split(" ");for(let b=0,y=m.length;b<y;b++)switch(m[b]){case"italic":d=d|1;break;case"bold":d=d|2;break;case"underline":d=d|4;break;case"strikethrough":d=d|8;break}}let f=null;typeof l.settings.foreground=="string"&&C8(l.settings.foreground)&&(f=l.settings.foreground);let p=null;typeof l.settings.background=="string"&&C8(l.settings.background)&&(p=l.settings.background);for(let m=0,b=u.length;m<b;m++){let E=u[m].trim().split(" "),T=E[E.length-1],N=null;E.length>1&&(N=E.slice(0,E.length-1),N.reverse()),n[r++]=new _Q(T,N,a,d,f,p)}}return n}var _Q=class{constructor(e,t,n,r,a,s){this.scope=e,this.parentScopes=t,this.index=n,this.fontStyle=r,this.foreground=a,this.background=s}},Yn=(e=>(e[e.NotSet=-1]="NotSet",e[e.None=0]="None",e[e.Italic=1]="Italic",e[e.Bold=2]="Bold",e[e.Underline=4]="Underline",e[e.Strikethrough=8]="Strikethrough",e))(Yn||{});function TQ(e,t){e.sort((d,f)=>{let p=BS(d.scope,f.scope);return p!==0||(p=zS(d.parentScopes,f.parentScopes),p!==0)?p:d.index-f.index});let n=0,r="#000000",a="#ffffff";for(;e.length>=1&&e[0].scope==="";){let d=e.shift();d.fontStyle!==-1&&(n=d.fontStyle),d.foreground!==null&&(r=d.foreground),d.background!==null&&(a=d.background)}let s=new SQ(t),l=new FS(n,s.getId(r),s.getId(a)),u=new AQ(new x2(0,null,-1,0,0),[]);for(let d=0,f=e.length;d<f;d++){let p=e[d];u.insert(0,p.scope,p.parentScopes,p.fontStyle,s.getId(p.foreground),s.getId(p.background))}return new Ff(s,l,u)}var SQ=class{_isFrozen;_lastColorId;_id2color;_color2id;constructor(e){if(this._lastColorId=0,this._id2color=[],this._color2id=Object.create(null),Array.isArray(e)){this._isFrozen=!0;for(let t=0,n=e.length;t<n;t++)this._color2id[e[t]]=t,this._id2color[t]=e[t]}else this._isFrozen=!1}getId(e){if(e===null)return 0;e=e.toUpperCase();let t=this._color2id[e];if(t)return t;if(this._isFrozen)throw new Error(`Missing color in color map - ${e}`);return t=++this._lastColorId,this._color2id[e]=t,this._id2color[t]=e,t}getColorMap(){return this._id2color.slice(0)}},wQ=Object.freeze([]),x2=class jS{scopeDepth;parentScopes;fontStyle;foreground;background;constructor(t,n,r,a,s){this.scopeDepth=t,this.parentScopes=n||wQ,this.fontStyle=r,this.foreground=a,this.background=s}clone(){return new jS(this.scopeDepth,this.parentScopes,this.fontStyle,this.foreground,this.background)}static cloneArr(t){let n=[];for(let r=0,a=t.length;r<a;r++)n[r]=t[r].clone();return n}acceptOverwrite(t,n,r,a){this.scopeDepth>t?console.log("how did this happen?"):this.scopeDepth=t,n!==-1&&(this.fontStyle=n),r!==0&&(this.foreground=r),a!==0&&(this.background=a)}},AQ=class E2{constructor(t,n=[],r={}){this._mainRule=t,this._children=r,this._rulesWithParentScopes=n}_rulesWithParentScopes;static _cmpBySpecificity(t,n){if(t.scopeDepth!==n.scopeDepth)return n.scopeDepth-t.scopeDepth;let r=0,a=0;for(;t.parentScopes[r]===">"&&r++,n.parentScopes[a]===">"&&a++,!(r>=t.parentScopes.length||a>=n.parentScopes.length);){const s=n.parentScopes[a].length-t.parentScopes[r].length;if(s!==0)return s;r++,a++}return n.parentScopes.length-t.parentScopes.length}match(t){if(t!==""){let r=t.indexOf("."),a,s;if(r===-1?(a=t,s=""):(a=t.substring(0,r),s=t.substring(r+1)),this._children.hasOwnProperty(a))return this._children[a].match(s)}const n=this._rulesWithParentScopes.concat(this._mainRule);return n.sort(E2._cmpBySpecificity),n}insert(t,n,r,a,s,l){if(n===""){this._doInsertHere(t,r,a,s,l);return}let u=n.indexOf("."),d,f;u===-1?(d=n,f=""):(d=n.substring(0,u),f=n.substring(u+1));let p;this._children.hasOwnProperty(d)?p=this._children[d]:(p=new E2(this._mainRule.clone(),x2.cloneArr(this._rulesWithParentScopes)),this._children[d]=p),p.insert(t+1,f,r,a,s,l)}_doInsertHere(t,n,r,a,s){if(n===null){this._mainRule.acceptOverwrite(t,r,a,s);return}for(let l=0,u=this._rulesWithParentScopes.length;l<u;l++){let d=this._rulesWithParentScopes[l];if(zS(d.parentScopes,n)===0){d.acceptOverwrite(t,r,a,s);return}}r===-1&&(r=this._mainRule.fontStyle),a===0&&(a=this._mainRule.foreground),s===0&&(s=this._mainRule.background),this._rulesWithParentScopes.push(new x2(t,n,r,a,s))}},Ql=class Zr{static toBinaryStr(t){return t.toString(2).padStart(32,"0")}static print(t){const n=Zr.getLanguageId(t),r=Zr.getTokenType(t),a=Zr.getFontStyle(t),s=Zr.getForeground(t),l=Zr.getBackground(t);console.log({languageId:n,tokenType:r,fontStyle:a,foreground:s,background:l})}static getLanguageId(t){return(t&255)>>>0}static getTokenType(t){return(t&768)>>>8}static containsBalancedBrackets(t){return(t&1024)!==0}static getFontStyle(t){return(t&30720)>>>11}static getForeground(t){return(t&16744448)>>>15}static getBackground(t){return(t&4278190080)>>>24}static set(t,n,r,a,s,l,u){let d=Zr.getLanguageId(t),f=Zr.getTokenType(t),p=Zr.containsBalancedBrackets(t)?1:0,m=Zr.getFontStyle(t),b=Zr.getForeground(t),y=Zr.getBackground(t);return n!==0&&(d=n),r!==8&&(f=r),a!==null&&(p=a?1:0),s!==-1&&(m=s),l!==0&&(b=l),u!==0&&(y=u),(d<<0|f<<8|p<<10|m<<11|b<<15|y<<24)>>>0}};function jf(e,t){const n=[],r=kQ(e);let a=r.next();for(;a!==null;){let d=0;if(a.length===2&&a.charAt(1)===":"){switch(a.charAt(0)){case"R":d=1;break;case"L":d=-1;break;default:console.log(`Unknown priority ${a} in scope selector`)}a=r.next()}let f=l();if(n.push({matcher:f,priority:d}),a!==",")break;a=r.next()}return n;function s(){if(a==="-"){a=r.next();const d=s();return f=>!!d&&!d(f)}if(a==="("){a=r.next();const d=u();return a===")"&&(a=r.next()),d}if(N8(a)){const d=[];do d.push(a),a=r.next();while(N8(a));return f=>t(d,f)}return null}function l(){const d=[];let f=s();for(;f;)d.push(f),f=s();return p=>d.every(m=>m(p))}function u(){const d=[];let f=l();for(;f&&(d.push(f),a==="|"||a===",");){do a=r.next();while(a==="|"||a===",");f=l()}return p=>d.some(m=>m(p))}}function N8(e){return!!e&&!!e.match(/[\w\.:]+/)}function kQ(e){let t=/([LR]:|[\w\.:][\w\.:\-]*|[\,\|\-\(\)])/g,n=t.exec(e);return{next:()=>{if(!n)return null;const r=n[0];return n=t.exec(e),r}}}function qS(e){typeof e.dispose=="function"&&e.dispose()}var Yc=class{constructor(e){this.scopeName=e}toKey(){return this.scopeName}},CQ=class{constructor(e,t){this.scopeName=e,this.ruleName=t}toKey(){return`${this.scopeName}#${this.ruleName}`}},NQ=class{_references=[];_seenReferenceKeys=new Set;get references(){return this._references}visitedRule=new Set;add(e){const t=e.toKey();this._seenReferenceKeys.has(t)||(this._seenReferenceKeys.add(t),this._references.push(e))}},OQ=class{constructor(e,t){this.repo=e,this.initialScopeName=t,this.seenFullScopeRequests.add(this.initialScopeName),this.Q=[new Yc(this.initialScopeName)]}seenFullScopeRequests=new Set;seenPartialScopeRequests=new Set;Q;processQueue(){const e=this.Q;this.Q=[];const t=new NQ;for(const n of e)RQ(n,this.initialScopeName,this.repo,t);for(const n of t.references)if(n instanceof Yc){if(this.seenFullScopeRequests.has(n.scopeName))continue;this.seenFullScopeRequests.add(n.scopeName),this.Q.push(n)}else{if(this.seenFullScopeRequests.has(n.scopeName)||this.seenPartialScopeRequests.has(n.toKey()))continue;this.seenPartialScopeRequests.add(n.toKey()),this.Q.push(n)}}};function RQ(e,t,n,r){const a=n.lookup(e.scopeName);if(!a){if(e.scopeName===t)throw new Error(`No grammar provided for <${t}>`);return}const s=n.lookup(t);e instanceof Yc?vf({baseGrammar:s,selfGrammar:a},r):_2(e.ruleName,{baseGrammar:s,selfGrammar:a,repository:a.repository},r);const l=n.injections(e.scopeName);if(l)for(const u of l)r.add(new Yc(u))}function _2(e,t,n){if(t.repository&&t.repository[e]){const r=t.repository[e];qf([r],t,n)}}function vf(e,t){e.selfGrammar.patterns&&Array.isArray(e.selfGrammar.patterns)&&qf(e.selfGrammar.patterns,{...e,repository:e.selfGrammar.repository},t),e.selfGrammar.injections&&qf(Object.values(e.selfGrammar.injections),{...e,repository:e.selfGrammar.repository},t)}function qf(e,t,n){for(const r of e){if(n.visitedRule.has(r))continue;n.visitedRule.add(r);const a=r.repository?MS({},t.repository,r.repository):t.repository;Array.isArray(r.patterns)&&qf(r.patterns,{...t,repository:a},n);const s=r.include;if(!s)continue;const l=$S(s);switch(l.kind){case 0:vf({...t,selfGrammar:t.baseGrammar},n);break;case 1:vf(t,n);break;case 2:_2(l.ruleName,{...t,repository:a},n);break;case 3:case 4:const u=l.scopeName===t.selfGrammar.scopeName?t.selfGrammar:l.scopeName===t.baseGrammar.scopeName?t.baseGrammar:void 0;if(u){const d={baseGrammar:t.baseGrammar,selfGrammar:u,repository:a};l.kind===4?_2(l.ruleName,d,n):vf(d,n)}else l.kind===4?n.add(new CQ(l.scopeName,l.ruleName)):n.add(new Yc(l.scopeName));break}}}var DQ=class{kind=0},LQ=class{kind=1},IQ=class{constructor(e){this.ruleName=e}kind=2},MQ=class{constructor(e){this.scopeName=e}kind=3},PQ=class{constructor(e,t){this.scopeName=e,this.ruleName=t}kind=4};function $S(e){if(e==="$base")return new DQ;if(e==="$self")return new LQ;const t=e.indexOf("#");if(t===-1)return new MQ(e);if(t===0)return new IQ(e.substring(1));{const n=e.substring(0,t),r=e.substring(t+1);return new PQ(n,r)}}var BQ=/\\(\d+)/,O8=/\\(\d+)/g,zQ=-1,VS=-2;var g0=class{$location;id;_nameIsCapturing;_name;_contentNameIsCapturing;_contentName;constructor(e,t,n,r){this.$location=e,this.id=t,this._name=n||null,this._nameIsCapturing=tf.hasCaptures(this._name),this._contentName=r||null,this._contentNameIsCapturing=tf.hasCaptures(this._contentName)}get debugName(){const e=this.$location?`${PS(this.$location.filename)}:${this.$location.line}`:"unknown";return`${this.constructor.name}#${this.id} @ ${e}`}getName(e,t){return!this._nameIsCapturing||this._name===null||e===null||t===null?this._name:tf.replaceCaptures(this._name,e,t)}getContentName(e,t){return!this._contentNameIsCapturing||this._contentName===null?this._contentName:tf.replaceCaptures(this._contentName,e,t)}},UQ=class extends g0{retokenizeCapturedWithRuleId;constructor(e,t,n,r,a){super(e,t,n,r),this.retokenizeCapturedWithRuleId=a}dispose(){}collectPatterns(e,t){throw new Error("Not supported!")}compile(e,t){throw new Error("Not supported!")}compileAG(e,t,n,r){throw new Error("Not supported!")}},HQ=class extends g0{_match;captures;_cachedCompiledPatterns;constructor(e,t,n,r,a){super(e,t,n,null),this._match=new Qc(r,this.id),this.captures=a,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}get debugMatchRegExp(){return`${this._match.source}`}collectPatterns(e,t){t.push(this._match)}compile(e,t){return this._getCachedCompiledPatterns(e).compile(e)}compileAG(e,t,n,r){return this._getCachedCompiledPatterns(e).compileAG(e,n,r)}_getCachedCompiledPatterns(e){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new Xc,this.collectPatterns(e,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}},R8=class extends g0{hasMissingPatterns;patterns;_cachedCompiledPatterns;constructor(e,t,n,r,a){super(e,t,n,r),this.patterns=a.patterns,this.hasMissingPatterns=a.hasMissingPatterns,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}collectPatterns(e,t){for(const n of this.patterns)e.getRule(n).collectPatterns(e,t)}compile(e,t){return this._getCachedCompiledPatterns(e).compile(e)}compileAG(e,t,n,r){return this._getCachedCompiledPatterns(e).compileAG(e,n,r)}_getCachedCompiledPatterns(e){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new Xc,this.collectPatterns(e,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}},T2=class extends g0{_begin;beginCaptures;_end;endHasBackReferences;endCaptures;applyEndPatternLast;hasMissingPatterns;patterns;_cachedCompiledPatterns;constructor(e,t,n,r,a,s,l,u,d,f){super(e,t,n,r),this._begin=new Qc(a,this.id),this.beginCaptures=s,this._end=new Qc(l||"ï¿¿",-1),this.endHasBackReferences=this._end.hasBackReferences,this.endCaptures=u,this.applyEndPatternLast=d||!1,this.patterns=f.patterns,this.hasMissingPatterns=f.hasMissingPatterns,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}get debugBeginRegExp(){return`${this._begin.source}`}get debugEndRegExp(){return`${this._end.source}`}getEndWithResolvedBackReferences(e,t){return this._end.resolveBackReferences(e,t)}collectPatterns(e,t){t.push(this._begin)}compile(e,t){return this._getCachedCompiledPatterns(e,t).compile(e)}compileAG(e,t,n,r){return this._getCachedCompiledPatterns(e,t).compileAG(e,n,r)}_getCachedCompiledPatterns(e,t){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new Xc;for(const n of this.patterns)e.getRule(n).collectPatterns(e,this._cachedCompiledPatterns);this.applyEndPatternLast?this._cachedCompiledPatterns.push(this._end.hasBackReferences?this._end.clone():this._end):this._cachedCompiledPatterns.unshift(this._end.hasBackReferences?this._end.clone():this._end)}return this._end.hasBackReferences&&(this.applyEndPatternLast?this._cachedCompiledPatterns.setSource(this._cachedCompiledPatterns.length()-1,t):this._cachedCompiledPatterns.setSource(0,t)),this._cachedCompiledPatterns}},$f=class extends g0{_begin;beginCaptures;whileCaptures;_while;whileHasBackReferences;hasMissingPatterns;patterns;_cachedCompiledPatterns;_cachedCompiledWhilePatterns;constructor(e,t,n,r,a,s,l,u,d){super(e,t,n,r),this._begin=new Qc(a,this.id),this.beginCaptures=s,this.whileCaptures=u,this._while=new Qc(l,VS),this.whileHasBackReferences=this._while.hasBackReferences,this.patterns=d.patterns,this.hasMissingPatterns=d.hasMissingPatterns,this._cachedCompiledPatterns=null,this._cachedCompiledWhilePatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null),this._cachedCompiledWhilePatterns&&(this._cachedCompiledWhilePatterns.dispose(),this._cachedCompiledWhilePatterns=null)}get debugBeginRegExp(){return`${this._begin.source}`}get debugWhileRegExp(){return`${this._while.source}`}getWhileWithResolvedBackReferences(e,t){return this._while.resolveBackReferences(e,t)}collectPatterns(e,t){t.push(this._begin)}compile(e,t){return this._getCachedCompiledPatterns(e).compile(e)}compileAG(e,t,n,r){return this._getCachedCompiledPatterns(e).compileAG(e,n,r)}_getCachedCompiledPatterns(e){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new Xc;for(const t of this.patterns)e.getRule(t).collectPatterns(e,this._cachedCompiledPatterns)}return this._cachedCompiledPatterns}compileWhile(e,t){return this._getCachedCompiledWhilePatterns(e,t).compile(e)}compileWhileAG(e,t,n,r){return this._getCachedCompiledWhilePatterns(e,t).compileAG(e,n,r)}_getCachedCompiledWhilePatterns(e,t){return this._cachedCompiledWhilePatterns||(this._cachedCompiledWhilePatterns=new Xc,this._cachedCompiledWhilePatterns.push(this._while.hasBackReferences?this._while.clone():this._while)),this._while.hasBackReferences&&this._cachedCompiledWhilePatterns.setSource(0,t||"ï¿¿"),this._cachedCompiledWhilePatterns}},GS=class Vn{static createCaptureRule(t,n,r,a,s){return t.registerRule(l=>new UQ(n,l,r,a,s))}static getCompiledRuleId(t,n,r){return t.id||n.registerRule(a=>{if(t.id=a,t.match)return new HQ(t.$vscodeTextmateLocation,t.id,t.name,t.match,Vn._compileCaptures(t.captures,n,r));if(typeof t.begin>"u"){t.repository&&(r=MS({},r,t.repository));let s=t.patterns;return typeof s>"u"&&t.include&&(s=[{include:t.include}]),new R8(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,Vn._compilePatterns(s,n,r))}return t.while?new $f(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,t.begin,Vn._compileCaptures(t.beginCaptures||t.captures,n,r),t.while,Vn._compileCaptures(t.whileCaptures||t.captures,n,r),Vn._compilePatterns(t.patterns,n,r)):new T2(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,t.begin,Vn._compileCaptures(t.beginCaptures||t.captures,n,r),t.end,Vn._compileCaptures(t.endCaptures||t.captures,n,r),t.applyEndPatternLast,Vn._compilePatterns(t.patterns,n,r))}),t.id}static _compileCaptures(t,n,r){let a=[];if(t){let s=0;for(const l in t){if(l==="$vscodeTextmateLocation")continue;const u=parseInt(l,10);u>s&&(s=u)}for(let l=0;l<=s;l++)a[l]=null;for(const l in t){if(l==="$vscodeTextmateLocation")continue;const u=parseInt(l,10);let d=0;t[l].patterns&&(d=Vn.getCompiledRuleId(t[l],n,r)),a[u]=Vn.createCaptureRule(n,t[l].$vscodeTextmateLocation,t[l].name,t[l].contentName,d)}}return a}static _compilePatterns(t,n,r){let a=[];if(t)for(let s=0,l=t.length;s<l;s++){const u=t[s];let d=-1;if(u.include){const f=$S(u.include);switch(f.kind){case 0:case 1:d=Vn.getCompiledRuleId(r[u.include],n,r);break;case 2:let p=r[f.ruleName];p&&(d=Vn.getCompiledRuleId(p,n,r));break;case 3:case 4:const m=f.scopeName,b=f.kind===4?f.ruleName:null,y=n.getExternalGrammar(m,r);if(y)if(b){let E=y.repository[b];E&&(d=Vn.getCompiledRuleId(E,n,y.repository))}else d=Vn.getCompiledRuleId(y.repository.$self,n,y.repository);break}}else d=Vn.getCompiledRuleId(u,n,r);if(d!==-1){const f=n.getRule(d);let p=!1;if((f instanceof R8||f instanceof T2||f instanceof $f)&&f.hasMissingPatterns&&f.patterns.length===0&&(p=!0),p)continue;a.push(d)}}return{patterns:a,hasMissingPatterns:(t?t.length:0)!==a.length}}},Qc=class YS{source;ruleId;hasAnchor;hasBackReferences;_anchorCache;constructor(t,n){if(t&&typeof t=="string"){const r=t.length;let a=0,s=[],l=!1;for(let u=0;u<r;u++)if(t.charAt(u)==="\\"&&u+1<r){const f=t.charAt(u+1);f==="z"?(s.push(t.substring(a,u)),s.push("$(?!\\n)(?<!\\n)"),a=u+2):(f==="A"||f==="G")&&(l=!0),u++}this.hasAnchor=l,a===0?this.source=t:(s.push(t.substring(a,r)),this.source=s.join(""))}else this.hasAnchor=!1,this.source=t;this.hasAnchor?this._anchorCache=this._buildAnchorCache():this._anchorCache=null,this.ruleId=n,typeof this.source=="string"?this.hasBackReferences=BQ.test(this.source):this.hasBackReferences=!1}clone(){return new YS(this.source,this.ruleId)}setSource(t){this.source!==t&&(this.source=t,this.hasAnchor&&(this._anchorCache=this._buildAnchorCache()))}resolveBackReferences(t,n){if(typeof this.source!="string")throw new Error("This method should only be called if the source is a string");let r=n.map(a=>t.substring(a.start,a.end));return O8.lastIndex=0,this.source.replace(O8,(a,s)=>US(r[parseInt(s,10)]||""))}_buildAnchorCache(){if(typeof this.source!="string")throw new Error("This method should only be called if the source is a string");let t=[],n=[],r=[],a=[],s,l,u,d;for(s=0,l=this.source.length;s<l;s++)u=this.source.charAt(s),t[s]=u,n[s]=u,r[s]=u,a[s]=u,u==="\\"&&s+1<l&&(d=this.source.charAt(s+1),d==="A"?(t[s+1]="ï¿¿",n[s+1]="ï¿¿",r[s+1]="A",a[s+1]="A"):d==="G"?(t[s+1]="ï¿¿",n[s+1]="G",r[s+1]="ï¿¿",a[s+1]="G"):(t[s+1]=d,n[s+1]=d,r[s+1]=d,a[s+1]=d),s++);return{A0_G0:t.join(""),A0_G1:n.join(""),A1_G0:r.join(""),A1_G1:a.join("")}}resolveAnchors(t,n){return!this.hasAnchor||!this._anchorCache||typeof this.source!="string"?this.source:t?n?this._anchorCache.A1_G1:this._anchorCache.A1_G0:n?this._anchorCache.A0_G1:this._anchorCache.A0_G0}},Xc=class{_items;_hasAnchors;_cached;_anchorCache;constructor(){this._items=[],this._hasAnchors=!1,this._cached=null,this._anchorCache={A0_G0:null,A0_G1:null,A1_G0:null,A1_G1:null}}dispose(){this._disposeCaches()}_disposeCaches(){this._cached&&(this._cached.dispose(),this._cached=null),this._anchorCache.A0_G0&&(this._anchorCache.A0_G0.dispose(),this._anchorCache.A0_G0=null),this._anchorCache.A0_G1&&(this._anchorCache.A0_G1.dispose(),this._anchorCache.A0_G1=null),this._anchorCache.A1_G0&&(this._anchorCache.A1_G0.dispose(),this._anchorCache.A1_G0=null),this._anchorCache.A1_G1&&(this._anchorCache.A1_G1.dispose(),this._anchorCache.A1_G1=null)}push(e){this._items.push(e),this._hasAnchors=this._hasAnchors||e.hasAnchor}unshift(e){this._items.unshift(e),this._hasAnchors=this._hasAnchors||e.hasAnchor}length(){return this._items.length}setSource(e,t){this._items[e].source!==t&&(this._disposeCaches(),this._items[e].setSource(t))}compile(e){if(!this._cached){let t=this._items.map(n=>n.source);this._cached=new D8(e,t,this._items.map(n=>n.ruleId))}return this._cached}compileAG(e,t,n){return this._hasAnchors?t?n?(this._anchorCache.A1_G1||(this._anchorCache.A1_G1=this._resolveAnchors(e,t,n)),this._anchorCache.A1_G1):(this._anchorCache.A1_G0||(this._anchorCache.A1_G0=this._resolveAnchors(e,t,n)),this._anchorCache.A1_G0):n?(this._anchorCache.A0_G1||(this._anchorCache.A0_G1=this._resolveAnchors(e,t,n)),this._anchorCache.A0_G1):(this._anchorCache.A0_G0||(this._anchorCache.A0_G0=this._resolveAnchors(e,t,n)),this._anchorCache.A0_G0):this.compile(e)}_resolveAnchors(e,t,n){let r=this._items.map(a=>a.resolveAnchors(t,n));return new D8(e,r,this._items.map(a=>a.ruleId))}},D8=class{constructor(e,t,n){this.regExps=t,this.rules=n,this.scanner=e.createOnigScanner(t)}scanner;dispose(){typeof this.scanner.dispose=="function"&&this.scanner.dispose()}toString(){const e=[];for(let t=0,n=this.rules.length;t<n;t++)e.push("   - "+this.rules[t]+": "+this.regExps[t]);return e.join(`
464`)}findNextMatchSync(e,t,n){const r=this.scanner.findNextMatchSync(e,t,n);return r?{ruleId:this.rules[r.index],captureIndices:r.captureIndices}:null}},og=class{constructor(e,t){this.languageId=e,this.tokenType=t}},FQ=class S2{_defaultAttributes;_embeddedLanguagesMatcher;constructor(t,n){this._defaultAttributes=new og(t,8),this._embeddedLanguagesMatcher=new jQ(Object.entries(n||{}))}getDefaultAttributes(){return this._defaultAttributes}getBasicScopeAttributes(t){return t===null?S2._NULL_SCOPE_METADATA:this._getBasicScopeAttributes.get(t)}static _NULL_SCOPE_METADATA=new og(0,0);_getBasicScopeAttributes=new HS(t=>{const n=this._scopeToLanguage(t),r=this._toStandardTokenType(t);return new og(n,r)});_scopeToLanguage(t){return this._embeddedLanguagesMatcher.match(t)||0}_toStandardTokenType(t){const n=t.match(S2.STANDARD_TOKEN_TYPE_REGEXP);if(!n)return 8;switch(n[1]){case"comment":return 1;case"string":return 2;case"regex":return 3;case"meta.embedded":return 0}throw new Error("Unexpected match for standard token type!")}static STANDARD_TOKEN_TYPE_REGEXP=/\b(comment|string|regex|meta\.embedded)\b/},jQ=class{values;scopesRegExp;constructor(e){if(e.length===0)this.values=null,this.scopesRegExp=null;else{this.values=new Map(e);const t=e.map(([n,r])=>US(n));t.sort(),t.reverse(),this.scopesRegExp=new RegExp(`^((${t.join(")|(")}))($|\\.)`,"")}}match(e){if(!this.scopesRegExp)return;const t=e.match(this.scopesRegExp);if(t)return this.values.get(t[1])}},L8=class{constructor(e,t){this.stack=e,this.stoppedEarly=t}};function QS(e,t,n,r,a,s,l,u){const d=t.content.length;let f=!1,p=-1;if(l){const y=qQ(e,t,n,r,a,s);a=y.stack,r=y.linePos,n=y.isFirstLine,p=y.anchorPosition}const m=Date.now();for(;!f;){if(u!==0&&Date.now()-m>u)return new L8(a,!0);b()}return new L8(a,!1);function b(){const y=$Q(e,t,n,r,a,p);if(!y){s.produce(a,d),f=!0;return}const E=y.captureIndices,T=y.matchedRuleId,N=E&&E.length>0?E[0].end>r:!1;if(T===zQ){const k=a.getRule(e);s.produce(a,E[0].start),a=a.withContentNameScopesList(a.nameScopesList),gc(e,t,n,a,s,k.endCaptures,E),s.produce(a,E[0].end);const O=a;if(a=a.parent,p=O.getAnchorPos(),!N&&O.getEnterPos()===r){a=O,s.produce(a,d),f=!0;return}}else{const k=e.getRule(T);s.produce(a,E[0].start);const O=a,I=k.getName(t.content,E),K=a.contentNameScopesList.pushAttributed(I,e);if(a=a.push(T,r,p,E[0].end===d,null,K,K),k instanceof T2){const V=k;gc(e,t,n,a,s,V.beginCaptures,E),s.produce(a,E[0].end),p=E[0].end;const B=V.getContentName(t.content,E),z=K.pushAttributed(B,e);if(a=a.withContentNameScopesList(z),V.endHasBackReferences&&(a=a.withEndRule(V.getEndWithResolvedBackReferences(t.content,E))),!N&&O.hasSameRuleAs(a)){a=a.pop(),s.produce(a,d),f=!0;return}}else if(k instanceof $f){const V=k;gc(e,t,n,a,s,V.beginCaptures,E),s.produce(a,E[0].end),p=E[0].end;const B=V.getContentName(t.content,E),z=K.pushAttributed(B,e);if(a=a.withContentNameScopesList(z),V.whileHasBackReferences&&(a=a.withEndRule(V.getWhileWithResolvedBackReferences(t.content,E))),!N&&O.hasSameRuleAs(a)){a=a.pop(),s.produce(a,d),f=!0;return}}else if(gc(e,t,n,a,s,k.captures,E),s.produce(a,E[0].end),a=a.pop(),!N){a=a.safePop(),s.produce(a,d),f=!0;return}}E[0].end>r&&(r=E[0].end,n=!1)}}function qQ(e,t,n,r,a,s){let l=a.beginRuleCapturedEOL?0:-1;const u=[];for(let d=a;d;d=d.pop()){const f=d.getRule(e);f instanceof $f&&u.push({rule:f,stack:d})}for(let d=u.pop();d;d=u.pop()){const{ruleScanner:f,findOptions:p}=YQ(d.rule,e,d.stack.endRule,n,r===l),m=f.findNextMatchSync(t,r,p);if(m){if(m.ruleId!==VS){a=d.stack.pop();break}m.captureIndices&&m.captureIndices.length&&(s.produce(d.stack,m.captureIndices[0].start),gc(e,t,n,d.stack,s,d.rule.whileCaptures,m.captureIndices),s.produce(d.stack,m.captureIndices[0].end),l=m.captureIndices[0].end,m.captureIndices[0].end>r&&(r=m.captureIndices[0].end,n=!1))}else{a=d.stack.pop();break}}return{stack:a,linePos:r,anchorPosition:l,isFirstLine:n}}function $Q(e,t,n,r,a,s){const l=VQ(e,t,n,r,a,s),u=e.getInjections();if(u.length===0)return l;const d=GQ(u,e,t,n,r,a,s);if(!d)return l;if(!l)return d;const f=l.captureIndices[0].start,p=d.captureIndices[0].start;return p<f||d.priorityMatch&&p===f?d:l}function VQ(e,t,n,r,a,s){const l=a.getRule(e),{ruleScanner:u,findOptions:d}=XS(l,e,a.endRule,n,r===s),f=u.findNextMatchSync(t,r,d);return f?{captureIndices:f.captureIndices,matchedRuleId:f.ruleId}:null}function GQ(e,t,n,r,a,s,l){let u=Number.MAX_VALUE,d=null,f,p=0;const m=s.contentNameScopesList.getScopeNames();for(let b=0,y=e.length;b<y;b++){const E=e[b];if(!E.matcher(m))continue;const T=t.getRule(E.ruleId),{ruleScanner:N,findOptions:k}=XS(T,t,null,r,a===l),O=N.findNextMatchSync(n,a,k);if(!O)continue;const I=O.captureIndices[0].start;if(!(I>=u)&&(u=I,d=O.captureIndices,f=O.ruleId,p=E.priority,u===a))break}return d?{priorityMatch:p===-1,captureIndices:d,matchedRuleId:f}:null}function XS(e,t,n,r,a){return{ruleScanner:e.compileAG(t,n,r,a),findOptions:0}}function YQ(e,t,n,r,a){return{ruleScanner:e.compileWhileAG(t,n,r,a),findOptions:0}}function gc(e,t,n,r,a,s,l){if(s.length===0)return;const u=t.content,d=Math.min(s.length,l.length),f=[],p=l[0].end;for(let m=0;m<d;m++){const b=s[m];if(b===null)continue;const y=l[m];if(y.length===0)continue;if(y.start>p)break;for(;f.length>0&&f[f.length-1].endPos<=y.start;)a.produceFromScopes(f[f.length-1].scopes,f[f.length-1].endPos),f.pop();if(f.length>0?a.produceFromScopes(f[f.length-1].scopes,y.start):a.produce(r,y.start),b.retokenizeCapturedWithRuleId){const T=b.getName(u,l),N=r.contentNameScopesList.pushAttributed(T,e),k=b.getContentName(u,l),O=N.pushAttributed(k,e),I=r.push(b.retokenizeCapturedWithRuleId,y.start,-1,!1,null,N,O),K=e.createOnigString(u.substring(0,y.end));QS(e,K,n&&y.start===0,y.start,I,a,!1,0),qS(K);continue}const E=b.getName(u,l);if(E!==null){const N=(f.length>0?f[f.length-1].scopes:r.contentNameScopesList).pushAttributed(E,e);f.push(new QQ(N,y.end))}}for(;f.length>0;)a.produceFromScopes(f[f.length-1].scopes,f[f.length-1].endPos),f.pop()}var QQ=class{scopes;endPos;constructor(e,t){this.scopes=e,this.endPos=t}};function XQ(e,t,n,r,a,s,l,u){return new KQ(e,t,n,r,a,s,l,u)}function I8(e,t,n,r,a){const s=jf(t,Vf),l=GS.getCompiledRuleId(n,r,a.repository);for(const u of s)e.push({debugSelector:t,matcher:u.matcher,ruleId:l,grammar:a,priority:u.priority})}function Vf(e,t){if(t.length<e.length)return!1;let n=0;return e.every(r=>{for(let a=n;a<t.length;a++)if(WQ(t[a],r))return n=a+1,!0;return!1})}function WQ(e,t){if(!e)return!1;if(e===t)return!0;const n=t.length;return e.length>n&&e.substr(0,n)===t&&e[n]==="."}var KQ=class{constructor(e,t,n,r,a,s,l,u){if(this._rootScopeName=e,this.balancedBracketSelectors=s,this._onigLib=u,this._basicScopeAttributesProvider=new FQ(n,r),this._rootId=-1,this._lastRuleId=0,this._ruleId2desc=[null],this._includedGrammars={},this._grammarRepository=l,this._grammar=M8(t,null),this._injections=null,this._tokenTypeMatchers=[],a)for(const d of Object.keys(a)){const f=jf(d,Vf);for(const p of f)this._tokenTypeMatchers.push({matcher:p.matcher,type:a[d]})}}_rootId;_lastRuleId;_ruleId2desc;_includedGrammars;_grammarRepository;_grammar;_injections;_basicScopeAttributesProvider;_tokenTypeMatchers;get themeProvider(){return this._grammarRepository}dispose(){for(const e of this._ruleId2desc)e&&e.dispose()}createOnigScanner(e){return this._onigLib.createOnigScanner(e)}createOnigString(e){return this._onigLib.createOnigString(e)}getMetadataForScope(e){return this._basicScopeAttributesProvider.getBasicScopeAttributes(e)}_collectInjections(){const e={lookup:a=>a===this._rootScopeName?this._grammar:this.getExternalGrammar(a),injections:a=>this._grammarRepository.injections(a)},t=[],n=this._rootScopeName,r=e.lookup(n);if(r){const a=r.injections;if(a)for(let l in a)I8(t,l,a[l],this,r);const s=this._grammarRepository.injections(n);s&&s.forEach(l=>{const u=this.getExternalGrammar(l);if(u){const d=u.injectionSelector;d&&I8(t,d,u,this,u)}})}return t.sort((a,s)=>a.priority-s.priority),t}getInjections(){return this._injections===null&&(this._injections=this._collectInjections()),this._injections}registerRule(e){const t=++this._lastRuleId,n=e(t);return this._ruleId2desc[t]=n,n}getRule(e){return this._ruleId2desc[e]}getExternalGrammar(e,t){if(this._includedGrammars[e])return this._includedGrammars[e];if(this._grammarRepository){const n=this._grammarRepository.lookup(e);if(n)return this._includedGrammars[e]=M8(n,t&&t.$base),this._includedGrammars[e]}}tokenizeLine(e,t,n=0){const r=this._tokenize(e,t,!1,n);return{tokens:r.lineTokens.getResult(r.ruleStack,r.lineLength),ruleStack:r.ruleStack,stoppedEarly:r.stoppedEarly}}tokenizeLine2(e,t,n=0){const r=this._tokenize(e,t,!0,n);return{tokens:r.lineTokens.getBinaryResult(r.ruleStack,r.lineLength),ruleStack:r.ruleStack,stoppedEarly:r.stoppedEarly}}_tokenize(e,t,n,r){this._rootId===-1&&(this._rootId=GS.getCompiledRuleId(this._grammar.repository.$self,this,this._grammar.repository),this.getInjections());let a;if(!t||t===w2.NULL){a=!0;const f=this._basicScopeAttributesProvider.getDefaultAttributes(),p=this.themeProvider.getDefaults(),m=Ql.set(0,f.languageId,f.tokenType,null,p.fontStyle,p.foregroundId,p.backgroundId),b=this.getRule(this._rootId).getName(null,null);let y;b?y=Oc.createRootAndLookUpScopeName(b,m,this):y=Oc.createRoot("unknown",m),t=new w2(null,this._rootId,-1,-1,!1,null,y,y)}else a=!1,t.reset();e=e+`
465`;const s=this.createOnigString(e),l=s.content.length,u=new JQ(n,e,this._tokenTypeMatchers,this.balancedBracketSelectors),d=QS(this,s,a,0,t,u,!0,r);return qS(s),{lineLength:l,lineTokens:u,ruleStack:d.stack,stoppedEarly:d.stoppedEarly}}};function M8(e,t){return e=gQ(e),e.repository=e.repository||{},e.repository.$self={$vscodeTextmateLocation:e.$vscodeTextmateLocation,patterns:e.patterns,name:e.scopeName},e.repository.$base=t||e.repository.$self,e}var Oc=class Ia{constructor(t,n,r){this.parent=t,this.scopePath=n,this.tokenAttributes=r}static fromExtension(t,n){let r=t,a=t?.scopePath??null;for(const s of n)a=sg.push(a,s.scopeNames),r=new Ia(r,a,s.encodedTokenAttributes);return r}static createRoot(t,n){return new Ia(null,new sg(null,t),n)}static createRootAndLookUpScopeName(t,n,r){const a=r.getMetadataForScope(t),s=new sg(null,t),l=r.themeProvider.themeMatch(s),u=Ia.mergeAttributes(n,a,l);return new Ia(null,s,u)}get scopeName(){return this.scopePath.scopeName}toString(){return this.getScopeNames().join(" ")}equals(t){return Ia.equals(this,t)}static equals(t,n){do{if(t===n||!t&&!n)return!0;if(!t||!n||t.scopeName!==n.scopeName||t.tokenAttributes!==n.tokenAttributes)return!1;t=t.parent,n=n.parent}while(!0)}static mergeAttributes(t,n,r){let a=-1,s=0,l=0;return r!==null&&(a=r.fontStyle,s=r.foregroundId,l=r.backgroundId),Ql.set(t,n.languageId,n.tokenType,null,a,s,l)}pushAttributed(t,n){if(t===null)return this;if(t.indexOf(" ")===-1)return Ia._pushAttributed(this,t,n);const r=t.split(/ /g);let a=this;for(const s of r)a=Ia._pushAttributed(a,s,n);return a}static _pushAttributed(t,n,r){const a=r.getMetadataForScope(n),s=t.scopePath.push(n),l=r.themeProvider.themeMatch(s),u=Ia.mergeAttributes(t.tokenAttributes,a,l);return new Ia(t,s,u)}getScopeNames(){return this.scopePath.getSegments()}getExtensionIfDefined(t){const n=[];let r=this;for(;r&&r!==t;)n.push({encodedTokenAttributes:r.tokenAttributes,scopeNames:r.scopePath.getExtensionIfDefined(r.parent?.scopePath??null)}),r=r.parent;return r===t?n.reverse():void 0}},w2=class so{constructor(t,n,r,a,s,l,u,d){this.parent=t,this.ruleId=n,this.beginRuleCapturedEOL=s,this.endRule=l,this.nameScopesList=u,this.contentNameScopesList=d,this.depth=this.parent?this.parent.depth+1:1,this._enterPos=r,this._anchorPos=a}_stackElementBrand=void 0;static NULL=new so(null,0,0,0,!1,null,null,null);_enterPos;_anchorPos;depth;equals(t){return t===null?!1:so._equals(this,t)}static _equals(t,n){return t===n?!0:this._structuralEquals(t,n)?Oc.equals(t.contentNameScopesList,n.contentNameScopesList):!1}static _structuralEquals(t,n){do{if(t===n||!t&&!n)return!0;if(!t||!n||t.depth!==n.depth||t.ruleId!==n.ruleId||t.endRule!==n.endRule)return!1;t=t.parent,n=n.parent}while(!0)}clone(){return this}static _reset(t){for(;t;)t._enterPos=-1,t._anchorPos=-1,t=t.parent}reset(){so._reset(this)}pop(){return this.parent}safePop(){return this.parent?this.parent:this}push(t,n,r,a,s,l,u){return new so(this,t,n,r,a,s,l,u)}getEnterPos(){return this._enterPos}getAnchorPos(){return this._anchorPos}getRule(t){return t.getRule(this.ruleId)}toString(){const t=[];return this._writeString(t,0),"["+t.join(",")+"]"}_writeString(t,n){return this.parent&&(n=this.parent._writeString(t,n)),t[n++]=`(${this.ruleId}, ${this.nameScopesList?.toString()}, ${this.contentNameScopesList?.toString()})`,n}withContentNameScopesList(t){return this.contentNameScopesList===t?this:this.parent.push(this.ruleId,this._enterPos,this._anchorPos,this.beginRuleCapturedEOL,this.endRule,this.nameScopesList,t)}withEndRule(t){return this.endRule===t?this:new so(this.parent,this.ruleId,this._enterPos,this._anchorPos,this.beginRuleCapturedEOL,t,this.nameScopesList,this.contentNameScopesList)}hasSameRuleAs(t){let n=this;for(;n&&n._enterPos===t._enterPos;){if(n.ruleId===t.ruleId)return!0;n=n.parent}return!1}toStateStackFrame(){return{ruleId:this.ruleId,beginRuleCapturedEOL:this.beginRuleCapturedEOL,endRule:this.endRule,nameScopesList:this.nameScopesList?.getExtensionIfDefined(this.parent?.nameScopesList??null)??[],contentNameScopesList:this.contentNameScopesList?.getExtensionIfDefined(this.nameScopesList)??[]}}static pushFrame(t,n){const r=Oc.fromExtension(t?.nameScopesList??null,n.nameScopesList);return new so(t,n.ruleId,n.enterPos??-1,n.anchorPos??-1,n.beginRuleCapturedEOL,n.endRule,r,Oc.fromExtension(r,n.contentNameScopesList))}},ZQ=class{balancedBracketScopes;unbalancedBracketScopes;allowAny=!1;constructor(e,t){this.balancedBracketScopes=e.flatMap(n=>n==="*"?(this.allowAny=!0,[]):jf(n,Vf).map(r=>r.matcher)),this.unbalancedBracketScopes=t.flatMap(n=>jf(n,Vf).map(r=>r.matcher))}get matchesAlways(){return this.allowAny&&this.unbalancedBracketScopes.length===0}get matchesNever(){return this.balancedBracketScopes.length===0&&!this.allowAny}match(e){for(const t of this.unbalancedBracketScopes)if(t(e))return!1;for(const t of this.balancedBracketScopes)if(t(e))return!0;return this.allowAny}},JQ=class{constructor(e,t,n,r){this.balancedBracketSelectors=r,this._emitBinaryTokens=e,this._tokenTypeOverrides=n,this._lineText=null,this._tokens=[],this._binaryTokens=[],this._lastTokenEndIndex=0}_emitBinaryTokens;_lineText;_tokens;_binaryTokens;_lastTokenEndIndex;_tokenTypeOverrides;produce(e,t){this.produceFromScopes(e.contentNameScopesList,t)}produceFromScopes(e,t){if(this._lastTokenEndIndex>=t)return;if(this._emitBinaryTokens){let r=e?.tokenAttributes??0,a=!1;if(this.balancedBracketSelectors?.matchesAlways&&(a=!0),this._tokenTypeOverrides.length>0||this.balancedBracketSelectors&&!this.balancedBracketSelectors.matchesAlways&&!this.balancedBracketSelectors.matchesNever){const s=e?.getScopeNames()??[];for(const l of this._tokenTypeOverrides)l.matcher(s)&&(r=Ql.set(r,0,l.type,null,-1,0,0));this.balancedBracketSelectors&&(a=this.balancedBracketSelectors.match(s))}if(a&&(r=Ql.set(r,0,8,a,-1,0,0)),this._binaryTokens.length>0&&this._binaryTokens[this._binaryTokens.length-1]===r){this._lastTokenEndIndex=t;return}this._binaryTokens.push(this._lastTokenEndIndex),this._binaryTokens.push(r),this._lastTokenEndIndex=t;return}const n=e?.getScopeNames()??[];this._tokens.push({startIndex:this._lastTokenEndIndex,endIndex:t,scopes:n}),this._lastTokenEndIndex=t}getResult(e,t){return this._tokens.length>0&&this._tokens[this._tokens.length-1].startIndex===t-1&&this._tokens.pop(),this._tokens.length===0&&(this._lastTokenEndIndex=-1,this.produce(e,t),this._tokens[this._tokens.length-1].startIndex=0),this._tokens}getBinaryResult(e,t){this._binaryTokens.length>0&&this._binaryTokens[this._binaryTokens.length-2]===t-1&&(this._binaryTokens.pop(),this._binaryTokens.pop()),this._binaryTokens.length===0&&(this._lastTokenEndIndex=-1,this.produce(e,t),this._binaryTokens[this._binaryTokens.length-2]=0);const n=new Uint32Array(this._binaryTokens.length);for(let r=0,a=this._binaryTokens.length;r<a;r++)n[r]=this._binaryTokens[r];return n}},eX=class{constructor(e,t){this._onigLib=t,this._theme=e}_grammars=new Map;_rawGrammars=new Map;_injectionGrammars=new Map;_theme;dispose(){for(const e of this._grammars.values())e.dispose()}setTheme(e){this._theme=e}getColorMap(){return this._theme.getColorMap()}addGrammar(e,t){this._rawGrammars.set(e.scopeName,e),t&&this._injectionGrammars.set(e.scopeName,t)}lookup(e){return this._rawGrammars.get(e)}injections(e){return this._injectionGrammars.get(e)}getDefaults(){return this._theme.getDefaults()}themeMatch(e){return this._theme.match(e)}grammarForScopeName(e,t,n,r,a){if(!this._grammars.has(e)){let s=this._rawGrammars.get(e);if(!s)return null;this._grammars.set(e,XQ(e,s,t,n,r,a,this,this._onigLib))}return this._grammars.get(e)}},tX=class{_options;_syncRegistry;_ensureGrammarCache;constructor(t){this._options=t,this._syncRegistry=new eX(Ff.createFromRawTheme(t.theme,t.colorMap),t.onigLib),this._ensureGrammarCache=new Map}dispose(){this._syncRegistry.dispose()}setTheme(t,n){this._syncRegistry.setTheme(Ff.createFromRawTheme(t,n))}getColorMap(){return this._syncRegistry.getColorMap()}loadGrammarWithEmbeddedLanguages(t,n,r){return this.loadGrammarWithConfiguration(t,n,{embeddedLanguages:r})}loadGrammarWithConfiguration(t,n,r){return this._loadGrammar(t,n,r.embeddedLanguages,r.tokenTypes,new ZQ(r.balancedBracketSelectors||[],r.unbalancedBracketSelectors||[]))}loadGrammar(t){return this._loadGrammar(t,0,null,null,null)}_loadGrammar(t,n,r,a,s){const l=new OQ(this._syncRegistry,t);for(;l.Q.length>0;)l.Q.map(u=>this._loadSingleGrammar(u.scopeName)),l.processQueue();return this._grammarForScopeName(t,n,r,a,s)}_loadSingleGrammar(t){this._ensureGrammarCache.has(t)||(this._doLoadSingleGrammar(t),this._ensureGrammarCache.set(t,!0))}_doLoadSingleGrammar(t){const n=this._options.loadGrammar(t);if(n){const r=typeof this._options.getInjections=="function"?this._options.getInjections(t):void 0;this._syncRegistry.addGrammar(n,r)}}addGrammar(t,n=[],r=0,a=null){return this._syncRegistry.addGrammar(t,n),this._grammarForScopeName(t.scopeName,r,a)}_grammarForScopeName(t,n=0,r=null,a=null,s=null){return this._syncRegistry.grammarForScopeName(t,n,r,a,s)}},A2=w2.NULL;const nX=/["&'<>`]/g,rX=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,aX=/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,iX=/[|\\{}()[\]^$+*?.]/g,P8=new WeakMap;function sX(e,t){if(e=e.replace(t.subset?oX(t.subset):nX,r),t.subset||t.escapeOnly)return e;return e.replace(rX,n).replace(aX,r);function n(a,s,l){return t.format((a.charCodeAt(0)-55296)*1024+a.charCodeAt(1)-56320+65536,l.charCodeAt(s+2),t)}function r(a,s,l){return t.format(a.charCodeAt(0),l.charCodeAt(s+1),t)}}function oX(e){let t=P8.get(e);return t||(t=lX(e),P8.set(e,t)),t}function lX(e){const t=[];let n=-1;for(;++n<e.length;)t.push(e[n].replace(iX,"\\$&"));return new RegExp("(?:"+t.join("|")+")","g")}const uX=/[\dA-Fa-f]/;function cX(e,t,n){const r="&#x"+e.toString(16).toUpperCase();return n&&t&&!uX.test(String.fromCharCode(t))?r:r+";"}const dX=/\d/;
465function fX(e,t,n){const r="&#"+String(e);return n&&t&&!dX.test(String.fromCharCode(t))?r:r+";"}const hX=["AElig","AMP","Aacute","Acirc","Agrave","Aring","Atilde","Auml","COPY","Ccedil","ETH","Eacute","Ecirc","Egrave","Euml","GT","Iacute","Icirc","Igrave","Iuml","LT","Ntilde","Oacute","Ocirc","Ograve","Oslash","Otilde","Ouml","QUOT","REG","THORN","Uacute","Ucirc","Ugrave","Uuml","Yacute","aacute","acirc","acute","aelig","agrave","amp","aring","atilde","auml","brvbar","ccedil","cedil","cent","copy","curren","deg","divide","eacute","ecirc","egrave","eth","euml","frac12","frac14","frac34","gt","iacute","icirc","iexcl","igrave","iquest","iuml","laquo","lt","macr","micro","middot","nbsp","not","ntilde","oacute","ocirc","ograve","ordf","ordm","oslash","otilde","ouml","para","plusmn","pound","quot","raquo","reg","sect","shy","sup1","sup2","sup3","szlig","thorn","times","uacute","ucirc","ugrave","uml","uuml","yacute","yen","yuml"],lg={nbsp:" ",iexcl:"¡",cent:"¢",pound:"£",curren:"¤",yen:"¥",brvbar:"¦",sect:"§",uml:"¨",copy:"©",ordf:"ª",laquo:"«",not:"¬",shy:"­",reg:"®",macr:"¯",deg:"°",plusmn:"±",sup2:"²",sup3:"³",acute:"´",micro:"µ",para:"¶",middot:"·",cedil:"¸",sup1:"¹",ordm:"º",raquo:"»",frac14:"¼",frac12:"½",frac34:"¾",iquest:"¿",Agrave:"À",Aacute:"Á",Acirc:"Â",Atilde:"Ã",Auml:"Ä",Aring:"Å",AElig:"Æ",Ccedil:"Ç",Egrave:"È",Eacute:"É",Ecirc:"Ê",Euml:"Ë",Igrave:"Ì",Iacute:"Í",Icirc:"Î",Iuml:"Ï",ETH:"Ð",Ntilde:"Ñ",Ograve:"Ò",Oacute:"Ó",Ocirc:"Ô",Otilde:"Õ",Ouml:"Ö",times:"×",Oslash:"Ø",Ugrave:"Ù",Uacute:"Ú",Ucirc:"Û",Uuml:"Ü",Yacute:"Ý",THORN:"Þ",szlig:"ß",agrave:"à",aacute:"á",acirc:"â",atilde:"ã",auml:"ä",aring:"å",aelig:"æ",ccedil:"ç",egrave:"è",eacute:"é",ecirc:"ê",euml:"ë",igrave:"ì",iacute:"í",icirc:"î",iuml:"ï",eth:"ð",ntilde:"ñ",ograve:"ò",oacute:"ó",ocirc:"ô",otilde:"õ",ouml:"ö",divide:"÷",oslash:"ø",ugrave:"ù",uacute:"ú",ucirc:"û",uuml:"ü",yacute:"ý",thorn:"þ",yuml:"ÿ",fnof:"ƒ",Alpha:"Α",Beta:"Β",Gamma:"Γ",Delta:"Δ",Epsilon:"Ε",Zeta:"Ζ",Eta:"Η",Theta:"Θ",Iota:"Ι",Kappa:"Κ",Lambda:"Λ",Mu:"Μ",Nu:"Ν",Xi:"Ξ",Omicron:"Ο",Pi:"Π",Rho:"Ρ",Sigma:"Σ",Tau:"Τ",Upsilon:"Υ",Phi:"Φ",Chi:"Χ",Psi:"Ψ",Omega:"Ω",alpha:"α",beta:"β",gamma:"γ",delta:"δ",epsilon:"ε",zeta:"ζ",eta:"η",theta:"θ",iota:"ι",kappa:"κ",lambda:"λ",mu:"μ",nu:"ν",xi:"ξ",omicron:"ο",pi:"π",rho:"ρ",sigmaf:"ς",sigma:"σ",tau:"τ",upsilon:"υ",phi:"φ",chi:"χ",psi:"ψ",omega:"ω",thetasym:"ϑ",upsih:"ϒ",piv:"ϖ",bull:"•",hellip:"…",prime:"′",Prime:"″",oline:"‾",frasl:"⁄",weierp:"℘",image:"ℑ",real:"ℜ",trade:"™",alefsym:"ℵ",larr:"←",uarr:"↑",rarr:"→",darr:"↓",harr:"↔",crarr:"↵",lArr:"⇐",uArr:"⇑",rArr:"⇒",dArr:"⇓",hArr:"⇔",forall:"∀",part:"∂",exist:"∃",empty:"∅",nabla:"∇",isin:"∈",notin:"∉",ni:"∋",prod:"∏",sum:"∑",minus:"−",lowast:"∗",radic:"√",prop:"∝",infin:"∞",ang:"∠",and:"∧",or:"∨",cap:"∩",cup:"∪",int:"∫",there4:"∴",sim:"∼",cong:"≅",asymp:"≈",ne:"≠",equiv:"≡",le:"≤",ge:"≥",sub:"⊂",sup:"⊃",nsub
vendor: 58,251 bytes, lines 465-474
465:"⊄",sube:"⊆",supe:"⊇",oplus:"⊕",otimes:"⊗",perp:"⊥",sdot:"⋅",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",lang:"〈",rang:"〉",loz:"◊",spades:"♠",clubs:"♣",hearts:"♥",diams:"♦",quot:'"',amp:"&",lt:"<",gt:">",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",Yuml:"Ÿ",circ:"ˆ",tilde:"˜",ensp:" ",emsp:" ",thinsp:" ",zwnj:"‌",zwj:"‍",lrm:"‎",rlm:"‏",ndash:"–",mdash:"—",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",permil:"‰",lsaquo:"‹",rsaquo:"›",euro:"€"},mX=["cent","copy","divide","gt","lt","not","para","times"],WS={}.hasOwnProperty,k2={};let nf;for(nf in lg)WS.call(lg,nf)&&(k2[lg[nf]]=nf);const pX=/[^\dA-Za-z]/;function gX(e,t,n,r){const a=String.fromCharCode(e);if(WS.call(k2,a)){const s=k2[a],l="&"+s;return n&&hX.includes(s)&&!mX.includes(s)&&(!r||t&&t!==61&&pX.test(String.fromCharCode(t)))?l:l+";"}return""}function bX(e,t,n){let r=cX(e,t,n.omitOptionalSemicolons),a;if((n.useNamedReferences||n.useShortestReferences)&&(a=gX(e,t,n.omitOptionalSemicolons,n.attribute)),(n.useShortestReferences||!a)&&n.useShortestReferences){const s=fX(e,t,n.omitOptionalSemicolons);s.length<r.length&&(r=s)}return a&&(!n.useShortestReferences||a.length<r.length)?a:r}function Ul(e,t){return sX(e,Object.assign({format:bX},t))}const yX=/^>|^->|<!--|-->|--!>|<!-$/g,vX=[">"],xX=["<",">"];function EX(e,t,n,r){return r.settings.bogusComments?"<?"+Ul(e.value,Object.assign({},r.settings.characterReferences,{subset:vX}))+">":"<!--"+e.value.replace(yX,a)+"-->";function a(s){return Ul(s,Object.assign({},r.settings.characterReferences,{subset:xX}))}}function _X(e,t,n,r){return"<!"+(r.settings.upperDoctype?"DOCTYPE":"doctype")+(r.settings.tightDoctype?"":" ")+"html>"}const Tn=ZS(1),KS=ZS(-1),TX=[];function ZS(e){return t;function t(n,r,a){const s=n?n.children:TX;let l=(r||0)+e,u=s[l];if(!a)for(;u&&Eh(u);)l+=e,u=s[l];return u}}const SX={}.hasOwnProperty;function JS(e){return t;function t(n,r,a){return SX.call(e,n.tagName)&&e[n.tagName](n,r,a)}}const n4=JS({body:AX,caption:ug,colgroup:ug,dd:OX,dt:NX,head:ug,html:wX,li:CX,optgroup:RX,option:DX,p:kX,rp:B8,rt:B8,tbody:IX,td:z8,tfoot:MX,th:z8,thead:LX,tr:PX});function ug(e,t,n){const r=Tn(n,t,!0);return!r||r.type!=="comment"&&!(r.type==="text"&&Eh(r.value.charAt(0)))}function wX(e,t,n){const r=Tn(n,t);return!r||r.type!=="comment"}function AX(e,t,n){const r=Tn(n,t);return!r||r.type!=="comment"}function kX(e,t,n){const r=Tn(n,t);return r?r.type==="element"&&(r.tagName==="address"||r.tagName==="article"||r.tagName==="aside"||r.tagName==="blockquote"||r.tagName==="details"||r.tagName==="div"||r.tagName==="dl"||r.tagName==="fieldset"||r.tagName==="figcaption"||r.tagName==="figure"||r.tagName==="footer"||r.tagName==="form"||r.tagName==="h1"||r.tagName==="h2"||r.tagName==="h3"||r.tagName==="h4"||r.tagName==="h5"||r.tagName==="h6"||r.tagName==="header"||r.tagName==="hgroup"||r.tagName==="hr"||r.tagName==="main"||r.tagName==="menu"||r.tagName==="nav"||r.tagName==="ol"||r.tagName==="p"||r.tagName==="pre"||r.tagName==="section"||r.tagName==="table"||r.tagName==="ul"):!n||!(n.type==="element"&&(n.tagName==="a"||n.tagName==="audio"||n.tagName==="del"||n.tagName==="ins"||n.tagName==="map"||n.tagName==="noscript"||n.tagName==="video"))}function CX(e,t,n){const r=Tn(n,t);return!r||r.type==="element"&&r.tagName==="li"}function NX(e,t,n){const r=Tn(n,t);return!!(r&&r.type==="element"&&(r.tagName==="dt"||r.tagName==="dd"))}function OX(e,t,n){const r=Tn(n,t);return!r||r.type==="element"&&(r.tagName==="dt"||r.tagName==="dd")}function B8(e,t,n){const r=Tn(n,t);return!r||r.type==="element"&&(r.tagName==="rp"||r.tagName==="rt")}function RX(e,t,n){const r=Tn(n,t);return!r||r.type==="element"&&r.tagName==="optgroup"}function DX(e,t,n){const r=Tn(n,t);return!r||r.type==="element"&&(r.tagName==="option"||r.tagName==="optgroup")}function LX(e,t,n){const r=Tn(n,t);return!!(r&&r.type==="element"&&(r.tagName==="tbody"||r.tagName==="tfoot"))}function IX(e,t,n){const r=Tn(n,t);return!r||r.type==="element"&&(r.tagName==="tbody"||r.tagName==="tfoot")}function MX(e,t,n){return!Tn(n,t)}function PX(e,t,n){const r=Tn(n,t);return!r||r.type==="element"&&r.tagName==="tr"}function z8(e,t,n){const r=Tn(n,t);return!r||r.type==="element"&&(r.tagName==="td"||r.tagName==="th")}const BX=JS({body:HX,colgroup:FX,head:UX,html:zX,tbody:jX});function zX(e){const t=Tn(e,-1);return!t||t.type!=="comment"}function UX(e){const t=new Set;for(const r of e.children)if(r.type==="element"&&(r.tagName==="base"||r.tagName==="title")){if(t.has(r.tagName))return!1;t.add(r.tagName)}const n=e.children[0];return!n||n.type==="element"}function HX(e){const t=Tn(e,-1,!0);return!t||t.type!=="comment"&&!(t.type==="text"&&Eh(t.value.charAt(0)))&&!(t.type==="element"&&(t.tagName==="meta"||t.tagName==="link"||t.tagName==="script"||t.tagName==="style"||t.tagName==="template"))}function FX(e,t,n){const r=KS(n,t),a=Tn(e,-1,!0);return n&&r&&r.type==="element"&&r.tagName==="colgroup"&&n4(r,n.children.indexOf(r),n)?!1:!!(a&&a.type==="element"&&a.tagName==="col")}function jX(e,t,n){const r=KS(n,t),a=Tn(e,-1);return n&&r&&r.type==="element"&&(r.tagName==="thead"||r.tagName==="tbody")&&n4(r,n.children.indexOf(r),n)?!1:!!(a&&a.type==="element"&&a.tagName==="tr")}const rf={name:[[`	
466\f\r &/=>`.split(""),`	
467\f\r "&'/=>\``.split("")],[`\0	
468\f\r "&'/<=>`.split(""),`\0	
469\f\r "&'/<=>\``.split("")]],unquoted:[[`	
470\f\r &>`.split(""),`\0	
471\f\r "&'<=>\``.split("")],[`\0	
472\f\r "&'<=>\``.split(""),`\0	
473\f\r "&'<=>\``.split("")]],single:[["&'".split(""),"\"&'`".split("")],["\0&'".split(""),"\0\"&'`".split("")]],double:[['"&'.split(""),"\"&'`".split("")],['\0"&'.split(""),"\0\"&'`".split("")]]};function qX(e,t,n,r){const a=r.schema,s=a.space==="svg"?!1:r.settings.omitOptionalTags;let l=a.space==="svg"?r.settings.closeEmptyElements:r.settings.voids.includes(e.tagName.toLowerCase());const u=[];let d;a.space==="html"&&e.tagName==="svg"&&(r.schema=Rs);const f=$X(r,e.properties),p=r.all(a.space==="html"&&e.tagName==="template"?e.content:e);return r.schema=a,p&&(l=!1),(f||!s||!BX(e,t,n))&&(u.push("<",e.tagName,f?" "+f:""),l&&(a.space==="svg"||r.settings.closeSelfClosing)&&(d=f.charAt(f.length-1),(!r.settings.tightSelfClosing||d==="/"||d&&d!=='"'&&d!=="'")&&u.push(" "),u.push("/")),u.push(">")),u.push(p),!l&&(!s||!n4(e,t,n))&&u.push("</"+e.tagName+">"),u.join("")}function $X(e,t){const n=[];let r=-1,a;if(t){for(a in t)if(t[a]!==null&&t[a]!==void 0){const s=VX(e,a,t[a]);s&&n.push(s)}}for(;++r<n.length;){const s=e.settings.tightAttributes?n[r].charAt(n[r].length-1):void 0;r!==n.length-1&&s!=='"'&&s!=="'"&&(n[r]+=" ")}return n.join("")}function VX(e,t,n){const r=_h(e.schema,t),a=e.settings.allowParseErrors&&e.schema.space==="html"?0:1,s=e.settings.allowDangerousCharacters?0:1;let l=e.quote,u;if(r.overloadedBoolean&&(n===r.attribute||n==="")?n=!0:(r.boolean||r.overloadedBoolean)&&(typeof n!="string"||n===r.attribute||n==="")&&(n=!!n),n==null||n===!1||typeof n=="number"&&Number.isNaN(n))return"";const d=Ul(r.attribute,Object.assign({},e.settings.characterReferences,{subset:rf.name[a][s]}));return n===!0||(n=Array.isArray(n)?(r.commaSeparated?sb:lb)(n,{padLeft:!e.settings.tightCommaSeparatedLists}):String(n),e.settings.collapseEmptyAttributes&&!n)?d:(e.settings.preferUnquoted&&(u=Ul(n,Object.assign({},e.settings.characterReferences,{attribute:!0,subset:rf.unquoted[a][s]}))),u!==n&&(e.settings.quoteSmart&&Uf(n,l)>Uf(n,e.alternative)&&(l=e.alternative),u=l+Ul(n,Object.assign({},e.settings.characterReferences,{subset:(l==="'"?rf.single:rf.double)[a][s],attribute:!0}))+l),d+(u&&"="+u))}const GX=["<","&"];function ew(e,t,n,r){return n&&n.type==="element"&&(n.tagName==="script"||n.tagName==="style")?e.value:Ul(e.value,Object.assign({},r.settings.characterReferences,{subset:GX}))}function YX(e,t,n,r){return r.settings.allowDangerousHtml?e.value:ew(e,t,n,r)}function QX(e,t,n,r){return r.all(e)}const XX=$b("type",{invalid:WX,unknown:KX,handlers:{comment:EX,doctype:_X,element:qX,raw:YX,root:QX,text:ew}});function WX(e){throw new Error("Expected node, not `"+e+"`")}function KX(e){const t=e;throw new Error("Cannot compile unknown node `"+t.type+"`")}const ZX={},JX={},eW=[];function tW(e,t){const n=t||ZX,r=n.quote||'"',a=r==='"'?"'":'"';if(r!=='"'&&r!=="'")throw new Error("Invalid quote `"+r+"`, expected `'` or `\"`");return{one:nW,all:rW,settings:{omitOptionalTags:n.omitOptionalTags||!1,allowParseErrors:n.allowParseErrors||!1,allowDangerousCharacters:n.allowDangerousCharacters||!1,quoteSmart:n.quoteSmart||!1,preferUnquoted:n.preferUnquoted||!1,tightAttributes:n.tightAttributes||!1,upperDoctype:n.upperDoctype||!1,tightDoctype:n.tightDoctype||!1,bogusComments:n.bogusComments||!1,tightCommaSeparatedLists:n.tightCommaSeparatedLists||!1,tightSelfClosing:n.tightSelfClosing||!1,collapseEmptyAttributes:n.collapseEmptyAttributes||!1,allowDangerousHtml:n.allowDangerousHtml||!1,voids:n.voids||O9,characterReferences:n.characterReferences||JX,closeSelfClosing:n.closeSelfClosing||!1,closeEmptyElements:n.closeEmptyElements||!1},schema:n.space==="svg"?Rs:s0,quote:r,alternative:a}.one(Array.isArray(e)?{type:"root",children:e}:e,void 0,void 0)}function nW(e,t,n){return XX(e,t,n,this)}function rW(e){const t=[],n=e&&e.children||eW;let r=-1;for(;++r<n.length;)t[r]=this.one(n[r],r,e);return t.join("")}function Gf(e,t){const n=typeof e=="string"?{}:{...e.colorReplacements},r=typeof e=="string"?e:e.name;for(const[a,s]of Object.entries(t?.colorReplacements||{}))typeof s=="string"?n[a]=s:a===r&&Object.assign(n,s);return n}function _s(e,t){return e&&(t?.[e?.toLowerCase()]||e)}function aW(e){return Array.isArray(e)?e:[e]}async function tw(e){return Promise.resolve(typeof e=="function"?e():e).then(t=>t.default||t)}function r4(e){return!e||["plaintext","txt","text","plain"].includes(e)}function nw(e){return e==="ansi"||r4(e)}function a4(e){return e==="none"}function rw(e){return a4(e)}function aw(e,t){if(!t)return e;e.properties||={},e.properties.class||=[],typeof e.properties.class=="string"&&(e.properties.class=e.properties.class.split(/\s+/g)),Array.isArray(e.properties.class)||(e.properties.class=[]);const n=Array.isArray(t)?t:t.split(/\s+/g);for(const r of n)r&&!e.properties.class.includes(r)&&e.properties.class.push(r);return e}function Uh(e,t=!1){const n=e.split(/(\r?\n)/g);let r=0;const a=[];for(let s=0;s<n.length;s+=2){const l=t?n[s]+(n[s+1]||""):n[s];a.push([l,r]),r+=n[s].length,r+=n[s+1]?.length||0}return a}function iW(e){const t=Uh(e,!0).map(([a])=>a);function n(a){if(a===e.length)return{line:t.length-1,character:t[t.length-1].length};let s=a,l=0;for(const u of t){if(s<u.length)break;s-=u.length,l++}return{line:l,character:s}}function r(a,s){let l=0;for(let u=0;u<a;u++)l+=t[u].length;return l+=s,l}return{lines:t,indexToPos:n,posToIndex:r}}const i4="light-dark()",sW=["color","background-color"];function oW(e,t){let n=0;const r=[];for(const a of t)a>n&&r.push({...e,content:e.content.slice(n,a),offset:e.offset+n}),n=a;return n<e.content.length&&r.push({...e,content:e.content.slice(n),offset:e.offset+n}),r}function lW(e,t){const n=Array.from(t instanceof Set?t:new Set(t)).sort((r,a)=>r-a);return n.length?e.map(r=>r.flatMap(a=>{const s=n.filter(l=>a.offset<l&&l<a.offset+a.content.length).map(l=>l-a.offset).sort((l,u)=>l-u);return s.length?oW(a,s):a})):e}function uW(e,t,n,r,a="css-vars"){const s={content:e.content,explanation:e.explanation,offset:e.offset},l=t.map(p=>Yf(e.variants[p])),u=new Set(l.flatMap(p=>Object.keys(p))),d={},f=(p,m)=>{const b=m==="color"?"":m==="background-color"?"-bg":`-${m}`;return n+t[p]+(m==="color"?"":b)};return l.forEach((p,m)=>{for(const b of u){const y=p[b]||"inherit";if(m===0&&r&&sW.includes(b))if(r===i4&&l.length>1){const E=t.findIndex(O=>O==="light"),T=t.findIndex(O=>O==="dark");if(E===-1||T===-1)throw new gn('When using `defaultColor: "light-dark()"`, you must provide both `light` and `dark` themes');const N=l[E][b]||"inherit",k=l[T][b]||"inherit";d[b]=`light-dark(${N}, ${k})`,a==="css-vars"&&(d[f(m,b)]=y)}else d[b]=y;else a==="css-vars"&&(d[f(m,b)]=y)}}),s.htmlStyle=d,s}function Yf(e){const t={};if(e.color&&(t.color=e.color),e.bgColor&&(t["background-color"]=e.bgColor),e.fontStyle){e.fontStyle&Yn.Italic&&(t["font-style"]="italic"),e.fontStyle&Yn.Bold&&(t["font-weight"]="bold");const n=[];e.fontStyle&Yn.Underline&&n.push("underline"),e.fontStyle&Yn.Strikethrough&&n.push("line-through"),n.length&&(t["text-decoration"]=n.join(" "))}return t}function C2(e){return typeof e=="string"?e:Object.entries(e).map(([t,n])=>`${t}:${n}`).join(";")}const iw=new WeakMap;function Hh(e,t){iw.set(e,t)}function Wc(e){return iw.get(e)}class ou{_stacks={};lang;get themes(){return Object.keys(this._stacks)}get theme(){return this.themes[0]}get _stack(){return this._stacks[this.theme]}static initial(t,n){return new ou(Object.fromEntries(aW(n).map(r=>[r,A2])),t)}constructor(...t){if(t.length===2){const[n,r]=t;this.lang=r,this._stacks=n}else{const[n,r,a]=t;this.lang=r,this._stacks={[a]:n}}}getInternalStack(t=this.theme){return this._stacks[t]}getScopes(t=this.theme){return cW(this._stacks[t])}toJSON(){return{lang:this.lang,theme:this.theme,themes:this.themes,scopes:this.getScopes()}}}function cW(e){const t=[],n=new Set;function r(a){if(n.has(a))return;n.add(a);const s=a?.nameScopesList?.scopeName;s&&t.push(s),a.parent&&r(a.parent)}return r(e),t}function dW(e,t){if(!(e instanceof ou))throw new gn("Invalid grammar state");return e.getInternalStack(t)}function fW(){const e=new WeakMap;function t(n){if(!e.has(n.meta)){let r=function(l){if(typeof l=="number"){if(l<0||l>n.source.length)throw new gn(`Invalid decoration offset: ${l}. Code length: ${n.source.length}`);return{...a.indexToPos(l),offset:l}}else{const u=a.lines[l.line];if(u===void 0)throw new gn(`Invalid decoration position ${JSON.stringify(l)}. Lines length: ${a.lines.length}`);let d=l.character;if(d<0&&(d=u.length+d),d<0||d>u.length)throw new gn(`Invalid decoration position ${JSON.stringify(l)}. Line ${l.line} length: ${u.length}`);return{...l,character:d,offset:a.posToIndex(l.line,d)}}};const a=iW(n.source),s=(n.options.decorations||[]).map(l=>({...l,start:r(l.start),end:r(l.end)}));hW(s),e.set(n.meta,{decorations:s,converter:a,source:n.source})}return e.get(n.meta)}return{name:"shiki:decorations",tokens(n){if(!this.options.decorations?.length)return;const a=t(this).decorations.flatMap(l=>[l.start.offset,l.end.offset]);return lW(n,a)},code(n){if(!this.options.decorations?.length)return;const r=t(this),a=Array.from(n.children).filter(p=>p.type==="element"&&p.tagName==="span");if(a.length!==r.converter.lines.length)throw new gn(`Number of lines in code element (${a.length}) does not match the number of lines in the source (${r.converter.lines.length}). Failed to apply decorations.`);function s(p,m,b,y){const E=a[p];let T="",N=-1,k=-1;if(m===0&&(N=0),b===0&&(k=0),b===Number.POSITIVE_INFINITY&&(k=E.children.length),N===-1||k===-1)for(let I=0;I<E.children.length;I++)T+=sw(E.children[I]),N===-1&&T.length===m&&(N=I+1),k===-1&&T.length===b&&(k=I+1);if(N===-1)throw new gn(`Failed to find start index for decoration ${JSON.stringify(y.start)}`);if(k===-1)throw new gn(`Failed to find end index for decoration ${JSON.stringify(y.end)}`);const O=E.children.slice(N,k);if(!y.alwaysWrap&&O.length===E.children.length)u(E,y,"line");else if(!y.alwaysWrap&&O.length===1&&O[0].type==="element")u(O[0],y,"token");else{const I={type:"element",tagName:"span",properties:{},children:O};u(I,y,"wrapper"),E.children.splice(N,O.length,I)}}function l(p,m){a[p]=u(a[p],m,"line")}function u(p,m,b){const y=m.properties||{},E=m.transform||(T=>T);return p.tagName=m.tagName||"span",p.properties={...p.properties,...y,class:p.properties.class},m.properties?.class&&aw(p,m.properties.class),p=E(p,b)||p,p}const d=[],f=r.decorations.sort((p,m)=>m.start.offset-p.start.offset||p.end.offset-m.end.offset);for(const p of f){const{start:m,end:b}=p;if(m.line===b.line)s(m.line,m.character,b.character,p);else if(m.line<b.line){s(m.line,m.character,Number.POSITIVE_INFINITY,p);for(let y=m.line+1;y<b.line;y++)d.unshift(()=>l(y,p));s(b.line,0,b.character,p)}}d.forEach(p=>p())}}}function hW(e){for(let t=0;t<e.length;t++){const n=e[t];if(n.start.offset>n.end.offset)throw new gn(`Invalid decoration range: ${JSON.stringify(n.start)} - ${JSON.stringify(n.end)}`);for(let r=t+1;r<e.length;r++){const a=e[r],s=n.start.offset<=a.start.offset&&a.start.offset<n.end.offset,l=n.start.offset<a.end.offset&&a.end.offset<=n.end.offset,u=a.start.offset<=n.start.offset&&n.start.offset<a.end.offset,d=a.start.offset<n.end.offset&&n.end.offset<=a.end.offset;if(s||l||u||d){if(s&&l||u&&d||u&&n.start.offset===n.end.offset||l&&a.start.offset===a.end.offset)continue;throw new gn(`Decorations ${JSON.stringify(n.start)} and ${JSON.stringify(a.start)} intersect.`)}}}}function sw(e){return e.type==="text"?e.value:e.type==="element"?e.children.map(sw).join(""):""}const mW=[fW()];function Qf(e){const t=pW(e.transformers||[]);return[...t.pre,...t.normal,...t.post,...mW]}function pW(e){const t=[],n=[],r=[];for(const a of e)switch(a.enforce){case"pre":t.push(a);break;case"post":n.push(a);break;default:r.push(a)}return{pre:t,post:n,normal:r}}var co=["black","red","green","yellow","blue","magenta","cyan","white","brightBlack","brightRed","brightGreen","brightYellow","brightBlue","brightMagenta","brightCyan","brightWhite"],cg={1:"bold",2:"dim",3:"italic",4:"underline",7:"reverse",8:"hidden",9:"strikethrough"};function gW(e,t){const n=e.indexOf("\x1B",t);if(n!==-1&&e[n+1]==="["){const r=e.indexOf("m",n);if(r!==-1)return{sequence:e.substring(n+2,r).split(";"),startPosition:n,position:r+1}}return{position:e.length}}function U8(e){const t=e.shift();if(t==="2"){const n=e.splice(0,3).map(r=>Number.parseInt(r));return n.length!==3||n.some(r=>Number.isNaN(r))?void 0:{type:"rgb",rgb:n}}else if(t==="5"){const n=e.shift();if(n)return{type:"table",index:Number(n)}}}function bW(e){const t=[];for(;e.length>0;){const n=e.shift();if(!n)continue;const r=Number.parseInt(n);if(!Number.isNaN(r))if(r===0)t.push({type:"resetAll"});else if(r<=9)cg[r]&&t.push({type:"setDecoration",value:cg[r]});else if(r<=29){const a=cg[r-20];a&&(t.push({type:"resetDecoration",value:a}),a==="dim"&&t.push({type:"resetDecoration",value:"bold"}))}else if(r<=37)t.push({type:"setForegroundColor",value:{type:"named",name:co[r-30]}});else if(r===38){const a=U8(e);a&&t.push({type:"setForegroundColor",value:a})}else if(r===39)t.push({type:"resetForegroundColor"});else if(r<=47)t.push({type:"setBackgroundColor",value:{type:"named",name:co[r-40]}});else if(r===48){const a=U8(e);a&&t.push({type:"setBackgroundColor",value:a})}else r===49?t.push({type:"resetBackgroundColor"}):r===53?t.push({type:"setDecoration",value:"overline"}):r===55?t.push({type:"resetDecoration",value:"overline"}):r>=90&&r<=97?t.push({type:"setForegroundColor",value:{type:"named",name:co[r-90+8]}}):r>=100&&r<=107&&t.push({type:"setBackgroundColor",value:{type:"named",name:co[r-100+8]}})}return t}function yW(){let e=null,t=null,n=new Set;return{parse(r){const a=[];let s=0;do{const l=gW(r,s),u=l.sequence?r.substring(s,l.startPosition):r.substring(s);if(u.length>0&&a.push({value:u,foreground:e,background:t,decorations:new Set(n)}),l.sequence){const d=bW(l.sequence);for(const f of d)f.type==="resetAll"?(e=null,t=null,n.clear()):f.type==="resetForegroundColor"?e=null:f.type==="resetBackgroundColor"?t=null:f.type==="resetDecoration"&&n.delete(f.value);for(const f of d)f.type==="setForegroundColor"?e=f.value:f.type==="setBackgroundColor"?t=f.value:f.type==="setDecoration"&&n.add(f.value)}s=l.position}while(s<r.length);return a}}}var vW={black:"#000000",red:"#bb0000",green:"#00bb00",yellow:"#bbbb00",blue:"#0000bb",magenta:"#ff00ff",cyan:"#00bbbb",white:"#eeeeee",brightBlack:"#555555",brightRed:"#ff5555",brightGreen:"#00ff00",brightYellow:"#ffff55",brightBlue:"#5555ff",brightMagenta:"#ff55ff",brightCyan:"#55ffff",brightWhite:"#ffffff"};function xW(e=vW){function t(u){return e[u]}function n(u){return`#${u.map(d=>Math.max(0,Math.min(d,255)).toString(16).padStart(2,"0")).join("")}`}let r;function a(){if(r)return r;r=[];for(let f=0;f<co.length;f++)r.push(t(co[f]));let u=[0,95,135,175,215,255];for(let f=0;f<6;f++)for(let p=0;p<6;p++)for(let m=0;m<6;m++)r.push(n([u[f],u[p],u[m]]));let d=8;for(let f=0;f<24;f++,d+=10)r.push(n([d,d,d]));return r}function s(u){return a()[u]}function l(u){switch(u.type){case"named":return t(u.name);case"rgb":return n(u.rgb);case"table":return s(u.index)}}return{value:l}}function EW(e,t,n){const r=Gf(e,n),a=Uh(t),s=xW(Object.fromEntries(co.map(u=>[u,e.colors?.[`terminal.ansi${u[0].toUpperCase()}${u.substring(1)}`]]))),l=yW();return a.map(u=>l.parse(u[0]).map(d=>{let f,p;d.decorations.has("reverse")?(f=d.background?s.value(d.background):e.bg,p=d.foreground?s.value(d.foreground):e.fg):(f=d.foreground?s.value(d.foreground):e.fg,p=d.background?s.value(d.background):void 0),f=_s(f,r),p=_s(p,r),d.decorations.has("dim")&&(f=_W(f));let m=Yn.None;return d.decorations.has("bold")&&(m|=Yn.Bold),d.decorations.has("italic")&&(m|=Yn.Italic),d.decorations.has("underline")&&(m|=Yn.Underline),d.decorations.has("strikethrough")&&(m|=Yn.Strikethrough),{content:d.value,offset:u[1],color:f,bgColor:p,fontStyle:m}}))}function _W(e){const t=e.match(/#([0-9a-f]{3})([0-9a-f]{3})?([0-9a-f]{2})?/);if(t)if(t[3]){const r=Math.round(Number.parseInt(t[3],16)/2).toString(16).padStart(2,"0");return`#${t[1]}${t[2]}${r}`}else return t[2]?`#${t[1]}${t[2]}80`:`#${Array.from(t[1]).map(r=>`${r}${r}`).join("")}80`;const n=e.match(/var\((--[\w-]+-ansi-[\w-]+)\)/);return n?`var(${n[1]}-dim)`:e}function s4(e,t,n={}){const{lang:r="text",theme:a=e.getLoadedThemes()[0]}=n;if(r4(r)||a4(a))return Uh(t).map(d=>[{content:d[0],offset:d[1]}]);const{theme:s,colorMap:l}=e.setTheme(a);if(r==="ansi")return EW(s,t,n);const u=e.getLanguage(r);if(n.grammarState){if(n.grammarState.lang!==u.name)throw new gn(`Grammar state language "${n.grammarState.lang}" does not match highlight language "${u.name}"`);if(!n.grammarState.themes.includes(s.name))throw new gn(`Grammar state themes "${n.grammarState.themes}" do not contain highlight theme "${s.name}"`)}return SW(t,u,s,l,n)}function TW(...e){if(e.length===2)return Wc(e[1]);const[t,n,r={}]=e,{lang:a="text",theme:s=t.getLoadedThemes()[0]}=r;if(r4(a)||a4(s))throw new gn("Plain language does not have grammar state");if(a==="ansi")throw new gn("ANSI language does not have grammar state");const{theme:l,colorMap:u}=t.setTheme(s),d=t.getLanguage(a);return new ou(Xf(n,d,l,u,r).stateStack,d.name,l.name)}function SW(e,t,n,r,a){const s=Xf(e,t,n,r,a),l=new ou(Xf(e,t,n,r,a).stateStack,t.name,n.name);return Hh(s.tokens,l),s.tokens}function Xf(e,t,n,r,a){const s=Gf(n,a),{tokenizeMaxLineLength:l=0,tokenizeTimeLimit:u=500}=a,d=Uh(e);let f=a.grammarState?dW(a.grammarState,n.name)??A2:a.grammarContextCode!=null?Xf(a.grammarContextCode,t,n,r,{...a,grammarState:void 0,grammarContextCode:void 0}).stateStack:A2,p=[];const m=[];for(let b=0,y=d.length;b<y;b++){const[E,T]=d[b];if(E===""){p=[],m.push([]);continue}if(l>0&&E.length>=l){p=[],m.push([{content:E,offset:T,color:"",fontStyle:0}]);continue}let N,k,O;a.includeExplanation&&(N=t.tokenizeLine(E,f,u),k=N.tokens,O=0);const I=t.tokenizeLine2(E,f,u),K=I.tokens.length/2;for(let V=0;V<K;V++){const B=I.tokens[2*V],z=V+1<K?I.tokens[2*V+2]:E.length;if(B===z)continue;const W=I.tokens[2*V+1],re=_s(r[Ql.getForeground(W)],s),Y=Ql.getFontStyle(W),se={content:E.substring(B,z),offset:T+B,color:re,fontStyle:Y};if(a.includeExplanation){const ee=[];if(a.includeExplanation!=="scopeName")for(const ue of n.settings){let be;switch(typeof ue.scope){case"string":be=ue.scope.split(/,/).map($=>$.trim());break;case"object":be=ue.scope;break;default:continue}ee.push({settings:ue,selectors:be.map($=>$.split(/ /))})}se.explanation=[];let me=0;for(;B+me<z;){const ue=k[O],be=E.substring(ue.startIndex,ue.endIndex);me+=be.length,se.explanation.push({content:be,scopes:a.includeExplanation==="scopeName"?wW(ue.scopes):AW(ee,ue.scopes)}),O+=1}}p.push(se)}m.push(p),p=[],f=I.ruleStack}return{tokens:m,stateStack:f}}function wW(e){return e.map(t=>({scopeName:t}))}function AW(e,t){const n=[];for(let r=0,a=t.length;r<a;r++){const s=t[r];n[r]={scopeName:s,themeMatches:CW(e,s,t.slice(0,r))}}return n}function H8(e,t){return e===t||t.substring(0,e.length)===e&&t[e.length]==="."}function kW(e,t,n){if(!H8(e[e.length-1],t))return!1;let r=e.length-2,a=n.length-1;for(;r>=0&&a>=0;)H8(e[r],n[a])&&(r-=1),a-=1;return r===-1}function CW(e,t,n){const r=[];for(const{selectors:a,settings:s}of e)for(const l of a)if(kW(l,t,n)){r.push(s);break}return r}function ow(e,t,n){const r=Object.entries(n.themes).filter(d=>d[1]).map(d=>({color:d[0],theme:d[1]})),a=r.map(d=>{const f=s4(e,t,{...n,theme:d.theme}),p=Wc(f),m=typeof d.theme=="string"?d.theme:d.theme.name;return{tokens:f,state:p,theme:m}}),s=NW(...a.map(d=>d.tokens)),l=s[0].map((d,f)=>d.map((p,m)=>{const b={content:p.content,variants:{},offset:p.offset};return"includeExplanation"in n&&n.includeExplanation&&(b.explanation=p.explanation),s.forEach((y,E)=>{const{content:T,explanation:N,offset:k,...O}=y[f][m];b.variants[r[E].color]=O}),b})),u=a[0].state?new ou(Object.fromEntries(a.map(d=>[d.theme,d.state?.getInternalStack(d.theme)])),a[0].state.lang):void 0;return u&&Hh(l,u),l}function NW(...e){const t=e.map(()=>[]),n=e.length;for(let r=0;r<e[0].length;r++){const a=e.map(d=>d[r]),s=t.map(()=>[]);t.forEach((d,f)=>d.push(s[f]));const l=a.map(()=>0),u=a.map(d=>d[0]);for(;u.every(d=>d);){const d=Math.min(...u.map(f=>f.content.length));for(let f=0;f<n;f++){const p=u[f];p.content.length===d?(s[f].push(p),l[f]+=1,u[f]=a[f][l[f]]):(s[f].push({...p,content:p.content.slice(0,d)}),u[f]={...p,content:p.content.slice(d),offset:p.offset+d})}}}return t}function Wf(e,t,n){let r,a,s,l,u,d;if("themes"in n){const{defaultColor:f="light",cssVariablePrefix:p="--shiki-",colorsRendering:m="css-vars"}=n,b=Object.entries(n.themes).filter(k=>k[1]).map(k=>({color:k[0],theme:k[1]})).sort((k,O)=>k.color===f?-1:O.color===f?1:0);if(b.length===0)throw new gn("`themes` option must not be empty");const y=ow(e,t,n);if(d=Wc(y),f&&i4!==f&&!b.find(k=>k.color===f))throw new gn(`\`themes\` option must contain the defaultColor key \`${f}\``);const E=b.map(k=>e.getTheme(k.theme)),T=b.map(k=>k.color);s=y.map(k=>k.map(O=>uW(O,T,p,f,m))),d&&Hh(s,d);const N=b.map(k=>Gf(k.theme,n));a=F8(b,E,N,p,f,"fg",m),r=F8(b,E,N,p,f,"bg",m),l=`shiki-themes ${E.map(k=>k.name).join(" ")}`,u=f?void 0:[a,r].join(";")}else if("theme"in n){const f=Gf(n.theme,n);s=s4(e,t,n);const p=e.getTheme(n.theme);r=_s(p.bg,f),a=_s(p.fg,f),l=p.name,d=Wc(s)}else throw new gn("Invalid options, either `theme` or `themes` must be provided");return{tokens:s,fg:a,bg:r,themeName:l,rootStyle:u,grammarState:d}}function F8(e,t,n,r,a,s,l){return e.map((u,d)=>{const f=_s(t[d][s],n[d])||"inherit",p=`${r+u.color}${s==="bg"?"-bg":""}:${f}`;if(d===0&&a){if(a===i4&&e.length>1){const m=e.findIndex(T=>T.color==="light"),b=e.findIndex(T=>T.color==="dark");if(m===-1||b===-1)throw new gn('When using `defaultColor: "light-dark()"`, you must provide both `light` and `dark` themes');const y=_s(t[m][s],n[m])||"inherit",E=_s(t[b][s],n[b])||"inherit";return`light-dark(${y}, ${E});${p}`}return f}return l==="css-vars"?p:null}).filter(u=>!!u).join(";")}function Kf(e,t,n,r={meta:{},options:n,codeToHast:(a,s)=>Kf(e,a,s),codeToTokens:(a,s)=>Wf(e,a,s)}){let a=t;for(const E of Qf(n))a=E.preprocess?.call(r,a,n)||a;let{tokens:s,fg:l,bg:u,themeName:d,rootStyle:f,grammarState:p}=Wf(e,a,n);const{mergeWhitespaces:m=!0,mergeSameStyleTokens:b=!1}=n;m===!0?s=RW(s):m==="never"&&(s=DW(s)),b&&(s=LW(s));const y={...r,get source(){return a}};for(const E of Qf(n))s=E.tokens?.call(y,s)||s;return OW(s,{...n,fg:l,bg:u,themeName:d,rootStyle:f},y,p)}function OW(e,t,n,r=Wc(e)){const a=Qf(t),s=[],l={type:"root",children:[]},{structure:u="classic",tabindex:d="0"}=t;let f={type:"element",tagName:"pre",properties:{class:`shiki ${t.themeName||""}`,style:t.rootStyle||`background-color:${t.bg};color:${t.fg}`,...d!==!1&&d!=null?{tabindex:d.toString()}:{},...Object.fromEntries(Array.from(Object.entries(t.meta||{})).filter(([E])=>!E.startsWith("_")))},children:[]},p={type:"element",tagName:"code",properties:{},children:s};const m=[],b={...n,structure:u,addClassToHast:aw,get source(){return n.source},get tokens(){return e},get options(){return t},get root(){return l},get pre(){return f},get code(){return p},get lines(){return m}};if(e.forEach((E,T)=>{T&&(u==="inline"?l.children.push({type:"element",tagName:"br",properties:{},children:[]}):u==="classic"&&s.push({type:"text",value:`
474`}));let N={type:"element",tagName:"span",properties:{class:"line"},children:[]},k=0;for(const O of E){let I={type:"element",tagName:"span",properties:{...O.htmlAttrs},children:[{type:"text",value:O.content}]};const K=C2(O.htmlStyle||Yf(O));K&&(I.properties.style=K);for(const V of a)I=V?.span?.call(b,I,T+1,k,N,O)||I;u==="inline"?l.children.push(I):u==="classic"&&N.children.push(I),k+=O.content.length}if(u==="classic"){for(const O of a)N=O?.line?.call(b,N,T+1)||N;m.push(N),s.push(N)}}),u==="classic"){for(const E of a)p=E?.code?.call(b,p)||p;f.children.push(p);for(const E of a)f=E?.pre?.call(b,f)||f;l.children.push(f)}let y=l;for(const E of a)y=E?.root?.call(b,y)||y;return r&&Hh(y,r),y}function RW(e){return e.map(t=>{const n=[];let r="",a=0;return t.forEach((s,l)=>{const d=!(s.fontStyle&&(s.fontStyle&Yn.Underline||s.fontStyle&Yn.Strikethrough));d&&s.content.match(/^\s+$/)&&t[l+1]?(a||(a=s.offset),r+=s.content):r?(d?n.push({...s,offset:a,content:r+s.content}):n.push({content:r,offset:a},s),a=0,r=""):n.push(s)}),n})}function DW(e){return e.map(t=>t.flatMap(n=>{if(n.content.match(/^\s+$/))return n;const r=n.content.match(/^(\s*)(.*?)(\s*)$/);if(!r)return n;const[,a,s,l]=r;if(!a&&!l)return n;const u=[{...n,offset:n.offset+a.length,content:s}];return a&&u.unshift({content:a,offset:n.offset}),l&&u.push({content:l,offset:n.offset+a.length+s.length}),u}))}function LW(e){return e.map(t=>{const n=[];for(const r of t){if(n.length===0){n.push({...r});continue}const a=n[n.length-1],s=C2(a.htmlStyle||Yf(a)),l=C2(r.htmlStyle||Yf(r)),u=a.fontStyle&&(a.fontStyle&Yn.Underline||a.fontStyle&Yn.Strikethrough),d=r.fontStyle&&(r.fontStyle&Yn.Underline||r.fontStyle&Yn.Strikethrough);!u&&!d&&s===l?a.content+=r.content:n.push({...r})}return n})}const IW=tW;function MW(e,t,n){const r={meta:{},options:n,codeToHast:(s,l)=>Kf(e,s,l),codeToTokens:(s,l)=>Wf(e,s,l)};let a=IW(Kf(e,t,n,r));for(const s of Qf(n))a=s.postprocess?.call(r,a,n)||a;return a}const j8={light:"#333333",dark:"#bbbbbb"},q8={light:"#fffffe",dark:"#1e1e1e"},$8="__shiki_resolved";function o4(e){if(e?.[$8])return e;const t={...e};t.tokenColors&&!t.settings&&(t.settings=t.tokenColors,delete t.tokenColors),t.type||="dark",t.colorReplacements={...t.colorReplacements},t.settings||=[];let{bg:n,fg:r}=t;if(!n||!r){const u=t.settings?t.settings.find(d=>!d.name&&!d.scope):void 0;u?.settings?.foreground&&(r=u.settings.foreground),u?.settings?.background&&(n=u.settings.background),!r&&t?.colors?.["editor.foreground"]&&(r=t.colors["editor.foreground"]),!n&&t?.colors?.["editor.background"]&&(n=t.colors["editor.background"]),r||(r=t.type==="light"?j8.light:j8.dark),n||(n=t.type==="light"?q8.light:q8.dark),t.fg=r,t.bg=n}t.settings[0]&&t.settings[0].settings&&!t.settings[0].scope||t.settings.unshift({settings:{foreground:t.fg,background:t.bg}});let a=0;const s=new Map;function l(u){if(s.has(u))return s.get(u);a+=1;const d=`#${a.toString(16).padStart(8,"0").toLowerCase()}`;return t.colorReplacements?.[`#${d}`]?l(u):(s.set(u,d),d)}t.settings=t.settings.map(u=>{const d=u.settings?.foreground&&!u.settings.foreground.startsWith("#"),f=u.settings?.background&&!u.settings.background.startsWith("#");if(!d&&!f)return u;const p={...u,settings:{...u.settings}};if(d){const m=l(u.settings.foreground);t.colorReplacements[m]=u.settings.foreground,p.settings.foreground=m}if(f){const m=l(u.settings.background);t.colorReplacements[m]=u.settings.background,p.settings.background=m}return p});for(const u of Object.keys(t.colors||{}))if((u==="editor.foreground"||u==="editor.background"||u.startsWith("terminal.ansi"))&&!t.colors[u]?.startsWith("#")){const d=l(t.colors[u]);t.colorReplacements[d]=t.colors[u],t.colors[u]=d}return Object.defineProperty(t,$8,{enumerable:!1,writable:!1,value:!0}),t}async function lw(e){return Array.from(new Set((await Promise.all(e.filter(t=>!nw(t)).map(async t=>await tw(t).then(n=>Array.isArray(n)?n:[n])))).flat()))}async function uw(e){return(await Promise.all(e.map(async n=>rw(n)?null:o4(await tw(n))))).filter(n=>!!n)}let PW=3;function BW(e,t=3){t>PW||console.trace(`[SHIKI DEPRECATE]: ${e}`)}let Il=class extends Error{constructor(t){super(t),this.name="ShikiError"}};class zW extends tX{constructor(t,n,r,a={}){super(t),this._resolver=t,this._themes=n,this._langs=r,this._alias=a,this._themes.map(s=>this.loadTheme(s)),this.loadLanguages(this._langs)}_resolvedThemes=new Map;_resolvedGrammars=new Map;_langMap=new Map;_langGraph=new Map;_textmateThemeCache=new WeakMap;_loadedThemesCache=null;_loadedLanguagesCache=null;getTheme(t){return typeof t=="string"?this._resolvedThemes.get(t):this.loadTheme(t)}loadTheme(t){const n=o4(t);return n.name&&(this._resolvedThemes.set(n.name,n),this._loadedThemesCache=null),n}getLoadedThemes(){return this._loadedThemesCache||(this._loadedThemesCache=[...this._resolvedThemes.keys()]),this._loadedThemesCache}setTheme(t){let n=this._textmateThemeCache.get(t);n||(n=Ff.createFromRawTheme(t),this._textmateThemeCache.set(t,n)),this._syncRegistry.setTheme(n)}getGrammar(t){if(this._alias[t]){const n=new Set([t]);for(;this._alias[t];){if(t=this._alias[t],n.has(t))throw new Il(`Circular alias \`${Array.from(n).join(" -> ")} -> ${t}\``);n.add(t)}}return this._resolvedGrammars.get(t)}loadLanguage(t){if(this.getGrammar(t.name))return;const n=new Set([...this._langMap.values()].filter(s=>s.embeddedLangsLazy?.includes(t.name)));this._resolver.addLanguage(t);const r={balancedBracketSelectors:t.balancedBracketSelectors||["*"],unbalancedBracketSelectors:t.unbalancedBracketSelectors||[]};this._syncRegistry._rawGrammars.set(t.scopeName,t);const a=this.loadGrammarWithConfiguration(t.scopeName,1,r);if(a.name=t.name,this._resolvedGrammars.set(t.name,a),t.aliases&&t.aliases.forEach(s=>{this._alias[s]=t.name}),this._loadedLanguagesCache=null,n.size)for(const s of n)this._resolvedGrammars.delete(s.name),this._loadedLanguagesCache=null,this._syncRegistry?._injectionGrammars?.delete(s.scopeName),this._syncRegistry?._grammars?.delete(s.scopeName),this.loadLanguage(this._langMap.get(s.name))}dispose(){super.dispose(),this._resolvedThemes.clear(),this._resolvedGrammars.clear(),this._langMap.clear(),this._langGraph.clear(),this._loadedThemesCache=null}loadLanguages(t){for(const a of t)this.resolveEmbeddedLanguages(a);const n=Array.from(this._langGraph.entries()),r=n.filter(([a,s])=>!s);if(r.length){const a=n.filter(([s,l])=>l&&l.embeddedLangs?.some(u=>r.map(([d])=>d).includes(u))).filter(s=>!r.includes(s));throw new Il(`Missing languages ${r.map(([s])=>`\`${s}\``).join(", ")}, required by ${a.map(([s])=>`\`${s}\``).join(", ")}`)}for(const[a,s]of n)this._resolver.addLanguage(s);for(const[a,s]of n)this.loadLanguage(s)}getLoadedLanguages(){return this._loadedLanguagesCache||(this._loadedLanguagesCache=[...new Set([...this._resolvedGrammars.keys(),...Object.keys(this._alias)])]),this._loadedLanguagesCache}resolveEmbeddedLanguages(t){if(this._langMap.set(t.name,t),this._langGraph.set(t.name,t),t.embeddedLangs)for(const n of t.embeddedLangs)this._langGraph.set(n,this._langMap.get(n))}}class UW{_langs=new Map;_scopeToLang=new Map;_injections=new Map;_onigLib;constructor(t,n){this._onigLib={createOnigScanner:r=>t.createScanner(r),createOnigString:r=>t.createString(r)},n.forEach(r=>this.addLanguage(r))}get onigLib(){return this._onigLib}getLangRegistration(t){return this._langs.get(t)}loadGrammar(t){return this._scopeToLang.get(t)}addLanguage(t){this._langs.set(t.name,t),t.aliases&&t.aliases.forEach(n=>{this._langs.set(n,t)}),this._scopeToLang.set(t.scopeName,t),t.injectTo&&t.injectTo.forEach(n=>{this._injections.get(n)||this._injections.set(n,[]),this._injections.get(n).push(t.scopeName)})}getInjections(t){const n=t.split(".");let r=[];for(let a=1;a<=n.length;a++){const s=n.slice(0,a).join(".");r=[...r,...this._injections.get(s)||[]]}return r}}let cc=0;function HW(e){cc+=1,e.warnings!==!1&&cc>=10&&cc%10===0&&console.warn(`[Shiki] ${cc} instances have been created. Shiki is supposed to be used as a singleton, consider refactoring your code to cache your highlighter instance; Or call \`highlighter.dispose()\` to release unused instances.`);let t=!1;if(!e.engine)throw new Il("`engine` option is required for synchronous mode");const n=(e.langs||[]).flat(1),r=(e.themes||[]).flat(1).map(o4),a=new UW(e.engine,n),s=new zW(a,r,n,e.langAlias);let l;function u(O){N();const I=s.getGrammar(typeof O=="string"?O:O.name);if(!I)throw new Il(`Language \`${O}\` not found, you may need to load it first`);return I}function d(O){if(O==="none")return{bg:"",fg:"",name:"none",settings:[],type:"dark"};N();const I=s.getTheme(O);if(!I)throw new Il(`Theme \`${O}\` not found, you may need to load it first`);return I}function f(O){N();const I=d(O);l!==O&&(s.setTheme(I),l=O);const K=s.getColorMap();return{theme:I,colorMap:K}}function p(){return N(),s.getLoadedThemes()}function m(){return N(),s.getLoadedLanguages()}function b(...O){N(),s.loadLanguages(O.flat(1))}async function y(...O){return b(await lw(O))}function E(...O){N();for(const I of O.flat(1))s.loadTheme(I)}async function T(...O){return N(),E(await uw(O))}function N(){if(t)throw new Il("Shiki instance has been disposed")}function k(){t||(t=!0,s.dispose(),cc-=1)}return{setTheme:f,getTheme:d,getLanguage:u,getLoadedThemes:p,getLoadedLanguages:m,loadLanguage:y,loadLanguageSync:b,loadTheme:T,loadThemeSync:E,dispose:k,[Symbol.dispose]:k}}async function FW(e){e.engine||BW("`engine` option is required. Use `createOnigurumaEngine` or `createJavaScriptRegexEngine` to create an engine.");const[t,n,r]=await Promise.all([uw(e.themes||[]),lw(e.langs||[]),e.engine]);return HW({...e,themes:t,langs:n,engine:r})}async function jW(e){const t=await FW(e);return{getLastGrammarState:(...n)=>TW(t,...n),codeToTokensBase:(n,r)=>s4(t,n,r),codeToTokensWithThemes:(n,r)=>ow(t,n,r),codeToTokens:(n,r)=>Wf(t,n,r),codeToHast:(n,r)=>Kf(t,n,r),codeToHtml:(n,r)=>MW(t,n,r),getBundledLanguages:()=>({}),getBundledThemes:()=>({}),...t,getInternalContext:()=>t}}function qW(e){const t=e.langs,n=e.themes,r=e.engine;async function a(s){function l(m){if(typeof m=="string"){if(nw(m))return[];m=s.langAlias?.[m]||m;const b=t[m];if(!b)throw new gn(`Language \`${m}\` is not included in this bundle. You may want to load it from external source.`);return b}return m}function u(m){if(rw(m))return"none";if(typeof m=="string"){const b=n[m];if(!b)throw new gn(`Theme \`${m}\` is not included in this bundle. You may want to load it from external source.`);return b}return m}const d=(s.themes??[]).map(m=>u(m)),f=(s.langs??[]).map(m=>l(m)),p=await jW({engine:s.engine??r(),...s,themes:d,langs:f});return{...p,loadLanguage(...m){return p.loadLanguage(...m.map(l))},loadTheme(...m){return p.loadTheme(...m.map(u))},getBundledLanguages(){return t},getBundledThemes(){return n}}}return a}const cw=[{id:"abap",name:"ABAP",import:(()=>P(()=>import("./abap-BdImnpbu.js"),[]))},{id:"actionscript-3",name:"ActionScript",import:(()=>P(()=>import("./actionscript-3-CfeIJUat.js"),[]))},{id:"ada",name:"Ada",import:(()=>P(()=>import("./ada-bCR0ucgS.js"),[]))},{id:"angular-html",name:"Angular HTML",import:(()=>P(()=>import("./angular-html-CU67Zn6k.js").then(e=>e.f),__vite__mapDeps([0,1,2,3])))},{id:"angular-ts",name:"Angular TypeScript",import:(()=>P(()=>import("./angular-ts-BwZT4LLn.js"),__vite__mapDeps([4,0,1,2,3,5])))},{id:"apache",name:"Apache Conf",import:(()=>P(()=>import("./apache-Pmp26Uib.js"),[]))},{id:"apex",name:"Apex",import:(()=>P(()=>import("./apex-C7Pw0Ztw.js"),[]))},{id:"apl",name:"APL",import:(()=>P(()=>import("./apl-dKokRX4l.js"),__vite__mapDeps([6,1,2,3,7,8,9])))},{id:"applescript",name:"AppleScript",import:(()=>P(()=>import("./applescript-Co6uUVPk.js"),[]))},{id:"ara",name:"Ara",import:(()=>P(()=>import("./ara-BRHolxvo.js"),[]))},{id:"asciidoc",name:"AsciiDoc",aliases:["adoc"],import:(()=>P(()=>import("./asciidoc-Dv7Oe6Be.js"),[]))},{id:"asm",name:"Assembly",import:(()=>P(()=>import("./asm-D_Q5rh1f.js"),[]))},{id:"astro",name:"Astro",import:(()=>P(()=>import("./astro-CbQHKStN.js"),__vite__mapDeps([10,9,2,11,3,12,13])))},{id:"awk",name:"AWK",import:(()=>P(()=>import("./awk-DMzUqQB5.js"),[]))},{id:"ballerina",name:"Ballerina",import:(()=>P(()=>import("./ballerina-BFfxhgS-.js"),[]))},{id:"bat",name:"Batch File",aliases:["batch"],import:(()=>P(()=>import("./bat-BkioyH1T.js"),[]))},{id:"beancount",name:"Beancount",import:(()=>P(()=>import("./beancount-k_qm7-4y.js"),[]))},{id:"berry",name:"Berry",aliases:["be"],import:(()=>P(()=>import("./berry-D08WgyRC.js"),[]))},{id:"bibtex",name:"BibTeX",import:(()=>P(()=>import("./bibtex-CHM0blh-.js"),[]))},{id:"bicep",name:"Bicep",import:(()=>P(()=>import("./bicep-6nHXG8SA.js"),[]))},{id:"blade",name:"Blade",import:(()=>P(()=>import("./blade-DVc8C-J4.js"),__vite__mapDeps([14,15,1,2,3,7,8,16,9])))},{id:"bsl",name:"1C (Enterprise)",aliases:["1c"],import:(()=>P(()=>import("./bsl-BO_Y6i37.js"),__vite__mapDeps([17,18])))},{id:"c",name:"C",import:(()=>P(()=>import("./c-BIGW1oBm.js"),[]))},{id:"cadence",name:"Cadence",aliases:["cdc"],import:(()=>P(()=>import("./cadence-Bv_4Rxtq.js"),[]))},{id:"cairo",name:"Cairo",import:(()=>P(()=>import("./cairo-KRGpt6FW.js"),__vite__mapDeps([19,20])))},{id:"clarity",name:"Clarity",import:(()=>P(()=>import("./clarity-D53aC0YG.js"),[]))},{id:"clojure",name:"Clojure",aliases:["clj"],import:(()=>P(()=>import("./clojure-P80f7IUj.js"),[]))},{id:"cmake",name:"CMake",import:(()=>P(()=>import("./cmake-D1j8_8rp.js"),[]))},{id:"cobol",name:"COBOL",import:(()=>P(()=>import("./cobol-nwyudZeR.js"),__vite__mapDeps([21,1,2,3,8])))},{id:"codeowners",name:"CODEOWNERS",import:(()=>P(()=>import("./codeowners-Bp6g37R7.js"),[]))},{id:"codeql",name:"CodeQL",aliases:["ql"],import:(()=>P(()=>import("./codeql-DsOJ9woJ.js"),[]))},{id:"coffee",name:"CoffeeScript",aliases:["coffeescript"],import:(()=>P(()=>import("./coffee-Ch7k5sss.js"),__vite__mapDeps([22,2])))},{id:"common-lisp",name:"Common Lisp",aliases:["lisp"],import:(()=>P(()=>import("./common-lisp-Cg-RD9OK.js"),[]))},{id:"coq",name:"Coq",import:(()=>P(()=>import("./coq-DkFqJrB1.js"),[]))},{id:"cpp",name:"C++",aliases:["c++"],import:(()=>P(()=>import("./cpp-CofmeUqb.js"),__vite__mapDeps([23,24,25,26,16])))},{id:"crystal",name:"Crystal",import:(()=>P(()=>import("./crystal-tKQVLTB8.js"),__vite__mapDeps([27,1,2,3,16,26,28])))},{id:"csharp",name:"C#",aliases:["c#","cs"],import:(()=>P(()=>import("./csharp-CX12Zw3r.js"),[]))},{id:"css",name:"CSS",import:(()=>P(()=>import("./css-DPfMkruS.js"),[]))},{id:"csv",name:"CSV",import:(()=>P(()=>import("./csv-fuZLfV_i.js"),[]))},{id:"cue",name:"CUE",import:(()=>P(()=>import("./cue-D82EKSYY.js"),[]))},{id:"cypher",name:"Cypher",aliases:["cql"],import:(()=>P(()=>import("./cypher-COkxafJQ.js"),[]))},{id:"d",name:"D",import:(()=>P(()=>import("./d-85-TOEBH.js"),[]))},{id:"dart",name:"Dart",import:(()=>P(()=>import("./dart-CF10PKvl.js"),[]))},{id:"dax",name:"DAX",import:(()=>P(()=>import("./dax-CEL-wOlO.js"),[]))},{id:"desktop",name:"Desktop",import:(()=>P(()=>import("./desktop-BmXAJ9_W.js"),[]))},{id:"diff",name:"Diff",import:(()=>P(()=>import("./diff-D97Zzqfu.js"),[]))},{id:"docker",name:"Dockerfile",aliases:["dockerfile"],import:(()=>P(()=>import("./docker-BcOcwvcX.js"),[]))},{id:"dotenv",name:"dotEnv",import:(()=>P(()=>import("./dotenv-Da5cRb03.js"),[]))},{id:"dream-maker",name:"Dream Maker",import:(()=>P(()=>import("./dream-maker-BtqSS_iP.js"),[]))},{id:"edge",name:"Edge",import:(()=>P(()=>import("./edge-BkV0erSs.js"),__vite__mapDeps([29,11,1,2,3,15])))},{id:"elixir",name:"Elixir",import:(()=>P(()=>import("./elixir-CDX3lj18.js"),__vite__mapDeps([30,1,2,3])))},{id:"elm",name:"Elm",import:(()=>P(()=>import("./elm-DbKCFpqz.js"),__vite__mapDeps([31,25,26])))},{id:"emacs-lisp",name:"Emacs Lisp",aliases:["elisp"],import:(()=>P(()=>import("./emacs-lisp-C9XAeP06.js"),[]))},{id:"erb",name:"ERB",import:(()=>P(()=>import("./erb-BOJIQeun.js"),__vite__mapDeps([32,1,2,3,33,34,7,8,16,35,11,36,13,23,24,25,26,28,37,38])))},{id:"erlang",name:"Erlang",aliases:["erl"],import:(()=>P(()=>import("./erlang-DsQrWhSR.js"),__vite__mapDeps([39,40])))},{id:"fennel",name:"Fennel",import:(()=>P(()=>import("./fennel-BYunw83y.js"),[]))},{id:"fish",name:"Fish",import:(()=>P(()=>import("./fish-BvzEVeQv.js"),[]))},{id:"fluent",name:"Fluent",aliases:["ftl"],import:(()=>P(()=>import("./fluent-C4IJs8-o.js"),[]))},{id:"fortran-fixed-form",name:"Fortran (Fixed Form)",aliases:["f","for","f77"],import:(()=>P(()=>import("./fortran-fixed-form-BZjJHVRy.js"),__vite__mapDeps([41,42])))},{id:"fortran-free-form",name:"Fortran (Free Form)",aliases:["f90","f95","f03","f08","f18"],import:(()=>P(()=>import("./fortran-free-form-D22FLkUw.js"),[]))},{id:"fsharp",name:"F#",aliases:["f#","fs"],import:(()=>P(()=>import("./fsharp-CXgrBDvD.js"),__vite__mapDeps([43,40])))},{id:"gdresource",name:"GDResource",import:(()=>P(()=>import("./gdresource-B7Tvp0Sc.js"),__vite__mapDeps([44,45,46])))},{id:"gdscript",name:"GDScript",import:(()=>P(()=>import("./gdscript-DTMYz4Jt.js"),[]))},{id:"gdshader",name:"GDShader",import:(()=>P(()=>import("./gdshader-DkwncUOv.js"),[]))},{id:"genie",name:"Genie",import:(()=>P(()=>import("./genie-D0YGMca9.js"),[]))},{id:"gherkin",name:"Gherkin",import:(()=>P(()=>import("./gherkin-DyxjwDmM.js"),[]))},{id:"git-commit",name:"Git Commit Message",import:(()=>P(()=>import("./git-commit-F4YmCXRG.js"),__vite__mapDeps([47,48])))},{id:"git-rebase",name:"Git Rebase Message",import:(()=>P(()=>import("./git-rebase-r7XF79zn.js"),__vite__mapDeps([49,28])))},{id:"gleam",name:"Gleam",import:(()=>P(()=>import("./gleam-BspZqrRM.js"),[]))},{id:"glimmer-js",name:"Glimmer JS",aliases:["gjs"],import:(()=>P(()=>import("./glimmer-js-Rg0-pVw9.js"),__vite__mapDeps([50,2,11,3,1])))},{id:"glimmer-ts",name:"Glimmer TS",aliases:["gts"],import:(()=>P(()=>import("./glimmer-ts-U6CK756n.js"),__vite__mapDeps([51,11,3,2,1])))},{id:"glsl",name:"GLSL",import:(()=>P(()=>import("./glsl-DplSGwfg.js"),__vite__mapDeps([25,26])))},{id:"gnuplot",name:"Gnuplot",import:(()=>P(()=>import("./gnuplot-DdkO51Og.js"),[]))},{id:"go",name:"Go",import:(()=>P(()=>import("./go-Dn2_MT6a.js"),[]))},{id:"graphql",name:"GraphQL",aliases:["gql"],import:(()=>P(()=>import("./graphql-ChdNCCLP.js"),__vite__mapDeps([35,2,11,36,13])))},{id:"groovy",name:"Groovy",import:(()=>P(()=>import("./groovy-gcz8RCvz.js"),[]))},{id:"hack",name:"Hack",import:(()=>P(()=>import("./hack-CaT9iCJl.js"),__vite__mapDeps([52,1,2,3,16])))},{id:"haml",name:"Ruby Haml",import:(()=>P(()=>import("./haml-B8DHNrY2.js"),__vite__mapDeps([34,2,3])))},{id:"handlebars",name:"Handlebars",aliases:["hbs"],import:(()=>P(()=>import("./handlebars-BL8al0AC.js"),__vite__mapDeps([53,1,2,3,38])))},{id:"haskell",name:"Haskell",aliases:["hs"],import:(()=>P(()=>import("./haskell-Df6bDoY_.js"),[]))},{id:"haxe",name:"Haxe",import:(()=>P(()=>import("./haxe-CzTSHFRz.js"),[]))},{id:"hcl",name:"HashiCorp HCL",import:(()=>P(()=>import("./hcl-BWvSN4gD.js"),[]))},{id:"hjson",name:"Hjson",import:(()=>P(()=>import("./hjson-D5-asLiD.js"),[]))},{id:"hlsl",name:"HLSL",import:(()=>P(()=>import("./hlsl-D3lLCCz7.js"),[]))},{id:"html",name:"HTML",import:(()=>P(()=>import("./html-GMplVEZG.js"),__vite__mapDeps([1,2,3])))},{id:"html-derivative",name:"HTML (Derivative)",import:(()=>P(()=>import("./html-derivative-BFtXZ54Q.js"),__vite__mapDeps([15,1,2,3])))},{id:"http",name:"HTTP",import:(()=>P(()=>import("./http-jrhK8wxY.js"),__vite__mapDeps([54,28,9,7,8,35,2,11,36,13])))},{id:"hurl",name:"Hurl",import:(()=>P(()=>import("./hurl-irOxFIW8.js"),__vite__mapDeps([55,35,2,11,36,13,7,8,56])))},{id:"hxml",name:"HXML",import:(()=>P(()=>import("./hxml-Bvhsp5Yf.js"),__vite__mapDeps([57,58])))},{id:"hy",name:"Hy",import:(()=>P(()=>import("./hy-DFXneXwc.js"),[]))},{id:"imba",name:"Imba",import:(()=>P(()=>import("./imba-DGztddWO.js"),[]))},{id:"ini",name:"INI",aliases:["properties"],import:(()=>P(()=>import("./ini-BEwlwnbL.js"),[]))},{id:"java",name:"Java",import:(()=>P(()=>import("./java-CylS5w8V.js"),[]))},{id:"javascript",name:"JavaScript",aliases:["js","cjs","mjs"],import:(()=>P(()=>import("./javascript-wDzz0qaB.js"),[]))},{id:"jinja",name:"Jinja",import:(()=>P(()=>import("./jinja-4LBKfQ-Z.js"),__vite__mapDeps([59,1,2,3])))},{id:"jison",name:"Jison",import:(()=>P(()=>import("./jison-wvAkD_A8.js"),__vite__mapDeps([60,2])))},{id:"json",name:"JSON",import:(()=>P(()=>import("./json-Cp-IABpG.js"),[]))},{id:"json5",name:"JSON5",import:(()=>P(()=>import("./json5-C9tS-k6U.js"),[]))},{id:"jsonc",name:"JSON with Comments",import:(()=>P(()=>import("./jsonc-Des-eS-w.js"),[]))},{id:"jsonl",name:"JSON Lines",import:(()=>P(()=>import("./jsonl-DcaNXYhu.js"),[]))},{id:"jsonnet",name:"Jsonnet",import:(()=>P(()=>import("./jsonnet-DFQXde-d.js"),[]))},{id:"jssm",name:"JSSM",aliases:["fsl"],import:(()=>P(()=>import("./jssm-C2t-YnRu.js"),[]))},{id:"jsx",name:"JSX",import:(()=>P(()=>import("./jsx-g9-lgVsj.js"),[]))},{id:"julia",name:"Julia",aliases:["jl"],import:(()=>P(()=>import("./julia-C8NyazO9.js"),__vite__mapDeps([61,23,24,25,26,16,20,2,62])))},{id:"kdl",name:"KDL",import:(()=>P(()=>import("./kdl-DV7GczEv.js"),[]))},{id:"kotlin",name:"Kotlin",aliases:["kt","kts"],import:(()=>P(()=>import("./kotlin-BdnUsdx6.js"),[]))},{id:"kusto",name:"Kusto",aliases:["kql"],import:(()=>P(()=>import("./kusto-BvAqAH-y.js"),[]))},{id:"latex",name:"LaTeX",import:(()=>P(()=>import("./latex-BUKiar2Z.js"),__vite__mapDeps([63,64,62])))},{id:"lean",name:"Lean 4",aliases:["lean4"],import:(()=>P(()=>import("./lean-DP1Csr6i.js"),[]))},{id:"less",name:"Less",import:(()=>P(()=>import("./less-B1dDrJ26.js"),[]))},{id:"liquid",name:"Liquid",import:(()=>P(()=>import("./liquid-DYVedYrR.js"),__vite__mapDeps([65,1,2,3,9])))},{id:"llvm",name:"LLVM IR",import:(()=>P(()=>import("./llvm-BtvRca6l.js"),[]))},{id:"log",name:"Log file",import:(()=>P(()=>import("./log-2UxHyX5q.js"),[]))},{id:"logo",name:"Logo",import:(()=>P(()=>import("./logo-BtOb2qkB.js"),[]))},{id:"lua",name:"Lua",import:(()=>P(()=>import("./lua-BbnMAYS6.js"),__vite__mapDeps([37,26])))},{id:"luau",name:"Luau",import:(()=>P(()=>import("./luau-CXu1NL6O.js"),[]))},{id:"make",name:"Makefile",aliases:["makefile"],import:(()=>P(()=>import("./make-CHLpvVh8.js"),[]))},{id:"markdown",name:"Markdown",aliases:["md"],import:(()=>P(()=>import("./markdown-Cvjx9yec.js"),[]))},{id:"marko",name:"Marko",import:(()=>P(()=>import("./marko-CPi9NSCl.js"),__vite__mapDeps([66,3,67,5,11])))},{id:"matlab",name:"MATLAB",import:(()=>P(()=>import("./matlab-D7o27uSR.js"),[]))},{id:"mdc",name:"MDC",import:(()=>P(()=>import("./mdc-DUICxH0z.js"),__vite__mapDeps([68,40,38,15,1,2,3])))},{id:"mdx",name:"MDX",import:(()=>P(()=>import("./mdx-Cmh6b_Ma.js"),[]))},{id:"mermaid",name:"Mermaid",aliases:["mmd"],import:(()=>P(()=>import("./mermaid-DKYwYmdq.js"),[]))},{id:"mipsasm",name:"MIPS Assembly",aliases:["mips"],import:(()=>P(()=>import("./mipsasm-CKIfxQSi.js"),[]))},{id:"mojo",name:"Mojo",import:(()=>P(()=>import("./mojo-1DNp92w6.js"),[]))},{id:"move",name:"Move",import:(()=>P(()=>import("./move-Bu9oaDYs.js"),[]))},{id:"narrat",name:"Narrat Language",aliases:["nar"],import:(()=>P(()=>import("./narrat-DRg8JJMk.js"),[]))},{id:"nextflow",name:"Nextflow",aliases:["nf"],import:(()=>P(()=>import("./nextflow-CUEJCptM.js"),[]))},{id:"nginx",name:"Nginx",import:(()=>P(()=>import("./nginx-DknmC5AR.js"),__vite__mapDeps([69,37,26])))},{id:"nim",name:"Nim",import:(()=>P(()=>import("./nim-CVrawwO9.js"),__vite__mapDeps([70,26,1,2,3,7,8,25,40])))},{id:"nix",name:"Nix",import:(()=>P(()=>import("./nix-BbRYJGeE.js"),[]))},{id:"nushell",name:"nushell",aliases:["nu"],import:(()=>P(()=>import("./nushell-C-sUppwS.js"),[]))},{id:"objective-c",name:"Objective-C",aliases:["objc"],import:(()=>P(()=>import("./objective-c-DXmwc3jG.js"),[]))},{id:"objective-cpp",name:"Objective-C++",import:(()=>P(()=>import("./objective-cpp-CLxacb5B.js"),[]))},{id:"ocaml",name:"OCaml",import:(()=>P(()=>import("./ocaml-C0hk2d4L.js"),[]))},{id:"pascal",name:"Pascal",import:(()=>P(()=>import("./pascal-D93ZcfNL.js"),[]))},{id:"perl",name:"Perl",import:(()=>P(()=>import("./perl-C0TMdlhV.js"),__vite__mapDeps([71,1,2,3,7,8,16])))},{id:"php",name:"PHP",import:(()=>P(()=>import("./php-CDn_0X-4.js"),__vite__mapDeps([72,1,2,3,7,8,16,9])))},{id:"pkl",name:"Pkl",import:(()=>P(()=>import("./pkl-u5AG7uiY.js"),[]))},{id:"plsql",name:"PL/SQL",import:(()=>P(()=>import("./plsql-ChMvpjG-.js"),[]))},{id:"po",name:"Gettext PO",aliases:["pot","potx"],import:(()=>P(()=>import("./po-BTJTHyun.js"),[]))},{id:"polar",name:"Polar",import:(()=>P(()=>import("./polar-C0HS_06l.js"),[]))},{id:"postcss",name:"PostCSS",import:(()=>P(()=>import("./postcss-CXtECtnM.js"),[]))},{id:"powerquery",name:"PowerQuery",import:(()=>P(()=>import("./powerquery-CEu0bR-o.js"),[]))},{id:"powershell",name:"PowerShell",aliases:["ps","ps1"],import:(()=>P(()=>import("./powershell-Dpen1YoG.js"),[]))},{id:"prisma",name:"Prisma",import:(()=>P(()=>import("./prisma-Dd19v3D-.js"),[]))},{id:"prolog",name:"Prolog",import:(()=>P(()=>import("./prolog-CbFg5uaA.js"),[]))},{id:"proto",name:"Protocol Buffer 3",aliases:["protobuf"],import:(()=>P(()=>import("./proto-DyJlTyXw.js"),[]))},{id:"pug",name:"Pug",aliases:["jade"],import:(()=>P(()=>import("./pug-CGlum2m_.js"),__vite__mapDeps([73,2,3,1])))},{id:"puppet",name:"Puppet",import:(()=>P(()=>import("./puppet-BMWR74SV.js"),[]))},{id:"purescript",name:"PureScript",import:(()=>P(()=>import("./purescript-CklMAg4u.js"),[]))},{id:"python",name:"Python",aliases:["py"],import:(()=>P(()=>import("./python-B6aJPvgy.js"),[]))},{id:"qml",name:"QML",import:(()=>P(()=>import("./qml-3beO22l8.js"),__vite__mapDeps([74,2])))},{id:"qmldir",name:"QML Directory",import:(()=>P(()=>import("./qmldir-C8lEn-DE.js"),[]))},{id:"qss",name:"Qt Style Sheets",import:(()=>P(()=>import("./qss-IeuSbFQv.js"),[]))},{id:"r",name:"R",import:(()=>P(()=>import("./r-DiinP2Uv.js"),[]))},{id:"racket",name:"Racket",import:(()=>P(()=>import("./racket-BqYA7rlc.js"),[]))},{id:"raku",name:"Raku",aliases:["perl6"],import:(()=>P(()=>import("./raku-DXvB9xmW.js"),[]))},{id:"razor",name:"ASP.NET Razor",import:(()=>P(()=>import("./razor-WgofotgN.js"),__vite__mapDeps([75,1,2,3,76])))},{id:"reg",name:"Windows Registry Script",import:(()=>P(()=>import("./reg-C-SQnVFl.js"),[]))},{id:"regexp",name:"RegExp",aliases:["regex"],import:(()=>P(()=>import("./regexp-CDVJQ6XC.js"),[]))},{id:"rel",name:"Rel",import:(()=>P(()=>import("./rel-C3B-1QV4.js"),[]))},{id:"riscv",name:"RISC-V",import:(()=>P(()=>import("./riscv-BM1_JUlF.js"),[]))},{id:"rosmsg",name:"ROS Interface",import:(()=>P(()=>import("./rosmsg-BJDFO7_C.js"),[]))},{id:"rst",name:"reStructuredText",import:(()=>P(()=>import("./rst-B0xPkSld.js"),__vite__mapDeps([77,15,1,2,3,23,24,25,26,16,20,28,38,78,33,34,7,8,35,11,36,13,37])))},{id:"ruby",name:"Ruby",aliases:["rb"],import:(()=>P(()=>import("./ruby-BvKwtOVI.js"),__vite__mapDeps([33,1,2,3,34,7,8,16,35,11,36,13,23,24,25,26,28,37,38])))},{id:"rust",name:"Rust",aliases:["rs"],import:(()=>P(()=>import("./rust-B1yitclQ.js"),[]))},{id:"sas",name:"SAS",import:(()=>P(()=>import("./sas-cz2c8ADy.js"),__vite__mapDeps([79,16])))},{id:"sass",name:"Sass",import:(()=>P(()=>import("./sass-Cj5Yp3dK.js"),[]))},{id:"scala",name:"Scala",import:(()=>P(()=>import("./scala-C151Ov-r.js"),[]))},{id:"scheme",name:"Scheme",import:(()=>P(()=>import("./scheme-C98Dy4si.js"),[]))},{id:"scss",name:"SCSS",import:(()=>P(()=>import("./scss-OYdSNvt2.js"),__vite__mapDeps([5,3])))},{id:"sdbl",name:"1C (Query)",aliases:["1c-query"],import:(()=>P(()=>import("./sdbl-DVxCFoDh.js"),[]))},{id:"shaderlab",name:"ShaderLab",aliases:["shader"],import:(()=>P(()=>import("./shaderlab-Dg9Lc6iA.js"),__vite__mapDeps([80,81])))},{id:"shellscript",name:"Shell",aliases:["bash","sh","shell","zsh"],import:(()=>P(()=>import("./shellscript-Yzrsuije.js"),[]))},{id:"shellsession",name:"Shell Session",aliases:["console"],import:(()=>P(()=>import("./shellsession-BADoaaVG.js"),__vite__mapDeps([82,28])))},{id:"smalltalk",name:"Smalltalk",import:(()=>P(()=>import("./smalltalk-BERRCDM3.js"),[]))},{id:"solidity",name:"Solidity",import:(()=>P(()=>import("./solidity-BbcW6ACK.js"),[]))},{id:"soy",name:"Closure Templates",aliases:["closure-templates"],import:(()=>P(()=>import("./soy-Brmx7dQM.js"),__vite__mapDeps([83,1,2,3])))},{id:"sparql",name:"SPARQL",import:(()=>P(()=>import("./sparql-rVzFXLq3.js"),__vite__mapDeps([84,85])))},{id:"splunk",name:"Splunk Query Language",aliases:["spl"],import:(()=>P(()=>import("./splunk-BtCnVYZw.js"),[]))},{id:"sql",name:"SQL",import:(()=>P(()=>import("./sql-BLtJtn59.js"),[]))},{id:"ssh-config",name:"SSH Config",import:(()=>P(()=>import("./ssh-config-_ykCGR6B.js"),[]))},{id:"stata",name:"Stata",import:(()=>P(()=>import("./stata-BH5u7GGu.js"),__vite__mapDeps([86,16])))},{id:"stylus",name:"Stylus",aliases:["styl"],import:(()=>P(()=>import("./stylus-BEDo0Tqx.js"),[]))},{id:"svelte",name:"Svelte",import:(()=>P(()=>import("./svelte-3Dk4HxPD.js"),__vite__mapDeps([87,2,11,3,12])))},{id:"swift",name:"Swift",import:(()=>P(()=>import("./swift-Dg5xB15N.js"),[]))},{id:"system-verilog",name:"SystemVerilog",import:(()=>P(()=>import("./system-verilog-CnnmHF94.js"),[]))},{id:"systemd",name:"Systemd Units",import:(()=>P(()=>import("./systemd-4A_iFExJ.js"),[]))},{id:"talonscript",name:"TalonScript",aliases:["talon"],import:(()=>P(()=>import("./talonscript-CkByrt1z.js"),[]))},{id:"tasl",name:"Tasl",import:(()=>P(()=>import("./tasl-QIJgUcNo.js"),[]))},{id:"tcl",name:"Tcl",import:(()=>P(()=>import("./tcl-dwOrl1Do.js"),[]))},{id:"templ",name:"Templ",import:(()=>P(()=>import("./templ-W15q3VgB.js"),__vite__mapDeps([88,89,2,3])))},{id:"terraform",name:"Terraform",aliases:["tf","tfvars"],import:(()=>P(()=>import("./terraform-BETggiCN.js"),[]))}
474,{id:"tex",name:"TeX",import:(()=>P(()=>import("./tex-Cppo0RY3.js"),__vite__mapDeps([64,62])))},{id:"toml",name:"TOML",import:(()=>P(()=>import("./toml-vGWfd6FD.js"),[]))},{id:"ts-tags",name:"TypeScript with Tags",aliases:["lit"],import:(()=>P(()=>import("./ts-tags-zn1MmPIZ.js"),__vite__mapDeps([90,11,3,2,25,26,1,16,7,8])))},{id:"tsv",name:"TSV",import:(()=>P(()=>import("./tsv-B_m7g4N7.js"),[]))},{id:"tsx",name:"TSX",import:(()=>P(()=>import("./tsx-COt5Ahok.js"),[]))},{id:"turtle",name:"Turtle",import:(()=>P(()=>import("./turtle-BsS91CYL.js"),[]))},{id:"twig",name:"Twig",import:(()=>P(()=>import("./twig-CO9l9SDP.js"),__vite__mapDeps([91,3,2,5,72,1,7,8,16,9,20,33,34,35,11,36,13,23,24,25,26,28,37,38])))},{id:"typescript",name:"TypeScript",aliases:["ts","cts","mts"],import:(()=>P(()=>import("./typescript-BPQ3VLAy.js"),[]))},{id:"typespec",name:"TypeSpec",aliases:["tsp"],import:(()=>P(()=>import("./typespec-Df68jz8_.js"),[]))},{id:"typst",name:"Typst",aliases:["typ"],import:(()=>P(()=>import("./typst-DHCkPAjA.js"),[]))}
vendor: 5,479 bytes, line 474
474,{id:"v",name:"V",import:(()=>P(()=>import("./v-BcVCzyr7.js"),[]))},{id:"vala",name:"Vala",import:(()=>P(()=>import("./vala-CsfeWuGM.js"),[]))},{id:"vb",name:"Visual Basic",aliases:["cmd"],import:(()=>P(()=>import("./vb-D17OF-Vu.js"),[]))},{id:"verilog",name:"Verilog",import:(()=>P(()=>import("./verilog-BQ8w6xss.js"),[]))},{id:"vhdl",name:"VHDL",import:(()=>P(()=>import("./vhdl-CeAyd5Ju.js"),[]))},{id:"viml",name:"Vim Script",aliases:["vim","vimscript"],import:(()=>P(()=>import("./viml-CJc9bBzg.js"),[]))},{id:"vue",name:"Vue",import:(()=>P(()=>import("./vue-CCoi5OLL.js"),__vite__mapDeps([92,3,2,11,9,15,1])))},{id:"vue-html",name:"Vue HTML",import:(()=>P(()=>import("./vue-html-DAAvJJDi.js"),__vite__mapDeps([93,92,3,2,11,9,15,1])))},{id:"vue-vine",name:"Vue Vine",import:(()=>P(()=>import("./vue-vine-_Ih-lPRR.js"),__vite__mapDeps([94,3,5,67,95,12,92,2,11,9,15,1])))},{id:"vyper",name:"Vyper",aliases:["vy"],import:(()=>P(()=>import("./vyper-CDx5xZoG.js"),[]))},{id:"wasm",name:"WebAssembly",import:(()=>P(()=>import("./wasm-MzD3tlZU.js"),[]))},{id:"wenyan",name:"Wenyan",aliases:["文言"],import:(()=>P(()=>import("./wenyan-BV7otONQ.js"),[]))},{id:"wgsl",name:"WGSL",import:(()=>P(()=>import("./wgsl-Dx-B1_4e.js"),[]))},{id:"wikitext",name:"Wikitext",aliases:["mediawiki","wiki"],import:(()=>P(()=>import("./wikitext-BhOHFoWU.js"),[]))},{id:"wit",name:"WebAssembly Interface Types",import:(()=>P(()=>import("./wit-5i3qLPDT.js"),[]))},{id:"wolfram",name:"Wolfram",aliases:["wl"],import:(()=>P(()=>import("./wolfram-lXgVvXCa.js"),[]))},{id:"xml",name:"XML",import:(()=>P(()=>import("./xml-sdJ4AIDG.js"),__vite__mapDeps([7,8])))},{id:"xsl",name:"XSL",import:(()=>P(()=>import("./xsl-CtQFsRM5.js"),__vite__mapDeps([96,7,8])))},{id:"yaml",name:"YAML",aliases:["yml"],import:(()=>P(()=>import("./yaml-Buea-lGh.js"),[]))},{id:"zenscript",name:"ZenScript",import:(()=>P(()=>import("./zenscript-DVFEvuxE.js"),[]))},{id:"zig",name:"Zig",import:(()=>P(()=>import("./zig-VOosw3JB.js"),[]))}],$W=Object.fromEntries(cw.map(e=>[e.id,e.import])),VW=Object.fromEntries(cw.flatMap(e=>e.aliases?.map(t=>[t,e.import])||[])),dw={...$W,...VW},GW=[{id:"andromeeda",displayName:"Andromeeda",type:"dark",import:(()=>P(()=>import("./andromeeda-C-Jbm3Hp.js"),[]))},{id:"aurora-x",displayName:"Aurora X",type:"dark",import:(()=>P(()=>import("./aurora-x-D-2ljcwZ.js"),[]))},{id:"ayu-dark",displayName:"Ayu Dark",type:"dark",import:(()=>P(()=>import("./ayu-dark-Cv9koXgw.js"),[]))},{id:"catppuccin-frappe",displayName:"Catppuccin Frappé",type:"dark",import:(()=>P(()=>import("./catppuccin-frappe-DFWUc33u.js"),[]))},{id:"catppuccin-latte",displayName:"Catppuccin Latte",type:"light",import:(()=>P(()=>import("./catppuccin-latte-C9dUb6Cb.js"),[]))},{id:"catppuccin-macchiato",displayName:"Catppuccin Macchiato",type:"dark",import:(()=>P(()=>import("./catppuccin-macchiato-DQyhUUbL.js"),[]))},{id:"catppuccin-mocha",displayName:"Catppuccin Mocha",type:"dark",import:(()=>P(()=>import("./catppuccin-mocha-D87Tk5Gz.js"),[]))},{id:"dark-plus",displayName:"Dark Plus",type:"dark",import:(()=>P(()=>import("./dark-plus-eOWES_5F.js"),[]))},{id:"dracula",displayName:"Dracula Theme",type:"dark",import:(()=>P(()=>import("./dracula-BzJJZx-M.js"),[]))},{id:"dracula-soft",displayName:"Dracula Theme Soft",type:"dark",import:(()=>P(()=>import("./dracula-soft-BXkSAIEj.js"),[]))},{id:"everforest-dark",displayName:"Everforest Dark",type:"dark",import:(()=>P(()=>import("./everforest-dark-BgDCqdQA.js"),[]))},{id:"everforest-light",displayName:"Everforest Light",type:"light",import:(()=>P(()=>import("./everforest-light-C8M2exoo.js"),[]))},{id:"github-dark",displayName:"GitHub Dark",type:"dark",import:(()=>P(()=>import("./github-dark-DHJKELXO.js"),[]))},{id:"github-dark-default",displayName:"GitHub Dark Default",type:"dark",import:(()=>P(()=>import("./github-dark-default-Cuk6v7N8.js"),[]))},{id:"github-dark-dimmed",displayName:"GitHub Dark Dimmed",type:"dark",import:(()=>P(()=>import("./github-dark-dimmed-DH5Ifo-i.js"),[]))},{id:"github-dark-high-contrast",displayName:"GitHub Dark High Contrast",type:"dark",import:(()=>P(()=>import("./github-dark-high-contrast-E3gJ1_iC.js"),[]))},{id:"github-light",displayName:"GitHub Light",type:"light",import:(()=>P(()=>import("./github-light-DAi9KRSo.js"),[]))},{id:"github-light-default",displayName:"GitHub Light Default",type:"light",import:(()=>P(()=>import("./github-light-default-D7oLnXFd.js"),[]))},{id:"github-light-high-contrast",displayName:"GitHub Light High Contrast",type:"light",import:(()=>P(()=>import("./github-light-high-contrast-BfjtVDDH.js"),[]))},{id:"gruvbox-dark-hard",displayName:"Gruvbox Dark Hard",type:"dark",import:(()=>P(()=>import("./gruvbox-dark-hard-CFHQjOhq.js"),[]))},{id:"gruvbox-dark-medium",displayName:"Gruvbox Dark Medium",type:"dark",import:(()=>P(()=>import("./gruvbox-dark-medium-GsRaNv29.js"),[]))},{id:"gruvbox-dark-soft",displayName:"Gruvbox Dark Soft",type:"dark",import:(()=>P(()=>import("./gruvbox-dark-soft-CVdnzihN.js"),[]))},{id:"gruvbox-light-hard",displayName:"Gruvbox Light Hard",type:"light",import:(()=>P(()=>import("./gruvbox-light-hard-CH1njM8p.js"),[]))},{id:"gruvbox-light-medium",displayName:"Gruvbox Light Medium",type:"light",import:(()=>P(()=>import("./gruvbox-light-medium-DRw_LuNl.js"),[]))},{id:"gruvbox-light-soft",displayName:"Gruvbox Light Soft",type:"light",import:(()=>P(()=>import("./gruvbox-light-soft-hJgmCMqR.js"),[]))},{id:"houston",displayName:"Houston",type:"dark",import:(()=>P(()=>
474import("./houston-DnULxvSX.js"),[]))},{id:"kanagawa-dragon",displayName:"Kanagawa Dragon",type:"dark",import:(()=>P(()=>import("./kanagawa-dragon-CkXjmgJE.js"),[]))},{id:"kanagawa-lotus",displayName:"Kanagawa Lotus",type:"light",import:(()=>P(()=>import("./kanagawa-lotus-CfQXZHmo.js"),[]))},{id:"kanagawa-wave",displayName:"Kanagawa Wave",type:"dark",import:(()=>P(()=>import("./kanagawa-wave-DWedfzmr.js"),[]))},{id:"laserwave",displayName:"LaserWave",type:"dark",import:(()=>P(()=>import("./laserwave-DUszq2jm.js"),[]))},{id:"light-plus",displayName:"Light Plus",type:"light",import:(()=>P(()=>import("./light-plus-B7mTdjB0.js"),[]))},{id:"material-theme",displayName:"Material Theme",type:"dark",import:(()=>P(()=>import("./material-theme-D5KoaKCx.js"),[]))},{id:"material-theme-darker",displayName:"Material Theme Darker",type:"dark",import:(()=>P(()=>import("./material-theme-darker-BfHTSMKl.js"),[]))},{id:"material-theme-lighter",displayName:"Material Theme Lighter",type:"light",import:(()=>P(()=>import("./material-theme-lighter-B0m2ddpp.js"),[]))},{id:"material-theme-ocean",displayName:"Material Theme Ocean",type:"dark",import:(()=>P(()=>import("./material-theme-ocean-CyktbL80.js"),[]))},{id:"material-theme-palenight",displayName:"Material Theme Palenight",type:"dark",import:(()=>P(()=>import("./material-theme-palenight-Csfq5Kiy.js"),[]))},{id:"min-dark",displayName:"Min Dark",type:"dark",import:(()=>P(()=>import("./min-dark-CafNBF8u.js"),[]))},{id:"min-light",displayName:"Min Light",type:"light",import:(()=>P(()=>import("./min-light-CTRr51gU.js"),[]))},{id:"monokai",displayName:"Monokai",type:"dark",import:(()=>P(()=>import("./monokai-D4h5O-jR.js"),[]))},{id:"night-owl",displayName:"Night Owl",type:"dark",import:(()=>P(()=>import("./night-owl-C39BiMTA.js"),[]))},{id:"nord",displayName:"Nord",type:"dark",import:(()=>P(()=>import("./nord-Ddv68eIx.js"),[]))},{id:"one-dark-pro",displayName:"One Dark Pro",type:"dark",import:(()=>P(()=>import("./one-dark-pro-DVMEJ2y_.js"),[]))},{id:"one-light",displayName:"One Light",type:"light",import:(()=>P(()=>import("./one-light-PoHY5YXO.js"),[]))},{id:"plastic",displayName:"Plastic",type:"dark",import:(()=>P(()=>import("./plastic-3e1v2bzS.js"),[]))},{id:"poimandres",displayName:"Poimandres",type:"dark",import:(()=>P(()=>import("./poimandres-CS3Unz2-.js"),[]))},{id:"red",displayName:"Red",type:"dark",import:(()=>P(()=>import("./red-bN70gL4F.js"),[]))},{id:"rose-pine",displayName:"Rosé Pine",type:"dark",import:(()=>P(()=>import("./rose-pine-BHrmToEH.js"),[]))},{id:"rose-pine-dawn",displayName:"Rosé Pine Dawn",type:"light",import:(()=>P(()=>import("./rose-pine-dawn-CnK8MTSM.js"),[]))},{id:"rose-pine-moon",displayName:"Rosé Pine Moon",type:"dark",import:(()=>P(()=>import("./rose-pine-moon-NleAzG8P.js"),[]))},{id:"slack-dark",displayName:"Slack Dark",type:"dark",import:(()=>P(()=>import("./slack-dark-BthQWCQV.js"),[]))},{id:"slack-ochin",displayName:"Slack Ochin",type:"light",import:(()=>P(()=>import("./slack-ochin-DqwNpetd.js"),[]))},{id:"snazzy-light",displayName:"Snazzy Light",type:"light",import:(()=>P(()=>import("./snazzy-light-Bw305WKR.js"),[]))},{id:"solarized-dark",displayName:"Solarized Dark",type:"dark",import:(()=>P(()=>import("./solarized-dark-DXbdFlpD.js"),[]))},{id:"solarized-light",displayName:"Solarized Light",type:"light",import:(()=>P(()=>import("./solarized-light-L9t79GZl.js"),[]))},{id:"synthwave-84",displayName:"Synthwave '84",type:"dark",import:(()=>P(()=>import("./synthwave-84-CbfX1IO0.js"),[]))},{id:"tokyo-night",displayName:"Tokyo Night",type:"dark",import:(()=>P(()=>import("./tokyo-night-hegEt444.js"),[]))},{id:"vesper",displayName:"Vesper",type:"dark",import:(()=>P(()=>import("./vesper-DU1UobuO.js"),[]))},{id:"vitesse-black",displayName:"Vitesse Black",type:"dark",import:(()=>P(()=>import("./vitesse-black-Bkuqu6BP.js"),[]))},{id:"vitesse-dark",displayName:"Vitesse Dark",type:"dark",import:(()=>P(()=>import("./vitesse-dark-D0r3Knsf.js"),[]))},{id:"vitesse-light",displayName:"Vitesse Light",type:"light",import:(()=>P(()=>import("./vitesse-light-CVO1_9PV.js"),[]))}],YW=Object.fromEntries(GW.map(e=>[e.id,e.import]));
vendor: 19,539 bytes, lines 474-506
474class l4 extends Error{constructor(t){super(t),this.name="ShikiError"}}function QW(){return 2147483648}function XW(){return typeof performance<"u"?performance.now():Date.now()}const WW=(e,t)=>e+(t-e%t)%t;async function KW(e){let t,n;const r={};function a(y){n=y,r.HEAPU8=new Uint8Array(y),r.HEAPU32=new Uint32Array(y)}function s(y,E,T){r.HEAPU8.copyWithin(y,E,E+T)}function l(y){try{return t.grow(y-n.byteLength+65535>>>16),a(t.buffer),1}catch{}}function u(y){const E=r.HEAPU8.length;y=y>>>0;const T=QW();if(y>T)return!1;for(let N=1;N<=4;N*=2){let k=E*(1+.2/N);k=Math.min(k,y+100663296);const O=Math.min(T,WW(Math.max(y,k),65536));if(l(O))return!0}return!1}const d=typeof TextDecoder<"u"?new TextDecoder("utf8"):void 0;function f(y,E,T=1024){const N=E+T;let k=E;for(;y[k]&&!(k>=N);)++k;if(k-E>16&&y.buffer&&d)return d.decode(y.subarray(E,k));let O="";for(;E<k;){let I=y[E++];if(!(I&128)){O+=String.fromCharCode(I);continue}const K=y[E++]&63;if((I&224)===192){O+=String.fromCharCode((I&31)<<6|K);continue}const V=y[E++]&63;if((I&240)===224?I=(I&15)<<12|K<<6|V:I=(I&7)<<18|K<<12|V<<6|y[E++]&63,I<65536)O+=String.fromCharCode(I);else{const B=I-65536;O+=String.fromCharCode(55296|B>>10,56320|B&1023)}}return O}function p(y,E){return y?f(r.HEAPU8,y,E):""}const m={emscripten_get_now:XW,emscripten_memcpy_big:s,emscripten_resize_heap:u,fd_write:()=>0};async function b(){const E=await e({env:m,wasi_snapshot_preview1:m});t=E.memory,a(t.buffer),Object.assign(r,E),r.UTF8ToString=p}return await b(),r}var ZW=Object.defineProperty,JW=(e,t,n)=>t in e?ZW(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,xn=(e,t,n)=>JW(e,typeof t!="symbol"?t+"":t,n);let Cn=null;function eK(e){throw new l4(e.UTF8ToString(e.getLastOnigError()))}class Fh{constructor(t){xn(this,"utf16Length"),xn(this,"utf8Length"),xn(this,"utf16Value"),xn(this,"utf8Value"),xn(this,"utf16OffsetToUtf8"),xn(this,"utf8OffsetToUtf16");const n=t.length,r=Fh._utf8ByteLength(t),a=r!==n,s=a?new Uint32Array(n+1):null;a&&(s[n]=r);const l=a?new Uint32Array(r+1):null;a&&(l[r]=n);const u=new Uint8Array(r);let d=0;for(let f=0;f<n;f++){const p=t.charCodeAt(f);let m=p,b=!1;if(p>=55296&&p<=56319&&f+1<n){const y=t.charCodeAt(f+1);y>=56320&&y<=57343&&(m=(p-55296<<10)+65536|y-56320,b=!0)}a&&(s[f]=d,b&&(s[f+1]=d),m<=127?l[d+0]=f:m<=2047?(l[d+0]=f,l[d+1]=f):m<=65535?(l[d+0]=f,l[d+1]=f,l[d+2]=f):(l[d+0]=f,l[d+1]=f,l[d+2]=f,l[d+3]=f)),m<=127?u[d++]=m:m<=2047?(u[d++]=192|(m&1984)>>>6,u[d++]=128|(m&63)>>>0):m<=65535?(u[d++]=224|(m&61440)>>>12,u[d++]=128|(m&4032)>>>6,u[d++]=128|(m&63)>>>0):(u[d++]=240|(m&1835008)>>>18,u[d++]=128|(m&258048)>>>12,u[d++]=128|(m&4032)>>>6,u[d++]=128|(m&63)>>>0),b&&f++}this.utf16Length=n,this.utf8Length=r,this.utf16Value=t,this.utf8Value=u,this.utf16OffsetToUtf8=s,this.utf8OffsetToUtf16=l}static _utf8ByteLength(t){let n=0;for(let r=0,a=t.length;r<a;r++){const s=t.charCodeAt(r);let l=s,u=!1;if(s>=55296&&s<=56319&&r+1<a){const d=t.charCodeAt(r+1);d>=56320&&d<=57343&&(l=(s-55296<<10)+65536|d-56320,u=!0)}l<=127?n+=1:l<=2047?n+=2:l<=65535?n+=3:n+=4,u&&r++}return n}createString(t){const n=t.omalloc(this.utf8Length);return t.HEAPU8.set(this.utf8Value,n),n}}const jh=class Ma{constructor(t){if(xn(this,"id",++Ma.LAST_ID),xn(this,"_onigBinding"),xn(this,"content"),xn(this,"utf16Length"),xn(this,"utf8Length"),xn(this,"utf16OffsetToUtf8"),xn(this,"utf8OffsetToUtf16"),xn(this,"ptr"),!Cn)throw new l4("Must invoke loadWasm first.");this._onigBinding=Cn,this.content=t;const n=new Fh(t);this.utf16Length=n.utf16Length,this.utf8Length=n.utf8Length,this.utf16OffsetToUtf8=n.utf16OffsetToUtf8,this.utf8OffsetToUtf16=n.utf8OffsetToUtf16,this.utf8Length<1e4&&!Ma._sharedPtrInUse?(Ma._sharedPtr||(Ma._sharedPtr=Cn.omalloc(1e4)),Ma._sharedPtrInUse=!0,Cn.HEAPU8.set(n.utf8Value,Ma._sharedPtr),this.ptr=Ma._sharedPtr):this.ptr=n.createString(Cn)}convertUtf8OffsetToUtf16(t){return this.utf8OffsetToUtf16?t<0?0:t>this.utf8Length?this.utf16Length:this.utf8OffsetToUtf16[t]:t}convertUtf16OffsetToUtf8(t){return this.utf16OffsetToUtf8?t<0?0:t>this.utf16Length?this.utf8Length:this.utf16OffsetToUtf8[t]:t}dispose(){this.ptr===Ma._sharedPtr?Ma._sharedPtrInUse=!1:this._onigBinding.ofree(this.ptr)}};xn(jh,"LAST_ID",0);xn(jh,"_sharedPtr",0);xn(jh,"_sharedPtrInUse",!1);let fw=jh;class tK{constructor(t){if(xn(this,"_onigBinding"),xn(this,"_ptr"),!Cn)throw new l4("Must invoke loadWasm first.");const n=[],r=[];for(let u=0,d=t.length;u<d;u++){const f=new Fh(t[u]);n[u]=f.createString(Cn),r[u]=f.utf8Length}const a=Cn.omalloc(4*t.length);Cn.HEAPU32.set(n,a/4);const s=Cn.omalloc(4*t.length);Cn.HEAPU32.set(r,s/4);const l=Cn.createOnigScanner(a,s,t.length);for(let u=0,d=t.length;u<d;u++)Cn.ofree(n[u]);Cn.ofree(s),Cn.ofree(a),l===0&&eK(Cn),this._onigBinding=Cn,this._ptr=l}dispose(){this._onigBinding.freeOnigScanner(this._ptr)}findNextMatchSync(t,n,r){let a=0;if(typeof r=="number"&&(a=r),typeof t=="string"){t=new fw(t);const s=this._findNextMatchSync(t,n,!1,a);return t.dispose(),s}return this._findNextMatchSync(t,n,!1,a)}_findNextMatchSync(t,n,r,a){const s=this._onigBinding,l=s.findNextOnigScannerMatch(this._ptr,t.id,t.ptr,t.utf8Length,t.convertUtf16OffsetToUtf8(n),a);if(l===0)return null;const u=s.HEAPU32;let d=l/4;const f=u[d++],p=u[d++],m=[];for(let b=0;b<p;b++){const y=t.convertUtf8OffsetToUtf16(u[d++]),E=t.convertUtf8OffsetToUtf16(u[d++]);m[b]={start:y,end:E,length:E-y}}return{index:f,captureIndices:m}}}function nK(e){return typeof e.instantiator=="function"}function rK(e){return typeof e.default=="function"}function aK(e){return typeof e.data<"u"}function iK(e){return typeof Response<"u"&&e instanceof Response}function sK(e){return typeof ArrayBuffer<"u"&&(e instanceof ArrayBuffer||ArrayBuffer.isView(e))||typeof Buffer<"u"&&Buffer.isBuffer?.(e)||typeof SharedArrayBuffer<"u"&&e instanceof SharedArrayBuffer||typeof Uint32Array<"u"&&e instanceof Uint32Array}let af;function oK(e){if(af)return af;async function t(){Cn=await KW(async n=>{let r=e;return r=await r,typeof r=="function"&&(r=await r(n)),typeof r=="function"&&(r=await r(n)),nK(r)?r=await r.instantiator(n):rK(r)?r=await r.default(n):(aK(r)&&(r=r.data),iK(r)?typeof WebAssembly.instantiateStreaming=="function"?r=await lK(r)(n):r=await uK(r)(n):sK(r)?r=await dg(r)(n):r instanceof WebAssembly.Module?r=await dg(r)(n):"default"in r&&r.default instanceof WebAssembly.Module&&(r=await dg(r.default)(n))),"instance"in r&&(r=r.instance),"exports"in r&&(r=r.exports),r})}return af=t(),af}function dg(e){return t=>WebAssembly.instantiate(e,t)}function lK(e){return t=>WebAssembly.instantiateStreaming(e,t)}function uK(e){return async t=>{const n=await e.arrayBuffer();return WebAssembly.instantiate(n,t)}}async function cK(e){return e&&await oK(e),{createScanner(t){return new tK(t.map(n=>typeof n=="string"?n:n.source))},createString(t){return new fw(t)}}}const V8=qW({langs:dw,themes:YW,engine:()=>cK(P(()=>import("./wasm-CG6Dc4jp.js"),[]))});function lu(e){if([...e].length!==1)throw new Error(`Expected "${e}" to be a single code point`);return e.codePointAt(0)}function dK(e,t,n){return e.has(t)||e.set(t,n),e.get(t)}const u4=new Set(["alnum","alpha","ascii","blank","cntrl","digit","graph","lower","print","punct","space","upper","word","xdigit"]),On=String.raw;function uu(e,t){if(e==null)throw new Error(t??"Value expected");return e}const hw=On`\[\^?`,mw=`c.? | C(?:-.?)?|${On`[pP]\{(?:\^?[-\x20_]*[A-Za-z][-\x20\w]*\})?`}|${On`x[89A-Fa-f]\p{AHex}(?:\\x[89A-Fa-f]\p{AHex})*`}|${On`u(?:\p{AHex}{4})? | x\{[^\}]*\}? | x\p{AHex}{0,2}`}|${On`o\{[^\}]*\}?`}|${On`\d{1,3}`}`,c4=/[?*+][?+]?|\{(?:\d+(?:,\d*)?|,\d+)\}\??/,sf=new RegExp(On`
475  \\ (?:
476    ${mw}
477    | [gk]<[^>]*>?
478    | [gk]'[^']*'?
479    | .
480  )
481  | \( (?:
482    \? (?:
483      [:=!>({]
484      | <[=!]
485      | <[^>]*>
486      | '[^']*'
487      | ~\|?
488      | #(?:[^)\\]|\\.?)*
489      | [^:)]*[:)]
490    )?
491    | \*[^\)]*\)?
492  )?
493  | (?:${c4.source})+
494  | ${hw}
495  | .
496`.replace(/\s+/g,""),"gsu"),fg=new RegExp(On`
497  \\ (?:
498    ${mw}
499    | .
500  )
501  | \[:(?:\^?\p{Alpha}+|\^):\]
502  | ${hw}
503  | &&
504  | .
505`.replace(/\s+/g,""),"gsu");function fK(e,t={}){const n={flags:"",...t,rules:{captureGroup:!1,singleline:!1,...t.rules}};if(typeof e!="string")throw new Error("String expected as pattern");const r=RK(n.flags),a=[r.extended],s={captureGroup:n.rules.captureGroup,getCurrentModX(){return a.at(-1)},numOpenGroups:0,popModX(){a.pop()},pushModX(m){a.push(m)},replaceCurrentModX(m){a[a.length-1]=m},singleline:n.rules.singleline};let l=[],u;for(sf.lastIndex=0;u=sf.exec(e);){const m=hK(s,e,u[0],sf.lastIndex);m.tokens?l.push(...m.tokens):m.token&&l.push(m.token),m.lastIndex!==void 0&&(sf.lastIndex=m.lastIndex)}const d=[];let f=0;l.filter(m=>m.type==="GroupOpen").forEach(m=>{m.kind==="capturing"?m.number=++f:m.raw==="("&&d.push(m)}),f||d.forEach((m,b)=>{m.kind="capturing",m.number=b+1});const p=f||d.length;return{tokens:l.map(m=>m.type==="EscapedNumber"?LK(m,p):m).flat(),flags:r}}function hK(e,t,n,r){const[a,s]=n;if(n==="["||n==="[^"){const l=mK(t,n,r);return{tokens:l.tokens,lastIndex:l.lastIndex}}if(a==="\\"){if("AbBGyYzZ".includes(s))return{token:G8(n,n)};if(/^\\g[<']/.test(n)){if(!/^\\g(?:<[^>]+>|'[^']+')$/.test(n))throw new Error(`Invalid group name "${n}"`);return{token:SK(n)}}if(/^\\k[<']/.test(n)){if(!/^\\k(?:<[^>]+>|'[^']+')$/.test(n))throw new Error(`Invalid group name "${n}"`);return{token:gw(n)}}if(s==="K")return{token:bw("keep",n)};if(s==="N"||s==="R")return{token:fo("newline",n,{negate:s==="N"})};if(s==="O")return{token:fo("any",n)};if(s==="X")return{token:fo("text_segment",n)};const l=pw(n,{inCharClass:!1});return Array.isArray(l)?{tokens:l}:{token:l}}if(a==="("){if(s==="*")return{token:CK(n)};if(n==="(?{")throw new Error(`Unsupported callout "${n}"`);if(n.startsWith("(?#")){if(t[r]!==")")throw new Error('Unclosed comment group "(?#"');return{lastIndex:r+1}}if(/^\(\?[-imx]+[:)]$/.test(n))return{token:kK(n,e)};if(e.pushModX(e.getCurrentModX()),e.numOpenGroups++,n==="("&&!e.captureGroup||n==="(?:")return{token:Nl("group",n)};if(n==="(?>")return{token:Nl("atomic",n)};if(n==="(?="||n==="(?!"||n==="(?<="||n==="(?<!")return{token:Nl(n[2]==="<"?"lookbehind":"lookahead",n,{negate:n.endsWith("!")})};if(n==="("&&e.captureGroup||n.startsWith("(?<")&&n.endsWith(">")||n.startsWith("(?'")&&n.endsWith("'"))return{token:Nl("capturing",n,{...n!=="("&&{name:n.slice(3,-1)}})};if(n.startsWith("(?~")){if(n==="(?~|")throw new Error(`Unsupported absence function kind "${n}"`);return{token:Nl("absence_repeater",n)}}throw n==="(?("?new Error(`Unsupported conditional "${n}"`):new Error(`Invalid or unsupported group option "${n}"`)}if(n===")"){if(e.popModX(),e.numOpenGroups--,e.numOpenGroups<0)throw new Error('Unmatched ")"');return{token:EK(n)}}if(e.getCurrentModX()){if(n==="#"){const l=t.indexOf(`
506`,r);return{lastIndex:l===-1?t.length:l}}if(/^\s$/.test(n)){const l=/\s+/y;return l.lastIndex=r,{lastIndex:l.exec(t)?l.lastIndex:r}}}if(n===".")return{token:fo("dot",n)};if(n==="^"||n==="$"){const l=e.singleline?{"^":On`\A`,$:On`\Z`}[n]:n;return{token:G8(l,n)}}return n==="|"?{token:gK(n)}:c4.test(n)?{tokens:IK(n)}:{token:Ai(lu(n),n)}}function mK(e,t,n){const r=[Y8(t[1]==="^",t)];let a=1,s;for(fg.lastIndex=n;s=fg.exec(e);){const l=s[0];if(l[0]==="["&&l[1]!==":")a++,r.push(Y8(l[1]==="^",l));else if(l==="]"){if(r.at(-1).type==="CharacterClassOpen")r.push(Ai(93,l));else if(a--,r.push(bK(l)),!a)break}else{const u=pK(l);Array.isArray(u)?r.push(...u):r.push(u)}}return{tokens:r,lastIndex:fg.lastIndex||e.length}}function pK(e){if(e[0]==="\\")return pw(e,{inCharClass:!0});if(e[0]==="["){const t=/\[:(?<negate>\^?)(?<name>[a-z]+):\]/.exec(e);if(!t||!u4.has(t.groups.name))throw new Error(`Invalid POSIX class "${e}"`);return fo("posix",e,{value:t.groups.name,negate:!!t.groups.negate})}return e==="-"?yK(e):e==="&&"?vK(e):Ai(lu(e),e)}function pw(e,{inCharClass:t}){const n=e[1];if(n==="c"||n==="C")return AK(e);if("dDhHsSwW".includes(n))return NK(e);if(e.startsWith(On`\o{`))throw new Error(`Incomplete, invalid, or unsupported octal code point "${e}"`);if(/^\\[pP]\{/.test(e)){if(e.length===3)throw new Error(`Incomplete or invalid Unicode property "${e}"`);return OK(e)}if(new RegExp("^\\\\x[89A-Fa-f]\\p{AHex}","u").test(e))try{const r=e.split(/\\x/).slice(1).map(l=>parseInt(l,16)),a=new TextDecoder("utf-8",{ignoreBOM:!0,fatal:!0}).decode(new Uint8Array(r)),s=new TextEncoder;return[...a].map(l=>{const u=[...s.encode(l)].map(d=>`\\x${d.toString(16)}`).join("");return Ai(lu(l),u)})}catch{throw new Error(`Multibyte code "${e}" incomplete or invalid in Oniguruma`)}if(n==="u"||n==="x")return Ai(DK(e),e);if(Q8.has(n))return Ai(Q8.get(n),e);if(/\d/.test(n))return xK(t,e);if(e==="\\")throw new Error(On`Incomplete escape "\"`);if(n==="M")throw new Error(`Unsupported meta "${e}"`);if([...e].length===2)return Ai(e.codePointAt(1),e);throw new Error(`Unexpected escape "${e}"`)}function gK(e){return{type:"Alternator",raw:e}}function G8(e,t){return{type:"Assertion",kind:e,raw:t}}function gw(e){return{type:"Backreference",raw:e}}function Ai(e,t){return{type:"Character",value:e,raw:t}}function bK(e){return{type:"CharacterClassClose",raw:e}}function yK(e){return{type:"CharacterClassHyphen",raw:e}}function vK(e){return{type:"CharacterClassIntersector",raw:e}}function Y8(e,t){return{type:"CharacterClassOpen",negate:e,raw:t}}function fo(e,t,n={}){return{type:"CharacterSet",kind:e,...n,raw:t}}function bw(e,t,n={}){return e==="keep"?{type:"Directive",kind:e,raw:t}:{type:"Directive",kind:e,flags:uu(n.flags),raw:t}}function xK(e,t){return{type:"EscapedNumber",inCharClass:e,raw:t}}function EK(e){return{type:"GroupClose",raw:e}}function Nl(e,t,n={}){return{type:"GroupOpen",kind:e,...n,raw:t}}function _K(e,t,n,r){return{type:"NamedCallout",kind:e,tag:t,arguments:n,raw:r}}function TK(e,t,n,r){return{type:"Quantifier",kind:e,min:t,max:n,raw:r}}function SK(e){return{type:"Subroutine",raw:e}}const wK=new Set(["COUNT","CMP","ERROR","FAIL","MAX","MISMATCH","SKIP","TOTAL_COUNT"]),Q8=new Map([["a",7],["b",8],["e",27],["f",12],["n",10],["r",13],["t",9],["v",11]]);function AK(e){const t=e[1]==="c"?e[2]:e[3];if(!t||!/[A-Za-z]/.test(t))throw new Error(`Unsupported control character "${e}"`);return Ai(lu(t.toUpperCase())-64,e)}function kK(e,t){let{on:n,off:r}=/^\(\?(?<on>[imx]*)(?:-(?<off>[-imx]*))?/.exec(e).groups;r??="";const a=(t.getCurrentModX()||n.includes("x"))&&!r.includes("x"),s=W8(n),l=W8(r),u={};if(s&&(u.enable=s),l&&(u.disable=l),e.endsWith(")"))return t.replaceCurrentModX(a),bw("flags",e,{flags:u});if(e.endsWith(":"))return t.pushModX(a),t.numOpenGroups++,Nl("group",e,{...(s||l)&&{flags:u}});throw new Error(`Unexpected flag modifier "${e}"`)}function CK(e){const t=/\(\*(?<name>[A-Za-z_]\w*)?(?:\[(?<tag>(?:[A-Za-z_]\w*)?)\])?(?:\{(?<args>[^}]*)\})?\)/.exec(e);if(!t)throw new Error(`Incomplete or invalid named callout "${e}"`);const{name:n,tag:r,args:a}=t.groups;if(!n)throw new Error(`Invalid named callout "${e}"`);if(r==="")throw new Error(`Named callout tag with empty value not allowed "${e}"`);const s=a?a.split(",").filter(p=>p!=="").map(p=>/^[+-]?\d+$/.test(p)?+p:p):[],[l,u,d]=s,f=wK.has(n)?n.toLowerCase():"custom";switch(f){case"fail":case"mismatch":case"skip":if(s.length>0)throw new Error(`Named callout arguments not allowed "${s}"`);break;case"error":if(s.length>1)throw new Error(`Named callout allows only one argument "${s}"`);if(typeof l=="string")throw new Error(`Named callout argument must be a number "${l}"`);break;case"max":if(!s.length||s.length>2)throw new Error(`Named callout must have one or two arguments "${s}"`);if(typeof l=="string"&&!/^[A-Za-z_]\w*$/.test(l))throw new Error(`Named callout argument one must be a tag or number "${l}"`);if(s.length===2&&(typeof u=="number"||!/^[<>X]$/.test(u)))throw new Error(`Named callout optional argument two must be '<', '>', or 'X' "${u}"`);break;case"count":case"total_count":if(s.length>1)throw new Error(`Named callout allows only one argument "${s}"`);if(s.length===1&&(typeof l=="number"||!/^[<>X]$/.test(l)))throw new Error(`Named callout optional argument must be '<', '>', or 'X' "${l}"`);break;case"cmp":if(s.length!==3)throw new Error(`Named callout must have three arguments "${s}"`);if(typeof l=="string"&&!/^[A-Za-z_]\w*$/.test(l))throw new Error(`Named callout argument one must be a tag or number "${l}"`);if(typeof u=="number"||!/^(?:[<>!=]=|[<>])$/.test(u))throw new Error(`Named callout argument two must be '==', '!=', '>', '<', '>=', or '<=' "${u}"`);if(typeof d=="string"&&!/^[A-Za-z_]\w*$/.test(d))throw new Error(`Named callout argument three must be a tag or number "${d}"`);break;case"custom":throw new Error(`Undefined callout name "${n}"`);default:throw new Error(`Unexpected named callout kind "${f}"`)}return _K(f,r??null,a?.split(",")??null,e)}function X8(e){let t=null,n,r;if(e[0]==="{"){const{minStr:a,maxStr:s}=/^\{(?<minStr>\d*)(?:,(?<maxStr>\d*))?/.exec(e).groups,l=1e5;if(+a>l||s&&+s>l)throw new Error("Quantifier value unsupported in Oniguruma");if(n=+a,r=s===void 0?+a:s===""?1/0:+s,n>r&&(t="possessive",[n,r]=[r,n]),e.endsWith("?")){if(t==="possessive")throw new Error('Unsupported possessive interval quantifier chain with "?"');t="lazy"}else t||(t="greedy")}else n=e[0]==="+"?1:0,r=e[0]==="?"?1:1/0,t=e[1]==="+"?"possessive":e[1]==="?"?"lazy":"greedy";return TK(t,n,r,e)}function NK(e){const t=e[1].toLowerCase();return fo({d:"digit",h:"hex",s:"space",w:"word"}[t],e,{negate:e[1]!==t})}function OK(e){const{p:t,neg:n,value:r}=/^\\(?<p>[pP])\{(?<neg>\^?)(?<value>[^}]+)/.exec(e).groups;return fo("property",e,{value:r,negate:t==="P"&&!n||t==="p"&&!!n})}function W8(e){const t={};return e.includes("i")&&(t.ignoreCase=!0),e.includes("m")&&(t.dotAll=!0),e.includes("x")&&(t.extended=!0),Object.keys(t).length?t:null}function RK(e){const t={ignoreCase:!1,dotAll:!1,extended:!1,digitIsAscii:!1,posixIsAscii:!1,spaceIsAscii:!1,wordIsAscii:!1,textSegmentMode:null};for(let n=0;n<e.length;n++){const r=e[n];if(!"imxDPSWy".includes(r))throw new Error(`Invalid flag "${r}"`);if(r==="y"){if(!/^y{[gw]}/.test(e.slice(n)))throw new Error('Invalid or unspecified flag "y" mode');t.textSegmentMode=e[n+2]==="g"?"grapheme":"word",n+=3;continue}t[{i:"ignoreCase",m:"dotAll",x:"extended",D:"digitIsAscii",P:"posixIsAscii",S:"spaceIsAscii",W:"wordIsAscii"}[r]]=!0}return t}function DK(e){if(new RegExp("^(?:\\\\u(?!\\p{AHex}{4})|\\\\x(?!\\p{AHex}{1,2}|\\{\\p{AHex}{1,8}\\}))","u").test(e))throw new Error(`Incomplete or invalid escape "${e}"`);const t=e[2]==="{"?new RegExp("^\\\\x\\{\\s*(?<hex>\\p{AHex}+)","u").exec(e).groups.hex:e.slice(2);return parseInt(t,16)}function LK(e,t){const{raw:n,inCharClass:r}=e,a=n.slice(1);if(!r&&(a!=="0"&&a.length===1||a[0]!=="0"&&+a<=t))return[gw(n)];const s=[],l=a.match(/^[0-7]+|\d/g);for(let u=0;u<l.length;u++){const d=l[u];let f;if(u===0&&d!=="8"&&d!=="9"){if(f=parseInt(d,8),f>127)throw new Error(On`Octal encoded byte above 177 unsupported "${n}"`)}else f=lu(d);s.push(Ai(f,(u===0?"\\":"")+d))}return s}function IK(e){const t=[],n=new RegExp(c4,"gy");let r;for(;r=n.exec(e);){const a=r[0];if(a[0]==="{"){const s=/^\{(?<min>\d+),(?<max>\d+)\}\??$/.exec(a);if(s){const{min:l,max:u}=s.groups;if(+l>+u&&a.endsWith("?")){n.lastIndex--,t.push(X8(a.slice(0,-1)));continue}}}t.push(X8(a))}return t}function yw(e,t){if(!Array.isArray(e.body))throw new Error("Expected node with body array");if(e.body.length!==1)return!1;const n=e.body[0];return!t||Object.keys(t).every(r=>t[r]===n[r])}function MK(e){return PK.has(e.type)}const PK=new Set(["AbsenceFunction","Backreference","CapturingGroup","Character","CharacterClass","CharacterSet","Group","Quantifier","Subrout
506ine"]);function vw(e,t={}){const n={flags:"",normalizeUnknownPropertyNames:!1,skipBackrefValidation:!1,skipLookbehindValidation:!1,skipPropertyNameValidation:!1,unicodePropertyMap:null,...t,rules:{captureGroup:!1,singleline:!1,...t.rules}},r=fK(e,{flags:n.flags,rules:{captureGroup:n.rules.captureGroup,singleline:n.rules.singleline}}),a=(b,y)=>{const E=r.tokens[s.nextIndex];switch(s.parent=b,s.nextIndex++,E.type){case"Alternator":return xo();case"Assertion":return BK(E);case"Backreference":return zK(E,s);case"Character":return qh(E.value,{useLastValid:!!y.isCheckingRangeEnd});case"CharacterClassHyphen":return UK(E,s,y);case"CharacterClassOpen":return HK(E,s,y);case"CharacterSet":return FK(E,s);case"Directive":return YK(E.kind,{flags:E.flags});case"GroupOpen":return jK(E,s,y);case"NamedCallout":return XK(E.kind,E.tag,E.arguments);case"Quantifier":return qK(E,s);case"Subroutine":return $K(E,s);default:throw new Error(`Unexpected token type "${E.type}"`)}},s={capturingGroups:[],hasNumberedRef:!1,namedGroupsByName:new Map,nextIndex:0,normalizeUnknownPropertyNames:n.normalizeUnknownPropertyNames,parent:null,skipBackrefValidation:n.skipBackrefValidation,skipLookbehindValidation:n.skipLookbehindValidation,skipPropertyNameValidation:n.skipPropertyNameValidation,subroutines:[],tokens:r.tokens,unicodePropertyMap:n.unicodePropertyMap,walk:a},l=KK(QK(r.flags));let u=l.body[0];for(;s.nextIndex<r.tokens.length;){const b=a(u,{});b.type==="Alternative"?(l.body.push(b),u=b):u.body.push(b)}const{capturingGroups:d,hasNumberedRef:f,namedGroupsByName:p,subroutines:m}=s;if(f&&p.size&&!n.rules.captureGroup)throw new Error("Numbered backref/subroutine not allowed when using named capture");for(const{ref:b}of m)if(typeof b=="number"){if(b>d.length)throw new Error("Subroutine uses a group number that's not defined");b&&(d[b-1].isSubroutined=!0)}else if(p.has(b)){if(p.get(b).length>1)throw new Error(On`Subroutine uses a duplicate group name "\g<${b}>"`);p.get(b)[0].isSubroutined=!0}else throw new Error(On`Subroutine uses a group name that's not defined "\g<${b}>"`);return l}function BK({kind:e}){return N2(uu({"^":"line_start",$:"line_end","\\A":"string_start","\\b":"word_boundary","\\B":"word_boundary","\\G":"search_start","\\y":"text_segment_boundary","\\Y":"text_segment_boundary","\\z":"string_end","\\Z":"string_end_newline"}[e],`Unexpected assertion kind "${e}"`),{negate:e===On`\B`||e===On`\Y`})}function zK({raw:e},t){const n=/^\\k[<']/.test(e),r=n?e.slice(3,-1):e.slice(1),a=(s,l=!1)=>{const u=t.capturingGroups.length;let d=!1;if(s>u)if(t.skipBackrefValidation)d=!0;else throw new Error(`Not enough capturing groups defined to the left "${e}"`);return t.hasNumberedRef=!0,O2(l?u+1-s:s,{orphan:d})};if(n){const s=/^(?<sign>-?)0*(?<num>[1-9]\d*)$/.exec(r);if(s)return a(+s.groups.num,!!s.groups.sign);if(/[-+]/.test(r))throw new Error(`Invalid backref name "${e}"`);
vendor: 18,479 bytes, lines 506-603
506if(!t.namedGroupsByName.has(r))throw new Error(`Group name not defined to the left "${e}"`);return O2(r)}return a(+r)}function UK(e,t,n){const{tokens:r,walk:a}=t,s=t.parent,l=s.body.at(-1),u=r[t.nextIndex];if(!n.isCheckingRangeEnd&&l&&l.type!=="CharacterClass"&&l.type!=="CharacterClassRange"&&u&&u.type!=="CharacterClassOpen"&&u.type!=="CharacterClassClose"&&u.type!=="CharacterClassIntersector"){const d=a(s,{...n,isCheckingRangeEnd:!0});if(l.type==="Character"&&d.type==="Character")return s.body.pop(),GK(l,d);throw new Error("Invalid character class range")}return qh(lu("-"))}function HK({negate:e},t,n){const{tokens:r,walk:a}=t,s=r[t.nextIndex],l=[xf()];let u=J8(s);for(;u.type!=="CharacterClassClose";){if(u.type==="CharacterClassIntersector")l.push(xf()),t.nextIndex++;else{const f=l.at(-1);f.body.push(a(f,n))}u=J8(r[t.nextIndex],s)}const d=xf({negate:e});return l.length===1?d.body=l[0].body:(d.kind="intersection",d.body=l.map(f=>f.body.length===1?f.body[0]:f)),t.nextIndex++,d}function FK({kind:e,negate:t,value:n},r){const{normalizeUnknownPropertyNames:a,skipPropertyNameValidation:s,unicodePropertyMap:l}=r;if(e==="property"){const u=$h(n);if(u4.has(u)&&!l?.has(u))e="posix",n=u;else return Ol(n,{negate:t,normalizeUnknownPropertyNames:a,skipPropertyNameValidation:s,unicodePropertyMap:l})}return e==="posix"?WK(n,{negate:t}):R2(e,{negate:t})}function jK(e,t,n){const{tokens:r,capturingGroups:a,namedGroupsByName:s,skipLookbehindValidation:l,walk:u}=t,d=ZK(e),f=d.type==="AbsenceFunction",p=Z8(d),m=p&&d.negate;if(d.type==="CapturingGroup"&&(a.push(d),d.name&&dK(s,d.name,[]).push(d)),f&&n.isInAbsenceFunction)throw new Error("Nested absence function not supported by Oniguruma");let b=eE(r[t.nextIndex]);for(;b.type!=="GroupClose";){if(b.type==="Alternator")d.body.push(xo()),t.nextIndex++;else{const y=d.body.at(-1),E=u(y,{...n,isInAbsenceFunction:n.isInAbsenceFunction||f,isInLookbehind:n.isInLookbehind||p,isInNegLookbehind:n.isInNegLookbehind||m});if(y.body.push(E),(p||n.isInLookbehind)&&!l){const T="Lookbehind includes a pattern not allowed by Oniguruma";if(m||n.isInNegLookbehind){if(K8(E)||E.type==="CapturingGroup")throw new Error(T)}else if(K8(E)||Z8(E)&&E.negate)throw new Error(T)}}b=eE(r[t.nextIndex])}return t.nextIndex++,d}function qK({kind:e,min:t,max:n},r){const a=r.parent,s=a.body.at(-1);if(!s||!MK(s))throw new Error("Quantifier requires a repeatable token");const l=Ew(e,t,n,s);return a.body.pop(),l}function $K({raw:e},t){const{capturingGroups:n,subroutines:r}=t;let a=e.slice(3,-1);const s=/^(?<sign>[-+]?)0*(?<num>[1-9]\d*)$/.exec(a);if(s){const u=+s.groups.num,d=n.length;if(t.hasNumberedRef=!0,a={"":u,"+":d+u,"-":d+1-u}[s.groups.sign],a<1)throw new Error("Invalid subroutine number")}else a==="0"&&(a=0);const l=_w(a);return r.push(l),l}function VK(e,t){return{type:"AbsenceFunction",kind:e,body:b0(t?.body)}}function xo(e){return{type:"Alternative",body:Tw(e?.body)}}function N2(e,t){const n={type:"Assertion",kind:e};return(e==="word_boundary"||e==="text_segment_boundary")&&(n.negate=!!t?.negate),n}function O2(e,t){const n=!!t?.orphan;return{type:"Backreference",ref:e,...n&&{orphan:n}}}function xw(e,t){const n={name:void 0,isSubroutined:!1,...t};if(n.name!==void 0&&!JK(n.name))throw new Error(`Group name "${n.name}" invalid in Oniguruma`);return{type:"CapturingGroup",number:e,...n.name&&{name:n.name},...n.isSubroutined&&{isSubroutined:n.isSubroutined},body:b0(t?.body)}}function qh(e,t){const n={useLastValid:!1,...t};if(e>1114111){const r=e.toString(16);if(n.useLastValid)e=1114111;else throw e>1310719?new Error(`Invalid code point out of range "\\x{${r}}"`):new Error(`Invalid code point out of range in JS "\\x{${r}}"`)}return{type:"Character",value:e}}function xf(e){const t={kind:"union",negate:!1,...e};return{type:"CharacterClass",kind:t.kind,negate:t.negate,body:Tw(e?.body)}}function GK(e,t){if(t.value<e.value)throw new Error("Character class range out of order");return{type:"CharacterClassRange",min:e,max:t}}function R2(e,t){const n=!!t?.negate,r={type:"CharacterSet",kind:e};return(e==="digit"||e==="hex"||e==="newline"||e==="space"||e==="word")&&(r.negate=n),(e==="text_segment"||e==="newline"&&!n)&&(r.variableLength=!0),r}function YK(e,t={}){if(e==="keep")return{type:"Directive",kind:e};if(e==="flags")return{type:"Directive",kind:e,flags:uu(t.flags)};throw new Error(`Unexpected directive kind "${e}"`)}function QK(e){return{type:"Flags",...e}}function ga(e){const t=e?.atomic,n=e?.flags;if(t&&n)throw new Error("Atomic group cannot have flags");return{type:"Group",...t&&{atomic:t},...n&&{flags:n},body:b0(e?.body)}}function lo(e){const t={behind:!1,negate:!1,...e};return{type:"LookaroundAssertion",kind:t.behind?"lookbehind":"lookahead",negate:t.negate,body:b0(e?.body)}}function XK(e,t,n){return{type:"NamedCallout",kind:e,tag:t,arguments:n}}function WK(e,t){const n=!!t?.negate;if(!u4.has(e))throw new Error(`Invalid POSIX class "${e}"`);return{type:"CharacterSet",kind:"posix",value:e,negate:n}}function Ew(e,t,n,r){if(t>n)throw new Error("Invalid reversed quantifier range");return{type:"Quantifier",kind:e,min:t,max:n,body:r}}function KK(e,t){return{type:"Regex",body:b0(t?.body),flags:e}}function _w(e){return{type:"Subroutine",ref:e}}function Ol(e,t){const n={negate:!1,normalizeUnknownPropertyNames:!1,skipPropertyNameValidation:!1,unicodePropertyMap:null,...t};let r=n.unicodePropertyMap?.get($h(e));if(!r){if(n.normalizeUnknownPropertyNames)r=eZ(e);else if(n.unicodePropertyMap&&!n.skipPropertyNameValidation)throw new Error(On`Invalid Unicode property "\p{${e}}"`)}return{type:"CharacterSet",kind:"property",value:r??e,negate:n.negate}}function ZK({flags:e,kind:t,name:n,negate:r,number:a}){switch(t){case"absence_repeater":return VK("repeater");case"atomic":return ga({atomic:!0});case"capturing":return xw(a,{name:n});case"group":return ga({flags:e});case"lookahead":case"lookbehind":return lo({behind:t==="lookbehind",negate:r});default:throw new Error(`Unexpected group kind "${t}"`)}}function b0(e){if(e===void 0)e=[xo()];else if(!Array.isArray(e)||!e.length||!e.every(t=>t.type==="Alternative"))throw new Error("Invalid body; expected array of one or more Alternative nodes");return e}function Tw(e){if(e===void 0)e=[];else if(!Array.isArray(e)||!e.every(t=>!!t.type))throw new Error("Invalid body; expected array of nodes");return e}function K8(e){return e.type==="LookaroundAssertion"&&e.kind==="lookahead"}function Z8(e){return e.type==="LookaroundAssertion"&&e.kind==="lookbehind"}function JK(e){return/^[\p{Alpha}\p{Pc}][^)]*$/u.test(e)}function eZ(e){return e.trim().replace(/[- _]+/g,"_").replace(/[A-Z][a-z]+(?=[A-Z])/g,"$&_").replace(/[A-Za-z]+/g,t=>t[0].toUpperCase()+t.slice(1).toLowerCase())}function $h(e){return e.replace(/[- _]+/g,"").toLowerCase()}function J8(e,t){return uu(e,`${t?.type==="Character"&&t.value===93?"Empty":"Unclosed"} character class`)}function eE(e){return uu(e,"Unclosed group")}function Rc(e,t,n=null){function r(s,l){for(let u=0;u<s.length;u++){const d=a(s[u],l,u,s);u=Math.max(-1,u+d)}}function a(s,l=null,u=null,d=null){let f=0,p=!1;const m={node:s,parent:l,key:u,container:d,root:e,remove(){of(d).splice(Math.max(0,Al(u)+f),1),f--,p=!0},removeAllNextSiblings(){return of(d).splice(Al(u)+1)},removeAllPrevSiblings(){const k=Al(u)+f;return f-=k,of(d).splice(0,Math.max(0,k))},replaceWith(k,O={}){const I=!!O.traverse;d?d[Math.max(0,Al(u)+f)]=k:uu(l,"Can't replace root node")[u]=k,I&&a(k,l,u,d),p=!0},replaceWithMultiple(k,O={}){const I=!!O.traverse;if(of(d).splice(Math.max(0,Al(u)+f),1,...k),f+=k.length-1,I){let K=0;for(let V=0;V<k.length;V++)K+=a(k[V],l,Al(u)+V+K,d)}p=!0},skip(){p=!0}},{type:b}=s,y=t["*"],E=t[b],T=typeof y=="function"?y:y?.enter,N=typeof E=="function"?E:E?.enter;if(T?.(m,n),N?.(m,n),!p)switch(b){case"AbsenceFunction":case"CapturingGroup":case"Group":r(s.body,s);break;case"Alternative":case"CharacterClass":r(s.body,s);break;case"Assertion":case"Backreference":case"Character":case"CharacterSet":case"Directive":case"Flags":case"NamedCallout":case"Subroutine":break;case"CharacterClassRange":a(s.min,s,"min"),a(s.max,s,"max");break;case"LookaroundAssertion":r(s.body,s);break;case"Quantifier":a(s.body,s,"body");break;case"Regex":r(s.body,s),a(s.flags,s,"flags");break;default:throw new Error(`Unexpected node type "${b}"`)}return E?.exit?.(m,n),y?.exit?.(m,n),f}return a(e),e}function of(e){if(!Array.isArray(e))throw new Error("Container expected");return e}function Al(e){if(typeof e!="number")throw new Error("Numeric key expected");return e}const tZ=String.raw`\(\?(?:[:=!>A-Za-z\-]|<[=!]|\(DEFINE\))`;function nZ(e,t){for(let n=0;n<e.length;n++)e[n]>=t&&e[n]++}function rZ(e,t,n,r){return e.slice(0,t)+r+e.slice(t+n.length)}const ia=Object.freeze({DEFAULT:"DEFAULT",CHAR_CLASS:"CHAR_CLASS"});function d4(e,t,n,r){const a=new RegExp(String.raw`${t}|(?<$skip>\[\^?|\\?.)`,"gsu"),s=[!1];let l=0,u="";for(const d of e.matchAll(a)){const{0:f,groups:{$skip:p}}=d;if(!p&&(!r||r===ia.DEFAULT==!l)){n instanceof Function?u+=n(d,{context:l?ia.CHAR_CLASS:ia.DEFAULT,negated:s[s.length-1]}):u+=n;continue}f[0]==="["?(l++,s.push(f[1]==="^")):f==="]"&&l&&(l--,s.pop()),u+=f}return u}function Sw(e,t,n,r){d4(e,t,n,r)}function aZ(e,t,n=0,r){if(!new RegExp(t,"su").test(e))return null;const a=new RegExp(`${t}|(?<$skip>\\\\?.)`,"gsu");a.lastIndex=n;let s=0,l;for(;l=a.exec(e);){const{0:u,groups:{$skip:d}}=l;if(!d&&(!r||r===ia.DEFAULT==!s))return l;u==="["?s++:u==="]"&&s&&s--,a.lastIndex==l.index&&a.lastIndex++}return null}function lf(e,t,n){return!!aZ(e,t,0,n)}function iZ(e,t){const n=/\\?./gsu;n.lastIndex=t;let r=e.length,a=0,s=1,l;for(;l=n.exec(e);){const[u]=l;if(u==="[")a++;else if(a)u==="]"&&a--;else if(u==="(")s++;else if(u===")"&&(s--,!s)){r=l.index;break}}return e.slice(t,r)}const tE=new RegExp(String.raw`(?<noncapturingStart>${tZ})|(?<capturingStart>\((?:\?<[^>]+>)?)|\\?.`,"gsu");function sZ(e,t){const n=t?.hiddenCaptures??[];let r=t?.captureTransfers??new Map;if(!/\(\?>/.test(e))return{pattern:e,captureTransfers:r,hiddenCaptures:n};const a="(?>",s="(?:(?=(",l=[0],u=[];let d=0,f=0,p=NaN,m;do{m=!1;let b=0,y=0,E=!1,T;for(tE.lastIndex=Number.isNaN(p)?0:p+s.length;T=tE.exec(e);){const{0:N,index:k,groups:{capturingStart:O,noncapturingStart:I}}=T;if(N==="[")b++;else if(b)N==="]"&&b--;else if(N===a&&!E)p=k,E=!0;else if(E&&I)y++;else if(O)E?y++:(d++,l.push(d+f));else if(N===")"&&E){if(!y){f++;const K=d+f;if(e=`${e.slice(0,p)}${s}${e.slice(p+a.length,k)}))<$$${K}>)${e.slice(k+1)}`,m=!0,u.push(K),nZ(n,K),r.size){const V=new Map;r.forEach((B,z)=>{V.set(z>=K?z+1:z,B.map(W=>W>=K?W+1:W))}),r=V}break}y--}}}while(m);return n.push(...u),e=d4(e,String.raw`\\(?<backrefNum>[1-9]\d*)|<\$\$(?<wrappedBackrefNum>\d+)>`,({0:b,groups:{backrefNum:y,wrappedBackrefNum:E}})=>{if(y){const T=+y;if(T>l.length-1)throw new Error(`Backref "${b}" greater than number of captures`);return`\\${l[T]}`}return`\\${E}`},ia.DEFAULT),{pattern:e,captureTransfers:r,hiddenCaptures:n}}const ww=String.raw`(?:[?*+]|\{\d+(?:,\d*)?\})`,hg=new RegExp(String.raw`
507\\(?: \d+
508  | c[A-Za-z]
509  | [gk]<[^>]+>
510  | [pPu]\{[^\}]+\}
511  | u[A-Fa-f\d]{4}
512  | x[A-Fa-f\d]{2}
513  )
514| \((?: \? (?: [:=!>]
515  | <(?:[=!]|[^>]+>)
516  | [A-Za-z\-]+:
517  | \(DEFINE\)
518  ))?
519| (?<qBase>${ww})(?<qMod>[?+]?)(?<invalidQ>[?*+\{]?)
520| \\?.
521`.replace(/\s+/g,""),"gsu");function oZ(e){if(!new RegExp(`${ww}\\+`).test(e))return{pattern:e};const t=[];let n=null,r=null,a="",s=0,l;for(hg.lastIndex=0;l=hg.exec(e);){const{0:u,index:d,groups:{qBase:f,qMod:p,invalidQ:m}}=l;if(u==="[")s||(r=d),s++;else if(u==="]")s?s--:r=null;else if(!s)if(p==="+"&&a&&!a.startsWith("(")){if(m)throw new Error(`Invalid quantifier "${u}"`);let b=-1;if(/^\{\d+\}$/.test(f))e=rZ(e,d+f.length,p,"");else{if(a===")"||a==="]"){const y=a===")"?n:r;if(y===null)throw new Error(`Invalid unmatched "${a}"`);e=`${e.slice(0,y)}(?>${e.slice(y,d)}${f})${e.slice(d+u.length)}`}else e=`${e.slice(0,d-a.length)}(?>${a}${f})${e.slice(d+u.length)}`;b+=4}hg.lastIndex+=b}else u[0]==="("?t.push(d):u===")"&&(n=t.length?t.pop():null);a=u}return{pattern:e}}const ra=String.raw,lZ=ra`\\g<(?<gRNameOrNum>[^>&]+)&R=(?<gRDepth>[^>]+)>`,D2=ra`\(\?R=(?<rDepth>[^\)]+)\)|${lZ}`,Vh=ra`\(\?<(?![=!])(?<captureName>[^>]+)>`,Aw=ra`${Vh}|(?<unnamed>\()(?!\?)`,ao=new RegExp(ra`${Vh}|${D2}|\(\?|\\?.`,"gsu"),mg="Cannot use multiple overlapping recursions";function uZ(e,t){const{hiddenCaptures:n,mode:r}={hiddenCaptures:[],mode:"plugin",...t};let a=t?.captureTransfers??new Map;if(!new RegExp(D2,"su").test(e))return{pattern:e,captureTransfers:a,hiddenCaptures:n};if(r==="plugin"&&lf(e,ra`\(\?\(DEFINE\)`,ia.DEFAULT))throw new Error("DEFINE groups cannot be used with recursion");const s=[],l=lf(e,ra`\\[1-9]`,ia.DEFAULT),u=new Map,d=[];let f=!1,p=0,m=0,b;for(ao.lastIndex=0;b=ao.exec(e);){const{0:y,groups:{captureName:E,rDepth:T,gRNameOrNum:N,gRDepth:k}}=b;if(y==="[")p++;else if(p)y==="]"&&p--;else if(T){if(nE(T),f)throw new Error(mg);if(l)throw new Error(`${r==="external"?"Backrefs":"Numbered backrefs"} cannot be used with global recursion`);const O=e.slice(0,b.index),I=e.slice(ao.lastIndex);if(lf(I,D2,ia.DEFAULT))throw new Error(mg);const K=+T-1;e=rE(O,I,K,!1,n,s,m),a=iE(a,O,K,s.length,0,m);break}else if(N){nE(k);let O=!1;for(const ee of d)if(ee.name===N||ee.num===+N){if(O=!0,ee.hasRecursedWithin)throw new Error(mg);break}if(!O)throw new Error(ra`Recursive \g cannot be used outside the referenced group "${r==="external"?N:ra`\g<${N}&R=${k}>`}"`);const I=u.get(N),K=iZ(e,I);if(l&&lf(K,ra`${Vh}|\((?!\?)`,ia.DEFAULT))throw new Error(`${r==="external"?"Backrefs":"Numbered backrefs"} cannot be used with recursion of capturing groups`);const V=e.slice(I,b.index),B=K.slice(V.length+y.length),z=s.length,W=+k-1,re=rE(V,B,W,!0,n,s,m);a=iE(a,V,W,s.length-z,z,m);const Y=e.slice(0,I),se=e.slice(I+K.length);e=`${Y}${re}${se}`,ao.lastIndex+=re.length-y.length-V.length-B.length,d.forEach(ee=>ee.hasRecursedWithin=!0),f=!0}else if(E)m++,u.set(String(m),ao.lastIndex),u.set(E,ao.lastIndex),d.push({num:m,name:E});else if(y[0]==="("){const O=y==="(";O&&(m++,u.set(String(m),ao.lastIndex)),d.push(O?{num:m}:{})}else y===")"&&d.pop()}return n.push(...s),{pattern:e,captureTransfers:a,hiddenCaptures:n}}function nE(e){const t=`Max depth must be integer between 2 and 100; used ${e}`;if(!/^[1-9]\d*$/.test(e))throw new Error(t);if(e=+e,e<2||e>100)throw new Error(t)}function rE(e,t,n,r,a,s,l){const u=new Set;r&&Sw(e+t,Vh,({groups:{captureName:f}})=>{u.add(f)},ia.DEFAULT);const d=[n,r?u:null,a,s,l];return`${e}${aE(`(?:${e}`,"forward",...d)}(?:)${aE(`${t})`,"backward",...d)}${t}`}function aE(e,t,n,r,a,s,l){const d=p=>t==="forward"?p+2:n-p+2-1;let f="";for(let p=0;p<n;p++){const m=d(p);f+=d4(e,ra`${Aw}|\\k<(?<backref>[^>]+)>`,({0:b,groups:{captureName:y,unnamed:E,backref:T}})=>{if(T&&r&&!r.has(T))return b;const N=`_$${m}`;if(E||y){const k=l+s.length+1;return s.push(k),cZ(a,k),E?b:`(?<${y}${N}>`}return ra`\k<${T}${N}>`},ia.DEFAULT)}return f}function cZ(e,t){for(let n=0;n<e.length;n++)e[n]>=t&&e[n]++}function iE(e,t,n,r,a,s){if(e.size&&r){let l=0;Sw(t,Aw,()=>l++,ia.DEFAULT);const u=s-l+a,d=new Map;return e.forEach((f,p)=>{const m=(r-l*n)/n,b=l*n,y=p>u+l?p+r:p,E=[];for(const T of f)if(T<=u)E.push(T);else if(T>u+l+m)E.push(T+r);else if(T<=u+l)for(let N=0;N<=n;N++)E.push(T+l*N);else for(let N=0;N<=n;N++)E.push(T+b+m*N);d.set(y,E)}),d}return e}var En=String.fromCodePoint,et=String.raw,Ni={flagGroups:(()=>{try{new RegExp("(?i:)")}catch{return!1}return!0})(),unicodeSets:(()=>{try{new RegExp("","v")}catch{return!1}return!0})()};Ni.bugFlagVLiteralHyphenIsRange=Ni.unicodeSets?(()=>{try{new RegExp(et`[\d\-a]`,"v")}catch{return!0}return!1})():!1;Ni.bugNestedClassIgnoresNegation=Ni.unicodeSets&&new RegExp("[[^a]]","v").test("a");function Zf(e,{enable:t,disable:n}){return{dotAll:!n?.dotAll&&!!(t?.dotAll||e.dotAll),ignoreCase:!n?.ignoreCase&&!!(t?.ignoreCase||e.ignoreCase)}}function Kc(e,t,n){return e.has(t)||e.set(t,n),e.get(t)}function L2(e,t){return sE[e]>=sE[t]}function dZ(e,t){if(e==null)throw new Error(t??"Value expected");return e}var sE={ES2025:2025,ES2024:2024,ES2018:2018},fZ={auto:"auto",ES2025:"ES2025",ES2024:"ES2024",ES2018:"ES2018"};function kw(e={}){if({}.toString.call(e)!=="[object Object]")throw new Error("Unexpected options");if(e.target!==void 0&&!fZ[e.target])throw new Error(`Unexpected target "${e.target}"`);const t={accuracy:"default",avoidSubclass:!1,flags:"",global:!1,hasIndices:!1,lazyCompileLength:1/0,target:"auto",verbose:!1,...e,rules:{allowOrphanBackrefs:!1,asciiWordBoundaries:!1,captureGroup:!1,recursionLimit:20,singleline:!1,...e.rules}};return t.target==="auto"&&(t.target=Ni.flagGroups?"ES2025":Ni.unicodeSets?"ES2024":"ES2018"),t}var hZ="[	-\r ]",mZ=new Set([En(304),En(305)]),xi=et`[\p{L}\p{M}\p{N}\p{Pc}]`;function Cw(e){if(mZ.has(e))return[e];const t=new Set,n=e.toLowerCase(),r=n.toUpperCase(),a=bZ.get(n),s=pZ.get(n),l=gZ.get(n);return[...r].length===1&&t.add(r),l&&t.add(l),a&&t.add(a),t.add(n),s&&t.add(s),[...t]}var f4=new Map(`C Other
522Cc Control cntrl
523Cf Format
524Cn Unassigned
525Co Private_Use
526Cs Surrogate
527L Letter
528LC Cased_Letter
529Ll Lowercase_Letter
530Lm Modifier_Letter
531Lo Other_Letter
532Lt Titlecase_Letter
533Lu Uppercase_Letter
534M Mark Combining_Mark
535Mc Spacing_Mark
536Me Enclosing_Mark
537Mn Nonspacing_Mark
538N Number
539Nd Decimal_Number digit
540Nl Letter_Number
541No Other_Number
542P Punctuation punct
543Pc Connector_Punctuation
544Pd Dash_Punctuation
545Pe Close_Punctuation
546Pf Final_Punctuation
547Pi Initial_Punctuation
548Po Other_Punctuation
549Ps Open_Punctuation
550S Symbol
551Sc Currency_Symbol
552Sk Modifier_Symbol
553Sm Math_Symbol
554So Other_Symbol
555Z Separator
556Zl Line_Separator
557Zp Paragraph_Separator
558Zs Space_Separator
559ASCII
560ASCII_Hex_Digit AHex
561Alphabetic Alpha
562Any
563Assigned
564Bidi_Control Bidi_C
565Bidi_Mirrored Bidi_M
566Case_Ignorable CI
567Cased
568Changes_When_Casefolded CWCF
569Changes_When_Casemapped CWCM
570Changes_When_Lowercased CWL
571Changes_When_NFKC_Casefolded CWKCF
572Changes_When_Titlecased CWT
573Changes_When_Uppercased CWU
574Dash
575Default_Ignorable_Code_Point DI
576Deprecated Dep
577Diacritic Dia
578Emoji
579Emoji_Component EComp
580Emoji_Modifier EMod
581Emoji_Modifier_Base EBase
582Emoji_Presentation EPres
583Extended_Pictographic ExtPict
584Extender Ext
585Grapheme_Base Gr_Base
586Grapheme_Extend Gr_Ext
587Hex_Digit Hex
588IDS_Binary_Operator IDSB
589IDS_Trinary_Operator IDST
590ID_Continue IDC
591ID_Start IDS
592Ideographic Ideo
593Join_Control Join_C
594Logical_Order_Exception LOE
595Lowercase Lower
596Math
597Noncharacter_Code_Point NChar
598Pattern_Syntax Pat_Syn
599Pattern_White_Space Pat_WS
600Quotation_Mark QMark
601Radical
602Regional_Indicator RI
603Sentence_Terminal STerm
604Soft_Dotted SD
605Terminal_Punctuation Term
606Unified_Ideograph UIdeo
607Uppercase Upper
608Variation_Selector VS
609White_Space space
610XID_Continue XIDC
611XID_Start XIDS`.split(/\s/).map(e=>[$h(e),e])),pZ=new Map([["s",En(383)],[En(383),"s"]]),gZ=new Map([[En(223),En(7838)],[En(107),En(8490)],[En(229),En(8491)],[En(969),En(8486)]]),bZ=new Map([gs(453),gs(456),gs(459),gs(498),...pg(8072,8079),...pg(8088,8095),...pg(8104,8111),gs(8124),gs(8140),gs(8188)]),yZ=new Map([["alnum",et`[\p{Alpha}\p{Nd}]`],["alpha",et`\p{Alpha}`],["ascii",et`\p{ASCII}`],["blank",et`[\p{Zs}\t]`],["cntrl",et`\p{Cc}`],["digit",et`\p{Nd}`],["graph",et`[\P{space}&&\P{Cc}&&\P{Cn}&&\P{Cs}]`],["lower",et`\p{Lower}`],["print",et`[[\P{space}&&\P{Cc}&&\P{Cn}&&\P{Cs}]\p{Zs}]`],["punct",et`[\p{P}\p{S}]`],["space",et`\p{space}`],["upper",et`\p{Upper}`],["word",et`[\p{Alpha}\p{M}\p{Nd}\p{Pc}]`],["xdigit",et`\p{AHex}`]]);function vZ(e,t){const n=[];for(let r=e;r<=t;r++)n.push(r);return n}function gs(e){const t=En(e);return[t.toLowerCase(),t]}function pg(e,t){return vZ(e,t).map(n=>gs(n))}var Nw=new Set(["Lower","Lowercase","Upper","Uppercase","Ll","Lowercase_Letter","Lt","Titlecase_Letter","Lu","Uppercase_Letter"]);function xZ(e,t){const n={accuracy:"default",asciiWordBoundaries:!1,avoidSubclass:!1,bestEffortTarget:"ES2025",...t};Ow(e);const r={accuracy:n.accuracy,asciiWordBoundaries:n.asciiWordBoundaries,avoidSubclass:n.avoidSubclass,flagDirectivesByAlt:new Map,jsGroupNameMap:new Map,minTargetEs2024:L2(n.bestEffortTarget,"ES2024"),passedLookbehind:!1,strategy:null,subroutineRefMap:new Map,supportedGNodes:new Set,digitIsAscii:e.flags.digitIsAscii,spaceIsAscii:e.flags.spaceIsAscii,wordIsAscii:e.flags.wordIsAscii};Rc(e,EZ,r);const a={dotAll:e.flags.dotAll,ignoreCase:e.flags.ignoreCase},s={currentFlags:a,prevFlags:null,globalFlags:a,groupOriginByCopy:new Map,groupsByName:new Map,multiplexCapturesToLeftByRef:new Map,openRefs:new Map,reffedNodesByReferencer:new Map,subroutineRefMap:r.subroutineRefMap};Rc(e,_Z,s);const l={groupsByName:s.groupsByName,highestOrphanBackref:0,numCapturesToLeft:0,reffedNodesByReferencer:s.reffedNodesByReferencer};return Rc(e,TZ,l),e._originMap=s.groupOriginByCopy,e._strategy=r.strategy,e}var EZ={AbsenceFunction({node:e,parent:t,replaceWith:n}){const{body:r,kind:a}=e;if(a==="repeater"){const s=ga();s.body[0].body.push(lo({negate:!0,body:r}),Ol("Any"));const l=ga();l.body[0].body.push(Ew("greedy",0,1/0,s)),n(sn(l,t),{traverse:!0})}else throw new Error('Unsupported absence function "(?~|"')},Alternative:{enter({node:e,parent:t,key:n},{flagDirectivesByAlt:r}){const a=e.body.filter(s=>s.kind==="flags");for(let s=n+1;s<t.body.length;s++){const l=t.body[s];Kc(r,l,[]).push(...a)}},exit({node:e},{flagDirectivesByAlt:t}){if(t.get(e)?.length){const n=Dw(t.get(e));if(n){const r=ga({flags:n});r.body[0].body=e.body,e.body=[sn(r,e)]}}}},Assertion({node:e,parent:t,key:n,container:r,root:a,remove:s,replaceWith:l},u){const{kind:d,negate:f}=e,{asciiWordBoundaries:p,avoidSubclass:m,supportedGNodes:b,wordIsAscii:y}=u;if(d==="text_segment_boundary")throw new Error(`Unsupported text segment boundary "\\${f?"Y":"y"}"`);if(d==="line_end")l(sn(lo({body:[xo({body:[N2("string_end")]}),xo({body:[qh(10)]})]}),t));else if(d==="line_start")l(sn(Ei(et`(?<=\A|\n(?!\z))`,{skipLookbehindValidation:!0}),t));else if(d==="search_start")if(b.has(e))a.flags.sticky=!0,s();else{const E=r[n-1];if(E&&NZ(E))l(sn(lo({negate:!0}),t));else{if(m)throw new Error(et`Uses "\G" in a way that requires a subclass`);l(bs(N2("string_start"),t)),u.strategy="clip_search"}}else if(!(d==="string_end"||d==="string_start"))if(d==="string_end_newline")l(sn(Ei(et`(?=\n?\z)`),t));else if(d==="word_boundary"){if(!y&&!p){const E=`(?:(?<=${xi})(?!${xi})|(?<!${xi})(?=${xi}))`,T=`(?:(?<=${xi})(?=${xi})|(?<!${xi})(?!${xi}))`;l(sn(Ei(f?T:E),t))}}else throw new Error(`Unexpected assertion kind "${d}"`)},Backreference({node:e},{jsGroupNameMap:t}){let{ref:n}=e;typeof n=="string"&&!bg(n)&&(n=gg(n,t),e.ref=n)},CapturingGroup({node:e},{jsGroupNameMap:t,subroutineRefMap:n}){let{name:r}=e;r&&!bg(r)&&(r=gg(r,t),e.name=r),n.set(e.number,e),r&&n.set(r,e)},CharacterClassRange({node:e,parent:t,replaceWith:n}){if(t.kind==="intersection"){const r=xf({body:[e]});n(sn(r,t),{traverse:!0})}},CharacterSet({node:e,parent:t,replaceWith:n},{accuracy:r,minTargetEs2024:a,digitIsAscii:s,spaceIsAscii:l,wordIsAscii:u}){const{kind:d,negate:f,value:p}=e;if(s&&(d==="digit"||p==="digit")){n(bs(R2("digit",{negate:f}),t));return}if(l&&(d==="space"||p==="space")){n(sn(yg(Ei(hZ),f),t));return}if(u&&(d==="word"||p==="word")){n(bs(R2("word",{negate:f}),t));return}if(d==="any")n(bs(Ol("Any"),t));else if(d==="digit")n(bs(Ol("Nd",{negate:f}),t));else if(d!=="dot")if(d==="text_segment"){if(r==="strict")throw new Error(et`Use of "\X" requires non-strict accuracy`);const m="\\p{Emoji}(?:\\p{EMod}|\\uFE0F\\u20E3?|[\\x{E0020}-\\x{E007E}]+\\x{E007F})?",b=et`\p{RI}{2}|${m}(?:\u200D${m})*`;n(sn(Ei(et`(?>\r\n|${a?et`\p{RGI_Emoji}`:b}|\P{M}
611\p{M}*)`,{skipPropertyNameValidation:!0}),t))}else if(d==="hex")n(bs(Ol("AHex",{negate:f}),t));else if(d==="newline")n(sn(Ei(f?`[^
612]`:`(?>\r
613?|[
614\v\f…\u2028\u2029])`),t));else if(d==="posix")if(!a&&(p==="graph"||p==="print")){if(r==="strict")throw new Error(`POSIX class "${p}" requires min target ES2024 or non-strict accuracy`);let m={graph:"!-~",print:" -~"}[p];f&&(m=`\0-${En(m.codePointAt(0)-1)}${En(m.codePointAt(2)+1)}-􏿿`),n(sn(Ei(`[${m}]`),t))}else n(sn(yg(Ei(yZ.get(p)),f),t));else if(d==="property")f4.has($h(p))||(e.key="sc");else if(d==="space")n(bs(Ol("space",{negate:f}),t));else if(d==="word")n(sn(yg(Ei(xi),f),t));else throw new Error(`Unexpected character set kind "${d}"`)},Directive({node:e,parent:t,root:n,remove:r,replaceWith:a,removeAllPrevSiblings:s,removeAllNextSiblings:l}){const{kind:u,flags:d}=e;if(u==="flags")if(!d.enable&&!d.disable)r();else{const f=ga({flags:d});f.body[0].body=l(),a(sn(f,t),{traverse:!0})}else if(u==="keep"){const f=n.body[0],m=n.body.length===1&&yw(f,{type:"Group"})&&f.body[0].body.length===1?f.body[0]:n;if(t.parent!==m||m.body.length>1)throw new Error(et`Uses "\K" in a way that's unsupported`);const b=lo({behind:!0});b.body[0].body=s(),a(sn(b,t))}else throw new Error(`Unexpected directive kind "${u}"`)},Flags({node:e,parent:t}){if(e.posixIsAscii)throw new Error('Unsupported flag "P"');if(e.textSegmentMode==="word")throw new Error('Unsupported flag "y{w}"');["digitIsAscii","extended","posixIsAscii","spaceIsAscii","wordIsAscii","textSegmentMode"].forEach(n=>delete e[n]),Object.assign(e,{global:!1,hasIndices:!1,multiline:!1,sticky:e.sticky??!1}),t.options={disable:{x:!0,n:!0},force:{v:!0}}},Group({node:e}){if(!e.flags)return;const{enable:t,disable:n}=e.flags;t?.extended&&delete t.extended,n?.extended&&delete n.extended,t?.dotAll&&n?.dotAll&&delete t.dotAll,t?.ignoreCase&&n?.ignoreCase&&delete t.ignoreCase,t&&!Object.keys(t).length&&delete e.flags.enable,n&&!Object.keys(n).length&&delete e.flags.disable,!e.flags.enable&&!e.flags.disable&&delete e.flags},LookaroundAssertion({node:e},t){const{kind:n}=e;n==="lookbehind"&&(t.passedLookbehind=!0)},NamedCallout({node:e,parent:t,replaceWith:n}){const{kind:r}=e;if(r==="fail")n(sn(lo({negate:!0}),t));else throw new Error(`Unsupported named callout "(*${r.toUpperCase()}"`)},Quantifier({node:e}){if(e.body.type==="Quantifier"){const t=ga();t.body[0].body.push(e.body),e.body=sn(t,e)}},Regex:{enter({node:e},{supportedGNodes:t}){const n=[];let r=!1,a=!1;for(const s of e.body)if(s.body.length===1&&s.body[0].kind==="search_start")s.body.pop();else{const l=Iw(s.body);l?(r=!0,Array.isArray(l)?n.push(...l):n.push(l)):a=!0}r&&!a&&n.forEach(s=>t.add(s))},exit(e,{accuracy:t,passedLookbehind:n,strategy:r}){if(t==="strict"&&n&&r)throw new Error(et`Uses "\G" in a way that requires non-strict accuracy`)}},Subroutine({node:e},{jsGroupNameMap:t}){let{ref:n}=e;typeof n=="string"&&!bg(n)&&(n=gg(n,t),e.ref=n)}},_Z={Backreference({node:e},{multiplexCapturesToLeftByRef:t,reffedNodesByReferencer:n}){const{orphan:r,ref:a}=e;r||n.set(e,[...t.get(a).map(({node:s})=>s)])},CapturingGroup:{enter({node:e,parent:t,replaceWith:n,skip:r},{groupOriginByCopy:a,groupsByName:s,multiplexCapturesToLeftByRef:l,openRefs:u,reffedNodesByReferencer:d}){const f=a.get(e);if(f&&u.has(e.number)){const m=bs(oE(e.number),t);d.set(m,u.get(e.number)),n(m);return}u.set(e.number,e),l.set(e.number,[]),e.name&&Kc(l,e.name,[]);const p=l.get(e.name??e.number);for(let m=0;m<p.length;m++){const b=p[m];if(f===b.node||f&&f===b.origin||e===b.origin){p.splice(m,1);break}}if(l.get(e.number).push({node:e,origin:f}),e.name&&l.get(e.name).push({node:e,origin:f}),e.name){const m=Kc(s,e.name,new Map);let b=!1;if(f)b=!0;else for(const y of m.values())if(!y.hasDuplicateNameToRemove){b=!0;break}s.get(e.name).set(e,{node:e,hasDuplicateNameToRemove:b})}},exit({node:e},{openRefs:t}){t.delete(e.number)}},Group:{enter({node:e},t){t.prevFlags=t.currentFlags,e.flags&&(t.currentFlags=Zf(t.currentFlags,e.flags))},exit(e,t){t.currentFlags=t.prevFlags}},Subroutine({node:e,parent:t,replaceWith:n},r){const{isRecursive:a,ref:s}=e;if(a){let p=t;for(;(p=p.parent)&&!(p.type==="CapturingGroup"&&(p.name===s||p.number===s)););r.reffedNodesByReferencer.set(e,p);return}
vendor: 16,772 bytes, line 614
614const l=r.subroutineRefMap.get(s),u=s===0,d=u?oE(0):Rw(l,r.groupOriginByCopy,null);let f=d;if(!u){const p=Dw(AZ(l,b=>b.type==="Group"&&!!b.flags)),m=p?Zf(r.globalFlags,p):r.globalFlags;SZ(m,r.currentFlags)||(f=ga({flags:kZ(m)}),f.body[0].body.push(d))}n(sn(f,t),{traverse:!u})}},TZ={Backreference({node:e,parent:t,replaceWith:n},r){if(e.orphan){r.highestOrphanBackref=Math.max(r.highestOrphanBackref,e.ref);return}const s=r.reffedNodesByReferencer.get(e).filter(l=>wZ(l,e));if(!s.length)n(sn(lo({negate:!0}),t));else if(s.length>1){const l=ga({atomic:!0,body:s.reverse().map(u=>xo({body:[O2(u.number)]}))});n(sn(l,t))}else e.ref=s[0].number},CapturingGroup({node:e},t){e.number=++t.numCapturesToLeft,e.name&&t.groupsByName.get(e.name).get(e).hasDuplicateNameToRemove&&delete e.name},Regex:{exit({node:e},t){const n=Math.max(t.highestOrphanBackref-t.numCapturesToLeft,0);for(let r=0;r<n;r++){const a=xw();e.body.at(-1).body.push(a)}}},Subroutine({node:e},t){!e.isRecursive||e.ref===0||(e.ref=t.reffedNodesByReferencer.get(e).number)}};function Ow(e){Rc(e,{"*"({node:t,parent:n}){t.parent=n}})}function SZ(e,t){return e.dotAll===t.dotAll&&e.ignoreCase===t.ignoreCase}function wZ(e,t){let n=t;do{if(n.type==="Regex")return!1;if(n.type==="Alternative")continue;if(n===e)return!1;const r=Lw(n.parent);for(const a of r){if(a===n)break;if(a===e||Mw(a,e))return!0}}while(n=n.parent);throw new Error("Unexpected path")}function Rw(e,t,n,r){const a=Array.isArray(e)?[]:{};for(const[s,l]of Object.entries(e))s==="parent"?a.parent=Array.isArray(n)?r:n:l&&typeof l=="object"?a[s]=Rw(l,t,a,n):(s==="type"&&l==="CapturingGroup"&&t.set(a,t.get(e)??e),a[s]=l);return a}function oE(e){const t=_w(e);return t.isRecursive=!0,t}function AZ(e,t){const n=[];for(;e=e.parent;)(!t||t(e))&&n.push(e);return n}function gg(e,t){if(t.has(e))return t.get(e);const n=`$${t.size}_${e.replace(/^[^$_\p{IDS}]|[^$\u200C\u200D\p{IDC}]/ug,"_")}`;return t.set(e,n),n}function Dw(e){const t=["dotAll","ignoreCase"],n={enable:{},disable:{}};return e.forEach(({flags:r})=>{t.forEach(a=>{r.enable?.[a]&&(delete n.disable[a],n.enable[a]=!0),r.disable?.[a]&&(n.disable[a]=!0)})}),Object.keys(n.enable).length||delete n.enable,Object.keys(n.disable).length||delete n.disable,n.enable||n.disable?n:null}function kZ({dotAll:e,ignoreCase:t}){const n={};return(e||t)&&(n.enable={},e&&(n.enable.dotAll=!0),t&&(n.enable.ignoreCase=!0)),(!e||!t)&&(n.disable={},!e&&(n.disable.dotAll=!0),!t&&(n.disable.ignoreCase=!0)),n}function Lw(e){if(!e)throw new Error("Node expected");const{body:t}=e;return Array.isArray(t)?t:t?[t]:null}function Iw(e){const t=e.find(n=>n.kind==="search_start"||OZ(n,{negate:!1})||!CZ(n));if(!t)return null;if(t.kind==="search_start")return t;if(t.type==="LookaroundAssertion")return t.body[0].body[0];if(t.type==="CapturingGroup"||t.type==="Group"){const n=[];for(const r of t.body){const a=Iw(r.body);if(!a)return null;Array.isArray(a)?n.push(...a):n.push(a)}return n}return null}function Mw(e,t){const n=Lw(e)??[];for(const r of n)if(r===t||Mw(r,t))return!0;return!1}function CZ({type:e}){return e==="Assertion"||e==="Directive"||e==="LookaroundAssertion"}function NZ(e){const t=["Character","CharacterClass","CharacterSet"];return t.includes(e.type)||e.type==="Quantifier"&&e.min&&t.includes(e.body.type)}function OZ(e,t){const n={negate:null,...t};return e.type==="LookaroundAssertion"&&(n.negate===null||e.negate===n.negate)&&e.body.length===1&&yw(e.body[0],{type:"Assertion",kind:"search_start"})}function bg(e){return/^[$_\p{IDS}][$\u200C\u200D\p{IDC}]*$/u.test(e)}function Ei(e,t){const r=vw(e,{...t,unicodePropertyMap:f4}).body;return r.length>1||r[0].body.length>1?ga({body:r}):r[0].body[0]}function yg(e,t){return e.negate=t,e}function bs(e,t){return e.parent=t,e}function sn(e,t){return Ow(e),e.parent=t,e}function RZ(e,t){const n=kw(t),r=L2(n.target,"ES2024"),a=L2(n.target,"ES2025"),s=n.rules.recursionLimit;if(!Number.isInteger(s)||s<2||s>20)throw new Error("Invalid recursionLimit; use 2-20");let l=null,u=null;if(!a){const y=[e.flags.ignoreCase];Rc(e,DZ,{getCurrentModI:()=>y.at(-1),popModI(){y.pop()},pushModI(E){y.push(E)},setHasCasedChar(){y.at(-1)?l=!0:u=!0}})}const d={dotAll:e.flags.dotAll,ignoreCase:!!((e.flags.ignoreCase||l)&&!u)};let f=e;const p={accuracy:n.accuracy,appliedGlobalFlags:d,captureMap:new Map,currentFlags:{dotAll:e.flags.dotAll,ignoreCase:e.flags.ignoreCase},inCharClass:!1,lastNode:f,originMap:e._originMap,recursionLimit:s,useAppliedIgnoreCase:!!(!a&&l&&u),useFlagMods:a,useFlagV:r,verbose:n.verbose};function m(y){return p.lastNode=f,f=y,dZ(LZ[y.type],`Unexpected node type "${y.type}"`)(y,p,m)}const b={pattern:e.body.map(m).join("|"),flags:m(e.flags),options:{...e.options}};return r||(delete b.options.force.v,b.options.disable.v=!0,b.options.unicodeSetsPlugin=null),b._captureTransfers=new Map,b._hiddenCaptures=[],p.captureMap.forEach((y,E)=>{y.hidden&&b._hiddenCaptures.push(E),y.transferTo&&Kc(b._captureTransfers,y.transferTo,[]).push(E)}),b}var DZ={"*":{enter({node:e},t){if(uE(e)){const n=t.getCurrentModI();t.pushModI(e.flags?Zf({ignoreCase:n},e.flags).ignoreCase:n)}},exit({node:e},t){uE(e)&&t.popModI()}},Backreference(e,t){t.setHasCasedChar()},Character({node:e},t){h4(En(e.value))&&t.setHasCasedChar()},CharacterClassRange({node:e,skip:t},n){t(),Pw(e,{firstOnly:!0}).length&&n.setHasCasedChar()},CharacterSet({node:e},t){e.kind==="property"&&Nw.has(e.value)&&t.setHasCasedChar()}},LZ={Alternative({body:e},t,n){return e.map(n).join("")},Assertion({kind:e,negate:t}){if(e==="string_end")return"$";if(e==="string_start")return"^";if(e==="word_boundary")return t?et`\B`:et`\b`;throw new Error(`Unexpected assertion kind "${e}"`)},Backreference({ref:e},t){if(typeof e!="number")throw new Error("Unexpected named backref in transformed AST");if(!t.useFlagMods&&t.accuracy==="strict"&&t.currentFlags.ignoreCase&&!t.captureMap.get(e).ignoreCase)throw new Error("Use of case-insensitive backref to case-sensitive group requires target ES2025 or non-strict accuracy");return"\\"+e},CapturingGroup(e,t,n){const{body:r,name:a,number:s}=e,l={ignoreCase:t.currentFlags.ignoreCase},u=t.originMap.get(e);return u&&(l.hidden=!0,s>u.number&&(l.transferTo=u.number)),t.captureMap.set(s,l),`(${a?`?<${a}>`:""}${r.map(n).join("|")})`},Character({value:e},t){const n=En(e),r=kl(e,{escDigit:t.lastNode.type==="Backreference",inCharClass:t.inCharClass,useFlagV:t.useFlagV});if(r!==n)return r;if(t.useAppliedIgnoreCase&&t.currentFlags.ignoreCase&&h4(n)){const a=Cw(n);return t.inCharClass?a.join(""):a.length>1?`[${a.join("")}]`:a[0]}return n},CharacterClass(e,t,n){const{kind:r,negate:a,parent:s}=e;let{body:l}=e;if(r==="intersection"&&!t.useFlagV)throw new Error("Use of class intersection requires min target ES2024");Ni.bugFlagVLiteralHyphenIsRange&&t.useFlagV&&l.some(cE)&&(l=[qh(45),...l.filter(f=>!cE(f))]);const u=()=>`[${a?"^":""}${l.map(n).join(r==="intersection"?"&&":"")}]`;if(!t.inCharClass){if((!t.useFlagV||Ni.bugNestedClassIgnoresNegation)&&!a){const p=l.filter(m=>m.type==="CharacterClass"&&m.kind==="union"&&m.negate);if(p.length){const m=ga(),b=m.body[0];return m.parent=s,b.parent=m,l=l.filter(y=>!p.includes(y)),e.body=l,l.length?(e.parent=b,b.body.push(e)):m.body.pop(),p.forEach(y=>{const E=xo({body:[y]});y.parent=E,E.parent=m,m.body.push(E)}),n(m)}}t.inCharClass=!0;const f=u();return t.inCharClass=!1,f}const d=l[0];if(r==="union"&&!a&&d&&((!t.useFlagV||!t.verbose)&&s.kind==="union"&&!(Ni.bugFlagVLiteralHyphenIsRange&&t.useFlagV)||!t.verbose&&s.kind==="intersection"&&l.length===1&&d.type!=="CharacterClassRange"))return l.map(n).join("");if(!t.useFlagV&&s.type==="CharacterClass")throw new Error("Use of nested character class requires min target ES2024");return u()},CharacterClassRange(e,t){const n=e.min.value,r=e.max.value,a={escDigit:!1,inCharClass:!0,useFlagV:t.useFlagV},s=kl(n,a),l=kl(r,a),u=new Set;if(t.useAppliedIgnoreCase&&t.currentFlags.ignoreCase){const d=Pw(e);zZ(d).forEach(p=>{u.add(Array.isArray(p)?`${kl(p[0],a)}-${kl(p[1],a)}`:kl(p,a))})}return`${s}-${l}${[...u].join("")}`},CharacterSet({kind:e,negate:t,value:n,key:r},a){if(e==="dot")return a.currentFlags.dotAll?a.appliedGlobalFlags.dotAll||a.useFlagMods?".":"[^]":et`[^\n]`;if(e==="digit")return t?et`\D`:et`\d`;if(e==="property"){if(a.useAppliedIgnoreCase&&a.currentFlags.ignoreCase&&Nw.has(n))throw new Error(`Unicode property "${n}" can't be case-insensitive when other chars have specific case`);return`${t?et`\P`:et`\p`}{${r?`${r}=`:""}${n}}`}if(e==="word")return t?et`\W`:et`\w`;throw new Error(`Unexpected character set kind "${e}"`)},Flags(e,t){return(t.appliedGlobalFlags.ignoreCase?"i":"")+(e.dotAll?"s":"")+(e.sticky?"y":"")},Group({atomic:e,body:t,flags:n,parent:r},a,s){const l=a.currentFlags;n&&(a.currentFlags=Zf(l,n));const u=t.map(s).join("|"),d=!a.verbose&&t.length===1&&r.type!=="Quantifier"&&!e&&(!a.useFlagMods||!n)?u:`(?${UZ(e,n,a.useFlagMods)}${u})`;return a.currentFlags=l,d},LookaroundAssertion({body:e,kind:t,negate:n},r,a){return`(?${`${t==="lookahead"?"":"<"}${n?"!":"="}`}${e.map(a).join("|")})`},Quantifier(e,t,n){return n(e.body)+HZ(e)},Subroutine({isRecursive:e,ref:t},n){if(!e)throw new Error("Unexpected non-recursive subroutine in transformed AST");const r=n.recursionLimit;return t===0?`(?R=${r})`:et`\g<${t}&R=${r}>`}},IZ=new Set(["$","(",")","*","+",".","?","[","\\","]","^","{","|","}"]),MZ=new Set(["-","\\","]","^","["]),PZ=new Set(["(",")","-","/","[","\\","]","^","{","|","}","!","#","$","%","&","*","+",",",".",":",";","<","=",">","?","@","`","~"]),lE=new Map([[9,et`\t`],[10,et`\n`],[11,et`\v`],[12,et`\f`],[13,et`\r`],[8232,et`\u2028`],[8233,et`\u2029`],[65279,et`\uFEFF`]]),BZ=new RegExp("^\\p{Cased}$","u");function h4(e){return BZ.test(e)}function Pw(e,t){const n=!!t?.firstOnly,r=e.min.value,a=e.max.value,s=[];if(r<65&&(a===65535||a>=131071)||r===65536&&a>=131071)return s;for(let l=r;l<=a;l++){const u=En(l);if(!h4(u))continue;const d=Cw(u).filter(f=>{const p=f.codePointAt(0);return p<r||p>a});if(d.length&&(s.push(...d),n))break}return s}function kl(e,{escDigit:t,inCharClass:n,useFlagV:r}){if(lE.has(e))return lE.get(e);if(e<32||e>126&&e<160||e>262143||t&&FZ(e))return e>255?`\\u{${e.toString(16).toUpperCase()}}`:`\\x${e.toString(16).toUpperCase().padStart(2,"0")}`;const a=n?r?PZ:MZ:IZ,s=En(e);return(a.has(s)?"\\":"")+s}function zZ(e){const t=e.map(a=>a.codePointAt(0)).sort((a,s)=>a-s),n=[];let r=null;for(let a=0;a<t.length;a++)t[a+1]===t[a]+1?r??=t[a]:r===null?n.push(t[a]):(n.push([r,t[a]]),r=null);return n}function UZ(e,t,n){if(e)return">";let r="";if(t&&n){const{enable:a,disable:s}=t;r=(a?.ignoreCase?"i":"")+(a?.dotAll?"s":"")+(s?"-":"")+(s?.ignoreCase?"i":"")+(s?.dotAll?"s":"")}return`${r}:`}function HZ({kind:e,max:t,min:n}){let r;return!n&&t===1?r="?":!n&&t===1/0?r="*":n===1&&t===1/0?r="+":n===t?r=`{${n}}`:r=`{${n},${t===1/0?"":t}}`,r+{greedy:"",lazy:"?",possessive:"+"}[e]}function uE({type:e}){return e==="CapturingGroup"||e==="Group"||e==="LookaroundAssertion"}function FZ(e){return e>47&&e<58}function cE({type:e,value:t}){return e==="Character"&&t===45}var jZ=class I2 extends RegExp{#t=new Map;#e=null;#n;#a=null;#r=null;rawOptions={};get source(){return this.#n||"(?:)"}constructor(t,n,r){const a=!!r?.lazyCompile;if(t instanceof RegExp){if(r)throw new Error("Cannot provide options when copying a regexp");const s=t;super(s,n),this.#n=s.source,s instanceof I2&&(this.#t=s.#t,this.#a=s.#a,this.#r=s.#r,this.rawOptions=s.rawOptions)}else{const s={hiddenCaptures:[],strategy:null,transfers:[],...r};super(a?"":t,n),this.#n=t,this.#t=$Z(s.hiddenCaptures,s.transfers),this.#r=s.strategy,this.rawOptions=r??{}}a||(this.#e=this)}exec(t){if(!this.#e){const{lazyCompile:a,...s}=this.rawOptions;this.#e=new I2(this.#n,this.flags,s)}const n=this.global||this.sticky,r=this.lastIndex;if(this.#r==="clip_search"&&n&&r){this.lastIndex=0;const a=this.#i(t.slice(r));return a&&(qZ(a,r,t,this.hasIndices),this.lastIndex+=r),a}return this.#i(t)}#i(t){this.#e.lastIndex=this.lastIndex;const n=super.exec.call(this.#e,t);if(this.lastIndex=this.#e.lastIndex,!n||!this.#t.size)return n;const r=[...n];n.length=1;let a;this.hasIndices&&(a=[...n.indices],n.indices.length=1);const s=[0];for(let l=1;l<r.length;l++){const{hidden:u,transferTo:d}=this.#t.get(l)??{};if(u?s.push(null):(s.push(n.length),n.push(r[l]),this.hasIndices&&n.indices.push(a[l])),d&&r[l]!==void 0){const f=s[d];if(!f)throw new Error(`Invalid capture transfer to "${f}"`);if(n[f]=r[l],this.hasIndices&&(n.indices[f]=a[l]),n.groups){this.#a||(this.#a=VZ(this.source));const p=this.#a.get(d);p&&(n.groups[p]=r[l],this.hasIndices&&(n.indices.groups[p]=a[l]))}}}return n}};function qZ(e,t,n,r){if(e.index+=t,e.input=n,r){const a=e.indices;for(let l=0;l<a.length;l++){const u=a[l];u&&(a[l]=[u[0]+t,u[1]+t])}const s=a.groups;s&&Object.keys(s).forEach(l=>{const u=s[l];u&&(s[l]=[u[0]+t,u[1]+t])})}}function $Z(e,t){const n=new Map;for(const r of e)n.set(r,{hidden:!0});for(const[r,a]of t)for(const s of a)Kc(n,s,{}).transferTo=r;return n}function VZ(e){const t=/(?<capture>\((?:\?<(?![=!])(?<name>[^>]+)>|(?!\?)))|\\?./gsu,n=new Map;let r=0,a=0,s;for(;s=t.exec(e);){const{0:l,groups:{capture:u,name:d}}=s;l==="["?r++:r?l==="]"&&r--:u&&(a++,d&&n.set(a,d))}return n}function GZ(e,t){const n=YZ(e,t);return n.options?new jZ(n.pattern,n.flags,n.options):new RegExp(n.pattern,n.flags)}function YZ(e,t){const n=kw(t),r=vw(e,{flags:n.flags,normalizeUnknownPropertyNames:!0,rules:{captureGroup:n.rules.captureGroup,singleline:n.rules.singleline},skipBackrefValidation:n.rules.allowOrphanBackrefs,unicodePropertyMap:f4}),a=xZ(r,{accuracy:n.accuracy,asciiWordBoundaries:n.rules.asciiWordBoundaries,avoidSubclass:n.avoidSubclass,bestEffortTarget:n.target}),s=RZ(a,n),l=uZ(s.pattern,{captureTransfers:s._captureTransfers,hiddenCaptures:s._hiddenCaptures,mode:"external"}),u=oZ(l.pattern),d=sZ(u.pattern,{captureTransfers:l.captureTransfers,hiddenCaptures:l.hiddenCaptures}),f={pattern:d.pattern,flags:`${n.hasIndices?"d":""}${n.global?"g":""}${s.flags}${s.options.disable.v?"u":"v"}`};if(n.avoidSubclass){if(n.lazyCompileLength!==1/0)throw new Error("Lazy compilation requires subclass")}else{const p=d.hiddenCaptures.sort((E,T)=>E-T),m=Array.from(d.captureTransfers),b=a._strategy,y=f.pattern.length>=n.lazyCompileLength;(p.length||m.length||b||y)&&(f.options={...p.length&&{hiddenCaptures:p},...m.length&&{transfers:m},...b&&{strategy:b},...y&&{lazyCompile:y}})}return f}const dE=4294967295;class QZ{constructor(t,n={}){this.patterns=t,this.options=n;const{forgiving:r=!1,cache:a,regexConstructor:s}=n;if(!s)throw new Error("Option `regexConstructor` is not provided");this.regexps=t.map(l=>{if(typeof l!="string")return l;const u=a?.get(l);if(u){if(u instanceof RegExp)return u;if(r)return null;throw u}try{const d=s(l);return a?.set(l,d),d}catch(d){if(a?.set(l,d),r)return null;throw d}})}regexps;findNextMatchSync(t,n,r){const a=typeof t=="string"?t:t.content,s=[];function l(u,d,f=0){return{index:u,captureIndices:d.indices.map(p=>p==null?{start:dE,end:dE,length:0}:{start:p[0]+f,end:p[1]+f,length:p[1]-p[0]})}}for(let u=0;u<this.regexps.length;u++){const d=this.regexps[u];if(d)try{d.lastIndex=n;const f=d.exec(a);if(!f)continue;if(f.index===n)return l(u,f,0);s.push([u,f,0])}catch(f){if(this.options.forgiving)continue;throw f}}if(s.length){const u=Math.min(...s.map(d=>d[1].index));for(const[d,f,p]of s)if(f.index===u)return l(d,f,p)}return null}}function XZ(e,t){return GZ(e,{global:!0,hasIndices:!0,lazyCompileLength:3e3,rules:{allowOrphanBackrefs:!0,asciiWordBoundaries:!0,captureGroup:!0,recursionLimit:5,singleline:!0},...t})}function WZ(e={}){const t=Object.assign({target:"auto",cache:new Map},e);return t.regexConstructor||=n=>XZ(n,{target:t.target}),{createScanner(n){return new QZ(n,t)},createString(n){return{content:n}}}}function m4(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}var Do=m4();function Bw(e){Do=e}var Dc={exec:()=>null};function Tt(e,t=""){let n=typeof e=="string"?e:e.source,r={replace:(a,s)=>{let l=typeof s=="string"?s:s.source;return l=l.replace(rr.caret,"$1"),n=n.replace(a,l),r},getRegex:()=>new RegExp(n,t)};return r}var rr={codeRemoveIndent:/^(?: {1,4}| {0,3}\t)/gm,outputLinkReplace:/\\([\[\]])/g,indentCodeCompensation:/^(\s+)(?:```)/,beginningSpace:/^\s+/,endingHash:/#$/,startingSpaceChar:/^ /,endingSpaceChar:/ $/,nonSpaceChar:/[^ ]/,newLineCharGlobal:/\n/g,tabCharGlobal:/\t/g,multipleSpaceGlobal:/\s+/g,blankLine:/^[ \t]*$/,doubleBlankLine:/\n[ \t]*\n[ \t]*$/,blockquoteStart:/^ {0,3}>/,blockquoteSetextReplace:/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,blockquoteSetextReplace2:/^ {0,3}>[ \t]?/gm,listReplaceTabs:/^\t+/,listReplaceNesting:/^ {1,4}(?=( {4})*[^ ])/g,listIsTask:/^\[[ xX]\] /,listReplaceTask:/^\[[ xX]\] +/,anyLine
vendor: 6,557 bytes, lines 614-615
614:/\n.*\n/,hrefBrackets:/^<(.*)>$/,tableDelimiter:/[:|]/,tableAlignChars:/^\||\| *$/g,tableRowBlankLine:/\n[ \t]*$/,tableAlignRight:/^ *-+: *$/,tableAlignCenter:/^ *:-+: *$/,tableAlignLeft:/^ *:-+ *$/,startATag:/^<a /i,endATag:/^<\/a>/i,startPreScriptTag:/^<(pre|code|kbd|script)(\s|>)/i,endPreScriptTag:/^<\/(pre|code|kbd|script)(\s|>)/i,startAngleBracket:/^</,endAngleBracket:/>$/,pedanticHrefTitle:/^([^'"]*[^\s])\s+(['"])(.*)\2/,unicodeAlphaNumeric:/[\p{L}\p{N}]/u,escapeTest:/[&<>"']/,escapeReplace:/[&<>"']/g,escapeTestNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,escapeReplaceNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g,unescapeTest:/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig,caret:/(^|[^\[])\^/g,percentDecode:/%25/g,findPipe:/\|/g,splitPipe:/ \|/,slashPipe:/\\\|/g,carriageReturn:/\r\n|\r/g,spaceLine:/^ +$/gm,notSpaceStart:/^\S*/,endingNewline:/\n$/,listItemRegex:e=>new RegExp(`^( {0,3}${e})((?:[	 ][^\\n]*)?(?:\\n|$))`),nextBulletRegex:e=>new RegExp(`^ {0,${Math.min(3,e-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ 	][^\\n]*)?(?:\\n|$))`),hrRegex:e=>new RegExp(`^ {0,${Math.min(3,e-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),fencesBeginRegex:e=>new RegExp(`^ {0,${Math.min(3,e-1)}}(?:\`\`\`|~~~)`),headingBeginRegex:e=>new RegExp(`^ {0,${Math.min(3,e-1)}}#`),htmlBeginRegex:e=>new RegExp(`^ {0,${Math.min(3,e-1)}}<(?:[a-z].*>|!--)`,"i")},KZ=/^(?:[ \t]*(?:\n|$))+/,ZZ=/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,JZ=/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,y0=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,eJ=/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,p4=/(?:[*+-]|\d{1,9}[.)])/,zw=/^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,Uw=Tt(zw).replace(/bull/g,p4).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/\|table/g,"").getRegex(),tJ=Tt(zw).replace(/bull/g,p4).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/table/g,/ {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(),g4=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,nJ=/^[^\n]+/,b4=/(?!\s*\])(?:\\[\s\S]|[^\[\]\\])+/,rJ=Tt(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label",b4).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),aJ=Tt(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,p4).getRegex(),Gh="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|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",y4=/<!--(?:-?>|[\s\S]*?(?:-->|$))/,iJ=Tt("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ 	]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ 	]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ 	]*)+\\n|$))","i").replace("comment",y4).replace("tag",Gh).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),Hw=Tt(g4).replace("hr",y0).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",Gh).getRegex(),sJ=Tt(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",Hw).getRegex(),v4={blockquote:sJ,code:ZZ,def:rJ,fences:JZ,heading:eJ,hr:y0,html:iJ,lheading:Uw,list:aJ,newline:KZ,paragraph:Hw,table:Dc,text:nJ},fE=Tt("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",y0).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code","(?: {4}| {0,3}	)[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",Gh).getRegex(),oJ={...v4,lheading:tJ,table:fE,paragraph:Tt(g4).replace("hr",y0).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",fE).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",Gh).getRegex()},lJ={...v4,html:Tt(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",y4).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:Dc,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:Tt(g4).replace("hr",y0).replace("heading",` *#{1,6} *[^
615]`).replace("lheading",Uw).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},uJ=/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,cJ=/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,Fw=/^( {2,}|\\)\n(?!\s*$)/,dJ=/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,Yh=/[\p{P}\p{S}]/u,x4=/[\s\p{P}\p{S}]/u,jw=/[^\s\p{P}\p{S}]/u,fJ=Tt(/^((?![*_])punctSpace)/,"u").replace(/punctSpace/g,x4).getRegex(),qw=/(?!~)[\p{P}\p{S}]/u,hJ=/(?!~)[\s\p{P}\p{S}]/u,mJ=/(?:[^\s\p{P}\p{S}
vendor: 4,456 bytes, line 615
615]|~)/u,pJ=Tt(/link|code|html/,"g").replace("link",new RegExp("\\[(?:[^\\[\\]`]|(?<!`)(?<a>`+)[^`]+\\k<a>(?!`))*?\\]\\((?:\\\\[\\s\\S]|[^\\\\\\(\\)]|\\((?:\\\\[\\s\\S]|[^\\\\\\(\\)])*\\))*\\)")).replace("code",new RegExp("(?<!`)(?<b>`+)[^`]+\\k<b>(?!`)")).replace("html",/<(?! )[^<>]*?>/).getRegex(),$w=/^(?:\*+(?:((?!\*)punct)|[^\s*]))|^_+(?:((?!_)punct)|([^\s_]))/,gJ=Tt($w,"u").replace(/punct/g,Yh).getRegex(),bJ=Tt($w,"u").replace(/punct/g,qw).getRegex(),Vw="^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)",yJ=Tt(Vw,"gu").replace(/notPunctSpace/g,jw).replace(/punctSpace/g,x4).replace(/punct/g,Yh).getRegex(),vJ=Tt(Vw,"gu").replace(/notPunctSpace/g,mJ).replace(/punctSpace/g,hJ).replace(/punct/g,qw).getRegex(),xJ=Tt("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)","gu").replace(/notPunctSpace/g,jw).replace(/punctSpace/g,x4).replace(/punct/g,Yh).getRegex(),EJ=Tt(/\\(punct)/,"gu").replace(/punct/g,Yh).getRegex(),_J=Tt(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme",/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email",/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(),TJ=Tt(y4).replace("(?:-->|$)","-->").getRegex(),SJ=Tt("^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment",TJ).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),Jf=/(?:\[(?:\\[\s\S]|[^\[\]\\])*\]|\\[\s\S]|`+[^`]*?`+(?!`)|[^\[\]\\`])*?/,wJ=Tt(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]*(?:\n[ \t]*)?)(title))?\s*\)/).replace("label",Jf).replace("href",/<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),Gw=Tt(/^!?\[(label)\]\[(ref)\]/).replace("label",Jf).replace("ref",b4).getRegex(),Yw=Tt(/^!?\[(ref)\](?:\[\])?/).replace("ref",b4).getRegex(),AJ=Tt("reflink|nolink(?!\\()","g").replace("reflink",Gw).replace("nolink",Yw).getRegex(),hE=/[hH][tT][tT][pP][sS]?|[fF][tT][pP]/,E4={_backpedal:Dc,anyPunctuation:EJ,autolink:_J,blockSkip:pJ,br:Fw,code:cJ,del:Dc,emStrongLDelim:gJ,emStrongRDelimAst:yJ,emStrongRDelimUnd:xJ,escape:uJ,link:wJ,nolink:Yw,punctuation:fJ,reflink:Gw,reflinkSearch:AJ,tag:SJ,text:dJ,url:Dc},kJ={...E4,link:Tt(/^!?\[(label)\]\((.*?)\)/).replace("label",Jf).getRegex(),reflink:Tt(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",Jf).getRegex()},M2={...E4,emStrongRDelimAst:vJ,emStrongLDelim:bJ,url:Tt(/^((?:protocol):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/).replace("protocol",hE).replace("email",/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])((?:\\[\s\S]|[^\\])*?(?:\\[\s\S]|[^\s~\\]))\1(?=[^~]|$)/,text:Tt(/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|protocol:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/).replace("protocol",hE).getRegex()},CJ={...M2,br:Tt(Fw).replace("{2,}","*").getRegex(),text:Tt(M2.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()},uf={normal:v4,gfm:oJ,pedantic:lJ},dc={normal:E4,gfm:M2,breaks:CJ,pedantic:kJ},NJ={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},mE=e=>NJ[e];function Pa(e,t){if(t){if(rr.escapeTest.test(e))return e.replace(rr.escapeReplace,mE)}else if(rr.escapeTestNoEncode.test(e))return e.replace(rr.escapeReplaceNoEncode,mE);return e}function pE(e){try{e=encodeURI(e).replace(rr.percentDecode,"%")}catch{return null}return e}function gE(e,t){let n=e.replace(rr.findPipe,(s,l,u)=>{let d=!1,f=l;for(;--f>=0&&u[f]==="\\";)d=!d;return d?"|":" |"}),r=n.split(rr.splitPipe),a=0;if(r[0].trim()||r.shift(),r.length>0&&!r.at(-1)?.trim()&&r.pop(),t)if(r.length>t)r.splice(t);else for(;r.length<t;)r.push("");for(;a<r.length;a++)r[a]=r[a].trim().replace(rr.slashPipe,"|");return r}
vendor: 7,662 bytes, lines 615-639
615function fc(e,t,n){let r=e.length;if(r===0)return"";let a=0;for(;a<r&&e.charAt(r-a-1)===t;)a++;return e.slice(0,r-a)}function OJ(e,t){if(e.indexOf(t[1])===-1)return-1;let n=0;for(let r=0;r<e.length;r++)if(e[r]==="\\")r++;else if(e[r]===t[0])n++;else if(e[r]===t[1]&&(n--,n<0))return r;return n>0?-2:-1}function bE(e,t,n,r,a){let s=t.href,l=t.title||null,u=e[1].replace(a.other.outputLinkReplace,"$1");r.state.inLink=!0;let d={type:e[0].charAt(0)==="!"?"image":"link",raw:n,href:s,title:l,text:u,tokens:r.inlineTokens(u)};return r.state.inLink=!1,d}function RJ(e,t,n){let r=e.match(n.other.indentCodeCompensation);if(r===null)return t;let a=r[1];return t.split(`
616`).map(s=>{let l=s.match(n.other.beginningSpace);if(l===null)return s;let[u]=l;return u.length>=a.length?s.slice(a.length):s}).join(`
617`)}var eh=class{options;rules;lexer;constructor(e){this.options=e||Do}space(e){let t=this.rules.block.newline.exec(e);if(t&&t[0].length>0)return{type:"space",raw:t[0]}}code(e){let t=this.rules.block.code.exec(e);if(t){let n=t[0].replace(this.rules.other.codeRemoveIndent,"");return{type:"code",raw:t[0],codeBlockStyle:"indented",text:this.options.pedantic?n:fc(n,`
618`)}}}fences(e){let t=this.rules.block.fences.exec(e);if(t){let n=t[0],r=RJ(n,t[3]||"",this.rules);return{type:"code",raw:n,lang:t[2]?t[2].trim().replace(this.rules.inline.anyPunctuation,"$1"):t[2],text:r}}}heading(e){let t=this.rules.block.heading.exec(e);if(t){let n=t[2].trim();if(this.rules.other.endingHash.test(n)){let r=fc(n,"#");(this.options.pedantic||!r||this.rules.other.endingSpaceChar.test(r))&&(n=r.trim())}return{type:"heading",raw:t[0],depth:t[1].length,text:n,tokens:this.lexer.inline(n)}}}hr(e){let t=this.rules.block.hr.exec(e);if(t)return{type:"hr",raw:fc(t[0],`
619`)}}blockquote(e){let t=this.rules.block.blockquote.exec(e);if(t){let n=fc(t[0],`
620`).split(`
621`),r="",a="",s=[];for(;n.length>0;){let l=!1,u=[],d;for(d=0;d<n.length;d++)if(this.rules.other.blockquoteStart.test(n[d]))u.push(n[d]),l=!0;else if(!l)u.push(n[d]);else break;n=n.slice(d);let f=u.join(`
622`),p=f.replace(this.rules.other.blockquoteSetextReplace,`
623    $1`).replace(this.rules.other.blockquoteSetextReplace2,"");r=r?`${r}
624${f}`:f,a=a?`${a}
625${p}`:p;let m=this.lexer.state.top;if(this.lexer.state.top=!0,this.lexer.blockTokens(p,s,!0),this.lexer.state.top=m,n.length===0)break;let b=s.at(-1);if(b?.type==="code")break;if(b?.type==="blockquote"){let y=b,E=y.raw+`
626`+n.join(`
627`),T=this.blockquote(E);s[s.length-1]=T,r=r.substring(0,r.length-y.raw.length)+T.raw,a=a.substring(0,a.length-y.text.length)+T.text;break}else if(b?.type==="list"){let y=b,E=y.raw+`
628`+n.join(`
629`),T=this.list(E);s[s.length-1]=T,r=r.substring(0,r.length-b.raw.length)+T.raw,a=a.substring(0,a.length-y.raw.length)+T.raw,n=E.substring(s.at(-1).raw.length).split(`
630`);continue}}return{type:"blockquote",raw:r,tokens:s,text:a}}}list(e){let t=this.rules.block.list.exec(e);if(t){let n=t[1].trim(),r=n.length>1,a={type:"list",raw:"",ordered:r,start:r?+n.slice(0,-1):"",loose:!1,items:[]};n=r?`\\d{1,9}\\${n.slice(-1)}`:`\\${n}`,this.options.pedantic&&(n=r?n:"[*+-]");let s=this.rules.other.listItemRegex(n),l=!1;for(;e;){let d=!1,f="",p="";if(!(t=s.exec(e))||this.rules.block.hr.test(e))break;f=t[0],e=e.substring(f.length);let m=t[2].split(`
631`,1)[0].replace(this.rules.other.listReplaceTabs,k=>" ".repeat(3*k.length)),b=e.split(`
632`,1)[0],y=!m.trim(),E=0;if(this.options.pedantic?(E=2,p=m.trimStart()):y?E=t[1].length+1:(E=t[2].search(this.rules.other.nonSpaceChar),E=E>4?1:E,p=m.slice(E),E+=t[1].length),y&&this.rules.other.blankLine.test(b)&&(f+=b+`
633`,e=e.substring(b.length+1),d=!0),!d){let k=this.rules.other.nextBulletRegex(E),O=this.rules.other.hrRegex(E),I=this.rules.other.fencesBeginRegex(E),K=this.rules.other.headingBeginRegex(E),V=this.rules.other.htmlBeginRegex(E);for(;e;){let B=e.split(`
634`,1)[0],z;if(b=B,this.options.pedantic?(b=b.replace(this.rules.other.listReplaceNesting,"  "),z=b):z=b.replace(this.rules.other.tabCharGlobal,"    "),I.test(b)||K.test(b)||V.test(b)||k.test(b)||O.test(b))break;if(z.search(this.rules.other.nonSpaceChar)>=E||!b.trim())p+=`
635`+z.slice(E);else{if(y||m.replace(this.rules.other.tabCharGlobal,"    ").search(this.rules.other.nonSpaceChar)>=4||I.test(m)||K.test(m)||O.test(m))break;p+=`
636`+b}!y&&!b.trim()&&(y=!0),f+=B+`
637`,e=e.substring(B.length+1),m=z.slice(E)}}a.loose||(l?a.loose=!0:this.rules.other.doubleBlankLine.test(f)&&(l=!0));let T=null,N;this.options.gfm&&(T=this.rules.other.listIsTask.exec(p),T&&(N=T[0]!=="[ ] ",p=p.replace(this.rules.other.listReplaceTask,""))),a.items.push({type:"list_item",raw:f,task:!!T,checked:N,loose:!1,text:p,tokens:[]}),a.raw+=f}let u=a.items.at(-1);if(u)u.raw=u.raw.trimEnd(),u.text=u.text.trimEnd();else return;a.raw=a.raw.trimEnd();for(let d=0;d<a.items.length;d++)if(this.lexer.state.top=!1,a.items[d].tokens=this.lexer.blockTokens(a.items[d].text,[]),!a.loose){let f=a.items[d].tokens.filter(m=>m.type==="space"),p=f.length>0&&f.some(m=>this.rules.other.anyLine.test(m.raw));a.loose=p}if(a.loose)for(let d=0;d<a.items.length;d++)a.items[d].loose=!0;return a}}html(e){let t=this.rules.block.html.exec(e);if(t)return{type:"html",block:!0,raw:t[0],pre:t[1]==="pre"||t[1]==="script"||t[1]==="style",text:t[0]}}def(e){let t=this.rules.block.def.exec(e);if(t){let n=t[1].toLowerCase().replace(this.rules.other.multipleSpaceGlobal," "),r=t[2]?t[2].replace(this.rules.other.hrefBrackets,"$1").replace(this.rules.inline.anyPunctuation,"$1"):"",a=t[3]?t[3].substring(1,t[3].length-1).replace(this.rules.inline.anyPunctuation,"$1"):t[3];return{type:"def",tag:n,raw:t[0],href:r,title:a}}}table(e){let t=this.rules.block.table.exec(e);if(!t||!this.rules.other.tableDelimiter.test(t[2]))return;let n=gE(t[1]),r=t[2].replace(this.rules.other.tableAlignChars,"").split("|"),a=t[3]?.trim()?t[3].replace(this.rules.other.tableRowBlankLine,"").split(`
638`):[],s={type:"table",raw:t[0],header:[],align:[],rows:[]};if(n.length===r.length){for(let l of r)this.rules.other.tableAlignRight.test(l)?s.align.push("right"):this.rules.other.tableAlignCenter.test(l)?s.align.push("center"):this.rules.other.tableAlignLeft.test(l)?s.align.push("left"):s.align.push(null);for(let l=0;l<n.length;l++)s.header.push({text:n[l],tokens:this.lexer.inline(n[l]),header:!0,align:s.align[l]});for(let l of a)s.rows.push(gE(l,s.header.length).map((u,d)=>({text:u,tokens:this.lexer.inline(u),header:!1,align:s.align[d]})));return s}}lheading(e){let t=this.rules.block.lheading.exec(e);if(t)return{type:"heading",raw:t[0],depth:t[2].charAt(0)==="="?1:2,text:t[1],tokens:this.lexer.inline(t[1])}}paragraph(e){let t=this.rules.block.paragraph.exec(e);if(t){let n=t[1].charAt(t[1].length-1)===`
639`?t[1].slice(0,-1):t[1];return{type:"paragraph",raw:t[0],text:n,tokens:this.lexer.inline(n)}}}text(e){let t=this.rules.block.text.exec(e);if(t)return{type:"text",raw:t[0],text:t[0],tokens:this.lexer.inline(t[0])}}escape(e){let t=this.rules.inline.escape.exec(e);if(t)return{type:"escape",raw:t[0],text:t[1]}}tag(e){let t=this.rules.inline.tag.exec(e);if(t)return!this.lexer.state.inLink&&this.rules.other.startATag.test(t[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&this.rules.other.endATag.test(t[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&this.rules.other.startPreScriptTag.test(t[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&this.rules.other.endPreScriptTag.test(t[0])&&(this.lexer.state.inRawBlock=!1),{type:"html",raw:t[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:t[0]}}link(e){let t=this.rules.inline.link.exec(e);if(t){let n=t[2].trim();if(!this.options.pedantic&&this.rules.other.startAngleBracket.test(n)){if
vendor: 3,819 bytes, lines 639-640
639(!this.rules.other.endAngleBracket.test(n))return;let s=fc(n.slice(0,-1),"\\");if((n.length-s.length)%2===0)return}else{let s=OJ(t[2],"()");if(s===-2)return;if(s>-1){let l=(t[0].indexOf("!")===0?5:4)+t[1].length+s;t[2]=t[2].substring(0,s),t[0]=t[0].substring(0,l).trim(),t[3]=""}}let r=t[2],a="";if(this.options.pedantic){let s=this.rules.other.pedanticHrefTitle.exec(r);s&&(r=s[1],a=s[3])}else a=t[3]?t[3].slice(1,-1):"";return r=r.trim(),this.rules.other.startAngleBracket.test(r)&&(this.options.pedantic&&!this.rules.other.endAngleBracket.test(n)?r=r.slice(1):r=r.slice(1,-1)),bE(t,{href:r&&r.replace(this.rules.inline.anyPunctuation,"$1"),title:a&&a.replace(this.rules.inline.anyPunctuation,"$1")},t[0],this.lexer,this.rules)}}reflink(e,t){let n;if((n=this.rules.inline.reflink.exec(e))||(n=this.rules.inline.nolink.exec(e))){let r=(n[2]||n[1]).replace(this.rules.other.multipleSpaceGlobal," "),a=t[r.toLowerCase()];if(!a){let s=n[0].charAt(0);return{type:"text",raw:s,text:s}}return bE(n,a,n[0],this.lexer,this.rules)}}emStrong(e,t,n=""){let r=this.rules.inline.emStrongLDelim.exec(e);if(!(!r||r[3]&&n.match(this.rules.other.unicodeAlphaNumeric))&&(!(r[1]||r[2])||!n||this.rules.inline.punctuation.exec(n))){let a=[...r[0]].length-1,s,l,u=a,d=0,f=r[0][0]==="*"?this.rules.inline.emStrongRDelimAst:this.rules.inline.emStrongRDelimUnd;for(f.lastIndex=0,t=t.slice(-1*e.length+a);(r=f.exec(t))!=null;){if(s=r[1]||r[2]||r[3]||r[4]||r[5]||r[6],!s)continue;if(l=[...s].length,r[3]||r[4]){u+=l;continue}else if((r[5]||r[6])&&a%3&&!((a+l)%3)){d+=l;continue}if(u-=l,u>0)continue;l=Math.min(l,l+u+d);let p=[...r[0]][0].length,m=e.slice(0,a+r.index+p+l);if(Math.min(a,l)%2){let y=m.slice(1,-1);return{type:"em",raw:m,text:y,tokens:this.lexer.inlineTokens(y)}}let b=m.slice(2,-2);return{type:"strong",raw:m,text:b,tokens:this.lexer.inlineTokens(b)}}}}codespan(e){let t=this.rules.inline.code.exec(e);if(t){let n=t[2].replace(this.rules.other.newLineCharGlobal," "),r=this.rules.other.nonSpaceChar.test(n),a=this.rules.other.startingSpaceChar.test(n)&&this.rules.other.endingSpaceChar.test(n);return r&&a&&(n=n.substring(1,n.length-1)),{type:"codespan",raw:t[0],text:n}}}br(e){let t=this.rules.inline.br.exec(e);if(t)return{type:"br",raw:t[0]}}del(e){let t=this.rules.inline.del.exec(e);if(t)return{type:"del",raw:t[0],text:t[2],tokens:this.lexer.inlineTokens(t[2])}}autolink(e){let t=this.rules.inline.autolink.exec(e);if(t){let n,r;return t[2]==="@"?(n=t[1],r="mailto:"+n):(n=t[1],r=n),{type:"link",raw:t[0],text:n,href:r,tokens:[{type:"text",raw:n,text:n}]}}}url(e){let t;if(t=this.rules.inline.url.exec(e)){let n,r;if(t[2]==="@")n=t[0],r="mailto:"+n;else{let a;do a=t[0],t[0]=this.rules.inline._backpedal.exec(t[0])?.[0]??"";while(a!==t[0]);n=t[0],t[1]==="www."?r="http://"+t[0]:r=t[0]}return{type:"link",raw:t[0],text:n,href:r,tokens:[{type:"text",raw:n,text:n}]}}}inlineText(e){let t=this.rules.inline.text.exec(e);if(t){let n=this.lexer.state.inRawBlock;return{type:"text",raw:t[0],text:t[0],escaped:n}}}},na=class P2{tokens;options;state;tokenizer;inlineQueue;constructor(t){this.tokens=[],this.tokens.links=Object.create(null),this.options=t||Do,this.options.tokenizer=this.options.tokenizer||new eh,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,top:!0};let n={other:rr,block:uf.normal,inline:dc.normal};this.options.pedantic?(n.block=uf.pedantic,n.inline=dc.pedantic):this.options.gfm&&(n.block=uf.gfm,this.options.breaks?n.inline=dc.breaks:n.inline=dc.gfm),this.tokenizer.rules=n}static get rules(){return{block:uf,inline:dc}}static lex(t,n){return new P2(n).lex(t)}static lexInline(t,n){return new P2(n).inlineTokens(t)}lex(t){t=t.replace(rr.carriageReturn,`
640`),this.blockTokens(t,this.tokens);for(let n=0;
vendor: 11,917 bytes, lines 640-672
640n<this.inlineQueue.length;n++){let r=this.inlineQueue[n];this.inlineTokens(r.src,r.tokens)}return this.inlineQueue=[],this.tokens}blockTokens(t,n=[],r=!1){for(this.options.pedantic&&(t=t.replace(rr.tabCharGlobal,"    ").replace(rr.spaceLine,""));t;){let a;if(this.options.extensions?.block?.some(l=>(a=l.call({lexer:this},t,n))?(t=t.substring(a.raw.length),n.push(a),!0):!1))continue;if(a=this.tokenizer.space(t)){t=t.substring(a.raw.length);let l=n.at(-1);a.raw.length===1&&l!==void 0?l.raw+=`
641`:n.push(a);continue}if(a=this.tokenizer.code(t)){t=t.substring(a.raw.length);let l=n.at(-1);l?.type==="paragraph"||l?.type==="text"?(l.raw+=(l.raw.endsWith(`
642`)?"":`
643`)+a.raw,l.text+=`
644`+a.text,this.inlineQueue.at(-1).src=l.text):n.push(a);continue}if(a=this.tokenizer.fences(t)){t=t.substring(a.raw.length),n.push(a);continue}if(a=this.tokenizer.heading(t)){t=t.substring(a.raw.length),n.push(a);continue}if(a=this.tokenizer.hr(t)){t=t.substring(a.raw.length),n.push(a);continue}if(a=this.tokenizer.blockquote(t)){t=t.substring(a.raw.length),n.push(a);continue}if(a=this.tokenizer.list(t)){t=t.substring(a.raw.length),n.push(a);continue}if(a=this.tokenizer.html(t)){t=t.substring(a.raw.length),n.push(a);continue}if(a=this.tokenizer.def(t)){t=t.substring(a.raw.length);let l=n.at(-1);l?.type==="paragraph"||l?.type==="text"?(l.raw+=(l.raw.endsWith(`
645`)?"":`
646`)+a.raw,l.text+=`
647`+a.raw,this.inlineQueue.at(-1).src=l.text):this.tokens.links[a.tag]||(this.tokens.links[a.tag]={href:a.href,title:a.title},n.push(a));continue}if(a=this.tokenizer.table(t)){t=t.substring(a.raw.length),n.push(a);continue}if(a=this.tokenizer.lheading(t)){t=t.substring(a.raw.length),n.push(a);continue}let s=t;if(this.options.extensions?.startBlock){let l=1/0,u=t.slice(1),d;this.options.extensions.startBlock.forEach(f=>{d=f.call({lexer:this},u),typeof d=="number"&&d>=0&&(l=Math.min(l,d))}),l<1/0&&l>=0&&(s=t.substring(0,l+1))}if(this.state.top&&(a=this.tokenizer.paragraph(s))){let l=n.at(-1);r&&l?.type==="paragraph"?(l.raw+=(l.raw.endsWith(`
648`)?"":`
649`)+a.raw,l.text+=`
650`+a.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=l.text):n.push(a),r=s.length!==t.length,t=t.substring(a.raw.length);continue}if(a=this.tokenizer.text(t)){t=t.substring(a.raw.length);let l=n.at(-1);l?.type==="text"?(l.raw+=(l.raw.endsWith(`
651`)?"":`
652`)+a.raw,l.text+=`
653`+a.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=l.text):n.push(a);continue}if(t){let l="Infinite loop on byte: "+t.charCodeAt(0);if(this.options.silent){console.error(l);break}else throw new Error(l)}}return this.state.top=!0,n}inline(t,n=[]){return this.inlineQueue.push({src:t,tokens:n}),n}inlineTokens(t,n=[]){let r=t,a=null;if(this.tokens.links){let u=Object.keys(this.tokens.links);if(u.length>0)for(;(a=this.tokenizer.rules.inline.reflinkSearch.exec(r))!=null;)u.includes(a[0].slice(a[0].lastIndexOf("[")+1,-1))&&(r=r.slice(0,a.index)+"["+"a".repeat(a[0].length-2)+"]"+r.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(a=this.tokenizer.rules.inline.anyPunctuation.exec(r))!=null;)r=r.slice(0,a.index)+"++"+r.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);for(;(a=this.tokenizer.rules.inline.blockSkip.exec(r))!=null;)r=r.slice(0,a.index)+"["+"a".repeat(a[0].length-2)+"]"+r.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);r=this.options.hooks?.emStrongMask?.call({lexer:this},r)??r;let s=!1,l="";for(;t;){s||(l=""),s=!1;let u;if(this.options.extensions?.inline?.some(f=>(u=f.call({lexer:this},t,n))?(t=t.substring(u.raw.length),n.push(u),!0):!1))continue;if(u=this.tokenizer.escape(t)){t=t.substring(u.raw.length),n.push(u);continue}if(u=this.tokenizer.tag(t)){t=t.substring(u.raw.length),n.push(u);continue}if(u=this.tokenizer.link(t)){t=t.substring(u.raw.length),n.push(u);continue}if(u=this.tokenizer.reflink(t,this.tokens.links)){t=t.substring(u.raw.length);let f=n.at(-1);u.type==="text"&&f?.type==="text"?(f.raw+=u.raw,f.text+=u.text):n.push(u);continue}if(u=this.tokenizer.emStrong(t,r,l)){t=t.substring(u.raw.length),n.push(u);continue}if(u=this.tokenizer.codespan(t)){t=t.substring(u.raw.length),n.push(u);continue}if(u=this.tokenizer.br(t)){t=t.substring(u.raw.length),n.push(u);continue}if(u=this.tokenizer.del(t)){t=t.substring(u.raw.length),n.push(u);continue}if(u=this.tokenizer.autolink(t)){t=t.substring(u.raw.length),n.push(u);continue}if(!this.state.inLink&&(u=this.tokenizer.url(t))){t=t.substring(u.raw.length),n.push(u);continue}let d=t;if(this.options.extensions?.startInline){let f=1/0,p=t.slice(1),m;this.options.extensions.startInline.forEach(b=>{m=b.call({lexer:this},p),typeof m=="number"&&m>=0&&(f=Math.min(f,m))}),f<1/0&&f>=0&&(d=t.substring(0,f+1))}if(u=this.tokenizer.inlineText(d)){t=t.substring(u.raw.length),u.raw.slice(-1)!=="_"&&(l=u.raw.slice(-1)),s=!0;let f=n.at(-1);f?.type==="text"?(f.raw+=u.raw,f.text+=u.text):n.push(u);continue}if(t){let f="Infinite loop on byte: "+t.charCodeAt(0);if(this.options.silent){console.error(f);break}else throw new Error(f)}}return n}},th=class{options;parser;constructor(t){this.options=t||Do}space(t){return""}code({text:t,lang:n,escaped:r}){let a=(n||"").match(rr.notSpaceStart)?.[0],s=t.replace(rr.endingNewline,"")+`
654`;return a?'<pre><code class="language-'+Pa(a)+'">'+(r?s:Pa(s,!0))+`</code></pre>
655`:"<pre><code>"+(r?s:Pa(s,!0))+`</code></pre>
656`}blockquote({tokens:t}){return`<blockquote>
657${this.parser.parse(t)}</blockquote>
658`}html({text:t}){return t}def(t){return""}heading({tokens:t,depth:n}){return`<h${n}>${this.parser.parseInline(t)}</h${n}>
659`}hr(t){return`<hr>
660`}list(t){let n=t.ordered,r=t.start,a="";for(let u=0;u<t.items.length;u++){let d=t.items[u];a+=this.listitem(d)}let s=n?"ol":"ul",l=n&&r!==1?' start="'+r+'"':"";return"<"+s+l+`>
661`+a+"</"+s+`>
662`}listitem(t){let n="";if(t.task){let r=this.checkbox({checked:!!t.checked});t.loose?t.tokens[0]?.type==="paragraph"?(t.tokens[0].text=r+" "+t.tokens[0].text,t.tokens[0].tokens&&t.tokens[0].tokens.length>0&&t.tokens[0].tokens[0].type==="text"&&(t.tokens[0].tokens[0].text=r+" "+Pa(t.tokens[0].tokens[0].text),t.tokens[0].tokens[0].escaped=!0)):t.tokens.unshift({type:"text",raw:r+" ",text:r+" ",escaped:!0}):n+=r+" "}return n+=this.parser.parse(t.tokens,!!t.loose),`<li>${n}</li>
663`}checkbox({checked:t}){return"<input "+(t?'checked="" ':"")+'disabled="" type="checkbox">'}paragraph({tokens:t}){return`<p>${this.parser.parseInline(t)}</p>
664`}table(t){let n="",r="";for(let s=0;s<t.header.length;s++)r+=this.tablecell(t.header[s]);n+=this.tablerow({text:r});let a="";for(let s=0;s<t.rows.length;s++){let l=t.rows[s];r="";for(let u=0;u<l.length;u++)r+=this.tablecell(l[u]);a+=this.tablerow({text:r})}return a&&(a=`<tbody>${a}</tbody>`),`<table>
665<thead>
666`+n+`</thead>
667`+a+`</table>
668`}tablerow({text:t}){return`<tr>
669${t}</tr>
670`}tablecell(t){let n=this.parser.parseInline(t.tokens),r=t.header?"th":"td";return(t.align?`<${r} align="${t.align}">`:`<${r}>`)+n+`</${r}>
671`}strong({tokens:t}){return`<strong>${this.parser.parseInline(t)}</strong>`}em({tokens:t}){return`<em>${this.parser.parseInline(t)}</em>`}codespan({text:t}){return`<code>${Pa(t,!0)}</code>`}br(t){return"<br>"}del({tokens:t}){return`<del>${this.parser.parseInline(t)}</del>`}link({href:t,title:n,tokens:r}){let a=this.parser.parseInline(r),s=pE(t);if(s===null)return a;t=s;let l='<a href="'+t+'"';return n&&(l+=' title="'+Pa(n)+'"'),l+=">"+a+"</a>",l}image({href:t,title:n,text:r,tokens:a}){a&&(r=this.parser.parseInline(a,this.parser.textRenderer));let s=pE(t);if(s===null)return Pa(r);t=s;let l=`<img src="${t}" alt="${r}"`;return n&&(l+=` title="${Pa(n)}"`),l+=">",l}text(t){return"tokens"in t&&t.tokens?this.parser.parseInline(t.tokens):"escaped"in t&&t.escaped?t.text:Pa(t.text)}},_4=class{strong({text:e}){return e}em({text:e}){return e}codespan({text:e}){return e}del({text:e}){return e}html({text:e}){return e}text({text:e}){return e}link({text:e}){return""+e}image({text:e}){return""+e}br(){return""}},pa=class B2{options;renderer;textRenderer;constructor(t){this.options=t||Do,this.options.renderer=this.options.renderer||new th,this.renderer=this.options.renderer,this.renderer.options=this.options,this.renderer.parser=this,this.textRenderer=new _4}static parse(t,n){return new B2(n).parse(t)}static parseInline(t,n){return new B2(n).parseInline(t)}parse(t,n=!0){let r="";for(let a=0;a<t.length;a++){let s=t[a];if(this.options.extensions?.renderers?.[s.type]){let u=s,d=this.options.extensions.renderers[u.type].call({parser:this},u);if(d!==!1||!["space","hr","heading","code","table","blockquote","list","html","def","paragraph","text"].includes(u.type)){r+=d||"";continue}}let l=s;switch(l.type){case"space":{r+=this.renderer.space(l);continue}case"hr":{r+=this.renderer.hr(l);continue}case"heading":{r+=this.renderer.heading(l);continue}case"code":{r+=this.renderer.code(l);continue}case"table":{r+=this.renderer.table(l);continue}case"blockquote":{r+=this.renderer.blockquote(l);continue}case"list":{r+=this.renderer.list(l);continue}case"html":{r+=this.renderer.html(l);continue}case"def":{r+=this.renderer.def(l);continue}case"paragraph":{r+=this.renderer.paragraph(l);continue}case"text":{let u=l,d=this.renderer.text(u);for(;a+1<t.length&&t[a+1].type==="text";)u=t[++a],d+=`
672`+this.renderer.text(u);n?r+=this.renderer.paragraph({type:"paragraph",raw:d,text:d,tokens:[{type:"text",raw:d,text:d,escaped:!0}]}):r+=d;continue}default:{let u='Token with "'+l.type+'" type was not found.';if(this.options.silent)return console.error(u),"";throw new Error(u)}}}return r}parseInline(t,n=this.renderer){let r="";for(let a=0;a<t.length;a++){let s=t[a];if(this.options.extensions?.renderers?.[s.type]){let u=this.options.extensions.renderers[s.type].call({parser:this},s);if(u!==!1||!["escape","html","link","image","strong","em","codespan","br","del","text"].includes(s.type)){r+=u||"";continue}}let l=s;switch(l.type){case"escape":{r+=n.text(l);break}case"html":{r+=n.html(l);break}case"link":{r+=n.link(l);break}case"image":{r+=n.image(l);break}case"strong":{r+=n.strong(l);break}case"em":{r+=n.em(l);break}case"codespan":{r+=n.codespan(l);break}case"br":{r+=n.br(l);break}case"del":{r+=n.del(l);break}case"text":{r+=n.text(l);break}default:{let u='Token with "'+l.type+'" type was not found.';if(this.options.silent)return console.error(u),"";throw new Error(u)}}}return r}},bc=class{options;block;constructor(e){this.options=e||Do}static passThroughHooks=new Set(["preprocess","postprocess","processAllTokens","emStrongMask"]);static passThroughHooksRespectAsync=new Set(["preprocess","postprocess","processAllTokens"]);preprocess(e){return e}postprocess(e){return e}processAllTokens(e){return e}emStrongMask(e){return e}provideLexer(){return this.block?na.lex:na.lexInline}provideParser(){return this.block?pa.parse:pa.parseInline}},DJ=class{defaults=m4();options=this.setOptions;parse=this.parseMarkdown(!0);parseInline=this.parseMarkdown(!1);Parser=pa;Renderer=th;TextRenderer=_4;Lexer=na;Tokenizer=eh;Hooks=bc;constructor(...e){this.use(...e)}walkTokens(e,t){let n=[];for(let r of e)switch(n=n.concat(t.call(this,r)),r.type){case"table":{let a=r;for(let s of a.header)n=n.concat(this.walkTokens(s.tokens,t));for(let s of a.rows)for(let l of s)n=n.concat(this.walkTokens(l.tokens,t));break}case"list":{let a=r;n=n.concat(this.walkTokens(a.items,t));break}default:{let a=r;this.defaults.extensions?.childTokens?.[a.type]?this.defaults.extensions.childTokens[a.type].forEach(s=>{let l=a[s].flat(1/0);n=n.concat(this.walkTokens(l,t))}):a.tokens&&(n=n.concat(this.walkTokens(a.tokens,t)))}}return n}use(...e){let t=this.defaults.extensions||{renderers:{},childTokens:{}};return e.forEach(n=>{let r={...n};if(r.async=this.defaults.async||r.async||!1,n.extensions&&(n.extensions.forEach(a=>{if(!a.name)throw new Error("extension name required");if("renderer"in a){let s=t.renderers[a.name];s?t.renderers[a.name]=function(...l){let u=a.renderer.apply(this,l);return u===!1&&(u=s.apply(this,l)),u}:t.renderers[a.name]=a.renderer}
672if("tokenizer"in a){if(!a.level||a.level!=="block"&&a.level!=="inline")throw new Error("extension level must be 'block' or 'inline'");let s=t[a.level];s?s.unshift(a.tokenizer):t[a.level]=[a.tokenizer],a.start&&(a.level==="block"?t.startBlock?t.startBlock.push(a.start):t.startBlock=[a.start]:a.level==="inline"&&(t.startInline?t.startInline.push(a.start):t.startInline=[a.start]))}"childTokens"in a&&a.childTokens&&(t.childTokens[a.name]=a.childTokens)}),r.extensions=t),n.renderer){let a=this.defaults.renderer||new th(this.defaults);for(let s in n.renderer){if(!(s in a))throw new Error(`renderer '${s}' does not exist`);if(["options","parser"].includes(s))continue;let l=s,u=n.renderer[l],d=a[l];a[l]=(...f)=>{let p=u.apply(a,f);return p===!1&&(p=d.apply(a,f)),p||""}}r.renderer=a}if(n.tokenizer){let a=this.defaults.tokenizer||new eh(this.defaults);for(let s in n.tokenizer){if(!(s in a))throw new Error(`tokenizer '${s}' does not exist`);if(["options","rules","lexer"].includes(s))continue;let l=s,u=n.tokenizer[l],d=a[l];a[l]=(...f)=>{let p=u.apply(a,f);return p===!1&&(p=d.apply(a,f)),p}}r.tokenizer=a}if(n.hooks){let a=this.defaults.hooks||new bc;for(let s in n.hooks){if(!(s in a))throw new Error(`hook '${s}' does not exist`);if(["options","block"].includes(s))continue;let l=s,u=n.hooks[l],d=a[l];bc.passThroughHooks.has(s)?a[l]=f=>{if(this.defaults.async&&bc.passThroughHooksRespectAsync.has(s))return(async()=>{let m=await u.call(a,f);return d.call(a,m)})();let p=u.call(a,f);return d.call(a,p)}:a[l]=(...f)=>{if(this.defaults.async)return(async()=>{let m=await u.apply(a,f);return m===!1&&(m=await d.apply(a,f)),m})();let p=u.apply(a,f);return p===!1&&(p=d.apply(a,f)),p}}r.hooks=a}if(n.walkTokens){let a=this.defaults.walkTokens,s=n.walkTokens;r.walkTokens=function(l){let u=[];return u.push(s.call(this,l)),a&&(u=u.concat(a.call(this,l))),u}}this.defaults={...this.defaults,...r}}),this}setOptions(e){return this.defaults={...this.defaults,...e},this}lexer(e,t){return na.lex(e,t??this.defaults)}parser(e,t){return pa.parse(e,t??this.defaults)}parseMarkdown(e){return(t,n)=>{let r={...n},a={...this.defaults,...r},s=this.onError(!!a.silent,!!a.async);if(this.defaults.async===!0&&r.async===!1)return s(new Error("marked(): The async option was set to true by an extension. Remove async: false from the parse options object to return a Promise."));if(typeof t>"u"||t===null)return s(new Error("marked(): input parameter is undefined or null"));if(typeof t!="string")return s(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(t)+", string expected"));if(a.hooks&&(a.hooks.options=a,a.hooks.block=e),a.async)return(async()=>{let l=a.hooks?await a.hooks.preprocess(t):t,u=await(a.hooks?await a.hooks.provideLexer():e?na.lex:na.lexInline)(l,a),d=a.hooks?await a.hooks.processAllTokens(u):u;a.walkTokens&&await Promise.all(this.walkTokens(d,a.walkTokens));let f=await(a.hooks?await a.hooks.provideParser():e?pa.parse:pa.parseInline)(d,a);return a.hooks?await a.hooks.postprocess(f):f})().catch(s);try{a.hooks&&(t=a.hooks.preprocess(t));let l=(a.hooks?a.hooks.provideLexer():e?na.lex:na.lexInline)(t,a);a.hooks&&(l=a.hooks.processAllTokens(l)),a.walkTokens&&this.walkTokens(l,a.walkTokens);let u=(a.hooks?a.hooks.provideParser():e?pa.parse:pa.parseInline)(l,a);return a.hooks&&(u=a.hooks.postprocess(u)),u}catch(l){return s(l)}}}onError(e,t){return n=>{if(n.message+=`
673Please report this to https://github.com/markedjs/marked.`,e){let r="<p>An error occurred:</p><pre>"+Pa(n.message+"",!0)+"</pre>";return t?Promise.resolve(r):r}if(t)return Promise.reject(n);throw n}}},Eo=new DJ;function Dt(e,t){return Eo.parse(e,t)}Dt.options=Dt.setOptions=function(e){return Eo.setOptions(e),Dt.defaults=Eo.defaults,Bw(Dt.defaults),Dt};Dt.getDefaults=m4;Dt.defaults=Do;Dt.use=function(...e){return Eo.use(...e),Dt.defaults=Eo.defaults,Bw(Dt.defaults),Dt};Dt.walkTokens=function(e,t){return Eo.walkTokens(e,t)};Dt.parseInline=Eo.parseInline;Dt.Parser=pa;Dt.parser=pa.parse;Dt.Renderer=th;Dt.TextRenderer=_4;Dt.Lexer=na;Dt.lexer=na.lex;Dt.Tokenizer=eh;Dt.Hooks=bc;Dt.parse=Dt;Dt.options;Dt.setOptions;Dt.use;Dt.walkTokens;Dt.parseInline;pa.parse;na.lex;var gt=(...e)=>b_(nb(e)),T4=(e,t,n)=>{let r=typeof t=="string"?new Blob([t],{type:n}):t,a=URL.createObjectURL(r),s=document.createElement("a");s.href=a,s.download=e,document.body.appendChild(s),s.click(),document.body.removeChild(s),URL.revokeObjectURL(a)},LJ=/<pre(\s|>)/,S4=H.createContext({code:""}),IJ=class{constructor(){this.lightHighlighter=null,this.darkHighlighter=null,this.lightTheme=null,this.darkTheme=null,this.loadedLanguages=new Set,this.initializationPromise=null}isLanguageSupported(e){return Object.hasOwn(dw,e)}getFallbackLanguage(){return"text"}async ensureHighlightersInitialized(e,t){var n,r;let[a,s]=e,l=WZ({forgiving:!0}),u=!this.lightHighlighter||this.lightTheme!==a,d=!this.darkHighlighter||this.darkTheme!==s;(u||d)&&this.loadedLanguages.clear();let f=this.isLanguageSupported(t),p=!this.loadedLanguages.has(t)&&f;if(u?(this.lightHighlighter=await V8({themes:[a],langs:f?[t]:[],engine:l}),this.lightTheme=a,f&&this.loadedLanguages.add(t)):p&&await((n=this.lightHighlighter)==null?void 0:n.loadLanguage(t)),d){let m=p?[...this.loadedLanguages].concat(f?[t]:[]):Array.from(this.loadedLanguages);this.darkHighlighter=await V8({themes:[s],langs:m.length>0?m:f?[t]:[],engine:l}),this.darkTheme=s}else p&&await((r=this.darkHighlighter)==null?void 0:r.loadLanguage(t));p&&this.loadedLanguages.add(t)}async highlightCode(e,t,n,r){var a,s;this.initializationPromise&&await this.initializationPromise,this.initializationPromise=this.ensureHighlightersInitialized(n,t),await this.initializationPromise,this.initializationPromise=null;let[l,u]=n,d=this.isLanguageSupported(t)?t:this.getFallbackLanguage(),f=(a=this.lightHighlighter)==null?void 0:a.codeToHtml(e,{lang:d,theme:l}),p=(s=this.darkHighlighter)==null?void 0:s.codeToHtml(e,{lang:d,theme:u}),m=b=>r?b.replace(LJ,`<pre class="${r}"$1`):b;return[m(f),m(p)]}},MJ=new IJ,PJ=({code:e,language:t,className:n,children:r,preClassName:a,...s})=>{let[l,u]=H.useState(""),[d,f]=H.useState(""),p=H.useRef(!1),[m,b]=
673H.useContext(_A);return H.useEffect(()=>(p.current=!0,MJ.highlightCode(e,t,[m,b],a).then(([y,E])=>{p.current&&(u(y),f(E))}),()=>{p.current=!1}),[e,t,m,b,a]),A.jsx(S4.Provider,{value:{code:e},children:A.jsxs("div",{className:"my-4 w-full overflow-hidden rounded-xl border","data-code-block-container":!0,"data-language":t,children:[A.jsxs("div",{className:"flex items-center justify-between bg-muted/80 p-3 text-muted-foreground text-xs","data-code-block-header":!0,"data-language":t,children:[A.jsx("span",{className:"ml-1 font-mono lowercase",children:t}),A.jsx("div",{className:"flex items-center gap-2",children:r})]}),A.jsx("div",{className:"w-full",children:A.jsxs("div",{className:"min-w-full",children:[A.jsx("div",{className:gt("overflow-x-auto dark:hidden",n),dangerouslySetInnerHTML:{__html:l},"data-code-block":!0,"data-language":t,...s}),A.jsx("div",{className:gt("hidden overflow-x-auto dark:block",n),dangerouslySetInnerHTML:{__html:d},"data-code-block":!0,"data-language":t,...s})]})})]})})},yE={"1c":"1c","1c-query":"1cq",abap:"abap","actionscript-3":"as",ada:"ada",adoc:"adoc","angular-html":"html","angular-ts":"ts",apache:"conf",apex:"cls",apl:"apl",applescript:"applescript",ara:"ara",asciidoc:"adoc",asm:"asm",astro:"astro",awk:"awk",ballerina:"bal",bash:"sh",bat:"bat",batch:"bat",be:"be",beancount:"beancount",berry:"berry",bibtex:"bib",bicep:"bicep",blade:"blade.php",bsl:"bsl",c:"c","c#":"cs","c++":"cpp",cadence:"cdc",cairo:"cairo",cdc:"cdc",clarity:"clar",clj:"clj",clojure:"clj","closure-templates":"soy",cmake:"cmake",cmd:"cmd",cobol:"cob",codeowners:"CODEOWNERS",codeql:"ql",coffee:"coffee",coffeescript:"coffee","common-lisp":"lisp",console:"sh",coq:"v",cpp:"cpp",cql:"cql",crystal:"cr",cs:"cs",csharp:"cs",css:"css",csv:"csv",cue:"cue",cypher:"cql",d:"d",dart:"dart",dax:"dax",desktop:"desktop",diff:"diff",docker:"dockerfile",dockerfile:"dockerfile",dotenv:"env","dream-maker":"dm",edge:"edge",elisp:"el",elixir:"ex",elm:"elm","emacs-lisp":"el",erb:"erb",erl:"erl",erlang:"erl",f:"f","f#":"fs",f03:"f03",f08:"f08",f18:"f18",f77:"f77",f90:"f90",f95:"f95",fennel:"fnl",fish:"fish",fluent:"ftl",for:"for","fortran-fixed-form":"f","fortran-free-form":"f90",fs:"fs",fsharp:"fs",fsl:"fsl",ftl:"ftl",gdresource:"tres",gdscript:"gd",gdshader:"gdshader",genie:"gs",gherkin:"feature","git-commit":"gitcommit","git-rebase":"gitrebase",gjs:"js",gleam:"gleam","glimmer-js":"js","glimmer-ts":"ts",glsl:"glsl",gnuplot:"plt",go:"go",gql:"gql",graphql:"graphql",groovy:"groovy",gts:"gts",hack:"hack",haml:"haml",handlebars:"hbs",haskell:"hs",haxe:"hx",hbs:"hbs",hcl:"hcl",hjson:"hjson",hlsl:"hlsl",hs:"hs",html:"html","html-derivative":"html",http:"http",hxml:"hxml",hy:"hy",imba:"imba",ini:"ini",jade:"jade",java:"java",javascript:"js",jinja:"jinja",jison:"jison",jl:"jl",js:"js",json:"json",json5:"json5",jsonc:"jsonc",jsonl:"jsonl",jsonnet:"jsonnet",jssm:"jssm",jsx:"jsx",julia:"jl",kotlin:"kt",kql:"kql",kt:"kt",kts:"kts",kusto:"kql",latex:"tex",lean:"lean",lean4:"lean",less:"less",liquid:"liquid",lisp:"lisp",lit:"lit",llvm:"ll",log:"log",logo:"logo",lua:"lua",luau:"luau",make:"mak",makefile:"mak",markdown:"md",marko:"marko",matlab:"m",md:"md",mdc:"mdc",mdx:"mdx",mediawiki:"wiki",mermaid:"mmd",mips:"s",mipsasm:"s",mmd:"mmd",mojo:"mojo",move:"move",nar:"nar",narrat:"narrat",nextflow:"nf",nf:"nf",nginx:"conf",nim:"nim",nix:"nix",nu:"nu",nushell:"nu",objc:"m","objective-c":"m","objective-cpp":"mm",ocaml:"ml",pascal:"pas",perl:"pl",perl6:"p6",php:"php",plsql:"pls",po:"po",polar:"polar",postcss:"pcss",pot:"pot",potx:"potx",powerquery:"pq",powershell:"ps1",prisma:"prisma",prolog:"pl",properties:"properties",proto:"proto",protobuf:"proto",ps:"ps",ps1:"ps1",pug:"pug",puppet:"pp",purescript:"purs",py:"py",python:"py",ql:"ql",qml:"qml",qmldir:"qmldir",qss:"qss",r:"r",racket:"rkt",raku:"raku",razor:"cshtml",rb:"rb",reg:"reg",regex:"regex",regexp:"regexp",rel:"rel",riscv:"s",rs:"rs",rst:"rst",ruby:"rb",rust:"rs",sas:"sas",sass:"sass",scala:"scala",scheme:"scm",scss:"scss",sdbl:"sdbl",sh:"sh",shader:"shader",shaderlab:"shader",shell:"sh",shellscript:"sh",shellsession:"sh",smalltalk:"st",solidity:"sol",soy:"soy",sparql:"rq",spl:"spl",splunk:"spl",sql:"sql","ssh-config":"config",stata:"do",styl:"styl",stylus:"styl",svelte:"svelte",swift:"swift","system-verilog":"sv",systemd:"service",talon:"talon",talonscript:"talon",tasl:"tasl",tcl:"tcl",templ:"templ",terraform:"tf",tex:"tex",tf:"tf",tfvars:"tfvars",toml:"toml",ts:"ts","ts-tags":"ts",tsp:"tsp",tsv:"tsv",tsx:"tsx",turtle:"ttl",twig:"twig",typ:"typ",typescript:"ts",typespec:"tsp",typst:"typ",v:"v",vala:"vala",vb:"vb",verilog:"v",vhdl:"vhdl",vim:"vim",viml:"vim",vimscript:"vim",vue:"vue","vue-html":"html","vue-vine":"vine",vy:"vy",vyper:"vy",wasm:"wasm",wenyan:"wy",wgsl:"wgsl",wiki:"wiki",wikitext:"wiki",wit:"wit",wl:"wl",wolfram:"wl",xml:"xml",xsl:"xsl",yaml:"yaml",yml:"yml",zenscript:"zs",zig:"zig",zsh:"zsh",文言:"wy"},vE=({onDownload:e,onError:t,language:n,children:r,className:a,code:s,...l})=>{let{code:u}=H.useContext(S4),{isAnimating:d}=H.useContext(v0),f=s??u,p=`file.${n&&n in yE?yE[n]:"txt"}
673`,m="text/plain",b=()=>{try{T4(p,f,m),e?.()}catch(y){t?.(y)}};return A.jsx("button",{className:gt("cursor-pointer p-1 text-muted-foreground transition-all hover:text-foreground disabled:cursor-not-allowed disabled:opacity-50",a),disabled:d,onClick:b,title:"Download file",type:"button",...l,children:r??A.jsx(e4,{size:14})})},xE=({onCopy:e,onError:t,timeout:n=2e3,children:r,className:a,code:s,...l})=>{let[u,d]=H.useState(!1),f=H.useRef(0),{code:p}=H.useContext(S4),{isAnimating:m}=H.useContext(v0),b=s??p,y=async()=>{var T;if(typeof window>"u"||!((T=navigator?.clipboard)!=null&&T.writeText)){t?.(new Error("Clipboard API not available"));return}try{u||(await navigator.clipboard.writeText(b),d(!0),e?.(),f.current=window.setTimeout(()=>d(!1),n))}catch(N){t?.(N)}};H.useEffect(()=>()=>{window.clearTimeout(f.current)},[]);let E=u?LS:IS;return A.jsx("button",{className:gt("cursor-pointer p-1 text-muted-foreground transition-all hover:text-foreground disabled:cursor-not-allowed disabled:opacity-50",a),disabled:m,onClick:y,type:"button",...l,children:r??A.jsx(E,{size:14})})},BJ=({node:e,className:t,src:n,alt:r,...a})=>{let s=async()=>{var l;if(n)try{let u=await(await fetch(n)).blob(),d=new URL(n,window.location.origin).pathname.split("/").pop()||"",f=d.includes(".")&&((l=d.split(".").pop())==null?void 0:l.length)<=4,p="";if(f)p=d;else{let m=u.type,b="png";m.includes("jpeg")||m.includes("jpg")?b="jpg":m.includes("png")?b="png":m.includes("svg")?b="svg":m.includes("gif")?b="gif":m.includes("webp")&&(b="webp"),p=`${(r||d||"image").replace(/\.[^/.]+$/,"")}.${b}`}T4(p,u,u.type)}catch(u){console.error("Failed to download image:",u)}};return n?A.jsxs("div",{className:"group relative my-4 inline-block","data-streamdown":"image-wrapper",children:[A.jsx("img",{alt:r,className:gt("max-w-full rounded-lg",t),"data-streamdown":"image",src:n,...a}),A.jsx("div",{className:"pointer-events-none absolute inset-0 hidden rounded-lg bg-black/10 group-hover:block"}),A.jsx("button",{className:gt("absolute right-2 bottom-2 flex h-8 w-8 cursor-pointer items-center justify-center rounded-md border border-border bg-background/90 shadow-sm backdrop-blur-sm transition-all duration-200 hover:bg-background","opacity-0 group-hover:opacity-100"),onClick:s,title:"Download image",type:"button",children:A.jsx(e4,{size:14})})]}):null},zJ=async e=>{let t={startOnLoad:!1,theme:"default",securityLevel:"strict",fontFamily:"monospace",suppressErrorRendering:!0,...e},n=(await P(async()=>{const{default:r}=await import("./mermaid.core-CwUpP8_V.js").then(a=>a.bC);return{default:r}},[])).default;return n.initialize(t),n},UJ=({chart:e,className:t,config:n})=>{let[r,a]=H.useState(null),[s,l]=H.useState(!0),[u,d]=H.useState(""),[f,p]=H.useState("");if(H.useEffect(()=>{(async()=>{try{a(null),l(!0);let b=await zJ(n),y=e.split("").reduce((N,k)=>(N<<5)-N+k.charCodeAt(0)|0,0),E=`mermaid-${Math.abs(y)}-${Date.now()}-${Math.random().toString(36).substring(2,9)}`,{svg:T}=await b.render(E,e);d(T),p(T)}catch(b){if(!(f||u)){let y=b instanceof Error?b.message:"Failed to render Mermaid chart";a(y)}}finally{l(!1)}})()},[e,n]),s&&!u&&!f)return A.jsx("div",{className:gt("my-4 flex justify-center p-4",t),children:A.jsxs("div",{className:"flex items-center space-x-2 text-muted-foreground",children:[A.jsx("div",{className:"h-4 w-4 animate-spin rounded-full border-current border-b-2"}),A.jsx("span",{className:"text-sm",children:"Loading diagram..."})]})});if(r&&!u&&!f)return A.jsxs("div",{className:gt("rounded-lg border border-red-200 bg-red-50 p-4",t),children:[A.jsxs("p",{className:"font-mono text-red-700 text-sm",children:["Mermaid Error: ",r]}),A.jsxs("details",{className:"mt-2",children:[A.jsx("summary",{className:"cursor-pointer text-red-600 text-xs",children:"Show Code"}),A.jsx("pre",{className:"mt-2 overflow-x-auto rounded bg-red-100 p-2 text-red-800 text-xs",children:e})]})]});let m=u||f;return A.jsx("div",{"aria-label":"Mermaid chart",className:gt("my-4 flex justify-center",t),dangerouslySetInnerHTML:{__html:m},role:"img"})};function Qw(e){var t,n;let r=[],a=[],s=e.querySelectorAll("thead th");for(let u of s)r.push(((t=u.textContent)==null?void 0:t.trim())||"");let l=e.querySelectorAll("tbody tr");for(let u of l){let d=[],f=u.querySelectorAll("td");for(let p of f)d.push(((n=p.textContent)==null?void 0:n.trim())||"");a.push(d)}return{headers:r,rows:a}}function Xw(e){let{headers:t,rows:n}=e,r=s=>s.includes(",")||s.includes('"')||s.includes(`
674`)?`"${s.replace(/"/g,'""')}"`:s,a=[];t.length>0&&a.push(t.map(r).join(","));for(let s of n)a.push(s.map(r).join(","));return a.join(`
675`)}function Ww(e){let{headers:t,rows:n}=e;if(t.length===0)return"";let r=[],a=t.map(s=>s.replace(/\|/g,"\\|"));r.push(`| ${a.join(" | ")} |`),r.push(`| ${t.map(()=>"---").join(" | ")} |`);for(let s of n){let l=[...s];for(;l.length<t.length;)l.push("");let u=l.map(d=>d.replace(/\|/g,"\\|"));r.push(`| ${u.join(" | ")} |`)}return r.join(`
676`)}var HJ=({children:e,className:t,onCopy:n,onError:r,timeout:a=2e3,format:s="markdown"})=>{let[l,u]=H.useState(!1),d=H.useRef(0),{isAnimating:f}=H.useContext(v0),p=async b=>{var y;if(typeof window>"u"||!((y=navigator?.clipboard)!=null&&y.write)){r?.(new Error("Clipboard API not available"));return}try{if(!l){let E=b.currentTarget.closest('[data-streamdown="table-wrapper"]'),T=E?.querySelector("table");if(!T){r?.(new Error("Table not found"));return}let N=Qw(T),k=new ClipboardItem({"text/plain":s==="markdown"?Ww(N):Xw(N),"text/html":new Blob([T.outerHTML],{type:"text/html"})});await navigator.clipboard.write([k]),u(!0),n?.(),d.current=window.setTimeout(()=>u(!1),a)}}catch(E){r?.(E)}};H.useEffect(()=>()=>{window.clearTimeout(d.current)},[]);let m=l?LS:IS;return A.jsx("button",{className:gt("cursor-pointer p-1 text-muted-foreground transition-all hover:text-foreground disabled:cursor-not-allowed disabled:opacity-50",t),disabled:f,onClick:p,title:`Copy table as ${s}`,type:"button",children:e??A.jsx(m,{size:14})})},FJ=({children:e,className:t,onDownload:n,onError:r})=>{let[a,s]=H.useState(!1),l=H.useRef(null),{isAnimating:u}=H.useContext(v0),d=f=>{var p;try{let m=(p=l.current)==null?void 0:p.closest('[data-streamdown="table-wrapper"]'),b=m?.querySelector("table");if(!b){r?.(new Error("Table not found"));return}let y=Qw(b),E=f==="csv"?Xw(y):Ww(y);T4(`table.${f==="csv"?"csv":"md"}`,E,f==="csv"?"text/csv":"text/markdown"),s(!1),n?.(f)}catch(m){r?.(m)}};return H.useEffect(()=>{let f=p=>{l.current&&!l.current.contains(p.target)&&s(!1)};return document.addEventListener("mousedown",f),()=>{document.removeEventListener("mousedown",f)}},[]),A.jsxs("div",{className:"relative",ref:l,children:[A.jsx("button",{className:gt("cursor-pointer p-1 text-muted-foreground transition-all hover:text-foreground disabled:cursor-not-allowed disabled:opacity-50",t),disabled:u,onClick:()=>s(!a),title:"Download table",type:"button",children:e??A.jsx(e4,{size:14})}),a&&A.jsxs("div",{className:"absolute top-full right-0 z-10 mt-1 min-w-[120px] rounded-md border border-border bg-background shadow-lg",children:[A.jsx("button",{className:"w-full px-3 py-2 text-left text-sm transition-colors hover:bg-muted/40",onClick:()=>d("csv"),type:"button",children:"CSV"}),A.jsx("button",{className:"w-full px-3 py-2 text-left text-sm transition-colors hover:bg-muted/40",onClick:()=>d("markdown"),type:"button",children:"Markdown"})]})]})},jJ=/language-([^\s]+)/;function Qh(e,t){if(!(e!=null&&e.position||t!=null&&t.position))return!0;
676if(!(e!=null&&e.position&&t!=null&&t.position))return!1;let n=e.position.start,r=t.position.start,a=e.position.end,s=t.position.end;return n?.line===r?.line&&n?.column===r?.column&&a?.line===s?.line&&a?.column===s?.column}function Jt(e,t){return e.className===t.className&&Qh(e.node,t.node)}var z2=(e,t)=>typeof e=="boolean"?e:e[t]!==!1,w4=H.memo(({children:e,className:t,node:n,...r})=>A.jsx("ol",{className:gt("ml-4 list-outside list-decimal whitespace-normal",t),"data-streamdown":"ordered-list",...r,children:e}),(e,t)=>Jt(e,t));w4.displayName="MarkdownOl";var Kw=H.memo(({children:e,className:t,node:n,...r})=>A.jsx("li",{className:gt("py-1",t),"data-streamdown":"list-item",...r,children:e}),(e,t)=>e.className===t.className&&Qh(e.node,t.node));Kw.displayName="MarkdownLi";var Zw=H.memo(({children:e,className:t,node:n,...r})=>A.jsx("ul",{className:gt("ml-4 list-outside list-disc whitespace-normal",t),"data-streamdown":"unordered-list",...r,children:e}),(e,t)=>Jt(e,t));Zw.displayName="MarkdownUl";var Jw=H.memo(({className:e,node:t,...n})=>A.jsx("hr",{className:gt("my-6 border-border",e),"data-streamdown":"horizontal-rule",...n}),(e,t)=>Jt(e,t));Jw.displayName="MarkdownHr";var eA=H.memo(({children:e,className:t,node:n,...r})=>A.jsx("span",{className:gt("font-semibold",t),"data-streamdown":"strong",...r,children:e}),(e,t)=>Jt(e,t));eA.displayName="MarkdownStrong";var tA=H.memo(({children:e,className:t,href:n,node:r,...a})=>{let s=n==="streamdown:incomplete-link";return A.jsx("a",{className:gt("wrap-anywhere font-medium text-primary underline",t),"data-incomplete":s,"data-streamdown":"link",href:n,rel:"noreferrer",target:"_blank",...a,children:e})},(e,t)=>Jt(e,t)&&e.href===t.href);tA.displayName="MarkdownA";var nA=H.memo(({children:e,className:t,node:n,...r})=>A.jsx("h1",{className:gt("mt-6 mb-2 font-semibold text-3xl",t),"data-streamdown":"heading-1",...r,children:e}),(e,t)=>Jt(e,t));nA.displayName="MarkdownH1";var rA=H.memo(({children:e,className:t,node:n,...r})=>A.jsx("h2",{className:gt("mt-6 mb-2 font-semibold text-2xl",t),"data-streamdown":"heading-2",...r,children:e}),(e,t)=>Jt(e,t));rA.displayName="MarkdownH2";var aA=H.memo(({children:e,className:t,node:n,...r})=>A.jsx("h3",{className:gt("mt-6 mb-2 font-semibold text-xl",t),"data-streamdown":"heading-3",...r,children:e}),(e,t)=>Jt(e,t));aA.displayName="MarkdownH3";var iA=H.memo(({children:e,className:t,node:n,...r})=>A.jsx("h4",{className:gt("mt-6 mb-2 font-semibold text-lg",t),"data-streamdown":"heading-4",...r,children:e}),(e,t)=>Jt(e,t));iA.displayName="MarkdownH4";var sA=H.memo(({children:e,className:t,node:n,...r})=>A.jsx("h5",{className:gt("mt-6 mb-2 font-semibold text-base",t),"data-streamdown":"heading-5",...r,children:e}),(e,t)=>Jt(e,t));sA.displayName="MarkdownH5";var oA=H.memo(({children:e,className:t,node:n,...r})=>A.jsx("h6",{className:gt("mt-6 mb-2 font-semibold text-sm",t),"data-streamdown":"heading-6",...r,children:e}),(e,t)=>Jt(e,t));oA.displayName="MarkdownH6";var lA=H.memo(({children:e,className:t,node:n,...r})=>{let a=H.useContext(A4),s=z2(a,"table");return A.jsxs("div",{className:"my-4 flex flex-col space-y-2","data-streamdown":"table-wrapper",children:[s&&A.jsxs("div",{className:"flex items-center justify-end gap-1",children:[A.jsx(HJ,{}),A.jsx(FJ,{})]}),A.jsx("div",{className:"overflow-x-auto",children:A.jsx("table",{className:gt("w-full border-collapse border border-border",t),"data-streamdown":"table",...r,children:e})})]})},(e,t)=>Jt(e,t));lA.displayName="MarkdownTable";var uA=H.memo(({children:e,className:t,node:n,...r})=>A.jsx("thead",{className:gt("bg-muted/80",t),"data-streamdown":"table-header",...r,children:e}),(e,t)=>Jt(e,t));uA.displayName="MarkdownThead";var cA=H.memo(({children:e,className:t,node:n,...r})=>A.jsx("tbody",{className:gt("divide-y divide-border bg-muted/40",t),"data-streamdown":"table-body",...r,children:e}),(e,t)=>Jt(e,t));cA.displayName="MarkdownTbody";var dA=H.memo(({children:e,className:t,node:n,...r})=>A.jsx("tr",{className:gt("border-border border-b",t),"data-streamdown":"table-row",...r,children:e}),(e,t)=>Jt(e,t));dA.displayName="MarkdownTr";var fA=H.memo(({children:e,className:t,node:n,...r})=>A.jsx("th",{className:gt("whitespace-nowrap px-4 py-2 text-left font-semibold text-sm",t),"data-streamdown":"table-header-cell",...r,children:e}),(e,t)=>Jt(e,t));fA.displayName="MarkdownTh";var hA=H.memo(({children:e,className:t,node:n,...r})=>A.jsx("td",{className:gt("px-4 py-2 text-sm",t),"data-streamdown":"table-cell",...r,children:e}),(e,t)=>Jt(e,t));hA.displayName="MarkdownTd";var mA=H.memo(({children:e,className:t,node:n,...r})=>
676A.jsx("blockquote",{className:gt("my-4 border-muted-foreground/30 border-l-4 pl-4 text-muted-foreground italic",t),"data-streamdown":"blockquote",...r,children:e}),(e,t)=>Jt(e,t));mA.displayName="MarkdownBlockquote";var pA=H.memo(({children:e,className:t,node:n,...r})=>A.jsx("sup",{className:gt("text-sm",t),"data-streamdown":"superscript",...r,children:e}),(e,t)=>Jt(e,t));pA.displayName="MarkdownSup";var gA=H.memo(({children:e,className:t,node:n,...r})=>A.jsx("sub",{className:gt("text-sm",t),"data-streamdown":"subscript",...r,children:e}),(e,t)=>Jt(e,t));gA.displayName="MarkdownSub";var bA=H.memo(({children:e,className:t,node:n,...r})=>{if("data-footnotes"in r){let a=l=>{var u,d;if(!H.isValidElement(l))return!1;let f=Array.isArray(l.props.children)?l.props.children:[l.props.children],p=!1,m=!1;for(let b of f)if(b){if(typeof b=="string")b.trim()!==""&&(p=!0);else if(H.isValidElement(b))if(((u=b.props)==null?void 0:u["data-footnote-backref"])!==void 0)m=!0;else{let y=Array.isArray(b.props.children)?b.props.children:[b.props.children];for(let E of y){if(typeof E=="string"&&E.trim()!==""){p=!0;break}if(H.isValidElement(E)&&((d=E.props)==null?void 0:d["data-footnote-backref"])===void 0){p=!0;break}}}}return m&&!p},s=Array.isArray(e)?e.map(l=>{if(!H.isValidElement(l))return l;if(l.type===w4){let u=(Array.isArray(l.props.children)?l.props.children:[l.props.children]).filter(d=>!a(d));return u.length===0?null:{...l,props:{...l.props,children:u}}}return l}):e;return(Array.isArray(s)?s.some(l=>l!==null):s!==null)?A.jsx("section",{className:t,...r,children:s}):null}return A.jsx("section",{className:t,...r,children:e})},(e,t)=>Jt(e,t));bA.displayName="MarkdownSection";var qJ=({node:e,className:t,children:n,...r})=>{var a,s,l;let u=((a=e?.position)==null?void 0:a.start.line)===((s=e?.position)==null?void 0:s.end.line),d=H.useContext(TA),f=H.useContext(A4);if(u)return A.jsx("code",{className:gt("rounded bg-muted px-1.5 py-0.5 font-mono text-sm",t),"data-streamdown":"inline-code",...r,children:n});let p=t?.match(jJ),m=(l=p?.at(1))!=null?l:"",b="";if(H.isValidElement(n)&&n.props&&typeof n.props=="object"&&"children"in n.props&&typeof n.props.children=="string"?b=n.props.children:typeof n=="string"&&(b=n),m==="mermaid"){let E=z2(f,"mermaid");return A.jsxs("div",{className:gt("group relative my-4 h-auto rounded-xl border p-4",t),"data-streamdown":"mermaid-block",children:[E&&A.jsxs("div",{className:"flex items-center justify-end gap-2",children:[A.jsx(vE,{code:b,language:m}),A.jsx(xE,{code:b})]}),A.jsx(UJ,{chart:b,config:d})]})}let y=z2(f,"code");return A.jsx(PJ,{className:gt("overflow-x-auto border-t",t),code:b,"data-language":m,"data-streamdown":"code-block",language:m,preClassName:"overflow-x-auto font-mono text-xs p-4 bg-muted/40",children:y&&A.jsxs(A.Fragment,{children:[A.jsx(vE,{code:b,language:m}),A.jsx(xE,{})]})})},yA=H.memo(qJ,(e,t)=>e.className===t.className&&Qh(e.node,t.node));yA.displayName="MarkdownCode";var vA=H.memo(BJ,(e,t)=>e.className===t.className&&Qh(e.node,t.node));vA.displayName="MarkdownImg";var xA=H.memo(({children:e,className:t,node:n,...r})=>{var a;let s=(Array.isArray(e)?e:[e]).filter(l=>l!=null&&l!=="");return s.length===1&&H.isValidElement(s[0])&&((a=s[0].props.node)==null?void 0:a.tagName)==="img"?A.jsx(A.Fragment,{children:e}):A.jsx("p",{className:t,...r,children:e})},(e,t)=>Jt(e,t));xA.displayName="MarkdownParagraph";var $J={ol:w4,li:Kw,ul:Zw,hr:Jw,strong:eA,a:tA,h1:nA,h2:rA,h3:aA,h4:iA,h5:sA,h6:oA,table:lA,thead:uA,tbody:cA,tr:dA,th:fA,td:hA,blockquote:mA,code:yA,img:vA,pre:({children:e})=>e,sup:pA,sub:gA,p:xA,section:bA},VJ=e=>{let t=/\[\^[^\]\s]{1,200}\](?!:)/.test(e),n=/\[\^[^\]\s]{1,200}\]:/.test(e);if(t||n)return[e];let r=na.lex(e,{gfm:!0}),a=[],s=[];for(let l=0;l<r.length;l++){let u=r[l],d=u.raw;if(s.length>0){if(a[a.length-1]+=d,u.type==="html"){let f=d.match(/<\/(\w+)>/);if(f){let p=f[1];s[s.length-1]===p&&s.pop()}}continue}if(u.type==="html"&&u.block){let f=d.match(/<(\w+)[\s>]/);if(f){let p=f[1];d.includes(`</${p}>`)||s.push(p)}}if(d.trim()==="$$"&&a.length>0){let f=a.at(-1);if(!f){a.push(d);continue}let p=f.trimStart().startsWith("$$"),m=(f.match(/\$\$/g)||[]).length;
676if(p&&m%2===1){a[a.length-1]=f+d;continue}}if(a.length>0&&d.trimEnd().endsWith("$$")){let f=a.at(-1);if(!f){a.push(d);continue}let p=f.trimStart().startsWith("$$"),m=(f.match(/\$\$/g)||[]).length,b=(d.match(/\$\$/g)||[]).length;if(p&&m%2===1&&!d.trimStart().startsWith("$$")&&b===1){a[a.length-1]=f+d;continue}}a.push(d)}return a},GJ=/(!?\[)([^\]]*?)$/,YJ=/(\*\*)([^*]*?)$/,QJ=/(__)([^_]*?)$/,XJ=/(\*\*\*)([^*]*?)$/,WJ=/(\*)([^*]*?)$/,KJ=/(_)([^_]*?)$/,ZJ=/(`)([^`]*?)$/,JJ=/(~~)([^~]*?)$/,Xh=e=>{let t=(e.match(/```/g)||[]).length;return t>0&&t%2===0&&e.includes(`
677`)},eee=e=>{let t=/(!?)\[([^\]]+)\]\(([^)]+)$/,n=e.match(t);if(n){let a=n[1]==="!",s=n[2],l=n[3],u=e.lastIndexOf(`${a?"!":""}[${s}](${l}`),d=e.substring(0,u);return a?d:`${d}[${s}](streamdown:incomplete-link)`}let r=e.match(GJ);if(r){if(r[1].startsWith("!")){let a=e.lastIndexOf(r[1]);return e.substring(0,a)}return`${e}](streamdown:incomplete-link)`}return e},tee=e=>{if(Xh(e))return e;let t=e.match(YJ);if(t){let n=t[2];if(!n||/^[\s_~*`]*$/.test(n))return e;let r=e.lastIndexOf(t[1]),a=e.substring(0,r).lastIndexOf(`
678`),s=a===-1?0:a+1,l=e.substring(s,r);if(/^[\s]*[-*+][\s]+$/.test(l)&&n.includes(`
679`))return e;if((e.match(/\*\*/g)||[]).length%2===1)return`${e}**`}return e},nee=e=>{let t=e.match(QJ);if(t){let n=t[2];if(!n||/^[\s_~*`]*$/.test(n))return e;let r=e.lastIndexOf(t[1]),a=e.substring(0,r).lastIndexOf(`
680`),s=a===-1?0:a+1,l=e.substring(s,r);if(/^[\s]*[-*+][\s]+$/.test(l)&&n.includes(`
681`))return e;if((e.match(/__/g)||[]).length%2===1)return`${e}__`}return e},ree=e=>e.split("").reduce((t,n,r)=>{if(n==="*"){let a=e[r-1],s=e[r+1];if(a==="\\")return t;let l=r;for(let u=r-1;u>=0;u--){if(e[u]===`
682`){l=u+1;break}if(u===0){l=0;break}}if(e.substring(l,r).trim()===""&&(s===" "||s==="	"))return t;if(a!=="*"&&s!=="*")return t+1}return t},0),aee=e=>{if(Xh(e))return e;if(e.match(WJ)){let t=-1;for(let r=0;r<e.length;r++)if(e[r]==="*"&&e[r-1]!=="*"&&e[r+1]!=="*"){t=r;break}if(t===-1)return e;let n=e.substring(t+1);if(!n||/^[\s_~*`]*$/.test(n))return e;if(ree(e)%2===1)return`${e}*`}return e},EA=(e,t)=>{let n=!1,r=!1;for(let a=0;a<e.length&&a<t;a++){if(e[a]==="\\"&&e[a+1]==="$"){a++;continue}e[a]==="$"&&(e[a+1]==="$"?(r=!r,a++,n=!1):r||(n=!n))}return n||r},iee=e=>e.split("").reduce((t,n,r)=>{if(n==="_"){let a=e[r-1],s=e[r+1];if(a==="\\"||EA(e,r)||a&&s&&/[\p{L}\p{N}_]/u.test(a)&&/[\p{L}\p{N}_]/u.test(s))return t;if(a!=="_"&&s!=="_")return t+1}return t},0),see=e=>{if(Xh(e))return e;if(e.match(KJ)){let t=-1;for(let r=0;r<e.length;r++)if(e[r]==="_"&&e[r-1]!=="_"&&e[r+1]!=="_"&&e[r-1]!=="\\"&&!EA(e,r)){let a=r>0?e[r-1]:"",s=r<e.length-1?e[r+1]:"";if(a&&s&&/[\p{L}\p{N}_]/u.test(a)&&/[\p{L}\p{N}_]/u.test(s))continue;t=r;break}if(t===-1)return e;let n=e.substring(t+1);if(!n||/^[\s_~*`]*$/.test(n))return e;if(iee(e)%2===1){let r=e.match(/\n+$/);return r?`${e.slice(0,-r[0].length)}_${r[0]}`:`${e}_`}}return e},oee=(e,t)=>{let n=e.substring(t,t+3)==="```",r=t>0&&e.substring(t-1,t+2)==="```",a=t>1&&e.substring(t-2,t+1)==="```";return n||r||a},lee=e=>{let t=0;for(let n=0;n<e.length;n++)e[n]==="`"&&!oee(e,n)&&t++;return t},uee=e=>{if(e.match(/^```[^`\n]*```?$/)&&!e.includes(`
683`))return e.endsWith("``")&&!e.endsWith("```")?`${e}\``:e;let t=(e.match(/```/g)||[]).length,n=t%2===1;if(t>0&&t%2===0&&e.includes(`
684`)||(e.endsWith("```\n")||e.endsWith("```"))&&t%2===0)return e;let r=e.match(ZJ);if(r&&!n){let a=r[2];if(!a||/^[\s_~*`]*$/.test(a))return e;if(lee(e)%2===1)return`${e}\``}return e},cee=e=>{let t=e.match(JJ);if(t){let n=t[2];if(!n||/^[\s_~*`]*$/.test(n))return e;if((e.match(/~~/g)||[]).length%2===1)return`${e}~~`}return e},dee=e=>{if((e.match(/\$\$/g)||[]).length%2===0)return e;let t=e.indexOf("$$");return t!==-1&&e.indexOf(`
685`,t)!==-1&&!e.endsWith(`
686`)?`${e}
687$$`:`${e}$$`},fee=e=>{let t=0,n=e.match(/\*+/g)||[];for(let r of n){let a=r.length;a>=3&&(t+=Math.floor(a/3))}return t},hee=e=>{if(Xh(e)||/^\*{4,}$/.test(e))return e;let t=e.match(XJ);if(t){let n=t[2];if(!n||/^[\s_~*`]*$/.test(n))return e;if(fee(e)%2===1)return`${e}***`}return e},mee=e=>{if(!e||typeof e!="string")return e;let t=e,n=eee(t);return n.endsWith("](streamdown:incomplete-link)")?n:(t=n,t=hee(t),t=tee(t),t=nee(t),t=aee(t),t=see(t),t=uee(t),t=cee(t),t=dee(t),t)},pee={harden:[aQ,{allowedImagePrefixes:["*"],allowedLinkPrefixes:["*"],defaultOrigin:void 0,allowDataImages:!0}],raw:zV,katex:[wj,{errorColor:"var(--color-muted-foreground)"}]},gee={gfm:[GY,{}
687],math:[rQ,{singleDollarTextMath:!1}]},_A=H.createContext(["github-light","github-dark"]),TA=H.createContext(void 0),A4=H.createContext(!0),v0=H.createContext({isAnimating:!1}),SA=H.memo(({content:e,shouldParseIncompleteMarkdown:t,...n})=>{let r=H.useMemo(()=>typeof e=="string"&&t?mee(e.trim()):e,[e,t]);return A.jsx(ZU,{...n,children:r})},(e,t)=>e.content===t.content);SA.displayName="Block";var wA=H.memo(({children:e,parseIncompleteMarkdown:t=!0,components:n,rehypePlugins:r=Object.values(pee),remarkPlugins:a=Object.values(gee),className:s,shikiTheme:l=["github-light","github-dark"],mermaidConfig:u,controls:d=!0,isAnimating:f=!1,...p})=>{let m=H.useId(),b=H.useMemo(()=>VJ(typeof e=="string"?e:""),[e]);return A.jsx(_A.Provider,{value:l,children:A.jsx(TA.Provider,{value:u,children:A.jsx(A4.Provider,{value:d,children:A.jsx(v0.Provider,{value:{isAnimating:f},children:A.jsx("div",{className:gt("space-y-4",s),children:b.map((y,E)=>A.jsx(SA,{components:{...$J,...n},content:y,rehypePlugins:r,remarkPlugins:a,shouldParseIncompleteMarkdown:t,...p},`${m}-block-${E}`))})})})})})},(e,t)=>e.children===t.children&&e.shikiTheme===t.shikiTheme&&e.isAnimating===t.isAnimating);wA.displayName="Streamdown";function bee(){const{childId:e}=A_(),[,t]=a0(),{isAuthenticated:n,loading:r}=xh(),[a,s]=H.useState([]),[l,u]=H.useState(""),[d,f]=H.useState(),[p,m]=H.useState(!1),[b,y]=H.useState(""),[E,T]=H.useState(!1),[N,k]=H.useState(!1),O=H.useRef(null),I=parseInt(e||"0",10),{data:K,isLoading:V}=ba.academy.getChild.useQuery({childId:I},{enabled:n&&!!I}),B=ba.academy.chat.useMutation({onSuccess:ee=>{s(me=>[...me,{role:"assistant",content:ee.message}]),f(ee.sessionId),T(!1)},onError:ee=>{T(!1),Qv.error("Claire had trouble responding. Please try again.")}}),z=ba.academy.completeSession.useMutation({onSuccess:ee=>{y(ee.summary),m(!0)},onError:()=>{Qv.error("Could not save session. Your progress is still recorded."),m(!0)}});H.useEffect(()=>{O.current?.scrollIntoView({behavior:"smooth"})},[a]);const W=()=>{if(!K)return;k(!0);const ee={role:"assistant",content:`Hi ${K.childName}! I'm Claire, your Sinclaire tutor. I'm so glad you're here today. 🌟
688
689Are you ready to get started? What subject would you like to work on — or I can pick something for us!`};s([ee])},re=async()=>{if(!l.trim()||E||!K)return;const ee={role:"user",content:l.trim()},me=[...a,ee];s(me),u(""),T(!0),B.mutate({childId:I,sessionId:d,messages:me})},Y=ee=>{ee.key==="Enter"&&!ee.shiftKey&&(ee.preventDefault(),re())},se=()=>{if(!d){t("/dashboard");return}z.mutate({sessionId:d,messages:a})};return r||V?A.jsx("div",{"data-loc":"client/src/pages/TutorSession.tsx:97",className:"min-h-screen bg-background flex items-center justify-center",children:A.jsx("div",{"data-loc":"client/src/pages/TutorSession.tsx:98",className:"w-8 h-8 border-2 border-primary border-t-transparent rounded-full animate-spin"})}):n?K?p?A.jsxs("div",{"data-loc":"client/src/pages/TutorSession.tsx:118",className:"min-h-screen bg-background flex flex-col items-center justify-center px-6 text-center",children:[A.jsx("div",{"data-loc":"client/src/pages/TutorSession.tsx:119",className:"w-16 h-16 rounded-full bg-primary/10 flex items-center justify-center mb-8",children:A.jsx(fM,{"data-loc":"client/src/pages/TutorSession.tsx:120",className:"w-8 h-8 text-primary"})}),A.jsxs("h1",{"data-loc":"client/src/pages/TutorSession.tsx:122",className:"font-serif text-4xl font-semibold text-primary mb-4",children:["Great session, ",K.childName,"!"]}),A.jsx("p",{"data-loc":"client/src/pages/TutorSession.tsx:125",className:"text-muted-foreground text-lg mb-10 max-w-md leading-relaxed",children:"You showed up and worked hard today. That is what matters most."}),b&&A.jsxs("div",{"data-loc":"client/src/pages/TutorSession.tsx:129",className:"bg-secondary border border-border rounded-sm p-7 max-w-md text-left mb-10",children:[A.jsx("p",{"data-loc":"client/src/pages/TutorSession.tsx:130",className:"text-xs tracking-[0.18em] uppercase text-accent font-medium mb-3",children:"Parent Summary"}),A.jsx("p",{"data-loc":"client/src/pages/TutorSession.tsx:131",className:"text-sm text-foreground leading-relaxed",children:b})]}),A.jsx("button",{"data-loc":"client/src/pages/TutorSession.tsx:134",onClick:()=>
689t("/dashboard"),className:"btn-press bg-primary text-primary-foreground px-10 py-3 text-sm font-medium rounded-sm hover:opacity-90 transition-opacity",children:"Back to Dashboard"})]}):A.jsxs("div",{"data-loc":"client/src/pages/TutorSession.tsx:145",className:"min-h-screen bg-background flex flex-col",children:[A.jsxs("header",{"data-loc":"client/src/pages/TutorSession.tsx:147",className:"border-b border-border px-6 h-16 flex items-center justify-between flex-shrink-0",children:[A.jsxs("div",{"data-loc":"client/src/pages/TutorSession.tsx:148",className:"flex items-center gap-4",children:[A.jsx("button",{"data-loc":"client/src/pages/TutorSession.tsx:149",onClick:()=>t("/dashboard"),className:"text-muted-foreground hover:text-foreground transition-colors",children:A.jsx(oM,{"data-loc":"client/src/pages/TutorSession.tsx:153",className:"w-5 h-5"})}),A.jsxs("div",{"data-loc":"client/src/pages/TutorSession.tsx:155",children:[A.jsxs("p",{"data-loc":"client/src/pages/TutorSession.tsx:156",className:"font-serif text-base font-semibold text-primary",children:[K.childName,"'s Session"]}),A.jsxs("p",{"data-loc":"client/src/pages/TutorSession.tsx:157",className:"text-xs text-muted-foreground",children:[K.disabilityArea," · ",K.grade," Grade"]})]})]}),N&&a.length>2&&A.jsx("button",{"data-loc":"client/src/pages/TutorSession.tsx:161",onClick:se,disabled:z.isPending,className:"btn-press text-xs font-medium text-muted-foreground hover:text-foreground border border-border px-4 py-2 rounded-sm transition-colors disabled:opacity-50",children:z.isPending?"Saving...":"End Session"})]}),A.jsx("div",{"data-loc":"client/src/pages/TutorSession.tsx:172",className:"flex-1 overflow-y-auto px-4 py-8",children:A.jsx("div",{"data-loc":"client/src/pages/TutorSession.tsx:173",className:"max-w-2xl mx-auto space-y-6",children:N?A.jsxs(A.Fragment,{children:[a.map((ee,me)=>A.jsxs("div",{"data-loc":"client/src/pages/TutorSession.tsx:195",className:`flex ${ee.role==="user"?"justify-end":"justify-start"}`,children:[ee.role==="assistant"&&A.jsx("div",{"data-loc":"client/src/pages/TutorSession.tsx:200",className:"w-8 h-8 rounded-full bg-primary flex items-center justify-center mr-3 flex-shrink-0 mt-1",children:A.jsx("span",{"data-loc":"client/src/pages/TutorSession.tsx:201",className:"text-primary-foreground text-xs font-serif font-semibold",children:"C"})}),A.jsx("div",{"data-loc":"client/src/pages/TutorSession.tsx:204",className:`max-w-[75%] rounded-sm px-5 py-4 text-sm leading-relaxed ${ee.role==="user"?"bg-primary text-primary-foreground":"bg-secondary text-foreground border border-border"}`,children:ee.role==="assistant"?A.jsx(wA,{"data-loc":"client/src/pages/TutorSession.tsx:212",children:ee.content}):A.jsx("p",{"data-loc":"client/src/pages/TutorSession.tsx:214",children:ee.content})})]},me)),E&&A.jsxs("div",{"data-loc":"client/src/pages/TutorSession.tsx:220",className:"flex justify-start",children:[A.jsx("div",{"data-loc":"client/src/pages/TutorSession.tsx:221",className:"w-8 h-8 rounded-full bg-primary flex items-center justify-center mr-3 flex-shrink-0",children:A.jsx("span",{"data-loc":"client/src/pages/TutorSession.tsx:222",className:"text-primary-foreground text-xs font-serif font-semibold",children:"C"})}),A.jsx("div",{"data-loc":"client/src/pages/TutorSession.tsx:224",className:"bg-secondary border border-border rounded-sm px-5 py-4",children:A.jsxs("div",{"data-loc":"client/src/pages/TutorSession.tsx:225",className:"flex gap-1.5 items-center h-5",children:[A.jsx("div",{"data-loc":"client/src/pages/TutorSession.tsx:226",className:"w-2 h-2 rounded-full bg-muted-foreground/40 animate-bounce",style:{animationDelay:"0ms"}}),A.jsx("div",{"data-loc":"client/src/pages/TutorSession.tsx:227",className:"w-2 h-2 rounded-full bg-muted-foreground/40 animate-bounce",style:{animationDelay:"150ms"}}),A.jsx("div",{"data-loc":"client/src/pages/TutorSession.tsx:228",className:"w-2 h-2 rounded-full bg-muted-foreground/40 animate-bounce",style:{animationDelay:"300ms"}})]})})]}),A.jsx("div",{"data-loc":"client/src/pages/TutorSession.tsx:233",ref:O})]}):A.jsxs("div",{"data-loc":"client/src/pages/TutorSession.tsx:175",className:"text-center py-20",children:[A.jsx("div",{"data-loc":"client/src/pages/TutorSession.tsx:176",className:"w-20 h-20 rounded-full bg-primary/10 flex items-center justify-center mx-auto mb-8",children:A.jsx("span",{"data-loc":"client/src/pages/TutorSession.tsx:177",className:"font-serif text-3xl font-semibold text-primary",children:"C"})}),A.jsxs("h2",{"data-loc":"client/src/pages/TutorSession.tsx:179",className:"font-serif text-3xl font-semibold text-primary mb-4",children:["Ready, ",K.childName,"?"]}),A.jsxs("p",{"data-loc":"client/src/pages/TutorSession.tsx:182",className:"text-muted-foreground mb-10 max-w-sm mx-auto leading-relaxed",children:["Claire is here and ready to learn with you. This session will be about ",K.sessionLength," minutes."]}),A.jsx("button",{"data-loc":"client/src/pages/TutorSession.tsx:185",onClick:W,className:"btn-press bg-primary text-primary-foreground px-12 py-4 text-base font-medium rounded-sm hover:opacity-90 transition-opacity",children:"Start Session"})]})})}),N&&!p&&A.jsx("div",{"data-loc":"client/src/pages/TutorSession.tsx:241",className:"border-t border-border px-4 py-4 flex-shrink-0",children:A.jsxs("div",{"data-loc":"client/src/pages/TutorSession.tsx:242",className:"max-w-2xl mx-auto flex gap-3",children:[A.jsx("textarea",{"data-loc":"client/src/pages/TutorSession.tsx:243",value:l,onCh
689ange:ee=>u(ee.target.value),onKeyDown:Y,placeholder:"Type your answer...",rows:1,className:"flex-1 border border-border rounded-sm px-4 py-3 text-sm bg-background text-foreground placeholder:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-primary/30 resize-none transition-shadow"}),A.jsx("button",{"data-loc":"client/src/pages/TutorSession.tsx:251",onClick:re,disabled:!l.trim()||E,className:"btn-press bg-primary text-primary-foreground w-12 h-12 rounded-sm flex items-center justify-center hover:opacity-90 transition-opacity disabled:opacity-40 flex-shrink-0",children:A.jsx(pM,{"data-loc":"client/src/pages/TutorSession.tsx:256",className:"w-4 h-4"})})]})})]}):A.jsx("div",{"data-loc":"client/src/pages/TutorSession.tsx:110",className:"min-h-screen bg-background flex items-center justify-center",children:A.jsx("p",{"data-loc":"client/src/pages/TutorSession.tsx:111",className:"text-muted-foreground",children:"Child profile not found."})}):(t("/"),null)}function yee(){const{isAuthenticated:e,loading:t,user:n}=xh();a0();const{data:r=[],isLoading:a}=ba.academy.getChildren.useQuery(void 0,{enabled:e});return t||a?A.jsx("div",{"data-loc":"client/src/pages/Dashboard.tsx:17",className:"min-h-screen bg-background flex items-center justify-center",children:A.jsx("div",{"data-loc":"client/src/pages/Dashboard.tsx:18",className:"w-8 h-8 border-2 border-primary border-t-transparent rounded-full animate-spin"})}):e?A.jsxs("div",{"data-loc":"client/src/pages/Dashboard.tsx:39",className:"min-h-screen bg-background",children:[A.jsxs("nav",{"data-loc":"client/src/pages/Dashboard.tsx:41",className:"border-b border-border px-6 h-16 flex items-center justify-between",children:[A.jsx(Dl,{"data-loc":"client/src/pages/Dashboard.tsx:42",href:"/",children:A.jsxs("div",{"data-loc":"client/src/pages/Dashboard.tsx:43",className:"flex flex-col leading-none cursor-pointer",children:[A.jsx("span",{"data-loc":"client/src/pages/Dashboard.tsx:44",className:"font-serif text-base font-semibold text-primary",children:"The Sinclaire Academy"}),A.jsx("span",{"data-loc":"client/src/pages/Dashboard.tsx:45",className:"text-[10px] text-muted-foreground tracking-[0.18em] uppercase",children:"A Sinclaire Society, LLC Company"})]})}),A.jsxs("div",{"data-loc":"client/src/pages/Dashboard.tsx:48",className:"flex items-center gap-5",children:[A.jsx("span",{"data-loc":"client/src/pages/Dashboard.tsx:49",className:"text-sm text-muted-foreground hidden md:block",children:n?.name?`Welcome, ${n.name.split(" ")[0]}`:"Welcome"}),A.jsx(Dl,{"data-loc":"client/src/pages/Dashboard.tsx:52",href:"/onboarding",children:A.jsxs("button",{"data-loc":"client/src/pages/Dashboard.tsx:53",className:"btn-press flex items-center gap-2 bg-primary text-primary-foreground px-5 py-2 text-sm font-medium rounded-sm hover:opacity-90 transition-opacity",children:[A.jsx(y5,{"data-loc":"client/src/pages/Dashboard.tsx:54",className:"w-4 h-4"}),"Add Child"]})})]})]}),A.jsxs("div",{"data-loc":"client/src/pages/Dashboard.tsx:61",className:"container max-w-5xl mx-auto py-14 px-6",children:[A.jsxs("div",{"data-loc":"client/src/pages/Dashboard.tsx:63",className:"mb-12",children:[A.jsxs("div",{"data-loc":"client/src/pages/Dashboard.tsx:64",className:"flex items-center gap-3 mb-4",children:[A.jsx("span",{"data-loc":"client/src/pages/Dashboard.tsx:65",className:"accent-line"}),A.jsx("span",{"data-loc":"client/src/pages/Dashboard.tsx:66",className:"text-xs tracking-[0.22em] uppercase text-accent font-medium",children:"Family Dashboard"})]}),A.jsx("h1",{"data-loc":"client/src/pages/Dashboard.tsx:68",className:"font-serif text-4xl font-semibold text-primary",children:r.length===0?"Welcome to The Sinclaire Academy":"Your Learners"})]}),r.length===0?A.jsxs("div",{"data-loc":"client/src/pages/Dashboard.tsx:75",className:"text-center py-24 border border-dashed border-border rounded-sm",children:[A.jsx("div",{"data-loc":"client/src/pages/Dashboard.tsx:76",className:"w-16 h-16 rounded-full bg-primary/10 flex items-center justify-center mx-auto mb-7",children:A.jsx(uM,{"data-loc":"client/src/pages/Dashboard.tsx:77",className:"w-7 h-7 text-primary"})}),A.jsx("h2",{"data-loc":"client/src/pages/Dashboard.tsx:79",className:"font-serif text-2xl font-semibold text-primary mb-3",children:"Set up your first learner"}),A.jsx("p",{"data-loc":"client/src/pages/Dashboard.tsx:82",className:"text-muted-foreground mb-9 max-w-sm mx-auto leading-relaxed text-sm",children:"Create a profile for your child and their personal Sinclaire tutor will be ready to start today."}),A.jsx(Dl,{"data-loc":"client/src/pages/Dashboard.tsx:85",href:"/onboarding",children:A.jsx("button",{"data-loc":"client/src/pages/Dashboard.tsx:86",className:"btn-press bg-primary text-primary-foreground px-10 py-3 text-sm font-medium rounded-sm hover:opacity-90 transition-opacity",children:"Create First Profile"})})]}):A.jsxs("div",{"data-loc":"client/src/pages/Dashboard.tsx:92",className:"grid grid-cols-1 md:grid-cols-2 gap-5",children:[r.map(s=>A.jsx(vee,{"data-loc":"client/src/pages/Dashboard.tsx:94",child:s},s.id)),A.jsx(Dl,{"data-loc":"client/src/pages/Dashboard.tsx:98",href:"/onboarding",children:A.jsxs("div",{"data-loc":"client/src/pages/Dashboard.tsx:99",className:"border border-dashed border-border rounded-sm p-8 flex flex-col items-center justify-center gap-3 cursor-pointer hover:border-primary/40 transition-colors group min-h-[200px]",children:[A.jsx("div",{"data-loc":"client/src/pages/Dashboard.tsx:100",className:"w-10 h-10 rounded-full border border-dashed border-border group-hover:border-primary/40 flex items-center justify-center transition-colors",children:A.jsx(y5,{"data-loc":"client/src/pages/Dashboard.tsx:101",className:"w-5 h-5 text-muted-foreground group-hover:text-primary transition-colors"})}),A.jsx("p",{"data-loc":"client/src/pages/Dashboard.tsx:103",className:"text-sm text-muted-foreground group-hover:text-foreground transition-colors font-medium",children:"Add another learner"})]})})]})]})]}):A.jsx("div",{"data-loc":"client/src/pages/Dashboard.tsx:25",className:"min-h-screen bg-background flex items-center justify-center px-6",children:A.jsxs("div",{"data-loc":"client/src/pages/Dashboard.tsx:26",className:"text-center max-w-sm",children:[A.jsx("h2",{"data-loc":"client/src/pages/Dashboard.tsx:27",className:"font-serif text-3xl font-semibold text-primary mb-4",children:"Sign in to continue"}),A.jsx("a",{"data-loc":"client/src/pages/Dashboard.tsx:28",href:ho(),children:A.jsx("button",{"data-loc":"client/src/pages/Dashboard.tsx:29",className:"btn-press bg-primary text-primary-foreground px-10 py-3 text-sm font-medium rounded-sm hover:opacity-90 transition-opacity",children:"Sign In"})})]})})}function vee({child:e}){const[,t]=a0(),{data:n=[]}=ba.academy.getSessions.useQuery({childId:e.id}),r=n.filter(l=>l.completedAt),a=r[0],s={reading:"Reading & Language Arts",math:"Mathematics",both:"Reading & Math",writing:"Written Expression"};return A.jsxs("div",{"data-loc":"client/src/pages/Dashboard.tsx:131",className:"card-elevated bg-card border border-border rounded-sm p-8",children:[A.jsxs("div",{"data-loc":"client/src/pages/Dashboard.tsx:133",className:"flex items-start justify-between mb-6",children:[A.jsxs("div",{"data-loc":"client/src/pages/Dashboard.tsx:134",children:[A.jsx("h3",{"data-loc":"client/src/pages/Dashboard.tsx:135",className:"font-serif text-2xl font-semibold text-primary mb-1",children:e.childName}),A.jsxs("p",{"data-loc":"client/src/pages/Dashboard.tsx:136",className:"text-sm text-muted-foreground",children:[e.grade," Grade · ",e.disabilityArea]})]}),A.jsx("div",{"data-loc":"client/src/pages/Dashboard.tsx:138",className:"w-12 h-12 rounded-full bg-primary/10 flex items-center justify-center flex-shrink-0",children:A.jsx("span",{"data-loc":"client/src/pages/Dashboard.tsx:139",className:"font-serif text-lg font-semibold text-primary",children:e.childName.charAt(0).toUpperCase()})})]}),A.jsxs("div",{"data-loc":"client/src/pages/Dashboard.tsx:146",className:"grid grid-cols-2 gap-4 mb-7",children:[A.jsxs("div",{"data-loc":"client/src/pages/Dashboard.tsx:147",className:"bg-secondary rounded-sm p-4",children:[A.jsx("p",{"data-loc":"client/src/pages/Dashboard.tsx:148",className:"text-xs text-muted-foreground mb-1",children:"Sessions Completed"}),A.jsx("p",{"data-loc":"client/src/pages/Dashboard.tsx:149",className:"font-serif text-2xl font-semibold text-primary",children:r.length})]}),A.jsxs("div",{"data-loc":"client/src/pages/Dashboard.tsx:151",className:"bg-secondary rounded-sm p-4",children:[A.jsx("p",{"data-loc":"client/src/pages/Dashboard.tsx:152",className:"text-xs text-muted-foreground mb-1",children:"Focus Area"}),A.jsx("p",{"data-loc":"client/src/pages/Dashboard.tsx:153",className:"text-sm font-medium text-foreground leading-tight",children:s[e.subjectFocus]||e.subjectFocus})]})]}),a?.summary&&A.jsxs("div",{"data-loc":"client/src/pages/Dashboard.tsx:159",className:"border border-border rounded-sm p-4 mb-7",children:[A.jsxs("div",{"data-loc":"client/src/pages/Dashboard.tsx:160",className:"flex items-center gap-2 mb-2",children:[A.jsx(cM,{"data-loc":"client/src/pages/Dashboard.tsx:161",className:"w-3.5 h-3.5 text-accent"}),A.jsx("p",{"data-loc":"client/src/pages/Dashboard.tsx:162",className:"text-xs tracking-[0.15em] uppercase text-accent font-medium",children:"Last Session"})]}),A.jsx("p",{"data-loc":"client/src/pages/Dashboard.tsx:164",className:"text-xs text-muted-foreground leading-relaxed",children:a.summary})]}),A.jsxs("button",{"data-loc":"client/src/pages/Dashboard.tsx:169",onClick:()=>t(`/session/${e.id}`),className:"btn-press w-full flex items-center justify-center gap-2 bg-primary text-primary-foreground py-3 text-sm font-medium rounded-sm hover:opacity-90 transition-opacity",children:["Start Today's Session",A.jsx(lM,{"data-loc":"client/src/pages/Dashboard.tsx:174",className:"w-4 h-4"})]})]})}function xee(){return A.jsxs(zM,{"data-loc":"client/src/App.tsx:14",children:[A.jsx(_l,{"data-loc":"client/src/App.tsx:15",path:"/",component:jM}),A.jsx(_l,{"data-loc":"client/src/App.tsx:16",path:"/onboarding",component:GM}),A.jsx(_l,{"data-loc":"client/src/App.tsx:17",path:"/session/:childId",component:bee}),A.jsx(_l,{"data-loc":"client/src/App.tsx:18",path:"/dashboard",component:yee}),A.jsx(_l,{"data-loc":"client/src/App.tsx:19",path:"/404",component:A5}),A.jsx(_l,{"data-loc":"client/src/App.tsx:20",component:A5})]})}function Eee(){return A.jsx(UM,{"data-loc":"client/src/App.tsx:27",children:A.jsx(FM,{"data-loc":"client/src/App.tsx:28",defaultTheme:"light",children:A.jsxs(ZI,{"data-loc":"client/src/App.tsx:29",children:[A.jsx(cD,{"data-loc":"client/src/App.tsx:30"}),A.jsx(xee,{"data-loc":"client/src/App.tsx:31"})]})})})}const nh=new dN,AA=e=>
689{!(e instanceof Hl)||typeof window>"u"||!(e.message===GO)||(window.location.href=ho())};nh.getQueryCache().subscribe(e=>{if(e.type==="updated"&&e.action.type==="error"){const t=e.query.state.error;AA(t),console.error("[API Query Error]",t)}});nh.getMutationCache().subscribe(e=>{if(e.type==="updated"&&e.action.type==="error"){const t=e.mutation.state.error;AA(t),console.error("[API Mutation Error]",t)}});const _ee=ba.createClient({links:[vO({url:"/api/trpc",transformer:Mi,fetch(e,t){return globalThis.fetch(e,{...t??{},credentials:"include"})}})]});ZO.createRoot(document.getElementById("root")).render(A.jsx(ba.Provider,{"data-loc":"client/src/main.tsx:56",client:_ee,queryClient:nh,children:A.jsx(hN,{"data-loc":"client/src/main.tsx:57",client:nh,children:A.jsx(Eee,{"data-loc":"client/src/main.tsx:58"})})}));export{P as _,Oee as a,rh as g,Dt as k};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.