1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[26378],{15207:(e,t,n)=>{let l,o,r;n.d(t,{$r:()=>u,AB:()=>ts,CZ:()=>tm,Cd:()=>S,Gc:()=>O,HA:()=>v,Hj:()=>N,LF:()=>d,MV:()=>m,Mz:()=>h,P$:()=>P,Tu:()=>g,_g:()=>k,eU:()=>tf,ez:()=>z,fH:()=>th,fb:()=>tl,iN:()=>tu,jB:()=>y,jx:()=>e0,kX:()=>tg,n:()=>R,ng:()=>td,q6:()=>tp,sJ:()=>f,ti:()=>e9,tz:()=>tc,ub:()=>w,uz:()=>c,xv:()=>b,xz:()=>ta,zH:()=>p,zz:()=>i.z});var a=n(85661),i=n(93592),s=n(99985).hp;function u(e){return Array.isArray(e)?e:[e]}function c(e,t=!1){let n=e.split(/(\r?\n)/g),l=0,o=[];for(let e=0;e<n.length;e+=2){let r=t?n[e]+(n[e+1]||""):n[e];o.push([r,l]),l+=n[e].length,l+=n[e+1]?.length||0}return o}function g(e){return!e||["plaintext","txt","text","plain"].includes(e)}function f(e){return"ansi"===e||g(e)}function h(e){return"none"===e}function p(e){return h(e)}function d(e,t){if(!t)return e;for(let n of(e.properties||={},e.properties.class||=[],"string"==typeof e.properties.class&&(e.properties.class=e.properties.class.split(/\s+/g)),Array.isArray(e.properties.class)||(e.properties.class=[]),Array.isArray(t)?t:t.split(/\s+/g)))n&&!e.properties.class.includes(n)&&e.properties.class.push(n);return e}function m(e,t){let n=0,l=[];for(let o of t)o>n&&l.push({...e,content:e.content.slice(n,o),offset:e.offset+n}),n=o;return n<e.content.length&&l.push({...e,content:e.content.slice(n),offset:e.offset+n}),l}function y(e,t){let n=Array.from(t instanceof Set?t:new Set(t)).sort((e,t)=>e-t);return n.length?e.map(e=>e.flatMap(e=>{let t=n.filter(t=>e.offset<t&&t<e.offset+e.content.length).map(t=>t-e.offset).sort((e,t)=>e-t);return t.length?m(e,t):e})):e}function b(e,t){let n="string"==typeof e?{}:{...e.colorReplacements},l="string"==typeof e?e:e.name;for(let[e,o]of Object.entries(t?.colorReplacements||{}))"string"==typeof o?n[e]=o:e===l&&Object.assign(n,o);return n}function v(e,t){return e&&t?.[e?.toLowerCase()]||e}function w(e){let t={};return e.color&&(t.color=e.color),e.bgColor&&(t["background-color"]=e.bgColor),e.fontStyle&&(e.fontStyle&i.z.Italic&&(t["font-style"]="italic"),e.fontStyle&i.z.Bold&&(t["font-weight"]="bold"),e.fontStyle&i.z.Underline&&(t["text-decoration"]="underline")),t}function k(e){return Object.entries(e).map(([e,t])=>`${e}:${t}`).join(";")}function S(e){let t=c(e,!0).map(([e])=>e);return{lines:t,indexToPos:function(n){if(n===e.length)return{line:t.length-1,character:t[t.length-1].length};let l=n,o=0;for(let e of t){if(l<e.length)break;l-=e.length,o++}return{line:o,character:l}},posToIndex:function(e,n){let l=0;for(let n=0;n<e;n++)l+=t[n].length;return l+n}}}var C=["black","red","green","yellow","blue","magenta","cyan","white","brightBlack","brightRed","brightGreen","brightYellow","brightBlue","brightMagenta","brightCyan","brightWhite"],x={1:"bold",2:"dim",3:"italic",4:"underline",7:"reverse",9:"strikethrough"};function T(e,t){let n,l=1,o=e[t+l++];if("2"===o){let o=[e[t+l++],e[t+l++],e[t+l]].map(e=>Number.parseInt(e));3!==o.length||o.some(e=>Number.isNaN(e))||(n={type:"rgb",rgb:o})}else if("5"===o){let o=Number.parseInt(e[t+l]);Number.isNaN(o)||(n={type:"table",index:Number(o)})}return[l,n]}var L={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 O(e,t,n){let l,o,r,a=b(e,n),s=c(t),u=function(e=L){let t;function n(e){return`#${e.map(e=>Math.max(0,Math.min(e,255)).toString(16).padStart(2,"0")).join("")}`}return{value:function(l){switch(l.type){case"named":return e[l.name];case"rgb":return n(l.rgb);case"table":var o;return o=l.index,function(){if(t)return t;t=[];for(let n=0;n<C.length;n++)t.push(e[C[n]]);let l=[0,95,135,175,215,255];for(let e=0;e<6;e++)for(let o=0;o<6;o++)for(let r=0;r<6;r++)t.push(n([l[e],l[o],l[r]]));let o=8;for(let e=0;e<24;e++,o+=10)t.push(n([o,o,o]));return t}()[o]}}}}(Object.fromEntries(C.map(t=>[t,e.colors?.[`terminal.ansi${t[0].toUpperCase()}${t.substring(1)}`]]))),g=(l=null,o=null,r=new Set,{parse(e){let t=[],n=0;do{let a=function(e,t){let n=e.indexOf("\x1b[",t);if(-1!==n){let t=e.indexOf("m",n);return{sequence:e.substring(n+2,t).split(";"),startPosition:n,position:t+1}}return{position:e.length}}(e,n),i=a.sequence?e.substring(n,a.startPosition):e.substring(n);if(i.length>0&&t.push({value:i,foreground:l,background:o,decorations:new Set(r)}),a.sequence){let e=function(e){let t=[];for(let n=0;n<e.length;n++){let l=Number.parseInt(e[n]);if(!Number.isNaN(l))if(0===l)t.push({type:"resetAll"});else if(l<=9)x[l]&&t.push({type:"setDecoration",value:x[l]});else if(l<=29){let e=x[l-20];e&&t.push({type:"resetDecoration",value:e})}else if(l<=37)t.push({type:"setForegroundColor",value:{type:"named",name:C[l-30]}});else if(38===l){let[l,o]=T(e,n);o&&t.push({type:"setForegroundColor",value:o}),n+=l}else if(39===l)t.push({type:"resetForegroundColor"});
1else if(l<=47)t.push({type:"setBackgroundColor",value:{type:"named",name:C[l-40]}});else if(48===l){let[l,o]=T(e,n);o&&t.push({type:"setBackgroundColor",value:o}),n+=l}else 49===l?t.push({type:"resetBackgroundColor"}):l>=90&&l<=97?t.push({type:"setForegroundColor",value:{type:"named",name:C[l-90+8]}}):l>=100&&l<=107&&t.push({type:"setBackgroundColor",value:{type:"named",name:C[l-100+8]}})}return t}(a.sequence);for(let t of e)"resetAll"===t.type?(l=null,o=null,r.clear()):"resetForegroundColor"===t.type?l=null:"resetBackgroundColor"===t.type?o=null:"resetDecoration"===t.type&&r.delete(t.value);for(let t of e)"setForegroundColor"===t.type?l=t.value:"setBackgroundColor"===t.type?o=t.value:"setDecoration"===t.type&&r.add(t.value)}n=a.position}while(n<e.length);return t}});return s.map(t=>g.parse(t[0]).map(n=>{let l,o;n.decorations.has("reverse")?(l=n.background?u.value(n.background):e.bg,o=n.foreground?u.value(n.foreground):e.fg):(l=n.foreground?u.value(n.foreground):e.fg,o=n.background?u.value(n.background):void 0),l=v(l,a),o=v(o,a),n.decorations.has("dim")&&(l=function(e){let t=e.match(/#([0-9a-f]{3})([0-9a-f]{3})?([0-9a-f]{2})?/);if(t)if(t[3]){let e=Math.round(Number.parseInt(t[3],16)/2).toString(16).padStart(2,"0");return`#${t[1]}${t[2]}${e}`}else if(t[2])return`#${t[1]}${t[2]}80`;else return`#${Array.from(t[1]).map(e=>`${e}${e}`).join("")}80`;let n=e.match(/var\((--[\w-]+-ansi-[\w-]+)\)/);return n?`var(${n[1]}-dim)`:e}(l));let r=i.z.None;return n.decorations.has("bold")&&(r|=i.z.Bold),n.decorations.has("italic")&&(r|=i.z.Italic),n.decorations.has("underline")&&(r|=i.z.Underline),{content:n.value,offset:t[1],color:l,bgColor:o,fontStyle:r}}))}class N extends Error{constructor(e){super(e),this.name="ShikiError"}}class A{_stack;lang;theme;static initial(e,t){return new A(a.DI,e,t)}constructor(e,t,n){this._stack=e,this.lang=t,this.theme=n}get scopes(){var e=this._stack;let t=[],n=new Set;return!function e(l){if(n.has(l))return;n.add(l);let o=l?.nameScopesList?.scopeName;o&&t.push(o),l.parent&&e(l.parent)}(e),t}toJSON(){return{lang:this.lang,theme:this.theme,scopes:this.scopes}}}function _(e,t,n={}){let{lang:l="text",theme:o=e.getLoadedThemes()[0]}=n;if(g(l)||h(o))return c(t).map(e=>[{content:e[0],offset:e[1]}]);let{theme:r,colorMap:a}=e.setTheme(o);if("ansi"===l)return O(r,t,n);let i=e.getLanguage(l);if(n.grammarState){if(n.grammarState.lang!==i.name)throw new N(`Grammar state language "${n.grammarState.lang}" does not match highlight language "${i.name}"`);if(n.grammarState.theme!==o)throw new N(`Grammar state theme "${n.grammarState.theme}" does not match highlight theme "${o}"`)}return P(t,i,r,a,n)}function P(e,t,n,l,o){return E(e,t,n,l,o).tokens}function E(e,t,n,l,o){let r=b(n,o),{tokenizeMaxLineLength:i=0,tokenizeTimeLimit:s=500}=o,u=c(e),g=o.grammarState?function(e){if(!(e instanceof A))throw new N("Invalid grammar state");return e._stack}(o.grammarState):null!=o.grammarContextCode?E(o.grammarContextCode,t,n,l,{...o,grammarState:void 0,grammarContextCode:void 0}).stateStack:a.DI,f=[],h=[];for(let e=0,c=u.length;e<c;e++){let c,p,[d,m]=u[e];if(""===d){f=[],h.push([]);continue}if(i>0&&d.length>=i){f=[],h.push([{content:d,offset:m,color:"",fontStyle:0}]);continue}o.includeExplanation&&(c=t.tokenizeLine(d,g).tokens,p=0);let y=t.tokenizeLine2(d,g,s),b=y.tokens.length/2;for(let e=0;e<b;e++){let t=y.tokens[2*e],i=e+1<b?y.tokens[2*e+2]:d.length;if(t===i)continue;let s=y.tokens[2*e+1],u=v(l[a._u.getForeground(s)],r),g=a._u.getFontStyle(s),h={content:d.substring(t,i),offset:m+t,color:u,fontStyle:g};if(o.includeExplanation){let e=[];
1if("scopeName"!==o.includeExplanation)for(let t of n.settings){let n;switch(typeof t.scope){case"string":n=t.scope.split(/,/).map(e=>e.trim());break;case"object":n=t.scope;break;default:continue}e.push({settings:t,selectors:n.map(e=>e.split(/ /))})}h.explanation=[];let l=0;for(;t+l<i;){let t=c[p],n=d.substring(t.startIndex,t.endIndex);l+=n.length,h.explanation.push({content:n,scopes:"scopeName"===o.includeExplanation?t.scopes.map(e=>({scopeName:e})):function(e,t){let n=[];for(let l=0,o=t.length;l<o;l++){let o=t[l];n[l]={scopeName:o,themeMatches:function(e,t,n){let l=[];for(let{selectors:o,settings:r}of e)for(let e of o)if(function(e,t,n){if(!M(e[e.length-1],t))return!1;let l=e.length-2,o=n.length-1;for(;l>=0&&o>=0;)M(e[l],n[o])&&(l-=1),o-=1;return -1===l}(e,t,n)){l.push(r);break}return l}(e,o,t.slice(0,l))}}return n}(e,t.scopes)}),p+=1}}f.push(h)}h.push(f),f=[],g=y.ruleStack}return{tokens:h,stateStack:g}}function M(e,t){return e===t||t.substring(0,e.length)===e&&"."===t[e.length]}function U(e,t,n){let l=Object.entries(n.themes).filter(e=>e[1]).map(e=>({color:e[0],theme:e[1]})),o=function(...e){let t=e.map(()=>[]),n=e.length;for(let l=0;l<e[0].length;l++){let o=e.map(e=>e[l]),r=t.map(()=>[]);t.forEach((e,t)=>e.push(r[t]));let a=o.map(()=>0),i=o.map(e=>e[0]);for(;i.every(e=>e);){let e=Math.min(...i.map(e=>e.content.length));for(let t=0;t<n;t++){let n=i[t];n.content.length===e?(r[t].push(n),a[t]+=1,i[t]=o[t][a[t]]):(r[t].push({...n,content:n.content.slice(0,e)}),i[t]={...n,content:n.content.slice(e),offset:n.offset+e})}}}return t}(...l.map(l=>_(e,t,{...n,theme:l.theme})));return o[0].map((e,t)=>e.map((e,r)=>{let a={content:e.content,variants:{},offset:e.offset};return"includeExplanation"in n&&n.includeExplanation&&(a.explanation=e.explanation),o.forEach((e,n)=>{let{content:o,explanation:i,offset:s,...u}=e[t][r];a.variants[l[n].color]=u}),a}))}function D(e,t,n){let l,o,r,a,i;if("themes"in n){let{defaultColor:s="light",cssVariablePrefix:u="--shiki-"}=n,c=Object.entries(n.themes).filter(e=>e[1]).map(e=>({color:e[0],theme:e[1]})).sort((e,t)=>e.color===s?-1:+(t.color===s));if(0===c.length)throw new N("`themes` option must not be empty");let g=U(e,t,n);if(s&&!c.find(e=>e.color===s))throw new N(`\`themes\` option must contain the defaultColor key \`${s}\``);let f=c.map(t=>e.getTheme(t.theme)),h=c.map(e=>e.color);r=g.map(e=>e.map(e=>(function(e,t,n,l){let o={content:e.content,explanation:e.explanation,offset:e.offset},r=t.map(t=>w(e.variants[t])),a=new Set(r.flatMap(e=>Object.keys(e))),i=r.reduce((e,o,r)=>{for(let i of a){let a=o[i]||"inherit";if(0===r&&l)e[i]=a;else{let l="color"===i?"":"background-color"===i?"-bg":`-${i}`,o=n+t[r]+("color"===i?"":l);e[i]?e[i]+=`;${o}:${a}`:e[i]=`${o}:${a}`}}return e},{});return o.htmlStyle=l?k(i):Object.values(i).join(";"),o})(e,h,u,s)));let p=c.map(e=>b(e.theme,n));o=c.map((e,t)=>(0===t&&s?"":`${u+e.color}:`)+(v(f[t].fg,p[t])||"inherit")).join(";"),l=c.map((e,t)=>(0===t&&s?"":`${u+e.color}-bg:`)+(v(f[t].bg,p[t])||"inherit")).join(";"),a=`shiki-themes ${f.map(e=>e.name).join(" ")}`,i=s?void 0:[o,l].join(";")}else if("theme"in n){let i=b(n.theme,n);r=_(e,t,n);let s=e.getTheme(n.theme);l=v(s.bg,i),o=v(s.fg,i),a=s.name}else throw new N("Invalid options, either `theme` or `themes` must be provided");return{tokens:r,fg:o,bg:l,themeName:a,rootStyle:i}}function R(){let e=new WeakMap;function t(t){if(!e.has(t.meta)){let l=S(t.source);function n(e){if("number"==typeof e){if(e<0||e>t.source.length)throw new N(`Invalid decoration offset: ${e}. Code length: ${t.source.length}`);return{...l.indexToPos(e),offset:e}}{let t=l.lines[e.line];if(void 0===t)throw new N(`Invalid decoration position ${JSON.stringify(e)}. Lines length: ${l.lines.length}`);if(e.character<0||e.character>t.length)throw new N(`Invalid decoration position ${JSON.stringify(e)}. Line ${e.line} length: ${t.length}`);return{...e,offset:l.posToIndex(e.line,e.character)}}}let o=(t.options.decorations||[]).map(e=>({...e,start:n(e.start),end:n(e.end)}));(function(e){for(let t=0;t<e.length;t++){let n=e[t];if(n.start.offset>n.end.offset)throw new N(`Invalid decoration range: ${JSON.stringify(n.start)} - ${JSON.stringify(n.end)}`);for(let l=t+1;l<e.length;l++){let t=e[l],o=n.start.offset<t.start.offset&&t.start.offset<n.end.offset,r=n.start.offset<t.end.offset&&t.end.offset<n.end.offset,a=t.start.offset<n.start.offset&&n.start.offset<t.end.offset,i=t.start.offset<n.end.offset&&n.end.offset<t.end.offset;if(o||r||a||i){if(r&&r||a&&i)continue;throw new N(`Decorations ${JSON.stringify(n.start)} and ${JSON.stringify(t.start)} intersect.`)}}}})(o),e.set(t.meta,{decorations:o,converter:l,source:t.source})}return e.get(t.meta)}return{name:"shiki:decorations",tokens(e){if(this.options.decorations?.length)return y(e,t(this).decorations.flatMap(e=>[e.start.offset,e.end.offset]))},code(e){if(!this.options.decorations?.length)return;let n=t(this),l=Array.from(e.children).filter(e=>"element"===e.type&&"span"===e.tagName);if(l.length!==n.converter.lines.length)throw new N(`Number of lines in code element (${l.length}) does not match the number of lines in the source (${n.converter.lines.length}). Failed to apply decorations.`);function o(e,t,n,o){let a=l[e],i="",s=-1,u=-1;if(0===t&&(s=0),0===n&&(u=0),n===1/0&&(u=a.children.length),-1===s||-1===u)for(let e=0;e<a.children.length;e++)i+=function e(t){return"text"===t.type?t.value:"element"===t.type?t.children.map(e).join(""):""}(a.children[e]),-1===s&&i.length===t&&(s=e+1),-1===u&&i.length===n&&(u=e+1);if(-1===s)throw new N(`Failed to find start index for decoration ${JSON.stringify(o.start)}`);
1if(-1===u)throw new N(`Failed to find end index for decoration ${JSON.stringify(o.end)}`);let c=a.children.slice(s,u);if(o.alwaysWrap||c.length!==a.children.length)if(o.alwaysWrap||1!==c.length||"element"!==c[0].type){let e={type:"element",tagName:"span",properties:{},children:c};r(e,o,"wrapper"),a.children.splice(s,c.length,e)}else r(c[0],o,"token");else r(a,o,"line")}function r(e,t,n){let l=t.properties||{},o=t.transform||(e=>e);return e.tagName=t.tagName||"span",e.properties={...e.properties,...l,class:e.properties.class},t.properties?.class&&d(e,t.properties.class),e=o(e,n)||e}let a=[];for(let e of n.decorations.sort((e,t)=>t.start.offset-e.start.offset)){let{start:t,end:n}=e;if(t.line===n.line)o(t.line,t.character,n.character,e);else if(t.line<n.line){o(t.line,t.character,1/0,e);for(let o=t.line+1;o<n.line;o++)a.unshift(()=>{var t;l[t=o]=r(l[t],e,"line")});o(n.line,0,n.character,e)}}a.forEach(e=>e())}}}let B=[R()];function j(e){return[...e.transformers||[],...B]}function $(e,t,n,l={meta:{},options:n,codeToHast:(t,n)=>$(e,t,n),codeToTokens:(t,n)=>D(e,t,n)}){let o=t;for(let e of j(n))o=e.preprocess?.call(l,o,n)||o;let{tokens:r,fg:a,bg:s,themeName:u,rootStyle:c}=D(e,o,n),{mergeWhitespaces:g=!0}=n;!0===g?r=r.map(e=>{let t=[],n="",l=0;return e.forEach((o,r)=>{let a=!(o.fontStyle&&o.fontStyle&i.z.Underline);a&&o.content.match(/^\s+$/)&&e[r+1]?(l||(l=o.offset),n+=o.content):n?(a?t.push({...o,offset:l,content:n+o.content}):t.push({content:n,offset:l},o),l=0,n=""):t.push(o)}),t}):"never"===g&&(r=r.map(e=>e.flatMap(e=>{if(e.content.match(/^\s+$/))return e;let t=e.content.match(/^(\s*)(.*?)(\s*)$/);if(!t)return e;let[,n,l,o]=t;if(!n&&!o)return e;let r=[{...e,offset:e.offset+n.length,content:l}];return n&&r.unshift({content:n,offset:e.offset}),o&&r.push({content:o,offset:e.offset+n.length+l.length}),r})));let f={...l,get source(){return o}};for(let e of j(n))r=e.tokens?.call(f,r)||r;return z(r,{...n,fg:a,bg:s,themeName:u,rootStyle:c},f)}function z(e,t,n){let l=j(t),o=[],r={type:"root",children:[]},{structure:a="classic"}=t,i={type:"element",tagName:"pre",properties:{class:`shiki ${t.themeName||""}`,style:t.rootStyle||`background-color:${t.bg};color:${t.fg}`,tabindex:"0",...Object.fromEntries(Array.from(Object.entries(t.meta||{})).filter(([e])=>!e.startsWith("_")))},children:[]},s={type:"element",tagName:"code",properties:{},children:o},u=[],c={...n,structure:a,addClassToHast:d,get source(){return n.source},get tokens(){return e},get options(){return t},get root(){return r},get pre(){return i},get code(){return s},get lines(){return u}};if(e.forEach((e,t)=>{t&&("inline"===a?r.children.push({type:"element",tagName:"br",properties:{},children:[]}):"classic"===a&&o.push({type:"text",value:"\n"}));let n={type:"element",tagName:"span",properties:{class:"line"},children:[]},i=0;for(let o of e){let e={type:"element",tagName:"span",properties:{},children:[{type:"text",value:o.content}]},s=o.htmlStyle||k(w(o));for(let o of(s&&(e.properties.style=s),l))e=o?.span?.call(c,e,t+1,i,n)||e;"inline"===a?r.children.push(e):"classic"===a&&n.children.push(e),i+=o.content.length}if("classic"===a){for(let e of l)n=e?.line?.call(c,n,t+1)||n;u.push(n),o.push(n)}}),"classic"===a){for(let e of l)s=e?.code?.call(c,s)||s;for(let e of(i.children.push(s),l))i=e?.pre?.call(c,i)||i;r.children.push(i)}let g=r;for(let e of l)g=e?.root?.call(c,g)||g;return g}let I=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"];class H{constructor(e,t,n){this.property=e,this.normal=t,n&&(this.space=n)}}function F(e,t){let n={},l={},o=-1;for(;++o<e.length;)Object.assign(n,e[o].property),Object.assign(l,e[o].normal);return new H(n,l,t)}function q(e){return e.toLowerCase()}H.prototype.property={},H.prototype.normal={},H.prototype.space=null;class W{constructor(e,t){this.property=e,this.attribute=t}}W.prototype.space=null,W.prototype.boolean=!1,W.prototype.booleanish=!1,W.prototype.overloadedBoolean=!1,W.prototype.number=!1,W.prototype.commaSeparated=!1,W.prototype.spaceSeparated=!1,W.prototype.commaOrSpaceSeparated=!1,W.prototype.mustUseProperty=!1,W.prototype.defined=!1;let G=0,V=ee(),Y=ee(),K=ee(),J=ee(),X=ee(),Z=ee(),Q=ee();function ee(){return 2**++G}var et=Object.freeze({__proto__:null,boolean:V,booleanish:Y,commaOrSpaceSeparated:Q,commaSeparated:Z,number:J,overloadedBoolean:K,spaceSeparated:X});let en=Object.keys(et);class el extends W{constructor(e,t,n,l){let o=-1;if(super(e,t),function(e,t,n){n&&(e[t]=n)}(this,"space",l),"number"==typeof n)for(;++o<en.length;){let e=en[o];!function(e,t,n){n&&(e[t]=n)}(this,en[o],(n&et[e])===et[e])}}}el.prototype.defined=!0;let eo={}.hasOwnProperty;function er(e){let t,n={},l={};for(t in e.properties)if(eo.call(e.properties,t)){let o=e.properties[t],r=new el(t,e.transform(e.attributes||{},t),o,e.space);e.mustUseProperty&&e.mustUseProperty.includes(t)&&(r.mustUseProperty=!0),n[t]=r,l[q(t)]=t,l[q(r.attribute)]=t}return new H(n,l,e.space)}let ea=er({space:"xlink",transform:(e,t)=>
vendor: 4,138 bytes, line 1
1"xlink:"+t.slice(5).toLowerCase(),properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}}),ei=er({space:"xml",transform:(e,t)=>"xml:"+t.slice(3).toLowerCase(),properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function es(e,t){return t in e?e[t]:t}function eu(e,t){return es(e,t.toLowerCase())}let ec=er({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:eu,properties:{xmlns:null,xmlnsXLink:null}}),eg=er({transform:(e,t)=>"role"===t?t:"aria-"+t.slice(4).toLowerCase(),properties:{ariaActiveDescendant:null,ariaAtomic:Y,ariaAutoComplete:null,ariaBusy:Y,ariaChecked:Y,ariaColCount:J,ariaColIndex:J,ariaColSpan:J,ariaControls:X,ariaCurrent:null,ariaDescribedBy:X,ariaDetails:null,ariaDisabled:Y,ariaDropEffect:X,ariaErrorMessage:null,ariaExpanded:Y,ariaFlowTo:X,ariaGrabbed:Y,ariaHasPopup:null,ariaHidden:Y,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:X,ariaLevel:J,ariaLive:null,ariaModal:Y,ariaMultiLine:Y,ariaMultiSelectable:Y,ariaOrientation:null,ariaOwns:X,ariaPlaceholder:null,ariaPosInSet:J,ariaPressed:Y,ariaReadOnly:Y,ariaRelevant:null,ariaRequired:Y,ariaRoleDescription:X,ariaRowCount:J,ariaRowIndex:J,ariaRowSpan:J,ariaSelected:Y,ariaSetSize:J,ariaSort:null,ariaValueMax:J,ariaValueMin:J,ariaValueNow:J,ariaValueText:null,role:null}}),ef=er({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:eu,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:Z,acceptCharset:X,accessKey:X,action:null,allow:null,allowFullScreen:V,allowPaymentRequest:V,allowUserMedia:V,alt:null,as:null,async:V,autoCapitalize:null,autoComplete:X,autoFocus:V,autoPlay:V,blocking:X,capture:null,charSet:null,checked:V,cite:null,className:X,cols:J,colSpan:null,content:null,contentEditable:Y,controls:V,controlsList:X,coords:J|Z,crossOrigin:null,data:null,dateTime:null,decoding:null,default:V,defer:V,dir:null,dirName:null,disabled:V,download:K,draggable:Y,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:V,formTarget:null,headers:X,height:J,hidden:V,high:J,href:null,hrefLang:null,htmlFor:X,httpEquiv:X,id:null,imageSizes:null,imageSrcSet:null,inert:V,inputMode:null,integrity:null,is:null,isMap:V,itemId:null,itemProp:X,itemRef:X,itemScope:V,itemType:X,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:V,low:J,manifest:null,max:null,maxLength:J,media:null,method:null,min:null,minLength:J,multiple:V,muted:V,name:null,nonce:null,noModule:V,noValidate:V,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:V,optimum:J,pattern:null,ping:X,placeholder:null,playsInl
1ine:V,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:V,referrerPolicy:null,rel:X,required:V,reversed:V,rows:J,rowSpan:J,sandbox:X,scope:null,scoped:V,seamless:V,selected:V,shadowRootDelegatesFocus:V,shadowRootMode:null,shape:null,size:J,sizes:null,slot:null,span:J,spellCheck:Y,src:null,srcDoc:null,srcLang:null,srcSet:null,start:J,step:null,style:null,tabIndex:J,target:null,title:null,translate:null,type:null,typeMustMatch:V,useMap:null,value:Y,width:J,wrap:null,align:null,aLink:null,archive:X,axis:null,background:null,bgColor:null,border:J,borderColor:null,bottomMargin:J,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:V,declare:V,event:null,face:null,frame:null,frameBorder:null,hSpace:J,leftMargin:J,link:null,longDesc:null,lowSrc:null,marginHeight:J,marginWidth:J,noResize:V,noHref:V,noShade:V,noWrap:V,object:null,profile:null,prompt:null,rev:null,rightMargin:J,rules:null,scheme:null,scrolling:Y,standby:null,summary:null,text:null,topMargin:J,valueType:null,version:null,vAlign:null,vLink:null,vSpace:J,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:V,disableRemotePlayback:V,prefix:null,property:null,results:J,security:null,unselectable:null}}),eh=er({space:"svg",attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav
1-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},transform:es,properties:{about:Q,accentHeight:J,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:J,amplitude:J,arabicForm:null,ascent:J,attributeName:null,attributeType:null,azimuth:J,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:J,by:null,calcMode:null,capHeight:J,className:X,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:J,diffuseConstant:J,direction:null,display:null,dur:null,divisor:J,dominantBaseline:null,download:V,dx:null,dy:null,edgeMode:null,editable:null,elevation:J,enableBackground:null,end:null,event:null,exponent:J,externalResourcesRequired:null,fill:null,fillOpacity:J,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:Z,g2:Z,glyphName:Z,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:J,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:J,horizOriginX:J,horizOriginY:J,id:null,ideographic:J,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:J,k:J,k1:J,k2:J,k3:J,k4:J,kernelMatrix:Q,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:J,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:J,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,on
1Zoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:J,overlineThickness:J,paintOrder:null,panose1:null,path:null,pathLength:J,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:X,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:J,pointsAtY:J,pointsAtZ:J,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:Q,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:Q,rev:Q,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:Q,requiredFeatures:Q,requiredFonts:Q,requiredFormats:Q,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:J,specularExponent:J,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:J,strikethroughThickness:J,string:null,stroke:null,strokeDashArray:Q,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:J,strokeOpacity:J,strokeWidth:null,style:null,surfaceScale:J,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:Q,tabIndex:J,tableValues:null,target:null,targetX:J,targetY:J,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:Q,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:J,underlineThickness:J,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:J,values:null,vAlphabetic:J,vMathematical:J,vectorEffect:null,vHanging:J,vIdeographic:J,version:null,vertAdvY:J,vertOriginX:J,vertOriginY:J,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:J,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),ep=/^data[-\w.:]+$/i,ed=/-[a-z]/g,em=/[A-Z]/g;function ey(e){return"-"+e.toLowerCase()}function eb(e){return e.charAt(1).toUpperCase()}let ev=F([ei,ea,ec,eg,ef],"html"),ew=F([ei,ea,ec,eg,eh],"svg"),ek={}.hasOwnProperty,eS=["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","
1sup2","sup3","szlig","thorn","times","uacute","ucirc","ugrave","uml","uuml","yacute","yen","yuml"],eC={nbsp:"\xa0",iexcl:"\xa1",cent:"\xa2",pound:"\xa3",curren:"\xa4",yen:"\xa5",brvbar:"\xa6",sect:"\xa7",uml:"\xa8",copy:"\xa9",ordf:"\xaa",laquo:"\xab",not:"\xac",shy:"\xad",reg:"\xae",macr:"\xaf",deg:"\xb0",plusmn:"\xb1",sup2:"\xb2",sup3:"\xb3",acute:"\xb4",micro:"\xb5",para:"\xb6",middot:"\xb7",cedil:"\xb8",sup1:"\xb9",ordm:"\xba",raquo:"\xbb",frac14:"\xbc",frac12:"\xbd",frac34:"\xbe",iquest:"\xbf",Agrave:"\xc0",Aacute:"\xc1",Acirc:"\xc2",Atilde:"\xc3",Auml:"\xc4",Aring:"\xc5",AElig:"\xc6",Ccedil:"\xc7",Egrave:"\xc8",Eacute:"\xc9",Ecirc:"\xca",Euml:"\xcb",Igrave:"\xcc",Iacute:"\xcd",Icirc:"\xce",Iuml:"\xcf",ETH:"\xd0",Ntilde:"\xd1",Ograve:"\xd2",Oacute:"\xd3",Ocirc:"\xd4",Otilde:"\xd5",Ouml:"\xd6",times:"\xd7",Oslash:"\xd8",Ugrave:"\xd9",Uacute:"\xda",Ucirc:"\xdb",Uuml:"\xdc",Yacute:"\xdd",THORN:"\xde",szlig:"\xdf",agrave:"\xe0",aacute:"\xe1",acirc:"\xe2",atilde:"\xe3",auml:"\xe4",aring:"\xe5",aelig:"\xe6",ccedil:"\xe7",egrave:"\xe8",eacute:"\xe9",ecirc:"\xea",euml:"\xeb",igrave:"\xec",iacute:"\xed",icirc:"\xee",iuml:"\xef",eth:"\xf0",ntilde:"\xf1",ograve:"\xf2",oacute:"\xf3",ocirc:"\xf4",otilde:"\xf5",ouml:"\xf6",divide:"\xf7",oslash:"\xf8",ugrave:"\xf9",uacute:"\xfa",ucirc:"\xfb",uuml:"\xfc",yacute:"\xfd",thorn:"\xfe",yuml:"\xff",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
1:"â",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:"â¬"},ex=["cent","copy","divide","gt","lt","not","para","times"],eT={}.hasOwnProperty,eL={};for(l in eC)eT.call(eC,l)&&(eL[eC[l]]=l);function eO(e,t,n){let l,o=function(e,t,n){let l="&#x"+e.toString(16).toUpperCase();return n&&t&&!/[\dA-Fa-f]/.test(String.fromCharCode(t))?l:l+";"}(e,t,n.omitOptionalSemicolons);if((n.useNamedReferences||n.useShortestReferences)&&(l=function(e,t,n,l){let o=String.fromCharCode(e);if(eT.call(eL,o)){let e=eL[o],r="&"+e;return n&&eS.includes(e)&&!ex.includes(e)&&(!l||t&&61!==t&&/[^\da-z]/i.test(String.fromCharCode(t)))?r:r+";"}return""}(e,t,n.omitOptionalSemicolons,n.attribute)),(n.useShortestReferences||!l)&&n.useShortestReferences){let l=function(e,t,n){let l="&#"+String(e);return n&&t&&!/\d/.test(String.fromCharCode(t))?l:l+";"}(e,t,n.omitOptionalSemicolons);l.length<o.length&&(o=l)}return l&&(!n.useShortestReferences||l.length<o.length)?l:o}function eN(e,t){var n=e,l=Object.assign({format:eO},t);if(n=n.replace(l.subset?function(e){let t=[],n=-1;for(;++n<e.length;)t.push(e[n].replace(/[|\\{}()[\]^$+*?.]/g,"\\$&"));return RegExp("(?:"+t.join("|")+")","g")}(l.subset):/["&'<>`]/g,o),l.subset||l.escapeOnly)return n;return n.replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,function(e,t,n){return l.format((e.charCodeAt(0)-55296)*1024+e.charCodeAt(1)-56320+65536,n.charCodeAt(t+2),l)}).replace(/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,o);function o(e,t,n){return l.format(e.charCodeAt(0),n.charCodeAt(t+1),l)}}let eA=/^>|^->|<!--|-->|--!>|<!-$/g,e_=[">"],eP=["<",">"];function eE(e,t){let n=String(e);if("string"!=typeof t)throw TypeError("Expected character");let l=0,o=n.indexOf(t);for(;-1!==o;)l++,o=n.indexOf(t,o+t.length);return l}let eM=/[ \t\n\f\r]/g;function eU(e){return"object"==typeof e?"text"===e.type&&eD(e.value):eD(e)}function eD(e){return""===e.replace(eM,"")}let eR=e$(1),eB=e$(-1),ej=[];function e$(e){return function(t,n,l){let o=t?t.children:ej,r=(n||0)+e,a=o[r];if(!l)for(;a&&eU(a);)r+=e,a=o[r];return a}}let ez={}.hasOwnProperty;function eI(e){return function(t,n,l){return ez.call(e,t.tagName)&&e[t.tagName](t,n,l)}}let eH=eI({body:function(e,t,n){let l=eR(n,t);return!l||"comment"!==l.type},caption:eF,colgroup:eF,dd:function(e,t,n){let l=eR(n,t);return!l||"element"===l.type&&("dt"===l.tagName||"dd"===l.tagName)},dt:function(e,t,n){let l=eR(n,t);return!!(l&&"element"===l.type&&("dt"===l.tagName||"dd"===l.tagName))},head:eF,html:function(e,t,n){let l=eR(n,t);return!l||"comment"!==l.type},li:function(e,t,n){let l=eR(n,t);return!l||"element"===l.type&&"li"===l.tagName},optgroup:function(e,t,n){let l=eR(n,t);return!l||"element"===l.type&&"optgroup"===l.tagName},option:function(e,t,n){let l=eR(n,t);return!l||"element"===l.type&&("option"===l.tagName||"optgroup"===l.tagName)},p:function(e,t,n){let l=eR(n,t);return l?"element"===l.type&&("address"===l.tagName||"article"===l.tagName||"aside"===l.tagName||"blockquote"===l.tagName||"details"===l.tagName||"div"===l.tagName||"dl"===l.tagName||"fieldset"===l.tagName||"figcaption"===l.tagName||"figure"===l.tagName||"footer"===l.tagName||"form"===l.tagName||"h1"===l.tagName||"h2"===l.tagName||"h3"===l.tagName||"h4"===l.tagName||"h5"===l.tagName||"h6"===l.tagName||"header"===l.tagName||"hgroup"===l.tagName||"hr"===l.tagName||"main"===l.tagName||"menu"===l.tagName||"nav"===l.tagName||"ol"===l.tagName||"p"===l.tagName||"pre"===l.tagName||"section"===l.tagName||"table"===l.tagName||"ul"===l.tagName):!n||"element"!==n.type||"a"!==n.tagName&&"audio"!==n.tagName&&"del"!==n.tagName&&"ins"!==n.tagName&&"map"!==n.tagName&&"noscript"!==n.tagName&&"video"!==n.tagName},rp:eq,rt:eq,tbody:function(e,t,n){let l=eR(n,t);return!l||"element"===l.type&&("tbody"===l.tagName||"tfoot"===l.tagName)},td:eW,tfoot:function(e,t,n){return!eR(n,t)},th:eW,thead:function(e,t,n){let l=eR(n,t);return!!(l&&"element"===l.type&&("tbody"===l.tagName||"tfoot"===l.tagName))},tr:function(e,t,n){let l=eR(n,t);return!l||"element"===l.type&&"tr"===l.tagName}});function eF(e,t,n){let l=eR(n,t,!0);return!l||"comment"!==l.type&&!("text"===l.type&&eU(l.value.charAt(0)))}function eq(e,t,n){let l=eR(n,t);return!l||"element"===l.type&&("rp"===l.tagName||"rt"===l.tagName)}function eW(e,t,n){let l=eR(n,t);return!l||"element"===l.type&&("td"===l.tagName||"th"===l.tagName)}let eG=eI({body:function(e){let t=eR(e,-1,!0);return!t||"comment"!==t.type&&!("text"===t.type&&eU(t.value.charAt(0)))&&("element"!==t.type||"meta"!==t.tagName&&"link"!==t.tagName&&"script"!==t.tagName&&"style"!==t.tagName&&"template"!==t.tagName)},colgroup:function(e,t,n){let l=eB(n,t),o=eR(e,-1,!0);return!(n&&l&&"element"===l.type&&"colgroup"===l.tagName&&eH(l,n.children.indexOf(l),n))&&!!(o&&"element"===o.type&&"col"===o.tagName)},head:function(e){let t=e.children,n=[],l=-1;for(;++l<t.length;){let e=t[l];
1if("element"===e.type&&("title"===e.tagName||"base"===e.tagName)){if(n.includes(e.tagName))return!1;n.push(e.tagName)}}return t.length>0},html:function(e){let t=eR(e,-1);return!t||"comment"!==t.type},tbody:function(e,t,n){let l=eB(n,t),o=eR(e,-1);return!(n&&l&&"element"===l.type&&("thead"===l.tagName||"tbody"===l.tagName)&&eH(l,n.children.indexOf(l),n))&&!!(o&&"element"===o.type&&"tr"===o.tagName)}}),eV={name:[[" \n\f\r &/=>".split("")," \n\f\r \"&'/=>`".split("")],["\0 \n\f\r \"&'/<=>".split(""),"\0 \n\f\r \"&'/<=>`".split("")]],unquoted:[[" \n\f\r &>".split(""),"\0 \n\f\r \"&'<=>`".split("")],["\0 \n\f\r \"&'<=>`".split(""),"\0 \n\f\r \"&'<=>`".split("")]],single:[["&'".split(""),"\"&'`".split("")],["\0&'".split(""),"\0\"&'`".split("")]],double:[['"&'.split(""),"\"&'`".split("")],['\0"&'.split(""),"\0\"&'`".split("")]]},eY=["<","&"];function eK(e,t,n,l){return n&&"element"===n.type&&("script"===n.tagName||"style"===n.tagName)?e.value:eN(e.value,Object.assign({},l.settings.characterReferences,{subset:eY}))}let eJ=function(e,t){let n=t||{};function l(t,...n){let o=l.invalid,r=l.handlers;if(t&&ek.call(t,e)){let n=String(t[e]);o=ek.call(r,n)?r[n]:l.unknown}if(o)return o.call(this,t,...n)}return l.handlers=n.handlers||{},l.invalid=n.invalid,l.unknown=n.unknown,l}("type",{invalid:function(e){throw Error("Expected node, not `"+e+"`")},unknown:function(e){throw Error("Cannot compile unknown node `"+e.type+"`")},handlers:{comment:function(e,t,n,l){return l.settings.bogusComments?"<?"+eN(e.value,Object.assign({},l.settings.characterReferences,{subset:e_}))+">":"\x3c!--"+e.value.replace(eA,function(e){return eN(e,Object.assign({},l.settings.characterReferences,{subset:eP}))})+"--\x3e"},doctype:function(e,t,n,l){return"<!"+(l.settings.upperDoctype?"DOCTYPE":"doctype")+(l.settings.tightDoctype?"":" ")+"html>"},element:function(e,t,n,l){let o,r=l.schema,a="svg"!==r.space&&l.settings.omitOptionalTags,i="svg"===r.space?l.settings.closeEmptyElements:l.settings.voids.includes(e.tagName.toLowerCase()),s=[];"html"===r.space&&"svg"===e.tagName&&(l.schema=ew);let u=function(e,t){let n,l=[],o=-1;if(t){for(n in t)if(null!==t[n]&&void 0!==t[n]){let o=function(e,t,n){let l,o=function(e,t){let n=q(t),l=t,o=W;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&"data"===n.slice(0,4)&&ep.test(t)){if("-"===t.charAt(4)){let e=t.slice(5).replace(ed,eb);l="data"+e.charAt(0).toUpperCase()+e.slice(1)}else{let e=t.slice(4);if(!ed.test(e)){let n=e.replace(em,ey);"-"!==n.charAt(0)&&(n="-"+n),t="data"+n}}o=el}return new o(l,t)}(e.schema,t),r=e.settings.allowParseErrors&&"html"===e.schema.space?0:1,a=+!e.settings.allowDangerousCharacters,i=e.quote;if(o.overloadedBoolean&&(n===o.attribute||""===n)?n=!0:(o.boolean||o.overloadedBoolean&&"string"!=typeof n)&&(n=!!n),null==n||!1===n||"number"==typeof n&&Number.isNaN(n))return"";let s=eN(o.attribute,Object.assign({},e.settings.characterReferences,{subset:eV.name[r][a]}));return!0===n||(n=Array.isArray(n)?(o.commaSeparated?function(e,t){let n=t||{};return(""===e[e.length-1]?[...e,""]:e).join((n.padRight?" ":"")+","+(!1===n.padLeft?"":" ")).trim()}:function(e){return e.join(" ").trim()})(n,{padLeft:!e.settings.tightCommaSeparatedLists}):String(n),e.settings.collapseEmptyAttributes&&!n)?s:(e.settings.preferUnquoted&&(l=eN(n,Object.assign({},e.settings.characterReferences,{attribute:!0,subset:eV.unquoted[r][a]}))),l!==n&&(e.settings.quoteSmart&&eE(n,i)>eE(n,e.alternative)&&(i=e.alternative),l=i+eN(n,Object.assign({},e.settings.characterReferences,{subset:("'"===i?eV.single:eV.double)[r][a],attribute:!0}))+i),s+(l?"="+l:l))}(e,n,t[n]);o&&l.push(o)}}for(;++o<l.length;){let t=e.settings.tightAttributes?l[o].charAt(l[o].length-1):void 0;o!==l.length-1&&'"'!==t&&"'"!==t&&(l[o]+=" ")}return l.join("")}(l,e.properties),c=l.all("html"===r.space&&"template"===e.tagName?e.content:e);return l.schema=r,c&&(i=!1),!u&&a&&eG(e,t,n)||(s.push("<",e.tagName,u?" "+u:""),i&&("svg"===r.space||l.settings.closeSelfClosing)&&(o=u.charAt(u.length-1),(!l.settings.tightSelfClosing||"/"===o||o&&'"'!==o&&"'"!==o)&&s.push(" "),s.push("/")),s.push(">")),s.push(c),i||a&&eH(e,t,n)||s.push("</"+e.tagName+">"),s.join("")},raw:function(e,t,n,l){return l.settings.allowDangerousHtml?e.value:eK(e,t,n,l)},root:function(e,t,n,l){return l.all(e)},text:eK}}),eX={},eZ={},eQ=[];function e0(e,t){let n=t||eX,l=n.quote||'"';if('"'!==l&&"'"!==l)throw Error("Invalid quote `"+l+"`, expected `'` or `\"`");return({one:e1,all:e2,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||I,characterReferences:n.characterReferences||eZ,closeSelfClosing:n.closeSelfClosing||!1,closeEmptyElements:n.closeEmptyElements||!1},schema:"svg"===n.space?ew:ev,quote:l,alternative:'"'===l?"'":'"'}).one(Array.isArray(e)?{type:"root",children:e}:e,void 0,void 0)}function e1(e,t,n){return eJ(e,t,n,this)}function e2(e){let t=[],n=e&&e.children||eQ,l=-1;for(;++l<n.length;)t[l]=this.one(n[l],l,e);return t.join("")}async function e5(e){let t,n,l={};
1function o(e){n=e,l.HEAPU8=new Uint8Array(e),l.HEAPU32=new Uint32Array(e)}let r="undefined"!=typeof TextDecoder?new TextDecoder("utf8"):void 0;function a(e,t){return e?function(e,t,n=1024){let l=t+n,o=t;for(;e[o]&&!(o>=l);)++o;if(o-t>16&&e.buffer&&r)return r.decode(e.subarray(t,o));let a="";for(;t<o;){let n=e[t++];if(!(128&n)){a+=String.fromCharCode(n);continue}let l=63&e[t++];if((224&n)==192){a+=String.fromCharCode((31&n)<<6|l);continue}let o=63&e[t++];if((n=(240&n)==224?(15&n)<<12|l<<6|o:(7&n)<<18|l<<12|o<<6|63&e[t++])<65536)a+=String.fromCharCode(n);else{let e=n-65536;a+=String.fromCharCode(55296|e>>10,56320|1023&e)}}return a}(l.HEAPU8,e,t):""}let i={emscripten_get_now:function(){return"undefined"!=typeof performance?performance.now():Date.now()},emscripten_memcpy_big:function(e,t,n){l.HEAPU8.copyWithin(e,t,t+n)},emscripten_resize_heap:function(e){let r=l.HEAPU8.length;if((e>>>=0)>0x80000000)return!1;let a=(e,t)=>e+(t-e%t)%t;for(let l=1;l<=4;l*=2){let i=r*(1+.2/l);if(i=Math.min(i,e+0x6000000),function(e){try{return t.grow(e-n.byteLength+65535>>>16),o(t.buffer),1}catch{}}(Math.min(0x80000000,a(Math.max(e,i),65536))))return!0}return!1},fd_write:()=>0};async function s(){let n=await e({env:i,wasi_snapshot_preview1:i});o((t=n.memory).buffer),Object.assign(l,n),l.UTF8ToString=a}return await s(),l}let e6=null;class e8{static _utf8ByteLength(e){let t=0;for(let n=0,l=e.length;n<l;n++){let o=e.charCodeAt(n),r=o,a=!1;if(o>=55296&&o<=56319&&n+1<l){let t=e.charCodeAt(n+1);t>=56320&&t<=57343&&(r=(o-55296<<10)+65536|t-56320,a=!0)}r<=127?t+=1:r<=2047?t+=2:r<=65535?t+=3:t+=4,a&&n++}return t}utf16Length;utf8Length;utf16Value;utf8Value;utf16OffsetToUtf8;utf8OffsetToUtf16;constructor(e){let t=e.length,n=e8._utf8ByteLength(e),l=n!==t,o=l?new Uint32Array(t+1):null;l&&(o[t]=n);let r=l?new Uint32Array(n+1):null;l&&(r[n]=t);let a=new Uint8Array(n),i=0;for(let n=0;n<t;n++){let s=e.charCodeAt(n),u=s,c=!1;if(s>=55296&&s<=56319&&n+1<t){let t=e.charCodeAt(n+1);t>=56320&&t<=57343&&(u=(s-55296<<10)+65536|t-56320,c=!0)}l&&(o[n]=i,c&&(o[n+1]=i),u<=127?r[i+0]=n:u<=2047?(r[i+0]=n,r[i+1]=n):u<=65535?(r[i+0]=n,r[i+1]=n,r[i+2]=n):(r[i+0]=n,r[i+1]=n,r[i+2]=n,r[i+3]=n)),u<=127?a[i++]=u:(u<=2047?a[i++]=192|(1984&u)>>>6:(u<=65535?a[i++]=224|(61440&u)>>>12:(a[i++]=240|(1835008&u)>>>18,a[i++]=128|(258048&u)>>>12),a[i++]=128|(4032&u)>>>6),a[i++]=128|(63&u)>>>0),c&&n++}this.utf16Length=t,this.utf8Length=n,this.utf16Value=e,this.utf8Value=a,this.utf16OffsetToUtf8=o,this.utf8OffsetToUtf16=r}createString(e){let t=e.omalloc(this.utf8Length);return e.HEAPU8.set(this.utf8Value,t),t}}class e3{static LAST_ID=0;static _sharedPtr=0;static _sharedPtrInUse=!1;id=++e3.LAST_ID;_onigBinding;content;utf16Length;utf8Length;utf16OffsetToUtf8;utf8OffsetToUtf16;ptr;constructor(e){if(!e6)throw new N("Must invoke loadWasm first.");this._onigBinding=e6,this.content=e;let t=new e8(e);this.utf16Length=t.utf16Length,this.utf8Length=t.utf8Length,this.utf16OffsetToUtf8=t.utf16OffsetToUtf8,this.utf8OffsetToUtf16=t.utf8OffsetToUtf16,this.utf8Length<1e4&&!e3._sharedPtrInUse?(e3._sharedPtr||(e3._sharedPtr=e6.omalloc(1e4)),e3._sharedPtrInUse=!0,e6.HEAPU8.set(t.utf8Value,e3._sharedPtr),this.ptr=e3._sharedPtr):this.ptr=t.createString(e6)}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===e3._sharedPtr?e3._sharedPtrInUse=!1:this._onigBinding.ofree(this.ptr)}}class e4{_onigBinding;_ptr;constructor(e){if(!e6)throw new N("Must invoke loadWasm first.");let t=[],n=[];for(let l=0,o=e.length;l<o;l++){let o=new e8(e[l]);t[l]=o.createString(e6),n[l]=o.utf8Length}let l=e6.omalloc(4*e.length);e6.HEAPU32.set(t,l/4);let o=e6.omalloc(4*e.length);e6.HEAPU32.set(n,o/4);let r=e6.createOnigScanner(l,o,e.length);for(let n=0,l=e.length;n<l;n++)e6.ofree(t[n]);e6.ofree(o),e6.ofree(l),0===r&&function(e){throw new N(e.UTF8ToString(e.getLastO
1nigError()))}(e6),this._onigBinding=e6,this._ptr=r}dispose(){this._onigBinding.freeOnigScanner(this._ptr)}findNextMatchSync(e,t,n){let l=!1,o=0;if("number"==typeof n?(8&n&&(l=!0),o=n):"boolean"==typeof n&&(l=n),"string"==typeof e){e=new e3(e);let n=this._findNextMatchSync(e,t,l,o);return e.dispose(),n}return this._findNextMatchSync(e,t,l,o)}_findNextMatchSync(e,t,n,l){let o,r=this._onigBinding;if(0===(o=n?r.findNextOnigScannerMatchDbg(this._ptr,e.id,e.ptr,e.utf8Length,e.convertUtf16OffsetToUtf8(t),l):r.findNextOnigScannerMatch(this._ptr,e.id,e.ptr,e.utf8Length,e.convertUtf16OffsetToUtf8(t),l)))return null;let a=r.HEAPU32,i=o/4,s=a[i++],u=a[i++],c=[];for(let t=0;t<u;t++){let n=e.convertUtf8OffsetToUtf16(a[i++]),l=e.convertUtf8OffsetToUtf16(a[i++]);c[t]={start:n,end:l,length:l-n}}return{index:s,captureIndices:c}}}function e9(e){return o||(o=async function(){e6=await e5(async t=>{let n=e;if("function"==typeof(n=await n)&&(n=await n(t)),"function"==typeof n&&(n=await n(t)),"function"==typeof n.instantiator)n=await n.instantiator(t);else if("function"==typeof n.default)n=await n.default(t);else{var l,o,r,a;if(void 0!==n.data&&(n=n.data),l=n,"undefined"!=typeof Response&&l instanceof Response){n="function"==typeof WebAssembly.instantiateStreaming?await (r=n,e=>WebAssembly.instantiateStreaming(r,e))(t):await (a=n,async e=>{let t=await a.arrayBuffer();return WebAssembly.instantiate(t,e)})(t)}else(o=n,"undefined"!=typeof ArrayBuffer&&(o instanceof ArrayBuffer||ArrayBuffer.isView(o))||void 0!==s&&s.isBuffer?.(o)||"undefined"!=typeof SharedArrayBuffer&&o instanceof SharedArrayBuffer||"undefined"!=typeof Uint32Array&&o instanceof Uint32Array||n instanceof WebAssembly.Module)?n=await e7(n)(t):"default"in n&&n.default instanceof WebAssembly.Module&&(n=await e7(n.default)(t))}return"instance"in n&&(n=n.instance),"exports"in n&&(n=n.exports),n})}())}function e7(e){return t=>WebAssembly.instantiate(e,t)}let te={light:"#333333",dark:"#bbbbbb"},tt={light:"#fffffe",dark:"#1e1e1e"},tn="__shiki_resolved";function tl(e){if(e?.[tn])return e;let t={...e};t.tokenColors&&!t.settings&&(t.settings=t.tokenColors,delete t.tokenColors),t.type||="dark",t.colorReplacements={...t.colorReplacements},t.settings||=[];let{bg:n,fg:l}=t;if(!n||!l){let e=t.settings?t.settings.find(e=>!e.name&&!e.scope):void 0;e?.settings?.foreground&&(l=e.settings.foreground),e?.settings?.background&&(n=e.settings.background),!l&&t?.colors?.["editor.foreground"]&&(l=t.colors["editor.foreground"]),!n&&t?.colors?.["editor.background"]&&(n=t.colors["editor.background"]),l||(l="light"===t.type?te.light:te.dark),n||(n="light"===t.type?tt.light:tt.dark),t.fg=l,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 o=0,r=new Map;function a(e){if(r.has(e))return r.get(e);o+=1;let n=`#${o.toString(16).padStart(8,"0").toLowerCase()}`;return t.colorReplacements?.[`#${n}`]?a(e):(r.set(e,n),n)}for(let e of(t.settings=t.settings.map(e=>{let n=e.settings?.foreground&&!e.settings.foreground.startsWith("#"),l=e.settings?.background&&!e.settings.background.startsWith("#");if(!n&&!l)return e;let o={...e,settings:{...e.settings}};if(n){let n=a(e.settings.foreground);t.colorReplacements[n]=e.settings.foreground,o.settings.foreground=n}if(l){let n=a(e.settings.background);t.colorReplacements[n]=e.settings.background,o.settings.background=n}return o}),Object.keys(t.colors||{})))if(("editor.foreground"===e||"editor.background"===e||e.startsWith("terminal.ansi"))&&!t.colors[e]?.startsWith("#")){let n=a(t.colors[e]);t.colorReplacements[n]=t.colors[e],t.colors[e]=n}return Object.defineProperty(t,tn,{enumerable:!1,writable:!1,value:!0}),t}class to extends a.OR{_resolver;_themes;_langs;_alias;_resolvedThemes=new Map;_resolvedGrammars=new Map;_langMap=new Map;_langGraph=new Map;_textmateThemeCache=new WeakMap;_loadedThemesCache=null;_loadedLanguagesCache=null;constructor(e,t,n,l={}){super(e),this._resolver=e,this._themes=t,this._langs=n,this._alias=l,t.forEach(e=>
1this.loadTheme(e)),n.forEach(e=>this.loadLanguage(e))}getTheme(e){return"string"==typeof e?this._resolvedThemes.get(e):this.loadTheme(e)}loadTheme(e){let t=tl(e);return t.name&&(this._resolvedThemes.set(t.name,t),this._loadedThemesCache=null),t}getLoadedThemes(){return this._loadedThemesCache||(this._loadedThemesCache=[...this._resolvedThemes.keys()]),this._loadedThemesCache}setTheme(e){let t=this._textmateThemeCache.get(e);t||(t=a.Sx.createFromRawTheme(e),this._textmateThemeCache.set(e,t)),this._syncRegistry.setTheme(t)}getGrammar(e){if(this._alias[e]){let t=new Set([e]);for(;this._alias[e];){if(e=this._alias[e],t.has(e))throw new N(`Circular alias \`${Array.from(t).join(" -> ")} -> ${e}\``);t.add(e)}}return this._resolvedGrammars.get(e)}async loadLanguage(e){if(this.getGrammar(e.name))return;let t=new Set([...this._langMap.values()].filter(t=>t.embeddedLangsLazy?.includes(e.name)));this._resolver.addLanguage(e);let n={balancedBracketSelectors:e.balancedBracketSelectors||["*"],unbalancedBracketSelectors:e.unbalancedBracketSelectors||[]};this._syncRegistry._rawGrammars.set(e.scopeName,e);let l=await this.loadGrammarWithConfiguration(e.scopeName,1,n);if(l.name=e.name,this._resolvedGrammars.set(e.name,l),e.aliases&&e.aliases.forEach(t=>{this._alias[t]=e.name}),this._loadedLanguagesCache=null,t.size)for(let e of t)this._resolvedGrammars.delete(e.name),this._loadedLanguagesCache=null,this._syncRegistry?._injectionGrammars?.delete(e.scopeName),this._syncRegistry?._grammars?.delete(e.scopeName),await this.loadLanguage(this._langMap.get(e.name))}
1async init(){this._themes.map(e=>this.loadTheme(e)),await this.loadLanguages(this._langs)}dispose(){super.dispose(),this._resolvedThemes.clear(),this._resolvedGrammars.clear(),this._langMap.clear(),this._langGraph.clear(),this._loadedThemesCache=null}async loadLanguages(e){for(let t of e)this.resolveEmbeddedLanguages(t);let t=Array.from(this._langGraph.entries()),n=t.filter(([e,t])=>!t);if(n.length){let e=t.filter(([e,t])=>t&&t.embeddedLangs?.some(e=>n.map(([e])=>e).includes(e))).filter(e=>!n.includes(e));throw new N(`Missing languages ${n.map(([e])=>`\`${e}\``).join(", ")}, required by ${e.map(([e])=>`\`${e}\``).join(", ")}`)}for(let[e,n]of t)this._resolver.addLanguage(n);for(let[e,n]of t)await this.loadLanguage(n)}getLoadedLanguages(){return this._loadedLanguagesCache||(this._loadedLanguagesCache=[...new Set([...this._resolvedGrammars.keys(),...Object.keys(this._alias)])]),this._loadedLanguagesCache}resolveEmbeddedLanguages(e){if(this._langMap.set(e.name,e),this._langGraph.set(e.name,e),e.embeddedLangs)for(let t of e.embeddedLangs)this._langGraph.set(t,this._langMap.get(t))}}class tr{_langs=new Map;_scopeToLang=new Map;_injections=new Map;_onigLibPromise;constructor(e,t){this._onigLibPromise=e,t.forEach(e=>this.addLanguage(e))}get onigLib(){return this._onigLibPromise}getLangRegistration(e){return this._langs.get(e)}async loadGrammar(e){return this._scopeToLang.get(e)}addLanguage(e){this._langs.set(e.name,e),e.aliases&&e.aliases.forEach(t=>{this._langs.set(t,e)}),this._scopeToLang.set(e.scopeName,e),e.injectTo&&e.injectTo.forEach(t=>{this._injections.get(t)||this._injections.set(t,[]),this._injections.get(t).push(e.scopeName)})}getInjections(e){let t=e.split("."),n=[];for(let e=1;e<=t.length;e++){let l=t.slice(0,e).join(".");n=[...n,...this._injections.get(l)||[]]}return n}}function ta(e){r=e}let ti=0;async function ts(e={}){let t;ti+=1,!1!==e.warnings&&ti>=10&&ti%10==0&&console.warn(`[Shiki] ${ti} 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 n=!1;async function l(e){return Promise.resolve("function"==typeof e?e():e).then(e=>e.default||e)}async function o(e){return Array.from(new Set((await Promise.all(e.filter(e=>!f(e)).map(async e=>await l(e).then(e=>Array.isArray(e)?e:[e])))).flat()))}let a=e.loadWasm||r,[i,s]=await Promise.all([Promise.all((e.themes||[]).map(l)).then(e=>e.map(tl)),o(e.langs||[]),a?e9(a):void 0]),u=new to(new tr(Promise.resolve({createOnigScanner:e=>new e4(e),createOnigString:e=>new e3(e)}),s),i,s,e.langAlias);function c(e){if("none"===e)return{bg:"",fg:"",name:"none",settings:[],type:"dark"};g();let t=u.getTheme(e);if(!t)throw new N(`Theme \`${e}\` not found, you may need to load it first`);return t}function g(){if(n)throw new N("Shiki instance has been disposed")}function p(){n||(n=!0,u.dispose(),ti-=1)}return await u.init(),{setTheme:function(e){g();let n=c(e);return t!==e&&(u.setTheme(n),t=e),{theme:n,colorMap:u.getColorMap()}},getTheme:c,getLanguage:function(e){g();let t=u.getGrammar("string"==typeof e?e:e.name);if(!t)throw new N(`Language \`${e}\` not found, you may need to load it first`);return t},getLoadedThemes:function(){return g(),u.getLoadedThemes()},getLoadedLanguages:function(){return g(),u.getLoadedLanguages()},loadLanguage:async function(...e){g(),await u.loadLanguages(await o(e))},loadTheme:async function(...e){g(),await Promise.all(e.map(async e=>h(e)?null:u.loadTheme(await l(e))))},dispose:p,[Symbol.dispose]:p}}function tu(e={}){return ts(e)}async function tc(e={}){let t=await ts(e);return{getLastGrammarState:(e,n)=>(function(e,t,n={}){let{lang:l="text",theme:o=e.getLoadedThemes()[0]}=n;if(g(l)||h(o))throw new N("Plain language does not have grammar state");if("ansi"===l)throw new N("ANSI language does not have grammar state");let{theme:r,colorMap:a}=e.setTheme(o),i=e.getLanguage(l);return new A(E(t,i,r,a,n).stateStack,i.name,r.name)})(t,e,n),codeToTokensBase:(e,n)=>_(t,e,n),codeToTokensWithThemes:(e,n)=>U(t,e,n),codeToTokens:(e,n)=>D(t,e,n),codeToHast:(e,n)=>$(t,e,n),codeToHtml:(e,n)=>(function(e,t,n){let l={meta:{},options:n,codeToHast:(t,n)=>$(e,t,n),codeToTokens:(t,n)=>D(e,t,n)},o=e0($(e,t,n,l));for(let e of j(n))o=e.postprocess?.call(l,o,n)||o;return o}
1)(t,e,n),...t,getInternalContext:()=>t}}function tg(e){let t;return async function(n={}){if(!t)return t=e({...n,themes:n.themes||[],langs:n.langs||[]});{let e=await t;return await Promise.all([e.loadTheme(...n.themes||[]),e.loadLanguage(...n.langs||[])]),e}}}let tf=tg(tc);function th(e={}){return tc(e)}function tp(e,t,n){return async function(l){function o(t){if("string"==typeof t){if(f(t))return[];let n=e[t];if(!n)throw new N(`Language \`${t}\` is not included in this bundle. You may want to load it from external source.`);return n}return t}function r(e){if(h(e))return"none";if("string"==typeof e){let n=t[e];if(!n)throw new N(`Theme \`${e}\` is not included in this bundle. You may want to load it from external source.`);return n}return e}let a=(l.themes??[]).map(e=>r(e)),i=(l.langs??[]).map(e=>o(e)),s=await tc({...l,themes:a,langs:i,loadWasm:n});return{...s,loadLanguage:(...e)=>s.loadLanguage(...e.map(o)),loadTheme:(...e)=>s.loadTheme(...e.map(r))}}}function td(e){let t;return async function(n={}){if(!t)return t=e({...n,themes:n.themes||[],langs:n.langs||[]});{let e=await t;return await Promise.all([e.loadTheme(...n.themes||[]),e.loadLanguage(...n.langs||[])]),e}}}function tm(e){let t=td(e);return{getSingletonHighlighter:e=>t(e),codeToHtml:async(e,n)=>(await t({langs:[n.lang],themes:"theme"in n?[n.theme]:Object.values(n.themes)})).codeToHtml(e,n),codeToHast:async(e,n)=>(await t({langs:[n.lang],themes:"theme"in n?[n.theme]:Object.values(n.themes)})).codeToHast(e,n),codeToTokens:async(e,n)=>(await t({langs:[n.lang],themes:"theme"in n?[n.theme]:Object.values(n.themes)})).codeToTokens(e,n),codeToTokensBase:async(e,n)=>(await t({langs:[n.lang],themes:[n.theme]})).codeToTokensBase(e,n),codeToTokensWithThemes:async(e,n)=>(await t({langs:[n.lang],themes:Object.values(n.themes).filter(Boolean)})).codeToTokensWithThemes(e,n),getLastGrammarState:async(e,n)=>(await t({langs:[n.lang],themes:[n.theme]})).getLastGrammarState(e,n)}}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.