40 linhas
353 KiB
JavaScript
40 linhas
353 KiB
JavaScript
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/chunks/angular-html.BBeDFw0_.js","assets/chunks/html.B1S7Y3ZY.js","assets/chunks/javascript.ySlJ1b_l.js","assets/chunks/css.BPhBrDlE.js","assets/chunks/angular-ts.ek7h0l_U.js","assets/chunks/scss.CL3I7x-e.js","assets/chunks/apl.C1A51Xal.js","assets/chunks/xml.BtQf4J8g.js","assets/chunks/java.xI-RfyKK.js","assets/chunks/json.DTAJTTim.js","assets/chunks/astro.DsUE12Xb.js","assets/chunks/typescript.Dj6nwHGl.js","assets/chunks/postcss.B3ZDOciz.js","assets/chunks/blade.Dy4PORcl.js","assets/chunks/sql.BBT0u3iQ.js","assets/chunks/bsl.BLiLLekw.js","assets/chunks/sdbl.CSHvh9SD.js","assets/chunks/cairo.BpENSgX_.js","assets/chunks/python.DBPt_AfP.js","assets/chunks/cobol.CgajVZyl.js","assets/chunks/coffee.DT-HyJgn.js","assets/chunks/cpp.DYZci-ZV.js","assets/chunks/regexp.DFERiEu9.js","assets/chunks/glsl.BuZDaOS3.js","assets/chunks/c.C3t2pwGQ.js","assets/chunks/crystal.CQm_1Xe8.js","assets/chunks/shellscript.CWGUrYGm.js","assets/chunks/edge.BFUkDXVh.js","assets/chunks/html-derivative.QmmHbZPy.js","assets/chunks/elixir.DmimF4lf.js","assets/chunks/elm.kTaT0Hm1.js","assets/chunks/erb.CeMdm0kP.js","assets/chunks/ruby.DBxw2zB7.js","assets/chunks/haml.Cw_6CEKe.js","assets/chunks/graphql.C5ZW2LEL.js","assets/chunks/jsx.BAng5TT0.js","assets/chunks/tsx.B6W0miNI.js","assets/chunks/lua.BHVJ9a22.js","assets/chunks/yaml.CVw76BM1.js","assets/chunks/fortran-fixed-form.CfVb63ap.js","assets/chunks/fortran-free-form.DjP-tqRL.js","assets/chunks/fsharp.BARJH2T8.js","assets/chunks/markdown.BDiHrqA7.js","assets/chunks/gdresource.C7gUlFTb.js","assets/chunks/gdshader.SKMF96pI.js","assets/chunks/gdscript.CCbUEAxs.js","assets/chunks/git-commit.ZicXNV91.js","assets/chunks/diff.DERFIACx.js","assets/chunks/git-rebase.DPha2nSR.js","assets/chunks/glimmer-js.2LSeiHst.js","assets/chunks/glimmer-ts.DhOoK9On.js","assets/chunks/hack.CUMPYyY_.js","assets/chunks/handlebars.DRmpbjlv.js","assets/chunks/http.BpwzJ-8X.js","assets/chunks/hxml.DSgsk59g.js","assets/chunks/haxe.C5wWYbrZ.js","assets/chunks/imba.BetUx2d5.js","assets/chunks/jinja.Cd9Ue-ak.js","assets/chunks/jison.DAH9ckFB.js","assets/chunks/julia.Bp1bJzK3.js","assets/chunks/r.CwjWoCRV.js","assets/chunks/latex.JM24XWWe.js","assets/chunks/tex.9W6zHfQk.js","assets/chunks/liquid.BMm7xrCZ.js","assets/chunks/marko.CENcEAes.js","assets/chunks/less.BR4n0CG2.js","assets/chunks/mdc.CTT_smwD.js","assets/chunks/nginx.CB4uuneU.js","assets/chunks/nim.Dk-oD0EE.js","assets/chunks/perl.DtGIXoNE.js","assets/chunks/php.CivViZwM.js","assets/chunks/pug.DKcTPQZY.js","assets/chunks/qml.DmJklzqy.js","assets/chunks/razor.BFfE189A.js","assets/chunks/csharp.C9e09xm7.js","assets/chunks/rst.hTTi2SFD.js","assets/chunks/cmake.DbcauaCG.js","assets/chunks/sas.nOnNsJ6g.js","assets/chunks/shaderlab.mqKplxjU.js","assets/chunks/hlsl.ifBTmRxC.js","assets/chunks/shellsession.BHtuBkrt.js","assets/chunks/soy.kB8AffLt.js","assets/chunks/sparql.CE8Mu0bL.js","assets/chunks/turtle.BMR_PYu6.js","assets/chunks/stata.BnROXGOt.js","assets/chunks/svelte.CGPgFHEk.js","assets/chunks/templ.BghpUxth.js","assets/chunks/go.Dtn5OO9k.js","assets/chunks/ts-tags.vSqlRi0r.js","assets/chunks/twig.C9mOESLV.js","assets/chunks/vue.BjbIoK_1.js","assets/chunks/vue-html.CB-1hxFp.js","assets/chunks/xsl.YUiifyad.js"])))=>i.map(i=>d[i]);
|
||
var So=Object.defineProperty;var To=(e,t,n)=>t in e?So(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var k=(e,t,n)=>To(e,typeof t!="symbol"?t+"":t,n);import{p as be,ai as cr,h as ue,aj as V,k as te,v as Da,ak as dr,q as dt,S as Ro,s as Sa,P as it,D as Oo,$ as Po,al as Lr,L as Io,X as vu,d as $u,c as yt,o as xt,Z as Yn,a0 as dn,j as Xe,n as Ft,G as yu,r as Ta,t as yn,T as Lo,w as Fo,am as mi,an as No,F as Ra,B as Oa,ao as Vo,_ as zu,e as Pa,a as Mo,V as h,a1 as Bo,x as jo}from"./framework.DTpsuxmX.js";import{C as $o,O as zo}from"./theme.Ep9al9kZ.js";/**
|
||
* vee-validate v4.15.0
|
||
* (c) 2024 Abdelrahman Awad
|
||
* @license MIT
|
||
*/function Le(e){return typeof e=="function"}function Ia(e){return e==null}const Bt=e=>e!==null&&!!e&&typeof e=="object"&&!Array.isArray(e);function Uu(e){return Number(e)>=0}function Uo(e){const t=parseFloat(e);return isNaN(t)?e:t}function qo(e){return typeof e=="object"&&e!==null}function Go(e){return e==null?e===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}function _i(e){if(!qo(e)||Go(e)!=="[object Object]")return!1;if(Object.getPrototypeOf(e)===null)return!0;let t=e;for(;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function xn(e,t){return Object.keys(t).forEach(n=>{if(_i(t[n])&&_i(e[n])){e[n]||(e[n]={}),xn(e[n],t[n]);return}e[n]=t[n]}),e}function pn(e){const t=e.split(".");if(!t.length)return"";let n=String(t[0]);for(let r=1;r<t.length;r++){if(Uu(t[r])){n+=`[${t[r]}]`;continue}n+=`.${t[r]}`}return n}const Zo={};function Ho(e){return Zo[e]}function gi(e,t,n){typeof n.value=="object"&&(n.value=ie(n.value)),!n.enumerable||n.get||n.set||!n.configurable||!n.writable||t==="__proto__"?Object.defineProperty(e,t,n):e[t]=n.value}function ie(e){if(typeof e!="object")return e;var t=0,n,r,u,i=Object.prototype.toString.call(e);if(i==="[object Object]"?u=Object.create(e.__proto__||null):i==="[object Array]"?u=Array(e.length):i==="[object Set]"?(u=new Set,e.forEach(function(a){u.add(ie(a))})):i==="[object Map]"?(u=new Map,e.forEach(function(a,s){u.set(ie(s),ie(a))})):i==="[object Date]"?u=new Date(+e):i==="[object RegExp]"?u=new RegExp(e.source,e.flags):i==="[object DataView]"?u=new e.constructor(ie(e.buffer)):i==="[object ArrayBuffer]"?u=e.slice(0):i.slice(-6)==="Array]"&&(u=new e.constructor(e)),u){for(r=Object.getOwnPropertySymbols(e);t<r.length;t++)gi(u,r[t],Object.getOwnPropertyDescriptor(e,r[t]));for(t=0,r=Object.getOwnPropertyNames(e);t<r.length;t++)Object.hasOwnProperty.call(u,n=r[t])&&u[n]===e[n]||gi(u,n,Object.getOwnPropertyDescriptor(e,n))}return u||e}const qu=Symbol("vee-validate-form"),Wo=Symbol("vee-validate-form-context"),Ko=Symbol("vee-validate-field-instance"),bi=Symbol("Default empty value"),Jo=typeof window<"u";function xu(e){return Le(e)&&!!e.__locatorRef}function Qe(e){return!!e&&Le(e.parse)&&e.__type==="VVTypedSchema"}function fr(e){return!!e&&Le(e.validate)}function La(e){return e==="checkbox"||e==="radio"}function Yo(e){return Bt(e)||Array.isArray(e)}function Xo(e){return Array.isArray(e)?e.length===0:Bt(e)&&Object.keys(e).length===0}function Un(e){return/^\[.+\]$/i.test(e)}function Qo(e){return Fa(e)&&e.multiple}function Fa(e){return e.tagName==="SELECT"}function el(e){return Na(e)&&e.target&&"submit"in e.target}function Na(e){return e?!!(typeof Event<"u"&&Le(Event)&&e instanceof Event||e&&e.srcElement):!1}function Oe(e,t){if(e===t)return!0;if(e&&t&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return!1;var n,r,u;if(Array.isArray(e)){if(n=e.length,n!=t.length)return!1;for(r=n;r--!==0;)if(!Oe(e[r],t[r]))return!1;return!0}if(e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(r of e.entries())if(!t.has(r[0]))return!1;for(r of e.entries())if(!Oe(r[1],t.get(r[0])))return!1;return!0}if(yi(e)&&yi(t))return!(e.size!==t.size||e.name!==t.name||e.lastModified!==t.lastModified||e.type!==t.type);if(e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(r of e.entries())if(!t.has(r[0]))return!1;return!0}if(ArrayBuffer.isView(e)&&ArrayBuffer.isView(t)){if(n=e.length,n!=t.length)return!1;for(r=n;r--!==0;)if(e[r]!==t[r])return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===t.toString();if(u=Object.keys(e),n=u.length-vi(e,u),n!==Object.keys(t).length-vi(t,Object.keys(t)))return!1;for(r=n;r--!==0;)if(!Object.prototype.hasOwnProperty.call(t,u[r]))return!1;for(r=n;r--!==0;){var i=u[r];if(!Oe(e[i],t[i]))return!1}return!0}return e!==e&&t!==t}function vi(e,t){let n=0;for(let u=t.length;u--!==0;){var r=t[u];e[r]===void 0&&n++}return n}function yi(e){return Jo?e instanceof File:!1}function Fr(e){return Un(e)?e.replace(/\[|\]/gi,""):e}function Fe(e,t,n){return e?Un(t)?e[Fr(t)]:(t||"").split(/\.|\[(\d+)\]/).filter(Boolean).reduce((u,i)=>Yo(u)&&i in u?u[i]:n,e):n}function _t(e,t,n){if(Un(t)){e[Fr(t)]=n;return}const r=t.split(/\.|\[(\d+)\]/).filter(Boolean);let u=e;for(let i=0;i<r.length;i++){if(i===r.length-1){u[r[i]]=n;return}(!(r[i]in u)||Ia(u[r[i]]))&&(u[r[i]]=Uu(r[i+1])?[]:{}),u=u[r[i]]}}function Qr(e,t){if(Array.isArray(e)&&Uu(t)){e.splice(Number(t),1);return}Bt(e)&&delete e[t]}function xi(e,t){if(Un(t)){delete e[Fr(t)];return}const n=t.split(/\.|\[(\d+)\]/).filter(Boolean);let r=e;for(let i=0;i<n.length;i++){if(i===n.length-1){Qr(r,n[i]);break}if(!(n[i]in r)||Ia(r[n[i]]))break;r=r[n[i]]}const u=n.map((i,a)=>Fe(e,n.slice(0,a).join(".")));for(let i=u.length-1;i>=0;i--)if(Xo(u[i])){if(i===0){Qr(e,n[0]);continue}Qr(u[i-1],n[i-1])}}function je(e){return Object.keys(e)}function Va(e,t=void 0){const n=Lr();return(n==null?void 0:n.provides[e])||Io(e,t)}function ki(e,t,n){if(Array.isArray(e)){const r=[...e],u=r.findIndex(i=>Oe(i,t));return u>=0?r.splice(u,1):r.push(t),r}return Oe(e,t)?n:t}function Ei(e,t=0){let n=null,r=[];return function(...u){return n&&clearTimeout(n),n=setTimeout(()=>{const i=e(...u);r.forEach(a=>a(i)),r=[]},t),new Promise(i=>r.push(i))}}function tl(e,t){return Bt(t)&&t.number?Uo(e):e}function ku(e,t){let n;return async function(...u){const i=e(...u);n=i;const a=await i;return i!==n?a:(n=void 0,t(a,u))}}function Eu(e){return Array.isArray(e)?e:e?[e]:[]}function Xn(e,t){const n={};for(const r in e)t.includes(r)||(n[r]=e[r]);return n}function nl(e){let t=null,n=[];return function(...r){const u=it(()=>{if(t!==u)return;const i=e(...r);n.forEach(a=>a(i)),n=[],t=null});return t=u,new Promise(i=>n.push(i))}}function eu(e){if(Ma(e))return e._value}function Ma(e){return"_value"in e}function rl(e){return e.type==="number"||e.type==="range"?Number.isNaN(e.valueAsNumber)?e.value:e.valueAsNumber:e.value}function hr(e){if(!Na(e))return e;const t=e.target;if(La(t.type)&&Ma(t))return eu(t);if(t.type==="file"&&t.files){const n=Array.from(t.files);return t.multiple?n:n[0]}if(Qo(t))return Array.from(t.options).filter(n=>n.selected&&!n.disabled).map(eu);if(Fa(t)){const n=Array.from(t.options).find(r=>r.selected);return n?eu(n):t.value}return rl(t)}function Ba(e){const t={};return Object.defineProperty(t,"_$$isNormalized",{value:!0,writable:!1,enumerable:!1,configurable:!1}),e?Bt(e)&&e._$$isNormalized?e:Bt(e)?Object.keys(e).reduce((n,r)=>{const u=ul(e[r]);return e[r]!==!1&&(n[r]=Ai(u)),n},t):typeof e!="string"?t:e.split("|").reduce((n,r)=>{const u=il(r);return u.name&&(n[u.name]=Ai(u.params)),n},t):t}function ul(e){return e===!0?[]:Array.isArray(e)||Bt(e)?e:[e]}function Ai(e){const t=n=>typeof n=="string"&&n[0]==="@"?al(n.slice(1)):n;return Array.isArray(e)?e.map(t):e instanceof RegExp?[e]:Object.keys(e).reduce((n,r)=>(n[r]=t(e[r]),n),{})}const il=e=>{let t=[];const n=e.split(":")[0];return e.includes(":")&&(t=e.split(":").slice(1).join(":").split(",")),{name:n,params:t}};function al(e){const t=n=>{var r;return(r=Fe(n,e))!==null&&r!==void 0?r:n[e]};return t.__locatorRef=e,t}function sl(e){return Array.isArray(e)?e.filter(xu):je(e).filter(t=>xu(e[t])).map(t=>e[t])}const ol={generateMessage:({field:e})=>`${e} is not valid.`,bails:!0,validateOnBlur:!0,validateOnChange:!0,validateOnInput:!1,validateOnModelUpdate:!0};let ll=Object.assign({},ol);const mn=()=>ll;async function ja(e,t,n={}){const r=n==null?void 0:n.bails,u={name:(n==null?void 0:n.name)||"{field}",rules:t,label:n==null?void 0:n.label,bails:r??!0,formData:(n==null?void 0:n.values)||{}},i=await cl(u,e);return Object.assign(Object.assign({},i),{valid:!i.errors.length})}async function cl(e,t){const n=e.rules;if(Qe(n)||fr(n))return fl(t,Object.assign(Object.assign({},e),{rules:n}));if(Le(n)||Array.isArray(n)){const s={field:e.label||e.name,name:e.name,label:e.label,form:e.formData,value:t},o=Array.isArray(n)?n:[n],l=o.length,c=[];for(let d=0;d<l;d++){const m=o[d],f=await m(t,s);if(!(typeof f!="string"&&!Array.isArray(f)&&f)){if(Array.isArray(f))c.push(...f);else{const x=typeof f=="string"?f:za(s);c.push(x)}if(e.bails)return{errors:c}}}return{errors:c}}const r=Object.assign(Object.assign({},e),{rules:Ba(n)}),u=[],i=Object.keys(r.rules),a=i.length;for(let s=0;s<a;s++){const o=i[s],l=await hl(r,t,{name:o,params:r.rules[o]});if(l.error&&(u.push(l.error),e.bails))return{errors:u}}return{errors:u}}function dl(e){return!!e&&e.name==="ValidationError"}function $a(e){return{__type:"VVTypedSchema",async parse(n,r){var u;try{return{output:await e.validate(n,{abortEarly:!1,context:(r==null?void 0:r.formData)||{}}),errors:[]}}catch(i){if(!dl(i))throw i;if(!(!((u=i.inner)===null||u===void 0)&&u.length)&&i.errors.length)return{errors:[{path:i.path,errors:i.errors}]};const a=i.inner.reduce((s,o)=>{const l=o.path||"";return s[l]||(s[l]={errors:[],path:l}),s[l].errors.push(...o.errors),s},{});return{errors:Object.values(a)}}}}}async function fl(e,t){const r=await(Qe(t.rules)?t.rules:$a(t.rules)).parse(e,{formData:t.formData}),u=[];for(const i of r.errors)i.errors.length&&u.push(...i.errors);return{value:r.value,errors:u}}async function hl(e,t,n){const r=Ho(n.name);if(!r)throw new Error(`No such validator '${n.name}' exists.`);const u=pl(n.params,e.formData),i={field:e.label||e.name,name:e.name,label:e.label,value:t,form:e.formData,rule:Object.assign(Object.assign({},n),{params:u})},a=await r(t,u,i);return typeof a=="string"?{error:a}:{error:a?void 0:za(i)}}function za(e){const t=mn().generateMessage;return t?t(e):"Field is invalid"}function pl(e,t){const n=r=>xu(r)?r(t):r;return Array.isArray(e)?e.map(n):Object.keys(e).reduce((r,u)=>(r[u]=n(e[u]),r),{})}async function ml(e,t){const r=await(Qe(e)?e:$a(e)).parse(ie(t),{formData:ie(t)}),u={},i={};for(const a of r.errors){const s=a.errors,o=(a.path||"").replace(/\["(\d+)"\]/g,(l,c)=>`[${c}]`);u[o]={valid:!s.length,errors:s},s.length&&(i[o]=s[0])}return{valid:!r.errors.length,results:u,errors:i,values:r.value,source:"schema"}}async function _l(e,t,n){const u=je(e).map(async l=>{var c,d,m;const f=(c=n==null?void 0:n.names)===null||c===void 0?void 0:c[l],p=await ja(Fe(t,l),e[l],{name:(f==null?void 0:f.name)||l,label:f==null?void 0:f.label,values:t,bails:(m=(d=n==null?void 0:n.bailsMap)===null||d===void 0?void 0:d[l])!==null&&m!==void 0?m:!0});return Object.assign(Object.assign({},p),{path:l})});let i=!0;const a=await Promise.all(u),s={},o={};for(const l of a)s[l.path]={valid:l.valid,errors:l.errors},l.valid||(i=!1,o[l.path]=l.errors[0]);return{valid:i,results:s,errors:o,source:"schema"}}let Ci=0;function gl(e,t){const{value:n,initialValue:r,setInitialValue:u}=bl(e,t.modelValue,t.form);if(!t.form){let o=function(f){var p;"value"in f&&(n.value=f.value),"errors"in f&&c(f.errors),"touched"in f&&(m.touched=(p=f.touched)!==null&&p!==void 0?p:m.touched),"initialValue"in f&&u(f.initialValue)};const{errors:l,setErrors:c}=xl(),d=Ci>=Number.MAX_SAFE_INTEGER?0:++Ci,m=yl(n,r,l,t.schema);return{id:d,path:e,value:n,initialValue:r,meta:m,flags:{pendingUnmount:{[d]:!1},pendingReset:!1},errors:l,setState:o}}const i=t.form.createPathState(e,{bails:t.bails,label:t.label,type:t.type,validate:t.validate,schema:t.schema}),a=ue(()=>i.errors);function s(o){var l,c,d;"value"in o&&(n.value=o.value),"errors"in o&&((l=t.form)===null||l===void 0||l.setFieldError(te(e),o.errors)),"touched"in o&&((c=t.form)===null||c===void 0||c.setFieldTouched(te(e),(d=o.touched)!==null&&d!==void 0?d:!1)),"initialValue"in o&&u(o.initialValue)}return{id:Array.isArray(i.id)?i.id[i.id.length-1]:i.id,path:e,value:n,errors:a,meta:i,initialValue:r,flags:i.__flags,setState:s}}function bl(e,t,n){const r=be(te(t));function u(){return n?Fe(n.initialValues.value,te(e),te(r)):te(r)}function i(l){if(!n){r.value=l;return}n.setFieldInitialValue(te(e),l,!0)}const a=ue(u);if(!n)return{value:be(u()),initialValue:a,setInitialValue:i};const s=vl(t,n,a,e);return n.stageInitialValue(te(e),s,!0),{value:ue({get(){return Fe(n.values,te(e))},set(l){n.setFieldValue(te(e),l,!1)}}),initialValue:a,setInitialValue:i}}function vl(e,t,n,r){return dr(e)?te(e):e!==void 0?e:Fe(t.values,te(r),te(n))}function yl(e,t,n,r){const u=ue(()=>{var a,s,o;return(o=(s=(a=V(r))===null||a===void 0?void 0:a.describe)===null||s===void 0?void 0:s.call(a).required)!==null&&o!==void 0?o:!1}),i=cr({touched:!1,pending:!1,valid:!0,required:u,validated:!!te(n).length,initialValue:ue(()=>te(t)),dirty:ue(()=>!Oe(te(e),te(t)))});return dt(n,a=>{i.valid=!a.length},{immediate:!0,flush:"sync"}),i}function xl(){const e=be([]);return{errors:e,setErrors:t=>{e.value=Eu(t)}}}function Ua(e,t,n){return La(n==null?void 0:n.type)?El(e,t,n):qa(e,t,n)}function qa(e,t,n){const{initialValue:r,validateOnMount:u,bails:i,type:a,checkedValue:s,label:o,validateOnValueUpdate:l,uncheckedValue:c,controlled:d,keepValueOnUnmount:m,syncVModel:f,form:p}=kl(n),x=d?Va(qu):void 0,b=p||x,y=ue(()=>pn(V(e))),v=ue(()=>{if(V(b==null?void 0:b.schema))return;const U=te(t);return fr(U)||Qe(U)||Le(U)||Array.isArray(U)?U:Ba(U)}),E=!Le(v.value)&&Qe(V(t)),{id:D,value:A,initialValue:T,meta:R,setState:q,errors:ae,flags:me}=gl(y,{modelValue:r,form:b,bails:i,label:o,type:a,validate:v.value?xe:void 0,schema:E?t:void 0}),Y=ue(()=>ae.value[0]);f&&Al({value:A,prop:f,handleChange:F,shouldValidate:()=>l&&!me.pendingReset});const we=(L,U=!1)=>{R.touched=!0,U&&le()};async function Ue(L){var U,X;if(b!=null&&b.validateSchema){const{results:re}=await b.validateSchema(L);return(U=re[V(y)])!==null&&U!==void 0?U:{valid:!0,errors:[]}}return v.value?ja(A.value,v.value,{name:V(y),label:V(o),values:(X=b==null?void 0:b.values)!==null&&X!==void 0?X:{},bails:i}):{valid:!0,errors:[]}}const le=ku(async()=>(R.pending=!0,R.validated=!0,Ue("validated-only")),L=>(me.pendingUnmount[pe.id]||(q({errors:L.errors}),R.pending=!1,R.valid=L.valid),L)),ce=ku(async()=>Ue("silent"),L=>(R.valid=L.valid,L));function xe(L){return(L==null?void 0:L.mode)==="silent"?ce():le()}function F(L,U=!0){const X=hr(L);Q(X,U)}Da(()=>{if(u)return le();(!b||!b.validateSchema)&&ce()});function z(L){R.touched=L}function ne(L){var U;const X=L&&"value"in L?L.value:T.value;q({value:ie(X),initialValue:ie(X),touched:(U=L==null?void 0:L.touched)!==null&&U!==void 0?U:!1,errors:(L==null?void 0:L.errors)||[]}),R.pending=!1,R.validated=!1,ce()}const H=Lr();function Q(L,U=!0){A.value=H&&f?tl(L,H.props.modelModifiers):L,(U?le:ce)()}function Ye(L){q({errors:Array.isArray(L)?L:[L]})}const qe=ue({get(){return A.value},set(L){Q(L,l)}}),pe={id:D,name:y,label:o,value:qe,meta:R,errors:ae,errorMessage:Y,type:a,checkedValue:s,uncheckedValue:c,bails:i,keepValueOnUnmount:m,resetField:ne,handleReset:()=>ne(),validate:xe,handleChange:F,handleBlur:we,setState:q,setTouched:z,setErrors:Ye,setValue:Q};if(vu(Ko,pe),dr(t)&&typeof te(t)!="function"&&dt(t,(L,U)=>{Oe(L,U)||(R.validated?le():ce())},{deep:!0}),!b)return pe;const At=ue(()=>{const L=v.value;return!L||Le(L)||fr(L)||Qe(L)||Array.isArray(L)?{}:Object.keys(L).reduce((U,X)=>{const re=sl(L[X]).map(Ge=>Ge.__locatorRef).reduce((Ge,ut)=>{const Ze=Fe(b.values,ut)||b.values[ut];return Ze!==void 0&&(Ge[ut]=Ze),Ge},{});return Object.assign(U,re),U},{})});return dt(At,(L,U)=>{if(!Object.keys(L).length)return;!Oe(L,U)&&(R.validated?le():ce())}),Po(()=>{var L;const U=(L=V(pe.keepValueOnUnmount))!==null&&L!==void 0?L:V(b.keepValuesOnUnmount),X=V(y);if(U||!b||me.pendingUnmount[pe.id]){b==null||b.removePathState(X,D);return}me.pendingUnmount[pe.id]=!0;const re=b.getPathState(X);if(Array.isArray(re==null?void 0:re.id)&&(re!=null&&re.multiple)?re!=null&&re.id.includes(pe.id):(re==null?void 0:re.id)===pe.id){if(re!=null&&re.multiple&&Array.isArray(re.value)){const ut=re.value.findIndex(Ze=>Oe(Ze,V(pe.checkedValue)));if(ut>-1){const Ze=[...re.value];Ze.splice(ut,1),b.setFieldValue(X,Ze)}Array.isArray(re.id)&&re.id.splice(re.id.indexOf(pe.id),1)}else b.unsetPathValue(V(y));b.removePathState(X,D)}}),pe}function kl(e){const t=()=>({initialValue:void 0,validateOnMount:!1,bails:!0,label:void 0,validateOnValueUpdate:!0,keepValueOnUnmount:void 0,syncVModel:!1,controlled:!0}),n=!!(e!=null&&e.syncVModel),r=typeof(e==null?void 0:e.syncVModel)=="string"?e.syncVModel:(e==null?void 0:e.modelPropName)||"modelValue",u=n&&!("initialValue"in(e||{}))?Au(Lr(),r):e==null?void 0:e.initialValue;if(!e)return Object.assign(Object.assign({},t()),{initialValue:u});const i="valueProp"in e?e.valueProp:e.checkedValue,a="standalone"in e?!e.standalone:e.controlled,s=(e==null?void 0:e.modelPropName)||(e==null?void 0:e.syncVModel)||!1;return Object.assign(Object.assign(Object.assign({},t()),e||{}),{initialValue:u,controlled:a??!0,checkedValue:i,syncVModel:s})}function El(e,t,n){const r=n!=null&&n.standalone?void 0:Va(qu),u=n==null?void 0:n.checkedValue,i=n==null?void 0:n.uncheckedValue;function a(s){const o=s.handleChange,l=ue(()=>{const d=V(s.value),m=V(u);return Array.isArray(d)?d.findIndex(f=>Oe(f,m))>=0:Oe(m,d)});function c(d,m=!0){var f,p;if(l.value===((f=d==null?void 0:d.target)===null||f===void 0?void 0:f.checked)){m&&s.validate();return}const x=V(e),b=r==null?void 0:r.getPathState(x),y=hr(d);let v=(p=V(u))!==null&&p!==void 0?p:y;r&&(b!=null&&b.multiple)&&b.type==="checkbox"?v=ki(Fe(r.values,x)||[],v,void 0):(n==null?void 0:n.type)==="checkbox"&&(v=ki(V(s.value),v,V(i))),o(v,m)}return Object.assign(Object.assign({},s),{checked:l,checkedValue:u,uncheckedValue:i,handleChange:c})}return a(qa(e,t,n))}function Al({prop:e,value:t,handleChange:n,shouldValidate:r}){const u=Lr();if(!u||!e)return;const i=typeof e=="string"?e:"modelValue",a=`update:${i}`;i in u.props&&(dt(t,s=>{Oe(s,Au(u,i))||u.emit(a,s)}),dt(()=>Au(u,i),s=>{if(s===bi&&t.value===void 0)return;const o=s===bi?void 0:s;Oe(o,t.value)||n(o,r())}))}function Au(e,t){if(e)return e.props[t]}let Cl=0;const Qn=["bails","fieldsCount","id","multiple","type","validate"];function Ga(e){const t=(e==null?void 0:e.initialValues)||{},n=Object.assign({},V(t)),r=te(e==null?void 0:e.validationSchema);return r&&Qe(r)&&Le(r.cast)?ie(r.cast(n)||{}):ie(n)}function j1(e){var t;const n=Cl++,r=(e==null?void 0:e.name)||"Form";let u=0;const i=be(!1),a=be(!1),s=be(0),o=[],l=cr(Ga(e)),c=be([]),d=be({}),m=be({}),f=nl(()=>{m.value=c.value.reduce((g,_)=>(g[pn(V(_.path))]=_,g),{})});function p(g,_){const C=F(g);if(!C){typeof g=="string"&&(d.value[pn(g)]=Eu(_));return}if(typeof g=="string"){const I=pn(g);d.value[I]&&delete d.value[I]}C.errors=Eu(_),C.valid=!C.errors.length}function x(g){je(g).forEach(_=>{p(_,g[_])})}e!=null&&e.initialErrors&&x(e.initialErrors);const b=ue(()=>{const g=c.value.reduce((_,C)=>(C.errors.length&&(_[V(C.path)]=C.errors),_),{});return Object.assign(Object.assign({},d.value),g)}),y=ue(()=>je(b.value).reduce((g,_)=>{const C=b.value[_];return C!=null&&C.length&&(g[_]=C[0]),g},{})),v=ue(()=>c.value.reduce((g,_)=>(g[V(_.path)]={name:V(_.path)||"",label:_.label||""},g),{})),E=ue(()=>c.value.reduce((g,_)=>{var C;return g[V(_.path)]=(C=_.bails)!==null&&C!==void 0?C:!0,g},{})),D=Object.assign({},(e==null?void 0:e.initialErrors)||{}),A=(t=e==null?void 0:e.keepValuesOnUnmount)!==null&&t!==void 0?t:!1,{initialValues:T,originalInitialValues:R,setInitialValues:q}=Dl(c,l,e),ae=wl(c,l,R,y),me=ue(()=>c.value.reduce((g,_)=>{const C=Fe(l,V(_.path));return _t(g,V(_.path),C),g},{})),Y=e==null?void 0:e.validationSchema;function we(g,_){var C,I;const j=ue(()=>Fe(T.value,V(g))),K=m.value[V(g)],B=(_==null?void 0:_.type)==="checkbox"||(_==null?void 0:_.type)==="radio";if(K&&B){K.multiple=!0;const He=u++;return Array.isArray(K.id)?K.id.push(He):K.id=[K.id,He],K.fieldsCount++,K.__flags.pendingUnmount[He]=!1,K}const he=ue(()=>Fe(l,V(g))),_e=V(g),De=ne.findIndex(He=>He===_e);De!==-1&&ne.splice(De,1);const de=ue(()=>{var He,cn,Kr,Jr;const Yr=V(Y);if(Qe(Yr))return(cn=(He=Yr.describe)===null||He===void 0?void 0:He.call(Yr,V(g)).required)!==null&&cn!==void 0?cn:!1;const Xr=V(_==null?void 0:_.schema);return Qe(Xr)&&(Jr=(Kr=Xr.describe)===null||Kr===void 0?void 0:Kr.call(Xr).required)!==null&&Jr!==void 0?Jr:!1}),Se=u++,Ie=cr({id:Se,path:g,touched:!1,pending:!1,valid:!0,validated:!!(!((C=D[_e])===null||C===void 0)&&C.length),required:de,initialValue:j,errors:Oo([]),bails:(I=_==null?void 0:_.bails)!==null&&I!==void 0?I:!1,label:_==null?void 0:_.label,type:(_==null?void 0:_.type)||"default",value:he,multiple:!1,__flags:{pendingUnmount:{[Se]:!1},pendingReset:!1},fieldsCount:1,validate:_==null?void 0:_.validate,dirty:ue(()=>!Oe(te(he),te(j)))});return c.value.push(Ie),m.value[_e]=Ie,f(),y.value[_e]&&!D[_e]&&it(()=>{Lt(_e,{mode:"silent"})}),dr(g)&&dt(g,He=>{f();const cn=ie(he.value);m.value[He]=Ie,it(()=>{_t(l,He,cn)})}),Ie}const Ue=Ei(hi,5),le=Ei(hi,5),ce=ku(async g=>await(g==="silent"?Ue():le()),(g,[_])=>{const C=je(U.errorBag.value),j=[...new Set([...je(g.results),...c.value.map(K=>K.path),...C])].sort().reduce((K,B)=>{var he;const _e=B,De=F(_e)||z(_e),de=((he=g.results[_e])===null||he===void 0?void 0:he.errors)||[],Se=V(De==null?void 0:De.path)||_e,Ie=Sl({errors:de,valid:!de.length},K.results[Se]);return K.results[Se]=Ie,Ie.valid||(K.errors[Se]=Ie.errors[0]),De&&d.value[Se]&&delete d.value[Se],De?(De.valid=Ie.valid,_==="silent"||_==="validated-only"&&!De.validated||p(De,Ie.errors),K):(p(Se,de),K)},{valid:g.valid,results:{},errors:{},source:g.source});return g.values&&(j.values=g.values,j.source=g.source),je(j.results).forEach(K=>{var B;const he=F(K);he&&_!=="silent"&&(_==="validated-only"&&!he.validated||p(he,(B=j.results[K])===null||B===void 0?void 0:B.errors))}),j});function xe(g){c.value.forEach(g)}function F(g){const _=typeof g=="string"?pn(g):g;return typeof _=="string"?m.value[_]:_}function z(g){return c.value.filter(C=>g.startsWith(V(C.path))).reduce((C,I)=>C?I.path.length>C.path.length?I:C:I,void 0)}let ne=[],H;function Q(g){return ne.push(g),H||(H=it(()=>{[...ne].sort().reverse().forEach(C=>{xi(l,C)}),ne=[],H=null})),H}function Ye(g){return function(C,I){return function(K){return K instanceof Event&&(K.preventDefault(),K.stopPropagation()),xe(B=>B.touched=!0),i.value=!0,s.value++,qt().then(B=>{const he=ie(l);if(B.valid&&typeof C=="function"){const _e=ie(me.value);let De=g?_e:he;return B.values&&(De=B.source==="schema"?B.values:Object.assign({},De,B.values)),C(De,{evt:K,controlledValues:_e,setErrors:x,setFieldError:p,setTouched:Gr,setFieldTouched:Ze,setValues:Ge,setFieldValue:X,resetForm:Zr,resetField:di})}!B.valid&&typeof I=="function"&&I({values:he,evt:K,errors:B.errors,results:B.results})}).then(B=>(i.value=!1,B),B=>{throw i.value=!1,B})}}}const pe=Ye(!1);pe.withControlled=Ye(!0);function At(g,_){const C=c.value.findIndex(j=>j.path===g&&(Array.isArray(j.id)?j.id.includes(_):j.id===_)),I=c.value[C];if(!(C===-1||!I)){if(it(()=>{Lt(g,{mode:"silent",warn:!1})}),I.multiple&&I.fieldsCount&&I.fieldsCount--,Array.isArray(I.id)){const j=I.id.indexOf(_);j>=0&&I.id.splice(j,1),delete I.__flags.pendingUnmount[_]}(!I.multiple||I.fieldsCount<=0)&&(c.value.splice(C,1),fi(g),f(),delete m.value[g])}}function L(g){je(m.value).forEach(_=>{_.startsWith(g)&&delete m.value[_]}),c.value=c.value.filter(_=>!_.path.startsWith(g)),it(()=>{f()})}const U={name:r,formId:n,values:l,controlledValues:me,errorBag:b,errors:y,schema:Y,submitCount:s,meta:ae,isSubmitting:i,isValidating:a,fieldArrays:o,keepValuesOnUnmount:A,validateSchema:te(Y)?ce:void 0,validate:qt,setFieldError:p,validateField:Lt,setFieldValue:X,setValues:Ge,setErrors:x,setFieldTouched:Ze,setTouched:Gr,resetForm:Zr,resetField:di,handleSubmit:pe,useFieldModel:Co,defineInputBinds:wo,defineComponentBinds:Do,defineField:Wr,stageInitialValue:Eo,unsetInitialValue:fi,setFieldInitialValue:Hr,createPathState:we,getPathState:F,unsetPathValue:Q,removePathState:At,initialValues:T,getAllPathStates:()=>c.value,destroyPath:L,isFieldTouched:yo,isFieldDirty:xo,isFieldValid:ko};function X(g,_,C=!0){const I=ie(_),j=typeof g=="string"?g:g.path;F(j)||we(j),_t(l,j,I),C&&Lt(j)}function re(g,_=!0){je(l).forEach(C=>{delete l[C]}),je(g).forEach(C=>{X(C,g[C],!1)}),_&&qt()}function Ge(g,_=!0){xn(l,g),o.forEach(C=>C&&C.reset()),_&&qt()}function ut(g,_){const C=F(V(g))||we(g);return ue({get(){return C.value},set(I){var j;const K=V(g);X(K,I,(j=V(_))!==null&&j!==void 0?j:!1)}})}function Ze(g,_){const C=F(g);C&&(C.touched=_)}function yo(g){const _=F(g);return _?_.touched:c.value.filter(C=>C.path.startsWith(g)).some(C=>C.touched)}function xo(g){const _=F(g);return _?_.dirty:c.value.filter(C=>C.path.startsWith(g)).some(C=>C.dirty)}function ko(g){const _=F(g);return _?_.valid:c.value.filter(C=>C.path.startsWith(g)).every(C=>C.valid)}function Gr(g){if(typeof g=="boolean"){xe(_=>{_.touched=g});return}je(g).forEach(_=>{Ze(_,!!g[_])})}function di(g,_){var C;const I=_&&"value"in _?_.value:Fe(T.value,g),j=F(g);j&&(j.__flags.pendingReset=!0),Hr(g,ie(I),!0),X(g,I,!1),Ze(g,(C=_==null?void 0:_.touched)!==null&&C!==void 0?C:!1),p(g,(_==null?void 0:_.errors)||[]),it(()=>{j&&(j.__flags.pendingReset=!1)})}function Zr(g,_){let C=ie(g!=null&&g.values?g.values:R.value);C=_!=null&&_.force?C:xn(R.value,C),C=Qe(Y)&&Le(Y.cast)?Y.cast(C):C,q(C,{force:_==null?void 0:_.force}),xe(I=>{var j;I.__flags.pendingReset=!0,I.validated=!1,I.touched=((j=g==null?void 0:g.touched)===null||j===void 0?void 0:j[V(I.path)])||!1,X(V(I.path),Fe(C,V(I.path)),!1),p(V(I.path),void 0)}),_!=null&&_.force?re(C,!1):Ge(C,!1),x((g==null?void 0:g.errors)||{}),s.value=(g==null?void 0:g.submitCount)||0,it(()=>{qt({mode:"silent"}),xe(I=>{I.__flags.pendingReset=!1})})}async function qt(g){const _=(g==null?void 0:g.mode)||"force";if(_==="force"&&xe(B=>B.validated=!0),U.validateSchema)return U.validateSchema(_);a.value=!0;const C=await Promise.all(c.value.map(B=>B.validate?B.validate(g).then(he=>({key:V(B.path),valid:he.valid,errors:he.errors,value:he.value})):Promise.resolve({key:V(B.path),valid:!0,errors:[],value:void 0})));a.value=!1;const I={},j={},K={};for(const B of C)I[B.key]={valid:B.valid,errors:B.errors},B.value&&_t(K,B.key,B.value),B.errors.length&&(j[B.key]=B.errors[0]);return{valid:C.every(B=>B.valid),results:I,errors:j,values:K,source:"fields"}}async function Lt(g,_){var C;const I=F(g);if(I&&(_==null?void 0:_.mode)!=="silent"&&(I.validated=!0),Y){const{results:j}=await ce((_==null?void 0:_.mode)||"validated-only");return j[g]||{errors:[],valid:!0}}return I!=null&&I.validate?I.validate(_):(!I&&(C=_==null?void 0:_.warn),Promise.resolve({errors:[],valid:!0}))}function fi(g){xi(T.value,g)}function Eo(g,_,C=!1){Hr(g,_),_t(l,g,_),C&&!(e!=null&&e.initialValues)&&_t(R.value,g,ie(_))}function Hr(g,_,C=!1){_t(T.value,g,ie(_)),C&&_t(R.value,g,ie(_))}async function hi(){const g=te(Y);if(!g)return{valid:!0,results:{},errors:{},source:"none"};a.value=!0;const _=fr(g)||Qe(g)?await ml(g,l):await _l(g,l,{names:v.value,bailsMap:E.value});return a.value=!1,_}const Ao=pe((g,{evt:_})=>{el(_)&&_.target.submit()});Da(()=>{if(e!=null&&e.initialErrors&&x(e.initialErrors),e!=null&&e.initialTouched&&Gr(e.initialTouched),e!=null&&e.validateOnMount){qt();return}U.validateSchema&&U.validateSchema("silent")}),dr(Y)&&dt(Y,()=>{var g;(g=U.validateSchema)===null||g===void 0||g.call(U,"validated-only")}),vu(qu,U);function Wr(g,_){const C=Le(_)||_==null?void 0:_.label,I=F(V(g))||we(g,{label:C}),j=()=>Le(_)?_(Xn(I,Qn)):_||{};function K(){var de;I.touched=!0,((de=j().validateOnBlur)!==null&&de!==void 0?de:mn().validateOnBlur)&&Lt(V(I.path))}function B(){var de;((de=j().validateOnInput)!==null&&de!==void 0?de:mn().validateOnInput)&&it(()=>{Lt(V(I.path))})}function he(){var de;((de=j().validateOnChange)!==null&&de!==void 0?de:mn().validateOnChange)&&it(()=>{Lt(V(I.path))})}const _e=ue(()=>{const de={onChange:he,onInput:B,onBlur:K};return Le(_)?Object.assign(Object.assign({},de),_(Xn(I,Qn)).props||{}):_!=null&&_.props?Object.assign(Object.assign({},de),_.props(Xn(I,Qn))):de});return[ut(g,()=>{var de,Se,Ie;return(Ie=(de=j().validateOnModelUpdate)!==null&&de!==void 0?de:(Se=mn())===null||Se===void 0?void 0:Se.validateOnModelUpdate)!==null&&Ie!==void 0?Ie:!0}),_e]}function Co(g){return Array.isArray(g)?g.map(_=>ut(_,!0)):ut(g)}function wo(g,_){const[C,I]=Wr(g,_);function j(){I.value.onBlur()}function K(he){const _e=hr(he);X(V(g),_e,!1),I.value.onInput()}function B(he){const _e=hr(he);X(V(g),_e,!1),I.value.onChange()}return ue(()=>Object.assign(Object.assign({},I.value),{onBlur:j,onInput:K,onChange:B,value:C.value}))}function Do(g,_){const[C,I]=Wr(g,_),j=F(V(g));function K(B){C.value=B}return ue(()=>{const B=Le(_)?_(Xn(j,Qn)):_||{};return Object.assign({[B.model||"modelValue"]:C.value,[`onUpdate:${B.model||"modelValue"}`]:K},I.value)})}const pi=Object.assign(Object.assign({},U),{values:Ro(l),handleReset:()=>Zr(),submitForm:Ao});return vu(Wo,pi),pi}function wl(e,t,n,r){const u={touched:"some",pending:"some",valid:"every"},i=ue(()=>!Oe(t,te(n)));function a(){const o=e.value;return je(u).reduce((l,c)=>{const d=u[c];return l[c]=o[d](m=>m[c]),l},{})}const s=cr(a());return Sa(()=>{const o=a();s.touched=o.touched,s.valid=o.valid,s.pending=o.pending}),ue(()=>Object.assign(Object.assign({initialValues:te(n)},s),{valid:s.valid&&!je(r.value).length,dirty:i.value}))}function Dl(e,t,n){const r=Ga(n),u=be(r),i=be(ie(r));function a(s,o){o!=null&&o.force?(u.value=ie(s),i.value=ie(s)):(u.value=xn(ie(u.value)||{},ie(s)),i.value=xn(ie(i.value)||{},ie(s))),o!=null&&o.updateFields&&e.value.forEach(l=>{if(l.touched)return;const d=Fe(u.value,V(l.path));_t(t,V(l.path),ie(d))})}return{initialValues:u,originalInitialValues:i,setInitialValues:a}}function Sl(e,t){return t?{valid:e.valid&&t.valid,errors:[...e.errors,...t.errors]}:e}const Tl=["aria-expanded","onKeydown"],Rl=["aria-selected","onClick","onKeydown"],Ol=["id","value","name"],Pl=["for"],Il=$u({__name:"DropdownSelect",props:{options:{type:Array,required:!0},name:{type:String,required:!0},defaultValue:{type:[String,Number,Object],default:null},placeholder:{type:[String,Number],default:null},modelValue:{type:[String,Number,Object],default:null},renderUp:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},displayName:{type:Function,default:void 0},field:{type:[Boolean,Function],default:!1}},emits:["input","change","update:modelValue"],setup(e,{emit:t}){var D;const n=e;function r(A){var T;return((T=n.displayName)==null?void 0:T.call(n,A))??A}const u=t,i=n.field?Ua(n.name,void 0,{initialValue:(D=n.modelValue||n.defaultValue)==null?void 0:D.value}):void 0,a=be(!1),s=be(n.modelValue||n.defaultValue),o=be(null),l=be(null),c=be(null),d=ue(()=>r(s.value)??n.placeholder??"Select an option"),m=ue({get(){return n.modelValue||s.value},set(A){u("update:modelValue",A),s.value=A}});dt(()=>n.modelValue,A=>{s.value=A}),dt(s,A=>{n.field&&(n.field instanceof Function?i.handleChange(n.field(A),!0):i.handleChange(A,!0))});const f=()=>{n.disabled||(a.value=!a.value,l.value.focus())},p=(A,T)=>{m.value=A,u("change",{option:A,index:T}),a.value=!1},x=()=>{n.disabled||(o.value=n.options.findIndex(A=>A===s.value),a.value=!0)},b=A=>{E(A.relatedTarget)||(a.value=!1)},y=()=>{n.disabled||(a.value||f(),o.value=(o.value+n.options.length-1)%n.options.length,c.value[o.value].focus())},v=()=>{n.disabled||(a.value||f(),o.value=(o.value+1)%n.options.length,c.value[o.value].focus())},E=A=>{let T=A;for(;T;){if(T===l.value)return!0;T=T.parentNode}return!1};return(A,T)=>(xt(),yt("div",{ref_key:"dropdown",ref:l,tabindex:"0",role:"combobox","aria-expanded":a.value,class:"animated-dropdown",onFocus:x,onBlur:b,onFocusout:b,onMousedown:T[1]||(T[1]=dn(()=>{},["prevent"])),onKeydown:[Yn(dn(f,["prevent"]),["enter"]),Yn(dn(y,["prevent"]),["up"]),Yn(dn(v,["prevent"]),["down"])]},[Xe("div",{class:Ft(["selected",{disabled:e.disabled,"render-down":a.value&&!e.renderUp&&!e.disabled,"render-up":a.value&&e.renderUp&&!e.disabled}]),onClick:f},[Xe("div",null,[Ta(A.$slots,"default",{selected:d.value},()=>[Xe("span",null,yn(d.value),1)],!0)]),yu(te($o),{class:Ft(["arrow",{rotate:a.value}])},null,8,["class"])],2),Xe("div",{class:Ft(["options-wrapper",{down:!e.renderUp,up:e.renderUp}])},[yu(Lo,{name:"options"},{default:Fo(()=>[mi(Xe("div",{class:Ft(["options",{down:!e.renderUp,up:e.renderUp}]),role:"listbox"},[(xt(!0),yt(Ra,null,Oa(e.options,(R,q)=>(xt(),yt("div",{key:q,ref_for:!0,ref_key:"optionElements",ref:c,tabindex:"-1",role:"option",class:Ft([{"selected-option":s.value===R},"option"]),"aria-selected":s.value===R,onClick:ae=>p(R,q),onKeydown:Yn(dn(ae=>p(R,q),["prevent"]),["space"])},[mi(Xe("input",{id:`${e.name}-${q}`,"onUpdate:modelValue":T[0]||(T[0]=ae=>m.value=ae),type:"radio",value:R,name:e.name},null,8,Ol),[[Vo,m.value]]),Xe("label",{for:`${e.name}-${q}`},yn(r(R)),9,Pl)],42,Rl))),128))],2),[[No,a.value]])]),_:1})],2)],40,Tl))}}),$1=zu(Il,[["__scopeId","data-v-272f5455"]]),Ll={class:"!space-y-2"},Fl={key:0,class:"icon"},Nl=["value","placeholder"],Vl=$u({__name:"Field",props:{name:{type:String,required:!0},label:{type:String,required:!0},placeholder:{type:String,required:!1}},setup(e){const t=e,n=a=>{u(a)},{value:r,setValue:u,errors:i}=Ua(()=>t.name,void 0,{validateOnMount:!0,initialValue:""});return(a,s)=>(xt(),yt("div",Ll,[Xe("label",{class:Ft({text:!0,error:te(i).length>0})},[te(i).length>0?(xt(),yt("span",Fl,[yu(te(zo))])):Pa("",!0),Mo(" "+yn(e.label),1)],2),Ta(a.$slots,"default",{value:te(r),updateValue:n},()=>[Xe("input",{value:te(r),onInput:s[0]||(s[0]=o=>n(o.target.value)),placeholder:e.placeholder},null,40,Nl)],!0),(xt(!0),yt(Ra,null,Oa(te(i),o=>(xt(),yt("p",{class:"text no-margin error",key:o},yn(o),1))),128))]))}}),z1=zu(Vl,[["__scopeId","data-v-3f34efe0"]]);function Ml(e,t={codeCopyButtonTitle:"Copy code",hasSingleTheme:!1}){const n=e.renderer.rules.fence;e.renderer.rules.fence=(...r)=>{const[u,i]=r,a=u[i];a.info=a.info.replace(/\[.*\]/,"");const s=/ active( |$)/.test(a.info)?" active":"";a.info=a.info.replace(/ active$/,"").replace(/ active /," ");const o=jl(a.info);return`<div class="language-${o}${Bl(t)}${s}"><button title="${t.codeCopyButtonTitle}" class="copy"></button><span class="lang">${o}</span>`+n(...r)+"</div>"}}function Bl(e){return e.hasSingleTheme?"":" vp-adaptive-theme"}function jl(e){return e.trim().replace(/=(\d*)/,"").replace(/:(no-)?line-numbers({| |$|=\d*).*/,"").replace(/(-vue|{| ).*$/,"").replace(/^vue-html$/,"template").replace(/^ansi$/,"")}const tu=/{([\d,-]+)}/,$l=e=>{const t=e.renderer.rules.fence;e.renderer.rules.fence=(...n)=>{const[r,u]=n,i=r[u],a=i.attrs&&i.attrs[0];let s=null;if(!a){const o=i.info;if(!o||!tu.test(o))return t(...n);const l=o.replace(tu,"").trim();i.info=l,s=tu.exec(o)[1]}return!s&&(s=a[0],!s||!/[\d,-]+/.test(s))?t(...n):(i.info+=" "+s,t(...n))}},zl=(e,t=!1)=>{const n=e.renderer.rules.fence;e.renderer.rules.fence=(...r)=>{const u=n(...r),[i,a]=r,s=i[a].info;if(!t&&!/:line-numbers($| |=)/.test(s)||t&&/:no-line-numbers($| )/.test(s))return u;let o=1;const l=s.match(/=(\d*)/);l&&l[1]&&(o=parseInt(l[1]));const d=u.slice(u.indexOf("<code>"),u.indexOf("</code>")).split(`
|
||
`),f=`<div class="line-numbers-wrapper" aria-hidden="true">${[...Array(d.length)].map((x,b)=>`<span class="line-number">${b+o}</span><br>`).join("")}</div>`;return u.replace(/<\/div>$/,`${f}</div>`).replace(/"(language-[^"]*?)"/,'"$1 line-numbers-mode"')}};let Ae=class extends Error{constructor(t){super(t),this.name="ShikiError"}},Gu=class extends Error{constructor(t){super(t),this.name="ShikiError"}};function Ul(){return 2147483648}function ql(){return typeof performance<"u"?performance.now():Date.now()}const Gl=(e,t)=>e+(t-e%t)%t;async function Zl(e){let t,n;const r={};function u(f){n=f,r.HEAPU8=new Uint8Array(f),r.HEAPU32=new Uint32Array(f)}function i(f,p,x){r.HEAPU8.copyWithin(f,p,p+x)}function a(f){try{return t.grow(f-n.byteLength+65535>>>16),u(t.buffer),1}catch{}}function s(f){const p=r.HEAPU8.length;f=f>>>0;const x=Ul();if(f>x)return!1;for(let b=1;b<=4;b*=2){let y=p*(1+.2/b);y=Math.min(y,f+100663296);const v=Math.min(x,Gl(Math.max(f,y),65536));if(a(v))return!0}return!1}const o=typeof TextDecoder<"u"?new TextDecoder("utf8"):void 0;function l(f,p,x=1024){const b=p+x;let y=p;for(;f[y]&&!(y>=b);)++y;if(y-p>16&&f.buffer&&o)return o.decode(f.subarray(p,y));let v="";for(;p<y;){let E=f[p++];if(!(E&128)){v+=String.fromCharCode(E);continue}const D=f[p++]&63;if((E&224)===192){v+=String.fromCharCode((E&31)<<6|D);continue}const A=f[p++]&63;if((E&240)===224?E=(E&15)<<12|D<<6|A:E=(E&7)<<18|D<<12|A<<6|f[p++]&63,E<65536)v+=String.fromCharCode(E);else{const T=E-65536;v+=String.fromCharCode(55296|T>>10,56320|T&1023)}}return v}function c(f,p){return f?l(r.HEAPU8,f,p):""}const d={emscripten_get_now:ql,emscripten_memcpy_big:i,emscripten_resize_heap:s,fd_write:()=>0};async function m(){const p=await e({env:d,wasi_snapshot_preview1:d});t=p.memory,u(t.buffer),Object.assign(r,p),r.UTF8ToString=c}return await m(),r}var Hl=Object.defineProperty,Wl=(e,t,n)=>t in e?Hl(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,ve=(e,t,n)=>(Wl(e,typeof t!="symbol"?t+"":t,n),n);let Ee=null;function Kl(e){throw new Gu(e.UTF8ToString(e.getLastOnigError()))}class Nr{constructor(t){ve(this,"utf16Length"),ve(this,"utf8Length"),ve(this,"utf16Value"),ve(this,"utf8Value"),ve(this,"utf16OffsetToUtf8"),ve(this,"utf8OffsetToUtf16");const n=t.length,r=Nr._utf8ByteLength(t),u=r!==n,i=u?new Uint32Array(n+1):null;u&&(i[n]=r);const a=u?new Uint32Array(r+1):null;u&&(a[r]=n);const s=new Uint8Array(r);let o=0;for(let l=0;l<n;l++){const c=t.charCodeAt(l);let d=c,m=!1;if(c>=55296&&c<=56319&&l+1<n){const f=t.charCodeAt(l+1);f>=56320&&f<=57343&&(d=(c-55296<<10)+65536|f-56320,m=!0)}u&&(i[l]=o,m&&(i[l+1]=o),d<=127?a[o+0]=l:d<=2047?(a[o+0]=l,a[o+1]=l):d<=65535?(a[o+0]=l,a[o+1]=l,a[o+2]=l):(a[o+0]=l,a[o+1]=l,a[o+2]=l,a[o+3]=l)),d<=127?s[o++]=d:d<=2047?(s[o++]=192|(d&1984)>>>6,s[o++]=128|(d&63)>>>0):d<=65535?(s[o++]=224|(d&61440)>>>12,s[o++]=128|(d&4032)>>>6,s[o++]=128|(d&63)>>>0):(s[o++]=240|(d&1835008)>>>18,s[o++]=128|(d&258048)>>>12,s[o++]=128|(d&4032)>>>6,s[o++]=128|(d&63)>>>0),m&&l++}this.utf16Length=n,this.utf8Length=r,this.utf16Value=t,this.utf8Value=s,this.utf16OffsetToUtf8=i,this.utf8OffsetToUtf16=a}static _utf8ByteLength(t){let n=0;for(let r=0,u=t.length;r<u;r++){const i=t.charCodeAt(r);let a=i,s=!1;if(i>=55296&&i<=56319&&r+1<u){const o=t.charCodeAt(r+1);o>=56320&&o<=57343&&(a=(i-55296<<10)+65536|o-56320,s=!0)}a<=127?n+=1:a<=2047?n+=2:a<=65535?n+=3:n+=4,s&&r++}return n}createString(t){const n=t.omalloc(this.utf8Length);return t.HEAPU8.set(this.utf8Value,n),n}}const at=class{constructor(e){if(ve(this,"id",++at.LAST_ID),ve(this,"_onigBinding"),ve(this,"content"),ve(this,"utf16Length"),ve(this,"utf8Length"),ve(this,"utf16OffsetToUtf8"),ve(this,"utf8OffsetToUtf16"),ve(this,"ptr"),!Ee)throw new Gu("Must invoke loadWasm first.");this._onigBinding=Ee,this.content=e;const t=new Nr(e);this.utf16Length=t.utf16Length,this.utf8Length=t.utf8Length,this.utf16OffsetToUtf8=t.utf16OffsetToUtf8,this.utf8OffsetToUtf16=t.utf8OffsetToUtf16,this.utf8Length<1e4&&!at._sharedPtrInUse?(at._sharedPtr||(at._sharedPtr=Ee.omalloc(1e4)),at._sharedPtrInUse=!0,Ee.HEAPU8.set(t.utf8Value,at._sharedPtr),this.ptr=at._sharedPtr):this.ptr=t.createString(Ee)}convertUtf8OffsetToUtf16(e){return this.utf8OffsetToUtf16?e<0?0:e>this.utf8Length?this.utf16Length:this.utf8OffsetToUtf16[e]:e}convertUtf16OffsetToUtf8(e){return this.utf16OffsetToUtf8?e<0?0:e>this.utf16Length?this.utf8Length:this.utf16OffsetToUtf8[e]:e}dispose(){this.ptr===at._sharedPtr?at._sharedPtrInUse=!1:this._onigBinding.ofree(this.ptr)}};let qn=at;ve(qn,"LAST_ID",0);ve(qn,"_sharedPtr",0);ve(qn,"_sharedPtrInUse",!1);class Jl{constructor(t){if(ve(this,"_onigBinding"),ve(this,"_ptr"),!Ee)throw new Gu("Must invoke loadWasm first.");const n=[],r=[];for(let s=0,o=t.length;s<o;s++){const l=new Nr(t[s]);n[s]=l.createString(Ee),r[s]=l.utf8Length}const u=Ee.omalloc(4*t.length);Ee.HEAPU32.set(n,u/4);const i=Ee.omalloc(4*t.length);Ee.HEAPU32.set(r,i/4);const a=Ee.createOnigScanner(u,i,t.length);for(let s=0,o=t.length;s<o;s++)Ee.ofree(n[s]);Ee.ofree(i),Ee.ofree(u),a===0&&Kl(Ee),this._onigBinding=Ee,this._ptr=a}dispose(){this._onigBinding.freeOnigScanner(this._ptr)}findNextMatchSync(t,n,r){let u=0;if(typeof r=="number"&&(u=r),typeof t=="string"){t=new qn(t);const i=this._findNextMatchSync(t,n,!1,u);return t.dispose(),i}return this._findNextMatchSync(t,n,!1,u)}_findNextMatchSync(t,n,r,u){const i=this._onigBinding,a=i.findNextOnigScannerMatch(this._ptr,t.id,t.ptr,t.utf8Length,t.convertUtf16OffsetToUtf8(n),u);if(a===0)return null;const s=i.HEAPU32;let o=a/4;const l=s[o++],c=s[o++],d=[];for(let m=0;m<c;m++){const f=t.convertUtf8OffsetToUtf16(s[o++]),p=t.convertUtf8OffsetToUtf16(s[o++]);d[m]={start:f,end:p,length:p-f}}return{index:l,captureIndices:d}}}function Yl(e){return typeof e.instantiator=="function"}function Xl(e){return typeof e.default=="function"}function Ql(e){return typeof e.data<"u"}function ec(e){return typeof Response<"u"&&e instanceof Response}function tc(e){var t;return typeof ArrayBuffer<"u"&&(e instanceof ArrayBuffer||ArrayBuffer.isView(e))||typeof Buffer<"u"&&((t=Buffer.isBuffer)==null?void 0:t.call(Buffer,e))||typeof SharedArrayBuffer<"u"&&e instanceof SharedArrayBuffer||typeof Uint32Array<"u"&&e instanceof Uint32Array}let er;function nc(e){if(er)return er;async function t(){Ee=await Zl(async n=>{let r=e;return r=await r,typeof r=="function"&&(r=await r(n)),typeof r=="function"&&(r=await r(n)),Yl(r)?r=await r.instantiator(n):Xl(r)?r=await r.default(n):(Ql(r)&&(r=r.data),ec(r)?typeof WebAssembly.instantiateStreaming=="function"?r=await rc(r)(n):r=await uc(r)(n):tc(r)?r=await nu(r)(n):r instanceof WebAssembly.Module?r=await nu(r)(n):"default"in r&&r.default instanceof WebAssembly.Module&&(r=await nu(r.default)(n))),"instance"in r&&(r=r.instance),"exports"in r&&(r=r.exports),r})}return er=t(),er}function nu(e){return t=>WebAssembly.instantiate(e,t)}function rc(e){return t=>WebAssembly.instantiateStreaming(e,t)}function uc(e){return async t=>{const n=await e.arrayBuffer();return WebAssembly.instantiate(n,t)}}let ic;function ac(){return ic}async function Za(e){return e&&await nc(e),{createScanner(t){return new Jl(t.map(n=>typeof n=="string"?n:n.source))},createString(t){return new qn(t)}}}let sc=3;function kn(e,t=3){t>sc||console.trace(`[SHIKI DEPRECATE]: ${e}`)}function oc(e){return Zu(e)}function Zu(e){return Array.isArray(e)?lc(e):e instanceof RegExp?e:typeof e=="object"?cc(e):e}function lc(e){let t=[];for(let n=0,r=e.length;n<r;n++)t[n]=Zu(e[n]);return t}function cc(e){let t={};for(let n in e)t[n]=Zu(e[n]);return t}function Ha(e,...t){return t.forEach(n=>{for(let r in n)e[r]=n[r]}),e}function Wa(e){const t=~e.lastIndexOf("/")||~e.lastIndexOf("\\");return t===0?e:~t===e.length-1?Wa(e.substring(0,e.length-1)):e.substr(~t+1)}var ru=/\$(\d+)|\${(\d+):\/(downcase|upcase)}/g,tr=class{static hasCaptures(e){return e===null?!1:(ru.lastIndex=0,ru.test(e))}static replaceCaptures(e,t,n){return e.replace(ru,(r,u,i,a)=>{let s=n[parseInt(u||i,10)];if(s){let o=t.substring(s.start,s.end);for(;o[0]===".";)o=o.substring(1);switch(a){case"downcase":return o.toLowerCase();case"upcase":return o.toUpperCase();default:return o}}else return r})}};function Ka(e,t){return e<t?-1:e>t?1:0}function Ja(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 u=0;u<n;u++){let i=Ka(e[u],t[u]);if(i!==0)return i}return 0}return n-r}function wi(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 Ya(e){return e.replace(/[\-\\\{\}\*\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&")}var Xa=class{constructor(e){k(this,"cache",new Map);this.fn=e}get(e){if(this.cache.has(e))return this.cache.get(e);const t=this.fn(e);return this.cache.set(e,t),t}},pr=class{constructor(e,t,n){k(this,"_cachedMatchRoot",new Xa(e=>this._root.match(e)));this._colorMap=e,this._defaults=t,this._root=n}static createFromRawTheme(e,t){return this.createFromParsedTheme(hc(e),t)}static createFromParsedTheme(e,t){return mc(e,t)}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(u=>dc(e.parent,u.parentScopes));return r?new Qa(r.fontStyle,r.foreground,r.background):null}},uu=class or{constructor(t,n){this.parent=t,this.scopeName=n}static push(t,n){for(const r of n)t=new or(t,r);return t}static from(...t){let n=null;for(let r=0;r<t.length;r++)n=new or(n,t[r]);return n}push(t){return new or(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 dc(e,t){if(t.length===0)return!0;for(let n=0;n<t.length;n++){let r=t[n],u=!1;if(r===">"){if(n===t.length-1)return!1;r=t[++n],u=!0}for(;e&&!fc(e.scopeName,r);){if(u)return!1;e=e.parent}if(!e)return!1;e=e.parent}return!0}function fc(e,t){return t===e||e.startsWith(t)&&e[t.length]==="."}var Qa=class{constructor(e,t,n){this.fontStyle=e,this.foregroundId=t,this.backgroundId=n}};function hc(e){if(!e)return[];if(!e.settings||!Array.isArray(e.settings))return[];let t=e.settings,n=[],r=0;for(let u=0,i=t.length;u<i;u++){let a=t[u];if(!a.settings)continue;let s;if(typeof a.scope=="string"){let d=a.scope;d=d.replace(/^[,]+/,""),d=d.replace(/[,]+$/,""),s=d.split(",")}else Array.isArray(a.scope)?s=a.scope:s=[""];let o=-1;if(typeof a.settings.fontStyle=="string"){o=0;let d=a.settings.fontStyle.split(" ");for(let m=0,f=d.length;m<f;m++)switch(d[m]){case"italic":o=o|1;break;case"bold":o=o|2;break;case"underline":o=o|4;break;case"strikethrough":o=o|8;break}}let l=null;typeof a.settings.foreground=="string"&&wi(a.settings.foreground)&&(l=a.settings.foreground);let c=null;typeof a.settings.background=="string"&&wi(a.settings.background)&&(c=a.settings.background);for(let d=0,m=s.length;d<m;d++){let p=s[d].trim().split(" "),x=p[p.length-1],b=null;p.length>1&&(b=p.slice(0,p.length-1),b.reverse()),n[r++]=new pc(x,b,u,o,l,c)}}return n}var pc=class{constructor(e,t,n,r,u,i){this.scope=e,this.parentScopes=t,this.index=n,this.fontStyle=r,this.foreground=u,this.background=i}},kt=(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))(kt||{});function mc(e,t){e.sort((o,l)=>{let c=Ka(o.scope,l.scope);return c!==0||(c=Ja(o.parentScopes,l.parentScopes),c!==0)?c:o.index-l.index});let n=0,r="#000000",u="#ffffff";for(;e.length>=1&&e[0].scope==="";){let o=e.shift();o.fontStyle!==-1&&(n=o.fontStyle),o.foreground!==null&&(r=o.foreground),o.background!==null&&(u=o.background)}let i=new _c(t),a=new Qa(n,i.getId(r),i.getId(u)),s=new bc(new Cu(0,null,-1,0,0),[]);for(let o=0,l=e.length;o<l;o++){let c=e[o];s.insert(0,c.scope,c.parentScopes,c.fontStyle,i.getId(c.foreground),i.getId(c.background))}return new pr(i,a,s)}var _c=class{constructor(e){k(this,"_isFrozen");k(this,"_lastColorId");k(this,"_id2color");k(this,"_color2id");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)}},gc=Object.freeze([]),Cu=class es{constructor(t,n,r,u,i){k(this,"scopeDepth");k(this,"parentScopes");k(this,"fontStyle");k(this,"foreground");k(this,"background");this.scopeDepth=t,this.parentScopes=n||gc,this.fontStyle=r,this.foreground=u,this.background=i}clone(){return new es(this.scopeDepth,this.parentScopes,this.fontStyle,this.foreground,this.background)}static cloneArr(t){let n=[];for(let r=0,u=t.length;r<u;r++)n[r]=t[r].clone();return n}acceptOverwrite(t,n,r,u){this.scopeDepth>t?console.log("how did this happen?"):this.scopeDepth=t,n!==-1&&(this.fontStyle=n),r!==0&&(this.foreground=r),u!==0&&(this.background=u)}},bc=class wu{constructor(t,n=[],r={}){k(this,"_rulesWithParentScopes");this._mainRule=t,this._children=r,this._rulesWithParentScopes=n}static _cmpBySpecificity(t,n){if(t.scopeDepth!==n.scopeDepth)return n.scopeDepth-t.scopeDepth;let r=0,u=0;for(;t.parentScopes[r]===">"&&r++,n.parentScopes[u]===">"&&u++,!(r>=t.parentScopes.length||u>=n.parentScopes.length);){const i=n.parentScopes[u].length-t.parentScopes[r].length;if(i!==0)return i;r++,u++}return n.parentScopes.length-t.parentScopes.length}match(t){if(t!==""){let r=t.indexOf("."),u,i;if(r===-1?(u=t,i=""):(u=t.substring(0,r),i=t.substring(r+1)),this._children.hasOwnProperty(u))return this._children[u].match(i)}const n=this._rulesWithParentScopes.concat(this._mainRule);return n.sort(wu._cmpBySpecificity),n}insert(t,n,r,u,i,a){if(n===""){this._doInsertHere(t,r,u,i,a);return}let s=n.indexOf("."),o,l;s===-1?(o=n,l=""):(o=n.substring(0,s),l=n.substring(s+1));let c;this._children.hasOwnProperty(o)?c=this._children[o]:(c=new wu(this._mainRule.clone(),Cu.cloneArr(this._rulesWithParentScopes)),this._children[o]=c),c.insert(t+1,l,r,u,i,a)}_doInsertHere(t,n,r,u,i){if(n===null){this._mainRule.acceptOverwrite(t,r,u,i);return}for(let a=0,s=this._rulesWithParentScopes.length;a<s;a++){let o=this._rulesWithParentScopes[a];if(Ja(o.parentScopes,n)===0){o.acceptOverwrite(t,r,u,i);return}}r===-1&&(r=this._mainRule.fontStyle),u===0&&(u=this._mainRule.foreground),i===0&&(i=this._mainRule.background),this._rulesWithParentScopes.push(new Cu(t,n,r,u,i))}},Qt=class We{static toBinaryStr(t){return t.toString(2).padStart(32,"0")}static print(t){const n=We.getLanguageId(t),r=We.getTokenType(t),u=We.getFontStyle(t),i=We.getForeground(t),a=We.getBackground(t);console.log({languageId:n,tokenType:r,fontStyle:u,foreground:i,background:a})}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,u,i,a,s){let o=We.getLanguageId(t),l=We.getTokenType(t),c=We.containsBalancedBrackets(t)?1:0,d=We.getFontStyle(t),m=We.getForeground(t),f=We.getBackground(t);return n!==0&&(o=n),r!==8&&(l=r),u!==null&&(c=u?1:0),i!==-1&&(d=i),a!==0&&(m=a),s!==0&&(f=s),(o<<0|l<<8|c<<10|d<<11|m<<15|f<<24)>>>0}};function mr(e,t){const n=[],r=vc(e);let u=r.next();for(;u!==null;){let o=0;if(u.length===2&&u.charAt(1)===":"){switch(u.charAt(0)){case"R":o=1;break;case"L":o=-1;break;default:console.log(`Unknown priority ${u} in scope selector`)}u=r.next()}let l=a();if(n.push({matcher:l,priority:o}),u!==",")break;u=r.next()}return n;function i(){if(u==="-"){u=r.next();const o=i();return l=>!!o&&!o(l)}if(u==="("){u=r.next();const o=s();return u===")"&&(u=r.next()),o}if(Di(u)){const o=[];do o.push(u),u=r.next();while(Di(u));return l=>t(o,l)}return null}function a(){const o=[];let l=i();for(;l;)o.push(l),l=i();return c=>o.every(d=>d(c))}function s(){const o=[];let l=a();for(;l&&(o.push(l),u==="|"||u===",");){do u=r.next();while(u==="|"||u===",");l=a()}return c=>o.some(d=>d(c))}}function Di(e){return!!e&&!!e.match(/[\w\.:]+/)}function vc(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 ts(e){typeof e.dispose=="function"&&e.dispose()}var En=class{constructor(e){this.scopeName=e}toKey(){return this.scopeName}},yc=class{constructor(e,t){this.scopeName=e,this.ruleName=t}toKey(){return`${this.scopeName}#${this.ruleName}`}},xc=class{constructor(){k(this,"_references",[]);k(this,"_seenReferenceKeys",new Set);k(this,"visitedRule",new Set)}get references(){return this._references}add(e){const t=e.toKey();this._seenReferenceKeys.has(t)||(this._seenReferenceKeys.add(t),this._references.push(e))}},kc=class{constructor(e,t){k(this,"seenFullScopeRequests",new Set);k(this,"seenPartialScopeRequests",new Set);k(this,"Q");this.repo=e,this.initialScopeName=t,this.seenFullScopeRequests.add(this.initialScopeName),this.Q=[new En(this.initialScopeName)]}processQueue(){const e=this.Q;this.Q=[];const t=new xc;for(const n of e)Ec(n,this.initialScopeName,this.repo,t);for(const n of t.references)if(n instanceof En){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 Ec(e,t,n,r){const u=n.lookup(e.scopeName);if(!u){if(e.scopeName===t)throw new Error(`No grammar provided for <${t}>`);return}const i=n.lookup(t);e instanceof En?lr({baseGrammar:i,selfGrammar:u},r):Du(e.ruleName,{baseGrammar:i,selfGrammar:u,repository:u.repository},r);const a=n.injections(e.scopeName);if(a)for(const s of a)r.add(new En(s))}function Du(e,t,n){if(t.repository&&t.repository[e]){const r=t.repository[e];_r([r],t,n)}}function lr(e,t){e.selfGrammar.patterns&&Array.isArray(e.selfGrammar.patterns)&&_r(e.selfGrammar.patterns,{...e,repository:e.selfGrammar.repository},t),e.selfGrammar.injections&&_r(Object.values(e.selfGrammar.injections),{...e,repository:e.selfGrammar.repository},t)}function _r(e,t,n){for(const r of e){if(n.visitedRule.has(r))continue;n.visitedRule.add(r);const u=r.repository?Ha({},t.repository,r.repository):t.repository;Array.isArray(r.patterns)&&_r(r.patterns,{...t,repository:u},n);const i=r.include;if(!i)continue;const a=ns(i);switch(a.kind){case 0:lr({...t,selfGrammar:t.baseGrammar},n);break;case 1:lr(t,n);break;case 2:Du(a.ruleName,{...t,repository:u},n);break;case 3:case 4:const s=a.scopeName===t.selfGrammar.scopeName?t.selfGrammar:a.scopeName===t.baseGrammar.scopeName?t.baseGrammar:void 0;if(s){const o={baseGrammar:t.baseGrammar,selfGrammar:s,repository:u};a.kind===4?Du(a.ruleName,o,n):lr(o,n)}else a.kind===4?n.add(new yc(a.scopeName,a.ruleName)):n.add(new En(a.scopeName));break}}}var Ac=class{constructor(){k(this,"kind",0)}},Cc=class{constructor(){k(this,"kind",1)}},wc=class{constructor(e){k(this,"kind",2);this.ruleName=e}},Dc=class{constructor(e){k(this,"kind",3);this.scopeName=e}},Sc=class{constructor(e,t){k(this,"kind",4);this.scopeName=e,this.ruleName=t}};function ns(e){if(e==="$base")return new Ac;if(e==="$self")return new Cc;const t=e.indexOf("#");if(t===-1)return new Dc(e);if(t===0)return new wc(e.substring(1));{const n=e.substring(0,t),r=e.substring(t+1);return new Sc(n,r)}}var Tc=/\\(\d+)/,Si=/\\(\d+)/g,Rc=-1,rs=-2;var Gn=class{constructor(e,t,n,r){k(this,"$location");k(this,"id");k(this,"_nameIsCapturing");k(this,"_name");k(this,"_contentNameIsCapturing");k(this,"_contentName");this.$location=e,this.id=t,this._name=n||null,this._nameIsCapturing=tr.hasCaptures(this._name),this._contentName=r||null,this._contentNameIsCapturing=tr.hasCaptures(this._contentName)}get debugName(){const e=this.$location?`${Wa(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:tr.replaceCaptures(this._name,e,t)}getContentName(e,t){return!this._contentNameIsCapturing||this._contentName===null?this._contentName:tr.replaceCaptures(this._contentName,e,t)}},Oc=class extends Gn{constructor(t,n,r,u,i){super(t,n,r,u);k(this,"retokenizeCapturedWithRuleId");this.retokenizeCapturedWithRuleId=i}dispose(){}collectPatterns(t,n){throw new Error("Not supported!")}compile(t,n){throw new Error("Not supported!")}compileAG(t,n,r,u){throw new Error("Not supported!")}},Pc=class extends Gn{constructor(t,n,r,u,i){super(t,n,r,null);k(this,"_match");k(this,"captures");k(this,"_cachedCompiledPatterns");this._match=new An(u,this.id),this.captures=i,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}get debugMatchRegExp(){return`${this._match.source}`}collectPatterns(t,n){n.push(this._match)}compile(t,n){return this._getCachedCompiledPatterns(t).compile(t)}compileAG(t,n,r,u){return this._getCachedCompiledPatterns(t).compileAG(t,r,u)}_getCachedCompiledPatterns(t){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new Cn,this.collectPatterns(t,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}},Ti=class extends Gn{constructor(t,n,r,u,i){super(t,n,r,u);k(this,"hasMissingPatterns");k(this,"patterns");k(this,"_cachedCompiledPatterns");this.patterns=i.patterns,this.hasMissingPatterns=i.hasMissingPatterns,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}collectPatterns(t,n){for(const r of this.patterns)t.getRule(r).collectPatterns(t,n)}compile(t,n){return this._getCachedCompiledPatterns(t).compile(t)}compileAG(t,n,r,u){return this._getCachedCompiledPatterns(t).compileAG(t,r,u)}_getCachedCompiledPatterns(t){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new Cn,this.collectPatterns(t,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}},Su=class extends Gn{constructor(t,n,r,u,i,a,s,o,l,c){super(t,n,r,u);k(this,"_begin");k(this,"beginCaptures");k(this,"_end");k(this,"endHasBackReferences");k(this,"endCaptures");k(this,"applyEndPatternLast");k(this,"hasMissingPatterns");k(this,"patterns");k(this,"_cachedCompiledPatterns");this._begin=new An(i,this.id),this.beginCaptures=a,this._end=new An(s||"",-1),this.endHasBackReferences=this._end.hasBackReferences,this.endCaptures=o,this.applyEndPatternLast=l||!1,this.patterns=c.patterns,this.hasMissingPatterns=c.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(t,n){return this._end.resolveBackReferences(t,n)}collectPatterns(t,n){n.push(this._begin)}compile(t,n){return this._getCachedCompiledPatterns(t,n).compile(t)}compileAG(t,n,r,u){return this._getCachedCompiledPatterns(t,n).compileAG(t,r,u)}_getCachedCompiledPatterns(t,n){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new Cn;for(const r of this.patterns)t.getRule(r).collectPatterns(t,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,n):this._cachedCompiledPatterns.setSource(0,n)),this._cachedCompiledPatterns}},gr=class extends Gn{constructor(t,n,r,u,i,a,s,o,l){super(t,n,r,u);k(this,"_begin");k(this,"beginCaptures");k(this,"whileCaptures");k(this,"_while");k(this,"whileHasBackReferences");k(this,"hasMissingPatterns");k(this,"patterns");k(this,"_cachedCompiledPatterns");k(this,"_cachedCompiledWhilePatterns");this._begin=new An(i,this.id),this.beginCaptures=a,this.whileCaptures=o,this._while=new An(s,rs),this.whileHasBackReferences=this._while.hasBackReferences,this.patterns=l.patterns,this.hasMissingPatterns=l.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(t,n){return this._while.resolveBackReferences(t,n)}collectPatterns(t,n){n.push(this._begin)}compile(t,n){return this._getCachedCompiledPatterns(t).compile(t)}compileAG(t,n,r,u){return this._getCachedCompiledPatterns(t).compileAG(t,r,u)}_getCachedCompiledPatterns(t){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new Cn;for(const n of this.patterns)t.getRule(n).collectPatterns(t,this._cachedCompiledPatterns)}return this._cachedCompiledPatterns}compileWhile(t,n){return this._getCachedCompiledWhilePatterns(t,n).compile(t)}compileWhileAG(t,n,r,u){return this._getCachedCompiledWhilePatterns(t,n).compileAG(t,r,u)}_getCachedCompiledWhilePatterns(t,n){return this._cachedCompiledWhilePatterns||(this._cachedCompiledWhilePatterns=new Cn,this._cachedCompiledWhilePatterns.push(this._while.hasBackReferences?this._while.clone():this._while)),this._while.hasBackReferences&&this._cachedCompiledWhilePatterns.setSource(0,n||""),this._cachedCompiledWhilePatterns}},us=class Te{static createCaptureRule(t,n,r,u,i){return t.registerRule(a=>new Oc(n,a,r,u,i))}static getCompiledRuleId(t,n,r){return t.id||n.registerRule(u=>{if(t.id=u,t.match)return new Pc(t.$vscodeTextmateLocation,t.id,t.name,t.match,Te._compileCaptures(t.captures,n,r));if(typeof t.begin>"u"){t.repository&&(r=Ha({},r,t.repository));let i=t.patterns;return typeof i>"u"&&t.include&&(i=[{include:t.include}]),new Ti(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,Te._compilePatterns(i,n,r))}return t.while?new gr(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,t.begin,Te._compileCaptures(t.beginCaptures||t.captures,n,r),t.while,Te._compileCaptures(t.whileCaptures||t.captures,n,r),Te._compilePatterns(t.patterns,n,r)):new Su(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,t.begin,Te._compileCaptures(t.beginCaptures||t.captures,n,r),t.end,Te._compileCaptures(t.endCaptures||t.captures,n,r),t.applyEndPatternLast,Te._compilePatterns(t.patterns,n,r))}),t.id}static _compileCaptures(t,n,r){let u=[];if(t){let i=0;for(const a in t){if(a==="$vscodeTextmateLocation")continue;const s=parseInt(a,10);s>i&&(i=s)}for(let a=0;a<=i;a++)u[a]=null;for(const a in t){if(a==="$vscodeTextmateLocation")continue;const s=parseInt(a,10);let o=0;t[a].patterns&&(o=Te.getCompiledRuleId(t[a],n,r)),u[s]=Te.createCaptureRule(n,t[a].$vscodeTextmateLocation,t[a].name,t[a].contentName,o)}}return u}static _compilePatterns(t,n,r){let u=[];if(t)for(let i=0,a=t.length;i<a;i++){const s=t[i];let o=-1;if(s.include){const l=ns(s.include);switch(l.kind){case 0:case 1:o=Te.getCompiledRuleId(r[s.include],n,r);break;case 2:let c=r[l.ruleName];c&&(o=Te.getCompiledRuleId(c,n,r));break;case 3:case 4:const d=l.scopeName,m=l.kind===4?l.ruleName:null,f=n.getExternalGrammar(d,r);if(f)if(m){let p=f.repository[m];p&&(o=Te.getCompiledRuleId(p,n,f.repository))}else o=Te.getCompiledRuleId(f.repository.$self,n,f.repository);break}}else o=Te.getCompiledRuleId(s,n,r);if(o!==-1){const l=n.getRule(o);let c=!1;if((l instanceof Ti||l instanceof Su||l instanceof gr)&&l.hasMissingPatterns&&l.patterns.length===0&&(c=!0),c)continue;u.push(o)}}return{patterns:u,hasMissingPatterns:(t?t.length:0)!==u.length}}},An=class is{constructor(t,n){k(this,"source");k(this,"ruleId");k(this,"hasAnchor");k(this,"hasBackReferences");k(this,"_anchorCache");if(t&&typeof t=="string"){const r=t.length;let u=0,i=[],a=!1;for(let s=0;s<r;s++)if(t.charAt(s)==="\\"&&s+1<r){const l=t.charAt(s+1);l==="z"?(i.push(t.substring(u,s)),i.push("$(?!\\n)(?<!\\n)"),u=s+2):(l==="A"||l==="G")&&(a=!0),s++}this.hasAnchor=a,u===0?this.source=t:(i.push(t.substring(u,r)),this.source=i.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=Tc.test(this.source):this.hasBackReferences=!1}clone(){return new is(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(u=>t.substring(u.start,u.end));return Si.lastIndex=0,this.source.replace(Si,(u,i)=>Ya(r[parseInt(i,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=[],u=[],i,a,s,o;for(i=0,a=this.source.length;i<a;i++)s=this.source.charAt(i),t[i]=s,n[i]=s,r[i]=s,u[i]=s,s==="\\"&&i+1<a&&(o=this.source.charAt(i+1),o==="A"?(t[i+1]="",n[i+1]="",r[i+1]="A",u[i+1]="A"):o==="G"?(t[i+1]="",n[i+1]="G",r[i+1]="",u[i+1]="G"):(t[i+1]=o,n[i+1]=o,r[i+1]=o,u[i+1]=o),i++);return{A0_G0:t.join(""),A0_G1:n.join(""),A1_G0:r.join(""),A1_G1:u.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}},Cn=class{constructor(){k(this,"_items");k(this,"_hasAnchors");k(this,"_cached");k(this,"_anchorCache");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 Ri(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(u=>u.resolveAnchors(t,n));return new Ri(e,r,this._items.map(u=>u.ruleId))}},Ri=class{constructor(e,t,n){k(this,"scanner");this.regExps=t,this.rules=n,this.scanner=e.createOnigScanner(t)}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(`
|
||
`)}findNextMatchSync(e,t,n){const r=this.scanner.findNextMatchSync(e,t,n);return r?{ruleId:this.rules[r.index],captureIndices:r.captureIndices}:null}},iu=class{constructor(e,t){this.languageId=e,this.tokenType=t}},vt,Ic=(vt=class{constructor(t,n){k(this,"_defaultAttributes");k(this,"_embeddedLanguagesMatcher");k(this,"_getBasicScopeAttributes",new Xa(t=>{const n=this._scopeToLanguage(t),r=this._toStandardTokenType(t);return new iu(n,r)}));this._defaultAttributes=new iu(t,8),this._embeddedLanguagesMatcher=new Lc(Object.entries(n||{}))}getDefaultAttributes(){return this._defaultAttributes}getBasicScopeAttributes(t){return t===null?vt._NULL_SCOPE_METADATA:this._getBasicScopeAttributes.get(t)}_scopeToLanguage(t){return this._embeddedLanguagesMatcher.match(t)||0}_toStandardTokenType(t){const n=t.match(vt.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!")}},k(vt,"_NULL_SCOPE_METADATA",new iu(0,0)),k(vt,"STANDARD_TOKEN_TYPE_REGEXP",/\b(comment|string|regex|meta\.embedded)\b/),vt),Lc=class{constructor(e){k(this,"values");k(this,"scopesRegExp");if(e.length===0)this.values=null,this.scopesRegExp=null;else{this.values=new Map(e);const t=e.map(([n,r])=>Ya(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])}},Oi=class{constructor(e,t){this.stack=e,this.stoppedEarly=t}};function as(e,t,n,r,u,i,a,s){const o=t.content.length;let l=!1,c=-1;if(a){const f=Fc(e,t,n,r,u,i);u=f.stack,r=f.linePos,n=f.isFirstLine,c=f.anchorPosition}const d=Date.now();for(;!l;){if(s!==0&&Date.now()-d>s)return new Oi(u,!0);m()}return new Oi(u,!1);function m(){const f=Nc(e,t,n,r,u,c);if(!f){i.produce(u,o),l=!0;return}const p=f.captureIndices,x=f.matchedRuleId,b=p&&p.length>0?p[0].end>r:!1;if(x===Rc){const y=u.getRule(e);i.produce(u,p[0].start),u=u.withContentNameScopesList(u.nameScopesList),_n(e,t,n,u,i,y.endCaptures,p),i.produce(u,p[0].end);const v=u;if(u=u.parent,c=v.getAnchorPos(),!b&&v.getEnterPos()===r){u=v,i.produce(u,o),l=!0;return}}else{const y=e.getRule(x);i.produce(u,p[0].start);const v=u,E=y.getName(t.content,p),D=u.contentNameScopesList.pushAttributed(E,e);if(u=u.push(x,r,c,p[0].end===o,null,D,D),y instanceof Su){const A=y;_n(e,t,n,u,i,A.beginCaptures,p),i.produce(u,p[0].end),c=p[0].end;const T=A.getContentName(t.content,p),R=D.pushAttributed(T,e);if(u=u.withContentNameScopesList(R),A.endHasBackReferences&&(u=u.withEndRule(A.getEndWithResolvedBackReferences(t.content,p))),!b&&v.hasSameRuleAs(u)){u=u.pop(),i.produce(u,o),l=!0;return}}else if(y instanceof gr){const A=y;_n(e,t,n,u,i,A.beginCaptures,p),i.produce(u,p[0].end),c=p[0].end;const T=A.getContentName(t.content,p),R=D.pushAttributed(T,e);if(u=u.withContentNameScopesList(R),A.whileHasBackReferences&&(u=u.withEndRule(A.getWhileWithResolvedBackReferences(t.content,p))),!b&&v.hasSameRuleAs(u)){u=u.pop(),i.produce(u,o),l=!0;return}}else if(_n(e,t,n,u,i,y.captures,p),i.produce(u,p[0].end),u=u.pop(),!b){u=u.safePop(),i.produce(u,o),l=!0;return}}p[0].end>r&&(r=p[0].end,n=!1)}}function Fc(e,t,n,r,u,i){let a=u.beginRuleCapturedEOL?0:-1;const s=[];for(let o=u;o;o=o.pop()){const l=o.getRule(e);l instanceof gr&&s.push({rule:l,stack:o})}for(let o=s.pop();o;o=s.pop()){const{ruleScanner:l,findOptions:c}=Bc(o.rule,e,o.stack.endRule,n,r===a),d=l.findNextMatchSync(t,r,c);if(d){if(d.ruleId!==rs){u=o.stack.pop();break}d.captureIndices&&d.captureIndices.length&&(i.produce(o.stack,d.captureIndices[0].start),_n(e,t,n,o.stack,i,o.rule.whileCaptures,d.captureIndices),i.produce(o.stack,d.captureIndices[0].end),a=d.captureIndices[0].end,d.captureIndices[0].end>r&&(r=d.captureIndices[0].end,n=!1))}else{u=o.stack.pop();break}}return{stack:u,linePos:r,anchorPosition:a,isFirstLine:n}}function Nc(e,t,n,r,u,i){const a=Vc(e,t,n,r,u,i),s=e.getInjections();if(s.length===0)return a;const o=Mc(s,e,t,n,r,u,i);if(!o)return a;if(!a)return o;const l=a.captureIndices[0].start,c=o.captureIndices[0].start;return c<l||o.priorityMatch&&c===l?o:a}function Vc(e,t,n,r,u,i){const a=u.getRule(e),{ruleScanner:s,findOptions:o}=ss(a,e,u.endRule,n,r===i),l=s.findNextMatchSync(t,r,o);return l?{captureIndices:l.captureIndices,matchedRuleId:l.ruleId}:null}function Mc(e,t,n,r,u,i,a){let s=Number.MAX_VALUE,o=null,l,c=0;const d=i.contentNameScopesList.getScopeNames();for(let m=0,f=e.length;m<f;m++){const p=e[m];if(!p.matcher(d))continue;const x=t.getRule(p.ruleId),{ruleScanner:b,findOptions:y}=ss(x,t,null,r,u===a),v=b.findNextMatchSync(n,u,y);if(!v)continue;const E=v.captureIndices[0].start;if(!(E>=s)&&(s=E,o=v.captureIndices,l=v.ruleId,c=p.priority,s===u))break}return o?{priorityMatch:c===-1,captureIndices:o,matchedRuleId:l}:null}function ss(e,t,n,r,u){return{ruleScanner:e.compileAG(t,n,r,u),findOptions:0}}function Bc(e,t,n,r,u){return{ruleScanner:e.compileWhileAG(t,n,r,u),findOptions:0}}function _n(e,t,n,r,u,i,a){if(i.length===0)return;const s=t.content,o=Math.min(i.length,a.length),l=[],c=a[0].end;for(let d=0;d<o;d++){const m=i[d];if(m===null)continue;const f=a[d];if(f.length===0)continue;if(f.start>c)break;for(;l.length>0&&l[l.length-1].endPos<=f.start;)u.produceFromScopes(l[l.length-1].scopes,l[l.length-1].endPos),l.pop();if(l.length>0?u.produceFromScopes(l[l.length-1].scopes,f.start):u.produce(r,f.start),m.retokenizeCapturedWithRuleId){const x=m.getName(s,a),b=r.contentNameScopesList.pushAttributed(x,e),y=m.getContentName(s,a),v=b.pushAttributed(y,e),E=r.push(m.retokenizeCapturedWithRuleId,f.start,-1,!1,null,b,v),D=e.createOnigString(s.substring(0,f.end));as(e,D,n&&f.start===0,f.start,E,u,!1,0),ts(D);continue}const p=m.getName(s,a);if(p!==null){const b=(l.length>0?l[l.length-1].scopes:r.contentNameScopesList).pushAttributed(p,e);l.push(new jc(b,f.end))}}for(;l.length>0;)u.produceFromScopes(l[l.length-1].scopes,l[l.length-1].endPos),l.pop()}var jc=class{constructor(e,t){k(this,"scopes");k(this,"endPos");this.scopes=e,this.endPos=t}};function $c(e,t,n,r,u,i,a,s){return new Uc(e,t,n,r,u,i,a,s)}function Pi(e,t,n,r,u){const i=mr(t,br),a=us.getCompiledRuleId(n,r,u.repository);for(const s of i)e.push({debugSelector:t,matcher:s.matcher,ruleId:a,grammar:u,priority:s.priority})}function br(e,t){if(t.length<e.length)return!1;let n=0;return e.every(r=>{for(let u=n;u<t.length;u++)if(zc(t[u],r))return n=u+1,!0;return!1})}function zc(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 Uc=class{constructor(e,t,n,r,u,i,a,s){k(this,"_rootId");k(this,"_lastRuleId");k(this,"_ruleId2desc");k(this,"_includedGrammars");k(this,"_grammarRepository");k(this,"_grammar");k(this,"_injections");k(this,"_basicScopeAttributesProvider");k(this,"_tokenTypeMatchers");if(this._rootScopeName=e,this.balancedBracketSelectors=i,this._onigLib=s,this._basicScopeAttributesProvider=new Ic(n,r),this._rootId=-1,this._lastRuleId=0,this._ruleId2desc=[null],this._includedGrammars={},this._grammarRepository=a,this._grammar=Ii(t,null),this._injections=null,this._tokenTypeMatchers=[],u)for(const o of Object.keys(u)){const l=mr(o,br);for(const c of l)this._tokenTypeMatchers.push({matcher:c.matcher,type:u[o]})}}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:u=>u===this._rootScopeName?this._grammar:this.getExternalGrammar(u),injections:u=>this._grammarRepository.injections(u)},t=[],n=this._rootScopeName,r=e.lookup(n);if(r){const u=r.injections;if(u)for(let a in u)Pi(t,a,u[a],this,r);const i=this._grammarRepository.injections(n);i&&i.forEach(a=>{const s=this.getExternalGrammar(a);if(s){const o=s.injectionSelector;o&&Pi(t,o,s,this,s)}})}return t.sort((u,i)=>u.priority-i.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]=Ii(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=us.getCompiledRuleId(this._grammar.repository.$self,this,this._grammar.repository),this.getInjections());let u;if(!t||t===Tu.NULL){u=!0;const l=this._basicScopeAttributesProvider.getDefaultAttributes(),c=this.themeProvider.getDefaults(),d=Qt.set(0,l.languageId,l.tokenType,null,c.fontStyle,c.foregroundId,c.backgroundId),m=this.getRule(this._rootId).getName(null,null);let f;m?f=vn.createRootAndLookUpScopeName(m,d,this):f=vn.createRoot("unknown",d),t=new Tu(null,this._rootId,-1,-1,!1,null,f,f)}else u=!1,t.reset();e=e+`
|
||
`;const i=this.createOnigString(e),a=i.content.length,s=new Gc(n,e,this._tokenTypeMatchers,this.balancedBracketSelectors),o=as(this,i,u,0,t,s,!0,r);return ts(i),{lineLength:a,lineTokens:s,ruleStack:o.stack,stoppedEarly:o.stoppedEarly}}};function Ii(e,t){return e=oc(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 vn=class st{constructor(t,n,r){this.parent=t,this.scopePath=n,this.tokenAttributes=r}static fromExtension(t,n){let r=t,u=(t==null?void 0:t.scopePath)??null;for(const i of n)u=uu.push(u,i.scopeNames),r=new st(r,u,i.encodedTokenAttributes);return r}static createRoot(t,n){return new st(null,new uu(null,t),n)}static createRootAndLookUpScopeName(t,n,r){const u=r.getMetadataForScope(t),i=new uu(null,t),a=r.themeProvider.themeMatch(i),s=st.mergeAttributes(n,u,a);return new st(null,i,s)}get scopeName(){return this.scopePath.scopeName}toString(){return this.getScopeNames().join(" ")}equals(t){return st.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 u=-1,i=0,a=0;return r!==null&&(u=r.fontStyle,i=r.foregroundId,a=r.backgroundId),Qt.set(t,n.languageId,n.tokenType,null,u,i,a)}pushAttributed(t,n){if(t===null)return this;if(t.indexOf(" ")===-1)return st._pushAttributed(this,t,n);const r=t.split(/ /g);let u=this;for(const i of r)u=st._pushAttributed(u,i,n);return u}static _pushAttributed(t,n,r){const u=r.getMetadataForScope(n),i=t.scopePath.push(n),a=r.themeProvider.themeMatch(i),s=st.mergeAttributes(t.tokenAttributes,u,a);return new st(t,i,s)}getScopeNames(){return this.scopePath.getSegments()}getExtensionIfDefined(t){var u;const n=[];let r=this;for(;r&&r!==t;)n.push({encodedTokenAttributes:r.tokenAttributes,scopeNames:r.scopePath.getExtensionIfDefined(((u=r.parent)==null?void 0:u.scopePath)??null)}),r=r.parent;return r===t?n.reverse():void 0}},Ke,Tu=(Ke=class{constructor(t,n,r,u,i,a,s,o){k(this,"_stackElementBrand");k(this,"_enterPos");k(this,"_anchorPos");k(this,"depth");this.parent=t,this.ruleId=n,this.beginRuleCapturedEOL=i,this.endRule=a,this.nameScopesList=s,this.contentNameScopesList=o,this.depth=this.parent?this.parent.depth+1:1,this._enterPos=r,this._anchorPos=u}equals(t){return t===null?!1:Ke._equals(this,t)}static _equals(t,n){return t===n?!0:this._structuralEquals(t,n)?vn.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(){Ke._reset(this)}pop(){return this.parent}safePop(){return this.parent?this.parent:this}push(t,n,r,u,i,a,s){return new Ke(this,t,n,r,u,i,a,s)}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){var r,u;return this.parent&&(n=this.parent._writeString(t,n)),t[n++]=`(${this.ruleId}, ${(r=this.nameScopesList)==null?void 0:r.toString()}, ${(u=this.contentNameScopesList)==null?void 0:u.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 Ke(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(){var t,n,r;return{ruleId:this.ruleId,beginRuleCapturedEOL:this.beginRuleCapturedEOL,endRule:this.endRule,nameScopesList:((n=this.nameScopesList)==null?void 0:n.getExtensionIfDefined(((t=this.parent)==null?void 0:t.nameScopesList)??null))??[],contentNameScopesList:((r=this.contentNameScopesList)==null?void 0:r.getExtensionIfDefined(this.nameScopesList))??[]}}static pushFrame(t,n){const r=vn.fromExtension((t==null?void 0:t.nameScopesList)??null,n.nameScopesList);return new Ke(t,n.ruleId,n.enterPos??-1,n.anchorPos??-1,n.beginRuleCapturedEOL,n.endRule,r,vn.fromExtension(r,n.contentNameScopesList))}},k(Ke,"NULL",new Ke(null,0,0,0,!1,null,null,null)),Ke),qc=class{constructor(e,t){k(this,"balancedBracketScopes");k(this,"unbalancedBracketScopes");k(this,"allowAny",!1);this.balancedBracketScopes=e.flatMap(n=>n==="*"?(this.allowAny=!0,[]):mr(n,br).map(r=>r.matcher)),this.unbalancedBracketScopes=t.flatMap(n=>mr(n,br).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}},Gc=class{constructor(e,t,n,r){k(this,"_emitBinaryTokens");k(this,"_lineText");k(this,"_tokens");k(this,"_binaryTokens");k(this,"_lastTokenEndIndex");k(this,"_tokenTypeOverrides");this.balancedBracketSelectors=r,this._emitBinaryTokens=e,this._tokenTypeOverrides=n,this._lineText=null,this._tokens=[],this._binaryTokens=[],this._lastTokenEndIndex=0}produce(e,t){this.produceFromScopes(e.contentNameScopesList,t)}produceFromScopes(e,t){var r;if(this._lastTokenEndIndex>=t)return;if(this._emitBinaryTokens){let u=(e==null?void 0:e.tokenAttributes)??0,i=!1;if((r=this.balancedBracketSelectors)!=null&&r.matchesAlways&&(i=!0),this._tokenTypeOverrides.length>0||this.balancedBracketSelectors&&!this.balancedBracketSelectors.matchesAlways&&!this.balancedBracketSelectors.matchesNever){const a=(e==null?void 0:e.getScopeNames())??[];for(const s of this._tokenTypeOverrides)s.matcher(a)&&(u=Qt.set(u,0,s.type,null,-1,0,0));this.balancedBracketSelectors&&(i=this.balancedBracketSelectors.match(a))}if(i&&(u=Qt.set(u,0,8,i,-1,0,0)),this._binaryTokens.length>0&&this._binaryTokens[this._binaryTokens.length-1]===u){this._lastTokenEndIndex=t;return}this._binaryTokens.push(this._lastTokenEndIndex),this._binaryTokens.push(u),this._lastTokenEndIndex=t;return}const n=(e==null?void 0: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,u=this._binaryTokens.length;r<u;r++)n[r]=this._binaryTokens[r];return n}},Zc=class{constructor(e,t){k(this,"_grammars",new Map);k(this,"_rawGrammars",new Map);k(this,"_injectionGrammars",new Map);k(this,"_theme");this._onigLib=t,this._theme=e}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,u){if(!this._grammars.has(e)){let i=this._rawGrammars.get(e);if(!i)return null;this._grammars.set(e,$c(e,i,t,n,r,u,this,this._onigLib))}return this._grammars.get(e)}},Hc=class{constructor(t){k(this,"_options");k(this,"_syncRegistry");k(this,"_ensureGrammarCache");this._options=t,this._syncRegistry=new Zc(pr.createFromRawTheme(t.theme,t.colorMap),t.onigLib),this._ensureGrammarCache=new Map}dispose(){this._syncRegistry.dispose()}setTheme(t,n){this._syncRegistry.setTheme(pr.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 qc(r.balancedBracketSelectors||[],r.unbalancedBracketSelectors||[]))}loadGrammar(t){return this._loadGrammar(t,0,null,null,null)}_loadGrammar(t,n,r,u,i){const a=new kc(this._syncRegistry,t);for(;a.Q.length>0;)a.Q.map(s=>this._loadSingleGrammar(s.scopeName)),a.processQueue();return this._grammarForScopeName(t,n,r,u,i)}_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,u=null){return this._syncRegistry.addGrammar(t,n),this._grammarForScopeName(t.scopeName,r,u)}_grammarForScopeName(t,n=0,r=null,u=null,i=null){return this._syncRegistry.grammarForScopeName(t,n,r,u,i)}},Ru=Tu.NULL;const Wc=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"];class Zn{constructor(t,n,r){this.normal=n,this.property=t,r&&(this.space=r)}}Zn.prototype.normal={};Zn.prototype.property={};Zn.prototype.space=void 0;function os(e,t){const n={},r={};for(const u of e)Object.assign(n,u.property),Object.assign(r,u.normal);return new Zn(n,r,t)}function Ou(e){return e.toLowerCase()}class Me{constructor(t,n){this.attribute=n,this.property=t}}Me.prototype.attribute="";Me.prototype.booleanish=!1;Me.prototype.boolean=!1;Me.prototype.commaOrSpaceSeparated=!1;Me.prototype.commaSeparated=!1;Me.prototype.defined=!1;Me.prototype.mustUseProperty=!1;Me.prototype.number=!1;Me.prototype.overloadedBoolean=!1;Me.prototype.property="";Me.prototype.spaceSeparated=!1;Me.prototype.space=void 0;let Kc=0;const G=Ut(),ge=Ut(),ls=Ut(),S=Ut(),se=Ut(),Kt=Ut(),Be=Ut();function Ut(){return 2**++Kc}const Pu=Object.freeze(Object.defineProperty({__proto__:null,boolean:G,booleanish:ge,commaOrSpaceSeparated:Be,commaSeparated:Kt,number:S,overloadedBoolean:ls,spaceSeparated:se},Symbol.toStringTag,{value:"Module"})),au=Object.keys(Pu);class Hu extends Me{constructor(t,n,r,u){let i=-1;if(super(t,n),Li(this,"space",u),typeof r=="number")for(;++i<au.length;){const a=au[i];Li(this,au[i],(r&Pu[a])===Pu[a])}}}Hu.prototype.defined=!0;function Li(e,t,n){n&&(e[t]=n)}function sn(e){const t={},n={};for(const[r,u]of Object.entries(e.properties)){const i=new Hu(r,e.transform(e.attributes||{},r),u,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(i.mustUseProperty=!0),t[r]=i,n[Ou(r)]=r,n[Ou(i.attribute)]=r}return new Zn(t,n,e.space)}const cs=sn({properties:{ariaActiveDescendant:null,ariaAtomic:ge,ariaAutoComplete:null,ariaBusy:ge,ariaChecked:ge,ariaColCount:S,ariaColIndex:S,ariaColSpan:S,ariaControls:se,ariaCurrent:null,ariaDescribedBy:se,ariaDetails:null,ariaDisabled:ge,ariaDropEffect:se,ariaErrorMessage:null,ariaExpanded:ge,ariaFlowTo:se,ariaGrabbed:ge,ariaHasPopup:null,ariaHidden:ge,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:se,ariaLevel:S,ariaLive:null,ariaModal:ge,ariaMultiLine:ge,ariaMultiSelectable:ge,ariaOrientation:null,ariaOwns:se,ariaPlaceholder:null,ariaPosInSet:S,ariaPressed:ge,ariaReadOnly:ge,ariaRelevant:null,ariaRequired:ge,ariaRoleDescription:se,ariaRowCount:S,ariaRowIndex:S,ariaRowSpan:S,ariaSelected:ge,ariaSetSize:S,ariaSort:null,ariaValueMax:S,ariaValueMin:S,ariaValueNow:S,ariaValueText:null,role:null},transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()}});function ds(e,t){return t in e?e[t]:t}function fs(e,t){return ds(e,t.toLowerCase())}const Jc=sn({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:Kt,acceptCharset:se,accessKey:se,action:null,allow:null,allowFullScreen:G,allowPaymentRequest:G,allowUserMedia:G,alt:null,as:null,async:G,autoCapitalize:null,autoComplete:se,autoFocus:G,autoPlay:G,blocking:se,capture:null,charSet:null,checked:G,cite:null,className:se,cols:S,colSpan:null,content:null,contentEditable:ge,controls:G,controlsList:se,coords:S|Kt,crossOrigin:null,data:null,dateTime:null,decoding:null,default:G,defer:G,dir:null,dirName:null,disabled:G,download:ls,draggable:ge,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:G,formTarget:null,headers:se,height:S,hidden:G,high:S,href:null,hrefLang:null,htmlFor:se,httpEquiv:se,id:null,imageSizes:null,imageSrcSet:null,inert:G,inputMode:null,integrity:null,is:null,isMap:G,itemId:null,itemProp:se,itemRef:se,itemScope:G,itemType:se,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:G,low:S,manifest:null,max:null,maxLength:S,media:null,method:null,min:null,minLength:S,multiple:G,muted:G,name:null,nonce:null,noModule:G,noValidate:G,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:G,optimum:S,pattern:null,ping:se,placeholder:null,playsInline:G,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:G,referrerPolicy:null,rel:se,required:G,reversed:G,rows:S,rowSpan:S,sandbox:se,scope:null,scoped:G,seamless:G,selected:G,shadowRootClonable:G,shadowRootDelegatesFocus:G,shadowRootMode:null,shape:null,size:S,sizes:null,slot:null,span:S,spellCheck:ge,src:null,srcDoc:null,srcLang:null,srcSet:null,start:S,step:null,style:null,tabIndex:S,target:null,title:null,translate:null,type:null,typeMustMatch:G,useMap:null,value:ge,width:S,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:se,axis:null,background:null,bgColor:null,border:S,borderColor:null,bottomMargin:S,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:G,declare:G,event:null,face:null,frame:null,frameBorder:null,hSpace:S,leftMargin:S,link:null,longDesc:null,lowSrc:null,marginHeight:S,marginWidth:S,noResize:G,noHref:G,noShade:G,noWrap:G,object:null,profile:null,prompt:null,rev:null,rightMargin:S,rules:null,scheme:null,scrolling:ge,standby:null,summary:null,text:null,topMargin:S,valueType:null,version:null,vAlign:null,vLink:null,vSpace:S,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:G,disableRemotePlayback:G,prefix:null,property:null,results:S,security:null,unselectable:null},space:"html",transform:fs}),Yc=sn({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:Be,accentHeight:S,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:S,amplitude:S,arabicForm:null,ascent:S,attributeName:null,attributeType:null,azimuth:S,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:S,by:null,calcMode:null,capHeight:S,className:se,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:S,diffuseConstant:S,direction:null,display:null,dur:null,divisor:S,dominantBaseline:null,download:G,dx:null,dy:null,edgeMode:null,editable:null,elevation:S,enableBackground:null,end:null,event:null,exponent:S,externalResourcesRequired:null,fill:null,fillOpacity:S,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:Kt,g2:Kt,glyphName:Kt,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:S,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:S,horizOriginX:S,horizOriginY:S,id:null,ideographic:S,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:S,k:S,k1:S,k2:S,k3:S,k4:S,kernelMatrix:Be,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:S,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:S,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:S,overlineThickness:S,paintOrder:null,panose1:null,path:null,pathLength:S,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:se,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:S,pointsAtY:S,pointsAtZ:S,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:Be,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:Be,rev:Be,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:Be,requiredFeatures:Be,requiredFonts:Be,requiredFormats:Be,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:S,specularExponent:S,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:S,strikethroughThickness:S,string:null,stroke:null,strokeDashArray:Be,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:S,strokeOpacity:S,strokeWidth:null,style:null,surfaceScale:S,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:Be,tabIndex:S,tableValues:null,target:null,targetX:S,targetY:S,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:Be,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:S,underlineThickness:S,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:S,values:null,vAlphabetic:S,vMathematical:S,vectorEffect:null,vHanging:S,vIdeographic:S,version:null,vertAdvY:S,vertOriginX:S,vertOriginY:S,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:S,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:ds}),hs=sn({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform(e,t){return"xlink:"+t.slice(5).toLowerCase()}}),ps=sn({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:fs}),ms=sn({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()}}),Xc=/[A-Z]/g,Fi=/-[a-z]/g,Qc=/^data[-\w.:]+$/i;function ed(e,t){const n=Ou(t);let r=t,u=Me;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)==="data"&&Qc.test(t)){if(t.charAt(4)==="-"){const i=t.slice(5).replace(Fi,nd);r="data"+i.charAt(0).toUpperCase()+i.slice(1)}else{const i=t.slice(4);if(!Fi.test(i)){let a=i.replace(Xc,td);a.charAt(0)!=="-"&&(a="-"+a),t="data"+a}}u=Hu}return new u(r,t)}function td(e){return"-"+e.toLowerCase()}function nd(e){return e.charAt(1).toUpperCase()}const rd=os([cs,Jc,hs,ps,ms],"html"),_s=os([cs,Yc,hs,ps,ms],"svg"),Ni={}.hasOwnProperty;function ud(e,t){const n=t||{};function r(u,...i){let a=r.invalid;const s=r.handlers;if(u&&Ni.call(u,e)){const o=String(u[e]);a=Ni.call(s,o)?s[o]:r.unknown}if(a)return a.call(this,u,...i)}return r.handlers=n.handlers||{},r.invalid=n.invalid,r.unknown=n.unknown,r}const id=/["&'<>`]/g,ad=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,sd=/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,od=/[|\\{}()[\]^$+*?.]/g,Vi=new WeakMap;function ld(e,t){if(e=e.replace(t.subset?cd(t.subset):id,r),t.subset||t.escapeOnly)return e;return e.replace(ad,n).replace(sd,r);function n(u,i,a){return t.format((u.charCodeAt(0)-55296)*1024+u.charCodeAt(1)-56320+65536,a.charCodeAt(i+2),t)}function r(u,i,a){return t.format(u.charCodeAt(0),a.charCodeAt(i+1),t)}}function cd(e){let t=Vi.get(e);return t||(t=dd(e),Vi.set(e,t)),t}function dd(e){const t=[];let n=-1;for(;++n<e.length;)t.push(e[n].replace(od,"\\$&"));return new RegExp("(?:"+t.join("|")+")","g")}const fd=/[\dA-Fa-f]/;function hd(e,t,n){const r="&#x"+e.toString(16).toUpperCase();return n&&t&&!fd.test(String.fromCharCode(t))?r:r+";"}const pd=/\d/;function md(e,t,n){const r="&#"+String(e);return n&&t&&!pd.test(String.fromCharCode(t))?r:r+";"}const _d=["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"],su={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:"⊄",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:"€"},gd=["cent","copy","divide","gt","lt","not","para","times"],gs={}.hasOwnProperty,Iu={};let nr;for(nr in su)gs.call(su,nr)&&(Iu[su[nr]]=nr);const bd=/[^\dA-Za-z]/;function vd(e,t,n,r){const u=String.fromCharCode(e);if(gs.call(Iu,u)){const i=Iu[u],a="&"+i;return n&&_d.includes(i)&&!gd.includes(i)&&(!r||t&&t!==61&&bd.test(String.fromCharCode(t)))?a:a+";"}return""}function yd(e,t,n){let r=hd(e,t,n.omitOptionalSemicolons),u;if((n.useNamedReferences||n.useShortestReferences)&&(u=vd(e,t,n.omitOptionalSemicolons,n.attribute)),(n.useShortestReferences||!u)&&n.useShortestReferences){const i=md(e,t,n.omitOptionalSemicolons);i.length<r.length&&(r=i)}return u&&(!n.useShortestReferences||u.length<r.length)?u:r}function Jt(e,t){return ld(e,Object.assign({format:yd},t))}const xd=/^>|^->|<!--|-->|--!>|<!-$/g,kd=[">"],Ed=["<",">"];function Ad(e,t,n,r){return r.settings.bogusComments?"<?"+Jt(e.value,Object.assign({},r.settings.characterReferences,{subset:kd}))+">":"<!--"+e.value.replace(xd,u)+"-->";function u(i){return Jt(i,Object.assign({},r.settings.characterReferences,{subset:Ed}))}}function Cd(e,t,n,r){return"<!"+(r.settings.upperDoctype?"DOCTYPE":"doctype")+(r.settings.tightDoctype?"":" ")+"html>"}function Mi(e,t){const n=String(e);if(typeof t!="string")throw new TypeError("Expected character");let r=0,u=n.indexOf(t);for(;u!==-1;)r++,u=n.indexOf(t,u+t.length);return r}function wd(e,t){const n=t||{};return(e[e.length-1]===""?[...e,""]:e).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}function Dd(e){return e.join(" ").trim()}const Sd=/[ \t\n\f\r]/g;function Wu(e){return typeof e=="object"?e.type==="text"?Bi(e.value):!1:Bi(e)}function Bi(e){return e.replace(Sd,"")===""}const ye=vs(1),bs=vs(-1),Td=[];function vs(e){return t;function t(n,r,u){const i=n?n.children:Td;let a=(r||0)+e,s=i[a];if(!u)for(;s&&Wu(s);)a+=e,s=i[a];return s}}const Rd={}.hasOwnProperty;function ys(e){return t;function t(n,r,u){return Rd.call(e,n.tagName)&&e[n.tagName](n,r,u)}}const Ku=ys({body:Pd,caption:ou,colgroup:ou,dd:Nd,dt:Fd,head:ou,html:Od,li:Ld,optgroup:Vd,option:Md,p:Id,rp:ji,rt:ji,tbody:jd,td:$i,tfoot:$d,th:$i,thead:Bd,tr:zd});function ou(e,t,n){const r=ye(n,t,!0);return!r||r.type!=="comment"&&!(r.type==="text"&&Wu(r.value.charAt(0)))}function Od(e,t,n){const r=ye(n,t);return!r||r.type!=="comment"}function Pd(e,t,n){const r=ye(n,t);return!r||r.type!=="comment"}function Id(e,t,n){const r=ye(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 Ld(e,t,n){const r=ye(n,t);return!r||r.type==="element"&&r.tagName==="li"}function Fd(e,t,n){const r=ye(n,t);return!!(r&&r.type==="element"&&(r.tagName==="dt"||r.tagName==="dd"))}function Nd(e,t,n){const r=ye(n,t);return!r||r.type==="element"&&(r.tagName==="dt"||r.tagName==="dd")}function ji(e,t,n){const r=ye(n,t);return!r||r.type==="element"&&(r.tagName==="rp"||r.tagName==="rt")}function Vd(e,t,n){const r=ye(n,t);return!r||r.type==="element"&&r.tagName==="optgroup"}function Md(e,t,n){const r=ye(n,t);return!r||r.type==="element"&&(r.tagName==="option"||r.tagName==="optgroup")}function Bd(e,t,n){const r=ye(n,t);return!!(r&&r.type==="element"&&(r.tagName==="tbody"||r.tagName==="tfoot"))}function jd(e,t,n){const r=ye(n,t);return!r||r.type==="element"&&(r.tagName==="tbody"||r.tagName==="tfoot")}function $d(e,t,n){return!ye(n,t)}function zd(e,t,n){const r=ye(n,t);return!r||r.type==="element"&&r.tagName==="tr"}function $i(e,t,n){const r=ye(n,t);return!r||r.type==="element"&&(r.tagName==="td"||r.tagName==="th")}const Ud=ys({body:Zd,colgroup:Hd,head:Gd,html:qd,tbody:Wd});function qd(e){const t=ye(e,-1);return!t||t.type!=="comment"}function Gd(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 Zd(e){const t=ye(e,-1,!0);return!t||t.type!=="comment"&&!(t.type==="text"&&Wu(t.value.charAt(0)))&&!(t.type==="element"&&(t.tagName==="meta"||t.tagName==="link"||t.tagName==="script"||t.tagName==="style"||t.tagName==="template"))}function Hd(e,t,n){const r=bs(n,t),u=ye(e,-1,!0);return n&&r&&r.type==="element"&&r.tagName==="colgroup"&&Ku(r,n.children.indexOf(r),n)?!1:!!(u&&u.type==="element"&&u.tagName==="col")}function Wd(e,t,n){const r=bs(n,t),u=ye(e,-1);return n&&r&&r.type==="element"&&(r.tagName==="thead"||r.tagName==="tbody")&&Ku(r,n.children.indexOf(r),n)?!1:!!(u&&u.type==="element"&&u.tagName==="tr")}const rr={name:[[`
|
||
\f\r &/=>`.split(""),`
|
||
\f\r "&'/=>\``.split("")],[`\0
|
||
\f\r "&'/<=>`.split(""),`\0
|
||
\f\r "&'/<=>\``.split("")]],unquoted:[[`
|
||
\f\r &>`.split(""),`\0
|
||
\f\r "&'<=>\``.split("")],[`\0
|
||
\f\r "&'<=>\``.split(""),`\0
|
||
\f\r "&'<=>\``.split("")]],single:[["&'".split(""),"\"&'`".split("")],["\0&'".split(""),"\0\"&'`".split("")]],double:[['"&'.split(""),"\"&'`".split("")],['\0"&'.split(""),"\0\"&'`".split("")]]};function Kd(e,t,n,r){const u=r.schema,i=u.space==="svg"?!1:r.settings.omitOptionalTags;let a=u.space==="svg"?r.settings.closeEmptyElements:r.settings.voids.includes(e.tagName.toLowerCase());const s=[];let o;u.space==="html"&&e.tagName==="svg"&&(r.schema=_s);const l=Jd(r,e.properties),c=r.all(u.space==="html"&&e.tagName==="template"?e.content:e);return r.schema=u,c&&(a=!1),(l||!i||!Ud(e,t,n))&&(s.push("<",e.tagName,l?" "+l:""),a&&(u.space==="svg"||r.settings.closeSelfClosing)&&(o=l.charAt(l.length-1),(!r.settings.tightSelfClosing||o==="/"||o&&o!=='"'&&o!=="'")&&s.push(" "),s.push("/")),s.push(">")),s.push(c),!a&&(!i||!Ku(e,t,n))&&s.push("</"+e.tagName+">"),s.join("")}function Jd(e,t){const n=[];let r=-1,u;if(t){for(u in t)if(t[u]!==null&&t[u]!==void 0){const i=Yd(e,u,t[u]);i&&n.push(i)}}for(;++r<n.length;){const i=e.settings.tightAttributes?n[r].charAt(n[r].length-1):void 0;r!==n.length-1&&i!=='"'&&i!=="'"&&(n[r]+=" ")}return n.join("")}function Yd(e,t,n){const r=ed(e.schema,t),u=e.settings.allowParseErrors&&e.schema.space==="html"?0:1,i=e.settings.allowDangerousCharacters?0:1;let a=e.quote,s;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 o=Jt(r.attribute,Object.assign({},e.settings.characterReferences,{subset:rr.name[u][i]}));return n===!0||(n=Array.isArray(n)?(r.commaSeparated?wd:Dd)(n,{padLeft:!e.settings.tightCommaSeparatedLists}):String(n),e.settings.collapseEmptyAttributes&&!n)?o:(e.settings.preferUnquoted&&(s=Jt(n,Object.assign({},e.settings.characterReferences,{attribute:!0,subset:rr.unquoted[u][i]}))),s!==n&&(e.settings.quoteSmart&&Mi(n,a)>Mi(n,e.alternative)&&(a=e.alternative),s=a+Jt(n,Object.assign({},e.settings.characterReferences,{subset:(a==="'"?rr.single:rr.double)[u][i],attribute:!0}))+a),o+(s&&"="+s))}const Xd=["<","&"];function xs(e,t,n,r){return n&&n.type==="element"&&(n.tagName==="script"||n.tagName==="style")?e.value:Jt(e.value,Object.assign({},r.settings.characterReferences,{subset:Xd}))}function Qd(e,t,n,r){return r.settings.allowDangerousHtml?e.value:xs(e,t,n,r)}function e0(e,t,n,r){return r.all(e)}const t0=ud("type",{invalid:n0,unknown:r0,handlers:{comment:Ad,doctype:Cd,element:Kd,raw:Qd,root:e0,text:xs}});function n0(e){throw new Error("Expected node, not `"+e+"`")}function r0(e){const t=e;throw new Error("Cannot compile unknown node `"+t.type+"`")}const u0={},i0={},a0=[];function s0(e,t){const n=u0,r=n.quote||'"',u=r==='"'?"'":'"';if(r!=='"'&&r!=="'")throw new Error("Invalid quote `"+r+"`, expected `'` or `\"`");return{one:o0,all:l0,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||Wc,characterReferences:n.characterReferences||i0,closeSelfClosing:n.closeSelfClosing||!1,closeEmptyElements:n.closeEmptyElements||!1},schema:n.space==="svg"?_s:rd,quote:r,alternative:u}.one(Array.isArray(e)?{type:"root",children:e}:e,void 0,void 0)}function o0(e,t,n){return t0(e,t,n,this)}function l0(e){const t=[],n=e&&e.children||a0;let r=-1;for(;++r<n.length;)t[r]=this.one(n[r],r,e);return t.join("")}function vr(e,t){const n=typeof e=="string"?{}:{...e.colorReplacements},r=typeof e=="string"?e:e.name;for(const[u,i]of Object.entries((t==null?void 0:t.colorReplacements)||{}))typeof i=="string"?n[u]=i:u===r&&Object.assign(n,i);return n}function Nt(e,t){return e&&((t==null?void 0:t[e==null?void 0:e.toLowerCase()])||e)}function c0(e){return Array.isArray(e)?e:[e]}async function ks(e){return Promise.resolve(typeof e=="function"?e():e).then(t=>t.default||t)}function Ju(e){return!e||["plaintext","txt","text","plain"].includes(e)}function Yu(e){return e==="ansi"||Ju(e)}function Xu(e){return e==="none"}function Es(e){return Xu(e)}function As(e,t){var r;if(!t)return e;e.properties||(e.properties={}),(r=e.properties).class||(r.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 u of n)u&&!e.properties.class.includes(u)&&e.properties.class.push(u);return e}function Vr(e,t=!1){var i;const n=e.split(/(\r?\n)/g);let r=0;const u=[];for(let a=0;a<n.length;a+=2){const s=t?n[a]+(n[a+1]||""):n[a];u.push([s,r]),r+=n[a].length,r+=((i=n[a+1])==null?void 0:i.length)||0}return u}function d0(e){const t=Vr(e,!0).map(([u])=>u);function n(u){if(u===e.length)return{line:t.length-1,character:t[t.length-1].length};let i=u,a=0;for(const s of t){if(i<s.length)break;i-=s.length,a++}return{line:a,character:i}}function r(u,i){let a=0;for(let s=0;s<u;s++)a+=t[s].length;return a+=i,a}return{lines:t,indexToPos:n,posToIndex:r}}function f0(e,t,n){const r=new Set;for(const i of e.matchAll(/lang=["']([\w-]+)["']/g))r.add(i[1]);for(const i of e.matchAll(/(?:```|~~~)([\w-]+)/g))r.add(i[1]);for(const i of e.matchAll(/\\begin\{([\w-]+)\}/g))r.add(i[1]);if(!n)return Array.from(r);const u=n.getBundledLanguages();return Array.from(r).filter(i=>i&&u[i])}function h0(e,t){let n=0;const r=[];for(const u of t)u>n&&r.push({...e,content:e.content.slice(n,u),offset:e.offset+n}),n=u;return n<e.content.length&&r.push({...e,content:e.content.slice(n),offset:e.offset+n}),r}function p0(e,t){const n=Array.from(t instanceof Set?t:new Set(t)).sort((r,u)=>r-u);return n.length?e.map(r=>r.flatMap(u=>{const i=n.filter(a=>u.offset<a&&a<u.offset+u.content.length).map(a=>a-u.offset).sort((a,s)=>a-s);return i.length?h0(u,i):u})):e}function m0(e,t,n,r){const u={content:e.content,explanation:e.explanation,offset:e.offset},i=t.map(o=>Cs(e.variants[o])),a=new Set(i.flatMap(o=>Object.keys(o))),s={};return i.forEach((o,l)=>{for(const c of a){const d=o[c]||"inherit";if(l===0&&r)s[c]=d;else{const m=c==="color"?"":c==="background-color"?"-bg":`-${c}`,f=n+t[l]+(c==="color"?"":m);s[f]=d}}}),u.htmlStyle=s,u}function Cs(e){const t={};return e.color&&(t.color=e.color),e.bgColor&&(t["background-color"]=e.bgColor),e.fontStyle&&(e.fontStyle&kt.Italic&&(t["font-style"]="italic"),e.fontStyle&kt.Bold&&(t["font-weight"]="bold"),e.fontStyle&kt.Underline&&(t["text-decoration"]="underline")),t}function _0(e){return typeof e=="string"?e:Object.entries(e).map(([t,n])=>`${t}:${n}`).join(";")}const ws=new WeakMap;function Mr(e,t){ws.set(e,t)}function wn(e){return ws.get(e)}class on{constructor(...t){k(this,"_stacks",{});k(this,"lang");if(t.length===2){const[n,r]=t;this.lang=r,this._stacks=n}else{const[n,r,u]=t;this.lang=r,this._stacks={[u]:n}}}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 on(Object.fromEntries(c0(n).map(r=>[r,Ru])),t)}getInternalStack(t=this.theme){return this._stacks[t]}get scopes(){return kn("GrammarState.scopes is deprecated, use GrammarState.getScopes() instead"),zi(this._stacks[this.theme])}getScopes(t=this.theme){return zi(this._stacks[t])}toJSON(){return{lang:this.lang,theme:this.theme,themes:this.themes,scopes:this.getScopes()}}}function zi(e){const t=[],n=new Set;function r(u){var a;if(n.has(u))return;n.add(u);const i=(a=u==null?void 0:u.nameScopesList)==null?void 0:a.scopeName;i&&t.push(i),u.parent&&r(u.parent)}return r(e),t}function g0(e,t){if(!(e instanceof on))throw new Ae("Invalid grammar state");return e.getInternalStack(t)}function b0(){const e=new WeakMap;function t(n){if(!e.has(n.meta)){let r=function(a){if(typeof a=="number"){if(a<0||a>n.source.length)throw new Ae(`Invalid decoration offset: ${a}. Code length: ${n.source.length}`);return{...u.indexToPos(a),offset:a}}else{const s=u.lines[a.line];if(s===void 0)throw new Ae(`Invalid decoration position ${JSON.stringify(a)}. Lines length: ${u.lines.length}`);if(a.character<0||a.character>s.length)throw new Ae(`Invalid decoration position ${JSON.stringify(a)}. Line ${a.line} length: ${s.length}`);return{...a,offset:u.posToIndex(a.line,a.character)}}};const u=d0(n.source),i=(n.options.decorations||[]).map(a=>({...a,start:r(a.start),end:r(a.end)}));v0(i),e.set(n.meta,{decorations:i,converter:u,source:n.source})}return e.get(n.meta)}return{name:"shiki:decorations",tokens(n){var a;if(!((a=this.options.decorations)!=null&&a.length))return;const u=t(this).decorations.flatMap(s=>[s.start.offset,s.end.offset]);return p0(n,u)},code(n){var c;if(!((c=this.options.decorations)!=null&&c.length))return;const r=t(this),u=Array.from(n.children).filter(d=>d.type==="element"&&d.tagName==="span");if(u.length!==r.converter.lines.length)throw new Ae(`Number of lines in code element (${u.length}) does not match the number of lines in the source (${r.converter.lines.length}). Failed to apply decorations.`);function i(d,m,f,p){const x=u[d];let b="",y=-1,v=-1;if(m===0&&(y=0),f===0&&(v=0),f===Number.POSITIVE_INFINITY&&(v=x.children.length),y===-1||v===-1)for(let D=0;D<x.children.length;D++)b+=Ds(x.children[D]),y===-1&&b.length===m&&(y=D+1),v===-1&&b.length===f&&(v=D+1);if(y===-1)throw new Ae(`Failed to find start index for decoration ${JSON.stringify(p.start)}`);if(v===-1)throw new Ae(`Failed to find end index for decoration ${JSON.stringify(p.end)}`);const E=x.children.slice(y,v);if(!p.alwaysWrap&&E.length===x.children.length)s(x,p,"line");else if(!p.alwaysWrap&&E.length===1&&E[0].type==="element")s(E[0],p,"token");else{const D={type:"element",tagName:"span",properties:{},children:E};s(D,p,"wrapper"),x.children.splice(y,E.length,D)}}function a(d,m){u[d]=s(u[d],m,"line")}function s(d,m,f){var b;const p=m.properties||{},x=m.transform||(y=>y);return d.tagName=m.tagName||"span",d.properties={...d.properties,...p,class:d.properties.class},(b=m.properties)!=null&&b.class&&As(d,m.properties.class),d=x(d,f)||d,d}const o=[],l=r.decorations.sort((d,m)=>m.start.offset-d.start.offset||d.end.offset-m.end.offset);for(const d of l){const{start:m,end:f}=d;if(m.line===f.line)i(m.line,m.character,f.character,d);else if(m.line<f.line){i(m.line,m.character,Number.POSITIVE_INFINITY,d);for(let p=m.line+1;p<f.line;p++)o.unshift(()=>a(p,d));i(f.line,0,f.character,d)}}o.forEach(d=>d())}}}function v0(e){for(let t=0;t<e.length;t++){const n=e[t];if(n.start.offset>n.end.offset)throw new Ae(`Invalid decoration range: ${JSON.stringify(n.start)} - ${JSON.stringify(n.end)}`);for(let r=t+1;r<e.length;r++){const u=e[r],i=n.start.offset<=u.start.offset&&u.start.offset<n.end.offset,a=n.start.offset<u.end.offset&&u.end.offset<=n.end.offset,s=u.start.offset<=n.start.offset&&n.start.offset<u.end.offset,o=u.start.offset<n.end.offset&&n.end.offset<=u.end.offset;if(i||a||s||o){if(i&&a||s&&o)continue;throw new Ae(`Decorations ${JSON.stringify(n.start)} and ${JSON.stringify(u.start)} intersect.`)}}}}function Ds(e){return e.type==="text"?e.value:e.type==="element"?e.children.map(Ds).join(""):""}const y0=[b0()];function yr(e){return[...e.transformers||[],...y0]}var Vt=["black","red","green","yellow","blue","magenta","cyan","white","brightBlack","brightRed","brightGreen","brightYellow","brightBlue","brightMagenta","brightCyan","brightWhite"],lu={1:"bold",2:"dim",3:"italic",4:"underline",7:"reverse",8:"hidden",9:"strikethrough"};function x0(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 Ui(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 k0(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)lu[r]&&t.push({type:"setDecoration",value:lu[r]});else if(r<=29){const u=lu[r-20];u&&(t.push({type:"resetDecoration",value:u}),u==="dim"&&t.push({type:"resetDecoration",value:"bold"}))}else if(r<=37)t.push({type:"setForegroundColor",value:{type:"named",name:Vt[r-30]}});else if(r===38){const u=Ui(e);u&&t.push({type:"setForegroundColor",value:u})}else if(r===39)t.push({type:"resetForegroundColor"});else if(r<=47)t.push({type:"setBackgroundColor",value:{type:"named",name:Vt[r-40]}});else if(r===48){const u=Ui(e);u&&t.push({type:"setBackgroundColor",value:u})}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:Vt[r-90+8]}}):r>=100&&r<=107&&t.push({type:"setBackgroundColor",value:{type:"named",name:Vt[r-100+8]}})}return t}function E0(){let e=null,t=null,n=new Set;return{parse(r){const u=[];let i=0;do{const a=x0(r,i),s=a.sequence?r.substring(i,a.startPosition):r.substring(i);if(s.length>0&&u.push({value:s,foreground:e,background:t,decorations:new Set(n)}),a.sequence){const o=k0(a.sequence);for(const l of o)l.type==="resetAll"?(e=null,t=null,n.clear()):l.type==="resetForegroundColor"?e=null:l.type==="resetBackgroundColor"?t=null:l.type==="resetDecoration"&&n.delete(l.value);for(const l of o)l.type==="setForegroundColor"?e=l.value:l.type==="setBackgroundColor"?t=l.value:l.type==="setDecoration"&&n.add(l.value)}i=a.position}while(i<r.length);return u}}}var A0={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 C0(e=A0){function t(s){return e[s]}function n(s){return`#${s.map(o=>Math.max(0,Math.min(o,255)).toString(16).padStart(2,"0")).join("")}`}let r;function u(){if(r)return r;r=[];for(let l=0;l<Vt.length;l++)r.push(t(Vt[l]));let s=[0,95,135,175,215,255];for(let l=0;l<6;l++)for(let c=0;c<6;c++)for(let d=0;d<6;d++)r.push(n([s[l],s[c],s[d]]));let o=8;for(let l=0;l<24;l++,o+=10)r.push(n([o,o,o]));return r}function i(s){return u()[s]}function a(s){switch(s.type){case"named":return t(s.name);case"rgb":return n(s.rgb);case"table":return i(s.index)}}return{value:a}}function w0(e,t,n){const r=vr(e,n),u=Vr(t),i=C0(Object.fromEntries(Vt.map(s=>{var o;return[s,(o=e.colors)==null?void 0:o[`terminal.ansi${s[0].toUpperCase()}${s.substring(1)}`]]}))),a=E0();return u.map(s=>a.parse(s[0]).map(o=>{let l,c;o.decorations.has("reverse")?(l=o.background?i.value(o.background):e.bg,c=o.foreground?i.value(o.foreground):e.fg):(l=o.foreground?i.value(o.foreground):e.fg,c=o.background?i.value(o.background):void 0),l=Nt(l,r),c=Nt(c,r),o.decorations.has("dim")&&(l=D0(l));let d=kt.None;return o.decorations.has("bold")&&(d|=kt.Bold),o.decorations.has("italic")&&(d|=kt.Italic),o.decorations.has("underline")&&(d|=kt.Underline),{content:o.value,offset:s[1],color:l,bgColor:c,fontStyle:d}}))}function D0(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 Qu(e,t,n={}){const{lang:r="text",theme:u=e.getLoadedThemes()[0]}=n;if(Ju(r)||Xu(u))return Vr(t).map(o=>[{content:o[0],offset:o[1]}]);const{theme:i,colorMap:a}=e.setTheme(u);if(r==="ansi")return w0(i,t,n);const s=e.getLanguage(r);if(n.grammarState){if(n.grammarState.lang!==s.name)throw new Ae(`Grammar state language "${n.grammarState.lang}" does not match highlight language "${s.name}"`);if(!n.grammarState.themes.includes(i.name))throw new Ae(`Grammar state themes "${n.grammarState.themes}" do not contain highlight theme "${i.name}"`)}return T0(t,s,i,a,n)}function S0(...e){if(e.length===2)return wn(e[1]);const[t,n,r={}]=e,{lang:u="text",theme:i=t.getLoadedThemes()[0]}=r;if(Ju(u)||Xu(i))throw new Ae("Plain language does not have grammar state");if(u==="ansi")throw new Ae("ANSI language does not have grammar state");const{theme:a,colorMap:s}=t.setTheme(i),o=t.getLanguage(u);return new on(xr(n,o,a,s,r).stateStack,o.name,a.name)}function T0(e,t,n,r,u){const i=xr(e,t,n,r,u),a=new on(xr(e,t,n,r,u).stateStack,t.name,n.name);return Mr(i.tokens,a),i.tokens}function xr(e,t,n,r,u){const i=vr(n,u),{tokenizeMaxLineLength:a=0,tokenizeTimeLimit:s=500}=u,o=Vr(e);let l=u.grammarState?g0(u.grammarState,n.name)??Ru:u.grammarContextCode!=null?xr(u.grammarContextCode,t,n,r,{...u,grammarState:void 0,grammarContextCode:void 0}).stateStack:Ru,c=[];const d=[];for(let m=0,f=o.length;m<f;m++){const[p,x]=o[m];if(p===""){c=[],d.push([]);continue}if(a>0&&p.length>=a){c=[],d.push([{content:p,offset:x,color:"",fontStyle:0}]);continue}let b,y,v;u.includeExplanation&&(b=t.tokenizeLine(p,l,s),y=b.tokens,v=0);const E=t.tokenizeLine2(p,l,s),D=E.tokens.length/2;for(let A=0;A<D;A++){const T=E.tokens[2*A],R=A+1<D?E.tokens[2*A+2]:p.length;if(T===R)continue;const q=E.tokens[2*A+1],ae=Nt(r[Qt.getForeground(q)],i),me=Qt.getFontStyle(q),Y={content:p.substring(T,R),offset:x+T,color:ae,fontStyle:me};if(u.includeExplanation){const we=[];if(u.includeExplanation!=="scopeName")for(const le of n.settings){let ce;switch(typeof le.scope){case"string":ce=le.scope.split(/,/).map(xe=>xe.trim());break;case"object":ce=le.scope;break;default:continue}we.push({settings:le,selectors:ce.map(xe=>xe.split(/ /))})}Y.explanation=[];let Ue=0;for(;T+Ue<R;){const le=y[v],ce=p.substring(le.startIndex,le.endIndex);Ue+=ce.length,Y.explanation.push({content:ce,scopes:u.includeExplanation==="scopeName"?R0(le.scopes):O0(we,le.scopes)}),v+=1}}c.push(Y)}d.push(c),c=[],l=E.ruleStack}return{tokens:d,stateStack:l}}function R0(e){return e.map(t=>({scopeName:t}))}function O0(e,t){const n=[];for(let r=0,u=t.length;r<u;r++){const i=t[r];n[r]={scopeName:i,themeMatches:I0(e,i,t.slice(0,r))}}return n}function qi(e,t){return e===t||t.substring(0,e.length)===e&&t[e.length]==="."}function P0(e,t,n){if(!qi(e[e.length-1],t))return!1;let r=e.length-2,u=n.length-1;for(;r>=0&&u>=0;)qi(e[r],n[u])&&(r-=1),u-=1;return r===-1}function I0(e,t,n){const r=[];for(const{selectors:u,settings:i}of e)for(const a of u)if(P0(a,t,n)){r.push(i);break}return r}function Ss(e,t,n){const r=Object.entries(n.themes).filter(o=>o[1]).map(o=>({color:o[0],theme:o[1]})),u=r.map(o=>{const l=Qu(e,t,{...n,theme:o.theme}),c=wn(l),d=typeof o.theme=="string"?o.theme:o.theme.name;return{tokens:l,state:c,theme:d}}),i=L0(...u.map(o=>o.tokens)),a=i[0].map((o,l)=>o.map((c,d)=>{const m={content:c.content,variants:{},offset:c.offset};return"includeExplanation"in n&&n.includeExplanation&&(m.explanation=c.explanation),i.forEach((f,p)=>{const{content:x,explanation:b,offset:y,...v}=f[l][d];m.variants[r[p].color]=v}),m})),s=u[0].state?new on(Object.fromEntries(u.map(o=>{var l;return[o.theme,(l=o.state)==null?void 0:l.getInternalStack(o.theme)]})),u[0].state.lang):void 0;return s&&Mr(a,s),a}function L0(...e){const t=e.map(()=>[]),n=e.length;for(let r=0;r<e[0].length;r++){const u=e.map(o=>o[r]),i=t.map(()=>[]);t.forEach((o,l)=>o.push(i[l]));const a=u.map(()=>0),s=u.map(o=>o[0]);for(;s.every(o=>o);){const o=Math.min(...s.map(l=>l.content.length));for(let l=0;l<n;l++){const c=s[l];c.content.length===o?(i[l].push(c),a[l]+=1,s[l]=u[l][a[l]]):(i[l].push({...c,content:c.content.slice(0,o)}),s[l]={...c,content:c.content.slice(o),offset:c.offset+o})}}}return t}function kr(e,t,n){let r,u,i,a,s,o;if("themes"in n){const{defaultColor:l="light",cssVariablePrefix:c="--shiki-"}=n,d=Object.entries(n.themes).filter(b=>b[1]).map(b=>({color:b[0],theme:b[1]})).sort((b,y)=>b.color===l?-1:y.color===l?1:0);if(d.length===0)throw new Ae("`themes` option must not be empty");const m=Ss(e,t,n);if(o=wn(m),l&&!d.find(b=>b.color===l))throw new Ae(`\`themes\` option must contain the defaultColor key \`${l}\``);const f=d.map(b=>e.getTheme(b.theme)),p=d.map(b=>b.color);i=m.map(b=>b.map(y=>m0(y,p,c,l))),o&&Mr(i,o);const x=d.map(b=>vr(b.theme,n));u=d.map((b,y)=>(y===0&&l?"":`${c+b.color}:`)+(Nt(f[y].fg,x[y])||"inherit")).join(";"),r=d.map((b,y)=>(y===0&&l?"":`${c+b.color}-bg:`)+(Nt(f[y].bg,x[y])||"inherit")).join(";"),a=`shiki-themes ${f.map(b=>b.name).join(" ")}`,s=l?void 0:[u,r].join(";")}else if("theme"in n){const l=vr(n.theme,n);i=Qu(e,t,n);const c=e.getTheme(n.theme);r=Nt(c.bg,l),u=Nt(c.fg,l),a=c.name,o=wn(i)}else throw new Ae("Invalid options, either `theme` or `themes` must be provided");return{tokens:i,fg:u,bg:r,themeName:a,rootStyle:s,grammarState:o}}function Er(e,t,n,r={meta:{},options:n,codeToHast:(u,i)=>Er(e,u,i),codeToTokens:(u,i)=>kr(e,u,i)}){var f,p;let u=t;for(const x of yr(n))u=((f=x.preprocess)==null?void 0:f.call(r,u,n))||u;let{tokens:i,fg:a,bg:s,themeName:o,rootStyle:l,grammarState:c}=kr(e,u,n);const{mergeWhitespaces:d=!0}=n;d===!0?i=N0(i):d==="never"&&(i=V0(i));const m={...r,get source(){return u}};for(const x of yr(n))i=((p=x.tokens)==null?void 0:p.call(m,i))||i;return F0(i,{...n,fg:a,bg:s,themeName:o,rootStyle:l},m,c)}function F0(e,t,n,r=wn(e)){var p,x,b;const u=yr(t),i=[],a={type:"root",children:[]},{structure:s="classic",tabindex:o="0"}=t;let l={type:"element",tagName:"pre",properties:{class:`shiki ${t.themeName||""}`,style:t.rootStyle||`background-color:${t.bg};color:${t.fg}`,...o!==!1&&o!=null?{tabindex:o.toString()}:{},...Object.fromEntries(Array.from(Object.entries(t.meta||{})).filter(([y])=>!y.startsWith("_")))},children:[]},c={type:"element",tagName:"code",properties:{},children:i};const d=[],m={...n,structure:s,addClassToHast:As,get source(){return n.source},get tokens(){return e},get options(){return t},get root(){return a},get pre(){return l},get code(){return c},get lines(){return d}};if(e.forEach((y,v)=>{var A,T;v&&(s==="inline"?a.children.push({type:"element",tagName:"br",properties:{},children:[]}):s==="classic"&&i.push({type:"text",value:`
|
||
`}));let E={type:"element",tagName:"span",properties:{class:"line"},children:[]},D=0;for(const R of y){let q={type:"element",tagName:"span",properties:{...R.htmlAttrs},children:[{type:"text",value:R.content}]};typeof R.htmlStyle=="string"&&kn("`htmlStyle` as a string is deprecated. Use an object instead.");const ae=_0(R.htmlStyle||Cs(R));ae&&(q.properties.style=ae);for(const me of u)q=((A=me==null?void 0:me.span)==null?void 0:A.call(m,q,v+1,D,E,R))||q;s==="inline"?a.children.push(q):s==="classic"&&E.children.push(q),D+=R.content.length}if(s==="classic"){for(const R of u)E=((T=R==null?void 0:R.line)==null?void 0:T.call(m,E,v+1))||E;d.push(E),i.push(E)}}),s==="classic"){for(const y of u)c=((p=y==null?void 0:y.code)==null?void 0:p.call(m,c))||c;l.children.push(c);for(const y of u)l=((x=y==null?void 0:y.pre)==null?void 0:x.call(m,l))||l;a.children.push(l)}let f=a;for(const y of u)f=((b=y==null?void 0:y.root)==null?void 0:b.call(m,f))||f;return r&&Mr(f,r),f}function N0(e){return e.map(t=>{const n=[];let r="",u=0;return t.forEach((i,a)=>{const o=!(i.fontStyle&&i.fontStyle&kt.Underline);o&&i.content.match(/^\s+$/)&&t[a+1]?(u||(u=i.offset),r+=i.content):r?(o?n.push({...i,offset:u,content:r+i.content}):n.push({content:r,offset:u},i),u=0,r=""):n.push(i)}),n})}function V0(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[,u,i,a]=r;if(!u&&!a)return n;const s=[{...n,offset:n.offset+u.length,content:i}];return u&&s.unshift({content:u,offset:n.offset}),a&&s.push({content:a,offset:n.offset+u.length+i.length}),s}))}function M0(e,t,n){var i;const r={meta:{},options:n,codeToHast:(a,s)=>Er(e,a,s),codeToTokens:(a,s)=>kr(e,a,s)};let u=s0(Er(e,t,n,r));for(const a of yr(n))u=((i=a.postprocess)==null?void 0:i.call(r,u,n))||u;return u}const Gi={light:"#333333",dark:"#bbbbbb"},Zi={light:"#fffffe",dark:"#1e1e1e"},Hi="__shiki_resolved";function ei(e){var s,o,l,c,d;if(e!=null&&e[Hi])return e;const t={...e};t.tokenColors&&!t.settings&&(t.settings=t.tokenColors,delete t.tokenColors),t.type||(t.type="dark"),t.colorReplacements={...t.colorReplacements},t.settings||(t.settings=[]);let{bg:n,fg:r}=t;if(!n||!r){const m=t.settings?t.settings.find(f=>!f.name&&!f.scope):void 0;(s=m==null?void 0:m.settings)!=null&&s.foreground&&(r=m.settings.foreground),(o=m==null?void 0:m.settings)!=null&&o.background&&(n=m.settings.background),!r&&((l=t==null?void 0:t.colors)!=null&&l["editor.foreground"])&&(r=t.colors["editor.foreground"]),!n&&((c=t==null?void 0:t.colors)!=null&&c["editor.background"])&&(n=t.colors["editor.background"]),r||(r=t.type==="light"?Gi.light:Gi.dark),n||(n=t.type==="light"?Zi.light:Zi.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 u=0;const i=new Map;function a(m){var p;if(i.has(m))return i.get(m);u+=1;const f=`#${u.toString(16).padStart(8,"0").toLowerCase()}`;return(p=t.colorReplacements)!=null&&p[`#${f}`]?a(m):(i.set(m,f),f)}t.settings=t.settings.map(m=>{var b,y;const f=((b=m.settings)==null?void 0:b.foreground)&&!m.settings.foreground.startsWith("#"),p=((y=m.settings)==null?void 0:y.background)&&!m.settings.background.startsWith("#");if(!f&&!p)return m;const x={...m,settings:{...m.settings}};if(f){const v=a(m.settings.foreground);t.colorReplacements[v]=m.settings.foreground,x.settings.foreground=v}if(p){const v=a(m.settings.background);t.colorReplacements[v]=m.settings.background,x.settings.background=v}return x});for(const m of Object.keys(t.colors||{}))if((m==="editor.foreground"||m==="editor.background"||m.startsWith("terminal.ansi"))&&!((d=t.colors[m])!=null&&d.startsWith("#"))){const f=a(t.colors[m]);t.colorReplacements[f]=t.colors[m],t.colors[m]=f}return Object.defineProperty(t,Hi,{enumerable:!1,writable:!1,value:!0}),t}async function Ts(e){return Array.from(new Set((await Promise.all(e.filter(t=>!Yu(t)).map(async t=>await ks(t).then(n=>Array.isArray(n)?n:[n])))).flat()))}async function Rs(e){return(await Promise.all(e.map(async n=>Es(n)?null:ei(await ks(n))))).filter(n=>!!n)}class Ht extends Error{constructor(t){super(t),this.name="ShikiError"}}class B0 extends Hc{constructor(n,r,u,i={}){super(n);k(this,"_resolvedThemes",new Map);k(this,"_resolvedGrammars",new Map);k(this,"_langMap",new Map);k(this,"_langGraph",new Map);k(this,"_textmateThemeCache",new WeakMap);k(this,"_loadedThemesCache",null);k(this,"_loadedLanguagesCache",null);this._resolver=n,this._themes=r,this._langs=u,this._alias=i,this._themes.map(a=>this.loadTheme(a)),this.loadLanguages(this._langs)}getTheme(n){return typeof n=="string"?this._resolvedThemes.get(n):this.loadTheme(n)}loadTheme(n){const r=ei(n);return r.name&&(this._resolvedThemes.set(r.name,r),this._loadedThemesCache=null),r}getLoadedThemes(){return this._loadedThemesCache||(this._loadedThemesCache=[...this._resolvedThemes.keys()]),this._loadedThemesCache}setTheme(n){let r=this._textmateThemeCache.get(n);r||(r=pr.createFromRawTheme(n),this._textmateThemeCache.set(n,r)),this._syncRegistry.setTheme(r)}getGrammar(n){if(this._alias[n]){const r=new Set([n]);for(;this._alias[n];){if(n=this._alias[n],r.has(n))throw new Ht(`Circular alias \`${Array.from(r).join(" -> ")} -> ${n}\``);r.add(n)}}return this._resolvedGrammars.get(n)}loadLanguage(n){var a,s,o,l;if(this.getGrammar(n.name))return;const r=new Set([...this._langMap.values()].filter(c=>{var d;return(d=c.embeddedLangsLazy)==null?void 0:d.includes(n.name)}));this._resolver.addLanguage(n);const u={balancedBracketSelectors:n.balancedBracketSelectors||["*"],unbalancedBracketSelectors:n.unbalancedBracketSelectors||[]};this._syncRegistry._rawGrammars.set(n.scopeName,n);const i=this.loadGrammarWithConfiguration(n.scopeName,1,u);if(i.name=n.name,this._resolvedGrammars.set(n.name,i),n.aliases&&n.aliases.forEach(c=>{this._alias[c]=n.name}),this._loadedLanguagesCache=null,r.size)for(const c of r)this._resolvedGrammars.delete(c.name),this._loadedLanguagesCache=null,(s=(a=this._syncRegistry)==null?void 0:a._injectionGrammars)==null||s.delete(c.scopeName),(l=(o=this._syncRegistry)==null?void 0:o._grammars)==null||l.delete(c.scopeName),this.loadLanguage(this._langMap.get(c.name))}dispose(){super.dispose(),this._resolvedThemes.clear(),this._resolvedGrammars.clear(),this._langMap.clear(),this._langGraph.clear(),this._loadedThemesCache=null}loadLanguages(n){for(const i of n)this.resolveEmbeddedLanguages(i);const r=Array.from(this._langGraph.entries()),u=r.filter(([i,a])=>!a);if(u.length){const i=r.filter(([a,s])=>{var o;return s&&((o=s.embeddedLangs)==null?void 0:o.some(l=>u.map(([c])=>c).includes(l)))}).filter(a=>!u.includes(a));throw new Ht(`Missing languages ${u.map(([a])=>`\`${a}\``).join(", ")}, required by ${i.map(([a])=>`\`${a}\``).join(", ")}`)}for(const[i,a]of r)this._resolver.addLanguage(a);for(const[i,a]of r)this.loadLanguage(a)}getLoadedLanguages(){return this._loadedLanguagesCache||(this._loadedLanguagesCache=[...new Set([...this._resolvedGrammars.keys(),...Object.keys(this._alias)])]),this._loadedLanguagesCache}resolveEmbeddedLanguages(n){if(this._langMap.set(n.name,n),this._langGraph.set(n.name,n),n.embeddedLangs)for(const r of n.embeddedLangs)this._langGraph.set(r,this._langMap.get(r))}}class j0{constructor(t,n){k(this,"_langs",new Map);k(this,"_scopeToLang",new Map);k(this,"_injections",new Map);k(this,"_onigLib");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 u=1;u<=n.length;u++){const i=n.slice(0,u).join(".");r=[...r,...this._injections.get(i)||[]]}return r}}let fn=0;function $0(e){fn+=1,e.warnings!==!1&&fn>=10&&fn%10===0&&console.warn(`[Shiki] ${fn} 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 Ht("`engine` option is required for synchronous mode");const n=(e.langs||[]).flat(1),r=(e.themes||[]).flat(1).map(ei),u=new j0(e.engine,n),i=new B0(u,r,n,e.langAlias);let a;function s(v){b();const E=i.getGrammar(typeof v=="string"?v:v.name);if(!E)throw new Ht(`Language \`${v}\` not found, you may need to load it first`);return E}function o(v){if(v==="none")return{bg:"",fg:"",name:"none",settings:[],type:"dark"};b();const E=i.getTheme(v);if(!E)throw new Ht(`Theme \`${v}\` not found, you may need to load it first`);return E}function l(v){b();const E=o(v);a!==v&&(i.setTheme(E),a=v);const D=i.getColorMap();return{theme:E,colorMap:D}}function c(){return b(),i.getLoadedThemes()}function d(){return b(),i.getLoadedLanguages()}function m(...v){b(),i.loadLanguages(v.flat(1))}async function f(...v){return m(await Ts(v))}function p(...v){b();for(const E of v.flat(1))i.loadTheme(E)}async function x(...v){return b(),p(await Rs(v))}function b(){if(t)throw new Ht("Shiki instance has been disposed")}function y(){t||(t=!0,i.dispose(),fn-=1)}return{setTheme:l,getTheme:o,getLanguage:s,getLoadedThemes:c,getLoadedLanguages:d,loadLanguage:f,loadLanguageSync:m,loadTheme:x,loadThemeSync:p,dispose:y,[Symbol.dispose]:y}}async function z0(e){e.loadWasm&&kn("`loadWasm` option is deprecated. Use `engine: createOnigurumaEngine(loadWasm)` instead."),e.engine||kn("`engine` option is required. Use `createOnigurumaEngine` or `createJavaScriptRegexEngine` to create an engine.");const[t,n,r]=await Promise.all([Rs(e.themes||[]),Ts(e.langs||[]),e.engine||Za(e.loadWasm||ac())]);return $0({...e,themes:t,langs:n,engine:r})}async function U0(e){const t=await z0(e);return{getLastGrammarState:(...n)=>S0(t,...n),codeToTokensBase:(n,r)=>Qu(t,n,r),codeToTokensWithThemes:(n,r)=>Ss(t,n,r),codeToTokens:(n,r)=>kr(t,n,r),codeToHast:(n,r)=>Er(t,n,r),codeToHtml:(n,r)=>M0(t,n,r),getBundledLanguages:()=>({}),getBundledThemes:()=>({}),...t,getInternalContext:()=>t}}function q0(e,t,n){let r,u,i;{const s=e;r=s.langs,u=s.themes,i=s.engine}async function a(s){function o(f){if(typeof f=="string"){if(Yu(f))return[];const p=r[f];if(!p)throw new Ae(`Language \`${f}\` is not included in this bundle. You may want to load it from external source.`);return p}return f}function l(f){if(Es(f))return"none";if(typeof f=="string"){const p=u[f];if(!p)throw new Ae(`Theme \`${f}\` is not included in this bundle. You may want to load it from external source.`);return p}return f}const c=(s.themes??[]).map(f=>l(f)),d=(s.langs??[]).map(f=>o(f)),m=await U0({engine:s.engine??i(),...s,themes:c,langs:d});return{...m,loadLanguage(...f){return m.loadLanguage(...f.map(o))},loadTheme(...f){return m.loadTheme(...f.map(l))},getBundledLanguages(){return r},getBundledThemes(){return u}}}return a}const G0=[[/^(<!--)(.+)(-->)$/,!1],[/^(\/\*)(.+)(\*\/)$/,!1],[/^(\/\/|["'#]|;{1,2}|%{1,2}|--)(.*)$/,!0],[/^(\*)(.+)$/,!0]];function Z0(e,t,n){const r=[];for(const u of e){if(n==="v3"){const s=u.children.flatMap((o,l)=>{if(o.type!=="element")return o;const c=o.children[0];if(c.type!=="text")return o;const d=l===u.children.length-1;if(!Ki(c.value,d))return o;const f=c.value.split(/(\s+\/\/)/);if(f.length<=1)return o;let p=[f[0]];for(let x=1;x<f.length;x+=2)p.push(f[x]+(f[x+1]||""));return p=p.filter(Boolean),p.length<=1?o:p.map(x=>({...o,children:[{type:"text",value:x}]}))});s.length!==u.children.length&&(u.children=s)}const i=u.children;let a=i.length-1;n==="v1"?a=0:t&&(a=i.length-2);for(let s=Math.max(a,0);s<i.length;s++){const o=i[s];if(o.type!=="element")continue;const l=o.children.at(0);if((l==null?void 0:l.type)!=="text")continue;const c=s===i.length-1,d=Ki(l.value,c);if(d)if(t&&!c&&s!==0){const m=Wi(i[s-1],"{")&&Wi(i[s+1],"}");r.push({info:d,line:u,token:o,isLineCommentOnly:i.length===3&&o.children.length===1,isJsxStyle:m})}else r.push({info:d,line:u,token:o,isLineCommentOnly:i.length===1&&o.children.length===1,isJsxStyle:!1})}}return r}function Wi(e,t){if(e.type!=="element")return!1;const n=e.children[0];return n.type!=="text"?!1:n.value.trim()===t}function Ki(e,t){let n=e.trimStart();const r=e.length-n.length;n=n.trimEnd();const u=e.length-n.length-r;for(const[i,a]of G0){if(a&&!t)continue;const s=i.exec(n);if(s)return[" ".repeat(r)+s[1],s[2],s[3]?s[3]+" ".repeat(u):void 0]}}function H0(e){const t=e.match(/(?:\/\/|["'#]|;{1,2}|%{1,2}|--)(\s*)$/);return t&&t[1].trim().length===0?e.slice(0,t.index):e}function W0(e,t,n,r){return r==null&&(r="v1",kn('The default `matchAlgorithm: "v1"` is deprecated and will be removed in the future. Please explicitly set `matchAlgorithm: "v3"` in the transformer options.',3)),{name:e,code(u){const i=u.children.filter(l=>l.type==="element"),a=[];u.data??(u.data={});const s=u.data;s._shiki_notation??(s._shiki_notation=Z0(i,["jsx","tsx"].includes(this.options.lang),r));const o=s._shiki_notation;for(const l of o){if(l.info[1].length===0)continue;let c=i.indexOf(l.line);l.isLineCommentOnly&&r!=="v1"&&c++;let d=!1;if(l.info[1]=l.info[1].replace(t,(...f)=>n.call(this,f,l.line,l.token,i,c)?(d=!0,""):f[0]),!d)continue;r==="v1"&&(l.info[1]=H0(l.info[1]));const m=l.info[1].trim().length===0;if(m&&(l.info[1]=""),m&&l.isLineCommentOnly)a.push(l.line);else if(m&&l.isJsxStyle)l.line.children.splice(l.line.children.indexOf(l.token)-1,3);else if(m)l.line.children.splice(l.line.children.indexOf(l.token),1);else{const f=l.token.children[0];f.type==="text"&&(f.value=l.info.join(""))}}for(const l of a){const c=u.children.indexOf(l),d=u.children[c+1];let m=1;(d==null?void 0:d.type)==="text"&&(d==null?void 0:d.value)===`
|
||
`&&(m=2),u.children.splice(c,m)}}}}function K0(e=[]){return{name:"@shikijs/transformers:compact-line-options",line(t,n){const r=e.find(u=>u.line===n);return r!=null&&r.classes&&this.addClassToHast(t,r.classes),t}}}function J0(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function Br(e={},t="@shikijs/transformers:notation-map"){const{classMap:n={},classActivePre:r=void 0}=e;return W0(t,new RegExp(`\\s*\\[!code (${Object.keys(n).map(J0).join("|")})(:\\d+)?\\]`),function([u,i,a=":1"],s,o,l,c){const d=Number.parseInt(a.slice(1),10);for(let m=c;m<Math.min(c+d,l.length);m++)this.addClassToHast(l[m],n[i]);return r&&this.addClassToHast(this.pre,r),!0},e.matchAlgorithm)}function Y0(e={}){const{classLineAdd:t="diff add",classLineRemove:n="diff remove",classActivePre:r="has-diff"}=e;return Br({classMap:{"++":t,"--":n},classActivePre:r,matchAlgorithm:e.matchAlgorithm},"@shikijs/transformers:notation-diff")}function X0(e={}){const{classMap:t={error:["highlighted","error"],warning:["highlighted","warning"]},classActivePre:n="has-highlighted"}=e;return Br({classMap:t,classActivePre:n,matchAlgorithm:e.matchAlgorithm},"@shikijs/transformers:notation-error-level")}function Q0(e={}){const{classActiveLine:t="focused",classActivePre:n="has-focused"}=e;return Br({classMap:{focus:t},classActivePre:n,matchAlgorithm:e.matchAlgorithm},"@shikijs/transformers:notation-focus")}function ef(e={}){const{classActiveLine:t="highlighted",classActivePre:n="has-highlighted"}=e;return Br({classMap:{highlight:t,hl:t},classActivePre:n,matchAlgorithm:e.matchAlgorithm},"@shikijs/transformers:notation-highlight")}let tf=e=>crypto.getRandomValues(new Uint8Array(e)),nf=(e,t,n)=>{let r=(2<<Math.log(e.length-1)/Math.LN2)-1,u=-~(1.6*r*t/e.length);return(i=t)=>{let a="";for(;;){let s=n(u),o=u|0;for(;o--;)if(a+=e[s[o]&r]||"",a.length===i)return a}}},rf=(e,t=21)=>nf(e,t,tf);function uf(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var ti={exports:{}},W=String,Os=function(){return{isColorSupported:!1,reset:W,bold:W,dim:W,italic:W,underline:W,inverse:W,hidden:W,strikethrough:W,black:W,red:W,green:W,yellow:W,blue:W,magenta:W,cyan:W,white:W,gray:W,bgBlack:W,bgRed:W,bgGreen:W,bgYellow:W,bgBlue:W,bgMagenta:W,bgCyan:W,bgWhite:W,blackBright:W,redBright:W,greenBright:W,yellowBright:W,blueBright:W,magentaBright:W,cyanBright:W,whiteBright:W,bgBlackBright:W,bgRedBright:W,bgGreenBright:W,bgYellowBright:W,bgBlueBright:W,bgMagentaBright:W,bgCyanBright:W,bgWhiteBright:W}};ti.exports=Os();ti.exports.createColors=Os;var af=ti.exports;const sf=uf(af),Ps=[{id:"abap",name:"ABAP",import:()=>h(()=>import("./abap.DsBKuouk.js"),[])},{id:"actionscript-3",name:"ActionScript",import:()=>h(()=>import("./actionscript-3.B_7mSSNY.js"),[])},{id:"ada",name:"Ada",import:()=>h(()=>import("./ada.727ZlQH0.js"),[])},{id:"angular-html",name:"Angular HTML",import:()=>h(()=>import("./angular-html.BBeDFw0_.js").then(e=>e.f),__vite__mapDeps([0,1,2,3]))},{id:"angular-ts",name:"Angular TypeScript",import:()=>h(()=>import("./angular-ts.ek7h0l_U.js"),__vite__mapDeps([4,0,1,2,3,5]))},{id:"apache",name:"Apache Conf",import:()=>h(()=>import("./apache.Dn00JSTd.js"),[])},{id:"apex",name:"Apex",import:()=>h(()=>import("./apex.COJ4H7py.js"),[])},{id:"apl",name:"APL",import:()=>h(()=>import("./apl.C1A51Xal.js"),__vite__mapDeps([6,1,2,3,7,8,9]))},{id:"applescript",name:"AppleScript",import:()=>h(()=>import("./applescript.DSrUkfvF.js"),[])},{id:"ara",name:"Ara",import:()=>h(()=>import("./ara.CQ5q8R2W.js"),[])},{id:"asciidoc",name:"AsciiDoc",aliases:["adoc"],import:()=>h(()=>import("./asciidoc.B-_AxZdj.js"),[])},{id:"asm",name:"Assembly",import:()=>h(()=>import("./asm.Dhn9LcZ4.js"),[])},{id:"astro",name:"Astro",import:()=>h(()=>import("./astro.DsUE12Xb.js"),__vite__mapDeps([10,9,2,11,3,12]))},{id:"awk",name:"AWK",import:()=>h(()=>import("./awk.eg146-Ew.js"),[])},{id:"ballerina",name:"Ballerina",import:()=>h(()=>import("./ballerina.Du268qiB.js"),[])},{id:"bat",name:"Batch File",aliases:["batch"],import:()=>h(()=>import("./bat.fje9CFhw.js"),[])},{id:"beancount",name:"Beancount",import:()=>h(()=>import("./beancount.jY9aw0fr.js"),[])},{id:"berry",name:"Berry",aliases:["be"],import:()=>h(()=>import("./berry.3xVqZejG.js"),[])},{id:"bibtex",name:"BibTeX",import:()=>h(()=>import("./bibtex.xW4inM5L.js"),[])},{id:"bicep",name:"Bicep",import:()=>h(()=>import("./bicep.DHo0CJ0O.js"),[])},{id:"blade",name:"Blade",import:()=>h(()=>import("./blade.Dy4PORcl.js"),__vite__mapDeps([13,1,2,3,7,8,14,9]))},{id:"bsl",name:"1C (Enterprise)",aliases:["1c"],import:()=>h(()=>import("./bsl.BLiLLekw.js"),__vite__mapDeps([15,16]))},{id:"c",name:"C",import:()=>h(()=>import("./c.C3t2pwGQ.js"),[])},{id:"cadence",name:"Cadence",aliases:["cdc"],import:()=>h(()=>import("./cadence.Olw6fvns.js"),[])},{id:"cairo",name:"Cairo",import:()=>h(()=>import("./cairo.BpENSgX_.js"),__vite__mapDeps([17,18]))},{id:"clarity",name:"Clarity",import:()=>h(()=>import("./clarity.CeaQPKDP.js"),[])},{id:"clojure",name:"Clojure",aliases:["clj"],import:()=>h(()=>import("./clojure.DxSadP1t.js"),[])},{id:"cmake",name:"CMake",import:()=>h(()=>import("./cmake.DbcauaCG.js"),[])},{id:"cobol",name:"COBOL",import:()=>h(()=>import("./cobol.CgajVZyl.js"),__vite__mapDeps([19,1,2,3,8]))},{id:"codeowners",name:"CODEOWNERS",import:()=>h(()=>import("./codeowners.Bp6g37R7.js"),[])},{id:"codeql",name:"CodeQL",aliases:["ql"],import:()=>h(()=>import("./codeql.DBtIRQT_.js"),[])},{id:"coffee",name:"CoffeeScript",aliases:["coffeescript"],import:()=>h(()=>import("./coffee.DT-HyJgn.js"),__vite__mapDeps([20,2]))},{id:"common-lisp",name:"Common Lisp",aliases:["lisp"],import:()=>h(()=>import("./common-lisp.C7gG9l05.js"),[])},{id:"coq",name:"Coq",import:()=>h(()=>import("./coq.BHyGnp0Z.js"),[])},{id:"cpp",name:"C++",aliases:["c++"],import:()=>h(()=>import("./cpp.DYZci-ZV.js"),__vite__mapDeps([21,22,23,24,14]))},{id:"crystal",name:"Crystal",import:()=>h(()=>import("./crystal.CQm_1Xe8.js"),__vite__mapDeps([25,1,2,3,14,24,26]))},{id:"csharp",name:"C#",aliases:["c#","cs"],import:()=>h(()=>import("./csharp.C9e09xm7.js"),[])},{id:"css",name:"CSS",import:()=>h(()=>import("./css.BPhBrDlE.js"),[])},{id:"csv",name:"CSV",import:()=>h(()=>import("./csv.B0qRVHPH.js"),[])},{id:"cue",name:"CUE",import:()=>h(()=>import("./cue.DtFQj3wx.js"),[])},{id:"cypher",name:"Cypher",aliases:["cql"],import:()=>h(()=>import("./cypher.Dp08fnRF.js"),[])},{id:"d",name:"D",import:()=>h(()=>import("./d.BoXegm-a.js"),[])},{id:"dart",name:"Dart",import:()=>h(()=>import("./dart.B9wLZaAG.js"),[])},{id:"dax",name:"DAX",import:()=>h(()=>import("./dax.D_iqerNF.js"),[])},{id:"desktop",name:"Desktop",import:()=>h(()=>import("./desktop.DEIpsLCJ.js"),[])},{id:"diff",name:"Diff",import:()=>h(()=>import("./diff.DERFIACx.js"),[])},{id:"docker",name:"Dockerfile",aliases:["dockerfile"],import:()=>h(()=>import("./docker.BcOcwvcX.js"),[])},{id:"dotenv",name:"dotEnv",import:()=>h(()=>import("./dotenv.Ddn3lr0y.js"),[])},{id:"dream-maker",name:"Dream Maker",import:()=>h(()=>import("./dream-maker.2V0Ap-uE.js"),[])},{id:"edge",name:"Edge",import:()=>h(()=>import("./edge.BFUkDXVh.js"),__vite__mapDeps([27,11,1,2,3,28]))},{id:"elixir",name:"Elixir",import:()=>h(()=>import("./elixir.DmimF4lf.js"),__vite__mapDeps([29,1,2,3]))},{id:"elm",name:"Elm",import:()=>h(()=>import("./elm.kTaT0Hm1.js"),__vite__mapDeps([30,23,24]))},{id:"emacs-lisp",name:"Emacs Lisp",aliases:["elisp"],import:()=>h(()=>import("./emacs-lisp.BX77sIaO.js"),[])},{id:"erb",name:"ERB",import:()=>h(()=>import("./erb.CeMdm0kP.js"),__vite__mapDeps([31,1,2,3,32,33,7,8,14,34,11,35,36,21,22,23,24,26,37,38]))},{id:"erlang",name:"Erlang",aliases:["erl"],import:()=>h(()=>import("./erlang.WlOKAcJ7.js"),[])},{id:"fennel",name:"Fennel",import:()=>h(()=>import("./fennel.bCA53EVm.js"),[])},{id:"fish",name:"Fish",import:()=>h(()=>import("./fish.BLmoVg8f.js"),[])},{id:"fluent",name:"Fluent",aliases:["ftl"],import:()=>h(()=>import("./fluent.Dayu4EKP.js"),[])},{id:"fortran-fixed-form",name:"Fortran (Fixed Form)",aliases:["f","for","f77"],import:()=>h(()=>import("./fortran-fixed-form.CfVb63ap.js"),__vite__mapDeps([39,40]))},{id:"fortran-free-form",name:"Fortran (Free Form)",aliases:["f90","f95","f03","f08","f18"],import:()=>h(()=>import("./fortran-free-form.DjP-tqRL.js"),[])},{id:"fsharp",name:"F#",aliases:["f#","fs"],import:()=>h(()=>import("./fsharp.BARJH2T8.js"),__vite__mapDeps([41,42]))},{id:"gdresource",name:"GDResource",import:()=>h(()=>import("./gdresource.C7gUlFTb.js"),__vite__mapDeps([43,44,45]))},{id:"gdscript",name:"GDScript",import:()=>h(()=>import("./gdscript.CCbUEAxs.js"),[])},{id:"gdshader",name:"GDShader",import:()=>h(()=>import("./gdshader.SKMF96pI.js"),[])},{id:"genie",name:"Genie",import:()=>h(()=>import("./genie.ajMbGru0.js"),[])},{id:"gherkin",name:"Gherkin",import:()=>h(()=>import("./gherkin.-30QC5Em.js"),[])},{id:"git-commit",name:"Git Commit Message",import:()=>h(()=>import("./git-commit.ZicXNV91.js"),__vite__mapDeps([46,47]))},{id:"git-rebase",name:"Git Rebase Message",import:()=>h(()=>import("./git-rebase.DPha2nSR.js"),__vite__mapDeps([48,26]))},{id:"gleam",name:"Gleam",import:()=>h(()=>import("./gleam.B430Bg39.js"),[])},{id:"glimmer-js",name:"Glimmer JS",aliases:["gjs"],import:()=>h(()=>import("./glimmer-js.2LSeiHst.js"),__vite__mapDeps([49,2,11,3,1]))},{id:"glimmer-ts",name:"Glimmer TS",aliases:["gts"],import:()=>h(()=>import("./glimmer-ts.DhOoK9On.js"),__vite__mapDeps([50,11,3,2,1]))},{id:"glsl",name:"GLSL",import:()=>h(()=>import("./glsl.BuZDaOS3.js"),__vite__mapDeps([23,24]))},{id:"gnuplot",name:"Gnuplot",import:()=>h(()=>import("./gnuplot.CM8KxXT1.js"),[])},{id:"go",name:"Go",import:()=>h(()=>import("./go.Dtn5OO9k.js"),[])},{id:"graphql",name:"GraphQL",aliases:["gql"],import:()=>h(()=>import("./graphql.C5ZW2LEL.js"),__vite__mapDeps([34,2,11,35,36]))},{id:"groovy",name:"Groovy",import:()=>h(()=>import("./groovy.Blx2zv3z.js"),[])},{id:"hack",name:"Hack",import:()=>h(()=>import("./hack.CUMPYyY_.js"),__vite__mapDeps([51,1,2,3,14]))},{id:"haml",name:"Ruby Haml",import:()=>h(()=>import("./haml.Cw_6CEKe.js"),__vite__mapDeps([33,2,3]))},{id:"handlebars",name:"Handlebars",aliases:["hbs"],import:()=>h(()=>import("./handlebars.DRmpbjlv.js"),__vite__mapDeps([52,1,2,3,38]))},{id:"haskell",name:"Haskell",aliases:["hs"],import:()=>h(()=>import("./haskell.CWgbWrzg.js"),[])},{id:"haxe",name:"Haxe",import:()=>h(()=>import("./haxe.C5wWYbrZ.js"),[])},{id:"hcl",name:"HashiCorp HCL",import:()=>h(()=>import("./hcl.CucaAMjX.js"),[])},{id:"hjson",name:"Hjson",import:()=>h(()=>import("./hjson.T-Tgc4AT.js"),[])},{id:"hlsl",name:"HLSL",import:()=>h(()=>import("./hlsl.ifBTmRxC.js"),[])},{id:"html",name:"HTML",import:()=>h(()=>import("./html.B1S7Y3ZY.js"),__vite__mapDeps([1,2,3]))},{id:"html-derivative",name:"HTML (Derivative)",import:()=>h(()=>import("./html-derivative.QmmHbZPy.js"),__vite__mapDeps([28,1,2,3]))},{id:"http",name:"HTTP",import:()=>h(()=>import("./http.BpwzJ-8X.js"),__vite__mapDeps([53,26,9,7,8,34,2,11,35,36]))},{id:"hxml",name:"HXML",import:()=>h(()=>import("./hxml.DSgsk59g.js"),__vite__mapDeps([54,55]))},{id:"hy",name:"Hy",import:()=>h(()=>import("./hy.BMj5Y0dO.js"),[])},{id:"imba",name:"Imba",import:()=>h(()=>import("./imba.BetUx2d5.js"),__vite__mapDeps([56,11]))},{id:"ini",name:"INI",aliases:["properties"],import:()=>h(()=>import("./ini.BjABl1g7.js"),[])},{id:"java",name:"Java",import:()=>h(()=>import("./java.xI-RfyKK.js"),[])},{id:"javascript",name:"JavaScript",aliases:["js"],import:()=>h(()=>import("./javascript.ySlJ1b_l.js"),[])},{id:"jinja",name:"Jinja",import:()=>h(()=>import("./jinja.Cd9Ue-ak.js"),__vite__mapDeps([57,1,2,3]))},{id:"jison",name:"Jison",import:()=>h(()=>import("./jison.DAH9ckFB.js"),__vite__mapDeps([58,2]))},{id:"json",name:"JSON",import:()=>h(()=>import("./json.DTAJTTim.js"),[])},{id:"json5",name:"JSON5",import:()=>h(()=>import("./json5.BLCLeV30.js"),[])},{id:"jsonc",name:"JSON with Comments",import:()=>h(()=>import("./jsonc.CR_dl2Bk.js"),[])},{id:"jsonl",name:"JSON Lines",import:()=>h(()=>import("./jsonl.YSxxb8je.js"),[])},{id:"jsonnet",name:"Jsonnet",import:()=>h(()=>import("./jsonnet.BfivnA6A.js"),[])},{id:"jssm",name:"JSSM",aliases:["fsl"],import:()=>h(()=>import("./jssm.CQPZbkWf.js"),[])},{id:"jsx",name:"JSX",import:()=>h(()=>import("./jsx.BAng5TT0.js"),[])},{id:"julia",name:"Julia",aliases:["jl"],import:()=>h(()=>import("./julia.Bp1bJzK3.js"),__vite__mapDeps([59,21,22,23,24,14,18,2,60]))},{id:"kotlin",name:"Kotlin",aliases:["kt","kts"],import:()=>h(()=>import("./kotlin.B5lbUyaz.js"),[])},{id:"kusto",name:"Kusto",aliases:["kql"],import:()=>h(()=>import("./kusto.BZ4qjH1z.js"),[])},{id:"latex",name:"LaTeX",import:()=>h(()=>import("./latex.JM24XWWe.js"),__vite__mapDeps([61,62,60]))},{id:"lean",name:"Lean 4",aliases:["lean4"],import:()=>h(()=>import("./lean.XBlWyCtg.js"),[])},{id:"less",name:"Less",import:()=>h(()=>import("./less.BR4n0CG2.js"),[])},{id:"liquid",name:"Liquid",import:()=>h(()=>import("./liquid.BMm7xrCZ.js"),__vite__mapDeps([63,1,2,3,9]))},{id:"log",name:"Log file",import:()=>h(()=>import("./log.Cc5clBb7.js"),[])},{id:"logo",name:"Logo",import:()=>h(()=>import("./logo.IuBKFhSY.js"),[])},{id:"lua",name:"Lua",import:()=>h(()=>import("./lua.BHVJ9a22.js"),__vite__mapDeps([37,24]))},{id:"luau",name:"Luau",import:()=>h(()=>import("./luau.Du5NY7AG.js"),[])},{id:"make",name:"Makefile",aliases:["makefile"],import:()=>h(()=>import("./make.Bvotw-X0.js"),[])},{id:"markdown",name:"Markdown",aliases:["md"],import:()=>h(()=>import("./markdown.BDiHrqA7.js"),[])},{id:"marko",name:"Marko",import:()=>h(()=>import("./marko.CENcEAes.js"),__vite__mapDeps([64,3,65,5,2]))},{id:"matlab",name:"MATLAB",import:()=>h(()=>import("./matlab.C4-SGcC-.js"),[])},{id:"mdc",name:"MDC",import:()=>h(()=>import("./mdc.CTT_smwD.js"),__vite__mapDeps([66,42,38,28,1,2,3]))},{id:"mdx",name:"MDX",import:()=>h(()=>import("./mdx.sdHcTMYB.js"),[])},{id:"mermaid",name:"Mermaid",aliases:["mmd"],import:()=>h(()=>import("./mermaid.D3T736Ml.js"),[])},{id:"mipsasm",name:"MIPS Assembly",aliases:["mips"],import:()=>h(()=>import("./mipsasm.D08_rs9c.js"),[])},{id:"mojo",name:"Mojo",import:()=>h(()=>import("./mojo.tpHetfZQ.js"),[])},{id:"move",name:"Move",import:()=>h(()=>import("./move.C1YtDkjL.js"),[])},{id:"narrat",name:"Narrat Language",aliases:["nar"],import:()=>h(()=>import("./narrat.DLbgOhZU.js"),[])},{id:"nextflow",name:"Nextflow",aliases:["nf"],import:()=>h(()=>import("./nextflow.B0XVJmRM.js"),[])},{id:"nginx",name:"Nginx",import:()=>h(()=>import("./nginx.CB4uuneU.js"),__vite__mapDeps([67,37,24]))},{id:"nim",name:"Nim",import:()=>h(()=>import("./nim.Dk-oD0EE.js"),__vite__mapDeps([68,24,1,2,3,7,8,23,42]))},{id:"nix",name:"Nix",import:()=>h(()=>import("./nix.Bjjh7dxw.js"),[])},{id:"nushell",name:"nushell",aliases:["nu"],import:()=>h(()=>import("./nushell.BekpkmYp.js"),[])},{id:"objective-c",name:"Objective-C",aliases:["objc"],import:()=>h(()=>import("./objective-c.BWx0ALLs.js"),[])},{id:"objective-cpp",name:"Objective-C++",import:()=>h(()=>import("./objective-cpp.aBZrgJR0.js"),[])},{id:"ocaml",name:"OCaml",import:()=>h(()=>import("./ocaml.BNioltXt.js"),[])},{id:"pascal",name:"Pascal",import:()=>h(()=>import("./pascal.JqZropPD.js"),[])},{id:"perl",name:"Perl",import:()=>h(()=>import("./perl.DtGIXoNE.js"),__vite__mapDeps([69,1,2,3,7,8,14]))},{id:"php",name:"PHP",import:()=>h(()=>import("./php.CivViZwM.js"),__vite__mapDeps([70,1,2,3,7,8,14,9]))},{id:"plsql",name:"PL/SQL",import:()=>h(()=>import("./plsql.LKU2TuZ1.js"),[])},{id:"po",name:"Gettext PO",aliases:["pot","potx"],import:()=>h(()=>import("./po.-71hrkjd.js"),[])},{id:"polar",name:"Polar",import:()=>h(()=>import("./polar.sY1Cc3Se.js"),[])},{id:"postcss",name:"PostCSS",import:()=>h(()=>import("./postcss.B3ZDOciz.js"),[])},{id:"powerquery",name:"PowerQuery",import:()=>h(()=>import("./powerquery.CSHBycmS.js"),[])},{id:"powershell",name:"PowerShell",aliases:["ps","ps1"],import:()=>h(()=>import("./powershell.BXl-Qilg.js"),[])},{id:"prisma",name:"Prisma",import:()=>h(()=>import("./prisma.B48N-Iqd.js"),[])},{id:"prolog",name:"Prolog",import:()=>h(()=>import("./prolog.BY-TUvya.js"),[])},{id:"proto",name:"Protocol Buffer 3",aliases:["protobuf"],import:()=>h(()=>import("./proto.zocC4JxJ.js"),[])},{id:"pug",name:"Pug",aliases:["jade"],import:()=>h(()=>import("./pug.DKcTPQZY.js"),__vite__mapDeps([71,2,3,1]))},{id:"puppet",name:"Puppet",import:()=>h(()=>import("./puppet.COl1u60l.js"),[])},{id:"purescript",name:"PureScript",import:()=>h(()=>import("./purescript.Bg-kzb6g.js"),[])},{id:"python",name:"Python",aliases:["py"],import:()=>h(()=>import("./python.DBPt_AfP.js"),[])},{id:"qml",name:"QML",import:()=>h(()=>import("./qml.DmJklzqy.js"),__vite__mapDeps([72,2]))},{id:"qmldir",name:"QML Directory",import:()=>h(()=>import("./qmldir.C8lEn-DE.js"),[])},{id:"qss",name:"Qt Style Sheets",import:()=>h(()=>import("./qss.DhMKtDLN.js"),[])},{id:"r",name:"R",import:()=>h(()=>import("./r.CwjWoCRV.js"),[])},{id:"racket",name:"Racket",import:()=>h(()=>import("./racket.CzouJOBO.js"),[])},{id:"raku",name:"Raku",aliases:["perl6"],import:()=>h(()=>import("./raku.B1bQXN8T.js"),[])},{id:"razor",name:"ASP.NET Razor",import:()=>h(()=>import("./razor.BFfE189A.js"),__vite__mapDeps([73,1,2,3,74]))},{id:"reg",name:"Windows Registry Script",import:()=>h(()=>import("./reg.5LuOXUq_.js"),[])},{id:"regexp",name:"RegExp",aliases:["regex"],import:()=>h(()=>import("./regexp.DFERiEu9.js"),[])},{id:"rel",name:"Rel",import:()=>h(()=>import("./rel.DJlmqQ1C.js"),[])},{id:"riscv",name:"RISC-V",import:()=>h(()=>import("./riscv.BAxNRJcx.js"),[])},{id:"rst",name:"reStructuredText",import:()=>h(()=>import("./rst.hTTi2SFD.js"),__vite__mapDeps([75,28,1,2,3,21,22,23,24,14,18,26,38,76,32,33,7,8,34,11,35,36,37]))},{id:"ruby",name:"Ruby",aliases:["rb"],import:()=>h(()=>import("./ruby.DBxw2zB7.js"),__vite__mapDeps([32,1,2,3,33,7,8,14,34,11,35,36,21,22,23,24,26,37,38]))},{id:"rust",name:"Rust",aliases:["rs"],import:()=>h(()=>import("./rust.Cg69lM4A.js"),[])},{id:"sas",name:"SAS",import:()=>h(()=>import("./sas.nOnNsJ6g.js"),__vite__mapDeps([77,14]))},{id:"sass",name:"Sass",import:()=>h(()=>import("./sass.DjCbjd0V.js"),[])},{id:"scala",name:"Scala",import:()=>h(()=>import("./scala.DPWDxuKt.js"),[])},{id:"scheme",name:"Scheme",import:()=>h(()=>import("./scheme.D8P4R8x9.js"),[])},{id:"scss",name:"SCSS",import:()=>h(()=>import("./scss.CL3I7x-e.js"),__vite__mapDeps([5,3]))},{id:"sdbl",name:"1C (Query)",aliases:["1c-query"],import:()=>h(()=>import("./sdbl.CSHvh9SD.js"),[])},{id:"shaderlab",name:"ShaderLab",aliases:["shader"],import:()=>h(()=>import("./shaderlab.mqKplxjU.js"),__vite__mapDeps([78,79]))},{id:"shellscript",name:"Shell",aliases:["bash","sh","shell","zsh"],import:()=>h(()=>import("./shellscript.CWGUrYGm.js"),[])},{id:"shellsession",name:"Shell Session",aliases:["console"],import:()=>h(()=>import("./shellsession.BHtuBkrt.js"),__vite__mapDeps([80,26]))},{id:"smalltalk",name:"Smalltalk",import:()=>h(()=>import("./smalltalk.RJ4jLoVH.js"),[])},{id:"solidity",name:"Solidity",import:()=>h(()=>import("./solidity.C1w2a3ep.js"),[])},{id:"soy",name:"Closure Templates",aliases:["closure-templates"],import:()=>h(()=>import("./soy.kB8AffLt.js"),__vite__mapDeps([81,1,2,3]))},{id:"sparql",name:"SPARQL",import:()=>h(()=>import("./sparql.CE8Mu0bL.js"),__vite__mapDeps([82,83]))},{id:"splunk",name:"Splunk Query Language",aliases:["spl"],import:()=>h(()=>import("./splunk.a8RH-YUw.js"),[])},{id:"sql",name:"SQL",import:()=>h(()=>import("./sql.BBT0u3iQ.js"),[])},{id:"ssh-config",name:"SSH Config",import:()=>h(()=>import("./ssh-config.BknIz3MU.js"),[])},{id:"stata",name:"Stata",import:()=>h(()=>import("./stata.BnROXGOt.js"),__vite__mapDeps([84,14]))},{id:"stylus",name:"Stylus",aliases:["styl"],import:()=>h(()=>import("./stylus.Cbu_jgUK.js"),[])},{id:"svelte",name:"Svelte",import:()=>h(()=>import("./svelte.CGPgFHEk.js"),__vite__mapDeps([85,2,11,3,12]))},{id:"swift",name:"Swift",import:()=>h(()=>import("./swift.BSxZ-RaX.js"),[])},{id:"system-verilog",name:"SystemVerilog",import:()=>h(()=>import("./system-verilog.C7L56vO4.js"),[])},{id:"systemd",name:"Systemd Units",import:()=>h(()=>import("./systemd.CUnW07Te.js"),[])},{id:"talonscript",name:"TalonScript",aliases:["talon"],import:()=>h(()=>import("./talonscript.yNdrVPqT.js"),[])},{id:"tasl",name:"Tasl",import:()=>h(()=>import("./tasl.CQjiPCtT.js"),[])},{id:"tcl",name:"Tcl",import:()=>h(()=>import("./tcl.C5AohmeQ.js"),[])},{id:"templ",name:"Templ",import:()=>h(()=>import("./templ.BghpUxth.js"),__vite__mapDeps([86,87,2,3]))},{id:"terraform",name:"Terraform",aliases:["tf","tfvars"],import:()=>h(()=>import("./terraform.eHy1PpK4.js"),[])},{id:"tex",name:"TeX",import:()=>h(()=>import("./tex.9W6zHfQk.js"),__vite__mapDeps([62,60]))},{id:"toml",name:"TOML",import:()=>h(()=>import("./toml.8jXJkYXT.js"),[])},{id:"ts-tags",name:"TypeScript with Tags",aliases:["lit"],import:()=>h(()=>import("./ts-tags.vSqlRi0r.js"),__vite__mapDeps([88,11,3,2,23,24,1,14,7,8]))},{id:"tsv",name:"TSV",import:()=>h(()=>import("./tsv.B_m7g4N7.js"),[])},{id:"tsx",name:"TSX",import:()=>h(()=>import("./tsx.B6W0miNI.js"),[])},{id:"turtle",name:"Turtle",import:()=>h(()=>import("./turtle.BMR_PYu6.js"),[])},{id:"twig",name:"Twig",import:()=>h(()=>import("./twig.C9mOESLV.js"),__vite__mapDeps([89,3,2,5,70,1,7,8,14,9,18,32,33,34,11,35,36,21,22,23,24,26,37,38]))},{id:"typescript",name:"TypeScript",aliases:["ts"],import:()=>h(()=>import("./typescript.Dj6nwHGl.js"),[])},{id:"typespec",name:"TypeSpec",aliases:["tsp"],import:()=>h(()=>import("./typespec.BpWG_bgh.js"),[])},{id:"typst",name:"Typst",aliases:["typ"],import:()=>h(()=>import("./typst.CX-D33aM.js"),[])},{id:"v",name:"V",import:()=>h(()=>import("./v.CAQ2eGtk.js"),[])},{id:"vala",name:"Vala",import:()=>h(()=>import("./vala.BFOHcciG.js"),[])},{id:"vb",name:"Visual Basic",aliases:["cmd"],import:()=>h(()=>import("./vb.CdO5JTpU.js"),[])},{id:"verilog",name:"Verilog",import:()=>h(()=>import("./verilog.CJaU5se_.js"),[])},{id:"vhdl",name:"VHDL",import:()=>h(()=>import("./vhdl.DYoNaHQp.js"),[])},{id:"viml",name:"Vim Script",aliases:["vim","vimscript"],import:()=>h(()=>import("./viml.m4uW47V2.js"),[])},{id:"vue",name:"Vue",import:()=>h(()=>import("./vue.BjbIoK_1.js"),__vite__mapDeps([90,1,2,3,11,9,28]))},{id:"vue-html",name:"Vue HTML",import:()=>h(()=>import("./vue-html.CB-1hxFp.js"),__vite__mapDeps([91,90,1,2,3,11,9,28]))},{id:"vyper",name:"Vyper",aliases:["vy"],import:()=>h(()=>import("./vyper.BzEH12SI.js"),[])},{id:"wasm",name:"WebAssembly",import:()=>h(()=>import("./wasm.ISJeQQUc.js"),[])},{id:"wenyan",name:"Wenyan",aliases:["文言"],import:()=>h(()=>import("./wenyan.7A4Fjokl.js"),[])},{id:"wgsl",name:"WGSL",import:()=>h(()=>import("./wgsl.mD5xMClh.js"),[])},{id:"wikitext",name:"Wikitext",aliases:["mediawiki","wiki"],import:()=>h(()=>import("./wikitext.DCE3LsBG.js"),[])},{id:"wolfram",name:"Wolfram",aliases:["wl"],import:()=>h(()=>import("./wolfram.C3FkfJm5.js"),[])},{id:"xml",name:"XML",import:()=>h(()=>import("./xml.BtQf4J8g.js"),__vite__mapDeps([7,8]))},{id:"xsl",name:"XSL",import:()=>h(()=>import("./xsl.YUiifyad.js"),__vite__mapDeps([92,7,8]))},{id:"yaml",name:"YAML",aliases:["yml"],import:()=>h(()=>import("./yaml.CVw76BM1.js"),[])},{id:"zenscript",name:"ZenScript",import:()=>h(()=>import("./zenscript.ulE5f4OK.js"),[])},{id:"zig",name:"Zig",import:()=>h(()=>import("./zig.DFAwn6Qs.js"),[])}],of=Object.fromEntries(Ps.map(e=>[e.id,e.import])),lf=Object.fromEntries(Ps.flatMap(e=>{var t;return((t=e.aliases)==null?void 0:t.map(n=>[n,e.import]))||[]})),cf={...of,...lf},df=[{id:"andromeeda",displayName:"Andromeeda",type:"dark",import:()=>h(()=>import("./andromeeda.C3khCPGq.js"),[])},{id:"aurora-x",displayName:"Aurora X",type:"dark",import:()=>h(()=>import("./aurora-x.D-2ljcwZ.js"),[])},{id:"ayu-dark",displayName:"Ayu Dark",type:"dark",import:()=>h(()=>import("./ayu-dark.Cv9koXgw.js"),[])},{id:"catppuccin-frappe",displayName:"Catppuccin Frappé",type:"dark",import:()=>h(()=>import("./catppuccin-frappe.CD_QflpE.js"),[])},{id:"catppuccin-latte",displayName:"Catppuccin Latte",type:"light",import:()=>h(()=>import("./catppuccin-latte.DRW-0cLl.js"),[])},{id:"catppuccin-macchiato",displayName:"Catppuccin Macchiato",type:"dark",import:()=>h(()=>import("./catppuccin-macchiato.C-_shW-Y.js"),[])},{id:"catppuccin-mocha",displayName:"Catppuccin Mocha",type:"dark",import:()=>h(()=>import("./catppuccin-mocha.LGGdnPYs.js"),[])},{id:"dark-plus",displayName:"Dark Plus",type:"dark",import:()=>h(()=>import("./dark-plus.C3mMm8J8.js"),[])},{id:"dracula",displayName:"Dracula Theme",type:"dark",import:()=>h(()=>import("./dracula.BzJJZx-M.js"),[])},{id:"dracula-soft",displayName:"Dracula Theme Soft",type:"dark",import:()=>h(()=>import("./dracula-soft.BXkSAIEj.js"),[])},{id:"everforest-dark",displayName:"Everforest Dark",type:"dark",import:()=>h(()=>import("./everforest-dark.BgDCqdQA.js"),[])},{id:"everforest-light",displayName:"Everforest Light",type:"light",import:()=>h(()=>import("./everforest-light.C8M2exoo.js"),[])},{id:"github-dark",displayName:"GitHub Dark",type:"dark",import:()=>h(()=>import("./github-dark.DHJKELXO.js"),[])},{id:"github-dark-default",displayName:"GitHub Dark Default",type:"dark",import:()=>h(()=>import("./github-dark-default.Cuk6v7N8.js"),[])},{id:"github-dark-dimmed",displayName:"GitHub Dark Dimmed",type:"dark",import:()=>h(()=>import("./github-dark-dimmed.DH5Ifo-i.js"),[])},{id:"github-dark-high-contrast",displayName:"GitHub Dark High Contrast",type:"dark",import:()=>h(()=>import("./github-dark-high-contrast.E3gJ1_iC.js"),[])},{id:"github-light",displayName:"GitHub Light",type:"light",import:()=>h(()=>import("./github-light.DAi9KRSo.js"),[])},{id:"github-light-default",displayName:"GitHub Light Default",type:"light",import:()=>h(()=>import("./github-light-default.D7oLnXFd.js"),[])},{id:"github-light-high-contrast",displayName:"GitHub Light High Contrast",type:"light",import:()=>h(()=>import("./github-light-high-contrast.BfjtVDDH.js"),[])},{id:"houston",displayName:"Houston",type:"dark",import:()=>h(()=>import("./houston.DnULxvSX.js"),[])},{id:"kanagawa-dragon",displayName:"Kanagawa Dragon",type:"dark",import:()=>h(()=>import("./kanagawa-dragon.CkXjmgJE.js"),[])},{id:"kanagawa-lotus",displayName:"Kanagawa Lotus",type:"light",import:()=>h(()=>import("./kanagawa-lotus.CfQXZHmo.js"),[])},{id:"kanagawa-wave",displayName:"Kanagawa Wave",type:"dark",import:()=>h(()=>import("./kanagawa-wave.DWedfzmr.js"),[])},{id:"laserwave",displayName:"LaserWave",type:"dark",import:()=>h(()=>import("./laserwave.DUszq2jm.js"),[])},{id:"light-plus",displayName:"Light Plus",type:"light",import:()=>h(()=>import("./light-plus.B7mTdjB0.js"),[])},{id:"material-theme",displayName:"Material Theme",type:"dark",import:()=>h(()=>import("./material-theme.D5KoaKCx.js"),[])},{id:"material-theme-darker",displayName:"Material Theme Darker",type:"dark",import:()=>h(()=>import("./material-theme-darker.BfHTSMKl.js"),[])},{id:"material-theme-lighter",displayName:"Material Theme Lighter",type:"light",import:()=>h(()=>import("./material-theme-lighter.B0m2ddpp.js"),[])},{id:"material-theme-ocean",displayName:"Material Theme Ocean",type:"dark",import:()=>h(()=>import("./material-theme-ocean.CyktbL80.js"),[])},{id:"material-theme-palenight",displayName:"Material Theme Palenight",type:"dark",import:()=>h(()=>import("./material-theme-palenight.Csfq5Kiy.js"),[])},{id:"min-dark",displayName:"Min Dark",type:"dark",import:()=>h(()=>import("./min-dark.CafNBF8u.js"),[])},{id:"min-light",displayName:"Min Light",type:"light",import:()=>h(()=>import("./min-light.CTRr51gU.js"),[])},{id:"monokai",displayName:"Monokai",type:"dark",import:()=>h(()=>import("./monokai.D4h5O-jR.js"),[])},{id:"night-owl",displayName:"Night Owl",type:"dark",import:()=>h(()=>import("./night-owl.C39BiMTA.js"),[])},{id:"nord",displayName:"Nord",type:"dark",import:()=>h(()=>import("./nord.Ddv68eIx.js"),[])},{id:"one-dark-pro",displayName:"One Dark Pro",type:"dark",import:()=>h(()=>import("./one-dark-pro.DVMEJ2y_.js"),[])},{id:"one-light",displayName:"One Light",type:"light",import:()=>h(()=>import("./one-light.PoHY5YXO.js"),[])},{id:"plastic",displayName:"Plastic",type:"dark",import:()=>h(()=>import("./plastic.3e1v2bzS.js"),[])},{id:"poimandres",displayName:"Poimandres",type:"dark",import:()=>h(()=>import("./poimandres.CS3Unz2-.js"),[])},{id:"red",displayName:"Red",type:"dark",import:()=>h(()=>import("./red.bN70gL4F.js"),[])},{id:"rose-pine",displayName:"Rosé Pine",type:"dark",import:()=>h(()=>import("./rose-pine.CmCqftbK.js"),[])},{id:"rose-pine-dawn",displayName:"Rosé Pine Dawn",type:"light",import:()=>h(()=>import("./rose-pine-dawn.Ds-gbosJ.js"),[])},{id:"rose-pine-moon",displayName:"Rosé Pine Moon",type:"dark",import:()=>h(()=>import("./rose-pine-moon.CjDtw9vr.js"),[])},{id:"slack-dark",displayName:"Slack Dark",type:"dark",import:()=>h(()=>import("./slack-dark.BthQWCQV.js"),[])},{id:"slack-ochin",displayName:"Slack Ochin",type:"light",import:()=>h(()=>import("./slack-ochin.DqwNpetd.js"),[])},{id:"snazzy-light",displayName:"Snazzy Light",type:"light",import:()=>h(()=>import("./snazzy-light.Bw305WKR.js"),[])},{id:"solarized-dark",displayName:"Solarized Dark",type:"dark",import:()=>h(()=>import("./solarized-dark.DXbdFlpD.js"),[])},{id:"solarized-light",displayName:"Solarized Light",type:"light",import:()=>h(()=>import("./solarized-light.L9t79GZl.js"),[])},{id:"synthwave-84",displayName:"Synthwave '84",type:"dark",import:()=>h(()=>import("./synthwave-84.CbfX1IO0.js"),[])},{id:"tokyo-night",displayName:"Tokyo Night",type:"dark",import:()=>h(()=>import("./tokyo-night.hegEt444.js"),[])},{id:"vesper",displayName:"Vesper",type:"dark",import:()=>h(()=>import("./vesper.BEBZ7ncR.js"),[])},{id:"vitesse-black",displayName:"Vitesse Black",type:"dark",import:()=>h(()=>import("./vitesse-black.Bkuqu6BP.js"),[])},{id:"vitesse-dark",displayName:"Vitesse Dark",type:"dark",import:()=>h(()=>import("./vitesse-dark.D0r3Knsf.js"),[])},{id:"vitesse-light",displayName:"Vitesse Light",type:"light",import:()=>h(()=>import("./vitesse-light.CVO1_9PV.js"),[])}],ff=Object.fromEntries(df.map(e=>[e.id,e.import])),hf=q0({langs:cf,themes:ff,engine:()=>Za(h(()=>import("./wasm.CG6Dc4jp.js"),[]))}),pf=rf("abcdefghijklmnopqrstuvwxyz",10);function mf(e){e=e.replace(/^(?:\[.*?\])?.*?([\d,-]+).*/,"$1").trim();const t=[];return e?(e.split(",").map(n=>n.split("-").map(r=>parseInt(r,10))).forEach(([n,r])=>{n&&r?t.push(...Array.from({length:r-n+1},(u,i)=>n+i)):t.push(n)}),t.map(n=>({line:n,classes:["highlighted"]}))):[]}async function _f(e,t,n=console){var d;const{defaultHighlightLang:r="txt",codeTransformers:u=[]}=t,i=await hf({themes:typeof e=="object"&&"light"in e&&"dark"in e?[e.light,e.dark]:[e],langs:[...t.languages||[],...Object.values(t.languageAlias||{})],langAlias:t.languageAlias});await((d=t==null?void 0:t.shikiSetup)==null?void 0:d.call(t,i));const a=[Y0({matchAlgorithm:"v3"}),Q0({matchAlgorithm:"v3",classActiveLine:"has-focus",classActivePre:"has-focused-lines"}),ef({matchAlgorithm:"v3"}),X0({matchAlgorithm:"v3"}),{name:"vitepress:add-class",pre(m){this.addClassToHast(m,"vp-code")}},{name:"vitepress:clean-up",pre(m){delete m.properties.style}}],s=/-vue(?=:|$)/,o=/=(\d*)/,l=/:(no-)?line-numbers(=\d*)?$/,c=/\{\{.*?\}\}/g;return[async(m,f,p)=>{const x=s.test(f)?"":"v-pre";f=f.replace(o,"").replace(l,"").replace(s,"").toLowerCase()||r;try{!Yu(f)&&!i.getLoadedLanguages().includes(f)&&await i.loadLanguage(f)}catch{n.warn(sf.yellow(`
|
||
The language '${f}' is not loaded, falling back to '${r}' for syntax highlighting.`)),f=r}const b=mf(p),y=new Map,v=T=>x?T:T.replace(c,R=>{let q=y.get(R);return q||(q=pf(),y.set(R,q)),q}),E=T=>(y.forEach((R,q)=>{T=T.replaceAll(R,q)}),T);m=v(m).trimEnd();const D=f0(m,f,i);await i.loadLanguage(...D);const A=i.codeToHtml(m,{lang:f,transformers:[...a,K0(b),{name:"vitepress:v-pre",pre(T){x&&(T.properties["v-pre"]="")}},{name:"vitepress:empty-line",code(T){T.children.forEach(R=>{R.type==="element"&&R.tagName==="span"&&Array.isArray(R.properties.class)&&R.properties.class.includes("line")&&R.children.length===0&&R.children.push({type:"element",tagName:"wbr",properties:{},children:[]})})}},...u],meta:{__raw:p},...typeof e=="object"&&"light"in e&&"dark"in e?{themes:e,defaultColor:!1}:{theme:e}});return E(A)},i.dispose]}const Ji={};function gf(e){let t=Ji[e];if(t)return t;t=Ji[e]=[];for(let n=0;n<128;n++){const r=String.fromCharCode(n);t.push(r)}for(let n=0;n<e.length;n++){const r=e.charCodeAt(n);t[r]="%"+("0"+r.toString(16).toUpperCase()).slice(-2)}return t}function en(e,t){typeof t!="string"&&(t=en.defaultChars);const n=gf(t);return e.replace(/(%[a-f0-9]{2})+/gi,function(r){let u="";for(let i=0,a=r.length;i<a;i+=3){const s=parseInt(r.slice(i+1,i+3),16);if(s<128){u+=n[s];continue}if((s&224)===192&&i+3<a){const o=parseInt(r.slice(i+4,i+6),16);if((o&192)===128){const l=s<<6&1984|o&63;l<128?u+="<22><>":u+=String.fromCharCode(l),i+=3;continue}}if((s&240)===224&&i+6<a){const o=parseInt(r.slice(i+4,i+6),16),l=parseInt(r.slice(i+7,i+9),16);if((o&192)===128&&(l&192)===128){const c=s<<12&61440|o<<6&4032|l&63;c<2048||c>=55296&&c<=57343?u+="<22><><EFBFBD>":u+=String.fromCharCode(c),i+=6;continue}}if((s&248)===240&&i+9<a){const o=parseInt(r.slice(i+4,i+6),16),l=parseInt(r.slice(i+7,i+9),16),c=parseInt(r.slice(i+10,i+12),16);if((o&192)===128&&(l&192)===128&&(c&192)===128){let d=s<<18&1835008|o<<12&258048|l<<6&4032|c&63;d<65536||d>1114111?u+="<22><><EFBFBD><EFBFBD>":(d-=65536,u+=String.fromCharCode(55296+(d>>10),56320+(d&1023))),i+=9;continue}}u+="<22>"}return u})}en.defaultChars=";/?:@&=+$,#";en.componentChars="";const Yi={};function bf(e){let t=Yi[e];if(t)return t;t=Yi[e]=[];for(let n=0;n<128;n++){const r=String.fromCharCode(n);/^[0-9a-z]$/i.test(r)?t.push(r):t.push("%"+("0"+n.toString(16).toUpperCase()).slice(-2))}for(let n=0;n<e.length;n++)t[e.charCodeAt(n)]=e[n];return t}function Hn(e,t,n){typeof t!="string"&&(n=t,t=Hn.defaultChars),typeof n>"u"&&(n=!0);const r=bf(t);let u="";for(let i=0,a=e.length;i<a;i++){const s=e.charCodeAt(i);if(n&&s===37&&i+2<a&&/^[0-9a-f]{2}$/i.test(e.slice(i+1,i+3))){u+=e.slice(i,i+3),i+=2;continue}if(s<128){u+=r[s];continue}if(s>=55296&&s<=57343){if(s>=55296&&s<=56319&&i+1<a){const o=e.charCodeAt(i+1);if(o>=56320&&o<=57343){u+=encodeURIComponent(e[i]+e[i+1]),i++;continue}}u+="%EF%BF%BD";continue}u+=encodeURIComponent(e[i])}return u}Hn.defaultChars=";/?:@&=+$,-_.!~*'()#";Hn.componentChars="-_.!~*'()";function ni(e){let t="";return t+=e.protocol||"",t+=e.slashes?"//":"",t+=e.auth?e.auth+"@":"",e.hostname&&e.hostname.indexOf(":")!==-1?t+="["+e.hostname+"]":t+=e.hostname||"",t+=e.port?":"+e.port:"",t+=e.pathname||"",t+=e.search||"",t+=e.hash||"",t}function Ar(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}const vf=/^([a-z0-9.+-]+:)/i,yf=/:[0-9]*$/,xf=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,kf=["<",">",'"',"`"," ","\r",`
|
||
`," "],Ef=["{","}","|","\\","^","`"].concat(kf),Af=["'"].concat(Ef),Xi=["%","/","?",";","#"].concat(Af),Qi=["/","?","#"],Cf=255,ea=/^[+a-z0-9A-Z_-]{0,63}$/,wf=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,ta={javascript:!0,"javascript:":!0},na={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function ri(e,t){if(e&&e instanceof Ar)return e;const n=new Ar;return n.parse(e,t),n}Ar.prototype.parse=function(e,t){let n,r,u,i=e;if(i=i.trim(),!t&&e.split("#").length===1){const l=xf.exec(i);if(l)return this.pathname=l[1],l[2]&&(this.search=l[2]),this}let a=vf.exec(i);if(a&&(a=a[0],n=a.toLowerCase(),this.protocol=a,i=i.substr(a.length)),(t||a||i.match(/^\/\/[^@\/]+@[^@\/]+/))&&(u=i.substr(0,2)==="//",u&&!(a&&ta[a])&&(i=i.substr(2),this.slashes=!0)),!ta[a]&&(u||a&&!na[a])){let l=-1;for(let p=0;p<Qi.length;p++)r=i.indexOf(Qi[p]),r!==-1&&(l===-1||r<l)&&(l=r);let c,d;l===-1?d=i.lastIndexOf("@"):d=i.lastIndexOf("@",l),d!==-1&&(c=i.slice(0,d),i=i.slice(d+1),this.auth=c),l=-1;for(let p=0;p<Xi.length;p++)r=i.indexOf(Xi[p]),r!==-1&&(l===-1||r<l)&&(l=r);l===-1&&(l=i.length),i[l-1]===":"&&l--;const m=i.slice(0,l);i=i.slice(l),this.parseHost(m),this.hostname=this.hostname||"";const f=this.hostname[0]==="["&&this.hostname[this.hostname.length-1]==="]";if(!f){const p=this.hostname.split(/\./);for(let x=0,b=p.length;x<b;x++){const y=p[x];if(y&&!y.match(ea)){let v="";for(let E=0,D=y.length;E<D;E++)y.charCodeAt(E)>127?v+="x":v+=y[E];if(!v.match(ea)){const E=p.slice(0,x),D=p.slice(x+1),A=y.match(wf);A&&(E.push(A[1]),D.unshift(A[2])),D.length&&(i=D.join(".")+i),this.hostname=E.join(".");break}}}}this.hostname.length>Cf&&(this.hostname=""),f&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}const s=i.indexOf("#");s!==-1&&(this.hash=i.substr(s),i=i.slice(0,s));const o=i.indexOf("?");return o!==-1&&(this.search=i.substr(o),i=i.slice(0,o)),i&&(this.pathname=i),na[n]&&this.hostname&&!this.pathname&&(this.pathname=""),this};Ar.prototype.parseHost=function(e){let t=yf.exec(e);t&&(t=t[0],t!==":"&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)};const Df=Object.freeze(Object.defineProperty({__proto__:null,decode:en,encode:Hn,format:ni,parse:ri},Symbol.toStringTag,{value:"Module"})),Is=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,Ls=/[\0-\x1F\x7F-\x9F]/,Sf=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u0890\u0891\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD80D[\uDC30-\uDC3F]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/,ui=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061D-\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1B7D\u1B7E\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52-\u2E5D\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDEAD\uDF55-\uDF59\uDF86-\uDF89]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5A\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDEB9\uDF3C-\uDF3E]|\uD806[\uDC3B\uDD44-\uDD46\uDDE2\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2\uDF00-\uDF09]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8\uDF43-\uDF4F\uDFFF]|\uD809[\uDC70-\uDC74]|\uD80B[\uDFF1\uDFF2]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A\uDFE2]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/,Fs=/[\$\+<->\^`\|~\xA2-\xA6\xA8\xA9\xAC\xAE-\xB1\xB4\xB8\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0384\u0385\u03F6\u0482\u058D-\u058F\u0606-\u0608\u060B\u060E\u060F\u06DE\u06E9\u06FD\u06FE\u07F6\u07FE\u07FF\u0888\u09F2\u09F3\u09FA\u09FB\u0AF1\u0B70\u0BF3-\u0BFA\u0C7F\u0D4F\u0D79\u0E3F\u0F01-\u0F03\u0F13\u0F15-\u0F17\u0F1A-\u0F1F\u0F34\u0F36\u0F38\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE\u0FCF\u0FD5-\u0FD8\u109E\u109F\u1390-\u1399\u166D\u17DB\u1940\u19DE-\u19FF\u1B61-\u1B6A\u1B74-\u1B7C\u1FBD\u1FBF-\u1FC1\u1FCD-\u1FCF\u1FDD-\u1FDF\u1FED-\u1FEF\u1FFD\u1FFE\u2044\u2052\u207A-\u207C\u208A-\u208C\u20A0-\u20C0\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F\u218A\u218B\u2190-\u2307\u230C-\u2328\u232B-\u2426\u2440-\u244A\u249C-\u24E9\u2500-\u2767\u2794-\u27C4\u27C7-\u27E5\u27F0-\u2982\u2999-\u29D7\u29DC-\u29FB\u29FE-\u2B73\u2B76-\u2B95\u2B97-\u2BFF\u2CE5-\u2CEA\u2E50\u2E51\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFF\u3004\u3012\u3013\u3020\u3036\u3037\u303E\u303F\u309B\u309C\u3190\u3191\u3196-\u319F\u31C0-\u31E3\u31EF\u3200-\u321E\u322A-\u3247\u3250\u3260-\u327F\u328A-\u32B0\u32C0-\u33FF\u4DC0-\u4DFF\uA490-\uA4C6\uA700-\uA716\uA720\uA721\uA789\uA78A\uA828-\uA82B\uA836-\uA839\uAA77-\uAA79\uAB5B\uAB6A\uAB6B\uFB29\uFBB2-\uFBC2\uFD40-\uFD4F\uFDCF\uFDFC-\uFDFF\uFE62\uFE64-\uFE66\uFE69\uFF04\uFF0B\uFF1C-\uFF1E\uFF3E\uFF40\uFF5C\uFF5E\uFFE0-\uFFE6\uFFE8-\uFFEE\uFFFC\uFFFD]|\uD800[\uDD37-\uDD3F\uDD79-\uDD89\uDD8C-\uDD8E\uDD90-\uDD9C\uDDA0\uDDD0-\uDDFC]|\uD802[\uDC77\uDC78\uDEC8]|\uD805\uDF3F|\uD807[\uDFD5-\uDFF1]|\uD81A[\uDF3C-\uDF3F\uDF45]|\uD82F\uDC9C|\uD833[\uDF50-\uDFC3]|\uD834[\uDC00-\uDCF5\uDD00-\uDD26\uDD29-\uDD64\uDD6A-\uDD6C\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDDEA\uDE00-\uDE41\uDE45\uDF00-\uDF56]|\uD835[\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85\uDE86]|\uD838[\uDD4F\uDEFF]|\uD83B[\uDCAC\uDCB0\uDD2E\uDEF0\uDEF1]|\uD83C[\uDC00-\uDC2B\uDC30-\uDC93\uDCA0-\uDCAE\uDCB1-\uDCBF\uDCC1-\uDCCF\uDCD1-\uDCF5\uDD0D-\uDDAD\uDDE6-\uDE02\uDE10-\uDE3B\uDE40-\uDE48\uDE50\uDE51\uDE60-\uDE65\uDF00-\uDFFF]|\uD83D[\uDC00-\uDED7\uDEDC-\uDEEC\uDEF0-\uDEFC\uDF00-\uDF76\uDF7B-\uDFD9\uDFE0-\uDFEB\uDFF0]|\uD83E[\uDC00-\uDC0B\uDC10-\uDC47\uDC50-\uDC59\uDC60-\uDC87\uDC90-\uDCAD\uDCB0\uDCB1\uDD00-\uDE53\uDE60-\uDE6D\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC5\uDECE-\uDEDB\uDEE0-\uDEE8\uDEF0-\uDEF8\uDF00-\uDF92\uDF94-\uDFCA]/,Ns=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,Tf=Object.freeze(Object.defineProperty({__proto__:null,Any:Is,Cc:Ls,Cf:Sf,P:ui,S:Fs,Z:Ns},Symbol.toStringTag,{value:"Module"})),Rf=new Uint16Array('ᵁ<Õıʊҝջאٵ۞ޢߖࠏઑඡ༉༦ረዡᐕᒝᓃᓟᔥ\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୕ୖ୪௫ఄ಄ದൡඅ櫬Āoungruent;扢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;怳Ādpuct;戏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ǣጓ\0y;䐎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Ā;tbrk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯᝳ;䎲;愶een;扬r;쀀𝔟gcostuvwឍឝឳេ៕៛ƀ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Ā;elƀ;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\0aĀ;t䀬;䁀ƀ;fl戁îᅠeĀmxent»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ↄⅪ←ٖ↛ǰ↉\0proø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;䄼ìࢰâ┩;䐻Ȁ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;䅓Ācrir;榿;쀀𝔬ͯ\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Ȁ;astЃ脀¶;l䂶leìЃɩ\0\0m;櫳;櫽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;怌'.split("").map(e=>e.charCodeAt(0))),Of=new Uint16Array("Ȁaglq \x1Bɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map(e=>e.charCodeAt(0)));var cu;const Pf=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]]),If=(cu=String.fromCodePoint)!==null&&cu!==void 0?cu:function(e){let t="";return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|e&1023),t+=String.fromCharCode(e),t};function Lf(e){var t;return e>=55296&&e<=57343||e>1114111?65533:(t=Pf.get(e))!==null&&t!==void 0?t:e}var Ce;(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"})(Ce||(Ce={}));const Ff=32;var St;(function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"})(St||(St={}));function Lu(e){return e>=Ce.ZERO&&e<=Ce.NINE}function Nf(e){return e>=Ce.UPPER_A&&e<=Ce.UPPER_F||e>=Ce.LOWER_A&&e<=Ce.LOWER_F}function Vf(e){return e>=Ce.UPPER_A&&e<=Ce.UPPER_Z||e>=Ce.LOWER_A&&e<=Ce.LOWER_Z||Lu(e)}function Mf(e){return e===Ce.EQUALS||Vf(e)}var ke;(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"})(ke||(ke={}));var Dt;(function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"})(Dt||(Dt={}));class Bf{constructor(t,n,r){this.decodeTree=t,this.emitCodePoint=n,this.errors=r,this.state=ke.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=Dt.Strict}startEntity(t){this.decodeMode=t,this.state=ke.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(t,n){switch(this.state){case ke.EntityStart:return t.charCodeAt(n)===Ce.NUM?(this.state=ke.NumericStart,this.consumed+=1,this.stateNumericStart(t,n+1)):(this.state=ke.NamedEntity,this.stateNamedEntity(t,n));case ke.NumericStart:return this.stateNumericStart(t,n);case ke.NumericDecimal:return this.stateNumericDecimal(t,n);case ke.NumericHex:return this.stateNumericHex(t,n);case ke.NamedEntity:return this.stateNamedEntity(t,n)}}stateNumericStart(t,n){return n>=t.length?-1:(t.charCodeAt(n)|Ff)===Ce.LOWER_X?(this.state=ke.NumericHex,this.consumed+=1,this.stateNumericHex(t,n+1)):(this.state=ke.NumericDecimal,this.stateNumericDecimal(t,n))}addToNumericResult(t,n,r,u){if(n!==r){const i=r-n;this.result=this.result*Math.pow(u,i)+parseInt(t.substr(n,i),u),this.consumed+=i}}stateNumericHex(t,n){const r=n;for(;n<t.length;){const u=t.charCodeAt(n);if(Lu(u)||Nf(u))n+=1;else return this.addToNumericResult(t,r,n,16),this.emitNumericEntity(u,3)}return this.addToNumericResult(t,r,n,16),-1}stateNumericDecimal(t,n){const r=n;for(;n<t.length;){const u=t.charCodeAt(n);if(Lu(u))n+=1;else return this.addToNumericResult(t,r,n,10),this.emitNumericEntity(u,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===Ce.SEMI)this.consumed+=1;else if(this.decodeMode===Dt.Strict)return 0;return this.emitCodePoint(Lf(this.result),this.consumed),this.errors&&(t!==Ce.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(t,n){const{decodeTree:r}=this;let u=r[this.treeIndex],i=(u&St.VALUE_LENGTH)>>14;for(;n<t.length;n++,this.excess++){const a=t.charCodeAt(n);if(this.treeIndex=jf(r,u,this.treeIndex+Math.max(1,i),a),this.treeIndex<0)return this.result===0||this.decodeMode===Dt.Attribute&&(i===0||Mf(a))?0:this.emitNotTerminatedNamedEntity();if(u=r[this.treeIndex],i=(u&St.VALUE_LENGTH)>>14,i!==0){if(a===Ce.SEMI)return this.emitNamedEntityData(this.treeIndex,i,this.consumed+this.excess);this.decodeMode!==Dt.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var t;const{result:n,decodeTree:r}=this,u=(r[n]&St.VALUE_LENGTH)>>14;return this.emitNamedEntityData(n,u,this.consumed),(t=this.errors)===null||t===void 0||t.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(t,n,r){const{decodeTree:u}=this;return this.emitCodePoint(n===1?u[t]&~St.VALUE_LENGTH:u[t+1],r),n===3&&this.emitCodePoint(u[t+2],r),r}end(){var t;switch(this.state){case ke.NamedEntity:return this.result!==0&&(this.decodeMode!==Dt.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case ke.NumericDecimal:return this.emitNumericEntity(0,2);case ke.NumericHex:return this.emitNumericEntity(0,3);case ke.NumericStart:return(t=this.errors)===null||t===void 0||t.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case ke.EntityStart:return 0}}}function Vs(e){let t="";const n=new Bf(e,r=>t+=If(r));return function(u,i){let a=0,s=0;for(;(s=u.indexOf("&",s))>=0;){t+=u.slice(a,s),n.startEntity(i);const l=n.write(u,s+1);if(l<0){a=s+n.end();break}a=s+l,s=l===0?a+1:a}const o=t+u.slice(a);return t="",o}}function jf(e,t,n,r){const u=(t&St.BRANCH_LENGTH)>>7,i=t&St.JUMP_TABLE;if(u===0)return i!==0&&r===i?n:-1;if(i){const o=r-i;return o<0||o>=u?-1:e[n+o]-1}let a=n,s=a+u-1;for(;a<=s;){const o=a+s>>>1,l=e[o];if(l<r)a=o+1;else if(l>r)s=o-1;else return e[o+u]}return-1}const $f=Vs(Rf);Vs(Of);function Ms(e,t=Dt.Legacy){return $f(e,t)}function zf(e){return Object.prototype.toString.call(e)}function ii(e){return zf(e)==="[object String]"}const Uf=Object.prototype.hasOwnProperty;function qf(e,t){return Uf.call(e,t)}function jr(e){return Array.prototype.slice.call(arguments,1).forEach(function(n){if(n){if(typeof n!="object")throw new TypeError(n+"must be object");Object.keys(n).forEach(function(r){e[r]=n[r]})}}),e}function Bs(e,t,n){return[].concat(e.slice(0,t),n,e.slice(t+1))}function ai(e){return!(e>=55296&&e<=57343||e>=64976&&e<=65007||(e&65535)===65535||(e&65535)===65534||e>=0&&e<=8||e===11||e>=14&&e<=31||e>=127&&e<=159||e>1114111)}function Cr(e){if(e>65535){e-=65536;const t=55296+(e>>10),n=56320+(e&1023);return String.fromCharCode(t,n)}return String.fromCharCode(e)}const js=/\\([!"#$%&'()*+,\-./:;<=>?@[\\\]^_`{|}~])/g,Gf=/&([a-z#][a-z0-9]{1,31});/gi,Zf=new RegExp(js.source+"|"+Gf.source,"gi"),Hf=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))$/i;function Wf(e,t){if(t.charCodeAt(0)===35&&Hf.test(t)){const r=t[1].toLowerCase()==="x"?parseInt(t.slice(2),16):parseInt(t.slice(1),10);return ai(r)?Cr(r):e}const n=Ms(e);return n!==e?n:e}function Kf(e){return e.indexOf("\\")<0?e:e.replace(js,"$1")}function tn(e){return e.indexOf("\\")<0&&e.indexOf("&")<0?e:e.replace(Zf,function(t,n,r){return n||Wf(t,r)})}const Jf=/[&<>"]/,Yf=/[&<>"]/g,Xf={"&":"&","<":"<",">":">",'"':"""};function Qf(e){return Xf[e]}function Tt(e){return Jf.test(e)?e.replace(Yf,Qf):e}const eh=/[.?*+^$[\]\\(){}|-]/g;function th(e){return e.replace(eh,"\\$&")}function oe(e){switch(e){case 9:case 32:return!0}return!1}function Dn(e){if(e>=8192&&e<=8202)return!0;switch(e){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1}function Sn(e){return ui.test(e)||Fs.test(e)}function Tn(e){switch(e){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}}function $r(e){return e=e.trim().replace(/\s+/g," "),"ẞ".toLowerCase()==="Ṿ"&&(e=e.replace(/ẞ/g,"ß")),e.toLowerCase().toUpperCase()}const nh={mdurl:Df,ucmicro:Tf},rh=Object.freeze(Object.defineProperty({__proto__:null,arrayReplaceAt:Bs,assign:jr,escapeHtml:Tt,escapeRE:th,fromCodePoint:Cr,has:qf,isMdAsciiPunct:Tn,isPunctChar:Sn,isSpace:oe,isString:ii,isValidEntityCode:ai,isWhiteSpace:Dn,lib:nh,normalizeReference:$r,unescapeAll:tn,unescapeMd:Kf},Symbol.toStringTag,{value:"Module"}));function uh(e,t,n){let r,u,i,a;const s=e.posMax,o=e.pos;for(e.pos=t+1,r=1;e.pos<s;){if(i=e.src.charCodeAt(e.pos),i===93&&(r--,r===0)){u=!0;break}if(a=e.pos,e.md.inline.skipToken(e),i===91){if(a===e.pos-1)r++;else if(n)return e.pos=o,-1}}let l=-1;return u&&(l=e.pos),e.pos=o,l}function ih(e,t,n){let r,u=t;const i={ok:!1,pos:0,str:""};if(e.charCodeAt(u)===60){for(u++;u<n;){if(r=e.charCodeAt(u),r===10||r===60)return i;if(r===62)return i.pos=u+1,i.str=tn(e.slice(t+1,u)),i.ok=!0,i;if(r===92&&u+1<n){u+=2;continue}u++}return i}let a=0;for(;u<n&&(r=e.charCodeAt(u),!(r===32||r<32||r===127));){if(r===92&&u+1<n){if(e.charCodeAt(u+1)===32)break;u+=2;continue}if(r===40&&(a++,a>32))return i;if(r===41){if(a===0)break;a--}u++}return t===u||a!==0||(i.str=tn(e.slice(t,u)),i.pos=u,i.ok=!0),i}function ah(e,t,n,r){let u,i=t;const a={ok:!1,can_continue:!1,pos:0,str:"",marker:0};if(r)a.str=r.str,a.marker=r.marker;else{if(i>=n)return a;let s=e.charCodeAt(i);if(s!==34&&s!==39&&s!==40)return a;t++,i++,s===40&&(s=41),a.marker=s}for(;i<n;){if(u=e.charCodeAt(i),u===a.marker)return a.pos=i+1,a.str+=tn(e.slice(t,i)),a.ok=!0,a;if(u===40&&a.marker===41)return a;u===92&&i+1<n&&i++,i++}return a.can_continue=!0,a.str+=tn(e.slice(t,i)),a}const sh=Object.freeze(Object.defineProperty({__proto__:null,parseLinkDestination:ih,parseLinkLabel:uh,parseLinkTitle:ah},Symbol.toStringTag,{value:"Module"})),pt={};pt.code_inline=function(e,t,n,r,u){const i=e[t];return"<code"+u.renderAttrs(i)+">"+Tt(i.content)+"</code>"};pt.code_block=function(e,t,n,r,u){const i=e[t];return"<pre"+u.renderAttrs(i)+"><code>"+Tt(e[t].content)+`</code></pre>
|
||
`};pt.fence=function(e,t,n,r,u){const i=e[t],a=i.info?tn(i.info).trim():"";let s="",o="";if(a){const c=a.split(/(\s+)/g);s=c[0],o=c.slice(2).join("")}let l;if(n.highlight?l=n.highlight(i.content,s,o)||Tt(i.content):l=Tt(i.content),l.indexOf("<pre")===0)return l+`
|
||
`;if(a){const c=i.attrIndex("class"),d=i.attrs?i.attrs.slice():[];c<0?d.push(["class",n.langPrefix+s]):(d[c]=d[c].slice(),d[c][1]+=" "+n.langPrefix+s);const m={attrs:d};return`<pre><code${u.renderAttrs(m)}>${l}</code></pre>
|
||
`}return`<pre><code${u.renderAttrs(i)}>${l}</code></pre>
|
||
`};pt.image=function(e,t,n,r,u){const i=e[t];return i.attrs[i.attrIndex("alt")][1]=u.renderInlineAsText(i.children,n,r),u.renderToken(e,t,n)};pt.hardbreak=function(e,t,n){return n.xhtmlOut?`<br />
|
||
`:`<br>
|
||
`};pt.softbreak=function(e,t,n){return n.breaks?n.xhtmlOut?`<br />
|
||
`:`<br>
|
||
`:`
|
||
`};pt.text=function(e,t){return Tt(e[t].content)};pt.html_block=function(e,t){return e[t].content};pt.html_inline=function(e,t){return e[t].content};function ln(){this.rules=jr({},pt)}ln.prototype.renderAttrs=function(t){let n,r,u;if(!t.attrs)return"";for(u="",n=0,r=t.attrs.length;n<r;n++)u+=" "+Tt(t.attrs[n][0])+'="'+Tt(t.attrs[n][1])+'"';return u};ln.prototype.renderToken=function(t,n,r){const u=t[n];let i="";if(u.hidden)return"";u.block&&u.nesting!==-1&&n&&t[n-1].hidden&&(i+=`
|
||
`),i+=(u.nesting===-1?"</":"<")+u.tag,i+=this.renderAttrs(u),u.nesting===0&&r.xhtmlOut&&(i+=" /");let a=!1;if(u.block&&(a=!0,u.nesting===1&&n+1<t.length)){const s=t[n+1];(s.type==="inline"||s.hidden||s.nesting===-1&&s.tag===u.tag)&&(a=!1)}return i+=a?`>
|
||
`:">",i};ln.prototype.renderInline=function(e,t,n){let r="";const u=this.rules;for(let i=0,a=e.length;i<a;i++){const s=e[i].type;typeof u[s]<"u"?r+=u[s](e,i,t,n,this):r+=this.renderToken(e,i,t)}return r};ln.prototype.renderInlineAsText=function(e,t,n){let r="";for(let u=0,i=e.length;u<i;u++)switch(e[u].type){case"text":r+=e[u].content;break;case"image":r+=this.renderInlineAsText(e[u].children,t,n);break;case"html_inline":case"html_block":r+=e[u].content;break;case"softbreak":case"hardbreak":r+=`
|
||
`;break}return r};ln.prototype.render=function(e,t,n){let r="";const u=this.rules;for(let i=0,a=e.length;i<a;i++){const s=e[i].type;s==="inline"?r+=this.renderInline(e[i].children,t,n):typeof u[s]<"u"?r+=u[s](e,i,t,n,this):r+=this.renderToken(e,i,t,n)}return r};function Ve(){this.__rules__=[],this.__cache__=null}Ve.prototype.__find__=function(e){for(let t=0;t<this.__rules__.length;t++)if(this.__rules__[t].name===e)return t;return-1};Ve.prototype.__compile__=function(){const e=this,t=[""];e.__rules__.forEach(function(n){n.enabled&&n.alt.forEach(function(r){t.indexOf(r)<0&&t.push(r)})}),e.__cache__={},t.forEach(function(n){e.__cache__[n]=[],e.__rules__.forEach(function(r){r.enabled&&(n&&r.alt.indexOf(n)<0||e.__cache__[n].push(r.fn))})})};Ve.prototype.at=function(e,t,n){const r=this.__find__(e),u=n||{};if(r===-1)throw new Error("Parser rule not found: "+e);this.__rules__[r].fn=t,this.__rules__[r].alt=u.alt||[],this.__cache__=null};Ve.prototype.before=function(e,t,n,r){const u=this.__find__(e),i=r||{};if(u===-1)throw new Error("Parser rule not found: "+e);this.__rules__.splice(u,0,{name:t,enabled:!0,fn:n,alt:i.alt||[]}),this.__cache__=null};Ve.prototype.after=function(e,t,n,r){const u=this.__find__(e),i=r||{};if(u===-1)throw new Error("Parser rule not found: "+e);this.__rules__.splice(u+1,0,{name:t,enabled:!0,fn:n,alt:i.alt||[]}),this.__cache__=null};Ve.prototype.push=function(e,t,n){const r=n||{};this.__rules__.push({name:e,enabled:!0,fn:t,alt:r.alt||[]}),this.__cache__=null};Ve.prototype.enable=function(e,t){Array.isArray(e)||(e=[e]);const n=[];return e.forEach(function(r){const u=this.__find__(r);if(u<0){if(t)return;throw new Error("Rules manager: invalid rule name "+r)}this.__rules__[u].enabled=!0,n.push(r)},this),this.__cache__=null,n};Ve.prototype.enableOnly=function(e,t){Array.isArray(e)||(e=[e]),this.__rules__.forEach(function(n){n.enabled=!1}),this.enable(e,t)};Ve.prototype.disable=function(e,t){Array.isArray(e)||(e=[e]);const n=[];return e.forEach(function(r){const u=this.__find__(r);if(u<0){if(t)return;throw new Error("Rules manager: invalid rule name "+r)}this.__rules__[u].enabled=!1,n.push(r)},this),this.__cache__=null,n};Ve.prototype.getRules=function(e){return this.__cache__===null&&this.__compile__(),this.__cache__[e]||[]};function rt(e,t,n){this.type=e,this.tag=t,this.attrs=null,this.map=null,this.nesting=n,this.level=0,this.children=null,this.content="",this.markup="",this.info="",this.meta=null,this.block=!1,this.hidden=!1}rt.prototype.attrIndex=function(t){if(!this.attrs)return-1;const n=this.attrs;for(let r=0,u=n.length;r<u;r++)if(n[r][0]===t)return r;return-1};rt.prototype.attrPush=function(t){this.attrs?this.attrs.push(t):this.attrs=[t]};rt.prototype.attrSet=function(t,n){const r=this.attrIndex(t),u=[t,n];r<0?this.attrPush(u):this.attrs[r]=u};rt.prototype.attrGet=function(t){const n=this.attrIndex(t);let r=null;return n>=0&&(r=this.attrs[n][1]),r};rt.prototype.attrJoin=function(t,n){const r=this.attrIndex(t);r<0?this.attrPush([t,n]):this.attrs[r][1]=this.attrs[r][1]+" "+n};function $s(e,t,n){this.src=e,this.env=n,this.tokens=[],this.inlineMode=!1,this.md=t}$s.prototype.Token=rt;const oh=/\r\n?|\n/g,lh=/\0/g;function ch(e){let t;t=e.src.replace(oh,`
|
||
`),t=t.replace(lh,"<22>"),e.src=t}function dh(e){let t;e.inlineMode?(t=new e.Token("inline","",0),t.content=e.src,t.map=[0,1],t.children=[],e.tokens.push(t)):e.md.block.parse(e.src,e.md,e.env,e.tokens)}function fh(e){const t=e.tokens;for(let n=0,r=t.length;n<r;n++){const u=t[n];u.type==="inline"&&e.md.inline.parse(u.content,e.md,e.env,u.children)}}function hh(e){return/^<a[>\s]/i.test(e)}function ph(e){return/^<\/a\s*>/i.test(e)}function mh(e){const t=e.tokens;if(e.md.options.linkify)for(let n=0,r=t.length;n<r;n++){if(t[n].type!=="inline"||!e.md.linkify.pretest(t[n].content))continue;let u=t[n].children,i=0;for(let a=u.length-1;a>=0;a--){const s=u[a];if(s.type==="link_close"){for(a--;u[a].level!==s.level&&u[a].type!=="link_open";)a--;continue}if(s.type==="html_inline"&&(hh(s.content)&&i>0&&i--,ph(s.content)&&i++),!(i>0)&&s.type==="text"&&e.md.linkify.test(s.content)){const o=s.content;let l=e.md.linkify.match(o);const c=[];let d=s.level,m=0;l.length>0&&l[0].index===0&&a>0&&u[a-1].type==="text_special"&&(l=l.slice(1));for(let f=0;f<l.length;f++){const p=l[f].url,x=e.md.normalizeLink(p);if(!e.md.validateLink(x))continue;let b=l[f].text;l[f].schema?l[f].schema==="mailto:"&&!/^mailto:/i.test(b)?b=e.md.normalizeLinkText("mailto:"+b).replace(/^mailto:/,""):b=e.md.normalizeLinkText(b):b=e.md.normalizeLinkText("http://"+b).replace(/^http:\/\//,"");const y=l[f].index;if(y>m){const A=new e.Token("text","",0);A.content=o.slice(m,y),A.level=d,c.push(A)}const v=new e.Token("link_open","a",1);v.attrs=[["href",x]],v.level=d++,v.markup="linkify",v.info="auto",c.push(v);const E=new e.Token("text","",0);E.content=b,E.level=d,c.push(E);const D=new e.Token("link_close","a",-1);D.level=--d,D.markup="linkify",D.info="auto",c.push(D),m=l[f].lastIndex}if(m<o.length){const f=new e.Token("text","",0);f.content=o.slice(m),f.level=d,c.push(f)}t[n].children=u=Bs(u,a,c)}}}}const zs=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,_h=/\((c|tm|r)\)/i,gh=/\((c|tm|r)\)/ig,bh={c:"©",r:"®",tm:"™"};function vh(e,t){return bh[t.toLowerCase()]}function yh(e){let t=0;for(let n=e.length-1;n>=0;n--){const r=e[n];r.type==="text"&&!t&&(r.content=r.content.replace(gh,vh)),r.type==="link_open"&&r.info==="auto"&&t--,r.type==="link_close"&&r.info==="auto"&&t++}}function xh(e){let t=0;for(let n=e.length-1;n>=0;n--){const r=e[n];r.type==="text"&&!t&&zs.test(r.content)&&(r.content=r.content.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---(?=[^-]|$)/mg,"$1—").replace(/(^|\s)--(?=\s|$)/mg,"$1–").replace(/(^|[^-\s])--(?=[^-\s]|$)/mg,"$1–")),r.type==="link_open"&&r.info==="auto"&&t--,r.type==="link_close"&&r.info==="auto"&&t++}}function kh(e){let t;if(e.md.options.typographer)for(t=e.tokens.length-1;t>=0;t--)e.tokens[t].type==="inline"&&(_h.test(e.tokens[t].content)&&yh(e.tokens[t].children),zs.test(e.tokens[t].content)&&xh(e.tokens[t].children))}const Eh=/['"]/,ra=/['"]/g,ua="’";function ur(e,t,n){return e.slice(0,t)+n+e.slice(t+1)}function Ah(e,t){let n;const r=[];for(let u=0;u<e.length;u++){const i=e[u],a=e[u].level;for(n=r.length-1;n>=0&&!(r[n].level<=a);n--);if(r.length=n+1,i.type!=="text")continue;let s=i.content,o=0,l=s.length;e:for(;o<l;){ra.lastIndex=o;const c=ra.exec(s);if(!c)break;let d=!0,m=!0;o=c.index+1;const f=c[0]==="'";let p=32;if(c.index-1>=0)p=s.charCodeAt(c.index-1);else for(n=u-1;n>=0&&!(e[n].type==="softbreak"||e[n].type==="hardbreak");n--)if(e[n].content){p=e[n].content.charCodeAt(e[n].content.length-1);break}let x=32;if(o<l)x=s.charCodeAt(o);else for(n=u+1;n<e.length&&!(e[n].type==="softbreak"||e[n].type==="hardbreak");n++)if(e[n].content){x=e[n].content.charCodeAt(0);break}const b=Tn(p)||Sn(String.fromCharCode(p)),y=Tn(x)||Sn(String.fromCharCode(x)),v=Dn(p),E=Dn(x);if(E?d=!1:y&&(v||b||(d=!1)),v?m=!1:b&&(E||y||(m=!1)),x===34&&c[0]==='"'&&p>=48&&p<=57&&(m=d=!1),d&&m&&(d=b,m=y),!d&&!m){f&&(i.content=ur(i.content,c.index,ua));continue}if(m)for(n=r.length-1;n>=0;n--){let D=r[n];if(r[n].level<a)break;if(D.single===f&&r[n].level===a){D=r[n];let A,T;f?(A=t.md.options.quotes[2],T=t.md.options.quotes[3]):(A=t.md.options.quotes[0],T=t.md.options.quotes[1]),i.content=ur(i.content,c.index,T),e[D.token].content=ur(e[D.token].content,D.pos,A),o+=T.length-1,D.token===u&&(o+=A.length-1),s=i.content,l=s.length,r.length=n;continue e}}d?r.push({token:u,pos:c.index,single:f,level:a}):m&&f&&(i.content=ur(i.content,c.index,ua))}}}function Ch(e){if(e.md.options.typographer)for(let t=e.tokens.length-1;t>=0;t--)e.tokens[t].type!=="inline"||!Eh.test(e.tokens[t].content)||Ah(e.tokens[t].children,e)}function wh(e){let t,n;const r=e.tokens,u=r.length;for(let i=0;i<u;i++){if(r[i].type!=="inline")continue;const a=r[i].children,s=a.length;for(t=0;t<s;t++)a[t].type==="text_special"&&(a[t].type="text");for(t=n=0;t<s;t++)a[t].type==="text"&&t+1<s&&a[t+1].type==="text"?a[t+1].content=a[t].content+a[t+1].content:(t!==n&&(a[n]=a[t]),n++);t!==n&&(a.length=n)}}const du=[["normalize",ch],["block",dh],["inline",fh],["linkify",mh],["replacements",kh],["smartquotes",Ch],["text_join",wh]];function si(){this.ruler=new Ve;for(let e=0;e<du.length;e++)this.ruler.push(du[e][0],du[e][1])}si.prototype.process=function(e){const t=this.ruler.getRules("");for(let n=0,r=t.length;n<r;n++)t[n](e)};si.prototype.State=$s;function mt(e,t,n,r){this.src=e,this.md=t,this.env=n,this.tokens=r,this.bMarks=[],this.eMarks=[],this.tShift=[],this.sCount=[],this.bsCount=[],this.blkIndent=0,this.line=0,this.lineMax=0,this.tight=!1,this.ddIndent=-1,this.listIndent=-1,this.parentType="root",this.level=0;const u=this.src;for(let i=0,a=0,s=0,o=0,l=u.length,c=!1;a<l;a++){const d=u.charCodeAt(a);if(!c)if(oe(d)){s++,d===9?o+=4-o%4:o++;continue}else c=!0;(d===10||a===l-1)&&(d!==10&&a++,this.bMarks.push(i),this.eMarks.push(a),this.tShift.push(s),this.sCount.push(o),this.bsCount.push(0),c=!1,s=0,o=0,i=a+1)}this.bMarks.push(u.length),this.eMarks.push(u.length),this.tShift.push(0),this.sCount.push(0),this.bsCount.push(0),this.lineMax=this.bMarks.length-1}mt.prototype.push=function(e,t,n){const r=new rt(e,t,n);return r.block=!0,n<0&&this.level--,r.level=this.level,n>0&&this.level++,this.tokens.push(r),r};mt.prototype.isEmpty=function(t){return this.bMarks[t]+this.tShift[t]>=this.eMarks[t]};mt.prototype.skipEmptyLines=function(t){for(let n=this.lineMax;t<n&&!(this.bMarks[t]+this.tShift[t]<this.eMarks[t]);t++);return t};mt.prototype.skipSpaces=function(t){for(let n=this.src.length;t<n;t++){const r=this.src.charCodeAt(t);if(!oe(r))break}return t};mt.prototype.skipSpacesBack=function(t,n){if(t<=n)return t;for(;t>n;)if(!oe(this.src.charCodeAt(--t)))return t+1;return t};mt.prototype.skipChars=function(t,n){for(let r=this.src.length;t<r&&this.src.charCodeAt(t)===n;t++);return t};mt.prototype.skipCharsBack=function(t,n,r){if(t<=r)return t;for(;t>r;)if(n!==this.src.charCodeAt(--t))return t+1;return t};mt.prototype.getLines=function(t,n,r,u){if(t>=n)return"";const i=new Array(n-t);for(let a=0,s=t;s<n;s++,a++){let o=0;const l=this.bMarks[s];let c=l,d;for(s+1<n||u?d=this.eMarks[s]+1:d=this.eMarks[s];c<d&&o<r;){const m=this.src.charCodeAt(c);if(oe(m))m===9?o+=4-(o+this.bsCount[s])%4:o++;else if(c-l<this.tShift[s])o++;else break;c++}o>r?i[a]=new Array(o-r+1).join(" ")+this.src.slice(c,d):i[a]=this.src.slice(c,d)}return i.join("")};mt.prototype.Token=rt;const Dh=65536;function fu(e,t){const n=e.bMarks[t]+e.tShift[t],r=e.eMarks[t];return e.src.slice(n,r)}function ia(e){const t=[],n=e.length;let r=0,u=e.charCodeAt(r),i=!1,a=0,s="";for(;r<n;)u===124&&(i?(s+=e.substring(a,r-1),a=r):(t.push(s+e.substring(a,r)),s="",a=r+1)),i=u===92,r++,u=e.charCodeAt(r);return t.push(s+e.substring(a)),t}function Sh(e,t,n,r){if(t+2>n)return!1;let u=t+1;if(e.sCount[u]<e.blkIndent||e.sCount[u]-e.blkIndent>=4)return!1;let i=e.bMarks[u]+e.tShift[u];if(i>=e.eMarks[u])return!1;const a=e.src.charCodeAt(i++);if(a!==124&&a!==45&&a!==58||i>=e.eMarks[u])return!1;const s=e.src.charCodeAt(i++);if(s!==124&&s!==45&&s!==58&&!oe(s)||a===45&&oe(s))return!1;for(;i<e.eMarks[u];){const D=e.src.charCodeAt(i);if(D!==124&&D!==45&&D!==58&&!oe(D))return!1;i++}let o=fu(e,t+1),l=o.split("|");const c=[];for(let D=0;D<l.length;D++){const A=l[D].trim();if(!A){if(D===0||D===l.length-1)continue;return!1}if(!/^:?-+:?$/.test(A))return!1;A.charCodeAt(A.length-1)===58?c.push(A.charCodeAt(0)===58?"center":"right"):A.charCodeAt(0)===58?c.push("left"):c.push("")}if(o=fu(e,t).trim(),o.indexOf("|")===-1||e.sCount[t]-e.blkIndent>=4)return!1;l=ia(o),l.length&&l[0]===""&&l.shift(),l.length&&l[l.length-1]===""&&l.pop();const d=l.length;if(d===0||d!==c.length)return!1;if(r)return!0;const m=e.parentType;e.parentType="table";const f=e.md.block.ruler.getRules("blockquote"),p=e.push("table_open","table",1),x=[t,0];p.map=x;const b=e.push("thead_open","thead",1);b.map=[t,t+1];const y=e.push("tr_open","tr",1);y.map=[t,t+1];for(let D=0;D<l.length;D++){const A=e.push("th_open","th",1);c[D]&&(A.attrs=[["style","text-align:"+c[D]]]);const T=e.push("inline","",0);T.content=l[D].trim(),T.children=[],e.push("th_close","th",-1)}e.push("tr_close","tr",-1),e.push("thead_close","thead",-1);let v,E=0;for(u=t+2;u<n&&!(e.sCount[u]<e.blkIndent);u++){let D=!1;for(let T=0,R=f.length;T<R;T++)if(f[T](e,u,n,!0)){D=!0;break}if(D||(o=fu(e,u).trim(),!o)||e.sCount[u]-e.blkIndent>=4||(l=ia(o),l.length&&l[0]===""&&l.shift(),l.length&&l[l.length-1]===""&&l.pop(),E+=d-l.length,E>Dh))break;if(u===t+2){const T=e.push("tbody_open","tbody",1);T.map=v=[t+2,0]}const A=e.push("tr_open","tr",1);A.map=[u,u+1];for(let T=0;T<d;T++){const R=e.push("td_open","td",1);c[T]&&(R.attrs=[["style","text-align:"+c[T]]]);const q=e.push("inline","",0);q.content=l[T]?l[T].trim():"",q.children=[],e.push("td_close","td",-1)}e.push("tr_close","tr",-1)}return v&&(e.push("tbody_close","tbody",-1),v[1]=u),e.push("table_close","table",-1),x[1]=u,e.parentType=m,e.line=u,!0}function Th(e,t,n){if(e.sCount[t]-e.blkIndent<4)return!1;let r=t+1,u=r;for(;r<n;){if(e.isEmpty(r)){r++;continue}if(e.sCount[r]-e.blkIndent>=4){r++,u=r;continue}break}e.line=u;const i=e.push("code_block","code",0);return i.content=e.getLines(t,u,4+e.blkIndent,!1)+`
|
||
`,i.map=[t,e.line],!0}function Rh(e,t,n,r){let u=e.bMarks[t]+e.tShift[t],i=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4||u+3>i)return!1;const a=e.src.charCodeAt(u);if(a!==126&&a!==96)return!1;let s=u;u=e.skipChars(u,a);let o=u-s;if(o<3)return!1;const l=e.src.slice(s,u),c=e.src.slice(u,i);if(a===96&&c.indexOf(String.fromCharCode(a))>=0)return!1;if(r)return!0;let d=t,m=!1;for(;d++,!(d>=n||(u=s=e.bMarks[d]+e.tShift[d],i=e.eMarks[d],u<i&&e.sCount[d]<e.blkIndent));)if(e.src.charCodeAt(u)===a&&!(e.sCount[d]-e.blkIndent>=4)&&(u=e.skipChars(u,a),!(u-s<o)&&(u=e.skipSpaces(u),!(u<i)))){m=!0;break}o=e.sCount[t],e.line=d+(m?1:0);const f=e.push("fence","code",0);return f.info=c,f.content=e.getLines(t+1,d,o,!0),f.markup=l,f.map=[t,e.line],!0}function Oh(e,t,n,r){let u=e.bMarks[t]+e.tShift[t],i=e.eMarks[t];const a=e.lineMax;if(e.sCount[t]-e.blkIndent>=4||e.src.charCodeAt(u)!==62)return!1;if(r)return!0;const s=[],o=[],l=[],c=[],d=e.md.block.ruler.getRules("blockquote"),m=e.parentType;e.parentType="blockquote";let f=!1,p;for(p=t;p<n;p++){const E=e.sCount[p]<e.blkIndent;if(u=e.bMarks[p]+e.tShift[p],i=e.eMarks[p],u>=i)break;if(e.src.charCodeAt(u++)===62&&!E){let A=e.sCount[p]+1,T,R;e.src.charCodeAt(u)===32?(u++,A++,R=!1,T=!0):e.src.charCodeAt(u)===9?(T=!0,(e.bsCount[p]+A)%4===3?(u++,A++,R=!1):R=!0):T=!1;let q=A;for(s.push(e.bMarks[p]),e.bMarks[p]=u;u<i;){const ae=e.src.charCodeAt(u);if(oe(ae))ae===9?q+=4-(q+e.bsCount[p]+(R?1:0))%4:q++;else break;u++}f=u>=i,o.push(e.bsCount[p]),e.bsCount[p]=e.sCount[p]+1+(T?1:0),l.push(e.sCount[p]),e.sCount[p]=q-A,c.push(e.tShift[p]),e.tShift[p]=u-e.bMarks[p];continue}if(f)break;let D=!1;for(let A=0,T=d.length;A<T;A++)if(d[A](e,p,n,!0)){D=!0;break}if(D){e.lineMax=p,e.blkIndent!==0&&(s.push(e.bMarks[p]),o.push(e.bsCount[p]),c.push(e.tShift[p]),l.push(e.sCount[p]),e.sCount[p]-=e.blkIndent);break}s.push(e.bMarks[p]),o.push(e.bsCount[p]),c.push(e.tShift[p]),l.push(e.sCount[p]),e.sCount[p]=-1}const x=e.blkIndent;e.blkIndent=0;const b=e.push("blockquote_open","blockquote",1);b.markup=">";const y=[t,0];b.map=y,e.md.block.tokenize(e,t,p);const v=e.push("blockquote_close","blockquote",-1);v.markup=">",e.lineMax=a,e.parentType=m,y[1]=e.line;for(let E=0;E<c.length;E++)e.bMarks[E+t]=s[E],e.tShift[E+t]=c[E],e.sCount[E+t]=l[E],e.bsCount[E+t]=o[E];return e.blkIndent=x,!0}function Ph(e,t,n,r){const u=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;let i=e.bMarks[t]+e.tShift[t];const a=e.src.charCodeAt(i++);if(a!==42&&a!==45&&a!==95)return!1;let s=1;for(;i<u;){const l=e.src.charCodeAt(i++);if(l!==a&&!oe(l))return!1;l===a&&s++}if(s<3)return!1;if(r)return!0;e.line=t+1;const o=e.push("hr","hr",0);return o.map=[t,e.line],o.markup=Array(s+1).join(String.fromCharCode(a)),!0}function aa(e,t){const n=e.eMarks[t];let r=e.bMarks[t]+e.tShift[t];const u=e.src.charCodeAt(r++);if(u!==42&&u!==45&&u!==43)return-1;if(r<n){const i=e.src.charCodeAt(r);if(!oe(i))return-1}return r}function sa(e,t){const n=e.bMarks[t]+e.tShift[t],r=e.eMarks[t];let u=n;if(u+1>=r)return-1;let i=e.src.charCodeAt(u++);if(i<48||i>57)return-1;for(;;){if(u>=r)return-1;if(i=e.src.charCodeAt(u++),i>=48&&i<=57){if(u-n>=10)return-1;continue}if(i===41||i===46)break;return-1}return u<r&&(i=e.src.charCodeAt(u),!oe(i))?-1:u}function Ih(e,t){const n=e.level+2;for(let r=t+2,u=e.tokens.length-2;r<u;r++)e.tokens[r].level===n&&e.tokens[r].type==="paragraph_open"&&(e.tokens[r+2].hidden=!0,e.tokens[r].hidden=!0,r+=2)}function Lh(e,t,n,r){let u,i,a,s,o=t,l=!0;if(e.sCount[o]-e.blkIndent>=4||e.listIndent>=0&&e.sCount[o]-e.listIndent>=4&&e.sCount[o]<e.blkIndent)return!1;let c=!1;r&&e.parentType==="paragraph"&&e.sCount[o]>=e.blkIndent&&(c=!0);let d,m,f;if((f=sa(e,o))>=0){if(d=!0,a=e.bMarks[o]+e.tShift[o],m=Number(e.src.slice(a,f-1)),c&&m!==1)return!1}else if((f=aa(e,o))>=0)d=!1;else return!1;if(c&&e.skipSpaces(f)>=e.eMarks[o])return!1;if(r)return!0;const p=e.src.charCodeAt(f-1),x=e.tokens.length;d?(s=e.push("ordered_list_open","ol",1),m!==1&&(s.attrs=[["start",m]])):s=e.push("bullet_list_open","ul",1);const b=[o,0];s.map=b,s.markup=String.fromCharCode(p);let y=!1;const v=e.md.block.ruler.getRules("list"),E=e.parentType;for(e.parentType="list";o<n;){i=f,u=e.eMarks[o];const D=e.sCount[o]+f-(e.bMarks[o]+e.tShift[o]);let A=D;for(;i<u;){const ce=e.src.charCodeAt(i);if(ce===9)A+=4-(A+e.bsCount[o])%4;else if(ce===32)A++;else break;i++}const T=i;let R;T>=u?R=1:R=A-D,R>4&&(R=1);const q=D+R;s=e.push("list_item_open","li",1),s.markup=String.fromCharCode(p);const ae=[o,0];s.map=ae,d&&(s.info=e.src.slice(a,f-1));const me=e.tight,Y=e.tShift[o],we=e.sCount[o],Ue=e.listIndent;if(e.listIndent=e.blkIndent,e.blkIndent=q,e.tight=!0,e.tShift[o]=T-e.bMarks[o],e.sCount[o]=A,T>=u&&e.isEmpty(o+1)?e.line=Math.min(e.line+2,n):e.md.block.tokenize(e,o,n,!0),(!e.tight||y)&&(l=!1),y=e.line-o>1&&e.isEmpty(e.line-1),e.blkIndent=e.listIndent,e.listIndent=Ue,e.tShift[o]=Y,e.sCount[o]=we,e.tight=me,s=e.push("list_item_close","li",-1),s.markup=String.fromCharCode(p),o=e.line,ae[1]=o,o>=n||e.sCount[o]<e.blkIndent||e.sCount[o]-e.blkIndent>=4)break;let le=!1;for(let ce=0,xe=v.length;ce<xe;ce++)if(v[ce](e,o,n,!0)){le=!0;break}if(le)break;if(d){if(f=sa(e,o),f<0)break;a=e.bMarks[o]+e.tShift[o]}else if(f=aa(e,o),f<0)break;if(p!==e.src.charCodeAt(f-1))break}return d?s=e.push("ordered_list_close","ol",-1):s=e.push("bullet_list_close","ul",-1),s.markup=String.fromCharCode(p),b[1]=o,e.line=o,e.parentType=E,l&&Ih(e,x),!0}function Fh(e,t,n,r){let u=e.bMarks[t]+e.tShift[t],i=e.eMarks[t],a=t+1;if(e.sCount[t]-e.blkIndent>=4||e.src.charCodeAt(u)!==91)return!1;function s(v){const E=e.lineMax;if(v>=E||e.isEmpty(v))return null;let D=!1;if(e.sCount[v]-e.blkIndent>3&&(D=!0),e.sCount[v]<0&&(D=!0),!D){const R=e.md.block.ruler.getRules("reference"),q=e.parentType;e.parentType="reference";let ae=!1;for(let me=0,Y=R.length;me<Y;me++)if(R[me](e,v,E,!0)){ae=!0;break}if(e.parentType=q,ae)return null}const A=e.bMarks[v]+e.tShift[v],T=e.eMarks[v];return e.src.slice(A,T+1)}let o=e.src.slice(u,i+1);i=o.length;let l=-1;for(u=1;u<i;u++){const v=o.charCodeAt(u);if(v===91)return!1;if(v===93){l=u;break}else if(v===10){const E=s(a);E!==null&&(o+=E,i=o.length,a++)}else if(v===92&&(u++,u<i&&o.charCodeAt(u)===10)){const E=s(a);E!==null&&(o+=E,i=o.length,a++)}}if(l<0||o.charCodeAt(l+1)!==58)return!1;for(u=l+2;u<i;u++){const v=o.charCodeAt(u);if(v===10){const E=s(a);E!==null&&(o+=E,i=o.length,a++)}else if(!oe(v))break}const c=e.md.helpers.parseLinkDestination(o,u,i);if(!c.ok)return!1;const d=e.md.normalizeLink(c.str);if(!e.md.validateLink(d))return!1;u=c.pos;const m=u,f=a,p=u;for(;u<i;u++){const v=o.charCodeAt(u);if(v===10){const E=s(a);E!==null&&(o+=E,i=o.length,a++)}else if(!oe(v))break}let x=e.md.helpers.parseLinkTitle(o,u,i);for(;x.can_continue;){const v=s(a);if(v===null)break;o+=v,u=i,i=o.length,a++,x=e.md.helpers.parseLinkTitle(o,u,i,x)}let b;for(u<i&&p!==u&&x.ok?(b=x.str,u=x.pos):(b="",u=m,a=f);u<i;){const v=o.charCodeAt(u);if(!oe(v))break;u++}if(u<i&&o.charCodeAt(u)!==10&&b)for(b="",u=m,a=f;u<i;){const v=o.charCodeAt(u);if(!oe(v))break;u++}if(u<i&&o.charCodeAt(u)!==10)return!1;const y=$r(o.slice(1,l));return y?(r||(typeof e.env.references>"u"&&(e.env.references={}),typeof e.env.references[y]>"u"&&(e.env.references[y]={title:b,href:d}),e.line=a),!0):!1}const Nh=["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"],Vh="[a-zA-Z_:][a-zA-Z0-9:._-]*",Mh="[^\"'=<>`\\x00-\\x20]+",Bh="'[^']*'",jh='"[^"]*"',$h="(?:"+Mh+"|"+Bh+"|"+jh+")",zh="(?:\\s+"+Vh+"(?:\\s*=\\s*"+$h+")?)",Us="<[A-Za-z][A-Za-z0-9\\-]*"+zh+"*\\s*\\/?>",qs="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",Uh="<!---?>|<!--(?:[^-]|-[^-]|--[^>])*-->",qh="<[?][\\s\\S]*?[?]>",Gh="<![A-Za-z][^>]*>",Zh="<!\\[CDATA\\[[\\s\\S]*?\\]\\]>",Hh=new RegExp("^(?:"+Us+"|"+qs+"|"+Uh+"|"+qh+"|"+Gh+"|"+Zh+")"),Wh=new RegExp("^(?:"+Us+"|"+qs+")"),Gt=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^<!--/,/-->/,!0],[/^<\?/,/\?>/,!0],[/^<![A-Z]/,/>/,!0],[/^<!\[CDATA\[/,/\]\]>/,!0],[new RegExp("^</?("+Nh.join("|")+")(?=(\\s|/?>|$))","i"),/^$/,!0],[new RegExp(Wh.source+"\\s*$"),/^$/,!1]];function Kh(e,t,n,r){let u=e.bMarks[t]+e.tShift[t],i=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4||!e.md.options.html||e.src.charCodeAt(u)!==60)return!1;let a=e.src.slice(u,i),s=0;for(;s<Gt.length&&!Gt[s][0].test(a);s++);if(s===Gt.length)return!1;if(r)return Gt[s][2];let o=t+1;if(!Gt[s][1].test(a)){for(;o<n&&!(e.sCount[o]<e.blkIndent);o++)if(u=e.bMarks[o]+e.tShift[o],i=e.eMarks[o],a=e.src.slice(u,i),Gt[s][1].test(a)){a.length!==0&&o++;break}}e.line=o;const l=e.push("html_block","",0);return l.map=[t,o],l.content=e.getLines(t,o,e.blkIndent,!0),!0}function Jh(e,t,n,r){let u=e.bMarks[t]+e.tShift[t],i=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;let a=e.src.charCodeAt(u);if(a!==35||u>=i)return!1;let s=1;for(a=e.src.charCodeAt(++u);a===35&&u<i&&s<=6;)s++,a=e.src.charCodeAt(++u);if(s>6||u<i&&!oe(a))return!1;if(r)return!0;i=e.skipSpacesBack(i,u);const o=e.skipCharsBack(i,35,u);o>u&&oe(e.src.charCodeAt(o-1))&&(i=o),e.line=t+1;const l=e.push("heading_open","h"+String(s),1);l.markup="########".slice(0,s),l.map=[t,e.line];const c=e.push("inline","",0);c.content=e.src.slice(u,i).trim(),c.map=[t,e.line],c.children=[];const d=e.push("heading_close","h"+String(s),-1);return d.markup="########".slice(0,s),!0}function Yh(e,t,n){const r=e.md.block.ruler.getRules("paragraph");if(e.sCount[t]-e.blkIndent>=4)return!1;const u=e.parentType;e.parentType="paragraph";let i=0,a,s=t+1;for(;s<n&&!e.isEmpty(s);s++){if(e.sCount[s]-e.blkIndent>3)continue;if(e.sCount[s]>=e.blkIndent){let f=e.bMarks[s]+e.tShift[s];const p=e.eMarks[s];if(f<p&&(a=e.src.charCodeAt(f),(a===45||a===61)&&(f=e.skipChars(f,a),f=e.skipSpaces(f),f>=p))){i=a===61?1:2;break}}if(e.sCount[s]<0)continue;let m=!1;for(let f=0,p=r.length;f<p;f++)if(r[f](e,s,n,!0)){m=!0;break}if(m)break}if(!i)return!1;const o=e.getLines(t,s,e.blkIndent,!1).trim();e.line=s+1;const l=e.push("heading_open","h"+String(i),1);l.markup=String.fromCharCode(a),l.map=[t,e.line];const c=e.push("inline","",0);c.content=o,c.map=[t,e.line-1],c.children=[];const d=e.push("heading_close","h"+String(i),-1);return d.markup=String.fromCharCode(a),e.parentType=u,!0}function Xh(e,t,n){const r=e.md.block.ruler.getRules("paragraph"),u=e.parentType;let i=t+1;for(e.parentType="paragraph";i<n&&!e.isEmpty(i);i++){if(e.sCount[i]-e.blkIndent>3||e.sCount[i]<0)continue;let l=!1;for(let c=0,d=r.length;c<d;c++)if(r[c](e,i,n,!0)){l=!0;break}if(l)break}const a=e.getLines(t,i,e.blkIndent,!1).trim();e.line=i;const s=e.push("paragraph_open","p",1);s.map=[t,e.line];const o=e.push("inline","",0);return o.content=a,o.map=[t,e.line],o.children=[],e.push("paragraph_close","p",-1),e.parentType=u,!0}const ir=[["table",Sh,["paragraph","reference"]],["code",Th],["fence",Rh,["paragraph","reference","blockquote","list"]],["blockquote",Oh,["paragraph","reference","blockquote","list"]],["hr",Ph,["paragraph","reference","blockquote","list"]],["list",Lh,["paragraph","reference","blockquote"]],["reference",Fh],["html_block",Kh,["paragraph","reference","blockquote"]],["heading",Jh,["paragraph","reference","blockquote"]],["lheading",Yh],["paragraph",Xh]];function zr(){this.ruler=new Ve;for(let e=0;e<ir.length;e++)this.ruler.push(ir[e][0],ir[e][1],{alt:(ir[e][2]||[]).slice()})}zr.prototype.tokenize=function(e,t,n){const r=this.ruler.getRules(""),u=r.length,i=e.md.options.maxNesting;let a=t,s=!1;for(;a<n&&(e.line=a=e.skipEmptyLines(a),!(a>=n||e.sCount[a]<e.blkIndent));){if(e.level>=i){e.line=n;break}const o=e.line;let l=!1;for(let c=0;c<u;c++)if(l=r[c](e,a,n,!1),l){if(o>=e.line)throw new Error("block rule didn't increment state.line");break}if(!l)throw new Error("none of the block rules matched");e.tight=!s,e.isEmpty(e.line-1)&&(s=!0),a=e.line,a<n&&e.isEmpty(a)&&(s=!0,a++,e.line=a)}};zr.prototype.parse=function(e,t,n,r){if(!e)return;const u=new this.State(e,t,n,r);this.tokenize(u,u.line,u.lineMax)};zr.prototype.State=mt;function Wn(e,t,n,r){this.src=e,this.env=n,this.md=t,this.tokens=r,this.tokens_meta=Array(r.length),this.pos=0,this.posMax=this.src.length,this.level=0,this.pending="",this.pendingLevel=0,this.cache={},this.delimiters=[],this._prev_delimiters=[],this.backticks={},this.backticksScanned=!1,this.linkLevel=0}Wn.prototype.pushPending=function(){const e=new rt("text","",0);return e.content=this.pending,e.level=this.pendingLevel,this.tokens.push(e),this.pending="",e};Wn.prototype.push=function(e,t,n){this.pending&&this.pushPending();const r=new rt(e,t,n);let u=null;return n<0&&(this.level--,this.delimiters=this._prev_delimiters.pop()),r.level=this.level,n>0&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],u={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(r),this.tokens_meta.push(u),r};Wn.prototype.scanDelims=function(e,t){const n=this.posMax,r=this.src.charCodeAt(e),u=e>0?this.src.charCodeAt(e-1):32;let i=e;for(;i<n&&this.src.charCodeAt(i)===r;)i++;const a=i-e,s=i<n?this.src.charCodeAt(i):32,o=Tn(u)||Sn(String.fromCharCode(u)),l=Tn(s)||Sn(String.fromCharCode(s)),c=Dn(u),d=Dn(s),m=!d&&(!l||c||o),f=!c&&(!o||d||l);return{can_open:m&&(t||!f||o),can_close:f&&(t||!m||l),length:a}};Wn.prototype.Token=rt;function Qh(e){switch(e){case 10:case 33:case 35:case 36:case 37:case 38:case 42:case 43:case 45:case 58:case 60:case 61:case 62:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 125:case 126:return!0;default:return!1}}function ep(e,t){let n=e.pos;for(;n<e.posMax&&!Qh(e.src.charCodeAt(n));)n++;return n===e.pos?!1:(t||(e.pending+=e.src.slice(e.pos,n)),e.pos=n,!0)}const tp=/(?:^|[^a-z0-9.+-])([a-z][a-z0-9.+-]*)$/i;function np(e,t){if(!e.md.options.linkify||e.linkLevel>0)return!1;const n=e.pos,r=e.posMax;if(n+3>r||e.src.charCodeAt(n)!==58||e.src.charCodeAt(n+1)!==47||e.src.charCodeAt(n+2)!==47)return!1;const u=e.pending.match(tp);if(!u)return!1;const i=u[1],a=e.md.linkify.matchAtStart(e.src.slice(n-i.length));if(!a)return!1;let s=a.url;if(s.length<=i.length)return!1;s=s.replace(/\*+$/,"");const o=e.md.normalizeLink(s);if(!e.md.validateLink(o))return!1;if(!t){e.pending=e.pending.slice(0,-i.length);const l=e.push("link_open","a",1);l.attrs=[["href",o]],l.markup="linkify",l.info="auto";const c=e.push("text","",0);c.content=e.md.normalizeLinkText(s);const d=e.push("link_close","a",-1);d.markup="linkify",d.info="auto"}return e.pos+=s.length-i.length,!0}function rp(e,t){let n=e.pos;if(e.src.charCodeAt(n)!==10)return!1;const r=e.pending.length-1,u=e.posMax;if(!t)if(r>=0&&e.pending.charCodeAt(r)===32)if(r>=1&&e.pending.charCodeAt(r-1)===32){let i=r-1;for(;i>=1&&e.pending.charCodeAt(i-1)===32;)i--;e.pending=e.pending.slice(0,i),e.push("hardbreak","br",0)}else e.pending=e.pending.slice(0,-1),e.push("softbreak","br",0);else e.push("softbreak","br",0);for(n++;n<u&&oe(e.src.charCodeAt(n));)n++;return e.pos=n,!0}const oi=[];for(let e=0;e<256;e++)oi.push(0);"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach(function(e){oi[e.charCodeAt(0)]=1});function up(e,t){let n=e.pos;const r=e.posMax;if(e.src.charCodeAt(n)!==92||(n++,n>=r))return!1;let u=e.src.charCodeAt(n);if(u===10){for(t||e.push("hardbreak","br",0),n++;n<r&&(u=e.src.charCodeAt(n),!!oe(u));)n++;return e.pos=n,!0}let i=e.src[n];if(u>=55296&&u<=56319&&n+1<r){const s=e.src.charCodeAt(n+1);s>=56320&&s<=57343&&(i+=e.src[n+1],n++)}const a="\\"+i;if(!t){const s=e.push("text_special","",0);u<256&&oi[u]!==0?s.content=i:s.content=a,s.markup=a,s.info="escape"}return e.pos=n+1,!0}function ip(e,t){let n=e.pos;if(e.src.charCodeAt(n)!==96)return!1;const u=n;n++;const i=e.posMax;for(;n<i&&e.src.charCodeAt(n)===96;)n++;const a=e.src.slice(u,n),s=a.length;if(e.backticksScanned&&(e.backticks[s]||0)<=u)return t||(e.pending+=a),e.pos+=s,!0;let o=n,l;for(;(l=e.src.indexOf("`",o))!==-1;){for(o=l+1;o<i&&e.src.charCodeAt(o)===96;)o++;const c=o-l;if(c===s){if(!t){const d=e.push("code_inline","code",0);d.markup=a,d.content=e.src.slice(n,l).replace(/\n/g," ").replace(/^ (.+) $/,"$1")}return e.pos=o,!0}e.backticks[c]=l}return e.backticksScanned=!0,t||(e.pending+=a),e.pos+=s,!0}function ap(e,t){const n=e.pos,r=e.src.charCodeAt(n);if(t||r!==126)return!1;const u=e.scanDelims(e.pos,!0);let i=u.length;const a=String.fromCharCode(r);if(i<2)return!1;let s;i%2&&(s=e.push("text","",0),s.content=a,i--);for(let o=0;o<i;o+=2)s=e.push("text","",0),s.content=a+a,e.delimiters.push({marker:r,length:0,token:e.tokens.length-1,end:-1,open:u.can_open,close:u.can_close});return e.pos+=u.length,!0}function oa(e,t){let n;const r=[],u=t.length;for(let i=0;i<u;i++){const a=t[i];if(a.marker!==126||a.end===-1)continue;const s=t[a.end];n=e.tokens[a.token],n.type="s_open",n.tag="s",n.nesting=1,n.markup="~~",n.content="",n=e.tokens[s.token],n.type="s_close",n.tag="s",n.nesting=-1,n.markup="~~",n.content="",e.tokens[s.token-1].type==="text"&&e.tokens[s.token-1].content==="~"&&r.push(s.token-1)}for(;r.length;){const i=r.pop();let a=i+1;for(;a<e.tokens.length&&e.tokens[a].type==="s_close";)a++;a--,i!==a&&(n=e.tokens[a],e.tokens[a]=e.tokens[i],e.tokens[i]=n)}}function sp(e){const t=e.tokens_meta,n=e.tokens_meta.length;oa(e,e.delimiters);for(let r=0;r<n;r++)t[r]&&t[r].delimiters&&oa(e,t[r].delimiters)}const Gs={tokenize:ap,postProcess:sp};function op(e,t){const n=e.pos,r=e.src.charCodeAt(n);if(t||r!==95&&r!==42)return!1;const u=e.scanDelims(e.pos,r===42);for(let i=0;i<u.length;i++){const a=e.push("text","",0);a.content=String.fromCharCode(r),e.delimiters.push({marker:r,length:u.length,token:e.tokens.length-1,end:-1,open:u.can_open,close:u.can_close})}return e.pos+=u.length,!0}function la(e,t){const n=t.length;for(let r=n-1;r>=0;r--){const u=t[r];if(u.marker!==95&&u.marker!==42||u.end===-1)continue;const i=t[u.end],a=r>0&&t[r-1].end===u.end+1&&t[r-1].marker===u.marker&&t[r-1].token===u.token-1&&t[u.end+1].token===i.token+1,s=String.fromCharCode(u.marker),o=e.tokens[u.token];o.type=a?"strong_open":"em_open",o.tag=a?"strong":"em",o.nesting=1,o.markup=a?s+s:s,o.content="";const l=e.tokens[i.token];l.type=a?"strong_close":"em_close",l.tag=a?"strong":"em",l.nesting=-1,l.markup=a?s+s:s,l.content="",a&&(e.tokens[t[r-1].token].content="",e.tokens[t[u.end+1].token].content="",r--)}}function lp(e){const t=e.tokens_meta,n=e.tokens_meta.length;la(e,e.delimiters);for(let r=0;r<n;r++)t[r]&&t[r].delimiters&&la(e,t[r].delimiters)}const Zs={tokenize:op,postProcess:lp};function cp(e,t){let n,r,u,i,a="",s="",o=e.pos,l=!0;if(e.src.charCodeAt(e.pos)!==91)return!1;const c=e.pos,d=e.posMax,m=e.pos+1,f=e.md.helpers.parseLinkLabel(e,e.pos,!0);if(f<0)return!1;let p=f+1;if(p<d&&e.src.charCodeAt(p)===40){for(l=!1,p++;p<d&&(n=e.src.charCodeAt(p),!(!oe(n)&&n!==10));p++);if(p>=d)return!1;if(o=p,u=e.md.helpers.parseLinkDestination(e.src,p,e.posMax),u.ok){for(a=e.md.normalizeLink(u.str),e.md.validateLink(a)?p=u.pos:a="",o=p;p<d&&(n=e.src.charCodeAt(p),!(!oe(n)&&n!==10));p++);if(u=e.md.helpers.parseLinkTitle(e.src,p,e.posMax),p<d&&o!==p&&u.ok)for(s=u.str,p=u.pos;p<d&&(n=e.src.charCodeAt(p),!(!oe(n)&&n!==10));p++);}(p>=d||e.src.charCodeAt(p)!==41)&&(l=!0),p++}if(l){if(typeof e.env.references>"u")return!1;if(p<d&&e.src.charCodeAt(p)===91?(o=p+1,p=e.md.helpers.parseLinkLabel(e,p),p>=0?r=e.src.slice(o,p++):p=f+1):p=f+1,r||(r=e.src.slice(m,f)),i=e.env.references[$r(r)],!i)return e.pos=c,!1;a=i.href,s=i.title}if(!t){e.pos=m,e.posMax=f;const x=e.push("link_open","a",1),b=[["href",a]];x.attrs=b,s&&b.push(["title",s]),e.linkLevel++,e.md.inline.tokenize(e),e.linkLevel--,e.push("link_close","a",-1)}return e.pos=p,e.posMax=d,!0}function dp(e,t){let n,r,u,i,a,s,o,l,c="";const d=e.pos,m=e.posMax;if(e.src.charCodeAt(e.pos)!==33||e.src.charCodeAt(e.pos+1)!==91)return!1;const f=e.pos+2,p=e.md.helpers.parseLinkLabel(e,e.pos+1,!1);if(p<0)return!1;if(i=p+1,i<m&&e.src.charCodeAt(i)===40){for(i++;i<m&&(n=e.src.charCodeAt(i),!(!oe(n)&&n!==10));i++);if(i>=m)return!1;for(l=i,s=e.md.helpers.parseLinkDestination(e.src,i,e.posMax),s.ok&&(c=e.md.normalizeLink(s.str),e.md.validateLink(c)?i=s.pos:c=""),l=i;i<m&&(n=e.src.charCodeAt(i),!(!oe(n)&&n!==10));i++);if(s=e.md.helpers.parseLinkTitle(e.src,i,e.posMax),i<m&&l!==i&&s.ok)for(o=s.str,i=s.pos;i<m&&(n=e.src.charCodeAt(i),!(!oe(n)&&n!==10));i++);else o="";if(i>=m||e.src.charCodeAt(i)!==41)return e.pos=d,!1;i++}else{if(typeof e.env.references>"u")return!1;if(i<m&&e.src.charCodeAt(i)===91?(l=i+1,i=e.md.helpers.parseLinkLabel(e,i),i>=0?u=e.src.slice(l,i++):i=p+1):i=p+1,u||(u=e.src.slice(f,p)),a=e.env.references[$r(u)],!a)return e.pos=d,!1;c=a.href,o=a.title}if(!t){r=e.src.slice(f,p);const x=[];e.md.inline.parse(r,e.md,e.env,x);const b=e.push("image","img",0),y=[["src",c],["alt",""]];b.attrs=y,b.children=x,b.content=r,o&&y.push(["title",o])}return e.pos=i,e.posMax=m,!0}const fp=/^([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])?)*)$/,hp=/^([a-zA-Z][a-zA-Z0-9+.-]{1,31}):([^<>\x00-\x20]*)$/;function pp(e,t){let n=e.pos;if(e.src.charCodeAt(n)!==60)return!1;const r=e.pos,u=e.posMax;for(;;){if(++n>=u)return!1;const a=e.src.charCodeAt(n);if(a===60)return!1;if(a===62)break}const i=e.src.slice(r+1,n);if(hp.test(i)){const a=e.md.normalizeLink(i);if(!e.md.validateLink(a))return!1;if(!t){const s=e.push("link_open","a",1);s.attrs=[["href",a]],s.markup="autolink",s.info="auto";const o=e.push("text","",0);o.content=e.md.normalizeLinkText(i);const l=e.push("link_close","a",-1);l.markup="autolink",l.info="auto"}return e.pos+=i.length+2,!0}if(fp.test(i)){const a=e.md.normalizeLink("mailto:"+i);if(!e.md.validateLink(a))return!1;if(!t){const s=e.push("link_open","a",1);s.attrs=[["href",a]],s.markup="autolink",s.info="auto";const o=e.push("text","",0);o.content=e.md.normalizeLinkText(i);const l=e.push("link_close","a",-1);l.markup="autolink",l.info="auto"}return e.pos+=i.length+2,!0}return!1}function mp(e){return/^<a[>\s]/i.test(e)}function _p(e){return/^<\/a\s*>/i.test(e)}function gp(e){const t=e|32;return t>=97&&t<=122}function bp(e,t){if(!e.md.options.html)return!1;const n=e.posMax,r=e.pos;if(e.src.charCodeAt(r)!==60||r+2>=n)return!1;const u=e.src.charCodeAt(r+1);if(u!==33&&u!==63&&u!==47&&!gp(u))return!1;const i=e.src.slice(r).match(Hh);if(!i)return!1;if(!t){const a=e.push("html_inline","",0);a.content=i[0],mp(a.content)&&e.linkLevel++,_p(a.content)&&e.linkLevel--}return e.pos+=i[0].length,!0}const vp=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,yp=/^&([a-z][a-z0-9]{1,31});/i;function xp(e,t){const n=e.pos,r=e.posMax;if(e.src.charCodeAt(n)!==38||n+1>=r)return!1;if(e.src.charCodeAt(n+1)===35){const i=e.src.slice(n).match(vp);if(i){if(!t){const a=i[1][0].toLowerCase()==="x"?parseInt(i[1].slice(1),16):parseInt(i[1],10),s=e.push("text_special","",0);s.content=ai(a)?Cr(a):Cr(65533),s.markup=i[0],s.info="entity"}return e.pos+=i[0].length,!0}}else{const i=e.src.slice(n).match(yp);if(i){const a=Ms(i[0]);if(a!==i[0]){if(!t){const s=e.push("text_special","",0);s.content=a,s.markup=i[0],s.info="entity"}return e.pos+=i[0].length,!0}}}return!1}function ca(e){const t={},n=e.length;if(!n)return;let r=0,u=-2;const i=[];for(let a=0;a<n;a++){const s=e[a];if(i.push(0),(e[r].marker!==s.marker||u!==s.token-1)&&(r=a),u=s.token,s.length=s.length||0,!s.close)continue;t.hasOwnProperty(s.marker)||(t[s.marker]=[-1,-1,-1,-1,-1,-1]);const o=t[s.marker][(s.open?3:0)+s.length%3];let l=r-i[r]-1,c=l;for(;l>o;l-=i[l]+1){const d=e[l];if(d.marker===s.marker&&d.open&&d.end<0){let m=!1;if((d.close||s.open)&&(d.length+s.length)%3===0&&(d.length%3!==0||s.length%3!==0)&&(m=!0),!m){const f=l>0&&!e[l-1].open?i[l-1]+1:0;i[a]=a-l+f,i[l]=f,s.open=!1,d.end=a,d.close=!1,c=-1,u=-2;break}}}c!==-1&&(t[s.marker][(s.open?3:0)+(s.length||0)%3]=c)}}function kp(e){const t=e.tokens_meta,n=e.tokens_meta.length;ca(e.delimiters);for(let r=0;r<n;r++)t[r]&&t[r].delimiters&&ca(t[r].delimiters)}function Ep(e){let t,n,r=0;const u=e.tokens,i=e.tokens.length;for(t=n=0;t<i;t++)u[t].nesting<0&&r--,u[t].level=r,u[t].nesting>0&&r++,u[t].type==="text"&&t+1<i&&u[t+1].type==="text"?u[t+1].content=u[t].content+u[t+1].content:(t!==n&&(u[n]=u[t]),n++);t!==n&&(u.length=n)}const hu=[["text",ep],["linkify",np],["newline",rp],["escape",up],["backticks",ip],["strikethrough",Gs.tokenize],["emphasis",Zs.tokenize],["link",cp],["image",dp],["autolink",pp],["html_inline",bp],["entity",xp]],pu=[["balance_pairs",kp],["strikethrough",Gs.postProcess],["emphasis",Zs.postProcess],["fragments_join",Ep]];function Kn(){this.ruler=new Ve;for(let e=0;e<hu.length;e++)this.ruler.push(hu[e][0],hu[e][1]);this.ruler2=new Ve;for(let e=0;e<pu.length;e++)this.ruler2.push(pu[e][0],pu[e][1])}Kn.prototype.skipToken=function(e){const t=e.pos,n=this.ruler.getRules(""),r=n.length,u=e.md.options.maxNesting,i=e.cache;if(typeof i[t]<"u"){e.pos=i[t];return}let a=!1;if(e.level<u){for(let s=0;s<r;s++)if(e.level++,a=n[s](e,!0),e.level--,a){if(t>=e.pos)throw new Error("inline rule didn't increment state.pos");break}}else e.pos=e.posMax;a||e.pos++,i[t]=e.pos};Kn.prototype.tokenize=function(e){const t=this.ruler.getRules(""),n=t.length,r=e.posMax,u=e.md.options.maxNesting;for(;e.pos<r;){const i=e.pos;let a=!1;if(e.level<u){for(let s=0;s<n;s++)if(a=t[s](e,!1),a){if(i>=e.pos)throw new Error("inline rule didn't increment state.pos");break}}if(a){if(e.pos>=r)break;continue}e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()};Kn.prototype.parse=function(e,t,n,r){const u=new this.State(e,t,n,r);this.tokenize(u);const i=this.ruler2.getRules(""),a=i.length;for(let s=0;s<a;s++)i[s](u)};Kn.prototype.State=Wn;function Ap(e){const t={};e=e||{},t.src_Any=Is.source,t.src_Cc=Ls.source,t.src_Z=Ns.source,t.src_P=ui.source,t.src_ZPCc=[t.src_Z,t.src_P,t.src_Cc].join("|"),t.src_ZCc=[t.src_Z,t.src_Cc].join("|");const n="[><|]";return t.src_pseudo_letter="(?:(?!"+n+"|"+t.src_ZPCc+")"+t.src_Any+")",t.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",t.src_auth="(?:(?:(?!"+t.src_ZCc+"|[@/\\[\\]()]).)+@)?",t.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",t.src_host_terminator="(?=$|"+n+"|"+t.src_ZPCc+")(?!"+(e["---"]?"-(?!--)|":"-|")+"_|:\\d|\\.-|\\.(?!$|"+t.src_ZPCc+"))",t.src_path="(?:[/?#](?:(?!"+t.src_ZCc+"|"+n+`|[()[\\]{}.,"'?!\\-;]).|\\[(?:(?!`+t.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+t.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+t.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+t.src_ZCc+`|["]).)+\\"|\\'(?:(?!`+t.src_ZCc+"|[']).)+\\'|\\'(?="+t.src_pseudo_letter+"|[-])|\\.{2,}[a-zA-Z0-9%/&]|\\.(?!"+t.src_ZCc+"|[.]|$)|"+(e["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+",(?!"+t.src_ZCc+"|$)|;(?!"+t.src_ZCc+"|$)|\\!+(?!"+t.src_ZCc+"|[!]|$)|\\?(?!"+t.src_ZCc+"|[?]|$))+|\\/)?",t.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*',t.src_xn="xn--[a-z0-9\\-]{1,59}",t.src_domain_root="(?:"+t.src_xn+"|"+t.src_pseudo_letter+"{1,63})",t.src_domain="(?:"+t.src_xn+"|(?:"+t.src_pseudo_letter+")|(?:"+t.src_pseudo_letter+"(?:-|"+t.src_pseudo_letter+"){0,61}"+t.src_pseudo_letter+"))",t.src_host="(?:(?:(?:(?:"+t.src_domain+")\\.)*"+t.src_domain+"))",t.tpl_host_fuzzy="(?:"+t.src_ip4+"|(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%)))",t.tpl_host_no_ip_fuzzy="(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%))",t.src_host_strict=t.src_host+t.src_host_terminator,t.tpl_host_fuzzy_strict=t.tpl_host_fuzzy+t.src_host_terminator,t.src_host_port_strict=t.src_host+t.src_port+t.src_host_terminator,t.tpl_host_port_fuzzy_strict=t.tpl_host_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_port_no_ip_fuzzy_strict=t.tpl_host_no_ip_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+t.src_ZPCc+"|>|$))",t.tpl_email_fuzzy="(^|"+n+'|"|\\(|'+t.src_ZCc+")("+t.src_email_name+"@"+t.tpl_host_fuzzy_strict+")",t.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_fuzzy_strict+t.src_path+")",t.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_no_ip_fuzzy_strict+t.src_path+")",t}function Fu(e){return Array.prototype.slice.call(arguments,1).forEach(function(n){n&&Object.keys(n).forEach(function(r){e[r]=n[r]})}),e}function Ur(e){return Object.prototype.toString.call(e)}function Cp(e){return Ur(e)==="[object String]"}function wp(e){return Ur(e)==="[object Object]"}function Dp(e){return Ur(e)==="[object RegExp]"}function da(e){return Ur(e)==="[object Function]"}function Sp(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}const Hs={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};function Tp(e){return Object.keys(e||{}).reduce(function(t,n){return t||Hs.hasOwnProperty(n)},!1)}const Rp={"http:":{validate:function(e,t,n){const r=e.slice(t);return n.re.http||(n.re.http=new RegExp("^\\/\\/"+n.re.src_auth+n.re.src_host_port_strict+n.re.src_path,"i")),n.re.http.test(r)?r.match(n.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(e,t,n){const r=e.slice(t);return n.re.no_http||(n.re.no_http=new RegExp("^"+n.re.src_auth+"(?:localhost|(?:(?:"+n.re.src_domain+")\\.)+"+n.re.src_domain_root+")"+n.re.src_port+n.re.src_host_terminator+n.re.src_path,"i")),n.re.no_http.test(r)?t>=3&&e[t-3]===":"||t>=3&&e[t-3]==="/"?0:r.match(n.re.no_http)[0].length:0}},"mailto:":{validate:function(e,t,n){const r=e.slice(t);return n.re.mailto||(n.re.mailto=new RegExp("^"+n.re.src_email_name+"@"+n.re.src_host_strict,"i")),n.re.mailto.test(r)?r.match(n.re.mailto)[0].length:0}}},Op="a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]",Pp="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function Ip(e){e.__index__=-1,e.__text_cache__=""}function Lp(e){return function(t,n){const r=t.slice(n);return e.test(r)?r.match(e)[0].length:0}}function fa(){return function(e,t){t.normalize(e)}}function wr(e){const t=e.re=Ap(e.__opts__),n=e.__tlds__.slice();e.onCompile(),e.__tlds_replaced__||n.push(Op),n.push(t.src_xn),t.src_tlds=n.join("|");function r(s){return s.replace("%TLDS%",t.src_tlds)}t.email_fuzzy=RegExp(r(t.tpl_email_fuzzy),"i"),t.link_fuzzy=RegExp(r(t.tpl_link_fuzzy),"i"),t.link_no_ip_fuzzy=RegExp(r(t.tpl_link_no_ip_fuzzy),"i"),t.host_fuzzy_test=RegExp(r(t.tpl_host_fuzzy_test),"i");const u=[];e.__compiled__={};function i(s,o){throw new Error('(LinkifyIt) Invalid schema "'+s+'": '+o)}Object.keys(e.__schemas__).forEach(function(s){const o=e.__schemas__[s];if(o===null)return;const l={validate:null,link:null};if(e.__compiled__[s]=l,wp(o)){Dp(o.validate)?l.validate=Lp(o.validate):da(o.validate)?l.validate=o.validate:i(s,o),da(o.normalize)?l.normalize=o.normalize:o.normalize?i(s,o):l.normalize=fa();return}if(Cp(o)){u.push(s);return}i(s,o)}),u.forEach(function(s){e.__compiled__[e.__schemas__[s]]&&(e.__compiled__[s].validate=e.__compiled__[e.__schemas__[s]].validate,e.__compiled__[s].normalize=e.__compiled__[e.__schemas__[s]].normalize)}),e.__compiled__[""]={validate:null,normalize:fa()};const a=Object.keys(e.__compiled__).filter(function(s){return s.length>0&&e.__compiled__[s]}).map(Sp).join("|");e.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+a+")","i"),e.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+a+")","ig"),e.re.schema_at_start=RegExp("^"+e.re.schema_search.source,"i"),e.re.pretest=RegExp("("+e.re.schema_test.source+")|("+e.re.host_fuzzy_test.source+")|@","i"),Ip(e)}function Fp(e,t){const n=e.__index__,r=e.__last_index__,u=e.__text_cache__.slice(n,r);this.schema=e.__schema__.toLowerCase(),this.index=n+t,this.lastIndex=r+t,this.raw=u,this.text=u,this.url=u}function Nu(e,t){const n=new Fp(e,t);return e.__compiled__[n.schema].normalize(n,e),n}function ze(e,t){if(!(this instanceof ze))return new ze(e,t);t||Tp(e)&&(t=e,e={}),this.__opts__=Fu({},Hs,t),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=Fu({},Rp,e),this.__compiled__={},this.__tlds__=Pp,this.__tlds_replaced__=!1,this.re={},wr(this)}ze.prototype.add=function(t,n){return this.__schemas__[t]=n,wr(this),this};ze.prototype.set=function(t){return this.__opts__=Fu(this.__opts__,t),this};ze.prototype.test=function(t){if(this.__text_cache__=t,this.__index__=-1,!t.length)return!1;let n,r,u,i,a,s,o,l,c;if(this.re.schema_test.test(t)){for(o=this.re.schema_search,o.lastIndex=0;(n=o.exec(t))!==null;)if(i=this.testSchemaAt(t,n[2],o.lastIndex),i){this.__schema__=n[2],this.__index__=n.index+n[1].length,this.__last_index__=n.index+n[0].length+i;break}}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(l=t.search(this.re.host_fuzzy_test),l>=0&&(this.__index__<0||l<this.__index__)&&(r=t.match(this.__opts__.fuzzyIP?this.re.link_fuzzy:this.re.link_no_ip_fuzzy))!==null&&(a=r.index+r[1].length,(this.__index__<0||a<this.__index__)&&(this.__schema__="",this.__index__=a,this.__last_index__=r.index+r[0].length))),this.__opts__.fuzzyEmail&&this.__compiled__["mailto:"]&&(c=t.indexOf("@"),c>=0&&(u=t.match(this.re.email_fuzzy))!==null&&(a=u.index+u[1].length,s=u.index+u[0].length,(this.__index__<0||a<this.__index__||a===this.__index__&&s>this.__last_index__)&&(this.__schema__="mailto:",this.__index__=a,this.__last_index__=s))),this.__index__>=0};ze.prototype.pretest=function(t){return this.re.pretest.test(t)};ze.prototype.testSchemaAt=function(t,n,r){return this.__compiled__[n.toLowerCase()]?this.__compiled__[n.toLowerCase()].validate(t,r,this):0};ze.prototype.match=function(t){const n=[];let r=0;this.__index__>=0&&this.__text_cache__===t&&(n.push(Nu(this,r)),r=this.__last_index__);let u=r?t.slice(r):t;for(;this.test(u);)n.push(Nu(this,r)),u=u.slice(this.__last_index__),r+=this.__last_index__;return n.length?n:null};ze.prototype.matchAtStart=function(t){if(this.__text_cache__=t,this.__index__=-1,!t.length)return null;const n=this.re.schema_at_start.exec(t);if(!n)return null;const r=this.testSchemaAt(t,n[2],n[0].length);return r?(this.__schema__=n[2],this.__index__=n.index+n[1].length,this.__last_index__=n.index+n[0].length+r,Nu(this,0)):null};ze.prototype.tlds=function(t,n){return t=Array.isArray(t)?t:[t],n?(this.__tlds__=this.__tlds__.concat(t).sort().filter(function(r,u,i){return r!==i[u-1]}).reverse(),wr(this),this):(this.__tlds__=t.slice(),this.__tlds_replaced__=!0,wr(this),this)};ze.prototype.normalize=function(t){t.schema||(t.url="http://"+t.url),t.schema==="mailto:"&&!/^mailto:/i.test(t.url)&&(t.url="mailto:"+t.url)};ze.prototype.onCompile=function(){};const Yt=2147483647,ot=36,li=1,Rn=26,Np=38,Vp=700,Ws=72,Ks=128,Js="-",Mp=/^xn--/,Bp=/[^\0-\x7F]/,jp=/[\x2E\u3002\uFF0E\uFF61]/g,$p={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},mu=ot-li,lt=Math.floor,_u=String.fromCharCode;function wt(e){throw new RangeError($p[e])}function zp(e,t){const n=[];let r=e.length;for(;r--;)n[r]=t(e[r]);return n}function Ys(e,t){const n=e.split("@");let r="";n.length>1&&(r=n[0]+"@",e=n[1]),e=e.replace(jp,".");const u=e.split("."),i=zp(u,t).join(".");return r+i}function Xs(e){const t=[];let n=0;const r=e.length;for(;n<r;){const u=e.charCodeAt(n++);if(u>=55296&&u<=56319&&n<r){const i=e.charCodeAt(n++);(i&64512)==56320?t.push(((u&1023)<<10)+(i&1023)+65536):(t.push(u),n--)}else t.push(u)}return t}const Up=e=>String.fromCodePoint(...e),qp=function(e){return e>=48&&e<58?26+(e-48):e>=65&&e<91?e-65:e>=97&&e<123?e-97:ot},ha=function(e,t){return e+22+75*(e<26)-((t!=0)<<5)},Qs=function(e,t,n){let r=0;for(e=n?lt(e/Vp):e>>1,e+=lt(e/t);e>mu*Rn>>1;r+=ot)e=lt(e/mu);return lt(r+(mu+1)*e/(e+Np))},eo=function(e){const t=[],n=e.length;let r=0,u=Ks,i=Ws,a=e.lastIndexOf(Js);a<0&&(a=0);for(let s=0;s<a;++s)e.charCodeAt(s)>=128&&wt("not-basic"),t.push(e.charCodeAt(s));for(let s=a>0?a+1:0;s<n;){const o=r;for(let c=1,d=ot;;d+=ot){s>=n&&wt("invalid-input");const m=qp(e.charCodeAt(s++));m>=ot&&wt("invalid-input"),m>lt((Yt-r)/c)&&wt("overflow"),r+=m*c;const f=d<=i?li:d>=i+Rn?Rn:d-i;if(m<f)break;const p=ot-f;c>lt(Yt/p)&&wt("overflow"),c*=p}const l=t.length+1;i=Qs(r-o,l,o==0),lt(r/l)>Yt-u&&wt("overflow"),u+=lt(r/l),r%=l,t.splice(r++,0,u)}return String.fromCodePoint(...t)},to=function(e){const t=[];e=Xs(e);const n=e.length;let r=Ks,u=0,i=Ws;for(const o of e)o<128&&t.push(_u(o));const a=t.length;let s=a;for(a&&t.push(Js);s<n;){let o=Yt;for(const c of e)c>=r&&c<o&&(o=c);const l=s+1;o-r>lt((Yt-u)/l)&&wt("overflow"),u+=(o-r)*l,r=o;for(const c of e)if(c<r&&++u>Yt&&wt("overflow"),c===r){let d=u;for(let m=ot;;m+=ot){const f=m<=i?li:m>=i+Rn?Rn:m-i;if(d<f)break;const p=d-f,x=ot-f;t.push(_u(ha(f+p%x,0))),d=lt(p/x)}t.push(_u(ha(d,0))),i=Qs(u,l,s===a),u=0,++s}++u,++r}return t.join("")},Gp=function(e){return Ys(e,function(t){return Mp.test(t)?eo(t.slice(4).toLowerCase()):t})},Zp=function(e){return Ys(e,function(t){return Bp.test(t)?"xn--"+to(t):t})},no={version:"2.3.1",ucs2:{decode:Xs,encode:Up},decode:eo,encode:to,toASCII:Zp,toUnicode:Gp},Hp={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}},Wp={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline","text_join"]},block:{rules:["paragraph"]},inline:{rules:["text"],rules2:["balance_pairs","fragments_join"]}}},Kp={options:{html:!0,xhtmlOut:!0,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline","text_join"]},block:{rules:["blockquote","code","fence","heading","hr","html_block","lheading","list","reference","paragraph"]},inline:{rules:["autolink","backticks","emphasis","entity","escape","html_inline","image","link","newline","text"],rules2:["balance_pairs","emphasis","fragments_join"]}}},Jp={default:Hp,zero:Wp,commonmark:Kp},Yp=/^(vbscript|javascript|file|data):/,Xp=/^data:image\/(gif|png|jpeg|webp);/;function Qp(e){const t=e.trim().toLowerCase();return Yp.test(t)?Xp.test(t):!0}const ro=["http:","https:","mailto:"];function em(e){const t=ri(e,!0);if(t.hostname&&(!t.protocol||ro.indexOf(t.protocol)>=0))try{t.hostname=no.toASCII(t.hostname)}catch{}return Hn(ni(t))}function tm(e){const t=ri(e,!0);if(t.hostname&&(!t.protocol||ro.indexOf(t.protocol)>=0))try{t.hostname=no.toUnicode(t.hostname)}catch{}return en(ni(t),en.defaultChars+"%")}function Je(e,t){if(!(this instanceof Je))return new Je(e,t);t||ii(e)||(t=e||{},e="default"),this.inline=new Kn,this.block=new zr,this.core=new si,this.renderer=new ln,this.linkify=new ze,this.validateLink=Qp,this.normalizeLink=em,this.normalizeLinkText=tm,this.utils=rh,this.helpers=jr({},sh),this.options={},this.configure(e),t&&this.set(t)}Je.prototype.set=function(e){return jr(this.options,e),this};Je.prototype.configure=function(e){const t=this;if(ii(e)){const n=e;if(e=Jp[n],!e)throw new Error('Wrong `markdown-it` preset "'+n+'", check name')}if(!e)throw new Error("Wrong `markdown-it` preset, can't be empty");return e.options&&t.set(e.options),e.components&&Object.keys(e.components).forEach(function(n){e.components[n].rules&&t[n].ruler.enableOnly(e.components[n].rules),e.components[n].rules2&&t[n].ruler2.enableOnly(e.components[n].rules2)}),this};Je.prototype.enable=function(e,t){let n=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(u){n=n.concat(this[u].ruler.enable(e,!0))},this),n=n.concat(this.inline.ruler2.enable(e,!0));const r=e.filter(function(u){return n.indexOf(u)<0});if(r.length&&!t)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+r);return this};Je.prototype.disable=function(e,t){let n=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(u){n=n.concat(this[u].ruler.disable(e,!0))},this),n=n.concat(this.inline.ruler2.disable(e,!0));const r=e.filter(function(u){return n.indexOf(u)<0});if(r.length&&!t)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+r);return this};Je.prototype.use=function(e){const t=[this].concat(Array.prototype.slice.call(arguments,1));return e.apply(e,t),this};Je.prototype.parse=function(e,t){if(typeof e!="string")throw new Error("Input data should be a String");const n=new this.core.State(e,this,t);return this.core.process(n),n.tokens};Je.prototype.render=function(e,t){return t=t||{},this.renderer.render(this.parse(e,t),this.options,t)};Je.prototype.parseInline=function(e,t){const n=new this.core.State(e,this,t);return n.inlineMode=!0,this.core.process(n),n.tokens};Je.prototype.renderInline=function(e,t){return t=t||{},this.renderer.render(this.parseInline(e,t),this.options,t)};const nm=(e,t)=>`<pre><!--::markdown-it-async::${e}::--><code>${t}</code></pre>`,rm=/<pre><!--::markdown-it-async::(\w+)::--><code>[\s\S]*?<\/code><\/pre>/g;function um(){return Math.random().toString(36).slice(2)+Math.random().toString(36).slice(2)}class im extends Je{constructor(...n){const r=new Map,u=n.length===2?n[1]:n[0];u&&"highlight"in u&&(u.highlight=ma(u.highlight,r));super(...n);k(this,"placeholderMap");k(this,"disableWarn",!1);this.placeholderMap=r}use(n,...r){return super.use(n,...r)}render(n,r){return this.options.warnOnSyncRender&&!this.disableWarn&&console.warn("[markdown-it-async] Please use `md.renderAsync` instead of `md.render`"),super.render(n,r)}async renderAsync(n,r){this.options.highlight=ma(this.options.highlight,this.placeholderMap),this.disableWarn=!0;const u=this.render(n,r);return this.disableWarn=!1,sm(u,rm,async(i,a)=>{if(!this.placeholderMap.has(a))throw new Error(`Unknown highlight placeholder id: ${a}`);const[s,o,l,c]=this.placeholderMap.get(a),d=await s||"";return this.placeholderMap.delete(a),d.startsWith("<pre")?d:`<pre><code class="language-${l}">${d}</code></pre>`})}}function am(...e){return new im(...e)}function sm(e,t,n){try{if(typeof n=="function"){const r=[];return String.prototype.replace.call(e,t,(...u)=>(r.push(n(...u)),"")),Promise.all(r).then(u=>String.prototype.replace.call(e,t,()=>u.shift()||""))}else return Promise.resolve(String.prototype.replace.call(e,t,n))}catch(r){return Promise.reject(r)}}const pa=new WeakSet;function om(e){return e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}function ma(e,t){if(!e)return;if(pa.has(e))return e;const n=(r,u,i)=>{const a=e(r,u,i);if(typeof a=="string")return a;const s=um();t.set(s,[a,r,u,i]);let o=r;return o.endsWith(`
|
||
`)&&(o=o.slice(0,-1)),o=om(o),nm(s,o)};return pa.add(n),n}var _a=11;function lm(e,t){var n=t.attributes,r,u,i,a,s;if(!(t.nodeType===_a||e.nodeType===_a)){for(var o=n.length-1;o>=0;o--)r=n[o],u=r.name,i=r.namespaceURI,a=r.value,i?(u=r.localName||u,s=e.getAttributeNS(i,u),s!==a&&(r.prefix==="xmlns"&&(u=r.name),e.setAttributeNS(i,u,a))):(s=e.getAttribute(u),s!==a&&e.setAttribute(u,a));for(var l=e.attributes,c=l.length-1;c>=0;c--)r=l[c],u=r.name,i=r.namespaceURI,i?(u=r.localName||u,t.hasAttributeNS(i,u)||e.removeAttributeNS(i,u)):t.hasAttribute(u)||e.removeAttribute(u)}}var ar,cm="http://www.w3.org/1999/xhtml",Ne=typeof document>"u"?void 0:document,dm=!!Ne&&"content"in Ne.createElement("template"),fm=!!Ne&&Ne.createRange&&"createContextualFragment"in Ne.createRange();function hm(e){var t=Ne.createElement("template");return t.innerHTML=e,t.content.childNodes[0]}function pm(e){ar||(ar=Ne.createRange(),ar.selectNode(Ne.body));var t=ar.createContextualFragment(e);return t.childNodes[0]}function mm(e){var t=Ne.createElement("body");return t.innerHTML=e,t.childNodes[0]}function _m(e){return e=e.trim(),dm?hm(e):fm?pm(e):mm(e)}function sr(e,t){var n=e.nodeName,r=t.nodeName,u,i;return n===r?!0:(u=n.charCodeAt(0),i=r.charCodeAt(0),u<=90&&i>=97?n===r.toUpperCase():i<=90&&u>=97?r===n.toUpperCase():!1)}function gm(e,t){return!t||t===cm?Ne.createElement(e):Ne.createElementNS(t,e)}function bm(e,t){for(var n=e.firstChild;n;){var r=n.nextSibling;t.appendChild(n),n=r}return t}function gu(e,t,n){e[n]!==t[n]&&(e[n]=t[n],e[n]?e.setAttribute(n,""):e.removeAttribute(n))}var ga={OPTION:function(e,t){var n=e.parentNode;if(n){var r=n.nodeName.toUpperCase();r==="OPTGROUP"&&(n=n.parentNode,r=n&&n.nodeName.toUpperCase()),r==="SELECT"&&!n.hasAttribute("multiple")&&(e.hasAttribute("selected")&&!t.selected&&(e.setAttribute("selected","selected"),e.removeAttribute("selected")),n.selectedIndex=-1)}gu(e,t,"selected")},INPUT:function(e,t){gu(e,t,"checked"),gu(e,t,"disabled"),e.value!==t.value&&(e.value=t.value),t.hasAttribute("value")||e.removeAttribute("value")},TEXTAREA:function(e,t){var n=t.value;e.value!==n&&(e.value=n);var r=e.firstChild;if(r){var u=r.nodeValue;if(u==n||!n&&u==e.placeholder)return;r.nodeValue=n}},SELECT:function(e,t){if(!t.hasAttribute("multiple")){for(var n=-1,r=0,u=e.firstChild,i,a;u;)if(a=u.nodeName&&u.nodeName.toUpperCase(),a==="OPTGROUP")i=u,u=i.firstChild;else{if(a==="OPTION"){if(u.hasAttribute("selected")){n=r;break}r++}u=u.nextSibling,!u&&i&&(u=i.nextSibling,i=null)}e.selectedIndex=n}}},hn=1,ba=11,va=3,ya=8;function Ct(){}function vm(e){if(e)return e.getAttribute&&e.getAttribute("id")||e.id}function ym(e){return function(n,r,u){if(u||(u={}),typeof r=="string")if(n.nodeName==="#document"||n.nodeName==="HTML"||n.nodeName==="BODY"){var i=r;r=Ne.createElement("html"),r.innerHTML=i}else r=_m(r);else r.nodeType===ba&&(r=r.firstElementChild);var a=u.getNodeKey||vm,s=u.onBeforeNodeAdded||Ct,o=u.onNodeAdded||Ct,l=u.onBeforeElUpdated||Ct,c=u.onElUpdated||Ct,d=u.onBeforeNodeDiscarded||Ct,m=u.onNodeDiscarded||Ct,f=u.onBeforeElChildrenUpdated||Ct,p=u.skipFromChildren||Ct,x=u.addChild||function(F,z){return F.appendChild(z)},b=u.childrenOnly===!0,y=Object.create(null),v=[];function E(F){v.push(F)}function D(F,z){if(F.nodeType===hn)for(var ne=F.firstChild;ne;){var H=void 0;z&&(H=a(ne))?E(H):(m(ne),ne.firstChild&&D(ne,z)),ne=ne.nextSibling}}function A(F,z,ne){d(F)!==!1&&(z&&z.removeChild(F),m(F),D(F,ne))}function T(F){if(F.nodeType===hn||F.nodeType===ba)for(var z=F.firstChild;z;){var ne=a(z);ne&&(y[ne]=z),T(z),z=z.nextSibling}}T(n);function R(F){o(F);for(var z=F.firstChild;z;){var ne=z.nextSibling,H=a(z);if(H){var Q=y[H];Q&&sr(z,Q)?(z.parentNode.replaceChild(Q,z),ae(Q,z)):R(z)}else R(z);z=ne}}function q(F,z,ne){for(;z;){var H=z.nextSibling;(ne=a(z))?E(ne):A(z,F,!0),z=H}}function ae(F,z,ne){var H=a(z);if(H&&delete y[H],!ne){var Q=l(F,z);if(Q===!1||(Q instanceof HTMLElement&&(F=Q,T(F)),e(F,z),c(F),f(F,z)===!1))return}F.nodeName!=="TEXTAREA"?me(F,z):ga.TEXTAREA(F,z)}function me(F,z){var ne=p(F,z),H=z.firstChild,Q=F.firstChild,Ye,qe,pe,At,L;e:for(;H;){for(At=H.nextSibling,Ye=a(H);!ne&&Q;){if(pe=Q.nextSibling,H.isSameNode&&H.isSameNode(Q)){H=At,Q=pe;continue e}qe=a(Q);var U=Q.nodeType,X=void 0;if(U===H.nodeType&&(U===hn?(Ye?Ye!==qe&&((L=y[Ye])?pe===L?X=!1:(F.insertBefore(L,Q),qe?E(qe):A(Q,F,!0),Q=L,qe=a(Q)):X=!1):qe&&(X=!1),X=X!==!1&&sr(Q,H),X&&ae(Q,H)):(U===va||U==ya)&&(X=!0,Q.nodeValue!==H.nodeValue&&(Q.nodeValue=H.nodeValue))),X){H=At,Q=pe;continue e}qe?E(qe):A(Q,F,!0),Q=pe}if(Ye&&(L=y[Ye])&&sr(L,H))ne||x(F,L),ae(L,H);else{var re=s(H);re!==!1&&(re&&(H=re),H.actualize&&(H=H.actualize(F.ownerDocument||Ne)),x(F,H),R(H))}H=At,Q=pe}q(F,Q,qe);var Ge=ga[F.nodeName];Ge&&Ge(F,z)}var Y=n,we=Y.nodeType,Ue=r.nodeType;if(!b){if(we===hn)Ue===hn?sr(n,r)||(m(n),Y=bm(n,gm(r.nodeName,r.namespaceURI))):Y=r;else if(we===va||we===ya){if(Ue===we)return Y.nodeValue!==r.nodeValue&&(Y.nodeValue=r.nodeValue),Y;Y=r}}if(Y===r)m(n);else{if(r.isSameNode&&r.isSameNode(Y))return;if(ae(Y,r,b),v)for(var le=0,ce=v.length;le<ce;le++){var xe=y[v[le]];xe&&A(xe,xe.parentNode,!1)}}return!b&&Y!==n&&n.parentNode&&(Y.actualize&&(Y=Y.actualize(n.ownerDocument||Ne)),n.parentNode.replaceChild(Y,n)),Y}}var xm=ym(lm);const km={key:1},Em=$u({__name:"Markdown",emits:["markdownUpdated"],setup(e,{emit:t}){const n=t,r=Bo(),u=be(""),i=be(null),a=be(!0),s=be(null);dt(u,m=>{i.value&&(m?xm(i.value,m):i.value.innerHTML="",n("markdownUpdated"))});let o=!1,[l,c]=[async()=>"",()=>{}];async function d(){var m;a.value=!0,s.value=null;try{const f=(m=r.default)==null?void 0:m.call(r);if(!f||f.length===0){a.value=!1,u.value="";return}const p=f.map(b=>{if(typeof b.children=="string")return b.children;throw new Error("Only text content is allowed")}).join("");o||(o=!0,[l,c]=await _f({light:"github-light",dark:"github-dark"},{},console));const x=am("default",{html:!0,linkify:!0,highlight:l});x.use($l),x.use(Ml),x.use(zl),a.value=!1,u.value=await x.renderAsync(p)}catch(f){s.value=f instanceof Error?f:new Error("Unknown markdown rendering error"),a.value=!1,u.value=""}finally{a.value=!1}}return Sa(d),jo(()=>{console.log("unmounted"),c()}),(m,f)=>s.value?s.value?(xt(),yt("div",km,[Xe("pre",null,yn(s.value),1)])):Pa("",!0):(xt(),yt("div",{key:0,class:Ft({"markdown-content":!0,"is-loading":a.value,"has-error":!!s.value})},[Xe("div",{ref_key:"markdownRef",ref:i},null,512)],2))}}),Z1=zu(Em,[["__scopeId","data-v-8ed5c9d1"]]);var ee;(function(e){e.assertEqual=u=>u;function t(u){}e.assertIs=t;function n(u){throw new Error}e.assertNever=n,e.arrayToEnum=u=>{const i={};for(const a of u)i[a]=a;return i},e.getValidEnumValues=u=>{const i=e.objectKeys(u).filter(s=>typeof u[u[s]]!="number"),a={};for(const s of i)a[s]=u[s];return e.objectValues(a)},e.objectValues=u=>e.objectKeys(u).map(function(i){return u[i]}),e.objectKeys=typeof Object.keys=="function"?u=>Object.keys(u):u=>{const i=[];for(const a in u)Object.prototype.hasOwnProperty.call(u,a)&&i.push(a);return i},e.find=(u,i)=>{for(const a of u)if(i(a))return a},e.isInteger=typeof Number.isInteger=="function"?u=>Number.isInteger(u):u=>typeof u=="number"&&isFinite(u)&&Math.floor(u)===u;function r(u,i=" | "){return u.map(a=>typeof a=="string"?`'${a}'`:a).join(i)}e.joinValues=r,e.jsonStringifyReplacer=(u,i)=>typeof i=="bigint"?i.toString():i})(ee||(ee={}));var Vu;(function(e){e.mergeShapes=(t,n)=>({...t,...n})})(Vu||(Vu={}));const P=ee.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"]),bt=e=>{switch(typeof e){case"undefined":return P.undefined;case"string":return P.string;case"number":return isNaN(e)?P.nan:P.number;case"boolean":return P.boolean;case"function":return P.function;case"bigint":return P.bigint;case"symbol":return P.symbol;case"object":return Array.isArray(e)?P.array:e===null?P.null:e.then&&typeof e.then=="function"&&e.catch&&typeof e.catch=="function"?P.promise:typeof Map<"u"&&e instanceof Map?P.map:typeof Set<"u"&&e instanceof Set?P.set:typeof Date<"u"&&e instanceof Date?P.date:P.object;default:return P.unknown}},w=ee.arrayToEnum(["invalid_type","invalid_literal","custom","invalid_union","invalid_union_discriminator","invalid_enum_value","unrecognized_keys","invalid_arguments","invalid_return_type","invalid_date","invalid_string","too_small","too_big","invalid_intersection_types","not_multiple_of","not_finite"]),Am=e=>JSON.stringify(e,null,2).replace(/"([^"]+)":/g,"$1:");class $e extends Error{get errors(){return this.issues}constructor(t){super(),this.issues=[],this.addIssue=r=>{this.issues=[...this.issues,r]},this.addIssues=(r=[])=>{this.issues=[...this.issues,...r]};const n=new.target.prototype;Object.setPrototypeOf?Object.setPrototypeOf(this,n):this.__proto__=n,this.name="ZodError",this.issues=t}format(t){const n=t||function(i){return i.message},r={_errors:[]},u=i=>{for(const a of i.issues)if(a.code==="invalid_union")a.unionErrors.map(u);else if(a.code==="invalid_return_type")u(a.returnTypeError);else if(a.code==="invalid_arguments")u(a.argumentsError);else if(a.path.length===0)r._errors.push(n(a));else{let s=r,o=0;for(;o<a.path.length;){const l=a.path[o];o===a.path.length-1?(s[l]=s[l]||{_errors:[]},s[l]._errors.push(n(a))):s[l]=s[l]||{_errors:[]},s=s[l],o++}}};return u(this),r}static assert(t){if(!(t instanceof $e))throw new Error(`Not a ZodError: ${t}`)}toString(){return this.message}get message(){return JSON.stringify(this.issues,ee.jsonStringifyReplacer,2)}get isEmpty(){return this.issues.length===0}flatten(t=n=>n.message){const n={},r=[];for(const u of this.issues)u.path.length>0?(n[u.path[0]]=n[u.path[0]]||[],n[u.path[0]].push(t(u))):r.push(t(u));return{formErrors:r,fieldErrors:n}}get formErrors(){return this.flatten()}}$e.create=e=>new $e(e);const nn=(e,t)=>{let n;switch(e.code){case w.invalid_type:e.received===P.undefined?n="Required":n=`Expected ${e.expected}, received ${e.received}`;break;case w.invalid_literal:n=`Invalid literal value, expected ${JSON.stringify(e.expected,ee.jsonStringifyReplacer)}`;break;case w.unrecognized_keys:n=`Unrecognized key(s) in object: ${ee.joinValues(e.keys,", ")}`;break;case w.invalid_union:n="Invalid input";break;case w.invalid_union_discriminator:n=`Invalid discriminator value. Expected ${ee.joinValues(e.options)}`;break;case w.invalid_enum_value:n=`Invalid enum value. Expected ${ee.joinValues(e.options)}, received '${e.received}'`;break;case w.invalid_arguments:n="Invalid function arguments";break;case w.invalid_return_type:n="Invalid function return type";break;case w.invalid_date:n="Invalid date";break;case w.invalid_string:typeof e.validation=="object"?"includes"in e.validation?(n=`Invalid input: must include "${e.validation.includes}"`,typeof e.validation.position=="number"&&(n=`${n} at one or more positions greater than or equal to ${e.validation.position}`)):"startsWith"in e.validation?n=`Invalid input: must start with "${e.validation.startsWith}"`:"endsWith"in e.validation?n=`Invalid input: must end with "${e.validation.endsWith}"`:ee.assertNever(e.validation):e.validation!=="regex"?n=`Invalid ${e.validation}`:n="Invalid";break;case w.too_small:e.type==="array"?n=`Array must contain ${e.exact?"exactly":e.inclusive?"at least":"more than"} ${e.minimum} element(s)`:e.type==="string"?n=`String must contain ${e.exact?"exactly":e.inclusive?"at least":"over"} ${e.minimum} character(s)`:e.type==="number"?n=`Number must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${e.minimum}`:e.type==="date"?n=`Date must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${new Date(Number(e.minimum))}`:n="Invalid input";break;case w.too_big:e.type==="array"?n=`Array must contain ${e.exact?"exactly":e.inclusive?"at most":"less than"} ${e.maximum} element(s)`:e.type==="string"?n=`String must contain ${e.exact?"exactly":e.inclusive?"at most":"under"} ${e.maximum} character(s)`:e.type==="number"?n=`Number must be ${e.exact?"exactly":e.inclusive?"less than or equal to":"less than"} ${e.maximum}`:e.type==="bigint"?n=`BigInt must be ${e.exact?"exactly":e.inclusive?"less than or equal to":"less than"} ${e.maximum}`:e.type==="date"?n=`Date must be ${e.exact?"exactly":e.inclusive?"smaller than or equal to":"smaller than"} ${new Date(Number(e.maximum))}`:n="Invalid input";break;case w.custom:n="Invalid input";break;case w.invalid_intersection_types:n="Intersection results could not be merged";break;case w.not_multiple_of:n=`Number must be a multiple of ${e.multipleOf}`;break;case w.not_finite:n="Number must be finite";break;default:n=t.defaultError,ee.assertNever(e)}return{message:n}};let uo=nn;function Cm(e){uo=e}function Dr(){return uo}const Sr=e=>{const{data:t,path:n,errorMaps:r,issueData:u}=e,i=[...n,...u.path||[]],a={...u,path:i};if(u.message!==void 0)return{...u,path:i,message:u.message};let s="";const o=r.filter(l=>!!l).slice().reverse();for(const l of o)s=l(a,{data:t,defaultError:s}).message;return{...u,path:i,message:s}},wm=[];function O(e,t){const n=Dr(),r=Sr({issueData:t,data:e.data,path:e.path,errorMaps:[e.common.contextualErrorMap,e.schemaErrorMap,n,n===nn?void 0:nn].filter(u=>!!u)});e.common.issues.push(r)}class Re{constructor(){this.value="valid"}dirty(){this.value==="valid"&&(this.value="dirty")}abort(){this.value!=="aborted"&&(this.value="aborted")}static mergeArray(t,n){const r=[];for(const u of n){if(u.status==="aborted")return $;u.status==="dirty"&&t.dirty(),r.push(u.value)}return{status:t.value,value:r}}static async mergeObjectAsync(t,n){const r=[];for(const u of n){const i=await u.key,a=await u.value;r.push({key:i,value:a})}return Re.mergeObjectSync(t,r)}static mergeObjectSync(t,n){const r={};for(const u of n){const{key:i,value:a}=u;if(i.status==="aborted"||a.status==="aborted")return $;i.status==="dirty"&&t.dirty(),a.status==="dirty"&&t.dirty(),i.value!=="__proto__"&&(typeof a.value<"u"||u.alwaysSet)&&(r[i.value]=a.value)}return{status:t.value,value:r}}}const $=Object.freeze({status:"aborted"}),Wt=e=>({status:"dirty",value:e}),Pe=e=>({status:"valid",value:e}),Mu=e=>e.status==="aborted",Bu=e=>e.status==="dirty",jt=e=>e.status==="valid",On=e=>typeof Promise<"u"&&e instanceof Promise;function Tr(e,t,n,r){if(typeof t=="function"?e!==t||!0:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return t.get(e)}function io(e,t,n,r,u){if(typeof t=="function"?e!==t||!0:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return t.set(e,n),n}var N;(function(e){e.errToObj=t=>typeof t=="string"?{message:t}:t||{},e.toString=t=>typeof t=="string"?t:t==null?void 0:t.message})(N||(N={}));var gn,bn;class ft{constructor(t,n,r,u){this._cachedPath=[],this.parent=t,this.data=n,this._path=r,this._key=u}get path(){return this._cachedPath.length||(this._key instanceof Array?this._cachedPath.push(...this._path,...this._key):this._cachedPath.push(...this._path,this._key)),this._cachedPath}}const xa=(e,t)=>{if(jt(t))return{success:!0,data:t.value};if(!e.common.issues.length)throw new Error("Validation failed but no issues detected.");return{success:!1,get error(){if(this._error)return this._error;const n=new $e(e.common.issues);return this._error=n,this._error}}};function Z(e){if(!e)return{};const{errorMap:t,invalid_type_error:n,required_error:r,description:u}=e;if(t&&(n||r))throw new Error(`Can't use "invalid_type_error" or "required_error" in conjunction with custom error map.`);return t?{errorMap:t,description:u}:{errorMap:(a,s)=>{var o,l;const{message:c}=e;return a.code==="invalid_enum_value"?{message:c??s.defaultError}:typeof s.data>"u"?{message:(o=c??r)!==null&&o!==void 0?o:s.defaultError}:a.code!=="invalid_type"?{message:s.defaultError}:{message:(l=c??n)!==null&&l!==void 0?l:s.defaultError}},description:u}}class J{get description(){return this._def.description}_getType(t){return bt(t.data)}_getOrReturnCtx(t,n){return n||{common:t.parent.common,data:t.data,parsedType:bt(t.data),schemaErrorMap:this._def.errorMap,path:t.path,parent:t.parent}}_processInputParams(t){return{status:new Re,ctx:{common:t.parent.common,data:t.data,parsedType:bt(t.data),schemaErrorMap:this._def.errorMap,path:t.path,parent:t.parent}}}_parseSync(t){const n=this._parse(t);if(On(n))throw new Error("Synchronous parse encountered promise.");return n}_parseAsync(t){const n=this._parse(t);return Promise.resolve(n)}parse(t,n){const r=this.safeParse(t,n);if(r.success)return r.data;throw r.error}safeParse(t,n){var r;const u={common:{issues:[],async:(r=n==null?void 0:n.async)!==null&&r!==void 0?r:!1,contextualErrorMap:n==null?void 0:n.errorMap},path:(n==null?void 0:n.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:t,parsedType:bt(t)},i=this._parseSync({data:t,path:u.path,parent:u});return xa(u,i)}"~validate"(t){var n,r;const u={common:{issues:[],async:!!this["~standard"].async},path:[],schemaErrorMap:this._def.errorMap,parent:null,data:t,parsedType:bt(t)};if(!this["~standard"].async)try{const i=this._parseSync({data:t,path:[],parent:u});return jt(i)?{value:i.value}:{issues:u.common.issues}}catch(i){!((r=(n=i==null?void 0:i.message)===null||n===void 0?void 0:n.toLowerCase())===null||r===void 0)&&r.includes("encountered")&&(this["~standard"].async=!0),u.common={issues:[],async:!0}}return this._parseAsync({data:t,path:[],parent:u}).then(i=>jt(i)?{value:i.value}:{issues:u.common.issues})}async parseAsync(t,n){const r=await this.safeParseAsync(t,n);if(r.success)return r.data;throw r.error}async safeParseAsync(t,n){const r={common:{issues:[],contextualErrorMap:n==null?void 0:n.errorMap,async:!0},path:(n==null?void 0:n.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:t,parsedType:bt(t)},u=this._parse({data:t,path:r.path,parent:r}),i=await(On(u)?u:Promise.resolve(u));return xa(r,i)}refine(t,n){const r=u=>typeof n=="string"||typeof n>"u"?{message:n}:typeof n=="function"?n(u):n;return this._refinement((u,i)=>{const a=t(u),s=()=>i.addIssue({code:w.custom,...r(u)});return typeof Promise<"u"&&a instanceof Promise?a.then(o=>o?!0:(s(),!1)):a?!0:(s(),!1)})}refinement(t,n){return this._refinement((r,u)=>t(r)?!0:(u.addIssue(typeof n=="function"?n(r,u):n),!1))}_refinement(t){return new nt({schema:this,typeName:M.ZodEffects,effect:{type:"refinement",refinement:t}})}superRefine(t){return this._refinement(t)}constructor(t){this.spa=this.safeParseAsync,this._def=t,this.parse=this.parse.bind(this),this.safeParse=this.safeParse.bind(this),this.parseAsync=this.parseAsync.bind(this),this.safeParseAsync=this.safeParseAsync.bind(this),this.spa=this.spa.bind(this),this.refine=this.refine.bind(this),this.refinement=this.refinement.bind(this),this.superRefine=this.superRefine.bind(this),this.optional=this.optional.bind(this),this.nullable=this.nullable.bind(this),this.nullish=this.nullish.bind(this),this.array=this.array.bind(this),this.promise=this.promise.bind(this),this.or=this.or.bind(this),this.and=this.and.bind(this),this.transform=this.transform.bind(this),this.brand=this.brand.bind(this),this.default=this.default.bind(this),this.catch=this.catch.bind(this),this.describe=this.describe.bind(this),this.pipe=this.pipe.bind(this),this.readonly=this.readonly.bind(this),this.isNullable=this.isNullable.bind(this),this.isOptional=this.isOptional.bind(this),this["~standard"]={version:1,vendor:"zod",validate:n=>this["~validate"](n)}}optional(){return ct.create(this,this._def)}nullable(){return It.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return tt.create(this)}promise(){return un.create(this,this._def)}or(t){return Fn.create([this,t],this._def)}and(t){return Nn.create(this,t,this._def)}transform(t){return new nt({...Z(this._def),schema:this,typeName:M.ZodEffects,effect:{type:"transform",transform:t}})}default(t){const n=typeof t=="function"?t:()=>t;return new an({...Z(this._def),innerType:this,defaultValue:n,typeName:M.ZodDefault})}brand(){return new ci({typeName:M.ZodBranded,type:this,...Z(this._def)})}catch(t){const n=typeof t=="function"?t:()=>t;return new $n({...Z(this._def),innerType:this,catchValue:n,typeName:M.ZodCatch})}describe(t){const n=this.constructor;return new n({...this._def,description:t})}pipe(t){return Jn.create(this,t)}readonly(){return zn.create(this)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}}const Dm=/^c[^\s-]{8,}$/i,Sm=/^[0-9a-z]+$/,Tm=/^[0-9A-HJKMNP-TV-Z]{26}$/i,Rm=/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/i,Om=/^[a-z0-9_-]{21}$/i,Pm=/^[A-Za-z0-9-_]+\.[A-Za-z0-9-_]+\.[A-Za-z0-9-_]*$/,Im=/^[-+]?P(?!$)(?:(?:[-+]?\d+Y)|(?:[-+]?\d+[.,]\d+Y$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:(?:[-+]?\d+W)|(?:[-+]?\d+[.,]\d+W$))?(?:(?:[-+]?\d+D)|(?:[-+]?\d+[.,]\d+D$))?(?:T(?=[\d+-])(?:(?:[-+]?\d+H)|(?:[-+]?\d+[.,]\d+H$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:[-+]?\d+(?:[.,]\d+)?S)?)??$/,Lm=/^(?!\.)(?!.*\.\.)([A-Z0-9_'+\-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i,Fm="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";let bu;const Nm=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,Vm=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/(3[0-2]|[12]?[0-9])$/,Mm=/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$/,Bm=/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,jm=/^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/,$m=/^([0-9a-zA-Z-_]{4})*(([0-9a-zA-Z-_]{2}(==)?)|([0-9a-zA-Z-_]{3}(=)?))?$/,ao="((\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-((0[13578]|1[02])-(0[1-9]|[12]\\d|3[01])|(0[469]|11)-(0[1-9]|[12]\\d|30)|(02)-(0[1-9]|1\\d|2[0-8])))",zm=new RegExp(`^${ao}$`);function so(e){let t="([01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d";return e.precision?t=`${t}\\.\\d{${e.precision}}`:e.precision==null&&(t=`${t}(\\.\\d+)?`),t}function Um(e){return new RegExp(`^${so(e)}$`)}function oo(e){let t=`${ao}T${so(e)}`;const n=[];return n.push(e.local?"Z?":"Z"),e.offset&&n.push("([+-]\\d{2}:?\\d{2})"),t=`${t}(${n.join("|")})`,new RegExp(`^${t}$`)}function qm(e,t){return!!((t==="v4"||!t)&&Nm.test(e)||(t==="v6"||!t)&&Mm.test(e))}function Gm(e,t){if(!Pm.test(e))return!1;try{const[n]=e.split("."),r=n.replace(/-/g,"+").replace(/_/g,"/").padEnd(n.length+(4-n.length%4)%4,"="),u=JSON.parse(atob(r));return!(typeof u!="object"||u===null||!u.typ||!u.alg||t&&u.alg!==t)}catch{return!1}}function Zm(e,t){return!!((t==="v4"||!t)&&Vm.test(e)||(t==="v6"||!t)&&Bm.test(e))}class et extends J{_parse(t){if(this._def.coerce&&(t.data=String(t.data)),this._getType(t)!==P.string){const i=this._getOrReturnCtx(t);return O(i,{code:w.invalid_type,expected:P.string,received:i.parsedType}),$}const r=new Re;let u;for(const i of this._def.checks)if(i.kind==="min")t.data.length<i.value&&(u=this._getOrReturnCtx(t,u),O(u,{code:w.too_small,minimum:i.value,type:"string",inclusive:!0,exact:!1,message:i.message}),r.dirty());else if(i.kind==="max")t.data.length>i.value&&(u=this._getOrReturnCtx(t,u),O(u,{code:w.too_big,maximum:i.value,type:"string",inclusive:!0,exact:!1,message:i.message}),r.dirty());else if(i.kind==="length"){const a=t.data.length>i.value,s=t.data.length<i.value;(a||s)&&(u=this._getOrReturnCtx(t,u),a?O(u,{code:w.too_big,maximum:i.value,type:"string",inclusive:!0,exact:!0,message:i.message}):s&&O(u,{code:w.too_small,minimum:i.value,type:"string",inclusive:!0,exact:!0,message:i.message}),r.dirty())}else if(i.kind==="email")Lm.test(t.data)||(u=this._getOrReturnCtx(t,u),O(u,{validation:"email",code:w.invalid_string,message:i.message}),r.dirty());else if(i.kind==="emoji")bu||(bu=new RegExp(Fm,"u")),bu.test(t.data)||(u=this._getOrReturnCtx(t,u),O(u,{validation:"emoji",code:w.invalid_string,message:i.message}),r.dirty());else if(i.kind==="uuid")Rm.test(t.data)||(u=this._getOrReturnCtx(t,u),O(u,{validation:"uuid",code:w.invalid_string,message:i.message}),r.dirty());else if(i.kind==="nanoid")Om.test(t.data)||(u=this._getOrReturnCtx(t,u),O(u,{validation:"nanoid",code:w.invalid_string,message:i.message}),r.dirty());else if(i.kind==="cuid")Dm.test(t.data)||(u=this._getOrReturnCtx(t,u),O(u,{validation:"cuid",code:w.invalid_string,message:i.message}),r.dirty());else if(i.kind==="cuid2")Sm.test(t.data)||(u=this._getOrReturnCtx(t,u),O(u,{validation:"cuid2",code:w.invalid_string,message:i.message}),r.dirty());else if(i.kind==="ulid")Tm.test(t.data)||(u=this._getOrReturnCtx(t,u),O(u,{validation:"ulid",code:w.invalid_string,message:i.message}),r.dirty());else if(i.kind==="url")try{new URL(t.data)}catch{u=this._getOrReturnCtx(t,u),O(u,{validation:"url",code:w.invalid_string,message:i.message}),r.dirty()}else i.kind==="regex"?(i.regex.lastIndex=0,i.regex.test(t.data)||(u=this._getOrReturnCtx(t,u),O(u,{validation:"regex",code:w.invalid_string,message:i.message}),r.dirty())):i.kind==="trim"?t.data=t.data.trim():i.kind==="includes"?t.data.includes(i.value,i.position)||(u=this._getOrReturnCtx(t,u),O(u,{code:w.invalid_string,validation:{includes:i.value,position:i.position},message:i.message}),r.dirty()):i.kind==="toLowerCase"?t.data=t.data.toLowerCase():i.kind==="toUpperCase"?t.data=t.data.toUpperCase():i.kind==="startsWith"?t.data.startsWith(i.value)||(u=this._getOrReturnCtx(t,u),O(u,{code:w.invalid_string,validation:{startsWith:i.value},message:i.message}),r.dirty()):i.kind==="endsWith"?t.data.endsWith(i.value)||(u=this._getOrReturnCtx(t,u),O(u,{code:w.invalid_string,validation:{endsWith:i.value},message:i.message}),r.dirty()):i.kind==="datetime"?oo(i).test(t.data)||(u=this._getOrReturnCtx(t,u),O(u,{code:w.invalid_string,validation:"datetime",message:i.message}),r.dirty()):i.kind==="date"?zm.test(t.data)||(u=this._getOrReturnCtx(t,u),O(u,{code:w.invalid_string,validation:"date",message:i.message}),r.dirty()):i.kind==="time"?Um(i).test(t.data)||(u=this._getOrReturnCtx(t,u),O(u,{code:w.invalid_string,validation:"time",message:i.message}),r.dirty()):i.kind==="duration"?Im.test(t.data)||(u=this._getOrReturnCtx(t,u),O(u,{validation:"duration",code:w.invalid_string,message:i.message}),r.dirty()):i.kind==="ip"?qm(t.data,i.version)||(u=this._getOrReturnCtx(t,u),O(u,{validation:"ip",code:w.invalid_string,message:i.message}),r.dirty()):i.kind==="jwt"?Gm(t.data,i.alg)||(u=this._getOrReturnCtx(t,u),O(u,{validation:"jwt",code:w.invalid_string,message:i.message}),r.dirty()):i.kind==="cidr"?Zm(t.data,i.version)||(u=this._getOrReturnCtx(t,u),O(u,{validation:"cidr",code:w.invalid_string,message:i.message}),r.dirty()):i.kind==="base64"?jm.test(t.data)||(u=this._getOrReturnCtx(t,u),O(u,{validation:"base64",code:w.invalid_string,message:i.message}),r.dirty()):i.kind==="base64url"?$m.test(t.data)||(u=this._getOrReturnCtx(t,u),O(u,{validation:"base64url",code:w.invalid_string,message:i.message}),r.dirty()):ee.assertNever(i);return{status:r.value,value:t.data}}_regex(t,n,r){return this.refinement(u=>t.test(u),{validation:n,code:w.invalid_string,...N.errToObj(r)})}_addCheck(t){return new et({...this._def,checks:[...this._def.checks,t]})}email(t){return this._addCheck({kind:"email",...N.errToObj(t)})}url(t){return this._addCheck({kind:"url",...N.errToObj(t)})}emoji(t){return this._addCheck({kind:"emoji",...N.errToObj(t)})}uuid(t){return this._addCheck({kind:"uuid",...N.errToObj(t)})}nanoid(t){return this._addCheck({kind:"nanoid",...N.errToObj(t)})}cuid(t){return this._addCheck({kind:"cuid",...N.errToObj(t)})}cuid2(t){return this._addCheck({kind:"cuid2",...N.errToObj(t)})}ulid(t){return this._addCheck({kind:"ulid",...N.errToObj(t)})}base64(t){return this._addCheck({kind:"base64",...N.errToObj(t)})}base64url(t){return this._addCheck({kind:"base64url",...N.errToObj(t)})}jwt(t){return this._addCheck({kind:"jwt",...N.errToObj(t)})}ip(t){return this._addCheck({kind:"ip",...N.errToObj(t)})}cidr(t){return this._addCheck({kind:"cidr",...N.errToObj(t)})}datetime(t){var n,r;return typeof t=="string"?this._addCheck({kind:"datetime",precision:null,offset:!1,local:!1,message:t}):this._addCheck({kind:"datetime",precision:typeof(t==null?void 0:t.precision)>"u"?null:t==null?void 0:t.precision,offset:(n=t==null?void 0:t.offset)!==null&&n!==void 0?n:!1,local:(r=t==null?void 0:t.local)!==null&&r!==void 0?r:!1,...N.errToObj(t==null?void 0:t.message)})}date(t){return this._addCheck({kind:"date",message:t})}time(t){return typeof t=="string"?this._addCheck({kind:"time",precision:null,message:t}):this._addCheck({kind:"time",precision:typeof(t==null?void 0:t.precision)>"u"?null:t==null?void 0:t.precision,...N.errToObj(t==null?void 0:t.message)})}duration(t){return this._addCheck({kind:"duration",...N.errToObj(t)})}regex(t,n){return this._addCheck({kind:"regex",regex:t,...N.errToObj(n)})}includes(t,n){return this._addCheck({kind:"includes",value:t,position:n==null?void 0:n.position,...N.errToObj(n==null?void 0:n.message)})}startsWith(t,n){return this._addCheck({kind:"startsWith",value:t,...N.errToObj(n)})}endsWith(t,n){return this._addCheck({kind:"endsWith",value:t,...N.errToObj(n)})}min(t,n){return this._addCheck({kind:"min",value:t,...N.errToObj(n)})}max(t,n){return this._addCheck({kind:"max",value:t,...N.errToObj(n)})}length(t,n){return this._addCheck({kind:"length",value:t,...N.errToObj(n)})}nonempty(t){return this.min(1,N.errToObj(t))}trim(){return new et({...this._def,checks:[...this._def.checks,{kind:"trim"}]})}toLowerCase(){return new et({...this._def,checks:[...this._def.checks,{kind:"toLowerCase"}]})}toUpperCase(){return new et({...this._def,checks:[...this._def.checks,{kind:"toUpperCase"}]})}get isDatetime(){return!!this._def.checks.find(t=>t.kind==="datetime")}get isDate(){return!!this._def.checks.find(t=>t.kind==="date")}get isTime(){return!!this._def.checks.find(t=>t.kind==="time")}get isDuration(){return!!this._def.checks.find(t=>t.kind==="duration")}get isEmail(){return!!this._def.checks.find(t=>t.kind==="email")}get isURL(){return!!this._def.checks.find(t=>t.kind==="url")}get isEmoji(){return!!this._def.checks.find(t=>t.kind==="emoji")}get isUUID(){return!!this._def.checks.find(t=>t.kind==="uuid")}get isNANOID(){return!!this._def.checks.find(t=>t.kind==="nanoid")}get isCUID(){return!!this._def.checks.find(t=>t.kind==="cuid")}get isCUID2(){return!!this._def.checks.find(t=>t.kind==="cuid2")}get isULID(){return!!this._def.checks.find(t=>t.kind==="ulid")}get isIP(){return!!this._def.checks.find(t=>t.kind==="ip")}get isCIDR(){return!!this._def.checks.find(t=>t.kind==="cidr")}get isBase64(){return!!this._def.checks.find(t=>t.kind==="base64")}get isBase64url(){return!!this._def.checks.find(t=>t.kind==="base64url")}get minLength(){let t=null;for(const n of this._def.checks)n.kind==="min"&&(t===null||n.value>t)&&(t=n.value);return t}get maxLength(){let t=null;for(const n of this._def.checks)n.kind==="max"&&(t===null||n.value<t)&&(t=n.value);return t}}et.create=e=>{var t;return new et({checks:[],typeName:M.ZodString,coerce:(t=e==null?void 0:e.coerce)!==null&&t!==void 0?t:!1,...Z(e)})};function Hm(e,t){const n=(e.toString().split(".")[1]||"").length,r=(t.toString().split(".")[1]||"").length,u=n>r?n:r,i=parseInt(e.toFixed(u).replace(".","")),a=parseInt(t.toFixed(u).replace(".",""));return i%a/Math.pow(10,u)}class Rt extends J{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte,this.step=this.multipleOf}_parse(t){if(this._def.coerce&&(t.data=Number(t.data)),this._getType(t)!==P.number){const i=this._getOrReturnCtx(t);return O(i,{code:w.invalid_type,expected:P.number,received:i.parsedType}),$}let r;const u=new Re;for(const i of this._def.checks)i.kind==="int"?ee.isInteger(t.data)||(r=this._getOrReturnCtx(t,r),O(r,{code:w.invalid_type,expected:"integer",received:"float",message:i.message}),u.dirty()):i.kind==="min"?(i.inclusive?t.data<i.value:t.data<=i.value)&&(r=this._getOrReturnCtx(t,r),O(r,{code:w.too_small,minimum:i.value,type:"number",inclusive:i.inclusive,exact:!1,message:i.message}),u.dirty()):i.kind==="max"?(i.inclusive?t.data>i.value:t.data>=i.value)&&(r=this._getOrReturnCtx(t,r),O(r,{code:w.too_big,maximum:i.value,type:"number",inclusive:i.inclusive,exact:!1,message:i.message}),u.dirty()):i.kind==="multipleOf"?Hm(t.data,i.value)!==0&&(r=this._getOrReturnCtx(t,r),O(r,{code:w.not_multiple_of,multipleOf:i.value,message:i.message}),u.dirty()):i.kind==="finite"?Number.isFinite(t.data)||(r=this._getOrReturnCtx(t,r),O(r,{code:w.not_finite,message:i.message}),u.dirty()):ee.assertNever(i);return{status:u.value,value:t.data}}gte(t,n){return this.setLimit("min",t,!0,N.toString(n))}gt(t,n){return this.setLimit("min",t,!1,N.toString(n))}lte(t,n){return this.setLimit("max",t,!0,N.toString(n))}lt(t,n){return this.setLimit("max",t,!1,N.toString(n))}setLimit(t,n,r,u){return new Rt({...this._def,checks:[...this._def.checks,{kind:t,value:n,inclusive:r,message:N.toString(u)}]})}_addCheck(t){return new Rt({...this._def,checks:[...this._def.checks,t]})}int(t){return this._addCheck({kind:"int",message:N.toString(t)})}positive(t){return this._addCheck({kind:"min",value:0,inclusive:!1,message:N.toString(t)})}negative(t){return this._addCheck({kind:"max",value:0,inclusive:!1,message:N.toString(t)})}nonpositive(t){return this._addCheck({kind:"max",value:0,inclusive:!0,message:N.toString(t)})}nonnegative(t){return this._addCheck({kind:"min",value:0,inclusive:!0,message:N.toString(t)})}multipleOf(t,n){return this._addCheck({kind:"multipleOf",value:t,message:N.toString(n)})}finite(t){return this._addCheck({kind:"finite",message:N.toString(t)})}safe(t){return this._addCheck({kind:"min",inclusive:!0,value:Number.MIN_SAFE_INTEGER,message:N.toString(t)})._addCheck({kind:"max",inclusive:!0,value:Number.MAX_SAFE_INTEGER,message:N.toString(t)})}get minValue(){let t=null;for(const n of this._def.checks)n.kind==="min"&&(t===null||n.value>t)&&(t=n.value);return t}get maxValue(){let t=null;for(const n of this._def.checks)n.kind==="max"&&(t===null||n.value<t)&&(t=n.value);return t}get isInt(){return!!this._def.checks.find(t=>t.kind==="int"||t.kind==="multipleOf"&&ee.isInteger(t.value))}get isFinite(){let t=null,n=null;for(const r of this._def.checks){if(r.kind==="finite"||r.kind==="int"||r.kind==="multipleOf")return!0;r.kind==="min"?(n===null||r.value>n)&&(n=r.value):r.kind==="max"&&(t===null||r.value<t)&&(t=r.value)}return Number.isFinite(n)&&Number.isFinite(t)}}Rt.create=e=>new Rt({checks:[],typeName:M.ZodNumber,coerce:(e==null?void 0:e.coerce)||!1,...Z(e)});class Ot extends J{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte}_parse(t){if(this._def.coerce)try{t.data=BigInt(t.data)}catch{return this._getInvalidInput(t)}if(this._getType(t)!==P.bigint)return this._getInvalidInput(t);let r;const u=new Re;for(const i of this._def.checks)i.kind==="min"?(i.inclusive?t.data<i.value:t.data<=i.value)&&(r=this._getOrReturnCtx(t,r),O(r,{code:w.too_small,type:"bigint",minimum:i.value,inclusive:i.inclusive,message:i.message}),u.dirty()):i.kind==="max"?(i.inclusive?t.data>i.value:t.data>=i.value)&&(r=this._getOrReturnCtx(t,r),O(r,{code:w.too_big,type:"bigint",maximum:i.value,inclusive:i.inclusive,message:i.message}),u.dirty()):i.kind==="multipleOf"?t.data%i.value!==BigInt(0)&&(r=this._getOrReturnCtx(t,r),O(r,{code:w.not_multiple_of,multipleOf:i.value,message:i.message}),u.dirty()):ee.assertNever(i);return{status:u.value,value:t.data}}_getInvalidInput(t){const n=this._getOrReturnCtx(t);return O(n,{code:w.invalid_type,expected:P.bigint,received:n.parsedType}),$}gte(t,n){return this.setLimit("min",t,!0,N.toString(n))}gt(t,n){return this.setLimit("min",t,!1,N.toString(n))}lte(t,n){return this.setLimit("max",t,!0,N.toString(n))}lt(t,n){return this.setLimit("max",t,!1,N.toString(n))}setLimit(t,n,r,u){return new Ot({...this._def,checks:[...this._def.checks,{kind:t,value:n,inclusive:r,message:N.toString(u)}]})}_addCheck(t){return new Ot({...this._def,checks:[...this._def.checks,t]})}positive(t){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!1,message:N.toString(t)})}negative(t){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!1,message:N.toString(t)})}nonpositive(t){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!0,message:N.toString(t)})}nonnegative(t){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!0,message:N.toString(t)})}multipleOf(t,n){return this._addCheck({kind:"multipleOf",value:t,message:N.toString(n)})}get minValue(){let t=null;for(const n of this._def.checks)n.kind==="min"&&(t===null||n.value>t)&&(t=n.value);return t}get maxValue(){let t=null;for(const n of this._def.checks)n.kind==="max"&&(t===null||n.value<t)&&(t=n.value);return t}}Ot.create=e=>{var t;return new Ot({checks:[],typeName:M.ZodBigInt,coerce:(t=e==null?void 0:e.coerce)!==null&&t!==void 0?t:!1,...Z(e)})};class Pn extends J{_parse(t){if(this._def.coerce&&(t.data=!!t.data),this._getType(t)!==P.boolean){const r=this._getOrReturnCtx(t);return O(r,{code:w.invalid_type,expected:P.boolean,received:r.parsedType}),$}return Pe(t.data)}}Pn.create=e=>new Pn({typeName:M.ZodBoolean,coerce:(e==null?void 0:e.coerce)||!1,...Z(e)});class $t extends J{_parse(t){if(this._def.coerce&&(t.data=new Date(t.data)),this._getType(t)!==P.date){const i=this._getOrReturnCtx(t);return O(i,{code:w.invalid_type,expected:P.date,received:i.parsedType}),$}if(isNaN(t.data.getTime())){const i=this._getOrReturnCtx(t);return O(i,{code:w.invalid_date}),$}const r=new Re;let u;for(const i of this._def.checks)i.kind==="min"?t.data.getTime()<i.value&&(u=this._getOrReturnCtx(t,u),O(u,{code:w.too_small,message:i.message,inclusive:!0,exact:!1,minimum:i.value,type:"date"}),r.dirty()):i.kind==="max"?t.data.getTime()>i.value&&(u=this._getOrReturnCtx(t,u),O(u,{code:w.too_big,message:i.message,inclusive:!0,exact:!1,maximum:i.value,type:"date"}),r.dirty()):ee.assertNever(i);return{status:r.value,value:new Date(t.data.getTime())}}_addCheck(t){return new $t({...this._def,checks:[...this._def.checks,t]})}min(t,n){return this._addCheck({kind:"min",value:t.getTime(),message:N.toString(n)})}max(t,n){return this._addCheck({kind:"max",value:t.getTime(),message:N.toString(n)})}get minDate(){let t=null;for(const n of this._def.checks)n.kind==="min"&&(t===null||n.value>t)&&(t=n.value);return t!=null?new Date(t):null}get maxDate(){let t=null;for(const n of this._def.checks)n.kind==="max"&&(t===null||n.value<t)&&(t=n.value);return t!=null?new Date(t):null}}$t.create=e=>new $t({checks:[],coerce:(e==null?void 0:e.coerce)||!1,typeName:M.ZodDate,...Z(e)});class Rr extends J{_parse(t){if(this._getType(t)!==P.symbol){const r=this._getOrReturnCtx(t);return O(r,{code:w.invalid_type,expected:P.symbol,received:r.parsedType}),$}return Pe(t.data)}}Rr.create=e=>new Rr({typeName:M.ZodSymbol,...Z(e)});class In extends J{_parse(t){if(this._getType(t)!==P.undefined){const r=this._getOrReturnCtx(t);return O(r,{code:w.invalid_type,expected:P.undefined,received:r.parsedType}),$}return Pe(t.data)}}In.create=e=>new In({typeName:M.ZodUndefined,...Z(e)});class Ln extends J{_parse(t){if(this._getType(t)!==P.null){const r=this._getOrReturnCtx(t);return O(r,{code:w.invalid_type,expected:P.null,received:r.parsedType}),$}return Pe(t.data)}}Ln.create=e=>new Ln({typeName:M.ZodNull,...Z(e)});class rn extends J{constructor(){super(...arguments),this._any=!0}_parse(t){return Pe(t.data)}}rn.create=e=>new rn({typeName:M.ZodAny,...Z(e)});class Mt extends J{constructor(){super(...arguments),this._unknown=!0}_parse(t){return Pe(t.data)}}Mt.create=e=>new Mt({typeName:M.ZodUnknown,...Z(e)});class Et extends J{_parse(t){const n=this._getOrReturnCtx(t);return O(n,{code:w.invalid_type,expected:P.never,received:n.parsedType}),$}}Et.create=e=>new Et({typeName:M.ZodNever,...Z(e)});class Or extends J{_parse(t){if(this._getType(t)!==P.undefined){const r=this._getOrReturnCtx(t);return O(r,{code:w.invalid_type,expected:P.void,received:r.parsedType}),$}return Pe(t.data)}}Or.create=e=>new Or({typeName:M.ZodVoid,...Z(e)});class tt extends J{_parse(t){const{ctx:n,status:r}=this._processInputParams(t),u=this._def;if(n.parsedType!==P.array)return O(n,{code:w.invalid_type,expected:P.array,received:n.parsedType}),$;if(u.exactLength!==null){const a=n.data.length>u.exactLength.value,s=n.data.length<u.exactLength.value;(a||s)&&(O(n,{code:a?w.too_big:w.too_small,minimum:s?u.exactLength.value:void 0,maximum:a?u.exactLength.value:void 0,type:"array",inclusive:!0,exact:!0,message:u.exactLength.message}),r.dirty())}if(u.minLength!==null&&n.data.length<u.minLength.value&&(O(n,{code:w.too_small,minimum:u.minLength.value,type:"array",inclusive:!0,exact:!1,message:u.minLength.message}),r.dirty()),u.maxLength!==null&&n.data.length>u.maxLength.value&&(O(n,{code:w.too_big,maximum:u.maxLength.value,type:"array",inclusive:!0,exact:!1,message:u.maxLength.message}),r.dirty()),n.common.async)return Promise.all([...n.data].map((a,s)=>u.type._parseAsync(new ft(n,a,n.path,s)))).then(a=>Re.mergeArray(r,a));const i=[...n.data].map((a,s)=>u.type._parseSync(new ft(n,a,n.path,s)));return Re.mergeArray(r,i)}get element(){return this._def.type}min(t,n){return new tt({...this._def,minLength:{value:t,message:N.toString(n)}})}max(t,n){return new tt({...this._def,maxLength:{value:t,message:N.toString(n)}})}length(t,n){return new tt({...this._def,exactLength:{value:t,message:N.toString(n)}})}nonempty(t){return this.min(1,t)}}tt.create=(e,t)=>new tt({type:e,minLength:null,maxLength:null,exactLength:null,typeName:M.ZodArray,...Z(t)});function Zt(e){if(e instanceof fe){const t={};for(const n in e.shape){const r=e.shape[n];t[n]=ct.create(Zt(r))}return new fe({...e._def,shape:()=>t})}else return e instanceof tt?new tt({...e._def,type:Zt(e.element)}):e instanceof ct?ct.create(Zt(e.unwrap())):e instanceof It?It.create(Zt(e.unwrap())):e instanceof ht?ht.create(e.items.map(t=>Zt(t))):e}class fe extends J{constructor(){super(...arguments),this._cached=null,this.nonstrict=this.passthrough,this.augment=this.extend}_getCached(){if(this._cached!==null)return this._cached;const t=this._def.shape(),n=ee.objectKeys(t);return this._cached={shape:t,keys:n}}_parse(t){if(this._getType(t)!==P.object){const l=this._getOrReturnCtx(t);return O(l,{code:w.invalid_type,expected:P.object,received:l.parsedType}),$}const{status:r,ctx:u}=this._processInputParams(t),{shape:i,keys:a}=this._getCached(),s=[];if(!(this._def.catchall instanceof Et&&this._def.unknownKeys==="strip"))for(const l in u.data)a.includes(l)||s.push(l);const o=[];for(const l of a){const c=i[l],d=u.data[l];o.push({key:{status:"valid",value:l},value:c._parse(new ft(u,d,u.path,l)),alwaysSet:l in u.data})}if(this._def.catchall instanceof Et){const l=this._def.unknownKeys;if(l==="passthrough")for(const c of s)o.push({key:{status:"valid",value:c},value:{status:"valid",value:u.data[c]}});else if(l==="strict")s.length>0&&(O(u,{code:w.unrecognized_keys,keys:s}),r.dirty());else if(l!=="strip")throw new Error("Internal ZodObject error: invalid unknownKeys value.")}else{const l=this._def.catchall;for(const c of s){const d=u.data[c];o.push({key:{status:"valid",value:c},value:l._parse(new ft(u,d,u.path,c)),alwaysSet:c in u.data})}}return u.common.async?Promise.resolve().then(async()=>{const l=[];for(const c of o){const d=await c.key,m=await c.value;l.push({key:d,value:m,alwaysSet:c.alwaysSet})}return l}).then(l=>Re.mergeObjectSync(r,l)):Re.mergeObjectSync(r,o)}get shape(){return this._def.shape()}strict(t){return N.errToObj,new fe({...this._def,unknownKeys:"strict",...t!==void 0?{errorMap:(n,r)=>{var u,i,a,s;const o=(a=(i=(u=this._def).errorMap)===null||i===void 0?void 0:i.call(u,n,r).message)!==null&&a!==void 0?a:r.defaultError;return n.code==="unrecognized_keys"?{message:(s=N.errToObj(t).message)!==null&&s!==void 0?s:o}:{message:o}}}:{}})}strip(){return new fe({...this._def,unknownKeys:"strip"})}passthrough(){return new fe({...this._def,unknownKeys:"passthrough"})}extend(t){return new fe({...this._def,shape:()=>({...this._def.shape(),...t})})}merge(t){return new fe({unknownKeys:t._def.unknownKeys,catchall:t._def.catchall,shape:()=>({...this._def.shape(),...t._def.shape()}),typeName:M.ZodObject})}setKey(t,n){return this.augment({[t]:n})}catchall(t){return new fe({...this._def,catchall:t})}pick(t){const n={};return ee.objectKeys(t).forEach(r=>{t[r]&&this.shape[r]&&(n[r]=this.shape[r])}),new fe({...this._def,shape:()=>n})}omit(t){const n={};return ee.objectKeys(this.shape).forEach(r=>{t[r]||(n[r]=this.shape[r])}),new fe({...this._def,shape:()=>n})}deepPartial(){return Zt(this)}partial(t){const n={};return ee.objectKeys(this.shape).forEach(r=>{const u=this.shape[r];t&&!t[r]?n[r]=u:n[r]=u.optional()}),new fe({...this._def,shape:()=>n})}required(t){const n={};return ee.objectKeys(this.shape).forEach(r=>{if(t&&!t[r])n[r]=this.shape[r];else{let i=this.shape[r];for(;i instanceof ct;)i=i._def.innerType;n[r]=i}}),new fe({...this._def,shape:()=>n})}keyof(){return lo(ee.objectKeys(this.shape))}}fe.create=(e,t)=>new fe({shape:()=>e,unknownKeys:"strip",catchall:Et.create(),typeName:M.ZodObject,...Z(t)});fe.strictCreate=(e,t)=>new fe({shape:()=>e,unknownKeys:"strict",catchall:Et.create(),typeName:M.ZodObject,...Z(t)});fe.lazycreate=(e,t)=>new fe({shape:e,unknownKeys:"strip",catchall:Et.create(),typeName:M.ZodObject,...Z(t)});class Fn extends J{_parse(t){const{ctx:n}=this._processInputParams(t),r=this._def.options;function u(i){for(const s of i)if(s.result.status==="valid")return s.result;for(const s of i)if(s.result.status==="dirty")return n.common.issues.push(...s.ctx.common.issues),s.result;const a=i.map(s=>new $e(s.ctx.common.issues));return O(n,{code:w.invalid_union,unionErrors:a}),$}if(n.common.async)return Promise.all(r.map(async i=>{const a={...n,common:{...n.common,issues:[]},parent:null};return{result:await i._parseAsync({data:n.data,path:n.path,parent:a}),ctx:a}})).then(u);{let i;const a=[];for(const o of r){const l={...n,common:{...n.common,issues:[]},parent:null},c=o._parseSync({data:n.data,path:n.path,parent:l});if(c.status==="valid")return c;c.status==="dirty"&&!i&&(i={result:c,ctx:l}),l.common.issues.length&&a.push(l.common.issues)}if(i)return n.common.issues.push(...i.ctx.common.issues),i.result;const s=a.map(o=>new $e(o));return O(n,{code:w.invalid_union,unionErrors:s}),$}}get options(){return this._def.options}}Fn.create=(e,t)=>new Fn({options:e,typeName:M.ZodUnion,...Z(t)});const gt=e=>e instanceof Mn?gt(e.schema):e instanceof nt?gt(e.innerType()):e instanceof Bn?[e.value]:e instanceof Pt?e.options:e instanceof jn?ee.objectValues(e.enum):e instanceof an?gt(e._def.innerType):e instanceof In?[void 0]:e instanceof Ln?[null]:e instanceof ct?[void 0,...gt(e.unwrap())]:e instanceof It?[null,...gt(e.unwrap())]:e instanceof ci||e instanceof zn?gt(e.unwrap()):e instanceof $n?gt(e._def.innerType):[];class qr extends J{_parse(t){const{ctx:n}=this._processInputParams(t);if(n.parsedType!==P.object)return O(n,{code:w.invalid_type,expected:P.object,received:n.parsedType}),$;const r=this.discriminator,u=n.data[r],i=this.optionsMap.get(u);return i?n.common.async?i._parseAsync({data:n.data,path:n.path,parent:n}):i._parseSync({data:n.data,path:n.path,parent:n}):(O(n,{code:w.invalid_union_discriminator,options:Array.from(this.optionsMap.keys()),path:[r]}),$)}get discriminator(){return this._def.discriminator}get options(){return this._def.options}get optionsMap(){return this._def.optionsMap}static create(t,n,r){const u=new Map;for(const i of n){const a=gt(i.shape[t]);if(!a.length)throw new Error(`A discriminator value for key \`${t}\` could not be extracted from all schema options`);for(const s of a){if(u.has(s))throw new Error(`Discriminator property ${String(t)} has duplicate value ${String(s)}`);u.set(s,i)}}return new qr({typeName:M.ZodDiscriminatedUnion,discriminator:t,options:n,optionsMap:u,...Z(r)})}}function ju(e,t){const n=bt(e),r=bt(t);if(e===t)return{valid:!0,data:e};if(n===P.object&&r===P.object){const u=ee.objectKeys(t),i=ee.objectKeys(e).filter(s=>u.indexOf(s)!==-1),a={...e,...t};for(const s of i){const o=ju(e[s],t[s]);if(!o.valid)return{valid:!1};a[s]=o.data}return{valid:!0,data:a}}else if(n===P.array&&r===P.array){if(e.length!==t.length)return{valid:!1};const u=[];for(let i=0;i<e.length;i++){const a=e[i],s=t[i],o=ju(a,s);if(!o.valid)return{valid:!1};u.push(o.data)}return{valid:!0,data:u}}else return n===P.date&&r===P.date&&+e==+t?{valid:!0,data:e}:{valid:!1}}class Nn extends J{_parse(t){const{status:n,ctx:r}=this._processInputParams(t),u=(i,a)=>{if(Mu(i)||Mu(a))return $;const s=ju(i.value,a.value);return s.valid?((Bu(i)||Bu(a))&&n.dirty(),{status:n.value,value:s.data}):(O(r,{code:w.invalid_intersection_types}),$)};return r.common.async?Promise.all([this._def.left._parseAsync({data:r.data,path:r.path,parent:r}),this._def.right._parseAsync({data:r.data,path:r.path,parent:r})]).then(([i,a])=>u(i,a)):u(this._def.left._parseSync({data:r.data,path:r.path,parent:r}),this._def.right._parseSync({data:r.data,path:r.path,parent:r}))}}Nn.create=(e,t,n)=>new Nn({left:e,right:t,typeName:M.ZodIntersection,...Z(n)});class ht extends J{_parse(t){const{status:n,ctx:r}=this._processInputParams(t);if(r.parsedType!==P.array)return O(r,{code:w.invalid_type,expected:P.array,received:r.parsedType}),$;if(r.data.length<this._def.items.length)return O(r,{code:w.too_small,minimum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),$;!this._def.rest&&r.data.length>this._def.items.length&&(O(r,{code:w.too_big,maximum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),n.dirty());const i=[...r.data].map((a,s)=>{const o=this._def.items[s]||this._def.rest;return o?o._parse(new ft(r,a,r.path,s)):null}).filter(a=>!!a);return r.common.async?Promise.all(i).then(a=>Re.mergeArray(n,a)):Re.mergeArray(n,i)}get items(){return this._def.items}rest(t){return new ht({...this._def,rest:t})}}ht.create=(e,t)=>{if(!Array.isArray(e))throw new Error("You must pass an array of schemas to z.tuple([ ... ])");return new ht({items:e,typeName:M.ZodTuple,rest:null,...Z(t)})};class Vn extends J{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(t){const{status:n,ctx:r}=this._processInputParams(t);if(r.parsedType!==P.object)return O(r,{code:w.invalid_type,expected:P.object,received:r.parsedType}),$;const u=[],i=this._def.keyType,a=this._def.valueType;for(const s in r.data)u.push({key:i._parse(new ft(r,s,r.path,s)),value:a._parse(new ft(r,r.data[s],r.path,s)),alwaysSet:s in r.data});return r.common.async?Re.mergeObjectAsync(n,u):Re.mergeObjectSync(n,u)}get element(){return this._def.valueType}static create(t,n,r){return n instanceof J?new Vn({keyType:t,valueType:n,typeName:M.ZodRecord,...Z(r)}):new Vn({keyType:et.create(),valueType:t,typeName:M.ZodRecord,...Z(n)})}}class Pr extends J{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(t){const{status:n,ctx:r}=this._processInputParams(t);if(r.parsedType!==P.map)return O(r,{code:w.invalid_type,expected:P.map,received:r.parsedType}),$;const u=this._def.keyType,i=this._def.valueType,a=[...r.data.entries()].map(([s,o],l)=>({key:u._parse(new ft(r,s,r.path,[l,"key"])),value:i._parse(new ft(r,o,r.path,[l,"value"]))}));if(r.common.async){const s=new Map;return Promise.resolve().then(async()=>{for(const o of a){const l=await o.key,c=await o.value;if(l.status==="aborted"||c.status==="aborted")return $;(l.status==="dirty"||c.status==="dirty")&&n.dirty(),s.set(l.value,c.value)}return{status:n.value,value:s}})}else{const s=new Map;for(const o of a){const l=o.key,c=o.value;if(l.status==="aborted"||c.status==="aborted")return $;(l.status==="dirty"||c.status==="dirty")&&n.dirty(),s.set(l.value,c.value)}return{status:n.value,value:s}}}}Pr.create=(e,t,n)=>new Pr({valueType:t,keyType:e,typeName:M.ZodMap,...Z(n)});class zt extends J{_parse(t){const{status:n,ctx:r}=this._processInputParams(t);if(r.parsedType!==P.set)return O(r,{code:w.invalid_type,expected:P.set,received:r.parsedType}),$;const u=this._def;u.minSize!==null&&r.data.size<u.minSize.value&&(O(r,{code:w.too_small,minimum:u.minSize.value,type:"set",inclusive:!0,exact:!1,message:u.minSize.message}),n.dirty()),u.maxSize!==null&&r.data.size>u.maxSize.value&&(O(r,{code:w.too_big,maximum:u.maxSize.value,type:"set",inclusive:!0,exact:!1,message:u.maxSize.message}),n.dirty());const i=this._def.valueType;function a(o){const l=new Set;for(const c of o){if(c.status==="aborted")return $;c.status==="dirty"&&n.dirty(),l.add(c.value)}return{status:n.value,value:l}}const s=[...r.data.values()].map((o,l)=>i._parse(new ft(r,o,r.path,l)));return r.common.async?Promise.all(s).then(o=>a(o)):a(s)}min(t,n){return new zt({...this._def,minSize:{value:t,message:N.toString(n)}})}max(t,n){return new zt({...this._def,maxSize:{value:t,message:N.toString(n)}})}size(t,n){return this.min(t,n).max(t,n)}nonempty(t){return this.min(1,t)}}zt.create=(e,t)=>new zt({valueType:e,minSize:null,maxSize:null,typeName:M.ZodSet,...Z(t)});class Xt extends J{constructor(){super(...arguments),this.validate=this.implement}_parse(t){const{ctx:n}=this._processInputParams(t);if(n.parsedType!==P.function)return O(n,{code:w.invalid_type,expected:P.function,received:n.parsedType}),$;function r(s,o){return Sr({data:s,path:n.path,errorMaps:[n.common.contextualErrorMap,n.schemaErrorMap,Dr(),nn].filter(l=>!!l),issueData:{code:w.invalid_arguments,argumentsError:o}})}function u(s,o){return Sr({data:s,path:n.path,errorMaps:[n.common.contextualErrorMap,n.schemaErrorMap,Dr(),nn].filter(l=>!!l),issueData:{code:w.invalid_return_type,returnTypeError:o}})}const i={errorMap:n.common.contextualErrorMap},a=n.data;if(this._def.returns instanceof un){const s=this;return Pe(async function(...o){const l=new $e([]),c=await s._def.args.parseAsync(o,i).catch(f=>{throw l.addIssue(r(o,f)),l}),d=await Reflect.apply(a,this,c);return await s._def.returns._def.type.parseAsync(d,i).catch(f=>{throw l.addIssue(u(d,f)),l})})}else{const s=this;return Pe(function(...o){const l=s._def.args.safeParse(o,i);if(!l.success)throw new $e([r(o,l.error)]);const c=Reflect.apply(a,this,l.data),d=s._def.returns.safeParse(c,i);if(!d.success)throw new $e([u(c,d.error)]);return d.data})}}parameters(){return this._def.args}returnType(){return this._def.returns}args(...t){return new Xt({...this._def,args:ht.create(t).rest(Mt.create())})}returns(t){return new Xt({...this._def,returns:t})}implement(t){return this.parse(t)}strictImplement(t){return this.parse(t)}static create(t,n,r){return new Xt({args:t||ht.create([]).rest(Mt.create()),returns:n||Mt.create(),typeName:M.ZodFunction,...Z(r)})}}class Mn extends J{get schema(){return this._def.getter()}_parse(t){const{ctx:n}=this._processInputParams(t);return this._def.getter()._parse({data:n.data,path:n.path,parent:n})}}Mn.create=(e,t)=>new Mn({getter:e,typeName:M.ZodLazy,...Z(t)});class Bn extends J{_parse(t){if(t.data!==this._def.value){const n=this._getOrReturnCtx(t);return O(n,{received:n.data,code:w.invalid_literal,expected:this._def.value}),$}return{status:"valid",value:t.data}}get value(){return this._def.value}}Bn.create=(e,t)=>new Bn({value:e,typeName:M.ZodLiteral,...Z(t)});function lo(e,t){return new Pt({values:e,typeName:M.ZodEnum,...Z(t)})}class Pt extends J{constructor(){super(...arguments),gn.set(this,void 0)}_parse(t){if(typeof t.data!="string"){const n=this._getOrReturnCtx(t),r=this._def.values;return O(n,{expected:ee.joinValues(r),received:n.parsedType,code:w.invalid_type}),$}if(Tr(this,gn)||io(this,gn,new Set(this._def.values)),!Tr(this,gn).has(t.data)){const n=this._getOrReturnCtx(t),r=this._def.values;return O(n,{received:n.data,code:w.invalid_enum_value,options:r}),$}return Pe(t.data)}get options(){return this._def.values}get enum(){const t={};for(const n of this._def.values)t[n]=n;return t}get Values(){const t={};for(const n of this._def.values)t[n]=n;return t}get Enum(){const t={};for(const n of this._def.values)t[n]=n;return t}extract(t,n=this._def){return Pt.create(t,{...this._def,...n})}exclude(t,n=this._def){return Pt.create(this.options.filter(r=>!t.includes(r)),{...this._def,...n})}}gn=new WeakMap;Pt.create=lo;class jn extends J{constructor(){super(...arguments),bn.set(this,void 0)}_parse(t){const n=ee.getValidEnumValues(this._def.values),r=this._getOrReturnCtx(t);if(r.parsedType!==P.string&&r.parsedType!==P.number){const u=ee.objectValues(n);return O(r,{expected:ee.joinValues(u),received:r.parsedType,code:w.invalid_type}),$}if(Tr(this,bn)||io(this,bn,new Set(ee.getValidEnumValues(this._def.values))),!Tr(this,bn).has(t.data)){const u=ee.objectValues(n);return O(r,{received:r.data,code:w.invalid_enum_value,options:u}),$}return Pe(t.data)}get enum(){return this._def.values}}bn=new WeakMap;jn.create=(e,t)=>new jn({values:e,typeName:M.ZodNativeEnum,...Z(t)});class un extends J{unwrap(){return this._def.type}_parse(t){const{ctx:n}=this._processInputParams(t);if(n.parsedType!==P.promise&&n.common.async===!1)return O(n,{code:w.invalid_type,expected:P.promise,received:n.parsedType}),$;const r=n.parsedType===P.promise?n.data:Promise.resolve(n.data);return Pe(r.then(u=>this._def.type.parseAsync(u,{path:n.path,errorMap:n.common.contextualErrorMap})))}}un.create=(e,t)=>new un({type:e,typeName:M.ZodPromise,...Z(t)});class nt extends J{innerType(){return this._def.schema}sourceType(){return this._def.schema._def.typeName===M.ZodEffects?this._def.schema.sourceType():this._def.schema}_parse(t){const{status:n,ctx:r}=this._processInputParams(t),u=this._def.effect||null,i={addIssue:a=>{O(r,a),a.fatal?n.abort():n.dirty()},get path(){return r.path}};if(i.addIssue=i.addIssue.bind(i),u.type==="preprocess"){const a=u.transform(r.data,i);if(r.common.async)return Promise.resolve(a).then(async s=>{if(n.value==="aborted")return $;const o=await this._def.schema._parseAsync({data:s,path:r.path,parent:r});return o.status==="aborted"?$:o.status==="dirty"||n.value==="dirty"?Wt(o.value):o});{if(n.value==="aborted")return $;const s=this._def.schema._parseSync({data:a,path:r.path,parent:r});return s.status==="aborted"?$:s.status==="dirty"||n.value==="dirty"?Wt(s.value):s}}if(u.type==="refinement"){const a=s=>{const o=u.refinement(s,i);if(r.common.async)return Promise.resolve(o);if(o instanceof Promise)throw new Error("Async refinement encountered during synchronous parse operation. Use .parseAsync instead.");return s};if(r.common.async===!1){const s=this._def.schema._parseSync({data:r.data,path:r.path,parent:r});return s.status==="aborted"?$:(s.status==="dirty"&&n.dirty(),a(s.value),{status:n.value,value:s.value})}else return this._def.schema._parseAsync({data:r.data,path:r.path,parent:r}).then(s=>s.status==="aborted"?$:(s.status==="dirty"&&n.dirty(),a(s.value).then(()=>({status:n.value,value:s.value}))))}if(u.type==="transform")if(r.common.async===!1){const a=this._def.schema._parseSync({data:r.data,path:r.path,parent:r});if(!jt(a))return a;const s=u.transform(a.value,i);if(s instanceof Promise)throw new Error("Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.");return{status:n.value,value:s}}else return this._def.schema._parseAsync({data:r.data,path:r.path,parent:r}).then(a=>jt(a)?Promise.resolve(u.transform(a.value,i)).then(s=>({status:n.value,value:s})):a);ee.assertNever(u)}}nt.create=(e,t,n)=>new nt({schema:e,typeName:M.ZodEffects,effect:t,...Z(n)});nt.createWithPreprocess=(e,t,n)=>new nt({schema:t,effect:{type:"preprocess",transform:e},typeName:M.ZodEffects,...Z(n)});class ct extends J{_parse(t){return this._getType(t)===P.undefined?Pe(void 0):this._def.innerType._parse(t)}unwrap(){return this._def.innerType}}ct.create=(e,t)=>new ct({innerType:e,typeName:M.ZodOptional,...Z(t)});class It extends J{_parse(t){return this._getType(t)===P.null?Pe(null):this._def.innerType._parse(t)}unwrap(){return this._def.innerType}}It.create=(e,t)=>new It({innerType:e,typeName:M.ZodNullable,...Z(t)});class an extends J{_parse(t){const{ctx:n}=this._processInputParams(t);let r=n.data;return n.parsedType===P.undefined&&(r=this._def.defaultValue()),this._def.innerType._parse({data:r,path:n.path,parent:n})}removeDefault(){return this._def.innerType}}an.create=(e,t)=>new an({innerType:e,typeName:M.ZodDefault,defaultValue:typeof t.default=="function"?t.default:()=>t.default,...Z(t)});class $n extends J{_parse(t){const{ctx:n}=this._processInputParams(t),r={...n,common:{...n.common,issues:[]}},u=this._def.innerType._parse({data:r.data,path:r.path,parent:{...r}});return On(u)?u.then(i=>({status:"valid",value:i.status==="valid"?i.value:this._def.catchValue({get error(){return new $e(r.common.issues)},input:r.data})})):{status:"valid",value:u.status==="valid"?u.value:this._def.catchValue({get error(){return new $e(r.common.issues)},input:r.data})}}removeCatch(){return this._def.innerType}}$n.create=(e,t)=>new $n({innerType:e,typeName:M.ZodCatch,catchValue:typeof t.catch=="function"?t.catch:()=>t.catch,...Z(t)});class Ir extends J{_parse(t){if(this._getType(t)!==P.nan){const r=this._getOrReturnCtx(t);return O(r,{code:w.invalid_type,expected:P.nan,received:r.parsedType}),$}return{status:"valid",value:t.data}}}Ir.create=e=>new Ir({typeName:M.ZodNaN,...Z(e)});const Wm=Symbol("zod_brand");class ci extends J{_parse(t){const{ctx:n}=this._processInputParams(t),r=n.data;return this._def.type._parse({data:r,path:n.path,parent:n})}unwrap(){return this._def.type}}class Jn extends J{_parse(t){const{status:n,ctx:r}=this._processInputParams(t);if(r.common.async)return(async()=>{const i=await this._def.in._parseAsync({data:r.data,path:r.path,parent:r});return i.status==="aborted"?$:i.status==="dirty"?(n.dirty(),Wt(i.value)):this._def.out._parseAsync({data:i.value,path:r.path,parent:r})})();{const u=this._def.in._parseSync({data:r.data,path:r.path,parent:r});return u.status==="aborted"?$:u.status==="dirty"?(n.dirty(),{status:"dirty",value:u.value}):this._def.out._parseSync({data:u.value,path:r.path,parent:r})}}static create(t,n){return new Jn({in:t,out:n,typeName:M.ZodPipeline})}}class zn extends J{_parse(t){const n=this._def.innerType._parse(t),r=u=>(jt(u)&&(u.value=Object.freeze(u.value)),u);return On(n)?n.then(u=>r(u)):r(n)}unwrap(){return this._def.innerType}}zn.create=(e,t)=>new zn({innerType:e,typeName:M.ZodReadonly,...Z(t)});function ka(e,t){const n=typeof e=="function"?e(t):typeof e=="string"?{message:e}:e;return typeof n=="string"?{message:n}:n}function co(e,t={},n){return e?rn.create().superRefine((r,u)=>{var i,a;const s=e(r);if(s instanceof Promise)return s.then(o=>{var l,c;if(!o){const d=ka(t,r),m=(c=(l=d.fatal)!==null&&l!==void 0?l:n)!==null&&c!==void 0?c:!0;u.addIssue({code:"custom",...d,fatal:m})}});if(!s){const o=ka(t,r),l=(a=(i=o.fatal)!==null&&i!==void 0?i:n)!==null&&a!==void 0?a:!0;u.addIssue({code:"custom",...o,fatal:l})}}):rn.create()}const Km={object:fe.lazycreate};var M;(function(e){e.ZodString="ZodString",e.ZodNumber="ZodNumber",e.ZodNaN="ZodNaN",e.ZodBigInt="ZodBigInt",e.ZodBoolean="ZodBoolean",e.ZodDate="ZodDate",e.ZodSymbol="ZodSymbol",e.ZodUndefined="ZodUndefined",e.ZodNull="ZodNull",e.ZodAny="ZodAny",e.ZodUnknown="ZodUnknown",e.ZodNever="ZodNever",e.ZodVoid="ZodVoid",e.ZodArray="ZodArray",e.ZodObject="ZodObject",e.ZodUnion="ZodUnion",e.ZodDiscriminatedUnion="ZodDiscriminatedUnion",e.ZodIntersection="ZodIntersection",e.ZodTuple="ZodTuple",e.ZodRecord="ZodRecord",e.ZodMap="ZodMap",e.ZodSet="ZodSet",e.ZodFunction="ZodFunction",e.ZodLazy="ZodLazy",e.ZodLiteral="ZodLiteral",e.ZodEnum="ZodEnum",e.ZodEffects="ZodEffects",e.ZodNativeEnum="ZodNativeEnum",e.ZodOptional="ZodOptional",e.ZodNullable="ZodNullable",e.ZodDefault="ZodDefault",e.ZodCatch="ZodCatch",e.ZodPromise="ZodPromise",e.ZodBranded="ZodBranded",e.ZodPipeline="ZodPipeline",e.ZodReadonly="ZodReadonly"})(M||(M={}));const Jm=(e,t={message:`Input not instance of ${e.name}`})=>co(n=>n instanceof e,t),fo=et.create,ho=Rt.create,Ym=Ir.create,Xm=Ot.create,po=Pn.create,Qm=$t.create,e1=Rr.create,t1=In.create,n1=Ln.create,r1=rn.create,u1=Mt.create,i1=Et.create,a1=Or.create,s1=tt.create,o1=fe.create,l1=fe.strictCreate,c1=Fn.create,d1=qr.create,f1=Nn.create,h1=ht.create,p1=Vn.create,m1=Pr.create,_1=zt.create,g1=Xt.create,b1=Mn.create,v1=Bn.create,y1=Pt.create,x1=jn.create,k1=un.create,Ea=nt.create,E1=ct.create,A1=It.create,C1=nt.createWithPreprocess,w1=Jn.create,D1=()=>fo().optional(),S1=()=>ho().optional(),T1=()=>po().optional(),R1={string:e=>et.create({...e,coerce:!0}),number:e=>Rt.create({...e,coerce:!0}),boolean:e=>Pn.create({...e,coerce:!0}),bigint:e=>Ot.create({...e,coerce:!0}),date:e=>$t.create({...e,coerce:!0})},O1=$;var H1=Object.freeze({__proto__:null,defaultErrorMap:nn,setErrorMap:Cm,getErrorMap:Dr,makeIssue:Sr,EMPTY_PATH:wm,addIssueToContext:O,ParseStatus:Re,INVALID:$,DIRTY:Wt,OK:Pe,isAborted:Mu,isDirty:Bu,isValid:jt,isAsync:On,get util(){return ee},get objectUtil(){return Vu},ZodParsedType:P,getParsedType:bt,ZodType:J,datetimeRegex:oo,ZodString:et,ZodNumber:Rt,ZodBigInt:Ot,ZodBoolean:Pn,ZodDate:$t,ZodSymbol:Rr,ZodUndefined:In,ZodNull:Ln,ZodAny:rn,ZodUnknown:Mt,ZodNever:Et,ZodVoid:Or,ZodArray:tt,ZodObject:fe,ZodUnion:Fn,ZodDiscriminatedUnion:qr,ZodIntersection:Nn,ZodTuple:ht,ZodRecord:Vn,ZodMap:Pr,ZodSet:zt,ZodFunction:Xt,ZodLazy:Mn,ZodLiteral:Bn,ZodEnum:Pt,ZodNativeEnum:jn,ZodPromise:un,ZodEffects:nt,ZodTransformer:nt,ZodOptional:ct,ZodNullable:It,ZodDefault:an,ZodCatch:$n,ZodNaN:Ir,BRAND:Wm,ZodBranded:ci,ZodPipeline:Jn,ZodReadonly:zn,custom:co,Schema:J,ZodSchema:J,late:Km,get ZodFirstPartyTypeKind(){return M},coerce:R1,any:r1,array:s1,bigint:Xm,boolean:po,date:Qm,discriminatedUnion:d1,effect:Ea,enum:y1,function:g1,instanceof:Jm,intersection:f1,lazy:b1,literal:v1,map:m1,nan:Ym,nativeEnum:x1,never:i1,null:n1,nullable:A1,number:ho,object:o1,oboolean:T1,onumber:S1,optional:E1,ostring:D1,pipeline:w1,preprocess:C1,promise:k1,record:p1,set:_1,strictObject:l1,string:fo,symbol:e1,transformer:Ea,tuple:h1,undefined:t1,union:c1,unknown:u1,void:a1,NEVER:O1,ZodIssueCode:w,quotelessJson:Am,ZodError:$e});/**
|
||
* vee-validate v4.15.0
|
||
* (c) 2024 Abdelrahman Awad
|
||
* @license MIT
|
||
*/const Aa=e=>e!==null&&!!e&&typeof e=="object"&&!Array.isArray(e);function mo(e){return Number(e)>=0}function P1(e){return typeof e=="object"&&e!==null}function I1(e){return e==null?e===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}function Ca(e){if(!P1(e)||I1(e)!=="[object Object]")return!1;if(Object.getPrototypeOf(e)===null)return!0;let t=e;for(;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function _o(e,t){return Object.keys(t).forEach(n=>{if(Ca(t[n])&&Ca(e[n])){e[n]||(e[n]={}),_o(e[n],t[n]);return}e[n]=t[n]}),e}function L1(e){const t=e.split(".");if(!t.length)return"";let n=String(t[0]);for(let r=1;r<t.length;r++){if(mo(t[r])){n+=`[${t[r]}]`;continue}n+=`.${t[r]}`}return n}function W1(e,t){return{__type:"VVTypedSchema",async parse(r){const u=await e.safeParseAsync(r,t);if(u.success)return{value:u.data,errors:[]};const i={};return go(u.error.issues,i),{errors:Object.values(i)}},cast(r){try{return e.parse(r)}catch{const i=bo(e);return Aa(i)&&Aa(r)?_o(i,r):r}},describe(r){try{if(!r)return{required:!e.isOptional(),exists:!0};const u=F1(r,e);return u?{required:!u.isOptional(),exists:!0}:{required:!1,exists:!1}}catch{return{required:!1,exists:!1}}}}}function go(e,t){e.forEach(n=>{const r=L1(n.path.join("."));n.code==="invalid_union"&&(go(n.unionErrors.flatMap(u=>u.issues),t),!r)||(t[r]||(t[r]={errors:[],path:r}),t[r].errors.push(n.message))})}function bo(e){if(e instanceof fe)return Object.fromEntries(Object.entries(e.shape).map(([t,n])=>n instanceof an?[t,n._def.defaultValue()]:n instanceof fe?[t,bo(n)]:[t,void 0]))}function F1(e,t){if(!wa(t))return null;if(Un(e))return t.shape[Fr(e)];const n=(e||"").split(/\.|\[(\d+)\]/).filter(Boolean);let r=t;for(let u=0;u<=n.length;u++){const i=n[u];if(!i||!r)return r;if(wa(r)){r=r.shape[i]||null;continue}mo(i)&&N1(r)&&(r=r._def.type)}return null}function vo(e){return e._def.typeName}function N1(e){return vo(e)===M.ZodArray}function wa(e){return vo(e)===M.ZodObject}export{$1 as D,z1 as F,Z1 as M,W1 as t,j1 as u,H1 as z};
|