@markdown-viewer/documd 5.2.1 → 5.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +11 -6
- package/browser-renderer.js +6 -6
- package/documd.js +116 -19
- package/package.json +4 -1
package/browser-renderer.js
CHANGED
|
@@ -3756,7 +3756,7 @@ XID_Continue XIDC
|
|
|
3756
3756
|
XID_Start XIDS`.split(/\s/).map(t=>[Abe(t),t])),QFs=new Map([["s",X2(383)],[X2(383),"s"]]),eIs=new Map([[X2(223),X2(7838)],[X2(107),X2(8490)],[X2(229),X2(8491)],[X2(969),X2(8486)]]),tIs=new Map([wJ(453),wJ(456),wJ(459),wJ(498),...nyr(8072,8079),...nyr(8088,8095),...nyr(8104,8111),wJ(8124),wJ(8140),wJ(8188)]),rIs=new Map([["alnum",Sf`[\p{Alpha}\p{Nd}]`],["alpha",Sf`\p{Alpha}`],["ascii",Sf`\p{ASCII}`],["blank",Sf`[\p{Zs}\t]`],["cntrl",Sf`\p{Cc}`],["digit",Sf`\p{Nd}`],["graph",Sf`[\P{space}&&\P{Cc}&&\P{Cn}&&\P{Cs}]`],["lower",Sf`\p{Lower}`],["print",Sf`[[\P{space}&&\P{Cc}&&\P{Cn}&&\P{Cs}]\p{Zs}]`],["punct",Sf`[\p{P}\p{S}]`],["space",Sf`\p{space}`],["upper",Sf`\p{Upper}`],["word",Sf`[\p{Alpha}\p{M}\p{Nd}\p{Pc}]`],["xdigit",Sf`\p{AHex}`]]);Ryo=new Set(["Lower","Lowercase","Upper","Uppercase","Ll","Lowercase_Letter","Lt","Titlecase_Letter","Lu","Uppercase_Letter"]);iIs={AbsenceFunction({node:t,parent:e,replaceWith:r}){let{body:n,kind:o}=t;if(o==="repeater"){let i=P4();i.body[0].body.push(xJ({negate:!0,body:n}),xle("Any"));let a=P4();a.body[0].body.push(Wgr("greedy",0,1/0,i)),r(LA(a,e),{traverse:!0})}else throw new Error('Unsupported absence function "(?~|"')},Alternative:{enter({node:t,parent:e,key:r},{flagDirectivesByAlt:n}){let o=t.body.filter(i=>i.kind==="flags");for(let i=r+1;i<e.body.length;i++){let a=e.body[i];tMe(n,a,[]).push(...o)}},exit({node:t},{flagDirectivesByAlt:e}){if(e.get(t)?.length){let r=Iyo(e.get(t));if(r){let n=P4({flags:r});n.body[0].body=t.body,t.body=[LA(n,t)]}}}},Assertion({node:t,parent:e,key:r,container:n,root:o,remove:i,replaceWith:a},s){let{kind:l,negate:u}=t,{asciiWordBoundaries:f,avoidSubclass:h,supportedGNodes:d,wordIsAscii:p}=s;if(l==="text_segment_boundary")throw new Error(`Unsupported text segment boundary "\\${u?"Y":"y"}"`);if(l==="line_end")a(LA(xJ({body:[mq({body:[Bct("string_end")]}),mq({body:[vbe(10)]})]}),e));else if(l==="line_start")a(LA(yq(Sf`(?<=\A|\n(?!\z))`,{skipLookbehindValidation:!0}),e));else if(l==="search_start")if(d.has(t))o.flags.sticky=!0,i();else{let m=n[r-1];if(m&&dIs(m))a(LA(xJ({negate:!0}),e));else{if(h)throw new Error(Sf`Uses "\G" in a way that requires a subclass`);a(CJ(Bct("string_start"),e)),s.strategy="clip_search"}}else if(!(l==="string_end"||l==="string_start"))if(l==="string_end_newline")a(LA(yq(Sf`(?=\n?\z)`),e));else if(l==="word_boundary"){if(!p&&!f){let m=`(?:(?<=${gq})(?!${gq})|(?<!${gq})(?=${gq}))`,g=`(?:(?<=${gq})(?=${gq})|(?<!${gq})(?!${gq}))`;a(LA(yq(u?g:m),e))}}else throw new Error(`Unexpected assertion kind "${l}"`)},Backreference({node:t},{jsGroupNameMap:e}){let{ref:r}=t;typeof r=="string"&&!iyr(r)&&(r=oyr(r,e),t.ref=r)},CapturingGroup({node:t},{jsGroupNameMap:e,subroutineRefMap:r}){let{name:n}=t;n&&!iyr(n)&&(n=oyr(n,e),t.name=n),r.set(t.number,t),n&&r.set(n,t)},CharacterClassRange({node:t,parent:e,replaceWith:r}){if(e.kind==="intersection"){let n=KRe({body:[t]});r(LA(n,e),{traverse:!0})}},CharacterSet({node:t,parent:e,replaceWith:r},{accuracy:n,minTargetEs2024:o,digitIsAscii:i,spaceIsAscii:a,wordIsAscii:s}){let{kind:l,negate:u,value:f}=t;if(i&&(l==="digit"||f==="digit")){r(CJ(Nct("digit",{negate:u}),e));return}if(a&&(l==="space"||f==="space")){r(LA(ayr(yq(JFs),u),e));return}if(s&&(l==="word"||f==="word")){r(CJ(Nct("word",{negate:u}),e));return}if(l==="any")r(CJ(xle("Any"),e));else if(l==="digit")r(CJ(xle("Nd",{negate:u}),e));else if(l!=="dot")if(l==="text_segment"){if(n==="strict")throw new Error(Sf`Use of "\X" requires non-strict accuracy`);let h="\\p{Emoji}(?:\\p{EMod}|\\uFE0F\\u20E3?|[\\x{E0020}-\\x{E007E}]+\\x{E007F})?",d=Sf`\p{RI}{2}|${h}(?:\u200D${h})*`;r(LA(yq(Sf`(?>\r\n|${o?Sf`\p{RGI_Emoji}`:d}|\P{M}\p{M}*)`,{skipPropertyNameValidation:!0}),e))}else if(l==="hex")r(CJ(xle("AHex",{negate:u}),e));else if(l==="newline")r(LA(yq(u?`[^
|
|
3757
3757
|
]`:`(?>\r
|
|
3758
3758
|
?|[
|
|
3759
|
-
\v\f\x85\u2028\u2029])`),e));else if(l==="posix")if(!o&&(f==="graph"||f==="print")){if(n==="strict")throw new Error(`POSIX class "${f}" requires min target ES2024 or non-strict accuracy`);let h={graph:"!-~",print:" -~"}[f];u&&(h=`\0-${X2(h.codePointAt(0)-1)}${X2(h.codePointAt(2)+1)}-\u{10FFFF}`),r(LA(yq(`[${h}]`),e))}else r(LA(ayr(yq(rIs.get(f)),u),e));else if(l==="property")cyr.has(Abe(f))||(t.key="sc");else if(l==="space")r(CJ(xle("space",{negate:u}),e));else if(l==="word")r(LA(ayr(yq(gq),u),e));else throw new Error(`Unexpected character set kind "${l}"`)},Directive({node:t,parent:e,root:r,remove:n,replaceWith:o,removeAllPrevSiblings:i,removeAllNextSiblings:a}){let{kind:s,flags:l}=t;if(s==="flags")if(!l.enable&&!l.disable)n();else{let u=P4({flags:l});u.body[0].body=a(),o(LA(u,e),{traverse:!0})}else if(s==="keep"){let u=r.body[0],h=r.body.length===1&&jct(u,{type:"Group"})&&u.body[0].body.length===1?u.body[0]:r;if(e.parent!==h||h.body.length>1)throw new Error(Sf`Uses "\K" in a way that's unsupported`);let d=xJ({behind:!0});d.body[0].body=i(),o(LA(d,e))}else throw new Error(`Unexpected directive kind "${s}"`)},Flags({node:t,parent:e}){if(t.posixIsAscii)throw new Error('Unsupported flag "P"');if(t.textSegmentMode==="word")throw new Error('Unsupported flag "y{w}"');["digitIsAscii","extended","posixIsAscii","spaceIsAscii","wordIsAscii","textSegmentMode"].forEach(r=>delete t[r]),Object.assign(t,{global:!1,hasIndices:!1,multiline:!1,sticky:t.sticky??!1}),e.options={disable:{x:!0,n:!0},force:{v:!0}}},Group({node:t}){if(!t.flags)return;let{enable:e,disable:r}=t.flags;e?.extended&&delete e.extended,r?.extended&&delete r.extended,e?.dotAll&&r?.dotAll&&delete e.dotAll,e?.ignoreCase&&r?.ignoreCase&&delete e.ignoreCase,e&&!Object.keys(e).length&&delete t.flags.enable,r&&!Object.keys(r).length&&delete t.flags.disable,!t.flags.enable&&!t.flags.disable&&delete t.flags},LookaroundAssertion({node:t},e){let{kind:r}=t;r==="lookbehind"&&(e.passedLookbehind=!0)},NamedCallout({node:t,parent:e,replaceWith:r}){let{kind:n}=t;if(n==="fail")r(LA(xJ({negate:!0}),e));else throw new Error(`Unsupported named callout "(*${n.toUpperCase()}"`)},Quantifier({node:t}){if(t.body.type==="Quantifier"){let e=P4();e.body[0].body.push(t.body),t.body=LA(e,t)}},Regex:{enter({node:t},{supportedGNodes:e}){let r=[],n=!1,o=!1;for(let i of t.body)if(i.body.length===1&&i.body[0].kind==="search_start")i.body.pop();else{let a=jyo(i.body);a?(n=!0,Array.isArray(a)?r.push(...a):r.push(a)):o=!0}n&&!o&&r.forEach(i=>e.add(i))},exit(t,{accuracy:e,passedLookbehind:r,strategy:n}){if(e==="strict"&&r&&n)throw new Error(Sf`Uses "\G" in a way that requires non-strict accuracy`)}},Subroutine({node:t},{jsGroupNameMap:e}){let{ref:r}=t;typeof r=="string"&&!iyr(r)&&(r=oyr(r,e),t.ref=r)}},aIs={Backreference({node:t},{multiplexCapturesToLeftByRef:e,reffedNodesByReferencer:r}){let{orphan:n,ref:o}=t;n||r.set(t,[...e.get(o).map(({node:i})=>i)])},CapturingGroup:{enter({node:t,parent:e,replaceWith:r,skip:n},{groupOriginByCopy:o,groupsByName:i,multiplexCapturesToLeftByRef:a,openRefs:s,reffedNodesByReferencer:l}){let u=o.get(t);if(u&&s.has(t.number)){let h=CJ(_yo(t.number),e);l.set(h,s.get(t.number)),r(h);return}s.set(t.number,t),a.set(t.number,[]),t.name&&tMe(a,t.name,[]);let f=a.get(t.name??t.number);for(let h=0;h<f.length;h++){let d=f[h];if(u===d.node||u&&u===d.origin||t===d.origin){f.splice(h,1);break}}if(a.get(t.number).push({node:t,origin:u}),t.name&&a.get(t.name).push({node:t,origin:u}),t.name){let h=tMe(i,t.name,new Map),d=!1;if(u)d=!0;else for(let p of h.values())if(!p.hasDuplicateNameToRemove){d=!0;break}i.get(t.name).set(t,{node:t,hasDuplicateNameToRemove:d})}},exit({node:t},{openRefs:e}){e.get(t.number)===t&&e.delete(t.number)}},Group:{enter({node:t},e){e.prevFlags=e.currentFlags,t.flags&&(e.currentFlags=Gct(e.currentFlags,t.flags))},exit(t,e){e.currentFlags=e.prevFlags}},Subroutine({node:t,parent:e,replaceWith:r},n){let{isRecursive:o,ref:i}=t;if(o){let f=e;for(;(f=f.parent)&&!(f.type==="CapturingGroup"&&(f.name===i||f.number===i)););n.reffedNodesByReferencer.set(t,f);return}let a=n.subroutineRefMap.get(i),s=i===0,l=s?_yo(0):Fyo(a,n.groupOriginByCopy,null),u=l;if(!s){let f=Iyo(uIs(a,d=>d.type==="Group"&&!!d.flags)),h=f?Gct(n.globalFlags,f):n.globalFlags;lIs(h,n.currentFlags)||(u=P4({flags:fIs(h)}),u.body[0].body.push(l))}r(LA(u,e),{traverse:!s})}},sIs={Backreference({node:t,parent:e,replaceWith:r},n){if(t.orphan){n.highestOrphanBackref=Math.max(n.highestOrphanBackref,t.ref);return}let i=n.reffedNodesByReferencer.get(t).filter(a=>cIs(a,t));if(!i.length)r(LA(xJ({negate:!0}),e));else if(i.length>1){let a=P4({atomic:!0,body:i.reverse().map(s=>mq({body:[Pct(s.number)]}))});r(LA(a,e))}else t.ref=i[0].number},CapturingGroup({node:t},e){t.number=++e.numCapturesToLeft,t.name&&e.groupsByName.get(t.name).get(t).hasDuplicateNameToRemove&&delete t.name},Regex:{exit({node:t},e){let r=Math.max(e.highestOrphanBackref-e.numCapturesToLeft,0);for(let n=0;n<r;n++){let o=Vgr();t.body.at(-1).body.push(o)}}},Subroutine({node:t},e){!t.isRecursive||t.ref===0||(t.ref=e.reffedNodesByReferencer.get(t).number)}};gIs={"*":{enter({node:t},e){if(kyo(t)){let r=e.getCurrentModI();e.pushModI(t.flags?Gct({ignoreCase:r},t.flags).ignoreCase:r)}},exit({node:t},e){kyo(t)&&e.popModI()}},Backreference(t,e){e.setHasCasedChar()},Character({node:t},e){uyr(X2(t.value))&&e.setHasCasedChar()},CharacterClassRange({node:t,skip:e},r){e(),Oyo(t,{firstOnly:!0}).length&&r.setHasCasedChar()},CharacterSet({node:t},e){t.kind==="property"&&Ryo.has(t.value)&&e.setHasCasedChar()}},yIs={Alternative({body:t},e,r){return t.map(r).join("")},Assertion({kind:t,negate:e}){if(t==="string_end")return"$";if(t==="string_start")return"^";if(t==="word_boundary")return e?Sf`\B`:Sf`\b`;throw new Error(`Unexpected assertion kind "${t}"`)},Backreference({ref:t},e){if(typeof t!="number")throw new Error("Unexpected named backref in transformed AST");if(!e.useFlagMods&&e.accuracy==="strict"&&e.currentFlags.ignoreCase&&!e.captureMap.get(t).ignoreCase)throw new Error("Use of case-insensitive backref to case-sensitive group requires target ES2025 or non-strict accuracy");return"\\"+t},CapturingGroup(t,e,r){let{body:n,name:o,number:i}=t,a={ignoreCase:e.currentFlags.ignoreCase},s=e.originMap.get(t);return s&&(a.hidden=!0,i>s.number&&(a.transferTo=s.number)),e.captureMap.set(i,a),`(${o?`?<${o}>`:""}${n.map(r).join("|")})`},Character({value:t},e){let r=X2(t),n=xbe(t,{escDigit:e.lastNode.type==="Backreference",inCharClass:e.inCharClass,useFlagV:e.useFlagV});if(n!==r)return n;if(e.useAppliedIgnoreCase&&e.currentFlags.ignoreCase&&uyr(r)){let o=Dyo(r);return e.inCharClass?o.join(""):o.length>1?`[${o.join("")}]`:o[0]}return r},CharacterClass(t,e,r){let{kind:n,negate:o,parent:i}=t,{body:a}=t;if(n==="intersection"&&!e.useFlagV)throw new Error("Use of character class intersection requires min target ES2024");BF.bugFlagVLiteralHyphenIsRange&&e.useFlagV&&a.some(Tyo)&&(a=[vbe(45),...a.filter(u=>!Tyo(u))]);let s=()=>`[${o?"^":""}${a.map(r).join(n==="intersection"?"&&":"")}]`;if(!e.inCharClass){if((!e.useFlagV||BF.bugNestedClassIgnoresNegation)&&!o){let f=a.filter(h=>h.type==="CharacterClass"&&h.kind==="union"&&h.negate);if(f.length){let h=P4(),d=h.body[0];return h.parent=i,d.parent=h,a=a.filter(p=>!f.includes(p)),t.body=a,a.length?(t.parent=d,d.body.push(t)):h.body.pop(),f.forEach(p=>{let m=mq({body:[p]});p.parent=m,m.parent=h,h.body.push(m)}),r(h)}}e.inCharClass=!0;let u=s();return e.inCharClass=!1,u}let l=a[0];if(n==="union"&&!o&&l&&((!e.useFlagV||!e.verbose)&&i.kind==="union"&&!(BF.bugFlagVLiteralHyphenIsRange&&e.useFlagV)||!e.verbose&&i.kind==="intersection"&&a.length===1&&l.type!=="CharacterClassRange"))return a.map(r).join("");if(!e.useFlagV&&i.type==="CharacterClass")throw new Error("Uses nested character class in a way that requires min target ES2024");return s()},CharacterClassRange(t,e){let r=t.min.value,n=t.max.value,o={escDigit:!1,inCharClass:!0,useFlagV:e.useFlagV},i=xbe(r,o),a=xbe(n,o),s=new Set;if(e.useAppliedIgnoreCase&&e.currentFlags.ignoreCase){let l=Oyo(t);wIs(l).forEach(f=>{s.add(Array.isArray(f)?`${xbe(f[0],o)}-${xbe(f[1],o)}`:xbe(f,o))})}return`${i}-${a}${[...s].join("")}`},CharacterSet({kind:t,negate:e,value:r,key:n},o){if(t==="dot")return o.currentFlags.dotAll?o.appliedGlobalFlags.dotAll||o.useFlagMods?".":"[^]":Sf`[^\n]`;if(t==="digit")return e?Sf`\D`:Sf`\d`;if(t==="property"){if(o.useAppliedIgnoreCase&&o.currentFlags.ignoreCase&&Ryo.has(r))throw new Error(`Unicode property "${r}" can't be case-insensitive when other chars have specific case`);return`${e?Sf`\P`:Sf`\p`}{${n?`${n}=`:""}${r}}`}if(t==="word")return e?Sf`\W`:Sf`\w`;throw new Error(`Unexpected character set kind "${t}"`)},Flags(t,e){return(e.appliedGlobalFlags.ignoreCase?"i":"")+(t.dotAll?"s":"")+(t.sticky?"y":"")},Group({atomic:t,body:e,flags:r,parent:n},o,i){let a=o.currentFlags;r&&(o.currentFlags=Gct(a,r));let s=e.map(i).join("|"),l=!o.verbose&&e.length===1&&n.type!=="Quantifier"&&!t&&(!o.useFlagMods||!r)?s:`(?${CIs(t,r,o.useFlagMods)}${s})`;return o.currentFlags=a,l},LookaroundAssertion({body:t,kind:e,negate:r},n,o){return`(?${`${e==="lookahead"?"":"<"}${r?"!":"="}`}${t.map(o).join("|")})`},Quantifier(t,e,r){return r(t.body)+_Is(t)},Subroutine({isRecursive:t,ref:e},r){if(!t)throw new Error("Unexpected non-recursive subroutine in transformed AST");let n=r.recursionLimit;return e===0?`(?R=${n})`:Sf`\g<${e}&R=${n}>`}},vIs=new Set(["$","(",")","*","+",".","?","[","\\","]","^","{","|","}"]),AIs=new Set(["-","\\","]","^","["]),bIs=new Set(["(",")","-","/","[","\\","]","^","{","|","}","!","#","$","%","&","*","+",",",".",":",";","<","=",">","?","@","`","~"]),Syo=new Map([[9,Sf`\t`],[10,Sf`\n`],[11,Sf`\v`],[12,Sf`\f`],[13,Sf`\r`],[8232,Sf`\u2028`],[8233,Sf`\u2029`],[65279,Sf`\uFEFF`]]),xIs=new RegExp("^\\p{Cased}$","u");kIs=class lyr extends RegExp{#e=new Map;#t=null;#n;#r=null;#o=null;rawOptions={};get source(){return this.#n||"(?:)"}constructor(e,r,n){let o=!!n?.lazyCompile;if(e instanceof RegExp){if(n)throw new Error("Cannot provide options when copying a regexp");let i=e;super(i,r),this.#n=i.source,i instanceof lyr&&(this.#e=i.#e,this.#r=i.#r,this.#o=i.#o,this.rawOptions=i.rawOptions)}else{let i={hiddenCaptures:[],strategy:null,transfers:[],...n};super(o?"":e,r),this.#n=e,this.#e=EIs(i.hiddenCaptures,i.transfers),this.#o=i.strategy,this.rawOptions=n??{}}o||(this.#t=this)}exec(e){if(!this.#t){let{lazyCompile:o,...i}=this.rawOptions;this.#t=new lyr(this.#n,this.flags,i)}let r=this.global||this.sticky,n=this.lastIndex;if(this.#o==="clip_search"&&r&&n){this.lastIndex=0;let o=this.#i(e.slice(n));return o&&(TIs(o,n,e,this.hasIndices),this.lastIndex+=n),o}return this.#i(e)}#i(e){this.#t.lastIndex=this.lastIndex;let r=super.exec.call(this.#t,e);if(this.lastIndex=this.#t.lastIndex,!r||!this.#e.size)return r;let n=[...r];r.length=1;let o;this.hasIndices&&(o=[...r.indices],r.indices.length=1);let i=[0];for(let a=1;a<n.length;a++){let{hidden:s,transferTo:l}=this.#e.get(a)??{};if(s?i.push(null):(i.push(r.length),r.push(n[a]),this.hasIndices&&r.indices.push(o[a])),l&&n[a]!==void 0){let u=i[l];if(!u)throw new Error(`Invalid capture transfer to "${u}"`);if(r[u]=n[a],this.hasIndices&&(r.indices[u]=o[a]),r.groups){this.#r||(this.#r=DIs(this.source));let f=this.#r.get(l);f&&(r.groups[f]=n[a],this.hasIndices&&(r.indices.groups[f]=o[a]))}}}return r}}});var qct,Nyo=be(()=>{x();qct=class{constructor(e,r={}){this.patterns=e,this.options=r;let{forgiving:n=!1,cache:o,regexConstructor:i}=r;if(!i)throw new Error("Option `regexConstructor` is not provided");this.regexps=e.map(a=>{if(typeof a!="string")return a;let s=o?.get(a);if(s){if(s instanceof RegExp)return s;if(n)return null;throw s}try{let l=i(a);return o?.set(a,l),l}catch(l){if(o?.set(a,l),n)return null;throw l}})}regexps;findNextMatchSync(e,r,n){let o=typeof e=="string"?e:e.content,i=[];function a(s,l,u=0){return{index:s,captureIndices:l.indices.map(f=>f==null?{start:4294967295,end:4294967295,length:0}:{start:f[0]+u,end:f[1]+u,length:f[1]-f[0]})}}for(let s=0;s<this.regexps.length;s++){let l=this.regexps[s];if(l)try{l.lastIndex=r;let u=l.exec(o);if(!u)continue;if(u.index===r)return a(s,u,0);i.push([s,u,0])}catch(u){if(this.options.forgiving)continue;throw u}}if(i.length){let s=Math.min(...i.map(l=>l[1].index));for(let[l,u,f]of i)if(u.index===s)return a(l,u,f)}return null}}});function $yo(t,e){return Byo(t,{global:!0,hasIndices:!0,lazyCompileLength:3e3,rules:{allowOrphanBackrefs:!0,asciiWordBoundaries:!0,captureGroup:!0,recursionLimit:5,singleline:!0},...e})}function hyr(t={}){let e=Object.assign({target:"auto",cache:new Map},t);return e.regexConstructor||=r=>$yo(r,{target:e.target}),{createScanner(r){return new qct(r,e)},createString(r){return{content:r}}}}var zyo=be(()=>{x();fyr();Nyo()});var Gyo=be(()=>{x();zyo();fyr()});var MIs,Hyo,qyo=be(()=>{x();MIs=Object.freeze(JSON.parse('{"displayName":"Markdown","name":"markdown","patterns":[{"include":"#frontMatter"},{"include":"#block"}],"repository":{"ampersand":{"match":"&(?!([0-9A-Za-z]+|#[0-9]+|#x\\\\h+);)","name":"meta.other.valid-ampersand.markdown"},"block":{"patterns":[{"include":"#separator"},{"include":"#heading"},{"include":"#blockquote"},{"include":"#lists"},{"include":"#fenced_code_block"},{"include":"#raw_block"},{"include":"#link-def"},{"include":"#html"},{"include":"#table"},{"include":"#paragraph"}]},"blockquote":{"begin":"(^|\\\\G) {0,3}(>) ?","captures":{"2":{"name":"punctuation.definition.quote.begin.markdown"}},"name":"markup.quote.markdown","patterns":[{"include":"#block"}],"while":"(^|\\\\G)\\\\s*(>) ?"},"bold":{"begin":"(?<open>(\\\\*\\\\*(?=\\\\w)|(?<!\\\\w)\\\\*\\\\*|(?<!\\\\w)\\\\b__))(?=\\\\S)(?=(<[^>]*+>|(?<raw>`+)([^`]|(?!(?<!`)\\\\k<raw>(?!`))`)*+\\\\k<raw>|\\\\\\\\[-\\\\]!#(-+.>\\\\[\\\\\\\\_`{}]?+|\\\\[((?<square>[^]\\\\[\\\\\\\\]|\\\\\\\\.|\\\\[\\\\g<square>*+])*+](( ?\\\\[[^]]*+])|(\\\\([\\\\t ]*+<?(.*?)>?[\\\\t ]*+((?<title>[\\"\'])(.*?)\\\\k<title>)?\\\\))))|(?!(?<=\\\\S)\\\\k<open>).)++(?<=\\\\S)(?=__\\\\b|\\\\*\\\\*)\\\\k<open>)","captures":{"1":{"name":"punctuation.definition.bold.markdown"}},"end":"(?<=\\\\S)(\\\\1)","name":"markup.bold.markdown","patterns":[{"applyEndPatternLast":1,"begin":"(?=<[^>]*?>)","end":"(?<=>)","patterns":[{"include":"text.html.derivative"}]},{"include":"#escape"},{"include":"#ampersand"},{"include":"#bracket"},{"include":"#raw"},{"include":"#bold"},{"include":"#italic"},{"include":"#image-inline"},{"include":"#link-inline"},{"include":"#link-inet"},{"include":"#link-email"},{"include":"#image-ref"},{"include":"#link-ref-literal"},{"include":"#link-ref"},{"include":"#link-ref-shortcut"},{"include":"#strikethrough"}]},"bracket":{"match":"<(?![!$/?A-Za-z])","name":"meta.other.valid-bracket.markdown"},"escape":{"match":"\\\\\\\\[-\\\\]!#(-+.>\\\\[\\\\\\\\_`{}]","name":"constant.character.escape.markdown"},"fenced_code_block":{"patterns":[{"include":"#fenced_code_block_css"},{"include":"#fenced_code_block_basic"},{"include":"#fenced_code_block_ini"},{"include":"#fenced_code_block_java"},{"include":"#fenced_code_block_lua"},{"include":"#fenced_code_block_makefile"},{"include":"#fenced_code_block_perl"},{"include":"#fenced_code_block_r"},{"include":"#fenced_code_block_ruby"},{"include":"#fenced_code_block_php"},{"include":"#fenced_code_block_sql"},{"include":"#fenced_code_block_vs_net"},{"include":"#fenced_code_block_xml"},{"include":"#fenced_code_block_xsl"},{"include":"#fenced_code_block_yaml"},{"include":"#fenced_code_block_dosbatch"},{"include":"#fenced_code_block_clojure"},{"include":"#fenced_code_block_coffee"},{"include":"#fenced_code_block_c"},{"include":"#fenced_code_block_cpp"},{"include":"#fenced_code_block_diff"},{"include":"#fenced_code_block_dockerfile"},{"include":"#fenced_code_block_git_commit"},{"include":"#fenced_code_block_git_rebase"},{"include":"#fenced_code_block_go"},{"include":"#fenced_code_block_groovy"},{"include":"#fenced_code_block_pug"},{"include":"#fenced_code_block_ignore"},{"include":"#fenced_code_block_js"},{"include":"#fenced_code_block_js_regexp"},{"include":"#fenced_code_block_json"},{"include":"#fenced_code_block_jsonc"},{"include":"#fenced_code_block_jsonl"},{"include":"#fenced_code_block_less"},{"include":"#fenced_code_block_objc"},{"include":"#fenced_code_block_swift"},{"include":"#fenced_code_block_scss"},{"include":"#fenced_code_block_perl6"},{"include":"#fenced_code_block_powershell"},{"include":"#fenced_code_block_python"},{"include":"#fenced_code_block_julia"},{"include":"#fenced_code_block_regexp_python"},{"include":"#fenced_code_block_rust"},{"include":"#fenced_code_block_scala"},{"include":"#fenced_code_block_shell"},{"include":"#fenced_code_block_ts"},{"include":"#fenced_code_block_tsx"},{"include":"#fenced_code_block_csharp"},{"include":"#fenced_code_block_fsharp"},{"include":"#fenced_code_block_dart"},{"include":"#fenced_code_block_handlebars"},{"include":"#fenced_code_block_markdown"},{"include":"#fenced_code_block_log"},{"include":"#fenced_code_block_erlang"},{"include":"#fenced_code_block_elixir"},{"include":"#fenced_code_block_latex"},{"include":"#fenced_code_block_bibtex"},{"include":"#fenced_code_block_twig"},{"include":"#fenced_code_block_yang"},{"include":"#fenced_code_block_abap"},{"include":"#fenced_code_block_restructuredtext"},{"include":"#fenced_code_block_unknown"}]},"fenced_code_block_abap":{"begin":"(^|\\\\G)(\\\\s*)(`{3,}|~{3,})\\\\s*(?i:(abap)((\\\\s+|[,:?{])[^`]*)?$)","beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"end":"(^|\\\\G)(\\\\2|\\\\s{0,3})(\\\\3)\\\\s*$","endCaptures":{"3":{"name":"punctuation.definition.markdown"}},"name":"markup.fenced_code.block.markdown","patterns":[{"begin":"(^|\\\\G)(\\\\s*)(.*)","contentName":"meta.embedded.block.abap","patterns":[{"include":"source.abap"}],"while":"(^|\\\\G)(?!\\\\s*([`~]{3,})\\\\s*$)"}]},"fenced_code_block_basic":{"begin":"(^|\\\\G)(\\\\s*)(`{3,}|~{3,})\\\\s*(?i:(html?|shtml|xhtml|inc|tmpl|tpl)((\\\\s+|[,:?{])[^`]*)?$)","beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"end":"(^|\\\\G)(\\\\2|\\\\s{0,3})(\\\\3)\\\\s*$","endCaptures":{"3":{"name":"punctuation.definition.markdown"}},"name":"markup.fenced_code.block.markdown","patterns":[{"begin":"(^|\\\\G)(\\\\s*)(.*)","contentName":"meta.embedded.block.html","patterns":[{"include":"text.html.basic"}],"while":"(^|\\\\G)(?!\\\\s*([`~]{3,})\\\\s*$)"}]},"fenced_code_block_bibtex":{"begin":"(^|\\\\G)(\\\\s*)(`{3,}|~{3,})\\\\s*(?i:(bibtex)((\\\\s+|[,:?{])[^`]*)?$)","beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"end":"(^|\\\\G)(\\\\2|\\\\s{0,3})(\\\\3)\\\\s*$","endCaptures":{"3":{"name":"punctuation.definition.markdown"}},"name":"markup.fenced_code.block.markdown","patterns":[{"begin":"(^|\\\\G)(\\\\s*)(.*)","contentName":"meta.embedded.block.bibtex","patterns":[{"include":"text.bibtex"}],"while":"(^|\\\\G)(?!\\\\s*([`~]{3,})\\\\s*$)"}]},"fenced_code_block_c":{"begin":"(^|\\\\G)(\\\\s*)(`{3,}|~{3,})\\\\s*(?i:([ch])((\\\\s+|[,:?{])[^`]*)?$)","beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"end":"(^|\\\\G)(\\\\2|\\\\s{0,3})(\\\\3)\\\\s*$","endCaptures":{"3":{"name":"punctuation.definition.markdown"}},"name":"markup.fenced_code.block.markdown","patterns":[{"begin":"(^|\\\\G)(\\\\s*)(.*)","contentName":"meta.embedded.block.c","patterns":[{"include":"source.c"}],"while":"(^|\\\\G)(?!\\\\s*([`~]{3,})\\\\s*$)"}]},"fenced_code_block_clojure":{"begin":"(^|\\\\G)(\\\\s*)(`{3,}|~{3,})\\\\s*(?i:(cl(?:js??|ojure))((\\\\s+|[,:?{])[^`]*)?$)","beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"end":"(^|\\\\G)(\\\\2|\\\\s{0,3})(\\\\3)\\\\s*$","endCaptures":{"3":{"name":"punctuation.definition.markdown"}},"name":"markup.fenced_code.block.markdown","patterns":[{"begin":"(^|\\\\G)(\\\\s*)(.*)","contentName":"meta.embedded.block.clojure","patterns":[{"include":"source.clojure"}],"while":"(^|\\\\G)(?!\\\\s*([`~]{3,})\\\\s*$)"}]},"fenced_code_block_coffee":{"begin":"(^|\\\\G)(\\\\s*)(`{3,}|~{3,})\\\\s*(?i:(coffee|Cakefile|coffee.erb)((\\\\s+|[,:?{])[^`]*)?$)","beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"end":"(^|\\\\G)(\\\\2|\\\\s{0,3})(\\\\3)\\\\s*$","endCaptures":{"3":{"name":"punctuation.definition.markdown"}},"name":"markup.fenced_code.block.markdown","patterns":[{"begin":"(^|\\\\G)(\\\\s*)(.*)","contentName":"meta.embedded.block.coffee","patterns":[{"include":"source.coffee"}],"while":"(^|\\\\G)(?!\\\\s*([`~]{3,})\\\\s*$)"}]},"fenced_code_block_cpp":{"begin":"(^|\\\\G)(\\\\s*)(`{3,}|~{3,})\\\\s*(?i:(c(?:pp|\\\\+\\\\+|xx))((\\\\s+|[,:?{])[^`]*)?$)","beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"end":"(^|\\\\G)(\\\\2|\\\\s{0,3})(\\\\3)\\\\s*$","endCaptures":{"3":{"name":"punctuation.definition.markdown"}},"name":"markup.fenced_code.block.markdown","patterns":[{"begin":"(^|\\\\G)(\\\\s*)(.*)","contentName":"meta.embedded.block.cpp source.cpp","patterns":[{"include":"source.cpp"}],"while":"(^|\\\\G)(?!\\\\s*([`~]{3,})\\\\s*$)"}]},"fenced_code_block_csharp":{"begin":"(^|\\\\G)(\\\\s*)(`{3,}|~{3,})\\\\s*(?i:(c(?:s|sharp|#))((\\\\s+|[,:?{])[^`]*)?$)","beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"end":"(^|\\\\G)(\\\\2|\\\\s{0,3})(\\\\3)\\\\s*$","endCaptures":{"3":{"name":"punctuation.definition.markdown"}},"name":"markup.fenced_code.block.markdown","patterns":[{"begin":"(^|\\\\G)(\\\\s*)(.*)","contentName":"meta.embedded.block.csharp","patterns":[{"include":"source.cs"}],"while":"(^|\\\\G)(?!\\\\s*([`~]{3,})\\\\s*$)"}]},"fenced_code_block_css":{"begin":"(^|\\\\G)(\\\\s*)(`{3,}|~{3,})\\\\s*(?i:(css(?:|.erb))((\\\\s+|[,:?{])[^`]*)?$)","beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"end":"(^|\\\\G)(\\\\2|\\\\s{0,3})(\\\\3)\\\\s*$","endCaptures":{"3":{"name":"punctuation.definition.markdown"}},"name":"markup.fenced_code.block.markdown","patterns":[{"begin":"(^|\\\\G)(\\\\s*)(.*)","contentName":"meta.embedded.block.css","patterns":[{"include":"source.css"}],"while":"(^|\\\\G)(?!\\\\s*([`~]{3,})\\\\s*$)"}]},"fenced_code_block_dart":{"begin":"(^|\\\\G)(\\\\s*)(`{3,}|~{3,})\\\\s*(?i:(dart)((\\\\s+|[,:?{])[^`]*)?$)","beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"end":"(^|\\\\G)(\\\\2|\\\\s{0,3})(\\\\3)\\\\s*$","endCaptures":{"3":{"name":"punctuation.definition.markdown"}},"name":"markup.fenced_code.block.markdown","patterns":[{"begin":"(^|\\\\G)(\\\\s*)(.*)","contentName":"meta.embedded.block.dart","patterns":[{"include":"source.dart"}],"while":"(^|\\\\G)(?!\\\\s*([`~]{3,})\\\\s*$)"}]},"fenced_code_block_diff":{"begin":"(^|\\\\G)(\\\\s*)(`{3,}|~{3,})\\\\s*(?i:(patch|diff|rej)((\\\\s+|[,:?{])[^`]*)?$)","beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"end":"(^|\\\\G)(\\\\2|\\\\s{0,3})(\\\\3)\\\\s*$","endCaptures":{"3":{"name":"punctuation.definition.markdown"}},"name":"markup.fenced_code.block.markdown","patterns":[{"begin":"(^|\\\\G)(\\\\s*)(.*)","contentName":"meta.embedded.block.diff","patterns":[{"include":"source.diff"}],"while":"(^|\\\\G)(?!\\\\s*([`~]{3,})\\\\s*$)"}]},"fenced_code_block_dockerfile":{"begin":"(^|\\\\G)(\\\\s*)(`{3,}|~{3,})\\\\s*(?i:([Dd]ockerfile)((\\\\s+|[,:?{])[^`]*)?$)","beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"end":"(^|\\\\G)(\\\\2|\\\\s{0,3})(\\\\3)\\\\s*$","endCaptures":{"3":{"name":"punctuation.definition.markdown"}},"name":"markup.fenced_code.block.markdown","patterns":[{"begin":"(^|\\\\G)(\\\\s*)(.*)","contentName":"meta.embedded.block.dockerfile","patterns":[{"include":"source.dockerfile"}],"while":"(^|\\\\G)(?!\\\\s*([`~]{3,})\\\\s*$)"}]},"fenced_code_block_dosbatch":{"begin":"(^|\\\\G)(\\\\s*)(`{3,}|~{3,})\\\\s*(?i:(bat(?:|ch))((\\\\s+|[,:?{])[^`]*)?$)","beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"end":"(^|\\\\G)(\\\\2|\\\\s{0,3})(\\\\3)\\\\s*$","endCaptures":{"3":{"name":"punctuation.definition.markdown"}},"name":"markup.fenced_code.block.markdown","patterns":[{"begin":"(^|\\\\G)(\\\\s*)(.*)","contentName":"meta.embedded.block.dosbatch","patterns":[{"include":"source.batchfile"}],"while":"(^|\\\\G)(?!\\\\s*([`~]{3,})\\\\s*$)"}]},"fenced_code_block_elixir":{"begin":"(^|\\\\G)(\\\\s*)(`{3,}|~{3,})\\\\s*(?i:(elixir)((\\\\s+|[,:?{])[^`]*)?$)","beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"end":"(^|\\\\G)(\\\\2|\\\\s{0,3})(\\\\3)\\\\s*$","endCaptures":{"3":{"name":"punctuation.definition.markdown"}},"name":"markup.fenced_code.block.markdown","patterns":[{"begin":"(^|\\\\G)(\\\\s*)(.*)","contentName":"meta.embedded.block.elixir","patterns":[{"include":"source.elixir"}],"while":"(^|\\\\G)(?!\\\\s*([`~]{3,})\\\\s*$)"}]},"fenced_code_block_erlang":{"begin":"(^|\\\\G)(\\\\s*)(`{3,}|~{3,})\\\\s*(?i:(erlang)((\\\\s+|[,:?{])[^`]*)?$)","beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"end":"(^|\\\\G)(\\\\2|\\\\s{0,3})(\\\\3)\\\\s*$","endCaptures":{"3":{"name":"punctuation.definition.markdown"}},"name":"markup.fenced_code.block.markdown","patterns":[{"begin":"(^|\\\\G)(\\\\s*)(.*)","contentName":"meta.embedded.block.erlang","patterns":[{"include":"source.erlang"}],"while":"(^|\\\\G)(?!\\\\s*([`~]{3,})\\\\s*$)"}]},"fenced_code_block_fsharp":{"begin":"(^|\\\\G)(\\\\s*)(`{3,}|~{3,})\\\\s*(?i:(f(?:s|sharp|#))((\\\\s+|[,:?{])[^`]*)?$)","beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"end":"(^|\\\\G)(\\\\2|\\\\s{0,3})(\\\\3)\\\\s*$","endCaptures":{"3":{"name":"punctuation.definition.markdown"}},"name":"markup.fenced_code.block.markdown","patterns":[{"begin":"(^|\\\\G)(\\\\s*)(.*)","contentName":"meta.embedded.block.fsharp","patterns":[{"include":"source.fsharp"}],"while":"(^|\\\\G)(?!\\\\s*([`~]{3,})\\\\s*$)"}]},"fenced_code_block_git_commit":{"begin":"(^|\\\\G)(\\\\s*)(`{3,}|~{3,})\\\\s*(?i:((?:COMMIT_EDIT|MERGE_)MSG)((\\\\s+|[,:?{])[^`]*)?$)","beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"end":"(^|\\\\G)(\\\\2|\\\\s{0,3})(\\\\3)\\\\s*$","endCaptures":{"3":{"name":"punctuation.definition.markdown"}},"name":"markup.fenced_code.block.markdown","patterns":[{"begin":"(^|\\\\G)(\\\\s*)(.*)","contentName":"meta.embedded.block.git_commit","patterns":[{"include":"text.git-commit"}],"while":"(^|\\\\G)(?!\\\\s*([`~]{3,})\\\\s*$)"}]},"fenced_code_block_git_rebase":{"begin":"(^|\\\\G)(\\\\s*)(`{3,}|~{3,})\\\\s*(?i:(git-rebase-todo)((\\\\s+|[,:?{])[^`]*)?$)","beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"end":"(^|\\\\G)(\\\\2|\\\\s{0,3})(\\\\3)\\\\s*$","endCaptures":{"3":{"name":"punctuation.definition.markdown"}},"name":"markup.fenced_code.block.markdown","patterns":[{"begin":"(^|\\\\G)(\\\\s*)(.*)","contentName":"meta.embedded.block.git_rebase","patterns":[{"include":"text.git-rebase"}],"while":"(^|\\\\G)(?!\\\\s*([`~]{3,})\\\\s*$)"}]},"fenced_code_block_go":{"begin":"(^|\\\\G)(\\\\s*)(`{3,}|~{3,})\\\\s*(?i:(go(?:|lang))((\\\\s+|[,:?{])[^`]*)?$)","beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"end":"(^|\\\\G)(\\\\2|\\\\s{0,3})(\\\\3)\\\\s*$","endCaptures":{"3":{"name":"punctuation.definition.markdown"}},"name":"markup.fenced_code.block.markdown","patterns":[{"begin":"(^|\\\\G)(\\\\s*)(.*)","contentName":"meta.embedded.block.go","patterns":[{"include":"source.go"}],"while":"(^|\\\\G)(?!\\\\s*([`~]{3,})\\\\s*$)"}]},"fenced_code_block_groovy":{"begin":"(^|\\\\G)(\\\\s*)(`{3,}|~{3,})\\\\s*(?i:(g(?:roovy|vy))((\\\\s+|[,:?{])[^`]*)?$)","beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"end":"(^|\\\\G)(\\\\2|\\\\s{0,3})(\\\\3)\\\\s*$","endCaptures":{"3":{"name":"punctuation.definition.markdown"}},"name":"markup.fenced_code.block.markdown","patterns":[{"begin":"(^|\\\\G)(\\\\s*)(.*)","contentName":"meta.embedded.block.groovy","patterns":[{"include":"source.groovy"}],"while":"(^|\\\\G)(?!\\\\s*([`~]{3,})\\\\s*$)"}]},"fenced_code_block_handlebars":{"begin":"(^|\\\\G)(\\\\s*)(`{3,}|~{3,})\\\\s*(?i:(h(?:andlebars|bs))((\\\\s+|[,:?{])[^`]*)?$)","beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"end":"(^|\\\\G)(\\\\2|\\\\s{0,3})(\\\\3)\\\\s*$","endCaptures":{"3":{"name":"punctuation.definition.markdown"}},"name":"markup.fenced_code.block.markdown","patterns":[{"begin":"(^|\\\\G)(\\\\s*)(.*)","contentName":"meta.embedded.block.handlebars","patterns":[{"include":"text.html.handlebars"}],"while":"(^|\\\\G)(?!\\\\s*([`~]{3,})\\\\s*$)"}]},"fenced_code_block_ignore":{"begin":"(^|\\\\G)(\\\\s*)(`{3,}|~{3,})\\\\s*(?i:((?:git|)ignore)((\\\\s+|[,:?{])[^`]*)?$)","beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"end":"(^|\\\\G)(\\\\2|\\\\s{0,3})(\\\\3)\\\\s*$","endCaptures":{"3":{"name":"punctuation.definition.markdown"}},"name":"markup.fenced_code.block.markdown","patterns":[{"begin":"(^|\\\\G)(\\\\s*)(.*)","contentName":"meta.embedded.block.ignore","patterns":[{"include":"source.ignore"}],"while":"(^|\\\\G)(?!\\\\s*([`~]{3,})\\\\s*$)"}]},"fenced_code_block_ini":{"begin":"(^|\\\\G)(\\\\s*)(`{3,}|~{3,})\\\\s*(?i:(ini|conf)((\\\\s+|[,:?{])[^`]*)?$)","beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"end":"(^|\\\\G)(\\\\2|\\\\s{0,3})(\\\\3)\\\\s*$","endCaptures":{"3":{"name":"punctuation.definition.markdown"}},"name":"markup.fenced_code.block.markdown","patterns":[{"begin":"(^|\\\\G)(\\\\s*)(.*)","contentName":"meta.embedded.block.ini","patterns":[{"include":"source.ini"}],"while":"(^|\\\\G)(?!\\\\s*([`~]{3,})\\\\s*$)"}]},"fenced_code_block_java":{"begin":"(^|\\\\G)(\\\\s*)(`{3,}|~{3,})\\\\s*(?i:(java|bsh)((\\\\s+|[,:?{])[^`]*)?$)","beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"end":"(^|\\\\G)(\\\\2|\\\\s{0,3})(\\\\3)\\\\s*$","endCaptures":{"3":{"name":"punctuation.definition.markdown"}},"name":"markup.fenced_code.block.markdown","patterns":[{"begin":"(^|\\\\G)(\\\\s*)(.*)","contentName":"meta.embedded.block.java","patterns":[{"include":"source.java"}],"while":"(^|\\\\G)(?!\\\\s*([`~]{3,})\\\\s*$)"}]},"fenced_code_block_js":{"begin":"(^|\\\\G)(\\\\s*)(`{3,}|~{3,})\\\\s*(?i:(jsx??|javascript|es6|mjs|cjs|dataviewjs|\\\\{\\\\.js.+?})((\\\\s+|[,:?{])[^`]*)?$)","beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"end":"(^|\\\\G)(\\\\2|\\\\s{0,3})(\\\\3)\\\\s*$","endCaptures":{"3":{"name":"punctuation.definition.markdown"}},"name":"markup.fenced_code.block.markdown","patterns":[{"begin":"(^|\\\\G)(\\\\s*)(.*)","contentName":"meta.embedded.block.javascript","patterns":[{"include":"source.js"}],"while":"(^|\\\\G)(?!\\\\s*([`~]{3,})\\\\s*$)"}]},"fenced_code_block_js_regexp":{"begin":"(^|\\\\G)(\\\\s*)(`{3,}|~{3,})\\\\s*(?i:(regexp)((\\\\s+|[,:?{])[^`]*)?$)","beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"end":"(^|\\\\G)(\\\\2|\\\\s{0,3})(\\\\3)\\\\s*$","endCaptures":{"3":{"name":"punctuation.definition.markdown"}},"name":"markup.fenced_code.block.markdown","patterns":[{"begin":"(^|\\\\G)(\\\\s*)(.*)","contentName":"meta.embedded.block.js_regexp","patterns":[{"include":"source.js.regexp"}],"while":"(^|\\\\G)(?!\\\\s*([`~]{3,})\\\\s*$)"}]},"fenced_code_block_json":{"begin":"(^|\\\\G)(\\\\s*)(`{3,}|~{3,})\\\\s*(?i:(json5??|sublime-settings|sublime-menu|sublime-keymap|sublime-mousemap|sublime-theme|sublime-build|sublime-project|sublime-completions)((\\\\s+|[,:?{])[^`]*)?$)","beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"end":"(^|\\\\G)(\\\\2|\\\\s{0,3})(\\\\3)\\\\s*$","endCaptures":{"3":{"name":"punctuation.definition.markdown"}},"name":"markup.fenced_code.block.markdown","patterns":[{"begin":"(^|\\\\G)(\\\\s*)(.*)","contentName":"meta.embedded.block.json","patterns":[{"include":"source.json"}],"while":"(^|\\\\G)(?!\\\\s*([`~]{3,})\\\\s*$)"}]},"fenced_code_block_jsonc":{"begin":"(^|\\\\G)(\\\\s*)(`{3,}|~{3,})\\\\s*(?i:(jsonc)((\\\\s+|[,:?{])[^`]*)?$)","beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"end":"(^|\\\\G)(\\\\2|\\\\s{0,3})(\\\\3)\\\\s*$","endCaptures":{"3":{"name":"punctuation.definition.markdown"}},"name":"markup.fenced_code.block.markdown","patterns":[{"begin":"(^|\\\\G)(\\\\s*)(.*)","contentName":"meta.embedded.block.jsonc","patterns":[{"include":"source.json.comments"}],"while":"(^|\\\\G)(?!\\\\s*([`~]{3,})\\\\s*$)"}]},"fenced_code_block_jsonl":{"begin":"(^|\\\\G)(\\\\s*)(`{3,}|~{3,})\\\\s*(?i:(jsonl(?:|ines))((\\\\s+|[,:?{])[^`]*)?$)","beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"end":"(^|\\\\G)(\\\\2|\\\\s{0,3})(\\\\3)\\\\s*$","endCaptures":{"3":{"name":"punctuation.definition.markdown"}},"name":"markup.fenced_code.block.markdown","patterns":[{"begin":"(^|\\\\G)(\\\\s*)(.*)","contentName":"meta.embedded.block.jsonl","patterns":[{"include":"source.json.lines"}],"while":"(^|\\\\G)(?!\\\\s*([`~]{3,})\\\\s*$)"}]},"fenced_code_block_julia":{"begin":"(^|\\\\G)(\\\\s*)(`{3,}|~{3,})\\\\s*(?i:(julia|\\\\{\\\\.julia.+?})((\\\\s+|[,:?{])[^`]*)?$)","beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"end":"(^|\\\\G)(\\\\2|\\\\s{0,3})(\\\\3)\\\\s*$","endCaptures":{"3":{"name":"punctuation.definition.markdown"}},"name":"markup.fenced_code.block.markdown","patterns":[{"begin":"(^|\\\\G)(\\\\s*)(.*)","contentName":"meta.embedded.block.julia","patterns":[{"include":"source.julia"}],"while":"(^|\\\\G)(?!\\\\s*([`~]{3,})\\\\s*$)"}]},"fenced_code_block_latex":{"begin":"(^|\\\\G)(\\\\s*)(`{3,}|~{3,})\\\\s*(?i:((?:la|)tex)((\\\\s+|[,:?{])[^`]*)?$)","beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"end":"(^|\\\\G)(\\\\2|\\\\s{0,3})(\\\\3)\\\\s*$","endCaptures":{"3":{"name":"punctuation.definition.markdown"}},"name":"markup.fenced_code.block.markdown","patterns":[{"begin":"(^|\\\\G)(\\\\s*)(.*)","contentName":"meta.embedded.block.latex","patterns":[{"include":"text.tex.latex"}],"while":"(^|\\\\G)(?!\\\\s*([`~]{3,})\\\\s*$)"}]},"fenced_code_block_less":{"begin":"(^|\\\\G)(\\\\s*)(`{3,}|~{3,})\\\\s*(?i:(less)((\\\\s+|[,:?{])[^`]*)?$)","beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"end":"(^|\\\\G)(\\\\2|\\\\s{0,3})(\\\\3)\\\\s*$","endCaptures":{"3":{"name":"punctuation.definition.markdown"}},"name":"markup.fenced_code.block.markdown","patterns":[{"begin":"(^|\\\\G)(\\\\s*)(.*)","contentName":"meta.embedded.block.less","patterns":[{"include":"source.css.less"}],"while":"(^|\\\\G)(?!\\\\s*([`~]{3,})\\\\s*$)"}]},"fenced_code_block_log":{"begin":"(^|\\\\G)(\\\\s*)(`{3,}|~{3,})\\\\s*(?i:(log)((\\\\s+|[,:?{])[^`]*)?$)","beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"end":"(^|\\\\G)(\\\\2|\\\\s{0,3})(\\\\3)\\\\s*$","endCaptures":{"3":{"name":"punctuation.definition.markdown"}},"name":"markup.fenced_code.block.markdown","patterns":[{"begin":"(^|\\\\G)(\\\\s*)(.*)","contentName":"meta.embedded.block.log","patterns":[{"include":"text.log"}],"while":"(^|\\\\G)(?!\\\\s*([`~]{3,})\\\\s*$)"}]},"fenced_code_block_lua":{"begin":"(^|\\\\G)(\\\\s*)(`{3,}|~{3,})\\\\s*(?i:(lua)((\\\\s+|[,:?{])[^`]*)?$)","beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"end":"(^|\\\\G)(\\\\2|\\\\s{0,3})(\\\\3)\\\\s*$","endCaptures":{"3":{"name":"punctuation.definition.markdown"}},"name":"markup.fenced_code.block.markdown","patterns":[{"begin":"(^|\\\\G)(\\\\s*)(.*)","contentName":"meta.embedded.block.lua","patterns":[{"include":"source.lua"}],"while":"(^|\\\\G)(?!\\\\s*([`~]{3,})\\\\s*$)"}]},"fenced_code_block_makefile":{"begin":"(^|\\\\G)(\\\\s*)(`{3,}|~{3,})\\\\s*(?i:((?:[Mm]|GNUm|OCamlM)akefile)((\\\\s+|[,:?{])[^`]*)?$)","beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"end":"(^|\\\\G)(\\\\2|\\\\s{0,3})(\\\\3)\\\\s*$","endCaptures":{"3":{"name":"punctuation.definition.markdown"}},"name":"markup.fenced_code.block.markdown","patterns":[{"begin":"(^|\\\\G)(\\\\s*)(.*)","contentName":"meta.embedded.block.makefile","patterns":[{"include":"source.makefile"}],"while":"(^|\\\\G)(?!\\\\s*([`~]{3,})\\\\s*$)"}]},"fenced_code_block_markdown":{"begin":"(^|\\\\G)(\\\\s*)(`{3,}|~{3,})\\\\s*(?i:(m(?:arkdown|d))((\\\\s+|[,:?{])[^`]*)?$)","beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"end":"(^|\\\\G)(\\\\2|\\\\s{0,3})(\\\\3)\\\\s*$","endCaptures":{"3":{"name":"punctuation.definition.markdown"}},"name":"markup.fenced_code.block.markdown","patterns":[{"begin":"(^|\\\\G)(\\\\s*)(.*)","contentName":"meta.embedded.block.markdown","patterns":[{"include":"text.html.markdown"}],"while":"(^|\\\\G)(?!\\\\s*([`~]{3,})\\\\s*$)"}]},"fenced_code_block_objc":{"begin":"(^|\\\\G)(\\\\s*)(`{3,}|~{3,})\\\\s*(?i:(objectivec|objective-c|mm|objc|obj-c|[hm])((\\\\s+|[,:?{])[^`]*)?$)","beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"end":"(^|\\\\G)(\\\\2|\\\\s{0,3})(\\\\3)\\\\s*$","endCaptures":{"3":{"name":"punctuation.definition.markdown"}},"name":"markup.fenced_code.block.markdown","patterns":[{"begin":"(^|\\\\G)(\\\\s*)(.*)","contentName":"meta.embedded.block.objc","patterns":[{"include":"source.objc"}],"while":"(^|\\\\G)(?!\\\\s*([`~]{3,})\\\\s*$)"}]},"fenced_code_block_perl":{"begin":"(^|\\\\G)(\\\\s*)(`{3,}|~{3,})\\\\s*(?i:(perl|pl|pm|pod|t|PL|psgi|vcl)((\\\\s+|[,:?{])[^`]*)?$)","beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"end":"(^|\\\\G)(\\\\2|\\\\s{0,3})(\\\\3)\\\\s*$","endCaptures":{"3":{"name":"punctuation.definition.markdown"}},"name":"markup.fenced_code.block.markdown","patterns":[{"begin":"(^|\\\\G)(\\\\s*)(.*)","contentName":"meta.embedded.block.perl","patterns":[{"include":"source.perl"}],"while":"(^|\\\\G)(?!\\\\s*([`~]{3,})\\\\s*$)"}]},"fenced_code_block_perl6":{"begin":"(^|\\\\G)(\\\\s*)(`{3,}|~{3,})\\\\s*(?i:(perl6|p6|pl6|pm6|nqp)((\\\\s+|[,:?{])[^`]*)?$)","beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"end":"(^|\\\\G)(\\\\2|\\\\s{0,3})(\\\\3)\\\\s*$","endCaptures":{"3":{"name":"punctuation.definition.markdown"}},"name":"markup.fenced_code.block.markdown","patterns":[{"begin":"(^|\\\\G)(\\\\s*)(.*)","contentName":"meta.embedded.block.perl6","patterns":[{"include":"source.perl.6"}],"while":"(^|\\\\G)(?!\\\\s*([`~]{3,})\\\\s*$)"}]},"fenced_code_block_php":{"begin":"(^|\\\\G)(\\\\s*)(`{3,}|~{3,})\\\\s*(?i:(php3??|php4|php5|phpt|phtml|aw|ctp)((\\\\s+|[,:?{])[^`]*)?$)","beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"end":"(^|\\\\G)(\\\\2|\\\\s{0,3})(\\\\3)\\\\s*$","endCaptures":{"3":{"name":"punctuation.definition.markdown"}},"name":"markup.fenced_code.block.markdown","patterns":[{"begin":"(^|\\\\G)(\\\\s*)(.*)","contentName":"meta.embedded.block.php","patterns":[{"include":"text.html.basic"},{"include":"source.php"}],"while":"(^|\\\\G)(?!\\\\s*([`~]{3,})\\\\s*$)"}]},"fenced_code_block_powershell":{"begin":"(^|\\\\G)(\\\\s*)(`{3,}|~{3,})\\\\s*(?i:(p(?:owershell|s1|sm1|sd1|wsh))((\\\\s+|[,:?{])[^`]*)?$)","beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"end":"(^|\\\\G)(\\\\2|\\\\s{0,3})(\\\\3)\\\\s*$","endCaptures":{"3":{"name":"punctuation.definition.markdown"}},"name":"markup.fenced_code.block.markdown","patterns":[{"begin":"(^|\\\\G)(\\\\s*)(.*)","contentName":"meta.embedded.block.powershell","patterns":[{"include":"source.powershell"}],"while":"(^|\\\\G)(?!\\\\s*([`~]{3,})\\\\s*$)"}]},"fenced_code_block_pug":{"begin":"(^|\\\\G)(\\\\s*)(`{3,}|~{3,})\\\\s*(?i:(jade|pug)((\\\\s+|[,:?{])[^`]*)?$)","beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"end":"(^|\\\\G)(\\\\2|\\\\s{0,3})(\\\\3)\\\\s*$","endCaptures":{"3":{"name":"punctuation.definition.markdown"}},"name":"markup.fenced_code.block.markdown","patterns":[{"begin":"(^|\\\\G)(\\\\s*)(.*)","contentName":"meta.embedded.block.pug","patterns":[{"include":"text.pug"}],"while":"(^|\\\\G)(?!\\\\s*([`~]{3,})\\\\s*$)"}]},"fenced_code_block_python":{"begin":"(^|\\\\G)(\\\\s*)(`{3,}|~{3,})\\\\s*(?i:(python|py3??|rpy|pyw|cpy|SConstruct|Sconstruct|sconstruct|SConscript|gypi??|\\\\{\\\\.python.+?})((\\\\s+|[,:?{])[^`]*)?$)","beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"end":"(^|\\\\G)(\\\\2|\\\\s{0,3})(\\\\3)\\\\s*$","endCaptures":{"3":{"name":"punctuation.definition.markdown"}},"name":"markup.fenced_code.block.markdown","patterns":[{"begin":"(^|\\\\G)(\\\\s*)(.*)","contentName":"meta.embedded.block.python","patterns":[{"include":"source.python"}],"while":"(^|\\\\G)(?!\\\\s*([`~]{3,})\\\\s*$)"}]},"fenced_code_block_r":{"begin":"(^|\\\\G)(\\\\s*)(`{3,}|~{3,})\\\\s*(?i:([RSrs]|Rprofile|\\\\{\\\\.r.+?})((\\\\s+|[,:?{])[^`]*)?$)","beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"end":"(^|\\\\G)(\\\\2|\\\\s{0,3})(\\\\3)\\\\s*$","endCaptures":{"3":{"name":"punctuation.definition.markdown"}},"name":"markup.fenced_code.block.markdown","patterns":[{"begin":"(^|\\\\G)(\\\\s*)(.*)","contentName":"meta.embedded.block.r","patterns":[{"include":"source.r"}],"while":"(^|\\\\G)(?!\\\\s*([`~]{3,})\\\\s*$)"}]},"fenced_code_block_regexp_python":{"begin":"(^|\\\\G)(\\\\s*)(`{3,}|~{3,})\\\\s*(?i:(re)((\\\\s+|[,:?{])[^`]*)?$)","beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"end":"(^|\\\\G)(\\\\2|\\\\s{0,3})(\\\\3)\\\\s*$","endCaptures":{"3":{"name":"punctuation.definition.markdown"}},"name":"markup.fenced_code.block.markdown","patterns":[{"begin":"(^|\\\\G)(\\\\s*)(.*)","contentName":"meta.embedded.block.regexp_python","patterns":[{"include":"source.regexp.python"}],"while":"(^|\\\\G)(?!\\\\s*([`~]{3,})\\\\s*$)"}]},"fenced_code_block_restructuredtext":{"begin":"(^|\\\\G)(\\\\s*)(`{3,}|~{3,})\\\\s*(?i:(r(?:estructuredtext|st))((\\\\s+|[,:?{])[^`]*)?$)","beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"end":"(^|\\\\G)(\\\\2|\\\\s{0,3})(\\\\3)\\\\s*$","endCaptures":{"3":{"name":"punctuation.definition.markdown"}},"name":"markup.fenced_code.block.markdown","patterns":[{"begin":"(^|\\\\G)(\\\\s*)(.*)","contentName":"meta.embedded.block.restructuredtext","patterns":[{"include":"source.rst"}],"while":"(^|\\\\G)(?!\\\\s*([`~]{3,})\\\\s*$)"}]},"fenced_code_block_ruby":{"begin":"(^|\\\\G)(\\\\s*)(`{3,}|~{3,})\\\\s*(?i:(ruby|rbx??|rjs|Rakefile|rake|cgi|fcgi|gemspec|irbrc|Capfile|ru|prawn|Cheffile|Gemfile|Guardfile|Hobofile|Vagrantfile|Appraisals|Rantfile|Berksfile|Berksfile.lock|Thorfile|Puppetfile)((\\\\s+|[,:?{])[^`]*)?$)","beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"end":"(^|\\\\G)(\\\\2|\\\\s{0,3})(\\\\3)\\\\s*$","endCaptures":{"3":{"name":"punctuation.definition.markdown"}},"name":"markup.fenced_code.block.markdown","patterns":[{"begin":"(^|\\\\G)(\\\\s*)(.*)","contentName":"meta.embedded.block.ruby","patterns":[{"include":"source.ruby"}],"while":"(^|\\\\G)(?!\\\\s*([`~]{3,})\\\\s*$)"}]},"fenced_code_block_rust":{"begin":"(^|\\\\G)(\\\\s*)(`{3,}|~{3,})\\\\s*(?i:(rust|rs|\\\\{\\\\.rust.+?})((\\\\s+|[,:?{])[^`]*)?$)","beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"end":"(^|\\\\G)(\\\\2|\\\\s{0,3})(\\\\3)\\\\s*$","endCaptures":{"3":{"name":"punctuation.definition.markdown"}},"name":"markup.fenced_code.block.markdown","patterns":[{"begin":"(^|\\\\G)(\\\\s*)(.*)","contentName":"meta.embedded.block.rust","patterns":[{"include":"source.rust"}],"while":"(^|\\\\G)(?!\\\\s*([`~]{3,})\\\\s*$)"}]},"fenced_code_block_scala":{"begin":"(^|\\\\G)(\\\\s*)(`{3,}|~{3,})\\\\s*(?i:(s(?:cala|bt))((\\\\s+|[,:?{])[^`]*)?$)","beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"end":"(^|\\\\G)(\\\\2|\\\\s{0,3})(\\\\3)\\\\s*$","endCaptures":{"3":{"name":"punctuation.definition.markdown"}},"name":"markup.fenced_code.block.markdown","patterns":[{"begin":"(^|\\\\G)(\\\\s*)(.*)","contentName":"meta.embedded.block.scala","patterns":[{"include":"source.scala"}],"while":"(^|\\\\G)(?!\\\\s*([`~]{3,})\\\\s*$)"}]},"fenced_code_block_scss":{"begin":"(^|\\\\G)(\\\\s*)(`{3,}|~{3,})\\\\s*(?i:(scss)((\\\\s+|[,:?{])[^`]*)?$)","beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"end":"(^|\\\\G)(\\\\2|\\\\s{0,3})(\\\\3)\\\\s*$","endCaptures":{"3":{"name":"punctuation.definition.markdown"}},"name":"markup.fenced_code.block.markdown","patterns":[{"begin":"(^|\\\\G)(\\\\s*)(.*)","contentName":"meta.embedded.block.scss","patterns":[{"include":"source.css.scss"}],"while":"(^|\\\\G)(?!\\\\s*([`~]{3,})\\\\s*$)"}]},"fenced_code_block_shell":{"begin":"(^|\\\\G)(\\\\s*)(`{3,}|~{3,})\\\\s*(?i:(shell|sh|bash|zsh|bashrc|bash_profile|bash_login|profile|bash_logout|.textmate_init|\\\\{\\\\.bash.+?})((\\\\s+|[,:?{])[^`]*)?$)","beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"end":"(^|\\\\G)(\\\\2|\\\\s{0,3})(\\\\3)\\\\s*$","endCaptures":{"3":{"name":"punctuation.definition.markdown"}},"name":"markup.fenced_code.block.markdown","patterns":[{"begin":"(^|\\\\G)(\\\\s*)(.*)","contentName":"meta.embedded.block.shellscript","patterns":[{"include":"source.shell"}],"while":"(^|\\\\G)(?!\\\\s*([`~]{3,})\\\\s*$)"}]},"fenced_code_block_sql":{"begin":"(^|\\\\G)(\\\\s*)(`{3,}|~{3,})\\\\s*(?i:(sql|ddl|dml)((\\\\s+|[,:?{])[^`]*)?$)","beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"end":"(^|\\\\G)(\\\\2|\\\\s{0,3})(\\\\3)\\\\s*$","endCaptures":{"3":{"name":"punctuation.definition.markdown"}},"name":"markup.fenced_code.block.markdown","patterns":[{"begin":"(^|\\\\G)(\\\\s*)(.*)","contentName":"meta.embedded.block.sql","patterns":[{"include":"source.sql"}],"while":"(^|\\\\G)(?!\\\\s*([`~]{3,})\\\\s*$)"}]},"fenced_code_block_swift":{"begin":"(^|\\\\G)(\\\\s*)(`{3,}|~{3,})\\\\s*(?i:(swift)((\\\\s+|[,:?{])[^`]*)?$)","beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"end":"(^|\\\\G)(\\\\2|\\\\s{0,3})(\\\\3)\\\\s*$","endCaptures":{"3":{"name":"punctuation.definition.markdown"}},"name":"markup.fenced_code.block.markdown","patterns":[{"begin":"(^|\\\\G)(\\\\s*)(.*)","contentName":"meta.embedded.block.swift","patterns":[{"include":"source.swift"}],"while":"(^|\\\\G)(?!\\\\s*([`~]{3,})\\\\s*$)"}]},"fenced_code_block_ts":{"begin":"(^|\\\\G)(\\\\s*)(`{3,}|~{3,})\\\\s*(?i:(t(?:ypescript|s))((\\\\s+|[,:?{])[^`]*)?$)","beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"end":"(^|\\\\G)(\\\\2|\\\\s{0,3})(\\\\3)\\\\s*$","endCaptures":{"3":{"name":"punctuation.definition.markdown"}},"name":"markup.fenced_code.block.markdown","patterns":[{"begin":"(^|\\\\G)(\\\\s*)(.*)","contentName":"meta.embedded.block.typescript","patterns":[{"include":"source.ts"}],"while":"(^|\\\\G)(?!\\\\s*([`~]{3,})\\\\s*$)"}]},"fenced_code_block_tsx":{"begin":"(^|\\\\G)(\\\\s*)(`{3,}|~{3,})\\\\s*(?i:(tsx)((\\\\s+|[,:?{])[^`]*)?$)","beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"end":"(^|\\\\G)(\\\\2|\\\\s{0,3})(\\\\3)\\\\s*$","endCaptures":{"3":{"name":"punctuation.definition.markdown"}},"name":"markup.fenced_code.block.markdown","patterns":[{"begin":"(^|\\\\G)(\\\\s*)(.*)","contentName":"meta.embedded.block.typescriptreact","patterns":[{"include":"source.tsx"}],"while":"(^|\\\\G)(?!\\\\s*([`~]{3,})\\\\s*$)"}]},"fenced_code_block_twig":{"begin":"(^|\\\\G)(\\\\s*)(`{3,}|~{3,})\\\\s*(?i:(twig)((\\\\s+|[,:?{])[^`]*)?$)","beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"end":"(^|\\\\G)(\\\\2|\\\\s{0,3})(\\\\3)\\\\s*$","endCaptures":{"3":{"name":"punctuation.definition.markdown"}},"name":"markup.fenced_code.block.markdown","patterns":[{"begin":"(^|\\\\G)(\\\\s*)(.*)","contentName":"meta.embedded.block.twig","patterns":[{"include":"source.twig"}],"while":"(^|\\\\G)(?!\\\\s*([`~]{3,})\\\\s*$)"}]},"fenced_code_block_unknown":{"begin":"(^|\\\\G)(\\\\s*)(`{3,}|~{3,})\\\\s*(?=([^`]*)?$)","beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language"}},"end":"(^|\\\\G)(\\\\2|\\\\s{0,3})(\\\\3)\\\\s*$","endCaptures":{"3":{"name":"punctuation.definition.markdown"}},"name":"markup.fenced_code.block.markdown"},"fenced_code_block_vs_net":{"begin":"(^|\\\\G)(\\\\s*)(`{3,}|~{3,})\\\\s*(?i:(vb)((\\\\s+|[,:?{])[^`]*)?$)","beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"end":"(^|\\\\G)(\\\\2|\\\\s{0,3})(\\\\3)\\\\s*$","endCaptures":{"3":{"name":"punctuation.definition.markdown"}},"name":"markup.fenced_code.block.markdown","patterns":[{"begin":"(^|\\\\G)(\\\\s*)(.*)","contentName":"meta.embedded.block.vs_net","patterns":[{"include":"source.asp.vb.net"}],"while":"(^|\\\\G)(?!\\\\s*([`~]{3,})\\\\s*$)"}]},"fenced_code_block_xml":{"begin":"(^|\\\\G)(\\\\s*)(`{3,}|~{3,})\\\\s*(?i:(xml|xsd|tld|jsp|pt|cpt|dtml|rss|opml)((\\\\s+|[,:?{])[^`]*)?$)","beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"end":"(^|\\\\G)(\\\\2|\\\\s{0,3})(\\\\3)\\\\s*$","endCaptures":{"3":{"name":"punctuation.definition.markdown"}},"name":"markup.fenced_code.block.markdown","patterns":[{"begin":"(^|\\\\G)(\\\\s*)(.*)","contentName":"meta.embedded.block.xml","patterns":[{"include":"text.xml"}],"while":"(^|\\\\G)(?!\\\\s*([`~]{3,})\\\\s*$)"}]},"fenced_code_block_xsl":{"begin":"(^|\\\\G)(\\\\s*)(`{3,}|~{3,})\\\\s*(?i:(xslt??)((\\\\s+|[,:?{])[^`]*)?$)","beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"end":"(^|\\\\G)(\\\\2|\\\\s{0,3})(\\\\3)\\\\s*$","endCaptures":{"3":{"name":"punctuation.definition.markdown"}},"name":"markup.fenced_code.block.markdown","patterns":[{"begin":"(^|\\\\G)(\\\\s*)(.*)","contentName":"meta.embedded.block.xsl","patterns":[{"include":"text.xml.xsl"}],"while":"(^|\\\\G)(?!\\\\s*([`~]{3,})\\\\s*$)"}]},"fenced_code_block_yaml":{"begin":"(^|\\\\G)(\\\\s*)(`{3,}|~{3,})\\\\s*(?i:(ya?ml)((\\\\s+|[,:?{])[^`]*)?$)","beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"end":"(^|\\\\G)(\\\\2|\\\\s{0,3})(\\\\3)\\\\s*$","endCaptures":{"3":{"name":"punctuation.definition.markdown"}},"name":"markup.fenced_code.block.markdown","patterns":[{"begin":"(^|\\\\G)(\\\\s*)(.*)","contentName":"meta.embedded.block.yaml","patterns":[{"include":"source.yaml"}],"while":"(^|\\\\G)(?!\\\\s*([`~]{3,})\\\\s*$)"}]},"fenced_code_block_yang":{"begin":"(^|\\\\G)(\\\\s*)(`{3,}|~{3,})\\\\s*(?i:(yang)((\\\\s+|[,:?{])[^`]*)?$)","beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"end":"(^|\\\\G)(\\\\2|\\\\s{0,3})(\\\\3)\\\\s*$","endCaptures":{"3":{"name":"punctuation.definition.markdown"}},"name":"markup.fenced_code.block.markdown","patterns":[{"begin":"(^|\\\\G)(\\\\s*)(.*)","contentName":"meta.embedded.block.yang","patterns":[{"include":"source.yang"}],"while":"(^|\\\\G)(?!\\\\s*([`~]{3,})\\\\s*$)"}]},"frontMatter":{"applyEndPatternLast":1,"begin":"\\\\A(?=(-{3,}))","end":"^(?: {0,3}\\\\1-*[\\\\t ]*|[\\\\t ]*\\\\.{3})$","endCaptures":{"0":{"name":"punctuation.definition.end.frontmatter"}},"patterns":[{"begin":"\\\\A(-{3,})(.*)$","beginCaptures":{"1":{"name":"punctuation.definition.begin.frontmatter"},"2":{"name":"comment.frontmatter"}},"contentName":"meta.embedded.block.frontmatter","patterns":[{"include":"source.yaml"}],"while":"^(?!(?: {0,3}\\\\1-*[\\\\t ]*|[\\\\t ]*\\\\.{3})$)"}]},"heading":{"captures":{"1":{"patterns":[{"captures":{"1":{"name":"punctuation.definition.heading.markdown"},"2":{"name":"entity.name.section.markdown","patterns":[{"include":"#inline"},{"include":"text.html.derivative"}]},"3":{"name":"punctuation.definition.heading.markdown"}},"match":"(#{6})\\\\s+(.*?)(?:\\\\s+(#+))?\\\\s*$","name":"heading.6.markdown"},{"captures":{"1":{"name":"punctuation.definition.heading.markdown"},"2":{"name":"entity.name.section.markdown","patterns":[{"include":"#inline"},{"include":"text.html.derivative"}]},"3":{"name":"punctuation.definition.heading.markdown"}},"match":"(#{5})\\\\s+(.*?)(?:\\\\s+(#+))?\\\\s*$","name":"heading.5.markdown"},{"captures":{"1":{"name":"punctuation.definition.heading.markdown"},"2":{"name":"entity.name.section.markdown","patterns":[{"include":"#inline"},{"include":"text.html.derivative"}]},"3":{"name":"punctuation.definition.heading.markdown"}},"match":"(#{4})\\\\s+(.*?)(?:\\\\s+(#+))?\\\\s*$","name":"heading.4.markdown"},{"captures":{"1":{"name":"punctuation.definition.heading.markdown"},"2":{"name":"entity.name.section.markdown","patterns":[{"include":"#inline"},{"include":"text.html.derivative"}]},"3":{"name":"punctuation.definition.heading.markdown"}},"match":"(#{3})\\\\s+(.*?)(?:\\\\s+(#+))?\\\\s*$","name":"heading.3.markdown"},{"captures":{"1":{"name":"punctuation.definition.heading.markdown"},"2":{"name":"entity.name.section.markdown","patterns":[{"include":"#inline"},{"include":"text.html.derivative"}]},"3":{"name":"punctuation.definition.heading.markdown"}},"match":"(#{2})\\\\s+(.*?)(?:\\\\s+(#+))?\\\\s*$","name":"heading.2.markdown"},{"captures":{"1":{"name":"punctuation.definition.heading.markdown"},"2":{"name":"entity.name.section.markdown","patterns":[{"include":"#inline"},{"include":"text.html.derivative"}]},"3":{"name":"punctuation.definition.heading.markdown"}},"match":"(#{1})\\\\s+(.*?)(?:\\\\s+(#+))?\\\\s*$","name":"heading.1.markdown"}]}},"match":"(?:^|\\\\G) {0,3}(#{1,6}\\\\s+(.*?)(\\\\s+#{1,6})?\\\\s*)$","name":"markup.heading.markdown"},"heading-setext":{"patterns":[{"match":"^(={3,})(?=[\\\\t ]*$\\\\n?)","name":"markup.heading.setext.1.markdown"},{"match":"^(-{3,})(?=[\\\\t ]*$\\\\n?)","name":"markup.heading.setext.2.markdown"}]},"html":{"patterns":[{"begin":"(^|\\\\G)\\\\s*(<!--)","captures":{"1":{"name":"punctuation.definition.comment.html"},"2":{"name":"punctuation.definition.comment.html"}},"end":"(-->)","name":"comment.block.html"},{"begin":"(?i)(^|\\\\G)\\\\s*(?=<(script|style|pre)(\\\\s|$|>)(?!.*?</(script|style|pre)>))","end":"(?i)(.*)((</)(script|style|pre)(>))","endCaptures":{"1":{"patterns":[{"include":"text.html.derivative"}]},"2":{"name":"meta.tag.structure.$4.end.html"},"3":{"name":"punctuation.definition.tag.begin.html"},"4":{"name":"entity.name.tag.html"},"5":{"name":"punctuation.definition.tag.end.html"}},"patterns":[{"begin":"(\\\\s*|$)","patterns":[{"include":"text.html.derivative"}],"while":"(?i)^(?!.*</(script|style|pre)>)"}]},{"begin":"(?i)(^|\\\\G)\\\\s*(?=</?[A-Za-z]+[^\\\\&/;gt\\\\s]*(\\\\s|$|/?>))","patterns":[{"include":"text.html.derivative"}],"while":"^(?!\\\\s*$)"},{"begin":"(^|\\\\G)\\\\s*(?=(<(?:[-0-9A-Za-z](/?>|\\\\s.*?>)|/[-0-9A-Za-z]>))\\\\s*$)","patterns":[{"include":"text.html.derivative"}],"while":"^(?!\\\\s*$)"}]},"image-inline":{"captures":{"1":{"name":"punctuation.definition.link.description.begin.markdown"},"2":{"name":"string.other.link.description.markdown"},"4":{"name":"punctuation.definition.link.description.end.markdown"},"5":{"name":"punctuation.definition.metadata.markdown"},"7":{"name":"punctuation.definition.link.markdown"},"8":{"name":"markup.underline.link.image.markdown"},"9":{"name":"punctuation.definition.link.markdown"},"10":{"name":"markup.underline.link.image.markdown"},"12":{"name":"string.other.link.description.title.markdown"},"13":{"name":"punctuation.definition.string.begin.markdown"},"14":{"name":"punctuation.definition.string.end.markdown"},"15":{"name":"string.other.link.description.title.markdown"},"16":{"name":"punctuation.definition.string.begin.markdown"},"17":{"name":"punctuation.definition.string.end.markdown"},"18":{"name":"string.other.link.description.title.markdown"},"19":{"name":"punctuation.definition.string.begin.markdown"},"20":{"name":"punctuation.definition.string.end.markdown"},"21":{"name":"punctuation.definition.metadata.markdown"}},"match":"(!\\\\[)((?<square>[^]\\\\[\\\\\\\\]|\\\\\\\\.|\\\\[\\\\g<square>*+])*+)(])(\\\\()[\\\\t ]*((<)((?:\\\\\\\\[<>]|[^\\\\n<>])*)(>)|((?<url>(?>[^()\\\\s]+)|\\\\(\\\\g<url>*\\\\))*))[\\\\t ]*(?:((\\\\().+?(\\\\)))|((\\").+?(\\"))|((\').+?(\')))?\\\\s*(\\\\))","name":"meta.image.inline.markdown"},"image-ref":{"captures":{"1":{"name":"punctuation.definition.link.description.begin.markdown"},"2":{"name":"string.other.link.description.markdown"},"4":{"name":"punctuation.definition.link.description.end.markdown"},"5":{"name":"punctuation.definition.constant.markdown"},"6":{"name":"constant.other.reference.link.markdown"},"7":{"name":"punctuation.definition.constant.markdown"}},"match":"(!\\\\[)((?<square>[^]\\\\[\\\\\\\\]|\\\\\\\\.|\\\\[\\\\g<square>*+])*+)(]) ?(\\\\[)(.*?)(])","name":"meta.image.reference.markdown"},"inline":{"patterns":[{"include":"#ampersand"},{"include":"#bracket"},{"include":"#bold"},{"include":"#italic"},{"include":"#raw"},{"include":"#strikethrough"},{"include":"#escape"},{"include":"#image-inline"},{"include":"#image-ref"},{"include":"#link-email"},{"include":"#link-inet"},{"include":"#link-inline"},{"include":"#link-ref"},{"include":"#link-ref-literal"},{"include":"#link-ref-shortcut"}]},"italic":{"begin":"(?<open>(\\\\*(?=\\\\w)|(?<!\\\\w)\\\\*|(?<!\\\\w)\\\\b_))(?=\\\\S)(?=(<[^>]*+>|(?<raw>`+)([^`]|(?!(?<!`)\\\\k<raw>(?!`))`)*+\\\\k<raw>|\\\\\\\\[-\\\\]!#(-+.>\\\\[\\\\\\\\_`{}]?+|\\\\[((?<square>[^]\\\\[\\\\\\\\]|\\\\\\\\.|\\\\[\\\\g<square>*+])*+](( ?\\\\[[^]]*+])|(\\\\([\\\\t ]*+<?(.*?)>?[\\\\t ]*+((?<title>[\\"\'])(.*?)\\\\k<title>)?\\\\))))|\\\\k<open>\\\\k<open>|(?!(?<=\\\\S)\\\\k<open>).)++(?<=\\\\S)(?=_\\\\b|\\\\*)\\\\k<open>)","captures":{"1":{"name":"punctuation.definition.italic.markdown"}},"end":"(?<=\\\\S)(\\\\1)((?!\\\\1)|(?=\\\\1\\\\1))","name":"markup.italic.markdown","patterns":[{"applyEndPatternLast":1,"begin":"(?=<[^>]*?>)","end":"(?<=>)","patterns":[{"include":"text.html.derivative"}]},{"include":"#escape"},{"include":"#ampersand"},{"include":"#bracket"},{"include":"#raw"},{"include":"#bold"},{"include":"#image-inline"},{"include":"#link-inline"},{"include":"#link-inet"},{"include":"#link-email"},{"include":"#image-ref"},{"include":"#link-ref-literal"},{"include":"#link-ref"},{"include":"#link-ref-shortcut"},{"include":"#strikethrough"}]},"link-def":{"captures":{"1":{"name":"punctuation.definition.constant.markdown"},"2":{"name":"constant.other.reference.link.markdown"},"3":{"name":"punctuation.definition.constant.markdown"},"4":{"name":"punctuation.separator.key-value.markdown"},"5":{"name":"punctuation.definition.link.markdown"},"6":{"name":"markup.underline.link.markdown"},"7":{"name":"punctuation.definition.link.markdown"},"8":{"name":"markup.underline.link.markdown"},"9":{"name":"string.other.link.description.title.markdown"},"10":{"name":"punctuation.definition.string.begin.markdown"},"11":{"name":"punctuation.definition.string.end.markdown"},"12":{"name":"string.other.link.description.title.markdown"},"13":{"name":"punctuation.definition.string.begin.markdown"},"14":{"name":"punctuation.definition.string.end.markdown"},"15":{"name":"string.other.link.description.title.markdown"},"16":{"name":"punctuation.definition.string.begin.markdown"},"17":{"name":"punctuation.definition.string.end.markdown"}},"match":"\\\\s*(\\\\[)([^]]+?)(])(:)[\\\\t ]*(?:(<)((?:\\\\\\\\[<>]|[^\\\\n<>])*)(>)|(\\\\S+?))[\\\\t ]*(?:((\\\\().+?(\\\\)))|((\\").+?(\\"))|((\').+?(\')))?\\\\s*$","name":"meta.link.reference.def.markdown"},"link-email":{"captures":{"1":{"name":"punctuation.definition.link.markdown"},"2":{"name":"markup.underline.link.markdown"},"4":{"name":"punctuation.definition.link.markdown"}},"match":"(<)((?:mailto:)?[!#-\'*+\\\\--9=?A-Z^-~]+@[-0-9A-Za-z]+(?:\\\\.[-0-9A-Za-z]+)*)(>)","name":"meta.link.email.lt-gt.markdown"},"link-inet":{"captures":{"1":{"name":"punctuation.definition.link.markdown"},"2":{"name":"markup.underline.link.markdown"},"3":{"name":"punctuation.definition.link.markdown"}},"match":"(<)((?:https?|ftp)://.*?)(>)","name":"meta.link.inet.markdown"},"link-inline":{"captures":{"1":{"name":"punctuation.definition.link.title.begin.markdown"},"2":{"name":"string.other.link.title.markdown","patterns":[{"include":"#raw"},{"include":"#bold"},{"include":"#italic"},{"include":"#strikethrough"},{"include":"#image-inline"}]},"4":{"name":"punctuation.definition.link.title.end.markdown"},"5":{"name":"punctuation.definition.metadata.markdown"},"7":{"name":"punctuation.definition.link.markdown"},"8":{"name":"markup.underline.link.markdown"},"9":{"name":"punctuation.definition.link.markdown"},"10":{"name":"markup.underline.link.markdown"},"12":{"name":"string.other.link.description.title.markdown"},"13":{"name":"punctuation.definition.string.begin.markdown"},"14":{"name":"punctuation.definition.string.end.markdown"},"15":{"name":"string.other.link.description.title.markdown"},"16":{"name":"punctuation.definition.string.begin.markdown"},"17":{"name":"punctuation.definition.string.end.markdown"},"18":{"name":"string.other.link.description.title.markdown"},"19":{"name":"punctuation.definition.string.begin.markdown"},"20":{"name":"punctuation.definition.string.end.markdown"},"21":{"name":"punctuation.definition.metadata.markdown"}},"match":"(\\\\[)((?<square>[^]\\\\[\\\\\\\\]|\\\\\\\\.|\\\\[\\\\g<square>*+])*+)(])(\\\\()[\\\\t ]*((<)((?:\\\\\\\\[<>]|[^\\\\n<>])*)(>)|((?<url>(?>[^()\\\\s]+)|\\\\(\\\\g<url>*\\\\))*))[\\\\t ]*(?:((\\\\()[^()]*(\\\\)))|((\\")[^\\"]*(\\"))|((\')[^\']*(\')))?\\\\s*(\\\\))","name":"meta.link.inline.markdown"},"link-ref":{"captures":{"1":{"name":"punctuation.definition.link.title.begin.markdown"},"2":{"name":"string.other.link.title.markdown","patterns":[{"include":"#raw"},{"include":"#bold"},{"include":"#italic"},{"include":"#strikethrough"},{"include":"#image-inline"}]},"4":{"name":"punctuation.definition.link.title.end.markdown"},"5":{"name":"punctuation.definition.constant.begin.markdown"},"6":{"name":"constant.other.reference.link.markdown"},"7":{"name":"punctuation.definition.constant.end.markdown"}},"match":"(?<![]\\\\\\\\])(\\\\[)((?<square>[^]\\\\[\\\\\\\\]|\\\\\\\\.|\\\\[\\\\g<square>*+])*+)(])(\\\\[)([^]]*+)(])","name":"meta.link.reference.markdown"},"link-ref-literal":{"captures":{"1":{"name":"punctuation.definition.link.title.begin.markdown"},"2":{"name":"string.other.link.title.markdown"},"4":{"name":"punctuation.definition.link.title.end.markdown"},"5":{"name":"punctuation.definition.constant.begin.markdown"},"6":{"name":"punctuation.definition.constant.end.markdown"}},"match":"(?<![]\\\\\\\\])(\\\\[)((?<square>[^]\\\\[\\\\\\\\]|\\\\\\\\.|\\\\[\\\\g<square>*+])*+)(]) ?(\\\\[)(])","name":"meta.link.reference.literal.markdown"},"link-ref-shortcut":{"captures":{"1":{"name":"punctuation.definition.link.title.begin.markdown"},"2":{"name":"string.other.link.title.markdown"},"3":{"name":"punctuation.definition.link.title.end.markdown"}},"match":"(?<![]\\\\\\\\])(\\\\[)((?:[^]\\\\[\\\\\\\\\\\\s]|\\\\\\\\[]\\\\[])+?)((?<!\\\\\\\\)])","name":"meta.link.reference.markdown"},"list_paragraph":{"begin":"(^|\\\\G)(?=\\\\S)(?![*->]\\\\s|[0-9]+\\\\.\\\\s)","name":"meta.paragraph.markdown","patterns":[{"include":"#inline"},{"include":"text.html.derivative"},{"include":"#heading-setext"}],"while":"(^|\\\\G)(?!\\\\s*$|#| {0,3}([-*>_] {2,}){3,}[\\\\t ]*$\\\\n?| {0,3}[*->]| {0,3}[0-9]+\\\\.)"},"lists":{"patterns":[{"begin":"(^|\\\\G)( {0,3})([-*+])([\\\\t ])","beginCaptures":{"3":{"name":"punctuation.definition.list.begin.markdown"}},"name":"markup.list.unnumbered.markdown","patterns":[{"include":"#block"},{"include":"#list_paragraph"}],"while":"((^|\\\\G)( {2,4}|\\\\t))|^([\\\\t ]*)$"},{"begin":"(^|\\\\G)( {0,3})([0-9]+[).])([\\\\t ])","beginCaptures":{"3":{"name":"punctuation.definition.list.begin.markdown"}},"name":"markup.list.numbered.markdown","patterns":[{"include":"#block"},{"include":"#list_paragraph"}],"while":"((^|\\\\G)( {2,4}|\\\\t))|^([\\\\t ]*)$"}]},"paragraph":{"begin":"(^|\\\\G) {0,3}(?=[^\\\\t\\\\n ])","name":"meta.paragraph.markdown","patterns":[{"include":"#inline"},{"include":"text.html.derivative"},{"include":"#heading-setext"}],"while":"(^|\\\\G)((?=\\\\s*[-=]{3,}\\\\s*$)| {4,}(?=[^\\\\t\\\\n ]))"},"raw":{"captures":{"1":{"name":"punctuation.definition.raw.markdown"},"3":{"name":"punctuation.definition.raw.markdown"}},"match":"(`+)((?:[^`]|(?!(?<!`)\\\\1(?!`))`)*+)(\\\\1)","name":"markup.inline.raw.string.markdown"},"raw_block":{"begin":"(^|\\\\G)( {4}|\\\\t)","name":"markup.raw.block.markdown","while":"(^|\\\\G)( {4}|\\\\t)"},"separator":{"match":"(^|\\\\G) {0,3}([-*_])( {0,2}\\\\2){2,}[\\\\t ]*$\\\\n?","name":"meta.separator.markdown"},"strikethrough":{"captures":{"1":{"name":"punctuation.definition.strikethrough.markdown"},"2":{"patterns":[{"applyEndPatternLast":1,"begin":"(?=<[^>]*?>)","end":"(?<=>)","patterns":[{"include":"text.html.derivative"}]},{"include":"#escape"},{"include":"#ampersand"},{"include":"#bracket"},{"include":"#raw"},{"include":"#bold"},{"include":"#italic"},{"include":"#image-inline"},{"include":"#link-inline"},{"include":"#link-inet"},{"include":"#link-email"},{"include":"#image-ref"},{"include":"#link-ref-literal"},{"include":"#link-ref"},{"include":"#link-ref-shortcut"}]},"3":{"name":"punctuation.definition.strikethrough.markdown"}},"match":"(?<!\\\\\\\\)(~{2,})(?!(?<=\\\\w~~)_)((?:[^~]|(?!(?<![\\\\\\\\~])\\\\1(?!~))~)*+)(\\\\1)(?!(?<=_\\\\1)\\\\w)","name":"markup.strikethrough.markdown"},"table":{"begin":"(^|\\\\G)(\\\\|)(?=[^|].+\\\\|\\\\s*$)","beginCaptures":{"2":{"name":"punctuation.definition.table.markdown"}},"name":"markup.table.markdown","patterns":[{"match":"\\\\|","name":"punctuation.definition.table.markdown"},{"captures":{"1":{"name":"punctuation.separator.table.markdown"}},"match":"(?<=\\\\|)\\\\s*(:?-+:?)\\\\s*(?=\\\\|)"},{"captures":{"1":{"patterns":[{"include":"#inline"}]}},"match":"(?<=\\\\|)\\\\s*(?=\\\\S)((\\\\\\\\\\\\||[^|])+)(?<=\\\\S)\\\\s*(?=\\\\|)"}],"while":"(^|\\\\G)(?=\\\\|)"}},"scopeName":"text.html.markdown","embeddedLangs":[],"aliases":["md"],"embeddedLangsLazy":["css","html","ini","java","lua","make","perl","r","ruby","php","sql","vb","xml","xsl","yaml","bat","clojure","coffee","c","cpp","diff","docker","git-commit","git-rebase","go","groovy","pug","javascript","json","jsonc","jsonl","less","objective-c","swift","scss","raku","powershell","python","julia","regexp","rust","scala","shellscript","typescript","tsx","csharp","fsharp","dart","handlebars","log","erlang","elixir","latex","bibtex","abap","rst","html-derivative"]}')),Hyo=[MIs]});var dyr,Uyo=be(()=>{x();dyr=Object.freeze(JSON.parse('{"colors":{"activityBar.activeBorder":"#4d9375","activityBar.background":"#121212","activityBar.border":"#191919","activityBar.foreground":"#dbd7caee","activityBar.inactiveForeground":"#dedcd550","activityBarBadge.background":"#bfbaaa","activityBarBadge.foreground":"#121212","badge.background":"#dedcd590","badge.foreground":"#121212","breadcrumb.activeSelectionForeground":"#eeeeee18","breadcrumb.background":"#181818","breadcrumb.focusForeground":"#dbd7caee","breadcrumb.foreground":"#959da5","breadcrumbPicker.background":"#121212","button.background":"#4d9375","button.foreground":"#121212","button.hoverBackground":"#4d9375","checkbox.background":"#181818","checkbox.border":"#2f363d","debugToolBar.background":"#121212","descriptionForeground":"#dedcd590","diffEditor.insertedTextBackground":"#4d937550","diffEditor.removedTextBackground":"#ab595950","dropdown.background":"#121212","dropdown.border":"#191919","dropdown.foreground":"#dbd7caee","dropdown.listBackground":"#181818","editor.background":"#121212","editor.findMatchBackground":"#e6cc7722","editor.findMatchHighlightBackground":"#e6cc7744","editor.focusedStackFrameHighlightBackground":"#b808","editor.foldBackground":"#eeeeee10","editor.foreground":"#dbd7caee","editor.inactiveSelectionBackground":"#eeeeee10","editor.lineHighlightBackground":"#181818","editor.selectionBackground":"#eeeeee18","editor.selectionHighlightBackground":"#eeeeee10","editor.stackFrameHighlightBackground":"#a707","editor.wordHighlightBackground":"#1c6b4805","editor.wordHighlightStrongBackground":"#1c6b4810","editorBracketHighlight.foreground1":"#5eaab5","editorBracketHighlight.foreground2":"#4d9375","editorBracketHighlight.foreground3":"#d4976c","editorBracketHighlight.foreground4":"#d9739f","editorBracketHighlight.foreground5":"#e6cc77","editorBracketHighlight.foreground6":"#6394bf","editorBracketMatch.background":"#4d937520","editorError.foreground":"#cb7676","editorGroup.border":"#191919","editorGroupHeader.tabsBackground":"#121212","editorGroupHeader.tabsBorder":"#191919","editorGutter.addedBackground":"#4d9375","editorGutter.commentRangeForeground":"#dedcd550","editorGutter.deletedBackground":"#cb7676","editorGutter.foldingControlForeground":"#dedcd590","editorGutter.modifiedBackground":"#6394bf","editorHint.foreground":"#4d9375","editorIndentGuide.activeBackground":"#ffffff30","editorIndentGuide.background":"#ffffff15","editorInfo.foreground":"#6394bf","editorInlayHint.background":"#181818","editorInlayHint.foreground":"#666666","editorLineNumber.activeForeground":"#bfbaaa","editorLineNumber.foreground":"#dedcd550","editorOverviewRuler.border":"#111","editorStickyScroll.background":"#181818","editorStickyScrollHover.background":"#181818","editorWarning.foreground":"#d4976c","editorWhitespace.foreground":"#ffffff15","editorWidget.background":"#121212","errorForeground":"#cb7676","focusBorder":"#00000000","foreground":"#dbd7caee","gitDecoration.addedResourceForeground":"#4d9375","gitDecoration.conflictingResourceForeground":"#d4976c","gitDecoration.deletedResourceForeground":"#cb7676","gitDecoration.ignoredResourceForeground":"#dedcd550","gitDecoration.modifiedResourceForeground":"#6394bf","gitDecoration.submoduleResourceForeground":"#dedcd590","gitDecoration.untrackedResourceForeground":"#5eaab5","input.background":"#181818","input.border":"#191919","input.foreground":"#dbd7caee","input.placeholderForeground":"#dedcd590","inputOption.activeBackground":"#dedcd550","list.activeSelectionBackground":"#181818","list.activeSelectionForeground":"#dbd7caee","list.focusBackground":"#181818","list.highlightForeground":"#4d9375","list.hoverBackground":"#181818","list.hoverForeground":"#dbd7caee","list.inactiveFocusBackground":"#121212","list.inactiveSelectionBackground":"#181818","list.inactiveSelectionForeground":"#dbd7caee","menu.separatorBackground":"#191919","notificationCenterHeader.background":"#121212","notificationCenterHeader.foreground":"#959da5","notifications.background":"#121212","notifications.border":"#191919","notifications.foreground":"#dbd7caee","notificationsErrorIcon.foreground":"#cb7676","notificationsInfoIcon.foreground":"#6394bf","notificationsWarningIcon.foreground":"#d4976c","panel.background":"#121212","panel.border":"#191919","panelInput.border":"#2f363d","panelTitle.activeBorder":"#4d9375","panelTitle.activeForeground":"#dbd7caee","panelTitle.inactiveForeground":"#959da5","peekViewEditor.background":"#121212","peekViewEditor.matchHighlightBackground":"#ffd33d33","peekViewResult.background":"#121212","peekViewResult.matchHighlightBackground":"#ffd33d33","pickerGroup.border":"#191919","pickerGroup.foreground":"#dbd7caee","problemsErrorIcon.foreground":"#cb7676","problemsInfoIcon.foreground":"#6394bf","problemsWarningIcon.foreground":"#d4976c","progressBar.background":"#4d9375","quickInput.background":"#121212","quickInput.foreground":"#dbd7caee","quickInputList.focusBackground":"#181818","scrollbar.shadow":"#0000","scrollbarSlider.activeBackground":"#dedcd550","scrollbarSlider.background":"#dedcd510","scrollbarSlider.hoverBackground":"#dedcd550","settings.headerForeground":"#dbd7caee","settings.modifiedItemIndicator":"#4d9375","sideBar.background":"#121212","sideBar.border":"#191919","sideBar.foreground":"#bfbaaa","sideBarSectionHeader.background":"#121212","sideBarSectionHeader.border":"#191919","sideBarSectionHeader.foreground":"#dbd7caee","sideBarTitle.foreground":"#dbd7caee","statusBar.background":"#121212","statusBar.border":"#191919","statusBar.debuggingBackground":"#181818","statusBar.debuggingForeground":"#bfbaaa","statusBar.foreground":"#bfbaaa","statusBar.noFolderBackground":"#121212","statusBarItem.prominentBackground":"#181818","tab.activeBackground":"#121212","tab.activeBorder":"#191919","tab.activeBorderTop":"#dedcd590","tab.activeForeground":"#dbd7caee","tab.border":"#191919","tab.hoverBackground":"#181818","tab.inactiveBackground":"#121212","tab.inactiveForeground":"#959da5","tab.unfocusedActiveBorder":"#191919","tab.unfocusedActiveBorderTop":"#191919","tab.unfocusedHoverBackground":"#121212","terminal.ansiBlack":"#393a34","terminal.ansiBlue":"#6394bf","terminal.ansiBrightBlack":"#777777","terminal.ansiBrightBlue":"#6394bf","terminal.ansiBrightCyan":"#5eaab5","terminal.ansiBrightGreen":"#4d9375","terminal.ansiBrightMagenta":"#d9739f","terminal.ansiBrightRed":"#cb7676","terminal.ansiBrightWhite":"#ffffff","terminal.ansiBrightYellow":"#e6cc77","terminal.ansiCyan":"#5eaab5","terminal.ansiGreen":"#4d9375","terminal.ansiMagenta":"#d9739f","terminal.ansiRed":"#cb7676","terminal.ansiWhite":"#dbd7ca","terminal.ansiYellow":"#e6cc77","terminal.foreground":"#dbd7caee","terminal.selectionBackground":"#eeeeee18","textBlockQuote.background":"#121212","textBlockQuote.border":"#191919","textCodeBlock.background":"#121212","textLink.activeForeground":"#4d9375","textLink.foreground":"#4d9375","textPreformat.foreground":"#d1d5da","textSeparator.foreground":"#586069","titleBar.activeBackground":"#121212","titleBar.activeForeground":"#bfbaaa","titleBar.border":"#181818","titleBar.inactiveBackground":"#121212","titleBar.inactiveForeground":"#959da5","tree.indentGuidesStroke":"#2f363d","welcomePage.buttonBackground":"#2f363d","welcomePage.buttonHoverBackground":"#444d56"},"displayName":"Vitesse Dark","name":"vitesse-dark","semanticHighlighting":true,"semanticTokenColors":{"class":"#6872ab","interface":"#5d99a9","namespace":"#db889a","property":"#b8a965","type":"#5d99a9"},"tokenColors":[{"scope":["comment","punctuation.definition.comment","string.comment"],"settings":{"foreground":"#758575dd"}},{"scope":["delimiter.bracket","delimiter","invalid.illegal.character-not-allowed-here.html","keyword.operator.rest","keyword.operator.spread","keyword.operator.type.annotation","keyword.operator.relational","keyword.operator.assignment","keyword.operator.type","meta.brace","meta.tag.block.any.html","meta.tag.inline.any.html","meta.tag.structure.input.void.html","meta.type.annotation","meta.embedded.block.github-actions-expression","storage.type.function.arrow","meta.objectliteral.ts","punctuation","punctuation.definition.string.begin.html.vue","punctuation.definition.string.end.html.vue"],"settings":{"foreground":"#666666"}},{"scope":["constant","entity.name.constant","variable.language","meta.definition.variable"],"settings":{"foreground":"#c99076"}},{"scope":["entity","entity.name"],"settings":{"foreground":"#80a665"}},{"scope":"variable.parameter.function","settings":{"foreground":"#dbd7caee"}},{"scope":["entity.name.tag","tag.html"],"settings":{"foreground":"#4d9375"}},{"scope":"entity.name.function","settings":{"foreground":"#80a665"}},{"scope":["keyword","storage.type.class.jsdoc","punctuation.definition.template-expression"],"settings":{"foreground":"#4d9375"}},{"scope":["storage","storage.type","support.type.builtin","constant.language.undefined","constant.language.null","constant.language.import-export-all.ts"],"settings":{"foreground":"#cb7676"}},{"scope":["text.html.derivative","storage.modifier.package","storage.modifier.import","storage.type.java"],"settings":{"foreground":"#dbd7caee"}},{"scope":["string","string punctuation.section.embedded source","attribute.value"],"settings":{"foreground":"#c98a7d"}},{"scope":["punctuation.definition.string"],"settings":{"foreground":"#c98a7d77"}},{"scope":["punctuation.support.type.property-name"],"settings":{"foreground":"#b8a96577"}},{"scope":"support","settings":{"foreground":"#b8a965"}},{"scope":["property","meta.property-name","meta.object-literal.key","entity.name.tag.yaml","attribute.name"],"settings":{"foreground":"#b8a965"}},{"scope":["entity.other.attribute-name","invalid.deprecated.entity.other.attribute-name.html"],"settings":{"foreground":"#bd976a"}},{"scope":["variable","identifier"],"settings":{"foreground":"#bd976a"}},{"scope":["support.type.primitive","entity.name.type"],"settings":{"foreground":"#5DA994"}},{"scope":"namespace","settings":{"foreground":"#db889a"}},{"scope":["keyword.operator","keyword.operator.assignment.compound","meta.var.expr.ts"],"settings":{"foreground":"#cb7676"}},{"scope":"invalid.broken","settings":{"fontStyle":"italic","foreground":"#fdaeb7"}},{"scope":"invalid.deprecated","settings":{"fontStyle":"italic","foreground":"#fdaeb7"}},{"scope":"invalid.illegal","settings":{"fontStyle":"italic","foreground":"#fdaeb7"}},{"scope":"invalid.unimplemented","settings":{"fontStyle":"italic","foreground":"#fdaeb7"}},{"scope":"carriage-return","settings":{"background":"#f97583","content":"^M","fontStyle":"italic underline","foreground":"#24292e"}},{"scope":"message.error","settings":{"foreground":"#fdaeb7"}},{"scope":"string variable","settings":{"foreground":"#c98a7d"}},{"scope":["source.regexp","string.regexp"],"settings":{"foreground":"#c4704f"}},{"scope":["string.regexp.character-class","string.regexp constant.character.escape","string.regexp source.ruby.embedded","string.regexp string.regexp.arbitrary-repitition"],"settings":{"foreground":"#c98a7d"}},{"scope":"string.regexp constant.character.escape","settings":{"foreground":"#e6cc77"}},{"scope":["support.constant"],"settings":{"foreground":"#c99076"}},{"scope":["keyword.operator.quantifier.regexp","constant.numeric","number"],"settings":{"foreground":"#4C9A91"}},{"scope":["keyword.other.unit"],"settings":{"foreground":"#cb7676"}},{"scope":["constant.language.boolean","constant.language"],"settings":{"foreground":"#4d9375"}},{"scope":"meta.module-reference","settings":{"foreground":"#4d9375"}},{"scope":"punctuation.definition.list.begin.markdown","settings":{"foreground":"#d4976c"}},{"scope":["markup.heading","markup.heading entity.name"],"settings":{"fontStyle":"bold","foreground":"#4d9375"}},{"scope":"markup.quote","settings":{"foreground":"#5d99a9"}},{"scope":"markup.italic","settings":{"fontStyle":"italic","foreground":"#dbd7caee"}},{"scope":"markup.bold","settings":{"fontStyle":"bold","foreground":"#dbd7caee"}},{"scope":"markup.raw","settings":{"foreground":"#4d9375"}},{"scope":["markup.deleted","meta.diff.header.from-file","punctuation.definition.deleted"],"settings":{"background":"#86181d","foreground":"#fdaeb7"}},{"scope":["markup.inserted","meta.diff.header.to-file","punctuation.definition.inserted"],"settings":{"background":"#144620","foreground":"#85e89d"}},{"scope":["markup.changed","punctuation.definition.changed"],"settings":{"background":"#c24e00","foreground":"#ffab70"}},{"scope":["markup.ignored","markup.untracked"],"settings":{"background":"#79b8ff","foreground":"#2f363d"}},{"scope":"meta.diff.range","settings":{"fontStyle":"bold","foreground":"#b392f0"}},{"scope":"meta.diff.header","settings":{"foreground":"#79b8ff"}},{"scope":"meta.separator","settings":{"fontStyle":"bold","foreground":"#79b8ff"}},{"scope":"meta.output","settings":{"foreground":"#79b8ff"}},{"scope":["brackethighlighter.tag","brackethighlighter.curly","brackethighlighter.round","brackethighlighter.square","brackethighlighter.angle","brackethighlighter.quote"],"settings":{"foreground":"#d1d5da"}},{"scope":"brackethighlighter.unmatched","settings":{"foreground":"#fdaeb7"}},{"scope":["constant.other.reference.link","string.other.link","punctuation.definition.string.begin.markdown","punctuation.definition.string.end.markdown"],"settings":{"foreground":"#c98a7d"}},{"scope":["markup.underline.link.markdown","markup.underline.link.image.markdown"],"settings":{"fontStyle":"underline","foreground":"#dedcd590"}},{"scope":["type.identifier","constant.other.character-class.regexp"],"settings":{"foreground":"#6872ab"}},{"scope":["entity.other.attribute-name.html.vue"],"settings":{"foreground":"#80a665"}},{"scope":["invalid.illegal.unrecognized-tag.html"],"settings":{"fontStyle":"normal"}}],"type":"dark"}'))});var pyr,Vyo=be(()=>{x();pyr=Object.freeze(JSON.parse('{"colors":{"activityBar.activeBorder":"#1c6b48","activityBar.background":"#ffffff","activityBar.border":"#f0f0f0","activityBar.foreground":"#393a34","activityBar.inactiveForeground":"#393a3450","activityBarBadge.background":"#4e4f47","activityBarBadge.foreground":"#ffffff","badge.background":"#393a3490","badge.foreground":"#ffffff","breadcrumb.activeSelectionForeground":"#22222218","breadcrumb.background":"#f7f7f7","breadcrumb.focusForeground":"#393a34","breadcrumb.foreground":"#6a737d","breadcrumbPicker.background":"#ffffff","button.background":"#1c6b48","button.foreground":"#ffffff","button.hoverBackground":"#1c6b48","checkbox.background":"#f7f7f7","checkbox.border":"#d1d5da","debugToolBar.background":"#ffffff","descriptionForeground":"#393a3490","diffEditor.insertedTextBackground":"#1c6b4830","diffEditor.removedTextBackground":"#ab595940","dropdown.background":"#ffffff","dropdown.border":"#f0f0f0","dropdown.foreground":"#393a34","dropdown.listBackground":"#f7f7f7","editor.background":"#ffffff","editor.findMatchBackground":"#e6cc7744","editor.findMatchHighlightBackground":"#e6cc7766","editor.focusedStackFrameHighlightBackground":"#fff5b1","editor.foldBackground":"#22222210","editor.foreground":"#393a34","editor.inactiveSelectionBackground":"#22222210","editor.lineHighlightBackground":"#f7f7f7","editor.selectionBackground":"#22222218","editor.selectionHighlightBackground":"#22222210","editor.stackFrameHighlightBackground":"#fffbdd","editor.wordHighlightBackground":"#1c6b4805","editor.wordHighlightStrongBackground":"#1c6b4810","editorBracketHighlight.foreground1":"#2993a3","editorBracketHighlight.foreground2":"#1e754f","editorBracketHighlight.foreground3":"#a65e2b","editorBracketHighlight.foreground4":"#a13865","editorBracketHighlight.foreground5":"#bda437","editorBracketHighlight.foreground6":"#296aa3","editorBracketMatch.background":"#1c6b4820","editorError.foreground":"#ab5959","editorGroup.border":"#f0f0f0","editorGroupHeader.tabsBackground":"#ffffff","editorGroupHeader.tabsBorder":"#f0f0f0","editorGutter.addedBackground":"#1e754f","editorGutter.commentRangeForeground":"#393a3450","editorGutter.deletedBackground":"#ab5959","editorGutter.foldingControlForeground":"#393a3490","editorGutter.modifiedBackground":"#296aa3","editorHint.foreground":"#1e754f","editorIndentGuide.activeBackground":"#00000030","editorIndentGuide.background":"#00000015","editorInfo.foreground":"#296aa3","editorInlayHint.background":"#f7f7f7","editorInlayHint.foreground":"#999999","editorLineNumber.activeForeground":"#4e4f47","editorLineNumber.foreground":"#393a3450","editorOverviewRuler.border":"#fff","editorStickyScroll.background":"#f7f7f7","editorStickyScrollHover.background":"#f7f7f7","editorWarning.foreground":"#a65e2b","editorWhitespace.foreground":"#00000015","editorWidget.background":"#ffffff","errorForeground":"#ab5959","focusBorder":"#00000000","foreground":"#393a34","gitDecoration.addedResourceForeground":"#1e754f","gitDecoration.conflictingResourceForeground":"#a65e2b","gitDecoration.deletedResourceForeground":"#ab5959","gitDecoration.ignoredResourceForeground":"#393a3450","gitDecoration.modifiedResourceForeground":"#296aa3","gitDecoration.submoduleResourceForeground":"#393a3490","gitDecoration.untrackedResourceForeground":"#2993a3","input.background":"#f7f7f7","input.border":"#f0f0f0","input.foreground":"#393a34","input.placeholderForeground":"#393a3490","inputOption.activeBackground":"#393a3450","list.activeSelectionBackground":"#f7f7f7","list.activeSelectionForeground":"#393a34","list.focusBackground":"#f7f7f7","list.highlightForeground":"#1c6b48","list.hoverBackground":"#f7f7f7","list.hoverForeground":"#393a34","list.inactiveFocusBackground":"#ffffff","list.inactiveSelectionBackground":"#f7f7f7","list.inactiveSelectionForeground":"#393a34","menu.separatorBackground":"#f0f0f0","notificationCenterHeader.background":"#ffffff","notificationCenterHeader.foreground":"#6a737d","notifications.background":"#ffffff","notifications.border":"#f0f0f0","notifications.foreground":"#393a34","notificationsErrorIcon.foreground":"#ab5959","notificationsInfoIcon.foreground":"#296aa3","notificationsWarningIcon.foreground":"#a65e2b","panel.background":"#ffffff","panel.border":"#f0f0f0","panelInput.border":"#e1e4e8","panelTitle.activeBorder":"#1c6b48","panelTitle.activeForeground":"#393a34","panelTitle.inactiveForeground":"#6a737d","peekViewEditor.background":"#ffffff","peekViewResult.background":"#ffffff","pickerGroup.border":"#f0f0f0","pickerGroup.foreground":"#393a34","problemsErrorIcon.foreground":"#ab5959","problemsInfoIcon.foreground":"#296aa3","problemsWarningIcon.foreground":"#a65e2b","progressBar.background":"#1c6b48","quickInput.background":"#ffffff","quickInput.foreground":"#393a34","quickInputList.focusBackground":"#f7f7f7","scrollbar.shadow":"#6a737d33","scrollbarSlider.activeBackground":"#393a3450","scrollbarSlider.background":"#393a3410","scrollbarSlider.hoverBackground":"#393a3450","settings.headerForeground":"#393a34","settings.modifiedItemIndicator":"#1c6b48","sideBar.background":"#ffffff","sideBar.border":"#f0f0f0","sideBar.foreground":"#4e4f47","sideBarSectionHeader.background":"#ffffff","sideBarSectionHeader.border":"#f0f0f0","sideBarSectionHeader.foreground":"#393a34","sideBarTitle.foreground":"#393a34","statusBar.background":"#ffffff","statusBar.border":"#f0f0f0","statusBar.debuggingBackground":"#f7f7f7","statusBar.debuggingForeground":"#4e4f47","statusBar.foreground":"#4e4f47","statusBar.noFolderBackground":"#ffffff","statusBarItem.prominentBackground":"#f7f7f7","tab.activeBackground":"#ffffff","tab.activeBorder":"#f0f0f0","tab.activeBorderTop":"#393a3490","tab.activeForeground":"#393a34","tab.border":"#f0f0f0","tab.hoverBackground":"#f7f7f7","tab.inactiveBackground":"#ffffff","tab.inactiveForeground":"#6a737d","tab.unfocusedActiveBorder":"#f0f0f0","tab.unfocusedActiveBorderTop":"#f0f0f0","tab.unfocusedHoverBackground":"#ffffff","terminal.ansiBlack":"#121212","terminal.ansiBlue":"#296aa3","terminal.ansiBrightBlack":"#aaaaaa","terminal.ansiBrightBlue":"#296aa3","terminal.ansiBrightCyan":"#2993a3","terminal.ansiBrightGreen":"#1e754f","terminal.ansiBrightMagenta":"#a13865","terminal.ansiBrightRed":"#ab5959","terminal.ansiBrightWhite":"#dddddd","terminal.ansiBrightYellow":"#bda437","terminal.ansiCyan":"#2993a3","terminal.ansiGreen":"#1e754f","terminal.ansiMagenta":"#a13865","terminal.ansiRed":"#ab5959","terminal.ansiWhite":"#dbd7ca","terminal.ansiYellow":"#bda437","terminal.foreground":"#393a34","terminal.selectionBackground":"#22222218","textBlockQuote.background":"#ffffff","textBlockQuote.border":"#f0f0f0","textCodeBlock.background":"#ffffff","textLink.activeForeground":"#1c6b48","textLink.foreground":"#1c6b48","textPreformat.foreground":"#586069","textSeparator.foreground":"#d1d5da","titleBar.activeBackground":"#ffffff","titleBar.activeForeground":"#4e4f47","titleBar.border":"#f7f7f7","titleBar.inactiveBackground":"#ffffff","titleBar.inactiveForeground":"#6a737d","tree.indentGuidesStroke":"#e1e4e8","welcomePage.buttonBackground":"#f6f8fa","welcomePage.buttonHoverBackground":"#e1e4e8"},"displayName":"Vitesse Light","name":"vitesse-light","semanticHighlighting":true,"semanticTokenColors":{"class":"#5a6aa6","interface":"#2e808f","namespace":"#b05a78","property":"#998418","type":"#2e808f"},"tokenColors":[{"scope":["comment","punctuation.definition.comment","string.comment"],"settings":{"foreground":"#a0ada0"}},{"scope":["delimiter.bracket","delimiter","invalid.illegal.character-not-allowed-here.html","keyword.operator.rest","keyword.operator.spread","keyword.operator.type.annotation","keyword.operator.relational","keyword.operator.assignment","keyword.operator.type","meta.brace","meta.tag.block.any.html","meta.tag.inline.any.html","meta.tag.structure.input.void.html","meta.type.annotation","meta.embedded.block.github-actions-expression","storage.type.function.arrow","meta.objectliteral.ts","punctuation","punctuation.definition.string.begin.html.vue","punctuation.definition.string.end.html.vue"],"settings":{"foreground":"#999999"}},{"scope":["constant","entity.name.constant","variable.language","meta.definition.variable"],"settings":{"foreground":"#a65e2b"}},{"scope":["entity","entity.name"],"settings":{"foreground":"#59873a"}},{"scope":"variable.parameter.function","settings":{"foreground":"#393a34"}},{"scope":["entity.name.tag","tag.html"],"settings":{"foreground":"#1e754f"}},{"scope":"entity.name.function","settings":{"foreground":"#59873a"}},{"scope":["keyword","storage.type.class.jsdoc","punctuation.definition.template-expression"],"settings":{"foreground":"#1e754f"}},{"scope":["storage","storage.type","support.type.builtin","constant.language.undefined","constant.language.null","constant.language.import-export-all.ts"],"settings":{"foreground":"#ab5959"}},{"scope":["text.html.derivative","storage.modifier.package","storage.modifier.import","storage.type.java"],"settings":{"foreground":"#393a34"}},{"scope":["string","string punctuation.section.embedded source","attribute.value"],"settings":{"foreground":"#b56959"}},{"scope":["punctuation.definition.string"],"settings":{"foreground":"#b5695977"}},{"scope":["punctuation.support.type.property-name"],"settings":{"foreground":"#99841877"}},{"scope":"support","settings":{"foreground":"#998418"}},{"scope":["property","meta.property-name","meta.object-literal.key","entity.name.tag.yaml","attribute.name"],"settings":{"foreground":"#998418"}},{"scope":["entity.other.attribute-name","invalid.deprecated.entity.other.attribute-name.html"],"settings":{"foreground":"#b07d48"}},{"scope":["variable","identifier"],"settings":{"foreground":"#b07d48"}},{"scope":["support.type.primitive","entity.name.type"],"settings":{"foreground":"#2e8f82"}},{"scope":"namespace","settings":{"foreground":"#b05a78"}},{"scope":["keyword.operator","keyword.operator.assignment.compound","meta.var.expr.ts"],"settings":{"foreground":"#ab5959"}},{"scope":"invalid.broken","settings":{"fontStyle":"italic","foreground":"#b31d28"}},{"scope":"invalid.deprecated","settings":{"fontStyle":"italic","foreground":"#b31d28"}},{"scope":"invalid.illegal","settings":{"fontStyle":"italic","foreground":"#b31d28"}},{"scope":"invalid.unimplemented","settings":{"fontStyle":"italic","foreground":"#b31d28"}},{"scope":"carriage-return","settings":{"background":"#d73a49","content":"^M","fontStyle":"italic underline","foreground":"#fafbfc"}},{"scope":"message.error","settings":{"foreground":"#b31d28"}},{"scope":"string variable","settings":{"foreground":"#b56959"}},{"scope":["source.regexp","string.regexp"],"settings":{"foreground":"#ab5e3f"}},{"scope":["string.regexp.character-class","string.regexp constant.character.escape","string.regexp source.ruby.embedded","string.regexp string.regexp.arbitrary-repitition"],"settings":{"foreground":"#b56959"}},{"scope":"string.regexp constant.character.escape","settings":{"foreground":"#bda437"}},{"scope":["support.constant"],"settings":{"foreground":"#a65e2b"}},{"scope":["keyword.operator.quantifier.regexp","constant.numeric","number"],"settings":{"foreground":"#2f798a"}},{"scope":["keyword.other.unit"],"settings":{"foreground":"#ab5959"}},{"scope":["constant.language.boolean","constant.language"],"settings":{"foreground":"#1e754f"}},{"scope":"meta.module-reference","settings":{"foreground":"#1c6b48"}},{"scope":"punctuation.definition.list.begin.markdown","settings":{"foreground":"#a65e2b"}},{"scope":["markup.heading","markup.heading entity.name"],"settings":{"fontStyle":"bold","foreground":"#1c6b48"}},{"scope":"markup.quote","settings":{"foreground":"#2e808f"}},{"scope":"markup.italic","settings":{"fontStyle":"italic","foreground":"#393a34"}},{"scope":"markup.bold","settings":{"fontStyle":"bold","foreground":"#393a34"}},{"scope":"markup.raw","settings":{"foreground":"#1c6b48"}},{"scope":["markup.deleted","meta.diff.header.from-file","punctuation.definition.deleted"],"settings":{"background":"#ffeef0","foreground":"#b31d28"}},{"scope":["markup.inserted","meta.diff.header.to-file","punctuation.definition.inserted"],"settings":{"background":"#f0fff4","foreground":"#22863a"}},{"scope":["markup.changed","punctuation.definition.changed"],"settings":{"background":"#ffebda","foreground":"#e36209"}},{"scope":["markup.ignored","markup.untracked"],"settings":{"background":"#005cc5","foreground":"#f6f8fa"}},{"scope":"meta.diff.range","settings":{"fontStyle":"bold","foreground":"#6f42c1"}},{"scope":"meta.diff.header","settings":{"foreground":"#005cc5"}},{"scope":"meta.separator","settings":{"fontStyle":"bold","foreground":"#005cc5"}},{"scope":"meta.output","settings":{"foreground":"#005cc5"}},{"scope":["brackethighlighter.tag","brackethighlighter.curly","brackethighlighter.round","brackethighlighter.square","brackethighlighter.angle","brackethighlighter.quote"],"settings":{"foreground":"#586069"}},{"scope":"brackethighlighter.unmatched","settings":{"foreground":"#b31d28"}},{"scope":["constant.other.reference.link","string.other.link","punctuation.definition.string.begin.markdown","punctuation.definition.string.end.markdown"],"settings":{"foreground":"#b56959"}},{"scope":["markup.underline.link.markdown","markup.underline.link.image.markdown"],"settings":{"fontStyle":"underline","foreground":"#393a3490"}},{"scope":["type.identifier","constant.other.character-class.regexp"],"settings":{"foreground":"#5a6aa6"}},{"scope":["entity.other.attribute-name.html.vue"],"settings":{"foreground":"#59873a"}},{"scope":["invalid.illegal.unrecognized-tag.html"],"settings":{"fontStyle":"normal"}}],"type":"light"}'))});function FIs(t){try{let e=atob(t.slice(0,16)),r=new Uint8Array(e.length);for(let n=0;n<e.length;n++)r[n]=e.charCodeAt(n);if(r[0]===137&&r[1]===80&&r[2]===78&&r[3]===71)return"image/png";if(r[0]===255&&r[1]===216&&r[2]===255)return"image/jpeg";if(r[0]===71&&r[1]===73&&r[2]===70&&r[3]===56)return"image/gif";if(r[0]===82&&r[1]===73&&r[2]===70&&r[3]===70&&r[8]===87&&r[9]===69&&r[10]===66&&r[11]===80)return"image/webp";if(r[0]===66&&r[1]===77)return"image/bmp"}catch{}return null}function IIs(t){let e=t.match(/^data:application\/octet-stream;base64,(.+)$/i);if(!e)return t;let r=e[1],n=FIs(r);return n?`data:${n};base64,${r}`:t}function LIs(){return globalThis.platform?.document}function myr(){return t=>{let e=LIs(),r=e?.baseUrl,n=e?.needsUriRewrite;Sg(t,"element",o=>{if(o.tagName!=="img")return;let i=o.properties?.src;if(!(typeof i!="string"||!i)){if(i.toLowerCase().startsWith("data:application/octet-stream;base64,")){let a=IIs(i);o.properties=o.properties||{},o.properties.src=a;return}if(iq(i)){let a=qO(i);if(n&&r){let s=Bao(a),l=`${r}/${s}`;o.properties=o.properties||{},o.properties.src=l}else a!==i&&(o.properties=o.properties||{},o.properties.src=a)}}})}}var Wyo=be(()=>{"use strict";x();j4();UO()});function Uct(t){return t==null?!0:t.trim()===""}function jIs(t){if(t==null)return!1;let e=t.trim();return/^[✓✗×○●√\-+*·•◦▪▫☐☑☒✔✕✖⬤◯]{1,3}$/.test(e)}function PIs(t,e,r){let n=0,o=0,i=-1,a=!1,s=!1,l=!1,u=-1;for(let m=0;m<r;m++)Uct(t[m])?a?(s=!0,u===-1&&(u=m)):n++:(o++,i=m,s&&(l=!0),a=!0);let f=o===0,h=i>=0?r-1-i:r,d=o>0&&o<=2&&i<Math.min(2,Math.ceil(r/2))&&h>=Math.floor(r/2),p=!f&&(!l||u>=Math.min(3,Math.ceil(r/2)));return{rowIndex:e,nonEmptyCount:o,lastNonEmptyCol:i,emptyPrefix:n,isGroupHeader:d,isValidTreeRow:p,isCompletelyEmpty:f,hasGap:l,gapStartCol:u}}function OIs(t,e,r){let n=[],o=null;for(let i=0;i<t.length;i++){if(r.has(i)){o&&(n.push(o),o=null);continue}let a=t[i]?.[e];Uct(a)?o&&o.length++:(o&&n.push(o),o={anchorRow:i,length:1})}return o&&n.push(o),n}function BIs(t,e,r){let n=OIs(t,e,r),o=t.length-r.size;if(n.length===0||o<=1)return{colIndex:e,segmentCount:0,maxSegmentLength:0,hasMultiRowSegment:!1,isTreeColumn:!1};let i=n.length,a=Math.max(...n.map(f=>f.length)),s=n.some(f=>f.length>=2),l=o/i,u=s&&(i<=o*.9||l>1.2)&&n[0].anchorRow<=2;return{colIndex:e,segmentCount:i,maxSegmentLength:a,hasMultiRowSegment:s,isTreeColumn:u}}function NIs(t){let e=0,r=0;for(let n of t)for(let o of n)r++,jIs(o)&&e++;return r>0&&e/r>.3}function $Is(t){return t.filter(r=>!r.isValidTreeRow&&!r.isGroupHeader&&!r.isCompletelyEmpty).length/t.length>.3}function Xyo(t){let e=t.length,r=t[0]?.length||0,n=0;for(let S of t)for(let k of S)Uct(k)&&n++;let o=e*r,i=o>0?n/o:0,a={totalRows:e,totalCols:r,emptyCount:n,emptyRatio:i};if(e===0||r===0||e===1)return zIs(a);if(NIs(t))return GIs(a);let s=t.map((S,k)=>PIs(S,k,r)),l=s.filter(S=>S.isGroupHeader).map(S=>S.rowIndex),u=new Set(l),f=l.length>0;if($Is(s))return HIs(a,l);let h=s.filter(S=>!u.has(S.rowIndex)),d=h.filter(S=>S.isValidTreeRow),p=h.length>0?d.length/h.length:0,m=p>=.8&&h.length>0,g=[];if(m)for(let S=0;S<r;S++)BIs(t,S,u).isTreeColumn&&g.push(S);let y=0;for(let S=0;S<g.length&&g[S]===S;S++)y=S+1;let b=g.slice(0,y),w=m&&y>0,C;return w?C="tree":f?C="grouped":C="normal",{tableType:C,shouldMerge:w,tree:{isTree:w,columnCount:y,columns:b,score:p},groupHeaders:{rows:l,hasGroupHeaders:f},stats:a}}function Yyo(t){if(t.length<2||(t[0]?.length||0)<2)return!1;for(let r of t)for(let n of r)if(Uct(n))return!0;return!1}function zIs(t){return{tableType:"normal",shouldMerge:!1,tree:{isTree:!1,columnCount:0,columns:[],score:0},groupHeaders:{rows:[],hasGroupHeaders:!1},stats:t}}function GIs(t){return{tableType:"comparison",shouldMerge:!1,tree:{isTree:!1,columnCount:0,columns:[],score:0},groupHeaders:{rows:[],hasGroupHeaders:!1},stats:t}}function HIs(t,e){return{tableType:"sparse",shouldMerge:!1,tree:{isTree:!1,columnCount:0,columns:[],score:0},groupHeaders:{rows:e,hasGroupHeaders:e.length>0},stats:t}}var Kyo=be(()=>{"use strict";x()});function Vct(t){return t.text?t.text.trim()==="":!0}function qIs(t){if(t.length===0)return{mergeInfo:[],analysis:null};let e=t.length,r=t[0]?.length||0,n=t.map(l=>l.map(()=>({rowspan:1,colspan:1,shouldRender:!0}))),o=t.map(l=>l.map(u=>u.text||""));if(!Yyo(o))return{mergeInfo:n,analysis:null};let i=Xyo(o);if(!i.shouldMerge)return{mergeInfo:n,analysis:i};let a=new Set(i.tree.columns),s=new Set(i.groupHeaders.rows);for(let l of s){if(l>=e)continue;let u=-1;for(let f=0;f<r;f++){let h=t[l]?.[f];!h||Vct(h)?u>=0&&(n[l][f].shouldRender=!1):(u>=0&&f>u+1&&(n[l][u].colspan=f-u),u=f)}if(u>=0&&u<r-1){let f=!0;for(let h=u+1;h<r;h++){let d=t[l]?.[h];if(d&&!Vct(d)){f=!1;break}}f&&(n[l][u].colspan=r-u)}}for(let l of a){if(l>=r)continue;let u=-1;for(let f=0;f<e;f++){if(s.has(f)){u=-1;continue}for(let d=0;d<l;d++){let p=t[f]?.[d];if(p&&!Vct(p)){u=-1;break}}let h=t[f]?.[l];!h||Vct(h)?u>=0&&f>u&&(n[f][l].shouldRender=!1,n[u][l].rowspan=f-u+1):u=f}}return{mergeInfo:n,analysis:i}}function Wct(t){let e=t.map(r=>r.map(n=>({text:n})));return qIs(e)}function gyr(t){if(!t||typeof t!="object")return"";let e=t;return e.type==="text"&&typeof e.value=="string"?e.value:Array.isArray(e.children)?e.children.map(r=>gyr(r)).join(""):""}function yyr(t){if(!t||typeof t!="object")return"";let e=t;return typeof e.value=="string"?e.value:Array.isArray(e.children)?e.children.map(r=>yyr(r)).join(""):""}var vyr=be(()=>{"use strict";x();Kyo()});function Zyo(t,e){return t!==null&&typeof t=="object"&&t.type==="element"&&t.tagName===e}function Jyo(t,e){return t.children?.find(r=>Zyo(r,e))}function rMe(t,e){return t.children?.filter(r=>Zyo(r,e))||[]}function UIs(t){let e=Jyo(t,"tbody");if(e)return rMe(e,"tr");let r=Jyo(t,"thead"),n=r?rMe(r,"tr"):[],o=rMe(t,"tr");return n.length>0?o.filter(i=>!n.includes(i)):o.slice(1)}function VIs(t){return t.map(e=>rMe(e,"td").map(n=>gyr(n)))}function WIs(t,e,r){let n=t.length;for(let o=0;o<t.length;o++){let i=t[o],a=rMe(i,"td"),s=e[o];if(!s)continue;let l=r.has(o),u=[];for(let f=0;f<a.length;f++){let h=a[f],d=s[f];if(d){if(!d.shouldRender)u.push(f);else{if(h.properties||(h.properties={}),d.rowspan>1&&(h.properties.rowspan=d.rowspan,o+d.rowspan>=n)){let p=h.properties.className;Array.isArray(p)?p.push("merged-to-last"):typeof p=="string"?h.properties.className=[p,"merged-to-last"]:h.properties.className=["merged-to-last"]}d.colspan>1&&(h.properties.colspan=d.colspan)}if(l){h.properties||(h.properties={});let p=h.properties.className;Array.isArray(p)?p.includes("group-header")||p.push("group-header"):typeof p=="string"?p!=="group-header"&&(h.properties.className=[p,"group-header"]):h.properties.className=["group-header"]}}}for(let f=u.length-1;f>=0;f--){let h=u[f],d=a[h],p=i.children.indexOf(d);p!==-1&&i.children.splice(p,1)}}}function Ayr(t={}){let{enabled:e=!0}=t;return r=>{e&&Sg(r,"element",n=>{if(n.tagName!=="table")return;let o=UIs(n);if(o.length===0)return;let i=VIs(o);if(i.length===0||i[0].length===0)return;let{mergeInfo:a,analysis:s}=Wct(i),l=new Set(s?.groupHeaders.rows||[]);WIs(o,a,l)})}}var Qyo=be(()=>{"use strict";x();j4();vyr()});var wbe,e1o,XIs,t1o,E8f,YIs,KIs,D8f,R8f,M8f,r1o=be(()=>{"use strict";x();wbe=[{fileType:"slidev",extensions:["slides.md"],languageId:"markdown",codeBlockLanguages:["slidev"],isDiagram:!1},{fileType:"mermaid",extensions:["mermaid","mmd"],languageId:"mermaid",codeBlockLanguages:["mermaid"],isDiagram:!0},{fileType:"plantuml",extensions:["plantuml","puml"],languageId:"plantuml",codeBlockLanguages:["plantuml","puml","wsd"],isDiagram:!0},{fileType:"vega",extensions:["vega"],languageId:"vega",codeBlockLanguages:["vega"],isDiagram:!0},{fileType:"vega-lite",extensions:["vl","vega-lite"],languageId:"vega",codeBlockLanguages:["vega-lite","vegalite"],isDiagram:!0},{fileType:"dot",extensions:["gv","dot"],languageId:"graphviz",codeBlockLanguages:["dot","graphviz"],isDiagram:!0},{fileType:"infographic",extensions:["infographic"],languageId:"infographic",codeBlockLanguages:["infographic"],isDiagram:!0},{fileType:"canvas",extensions:["canvas"],languageId:"canvas",codeBlockLanguages:["canvas"],isDiagram:!0},{fileType:"drawio",extensions:["drawio"],languageId:"drawio",codeBlockLanguages:["drawio"],isDiagram:!0},{fileType:"echarts",extensions:["echarts"],languageId:"echarts",codeBlockLanguages:["echarts"],isDiagram:!0}],e1o=wbe.filter(t=>t.isDiagram),XIs=Array.from(new Set(e1o.flatMap(t=>t.codeBlockLanguages.map(e=>e.toLowerCase())))),t1o=(()=>{let t={};for(let e of e1o)for(let r of e.codeBlockLanguages)t[r.toLowerCase()]=e.fileType;return t})(),E8f=new Set(XIs),YIs={md:"markdown",markdown:"markdown"};for(let t of wbe)for(let e of t.extensions)YIs[e]=t.fileType;KIs={};for(let t of wbe)for(let e of t.extensions)KIs[`.${e}`]=t.fileType;D8f=[".md",".markdown",...wbe.flatMap(t=>t.extensions.map(e=>`.${e}`))].sort((t,e)=>e.length-t.length),R8f=wbe.flatMap(t=>t.extensions),M8f=["markdown",...Array.from(new Set(wbe.map(t=>t.languageId)))]});var Gy,z9=be(()=>{"use strict";x();r1o();Gy=class t{constructor(e){if(this.constructor===t)throw new Error("BasePlugin is abstract and cannot be instantiated directly");this.type=e}get nodeSelector(){return["code"]}get language(){return this.type}extractContent(e){if(!this.nodeSelector.includes(e.type))return null;if(this.language&&e.lang){if(t1o[e.lang.toLowerCase()]!==this.type)return null}else if(this.language&&e.lang!==this.language)return null;return e.value||null}createTaskData(e){return{code:e}}getRenderParams(){return{}}isInline(){return!1}isUrl(e){return!1}async fetchContent(e){throw new Error("fetchContent not implemented")}async renderToCommon(e,r){let n=this.isInline(),o=await this.preprocessContent(r);if(!e)return{type:"error",content:{text:`[${this.type} - Renderer not available]`},display:{inline:n,alignment:"left"}};try{let i=await e.render(this.type,o);if(!i)return{type:"empty",content:{},display:{inline:n,alignment:"left"}};let a=i.base64;if(typeof a!="string"||!a)throw new Error("Missing base64 data");let s=atob(a),l=s.length,u=new Uint8Array(l);for(let f=0;f<l;f++)u[f]=s.charCodeAt(f);return{type:"image",content:{data:u,base64:a,width:i.width,height:i.height,format:"png"},display:{inline:n,alignment:n?"left":"center"}}}catch(i){return console.warn(`Failed to render ${this.type}:`,i),{type:"error",content:{text:`[${this.type} Error: ${i.message}]`},display:{inline:n,alignment:"left"}}}}async preprocessContent(e){return e}}});var Xct,n1o=be(()=>{"use strict";x();z9();Xct=class extends Gy{constructor(){super("mermaid")}}});var Yct,o1o=be(()=>{"use strict";x();z9();Yct=class extends Gy{constructor(){super("vega-lite")}}});var Kct,i1o=be(()=>{"use strict";x();z9();Kct=class extends Gy{constructor(){super("vega")}}});function byr(t){try{let e=document.createElement("template");return e.innerHTML=t,JIs(e.content),e.innerHTML}catch{return t}}function JIs(t){let e=new Set(["SCRIPT","IFRAME","OBJECT","EMBED","AUDIO","VIDEO"]),r=[];for(Array.from(t.childNodes).forEach(n=>{n.nodeType===Node.ELEMENT_NODE?r.push(n):n.nodeType===Node.COMMENT_NODE&&n.remove()});r.length>0;){let n=r.pop();if(e.has(n.tagName)){n.remove();continue}let o=Array.from(n.attributes||[]);for(let i of o)(i.name.startsWith("on")||i.name==="href"&&i.value.trim().toLowerCase().startsWith("javascript:"))&&n.removeAttribute(i.name);Array.from(n.childNodes).forEach(i=>{i.nodeType===Node.ELEMENT_NODE?r.push(i):i.nodeType===Node.COMMENT_NODE&&i.remove()})}}function xyr(t){let e=document.createElement("div");return e.innerHTML=t,e.textContent.trim().length>0||e.querySelector("*")!==null}function a1o(t){if(/^(?:<br\s*\/?>(?:\s| )*)+$/i.test(t))return{sanitized:"",hasContent:!1};let e=byr(t),r=xyr(e);return{sanitized:e,hasContent:r}}var wyr=be(()=>{"use strict";x()});function ZIs(t){if(!t)return!1;let e=t.toLowerCase();return e.startsWith("data:")||e.startsWith("blob:")||L4(e)||e.startsWith("vscode-webview-resource:")||e.startsWith("vscode-resource:")||e.startsWith("chrome-extension:")||e.startsWith("moz-extension:")?!1:s1o(t)||e.startsWith("file://")?!0:iq(t)}function QIs(t,e){if(t.toLowerCase().startsWith("file://"))return t;if(s1o(t))return`file:///${t.replace(/\\/g,"/")}`;let r=qO(t);return e.resolvePath(r)}function eLs(t){let r=(t.split("?")[0]?.split("#")[0]||"").toLowerCase().split(".").pop()||"";return{png:"image/png",jpg:"image/jpeg",jpeg:"image/jpeg",gif:"image/gif",svg:"image/svg+xml",webp:"image/webp",bmp:"image/bmp",ico:"image/x-icon"}[r]||"image/png"}function s1o(t){return/^[a-zA-Z]:[\\/]/.test(t)}var Jct,l1o=be(()=>{"use strict";x();z9();wyr();Qst();UO();Jct=class extends Gy{constructor(){super("html")}async preprocessContent(e){if(typeof document>"u")return e;let r=globalThis.platform?.document;if(!r)return e;let n=document.createElement("div");n.innerHTML=e;let o=Array.from(n.querySelectorAll("img[src]"));if(o.length===0)return e;let i=o.map(async a=>{let s=a.getAttribute("src");if(s){if(L4(s)){try{let l=await YAe(s);l&&a.setAttribute("src",l)}catch(l){console.warn(`[HtmlPlugin] Failed to inline remote image: ${s}`,l)}return}if(ZIs(s))try{let l=QIs(s,r),u=await r.readFile(l,{binary:!0}),f=eLs(s);a.setAttribute("src",`data:${f};base64,${u}`)}catch(l){console.warn(`[HtmlPlugin] Failed to inline local image: ${s}`,l)}}});return await Promise.all(i),n.innerHTML}get nodeSelector(){return["html"]}extractContent(e){if(e.type!=="html")return null;let r=e.value?.trim()||"";if(!r)return null;let{hasContent:n}=a1o(r);return n?r:null}}});function c1o(t){return t.startsWith("file://")?t.slice(7):t}var Zct,u1o=be(()=>{"use strict";x();z9();UO();Zct=class extends Gy{constructor(){super("svg");this._currentNodeType=null;this._currentNodeType=null}extractContent(r){if(this._currentNodeType=r.type,r.type==="code"&&r.lang==="svg")return r.value||null;if(r.type==="image"){let n=r.url||"";if(n.toLowerCase().endsWith(".svg")||n.toLowerCase().includes("image/svg+xml"))return n}return null}isInline(){return this._currentNodeType==="image"}isUrl(r){return r.includes("<svg")||L4(r)?!1:r.startsWith("file://")||r.startsWith("data:")||r.startsWith("./")||r.startsWith("../")||r.includes("/")||r.includes("\\")||/\.\w+$/.test(r)}async fetchContent(r){if(r.startsWith("data:image/svg+xml")){let o=r.match(/^data:image\/svg\+xml;base64,(.+)$/);if(o)return atob(o[1]);let i=r.match(/^data:image\/svg\+xml[;,](.+)$/);if(i)return decodeURIComponent(i[1]);throw new Error("Unsupported SVG data URL format")}let n=globalThis.platform?.document;if(!n)throw new Error("DocumentService not available - platform not initialized");try{if(r.startsWith("file://"))return await n.readFile(r.slice(7));if(r.startsWith("data:"))return await n.readFile(r);if(iq(r)){let o=qO(r),i=n.resolvePath(o);return Nao(i)?await n.readFile(c1o(i)):await n.readRelativeFile(i)}return await n.readFile(c1o(r))}catch(o){throw new Error(`Cannot load SVG file: ${r} - ${o.message}`)}}get nodeSelector(){return["code","image"]}}});var Qct,f1o=be(()=>{"use strict";x();z9();Qct=class extends Gy{constructor(){super("dot")}}});var eut,h1o=be(()=>{"use strict";x();z9();eut=class extends Gy{constructor(){super("infographic")}}});var tut,d1o=be(()=>{"use strict";x();z9();tut=class extends Gy{constructor(){super("canvas")}}});var rut,p1o=be(()=>{"use strict";x();z9();rut=class extends Gy{constructor(){super("drawio")}}});var nut,m1o=be(()=>{"use strict";x();z9();nut=class extends Gy{constructor(){super("plantuml")}}});var out,g1o=be(()=>{"use strict";x();z9();out=class extends Gy{constructor(){super("echarts")}}});function y1o(t,e){tLs.set(t,e)}var tLs,v1o=be(()=>{"use strict";x();tLs=new Map});function rLs(t,e="diagram",r,n){if(t.type==="empty")return null;if(t.type==="error"){let o=document.createElement("pre");return o.style.cssText="background: #fee; border-left: 4px solid #f00; padding: 10px; font-size: 12px;",o.textContent=t.content.text||"",o}if(t.type==="image"){let{base64:o,width:i}=t.content,{inline:a}=t.display,s=Math.round((i||0)/4),l=document.createElement("img");if(l.src=`data:image/png;base64,${o}`,l.alt=n&&n.alt||`${e} diagram`,l.style.cssText="max-width: 100%; height: auto;",n&&n.width&&l.setAttribute("width",n.width),n&&n.height&&l.setAttribute("height",n.height),a)return l.className="diagram-inline",!(n&&n.width)&&s>0&&(l.style.width=`${s}px`),r&&(l.dataset.sourceHash=r,l.dataset.pluginType=e,l.dataset.pluginRendered="true"),l;let u=document.createElement("div");return u.className="diagram-block",u.style.cssText=s>0?`width: ${s}px; max-width: 100%;`:"",r&&(u.dataset.sourceHash=r,u.dataset.pluginType=e,u.dataset.pluginRendered="true"),u.appendChild(l),u}return null}function Cyr(t,e,r,n,o){let i=document.getElementById(t);if(i){let a=i.dataset?.sourceHash;if(a&&o!==a)return;let l={type:"image",content:{base64:e.base64,width:e.width,height:e.height},display:{inline:n,alignment:n?"left":"center"}},u=rLs(l,r,a,{width:i.dataset.width||null,height:i.dataset.height||null,alt:i.dataset.alt||null});u?i.replaceWith(u):i.remove(),a&&(e.svg||e.drawioXml)&&y1o(a,{pluginType:r,svg:e.svg,drawioXml:e.drawioXml})}}var _yr=be(()=>{"use strict";x();v1o()});function A1o(t,e,r,n,o,i){let a=`async_placeholder_type_${e.replace(/-/g,"")}`,l=n(a)||""||e,u=n("async_processing_message",[l,""])||`Processing ${l}...`,f=o?`data-source-hash="${o}" data-plugin-type="${e}"`:"",h=i?["width","height","alt"].filter(d=>i[d]!=null&&i[d]!=="").map(d=>` data-${d}="${nLs(String(i[d]))}"`).join(""):"";return r?`<span id="${t}" class="async-placeholder ${e}-placeholder inline-placeholder" ${f}${h}>
|
|
3759
|
+
\v\f\x85\u2028\u2029])`),e));else if(l==="posix")if(!o&&(f==="graph"||f==="print")){if(n==="strict")throw new Error(`POSIX class "${f}" requires min target ES2024 or non-strict accuracy`);let h={graph:"!-~",print:" -~"}[f];u&&(h=`\0-${X2(h.codePointAt(0)-1)}${X2(h.codePointAt(2)+1)}-\u{10FFFF}`),r(LA(yq(`[${h}]`),e))}else r(LA(ayr(yq(rIs.get(f)),u),e));else if(l==="property")cyr.has(Abe(f))||(t.key="sc");else if(l==="space")r(CJ(xle("space",{negate:u}),e));else if(l==="word")r(LA(ayr(yq(gq),u),e));else throw new Error(`Unexpected character set kind "${l}"`)},Directive({node:t,parent:e,root:r,remove:n,replaceWith:o,removeAllPrevSiblings:i,removeAllNextSiblings:a}){let{kind:s,flags:l}=t;if(s==="flags")if(!l.enable&&!l.disable)n();else{let u=P4({flags:l});u.body[0].body=a(),o(LA(u,e),{traverse:!0})}else if(s==="keep"){let u=r.body[0],h=r.body.length===1&&jct(u,{type:"Group"})&&u.body[0].body.length===1?u.body[0]:r;if(e.parent!==h||h.body.length>1)throw new Error(Sf`Uses "\K" in a way that's unsupported`);let d=xJ({behind:!0});d.body[0].body=i(),o(LA(d,e))}else throw new Error(`Unexpected directive kind "${s}"`)},Flags({node:t,parent:e}){if(t.posixIsAscii)throw new Error('Unsupported flag "P"');if(t.textSegmentMode==="word")throw new Error('Unsupported flag "y{w}"');["digitIsAscii","extended","posixIsAscii","spaceIsAscii","wordIsAscii","textSegmentMode"].forEach(r=>delete t[r]),Object.assign(t,{global:!1,hasIndices:!1,multiline:!1,sticky:t.sticky??!1}),e.options={disable:{x:!0,n:!0},force:{v:!0}}},Group({node:t}){if(!t.flags)return;let{enable:e,disable:r}=t.flags;e?.extended&&delete e.extended,r?.extended&&delete r.extended,e?.dotAll&&r?.dotAll&&delete e.dotAll,e?.ignoreCase&&r?.ignoreCase&&delete e.ignoreCase,e&&!Object.keys(e).length&&delete t.flags.enable,r&&!Object.keys(r).length&&delete t.flags.disable,!t.flags.enable&&!t.flags.disable&&delete t.flags},LookaroundAssertion({node:t},e){let{kind:r}=t;r==="lookbehind"&&(e.passedLookbehind=!0)},NamedCallout({node:t,parent:e,replaceWith:r}){let{kind:n}=t;if(n==="fail")r(LA(xJ({negate:!0}),e));else throw new Error(`Unsupported named callout "(*${n.toUpperCase()}"`)},Quantifier({node:t}){if(t.body.type==="Quantifier"){let e=P4();e.body[0].body.push(t.body),t.body=LA(e,t)}},Regex:{enter({node:t},{supportedGNodes:e}){let r=[],n=!1,o=!1;for(let i of t.body)if(i.body.length===1&&i.body[0].kind==="search_start")i.body.pop();else{let a=jyo(i.body);a?(n=!0,Array.isArray(a)?r.push(...a):r.push(a)):o=!0}n&&!o&&r.forEach(i=>e.add(i))},exit(t,{accuracy:e,passedLookbehind:r,strategy:n}){if(e==="strict"&&r&&n)throw new Error(Sf`Uses "\G" in a way that requires non-strict accuracy`)}},Subroutine({node:t},{jsGroupNameMap:e}){let{ref:r}=t;typeof r=="string"&&!iyr(r)&&(r=oyr(r,e),t.ref=r)}},aIs={Backreference({node:t},{multiplexCapturesToLeftByRef:e,reffedNodesByReferencer:r}){let{orphan:n,ref:o}=t;n||r.set(t,[...e.get(o).map(({node:i})=>i)])},CapturingGroup:{enter({node:t,parent:e,replaceWith:r,skip:n},{groupOriginByCopy:o,groupsByName:i,multiplexCapturesToLeftByRef:a,openRefs:s,reffedNodesByReferencer:l}){let u=o.get(t);if(u&&s.has(t.number)){let h=CJ(_yo(t.number),e);l.set(h,s.get(t.number)),r(h);return}s.set(t.number,t),a.set(t.number,[]),t.name&&tMe(a,t.name,[]);let f=a.get(t.name??t.number);for(let h=0;h<f.length;h++){let d=f[h];if(u===d.node||u&&u===d.origin||t===d.origin){f.splice(h,1);break}}if(a.get(t.number).push({node:t,origin:u}),t.name&&a.get(t.name).push({node:t,origin:u}),t.name){let h=tMe(i,t.name,new Map),d=!1;if(u)d=!0;else for(let p of h.values())if(!p.hasDuplicateNameToRemove){d=!0;break}i.get(t.name).set(t,{node:t,hasDuplicateNameToRemove:d})}},exit({node:t},{openRefs:e}){e.get(t.number)===t&&e.delete(t.number)}},Group:{enter({node:t},e){e.prevFlags=e.currentFlags,t.flags&&(e.currentFlags=Gct(e.currentFlags,t.flags))},exit(t,e){e.currentFlags=e.prevFlags}},Subroutine({node:t,parent:e,replaceWith:r},n){let{isRecursive:o,ref:i}=t;if(o){let f=e;for(;(f=f.parent)&&!(f.type==="CapturingGroup"&&(f.name===i||f.number===i)););n.reffedNodesByReferencer.set(t,f);return}let a=n.subroutineRefMap.get(i),s=i===0,l=s?_yo(0):Fyo(a,n.groupOriginByCopy,null),u=l;if(!s){let f=Iyo(uIs(a,d=>d.type==="Group"&&!!d.flags)),h=f?Gct(n.globalFlags,f):n.globalFlags;lIs(h,n.currentFlags)||(u=P4({flags:fIs(h)}),u.body[0].body.push(l))}r(LA(u,e),{traverse:!s})}},sIs={Backreference({node:t,parent:e,replaceWith:r},n){if(t.orphan){n.highestOrphanBackref=Math.max(n.highestOrphanBackref,t.ref);return}let i=n.reffedNodesByReferencer.get(t).filter(a=>cIs(a,t));if(!i.length)r(LA(xJ({negate:!0}),e));else if(i.length>1){let a=P4({atomic:!0,body:i.reverse().map(s=>mq({body:[Pct(s.number)]}))});r(LA(a,e))}else t.ref=i[0].number},CapturingGroup({node:t},e){t.number=++e.numCapturesToLeft,t.name&&e.groupsByName.get(t.name).get(t).hasDuplicateNameToRemove&&delete t.name},Regex:{exit({node:t},e){let r=Math.max(e.highestOrphanBackref-e.numCapturesToLeft,0);for(let n=0;n<r;n++){let o=Vgr();t.body.at(-1).body.push(o)}}},Subroutine({node:t},e){!t.isRecursive||t.ref===0||(t.ref=e.reffedNodesByReferencer.get(t).number)}};gIs={"*":{enter({node:t},e){if(kyo(t)){let r=e.getCurrentModI();e.pushModI(t.flags?Gct({ignoreCase:r},t.flags).ignoreCase:r)}},exit({node:t},e){kyo(t)&&e.popModI()}},Backreference(t,e){e.setHasCasedChar()},Character({node:t},e){uyr(X2(t.value))&&e.setHasCasedChar()},CharacterClassRange({node:t,skip:e},r){e(),Oyo(t,{firstOnly:!0}).length&&r.setHasCasedChar()},CharacterSet({node:t},e){t.kind==="property"&&Ryo.has(t.value)&&e.setHasCasedChar()}},yIs={Alternative({body:t},e,r){return t.map(r).join("")},Assertion({kind:t,negate:e}){if(t==="string_end")return"$";if(t==="string_start")return"^";if(t==="word_boundary")return e?Sf`\B`:Sf`\b`;throw new Error(`Unexpected assertion kind "${t}"`)},Backreference({ref:t},e){if(typeof t!="number")throw new Error("Unexpected named backref in transformed AST");if(!e.useFlagMods&&e.accuracy==="strict"&&e.currentFlags.ignoreCase&&!e.captureMap.get(t).ignoreCase)throw new Error("Use of case-insensitive backref to case-sensitive group requires target ES2025 or non-strict accuracy");return"\\"+t},CapturingGroup(t,e,r){let{body:n,name:o,number:i}=t,a={ignoreCase:e.currentFlags.ignoreCase},s=e.originMap.get(t);return s&&(a.hidden=!0,i>s.number&&(a.transferTo=s.number)),e.captureMap.set(i,a),`(${o?`?<${o}>`:""}${n.map(r).join("|")})`},Character({value:t},e){let r=X2(t),n=xbe(t,{escDigit:e.lastNode.type==="Backreference",inCharClass:e.inCharClass,useFlagV:e.useFlagV});if(n!==r)return n;if(e.useAppliedIgnoreCase&&e.currentFlags.ignoreCase&&uyr(r)){let o=Dyo(r);return e.inCharClass?o.join(""):o.length>1?`[${o.join("")}]`:o[0]}return r},CharacterClass(t,e,r){let{kind:n,negate:o,parent:i}=t,{body:a}=t;if(n==="intersection"&&!e.useFlagV)throw new Error("Use of character class intersection requires min target ES2024");BF.bugFlagVLiteralHyphenIsRange&&e.useFlagV&&a.some(Tyo)&&(a=[vbe(45),...a.filter(u=>!Tyo(u))]);let s=()=>`[${o?"^":""}${a.map(r).join(n==="intersection"?"&&":"")}]`;if(!e.inCharClass){if((!e.useFlagV||BF.bugNestedClassIgnoresNegation)&&!o){let f=a.filter(h=>h.type==="CharacterClass"&&h.kind==="union"&&h.negate);if(f.length){let h=P4(),d=h.body[0];return h.parent=i,d.parent=h,a=a.filter(p=>!f.includes(p)),t.body=a,a.length?(t.parent=d,d.body.push(t)):h.body.pop(),f.forEach(p=>{let m=mq({body:[p]});p.parent=m,m.parent=h,h.body.push(m)}),r(h)}}e.inCharClass=!0;let u=s();return e.inCharClass=!1,u}let l=a[0];if(n==="union"&&!o&&l&&((!e.useFlagV||!e.verbose)&&i.kind==="union"&&!(BF.bugFlagVLiteralHyphenIsRange&&e.useFlagV)||!e.verbose&&i.kind==="intersection"&&a.length===1&&l.type!=="CharacterClassRange"))return a.map(r).join("");if(!e.useFlagV&&i.type==="CharacterClass")throw new Error("Uses nested character class in a way that requires min target ES2024");return s()},CharacterClassRange(t,e){let r=t.min.value,n=t.max.value,o={escDigit:!1,inCharClass:!0,useFlagV:e.useFlagV},i=xbe(r,o),a=xbe(n,o),s=new Set;if(e.useAppliedIgnoreCase&&e.currentFlags.ignoreCase){let l=Oyo(t);wIs(l).forEach(f=>{s.add(Array.isArray(f)?`${xbe(f[0],o)}-${xbe(f[1],o)}`:xbe(f,o))})}return`${i}-${a}${[...s].join("")}`},CharacterSet({kind:t,negate:e,value:r,key:n},o){if(t==="dot")return o.currentFlags.dotAll?o.appliedGlobalFlags.dotAll||o.useFlagMods?".":"[^]":Sf`[^\n]`;if(t==="digit")return e?Sf`\D`:Sf`\d`;if(t==="property"){if(o.useAppliedIgnoreCase&&o.currentFlags.ignoreCase&&Ryo.has(r))throw new Error(`Unicode property "${r}" can't be case-insensitive when other chars have specific case`);return`${e?Sf`\P`:Sf`\p`}{${n?`${n}=`:""}${r}}`}if(t==="word")return e?Sf`\W`:Sf`\w`;throw new Error(`Unexpected character set kind "${t}"`)},Flags(t,e){return(e.appliedGlobalFlags.ignoreCase?"i":"")+(t.dotAll?"s":"")+(t.sticky?"y":"")},Group({atomic:t,body:e,flags:r,parent:n},o,i){let a=o.currentFlags;r&&(o.currentFlags=Gct(a,r));let s=e.map(i).join("|"),l=!o.verbose&&e.length===1&&n.type!=="Quantifier"&&!t&&(!o.useFlagMods||!r)?s:`(?${CIs(t,r,o.useFlagMods)}${s})`;return o.currentFlags=a,l},LookaroundAssertion({body:t,kind:e,negate:r},n,o){return`(?${`${e==="lookahead"?"":"<"}${r?"!":"="}`}${t.map(o).join("|")})`},Quantifier(t,e,r){return r(t.body)+_Is(t)},Subroutine({isRecursive:t,ref:e},r){if(!t)throw new Error("Unexpected non-recursive subroutine in transformed AST");let n=r.recursionLimit;return e===0?`(?R=${n})`:Sf`\g<${e}&R=${n}>`}},vIs=new Set(["$","(",")","*","+",".","?","[","\\","]","^","{","|","}"]),AIs=new Set(["-","\\","]","^","["]),bIs=new Set(["(",")","-","/","[","\\","]","^","{","|","}","!","#","$","%","&","*","+",",",".",":",";","<","=",">","?","@","`","~"]),Syo=new Map([[9,Sf`\t`],[10,Sf`\n`],[11,Sf`\v`],[12,Sf`\f`],[13,Sf`\r`],[8232,Sf`\u2028`],[8233,Sf`\u2029`],[65279,Sf`\uFEFF`]]),xIs=new RegExp("^\\p{Cased}$","u");kIs=class lyr extends RegExp{#e=new Map;#t=null;#n;#r=null;#o=null;rawOptions={};get source(){return this.#n||"(?:)"}constructor(e,r,n){let o=!!n?.lazyCompile;if(e instanceof RegExp){if(n)throw new Error("Cannot provide options when copying a regexp");let i=e;super(i,r),this.#n=i.source,i instanceof lyr&&(this.#e=i.#e,this.#r=i.#r,this.#o=i.#o,this.rawOptions=i.rawOptions)}else{let i={hiddenCaptures:[],strategy:null,transfers:[],...n};super(o?"":e,r),this.#n=e,this.#e=EIs(i.hiddenCaptures,i.transfers),this.#o=i.strategy,this.rawOptions=n??{}}o||(this.#t=this)}exec(e){if(!this.#t){let{lazyCompile:o,...i}=this.rawOptions;this.#t=new lyr(this.#n,this.flags,i)}let r=this.global||this.sticky,n=this.lastIndex;if(this.#o==="clip_search"&&r&&n){this.lastIndex=0;let o=this.#i(e.slice(n));return o&&(TIs(o,n,e,this.hasIndices),this.lastIndex+=n),o}return this.#i(e)}#i(e){this.#t.lastIndex=this.lastIndex;let r=super.exec.call(this.#t,e);if(this.lastIndex=this.#t.lastIndex,!r||!this.#e.size)return r;let n=[...r];r.length=1;let o;this.hasIndices&&(o=[...r.indices],r.indices.length=1);let i=[0];for(let a=1;a<n.length;a++){let{hidden:s,transferTo:l}=this.#e.get(a)??{};if(s?i.push(null):(i.push(r.length),r.push(n[a]),this.hasIndices&&r.indices.push(o[a])),l&&n[a]!==void 0){let u=i[l];if(!u)throw new Error(`Invalid capture transfer to "${u}"`);if(r[u]=n[a],this.hasIndices&&(r.indices[u]=o[a]),r.groups){this.#r||(this.#r=DIs(this.source));let f=this.#r.get(l);f&&(r.groups[f]=n[a],this.hasIndices&&(r.indices.groups[f]=o[a]))}}}return r}}});var qct,Nyo=be(()=>{x();qct=class{constructor(e,r={}){this.patterns=e,this.options=r;let{forgiving:n=!1,cache:o,regexConstructor:i}=r;if(!i)throw new Error("Option `regexConstructor` is not provided");this.regexps=e.map(a=>{if(typeof a!="string")return a;let s=o?.get(a);if(s){if(s instanceof RegExp)return s;if(n)return null;throw s}try{let l=i(a);return o?.set(a,l),l}catch(l){if(o?.set(a,l),n)return null;throw l}})}regexps;findNextMatchSync(e,r,n){let o=typeof e=="string"?e:e.content,i=[];function a(s,l,u=0){return{index:s,captureIndices:l.indices.map(f=>f==null?{start:4294967295,end:4294967295,length:0}:{start:f[0]+u,end:f[1]+u,length:f[1]-f[0]})}}for(let s=0;s<this.regexps.length;s++){let l=this.regexps[s];if(l)try{l.lastIndex=r;let u=l.exec(o);if(!u)continue;if(u.index===r)return a(s,u,0);i.push([s,u,0])}catch(u){if(this.options.forgiving)continue;throw u}}if(i.length){let s=Math.min(...i.map(l=>l[1].index));for(let[l,u,f]of i)if(u.index===s)return a(l,u,f)}return null}}});function $yo(t,e){return Byo(t,{global:!0,hasIndices:!0,lazyCompileLength:3e3,rules:{allowOrphanBackrefs:!0,asciiWordBoundaries:!0,captureGroup:!0,recursionLimit:5,singleline:!0},...e})}function hyr(t={}){let e=Object.assign({target:"auto",cache:new Map},t);return e.regexConstructor||=r=>$yo(r,{target:e.target}),{createScanner(r){return new qct(r,e)},createString(r){return{content:r}}}}var zyo=be(()=>{x();fyr();Nyo()});var Gyo=be(()=>{x();zyo();fyr()});var MIs,Hyo,qyo=be(()=>{x();MIs=Object.freeze(JSON.parse('{"displayName":"Markdown","name":"markdown","patterns":[{"include":"#frontMatter"},{"include":"#block"}],"repository":{"ampersand":{"match":"&(?!([0-9A-Za-z]+|#[0-9]+|#x\\\\h+);)","name":"meta.other.valid-ampersand.markdown"},"block":{"patterns":[{"include":"#separator"},{"include":"#heading"},{"include":"#blockquote"},{"include":"#lists"},{"include":"#fenced_code_block"},{"include":"#raw_block"},{"include":"#link-def"},{"include":"#html"},{"include":"#table"},{"include":"#paragraph"}]},"blockquote":{"begin":"(^|\\\\G) {0,3}(>) ?","captures":{"2":{"name":"punctuation.definition.quote.begin.markdown"}},"name":"markup.quote.markdown","patterns":[{"include":"#block"}],"while":"(^|\\\\G)\\\\s*(>) ?"},"bold":{"begin":"(?<open>(\\\\*\\\\*(?=\\\\w)|(?<!\\\\w)\\\\*\\\\*|(?<!\\\\w)\\\\b__))(?=\\\\S)(?=(<[^>]*+>|(?<raw>`+)([^`]|(?!(?<!`)\\\\k<raw>(?!`))`)*+\\\\k<raw>|\\\\\\\\[-\\\\]!#(-+.>\\\\[\\\\\\\\_`{}]?+|\\\\[((?<square>[^]\\\\[\\\\\\\\]|\\\\\\\\.|\\\\[\\\\g<square>*+])*+](( ?\\\\[[^]]*+])|(\\\\([\\\\t ]*+<?(.*?)>?[\\\\t ]*+((?<title>[\\"\'])(.*?)\\\\k<title>)?\\\\))))|(?!(?<=\\\\S)\\\\k<open>).)++(?<=\\\\S)(?=__\\\\b|\\\\*\\\\*)\\\\k<open>)","captures":{"1":{"name":"punctuation.definition.bold.markdown"}},"end":"(?<=\\\\S)(\\\\1)","name":"markup.bold.markdown","patterns":[{"applyEndPatternLast":1,"begin":"(?=<[^>]*?>)","end":"(?<=>)","patterns":[{"include":"text.html.derivative"}]},{"include":"#escape"},{"include":"#ampersand"},{"include":"#bracket"},{"include":"#raw"},{"include":"#bold"},{"include":"#italic"},{"include":"#image-inline"},{"include":"#link-inline"},{"include":"#link-inet"},{"include":"#link-email"},{"include":"#image-ref"},{"include":"#link-ref-literal"},{"include":"#link-ref"},{"include":"#link-ref-shortcut"},{"include":"#strikethrough"}]},"bracket":{"match":"<(?![!$/?A-Za-z])","name":"meta.other.valid-bracket.markdown"},"escape":{"match":"\\\\\\\\[-\\\\]!#(-+.>\\\\[\\\\\\\\_`{}]","name":"constant.character.escape.markdown"},"fenced_code_block":{"patterns":[{"include":"#fenced_code_block_css"},{"include":"#fenced_code_block_basic"},{"include":"#fenced_code_block_ini"},{"include":"#fenced_code_block_java"},{"include":"#fenced_code_block_lua"},{"include":"#fenced_code_block_makefile"},{"include":"#fenced_code_block_perl"},{"include":"#fenced_code_block_r"},{"include":"#fenced_code_block_ruby"},{"include":"#fenced_code_block_php"},{"include":"#fenced_code_block_sql"},{"include":"#fenced_code_block_vs_net"},{"include":"#fenced_code_block_xml"},{"include":"#fenced_code_block_xsl"},{"include":"#fenced_code_block_yaml"},{"include":"#fenced_code_block_dosbatch"},{"include":"#fenced_code_block_clojure"},{"include":"#fenced_code_block_coffee"},{"include":"#fenced_code_block_c"},{"include":"#fenced_code_block_cpp"},{"include":"#fenced_code_block_diff"},{"include":"#fenced_code_block_dockerfile"},{"include":"#fenced_code_block_git_commit"},{"include":"#fenced_code_block_git_rebase"},{"include":"#fenced_code_block_go"},{"include":"#fenced_code_block_groovy"},{"include":"#fenced_code_block_pug"},{"include":"#fenced_code_block_ignore"},{"include":"#fenced_code_block_js"},{"include":"#fenced_code_block_js_regexp"},{"include":"#fenced_code_block_json"},{"include":"#fenced_code_block_jsonc"},{"include":"#fenced_code_block_jsonl"},{"include":"#fenced_code_block_less"},{"include":"#fenced_code_block_objc"},{"include":"#fenced_code_block_swift"},{"include":"#fenced_code_block_scss"},{"include":"#fenced_code_block_perl6"},{"include":"#fenced_code_block_powershell"},{"include":"#fenced_code_block_python"},{"include":"#fenced_code_block_julia"},{"include":"#fenced_code_block_regexp_python"},{"include":"#fenced_code_block_rust"},{"include":"#fenced_code_block_scala"},{"include":"#fenced_code_block_shell"},{"include":"#fenced_code_block_ts"},{"include":"#fenced_code_block_tsx"},{"include":"#fenced_code_block_csharp"},{"include":"#fenced_code_block_fsharp"},{"include":"#fenced_code_block_dart"},{"include":"#fenced_code_block_handlebars"},{"include":"#fenced_code_block_markdown"},{"include":"#fenced_code_block_log"},{"include":"#fenced_code_block_erlang"},{"include":"#fenced_code_block_elixir"},{"include":"#fenced_code_block_latex"},{"include":"#fenced_code_block_bibtex"},{"include":"#fenced_code_block_twig"},{"include":"#fenced_code_block_yang"},{"include":"#fenced_code_block_abap"},{"include":"#fenced_code_block_restructuredtext"},{"include":"#fenced_code_block_unknown"}]},"fenced_code_block_abap":{"begin":"(^|\\\\G)(\\\\s*)(`{3,}|~{3,})\\\\s*(?i:(abap)((\\\\s+|[,:?{])[^`]*)?$)","beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"end":"(^|\\\\G)(\\\\2|\\\\s{0,3})(\\\\3)\\\\s*$","endCaptures":{"3":{"name":"punctuation.definition.markdown"}},"name":"markup.fenced_code.block.markdown","patterns":[{"begin":"(^|\\\\G)(\\\\s*)(.*)","contentName":"meta.embedded.block.abap","patterns":[{"include":"source.abap"}],"while":"(^|\\\\G)(?!\\\\s*([`~]{3,})\\\\s*$)"}]},"fenced_code_block_basic":{"begin":"(^|\\\\G)(\\\\s*)(`{3,}|~{3,})\\\\s*(?i:(html?|shtml|xhtml|inc|tmpl|tpl)((\\\\s+|[,:?{])[^`]*)?$)","beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"end":"(^|\\\\G)(\\\\2|\\\\s{0,3})(\\\\3)\\\\s*$","endCaptures":{"3":{"name":"punctuation.definition.markdown"}},"name":"markup.fenced_code.block.markdown","patterns":[{"begin":"(^|\\\\G)(\\\\s*)(.*)","contentName":"meta.embedded.block.html","patterns":[{"include":"text.html.basic"}],"while":"(^|\\\\G)(?!\\\\s*([`~]{3,})\\\\s*$)"}]},"fenced_code_block_bibtex":{"begin":"(^|\\\\G)(\\\\s*)(`{3,}|~{3,})\\\\s*(?i:(bibtex)((\\\\s+|[,:?{])[^`]*)?$)","beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"end":"(^|\\\\G)(\\\\2|\\\\s{0,3})(\\\\3)\\\\s*$","endCaptures":{"3":{"name":"punctuation.definition.markdown"}},"name":"markup.fenced_code.block.markdown","patterns":[{"begin":"(^|\\\\G)(\\\\s*)(.*)","contentName":"meta.embedded.block.bibtex","patterns":[{"include":"text.bibtex"}],"while":"(^|\\\\G)(?!\\\\s*([`~]{3,})\\\\s*$)"}]},"fenced_code_block_c":{"begin":"(^|\\\\G)(\\\\s*)(`{3,}|~{3,})\\\\s*(?i:([ch])((\\\\s+|[,:?{])[^`]*)?$)","beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"end":"(^|\\\\G)(\\\\2|\\\\s{0,3})(\\\\3)\\\\s*$","endCaptures":{"3":{"name":"punctuation.definition.markdown"}},"name":"markup.fenced_code.block.markdown","patterns":[{"begin":"(^|\\\\G)(\\\\s*)(.*)","contentName":"meta.embedded.block.c","patterns":[{"include":"source.c"}],"while":"(^|\\\\G)(?!\\\\s*([`~]{3,})\\\\s*$)"}]},"fenced_code_block_clojure":{"begin":"(^|\\\\G)(\\\\s*)(`{3,}|~{3,})\\\\s*(?i:(cl(?:js??|ojure))((\\\\s+|[,:?{])[^`]*)?$)","beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"end":"(^|\\\\G)(\\\\2|\\\\s{0,3})(\\\\3)\\\\s*$","endCaptures":{"3":{"name":"punctuation.definition.markdown"}},"name":"markup.fenced_code.block.markdown","patterns":[{"begin":"(^|\\\\G)(\\\\s*)(.*)","contentName":"meta.embedded.block.clojure","patterns":[{"include":"source.clojure"}],"while":"(^|\\\\G)(?!\\\\s*([`~]{3,})\\\\s*$)"}]},"fenced_code_block_coffee":{"begin":"(^|\\\\G)(\\\\s*)(`{3,}|~{3,})\\\\s*(?i:(coffee|Cakefile|coffee.erb)((\\\\s+|[,:?{])[^`]*)?$)","beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"end":"(^|\\\\G)(\\\\2|\\\\s{0,3})(\\\\3)\\\\s*$","endCaptures":{"3":{"name":"punctuation.definition.markdown"}},"name":"markup.fenced_code.block.markdown","patterns":[{"begin":"(^|\\\\G)(\\\\s*)(.*)","contentName":"meta.embedded.block.coffee","patterns":[{"include":"source.coffee"}],"while":"(^|\\\\G)(?!\\\\s*([`~]{3,})\\\\s*$)"}]},"fenced_code_block_cpp":{"begin":"(^|\\\\G)(\\\\s*)(`{3,}|~{3,})\\\\s*(?i:(c(?:pp|\\\\+\\\\+|xx))((\\\\s+|[,:?{])[^`]*)?$)","beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"end":"(^|\\\\G)(\\\\2|\\\\s{0,3})(\\\\3)\\\\s*$","endCaptures":{"3":{"name":"punctuation.definition.markdown"}},"name":"markup.fenced_code.block.markdown","patterns":[{"begin":"(^|\\\\G)(\\\\s*)(.*)","contentName":"meta.embedded.block.cpp source.cpp","patterns":[{"include":"source.cpp"}],"while":"(^|\\\\G)(?!\\\\s*([`~]{3,})\\\\s*$)"}]},"fenced_code_block_csharp":{"begin":"(^|\\\\G)(\\\\s*)(`{3,}|~{3,})\\\\s*(?i:(c(?:s|sharp|#))((\\\\s+|[,:?{])[^`]*)?$)","beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"end":"(^|\\\\G)(\\\\2|\\\\s{0,3})(\\\\3)\\\\s*$","endCaptures":{"3":{"name":"punctuation.definition.markdown"}},"name":"markup.fenced_code.block.markdown","patterns":[{"begin":"(^|\\\\G)(\\\\s*)(.*)","contentName":"meta.embedded.block.csharp","patterns":[{"include":"source.cs"}],"while":"(^|\\\\G)(?!\\\\s*([`~]{3,})\\\\s*$)"}]},"fenced_code_block_css":{"begin":"(^|\\\\G)(\\\\s*)(`{3,}|~{3,})\\\\s*(?i:(css(?:|.erb))((\\\\s+|[,:?{])[^`]*)?$)","beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"end":"(^|\\\\G)(\\\\2|\\\\s{0,3})(\\\\3)\\\\s*$","endCaptures":{"3":{"name":"punctuation.definition.markdown"}},"name":"markup.fenced_code.block.markdown","patterns":[{"begin":"(^|\\\\G)(\\\\s*)(.*)","contentName":"meta.embedded.block.css","patterns":[{"include":"source.css"}],"while":"(^|\\\\G)(?!\\\\s*([`~]{3,})\\\\s*$)"}]},"fenced_code_block_dart":{"begin":"(^|\\\\G)(\\\\s*)(`{3,}|~{3,})\\\\s*(?i:(dart)((\\\\s+|[,:?{])[^`]*)?$)","beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"end":"(^|\\\\G)(\\\\2|\\\\s{0,3})(\\\\3)\\\\s*$","endCaptures":{"3":{"name":"punctuation.definition.markdown"}},"name":"markup.fenced_code.block.markdown","patterns":[{"begin":"(^|\\\\G)(\\\\s*)(.*)","contentName":"meta.embedded.block.dart","patterns":[{"include":"source.dart"}],"while":"(^|\\\\G)(?!\\\\s*([`~]{3,})\\\\s*$)"}]},"fenced_code_block_diff":{"begin":"(^|\\\\G)(\\\\s*)(`{3,}|~{3,})\\\\s*(?i:(patch|diff|rej)((\\\\s+|[,:?{])[^`]*)?$)","beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"end":"(^|\\\\G)(\\\\2|\\\\s{0,3})(\\\\3)\\\\s*$","endCaptures":{"3":{"name":"punctuation.definition.markdown"}},"name":"markup.fenced_code.block.markdown","patterns":[{"begin":"(^|\\\\G)(\\\\s*)(.*)","contentName":"meta.embedded.block.diff","patterns":[{"include":"source.diff"}],"while":"(^|\\\\G)(?!\\\\s*([`~]{3,})\\\\s*$)"}]},"fenced_code_block_dockerfile":{"begin":"(^|\\\\G)(\\\\s*)(`{3,}|~{3,})\\\\s*(?i:([Dd]ockerfile)((\\\\s+|[,:?{])[^`]*)?$)","beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"end":"(^|\\\\G)(\\\\2|\\\\s{0,3})(\\\\3)\\\\s*$","endCaptures":{"3":{"name":"punctuation.definition.markdown"}},"name":"markup.fenced_code.block.markdown","patterns":[{"begin":"(^|\\\\G)(\\\\s*)(.*)","contentName":"meta.embedded.block.dockerfile","patterns":[{"include":"source.dockerfile"}],"while":"(^|\\\\G)(?!\\\\s*([`~]{3,})\\\\s*$)"}]},"fenced_code_block_dosbatch":{"begin":"(^|\\\\G)(\\\\s*)(`{3,}|~{3,})\\\\s*(?i:(bat(?:|ch))((\\\\s+|[,:?{])[^`]*)?$)","beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"end":"(^|\\\\G)(\\\\2|\\\\s{0,3})(\\\\3)\\\\s*$","endCaptures":{"3":{"name":"punctuation.definition.markdown"}},"name":"markup.fenced_code.block.markdown","patterns":[{"begin":"(^|\\\\G)(\\\\s*)(.*)","contentName":"meta.embedded.block.dosbatch","patterns":[{"include":"source.batchfile"}],"while":"(^|\\\\G)(?!\\\\s*([`~]{3,})\\\\s*$)"}]},"fenced_code_block_elixir":{"begin":"(^|\\\\G)(\\\\s*)(`{3,}|~{3,})\\\\s*(?i:(elixir)((\\\\s+|[,:?{])[^`]*)?$)","beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"end":"(^|\\\\G)(\\\\2|\\\\s{0,3})(\\\\3)\\\\s*$","endCaptures":{"3":{"name":"punctuation.definition.markdown"}},"name":"markup.fenced_code.block.markdown","patterns":[{"begin":"(^|\\\\G)(\\\\s*)(.*)","contentName":"meta.embedded.block.elixir","patterns":[{"include":"source.elixir"}],"while":"(^|\\\\G)(?!\\\\s*([`~]{3,})\\\\s*$)"}]},"fenced_code_block_erlang":{"begin":"(^|\\\\G)(\\\\s*)(`{3,}|~{3,})\\\\s*(?i:(erlang)((\\\\s+|[,:?{])[^`]*)?$)","beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"end":"(^|\\\\G)(\\\\2|\\\\s{0,3})(\\\\3)\\\\s*$","endCaptures":{"3":{"name":"punctuation.definition.markdown"}},"name":"markup.fenced_code.block.markdown","patterns":[{"begin":"(^|\\\\G)(\\\\s*)(.*)","contentName":"meta.embedded.block.erlang","patterns":[{"include":"source.erlang"}],"while":"(^|\\\\G)(?!\\\\s*([`~]{3,})\\\\s*$)"}]},"fenced_code_block_fsharp":{"begin":"(^|\\\\G)(\\\\s*)(`{3,}|~{3,})\\\\s*(?i:(f(?:s|sharp|#))((\\\\s+|[,:?{])[^`]*)?$)","beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"end":"(^|\\\\G)(\\\\2|\\\\s{0,3})(\\\\3)\\\\s*$","endCaptures":{"3":{"name":"punctuation.definition.markdown"}},"name":"markup.fenced_code.block.markdown","patterns":[{"begin":"(^|\\\\G)(\\\\s*)(.*)","contentName":"meta.embedded.block.fsharp","patterns":[{"include":"source.fsharp"}],"while":"(^|\\\\G)(?!\\\\s*([`~]{3,})\\\\s*$)"}]},"fenced_code_block_git_commit":{"begin":"(^|\\\\G)(\\\\s*)(`{3,}|~{3,})\\\\s*(?i:((?:COMMIT_EDIT|MERGE_)MSG)((\\\\s+|[,:?{])[^`]*)?$)","beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"end":"(^|\\\\G)(\\\\2|\\\\s{0,3})(\\\\3)\\\\s*$","endCaptures":{"3":{"name":"punctuation.definition.markdown"}},"name":"markup.fenced_code.block.markdown","patterns":[{"begin":"(^|\\\\G)(\\\\s*)(.*)","contentName":"meta.embedded.block.git_commit","patterns":[{"include":"text.git-commit"}],"while":"(^|\\\\G)(?!\\\\s*([`~]{3,})\\\\s*$)"}]},"fenced_code_block_git_rebase":{"begin":"(^|\\\\G)(\\\\s*)(`{3,}|~{3,})\\\\s*(?i:(git-rebase-todo)((\\\\s+|[,:?{])[^`]*)?$)","beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"end":"(^|\\\\G)(\\\\2|\\\\s{0,3})(\\\\3)\\\\s*$","endCaptures":{"3":{"name":"punctuation.definition.markdown"}},"name":"markup.fenced_code.block.markdown","patterns":[{"begin":"(^|\\\\G)(\\\\s*)(.*)","contentName":"meta.embedded.block.git_rebase","patterns":[{"include":"text.git-rebase"}],"while":"(^|\\\\G)(?!\\\\s*([`~]{3,})\\\\s*$)"}]},"fenced_code_block_go":{"begin":"(^|\\\\G)(\\\\s*)(`{3,}|~{3,})\\\\s*(?i:(go(?:|lang))((\\\\s+|[,:?{])[^`]*)?$)","beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"end":"(^|\\\\G)(\\\\2|\\\\s{0,3})(\\\\3)\\\\s*$","endCaptures":{"3":{"name":"punctuation.definition.markdown"}},"name":"markup.fenced_code.block.markdown","patterns":[{"begin":"(^|\\\\G)(\\\\s*)(.*)","contentName":"meta.embedded.block.go","patterns":[{"include":"source.go"}],"while":"(^|\\\\G)(?!\\\\s*([`~]{3,})\\\\s*$)"}]},"fenced_code_block_groovy":{"begin":"(^|\\\\G)(\\\\s*)(`{3,}|~{3,})\\\\s*(?i:(g(?:roovy|vy))((\\\\s+|[,:?{])[^`]*)?$)","beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"end":"(^|\\\\G)(\\\\2|\\\\s{0,3})(\\\\3)\\\\s*$","endCaptures":{"3":{"name":"punctuation.definition.markdown"}},"name":"markup.fenced_code.block.markdown","patterns":[{"begin":"(^|\\\\G)(\\\\s*)(.*)","contentName":"meta.embedded.block.groovy","patterns":[{"include":"source.groovy"}],"while":"(^|\\\\G)(?!\\\\s*([`~]{3,})\\\\s*$)"}]},"fenced_code_block_handlebars":{"begin":"(^|\\\\G)(\\\\s*)(`{3,}|~{3,})\\\\s*(?i:(h(?:andlebars|bs))((\\\\s+|[,:?{])[^`]*)?$)","beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"end":"(^|\\\\G)(\\\\2|\\\\s{0,3})(\\\\3)\\\\s*$","endCaptures":{"3":{"name":"punctuation.definition.markdown"}},"name":"markup.fenced_code.block.markdown","patterns":[{"begin":"(^|\\\\G)(\\\\s*)(.*)","contentName":"meta.embedded.block.handlebars","patterns":[{"include":"text.html.handlebars"}],"while":"(^|\\\\G)(?!\\\\s*([`~]{3,})\\\\s*$)"}]},"fenced_code_block_ignore":{"begin":"(^|\\\\G)(\\\\s*)(`{3,}|~{3,})\\\\s*(?i:((?:git|)ignore)((\\\\s+|[,:?{])[^`]*)?$)","beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"end":"(^|\\\\G)(\\\\2|\\\\s{0,3})(\\\\3)\\\\s*$","endCaptures":{"3":{"name":"punctuation.definition.markdown"}},"name":"markup.fenced_code.block.markdown","patterns":[{"begin":"(^|\\\\G)(\\\\s*)(.*)","contentName":"meta.embedded.block.ignore","patterns":[{"include":"source.ignore"}],"while":"(^|\\\\G)(?!\\\\s*([`~]{3,})\\\\s*$)"}]},"fenced_code_block_ini":{"begin":"(^|\\\\G)(\\\\s*)(`{3,}|~{3,})\\\\s*(?i:(ini|conf)((\\\\s+|[,:?{])[^`]*)?$)","beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"end":"(^|\\\\G)(\\\\2|\\\\s{0,3})(\\\\3)\\\\s*$","endCaptures":{"3":{"name":"punctuation.definition.markdown"}},"name":"markup.fenced_code.block.markdown","patterns":[{"begin":"(^|\\\\G)(\\\\s*)(.*)","contentName":"meta.embedded.block.ini","patterns":[{"include":"source.ini"}],"while":"(^|\\\\G)(?!\\\\s*([`~]{3,})\\\\s*$)"}]},"fenced_code_block_java":{"begin":"(^|\\\\G)(\\\\s*)(`{3,}|~{3,})\\\\s*(?i:(java|bsh)((\\\\s+|[,:?{])[^`]*)?$)","beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"end":"(^|\\\\G)(\\\\2|\\\\s{0,3})(\\\\3)\\\\s*$","endCaptures":{"3":{"name":"punctuation.definition.markdown"}},"name":"markup.fenced_code.block.markdown","patterns":[{"begin":"(^|\\\\G)(\\\\s*)(.*)","contentName":"meta.embedded.block.java","patterns":[{"include":"source.java"}],"while":"(^|\\\\G)(?!\\\\s*([`~]{3,})\\\\s*$)"}]},"fenced_code_block_js":{"begin":"(^|\\\\G)(\\\\s*)(`{3,}|~{3,})\\\\s*(?i:(jsx??|javascript|es6|mjs|cjs|dataviewjs|\\\\{\\\\.js.+?})((\\\\s+|[,:?{])[^`]*)?$)","beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"end":"(^|\\\\G)(\\\\2|\\\\s{0,3})(\\\\3)\\\\s*$","endCaptures":{"3":{"name":"punctuation.definition.markdown"}},"name":"markup.fenced_code.block.markdown","patterns":[{"begin":"(^|\\\\G)(\\\\s*)(.*)","contentName":"meta.embedded.block.javascript","patterns":[{"include":"source.js"}],"while":"(^|\\\\G)(?!\\\\s*([`~]{3,})\\\\s*$)"}]},"fenced_code_block_js_regexp":{"begin":"(^|\\\\G)(\\\\s*)(`{3,}|~{3,})\\\\s*(?i:(regexp)((\\\\s+|[,:?{])[^`]*)?$)","beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"end":"(^|\\\\G)(\\\\2|\\\\s{0,3})(\\\\3)\\\\s*$","endCaptures":{"3":{"name":"punctuation.definition.markdown"}},"name":"markup.fenced_code.block.markdown","patterns":[{"begin":"(^|\\\\G)(\\\\s*)(.*)","contentName":"meta.embedded.block.js_regexp","patterns":[{"include":"source.js.regexp"}],"while":"(^|\\\\G)(?!\\\\s*([`~]{3,})\\\\s*$)"}]},"fenced_code_block_json":{"begin":"(^|\\\\G)(\\\\s*)(`{3,}|~{3,})\\\\s*(?i:(json5??|sublime-settings|sublime-menu|sublime-keymap|sublime-mousemap|sublime-theme|sublime-build|sublime-project|sublime-completions)((\\\\s+|[,:?{])[^`]*)?$)","beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"end":"(^|\\\\G)(\\\\2|\\\\s{0,3})(\\\\3)\\\\s*$","endCaptures":{"3":{"name":"punctuation.definition.markdown"}},"name":"markup.fenced_code.block.markdown","patterns":[{"begin":"(^|\\\\G)(\\\\s*)(.*)","contentName":"meta.embedded.block.json","patterns":[{"include":"source.json"}],"while":"(^|\\\\G)(?!\\\\s*([`~]{3,})\\\\s*$)"}]},"fenced_code_block_jsonc":{"begin":"(^|\\\\G)(\\\\s*)(`{3,}|~{3,})\\\\s*(?i:(jsonc)((\\\\s+|[,:?{])[^`]*)?$)","beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"end":"(^|\\\\G)(\\\\2|\\\\s{0,3})(\\\\3)\\\\s*$","endCaptures":{"3":{"name":"punctuation.definition.markdown"}},"name":"markup.fenced_code.block.markdown","patterns":[{"begin":"(^|\\\\G)(\\\\s*)(.*)","contentName":"meta.embedded.block.jsonc","patterns":[{"include":"source.json.comments"}],"while":"(^|\\\\G)(?!\\\\s*([`~]{3,})\\\\s*$)"}]},"fenced_code_block_jsonl":{"begin":"(^|\\\\G)(\\\\s*)(`{3,}|~{3,})\\\\s*(?i:(jsonl(?:|ines))((\\\\s+|[,:?{])[^`]*)?$)","beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"end":"(^|\\\\G)(\\\\2|\\\\s{0,3})(\\\\3)\\\\s*$","endCaptures":{"3":{"name":"punctuation.definition.markdown"}},"name":"markup.fenced_code.block.markdown","patterns":[{"begin":"(^|\\\\G)(\\\\s*)(.*)","contentName":"meta.embedded.block.jsonl","patterns":[{"include":"source.json.lines"}],"while":"(^|\\\\G)(?!\\\\s*([`~]{3,})\\\\s*$)"}]},"fenced_code_block_julia":{"begin":"(^|\\\\G)(\\\\s*)(`{3,}|~{3,})\\\\s*(?i:(julia|\\\\{\\\\.julia.+?})((\\\\s+|[,:?{])[^`]*)?$)","beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"end":"(^|\\\\G)(\\\\2|\\\\s{0,3})(\\\\3)\\\\s*$","endCaptures":{"3":{"name":"punctuation.definition.markdown"}},"name":"markup.fenced_code.block.markdown","patterns":[{"begin":"(^|\\\\G)(\\\\s*)(.*)","contentName":"meta.embedded.block.julia","patterns":[{"include":"source.julia"}],"while":"(^|\\\\G)(?!\\\\s*([`~]{3,})\\\\s*$)"}]},"fenced_code_block_latex":{"begin":"(^|\\\\G)(\\\\s*)(`{3,}|~{3,})\\\\s*(?i:((?:la|)tex)((\\\\s+|[,:?{])[^`]*)?$)","beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"end":"(^|\\\\G)(\\\\2|\\\\s{0,3})(\\\\3)\\\\s*$","endCaptures":{"3":{"name":"punctuation.definition.markdown"}},"name":"markup.fenced_code.block.markdown","patterns":[{"begin":"(^|\\\\G)(\\\\s*)(.*)","contentName":"meta.embedded.block.latex","patterns":[{"include":"text.tex.latex"}],"while":"(^|\\\\G)(?!\\\\s*([`~]{3,})\\\\s*$)"}]},"fenced_code_block_less":{"begin":"(^|\\\\G)(\\\\s*)(`{3,}|~{3,})\\\\s*(?i:(less)((\\\\s+|[,:?{])[^`]*)?$)","beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"end":"(^|\\\\G)(\\\\2|\\\\s{0,3})(\\\\3)\\\\s*$","endCaptures":{"3":{"name":"punctuation.definition.markdown"}},"name":"markup.fenced_code.block.markdown","patterns":[{"begin":"(^|\\\\G)(\\\\s*)(.*)","contentName":"meta.embedded.block.less","patterns":[{"include":"source.css.less"}],"while":"(^|\\\\G)(?!\\\\s*([`~]{3,})\\\\s*$)"}]},"fenced_code_block_log":{"begin":"(^|\\\\G)(\\\\s*)(`{3,}|~{3,})\\\\s*(?i:(log)((\\\\s+|[,:?{])[^`]*)?$)","beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"end":"(^|\\\\G)(\\\\2|\\\\s{0,3})(\\\\3)\\\\s*$","endCaptures":{"3":{"name":"punctuation.definition.markdown"}},"name":"markup.fenced_code.block.markdown","patterns":[{"begin":"(^|\\\\G)(\\\\s*)(.*)","contentName":"meta.embedded.block.log","patterns":[{"include":"text.log"}],"while":"(^|\\\\G)(?!\\\\s*([`~]{3,})\\\\s*$)"}]},"fenced_code_block_lua":{"begin":"(^|\\\\G)(\\\\s*)(`{3,}|~{3,})\\\\s*(?i:(lua)((\\\\s+|[,:?{])[^`]*)?$)","beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"end":"(^|\\\\G)(\\\\2|\\\\s{0,3})(\\\\3)\\\\s*$","endCaptures":{"3":{"name":"punctuation.definition.markdown"}},"name":"markup.fenced_code.block.markdown","patterns":[{"begin":"(^|\\\\G)(\\\\s*)(.*)","contentName":"meta.embedded.block.lua","patterns":[{"include":"source.lua"}],"while":"(^|\\\\G)(?!\\\\s*([`~]{3,})\\\\s*$)"}]},"fenced_code_block_makefile":{"begin":"(^|\\\\G)(\\\\s*)(`{3,}|~{3,})\\\\s*(?i:((?:[Mm]|GNUm|OCamlM)akefile)((\\\\s+|[,:?{])[^`]*)?$)","beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"end":"(^|\\\\G)(\\\\2|\\\\s{0,3})(\\\\3)\\\\s*$","endCaptures":{"3":{"name":"punctuation.definition.markdown"}},"name":"markup.fenced_code.block.markdown","patterns":[{"begin":"(^|\\\\G)(\\\\s*)(.*)","contentName":"meta.embedded.block.makefile","patterns":[{"include":"source.makefile"}],"while":"(^|\\\\G)(?!\\\\s*([`~]{3,})\\\\s*$)"}]},"fenced_code_block_markdown":{"begin":"(^|\\\\G)(\\\\s*)(`{3,}|~{3,})\\\\s*(?i:(m(?:arkdown|d))((\\\\s+|[,:?{])[^`]*)?$)","beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"end":"(^|\\\\G)(\\\\2|\\\\s{0,3})(\\\\3)\\\\s*$","endCaptures":{"3":{"name":"punctuation.definition.markdown"}},"name":"markup.fenced_code.block.markdown","patterns":[{"begin":"(^|\\\\G)(\\\\s*)(.*)","contentName":"meta.embedded.block.markdown","patterns":[{"include":"text.html.markdown"}],"while":"(^|\\\\G)(?!\\\\s*([`~]{3,})\\\\s*$)"}]},"fenced_code_block_objc":{"begin":"(^|\\\\G)(\\\\s*)(`{3,}|~{3,})\\\\s*(?i:(objectivec|objective-c|mm|objc|obj-c|[hm])((\\\\s+|[,:?{])[^`]*)?$)","beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"end":"(^|\\\\G)(\\\\2|\\\\s{0,3})(\\\\3)\\\\s*$","endCaptures":{"3":{"name":"punctuation.definition.markdown"}},"name":"markup.fenced_code.block.markdown","patterns":[{"begin":"(^|\\\\G)(\\\\s*)(.*)","contentName":"meta.embedded.block.objc","patterns":[{"include":"source.objc"}],"while":"(^|\\\\G)(?!\\\\s*([`~]{3,})\\\\s*$)"}]},"fenced_code_block_perl":{"begin":"(^|\\\\G)(\\\\s*)(`{3,}|~{3,})\\\\s*(?i:(perl|pl|pm|pod|t|PL|psgi|vcl)((\\\\s+|[,:?{])[^`]*)?$)","beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"end":"(^|\\\\G)(\\\\2|\\\\s{0,3})(\\\\3)\\\\s*$","endCaptures":{"3":{"name":"punctuation.definition.markdown"}},"name":"markup.fenced_code.block.markdown","patterns":[{"begin":"(^|\\\\G)(\\\\s*)(.*)","contentName":"meta.embedded.block.perl","patterns":[{"include":"source.perl"}],"while":"(^|\\\\G)(?!\\\\s*([`~]{3,})\\\\s*$)"}]},"fenced_code_block_perl6":{"begin":"(^|\\\\G)(\\\\s*)(`{3,}|~{3,})\\\\s*(?i:(perl6|p6|pl6|pm6|nqp)((\\\\s+|[,:?{])[^`]*)?$)","beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"end":"(^|\\\\G)(\\\\2|\\\\s{0,3})(\\\\3)\\\\s*$","endCaptures":{"3":{"name":"punctuation.definition.markdown"}},"name":"markup.fenced_code.block.markdown","patterns":[{"begin":"(^|\\\\G)(\\\\s*)(.*)","contentName":"meta.embedded.block.perl6","patterns":[{"include":"source.perl.6"}],"while":"(^|\\\\G)(?!\\\\s*([`~]{3,})\\\\s*$)"}]},"fenced_code_block_php":{"begin":"(^|\\\\G)(\\\\s*)(`{3,}|~{3,})\\\\s*(?i:(php3??|php4|php5|phpt|phtml|aw|ctp)((\\\\s+|[,:?{])[^`]*)?$)","beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"end":"(^|\\\\G)(\\\\2|\\\\s{0,3})(\\\\3)\\\\s*$","endCaptures":{"3":{"name":"punctuation.definition.markdown"}},"name":"markup.fenced_code.block.markdown","patterns":[{"begin":"(^|\\\\G)(\\\\s*)(.*)","contentName":"meta.embedded.block.php","patterns":[{"include":"text.html.basic"},{"include":"source.php"}],"while":"(^|\\\\G)(?!\\\\s*([`~]{3,})\\\\s*$)"}]},"fenced_code_block_powershell":{"begin":"(^|\\\\G)(\\\\s*)(`{3,}|~{3,})\\\\s*(?i:(p(?:owershell|s1|sm1|sd1|wsh))((\\\\s+|[,:?{])[^`]*)?$)","beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"end":"(^|\\\\G)(\\\\2|\\\\s{0,3})(\\\\3)\\\\s*$","endCaptures":{"3":{"name":"punctuation.definition.markdown"}},"name":"markup.fenced_code.block.markdown","patterns":[{"begin":"(^|\\\\G)(\\\\s*)(.*)","contentName":"meta.embedded.block.powershell","patterns":[{"include":"source.powershell"}],"while":"(^|\\\\G)(?!\\\\s*([`~]{3,})\\\\s*$)"}]},"fenced_code_block_pug":{"begin":"(^|\\\\G)(\\\\s*)(`{3,}|~{3,})\\\\s*(?i:(jade|pug)((\\\\s+|[,:?{])[^`]*)?$)","beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"end":"(^|\\\\G)(\\\\2|\\\\s{0,3})(\\\\3)\\\\s*$","endCaptures":{"3":{"name":"punctuation.definition.markdown"}},"name":"markup.fenced_code.block.markdown","patterns":[{"begin":"(^|\\\\G)(\\\\s*)(.*)","contentName":"meta.embedded.block.pug","patterns":[{"include":"text.pug"}],"while":"(^|\\\\G)(?!\\\\s*([`~]{3,})\\\\s*$)"}]},"fenced_code_block_python":{"begin":"(^|\\\\G)(\\\\s*)(`{3,}|~{3,})\\\\s*(?i:(python|py3??|rpy|pyw|cpy|SConstruct|Sconstruct|sconstruct|SConscript|gypi??|\\\\{\\\\.python.+?})((\\\\s+|[,:?{])[^`]*)?$)","beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"end":"(^|\\\\G)(\\\\2|\\\\s{0,3})(\\\\3)\\\\s*$","endCaptures":{"3":{"name":"punctuation.definition.markdown"}},"name":"markup.fenced_code.block.markdown","patterns":[{"begin":"(^|\\\\G)(\\\\s*)(.*)","contentName":"meta.embedded.block.python","patterns":[{"include":"source.python"}],"while":"(^|\\\\G)(?!\\\\s*([`~]{3,})\\\\s*$)"}]},"fenced_code_block_r":{"begin":"(^|\\\\G)(\\\\s*)(`{3,}|~{3,})\\\\s*(?i:([RSrs]|Rprofile|\\\\{\\\\.r.+?})((\\\\s+|[,:?{])[^`]*)?$)","beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"end":"(^|\\\\G)(\\\\2|\\\\s{0,3})(\\\\3)\\\\s*$","endCaptures":{"3":{"name":"punctuation.definition.markdown"}},"name":"markup.fenced_code.block.markdown","patterns":[{"begin":"(^|\\\\G)(\\\\s*)(.*)","contentName":"meta.embedded.block.r","patterns":[{"include":"source.r"}],"while":"(^|\\\\G)(?!\\\\s*([`~]{3,})\\\\s*$)"}]},"fenced_code_block_regexp_python":{"begin":"(^|\\\\G)(\\\\s*)(`{3,}|~{3,})\\\\s*(?i:(re)((\\\\s+|[,:?{])[^`]*)?$)","beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"end":"(^|\\\\G)(\\\\2|\\\\s{0,3})(\\\\3)\\\\s*$","endCaptures":{"3":{"name":"punctuation.definition.markdown"}},"name":"markup.fenced_code.block.markdown","patterns":[{"begin":"(^|\\\\G)(\\\\s*)(.*)","contentName":"meta.embedded.block.regexp_python","patterns":[{"include":"source.regexp.python"}],"while":"(^|\\\\G)(?!\\\\s*([`~]{3,})\\\\s*$)"}]},"fenced_code_block_restructuredtext":{"begin":"(^|\\\\G)(\\\\s*)(`{3,}|~{3,})\\\\s*(?i:(r(?:estructuredtext|st))((\\\\s+|[,:?{])[^`]*)?$)","beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"end":"(^|\\\\G)(\\\\2|\\\\s{0,3})(\\\\3)\\\\s*$","endCaptures":{"3":{"name":"punctuation.definition.markdown"}},"name":"markup.fenced_code.block.markdown","patterns":[{"begin":"(^|\\\\G)(\\\\s*)(.*)","contentName":"meta.embedded.block.restructuredtext","patterns":[{"include":"source.rst"}],"while":"(^|\\\\G)(?!\\\\s*([`~]{3,})\\\\s*$)"}]},"fenced_code_block_ruby":{"begin":"(^|\\\\G)(\\\\s*)(`{3,}|~{3,})\\\\s*(?i:(ruby|rbx??|rjs|Rakefile|rake|cgi|fcgi|gemspec|irbrc|Capfile|ru|prawn|Cheffile|Gemfile|Guardfile|Hobofile|Vagrantfile|Appraisals|Rantfile|Berksfile|Berksfile.lock|Thorfile|Puppetfile)((\\\\s+|[,:?{])[^`]*)?$)","beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"end":"(^|\\\\G)(\\\\2|\\\\s{0,3})(\\\\3)\\\\s*$","endCaptures":{"3":{"name":"punctuation.definition.markdown"}},"name":"markup.fenced_code.block.markdown","patterns":[{"begin":"(^|\\\\G)(\\\\s*)(.*)","contentName":"meta.embedded.block.ruby","patterns":[{"include":"source.ruby"}],"while":"(^|\\\\G)(?!\\\\s*([`~]{3,})\\\\s*$)"}]},"fenced_code_block_rust":{"begin":"(^|\\\\G)(\\\\s*)(`{3,}|~{3,})\\\\s*(?i:(rust|rs|\\\\{\\\\.rust.+?})((\\\\s+|[,:?{])[^`]*)?$)","beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"end":"(^|\\\\G)(\\\\2|\\\\s{0,3})(\\\\3)\\\\s*$","endCaptures":{"3":{"name":"punctuation.definition.markdown"}},"name":"markup.fenced_code.block.markdown","patterns":[{"begin":"(^|\\\\G)(\\\\s*)(.*)","contentName":"meta.embedded.block.rust","patterns":[{"include":"source.rust"}],"while":"(^|\\\\G)(?!\\\\s*([`~]{3,})\\\\s*$)"}]},"fenced_code_block_scala":{"begin":"(^|\\\\G)(\\\\s*)(`{3,}|~{3,})\\\\s*(?i:(s(?:cala|bt))((\\\\s+|[,:?{])[^`]*)?$)","beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"end":"(^|\\\\G)(\\\\2|\\\\s{0,3})(\\\\3)\\\\s*$","endCaptures":{"3":{"name":"punctuation.definition.markdown"}},"name":"markup.fenced_code.block.markdown","patterns":[{"begin":"(^|\\\\G)(\\\\s*)(.*)","contentName":"meta.embedded.block.scala","patterns":[{"include":"source.scala"}],"while":"(^|\\\\G)(?!\\\\s*([`~]{3,})\\\\s*$)"}]},"fenced_code_block_scss":{"begin":"(^|\\\\G)(\\\\s*)(`{3,}|~{3,})\\\\s*(?i:(scss)((\\\\s+|[,:?{])[^`]*)?$)","beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"end":"(^|\\\\G)(\\\\2|\\\\s{0,3})(\\\\3)\\\\s*$","endCaptures":{"3":{"name":"punctuation.definition.markdown"}},"name":"markup.fenced_code.block.markdown","patterns":[{"begin":"(^|\\\\G)(\\\\s*)(.*)","contentName":"meta.embedded.block.scss","patterns":[{"include":"source.css.scss"}],"while":"(^|\\\\G)(?!\\\\s*([`~]{3,})\\\\s*$)"}]},"fenced_code_block_shell":{"begin":"(^|\\\\G)(\\\\s*)(`{3,}|~{3,})\\\\s*(?i:(shell|sh|bash|zsh|bashrc|bash_profile|bash_login|profile|bash_logout|.textmate_init|\\\\{\\\\.bash.+?})((\\\\s+|[,:?{])[^`]*)?$)","beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"end":"(^|\\\\G)(\\\\2|\\\\s{0,3})(\\\\3)\\\\s*$","endCaptures":{"3":{"name":"punctuation.definition.markdown"}},"name":"markup.fenced_code.block.markdown","patterns":[{"begin":"(^|\\\\G)(\\\\s*)(.*)","contentName":"meta.embedded.block.shellscript","patterns":[{"include":"source.shell"}],"while":"(^|\\\\G)(?!\\\\s*([`~]{3,})\\\\s*$)"}]},"fenced_code_block_sql":{"begin":"(^|\\\\G)(\\\\s*)(`{3,}|~{3,})\\\\s*(?i:(sql|ddl|dml)((\\\\s+|[,:?{])[^`]*)?$)","beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"end":"(^|\\\\G)(\\\\2|\\\\s{0,3})(\\\\3)\\\\s*$","endCaptures":{"3":{"name":"punctuation.definition.markdown"}},"name":"markup.fenced_code.block.markdown","patterns":[{"begin":"(^|\\\\G)(\\\\s*)(.*)","contentName":"meta.embedded.block.sql","patterns":[{"include":"source.sql"}],"while":"(^|\\\\G)(?!\\\\s*([`~]{3,})\\\\s*$)"}]},"fenced_code_block_swift":{"begin":"(^|\\\\G)(\\\\s*)(`{3,}|~{3,})\\\\s*(?i:(swift)((\\\\s+|[,:?{])[^`]*)?$)","beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"end":"(^|\\\\G)(\\\\2|\\\\s{0,3})(\\\\3)\\\\s*$","endCaptures":{"3":{"name":"punctuation.definition.markdown"}},"name":"markup.fenced_code.block.markdown","patterns":[{"begin":"(^|\\\\G)(\\\\s*)(.*)","contentName":"meta.embedded.block.swift","patterns":[{"include":"source.swift"}],"while":"(^|\\\\G)(?!\\\\s*([`~]{3,})\\\\s*$)"}]},"fenced_code_block_ts":{"begin":"(^|\\\\G)(\\\\s*)(`{3,}|~{3,})\\\\s*(?i:(t(?:ypescript|s))((\\\\s+|[,:?{])[^`]*)?$)","beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"end":"(^|\\\\G)(\\\\2|\\\\s{0,3})(\\\\3)\\\\s*$","endCaptures":{"3":{"name":"punctuation.definition.markdown"}},"name":"markup.fenced_code.block.markdown","patterns":[{"begin":"(^|\\\\G)(\\\\s*)(.*)","contentName":"meta.embedded.block.typescript","patterns":[{"include":"source.ts"}],"while":"(^|\\\\G)(?!\\\\s*([`~]{3,})\\\\s*$)"}]},"fenced_code_block_tsx":{"begin":"(^|\\\\G)(\\\\s*)(`{3,}|~{3,})\\\\s*(?i:(tsx)((\\\\s+|[,:?{])[^`]*)?$)","beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"end":"(^|\\\\G)(\\\\2|\\\\s{0,3})(\\\\3)\\\\s*$","endCaptures":{"3":{"name":"punctuation.definition.markdown"}},"name":"markup.fenced_code.block.markdown","patterns":[{"begin":"(^|\\\\G)(\\\\s*)(.*)","contentName":"meta.embedded.block.typescriptreact","patterns":[{"include":"source.tsx"}],"while":"(^|\\\\G)(?!\\\\s*([`~]{3,})\\\\s*$)"}]},"fenced_code_block_twig":{"begin":"(^|\\\\G)(\\\\s*)(`{3,}|~{3,})\\\\s*(?i:(twig)((\\\\s+|[,:?{])[^`]*)?$)","beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"end":"(^|\\\\G)(\\\\2|\\\\s{0,3})(\\\\3)\\\\s*$","endCaptures":{"3":{"name":"punctuation.definition.markdown"}},"name":"markup.fenced_code.block.markdown","patterns":[{"begin":"(^|\\\\G)(\\\\s*)(.*)","contentName":"meta.embedded.block.twig","patterns":[{"include":"source.twig"}],"while":"(^|\\\\G)(?!\\\\s*([`~]{3,})\\\\s*$)"}]},"fenced_code_block_unknown":{"begin":"(^|\\\\G)(\\\\s*)(`{3,}|~{3,})\\\\s*(?=([^`]*)?$)","beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language"}},"end":"(^|\\\\G)(\\\\2|\\\\s{0,3})(\\\\3)\\\\s*$","endCaptures":{"3":{"name":"punctuation.definition.markdown"}},"name":"markup.fenced_code.block.markdown"},"fenced_code_block_vs_net":{"begin":"(^|\\\\G)(\\\\s*)(`{3,}|~{3,})\\\\s*(?i:(vb)((\\\\s+|[,:?{])[^`]*)?$)","beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"end":"(^|\\\\G)(\\\\2|\\\\s{0,3})(\\\\3)\\\\s*$","endCaptures":{"3":{"name":"punctuation.definition.markdown"}},"name":"markup.fenced_code.block.markdown","patterns":[{"begin":"(^|\\\\G)(\\\\s*)(.*)","contentName":"meta.embedded.block.vs_net","patterns":[{"include":"source.asp.vb.net"}],"while":"(^|\\\\G)(?!\\\\s*([`~]{3,})\\\\s*$)"}]},"fenced_code_block_xml":{"begin":"(^|\\\\G)(\\\\s*)(`{3,}|~{3,})\\\\s*(?i:(xml|xsd|tld|jsp|pt|cpt|dtml|rss|opml)((\\\\s+|[,:?{])[^`]*)?$)","beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"end":"(^|\\\\G)(\\\\2|\\\\s{0,3})(\\\\3)\\\\s*$","endCaptures":{"3":{"name":"punctuation.definition.markdown"}},"name":"markup.fenced_code.block.markdown","patterns":[{"begin":"(^|\\\\G)(\\\\s*)(.*)","contentName":"meta.embedded.block.xml","patterns":[{"include":"text.xml"}],"while":"(^|\\\\G)(?!\\\\s*([`~]{3,})\\\\s*$)"}]},"fenced_code_block_xsl":{"begin":"(^|\\\\G)(\\\\s*)(`{3,}|~{3,})\\\\s*(?i:(xslt??)((\\\\s+|[,:?{])[^`]*)?$)","beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"end":"(^|\\\\G)(\\\\2|\\\\s{0,3})(\\\\3)\\\\s*$","endCaptures":{"3":{"name":"punctuation.definition.markdown"}},"name":"markup.fenced_code.block.markdown","patterns":[{"begin":"(^|\\\\G)(\\\\s*)(.*)","contentName":"meta.embedded.block.xsl","patterns":[{"include":"text.xml.xsl"}],"while":"(^|\\\\G)(?!\\\\s*([`~]{3,})\\\\s*$)"}]},"fenced_code_block_yaml":{"begin":"(^|\\\\G)(\\\\s*)(`{3,}|~{3,})\\\\s*(?i:(ya?ml)((\\\\s+|[,:?{])[^`]*)?$)","beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"end":"(^|\\\\G)(\\\\2|\\\\s{0,3})(\\\\3)\\\\s*$","endCaptures":{"3":{"name":"punctuation.definition.markdown"}},"name":"markup.fenced_code.block.markdown","patterns":[{"begin":"(^|\\\\G)(\\\\s*)(.*)","contentName":"meta.embedded.block.yaml","patterns":[{"include":"source.yaml"}],"while":"(^|\\\\G)(?!\\\\s*([`~]{3,})\\\\s*$)"}]},"fenced_code_block_yang":{"begin":"(^|\\\\G)(\\\\s*)(`{3,}|~{3,})\\\\s*(?i:(yang)((\\\\s+|[,:?{])[^`]*)?$)","beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"end":"(^|\\\\G)(\\\\2|\\\\s{0,3})(\\\\3)\\\\s*$","endCaptures":{"3":{"name":"punctuation.definition.markdown"}},"name":"markup.fenced_code.block.markdown","patterns":[{"begin":"(^|\\\\G)(\\\\s*)(.*)","contentName":"meta.embedded.block.yang","patterns":[{"include":"source.yang"}],"while":"(^|\\\\G)(?!\\\\s*([`~]{3,})\\\\s*$)"}]},"frontMatter":{"applyEndPatternLast":1,"begin":"\\\\A(?=(-{3,}))","end":"^(?: {0,3}\\\\1-*[\\\\t ]*|[\\\\t ]*\\\\.{3})$","endCaptures":{"0":{"name":"punctuation.definition.end.frontmatter"}},"patterns":[{"begin":"\\\\A(-{3,})(.*)$","beginCaptures":{"1":{"name":"punctuation.definition.begin.frontmatter"},"2":{"name":"comment.frontmatter"}},"contentName":"meta.embedded.block.frontmatter","patterns":[{"include":"source.yaml"}],"while":"^(?!(?: {0,3}\\\\1-*[\\\\t ]*|[\\\\t ]*\\\\.{3})$)"}]},"heading":{"captures":{"1":{"patterns":[{"captures":{"1":{"name":"punctuation.definition.heading.markdown"},"2":{"name":"entity.name.section.markdown","patterns":[{"include":"#inline"},{"include":"text.html.derivative"}]},"3":{"name":"punctuation.definition.heading.markdown"}},"match":"(#{6})\\\\s+(.*?)(?:\\\\s+(#+))?\\\\s*$","name":"heading.6.markdown"},{"captures":{"1":{"name":"punctuation.definition.heading.markdown"},"2":{"name":"entity.name.section.markdown","patterns":[{"include":"#inline"},{"include":"text.html.derivative"}]},"3":{"name":"punctuation.definition.heading.markdown"}},"match":"(#{5})\\\\s+(.*?)(?:\\\\s+(#+))?\\\\s*$","name":"heading.5.markdown"},{"captures":{"1":{"name":"punctuation.definition.heading.markdown"},"2":{"name":"entity.name.section.markdown","patterns":[{"include":"#inline"},{"include":"text.html.derivative"}]},"3":{"name":"punctuation.definition.heading.markdown"}},"match":"(#{4})\\\\s+(.*?)(?:\\\\s+(#+))?\\\\s*$","name":"heading.4.markdown"},{"captures":{"1":{"name":"punctuation.definition.heading.markdown"},"2":{"name":"entity.name.section.markdown","patterns":[{"include":"#inline"},{"include":"text.html.derivative"}]},"3":{"name":"punctuation.definition.heading.markdown"}},"match":"(#{3})\\\\s+(.*?)(?:\\\\s+(#+))?\\\\s*$","name":"heading.3.markdown"},{"captures":{"1":{"name":"punctuation.definition.heading.markdown"},"2":{"name":"entity.name.section.markdown","patterns":[{"include":"#inline"},{"include":"text.html.derivative"}]},"3":{"name":"punctuation.definition.heading.markdown"}},"match":"(#{2})\\\\s+(.*?)(?:\\\\s+(#+))?\\\\s*$","name":"heading.2.markdown"},{"captures":{"1":{"name":"punctuation.definition.heading.markdown"},"2":{"name":"entity.name.section.markdown","patterns":[{"include":"#inline"},{"include":"text.html.derivative"}]},"3":{"name":"punctuation.definition.heading.markdown"}},"match":"(#{1})\\\\s+(.*?)(?:\\\\s+(#+))?\\\\s*$","name":"heading.1.markdown"}]}},"match":"(?:^|\\\\G) {0,3}(#{1,6}\\\\s+(.*?)(\\\\s+#{1,6})?\\\\s*)$","name":"markup.heading.markdown"},"heading-setext":{"patterns":[{"match":"^(={3,})(?=[\\\\t ]*$\\\\n?)","name":"markup.heading.setext.1.markdown"},{"match":"^(-{3,})(?=[\\\\t ]*$\\\\n?)","name":"markup.heading.setext.2.markdown"}]},"html":{"patterns":[{"begin":"(^|\\\\G)\\\\s*(<!--)","captures":{"1":{"name":"punctuation.definition.comment.html"},"2":{"name":"punctuation.definition.comment.html"}},"end":"(-->)","name":"comment.block.html"},{"begin":"(?i)(^|\\\\G)\\\\s*(?=<(script|style|pre)(\\\\s|$|>)(?!.*?</(script|style|pre)>))","end":"(?i)(.*)((</)(script|style|pre)(>))","endCaptures":{"1":{"patterns":[{"include":"text.html.derivative"}]},"2":{"name":"meta.tag.structure.$4.end.html"},"3":{"name":"punctuation.definition.tag.begin.html"},"4":{"name":"entity.name.tag.html"},"5":{"name":"punctuation.definition.tag.end.html"}},"patterns":[{"begin":"(\\\\s*|$)","patterns":[{"include":"text.html.derivative"}],"while":"(?i)^(?!.*</(script|style|pre)>)"}]},{"begin":"(?i)(^|\\\\G)\\\\s*(?=</?[A-Za-z]+[^\\\\&/;gt\\\\s]*(\\\\s|$|/?>))","patterns":[{"include":"text.html.derivative"}],"while":"^(?!\\\\s*$)"},{"begin":"(^|\\\\G)\\\\s*(?=(<(?:[-0-9A-Za-z](/?>|\\\\s.*?>)|/[-0-9A-Za-z]>))\\\\s*$)","patterns":[{"include":"text.html.derivative"}],"while":"^(?!\\\\s*$)"}]},"image-inline":{"captures":{"1":{"name":"punctuation.definition.link.description.begin.markdown"},"2":{"name":"string.other.link.description.markdown"},"4":{"name":"punctuation.definition.link.description.end.markdown"},"5":{"name":"punctuation.definition.metadata.markdown"},"7":{"name":"punctuation.definition.link.markdown"},"8":{"name":"markup.underline.link.image.markdown"},"9":{"name":"punctuation.definition.link.markdown"},"10":{"name":"markup.underline.link.image.markdown"},"12":{"name":"string.other.link.description.title.markdown"},"13":{"name":"punctuation.definition.string.begin.markdown"},"14":{"name":"punctuation.definition.string.end.markdown"},"15":{"name":"string.other.link.description.title.markdown"},"16":{"name":"punctuation.definition.string.begin.markdown"},"17":{"name":"punctuation.definition.string.end.markdown"},"18":{"name":"string.other.link.description.title.markdown"},"19":{"name":"punctuation.definition.string.begin.markdown"},"20":{"name":"punctuation.definition.string.end.markdown"},"21":{"name":"punctuation.definition.metadata.markdown"}},"match":"(!\\\\[)((?<square>[^]\\\\[\\\\\\\\]|\\\\\\\\.|\\\\[\\\\g<square>*+])*+)(])(\\\\()[\\\\t ]*((<)((?:\\\\\\\\[<>]|[^\\\\n<>])*)(>)|((?<url>(?>[^()\\\\s]+)|\\\\(\\\\g<url>*\\\\))*))[\\\\t ]*(?:((\\\\().+?(\\\\)))|((\\").+?(\\"))|((\').+?(\')))?\\\\s*(\\\\))","name":"meta.image.inline.markdown"},"image-ref":{"captures":{"1":{"name":"punctuation.definition.link.description.begin.markdown"},"2":{"name":"string.other.link.description.markdown"},"4":{"name":"punctuation.definition.link.description.end.markdown"},"5":{"name":"punctuation.definition.constant.markdown"},"6":{"name":"constant.other.reference.link.markdown"},"7":{"name":"punctuation.definition.constant.markdown"}},"match":"(!\\\\[)((?<square>[^]\\\\[\\\\\\\\]|\\\\\\\\.|\\\\[\\\\g<square>*+])*+)(]) ?(\\\\[)(.*?)(])","name":"meta.image.reference.markdown"},"inline":{"patterns":[{"include":"#ampersand"},{"include":"#bracket"},{"include":"#bold"},{"include":"#italic"},{"include":"#raw"},{"include":"#strikethrough"},{"include":"#escape"},{"include":"#image-inline"},{"include":"#image-ref"},{"include":"#link-email"},{"include":"#link-inet"},{"include":"#link-inline"},{"include":"#link-ref"},{"include":"#link-ref-literal"},{"include":"#link-ref-shortcut"}]},"italic":{"begin":"(?<open>(\\\\*(?=\\\\w)|(?<!\\\\w)\\\\*|(?<!\\\\w)\\\\b_))(?=\\\\S)(?=(<[^>]*+>|(?<raw>`+)([^`]|(?!(?<!`)\\\\k<raw>(?!`))`)*+\\\\k<raw>|\\\\\\\\[-\\\\]!#(-+.>\\\\[\\\\\\\\_`{}]?+|\\\\[((?<square>[^]\\\\[\\\\\\\\]|\\\\\\\\.|\\\\[\\\\g<square>*+])*+](( ?\\\\[[^]]*+])|(\\\\([\\\\t ]*+<?(.*?)>?[\\\\t ]*+((?<title>[\\"\'])(.*?)\\\\k<title>)?\\\\))))|\\\\k<open>\\\\k<open>|(?!(?<=\\\\S)\\\\k<open>).)++(?<=\\\\S)(?=_\\\\b|\\\\*)\\\\k<open>)","captures":{"1":{"name":"punctuation.definition.italic.markdown"}},"end":"(?<=\\\\S)(\\\\1)((?!\\\\1)|(?=\\\\1\\\\1))","name":"markup.italic.markdown","patterns":[{"applyEndPatternLast":1,"begin":"(?=<[^>]*?>)","end":"(?<=>)","patterns":[{"include":"text.html.derivative"}]},{"include":"#escape"},{"include":"#ampersand"},{"include":"#bracket"},{"include":"#raw"},{"include":"#bold"},{"include":"#image-inline"},{"include":"#link-inline"},{"include":"#link-inet"},{"include":"#link-email"},{"include":"#image-ref"},{"include":"#link-ref-literal"},{"include":"#link-ref"},{"include":"#link-ref-shortcut"},{"include":"#strikethrough"}]},"link-def":{"captures":{"1":{"name":"punctuation.definition.constant.markdown"},"2":{"name":"constant.other.reference.link.markdown"},"3":{"name":"punctuation.definition.constant.markdown"},"4":{"name":"punctuation.separator.key-value.markdown"},"5":{"name":"punctuation.definition.link.markdown"},"6":{"name":"markup.underline.link.markdown"},"7":{"name":"punctuation.definition.link.markdown"},"8":{"name":"markup.underline.link.markdown"},"9":{"name":"string.other.link.description.title.markdown"},"10":{"name":"punctuation.definition.string.begin.markdown"},"11":{"name":"punctuation.definition.string.end.markdown"},"12":{"name":"string.other.link.description.title.markdown"},"13":{"name":"punctuation.definition.string.begin.markdown"},"14":{"name":"punctuation.definition.string.end.markdown"},"15":{"name":"string.other.link.description.title.markdown"},"16":{"name":"punctuation.definition.string.begin.markdown"},"17":{"name":"punctuation.definition.string.end.markdown"}},"match":"\\\\s*(\\\\[)([^]]+?)(])(:)[\\\\t ]*(?:(<)((?:\\\\\\\\[<>]|[^\\\\n<>])*)(>)|(\\\\S+?))[\\\\t ]*(?:((\\\\().+?(\\\\)))|((\\").+?(\\"))|((\').+?(\')))?\\\\s*$","name":"meta.link.reference.def.markdown"},"link-email":{"captures":{"1":{"name":"punctuation.definition.link.markdown"},"2":{"name":"markup.underline.link.markdown"},"4":{"name":"punctuation.definition.link.markdown"}},"match":"(<)((?:mailto:)?[!#-\'*+\\\\--9=?A-Z^-~]+@[-0-9A-Za-z]+(?:\\\\.[-0-9A-Za-z]+)*)(>)","name":"meta.link.email.lt-gt.markdown"},"link-inet":{"captures":{"1":{"name":"punctuation.definition.link.markdown"},"2":{"name":"markup.underline.link.markdown"},"3":{"name":"punctuation.definition.link.markdown"}},"match":"(<)((?:https?|ftp)://.*?)(>)","name":"meta.link.inet.markdown"},"link-inline":{"captures":{"1":{"name":"punctuation.definition.link.title.begin.markdown"},"2":{"name":"string.other.link.title.markdown","patterns":[{"include":"#raw"},{"include":"#bold"},{"include":"#italic"},{"include":"#strikethrough"},{"include":"#image-inline"}]},"4":{"name":"punctuation.definition.link.title.end.markdown"},"5":{"name":"punctuation.definition.metadata.markdown"},"7":{"name":"punctuation.definition.link.markdown"},"8":{"name":"markup.underline.link.markdown"},"9":{"name":"punctuation.definition.link.markdown"},"10":{"name":"markup.underline.link.markdown"},"12":{"name":"string.other.link.description.title.markdown"},"13":{"name":"punctuation.definition.string.begin.markdown"},"14":{"name":"punctuation.definition.string.end.markdown"},"15":{"name":"string.other.link.description.title.markdown"},"16":{"name":"punctuation.definition.string.begin.markdown"},"17":{"name":"punctuation.definition.string.end.markdown"},"18":{"name":"string.other.link.description.title.markdown"},"19":{"name":"punctuation.definition.string.begin.markdown"},"20":{"name":"punctuation.definition.string.end.markdown"},"21":{"name":"punctuation.definition.metadata.markdown"}},"match":"(\\\\[)((?<square>[^]\\\\[\\\\\\\\]|\\\\\\\\.|\\\\[\\\\g<square>*+])*+)(])(\\\\()[\\\\t ]*((<)((?:\\\\\\\\[<>]|[^\\\\n<>])*)(>)|((?<url>(?>[^()\\\\s]+)|\\\\(\\\\g<url>*\\\\))*))[\\\\t ]*(?:((\\\\()[^()]*(\\\\)))|((\\")[^\\"]*(\\"))|((\')[^\']*(\')))?\\\\s*(\\\\))","name":"meta.link.inline.markdown"},"link-ref":{"captures":{"1":{"name":"punctuation.definition.link.title.begin.markdown"},"2":{"name":"string.other.link.title.markdown","patterns":[{"include":"#raw"},{"include":"#bold"},{"include":"#italic"},{"include":"#strikethrough"},{"include":"#image-inline"}]},"4":{"name":"punctuation.definition.link.title.end.markdown"},"5":{"name":"punctuation.definition.constant.begin.markdown"},"6":{"name":"constant.other.reference.link.markdown"},"7":{"name":"punctuation.definition.constant.end.markdown"}},"match":"(?<![]\\\\\\\\])(\\\\[)((?<square>[^]\\\\[\\\\\\\\]|\\\\\\\\.|\\\\[\\\\g<square>*+])*+)(])(\\\\[)([^]]*+)(])","name":"meta.link.reference.markdown"},"link-ref-literal":{"captures":{"1":{"name":"punctuation.definition.link.title.begin.markdown"},"2":{"name":"string.other.link.title.markdown"},"4":{"name":"punctuation.definition.link.title.end.markdown"},"5":{"name":"punctuation.definition.constant.begin.markdown"},"6":{"name":"punctuation.definition.constant.end.markdown"}},"match":"(?<![]\\\\\\\\])(\\\\[)((?<square>[^]\\\\[\\\\\\\\]|\\\\\\\\.|\\\\[\\\\g<square>*+])*+)(]) ?(\\\\[)(])","name":"meta.link.reference.literal.markdown"},"link-ref-shortcut":{"captures":{"1":{"name":"punctuation.definition.link.title.begin.markdown"},"2":{"name":"string.other.link.title.markdown"},"3":{"name":"punctuation.definition.link.title.end.markdown"}},"match":"(?<![]\\\\\\\\])(\\\\[)((?:[^]\\\\[\\\\\\\\\\\\s]|\\\\\\\\[]\\\\[])+?)((?<!\\\\\\\\)])","name":"meta.link.reference.markdown"},"list_paragraph":{"begin":"(^|\\\\G)(?=\\\\S)(?![*->]\\\\s|[0-9]+\\\\.\\\\s)","name":"meta.paragraph.markdown","patterns":[{"include":"#inline"},{"include":"text.html.derivative"},{"include":"#heading-setext"}],"while":"(^|\\\\G)(?!\\\\s*$|#| {0,3}([-*>_] {2,}){3,}[\\\\t ]*$\\\\n?| {0,3}[*->]| {0,3}[0-9]+\\\\.)"},"lists":{"patterns":[{"begin":"(^|\\\\G)( {0,3})([-*+])([\\\\t ])","beginCaptures":{"3":{"name":"punctuation.definition.list.begin.markdown"}},"name":"markup.list.unnumbered.markdown","patterns":[{"include":"#block"},{"include":"#list_paragraph"}],"while":"((^|\\\\G)( {2,4}|\\\\t))|^([\\\\t ]*)$"},{"begin":"(^|\\\\G)( {0,3})([0-9]+[).])([\\\\t ])","beginCaptures":{"3":{"name":"punctuation.definition.list.begin.markdown"}},"name":"markup.list.numbered.markdown","patterns":[{"include":"#block"},{"include":"#list_paragraph"}],"while":"((^|\\\\G)( {2,4}|\\\\t))|^([\\\\t ]*)$"}]},"paragraph":{"begin":"(^|\\\\G) {0,3}(?=[^\\\\t\\\\n ])","name":"meta.paragraph.markdown","patterns":[{"include":"#inline"},{"include":"text.html.derivative"},{"include":"#heading-setext"}],"while":"(^|\\\\G)((?=\\\\s*[-=]{3,}\\\\s*$)| {4,}(?=[^\\\\t\\\\n ]))"},"raw":{"captures":{"1":{"name":"punctuation.definition.raw.markdown"},"3":{"name":"punctuation.definition.raw.markdown"}},"match":"(`+)((?:[^`]|(?!(?<!`)\\\\1(?!`))`)*+)(\\\\1)","name":"markup.inline.raw.string.markdown"},"raw_block":{"begin":"(^|\\\\G)( {4}|\\\\t)","name":"markup.raw.block.markdown","while":"(^|\\\\G)( {4}|\\\\t)"},"separator":{"match":"(^|\\\\G) {0,3}([-*_])( {0,2}\\\\2){2,}[\\\\t ]*$\\\\n?","name":"meta.separator.markdown"},"strikethrough":{"captures":{"1":{"name":"punctuation.definition.strikethrough.markdown"},"2":{"patterns":[{"applyEndPatternLast":1,"begin":"(?=<[^>]*?>)","end":"(?<=>)","patterns":[{"include":"text.html.derivative"}]},{"include":"#escape"},{"include":"#ampersand"},{"include":"#bracket"},{"include":"#raw"},{"include":"#bold"},{"include":"#italic"},{"include":"#image-inline"},{"include":"#link-inline"},{"include":"#link-inet"},{"include":"#link-email"},{"include":"#image-ref"},{"include":"#link-ref-literal"},{"include":"#link-ref"},{"include":"#link-ref-shortcut"}]},"3":{"name":"punctuation.definition.strikethrough.markdown"}},"match":"(?<!\\\\\\\\)(~{2,})(?!(?<=\\\\w~~)_)((?:[^~]|(?!(?<![\\\\\\\\~])\\\\1(?!~))~)*+)(\\\\1)(?!(?<=_\\\\1)\\\\w)","name":"markup.strikethrough.markdown"},"table":{"begin":"(^|\\\\G)(\\\\|)(?=[^|].+\\\\|\\\\s*$)","beginCaptures":{"2":{"name":"punctuation.definition.table.markdown"}},"name":"markup.table.markdown","patterns":[{"match":"\\\\|","name":"punctuation.definition.table.markdown"},{"captures":{"1":{"name":"punctuation.separator.table.markdown"}},"match":"(?<=\\\\|)\\\\s*(:?-+:?)\\\\s*(?=\\\\|)"},{"captures":{"1":{"patterns":[{"include":"#inline"}]}},"match":"(?<=\\\\|)\\\\s*(?=\\\\S)((\\\\\\\\\\\\||[^|])+)(?<=\\\\S)\\\\s*(?=\\\\|)"}],"while":"(^|\\\\G)(?=\\\\|)"}},"scopeName":"text.html.markdown","embeddedLangs":[],"aliases":["md"],"embeddedLangsLazy":["css","html","ini","java","lua","make","perl","r","ruby","php","sql","vb","xml","xsl","yaml","bat","clojure","coffee","c","cpp","diff","docker","git-commit","git-rebase","go","groovy","pug","javascript","json","jsonc","jsonl","less","objective-c","swift","scss","raku","powershell","python","julia","regexp","rust","scala","shellscript","typescript","tsx","csharp","fsharp","dart","handlebars","log","erlang","elixir","latex","bibtex","abap","rst","html-derivative"]}')),Hyo=[MIs]});var dyr,Uyo=be(()=>{x();dyr=Object.freeze(JSON.parse('{"colors":{"activityBar.activeBorder":"#4d9375","activityBar.background":"#121212","activityBar.border":"#191919","activityBar.foreground":"#dbd7caee","activityBar.inactiveForeground":"#dedcd550","activityBarBadge.background":"#bfbaaa","activityBarBadge.foreground":"#121212","badge.background":"#dedcd590","badge.foreground":"#121212","breadcrumb.activeSelectionForeground":"#eeeeee18","breadcrumb.background":"#181818","breadcrumb.focusForeground":"#dbd7caee","breadcrumb.foreground":"#959da5","breadcrumbPicker.background":"#121212","button.background":"#4d9375","button.foreground":"#121212","button.hoverBackground":"#4d9375","checkbox.background":"#181818","checkbox.border":"#2f363d","debugToolBar.background":"#121212","descriptionForeground":"#dedcd590","diffEditor.insertedTextBackground":"#4d937550","diffEditor.removedTextBackground":"#ab595950","dropdown.background":"#121212","dropdown.border":"#191919","dropdown.foreground":"#dbd7caee","dropdown.listBackground":"#181818","editor.background":"#121212","editor.findMatchBackground":"#e6cc7722","editor.findMatchHighlightBackground":"#e6cc7744","editor.focusedStackFrameHighlightBackground":"#b808","editor.foldBackground":"#eeeeee10","editor.foreground":"#dbd7caee","editor.inactiveSelectionBackground":"#eeeeee10","editor.lineHighlightBackground":"#181818","editor.selectionBackground":"#eeeeee18","editor.selectionHighlightBackground":"#eeeeee10","editor.stackFrameHighlightBackground":"#a707","editor.wordHighlightBackground":"#1c6b4805","editor.wordHighlightStrongBackground":"#1c6b4810","editorBracketHighlight.foreground1":"#5eaab5","editorBracketHighlight.foreground2":"#4d9375","editorBracketHighlight.foreground3":"#d4976c","editorBracketHighlight.foreground4":"#d9739f","editorBracketHighlight.foreground5":"#e6cc77","editorBracketHighlight.foreground6":"#6394bf","editorBracketMatch.background":"#4d937520","editorError.foreground":"#cb7676","editorGroup.border":"#191919","editorGroupHeader.tabsBackground":"#121212","editorGroupHeader.tabsBorder":"#191919","editorGutter.addedBackground":"#4d9375","editorGutter.commentRangeForeground":"#dedcd550","editorGutter.deletedBackground":"#cb7676","editorGutter.foldingControlForeground":"#dedcd590","editorGutter.modifiedBackground":"#6394bf","editorHint.foreground":"#4d9375","editorIndentGuide.activeBackground":"#ffffff30","editorIndentGuide.background":"#ffffff15","editorInfo.foreground":"#6394bf","editorInlayHint.background":"#181818","editorInlayHint.foreground":"#666666","editorLineNumber.activeForeground":"#bfbaaa","editorLineNumber.foreground":"#dedcd550","editorOverviewRuler.border":"#111","editorStickyScroll.background":"#181818","editorStickyScrollHover.background":"#181818","editorWarning.foreground":"#d4976c","editorWhitespace.foreground":"#ffffff15","editorWidget.background":"#121212","errorForeground":"#cb7676","focusBorder":"#00000000","foreground":"#dbd7caee","gitDecoration.addedResourceForeground":"#4d9375","gitDecoration.conflictingResourceForeground":"#d4976c","gitDecoration.deletedResourceForeground":"#cb7676","gitDecoration.ignoredResourceForeground":"#dedcd550","gitDecoration.modifiedResourceForeground":"#6394bf","gitDecoration.submoduleResourceForeground":"#dedcd590","gitDecoration.untrackedResourceForeground":"#5eaab5","input.background":"#181818","input.border":"#191919","input.foreground":"#dbd7caee","input.placeholderForeground":"#dedcd590","inputOption.activeBackground":"#dedcd550","list.activeSelectionBackground":"#181818","list.activeSelectionForeground":"#dbd7caee","list.focusBackground":"#181818","list.highlightForeground":"#4d9375","list.hoverBackground":"#181818","list.hoverForeground":"#dbd7caee","list.inactiveFocusBackground":"#121212","list.inactiveSelectionBackground":"#181818","list.inactiveSelectionForeground":"#dbd7caee","menu.separatorBackground":"#191919","notificationCenterHeader.background":"#121212","notificationCenterHeader.foreground":"#959da5","notifications.background":"#121212","notifications.border":"#191919","notifications.foreground":"#dbd7caee","notificationsErrorIcon.foreground":"#cb7676","notificationsInfoIcon.foreground":"#6394bf","notificationsWarningIcon.foreground":"#d4976c","panel.background":"#121212","panel.border":"#191919","panelInput.border":"#2f363d","panelTitle.activeBorder":"#4d9375","panelTitle.activeForeground":"#dbd7caee","panelTitle.inactiveForeground":"#959da5","peekViewEditor.background":"#121212","peekViewEditor.matchHighlightBackground":"#ffd33d33","peekViewResult.background":"#121212","peekViewResult.matchHighlightBackground":"#ffd33d33","pickerGroup.border":"#191919","pickerGroup.foreground":"#dbd7caee","problemsErrorIcon.foreground":"#cb7676","problemsInfoIcon.foreground":"#6394bf","problemsWarningIcon.foreground":"#d4976c","progressBar.background":"#4d9375","quickInput.background":"#121212","quickInput.foreground":"#dbd7caee","quickInputList.focusBackground":"#181818","scrollbar.shadow":"#0000","scrollbarSlider.activeBackground":"#dedcd550","scrollbarSlider.background":"#dedcd510","scrollbarSlider.hoverBackground":"#dedcd550","settings.headerForeground":"#dbd7caee","settings.modifiedItemIndicator":"#4d9375","sideBar.background":"#121212","sideBar.border":"#191919","sideBar.foreground":"#bfbaaa","sideBarSectionHeader.background":"#121212","sideBarSectionHeader.border":"#191919","sideBarSectionHeader.foreground":"#dbd7caee","sideBarTitle.foreground":"#dbd7caee","statusBar.background":"#121212","statusBar.border":"#191919","statusBar.debuggingBackground":"#181818","statusBar.debuggingForeground":"#bfbaaa","statusBar.foreground":"#bfbaaa","statusBar.noFolderBackground":"#121212","statusBarItem.prominentBackground":"#181818","tab.activeBackground":"#121212","tab.activeBorder":"#191919","tab.activeBorderTop":"#dedcd590","tab.activeForeground":"#dbd7caee","tab.border":"#191919","tab.hoverBackground":"#181818","tab.inactiveBackground":"#121212","tab.inactiveForeground":"#959da5","tab.unfocusedActiveBorder":"#191919","tab.unfocusedActiveBorderTop":"#191919","tab.unfocusedHoverBackground":"#121212","terminal.ansiBlack":"#393a34","terminal.ansiBlue":"#6394bf","terminal.ansiBrightBlack":"#777777","terminal.ansiBrightBlue":"#6394bf","terminal.ansiBrightCyan":"#5eaab5","terminal.ansiBrightGreen":"#4d9375","terminal.ansiBrightMagenta":"#d9739f","terminal.ansiBrightRed":"#cb7676","terminal.ansiBrightWhite":"#ffffff","terminal.ansiBrightYellow":"#e6cc77","terminal.ansiCyan":"#5eaab5","terminal.ansiGreen":"#4d9375","terminal.ansiMagenta":"#d9739f","terminal.ansiRed":"#cb7676","terminal.ansiWhite":"#dbd7ca","terminal.ansiYellow":"#e6cc77","terminal.foreground":"#dbd7caee","terminal.selectionBackground":"#eeeeee18","textBlockQuote.background":"#121212","textBlockQuote.border":"#191919","textCodeBlock.background":"#121212","textLink.activeForeground":"#4d9375","textLink.foreground":"#4d9375","textPreformat.foreground":"#d1d5da","textSeparator.foreground":"#586069","titleBar.activeBackground":"#121212","titleBar.activeForeground":"#bfbaaa","titleBar.border":"#181818","titleBar.inactiveBackground":"#121212","titleBar.inactiveForeground":"#959da5","tree.indentGuidesStroke":"#2f363d","welcomePage.buttonBackground":"#2f363d","welcomePage.buttonHoverBackground":"#444d56"},"displayName":"Vitesse Dark","name":"vitesse-dark","semanticHighlighting":true,"semanticTokenColors":{"class":"#6872ab","interface":"#5d99a9","namespace":"#db889a","property":"#b8a965","type":"#5d99a9"},"tokenColors":[{"scope":["comment","punctuation.definition.comment","string.comment"],"settings":{"foreground":"#758575dd"}},{"scope":["delimiter.bracket","delimiter","invalid.illegal.character-not-allowed-here.html","keyword.operator.rest","keyword.operator.spread","keyword.operator.type.annotation","keyword.operator.relational","keyword.operator.assignment","keyword.operator.type","meta.brace","meta.tag.block.any.html","meta.tag.inline.any.html","meta.tag.structure.input.void.html","meta.type.annotation","meta.embedded.block.github-actions-expression","storage.type.function.arrow","meta.objectliteral.ts","punctuation","punctuation.definition.string.begin.html.vue","punctuation.definition.string.end.html.vue"],"settings":{"foreground":"#666666"}},{"scope":["constant","entity.name.constant","variable.language","meta.definition.variable"],"settings":{"foreground":"#c99076"}},{"scope":["entity","entity.name"],"settings":{"foreground":"#80a665"}},{"scope":"variable.parameter.function","settings":{"foreground":"#dbd7caee"}},{"scope":["entity.name.tag","tag.html"],"settings":{"foreground":"#4d9375"}},{"scope":"entity.name.function","settings":{"foreground":"#80a665"}},{"scope":["keyword","storage.type.class.jsdoc","punctuation.definition.template-expression"],"settings":{"foreground":"#4d9375"}},{"scope":["storage","storage.type","support.type.builtin","constant.language.undefined","constant.language.null","constant.language.import-export-all.ts"],"settings":{"foreground":"#cb7676"}},{"scope":["text.html.derivative","storage.modifier.package","storage.modifier.import","storage.type.java"],"settings":{"foreground":"#dbd7caee"}},{"scope":["string","string punctuation.section.embedded source","attribute.value"],"settings":{"foreground":"#c98a7d"}},{"scope":["punctuation.definition.string"],"settings":{"foreground":"#c98a7d77"}},{"scope":["punctuation.support.type.property-name"],"settings":{"foreground":"#b8a96577"}},{"scope":"support","settings":{"foreground":"#b8a965"}},{"scope":["property","meta.property-name","meta.object-literal.key","entity.name.tag.yaml","attribute.name"],"settings":{"foreground":"#b8a965"}},{"scope":["entity.other.attribute-name","invalid.deprecated.entity.other.attribute-name.html"],"settings":{"foreground":"#bd976a"}},{"scope":["variable","identifier"],"settings":{"foreground":"#bd976a"}},{"scope":["support.type.primitive","entity.name.type"],"settings":{"foreground":"#5DA994"}},{"scope":"namespace","settings":{"foreground":"#db889a"}},{"scope":["keyword.operator","keyword.operator.assignment.compound","meta.var.expr.ts"],"settings":{"foreground":"#cb7676"}},{"scope":"invalid.broken","settings":{"fontStyle":"italic","foreground":"#fdaeb7"}},{"scope":"invalid.deprecated","settings":{"fontStyle":"italic","foreground":"#fdaeb7"}},{"scope":"invalid.illegal","settings":{"fontStyle":"italic","foreground":"#fdaeb7"}},{"scope":"invalid.unimplemented","settings":{"fontStyle":"italic","foreground":"#fdaeb7"}},{"scope":"carriage-return","settings":{"background":"#f97583","content":"^M","fontStyle":"italic underline","foreground":"#24292e"}},{"scope":"message.error","settings":{"foreground":"#fdaeb7"}},{"scope":"string variable","settings":{"foreground":"#c98a7d"}},{"scope":["source.regexp","string.regexp"],"settings":{"foreground":"#c4704f"}},{"scope":["string.regexp.character-class","string.regexp constant.character.escape","string.regexp source.ruby.embedded","string.regexp string.regexp.arbitrary-repitition"],"settings":{"foreground":"#c98a7d"}},{"scope":"string.regexp constant.character.escape","settings":{"foreground":"#e6cc77"}},{"scope":["support.constant"],"settings":{"foreground":"#c99076"}},{"scope":["keyword.operator.quantifier.regexp","constant.numeric","number"],"settings":{"foreground":"#4C9A91"}},{"scope":["keyword.other.unit"],"settings":{"foreground":"#cb7676"}},{"scope":["constant.language.boolean","constant.language"],"settings":{"foreground":"#4d9375"}},{"scope":"meta.module-reference","settings":{"foreground":"#4d9375"}},{"scope":"punctuation.definition.list.begin.markdown","settings":{"foreground":"#d4976c"}},{"scope":["markup.heading","markup.heading entity.name"],"settings":{"fontStyle":"bold","foreground":"#4d9375"}},{"scope":"markup.quote","settings":{"foreground":"#5d99a9"}},{"scope":"markup.italic","settings":{"fontStyle":"italic","foreground":"#dbd7caee"}},{"scope":"markup.bold","settings":{"fontStyle":"bold","foreground":"#dbd7caee"}},{"scope":"markup.raw","settings":{"foreground":"#4d9375"}},{"scope":["markup.deleted","meta.diff.header.from-file","punctuation.definition.deleted"],"settings":{"background":"#86181d","foreground":"#fdaeb7"}},{"scope":["markup.inserted","meta.diff.header.to-file","punctuation.definition.inserted"],"settings":{"background":"#144620","foreground":"#85e89d"}},{"scope":["markup.changed","punctuation.definition.changed"],"settings":{"background":"#c24e00","foreground":"#ffab70"}},{"scope":["markup.ignored","markup.untracked"],"settings":{"background":"#79b8ff","foreground":"#2f363d"}},{"scope":"meta.diff.range","settings":{"fontStyle":"bold","foreground":"#b392f0"}},{"scope":"meta.diff.header","settings":{"foreground":"#79b8ff"}},{"scope":"meta.separator","settings":{"fontStyle":"bold","foreground":"#79b8ff"}},{"scope":"meta.output","settings":{"foreground":"#79b8ff"}},{"scope":["brackethighlighter.tag","brackethighlighter.curly","brackethighlighter.round","brackethighlighter.square","brackethighlighter.angle","brackethighlighter.quote"],"settings":{"foreground":"#d1d5da"}},{"scope":"brackethighlighter.unmatched","settings":{"foreground":"#fdaeb7"}},{"scope":["constant.other.reference.link","string.other.link","punctuation.definition.string.begin.markdown","punctuation.definition.string.end.markdown"],"settings":{"foreground":"#c98a7d"}},{"scope":["markup.underline.link.markdown","markup.underline.link.image.markdown"],"settings":{"fontStyle":"underline","foreground":"#dedcd590"}},{"scope":["type.identifier","constant.other.character-class.regexp"],"settings":{"foreground":"#6872ab"}},{"scope":["entity.other.attribute-name.html.vue"],"settings":{"foreground":"#80a665"}},{"scope":["invalid.illegal.unrecognized-tag.html"],"settings":{"fontStyle":"normal"}}],"type":"dark"}'))});var pyr,Vyo=be(()=>{x();pyr=Object.freeze(JSON.parse('{"colors":{"activityBar.activeBorder":"#1c6b48","activityBar.background":"#ffffff","activityBar.border":"#f0f0f0","activityBar.foreground":"#393a34","activityBar.inactiveForeground":"#393a3450","activityBarBadge.background":"#4e4f47","activityBarBadge.foreground":"#ffffff","badge.background":"#393a3490","badge.foreground":"#ffffff","breadcrumb.activeSelectionForeground":"#22222218","breadcrumb.background":"#f7f7f7","breadcrumb.focusForeground":"#393a34","breadcrumb.foreground":"#6a737d","breadcrumbPicker.background":"#ffffff","button.background":"#1c6b48","button.foreground":"#ffffff","button.hoverBackground":"#1c6b48","checkbox.background":"#f7f7f7","checkbox.border":"#d1d5da","debugToolBar.background":"#ffffff","descriptionForeground":"#393a3490","diffEditor.insertedTextBackground":"#1c6b4830","diffEditor.removedTextBackground":"#ab595940","dropdown.background":"#ffffff","dropdown.border":"#f0f0f0","dropdown.foreground":"#393a34","dropdown.listBackground":"#f7f7f7","editor.background":"#ffffff","editor.findMatchBackground":"#e6cc7744","editor.findMatchHighlightBackground":"#e6cc7766","editor.focusedStackFrameHighlightBackground":"#fff5b1","editor.foldBackground":"#22222210","editor.foreground":"#393a34","editor.inactiveSelectionBackground":"#22222210","editor.lineHighlightBackground":"#f7f7f7","editor.selectionBackground":"#22222218","editor.selectionHighlightBackground":"#22222210","editor.stackFrameHighlightBackground":"#fffbdd","editor.wordHighlightBackground":"#1c6b4805","editor.wordHighlightStrongBackground":"#1c6b4810","editorBracketHighlight.foreground1":"#2993a3","editorBracketHighlight.foreground2":"#1e754f","editorBracketHighlight.foreground3":"#a65e2b","editorBracketHighlight.foreground4":"#a13865","editorBracketHighlight.foreground5":"#bda437","editorBracketHighlight.foreground6":"#296aa3","editorBracketMatch.background":"#1c6b4820","editorError.foreground":"#ab5959","editorGroup.border":"#f0f0f0","editorGroupHeader.tabsBackground":"#ffffff","editorGroupHeader.tabsBorder":"#f0f0f0","editorGutter.addedBackground":"#1e754f","editorGutter.commentRangeForeground":"#393a3450","editorGutter.deletedBackground":"#ab5959","editorGutter.foldingControlForeground":"#393a3490","editorGutter.modifiedBackground":"#296aa3","editorHint.foreground":"#1e754f","editorIndentGuide.activeBackground":"#00000030","editorIndentGuide.background":"#00000015","editorInfo.foreground":"#296aa3","editorInlayHint.background":"#f7f7f7","editorInlayHint.foreground":"#999999","editorLineNumber.activeForeground":"#4e4f47","editorLineNumber.foreground":"#393a3450","editorOverviewRuler.border":"#fff","editorStickyScroll.background":"#f7f7f7","editorStickyScrollHover.background":"#f7f7f7","editorWarning.foreground":"#a65e2b","editorWhitespace.foreground":"#00000015","editorWidget.background":"#ffffff","errorForeground":"#ab5959","focusBorder":"#00000000","foreground":"#393a34","gitDecoration.addedResourceForeground":"#1e754f","gitDecoration.conflictingResourceForeground":"#a65e2b","gitDecoration.deletedResourceForeground":"#ab5959","gitDecoration.ignoredResourceForeground":"#393a3450","gitDecoration.modifiedResourceForeground":"#296aa3","gitDecoration.submoduleResourceForeground":"#393a3490","gitDecoration.untrackedResourceForeground":"#2993a3","input.background":"#f7f7f7","input.border":"#f0f0f0","input.foreground":"#393a34","input.placeholderForeground":"#393a3490","inputOption.activeBackground":"#393a3450","list.activeSelectionBackground":"#f7f7f7","list.activeSelectionForeground":"#393a34","list.focusBackground":"#f7f7f7","list.highlightForeground":"#1c6b48","list.hoverBackground":"#f7f7f7","list.hoverForeground":"#393a34","list.inactiveFocusBackground":"#ffffff","list.inactiveSelectionBackground":"#f7f7f7","list.inactiveSelectionForeground":"#393a34","menu.separatorBackground":"#f0f0f0","notificationCenterHeader.background":"#ffffff","notificationCenterHeader.foreground":"#6a737d","notifications.background":"#ffffff","notifications.border":"#f0f0f0","notifications.foreground":"#393a34","notificationsErrorIcon.foreground":"#ab5959","notificationsInfoIcon.foreground":"#296aa3","notificationsWarningIcon.foreground":"#a65e2b","panel.background":"#ffffff","panel.border":"#f0f0f0","panelInput.border":"#e1e4e8","panelTitle.activeBorder":"#1c6b48","panelTitle.activeForeground":"#393a34","panelTitle.inactiveForeground":"#6a737d","peekViewEditor.background":"#ffffff","peekViewResult.background":"#ffffff","pickerGroup.border":"#f0f0f0","pickerGroup.foreground":"#393a34","problemsErrorIcon.foreground":"#ab5959","problemsInfoIcon.foreground":"#296aa3","problemsWarningIcon.foreground":"#a65e2b","progressBar.background":"#1c6b48","quickInput.background":"#ffffff","quickInput.foreground":"#393a34","quickInputList.focusBackground":"#f7f7f7","scrollbar.shadow":"#6a737d33","scrollbarSlider.activeBackground":"#393a3450","scrollbarSlider.background":"#393a3410","scrollbarSlider.hoverBackground":"#393a3450","settings.headerForeground":"#393a34","settings.modifiedItemIndicator":"#1c6b48","sideBar.background":"#ffffff","sideBar.border":"#f0f0f0","sideBar.foreground":"#4e4f47","sideBarSectionHeader.background":"#ffffff","sideBarSectionHeader.border":"#f0f0f0","sideBarSectionHeader.foreground":"#393a34","sideBarTitle.foreground":"#393a34","statusBar.background":"#ffffff","statusBar.border":"#f0f0f0","statusBar.debuggingBackground":"#f7f7f7","statusBar.debuggingForeground":"#4e4f47","statusBar.foreground":"#4e4f47","statusBar.noFolderBackground":"#ffffff","statusBarItem.prominentBackground":"#f7f7f7","tab.activeBackground":"#ffffff","tab.activeBorder":"#f0f0f0","tab.activeBorderTop":"#393a3490","tab.activeForeground":"#393a34","tab.border":"#f0f0f0","tab.hoverBackground":"#f7f7f7","tab.inactiveBackground":"#ffffff","tab.inactiveForeground":"#6a737d","tab.unfocusedActiveBorder":"#f0f0f0","tab.unfocusedActiveBorderTop":"#f0f0f0","tab.unfocusedHoverBackground":"#ffffff","terminal.ansiBlack":"#121212","terminal.ansiBlue":"#296aa3","terminal.ansiBrightBlack":"#aaaaaa","terminal.ansiBrightBlue":"#296aa3","terminal.ansiBrightCyan":"#2993a3","terminal.ansiBrightGreen":"#1e754f","terminal.ansiBrightMagenta":"#a13865","terminal.ansiBrightRed":"#ab5959","terminal.ansiBrightWhite":"#dddddd","terminal.ansiBrightYellow":"#bda437","terminal.ansiCyan":"#2993a3","terminal.ansiGreen":"#1e754f","terminal.ansiMagenta":"#a13865","terminal.ansiRed":"#ab5959","terminal.ansiWhite":"#dbd7ca","terminal.ansiYellow":"#bda437","terminal.foreground":"#393a34","terminal.selectionBackground":"#22222218","textBlockQuote.background":"#ffffff","textBlockQuote.border":"#f0f0f0","textCodeBlock.background":"#ffffff","textLink.activeForeground":"#1c6b48","textLink.foreground":"#1c6b48","textPreformat.foreground":"#586069","textSeparator.foreground":"#d1d5da","titleBar.activeBackground":"#ffffff","titleBar.activeForeground":"#4e4f47","titleBar.border":"#f7f7f7","titleBar.inactiveBackground":"#ffffff","titleBar.inactiveForeground":"#6a737d","tree.indentGuidesStroke":"#e1e4e8","welcomePage.buttonBackground":"#f6f8fa","welcomePage.buttonHoverBackground":"#e1e4e8"},"displayName":"Vitesse Light","name":"vitesse-light","semanticHighlighting":true,"semanticTokenColors":{"class":"#5a6aa6","interface":"#2e808f","namespace":"#b05a78","property":"#998418","type":"#2e808f"},"tokenColors":[{"scope":["comment","punctuation.definition.comment","string.comment"],"settings":{"foreground":"#a0ada0"}},{"scope":["delimiter.bracket","delimiter","invalid.illegal.character-not-allowed-here.html","keyword.operator.rest","keyword.operator.spread","keyword.operator.type.annotation","keyword.operator.relational","keyword.operator.assignment","keyword.operator.type","meta.brace","meta.tag.block.any.html","meta.tag.inline.any.html","meta.tag.structure.input.void.html","meta.type.annotation","meta.embedded.block.github-actions-expression","storage.type.function.arrow","meta.objectliteral.ts","punctuation","punctuation.definition.string.begin.html.vue","punctuation.definition.string.end.html.vue"],"settings":{"foreground":"#999999"}},{"scope":["constant","entity.name.constant","variable.language","meta.definition.variable"],"settings":{"foreground":"#a65e2b"}},{"scope":["entity","entity.name"],"settings":{"foreground":"#59873a"}},{"scope":"variable.parameter.function","settings":{"foreground":"#393a34"}},{"scope":["entity.name.tag","tag.html"],"settings":{"foreground":"#1e754f"}},{"scope":"entity.name.function","settings":{"foreground":"#59873a"}},{"scope":["keyword","storage.type.class.jsdoc","punctuation.definition.template-expression"],"settings":{"foreground":"#1e754f"}},{"scope":["storage","storage.type","support.type.builtin","constant.language.undefined","constant.language.null","constant.language.import-export-all.ts"],"settings":{"foreground":"#ab5959"}},{"scope":["text.html.derivative","storage.modifier.package","storage.modifier.import","storage.type.java"],"settings":{"foreground":"#393a34"}},{"scope":["string","string punctuation.section.embedded source","attribute.value"],"settings":{"foreground":"#b56959"}},{"scope":["punctuation.definition.string"],"settings":{"foreground":"#b5695977"}},{"scope":["punctuation.support.type.property-name"],"settings":{"foreground":"#99841877"}},{"scope":"support","settings":{"foreground":"#998418"}},{"scope":["property","meta.property-name","meta.object-literal.key","entity.name.tag.yaml","attribute.name"],"settings":{"foreground":"#998418"}},{"scope":["entity.other.attribute-name","invalid.deprecated.entity.other.attribute-name.html"],"settings":{"foreground":"#b07d48"}},{"scope":["variable","identifier"],"settings":{"foreground":"#b07d48"}},{"scope":["support.type.primitive","entity.name.type"],"settings":{"foreground":"#2e8f82"}},{"scope":"namespace","settings":{"foreground":"#b05a78"}},{"scope":["keyword.operator","keyword.operator.assignment.compound","meta.var.expr.ts"],"settings":{"foreground":"#ab5959"}},{"scope":"invalid.broken","settings":{"fontStyle":"italic","foreground":"#b31d28"}},{"scope":"invalid.deprecated","settings":{"fontStyle":"italic","foreground":"#b31d28"}},{"scope":"invalid.illegal","settings":{"fontStyle":"italic","foreground":"#b31d28"}},{"scope":"invalid.unimplemented","settings":{"fontStyle":"italic","foreground":"#b31d28"}},{"scope":"carriage-return","settings":{"background":"#d73a49","content":"^M","fontStyle":"italic underline","foreground":"#fafbfc"}},{"scope":"message.error","settings":{"foreground":"#b31d28"}},{"scope":"string variable","settings":{"foreground":"#b56959"}},{"scope":["source.regexp","string.regexp"],"settings":{"foreground":"#ab5e3f"}},{"scope":["string.regexp.character-class","string.regexp constant.character.escape","string.regexp source.ruby.embedded","string.regexp string.regexp.arbitrary-repitition"],"settings":{"foreground":"#b56959"}},{"scope":"string.regexp constant.character.escape","settings":{"foreground":"#bda437"}},{"scope":["support.constant"],"settings":{"foreground":"#a65e2b"}},{"scope":["keyword.operator.quantifier.regexp","constant.numeric","number"],"settings":{"foreground":"#2f798a"}},{"scope":["keyword.other.unit"],"settings":{"foreground":"#ab5959"}},{"scope":["constant.language.boolean","constant.language"],"settings":{"foreground":"#1e754f"}},{"scope":"meta.module-reference","settings":{"foreground":"#1c6b48"}},{"scope":"punctuation.definition.list.begin.markdown","settings":{"foreground":"#a65e2b"}},{"scope":["markup.heading","markup.heading entity.name"],"settings":{"fontStyle":"bold","foreground":"#1c6b48"}},{"scope":"markup.quote","settings":{"foreground":"#2e808f"}},{"scope":"markup.italic","settings":{"fontStyle":"italic","foreground":"#393a34"}},{"scope":"markup.bold","settings":{"fontStyle":"bold","foreground":"#393a34"}},{"scope":"markup.raw","settings":{"foreground":"#1c6b48"}},{"scope":["markup.deleted","meta.diff.header.from-file","punctuation.definition.deleted"],"settings":{"background":"#ffeef0","foreground":"#b31d28"}},{"scope":["markup.inserted","meta.diff.header.to-file","punctuation.definition.inserted"],"settings":{"background":"#f0fff4","foreground":"#22863a"}},{"scope":["markup.changed","punctuation.definition.changed"],"settings":{"background":"#ffebda","foreground":"#e36209"}},{"scope":["markup.ignored","markup.untracked"],"settings":{"background":"#005cc5","foreground":"#f6f8fa"}},{"scope":"meta.diff.range","settings":{"fontStyle":"bold","foreground":"#6f42c1"}},{"scope":"meta.diff.header","settings":{"foreground":"#005cc5"}},{"scope":"meta.separator","settings":{"fontStyle":"bold","foreground":"#005cc5"}},{"scope":"meta.output","settings":{"foreground":"#005cc5"}},{"scope":["brackethighlighter.tag","brackethighlighter.curly","brackethighlighter.round","brackethighlighter.square","brackethighlighter.angle","brackethighlighter.quote"],"settings":{"foreground":"#586069"}},{"scope":"brackethighlighter.unmatched","settings":{"foreground":"#b31d28"}},{"scope":["constant.other.reference.link","string.other.link","punctuation.definition.string.begin.markdown","punctuation.definition.string.end.markdown"],"settings":{"foreground":"#b56959"}},{"scope":["markup.underline.link.markdown","markup.underline.link.image.markdown"],"settings":{"fontStyle":"underline","foreground":"#393a3490"}},{"scope":["type.identifier","constant.other.character-class.regexp"],"settings":{"foreground":"#5a6aa6"}},{"scope":["entity.other.attribute-name.html.vue"],"settings":{"foreground":"#59873a"}},{"scope":["invalid.illegal.unrecognized-tag.html"],"settings":{"fontStyle":"normal"}}],"type":"light"}'))});function FIs(t){try{let e=atob(t.slice(0,16)),r=new Uint8Array(e.length);for(let n=0;n<e.length;n++)r[n]=e.charCodeAt(n);if(r[0]===137&&r[1]===80&&r[2]===78&&r[3]===71)return"image/png";if(r[0]===255&&r[1]===216&&r[2]===255)return"image/jpeg";if(r[0]===71&&r[1]===73&&r[2]===70&&r[3]===56)return"image/gif";if(r[0]===82&&r[1]===73&&r[2]===70&&r[3]===70&&r[8]===87&&r[9]===69&&r[10]===66&&r[11]===80)return"image/webp";if(r[0]===66&&r[1]===77)return"image/bmp"}catch{}return null}function IIs(t){let e=t.match(/^data:application\/octet-stream;base64,(.+)$/i);if(!e)return t;let r=e[1],n=FIs(r);return n?`data:${n};base64,${r}`:t}function LIs(){return globalThis.platform?.document}function myr(){return t=>{let e=LIs(),r=e?.baseUrl,n=e?.needsUriRewrite;Sg(t,"element",o=>{if(o.tagName!=="img")return;let i=o.properties?.src;if(!(typeof i!="string"||!i)){if(i.toLowerCase().startsWith("data:application/octet-stream;base64,")){let a=IIs(i);o.properties=o.properties||{},o.properties.src=a;return}if(iq(i)){let a=qO(i);if(n&&r){let s=Bao(a),l=`${r}/${s}`;o.properties=o.properties||{},o.properties.src=l}else a!==i&&(o.properties=o.properties||{},o.properties.src=a)}}})}}var Wyo=be(()=>{"use strict";x();j4();UO()});function Uct(t){return t==null?!0:t.trim()===""}function jIs(t){if(t==null)return!1;let e=t.trim();return/^[✓✗×○●√\-+*·•◦▪▫☐☑☒✔✕✖⬤◯]{1,3}$/.test(e)}function PIs(t,e,r){let n=0,o=0,i=-1,a=!1,s=!1,l=!1,u=-1;for(let m=0;m<r;m++)Uct(t[m])?a?(s=!0,u===-1&&(u=m)):n++:(o++,i=m,s&&(l=!0),a=!0);let f=o===0,h=i>=0?r-1-i:r,d=o>0&&o<=2&&i<Math.min(2,Math.ceil(r/2))&&h>=Math.floor(r/2),p=!f&&(!l||u>=Math.min(3,Math.ceil(r/2)));return{rowIndex:e,nonEmptyCount:o,lastNonEmptyCol:i,emptyPrefix:n,isGroupHeader:d,isValidTreeRow:p,isCompletelyEmpty:f,hasGap:l,gapStartCol:u}}function OIs(t,e,r){let n=[],o=null;for(let i=0;i<t.length;i++){if(r.has(i)){o&&(n.push(o),o=null);continue}let a=t[i]?.[e];Uct(a)?o&&o.length++:(o&&n.push(o),o={anchorRow:i,length:1})}return o&&n.push(o),n}function BIs(t,e,r){let n=OIs(t,e,r),o=t.length-r.size;if(n.length===0||o<=1)return{colIndex:e,segmentCount:0,maxSegmentLength:0,hasMultiRowSegment:!1,isTreeColumn:!1};let i=n.length,a=Math.max(...n.map(f=>f.length)),s=n.some(f=>f.length>=2),l=o/i,u=s&&(i<=o*.9||l>1.2)&&n[0].anchorRow<=2;return{colIndex:e,segmentCount:i,maxSegmentLength:a,hasMultiRowSegment:s,isTreeColumn:u}}function NIs(t){let e=0,r=0;for(let n of t)for(let o of n)r++,jIs(o)&&e++;return r>0&&e/r>.3}function $Is(t){return t.filter(r=>!r.isValidTreeRow&&!r.isGroupHeader&&!r.isCompletelyEmpty).length/t.length>.3}function Xyo(t){let e=t.length,r=t[0]?.length||0,n=0;for(let S of t)for(let k of S)Uct(k)&&n++;let o=e*r,i=o>0?n/o:0,a={totalRows:e,totalCols:r,emptyCount:n,emptyRatio:i};if(e===0||r===0||e===1)return zIs(a);if(NIs(t))return GIs(a);let s=t.map((S,k)=>PIs(S,k,r)),l=s.filter(S=>S.isGroupHeader).map(S=>S.rowIndex),u=new Set(l),f=l.length>0;if($Is(s))return HIs(a,l);let h=s.filter(S=>!u.has(S.rowIndex)),d=h.filter(S=>S.isValidTreeRow),p=h.length>0?d.length/h.length:0,m=p>=.8&&h.length>0,g=[];if(m)for(let S=0;S<r;S++)BIs(t,S,u).isTreeColumn&&g.push(S);let y=0;for(let S=0;S<g.length&&g[S]===S;S++)y=S+1;let b=g.slice(0,y),w=m&&y>0,C;return w?C="tree":f?C="grouped":C="normal",{tableType:C,shouldMerge:w,tree:{isTree:w,columnCount:y,columns:b,score:p},groupHeaders:{rows:l,hasGroupHeaders:f},stats:a}}function Yyo(t){if(t.length<2||(t[0]?.length||0)<2)return!1;for(let r of t)for(let n of r)if(Uct(n))return!0;return!1}function zIs(t){return{tableType:"normal",shouldMerge:!1,tree:{isTree:!1,columnCount:0,columns:[],score:0},groupHeaders:{rows:[],hasGroupHeaders:!1},stats:t}}function GIs(t){return{tableType:"comparison",shouldMerge:!1,tree:{isTree:!1,columnCount:0,columns:[],score:0},groupHeaders:{rows:[],hasGroupHeaders:!1},stats:t}}function HIs(t,e){return{tableType:"sparse",shouldMerge:!1,tree:{isTree:!1,columnCount:0,columns:[],score:0},groupHeaders:{rows:e,hasGroupHeaders:e.length>0},stats:t}}var Kyo=be(()=>{"use strict";x()});function Vct(t){return t.text?t.text.trim()==="":!0}function qIs(t){if(t.length===0)return{mergeInfo:[],analysis:null};let e=t.length,r=t[0]?.length||0,n=t.map(l=>l.map(()=>({rowspan:1,colspan:1,shouldRender:!0}))),o=t.map(l=>l.map(u=>u.text||""));if(!Yyo(o))return{mergeInfo:n,analysis:null};let i=Xyo(o);if(!i.shouldMerge)return{mergeInfo:n,analysis:i};let a=new Set(i.tree.columns),s=new Set(i.groupHeaders.rows);for(let l of s){if(l>=e)continue;let u=-1;for(let f=0;f<r;f++){let h=t[l]?.[f];!h||Vct(h)?u>=0&&(n[l][f].shouldRender=!1):(u>=0&&f>u+1&&(n[l][u].colspan=f-u),u=f)}if(u>=0&&u<r-1){let f=!0;for(let h=u+1;h<r;h++){let d=t[l]?.[h];if(d&&!Vct(d)){f=!1;break}}f&&(n[l][u].colspan=r-u)}}for(let l of a){if(l>=r)continue;let u=-1;for(let f=0;f<e;f++){if(s.has(f)){u=-1;continue}for(let d=0;d<l;d++){let p=t[f]?.[d];if(p&&!Vct(p)){u=-1;break}}let h=t[f]?.[l];!h||Vct(h)?u>=0&&f>u&&(n[f][l].shouldRender=!1,n[u][l].rowspan=f-u+1):u=f}}return{mergeInfo:n,analysis:i}}function Wct(t){let e=t.map(r=>r.map(n=>({text:n})));return qIs(e)}function gyr(t){if(!t||typeof t!="object")return"";let e=t;return e.type==="text"&&typeof e.value=="string"?e.value:Array.isArray(e.children)?e.children.map(r=>gyr(r)).join(""):""}function yyr(t){if(!t||typeof t!="object")return"";let e=t;return typeof e.value=="string"?e.value:Array.isArray(e.children)?e.children.map(r=>yyr(r)).join(""):""}var vyr=be(()=>{"use strict";x();Kyo()});function Zyo(t,e){return t!==null&&typeof t=="object"&&t.type==="element"&&t.tagName===e}function Jyo(t,e){return t.children?.find(r=>Zyo(r,e))}function rMe(t,e){return t.children?.filter(r=>Zyo(r,e))||[]}function UIs(t){let e=Jyo(t,"tbody");if(e)return rMe(e,"tr");let r=Jyo(t,"thead"),n=r?rMe(r,"tr"):[],o=rMe(t,"tr");return n.length>0?o.filter(i=>!n.includes(i)):o.slice(1)}function VIs(t){return t.map(e=>rMe(e,"td").map(n=>gyr(n)))}function WIs(t,e,r){let n=t.length;for(let o=0;o<t.length;o++){let i=t[o],a=rMe(i,"td"),s=e[o];if(!s)continue;let l=r.has(o),u=[];for(let f=0;f<a.length;f++){let h=a[f],d=s[f];if(d){if(!d.shouldRender)u.push(f);else{if(h.properties||(h.properties={}),d.rowspan>1&&(h.properties.rowspan=d.rowspan,o+d.rowspan>=n)){let p=h.properties.className;Array.isArray(p)?p.push("merged-to-last"):typeof p=="string"?h.properties.className=[p,"merged-to-last"]:h.properties.className=["merged-to-last"]}d.colspan>1&&(h.properties.colspan=d.colspan)}if(l){h.properties||(h.properties={});let p=h.properties.className;Array.isArray(p)?p.includes("group-header")||p.push("group-header"):typeof p=="string"?p!=="group-header"&&(h.properties.className=[p,"group-header"]):h.properties.className=["group-header"]}}}for(let f=u.length-1;f>=0;f--){let h=u[f],d=a[h],p=i.children.indexOf(d);p!==-1&&i.children.splice(p,1)}}}function Ayr(t={}){let{enabled:e=!0}=t;return r=>{e&&Sg(r,"element",n=>{if(n.tagName!=="table")return;let o=UIs(n);if(o.length===0)return;let i=VIs(o);if(i.length===0||i[0].length===0)return;let{mergeInfo:a,analysis:s}=Wct(i),l=new Set(s?.groupHeaders.rows||[]);WIs(o,a,l)})}}var Qyo=be(()=>{"use strict";x();j4();vyr()});var wbe,e1o,XIs,t1o,E8f,YIs,KIs,D8f,R8f,M8f,r1o=be(()=>{"use strict";x();wbe=[{fileType:"slidev",extensions:["slides.md"],languageId:"markdown",codeBlockLanguages:["slidev"],isDiagram:!1},{fileType:"mermaid",extensions:["mermaid","mmd"],languageId:"mermaid",codeBlockLanguages:["mermaid"],isDiagram:!0},{fileType:"plantuml",extensions:["plantuml","puml"],languageId:"plantuml",codeBlockLanguages:["plantuml","puml","wsd"],isDiagram:!0},{fileType:"vega",extensions:["vega"],languageId:"vega",codeBlockLanguages:["vega"],isDiagram:!0},{fileType:"vega-lite",extensions:["vl","vega-lite"],languageId:"vega",codeBlockLanguages:["vega-lite","vegalite"],isDiagram:!0},{fileType:"dot",extensions:["gv","dot"],languageId:"graphviz",codeBlockLanguages:["dot","graphviz"],isDiagram:!0},{fileType:"infographic",extensions:["infographic"],languageId:"infographic",codeBlockLanguages:["infographic"],isDiagram:!0},{fileType:"canvas",extensions:["canvas"],languageId:"canvas",codeBlockLanguages:["canvas"],isDiagram:!0},{fileType:"drawio",extensions:["drawio"],languageId:"drawio",codeBlockLanguages:["drawio"],isDiagram:!0},{fileType:"echarts",extensions:["echarts"],languageId:"echarts",codeBlockLanguages:["echarts"],isDiagram:!0}],e1o=wbe.filter(t=>t.isDiagram),XIs=Array.from(new Set(e1o.flatMap(t=>t.codeBlockLanguages.map(e=>e.toLowerCase())))),t1o=(()=>{let t={};for(let e of e1o)for(let r of e.codeBlockLanguages)t[r.toLowerCase()]=e.fileType;return t})(),E8f=new Set(XIs),YIs={md:"markdown",markdown:"markdown"};for(let t of wbe)for(let e of t.extensions)YIs[e]=t.fileType;KIs={};for(let t of wbe)for(let e of t.extensions)KIs[`.${e}`]=t.fileType;D8f=[".md",".markdown",...wbe.flatMap(t=>t.extensions.map(e=>`.${e}`))].sort((t,e)=>e.length-t.length),R8f=wbe.flatMap(t=>t.extensions),M8f=["markdown",...Array.from(new Set(wbe.map(t=>t.languageId)))]});var Gy,z9=be(()=>{"use strict";x();r1o();Gy=class t{constructor(e){if(this.constructor===t)throw new Error("BasePlugin is abstract and cannot be instantiated directly");this.type=e}get nodeSelector(){return["code"]}get language(){return this.type}extractContent(e){if(!this.nodeSelector.includes(e.type))return null;if(this.language&&e.lang){if(t1o[e.lang.toLowerCase()]!==this.type)return null}else if(this.language&&e.lang!==this.language)return null;return e.value||null}createTaskData(e){return{code:e}}getRenderParams(){return{}}isInline(){return!1}isUrl(e){return!1}async fetchContent(e){throw new Error("fetchContent not implemented")}async renderToCommon(e,r){let n=this.isInline(),o=await this.preprocessContent(r);if(!e)return{type:"error",content:{text:`[${this.type} - Renderer not available]`},display:{inline:n,alignment:"left"}};try{let i=await e.render(this.type,o);if(!i)return{type:"empty",content:{},display:{inline:n,alignment:"left"}};let a=i.base64;if(typeof a!="string"||!a)throw new Error("Missing base64 data");let s=atob(a),l=s.length,u=new Uint8Array(l);for(let f=0;f<l;f++)u[f]=s.charCodeAt(f);return{type:"image",content:{data:u,base64:a,width:i.width,height:i.height,format:"png"},display:{inline:n,alignment:n?"left":"center"}}}catch(i){return{type:"error",content:{text:`[${this.type} Error: ${i.message}]`},display:{inline:n,alignment:"left"}}}}async preprocessContent(e){return e}}});var Xct,n1o=be(()=>{"use strict";x();z9();Xct=class extends Gy{constructor(){super("mermaid")}}});var Yct,o1o=be(()=>{"use strict";x();z9();Yct=class extends Gy{constructor(){super("vega-lite")}}});var Kct,i1o=be(()=>{"use strict";x();z9();Kct=class extends Gy{constructor(){super("vega")}}});function byr(t){try{let e=document.createElement("template");return e.innerHTML=t,JIs(e.content),e.innerHTML}catch{return t}}function JIs(t){let e=new Set(["SCRIPT","IFRAME","OBJECT","EMBED","AUDIO","VIDEO"]),r=[];for(Array.from(t.childNodes).forEach(n=>{n.nodeType===Node.ELEMENT_NODE?r.push(n):n.nodeType===Node.COMMENT_NODE&&n.remove()});r.length>0;){let n=r.pop();if(e.has(n.tagName)){n.remove();continue}let o=Array.from(n.attributes||[]);for(let i of o)(i.name.startsWith("on")||i.name==="href"&&i.value.trim().toLowerCase().startsWith("javascript:"))&&n.removeAttribute(i.name);Array.from(n.childNodes).forEach(i=>{i.nodeType===Node.ELEMENT_NODE?r.push(i):i.nodeType===Node.COMMENT_NODE&&i.remove()})}}function xyr(t){let e=document.createElement("div");return e.innerHTML=t,e.textContent.trim().length>0||e.querySelector("*")!==null}function a1o(t){if(/^(?:<br\s*\/?>(?:\s| )*)+$/i.test(t))return{sanitized:"",hasContent:!1};let e=byr(t),r=xyr(e);return{sanitized:e,hasContent:r}}var wyr=be(()=>{"use strict";x()});function ZIs(t){if(!t)return!1;let e=t.toLowerCase();return e.startsWith("data:")||e.startsWith("blob:")||L4(e)||e.startsWith("vscode-webview-resource:")||e.startsWith("vscode-resource:")||e.startsWith("chrome-extension:")||e.startsWith("moz-extension:")?!1:s1o(t)||e.startsWith("file://")?!0:iq(t)}function QIs(t,e){if(t.toLowerCase().startsWith("file://"))return t;if(s1o(t))return`file:///${t.replace(/\\/g,"/")}`;let r=qO(t);return e.resolvePath(r)}function eLs(t){let r=(t.split("?")[0]?.split("#")[0]||"").toLowerCase().split(".").pop()||"";return{png:"image/png",jpg:"image/jpeg",jpeg:"image/jpeg",gif:"image/gif",svg:"image/svg+xml",webp:"image/webp",bmp:"image/bmp",ico:"image/x-icon"}[r]||"image/png"}function s1o(t){return/^[a-zA-Z]:[\\/]/.test(t)}var Jct,l1o=be(()=>{"use strict";x();z9();wyr();Qst();UO();Jct=class extends Gy{constructor(){super("html")}async preprocessContent(e){if(typeof document>"u")return e;let r=globalThis.platform?.document;if(!r)return e;let n=document.createElement("div");n.innerHTML=e;let o=Array.from(n.querySelectorAll("img[src]"));if(o.length===0)return e;let i=o.map(async a=>{let s=a.getAttribute("src");if(s){if(L4(s)){try{let l=await YAe(s);l&&a.setAttribute("src",l)}catch(l){console.warn(`[HtmlPlugin] Failed to inline remote image: ${s}`,l)}return}if(ZIs(s))try{let l=QIs(s,r),u=await r.readFile(l,{binary:!0}),f=eLs(s);a.setAttribute("src",`data:${f};base64,${u}`)}catch(l){console.warn(`[HtmlPlugin] Failed to inline local image: ${s}`,l)}}});return await Promise.all(i),n.innerHTML}get nodeSelector(){return["html"]}extractContent(e){if(e.type!=="html")return null;let r=e.value?.trim()||"";if(!r)return null;let{hasContent:n}=a1o(r);return n?r:null}}});function c1o(t){return t.startsWith("file://")?t.slice(7):t}var Zct,u1o=be(()=>{"use strict";x();z9();UO();Zct=class extends Gy{constructor(){super("svg");this._currentNodeType=null;this._currentNodeType=null}extractContent(r){if(this._currentNodeType=r.type,r.type==="code"&&r.lang==="svg")return r.value||null;if(r.type==="image"){let n=r.url||"";if(n.toLowerCase().endsWith(".svg")||n.toLowerCase().includes("image/svg+xml"))return n}return null}isInline(){return this._currentNodeType==="image"}isUrl(r){return r.includes("<svg")||L4(r)?!1:r.startsWith("file://")||r.startsWith("data:")||r.startsWith("./")||r.startsWith("../")||r.includes("/")||r.includes("\\")||/\.\w+$/.test(r)}async fetchContent(r){if(r.startsWith("data:image/svg+xml")){let o=r.match(/^data:image\/svg\+xml;base64,(.+)$/);if(o)return atob(o[1]);let i=r.match(/^data:image\/svg\+xml[;,](.+)$/);if(i)return decodeURIComponent(i[1]);throw new Error("Unsupported SVG data URL format")}let n=globalThis.platform?.document;if(!n)throw new Error("DocumentService not available - platform not initialized");try{if(r.startsWith("file://"))return await n.readFile(r.slice(7));if(r.startsWith("data:"))return await n.readFile(r);if(iq(r)){let o=qO(r),i=n.resolvePath(o);return Nao(i)?await n.readFile(c1o(i)):await n.readRelativeFile(i)}return await n.readFile(c1o(r))}catch(o){throw new Error(`Cannot load SVG file: ${r} - ${o.message}`)}}get nodeSelector(){return["code","image"]}}});var Qct,f1o=be(()=>{"use strict";x();z9();Qct=class extends Gy{constructor(){super("dot")}}});var eut,h1o=be(()=>{"use strict";x();z9();eut=class extends Gy{constructor(){super("infographic")}}});var tut,d1o=be(()=>{"use strict";x();z9();tut=class extends Gy{constructor(){super("canvas")}}});var rut,p1o=be(()=>{"use strict";x();z9();rut=class extends Gy{constructor(){super("drawio")}}});var nut,m1o=be(()=>{"use strict";x();z9();nut=class extends Gy{constructor(){super("plantuml")}}});var out,g1o=be(()=>{"use strict";x();z9();out=class extends Gy{constructor(){super("echarts")}}});function y1o(t,e){tLs.set(t,e)}var tLs,v1o=be(()=>{"use strict";x();tLs=new Map});function rLs(t,e="diagram",r,n){if(t.type==="empty")return null;if(t.type==="error"){let o=document.createElement("pre");return o.style.cssText="background: #fee; border-left: 4px solid #f00; padding: 10px; font-size: 12px;",o.textContent=t.content.text||"",o}if(t.type==="image"){let{base64:o,width:i}=t.content,{inline:a}=t.display,s=Math.round((i||0)/4),l=document.createElement("img");if(l.src=`data:image/png;base64,${o}`,l.alt=n&&n.alt||`${e} diagram`,l.style.cssText="max-width: 100%; height: auto;",n&&n.width&&l.setAttribute("width",n.width),n&&n.height&&l.setAttribute("height",n.height),a)return l.className="diagram-inline",!(n&&n.width)&&s>0&&(l.style.width=`${s}px`),r&&(l.dataset.sourceHash=r,l.dataset.pluginType=e,l.dataset.pluginRendered="true"),l;let u=document.createElement("div");return u.className="diagram-block",u.style.cssText=s>0?`width: ${s}px; max-width: 100%;`:"",r&&(u.dataset.sourceHash=r,u.dataset.pluginType=e,u.dataset.pluginRendered="true"),u.appendChild(l),u}return null}function Cyr(t,e,r,n,o){let i=document.getElementById(t);if(i){let a=i.dataset?.sourceHash;if(a&&o!==a)return;let l={type:"image",content:{base64:e.base64,width:e.width,height:e.height},display:{inline:n,alignment:n?"left":"center"}},u=rLs(l,r,a,{width:i.dataset.width||null,height:i.dataset.height||null,alt:i.dataset.alt||null});u?i.replaceWith(u):i.remove(),a&&(e.svg||e.drawioXml)&&y1o(a,{pluginType:r,svg:e.svg,drawioXml:e.drawioXml})}}var _yr=be(()=>{"use strict";x();v1o()});function A1o(t,e,r,n,o,i){let a=`async_placeholder_type_${e.replace(/-/g,"")}`,l=n(a)||""||e,u=n("async_processing_message",[l,""])||`Processing ${l}...`,f=o?`data-source-hash="${o}" data-plugin-type="${e}"`:"",h=i?["width","height","alt"].filter(d=>i[d]!=null&&i[d]!=="").map(d=>` data-${d}="${nLs(String(i[d]))}"`).join(""):"";return r?`<span id="${t}" class="async-placeholder ${e}-placeholder inline-placeholder" ${f}${h}>
|
|
3760
3760
|
<span class="async-loading">
|
|
3761
3761
|
<span class="async-spinner"></span>
|
|
3762
3762
|
<span class="async-text">${u}</span>
|
|
@@ -3766,7 +3766,7 @@ XID_Start XIDS`.split(/\s/).map(t=>[Abe(t),t])),QFs=new Map([["s",X2(383)],[X2(3
|
|
|
3766
3766
|
<div class="async-spinner"></div>
|
|
3767
3767
|
<div class="async-text">${u}</div>
|
|
3768
3768
|
</div>
|
|
3769
|
-
</div>`}function nLs(t){return t.replace(/&/g,"&").replace(/"/g,""").replace(/</g,"<").replace(/>/g,">")}function b1o(t,e){if(e.type!=="image")return t;let r=e.data?.hProperties;return{...t,sourceWidth:r?.width??null,sourceHeight:r?.height??null,sourceAlt:e.alt??null}}function x1o(t){return`<pre style="background: #fee; color: #8b0000; border-left: 4px solid #f00; padding: 10px; font-size: 12px; white-space: pre-wrap; word-break: break-word;">${t}</pre>`}var Syr=be(()=>{"use strict";x();_yr()});function dMe(t){"@babel/helpers - typeof";return dMe=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},dMe(t)}function uLs(t,e){if(dMe(t)!="object"||!t)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var n=r.call(t,e||"default");if(dMe(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function fLs(t){var e=uLs(t,"string");return dMe(e)=="symbol"?e:e+""}function ro(t,e,r){return(e=fLs(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function w1o(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable})),r.push.apply(r,n)}return r}function Ia(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?w1o(Object(r),!0).forEach(function(n){ro(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):w1o(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function dLs(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function zyr(){throw new Error("setTimeout has not been defined")}function Gyr(){throw new Error("clearTimeout has not been defined")}function J1o(t){if(rB===setTimeout)return setTimeout(t,0);if((rB===zyr||!rB)&&setTimeout)return rB=setTimeout,setTimeout(t,0);try{return rB(t,0)}catch{try{return rB.call(null,t,0)}catch{return rB.call(this,t,0)}}}function pLs(t){if(nB===clearTimeout)return clearTimeout(t);if((nB===Gyr||!nB)&&clearTimeout)return nB=clearTimeout,clearTimeout(t);try{return nB(t)}catch{try{return nB.call(null,t)}catch{return nB.call(this,t)}}}function mLs(){!Tle||!kle||(Tle=!1,kle.length?oB=kle.concat(oB):fMe=-1,oB.length&&Z1o())}function Z1o(){if(!Tle){var t=J1o(mLs);Tle=!0;for(var e=oB.length;e;){for(kle=oB,oB=[];++fMe<e;)kle&&kle[fMe].run();fMe=-1,e=oB.length}kle=null,Tle=!1,pLs(t)}}function C1o(t,e){this.fun=t,this.array=e}function vq(){}function GNs(t,e){if(t==null)return{};var r={};for(var n in t)if({}.hasOwnProperty.call(t,n)){if(e.includes(n))continue;r[n]=t[n]}return r}function HNs(t,e){if(t==null)return{};var r,n,o=GNs(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],e.includes(r)||{}.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}function $1o(t,e,r,n,o,i,a){try{var s=t[i](a),l=s.value}catch(u){r(u);return}s.done?e(l):Promise.resolve(l).then(n,o)}function f1r(t){return function(){var e=this,r=arguments;return new Promise(function(n,o){var i=t.apply(e,r);function a(l){$1o(i,n,o,a,s,"next",l)}function s(l){$1o(i,n,o,a,s,"throw",l)}a(void 0)})}}var oLs,X1o,iLs,aLs,sLs,lLs,Y1o,Pi,cLs,Wyr,iut,uut,hLs,Do,SJ,Lc,K1o,pS,Xyr,kJ,g5,Fbe,kyr,Ov,rB,nB,oB,Tle,kle,fMe,_1o,th,TJ,Q1o,gLs,yLs,hut,evo,Yyr,tvo,vLs,ALs,bLs,xLs,rvo,dut,wLs,CLs,_Ls,SLs,kLs,TLs,ELs,DLs,RLs,MLs,mMe,put,FLs,nvo,ovo,ILs,gMe,Kyr,Jyr,LLs,ivo,Zyr,jLs,avo,PLs,svo,lvo,OLs,BLs,NLs,$Ls,zLs,GLs,HLs,qLs,ULs,VLs,WLs,cvo,XLs,YLs,KLs,uvo,JLs,fvo,Ibe,hvo,ZLs,dvo,Dbe,QLs,Hyr,Qyr,ejs,tjs,pvo,mvo,rjs,njs,e1r,ojs,t1r,r1r,gvo,ijs,yvo,ajs,mut,yMe,sjs,ljs,cjs,vvo,BC,gut,Avo,S1o,n1r,bvo,Rbe,bq,ujs,OC,fjs,xvo,hjs,djs,pjs,mi,Tyr,wvo,_J,nMe,hMe,_le,Ya,Hu,Cvo,L1,cd,mjs,gjs,yjs,vjs,o1r,i1r,sMe,lMe,cMe,_vo,Ele,Dle,Ajs,bjs,xjs,wjs,yut,VE,Cjs,_js,Sjs,kjs,Tjs,Ejs,Djs,Rjs,Mjs,Eyr,Svo,Fjs,Ijs,kvo,Ljs,EJ,jjs,Pjs,pMe,aut,xq,ld,vMe,aB,AMe,Tvo,Ojs,Evo,Bjs,Dvo,Njs,$js,zjs,Gjs,Hjs,qjs,Ujs,Vjs,kg,vut,Wjs,Xjs,Yjs,Kjs,a1r,k1o,oMe,Jjs,cut,Zjs,Qjs,ePs,Rvo,Mvo,tPs,rPs,nPs,oPs,iPs,aPs,sPs,lPs,cPs,uPs,fPs,Fvo,Ivo,hPs,dPs,qyr,pPs,mPs,gPs,yPs,vPs,Lvo,T1o,Dyr,APs,bPs,xPs,wPs,CPs,_Ps,SPs,kPs,TPs,EPs,DPs,jvo,RPs,MPs,FPs,IPs,E1o,LPs,jPs,PPs,OPs,BPs,Pvo,sut,NPs,D1o,$Ps,zPs,GPs,Ovo,Bvo,Nvo,HPs,qPs,$vo,UPs,VPs,WPs,XPs,YPs,KPs,Ryr,DJ,JPs,zvo,ZPs,RJ,QPs,eOs,R1o,tOs,rOs,nOs,oOs,iOs,aOs,sOs,lOs,cOs,Mbe,uOs,MJ,uMe,M1o,fOs,hOs,Myr,dOs,pOs,s1r,mOs,bMe,gOs,xMe,yOs,vOs,AOs,bOs,xOs,wOs,lut,COs,_Os,SOs,Gvo,kOs,TOs,Rle,EOs,gu,DOs,Hvo,ROs,MOs,FOs,IOs,LOs,jOs,POs,OOs,BOs,NOs,l1r,qvo,Uvo,$Os,zOs,iB,fut,GOs,HOs,qOs,Vvo,UOs,F1o,VOs,WOs,Wvo,XOs,Mle,Cbe,_be,Xvo,YOs,KOs,Aut,JOs,ZOs,Yvo,QOs,Kvo,eBs,but,tBs,Jvo,rBs,xut,nBs,oBs,iBs,Aq,UE,aBs,Uyr,wut,sBs,lBs,I1o,cBs,uBs,fBs,hBs,dBs,pBs,mBs,Tbe,L1o,Fyr,gBs,j1o,yBs,vBs,ABs,Vyr,bBs,xBs,wBs,CBs,Sle,Iyr,Zvo,_Bs,SBs,kBs,TBs,EBs,DBs,RBs,MBs,FBs,P1o,Lyr,IBs,Qvo,LBs,eAo,jBs,PBs,OBs,BBs,NBs,$Bs,zBs,GBs,O1o,jyr,HBs,qBs,UBs,VBs,WBs,XBs,tAo,Y2,YBs,KBs,JBs,ZBs,c1r,QBs,eNs,tNs,rNs,nNs,oNs,B1o,iNs,aNs,N1o,sNs,lNs,cNs,uNs,fNs,hNs,dNs,pNs,mNs,rAo,gNs,yNs,vNs,nAo,wMe,Lbe,FJ,ANs,bNs,xNs,wNs,CNs,_Ns,SNs,kNs,TNs,ENs,DNs,RNs,MNs,FNs,INs,LNs,Pyr,jNs,PNs,ONs,BNs,Oyr,oAo,NNs,$Ns,zNs,qNs,iAo,UNs,VNs,WNs,XNs,Ebe,Qm,iMe,Byr,YNs,KNs,u1r,aAo,JNs,ZNs,QNs,z1o,h1r,e$s,Cut,sAo,lAo,d1r,Sbe,t$s,r$s,G1o,n$s,o$s,i$s,aMe,a$s,Nyr,s$s,l$s,cAo,H1o,uAo,c$s,u$s,$yr,f$s,fAo,h$s,d$s,q1o,U1o,p$s,m$s,V1o,R9f,g$s,W1o,M9f,y$s,sB=be(()=>{x();oLs=Object.create,X1o=Object.defineProperty,iLs=Object.getOwnPropertyDescriptor,aLs=Object.getOwnPropertyNames,sLs=Object.getPrototypeOf,lLs=Object.prototype.hasOwnProperty,Y1o=(t,e)=>()=>(t&&(e=t(t=0)),e),Pi=(t,e)=>()=>(e||(t((e={exports:{}}).exports,e),t=null),e.exports),cLs=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(var o=aLs(e),i=0,a=o.length,s;i<a;i++)s=o[i],!lLs.call(t,s)&&s!==r&&X1o(t,s,{get:(l=>e[l]).bind(null,s),enumerable:!(n=iLs(e,s))||n.enumerable});return t},Wyr=(t,e,r)=>(r=t!=null?oLs(sLs(t)):{},cLs(e||!t||!t.__esModule?X1o(r,"default",{value:t,enumerable:!0}):r,t)),iut=(t=>typeof Ym<"u"?Ym:typeof Proxy<"u"?new Proxy(t,{get:(e,r)=>(typeof Ym<"u"?Ym:e)[r]}):t)(function(t){if(typeof Ym<"u")return Ym.apply(this,arguments);throw Error('Calling `require` for "'+t+"\" in an environment that doesn't expose the `require` function. See https://rolldown.rs/in-depth/bundling-cjs#require-external-modules for more details.")});uut=class{constructor(t){ro(this,"rootKey",void 0),this.rootKey=t}},hLs=Object.seal({}),Do=class extends uut{constructor(t){super(t),ro(this,"root",void 0),this.root=new Array}prepForXml(t){var e;t.stack.push(this);let r=this.root.map(n=>n instanceof uut?n.prepForXml(t):n).filter(n=>n!==void 0);return t.stack.pop(),{[this.rootKey]:r.length?r.length===1&&(!((e=r[0])===null||e===void 0)&&e._attr)?r[0]:r:hLs}}addChildElement(t){return this.root.push(t),this}},SJ=class extends Do{constructor(t,e){super(t),ro(this,"includeIfEmpty",void 0),this.includeIfEmpty=e}prepForXml(t){let e=super.prepForXml(t);if(this.includeIfEmpty||e&&(typeof e[this.rootKey]!="object"||Object.keys(e[this.rootKey]).length))return e}};Lc=class extends uut{constructor(t){super("_attr"),ro(this,"root",void 0),ro(this,"xmlKeys",void 0),this.root=t}prepForXml(t){let e={};return Object.entries(this.root).forEach(([r,n])=>{if(n!==void 0){let o=this.xmlKeys&&this.xmlKeys[r]||r;e[o]=n}}),{_attr:e}}},K1o=class extends uut{constructor(t){super("_attr"),ro(this,"root",void 0),this.root=t}prepForXml(t){return{_attr:Object.values(this.root).filter(({value:e})=>e!==void 0).reduce((e,{key:r,value:n})=>Ia(Ia({},e),{},{[r]:n}),{})}}},pS=class extends Lc{constructor(...t){super(...t),ro(this,"xmlKeys",{val:"w:val",color:"w:color",fill:"w:fill",space:"w:space",sz:"w:sz",type:"w:type",rsidR:"w:rsidR",rsidRPr:"w:rsidRPr",rsidSect:"w:rsidSect",w:"w:w",h:"w:h",top:"w:top",right:"w:right",bottom:"w:bottom",left:"w:left",header:"w:header",footer:"w:footer",gutter:"w:gutter",linePitch:"w:linePitch",pos:"w:pos"})}},Xyr=Pi(((t,e)=>{var r=typeof Reflect=="object"?Reflect:null,n=r&&typeof r.apply=="function"?r.apply:function(D,R,M){return Function.prototype.apply.call(D,R,M)},o;r&&typeof r.ownKeys=="function"?o=r.ownKeys:Object.getOwnPropertySymbols?o=function(D){return Object.getOwnPropertyNames(D).concat(Object.getOwnPropertySymbols(D))}:o=function(D){return Object.getOwnPropertyNames(D)};function i(T){console&&console.warn&&console.warn(T)}var a=Number.isNaN||function(D){return D!==D};function s(){s.init.call(this)}e.exports=s,e.exports.once=C,s.EventEmitter=s,s.prototype._events=void 0,s.prototype._eventsCount=0,s.prototype._maxListeners=void 0;var l=10;function u(T){if(typeof T!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof T)}Object.defineProperty(s,"defaultMaxListeners",{enumerable:!0,get:function(){return l},set:function(T){if(typeof T!="number"||T<0||a(T))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+T+".");l=T}}),s.init=function(){(this._events===void 0||this._events===Object.getPrototypeOf(this)._events)&&(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},s.prototype.setMaxListeners=function(D){if(typeof D!="number"||D<0||a(D))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+D+".");return this._maxListeners=D,this};function f(T){return T._maxListeners===void 0?s.defaultMaxListeners:T._maxListeners}s.prototype.getMaxListeners=function(){return f(this)},s.prototype.emit=function(D){for(var R=[],M=1;M<arguments.length;M++)R.push(arguments[M]);var j=D==="error",P=this._events;if(P!==void 0)j=j&&P.error===void 0;else if(!j)return!1;if(j){var L;if(R.length>0&&(L=R[0]),L instanceof Error)throw L;var O=new Error("Unhandled error."+(L?" ("+L.message+")":""));throw O.context=L,O}var B=P[D];if(B===void 0)return!1;if(typeof B=="function")n(B,this,R);else for(var N=B.length,$=y(B,N),M=0;M<N;++M)n($[M],this,R);return!0};function h(T,D,R,M){var j,P,L;if(u(R),P=T._events,P===void 0?(P=T._events=Object.create(null),T._eventsCount=0):(P.newListener!==void 0&&(T.emit("newListener",D,R.listener?R.listener:R),P=T._events),L=P[D]),L===void 0)L=P[D]=R,++T._eventsCount;else if(typeof L=="function"?L=P[D]=M?[R,L]:[L,R]:M?L.unshift(R):L.push(R),j=f(T),j>0&&L.length>j&&!L.warned){L.warned=!0;var O=new Error("Possible EventEmitter memory leak detected. "+L.length+" "+String(D)+" listeners added. Use emitter.setMaxListeners() to increase limit");O.name="MaxListenersExceededWarning",O.emitter=T,O.type=D,O.count=L.length,i(O)}return T}s.prototype.addListener=function(D,R){return h(this,D,R,!1)},s.prototype.on=s.prototype.addListener,s.prototype.prependListener=function(D,R){return h(this,D,R,!0)};function d(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function p(T,D,R){var M={fired:!1,wrapFn:void 0,target:T,type:D,listener:R},j=d.bind(M);return j.listener=R,M.wrapFn=j,j}s.prototype.once=function(D,R){return u(R),this.on(D,p(this,D,R)),this},s.prototype.prependOnceListener=function(D,R){return u(R),this.prependListener(D,p(this,D,R)),this},s.prototype.removeListener=function(D,R){var M,j,P,L,O;if(u(R),j=this._events,j===void 0)return this;if(M=j[D],M===void 0)return this;if(M===R||M.listener===R)--this._eventsCount===0?this._events=Object.create(null):(delete j[D],j.removeListener&&this.emit("removeListener",D,M.listener||R));else if(typeof M!="function"){for(P=-1,L=M.length-1;L>=0;L--)if(M[L]===R||M[L].listener===R){O=M[L].listener,P=L;break}if(P<0)return this;P===0?M.shift():b(M,P),M.length===1&&(j[D]=M[0]),j.removeListener!==void 0&&this.emit("removeListener",D,O||R)}return this},s.prototype.off=s.prototype.removeListener,s.prototype.removeAllListeners=function(D){var R,M=this._events,j;if(M===void 0)return this;if(M.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):M[D]!==void 0&&(--this._eventsCount===0?this._events=Object.create(null):delete M[D]),this;if(arguments.length===0){var P=Object.keys(M),L;for(j=0;j<P.length;++j)L=P[j],L!=="removeListener"&&this.removeAllListeners(L);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if(R=M[D],typeof R=="function")this.removeListener(D,R);else if(R!==void 0)for(j=R.length-1;j>=0;j--)this.removeListener(D,R[j]);return this};function m(T,D,R){var M=T._events;if(M===void 0)return[];var j=M[D];return j===void 0?[]:typeof j=="function"?R?[j.listener||j]:[j]:R?w(j):y(j,j.length)}s.prototype.listeners=function(D){return m(this,D,!0)},s.prototype.rawListeners=function(D){return m(this,D,!1)},s.listenerCount=function(T,D){return typeof T.listenerCount=="function"?T.listenerCount(D):g.call(T,D)},s.prototype.listenerCount=g;function g(T){var D=this._events;if(D!==void 0){var R=D[T];if(typeof R=="function")return 1;if(R!==void 0)return R.length}return 0}s.prototype.eventNames=function(){return this._eventsCount>0?o(this._events):[]};function y(T,D){for(var R=new Array(D),M=0;M<D;++M)R[M]=T[M];return R}function b(T,D){for(;D+1<T.length;D++)T[D]=T[D+1];T.pop()}function w(T){for(var D=new Array(T.length),R=0;R<D.length;++R)D[R]=T[R].listener||T[R];return D}function C(T,D){return new Promise(function(R,M){function j(L){T.removeListener(D,P),M(L)}function P(){typeof T.removeListener=="function"&&T.removeListener("error",j),R([].slice.call(arguments))}k(T,D,P,{once:!0}),D!=="error"&&S(T,j,{once:!0})})}function S(T,D,R){typeof T.on=="function"&&k(T,"error",D,R)}function k(T,D,R,M){if(typeof T.on=="function")M.once?T.once(D,R):T.on(D,R);else if(typeof T.addEventListener=="function")T.addEventListener(D,function j(P){M.once&&T.removeEventListener(D,j),R(P)});else throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof T)}})),kJ=Pi(((t,e)=>{typeof Object.create=="function"?e.exports=function(n,o){o&&(n.super_=o,n.prototype=Object.create(o.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(n,o){if(o){n.super_=o;var i=function(){};i.prototype=o.prototype,n.prototype=new i,n.prototype.constructor=n}}})),Fbe=Y1o((()=>{g5=globalThis||self}));TJ=Y1o((()=>{kyr={exports:{}},Ov=kyr.exports={},(function(){try{typeof setTimeout=="function"?rB=setTimeout:rB=zyr}catch{rB=zyr}try{typeof clearTimeout=="function"?nB=clearTimeout:nB=Gyr}catch{nB=Gyr}})(),oB=[],Tle=!1,fMe=-1,Ov.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)e[r-1]=arguments[r];oB.push(new C1o(t,e)),oB.length===1&&!Tle&&J1o(Z1o)},C1o.prototype.run=function(){this.fun.apply(null,this.array)},Ov.title="browser",Ov.browser=!0,Ov.env={},Ov.argv=[],Ov.version="",Ov.versions={},Ov.on=vq,Ov.addListener=vq,Ov.once=vq,Ov.off=vq,Ov.removeListener=vq,Ov.removeAllListeners=vq,Ov.emit=vq,Ov.prependListener=vq,Ov.prependOnceListener=vq,Ov.listeners=function(t){return[]},Ov.binding=function(t){throw new Error("process.binding is not supported")},Ov.cwd=function(){return"/"},Ov.chdir=function(t){throw new Error("process.chdir is not supported")},Ov.umask=function(){return 0},_1o=kyr.exports,th=dLs(_1o)})),Q1o=Pi(((t,e)=>{e.exports=Xyr().EventEmitter})),gLs=Pi((t=>{t.byteLength=l,t.toByteArray=f,t.fromByteArray=p;for(var e=[],r=[],n=typeof Uint8Array<"u"?Uint8Array:Array,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",i=0,a=o.length;i<a;++i)e[i]=o[i],r[o.charCodeAt(i)]=i;r[45]=62,r[95]=63;function s(m){var g=m.length;if(g%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var y=m.indexOf("=");y===-1&&(y=g);var b=y===g?0:4-y%4;return[y,b]}function l(m){var g=s(m),y=g[0],b=g[1];return(y+b)*3/4-b}function u(m,g,y){return(g+y)*3/4-y}function f(m){var g,y=s(m),b=y[0],w=y[1],C=new n(u(m,b,w)),S=0,k=w>0?b-4:b,T;for(T=0;T<k;T+=4)g=r[m.charCodeAt(T)]<<18|r[m.charCodeAt(T+1)]<<12|r[m.charCodeAt(T+2)]<<6|r[m.charCodeAt(T+3)],C[S++]=g>>16&255,C[S++]=g>>8&255,C[S++]=g&255;return w===2&&(g=r[m.charCodeAt(T)]<<2|r[m.charCodeAt(T+1)]>>4,C[S++]=g&255),w===1&&(g=r[m.charCodeAt(T)]<<10|r[m.charCodeAt(T+1)]<<4|r[m.charCodeAt(T+2)]>>2,C[S++]=g>>8&255,C[S++]=g&255),C}function h(m){return e[m>>18&63]+e[m>>12&63]+e[m>>6&63]+e[m&63]}function d(m,g,y){for(var b,w=[],C=g;C<y;C+=3)b=(m[C]<<16&16711680)+(m[C+1]<<8&65280)+(m[C+2]&255),w.push(h(b));return w.join("")}function p(m){for(var g,y=m.length,b=y%3,w=[],C=16383,S=0,k=y-b;S<k;S+=C)w.push(d(m,S,S+C>k?k:S+C));return b===1?(g=m[y-1],w.push(e[g>>2]+e[g<<4&63]+"==")):b===2&&(g=(m[y-2]<<8)+m[y-1],w.push(e[g>>10]+e[g>>4&63]+e[g<<2&63]+"=")),w.join("")}})),yLs=Pi((t=>{t.read=function(e,r,n,o,i){var a,s,l=i*8-o-1,u=(1<<l)-1,f=u>>1,h=-7,d=n?i-1:0,p=n?-1:1,m=e[r+d];for(d+=p,a=m&(1<<-h)-1,m>>=-h,h+=l;h>0;a=a*256+e[r+d],d+=p,h-=8);for(s=a&(1<<-h)-1,a>>=-h,h+=o;h>0;s=s*256+e[r+d],d+=p,h-=8);if(a===0)a=1-f;else{if(a===u)return s?NaN:(m?-1:1)*(1/0);s=s+Math.pow(2,o),a=a-f}return(m?-1:1)*s*Math.pow(2,a-o)},t.write=function(e,r,n,o,i,a){var s,l,u,f=a*8-i-1,h=(1<<f)-1,d=h>>1,p=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,m=o?0:a-1,g=o?1:-1,y=r<0||r===0&&1/r<0?1:0;for(r=Math.abs(r),isNaN(r)||r===1/0?(l=isNaN(r)?1:0,s=h):(s=Math.floor(Math.log(r)/Math.LN2),r*(u=Math.pow(2,-s))<1&&(s--,u*=2),s+d>=1?r+=p/u:r+=p*Math.pow(2,1-d),r*u>=2&&(s++,u/=2),s+d>=h?(l=0,s=h):s+d>=1?(l=(r*u-1)*Math.pow(2,i),s=s+d):(l=r*Math.pow(2,d-1)*Math.pow(2,i),s=0));i>=8;e[n+m]=l&255,m+=g,l/=256,i-=8);for(s=s<<i|l,f+=i;f>0;e[n+m]=s&255,m+=g,s/=256,f-=8);e[n+m-g]|=y*128}}));hut=Pi((t=>{var e=gLs(),r=yLs(),n=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;t.Buffer=s,t.SlowBuffer=w,t.INSPECT_MAX_BYTES=50;var o=2147483647;t.kMaxLength=o,s.TYPED_ARRAY_SUPPORT=i(),!s.TYPED_ARRAY_SUPPORT&&typeof console<"u"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function i(){try{var me=new Uint8Array(1),ue={foo:function(){return 42}};return Object.setPrototypeOf(ue,Uint8Array.prototype),Object.setPrototypeOf(me,ue),me.foo()===42}catch{return!1}}Object.defineProperty(s.prototype,"parent",{enumerable:!0,get:function(){if(s.isBuffer(this))return this.buffer}}),Object.defineProperty(s.prototype,"offset",{enumerable:!0,get:function(){if(s.isBuffer(this))return this.byteOffset}});function a(me){if(me>o)throw new RangeError('The value "'+me+'" is invalid for option "size"');var ue=new Uint8Array(me);return Object.setPrototypeOf(ue,s.prototype),ue}function s(me,ue,te){if(typeof me=="number"){if(typeof ue=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return h(me)}return l(me,ue,te)}s.poolSize=8192;function l(me,ue,te){if(typeof me=="string")return d(me,ue);if(ArrayBuffer.isView(me))return m(me);if(me==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof me);if(he(me,ArrayBuffer)||me&&he(me.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(he(me,SharedArrayBuffer)||me&&he(me.buffer,SharedArrayBuffer)))return g(me,ue,te);if(typeof me=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var ye=me.valueOf&&me.valueOf();if(ye!=null&&ye!==me)return s.from(ye,ue,te);var Ce=y(me);if(Ce)return Ce;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof me[Symbol.toPrimitive]=="function")return s.from(me[Symbol.toPrimitive]("string"),ue,te);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof me)}s.from=function(me,ue,te){return l(me,ue,te)},Object.setPrototypeOf(s.prototype,Uint8Array.prototype),Object.setPrototypeOf(s,Uint8Array);function u(me){if(typeof me!="number")throw new TypeError('"size" argument must be of type number');if(me<0)throw new RangeError('The value "'+me+'" is invalid for option "size"')}function f(me,ue,te){return u(me),me<=0?a(me):ue!==void 0?typeof te=="string"?a(me).fill(ue,te):a(me).fill(ue):a(me)}s.alloc=function(me,ue,te){return f(me,ue,te)};function h(me){return u(me),a(me<0?0:b(me)|0)}s.allocUnsafe=function(me){return h(me)},s.allocUnsafeSlow=function(me){return h(me)};function d(me,ue){if((typeof ue!="string"||ue==="")&&(ue="utf8"),!s.isEncoding(ue))throw new TypeError("Unknown encoding: "+ue);var te=C(me,ue)|0,ye=a(te),Ce=ye.write(me,ue);return Ce!==te&&(ye=ye.slice(0,Ce)),ye}function p(me){for(var ue=me.length<0?0:b(me.length)|0,te=a(ue),ye=0;ye<ue;ye+=1)te[ye]=me[ye]&255;return te}function m(me){if(he(me,Uint8Array)){var ue=new Uint8Array(me);return g(ue.buffer,ue.byteOffset,ue.byteLength)}return p(me)}function g(me,ue,te){if(ue<0||me.byteLength<ue)throw new RangeError('"offset" is outside of buffer bounds');if(me.byteLength<ue+(te||0))throw new RangeError('"length" is outside of buffer bounds');var ye;return ue===void 0&&te===void 0?ye=new Uint8Array(me):te===void 0?ye=new Uint8Array(me,ue):ye=new Uint8Array(me,ue,te),Object.setPrototypeOf(ye,s.prototype),ye}function y(me){if(s.isBuffer(me)){var ue=b(me.length)|0,te=a(ue);return te.length===0||me.copy(te,0,0,ue),te}if(me.length!==void 0)return typeof me.length!="number"||oe(me.length)?a(0):p(me);if(me.type==="Buffer"&&Array.isArray(me.data))return p(me.data)}function b(me){if(me>=o)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+o.toString(16)+" bytes");return me|0}function w(me){return+me!=me&&(me=0),s.alloc(+me)}s.isBuffer=function(ue){return ue!=null&&ue._isBuffer===!0&&ue!==s.prototype},s.compare=function(ue,te){if(he(ue,Uint8Array)&&(ue=s.from(ue,ue.offset,ue.byteLength)),he(te,Uint8Array)&&(te=s.from(te,te.offset,te.byteLength)),!s.isBuffer(ue)||!s.isBuffer(te))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(ue===te)return 0;for(var ye=ue.length,Ce=te.length,Ie=0,Re=Math.min(ye,Ce);Ie<Re;++Ie)if(ue[Ie]!==te[Ie]){ye=ue[Ie],Ce=te[Ie];break}return ye<Ce?-1:Ce<ye?1:0},s.isEncoding=function(ue){switch(String(ue).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},s.concat=function(ue,te){if(!Array.isArray(ue))throw new TypeError('"list" argument must be an Array of Buffers');if(ue.length===0)return s.alloc(0);var ye;if(te===void 0)for(te=0,ye=0;ye<ue.length;++ye)te+=ue[ye].length;var Ce=s.allocUnsafe(te),Ie=0;for(ye=0;ye<ue.length;++ye){var Re=ue[ye];if(he(Re,Uint8Array))Ie+Re.length>Ce.length?s.from(Re).copy(Ce,Ie):Uint8Array.prototype.set.call(Ce,Re,Ie);else if(s.isBuffer(Re))Re.copy(Ce,Ie);else throw new TypeError('"list" argument must be an Array of Buffers');Ie+=Re.length}return Ce};function C(me,ue){if(s.isBuffer(me))return me.length;if(ArrayBuffer.isView(me)||he(me,ArrayBuffer))return me.byteLength;if(typeof me!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof me);var te=me.length,ye=arguments.length>2&&arguments[2]===!0;if(!ye&&te===0)return 0;for(var Ce=!1;;)switch(ue){case"ascii":case"latin1":case"binary":return te;case"utf8":case"utf-8":return ae(me).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return te*2;case"hex":return te>>>1;case"base64":return Me(me).length;default:if(Ce)return ye?-1:ae(me).length;ue=(""+ue).toLowerCase(),Ce=!0}}s.byteLength=C;function S(me,ue,te){var ye=!1;if((ue===void 0||ue<0)&&(ue=0),ue>this.length||((te===void 0||te>this.length)&&(te=this.length),te<=0)||(te>>>=0,ue>>>=0,te<=ue))return"";for(me||(me="utf8");;)switch(me){case"hex":return q(this,ue,te);case"utf8":case"utf-8":return B(this,ue,te);case"ascii":return V(this,ue,te);case"latin1":case"binary":return W(this,ue,te);case"base64":return O(this,ue,te);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return X(this,ue,te);default:if(ye)throw new TypeError("Unknown encoding: "+me);me=(me+"").toLowerCase(),ye=!0}}s.prototype._isBuffer=!0;function k(me,ue,te){var ye=me[ue];me[ue]=me[te],me[te]=ye}s.prototype.swap16=function(){var ue=this.length;if(ue%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var te=0;te<ue;te+=2)k(this,te,te+1);return this},s.prototype.swap32=function(){var ue=this.length;if(ue%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var te=0;te<ue;te+=4)k(this,te,te+3),k(this,te+1,te+2);return this},s.prototype.swap64=function(){var ue=this.length;if(ue%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var te=0;te<ue;te+=8)k(this,te,te+7),k(this,te+1,te+6),k(this,te+2,te+5),k(this,te+3,te+4);return this},s.prototype.toString=function(){var ue=this.length;return ue===0?"":arguments.length===0?B(this,0,ue):S.apply(this,arguments)},s.prototype.toLocaleString=s.prototype.toString,s.prototype.equals=function(ue){if(!s.isBuffer(ue))throw new TypeError("Argument must be a Buffer");return this===ue?!0:s.compare(this,ue)===0},s.prototype.inspect=function(){var ue="",te=t.INSPECT_MAX_BYTES;return ue=this.toString("hex",0,te).replace(/(.{2})/g,"$1 ").trim(),this.length>te&&(ue+=" ... "),"<Buffer "+ue+">"},n&&(s.prototype[n]=s.prototype.inspect),s.prototype.compare=function(ue,te,ye,Ce,Ie){if(he(ue,Uint8Array)&&(ue=s.from(ue,ue.offset,ue.byteLength)),!s.isBuffer(ue))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof ue);if(te===void 0&&(te=0),ye===void 0&&(ye=ue?ue.length:0),Ce===void 0&&(Ce=0),Ie===void 0&&(Ie=this.length),te<0||ye>ue.length||Ce<0||Ie>this.length)throw new RangeError("out of range index");if(Ce>=Ie&&te>=ye)return 0;if(Ce>=Ie)return-1;if(te>=ye)return 1;if(te>>>=0,ye>>>=0,Ce>>>=0,Ie>>>=0,this===ue)return 0;for(var Re=Ie-Ce,_e=ye-te,Ve=Math.min(Re,_e),Fe=this.slice(Ce,Ie),je=ue.slice(te,ye),qe=0;qe<Ve;++qe)if(Fe[qe]!==je[qe]){Re=Fe[qe],_e=je[qe];break}return Re<_e?-1:_e<Re?1:0};function T(me,ue,te,ye,Ce){if(me.length===0)return-1;if(typeof te=="string"?(ye=te,te=0):te>2147483647?te=2147483647:te<-2147483648&&(te=-2147483648),te=+te,oe(te)&&(te=Ce?0:me.length-1),te<0&&(te=me.length+te),te>=me.length){if(Ce)return-1;te=me.length-1}else if(te<0)if(Ce)te=0;else return-1;if(typeof ue=="string"&&(ue=s.from(ue,ye)),s.isBuffer(ue))return ue.length===0?-1:D(me,ue,te,ye,Ce);if(typeof ue=="number")return ue=ue&255,typeof Uint8Array.prototype.indexOf=="function"?Ce?Uint8Array.prototype.indexOf.call(me,ue,te):Uint8Array.prototype.lastIndexOf.call(me,ue,te):D(me,[ue],te,ye,Ce);throw new TypeError("val must be string, number or Buffer")}function D(me,ue,te,ye,Ce){var Ie=1,Re=me.length,_e=ue.length;if(ye!==void 0&&(ye=String(ye).toLowerCase(),ye==="ucs2"||ye==="ucs-2"||ye==="utf16le"||ye==="utf-16le")){if(me.length<2||ue.length<2)return-1;Ie=2,Re/=2,_e/=2,te/=2}function Ve(Ue,Pe){return Ie===1?Ue[Pe]:Ue.readUInt16BE(Pe*Ie)}var Fe;if(Ce){var je=-1;for(Fe=te;Fe<Re;Fe++)if(Ve(me,Fe)===Ve(ue,je===-1?0:Fe-je)){if(je===-1&&(je=Fe),Fe-je+1===_e)return je*Ie}else je!==-1&&(Fe-=Fe-je),je=-1}else for(te+_e>Re&&(te=Re-_e),Fe=te;Fe>=0;Fe--){for(var qe=!0,Je=0;Je<_e;Je++)if(Ve(me,Fe+Je)!==Ve(ue,Je)){qe=!1;break}if(qe)return Fe}return-1}s.prototype.includes=function(ue,te,ye){return this.indexOf(ue,te,ye)!==-1},s.prototype.indexOf=function(ue,te,ye){return T(this,ue,te,ye,!0)},s.prototype.lastIndexOf=function(ue,te,ye){return T(this,ue,te,ye,!1)};function R(me,ue,te,ye){te=Number(te)||0;var Ce=me.length-te;ye?(ye=Number(ye),ye>Ce&&(ye=Ce)):ye=Ce;var Ie=ue.length;ye>Ie/2&&(ye=Ie/2);for(var Re=0;Re<ye;++Re){var _e=parseInt(ue.substr(Re*2,2),16);if(oe(_e))return Re;me[te+Re]=_e}return Re}function M(me,ue,te,ye){return J(ae(ue,me.length-te),me,te,ye)}function j(me,ue,te,ye){return J(fe(ue),me,te,ye)}function P(me,ue,te,ye){return J(Me(ue),me,te,ye)}function L(me,ue,te,ye){return J(ve(ue,me.length-te),me,te,ye)}s.prototype.write=function(ue,te,ye,Ce){if(te===void 0)Ce="utf8",ye=this.length,te=0;else if(ye===void 0&&typeof te=="string")Ce=te,ye=this.length,te=0;else if(isFinite(te))te=te>>>0,isFinite(ye)?(ye=ye>>>0,Ce===void 0&&(Ce="utf8")):(Ce=ye,ye=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var Ie=this.length-te;if((ye===void 0||ye>Ie)&&(ye=Ie),ue.length>0&&(ye<0||te<0)||te>this.length)throw new RangeError("Attempt to write outside buffer bounds");Ce||(Ce="utf8");for(var Re=!1;;)switch(Ce){case"hex":return R(this,ue,te,ye);case"utf8":case"utf-8":return M(this,ue,te,ye);case"ascii":case"latin1":case"binary":return j(this,ue,te,ye);case"base64":return P(this,ue,te,ye);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return L(this,ue,te,ye);default:if(Re)throw new TypeError("Unknown encoding: "+Ce);Ce=(""+Ce).toLowerCase(),Re=!0}},s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function O(me,ue,te){return ue===0&&te===me.length?e.fromByteArray(me):e.fromByteArray(me.slice(ue,te))}function B(me,ue,te){te=Math.min(me.length,te);for(var ye=[],Ce=ue;Ce<te;){var Ie=me[Ce],Re=null,_e=Ie>239?4:Ie>223?3:Ie>191?2:1;if(Ce+_e<=te){var Ve,Fe,je,qe;switch(_e){case 1:Ie<128&&(Re=Ie);break;case 2:Ve=me[Ce+1],(Ve&192)===128&&(qe=(Ie&31)<<6|Ve&63,qe>127&&(Re=qe));break;case 3:Ve=me[Ce+1],Fe=me[Ce+2],(Ve&192)===128&&(Fe&192)===128&&(qe=(Ie&15)<<12|(Ve&63)<<6|Fe&63,qe>2047&&(qe<55296||qe>57343)&&(Re=qe));break;case 4:Ve=me[Ce+1],Fe=me[Ce+2],je=me[Ce+3],(Ve&192)===128&&(Fe&192)===128&&(je&192)===128&&(qe=(Ie&15)<<18|(Ve&63)<<12|(Fe&63)<<6|je&63,qe>65535&&qe<1114112&&(Re=qe))}}Re===null?(Re=65533,_e=1):Re>65535&&(Re-=65536,ye.push(Re>>>10&1023|55296),Re=56320|Re&1023),ye.push(Re),Ce+=_e}return $(ye)}var N=4096;function $(me){var ue=me.length;if(ue<=N)return String.fromCharCode.apply(String,me);for(var te="",ye=0;ye<ue;)te+=String.fromCharCode.apply(String,me.slice(ye,ye+=N));return te}function V(me,ue,te){var ye="";te=Math.min(me.length,te);for(var Ce=ue;Ce<te;++Ce)ye+=String.fromCharCode(me[Ce]&127);return ye}function W(me,ue,te){var ye="";te=Math.min(me.length,te);for(var Ce=ue;Ce<te;++Ce)ye+=String.fromCharCode(me[Ce]);return ye}function q(me,ue,te){var ye=me.length;(!ue||ue<0)&&(ue=0),(!te||te<0||te>ye)&&(te=ye);for(var Ce="",Ie=ue;Ie<te;++Ie)Ce+=Ae[me[Ie]];return Ce}function X(me,ue,te){for(var ye=me.slice(ue,te),Ce="",Ie=0;Ie<ye.length-1;Ie+=2)Ce+=String.fromCharCode(ye[Ie]+ye[Ie+1]*256);return Ce}s.prototype.slice=function(ue,te){var ye=this.length;ue=~~ue,te=te===void 0?ye:~~te,ue<0?(ue+=ye,ue<0&&(ue=0)):ue>ye&&(ue=ye),te<0?(te+=ye,te<0&&(te=0)):te>ye&&(te=ye),te<ue&&(te=ue);var Ce=this.subarray(ue,te);return Object.setPrototypeOf(Ce,s.prototype),Ce};function ee(me,ue,te){if(me%1!==0||me<0)throw new RangeError("offset is not uint");if(me+ue>te)throw new RangeError("Trying to access beyond buffer length")}s.prototype.readUintLE=s.prototype.readUIntLE=function(ue,te,ye){ue=ue>>>0,te=te>>>0,ye||ee(ue,te,this.length);for(var Ce=this[ue],Ie=1,Re=0;++Re<te&&(Ie*=256);)Ce+=this[ue+Re]*Ie;return Ce},s.prototype.readUintBE=s.prototype.readUIntBE=function(ue,te,ye){ue=ue>>>0,te=te>>>0,ye||ee(ue,te,this.length);for(var Ce=this[ue+--te],Ie=1;te>0&&(Ie*=256);)Ce+=this[ue+--te]*Ie;return Ce},s.prototype.readUint8=s.prototype.readUInt8=function(ue,te){return ue=ue>>>0,te||ee(ue,1,this.length),this[ue]},s.prototype.readUint16LE=s.prototype.readUInt16LE=function(ue,te){return ue=ue>>>0,te||ee(ue,2,this.length),this[ue]|this[ue+1]<<8},s.prototype.readUint16BE=s.prototype.readUInt16BE=function(ue,te){return ue=ue>>>0,te||ee(ue,2,this.length),this[ue]<<8|this[ue+1]},s.prototype.readUint32LE=s.prototype.readUInt32LE=function(ue,te){return ue=ue>>>0,te||ee(ue,4,this.length),(this[ue]|this[ue+1]<<8|this[ue+2]<<16)+this[ue+3]*16777216},s.prototype.readUint32BE=s.prototype.readUInt32BE=function(ue,te){return ue=ue>>>0,te||ee(ue,4,this.length),this[ue]*16777216+(this[ue+1]<<16|this[ue+2]<<8|this[ue+3])},s.prototype.readIntLE=function(ue,te,ye){ue=ue>>>0,te=te>>>0,ye||ee(ue,te,this.length);for(var Ce=this[ue],Ie=1,Re=0;++Re<te&&(Ie*=256);)Ce+=this[ue+Re]*Ie;return Ie*=128,Ce>=Ie&&(Ce-=Math.pow(2,8*te)),Ce},s.prototype.readIntBE=function(ue,te,ye){ue=ue>>>0,te=te>>>0,ye||ee(ue,te,this.length);for(var Ce=te,Ie=1,Re=this[ue+--Ce];Ce>0&&(Ie*=256);)Re+=this[ue+--Ce]*Ie;return Ie*=128,Re>=Ie&&(Re-=Math.pow(2,8*te)),Re},s.prototype.readInt8=function(ue,te){return ue=ue>>>0,te||ee(ue,1,this.length),this[ue]&128?(255-this[ue]+1)*-1:this[ue]},s.prototype.readInt16LE=function(ue,te){ue=ue>>>0,te||ee(ue,2,this.length);var ye=this[ue]|this[ue+1]<<8;return ye&32768?ye|4294901760:ye},s.prototype.readInt16BE=function(ue,te){ue=ue>>>0,te||ee(ue,2,this.length);var ye=this[ue+1]|this[ue]<<8;return ye&32768?ye|4294901760:ye},s.prototype.readInt32LE=function(ue,te){return ue=ue>>>0,te||ee(ue,4,this.length),this[ue]|this[ue+1]<<8|this[ue+2]<<16|this[ue+3]<<24},s.prototype.readInt32BE=function(ue,te){return ue=ue>>>0,te||ee(ue,4,this.length),this[ue]<<24|this[ue+1]<<16|this[ue+2]<<8|this[ue+3]},s.prototype.readFloatLE=function(ue,te){return ue=ue>>>0,te||ee(ue,4,this.length),r.read(this,ue,!0,23,4)},s.prototype.readFloatBE=function(ue,te){return ue=ue>>>0,te||ee(ue,4,this.length),r.read(this,ue,!1,23,4)},s.prototype.readDoubleLE=function(ue,te){return ue=ue>>>0,te||ee(ue,8,this.length),r.read(this,ue,!0,52,8)},s.prototype.readDoubleBE=function(ue,te){return ue=ue>>>0,te||ee(ue,8,this.length),r.read(this,ue,!1,52,8)};function K(me,ue,te,ye,Ce,Ie){if(!s.isBuffer(me))throw new TypeError('"buffer" argument must be a Buffer instance');if(ue>Ce||ue<Ie)throw new RangeError('"value" argument is out of bounds');if(te+ye>me.length)throw new RangeError("Index out of range")}s.prototype.writeUintLE=s.prototype.writeUIntLE=function(ue,te,ye,Ce){if(ue=+ue,te=te>>>0,ye=ye>>>0,!Ce){var Ie=Math.pow(2,8*ye)-1;K(this,ue,te,ye,Ie,0)}var Re=1,_e=0;for(this[te]=ue&255;++_e<ye&&(Re*=256);)this[te+_e]=ue/Re&255;return te+ye},s.prototype.writeUintBE=s.prototype.writeUIntBE=function(ue,te,ye,Ce){if(ue=+ue,te=te>>>0,ye=ye>>>0,!Ce){var Ie=Math.pow(2,8*ye)-1;K(this,ue,te,ye,Ie,0)}var Re=ye-1,_e=1;for(this[te+Re]=ue&255;--Re>=0&&(_e*=256);)this[te+Re]=ue/_e&255;return te+ye},s.prototype.writeUint8=s.prototype.writeUInt8=function(ue,te,ye){return ue=+ue,te=te>>>0,ye||K(this,ue,te,1,255,0),this[te]=ue&255,te+1},s.prototype.writeUint16LE=s.prototype.writeUInt16LE=function(ue,te,ye){return ue=+ue,te=te>>>0,ye||K(this,ue,te,2,65535,0),this[te]=ue&255,this[te+1]=ue>>>8,te+2},s.prototype.writeUint16BE=s.prototype.writeUInt16BE=function(ue,te,ye){return ue=+ue,te=te>>>0,ye||K(this,ue,te,2,65535,0),this[te]=ue>>>8,this[te+1]=ue&255,te+2},s.prototype.writeUint32LE=s.prototype.writeUInt32LE=function(ue,te,ye){return ue=+ue,te=te>>>0,ye||K(this,ue,te,4,4294967295,0),this[te+3]=ue>>>24,this[te+2]=ue>>>16,this[te+1]=ue>>>8,this[te]=ue&255,te+4},s.prototype.writeUint32BE=s.prototype.writeUInt32BE=function(ue,te,ye){return ue=+ue,te=te>>>0,ye||K(this,ue,te,4,4294967295,0),this[te]=ue>>>24,this[te+1]=ue>>>16,this[te+2]=ue>>>8,this[te+3]=ue&255,te+4},s.prototype.writeIntLE=function(ue,te,ye,Ce){if(ue=+ue,te=te>>>0,!Ce){var Ie=Math.pow(2,8*ye-1);K(this,ue,te,ye,Ie-1,-Ie)}var Re=0,_e=1,Ve=0;for(this[te]=ue&255;++Re<ye&&(_e*=256);)ue<0&&Ve===0&&this[te+Re-1]!==0&&(Ve=1),this[te+Re]=(ue/_e>>0)-Ve&255;return te+ye},s.prototype.writeIntBE=function(ue,te,ye,Ce){if(ue=+ue,te=te>>>0,!Ce){var Ie=Math.pow(2,8*ye-1);K(this,ue,te,ye,Ie-1,-Ie)}var Re=ye-1,_e=1,Ve=0;for(this[te+Re]=ue&255;--Re>=0&&(_e*=256);)ue<0&&Ve===0&&this[te+Re+1]!==0&&(Ve=1),this[te+Re]=(ue/_e>>0)-Ve&255;return te+ye},s.prototype.writeInt8=function(ue,te,ye){return ue=+ue,te=te>>>0,ye||K(this,ue,te,1,127,-128),ue<0&&(ue=255+ue+1),this[te]=ue&255,te+1},s.prototype.writeInt16LE=function(ue,te,ye){return ue=+ue,te=te>>>0,ye||K(this,ue,te,2,32767,-32768),this[te]=ue&255,this[te+1]=ue>>>8,te+2},s.prototype.writeInt16BE=function(ue,te,ye){return ue=+ue,te=te>>>0,ye||K(this,ue,te,2,32767,-32768),this[te]=ue>>>8,this[te+1]=ue&255,te+2},s.prototype.writeInt32LE=function(ue,te,ye){return ue=+ue,te=te>>>0,ye||K(this,ue,te,4,2147483647,-2147483648),this[te]=ue&255,this[te+1]=ue>>>8,this[te+2]=ue>>>16,this[te+3]=ue>>>24,te+4},s.prototype.writeInt32BE=function(ue,te,ye){return ue=+ue,te=te>>>0,ye||K(this,ue,te,4,2147483647,-2147483648),ue<0&&(ue=4294967295+ue+1),this[te]=ue>>>24,this[te+1]=ue>>>16,this[te+2]=ue>>>8,this[te+3]=ue&255,te+4};function Q(me,ue,te,ye,Ce,Ie){if(te+ye>me.length)throw new RangeError("Index out of range");if(te<0)throw new RangeError("Index out of range")}function de(me,ue,te,ye,Ce){return ue=+ue,te=te>>>0,Ce||Q(me,ue,te,4,34028234663852886e22,-34028234663852886e22),r.write(me,ue,te,ye,23,4),te+4}s.prototype.writeFloatLE=function(ue,te,ye){return de(this,ue,te,!0,ye)},s.prototype.writeFloatBE=function(ue,te,ye){return de(this,ue,te,!1,ye)};function pe(me,ue,te,ye,Ce){return ue=+ue,te=te>>>0,Ce||Q(me,ue,te,8,17976931348623157e292,-17976931348623157e292),r.write(me,ue,te,ye,52,8),te+8}s.prototype.writeDoubleLE=function(ue,te,ye){return pe(this,ue,te,!0,ye)},s.prototype.writeDoubleBE=function(ue,te,ye){return pe(this,ue,te,!1,ye)},s.prototype.copy=function(ue,te,ye,Ce){if(!s.isBuffer(ue))throw new TypeError("argument should be a Buffer");if(ye||(ye=0),!Ce&&Ce!==0&&(Ce=this.length),te>=ue.length&&(te=ue.length),te||(te=0),Ce>0&&Ce<ye&&(Ce=ye),Ce===ye||ue.length===0||this.length===0)return 0;if(te<0)throw new RangeError("targetStart out of bounds");if(ye<0||ye>=this.length)throw new RangeError("Index out of range");if(Ce<0)throw new RangeError("sourceEnd out of bounds");Ce>this.length&&(Ce=this.length),ue.length-te<Ce-ye&&(Ce=ue.length-te+ye);var Ie=Ce-ye;return this===ue&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(te,ye,Ce):Uint8Array.prototype.set.call(ue,this.subarray(ye,Ce),te),Ie},s.prototype.fill=function(ue,te,ye,Ce){if(typeof ue=="string"){if(typeof te=="string"?(Ce=te,te=0,ye=this.length):typeof ye=="string"&&(Ce=ye,ye=this.length),Ce!==void 0&&typeof Ce!="string")throw new TypeError("encoding must be a string");if(typeof Ce=="string"&&!s.isEncoding(Ce))throw new TypeError("Unknown encoding: "+Ce);if(ue.length===1){var Ie=ue.charCodeAt(0);(Ce==="utf8"&&Ie<128||Ce==="latin1")&&(ue=Ie)}}else typeof ue=="number"?ue=ue&255:typeof ue=="boolean"&&(ue=Number(ue));if(te<0||this.length<te||this.length<ye)throw new RangeError("Out of range index");if(ye<=te)return this;te=te>>>0,ye=ye===void 0?this.length:ye>>>0,ue||(ue=0);var Re;if(typeof ue=="number")for(Re=te;Re<ye;++Re)this[Re]=ue;else{var _e=s.isBuffer(ue)?ue:s.from(ue,Ce),Ve=_e.length;if(Ve===0)throw new TypeError('The value "'+ue+'" is invalid for argument "value"');for(Re=0;Re<ye-te;++Re)this[Re+te]=_e[Re%Ve]}return this};var xe=/[^+/0-9A-Za-z-_]/g;function se(me){if(me=me.split("=")[0],me=me.trim().replace(xe,""),me.length<2)return"";for(;me.length%4!==0;)me=me+"=";return me}function ae(me,ue){ue=ue||1/0;for(var te,ye=me.length,Ce=null,Ie=[],Re=0;Re<ye;++Re){if(te=me.charCodeAt(Re),te>55295&&te<57344){if(!Ce){if(te>56319){(ue-=3)>-1&&Ie.push(239,191,189);continue}else if(Re+1===ye){(ue-=3)>-1&&Ie.push(239,191,189);continue}Ce=te;continue}if(te<56320){(ue-=3)>-1&&Ie.push(239,191,189),Ce=te;continue}te=(Ce-55296<<10|te-56320)+65536}else Ce&&(ue-=3)>-1&&Ie.push(239,191,189);if(Ce=null,te<128){if((ue-=1)<0)break;Ie.push(te)}else if(te<2048){if((ue-=2)<0)break;Ie.push(te>>6|192,te&63|128)}else if(te<65536){if((ue-=3)<0)break;Ie.push(te>>12|224,te>>6&63|128,te&63|128)}else if(te<1114112){if((ue-=4)<0)break;Ie.push(te>>18|240,te>>12&63|128,te>>6&63|128,te&63|128)}else throw new Error("Invalid code point")}return Ie}function fe(me){for(var ue=[],te=0;te<me.length;++te)ue.push(me.charCodeAt(te)&255);return ue}function ve(me,ue){for(var te,ye,Ce,Ie=[],Re=0;Re<me.length&&!((ue-=2)<0);++Re)te=me.charCodeAt(Re),ye=te>>8,Ce=te%256,Ie.push(Ce),Ie.push(ye);return Ie}function Me(me){return e.toByteArray(se(me))}function J(me,ue,te,ye){for(var Ce=0;Ce<ye&&!(Ce+te>=ue.length||Ce>=me.length);++Ce)ue[Ce+te]=me[Ce];return Ce}function he(me,ue){return me instanceof ue||me!=null&&me.constructor!=null&&me.constructor.name!=null&&me.constructor.name===ue.name}function oe(me){return me!==me}var Ae=(function(){for(var me="0123456789abcdef",ue=new Array(256),te=0;te<16;++te)for(var ye=te*16,Ce=0;Ce<16;++Ce)ue[ye+Ce]=me[te]+me[Ce];return ue})()})),evo=Pi(((t,e)=>{e.exports=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var n={},o=Symbol("test"),i=Object(o);if(typeof o=="string"||Object.prototype.toString.call(o)!=="[object Symbol]"||Object.prototype.toString.call(i)!=="[object Symbol]")return!1;var a=42;n[o]=a;for(var s in n)return!1;if(typeof Object.keys=="function"&&Object.keys(n).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(n).length!==0)return!1;var l=Object.getOwnPropertySymbols(n);if(l.length!==1||l[0]!==o||!Object.prototype.propertyIsEnumerable.call(n,o))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var u=Object.getOwnPropertyDescriptor(n,o);if(u.value!==a||u.enumerable!==!0)return!1}return!0}})),Yyr=Pi(((t,e)=>{var r=evo();e.exports=function(){return r()&&!!Symbol.toStringTag}})),tvo=Pi(((t,e)=>{e.exports=Object})),vLs=Pi(((t,e)=>{e.exports=Error})),ALs=Pi(((t,e)=>{e.exports=EvalError})),bLs=Pi(((t,e)=>{e.exports=RangeError})),xLs=Pi(((t,e)=>{e.exports=ReferenceError})),rvo=Pi(((t,e)=>{e.exports=SyntaxError})),dut=Pi(((t,e)=>{e.exports=TypeError})),wLs=Pi(((t,e)=>{e.exports=URIError})),CLs=Pi(((t,e)=>{e.exports=Math.abs})),_Ls=Pi(((t,e)=>{e.exports=Math.floor})),SLs=Pi(((t,e)=>{e.exports=Math.max})),kLs=Pi(((t,e)=>{e.exports=Math.min})),TLs=Pi(((t,e)=>{e.exports=Math.pow})),ELs=Pi(((t,e)=>{e.exports=Math.round})),DLs=Pi(((t,e)=>{e.exports=Number.isNaN||function(n){return n!==n}})),RLs=Pi(((t,e)=>{var r=DLs();e.exports=function(o){return r(o)||o===0?o:o<0?-1:1}})),MLs=Pi(((t,e)=>{e.exports=Object.getOwnPropertyDescriptor})),mMe=Pi(((t,e)=>{var r=MLs();if(r)try{r([],"length")}catch{r=null}e.exports=r})),put=Pi(((t,e)=>{var r=Object.defineProperty||!1;if(r)try{r({},"a",{value:1})}catch{r=!1}e.exports=r})),FLs=Pi(((t,e)=>{var r=typeof Symbol<"u"&&Symbol,n=evo();e.exports=function(){return typeof r!="function"||typeof Symbol!="function"||typeof r("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:n()}})),nvo=Pi(((t,e)=>{e.exports=typeof Reflect<"u"&&Reflect.getPrototypeOf||null})),ovo=Pi(((t,e)=>{e.exports=tvo().getPrototypeOf||null})),ILs=Pi(((t,e)=>{var r="Function.prototype.bind called on incompatible ",n=Object.prototype.toString,o=Math.max,i="[object Function]",a=function(f,h){for(var d=[],p=0;p<f.length;p+=1)d[p]=f[p];for(var m=0;m<h.length;m+=1)d[m+f.length]=h[m];return d},s=function(f,h){for(var d=[],p=h||0,m=0;p<f.length;p+=1,m+=1)d[m]=f[p];return d},l=function(u,f){for(var h="",d=0;d<u.length;d+=1)h+=u[d],d+1<u.length&&(h+=f);return h};e.exports=function(f){var h=this;if(typeof h!="function"||n.apply(h)!==i)throw new TypeError(r+h);for(var d=s(arguments,1),p,m=function(){if(this instanceof p){var C=h.apply(this,a(d,arguments));return Object(C)===C?C:this}return h.apply(f,a(d,arguments))},g=o(0,h.length-d.length),y=[],b=0;b<g;b++)y[b]="$"+b;if(p=Function("binder","return function ("+l(y,",")+"){ return binder.apply(this,arguments); }")(m),h.prototype){var w=function(){};w.prototype=h.prototype,p.prototype=new w,w.prototype=null}return p}})),gMe=Pi(((t,e)=>{var r=ILs();e.exports=Function.prototype.bind||r})),Kyr=Pi(((t,e)=>{e.exports=Function.prototype.call})),Jyr=Pi(((t,e)=>{e.exports=Function.prototype.apply})),LLs=Pi(((t,e)=>{e.exports=typeof Reflect<"u"&&Reflect&&Reflect.apply})),ivo=Pi(((t,e)=>{var r=gMe(),n=Jyr(),o=Kyr();e.exports=LLs()||r.call(o,n)})),Zyr=Pi(((t,e)=>{var r=gMe(),n=dut(),o=Kyr(),i=ivo();e.exports=function(s){if(s.length<1||typeof s[0]!="function")throw new n("a function is required");return i(r,o,s)}})),jLs=Pi(((t,e)=>{var r=Zyr(),n=mMe(),o;try{o=[].__proto__===Array.prototype}catch(l){if(!l||typeof l!="object"||!("code"in l)||l.code!=="ERR_PROTO_ACCESS")throw l}var i=!!o&&n&&n(Object.prototype,"__proto__"),a=Object,s=a.getPrototypeOf;e.exports=i&&typeof i.get=="function"?r([i.get]):typeof s=="function"?function(u){return s(u==null?u:a(u))}:!1})),avo=Pi(((t,e)=>{var r=nvo(),n=ovo(),o=jLs();e.exports=r?function(a){return r(a)}:n?function(a){if(!a||typeof a!="object"&&typeof a!="function")throw new TypeError("getProto: not an object");return n(a)}:o?function(a){return o(a)}:null})),PLs=Pi(((t,e)=>{var r=Function.prototype.call,n=Object.prototype.hasOwnProperty;e.exports=gMe().call(r,n)})),svo=Pi(((t,e)=>{var r,n=tvo(),o=vLs(),i=ALs(),a=bLs(),s=xLs(),l=rvo(),u=dut(),f=wLs(),h=CLs(),d=_Ls(),p=SLs(),m=kLs(),g=TLs(),y=ELs(),b=RLs(),w=Function,C=function(ve){try{return w('"use strict"; return ('+ve+").constructor;")()}catch{}},S=mMe(),k=put(),T=function(){throw new u},D=S?(function(){try{return arguments.callee,T}catch{try{return S(arguments,"callee").get}catch{return T}}})():T,R=FLs()(),M=avo(),j=ovo(),P=nvo(),L=Jyr(),O=Kyr(),B={},N=typeof Uint8Array>"u"||!M?r:M(Uint8Array),$={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?r:ArrayBuffer,"%ArrayIteratorPrototype%":R&&M?M([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":B,"%AsyncGenerator%":B,"%AsyncGeneratorFunction%":B,"%AsyncIteratorPrototype%":B,"%Atomics%":typeof Atomics>"u"?r:Atomics,"%BigInt%":typeof BigInt>"u"?r:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?r:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?r:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?r:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":o,"%eval%":eval,"%EvalError%":i,"%Float16Array%":typeof Float16Array>"u"?r:Float16Array,"%Float32Array%":typeof Float32Array>"u"?r:Float32Array,"%Float64Array%":typeof Float64Array>"u"?r:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?r:FinalizationRegistry,"%Function%":w,"%GeneratorFunction%":B,"%Int8Array%":typeof Int8Array>"u"?r:Int8Array,"%Int16Array%":typeof Int16Array>"u"?r:Int16Array,"%Int32Array%":typeof Int32Array>"u"?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":R&&M?M(M([][Symbol.iterator]())):r,"%JSON%":typeof JSON=="object"?JSON:r,"%Map%":typeof Map>"u"?r:Map,"%MapIteratorPrototype%":typeof Map>"u"||!R||!M?r:M(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":n,"%Object.getOwnPropertyDescriptor%":S,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?r:Promise,"%Proxy%":typeof Proxy>"u"?r:Proxy,"%RangeError%":a,"%ReferenceError%":s,"%Reflect%":typeof Reflect>"u"?r:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?r:Set,"%SetIteratorPrototype%":typeof Set>"u"||!R||!M?r:M(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":R&&M?M(""[Symbol.iterator]()):r,"%Symbol%":R?Symbol:r,"%SyntaxError%":l,"%ThrowTypeError%":D,"%TypedArray%":N,"%TypeError%":u,"%Uint8Array%":typeof Uint8Array>"u"?r:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?r:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?r:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?r:Uint32Array,"%URIError%":f,"%WeakMap%":typeof WeakMap>"u"?r:WeakMap,"%WeakRef%":typeof WeakRef>"u"?r:WeakRef,"%WeakSet%":typeof WeakSet>"u"?r:WeakSet,"%Function.prototype.call%":O,"%Function.prototype.apply%":L,"%Object.defineProperty%":k,"%Object.getPrototypeOf%":j,"%Math.abs%":h,"%Math.floor%":d,"%Math.max%":p,"%Math.min%":m,"%Math.pow%":g,"%Math.round%":y,"%Math.sign%":b,"%Reflect.getPrototypeOf%":P};if(M)try{null.error}catch(ve){$["%Error.prototype%"]=M(M(ve))}var V=function ve(Me){var J;if(Me==="%AsyncFunction%")J=C("async function () {}");else if(Me==="%GeneratorFunction%")J=C("function* () {}");else if(Me==="%AsyncGeneratorFunction%")J=C("async function* () {}");else if(Me==="%AsyncGenerator%"){var he=ve("%AsyncGeneratorFunction%");he&&(J=he.prototype)}else if(Me==="%AsyncIteratorPrototype%"){var oe=ve("%AsyncGenerator%");oe&&M&&(J=M(oe.prototype))}return $[Me]=J,J},W={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},q=gMe(),X=PLs(),ee=q.call(O,Array.prototype.concat),K=q.call(L,Array.prototype.splice),Q=q.call(O,String.prototype.replace),de=q.call(O,String.prototype.slice),pe=q.call(O,RegExp.prototype.exec),xe=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,se=/\\(\\)?/g,ae=function(Me){var J=de(Me,0,1),he=de(Me,-1);if(J==="%"&&he!=="%")throw new l("invalid intrinsic syntax, expected closing `%`");if(he==="%"&&J!=="%")throw new l("invalid intrinsic syntax, expected opening `%`");var oe=[];return Q(Me,xe,function(Ae,me,ue,te){oe[oe.length]=ue?Q(te,se,"$1"):me||Ae}),oe},fe=function(Me,J){var he=Me,oe;if(X(W,he)&&(oe=W[he],he="%"+oe[0]+"%"),X($,he)){var Ae=$[he];if(Ae===B&&(Ae=V(he)),typeof Ae>"u"&&!J)throw new u("intrinsic "+Me+" exists, but is not available. Please file an issue!");return{alias:oe,name:he,value:Ae}}throw new l("intrinsic "+Me+" does not exist!")};e.exports=function(Me,J){if(typeof Me!="string"||Me.length===0)throw new u("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof J!="boolean")throw new u('"allowMissing" argument must be a boolean');if(pe(/^%?[^%]*%?$/,Me)===null)throw new l("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var he=ae(Me),oe=he.length>0?he[0]:"",Ae=fe("%"+oe+"%",J),me=Ae.name,ue=Ae.value,te=!1,ye=Ae.alias;ye&&(oe=ye[0],K(he,ee([0,1],ye)));for(var Ce=1,Ie=!0;Ce<he.length;Ce+=1){var Re=he[Ce],_e=de(Re,0,1),Ve=de(Re,-1);if((_e==='"'||_e==="'"||_e==="`"||Ve==='"'||Ve==="'"||Ve==="`")&&_e!==Ve)throw new l("property names with quotes must have matching quotes");if((Re==="constructor"||!Ie)&&(te=!0),oe+="."+Re,me="%"+oe+"%",X($,me))ue=$[me];else if(ue!=null){if(!(Re in ue)){if(!J)throw new u("base intrinsic for "+Me+" exists, but the property is not available.");return}if(S&&Ce+1>=he.length){var Fe=S(ue,Re);Ie=!!Fe,Ie&&"get"in Fe&&!("originalValue"in Fe.get)?ue=Fe.get:ue=ue[Re]}else Ie=X(ue,Re),ue=ue[Re];Ie&&!te&&($[me]=ue)}}return ue}})),lvo=Pi(((t,e)=>{var r=svo(),n=Zyr(),o=n([r("%String.prototype.indexOf%")]);e.exports=function(a,s){var l=r(a,!!s);return typeof l=="function"&&o(a,".prototype.")>-1?n([l]):l}})),OLs=Pi(((t,e)=>{var r=Yyr()(),n=lvo()("Object.prototype.toString"),o=function(l){return r&&l&&typeof l=="object"&&Symbol.toStringTag in l?!1:n(l)==="[object Arguments]"},i=function(l){return o(l)?!0:l!==null&&typeof l=="object"&&"length"in l&&typeof l.length=="number"&&l.length>=0&&n(l)!=="[object Array]"&&"callee"in l&&n(l.callee)==="[object Function]"},a=(function(){return o(arguments)})();o.isLegacyArguments=i,e.exports=a?o:i})),BLs=Pi(((t,e)=>{var r=Object.prototype.toString,n=Function.prototype.toString,o=/^\s*(?:function)?\*/,i=Yyr()(),a=Object.getPrototypeOf,s=function(){if(!i)return!1;try{return Function("return function*() {}")()}catch{}},l;e.exports=function(f){if(typeof f!="function")return!1;if(o.test(n.call(f)))return!0;if(!i)return r.call(f)==="[object GeneratorFunction]";if(!a)return!1;if(typeof l>"u"){var h=s();l=h?a(h):!1}return a(f)===l}})),NLs=Pi(((t,e)=>{var r=Function.prototype.toString,n=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply,o,i;if(typeof n=="function"&&typeof Object.defineProperty=="function")try{o=Object.defineProperty({},"length",{get:function(){throw i}}),i={},n(function(){throw 42},null,o)}catch(S){S!==i&&(n=null)}else n=null;var a=/^\s*class\b/,s=function(k){try{var T=r.call(k);return a.test(T)}catch{return!1}},l=function(k){try{return s(k)?!1:(r.call(k),!0)}catch{return!1}},u=Object.prototype.toString,f="[object Object]",h="[object Function]",d="[object GeneratorFunction]",p="[object HTMLAllCollection]",m="[object HTML document.all class]",g="[object HTMLCollection]",y=typeof Symbol=="function"&&!!Symbol.toStringTag,b=!(0 in[,]),w=function(){return!1};if(typeof document=="object"){var C=document.all;u.call(C)===u.call(document.all)&&(w=function(k){if((b||!k)&&(typeof k>"u"||typeof k=="object"))try{var T=u.call(k);return(T===p||T===m||T===g||T===f)&&k("")==null}catch{}return!1})}e.exports=n?function(k){if(w(k))return!0;if(!k||typeof k!="function"&&typeof k!="object")return!1;try{n(k,null,o)}catch(T){if(T!==i)return!1}return!s(k)&&l(k)}:function(k){if(w(k))return!0;if(!k||typeof k!="function"&&typeof k!="object")return!1;if(y)return l(k);if(s(k))return!1;var T=u.call(k);return T!==h&&T!==d&&!/^\[object HTML/.test(T)?!1:l(k)}})),$Ls=Pi(((t,e)=>{var r=NLs(),n=Object.prototype.toString,o=Object.prototype.hasOwnProperty,i=function(f,h,d){for(var p=0,m=f.length;p<m;p++)o.call(f,p)&&(d==null?h(f[p],p,f):h.call(d,f[p],p,f))},a=function(f,h,d){for(var p=0,m=f.length;p<m;p++)d==null?h(f.charAt(p),p,f):h.call(d,f.charAt(p),p,f)},s=function(f,h,d){for(var p in f)o.call(f,p)&&(d==null?h(f[p],p,f):h.call(d,f[p],p,f))};function l(u){return n.call(u)==="[object Array]"}e.exports=function(f,h,d){if(!r(h))throw new TypeError("iterator must be a function");var p;arguments.length>=3&&(p=d),l(f)?i(f,h,p):typeof f=="string"?a(f,h,p):s(f,h,p)}})),zLs=Pi(((t,e)=>{e.exports=["Float32Array","Float64Array","Int8Array","Int16Array","Int32Array","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array"]})),GLs=Pi(((t,e)=>{Fbe();var r=zLs(),n=typeof globalThis>"u"?g5:globalThis;e.exports=function(){for(var i=[],a=0;a<r.length;a++)typeof n[r[a]]=="function"&&(i[i.length]=r[a]);return i}})),HLs=Pi(((t,e)=>{var r=put(),n=rvo(),o=dut(),i=mMe();e.exports=function(s,l,u){if(!s||typeof s!="object"&&typeof s!="function")throw new o("`obj` must be an object or a function`");if(typeof l!="string"&&typeof l!="symbol")throw new o("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new o("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new o("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new o("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new o("`loose`, if provided, must be a boolean");var f=arguments.length>3?arguments[3]:null,h=arguments.length>4?arguments[4]:null,d=arguments.length>5?arguments[5]:null,p=arguments.length>6?arguments[6]:!1,m=!!i&&i(s,l);if(r)r(s,l,{configurable:d===null&&m?m.configurable:!d,enumerable:f===null&&m?m.enumerable:!f,value:u,writable:h===null&&m?m.writable:!h});else if(p||!f&&!h&&!d)s[l]=u;else throw new n("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")}})),qLs=Pi(((t,e)=>{var r=put(),n=function(){return!!r};n.hasArrayLengthDefineBug=function(){if(!r)return null;try{return r([],"length",{value:1}).length!==1}catch{return!0}},e.exports=n})),ULs=Pi(((t,e)=>{var r=svo(),n=HLs(),o=qLs()(),i=mMe(),a=dut(),s=r("%Math.floor%");e.exports=function(u,f){if(typeof u!="function")throw new a("`fn` is not a function");if(typeof f!="number"||f<0||f>4294967295||s(f)!==f)throw new a("`length` must be a positive 32-bit integer");var h=arguments.length>2&&!!arguments[2],d=!0,p=!0;if("length"in u&&i){var m=i(u,"length");m&&!m.configurable&&(d=!1),m&&!m.writable&&(p=!1)}return(d||p||!h)&&(o?n(u,"length",f,!0,!0):n(u,"length",f)),u}})),VLs=Pi(((t,e)=>{var r=gMe(),n=Jyr(),o=ivo();e.exports=function(){return o(r,n,arguments)}})),WLs=Pi(((t,e)=>{var r=ULs(),n=put(),o=Zyr(),i=VLs();e.exports=function(s){var l=o(arguments),u=s.length-(arguments.length-1);return r(l,1+(u>0?u:0),!0)},n?n(e.exports,"apply",{value:i}):e.exports.apply=i})),cvo=Pi(((t,e)=>{Fbe();var r=$Ls(),n=GLs(),o=WLs(),i=lvo(),a=mMe(),s=avo(),l=i("Object.prototype.toString"),u=Yyr()(),f=typeof globalThis>"u"?g5:globalThis,h=n(),d=i("String.prototype.slice"),p=i("Array.prototype.indexOf",!0)||function(w,C){for(var S=0;S<w.length;S+=1)if(w[S]===C)return S;return-1},m={__proto__:null};u&&a&&s?r(h,function(b){var w=new f[b];if(Symbol.toStringTag in w&&s){var C=s(w),S=a(C,Symbol.toStringTag);!S&&C&&(S=a(s(C),Symbol.toStringTag)),m["$"+b]=o(S.get)}}):r(h,function(b){var w=new f[b],C=w.slice||w.set;C&&(m["$"+b]=o(C))});var g=function(w){var C=!1;return r(m,function(S,k){if(!C)try{"$"+S(w)===k&&(C=d(k,1))}catch{}}),C},y=function(w){var C=!1;return r(m,function(S,k){if(!C)try{S(w),C=d(k,1)}catch{}}),C};e.exports=function(w){if(!w||typeof w!="object")return!1;if(!u){var C=d(l(w),8,-1);return p(h,C)>-1?C:C!=="Object"?!1:y(w)}return a?g(w):null}})),XLs=Pi(((t,e)=>{var r=cvo();e.exports=function(o){return!!r(o)}})),YLs=Pi((t=>{var e=OLs(),r=BLs(),n=cvo(),o=XLs();function i(ye){return ye.call.bind(ye)}var a=typeof BigInt<"u",s=typeof Symbol<"u",l=i(Object.prototype.toString),u=i(Number.prototype.valueOf),f=i(String.prototype.valueOf),h=i(Boolean.prototype.valueOf);if(a)var d=i(BigInt.prototype.valueOf);if(s)var p=i(Symbol.prototype.valueOf);function m(ye,Ce){if(typeof ye!="object")return!1;try{return Ce(ye),!0}catch{return!1}}t.isArgumentsObject=e,t.isGeneratorFunction=r,t.isTypedArray=o;function g(ye){return typeof Promise<"u"&&ye instanceof Promise||ye!==null&&typeof ye=="object"&&typeof ye.then=="function"&&typeof ye.catch=="function"}t.isPromise=g;function y(ye){return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?ArrayBuffer.isView(ye):o(ye)||Q(ye)}t.isArrayBufferView=y;function b(ye){return n(ye)==="Uint8Array"}t.isUint8Array=b;function w(ye){return n(ye)==="Uint8ClampedArray"}t.isUint8ClampedArray=w;function C(ye){return n(ye)==="Uint16Array"}t.isUint16Array=C;function S(ye){return n(ye)==="Uint32Array"}t.isUint32Array=S;function k(ye){return n(ye)==="Int8Array"}t.isInt8Array=k;function T(ye){return n(ye)==="Int16Array"}t.isInt16Array=T;function D(ye){return n(ye)==="Int32Array"}t.isInt32Array=D;function R(ye){return n(ye)==="Float32Array"}t.isFloat32Array=R;function M(ye){return n(ye)==="Float64Array"}t.isFloat64Array=M;function j(ye){return n(ye)==="BigInt64Array"}t.isBigInt64Array=j;function P(ye){return n(ye)==="BigUint64Array"}t.isBigUint64Array=P;function L(ye){return l(ye)==="[object Map]"}L.working=typeof Map<"u"&&L(new Map);function O(ye){return typeof Map>"u"?!1:L.working?L(ye):ye instanceof Map}t.isMap=O;function B(ye){return l(ye)==="[object Set]"}B.working=typeof Set<"u"&&B(new Set);function N(ye){return typeof Set>"u"?!1:B.working?B(ye):ye instanceof Set}t.isSet=N;function $(ye){return l(ye)==="[object WeakMap]"}$.working=typeof WeakMap<"u"&&$(new WeakMap);function V(ye){return typeof WeakMap>"u"?!1:$.working?$(ye):ye instanceof WeakMap}t.isWeakMap=V;function W(ye){return l(ye)==="[object WeakSet]"}W.working=typeof WeakSet<"u"&&W(new WeakSet);function q(ye){return W(ye)}t.isWeakSet=q;function X(ye){return l(ye)==="[object ArrayBuffer]"}X.working=typeof ArrayBuffer<"u"&&X(new ArrayBuffer);function ee(ye){return typeof ArrayBuffer>"u"?!1:X.working?X(ye):ye instanceof ArrayBuffer}t.isArrayBuffer=ee;function K(ye){return l(ye)==="[object DataView]"}K.working=typeof ArrayBuffer<"u"&&typeof DataView<"u"&&K(new DataView(new ArrayBuffer(1),0,1));function Q(ye){return typeof DataView>"u"?!1:K.working?K(ye):ye instanceof DataView}t.isDataView=Q;var de=typeof SharedArrayBuffer<"u"?SharedArrayBuffer:void 0;function pe(ye){return l(ye)==="[object SharedArrayBuffer]"}function xe(ye){return typeof de>"u"?!1:(typeof pe.working>"u"&&(pe.working=pe(new de)),pe.working?pe(ye):ye instanceof de)}t.isSharedArrayBuffer=xe;function se(ye){return l(ye)==="[object AsyncFunction]"}t.isAsyncFunction=se;function ae(ye){return l(ye)==="[object Map Iterator]"}t.isMapIterator=ae;function fe(ye){return l(ye)==="[object Set Iterator]"}t.isSetIterator=fe;function ve(ye){return l(ye)==="[object Generator]"}t.isGeneratorObject=ve;function Me(ye){return l(ye)==="[object WebAssembly.Module]"}t.isWebAssemblyCompiledModule=Me;function J(ye){return m(ye,u)}t.isNumberObject=J;function he(ye){return m(ye,f)}t.isStringObject=he;function oe(ye){return m(ye,h)}t.isBooleanObject=oe;function Ae(ye){return a&&m(ye,d)}t.isBigIntObject=Ae;function me(ye){return s&&m(ye,p)}t.isSymbolObject=me;function ue(ye){return J(ye)||he(ye)||oe(ye)||Ae(ye)||me(ye)}t.isBoxedPrimitive=ue;function te(ye){return typeof Uint8Array<"u"&&(ee(ye)||xe(ye))}t.isAnyArrayBuffer=te,["isProxy","isExternal","isModuleNamespaceObject"].forEach(function(ye){Object.defineProperty(t,ye,{enumerable:!1,value:function(){throw new Error(ye+" is not supported in userland")}})})})),KLs=Pi(((t,e)=>{e.exports=function(n){return n&&typeof n=="object"&&typeof n.copy=="function"&&typeof n.fill=="function"&&typeof n.readUInt8=="function"}})),uvo=Pi((t=>{TJ();var e=Object.getOwnPropertyDescriptors||function(Q){for(var de=Object.keys(Q),pe={},xe=0;xe<de.length;xe++)pe[de[xe]]=Object.getOwnPropertyDescriptor(Q,de[xe]);return pe},r=/%[sdj%]/g;t.format=function(K){if(!k(K)){for(var Q=[],de=0;de<arguments.length;de++)Q.push(a(arguments[de]));return Q.join(" ")}for(var de=1,pe=arguments,xe=pe.length,se=String(K).replace(r,function(fe){if(fe==="%%")return"%";if(de>=xe)return fe;switch(fe){case"%s":return String(pe[de++]);case"%d":return Number(pe[de++]);case"%j":try{return JSON.stringify(pe[de++])}catch{return"[Circular]"}default:return fe}}),ae=pe[de];de<xe;ae=pe[++de])w(ae)||!M(ae)?se+=" "+ae:se+=" "+a(ae);return se},t.deprecate=function(K,Q){if(typeof th<"u"&&th.noDeprecation===!0)return K;if(typeof th>"u")return function(){return t.deprecate(K,Q).apply(this,arguments)};var de=!1;function pe(){if(!de){if(th.throwDeprecation)throw new Error(Q);th.traceDeprecation?console.trace(Q):console.error(Q),de=!0}return K.apply(this,arguments)}return pe};var n={},o=/^$/;if(th.env.NODE_DEBUG){var i=th.env.NODE_DEBUG;i=i.replace(/[|\\{}()[\]^$+?.]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"$|^").toUpperCase(),o=new RegExp("^"+i+"$","i")}t.debuglog=function(K){if(K=K.toUpperCase(),!n[K])if(o.test(K)){var Q=th.pid;n[K]=function(){var de=t.format.apply(t,arguments);console.error("%s %d: %s",K,Q,de)}}else n[K]=function(){};return n[K]};function a(K,Q){var de={seen:[],stylize:l};return arguments.length>=3&&(de.depth=arguments[2]),arguments.length>=4&&(de.colors=arguments[3]),b(Q)?de.showHidden=Q:Q&&t._extend(de,Q),D(de.showHidden)&&(de.showHidden=!1),D(de.depth)&&(de.depth=2),D(de.colors)&&(de.colors=!1),D(de.customInspect)&&(de.customInspect=!0),de.colors&&(de.stylize=s),f(de,K,de.depth)}t.inspect=a,a.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},a.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function s(K,Q){var de=a.styles[Q];return de?"\x1B["+a.colors[de][0]+"m"+K+"\x1B["+a.colors[de][1]+"m":K}function l(K,Q){return K}function u(K){var Q={};return K.forEach(function(de,pe){Q[de]=!0}),Q}function f(K,Q,de){if(K.customInspect&&Q&&L(Q.inspect)&&Q.inspect!==t.inspect&&!(Q.constructor&&Q.constructor.prototype===Q)){var pe=Q.inspect(de,K);return k(pe)||(pe=f(K,pe,de)),pe}var xe=h(K,Q);if(xe)return xe;var se=Object.keys(Q),ae=u(se);if(K.showHidden&&(se=Object.getOwnPropertyNames(Q)),P(Q)&&(se.indexOf("message")>=0||se.indexOf("description")>=0))return d(Q);if(se.length===0){if(L(Q)){var fe=Q.name?": "+Q.name:"";return K.stylize("[Function"+fe+"]","special")}if(R(Q))return K.stylize(RegExp.prototype.toString.call(Q),"regexp");if(j(Q))return K.stylize(Date.prototype.toString.call(Q),"date");if(P(Q))return d(Q)}var ve="",Me=!1,J=["{","}"];if(y(Q)&&(Me=!0,J=["[","]"]),L(Q)&&(ve=" [Function"+(Q.name?": "+Q.name:"")+"]"),R(Q)&&(ve=" "+RegExp.prototype.toString.call(Q)),j(Q)&&(ve=" "+Date.prototype.toUTCString.call(Q)),P(Q)&&(ve=" "+d(Q)),se.length===0&&(!Me||Q.length==0))return J[0]+ve+J[1];if(de<0)return R(Q)?K.stylize(RegExp.prototype.toString.call(Q),"regexp"):K.stylize("[Object]","special");K.seen.push(Q);var he;return Me?he=p(K,Q,de,ae,se):he=se.map(function(oe){return m(K,Q,de,ae,oe,Me)}),K.seen.pop(),g(he,ve,J)}function h(K,Q){if(D(Q))return K.stylize("undefined","undefined");if(k(Q)){var de="'"+JSON.stringify(Q).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return K.stylize(de,"string")}if(S(Q))return K.stylize(""+Q,"number");if(b(Q))return K.stylize(""+Q,"boolean");if(w(Q))return K.stylize("null","null")}function d(K){return"["+Error.prototype.toString.call(K)+"]"}function p(K,Q,de,pe,xe){for(var se=[],ae=0,fe=Q.length;ae<fe;++ae)W(Q,String(ae))?se.push(m(K,Q,de,pe,String(ae),!0)):se.push("");return xe.forEach(function(ve){ve.match(/^\d+$/)||se.push(m(K,Q,de,pe,ve,!0))}),se}function m(K,Q,de,pe,xe,se){var ae,fe,ve=Object.getOwnPropertyDescriptor(Q,xe)||{value:Q[xe]};if(ve.get?ve.set?fe=K.stylize("[Getter/Setter]","special"):fe=K.stylize("[Getter]","special"):ve.set&&(fe=K.stylize("[Setter]","special")),W(pe,xe)||(ae="["+xe+"]"),fe||(K.seen.indexOf(ve.value)<0?(w(de)?fe=f(K,ve.value,null):fe=f(K,ve.value,de-1),fe.indexOf(`
|
|
3769
|
+
</div>`}function nLs(t){return t.replace(/&/g,"&").replace(/"/g,""").replace(/</g,"<").replace(/>/g,">")}function b1o(t,e){let r={...t};if(e.type==="image"){let n=e.data?.hProperties;r.sourceWidth=n?.width??null,r.sourceHeight=n?.height??null,r.sourceAlt=e.alt??null}return r.sourceLine=e.position?.start?.line??null,r}function x1o(t){return`<pre style="background: #fee; color: #8b0000; border-left: 4px solid #f00; padding: 10px; font-size: 12px; white-space: pre-wrap; word-break: break-word;">${t}</pre>`}var Syr=be(()=>{"use strict";x();_yr()});function dMe(t){"@babel/helpers - typeof";return dMe=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},dMe(t)}function uLs(t,e){if(dMe(t)!="object"||!t)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var n=r.call(t,e||"default");if(dMe(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function fLs(t){var e=uLs(t,"string");return dMe(e)=="symbol"?e:e+""}function ro(t,e,r){return(e=fLs(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function w1o(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable})),r.push.apply(r,n)}return r}function Ia(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?w1o(Object(r),!0).forEach(function(n){ro(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):w1o(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function dLs(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function zyr(){throw new Error("setTimeout has not been defined")}function Gyr(){throw new Error("clearTimeout has not been defined")}function J1o(t){if(rB===setTimeout)return setTimeout(t,0);if((rB===zyr||!rB)&&setTimeout)return rB=setTimeout,setTimeout(t,0);try{return rB(t,0)}catch{try{return rB.call(null,t,0)}catch{return rB.call(this,t,0)}}}function pLs(t){if(nB===clearTimeout)return clearTimeout(t);if((nB===Gyr||!nB)&&clearTimeout)return nB=clearTimeout,clearTimeout(t);try{return nB(t)}catch{try{return nB.call(null,t)}catch{return nB.call(this,t)}}}function mLs(){!Tle||!kle||(Tle=!1,kle.length?oB=kle.concat(oB):fMe=-1,oB.length&&Z1o())}function Z1o(){if(!Tle){var t=J1o(mLs);Tle=!0;for(var e=oB.length;e;){for(kle=oB,oB=[];++fMe<e;)kle&&kle[fMe].run();fMe=-1,e=oB.length}kle=null,Tle=!1,pLs(t)}}function C1o(t,e){this.fun=t,this.array=e}function vq(){}function GNs(t,e){if(t==null)return{};var r={};for(var n in t)if({}.hasOwnProperty.call(t,n)){if(e.includes(n))continue;r[n]=t[n]}return r}function HNs(t,e){if(t==null)return{};var r,n,o=GNs(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],e.includes(r)||{}.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}function $1o(t,e,r,n,o,i,a){try{var s=t[i](a),l=s.value}catch(u){r(u);return}s.done?e(l):Promise.resolve(l).then(n,o)}function f1r(t){return function(){var e=this,r=arguments;return new Promise(function(n,o){var i=t.apply(e,r);function a(l){$1o(i,n,o,a,s,"next",l)}function s(l){$1o(i,n,o,a,s,"throw",l)}a(void 0)})}}var oLs,X1o,iLs,aLs,sLs,lLs,Y1o,Pi,cLs,Wyr,iut,uut,hLs,Do,SJ,Lc,K1o,pS,Xyr,kJ,g5,Fbe,kyr,Ov,rB,nB,oB,Tle,kle,fMe,_1o,th,TJ,Q1o,gLs,yLs,hut,evo,Yyr,tvo,vLs,ALs,bLs,xLs,rvo,dut,wLs,CLs,_Ls,SLs,kLs,TLs,ELs,DLs,RLs,MLs,mMe,put,FLs,nvo,ovo,ILs,gMe,Kyr,Jyr,LLs,ivo,Zyr,jLs,avo,PLs,svo,lvo,OLs,BLs,NLs,$Ls,zLs,GLs,HLs,qLs,ULs,VLs,WLs,cvo,XLs,YLs,KLs,uvo,JLs,fvo,Ibe,hvo,ZLs,dvo,Dbe,QLs,Hyr,Qyr,ejs,tjs,pvo,mvo,rjs,njs,e1r,ojs,t1r,r1r,gvo,ijs,yvo,ajs,mut,yMe,sjs,ljs,cjs,vvo,BC,gut,Avo,S1o,n1r,bvo,Rbe,bq,ujs,OC,fjs,xvo,hjs,djs,pjs,mi,Tyr,wvo,_J,nMe,hMe,_le,Ya,Hu,Cvo,L1,cd,mjs,gjs,yjs,vjs,o1r,i1r,sMe,lMe,cMe,_vo,Ele,Dle,Ajs,bjs,xjs,wjs,yut,VE,Cjs,_js,Sjs,kjs,Tjs,Ejs,Djs,Rjs,Mjs,Eyr,Svo,Fjs,Ijs,kvo,Ljs,EJ,jjs,Pjs,pMe,aut,xq,ld,vMe,aB,AMe,Tvo,Ojs,Evo,Bjs,Dvo,Njs,$js,zjs,Gjs,Hjs,qjs,Ujs,Vjs,kg,vut,Wjs,Xjs,Yjs,Kjs,a1r,k1o,oMe,Jjs,cut,Zjs,Qjs,ePs,Rvo,Mvo,tPs,rPs,nPs,oPs,iPs,aPs,sPs,lPs,cPs,uPs,fPs,Fvo,Ivo,hPs,dPs,qyr,pPs,mPs,gPs,yPs,vPs,Lvo,T1o,Dyr,APs,bPs,xPs,wPs,CPs,_Ps,SPs,kPs,TPs,EPs,DPs,jvo,RPs,MPs,FPs,IPs,E1o,LPs,jPs,PPs,OPs,BPs,Pvo,sut,NPs,D1o,$Ps,zPs,GPs,Ovo,Bvo,Nvo,HPs,qPs,$vo,UPs,VPs,WPs,XPs,YPs,KPs,Ryr,DJ,JPs,zvo,ZPs,RJ,QPs,eOs,R1o,tOs,rOs,nOs,oOs,iOs,aOs,sOs,lOs,cOs,Mbe,uOs,MJ,uMe,M1o,fOs,hOs,Myr,dOs,pOs,s1r,mOs,bMe,gOs,xMe,yOs,vOs,AOs,bOs,xOs,wOs,lut,COs,_Os,SOs,Gvo,kOs,TOs,Rle,EOs,gu,DOs,Hvo,ROs,MOs,FOs,IOs,LOs,jOs,POs,OOs,BOs,NOs,l1r,qvo,Uvo,$Os,zOs,iB,fut,GOs,HOs,qOs,Vvo,UOs,F1o,VOs,WOs,Wvo,XOs,Mle,Cbe,_be,Xvo,YOs,KOs,Aut,JOs,ZOs,Yvo,QOs,Kvo,eBs,but,tBs,Jvo,rBs,xut,nBs,oBs,iBs,Aq,UE,aBs,Uyr,wut,sBs,lBs,I1o,cBs,uBs,fBs,hBs,dBs,pBs,mBs,Tbe,L1o,Fyr,gBs,j1o,yBs,vBs,ABs,Vyr,bBs,xBs,wBs,CBs,Sle,Iyr,Zvo,_Bs,SBs,kBs,TBs,EBs,DBs,RBs,MBs,FBs,P1o,Lyr,IBs,Qvo,LBs,eAo,jBs,PBs,OBs,BBs,NBs,$Bs,zBs,GBs,O1o,jyr,HBs,qBs,UBs,VBs,WBs,XBs,tAo,Y2,YBs,KBs,JBs,ZBs,c1r,QBs,eNs,tNs,rNs,nNs,oNs,B1o,iNs,aNs,N1o,sNs,lNs,cNs,uNs,fNs,hNs,dNs,pNs,mNs,rAo,gNs,yNs,vNs,nAo,wMe,Lbe,FJ,ANs,bNs,xNs,wNs,CNs,_Ns,SNs,kNs,TNs,ENs,DNs,RNs,MNs,FNs,INs,LNs,Pyr,jNs,PNs,ONs,BNs,Oyr,oAo,NNs,$Ns,zNs,qNs,iAo,UNs,VNs,WNs,XNs,Ebe,Qm,iMe,Byr,YNs,KNs,u1r,aAo,JNs,ZNs,QNs,z1o,h1r,e$s,Cut,sAo,lAo,d1r,Sbe,t$s,r$s,G1o,n$s,o$s,i$s,aMe,a$s,Nyr,s$s,l$s,cAo,H1o,uAo,c$s,u$s,$yr,f$s,fAo,h$s,d$s,q1o,U1o,p$s,m$s,V1o,R9f,g$s,W1o,M9f,y$s,sB=be(()=>{x();oLs=Object.create,X1o=Object.defineProperty,iLs=Object.getOwnPropertyDescriptor,aLs=Object.getOwnPropertyNames,sLs=Object.getPrototypeOf,lLs=Object.prototype.hasOwnProperty,Y1o=(t,e)=>()=>(t&&(e=t(t=0)),e),Pi=(t,e)=>()=>(e||(t((e={exports:{}}).exports,e),t=null),e.exports),cLs=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(var o=aLs(e),i=0,a=o.length,s;i<a;i++)s=o[i],!lLs.call(t,s)&&s!==r&&X1o(t,s,{get:(l=>e[l]).bind(null,s),enumerable:!(n=iLs(e,s))||n.enumerable});return t},Wyr=(t,e,r)=>(r=t!=null?oLs(sLs(t)):{},cLs(e||!t||!t.__esModule?X1o(r,"default",{value:t,enumerable:!0}):r,t)),iut=(t=>typeof Ym<"u"?Ym:typeof Proxy<"u"?new Proxy(t,{get:(e,r)=>(typeof Ym<"u"?Ym:e)[r]}):t)(function(t){if(typeof Ym<"u")return Ym.apply(this,arguments);throw Error('Calling `require` for "'+t+"\" in an environment that doesn't expose the `require` function. See https://rolldown.rs/in-depth/bundling-cjs#require-external-modules for more details.")});uut=class{constructor(t){ro(this,"rootKey",void 0),this.rootKey=t}},hLs=Object.seal({}),Do=class extends uut{constructor(t){super(t),ro(this,"root",void 0),this.root=new Array}prepForXml(t){var e;t.stack.push(this);let r=this.root.map(n=>n instanceof uut?n.prepForXml(t):n).filter(n=>n!==void 0);return t.stack.pop(),{[this.rootKey]:r.length?r.length===1&&(!((e=r[0])===null||e===void 0)&&e._attr)?r[0]:r:hLs}}addChildElement(t){return this.root.push(t),this}},SJ=class extends Do{constructor(t,e){super(t),ro(this,"includeIfEmpty",void 0),this.includeIfEmpty=e}prepForXml(t){let e=super.prepForXml(t);if(this.includeIfEmpty||e&&(typeof e[this.rootKey]!="object"||Object.keys(e[this.rootKey]).length))return e}};Lc=class extends uut{constructor(t){super("_attr"),ro(this,"root",void 0),ro(this,"xmlKeys",void 0),this.root=t}prepForXml(t){let e={};return Object.entries(this.root).forEach(([r,n])=>{if(n!==void 0){let o=this.xmlKeys&&this.xmlKeys[r]||r;e[o]=n}}),{_attr:e}}},K1o=class extends uut{constructor(t){super("_attr"),ro(this,"root",void 0),this.root=t}prepForXml(t){return{_attr:Object.values(this.root).filter(({value:e})=>e!==void 0).reduce((e,{key:r,value:n})=>Ia(Ia({},e),{},{[r]:n}),{})}}},pS=class extends Lc{constructor(...t){super(...t),ro(this,"xmlKeys",{val:"w:val",color:"w:color",fill:"w:fill",space:"w:space",sz:"w:sz",type:"w:type",rsidR:"w:rsidR",rsidRPr:"w:rsidRPr",rsidSect:"w:rsidSect",w:"w:w",h:"w:h",top:"w:top",right:"w:right",bottom:"w:bottom",left:"w:left",header:"w:header",footer:"w:footer",gutter:"w:gutter",linePitch:"w:linePitch",pos:"w:pos"})}},Xyr=Pi(((t,e)=>{var r=typeof Reflect=="object"?Reflect:null,n=r&&typeof r.apply=="function"?r.apply:function(D,R,M){return Function.prototype.apply.call(D,R,M)},o;r&&typeof r.ownKeys=="function"?o=r.ownKeys:Object.getOwnPropertySymbols?o=function(D){return Object.getOwnPropertyNames(D).concat(Object.getOwnPropertySymbols(D))}:o=function(D){return Object.getOwnPropertyNames(D)};function i(T){console&&console.warn&&console.warn(T)}var a=Number.isNaN||function(D){return D!==D};function s(){s.init.call(this)}e.exports=s,e.exports.once=C,s.EventEmitter=s,s.prototype._events=void 0,s.prototype._eventsCount=0,s.prototype._maxListeners=void 0;var l=10;function u(T){if(typeof T!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof T)}Object.defineProperty(s,"defaultMaxListeners",{enumerable:!0,get:function(){return l},set:function(T){if(typeof T!="number"||T<0||a(T))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+T+".");l=T}}),s.init=function(){(this._events===void 0||this._events===Object.getPrototypeOf(this)._events)&&(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},s.prototype.setMaxListeners=function(D){if(typeof D!="number"||D<0||a(D))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+D+".");return this._maxListeners=D,this};function f(T){return T._maxListeners===void 0?s.defaultMaxListeners:T._maxListeners}s.prototype.getMaxListeners=function(){return f(this)},s.prototype.emit=function(D){for(var R=[],M=1;M<arguments.length;M++)R.push(arguments[M]);var j=D==="error",P=this._events;if(P!==void 0)j=j&&P.error===void 0;else if(!j)return!1;if(j){var L;if(R.length>0&&(L=R[0]),L instanceof Error)throw L;var O=new Error("Unhandled error."+(L?" ("+L.message+")":""));throw O.context=L,O}var B=P[D];if(B===void 0)return!1;if(typeof B=="function")n(B,this,R);else for(var N=B.length,$=y(B,N),M=0;M<N;++M)n($[M],this,R);return!0};function h(T,D,R,M){var j,P,L;if(u(R),P=T._events,P===void 0?(P=T._events=Object.create(null),T._eventsCount=0):(P.newListener!==void 0&&(T.emit("newListener",D,R.listener?R.listener:R),P=T._events),L=P[D]),L===void 0)L=P[D]=R,++T._eventsCount;else if(typeof L=="function"?L=P[D]=M?[R,L]:[L,R]:M?L.unshift(R):L.push(R),j=f(T),j>0&&L.length>j&&!L.warned){L.warned=!0;var O=new Error("Possible EventEmitter memory leak detected. "+L.length+" "+String(D)+" listeners added. Use emitter.setMaxListeners() to increase limit");O.name="MaxListenersExceededWarning",O.emitter=T,O.type=D,O.count=L.length,i(O)}return T}s.prototype.addListener=function(D,R){return h(this,D,R,!1)},s.prototype.on=s.prototype.addListener,s.prototype.prependListener=function(D,R){return h(this,D,R,!0)};function d(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function p(T,D,R){var M={fired:!1,wrapFn:void 0,target:T,type:D,listener:R},j=d.bind(M);return j.listener=R,M.wrapFn=j,j}s.prototype.once=function(D,R){return u(R),this.on(D,p(this,D,R)),this},s.prototype.prependOnceListener=function(D,R){return u(R),this.prependListener(D,p(this,D,R)),this},s.prototype.removeListener=function(D,R){var M,j,P,L,O;if(u(R),j=this._events,j===void 0)return this;if(M=j[D],M===void 0)return this;if(M===R||M.listener===R)--this._eventsCount===0?this._events=Object.create(null):(delete j[D],j.removeListener&&this.emit("removeListener",D,M.listener||R));else if(typeof M!="function"){for(P=-1,L=M.length-1;L>=0;L--)if(M[L]===R||M[L].listener===R){O=M[L].listener,P=L;break}if(P<0)return this;P===0?M.shift():b(M,P),M.length===1&&(j[D]=M[0]),j.removeListener!==void 0&&this.emit("removeListener",D,O||R)}return this},s.prototype.off=s.prototype.removeListener,s.prototype.removeAllListeners=function(D){var R,M=this._events,j;if(M===void 0)return this;if(M.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):M[D]!==void 0&&(--this._eventsCount===0?this._events=Object.create(null):delete M[D]),this;if(arguments.length===0){var P=Object.keys(M),L;for(j=0;j<P.length;++j)L=P[j],L!=="removeListener"&&this.removeAllListeners(L);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if(R=M[D],typeof R=="function")this.removeListener(D,R);else if(R!==void 0)for(j=R.length-1;j>=0;j--)this.removeListener(D,R[j]);return this};function m(T,D,R){var M=T._events;if(M===void 0)return[];var j=M[D];return j===void 0?[]:typeof j=="function"?R?[j.listener||j]:[j]:R?w(j):y(j,j.length)}s.prototype.listeners=function(D){return m(this,D,!0)},s.prototype.rawListeners=function(D){return m(this,D,!1)},s.listenerCount=function(T,D){return typeof T.listenerCount=="function"?T.listenerCount(D):g.call(T,D)},s.prototype.listenerCount=g;function g(T){var D=this._events;if(D!==void 0){var R=D[T];if(typeof R=="function")return 1;if(R!==void 0)return R.length}return 0}s.prototype.eventNames=function(){return this._eventsCount>0?o(this._events):[]};function y(T,D){for(var R=new Array(D),M=0;M<D;++M)R[M]=T[M];return R}function b(T,D){for(;D+1<T.length;D++)T[D]=T[D+1];T.pop()}function w(T){for(var D=new Array(T.length),R=0;R<D.length;++R)D[R]=T[R].listener||T[R];return D}function C(T,D){return new Promise(function(R,M){function j(L){T.removeListener(D,P),M(L)}function P(){typeof T.removeListener=="function"&&T.removeListener("error",j),R([].slice.call(arguments))}k(T,D,P,{once:!0}),D!=="error"&&S(T,j,{once:!0})})}function S(T,D,R){typeof T.on=="function"&&k(T,"error",D,R)}function k(T,D,R,M){if(typeof T.on=="function")M.once?T.once(D,R):T.on(D,R);else if(typeof T.addEventListener=="function")T.addEventListener(D,function j(P){M.once&&T.removeEventListener(D,j),R(P)});else throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof T)}})),kJ=Pi(((t,e)=>{typeof Object.create=="function"?e.exports=function(n,o){o&&(n.super_=o,n.prototype=Object.create(o.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(n,o){if(o){n.super_=o;var i=function(){};i.prototype=o.prototype,n.prototype=new i,n.prototype.constructor=n}}})),Fbe=Y1o((()=>{g5=globalThis||self}));TJ=Y1o((()=>{kyr={exports:{}},Ov=kyr.exports={},(function(){try{typeof setTimeout=="function"?rB=setTimeout:rB=zyr}catch{rB=zyr}try{typeof clearTimeout=="function"?nB=clearTimeout:nB=Gyr}catch{nB=Gyr}})(),oB=[],Tle=!1,fMe=-1,Ov.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)e[r-1]=arguments[r];oB.push(new C1o(t,e)),oB.length===1&&!Tle&&J1o(Z1o)},C1o.prototype.run=function(){this.fun.apply(null,this.array)},Ov.title="browser",Ov.browser=!0,Ov.env={},Ov.argv=[],Ov.version="",Ov.versions={},Ov.on=vq,Ov.addListener=vq,Ov.once=vq,Ov.off=vq,Ov.removeListener=vq,Ov.removeAllListeners=vq,Ov.emit=vq,Ov.prependListener=vq,Ov.prependOnceListener=vq,Ov.listeners=function(t){return[]},Ov.binding=function(t){throw new Error("process.binding is not supported")},Ov.cwd=function(){return"/"},Ov.chdir=function(t){throw new Error("process.chdir is not supported")},Ov.umask=function(){return 0},_1o=kyr.exports,th=dLs(_1o)})),Q1o=Pi(((t,e)=>{e.exports=Xyr().EventEmitter})),gLs=Pi((t=>{t.byteLength=l,t.toByteArray=f,t.fromByteArray=p;for(var e=[],r=[],n=typeof Uint8Array<"u"?Uint8Array:Array,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",i=0,a=o.length;i<a;++i)e[i]=o[i],r[o.charCodeAt(i)]=i;r[45]=62,r[95]=63;function s(m){var g=m.length;if(g%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var y=m.indexOf("=");y===-1&&(y=g);var b=y===g?0:4-y%4;return[y,b]}function l(m){var g=s(m),y=g[0],b=g[1];return(y+b)*3/4-b}function u(m,g,y){return(g+y)*3/4-y}function f(m){var g,y=s(m),b=y[0],w=y[1],C=new n(u(m,b,w)),S=0,k=w>0?b-4:b,T;for(T=0;T<k;T+=4)g=r[m.charCodeAt(T)]<<18|r[m.charCodeAt(T+1)]<<12|r[m.charCodeAt(T+2)]<<6|r[m.charCodeAt(T+3)],C[S++]=g>>16&255,C[S++]=g>>8&255,C[S++]=g&255;return w===2&&(g=r[m.charCodeAt(T)]<<2|r[m.charCodeAt(T+1)]>>4,C[S++]=g&255),w===1&&(g=r[m.charCodeAt(T)]<<10|r[m.charCodeAt(T+1)]<<4|r[m.charCodeAt(T+2)]>>2,C[S++]=g>>8&255,C[S++]=g&255),C}function h(m){return e[m>>18&63]+e[m>>12&63]+e[m>>6&63]+e[m&63]}function d(m,g,y){for(var b,w=[],C=g;C<y;C+=3)b=(m[C]<<16&16711680)+(m[C+1]<<8&65280)+(m[C+2]&255),w.push(h(b));return w.join("")}function p(m){for(var g,y=m.length,b=y%3,w=[],C=16383,S=0,k=y-b;S<k;S+=C)w.push(d(m,S,S+C>k?k:S+C));return b===1?(g=m[y-1],w.push(e[g>>2]+e[g<<4&63]+"==")):b===2&&(g=(m[y-2]<<8)+m[y-1],w.push(e[g>>10]+e[g>>4&63]+e[g<<2&63]+"=")),w.join("")}})),yLs=Pi((t=>{t.read=function(e,r,n,o,i){var a,s,l=i*8-o-1,u=(1<<l)-1,f=u>>1,h=-7,d=n?i-1:0,p=n?-1:1,m=e[r+d];for(d+=p,a=m&(1<<-h)-1,m>>=-h,h+=l;h>0;a=a*256+e[r+d],d+=p,h-=8);for(s=a&(1<<-h)-1,a>>=-h,h+=o;h>0;s=s*256+e[r+d],d+=p,h-=8);if(a===0)a=1-f;else{if(a===u)return s?NaN:(m?-1:1)*(1/0);s=s+Math.pow(2,o),a=a-f}return(m?-1:1)*s*Math.pow(2,a-o)},t.write=function(e,r,n,o,i,a){var s,l,u,f=a*8-i-1,h=(1<<f)-1,d=h>>1,p=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,m=o?0:a-1,g=o?1:-1,y=r<0||r===0&&1/r<0?1:0;for(r=Math.abs(r),isNaN(r)||r===1/0?(l=isNaN(r)?1:0,s=h):(s=Math.floor(Math.log(r)/Math.LN2),r*(u=Math.pow(2,-s))<1&&(s--,u*=2),s+d>=1?r+=p/u:r+=p*Math.pow(2,1-d),r*u>=2&&(s++,u/=2),s+d>=h?(l=0,s=h):s+d>=1?(l=(r*u-1)*Math.pow(2,i),s=s+d):(l=r*Math.pow(2,d-1)*Math.pow(2,i),s=0));i>=8;e[n+m]=l&255,m+=g,l/=256,i-=8);for(s=s<<i|l,f+=i;f>0;e[n+m]=s&255,m+=g,s/=256,f-=8);e[n+m-g]|=y*128}}));hut=Pi((t=>{var e=gLs(),r=yLs(),n=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;t.Buffer=s,t.SlowBuffer=w,t.INSPECT_MAX_BYTES=50;var o=2147483647;t.kMaxLength=o,s.TYPED_ARRAY_SUPPORT=i(),!s.TYPED_ARRAY_SUPPORT&&typeof console<"u"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function i(){try{var me=new Uint8Array(1),ue={foo:function(){return 42}};return Object.setPrototypeOf(ue,Uint8Array.prototype),Object.setPrototypeOf(me,ue),me.foo()===42}catch{return!1}}Object.defineProperty(s.prototype,"parent",{enumerable:!0,get:function(){if(s.isBuffer(this))return this.buffer}}),Object.defineProperty(s.prototype,"offset",{enumerable:!0,get:function(){if(s.isBuffer(this))return this.byteOffset}});function a(me){if(me>o)throw new RangeError('The value "'+me+'" is invalid for option "size"');var ue=new Uint8Array(me);return Object.setPrototypeOf(ue,s.prototype),ue}function s(me,ue,te){if(typeof me=="number"){if(typeof ue=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return h(me)}return l(me,ue,te)}s.poolSize=8192;function l(me,ue,te){if(typeof me=="string")return d(me,ue);if(ArrayBuffer.isView(me))return m(me);if(me==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof me);if(he(me,ArrayBuffer)||me&&he(me.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(he(me,SharedArrayBuffer)||me&&he(me.buffer,SharedArrayBuffer)))return g(me,ue,te);if(typeof me=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var ye=me.valueOf&&me.valueOf();if(ye!=null&&ye!==me)return s.from(ye,ue,te);var Ce=y(me);if(Ce)return Ce;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof me[Symbol.toPrimitive]=="function")return s.from(me[Symbol.toPrimitive]("string"),ue,te);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof me)}s.from=function(me,ue,te){return l(me,ue,te)},Object.setPrototypeOf(s.prototype,Uint8Array.prototype),Object.setPrototypeOf(s,Uint8Array);function u(me){if(typeof me!="number")throw new TypeError('"size" argument must be of type number');if(me<0)throw new RangeError('The value "'+me+'" is invalid for option "size"')}function f(me,ue,te){return u(me),me<=0?a(me):ue!==void 0?typeof te=="string"?a(me).fill(ue,te):a(me).fill(ue):a(me)}s.alloc=function(me,ue,te){return f(me,ue,te)};function h(me){return u(me),a(me<0?0:b(me)|0)}s.allocUnsafe=function(me){return h(me)},s.allocUnsafeSlow=function(me){return h(me)};function d(me,ue){if((typeof ue!="string"||ue==="")&&(ue="utf8"),!s.isEncoding(ue))throw new TypeError("Unknown encoding: "+ue);var te=C(me,ue)|0,ye=a(te),Ce=ye.write(me,ue);return Ce!==te&&(ye=ye.slice(0,Ce)),ye}function p(me){for(var ue=me.length<0?0:b(me.length)|0,te=a(ue),ye=0;ye<ue;ye+=1)te[ye]=me[ye]&255;return te}function m(me){if(he(me,Uint8Array)){var ue=new Uint8Array(me);return g(ue.buffer,ue.byteOffset,ue.byteLength)}return p(me)}function g(me,ue,te){if(ue<0||me.byteLength<ue)throw new RangeError('"offset" is outside of buffer bounds');if(me.byteLength<ue+(te||0))throw new RangeError('"length" is outside of buffer bounds');var ye;return ue===void 0&&te===void 0?ye=new Uint8Array(me):te===void 0?ye=new Uint8Array(me,ue):ye=new Uint8Array(me,ue,te),Object.setPrototypeOf(ye,s.prototype),ye}function y(me){if(s.isBuffer(me)){var ue=b(me.length)|0,te=a(ue);return te.length===0||me.copy(te,0,0,ue),te}if(me.length!==void 0)return typeof me.length!="number"||oe(me.length)?a(0):p(me);if(me.type==="Buffer"&&Array.isArray(me.data))return p(me.data)}function b(me){if(me>=o)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+o.toString(16)+" bytes");return me|0}function w(me){return+me!=me&&(me=0),s.alloc(+me)}s.isBuffer=function(ue){return ue!=null&&ue._isBuffer===!0&&ue!==s.prototype},s.compare=function(ue,te){if(he(ue,Uint8Array)&&(ue=s.from(ue,ue.offset,ue.byteLength)),he(te,Uint8Array)&&(te=s.from(te,te.offset,te.byteLength)),!s.isBuffer(ue)||!s.isBuffer(te))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(ue===te)return 0;for(var ye=ue.length,Ce=te.length,Ie=0,Re=Math.min(ye,Ce);Ie<Re;++Ie)if(ue[Ie]!==te[Ie]){ye=ue[Ie],Ce=te[Ie];break}return ye<Ce?-1:Ce<ye?1:0},s.isEncoding=function(ue){switch(String(ue).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},s.concat=function(ue,te){if(!Array.isArray(ue))throw new TypeError('"list" argument must be an Array of Buffers');if(ue.length===0)return s.alloc(0);var ye;if(te===void 0)for(te=0,ye=0;ye<ue.length;++ye)te+=ue[ye].length;var Ce=s.allocUnsafe(te),Ie=0;for(ye=0;ye<ue.length;++ye){var Re=ue[ye];if(he(Re,Uint8Array))Ie+Re.length>Ce.length?s.from(Re).copy(Ce,Ie):Uint8Array.prototype.set.call(Ce,Re,Ie);else if(s.isBuffer(Re))Re.copy(Ce,Ie);else throw new TypeError('"list" argument must be an Array of Buffers');Ie+=Re.length}return Ce};function C(me,ue){if(s.isBuffer(me))return me.length;if(ArrayBuffer.isView(me)||he(me,ArrayBuffer))return me.byteLength;if(typeof me!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof me);var te=me.length,ye=arguments.length>2&&arguments[2]===!0;if(!ye&&te===0)return 0;for(var Ce=!1;;)switch(ue){case"ascii":case"latin1":case"binary":return te;case"utf8":case"utf-8":return ae(me).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return te*2;case"hex":return te>>>1;case"base64":return Me(me).length;default:if(Ce)return ye?-1:ae(me).length;ue=(""+ue).toLowerCase(),Ce=!0}}s.byteLength=C;function S(me,ue,te){var ye=!1;if((ue===void 0||ue<0)&&(ue=0),ue>this.length||((te===void 0||te>this.length)&&(te=this.length),te<=0)||(te>>>=0,ue>>>=0,te<=ue))return"";for(me||(me="utf8");;)switch(me){case"hex":return q(this,ue,te);case"utf8":case"utf-8":return B(this,ue,te);case"ascii":return V(this,ue,te);case"latin1":case"binary":return W(this,ue,te);case"base64":return O(this,ue,te);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return X(this,ue,te);default:if(ye)throw new TypeError("Unknown encoding: "+me);me=(me+"").toLowerCase(),ye=!0}}s.prototype._isBuffer=!0;function k(me,ue,te){var ye=me[ue];me[ue]=me[te],me[te]=ye}s.prototype.swap16=function(){var ue=this.length;if(ue%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var te=0;te<ue;te+=2)k(this,te,te+1);return this},s.prototype.swap32=function(){var ue=this.length;if(ue%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var te=0;te<ue;te+=4)k(this,te,te+3),k(this,te+1,te+2);return this},s.prototype.swap64=function(){var ue=this.length;if(ue%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var te=0;te<ue;te+=8)k(this,te,te+7),k(this,te+1,te+6),k(this,te+2,te+5),k(this,te+3,te+4);return this},s.prototype.toString=function(){var ue=this.length;return ue===0?"":arguments.length===0?B(this,0,ue):S.apply(this,arguments)},s.prototype.toLocaleString=s.prototype.toString,s.prototype.equals=function(ue){if(!s.isBuffer(ue))throw new TypeError("Argument must be a Buffer");return this===ue?!0:s.compare(this,ue)===0},s.prototype.inspect=function(){var ue="",te=t.INSPECT_MAX_BYTES;return ue=this.toString("hex",0,te).replace(/(.{2})/g,"$1 ").trim(),this.length>te&&(ue+=" ... "),"<Buffer "+ue+">"},n&&(s.prototype[n]=s.prototype.inspect),s.prototype.compare=function(ue,te,ye,Ce,Ie){if(he(ue,Uint8Array)&&(ue=s.from(ue,ue.offset,ue.byteLength)),!s.isBuffer(ue))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof ue);if(te===void 0&&(te=0),ye===void 0&&(ye=ue?ue.length:0),Ce===void 0&&(Ce=0),Ie===void 0&&(Ie=this.length),te<0||ye>ue.length||Ce<0||Ie>this.length)throw new RangeError("out of range index");if(Ce>=Ie&&te>=ye)return 0;if(Ce>=Ie)return-1;if(te>=ye)return 1;if(te>>>=0,ye>>>=0,Ce>>>=0,Ie>>>=0,this===ue)return 0;for(var Re=Ie-Ce,_e=ye-te,Ve=Math.min(Re,_e),Fe=this.slice(Ce,Ie),je=ue.slice(te,ye),qe=0;qe<Ve;++qe)if(Fe[qe]!==je[qe]){Re=Fe[qe],_e=je[qe];break}return Re<_e?-1:_e<Re?1:0};function T(me,ue,te,ye,Ce){if(me.length===0)return-1;if(typeof te=="string"?(ye=te,te=0):te>2147483647?te=2147483647:te<-2147483648&&(te=-2147483648),te=+te,oe(te)&&(te=Ce?0:me.length-1),te<0&&(te=me.length+te),te>=me.length){if(Ce)return-1;te=me.length-1}else if(te<0)if(Ce)te=0;else return-1;if(typeof ue=="string"&&(ue=s.from(ue,ye)),s.isBuffer(ue))return ue.length===0?-1:D(me,ue,te,ye,Ce);if(typeof ue=="number")return ue=ue&255,typeof Uint8Array.prototype.indexOf=="function"?Ce?Uint8Array.prototype.indexOf.call(me,ue,te):Uint8Array.prototype.lastIndexOf.call(me,ue,te):D(me,[ue],te,ye,Ce);throw new TypeError("val must be string, number or Buffer")}function D(me,ue,te,ye,Ce){var Ie=1,Re=me.length,_e=ue.length;if(ye!==void 0&&(ye=String(ye).toLowerCase(),ye==="ucs2"||ye==="ucs-2"||ye==="utf16le"||ye==="utf-16le")){if(me.length<2||ue.length<2)return-1;Ie=2,Re/=2,_e/=2,te/=2}function Ve(Ue,Pe){return Ie===1?Ue[Pe]:Ue.readUInt16BE(Pe*Ie)}var Fe;if(Ce){var je=-1;for(Fe=te;Fe<Re;Fe++)if(Ve(me,Fe)===Ve(ue,je===-1?0:Fe-je)){if(je===-1&&(je=Fe),Fe-je+1===_e)return je*Ie}else je!==-1&&(Fe-=Fe-je),je=-1}else for(te+_e>Re&&(te=Re-_e),Fe=te;Fe>=0;Fe--){for(var qe=!0,Je=0;Je<_e;Je++)if(Ve(me,Fe+Je)!==Ve(ue,Je)){qe=!1;break}if(qe)return Fe}return-1}s.prototype.includes=function(ue,te,ye){return this.indexOf(ue,te,ye)!==-1},s.prototype.indexOf=function(ue,te,ye){return T(this,ue,te,ye,!0)},s.prototype.lastIndexOf=function(ue,te,ye){return T(this,ue,te,ye,!1)};function R(me,ue,te,ye){te=Number(te)||0;var Ce=me.length-te;ye?(ye=Number(ye),ye>Ce&&(ye=Ce)):ye=Ce;var Ie=ue.length;ye>Ie/2&&(ye=Ie/2);for(var Re=0;Re<ye;++Re){var _e=parseInt(ue.substr(Re*2,2),16);if(oe(_e))return Re;me[te+Re]=_e}return Re}function M(me,ue,te,ye){return J(ae(ue,me.length-te),me,te,ye)}function j(me,ue,te,ye){return J(fe(ue),me,te,ye)}function P(me,ue,te,ye){return J(Me(ue),me,te,ye)}function L(me,ue,te,ye){return J(ve(ue,me.length-te),me,te,ye)}s.prototype.write=function(ue,te,ye,Ce){if(te===void 0)Ce="utf8",ye=this.length,te=0;else if(ye===void 0&&typeof te=="string")Ce=te,ye=this.length,te=0;else if(isFinite(te))te=te>>>0,isFinite(ye)?(ye=ye>>>0,Ce===void 0&&(Ce="utf8")):(Ce=ye,ye=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var Ie=this.length-te;if((ye===void 0||ye>Ie)&&(ye=Ie),ue.length>0&&(ye<0||te<0)||te>this.length)throw new RangeError("Attempt to write outside buffer bounds");Ce||(Ce="utf8");for(var Re=!1;;)switch(Ce){case"hex":return R(this,ue,te,ye);case"utf8":case"utf-8":return M(this,ue,te,ye);case"ascii":case"latin1":case"binary":return j(this,ue,te,ye);case"base64":return P(this,ue,te,ye);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return L(this,ue,te,ye);default:if(Re)throw new TypeError("Unknown encoding: "+Ce);Ce=(""+Ce).toLowerCase(),Re=!0}},s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function O(me,ue,te){return ue===0&&te===me.length?e.fromByteArray(me):e.fromByteArray(me.slice(ue,te))}function B(me,ue,te){te=Math.min(me.length,te);for(var ye=[],Ce=ue;Ce<te;){var Ie=me[Ce],Re=null,_e=Ie>239?4:Ie>223?3:Ie>191?2:1;if(Ce+_e<=te){var Ve,Fe,je,qe;switch(_e){case 1:Ie<128&&(Re=Ie);break;case 2:Ve=me[Ce+1],(Ve&192)===128&&(qe=(Ie&31)<<6|Ve&63,qe>127&&(Re=qe));break;case 3:Ve=me[Ce+1],Fe=me[Ce+2],(Ve&192)===128&&(Fe&192)===128&&(qe=(Ie&15)<<12|(Ve&63)<<6|Fe&63,qe>2047&&(qe<55296||qe>57343)&&(Re=qe));break;case 4:Ve=me[Ce+1],Fe=me[Ce+2],je=me[Ce+3],(Ve&192)===128&&(Fe&192)===128&&(je&192)===128&&(qe=(Ie&15)<<18|(Ve&63)<<12|(Fe&63)<<6|je&63,qe>65535&&qe<1114112&&(Re=qe))}}Re===null?(Re=65533,_e=1):Re>65535&&(Re-=65536,ye.push(Re>>>10&1023|55296),Re=56320|Re&1023),ye.push(Re),Ce+=_e}return $(ye)}var N=4096;function $(me){var ue=me.length;if(ue<=N)return String.fromCharCode.apply(String,me);for(var te="",ye=0;ye<ue;)te+=String.fromCharCode.apply(String,me.slice(ye,ye+=N));return te}function V(me,ue,te){var ye="";te=Math.min(me.length,te);for(var Ce=ue;Ce<te;++Ce)ye+=String.fromCharCode(me[Ce]&127);return ye}function W(me,ue,te){var ye="";te=Math.min(me.length,te);for(var Ce=ue;Ce<te;++Ce)ye+=String.fromCharCode(me[Ce]);return ye}function q(me,ue,te){var ye=me.length;(!ue||ue<0)&&(ue=0),(!te||te<0||te>ye)&&(te=ye);for(var Ce="",Ie=ue;Ie<te;++Ie)Ce+=Ae[me[Ie]];return Ce}function X(me,ue,te){for(var ye=me.slice(ue,te),Ce="",Ie=0;Ie<ye.length-1;Ie+=2)Ce+=String.fromCharCode(ye[Ie]+ye[Ie+1]*256);return Ce}s.prototype.slice=function(ue,te){var ye=this.length;ue=~~ue,te=te===void 0?ye:~~te,ue<0?(ue+=ye,ue<0&&(ue=0)):ue>ye&&(ue=ye),te<0?(te+=ye,te<0&&(te=0)):te>ye&&(te=ye),te<ue&&(te=ue);var Ce=this.subarray(ue,te);return Object.setPrototypeOf(Ce,s.prototype),Ce};function ee(me,ue,te){if(me%1!==0||me<0)throw new RangeError("offset is not uint");if(me+ue>te)throw new RangeError("Trying to access beyond buffer length")}s.prototype.readUintLE=s.prototype.readUIntLE=function(ue,te,ye){ue=ue>>>0,te=te>>>0,ye||ee(ue,te,this.length);for(var Ce=this[ue],Ie=1,Re=0;++Re<te&&(Ie*=256);)Ce+=this[ue+Re]*Ie;return Ce},s.prototype.readUintBE=s.prototype.readUIntBE=function(ue,te,ye){ue=ue>>>0,te=te>>>0,ye||ee(ue,te,this.length);for(var Ce=this[ue+--te],Ie=1;te>0&&(Ie*=256);)Ce+=this[ue+--te]*Ie;return Ce},s.prototype.readUint8=s.prototype.readUInt8=function(ue,te){return ue=ue>>>0,te||ee(ue,1,this.length),this[ue]},s.prototype.readUint16LE=s.prototype.readUInt16LE=function(ue,te){return ue=ue>>>0,te||ee(ue,2,this.length),this[ue]|this[ue+1]<<8},s.prototype.readUint16BE=s.prototype.readUInt16BE=function(ue,te){return ue=ue>>>0,te||ee(ue,2,this.length),this[ue]<<8|this[ue+1]},s.prototype.readUint32LE=s.prototype.readUInt32LE=function(ue,te){return ue=ue>>>0,te||ee(ue,4,this.length),(this[ue]|this[ue+1]<<8|this[ue+2]<<16)+this[ue+3]*16777216},s.prototype.readUint32BE=s.prototype.readUInt32BE=function(ue,te){return ue=ue>>>0,te||ee(ue,4,this.length),this[ue]*16777216+(this[ue+1]<<16|this[ue+2]<<8|this[ue+3])},s.prototype.readIntLE=function(ue,te,ye){ue=ue>>>0,te=te>>>0,ye||ee(ue,te,this.length);for(var Ce=this[ue],Ie=1,Re=0;++Re<te&&(Ie*=256);)Ce+=this[ue+Re]*Ie;return Ie*=128,Ce>=Ie&&(Ce-=Math.pow(2,8*te)),Ce},s.prototype.readIntBE=function(ue,te,ye){ue=ue>>>0,te=te>>>0,ye||ee(ue,te,this.length);for(var Ce=te,Ie=1,Re=this[ue+--Ce];Ce>0&&(Ie*=256);)Re+=this[ue+--Ce]*Ie;return Ie*=128,Re>=Ie&&(Re-=Math.pow(2,8*te)),Re},s.prototype.readInt8=function(ue,te){return ue=ue>>>0,te||ee(ue,1,this.length),this[ue]&128?(255-this[ue]+1)*-1:this[ue]},s.prototype.readInt16LE=function(ue,te){ue=ue>>>0,te||ee(ue,2,this.length);var ye=this[ue]|this[ue+1]<<8;return ye&32768?ye|4294901760:ye},s.prototype.readInt16BE=function(ue,te){ue=ue>>>0,te||ee(ue,2,this.length);var ye=this[ue+1]|this[ue]<<8;return ye&32768?ye|4294901760:ye},s.prototype.readInt32LE=function(ue,te){return ue=ue>>>0,te||ee(ue,4,this.length),this[ue]|this[ue+1]<<8|this[ue+2]<<16|this[ue+3]<<24},s.prototype.readInt32BE=function(ue,te){return ue=ue>>>0,te||ee(ue,4,this.length),this[ue]<<24|this[ue+1]<<16|this[ue+2]<<8|this[ue+3]},s.prototype.readFloatLE=function(ue,te){return ue=ue>>>0,te||ee(ue,4,this.length),r.read(this,ue,!0,23,4)},s.prototype.readFloatBE=function(ue,te){return ue=ue>>>0,te||ee(ue,4,this.length),r.read(this,ue,!1,23,4)},s.prototype.readDoubleLE=function(ue,te){return ue=ue>>>0,te||ee(ue,8,this.length),r.read(this,ue,!0,52,8)},s.prototype.readDoubleBE=function(ue,te){return ue=ue>>>0,te||ee(ue,8,this.length),r.read(this,ue,!1,52,8)};function K(me,ue,te,ye,Ce,Ie){if(!s.isBuffer(me))throw new TypeError('"buffer" argument must be a Buffer instance');if(ue>Ce||ue<Ie)throw new RangeError('"value" argument is out of bounds');if(te+ye>me.length)throw new RangeError("Index out of range")}s.prototype.writeUintLE=s.prototype.writeUIntLE=function(ue,te,ye,Ce){if(ue=+ue,te=te>>>0,ye=ye>>>0,!Ce){var Ie=Math.pow(2,8*ye)-1;K(this,ue,te,ye,Ie,0)}var Re=1,_e=0;for(this[te]=ue&255;++_e<ye&&(Re*=256);)this[te+_e]=ue/Re&255;return te+ye},s.prototype.writeUintBE=s.prototype.writeUIntBE=function(ue,te,ye,Ce){if(ue=+ue,te=te>>>0,ye=ye>>>0,!Ce){var Ie=Math.pow(2,8*ye)-1;K(this,ue,te,ye,Ie,0)}var Re=ye-1,_e=1;for(this[te+Re]=ue&255;--Re>=0&&(_e*=256);)this[te+Re]=ue/_e&255;return te+ye},s.prototype.writeUint8=s.prototype.writeUInt8=function(ue,te,ye){return ue=+ue,te=te>>>0,ye||K(this,ue,te,1,255,0),this[te]=ue&255,te+1},s.prototype.writeUint16LE=s.prototype.writeUInt16LE=function(ue,te,ye){return ue=+ue,te=te>>>0,ye||K(this,ue,te,2,65535,0),this[te]=ue&255,this[te+1]=ue>>>8,te+2},s.prototype.writeUint16BE=s.prototype.writeUInt16BE=function(ue,te,ye){return ue=+ue,te=te>>>0,ye||K(this,ue,te,2,65535,0),this[te]=ue>>>8,this[te+1]=ue&255,te+2},s.prototype.writeUint32LE=s.prototype.writeUInt32LE=function(ue,te,ye){return ue=+ue,te=te>>>0,ye||K(this,ue,te,4,4294967295,0),this[te+3]=ue>>>24,this[te+2]=ue>>>16,this[te+1]=ue>>>8,this[te]=ue&255,te+4},s.prototype.writeUint32BE=s.prototype.writeUInt32BE=function(ue,te,ye){return ue=+ue,te=te>>>0,ye||K(this,ue,te,4,4294967295,0),this[te]=ue>>>24,this[te+1]=ue>>>16,this[te+2]=ue>>>8,this[te+3]=ue&255,te+4},s.prototype.writeIntLE=function(ue,te,ye,Ce){if(ue=+ue,te=te>>>0,!Ce){var Ie=Math.pow(2,8*ye-1);K(this,ue,te,ye,Ie-1,-Ie)}var Re=0,_e=1,Ve=0;for(this[te]=ue&255;++Re<ye&&(_e*=256);)ue<0&&Ve===0&&this[te+Re-1]!==0&&(Ve=1),this[te+Re]=(ue/_e>>0)-Ve&255;return te+ye},s.prototype.writeIntBE=function(ue,te,ye,Ce){if(ue=+ue,te=te>>>0,!Ce){var Ie=Math.pow(2,8*ye-1);K(this,ue,te,ye,Ie-1,-Ie)}var Re=ye-1,_e=1,Ve=0;for(this[te+Re]=ue&255;--Re>=0&&(_e*=256);)ue<0&&Ve===0&&this[te+Re+1]!==0&&(Ve=1),this[te+Re]=(ue/_e>>0)-Ve&255;return te+ye},s.prototype.writeInt8=function(ue,te,ye){return ue=+ue,te=te>>>0,ye||K(this,ue,te,1,127,-128),ue<0&&(ue=255+ue+1),this[te]=ue&255,te+1},s.prototype.writeInt16LE=function(ue,te,ye){return ue=+ue,te=te>>>0,ye||K(this,ue,te,2,32767,-32768),this[te]=ue&255,this[te+1]=ue>>>8,te+2},s.prototype.writeInt16BE=function(ue,te,ye){return ue=+ue,te=te>>>0,ye||K(this,ue,te,2,32767,-32768),this[te]=ue>>>8,this[te+1]=ue&255,te+2},s.prototype.writeInt32LE=function(ue,te,ye){return ue=+ue,te=te>>>0,ye||K(this,ue,te,4,2147483647,-2147483648),this[te]=ue&255,this[te+1]=ue>>>8,this[te+2]=ue>>>16,this[te+3]=ue>>>24,te+4},s.prototype.writeInt32BE=function(ue,te,ye){return ue=+ue,te=te>>>0,ye||K(this,ue,te,4,2147483647,-2147483648),ue<0&&(ue=4294967295+ue+1),this[te]=ue>>>24,this[te+1]=ue>>>16,this[te+2]=ue>>>8,this[te+3]=ue&255,te+4};function Q(me,ue,te,ye,Ce,Ie){if(te+ye>me.length)throw new RangeError("Index out of range");if(te<0)throw new RangeError("Index out of range")}function de(me,ue,te,ye,Ce){return ue=+ue,te=te>>>0,Ce||Q(me,ue,te,4,34028234663852886e22,-34028234663852886e22),r.write(me,ue,te,ye,23,4),te+4}s.prototype.writeFloatLE=function(ue,te,ye){return de(this,ue,te,!0,ye)},s.prototype.writeFloatBE=function(ue,te,ye){return de(this,ue,te,!1,ye)};function pe(me,ue,te,ye,Ce){return ue=+ue,te=te>>>0,Ce||Q(me,ue,te,8,17976931348623157e292,-17976931348623157e292),r.write(me,ue,te,ye,52,8),te+8}s.prototype.writeDoubleLE=function(ue,te,ye){return pe(this,ue,te,!0,ye)},s.prototype.writeDoubleBE=function(ue,te,ye){return pe(this,ue,te,!1,ye)},s.prototype.copy=function(ue,te,ye,Ce){if(!s.isBuffer(ue))throw new TypeError("argument should be a Buffer");if(ye||(ye=0),!Ce&&Ce!==0&&(Ce=this.length),te>=ue.length&&(te=ue.length),te||(te=0),Ce>0&&Ce<ye&&(Ce=ye),Ce===ye||ue.length===0||this.length===0)return 0;if(te<0)throw new RangeError("targetStart out of bounds");if(ye<0||ye>=this.length)throw new RangeError("Index out of range");if(Ce<0)throw new RangeError("sourceEnd out of bounds");Ce>this.length&&(Ce=this.length),ue.length-te<Ce-ye&&(Ce=ue.length-te+ye);var Ie=Ce-ye;return this===ue&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(te,ye,Ce):Uint8Array.prototype.set.call(ue,this.subarray(ye,Ce),te),Ie},s.prototype.fill=function(ue,te,ye,Ce){if(typeof ue=="string"){if(typeof te=="string"?(Ce=te,te=0,ye=this.length):typeof ye=="string"&&(Ce=ye,ye=this.length),Ce!==void 0&&typeof Ce!="string")throw new TypeError("encoding must be a string");if(typeof Ce=="string"&&!s.isEncoding(Ce))throw new TypeError("Unknown encoding: "+Ce);if(ue.length===1){var Ie=ue.charCodeAt(0);(Ce==="utf8"&&Ie<128||Ce==="latin1")&&(ue=Ie)}}else typeof ue=="number"?ue=ue&255:typeof ue=="boolean"&&(ue=Number(ue));if(te<0||this.length<te||this.length<ye)throw new RangeError("Out of range index");if(ye<=te)return this;te=te>>>0,ye=ye===void 0?this.length:ye>>>0,ue||(ue=0);var Re;if(typeof ue=="number")for(Re=te;Re<ye;++Re)this[Re]=ue;else{var _e=s.isBuffer(ue)?ue:s.from(ue,Ce),Ve=_e.length;if(Ve===0)throw new TypeError('The value "'+ue+'" is invalid for argument "value"');for(Re=0;Re<ye-te;++Re)this[Re+te]=_e[Re%Ve]}return this};var xe=/[^+/0-9A-Za-z-_]/g;function se(me){if(me=me.split("=")[0],me=me.trim().replace(xe,""),me.length<2)return"";for(;me.length%4!==0;)me=me+"=";return me}function ae(me,ue){ue=ue||1/0;for(var te,ye=me.length,Ce=null,Ie=[],Re=0;Re<ye;++Re){if(te=me.charCodeAt(Re),te>55295&&te<57344){if(!Ce){if(te>56319){(ue-=3)>-1&&Ie.push(239,191,189);continue}else if(Re+1===ye){(ue-=3)>-1&&Ie.push(239,191,189);continue}Ce=te;continue}if(te<56320){(ue-=3)>-1&&Ie.push(239,191,189),Ce=te;continue}te=(Ce-55296<<10|te-56320)+65536}else Ce&&(ue-=3)>-1&&Ie.push(239,191,189);if(Ce=null,te<128){if((ue-=1)<0)break;Ie.push(te)}else if(te<2048){if((ue-=2)<0)break;Ie.push(te>>6|192,te&63|128)}else if(te<65536){if((ue-=3)<0)break;Ie.push(te>>12|224,te>>6&63|128,te&63|128)}else if(te<1114112){if((ue-=4)<0)break;Ie.push(te>>18|240,te>>12&63|128,te>>6&63|128,te&63|128)}else throw new Error("Invalid code point")}return Ie}function fe(me){for(var ue=[],te=0;te<me.length;++te)ue.push(me.charCodeAt(te)&255);return ue}function ve(me,ue){for(var te,ye,Ce,Ie=[],Re=0;Re<me.length&&!((ue-=2)<0);++Re)te=me.charCodeAt(Re),ye=te>>8,Ce=te%256,Ie.push(Ce),Ie.push(ye);return Ie}function Me(me){return e.toByteArray(se(me))}function J(me,ue,te,ye){for(var Ce=0;Ce<ye&&!(Ce+te>=ue.length||Ce>=me.length);++Ce)ue[Ce+te]=me[Ce];return Ce}function he(me,ue){return me instanceof ue||me!=null&&me.constructor!=null&&me.constructor.name!=null&&me.constructor.name===ue.name}function oe(me){return me!==me}var Ae=(function(){for(var me="0123456789abcdef",ue=new Array(256),te=0;te<16;++te)for(var ye=te*16,Ce=0;Ce<16;++Ce)ue[ye+Ce]=me[te]+me[Ce];return ue})()})),evo=Pi(((t,e)=>{e.exports=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var n={},o=Symbol("test"),i=Object(o);if(typeof o=="string"||Object.prototype.toString.call(o)!=="[object Symbol]"||Object.prototype.toString.call(i)!=="[object Symbol]")return!1;var a=42;n[o]=a;for(var s in n)return!1;if(typeof Object.keys=="function"&&Object.keys(n).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(n).length!==0)return!1;var l=Object.getOwnPropertySymbols(n);if(l.length!==1||l[0]!==o||!Object.prototype.propertyIsEnumerable.call(n,o))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var u=Object.getOwnPropertyDescriptor(n,o);if(u.value!==a||u.enumerable!==!0)return!1}return!0}})),Yyr=Pi(((t,e)=>{var r=evo();e.exports=function(){return r()&&!!Symbol.toStringTag}})),tvo=Pi(((t,e)=>{e.exports=Object})),vLs=Pi(((t,e)=>{e.exports=Error})),ALs=Pi(((t,e)=>{e.exports=EvalError})),bLs=Pi(((t,e)=>{e.exports=RangeError})),xLs=Pi(((t,e)=>{e.exports=ReferenceError})),rvo=Pi(((t,e)=>{e.exports=SyntaxError})),dut=Pi(((t,e)=>{e.exports=TypeError})),wLs=Pi(((t,e)=>{e.exports=URIError})),CLs=Pi(((t,e)=>{e.exports=Math.abs})),_Ls=Pi(((t,e)=>{e.exports=Math.floor})),SLs=Pi(((t,e)=>{e.exports=Math.max})),kLs=Pi(((t,e)=>{e.exports=Math.min})),TLs=Pi(((t,e)=>{e.exports=Math.pow})),ELs=Pi(((t,e)=>{e.exports=Math.round})),DLs=Pi(((t,e)=>{e.exports=Number.isNaN||function(n){return n!==n}})),RLs=Pi(((t,e)=>{var r=DLs();e.exports=function(o){return r(o)||o===0?o:o<0?-1:1}})),MLs=Pi(((t,e)=>{e.exports=Object.getOwnPropertyDescriptor})),mMe=Pi(((t,e)=>{var r=MLs();if(r)try{r([],"length")}catch{r=null}e.exports=r})),put=Pi(((t,e)=>{var r=Object.defineProperty||!1;if(r)try{r({},"a",{value:1})}catch{r=!1}e.exports=r})),FLs=Pi(((t,e)=>{var r=typeof Symbol<"u"&&Symbol,n=evo();e.exports=function(){return typeof r!="function"||typeof Symbol!="function"||typeof r("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:n()}})),nvo=Pi(((t,e)=>{e.exports=typeof Reflect<"u"&&Reflect.getPrototypeOf||null})),ovo=Pi(((t,e)=>{e.exports=tvo().getPrototypeOf||null})),ILs=Pi(((t,e)=>{var r="Function.prototype.bind called on incompatible ",n=Object.prototype.toString,o=Math.max,i="[object Function]",a=function(f,h){for(var d=[],p=0;p<f.length;p+=1)d[p]=f[p];for(var m=0;m<h.length;m+=1)d[m+f.length]=h[m];return d},s=function(f,h){for(var d=[],p=h||0,m=0;p<f.length;p+=1,m+=1)d[m]=f[p];return d},l=function(u,f){for(var h="",d=0;d<u.length;d+=1)h+=u[d],d+1<u.length&&(h+=f);return h};e.exports=function(f){var h=this;if(typeof h!="function"||n.apply(h)!==i)throw new TypeError(r+h);for(var d=s(arguments,1),p,m=function(){if(this instanceof p){var C=h.apply(this,a(d,arguments));return Object(C)===C?C:this}return h.apply(f,a(d,arguments))},g=o(0,h.length-d.length),y=[],b=0;b<g;b++)y[b]="$"+b;if(p=Function("binder","return function ("+l(y,",")+"){ return binder.apply(this,arguments); }")(m),h.prototype){var w=function(){};w.prototype=h.prototype,p.prototype=new w,w.prototype=null}return p}})),gMe=Pi(((t,e)=>{var r=ILs();e.exports=Function.prototype.bind||r})),Kyr=Pi(((t,e)=>{e.exports=Function.prototype.call})),Jyr=Pi(((t,e)=>{e.exports=Function.prototype.apply})),LLs=Pi(((t,e)=>{e.exports=typeof Reflect<"u"&&Reflect&&Reflect.apply})),ivo=Pi(((t,e)=>{var r=gMe(),n=Jyr(),o=Kyr();e.exports=LLs()||r.call(o,n)})),Zyr=Pi(((t,e)=>{var r=gMe(),n=dut(),o=Kyr(),i=ivo();e.exports=function(s){if(s.length<1||typeof s[0]!="function")throw new n("a function is required");return i(r,o,s)}})),jLs=Pi(((t,e)=>{var r=Zyr(),n=mMe(),o;try{o=[].__proto__===Array.prototype}catch(l){if(!l||typeof l!="object"||!("code"in l)||l.code!=="ERR_PROTO_ACCESS")throw l}var i=!!o&&n&&n(Object.prototype,"__proto__"),a=Object,s=a.getPrototypeOf;e.exports=i&&typeof i.get=="function"?r([i.get]):typeof s=="function"?function(u){return s(u==null?u:a(u))}:!1})),avo=Pi(((t,e)=>{var r=nvo(),n=ovo(),o=jLs();e.exports=r?function(a){return r(a)}:n?function(a){if(!a||typeof a!="object"&&typeof a!="function")throw new TypeError("getProto: not an object");return n(a)}:o?function(a){return o(a)}:null})),PLs=Pi(((t,e)=>{var r=Function.prototype.call,n=Object.prototype.hasOwnProperty;e.exports=gMe().call(r,n)})),svo=Pi(((t,e)=>{var r,n=tvo(),o=vLs(),i=ALs(),a=bLs(),s=xLs(),l=rvo(),u=dut(),f=wLs(),h=CLs(),d=_Ls(),p=SLs(),m=kLs(),g=TLs(),y=ELs(),b=RLs(),w=Function,C=function(ve){try{return w('"use strict"; return ('+ve+").constructor;")()}catch{}},S=mMe(),k=put(),T=function(){throw new u},D=S?(function(){try{return arguments.callee,T}catch{try{return S(arguments,"callee").get}catch{return T}}})():T,R=FLs()(),M=avo(),j=ovo(),P=nvo(),L=Jyr(),O=Kyr(),B={},N=typeof Uint8Array>"u"||!M?r:M(Uint8Array),$={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?r:ArrayBuffer,"%ArrayIteratorPrototype%":R&&M?M([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":B,"%AsyncGenerator%":B,"%AsyncGeneratorFunction%":B,"%AsyncIteratorPrototype%":B,"%Atomics%":typeof Atomics>"u"?r:Atomics,"%BigInt%":typeof BigInt>"u"?r:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?r:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?r:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?r:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":o,"%eval%":eval,"%EvalError%":i,"%Float16Array%":typeof Float16Array>"u"?r:Float16Array,"%Float32Array%":typeof Float32Array>"u"?r:Float32Array,"%Float64Array%":typeof Float64Array>"u"?r:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?r:FinalizationRegistry,"%Function%":w,"%GeneratorFunction%":B,"%Int8Array%":typeof Int8Array>"u"?r:Int8Array,"%Int16Array%":typeof Int16Array>"u"?r:Int16Array,"%Int32Array%":typeof Int32Array>"u"?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":R&&M?M(M([][Symbol.iterator]())):r,"%JSON%":typeof JSON=="object"?JSON:r,"%Map%":typeof Map>"u"?r:Map,"%MapIteratorPrototype%":typeof Map>"u"||!R||!M?r:M(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":n,"%Object.getOwnPropertyDescriptor%":S,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?r:Promise,"%Proxy%":typeof Proxy>"u"?r:Proxy,"%RangeError%":a,"%ReferenceError%":s,"%Reflect%":typeof Reflect>"u"?r:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?r:Set,"%SetIteratorPrototype%":typeof Set>"u"||!R||!M?r:M(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":R&&M?M(""[Symbol.iterator]()):r,"%Symbol%":R?Symbol:r,"%SyntaxError%":l,"%ThrowTypeError%":D,"%TypedArray%":N,"%TypeError%":u,"%Uint8Array%":typeof Uint8Array>"u"?r:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?r:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?r:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?r:Uint32Array,"%URIError%":f,"%WeakMap%":typeof WeakMap>"u"?r:WeakMap,"%WeakRef%":typeof WeakRef>"u"?r:WeakRef,"%WeakSet%":typeof WeakSet>"u"?r:WeakSet,"%Function.prototype.call%":O,"%Function.prototype.apply%":L,"%Object.defineProperty%":k,"%Object.getPrototypeOf%":j,"%Math.abs%":h,"%Math.floor%":d,"%Math.max%":p,"%Math.min%":m,"%Math.pow%":g,"%Math.round%":y,"%Math.sign%":b,"%Reflect.getPrototypeOf%":P};if(M)try{null.error}catch(ve){$["%Error.prototype%"]=M(M(ve))}var V=function ve(Me){var J;if(Me==="%AsyncFunction%")J=C("async function () {}");else if(Me==="%GeneratorFunction%")J=C("function* () {}");else if(Me==="%AsyncGeneratorFunction%")J=C("async function* () {}");else if(Me==="%AsyncGenerator%"){var he=ve("%AsyncGeneratorFunction%");he&&(J=he.prototype)}else if(Me==="%AsyncIteratorPrototype%"){var oe=ve("%AsyncGenerator%");oe&&M&&(J=M(oe.prototype))}return $[Me]=J,J},W={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},q=gMe(),X=PLs(),ee=q.call(O,Array.prototype.concat),K=q.call(L,Array.prototype.splice),Q=q.call(O,String.prototype.replace),de=q.call(O,String.prototype.slice),pe=q.call(O,RegExp.prototype.exec),xe=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,se=/\\(\\)?/g,ae=function(Me){var J=de(Me,0,1),he=de(Me,-1);if(J==="%"&&he!=="%")throw new l("invalid intrinsic syntax, expected closing `%`");if(he==="%"&&J!=="%")throw new l("invalid intrinsic syntax, expected opening `%`");var oe=[];return Q(Me,xe,function(Ae,me,ue,te){oe[oe.length]=ue?Q(te,se,"$1"):me||Ae}),oe},fe=function(Me,J){var he=Me,oe;if(X(W,he)&&(oe=W[he],he="%"+oe[0]+"%"),X($,he)){var Ae=$[he];if(Ae===B&&(Ae=V(he)),typeof Ae>"u"&&!J)throw new u("intrinsic "+Me+" exists, but is not available. Please file an issue!");return{alias:oe,name:he,value:Ae}}throw new l("intrinsic "+Me+" does not exist!")};e.exports=function(Me,J){if(typeof Me!="string"||Me.length===0)throw new u("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof J!="boolean")throw new u('"allowMissing" argument must be a boolean');if(pe(/^%?[^%]*%?$/,Me)===null)throw new l("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var he=ae(Me),oe=he.length>0?he[0]:"",Ae=fe("%"+oe+"%",J),me=Ae.name,ue=Ae.value,te=!1,ye=Ae.alias;ye&&(oe=ye[0],K(he,ee([0,1],ye)));for(var Ce=1,Ie=!0;Ce<he.length;Ce+=1){var Re=he[Ce],_e=de(Re,0,1),Ve=de(Re,-1);if((_e==='"'||_e==="'"||_e==="`"||Ve==='"'||Ve==="'"||Ve==="`")&&_e!==Ve)throw new l("property names with quotes must have matching quotes");if((Re==="constructor"||!Ie)&&(te=!0),oe+="."+Re,me="%"+oe+"%",X($,me))ue=$[me];else if(ue!=null){if(!(Re in ue)){if(!J)throw new u("base intrinsic for "+Me+" exists, but the property is not available.");return}if(S&&Ce+1>=he.length){var Fe=S(ue,Re);Ie=!!Fe,Ie&&"get"in Fe&&!("originalValue"in Fe.get)?ue=Fe.get:ue=ue[Re]}else Ie=X(ue,Re),ue=ue[Re];Ie&&!te&&($[me]=ue)}}return ue}})),lvo=Pi(((t,e)=>{var r=svo(),n=Zyr(),o=n([r("%String.prototype.indexOf%")]);e.exports=function(a,s){var l=r(a,!!s);return typeof l=="function"&&o(a,".prototype.")>-1?n([l]):l}})),OLs=Pi(((t,e)=>{var r=Yyr()(),n=lvo()("Object.prototype.toString"),o=function(l){return r&&l&&typeof l=="object"&&Symbol.toStringTag in l?!1:n(l)==="[object Arguments]"},i=function(l){return o(l)?!0:l!==null&&typeof l=="object"&&"length"in l&&typeof l.length=="number"&&l.length>=0&&n(l)!=="[object Array]"&&"callee"in l&&n(l.callee)==="[object Function]"},a=(function(){return o(arguments)})();o.isLegacyArguments=i,e.exports=a?o:i})),BLs=Pi(((t,e)=>{var r=Object.prototype.toString,n=Function.prototype.toString,o=/^\s*(?:function)?\*/,i=Yyr()(),a=Object.getPrototypeOf,s=function(){if(!i)return!1;try{return Function("return function*() {}")()}catch{}},l;e.exports=function(f){if(typeof f!="function")return!1;if(o.test(n.call(f)))return!0;if(!i)return r.call(f)==="[object GeneratorFunction]";if(!a)return!1;if(typeof l>"u"){var h=s();l=h?a(h):!1}return a(f)===l}})),NLs=Pi(((t,e)=>{var r=Function.prototype.toString,n=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply,o,i;if(typeof n=="function"&&typeof Object.defineProperty=="function")try{o=Object.defineProperty({},"length",{get:function(){throw i}}),i={},n(function(){throw 42},null,o)}catch(S){S!==i&&(n=null)}else n=null;var a=/^\s*class\b/,s=function(k){try{var T=r.call(k);return a.test(T)}catch{return!1}},l=function(k){try{return s(k)?!1:(r.call(k),!0)}catch{return!1}},u=Object.prototype.toString,f="[object Object]",h="[object Function]",d="[object GeneratorFunction]",p="[object HTMLAllCollection]",m="[object HTML document.all class]",g="[object HTMLCollection]",y=typeof Symbol=="function"&&!!Symbol.toStringTag,b=!(0 in[,]),w=function(){return!1};if(typeof document=="object"){var C=document.all;u.call(C)===u.call(document.all)&&(w=function(k){if((b||!k)&&(typeof k>"u"||typeof k=="object"))try{var T=u.call(k);return(T===p||T===m||T===g||T===f)&&k("")==null}catch{}return!1})}e.exports=n?function(k){if(w(k))return!0;if(!k||typeof k!="function"&&typeof k!="object")return!1;try{n(k,null,o)}catch(T){if(T!==i)return!1}return!s(k)&&l(k)}:function(k){if(w(k))return!0;if(!k||typeof k!="function"&&typeof k!="object")return!1;if(y)return l(k);if(s(k))return!1;var T=u.call(k);return T!==h&&T!==d&&!/^\[object HTML/.test(T)?!1:l(k)}})),$Ls=Pi(((t,e)=>{var r=NLs(),n=Object.prototype.toString,o=Object.prototype.hasOwnProperty,i=function(f,h,d){for(var p=0,m=f.length;p<m;p++)o.call(f,p)&&(d==null?h(f[p],p,f):h.call(d,f[p],p,f))},a=function(f,h,d){for(var p=0,m=f.length;p<m;p++)d==null?h(f.charAt(p),p,f):h.call(d,f.charAt(p),p,f)},s=function(f,h,d){for(var p in f)o.call(f,p)&&(d==null?h(f[p],p,f):h.call(d,f[p],p,f))};function l(u){return n.call(u)==="[object Array]"}e.exports=function(f,h,d){if(!r(h))throw new TypeError("iterator must be a function");var p;arguments.length>=3&&(p=d),l(f)?i(f,h,p):typeof f=="string"?a(f,h,p):s(f,h,p)}})),zLs=Pi(((t,e)=>{e.exports=["Float32Array","Float64Array","Int8Array","Int16Array","Int32Array","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array"]})),GLs=Pi(((t,e)=>{Fbe();var r=zLs(),n=typeof globalThis>"u"?g5:globalThis;e.exports=function(){for(var i=[],a=0;a<r.length;a++)typeof n[r[a]]=="function"&&(i[i.length]=r[a]);return i}})),HLs=Pi(((t,e)=>{var r=put(),n=rvo(),o=dut(),i=mMe();e.exports=function(s,l,u){if(!s||typeof s!="object"&&typeof s!="function")throw new o("`obj` must be an object or a function`");if(typeof l!="string"&&typeof l!="symbol")throw new o("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new o("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new o("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new o("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new o("`loose`, if provided, must be a boolean");var f=arguments.length>3?arguments[3]:null,h=arguments.length>4?arguments[4]:null,d=arguments.length>5?arguments[5]:null,p=arguments.length>6?arguments[6]:!1,m=!!i&&i(s,l);if(r)r(s,l,{configurable:d===null&&m?m.configurable:!d,enumerable:f===null&&m?m.enumerable:!f,value:u,writable:h===null&&m?m.writable:!h});else if(p||!f&&!h&&!d)s[l]=u;else throw new n("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")}})),qLs=Pi(((t,e)=>{var r=put(),n=function(){return!!r};n.hasArrayLengthDefineBug=function(){if(!r)return null;try{return r([],"length",{value:1}).length!==1}catch{return!0}},e.exports=n})),ULs=Pi(((t,e)=>{var r=svo(),n=HLs(),o=qLs()(),i=mMe(),a=dut(),s=r("%Math.floor%");e.exports=function(u,f){if(typeof u!="function")throw new a("`fn` is not a function");if(typeof f!="number"||f<0||f>4294967295||s(f)!==f)throw new a("`length` must be a positive 32-bit integer");var h=arguments.length>2&&!!arguments[2],d=!0,p=!0;if("length"in u&&i){var m=i(u,"length");m&&!m.configurable&&(d=!1),m&&!m.writable&&(p=!1)}return(d||p||!h)&&(o?n(u,"length",f,!0,!0):n(u,"length",f)),u}})),VLs=Pi(((t,e)=>{var r=gMe(),n=Jyr(),o=ivo();e.exports=function(){return o(r,n,arguments)}})),WLs=Pi(((t,e)=>{var r=ULs(),n=put(),o=Zyr(),i=VLs();e.exports=function(s){var l=o(arguments),u=s.length-(arguments.length-1);return r(l,1+(u>0?u:0),!0)},n?n(e.exports,"apply",{value:i}):e.exports.apply=i})),cvo=Pi(((t,e)=>{Fbe();var r=$Ls(),n=GLs(),o=WLs(),i=lvo(),a=mMe(),s=avo(),l=i("Object.prototype.toString"),u=Yyr()(),f=typeof globalThis>"u"?g5:globalThis,h=n(),d=i("String.prototype.slice"),p=i("Array.prototype.indexOf",!0)||function(w,C){for(var S=0;S<w.length;S+=1)if(w[S]===C)return S;return-1},m={__proto__:null};u&&a&&s?r(h,function(b){var w=new f[b];if(Symbol.toStringTag in w&&s){var C=s(w),S=a(C,Symbol.toStringTag);!S&&C&&(S=a(s(C),Symbol.toStringTag)),m["$"+b]=o(S.get)}}):r(h,function(b){var w=new f[b],C=w.slice||w.set;C&&(m["$"+b]=o(C))});var g=function(w){var C=!1;return r(m,function(S,k){if(!C)try{"$"+S(w)===k&&(C=d(k,1))}catch{}}),C},y=function(w){var C=!1;return r(m,function(S,k){if(!C)try{S(w),C=d(k,1)}catch{}}),C};e.exports=function(w){if(!w||typeof w!="object")return!1;if(!u){var C=d(l(w),8,-1);return p(h,C)>-1?C:C!=="Object"?!1:y(w)}return a?g(w):null}})),XLs=Pi(((t,e)=>{var r=cvo();e.exports=function(o){return!!r(o)}})),YLs=Pi((t=>{var e=OLs(),r=BLs(),n=cvo(),o=XLs();function i(ye){return ye.call.bind(ye)}var a=typeof BigInt<"u",s=typeof Symbol<"u",l=i(Object.prototype.toString),u=i(Number.prototype.valueOf),f=i(String.prototype.valueOf),h=i(Boolean.prototype.valueOf);if(a)var d=i(BigInt.prototype.valueOf);if(s)var p=i(Symbol.prototype.valueOf);function m(ye,Ce){if(typeof ye!="object")return!1;try{return Ce(ye),!0}catch{return!1}}t.isArgumentsObject=e,t.isGeneratorFunction=r,t.isTypedArray=o;function g(ye){return typeof Promise<"u"&&ye instanceof Promise||ye!==null&&typeof ye=="object"&&typeof ye.then=="function"&&typeof ye.catch=="function"}t.isPromise=g;function y(ye){return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?ArrayBuffer.isView(ye):o(ye)||Q(ye)}t.isArrayBufferView=y;function b(ye){return n(ye)==="Uint8Array"}t.isUint8Array=b;function w(ye){return n(ye)==="Uint8ClampedArray"}t.isUint8ClampedArray=w;function C(ye){return n(ye)==="Uint16Array"}t.isUint16Array=C;function S(ye){return n(ye)==="Uint32Array"}t.isUint32Array=S;function k(ye){return n(ye)==="Int8Array"}t.isInt8Array=k;function T(ye){return n(ye)==="Int16Array"}t.isInt16Array=T;function D(ye){return n(ye)==="Int32Array"}t.isInt32Array=D;function R(ye){return n(ye)==="Float32Array"}t.isFloat32Array=R;function M(ye){return n(ye)==="Float64Array"}t.isFloat64Array=M;function j(ye){return n(ye)==="BigInt64Array"}t.isBigInt64Array=j;function P(ye){return n(ye)==="BigUint64Array"}t.isBigUint64Array=P;function L(ye){return l(ye)==="[object Map]"}L.working=typeof Map<"u"&&L(new Map);function O(ye){return typeof Map>"u"?!1:L.working?L(ye):ye instanceof Map}t.isMap=O;function B(ye){return l(ye)==="[object Set]"}B.working=typeof Set<"u"&&B(new Set);function N(ye){return typeof Set>"u"?!1:B.working?B(ye):ye instanceof Set}t.isSet=N;function $(ye){return l(ye)==="[object WeakMap]"}$.working=typeof WeakMap<"u"&&$(new WeakMap);function V(ye){return typeof WeakMap>"u"?!1:$.working?$(ye):ye instanceof WeakMap}t.isWeakMap=V;function W(ye){return l(ye)==="[object WeakSet]"}W.working=typeof WeakSet<"u"&&W(new WeakSet);function q(ye){return W(ye)}t.isWeakSet=q;function X(ye){return l(ye)==="[object ArrayBuffer]"}X.working=typeof ArrayBuffer<"u"&&X(new ArrayBuffer);function ee(ye){return typeof ArrayBuffer>"u"?!1:X.working?X(ye):ye instanceof ArrayBuffer}t.isArrayBuffer=ee;function K(ye){return l(ye)==="[object DataView]"}K.working=typeof ArrayBuffer<"u"&&typeof DataView<"u"&&K(new DataView(new ArrayBuffer(1),0,1));function Q(ye){return typeof DataView>"u"?!1:K.working?K(ye):ye instanceof DataView}t.isDataView=Q;var de=typeof SharedArrayBuffer<"u"?SharedArrayBuffer:void 0;function pe(ye){return l(ye)==="[object SharedArrayBuffer]"}function xe(ye){return typeof de>"u"?!1:(typeof pe.working>"u"&&(pe.working=pe(new de)),pe.working?pe(ye):ye instanceof de)}t.isSharedArrayBuffer=xe;function se(ye){return l(ye)==="[object AsyncFunction]"}t.isAsyncFunction=se;function ae(ye){return l(ye)==="[object Map Iterator]"}t.isMapIterator=ae;function fe(ye){return l(ye)==="[object Set Iterator]"}t.isSetIterator=fe;function ve(ye){return l(ye)==="[object Generator]"}t.isGeneratorObject=ve;function Me(ye){return l(ye)==="[object WebAssembly.Module]"}t.isWebAssemblyCompiledModule=Me;function J(ye){return m(ye,u)}t.isNumberObject=J;function he(ye){return m(ye,f)}t.isStringObject=he;function oe(ye){return m(ye,h)}t.isBooleanObject=oe;function Ae(ye){return a&&m(ye,d)}t.isBigIntObject=Ae;function me(ye){return s&&m(ye,p)}t.isSymbolObject=me;function ue(ye){return J(ye)||he(ye)||oe(ye)||Ae(ye)||me(ye)}t.isBoxedPrimitive=ue;function te(ye){return typeof Uint8Array<"u"&&(ee(ye)||xe(ye))}t.isAnyArrayBuffer=te,["isProxy","isExternal","isModuleNamespaceObject"].forEach(function(ye){Object.defineProperty(t,ye,{enumerable:!1,value:function(){throw new Error(ye+" is not supported in userland")}})})})),KLs=Pi(((t,e)=>{e.exports=function(n){return n&&typeof n=="object"&&typeof n.copy=="function"&&typeof n.fill=="function"&&typeof n.readUInt8=="function"}})),uvo=Pi((t=>{TJ();var e=Object.getOwnPropertyDescriptors||function(Q){for(var de=Object.keys(Q),pe={},xe=0;xe<de.length;xe++)pe[de[xe]]=Object.getOwnPropertyDescriptor(Q,de[xe]);return pe},r=/%[sdj%]/g;t.format=function(K){if(!k(K)){for(var Q=[],de=0;de<arguments.length;de++)Q.push(a(arguments[de]));return Q.join(" ")}for(var de=1,pe=arguments,xe=pe.length,se=String(K).replace(r,function(fe){if(fe==="%%")return"%";if(de>=xe)return fe;switch(fe){case"%s":return String(pe[de++]);case"%d":return Number(pe[de++]);case"%j":try{return JSON.stringify(pe[de++])}catch{return"[Circular]"}default:return fe}}),ae=pe[de];de<xe;ae=pe[++de])w(ae)||!M(ae)?se+=" "+ae:se+=" "+a(ae);return se},t.deprecate=function(K,Q){if(typeof th<"u"&&th.noDeprecation===!0)return K;if(typeof th>"u")return function(){return t.deprecate(K,Q).apply(this,arguments)};var de=!1;function pe(){if(!de){if(th.throwDeprecation)throw new Error(Q);th.traceDeprecation?console.trace(Q):console.error(Q),de=!0}return K.apply(this,arguments)}return pe};var n={},o=/^$/;if(th.env.NODE_DEBUG){var i=th.env.NODE_DEBUG;i=i.replace(/[|\\{}()[\]^$+?.]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"$|^").toUpperCase(),o=new RegExp("^"+i+"$","i")}t.debuglog=function(K){if(K=K.toUpperCase(),!n[K])if(o.test(K)){var Q=th.pid;n[K]=function(){var de=t.format.apply(t,arguments);console.error("%s %d: %s",K,Q,de)}}else n[K]=function(){};return n[K]};function a(K,Q){var de={seen:[],stylize:l};return arguments.length>=3&&(de.depth=arguments[2]),arguments.length>=4&&(de.colors=arguments[3]),b(Q)?de.showHidden=Q:Q&&t._extend(de,Q),D(de.showHidden)&&(de.showHidden=!1),D(de.depth)&&(de.depth=2),D(de.colors)&&(de.colors=!1),D(de.customInspect)&&(de.customInspect=!0),de.colors&&(de.stylize=s),f(de,K,de.depth)}t.inspect=a,a.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},a.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function s(K,Q){var de=a.styles[Q];return de?"\x1B["+a.colors[de][0]+"m"+K+"\x1B["+a.colors[de][1]+"m":K}function l(K,Q){return K}function u(K){var Q={};return K.forEach(function(de,pe){Q[de]=!0}),Q}function f(K,Q,de){if(K.customInspect&&Q&&L(Q.inspect)&&Q.inspect!==t.inspect&&!(Q.constructor&&Q.constructor.prototype===Q)){var pe=Q.inspect(de,K);return k(pe)||(pe=f(K,pe,de)),pe}var xe=h(K,Q);if(xe)return xe;var se=Object.keys(Q),ae=u(se);if(K.showHidden&&(se=Object.getOwnPropertyNames(Q)),P(Q)&&(se.indexOf("message")>=0||se.indexOf("description")>=0))return d(Q);if(se.length===0){if(L(Q)){var fe=Q.name?": "+Q.name:"";return K.stylize("[Function"+fe+"]","special")}if(R(Q))return K.stylize(RegExp.prototype.toString.call(Q),"regexp");if(j(Q))return K.stylize(Date.prototype.toString.call(Q),"date");if(P(Q))return d(Q)}var ve="",Me=!1,J=["{","}"];if(y(Q)&&(Me=!0,J=["[","]"]),L(Q)&&(ve=" [Function"+(Q.name?": "+Q.name:"")+"]"),R(Q)&&(ve=" "+RegExp.prototype.toString.call(Q)),j(Q)&&(ve=" "+Date.prototype.toUTCString.call(Q)),P(Q)&&(ve=" "+d(Q)),se.length===0&&(!Me||Q.length==0))return J[0]+ve+J[1];if(de<0)return R(Q)?K.stylize(RegExp.prototype.toString.call(Q),"regexp"):K.stylize("[Object]","special");K.seen.push(Q);var he;return Me?he=p(K,Q,de,ae,se):he=se.map(function(oe){return m(K,Q,de,ae,oe,Me)}),K.seen.pop(),g(he,ve,J)}function h(K,Q){if(D(Q))return K.stylize("undefined","undefined");if(k(Q)){var de="'"+JSON.stringify(Q).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return K.stylize(de,"string")}if(S(Q))return K.stylize(""+Q,"number");if(b(Q))return K.stylize(""+Q,"boolean");if(w(Q))return K.stylize("null","null")}function d(K){return"["+Error.prototype.toString.call(K)+"]"}function p(K,Q,de,pe,xe){for(var se=[],ae=0,fe=Q.length;ae<fe;++ae)W(Q,String(ae))?se.push(m(K,Q,de,pe,String(ae),!0)):se.push("");return xe.forEach(function(ve){ve.match(/^\d+$/)||se.push(m(K,Q,de,pe,ve,!0))}),se}function m(K,Q,de,pe,xe,se){var ae,fe,ve=Object.getOwnPropertyDescriptor(Q,xe)||{value:Q[xe]};if(ve.get?ve.set?fe=K.stylize("[Getter/Setter]","special"):fe=K.stylize("[Getter]","special"):ve.set&&(fe=K.stylize("[Setter]","special")),W(pe,xe)||(ae="["+xe+"]"),fe||(K.seen.indexOf(ve.value)<0?(w(de)?fe=f(K,ve.value,null):fe=f(K,ve.value,de-1),fe.indexOf(`
|
|
3770
3770
|
`)>-1&&(se?fe=fe.split(`
|
|
3771
3771
|
`).map(function(Me){return" "+Me}).join(`
|
|
3772
3772
|
`).slice(2):fe=`
|
|
@@ -3831,12 +3831,12 @@ https://github.com/highlightjs/highlight.js/issues/2277`),X=$,q=V),W===void 0&&(
|
|
|
3831
3831
|
`),1;if(Ve>1e5&&Ve>qe.index*3)throw new Error("potential infinite loop, way more iterations than matches");return Ie+=Je,Je.length}let Ae=R($);if(!Ae)throw Kle(i.replace("{}",$)),new Error('Unknown language: "'+$+'"');let me=DQs(Ae),ue="",te=q||me,ye={},Ce=new s.__emitter(s);J();let Ie="",Re=0,_e=0,Ve=0,Fe=!1;try{if(Ae.__emitTokens)Ae.__emitTokens(V,Ce);else{for(te.matcher.considerAll();;){Ve++,Fe?Fe=!1:te.matcher.considerAll(),te.matcher.lastIndex=_e;let je=te.matcher.exec(V);if(!je)break;let qe=V.substring(_e,je.index),Je=oe(qe,je);_e=je.index+Je}oe(V.substring(_e))}return Ce.finalize(),ue=Ce.toHTML(),{language:$,value:ue,relevance:Re,illegal:!1,_emitter:Ce,_top:te}}catch(je){if(je.message&&je.message.includes("Illegal"))return{language:$,value:kbr(V),illegal:!0,relevance:0,_illegalBy:{message:je.message,index:_e,context:V.slice(_e-100,_e+100),mode:je.mode,resultSoFar:ue},_emitter:Ce};if(o)return{language:$,value:kbr(V),illegal:!1,relevance:0,errorRaised:je,_emitter:Ce,_top:te};throw je}}function d($){let V={value:kbr($),illegal:!1,relevance:0,_top:a,_emitter:new s.__emitter(s)};return V._emitter.addText($),V}function p($,V){V=V||s.languages||Object.keys(e);let W=d($),q=V.filter(R).filter(j).map(de=>h(de,$,!1));q.unshift(W);let X=q.sort((de,pe)=>{if(de.relevance!==pe.relevance)return pe.relevance-de.relevance;if(de.language&&pe.language){if(R(de.language).supersetOf===pe.language)return 1;if(R(pe.language).supersetOf===de.language)return-1}return 0}),[ee,K]=X,Q=ee;return Q.secondBest=K,Q}function m($,V,W){let q=V&&r[V]||W;$.classList.add("hljs"),$.classList.add(`language-${q}`)}function g($){let V=null,W=u($);if(l(W))return;if(B("before:highlightElement",{el:$,language:W}),$.dataset.highlighted){console.log("Element previously highlighted. To highlight again, first unset `dataset.highlighted`.",$);return}if($.children.length>0&&(s.ignoreUnescapedHTML||(console.warn("One of your code blocks includes unescaped HTML. This is a potentially serious security risk."),console.warn("https://github.com/highlightjs/highlight.js/wiki/security"),console.warn("The element with unescaped HTML:"),console.warn($)),s.throwUnescapedHTML))throw new Rbr("One of your code blocks includes unescaped HTML.",$.innerHTML);V=$;let q=V.textContent,X=W?f(q,{language:W,ignoreIllegals:!0}):p(q);$.innerHTML=X.value,$.dataset.highlighted="yes",m($,W,X.language),$.result={language:X.language,re:X.relevance,relevance:X.relevance},X.secondBest&&($.secondBest={language:X.secondBest.language,relevance:X.secondBest.relevance}),B("after:highlightElement",{el:$,result:X,text:q})}function y($){s=ISo(s,$)}let b=()=>{S(),P2e("10.6.0","initHighlighting() deprecated. Use highlightAll() now.")};function w(){S(),P2e("10.6.0","initHighlightingOnLoad() deprecated. Use highlightAll() now.")}let C=!1;function S(){function $(){S()}if(document.readyState==="loading"){C||window.addEventListener("DOMContentLoaded",$,!1),C=!0;return}document.querySelectorAll(s.cssSelector).forEach(g)}function k($,V){let W=null;try{W=V(t)}catch(q){if(Kle("Language definition for '{}' could not be registered.".replace("{}",$)),o)Kle(q);else throw q;W=a}W.name||(W.name=$),e[$]=W,W.rawDefinition=V.bind(null,t),W.aliases&&M(W.aliases,{languageName:$})}function T($){delete e[$];for(let V of Object.keys(r))r[V]===$&&delete r[V]}function D(){return Object.keys(e)}function R($){return $=($||"").toLowerCase(),e[$]||e[r[$]]}function M($,{languageName:V}){typeof $=="string"&&($=[$]),$.forEach(W=>{r[W.toLowerCase()]=V})}function j($){let V=R($);return V&&!V.disableAutodetect}function P($){$["before:highlightBlock"]&&!$["before:highlightElement"]&&($["before:highlightElement"]=V=>{$["before:highlightBlock"](Object.assign({block:V.el},V))}),$["after:highlightBlock"]&&!$["after:highlightElement"]&&($["after:highlightElement"]=V=>{$["after:highlightBlock"](Object.assign({block:V.el},V))})}function L($){P($),n.push($)}function O($){let V=n.indexOf($);V!==-1&&n.splice(V,1)}function B($,V){let W=$;n.forEach(function(q){q[W]&&q[W](V)})}function N($){return P2e("10.7.0","highlightBlock will be removed entirely in v12.0"),P2e("10.7.0","Please use highlightElement now."),g($)}Object.assign(t,{highlight:f,highlightAuto:p,highlightAll:S,highlightElement:g,highlightBlock:N,configure:y,initHighlighting:b,initHighlightingOnLoad:w,registerLanguage:k,unregisterLanguage:T,listLanguages:D,getLanguage:R,registerAliases:M,autoDetection:j,inherit:ISo,addPlugin:L,removePlugin:O}),t.debugMode=function(){o=!1},t.safeMode=function(){o=!0},t.versionString=MQs,t.regex={concat:Jle,lookahead:OSo,either:Mht,optional:WZs,anyNumberOfTimes:VZs};for(let $ in Eht)typeof Eht[$]=="object"&&jSo(Eht[$]);return Object.assign(t,Eht),t},O2e=VSo({});O2e.newInstance=()=>VSo({});WSo.exports=O2e;O2e.HighlightJS=O2e;O2e.default=O2e});var KSo=ut((e$f,YSo)=>{x();function IQs(t){let e=t.regex,r=e.concat(/[\p{L}_]/u,e.optional(/[\p{L}0-9_.-]*:/u),/[\p{L}0-9_.-]*/u),n=/[\p{L}0-9._:-]+/u,o={className:"symbol",begin:/&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;/},i={begin:/\s/,contains:[{className:"keyword",begin:/#?[a-z_][a-z1-9_-]+/,illegal:/\n/}]},a=t.inherit(i,{begin:/\(/,end:/\)/}),s=t.inherit(t.APOS_STRING_MODE,{className:"string"}),l=t.inherit(t.QUOTE_STRING_MODE,{className:"string"}),u={endsWithParent:!0,illegal:/</,relevance:0,contains:[{className:"attr",begin:n,relevance:0},{begin:/=\s*/,relevance:0,contains:[{className:"string",endsParent:!0,variants:[{begin:/"/,end:/"/,contains:[o]},{begin:/'/,end:/'/,contains:[o]},{begin:/[^\s"'=<>`]+/}]}]}]};return{name:"HTML, XML",aliases:["html","xhtml","rss","atom","xjb","xsd","xsl","plist","wsf","svg"],case_insensitive:!0,unicodeRegex:!0,contains:[{className:"meta",begin:/<![a-z]/,end:/>/,relevance:10,contains:[i,l,s,a,{begin:/\[/,end:/\]/,contains:[{className:"meta",begin:/<![a-z]/,end:/>/,contains:[i,a,l,s]}]}]},t.COMMENT(/<!--/,/-->/,{relevance:10}),{begin:/<!\[CDATA\[/,end:/\]\]>/,relevance:10},o,{className:"meta",end:/\?>/,variants:[{begin:/<\?xml/,relevance:10,contains:[l]},{begin:/<\?[a-z][a-z0-9]+/}]},{className:"tag",begin:/<style(?=\s|>)/,end:/>/,keywords:{name:"style"},contains:[u],starts:{end:/<\/style>/,returnEnd:!0,subLanguage:"css"}},{className:"tag",begin:/<script(?=\s|>)/,end:/>/,keywords:{name:"script"},contains:[u],starts:{end:/<\/script>/,returnEnd:!0,subLanguage:"javascript"}},{className:"tag",begin:/<>|<\/>/},{className:"tag",begin:e.concat(/</,e.lookahead(e.concat(r,e.either(/\/>/,/>/,/\s/)))),end:/\/?>/,contains:[{className:"name",begin:r,relevance:0,starts:u}]},{className:"tag",begin:e.concat(/<\//,e.lookahead(e.concat(r,/>/))),contains:[{className:"name",begin:r,relevance:0},{begin:/>/,relevance:0,endsParent:!0}]}]}}YSo.exports=IQs});var ZSo=ut((r$f,JSo)=>{x();function LQs(t){let e=t.regex,r={},n={begin:/\$\{/,end:/\}/,contains:["self",{begin:/:-/,contains:[r]}]};Object.assign(r,{className:"variable",variants:[{begin:e.concat(/\$[\w\d#@][\w\d_]*/,"(?![\\w\\d])(?![$])")},n]});let o={className:"subst",begin:/\$\(/,end:/\)/,contains:[t.BACKSLASH_ESCAPE]},i=t.inherit(t.COMMENT(),{match:[/(^|\s)/,/#.*$/],scope:{2:"comment"}}),a={begin:/<<-?\s*(?=\w+)/,starts:{contains:[t.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,className:"string"})]}},s={className:"string",begin:/"/,end:/"/,contains:[t.BACKSLASH_ESCAPE,r,o]};o.contains.push(s);let l={match:/\\"/},u={className:"string",begin:/'/,end:/'/},f={match:/\\'/},h={begin:/\$?\(\(/,end:/\)\)/,contains:[{begin:/\d+#[0-9a-f]+/,className:"number"},t.NUMBER_MODE,r]},d=["fish","bash","zsh","sh","csh","ksh","tcsh","dash","scsh"],p=t.SHEBANG({binary:`(${d.join("|")})`,relevance:10}),m={className:"function",begin:/\w[\w\d_]*\s*\(\s*\)\s*\{/,returnBegin:!0,contains:[t.inherit(t.TITLE_MODE,{begin:/\w[\w\d_]*/})],relevance:0},g=["if","then","else","elif","fi","time","for","while","until","in","do","done","case","esac","coproc","function","select"],y=["true","false"],b={match:/(\/[a-z._-]+)+/},w=["break","cd","continue","eval","exec","exit","export","getopts","hash","pwd","readonly","return","shift","test","times","trap","umask","unset"],C=["alias","bind","builtin","caller","command","declare","echo","enable","help","let","local","logout","mapfile","printf","read","readarray","source","sudo","type","typeset","ulimit","unalias"],S=["autoload","bg","bindkey","bye","cap","chdir","clone","comparguments","compcall","compctl","compdescribe","compfiles","compgroups","compquote","comptags","comptry","compvalues","dirs","disable","disown","echotc","echoti","emulate","fc","fg","float","functions","getcap","getln","history","integer","jobs","kill","limit","log","noglob","popd","print","pushd","pushln","rehash","sched","setcap","setopt","stat","suspend","ttyctl","unfunction","unhash","unlimit","unsetopt","vared","wait","whence","where","which","zcompile","zformat","zftp","zle","zmodload","zparseopts","zprof","zpty","zregexparse","zsocket","zstyle","ztcp"],k=["chcon","chgrp","chown","chmod","cp","dd","df","dir","dircolors","ln","ls","mkdir","mkfifo","mknod","mktemp","mv","realpath","rm","rmdir","shred","sync","touch","truncate","vdir","b2sum","base32","base64","cat","cksum","comm","csplit","cut","expand","fmt","fold","head","join","md5sum","nl","numfmt","od","paste","ptx","pr","sha1sum","sha224sum","sha256sum","sha384sum","sha512sum","shuf","sort","split","sum","tac","tail","tr","tsort","unexpand","uniq","wc","arch","basename","chroot","date","dirname","du","echo","env","expr","factor","groups","hostid","id","link","logname","nice","nohup","nproc","pathchk","pinky","printenv","printf","pwd","readlink","runcon","seq","sleep","stat","stdbuf","stty","tee","test","timeout","tty","uname","unlink","uptime","users","who","whoami","yes"];return{name:"Bash",aliases:["sh","zsh"],keywords:{$pattern:/\b[a-z][a-z0-9._-]+\b/,keyword:g,literal:y,built_in:[...w,...C,"set","shopt",...S,...k]},contains:[p,t.SHEBANG(),m,h,i,a,b,s,l,u,f,r]}}JSo.exports=LQs});var eko=ut((o$f,QSo)=>{x();function jQs(t){let e=t.regex,r=t.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),n="decltype\\(auto\\)",o="[a-zA-Z_]\\w*::",a="("+n+"|"+e.optional(o)+"[a-zA-Z_]\\w*"+e.optional("<[^<>]+>")+")",s=e.concat(/\batomic_/,e.either("bool","char","schar","uchar","short","ushort","int","uint","long","ulong","llong","ullong","char16_t","char32_t","wchar_t","int_least8_t","uint_least8_t","int_least16_t","uint_least16_t","int_least32_t","uint_least32_t","int_least64_t","uint_least64_t","int_fast8_t","uint_fast8_t","int_fast16_t","uint_fast16_t","int_fast32_t","uint_fast32_t","int_fast64_t","uint_fast64_t","intptr_t","uintptr_t","size_t","ptrdiff_t","intmax_t","uintmax_t"),/\b/),l={className:"type",variants:[{begin:"\\b[a-z\\d_]*_t\\b"},{match:s}]},f={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[t.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'("+"\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)"+"|.)",end:"'",illegal:"."},t.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\\s"]{0,16})\(/,end:/\)([^()\\\s"]{0,16})"/})]},h={className:"number",variants:[{match:/\b(0b[01']+)/},{match:/(-?)\b([\d']+(\.[\d']*)?|\.[\d']+)((ll|LL|l|L)(u|U)?|(u|U)(ll|LL|l|L)?|f|F|b|B)/},{match:/(-?)\b(0[xX][a-fA-F0-9]+(?:'[a-fA-F0-9]+)*(?:\.[a-fA-F0-9]*(?:'[a-fA-F0-9]*)*)?(?:[pP][-+]?[0-9]+)?(l|L)?(u|U)?)/},{match:/(-?)\b\d+(?:'\d+)*(?:\.\d*(?:'\d*)*)?(?:[eE][-+]?\d+)?/}],relevance:0},d={scope:"meta",begin:/#\s*include\b/,end:/$/,keywords:{keyword:"include"},contains:[{begin:/\\\n/},f,{scope:"string",begin:/<.*?>/},r,t.C_BLOCK_COMMENT_MODE]},p={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef elifdef elifndef include"},contains:[{begin:/\\\n/,relevance:0},t.inherit(f,{className:"string"}),r,t.C_BLOCK_COMMENT_MODE]},m=[d,p],g={className:"title",begin:e.optional(o)+t.IDENT_RE,relevance:0},y=e.optional(o)+t.IDENT_RE+"\\s*\\(",b=12,S={keyword:["asm","auto","break","case","continue","default","do","else","enum","extern","for","fortran","goto","if","inline","register","restrict","return","sizeof","typeof","typeof_unqual","struct","switch","typedef","union","volatile","while","_Alignas","_Alignof","_Atomic","_Generic","_Noreturn","_Static_assert","_Thread_local","alignas","alignof","noreturn","static_assert","thread_local","_Pragma"],type:["float","double","signed","unsigned","int","short","long","char","void","_Bool","_BitInt","_Complex","_Imaginary","_Decimal32","_Decimal64","_Decimal96","_Decimal128","_Decimal64x","_Decimal128x","_Float16","_Float32","_Float64","_Float128","_Float32x","_Float64x","_Float128x","const","static","constexpr","complex","bool","imaginary"],literal:"true false NULL",built_in:"std string wstring cin cout cerr clog stdin stdout stderr stringstream istringstream ostringstream auto_ptr deque list queue stack vector map set pair bitset multiset multimap unordered_set unordered_map unordered_multiset unordered_multimap priority_queue make_pair array shared_ptr abort terminate abs acos asin atan2 atan calloc ceil cosh cos exit exp fabs floor fmod fprintf fputs free frexp fscanf future isalnum isalpha iscntrl isdigit isgraph islower isprint ispunct isspace isupper isxdigit tolower toupper labs ldexp log10 log malloc realloc memchr memcmp memcpy memset modf pow printf putchar puts scanf sinh sin snprintf sprintf sqrt sscanf strcat strchr strcmp strcpy strcspn strlen strncat strncmp strncpy strpbrk strrchr strspn strstr tanh tan vfprintf vprintf vsprintf endl initializer_list unique_ptr"},k=[...m,l,r,t.C_BLOCK_COMMENT_MODE,h,f],T={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:S,contains:k.concat([{begin:/\(/,end:/\)/,keywords:S,contains:k.concat(["self"]),relevance:0}]),relevance:0},D={begin:"("+a+"[\\*&\\s]+){1,"+b+"}"+y,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:S,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:n,keywords:S,relevance:0},{begin:y,returnBegin:!0,contains:[t.inherit(g,{className:"title.function"})],relevance:0},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:S,relevance:0,contains:[r,t.C_BLOCK_COMMENT_MODE,f,h,l,{begin:/\(/,end:/\)/,keywords:S,relevance:0,contains:["self",r,t.C_BLOCK_COMMENT_MODE,f,h,l]}]},l,r,t.C_BLOCK_COMMENT_MODE,...m]};return{name:"C",aliases:["h"],keywords:S,disableAutodetect:!0,illegal:"</",contains:[].concat(T,D,k,[...m,{begin:t.IDENT_RE+"::",keywords:S},{className:"class",beginKeywords:"enum class struct union",end:/[{;:<>=]/,contains:[{beginKeywords:"final class struct"},t.TITLE_MODE]}]),exports:{preprocessor:p,strings:f,keywords:S}}}QSo.exports=jQs});var rko=ut((a$f,tko)=>{x();function PQs(t){let e=t.regex,r=t.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),n="decltype\\(auto\\)",o="[a-zA-Z_]\\w*::",a="(?!struct)("+n+"|"+e.optional(o)+"[a-zA-Z_]\\w*"+e.optional("<[^<>]+>")+")",s={className:"type",begin:"\\b[a-z\\d_]*_t\\b"},u={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[t.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'("+"\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)"+"|.)",end:"'",illegal:"."},t.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\\s"]{0,16})\(/,end:/\)([^()\\\s"]{0,16})"/})]},f={className:"number",variants:[{begin:"[+-]?(?:(?:\\b[0-9](?:'?[0-9])*\\.(?:[0-9](?:'?[0-9])*)?|\\.[0-9](?:'?[0-9])*)(?:[Ee][+-]?[0-9](?:'?[0-9])*)?|\\b[0-9](?:'?[0-9])*[Ee][+-]?[0-9](?:'?[0-9])*|\\b0[Xx](?:[0-9A-Fa-f](?:'?[0-9A-Fa-f])*(?:\\.(?:[0-9A-Fa-f](?:'?[0-9A-Fa-f])*)?)?|\\.[0-9A-Fa-f](?:'?[0-9A-Fa-f])*)[Pp][+-]?[0-9](?:'?[0-9])*)(?:[Ff](?:16|32|64|128)?|(BF|bf)16|[Ll]|)"},{begin:"[+-]?\\b(?:0[Bb][01](?:'?[01])*|0[Xx][0-9A-Fa-f](?:'?[0-9A-Fa-f])*|0(?:'?[0-7])*|[1-9](?:'?[0-9])*)(?:[Uu](?:LL?|ll?)|[Uu][Zz]?|(?:LL?|ll?)[Uu]?|[Zz][Uu]|)"}],relevance:0},h={scope:"meta",begin:/#\s*include\b/,end:/$/,keywords:{keyword:"include"},contains:[{begin:/\\\n/},u,{scope:"string",begin:/<.*?>/},r,t.C_BLOCK_COMMENT_MODE]},d={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},t.inherit(u,{className:"string"}),r,t.C_BLOCK_COMMENT_MODE]},p=[h,d],m={className:"title",begin:e.optional(o)+t.IDENT_RE,relevance:0},g=e.optional(o)+t.IDENT_RE+"\\s*\\(",y=12,b=["alignas","alignof","and","and_eq","asm","atomic_cancel","atomic_commit","atomic_noexcept","auto","bitand","bitor","break","case","catch","class","co_await","co_return","co_yield","compl","concept","const_cast|10","consteval","constexpr","constinit","continue","decltype","default","delete","do","dynamic_cast|10","else","enum","explicit","export","extern","false","final","for","friend","goto","if","import","inline","module","mutable","namespace","new","noexcept","not","not_eq","nullptr","operator","or","or_eq","override","private","protected","public","reflexpr","register","reinterpret_cast|10","requires","return","sizeof","static_assert","static_cast|10","struct","switch","synchronized","template","this","thread_local","throw","transaction_safe","transaction_safe_dynamic","true","try","typedef","typeid","typename","union","using","virtual","volatile","while","xor","xor_eq"],w=["bool","char","char16_t","char32_t","char8_t","double","float","int","long","short","void","wchar_t","unsigned","signed","const","static"],C=["any","auto_ptr","barrier","binary_semaphore","bitset","complex","condition_variable","condition_variable_any","counting_semaphore","deque","false_type","flat_map","flat_set","future","imaginary","initializer_list","istringstream","jthread","latch","lock_guard","multimap","multiset","mutex","optional","ostringstream","packaged_task","pair","promise","priority_queue","queue","recursive_mutex","recursive_timed_mutex","scoped_lock","set","shared_future","shared_lock","shared_mutex","shared_timed_mutex","shared_ptr","stack","string_view","stringstream","timed_mutex","thread","true_type","tuple","unique_lock","unique_ptr","unordered_map","unordered_multimap","unordered_multiset","unordered_set","variant","vector","weak_ptr","wstring","wstring_view"],S=["abort","abs","acos","apply","as_const","asin","atan","atan2","calloc","ceil","cerr","cin","clog","cos","cosh","cout","declval","endl","exchange","exit","exp","fabs","floor","fmod","forward","fprintf","fputs","free","frexp","fscanf","future","invoke","isalnum","isalpha","iscntrl","isdigit","isgraph","islower","isprint","ispunct","isspace","isupper","isxdigit","labs","launder","ldexp","log","log10","make_pair","make_shared","make_shared_for_overwrite","make_tuple","make_unique","malloc","memchr","memcmp","memcpy","memset","modf","move","pow","printf","putchar","puts","realloc","scanf","sin","sinh","snprintf","sprintf","sqrt","sscanf","std","stderr","stdin","stdout","strcat","strchr","strcmp","strcpy","strcspn","strlen","strncat","strncmp","strncpy","strpbrk","strrchr","strspn","strstr","swap","tan","tanh","terminate","to_underlying","tolower","toupper","vfprintf","visit","vprintf","vsprintf"],D={type:w,keyword:b,literal:["NULL","false","nullopt","nullptr","true"],built_in:["_Pragma"],_type_hints:C},R={className:"function.dispatch",relevance:0,keywords:{_hint:S},begin:e.concat(/\b/,`(?!${b.join("|")})`,t.IDENT_RE,e.lookahead(/(<[^<>]+>|)\s*\(/))},M=[R,...p,s,r,t.C_BLOCK_COMMENT_MODE,f,u],j={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:D,contains:M.concat([{begin:/\(/,end:/\)/,keywords:D,contains:M.concat(["self"]),relevance:0}]),relevance:0},P={className:"function",begin:"("+a+"[\\*&\\s]+){1,"+y+"}"+g,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:D,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:n,keywords:D,relevance:0},{begin:g,returnBegin:!0,contains:[m],relevance:0},{begin:/::/,relevance:0},{begin:/:/,endsWithParent:!0,contains:[u,f]},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:D,relevance:0,contains:[r,t.C_BLOCK_COMMENT_MODE,u,f,s,{begin:/\(/,end:/\)/,keywords:D,relevance:0,contains:["self",r,t.C_BLOCK_COMMENT_MODE,u,f,s]}]},s,r,t.C_BLOCK_COMMENT_MODE,...p]};return{name:"C++",aliases:["cc","c++","h++","hpp","hh","hxx","cxx"],keywords:D,illegal:"</",classNameAliases:{"function.dispatch":"built_in"},contains:[].concat(j,P,R,M,[...p,{begin:"\\b(deque|list|queue|priority_queue|pair|stack|vector|map|set|bitset|multiset|multimap|unordered_map|unordered_set|unordered_multiset|unordered_multimap|array|tuple|optional|variant|function|flat_map|flat_set)\\s*<(?!<)",end:">",keywords:D,contains:["self",s]},{begin:t.IDENT_RE+"::",keywords:D},{match:[/\b(?:enum(?:\s+(?:class|struct))?|class|struct|union)/,/\s+/,/\w+/],className:{1:"keyword",3:"title.class"}}])}}tko.exports=PQs});var oko=ut((l$f,nko)=>{x();function OQs(t){let e=["bool","byte","char","decimal","delegate","double","dynamic","enum","float","int","long","nint","nuint","object","sbyte","short","string","ulong","uint","ushort"],r=["public","private","protected","static","internal","protected","abstract","async","extern","override","unsafe","virtual","new","sealed","partial"],n=["default","false","null","true"],o=["abstract","as","base","break","case","catch","class","const","continue","do","else","event","explicit","extern","finally","fixed","for","foreach","goto","if","implicit","in","interface","internal","is","lock","namespace","new","operator","out","override","params","private","protected","public","readonly","record","ref","return","scoped","sealed","sizeof","stackalloc","static","struct","switch","this","throw","try","typeof","unchecked","unsafe","using","virtual","void","volatile","while"],i=["add","alias","and","ascending","args","async","await","by","descending","dynamic","equals","file","from","get","global","group","init","into","join","let","nameof","not","notnull","on","or","orderby","partial","record","remove","required","scoped","select","set","unmanaged","value|0","var","when","where","with","yield"],a={keyword:o.concat(i),built_in:e,literal:n},s=t.inherit(t.TITLE_MODE,{begin:"[a-zA-Z](\\.?\\w)*"}),l="\\d(_*\\d)*",u="([uU][lL]?|[lL][uU]?)?",h={className:"number",variants:[{begin:"\\b0[bB]_*[01](_*[01])*"+u},{begin:"(-?)\\b0[xX]_*[a-fA-F0-9](_*[a-fA-F0-9])*"+u},{begin:"(-?)(\\b"+l+"(\\.("+l+")?)?|\\."+l+")([eE][-+]?"+l+")?"+"([fFdDmM]|[uU][lL]?|[lL][uU]?)?"}],relevance:0},d={className:"string",begin:/"""("*)(?!")(.|\n)*?"""\1/,relevance:1},p={className:"string",begin:'@"',end:'"',contains:[{begin:'""'}]},m=t.inherit(p,{illegal:/\n/}),g={className:"subst",begin:/\{/,end:/\}/,keywords:a},y=t.inherit(g,{illegal:/\n/}),b={className:"string",begin:/\$"/,end:'"',illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},t.BACKSLASH_ESCAPE,y]},w={className:"string",begin:/\$@"/,end:'"',contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:'""'},g]},C=t.inherit(w,{illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:'""'},y]});g.contains=[w,b,p,t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,h,t.C_BLOCK_COMMENT_MODE],y.contains=[C,b,m,t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,h,t.inherit(t.C_BLOCK_COMMENT_MODE,{illegal:/\n/})];let S={variants:[d,w,b,p,t.APOS_STRING_MODE,t.QUOTE_STRING_MODE]},k={begin:"<",end:">",contains:[{beginKeywords:"in out"},s]},T=t.IDENT_RE+"(<"+t.IDENT_RE+"(\\s*,\\s*"+t.IDENT_RE+")*>)?(\\[\\])?",D={begin:"@"+t.IDENT_RE,relevance:0};return{name:"C#",aliases:["cs","c#"],keywords:a,illegal:/::/,contains:[t.COMMENT("///","$",{returnBegin:!0,contains:[{className:"doctag",variants:[{begin:"///",relevance:0},{begin:"<!--|-->"},{begin:"</?",end:">"}]}]}),t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,{className:"meta",begin:"#",end:"$",keywords:{keyword:"if else elif endif define undef warning error line region endregion pragma checksum"}},S,h,{beginKeywords:"class interface",relevance:0,end:/[{;=]/,illegal:/[^\s:,]/,contains:[{beginKeywords:"where class"},s,k,t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE]},{beginKeywords:"namespace",relevance:0,end:/[{;=]/,illegal:/[^\s:]/,contains:[s,t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE]},{beginKeywords:"record",relevance:0,end:/[{;=]/,illegal:/[^\s:]/,contains:[s,k,t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE]},{className:"meta",begin:"^\\s*\\[(?=[\\w])",excludeBegin:!0,end:"\\]",excludeEnd:!0,contains:[{className:"string",begin:/"/,end:/"/}]},{beginKeywords:"new return throw await else",relevance:0},{className:"function",begin:"("+T+"\\s+)+"+t.IDENT_RE+"\\s*(<[^=]+>\\s*)?\\(",returnBegin:!0,end:/\s*[{;=]/,excludeEnd:!0,keywords:a,contains:[{beginKeywords:r.join(" "),relevance:0},{begin:t.IDENT_RE+"\\s*(<[^=]+>\\s*)?\\(",returnBegin:!0,contains:[t.TITLE_MODE,k],relevance:0},{match:/\(\)/},{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:a,relevance:0,contains:[S,h,t.C_BLOCK_COMMENT_MODE]},t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE]},D]}}nko.exports=OQs});var ako=ut((u$f,iko)=>{x();var BQs=t=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:t.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},UNICODE_RANGE:{scope:"number",begin:/\b[Uu]\+[0-9A-Fa-f][0-9A-Fa-f?]{0,5}(-[0-9A-Fa-f][0-9A-Fa-f]{0,5})?/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[t.APOS_STRING_MODE,t.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:t.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z_][A-Za-z0-9_-]*/}}),NQs=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","optgroup","option","p","picture","q","quote","samp","section","select","source","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],$Qs=["defs","g","marker","mask","pattern","svg","switch","symbol","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feFlood","feGaussianBlur","feImage","feMerge","feMorphology","feOffset","feSpecularLighting","feTile","feTurbulence","linearGradient","radialGradient","stop","circle","ellipse","image","line","path","polygon","polyline","rect","text","use","textPath","tspan","foreignObject","clipPath"],zQs=[...NQs,...$Qs],GQs=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"].sort().reverse(),HQs=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"].sort().reverse(),qQs=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"].sort().reverse(),UQs=["accent-color","align-content","align-items","align-self","alignment-baseline","all","anchor-name","animation","animation-composition","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-range","animation-range-end","animation-range-start","animation-timeline","animation-timing-function","appearance","aspect-ratio","backdrop-filter","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-position-x","background-position-y","background-repeat","background-size","baseline-shift","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-end-end-radius","border-end-start-radius","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-start-end-radius","border-start-start-radius","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-align","box-decoration-break","box-direction","box-flex","box-flex-group","box-lines","box-ordinal-group","box-orient","box-pack","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","color-scheme","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","contain-intrinsic-block-size","contain-intrinsic-height","contain-intrinsic-inline-size","contain-intrinsic-size","contain-intrinsic-width","container","container-name","container-type","content","content-visibility","corner-bottom-left-shape","corner-bottom-right-shape","corner-shape","corner-top-left-shape","corner-top-right-shape","counter-increment","counter-reset","counter-set","cue","cue-after","cue-before","cursor","cx","cy","direction","display","dominant-baseline","empty-cells","enable-background","field-sizing","fill","fill-opacity","fill-rule","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flood-color","flood-opacity","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-optical-sizing","font-palette","font-size","font-size-adjust","font-smooth","font-smoothing","font-stretch","font-style","font-synthesis","font-synthesis-position","font-synthesis-small-caps","font-synthesis-style","font-synthesis-weight","font-variant","font-variant-alternates","font-variant-caps","font-variant-east-asian","font-variant-emoji","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","forced-color-adjust","gap","glyph-orientation-horizontal","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphenate-character","hyphenate-limit-chars","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","initial-letter","initial-letter-align","inline-size","inset","inset-area","inset-block","inset-block-end","inset-block-start","inset-inline","inset-inline-end","inset-inline-start","isolation","justify-content","justify-items","justify-self","kerning","left","letter-spacing","lighting-color","line-break","line-height","line-height-step","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","margin-trim","marker","marker-end","marker-mid","marker-start","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","masonry-auto-flow","math-depth","math-shift","math-style","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","offset","offset-anchor","offset-distance","offset-path","offset-position","offset-rotate","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-anchor","overflow-block","overflow-clip-margin","overflow-inline","overflow-wrap","overflow-x","overflow-y","overlay","overscroll-behavior","overscroll-behavior-block","overscroll-behavior-inline","overscroll-behavior-x","overscroll-behavior-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page","page-break-after","page-break-before","page-break-inside","paint-order","pause","pause-after","pause-before","perspective","perspective-origin","place-content","place-items","place-self","pointer-events","position","position-anchor","position-visibility","print-color-adjust","quotes","r","resize","rest","rest-after","rest-before","right","rotate","row-gap","ruby-align","ruby-position","scale","scroll-behavior","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scroll-timeline","scroll-timeline-axis","scroll-timeline-name","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","shape-rendering","speak","speak-as","src","stop-color","stop-opacity","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","tab-size","table-layout","text-align","text-align-all","text-align-last","text-anchor","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip","text-decoration-skip-ink","text-decoration-style","text-decoration-thickness","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-size-adjust","text-transform","text-underline-offset","text-underline-position","text-wrap","text-wrap-mode","text-wrap-style","timeline-scope","top","touch-action","transform","transform-box","transform-origin","transform-style","transition","transition-behavior","transition-delay","transition-duration","transition-property","transition-timing-function","translate","unicode-bidi","unicode-range","user-modify","user-select","vector-effect","vertical-align","view-timeline","view-timeline-axis","view-timeline-inset","view-timeline-name","view-transition-name","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","white-space-collapse","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","x","y","z-index","zoom"].sort().reverse();function VQs(t){let e=t.regex,r=BQs(t),n={begin:/-(webkit|moz|ms|o)-(?=[a-z])/},o="and or not only",i=/@-?\w[\w]*(-\w+)*/,a="[a-zA-Z-][a-zA-Z0-9_-]*",s=[t.APOS_STRING_MODE,t.QUOTE_STRING_MODE];return{name:"CSS",case_insensitive:!0,illegal:/[=|'\$]/,keywords:{keyframePosition:"from to"},classNameAliases:{keyframePosition:"selector-tag"},contains:[r.BLOCK_COMMENT,n,r.CSS_NUMBER_MODE,{className:"selector-id",begin:/#[A-Za-z0-9_-]+/,relevance:0},{className:"selector-class",begin:"\\."+a,relevance:0},r.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",variants:[{begin:":("+HQs.join("|")+")"},{begin:":(:)?("+qQs.join("|")+")"}]},r.CSS_VARIABLE,{className:"attribute",begin:"\\b("+UQs.join("|")+")\\b"},{begin:/:/,end:/[;}{]/,contains:[r.BLOCK_COMMENT,r.HEXCOLOR,r.IMPORTANT,r.CSS_NUMBER_MODE,r.UNICODE_RANGE,...s,{begin:/(url|data-uri)\(/,end:/\)/,relevance:0,keywords:{built_in:"url data-uri"},contains:[...s,{className:"string",begin:/[^)]/,endsWithParent:!0,excludeEnd:!0}]},r.FUNCTION_DISPATCH]},{begin:e.lookahead(/@/),end:"[{;]",relevance:0,illegal:/:/,contains:[{className:"keyword",begin:i},{begin:/\s/,endsWithParent:!0,excludeEnd:!0,relevance:0,keywords:{$pattern:/[a-z-]+/,keyword:o,attribute:GQs.join(" ")},contains:[{begin:/[a-z-]+(?=:)/,className:"attribute"},...s,r.CSS_NUMBER_MODE]}]},{className:"selector-tag",begin:"\\b("+zQs.join("|")+")\\b"}]}}iko.exports=VQs});var lko=ut((h$f,sko)=>{x();function WQs(t){let e=t.regex,r={begin:/<\/?[A-Za-z_]/,end:">",subLanguage:"xml",relevance:0},n={match:/^ {0,3}([-*_])[ \t]*(?:\1[ \t]*){2,}$/},o={className:"code",variants:[{begin:"(`{3,})[^`](.|\\n)*?\\1`*[ ]*"},{begin:"(~{3,})[^~](.|\\n)*?\\1~*[ ]*"},{begin:"```",end:"```+[ ]*$"},{begin:"~~~",end:"~~~+[ ]*$"},{begin:"`.+?`"},{begin:"(?=^( {4}|\\t))",contains:[{begin:"^( {4}|\\t)",end:"(\\n)$"}],relevance:0}]},i={className:"bullet",begin:"^[ ]*([*+-]|(\\d+\\.))(?=\\s+)",end:"\\s+",excludeEnd:!0},a={begin:/^\[[^\n]+\]:/,returnBegin:!0,contains:[{className:"symbol",begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0},{className:"link",begin:/:\s*/,end:/$/,excludeBegin:!0}]},s=/[A-Za-z][A-Za-z0-9+.-]*/,l={variants:[{begin:/\[.+?\]\[.*?\]/,relevance:0},{begin:/\[.+?\]\(((data|javascript|mailto):|(?:http|ftp)s?:\/\/).*?\)/,relevance:2},{begin:e.concat(/\[.+?\]\(/,s,/:\/\/.*?\)/),relevance:2},{begin:/\[.+?\]\([./?&#].*?\)/,relevance:1},{begin:/\[.*?\]\(.*?\)/,relevance:0}],returnBegin:!0,contains:[{match:/\[(?=\])/},{className:"string",relevance:0,begin:"\\[",end:"\\]",excludeBegin:!0,returnEnd:!0},{className:"link",relevance:0,begin:"\\]\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0},{className:"symbol",relevance:0,begin:"\\]\\[",end:"\\]",excludeBegin:!0,excludeEnd:!0}]},u={className:"strong",contains:[],variants:[{begin:/_{2}(?!\s)/,end:/_{2}/},{begin:/\*{2}(?!\s)/,end:/\*{2}/}]},f={className:"emphasis",contains:[],variants:[{begin:/\*(?![*\s])/,end:/\*/},{begin:/_(?![_\s])/,end:/_/,relevance:0}]},h=t.inherit(u,{contains:[]}),d=t.inherit(f,{contains:[]});u.contains.push(d),f.contains.push(h);let p=[r,l];return[u,f,h,d].forEach(b=>{b.contains=b.contains.concat(p)}),p=p.concat(u,f),{name:"Markdown",aliases:["md","mkdown","mkd"],contains:[{className:"section",variants:[{begin:"^#{1,6}",end:"$",contains:p},{begin:"(?=^.+?\\n[=-]{2,}$)",contains:[{begin:"^[=-]*$"},{begin:"^",end:"\\n",contains:p}]}]},r,i,n,u,f,{className:"quote",begin:"^>\\s+",contains:p,end:"$"},o,l,a,{scope:"literal",match:/&([a-zA-Z0-9]+|#[0-9]{1,7}|#[Xx][0-9a-fA-F]{1,6});/}]}}sko.exports=WQs});var uko=ut((p$f,cko)=>{x();function XQs(t){let e=t.regex;return{name:"Diff",aliases:["patch"],contains:[{className:"meta",relevance:10,match:e.either(/^@@ +-\d+,\d+ +\+\d+,\d+ +@@/,/^@@ +-\d+ +\+\d+,\d+ +@@/,/^@@ +-\d+,\d+ +\+\d+ +@@/,/^@@ +-\d+ +\+\d+ +@@/,/^\*\*\* +\d+,\d+ +\*\*\*\*$/,/^--- +\d+,\d+ +----$/)},{className:"comment",variants:[{begin:e.either(/Index: /,/^index/,/={3,}/,/^-{3}/,/^\*{3} /,/^\+{3}/,/^diff --git/),end:/$/},{match:/^\*{15}$/}]},{className:"addition",begin:/^\+/,end:/$/},{className:"deletion",begin:/^-/,end:/$/},{className:"addition",begin:/^!/,end:/$/}]}}cko.exports=XQs});var hko=ut((g$f,fko)=>{x();function YQs(t){let e=t.regex,r="([a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?)",n=e.either(/\b([A-Z]+[a-z0-9]+)+/,/\b([A-Z]+[a-z0-9]+)+[A-Z]+/),o=e.concat(n,/(::\w+)*/),a={"variable.constant":["__FILE__","__LINE__","__ENCODING__"],"variable.language":["self","super"],keyword:["alias","and","begin","BEGIN","break","case","class","defined","do","else","elsif","end","END","ensure","for","if","in","module","next","not","or","redo","require","rescue","retry","return","then","undef","unless","until","when","while","yield",...["include","extend","prepend","public","private","protected","raise","throw"]],built_in:["proc","lambda","attr_accessor","attr_reader","attr_writer","define_method","private_constant","module_function"],literal:["true","false","nil"]},s={className:"doctag",begin:"@[A-Za-z]+"},l={begin:"#<",end:">"},u=[t.COMMENT("#","$",{contains:[s]}),t.COMMENT("^=begin","^=end",{contains:[s],relevance:10}),t.COMMENT("^__END__",t.MATCH_NOTHING_RE)],f={className:"subst",begin:/#\{/,end:/\}/,keywords:a},h={className:"string",contains:[t.BACKSLASH_ESCAPE,f],variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/`/,end:/`/},{begin:/%[qQwWx]?\(/,end:/\)/},{begin:/%[qQwWx]?\[/,end:/\]/},{begin:/%[qQwWx]?\{/,end:/\}/},{begin:/%[qQwWx]?</,end:/>/},{begin:/%[qQwWx]?\//,end:/\//},{begin:/%[qQwWx]?%/,end:/%/},{begin:/%[qQwWx]?-/,end:/-/},{begin:/%[qQwWx]?\|/,end:/\|/},{begin:/\B\?(\\\d{1,3})/},{begin:/\B\?(\\x[A-Fa-f0-9]{1,2})/},{begin:/\B\?(\\u\{?[A-Fa-f0-9]{1,6}\}?)/},{begin:/\B\?(\\M-\\C-|\\M-\\c|\\c\\M-|\\M-|\\C-\\M-)[\x20-\x7e]/},{begin:/\B\?\\(c|C-)[\x20-\x7e]/},{begin:/\B\?\\?\S/},{begin:e.concat(/<<[-~]?'?/,e.lookahead(/(\w+)(?=\W)[^\n]*\n(?:[^\n]*\n)*?\s*\1\b/)),contains:[t.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,contains:[t.BACKSLASH_ESCAPE,f]})]}]},d="[1-9](_?[0-9])*|0",p="[0-9](_?[0-9])*",m={className:"number",relevance:0,variants:[{begin:`\\b(${d})(\\.(${p}))?([eE][+-]?(${p})|r)?i?\\b`},{begin:"\\b0[dD][0-9](_?[0-9])*r?i?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*r?i?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*r?i?\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*r?i?\\b"},{begin:"\\b0(_?[0-7])+r?i?\\b"}]},g={variants:[{match:/\(\)/},{className:"params",begin:/\(/,end:/(?=\))/,excludeBegin:!0,endsParent:!0,keywords:a}]},T=[h,{variants:[{match:[/class\s+/,o,/\s+<\s+/,o]},{match:[/\b(class|module)\s+/,o]}],scope:{2:"title.class",4:"title.class.inherited"},keywords:a},{match:[/(include|extend)\s+/,o],scope:{2:"title.class"},keywords:a},{relevance:0,match:[o,/\.new[. (]/],scope:{1:"title.class"}},{relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"},{relevance:0,match:n,scope:"title.class"},{match:[/def/,/\s+/,r],scope:{1:"keyword",3:"title.function"},contains:[g]},{begin:"::"},{className:"symbol",begin:t.UNDERSCORE_IDENT_RE+"(!|\\?)?:",relevance:0},{className:"symbol",begin:":(?!\\s)",contains:[h,{begin:r}],relevance:0},m,{className:"variable",begin:"(\\$\\W)|((\\$|@@?)(\\w+))(?=[^@$?])(?![A-Za-z])(?![@$?'])"},{className:"params",begin:/\|(?!=)/,end:/\|/,excludeBegin:!0,excludeEnd:!0,relevance:0,keywords:a},{begin:"("+t.RE_STARTERS_RE+"|unless)\\s*",keywords:"unless",contains:[{className:"regexp",contains:[t.BACKSLASH_ESCAPE,f],illegal:/\n/,variants:[{begin:"/",end:"/[a-z]*"},{begin:/%r\{/,end:/\}[a-z]*/},{begin:"%r\\(",end:"\\)[a-z]*"},{begin:"%r!",end:"![a-z]*"},{begin:"%r\\[",end:"\\][a-z]*"}]}].concat(l,u),relevance:0}].concat(l,u);f.contains=T,g.contains=T;let j=[{begin:/^\s*=>/,starts:{end:"$",contains:T}},{className:"meta.prompt",begin:"^("+"[>?]>"+"|"+"[\\w#]+\\(\\w+\\):\\d+:\\d+[>*]"+"|"+"(\\w+-)?\\d+\\.\\d+\\.\\d+(p\\d+)?[^\\d][^>]+>"+")(?=[ ])",starts:{end:"$",keywords:a,contains:T}}];return u.unshift(l),{name:"Ruby",aliases:["rb","gemspec","podspec","thor","irb"],keywords:a,illegal:/\/\*/,contains:[t.SHEBANG({binary:"ruby"})].concat(j).concat(u).concat(T)}}fko.exports=YQs});var pko=ut((v$f,dko)=>{x();function KQs(t){let i={keyword:["break","case","chan","const","continue","default","defer","else","fallthrough","for","func","go","goto","if","import","interface","map","package","range","return","select","struct","switch","type","var"],type:["bool","byte","complex64","complex128","error","float32","float64","int8","int16","int32","int64","string","uint8","uint16","uint32","uint64","int","uint","uintptr","rune"],literal:["true","false","iota","nil"],built_in:["append","cap","close","complex","copy","imag","len","make","new","panic","print","println","real","recover","delete"]};return{name:"Go",aliases:["golang"],keywords:i,illegal:"</",contains:[t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,{className:"string",variants:[t.QUOTE_STRING_MODE,t.APOS_STRING_MODE,{begin:"`",end:"`"}]},{className:"number",variants:[{match:/-?\b0[xX]\.[a-fA-F0-9](_?[a-fA-F0-9])*[pP][+-]?\d(_?\d)*i?/,relevance:0},{match:/-?\b0[xX](_?[a-fA-F0-9])+((\.([a-fA-F0-9](_?[a-fA-F0-9])*)?)?[pP][+-]?\d(_?\d)*)?i?/,relevance:0},{match:/-?\b0[oO](_?[0-7])*i?/,relevance:0},{match:/-?\b0[bB](_?[01])*i?/,relevance:0},{match:/-?\.\d(_?\d)*([eE][+-]?\d(_?\d)*)?i?/,relevance:0},{match:/-?\b\d(_?\d)*(\.(\d(_?\d)*)?)?([eE][+-]?\d(_?\d)*)?i?/,relevance:0}]},{begin:/:=/},{className:"function",beginKeywords:"func",end:"\\s*(\\{|$)",excludeEnd:!0,contains:[t.TITLE_MODE,{className:"params",begin:/\(/,end:/\)/,endsParent:!0,keywords:i,illegal:/["']/}]}]}}dko.exports=KQs});var gko=ut((b$f,mko)=>{x();function JQs(t){let e=t.regex,r=/[_A-Za-z][_0-9A-Za-z]*/;return{name:"GraphQL",aliases:["gql"],case_insensitive:!0,disableAutodetect:!1,keywords:{keyword:["query","mutation","subscription","type","input","schema","directive","interface","union","scalar","fragment","enum","on"],literal:["true","false","null"]},contains:[t.HASH_COMMENT_MODE,t.QUOTE_STRING_MODE,t.NUMBER_MODE,{scope:"punctuation",match:/[.]{3}/,relevance:0},{scope:"punctuation",begin:/[\!\(\)\:\=\[\]\{\|\}]{1}/,relevance:0},{scope:"variable",begin:/\$/,end:/\W/,excludeEnd:!0,relevance:0},{scope:"meta",match:/@\w+/,excludeEnd:!0},{scope:"symbol",begin:e.concat(r,e.lookahead(/\s*:/)),relevance:0}],illegal:[/[;<']/,/BEGIN/]}}mko.exports=JQs});var vko=ut((w$f,yko)=>{x();function ZQs(t){let e=t.regex,r={className:"number",relevance:0,variants:[{begin:/([+-]+)?[\d]+_[\d_]+/},{begin:t.NUMBER_RE}]},n=t.COMMENT();n.variants=[{begin:/;/,end:/$/},{begin:/#/,end:/$/}];let o={className:"variable",variants:[{begin:/\$[\w\d"][\w\d_]*/},{begin:/\$\{(.*?)\}/}]},i={className:"literal",begin:/\bon|off|true|false|yes|no\b/},a={className:"string",contains:[t.BACKSLASH_ESCAPE],variants:[{begin:"'''",end:"'''",relevance:10},{begin:'"""',end:'"""',relevance:10},{begin:'"',end:'"'},{begin:"'",end:"'"}]},s={begin:/\[/,end:/\]/,contains:[n,i,o,a,r,"self"],relevance:0},l=/[A-Za-z0-9_-]+/,u=/"(\\"|[^"])*"/,f=/'[^']*'/,h=e.either(l,u,f),d=e.concat(h,"(\\s*\\.\\s*",h,")*",e.lookahead(/\s*=\s*[^#\s]/));return{name:"TOML, also INI",aliases:["toml"],case_insensitive:!0,illegal:/\S/,contains:[n,{className:"section",begin:/\[+/,end:/\]+/},{begin:d,className:"attr",starts:{end:/$/,contains:[n,s,i,o,a,r]}}]}}yko.exports=ZQs});var wko=ut((_$f,xko)=>{x();var B2e="[0-9](_*[0-9])*",Iht=`\\.(${B2e})`,Lht="[0-9a-fA-F](_*[0-9a-fA-F])*",Ako={className:"number",variants:[{begin:`(\\b(${B2e})((${Iht})|\\.)?|(${Iht}))[eE][+-]?(${B2e})[fFdD]?\\b`},{begin:`\\b(${B2e})((${Iht})[fFdD]?\\b|\\.([fFdD]\\b)?)`},{begin:`(${Iht})[fFdD]?\\b`},{begin:`\\b(${B2e})[fFdD]\\b`},{begin:`\\b0[xX]((${Lht})\\.?|(${Lht})?\\.(${Lht}))[pP][+-]?(${B2e})[fFdD]?\\b`},{begin:"\\b(0|[1-9](_*[0-9])*)[lL]?\\b"},{begin:`\\b0[xX](${Lht})[lL]?\\b`},{begin:"\\b0(_*[0-7])*[lL]?\\b"},{begin:"\\b0[bB][01](_*[01])*[lL]?\\b"}],relevance:0};function bko(t,e,r){return r===-1?"":t.replace(e,n=>bko(t,e,r-1))}function QQs(t){let e=t.regex,r="[\xC0-\u02B8a-zA-Z_$][\xC0-\u02B8a-zA-Z_$0-9]*",n="(?:(?:\\s*\\[\\s*])+)?",o=r+"<@@@>"+n,a="(?:"+("\\?(?:\\s+(?:extends|super)\\s+"+o+")?")+"|"+o+")",s=bko("(?:\\s*<\\s*"+a+"(?:\\s*,\\s*"+a+")*\\s*>)?",/<@@@>/g,2),d={keyword:["synchronized","abstract","private","var","static","if","const ","for","while","strictfp","finally","protected","import","native","final","void","enum","else","break","transient","catch","instanceof","volatile","case","assert","package","default","public","try","switch","continue","throws","protected","public","private","module","requires","exports","do","sealed","yield","permits","goto","when"],literal:["false","true","null"],type:["char","boolean","long","float","int","byte","short","double"],built_in:["super","this"]},p={className:"meta",begin:"@"+r,contains:[{begin:/\(/,end:/\)/,contains:["self"]}]},m={className:"params",begin:/\(/,end:/\)/,keywords:d,relevance:0,contains:[t.C_BLOCK_COMMENT_MODE],endsParent:!0};return{name:"Java",aliases:["jsp"],keywords:d,illegal:/<\/|#/,contains:[t.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{begin:/\w+@/,relevance:0},{className:"doctag",begin:"@[A-Za-z]+"}]}),{begin:/import java\.[a-z]+\./,keywords:"import",relevance:2},t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,{begin:/"""/,end:/"""/,className:"string",contains:[t.BACKSLASH_ESCAPE]},t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,{match:[/\b(?:class|interface|enum|extends|implements|new)/,/\s+/,r],className:{1:"keyword",3:"title.class"}},{match:/non-sealed/,scope:"keyword"},{beginKeywords:"new throw return else yield assert",relevance:0},{begin:[r,e.concat(s,n,/\s+/),r,n,/\s*/,/=(?!=)/],className:{1:"type",3:"variable",6:"operator"}},{begin:[/record/,/\s+/,r],className:{1:"keyword",3:"title.class"},contains:[m,t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE]},{begin:[r,e.concat(s,n,/\s+/),r,/\s*(?=\()/],className:{1:"type",3:"title.function"},keywords:d,contains:[{className:"params",begin:/\(/,end:/\)/,keywords:d,relevance:0,contains:[p,t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,Ako,t.C_BLOCK_COMMENT_MODE]},t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE]},Ako,p]}}xko.exports=QQs});var Eko=ut((k$f,Tko)=>{x();var Cko="[A-Za-z$_][0-9A-Za-z$_]*",eel=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends","using"],tel=["true","false","null","undefined","NaN","Infinity"],_ko=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],Sko=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],kko=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],rel=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","self","global"],nel=[].concat(kko,_ko,Sko);function oel(t){let e=t.regex,r=(W,{after:q})=>{let X="</"+W[0].slice(1);return W.input.indexOf(X,q)!==-1},n=Cko,o={begin:"<>",end:"</>"},i=/<[A-Za-z0-9\\._:-]+\s*\/>/,a={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(W,q)=>{let X=W[0].length+W.index,ee=W.input[X];if(ee==="<"||ee===","){q.ignoreMatch();return}ee===">"&&(r(W,{after:X})||q.ignoreMatch());let K,Q=W.input.substring(X);if(K=Q.match(/^\s*=/)){q.ignoreMatch();return}if((K=Q.match(/^\s+extends\s+/))&&K.index===0){q.ignoreMatch();return}}},s={$pattern:Cko,keyword:eel,literal:tel,built_in:nel,"variable.language":rel},l="[0-9](_?[0-9])*",u=`\\.(${l})`,f="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",h={className:"number",variants:[{begin:`(\\b(${f})((${u})|\\.)?|(${u}))[eE][+-]?(${l})\\b`},{begin:`\\b(${f})\\b((${u})\\b|\\.)?|(${u})\\b`},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},d={className:"subst",begin:"\\$\\{",end:"\\}",keywords:s,contains:[]},p={begin:".?html`",end:"",starts:{end:"`",returnEnd:!1,contains:[t.BACKSLASH_ESCAPE,d],subLanguage:"xml"}},m={begin:".?css`",end:"",starts:{end:"`",returnEnd:!1,contains:[t.BACKSLASH_ESCAPE,d],subLanguage:"css"}},g={begin:".?gql`",end:"",starts:{end:"`",returnEnd:!1,contains:[t.BACKSLASH_ESCAPE,d],subLanguage:"graphql"}},y={className:"string",begin:"`",end:"`",contains:[t.BACKSLASH_ESCAPE,d]},w={className:"comment",variants:[t.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{begin:"(?=@[A-Za-z]+)",relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"},{className:"type",begin:"\\{",end:"\\}",excludeEnd:!0,excludeBegin:!0,relevance:0},{className:"variable",begin:n+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),t.C_BLOCK_COMMENT_MODE,t.C_LINE_COMMENT_MODE]},C=[t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,p,m,g,y,{match:/\$\d+/},h];d.contains=C.concat({begin:/\{/,end:/\}/,keywords:s,contains:["self"].concat(C)});let S=[].concat(w,d.contains),k=S.concat([{begin:/(\s*)\(/,end:/\)/,keywords:s,contains:["self"].concat(S)}]),T={className:"params",begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:s,contains:k},D={variants:[{match:[/class/,/\s+/,n,/\s+/,/extends/,/\s+/,e.concat(n,"(",e.concat(/\./,n),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,n],scope:{1:"keyword",3:"title.class"}}]},R={relevance:0,match:e.either(/\bJSON/,/\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,/\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,/\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),className:"title.class",keywords:{_:[..._ko,...Sko]}},M={label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},j={variants:[{match:[/function/,/\s+/,n,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[T],illegal:/%/},P={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"};function L(W){return e.concat("(?!",W.join("|"),")")}let O={match:e.concat(/\b/,L([...kko,"super","import","await"].map(W=>`${W}\\s*\\(`)),n,e.lookahead(/\s*\(/)),className:"title.function",relevance:0},B={begin:e.concat(/\./,e.lookahead(e.concat(n,/(?![0-9A-Za-z$_(])/))),end:n,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},N={match:[/get|set/,/\s+/,n,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},T]},$="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+t.UNDERSCORE_IDENT_RE+")\\s*=>",V={match:[/const|var|let/,/\s+/,n,/\s*/,/=\s*/,/(async\s*)?/,e.lookahead($)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[T]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:s,exports:{PARAMS_CONTAINS:k,CLASS_REFERENCE:R},illegal:/#(?![$_A-Za-z])/,contains:[t.SHEBANG({label:"shebang",binary:"node",relevance:5}),M,t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,p,m,g,y,w,{match:/\$\d+/},h,R,{scope:"attr",match:n+e.lookahead(":"),relevance:0},V,{begin:"("+t.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[w,t.REGEXP_MODE,{className:"function",begin:$,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:t.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:s,contains:k}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:o.begin,end:o.end},{match:i},{begin:a.begin,"on:begin":a.isTrulyOpeningTag,end:a.end}],subLanguage:"xml",contains:[{begin:a.begin,end:a.end,skip:!0,contains:["self"]}]}]},j,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+t.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[T,t.inherit(t.TITLE_MODE,{begin:n,className:"title.function"})]},{match:/\.\.\./,relevance:0},B,{match:"\\$"+n,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[T]},O,P,D,N,{match:/\$[(.]/}]}}Tko.exports=oel});var Rko=ut((E$f,Dko)=>{x();var iel="([-+]?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)|NaN|[-+]?Infinity",ael={scope:"number",match:iel,relevance:0};function sel(t){let e={className:"attr",begin:/(("(\\.|[^\\"\r\n])*")|('(\\.|[^\\'\r\n])*'))(?=\s*:)/,relevance:1.01},r={match:/[{}[\],:]/,className:"punctuation",relevance:0},n=["true","false","null"],o={scope:"literal",beginKeywords:n.join(" ")};return{name:"JSON",aliases:["jsonc","json5"],keywords:{literal:n},contains:[e,r,t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,o,ael,t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE],illegal:"\\S"}}Dko.exports=sel});var Fko=ut((R$f,Mko)=>{x();var N2e="[0-9](_*[0-9])*",jht=`\\.(${N2e})`,Pht="[0-9a-fA-F](_*[0-9a-fA-F])*",lel={className:"number",variants:[{begin:`(\\b(${N2e})((${jht})|\\.)?|(${jht}))[eE][+-]?(${N2e})[fFdD]?\\b`},{begin:`\\b(${N2e})((${jht})[fFdD]?\\b|\\.([fFdD]\\b)?)`},{begin:`(${jht})[fFdD]?\\b`},{begin:`\\b(${N2e})[fFdD]\\b`},{begin:`\\b0[xX]((${Pht})\\.?|(${Pht})?\\.(${Pht}))[pP][+-]?(${N2e})[fFdD]?\\b`},{begin:"\\b(0|[1-9](_*[0-9])*)[lL]?\\b"},{begin:`\\b0[xX](${Pht})[lL]?\\b`},{begin:"\\b0(_*[0-7])*[lL]?\\b"},{begin:"\\b0[bB][01](_*[01])*[lL]?\\b"}],relevance:0};function cel(t){let e={keyword:"abstract as val var vararg get set class object open private protected public noinline crossinline dynamic final enum if else do while for when throw try catch finally import package is in fun override companion reified inline lateinit init interface annotation data sealed internal infix operator out by constructor super tailrec where const inner suspend typealias external expect actual",built_in:"Byte Short Char Int Long Boolean Float Double Void Unit Nothing",literal:"true false null"},r={className:"keyword",begin:/\b(break|continue|return|this)\b/,starts:{contains:[{className:"symbol",begin:/@\w+/}]}},n={className:"symbol",begin:t.UNDERSCORE_IDENT_RE+"@"},o={className:"subst",begin:/\$\{/,end:/\}/,contains:[t.C_NUMBER_MODE]},i={className:"variable",begin:"\\$"+t.UNDERSCORE_IDENT_RE},a={className:"string",variants:[{begin:'"""',end:'"""(?=[^"])',contains:[i,o]},{begin:"'",end:"'",illegal:/\n/,contains:[t.BACKSLASH_ESCAPE]},{begin:'"',end:'"',illegal:/\n/,contains:[t.BACKSLASH_ESCAPE,i,o]}]};o.contains.push(a);let s={className:"meta",begin:"@(?:file|property|field|get|set|receiver|param|setparam|delegate)\\s*:(?:\\s*"+t.UNDERSCORE_IDENT_RE+")?"},l={className:"meta",begin:"@"+t.UNDERSCORE_IDENT_RE,contains:[{begin:/\(/,end:/\)/,contains:[t.inherit(a,{className:"string"}),"self"]}]},u=lel,f=t.COMMENT("/\\*","\\*/",{contains:[t.C_BLOCK_COMMENT_MODE]}),h={variants:[{className:"type",begin:t.UNDERSCORE_IDENT_RE},{begin:/\(/,end:/\)/,contains:[]}]},d=h;return d.variants[1].contains=[h],h.variants[1].contains=[d],{name:"Kotlin",aliases:["kt","kts","ktm","ktx"],keywords:e,contains:[t.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"}]}),t.C_LINE_COMMENT_MODE,f,r,n,s,l,{className:"function",beginKeywords:"fun",end:"[(]|$",returnBegin:!0,excludeEnd:!0,keywords:e,relevance:5,contains:[{begin:t.UNDERSCORE_IDENT_RE+"\\s*\\(",returnBegin:!0,relevance:0,contains:[t.UNDERSCORE_TITLE_MODE]},{className:"type",begin:/</,end:/>/,keywords:"reified",relevance:0},{className:"params",begin:/\(/,end:/\)/,endsParent:!0,keywords:e,relevance:0,contains:[{begin:/:/,end:/[=,\/]/,endsWithParent:!0,contains:[h,t.C_LINE_COMMENT_MODE,f],relevance:0},t.C_LINE_COMMENT_MODE,f,s,l,a,t.C_NUMBER_MODE]},f]},{begin:[/class|interface|trait/,/\s+/,t.UNDERSCORE_IDENT_RE],beginScope:{3:"title.class"},keywords:"class interface trait",end:/[:\{(]|$/,excludeEnd:!0,illegal:"extends implements",contains:[{beginKeywords:"public protected internal private constructor"},t.UNDERSCORE_TITLE_MODE,{className:"type",begin:/</,end:/>/,excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:/[,:]\s*/,end:/[<\(,){\s]|$/,excludeBegin:!0,returnEnd:!0},s,l]},a,{className:"meta",begin:"^#!/usr/bin/env",end:"$",illegal:`
|
|
3832
3832
|
`},u]}}Mko.exports=cel});var Pko=ut((F$f,jko)=>{x();var uel=t=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:t.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},UNICODE_RANGE:{scope:"number",begin:/\b[Uu]\+[0-9A-Fa-f][0-9A-Fa-f?]{0,5}(-[0-9A-Fa-f][0-9A-Fa-f]{0,5})?/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[t.APOS_STRING_MODE,t.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:t.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z_][A-Za-z0-9_-]*/}}),fel=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","optgroup","option","p","picture","q","quote","samp","section","select","source","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],hel=["defs","g","marker","mask","pattern","svg","switch","symbol","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feFlood","feGaussianBlur","feImage","feMerge","feMorphology","feOffset","feSpecularLighting","feTile","feTurbulence","linearGradient","radialGradient","stop","circle","ellipse","image","line","path","polygon","polyline","rect","text","use","textPath","tspan","foreignObject","clipPath"],del=[...fel,...hel],pel=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"].sort().reverse(),Iko=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"].sort().reverse(),Lko=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"].sort().reverse(),mel=["accent-color","align-content","align-items","align-self","alignment-baseline","all","anchor-name","animation","animation-composition","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-range","animation-range-end","animation-range-start","animation-timeline","animation-timing-function","appearance","aspect-ratio","backdrop-filter","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-position-x","background-position-y","background-repeat","background-size","baseline-shift","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-end-end-radius","border-end-start-radius","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-start-end-radius","border-start-start-radius","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-align","box-decoration-break","box-direction","box-flex","box-flex-group","box-lines","box-ordinal-group","box-orient","box-pack","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","color-scheme","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","contain-intrinsic-block-size","contain-intrinsic-height","contain-intrinsic-inline-size","contain-intrinsic-size","contain-intrinsic-width","container","container-name","container-type","content","content-visibility","corner-bottom-left-shape","corner-bottom-right-shape","corner-shape","corner-top-left-shape","corner-top-right-shape","counter-increment","counter-reset","counter-set","cue","cue-after","cue-before","cursor","cx","cy","direction","display","dominant-baseline","empty-cells","enable-background","field-sizing","fill","fill-opacity","fill-rule","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flood-color","flood-opacity","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-optical-sizing","font-palette","font-size","font-size-adjust","font-smooth","font-smoothing","font-stretch","font-style","font-synthesis","font-synthesis-position","font-synthesis-small-caps","font-synthesis-style","font-synthesis-weight","font-variant","font-variant-alternates","font-variant-caps","font-variant-east-asian","font-variant-emoji","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","forced-color-adjust","gap","glyph-orientation-horizontal","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphenate-character","hyphenate-limit-chars","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","initial-letter","initial-letter-align","inline-size","inset","inset-area","inset-block","inset-block-end","inset-block-start","inset-inline","inset-inline-end","inset-inline-start","isolation","justify-content","justify-items","justify-self","kerning","left","letter-spacing","lighting-color","line-break","line-height","line-height-step","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","margin-trim","marker","marker-end","marker-mid","marker-start","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","masonry-auto-flow","math-depth","math-shift","math-style","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","offset","offset-anchor","offset-distance","offset-path","offset-position","offset-rotate","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-anchor","overflow-block","overflow-clip-margin","overflow-inline","overflow-wrap","overflow-x","overflow-y","overlay","overscroll-behavior","overscroll-behavior-block","overscroll-behavior-inline","overscroll-behavior-x","overscroll-behavior-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page","page-break-after","page-break-before","page-break-inside","paint-order","pause","pause-after","pause-before","perspective","perspective-origin","place-content","place-items","place-self","pointer-events","position","position-anchor","position-visibility","print-color-adjust","quotes","r","resize","rest","rest-after","rest-before","right","rotate","row-gap","ruby-align","ruby-position","scale","scroll-behavior","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scroll-timeline","scroll-timeline-axis","scroll-timeline-name","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","shape-rendering","speak","speak-as","src","stop-color","stop-opacity","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","tab-size","table-layout","text-align","text-align-all","text-align-last","text-anchor","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip","text-decoration-skip-ink","text-decoration-style","text-decoration-thickness","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-size-adjust","text-transform","text-underline-offset","text-underline-position","text-wrap","text-wrap-mode","text-wrap-style","timeline-scope","top","touch-action","transform","transform-box","transform-origin","transform-style","transition","transition-behavior","transition-delay","transition-duration","transition-property","transition-timing-function","translate","unicode-bidi","unicode-range","user-modify","user-select","vector-effect","vertical-align","view-timeline","view-timeline-axis","view-timeline-inset","view-timeline-name","view-transition-name","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","white-space-collapse","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","x","y","z-index","zoom"].sort().reverse(),gel=Iko.concat(Lko).sort().reverse();function yel(t){let e=uel(t),r=gel,n="and or not only",o="[\\w-]+",i="("+o+"|@\\{"+o+"\\})",a=[],s=[],l=function(C){return{className:"string",begin:"~?"+C+".*?"+C}},u=function(C,S,k){return{className:C,begin:S,relevance:k}},f={$pattern:/[a-z-]+/,keyword:n,attribute:pel.join(" ")},h={begin:"\\(",end:"\\)",contains:s,keywords:f,relevance:0};s.push(t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,l("'"),l('"'),e.CSS_NUMBER_MODE,{begin:"(url|data-uri)\\(",starts:{className:"string",end:"[\\)\\n]",excludeEnd:!0}},e.UNICODE_RANGE,e.HEXCOLOR,h,u("variable","@@?"+o,10),u("variable","@\\{"+o+"\\}"),u("built_in","~?`[^`]*?`"),{className:"attribute",begin:o+"\\s*:",end:":",returnBegin:!0,excludeEnd:!0},e.IMPORTANT,{beginKeywords:"and not"},e.FUNCTION_DISPATCH);let d=s.concat({begin:/\{/,end:/\}/,contains:a}),p={beginKeywords:"when",endsWithParent:!0,contains:[{beginKeywords:"and not"}].concat(s)},m={begin:i+"\\s*:",returnBegin:!0,end:/[;}]/,relevance:0,contains:[{begin:/-(webkit|moz|ms|o)-/},e.CSS_VARIABLE,{className:"attribute",begin:"\\b("+mel.join("|")+")\\b",end:/(?=:)/,starts:{endsWithParent:!0,illegal:"[<=$]",relevance:0,contains:s}}]},g={className:"keyword",begin:"@(import|media|charset|font-face|(-[a-z]+-)?keyframes|supports|document|namespace|page|viewport|host)\\b",starts:{end:"[;{}]",keywords:f,returnEnd:!0,contains:s,relevance:0}},y={className:"variable",variants:[{begin:"@"+o+"\\s*:",relevance:15},{begin:"@"+o}],starts:{end:"[;}]",returnEnd:!0,contains:d}},b={variants:[{begin:"[\\.#:&\\[>]",end:"[;{}]"},{begin:i,end:/\{/}],returnBegin:!0,returnEnd:!0,illegal:`[<='$"]`,relevance:0,contains:[t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,p,u("keyword","all\\b"),u("variable","@\\{"+o+"\\}"),{begin:"\\b("+del.join("|")+")\\b",className:"selector-tag"},e.CSS_NUMBER_MODE,u("selector-tag",i,0),u("selector-id","#"+i),u("selector-class","\\."+i,0),u("selector-tag","&",0),e.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",begin:":("+Iko.join("|")+")"},{className:"selector-pseudo",begin:":(:)?("+Lko.join("|")+")"},{begin:/\(/,end:/\)/,relevance:0,contains:d},{begin:"!important"},e.FUNCTION_DISPATCH]},w={begin:o+`:(:)?(${r.join("|")})`,returnBegin:!0,contains:[b]};return a.push(t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,g,y,w,m,b,p,e.FUNCTION_DISPATCH),{name:"Less",case_insensitive:!0,illegal:`[=>'/<($"]`,contains:a}}jko.exports=yel});var Bko=ut((L$f,Oko)=>{x();function vel(t){let e="\\[=*\\[",r="\\]=*\\]",n={begin:e,end:r,contains:["self"]},o=[t.COMMENT("--(?!"+e+")","$"),t.COMMENT("--"+e,r,{contains:[n],relevance:10})];return{name:"Lua",aliases:["pluto"],keywords:{$pattern:t.UNDERSCORE_IDENT_RE,literal:"true false nil",keyword:"and break do else elseif end for goto if in local global not or repeat return then until while",built_in:"_G _ENV _VERSION __index __newindex __mode __call __metatable __tostring __len __gc __add __sub __mul __div __mod __pow __concat __unm __eq __lt __le assert collectgarbage dofile error getfenv getmetatable ipairs load loadfile loadstring module next pairs pcall print rawequal rawget rawset require select setfenv setmetatable tonumber tostring type unpack xpcall arg self coroutine resume yield status wrap create running debug getupvalue debug sethook getmetatable gethook setmetatable setlocal traceback setfenv getinfo setupvalue getlocal getregistry getfenv io lines write close flush open output type read stderr stdin input stdout popen tmpfile math log max acos huge ldexp pi cos tanh pow deg tan cosh sinh random randomseed frexp ceil floor rad abs sqrt modf asin min mod fmod log10 atan2 exp sin atan os exit setlocale date getenv difftime remove time clock tmpname rename execute package preload loadlib loaded loaders cpath config path seeall string sub upper len gfind rep find match char dump gmatch reverse byte format gsub lower table setn insert getn foreachi maxn foreach concat sort remove"},contains:o.concat([{className:"function",beginKeywords:"function",end:"\\)",contains:[t.inherit(t.TITLE_MODE,{begin:"([_a-zA-Z]\\w*\\.)*([_a-zA-Z]\\w*:)?[_a-zA-Z]\\w*"}),{className:"params",begin:"\\(",endsWithParent:!0,contains:o}].concat(o)},t.C_NUMBER_MODE,t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,{className:"string",begin:e,end:r,contains:[n],relevance:5}])}}Oko.exports=vel});var $ko=ut((P$f,Nko)=>{x();function Ael(t){let e={className:"variable",variants:[{begin:"\\$\\("+t.UNDERSCORE_IDENT_RE+"\\)",contains:[t.BACKSLASH_ESCAPE]},{begin:/\$[@%<?\^\+\*]/}]},r={className:"string",begin:/"/,end:/"/,contains:[t.BACKSLASH_ESCAPE,e]},n={className:"variable",begin:/\$\([\w-]+\s/,end:/\)/,keywords:{built_in:"subst patsubst strip findstring filter filter-out sort word wordlist firstword lastword dir notdir suffix basename addsuffix addprefix join wildcard realpath abspath error warning shell origin flavor foreach if or and call eval file value"},contains:[e,r]},o={begin:"^"+t.UNDERSCORE_IDENT_RE+"\\s*(?=[:+?]?=)"},i={className:"meta",begin:/^\.PHONY:/,end:/$/,keywords:{$pattern:/[\.\w]+/,keyword:".PHONY"}},a={className:"section",begin:/^[^\s]+:/,end:/$/,contains:[e]};return{name:"Makefile",aliases:["mk","mak","make"],keywords:{$pattern:/[\w-]+/,keyword:"define endef undefine ifdef ifndef ifeq ifneq else endif include -include sinclude override export unexport private vpath"},contains:[t.HASH_COMMENT_MODE,e,r,n,o,i,a]}}Nko.exports=Ael});var Gko=ut((B$f,zko)=>{x();function bel(t){let e=t.regex,r=["abs","accept","alarm","and","atan2","bind","binmode","bless","break","caller","chdir","chmod","chomp","chop","chown","chr","chroot","class","close","closedir","connect","continue","cos","crypt","dbmclose","dbmopen","defined","delete","die","do","dump","each","else","elsif","endgrent","endhostent","endnetent","endprotoent","endpwent","endservent","eof","eval","exec","exists","exit","exp","fcntl","field","fileno","flock","for","foreach","fork","format","formline","getc","getgrent","getgrgid","getgrnam","gethostbyaddr","gethostbyname","gethostent","getlogin","getnetbyaddr","getnetbyname","getnetent","getpeername","getpgrp","getpriority","getprotobyname","getprotobynumber","getprotoent","getpwent","getpwnam","getpwuid","getservbyname","getservbyport","getservent","getsockname","getsockopt","given","glob","gmtime","goto","grep","gt","hex","if","index","int","ioctl","join","keys","kill","last","lc","lcfirst","length","link","listen","local","localtime","log","lstat","lt","ma","map","method","mkdir","msgctl","msgget","msgrcv","msgsnd","my","ne","next","no","not","oct","open","opendir","or","ord","our","pack","package","pipe","pop","pos","print","printf","prototype","push","q|0","qq","quotemeta","qw","qx","rand","read","readdir","readline","readlink","readpipe","recv","redo","ref","rename","require","reset","return","reverse","rewinddir","rindex","rmdir","say","scalar","seek","seekdir","select","semctl","semget","semop","send","setgrent","sethostent","setnetent","setpgrp","setpriority","setprotoent","setpwent","setservent","setsockopt","shift","shmctl","shmget","shmread","shmwrite","shutdown","sin","sleep","socket","socketpair","sort","splice","split","sprintf","sqrt","srand","stat","state","study","sub","substr","symlink","syscall","sysopen","sysread","sysseek","system","syswrite","tell","telldir","tie","tied","time","times","tr","truncate","uc","ucfirst","umask","undef","unless","unlink","unpack","unshift","untie","until","use","utime","values","vec","wait","waitpid","wantarray","warn","when","while","write","x|0","xor","y|0"],n=/[dualxmsipngr]{0,12}/,o={$pattern:/[\w.]+/,keyword:r.join(" ")},i={className:"subst",begin:"[$@]\\{",end:"\\}",keywords:o},a={begin:/->\{/,end:/\}/},s={scope:"attr",match:/\s+:\s*\w+(\s*\(.*?\))?/},l={scope:"variable",variants:[{begin:/\$\d/},{begin:e.concat(/[$%@](?!")(\^\w\b|#\w+(::\w+)*|\{\w+\}|\w+(::\w*)*)/,"(?![A-Za-z])(?![@$%])")},{begin:/[$%@](?!")[^\s\w{=]|\$=/,relevance:0}],contains:[s]},u={className:"number",variants:[{match:/0?\.[0-9][0-9_]+\b/},{match:/\bv?(0|[1-9][0-9_]*(\.[0-9_]+)?|[1-9][0-9_]*)\b/},{match:/\b0[0-7][0-7_]*\b/},{match:/\b0x[0-9a-fA-F][0-9a-fA-F_]*\b/},{match:/\b0b[0-1][0-1_]*\b/}],relevance:0},f=[t.BACKSLASH_ESCAPE,i,l],h=[/!/,/\//,/\|/,/\?/,/'/,/"/,/#/],d=(g,y,b="\\1")=>{let w=b==="\\1"?b:e.concat(b,y);return e.concat(e.concat("(?:",g,")"),y,/(?:\\.|[^\\\/])*?/,w,/(?:\\.|[^\\\/])*?/,b,n)},p=(g,y,b)=>e.concat(e.concat("(?:",g,")"),y,/(?:\\.|[^\\\/])*?/,b,n),m=[l,t.HASH_COMMENT_MODE,t.COMMENT(/^=\w/,/=cut/,{endsWithParent:!0}),a,{className:"string",contains:f,variants:[{begin:"q[qwxr]?\\s*\\(",end:"\\)",relevance:5},{begin:"q[qwxr]?\\s*\\[",end:"\\]",relevance:5},{begin:"q[qwxr]?\\s*\\{",end:"\\}",relevance:5},{begin:"q[qwxr]?\\s*\\|",end:"\\|",relevance:5},{begin:"q[qwxr]?\\s*<",end:">",relevance:5},{begin:"qw\\s+q",end:"q",relevance:5},{begin:"'",end:"'",contains:[t.BACKSLASH_ESCAPE]},{begin:'"',end:'"'},{begin:"`",end:"`",contains:[t.BACKSLASH_ESCAPE]},{begin:/\{\w+\}/,relevance:0},{begin:"-?\\w+\\s*=>",relevance:0}]},u,{begin:"(\\/\\/|"+t.RE_STARTERS_RE+"|\\b(split|return|print|reverse|grep)\\b)\\s*",keywords:"split return print reverse grep",relevance:0,contains:[t.HASH_COMMENT_MODE,{className:"regexp",variants:[{begin:d("s|tr|y",e.either(...h,{capture:!0}))},{begin:d("s|tr|y","\\(","\\)")},{begin:d("s|tr|y","\\[","\\]")},{begin:d("s|tr|y","\\{","\\}")}],relevance:2},{className:"regexp",variants:[{begin:/(m|qr)\/\//,relevance:0},{begin:p("(?:m|qr)?",/\//,/\//)},{begin:p("m|qr",e.either(...h,{capture:!0}),/\1/)},{begin:p("m|qr",/\(/,/\)/)},{begin:p("m|qr",/\[/,/\]/)},{begin:p("m|qr",/\{/,/\}/)}]}]},{className:"function",beginKeywords:"sub method",end:"(\\s*\\(.*?\\))?[;{]",excludeEnd:!0,relevance:5,contains:[t.TITLE_MODE,s]},{className:"class",beginKeywords:"class",end:"[;{]",excludeEnd:!0,relevance:5,contains:[t.TITLE_MODE,s,u]},{begin:"-\\w\\b",relevance:0},{begin:"^__DATA__$",end:"^__END__$",subLanguage:"mojolicious",contains:[{begin:"^@@.*",end:"$",className:"comment"}]}];return i.contains=m,a.contains=m,{name:"Perl",aliases:["pl","pm"],keywords:o,contains:m}}zko.exports=bel});var qko=ut(($$f,Hko)=>{x();function xel(t){let e={className:"built_in",begin:"\\b(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)\\w+"},r=/[a-zA-Z@][a-zA-Z0-9_]*/,s={"variable.language":["this","super"],$pattern:r,keyword:["while","export","sizeof","typedef","const","struct","for","union","volatile","static","mutable","if","do","return","goto","enum","else","break","extern","asm","case","default","register","explicit","typename","switch","continue","inline","readonly","assign","readwrite","self","@synchronized","id","typeof","nonatomic","IBOutlet","IBAction","strong","weak","copy","in","out","inout","bycopy","byref","oneway","__strong","__weak","__block","__autoreleasing","@private","@protected","@public","@try","@property","@end","@throw","@catch","@finally","@autoreleasepool","@synthesize","@dynamic","@selector","@optional","@required","@encode","@package","@import","@defs","@compatibility_alias","__bridge","__bridge_transfer","__bridge_retained","__bridge_retain","__covariant","__contravariant","__kindof","_Nonnull","_Nullable","_Null_unspecified","__FUNCTION__","__PRETTY_FUNCTION__","__attribute__","getter","setter","retain","unsafe_unretained","nonnull","nullable","null_unspecified","null_resettable","class","instancetype","NS_DESIGNATED_INITIALIZER","NS_UNAVAILABLE","NS_REQUIRES_SUPER","NS_RETURNS_INNER_POINTER","NS_INLINE","NS_AVAILABLE","NS_DEPRECATED","NS_ENUM","NS_OPTIONS","NS_SWIFT_UNAVAILABLE","NS_ASSUME_NONNULL_BEGIN","NS_ASSUME_NONNULL_END","NS_REFINED_FOR_SWIFT","NS_SWIFT_NAME","NS_SWIFT_NOTHROW","NS_DURING","NS_HANDLER","NS_ENDHANDLER","NS_VALUERETURN","NS_VOIDRETURN"],literal:["false","true","FALSE","TRUE","nil","YES","NO","NULL"],built_in:["dispatch_once_t","dispatch_queue_t","dispatch_sync","dispatch_async","dispatch_once"],type:["int","float","char","unsigned","signed","short","long","double","wchar_t","unichar","void","bool","BOOL","id|0","_Bool"]},l={$pattern:r,keyword:["@interface","@class","@protocol","@implementation"]};return{name:"Objective-C",aliases:["mm","objc","obj-c","obj-c++","objective-c++"],keywords:s,illegal:"</",contains:[e,t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,t.C_NUMBER_MODE,t.QUOTE_STRING_MODE,t.APOS_STRING_MODE,{className:"string",variants:[{begin:'@"',end:'"',illegal:"\\n",contains:[t.BACKSLASH_ESCAPE]}]},{className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},t.inherit(t.QUOTE_STRING_MODE,{className:"string"}),{className:"string",begin:/<.*?>/,end:/$/,illegal:"\\n"},t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE]},{className:"class",begin:"("+l.keyword.join("|")+")\\b",end:/(\{|$)/,excludeEnd:!0,keywords:l,contains:[t.UNDERSCORE_TITLE_MODE]},{begin:"\\."+t.UNDERSCORE_IDENT_RE,relevance:0}]}}Hko.exports=xel});var Vko=ut((G$f,Uko)=>{x();function wel(t){let e=t.regex,r=/(?![A-Za-z0-9])(?![$])/,n=e.concat(/[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*/,r),o=e.concat(/(\\?[A-Z][a-z0-9_\x7f-\xff]+|\\?[A-Z]+(?=[A-Z][a-z0-9_\x7f-\xff])){1,}/,r),i=e.concat(/[A-Z]+/,r),a={scope:"variable",match:"\\$+"+n},s={scope:"meta",variants:[{begin:/<\?php/,relevance:10},{begin:/<\?=/},{begin:/<\?/,relevance:.1},{begin:/\?>/}]},l={scope:"subst",variants:[{begin:/\$\w+/},{begin:/\{\$/,end:/\}/}]},u=t.inherit(t.APOS_STRING_MODE,{illegal:null}),f=t.inherit(t.QUOTE_STRING_MODE,{illegal:null,contains:t.QUOTE_STRING_MODE.contains.concat(l)}),h={begin:/<<<[ \t]*(?:(\w+)|"(\w+)")\n/,end:/[ \t]*(\w+)\b/,contains:t.QUOTE_STRING_MODE.contains.concat(l),"on:begin":(B,N)=>{N.data._beginMatch=B[1]||B[2]},"on:end":(B,N)=>{N.data._beginMatch!==B[1]&&N.ignoreMatch()}},d=t.END_SAME_AS_BEGIN({begin:/<<<[ \t]*'(\w+)'\n/,end:/[ \t]*(\w+)\b/}),p=`[
|
|
3833
3833
|
]`,m={scope:"string",variants:[f,u,h,d]},g={scope:"number",variants:[{begin:"\\b0[bB][01]+(?:_[01]+)*\\b"},{begin:"\\b0[oO][0-7]+(?:_[0-7]+)*\\b"},{begin:"\\b0[xX][\\da-fA-F]+(?:_[\\da-fA-F]+)*\\b"},{begin:"(?:\\b\\d+(?:_\\d+)*(\\.(?:\\d+(?:_\\d+)*))?|\\B\\.\\d+)(?:[eE][+-]?\\d+)?"}],relevance:0},y=["false","null","true"],b=["__CLASS__","__DIR__","__FILE__","__FUNCTION__","__COMPILER_HALT_OFFSET__","__LINE__","__METHOD__","__NAMESPACE__","__TRAIT__","die","echo","exit","include","include_once","print","require","require_once","array","abstract","and","as","binary","bool","boolean","break","callable","case","catch","class","clone","const","continue","declare","default","do","double","else","elseif","empty","enddeclare","endfor","endforeach","endif","endswitch","endwhile","enum","eval","extends","final","finally","float","for","foreach","from","global","goto","if","implements","instanceof","insteadof","int","integer","interface","isset","iterable","list","match|0","mixed","new","never","object","or","private","protected","public","readonly","real","return","string","switch","throw","trait","try","unset","use","var","void","while","xor","yield"],w=["Error|0","AppendIterator","ArgumentCountError","ArithmeticError","ArrayIterator","ArrayObject","AssertionError","BadFunctionCallException","BadMethodCallException","CachingIterator","CallbackFilterIterator","CompileError","Countable","DirectoryIterator","DivisionByZeroError","DomainException","EmptyIterator","ErrorException","Exception","FilesystemIterator","FilterIterator","GlobIterator","InfiniteIterator","InvalidArgumentException","IteratorIterator","LengthException","LimitIterator","LogicException","MultipleIterator","NoRewindIterator","OutOfBoundsException","OutOfRangeException","OuterIterator","OverflowException","ParentIterator","ParseError","RangeException","RecursiveArrayIterator","RecursiveCachingIterator","RecursiveCallbackFilterIterator","RecursiveDirectoryIterator","RecursiveFilterIterator","RecursiveIterator","RecursiveIteratorIterator","RecursiveRegexIterator","RecursiveTreeIterator","RegexIterator","RuntimeException","SeekableIterator","SplDoublyLinkedList","SplFileInfo","SplFileObject","SplFixedArray","SplHeap","SplMaxHeap","SplMinHeap","SplObjectStorage","SplObserver","SplPriorityQueue","SplQueue","SplStack","SplSubject","SplTempFileObject","TypeError","UnderflowException","UnexpectedValueException","UnhandledMatchError","ArrayAccess","BackedEnum","Closure","Fiber","Generator","Iterator","IteratorAggregate","Serializable","Stringable","Throwable","Traversable","UnitEnum","WeakReference","WeakMap","Directory","__PHP_Incomplete_Class","parent","php_user_filter","self","static","stdClass"],S={keyword:b,literal:(B=>{let N=[];return B.forEach($=>{N.push($),$.toLowerCase()===$?N.push($.toUpperCase()):N.push($.toLowerCase())}),N})(y),built_in:w},k=B=>B.map(N=>N.replace(/\|\d+$/,"")),T={variants:[{match:[/new/,e.concat(p,"+"),e.concat("(?!",k(w).join("\\b|"),"\\b)"),o],scope:{1:"keyword",4:"title.class"}}]},D=e.concat(n,"\\b(?!\\()"),R={variants:[{match:[e.concat(/::/,e.lookahead(/(?!class\b)/)),D],scope:{2:"variable.constant"}},{match:[/::/,/class/],scope:{2:"variable.language"}},{match:[o,e.concat(/::/,e.lookahead(/(?!class\b)/)),D],scope:{1:"title.class",3:"variable.constant"}},{match:[o,e.concat("::",e.lookahead(/(?!class\b)/))],scope:{1:"title.class"}},{match:[o,/::/,/class/],scope:{1:"title.class",3:"variable.language"}}]},M={scope:"attr",match:e.concat(n,e.lookahead(":"),e.lookahead(/(?!::)/))},j={relevance:0,begin:/\(/,end:/\)/,keywords:S,contains:[M,a,R,t.C_BLOCK_COMMENT_MODE,t.C_LINE_COMMENT_MODE,t.HASH_COMMENT_MODE,m,g,T]},P={relevance:0,match:[/\b/,e.concat("(?!fn\\b|function\\b|",k(b).join("\\b|"),"|",k(w).join("\\b|"),"\\b)"),n,e.concat(p,"*"),e.lookahead(/(?=\()/)],scope:{3:"title.function.invoke"},contains:[j]};j.contains.push(P);let L=[M,R,t.C_BLOCK_COMMENT_MODE,t.C_LINE_COMMENT_MODE,t.HASH_COMMENT_MODE,m,g,T],O={begin:e.concat(/#\[\s*\\?/,e.either(o,i)),beginScope:"meta",end:/]/,endScope:"meta",keywords:{literal:y,keyword:["new","array"]},contains:[{begin:/\[/,end:/]/,keywords:{literal:y,keyword:["new","array"]},contains:["self",...L]},...L,{scope:"meta",variants:[{match:o},{match:i}]}]};return{case_insensitive:!1,keywords:S,contains:[O,t.HASH_COMMENT_MODE,t.COMMENT("//","$"),t.COMMENT("/\\*","\\*/",{contains:[{scope:"doctag",match:"@[A-Za-z]+"}]}),{match:/__halt_compiler\(\);/,keywords:"__halt_compiler",starts:{scope:"comment",end:t.MATCH_NOTHING_RE,contains:[{match:/\?>/,scope:"meta",endsParent:!0}]}},s,{scope:"variable.language",match:/\$this\b/},a,P,R,{match:[/const/,/\s/,n],scope:{1:"keyword",3:"variable.constant"}},T,{scope:"function",relevance:0,beginKeywords:"fn function",end:/[;{]/,excludeEnd:!0,illegal:"[$%\\[]",contains:[{beginKeywords:"use"},t.UNDERSCORE_TITLE_MODE,{begin:"=>",endsParent:!0},{scope:"params",begin:"\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0,keywords:S,contains:["self",O,a,R,t.C_BLOCK_COMMENT_MODE,t.C_LINE_COMMENT_MODE,t.HASH_COMMENT_MODE,m,g]}]},{scope:"class",variants:[{beginKeywords:"enum",illegal:/[($"]/},{beginKeywords:"class interface trait",illegal:/[:($"]/}],relevance:0,end:/\{/,excludeEnd:!0,contains:[{beginKeywords:"extends implements"},t.UNDERSCORE_TITLE_MODE]},{beginKeywords:"namespace",relevance:0,end:";",illegal:/[.']/,contains:[t.inherit(t.UNDERSCORE_TITLE_MODE,{scope:"title.class"})]},{beginKeywords:"use",relevance:0,end:";",contains:[{match:/\b(as|const|function)\b/,scope:"keyword"},t.UNDERSCORE_TITLE_MODE]},m,g]}}Uko.exports=wel});var Xko=ut((q$f,Wko)=>{x();function Cel(t){return{name:"PHP template",subLanguage:"xml",contains:[{begin:/<\?(php|=)?/,end:/\?>/,subLanguage:"php",contains:[{begin:"/\\*",end:"\\*/",skip:!0},{begin:'b"',end:'"',skip:!0},{begin:"b'",end:"'",skip:!0},t.inherit(t.APOS_STRING_MODE,{illegal:null,className:null,contains:null,skip:!0}),t.inherit(t.QUOTE_STRING_MODE,{illegal:null,className:null,contains:null,skip:!0})]}]}}Wko.exports=Cel});var Kko=ut((V$f,Yko)=>{x();function _el(t){return{name:"Plain text",aliases:["text","txt"],disableAutodetect:!0}}Yko.exports=_el});var Zko=ut((X$f,Jko)=>{x();function Sel(t){let e=t.regex,r=new RegExp("[\\p{XID_Start}_]\\p{XID_Continue}*","u"),n=["and","as","assert","async","await","break","case","class","continue","def","del","elif","else","except","finally","for","from","global","if","import","in","is","lambda","lazy","match","nonlocal|10","not","or","pass","raise","return","try","while","with","yield"],s={$pattern:/[A-Za-z]\w+|__\w+__/,keyword:n,built_in:["__import__","abs","aiter","all","anext","any","ascii","bin","bool","breakpoint","bytearray","bytes","callable","chr","classmethod","compile","complex","delattr","dict","dir","divmod","enumerate","eval","exec","filter","float","format","frozendict","frozenset","getattr","globals","hasattr","hash","help","hex","id","input","int","isinstance","issubclass","iter","len","list","locals","map","max","memoryview","min","next","object","oct","open","ord","pow","print","property","range","repr","reversed","round","sentinel","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","vars","zip"],literal:["__debug__","Ellipsis","False","None","NotImplemented","True"],type:["Any","Callable","Coroutine","Dict","List","Literal","Generic","Optional","Sequence","Set","Tuple","Type","Union"]},l={className:"meta",begin:/^(>>>|\.\.\.) /},u={className:"subst",begin:/\{/,end:/\}/,keywords:s,illegal:/#/},f={begin:/\{\{/,relevance:0},h={className:"string",contains:[t.BACKSLASH_ESCAPE],variants:[{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?'''/,end:/'''/,contains:[t.BACKSLASH_ESCAPE,l],relevance:10},{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?"""/,end:/"""/,contains:[t.BACKSLASH_ESCAPE,l],relevance:10},{begin:/([fFtT][rR]|[rR][fFtT]|[fFtT])'''/,end:/'''/,contains:[t.BACKSLASH_ESCAPE,l,f,u]},{begin:/([fFtT][rR]|[rR][fFtT]|[fFtT])"""/,end:/"""/,contains:[t.BACKSLASH_ESCAPE,l,f,u]},{begin:/([uU]|[rR])'/,end:/'/,relevance:10},{begin:/([uU]|[rR])"/,end:/"/,relevance:10},{begin:/([bB]|[bB][rR]|[rR][bB])'/,end:/'/},{begin:/([bB]|[bB][rR]|[rR][bB])"/,end:/"/},{begin:/([fFtT][rR]|[rR][fFtT]|[fFtT])'/,end:/'/,contains:[t.BACKSLASH_ESCAPE,f,u]},{begin:/([fFtT][rR]|[rR][fFtT]|[fFtT])"/,end:/"/,contains:[t.BACKSLASH_ESCAPE,f,u]},t.APOS_STRING_MODE,t.QUOTE_STRING_MODE]},d="[0-9](_?[0-9])*",p=`(\\b(${d}))?\\.(${d})|\\b(${d})\\.`,m=`\\b|${n.join("|")}`,g={className:"number",relevance:0,variants:[{begin:`(\\b(${d})|(${p}))[eE][+-]?(${d})[jJ]?(?=${m})`},{begin:`(${p})[jJ]?`},{begin:`\\b([1-9](_?[0-9])*|0+(_?0)*)[lLjJ]?(?=${m})`},{begin:`\\b0[bB](_?[01])+[lL]?(?=${m})`},{begin:`\\b0[oO](_?[0-7])+[lL]?(?=${m})`},{begin:`\\b0[xX](_?[0-9a-fA-F])+[lL]?(?=${m})`},{begin:`\\b(${d})[jJ](?=${m})`}]},y={className:"comment",begin:e.lookahead(/# type:/),end:/$/,keywords:s,contains:[{begin:/# type:/},{begin:/#/,end:/\b\B/,endsWithParent:!0}]},b={className:"params",variants:[{className:"",begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:s,contains:["self",l,g,h,t.HASH_COMMENT_MODE]}]};return u.contains=[h,g,l],{name:"Python",aliases:["py","gyp","ipython"],unicodeRegex:!0,keywords:s,illegal:/(<\/|\?)|=>/,contains:[l,g,{scope:"variable.language",match:/\bself\b/},{beginKeywords:"if",relevance:0},{match:/\bor\b/,scope:"keyword"},h,y,t.HASH_COMMENT_MODE,{match:[/\bdef/,/\s+/,r],scope:{1:"keyword",3:"title.function"},contains:[b]},{variants:[{match:[/\bclass/,/\s+/,r,/\s*/,/\(\s*/,r,/\s*\)/]},{match:[/\bclass/,/\s+/,r]}],scope:{1:"keyword",3:"title.class",6:"title.class.inherited"}},{className:"meta",begin:/^[\t ]*@/,end:/(?=#)|$/,contains:[g,b,h]}]}}Jko.exports=Sel});var e5o=ut((K$f,Qko)=>{x();function kel(t){return{aliases:["pycon"],contains:[{className:"meta.prompt",starts:{end:/ |$/,starts:{end:"$",subLanguage:"python"}},variants:[{begin:/^>>>(?=[ ]|$)/},{begin:/^\.\.\.(?=[ ]|$)/}]}]}}Qko.exports=kel});var r5o=ut((Z$f,t5o)=>{x();function Tel(t){let e=t.regex,r=/(?:(?:[a-zA-Z]|\.[._a-zA-Z])[._a-zA-Z0-9]*)|\.(?!\d)/,n=e.either(/0[xX][0-9a-fA-F]+\.[0-9a-fA-F]*[pP][+-]?\d+i?/,/0[xX][0-9a-fA-F]+(?:[pP][+-]?\d+)?[Li]?/,/(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?[Li]?/),o=/[=!<>:]=|\|\||&&|:::?|<-|<<-|->>|->|\|>|[-+*\/?!$&|:<=>@^~]|\*\*/,i=e.either(/[()]/,/[{}]/,/\[\[/,/[[\]]/,/\\/,/,/);return{name:"R",keywords:{$pattern:r,keyword:"function if in break next repeat else for while",literal:"NULL NA TRUE FALSE Inf NaN NA_integer_|10 NA_real_|10 NA_character_|10 NA_complex_|10",built_in:"LETTERS letters month.abb month.name pi T F abs acos acosh all any anyNA Arg as.call as.character as.complex as.double as.environment as.integer as.logical as.null.default as.numeric as.raw asin asinh atan atanh attr attributes baseenv browser c call ceiling class Conj cos cosh cospi cummax cummin cumprod cumsum digamma dim dimnames emptyenv exp expression floor forceAndCall gamma gc.time globalenv Im interactive invisible is.array is.atomic is.call is.character is.complex is.double is.environment is.expression is.finite is.function is.infinite is.integer is.language is.list is.logical is.matrix is.na is.name is.nan is.null is.numeric is.object is.pairlist is.raw is.recursive is.single is.symbol lazyLoadDBfetch length lgamma list log max min missing Mod names nargs nzchar oldClass on.exit pos.to.env proc.time prod quote range Re rep retracemem return round seq_along seq_len seq.int sign signif sin sinh sinpi sqrt standardGeneric substitute sum switch tan tanh tanpi tracemem trigamma trunc unclass untracemem UseMethod xtfrm"},contains:[t.COMMENT(/#'/,/$/,{contains:[{scope:"doctag",match:/@examples/,starts:{end:e.lookahead(e.either(/\n^#'\s*(?=@[a-zA-Z]+)/,/\n^(?!#')/)),endsParent:!0}},{scope:"doctag",begin:"@param",end:/$/,contains:[{scope:"variable",variants:[{match:r},{match:/`(?:\\.|[^`\\])+`/}],endsParent:!0}]},{scope:"doctag",match:/@[a-zA-Z]+/},{scope:"keyword",match:/\\[a-zA-Z]+/}]}),t.HASH_COMMENT_MODE,{scope:"string",contains:[t.BACKSLASH_ESCAPE],variants:[t.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\(/,end:/\)(-*)"/}),t.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\{/,end:/\}(-*)"/}),t.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\[/,end:/\](-*)"/}),t.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\(/,end:/\)(-*)'/}),t.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\{/,end:/\}(-*)'/}),t.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\[/,end:/\](-*)'/}),{begin:'"',end:'"',relevance:0},{begin:"'",end:"'",relevance:0}]},{relevance:0,variants:[{scope:{1:"operator",2:"number"},match:[o,n]},{scope:{1:"operator",2:"number"},match:[/%[^%]*%/,n]},{scope:{1:"punctuation",2:"number"},match:[i,n]},{scope:{2:"number"},match:[/[^a-zA-Z0-9._]|^/,n]}]},{scope:{3:"operator"},match:[r,/\s+/,/<-/,/\s+/]},{scope:"operator",relevance:0,variants:[{match:o},{match:/%[^%]*%/}]},{scope:"punctuation",relevance:0,match:i},{begin:"`",end:"`",contains:[{begin:/\\./}]}]}}t5o.exports=Tel});var o5o=ut((ezf,n5o)=>{x();function Eel(t){let e=t.regex,r=/(r#)?/,n=e.concat(r,t.UNDERSCORE_IDENT_RE),o=e.concat(r,t.IDENT_RE),i={scope:"title.function.invoke",relevance:0,begin:e.concat(/\b/,/(?!(?:let|for|while|if|else|match)\b)/,o,e.lookahead(/\s*\(/))},a="([ui](8|16|32|64|128|size)|f(16|32|64|128))?",s=["abstract","as","async","await","become","box","break","const","continue","crate","do","dyn","else","enum","extern","false","final","fn","for","if","impl","in","let","loop","macro","match","mod","move","mut","override","priv","pub","raw","ref","return","self","Self","static","struct","super","trait","true","try","type","typeof","union","unsafe","unsized","use","virtual","where","while","yield"],l=["true","false","Some","None","Ok","Err"],u=["drop ","Copy","Send","Sized","Sync","Drop","Fn","FnMut","FnOnce","ToOwned","Clone","Debug","PartialEq","PartialOrd","Eq","Ord","AsRef","AsMut","Into","From","Default","Iterator","Extend","IntoIterator","DoubleEndedIterator","ExactSizeIterator","SliceConcatExt","ToString","assert!","assert_eq!","bitflags!","bytes!","cfg!","col!","concat!","concat_idents!","debug_assert!","debug_assert_eq!","env!","eprintln!","panic!","file!","format!","format_args!","include_bytes!","include_str!","line!","local_data_key!","module_path!","option_env!","print!","println!","select!","stringify!","try!","unimplemented!","unreachable!","vec!","write!","writeln!","macro_rules!","assert_ne!","debug_assert_ne!"],f=["i8","i16","i32","i64","i128","isize","u8","u16","u32","u64","u128","usize","f16","f32","f64","f128","str","char","bool","Box","Option","Result","String","Vec"];return{name:"Rust",aliases:["rs"],keywords:{$pattern:t.IDENT_RE+"!?",type:f,keyword:s,literal:l,built_in:u},illegal:"</",contains:[t.C_LINE_COMMENT_MODE,t.COMMENT("/\\*","\\*/",{contains:["self"]}),t.inherit(t.QUOTE_STRING_MODE,{begin:/b?"/,illegal:null}),{scope:"symbol",begin:/'[a-zA-Z_][a-zA-Z0-9_]*(?!')/},{scope:"string",variants:[{begin:/b?r(#*)"(.|\n)*?"\1(?!#)/},{begin:/b?'/,end:/'/,contains:[{scope:"char.escape",match:/\\('|"|\\|\w|x\w{2}|u\w{4}|U\w{8})/}]}]},{scope:"number",variants:[{begin:"\\b0b([01_]+)"+a},{begin:"\\b0o([0-7_]+)"+a},{begin:"\\b0x([A-Fa-f0-9_]+)"+a},{begin:"\\b(\\d[\\d_]*(\\.[0-9_]+)?([eE][+-]?[0-9_]+)?)"+a}],relevance:0},{begin:[/\bsafe/,/\s+/,/extern/],scope:{1:"keyword",3:"keyword"}},{begin:[/fn/,/\s+/,n],scope:{1:"keyword",3:"title.function"}},{scope:"meta",begin:"#!?\\[",end:"\\]",contains:[{scope:"string",begin:/"/,end:/"/,contains:[t.BACKSLASH_ESCAPE]}]},{begin:[/let/,/\s+/,/(?:mut\s+)?/,n],scope:{1:"keyword",3:"keyword",4:"variable"}},{begin:[/for/,/\s+/,n,/\s+/,/in/],scope:{1:"keyword",3:"variable",5:"keyword"}},{begin:[/type/,/\s+/,n],scope:{1:"keyword",3:"title.class"}},{begin:[/(?:trait|enum|struct|union|impl|for)/,/\s+/,n],scope:{1:"keyword",3:"title.class"}},{begin:t.IDENT_RE+"::",keywords:{keyword:"Self",built_in:u,type:f}},{scope:"punctuation",begin:"->"},i]}}n5o.exports=Eel});var a5o=ut((rzf,i5o)=>{x();var Del=t=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:t.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},UNICODE_RANGE:{scope:"number",begin:/\b[Uu]\+[0-9A-Fa-f][0-9A-Fa-f?]{0,5}(-[0-9A-Fa-f][0-9A-Fa-f]{0,5})?/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[t.APOS_STRING_MODE,t.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:t.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z_][A-Za-z0-9_-]*/}}),Rel=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","optgroup","option","p","picture","q","quote","samp","section","select","source","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],Mel=["defs","g","marker","mask","pattern","svg","switch","symbol","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feFlood","feGaussianBlur","feImage","feMerge","feMorphology","feOffset","feSpecularLighting","feTile","feTurbulence","linearGradient","radialGradient","stop","circle","ellipse","image","line","path","polygon","polyline","rect","text","use","textPath","tspan","foreignObject","clipPath"],Fel=[...Rel,...Mel],Iel=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"].sort().reverse(),Lel=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"].sort().reverse(),jel=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"].sort().reverse(),Pel=["accent-color","align-content","align-items","align-self","alignment-baseline","all","anchor-name","animation","animation-composition","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-range","animation-range-end","animation-range-start","animation-timeline","animation-timing-function","appearance","aspect-ratio","backdrop-filter","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-position-x","background-position-y","background-repeat","background-size","baseline-shift","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-end-end-radius","border-end-start-radius","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-start-end-radius","border-start-start-radius","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-align","box-decoration-break","box-direction","box-flex","box-flex-group","box-lines","box-ordinal-group","box-orient","box-pack","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","color-scheme","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","contain-intrinsic-block-size","contain-intrinsic-height","contain-intrinsic-inline-size","contain-intrinsic-size","contain-intrinsic-width","container","container-name","container-type","content","content-visibility","corner-bottom-left-shape","corner-bottom-right-shape","corner-shape","corner-top-left-shape","corner-top-right-shape","counter-increment","counter-reset","counter-set","cue","cue-after","cue-before","cursor","cx","cy","direction","display","dominant-baseline","empty-cells","enable-background","field-sizing","fill","fill-opacity","fill-rule","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flood-color","flood-opacity","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-optical-sizing","font-palette","font-size","font-size-adjust","font-smooth","font-smoothing","font-stretch","font-style","font-synthesis","font-synthesis-position","font-synthesis-small-caps","font-synthesis-style","font-synthesis-weight","font-variant","font-variant-alternates","font-variant-caps","font-variant-east-asian","font-variant-emoji","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","forced-color-adjust","gap","glyph-orientation-horizontal","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphenate-character","hyphenate-limit-chars","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","initial-letter","initial-letter-align","inline-size","inset","inset-area","inset-block","inset-block-end","inset-block-start","inset-inline","inset-inline-end","inset-inline-start","isolation","justify-content","justify-items","justify-self","kerning","left","letter-spacing","lighting-color","line-break","line-height","line-height-step","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","margin-trim","marker","marker-end","marker-mid","marker-start","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","masonry-auto-flow","math-depth","math-shift","math-style","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","offset","offset-anchor","offset-distance","offset-path","offset-position","offset-rotate","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-anchor","overflow-block","overflow-clip-margin","overflow-inline","overflow-wrap","overflow-x","overflow-y","overlay","overscroll-behavior","overscroll-behavior-block","overscroll-behavior-inline","overscroll-behavior-x","overscroll-behavior-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page","page-break-after","page-break-before","page-break-inside","paint-order","pause","pause-after","pause-before","perspective","perspective-origin","place-content","place-items","place-self","pointer-events","position","position-anchor","position-visibility","print-color-adjust","quotes","r","resize","rest","rest-after","rest-before","right","rotate","row-gap","ruby-align","ruby-position","scale","scroll-behavior","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scroll-timeline","scroll-timeline-axis","scroll-timeline-name","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","shape-rendering","speak","speak-as","src","stop-color","stop-opacity","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","tab-size","table-layout","text-align","text-align-all","text-align-last","text-anchor","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip","text-decoration-skip-ink","text-decoration-style","text-decoration-thickness","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-size-adjust","text-transform","text-underline-offset","text-underline-position","text-wrap","text-wrap-mode","text-wrap-style","timeline-scope","top","touch-action","transform","transform-box","transform-origin","transform-style","transition","transition-behavior","transition-delay","transition-duration","transition-property","transition-timing-function","translate","unicode-bidi","unicode-range","user-modify","user-select","vector-effect","vertical-align","view-timeline","view-timeline-axis","view-timeline-inset","view-timeline-name","view-transition-name","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","white-space-collapse","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","x","y","z-index","zoom"].sort().reverse();function Oel(t){let e=Del(t),r=jel,n=Lel,o="@[a-z-]+",i="and or not only",s={className:"variable",begin:"(\\$"+"[a-zA-Z-][a-zA-Z0-9_-]*"+")\\b",relevance:0};return{name:"SCSS",case_insensitive:!0,illegal:"[=/|']",contains:[t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,e.CSS_NUMBER_MODE,{className:"selector-id",begin:"#[A-Za-z0-9_-]+",relevance:0},{className:"selector-class",begin:"\\.[A-Za-z0-9_-]+",relevance:0},e.ATTRIBUTE_SELECTOR_MODE,{className:"selector-tag",begin:"\\b("+Fel.join("|")+")\\b",relevance:0},{className:"selector-pseudo",begin:":("+n.join("|")+")"},{className:"selector-pseudo",begin:":(:)?("+r.join("|")+")"},s,{begin:/\(/,end:/\)/,contains:[e.CSS_NUMBER_MODE]},e.CSS_VARIABLE,{className:"attribute",begin:"\\b("+Pel.join("|")+")\\b"},{begin:"\\b(whitespace|wait|w-resize|visible|vertical-text|vertical-ideographic|uppercase|upper-roman|upper-alpha|underline|transparent|top|thin|thick|text|text-top|text-bottom|tb-rl|table-header-group|table-footer-group|sw-resize|super|strict|static|square|solid|small-caps|separate|se-resize|scroll|s-resize|rtl|row-resize|ridge|right|repeat|repeat-y|repeat-x|relative|progress|pointer|overline|outside|outset|oblique|nowrap|not-allowed|normal|none|nw-resize|no-repeat|no-drop|newspaper|ne-resize|n-resize|move|middle|medium|ltr|lr-tb|lowercase|lower-roman|lower-alpha|loose|list-item|line|line-through|line-edge|lighter|left|keep-all|justify|italic|inter-word|inter-ideograph|inside|inset|inline|inline-block|inherit|inactive|ideograph-space|ideograph-parenthesis|ideograph-numeric|ideograph-alpha|horizontal|hidden|help|hand|groove|fixed|ellipsis|e-resize|double|dotted|distribute|distribute-space|distribute-letter|distribute-all-lines|disc|disabled|default|decimal|dashed|crosshair|collapse|col-resize|circle|char|center|capitalize|break-word|break-all|bottom|both|bolder|bold|block|bidi-override|below|baseline|auto|always|all-scroll|absolute|table|table-cell)\\b"},{begin:/:/,end:/[;}{]/,relevance:0,contains:[e.BLOCK_COMMENT,s,e.HEXCOLOR,e.CSS_NUMBER_MODE,e.UNICODE_RANGE,t.QUOTE_STRING_MODE,t.APOS_STRING_MODE,e.IMPORTANT,e.FUNCTION_DISPATCH]},{begin:"@(page|font-face)",keywords:{$pattern:o,keyword:"@page @font-face"}},{begin:"@",end:"[{;]",returnBegin:!0,keywords:{$pattern:/[a-z-]+/,keyword:i,attribute:Iel.join(" ")},contains:[{begin:o,className:"keyword"},{begin:/[a-z-]+(?=:)/,className:"attribute"},s,t.QUOTE_STRING_MODE,t.APOS_STRING_MODE,e.HEXCOLOR,e.CSS_NUMBER_MODE]},e.FUNCTION_DISPATCH]}}i5o.exports=Oel});var l5o=ut((ozf,s5o)=>{x();function Bel(t){return{name:"Shell Session",aliases:["console","shellsession"],contains:[{className:"meta.prompt",begin:/^\s{0,3}[./~\w\d[\]()@-]*[>%$#][ ]?/,starts:{end:/[^\\](?=\s*$)/,subLanguage:"bash"}}]}}s5o.exports=Bel});var u5o=ut((azf,c5o)=>{x();function Nel(t){let e=t.regex,r=t.COMMENT("--","$"),n={scope:"string",variants:[{begin:/'/,end:/'/,contains:[{match:/''/}]}]},o={begin:/"/,end:/"/,contains:[{match:/""/}]},i=["true","false","unknown"],a=["double precision","large object","with timezone","without timezone"],s=["bigint","binary","blob","boolean","char","character","clob","date","dec","decfloat","decimal","float","int","integer","interval","nchar","nclob","national","numeric","real","row","smallint","time","timestamp","varchar","varying","varbinary"],l=["add","asc","collation","desc","final","first","last","view"],u=["abs","acos","all","allocate","alter","and","any","are","array","array_agg","array_max_cardinality","as","asensitive","asin","asymmetric","at","atan","atomic","authorization","avg","begin","begin_frame","begin_partition","between","bigint","binary","blob","boolean","both","by","call","called","cardinality","cascaded","case","cast","ceil","ceiling","char","char_length","character","character_length","check","classifier","clob","close","coalesce","collate","collect","column","commit","condition","connect","constraint","contains","convert","copy","corr","corresponding","cos","cosh","count","covar_pop","covar_samp","create","cross","cube","cume_dist","current","current_catalog","current_date","current_default_transform_group","current_path","current_role","current_row","current_schema","current_time","current_timestamp","current_path","current_role","current_transform_group_for_type","current_user","cursor","cycle","date","day","deallocate","dec","decimal","decfloat","declare","default","define","delete","dense_rank","deref","describe","deterministic","disconnect","distinct","double","drop","dynamic","each","element","else","empty","end","end_frame","end_partition","end-exec","equals","escape","every","except","exec","execute","exists","exp","external","extract","false","fetch","filter","first_value","float","floor","for","foreign","frame_row","free","from","full","function","fusion","get","global","grant","group","grouping","groups","having","hold","hour","identity","in","indicator","initial","inner","inout","insensitive","insert","int","integer","intersect","intersection","interval","into","is","join","json_array","json_arrayagg","json_exists","json_object","json_objectagg","json_query","json_table","json_table_primitive","json_value","lag","language","large","last_value","lateral","lead","leading","left","like","like_regex","listagg","ln","local","localtime","localtimestamp","log","log10","lower","match","match_number","match_recognize","matches","max","member","merge","method","min","minute","mod","modifies","module","month","multiset","national","natural","nchar","nclob","new","no","none","normalize","not","nth_value","ntile","null","nullif","numeric","octet_length","occurrences_regex","of","offset","old","omit","on","one","only","open","or","order","out","outer","over","overlaps","overlay","parameter","partition","pattern","per","percent","percent_rank","percentile_cont","percentile_disc","period","portion","position","position_regex","power","precedes","precision","prepare","primary","procedure","ptf","range","rank","reads","real","recursive","ref","references","referencing","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","release","result","return","returns","revoke","right","rollback","rollup","row","row_number","rows","running","savepoint","scope","scroll","search","second","seek","select","sensitive","session_user","set","show","similar","sin","sinh","skip","smallint","some","specific","specifictype","sql","sqlexception","sqlstate","sqlwarning","sqrt","start","static","stddev_pop","stddev_samp","submultiset","subset","substring","substring_regex","succeeds","sum","symmetric","system","system_time","system_user","table","tablesample","tan","tanh","then","time","timestamp","timezone_hour","timezone_minute","to","trailing","translate","translate_regex","translation","treat","trigger","trim","trim_array","true","truncate","uescape","union","unique","unknown","unnest","update","upper","user","using","value","values","value_of","var_pop","var_samp","varbinary","varchar","varying","versioning","when","whenever","where","width_bucket","window","with","within","without","year"],f=["abs","acos","array_agg","asin","atan","avg","cast","ceil","ceiling","coalesce","corr","cos","cosh","count","covar_pop","covar_samp","cume_dist","dense_rank","deref","element","exp","extract","first_value","floor","json_array","json_arrayagg","json_exists","json_object","json_objectagg","json_query","json_table","json_table_primitive","json_value","lag","last_value","lead","listagg","ln","log","log10","lower","max","min","mod","nth_value","ntile","nullif","percent_rank","percentile_cont","percentile_disc","position","position_regex","power","rank","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","row_number","sin","sinh","sqrt","stddev_pop","stddev_samp","substring","substring_regex","sum","tan","tanh","translate","translate_regex","treat","trim","trim_array","unnest","upper","value_of","var_pop","var_samp","width_bucket"],h=["current_catalog","current_date","current_default_transform_group","current_path","current_role","current_schema","current_transform_group_for_type","current_user","session_user","system_time","system_user","current_time","localtime","current_timestamp","localtimestamp"],d=["create table","insert into","primary key","foreign key","not null","alter table","add constraint","grouping sets","on overflow","character set","respect nulls","ignore nulls","nulls first","nulls last","depth first","breadth first"],p=f,m=[...u,...l].filter(k=>!f.includes(k)),g={scope:"variable",match:/@[a-z0-9][a-z0-9_]*/},y={scope:"operator",match:/[-+*/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?/,relevance:0},b={match:e.concat(/\b/,e.either(...p),/\s*\(/),relevance:0,keywords:{built_in:p}};function w(k){return e.concat(/\b/,e.either(...k.map(T=>T.replace(/\s+/,"\\s+"))),/\b/)}let C={scope:"keyword",match:w(d),relevance:0};function S(k,{exceptions:T,when:D}={}){let R=D;return T=T||[],k.map(M=>M.match(/\|\d+$/)||T.includes(M)?M:R(M)?`${M}|0`:M)}return{name:"SQL",case_insensitive:!0,illegal:/[{}]|<\//,keywords:{$pattern:/\b[\w\.]+/,keyword:S(m,{when:k=>k.length<3}),literal:i,type:s,built_in:h},contains:[{scope:"type",match:w(a)},C,b,g,n,o,t.C_NUMBER_MODE,t.C_BLOCK_COMMENT_MODE,r,y]}}c5o.exports=Nel});var A5o=ut((lzf,v5o)=>{x();function p5o(t){return t?typeof t=="string"?t:t.source:null}function xFe(t){return Dm("(?=",t,")")}function Dm(...t){return t.map(r=>p5o(r)).join("")}function $el(t){let e=t[t.length-1];return typeof e=="object"&&e.constructor===Object?(t.splice(t.length-1,1),e):{}}function CS(...t){return"("+($el(t).capture?"":"?:")+t.map(n=>p5o(n)).join("|")+")"}new RegExp(CS(/\[(?:[^\\\]]|\\.)*\]/,/\(\?<(?![=!])[^>]+>/,/\(\?'[^']+'/,/\(\??/,/\\([1-9][0-9]*)/,/\\./));var jbr=t=>Dm(/\b/,t,/\w$/.test(t)?/\b/:/\B/),zel=["Protocol","Type"].map(jbr),f5o=["init","self"].map(jbr),Gel=["Any","Self"],Ibr=["actor","any","associatedtype","async","await",/as\?/,/as!/,"as","borrowing","break","case","catch","class","consume","consuming","continue","convenience","copy","default","defer","deinit","didSet","distributed","do","dynamic","each","else","enum","extension","fallthrough",/fileprivate\(set\)/,"fileprivate","final","for","func","get","guard","if","import","indirect","infix",/init\?/,/init!/,"inout",/internal\(set\)/,"internal","in","is","isolated","nonisolated","lazy","let","macro","mutating","nonmutating",/open\(set\)/,"open","operator","optional","override","package","postfix","precedencegroup","prefix",/private\(set\)/,"private","protocol",/public\(set\)/,"public","repeat","required","rethrows","return","set","some","static","struct","subscript","super","switch","throws","throw",/try\?/,/try!/,"try","typealias",/unowned\(safe\)/,/unowned\(unsafe\)/,"unowned","var","weak","where","while","willSet"],h5o=["false","nil","true"],Hel=["assignment","associativity","higherThan","left","lowerThan","none","right"],qel=["#colorLiteral","#column","#dsohandle","#else","#elseif","#endif","#error","#file","#fileID","#fileLiteral","#filePath","#function","#if","#imageLiteral","#keyPath","#line","#selector","#sourceLocation","#warning"],d5o=["abs","all","any","assert","assertionFailure","debugPrint","dump","fatalError","getVaList","isKnownUniquelyReferenced","max","min","numericCast","pointwiseMax","pointwiseMin","precondition","preconditionFailure","print","readLine","repeatElement","sequence","stride","swap","swift_unboxFromSwiftValueWithType","transcode","type","unsafeBitCast","unsafeDowncast","withExtendedLifetime","withUnsafeMutablePointer","withUnsafePointer","withVaList","withoutActuallyEscaping","zip"],m5o=CS(/[/=\-+!*%<>&|^~?]/,/[\u00A1-\u00A7]/,/[\u00A9\u00AB]/,/[\u00AC\u00AE]/,/[\u00B0\u00B1]/,/[\u00B6\u00BB\u00BF\u00D7\u00F7]/,/[\u2016-\u2017]/,/[\u2020-\u2027]/,/[\u2030-\u203E]/,/[\u2041-\u2053]/,/[\u2055-\u205E]/,/[\u2190-\u23FF]/,/[\u2500-\u2775]/,/[\u2794-\u2BFF]/,/[\u2E00-\u2E7F]/,/[\u3001-\u3003]/,/[\u3008-\u3020]/,/[\u3030]/),g5o=CS(m5o,/[\u0300-\u036F]/,/[\u1DC0-\u1DFF]/,/[\u20D0-\u20FF]/,/[\uFE00-\uFE0F]/,/[\uFE20-\uFE2F]/),Lbr=Dm(m5o,g5o,"*"),y5o=CS(/[a-zA-Z_]/,/[\u00A8\u00AA\u00AD\u00AF\u00B2-\u00B5\u00B7-\u00BA]/,/[\u00BC-\u00BE\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF]/,/[\u0100-\u02FF\u0370-\u167F\u1681-\u180D\u180F-\u1DBF]/,/[\u1E00-\u1FFF]/,/[\u200B-\u200D\u202A-\u202E\u203F-\u2040\u2054\u2060-\u206F]/,/[\u2070-\u20CF\u2100-\u218F\u2460-\u24FF\u2776-\u2793]/,/[\u2C00-\u2DFF\u2E80-\u2FFF]/,/[\u3004-\u3007\u3021-\u302F\u3031-\u303F\u3040-\uD7FF]/,/[\uF900-\uFD3D\uFD40-\uFDCF\uFDF0-\uFE1F\uFE30-\uFE44]/,/[\uFE47-\uFEFE\uFF00-\uFFFD]/),Bht=CS(y5o,/\d/,/[\u0300-\u036F\u1DC0-\u1DFF\u20D0-\u20FF\uFE20-\uFE2F]/),LB=Dm(y5o,Bht,"*"),Oht=Dm(/[A-Z]/,Bht,"*"),Uel=["attached","autoclosure",Dm(/convention\(/,CS("swift","block","c"),/\)/),"discardableResult","dynamicCallable","dynamicMemberLookup","escaping","freestanding","frozen","GKInspectable","IBAction","IBDesignable","IBInspectable","IBOutlet","IBSegueAction","inlinable","main","nonobjc","NSApplicationMain","NSCopying","NSManaged",Dm(/objc\(/,LB,/\)/),"objc","objcMembers","propertyWrapper","requires_stored_property_inits","resultBuilder","Sendable","testable","UIApplicationMain","unchecked","unknown","usableFromInline","warn_unqualified_access"],Vel=["iOS","iOSApplicationExtension","macOS","macOSApplicationExtension","macCatalyst","macCatalystApplicationExtension","watchOS","watchOSApplicationExtension","tvOS","tvOSApplicationExtension","swift"];function Wel(t){let e={match:/\s+/,relevance:0},r=t.COMMENT("/\\*","\\*/",{contains:["self"]}),n=[t.C_LINE_COMMENT_MODE,r],o={match:[/\./,CS(...zel,...f5o)],className:{2:"keyword"}},i={match:Dm(/\./,CS(...Ibr)),relevance:0},a=Ibr.filter(me=>typeof me=="string").concat(["_|0"]),s=Ibr.filter(me=>typeof me!="string").concat(Gel).map(jbr),l={variants:[{className:"keyword",match:CS(...s,...f5o)}]},u={$pattern:CS(/\b\w+/,/#\w+/),keyword:a.concat(qel),literal:h5o},f=[o,i,l],h={match:Dm(/\./,CS(...d5o)),relevance:0},d={className:"built_in",match:Dm(/\b/,CS(...d5o),/(?=\()/)},p=[h,d],m={match:/->/,relevance:0},g={className:"operator",relevance:0,variants:[{match:Lbr},{match:`\\.(\\.|${g5o})+`}]},y=[m,g],b="([0-9]_*)+",w="([0-9a-fA-F]_*)+",C={className:"number",relevance:0,variants:[{match:`\\b(${b})(\\.(${b}))?([eE][+-]?(${b}))?\\b`},{match:`\\b0x(${w})(\\.(${w}))?([pP][+-]?(${b}))?\\b`},{match:/\b0o([0-7]_*)+\b/},{match:/\b0b([01]_*)+\b/}]},S=(me="")=>({className:"subst",variants:[{match:Dm(/\\/,me,/[0\\tnr"']/)},{match:Dm(/\\/,me,/u\{[0-9a-fA-F]{1,8}\}/)}]}),k=(me="")=>({className:"subst",match:Dm(/\\/,me,/[\t ]*(?:[\r\n]|\r\n)/)}),T=(me="")=>({className:"subst",label:"interpol",begin:Dm(/\\/,me,/\(/),end:/\)/}),D=(me="")=>({begin:Dm(me,/"""/),end:Dm(/"""/,me),contains:[S(me),k(me),T(me)]}),R=(me="")=>({begin:Dm(me,/"/),end:Dm(/"/,me),contains:[S(me),T(me)]}),M={className:"string",variants:[D(),D("#"),D("##"),D("###"),R(),R("#"),R("##"),R("###")]},j=[t.BACKSLASH_ESCAPE,{begin:/\[/,end:/\]/,relevance:0,contains:[t.BACKSLASH_ESCAPE]}],P={begin:/\/[^\s](?=[^/\n]*\/)/,end:/\//,contains:j},L=me=>{let ue=Dm(me,/\//),te=Dm(/\//,me);return{begin:ue,end:te,contains:[...j,{scope:"comment",begin:`#(?!.*${te})`,end:/$/}]}},O={scope:"regexp",variants:[L("###"),L("##"),L("#"),P]},B={match:Dm(/`/,LB,/`/)},N={className:"variable",match:/\$\d+/},$={className:"variable",match:`\\$${Bht}+`},V=[B,N,$],W={match:/(@|#(un)?)available/,scope:"keyword",starts:{contains:[{begin:/\(/,end:/\)/,keywords:Vel,contains:[...y,C,M]}]}},q={scope:"keyword",match:Dm(/@/,CS(...Uel),xFe(CS(/\(/,/\s+/)))},X={scope:"meta",match:Dm(/@/,LB)},ee=[W,q,X],K={match:xFe(/\b[A-Z]/),relevance:0,contains:[{className:"type",match:Dm(/(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)/,Bht,"+")},{className:"type",match:Oht,relevance:0},{match:/[?!]+/,relevance:0},{match:/\.\.\./,relevance:0},{match:Dm(/\s+&\s+/,xFe(Oht)),relevance:0}]},Q={begin:/</,end:/>/,keywords:u,contains:[...n,...f,...ee,m,K]};K.contains.push(Q);let de={match:Dm(LB,/\s*:/),keywords:"_|0",relevance:0},pe={begin:/\(/,end:/\)/,relevance:0,keywords:u,contains:["self",de,...n,O,...f,...p,...y,C,M,...V,...ee,K]},xe={begin:/</,end:/>/,keywords:"repeat each",contains:[...n,K]},se={begin:CS(xFe(Dm(LB,/\s*:/)),xFe(Dm(LB,/\s+/,LB,/\s*:/))),end:/:/,relevance:0,contains:[{className:"keyword",match:/\b_\b/},{className:"params",match:LB}]},ae={begin:/\(/,end:/\)/,keywords:u,contains:[se,...n,...f,...y,C,M,...ee,K,pe],endsParent:!0,illegal:/["']/},fe={match:[/(func|macro)/,/\s+/,CS(B.match,LB,Lbr)],className:{1:"keyword",3:"title.function"},contains:[xe,ae,e],illegal:[/\[/,/%/]},ve={match:[/\b(?:subscript|init[?!]?)/,/\s*(?=[<(])/],className:{1:"keyword"},contains:[xe,ae,e],illegal:/\[|%/},Me={match:[/operator/,/\s+/,Lbr],className:{1:"keyword",3:"title"}},J={begin:[/precedencegroup/,/\s+/,Oht],className:{1:"keyword",3:"title"},contains:[K],keywords:[...Hel,...h5o],end:/}/},he={match:[/class\b/,/\s+/,/func\b/,/\s+/,/\b[A-Za-z_][A-Za-z0-9_]*\b/],scope:{1:"keyword",3:"keyword",5:"title.function"}},oe={match:[/class\b/,/\s+/,/var\b/],scope:{1:"keyword",3:"keyword"}},Ae={begin:[/(struct|protocol|class|extension|enum|actor)/,/\s+/,LB,/\s*/],beginScope:{1:"keyword",3:"title.class"},keywords:u,contains:[xe,...f,{begin:/:/,end:/\{/,keywords:u,contains:[{scope:"title.class.inherited",match:Oht},...f],relevance:0}]};for(let me of M.variants){let ue=me.contains.find(ye=>ye.label==="interpol");ue.keywords=u;let te=[...f,...p,...y,C,M,...V];ue.contains=[...te,{begin:/\(/,end:/\)/,contains:["self",...te]}]}return{name:"Swift",keywords:u,contains:[...n,fe,ve,he,oe,Ae,Me,J,{beginKeywords:"import",end:/$/,contains:[...n],relevance:0},O,...f,...p,...y,C,M,...V,...ee,K,pe]}}v5o.exports=Wel});var x5o=ut((uzf,b5o)=>{x();function Xel(t){let e="true false yes no null",r="[\\w#;/?:@&=+$,.~*'()[\\]]+",n={className:"attr",variants:[{begin:/[\w*@][\w*@ :()\./-]*:(?=[ \t]|$)/},{begin:/"[\w*@][\w*@ :()\./-]*":(?=[ \t]|$)/},{begin:/'[\w*@][\w*@ :()\./-]*':(?=[ \t]|$)/}]},o={className:"template-variable",variants:[{begin:/\{\{/,end:/\}\}/},{begin:/%\{/,end:/\}/}]},i={className:"string",relevance:0,begin:/'/,end:/'/,contains:[{match:/''/,scope:"char.escape",relevance:0}]},a={className:"string",relevance:0,variants:[{begin:/"/,end:/"/},{begin:/\S+/}],contains:[t.BACKSLASH_ESCAPE,o]},s=t.inherit(a,{variants:[{begin:/'/,end:/'/,contains:[{begin:/''/,relevance:0}]},{begin:/"/,end:/"/},{begin:/[^\s,{}[\]]+/}]}),d={className:"number",begin:"\\b"+"[0-9]{4}(-[0-9][0-9]){0,2}"+"([Tt \\t][0-9][0-9]?(:[0-9][0-9]){2})?"+"(\\.[0-9]*)?"+"([ \\t])*(Z|[-+][0-9][0-9]?(:[0-9][0-9])?)?"+"\\b"},p={end:",",endsWithParent:!0,excludeEnd:!0,keywords:e,relevance:0},m={begin:/\{/,end:/\}/,contains:[p],illegal:"\\n",relevance:0},g={begin:"\\[",end:"\\]",contains:[p],illegal:"\\n",relevance:0},y=[n,{className:"meta",begin:"^---\\s*$",relevance:10},{className:"string",begin:"[\\|>]([1-9]?[+-])?[ ]*\\n( +)[^ ][^\\n]*\\n(\\2[^\\n]+\\n?)*"},{begin:"<%[%=-]?",end:"[%-]?%>",subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:"!\\w+!"+r},{className:"type",begin:"!<"+r+">"},{className:"type",begin:"!"+r},{className:"type",begin:"!!"+r},{className:"meta",begin:"&"+t.UNDERSCORE_IDENT_RE+"$"},{className:"meta",begin:"\\*"+t.UNDERSCORE_IDENT_RE+"$"},{className:"bullet",begin:"-(?=[ ]|$)",relevance:0},t.HASH_COMMENT_MODE,{beginKeywords:e,keywords:{literal:e}},d,{className:"number",begin:t.C_NUMBER_RE+"\\b",relevance:0},m,g,i,a],b=[...y];return b.pop(),b.push(s),p.contains=b,{name:"YAML",case_insensitive:!0,aliases:["yml"],contains:y}}b5o.exports=Xel});var R5o=ut((hzf,D5o)=>{x();var Nht="[A-Za-z$_][0-9A-Za-z$_]*",w5o=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends","using"],C5o=["true","false","null","undefined","NaN","Infinity"],_5o=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],S5o=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],k5o=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],T5o=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","self","global"],E5o=[].concat(k5o,_5o,S5o);function Yel(t){let e=t.regex,r=(W,{after:q})=>{let X="</"+W[0].slice(1);return W.input.indexOf(X,q)!==-1},n=Nht,o={begin:"<>",end:"</>"},i=/<[A-Za-z0-9\\._:-]+\s*\/>/,a={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(W,q)=>{let X=W[0].length+W.index,ee=W.input[X];if(ee==="<"||ee===","){q.ignoreMatch();return}ee===">"&&(r(W,{after:X})||q.ignoreMatch());let K,Q=W.input.substring(X);if(K=Q.match(/^\s*=/)){q.ignoreMatch();return}if((K=Q.match(/^\s+extends\s+/))&&K.index===0){q.ignoreMatch();return}}},s={$pattern:Nht,keyword:w5o,literal:C5o,built_in:E5o,"variable.language":T5o},l="[0-9](_?[0-9])*",u=`\\.(${l})`,f="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",h={className:"number",variants:[{begin:`(\\b(${f})((${u})|\\.)?|(${u}))[eE][+-]?(${l})\\b`},{begin:`\\b(${f})\\b((${u})\\b|\\.)?|(${u})\\b`},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},d={className:"subst",begin:"\\$\\{",end:"\\}",keywords:s,contains:[]},p={begin:".?html`",end:"",starts:{end:"`",returnEnd:!1,contains:[t.BACKSLASH_ESCAPE,d],subLanguage:"xml"}},m={begin:".?css`",end:"",starts:{end:"`",returnEnd:!1,contains:[t.BACKSLASH_ESCAPE,d],subLanguage:"css"}},g={begin:".?gql`",end:"",starts:{end:"`",returnEnd:!1,contains:[t.BACKSLASH_ESCAPE,d],subLanguage:"graphql"}},y={className:"string",begin:"`",end:"`",contains:[t.BACKSLASH_ESCAPE,d]},w={className:"comment",variants:[t.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{begin:"(?=@[A-Za-z]+)",relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"},{className:"type",begin:"\\{",end:"\\}",excludeEnd:!0,excludeBegin:!0,relevance:0},{className:"variable",begin:n+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),t.C_BLOCK_COMMENT_MODE,t.C_LINE_COMMENT_MODE]},C=[t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,p,m,g,y,{match:/\$\d+/},h];d.contains=C.concat({begin:/\{/,end:/\}/,keywords:s,contains:["self"].concat(C)});let S=[].concat(w,d.contains),k=S.concat([{begin:/(\s*)\(/,end:/\)/,keywords:s,contains:["self"].concat(S)}]),T={className:"params",begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:s,contains:k},D={variants:[{match:[/class/,/\s+/,n,/\s+/,/extends/,/\s+/,e.concat(n,"(",e.concat(/\./,n),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,n],scope:{1:"keyword",3:"title.class"}}]},R={relevance:0,match:e.either(/\bJSON/,/\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,/\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,/\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),className:"title.class",keywords:{_:[..._5o,...S5o]}},M={label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},j={variants:[{match:[/function/,/\s+/,n,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[T],illegal:/%/},P={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"};function L(W){return e.concat("(?!",W.join("|"),")")}let O={match:e.concat(/\b/,L([...k5o,"super","import","await"].map(W=>`${W}\\s*\\(`)),n,e.lookahead(/\s*\(/)),className:"title.function",relevance:0},B={begin:e.concat(/\./,e.lookahead(e.concat(n,/(?![0-9A-Za-z$_(])/))),end:n,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},N={match:[/get|set/,/\s+/,n,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},T]},$="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+t.UNDERSCORE_IDENT_RE+")\\s*=>",V={match:[/const|var|let/,/\s+/,n,/\s*/,/=\s*/,/(async\s*)?/,e.lookahead($)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[T]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:s,exports:{PARAMS_CONTAINS:k,CLASS_REFERENCE:R},illegal:/#(?![$_A-Za-z])/,contains:[t.SHEBANG({label:"shebang",binary:"node",relevance:5}),M,t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,p,m,g,y,w,{match:/\$\d+/},h,R,{scope:"attr",match:n+e.lookahead(":"),relevance:0},V,{begin:"("+t.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[w,t.REGEXP_MODE,{className:"function",begin:$,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:t.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:s,contains:k}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:o.begin,end:o.end},{match:i},{begin:a.begin,"on:begin":a.isTrulyOpeningTag,end:a.end}],subLanguage:"xml",contains:[{begin:a.begin,end:a.end,skip:!0,contains:["self"]}]}]},j,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+t.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[T,t.inherit(t.TITLE_MODE,{begin:n,className:"title.function"})]},{match:/\.\.\./,relevance:0},B,{match:"\\$"+n,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[T]},O,P,D,N,{match:/\$[(.]/}]}}function Kel(t){let e=t.regex,r=Yel(t),n=Nht,o=["any","void","number","boolean","string","object","never","symbol","bigint","unknown"],i={begin:[/namespace/,/\s+/,t.IDENT_RE],beginScope:{1:"keyword",3:"title.class"}},a={beginKeywords:"interface",end:/\{/,excludeEnd:!0,keywords:{keyword:"interface extends",built_in:o},contains:[r.exports.CLASS_REFERENCE]},s={className:"meta",relevance:10,begin:/^\s*['"]use strict['"]/},l=["type","interface","public","private","protected","implements","declare","abstract","readonly","enum","override","satisfies"],u={$pattern:Nht,keyword:w5o.concat(l),literal:C5o,built_in:E5o.concat(o),"variable.language":T5o},f={className:"meta",begin:"@"+n},h=(g,y,b)=>{let w=g.contains.findIndex(C=>C.label===y);if(w===-1)throw new Error("can not find mode to replace");g.contains.splice(w,1,b)};Object.assign(r.keywords,u),r.exports.PARAMS_CONTAINS.push(f);let d=r.contains.find(g=>g.scope==="attr"),p=Object.assign({},d,{match:e.concat(n,e.lookahead(/\s*\?:/))});r.exports.PARAMS_CONTAINS.push([r.exports.CLASS_REFERENCE,d,p]),r.contains=r.contains.concat([f,i,a,p]),h(r,"shebang",t.SHEBANG()),h(r,"use_strict",s);let m=r.contains.find(g=>g.label==="func.def");return m.relevance=0,Object.assign(r,{name:"TypeScript",aliases:["ts","tsx","mts","cts"]}),r}D5o.exports=Kel});var F5o=ut((pzf,M5o)=>{x();function Jel(t){let e=t.regex,r={className:"string",begin:/"(""|[^/n])"C\b/},n={className:"string",begin:/"/,end:/"/,illegal:/\n/,contains:[{begin:/""/}]},o=/\d{1,2}\/\d{1,2}\/\d{4}/,i=/\d{4}-\d{1,2}-\d{1,2}/,a=/(\d|1[012])(:\d+){0,2} *(AM|PM)/,s=/\d{1,2}(:\d{1,2}){1,2}/,l={className:"literal",variants:[{begin:e.concat(/# */,e.either(i,o),/ *#/)},{begin:e.concat(/# */,s,/ *#/)},{begin:e.concat(/# */,a,/ *#/)},{begin:e.concat(/# */,e.either(i,o),/ +/,e.either(a,s),/ *#/)}]},u={className:"number",relevance:0,variants:[{begin:/\b\d[\d_]*((\.[\d_]+(E[+-]?[\d_]+)?)|(E[+-]?[\d_]+))[RFD@!#]?/},{begin:/\b\d[\d_]*((U?[SIL])|[%&])?/},{begin:/&H[\dA-F_]+((U?[SIL])|[%&])?/},{begin:/&O[0-7_]+((U?[SIL])|[%&])?/},{begin:/&B[01_]+((U?[SIL])|[%&])?/}]},f={className:"label",begin:/^\w+:/},h=t.COMMENT(/'''/,/$/,{contains:[{className:"doctag",begin:/<\/?/,end:/>/}]}),d=t.COMMENT(null,/$/,{variants:[{begin:/'/},{begin:/([\t ]|^)REM(?=\s)/}]});return{name:"Visual Basic .NET",aliases:["vb"],case_insensitive:!0,classNameAliases:{label:"symbol"},keywords:{keyword:"addhandler alias aggregate ansi as async assembly auto binary by byref byval call case catch class compare const continue custom declare default delegate dim distinct do each equals else elseif end enum erase error event exit explicit finally for friend from function get global goto group handles if implements imports in inherits interface into iterator join key let lib loop me mid module mustinherit mustoverride mybase myclass namespace narrowing new next notinheritable notoverridable of off on operator option optional order overloads overridable overrides paramarray partial preserve private property protected public raiseevent readonly redim removehandler resume return select set shadows shared skip static step stop structure strict sub synclock take text then throw to try unicode until using when where while widening with withevents writeonly yield",built_in:"addressof and andalso await directcast gettype getxmlnamespace is isfalse isnot istrue like mod nameof new not or orelse trycast typeof xor cbool cbyte cchar cdate cdbl cdec cint clng cobj csbyte cshort csng cstr cuint culng cushort",type:"boolean byte char date decimal double integer long object sbyte short single string uinteger ulong ushort",literal:"true false nothing"},illegal:"//|\\{|\\}|endif|gosub|variant|wend|^\\$ ",contains:[r,n,l,u,f,h,d,{className:"meta",begin:/[\t ]*#(const|disable|else|elseif|enable|end|externalsource|if|region)\b/,end:/$/,keywords:{keyword:"const disable else elseif enable end externalsource if region then"},contains:[d]}]}}M5o.exports=Jel});var L5o=ut((gzf,I5o)=>{x();function Zel(t){t.regex;let e=t.COMMENT(/\(;/,/;\)/);e.contains.push("self");let r=t.COMMENT(/;;/,/$/),n=["anyfunc","block","br","br_if","br_table","call","call_indirect","data","drop","elem","else","end","export","func","global.get","global.set","local.get","local.set","local.tee","get_global","get_local","global","if","import","local","loop","memory","memory.grow","memory.size","module","mut","nop","offset","param","result","return","select","set_global","set_local","start","table","tee_local","then","type","unreachable"],o={begin:[/(?:func|call|call_indirect)/,/\s+/,/\$[^\s)]+/],className:{1:"keyword",3:"title.function"}},i={className:"variable",begin:/\$[\w_]+/},a={match:/(\((?!;)|\))+/,className:"punctuation",relevance:0},s={className:"number",relevance:0,match:/[+-]?\b(?:\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:[eE][+-]?\d(?:_?\d)*)?|0x[\da-fA-F](?:_?[\da-fA-F])*(?:\.[\da-fA-F](?:_?[\da-fA-D])*)?(?:[pP][+-]?\d(?:_?\d)*)?)\b|\binf\b|\bnan(?::0x[\da-fA-F](?:_?[\da-fA-D])*)?\b/},l={match:/(i32|i64|f32|f64)(?!\.)/,className:"type"},u={className:"keyword",match:/\b(f32|f64|i32|i64)(?:\.(?:abs|add|and|ceil|clz|const|convert_[su]\/i(?:32|64)|copysign|ctz|demote\/f64|div(?:_[su])?|eqz?|extend_[su]\/i32|floor|ge(?:_[su])?|gt(?:_[su])?|le(?:_[su])?|load(?:(?:8|16|32)_[su])?|lt(?:_[su])?|max|min|mul|nearest|neg?|or|popcnt|promote\/f32|reinterpret\/[fi](?:32|64)|rem_[su]|rot[lr]|shl|shr_[su]|store(?:8|16|32)?|sqrt|sub|trunc(?:_[su]\/f(?:32|64))?|wrap\/i64|xor))\b/};return{name:"WebAssembly",keywords:{$pattern:/[\w.]+/,keyword:n},contains:[r,e,{match:[/(?:offset|align)/,/\s*/,/=/],className:{1:"keyword",3:"operator"}},i,a,o,t.QUOTE_STRING_MODE,l,u,s]}}I5o.exports=Zel});var P5o=ut((vzf,j5o)=>{x();var qf=XSo();qf.registerLanguage("xml",KSo());qf.registerLanguage("bash",ZSo());qf.registerLanguage("c",eko());qf.registerLanguage("cpp",rko());qf.registerLanguage("csharp",oko());qf.registerLanguage("css",ako());qf.registerLanguage("markdown",lko());qf.registerLanguage("diff",uko());qf.registerLanguage("ruby",hko());qf.registerLanguage("go",pko());qf.registerLanguage("graphql",gko());qf.registerLanguage("ini",vko());qf.registerLanguage("java",wko());qf.registerLanguage("javascript",Eko());qf.registerLanguage("json",Rko());qf.registerLanguage("kotlin",Fko());qf.registerLanguage("less",Pko());qf.registerLanguage("lua",Bko());qf.registerLanguage("makefile",$ko());qf.registerLanguage("perl",Gko());qf.registerLanguage("objectivec",qko());qf.registerLanguage("php",Vko());qf.registerLanguage("php-template",Xko());qf.registerLanguage("plaintext",Kko());qf.registerLanguage("python",Zko());qf.registerLanguage("python-repl",e5o());qf.registerLanguage("r",r5o());qf.registerLanguage("rust",o5o());qf.registerLanguage("scss",a5o());qf.registerLanguage("shell",l5o());qf.registerLanguage("sql",u5o());qf.registerLanguage("swift",A5o());qf.registerLanguage("yaml",x5o());qf.registerLanguage("typescript",R5o());qf.registerLanguage("vbnet",F5o());qf.registerLanguage("wasm",L5o());qf.HighlightJS=qf;qf.default=qf;j5o.exports=qf});var O5o,$ht,Pbr=be(()=>{x();O5o=Wp(P5o(),1),$ht=O5o.default});function B5o(t){let e=t?.codeColors||Qel;function r(a){if(!a)return null;let s=Array.isArray(a)?a:typeof a=="string"?a.split(/\s+/):Array.from(a);for(let l of s){if(!l)continue;let u=l.startsWith("hljs-")?l.slice(5):l;if(!u)continue;let f=u.replace(/-/g,"_"),h=e.colors?.[f];if(h)return h.replace("#","")}return null}function n(a,s,l){if(a==="")return;let u=a.split(`
|
|
3834
|
-
`),f=u.length-1,h=e.foreground,d=l||h;u.forEach((p,m)=>{p.length>0&&s.push(new ld({text:p,color:d})),m<f&&s.push(new ld({text:"",break:1}))})}function o(a,s,l=null){if(l===null&&(l=e.foreground),!a)return;if(a.nodeType===Node.TEXT_NODE){n(a.nodeValue||"",s,l);return}if(a.nodeType!==Node.ELEMENT_NODE)return;let h=r(a.classList)||l||l;a.childNodes.forEach(d=>{o(d,s,h)})}function i(a,s){let l=[];if(!a){let h=e.foreground;return l.push(new ld({text:"",color:h})),l}let u=null;try{s&&$ht.getLanguage(s)?u=$ht.highlight(a,{language:s,ignoreIllegals:!0}):u=null}catch(h){console.warn("Highlight error:",h)}let f=e.foreground;if(u&&u.value){let h=document.createElement("div");h.innerHTML=u.value,o(h,l,f)}return l.length===0&&n(a,l,f),l}return{getHighlightColor:r,appendCodeTextRuns:n,collectHighlightedRuns:o,getHighlightedRunsForCode:i}}var Qel,N5o=be(()=>{"use strict";x();sB();Pbr();Qel={foreground:"24292E",colors:{}}});function $5o(t,e){let r=URL.createObjectURL(t),n=document.createElement("a");n.href=r,n.download=e,n.style.display="none",document.body.appendChild(n),n.click(),setTimeout(()=>{document.body.removeChild(n),URL.revokeObjectURL(r)},100)}async function zht(t,e,r,n){let o=globalThis.platform;if(typeof window<"u"&&window.location?.protocol==="file:"&&o?.platform!=="mobile"){$5o(t,e);return}if(o?.file?.download){await o.file.download(t,e,{mimeType:n||etl,onProgress:r?i=>{r(i.uploaded,i.total)}:void 0});return}$5o(t,e)}var etl,Obr=be(()=>{"use strict";x();etl="application/vnd.openxmlformats-officedocument.wordprocessingml.document"});function z5o({themeStyles:t,convertInlineNodes:e,mergeEmptyCells:r=!1,tableLayout:n="center"}){let o=t.tableTextSpacing,i=Math.max(0,(o?.line??240)-240),a={top:Math.max(0,80-(o?.before??0)),bottom:Math.max(0,80-(o?.after??0)-i),left:100,right:100},s=t.tableStyles||{},l=s.header||{},u=s.cell||{},f=s.borders||{},h=s.zebra,d=r,p=n;function m(w,C){return w.slice(1).map(k=>{let D=(k.children||[]).filter(R=>R.type==="tableCell").map(R=>yyr(R));for(;D.length<C;)D.push("");return D})}async function g(w,C=0,S=0){let k=[],T=w.align||[],D=(w.children||[]).filter(N=>N.type==="tableRow"),R=D.length,M=D[0],j=M?(M.children||[]).filter(N=>N.type==="tableCell").length:0,P=null,L=new Set;if(d&&R>1){let N=m(D,j);if(N.length>0&&N[0].length>0){let $=Wct(N);P=$.mergeInfo,$.analysis&&(L=new Set($.analysis.groupHeaders.rows))}}for(let N=0;N<R;N++){let $=D[N],V=N===0,W=N===R-1,q=N-1;if($.type==="tableRow"){let X=[],ee=($.children||[]).filter(K=>K.type==="tableCell");for(let K=0;K<j;K++){if(!V&&P&&q>=0&&q<P.length){let ye=P[q]?.[K];if(ye&&!ye.shouldRender)continue}if(K>=ee.length){let ye=t.pageBackground||"FFFFFF",Ce={style:cd.SINGLE,size:0,color:ye},Ie={style:cd.NONE,size:0,color:ye},Re=K===0,_e;f.all?_e={top:f.all,bottom:f.all,left:f.all,right:f.all}:_e={top:Ce,bottom:Ce,left:Re?Ce:Ie,right:Ie},!V&&f.insideHorizontal&&f.insideHorizontal.style!==cd.NONE&&(_e={..._e||{},bottom:f.insideHorizontal}),!V&&W&&f.lastRowBottom&&f.lastRowBottom.style!==cd.NONE&&(_e={..._e||{},bottom:f.lastRowBottom});let Ve;if(N>0&&typeof h=="object"){let qe=(N-1)%2===0?h.odd:h.even;qe!=="ffffff"&&qe!=="FFFFFF"&&(Ve={fill:qe})}let Fe={children:[new gu({children:[],style:"TableText"})],verticalAlign:l1r.CENTER,margins:u.margins||a,borders:_e,shading:Ve};X.push(new Mle(Fe));continue}let Q=ee[K],de=V&&l.color?l.color:void 0,pe=V?await e(Q.children||[],de?{color:de}:void 0):await e(Q.children||[]),xe=T[K],se=Hu.LEFT;V?se=Hu.CENTER:xe==="center"?se=Hu.CENTER:xe==="right"&&(se=Hu.RIGHT);let ae={children:pe,style:V?"TableHeader":"TableText",...!V&&se!==Hu.LEFT?{alignment:se}:{}},fe=t.pageBackground||"FFFFFF",ve={style:cd.SINGLE,size:0,color:fe},Me={style:cd.NONE,size:0,color:fe},J=K===0,he;f.all?he={top:f.all,bottom:f.all,left:f.all,right:f.all}:he={top:ve,bottom:ve,left:J?ve:Me,right:Me},V&&f.headerTop&&f.headerTop.style!==cd.NONE&&(he={...he||{},top:f.headerTop}),V&&f.headerBottom&&f.headerBottom.style!==cd.NONE&&(he={...he||{},bottom:f.headerBottom}),!V&&f.insideHorizontal&&f.insideHorizontal.style!==cd.NONE&&(he={...he||{},bottom:f.insideHorizontal});let oe;if(V&&l.shading)oe=l.shading;else if(N>0&&typeof h=="object"){let Ce=(N-1)%2===0?h.odd:h.even;Ce!=="ffffff"&&Ce!=="FFFFFF"&&(oe={fill:Ce})}let Ae,me=!1;if(!V&&P&&q>=0&&q<P.length){let ye=P[q]?.[K];ye&&ye.rowspan>1&&(Ae=ye.rowspan,me=q+ye.rowspan>=P.length)}let ue;if(!V&&P&&q>=0&&q<P.length){let ye=P[q]?.[K];ye&&ye.colspan>1&&(ue=ye.colspan)}!V&&(W||me)&&f.lastRowBottom&&f.lastRowBottom.style!==cd.NONE&&(he={...he||{},bottom:f.lastRowBottom});let te={children:[new gu(ae)],verticalAlign:l1r.CENTER,margins:u.margins||a,borders:he,shading:oe,rowSpan:Ae,columnSpan:ue};X.push(new Mle(te))}k.push(new xut({children:X,tableHeader:V}))}}let O=S>0,B=!O&&C>0?kg(.5*C/2):void 0;return new but({rows:k,layout:Aut.AUTOFIT,alignment:p==="left"?Hu.LEFT:Hu.CENTER,width:O||p==="center-full-width"?{size:100,type:iB.PERCENTAGE}:void 0,indent:B?{size:B,type:iB.DXA}:void 0})}function y(w){d=w}function b(w){p=w}return{convertTable:g,setMergeEmptyCells:y,setTableLayout:b}}var G5o=be(()=>{"use strict";x();sB();vyr()});function ntl(t){let n=t.data?.hProperties?.className;if(!n)return null;let o=Array.isArray(n)?n:[String(n)];for(let i of o){let a=/^markdown-alert-(\w+)$/.exec(i);if(a)return a[1]}return null}function otl(t){let n=t.data?.hProperties?.className;return n?(Array.isArray(n)?n:[String(n)]).includes("markdown-alert-title"):!1}function itl(t,e){let r=parseInt(t.slice(0,2),16),n=parseInt(t.slice(2,4),16),o=parseInt(t.slice(4,6),16),i=parseInt(e.slice(0,2),16),a=parseInt(e.slice(2,4),16),s=parseInt(e.slice(4,6),16),l=Math.round(r*.1+i*.9),u=Math.round(n*.1+a*.9),f=Math.round(o*.1+s*.9);return[l,u,f].map(h=>h.toString(16).padStart(2,"0")).join("")}function H5o({themeStyles:t,convertInlineNodes:e,convertChildNode:r}){let n=t.blockSpacing?.blockquote,o=n?.paddingVertical??80,i=n?.paddingHorizontal??200,a=Math.max(0,Math.round((n?.lineExtra??0)/2)),s={top:o,bottom:Math.max(0,o-a),left:i,right:Math.round(i/2)},l=r;function u(d){l=d}async function f(d,p,m,g=!1){let y=otl(d),b=m&&y?m:void 0,C={children:await e(d.children,b?{color:b}:void 0),style:"BlockquoteText"};if(p){let S=t.paragraphStyles.BlockquoteText?.paragraph?.spacing?.before??0;C.spacing={before:S+a}}return new gu(C)}async function h(d,p=0,m=0){let g=ntl(d),y=g?rtl[g]:void 0,b=y&&t.pageBackground?itl(y,t.pageBackground):void 0,w=[],C=-1;d.children.forEach((N,$)=>{N.type==="paragraph"&&(C=$)});let S=!0;for(let N=0;N<d.children.length;N++){let $=d.children[N];if($.type==="paragraph")w.push(await f($,S,y,N===C)),S=!1;else if($.type==="blockquote"){let V=await h($,p,m+1);w.push(V),S=!1}else if(l){let V=await l($,m+1);V&&(Array.isArray(V)?w.push(...V):w.push(V)),S=!1}}w.length===0&&w.push(new gu({text:""}));let k=y??t.blockquoteColor,T=b??t.blockquoteBackground,D=T||t.pageBackground||"FFFFFF",R=new Mle({children:w,margins:s,borders:{top:{style:cd.SINGLE,size:0,color:D},bottom:{style:cd.SINGLE,size:0,color:D},right:{style:cd.SINGLE,size:0,color:D},left:{style:cd.SINGLE,size:ttl.leftBorderSize,color:k}},...T?{shading:{fill:T}}:{}}),M=new xut({children:[R]}),j=p>0?.5*p:0,P=.2*m,L=j+P,O=m>0;return new but({rows:[M],width:O?{size:100,type:iB.PERCENTAGE}:{size:kg(6.5-j),type:iB.DXA},layout:Aut.FIXED,indent:O?void 0:j>0?{size:kg(j),type:iB.DXA}:void 0})}return{convertBlockquote:h,setConvertChildNode:u}}var ttl,rtl,q5o=be(()=>{"use strict";x();sB();ttl={leftBorderSize:18},rtl={note:"0969da",tip:"1a7f37",important:"8250df",warning:"9a6700",caution:"cf222e"}});function Bbr(t=0){let e=[],r=[Y2.DECIMAL,Y2.LOWER_ROMAN,Y2.LOWER_LETTER,Y2.LOWER_LETTER,Y2.LOWER_LETTER,Y2.LOWER_LETTER,Y2.LOWER_LETTER,Y2.LOWER_LETTER,Y2.LOWER_LETTER],n=.2,o=.34;for(let i=0;i<9;i++)e.push({level:i,format:r[i],text:`%${i+1}.`,alignment:Hu.END,suffix:c1r.SPACE,style:{paragraph:{indent:{left:kg(n+i*o)+t}}}});return e}function Nbr(t=0){let e=[],r=["\u2022","\u25E6","\u25AA","\u2022","\u25E6","\u25AA","\u2022","\u25E6","\u25AA"];for(let i=0;i<9;i++)e.push({level:i,format:_vo.BULLET,text:r[i],alignment:Hu.END,suffix:c1r.SPACE,style:{paragraph:{indent:{left:kg(.2+i*.34)+t}}}});return e}function U5o({convertInlineNodes:t,incrementListInstanceCounter:e}){let r;function n(a){r=a}async function o(a,s=!1){let l=[],u=e();for(let f of a.children){let h=await i(a.ordered??!1,f,0,u,s);h&&l.push(...h)}return l}async function i(a,s,l,u,f=!1){let h=[],d=s.checked!==null&&s.checked!==void 0;for(let p of s.children)if(p.type==="paragraph"){let g=await t(p.children||[]);if(d){let w=s.checked?"\u25A3":"\u2610";g.unshift(new ld({text:w+" "}))}let y={children:g,style:"ListParagraph"},b=a&&!d?new gu({...y,numbering:{reference:f?"blockquote-ordered-list":"default-ordered-list",level:l,instance:u}}):d?new gu({...y,bullet:{level:l}}):new gu({...y,numbering:{reference:f?"blockquote-bullet-list":"default-bullet-list",level:l,instance:u}});h.push(b)}else if(p.type==="list"){let m=p;for(let g of m.children)h.push(...await i(m.ordered??!1,g,l+1,u,f))}else if(r){let m=await r(p,l+1);m&&(Array.isArray(m)?h.push(...m):h.push(m))}return h}return{convertList:o,convertListItem:i,setConvertChildNode:n}}var V5o=be(()=>{"use strict";x();sB()});function wFe(t,e){if(t<=576&&e<=912)return{width:t,height:e};let a=576/t,s=912/e,l=Math.min(a,s);return{width:Math.round(t*l),height:Math.round(e*l)}}function Ght(t,e="diagram"){if(t.type==="empty")return new gu({children:[]});if(t.type==="error")return t.display.inline?new ld({text:t.content.text||"",italics:!0,color:"FF0000"}):new gu({children:[new ld({text:t.content.text||"",italics:!0,color:"FF0000"})],alignment:Hu.LEFT,spacing:{before:240,after:240}});if(t.type==="text"){let r=t.display.inline,n=t.content.text||"";return r?new ld({text:n}):new gu({children:[new ld({text:n})],alignment:Hu.LEFT,spacing:{before:240,after:240}})}if(t.type==="image"){let{data:r,width:n,height:o}=t.content,{inline:i,alignment:a}=t.display,s=Math.round((n||0)/4),l=Math.round((o||0)/4),{width:u,height:f}=wFe(s,l),h=new DJ({data:r,transformation:{width:u,height:f},type:"png",altText:{title:`${e} Image`,description:`${e} image`,name:`${e}-image`}});if(i)return h;let d={center:Hu.CENTER,right:Hu.RIGHT,left:Hu.LEFT};return new gu({children:[h],alignment:d[a||"center"]||Hu.CENTER,spacing:{before:240,after:240}})}return new gu({children:[]})}function Hht(t,e){return t.type!=="image"||t.display.inline?t:{...t,display:{...t.display,alignment:e}}}async function W5o(t,e){return new Promise((r,n)=>{let o=t.slice().buffer,i=new Blob([o],{type:e}),a=URL.createObjectURL(i),s=new Image;s.onload=()=>{URL.revokeObjectURL(a),r({width:s.width,height:s.height})},s.onerror=()=>{URL.revokeObjectURL(a),n(new Error("Failed to load image"))},s.src=a})}function X5o(t,e){let r="png";if(t)t.includes("jpeg")||t.includes("jpg")?r="jpg":t.includes("png")?r="png":t.includes("gif")?r="gif":t.includes("bmp")&&(r="bmp");else if(e){let n=e.toLowerCase().split(".").pop()?.split("?")[0]||"",o={jpg:"jpg",jpeg:"jpg",png:"png",gif:"gif",bmp:"bmp"};n in o&&(r=o[n])}return r}function $br(t,e=null){if(e&&e.includes("svg"))return!0;let r=t.toLowerCase();return r.endsWith(".svg")||r.includes("image/svg+xml")}async function Y5o(t,e){let r=await e.render("svg",t,{outputFormat:"png"}),n=atob(r.base64),o=n.length,i=new Uint8Array(o);for(let a=0;a<o;a++)i[a]=n.charCodeAt(a);return{buffer:i,width:r.width,height:r.height}}async function K5o(t,e){if(t.startsWith("data:image/svg+xml")){let n=t.match(/^data:image\/svg\+xml;base64,(.+)$/);if(n)return atob(n[1]);let o=t.match(/^data:image\/svg\+xml[;,](.+)$/);if(o)return decodeURIComponent(o[1]);throw new Error("Unsupported SVG data URL format")}let{buffer:r}=await e(t);return new TextDecoder().decode(r)}var zbr=be(()=>{"use strict";x();sB()});function atl(t,e){let r=e.default.run.size,n=e.characterStyles.code.size;return!t.size||r<=0?n:Math.max(1,Math.round(t.size*n/r))}function stl(t="windows"){return t==="system"?J5o.windows:J5o[t]}function ltl(t){let e=[],r=0;Z5o.lastIndex=0;let n;for(;(n=Z5o.exec(t))!==null;)n.index>r&&e.push({type:"text",content:t.slice(r,n.index)}),e.push({type:"emoji",content:n[0]}),r=n.index+n[0].length;return r<t.length&&e.push({type:"text",content:t.slice(r)}),e}function Q5o({themeStyles:t,fetchImageAsBuffer:e,reportResourceProgress:r,linkDefinitions:n,renderer:o,emojiStyle:i="system",linkColor:a="0366D6",imageLayout:s="left",diagramLayout:l="center"}){let u=i==="system"?null:stl(i);function f(D){return D.replace(/\uFE0F/g,"")}function h(D,R){if(u===null)return new ld({text:D,...R});let M=ltl(D);if(M.length===1&&M[0].type==="text")return new ld({text:D,...R});if(M.length===1&&M[0].type==="emoji"){let j=f(D);return new ld({text:j,...R,font:u})}return M.map(j=>{if(j.type==="emoji"){let P=f(j.content);return new ld({text:P,...R,font:u})}return new ld({text:j.content,...R})})}async function d(D,R={}){let M=[],j={...R};for(let P of D){let L=await p(P,j);L&&(Array.isArray(L)?M.push(...L):M.push(L))}return M}async function p(D,R={}){switch(D.type){case"text":return h(D.value,R);case"strong":return await d(D.children,{...R,bold:!0});case"emphasis":return await d(D.children,{...R,italics:!0});case"delete":return await d(D.children,{...R,strike:!0});case"superscript":return await d(D.children,{...R,superScript:!0});case"subscript":return await d(D.children,{...R,subScript:!0});case"inlineCode":{let M=t.characterStyles.code;return new ld({...R,text:D.value,font:M.font,size:atl(R,t),shading:{fill:M.background}})}case"link":return await m(D,R);case"linkReference":return await g(D,R);case"image":return await y(D);case"inlineMath":return await C(D,R);case"break":return new ld({text:"",break:1});case"html":{let M=D.value?.trim()||"";if(/^<br\s*\/?>$/i.test(M))return new ld({text:"",break:1});let j=M.replace(/<[^>]+>/g,"");return h(j,R)}default:return null}}async function m(D,R){let M=D.url||"#",j=D.children?.find(B=>B.type==="image");if(j)return await y(j);let P=S(D),L={...R,style:"Hyperlink",color:a,underline:{type:"single",color:a}},O=h(P,L);return new xMe({children:Array.isArray(O)?O:[O],link:M})}async function g(D,R){let M=S(D),j=D.identifier.toLowerCase(),L=n?.get(j)?.url||"#",O={...R,style:"Hyperlink",color:a,underline:{type:"single",color:a}},B=h(M,O);return new xMe({children:Array.isArray(B)?B:[B],link:L})}async function y(D){try{if($br(D.url))return await b(D.url,D.alt);let{buffer:M,contentType:j}=await e(D.url);if(j&&j.includes("svg")){let $=new TextDecoder().decode(M);return await w($,D.alt)}let{width:P,height:L}=await W5o(M,j),{width:O,height:B}=wFe(P,L),N=X5o(j,D.url);return r(),new DJ({data:M,transformation:{width:O,height:B},type:N,altText:{title:D.alt||"Image",description:D.alt||"",name:D.alt||"image"}})}catch(R){return console.warn("[DOCX] Failed to load image:",D.url,R),r(),new ld({text:`[\u56FE\u7247\u52A0\u8F7D\u5931\u8D25: ${D.alt||D.url}]`,italics:!0,color:"DC2626",bold:!0})}}async function b(D,R){try{if(L4(D)){if(!o)return r(),new ld({text:"[SVG \u56FE\u7247 - \u6E32\u67D3\u5668\u4E0D\u53EF\u7528]",italics:!0,color:"666666"});let j=await o.render("svg",D,{outputFormat:"png"}),P=atob(j.base64),L=new Uint8Array(P.length);for(let V=0;V<P.length;V++)L[V]=P.charCodeAt(V);let O=Math.round(j.width/4),B=Math.round(j.height/4),{width:N,height:$}=wFe(O,B);return r(),new DJ({data:L,transformation:{width:N,height:$},type:"png",altText:{title:R||"SVG Image",description:R||"SVG image",name:R||"svg-image"}})}let M=await K5o(D,e);return await w(M,R)}catch(M){return console.warn("[DOCX] Failed to load SVG image:",D,M),r(),new ld({text:`[SVG \u56FE\u7247\u52A0\u8F7D\u5931\u8D25: ${R||D}]`,italics:!0,color:"DC2626"})}}async function w(D,R){if(!o)return r(),new ld({text:"[SVG \u56FE\u7247 - \u6E32\u67D3\u5668\u4E0D\u53EF\u7528]",italics:!0,color:"666666"});try{let{buffer:M,width:j,height:P}=await Y5o(D,o),L=Math.round(j/4),O=Math.round(P/4),{width:B,height:N}=wFe(L,O);return r(),new DJ({data:M,transformation:{width:B,height:N},type:"png",altText:{title:R||"SVG Image",description:R||"SVG image",name:R||"svg-image"}})}catch(M){return console.warn("Failed to render SVG:",M),r(),new ld({text:`[SVG \u6E32\u67D3\u5931\u8D25: ${M.message}]`,italics:!0,color:"FF0000"})}}async function C(D,R){try{return Cht(D.value)}catch(M){console.warn("Inline math conversion error:",M);let j=t.characterStyles.code;return new ld({text:D.value,font:j.font,size:j.size,...R})}}function S(D){if("value"in D&&D.value)return D.value;if("children"in D&&D.children){let R="";for(let M of D.children)R+=S(M);return R}return""}function k(D){return D.type==="image"}function T(D){return D.type==="image"&&$br(D.url)}return{convertInlineNodes:d,convertInlineNode:p,convertImage:y,isBlockImageNode:k,isBlockDiagramNode:T,extractText:S}}var J5o,Z5o,eTo=be(()=>{"use strict";x();sB();Cbr();UO();zbr();J5o={apple:{ascii:"Apple Color Emoji",eastAsia:"Apple Color Emoji",hAnsi:"Apple Color Emoji",cs:"Apple Color Emoji"},windows:{ascii:"Segoe UI Emoji",eastAsia:"Segoe UI Emoji",hAnsi:"Segoe UI Emoji",cs:"Segoe UI Emoji"}};Z5o=new RegExp("(?:\\p{RI}\\p{RI}|[#*0-9]\\u{FE0F}?\\u{20E3}|\\p{Extended_Pictographic}(?:\\p{Emoji_Modifier}|\\u{FE0F}|[\\u{E0020}-\\u{E007E}]+\\u{E007F})?(?:\\u{200D}(?:\\p{Extended_Pictographic}(?:\\p{Emoji_Modifier}|\\u{FE0F}|[\\u{E0020}-\\u{E007E}]+\\u{E007F})?|[#*0-9]\\u{FE0F}?\\u{20E3}))*)","gu")});var Hbr={};Ga(Hbr,{convertPluginResultToDOCX:()=>Ght,default:()=>ctl,withBlockImageAlignment:()=>Hht});var Gbr,ctl,qht=be(()=>{"use strict";x();sB();Cbr();Upr();y0r();v0r();C0r();fmr();mmr();ymr();vmr();Amr();_ht();j4();CSo();kht();Sht();Tht();Ubr();N5o();Obr();G5o();q5o();V5o();eTo();Rpr();zbr();Gbr=class{constructor(e=null){this.imageCache=new Map;this.listInstanceCounter=0;this.mathJaxInitialized=!1;this.baseUrl=null;this.themeStyles=null;this.codeHighlighter=null;this.linkDefinitions=new Map;this.progressCallback=null;this.totalResources=0;this.processedResources=0;this.docxHrDisplay="hide";this.docxEmojiStyle="windows";this.frontmatterDisplay="hide";this.tableMergeEmpty=!0;this.tableLayout="center";this.imageLayout="left";this.diagramLayout="center";this.firstLineIndent=0;this.tableConverter=null;this.blockquoteConverter=null;this.listConverter=null;this.inlineConverter=null;this.frontmatterContent=null;this.renderer=e,this.resourceEmbedder=new KAe}setBaseUrl(e){this.baseUrl=e;let r=this.getDocumentService();if(r){let n=e.startsWith("file://")?e.replace("file://",""):e;r.setDocumentPath(n),this.resourceEmbedder.setDocumentService(r)}}getDocumentService(){return globalThis.platform?.document}async initializeMathJax(){this.mathJaxInitialized||(await bSo(),this.mathJaxInitialized=!0)}initializeConverters(){if(!this.themeStyles)return;let e=this.renderer?{render:async(r,n)=>{let o=await this.renderer.render(r,n);if(!o)throw new Error("Renderer returned empty result");let{base64:i,width:a,height:s,format:l}=o;if(typeof i!="string"||i.length===0)throw new Error("Renderer returned empty base64");if(typeof a!="number"||typeof s!="number")throw new Error("Renderer returned invalid dimensions");if(typeof l!="string"||l.length===0)throw new Error("Renderer returned empty format");return{base64:i,width:a,height:s,format:l}}}:null;this.inlineConverter=Q5o({themeStyles:this.themeStyles,fetchImageAsBuffer:r=>this.fetchImageAsBuffer(r),reportResourceProgress:()=>this.reportResourceProgress(),linkDefinitions:this.linkDefinitions,renderer:e,emojiStyle:this.docxEmojiStyle,linkColor:this.themeStyles.linkColor,imageLayout:this.imageLayout,diagramLayout:this.diagramLayout}),this.tableConverter=z5o({themeStyles:this.themeStyles,convertInlineNodes:(r,n)=>this.inlineConverter.convertInlineNodes(r,n),mergeEmptyCells:this.tableMergeEmpty,tableLayout:this.tableLayout}),this.blockquoteConverter=H5o({themeStyles:this.themeStyles,convertInlineNodes:(r,n)=>this.inlineConverter.convertInlineNodes(r,n)}),this.blockquoteConverter.setConvertChildNode((r,n)=>this.convertNode(r,{},0,n)),this.listConverter=U5o({convertInlineNodes:(r,n)=>this.inlineConverter.convertInlineNodes(r,n),incrementListInstanceCounter:()=>this.listInstanceCounter++}),this.listConverter.setConvertChildNode((r,n)=>this.convertNode(r,{},n))}async exportToDocx(e,r="document.docx",n=null){try{this.setBaseUrl(window.location.href);try{let w=globalThis.platform?.settings;if(w){let[C,S,k,T,D,R,M,j]=await Promise.all([w.get("docxHrDisplay"),w.get("docxEmojiStyle"),w.get("frontmatterDisplay"),w.get("tableMergeEmpty"),w.get("tableLayout"),w.get("imageLayout"),w.get("diagramLayout"),w.get("firstLineIndent")]);this.docxHrDisplay=C,this.docxEmojiStyle=S,this.frontmatterDisplay=k,this.tableMergeEmpty=T,this.tableLayout=D||"center",this.imageLayout=R==="center"?"center":"left",this.diagramLayout=M==="left"?"left":"center",this.firstLineIndent=typeof j=="number"?j:0}else this.docxHrDisplay="hide",this.frontmatterDisplay="hide",this.tableMergeEmpty=!0,this.tableLayout="center",this.imageLayout="left",this.diagramLayout="center"}catch{this.docxHrDisplay="hide",this.frontmatterDisplay="hide",this.tableMergeEmpty=!0,this.tableLayout="center",this.imageLayout="left",this.diagramLayout="center"}let o=await yh.loadSelectedTheme();if(this.themeStyles=await wSo(o),!this.themeStyles)throw new Error("Failed to load DOCX theme");this.codeHighlighter=B5o(this.themeStyles),this.progressCallback=n,this.totalResources=0,this.processedResources=0,await this.initializeMathJax();let i=this.parseMarkdown(e);this.totalResources=this.countResources(i),n&&n(0,100),this.initializeConverters();let a=performance.now(),s=await this.convertAstToDocx(i),l=performance.now()-a,u=Object.values(this.themeStyles.paragraphStyles).map(w=>({id:w.id,...this.toParagraphStyle(w)})),f={default:{document:this.toDocumentDefaults(this.themeStyles.default)},paragraphStyles:u},h=0;if(this.themeStyles?.firstLineIndentEnabled&&this.firstLineIndent>0){let S=this.themeStyles.default.run.size/2*20;h=Math.round(this.firstLineIndent*S)}let d=new oAo({creator:"Markdown Viewer Extension",lastModifiedBy:"Markdown Viewer Extension",...this.themeStyles?.pageBackground?{background:{color:this.themeStyles.pageBackground}}:{},numbering:{config:[{reference:"default-ordered-list",levels:Bbr(h)},{reference:"default-bullet-list",levels:Nbr(h)},{reference:"blockquote-ordered-list",levels:Bbr(0)},{reference:"blockquote-bullet-list",levels:Nbr(0)}]},styles:f,sections:[{properties:{page:{margin:{top:kg(1),right:kg(1),bottom:kg(1),left:kg(1)}}},children:s}]}),p=l*1.8,m=performance.now(),g=30,y=n?setInterval(()=>{let w=performance.now()-m,C=Math.min(84,30+w/p*55);C>g&&(g=Math.round(C),n(g,100))},100):null,b=await h1r.toBlob(d);return y&&clearInterval(y),n&&n(85,100),await zht(b,r,n?(w,C)=>{let S=C>0?w/C:1,k=85+Math.round(S*15);n(k,100)}:void 0),{success:!0}}catch(o){let i=o instanceof Error?o.message:String(o),a=o instanceof Error?o.stack:"";return this.imageCache.clear(),console.error("DOCX export error:",i,a),{success:!1,error:i}}finally{this.progressCallback=null,this.totalResources=0,this.processedResources=0}}countResources(e){let r=0,n=o=>{o.type==="image"&&r++,qbr(o)&&r++,o.children&&o.children.forEach(n)};return e.children&&e.children.forEach(n),r}reportResourceProgress(){if(this.processedResources++,this.progressCallback&&this.totalResources>0){let e=this.processedResources/this.totalResources,r=Math.round(e*30);this.progressCallback(r,100)}}extractFrontmatter(e){let r=e.split(`
|
|
3834
|
+
`),f=u.length-1,h=e.foreground,d=l||h;u.forEach((p,m)=>{p.length>0&&s.push(new ld({text:p,color:d})),m<f&&s.push(new ld({text:"",break:1}))})}function o(a,s,l=null){if(l===null&&(l=e.foreground),!a)return;if(a.nodeType===Node.TEXT_NODE){n(a.nodeValue||"",s,l);return}if(a.nodeType!==Node.ELEMENT_NODE)return;let h=r(a.classList)||l||l;a.childNodes.forEach(d=>{o(d,s,h)})}function i(a,s){let l=[];if(!a){let h=e.foreground;return l.push(new ld({text:"",color:h})),l}let u=null;try{s&&$ht.getLanguage(s)?u=$ht.highlight(a,{language:s,ignoreIllegals:!0}):u=null}catch(h){console.warn("Highlight error:",h)}let f=e.foreground;if(u&&u.value){let h=document.createElement("div");h.innerHTML=u.value,o(h,l,f)}return l.length===0&&n(a,l,f),l}return{getHighlightColor:r,appendCodeTextRuns:n,collectHighlightedRuns:o,getHighlightedRunsForCode:i}}var Qel,N5o=be(()=>{"use strict";x();sB();Pbr();Qel={foreground:"24292E",colors:{}}});function $5o(t,e){let r=URL.createObjectURL(t),n=document.createElement("a");n.href=r,n.download=e,n.style.display="none",document.body.appendChild(n),n.click(),setTimeout(()=>{document.body.removeChild(n),URL.revokeObjectURL(r)},100)}async function zht(t,e,r,n){let o=globalThis.platform;if(typeof window<"u"&&window.location?.protocol==="file:"&&o?.platform!=="mobile"){$5o(t,e);return}if(o?.file?.download){await o.file.download(t,e,{mimeType:n||etl,onProgress:r?i=>{r(i.uploaded,i.total)}:void 0});return}$5o(t,e)}var etl,Obr=be(()=>{"use strict";x();etl="application/vnd.openxmlformats-officedocument.wordprocessingml.document"});function z5o({themeStyles:t,convertInlineNodes:e,mergeEmptyCells:r=!1,tableLayout:n="center"}){let o=t.tableTextSpacing,i=Math.max(0,(o?.line??240)-240),a={top:Math.max(0,80-(o?.before??0)),bottom:Math.max(0,80-(o?.after??0)-i),left:100,right:100},s=t.tableStyles||{},l=s.header||{},u=s.cell||{},f=s.borders||{},h=s.zebra,d=r,p=n;function m(w,C){return w.slice(1).map(k=>{let D=(k.children||[]).filter(R=>R.type==="tableCell").map(R=>yyr(R));for(;D.length<C;)D.push("");return D})}async function g(w,C=0,S=0){let k=[],T=w.align||[],D=(w.children||[]).filter(N=>N.type==="tableRow"),R=D.length,M=D[0],j=M?(M.children||[]).filter(N=>N.type==="tableCell").length:0,P=null,L=new Set;if(d&&R>1){let N=m(D,j);if(N.length>0&&N[0].length>0){let $=Wct(N);P=$.mergeInfo,$.analysis&&(L=new Set($.analysis.groupHeaders.rows))}}for(let N=0;N<R;N++){let $=D[N],V=N===0,W=N===R-1,q=N-1;if($.type==="tableRow"){let X=[],ee=($.children||[]).filter(K=>K.type==="tableCell");for(let K=0;K<j;K++){if(!V&&P&&q>=0&&q<P.length){let ye=P[q]?.[K];if(ye&&!ye.shouldRender)continue}if(K>=ee.length){let ye=t.pageBackground||"FFFFFF",Ce={style:cd.SINGLE,size:0,color:ye},Ie={style:cd.NONE,size:0,color:ye},Re=K===0,_e;f.all?_e={top:f.all,bottom:f.all,left:f.all,right:f.all}:_e={top:Ce,bottom:Ce,left:Re?Ce:Ie,right:Ie},!V&&f.insideHorizontal&&f.insideHorizontal.style!==cd.NONE&&(_e={..._e||{},bottom:f.insideHorizontal}),!V&&W&&f.lastRowBottom&&f.lastRowBottom.style!==cd.NONE&&(_e={..._e||{},bottom:f.lastRowBottom});let Ve;if(N>0&&typeof h=="object"){let qe=(N-1)%2===0?h.odd:h.even;qe!=="ffffff"&&qe!=="FFFFFF"&&(Ve={fill:qe})}let Fe={children:[new gu({children:[],style:"TableText"})],verticalAlign:l1r.CENTER,margins:u.margins||a,borders:_e,shading:Ve};X.push(new Mle(Fe));continue}let Q=ee[K],de=V&&l.color?l.color:void 0,pe=V?await e(Q.children||[],de?{color:de}:void 0):await e(Q.children||[]),xe=T[K],se=Hu.LEFT;V?se=Hu.CENTER:xe==="center"?se=Hu.CENTER:xe==="right"&&(se=Hu.RIGHT);let ae={children:pe,style:V?"TableHeader":"TableText",...!V&&se!==Hu.LEFT?{alignment:se}:{}},fe=t.pageBackground||"FFFFFF",ve={style:cd.SINGLE,size:0,color:fe},Me={style:cd.NONE,size:0,color:fe},J=K===0,he;f.all?he={top:f.all,bottom:f.all,left:f.all,right:f.all}:he={top:ve,bottom:ve,left:J?ve:Me,right:Me},V&&f.headerTop&&f.headerTop.style!==cd.NONE&&(he={...he||{},top:f.headerTop}),V&&f.headerBottom&&f.headerBottom.style!==cd.NONE&&(he={...he||{},bottom:f.headerBottom}),!V&&f.insideHorizontal&&f.insideHorizontal.style!==cd.NONE&&(he={...he||{},bottom:f.insideHorizontal});let oe;if(V&&l.shading)oe=l.shading;else if(N>0&&typeof h=="object"){let Ce=(N-1)%2===0?h.odd:h.even;Ce!=="ffffff"&&Ce!=="FFFFFF"&&(oe={fill:Ce})}let Ae,me=!1;if(!V&&P&&q>=0&&q<P.length){let ye=P[q]?.[K];ye&&ye.rowspan>1&&(Ae=ye.rowspan,me=q+ye.rowspan>=P.length)}let ue;if(!V&&P&&q>=0&&q<P.length){let ye=P[q]?.[K];ye&&ye.colspan>1&&(ue=ye.colspan)}!V&&(W||me)&&f.lastRowBottom&&f.lastRowBottom.style!==cd.NONE&&(he={...he||{},bottom:f.lastRowBottom});let te={children:[new gu(ae)],verticalAlign:l1r.CENTER,margins:u.margins||a,borders:he,shading:oe,rowSpan:Ae,columnSpan:ue};X.push(new Mle(te))}k.push(new xut({children:X,tableHeader:V}))}}let O=S>0,B=!O&&C>0?kg(.5*C/2):void 0;return new but({rows:k,layout:Aut.AUTOFIT,alignment:p==="left"?Hu.LEFT:Hu.CENTER,width:O||p==="center-full-width"?{size:100,type:iB.PERCENTAGE}:void 0,indent:B?{size:B,type:iB.DXA}:void 0})}function y(w){d=w}function b(w){p=w}return{convertTable:g,setMergeEmptyCells:y,setTableLayout:b}}var G5o=be(()=>{"use strict";x();sB();vyr()});function ntl(t){let n=t.data?.hProperties?.className;if(!n)return null;let o=Array.isArray(n)?n:[String(n)];for(let i of o){let a=/^markdown-alert-(\w+)$/.exec(i);if(a)return a[1]}return null}function otl(t){let n=t.data?.hProperties?.className;return n?(Array.isArray(n)?n:[String(n)]).includes("markdown-alert-title"):!1}function itl(t,e){let r=parseInt(t.slice(0,2),16),n=parseInt(t.slice(2,4),16),o=parseInt(t.slice(4,6),16),i=parseInt(e.slice(0,2),16),a=parseInt(e.slice(2,4),16),s=parseInt(e.slice(4,6),16),l=Math.round(r*.1+i*.9),u=Math.round(n*.1+a*.9),f=Math.round(o*.1+s*.9);return[l,u,f].map(h=>h.toString(16).padStart(2,"0")).join("")}function H5o({themeStyles:t,convertInlineNodes:e,convertChildNode:r}){let n=t.blockSpacing?.blockquote,o=n?.paddingVertical??80,i=n?.paddingHorizontal??200,a=Math.max(0,Math.round((n?.lineExtra??0)/2)),s={top:o,bottom:Math.max(0,o-a),left:i,right:Math.round(i/2)},l=r;function u(d){l=d}async function f(d,p,m,g=!1){let y=otl(d),b=m&&y?m:void 0,C={children:await e(d.children,b?{color:b}:void 0),style:"BlockquoteText"};if(p){let S=t.paragraphStyles.BlockquoteText?.paragraph?.spacing?.before??0;C.spacing={before:S+a}}return new gu(C)}async function h(d,p=0,m=0){let g=ntl(d),y=g?rtl[g]:void 0,b=y&&t.pageBackground?itl(y,t.pageBackground):void 0,w=[],C=-1;d.children.forEach((N,$)=>{N.type==="paragraph"&&(C=$)});let S=!0;for(let N=0;N<d.children.length;N++){let $=d.children[N];if($.type==="paragraph")w.push(await f($,S,y,N===C)),S=!1;else if($.type==="blockquote"){let V=await h($,p,m+1);w.push(V),S=!1}else if(l){let V=await l($,m+1);V&&(Array.isArray(V)?w.push(...V):w.push(V)),S=!1}}w.length===0&&w.push(new gu({text:""}));let k=y??t.blockquoteColor,T=b??t.blockquoteBackground,D=T||t.pageBackground||"FFFFFF",R=new Mle({children:w,margins:s,borders:{top:{style:cd.SINGLE,size:0,color:D},bottom:{style:cd.SINGLE,size:0,color:D},right:{style:cd.SINGLE,size:0,color:D},left:{style:cd.SINGLE,size:ttl.leftBorderSize,color:k}},...T?{shading:{fill:T}}:{}}),M=new xut({children:[R]}),j=p>0?.5*p:0,P=.2*m,L=j+P,O=m>0;return new but({rows:[M],width:O?{size:100,type:iB.PERCENTAGE}:{size:kg(6.5-j),type:iB.DXA},layout:Aut.FIXED,indent:O?void 0:j>0?{size:kg(j),type:iB.DXA}:void 0})}return{convertBlockquote:h,setConvertChildNode:u}}var ttl,rtl,q5o=be(()=>{"use strict";x();sB();ttl={leftBorderSize:18},rtl={note:"0969da",tip:"1a7f37",important:"8250df",warning:"9a6700",caution:"cf222e"}});function Bbr(t=0){let e=[],r=[Y2.DECIMAL,Y2.LOWER_ROMAN,Y2.LOWER_LETTER,Y2.LOWER_LETTER,Y2.LOWER_LETTER,Y2.LOWER_LETTER,Y2.LOWER_LETTER,Y2.LOWER_LETTER,Y2.LOWER_LETTER],n=.2,o=.34;for(let i=0;i<9;i++)e.push({level:i,format:r[i],text:`%${i+1}.`,alignment:Hu.END,suffix:c1r.SPACE,style:{paragraph:{indent:{left:kg(n+i*o)+t}}}});return e}function Nbr(t=0){let e=[],r=["\u2022","\u25E6","\u25AA","\u2022","\u25E6","\u25AA","\u2022","\u25E6","\u25AA"];for(let i=0;i<9;i++)e.push({level:i,format:_vo.BULLET,text:r[i],alignment:Hu.END,suffix:c1r.SPACE,style:{paragraph:{indent:{left:kg(.2+i*.34)+t}}}});return e}function U5o({convertInlineNodes:t,incrementListInstanceCounter:e}){let r;function n(a){r=a}async function o(a,s=!1){let l=[],u=e();for(let f of a.children){let h=await i(a.ordered??!1,f,0,u,s);h&&l.push(...h)}return l}async function i(a,s,l,u,f=!1){let h=[],d=s.checked!==null&&s.checked!==void 0;for(let p of s.children)if(p.type==="paragraph"){let g=await t(p.children||[]);if(d){let w=s.checked?"\u25A3":"\u2610";g.unshift(new ld({text:w+" "}))}let y={children:g,style:"ListParagraph"},b=a&&!d?new gu({...y,numbering:{reference:f?"blockquote-ordered-list":"default-ordered-list",level:l,instance:u}}):d?new gu({...y,bullet:{level:l}}):new gu({...y,numbering:{reference:f?"blockquote-bullet-list":"default-bullet-list",level:l,instance:u}});h.push(b)}else if(p.type==="list"){let m=p;for(let g of m.children)h.push(...await i(m.ordered??!1,g,l+1,u,f))}else if(r){let m=await r(p,l+1);m&&(Array.isArray(m)?h.push(...m):h.push(m))}return h}return{convertList:o,convertListItem:i,setConvertChildNode:n}}var V5o=be(()=>{"use strict";x();sB()});function wFe(t,e){if(t<=576&&e<=912)return{width:t,height:e};let a=576/t,s=912/e,l=Math.min(a,s);return{width:Math.round(t*l),height:Math.round(e*l)}}function Ght(t,e="diagram"){if(t.type==="empty")return new gu({children:[]});if(t.type==="error")return t.display.inline?new ld({text:t.content.text||"",italics:!0,color:"FF0000"}):new gu({children:[new ld({text:t.content.text||"",italics:!0,color:"FF0000"})],alignment:Hu.LEFT,spacing:{before:240,after:240}});if(t.type==="text"){let r=t.display.inline,n=t.content.text||"";return r?new ld({text:n}):new gu({children:[new ld({text:n})],alignment:Hu.LEFT,spacing:{before:240,after:240}})}if(t.type==="image"){let{data:r,width:n,height:o}=t.content,{inline:i,alignment:a}=t.display,s=Math.round((n||0)/4),l=Math.round((o||0)/4),{width:u,height:f}=wFe(s,l),h=new DJ({data:r,transformation:{width:u,height:f},type:"png",altText:{title:`${e} Image`,description:`${e} image`,name:`${e}-image`}});if(i)return h;let d={center:Hu.CENTER,right:Hu.RIGHT,left:Hu.LEFT};return new gu({children:[h],alignment:d[a||"center"]||Hu.CENTER,spacing:{before:240,after:240}})}return new gu({children:[]})}function Hht(t,e){return t.type!=="image"||t.display.inline?t:{...t,display:{...t.display,alignment:e}}}async function W5o(t,e){return new Promise((r,n)=>{let o=t.slice().buffer,i=new Blob([o],{type:e}),a=URL.createObjectURL(i),s=new Image;s.onload=()=>{URL.revokeObjectURL(a),r({width:s.width,height:s.height})},s.onerror=()=>{URL.revokeObjectURL(a),n(new Error("Failed to load image"))},s.src=a})}function X5o(t,e){let r="png";if(t)t.includes("jpeg")||t.includes("jpg")?r="jpg":t.includes("png")?r="png":t.includes("gif")?r="gif":t.includes("bmp")&&(r="bmp");else if(e){let n=e.toLowerCase().split(".").pop()?.split("?")[0]||"",o={jpg:"jpg",jpeg:"jpg",png:"png",gif:"gif",bmp:"bmp"};n in o&&(r=o[n])}return r}function $br(t,e=null){if(e&&e.includes("svg"))return!0;let r=t.toLowerCase();return r.endsWith(".svg")||r.includes("image/svg+xml")}async function Y5o(t,e){let r=await e.render("svg",t,{outputFormat:"png"}),n=atob(r.base64),o=n.length,i=new Uint8Array(o);for(let a=0;a<o;a++)i[a]=n.charCodeAt(a);return{buffer:i,width:r.width,height:r.height}}async function K5o(t,e){if(t.startsWith("data:image/svg+xml")){let n=t.match(/^data:image\/svg\+xml;base64,(.+)$/);if(n)return atob(n[1]);let o=t.match(/^data:image\/svg\+xml[;,](.+)$/);if(o)return decodeURIComponent(o[1]);throw new Error("Unsupported SVG data URL format")}let{buffer:r}=await e(t);return new TextDecoder().decode(r)}var zbr=be(()=>{"use strict";x();sB()});function atl(t,e){let r=e.default.run.size,n=e.characterStyles.code.size;return!t.size||r<=0?n:Math.max(1,Math.round(t.size*n/r))}function stl(t="windows"){return t==="system"?J5o.windows:J5o[t]}function ltl(t){let e=[],r=0;Z5o.lastIndex=0;let n;for(;(n=Z5o.exec(t))!==null;)n.index>r&&e.push({type:"text",content:t.slice(r,n.index)}),e.push({type:"emoji",content:n[0]}),r=n.index+n[0].length;return r<t.length&&e.push({type:"text",content:t.slice(r)}),e}function Q5o({themeStyles:t,fetchImageAsBuffer:e,reportResourceProgress:r,linkDefinitions:n,renderer:o,emojiStyle:i="system",linkColor:a="0366D6",imageLayout:s="left",diagramLayout:l="center"}){let u=i==="system"?null:stl(i);function f(D){return D.replace(/\uFE0F/g,"")}function h(D,R){if(u===null)return new ld({text:D,...R});let M=ltl(D);if(M.length===1&&M[0].type==="text")return new ld({text:D,...R});if(M.length===1&&M[0].type==="emoji"){let j=f(D);return new ld({text:j,...R,font:u})}return M.map(j=>{if(j.type==="emoji"){let P=f(j.content);return new ld({text:P,...R,font:u})}return new ld({text:j.content,...R})})}async function d(D,R={}){let M=[],j={...R};for(let P of D){let L=await p(P,j);L&&(Array.isArray(L)?M.push(...L):M.push(L))}return M}async function p(D,R={}){switch(D.type){case"text":return h(D.value,R);case"strong":return await d(D.children,{...R,bold:!0});case"emphasis":return await d(D.children,{...R,italics:!0});case"delete":return await d(D.children,{...R,strike:!0});case"superscript":return await d(D.children,{...R,superScript:!0});case"subscript":return await d(D.children,{...R,subScript:!0});case"inlineCode":{let M=t.characterStyles.code;return new ld({...R,text:D.value,font:M.font,size:atl(R,t),shading:{fill:M.background}})}case"link":return await m(D,R);case"linkReference":return await g(D,R);case"image":return await y(D);case"inlineMath":return await C(D,R);case"break":return new ld({text:"",break:1});case"html":{let M=D.value?.trim()||"";if(/^<br\s*\/?>$/i.test(M))return new ld({text:"",break:1});let j=M.replace(/<[^>]+>/g,"");return h(j,R)}default:return null}}async function m(D,R){let M=D.url||"#",j=D.children?.find(B=>B.type==="image");if(j)return await y(j);let P=S(D),L={...R,style:"Hyperlink",color:a,underline:{type:"single",color:a}},O=h(P,L);return new xMe({children:Array.isArray(O)?O:[O],link:M})}async function g(D,R){let M=S(D),j=D.identifier.toLowerCase(),L=n?.get(j)?.url||"#",O={...R,style:"Hyperlink",color:a,underline:{type:"single",color:a}},B=h(M,O);return new xMe({children:Array.isArray(B)?B:[B],link:L})}async function y(D){try{if($br(D.url))return await b(D.url,D.alt);let{buffer:M,contentType:j}=await e(D.url);if(j&&j.includes("svg")){let $=new TextDecoder().decode(M);return await w($,D.alt)}let{width:P,height:L}=await W5o(M,j),{width:O,height:B}=wFe(P,L),N=X5o(j,D.url);return r(),new DJ({data:M,transformation:{width:O,height:B},type:N,altText:{title:D.alt||"Image",description:D.alt||"",name:D.alt||"image"}})}catch(R){return console.warn(`[DOCX] Failed to load image: ${D.url} \u2014 ${R.message}`),r(),new ld({text:`[\u56FE\u7247\u52A0\u8F7D\u5931\u8D25: ${D.alt||D.url}]`,italics:!0,color:"DC2626",bold:!0})}}async function b(D,R){try{if(L4(D)){if(!o)return r(),new ld({text:"[SVG \u56FE\u7247 - \u6E32\u67D3\u5668\u4E0D\u53EF\u7528]",italics:!0,color:"666666"});let j=await o.render("svg",D,{outputFormat:"png"}),P=atob(j.base64),L=new Uint8Array(P.length);for(let V=0;V<P.length;V++)L[V]=P.charCodeAt(V);let O=Math.round(j.width/4),B=Math.round(j.height/4),{width:N,height:$}=wFe(O,B);return r(),new DJ({data:L,transformation:{width:N,height:$},type:"png",altText:{title:R||"SVG Image",description:R||"SVG image",name:R||"svg-image"}})}let M=await K5o(D,e);return await w(M,R)}catch(M){return console.warn("[DOCX] Failed to load SVG image:",D,M),r(),new ld({text:`[SVG \u56FE\u7247\u52A0\u8F7D\u5931\u8D25: ${R||D}]`,italics:!0,color:"DC2626"})}}async function w(D,R){if(!o)return r(),new ld({text:"[SVG \u56FE\u7247 - \u6E32\u67D3\u5668\u4E0D\u53EF\u7528]",italics:!0,color:"666666"});try{let{buffer:M,width:j,height:P}=await Y5o(D,o),L=Math.round(j/4),O=Math.round(P/4),{width:B,height:N}=wFe(L,O);return r(),new DJ({data:M,transformation:{width:B,height:N},type:"png",altText:{title:R||"SVG Image",description:R||"SVG image",name:R||"svg-image"}})}catch(M){return console.warn("Failed to render SVG:",M),r(),new ld({text:`[SVG \u6E32\u67D3\u5931\u8D25: ${M.message}]`,italics:!0,color:"FF0000"})}}async function C(D,R){try{return Cht(D.value)}catch(M){console.warn("Inline math conversion error:",M);let j=t.characterStyles.code;return new ld({text:D.value,font:j.font,size:j.size,...R})}}function S(D){if("value"in D&&D.value)return D.value;if("children"in D&&D.children){let R="";for(let M of D.children)R+=S(M);return R}return""}function k(D){return D.type==="image"}function T(D){return D.type==="image"&&$br(D.url)}return{convertInlineNodes:d,convertInlineNode:p,convertImage:y,isBlockImageNode:k,isBlockDiagramNode:T,extractText:S}}var J5o,Z5o,eTo=be(()=>{"use strict";x();sB();Cbr();UO();zbr();J5o={apple:{ascii:"Apple Color Emoji",eastAsia:"Apple Color Emoji",hAnsi:"Apple Color Emoji",cs:"Apple Color Emoji"},windows:{ascii:"Segoe UI Emoji",eastAsia:"Segoe UI Emoji",hAnsi:"Segoe UI Emoji",cs:"Segoe UI Emoji"}};Z5o=new RegExp("(?:\\p{RI}\\p{RI}|[#*0-9]\\u{FE0F}?\\u{20E3}|\\p{Extended_Pictographic}(?:\\p{Emoji_Modifier}|\\u{FE0F}|[\\u{E0020}-\\u{E007E}]+\\u{E007F})?(?:\\u{200D}(?:\\p{Extended_Pictographic}(?:\\p{Emoji_Modifier}|\\u{FE0F}|[\\u{E0020}-\\u{E007E}]+\\u{E007F})?|[#*0-9]\\u{FE0F}?\\u{20E3}))*)","gu")});var Hbr={};Ga(Hbr,{convertPluginResultToDOCX:()=>Ght,default:()=>ctl,withBlockImageAlignment:()=>Hht});var Gbr,ctl,qht=be(()=>{"use strict";x();sB();Cbr();Upr();y0r();v0r();C0r();fmr();mmr();ymr();vmr();Amr();_ht();j4();CSo();kht();Sht();Tht();Ubr();N5o();Obr();G5o();q5o();V5o();eTo();Rpr();zbr();Gbr=class{constructor(e=null){this.imageCache=new Map;this.listInstanceCounter=0;this.mathJaxInitialized=!1;this.baseUrl=null;this.themeStyles=null;this.codeHighlighter=null;this.linkDefinitions=new Map;this.progressCallback=null;this.totalResources=0;this.processedResources=0;this.docxHrDisplay="hide";this.docxEmojiStyle="windows";this.frontmatterDisplay="hide";this.tableMergeEmpty=!0;this.tableLayout="center";this.imageLayout="left";this.diagramLayout="center";this.firstLineIndent=0;this.tableConverter=null;this.blockquoteConverter=null;this.listConverter=null;this.inlineConverter=null;this.frontmatterContent=null;this.renderer=e,this.resourceEmbedder=new KAe}setBaseUrl(e){this.baseUrl=e;let r=this.getDocumentService();if(r){let n=e.startsWith("file://")?e.replace("file://",""):e;r.setDocumentPath(n),this.resourceEmbedder.setDocumentService(r)}}getDocumentService(){return globalThis.platform?.document}async initializeMathJax(){this.mathJaxInitialized||(await bSo(),this.mathJaxInitialized=!0)}initializeConverters(){if(!this.themeStyles)return;let e=this.renderer?{render:async(r,n)=>{let o=await this.renderer.render(r,n);if(!o)throw new Error("Renderer returned empty result");let{base64:i,width:a,height:s,format:l}=o;if(typeof i!="string"||i.length===0)throw new Error("Renderer returned empty base64");if(typeof a!="number"||typeof s!="number")throw new Error("Renderer returned invalid dimensions");if(typeof l!="string"||l.length===0)throw new Error("Renderer returned empty format");return{base64:i,width:a,height:s,format:l}}}:null;this.inlineConverter=Q5o({themeStyles:this.themeStyles,fetchImageAsBuffer:r=>this.fetchImageAsBuffer(r),reportResourceProgress:()=>this.reportResourceProgress(),linkDefinitions:this.linkDefinitions,renderer:e,emojiStyle:this.docxEmojiStyle,linkColor:this.themeStyles.linkColor,imageLayout:this.imageLayout,diagramLayout:this.diagramLayout}),this.tableConverter=z5o({themeStyles:this.themeStyles,convertInlineNodes:(r,n)=>this.inlineConverter.convertInlineNodes(r,n),mergeEmptyCells:this.tableMergeEmpty,tableLayout:this.tableLayout}),this.blockquoteConverter=H5o({themeStyles:this.themeStyles,convertInlineNodes:(r,n)=>this.inlineConverter.convertInlineNodes(r,n)}),this.blockquoteConverter.setConvertChildNode((r,n)=>this.convertNode(r,{},0,n)),this.listConverter=U5o({convertInlineNodes:(r,n)=>this.inlineConverter.convertInlineNodes(r,n),incrementListInstanceCounter:()=>this.listInstanceCounter++}),this.listConverter.setConvertChildNode((r,n)=>this.convertNode(r,{},n))}async exportToDocx(e,r="document.docx",n=null){try{this.setBaseUrl(window.location.href);try{let w=globalThis.platform?.settings;if(w){let[C,S,k,T,D,R,M,j]=await Promise.all([w.get("docxHrDisplay"),w.get("docxEmojiStyle"),w.get("frontmatterDisplay"),w.get("tableMergeEmpty"),w.get("tableLayout"),w.get("imageLayout"),w.get("diagramLayout"),w.get("firstLineIndent")]);this.docxHrDisplay=C,this.docxEmojiStyle=S,this.frontmatterDisplay=k,this.tableMergeEmpty=T,this.tableLayout=D||"center",this.imageLayout=R==="center"?"center":"left",this.diagramLayout=M==="left"?"left":"center",this.firstLineIndent=typeof j=="number"?j:0}else this.docxHrDisplay="hide",this.frontmatterDisplay="hide",this.tableMergeEmpty=!0,this.tableLayout="center",this.imageLayout="left",this.diagramLayout="center"}catch{this.docxHrDisplay="hide",this.frontmatterDisplay="hide",this.tableMergeEmpty=!0,this.tableLayout="center",this.imageLayout="left",this.diagramLayout="center"}let o=await yh.loadSelectedTheme();if(this.themeStyles=await wSo(o),!this.themeStyles)throw new Error("Failed to load DOCX theme");this.codeHighlighter=B5o(this.themeStyles),this.progressCallback=n,this.totalResources=0,this.processedResources=0,await this.initializeMathJax();let i=this.parseMarkdown(e);this.totalResources=this.countResources(i),n&&n(0,100),this.initializeConverters();let a=performance.now(),s=await this.convertAstToDocx(i),l=performance.now()-a,u=Object.values(this.themeStyles.paragraphStyles).map(w=>({id:w.id,...this.toParagraphStyle(w)})),f={default:{document:this.toDocumentDefaults(this.themeStyles.default)},paragraphStyles:u},h=0;if(this.themeStyles?.firstLineIndentEnabled&&this.firstLineIndent>0){let S=this.themeStyles.default.run.size/2*20;h=Math.round(this.firstLineIndent*S)}let d=new oAo({creator:"Markdown Viewer Extension",lastModifiedBy:"Markdown Viewer Extension",...this.themeStyles?.pageBackground?{background:{color:this.themeStyles.pageBackground}}:{},numbering:{config:[{reference:"default-ordered-list",levels:Bbr(h)},{reference:"default-bullet-list",levels:Nbr(h)},{reference:"blockquote-ordered-list",levels:Bbr(0)},{reference:"blockquote-bullet-list",levels:Nbr(0)}]},styles:f,sections:[{properties:{page:{margin:{top:kg(1),right:kg(1),bottom:kg(1),left:kg(1)}}},children:s}]}),p=l*1.8,m=performance.now(),g=30,y=n?setInterval(()=>{let w=performance.now()-m,C=Math.min(84,30+w/p*55);C>g&&(g=Math.round(C),n(g,100))},100):null,b=await h1r.toBlob(d);return y&&clearInterval(y),n&&n(85,100),await zht(b,r,n?(w,C)=>{let S=C>0?w/C:1,k=85+Math.round(S*15);n(k,100)}:void 0),{success:!0}}catch(o){let i=o instanceof Error?o.message:String(o),a=o instanceof Error?o.stack:"";return this.imageCache.clear(),console.error("DOCX export error:",i,a),{success:!1,error:i}}finally{this.progressCallback=null,this.totalResources=0,this.processedResources=0}}countResources(e){let r=0,n=o=>{o.type==="image"&&r++,qbr(o)&&r++,o.children&&o.children.forEach(n)};return e.children&&e.children.forEach(n),r}reportResourceProgress(){if(this.processedResources++,this.progressCallback&&this.totalResources>0){let e=this.processedResources/this.totalResources,r=Math.round(e*30);this.progressCallback(r,100)}}extractFrontmatter(e){let r=e.split(`
|
|
3835
3835
|
`);if(r.length<2||r[0].trim()!=="---")return[null,e];let n=-1;for(let s=1;s<r.length;s++)if(r[s].trim()==="---"){n=s;break}if(n===-1)return[null,e];let i=r.slice(1,n).join(`
|
|
3836
3836
|
`),a=r.slice(n+1).join(`
|
|
3837
3837
|
`);return[i,a]}parseFrontmatterData(e){let r=e.split(`
|
|
3838
3838
|
`),n={};for(let o of r){let i=o.indexOf(":");if(i>0){let a=o.substring(0,i).trim(),s=o.substring(i+1).trim();a&&(n[a]=s)}}return n}parseMarkdown(e){let[r,n]=this.extractFrontmatter(e);this.frontmatterContent=r;let o=L2e(n),i=xSo(o),a=vRe().use(tbe).use(kRe).use(Tlt).use(lbe,{singleTilde:!1}).use(cbe).use(ube).use(jlt).use(Plt),s=a.parse(j2e(i)),l=a.runSync(s);return this.linkDefinitions=new Map,Sg(l,"definition",u=>{let f=u;f.identifier&&this.linkDefinitions.set(f.identifier.toLowerCase(),{url:f.url||"",title:f.title??null})}),l}isTocMarker(e){if(e.type!=="paragraph"||!e.children||e.children.length!==1)return!1;let r=e.children[0];if(r.type!=="text")return!1;let n=(r.value||"").trim();return/^\[toc\]$/i.test(n)}isPageBreakMarker(e){if(e.type!=="paragraph"||!e.children||e.children.length!==1)return!1;let r=e.children[0];if(r.type!=="text")return!1;let n=(r.value||"").trim();return/^\[pagebreak\]$/i.test(n)}async convertFrontmatterToDocx(){if(!this.frontmatterContent||this.frontmatterDisplay==="hide")return[];let e=[],r=this.themeStyles?.default?.paragraph?.spacing||{before:0,after:200,line:276};if(this.frontmatterDisplay==="table"){let n=this.parseFrontmatterData(this.frontmatterContent),o=Object.entries(n);if(o.length>0&&this.tableConverter){let i={type:"table",align:["left","left"],children:[{type:"tableRow",children:[{type:"tableCell",children:[{type:"text",value:"Property"}]},{type:"tableCell",children:[{type:"text",value:"Value"}]}]},...o.map(([s,l])=>({type:"tableRow",children:[{type:"tableCell",children:[{type:"text",value:s}]},{type:"tableCell",children:[{type:"text",value:l}]}]}))]},a=await this.tableConverter.convertTable(i);e.push(a),e.push(new gu({text:"",spacing:{before:r.before,after:r.after}}))}}else if(this.frontmatterDisplay==="raw"){let n=this.themeStyles?.characterStyles?.code?.background||"F6F8FA",o=this.themeStyles?.codeColors?.foreground||"24292E",i=[];this.frontmatterContent.split(`
|
|
3839
|
-
`).forEach((s,l)=>{l>0&&i.push(new ld({break:1})),i.push(new ld({text:s||" ",color:o}))}),e.push(new gu({children:i,style:"CodeBlock",wordWrap:!0,shading:{fill:n},indent:{left:200,right:200},border:{top:{color:"E1E4E8",space:10,style:cd.SINGLE,size:6},bottom:{color:"E1E4E8",space:10,style:cd.SINGLE,size:6},left:{color:"E1E4E8",space:10,style:cd.SINGLE,size:6},right:{color:"E1E4E8",space:10,style:cd.SINGLE,size:6}}})),e.push(new gu({text:"",spacing:{before:r.before,after:r.after}}))}return e}async convertAstToDocx(e){let r=[],n=null;this.listInstanceCounter=0;let o=await this.convertFrontmatterToDocx();if(r.push(...o),o.length>0&&(n="frontmatter"),!e.children)return r;for(let i of e.children){if(this.isTocMarker(i)){let s=new iAo("Contents",{hyperlink:!0,headingStyleRange:"1-6"});r.push(s),r.push(new gu({text:"",spacing:{before:240,after:120}})),n="toc";continue}if(this.isPageBreakMarker(i)){r.push(new gu({pageBreakBefore:!0,children:[new ld({text:"",size:1})],spacing:{before:0,after:0,line:1,lineRule:"exact"},alignment:Hu.LEFT})),n="pagebreak";continue}if(this.docxHrDisplay==="line"&&i.type==="thematicBreak"&&n==="thematicBreak"&&r.push(new gu({text:"",alignment:Hu.LEFT,spacing:{before:0,after:0,line:1,lineRule:"exact"}})),i.type==="table"&&n==="table"){let l=this.themeStyles?.blockSpacing?.table?.after??120;r.push(new gu({text:"",spacing:{before:l,after:l,line:240}}))}if(i.type==="blockquote"&&n==="blockquote"){let l=this.themeStyles?.blockSpacing?.blockquote?.after??120;r.push(new gu({text:"",spacing:{before:l,after:l,line:240}}))}if(i.type==="blockquote"&&n==="table"||i.type==="table"&&n==="blockquote"){let l=(n==="table"?this.themeStyles?.blockSpacing?.table:this.themeStyles?.blockSpacing?.blockquote)?.after??120;r.push(new gu({text:"",spacing:{before:l,after:l,line:240}}))}let a=await this.convertNode(i);a&&(Array.isArray(a)?r.push(...a):r.push(a)),n=i.type}return r}async convertNode(e,r={},n=0,o=0){let i={Paragraph:gu,TextRun:ld,ImageRun:DJ,AlignmentType:Hu,convertInchesToTwip:kg,themeStyles:this.themeStyles,diagramLayout:this.diagramLayout},a=this.renderer?{render:async(l,u)=>{let f=await this.renderer.render(l,u);if(!f)throw new Error("Plugin renderer returned empty result");if(typeof f.width!="number"||typeof f.height!="number")throw new Error("Plugin renderer returned invalid dimensions");let h=typeof f.format=="string"&&f.format?f.format:"png";return{base64:f.base64,width:f.width,height:f.height,format:h,error:f.error}}}:{render:async()=>{throw new Error("Renderer not available")}},s=await tTo(e,a,i,()=>this.reportResourceProgress());if(s)return s;switch(e.type){case"heading":return await this.convertHeading(e);case"paragraph":return await this.convertParagraph(e,r);case"list":return await this.listConverter.convertList(e,o>0);case"code":return this.convertCodeBlock(e,n,o);case"blockquote":return await this.blockquoteConverter.convertBlockquote(e,n);case"table":return await this.tableConverter.convertTable(e,n,o);case"thematicBreak":return this.convertThematicBreak();case"html":return this.convertHtml(e);case"math":return this.convertMathBlock(e);default:return null}}async convertHeading(e){let r={1:MJ.HEADING_1,2:MJ.HEADING_2,3:MJ.HEADING_3,4:MJ.HEADING_4,5:MJ.HEADING_5,6:MJ.HEADING_6},n=e.depth||1,o=this.themeStyles?.paragraphStyles?.[`Heading${n}`]?.run,i=await this.inlineConverter.convertInlineNodes(e.children||[],{size:o?.size,bold:o?.bold,font:o?.font,color:o?.color}),a={heading:r[n]||MJ.HEADING_1};return i.length>0?a.children=i:a.text="",new gu(a)}async convertParagraph(e,r={}){let n=0;if(this.themeStyles?.firstLineIndentEnabled&&this.firstLineIndent>0){let h=this.themeStyles.default.run.size/2*20;n=Math.round(this.firstLineIndent*h)}let o=e.children||[],i=o.filter(u=>u.type!=="text"?!0:typeof u.value=="string"&&u.value.trim().length>0),a=[];for(let u=0;u<o.length;u++)o[u].type==="break"&&a.push(u);if(a.length===0){let u=await this.inlineConverter.convertInlineNodes(o,r),f=i.length===1&&this.inlineConverter.isBlockImageNode(i[0]),d=i.length===1&&this.inlineConverter.isBlockDiagramNode(i[0])?this.diagramLayout==="left"?Hu.LEFT:Hu.CENTER:f?this.imageLayout==="center"?Hu.CENTER:Hu.LEFT:void 0;return new gu({children:u.length>0?u:void 0,text:u.length===0?"":void 0,...d?{alignment:d}:{},...n>0?{indent:{firstLine:n}}:{}})}let s=[],l=0;for(let u=0;u<a.length;u++){let f=a[u],h=u===a.length-1&&f+1>=o.length;if(f>l){let d=o.slice(l,f),p=await this.inlineConverter.convertInlineNodes(d,r);s.push(new gu({children:p.length>0?p:void 0,text:p.length===0?"":void 0,...n>0?{indent:{firstLine:n}}:{},...h?{}:{spacing:{after:0}}}))}l=f+1}if(l<o.length){let u=o.slice(l),f=await this.inlineConverter.convertInlineNodes(u,r);s.push(new gu({children:f.length>0?f:void 0,text:f.length===0?"":void 0,...n>0?{indent:{firstLine:n}}:{}}))}return s.length>0?s:[new gu({text:""})]}convertCodeBlock(e,r=0,n=0){let o=this.codeHighlighter.getHighlightedRunsForCode(e.value??"",e.lang),i=this.themeStyles?.characterStyles?.code?.background||"F6F8FA",a=i,s=200,u=(r>0?kg(.5*r):0)+s,f=n>0?300*n:0,h=s+f;return new gu({children:o,style:"CodeBlock",wordWrap:!0,shading:{fill:i},indent:{left:u,right:h},border:{top:{color:a,space:10,style:cd.SINGLE,size:6},bottom:{color:a,space:10,style:cd.SINGLE,size:6},left:{color:a,space:10,style:cd.SINGLE,size:6},right:{color:a,space:10,style:cd.SINGLE,size:6}}})}convertHtml(e){return new gu({children:[new ld({text:"[HTML Content]",italics:!0,color:"666666"})],alignment:Hu.LEFT,spacing:{before:120,after:120}})}convertThematicBreak(){return this.docxHrDisplay==="pageBreak"?new gu({pageBreakBefore:!0,children:[new ld({text:"",size:1})],spacing:{before:0,after:0,line:1,lineRule:"exact"},alignment:Hu.LEFT}):this.docxHrDisplay==="hide"?null:new gu({style:"HorizontalRule",text:"",border:{bottom:{color:"E1E4E8",space:1,style:cd.SINGLE,size:12}}})}convertMathBlock(e){try{let r=Cht(e.value||"");return new gu({style:"MathBlock",children:[r]})}catch(r){return console.warn("Math conversion error:",r),new gu({style:"MathBlock",children:[new ld({text:e.value||""})]})}}toAlignmentType(e){if(!e)return;let r=e.trim().toLowerCase();if(!r)return;let o={left:Hu.LEFT,center:Hu.CENTER,right:Hu.RIGHT,justify:Hu.JUSTIFIED,justified:Hu.JUSTIFIED,start:Hu.START,end:Hu.END}[r];return o||(Object.values(Hu).includes(r)?r:void 0)}toDocumentDefaults(e){let r=e.paragraph?{spacing:e.paragraph.spacing,alignment:this.toAlignmentType(e.paragraph.alignment)}:void 0;return{run:e.run,paragraph:r}}toParagraphStyle(e){let r=e.paragraph?{spacing:e.paragraph.spacing,alignment:this.toAlignmentType(e.paragraph.alignment)}:void 0;return{name:e.name,basedOn:e.basedOn,next:e.next,run:e.run,paragraph:r}}async fetchImageAsBuffer(e){if(this.imageCache.has(e))return this.imageCache.get(e);try{let r=await this.resourceEmbedder.fetchImageAsBuffer(e);return this.imageCache.set(e,r),r}catch(r){throw new Error(`Failed to fetch image: ${e} - ${r.message}`)}}},ctl=Gbr});function rTo(t,e,r,n,o,i){return t.use(function(){return s=>{let l=new Set;for(let u of Vbr)for(let f of u.nodeSelector)l.add(f);for(let u of l)i(s,u,(f,h,d)=>{if(!(h===void 0||!d))for(let p of Vbr){let m=p.extractContent(f);if(!m)continue;let g=p.isInline(),y=p.isUrl(m)?"fetching":"ready",b={...p,isInline:()=>g},w=r(async C=>{let{id:S,code:k,sourceHash:T}=C;if(document.getElementById(S))try{let R=await p.preprocessContent(k||""),M=await e.render(p.type,R);if(M)Cyr(S,M,p.type,g,T),Wbr(S);else{let j=document.getElementById(S);j&&j.remove()}}catch(R){if(R.message==="Render cancelled"||R.message==="Request cancelled")return;console.error("[PluginTask] Render error for:",S,R);let M=document.getElementById(S);if(M){let j=o(R.message||""),P=n("async_processing_error",[p.type,j])||`${p.type} error: ${j}`;M.outerHTML=x1o(P),Wbr(S)}}},b1o(p.createTaskData(m),f),b,n,y);p.isUrl(m)&&p.fetchContent(m).then(C=>{w.task.data.code=C,w.task.setReady()}).catch(C=>{w.task.setError(C)}),d.children[h]=w.placeholder;break}})}}),t}function qbr(t){for(let e of Vbr)if(e.extractContent(t)!==null)return e;return null}async function tTo(t,e,r,n=null){let o=qbr(t);if(!o)return null;let i=o.extractContent(t);if(!i)return null;o.isUrl&&o.isUrl(i)&&(i=await o.fetchContent(i));let a=await o.renderToCommon(e,i);if(o.type!=="image"&&a.type==="image"&&!a.display.inline){let l=r.diagramLayout==="left"?"left":"center";a=Hht(a,l)}let s=Ght(a,o.type);return n&&n(),s}var Vbr,Ubr=be(()=>{"use strict";x();n1o();o1o();i1o();l1o();u1o();f1o();h1o();d1o();p1o();m1o();g1o();_yr();Syr();qht();Uht();Vbr=[new Jct,new Xct,new Yct,new Kct,new Zct,new Qct,new eut,new tut,new rut,new nut,new out]});function Xbr(t){let e=5381;for(let r=0;r<t.length;r++)e=(e<<5)+e^t.charCodeAt(r);return(e>>>0).toString(16)}function nTo(t,e){return Xbr(`${t}:${e}`)}var Ybr=be(()=>{"use strict";x()});function aTo(t){let e=t.trim().match(iTo);return e?e[1].toLowerCase():null}function Kbr(t){let e=t.trim();return iTo.test(e)||dtl.test(e)||ptl.test(e)}function mtl(t,e){let r=e;for(;r+1<t.length&&Kbr(t[r+1]);){let n=r+1,o=aTo(t[n]);if(o){let i=new RegExp(`</${o}>`,"i"),a=n;for(;a<t.length&&!i.test(t[a]);a++);r=a<t.length?a:t.length-1;continue}for(let i=n+1;i<t.length;i++){if(t[i].trim()==="")return r=i,r;if(Kbr(t[i])){r=i-1;break}i===t.length-1&&(r=i)}r<n&&(r=n)}return r}function $2e(t){return sTo.test(t)}function lTo(t){if(t.startsWith(" ")||t.startsWith(" "))return!0;let e=t.match(/^(\s+)\S/);return e!==null&&e[1].length>=2}function Atl(t,e,r){let n=t.trim();if(n==="")return!1;if($2e(t)||lTo(t))return!0;if(/^#{1,6}\s/.test(n)||/^(`{3,}|~{3,})/.test(n)||n==="$$"||n.startsWith("|")||n.startsWith(">"))return!1;let o=e[r-1];if(o&&$2e(o))return!0;for(let i=r-1;i>=0&&i>=r-5;i--){let a=e[i];if(a.trim()!==""){if($2e(a)){for(let s=r+1;s<e.length&&s<=r+3;s++)if(e[s].trim()!==""){if($2e(e[s]))return!0;break}break}break}}return!1}function Jbr(t){let e=t.split(`
|
|
3839
|
+
`).forEach((s,l)=>{l>0&&i.push(new ld({break:1})),i.push(new ld({text:s||" ",color:o}))}),e.push(new gu({children:i,style:"CodeBlock",wordWrap:!0,shading:{fill:n},indent:{left:200,right:200},border:{top:{color:"E1E4E8",space:10,style:cd.SINGLE,size:6},bottom:{color:"E1E4E8",space:10,style:cd.SINGLE,size:6},left:{color:"E1E4E8",space:10,style:cd.SINGLE,size:6},right:{color:"E1E4E8",space:10,style:cd.SINGLE,size:6}}})),e.push(new gu({text:"",spacing:{before:r.before,after:r.after}}))}return e}async convertAstToDocx(e){let r=[],n=null;this.listInstanceCounter=0;let o=await this.convertFrontmatterToDocx();if(r.push(...o),o.length>0&&(n="frontmatter"),!e.children)return r;for(let i of e.children){if(this.isTocMarker(i)){let s=new iAo("Contents",{hyperlink:!0,headingStyleRange:"1-6"});r.push(s),r.push(new gu({text:"",spacing:{before:240,after:120}})),n="toc";continue}if(this.isPageBreakMarker(i)){r.push(new gu({pageBreakBefore:!0,children:[new ld({text:"",size:1})],spacing:{before:0,after:0,line:1,lineRule:"exact"},alignment:Hu.LEFT})),n="pagebreak";continue}if(this.docxHrDisplay==="line"&&i.type==="thematicBreak"&&n==="thematicBreak"&&r.push(new gu({text:"",alignment:Hu.LEFT,spacing:{before:0,after:0,line:1,lineRule:"exact"}})),i.type==="table"&&n==="table"){let l=this.themeStyles?.blockSpacing?.table?.after??120;r.push(new gu({text:"",spacing:{before:l,after:l,line:240}}))}if(i.type==="blockquote"&&n==="blockquote"){let l=this.themeStyles?.blockSpacing?.blockquote?.after??120;r.push(new gu({text:"",spacing:{before:l,after:l,line:240}}))}if(i.type==="blockquote"&&n==="table"||i.type==="table"&&n==="blockquote"){let l=(n==="table"?this.themeStyles?.blockSpacing?.table:this.themeStyles?.blockSpacing?.blockquote)?.after??120;r.push(new gu({text:"",spacing:{before:l,after:l,line:240}}))}let a=await this.convertNode(i);a&&(Array.isArray(a)?r.push(...a):r.push(a)),n=i.type}return r}async convertNode(e,r={},n=0,o=0){let i={Paragraph:gu,TextRun:ld,ImageRun:DJ,AlignmentType:Hu,convertInchesToTwip:kg,themeStyles:this.themeStyles,diagramLayout:this.diagramLayout},a=this.renderer?{render:async(l,u)=>{let f=await this.renderer.render(l,u);if(!f)throw new Error("Plugin renderer returned empty result");if(typeof f.width!="number"||typeof f.height!="number")throw new Error("Plugin renderer returned invalid dimensions");let h=typeof f.format=="string"&&f.format?f.format:"png";return{base64:f.base64,width:f.width,height:f.height,format:h,error:f.error}}}:{render:async()=>{throw new Error("Renderer not available")}},s=await tTo(e,a,i,()=>this.reportResourceProgress());if(s)return s;switch(e.type){case"heading":return await this.convertHeading(e);case"paragraph":return await this.convertParagraph(e,r);case"list":return await this.listConverter.convertList(e,o>0);case"code":return this.convertCodeBlock(e,n,o);case"blockquote":return await this.blockquoteConverter.convertBlockquote(e,n);case"table":return await this.tableConverter.convertTable(e,n,o);case"thematicBreak":return this.convertThematicBreak();case"html":return this.convertHtml(e);case"math":return this.convertMathBlock(e);default:return null}}async convertHeading(e){let r={1:MJ.HEADING_1,2:MJ.HEADING_2,3:MJ.HEADING_3,4:MJ.HEADING_4,5:MJ.HEADING_5,6:MJ.HEADING_6},n=e.depth||1,o=this.themeStyles?.paragraphStyles?.[`Heading${n}`]?.run,i=await this.inlineConverter.convertInlineNodes(e.children||[],{size:o?.size,bold:o?.bold,font:o?.font,color:o?.color}),a={heading:r[n]||MJ.HEADING_1};return i.length>0?a.children=i:a.text="",new gu(a)}async convertParagraph(e,r={}){let n=0;if(this.themeStyles?.firstLineIndentEnabled&&this.firstLineIndent>0){let h=this.themeStyles.default.run.size/2*20;n=Math.round(this.firstLineIndent*h)}let o=e.children||[],i=o.filter(u=>u.type!=="text"?!0:typeof u.value=="string"&&u.value.trim().length>0),a=[];for(let u=0;u<o.length;u++)o[u].type==="break"&&a.push(u);if(a.length===0){let u=await this.inlineConverter.convertInlineNodes(o,r),f=i.length===1&&this.inlineConverter.isBlockImageNode(i[0]),d=i.length===1&&this.inlineConverter.isBlockDiagramNode(i[0])?this.diagramLayout==="left"?Hu.LEFT:Hu.CENTER:f?this.imageLayout==="center"?Hu.CENTER:Hu.LEFT:void 0;return new gu({children:u.length>0?u:void 0,text:u.length===0?"":void 0,...d?{alignment:d}:{},...n>0?{indent:{firstLine:n}}:{}})}let s=[],l=0;for(let u=0;u<a.length;u++){let f=a[u],h=u===a.length-1&&f+1>=o.length;if(f>l){let d=o.slice(l,f),p=await this.inlineConverter.convertInlineNodes(d,r);s.push(new gu({children:p.length>0?p:void 0,text:p.length===0?"":void 0,...n>0?{indent:{firstLine:n}}:{},...h?{}:{spacing:{after:0}}}))}l=f+1}if(l<o.length){let u=o.slice(l),f=await this.inlineConverter.convertInlineNodes(u,r);s.push(new gu({children:f.length>0?f:void 0,text:f.length===0?"":void 0,...n>0?{indent:{firstLine:n}}:{}}))}return s.length>0?s:[new gu({text:""})]}convertCodeBlock(e,r=0,n=0){let o=this.codeHighlighter.getHighlightedRunsForCode(e.value??"",e.lang),i=this.themeStyles?.characterStyles?.code?.background||"F6F8FA",a=i,s=200,u=(r>0?kg(.5*r):0)+s,f=n>0?300*n:0,h=s+f;return new gu({children:o,style:"CodeBlock",wordWrap:!0,shading:{fill:i},indent:{left:u,right:h},border:{top:{color:a,space:10,style:cd.SINGLE,size:6},bottom:{color:a,space:10,style:cd.SINGLE,size:6},left:{color:a,space:10,style:cd.SINGLE,size:6},right:{color:a,space:10,style:cd.SINGLE,size:6}}})}convertHtml(e){return new gu({children:[new ld({text:"[HTML Content]",italics:!0,color:"666666"})],alignment:Hu.LEFT,spacing:{before:120,after:120}})}convertThematicBreak(){return this.docxHrDisplay==="pageBreak"?new gu({pageBreakBefore:!0,children:[new ld({text:"",size:1})],spacing:{before:0,after:0,line:1,lineRule:"exact"},alignment:Hu.LEFT}):this.docxHrDisplay==="hide"?null:new gu({style:"HorizontalRule",text:"",border:{bottom:{color:"E1E4E8",space:1,style:cd.SINGLE,size:12}}})}convertMathBlock(e){try{let r=Cht(e.value||"");return new gu({style:"MathBlock",children:[r]})}catch(r){return console.warn("Math conversion error:",r),new gu({style:"MathBlock",children:[new ld({text:e.value||""})]})}}toAlignmentType(e){if(!e)return;let r=e.trim().toLowerCase();if(!r)return;let o={left:Hu.LEFT,center:Hu.CENTER,right:Hu.RIGHT,justify:Hu.JUSTIFIED,justified:Hu.JUSTIFIED,start:Hu.START,end:Hu.END}[r];return o||(Object.values(Hu).includes(r)?r:void 0)}toDocumentDefaults(e){let r=e.paragraph?{spacing:e.paragraph.spacing,alignment:this.toAlignmentType(e.paragraph.alignment)}:void 0;return{run:e.run,paragraph:r}}toParagraphStyle(e){let r=e.paragraph?{spacing:e.paragraph.spacing,alignment:this.toAlignmentType(e.paragraph.alignment)}:void 0;return{name:e.name,basedOn:e.basedOn,next:e.next,run:e.run,paragraph:r}}async fetchImageAsBuffer(e){if(this.imageCache.has(e))return this.imageCache.get(e);try{let r=await this.resourceEmbedder.fetchImageAsBuffer(e);return this.imageCache.set(e,r),r}catch(r){throw new Error(`Failed to fetch image: ${e} - ${r.message}`)}}},ctl=Gbr});function rTo(t,e,r,n,o,i){return t.use(function(){return s=>{let l=new Set;for(let u of Vbr)for(let f of u.nodeSelector)l.add(f);for(let u of l)i(s,u,(f,h,d)=>{if(!(h===void 0||!d))for(let p of Vbr){let m=p.extractContent(f);if(!m)continue;let g=p.isInline(),y=p.isUrl(m)?"fetching":"ready",b={...p,isInline:()=>g},w=r(async C=>{let{id:S,code:k,sourceHash:T}=C;if(document.getElementById(S))try{let R=await p.preprocessContent(k||""),M=await e.render(p.type,R);if(M)Cyr(S,M,p.type,g,T),Wbr(S);else{let j=document.getElementById(S);j&&j.remove()}}catch(R){if(R.message==="Render cancelled"||R.message==="Request cancelled")return;let M=typeof C.sourceLine=="number"?C.sourceLine:null;console.warn(`[PluginTask] ${p.type} render failed for ${S}${M?` (line ${M})`:""}: ${R.message}`);let j=document.getElementById(S);if(j){let P=o(R.message||""),L=n("async_processing_error",[p.type,P])||`${p.type} error: ${P}`;j.outerHTML=x1o(L),Wbr(S)}}},b1o(p.createTaskData(m),f),b,n,y);p.isUrl(m)&&p.fetchContent(m).then(C=>{w.task.data.code=C,w.task.setReady()}).catch(C=>{w.task.setError(C)}),d.children[h]=w.placeholder;break}})}}),t}function qbr(t){for(let e of Vbr)if(e.extractContent(t)!==null)return e;return null}async function tTo(t,e,r,n=null){let o=qbr(t);if(!o)return null;let i=o.extractContent(t);if(!i)return null;o.isUrl&&o.isUrl(i)&&(i=await o.fetchContent(i));let a=await o.renderToCommon(e,i);if(a.type==="error"){let u=t.position?.start?.line;console.warn(`[PluginTask] ${o.type} render failed${u?` (line ${u})`:""}: ${a.content.text}`)}if(o.type!=="image"&&a.type==="image"&&!a.display.inline){let l=r.diagramLayout==="left"?"left":"center";a=Hht(a,l)}let s=Ght(a,o.type);return n&&n(),s}var Vbr,Ubr=be(()=>{"use strict";x();n1o();o1o();i1o();l1o();u1o();f1o();h1o();d1o();p1o();m1o();g1o();_yr();Syr();qht();Uht();Vbr=[new Jct,new Xct,new Yct,new Kct,new Zct,new Qct,new eut,new tut,new rut,new nut,new out]});function Xbr(t){let e=5381;for(let r=0;r<t.length;r++)e=(e<<5)+e^t.charCodeAt(r);return(e>>>0).toString(16)}function nTo(t,e){return Xbr(`${t}:${e}`)}var Ybr=be(()=>{"use strict";x()});function aTo(t){let e=t.trim().match(iTo);return e?e[1].toLowerCase():null}function Kbr(t){let e=t.trim();return iTo.test(e)||dtl.test(e)||ptl.test(e)}function mtl(t,e){let r=e;for(;r+1<t.length&&Kbr(t[r+1]);){let n=r+1,o=aTo(t[n]);if(o){let i=new RegExp(`</${o}>`,"i"),a=n;for(;a<t.length&&!i.test(t[a]);a++);r=a<t.length?a:t.length-1;continue}for(let i=n+1;i<t.length;i++){if(t[i].trim()==="")return r=i,r;if(Kbr(t[i])){r=i-1;break}i===t.length-1&&(r=i)}r<n&&(r=n)}return r}function $2e(t){return sTo.test(t)}function lTo(t){if(t.startsWith(" ")||t.startsWith(" "))return!0;let e=t.match(/^(\s+)\S/);return e!==null&&e[1].length>=2}function Atl(t,e,r){let n=t.trim();if(n==="")return!1;if($2e(t)||lTo(t))return!0;if(/^#{1,6}\s/.test(n)||/^(`{3,}|~{3,})/.test(n)||n==="$$"||n.startsWith("|")||n.startsWith(">"))return!1;let o=e[r-1];if(o&&$2e(o))return!0;for(let i=r-1;i>=0&&i>=r-5;i--){let a=e[i];if(a.trim()!==""){if($2e(a)){for(let s=r+1;s<e.length&&s<=r+3;s++)if(e[s].trim()!==""){if($2e(e[s]))return!0;break}break}break}}return!1}function Jbr(t){let e=t.split(`
|
|
3840
3840
|
`),r=[],n=0;for(;n<e.length;){if(e[n].trim()===""){n++;continue}let a=!1;for(let s of oTo)if(s.isStart(e,n)){let l=s.findEnd(e,n),u=e.slice(n,l+1);r.push({content:u.join(`
|
|
3841
3841
|
`),startLine:n}),n=l+1,a=!0;break}if(!a){let s=n,l=[];for(;n<e.length;){let u=e[n];if(u.trim()==="")break;let h=!1;for(let d of oTo)if(d.isStart(e,n)&&l.length>0){h=!0;break}if(h)break;l.push(u),n++}l.length>0&&r.push({content:l.join(`
|
|
3842
3842
|
`),startLine:s})}}return r}function cTo(t){return t.some(e=>{let r=e.content.split(`
|
|
@@ -3856,11 +3856,11 @@ ${e.map(([n,o])=>`<tr><td><strong>${z2e(n)}</strong></td><td>${z2e(o)}</td></tr>
|
|
|
3856
3856
|
`).slice(1,-1).join(`
|
|
3857
3857
|
`);return`<pre class="frontmatter-raw">${z2e(r)}</pre>`}function Zbr(t){if(!t)return!0;let e=t.trim();if(!e||e.startsWith("#"))return!0;let r=e.toLowerCase();if(r.startsWith("javascript:")||r.startsWith("vbscript:")||r.startsWith("data:text/javascript"))return!1;if(r.startsWith("data:"))return r.startsWith("data:image/")||r.startsWith("data:application/pdf");if(iq(e))return!0;try{let n=new URL(e,document.baseURI);return["http:","https:","mailto:","tel:","file:"].includes(n.protocol)}catch{return!0}}function Ctl(t){return t?t.split(",").every(e=>{let r=e.trim().split(/\s+/)[0];return Zbr(r)}):!0}function _tl(t){if(!t.hasAttributes())return;let e=["src","href","xlink:href","action","formaction","poster","data","srcset"];Array.from(t.attributes).forEach(r=>{let n=r.name.toLowerCase();if(n.startsWith("on")){t.removeAttribute(r.name);return}e.includes(n)&&(n==="srcset"?Ctl(r.value)||t.removeAttribute(r.name):Zbr(r.value)||t.removeAttribute(r.name))})}function Stl(t){let e=new Set(["SCRIPT","IFRAME","OBJECT","EMBED","AUDIO","VIDEO"]),r=[];for(Array.from(t.childNodes).forEach(n=>{n.nodeType===Node.ELEMENT_NODE?r.push(n):n.nodeType===Node.COMMENT_NODE&&n.remove()});r.length>0;){let n=r.pop();if(n.nodeType!==Node.ELEMENT_NODE)continue;let o=n.tagName?n.tagName.toUpperCase():"";if(e.has(o)){let i=n.outerHTML||`<${o.toLowerCase()}>`,a=i.length>500?`${i.slice(0,500)}...`:i,s=document.createElement("pre");s.className="blocked-html-warning",s.setAttribute("style","background: #fee; border-left: 4px solid #f00; padding: 10px; font-size: 12px; white-space: pre-wrap;"),s.textContent=`Blocked insecure <${o.toLowerCase()}> element removed.
|
|
3858
3858
|
|
|
3859
|
-
${a}`,n.replaceWith(s);continue}_tl(n),Array.from(n.childNodes).forEach(i=>{i.nodeType===Node.ELEMENT_NODE?r.push(i):i.nodeType===Node.COMMENT_NODE&&i.remove()})}}function Zht(t){try{let e=document.createElement("template");return e.innerHTML=t,Stl(e.content),e.innerHTML}catch{return t}}function uTo(t){return t?t.type==="text"?String(t.value||""):Array.isArray(t.children)?t.children.map(e=>uTo(e)).join(""):"":""}function Ttl(){return!!document?.documentElement?.classList?.contains("dark")}function Etl(t){try{return Ggr(ktl,t,{lang:"markdown",theme:Ttl()?dyr:pyr}).children.find(r=>r?.type==="element"&&r?.tagName==="pre")||null}catch{return null}}function Dtl(){return t=>{Sg(t,"element",(e,r,n)=>{if(!n||e.tagName!=="pre"||!Array.isArray(e.children))return;let o=e.children.find(s=>s?.type==="element"&&s?.tagName==="code");if(!o)return;let i=Array.isArray(o.properties?.className)?o.properties.className:typeof o.properties?.className=="string"?o.properties.className.split(/\s+/):[];if(!i.includes("language-markdown")&&!i.includes("language-md"))return;let a=Etl(uTo(o));a&&(e.properties=a.properties||{},e.children=a.children||[])})}}function Qht(t,e,r=o=>o,n){let{tableMergeEmpty:o=!1,slugger:i}=n||{},a=(l,u,f,h,d)=>e.createTask(async(p,m)=>l(p),u||{},f||null,d||"ready"),s=vRe().use(tbe).use(kRe).use(Tlt).use(lbe,{singleTilde:!1}).use(cbe).use(ube).use(jlt).use(Plt).use(bmr);return rTo(s,t,a,r,z2e,Sg),s.use(qlt,{allowDangerousHtml:!0}).use(Fmr,{slugger:i}).use(myr).use(Ayr,{enabled:o}).use(fct).use(Dtl).use(Qlt).use(Act,{allowDangerousHtml:!0}),s}function Qbr(t){let e=t.match(/^#\s+(.+)$/m);return e?e[1].trim():null}function e2r(t){let e=t.querySelectorAll("h1, h2, h3, h4, h5, h6"),r=[];return e.forEach((n,o)=>{let i=parseInt(n.tagName[1]),a=n.textContent||"",s=n.id||`heading-${o}`;n.id||(n.id=s),r.push({level:i,text:a,id:s})}),r}var Zle,ktl,G2e=be(()=>{"use strict";x();Upr();y0r();v0r();C0r();fmr();mmr();ymr();vmr();Amr();Sfo();Gho();Kho();Gdo();imo();Xmo();Ngo();Gyo();qyo();Uyo();Vyo();j4();Wyo();Qyo();Ubr();Syr();Ybr();UO();Vht();Zle=class{constructor(e=n=>n,r){this.queue=[];this.idCounter=0;this.aborted=!1;this.translate=e,this.onAbort=r?.onAbort,this.context={cancelled:!1}}abort(){this.aborted=!0,this.context.cancelled=!0,this.queue=[],this.onAbort?.()}reset(){this.aborted=!1,this.queue=[],this.idCounter=0,this.context={cancelled:!1}}isAborted(){return this.aborted}getContext(){return this.context}generateId(){return`async-placeholder-${++this.idCounter}`}createTask(e,r={},n=null,o="ready"){let i=this.generateId(),a=n?.type||"unknown",s=this.context,l=r.code||"",u=nTo(a,l),f={id:i,callback:async
|
|
3859
|
+
${a}`,n.replaceWith(s);continue}_tl(n),Array.from(n.childNodes).forEach(i=>{i.nodeType===Node.ELEMENT_NODE?r.push(i):i.nodeType===Node.COMMENT_NODE&&i.remove()})}}function Zht(t){try{let e=document.createElement("template");return e.innerHTML=t,Stl(e.content),e.innerHTML}catch{return t}}function uTo(t){return t?t.type==="text"?String(t.value||""):Array.isArray(t.children)?t.children.map(e=>uTo(e)).join(""):"":""}function Ttl(){return!!document?.documentElement?.classList?.contains("dark")}function Etl(t){try{return Ggr(ktl,t,{lang:"markdown",theme:Ttl()?dyr:pyr}).children.find(r=>r?.type==="element"&&r?.tagName==="pre")||null}catch{return null}}function Dtl(){return t=>{Sg(t,"element",(e,r,n)=>{if(!n||e.tagName!=="pre"||!Array.isArray(e.children))return;let o=e.children.find(s=>s?.type==="element"&&s?.tagName==="code");if(!o)return;let i=Array.isArray(o.properties?.className)?o.properties.className:typeof o.properties?.className=="string"?o.properties.className.split(/\s+/):[];if(!i.includes("language-markdown")&&!i.includes("language-md"))return;let a=Etl(uTo(o));a&&(e.properties=a.properties||{},e.children=a.children||[])})}}function Qht(t,e,r=o=>o,n){let{tableMergeEmpty:o=!1,slugger:i}=n||{},a=(l,u,f,h,d)=>e.createTask(async(p,m)=>l(p),u||{},f||null,d||"ready"),s=vRe().use(tbe).use(kRe).use(Tlt).use(lbe,{singleTilde:!1}).use(cbe).use(ube).use(jlt).use(Plt).use(bmr);return rTo(s,t,a,r,z2e,Sg),s.use(qlt,{allowDangerousHtml:!0}).use(Fmr,{slugger:i}).use(myr).use(Ayr,{enabled:o}).use(fct).use(Dtl).use(Qlt).use(Act,{allowDangerousHtml:!0}),s}function Qbr(t){let e=t.match(/^#\s+(.+)$/m);return e?e[1].trim():null}function e2r(t){let e=t.querySelectorAll("h1, h2, h3, h4, h5, h6"),r=[];return e.forEach((n,o)=>{let i=parseInt(n.tagName[1]),a=n.textContent||"",s=n.id||`heading-${o}`;n.id||(n.id=s),r.push({level:i,text:a,id:s})}),r}var Zle,ktl,G2e=be(()=>{"use strict";x();Upr();y0r();v0r();C0r();fmr();mmr();ymr();vmr();Amr();Sfo();Gho();Kho();Gdo();imo();Xmo();Ngo();Gyo();qyo();Uyo();Vyo();j4();Wyo();Qyo();Ubr();Syr();Ybr();UO();Vht();Zle=class{constructor(e=n=>n,r){this.queue=[];this.idCounter=0;this.aborted=!1;this.translate=e,this.onAbort=r?.onAbort,this.context={cancelled:!1}}setBlockStartLine(e){this.context.blockStartLine=e}abort(){this.aborted=!0,this.context.cancelled=!0,this.queue=[],this.onAbort?.()}reset(){this.aborted=!1,this.queue=[],this.idCounter=0,this.context={cancelled:!1}}isAborted(){return this.aborted}getContext(){return this.context}generateId(){return`async-placeholder-${++this.idCounter}`}createTask(e,r={},n=null,o="ready"){let i=this.generateId(),a=n?.type||"unknown",s=this.context,l=r.code||"",u=nTo(a,l),f=typeof r.sourceLine=="number"&&r.sourceLine>0?r.sourceLine:null,h=f===null?null:f+(this.context.blockStartLine??0),d={id:i,callback:async y=>e(y,s),data:{...r,id:i,sourceHash:u,sourceLine:h},type:a,status:o,error:null,context:s,setReady:()=>{d.status="ready"},setError:y=>{d.status="error",d.error=y}};this.queue.push(d);let p={width:typeof r.sourceWidth=="string"&&r.sourceWidth!==""?r.sourceWidth:null,height:typeof r.sourceHeight=="string"&&r.sourceHeight!==""?r.sourceHeight:null,alt:typeof r.sourceAlt=="string"&&r.sourceAlt!==""?r.sourceAlt:null},m=p.width!==null||p.height!==null||p.alt!==null,g=A1o(i,a,n?.isInline?.()||!1,this.translate,u,m?p:null);return{task:d,placeholder:{type:"html",value:g}}}async processAll(e=null,r=null){if(this.queue.length===0)return!0;let n=this.queue.splice(0,this.queue.length),o=n.length,i=0,a=async()=>{await new Promise(u=>{if(typeof requestAnimationFrame=="function"){requestAnimationFrame(()=>u());return}setTimeout(()=>u(),0)})},s=async u=>{for(;u.status==="fetching"&&!u.context.cancelled;)await a()},l=async u=>{if(!u.context.cancelled)try{if(await s(u),u.context.cancelled)return;let f=document.getElementById(u.id);if(u.status==="error"){if(u.context.cancelled)return;if(f){let h=z2e(u.error?.message||this.translate("async_unknown_error")),d=this.translate("async_processing_error",[h]);f.outerHTML=`<pre style="background: #fee; border-left: 4px solid #f00; padding: 10px; font-size: 12px;">${d}</pre>`}}else await u.callback(u.data)}catch(f){if(u.context.cancelled)return;console.warn(`[TaskManager] Task failed for ${u.id}: ${f.message}`);let h=document.getElementById(u.id);if(h){let d=z2e(f.message||""),p=this.translate("async_task_processing_error",[d]);h.outerHTML=`<pre style="background: #fee; border-left: 4px solid #f00; padding: 10px; font-size: 12px;">${p}</pre>`}r&&r(f,u)}finally{u.context.cancelled||(i++,e&&e(i,o))}};return await Promise.all(n.map(l)),!this.aborted}get pendingCount(){return this.queue.length}},ktl=Bgo({engine:hyr(),langs:[Hyo],themes:[pyr,dyr]})});function fTo(t,e,r){for(let n of e)switch(n.type){case"clear":t.innerHTML="";break;case"append":{let o=r.createElement("div");o.className="md-block",o.innerHTML=n.html,edt(o,n.attrs),t.appendChild(o);break}case"insertBefore":{let o=t.querySelector(`[data-block-id="${n.refId}"]`);if(o){let i=r.createElement("div");i.className="md-block",i.innerHTML=n.html,edt(i,n.attrs),o.parentNode?.insertBefore(i,o)}break}case"remove":{t.querySelector(`[data-block-id="${n.blockId}"]`)?.remove();break}case"replace":{let o=t.querySelector(`[data-block-id="${n.blockId}"]`);o&&(o.innerHTML=n.html,edt(o,n.attrs));break}case"updateAttrs":{let o=t.querySelector(`[data-block-id="${n.blockId}"]`);o&&edt(o,n.attrs);break}}}function edt(t,e){for(let[r,n]of Object.entries(e))n!==void 0&&t.setAttribute(r,String(n))}var tdt,hTo=be(()=>{"use strict";x();Vht();Ybr();tdt=class t{constructor(e){this.blocks=[];this.blockIdMap=new Map;this.rawContent="";this.idCounter=0;e&&this.update(e)}rebuildBlockIdMap(){this.blockIdMap.clear();for(let e=0;e<this.blocks.length;e++)this.blockIdMap.set(this.blocks[e].id,e)}getBlocks(){return this.blocks}getBlock(e){return this.blocks[e]}getBlockById(e){let r=this.blockIdMap.get(e);return r!==void 0?this.blocks[r]:void 0}getBlockIndexById(e){return this.blockIdMap.get(e)??-1}get blockCount(){return this.blocks.length}getRawContent(){return this.rawContent}findBlockByLine(e){for(let r=0;r<this.blocks.length;r++){let n=this.blocks[r];if(e>=n.startLine&&e<n.startLine+n.lineCount)return{block:n,index:r}}return null}getTotalLineCount(){if(this.blocks.length===0)return 0;let e=this.blocks[this.blocks.length-1];return e.startLine+e.lineCount}getLinePosition(e){if(this.blocks.length===0||e<0)return null;for(let r=0;r<this.blocks.length;r++){let n=this.blocks[r],o=n.startLine+n.lineCount;if(e<o){let i=e-n.startLine,a=n.lineCount>0?Math.max(0,Math.min(1,i/n.lineCount)):0;return{block:n,index:r,progress:a}}}return null}getLineFromPosition(e,r){if(e<0||e>=this.blocks.length)return 0;let n=this.blocks[e],o=Math.max(0,Math.min(1,r));return n.startLine+o*n.lineCount}getSurroundingBlocks(e){if(this.blocks.length===0)return{};let r;for(let n=0;n<this.blocks.length;n++){let o=this.blocks[n];if(o.startLine>e)return{previous:r,next:{block:o,index:n}};r={block:o,index:n}}return{previous:r}}getLineFromBlockId(e,r=0){let n=this.getBlockById(e);if(!n)return null;let o=Math.max(0,Math.min(1,r));return n.startLine+o*n.lineCount}getBlockPositionFromLine(e){let r=this.getLinePosition(e);return r?{blockId:r.block.id,progress:r.progress}:null}update(e){let r=this.blocks,n=r.length===0;this.rawContent=e;let i=Jbr(this.rawContent).map((l,u)=>{let f=l.content.split(`
|
|
3860
3860
|
`).length;return{id:"",hash:Xbr(l.content),startLine:l.startLine,lineCount:f,content:l.content,html:void 0}});if(n){for(let l=0;l<i.length;l++)i[l].id=this.generateNewId();return this.blocks=i,this.rebuildBlockIdMap(),{commands:[{type:"clear"}],stats:{kept:0,inserted:i.length,removed:0,replaced:0}}}let a=this.computeDiff(r,i),s=this.generateDOMCommands(r,i,a);return this.blocks=i,this.rebuildBlockIdMap(),s}generateNewId(){return`block-${++this.idCounter}`}computeDiff(e,r){let n=new Map;e.forEach((u,f)=>{let h=n.get(u.hash)||[];h.push(f),n.set(u.hash,h)});let o=new Set,i=[];for(let u=0;u<r.length;u++){let f=r[u].hash,h=n.get(f);if(h){let d=-1,p=1/0;for(let m of h)if(!o.has(m)){let g=Math.abs(m-u);g<p&&(p=g,d=m)}d>=0&&(i.push({newIndex:u,oldIndex:d}),o.add(d))}}i.sort((u,f)=>u.newIndex-f.newIndex);let a=[],s=new Set(i.map(u=>u.newIndex)),l=0;for(let u=0;u<r.length;u++)if(s.has(u)){let f=i[l++];a.push({type:"keep",newIndex:u,oldIndex:f.oldIndex})}else a.push({type:"insert",newIndex:u});for(let u=0;u<e.length;u++)o.has(u)||a.push({type:"delete",oldIndex:u});return a}generateDOMCommands(e,r,n){let o=[],i={kept:0,inserted:0,removed:0,replaced:0},a=new Map;e.forEach((m,g)=>{a.set(g,m.id)});let s=n.filter(m=>m.type==="keep"),l=n.filter(m=>m.type==="insert"),u=n.filter(m=>m.type==="delete");for(let m of s){let g=e[m.oldIndex];r[m.newIndex].id=g.id,g.html&&(r[m.newIndex].html=g.html,r[m.newIndex].hasPlaceholder=g.hasPlaceholder),i.kept++}for(let m of l)r[m.newIndex].id=this.generateNewId(),i.inserted++;for(let m of u){let g=a.get(m.oldIndex);o.push({type:"remove",blockId:g}),i.removed++}let f=[...s].sort((m,g)=>m.newIndex-g.newIndex),h=f.map(m=>m.oldIndex),d=new Set,p=-1;for(let m of f)m.oldIndex<p?d.add(m.newIndex):p=m.oldIndex;for(let m=0;m<r.length;m++){let g=r[m],y=this.getBlockAttrs(g),b=s.find(w=>w.newIndex===m);if(b&&!d.has(m)){let w=e[b.oldIndex];(w.startLine!==g.startLine||w.lineCount!==g.lineCount)&&o.push({type:"updateAttrs",blockId:g.id,attrs:{"data-line":g.startLine,"data-line-count":g.lineCount}})}else{let w=null;for(let C=m+1;C<r.length;C++)if(s.find(k=>k.newIndex===C)&&!d.has(C)){w=r[C].id;break}b&&d.has(m)&&(o.push({type:"remove",blockId:g.id}),i.removed++,i.kept--,i.inserted++),w?o.push({type:"insertBefore",blockId:g.id,html:b&&e[b.oldIndex].html||"",refId:w,attrs:y}):o.push({type:"append",blockId:g.id,html:b&&e[b.oldIndex].html||"",attrs:y})}}return{commands:o,stats:i}}getBlockAttrs(e){return{"data-block-id":e.id,"data-block-hash":e.hash,"data-line":e.startLine,"data-line-count":e.lineCount}}setBlockHtml(e,r){e>=0&&e<this.blocks.length&&(this.blocks[e].html=r,this.blocks[e].hasPlaceholder=r.includes("async-placeholder"))}setBlockHtmlById(e,r){let n=this.blocks.find(o=>o.id===e);n&&(n.html=r,n.hasPlaceholder=r.includes("async-placeholder"))}getBlocksNeedingRender(){return this.blocks.map((e,r)=>({block:e,index:r})).filter(({block:e})=>!e.html||e.hasPlaceholder)}getBlockIds(){return this.blocks.map(e=>e.id)}clearHtmlCache(){for(let e of this.blocks)e.html=void 0,e.hasPlaceholder=void 0}getFullHtml(){return this.blocks.map(e=>e.html?this.wrapBlockHtml(e):"").join(`
|
|
3861
3861
|
`)}wrapBlockHtml(e){let r=this.getBlockAttrs(e);return`<div class="md-block" ${Object.entries(r).map(([o,i])=>`${o}="${i}"`).join(" ")}>${e.html}</div>`}toJSON(){return{blocks:this.blocks.map(e=>({id:e.id,hash:e.hash,startLine:e.startLine,lineCount:e.lineCount,content:e.content})),rawContent:this.rawContent,idCounter:this.idCounter}}static fromJSON(e){let r=new t;return r.rawContent=e.rawContent,r.blocks=e.blocks.map(n=>({...n,html:void 0})),r.idCounter=e.idCounter,r}}});function Rtl(t,e){if(e.length===0)return;let r=new Map(e.map(a=>[a.label,a])),n=document.createTreeWalker(t,NodeFilter.SHOW_TEXT),o=[],i=n.nextNode();for(;i;)o.push(i),i=n.nextNode();for(let a of o){let s=a.parentElement;if(!s||s.closest("code, pre, a, .md-footnotes-container"))continue;let l=a.nodeValue||"";if(!l.includes("[^"))continue;let u=document.createDocumentFragment(),f=/\[\^([^\]]+)\]/g,h=0,d=!1,p;for(;(p=f.exec(l))!==null;){let m=p[1],g=r.get(m);if(!g)continue;d=!0,p.index>h&&u.appendChild(document.createTextNode(l.slice(h,p.index)));let y=document.createElement("sup");y.className="footnote-ref";let b=document.createElement("a");b.href=`#${g.anchorId}`,b.id=`footnote-ref-${g.label}`,b.textContent=`[${g.label}]`,y.appendChild(b),u.appendChild(y),h=p.index+p[0].length}d&&(h<l.length&&u.appendChild(document.createTextNode(l.slice(h))),a.parentNode?.replaceChild(u,a))}}async function Mtl(t,e){let r=j2e(Wht(t)),n=await e.process(r);return Zht(String(n))}function Ftl(t,e){let r=`<span class="footnote-label">[${t}]</span>`;return e.trim()?/^<p[\s>]/i.test(e.trim())?e.replace(/<p([^>]*)>/i,`<p$1>${r} `):`<p>${r} ${e}</p>`:`<p>${r}</p>`}async function rdt(t,e,r){if(t.querySelectorAll(".md-footnotes-container").forEach(i=>i.remove()),e.definitions.length===0)return;Rtl(t,e.definitions);let n=document.createElement("div");n.className="md-block md-footnotes-container footnotes-endnotes-block";let o=[];for(let i of e.definitions){let a=await Mtl(i.content,r);o.push([` <li class="footnote-item" id="${i.anchorId}">`,` <div class="footnote-content">${Ftl(i.label,a)}</div>`," </li>"].join(`
|
|
3862
3862
|
`))}n.innerHTML=['<section class="footnotes">',' <h2 id="footnotes">Footnotes</h2>'," <ul>",...o," </ul>","</section>"].join(`
|
|
3863
|
-
`),t.appendChild(n)}var t2r=be(()=>{"use strict";x();G2e();Tht()});function pTo(){return H2e||(H2e=new tdt),H2e}function ndt(){H2e=null}function Wbr(t){if(!H2e)return;let e=document.querySelectorAll("[data-block-id]");for(let r of Array.from(e)){let n=r.getAttribute("data-block-id");if(!n)continue;r.querySelector('[data-plugin-rendered="true"]')&&H2e.setBlockHtmlById(n,r.innerHTML)}}async function odt(t){let{markdown:e,container:r,renderer:n,translate:o,taskManager:i,clearContainer:a=!0,onHeadings:s,onHeadingPresenceKnown:l,onChunkComplete:u,onStreamingComplete:f,frontmatterDisplay:h="hide",tableMergeEmpty:d=!1,tableLayout:p="center"}=t,m=i??new Zle(o),g=L2e(e),y=mFe(g),b=y.bodyMarkdown,w=r.childNodes.length===0||a;w&&a&&(ndt(),r.innerHTML="");let C=pTo(),S=C.update(b);l?.(cTo(C.getBlocks()));let k=new QO,T=Qht(n,m,o,{tableMergeEmpty:d,slugger:k});w?await jtl(C,T,r,m,h,s,u):(await Ptl(C,T,r,S.commands,m,h),Otl(r)),await rdt(r,y,T),f?.();let D=e2r(r);return s?.(D),m.isAborted()?{title:Qbr(e),headings:D,taskManager:m}:{title:Qbr(b),headings:D,taskManager:m}}async function jtl(t,e,r,n,o,i,a){let s=t.getBlocks(),l=0,u=Itl,f=0;for(let h=0;h<s.length;h++){if(n.isAborted())return;let d=s[h];if(Xht(d.content,d.startLine)){let g="";if(o==="table"){let b=Yht(d.content);g=Kht(b)}else o==="raw"&&(g=Jht(d.content));if(!g)continue;t.setBlockHtml(h,g);let y=document.createElement("div");y.className="md-block",y.innerHTML=g,dTo(y,d),r.appendChild(y),l+=d.lineCount;continue}let p=await r2r(d.content,e);t.setBlockHtml(h,p);let m=document.createElement("div");if(m.className="md-block",m.innerHTML=p,dTo(m,d),r.appendChild(m),l+=d.lineCount,l>=u||h===s.length-1){if(await Btl(),i){let g=e2r(r);i(g)}a?.(),l=0,u*=Ltl,f=h+1}}}async function Ptl(t,e,r,n,o,i){for(let a of n){if(o.isAborted())return;if(a.type==="append"||a.type==="insertBefore"){let s=t.getBlockById(a.blockId);if(s&&!s.html)if(Xht(s.content,s.startLine)){let l="";if(i==="table"){let u=Yht(s.content);l=Kht(u)}else i==="raw"&&(l=Jht(s.content));if(!l){a.type="remove";continue}t.setBlockHtmlById(a.blockId,l),a.html=l}else{let l=await r2r(s.content,e);t.setBlockHtmlById(a.blockId,l),a.html=l}else s?.html&&(a.html=s.html)}else if(a.type==="replace"){let s=t.getBlockById(a.blockId);if(s)if(Xht(s.content,s.startLine)){let l="";if(i==="table"){let u=Yht(s.content);l=Kht(u)}else i==="raw"&&(l=Jht(s.content));t.setBlockHtmlById(a.blockId,l),a.html=l}else{let l=await r2r(s.content,e);t.setBlockHtmlById(a.blockId,l),a.html=l}}}fTo(r,n,document)}function Otl(t){let e=new QO;t.querySelectorAll("h1, h2, h3, h4, h5, h6").forEach(n=>{let o=n.textContent||"";n.id=e.slug(o)})}async function r2r(t,e){let
|
|
3863
|
+
`),t.appendChild(n)}var t2r=be(()=>{"use strict";x();G2e();Tht()});function pTo(){return H2e||(H2e=new tdt),H2e}function ndt(){H2e=null}function Wbr(t){if(!H2e)return;let e=document.querySelectorAll("[data-block-id]");for(let r of Array.from(e)){let n=r.getAttribute("data-block-id");if(!n)continue;r.querySelector('[data-plugin-rendered="true"]')&&H2e.setBlockHtmlById(n,r.innerHTML)}}async function odt(t){let{markdown:e,container:r,renderer:n,translate:o,taskManager:i,clearContainer:a=!0,onHeadings:s,onHeadingPresenceKnown:l,onChunkComplete:u,onStreamingComplete:f,frontmatterDisplay:h="hide",tableMergeEmpty:d=!1,tableLayout:p="center"}=t,m=i??new Zle(o),g=L2e(e),y=mFe(g),b=y.bodyMarkdown,w=r.childNodes.length===0||a;w&&a&&(ndt(),r.innerHTML="");let C=pTo(),S=C.update(b);l?.(cTo(C.getBlocks()));let k=new QO,T=Qht(n,m,o,{tableMergeEmpty:d,slugger:k});w?await jtl(C,T,r,m,h,s,u):(await Ptl(C,T,r,S.commands,m,h),Otl(r)),await rdt(r,y,T),f?.();let D=e2r(r);return s?.(D),m.isAborted()?{title:Qbr(e),headings:D,taskManager:m}:{title:Qbr(b),headings:D,taskManager:m}}async function jtl(t,e,r,n,o,i,a){let s=t.getBlocks(),l=0,u=Itl,f=0;for(let h=0;h<s.length;h++){if(n.isAborted())return;let d=s[h];if(Xht(d.content,d.startLine)){let g="";if(o==="table"){let b=Yht(d.content);g=Kht(b)}else o==="raw"&&(g=Jht(d.content));if(!g)continue;t.setBlockHtml(h,g);let y=document.createElement("div");y.className="md-block",y.innerHTML=g,dTo(y,d),r.appendChild(y),l+=d.lineCount;continue}let p=await r2r(d.content,e,n,d.startLine);t.setBlockHtml(h,p);let m=document.createElement("div");if(m.className="md-block",m.innerHTML=p,dTo(m,d),r.appendChild(m),l+=d.lineCount,l>=u||h===s.length-1){if(await Btl(),i){let g=e2r(r);i(g)}a?.(),l=0,u*=Ltl,f=h+1}}}async function Ptl(t,e,r,n,o,i){for(let a of n){if(o.isAborted())return;if(a.type==="append"||a.type==="insertBefore"){let s=t.getBlockById(a.blockId);if(s&&!s.html)if(Xht(s.content,s.startLine)){let l="";if(i==="table"){let u=Yht(s.content);l=Kht(u)}else i==="raw"&&(l=Jht(s.content));if(!l){a.type="remove";continue}t.setBlockHtmlById(a.blockId,l),a.html=l}else{let l=await r2r(s.content,e,o,s.startLine);t.setBlockHtmlById(a.blockId,l),a.html=l}else s?.html&&(a.html=s.html)}else if(a.type==="replace"){let s=t.getBlockById(a.blockId);if(s)if(Xht(s.content,s.startLine)){let l="";if(i==="table"){let u=Yht(s.content);l=Kht(u)}else i==="raw"&&(l=Jht(s.content));t.setBlockHtmlById(a.blockId,l),a.html=l}else{let l=await r2r(s.content,e,o,s.startLine);t.setBlockHtmlById(a.blockId,l),a.html=l}}}fTo(r,n,document)}function Otl(t){let e=new QO;t.querySelectorAll("h1, h2, h3, h4, h5, h6").forEach(n=>{let o=n.textContent||"";n.id=e.slug(o)})}async function r2r(t,e,r,n){r.setBlockStartLine(n);let o=j2e(Wht(t)),i=await e.process(o),a=String(i);return a=Zht(a),a}function dTo(t,e){t.setAttribute("data-block-id",e.id),t.setAttribute("data-block-hash",e.hash),t.setAttribute("data-line",String(e.startLine)),e.lineCount>0&&t.setAttribute("data-line-count",String(e.lineCount)),t.classList.add("code-line")}function Btl(){return new Promise(t=>{typeof requestAnimationFrame<"u"?requestAnimationFrame(()=>t()):setTimeout(t,0)})}var H2e,Itl,Ltl,Uht=be(()=>{"use strict";x();G2e();Tht();hTo();Vht();_ht();t2r();Ult();kht();H2e=null;Itl=50,Ltl=2});var yTo=ut((gTo,n2r)=>{x();(function(t){typeof gTo=="object"&&typeof n2r<"u"?n2r.exports=t():typeof define=="function"&&define.amd?define([],t):(typeof window<"u"?window:typeof globalThis<"u"?globalThis:typeof self<"u"?self:this).JSZip=t()})(function(){return(function t(e,r,n){function o(s,l){if(!r[s]){if(!e[s]){var u=typeof Ym=="function"&&Ym;if(!l&&u)return u(s,!0);if(i)return i(s,!0);var f=new Error("Cannot find module '"+s+"'");throw f.code="MODULE_NOT_FOUND",f}var h=r[s]={exports:{}};e[s][0].call(h.exports,function(d){var p=e[s][1][d];return o(p||d)},h,h.exports,t,e,r,n)}return r[s].exports}for(var i=typeof Ym=="function"&&Ym,a=0;a<n.length;a++)o(n[a]);return o})({1:[function(t,e,r){"use strict";var n=t("./utils"),o=t("./support"),i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";r.encode=function(a){for(var s,l,u,f,h,d,p,m=[],g=0,y=a.length,b=y,w=n.getTypeOf(a)!=="string";g<a.length;)b=y-g,u=w?(s=a[g++],l=g<y?a[g++]:0,g<y?a[g++]:0):(s=a.charCodeAt(g++),l=g<y?a.charCodeAt(g++):0,g<y?a.charCodeAt(g++):0),f=s>>2,h=(3&s)<<4|l>>4,d=1<b?(15&l)<<2|u>>6:64,p=2<b?63&u:64,m.push(i.charAt(f)+i.charAt(h)+i.charAt(d)+i.charAt(p));return m.join("")},r.decode=function(a){var s,l,u,f,h,d,p=0,m=0,g="data:";if(a.substr(0,g.length)===g)throw new Error("Invalid base64 input, it looks like a data url.");var y,b=3*(a=a.replace(/[^A-Za-z0-9+/=]/g,"")).length/4;if(a.charAt(a.length-1)===i.charAt(64)&&b--,a.charAt(a.length-2)===i.charAt(64)&&b--,b%1!=0)throw new Error("Invalid base64 input, bad content length.");for(y=o.uint8array?new Uint8Array(0|b):new Array(0|b);p<a.length;)s=i.indexOf(a.charAt(p++))<<2|(f=i.indexOf(a.charAt(p++)))>>4,l=(15&f)<<4|(h=i.indexOf(a.charAt(p++)))>>2,u=(3&h)<<6|(d=i.indexOf(a.charAt(p++))),y[m++]=s,h!==64&&(y[m++]=l),d!==64&&(y[m++]=u);return y}},{"./support":30,"./utils":32}],2:[function(t,e,r){"use strict";var n=t("./external"),o=t("./stream/DataWorker"),i=t("./stream/Crc32Probe"),a=t("./stream/DataLengthProbe");function s(l,u,f,h,d){this.compressedSize=l,this.uncompressedSize=u,this.crc32=f,this.compression=h,this.compressedContent=d}s.prototype={getContentWorker:function(){var l=new o(n.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new a("data_length")),u=this;return l.on("end",function(){if(this.streamInfo.data_length!==u.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")}),l},getCompressedWorker:function(){return new o(n.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},s.createWorkerFrom=function(l,u,f){return l.pipe(new i).pipe(new a("uncompressedSize")).pipe(u.compressWorker(f)).pipe(new a("compressedSize")).withStreamInfo("compression",u)},e.exports=s},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(t,e,r){"use strict";var n=t("./stream/GenericWorker");r.STORE={magic:"\0\0",compressWorker:function(){return new n("STORE compression")},uncompressWorker:function(){return new n("STORE decompression")}},r.DEFLATE=t("./flate")},{"./flate":7,"./stream/GenericWorker":28}],4:[function(t,e,r){"use strict";var n=t("./utils"),o=(function(){for(var i,a=[],s=0;s<256;s++){i=s;for(var l=0;l<8;l++)i=1&i?3988292384^i>>>1:i>>>1;a[s]=i}return a})();e.exports=function(i,a){return i!==void 0&&i.length?n.getTypeOf(i)!=="string"?(function(s,l,u,f){var h=o,d=f+u;s^=-1;for(var p=f;p<d;p++)s=s>>>8^h[255&(s^l[p])];return-1^s})(0|a,i,i.length,0):(function(s,l,u,f){var h=o,d=f+u;s^=-1;for(var p=f;p<d;p++)s=s>>>8^h[255&(s^l.charCodeAt(p))];return-1^s})(0|a,i,i.length,0):0}},{"./utils":32}],5:[function(t,e,r){"use strict";r.base64=!1,r.binary=!1,r.dir=!1,r.createFolders=!0,r.date=null,r.compression=null,r.compressionOptions=null,r.comment=null,r.unixPermissions=null,r.dosPermissions=null},{}],6:[function(t,e,r){"use strict";var n=null;n=typeof Promise<"u"?Promise:t("lie"),e.exports={Promise:n}},{lie:37}],7:[function(t,e,r){"use strict";var n=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Uint32Array<"u",o=t("pako"),i=t("./utils"),a=t("./stream/GenericWorker"),s=n?"uint8array":"array";function l(u,f){a.call(this,"FlateWorker/"+u),this._pako=null,this._pakoAction=u,this._pakoOptions=f,this.meta={}}r.magic="\b\0",i.inherits(l,a),l.prototype.processChunk=function(u){this.meta=u.meta,this._pako===null&&this._createPako(),this._pako.push(i.transformTo(s,u.data),!1)},l.prototype.flush=function(){a.prototype.flush.call(this),this._pako===null&&this._createPako(),this._pako.push([],!0)},l.prototype.cleanUp=function(){a.prototype.cleanUp.call(this),this._pako=null},l.prototype._createPako=function(){this._pako=new o[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var u=this;this._pako.onData=function(f){u.push({data:f,meta:u.meta})}},r.compressWorker=function(u){return new l("Deflate",u)},r.uncompressWorker=function(){return new l("Inflate",{})}},{"./stream/GenericWorker":28,"./utils":32,pako:38}],8:[function(t,e,r){"use strict";function n(h,d){var p,m="";for(p=0;p<d;p++)m+=String.fromCharCode(255&h),h>>>=8;return m}function o(h,d,p,m,g,y){var b,w,C=h.file,S=h.compression,k=y!==s.utf8encode,T=i.transformTo("string",y(C.name)),D=i.transformTo("string",s.utf8encode(C.name)),R=C.comment,M=i.transformTo("string",y(R)),j=i.transformTo("string",s.utf8encode(R)),P=D.length!==C.name.length,L=j.length!==R.length,O="",B="",N="",$=C.dir,V=C.date,W={crc32:0,compressedSize:0,uncompressedSize:0};d&&!p||(W.crc32=h.crc32,W.compressedSize=h.compressedSize,W.uncompressedSize=h.uncompressedSize);var q=0;d&&(q|=8),k||!P&&!L||(q|=2048);var X=0,ee=0;$&&(X|=16),g==="UNIX"?(ee=798,X|=(function(Q,de){var pe=Q;return Q||(pe=de?16893:33204),(65535&pe)<<16})(C.unixPermissions,$)):(ee=20,X|=(function(Q){return 63&(Q||0)})(C.dosPermissions)),b=V.getUTCHours(),b<<=6,b|=V.getUTCMinutes(),b<<=5,b|=V.getUTCSeconds()/2,w=V.getUTCFullYear()-1980,w<<=4,w|=V.getUTCMonth()+1,w<<=5,w|=V.getUTCDate(),P&&(B=n(1,1)+n(l(T),4)+D,O+="up"+n(B.length,2)+B),L&&(N=n(1,1)+n(l(M),4)+j,O+="uc"+n(N.length,2)+N);var K="";return K+=`
|
|
3864
3864
|
\0`,K+=n(q,2),K+=S.magic,K+=n(b,2),K+=n(w,2),K+=n(W.crc32,4),K+=n(W.compressedSize,4),K+=n(W.uncompressedSize,4),K+=n(T.length,2),K+=n(O.length,2),{fileRecord:u.LOCAL_FILE_HEADER+K+T+O,dirRecord:u.CENTRAL_FILE_HEADER+n(ee,2)+K+n(M.length,2)+"\0\0\0\0"+n(X,4)+n(m,4)+T+O+M}}var i=t("../utils"),a=t("../stream/GenericWorker"),s=t("../utf8"),l=t("../crc32"),u=t("../signature");function f(h,d,p,m){a.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=d,this.zipPlatform=p,this.encodeFileName=m,this.streamFiles=h,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}i.inherits(f,a),f.prototype.push=function(h){var d=h.meta.percent||0,p=this.entriesCount,m=this._sources.length;this.accumulate?this.contentBuffer.push(h):(this.bytesWritten+=h.data.length,a.prototype.push.call(this,{data:h.data,meta:{currentFile:this.currentFile,percent:p?(d+100*(p-m-1))/p:100}}))},f.prototype.openedSource=function(h){this.currentSourceOffset=this.bytesWritten,this.currentFile=h.file.name;var d=this.streamFiles&&!h.file.dir;if(d){var p=o(h,d,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:p.fileRecord,meta:{percent:0}})}else this.accumulate=!0},f.prototype.closedSource=function(h){this.accumulate=!1;var d=this.streamFiles&&!h.file.dir,p=o(h,d,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(p.dirRecord),d)this.push({data:(function(m){return u.DATA_DESCRIPTOR+n(m.crc32,4)+n(m.compressedSize,4)+n(m.uncompressedSize,4)})(h),meta:{percent:100}});else for(this.push({data:p.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},f.prototype.flush=function(){for(var h=this.bytesWritten,d=0;d<this.dirRecords.length;d++)this.push({data:this.dirRecords[d],meta:{percent:100}});var p=this.bytesWritten-h,m=(function(g,y,b,w,C){var S=i.transformTo("string",C(w));return u.CENTRAL_DIRECTORY_END+"\0\0\0\0"+n(g,2)+n(g,2)+n(y,4)+n(b,4)+n(S.length,2)+S})(this.dirRecords.length,p,h,this.zipComment,this.encodeFileName);this.push({data:m,meta:{percent:100}})},f.prototype.prepareNextSource=function(){this.previous=this._sources.shift(),this.openedSource(this.previous.streamInfo),this.isPaused?this.previous.pause():this.previous.resume()},f.prototype.registerPrevious=function(h){this._sources.push(h);var d=this;return h.on("data",function(p){d.processChunk(p)}),h.on("end",function(){d.closedSource(d.previous.streamInfo),d._sources.length?d.prepareNextSource():d.end()}),h.on("error",function(p){d.error(p)}),this},f.prototype.resume=function(){return!!a.prototype.resume.call(this)&&(!this.previous&&this._sources.length?(this.prepareNextSource(),!0):this.previous||this._sources.length||this.generatedError?void 0:(this.end(),!0))},f.prototype.error=function(h){var d=this._sources;if(!a.prototype.error.call(this,h))return!1;for(var p=0;p<d.length;p++)try{d[p].error(h)}catch{}return!0},f.prototype.lock=function(){a.prototype.lock.call(this);for(var h=this._sources,d=0;d<h.length;d++)h[d].lock()},e.exports=f},{"../crc32":4,"../signature":23,"../stream/GenericWorker":28,"../utf8":31,"../utils":32}],9:[function(t,e,r){"use strict";var n=t("../compressions"),o=t("./ZipFileWorker");r.generateWorker=function(i,a,s){var l=new o(a.streamFiles,s,a.platform,a.encodeFileName),u=0;try{i.forEach(function(f,h){u++;var d=(function(y,b){var w=y||b,C=n[w];if(!C)throw new Error(w+" is not a valid compression method !");return C})(h.options.compression,a.compression),p=h.options.compressionOptions||a.compressionOptions||{},m=h.dir,g=h.date;h._compressWorker(d,p).withStreamInfo("file",{name:f,dir:m,date:g,comment:h.comment||"",unixPermissions:h.unixPermissions,dosPermissions:h.dosPermissions}).pipe(l)}),l.entriesCount=u}catch(f){l.error(f)}return l}},{"../compressions":3,"./ZipFileWorker":8}],10:[function(t,e,r){"use strict";function n(){if(!(this instanceof n))return new n;if(arguments.length)throw new Error("The constructor with parameters has been removed in JSZip 3.0, please check the upgrade guide.");this.files=Object.create(null),this.comment=null,this.root="",this.clone=function(){var o=new n;for(var i in this)typeof this[i]!="function"&&(o[i]=this[i]);return o}}(n.prototype=t("./object")).loadAsync=t("./load"),n.support=t("./support"),n.defaults=t("./defaults"),n.version="3.10.1",n.loadAsync=function(o,i){return new n().loadAsync(o,i)},n.external=t("./external"),e.exports=n},{"./defaults":5,"./external":6,"./load":11,"./object":15,"./support":30}],11:[function(t,e,r){"use strict";var n=t("./utils"),o=t("./external"),i=t("./utf8"),a=t("./zipEntries"),s=t("./stream/Crc32Probe"),l=t("./nodejsUtils");function u(f){return new o.Promise(function(h,d){var p=f.decompressed.getContentWorker().pipe(new s);p.on("error",function(m){d(m)}).on("end",function(){p.streamInfo.crc32!==f.decompressed.crc32?d(new Error("Corrupted zip : CRC32 mismatch")):h()}).resume()})}e.exports=function(f,h){var d=this;return h=n.extend(h||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:i.utf8decode}),l.isNode&&l.isStream(f)?o.Promise.reject(new Error("JSZip can't accept a stream when loading a zip file.")):n.prepareContent("the loaded zip file",f,!0,h.optimizedBinaryString,h.base64).then(function(p){var m=new a(h);return m.load(p),m}).then(function(p){var m=[o.Promise.resolve(p)],g=p.files;if(h.checkCRC32)for(var y=0;y<g.length;y++)m.push(u(g[y]));return o.Promise.all(m)}).then(function(p){for(var m=p.shift(),g=m.files,y=0;y<g.length;y++){var b=g[y],w=b.fileNameStr,C=n.resolve(b.fileNameStr);d.file(C,b.decompressed,{binary:!0,optimizedBinaryString:!0,date:b.date,dir:b.dir,comment:b.fileCommentStr.length?b.fileCommentStr:null,unixPermissions:b.unixPermissions,dosPermissions:b.dosPermissions,createFolders:h.createFolders}),b.dir||(d.file(C).unsafeOriginalName=w)}return m.zipComment.length&&(d.comment=m.zipComment),d})}},{"./external":6,"./nodejsUtils":14,"./stream/Crc32Probe":25,"./utf8":31,"./utils":32,"./zipEntries":33}],12:[function(t,e,r){"use strict";var n=t("../utils"),o=t("../stream/GenericWorker");function i(a,s){o.call(this,"Nodejs stream input adapter for "+a),this._upstreamEnded=!1,this._bindStream(s)}n.inherits(i,o),i.prototype._bindStream=function(a){var s=this;(this._stream=a).pause(),a.on("data",function(l){s.push({data:l,meta:{percent:0}})}).on("error",function(l){s.isPaused?this.generatedError=l:s.error(l)}).on("end",function(){s.isPaused?s._upstreamEnded=!0:s.end()})},i.prototype.pause=function(){return!!o.prototype.pause.call(this)&&(this._stream.pause(),!0)},i.prototype.resume=function(){return!!o.prototype.resume.call(this)&&(this._upstreamEnded?this.end():this._stream.resume(),!0)},e.exports=i},{"../stream/GenericWorker":28,"../utils":32}],13:[function(t,e,r){"use strict";var n=t("readable-stream").Readable;function o(i,a,s){n.call(this,a),this._helper=i;var l=this;i.on("data",function(u,f){l.push(u)||l._helper.pause(),s&&s(f)}).on("error",function(u){l.emit("error",u)}).on("end",function(){l.push(null)})}t("../utils").inherits(o,n),o.prototype._read=function(){this._helper.resume()},e.exports=o},{"../utils":32,"readable-stream":16}],14:[function(t,e,r){"use strict";e.exports={isNode:typeof I<"u",newBufferFrom:function(n,o){if(I.from&&I.from!==Uint8Array.from)return I.from(n,o);if(typeof n=="number")throw new Error('The "data" argument must not be a number');return new I(n,o)},allocBuffer:function(n){if(I.alloc)return I.alloc(n);var o=new I(n);return o.fill(0),o},isBuffer:function(n){return I.isBuffer(n)},isStream:function(n){return n&&typeof n.on=="function"&&typeof n.pause=="function"&&typeof n.resume=="function"}}},{}],15:[function(t,e,r){"use strict";function n(C,S,k){var T,D=i.getTypeOf(S),R=i.extend(k||{},l);R.date=R.date||new Date,R.compression!==null&&(R.compression=R.compression.toUpperCase()),typeof R.unixPermissions=="string"&&(R.unixPermissions=parseInt(R.unixPermissions,8)),R.unixPermissions&&16384&R.unixPermissions&&(R.dir=!0),R.dosPermissions&&16&R.dosPermissions&&(R.dir=!0),R.dir&&(C=g(C)),R.createFolders&&(T=m(C))&&y.call(this,T,!0);var M=D==="string"&&R.binary===!1&&R.base64===!1;k&&k.binary!==void 0||(R.binary=!M),(S instanceof u&&S.uncompressedSize===0||R.dir||!S||S.length===0)&&(R.base64=!1,R.binary=!0,S="",R.compression="STORE",D="string");var j=null;j=S instanceof u||S instanceof a?S:d.isNode&&d.isStream(S)?new p(C,S):i.prepareContent(C,S,R.binary,R.optimizedBinaryString,R.base64);var P=new f(C,j,R);this.files[C]=P}var o=t("./utf8"),i=t("./utils"),a=t("./stream/GenericWorker"),s=t("./stream/StreamHelper"),l=t("./defaults"),u=t("./compressedObject"),f=t("./zipObject"),h=t("./generate"),d=t("./nodejsUtils"),p=t("./nodejs/NodejsStreamInputAdapter"),m=function(C){C.slice(-1)==="/"&&(C=C.substring(0,C.length-1));var S=C.lastIndexOf("/");return 0<S?C.substring(0,S):""},g=function(C){return C.slice(-1)!=="/"&&(C+="/"),C},y=function(C,S){return S=S!==void 0?S:l.createFolders,C=g(C),this.files[C]||n.call(this,C,null,{dir:!0,createFolders:S}),this.files[C]};function b(C){return Object.prototype.toString.call(C)==="[object RegExp]"}var w={load:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},forEach:function(C){var S,k,T;for(S in this.files)T=this.files[S],(k=S.slice(this.root.length,S.length))&&S.slice(0,this.root.length)===this.root&&C(k,T)},filter:function(C){var S=[];return this.forEach(function(k,T){C(k,T)&&S.push(T)}),S},file:function(C,S,k){if(arguments.length!==1)return C=this.root+C,n.call(this,C,S,k),this;if(b(C)){var T=C;return this.filter(function(R,M){return!M.dir&&T.test(R)})}var D=this.files[this.root+C];return D&&!D.dir?D:null},folder:function(C){if(!C)return this;if(b(C))return this.filter(function(D,R){return R.dir&&C.test(D)});var S=this.root+C,k=y.call(this,S),T=this.clone();return T.root=k.name,T},remove:function(C){C=this.root+C;var S=this.files[C];if(S||(C.slice(-1)!=="/"&&(C+="/"),S=this.files[C]),S&&!S.dir)delete this.files[C];else for(var k=this.filter(function(D,R){return R.name.slice(0,C.length)===C}),T=0;T<k.length;T++)delete this.files[k[T].name];return this},generate:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},generateInternalStream:function(C){var S,k={};try{if((k=i.extend(C||{},{streamFiles:!1,compression:"STORE",compressionOptions:null,type:"",platform:"DOS",comment:null,mimeType:"application/zip",encodeFileName:o.utf8encode})).type=k.type.toLowerCase(),k.compression=k.compression.toUpperCase(),k.type==="binarystring"&&(k.type="string"),!k.type)throw new Error("No output type specified.");i.checkSupport(k.type),k.platform!=="darwin"&&k.platform!=="freebsd"&&k.platform!=="linux"&&k.platform!=="sunos"||(k.platform="UNIX"),k.platform==="win32"&&(k.platform="DOS");var T=k.comment||this.comment||"";S=h.generateWorker(this,k,T)}catch(D){(S=new a("error")).error(D)}return new s(S,k.type||"string",k.mimeType)},generateAsync:function(C,S){return this.generateInternalStream(C).accumulate(S)},generateNodeStream:function(C,S){return(C=C||{}).type||(C.type="nodebuffer"),this.generateInternalStream(C).toNodejsStream(S)}};e.exports=w},{"./compressedObject":2,"./defaults":5,"./generate":9,"./nodejs/NodejsStreamInputAdapter":12,"./nodejsUtils":14,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31,"./utils":32,"./zipObject":35}],16:[function(t,e,r){"use strict";e.exports=t("stream")},{stream:void 0}],17:[function(t,e,r){"use strict";var n=t("./DataReader");function o(i){n.call(this,i);for(var a=0;a<this.data.length;a++)i[a]=255&i[a]}t("../utils").inherits(o,n),o.prototype.byteAt=function(i){return this.data[this.zero+i]},o.prototype.lastIndexOfSignature=function(i){for(var a=i.charCodeAt(0),s=i.charCodeAt(1),l=i.charCodeAt(2),u=i.charCodeAt(3),f=this.length-4;0<=f;--f)if(this.data[f]===a&&this.data[f+1]===s&&this.data[f+2]===l&&this.data[f+3]===u)return f-this.zero;return-1},o.prototype.readAndCheckSignature=function(i){var a=i.charCodeAt(0),s=i.charCodeAt(1),l=i.charCodeAt(2),u=i.charCodeAt(3),f=this.readData(4);return a===f[0]&&s===f[1]&&l===f[2]&&u===f[3]},o.prototype.readData=function(i){if(this.checkOffset(i),i===0)return[];var a=this.data.slice(this.zero+this.index,this.zero+this.index+i);return this.index+=i,a},e.exports=o},{"../utils":32,"./DataReader":18}],18:[function(t,e,r){"use strict";var n=t("../utils");function o(i){this.data=i,this.length=i.length,this.index=0,this.zero=0}o.prototype={checkOffset:function(i){this.checkIndex(this.index+i)},checkIndex:function(i){if(this.length<this.zero+i||i<0)throw new Error("End of data reached (data length = "+this.length+", asked index = "+i+"). Corrupted zip ?")},setIndex:function(i){this.checkIndex(i),this.index=i},skip:function(i){this.setIndex(this.index+i)},byteAt:function(){},readInt:function(i){var a,s=0;for(this.checkOffset(i),a=this.index+i-1;a>=this.index;a--)s=(s<<8)+this.byteAt(a);return this.index+=i,s},readString:function(i){return n.transformTo("string",this.readData(i))},readData:function(){},lastIndexOfSignature:function(){},readAndCheckSignature:function(){},readDate:function(){var i=this.readInt(4);return new Date(Date.UTC(1980+(i>>25&127),(i>>21&15)-1,i>>16&31,i>>11&31,i>>5&63,(31&i)<<1))}},e.exports=o},{"../utils":32}],19:[function(t,e,r){"use strict";var n=t("./Uint8ArrayReader");function o(i){n.call(this,i)}t("../utils").inherits(o,n),o.prototype.readData=function(i){this.checkOffset(i);var a=this.data.slice(this.zero+this.index,this.zero+this.index+i);return this.index+=i,a},e.exports=o},{"../utils":32,"./Uint8ArrayReader":21}],20:[function(t,e,r){"use strict";var n=t("./DataReader");function o(i){n.call(this,i)}t("../utils").inherits(o,n),o.prototype.byteAt=function(i){return this.data.charCodeAt(this.zero+i)},o.prototype.lastIndexOfSignature=function(i){return this.data.lastIndexOf(i)-this.zero},o.prototype.readAndCheckSignature=function(i){return i===this.readData(4)},o.prototype.readData=function(i){this.checkOffset(i);var a=this.data.slice(this.zero+this.index,this.zero+this.index+i);return this.index+=i,a},e.exports=o},{"../utils":32,"./DataReader":18}],21:[function(t,e,r){"use strict";var n=t("./ArrayReader");function o(i){n.call(this,i)}t("../utils").inherits(o,n),o.prototype.readData=function(i){if(this.checkOffset(i),i===0)return new Uint8Array(0);var a=this.data.subarray(this.zero+this.index,this.zero+this.index+i);return this.index+=i,a},e.exports=o},{"../utils":32,"./ArrayReader":17}],22:[function(t,e,r){"use strict";var n=t("../utils"),o=t("../support"),i=t("./ArrayReader"),a=t("./StringReader"),s=t("./NodeBufferReader"),l=t("./Uint8ArrayReader");e.exports=function(u){var f=n.getTypeOf(u);return n.checkSupport(f),f!=="string"||o.uint8array?f==="nodebuffer"?new s(u):o.uint8array?new l(n.transformTo("uint8array",u)):new i(n.transformTo("array",u)):new a(u)}},{"../support":30,"../utils":32,"./ArrayReader":17,"./NodeBufferReader":19,"./StringReader":20,"./Uint8ArrayReader":21}],23:[function(t,e,r){"use strict";r.LOCAL_FILE_HEADER="PK",r.CENTRAL_FILE_HEADER="PK",r.CENTRAL_DIRECTORY_END="PK",r.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK\x07",r.ZIP64_CENTRAL_DIRECTORY_END="PK",r.DATA_DESCRIPTOR="PK\x07\b"},{}],24:[function(t,e,r){"use strict";var n=t("./GenericWorker"),o=t("../utils");function i(a){n.call(this,"ConvertWorker to "+a),this.destType=a}o.inherits(i,n),i.prototype.processChunk=function(a){this.push({data:o.transformTo(this.destType,a.data),meta:a.meta})},e.exports=i},{"../utils":32,"./GenericWorker":28}],25:[function(t,e,r){"use strict";var n=t("./GenericWorker"),o=t("../crc32");function i(){n.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}t("../utils").inherits(i,n),i.prototype.processChunk=function(a){this.streamInfo.crc32=o(a.data,this.streamInfo.crc32||0),this.push(a)},e.exports=i},{"../crc32":4,"../utils":32,"./GenericWorker":28}],26:[function(t,e,r){"use strict";var n=t("../utils"),o=t("./GenericWorker");function i(a){o.call(this,"DataLengthProbe for "+a),this.propName=a,this.withStreamInfo(a,0)}n.inherits(i,o),i.prototype.processChunk=function(a){if(a){var s=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=s+a.data.length}o.prototype.processChunk.call(this,a)},e.exports=i},{"../utils":32,"./GenericWorker":28}],27:[function(t,e,r){"use strict";var n=t("../utils"),o=t("./GenericWorker");function i(a){o.call(this,"DataWorker");var s=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,a.then(function(l){s.dataIsReady=!0,s.data=l,s.max=l&&l.length||0,s.type=n.getTypeOf(l),s.isPaused||s._tickAndRepeat()},function(l){s.error(l)})}n.inherits(i,o),i.prototype.cleanUp=function(){o.prototype.cleanUp.call(this),this.data=null},i.prototype.resume=function(){return!!o.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,n.delay(this._tickAndRepeat,[],this)),!0)},i.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(n.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},i.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var a=null,s=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case"string":a=this.data.substring(this.index,s);break;case"uint8array":a=this.data.subarray(this.index,s);break;case"array":case"nodebuffer":a=this.data.slice(this.index,s)}return this.index=s,this.push({data:a,meta:{percent:this.max?this.index/this.max*100:0}})},e.exports=i},{"../utils":32,"./GenericWorker":28}],28:[function(t,e,r){"use strict";function n(o){this.name=o||"default",this.streamInfo={},this.generatedError=null,this.extraStreamInfo={},this.isPaused=!0,this.isFinished=!1,this.isLocked=!1,this._listeners={data:[],end:[],error:[]},this.previous=null}n.prototype={push:function(o){this.emit("data",o)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(o){this.emit("error",o)}return!0},error:function(o){return!this.isFinished&&(this.isPaused?this.generatedError=o:(this.isFinished=!0,this.emit("error",o),this.previous&&this.previous.error(o),this.cleanUp()),!0)},on:function(o,i){return this._listeners[o].push(i),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(o,i){if(this._listeners[o])for(var a=0;a<this._listeners[o].length;a++)this._listeners[o][a].call(this,i)},pipe:function(o){return o.registerPrevious(this)},registerPrevious:function(o){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.streamInfo=o.streamInfo,this.mergeStreamInfo(),this.previous=o;var i=this;return o.on("data",function(a){i.processChunk(a)}),o.on("end",function(){i.end()}),o.on("error",function(a){i.error(a)}),this},pause:function(){return!this.isPaused&&!this.isFinished&&(this.isPaused=!0,this.previous&&this.previous.pause(),!0)},resume:function(){if(!this.isPaused||this.isFinished)return!1;var o=this.isPaused=!1;return this.generatedError&&(this.error(this.generatedError),o=!0),this.previous&&this.previous.resume(),!o},flush:function(){},processChunk:function(o){this.push(o)},withStreamInfo:function(o,i){return this.extraStreamInfo[o]=i,this.mergeStreamInfo(),this},mergeStreamInfo:function(){for(var o in this.extraStreamInfo)Object.prototype.hasOwnProperty.call(this.extraStreamInfo,o)&&(this.streamInfo[o]=this.extraStreamInfo[o])},lock:function(){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.isLocked=!0,this.previous&&this.previous.lock()},toString:function(){var o="Worker "+this.name;return this.previous?this.previous+" -> "+o:o}},e.exports=n},{}],29:[function(t,e,r){"use strict";var n=t("../utils"),o=t("./ConvertWorker"),i=t("./GenericWorker"),a=t("../base64"),s=t("../support"),l=t("../external"),u=null;if(s.nodestream)try{u=t("../nodejs/NodejsStreamOutputAdapter")}catch{}function f(d,p){return new l.Promise(function(m,g){var y=[],b=d._internalType,w=d._outputType,C=d._mimeType;d.on("data",function(S,k){y.push(S),p&&p(k)}).on("error",function(S){y=[],g(S)}).on("end",function(){try{var S=(function(k,T,D){switch(k){case"blob":return n.newBlob(n.transformTo("arraybuffer",T),D);case"base64":return a.encode(T);default:return n.transformTo(k,T)}})(w,(function(k,T){var D,R=0,M=null,j=0;for(D=0;D<T.length;D++)j+=T[D].length;switch(k){case"string":return T.join("");case"array":return Array.prototype.concat.apply([],T);case"uint8array":for(M=new Uint8Array(j),D=0;D<T.length;D++)M.set(T[D],R),R+=T[D].length;return M;case"nodebuffer":return I.concat(T);default:throw new Error("concat : unsupported type '"+k+"'")}})(b,y),C);m(S)}catch(k){g(k)}y=[]}).resume()})}function h(d,p,m){var g=p;switch(p){case"blob":case"arraybuffer":g="uint8array";break;case"base64":g="string"}try{this._internalType=g,this._outputType=p,this._mimeType=m,n.checkSupport(g),this._worker=d.pipe(new o(g)),d.lock()}catch(y){this._worker=new i("error"),this._worker.error(y)}}h.prototype={accumulate:function(d){return f(this,d)},on:function(d,p){var m=this;return d==="data"?this._worker.on(d,function(g){p.call(m,g.data,g.meta)}):this._worker.on(d,function(){n.delay(p,arguments,m)}),this},resume:function(){return n.delay(this._worker.resume,[],this._worker),this},pause:function(){return this._worker.pause(),this},toNodejsStream:function(d){if(n.checkSupport("nodestream"),this._outputType!=="nodebuffer")throw new Error(this._outputType+" is not supported by this method");return new u(this,{objectMode:this._outputType!=="nodebuffer"},d)}},e.exports=h},{"../base64":1,"../external":6,"../nodejs/NodejsStreamOutputAdapter":13,"../support":30,"../utils":32,"./ConvertWorker":24,"./GenericWorker":28}],30:[function(t,e,r){"use strict";if(r.base64=!0,r.array=!0,r.string=!0,r.arraybuffer=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u",r.nodebuffer=typeof I<"u",r.uint8array=typeof Uint8Array<"u",typeof ArrayBuffer>"u")r.blob=!1;else{var n=new ArrayBuffer(0);try{r.blob=new Blob([n],{type:"application/zip"}).size===0}catch{try{var o=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);o.append(n),r.blob=o.getBlob("application/zip").size===0}catch{r.blob=!1}}}try{r.nodestream=!!t("readable-stream").Readable}catch{r.nodestream=!1}},{"readable-stream":16}],31:[function(t,e,r){"use strict";for(var n=t("./utils"),o=t("./support"),i=t("./nodejsUtils"),a=t("./stream/GenericWorker"),s=new Array(256),l=0;l<256;l++)s[l]=252<=l?6:248<=l?5:240<=l?4:224<=l?3:192<=l?2:1;s[254]=s[254]=1;function u(){a.call(this,"utf-8 decode"),this.leftOver=null}function f(){a.call(this,"utf-8 encode")}r.utf8encode=function(h){return o.nodebuffer?i.newBufferFrom(h,"utf-8"):(function(d){var p,m,g,y,b,w=d.length,C=0;for(y=0;y<w;y++)(64512&(m=d.charCodeAt(y)))==55296&&y+1<w&&(64512&(g=d.charCodeAt(y+1)))==56320&&(m=65536+(m-55296<<10)+(g-56320),y++),C+=m<128?1:m<2048?2:m<65536?3:4;for(p=o.uint8array?new Uint8Array(C):new Array(C),y=b=0;b<C;y++)(64512&(m=d.charCodeAt(y)))==55296&&y+1<w&&(64512&(g=d.charCodeAt(y+1)))==56320&&(m=65536+(m-55296<<10)+(g-56320),y++),m<128?p[b++]=m:(m<2048?p[b++]=192|m>>>6:(m<65536?p[b++]=224|m>>>12:(p[b++]=240|m>>>18,p[b++]=128|m>>>12&63),p[b++]=128|m>>>6&63),p[b++]=128|63&m);return p})(h)},r.utf8decode=function(h){return o.nodebuffer?n.transformTo("nodebuffer",h).toString("utf-8"):(function(d){var p,m,g,y,b=d.length,w=new Array(2*b);for(p=m=0;p<b;)if((g=d[p++])<128)w[m++]=g;else if(4<(y=s[g]))w[m++]=65533,p+=y-1;else{for(g&=y===2?31:y===3?15:7;1<y&&p<b;)g=g<<6|63&d[p++],y--;1<y?w[m++]=65533:g<65536?w[m++]=g:(g-=65536,w[m++]=55296|g>>10&1023,w[m++]=56320|1023&g)}return w.length!==m&&(w.subarray?w=w.subarray(0,m):w.length=m),n.applyFromCharCode(w)})(h=n.transformTo(o.uint8array?"uint8array":"array",h))},n.inherits(u,a),u.prototype.processChunk=function(h){var d=n.transformTo(o.uint8array?"uint8array":"array",h.data);if(this.leftOver&&this.leftOver.length){if(o.uint8array){var p=d;(d=new Uint8Array(p.length+this.leftOver.length)).set(this.leftOver,0),d.set(p,this.leftOver.length)}else d=this.leftOver.concat(d);this.leftOver=null}var m=(function(y,b){var w;for((b=b||y.length)>y.length&&(b=y.length),w=b-1;0<=w&&(192&y[w])==128;)w--;return w<0||w===0?b:w+s[y[w]]>b?w:b})(d),g=d;m!==d.length&&(o.uint8array?(g=d.subarray(0,m),this.leftOver=d.subarray(m,d.length)):(g=d.slice(0,m),this.leftOver=d.slice(m,d.length))),this.push({data:r.utf8decode(g),meta:h.meta})},u.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:r.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},r.Utf8DecodeWorker=u,n.inherits(f,a),f.prototype.processChunk=function(h){this.push({data:r.utf8encode(h.data),meta:h.meta})},r.Utf8EncodeWorker=f},{"./nodejsUtils":14,"./stream/GenericWorker":28,"./support":30,"./utils":32}],32:[function(t,e,r){"use strict";var n=t("./support"),o=t("./base64"),i=t("./nodejsUtils"),a=t("./external");function s(p){return p}function l(p,m){for(var g=0;g<p.length;++g)m[g]=255&p.charCodeAt(g);return m}t("setimmediate"),r.newBlob=function(p,m){r.checkSupport("blob");try{return new Blob([p],{type:m})}catch{try{var g=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);return g.append(p),g.getBlob(m)}catch{throw new Error("Bug : can't construct the Blob.")}}};var u={stringifyByChunk:function(p,m,g){var y=[],b=0,w=p.length;if(w<=g)return String.fromCharCode.apply(null,p);for(;b<w;)m==="array"||m==="nodebuffer"?y.push(String.fromCharCode.apply(null,p.slice(b,Math.min(b+g,w)))):y.push(String.fromCharCode.apply(null,p.subarray(b,Math.min(b+g,w)))),b+=g;return y.join("")},stringifyByChar:function(p){for(var m="",g=0;g<p.length;g++)m+=String.fromCharCode(p[g]);return m},applyCanBeUsed:{uint8array:(function(){try{return n.uint8array&&String.fromCharCode.apply(null,new Uint8Array(1)).length===1}catch{return!1}})(),nodebuffer:(function(){try{return n.nodebuffer&&String.fromCharCode.apply(null,i.allocBuffer(1)).length===1}catch{return!1}})()}};function f(p){var m=65536,g=r.getTypeOf(p),y=!0;if(g==="uint8array"?y=u.applyCanBeUsed.uint8array:g==="nodebuffer"&&(y=u.applyCanBeUsed.nodebuffer),y)for(;1<m;)try{return u.stringifyByChunk(p,g,m)}catch{m=Math.floor(m/2)}return u.stringifyByChar(p)}function h(p,m){for(var g=0;g<p.length;g++)m[g]=p[g];return m}r.applyFromCharCode=f;var d={};d.string={string:s,array:function(p){return l(p,new Array(p.length))},arraybuffer:function(p){return d.string.uint8array(p).buffer},uint8array:function(p){return l(p,new Uint8Array(p.length))},nodebuffer:function(p){return l(p,i.allocBuffer(p.length))}},d.array={string:f,array:s,arraybuffer:function(p){return new Uint8Array(p).buffer},uint8array:function(p){return new Uint8Array(p)},nodebuffer:function(p){return i.newBufferFrom(p)}},d.arraybuffer={string:function(p){return f(new Uint8Array(p))},array:function(p){return h(new Uint8Array(p),new Array(p.byteLength))},arraybuffer:s,uint8array:function(p){return new Uint8Array(p)},nodebuffer:function(p){return i.newBufferFrom(new Uint8Array(p))}},d.uint8array={string:f,array:function(p){return h(p,new Array(p.length))},arraybuffer:function(p){return p.buffer},uint8array:s,nodebuffer:function(p){return i.newBufferFrom(p)}},d.nodebuffer={string:f,array:function(p){return h(p,new Array(p.length))},arraybuffer:function(p){return d.nodebuffer.uint8array(p).buffer},uint8array:function(p){return h(p,new Uint8Array(p.length))},nodebuffer:s},r.transformTo=function(p,m){if(m=m||"",!p)return m;r.checkSupport(p);var g=r.getTypeOf(m);return d[g][p](m)},r.resolve=function(p){for(var m=p.split("/"),g=[],y=0;y<m.length;y++){var b=m[y];b==="."||b===""&&y!==0&&y!==m.length-1||(b===".."?g.pop():g.push(b))}return g.join("/")},r.getTypeOf=function(p){return typeof p=="string"?"string":Object.prototype.toString.call(p)==="[object Array]"?"array":n.nodebuffer&&i.isBuffer(p)?"nodebuffer":n.uint8array&&p instanceof Uint8Array?"uint8array":n.arraybuffer&&p instanceof ArrayBuffer?"arraybuffer":void 0},r.checkSupport=function(p){if(!n[p.toLowerCase()])throw new Error(p+" is not supported by this platform")},r.MAX_VALUE_16BITS=65535,r.MAX_VALUE_32BITS=-1,r.pretty=function(p){var m,g,y="";for(g=0;g<(p||"").length;g++)y+="\\x"+((m=p.charCodeAt(g))<16?"0":"")+m.toString(16).toUpperCase();return y},r.delay=function(p,m,g){setImmediate(function(){p.apply(g||null,m||[])})},r.inherits=function(p,m){function g(){}g.prototype=m.prototype,p.prototype=new g},r.extend=function(){var p,m,g={};for(p=0;p<arguments.length;p++)for(m in arguments[p])Object.prototype.hasOwnProperty.call(arguments[p],m)&&g[m]===void 0&&(g[m]=arguments[p][m]);return g},r.prepareContent=function(p,m,g,y,b){return a.Promise.resolve(m).then(function(w){return n.blob&&(w instanceof Blob||["[object File]","[object Blob]"].indexOf(Object.prototype.toString.call(w))!==-1)&&typeof FileReader<"u"?new a.Promise(function(C,S){var k=new FileReader;k.onload=function(T){C(T.target.result)},k.onerror=function(T){S(T.target.error)},k.readAsArrayBuffer(w)}):w}).then(function(w){var C=r.getTypeOf(w);return C?(C==="arraybuffer"?w=r.transformTo("uint8array",w):C==="string"&&(b?w=o.decode(w):g&&y!==!0&&(w=(function(S){return l(S,n.uint8array?new Uint8Array(S.length):new Array(S.length))})(w))),w):a.Promise.reject(new Error("Can't read the data of '"+p+"'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?"))})}},{"./base64":1,"./external":6,"./nodejsUtils":14,"./support":30,setimmediate:54}],33:[function(t,e,r){"use strict";var n=t("./reader/readerFor"),o=t("./utils"),i=t("./signature"),a=t("./zipEntry"),s=t("./support");function l(u){this.files=[],this.loadOptions=u}l.prototype={checkSignature:function(u){if(!this.reader.readAndCheckSignature(u)){this.reader.index-=4;var f=this.reader.readString(4);throw new Error("Corrupted zip or bug: unexpected signature ("+o.pretty(f)+", expected "+o.pretty(u)+")")}},isSignature:function(u,f){var h=this.reader.index;this.reader.setIndex(u);var d=this.reader.readString(4)===f;return this.reader.setIndex(h),d},readBlockEndOfCentral:function(){this.diskNumber=this.reader.readInt(2),this.diskWithCentralDirStart=this.reader.readInt(2),this.centralDirRecordsOnThisDisk=this.reader.readInt(2),this.centralDirRecords=this.reader.readInt(2),this.centralDirSize=this.reader.readInt(4),this.centralDirOffset=this.reader.readInt(4),this.zipCommentLength=this.reader.readInt(2);var u=this.reader.readData(this.zipCommentLength),f=s.uint8array?"uint8array":"array",h=o.transformTo(f,u);this.zipComment=this.loadOptions.decodeFileName(h)},readBlockZip64EndOfCentral:function(){this.zip64EndOfCentralSize=this.reader.readInt(8),this.reader.skip(4),this.diskNumber=this.reader.readInt(4),this.diskWithCentralDirStart=this.reader.readInt(4),this.centralDirRecordsOnThisDisk=this.reader.readInt(8),this.centralDirRecords=this.reader.readInt(8),this.centralDirSize=this.reader.readInt(8),this.centralDirOffset=this.reader.readInt(8),this.zip64ExtensibleData={};for(var u,f,h,d=this.zip64EndOfCentralSize-44;0<d;)u=this.reader.readInt(2),f=this.reader.readInt(4),h=this.reader.readData(f),this.zip64ExtensibleData[u]={id:u,length:f,value:h}},readBlockZip64EndOfCentralLocator:function(){if(this.diskWithZip64CentralDirStart=this.reader.readInt(4),this.relativeOffsetEndOfZip64CentralDir=this.reader.readInt(8),this.disksCount=this.reader.readInt(4),1<this.disksCount)throw new Error("Multi-volumes zip are not supported")},readLocalFiles:function(){var u,f;for(u=0;u<this.files.length;u++)f=this.files[u],this.reader.setIndex(f.localHeaderOffset),this.checkSignature(i.LOCAL_FILE_HEADER),f.readLocalPart(this.reader),f.handleUTF8(),f.processAttributes()},readCentralDir:function(){var u;for(this.reader.setIndex(this.centralDirOffset);this.reader.readAndCheckSignature(i.CENTRAL_FILE_HEADER);)(u=new a({zip64:this.zip64},this.loadOptions)).readCentralPart(this.reader),this.files.push(u);if(this.centralDirRecords!==this.files.length&&this.centralDirRecords!==0&&this.files.length===0)throw new Error("Corrupted zip or bug: expected "+this.centralDirRecords+" records in central dir, got "+this.files.length)},readEndOfCentral:function(){var u=this.reader.lastIndexOfSignature(i.CENTRAL_DIRECTORY_END);if(u<0)throw this.isSignature(0,i.LOCAL_FILE_HEADER)?new Error("Corrupted zip: can't find end of central directory"):new Error("Can't find end of central directory : is this a zip file ? If it is, see https://stuk.github.io/jszip/documentation/howto/read_zip.html");this.reader.setIndex(u);var f=u;if(this.checkSignature(i.CENTRAL_DIRECTORY_END),this.readBlockEndOfCentral(),this.diskNumber===o.MAX_VALUE_16BITS||this.diskWithCentralDirStart===o.MAX_VALUE_16BITS||this.centralDirRecordsOnThisDisk===o.MAX_VALUE_16BITS||this.centralDirRecords===o.MAX_VALUE_16BITS||this.centralDirSize===o.MAX_VALUE_32BITS||this.centralDirOffset===o.MAX_VALUE_32BITS){if(this.zip64=!0,(u=this.reader.lastIndexOfSignature(i.ZIP64_CENTRAL_DIRECTORY_LOCATOR))<0)throw new Error("Corrupted zip: can't find the ZIP64 end of central directory locator");if(this.reader.setIndex(u),this.checkSignature(i.ZIP64_CENTRAL_DIRECTORY_LOCATOR),this.readBlockZip64EndOfCentralLocator(),!this.isSignature(this.relativeOffsetEndOfZip64CentralDir,i.ZIP64_CENTRAL_DIRECTORY_END)&&(this.relativeOffsetEndOfZip64CentralDir=this.reader.lastIndexOfSignature(i.ZIP64_CENTRAL_DIRECTORY_END),this.relativeOffsetEndOfZip64CentralDir<0))throw new Error("Corrupted zip: can't find the ZIP64 end of central directory");this.reader.setIndex(this.relativeOffsetEndOfZip64CentralDir),this.checkSignature(i.ZIP64_CENTRAL_DIRECTORY_END),this.readBlockZip64EndOfCentral()}var h=this.centralDirOffset+this.centralDirSize;this.zip64&&(h+=20,h+=12+this.zip64EndOfCentralSize);var d=f-h;if(0<d)this.isSignature(f,i.CENTRAL_FILE_HEADER)||(this.reader.zero=d);else if(d<0)throw new Error("Corrupted zip: missing "+Math.abs(d)+" bytes.")},prepareReader:function(u){this.reader=n(u)},load:function(u){this.prepareReader(u),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}},e.exports=l},{"./reader/readerFor":22,"./signature":23,"./support":30,"./utils":32,"./zipEntry":34}],34:[function(t,e,r){"use strict";var n=t("./reader/readerFor"),o=t("./utils"),i=t("./compressedObject"),a=t("./crc32"),s=t("./utf8"),l=t("./compressions"),u=t("./support");function f(h,d){this.options=h,this.loadOptions=d}f.prototype={isEncrypted:function(){return(1&this.bitFlag)==1},useUTF8:function(){return(2048&this.bitFlag)==2048},readLocalPart:function(h){var d,p;if(h.skip(22),this.fileNameLength=h.readInt(2),p=h.readInt(2),this.fileName=h.readData(this.fileNameLength),h.skip(p),this.compressedSize===-1||this.uncompressedSize===-1)throw new Error("Bug or corrupted zip : didn't get enough information from the central directory (compressedSize === -1 || uncompressedSize === -1)");if((d=(function(m){for(var g in l)if(Object.prototype.hasOwnProperty.call(l,g)&&l[g].magic===m)return l[g];return null})(this.compressionMethod))===null)throw new Error("Corrupted zip : compression "+o.pretty(this.compressionMethod)+" unknown (inner file : "+o.transformTo("string",this.fileName)+")");this.decompressed=new i(this.compressedSize,this.uncompressedSize,this.crc32,d,h.readData(this.compressedSize))},readCentralPart:function(h){this.versionMadeBy=h.readInt(2),h.skip(2),this.bitFlag=h.readInt(2),this.compressionMethod=h.readString(2),this.date=h.readDate(),this.crc32=h.readInt(4),this.compressedSize=h.readInt(4),this.uncompressedSize=h.readInt(4);var d=h.readInt(2);if(this.extraFieldsLength=h.readInt(2),this.fileCommentLength=h.readInt(2),this.diskNumberStart=h.readInt(2),this.internalFileAttributes=h.readInt(2),this.externalFileAttributes=h.readInt(4),this.localHeaderOffset=h.readInt(4),this.isEncrypted())throw new Error("Encrypted zip are not supported");h.skip(d),this.readExtraFields(h),this.parseZIP64ExtraField(h),this.fileComment=h.readData(this.fileCommentLength)},processAttributes:function(){this.unixPermissions=null,this.dosPermissions=null;var h=this.versionMadeBy>>8;this.dir=!!(16&this.externalFileAttributes),h==0&&(this.dosPermissions=63&this.externalFileAttributes),h==3&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||this.fileNameStr.slice(-1)!=="/"||(this.dir=!0)},parseZIP64ExtraField:function(){if(this.extraFields[1]){var h=n(this.extraFields[1].value);this.uncompressedSize===o.MAX_VALUE_32BITS&&(this.uncompressedSize=h.readInt(8)),this.compressedSize===o.MAX_VALUE_32BITS&&(this.compressedSize=h.readInt(8)),this.localHeaderOffset===o.MAX_VALUE_32BITS&&(this.localHeaderOffset=h.readInt(8)),this.diskNumberStart===o.MAX_VALUE_32BITS&&(this.diskNumberStart=h.readInt(4))}},readExtraFields:function(h){var d,p,m,g=h.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});h.index+4<g;)d=h.readInt(2),p=h.readInt(2),m=h.readData(p),this.extraFields[d]={id:d,length:p,value:m};h.setIndex(g)},handleUTF8:function(){var h=u.uint8array?"uint8array":"array";if(this.useUTF8())this.fileNameStr=s.utf8decode(this.fileName),this.fileCommentStr=s.utf8decode(this.fileComment);else{var d=this.findExtraFieldUnicodePath();if(d!==null)this.fileNameStr=d;else{var p=o.transformTo(h,this.fileName);this.fileNameStr=this.loadOptions.decodeFileName(p)}var m=this.findExtraFieldUnicodeComment();if(m!==null)this.fileCommentStr=m;else{var g=o.transformTo(h,this.fileComment);this.fileCommentStr=this.loadOptions.decodeFileName(g)}}},findExtraFieldUnicodePath:function(){var h=this.extraFields[28789];if(h){var d=n(h.value);return d.readInt(1)!==1||a(this.fileName)!==d.readInt(4)?null:s.utf8decode(d.readData(h.length-5))}return null},findExtraFieldUnicodeComment:function(){var h=this.extraFields[25461];if(h){var d=n(h.value);return d.readInt(1)!==1||a(this.fileComment)!==d.readInt(4)?null:s.utf8decode(d.readData(h.length-5))}return null}},e.exports=f},{"./compressedObject":2,"./compressions":3,"./crc32":4,"./reader/readerFor":22,"./support":30,"./utf8":31,"./utils":32}],35:[function(t,e,r){"use strict";function n(d,p,m){this.name=d,this.dir=m.dir,this.date=m.date,this.comment=m.comment,this.unixPermissions=m.unixPermissions,this.dosPermissions=m.dosPermissions,this._data=p,this._dataBinary=m.binary,this.options={compression:m.compression,compressionOptions:m.compressionOptions}}var o=t("./stream/StreamHelper"),i=t("./stream/DataWorker"),a=t("./utf8"),s=t("./compressedObject"),l=t("./stream/GenericWorker");n.prototype={internalStream:function(d){var p=null,m="string";try{if(!d)throw new Error("No output type specified.");var g=(m=d.toLowerCase())==="string"||m==="text";m!=="binarystring"&&m!=="text"||(m="string"),p=this._decompressWorker();var y=!this._dataBinary;y&&!g&&(p=p.pipe(new a.Utf8EncodeWorker)),!y&&g&&(p=p.pipe(new a.Utf8DecodeWorker))}catch(b){(p=new l("error")).error(b)}return new o(p,m,"")},async:function(d,p){return this.internalStream(d).accumulate(p)},nodeStream:function(d,p){return this.internalStream(d||"nodebuffer").toNodejsStream(p)},_compressWorker:function(d,p){if(this._data instanceof s&&this._data.compression.magic===d.magic)return this._data.getCompressedWorker();var m=this._decompressWorker();return this._dataBinary||(m=m.pipe(new a.Utf8EncodeWorker)),s.createWorkerFrom(m,d,p)},_decompressWorker:function(){return this._data instanceof s?this._data.getContentWorker():this._data instanceof l?this._data:new i(this._data)}};for(var u=["asText","asBinary","asNodeBuffer","asUint8Array","asArrayBuffer"],f=function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},h=0;h<u.length;h++)n.prototype[u[h]]=f;e.exports=n},{"./compressedObject":2,"./stream/DataWorker":27,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31}],36:[function(t,e,r){(function(n){"use strict";var o,i,a=n.MutationObserver||n.WebKitMutationObserver;if(a){var s=0,l=new a(d),u=n.document.createTextNode("");l.observe(u,{characterData:!0}),o=function(){u.data=s=++s%2}}else if(n.setImmediate||n.MessageChannel===void 0)o="document"in n&&"onreadystatechange"in n.document.createElement("script")?function(){var p=n.document.createElement("script");p.onreadystatechange=function(){d(),p.onreadystatechange=null,p.parentNode.removeChild(p),p=null},n.document.documentElement.appendChild(p)}:function(){setTimeout(d,0)};else{var f=new n.MessageChannel;f.port1.onmessage=d,o=function(){f.port2.postMessage(0)}}var h=[];function d(){var p,m;i=!0;for(var g=h.length;g;){for(m=h,h=[],p=-1;++p<g;)m[p]();g=h.length}i=!1}e.exports=function(p){h.push(p)!==1||i||o()}}).call(this,typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:{})},{}],37:[function(t,e,r){"use strict";var n=t("immediate");function o(){}var i={},a=["REJECTED"],s=["FULFILLED"],l=["PENDING"];function u(g){if(typeof g!="function")throw new TypeError("resolver must be a function");this.state=l,this.queue=[],this.outcome=void 0,g!==o&&p(this,g)}function f(g,y,b){this.promise=g,typeof y=="function"&&(this.onFulfilled=y,this.callFulfilled=this.otherCallFulfilled),typeof b=="function"&&(this.onRejected=b,this.callRejected=this.otherCallRejected)}function h(g,y,b){n(function(){var w;try{w=y(b)}catch(C){return i.reject(g,C)}w===g?i.reject(g,new TypeError("Cannot resolve promise with itself")):i.resolve(g,w)})}function d(g){var y=g&&g.then;if(g&&(typeof g=="object"||typeof g=="function")&&typeof y=="function")return function(){y.apply(g,arguments)}}function p(g,y){var b=!1;function w(k){b||(b=!0,i.reject(g,k))}function C(k){b||(b=!0,i.resolve(g,k))}var S=m(function(){y(C,w)});S.status==="error"&&w(S.value)}function m(g,y){var b={};try{b.value=g(y),b.status="success"}catch(w){b.status="error",b.value=w}return b}(e.exports=u).prototype.finally=function(g){if(typeof g!="function")return this;var y=this.constructor;return this.then(function(b){return y.resolve(g()).then(function(){return b})},function(b){return y.resolve(g()).then(function(){throw b})})},u.prototype.catch=function(g){return this.then(null,g)},u.prototype.then=function(g,y){if(typeof g!="function"&&this.state===s||typeof y!="function"&&this.state===a)return this;var b=new this.constructor(o);return this.state!==l?h(b,this.state===s?g:y,this.outcome):this.queue.push(new f(b,g,y)),b},f.prototype.callFulfilled=function(g){i.resolve(this.promise,g)},f.prototype.otherCallFulfilled=function(g){h(this.promise,this.onFulfilled,g)},f.prototype.callRejected=function(g){i.reject(this.promise,g)},f.prototype.otherCallRejected=function(g){h(this.promise,this.onRejected,g)},i.resolve=function(g,y){var b=m(d,y);if(b.status==="error")return i.reject(g,b.value);var w=b.value;if(w)p(g,w);else{g.state=s,g.outcome=y;for(var C=-1,S=g.queue.length;++C<S;)g.queue[C].callFulfilled(y)}return g},i.reject=function(g,y){g.state=a,g.outcome=y;for(var b=-1,w=g.queue.length;++b<w;)g.queue[b].callRejected(y);return g},u.resolve=function(g){return g instanceof this?g:i.resolve(new this(o),g)},u.reject=function(g){var y=new this(o);return i.reject(y,g)},u.all=function(g){var y=this;if(Object.prototype.toString.call(g)!=="[object Array]")return this.reject(new TypeError("must be an array"));var b=g.length,w=!1;if(!b)return this.resolve([]);for(var C=new Array(b),S=0,k=-1,T=new this(o);++k<b;)D(g[k],k);return T;function D(R,M){y.resolve(R).then(function(j){C[M]=j,++S!==b||w||(w=!0,i.resolve(T,C))},function(j){w||(w=!0,i.reject(T,j))})}},u.race=function(g){var y=this;if(Object.prototype.toString.call(g)!=="[object Array]")return this.reject(new TypeError("must be an array"));var b=g.length,w=!1;if(!b)return this.resolve([]);for(var C=-1,S=new this(o);++C<b;)k=g[C],y.resolve(k).then(function(T){w||(w=!0,i.resolve(S,T))},function(T){w||(w=!0,i.reject(S,T))});var k;return S}},{immediate:36}],38:[function(t,e,r){"use strict";var n={};(0,t("./lib/utils/common").assign)(n,t("./lib/deflate"),t("./lib/inflate"),t("./lib/zlib/constants")),e.exports=n},{"./lib/deflate":39,"./lib/inflate":40,"./lib/utils/common":41,"./lib/zlib/constants":44}],39:[function(t,e,r){"use strict";var n=t("./zlib/deflate"),o=t("./utils/common"),i=t("./utils/strings"),a=t("./zlib/messages"),s=t("./zlib/zstream"),l=Object.prototype.toString,u=0,f=-1,h=0,d=8;function p(g){if(!(this instanceof p))return new p(g);this.options=o.assign({level:f,method:d,chunkSize:16384,windowBits:15,memLevel:8,strategy:h,to:""},g||{});var y=this.options;y.raw&&0<y.windowBits?y.windowBits=-y.windowBits:y.gzip&&0<y.windowBits&&y.windowBits<16&&(y.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new s,this.strm.avail_out=0;var b=n.deflateInit2(this.strm,y.level,y.method,y.windowBits,y.memLevel,y.strategy);if(b!==u)throw new Error(a[b]);if(y.header&&n.deflateSetHeader(this.strm,y.header),y.dictionary){var w;if(w=typeof y.dictionary=="string"?i.string2buf(y.dictionary):l.call(y.dictionary)==="[object ArrayBuffer]"?new Uint8Array(y.dictionary):y.dictionary,(b=n.deflateSetDictionary(this.strm,w))!==u)throw new Error(a[b]);this._dict_set=!0}}function m(g,y){var b=new p(y);if(b.push(g,!0),b.err)throw b.msg||a[b.err];return b.result}p.prototype.push=function(g,y){var b,w,C=this.strm,S=this.options.chunkSize;if(this.ended)return!1;w=y===~~y?y:y===!0?4:0,typeof g=="string"?C.input=i.string2buf(g):l.call(g)==="[object ArrayBuffer]"?C.input=new Uint8Array(g):C.input=g,C.next_in=0,C.avail_in=C.input.length;do{if(C.avail_out===0&&(C.output=new o.Buf8(S),C.next_out=0,C.avail_out=S),(b=n.deflate(C,w))!==1&&b!==u)return this.onEnd(b),!(this.ended=!0);C.avail_out!==0&&(C.avail_in!==0||w!==4&&w!==2)||(this.options.to==="string"?this.onData(i.buf2binstring(o.shrinkBuf(C.output,C.next_out))):this.onData(o.shrinkBuf(C.output,C.next_out)))}while((0<C.avail_in||C.avail_out===0)&&b!==1);return w===4?(b=n.deflateEnd(this.strm),this.onEnd(b),this.ended=!0,b===u):w!==2||(this.onEnd(u),!(C.avail_out=0))},p.prototype.onData=function(g){this.chunks.push(g)},p.prototype.onEnd=function(g){g===u&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=o.flattenChunks(this.chunks)),this.chunks=[],this.err=g,this.msg=this.strm.msg},r.Deflate=p,r.deflate=m,r.deflateRaw=function(g,y){return(y=y||{}).raw=!0,m(g,y)},r.gzip=function(g,y){return(y=y||{}).gzip=!0,m(g,y)}},{"./utils/common":41,"./utils/strings":42,"./zlib/deflate":46,"./zlib/messages":51,"./zlib/zstream":53}],40:[function(t,e,r){"use strict";var n=t("./zlib/inflate"),o=t("./utils/common"),i=t("./utils/strings"),a=t("./zlib/constants"),s=t("./zlib/messages"),l=t("./zlib/zstream"),u=t("./zlib/gzheader"),f=Object.prototype.toString;function h(p){if(!(this instanceof h))return new h(p);this.options=o.assign({chunkSize:16384,windowBits:0,to:""},p||{});var m=this.options;m.raw&&0<=m.windowBits&&m.windowBits<16&&(m.windowBits=-m.windowBits,m.windowBits===0&&(m.windowBits=-15)),!(0<=m.windowBits&&m.windowBits<16)||p&&p.windowBits||(m.windowBits+=32),15<m.windowBits&&m.windowBits<48&&(15&m.windowBits)==0&&(m.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new l,this.strm.avail_out=0;var g=n.inflateInit2(this.strm,m.windowBits);if(g!==a.Z_OK)throw new Error(s[g]);this.header=new u,n.inflateGetHeader(this.strm,this.header)}function d(p,m){var g=new h(m);if(g.push(p,!0),g.err)throw g.msg||s[g.err];return g.result}h.prototype.push=function(p,m){var g,y,b,w,C,S,k=this.strm,T=this.options.chunkSize,D=this.options.dictionary,R=!1;if(this.ended)return!1;y=m===~~m?m:m===!0?a.Z_FINISH:a.Z_NO_FLUSH,typeof p=="string"?k.input=i.binstring2buf(p):f.call(p)==="[object ArrayBuffer]"?k.input=new Uint8Array(p):k.input=p,k.next_in=0,k.avail_in=k.input.length;do{if(k.avail_out===0&&(k.output=new o.Buf8(T),k.next_out=0,k.avail_out=T),(g=n.inflate(k,a.Z_NO_FLUSH))===a.Z_NEED_DICT&&D&&(S=typeof D=="string"?i.string2buf(D):f.call(D)==="[object ArrayBuffer]"?new Uint8Array(D):D,g=n.inflateSetDictionary(this.strm,S)),g===a.Z_BUF_ERROR&&R===!0&&(g=a.Z_OK,R=!1),g!==a.Z_STREAM_END&&g!==a.Z_OK)return this.onEnd(g),!(this.ended=!0);k.next_out&&(k.avail_out!==0&&g!==a.Z_STREAM_END&&(k.avail_in!==0||y!==a.Z_FINISH&&y!==a.Z_SYNC_FLUSH)||(this.options.to==="string"?(b=i.utf8border(k.output,k.next_out),w=k.next_out-b,C=i.buf2string(k.output,b),k.next_out=w,k.avail_out=T-w,w&&o.arraySet(k.output,k.output,b,w,0),this.onData(C)):this.onData(o.shrinkBuf(k.output,k.next_out)))),k.avail_in===0&&k.avail_out===0&&(R=!0)}while((0<k.avail_in||k.avail_out===0)&&g!==a.Z_STREAM_END);return g===a.Z_STREAM_END&&(y=a.Z_FINISH),y===a.Z_FINISH?(g=n.inflateEnd(this.strm),this.onEnd(g),this.ended=!0,g===a.Z_OK):y!==a.Z_SYNC_FLUSH||(this.onEnd(a.Z_OK),!(k.avail_out=0))},h.prototype.onData=function(p){this.chunks.push(p)},h.prototype.onEnd=function(p){p===a.Z_OK&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=o.flattenChunks(this.chunks)),this.chunks=[],this.err=p,this.msg=this.strm.msg},r.Inflate=h,r.inflate=d,r.inflateRaw=function(p,m){return(m=m||{}).raw=!0,d(p,m)},r.ungzip=d},{"./utils/common":41,"./utils/strings":42,"./zlib/constants":44,"./zlib/gzheader":47,"./zlib/inflate":49,"./zlib/messages":51,"./zlib/zstream":53}],41:[function(t,e,r){"use strict";var n=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Int32Array<"u";r.assign=function(a){for(var s=Array.prototype.slice.call(arguments,1);s.length;){var l=s.shift();if(l){if(typeof l!="object")throw new TypeError(l+"must be non-object");for(var u in l)l.hasOwnProperty(u)&&(a[u]=l[u])}}return a},r.shrinkBuf=function(a,s){return a.length===s?a:a.subarray?a.subarray(0,s):(a.length=s,a)};var o={arraySet:function(a,s,l,u,f){if(s.subarray&&a.subarray)a.set(s.subarray(l,l+u),f);else for(var h=0;h<u;h++)a[f+h]=s[l+h]},flattenChunks:function(a){var s,l,u,f,h,d;for(s=u=0,l=a.length;s<l;s++)u+=a[s].length;for(d=new Uint8Array(u),s=f=0,l=a.length;s<l;s++)h=a[s],d.set(h,f),f+=h.length;return d}},i={arraySet:function(a,s,l,u,f){for(var h=0;h<u;h++)a[f+h]=s[l+h]},flattenChunks:function(a){return[].concat.apply([],a)}};r.setTyped=function(a){a?(r.Buf8=Uint8Array,r.Buf16=Uint16Array,r.Buf32=Int32Array,r.assign(r,o)):(r.Buf8=Array,r.Buf16=Array,r.Buf32=Array,r.assign(r,i))},r.setTyped(n)},{}],42:[function(t,e,r){"use strict";var n=t("./common"),o=!0,i=!0;try{String.fromCharCode.apply(null,[0])}catch{o=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch{i=!1}for(var a=new n.Buf8(256),s=0;s<256;s++)a[s]=252<=s?6:248<=s?5:240<=s?4:224<=s?3:192<=s?2:1;function l(u,f){if(f<65537&&(u.subarray&&i||!u.subarray&&o))return String.fromCharCode.apply(null,n.shrinkBuf(u,f));for(var h="",d=0;d<f;d++)h+=String.fromCharCode(u[d]);return h}a[254]=a[254]=1,r.string2buf=function(u){var f,h,d,p,m,g=u.length,y=0;for(p=0;p<g;p++)(64512&(h=u.charCodeAt(p)))==55296&&p+1<g&&(64512&(d=u.charCodeAt(p+1)))==56320&&(h=65536+(h-55296<<10)+(d-56320),p++),y+=h<128?1:h<2048?2:h<65536?3:4;for(f=new n.Buf8(y),p=m=0;m<y;p++)(64512&(h=u.charCodeAt(p)))==55296&&p+1<g&&(64512&(d=u.charCodeAt(p+1)))==56320&&(h=65536+(h-55296<<10)+(d-56320),p++),h<128?f[m++]=h:(h<2048?f[m++]=192|h>>>6:(h<65536?f[m++]=224|h>>>12:(f[m++]=240|h>>>18,f[m++]=128|h>>>12&63),f[m++]=128|h>>>6&63),f[m++]=128|63&h);return f},r.buf2binstring=function(u){return l(u,u.length)},r.binstring2buf=function(u){for(var f=new n.Buf8(u.length),h=0,d=f.length;h<d;h++)f[h]=u.charCodeAt(h);return f},r.buf2string=function(u,f){var h,d,p,m,g=f||u.length,y=new Array(2*g);for(h=d=0;h<g;)if((p=u[h++])<128)y[d++]=p;else if(4<(m=a[p]))y[d++]=65533,h+=m-1;else{for(p&=m===2?31:m===3?15:7;1<m&&h<g;)p=p<<6|63&u[h++],m--;1<m?y[d++]=65533:p<65536?y[d++]=p:(p-=65536,y[d++]=55296|p>>10&1023,y[d++]=56320|1023&p)}return l(y,d)},r.utf8border=function(u,f){var h;for((f=f||u.length)>u.length&&(f=u.length),h=f-1;0<=h&&(192&u[h])==128;)h--;return h<0||h===0?f:h+a[u[h]]>f?h:f}},{"./common":41}],43:[function(t,e,r){"use strict";e.exports=function(n,o,i,a){for(var s=65535&n|0,l=n>>>16&65535|0,u=0;i!==0;){for(i-=u=2e3<i?2e3:i;l=l+(s=s+o[a++]|0)|0,--u;);s%=65521,l%=65521}return s|l<<16|0}},{}],44:[function(t,e,r){"use strict";e.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}},{}],45:[function(t,e,r){"use strict";var n=(function(){for(var o,i=[],a=0;a<256;a++){o=a;for(var s=0;s<8;s++)o=1&o?3988292384^o>>>1:o>>>1;i[a]=o}return i})();e.exports=function(o,i,a,s){var l=n,u=s+a;o^=-1;for(var f=s;f<u;f++)o=o>>>8^l[255&(o^i[f])];return-1^o}},{}],46:[function(t,e,r){"use strict";var n,o=t("../utils/common"),i=t("./trees"),a=t("./adler32"),s=t("./crc32"),l=t("./messages"),u=0,f=4,h=0,d=-2,p=-1,m=4,g=2,y=8,b=9,w=286,C=30,S=19,k=2*w+1,T=15,D=3,R=258,M=R+D+1,j=42,P=113,L=1,O=2,B=3,N=4;function $(J,he){return J.msg=l[he],he}function V(J){return(J<<1)-(4<J?9:0)}function W(J){for(var he=J.length;0<=--he;)J[he]=0}function q(J){var he=J.state,oe=he.pending;oe>J.avail_out&&(oe=J.avail_out),oe!==0&&(o.arraySet(J.output,he.pending_buf,he.pending_out,oe,J.next_out),J.next_out+=oe,he.pending_out+=oe,J.total_out+=oe,J.avail_out-=oe,he.pending-=oe,he.pending===0&&(he.pending_out=0))}function X(J,he){i._tr_flush_block(J,0<=J.block_start?J.block_start:-1,J.strstart-J.block_start,he),J.block_start=J.strstart,q(J.strm)}function ee(J,he){J.pending_buf[J.pending++]=he}function K(J,he){J.pending_buf[J.pending++]=he>>>8&255,J.pending_buf[J.pending++]=255&he}function Q(J,he){var oe,Ae,me=J.max_chain_length,ue=J.strstart,te=J.prev_length,ye=J.nice_match,Ce=J.strstart>J.w_size-M?J.strstart-(J.w_size-M):0,Ie=J.window,Re=J.w_mask,_e=J.prev,Ve=J.strstart+R,Fe=Ie[ue+te-1],je=Ie[ue+te];J.prev_length>=J.good_match&&(me>>=2),ye>J.lookahead&&(ye=J.lookahead);do if(Ie[(oe=he)+te]===je&&Ie[oe+te-1]===Fe&&Ie[oe]===Ie[ue]&&Ie[++oe]===Ie[ue+1]){ue+=2,oe++;do;while(Ie[++ue]===Ie[++oe]&&Ie[++ue]===Ie[++oe]&&Ie[++ue]===Ie[++oe]&&Ie[++ue]===Ie[++oe]&&Ie[++ue]===Ie[++oe]&&Ie[++ue]===Ie[++oe]&&Ie[++ue]===Ie[++oe]&&Ie[++ue]===Ie[++oe]&&ue<Ve);if(Ae=R-(Ve-ue),ue=Ve-R,te<Ae){if(J.match_start=he,ye<=(te=Ae))break;Fe=Ie[ue+te-1],je=Ie[ue+te]}}while((he=_e[he&Re])>Ce&&--me!=0);return te<=J.lookahead?te:J.lookahead}function de(J){var he,oe,Ae,me,ue,te,ye,Ce,Ie,Re,_e=J.w_size;do{if(me=J.window_size-J.lookahead-J.strstart,J.strstart>=_e+(_e-M)){for(o.arraySet(J.window,J.window,_e,_e,0),J.match_start-=_e,J.strstart-=_e,J.block_start-=_e,he=oe=J.hash_size;Ae=J.head[--he],J.head[he]=_e<=Ae?Ae-_e:0,--oe;);for(he=oe=_e;Ae=J.prev[--he],J.prev[he]=_e<=Ae?Ae-_e:0,--oe;);me+=_e}if(J.strm.avail_in===0)break;if(te=J.strm,ye=J.window,Ce=J.strstart+J.lookahead,Ie=me,Re=void 0,Re=te.avail_in,Ie<Re&&(Re=Ie),oe=Re===0?0:(te.avail_in-=Re,o.arraySet(ye,te.input,te.next_in,Re,Ce),te.state.wrap===1?te.adler=a(te.adler,ye,Re,Ce):te.state.wrap===2&&(te.adler=s(te.adler,ye,Re,Ce)),te.next_in+=Re,te.total_in+=Re,Re),J.lookahead+=oe,J.lookahead+J.insert>=D)for(ue=J.strstart-J.insert,J.ins_h=J.window[ue],J.ins_h=(J.ins_h<<J.hash_shift^J.window[ue+1])&J.hash_mask;J.insert&&(J.ins_h=(J.ins_h<<J.hash_shift^J.window[ue+D-1])&J.hash_mask,J.prev[ue&J.w_mask]=J.head[J.ins_h],J.head[J.ins_h]=ue,ue++,J.insert--,!(J.lookahead+J.insert<D)););}while(J.lookahead<M&&J.strm.avail_in!==0)}function pe(J,he){for(var oe,Ae;;){if(J.lookahead<M){if(de(J),J.lookahead<M&&he===u)return L;if(J.lookahead===0)break}if(oe=0,J.lookahead>=D&&(J.ins_h=(J.ins_h<<J.hash_shift^J.window[J.strstart+D-1])&J.hash_mask,oe=J.prev[J.strstart&J.w_mask]=J.head[J.ins_h],J.head[J.ins_h]=J.strstart),oe!==0&&J.strstart-oe<=J.w_size-M&&(J.match_length=Q(J,oe)),J.match_length>=D)if(Ae=i._tr_tally(J,J.strstart-J.match_start,J.match_length-D),J.lookahead-=J.match_length,J.match_length<=J.max_lazy_match&&J.lookahead>=D){for(J.match_length--;J.strstart++,J.ins_h=(J.ins_h<<J.hash_shift^J.window[J.strstart+D-1])&J.hash_mask,oe=J.prev[J.strstart&J.w_mask]=J.head[J.ins_h],J.head[J.ins_h]=J.strstart,--J.match_length!=0;);J.strstart++}else J.strstart+=J.match_length,J.match_length=0,J.ins_h=J.window[J.strstart],J.ins_h=(J.ins_h<<J.hash_shift^J.window[J.strstart+1])&J.hash_mask;else Ae=i._tr_tally(J,0,J.window[J.strstart]),J.lookahead--,J.strstart++;if(Ae&&(X(J,!1),J.strm.avail_out===0))return L}return J.insert=J.strstart<D-1?J.strstart:D-1,he===f?(X(J,!0),J.strm.avail_out===0?B:N):J.last_lit&&(X(J,!1),J.strm.avail_out===0)?L:O}function xe(J,he){for(var oe,Ae,me;;){if(J.lookahead<M){if(de(J),J.lookahead<M&&he===u)return L;if(J.lookahead===0)break}if(oe=0,J.lookahead>=D&&(J.ins_h=(J.ins_h<<J.hash_shift^J.window[J.strstart+D-1])&J.hash_mask,oe=J.prev[J.strstart&J.w_mask]=J.head[J.ins_h],J.head[J.ins_h]=J.strstart),J.prev_length=J.match_length,J.prev_match=J.match_start,J.match_length=D-1,oe!==0&&J.prev_length<J.max_lazy_match&&J.strstart-oe<=J.w_size-M&&(J.match_length=Q(J,oe),J.match_length<=5&&(J.strategy===1||J.match_length===D&&4096<J.strstart-J.match_start)&&(J.match_length=D-1)),J.prev_length>=D&&J.match_length<=J.prev_length){for(me=J.strstart+J.lookahead-D,Ae=i._tr_tally(J,J.strstart-1-J.prev_match,J.prev_length-D),J.lookahead-=J.prev_length-1,J.prev_length-=2;++J.strstart<=me&&(J.ins_h=(J.ins_h<<J.hash_shift^J.window[J.strstart+D-1])&J.hash_mask,oe=J.prev[J.strstart&J.w_mask]=J.head[J.ins_h],J.head[J.ins_h]=J.strstart),--J.prev_length!=0;);if(J.match_available=0,J.match_length=D-1,J.strstart++,Ae&&(X(J,!1),J.strm.avail_out===0))return L}else if(J.match_available){if((Ae=i._tr_tally(J,0,J.window[J.strstart-1]))&&X(J,!1),J.strstart++,J.lookahead--,J.strm.avail_out===0)return L}else J.match_available=1,J.strstart++,J.lookahead--}return J.match_available&&(Ae=i._tr_tally(J,0,J.window[J.strstart-1]),J.match_available=0),J.insert=J.strstart<D-1?J.strstart:D-1,he===f?(X(J,!0),J.strm.avail_out===0?B:N):J.last_lit&&(X(J,!1),J.strm.avail_out===0)?L:O}function se(J,he,oe,Ae,me){this.good_length=J,this.max_lazy=he,this.nice_length=oe,this.max_chain=Ae,this.func=me}function ae(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=y,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new o.Buf16(2*k),this.dyn_dtree=new o.Buf16(2*(2*C+1)),this.bl_tree=new o.Buf16(2*(2*S+1)),W(this.dyn_ltree),W(this.dyn_dtree),W(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new o.Buf16(T+1),this.heap=new o.Buf16(2*w+1),W(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new o.Buf16(2*w+1),W(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function fe(J){var he;return J&&J.state?(J.total_in=J.total_out=0,J.data_type=g,(he=J.state).pending=0,he.pending_out=0,he.wrap<0&&(he.wrap=-he.wrap),he.status=he.wrap?j:P,J.adler=he.wrap===2?0:1,he.last_flush=u,i._tr_init(he),h):$(J,d)}function ve(J){var he=fe(J);return he===h&&(function(oe){oe.window_size=2*oe.w_size,W(oe.head),oe.max_lazy_match=n[oe.level].max_lazy,oe.good_match=n[oe.level].good_length,oe.nice_match=n[oe.level].nice_length,oe.max_chain_length=n[oe.level].max_chain,oe.strstart=0,oe.block_start=0,oe.lookahead=0,oe.insert=0,oe.match_length=oe.prev_length=D-1,oe.match_available=0,oe.ins_h=0})(J.state),he}function Me(J,he,oe,Ae,me,ue){if(!J)return d;var te=1;if(he===p&&(he=6),Ae<0?(te=0,Ae=-Ae):15<Ae&&(te=2,Ae-=16),me<1||b<me||oe!==y||Ae<8||15<Ae||he<0||9<he||ue<0||m<ue)return $(J,d);Ae===8&&(Ae=9);var ye=new ae;return(J.state=ye).strm=J,ye.wrap=te,ye.gzhead=null,ye.w_bits=Ae,ye.w_size=1<<ye.w_bits,ye.w_mask=ye.w_size-1,ye.hash_bits=me+7,ye.hash_size=1<<ye.hash_bits,ye.hash_mask=ye.hash_size-1,ye.hash_shift=~~((ye.hash_bits+D-1)/D),ye.window=new o.Buf8(2*ye.w_size),ye.head=new o.Buf16(ye.hash_size),ye.prev=new o.Buf16(ye.w_size),ye.lit_bufsize=1<<me+6,ye.pending_buf_size=4*ye.lit_bufsize,ye.pending_buf=new o.Buf8(ye.pending_buf_size),ye.d_buf=1*ye.lit_bufsize,ye.l_buf=3*ye.lit_bufsize,ye.level=he,ye.strategy=ue,ye.method=oe,ve(J)}n=[new se(0,0,0,0,function(J,he){var oe=65535;for(oe>J.pending_buf_size-5&&(oe=J.pending_buf_size-5);;){if(J.lookahead<=1){if(de(J),J.lookahead===0&&he===u)return L;if(J.lookahead===0)break}J.strstart+=J.lookahead,J.lookahead=0;var Ae=J.block_start+oe;if((J.strstart===0||J.strstart>=Ae)&&(J.lookahead=J.strstart-Ae,J.strstart=Ae,X(J,!1),J.strm.avail_out===0)||J.strstart-J.block_start>=J.w_size-M&&(X(J,!1),J.strm.avail_out===0))return L}return J.insert=0,he===f?(X(J,!0),J.strm.avail_out===0?B:N):(J.strstart>J.block_start&&(X(J,!1),J.strm.avail_out),L)}),new se(4,4,8,4,pe),new se(4,5,16,8,pe),new se(4,6,32,32,pe),new se(4,4,16,16,xe),new se(8,16,32,32,xe),new se(8,16,128,128,xe),new se(8,32,128,256,xe),new se(32,128,258,1024,xe),new se(32,258,258,4096,xe)],r.deflateInit=function(J,he){return Me(J,he,y,15,8,0)},r.deflateInit2=Me,r.deflateReset=ve,r.deflateResetKeep=fe,r.deflateSetHeader=function(J,he){return J&&J.state?J.state.wrap!==2?d:(J.state.gzhead=he,h):d},r.deflate=function(J,he){var oe,Ae,me,ue;if(!J||!J.state||5<he||he<0)return J?$(J,d):d;if(Ae=J.state,!J.output||!J.input&&J.avail_in!==0||Ae.status===666&&he!==f)return $(J,J.avail_out===0?-5:d);if(Ae.strm=J,oe=Ae.last_flush,Ae.last_flush=he,Ae.status===j)if(Ae.wrap===2)J.adler=0,ee(Ae,31),ee(Ae,139),ee(Ae,8),Ae.gzhead?(ee(Ae,(Ae.gzhead.text?1:0)+(Ae.gzhead.hcrc?2:0)+(Ae.gzhead.extra?4:0)+(Ae.gzhead.name?8:0)+(Ae.gzhead.comment?16:0)),ee(Ae,255&Ae.gzhead.time),ee(Ae,Ae.gzhead.time>>8&255),ee(Ae,Ae.gzhead.time>>16&255),ee(Ae,Ae.gzhead.time>>24&255),ee(Ae,Ae.level===9?2:2<=Ae.strategy||Ae.level<2?4:0),ee(Ae,255&Ae.gzhead.os),Ae.gzhead.extra&&Ae.gzhead.extra.length&&(ee(Ae,255&Ae.gzhead.extra.length),ee(Ae,Ae.gzhead.extra.length>>8&255)),Ae.gzhead.hcrc&&(J.adler=s(J.adler,Ae.pending_buf,Ae.pending,0)),Ae.gzindex=0,Ae.status=69):(ee(Ae,0),ee(Ae,0),ee(Ae,0),ee(Ae,0),ee(Ae,0),ee(Ae,Ae.level===9?2:2<=Ae.strategy||Ae.level<2?4:0),ee(Ae,3),Ae.status=P);else{var te=y+(Ae.w_bits-8<<4)<<8;te|=(2<=Ae.strategy||Ae.level<2?0:Ae.level<6?1:Ae.level===6?2:3)<<6,Ae.strstart!==0&&(te|=32),te+=31-te%31,Ae.status=P,K(Ae,te),Ae.strstart!==0&&(K(Ae,J.adler>>>16),K(Ae,65535&J.adler)),J.adler=1}if(Ae.status===69)if(Ae.gzhead.extra){for(me=Ae.pending;Ae.gzindex<(65535&Ae.gzhead.extra.length)&&(Ae.pending!==Ae.pending_buf_size||(Ae.gzhead.hcrc&&Ae.pending>me&&(J.adler=s(J.adler,Ae.pending_buf,Ae.pending-me,me)),q(J),me=Ae.pending,Ae.pending!==Ae.pending_buf_size));)ee(Ae,255&Ae.gzhead.extra[Ae.gzindex]),Ae.gzindex++;Ae.gzhead.hcrc&&Ae.pending>me&&(J.adler=s(J.adler,Ae.pending_buf,Ae.pending-me,me)),Ae.gzindex===Ae.gzhead.extra.length&&(Ae.gzindex=0,Ae.status=73)}else Ae.status=73;if(Ae.status===73)if(Ae.gzhead.name){me=Ae.pending;do{if(Ae.pending===Ae.pending_buf_size&&(Ae.gzhead.hcrc&&Ae.pending>me&&(J.adler=s(J.adler,Ae.pending_buf,Ae.pending-me,me)),q(J),me=Ae.pending,Ae.pending===Ae.pending_buf_size)){ue=1;break}ue=Ae.gzindex<Ae.gzhead.name.length?255&Ae.gzhead.name.charCodeAt(Ae.gzindex++):0,ee(Ae,ue)}while(ue!==0);Ae.gzhead.hcrc&&Ae.pending>me&&(J.adler=s(J.adler,Ae.pending_buf,Ae.pending-me,me)),ue===0&&(Ae.gzindex=0,Ae.status=91)}else Ae.status=91;if(Ae.status===91)if(Ae.gzhead.comment){me=Ae.pending;do{if(Ae.pending===Ae.pending_buf_size&&(Ae.gzhead.hcrc&&Ae.pending>me&&(J.adler=s(J.adler,Ae.pending_buf,Ae.pending-me,me)),q(J),me=Ae.pending,Ae.pending===Ae.pending_buf_size)){ue=1;break}ue=Ae.gzindex<Ae.gzhead.comment.length?255&Ae.gzhead.comment.charCodeAt(Ae.gzindex++):0,ee(Ae,ue)}while(ue!==0);Ae.gzhead.hcrc&&Ae.pending>me&&(J.adler=s(J.adler,Ae.pending_buf,Ae.pending-me,me)),ue===0&&(Ae.status=103)}else Ae.status=103;if(Ae.status===103&&(Ae.gzhead.hcrc?(Ae.pending+2>Ae.pending_buf_size&&q(J),Ae.pending+2<=Ae.pending_buf_size&&(ee(Ae,255&J.adler),ee(Ae,J.adler>>8&255),J.adler=0,Ae.status=P)):Ae.status=P),Ae.pending!==0){if(q(J),J.avail_out===0)return Ae.last_flush=-1,h}else if(J.avail_in===0&&V(he)<=V(oe)&&he!==f)return $(J,-5);if(Ae.status===666&&J.avail_in!==0)return $(J,-5);if(J.avail_in!==0||Ae.lookahead!==0||he!==u&&Ae.status!==666){var ye=Ae.strategy===2?(function(Ce,Ie){for(var Re;;){if(Ce.lookahead===0&&(de(Ce),Ce.lookahead===0)){if(Ie===u)return L;break}if(Ce.match_length=0,Re=i._tr_tally(Ce,0,Ce.window[Ce.strstart]),Ce.lookahead--,Ce.strstart++,Re&&(X(Ce,!1),Ce.strm.avail_out===0))return L}return Ce.insert=0,Ie===f?(X(Ce,!0),Ce.strm.avail_out===0?B:N):Ce.last_lit&&(X(Ce,!1),Ce.strm.avail_out===0)?L:O})(Ae,he):Ae.strategy===3?(function(Ce,Ie){for(var Re,_e,Ve,Fe,je=Ce.window;;){if(Ce.lookahead<=R){if(de(Ce),Ce.lookahead<=R&&Ie===u)return L;if(Ce.lookahead===0)break}if(Ce.match_length=0,Ce.lookahead>=D&&0<Ce.strstart&&(_e=je[Ve=Ce.strstart-1])===je[++Ve]&&_e===je[++Ve]&&_e===je[++Ve]){Fe=Ce.strstart+R;do;while(_e===je[++Ve]&&_e===je[++Ve]&&_e===je[++Ve]&&_e===je[++Ve]&&_e===je[++Ve]&&_e===je[++Ve]&&_e===je[++Ve]&&_e===je[++Ve]&&Ve<Fe);Ce.match_length=R-(Fe-Ve),Ce.match_length>Ce.lookahead&&(Ce.match_length=Ce.lookahead)}if(Ce.match_length>=D?(Re=i._tr_tally(Ce,1,Ce.match_length-D),Ce.lookahead-=Ce.match_length,Ce.strstart+=Ce.match_length,Ce.match_length=0):(Re=i._tr_tally(Ce,0,Ce.window[Ce.strstart]),Ce.lookahead--,Ce.strstart++),Re&&(X(Ce,!1),Ce.strm.avail_out===0))return L}return Ce.insert=0,Ie===f?(X(Ce,!0),Ce.strm.avail_out===0?B:N):Ce.last_lit&&(X(Ce,!1),Ce.strm.avail_out===0)?L:O})(Ae,he):n[Ae.level].func(Ae,he);if(ye!==B&&ye!==N||(Ae.status=666),ye===L||ye===B)return J.avail_out===0&&(Ae.last_flush=-1),h;if(ye===O&&(he===1?i._tr_align(Ae):he!==5&&(i._tr_stored_block(Ae,0,0,!1),he===3&&(W(Ae.head),Ae.lookahead===0&&(Ae.strstart=0,Ae.block_start=0,Ae.insert=0))),q(J),J.avail_out===0))return Ae.last_flush=-1,h}return he!==f?h:Ae.wrap<=0?1:(Ae.wrap===2?(ee(Ae,255&J.adler),ee(Ae,J.adler>>8&255),ee(Ae,J.adler>>16&255),ee(Ae,J.adler>>24&255),ee(Ae,255&J.total_in),ee(Ae,J.total_in>>8&255),ee(Ae,J.total_in>>16&255),ee(Ae,J.total_in>>24&255)):(K(Ae,J.adler>>>16),K(Ae,65535&J.adler)),q(J),0<Ae.wrap&&(Ae.wrap=-Ae.wrap),Ae.pending!==0?h:1)},r.deflateEnd=function(J){var he;return J&&J.state?(he=J.state.status)!==j&&he!==69&&he!==73&&he!==91&&he!==103&&he!==P&&he!==666?$(J,d):(J.state=null,he===P?$(J,-3):h):d},r.deflateSetDictionary=function(J,he){var oe,Ae,me,ue,te,ye,Ce,Ie,Re=he.length;if(!J||!J.state||(ue=(oe=J.state).wrap)===2||ue===1&&oe.status!==j||oe.lookahead)return d;for(ue===1&&(J.adler=a(J.adler,he,Re,0)),oe.wrap=0,Re>=oe.w_size&&(ue===0&&(W(oe.head),oe.strstart=0,oe.block_start=0,oe.insert=0),Ie=new o.Buf8(oe.w_size),o.arraySet(Ie,he,Re-oe.w_size,oe.w_size,0),he=Ie,Re=oe.w_size),te=J.avail_in,ye=J.next_in,Ce=J.input,J.avail_in=Re,J.next_in=0,J.input=he,de(oe);oe.lookahead>=D;){for(Ae=oe.strstart,me=oe.lookahead-(D-1);oe.ins_h=(oe.ins_h<<oe.hash_shift^oe.window[Ae+D-1])&oe.hash_mask,oe.prev[Ae&oe.w_mask]=oe.head[oe.ins_h],oe.head[oe.ins_h]=Ae,Ae++,--me;);oe.strstart=Ae,oe.lookahead=D-1,de(oe)}return oe.strstart+=oe.lookahead,oe.block_start=oe.strstart,oe.insert=oe.lookahead,oe.lookahead=0,oe.match_length=oe.prev_length=D-1,oe.match_available=0,J.next_in=ye,J.input=Ce,J.avail_in=te,oe.wrap=ue,h},r.deflateInfo="pako deflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./messages":51,"./trees":52}],47:[function(t,e,r){"use strict";e.exports=function(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}},{}],48:[function(t,e,r){"use strict";e.exports=function(n,o){var i,a,s,l,u,f,h,d,p,m,g,y,b,w,C,S,k,T,D,R,M,j,P,L,O;i=n.state,a=n.next_in,L=n.input,s=a+(n.avail_in-5),l=n.next_out,O=n.output,u=l-(o-n.avail_out),f=l+(n.avail_out-257),h=i.dmax,d=i.wsize,p=i.whave,m=i.wnext,g=i.window,y=i.hold,b=i.bits,w=i.lencode,C=i.distcode,S=(1<<i.lenbits)-1,k=(1<<i.distbits)-1;e:do{b<15&&(y+=L[a++]<<b,b+=8,y+=L[a++]<<b,b+=8),T=w[y&S];t:for(;;){if(y>>>=D=T>>>24,b-=D,(D=T>>>16&255)===0)O[l++]=65535&T;else{if(!(16&D)){if((64&D)==0){T=w[(65535&T)+(y&(1<<D)-1)];continue t}if(32&D){i.mode=12;break e}n.msg="invalid literal/length code",i.mode=30;break e}R=65535&T,(D&=15)&&(b<D&&(y+=L[a++]<<b,b+=8),R+=y&(1<<D)-1,y>>>=D,b-=D),b<15&&(y+=L[a++]<<b,b+=8,y+=L[a++]<<b,b+=8),T=C[y&k];r:for(;;){if(y>>>=D=T>>>24,b-=D,!(16&(D=T>>>16&255))){if((64&D)==0){T=C[(65535&T)+(y&(1<<D)-1)];continue r}n.msg="invalid distance code",i.mode=30;break e}if(M=65535&T,b<(D&=15)&&(y+=L[a++]<<b,(b+=8)<D&&(y+=L[a++]<<b,b+=8)),h<(M+=y&(1<<D)-1)){n.msg="invalid distance too far back",i.mode=30;break e}if(y>>>=D,b-=D,(D=l-u)<M){if(p<(D=M-D)&&i.sane){n.msg="invalid distance too far back",i.mode=30;break e}if(P=g,(j=0)===m){if(j+=d-D,D<R){for(R-=D;O[l++]=g[j++],--D;);j=l-M,P=O}}else if(m<D){if(j+=d+m-D,(D-=m)<R){for(R-=D;O[l++]=g[j++],--D;);if(j=0,m<R){for(R-=D=m;O[l++]=g[j++],--D;);j=l-M,P=O}}}else if(j+=m-D,D<R){for(R-=D;O[l++]=g[j++],--D;);j=l-M,P=O}for(;2<R;)O[l++]=P[j++],O[l++]=P[j++],O[l++]=P[j++],R-=3;R&&(O[l++]=P[j++],1<R&&(O[l++]=P[j++]))}else{for(j=l-M;O[l++]=O[j++],O[l++]=O[j++],O[l++]=O[j++],2<(R-=3););R&&(O[l++]=O[j++],1<R&&(O[l++]=O[j++]))}break}}break}}while(a<s&&l<f);a-=R=b>>3,y&=(1<<(b-=R<<3))-1,n.next_in=a,n.next_out=l,n.avail_in=a<s?s-a+5:5-(a-s),n.avail_out=l<f?f-l+257:257-(l-f),i.hold=y,i.bits=b}},{}],49:[function(t,e,r){"use strict";var n=t("../utils/common"),o=t("./adler32"),i=t("./crc32"),a=t("./inffast"),s=t("./inftrees"),l=1,u=2,f=0,h=-2,d=1,p=852,m=592;function g(j){return(j>>>24&255)+(j>>>8&65280)+((65280&j)<<8)+((255&j)<<24)}function y(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new n.Buf16(320),this.work=new n.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function b(j){var P;return j&&j.state?(P=j.state,j.total_in=j.total_out=P.total=0,j.msg="",P.wrap&&(j.adler=1&P.wrap),P.mode=d,P.last=0,P.havedict=0,P.dmax=32768,P.head=null,P.hold=0,P.bits=0,P.lencode=P.lendyn=new n.Buf32(p),P.distcode=P.distdyn=new n.Buf32(m),P.sane=1,P.back=-1,f):h}function w(j){var P;return j&&j.state?((P=j.state).wsize=0,P.whave=0,P.wnext=0,b(j)):h}function C(j,P){var L,O;return j&&j.state?(O=j.state,P<0?(L=0,P=-P):(L=1+(P>>4),P<48&&(P&=15)),P&&(P<8||15<P)?h:(O.window!==null&&O.wbits!==P&&(O.window=null),O.wrap=L,O.wbits=P,w(j))):h}function S(j,P){var L,O;return j?(O=new y,(j.state=O).window=null,(L=C(j,P))!==f&&(j.state=null),L):h}var k,T,D=!0;function R(j){if(D){var P;for(k=new n.Buf32(512),T=new n.Buf32(32),P=0;P<144;)j.lens[P++]=8;for(;P<256;)j.lens[P++]=9;for(;P<280;)j.lens[P++]=7;for(;P<288;)j.lens[P++]=8;for(s(l,j.lens,0,288,k,0,j.work,{bits:9}),P=0;P<32;)j.lens[P++]=5;s(u,j.lens,0,32,T,0,j.work,{bits:5}),D=!1}j.lencode=k,j.lenbits=9,j.distcode=T,j.distbits=5}function M(j,P,L,O){var B,N=j.state;return N.window===null&&(N.wsize=1<<N.wbits,N.wnext=0,N.whave=0,N.window=new n.Buf8(N.wsize)),O>=N.wsize?(n.arraySet(N.window,P,L-N.wsize,N.wsize,0),N.wnext=0,N.whave=N.wsize):(O<(B=N.wsize-N.wnext)&&(B=O),n.arraySet(N.window,P,L-O,B,N.wnext),(O-=B)?(n.arraySet(N.window,P,L-O,O,0),N.wnext=O,N.whave=N.wsize):(N.wnext+=B,N.wnext===N.wsize&&(N.wnext=0),N.whave<N.wsize&&(N.whave+=B))),0}r.inflateReset=w,r.inflateReset2=C,r.inflateResetKeep=b,r.inflateInit=function(j){return S(j,15)},r.inflateInit2=S,r.inflate=function(j,P){var L,O,B,N,$,V,W,q,X,ee,K,Q,de,pe,xe,se,ae,fe,ve,Me,J,he,oe,Ae,me=0,ue=new n.Buf8(4),te=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!j||!j.state||!j.output||!j.input&&j.avail_in!==0)return h;(L=j.state).mode===12&&(L.mode=13),$=j.next_out,B=j.output,W=j.avail_out,N=j.next_in,O=j.input,V=j.avail_in,q=L.hold,X=L.bits,ee=V,K=W,he=f;e:for(;;)switch(L.mode){case d:if(L.wrap===0){L.mode=13;break}for(;X<16;){if(V===0)break e;V--,q+=O[N++]<<X,X+=8}if(2&L.wrap&&q===35615){ue[L.check=0]=255&q,ue[1]=q>>>8&255,L.check=i(L.check,ue,2,0),X=q=0,L.mode=2;break}if(L.flags=0,L.head&&(L.head.done=!1),!(1&L.wrap)||(((255&q)<<8)+(q>>8))%31){j.msg="incorrect header check",L.mode=30;break}if((15&q)!=8){j.msg="unknown compression method",L.mode=30;break}if(X-=4,J=8+(15&(q>>>=4)),L.wbits===0)L.wbits=J;else if(J>L.wbits){j.msg="invalid window size",L.mode=30;break}L.dmax=1<<J,j.adler=L.check=1,L.mode=512&q?10:12,X=q=0;break;case 2:for(;X<16;){if(V===0)break e;V--,q+=O[N++]<<X,X+=8}if(L.flags=q,(255&L.flags)!=8){j.msg="unknown compression method",L.mode=30;break}if(57344&L.flags){j.msg="unknown header flags set",L.mode=30;break}L.head&&(L.head.text=q>>8&1),512&L.flags&&(ue[0]=255&q,ue[1]=q>>>8&255,L.check=i(L.check,ue,2,0)),X=q=0,L.mode=3;case 3:for(;X<32;){if(V===0)break e;V--,q+=O[N++]<<X,X+=8}L.head&&(L.head.time=q),512&L.flags&&(ue[0]=255&q,ue[1]=q>>>8&255,ue[2]=q>>>16&255,ue[3]=q>>>24&255,L.check=i(L.check,ue,4,0)),X=q=0,L.mode=4;case 4:for(;X<16;){if(V===0)break e;V--,q+=O[N++]<<X,X+=8}L.head&&(L.head.xflags=255&q,L.head.os=q>>8),512&L.flags&&(ue[0]=255&q,ue[1]=q>>>8&255,L.check=i(L.check,ue,2,0)),X=q=0,L.mode=5;case 5:if(1024&L.flags){for(;X<16;){if(V===0)break e;V--,q+=O[N++]<<X,X+=8}L.length=q,L.head&&(L.head.extra_len=q),512&L.flags&&(ue[0]=255&q,ue[1]=q>>>8&255,L.check=i(L.check,ue,2,0)),X=q=0}else L.head&&(L.head.extra=null);L.mode=6;case 6:if(1024&L.flags&&(V<(Q=L.length)&&(Q=V),Q&&(L.head&&(J=L.head.extra_len-L.length,L.head.extra||(L.head.extra=new Array(L.head.extra_len)),n.arraySet(L.head.extra,O,N,Q,J)),512&L.flags&&(L.check=i(L.check,O,Q,N)),V-=Q,N+=Q,L.length-=Q),L.length))break e;L.length=0,L.mode=7;case 7:if(2048&L.flags){if(V===0)break e;for(Q=0;J=O[N+Q++],L.head&&J&&L.length<65536&&(L.head.name+=String.fromCharCode(J)),J&&Q<V;);if(512&L.flags&&(L.check=i(L.check,O,Q,N)),V-=Q,N+=Q,J)break e}else L.head&&(L.head.name=null);L.length=0,L.mode=8;case 8:if(4096&L.flags){if(V===0)break e;for(Q=0;J=O[N+Q++],L.head&&J&&L.length<65536&&(L.head.comment+=String.fromCharCode(J)),J&&Q<V;);if(512&L.flags&&(L.check=i(L.check,O,Q,N)),V-=Q,N+=Q,J)break e}else L.head&&(L.head.comment=null);L.mode=9;case 9:if(512&L.flags){for(;X<16;){if(V===0)break e;V--,q+=O[N++]<<X,X+=8}if(q!==(65535&L.check)){j.msg="header crc mismatch",L.mode=30;break}X=q=0}L.head&&(L.head.hcrc=L.flags>>9&1,L.head.done=!0),j.adler=L.check=0,L.mode=12;break;case 10:for(;X<32;){if(V===0)break e;V--,q+=O[N++]<<X,X+=8}j.adler=L.check=g(q),X=q=0,L.mode=11;case 11:if(L.havedict===0)return j.next_out=$,j.avail_out=W,j.next_in=N,j.avail_in=V,L.hold=q,L.bits=X,2;j.adler=L.check=1,L.mode=12;case 12:if(P===5||P===6)break e;case 13:if(L.last){q>>>=7&X,X-=7&X,L.mode=27;break}for(;X<3;){if(V===0)break e;V--,q+=O[N++]<<X,X+=8}switch(L.last=1&q,X-=1,3&(q>>>=1)){case 0:L.mode=14;break;case 1:if(R(L),L.mode=20,P!==6)break;q>>>=2,X-=2;break e;case 2:L.mode=17;break;case 3:j.msg="invalid block type",L.mode=30}q>>>=2,X-=2;break;case 14:for(q>>>=7&X,X-=7&X;X<32;){if(V===0)break e;V--,q+=O[N++]<<X,X+=8}if((65535&q)!=(q>>>16^65535)){j.msg="invalid stored block lengths",L.mode=30;break}if(L.length=65535&q,X=q=0,L.mode=15,P===6)break e;case 15:L.mode=16;case 16:if(Q=L.length){if(V<Q&&(Q=V),W<Q&&(Q=W),Q===0)break e;n.arraySet(B,O,N,Q,$),V-=Q,N+=Q,W-=Q,$+=Q,L.length-=Q;break}L.mode=12;break;case 17:for(;X<14;){if(V===0)break e;V--,q+=O[N++]<<X,X+=8}if(L.nlen=257+(31&q),q>>>=5,X-=5,L.ndist=1+(31&q),q>>>=5,X-=5,L.ncode=4+(15&q),q>>>=4,X-=4,286<L.nlen||30<L.ndist){j.msg="too many length or distance symbols",L.mode=30;break}L.have=0,L.mode=18;case 18:for(;L.have<L.ncode;){for(;X<3;){if(V===0)break e;V--,q+=O[N++]<<X,X+=8}L.lens[te[L.have++]]=7&q,q>>>=3,X-=3}for(;L.have<19;)L.lens[te[L.have++]]=0;if(L.lencode=L.lendyn,L.lenbits=7,oe={bits:L.lenbits},he=s(0,L.lens,0,19,L.lencode,0,L.work,oe),L.lenbits=oe.bits,he){j.msg="invalid code lengths set",L.mode=30;break}L.have=0,L.mode=19;case 19:for(;L.have<L.nlen+L.ndist;){for(;se=(me=L.lencode[q&(1<<L.lenbits)-1])>>>16&255,ae=65535&me,!((xe=me>>>24)<=X);){if(V===0)break e;V--,q+=O[N++]<<X,X+=8}if(ae<16)q>>>=xe,X-=xe,L.lens[L.have++]=ae;else{if(ae===16){for(Ae=xe+2;X<Ae;){if(V===0)break e;V--,q+=O[N++]<<X,X+=8}if(q>>>=xe,X-=xe,L.have===0){j.msg="invalid bit length repeat",L.mode=30;break}J=L.lens[L.have-1],Q=3+(3&q),q>>>=2,X-=2}else if(ae===17){for(Ae=xe+3;X<Ae;){if(V===0)break e;V--,q+=O[N++]<<X,X+=8}X-=xe,J=0,Q=3+(7&(q>>>=xe)),q>>>=3,X-=3}else{for(Ae=xe+7;X<Ae;){if(V===0)break e;V--,q+=O[N++]<<X,X+=8}X-=xe,J=0,Q=11+(127&(q>>>=xe)),q>>>=7,X-=7}if(L.have+Q>L.nlen+L.ndist){j.msg="invalid bit length repeat",L.mode=30;break}for(;Q--;)L.lens[L.have++]=J}}if(L.mode===30)break;if(L.lens[256]===0){j.msg="invalid code -- missing end-of-block",L.mode=30;break}if(L.lenbits=9,oe={bits:L.lenbits},he=s(l,L.lens,0,L.nlen,L.lencode,0,L.work,oe),L.lenbits=oe.bits,he){j.msg="invalid literal/lengths set",L.mode=30;break}if(L.distbits=6,L.distcode=L.distdyn,oe={bits:L.distbits},he=s(u,L.lens,L.nlen,L.ndist,L.distcode,0,L.work,oe),L.distbits=oe.bits,he){j.msg="invalid distances set",L.mode=30;break}if(L.mode=20,P===6)break e;case 20:L.mode=21;case 21:if(6<=V&&258<=W){j.next_out=$,j.avail_out=W,j.next_in=N,j.avail_in=V,L.hold=q,L.bits=X,a(j,K),$=j.next_out,B=j.output,W=j.avail_out,N=j.next_in,O=j.input,V=j.avail_in,q=L.hold,X=L.bits,L.mode===12&&(L.back=-1);break}for(L.back=0;se=(me=L.lencode[q&(1<<L.lenbits)-1])>>>16&255,ae=65535&me,!((xe=me>>>24)<=X);){if(V===0)break e;V--,q+=O[N++]<<X,X+=8}if(se&&(240&se)==0){for(fe=xe,ve=se,Me=ae;se=(me=L.lencode[Me+((q&(1<<fe+ve)-1)>>fe)])>>>16&255,ae=65535&me,!(fe+(xe=me>>>24)<=X);){if(V===0)break e;V--,q+=O[N++]<<X,X+=8}q>>>=fe,X-=fe,L.back+=fe}if(q>>>=xe,X-=xe,L.back+=xe,L.length=ae,se===0){L.mode=26;break}if(32&se){L.back=-1,L.mode=12;break}if(64&se){j.msg="invalid literal/length code",L.mode=30;break}L.extra=15&se,L.mode=22;case 22:if(L.extra){for(Ae=L.extra;X<Ae;){if(V===0)break e;V--,q+=O[N++]<<X,X+=8}L.length+=q&(1<<L.extra)-1,q>>>=L.extra,X-=L.extra,L.back+=L.extra}L.was=L.length,L.mode=23;case 23:for(;se=(me=L.distcode[q&(1<<L.distbits)-1])>>>16&255,ae=65535&me,!((xe=me>>>24)<=X);){if(V===0)break e;V--,q+=O[N++]<<X,X+=8}if((240&se)==0){for(fe=xe,ve=se,Me=ae;se=(me=L.distcode[Me+((q&(1<<fe+ve)-1)>>fe)])>>>16&255,ae=65535&me,!(fe+(xe=me>>>24)<=X);){if(V===0)break e;V--,q+=O[N++]<<X,X+=8}q>>>=fe,X-=fe,L.back+=fe}if(q>>>=xe,X-=xe,L.back+=xe,64&se){j.msg="invalid distance code",L.mode=30;break}L.offset=ae,L.extra=15&se,L.mode=24;case 24:if(L.extra){for(Ae=L.extra;X<Ae;){if(V===0)break e;V--,q+=O[N++]<<X,X+=8}L.offset+=q&(1<<L.extra)-1,q>>>=L.extra,X-=L.extra,L.back+=L.extra}if(L.offset>L.dmax){j.msg="invalid distance too far back",L.mode=30;break}L.mode=25;case 25:if(W===0)break e;if(Q=K-W,L.offset>Q){if((Q=L.offset-Q)>L.whave&&L.sane){j.msg="invalid distance too far back",L.mode=30;break}de=Q>L.wnext?(Q-=L.wnext,L.wsize-Q):L.wnext-Q,Q>L.length&&(Q=L.length),pe=L.window}else pe=B,de=$-L.offset,Q=L.length;for(W<Q&&(Q=W),W-=Q,L.length-=Q;B[$++]=pe[de++],--Q;);L.length===0&&(L.mode=21);break;case 26:if(W===0)break e;B[$++]=L.length,W--,L.mode=21;break;case 27:if(L.wrap){for(;X<32;){if(V===0)break e;V--,q|=O[N++]<<X,X+=8}if(K-=W,j.total_out+=K,L.total+=K,K&&(j.adler=L.check=L.flags?i(L.check,B,K,$-K):o(L.check,B,K,$-K)),K=W,(L.flags?q:g(q))!==L.check){j.msg="incorrect data check",L.mode=30;break}X=q=0}L.mode=28;case 28:if(L.wrap&&L.flags){for(;X<32;){if(V===0)break e;V--,q+=O[N++]<<X,X+=8}if(q!==(4294967295&L.total)){j.msg="incorrect length check",L.mode=30;break}X=q=0}L.mode=29;case 29:he=1;break e;case 30:he=-3;break e;case 31:return-4;case 32:default:return h}return j.next_out=$,j.avail_out=W,j.next_in=N,j.avail_in=V,L.hold=q,L.bits=X,(L.wsize||K!==j.avail_out&&L.mode<30&&(L.mode<27||P!==4))&&M(j,j.output,j.next_out,K-j.avail_out)?(L.mode=31,-4):(ee-=j.avail_in,K-=j.avail_out,j.total_in+=ee,j.total_out+=K,L.total+=K,L.wrap&&K&&(j.adler=L.check=L.flags?i(L.check,B,K,j.next_out-K):o(L.check,B,K,j.next_out-K)),j.data_type=L.bits+(L.last?64:0)+(L.mode===12?128:0)+(L.mode===20||L.mode===15?256:0),(ee==0&&K===0||P===4)&&he===f&&(he=-5),he)},r.inflateEnd=function(j){if(!j||!j.state)return h;var P=j.state;return P.window&&(P.window=null),j.state=null,f},r.inflateGetHeader=function(j,P){var L;return j&&j.state?(2&(L=j.state).wrap)==0?h:((L.head=P).done=!1,f):h},r.inflateSetDictionary=function(j,P){var L,O=P.length;return j&&j.state?(L=j.state).wrap!==0&&L.mode!==11?h:L.mode===11&&o(1,P,O,0)!==L.check?-3:M(j,P,O,O)?(L.mode=31,-4):(L.havedict=1,f):h},r.inflateInfo="pako inflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./inffast":48,"./inftrees":50}],50:[function(t,e,r){"use strict";var n=t("../utils/common"),o=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],i=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],a=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],s=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];e.exports=function(l,u,f,h,d,p,m,g){var y,b,w,C,S,k,T,D,R,M=g.bits,j=0,P=0,L=0,O=0,B=0,N=0,$=0,V=0,W=0,q=0,X=null,ee=0,K=new n.Buf16(16),Q=new n.Buf16(16),de=null,pe=0;for(j=0;j<=15;j++)K[j]=0;for(P=0;P<h;P++)K[u[f+P]]++;for(B=M,O=15;1<=O&&K[O]===0;O--);if(O<B&&(B=O),O===0)return d[p++]=20971520,d[p++]=20971520,g.bits=1,0;for(L=1;L<O&&K[L]===0;L++);for(B<L&&(B=L),j=V=1;j<=15;j++)if(V<<=1,(V-=K[j])<0)return-1;if(0<V&&(l===0||O!==1))return-1;for(Q[1]=0,j=1;j<15;j++)Q[j+1]=Q[j]+K[j];for(P=0;P<h;P++)u[f+P]!==0&&(m[Q[u[f+P]]++]=P);if(k=l===0?(X=de=m,19):l===1?(X=o,ee-=257,de=i,pe-=257,256):(X=a,de=s,-1),j=L,S=p,$=P=q=0,w=-1,C=(W=1<<(N=B))-1,l===1&&852<W||l===2&&592<W)return 1;for(;;){for(T=j-$,R=m[P]<k?(D=0,m[P]):m[P]>k?(D=de[pe+m[P]],X[ee+m[P]]):(D=96,0),y=1<<j-$,L=b=1<<N;d[S+(q>>$)+(b-=y)]=T<<24|D<<16|R|0,b!==0;);for(y=1<<j-1;q&y;)y>>=1;if(y!==0?(q&=y-1,q+=y):q=0,P++,--K[j]==0){if(j===O)break;j=u[f+m[P]]}if(B<j&&(q&C)!==w){for($===0&&($=B),S+=L,V=1<<(N=j-$);N+$<O&&!((V-=K[N+$])<=0);)N++,V<<=1;if(W+=1<<N,l===1&&852<W||l===2&&592<W)return 1;d[w=q&C]=B<<24|N<<16|S-p|0}}return q!==0&&(d[S+q]=j-$<<24|64<<16|0),g.bits=B,0}},{"../utils/common":41}],51:[function(t,e,r){"use strict";e.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}},{}],52:[function(t,e,r){"use strict";var n=t("../utils/common"),o=0,i=1;function a(me){for(var ue=me.length;0<=--ue;)me[ue]=0}var s=0,l=29,u=256,f=u+1+l,h=30,d=19,p=2*f+1,m=15,g=16,y=7,b=256,w=16,C=17,S=18,k=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],T=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],D=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],R=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],M=new Array(2*(f+2));a(M);var j=new Array(2*h);a(j);var P=new Array(512);a(P);var L=new Array(256);a(L);var O=new Array(l);a(O);var B,N,$,V=new Array(h);function W(me,ue,te,ye,Ce){this.static_tree=me,this.extra_bits=ue,this.extra_base=te,this.elems=ye,this.max_length=Ce,this.has_stree=me&&me.length}function q(me,ue){this.dyn_tree=me,this.max_code=0,this.stat_desc=ue}function X(me){return me<256?P[me]:P[256+(me>>>7)]}function ee(me,ue){me.pending_buf[me.pending++]=255&ue,me.pending_buf[me.pending++]=ue>>>8&255}function K(me,ue,te){me.bi_valid>g-te?(me.bi_buf|=ue<<me.bi_valid&65535,ee(me,me.bi_buf),me.bi_buf=ue>>g-me.bi_valid,me.bi_valid+=te-g):(me.bi_buf|=ue<<me.bi_valid&65535,me.bi_valid+=te)}function Q(me,ue,te){K(me,te[2*ue],te[2*ue+1])}function de(me,ue){for(var te=0;te|=1&me,me>>>=1,te<<=1,0<--ue;);return te>>>1}function pe(me,ue,te){var ye,Ce,Ie=new Array(m+1),Re=0;for(ye=1;ye<=m;ye++)Ie[ye]=Re=Re+te[ye-1]<<1;for(Ce=0;Ce<=ue;Ce++){var _e=me[2*Ce+1];_e!==0&&(me[2*Ce]=de(Ie[_e]++,_e))}}function xe(me){var ue;for(ue=0;ue<f;ue++)me.dyn_ltree[2*ue]=0;for(ue=0;ue<h;ue++)me.dyn_dtree[2*ue]=0;for(ue=0;ue<d;ue++)me.bl_tree[2*ue]=0;me.dyn_ltree[2*b]=1,me.opt_len=me.static_len=0,me.last_lit=me.matches=0}function se(me){8<me.bi_valid?ee(me,me.bi_buf):0<me.bi_valid&&(me.pending_buf[me.pending++]=me.bi_buf),me.bi_buf=0,me.bi_valid=0}function ae(me,ue,te,ye){var Ce=2*ue,Ie=2*te;return me[Ce]<me[Ie]||me[Ce]===me[Ie]&&ye[ue]<=ye[te]}function fe(me,ue,te){for(var ye=me.heap[te],Ce=te<<1;Ce<=me.heap_len&&(Ce<me.heap_len&&ae(ue,me.heap[Ce+1],me.heap[Ce],me.depth)&&Ce++,!ae(ue,ye,me.heap[Ce],me.depth));)me.heap[te]=me.heap[Ce],te=Ce,Ce<<=1;me.heap[te]=ye}function ve(me,ue,te){var ye,Ce,Ie,Re,_e=0;if(me.last_lit!==0)for(;ye=me.pending_buf[me.d_buf+2*_e]<<8|me.pending_buf[me.d_buf+2*_e+1],Ce=me.pending_buf[me.l_buf+_e],_e++,ye===0?Q(me,Ce,ue):(Q(me,(Ie=L[Ce])+u+1,ue),(Re=k[Ie])!==0&&K(me,Ce-=O[Ie],Re),Q(me,Ie=X(--ye),te),(Re=T[Ie])!==0&&K(me,ye-=V[Ie],Re)),_e<me.last_lit;);Q(me,b,ue)}function Me(me,ue){var te,ye,Ce,Ie=ue.dyn_tree,Re=ue.stat_desc.static_tree,_e=ue.stat_desc.has_stree,Ve=ue.stat_desc.elems,Fe=-1;for(me.heap_len=0,me.heap_max=p,te=0;te<Ve;te++)Ie[2*te]!==0?(me.heap[++me.heap_len]=Fe=te,me.depth[te]=0):Ie[2*te+1]=0;for(;me.heap_len<2;)Ie[2*(Ce=me.heap[++me.heap_len]=Fe<2?++Fe:0)]=1,me.depth[Ce]=0,me.opt_len--,_e&&(me.static_len-=Re[2*Ce+1]);for(ue.max_code=Fe,te=me.heap_len>>1;1<=te;te--)fe(me,Ie,te);for(Ce=Ve;te=me.heap[1],me.heap[1]=me.heap[me.heap_len--],fe(me,Ie,1),ye=me.heap[1],me.heap[--me.heap_max]=te,me.heap[--me.heap_max]=ye,Ie[2*Ce]=Ie[2*te]+Ie[2*ye],me.depth[Ce]=(me.depth[te]>=me.depth[ye]?me.depth[te]:me.depth[ye])+1,Ie[2*te+1]=Ie[2*ye+1]=Ce,me.heap[1]=Ce++,fe(me,Ie,1),2<=me.heap_len;);me.heap[--me.heap_max]=me.heap[1],(function(je,qe){var Je,Ue,Pe,$e,ot,Ne,Oe=qe.dyn_tree,Ze=qe.max_code,kt=qe.stat_desc.static_tree,Tt=qe.stat_desc.has_stree,Be=qe.stat_desc.extra_bits,ct=qe.stat_desc.extra_base,ft=qe.stat_desc.max_length,gt=0;for($e=0;$e<=m;$e++)je.bl_count[$e]=0;for(Oe[2*je.heap[je.heap_max]+1]=0,Je=je.heap_max+1;Je<p;Je++)ft<($e=Oe[2*Oe[2*(Ue=je.heap[Je])+1]+1]+1)&&($e=ft,gt++),Oe[2*Ue+1]=$e,Ze<Ue||(je.bl_count[$e]++,ot=0,ct<=Ue&&(ot=Be[Ue-ct]),Ne=Oe[2*Ue],je.opt_len+=Ne*($e+ot),Tt&&(je.static_len+=Ne*(kt[2*Ue+1]+ot)));if(gt!==0){do{for($e=ft-1;je.bl_count[$e]===0;)$e--;je.bl_count[$e]--,je.bl_count[$e+1]+=2,je.bl_count[ft]--,gt-=2}while(0<gt);for($e=ft;$e!==0;$e--)for(Ue=je.bl_count[$e];Ue!==0;)Ze<(Pe=je.heap[--Je])||(Oe[2*Pe+1]!==$e&&(je.opt_len+=($e-Oe[2*Pe+1])*Oe[2*Pe],Oe[2*Pe+1]=$e),Ue--)}})(me,ue),pe(Ie,Fe,me.bl_count)}function J(me,ue,te){var ye,Ce,Ie=-1,Re=ue[1],_e=0,Ve=7,Fe=4;for(Re===0&&(Ve=138,Fe=3),ue[2*(te+1)+1]=65535,ye=0;ye<=te;ye++)Ce=Re,Re=ue[2*(ye+1)+1],++_e<Ve&&Ce===Re||(_e<Fe?me.bl_tree[2*Ce]+=_e:Ce!==0?(Ce!==Ie&&me.bl_tree[2*Ce]++,me.bl_tree[2*w]++):_e<=10?me.bl_tree[2*C]++:me.bl_tree[2*S]++,Ie=Ce,Fe=(_e=0)===Re?(Ve=138,3):Ce===Re?(Ve=6,3):(Ve=7,4))}function he(me,ue,te){var ye,Ce,Ie=-1,Re=ue[1],_e=0,Ve=7,Fe=4;for(Re===0&&(Ve=138,Fe=3),ye=0;ye<=te;ye++)if(Ce=Re,Re=ue[2*(ye+1)+1],!(++_e<Ve&&Ce===Re)){if(_e<Fe)for(;Q(me,Ce,me.bl_tree),--_e!=0;);else Ce!==0?(Ce!==Ie&&(Q(me,Ce,me.bl_tree),_e--),Q(me,w,me.bl_tree),K(me,_e-3,2)):_e<=10?(Q(me,C,me.bl_tree),K(me,_e-3,3)):(Q(me,S,me.bl_tree),K(me,_e-11,7));Ie=Ce,Fe=(_e=0)===Re?(Ve=138,3):Ce===Re?(Ve=6,3):(Ve=7,4)}}a(V);var oe=!1;function Ae(me,ue,te,ye){K(me,(s<<1)+(ye?1:0),3),(function(Ce,Ie,Re,_e){se(Ce),_e&&(ee(Ce,Re),ee(Ce,~Re)),n.arraySet(Ce.pending_buf,Ce.window,Ie,Re,Ce.pending),Ce.pending+=Re})(me,ue,te,!0)}r._tr_init=function(me){oe||((function(){var ue,te,ye,Ce,Ie,Re=new Array(m+1);for(Ce=ye=0;Ce<l-1;Ce++)for(O[Ce]=ye,ue=0;ue<1<<k[Ce];ue++)L[ye++]=Ce;for(L[ye-1]=Ce,Ce=Ie=0;Ce<16;Ce++)for(V[Ce]=Ie,ue=0;ue<1<<T[Ce];ue++)P[Ie++]=Ce;for(Ie>>=7;Ce<h;Ce++)for(V[Ce]=Ie<<7,ue=0;ue<1<<T[Ce]-7;ue++)P[256+Ie++]=Ce;for(te=0;te<=m;te++)Re[te]=0;for(ue=0;ue<=143;)M[2*ue+1]=8,ue++,Re[8]++;for(;ue<=255;)M[2*ue+1]=9,ue++,Re[9]++;for(;ue<=279;)M[2*ue+1]=7,ue++,Re[7]++;for(;ue<=287;)M[2*ue+1]=8,ue++,Re[8]++;for(pe(M,f+1,Re),ue=0;ue<h;ue++)j[2*ue+1]=5,j[2*ue]=de(ue,5);B=new W(M,k,u+1,f,m),N=new W(j,T,0,h,m),$=new W(new Array(0),D,0,d,y)})(),oe=!0),me.l_desc=new q(me.dyn_ltree,B),me.d_desc=new q(me.dyn_dtree,N),me.bl_desc=new q(me.bl_tree,$),me.bi_buf=0,me.bi_valid=0,xe(me)},r._tr_stored_block=Ae,r._tr_flush_block=function(me,ue,te,ye){var Ce,Ie,Re=0;0<me.level?(me.strm.data_type===2&&(me.strm.data_type=(function(_e){var Ve,Fe=4093624447;for(Ve=0;Ve<=31;Ve++,Fe>>>=1)if(1&Fe&&_e.dyn_ltree[2*Ve]!==0)return o;if(_e.dyn_ltree[18]!==0||_e.dyn_ltree[20]!==0||_e.dyn_ltree[26]!==0)return i;for(Ve=32;Ve<u;Ve++)if(_e.dyn_ltree[2*Ve]!==0)return i;return o})(me)),Me(me,me.l_desc),Me(me,me.d_desc),Re=(function(_e){var Ve;for(J(_e,_e.dyn_ltree,_e.l_desc.max_code),J(_e,_e.dyn_dtree,_e.d_desc.max_code),Me(_e,_e.bl_desc),Ve=d-1;3<=Ve&&_e.bl_tree[2*R[Ve]+1]===0;Ve--);return _e.opt_len+=3*(Ve+1)+5+5+4,Ve})(me),Ce=me.opt_len+3+7>>>3,(Ie=me.static_len+3+7>>>3)<=Ce&&(Ce=Ie)):Ce=Ie=te+5,te+4<=Ce&&ue!==-1?Ae(me,ue,te,ye):me.strategy===4||Ie===Ce?(K(me,2+(ye?1:0),3),ve(me,M,j)):(K(me,4+(ye?1:0),3),(function(_e,Ve,Fe,je){var qe;for(K(_e,Ve-257,5),K(_e,Fe-1,5),K(_e,je-4,4),qe=0;qe<je;qe++)K(_e,_e.bl_tree[2*R[qe]+1],3);he(_e,_e.dyn_ltree,Ve-1),he(_e,_e.dyn_dtree,Fe-1)})(me,me.l_desc.max_code+1,me.d_desc.max_code+1,Re+1),ve(me,me.dyn_ltree,me.dyn_dtree)),xe(me),ye&&se(me)},r._tr_tally=function(me,ue,te){return me.pending_buf[me.d_buf+2*me.last_lit]=ue>>>8&255,me.pending_buf[me.d_buf+2*me.last_lit+1]=255&ue,me.pending_buf[me.l_buf+me.last_lit]=255&te,me.last_lit++,ue===0?me.dyn_ltree[2*te]++:(me.matches++,ue--,me.dyn_ltree[2*(L[te]+u+1)]++,me.dyn_dtree[2*X(ue)]++),me.last_lit===me.lit_bufsize-1},r._tr_align=function(me){K(me,2,3),Q(me,b,M),(function(ue){ue.bi_valid===16?(ee(ue,ue.bi_buf),ue.bi_buf=0,ue.bi_valid=0):8<=ue.bi_valid&&(ue.pending_buf[ue.pending++]=255&ue.bi_buf,ue.bi_buf>>=8,ue.bi_valid-=8)})(me)}},{"../utils/common":41}],53:[function(t,e,r){"use strict";e.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},{}],54:[function(t,e,r){(function(n){(function(o,i){"use strict";if(!o.setImmediate){var a,s,l,u,f=1,h={},d=!1,p=o.document,m=Object.getPrototypeOf&&Object.getPrototypeOf(o);m=m&&m.setTimeout?m:o,a={}.toString.call(o.process)==="[object process]"?function(w){process.nextTick(function(){y(w)})}:(function(){if(o.postMessage&&!o.importScripts){var w=!0,C=o.onmessage;return o.onmessage=function(){w=!1},o.postMessage("","*"),o.onmessage=C,w}})()?(u="setImmediate$"+Math.random()+"$",o.addEventListener?o.addEventListener("message",b,!1):o.attachEvent("onmessage",b),function(w){o.postMessage(u+w,"*")}):o.MessageChannel?((l=new MessageChannel).port1.onmessage=function(w){y(w.data)},function(w){l.port2.postMessage(w)}):p&&"onreadystatechange"in p.createElement("script")?(s=p.documentElement,function(w){var C=p.createElement("script");C.onreadystatechange=function(){y(w),C.onreadystatechange=null,s.removeChild(C),C=null},s.appendChild(C)}):function(w){setTimeout(y,0,w)},m.setImmediate=function(w){typeof w!="function"&&(w=new Function(""+w));for(var C=new Array(arguments.length-1),S=0;S<C.length;S++)C[S]=arguments[S+1];var k={callback:w,args:C};return h[f]=k,a(f),f++},m.clearImmediate=g}function g(w){delete h[w]}function y(w){if(d)setTimeout(y,0,w);else{var C=h[w];if(C){d=!0;try{(function(S){var k=S.callback,T=S.args;switch(T.length){case 0:k();break;case 1:k(T[0]);break;case 2:k(T[0],T[1]);break;case 3:k(T[0],T[1],T[2]);break;default:k.apply(i,T)}})(C)}finally{g(w),d=!1}}}}function b(w){w.source===o&&typeof w.data=="string"&&w.data.indexOf(u)===0&&y(+w.data.slice(u.length))}})(typeof self>"u"?n===void 0?this:n:self)}).call(this,typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:{})},{}]},{},[10])(10)})});function vTo(t){let e=t||"book.epub";return e.toLowerCase().endsWith(".epub")?e:`${e}.epub`}var o2r,ATo=be(()=>{"use strict";x();o2r="application/epub+zip"});var i2r={};Ga(i2r,{exportToEpub:()=>trl});function xTo(t){return/^\s*<[^>]+\bid=(['"])markdown-content\1/i.test(t)?t:`<div id="markdown-content" class="markdown-viewer-content">${t}</div>`}async function $tl(t){let{container:e,title:r,documentService:n,onProgress:o,signal:i}=t;if(!e)throw new Error("Single-document EPUB export requires a rendered container");i?.throwIfAborted(),o?.("render",0,1);let a=await pRe({container:e,filename:r,title:r,documentService:n,includeKatexCdn:!1,onProgress:()=>{}});if(!a.success||!a.html)throw new Error(a.error||"Failed to serialize rendered HTML");let l=new DOMParser().parseFromString(a.html,"text/html").querySelector("#markdown-content");if(!l)throw new Error("Serialized HTML is missing #markdown-content");return o?.("render",1,1),{title:r,contentRootHtml:xTo(l.outerHTML)}}async function ztl(t){let{chapters:e,documentService:r,onProgress:n,signal:o}=t;if(!e||e.length===0)throw new Error("Whole-book EPUB export requires rendered chapter containers");let i=[],a=e.length;for(let s=0;s<a;s++){o?.throwIfAborted();let l=e[s],u=await pRe({container:l.container,filename:l.title,title:l.title,documentService:r,includeKatexCdn:!1,onProgress:()=>{}});if(!u.success||!u.html)throw new Error(u.error||`Failed to serialize chapter: ${l.title}`);let h=new DOMParser().parseFromString(u.html,"text/html").querySelector("#markdown-content");if(!h)throw new Error(`Serialized HTML is missing #markdown-content for chapter: ${l.title}`);i.push({title:l.title,contentRootHtml:xTo(h.outerHTML)}),n?.("render",s+1,a)}return i}function Gtl(t){return t.normalize("NFKD").replace(/[\u0300-\u036f]/g,"").replace(/[^\w\s-]/g,"").trim().replace(/[-\s]+/g,"-").replace(/^[-_]+|[-_]+$/g,"")||"chapter"}function tg(t){return t.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}function Htl(){return new Date().toISOString().replace(/\.\d{3}Z$/,"Z")}function qtl(){return String(new Date().getFullYear())}function Utl(){return globalThis.crypto&&typeof globalThis.crypto.randomUUID=="function"?globalThis.crypto.randomUUID():`book-${Date.now()}-${Math.random().toString(36).slice(2,10)}`}function Vtl(t){let e=t.match(/^data:([^;,]+)((?:;[^,]+)*?),(.*)$/s);if(!e)throw new Error("Invalid data URL format");let r=e[1]||"application/octet-stream",n=e[2]||"",o=e[3]||"";if(/;base64/i.test(n)){let a=atob(o),s=new Uint8Array(a.length);for(let l=0;l<a.length;l++)s[l]=a.charCodeAt(l);return{mediaType:r,bytes:s}}return{mediaType:r,bytes:new TextEncoder().encode(decodeURIComponent(o))}}function Wtl(t){let e=t.toLowerCase();return{"image/png":"png","image/jpeg":"jpg","image/gif":"gif","image/webp":"webp","image/svg+xml":"svg","image/bmp":"bmp","image/x-icon":"ico","image/avif":"avif"}[e]||"bin"}function Xtl(t,e){let r=new Map,n=0;return{html:t.replace(/<img\b[^>]*\bsrc=(['"])(data:[^'"]+)\1[^>]*>/gi,(i,a,s)=>{let l=r.get(s);if(!l){let u=Vtl(s),f=Wtl(u.mediaType),h=`img-${e+1}-${n+1}`;l={id:h,href:`images/${h}.${f}`,mediaType:u.mediaType,data:u.bytes},r.set(s,l),n+=1}return i.replace(s,l.href).replace(/\s+srcset=(['"])[^'"]*\1/gi,"")}),images:Array.from(r.values())}}function Ytl(t){let e=document.implementation.createDocument("http://www.w3.org/1999/xhtml","div",null),r=e.documentElement,o=document.implementation.createHTMLDocument("").createElement("div");o.innerHTML=t;let i=o.firstElementChild;if(!i)throw new Error("EPUB chapter is missing a content root element");let a=e.createElementNS("http://www.w3.org/1999/xhtml",i.tagName.toLowerCase());for(let l of Array.from(i.attributes))a.setAttribute(l.name,l.value);for(r.parentNode&&r.parentNode.replaceChild(a,r);i.firstChild;){let l=e.importNode(i.firstChild,!0);a.appendChild(l),i.removeChild(i.firstChild)}return new XMLSerializer().serializeToString(a).replace(/^<([a-z0-9-]+) xmlns="http:\/\/www\.w3\.org\/1999\/xhtml"/i,"<$1")}function Ktl(t,e,r){let n=Ytl(r);return`<?xml version="1.0" encoding="UTF-8"?>
|
|
3865
3865
|
<!DOCTYPE html>
|
|
3866
3866
|
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:epub="http://www.idpf.org/2007/ops" xml:lang="${tg(t)}" lang="${tg(t)}">
|