@vuebro/runtime 2.0.0 → 2.0.1
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/dist/.vite/manifest.json +1 -1
- package/dist/assets/index-C8IW8MAd.css +1 -0
- package/dist/assets/{index-mUQ3rbaL.js → index-bjoF6lvg.js} +15 -15
- package/dist/assets/{loader-sfc.esm-browser.prod-2.4.4.js → loader-sfc.esm-browser.prod-2.4.5.js} +12162 -12099
- package/dist/assets/markdown-BifHiMLf.js +205 -0
- package/dist/assets/{shared-CBNWmJhj.js → shared-8h9OKn1U.js} +1 -1
- package/dist/index.html +7 -6
- package/package.json +4 -7
- package/dist/assets/index-vGiKZPT9.css +0 -1
- package/dist/assets/markdown-BSBFMoWi.js +0 -215
|
@@ -1,215 +0,0 @@
|
|
|
1
|
-
import{r as renderToString,P as ParseError}from"./katex-UTpUfKgT.js";function getDefaultExportFromCjs(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function getAugmentedNamespace(e){if(Object.prototype.hasOwnProperty.call(e,"__esModule"))return e;var t=e.default;if(typeof t=="function"){var n=function r(){var o=!1;try{o=this instanceof r}catch{}return o?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var o=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,o.get?o:{enumerable:!0,get:function(){return e[r]}})}),n}var buffer={},base64Js={},hasRequiredBase64Js;function requireBase64Js(){if(hasRequiredBase64Js)return base64Js;hasRequiredBase64Js=1,base64Js.byteLength=Y,base64Js.toByteArray=Q,base64Js.fromByteArray=se;for(var e=[],t=[],n=typeof Uint8Array<"u"?Uint8Array:Array,r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",o=0,c=r.length;o<c;++o)e[o]=r[o],t[r.charCodeAt(o)]=o;t[45]=62,t[95]=63;function F(oe){var ce=oe.length;if(ce%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var le=oe.indexOf("=");le===-1&&(le=ce);var de=le===ce?0:4-le%4;return[le,de]}function Y(oe){var ce=F(oe),le=ce[0],de=ce[1];return(le+de)*3/4-de}function V(oe,ce,le){return(ce+le)*3/4-le}function Q(oe){var ce,le=F(oe),de=le[0],pe=le[1],be=new n(V(oe,de,pe)),ge=0,ye=pe>0?de-4:de,me;for(me=0;me<ye;me+=4)ce=t[oe.charCodeAt(me)]<<18|t[oe.charCodeAt(me+1)]<<12|t[oe.charCodeAt(me+2)]<<6|t[oe.charCodeAt(me+3)],be[ge++]=ce>>16&255,be[ge++]=ce>>8&255,be[ge++]=ce&255;return pe===2&&(ce=t[oe.charCodeAt(me)]<<2|t[oe.charCodeAt(me+1)]>>4,be[ge++]=ce&255),pe===1&&(ce=t[oe.charCodeAt(me)]<<10|t[oe.charCodeAt(me+1)]<<4|t[oe.charCodeAt(me+2)]>>2,be[ge++]=ce>>8&255,be[ge++]=ce&255),be}function X(oe){return e[oe>>18&63]+e[oe>>12&63]+e[oe>>6&63]+e[oe&63]}function ue(oe,ce,le){for(var de,pe=[],be=ce;be<le;be+=3)de=(oe[be]<<16&16711680)+(oe[be+1]<<8&65280)+(oe[be+2]&255),pe.push(X(de));return pe.join("")}function se(oe){for(var ce,le=oe.length,de=le%3,pe=[],be=16383,ge=0,ye=le-de;ge<ye;ge+=be)pe.push(ue(oe,ge,ge+be>ye?ye:ge+be));return de===1?(ce=oe[le-1],pe.push(e[ce>>2]+e[ce<<4&63]+"==")):de===2&&(ce=(oe[le-2]<<8)+oe[le-1],pe.push(e[ce>>10]+e[ce>>4&63]+e[ce<<2&63]+"=")),pe.join("")}return base64Js}var ieee754={};var hasRequiredIeee754;function requireIeee754(){return hasRequiredIeee754||(hasRequiredIeee754=1,ieee754.read=function(e,t,n,r,o){var c,F,Y=o*8-r-1,V=(1<<Y)-1,Q=V>>1,X=-7,ue=n?o-1:0,se=n?-1:1,oe=e[t+ue];for(ue+=se,c=oe&(1<<-X)-1,oe>>=-X,X+=Y;X>0;c=c*256+e[t+ue],ue+=se,X-=8);for(F=c&(1<<-X)-1,c>>=-X,X+=r;X>0;F=F*256+e[t+ue],ue+=se,X-=8);if(c===0)c=1-Q;else{if(c===V)return F?NaN:(oe?-1:1)*(1/0);F=F+Math.pow(2,r),c=c-Q}return(oe?-1:1)*F*Math.pow(2,c-r)},ieee754.write=function(e,t,n,r,o,c){var F,Y,V,Q=c*8-o-1,X=(1<<Q)-1,ue=X>>1,se=o===23?Math.pow(2,-24)-Math.pow(2,-77):0,oe=r?0:c-1,ce=r?1:-1,le=t<0||t===0&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(Y=isNaN(t)?1:0,F=X):(F=Math.floor(Math.log(t)/Math.LN2),t*(V=Math.pow(2,-F))<1&&(F--,V*=2),F+ue>=1?t+=se/V:t+=se*Math.pow(2,1-ue),t*V>=2&&(F++,V/=2),F+ue>=X?(Y=0,F=X):F+ue>=1?(Y=(t*V-1)*Math.pow(2,o),F=F+ue):(Y=t*Math.pow(2,ue-1)*Math.pow(2,o),F=0));o>=8;e[n+oe]=Y&255,oe+=ce,Y/=256,o-=8);for(F=F<<o|Y,Q+=o;Q>0;e[n+oe]=F&255,oe+=ce,F/=256,Q-=8);e[n+oe-ce]|=le*128}),ieee754}var hasRequiredBuffer;function requireBuffer(){return hasRequiredBuffer||(hasRequiredBuffer=1,(function(e){const t=requireBase64Js(),n=requireIeee754(),r=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;e.Buffer=Y,e.SlowBuffer=be,e.INSPECT_MAX_BYTES=50;const o=2147483647;e.kMaxLength=o,Y.TYPED_ARRAY_SUPPORT=c(),!Y.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 c(){try{const ie=new Uint8Array(1),ee={foo:function(){return 42}};return Object.setPrototypeOf(ee,Uint8Array.prototype),Object.setPrototypeOf(ie,ee),ie.foo()===42}catch{return!1}}Object.defineProperty(Y.prototype,"parent",{enumerable:!0,get:function(){if(Y.isBuffer(this))return this.buffer}}),Object.defineProperty(Y.prototype,"offset",{enumerable:!0,get:function(){if(Y.isBuffer(this))return this.byteOffset}});function F(ie){if(ie>o)throw new RangeError('The value "'+ie+'" is invalid for option "size"');const ee=new Uint8Array(ie);return Object.setPrototypeOf(ee,Y.prototype),ee}function Y(ie,ee,ne){if(typeof ie=="number"){if(typeof ee=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return ue(ie)}return V(ie,ee,ne)}Y.poolSize=8192;function V(ie,ee,ne){if(typeof ie=="string")return se(ie,ee);if(ArrayBuffer.isView(ie))return ce(ie);if(ie==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof ie);if(He(ie,ArrayBuffer)||ie&&He(ie.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(He(ie,SharedArrayBuffer)||ie&&He(ie.buffer,SharedArrayBuffer)))return le(ie,ee,ne);if(typeof ie=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');const re=ie.valueOf&&ie.valueOf();if(re!=null&&re!==ie)return Y.from(re,ee,ne);const ae=de(ie);if(ae)return ae;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof ie[Symbol.toPrimitive]=="function")return Y.from(ie[Symbol.toPrimitive]("string"),ee,ne);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof ie)}Y.from=function(ie,ee,ne){return V(ie,ee,ne)},Object.setPrototypeOf(Y.prototype,Uint8Array.prototype),Object.setPrototypeOf(Y,Uint8Array);function Q(ie){if(typeof ie!="number")throw new TypeError('"size" argument must be of type number');if(ie<0)throw new RangeError('The value "'+ie+'" is invalid for option "size"')}function X(ie,ee,ne){return Q(ie),ie<=0?F(ie):ee!==void 0?typeof ne=="string"?F(ie).fill(ee,ne):F(ie).fill(ee):F(ie)}Y.alloc=function(ie,ee,ne){return X(ie,ee,ne)};function ue(ie){return Q(ie),F(ie<0?0:pe(ie)|0)}Y.allocUnsafe=function(ie){return ue(ie)},Y.allocUnsafeSlow=function(ie){return ue(ie)};function se(ie,ee){if((typeof ee!="string"||ee==="")&&(ee="utf8"),!Y.isEncoding(ee))throw new TypeError("Unknown encoding: "+ee);const ne=ge(ie,ee)|0;let re=F(ne);const ae=re.write(ie,ee);return ae!==ne&&(re=re.slice(0,ae)),re}function oe(ie){const ee=ie.length<0?0:pe(ie.length)|0,ne=F(ee);for(let re=0;re<ee;re+=1)ne[re]=ie[re]&255;return ne}function ce(ie){if(He(ie,Uint8Array)){const ee=new Uint8Array(ie);return le(ee.buffer,ee.byteOffset,ee.byteLength)}return oe(ie)}function le(ie,ee,ne){if(ee<0||ie.byteLength<ee)throw new RangeError('"offset" is outside of buffer bounds');if(ie.byteLength<ee+(ne||0))throw new RangeError('"length" is outside of buffer bounds');let re;return ee===void 0&&ne===void 0?re=new Uint8Array(ie):ne===void 0?re=new Uint8Array(ie,ee):re=new Uint8Array(ie,ee,ne),Object.setPrototypeOf(re,Y.prototype),re}function de(ie){if(Y.isBuffer(ie)){const ee=pe(ie.length)|0,ne=F(ee);return ne.length===0||ie.copy(ne,0,0,ee),ne}if(ie.length!==void 0)return typeof ie.length!="number"||ct(ie.length)?F(0):oe(ie);if(ie.type==="Buffer"&&Array.isArray(ie.data))return oe(ie.data)}function pe(ie){if(ie>=o)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+o.toString(16)+" bytes");return ie|0}function be(ie){return+ie!=ie&&(ie=0),Y.alloc(+ie)}Y.isBuffer=function(ee){return ee!=null&&ee._isBuffer===!0&&ee!==Y.prototype},Y.compare=function(ee,ne){if(He(ee,Uint8Array)&&(ee=Y.from(ee,ee.offset,ee.byteLength)),He(ne,Uint8Array)&&(ne=Y.from(ne,ne.offset,ne.byteLength)),!Y.isBuffer(ee)||!Y.isBuffer(ne))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(ee===ne)return 0;let re=ee.length,ae=ne.length;for(let fe=0,he=Math.min(re,ae);fe<he;++fe)if(ee[fe]!==ne[fe]){re=ee[fe],ae=ne[fe];break}return re<ae?-1:ae<re?1:0},Y.isEncoding=function(ee){switch(String(ee).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}},Y.concat=function(ee,ne){if(!Array.isArray(ee))throw new TypeError('"list" argument must be an Array of Buffers');if(ee.length===0)return Y.alloc(0);let re;if(ne===void 0)for(ne=0,re=0;re<ee.length;++re)ne+=ee[re].length;const ae=Y.allocUnsafe(ne);let fe=0;for(re=0;re<ee.length;++re){let he=ee[re];if(He(he,Uint8Array))fe+he.length>ae.length?(Y.isBuffer(he)||(he=Y.from(he)),he.copy(ae,fe)):Uint8Array.prototype.set.call(ae,he,fe);else if(Y.isBuffer(he))he.copy(ae,fe);else throw new TypeError('"list" argument must be an Array of Buffers');fe+=he.length}return ae};function ge(ie,ee){if(Y.isBuffer(ie))return ie.length;if(ArrayBuffer.isView(ie)||He(ie,ArrayBuffer))return ie.byteLength;if(typeof ie!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof ie);const ne=ie.length,re=arguments.length>2&&arguments[2]===!0;if(!re&&ne===0)return 0;let ae=!1;for(;;)switch(ee){case"ascii":case"latin1":case"binary":return ne;case"utf8":case"utf-8":return st(ie).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ne*2;case"hex":return ne>>>1;case"base64":return ot(ie).length;default:if(ae)return re?-1:st(ie).length;ee=(""+ee).toLowerCase(),ae=!0}}Y.byteLength=ge;function ye(ie,ee,ne){let re=!1;if((ee===void 0||ee<0)&&(ee=0),ee>this.length||((ne===void 0||ne>this.length)&&(ne=this.length),ne<=0)||(ne>>>=0,ee>>>=0,ne<=ee))return"";for(ie||(ie="utf8");;)switch(ie){case"hex":return Ue(this,ee,ne);case"utf8":case"utf-8":return $e(this,ee,ne);case"ascii":return Ge(this,ee,ne);case"latin1":case"binary":return De(this,ee,ne);case"base64":return Me(this,ee,ne);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Ke(this,ee,ne);default:if(re)throw new TypeError("Unknown encoding: "+ie);ie=(ie+"").toLowerCase(),re=!0}}Y.prototype._isBuffer=!0;function me(ie,ee,ne){const re=ie[ee];ie[ee]=ie[ne],ie[ne]=re}Y.prototype.swap16=function(){const ee=this.length;if(ee%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let ne=0;ne<ee;ne+=2)me(this,ne,ne+1);return this},Y.prototype.swap32=function(){const ee=this.length;if(ee%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let ne=0;ne<ee;ne+=4)me(this,ne,ne+3),me(this,ne+1,ne+2);return this},Y.prototype.swap64=function(){const ee=this.length;if(ee%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let ne=0;ne<ee;ne+=8)me(this,ne,ne+7),me(this,ne+1,ne+6),me(this,ne+2,ne+5),me(this,ne+3,ne+4);return this},Y.prototype.toString=function(){const ee=this.length;return ee===0?"":arguments.length===0?$e(this,0,ee):ye.apply(this,arguments)},Y.prototype.toLocaleString=Y.prototype.toString,Y.prototype.equals=function(ee){if(!Y.isBuffer(ee))throw new TypeError("Argument must be a Buffer");return this===ee?!0:Y.compare(this,ee)===0},Y.prototype.inspect=function(){let ee="";const ne=e.INSPECT_MAX_BYTES;return ee=this.toString("hex",0,ne).replace(/(.{2})/g,"$1 ").trim(),this.length>ne&&(ee+=" ... "),"<Buffer "+ee+">"},r&&(Y.prototype[r]=Y.prototype.inspect),Y.prototype.compare=function(ee,ne,re,ae,fe){if(He(ee,Uint8Array)&&(ee=Y.from(ee,ee.offset,ee.byteLength)),!Y.isBuffer(ee))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof ee);if(ne===void 0&&(ne=0),re===void 0&&(re=ee?ee.length:0),ae===void 0&&(ae=0),fe===void 0&&(fe=this.length),ne<0||re>ee.length||ae<0||fe>this.length)throw new RangeError("out of range index");if(ae>=fe&&ne>=re)return 0;if(ae>=fe)return-1;if(ne>=re)return 1;if(ne>>>=0,re>>>=0,ae>>>=0,fe>>>=0,this===ee)return 0;let he=fe-ae,_e=re-ne;const Ce=Math.min(he,_e),Ee=this.slice(ae,fe),Se=ee.slice(ne,re);for(let Ae=0;Ae<Ce;++Ae)if(Ee[Ae]!==Se[Ae]){he=Ee[Ae],_e=Se[Ae];break}return he<_e?-1:_e<he?1:0};function xe(ie,ee,ne,re,ae){if(ie.length===0)return-1;if(typeof ne=="string"?(re=ne,ne=0):ne>2147483647?ne=2147483647:ne<-2147483648&&(ne=-2147483648),ne=+ne,ct(ne)&&(ne=ae?0:ie.length-1),ne<0&&(ne=ie.length+ne),ne>=ie.length){if(ae)return-1;ne=ie.length-1}else if(ne<0)if(ae)ne=0;else return-1;if(typeof ee=="string"&&(ee=Y.from(ee,re)),Y.isBuffer(ee))return ee.length===0?-1:Fe(ie,ee,ne,re,ae);if(typeof ee=="number")return ee=ee&255,typeof Uint8Array.prototype.indexOf=="function"?ae?Uint8Array.prototype.indexOf.call(ie,ee,ne):Uint8Array.prototype.lastIndexOf.call(ie,ee,ne):Fe(ie,[ee],ne,re,ae);throw new TypeError("val must be string, number or Buffer")}function Fe(ie,ee,ne,re,ae){let fe=1,he=ie.length,_e=ee.length;if(re!==void 0&&(re=String(re).toLowerCase(),re==="ucs2"||re==="ucs-2"||re==="utf16le"||re==="utf-16le")){if(ie.length<2||ee.length<2)return-1;fe=2,he/=2,_e/=2,ne/=2}function Ce(Se,Ae){return fe===1?Se[Ae]:Se.readUInt16BE(Ae*fe)}let Ee;if(ae){let Se=-1;for(Ee=ne;Ee<he;Ee++)if(Ce(ie,Ee)===Ce(ee,Se===-1?0:Ee-Se)){if(Se===-1&&(Se=Ee),Ee-Se+1===_e)return Se*fe}else Se!==-1&&(Ee-=Ee-Se),Se=-1}else for(ne+_e>he&&(ne=he-_e),Ee=ne;Ee>=0;Ee--){let Se=!0;for(let Ae=0;Ae<_e;Ae++)if(Ce(ie,Ee+Ae)!==Ce(ee,Ae)){Se=!1;break}if(Se)return Ee}return-1}Y.prototype.includes=function(ee,ne,re){return this.indexOf(ee,ne,re)!==-1},Y.prototype.indexOf=function(ee,ne,re){return xe(this,ee,ne,re,!0)},Y.prototype.lastIndexOf=function(ee,ne,re){return xe(this,ee,ne,re,!1)};function we(ie,ee,ne,re){ne=Number(ne)||0;const ae=ie.length-ne;re?(re=Number(re),re>ae&&(re=ae)):re=ae;const fe=ee.length;re>fe/2&&(re=fe/2);let he;for(he=0;he<re;++he){const _e=parseInt(ee.substr(he*2,2),16);if(ct(_e))return he;ie[ne+he]=_e}return he}function Te(ie,ee,ne,re){return nt(st(ee,ie.length-ne),ie,ne,re)}function Be(ie,ee,ne,re){return nt(Ze(ee),ie,ne,re)}function Oe(ie,ee,ne,re){return nt(ot(ee),ie,ne,re)}function ve(ie,ee,ne,re){return nt(ht(ee,ie.length-ne),ie,ne,re)}Y.prototype.write=function(ee,ne,re,ae){if(ne===void 0)ae="utf8",re=this.length,ne=0;else if(re===void 0&&typeof ne=="string")ae=ne,re=this.length,ne=0;else if(isFinite(ne))ne=ne>>>0,isFinite(re)?(re=re>>>0,ae===void 0&&(ae="utf8")):(ae=re,re=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");const fe=this.length-ne;if((re===void 0||re>fe)&&(re=fe),ee.length>0&&(re<0||ne<0)||ne>this.length)throw new RangeError("Attempt to write outside buffer bounds");ae||(ae="utf8");let he=!1;for(;;)switch(ae){case"hex":return we(this,ee,ne,re);case"utf8":case"utf-8":return Te(this,ee,ne,re);case"ascii":case"latin1":case"binary":return Be(this,ee,ne,re);case"base64":return Oe(this,ee,ne,re);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ve(this,ee,ne,re);default:if(he)throw new TypeError("Unknown encoding: "+ae);ae=(""+ae).toLowerCase(),he=!0}},Y.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function Me(ie,ee,ne){return ee===0&&ne===ie.length?t.fromByteArray(ie):t.fromByteArray(ie.slice(ee,ne))}function $e(ie,ee,ne){ne=Math.min(ie.length,ne);const re=[];let ae=ee;for(;ae<ne;){const fe=ie[ae];let he=null,_e=fe>239?4:fe>223?3:fe>191?2:1;if(ae+_e<=ne){let Ce,Ee,Se,Ae;switch(_e){case 1:fe<128&&(he=fe);break;case 2:Ce=ie[ae+1],(Ce&192)===128&&(Ae=(fe&31)<<6|Ce&63,Ae>127&&(he=Ae));break;case 3:Ce=ie[ae+1],Ee=ie[ae+2],(Ce&192)===128&&(Ee&192)===128&&(Ae=(fe&15)<<12|(Ce&63)<<6|Ee&63,Ae>2047&&(Ae<55296||Ae>57343)&&(he=Ae));break;case 4:Ce=ie[ae+1],Ee=ie[ae+2],Se=ie[ae+3],(Ce&192)===128&&(Ee&192)===128&&(Se&192)===128&&(Ae=(fe&15)<<18|(Ce&63)<<12|(Ee&63)<<6|Se&63,Ae>65535&&Ae<1114112&&(he=Ae))}}he===null?(he=65533,_e=1):he>65535&&(he-=65536,re.push(he>>>10&1023|55296),he=56320|he&1023),re.push(he),ae+=_e}return Je(re)}const Pe=4096;function Je(ie){const ee=ie.length;if(ee<=Pe)return String.fromCharCode.apply(String,ie);let ne="",re=0;for(;re<ee;)ne+=String.fromCharCode.apply(String,ie.slice(re,re+=Pe));return ne}function Ge(ie,ee,ne){let re="";ne=Math.min(ie.length,ne);for(let ae=ee;ae<ne;++ae)re+=String.fromCharCode(ie[ae]&127);return re}function De(ie,ee,ne){let re="";ne=Math.min(ie.length,ne);for(let ae=ee;ae<ne;++ae)re+=String.fromCharCode(ie[ae]);return re}function Ue(ie,ee,ne){const re=ie.length;(!ee||ee<0)&&(ee=0),(!ne||ne<0||ne>re)&&(ne=re);let ae="";for(let fe=ee;fe<ne;++fe)ae+=dt[ie[fe]];return ae}function Ke(ie,ee,ne){const re=ie.slice(ee,ne);let ae="";for(let fe=0;fe<re.length-1;fe+=2)ae+=String.fromCharCode(re[fe]+re[fe+1]*256);return ae}Y.prototype.slice=function(ee,ne){const re=this.length;ee=~~ee,ne=ne===void 0?re:~~ne,ee<0?(ee+=re,ee<0&&(ee=0)):ee>re&&(ee=re),ne<0?(ne+=re,ne<0&&(ne=0)):ne>re&&(ne=re),ne<ee&&(ne=ee);const ae=this.subarray(ee,ne);return Object.setPrototypeOf(ae,Y.prototype),ae};function Re(ie,ee,ne){if(ie%1!==0||ie<0)throw new RangeError("offset is not uint");if(ie+ee>ne)throw new RangeError("Trying to access beyond buffer length")}Y.prototype.readUintLE=Y.prototype.readUIntLE=function(ee,ne,re){ee=ee>>>0,ne=ne>>>0,re||Re(ee,ne,this.length);let ae=this[ee],fe=1,he=0;for(;++he<ne&&(fe*=256);)ae+=this[ee+he]*fe;return ae},Y.prototype.readUintBE=Y.prototype.readUIntBE=function(ee,ne,re){ee=ee>>>0,ne=ne>>>0,re||Re(ee,ne,this.length);let ae=this[ee+--ne],fe=1;for(;ne>0&&(fe*=256);)ae+=this[ee+--ne]*fe;return ae},Y.prototype.readUint8=Y.prototype.readUInt8=function(ee,ne){return ee=ee>>>0,ne||Re(ee,1,this.length),this[ee]},Y.prototype.readUint16LE=Y.prototype.readUInt16LE=function(ee,ne){return ee=ee>>>0,ne||Re(ee,2,this.length),this[ee]|this[ee+1]<<8},Y.prototype.readUint16BE=Y.prototype.readUInt16BE=function(ee,ne){return ee=ee>>>0,ne||Re(ee,2,this.length),this[ee]<<8|this[ee+1]},Y.prototype.readUint32LE=Y.prototype.readUInt32LE=function(ee,ne){return ee=ee>>>0,ne||Re(ee,4,this.length),(this[ee]|this[ee+1]<<8|this[ee+2]<<16)+this[ee+3]*16777216},Y.prototype.readUint32BE=Y.prototype.readUInt32BE=function(ee,ne){return ee=ee>>>0,ne||Re(ee,4,this.length),this[ee]*16777216+(this[ee+1]<<16|this[ee+2]<<8|this[ee+3])},Y.prototype.readBigUInt64LE=te(function(ee){ee=ee>>>0,We(ee,"offset");const ne=this[ee],re=this[ee+7];(ne===void 0||re===void 0)&&tt(ee,this.length-8);const ae=ne+this[++ee]*2**8+this[++ee]*2**16+this[++ee]*2**24,fe=this[++ee]+this[++ee]*2**8+this[++ee]*2**16+re*2**24;return BigInt(ae)+(BigInt(fe)<<BigInt(32))}),Y.prototype.readBigUInt64BE=te(function(ee){ee=ee>>>0,We(ee,"offset");const ne=this[ee],re=this[ee+7];(ne===void 0||re===void 0)&&tt(ee,this.length-8);const ae=ne*2**24+this[++ee]*2**16+this[++ee]*2**8+this[++ee],fe=this[++ee]*2**24+this[++ee]*2**16+this[++ee]*2**8+re;return(BigInt(ae)<<BigInt(32))+BigInt(fe)}),Y.prototype.readIntLE=function(ee,ne,re){ee=ee>>>0,ne=ne>>>0,re||Re(ee,ne,this.length);let ae=this[ee],fe=1,he=0;for(;++he<ne&&(fe*=256);)ae+=this[ee+he]*fe;return fe*=128,ae>=fe&&(ae-=Math.pow(2,8*ne)),ae},Y.prototype.readIntBE=function(ee,ne,re){ee=ee>>>0,ne=ne>>>0,re||Re(ee,ne,this.length);let ae=ne,fe=1,he=this[ee+--ae];for(;ae>0&&(fe*=256);)he+=this[ee+--ae]*fe;return fe*=128,he>=fe&&(he-=Math.pow(2,8*ne)),he},Y.prototype.readInt8=function(ee,ne){return ee=ee>>>0,ne||Re(ee,1,this.length),this[ee]&128?(255-this[ee]+1)*-1:this[ee]},Y.prototype.readInt16LE=function(ee,ne){ee=ee>>>0,ne||Re(ee,2,this.length);const re=this[ee]|this[ee+1]<<8;return re&32768?re|4294901760:re},Y.prototype.readInt16BE=function(ee,ne){ee=ee>>>0,ne||Re(ee,2,this.length);const re=this[ee+1]|this[ee]<<8;return re&32768?re|4294901760:re},Y.prototype.readInt32LE=function(ee,ne){return ee=ee>>>0,ne||Re(ee,4,this.length),this[ee]|this[ee+1]<<8|this[ee+2]<<16|this[ee+3]<<24},Y.prototype.readInt32BE=function(ee,ne){return ee=ee>>>0,ne||Re(ee,4,this.length),this[ee]<<24|this[ee+1]<<16|this[ee+2]<<8|this[ee+3]},Y.prototype.readBigInt64LE=te(function(ee){ee=ee>>>0,We(ee,"offset");const ne=this[ee],re=this[ee+7];(ne===void 0||re===void 0)&&tt(ee,this.length-8);const ae=this[ee+4]+this[ee+5]*2**8+this[ee+6]*2**16+(re<<24);return(BigInt(ae)<<BigInt(32))+BigInt(ne+this[++ee]*2**8+this[++ee]*2**16+this[++ee]*2**24)}),Y.prototype.readBigInt64BE=te(function(ee){ee=ee>>>0,We(ee,"offset");const ne=this[ee],re=this[ee+7];(ne===void 0||re===void 0)&&tt(ee,this.length-8);const ae=(ne<<24)+this[++ee]*2**16+this[++ee]*2**8+this[++ee];return(BigInt(ae)<<BigInt(32))+BigInt(this[++ee]*2**24+this[++ee]*2**16+this[++ee]*2**8+re)}),Y.prototype.readFloatLE=function(ee,ne){return ee=ee>>>0,ne||Re(ee,4,this.length),n.read(this,ee,!0,23,4)},Y.prototype.readFloatBE=function(ee,ne){return ee=ee>>>0,ne||Re(ee,4,this.length),n.read(this,ee,!1,23,4)},Y.prototype.readDoubleLE=function(ee,ne){return ee=ee>>>0,ne||Re(ee,8,this.length),n.read(this,ee,!0,52,8)},Y.prototype.readDoubleBE=function(ee,ne){return ee=ee>>>0,ne||Re(ee,8,this.length),n.read(this,ee,!1,52,8)};function je(ie,ee,ne,re,ae,fe){if(!Y.isBuffer(ie))throw new TypeError('"buffer" argument must be a Buffer instance');if(ee>ae||ee<fe)throw new RangeError('"value" argument is out of bounds');if(ne+re>ie.length)throw new RangeError("Index out of range")}Y.prototype.writeUintLE=Y.prototype.writeUIntLE=function(ee,ne,re,ae){if(ee=+ee,ne=ne>>>0,re=re>>>0,!ae){const _e=Math.pow(2,8*re)-1;je(this,ee,ne,re,_e,0)}let fe=1,he=0;for(this[ne]=ee&255;++he<re&&(fe*=256);)this[ne+he]=ee/fe&255;return ne+re},Y.prototype.writeUintBE=Y.prototype.writeUIntBE=function(ee,ne,re,ae){if(ee=+ee,ne=ne>>>0,re=re>>>0,!ae){const _e=Math.pow(2,8*re)-1;je(this,ee,ne,re,_e,0)}let fe=re-1,he=1;for(this[ne+fe]=ee&255;--fe>=0&&(he*=256);)this[ne+fe]=ee/he&255;return ne+re},Y.prototype.writeUint8=Y.prototype.writeUInt8=function(ee,ne,re){return ee=+ee,ne=ne>>>0,re||je(this,ee,ne,1,255,0),this[ne]=ee&255,ne+1},Y.prototype.writeUint16LE=Y.prototype.writeUInt16LE=function(ee,ne,re){return ee=+ee,ne=ne>>>0,re||je(this,ee,ne,2,65535,0),this[ne]=ee&255,this[ne+1]=ee>>>8,ne+2},Y.prototype.writeUint16BE=Y.prototype.writeUInt16BE=function(ee,ne,re){return ee=+ee,ne=ne>>>0,re||je(this,ee,ne,2,65535,0),this[ne]=ee>>>8,this[ne+1]=ee&255,ne+2},Y.prototype.writeUint32LE=Y.prototype.writeUInt32LE=function(ee,ne,re){return ee=+ee,ne=ne>>>0,re||je(this,ee,ne,4,4294967295,0),this[ne+3]=ee>>>24,this[ne+2]=ee>>>16,this[ne+1]=ee>>>8,this[ne]=ee&255,ne+4},Y.prototype.writeUint32BE=Y.prototype.writeUInt32BE=function(ee,ne,re){return ee=+ee,ne=ne>>>0,re||je(this,ee,ne,4,4294967295,0),this[ne]=ee>>>24,this[ne+1]=ee>>>16,this[ne+2]=ee>>>8,this[ne+3]=ee&255,ne+4};function ze(ie,ee,ne,re,ae){et(ee,re,ae,ie,ne,7);let fe=Number(ee&BigInt(4294967295));ie[ne++]=fe,fe=fe>>8,ie[ne++]=fe,fe=fe>>8,ie[ne++]=fe,fe=fe>>8,ie[ne++]=fe;let he=Number(ee>>BigInt(32)&BigInt(4294967295));return ie[ne++]=he,he=he>>8,ie[ne++]=he,he=he>>8,ie[ne++]=he,he=he>>8,ie[ne++]=he,ne}function rt(ie,ee,ne,re,ae){et(ee,re,ae,ie,ne,7);let fe=Number(ee&BigInt(4294967295));ie[ne+7]=fe,fe=fe>>8,ie[ne+6]=fe,fe=fe>>8,ie[ne+5]=fe,fe=fe>>8,ie[ne+4]=fe;let he=Number(ee>>BigInt(32)&BigInt(4294967295));return ie[ne+3]=he,he=he>>8,ie[ne+2]=he,he=he>>8,ie[ne+1]=he,he=he>>8,ie[ne]=he,ne+8}Y.prototype.writeBigUInt64LE=te(function(ee,ne=0){return ze(this,ee,ne,BigInt(0),BigInt("0xffffffffffffffff"))}),Y.prototype.writeBigUInt64BE=te(function(ee,ne=0){return rt(this,ee,ne,BigInt(0),BigInt("0xffffffffffffffff"))}),Y.prototype.writeIntLE=function(ee,ne,re,ae){if(ee=+ee,ne=ne>>>0,!ae){const Ce=Math.pow(2,8*re-1);je(this,ee,ne,re,Ce-1,-Ce)}let fe=0,he=1,_e=0;for(this[ne]=ee&255;++fe<re&&(he*=256);)ee<0&&_e===0&&this[ne+fe-1]!==0&&(_e=1),this[ne+fe]=(ee/he>>0)-_e&255;return ne+re},Y.prototype.writeIntBE=function(ee,ne,re,ae){if(ee=+ee,ne=ne>>>0,!ae){const Ce=Math.pow(2,8*re-1);je(this,ee,ne,re,Ce-1,-Ce)}let fe=re-1,he=1,_e=0;for(this[ne+fe]=ee&255;--fe>=0&&(he*=256);)ee<0&&_e===0&&this[ne+fe+1]!==0&&(_e=1),this[ne+fe]=(ee/he>>0)-_e&255;return ne+re},Y.prototype.writeInt8=function(ee,ne,re){return ee=+ee,ne=ne>>>0,re||je(this,ee,ne,1,127,-128),ee<0&&(ee=255+ee+1),this[ne]=ee&255,ne+1},Y.prototype.writeInt16LE=function(ee,ne,re){return ee=+ee,ne=ne>>>0,re||je(this,ee,ne,2,32767,-32768),this[ne]=ee&255,this[ne+1]=ee>>>8,ne+2},Y.prototype.writeInt16BE=function(ee,ne,re){return ee=+ee,ne=ne>>>0,re||je(this,ee,ne,2,32767,-32768),this[ne]=ee>>>8,this[ne+1]=ee&255,ne+2},Y.prototype.writeInt32LE=function(ee,ne,re){return ee=+ee,ne=ne>>>0,re||je(this,ee,ne,4,2147483647,-2147483648),this[ne]=ee&255,this[ne+1]=ee>>>8,this[ne+2]=ee>>>16,this[ne+3]=ee>>>24,ne+4},Y.prototype.writeInt32BE=function(ee,ne,re){return ee=+ee,ne=ne>>>0,re||je(this,ee,ne,4,2147483647,-2147483648),ee<0&&(ee=4294967295+ee+1),this[ne]=ee>>>24,this[ne+1]=ee>>>16,this[ne+2]=ee>>>8,this[ne+3]=ee&255,ne+4},Y.prototype.writeBigInt64LE=te(function(ee,ne=0){return ze(this,ee,ne,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),Y.prototype.writeBigInt64BE=te(function(ee,ne=0){return rt(this,ee,ne,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});function qe(ie,ee,ne,re,ae,fe){if(ne+re>ie.length)throw new RangeError("Index out of range");if(ne<0)throw new RangeError("Index out of range")}function Qe(ie,ee,ne,re,ae){return ee=+ee,ne=ne>>>0,ae||qe(ie,ee,ne,4),n.write(ie,ee,ne,re,23,4),ne+4}Y.prototype.writeFloatLE=function(ee,ne,re){return Qe(this,ee,ne,!0,re)},Y.prototype.writeFloatBE=function(ee,ne,re){return Qe(this,ee,ne,!1,re)};function Xe(ie,ee,ne,re,ae){return ee=+ee,ne=ne>>>0,ae||qe(ie,ee,ne,8),n.write(ie,ee,ne,re,52,8),ne+8}Y.prototype.writeDoubleLE=function(ee,ne,re){return Xe(this,ee,ne,!0,re)},Y.prototype.writeDoubleBE=function(ee,ne,re){return Xe(this,ee,ne,!1,re)},Y.prototype.copy=function(ee,ne,re,ae){if(!Y.isBuffer(ee))throw new TypeError("argument should be a Buffer");if(re||(re=0),!ae&&ae!==0&&(ae=this.length),ne>=ee.length&&(ne=ee.length),ne||(ne=0),ae>0&&ae<re&&(ae=re),ae===re||ee.length===0||this.length===0)return 0;if(ne<0)throw new RangeError("targetStart out of bounds");if(re<0||re>=this.length)throw new RangeError("Index out of range");if(ae<0)throw new RangeError("sourceEnd out of bounds");ae>this.length&&(ae=this.length),ee.length-ne<ae-re&&(ae=ee.length-ne+re);const fe=ae-re;return this===ee&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(ne,re,ae):Uint8Array.prototype.set.call(ee,this.subarray(re,ae),ne),fe},Y.prototype.fill=function(ee,ne,re,ae){if(typeof ee=="string"){if(typeof ne=="string"?(ae=ne,ne=0,re=this.length):typeof re=="string"&&(ae=re,re=this.length),ae!==void 0&&typeof ae!="string")throw new TypeError("encoding must be a string");if(typeof ae=="string"&&!Y.isEncoding(ae))throw new TypeError("Unknown encoding: "+ae);if(ee.length===1){const he=ee.charCodeAt(0);(ae==="utf8"&&he<128||ae==="latin1")&&(ee=he)}}else typeof ee=="number"?ee=ee&255:typeof ee=="boolean"&&(ee=Number(ee));if(ne<0||this.length<ne||this.length<re)throw new RangeError("Out of range index");if(re<=ne)return this;ne=ne>>>0,re=re===void 0?this.length:re>>>0,ee||(ee=0);let fe;if(typeof ee=="number")for(fe=ne;fe<re;++fe)this[fe]=ee;else{const he=Y.isBuffer(ee)?ee:Y.from(ee,ae),_e=he.length;if(_e===0)throw new TypeError('The value "'+ee+'" is invalid for argument "value"');for(fe=0;fe<re-ne;++fe)this[fe+ne]=he[fe%_e]}return this};const Ve={};function ut(ie,ee,ne){Ve[ie]=class extends ne{constructor(){super(),Object.defineProperty(this,"message",{value:ee.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${ie}]`,this.stack,delete this.name}get code(){return ie}set code(ae){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:ae,writable:!0})}toString(){return`${this.name} [${ie}]: ${this.message}`}}}ut("ERR_BUFFER_OUT_OF_BOUNDS",function(ie){return ie?`${ie} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError),ut("ERR_INVALID_ARG_TYPE",function(ie,ee){return`The "${ie}" argument must be of type number. Received type ${typeof ee}`},TypeError),ut("ERR_OUT_OF_RANGE",function(ie,ee,ne){let re=`The value of "${ie}" is out of range.`,ae=ne;return Number.isInteger(ne)&&Math.abs(ne)>2**32?ae=it(String(ne)):typeof ne=="bigint"&&(ae=String(ne),(ne>BigInt(2)**BigInt(32)||ne<-(BigInt(2)**BigInt(32)))&&(ae=it(ae)),ae+="n"),re+=` It must be ${ee}. Received ${ae}`,re},RangeError);function it(ie){let ee="",ne=ie.length;const re=ie[0]==="-"?1:0;for(;ne>=re+4;ne-=3)ee=`_${ie.slice(ne-3,ne)}${ee}`;return`${ie.slice(0,ne)}${ee}`}function at(ie,ee,ne){We(ee,"offset"),(ie[ee]===void 0||ie[ee+ne]===void 0)&&tt(ee,ie.length-(ne+1))}function et(ie,ee,ne,re,ae,fe){if(ie>ne||ie<ee){const he=typeof ee=="bigint"?"n":"";let _e;throw ee===0||ee===BigInt(0)?_e=`>= 0${he} and < 2${he} ** ${(fe+1)*8}${he}`:_e=`>= -(2${he} ** ${(fe+1)*8-1}${he}) and < 2 ** ${(fe+1)*8-1}${he}`,new Ve.ERR_OUT_OF_RANGE("value",_e,ie)}at(re,ae,fe)}function We(ie,ee){if(typeof ie!="number")throw new Ve.ERR_INVALID_ARG_TYPE(ee,"number",ie)}function tt(ie,ee,ne){throw Math.floor(ie)!==ie?(We(ie,ne),new Ve.ERR_OUT_OF_RANGE("offset","an integer",ie)):ee<0?new Ve.ERR_BUFFER_OUT_OF_BOUNDS:new Ve.ERR_OUT_OF_RANGE("offset",`>= 0 and <= ${ee}`,ie)}const lt=/[^+/0-9A-Za-z-_]/g;function ft(ie){if(ie=ie.split("=")[0],ie=ie.trim().replace(lt,""),ie.length<2)return"";for(;ie.length%4!==0;)ie=ie+"=";return ie}function st(ie,ee){ee=ee||1/0;let ne;const re=ie.length;let ae=null;const fe=[];for(let he=0;he<re;++he){if(ne=ie.charCodeAt(he),ne>55295&&ne<57344){if(!ae){if(ne>56319){(ee-=3)>-1&&fe.push(239,191,189);continue}else if(he+1===re){(ee-=3)>-1&&fe.push(239,191,189);continue}ae=ne;continue}if(ne<56320){(ee-=3)>-1&&fe.push(239,191,189),ae=ne;continue}ne=(ae-55296<<10|ne-56320)+65536}else ae&&(ee-=3)>-1&&fe.push(239,191,189);if(ae=null,ne<128){if((ee-=1)<0)break;fe.push(ne)}else if(ne<2048){if((ee-=2)<0)break;fe.push(ne>>6|192,ne&63|128)}else if(ne<65536){if((ee-=3)<0)break;fe.push(ne>>12|224,ne>>6&63|128,ne&63|128)}else if(ne<1114112){if((ee-=4)<0)break;fe.push(ne>>18|240,ne>>12&63|128,ne>>6&63|128,ne&63|128)}else throw new Error("Invalid code point")}return fe}function Ze(ie){const ee=[];for(let ne=0;ne<ie.length;++ne)ee.push(ie.charCodeAt(ne)&255);return ee}function ht(ie,ee){let ne,re,ae;const fe=[];for(let he=0;he<ie.length&&!((ee-=2)<0);++he)ne=ie.charCodeAt(he),re=ne>>8,ae=ne%256,fe.push(ae),fe.push(re);return fe}function ot(ie){return t.toByteArray(ft(ie))}function nt(ie,ee,ne,re){let ae;for(ae=0;ae<re&&!(ae+ne>=ee.length||ae>=ie.length);++ae)ee[ae+ne]=ie[ae];return ae}function He(ie,ee){return ie instanceof ee||ie!=null&&ie.constructor!=null&&ie.constructor.name!=null&&ie.constructor.name===ee.name}function ct(ie){return ie!==ie}const dt=(function(){const ie="0123456789abcdef",ee=new Array(256);for(let ne=0;ne<16;++ne){const re=ne*16;for(let ae=0;ae<16;++ae)ee[re+ae]=ie[ne]+ie[ae]}return ee})();function te(ie){return typeof BigInt>"u"?ke:ie}function ke(){throw new Error("BigInt not supported")}})(buffer)),buffer}var bufferExports=requireBuffer();function commonjsRequire(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}const __viteBrowserExternal={},__viteBrowserExternal$1=Object.freeze(Object.defineProperty({__proto__:null,default:__viteBrowserExternal},Symbol.toStringTag,{value:"Module"})),require$$0=getAugmentedNamespace(__viteBrowserExternal$1),attr_name$1="[a-zA-Z_:@][a-zA-Z0-9:._-]*",attribute$1="(?:\\s+"+attr_name$1+`(?:\\s*=\\s*(?:[^"'=<>\`\\x00-\\x20]+|'[^']*'|"[^"]*"))?)`,open_tag$1="<[A-Za-z][A-Za-z0-9\\-]*"+attribute$1+"*\\s*\\/?>",HTML_TAG_RE$1=new RegExp("^(?:"+open_tag$1+"|<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>|<!---->|<!--(?:-?[^>-])(?:-?[^-])*-->|<[?][\\s\\S]*?[?]>|<![A-Z]+\\s+[^>]*>|<!\\[CDATA\\[[\\s\\S]*?\\]\\]>)"),HTML_OPEN_CLOSE_TAG_RE$1=new RegExp("^(?:"+open_tag$1+"|<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>)"),HTML_SELF_CLOSING_TAG_RE=new RegExp("^<[A-Za-z][A-Za-z0-9\\-]*"+attribute$1+"*\\s*\\/>"),HTML_OPEN_AND_CLOSE_TAG_IN_THE_SAME_LINE_RE=new RegExp("^<([A-Za-z][A-Za-z0-9\\-]*)"+attribute$1+"*\\s*>.*<\\/\\1\\s*>"),TAGS_BLOCK=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],TAGS_INLINE=["a","abbr","acronym","audio","b","bdi","bdo","big","br","button","canvas","cite","code","data","datalist","del","dfn","em","embed","i","iframe","img","input","ins","kbd","label","map","mark","meter","noscript","object","output","picture","progress","q","ruby","s","samp","script","select","slot","small","span","strong","sub","sup","svg","template","textarea","time","u","tt","var","video","wbr"],TAGS_VUE_RESERVED=["template","component","transition","transition-group","keep-alive","slot","teleport"],createHtmlSequences=({blockTags:e,inlineTags:t})=>{const n=[...e,...TAGS_BLOCK],r=[...t,...TAGS_INLINE.filter(c=>!TAGS_VUE_RESERVED.includes(c))];return[[/^<(script|pre|style)(?=(\s|>|$))/i,/<\/(script|pre|style)>/i,!0],[/^<!--/,/-->/,!0],[/^<\?/,/\?>/,!0],[/^<![A-Z]/,/>/,!0],[/^<!\[CDATA\[/,/\]\]>/,!0],[new RegExp("^</?("+n.join("|")+")(?=(\\s|/?>|$))","i"),/^$/,!0],[new RegExp("^</?(?!("+r.join("|")+")(?![\\w-]))[A-Za-z][A-Za-z0-9\\-]*(?=(\\s|/?>|$))"),/^$/,!0],[new RegExp(HTML_OPEN_CLOSE_TAG_RE$1.source+"\\s*$"),/^$/,!1]]},createHtmlBlockRule=e=>{const t=createHtmlSequences(e);return(n,r,o,c)=>{let F,Y,V,Q=n.bMarks[r]+n.tShift[r],X=n.eMarks[r];if(n.sCount[r]-n.blkIndent>=4||!n.md.options.html||n.src.charCodeAt(Q)!==60)return!1;for(V=n.src.slice(Q,X),F=0;F<t.length&&!t[F][0].test(V);F++);if(F===t.length)return!1;if(c)return t[F][2];if(F===6){const se=V.match(HTML_SELF_CLOSING_TAG_RE)??V.match(HTML_OPEN_AND_CLOSE_TAG_IN_THE_SAME_LINE_RE);if(se){n.line=r+1;let oe=n.push("html_inline","",0);return oe.content=se[0],oe.map=[r,n.line],oe=n.push("inline","",0),oe.content=V.slice(se[0].length),oe.map=[r,n.line],oe.children=[],!0}}if(Y=r+1,!t[F][1].test(V)){for(;Y<o&&!(n.sCount[Y]<n.blkIndent);Y++)if(Q=n.bMarks[Y]+n.tShift[Y],X=n.eMarks[Y],V=n.src.slice(Q,X),t[F][1].test(V)){V.length!==0&&Y++;break}}n.line=Y;const ue=n.push("html_block","",0);return ue.map=[r,Y],ue.content=n.getLines(r,Y,n.blkIndent,!0),!0}},isLetter$1=e=>{const t=e|32;return t>=97&&t<=122},htmlInlineRule=(e,t)=>{const{pos:n}=e;if(!e.md.options.html)return!1;const r=e.posMax;if(e.src.charCodeAt(n)!==60||n+2>=r)return!1;const o=e.src.charCodeAt(n+1);if(o!==33&&o!==63&&o!==47&&!isLetter$1(o))return!1;const c=e.src.slice(n).match(HTML_TAG_RE$1);if(!c)return!1;if(!t){const F=e.push("html_inline","",0);F.content=e.src.slice(n,n+c[0].length)}return e.pos+=c[0].length,!0},componentPlugin=(e,{blockTags:t=[],inlineTags:n=[]}={})=>{const r=createHtmlBlockRule({blockTags:t,inlineTags:n});e.block.ruler.at("html_block",r,{alt:["paragraph","reference","blockquote"]}),e.inline.ruler.at("html_inline",htmlInlineRule)};var kindOf,hasRequiredKindOf;function requireKindOf(){if(hasRequiredKindOf)return kindOf;hasRequiredKindOf=1;var e=Object.prototype.toString;kindOf=function(ue){if(ue===void 0)return"undefined";if(ue===null)return"null";var se=typeof ue;if(se==="boolean")return"boolean";if(se==="string")return"string";if(se==="number")return"number";if(se==="symbol")return"symbol";if(se==="function")return F(ue)?"generatorfunction":"function";if(n(ue))return"array";if(Q(ue))return"buffer";if(V(ue))return"arguments";if(o(ue))return"date";if(r(ue))return"error";if(c(ue))return"regexp";switch(t(ue)){case"Symbol":return"symbol";case"Promise":return"promise";case"WeakMap":return"weakmap";case"WeakSet":return"weakset";case"Map":return"map";case"Set":return"set";case"Int8Array":return"int8array";case"Uint8Array":return"uint8array";case"Uint8ClampedArray":return"uint8clampedarray";case"Int16Array":return"int16array";case"Uint16Array":return"uint16array";case"Int32Array":return"int32array";case"Uint32Array":return"uint32array";case"Float32Array":return"float32array";case"Float64Array":return"float64array"}if(Y(ue))return"generator";switch(se=e.call(ue),se){case"[object Object]":return"object";case"[object Map Iterator]":return"mapiterator";case"[object Set Iterator]":return"setiterator";case"[object String Iterator]":return"stringiterator";case"[object Array Iterator]":return"arrayiterator"}return se.slice(8,-1).toLowerCase().replace(/\s/g,"")};function t(X){return typeof X.constructor=="function"?X.constructor.name:null}function n(X){return Array.isArray?Array.isArray(X):X instanceof Array}function r(X){return X instanceof Error||typeof X.message=="string"&&X.constructor&&typeof X.constructor.stackTraceLimit=="number"}function o(X){return X instanceof Date?!0:typeof X.toDateString=="function"&&typeof X.getDate=="function"&&typeof X.setDate=="function"}function c(X){return X instanceof RegExp?!0:typeof X.flags=="string"&&typeof X.ignoreCase=="boolean"&&typeof X.multiline=="boolean"&&typeof X.global=="boolean"}function F(X,ue){return t(X)==="GeneratorFunction"}function Y(X){return typeof X.throw=="function"&&typeof X.return=="function"&&typeof X.next=="function"}function V(X){try{if(typeof X.length=="number"&&typeof X.callee=="function")return!0}catch(ue){if(ue.message.indexOf("callee")!==-1)return!0}return!1}function Q(X){return X.constructor&&typeof X.constructor.isBuffer=="function"?X.constructor.isBuffer(X):!1}return kindOf}var isExtendable,hasRequiredIsExtendable;function requireIsExtendable(){return hasRequiredIsExtendable||(hasRequiredIsExtendable=1,isExtendable=function(t){return typeof t<"u"&&t!==null&&(typeof t=="object"||typeof t=="function")}),isExtendable}var extendShallow,hasRequiredExtendShallow;function requireExtendShallow(){if(hasRequiredExtendShallow)return extendShallow;hasRequiredExtendShallow=1;var e=requireIsExtendable();extendShallow=function(o){e(o)||(o={});for(var c=arguments.length,F=1;F<c;F++){var Y=arguments[F];e(Y)&&t(o,Y)}return o};function t(r,o){for(var c in o)n(o,c)&&(r[c]=o[c])}function n(r,o){return Object.prototype.hasOwnProperty.call(r,o)}return extendShallow}var sectionMatter,hasRequiredSectionMatter;function requireSectionMatter(){if(hasRequiredSectionMatter)return sectionMatter;hasRequiredSectionMatter=1;var e=requireKindOf(),t=requireExtendShallow();sectionMatter=function(V,Q){typeof Q=="function"&&(Q={parse:Q});var X=r(V),ue={section_delimiter:"---",parse:F},se=t({},ue,Q),oe=se.section_delimiter,ce=X.content.split(/\r?\n/),le=null,de=c(),pe=[],be=[];function ge(Te){X.content=Te,le=[],pe=[]}function ye(Te){be.length&&(de.key=o(be[0],oe),de.content=Te,se.parse(de,le),le.push(de),de=c(),pe=[],be=[])}for(var me=0;me<ce.length;me++){var xe=ce[me],Fe=be.length,we=xe.trim();if(n(we,oe)){if(we.length===3&&me!==0){if(Fe===0||Fe===2){pe.push(xe);continue}be.push(we),de.data=pe.join(`
|
|
2
|
-
`),pe=[];continue}le===null&&ge(pe.join(`
|
|
3
|
-
`)),Fe===2&&ye(pe.join(`
|
|
4
|
-
`)),be.push(we);continue}pe.push(xe)}return le===null?ge(pe.join(`
|
|
5
|
-
`)):ye(pe.join(`
|
|
6
|
-
`)),X.sections=le,X};function n(V,Q){return!(V.slice(0,Q.length)!==Q||V.charAt(Q.length+1)===Q.slice(-1))}function r(V){if(e(V)!=="object"&&(V={content:V}),typeof V.content!="string"&&!Y(V.content))throw new TypeError("expected a buffer or string");return V.content=V.content.toString(),V.sections=[],V}function o(V,Q){return V?V.slice(Q.length).trim():""}function c(){return{key:"",data:"",content:""}}function F(V){return V}function Y(V){return V&&V.constructor&&typeof V.constructor.isBuffer=="function"?V.constructor.isBuffer(V):!1}return sectionMatter}var engines={exports:{}},jsYaml$1={},loader={},common={},hasRequiredCommon;function requireCommon(){if(hasRequiredCommon)return common;hasRequiredCommon=1;function e(F){return typeof F>"u"||F===null}function t(F){return typeof F=="object"&&F!==null}function n(F){return Array.isArray(F)?F:e(F)?[]:[F]}function r(F,Y){var V,Q,X,ue;if(Y)for(ue=Object.keys(Y),V=0,Q=ue.length;V<Q;V+=1)X=ue[V],F[X]=Y[X];return F}function o(F,Y){var V="",Q;for(Q=0;Q<Y;Q+=1)V+=F;return V}function c(F){return F===0&&Number.NEGATIVE_INFINITY===1/F}return common.isNothing=e,common.isObject=t,common.toArray=n,common.repeat=o,common.isNegativeZero=c,common.extend=r,common}var exception,hasRequiredException;function requireException(){if(hasRequiredException)return exception;hasRequiredException=1;function e(t,n){Error.call(this),this.name="YAMLException",this.reason=t,this.mark=n,this.message=(this.reason||"(unknown reason)")+(this.mark?" "+this.mark.toString():""),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack||""}return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e,e.prototype.toString=function(n){var r=this.name+": ";return r+=this.reason||"(unknown reason)",!n&&this.mark&&(r+=" "+this.mark.toString()),r},exception=e,exception}var mark,hasRequiredMark;function requireMark(){if(hasRequiredMark)return mark;hasRequiredMark=1;var e=requireCommon();function t(n,r,o,c,F){this.name=n,this.buffer=r,this.position=o,this.line=c,this.column=F}return t.prototype.getSnippet=function(r,o){var c,F,Y,V,Q;if(!this.buffer)return null;for(r=r||4,o=o||75,c="",F=this.position;F>0&&`\0\r
|
|
7
|
-
\u2028\u2029`.indexOf(this.buffer.charAt(F-1))===-1;)if(F-=1,this.position-F>o/2-1){c=" ... ",F+=5;break}for(Y="",V=this.position;V<this.buffer.length&&`\0\r
|
|
8
|
-
\u2028\u2029`.indexOf(this.buffer.charAt(V))===-1;)if(V+=1,V-this.position>o/2-1){Y=" ... ",V-=5;break}return Q=this.buffer.slice(F,V),e.repeat(" ",r)+c+Q+Y+`
|
|
9
|
-
`+e.repeat(" ",r+this.position-F+c.length)+"^"},t.prototype.toString=function(r){var o,c="";return this.name&&(c+='in "'+this.name+'" '),c+="at line "+(this.line+1)+", column "+(this.column+1),r||(o=this.getSnippet(),o&&(c+=`:
|
|
10
|
-
`+o)),c},mark=t,mark}var type,hasRequiredType;function requireType(){if(hasRequiredType)return type;hasRequiredType=1;var e=requireException(),t=["kind","resolve","construct","instanceOf","predicate","represent","defaultStyle","styleAliases"],n=["scalar","sequence","mapping"];function r(c){var F={};return c!==null&&Object.keys(c).forEach(function(Y){c[Y].forEach(function(V){F[String(V)]=Y})}),F}function o(c,F){if(F=F||{},Object.keys(F).forEach(function(Y){if(t.indexOf(Y)===-1)throw new e('Unknown option "'+Y+'" is met in definition of "'+c+'" YAML type.')}),this.tag=c,this.kind=F.kind||null,this.resolve=F.resolve||function(){return!0},this.construct=F.construct||function(Y){return Y},this.instanceOf=F.instanceOf||null,this.predicate=F.predicate||null,this.represent=F.represent||null,this.defaultStyle=F.defaultStyle||null,this.styleAliases=r(F.styleAliases||null),n.indexOf(this.kind)===-1)throw new e('Unknown kind "'+this.kind+'" is specified for "'+c+'" YAML type.')}return type=o,type}var schema$3,hasRequiredSchema;function requireSchema(){if(hasRequiredSchema)return schema$3;hasRequiredSchema=1;var e=requireCommon(),t=requireException(),n=requireType();function r(F,Y,V){var Q=[];return F.include.forEach(function(X){V=r(X,Y,V)}),F[Y].forEach(function(X){V.forEach(function(ue,se){ue.tag===X.tag&&ue.kind===X.kind&&Q.push(se)}),V.push(X)}),V.filter(function(X,ue){return Q.indexOf(ue)===-1})}function o(){var F={scalar:{},sequence:{},mapping:{},fallback:{}},Y,V;function Q(X){F[X.kind][X.tag]=F.fallback[X.tag]=X}for(Y=0,V=arguments.length;Y<V;Y+=1)arguments[Y].forEach(Q);return F}function c(F){this.include=F.include||[],this.implicit=F.implicit||[],this.explicit=F.explicit||[],this.implicit.forEach(function(Y){if(Y.loadKind&&Y.loadKind!=="scalar")throw new t("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.")}),this.compiledImplicit=r(this,"implicit",[]),this.compiledExplicit=r(this,"explicit",[]),this.compiledTypeMap=o(this.compiledImplicit,this.compiledExplicit)}return c.DEFAULT=null,c.create=function(){var Y,V;switch(arguments.length){case 1:Y=c.DEFAULT,V=arguments[0];break;case 2:Y=arguments[0],V=arguments[1];break;default:throw new t("Wrong number of arguments for Schema.create function")}if(Y=e.toArray(Y),V=e.toArray(V),!Y.every(function(Q){return Q instanceof c}))throw new t("Specified list of super schemas (or a single Schema object) contains a non-Schema object.");if(!V.every(function(Q){return Q instanceof n}))throw new t("Specified list of YAML types (or a single Type object) contains a non-Type object.");return new c({include:Y,explicit:V})},schema$3=c,schema$3}var str,hasRequiredStr;function requireStr(){if(hasRequiredStr)return str;hasRequiredStr=1;var e=requireType();return str=new e("tag:yaml.org,2002:str",{kind:"scalar",construct:function(t){return t!==null?t:""}}),str}var seq$1,hasRequiredSeq;function requireSeq(){if(hasRequiredSeq)return seq$1;hasRequiredSeq=1;var e=requireType();return seq$1=new e("tag:yaml.org,2002:seq",{kind:"sequence",construct:function(t){return t!==null?t:[]}}),seq$1}var map$2,hasRequiredMap;function requireMap(){if(hasRequiredMap)return map$2;hasRequiredMap=1;var e=requireType();return map$2=new e("tag:yaml.org,2002:map",{kind:"mapping",construct:function(t){return t!==null?t:{}}}),map$2}var failsafe,hasRequiredFailsafe;function requireFailsafe(){if(hasRequiredFailsafe)return failsafe;hasRequiredFailsafe=1;var e=requireSchema();return failsafe=new e({explicit:[requireStr(),requireSeq(),requireMap()]}),failsafe}var _null,hasRequired_null;function require_null(){if(hasRequired_null)return _null;hasRequired_null=1;var e=requireType();function t(o){if(o===null)return!0;var c=o.length;return c===1&&o==="~"||c===4&&(o==="null"||o==="Null"||o==="NULL")}function n(){return null}function r(o){return o===null}return _null=new e("tag:yaml.org,2002:null",{kind:"scalar",resolve:t,construct:n,predicate:r,represent:{canonical:function(){return"~"},lowercase:function(){return"null"},uppercase:function(){return"NULL"},camelcase:function(){return"Null"}},defaultStyle:"lowercase"}),_null}var bool,hasRequiredBool;function requireBool(){if(hasRequiredBool)return bool;hasRequiredBool=1;var e=requireType();function t(o){if(o===null)return!1;var c=o.length;return c===4&&(o==="true"||o==="True"||o==="TRUE")||c===5&&(o==="false"||o==="False"||o==="FALSE")}function n(o){return o==="true"||o==="True"||o==="TRUE"}function r(o){return Object.prototype.toString.call(o)==="[object Boolean]"}return bool=new e("tag:yaml.org,2002:bool",{kind:"scalar",resolve:t,construct:n,predicate:r,represent:{lowercase:function(o){return o?"true":"false"},uppercase:function(o){return o?"TRUE":"FALSE"},camelcase:function(o){return o?"True":"False"}},defaultStyle:"lowercase"}),bool}var int$2,hasRequiredInt;function requireInt(){if(hasRequiredInt)return int$2;hasRequiredInt=1;var e=requireCommon(),t=requireType();function n(V){return 48<=V&&V<=57||65<=V&&V<=70||97<=V&&V<=102}function r(V){return 48<=V&&V<=55}function o(V){return 48<=V&&V<=57}function c(V){if(V===null)return!1;var Q=V.length,X=0,ue=!1,se;if(!Q)return!1;if(se=V[X],(se==="-"||se==="+")&&(se=V[++X]),se==="0"){if(X+1===Q)return!0;if(se=V[++X],se==="b"){for(X++;X<Q;X++)if(se=V[X],se!=="_"){if(se!=="0"&&se!=="1")return!1;ue=!0}return ue&&se!=="_"}if(se==="x"){for(X++;X<Q;X++)if(se=V[X],se!=="_"){if(!n(V.charCodeAt(X)))return!1;ue=!0}return ue&&se!=="_"}for(;X<Q;X++)if(se=V[X],se!=="_"){if(!r(V.charCodeAt(X)))return!1;ue=!0}return ue&&se!=="_"}if(se==="_")return!1;for(;X<Q;X++)if(se=V[X],se!=="_"){if(se===":")break;if(!o(V.charCodeAt(X)))return!1;ue=!0}return!ue||se==="_"?!1:se!==":"?!0:/^(:[0-5]?[0-9])+$/.test(V.slice(X))}function F(V){var Q=V,X=1,ue,se,oe=[];return Q.indexOf("_")!==-1&&(Q=Q.replace(/_/g,"")),ue=Q[0],(ue==="-"||ue==="+")&&(ue==="-"&&(X=-1),Q=Q.slice(1),ue=Q[0]),Q==="0"?0:ue==="0"?Q[1]==="b"?X*parseInt(Q.slice(2),2):Q[1]==="x"?X*parseInt(Q,16):X*parseInt(Q,8):Q.indexOf(":")!==-1?(Q.split(":").forEach(function(ce){oe.unshift(parseInt(ce,10))}),Q=0,se=1,oe.forEach(function(ce){Q+=ce*se,se*=60}),X*Q):X*parseInt(Q,10)}function Y(V){return Object.prototype.toString.call(V)==="[object Number]"&&V%1===0&&!e.isNegativeZero(V)}return int$2=new t("tag:yaml.org,2002:int",{kind:"scalar",resolve:c,construct:F,predicate:Y,represent:{binary:function(V){return V>=0?"0b"+V.toString(2):"-0b"+V.toString(2).slice(1)},octal:function(V){return V>=0?"0"+V.toString(8):"-0"+V.toString(8).slice(1)},decimal:function(V){return V.toString(10)},hexadecimal:function(V){return V>=0?"0x"+V.toString(16).toUpperCase():"-0x"+V.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}}),int$2}var float$2,hasRequiredFloat;function requireFloat(){if(hasRequiredFloat)return float$2;hasRequiredFloat=1;var e=requireCommon(),t=requireType(),n=new RegExp("^(?:[-+]?(?:0|[1-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\\.[0-9_]*|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");function r(V){return!(V===null||!n.test(V)||V[V.length-1]==="_")}function o(V){var Q,X,ue,se;return Q=V.replace(/_/g,"").toLowerCase(),X=Q[0]==="-"?-1:1,se=[],"+-".indexOf(Q[0])>=0&&(Q=Q.slice(1)),Q===".inf"?X===1?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:Q===".nan"?NaN:Q.indexOf(":")>=0?(Q.split(":").forEach(function(oe){se.unshift(parseFloat(oe,10))}),Q=0,ue=1,se.forEach(function(oe){Q+=oe*ue,ue*=60}),X*Q):X*parseFloat(Q,10)}var c=/^[-+]?[0-9]+e/;function F(V,Q){var X;if(isNaN(V))switch(Q){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===V)switch(Q){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===V)switch(Q){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(e.isNegativeZero(V))return"-0.0";return X=V.toString(10),c.test(X)?X.replace("e",".e"):X}function Y(V){return Object.prototype.toString.call(V)==="[object Number]"&&(V%1!==0||e.isNegativeZero(V))}return float$2=new t("tag:yaml.org,2002:float",{kind:"scalar",resolve:r,construct:o,predicate:Y,represent:F,defaultStyle:"lowercase"}),float$2}var json,hasRequiredJson;function requireJson(){if(hasRequiredJson)return json;hasRequiredJson=1;var e=requireSchema();return json=new e({include:[requireFailsafe()],implicit:[require_null(),requireBool(),requireInt(),requireFloat()]}),json}var core,hasRequiredCore;function requireCore(){if(hasRequiredCore)return core;hasRequiredCore=1;var e=requireSchema();return core=new e({include:[requireJson()]}),core}var timestamp$1,hasRequiredTimestamp;function requireTimestamp(){if(hasRequiredTimestamp)return timestamp$1;hasRequiredTimestamp=1;var e=requireType(),t=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),n=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$");function r(F){return F===null?!1:t.exec(F)!==null||n.exec(F)!==null}function o(F){var Y,V,Q,X,ue,se,oe,ce=0,le=null,de,pe,be;if(Y=t.exec(F),Y===null&&(Y=n.exec(F)),Y===null)throw new Error("Date resolve error");if(V=+Y[1],Q=+Y[2]-1,X=+Y[3],!Y[4])return new Date(Date.UTC(V,Q,X));if(ue=+Y[4],se=+Y[5],oe=+Y[6],Y[7]){for(ce=Y[7].slice(0,3);ce.length<3;)ce+="0";ce=+ce}return Y[9]&&(de=+Y[10],pe=+(Y[11]||0),le=(de*60+pe)*6e4,Y[9]==="-"&&(le=-le)),be=new Date(Date.UTC(V,Q,X,ue,se,oe,ce)),le&&be.setTime(be.getTime()-le),be}function c(F){return F.toISOString()}return timestamp$1=new e("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:r,construct:o,instanceOf:Date,represent:c}),timestamp$1}var merge$1,hasRequiredMerge;function requireMerge(){if(hasRequiredMerge)return merge$1;hasRequiredMerge=1;var e=requireType();function t(n){return n==="<<"||n===null}return merge$1=new e("tag:yaml.org,2002:merge",{kind:"scalar",resolve:t}),merge$1}var binary$1,hasRequiredBinary;function requireBinary(){if(hasRequiredBinary)return binary$1;hasRequiredBinary=1;var e;try{var t=commonjsRequire;e=t("buffer").Buffer}catch{}var n=requireType(),r=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=
|
|
11
|
-
\r`;function o(V){if(V===null)return!1;var Q,X,ue=0,se=V.length,oe=r;for(X=0;X<se;X++)if(Q=oe.indexOf(V.charAt(X)),!(Q>64)){if(Q<0)return!1;ue+=6}return ue%8===0}function c(V){var Q,X,ue=V.replace(/[\r\n=]/g,""),se=ue.length,oe=r,ce=0,le=[];for(Q=0;Q<se;Q++)Q%4===0&&Q&&(le.push(ce>>16&255),le.push(ce>>8&255),le.push(ce&255)),ce=ce<<6|oe.indexOf(ue.charAt(Q));return X=se%4*6,X===0?(le.push(ce>>16&255),le.push(ce>>8&255),le.push(ce&255)):X===18?(le.push(ce>>10&255),le.push(ce>>2&255)):X===12&&le.push(ce>>4&255),e?e.from?e.from(le):new e(le):le}function F(V){var Q="",X=0,ue,se,oe=V.length,ce=r;for(ue=0;ue<oe;ue++)ue%3===0&&ue&&(Q+=ce[X>>18&63],Q+=ce[X>>12&63],Q+=ce[X>>6&63],Q+=ce[X&63]),X=(X<<8)+V[ue];return se=oe%3,se===0?(Q+=ce[X>>18&63],Q+=ce[X>>12&63],Q+=ce[X>>6&63],Q+=ce[X&63]):se===2?(Q+=ce[X>>10&63],Q+=ce[X>>4&63],Q+=ce[X<<2&63],Q+=ce[64]):se===1&&(Q+=ce[X>>2&63],Q+=ce[X<<4&63],Q+=ce[64],Q+=ce[64]),Q}function Y(V){return e&&e.isBuffer(V)}return binary$1=new n("tag:yaml.org,2002:binary",{kind:"scalar",resolve:o,construct:c,predicate:Y,represent:F}),binary$1}var omap$1,hasRequiredOmap;function requireOmap(){if(hasRequiredOmap)return omap$1;hasRequiredOmap=1;var e=requireType(),t=Object.prototype.hasOwnProperty,n=Object.prototype.toString;function r(c){if(c===null)return!0;var F=[],Y,V,Q,X,ue,se=c;for(Y=0,V=se.length;Y<V;Y+=1){if(Q=se[Y],ue=!1,n.call(Q)!=="[object Object]")return!1;for(X in Q)if(t.call(Q,X))if(!ue)ue=!0;else return!1;if(!ue)return!1;if(F.indexOf(X)===-1)F.push(X);else return!1}return!0}function o(c){return c!==null?c:[]}return omap$1=new e("tag:yaml.org,2002:omap",{kind:"sequence",resolve:r,construct:o}),omap$1}var pairs$1,hasRequiredPairs;function requirePairs(){if(hasRequiredPairs)return pairs$1;hasRequiredPairs=1;var e=requireType(),t=Object.prototype.toString;function n(o){if(o===null)return!0;var c,F,Y,V,Q,X=o;for(Q=new Array(X.length),c=0,F=X.length;c<F;c+=1){if(Y=X[c],t.call(Y)!=="[object Object]"||(V=Object.keys(Y),V.length!==1))return!1;Q[c]=[V[0],Y[V[0]]]}return!0}function r(o){if(o===null)return[];var c,F,Y,V,Q,X=o;for(Q=new Array(X.length),c=0,F=X.length;c<F;c+=1)Y=X[c],V=Object.keys(Y),Q[c]=[V[0],Y[V[0]]];return Q}return pairs$1=new e("tag:yaml.org,2002:pairs",{kind:"sequence",resolve:n,construct:r}),pairs$1}var set$1,hasRequiredSet;function requireSet(){if(hasRequiredSet)return set$1;hasRequiredSet=1;var e=requireType(),t=Object.prototype.hasOwnProperty;function n(o){if(o===null)return!0;var c,F=o;for(c in F)if(t.call(F,c)&&F[c]!==null)return!1;return!0}function r(o){return o!==null?o:{}}return set$1=new e("tag:yaml.org,2002:set",{kind:"mapping",resolve:n,construct:r}),set$1}var default_safe,hasRequiredDefault_safe;function requireDefault_safe(){if(hasRequiredDefault_safe)return default_safe;hasRequiredDefault_safe=1;var e=requireSchema();return default_safe=new e({include:[requireCore()],implicit:[requireTimestamp(),requireMerge()],explicit:[requireBinary(),requireOmap(),requirePairs(),requireSet()]}),default_safe}var _undefined,hasRequired_undefined;function require_undefined(){if(hasRequired_undefined)return _undefined;hasRequired_undefined=1;var e=requireType();function t(){return!0}function n(){}function r(){return""}function o(c){return typeof c>"u"}return _undefined=new e("tag:yaml.org,2002:js/undefined",{kind:"scalar",resolve:t,construct:n,predicate:o,represent:r}),_undefined}var regexp,hasRequiredRegexp;function requireRegexp(){if(hasRequiredRegexp)return regexp;hasRequiredRegexp=1;var e=requireType();function t(c){if(c===null||c.length===0)return!1;var F=c,Y=/\/([gim]*)$/.exec(c),V="";return!(F[0]==="/"&&(Y&&(V=Y[1]),V.length>3||F[F.length-V.length-1]!=="/"))}function n(c){var F=c,Y=/\/([gim]*)$/.exec(c),V="";return F[0]==="/"&&(Y&&(V=Y[1]),F=F.slice(1,F.length-V.length-1)),new RegExp(F,V)}function r(c){var F="/"+c.source+"/";return c.global&&(F+="g"),c.multiline&&(F+="m"),c.ignoreCase&&(F+="i"),F}function o(c){return Object.prototype.toString.call(c)==="[object RegExp]"}return regexp=new e("tag:yaml.org,2002:js/regexp",{kind:"scalar",resolve:t,construct:n,predicate:o,represent:r}),regexp}var _function,hasRequired_function;function require_function(){if(hasRequired_function)return _function;hasRequired_function=1;var e;try{var t=commonjsRequire;e=t("esprima")}catch{typeof window<"u"&&(e=window.esprima)}var n=requireType();function r(Y){if(Y===null)return!1;try{var V="("+Y+")",Q=e.parse(V,{range:!0});return!(Q.type!=="Program"||Q.body.length!==1||Q.body[0].type!=="ExpressionStatement"||Q.body[0].expression.type!=="ArrowFunctionExpression"&&Q.body[0].expression.type!=="FunctionExpression")}catch{return!1}}function o(Y){var V="("+Y+")",Q=e.parse(V,{range:!0}),X=[],ue;if(Q.type!=="Program"||Q.body.length!==1||Q.body[0].type!=="ExpressionStatement"||Q.body[0].expression.type!=="ArrowFunctionExpression"&&Q.body[0].expression.type!=="FunctionExpression")throw new Error("Failed to resolve function");return Q.body[0].expression.params.forEach(function(se){X.push(se.name)}),ue=Q.body[0].expression.body.range,Q.body[0].expression.body.type==="BlockStatement"?new Function(X,V.slice(ue[0]+1,ue[1]-1)):new Function(X,"return "+V.slice(ue[0],ue[1]))}function c(Y){return Y.toString()}function F(Y){return Object.prototype.toString.call(Y)==="[object Function]"}return _function=new n("tag:yaml.org,2002:js/function",{kind:"scalar",resolve:r,construct:o,predicate:F,represent:c}),_function}var default_full,hasRequiredDefault_full;function requireDefault_full(){if(hasRequiredDefault_full)return default_full;hasRequiredDefault_full=1;var e=requireSchema();return default_full=e.DEFAULT=new e({include:[requireDefault_safe()],explicit:[require_undefined(),requireRegexp(),require_function()]}),default_full}var hasRequiredLoader;function requireLoader(){if(hasRequiredLoader)return loader;hasRequiredLoader=1;var e=requireCommon(),t=requireException(),n=requireMark(),r=requireDefault_safe(),o=requireDefault_full(),c=Object.prototype.hasOwnProperty,F=1,Y=2,V=3,Q=4,X=1,ue=2,se=3,oe=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,ce=/[\x85\u2028\u2029]/,le=/[,\[\]\{\}]/,de=/^(?:!|!!|![a-z\-]+!)$/i,pe=/^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;function be(te){return Object.prototype.toString.call(te)}function ge(te){return te===10||te===13}function ye(te){return te===9||te===32}function me(te){return te===9||te===32||te===10||te===13}function xe(te){return te===44||te===91||te===93||te===123||te===125}function Fe(te){var ke;return 48<=te&&te<=57?te-48:(ke=te|32,97<=ke&&ke<=102?ke-97+10:-1)}function we(te){return te===120?2:te===117?4:te===85?8:0}function Te(te){return 48<=te&&te<=57?te-48:-1}function Be(te){return te===48?"\0":te===97?"\x07":te===98?"\b":te===116||te===9?" ":te===110?`
|
|
12
|
-
`:te===118?"\v":te===102?"\f":te===114?"\r":te===101?"\x1B":te===32?" ":te===34?'"':te===47?"/":te===92?"\\":te===78?"
":te===95?" ":te===76?"\u2028":te===80?"\u2029":""}function Oe(te){return te<=65535?String.fromCharCode(te):String.fromCharCode((te-65536>>10)+55296,(te-65536&1023)+56320)}function ve(te,ke,ie){ke==="__proto__"?Object.defineProperty(te,ke,{configurable:!0,enumerable:!0,writable:!0,value:ie}):te[ke]=ie}for(var Me=new Array(256),$e=new Array(256),Pe=0;Pe<256;Pe++)Me[Pe]=Be(Pe)?1:0,$e[Pe]=Be(Pe);function Je(te,ke){this.input=te,this.filename=ke.filename||null,this.schema=ke.schema||o,this.onWarning=ke.onWarning||null,this.legacy=ke.legacy||!1,this.json=ke.json||!1,this.listener=ke.listener||null,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=te.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.documents=[]}function Ge(te,ke){return new t(ke,new n(te.filename,te.input,te.position,te.line,te.position-te.lineStart))}function De(te,ke){throw Ge(te,ke)}function Ue(te,ke){te.onWarning&&te.onWarning.call(null,Ge(te,ke))}var Ke={YAML:function(ke,ie,ee){var ne,re,ae;ke.version!==null&&De(ke,"duplication of %YAML directive"),ee.length!==1&&De(ke,"YAML directive accepts exactly one argument"),ne=/^([0-9]+)\.([0-9]+)$/.exec(ee[0]),ne===null&&De(ke,"ill-formed argument of the YAML directive"),re=parseInt(ne[1],10),ae=parseInt(ne[2],10),re!==1&&De(ke,"unacceptable YAML version of the document"),ke.version=ee[0],ke.checkLineBreaks=ae<2,ae!==1&&ae!==2&&Ue(ke,"unsupported YAML version of the document")},TAG:function(ke,ie,ee){var ne,re;ee.length!==2&&De(ke,"TAG directive accepts exactly two arguments"),ne=ee[0],re=ee[1],de.test(ne)||De(ke,"ill-formed tag handle (first argument) of the TAG directive"),c.call(ke.tagMap,ne)&&De(ke,'there is a previously declared suffix for "'+ne+'" tag handle'),pe.test(re)||De(ke,"ill-formed tag prefix (second argument) of the TAG directive"),ke.tagMap[ne]=re}};function Re(te,ke,ie,ee){var ne,re,ae,fe;if(ke<ie){if(fe=te.input.slice(ke,ie),ee)for(ne=0,re=fe.length;ne<re;ne+=1)ae=fe.charCodeAt(ne),ae===9||32<=ae&&ae<=1114111||De(te,"expected valid JSON character");else oe.test(fe)&&De(te,"the stream contains non-printable characters");te.result+=fe}}function je(te,ke,ie,ee){var ne,re,ae,fe;for(e.isObject(ie)||De(te,"cannot merge mappings; the provided source object is unacceptable"),ne=Object.keys(ie),ae=0,fe=ne.length;ae<fe;ae+=1)re=ne[ae],c.call(ke,re)||(ve(ke,re,ie[re]),ee[re]=!0)}function ze(te,ke,ie,ee,ne,re,ae,fe){var he,_e;if(Array.isArray(ne))for(ne=Array.prototype.slice.call(ne),he=0,_e=ne.length;he<_e;he+=1)Array.isArray(ne[he])&&De(te,"nested arrays are not supported inside keys"),typeof ne=="object"&&be(ne[he])==="[object Object]"&&(ne[he]="[object Object]");if(typeof ne=="object"&&be(ne)==="[object Object]"&&(ne="[object Object]"),ne=String(ne),ke===null&&(ke={}),ee==="tag:yaml.org,2002:merge")if(Array.isArray(re))for(he=0,_e=re.length;he<_e;he+=1)je(te,ke,re[he],ie);else je(te,ke,re,ie);else!te.json&&!c.call(ie,ne)&&c.call(ke,ne)&&(te.line=ae||te.line,te.position=fe||te.position,De(te,"duplicated mapping key")),ve(ke,ne,re),delete ie[ne];return ke}function rt(te){var ke;ke=te.input.charCodeAt(te.position),ke===10?te.position++:ke===13?(te.position++,te.input.charCodeAt(te.position)===10&&te.position++):De(te,"a line break is expected"),te.line+=1,te.lineStart=te.position}function qe(te,ke,ie){for(var ee=0,ne=te.input.charCodeAt(te.position);ne!==0;){for(;ye(ne);)ne=te.input.charCodeAt(++te.position);if(ke&&ne===35)do ne=te.input.charCodeAt(++te.position);while(ne!==10&&ne!==13&&ne!==0);if(ge(ne))for(rt(te),ne=te.input.charCodeAt(te.position),ee++,te.lineIndent=0;ne===32;)te.lineIndent++,ne=te.input.charCodeAt(++te.position);else break}return ie!==-1&&ee!==0&&te.lineIndent<ie&&Ue(te,"deficient indentation"),ee}function Qe(te){var ke=te.position,ie;return ie=te.input.charCodeAt(ke),!!((ie===45||ie===46)&&ie===te.input.charCodeAt(ke+1)&&ie===te.input.charCodeAt(ke+2)&&(ke+=3,ie=te.input.charCodeAt(ke),ie===0||me(ie)))}function Xe(te,ke){ke===1?te.result+=" ":ke>1&&(te.result+=e.repeat(`
|
|
13
|
-
`,ke-1))}function Ve(te,ke,ie){var ee,ne,re,ae,fe,he,_e,Ce,Ee=te.kind,Se=te.result,Ae;if(Ae=te.input.charCodeAt(te.position),me(Ae)||xe(Ae)||Ae===35||Ae===38||Ae===42||Ae===33||Ae===124||Ae===62||Ae===39||Ae===34||Ae===37||Ae===64||Ae===96||(Ae===63||Ae===45)&&(ne=te.input.charCodeAt(te.position+1),me(ne)||ie&&xe(ne)))return!1;for(te.kind="scalar",te.result="",re=ae=te.position,fe=!1;Ae!==0;){if(Ae===58){if(ne=te.input.charCodeAt(te.position+1),me(ne)||ie&&xe(ne))break}else if(Ae===35){if(ee=te.input.charCodeAt(te.position-1),me(ee))break}else{if(te.position===te.lineStart&&Qe(te)||ie&&xe(Ae))break;if(ge(Ae))if(he=te.line,_e=te.lineStart,Ce=te.lineIndent,qe(te,!1,-1),te.lineIndent>=ke){fe=!0,Ae=te.input.charCodeAt(te.position);continue}else{te.position=ae,te.line=he,te.lineStart=_e,te.lineIndent=Ce;break}}fe&&(Re(te,re,ae,!1),Xe(te,te.line-he),re=ae=te.position,fe=!1),ye(Ae)||(ae=te.position+1),Ae=te.input.charCodeAt(++te.position)}return Re(te,re,ae,!1),te.result?!0:(te.kind=Ee,te.result=Se,!1)}function ut(te,ke){var ie,ee,ne;if(ie=te.input.charCodeAt(te.position),ie!==39)return!1;for(te.kind="scalar",te.result="",te.position++,ee=ne=te.position;(ie=te.input.charCodeAt(te.position))!==0;)if(ie===39)if(Re(te,ee,te.position,!0),ie=te.input.charCodeAt(++te.position),ie===39)ee=te.position,te.position++,ne=te.position;else return!0;else ge(ie)?(Re(te,ee,ne,!0),Xe(te,qe(te,!1,ke)),ee=ne=te.position):te.position===te.lineStart&&Qe(te)?De(te,"unexpected end of the document within a single quoted scalar"):(te.position++,ne=te.position);De(te,"unexpected end of the stream within a single quoted scalar")}function it(te,ke){var ie,ee,ne,re,ae,fe;if(fe=te.input.charCodeAt(te.position),fe!==34)return!1;for(te.kind="scalar",te.result="",te.position++,ie=ee=te.position;(fe=te.input.charCodeAt(te.position))!==0;){if(fe===34)return Re(te,ie,te.position,!0),te.position++,!0;if(fe===92){if(Re(te,ie,te.position,!0),fe=te.input.charCodeAt(++te.position),ge(fe))qe(te,!1,ke);else if(fe<256&&Me[fe])te.result+=$e[fe],te.position++;else if((ae=we(fe))>0){for(ne=ae,re=0;ne>0;ne--)fe=te.input.charCodeAt(++te.position),(ae=Fe(fe))>=0?re=(re<<4)+ae:De(te,"expected hexadecimal character");te.result+=Oe(re),te.position++}else De(te,"unknown escape sequence");ie=ee=te.position}else ge(fe)?(Re(te,ie,ee,!0),Xe(te,qe(te,!1,ke)),ie=ee=te.position):te.position===te.lineStart&&Qe(te)?De(te,"unexpected end of the document within a double quoted scalar"):(te.position++,ee=te.position)}De(te,"unexpected end of the stream within a double quoted scalar")}function at(te,ke){var ie=!0,ee,ne=te.tag,re,ae=te.anchor,fe,he,_e,Ce,Ee,Se={},Ae,Ie,Le,Ne;if(Ne=te.input.charCodeAt(te.position),Ne===91)he=93,Ee=!1,re=[];else if(Ne===123)he=125,Ee=!0,re={};else return!1;for(te.anchor!==null&&(te.anchorMap[te.anchor]=re),Ne=te.input.charCodeAt(++te.position);Ne!==0;){if(qe(te,!0,ke),Ne=te.input.charCodeAt(te.position),Ne===he)return te.position++,te.tag=ne,te.anchor=ae,te.kind=Ee?"mapping":"sequence",te.result=re,!0;ie||De(te,"missed comma between flow collection entries"),Ie=Ae=Le=null,_e=Ce=!1,Ne===63&&(fe=te.input.charCodeAt(te.position+1),me(fe)&&(_e=Ce=!0,te.position++,qe(te,!0,ke))),ee=te.line,Ze(te,ke,F,!1,!0),Ie=te.tag,Ae=te.result,qe(te,!0,ke),Ne=te.input.charCodeAt(te.position),(Ce||te.line===ee)&&Ne===58&&(_e=!0,Ne=te.input.charCodeAt(++te.position),qe(te,!0,ke),Ze(te,ke,F,!1,!0),Le=te.result),Ee?ze(te,re,Se,Ie,Ae,Le):_e?re.push(ze(te,null,Se,Ie,Ae,Le)):re.push(Ae),qe(te,!0,ke),Ne=te.input.charCodeAt(te.position),Ne===44?(ie=!0,Ne=te.input.charCodeAt(++te.position)):ie=!1}De(te,"unexpected end of the stream within a flow collection")}function et(te,ke){var ie,ee,ne=X,re=!1,ae=!1,fe=ke,he=0,_e=!1,Ce,Ee;if(Ee=te.input.charCodeAt(te.position),Ee===124)ee=!1;else if(Ee===62)ee=!0;else return!1;for(te.kind="scalar",te.result="";Ee!==0;)if(Ee=te.input.charCodeAt(++te.position),Ee===43||Ee===45)X===ne?ne=Ee===43?se:ue:De(te,"repeat of a chomping mode identifier");else if((Ce=Te(Ee))>=0)Ce===0?De(te,"bad explicit indentation width of a block scalar; it cannot be less than one"):ae?De(te,"repeat of an indentation width identifier"):(fe=ke+Ce-1,ae=!0);else break;if(ye(Ee)){do Ee=te.input.charCodeAt(++te.position);while(ye(Ee));if(Ee===35)do Ee=te.input.charCodeAt(++te.position);while(!ge(Ee)&&Ee!==0)}for(;Ee!==0;){for(rt(te),te.lineIndent=0,Ee=te.input.charCodeAt(te.position);(!ae||te.lineIndent<fe)&&Ee===32;)te.lineIndent++,Ee=te.input.charCodeAt(++te.position);if(!ae&&te.lineIndent>fe&&(fe=te.lineIndent),ge(Ee)){he++;continue}if(te.lineIndent<fe){ne===se?te.result+=e.repeat(`
|
|
14
|
-
`,re?1+he:he):ne===X&&re&&(te.result+=`
|
|
15
|
-
`);break}for(ee?ye(Ee)?(_e=!0,te.result+=e.repeat(`
|
|
16
|
-
`,re?1+he:he)):_e?(_e=!1,te.result+=e.repeat(`
|
|
17
|
-
`,he+1)):he===0?re&&(te.result+=" "):te.result+=e.repeat(`
|
|
18
|
-
`,he):te.result+=e.repeat(`
|
|
19
|
-
`,re?1+he:he),re=!0,ae=!0,he=0,ie=te.position;!ge(Ee)&&Ee!==0;)Ee=te.input.charCodeAt(++te.position);Re(te,ie,te.position,!1)}return!0}function We(te,ke){var ie,ee=te.tag,ne=te.anchor,re=[],ae,fe=!1,he;for(te.anchor!==null&&(te.anchorMap[te.anchor]=re),he=te.input.charCodeAt(te.position);he!==0&&!(he!==45||(ae=te.input.charCodeAt(te.position+1),!me(ae)));){if(fe=!0,te.position++,qe(te,!0,-1)&&te.lineIndent<=ke){re.push(null),he=te.input.charCodeAt(te.position);continue}if(ie=te.line,Ze(te,ke,V,!1,!0),re.push(te.result),qe(te,!0,-1),he=te.input.charCodeAt(te.position),(te.line===ie||te.lineIndent>ke)&&he!==0)De(te,"bad indentation of a sequence entry");else if(te.lineIndent<ke)break}return fe?(te.tag=ee,te.anchor=ne,te.kind="sequence",te.result=re,!0):!1}function tt(te,ke,ie){var ee,ne,re,ae,fe=te.tag,he=te.anchor,_e={},Ce={},Ee=null,Se=null,Ae=null,Ie=!1,Le=!1,Ne;for(te.anchor!==null&&(te.anchorMap[te.anchor]=_e),Ne=te.input.charCodeAt(te.position);Ne!==0;){if(ee=te.input.charCodeAt(te.position+1),re=te.line,ae=te.position,(Ne===63||Ne===58)&&me(ee))Ne===63?(Ie&&(ze(te,_e,Ce,Ee,Se,null),Ee=Se=Ae=null),Le=!0,Ie=!0,ne=!0):Ie?(Ie=!1,ne=!0):De(te,"incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"),te.position+=1,Ne=ee;else if(Ze(te,ie,Y,!1,!0))if(te.line===re){for(Ne=te.input.charCodeAt(te.position);ye(Ne);)Ne=te.input.charCodeAt(++te.position);if(Ne===58)Ne=te.input.charCodeAt(++te.position),me(Ne)||De(te,"a whitespace character is expected after the key-value separator within a block mapping"),Ie&&(ze(te,_e,Ce,Ee,Se,null),Ee=Se=Ae=null),Le=!0,Ie=!1,ne=!1,Ee=te.tag,Se=te.result;else if(Le)De(te,"can not read an implicit mapping pair; a colon is missed");else return te.tag=fe,te.anchor=he,!0}else if(Le)De(te,"can not read a block mapping entry; a multiline key may not be an implicit key");else return te.tag=fe,te.anchor=he,!0;else break;if((te.line===re||te.lineIndent>ke)&&(Ze(te,ke,Q,!0,ne)&&(Ie?Se=te.result:Ae=te.result),Ie||(ze(te,_e,Ce,Ee,Se,Ae,re,ae),Ee=Se=Ae=null),qe(te,!0,-1),Ne=te.input.charCodeAt(te.position)),te.lineIndent>ke&&Ne!==0)De(te,"bad indentation of a mapping entry");else if(te.lineIndent<ke)break}return Ie&&ze(te,_e,Ce,Ee,Se,null),Le&&(te.tag=fe,te.anchor=he,te.kind="mapping",te.result=_e),Le}function lt(te){var ke,ie=!1,ee=!1,ne,re,ae;if(ae=te.input.charCodeAt(te.position),ae!==33)return!1;if(te.tag!==null&&De(te,"duplication of a tag property"),ae=te.input.charCodeAt(++te.position),ae===60?(ie=!0,ae=te.input.charCodeAt(++te.position)):ae===33?(ee=!0,ne="!!",ae=te.input.charCodeAt(++te.position)):ne="!",ke=te.position,ie){do ae=te.input.charCodeAt(++te.position);while(ae!==0&&ae!==62);te.position<te.length?(re=te.input.slice(ke,te.position),ae=te.input.charCodeAt(++te.position)):De(te,"unexpected end of the stream within a verbatim tag")}else{for(;ae!==0&&!me(ae);)ae===33&&(ee?De(te,"tag suffix cannot contain exclamation marks"):(ne=te.input.slice(ke-1,te.position+1),de.test(ne)||De(te,"named tag handle cannot contain such characters"),ee=!0,ke=te.position+1)),ae=te.input.charCodeAt(++te.position);re=te.input.slice(ke,te.position),le.test(re)&&De(te,"tag suffix cannot contain flow indicator characters")}return re&&!pe.test(re)&&De(te,"tag name cannot contain such characters: "+re),ie?te.tag=re:c.call(te.tagMap,ne)?te.tag=te.tagMap[ne]+re:ne==="!"?te.tag="!"+re:ne==="!!"?te.tag="tag:yaml.org,2002:"+re:De(te,'undeclared tag handle "'+ne+'"'),!0}function ft(te){var ke,ie;if(ie=te.input.charCodeAt(te.position),ie!==38)return!1;for(te.anchor!==null&&De(te,"duplication of an anchor property"),ie=te.input.charCodeAt(++te.position),ke=te.position;ie!==0&&!me(ie)&&!xe(ie);)ie=te.input.charCodeAt(++te.position);return te.position===ke&&De(te,"name of an anchor node must contain at least one character"),te.anchor=te.input.slice(ke,te.position),!0}function st(te){var ke,ie,ee;if(ee=te.input.charCodeAt(te.position),ee!==42)return!1;for(ee=te.input.charCodeAt(++te.position),ke=te.position;ee!==0&&!me(ee)&&!xe(ee);)ee=te.input.charCodeAt(++te.position);return te.position===ke&&De(te,"name of an alias node must contain at least one character"),ie=te.input.slice(ke,te.position),c.call(te.anchorMap,ie)||De(te,'unidentified alias "'+ie+'"'),te.result=te.anchorMap[ie],qe(te,!0,-1),!0}function Ze(te,ke,ie,ee,ne){var re,ae,fe,he=1,_e=!1,Ce=!1,Ee,Se,Ae,Ie,Le;if(te.listener!==null&&te.listener("open",te),te.tag=null,te.anchor=null,te.kind=null,te.result=null,re=ae=fe=Q===ie||V===ie,ee&&qe(te,!0,-1)&&(_e=!0,te.lineIndent>ke?he=1:te.lineIndent===ke?he=0:te.lineIndent<ke&&(he=-1)),he===1)for(;lt(te)||ft(te);)qe(te,!0,-1)?(_e=!0,fe=re,te.lineIndent>ke?he=1:te.lineIndent===ke?he=0:te.lineIndent<ke&&(he=-1)):fe=!1;if(fe&&(fe=_e||ne),(he===1||Q===ie)&&(F===ie||Y===ie?Ie=ke:Ie=ke+1,Le=te.position-te.lineStart,he===1?fe&&(We(te,Le)||tt(te,Le,Ie))||at(te,Ie)?Ce=!0:(ae&&et(te,Ie)||ut(te,Ie)||it(te,Ie)?Ce=!0:st(te)?(Ce=!0,(te.tag!==null||te.anchor!==null)&&De(te,"alias node should not have any properties")):Ve(te,Ie,F===ie)&&(Ce=!0,te.tag===null&&(te.tag="?")),te.anchor!==null&&(te.anchorMap[te.anchor]=te.result)):he===0&&(Ce=fe&&We(te,Le))),te.tag!==null&&te.tag!=="!")if(te.tag==="?"){for(te.result!==null&&te.kind!=="scalar"&&De(te,'unacceptable node kind for !<?> tag; it should be "scalar", not "'+te.kind+'"'),Ee=0,Se=te.implicitTypes.length;Ee<Se;Ee+=1)if(Ae=te.implicitTypes[Ee],Ae.resolve(te.result)){te.result=Ae.construct(te.result),te.tag=Ae.tag,te.anchor!==null&&(te.anchorMap[te.anchor]=te.result);break}}else c.call(te.typeMap[te.kind||"fallback"],te.tag)?(Ae=te.typeMap[te.kind||"fallback"][te.tag],te.result!==null&&Ae.kind!==te.kind&&De(te,"unacceptable node kind for !<"+te.tag+'> tag; it should be "'+Ae.kind+'", not "'+te.kind+'"'),Ae.resolve(te.result)?(te.result=Ae.construct(te.result),te.anchor!==null&&(te.anchorMap[te.anchor]=te.result)):De(te,"cannot resolve a node with !<"+te.tag+"> explicit tag")):De(te,"unknown tag !<"+te.tag+">");return te.listener!==null&&te.listener("close",te),te.tag!==null||te.anchor!==null||Ce}function ht(te){var ke=te.position,ie,ee,ne,re=!1,ae;for(te.version=null,te.checkLineBreaks=te.legacy,te.tagMap={},te.anchorMap={};(ae=te.input.charCodeAt(te.position))!==0&&(qe(te,!0,-1),ae=te.input.charCodeAt(te.position),!(te.lineIndent>0||ae!==37));){for(re=!0,ae=te.input.charCodeAt(++te.position),ie=te.position;ae!==0&&!me(ae);)ae=te.input.charCodeAt(++te.position);for(ee=te.input.slice(ie,te.position),ne=[],ee.length<1&&De(te,"directive name must not be less than one character in length");ae!==0;){for(;ye(ae);)ae=te.input.charCodeAt(++te.position);if(ae===35){do ae=te.input.charCodeAt(++te.position);while(ae!==0&&!ge(ae));break}if(ge(ae))break;for(ie=te.position;ae!==0&&!me(ae);)ae=te.input.charCodeAt(++te.position);ne.push(te.input.slice(ie,te.position))}ae!==0&&rt(te),c.call(Ke,ee)?Ke[ee](te,ee,ne):Ue(te,'unknown document directive "'+ee+'"')}if(qe(te,!0,-1),te.lineIndent===0&&te.input.charCodeAt(te.position)===45&&te.input.charCodeAt(te.position+1)===45&&te.input.charCodeAt(te.position+2)===45?(te.position+=3,qe(te,!0,-1)):re&&De(te,"directives end mark is expected"),Ze(te,te.lineIndent-1,Q,!1,!0),qe(te,!0,-1),te.checkLineBreaks&&ce.test(te.input.slice(ke,te.position))&&Ue(te,"non-ASCII line breaks are interpreted as content"),te.documents.push(te.result),te.position===te.lineStart&&Qe(te)){te.input.charCodeAt(te.position)===46&&(te.position+=3,qe(te,!0,-1));return}if(te.position<te.length-1)De(te,"end of the stream or a document separator is expected");else return}function ot(te,ke){te=String(te),ke=ke||{},te.length!==0&&(te.charCodeAt(te.length-1)!==10&&te.charCodeAt(te.length-1)!==13&&(te+=`
|
|
20
|
-
`),te.charCodeAt(0)===65279&&(te=te.slice(1)));var ie=new Je(te,ke),ee=te.indexOf("\0");for(ee!==-1&&(ie.position=ee,De(ie,"null byte is not allowed in input")),ie.input+="\0";ie.input.charCodeAt(ie.position)===32;)ie.lineIndent+=1,ie.position+=1;for(;ie.position<ie.length-1;)ht(ie);return ie.documents}function nt(te,ke,ie){ke!==null&&typeof ke=="object"&&typeof ie>"u"&&(ie=ke,ke=null);var ee=ot(te,ie);if(typeof ke!="function")return ee;for(var ne=0,re=ee.length;ne<re;ne+=1)ke(ee[ne])}function He(te,ke){var ie=ot(te,ke);if(ie.length!==0){if(ie.length===1)return ie[0];throw new t("expected a single document in the stream, but found more")}}function ct(te,ke,ie){return typeof ke=="object"&&ke!==null&&typeof ie>"u"&&(ie=ke,ke=null),nt(te,ke,e.extend({schema:r},ie))}function dt(te,ke){return He(te,e.extend({schema:r},ke))}return loader.loadAll=nt,loader.load=He,loader.safeLoadAll=ct,loader.safeLoad=dt,loader}var dumper={},hasRequiredDumper;function requireDumper(){if(hasRequiredDumper)return dumper;hasRequiredDumper=1;var e=requireCommon(),t=requireException(),n=requireDefault_full(),r=requireDefault_safe(),o=Object.prototype.toString,c=Object.prototype.hasOwnProperty,F=9,Y=10,V=13,Q=32,X=33,ue=34,se=35,oe=37,ce=38,le=39,de=42,pe=44,be=45,ge=58,ye=61,me=62,xe=63,Fe=64,we=91,Te=93,Be=96,Oe=123,ve=124,Me=125,$e={};$e[0]="\\0",$e[7]="\\a",$e[8]="\\b",$e[9]="\\t",$e[10]="\\n",$e[11]="\\v",$e[12]="\\f",$e[13]="\\r",$e[27]="\\e",$e[34]='\\"',$e[92]="\\\\",$e[133]="\\N",$e[160]="\\_",$e[8232]="\\L",$e[8233]="\\P";var Pe=["y","Y","yes","Yes","YES","on","On","ON","n","N","no","No","NO","off","Off","OFF"];function Je(re,ae){var fe,he,_e,Ce,Ee,Se,Ae;if(ae===null)return{};for(fe={},he=Object.keys(ae),_e=0,Ce=he.length;_e<Ce;_e+=1)Ee=he[_e],Se=String(ae[Ee]),Ee.slice(0,2)==="!!"&&(Ee="tag:yaml.org,2002:"+Ee.slice(2)),Ae=re.compiledTypeMap.fallback[Ee],Ae&&c.call(Ae.styleAliases,Se)&&(Se=Ae.styleAliases[Se]),fe[Ee]=Se;return fe}function Ge(re){var ae,fe,he;if(ae=re.toString(16).toUpperCase(),re<=255)fe="x",he=2;else if(re<=65535)fe="u",he=4;else if(re<=4294967295)fe="U",he=8;else throw new t("code point within a string may not be greater than 0xFFFFFFFF");return"\\"+fe+e.repeat("0",he-ae.length)+ae}function De(re){this.schema=re.schema||n,this.indent=Math.max(1,re.indent||2),this.noArrayIndent=re.noArrayIndent||!1,this.skipInvalid=re.skipInvalid||!1,this.flowLevel=e.isNothing(re.flowLevel)?-1:re.flowLevel,this.styleMap=Je(this.schema,re.styles||null),this.sortKeys=re.sortKeys||!1,this.lineWidth=re.lineWidth||80,this.noRefs=re.noRefs||!1,this.noCompatMode=re.noCompatMode||!1,this.condenseFlow=re.condenseFlow||!1,this.implicitTypes=this.schema.compiledImplicit,this.explicitTypes=this.schema.compiledExplicit,this.tag=null,this.result="",this.duplicates=[],this.usedDuplicates=null}function Ue(re,ae){for(var fe=e.repeat(" ",ae),he=0,_e=-1,Ce="",Ee,Se=re.length;he<Se;)_e=re.indexOf(`
|
|
21
|
-
`,he),_e===-1?(Ee=re.slice(he),he=Se):(Ee=re.slice(he,_e+1),he=_e+1),Ee.length&&Ee!==`
|
|
22
|
-
`&&(Ce+=fe),Ce+=Ee;return Ce}function Ke(re,ae){return`
|
|
23
|
-
`+e.repeat(" ",re.indent*ae)}function Re(re,ae){var fe,he,_e;for(fe=0,he=re.implicitTypes.length;fe<he;fe+=1)if(_e=re.implicitTypes[fe],_e.resolve(ae))return!0;return!1}function je(re){return re===Q||re===F}function ze(re){return 32<=re&&re<=126||161<=re&&re<=55295&&re!==8232&&re!==8233||57344<=re&&re<=65533&&re!==65279||65536<=re&&re<=1114111}function rt(re){return ze(re)&&!je(re)&&re!==65279&&re!==V&&re!==Y}function qe(re,ae){return ze(re)&&re!==65279&&re!==pe&&re!==we&&re!==Te&&re!==Oe&&re!==Me&&re!==ge&&(re!==se||ae&&rt(ae))}function Qe(re){return ze(re)&&re!==65279&&!je(re)&&re!==be&&re!==xe&&re!==ge&&re!==pe&&re!==we&&re!==Te&&re!==Oe&&re!==Me&&re!==se&&re!==ce&&re!==de&&re!==X&&re!==ve&&re!==ye&&re!==me&&re!==le&&re!==ue&&re!==oe&&re!==Fe&&re!==Be}function Xe(re){var ae=/^\n* /;return ae.test(re)}var Ve=1,ut=2,it=3,at=4,et=5;function We(re,ae,fe,he,_e){var Ce,Ee,Se,Ae=!1,Ie=!1,Le=he!==-1,Ne=-1,Ye=Qe(re.charCodeAt(0))&&!je(re.charCodeAt(re.length-1));if(ae)for(Ce=0;Ce<re.length;Ce++){if(Ee=re.charCodeAt(Ce),!ze(Ee))return et;Se=Ce>0?re.charCodeAt(Ce-1):null,Ye=Ye&&qe(Ee,Se)}else{for(Ce=0;Ce<re.length;Ce++){if(Ee=re.charCodeAt(Ce),Ee===Y)Ae=!0,Le&&(Ie=Ie||Ce-Ne-1>he&&re[Ne+1]!==" ",Ne=Ce);else if(!ze(Ee))return et;Se=Ce>0?re.charCodeAt(Ce-1):null,Ye=Ye&&qe(Ee,Se)}Ie=Ie||Le&&Ce-Ne-1>he&&re[Ne+1]!==" "}return!Ae&&!Ie?Ye&&!_e(re)?Ve:ut:fe>9&&Xe(re)?et:Ie?at:it}function tt(re,ae,fe,he){re.dump=(function(){if(ae.length===0)return"''";if(!re.noCompatMode&&Pe.indexOf(ae)!==-1)return"'"+ae+"'";var _e=re.indent*Math.max(1,fe),Ce=re.lineWidth===-1?-1:Math.max(Math.min(re.lineWidth,40),re.lineWidth-_e),Ee=he||re.flowLevel>-1&&fe>=re.flowLevel;function Se(Ae){return Re(re,Ae)}switch(We(ae,Ee,re.indent,Ce,Se)){case Ve:return ae;case ut:return"'"+ae.replace(/'/g,"''")+"'";case it:return"|"+lt(ae,re.indent)+ft(Ue(ae,_e));case at:return">"+lt(ae,re.indent)+ft(Ue(st(ae,Ce),_e));case et:return'"'+ht(ae)+'"';default:throw new t("impossible error: invalid scalar style")}})()}function lt(re,ae){var fe=Xe(re)?String(ae):"",he=re[re.length-1]===`
|
|
24
|
-
`,_e=he&&(re[re.length-2]===`
|
|
25
|
-
`||re===`
|
|
26
|
-
`),Ce=_e?"+":he?"":"-";return fe+Ce+`
|
|
27
|
-
`}function ft(re){return re[re.length-1]===`
|
|
28
|
-
`?re.slice(0,-1):re}function st(re,ae){for(var fe=/(\n+)([^\n]*)/g,he=(function(){var Ie=re.indexOf(`
|
|
29
|
-
`);return Ie=Ie!==-1?Ie:re.length,fe.lastIndex=Ie,Ze(re.slice(0,Ie),ae)})(),_e=re[0]===`
|
|
30
|
-
`||re[0]===" ",Ce,Ee;Ee=fe.exec(re);){var Se=Ee[1],Ae=Ee[2];Ce=Ae[0]===" ",he+=Se+(!_e&&!Ce&&Ae!==""?`
|
|
31
|
-
`:"")+Ze(Ae,ae),_e=Ce}return he}function Ze(re,ae){if(re===""||re[0]===" ")return re;for(var fe=/ [^ ]/g,he,_e=0,Ce,Ee=0,Se=0,Ae="";he=fe.exec(re);)Se=he.index,Se-_e>ae&&(Ce=Ee>_e?Ee:Se,Ae+=`
|
|
32
|
-
`+re.slice(_e,Ce),_e=Ce+1),Ee=Se;return Ae+=`
|
|
33
|
-
`,re.length-_e>ae&&Ee>_e?Ae+=re.slice(_e,Ee)+`
|
|
34
|
-
`+re.slice(Ee+1):Ae+=re.slice(_e),Ae.slice(1)}function ht(re){for(var ae="",fe,he,_e,Ce=0;Ce<re.length;Ce++){if(fe=re.charCodeAt(Ce),fe>=55296&&fe<=56319&&(he=re.charCodeAt(Ce+1),he>=56320&&he<=57343)){ae+=Ge((fe-55296)*1024+he-56320+65536),Ce++;continue}_e=$e[fe],ae+=!_e&&ze(fe)?re[Ce]:_e||Ge(fe)}return ae}function ot(re,ae,fe){var he="",_e=re.tag,Ce,Ee;for(Ce=0,Ee=fe.length;Ce<Ee;Ce+=1)te(re,ae,fe[Ce],!1,!1)&&(Ce!==0&&(he+=","+(re.condenseFlow?"":" ")),he+=re.dump);re.tag=_e,re.dump="["+he+"]"}function nt(re,ae,fe,he){var _e="",Ce=re.tag,Ee,Se;for(Ee=0,Se=fe.length;Ee<Se;Ee+=1)te(re,ae+1,fe[Ee],!0,!0)&&((!he||Ee!==0)&&(_e+=Ke(re,ae)),re.dump&&Y===re.dump.charCodeAt(0)?_e+="-":_e+="- ",_e+=re.dump);re.tag=Ce,re.dump=_e||"[]"}function He(re,ae,fe){var he="",_e=re.tag,Ce=Object.keys(fe),Ee,Se,Ae,Ie,Le;for(Ee=0,Se=Ce.length;Ee<Se;Ee+=1)Le="",Ee!==0&&(Le+=", "),re.condenseFlow&&(Le+='"'),Ae=Ce[Ee],Ie=fe[Ae],te(re,ae,Ae,!1,!1)&&(re.dump.length>1024&&(Le+="? "),Le+=re.dump+(re.condenseFlow?'"':"")+":"+(re.condenseFlow?"":" "),te(re,ae,Ie,!1,!1)&&(Le+=re.dump,he+=Le));re.tag=_e,re.dump="{"+he+"}"}function ct(re,ae,fe,he){var _e="",Ce=re.tag,Ee=Object.keys(fe),Se,Ae,Ie,Le,Ne,Ye;if(re.sortKeys===!0)Ee.sort();else if(typeof re.sortKeys=="function")Ee.sort(re.sortKeys);else if(re.sortKeys)throw new t("sortKeys must be a boolean or a function");for(Se=0,Ae=Ee.length;Se<Ae;Se+=1)Ye="",(!he||Se!==0)&&(Ye+=Ke(re,ae)),Ie=Ee[Se],Le=fe[Ie],te(re,ae+1,Ie,!0,!0,!0)&&(Ne=re.tag!==null&&re.tag!=="?"||re.dump&&re.dump.length>1024,Ne&&(re.dump&&Y===re.dump.charCodeAt(0)?Ye+="?":Ye+="? "),Ye+=re.dump,Ne&&(Ye+=Ke(re,ae)),te(re,ae+1,Le,!0,Ne)&&(re.dump&&Y===re.dump.charCodeAt(0)?Ye+=":":Ye+=": ",Ye+=re.dump,_e+=Ye));re.tag=Ce,re.dump=_e||"{}"}function dt(re,ae,fe){var he,_e,Ce,Ee,Se,Ae;for(_e=fe?re.explicitTypes:re.implicitTypes,Ce=0,Ee=_e.length;Ce<Ee;Ce+=1)if(Se=_e[Ce],(Se.instanceOf||Se.predicate)&&(!Se.instanceOf||typeof ae=="object"&&ae instanceof Se.instanceOf)&&(!Se.predicate||Se.predicate(ae))){if(re.tag=fe?Se.tag:"?",Se.represent){if(Ae=re.styleMap[Se.tag]||Se.defaultStyle,o.call(Se.represent)==="[object Function]")he=Se.represent(ae,Ae);else if(c.call(Se.represent,Ae))he=Se.represent[Ae](ae,Ae);else throw new t("!<"+Se.tag+'> tag resolver accepts not "'+Ae+'" style');re.dump=he}return!0}return!1}function te(re,ae,fe,he,_e,Ce){re.tag=null,re.dump=fe,dt(re,fe,!1)||dt(re,fe,!0);var Ee=o.call(re.dump);he&&(he=re.flowLevel<0||re.flowLevel>ae);var Se=Ee==="[object Object]"||Ee==="[object Array]",Ae,Ie;if(Se&&(Ae=re.duplicates.indexOf(fe),Ie=Ae!==-1),(re.tag!==null&&re.tag!=="?"||Ie||re.indent!==2&&ae>0)&&(_e=!1),Ie&&re.usedDuplicates[Ae])re.dump="*ref_"+Ae;else{if(Se&&Ie&&!re.usedDuplicates[Ae]&&(re.usedDuplicates[Ae]=!0),Ee==="[object Object]")he&&Object.keys(re.dump).length!==0?(ct(re,ae,re.dump,_e),Ie&&(re.dump="&ref_"+Ae+re.dump)):(He(re,ae,re.dump),Ie&&(re.dump="&ref_"+Ae+" "+re.dump));else if(Ee==="[object Array]"){var Le=re.noArrayIndent&&ae>0?ae-1:ae;he&&re.dump.length!==0?(nt(re,Le,re.dump,_e),Ie&&(re.dump="&ref_"+Ae+re.dump)):(ot(re,Le,re.dump),Ie&&(re.dump="&ref_"+Ae+" "+re.dump))}else if(Ee==="[object String]")re.tag!=="?"&&tt(re,re.dump,ae,Ce);else{if(re.skipInvalid)return!1;throw new t("unacceptable kind of an object to dump "+Ee)}re.tag!==null&&re.tag!=="?"&&(re.dump="!<"+re.tag+"> "+re.dump)}return!0}function ke(re,ae){var fe=[],he=[],_e,Ce;for(ie(re,fe,he),_e=0,Ce=he.length;_e<Ce;_e+=1)ae.duplicates.push(fe[he[_e]]);ae.usedDuplicates=new Array(Ce)}function ie(re,ae,fe){var he,_e,Ce;if(re!==null&&typeof re=="object")if(_e=ae.indexOf(re),_e!==-1)fe.indexOf(_e)===-1&&fe.push(_e);else if(ae.push(re),Array.isArray(re))for(_e=0,Ce=re.length;_e<Ce;_e+=1)ie(re[_e],ae,fe);else for(he=Object.keys(re),_e=0,Ce=he.length;_e<Ce;_e+=1)ie(re[he[_e]],ae,fe)}function ee(re,ae){ae=ae||{};var fe=new De(ae);return fe.noRefs||ke(re,fe),te(fe,0,re,!0,!0)?fe.dump+`
|
|
35
|
-
`:""}function ne(re,ae){return ee(re,e.extend({schema:r},ae))}return dumper.dump=ee,dumper.safeDump=ne,dumper}var hasRequiredJsYaml$1;function requireJsYaml$1(){if(hasRequiredJsYaml$1)return jsYaml$1;hasRequiredJsYaml$1=1;var e=requireLoader(),t=requireDumper();function n(r){return function(){throw new Error("Function "+r+" is deprecated and cannot be used.")}}return jsYaml$1.Type=requireType(),jsYaml$1.Schema=requireSchema(),jsYaml$1.FAILSAFE_SCHEMA=requireFailsafe(),jsYaml$1.JSON_SCHEMA=requireJson(),jsYaml$1.CORE_SCHEMA=requireCore(),jsYaml$1.DEFAULT_SAFE_SCHEMA=requireDefault_safe(),jsYaml$1.DEFAULT_FULL_SCHEMA=requireDefault_full(),jsYaml$1.load=e.load,jsYaml$1.loadAll=e.loadAll,jsYaml$1.safeLoad=e.safeLoad,jsYaml$1.safeLoadAll=e.safeLoadAll,jsYaml$1.dump=t.dump,jsYaml$1.safeDump=t.safeDump,jsYaml$1.YAMLException=requireException(),jsYaml$1.MINIMAL_SCHEMA=requireFailsafe(),jsYaml$1.SAFE_SCHEMA=requireDefault_safe(),jsYaml$1.DEFAULT_SCHEMA=requireDefault_full(),jsYaml$1.scan=n("scan"),jsYaml$1.parse=n("parse"),jsYaml$1.compose=n("compose"),jsYaml$1.addConstructor=n("addConstructor"),jsYaml$1}var jsYaml,hasRequiredJsYaml;function requireJsYaml(){if(hasRequiredJsYaml)return jsYaml;hasRequiredJsYaml=1;var e=requireJsYaml$1();return jsYaml=e,jsYaml}var hasRequiredEngines;function requireEngines(){return hasRequiredEngines||(hasRequiredEngines=1,(function(module,exports$1){const yaml=requireJsYaml(),engines=module.exports;engines.yaml={parse:yaml.safeLoad.bind(yaml),stringify:yaml.safeDump.bind(yaml)},engines.json={parse:JSON.parse.bind(JSON),stringify:function(e,t){const n=Object.assign({replacer:null,space:2},t);return JSON.stringify(e,n.replacer,n.space)}},engines.javascript={parse:function parse(str,options,wrap){try{return wrap!==!1&&(str=`(function() {
|
|
36
|
-
return `+str.trim()+`;
|
|
37
|
-
}());`),eval(str)||{}}catch(e){if(wrap!==!1&&/(unexpected|identifier)/i.test(e.message))return parse(str,options,!1);throw new SyntaxError(e)}},stringify:function(){throw new Error("stringifying JavaScript is not supported")}}})(engines)),engines.exports}var utils$1={};var stripBomString,hasRequiredStripBomString;function requireStripBomString(){return hasRequiredStripBomString||(hasRequiredStripBomString=1,stripBomString=function(e){return typeof e=="string"&&e.charAt(0)==="\uFEFF"?e.slice(1):e}),stripBomString}var hasRequiredUtils;function requireUtils(){return hasRequiredUtils||(hasRequiredUtils=1,(function(e){const t=requireStripBomString(),n=requireKindOf();e.define=function(r,o,c){Reflect.defineProperty(r,o,{enumerable:!1,configurable:!0,writable:!0,value:c})},e.isBuffer=function(r){return n(r)==="buffer"},e.isObject=function(r){return n(r)==="object"},e.toBuffer=function(r){return typeof r=="string"?bufferExports.Buffer.from(r):r},e.toString=function(r){if(e.isBuffer(r))return t(String(r));if(typeof r!="string")throw new TypeError("expected input to be a string or buffer");return t(r)},e.arrayify=function(r){return r?Array.isArray(r)?r:[r]:[]},e.startsWith=function(r,o,c){return typeof c!="number"&&(c=o.length),r.slice(0,c)===o}})(utils$1)),utils$1}var defaults,hasRequiredDefaults;function requireDefaults(){if(hasRequiredDefaults)return defaults;hasRequiredDefaults=1;const e=requireEngines(),t=requireUtils();return defaults=function(n){const r=Object.assign({},n);return r.delimiters=t.arrayify(r.delims||r.delimiters||"---"),r.delimiters.length===1&&r.delimiters.push(r.delimiters[0]),r.language=(r.language||r.lang||"yaml").toLowerCase(),r.engines=Object.assign({},e,r.parsers,r.engines),r},defaults}var engine,hasRequiredEngine;function requireEngine(){if(hasRequiredEngine)return engine;hasRequiredEngine=1,engine=function(t,n){let r=n.engines[t]||n.engines[e(t)];if(typeof r>"u")throw new Error('gray-matter engine "'+t+'" is not registered');return typeof r=="function"&&(r={parse:r}),r};function e(t){switch(t.toLowerCase()){case"js":case"javascript":return"javascript";case"coffee":case"coffeescript":case"cson":return"coffee";case"yaml":case"yml":return"yaml";default:return t}}return engine}var stringify$1,hasRequiredStringify;function requireStringify(){if(hasRequiredStringify)return stringify$1;hasRequiredStringify=1;const e=requireKindOf(),t=requireEngine(),n=requireDefaults();stringify$1=function(o,c,F){if(c==null&&F==null)switch(e(o)){case"object":c=o.data,F={};break;case"string":return o;default:throw new TypeError("expected file to be a string or object")}const Y=o.content,V=n(F);if(c==null){if(!V.data)return o;c=V.data}const Q=o.language||V.language,X=t(Q,V);if(typeof X.stringify!="function")throw new TypeError('expected "'+Q+'.stringify" to be a function');c=Object.assign({},o.data,c);const ue=V.delimiters[0],se=V.delimiters[1],oe=X.stringify(c,F).trim();let ce="";return oe!=="{}"&&(ce=r(ue)+r(oe)+r(se)),typeof o.excerpt=="string"&&o.excerpt!==""&&Y.indexOf(o.excerpt.trim())===-1&&(ce+=r(o.excerpt)+r(se)),ce+r(Y)};function r(o){return o.slice(-1)!==`
|
|
38
|
-
`?o+`
|
|
39
|
-
`:o}return stringify$1}var excerpt,hasRequiredExcerpt;function requireExcerpt(){if(hasRequiredExcerpt)return excerpt;hasRequiredExcerpt=1;const e=requireDefaults();return excerpt=function(t,n){const r=e(n);if(t.data==null&&(t.data={}),typeof r.excerpt=="function")return r.excerpt(t,r);const o=t.data.excerpt_separator||r.excerpt_separator;if(o==null&&(r.excerpt===!1||r.excerpt==null))return t;const c=typeof r.excerpt=="string"?r.excerpt:o||r.delimiters[0],F=t.content.indexOf(c);return F!==-1&&(t.excerpt=t.content.slice(0,F)),t},excerpt}var toFile,hasRequiredToFile;function requireToFile(){if(hasRequiredToFile)return toFile;hasRequiredToFile=1;const e=requireKindOf(),t=requireStringify(),n=requireUtils();return toFile=function(r){return e(r)!=="object"&&(r={content:r}),e(r.data)!=="object"&&(r.data={}),r.contents&&r.content==null&&(r.content=r.contents),n.define(r,"orig",n.toBuffer(r.content)),n.define(r,"language",r.language||""),n.define(r,"matter",r.matter||""),n.define(r,"stringify",function(o,c){return c&&c.language&&(r.language=c.language),t(r,o,c)}),r.content=n.toString(r.content),r.isEmpty=!1,r.excerpt="",r},toFile}var parse$1,hasRequiredParse;function requireParse(){if(hasRequiredParse)return parse$1;hasRequiredParse=1;const e=requireEngine(),t=requireDefaults();return parse$1=function(n,r,o){const c=t(o),F=e(n,c);if(typeof F.parse!="function")throw new TypeError('expected "'+n+'.parse" to be a function');return F.parse(r,c)},parse$1}var grayMatter$1,hasRequiredGrayMatter;function requireGrayMatter(){if(hasRequiredGrayMatter)return grayMatter$1;hasRequiredGrayMatter=1;const e=require$$0,t=requireSectionMatter(),n=requireDefaults(),r=requireStringify(),o=requireExcerpt(),c=requireEngines(),F=requireToFile(),Y=requireParse(),V=requireUtils();function Q(ue,se){if(ue==="")return{data:{},content:ue,excerpt:"",orig:ue};let oe=F(ue);const ce=Q.cache[oe.content];if(!se){if(ce)return oe=Object.assign({},ce),oe.orig=ce.orig,oe;Q.cache[oe.content]=oe}return X(oe,se)}function X(ue,se){const oe=n(se),ce=oe.delimiters[0],le=`
|
|
40
|
-
`+oe.delimiters[1];let de=ue.content;oe.language&&(ue.language=oe.language);const pe=ce.length;if(!V.startsWith(de,ce,pe))return o(ue,oe),ue;if(de.charAt(pe)===ce.slice(-1))return ue;de=de.slice(pe);const be=de.length,ge=Q.language(de,oe);ge.name&&(ue.language=ge.name,de=de.slice(ge.raw.length));let ye=de.indexOf(le);return ye===-1&&(ye=be),ue.matter=de.slice(0,ye),ue.matter.replace(/^\s*#[^\n]+/gm,"").trim()===""?(ue.isEmpty=!0,ue.empty=ue.content,ue.data={}):ue.data=Y(ue.language,ue.matter,oe),ye===be?ue.content="":(ue.content=de.slice(ye+le.length),ue.content[0]==="\r"&&(ue.content=ue.content.slice(1)),ue.content[0]===`
|
|
41
|
-
`&&(ue.content=ue.content.slice(1))),o(ue,oe),(oe.sections===!0||typeof oe.section=="function")&&t(ue,oe.section),ue}return Q.engines=c,Q.stringify=function(ue,se,oe){return typeof ue=="string"&&(ue=Q(ue,oe)),r(ue,se,oe)},Q.read=function(ue,se){const oe=e.readFileSync(ue,"utf8"),ce=Q(oe,se);return ce.path=ue,ce},Q.test=function(ue,se){return V.startsWith(ue,n(se).delimiters[0])},Q.language=function(ue,se){const ce=n(se).delimiters[0];Q.test(ue)&&(ue=ue.slice(ce.length));const le=ue.slice(0,ue.search(/\r?\n/));return{raw:le,name:le?le.trim():""}},Q.cache={},Q.clearCache=function(){Q.cache={}},grayMatter$1=Q,grayMatter$1}var grayMatterExports=requireGrayMatter();const grayMatter=getDefaultExportFromCjs(grayMatterExports),frontmatterPlugin=(e,{grayMatterOptions:t,renderExcerpt:n=!0}={})=>{const r=e.parse.bind(e);e.parse=(o,c={})=>{const{data:F,content:Y,excerpt:V=""}=grayMatter(o,t);return c.content=Y,c.frontmatter={...c.frontmatter,...F},c.excerpt=n&&V?e.render(V,{...c}):V,r(Y,c)}},TAG_NAME_SCRIPT="script",TAG_NAME_STYLE="style",TAG_NAME_TEMPLATE="template",SCRIPT_SETUP_TAG_OPEN_REGEXP=/^<script\s+.*?\bsetup\b.*?>$/is,createSfcRegexp=({customBlocks:e})=>{const t=Array.from(new Set([TAG_NAME_SCRIPT,TAG_NAME_STYLE,...e])).join("|");return new RegExp(`^\\s*(?<content>(?<tagOpen><(?<type>${t})\\s?.*?>)(?<contentStripped>.*)(?<tagClose><\\/\\k<type>\\s*>))\\s*$`,"is")},sfcPlugin=(e,{customBlocks:t=[]}={})=>{const n=createSfcRegexp({customBlocks:t}),r=e.render.bind(e);e.render=(c,F={})=>{F.sfcBlocks={template:null,script:null,scriptSetup:null,scripts:[],styles:[],customBlocks:[]};const Y=r(c,F);return F.sfcBlocks.template={type:TAG_NAME_TEMPLATE,content:`<${TAG_NAME_TEMPLATE}>${Y}</${TAG_NAME_TEMPLATE}>`,contentStripped:Y,tagOpen:`<${TAG_NAME_TEMPLATE}>`,tagClose:`</${TAG_NAME_TEMPLATE}>`},Y};const o=e.renderer.rules.html_block;e.renderer.rules.html_block=(c,F,Y,V,Q)=>{if(!V.sfcBlocks)return o(c,F,Y,V,Q);const se=c[F].content.match(n);if(!se)return o(c,F,Y,V,Q);const oe=se.groups;return oe.type===TAG_NAME_SCRIPT?(V.sfcBlocks.scripts.push(oe),SCRIPT_SETUP_TAG_OPEN_REGEXP.test(oe.tagOpen)?V.sfcBlocks.scriptSetup=oe:V.sfcBlocks.script=oe):oe.type===TAG_NAME_STYLE?V.sfcBlocks.styles.push(oe):V.sfcBlocks.customBlocks.push(oe),""}},htmlEscapeMap={"&":"&","<":"<",">":">","'":"'",'"':"""},htmlEscapeRegexp=/[&<>'"]/g,htmlEscape=e=>e.replace(htmlEscapeRegexp,t=>htmlEscapeMap[t]),resolveTitleFromToken=(e,{shouldAllowHtml:t,shouldEscapeText:n})=>{const r=e.children??[],o=["text","emoji","code_inline"];return o.push("html_inline"),r.filter(F=>o.includes(F.type)&&!F.meta?.isPermalinkSymbol).reduce((F,Y)=>Y.type==="code_inline"||Y.type==="text"?`${F}${htmlEscape(Y.content)}`:`${F}${Y.content}`,"").trim()},resolveHeadersFromTokens=(e,{level:t,shouldAllowHtml:n,shouldAllowNested:r,shouldEscapeText:o,slugify:c,format:F})=>{const Y=[],V=[],Q=X=>{for(;V.length!==0&&X.level<=V[0].level;)V.shift();V.length===0?(Y.push(X),V.push(X)):(V[0].children.push(X),V.unshift(X))};for(let X=0;X<e.length;X+=1){const ue=e[X];if(ue.type!=="heading_open"||ue.level!==0&&!r)continue;const se=Number.parseInt(ue.tag.slice(1),10);if(!t.includes(se))continue;const oe=e[X+1];if(!oe)continue;const ce=resolveTitleFromToken(oe,{shouldAllowHtml:n,shouldEscapeText:o}),le=ue.attrGet("id")??c(ce);Q({level:se,title:F?.(ce)??ce,slug:le,link:`#${le}`,children:[]})}return Y},rControl=/[\u0000-\u001f]/g,rSpecial=/[\s~`!@#$%^&*()\-_+=[\]{}|\\;:"'“”‘’<>,.?/]+/g,rCombining=/[\u0300-\u036F]/g,slugify=e=>e.normalize("NFKD").replace(rCombining,"").replace(rControl,"").replace(rSpecial,"-").replace(/-{2,}/g,"-").replace(/^-+|-+$/g,"").replace(/^(\d)/,"_$1").toLowerCase(),createRenderHeaders=({listTag:e,listClass:t,itemClass:n,linkTag:r,linkClass:o})=>{const c=htmlEscape(e),F=t?` class="${htmlEscape(t)}"`:"",Y="li",V=n?` class="${htmlEscape(n)}"`:"",Q=htmlEscape(r),X=o?` class="${htmlEscape(o)}"`:"",ue=oe=>r==="router-link"?` to="${oe}"`:` href="${oe}"`,se=oe=>`<${c}${F}>${oe.map(ce=>`<${Y}${V}><${Q}${X}${ue(ce.link)}>${ce.title}</${Q}>${ce.children.length>0?se(ce.children):""}</${Y}>`).join("")}</${c}>`;return se},createTocBlockRule=({pattern:e,containerTag:t,containerClass:n})=>(r,o,c,F)=>{if(r.sCount[o]-r.blkIndent>=4)return!1;const Y=r.bMarks[o]+r.tShift[o],V=r.eMarks[o],Q=r.src.slice(Y,V).split(" ")[0];if(!e.test(Q))return!1;if(F)return!0;r.line=o+1;const X=r.push("toc_open",t,1);X.markup="",X.map=[o,r.line],n&&X.attrSet("class",n);const ue=r.push("toc_body","",0);ue.markup=Q,ue.map=[o,r.line],ue.hidden=!0;const se=r.push("toc_close",t,-1);return se.markup="",ue.map=[o,r.line],!0},tocPlugin=(e,{pattern:t=/^\[\[toc\]\]$/i,slugify:n=slugify,format:r,level:o=[2,3],shouldAllowNested:c=!1,containerTag:F="nav",containerClass:Y="table-of-contents",listTag:V="ul",listClass:Q="",itemClass:X="",linkTag:ue="a",linkClass:se=""}={})=>{e.block.ruler.before("heading","toc",createTocBlockRule({pattern:t,containerTag:F,containerClass:Y}),{alt:["paragraph","reference","blockquote"]});const oe=createRenderHeaders({listTag:V,listClass:Q,itemClass:X,linkTag:ue,linkClass:se});e.renderer.rules.toc_body=ce=>oe(resolveHeadersFromTokens(ce,{level:o,shouldAllowHtml:!0,shouldAllowNested:c,shouldEscapeText:!0,slugify:n,format:r}))},j$1=e=>{const{arrayReplaceAt:t,escapeRE:n,lib:r}=e.utils,o=" \r\n$+<=>^`|~",c=r.ucmicro.P.source,F=r.ucmicro.Z.source,Y=`${c}|${F}|[${o.split("").map(n).join("")}]`,V=(X,ue,se,oe)=>{let ce=-1,le=X.bMarks[ue]+X.tShift[ue];const de=X.eMarks[ue];if(le+2>=de||X.src.charCodeAt(le++)!==42||X.src.charCodeAt(le++)!==91)return!1;const pe=le;for(;le<de;){const xe=X.src.charCodeAt(le);if(xe===91)return!1;if(xe===93){ce=le;break}xe===92&&le++,le++}if(ce<0||X.src.charCodeAt(ce+1)!==58)return!1;if(oe)return!0;const be=X.src.slice(pe,ce).replace(/\\(.)/g,"$1");le=ce+2;const ge=X.skipSpaces(le),ye=X.skipSpacesBack(de,ge),me=X.src.slice(ge,ye);return!be.length||!me.length?!1:((X.env.abbreviations??={})["_"+be]??=me,X.line=ue+1,!0)},Q=X=>{const ue=X.tokens,{abbreviations:se}=X.env;if(!se)return;const oe=Object.keys(se).map(de=>de.slice(1)).sort((de,pe)=>pe.length-de.length).map(n).join("|"),ce=new RegExp(`(?:${oe})`),le=new RegExp(`(^|${Y})(${oe})($|${Y})`,"g");for(const de of ue){if(de.type!=="inline")continue;let pe=de.children;for(let be=pe.length-1;be>=0;be--){const ge=pe[be];if(ge.type!=="text")continue;const ye=ge.content;if(le.lastIndex=0,!ce.test(ye))continue;const me=[];let xe,Fe=0;for(;xe=le.exec(ye);){const[,we,Te,Be]=xe;if(xe.index>0||we.length>0){const $e=new X.Token("text","",0);$e.content=ye.slice(Fe,xe.index+we.length),me.push($e)}const Oe=new X.Token("abbr_open","abbr",1);Oe.attrPush(["title",se[`_${Te}`]]),me.push(Oe);const ve=new X.Token("text","",0);ve.content=Te,me.push(ve);const Me=new X.Token("abbr_close","abbr",-1);me.push(Me),le.lastIndex-=Be.length,Fe=le.lastIndex}if(me.length){if(Fe<ye.length){const we=new X.Token("text","",0);we.content=ye.slice(Fe),me.push(we)}de.children=pe=t(pe,be,me)}}}};e.block.ruler.before("reference","abbr_definition",V,{alt:["paragraph","reference"]}),e.core.ruler.after("linkify","abbr_replace",Q)},O$2=(e,t)=>(n,r,o,c)=>{if(n.sCount[r]-n.blkIndent>=4||n.level!==0&&!t)return!1;const F=n.bMarks[r]+n.tShift[r],Y=n.eMarks[r];if(n.src.charCodeAt(F)!==62)return!1;let V=F+1,Q=n.sCount[r]+1,X=!1;n.src.charCodeAt(V)===32?(V++,Q++):n.src.charCodeAt(V)===9&&((n.bsCount[r]+Q)%4===3?(V++,Q++):X=!0);let ue=Q;for(;V<Y;){const Me=n.src.charCodeAt(V);if(Me===9)ue+=4-(ue+n.bsCount[r]+(X?1:0))%4;else if(Me===32)ue++;else break;V++}if(ue-Q>=4||Y-V<4||n.src.charCodeAt(V)!==91||n.src.charCodeAt(V+1)!==33)return!1;V+=2;let se="";for(;V<Y;){const Me=n.src.charAt(V);if(Me==="]")break;se+=Me,V++}if(V===Y)return!1;const oe=se.toLowerCase();if(!e.has(oe)||(V=n.skipSpaces(V+1),V<Y))return!1;const ce=[],le=[],de=[],pe=[],be=n.lineMax,ge=n.parentType,ye=[n.md.block.ruler.getRules("blockquote"),n.md.block.ruler.getRules("alert")].flat();n.parentType="alert";let me=r;for(;me<o;me++){const Me=n.sCount[me]<n.blkIndent;let $e=n.bMarks[me]+n.tShift[me];const Pe=n.eMarks[me];if($e>=Pe)break;let Je=!1;if(n.src.charCodeAt($e++)===62&&!Me){let De=n.sCount[me]+1,Ue=!1,Ke=!1;n.src.charCodeAt($e)===32?($e++,De++,Ue=!0):n.src.charCodeAt($e)===9&&(Ue=!0,(n.bsCount[me]+De)%4===3?($e++,De++):Ke=!0);let Re=De;for(c||(ce.push(n.bMarks[me]),n.bMarks[me]=$e);$e<Pe;){const je=n.src.charCodeAt($e);if(je===9)Re+=4-(Re+n.bsCount[me]+(Ke?1:0))%4;else if(je===32)Re++;else break;$e++}Je=$e>=Pe,c||(le.push(n.bsCount[me]),n.bsCount[me]=n.sCount[me]+1+(Ue?1:0),de.push(n.sCount[me]),n.sCount[me]=Re-De,pe.push(n.tShift[me]),n.tShift[me]=$e-n.bMarks[me]);continue}if(Je)break;let Ge=!1;for(const De of ye)if(De(n,me,o,!0)){Ge=!0;break}if(Ge){n.lineMax=me,n.blkIndent!==0&&!c&&(ce.push(n.bMarks[me]),le.push(n.bsCount[me]),de.push(n.sCount[me]),pe.push(n.tShift[me]),n.sCount[me]-=n.blkIndent);break}c||(ce.push(n.bMarks[me]),le.push(n.bsCount[me]),de.push(n.sCount[me]),pe.push(n.tShift[me]),n.sCount[me]=-1)}const xe=()=>{n.lineMax=be,n.parentType=ge;for(let Me=0;Me<pe.length;Me++)n.bMarks[Me+r]=ce[Me],n.tShift[Me+r]=pe[Me],n.sCount[Me+r]=de[Me],n.bsCount[Me+r]=le[Me]};if(r+1>=me)return c||xe(),!1;if(c)return!0;const Fe=n.blkIndent;n.blkIndent=0;const we=[r,r+1],Te=[r+1,0],Be=n.push("alert_open","div",1);Be.markup=oe,Be.attrJoin("class",`markdown-alert markdown-alert-${oe}`),Be.map=Te;const Oe=n.push("alert_title","",0);Oe.attrJoin("class","markdown-alert-title"),Oe.markup=oe,Oe.content=se,Oe.map=we,n.md.block.tokenize(n,r+1,me);const ve=n.push("alert_close","div",-1);return ve.markup=oe,Te[1]=n.line,n.blkIndent=Fe,xe(),!0},P$2=(e,{alertNames:t=["tip","warning","caution","important","note"],deep:n=!1,openRender:r,closeRender:o,titleRender:c}={})=>{e.block.ruler.before("blockquote","alert",O$2(new Set(t.map(F=>F.toLowerCase())),n),{alt:["paragraph","reference","blockquote","list"]}),r&&(e.renderer.rules.alert_open=r),o&&(e.renderer.rules.alert_close=o),e.renderer.rules.alert_title=c??((F,Y)=>{const V=F[Y];return`<p class="markdown-alert-title">${V.content[0].toUpperCase()+V.content.slice(1).toLowerCase()}</p>
|
|
42
|
-
`})},R$3=(e,t)=>{if(typeof t!="object"||!t.name)throw new Error("[@mdit/plugin-container]: 'name' option is required.");const{name:n,marker:r=":",validate:o=X=>X.trim().split(" ",2)[0]===n,openRender:c=(X,ue,se,oe,ce)=>(X[ue].attrJoin("class",n),ce.renderToken(X,ue,se)),closeRender:F=(X,ue,se,oe,ce)=>ce.renderToken(X,ue,se)}=t,Y=r[0],V=r.length,Q=(X,ue,se,oe)=>{const ce=X.bMarks[ue]+X.tShift[ue],le=X.eMarks[ue],de=X.sCount[ue];if(Y!==X.src[ce])return!1;let pe=ce+1;for(;pe<=le&&r[(pe-ce)%V]===X.src[pe];)pe++;const be=Math.floor((pe-ce)/V);if(be<3)return!1;pe-=(pe-ce)%V;const ge=r.repeat(be),ye=X.src.slice(pe,le);if(!o(ye,ge))return!1;if(oe)return!0;let me=ue+1,xe=!1;for(;me<se;me++){const ve=X.bMarks[me]+X.tShift[me],Me=X.eMarks[me];if(ve<Me&&X.sCount[me]<de)break;if(X.sCount[me]===de&&Y===X.src[ve]){for(pe=ve+1;pe<=Me&&r[(pe-ve)%V]===X.src[pe];pe++);if(Math.floor((pe-ve)/V)>=be&&(pe-=(pe-ve)%V,pe=X.skipSpaces(pe),pe>=Me)){xe=!0;break}}}const Fe=X.parentType,we=X.lineMax,Te=X.blkIndent;X.parentType="container",X.lineMax=me,X.blkIndent=de;const Be=X.push(`container_${n}_open`,"div",1);Be.markup=ge,Be.block=!0,Be.info=ye,Be.map=[ue,me],X.md.block.tokenize(X,ue+1,me);const Oe=X.push(`container_${n}_close`,"div",-1);return Oe.markup=ge,Oe.block=!0,X.parentType=Fe,X.lineMax=we,X.blkIndent=Te,X.line=me+(xe?1:0),!0};e.block.ruler.before("fence",`container_${n}`,Q,{alt:["paragraph","reference","blockquote","list"]}),e.renderer.rules[`container_${n}_open`]=c,e.renderer.rules[`container_${n}_close`]=F},i$4=e=>{["left","center","right","justify"].forEach(t=>e.use(n=>R$3(n,{name:t,openRender:()=>`<div style="text-align:${t}">
|
|
43
|
-
`})))},decodeCache={};function getDecodeCache(e){let t=decodeCache[e];if(t)return t;t=decodeCache[e]=[];for(let n=0;n<128;n++){const r=String.fromCharCode(n);t.push(r)}for(let n=0;n<e.length;n++){const r=e.charCodeAt(n);t[r]="%"+("0"+r.toString(16).toUpperCase()).slice(-2)}return t}function decode$1(e,t){typeof t!="string"&&(t=decode$1.defaultChars);const n=getDecodeCache(t);return e.replace(/(%[a-f0-9]{2})+/gi,function(r){let o="";for(let c=0,F=r.length;c<F;c+=3){const Y=parseInt(r.slice(c+1,c+3),16);if(Y<128){o+=n[Y];continue}if((Y&224)===192&&c+3<F){const V=parseInt(r.slice(c+4,c+6),16);if((V&192)===128){const Q=Y<<6&1984|V&63;Q<128?o+="��":o+=String.fromCharCode(Q),c+=3;continue}}if((Y&240)===224&&c+6<F){const V=parseInt(r.slice(c+4,c+6),16),Q=parseInt(r.slice(c+7,c+9),16);if((V&192)===128&&(Q&192)===128){const X=Y<<12&61440|V<<6&4032|Q&63;X<2048||X>=55296&&X<=57343?o+="���":o+=String.fromCharCode(X),c+=6;continue}}if((Y&248)===240&&c+9<F){const V=parseInt(r.slice(c+4,c+6),16),Q=parseInt(r.slice(c+7,c+9),16),X=parseInt(r.slice(c+10,c+12),16);if((V&192)===128&&(Q&192)===128&&(X&192)===128){let ue=Y<<18&1835008|V<<12&258048|Q<<6&4032|X&63;ue<65536||ue>1114111?o+="����":(ue-=65536,o+=String.fromCharCode(55296+(ue>>10),56320+(ue&1023))),c+=9;continue}}o+="�"}return o})}decode$1.defaultChars=";/?:@&=+$,#";decode$1.componentChars="";const encodeCache={};function getEncodeCache(e){let t=encodeCache[e];if(t)return t;t=encodeCache[e]=[];for(let n=0;n<128;n++){const r=String.fromCharCode(n);/^[0-9a-z]$/i.test(r)?t.push(r):t.push("%"+("0"+n.toString(16).toUpperCase()).slice(-2))}for(let n=0;n<e.length;n++)t[e.charCodeAt(n)]=e[n];return t}function encode$1(e,t,n){typeof t!="string"&&(n=t,t=encode$1.defaultChars),typeof n>"u"&&(n=!0);const r=getEncodeCache(t);let o="";for(let c=0,F=e.length;c<F;c++){const Y=e.charCodeAt(c);if(n&&Y===37&&c+2<F&&/^[0-9a-f]{2}$/i.test(e.slice(c+1,c+3))){o+=e.slice(c,c+3),c+=2;continue}if(Y<128){o+=r[Y];continue}if(Y>=55296&&Y<=57343){if(Y>=55296&&Y<=56319&&c+1<F){const V=e.charCodeAt(c+1);if(V>=56320&&V<=57343){o+=encodeURIComponent(e[c]+e[c+1]),c++;continue}}o+="%EF%BF%BD";continue}o+=encodeURIComponent(e[c])}return o}encode$1.defaultChars=";/?:@&=+$,-_.!~*'()#";encode$1.componentChars="-_.!~*'()";function format(e){let t="";return t+=e.protocol||"",t+=e.slashes?"//":"",t+=e.auth?e.auth+"@":"",e.hostname&&e.hostname.indexOf(":")!==-1?t+="["+e.hostname+"]":t+=e.hostname||"",t+=e.port?":"+e.port:"",t+=e.pathname||"",t+=e.search||"",t+=e.hash||"",t}function Url(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}const protocolPattern=/^([a-z0-9.+-]+:)/i,portPattern=/:[0-9]*$/,simplePathPattern=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,delims=["<",">",'"',"`"," ","\r",`
|
|
44
|
-
`," "],unwise=["{","}","|","\\","^","`"].concat(delims),autoEscape=["'"].concat(unwise),nonHostChars=["%","/","?",";","#"].concat(autoEscape),hostEndingChars=["/","?","#"],hostnameMaxLen=255,hostnamePartPattern=/^[+a-z0-9A-Z_-]{0,63}$/,hostnamePartStart=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,hostlessProtocol={javascript:!0,"javascript:":!0},slashedProtocol={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function urlParse(e,t){if(e&&e instanceof Url)return e;const n=new Url;return n.parse(e,t),n}Url.prototype.parse=function(e,t){let n,r,o,c=e;if(c=c.trim(),!t&&e.split("#").length===1){const Q=simplePathPattern.exec(c);if(Q)return this.pathname=Q[1],Q[2]&&(this.search=Q[2]),this}let F=protocolPattern.exec(c);if(F&&(F=F[0],n=F.toLowerCase(),this.protocol=F,c=c.substr(F.length)),(t||F||c.match(/^\/\/[^@\/]+@[^@\/]+/))&&(o=c.substr(0,2)==="//",o&&!(F&&hostlessProtocol[F])&&(c=c.substr(2),this.slashes=!0)),!hostlessProtocol[F]&&(o||F&&!slashedProtocol[F])){let Q=-1;for(let ce=0;ce<hostEndingChars.length;ce++)r=c.indexOf(hostEndingChars[ce]),r!==-1&&(Q===-1||r<Q)&&(Q=r);let X,ue;Q===-1?ue=c.lastIndexOf("@"):ue=c.lastIndexOf("@",Q),ue!==-1&&(X=c.slice(0,ue),c=c.slice(ue+1),this.auth=X),Q=-1;for(let ce=0;ce<nonHostChars.length;ce++)r=c.indexOf(nonHostChars[ce]),r!==-1&&(Q===-1||r<Q)&&(Q=r);Q===-1&&(Q=c.length),c[Q-1]===":"&&Q--;const se=c.slice(0,Q);c=c.slice(Q),this.parseHost(se),this.hostname=this.hostname||"";const oe=this.hostname[0]==="["&&this.hostname[this.hostname.length-1]==="]";if(!oe){const ce=this.hostname.split(/\./);for(let le=0,de=ce.length;le<de;le++){const pe=ce[le];if(pe&&!pe.match(hostnamePartPattern)){let be="";for(let ge=0,ye=pe.length;ge<ye;ge++)pe.charCodeAt(ge)>127?be+="x":be+=pe[ge];if(!be.match(hostnamePartPattern)){const ge=ce.slice(0,le),ye=ce.slice(le+1),me=pe.match(hostnamePartStart);me&&(ge.push(me[1]),ye.unshift(me[2])),ye.length&&(c=ye.join(".")+c),this.hostname=ge.join(".");break}}}}this.hostname.length>hostnameMaxLen&&(this.hostname=""),oe&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}const Y=c.indexOf("#");Y!==-1&&(this.hash=c.substr(Y),c=c.slice(0,Y));const V=c.indexOf("?");return V!==-1&&(this.search=c.substr(V),c=c.slice(0,V)),c&&(this.pathname=c),slashedProtocol[n]&&this.hostname&&!this.pathname&&(this.pathname=""),this};Url.prototype.parseHost=function(e){let t=portPattern.exec(e);t&&(t=t[0],t!==":"&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)};const mdurl=Object.freeze(Object.defineProperty({__proto__:null,decode:decode$1,encode:encode$1,format,parse:urlParse},Symbol.toStringTag,{value:"Module"})),Any=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,Cc=/[\0-\x1F\x7F-\x9F]/,regex$1=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u0890\u0891\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD80D[\uDC30-\uDC3F]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/,P$1=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061D-\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1B7D\u1B7E\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52-\u2E5D\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDEAD\uDF55-\uDF59\uDF86-\uDF89]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5A\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDEB9\uDF3C-\uDF3E]|\uD806[\uDC3B\uDD44-\uDD46\uDDE2\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2\uDF00-\uDF09]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8\uDF43-\uDF4F\uDFFF]|\uD809[\uDC70-\uDC74]|\uD80B[\uDFF1\uDFF2]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A\uDFE2]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/,regex=/[\$\+<->\^`\|~\xA2-\xA6\xA8\xA9\xAC\xAE-\xB1\xB4\xB8\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0384\u0385\u03F6\u0482\u058D-\u058F\u0606-\u0608\u060B\u060E\u060F\u06DE\u06E9\u06FD\u06FE\u07F6\u07FE\u07FF\u0888\u09F2\u09F3\u09FA\u09FB\u0AF1\u0B70\u0BF3-\u0BFA\u0C7F\u0D4F\u0D79\u0E3F\u0F01-\u0F03\u0F13\u0F15-\u0F17\u0F1A-\u0F1F\u0F34\u0F36\u0F38\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE\u0FCF\u0FD5-\u0FD8\u109E\u109F\u1390-\u1399\u166D\u17DB\u1940\u19DE-\u19FF\u1B61-\u1B6A\u1B74-\u1B7C\u1FBD\u1FBF-\u1FC1\u1FCD-\u1FCF\u1FDD-\u1FDF\u1FED-\u1FEF\u1FFD\u1FFE\u2044\u2052\u207A-\u207C\u208A-\u208C\u20A0-\u20C0\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F\u218A\u218B\u2190-\u2307\u230C-\u2328\u232B-\u2426\u2440-\u244A\u249C-\u24E9\u2500-\u2767\u2794-\u27C4\u27C7-\u27E5\u27F0-\u2982\u2999-\u29D7\u29DC-\u29FB\u29FE-\u2B73\u2B76-\u2B95\u2B97-\u2BFF\u2CE5-\u2CEA\u2E50\u2E51\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFF\u3004\u3012\u3013\u3020\u3036\u3037\u303E\u303F\u309B\u309C\u3190\u3191\u3196-\u319F\u31C0-\u31E3\u31EF\u3200-\u321E\u322A-\u3247\u3250\u3260-\u327F\u328A-\u32B0\u32C0-\u33FF\u4DC0-\u4DFF\uA490-\uA4C6\uA700-\uA716\uA720\uA721\uA789\uA78A\uA828-\uA82B\uA836-\uA839\uAA77-\uAA79\uAB5B\uAB6A\uAB6B\uFB29\uFBB2-\uFBC2\uFD40-\uFD4F\uFDCF\uFDFC-\uFDFF\uFE62\uFE64-\uFE66\uFE69\uFF04\uFF0B\uFF1C-\uFF1E\uFF3E\uFF40\uFF5C\uFF5E\uFFE0-\uFFE6\uFFE8-\uFFEE\uFFFC\uFFFD]|\uD800[\uDD37-\uDD3F\uDD79-\uDD89\uDD8C-\uDD8E\uDD90-\uDD9C\uDDA0\uDDD0-\uDDFC]|\uD802[\uDC77\uDC78\uDEC8]|\uD805\uDF3F|\uD807[\uDFD5-\uDFF1]|\uD81A[\uDF3C-\uDF3F\uDF45]|\uD82F\uDC9C|\uD833[\uDF50-\uDFC3]|\uD834[\uDC00-\uDCF5\uDD00-\uDD26\uDD29-\uDD64\uDD6A-\uDD6C\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDDEA\uDE00-\uDE41\uDE45\uDF00-\uDF56]|\uD835[\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85\uDE86]|\uD838[\uDD4F\uDEFF]|\uD83B[\uDCAC\uDCB0\uDD2E\uDEF0\uDEF1]|\uD83C[\uDC00-\uDC2B\uDC30-\uDC93\uDCA0-\uDCAE\uDCB1-\uDCBF\uDCC1-\uDCCF\uDCD1-\uDCF5\uDD0D-\uDDAD\uDDE6-\uDE02\uDE10-\uDE3B\uDE40-\uDE48\uDE50\uDE51\uDE60-\uDE65\uDF00-\uDFFF]|\uD83D[\uDC00-\uDED7\uDEDC-\uDEEC\uDEF0-\uDEFC\uDF00-\uDF76\uDF7B-\uDFD9\uDFE0-\uDFEB\uDFF0]|\uD83E[\uDC00-\uDC0B\uDC10-\uDC47\uDC50-\uDC59\uDC60-\uDC87\uDC90-\uDCAD\uDCB0\uDCB1\uDD00-\uDE53\uDE60-\uDE6D\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC5\uDECE-\uDEDB\uDEE0-\uDEE8\uDEF0-\uDEF8\uDF00-\uDF92\uDF94-\uDFCA]/,Z=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,ucmicro=Object.freeze(Object.defineProperty({__proto__:null,Any,Cc,Cf:regex$1,P:P$1,S:regex,Z},Symbol.toStringTag,{value:"Module"})),htmlDecodeTree=new Uint16Array('ᵁ<Õıʊҝջאٵ۞ޢߖࠏઑඡ༉༦ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲϏϢϸontourIntegraìȹoɴ\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲy;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱còJTabcdfgorstרׯؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ߂ߐĀiyޱrc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣসে্ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४ĀnrࢃgleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpwਖਛgȀLRlr৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼અઋp;椅y;䐜Ādl੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑඞcy;䐊cute;䅃ƀaeyહાron;䅇dil;䅅;䐝ƀgswે૰ativeƀMTV૨ediumSpace;怋hiĀcn૦ëeryThiîtedĀGLଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷreak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪௫ఄ಄ದൡඅ櫬Āoungruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater;EFGLSTஶஷ扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨setĀ;Eೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂෛ෧ขภยา฿ไlig;䅒cute耻Ó䃓Āiyීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲcr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬืde耻Õ䃕es;樷ml耻Ö䃖erĀBP๋Āar๐๓r;怾acĀek๚;揞et;掴arenthesis;揜ҀacfhilorsງຊຏຒດຝະrtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ檻cedesȀ;EST່້扺qual;檯lantEqual;扼ilde;找me;怳Ādpuct;戏ortionĀ;aȥl;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL憒ar;懥eftArrow;懄eiling;按oǵ\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄቕቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHcቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗ĀeiቻDzኀ\0ኇefore;戴a;䎘ĀcnኘkSpace;쀀 Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtèa;䎖r;愨pf;愤cr;쀀𝒵ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒;Eaeiopᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;eᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;eᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰᝃᝈ០៦ᠹᡐᜍ᥈ᥰot;櫭ĀcrᛶkȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;tbrk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯᝳ;䎲;愶een;扬r;쀀𝔟gcostuvwឍឝឳេ៕៛ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀakoᠦᠵĀcn៲ᠣkƀlst֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ;敛;敘;攘;攔;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģbar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;elƀ;bhᥨᥩᥫ䁜;槅sub;柈ŬᥴlĀ;e怢t»pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭒\0᯽\0ᰌƀcprᦲute;䄇̀;abcdsᦿᧀᧄ᧕᧙戩nd;橄rcup;橉Āau᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r;Ecefms᩠ᩢᩫ᪤᪪旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ\0\0aĀ;t䀬;䁀ƀ;fl戁îᅠeĀmxent»eóɍǧ\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯delprvw᭠᭬᭷ᮂᮬᯔarrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;pᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰻᰿ᱝᱩᱵᲞᲬᲷᴍᵻᶑᶫᶻ᷆᷍ròar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂᳖᳜᳠mƀ;oș᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄĀDoḆᴴoôĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»ṺƀaeiἒἚls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧\0耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₥₰₴⃰℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽ƀ;qsؾٌlanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqrⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0proør;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼ròòΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonóquigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roøurĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨íistĀ;sடr;쀀𝔫ȀEest⩦⩹⩼ƀ;qs⩭ƀ;qs⩴lanôií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast⭕⭚⭟lleìl;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖchimpqu⮽⯍⯙⬄⯤⯯Ȁ;cerല⯆ഷ⯉uå;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭ååഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñĀ;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;cⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācrir;榿;쀀𝔬ͯ\0\0\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕⶥⶨrò᪀Āirⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔǒr;榷rp;榹;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ\0\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ脀¶;l䂶leìЃɩ\0\0m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳ᤈ⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t⾴ïrel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⋢⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔ABHabcdefhilmnoprstuxけさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstwガクシスゼゾダッデナp;極Ā;fゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ìâヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘rrowĀ;tㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowóarpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓ròaòՑ;怏oustĀ;a㈞掱che»mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì耻䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;qኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫwar;椪lig耻ß䃟㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rëƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproøim»ኬsðኞĀas㚺㚮ðrn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈadempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xôheadĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roðtré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜtré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'.split("").map(e=>e.charCodeAt(0))),xmlDecodeTree=new Uint16Array("Ȁaglq \x1Bɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map(e=>e.charCodeAt(0)));var _a;const decodeMap=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),fromCodePoint$1=(_a=String.fromCodePoint)!==null&&_a!==void 0?_a:function(e){let t="";return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|e&1023),t+=String.fromCharCode(e),t};function replaceCodePoint(e){var t;return e>=55296&&e<=57343||e>1114111?65533:(t=decodeMap.get(e))!==null&&t!==void 0?t:e}var CharCodes;(function(e){e[e.NUM=35]="NUM",e[e.SEMI=59]="SEMI",e[e.EQUALS=61]="EQUALS",e[e.ZERO=48]="ZERO",e[e.NINE=57]="NINE",e[e.LOWER_A=97]="LOWER_A",e[e.LOWER_F=102]="LOWER_F",e[e.LOWER_X=120]="LOWER_X",e[e.LOWER_Z=122]="LOWER_Z",e[e.UPPER_A=65]="UPPER_A",e[e.UPPER_F=70]="UPPER_F",e[e.UPPER_Z=90]="UPPER_Z"})(CharCodes||(CharCodes={}));const TO_LOWER_BIT=32;var BinTrieFlags;(function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"})(BinTrieFlags||(BinTrieFlags={}));function isNumber(e){return e>=CharCodes.ZERO&&e<=CharCodes.NINE}function isHexadecimalCharacter(e){return e>=CharCodes.UPPER_A&&e<=CharCodes.UPPER_F||e>=CharCodes.LOWER_A&&e<=CharCodes.LOWER_F}function isAsciiAlphaNumeric(e){return e>=CharCodes.UPPER_A&&e<=CharCodes.UPPER_Z||e>=CharCodes.LOWER_A&&e<=CharCodes.LOWER_Z||isNumber(e)}function isEntityInAttributeInvalidEnd(e){return e===CharCodes.EQUALS||isAsciiAlphaNumeric(e)}var EntityDecoderState;(function(e){e[e.EntityStart=0]="EntityStart",e[e.NumericStart=1]="NumericStart",e[e.NumericDecimal=2]="NumericDecimal",e[e.NumericHex=3]="NumericHex",e[e.NamedEntity=4]="NamedEntity"})(EntityDecoderState||(EntityDecoderState={}));var DecodingMode;(function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"})(DecodingMode||(DecodingMode={}));class EntityDecoder{constructor(t,n,r){this.decodeTree=t,this.emitCodePoint=n,this.errors=r,this.state=EntityDecoderState.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=DecodingMode.Strict}startEntity(t){this.decodeMode=t,this.state=EntityDecoderState.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(t,n){switch(this.state){case EntityDecoderState.EntityStart:return t.charCodeAt(n)===CharCodes.NUM?(this.state=EntityDecoderState.NumericStart,this.consumed+=1,this.stateNumericStart(t,n+1)):(this.state=EntityDecoderState.NamedEntity,this.stateNamedEntity(t,n));case EntityDecoderState.NumericStart:return this.stateNumericStart(t,n);case EntityDecoderState.NumericDecimal:return this.stateNumericDecimal(t,n);case EntityDecoderState.NumericHex:return this.stateNumericHex(t,n);case EntityDecoderState.NamedEntity:return this.stateNamedEntity(t,n)}}stateNumericStart(t,n){return n>=t.length?-1:(t.charCodeAt(n)|TO_LOWER_BIT)===CharCodes.LOWER_X?(this.state=EntityDecoderState.NumericHex,this.consumed+=1,this.stateNumericHex(t,n+1)):(this.state=EntityDecoderState.NumericDecimal,this.stateNumericDecimal(t,n))}addToNumericResult(t,n,r,o){if(n!==r){const c=r-n;this.result=this.result*Math.pow(o,c)+parseInt(t.substr(n,c),o),this.consumed+=c}}stateNumericHex(t,n){const r=n;for(;n<t.length;){const o=t.charCodeAt(n);if(isNumber(o)||isHexadecimalCharacter(o))n+=1;else return this.addToNumericResult(t,r,n,16),this.emitNumericEntity(o,3)}return this.addToNumericResult(t,r,n,16),-1}stateNumericDecimal(t,n){const r=n;for(;n<t.length;){const o=t.charCodeAt(n);if(isNumber(o))n+=1;else return this.addToNumericResult(t,r,n,10),this.emitNumericEntity(o,2)}return this.addToNumericResult(t,r,n,10),-1}emitNumericEntity(t,n){var r;if(this.consumed<=n)return(r=this.errors)===null||r===void 0||r.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(t===CharCodes.SEMI)this.consumed+=1;else if(this.decodeMode===DecodingMode.Strict)return 0;return this.emitCodePoint(replaceCodePoint(this.result),this.consumed),this.errors&&(t!==CharCodes.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(t,n){const{decodeTree:r}=this;let o=r[this.treeIndex],c=(o&BinTrieFlags.VALUE_LENGTH)>>14;for(;n<t.length;n++,this.excess++){const F=t.charCodeAt(n);if(this.treeIndex=determineBranch(r,o,this.treeIndex+Math.max(1,c),F),this.treeIndex<0)return this.result===0||this.decodeMode===DecodingMode.Attribute&&(c===0||isEntityInAttributeInvalidEnd(F))?0:this.emitNotTerminatedNamedEntity();if(o=r[this.treeIndex],c=(o&BinTrieFlags.VALUE_LENGTH)>>14,c!==0){if(F===CharCodes.SEMI)return this.emitNamedEntityData(this.treeIndex,c,this.consumed+this.excess);this.decodeMode!==DecodingMode.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var t;const{result:n,decodeTree:r}=this,o=(r[n]&BinTrieFlags.VALUE_LENGTH)>>14;return this.emitNamedEntityData(n,o,this.consumed),(t=this.errors)===null||t===void 0||t.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(t,n,r){const{decodeTree:o}=this;return this.emitCodePoint(n===1?o[t]&~BinTrieFlags.VALUE_LENGTH:o[t+1],r),n===3&&this.emitCodePoint(o[t+2],r),r}end(){var t;switch(this.state){case EntityDecoderState.NamedEntity:return this.result!==0&&(this.decodeMode!==DecodingMode.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case EntityDecoderState.NumericDecimal:return this.emitNumericEntity(0,2);case EntityDecoderState.NumericHex:return this.emitNumericEntity(0,3);case EntityDecoderState.NumericStart:return(t=this.errors)===null||t===void 0||t.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case EntityDecoderState.EntityStart:return 0}}}function getDecoder(e){let t="";const n=new EntityDecoder(e,r=>t+=fromCodePoint$1(r));return function(o,c){let F=0,Y=0;for(;(Y=o.indexOf("&",Y))>=0;){t+=o.slice(F,Y),n.startEntity(c);const Q=n.write(o,Y+1);if(Q<0){F=Y+n.end();break}F=Y+Q,Y=Q===0?F+1:F}const V=t+o.slice(F);return t="",V}}function determineBranch(e,t,n,r){const o=(t&BinTrieFlags.BRANCH_LENGTH)>>7,c=t&BinTrieFlags.JUMP_TABLE;if(o===0)return c!==0&&r===c?n:-1;if(c){const V=r-c;return V<0||V>=o?-1:e[n+V]-1}let F=n,Y=F+o-1;for(;F<=Y;){const V=F+Y>>>1,Q=e[V];if(Q<r)F=V+1;else if(Q>r)Y=V-1;else return e[V+o]}return-1}const htmlDecoder=getDecoder(htmlDecodeTree);getDecoder(xmlDecodeTree);function decodeHTML(e,t=DecodingMode.Legacy){return htmlDecoder(e,t)}function _class$1(e){return Object.prototype.toString.call(e)}function isString$1(e){return _class$1(e)==="[object String]"}const _hasOwnProperty=Object.prototype.hasOwnProperty;function has(e,t){return _hasOwnProperty.call(e,t)}function assign$1(e){return Array.prototype.slice.call(arguments,1).forEach(function(n){if(n){if(typeof n!="object")throw new TypeError(n+"must be object");Object.keys(n).forEach(function(r){e[r]=n[r]})}}),e}function arrayReplaceAt(e,t,n){return[].concat(e.slice(0,t),n,e.slice(t+1))}function isValidEntityCode(e){return!(e>=55296&&e<=57343||e>=64976&&e<=65007||(e&65535)===65535||(e&65535)===65534||e>=0&&e<=8||e===11||e>=14&&e<=31||e>=127&&e<=159||e>1114111)}function fromCodePoint(e){if(e>65535){e-=65536;const t=55296+(e>>10),n=56320+(e&1023);return String.fromCharCode(t,n)}return String.fromCharCode(e)}const UNESCAPE_MD_RE=/\\([!"#$%&'()*+,\-./:;<=>?@[\\\]^_`{|}~])/g,ENTITY_RE=/&([a-z#][a-z0-9]{1,31});/gi,UNESCAPE_ALL_RE=new RegExp(UNESCAPE_MD_RE.source+"|"+ENTITY_RE.source,"gi"),DIGITAL_ENTITY_TEST_RE=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))$/i;function replaceEntityPattern(e,t){if(t.charCodeAt(0)===35&&DIGITAL_ENTITY_TEST_RE.test(t)){const r=t[1].toLowerCase()==="x"?parseInt(t.slice(2),16):parseInt(t.slice(1),10);return isValidEntityCode(r)?fromCodePoint(r):e}const n=decodeHTML(e);return n!==e?n:e}function unescapeMd(e){return e.indexOf("\\")<0?e:e.replace(UNESCAPE_MD_RE,"$1")}function unescapeAll(e){return e.indexOf("\\")<0&&e.indexOf("&")<0?e:e.replace(UNESCAPE_ALL_RE,function(t,n,r){return n||replaceEntityPattern(t,r)})}const HTML_ESCAPE_TEST_RE=/[&<>"]/,HTML_ESCAPE_REPLACE_RE=/[&<>"]/g,HTML_REPLACEMENTS={"&":"&","<":"<",">":">",'"':"""};function replaceUnsafeChar(e){return HTML_REPLACEMENTS[e]}function escapeHtml(e){return HTML_ESCAPE_TEST_RE.test(e)?e.replace(HTML_ESCAPE_REPLACE_RE,replaceUnsafeChar):e}const REGEXP_ESCAPE_RE=/[.?*+^$[\]\\(){}|-]/g;function escapeRE$1(e){return e.replace(REGEXP_ESCAPE_RE,"\\$&")}function isSpace(e){switch(e){case 9:case 32:return!0}return!1}function isWhiteSpace(e){if(e>=8192&&e<=8202)return!0;switch(e){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1}function isPunctChar(e){return P$1.test(e)||regex.test(e)}function isMdAsciiPunct(e){switch(e){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}}function normalizeReference(e){return e=e.trim().replace(/\s+/g," "),"ẞ".toLowerCase()==="Ṿ"&&(e=e.replace(/ẞ/g,"ß")),e.toLowerCase().toUpperCase()}const lib={mdurl,ucmicro},utils=Object.freeze(Object.defineProperty({__proto__:null,arrayReplaceAt,assign:assign$1,escapeHtml,escapeRE:escapeRE$1,fromCodePoint,has,isMdAsciiPunct,isPunctChar,isSpace,isString:isString$1,isValidEntityCode,isWhiteSpace,lib,normalizeReference,unescapeAll,unescapeMd},Symbol.toStringTag,{value:"Module"})),w$3=46,x$2=35,O$1=32,I$3=61,E$1=34,T$3=e=>!(e===9||e===10||e===12||e===32||e===47||e===62||e===34||e===39||e===61),K=(e,t,n)=>{let r="",o="",c=!0,F=!1;const Y=[];for(let V=t[0];V<t[1];V++){const Q=e.charCodeAt(V);if(Q===I$3&&c){c=!1;continue}if(Q===w$3&&r===""){e.charCodeAt(V+1)===w$3?(r="css-module",V++):r="class",c=!1;continue}if(Q===x$2&&r===""){r="id",c=!1;continue}if(Q===E$1&&o===""&&!F){F=!0;continue}if(Q===E$1&&F){F=!1;continue}if(Q===O$1&&!F){if(r==="")continue;Y.push([r,o]),r="",o="",c=!0;continue}if(!(c&&!T$3(Q))){if(c){r+=String.fromCharCode(Q);continue}o+=String.fromCharCode(Q)}}return r!==""&&Y.push([r,o]),n.length?Y.filter(([V])=>n.some(Q=>Q instanceof RegExp?Q.test(V):Q===V)):Y},y$4=(e,t,n,r)=>{e&&K(t,n,r).forEach(([o,c])=>{switch(o){case"class":e.attrJoin("class",c);break;case"css-module":e.attrJoin("css-module",c);break;default:e.attrPush([o,c])}})},m$4=({left:e,right:t},n)=>{if(!["start","end","only"].includes(n))throw new Error(`Invalid 'where' parameter: ${n}. Expected 'start', 'end', or 'only'.`);const r=e.length,o=t.length,c=r+1+o;return F=>{if(typeof F!="string"||F.length<c)return!1;let Y,V;if(n==="start"){if(!F.startsWith(e)||(Y=r,V=F.indexOf(t,r+1),V===-1))return!1;const ue=V+o;if(ue<F.length&&t.includes(F.charAt(ue)))return!1}else if(n==="end"){if(Y=F.lastIndexOf(e),Y===-1||(V=F.indexOf(t,Y+r+1),Y+=r,V===-1||V+o!==F.length))return!1}else{if(!F.startsWith(e)||!F.endsWith(t))return!1;Y=r,V=F.length-o}const Q=F.charCodeAt(Y),X=V-Y;return(Q===w$3||Q===x$2?X>=2:X>=1)?[Y,V]:!1}},_$2=(e,t)=>{const n=e[t];if(n.type==="softbreak")return null;if(n.nesting===0)return n;const r=n.level,o=n.type.replace("_close","_open");for(;t>=0;){const c=e[t];if(c.type===o&&c.level===r)return c;t--}return null},M$1=(e,t)=>t>=0?e[t]:e[e.length+t],R$2=(e,t,n)=>{const r={match:!1,position:null,range:null},o=n.shift!==void 0,c=o?t+n.shift:n.position;if(o&&c<0)return r;const F=M$1(e,c);if(!F)return r;for(const Y of Object.keys(n)){if(Y==="shift"||Y==="position")continue;if(F[Y]==null)return r;if(Y==="children"&&Array.isArray(n.children)){if(!F.children?.length)return r;const Q=n.children,X=F.children;let ue,se=null;if(Q.every(oe=>oe.position!=null)){if(ue=Q.every(oe=>{const ce=R$2(X,oe.position,oe);return ce.match?(ce.range&&(se=ce.range),!0):!1}),ue){const{position:oe}=Q[Q.length-1];r.position=oe>=0?oe:X.length+oe,r.range=se}}else for(let oe=0;oe<X.length;oe++)if(ue=Q.every(ce=>{const le=R$2(X,oe,ce);return le.match?(le.range&&(se=le.range),!0):!1}),ue){r.position=oe,se&&(r.range=se);break}if(ue===!1)return r;continue}const V=n[Y];switch(typeof V){case"boolean":case"number":case"string":{if(F[Y]!==V)return r;break}case"function":{const Q=V(F[Y]);if(!Q)return r;Array.isArray(Q)&&(r.range=Q);break}default:throw new Error(`Unknown type of pattern test (key: ${Y}). Test should be of type boolean, number, string or function.`)}}return r.match=!0,r},P=e=>({name:"end of block",tests:[{shift:0,type:"inline",children:[{position:-1,content:m$4(e,"end"),type:t=>t!=="code_inline"&&t!=="math_inline"}]}],transform:(t,n,r,o)=>{const c=o[0]-e.left.length,F=t[n].children[r],{content:Y}=F,V=isSpace(Y.charCodeAt(c-1));let Q=n+1;for(;t[Q+1]?.nesting===-1;)Q++;const X=_$2(t,Q);y$4(X,Y,o,e.allowed),F.content=Y.slice(0,V?c-1:c)}}),W=e=>({name:"code-block",tests:[{shift:0,block:!0,info:m$4(e,"end")}],transform:(t,n,r,o)=>{const c=o[0]-e.left.length,F=t[n],{info:Y}=F,V=isSpace(Y.charCodeAt(c-1));y$4(F,Y,o,e.allowed),F.info=Y.slice(0,V?c-1:c)}}),B=e=>({name:"end of block",tests:[{shift:-1,type:"heading_open"},{shift:0,type:"inline",children:[{position:-1,content:m$4(e,"end"),type:t=>t!=="code_inline"&&t!=="math_inline"}]}],transform:(t,n,r,o)=>{const c=o[0]-e.left.length,F=t[n].children[r],{content:Y}=F,V=isSpace(Y.charCodeAt(c-1)),Q=_$2(t,n+1);y$4(Q,Y,o,e.allowed),F.content=Y.slice(0,V?c-1:c)}}),D$1=e=>[{name:"inline nesting self-close",tests:[{shift:0,type:"inline",children:[{shift:-1,type:t=>t==="image"||t==="code_inline"},{shift:0,type:"text",content:m$4(e,"start")}]}],transform:(t,n,r,o)=>{const c=t[n].children,F=c[r],Y=c[r-1],V=e.right.length+o[1];y$4(Y,F.content,o,e.allowed),F.content.length===V?c.splice(r,1):F.content=F.content.slice(V)}},{name:"inline attributes",tests:[{shift:0,type:"inline",children:[{shift:-1,nesting:-1},{shift:0,type:"text",content:m$4(e,"start")}]}],transform:(t,n,r,o)=>{const c=t[n].children,F=c[r],{content:Y}=F,V=e.right.length+o[1],Q=_$2(c,r-1);y$4(Q,Y,o,e.allowed),F.content=Y.slice(V)}}],G=e=>[{name:"list softbreak",tests:[{shift:-2,type:"list_item_open"},{shift:0,type:"inline",children:[{position:-2,type:"softbreak"},{position:-1,type:"text",content:m$4(e,"only")}]}],transform:(t,n,r,o)=>{const c=t[n].children,F=c[r];let Y=n-2;for(;t[Y-1]?.type!=="ordered_list_open"&&t[Y-1].type!=="bullet_list_open";)Y--;y$4(t[Y-1],F.content,o,e.allowed),t[n].children=c.slice(0,-2)}},{name:"list double softbreak",tests:[{shift:0,type:t=>t==="bullet_list_close"||t==="ordered_list_close"},{shift:1,type:"paragraph_open"},{shift:2,type:"inline",content:m$4(e,"only"),children:t=>t.length===1},{shift:3,type:"paragraph_close"}],transform:(t,n,r,o)=>{const c=t[n+2],F=_$2(t,n);y$4(F,c.content,o,e.allowed),t.splice(n+1,3)}},{name:"list item end",tests:[{shift:-2,type:"list_item_open"},{shift:0,type:"inline",children:[{position:-1,type:"text",content:m$4(e,"end")}]}],transform:(t,n,r,o)=>{const c=t[n].children[r],{content:F}=c,Y=o[0]-e.left.length,V=isSpace(F.charCodeAt(Y-1));y$4(t[n-2],F,o,e.allowed),c.content=F.slice(0,V?Y-1:Y)}}],H=e=>({name:`
|
|
45
|
-
{.a} softbreak then curly in start`,tests:[{shift:0,type:"inline",children:[{position:-2,type:"softbreak"},{position:-1,type:"text",content:m$4(e,"only")}]}],transform:(t,n,r,o)=>{const c=t[n].children,F=c[r];let Y=n+1;for(;t[Y+1]?.nesting===-1;)Y++;y$4(_$2(t,Y),F.content,o,e.allowed),t[n].children=c.slice(0,-2)}}),J$1=e=>({name:"horizontal rule",tests:[{shift:0,type:"paragraph_open"},{shift:1,type:"inline",children:t=>t.length===1,content:t=>{let n=0,r;const o=t.charCodeAt(n++);if(o!==45&&o!==42&&o!==95)return!1;let c=1;for(;n<t.length&&(r=t.charCodeAt(n++),r===o);)c++;return c<3?!1:(isSpace(t.charCodeAt(n-1))||n--,m$4(e,"end")(t))}},{shift:2,type:"paragraph_close"}],transform:(t,n,r,o)=>{const c=t[n],F=t[n+1],{content:Y}=F;c.type="hr",c.tag="hr",c.nesting=0,y$4(c,Y,o,e.allowed),c.markup=Y,t.splice(n+1,2)}}),L$2=e=>[{name:"table",tests:[{shift:0,type:"table_close"},{shift:1,type:"paragraph_open"},{shift:2,type:"inline",content:m$4(e,"only")}],transform:(t,n,r,o)=>{const c=t[n+2],F=_$2(t,n);y$4(F,c.content,o,e.allowed),t.splice(n+1,3)}},{name:"table cell attributes",tests:[{shift:-1,type:t=>t==="td_open"||t==="th_open"},{shift:0,type:"inline",children:[{shift:0,type:"text",content:m$4(e,"end")}]}],transform:(t,n,r,o)=>{const c=o[0]-e.left.length,F=t[n].children[r],Y=t[n-1],{content:V}=F,Q=isSpace(V.charCodeAt(c-1));y$4(Y,V,o,e.allowed),F.content=V.slice(0,Q?c-1:c)}},{name:"table thead metadata",tests:[{shift:0,type:"tr_close"},{shift:1,type:"thead_close"},{shift:2,type:"tbody_open"}],transform:(t,n)=>{const r=_$2(t,n),o=t[n-1];let c=0,F=n-1;for(;F>0;){const V=t[F];if(V===r){const Q=t[F-1];Q.meta={...Q.meta,columnCount:c};break}V.level===o.level&&V.type===o.type&&c++,F--}const Y=t[n+2];Y.meta={...Y.meta,columnCount:c}}},{name:"table tbody calculate",tests:[{shift:0,type:"tbody_close",hidden:!1}],transform:(t,n)=>{let r=n-2;for(;r>=0&&t[r].type!=="tbody_open";)r--;const o=t[r].meta?.columnCount??0;if(o<2)return;const c=Array.from({length:o}).fill(0),F=[];let Y=r+1;for(;Y<n;){const V=Y;let Q=V+1;for(;Q<n&&t[Q].type!=="tr_close";)Q++;const X=[];let ue=V+1;for(;ue<Q;){let ce=ue+1;for(;ce<Q&&t[ce].type!=="td_close"&&t[ce].type!=="th_close";)ce++;X.push([ue,ce]),ue=ce+1}let se=0,oe=0;for(;oe<o;){if(c[oe]>0){c[oe]--,F.push(X[se]),se++,oe++;continue}const ce=t[X[se][0]],le=Number(ce.attrGet("colspan"))||1,de=Number(ce.attrGet("rowspan"))||1;se++;let pe=0;for(let ge=0;ge<le;ge++)if(oe+ge<o)if(c[oe+ge]===0)pe++;else break;le>1&&pe<le&&ce.attrSet("colspan",String(pe));for(let ge=0;ge<pe;ge++)oe+ge<o&&(c[oe+ge]=de-1);const be=pe-1;if(be>0)for(let ge=0;ge<be;ge++)F.push(X[se]),se++;oe+=pe}Y=Q+1}F.sort((V,Q)=>Q[0]-V[0]);for(const[V,Q]of F)t.splice(V,Q-V+1)}}],v$2=["fence","inline","table","list","heading","hr","softbreak","block"],N$1=e=>{const t=e.rule===!1?[]:Array.isArray(e.rule)?e.rule.filter(r=>v$2.includes(r)):v$2,n=[];return t.includes("fence")&&n.push(W(e)),t.includes("inline")&&n.push(...D$1(e)),t.includes("table")&&n.push(...L$2(e)),t.includes("list")&&n.push(...G(e)),t.includes("softbreak")&&n.push(H(e)),t.includes("hr")&&n.push(J$1(e)),t.includes("block")?n.push(P(e)):t.includes("heading")&&n.push(B(e)),n},U=(e,{left:t="{",right:n="}",allowed:r=[],rule:o="all"}={})=>{const c=N$1({left:t,right:n,allowed:r,rule:o}),F=({tokens:Y})=>{for(let V=0;V<Y.length;V++)for(let Q=0;Q<c.length;Q++){const X=c[Q];let ue=null,se=null;X.tests.every(oe=>{const ce=R$2(Y,V,oe);return ce.position!==null&&({position:ue}=ce),ce.range&&(se=ce.range),ce.match})&&(X.transform(Y,V,ue,se),(X.name==="inline attributes"||X.name==="inline nesting self-close")&&Q--)}};e.core.ruler.before("linkify","attrs",F)},z$1=(e,{name:t="demo",openRender:n=(V,Q)=>`<details><summary>${V[Q].info}</summary>
|
|
46
|
-
`,closeRender:r=()=>`</details>
|
|
47
|
-
`,codeRender:o,contentOpenRender:c,contentCloseRender:F,showCodeFirst:Y=!1}={})=>{const V=(Q,X,ue,se)=>{const oe=Q.bMarks[X]+Q.tShift[X],ce=Q.eMarks[X],le=Q.sCount[X];if(Q.src.charCodeAt(oe)!==58||ce-oe<3+t.length)return!1;let de=oe+1;for(;de<=ce&&Q.src.charCodeAt(de)===58;)de++;const pe=de-oe;if(pe<3)return!1;de=Q.skipSpaces(de);for(let De=0;De<t.length;De++){if(Q.src.charCodeAt(de)!==t.charCodeAt(De))return!1;de++}const be=de,ge=Q.skipSpacesBack(ce,de),ye=ge>be;let me=-1;if(ye&&(me=Q.skipSpaces(be),me===be))return!1;if(se)return!0;let xe=X+1,Fe=!1;for(;xe<ue;xe++){const De=Q.bMarks[xe]+Q.tShift[xe],Ue=Q.eMarks[xe];if(De<Ue&&Q.sCount[xe]<le)break;if(Q.sCount[xe]===le&&Q.src.charCodeAt(De)===58){for(de=De+1;de<=Ue&&Q.src.charCodeAt(de)===58;de++);if(de-De>=pe&&(de=Q.skipSpaces(de),de>=Ue)){Fe=!0;break}}}const we=Q.parentType,Te=Q.lineMax,Be=Q.blkIndent;Q.parentType="demo",Q.lineMax=xe,Q.blkIndent=le;const Oe=":".repeat(pe),ve=ye?Q.src.slice(me,ge):"Demo",Me=Q.push(`${t}_demo_open`,"div",1);Me.markup=Oe,Me.block=!0,Me.info=ve,Me.map=[X,xe];const $e=()=>{const De=Q.push(o?`${t}_demo_code`:"fence","code",0),Ue=Q.sCount[X];De.content=Q.src.split(/\n\r?/).slice(X+1,xe).map(Ke=>Ke.slice(Ue)).filter(Ke=>!/^<!-- #include-env-(?:start: .*|end) -->$/.test(Ke)).join(`
|
|
48
|
-
`).replace(/^\n+/,"").replace(/\n*$/,`
|
|
49
|
-
`),De.map=[X,Q.line],(De.meta??={}).title=ve,o||(De.info="md")};Y&&$e();const Pe=Q.push(`${t}_demo_content_open`,"div",1);Pe.attrPush(["class","demo-content"]),Pe.block=!0,Me.map=[X,xe],Q.md.block.tokenize(Q,X+1,xe);const Je=Q.push(`${t}_demo_content_close`,"div",-1);Je.block=!0,Y||$e();const Ge=Q.push(`${t}_demo_close`,"div",-1);return Ge.markup=Oe,Ge.block=!0,Ge.info=ve,Q.parentType=we,Q.lineMax=Te,Q.blkIndent=Be,Q.line=xe+(Fe?1:0),!0};e.block.ruler.before("fence","demo",V,{alt:["paragraph","reference","blockquote","list"]}),e.renderer.rules[`${t}_demo_open`]=n,e.renderer.rules[`${t}_demo_close`]=r,o&&(e.renderer.rules[`${t}_demo_code`]=o),c&&(e.renderer.rules[`${t}_demo_content_open`]=c),F&&(e.renderer.rules[`${t}_demo_content_close`]=F)},i$3=(e,t)=>{let n=e.bMarks[t]+e.tShift[t];const r=e.eMarks[t];if(n>=r)return-1;const o=e.src.charCodeAt(n++);if(o!==126&&o!==58)return-1;const c=e.skipSpaces(n);return n===c||c>=r?-1:n},A$3=(e,t)=>{const n=e.level+2;for(let r=t+2,o=e.tokens.length-2;r<o;r++)e.tokens[r].level===n&&e.tokens[r].type==="paragraph_open"&&(e.tokens[r+2].hidden=!0,e.tokens[r].hidden=!0,r+=2)},q$1=(e,t,n,r)=>{if(r)return e.ddIndent<0?!1:i$3(e,t)>=0&&e.sCount[t]<e.blkIndent;let o=t+1;if(o>=n)return!1;let c=!1;if(e.isEmpty(o)&&(o++,c=!0,o>=n)||e.sCount[o]<e.blkIndent)return!1;let F=i$3(e,o);if(F<0)return!1;const Y=e.tokens.length,V=e.push("dl_open","dl",1),Q=[t,0];V.map=Q;let X=t,ue=o,se=!c;e:for(;;){let oe=!1;const ce=e.push("dt_open","dt",1);ce.map=[X,X];const le=e.push("inline","",0);for(le.map=[X,X],le.content=e.getLines(X,X+1,e.blkIndent,!1).trim(),le.children=[],e.push("dt_close","dt",-1);;){const de=e.push("dd_open","dd",1),pe=[o,0];de.map=pe;let be=F;const ge=e.eMarks[ue];let ye=e.sCount[ue]+F-(e.bMarks[ue]+e.tShift[ue]);for(;be<ge;){const Oe=e.src.charCodeAt(be);if(Oe===9)ye+=4-ye%4;else if(Oe===32)ye++;else break;be++}F=be;const me=e.tight,xe=e.ddIndent,Fe=e.blkIndent,we=e.tShift[ue],Te=e.sCount[ue],Be=e.parentType;if(e.blkIndent=e.ddIndent=e.sCount[ue]+2,e.tShift[ue]=F-e.bMarks[ue],e.sCount[ue]=ye,e.tight=!0,e.parentType="dl",e.md.block.tokenize(e,ue,n,!0),(!e.tight||oe)&&(se=!1),oe=e.line-ue>1&&e.isEmpty(e.line-1),e.tShift[ue]=we,e.sCount[ue]=Te,e.tight=me,e.parentType=Be,e.blkIndent=Fe,e.ddIndent=xe,e.push("dd_close","dd",-1),pe[1]=o=e.line,o>=n||e.sCount[o]<e.blkIndent)break e;if(F=i$3(e,o),F<0)break;ue=o}if(o>=n||(X=o,e.isEmpty(X)||e.sCount[X]<e.blkIndent)||(ue=X+1,ue>=n)||(e.isEmpty(ue)&&ue++,ue>=n||e.sCount[ue]<e.blkIndent)||(F=i$3(e,ue),F<0))break}return e.push("dl_close","dl",-1),Q[1]=o,e.line=o,se&&A$3(e,Y),!0},w$2=e=>{e.block.ruler.before("paragraph","dl",q$1,{alt:["paragraph","reference","blockquote"]})},m$3=(e,t)=>{if(e.charCodeAt(t)!==123||e.charCodeAt(t+1)!==37)return!1;let n=t-1,r=0;for(;n>=0&&e.charCodeAt(n)===92;)r++,n--;return r%2!==1},h$1=(e,t)=>e.charCodeAt(t)===37&&e.charCodeAt(t+1)===125,g$4=e=>(t,n)=>{const r=t.pos,o=t.src.length;if(o-r<5||!m$3(t.src,r))return!1;let c=r+2;for(;c<o&&isSpace(t.src.charCodeAt(c));)c++;let F=c,Y=!1;for(;F+1<o;F++){if(m$3(t.src,F))return!1;if(h$1(t.src,F)){Y=!0;break}}if(!Y)return!1;let V=c+1;for(;V<F&&!isSpace(t.src.charCodeAt(V));)V++;const Q=t.src.slice(c,V);if(!e.has(Q))return!1;if(!n){const X=t.push("embed_inline","embed",0),ue=V?t.src.slice(V+1,F).trim().replace(/\\{%/g,"{%").replace(/%\\}/g,"%}"):"";X.markup="{% %}",X.info=Q,X.content=ue}return t.pos=F+2,!0},A$2=e=>(t,n,r,o)=>{const c=t.bMarks[n]+t.tShift[n];let F=t.eMarks[n];const{src:Y}=t;if(F-c<5||t.src.charCodeAt(c)!==123||t.src.charCodeAt(c+1)!==37)return!1;F=t.skipSpacesBack(F,c);const V=F-2;if(!h$1(Y,V))return!1;let Q=c+2;for(;Q<V&&isSpace(t.src.charCodeAt(Q));)Q++;let X=-1;for(let ce=Q;ce+1<V;ce++){if(m$3(t.src,ce)||h$1(t.src,ce))return!1;X===-1&&isSpace(t.src.charCodeAt(ce))&&(X=ce)}const ue=X===-1?t.src.slice(Q,V+1).trimEnd():t.src.slice(Q,X);if(!e.has(ue))return!1;if(o)return!0;const se=X===-1?"":t.src.slice(X+1,V).trim().replace(/\\{%/g,"{%").replace(/%\\}/g,"%}"),oe=t.push("embed_block","embed",0);return oe.block=!0,oe.info=ue,oe.content=se,oe.map=[n,n+1],oe.markup="{% %}",t.line=n+1,!0},_$1=(e,t)=>{if(typeof t!="object"||!Array.isArray(t.config))throw new Error("[@mdit/plugin-embed]: config is required and must be an array.");const n=e,r=n.__embedMap??=new Map,o=n.__inlineEmbedMap??=new Map;t.config.forEach(c=>{r.set(c.name,c),c.allowInline&&o.set(c.name,c)}),"embed_block"in e.renderer.rules||(e.block.ruler.before("paragraph","embed_block",A$2(r),{alt:["paragraph","reference","blockquote","list"]}),e.renderer.rules.embed_block=(c,F)=>{const Y=c[F];return r.get(Y.info).setup(Y.content,!1)}),o.size&&!("embed_inline"in e.renderer.rules)&&(e.inline.ruler.before("emphasis","embed_inline",g$4(o)),e.renderer.rules.embed_inline=(c,F)=>{const Y=c[F];return o.get(Y.info).setup(Y.content,!0)})},u=(e,t)=>{e.attrs=e.attrs?.filter(([n])=>n!==t)??null},d$4=e=>{const t=e.attrs?.find(([n])=>n==="title")?.[1];return t?(u(e,"title"),t):e.content},k$4=(e,t={})=>{const n=r=>{for(let o=1,{length:c}=r.tokens;o<c-1;o++){const F=r.tokens[o];if(F.type!=="inline"||!F.children||F.children.length!==1&&F.children.length!==3||F.children.length===1&&F.children[0].type!=="image")continue;if(F.children.length===3){const[ue,se,oe]=F.children;if(ue.type!=="link_open"||se.type!=="image"||oe.type!=="link_close")continue}if(r.tokens[o-1].type!=="paragraph_open"||r.tokens[o+1].type!=="paragraph_close")continue;const Y=r.tokens[o-1];Y.type="figure_open",Y.tag="figure",r.tokens[o+1].type="figure_close",r.tokens[o+1].tag="figure";const V=F.children.length===1?F.children[0]:F.children[1],Q=d$4(V),[X]=e.parseInline(Q,r.env);F.children.push(new r.Token("figcaption_open","figcaption",1)),F.children.push(...X.children??[]),F.children.push(new r.Token("figcaption_close","figcaption",-1)),t.focusable!==!1&&V.attrPush(["tabindex","0"])}};e.core.ruler.before("linkify","figure",n)},d$3=(e,t)=>e[t].meta.subId>0?`:${e[t].meta.subId}`:"",C$1=(e,t,n,r)=>`${typeof r.docId=="string"?`-${r.docId}-`:""}${(e[t].meta.id+1).toString()}`,v$1=(e,t)=>`[${(e[t].meta.id+1).toString()}${d$3(e,t)}]`,g$3=(e,t,n,r,o)=>{const c=o.rules.footnote_anchorName(e,t,n,r,o),F=o.rules.footnote_caption(e,t,n,r,o);return`<sup class="footnote-ref"><a href="#footnote${c}">${F}</a><a class="footnote-anchor" id="footnote-ref${c}${d$3(e,t)}"></a></sup>`},I$2=(e,t,n)=>`<hr class="footnotes-sep"${n.xhtmlOut?" /":""}>
|
|
50
|
-
<section class="footnotes">
|
|
51
|
-
<ol class="footnotes-list">
|
|
52
|
-
`,T$2=()=>`</ol>
|
|
53
|
-
</section>
|
|
54
|
-
`,y$3=(e,t,n,r,o)=>`<li id="footnote${o.rules.footnote_anchorName(e,t,n,r,o)}${d$3(e,t)}" class="footnote-item">`,A$1=()=>`</li>
|
|
55
|
-
`,M=(e,t,n,r,o)=>` <a href="#footnote-ref${o.rules.footnote_anchorName(e,t,n,r,o)}${d$3(e,t)}" class="footnote-backref">↩︎</a>`,w$1=(e,t,n,r)=>{const o=e.bMarks[t]+e.tShift[t],c=e.eMarks[t];let F;if(o+4>c||e.src.charCodeAt(o)!==91||e.src.charCodeAt(o+1)!==94)return!1;let Y=o+2;for(;Y<c;){if(F=e.src.charCodeAt(Y),F===32)return!1;if(F===93)break;Y++}if(Y===o+2||Y+1>=c||e.src.charCodeAt(++Y)!==58)return!1;if(r)return!0;Y++,(e.env.footnotes??={}).refs??={};const V=e.src.slice(o+2,Y-2);e.env.footnotes.refs[`:${V}`]=-1;const Q=e.push("footnote_reference_open","",1);Q.meta={label:V},Q.level=e.level++;const X=e.bMarks[t],ue=e.tShift[t],se=e.sCount[t],oe=e.parentType,ce=Y,le=e.sCount[t]+Y-(e.bMarks[t]+e.tShift[t]);let de=le;for(;Y<c;){const be=e.src.charCodeAt(Y);if(be===9)de+=4-de%4;else if(be===32)de++;else break;Y++}e.tShift[t]=Y-ce,e.sCount[t]=de-le,e.bMarks[t]=ce,e.blkIndent+=4,e.parentType="footnote",e.sCount[t]<e.blkIndent&&(e.sCount[t]+=e.blkIndent),e.md.block.tokenize(e,t,n),e.parentType=oe,e.blkIndent-=4,e.tShift[t]=ue,e.sCount[t]=se,e.bMarks[t]=X;const pe=e.push("footnote_reference_close","",-1);return pe.level=--e.level,!0},S$2=(e,t)=>{const n=e.posMax,r=e.pos;if(r+2>=n||e.src.charCodeAt(r)!==94||e.src.charCodeAt(r+1)!==91)return!1;const o=e.md.helpers.parseLinkLabel(e,r+1);if(o<0)return!1;const c=r+2;if(!t){const F=((e.env.footnotes??={}).list??=[]).length,Y=[];e.md.inline.parse(e.src.slice(c,o),e.md,e.env,Y);const V=e.push("footnote_ref","",0);V.meta={id:F},e.env.footnotes.list[F]={content:e.src.slice(c,o),tokens:Y}}return e.pos=o+1,e.posMax=n,!0},x$1=(e,t)=>{const n=e.pos,r=e.posMax;let o;if(n+3>r||!e.env.footnotes?.refs||e.src.charCodeAt(n)!==91||e.src.charCodeAt(n+1)!==94)return!1;let c=n+2;for(;c<r;){if(o=e.src.charCodeAt(c),o===32||o===10)return!1;if(o===93)break;c++}if(c===n+2||c>=r)return!1;c++;const F=e.src.slice(n+2,c-1);if(typeof e.env.footnotes.refs[`:${F}`]>"u")return!1;if(!t){const Y=e.env.footnotes.list??=[],{refs:V}=e.env.footnotes;let Q;V[`:${F}`]<0?(Q=Y.length,Y[Q]={label:F,count:0},V[`:${F}`]=Q):Q=V[`:${F}`];const X=Y[Q].count;Y[Q].count=Y[Q].count+1;const ue=e.push("footnote_ref","",0);ue.meta={id:Q,subId:X,label:F}}return e.pos=c,e.posMax=r,!0},N=e=>{const t={};let n,r,o=!1;if(!e.env.footnotes?.list)return e.tokens=e.tokens.filter(Y=>Y.type==="footnote_reference_open"?(o=!0,!1):Y.type==="footnote_reference_close"?(o=!1,!1):!o),!1;const{list:c}=e.env.footnotes;e.tokens=e.tokens.filter(Y=>Y.type==="footnote_reference_open"?(o=!0,n=[],r=Y.meta.label,!1):Y.type==="footnote_reference_close"?(o=!1,t[`:${r}`]=n,!1):(o&&n.push(Y),!o));const F=new e.Token("footnote_block_open","",1);e.tokens.push(F);for(let Y=0,{length:V}=c;Y<V;Y++){const Q=new e.Token("footnote_open","",1);Q.meta={id:Y,label:c[Y].label},e.tokens.push(Q);let X;if(c[Y].tokens){const ue=new e.Token("paragraph_open","p",1);ue.block=!0;const se=new e.Token("inline","",0);se.children=c[Y].tokens,se.content=c[Y].content;const oe=new e.Token("paragraph_close","p",-1);oe.block=!0,e.tokens.push(ue,se,oe)}else if(c[Y].label){const ue=t[`:${c[Y].label}`];ue&&e.tokens.push(...ue)}e.tokens[e.tokens.length-1].type==="paragraph_close"?X=e.tokens.pop()??null:X=null;for(let ue=0;ue<(Number(c[Y].count)>0?c[Y].count:1);ue++){const se=new e.Token("footnote_anchor","",0);se.meta={id:Y,subId:ue,label:c[Y].label},e.tokens.push(se)}X&&e.tokens.push(X),e.tokens.push(new e.Token("footnote_close","",-1))}return e.tokens.push(new e.Token("footnote_block_close","",-1)),!0},L$1=e=>{e.renderer.rules.footnote_ref=g$3,e.renderer.rules.footnote_block_open=I$2,e.renderer.rules.footnote_block_close=T$2,e.renderer.rules.footnote_open=y$3,e.renderer.rules.footnote_close=A$1,e.renderer.rules.footnote_anchor=M,e.renderer.rules.footnote_caption=v$1,e.renderer.rules.footnote_anchorName=C$1,e.block.ruler.before("reference","footnoteDef",w$1,{alt:["paragraph","reference"]}),e.inline.ruler.after("image","footnoteInline",S$2),e.inline.ruler.after("footnoteInline","footnote_ref",x$1),e.core.ruler.after("inline","footnoteTail",N)},a$1=e=>e.replace(/&/gu,"&").replace(/</gu,"<").replace(/>/gu,">").replace(/"/gu,""").replace(/'/gu,"'"),s=/\\([ \\!"#$%&'()*+,./:;<=>?@[\]^_`{|}~-])/gu,L=(e,t)=>{let n=!1;const r=e.posMax,o=e.pos;if(e.src.charCodeAt(o)!==58||e.src.charCodeAt(o+1)!==58)return!1;const c=e.src.charCodeAt(o+2);if(c===32||c===58||t||r-o<5)return!1;for(e.pos=o+2;e.pos<r;){if(e.src.charCodeAt(e.pos)===58&&e.src.charCodeAt(e.pos+1)===58){n=!0;break}e.md.inline.skipToken(e)}if(!n||o+2===e.pos||e.src.charCodeAt(e.pos-1)===32)return e.pos=o,!1;const F=e.src.slice(o+2,e.pos);e.posMax=e.pos,e.pos=o+2;const Y=e.push("icon","i",0);return Y.markup="::",Y.content=F,e.pos=e.posMax+2,e.posMax=r,!0},b$2=(e,{render:t=n=>`<i class="${n}"></i>`}={})=>{e.inline.ruler.before("link","icon",L),e.renderer.rules.icon=(n,r,o,c)=>t(n[r].content,c)},d$2=e=>{const t=e.renderer.rules.image;e.renderer.rules.image=(n,r,o,c,F)=>(n[r].attrSet("loading","lazy"),t(n,r,o,c,F))},g$2=(e,{light:t=["light"],dark:n=["dark"]}={})=>{const r=e.renderer.rules.image;e.renderer.rules.image=(o,c,F,Y,V)=>{const Q=o[c],X=Q.attrGet("src");return X&&(t.some(ue=>X.endsWith(`#${ue}`))?(Q.attrSet("data-mode","lightmode-only"),Q.attrSet("src",X.replace(/#.*?$/,""))):n.some(ue=>X.endsWith(`#${ue}`))&&(Q.attrSet("data-mode","darkmode-only"),Q.attrSet("src",X.replace(/#.*?$/,"")))),r(o,c,F,Y,V)}},k$3=e=>e>=48&&e<=57,R$1=e=>{const t=e.length;let n=e.lastIndexOf("=");if(n===-1||n+3>t||n!==0&&!isSpace(e.charCodeAt(n-1)))return null;const r=e.substring(0,n++).trimEnd();let o=null,c=null;if(k$3(e.charCodeAt(n))){const F=n;for(;n<t&&k$3(e.charCodeAt(n));)n++;if(o=e.substring(F,n),e.charCodeAt(n++)!==120)return null}else if(e.charCodeAt(n++)!==120)return null;if(n<t){const F=n;for(;n<t&&k$3(e.charCodeAt(n));)n++;n>F&&(c=e.substring(F,n))}for(;n<t;){if(!isSpace(e.charCodeAt(n)))return null;n++}return{label:r,width:o,height:c}},v=(e,t)=>{const n=e.env,r=e.pos,o=e.posMax;if(e.src.charCodeAt(e.pos)!==33||e.src.charCodeAt(e.pos+1)!==91)return!1;const c=e.pos+2,F=e.md.helpers.parseLinkLabel(e,e.pos+1,!1);if(F<0)return!1;const Y=e.src.slice(c,F),V=R$1(Y);if(!V)return!1;const{label:Q,width:X,height:ue}=V;let se=F+1,oe="",ce="";if(se<o&&e.src.charCodeAt(se)===40){for(se++;se<o&&isSpace(e.src.charCodeAt(se));)se++;if(se>=o)return!1;let le;le=e.md.helpers.parseLinkDestination(e.src,se,e.posMax),le.ok&&(oe=e.md.normalizeLink(le.str),e.md.validateLink(oe)?se=le.pos:oe="");const de=se;for(;se<o&&isSpace(e.src.charCodeAt(se));se++);if(le=e.md.helpers.parseLinkTitle(e.src,se,e.posMax),se<o&&de!==se&&le.ok)for(ce=le.str,se=le.pos;se<o&&isSpace(e.src.charCodeAt(se));se++);else ce="";if(se>=o||e.src.charCodeAt(se)!==41)return e.pos=r,!1;se++}else{let le="";if(typeof n.references>"u")return!1;for(;se<o&&isSpace(e.src.charCodeAt(se));se++);if(se<o&&e.src.charCodeAt(se)===91){const pe=se+1;se=e.md.helpers.parseLinkLabel(e,se),se>=0?le=e.src.slice(pe,se++):se=F+1}else se=F+1;le||(le=Q);const de=n.references[e.md.utils.normalizeReference(le)];if(!de)return e.pos=r,!1;oe=de.href,ce=de.title??""}if(!t){const le=e.push("image","img",0),de=[["src",oe],["alt",""]];ce&&de.push(["title",ce]),X&&de.push(["width",X]),ue&&de.push(["height",ue]);const pe=[];e.md.inline.parse(Q,e.md,e.env,pe),le.attrs=de,le.children=pe,le.content=Q}return e.pos=se,e.posMax=o,!0},y$2=e=>{e.inline.ruler.before("image","img-size",v)},p$1=(e,t)=>{const n=e.pos,r=e.src.charCodeAt(n);if(t||r!==43)return!1;const o=e.scanDelims(e.pos,!0);let{length:c}=o;if(c<2)return!1;const F=String.fromCharCode(r);if(c%2){const Y=e.push("text","",0);Y.content=F,c--}for(let Y=0;Y<c;Y+=2){const V=e.push("text","",0);V.content=F+F,(o.can_open||o.can_close)&&e.delimiters.push({marker:43,length:0,token:e.tokens.length-1,end:-1,open:o.can_open,close:o.can_close})}return e.pos+=o.length,!0},i$2=(e,t)=>{let n;const r=[],o=t.length;for(let c=0;c<o;c++){const F=t[c];if(F.marker===43&&F.end!==-1){const Y=t[F.end];n=e.tokens[F.token],n.type="ins_open",n.tag="ins",n.nesting=1,n.markup="++",n.content="",n=e.tokens[Y.token],n.type="ins_close",n.tag="ins",n.nesting=-1,n.markup="++",n.content="",e.tokens[Y.token-1].type==="text"&&e.tokens[Y.token-1].content==="+"&&r.push(Y.token-1)}}for(;r.length;){const c=r.pop();let F=c+1;for(;F<e.tokens.length&&e.tokens[F].type==="ins_close";)F++;F--,c!==F&&(n=e.tokens[F],e.tokens[F]=e.tokens[c],e.tokens[c]=n)}},a=e=>{e.inline.ruler.before("emphasis","ins",p$1),e.inline.ruler2.before("emphasis","ins",t=>{i$2(t,t.delimiters);for(const n of t.tokens_meta)n?.delimiters&&i$2(t,n.delimiters);return!0})},d$1=(e,t,n=0)=>{let r=0,o=t-1;for(;o>=n&&e.charCodeAt(o)===92;)r++,o--;return r},k$2=(e,t,n)=>{const r=e.src.charCodeAt(t-1),o=e.src.charCodeAt(t+1);return{canOpen:n||!isSpace(o),canClose:!(o>=48&&o<=57)&&(n||!isSpace(r))}},b$1=e=>(t,n)=>{if(t.src[t.pos]!=="$")return!1;let r=k$2(t,t.pos,e);if(!r.canOpen)return n||(t.pending+="$"),t.pos++,!0;const o=t.pos+1;let c=o,F;const Y=t.src.lastIndexOf("$");if(Y===-1)return!1;for(;(c=t.src.indexOf("$",c))<=Y;){for(F=c-1;t.src.charCodeAt(F)===92;)F--;if((c-F)%2===1)break;c++}if(c===-1)return n||(t.pending+="$"),t.pos=o,!0;if(c-o===0)return n||(t.pending+="$$"),t.pos=o+1,!0;if(r=k$2(t,c,e),!r.canClose)return n||(t.pending+="$"),t.pos=o,!0;if(!n){const V=t.push("math_inline","math",0);V.markup="$",V.content=t.src.slice(o,c)}return t.pos=c+1,!0},C=()=>(e,t)=>{const n=e.pos;if(e.src.charCodeAt(n)!==92||e.src.charCodeAt(n+1)!==40)return!1;let r=n+2,o=!1;const c=e.src.length;for(;r<c-1;){if(e.src.charCodeAt(r)===92&&e.src.charCodeAt(r+1)===41){if(d$1(e.src,n)%2===1)return!1;if(d$1(e.src,r,n+2)%2===0){o=!0;break}}r++}if(!o)return!1;if(!t){const F=e.push("math_inline","math",0);F.markup="\\(",F.content=e.src.slice(n+2,r)}return e.pos=r+2,!0},A=(e,t,n,r)=>{const o=e.bMarks[t]+e.tShift[t];let c=e.eMarks[t];if(o+2>c||e.src.charCodeAt(o)!==36||e.src.charCodeAt(o+1)!==36)return!1;if(r)return!0;let F=e.skipSpacesBack(c,o),Y=o+2,V,Q=!1;F-Y>=2&&e.src.charCodeAt(F-1)===36&&e.src.charCodeAt(F-2)===36?(V=e.src.slice(Y,F-2),Q=!0):V=e.src.slice(Y,c);let X=t,ue="";for(;!Q&&(X++,!(X>=n||(Y=e.bMarks[X]+e.tShift[X],c=e.eMarks[X],Y<c&&e.tShift[X]<e.blkIndent)));)F=e.skipSpacesBack(c,Y),F-Y>=2&&e.src.charCodeAt(F-1)===36&&e.src.charCodeAt(F-2)===36&&(ue=e.src.slice(Y,F-2),Q=!0);e.line=Q?X+1:X;const se=e.push("math_block","math",0);return se.block=!0,se.content=(V?`${V}
|
|
56
|
-
`:"")+e.getLines(t+1,X,e.tShift[t],!0)+(ue?`${ue}
|
|
57
|
-
`:""),se.map=[t,e.line],se.markup="$$",!0},$$1=()=>(e,t,n,r)=>{const o=e.bMarks[t]+e.tShift[t];let c=e.eMarks[t];if(o+2>c||e.src.charCodeAt(o)!==92||e.src.charCodeAt(o+1)!==91)return!1;if(r)return!0;let F=e.skipSpacesBack(c,o),Y=o+2,V,Q=!1;F-Y>=2&&e.src.charCodeAt(F-1)===93&&e.src.charCodeAt(F-2)===92?(V=e.src.slice(Y,F-2),Q=!0):V=e.src.slice(Y,c);let X=t,ue="";for(;!Q&&(X++,!(X>=n||(Y=e.bMarks[X]+e.tShift[X],c=e.eMarks[X],Y<c&&e.tShift[X]<e.blkIndent)));)F=e.skipSpacesBack(c,Y),F-Y>=2&&e.src.charCodeAt(F-1)===93&&e.src.charCodeAt(F-2)===92&&(ue=e.src.slice(Y,F-2).trimEnd(),Q=!0);if(!Q)return!1;e.line=X+1;const se=e.push("math_block","math",0);return se.block=!0,se.content=(V?`${V}
|
|
58
|
-
`:"")+e.getLines(t+1,X,e.tShift[t],!0)+(ue?`${ue}
|
|
59
|
-
`:""),se.map=[t,e.line],se.markup="\\[",!0},m$2={alt:["paragraph","reference","blockquote","list"]},S$1=(e,t)=>{if(typeof t?.render!="function")throw new Error('[@mdit/plugin-tex]: "render" option should be a function');const{allowInlineWithSpace:n=!1,mathFence:r=!1,delimiters:o="dollars",render:c}=t;if(r){const F=e.renderer.rules.fence;e.renderer.rules.fence=(...Y)=>{const[V,Q,,X]=Y,{content:ue,info:se}=V[Q];return se.trim()==="math"?c(ue,!0,X):F(...Y)}}(o==="dollars"||o==="all")&&(e.inline.ruler.after("escape","math_inline_dollar",b$1(n)),e.block.ruler.after("blockquote","math_block_dollar",A,m$2)),(o==="brackets"||o==="all")&&(e.inline.ruler.before("escape","math_inline_bracket",C()),e.block.ruler.after("blockquote","math_block_bracket",$$1(),m$2)),e.renderer.rules.math_inline=(F,Y,V,Q)=>c(F[Y].content,!1,Q),e.renderer.rules.math_block=(F,Y,V,Q)=>c(F[Y].content,!0,Q)},y$1=(e,t,n)=>{let r;try{r=renderToString(e,{...t,displayMode:!1})}catch(o){if(o instanceof ParseError)console.error(o),r=`<span class='katex-error' title='${a$1(o.toString())}'>${a$1(e)}</span>`;else throw o}return n?.(r,!1)??r},S=(e,t,n)=>{let r;try{r=`<p class='katex-block'>${renderToString(e,{...t,displayMode:!0})}</p>
|
|
60
|
-
`}catch(o){if(o instanceof ParseError)console.error(o),r=`<p class='katex-block katex-error' title='${a$1(o.toString())}'>${a$1(e)}</p>
|
|
61
|
-
`;else throw o}return n?.(r,!0)??r},$=(e,t={})=>{const{allowInlineWithSpace:n=!1,delimiters:r,mathFence:o,logger:c=Q=>Q==="newLineInDisplayMode"?"ignore":"warn",macros:F={},transformer:Y,...V}=t;e.use(S$1,{allowInlineWithSpace:n,delimiters:r,mathFence:o,render:(Q,X,ue)=>{const se={strict:(oe,ce,le)=>c(oe,ce,le,ue)??"ignore",macros:F,throwOnError:!1,...V};return X?S(Q,se,Y):y$1(Q,se,Y)}})},i$1=(e,t)=>{const n=e.pos,r=e.src.charCodeAt(n);if(t||r!==61)return!1;const o=e.scanDelims(e.pos,!0);let{length:c}=o;if(c<2)return!1;const F=String.fromCharCode(r);if(c%2){const Y=e.push("text","",0);Y.content=F,c--}for(let Y=0;Y<c;Y+=2){const V=e.push("text","",0);V.content=F+F,(o.can_open||o.can_close)&&e.delimiters.push({marker:61,length:0,token:e.tokens.length-1,end:-1,open:o.can_open,close:o.can_close})}return e.pos+=o.length,!0},l$2=(e,t)=>{let n;const r=[],o=t.length;for(let c=0;c<o;c++){const F=t[c];if(F.marker===61&&F.end!==-1){const Y=t[F.end];n=e.tokens[F.token],n.type="mark_open",n.tag="mark",n.nesting=1,n.markup="==",n.content="",n=e.tokens[Y.token],n.type="mark_close",n.tag="mark",n.nesting=-1,n.markup="==",n.content="",e.tokens[Y.token-1].type==="text"&&e.tokens[Y.token-1].content==="="&&r.push(Y.token-1)}}for(;r.length;){const c=r.pop();let F=c+1;for(;F<e.tokens.length&&e.tokens[F].type==="mark_close";)F++;F--,c!==F&&(n=e.tokens[F],e.tokens[F]=e.tokens[c],e.tokens[c]=n)}},m$1=e=>{e.inline.ruler.before("emphasis","mark",i$1),e.inline.ruler2.before("emphasis","mark",t=>{l$2(t,t.delimiters);for(const n of t.tokens_meta)n?.delimiters&&l$2(t,n.delimiters);return!0})},b=(e,t)=>{let n;const r=e.pos,o=e.posMax;if(t||e.src.charCodeAt(r)!==123||r+4>=o)return!1;e.pos=r+1;let c=0,F=0;for(;e.pos<o;){if(c){if(e.src.charCodeAt(e.pos)===125&&e.src.charCodeAt(e.pos-1)!==92){F=e.pos;break}}else e.src.charCodeAt(e.pos)===58&&e.src.charCodeAt(e.pos-1)!==92&&(c=e.pos);e.pos++}if(!F||r+1===e.pos)return e.pos=r,!1;e.posMax=e.pos,e.pos=r+1;const Y=e.push("ruby_open","ruby",1);Y.markup="{";const V=e.src.slice(r+1,c),Q=e.src.slice(c+1,F),X=V.split(""),ue=Q.split("|");X.length===ue.length?X.forEach((oe,ce)=>{e.md.inline.parse(oe,e.md,e.env,n=[]),e.tokens.push(...n),e.push("rt_open","rt",1),e.md.inline.parse(ue[ce],e.md,e.env,n=[]),e.tokens.push(...n),e.push("rt_close","rt",-1)}):(e.md.inline.parse(V,e.md,e.env,n=[]),e.tokens.push(...n),e.push("rt_open","rt",1),e.md.inline.parse(Q,e.md,e.env,n=[]),e.tokens.push(...n),e.push("rt_close","rt",-1));const se=e.push("ruby_close","ruby",-1);return se.markup="}",e.pos=e.posMax+1,e.posMax=o,!0},k$1=e=>{e.inline.ruler.before("text","ruby",b)},k=(e,t)=>{const n=e.pos,r=e.src.charCodeAt(n);if(t||r!==33)return!1;const o=e.scanDelims(e.pos,!0);let{length:c}=o;if(c<2)return!1;const F=String.fromCharCode(r);if(c%2){const Y=e.push("text","",0);Y.content=F,c--}for(let Y=0;Y<c;Y+=2){const V=e.push("text","",0);V.content=F+F,(o.can_open||o.can_close)&&e.delimiters.push({marker:33,length:0,token:e.tokens.length-1,end:-1,open:o.can_open,close:o.can_close})}return e.pos+=o.length,!0},i=(e,t,{tag:n,attrs:r})=>{let o;const c=[],F=t.length;for(let Y=0;Y<F;Y++){const V=t[Y];if(V.marker===33&&V.end!==-1){const Q=t[V.end];o=e.tokens[V.token],o.type="spoiler_open",o.tag=n,o.nesting=1,o.markup="!!",o.attrs=r,o.content="",o=e.tokens[Q.token],o.type="spoiler_close",o.tag=n,o.nesting=-1,o.markup="!!",o.content="",e.tokens[Q.token-1].type==="text"&&e.tokens[Q.token-1].content==="!"&&c.push(Q.token-1)}}for(;c.length;){const Y=c.pop();let V=Y+1;for(;V<e.tokens.length&&e.tokens[V].type==="spoiler_close";)V++;V--,Y!==V&&(o=e.tokens[V],e.tokens[V]=e.tokens[Y],e.tokens[Y]=o)}},g$1=(e,{tag:t="span",attrs:n=[["class","spoiler"],["tabindex","-1"]]}={})=>{e.inline.ruler.before("emphasis","spoiler",k),e.inline.ruler2.before("emphasis","spoiler",r=>{i(r,r.delimiters,{tag:t,attrs:n});for(const o of r.tokens_meta)o?.delimiters&&i(r,o.delimiters,{tag:t,attrs:n});return!0})},p=(e,t,n=[])=>{for(let r=1,o=e.length;r<o-1;r++){const c=e[r],{content:F,type:Y}=c;if(Y!=="text"||n.includes(F))continue;const V=t.find(({matcher:ue})=>typeof ue=="string"?ue===F:ue.test(F)),Q=e[r-1],X=e[r+1];if(V&&Q.tag===X.tag&&Q.nesting===1&&X.nesting===-1){const ue=V.replacer({tag:Q.tag,content:c.content,attrs:Object.fromEntries(Q.attrs??[])});ue&&(Q.tag=X.tag=ue.tag,Q.attrs=Object.entries(ue.attrs),c.content=ue.content),r+=2}}},h=(e,t={})=>{if(t.config?.length==0)return;const n=({env:r,tokens:o})=>{const c=t.localConfigGetter?.(r)??[];o.forEach(({type:F,children:Y})=>{F==="inline"&&Y&&p(Y,[...c,...t.config??[]])})};e.core.ruler.push("stylize_tag",n)},l$1=(e,t)=>{const n=e.posMax,r=e.pos;if(e.src.charCodeAt(r)!==126||t||r+2>=n)return!1;e.pos=r+1;let o=!1;for(;e.pos<n;){if(e.src.charCodeAt(e.pos)===126){o=!0;break}e.md.inline.skipToken(e)}if(!o||r+1===e.pos)return e.pos=r,!1;const c=e.src.slice(r+1,e.pos);if(/(^|[^\\])(\\\\)*\s/u.exec(c))return e.pos=r,!1;e.posMax=e.pos,e.pos=r+1;const F=e.push("sub_open","sub",1);F.markup="~";const Y=e.push("text","",0);Y.content=c.replace(s,"$1");const V=e.push("sub_close","sub",-1);return V.markup="~",e.pos=e.posMax+1,e.posMax=n,!0},f$2=e=>{e.inline.ruler.after("emphasis","sub",l$1)},l=(e,t)=>{const n=e.posMax,r=e.pos;if(e.src.charCodeAt(r)!==94||t||r+2>=n)return!1;e.pos=r+1;let o=!1;for(;e.pos<n;){if(e.src.charCodeAt(e.pos)===94){o=!0;break}e.md.inline.skipToken(e)}if(!o||r+1===e.pos)return e.pos=r,!1;const c=e.src.slice(r+1,e.pos);if(/(^|[^\\])(\\\\)*\s/u.exec(c))return e.pos=r,!1;e.posMax=e.pos,e.pos=r+1;const F=e.push("sup_open","sup",1);F.markup="^";const Y=e.push("text","",0);Y.content=c.replace(s,"$1");const V=e.push("sup_close","sup",-1);return V.markup="^",e.pos=e.posMax+1,e.posMax=n,!0},f$1=e=>{e.inline.ruler.after("emphasis","sup",l)},j=3,g="@tab",T$1=g+":active",q=g.length,I$1=T$1.length,R=(e,t,n)=>{if(e.src.charCodeAt(t)!==64)return!1;let r=1;for(;r<I$1&&T$1.charCodeAt(r)===e.src.charCodeAt(t+r);r++);const o=r===I$1;if(!o&&r!==q)return!1;const c=t+r,F=e.skipSpaces(c);return F>c&&F<n?{isActive:o,pos:F}:!1},w=(e,t)=>(n,r,o,c)=>{if(t.state!==e)return!1;const F=n.bMarks[r]+n.tShift[r],Y=n.eMarks[r],V=n.sCount[r],Q=R(n,F,Y);if(Q===!1)return!1;if(c)return!0;let X=r+1,ue=!1;for(;X<o;X++){const Fe=n.bMarks[X]+n.tShift[X];if(n.sCount[X]===V&&n.src[Fe]==="@"&&R(n,Fe,n.eMarks[X])){ue=!0;break}}const se=n.parentType,oe=n.lineMax,ce=n.blkIndent;n.parentType="tab",n.lineMax=X-(ue?1:0),n.blkIndent=V;const le=n.push(`${e}_tab_open`,"",1),de=Q.pos,pe=n.skipSpacesBack(Y,de);let be=pe,ge;for(;be>de;){if(n.src.charCodeAt(be)===35){for(ge=be-1;n.src.charCodeAt(ge)===92;)ge--;if((be-ge)%2===1)break}be--}let ye,me="";be!==de?(me=n.src.slice(n.skipSpaces(be+1),pe),ye=n.src.slice(de,n.skipSpacesBack(be,de))):ye=n.src.slice(de,pe),le.block=!0,le.markup=g,le.info=ye,le.meta={active:Q.isActive},me&&(le.meta.id=me),le.map=[r,X-(ue?1:0)],n.md.block.tokenize(n,r+1,X+(ue?0:1));const xe=n.push(`${e}_tab_close`,"",-1);return xe.block=!0,xe.markup="",n.parentType=se,n.lineMax=oe,n.blkIndent=ce,n.line=X+(ue?0:1),!0},z=(e,t)=>(n,r,o,c)=>{const F=n.bMarks[r]+n.tShift[r],Y=n.eMarks[r],V=n.sCount[r];if(n.src.charCodeAt(F)!==58)return!1;let Q=F+1;for(;Q<=Y&&n.src.charCodeAt(Q)===58;)Q++;const X=Q-F;if(X<j)return!1;Q=n.skipSpaces(Q);for(let we=0;we<e.length;we++){if(n.src.charCodeAt(Q)!==e.charCodeAt(we))return!1;Q++}let ue=!1,se;for(;Q!==Y;){if(se=n.src.charCodeAt(Q++),se===35){ue=!0;break}if(!isSpace(se))return!1}if(c)return!0;let oe=r+1,ce=!1,le=Q;for(;oe<o;oe++){const we=n.bMarks[oe]+n.tShift[oe],Te=n.eMarks[oe];if(we<Te&&n.sCount[oe]<V)break;if(n.sCount[oe]===V&&n.src.charCodeAt(we)===58){for(Q=we+1;Q<=Te&&n.src.charCodeAt(Q)===58;Q++);if(Q-we>=X&&(Q=n.skipSpaces(Q),Q>=Te)){ce=!0;break}}}const de=n.parentType,pe=n.lineMax,be=n.blkIndent,ge=t.state;n.parentType=`${e}_tabs`,n.lineMax=oe-(ce?1:0),n.blkIndent=V;const ye=":".repeat(X);let me="";if(ue){le=n.skipSpaces(le);const we=n.skipSpacesBack(Y,le);le<we&&(me=n.src.slice(le,we))}const xe=n.push(`${e}_tabs_open`,"",1);xe.markup=ye,xe.block=!0,xe.info=e,xe.meta={id:me},xe.map=[r,oe-(ce?1:0)],t.state=e,n.md.block.tokenize(n,r+1,oe-(ce?1:0)),t.state=ge;const Fe=n.push(`${e}_tabs_close`,"",-1);return Fe.markup=ye,Fe.block=!0,n.parentType=de,n.lineMax=pe,n.blkIndent=be,n.line=oe+(ce?1:0),!0},O=e=>(t,n)=>{const r=[];let o=-1,c=!1,F=0;for(let Y=n+1;Y<t.length;Y++){const{block:V,meta:Q,type:X,info:ue}=t[Y];if(V){if(X===`${e}_tabs_open`){F++;continue}if(X===`${e}_tabs_close`){if(F===0)break;F--;continue}if(F>0)continue;if(X===`${e}_tab_open`){c=!0,Q.index=r.length,Q.active&&(o===-1?o=r.length:Q.active=!1),r.push({title:ue,index:r.length,id:Q.id,isActive:Q.active});continue}if(X===`${e}_tab_close`)continue;c||(t[Y].type=`${e}_tabs_empty`,t[Y].hidden=!0)}}return{active:o,data:r}},D=(e,t)=>{const{info:n,meta:r}=e[t];return{title:n,index:r.index,id:r.id,isActive:r.active}},J={state:null},E=(e,t)=>{const{name:n="tabs",openRender:r=(V,Q,X,ue,se,oe)=>{const{active:ce,data:le}=V,de=Q[X];de.attrJoin("class",`${n}-tabs-wrapper`),de.meta.id&&de.attrJoin("data-id",de.meta.id);const pe=le.map(({title:be,id:ge},ye)=>`<button type="button" class="${n}-tab-button${ce===ye?" active":""}" data-tab="${ye}"${ge?` data-id="${a$1(ge)}"`:""}${ce===ye?" data-active":""}>${a$1(e.renderInline(be))}</button>`);return`<div${oe.renderAttrs(de)}>
|
|
62
|
-
<div class="${n}-tabs-header">
|
|
63
|
-
${pe.join(`
|
|
64
|
-
`)}
|
|
65
|
-
</div>
|
|
66
|
-
<div class="${n}-tabs-container">
|
|
67
|
-
`},closeRender:o=()=>` </div>
|
|
68
|
-
</div>
|
|
69
|
-
`,tabOpenRender:c=(V,Q,X,ue,se,oe)=>{const ce=Q[X];return ce.attrJoin("class",`${n}-tab-content${V.isActive?" active":""}`),ce.attrSet("data-index",V.index.toString()),V.id&&ce.attrSet("data-id",V.id),V.isActive&&ce.attrJoin("data-active",""),`<div${oe.renderAttrs(Q[X])}>
|
|
70
|
-
`},tabCloseRender:F=()=>`</div>
|
|
71
|
-
`}=t??{},Y=O(n);e.block.ruler.before("fence",`${n}_tabs`,z(n,J),{alt:["paragraph","reference","blockquote","list"]}),e.block.ruler.before("paragraph",`${n}_tab`,w(n,J),{alt:["paragraph","reference","blockquote","list"]}),e.renderer.rules[`${n}_tabs_open`]=(V,Q,X,ue,se)=>{const oe=Y(V,Q);return r(oe,V,Q,X,ue,se)},e.renderer.rules[`${n}_tabs_close`]=o,e.renderer.rules[`${n}_tab_open`]=(V,Q,...X)=>{const ue=D(V,Q);return c(ue,V,Q,...X)},e.renderer.rules[`${n}_tab_close`]=F},d=(e,t,n)=>{const r=e.attrIndex(t),o=[t,n];r<0?e.attrPush(o):e.attrs[r]=o},f=(e,t)=>{const n=e[t].level-1;for(let r=t-1;r>=0;r--)if(e[r].level===n)return r;return-1},x=e=>e?.type==="inline",T=e=>e?.type==="paragraph_open",m=e=>e?.type==="list_item_open",_=e=>/^\[[xX \u00A0]\][ \u00A0]/.test(e.content),I=(e,t)=>x(e[t])&&T(e[t-1])&&m(e[t-2])&&_(e[t]),y=(e,{disabled:t=!0,label:n=!0,containerClass:r="task-list-container",itemClass:o="task-list-item",checkboxClass:c="task-list-item-checkbox",labelClass:F="task-list-item-label"}={})=>{const Y=V=>{const Q=V.tokens;V.env.tasklistId||=0;for(let X=2;X<Q.length;X++)if(I(Q,X)){const ue=Q[X];ue.children??=[],ue.children[0].content=ue.children[0].content.slice(3);const se=`task-item-${V.env.tasklistId++}`;if(n){const ce=new V.Token("label_open","label",1);ce.attrs=[["class",F],["for",se]],ue.children.unshift(ce),ue.children.push(new V.Token("label_close","label",-1))}const oe=new V.Token("checkbox_input","input",0);oe.attrs=[["type","checkbox"],["class",c],["id",se]],/^\[[xX]\][ \u00A0]/.test(ue.content)&&oe.attrs.push(["checked","checked"]),t&&oe.attrs.push(["disabled","disabled"]),ue.children.unshift(oe),d(Q[X-2],"class",o),d(Q[f(Q,X-2)],"class",r)}return!0};e.core.ruler.after("inline","task_list",Y)},ElementTransform=(e,t)=>{if(!t||!t.transform)throw new Error("The `transform` option is required");e.core.ruler.push("token_transform",n=>{const r=t.transform===void 0?function(){}:t.transform;return n.tokens.forEach(o=>{o.children&&o.children.length&&o.children.forEach(c=>{r(c,n,n.env)}),r(o,n,n.env)}),!1})};function parseLinkLabel(e,t,n){let r,o,c,F;const Y=e.posMax,V=e.pos;for(e.pos=t+1,r=1;e.pos<Y;){if(c=e.src.charCodeAt(e.pos),c===93&&(r--,r===0)){o=!0;break}if(F=e.pos,e.md.inline.skipToken(e),c===91){if(F===e.pos-1)r++;else if(n)return e.pos=V,-1}}let Q=-1;return o&&(Q=e.pos),e.pos=V,Q}function parseLinkDestination(e,t,n){let r,o=t;const c={ok:!1,pos:0,str:""};if(e.charCodeAt(o)===60){for(o++;o<n;){if(r=e.charCodeAt(o),r===10||r===60)return c;if(r===62)return c.pos=o+1,c.str=unescapeAll(e.slice(t+1,o)),c.ok=!0,c;if(r===92&&o+1<n){o+=2;continue}o++}return c}let F=0;for(;o<n&&(r=e.charCodeAt(o),!(r===32||r<32||r===127));){if(r===92&&o+1<n){if(e.charCodeAt(o+1)===32)break;o+=2;continue}if(r===40&&(F++,F>32))return c;if(r===41){if(F===0)break;F--}o++}return t===o||F!==0||(c.str=unescapeAll(e.slice(t,o)),c.pos=o,c.ok=!0),c}function parseLinkTitle(e,t,n,r){let o,c=t;const F={ok:!1,can_continue:!1,pos:0,str:"",marker:0};if(r)F.str=r.str,F.marker=r.marker;else{if(c>=n)return F;let Y=e.charCodeAt(c);if(Y!==34&&Y!==39&&Y!==40)return F;t++,c++,Y===40&&(Y=41),F.marker=Y}for(;c<n;){if(o=e.charCodeAt(c),o===F.marker)return F.pos=c+1,F.str+=unescapeAll(e.slice(t,c)),F.ok=!0,F;if(o===40&&F.marker===41)return F;o===92&&c+1<n&&c++,c++}return F.can_continue=!0,F.str+=unescapeAll(e.slice(t,c)),F}const helpers=Object.freeze(Object.defineProperty({__proto__:null,parseLinkDestination,parseLinkLabel,parseLinkTitle},Symbol.toStringTag,{value:"Module"})),default_rules={};default_rules.code_inline=function(e,t,n,r,o){const c=e[t];return"<code"+o.renderAttrs(c)+">"+escapeHtml(c.content)+"</code>"};default_rules.code_block=function(e,t,n,r,o){const c=e[t];return"<pre"+o.renderAttrs(c)+"><code>"+escapeHtml(e[t].content)+`</code></pre>
|
|
72
|
-
`};default_rules.fence=function(e,t,n,r,o){const c=e[t],F=c.info?unescapeAll(c.info).trim():"";let Y="",V="";if(F){const X=F.split(/(\s+)/g);Y=X[0],V=X.slice(2).join("")}let Q;if(n.highlight?Q=n.highlight(c.content,Y,V)||escapeHtml(c.content):Q=escapeHtml(c.content),Q.indexOf("<pre")===0)return Q+`
|
|
73
|
-
`;if(F){const X=c.attrIndex("class"),ue=c.attrs?c.attrs.slice():[];X<0?ue.push(["class",n.langPrefix+Y]):(ue[X]=ue[X].slice(),ue[X][1]+=" "+n.langPrefix+Y);const se={attrs:ue};return`<pre><code${o.renderAttrs(se)}>${Q}</code></pre>
|
|
74
|
-
`}return`<pre><code${o.renderAttrs(c)}>${Q}</code></pre>
|
|
75
|
-
`};default_rules.image=function(e,t,n,r,o){const c=e[t];return c.attrs[c.attrIndex("alt")][1]=o.renderInlineAsText(c.children,n,r),o.renderToken(e,t,n)};default_rules.hardbreak=function(e,t,n){return n.xhtmlOut?`<br />
|
|
76
|
-
`:`<br>
|
|
77
|
-
`};default_rules.softbreak=function(e,t,n){return n.breaks?n.xhtmlOut?`<br />
|
|
78
|
-
`:`<br>
|
|
79
|
-
`:`
|
|
80
|
-
`};default_rules.text=function(e,t){return escapeHtml(e[t].content)};default_rules.html_block=function(e,t){return e[t].content};default_rules.html_inline=function(e,t){return e[t].content};function Renderer(){this.rules=assign$1({},default_rules)}Renderer.prototype.renderAttrs=function e(t){let n,r,o;if(!t.attrs)return"";for(o="",n=0,r=t.attrs.length;n<r;n++)o+=" "+escapeHtml(t.attrs[n][0])+'="'+escapeHtml(t.attrs[n][1])+'"';return o};Renderer.prototype.renderToken=function e(t,n,r){const o=t[n];let c="";if(o.hidden)return"";o.block&&o.nesting!==-1&&n&&t[n-1].hidden&&(c+=`
|
|
81
|
-
`),c+=(o.nesting===-1?"</":"<")+o.tag,c+=this.renderAttrs(o),o.nesting===0&&r.xhtmlOut&&(c+=" /");let F=!1;if(o.block&&(F=!0,o.nesting===1&&n+1<t.length)){const Y=t[n+1];(Y.type==="inline"||Y.hidden||Y.nesting===-1&&Y.tag===o.tag)&&(F=!1)}return c+=F?`>
|
|
82
|
-
`:">",c};Renderer.prototype.renderInline=function(e,t,n){let r="";const o=this.rules;for(let c=0,F=e.length;c<F;c++){const Y=e[c].type;typeof o[Y]<"u"?r+=o[Y](e,c,t,n,this):r+=this.renderToken(e,c,t)}return r};Renderer.prototype.renderInlineAsText=function(e,t,n){let r="";for(let o=0,c=e.length;o<c;o++)switch(e[o].type){case"text":r+=e[o].content;break;case"image":r+=this.renderInlineAsText(e[o].children,t,n);break;case"html_inline":case"html_block":r+=e[o].content;break;case"softbreak":case"hardbreak":r+=`
|
|
83
|
-
`;break}return r};Renderer.prototype.render=function(e,t,n){let r="";const o=this.rules;for(let c=0,F=e.length;c<F;c++){const Y=e[c].type;Y==="inline"?r+=this.renderInline(e[c].children,t,n):typeof o[Y]<"u"?r+=o[Y](e,c,t,n,this):r+=this.renderToken(e,c,t,n)}return r};function Ruler(){this.__rules__=[],this.__cache__=null}Ruler.prototype.__find__=function(e){for(let t=0;t<this.__rules__.length;t++)if(this.__rules__[t].name===e)return t;return-1};Ruler.prototype.__compile__=function(){const e=this,t=[""];e.__rules__.forEach(function(n){n.enabled&&n.alt.forEach(function(r){t.indexOf(r)<0&&t.push(r)})}),e.__cache__={},t.forEach(function(n){e.__cache__[n]=[],e.__rules__.forEach(function(r){r.enabled&&(n&&r.alt.indexOf(n)<0||e.__cache__[n].push(r.fn))})})};Ruler.prototype.at=function(e,t,n){const r=this.__find__(e),o=n||{};if(r===-1)throw new Error("Parser rule not found: "+e);this.__rules__[r].fn=t,this.__rules__[r].alt=o.alt||[],this.__cache__=null};Ruler.prototype.before=function(e,t,n,r){const o=this.__find__(e),c=r||{};if(o===-1)throw new Error("Parser rule not found: "+e);this.__rules__.splice(o,0,{name:t,enabled:!0,fn:n,alt:c.alt||[]}),this.__cache__=null};Ruler.prototype.after=function(e,t,n,r){const o=this.__find__(e),c=r||{};if(o===-1)throw new Error("Parser rule not found: "+e);this.__rules__.splice(o+1,0,{name:t,enabled:!0,fn:n,alt:c.alt||[]}),this.__cache__=null};Ruler.prototype.push=function(e,t,n){const r=n||{};this.__rules__.push({name:e,enabled:!0,fn:t,alt:r.alt||[]}),this.__cache__=null};Ruler.prototype.enable=function(e,t){Array.isArray(e)||(e=[e]);const n=[];return e.forEach(function(r){const o=this.__find__(r);if(o<0){if(t)return;throw new Error("Rules manager: invalid rule name "+r)}this.__rules__[o].enabled=!0,n.push(r)},this),this.__cache__=null,n};Ruler.prototype.enableOnly=function(e,t){Array.isArray(e)||(e=[e]),this.__rules__.forEach(function(n){n.enabled=!1}),this.enable(e,t)};Ruler.prototype.disable=function(e,t){Array.isArray(e)||(e=[e]);const n=[];return e.forEach(function(r){const o=this.__find__(r);if(o<0){if(t)return;throw new Error("Rules manager: invalid rule name "+r)}this.__rules__[o].enabled=!1,n.push(r)},this),this.__cache__=null,n};Ruler.prototype.getRules=function(e){return this.__cache__===null&&this.__compile__(),this.__cache__[e]||[]};function Token(e,t,n){this.type=e,this.tag=t,this.attrs=null,this.map=null,this.nesting=n,this.level=0,this.children=null,this.content="",this.markup="",this.info="",this.meta=null,this.block=!1,this.hidden=!1}Token.prototype.attrIndex=function e(t){if(!this.attrs)return-1;const n=this.attrs;for(let r=0,o=n.length;r<o;r++)if(n[r][0]===t)return r;return-1};Token.prototype.attrPush=function e(t){this.attrs?this.attrs.push(t):this.attrs=[t]};Token.prototype.attrSet=function e(t,n){const r=this.attrIndex(t),o=[t,n];r<0?this.attrPush(o):this.attrs[r]=o};Token.prototype.attrGet=function e(t){const n=this.attrIndex(t);let r=null;return n>=0&&(r=this.attrs[n][1]),r};Token.prototype.attrJoin=function e(t,n){const r=this.attrIndex(t);r<0?this.attrPush([t,n]):this.attrs[r][1]=this.attrs[r][1]+" "+n};function StateCore(e,t,n){this.src=e,this.env=n,this.tokens=[],this.inlineMode=!1,this.md=t}StateCore.prototype.Token=Token;const NEWLINES_RE=/\r\n?|\n/g,NULL_RE=/\0/g;function normalize(e){let t;t=e.src.replace(NEWLINES_RE,`
|
|
84
|
-
`),t=t.replace(NULL_RE,"�"),e.src=t}function block(e){let t;e.inlineMode?(t=new e.Token("inline","",0),t.content=e.src,t.map=[0,1],t.children=[],e.tokens.push(t)):e.md.block.parse(e.src,e.md,e.env,e.tokens)}function inline(e){const t=e.tokens;for(let n=0,r=t.length;n<r;n++){const o=t[n];o.type==="inline"&&e.md.inline.parse(o.content,e.md,e.env,o.children)}}function isLinkOpen$1(e){return/^<a[>\s]/i.test(e)}function isLinkClose$1(e){return/^<\/a\s*>/i.test(e)}function linkify$1(e){const t=e.tokens;if(e.md.options.linkify)for(let n=0,r=t.length;n<r;n++){if(t[n].type!=="inline"||!e.md.linkify.pretest(t[n].content))continue;let o=t[n].children,c=0;for(let F=o.length-1;F>=0;F--){const Y=o[F];if(Y.type==="link_close"){for(F--;o[F].level!==Y.level&&o[F].type!=="link_open";)F--;continue}if(Y.type==="html_inline"&&(isLinkOpen$1(Y.content)&&c>0&&c--,isLinkClose$1(Y.content)&&c++),!(c>0)&&Y.type==="text"&&e.md.linkify.test(Y.content)){const V=Y.content;let Q=e.md.linkify.match(V);const X=[];let ue=Y.level,se=0;Q.length>0&&Q[0].index===0&&F>0&&o[F-1].type==="text_special"&&(Q=Q.slice(1));for(let oe=0;oe<Q.length;oe++){const ce=Q[oe].url,le=e.md.normalizeLink(ce);if(!e.md.validateLink(le))continue;let de=Q[oe].text;Q[oe].schema?Q[oe].schema==="mailto:"&&!/^mailto:/i.test(de)?de=e.md.normalizeLinkText("mailto:"+de).replace(/^mailto:/,""):de=e.md.normalizeLinkText(de):de=e.md.normalizeLinkText("http://"+de).replace(/^http:\/\//,"");const pe=Q[oe].index;if(pe>se){const me=new e.Token("text","",0);me.content=V.slice(se,pe),me.level=ue,X.push(me)}const be=new e.Token("link_open","a",1);be.attrs=[["href",le]],be.level=ue++,be.markup="linkify",be.info="auto",X.push(be);const ge=new e.Token("text","",0);ge.content=de,ge.level=ue,X.push(ge);const ye=new e.Token("link_close","a",-1);ye.level=--ue,ye.markup="linkify",ye.info="auto",X.push(ye),se=Q[oe].lastIndex}if(se<V.length){const oe=new e.Token("text","",0);oe.content=V.slice(se),oe.level=ue,X.push(oe)}t[n].children=o=arrayReplaceAt(o,F,X)}}}}const RARE_RE=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,SCOPED_ABBR_TEST_RE=/\((c|tm|r)\)/i,SCOPED_ABBR_RE=/\((c|tm|r)\)/ig,SCOPED_ABBR={c:"©",r:"®",tm:"™"};function replaceFn(e,t){return SCOPED_ABBR[t.toLowerCase()]}function replace_scoped(e){let t=0;for(let n=e.length-1;n>=0;n--){const r=e[n];r.type==="text"&&!t&&(r.content=r.content.replace(SCOPED_ABBR_RE,replaceFn)),r.type==="link_open"&&r.info==="auto"&&t--,r.type==="link_close"&&r.info==="auto"&&t++}}function replace_rare(e){let t=0;for(let n=e.length-1;n>=0;n--){const r=e[n];r.type==="text"&&!t&&RARE_RE.test(r.content)&&(r.content=r.content.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---(?=[^-]|$)/mg,"$1—").replace(/(^|\s)--(?=\s|$)/mg,"$1–").replace(/(^|[^-\s])--(?=[^-\s]|$)/mg,"$1–")),r.type==="link_open"&&r.info==="auto"&&t--,r.type==="link_close"&&r.info==="auto"&&t++}}function replace(e){let t;if(e.md.options.typographer)for(t=e.tokens.length-1;t>=0;t--)e.tokens[t].type==="inline"&&(SCOPED_ABBR_TEST_RE.test(e.tokens[t].content)&&replace_scoped(e.tokens[t].children),RARE_RE.test(e.tokens[t].content)&&replace_rare(e.tokens[t].children))}const QUOTE_TEST_RE=/['"]/,QUOTE_RE=/['"]/g,APOSTROPHE="’";function replaceAt(e,t,n){return e.slice(0,t)+n+e.slice(t+1)}function process_inlines(e,t){let n;const r=[];for(let o=0;o<e.length;o++){const c=e[o],F=e[o].level;for(n=r.length-1;n>=0&&!(r[n].level<=F);n--);if(r.length=n+1,c.type!=="text")continue;let Y=c.content,V=0,Q=Y.length;e:for(;V<Q;){QUOTE_RE.lastIndex=V;const X=QUOTE_RE.exec(Y);if(!X)break;let ue=!0,se=!0;V=X.index+1;const oe=X[0]==="'";let ce=32;if(X.index-1>=0)ce=Y.charCodeAt(X.index-1);else for(n=o-1;n>=0&&!(e[n].type==="softbreak"||e[n].type==="hardbreak");n--)if(e[n].content){ce=e[n].content.charCodeAt(e[n].content.length-1);break}let le=32;if(V<Q)le=Y.charCodeAt(V);else for(n=o+1;n<e.length&&!(e[n].type==="softbreak"||e[n].type==="hardbreak");n++)if(e[n].content){le=e[n].content.charCodeAt(0);break}const de=isMdAsciiPunct(ce)||isPunctChar(String.fromCharCode(ce)),pe=isMdAsciiPunct(le)||isPunctChar(String.fromCharCode(le)),be=isWhiteSpace(ce),ge=isWhiteSpace(le);if(ge?ue=!1:pe&&(be||de||(ue=!1)),be?se=!1:de&&(ge||pe||(se=!1)),le===34&&X[0]==='"'&&ce>=48&&ce<=57&&(se=ue=!1),ue&&se&&(ue=de,se=pe),!ue&&!se){oe&&(c.content=replaceAt(c.content,X.index,APOSTROPHE));continue}if(se)for(n=r.length-1;n>=0;n--){let ye=r[n];if(r[n].level<F)break;if(ye.single===oe&&r[n].level===F){ye=r[n];let me,xe;oe?(me=t.md.options.quotes[2],xe=t.md.options.quotes[3]):(me=t.md.options.quotes[0],xe=t.md.options.quotes[1]),c.content=replaceAt(c.content,X.index,xe),e[ye.token].content=replaceAt(e[ye.token].content,ye.pos,me),V+=xe.length-1,ye.token===o&&(V+=me.length-1),Y=c.content,Q=Y.length,r.length=n;continue e}}ue?r.push({token:o,pos:X.index,single:oe,level:F}):se&&oe&&(c.content=replaceAt(c.content,X.index,APOSTROPHE))}}}function smartquotes(e){if(e.md.options.typographer)for(let t=e.tokens.length-1;t>=0;t--)e.tokens[t].type!=="inline"||!QUOTE_TEST_RE.test(e.tokens[t].content)||process_inlines(e.tokens[t].children,e)}function text_join(e){let t,n;const r=e.tokens,o=r.length;for(let c=0;c<o;c++){if(r[c].type!=="inline")continue;const F=r[c].children,Y=F.length;for(t=0;t<Y;t++)F[t].type==="text_special"&&(F[t].type="text");for(t=n=0;t<Y;t++)F[t].type==="text"&&t+1<Y&&F[t+1].type==="text"?F[t+1].content=F[t].content+F[t+1].content:(t!==n&&(F[n]=F[t]),n++);t!==n&&(F.length=n)}}const _rules$2=[["normalize",normalize],["block",block],["inline",inline],["linkify",linkify$1],["replacements",replace],["smartquotes",smartquotes],["text_join",text_join]];function Core(){this.ruler=new Ruler;for(let e=0;e<_rules$2.length;e++)this.ruler.push(_rules$2[e][0],_rules$2[e][1])}Core.prototype.process=function(e){const t=this.ruler.getRules("");for(let n=0,r=t.length;n<r;n++)t[n](e)};Core.prototype.State=StateCore;function StateBlock(e,t,n,r){this.src=e,this.md=t,this.env=n,this.tokens=r,this.bMarks=[],this.eMarks=[],this.tShift=[],this.sCount=[],this.bsCount=[],this.blkIndent=0,this.line=0,this.lineMax=0,this.tight=!1,this.ddIndent=-1,this.listIndent=-1,this.parentType="root",this.level=0;const o=this.src;for(let c=0,F=0,Y=0,V=0,Q=o.length,X=!1;F<Q;F++){const ue=o.charCodeAt(F);if(!X)if(isSpace(ue)){Y++,ue===9?V+=4-V%4:V++;continue}else X=!0;(ue===10||F===Q-1)&&(ue!==10&&F++,this.bMarks.push(c),this.eMarks.push(F),this.tShift.push(Y),this.sCount.push(V),this.bsCount.push(0),X=!1,Y=0,V=0,c=F+1)}this.bMarks.push(o.length),this.eMarks.push(o.length),this.tShift.push(0),this.sCount.push(0),this.bsCount.push(0),this.lineMax=this.bMarks.length-1}StateBlock.prototype.push=function(e,t,n){const r=new Token(e,t,n);return r.block=!0,n<0&&this.level--,r.level=this.level,n>0&&this.level++,this.tokens.push(r),r};StateBlock.prototype.isEmpty=function e(t){return this.bMarks[t]+this.tShift[t]>=this.eMarks[t]};StateBlock.prototype.skipEmptyLines=function e(t){for(let n=this.lineMax;t<n&&!(this.bMarks[t]+this.tShift[t]<this.eMarks[t]);t++);return t};StateBlock.prototype.skipSpaces=function e(t){for(let n=this.src.length;t<n;t++){const r=this.src.charCodeAt(t);if(!isSpace(r))break}return t};StateBlock.prototype.skipSpacesBack=function e(t,n){if(t<=n)return t;for(;t>n;)if(!isSpace(this.src.charCodeAt(--t)))return t+1;return t};StateBlock.prototype.skipChars=function e(t,n){for(let r=this.src.length;t<r&&this.src.charCodeAt(t)===n;t++);return t};StateBlock.prototype.skipCharsBack=function e(t,n,r){if(t<=r)return t;for(;t>r;)if(n!==this.src.charCodeAt(--t))return t+1;return t};StateBlock.prototype.getLines=function e(t,n,r,o){if(t>=n)return"";const c=new Array(n-t);for(let F=0,Y=t;Y<n;Y++,F++){let V=0;const Q=this.bMarks[Y];let X=Q,ue;for(Y+1<n||o?ue=this.eMarks[Y]+1:ue=this.eMarks[Y];X<ue&&V<r;){const se=this.src.charCodeAt(X);if(isSpace(se))se===9?V+=4-(V+this.bsCount[Y])%4:V++;else if(X-Q<this.tShift[Y])V++;else break;X++}V>r?c[F]=new Array(V-r+1).join(" ")+this.src.slice(X,ue):c[F]=this.src.slice(X,ue)}return c.join("")};StateBlock.prototype.Token=Token;const MAX_AUTOCOMPLETED_CELLS=65536;function getLine(e,t){const n=e.bMarks[t]+e.tShift[t],r=e.eMarks[t];return e.src.slice(n,r)}function escapedSplit(e){const t=[],n=e.length;let r=0,o=e.charCodeAt(r),c=!1,F=0,Y="";for(;r<n;)o===124&&(c?(Y+=e.substring(F,r-1),F=r):(t.push(Y+e.substring(F,r)),Y="",F=r+1)),c=o===92,r++,o=e.charCodeAt(r);return t.push(Y+e.substring(F)),t}function table(e,t,n,r){if(t+2>n)return!1;let o=t+1;if(e.sCount[o]<e.blkIndent||e.sCount[o]-e.blkIndent>=4)return!1;let c=e.bMarks[o]+e.tShift[o];if(c>=e.eMarks[o])return!1;const F=e.src.charCodeAt(c++);if(F!==124&&F!==45&&F!==58||c>=e.eMarks[o])return!1;const Y=e.src.charCodeAt(c++);if(Y!==124&&Y!==45&&Y!==58&&!isSpace(Y)||F===45&&isSpace(Y))return!1;for(;c<e.eMarks[o];){const ye=e.src.charCodeAt(c);if(ye!==124&&ye!==45&&ye!==58&&!isSpace(ye))return!1;c++}let V=getLine(e,t+1),Q=V.split("|");const X=[];for(let ye=0;ye<Q.length;ye++){const me=Q[ye].trim();if(!me){if(ye===0||ye===Q.length-1)continue;return!1}if(!/^:?-+:?$/.test(me))return!1;me.charCodeAt(me.length-1)===58?X.push(me.charCodeAt(0)===58?"center":"right"):me.charCodeAt(0)===58?X.push("left"):X.push("")}if(V=getLine(e,t).trim(),V.indexOf("|")===-1||e.sCount[t]-e.blkIndent>=4)return!1;Q=escapedSplit(V),Q.length&&Q[0]===""&&Q.shift(),Q.length&&Q[Q.length-1]===""&&Q.pop();const ue=Q.length;if(ue===0||ue!==X.length)return!1;if(r)return!0;const se=e.parentType;e.parentType="table";const oe=e.md.block.ruler.getRules("blockquote"),ce=e.push("table_open","table",1),le=[t,0];ce.map=le;const de=e.push("thead_open","thead",1);de.map=[t,t+1];const pe=e.push("tr_open","tr",1);pe.map=[t,t+1];for(let ye=0;ye<Q.length;ye++){const me=e.push("th_open","th",1);X[ye]&&(me.attrs=[["style","text-align:"+X[ye]]]);const xe=e.push("inline","",0);xe.content=Q[ye].trim(),xe.children=[],e.push("th_close","th",-1)}e.push("tr_close","tr",-1),e.push("thead_close","thead",-1);let be,ge=0;for(o=t+2;o<n&&!(e.sCount[o]<e.blkIndent);o++){let ye=!1;for(let xe=0,Fe=oe.length;xe<Fe;xe++)if(oe[xe](e,o,n,!0)){ye=!0;break}if(ye||(V=getLine(e,o).trim(),!V)||e.sCount[o]-e.blkIndent>=4||(Q=escapedSplit(V),Q.length&&Q[0]===""&&Q.shift(),Q.length&&Q[Q.length-1]===""&&Q.pop(),ge+=ue-Q.length,ge>MAX_AUTOCOMPLETED_CELLS))break;if(o===t+2){const xe=e.push("tbody_open","tbody",1);xe.map=be=[t+2,0]}const me=e.push("tr_open","tr",1);me.map=[o,o+1];for(let xe=0;xe<ue;xe++){const Fe=e.push("td_open","td",1);X[xe]&&(Fe.attrs=[["style","text-align:"+X[xe]]]);const we=e.push("inline","",0);we.content=Q[xe]?Q[xe].trim():"",we.children=[],e.push("td_close","td",-1)}e.push("tr_close","tr",-1)}return be&&(e.push("tbody_close","tbody",-1),be[1]=o),e.push("table_close","table",-1),le[1]=o,e.parentType=se,e.line=o,!0}function code(e,t,n){if(e.sCount[t]-e.blkIndent<4)return!1;let r=t+1,o=r;for(;r<n;){if(e.isEmpty(r)){r++;continue}if(e.sCount[r]-e.blkIndent>=4){r++,o=r;continue}break}e.line=o;const c=e.push("code_block","code",0);return c.content=e.getLines(t,o,4+e.blkIndent,!1)+`
|
|
85
|
-
`,c.map=[t,e.line],!0}function fence(e,t,n,r){let o=e.bMarks[t]+e.tShift[t],c=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4||o+3>c)return!1;const F=e.src.charCodeAt(o);if(F!==126&&F!==96)return!1;let Y=o;o=e.skipChars(o,F);let V=o-Y;if(V<3)return!1;const Q=e.src.slice(Y,o),X=e.src.slice(o,c);if(F===96&&X.indexOf(String.fromCharCode(F))>=0)return!1;if(r)return!0;let ue=t,se=!1;for(;ue++,!(ue>=n||(o=Y=e.bMarks[ue]+e.tShift[ue],c=e.eMarks[ue],o<c&&e.sCount[ue]<e.blkIndent));)if(e.src.charCodeAt(o)===F&&!(e.sCount[ue]-e.blkIndent>=4)&&(o=e.skipChars(o,F),!(o-Y<V)&&(o=e.skipSpaces(o),!(o<c)))){se=!0;break}V=e.sCount[t],e.line=ue+(se?1:0);const oe=e.push("fence","code",0);return oe.info=X,oe.content=e.getLines(t+1,ue,V,!0),oe.markup=Q,oe.map=[t,e.line],!0}function blockquote(e,t,n,r){let o=e.bMarks[t]+e.tShift[t],c=e.eMarks[t];const F=e.lineMax;if(e.sCount[t]-e.blkIndent>=4||e.src.charCodeAt(o)!==62)return!1;if(r)return!0;const Y=[],V=[],Q=[],X=[],ue=e.md.block.ruler.getRules("blockquote"),se=e.parentType;e.parentType="blockquote";let oe=!1,ce;for(ce=t;ce<n;ce++){const ge=e.sCount[ce]<e.blkIndent;if(o=e.bMarks[ce]+e.tShift[ce],c=e.eMarks[ce],o>=c)break;if(e.src.charCodeAt(o++)===62&&!ge){let me=e.sCount[ce]+1,xe,Fe;e.src.charCodeAt(o)===32?(o++,me++,Fe=!1,xe=!0):e.src.charCodeAt(o)===9?(xe=!0,(e.bsCount[ce]+me)%4===3?(o++,me++,Fe=!1):Fe=!0):xe=!1;let we=me;for(Y.push(e.bMarks[ce]),e.bMarks[ce]=o;o<c;){const Te=e.src.charCodeAt(o);if(isSpace(Te))Te===9?we+=4-(we+e.bsCount[ce]+(Fe?1:0))%4:we++;else break;o++}oe=o>=c,V.push(e.bsCount[ce]),e.bsCount[ce]=e.sCount[ce]+1+(xe?1:0),Q.push(e.sCount[ce]),e.sCount[ce]=we-me,X.push(e.tShift[ce]),e.tShift[ce]=o-e.bMarks[ce];continue}if(oe)break;let ye=!1;for(let me=0,xe=ue.length;me<xe;me++)if(ue[me](e,ce,n,!0)){ye=!0;break}if(ye){e.lineMax=ce,e.blkIndent!==0&&(Y.push(e.bMarks[ce]),V.push(e.bsCount[ce]),X.push(e.tShift[ce]),Q.push(e.sCount[ce]),e.sCount[ce]-=e.blkIndent);break}Y.push(e.bMarks[ce]),V.push(e.bsCount[ce]),X.push(e.tShift[ce]),Q.push(e.sCount[ce]),e.sCount[ce]=-1}const le=e.blkIndent;e.blkIndent=0;const de=e.push("blockquote_open","blockquote",1);de.markup=">";const pe=[t,0];de.map=pe,e.md.block.tokenize(e,t,ce);const be=e.push("blockquote_close","blockquote",-1);be.markup=">",e.lineMax=F,e.parentType=se,pe[1]=e.line;for(let ge=0;ge<X.length;ge++)e.bMarks[ge+t]=Y[ge],e.tShift[ge+t]=X[ge],e.sCount[ge+t]=Q[ge],e.bsCount[ge+t]=V[ge];return e.blkIndent=le,!0}function hr(e,t,n,r){const o=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;let c=e.bMarks[t]+e.tShift[t];const F=e.src.charCodeAt(c++);if(F!==42&&F!==45&&F!==95)return!1;let Y=1;for(;c<o;){const Q=e.src.charCodeAt(c++);if(Q!==F&&!isSpace(Q))return!1;Q===F&&Y++}if(Y<3)return!1;if(r)return!0;e.line=t+1;const V=e.push("hr","hr",0);return V.map=[t,e.line],V.markup=Array(Y+1).join(String.fromCharCode(F)),!0}function skipBulletListMarker(e,t){const n=e.eMarks[t];let r=e.bMarks[t]+e.tShift[t];const o=e.src.charCodeAt(r++);if(o!==42&&o!==45&&o!==43)return-1;if(r<n){const c=e.src.charCodeAt(r);if(!isSpace(c))return-1}return r}function skipOrderedListMarker(e,t){const n=e.bMarks[t]+e.tShift[t],r=e.eMarks[t];let o=n;if(o+1>=r)return-1;let c=e.src.charCodeAt(o++);if(c<48||c>57)return-1;for(;;){if(o>=r)return-1;if(c=e.src.charCodeAt(o++),c>=48&&c<=57){if(o-n>=10)return-1;continue}if(c===41||c===46)break;return-1}return o<r&&(c=e.src.charCodeAt(o),!isSpace(c))?-1:o}function markTightParagraphs(e,t){const n=e.level+2;for(let r=t+2,o=e.tokens.length-2;r<o;r++)e.tokens[r].level===n&&e.tokens[r].type==="paragraph_open"&&(e.tokens[r+2].hidden=!0,e.tokens[r].hidden=!0,r+=2)}function list(e,t,n,r){let o,c,F,Y,V=t,Q=!0;if(e.sCount[V]-e.blkIndent>=4||e.listIndent>=0&&e.sCount[V]-e.listIndent>=4&&e.sCount[V]<e.blkIndent)return!1;let X=!1;r&&e.parentType==="paragraph"&&e.sCount[V]>=e.blkIndent&&(X=!0);let ue,se,oe;if((oe=skipOrderedListMarker(e,V))>=0){if(ue=!0,F=e.bMarks[V]+e.tShift[V],se=Number(e.src.slice(F,oe-1)),X&&se!==1)return!1}else if((oe=skipBulletListMarker(e,V))>=0)ue=!1;else return!1;if(X&&e.skipSpaces(oe)>=e.eMarks[V])return!1;if(r)return!0;const ce=e.src.charCodeAt(oe-1),le=e.tokens.length;ue?(Y=e.push("ordered_list_open","ol",1),se!==1&&(Y.attrs=[["start",se]])):Y=e.push("bullet_list_open","ul",1);const de=[V,0];Y.map=de,Y.markup=String.fromCharCode(ce);let pe=!1;const be=e.md.block.ruler.getRules("list"),ge=e.parentType;for(e.parentType="list";V<n;){c=oe,o=e.eMarks[V];const ye=e.sCount[V]+oe-(e.bMarks[V]+e.tShift[V]);let me=ye;for(;c<o;){const Pe=e.src.charCodeAt(c);if(Pe===9)me+=4-(me+e.bsCount[V])%4;else if(Pe===32)me++;else break;c++}const xe=c;let Fe;xe>=o?Fe=1:Fe=me-ye,Fe>4&&(Fe=1);const we=ye+Fe;Y=e.push("list_item_open","li",1),Y.markup=String.fromCharCode(ce);const Te=[V,0];Y.map=Te,ue&&(Y.info=e.src.slice(F,oe-1));const Be=e.tight,Oe=e.tShift[V],ve=e.sCount[V],Me=e.listIndent;if(e.listIndent=e.blkIndent,e.blkIndent=we,e.tight=!0,e.tShift[V]=xe-e.bMarks[V],e.sCount[V]=me,xe>=o&&e.isEmpty(V+1)?e.line=Math.min(e.line+2,n):e.md.block.tokenize(e,V,n,!0),(!e.tight||pe)&&(Q=!1),pe=e.line-V>1&&e.isEmpty(e.line-1),e.blkIndent=e.listIndent,e.listIndent=Me,e.tShift[V]=Oe,e.sCount[V]=ve,e.tight=Be,Y=e.push("list_item_close","li",-1),Y.markup=String.fromCharCode(ce),V=e.line,Te[1]=V,V>=n||e.sCount[V]<e.blkIndent||e.sCount[V]-e.blkIndent>=4)break;let $e=!1;for(let Pe=0,Je=be.length;Pe<Je;Pe++)if(be[Pe](e,V,n,!0)){$e=!0;break}if($e)break;if(ue){if(oe=skipOrderedListMarker(e,V),oe<0)break;F=e.bMarks[V]+e.tShift[V]}else if(oe=skipBulletListMarker(e,V),oe<0)break;if(ce!==e.src.charCodeAt(oe-1))break}return ue?Y=e.push("ordered_list_close","ol",-1):Y=e.push("bullet_list_close","ul",-1),Y.markup=String.fromCharCode(ce),de[1]=V,e.line=V,e.parentType=ge,Q&&markTightParagraphs(e,le),!0}function reference(e,t,n,r){let o=e.bMarks[t]+e.tShift[t],c=e.eMarks[t],F=t+1;if(e.sCount[t]-e.blkIndent>=4||e.src.charCodeAt(o)!==91)return!1;function Y(be){const ge=e.lineMax;if(be>=ge||e.isEmpty(be))return null;let ye=!1;if(e.sCount[be]-e.blkIndent>3&&(ye=!0),e.sCount[be]<0&&(ye=!0),!ye){const Fe=e.md.block.ruler.getRules("reference"),we=e.parentType;e.parentType="reference";let Te=!1;for(let Be=0,Oe=Fe.length;Be<Oe;Be++)if(Fe[Be](e,be,ge,!0)){Te=!0;break}if(e.parentType=we,Te)return null}const me=e.bMarks[be]+e.tShift[be],xe=e.eMarks[be];return e.src.slice(me,xe+1)}let V=e.src.slice(o,c+1);c=V.length;let Q=-1;for(o=1;o<c;o++){const be=V.charCodeAt(o);if(be===91)return!1;if(be===93){Q=o;break}else if(be===10){const ge=Y(F);ge!==null&&(V+=ge,c=V.length,F++)}else if(be===92&&(o++,o<c&&V.charCodeAt(o)===10)){const ge=Y(F);ge!==null&&(V+=ge,c=V.length,F++)}}if(Q<0||V.charCodeAt(Q+1)!==58)return!1;for(o=Q+2;o<c;o++){const be=V.charCodeAt(o);if(be===10){const ge=Y(F);ge!==null&&(V+=ge,c=V.length,F++)}else if(!isSpace(be))break}const X=e.md.helpers.parseLinkDestination(V,o,c);if(!X.ok)return!1;const ue=e.md.normalizeLink(X.str);if(!e.md.validateLink(ue))return!1;o=X.pos;const se=o,oe=F,ce=o;for(;o<c;o++){const be=V.charCodeAt(o);if(be===10){const ge=Y(F);ge!==null&&(V+=ge,c=V.length,F++)}else if(!isSpace(be))break}let le=e.md.helpers.parseLinkTitle(V,o,c);for(;le.can_continue;){const be=Y(F);if(be===null)break;V+=be,o=c,c=V.length,F++,le=e.md.helpers.parseLinkTitle(V,o,c,le)}let de;for(o<c&&ce!==o&&le.ok?(de=le.str,o=le.pos):(de="",o=se,F=oe);o<c;){const be=V.charCodeAt(o);if(!isSpace(be))break;o++}if(o<c&&V.charCodeAt(o)!==10&&de)for(de="",o=se,F=oe;o<c;){const be=V.charCodeAt(o);if(!isSpace(be))break;o++}if(o<c&&V.charCodeAt(o)!==10)return!1;const pe=normalizeReference(V.slice(1,Q));return pe?(r||(typeof e.env.references>"u"&&(e.env.references={}),typeof e.env.references[pe]>"u"&&(e.env.references[pe]={title:de,href:ue}),e.line=F),!0):!1}const block_names=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],attr_name="[a-zA-Z_:][a-zA-Z0-9:._-]*",unquoted="[^\"'=<>`\\x00-\\x20]+",single_quoted="'[^']*'",double_quoted='"[^"]*"',attr_value="(?:"+unquoted+"|"+single_quoted+"|"+double_quoted+")",attribute="(?:\\s+"+attr_name+"(?:\\s*=\\s*"+attr_value+")?)",open_tag="<[A-Za-z][A-Za-z0-9\\-]*"+attribute+"*\\s*\\/?>",close_tag="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",comment="<!---?>|<!--(?:[^-]|-[^-]|--[^>])*-->",processing="<[?][\\s\\S]*?[?]>",declaration="<![A-Za-z][^>]*>",cdata="<!\\[CDATA\\[[\\s\\S]*?\\]\\]>",HTML_TAG_RE=new RegExp("^(?:"+open_tag+"|"+close_tag+"|"+comment+"|"+processing+"|"+declaration+"|"+cdata+")"),HTML_OPEN_CLOSE_TAG_RE=new RegExp("^(?:"+open_tag+"|"+close_tag+")"),HTML_SEQUENCES=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^<!--/,/-->/,!0],[/^<\?/,/\?>/,!0],[/^<![A-Z]/,/>/,!0],[/^<!\[CDATA\[/,/\]\]>/,!0],[new RegExp("^</?("+block_names.join("|")+")(?=(\\s|/?>|$))","i"),/^$/,!0],[new RegExp(HTML_OPEN_CLOSE_TAG_RE.source+"\\s*$"),/^$/,!1]];function html_block(e,t,n,r){let o=e.bMarks[t]+e.tShift[t],c=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4||!e.md.options.html||e.src.charCodeAt(o)!==60)return!1;let F=e.src.slice(o,c),Y=0;for(;Y<HTML_SEQUENCES.length&&!HTML_SEQUENCES[Y][0].test(F);Y++);if(Y===HTML_SEQUENCES.length)return!1;if(r)return HTML_SEQUENCES[Y][2];let V=t+1;if(!HTML_SEQUENCES[Y][1].test(F)){for(;V<n&&!(e.sCount[V]<e.blkIndent);V++)if(o=e.bMarks[V]+e.tShift[V],c=e.eMarks[V],F=e.src.slice(o,c),HTML_SEQUENCES[Y][1].test(F)){F.length!==0&&V++;break}}e.line=V;const Q=e.push("html_block","",0);return Q.map=[t,V],Q.content=e.getLines(t,V,e.blkIndent,!0),!0}function heading(e,t,n,r){let o=e.bMarks[t]+e.tShift[t],c=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;let F=e.src.charCodeAt(o);if(F!==35||o>=c)return!1;let Y=1;for(F=e.src.charCodeAt(++o);F===35&&o<c&&Y<=6;)Y++,F=e.src.charCodeAt(++o);if(Y>6||o<c&&!isSpace(F))return!1;if(r)return!0;c=e.skipSpacesBack(c,o);const V=e.skipCharsBack(c,35,o);V>o&&isSpace(e.src.charCodeAt(V-1))&&(c=V),e.line=t+1;const Q=e.push("heading_open","h"+String(Y),1);Q.markup="########".slice(0,Y),Q.map=[t,e.line];const X=e.push("inline","",0);X.content=e.src.slice(o,c).trim(),X.map=[t,e.line],X.children=[];const ue=e.push("heading_close","h"+String(Y),-1);return ue.markup="########".slice(0,Y),!0}function lheading(e,t,n){const r=e.md.block.ruler.getRules("paragraph");if(e.sCount[t]-e.blkIndent>=4)return!1;const o=e.parentType;e.parentType="paragraph";let c=0,F,Y=t+1;for(;Y<n&&!e.isEmpty(Y);Y++){if(e.sCount[Y]-e.blkIndent>3)continue;if(e.sCount[Y]>=e.blkIndent){let oe=e.bMarks[Y]+e.tShift[Y];const ce=e.eMarks[Y];if(oe<ce&&(F=e.src.charCodeAt(oe),(F===45||F===61)&&(oe=e.skipChars(oe,F),oe=e.skipSpaces(oe),oe>=ce))){c=F===61?1:2;break}}if(e.sCount[Y]<0)continue;let se=!1;for(let oe=0,ce=r.length;oe<ce;oe++)if(r[oe](e,Y,n,!0)){se=!0;break}if(se)break}if(!c)return!1;const V=e.getLines(t,Y,e.blkIndent,!1).trim();e.line=Y+1;const Q=e.push("heading_open","h"+String(c),1);Q.markup=String.fromCharCode(F),Q.map=[t,e.line];const X=e.push("inline","",0);X.content=V,X.map=[t,e.line-1],X.children=[];const ue=e.push("heading_close","h"+String(c),-1);return ue.markup=String.fromCharCode(F),e.parentType=o,!0}function paragraph(e,t,n){const r=e.md.block.ruler.getRules("paragraph"),o=e.parentType;let c=t+1;for(e.parentType="paragraph";c<n&&!e.isEmpty(c);c++){if(e.sCount[c]-e.blkIndent>3||e.sCount[c]<0)continue;let Q=!1;for(let X=0,ue=r.length;X<ue;X++)if(r[X](e,c,n,!0)){Q=!0;break}if(Q)break}const F=e.getLines(t,c,e.blkIndent,!1).trim();e.line=c;const Y=e.push("paragraph_open","p",1);Y.map=[t,e.line];const V=e.push("inline","",0);return V.content=F,V.map=[t,e.line],V.children=[],e.push("paragraph_close","p",-1),e.parentType=o,!0}const _rules$1=[["table",table,["paragraph","reference"]],["code",code],["fence",fence,["paragraph","reference","blockquote","list"]],["blockquote",blockquote,["paragraph","reference","blockquote","list"]],["hr",hr,["paragraph","reference","blockquote","list"]],["list",list,["paragraph","reference","blockquote"]],["reference",reference],["html_block",html_block,["paragraph","reference","blockquote"]],["heading",heading,["paragraph","reference","blockquote"]],["lheading",lheading],["paragraph",paragraph]];function ParserBlock(){this.ruler=new Ruler;for(let e=0;e<_rules$1.length;e++)this.ruler.push(_rules$1[e][0],_rules$1[e][1],{alt:(_rules$1[e][2]||[]).slice()})}ParserBlock.prototype.tokenize=function(e,t,n){const r=this.ruler.getRules(""),o=r.length,c=e.md.options.maxNesting;let F=t,Y=!1;for(;F<n&&(e.line=F=e.skipEmptyLines(F),!(F>=n||e.sCount[F]<e.blkIndent));){if(e.level>=c){e.line=n;break}const V=e.line;let Q=!1;for(let X=0;X<o;X++)if(Q=r[X](e,F,n,!1),Q){if(V>=e.line)throw new Error("block rule didn't increment state.line");break}if(!Q)throw new Error("none of the block rules matched");e.tight=!Y,e.isEmpty(e.line-1)&&(Y=!0),F=e.line,F<n&&e.isEmpty(F)&&(Y=!0,F++,e.line=F)}};ParserBlock.prototype.parse=function(e,t,n,r){if(!e)return;const o=new this.State(e,t,n,r);this.tokenize(o,o.line,o.lineMax)};ParserBlock.prototype.State=StateBlock;function StateInline(e,t,n,r){this.src=e,this.env=n,this.md=t,this.tokens=r,this.tokens_meta=Array(r.length),this.pos=0,this.posMax=this.src.length,this.level=0,this.pending="",this.pendingLevel=0,this.cache={},this.delimiters=[],this._prev_delimiters=[],this.backticks={},this.backticksScanned=!1,this.linkLevel=0}StateInline.prototype.pushPending=function(){const e=new Token("text","",0);return e.content=this.pending,e.level=this.pendingLevel,this.tokens.push(e),this.pending="",e};StateInline.prototype.push=function(e,t,n){this.pending&&this.pushPending();const r=new Token(e,t,n);let o=null;return n<0&&(this.level--,this.delimiters=this._prev_delimiters.pop()),r.level=this.level,n>0&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],o={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(r),this.tokens_meta.push(o),r};StateInline.prototype.scanDelims=function(e,t){const n=this.posMax,r=this.src.charCodeAt(e),o=e>0?this.src.charCodeAt(e-1):32;let c=e;for(;c<n&&this.src.charCodeAt(c)===r;)c++;const F=c-e,Y=c<n?this.src.charCodeAt(c):32,V=isMdAsciiPunct(o)||isPunctChar(String.fromCharCode(o)),Q=isMdAsciiPunct(Y)||isPunctChar(String.fromCharCode(Y)),X=isWhiteSpace(o),ue=isWhiteSpace(Y),se=!ue&&(!Q||X||V),oe=!X&&(!V||ue||Q);return{can_open:se&&(t||!oe||V),can_close:oe&&(t||!se||Q),length:F}};StateInline.prototype.Token=Token;function isTerminatorChar(e){switch(e){case 10:case 33:case 35:case 36:case 37:case 38:case 42:case 43:case 45:case 58:case 60:case 61:case 62:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 125:case 126:return!0;default:return!1}}function text(e,t){let n=e.pos;for(;n<e.posMax&&!isTerminatorChar(e.src.charCodeAt(n));)n++;return n===e.pos?!1:(t||(e.pending+=e.src.slice(e.pos,n)),e.pos=n,!0)}const SCHEME_RE=/(?:^|[^a-z0-9.+-])([a-z][a-z0-9.+-]*)$/i;function linkify(e,t){if(!e.md.options.linkify||e.linkLevel>0)return!1;const n=e.pos,r=e.posMax;if(n+3>r||e.src.charCodeAt(n)!==58||e.src.charCodeAt(n+1)!==47||e.src.charCodeAt(n+2)!==47)return!1;const o=e.pending.match(SCHEME_RE);if(!o)return!1;const c=o[1],F=e.md.linkify.matchAtStart(e.src.slice(n-c.length));if(!F)return!1;let Y=F.url;if(Y.length<=c.length)return!1;Y=Y.replace(/\*+$/,"");const V=e.md.normalizeLink(Y);if(!e.md.validateLink(V))return!1;if(!t){e.pending=e.pending.slice(0,-c.length);const Q=e.push("link_open","a",1);Q.attrs=[["href",V]],Q.markup="linkify",Q.info="auto";const X=e.push("text","",0);X.content=e.md.normalizeLinkText(Y);const ue=e.push("link_close","a",-1);ue.markup="linkify",ue.info="auto"}return e.pos+=Y.length-c.length,!0}function newline(e,t){let n=e.pos;if(e.src.charCodeAt(n)!==10)return!1;const r=e.pending.length-1,o=e.posMax;if(!t)if(r>=0&&e.pending.charCodeAt(r)===32)if(r>=1&&e.pending.charCodeAt(r-1)===32){let c=r-1;for(;c>=1&&e.pending.charCodeAt(c-1)===32;)c--;e.pending=e.pending.slice(0,c),e.push("hardbreak","br",0)}else e.pending=e.pending.slice(0,-1),e.push("softbreak","br",0);else e.push("softbreak","br",0);for(n++;n<o&&isSpace(e.src.charCodeAt(n));)n++;return e.pos=n,!0}const ESCAPED=[];for(let e=0;e<256;e++)ESCAPED.push(0);"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach(function(e){ESCAPED[e.charCodeAt(0)]=1});function escape(e,t){let n=e.pos;const r=e.posMax;if(e.src.charCodeAt(n)!==92||(n++,n>=r))return!1;let o=e.src.charCodeAt(n);if(o===10){for(t||e.push("hardbreak","br",0),n++;n<r&&(o=e.src.charCodeAt(n),!!isSpace(o));)n++;return e.pos=n,!0}let c=e.src[n];if(o>=55296&&o<=56319&&n+1<r){const Y=e.src.charCodeAt(n+1);Y>=56320&&Y<=57343&&(c+=e.src[n+1],n++)}const F="\\"+c;if(!t){const Y=e.push("text_special","",0);o<256&&ESCAPED[o]!==0?Y.content=c:Y.content=F,Y.markup=F,Y.info="escape"}return e.pos=n+1,!0}function backtick(e,t){let n=e.pos;if(e.src.charCodeAt(n)!==96)return!1;const o=n;n++;const c=e.posMax;for(;n<c&&e.src.charCodeAt(n)===96;)n++;const F=e.src.slice(o,n),Y=F.length;if(e.backticksScanned&&(e.backticks[Y]||0)<=o)return t||(e.pending+=F),e.pos+=Y,!0;let V=n,Q;for(;(Q=e.src.indexOf("`",V))!==-1;){for(V=Q+1;V<c&&e.src.charCodeAt(V)===96;)V++;const X=V-Q;if(X===Y){if(!t){const ue=e.push("code_inline","code",0);ue.markup=F,ue.content=e.src.slice(n,Q).replace(/\n/g," ").replace(/^ (.+) $/,"$1")}return e.pos=V,!0}e.backticks[X]=Q}return e.backticksScanned=!0,t||(e.pending+=F),e.pos+=Y,!0}function strikethrough_tokenize(e,t){const n=e.pos,r=e.src.charCodeAt(n);if(t||r!==126)return!1;const o=e.scanDelims(e.pos,!0);let c=o.length;const F=String.fromCharCode(r);if(c<2)return!1;let Y;c%2&&(Y=e.push("text","",0),Y.content=F,c--);for(let V=0;V<c;V+=2)Y=e.push("text","",0),Y.content=F+F,e.delimiters.push({marker:r,length:0,token:e.tokens.length-1,end:-1,open:o.can_open,close:o.can_close});return e.pos+=o.length,!0}function postProcess$1(e,t){let n;const r=[],o=t.length;for(let c=0;c<o;c++){const F=t[c];if(F.marker!==126||F.end===-1)continue;const Y=t[F.end];n=e.tokens[F.token],n.type="s_open",n.tag="s",n.nesting=1,n.markup="~~",n.content="",n=e.tokens[Y.token],n.type="s_close",n.tag="s",n.nesting=-1,n.markup="~~",n.content="",e.tokens[Y.token-1].type==="text"&&e.tokens[Y.token-1].content==="~"&&r.push(Y.token-1)}for(;r.length;){const c=r.pop();let F=c+1;for(;F<e.tokens.length&&e.tokens[F].type==="s_close";)F++;F--,c!==F&&(n=e.tokens[F],e.tokens[F]=e.tokens[c],e.tokens[c]=n)}}function strikethrough_postProcess(e){const t=e.tokens_meta,n=e.tokens_meta.length;postProcess$1(e,e.delimiters);for(let r=0;r<n;r++)t[r]&&t[r].delimiters&&postProcess$1(e,t[r].delimiters)}const r_strikethrough={tokenize:strikethrough_tokenize,postProcess:strikethrough_postProcess};function emphasis_tokenize(e,t){const n=e.pos,r=e.src.charCodeAt(n);if(t||r!==95&&r!==42)return!1;const o=e.scanDelims(e.pos,r===42);for(let c=0;c<o.length;c++){const F=e.push("text","",0);F.content=String.fromCharCode(r),e.delimiters.push({marker:r,length:o.length,token:e.tokens.length-1,end:-1,open:o.can_open,close:o.can_close})}return e.pos+=o.length,!0}function postProcess(e,t){const n=t.length;for(let r=n-1;r>=0;r--){const o=t[r];if(o.marker!==95&&o.marker!==42||o.end===-1)continue;const c=t[o.end],F=r>0&&t[r-1].end===o.end+1&&t[r-1].marker===o.marker&&t[r-1].token===o.token-1&&t[o.end+1].token===c.token+1,Y=String.fromCharCode(o.marker),V=e.tokens[o.token];V.type=F?"strong_open":"em_open",V.tag=F?"strong":"em",V.nesting=1,V.markup=F?Y+Y:Y,V.content="";const Q=e.tokens[c.token];Q.type=F?"strong_close":"em_close",Q.tag=F?"strong":"em",Q.nesting=-1,Q.markup=F?Y+Y:Y,Q.content="",F&&(e.tokens[t[r-1].token].content="",e.tokens[t[o.end+1].token].content="",r--)}}function emphasis_post_process(e){const t=e.tokens_meta,n=e.tokens_meta.length;postProcess(e,e.delimiters);for(let r=0;r<n;r++)t[r]&&t[r].delimiters&&postProcess(e,t[r].delimiters)}const r_emphasis={tokenize:emphasis_tokenize,postProcess:emphasis_post_process};function link(e,t){let n,r,o,c,F="",Y="",V=e.pos,Q=!0;if(e.src.charCodeAt(e.pos)!==91)return!1;const X=e.pos,ue=e.posMax,se=e.pos+1,oe=e.md.helpers.parseLinkLabel(e,e.pos,!0);if(oe<0)return!1;let ce=oe+1;if(ce<ue&&e.src.charCodeAt(ce)===40){for(Q=!1,ce++;ce<ue&&(n=e.src.charCodeAt(ce),!(!isSpace(n)&&n!==10));ce++);if(ce>=ue)return!1;if(V=ce,o=e.md.helpers.parseLinkDestination(e.src,ce,e.posMax),o.ok){for(F=e.md.normalizeLink(o.str),e.md.validateLink(F)?ce=o.pos:F="",V=ce;ce<ue&&(n=e.src.charCodeAt(ce),!(!isSpace(n)&&n!==10));ce++);if(o=e.md.helpers.parseLinkTitle(e.src,ce,e.posMax),ce<ue&&V!==ce&&o.ok)for(Y=o.str,ce=o.pos;ce<ue&&(n=e.src.charCodeAt(ce),!(!isSpace(n)&&n!==10));ce++);}(ce>=ue||e.src.charCodeAt(ce)!==41)&&(Q=!0),ce++}if(Q){if(typeof e.env.references>"u")return!1;if(ce<ue&&e.src.charCodeAt(ce)===91?(V=ce+1,ce=e.md.helpers.parseLinkLabel(e,ce),ce>=0?r=e.src.slice(V,ce++):ce=oe+1):ce=oe+1,r||(r=e.src.slice(se,oe)),c=e.env.references[normalizeReference(r)],!c)return e.pos=X,!1;F=c.href,Y=c.title}if(!t){e.pos=se,e.posMax=oe;const le=e.push("link_open","a",1),de=[["href",F]];le.attrs=de,Y&&de.push(["title",Y]),e.linkLevel++,e.md.inline.tokenize(e),e.linkLevel--,e.push("link_close","a",-1)}return e.pos=ce,e.posMax=ue,!0}function image(e,t){let n,r,o,c,F,Y,V,Q,X="";const ue=e.pos,se=e.posMax;if(e.src.charCodeAt(e.pos)!==33||e.src.charCodeAt(e.pos+1)!==91)return!1;const oe=e.pos+2,ce=e.md.helpers.parseLinkLabel(e,e.pos+1,!1);if(ce<0)return!1;if(c=ce+1,c<se&&e.src.charCodeAt(c)===40){for(c++;c<se&&(n=e.src.charCodeAt(c),!(!isSpace(n)&&n!==10));c++);if(c>=se)return!1;for(Q=c,Y=e.md.helpers.parseLinkDestination(e.src,c,e.posMax),Y.ok&&(X=e.md.normalizeLink(Y.str),e.md.validateLink(X)?c=Y.pos:X=""),Q=c;c<se&&(n=e.src.charCodeAt(c),!(!isSpace(n)&&n!==10));c++);if(Y=e.md.helpers.parseLinkTitle(e.src,c,e.posMax),c<se&&Q!==c&&Y.ok)for(V=Y.str,c=Y.pos;c<se&&(n=e.src.charCodeAt(c),!(!isSpace(n)&&n!==10));c++);else V="";if(c>=se||e.src.charCodeAt(c)!==41)return e.pos=ue,!1;c++}else{if(typeof e.env.references>"u")return!1;if(c<se&&e.src.charCodeAt(c)===91?(Q=c+1,c=e.md.helpers.parseLinkLabel(e,c),c>=0?o=e.src.slice(Q,c++):c=ce+1):c=ce+1,o||(o=e.src.slice(oe,ce)),F=e.env.references[normalizeReference(o)],!F)return e.pos=ue,!1;X=F.href,V=F.title}if(!t){r=e.src.slice(oe,ce);const le=[];e.md.inline.parse(r,e.md,e.env,le);const de=e.push("image","img",0),pe=[["src",X],["alt",""]];de.attrs=pe,de.children=le,de.content=r,V&&pe.push(["title",V])}return e.pos=c,e.posMax=se,!0}const EMAIL_RE=/^([a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)$/,AUTOLINK_RE=/^([a-zA-Z][a-zA-Z0-9+.-]{1,31}):([^<>\x00-\x20]*)$/;function autolink(e,t){let n=e.pos;if(e.src.charCodeAt(n)!==60)return!1;const r=e.pos,o=e.posMax;for(;;){if(++n>=o)return!1;const F=e.src.charCodeAt(n);if(F===60)return!1;if(F===62)break}const c=e.src.slice(r+1,n);if(AUTOLINK_RE.test(c)){const F=e.md.normalizeLink(c);if(!e.md.validateLink(F))return!1;if(!t){const Y=e.push("link_open","a",1);Y.attrs=[["href",F]],Y.markup="autolink",Y.info="auto";const V=e.push("text","",0);V.content=e.md.normalizeLinkText(c);const Q=e.push("link_close","a",-1);Q.markup="autolink",Q.info="auto"}return e.pos+=c.length+2,!0}if(EMAIL_RE.test(c)){const F=e.md.normalizeLink("mailto:"+c);if(!e.md.validateLink(F))return!1;if(!t){const Y=e.push("link_open","a",1);Y.attrs=[["href",F]],Y.markup="autolink",Y.info="auto";const V=e.push("text","",0);V.content=e.md.normalizeLinkText(c);const Q=e.push("link_close","a",-1);Q.markup="autolink",Q.info="auto"}return e.pos+=c.length+2,!0}return!1}function isLinkOpen(e){return/^<a[>\s]/i.test(e)}function isLinkClose(e){return/^<\/a\s*>/i.test(e)}function isLetter(e){const t=e|32;return t>=97&&t<=122}function html_inline(e,t){if(!e.md.options.html)return!1;const n=e.posMax,r=e.pos;if(e.src.charCodeAt(r)!==60||r+2>=n)return!1;const o=e.src.charCodeAt(r+1);if(o!==33&&o!==63&&o!==47&&!isLetter(o))return!1;const c=e.src.slice(r).match(HTML_TAG_RE);if(!c)return!1;if(!t){const F=e.push("html_inline","",0);F.content=c[0],isLinkOpen(F.content)&&e.linkLevel++,isLinkClose(F.content)&&e.linkLevel--}return e.pos+=c[0].length,!0}const DIGITAL_RE=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,NAMED_RE=/^&([a-z][a-z0-9]{1,31});/i;function entity(e,t){const n=e.pos,r=e.posMax;if(e.src.charCodeAt(n)!==38||n+1>=r)return!1;if(e.src.charCodeAt(n+1)===35){const c=e.src.slice(n).match(DIGITAL_RE);if(c){if(!t){const F=c[1][0].toLowerCase()==="x"?parseInt(c[1].slice(1),16):parseInt(c[1],10),Y=e.push("text_special","",0);Y.content=isValidEntityCode(F)?fromCodePoint(F):fromCodePoint(65533),Y.markup=c[0],Y.info="entity"}return e.pos+=c[0].length,!0}}else{const c=e.src.slice(n).match(NAMED_RE);if(c){const F=decodeHTML(c[0]);if(F!==c[0]){if(!t){const Y=e.push("text_special","",0);Y.content=F,Y.markup=c[0],Y.info="entity"}return e.pos+=c[0].length,!0}}}return!1}function processDelimiters(e){const t={},n=e.length;if(!n)return;let r=0,o=-2;const c=[];for(let F=0;F<n;F++){const Y=e[F];if(c.push(0),(e[r].marker!==Y.marker||o!==Y.token-1)&&(r=F),o=Y.token,Y.length=Y.length||0,!Y.close)continue;t.hasOwnProperty(Y.marker)||(t[Y.marker]=[-1,-1,-1,-1,-1,-1]);const V=t[Y.marker][(Y.open?3:0)+Y.length%3];let Q=r-c[r]-1,X=Q;for(;Q>V;Q-=c[Q]+1){const ue=e[Q];if(ue.marker===Y.marker&&ue.open&&ue.end<0){let se=!1;if((ue.close||Y.open)&&(ue.length+Y.length)%3===0&&(ue.length%3!==0||Y.length%3!==0)&&(se=!0),!se){const oe=Q>0&&!e[Q-1].open?c[Q-1]+1:0;c[F]=F-Q+oe,c[Q]=oe,Y.open=!1,ue.end=F,ue.close=!1,X=-1,o=-2;break}}}X!==-1&&(t[Y.marker][(Y.open?3:0)+(Y.length||0)%3]=X)}}function link_pairs(e){const t=e.tokens_meta,n=e.tokens_meta.length;processDelimiters(e.delimiters);for(let r=0;r<n;r++)t[r]&&t[r].delimiters&&processDelimiters(t[r].delimiters)}function fragments_join(e){let t,n,r=0;const o=e.tokens,c=e.tokens.length;for(t=n=0;t<c;t++)o[t].nesting<0&&r--,o[t].level=r,o[t].nesting>0&&r++,o[t].type==="text"&&t+1<c&&o[t+1].type==="text"?o[t+1].content=o[t].content+o[t+1].content:(t!==n&&(o[n]=o[t]),n++);t!==n&&(o.length=n)}const _rules=[["text",text],["linkify",linkify],["newline",newline],["escape",escape],["backticks",backtick],["strikethrough",r_strikethrough.tokenize],["emphasis",r_emphasis.tokenize],["link",link],["image",image],["autolink",autolink],["html_inline",html_inline],["entity",entity]],_rules2=[["balance_pairs",link_pairs],["strikethrough",r_strikethrough.postProcess],["emphasis",r_emphasis.postProcess],["fragments_join",fragments_join]];function ParserInline(){this.ruler=new Ruler;for(let e=0;e<_rules.length;e++)this.ruler.push(_rules[e][0],_rules[e][1]);this.ruler2=new Ruler;for(let e=0;e<_rules2.length;e++)this.ruler2.push(_rules2[e][0],_rules2[e][1])}ParserInline.prototype.skipToken=function(e){const t=e.pos,n=this.ruler.getRules(""),r=n.length,o=e.md.options.maxNesting,c=e.cache;if(typeof c[t]<"u"){e.pos=c[t];return}let F=!1;if(e.level<o){for(let Y=0;Y<r;Y++)if(e.level++,F=n[Y](e,!0),e.level--,F){if(t>=e.pos)throw new Error("inline rule didn't increment state.pos");break}}else e.pos=e.posMax;F||e.pos++,c[t]=e.pos};ParserInline.prototype.tokenize=function(e){const t=this.ruler.getRules(""),n=t.length,r=e.posMax,o=e.md.options.maxNesting;for(;e.pos<r;){const c=e.pos;let F=!1;if(e.level<o){for(let Y=0;Y<n;Y++)if(F=t[Y](e,!1),F){if(c>=e.pos)throw new Error("inline rule didn't increment state.pos");break}}if(F){if(e.pos>=r)break;continue}e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()};ParserInline.prototype.parse=function(e,t,n,r){const o=new this.State(e,t,n,r);this.tokenize(o);const c=this.ruler2.getRules(""),F=c.length;for(let Y=0;Y<F;Y++)c[Y](o)};ParserInline.prototype.State=StateInline;function reFactory(e){const t={};e=e||{},t.src_Any=Any.source,t.src_Cc=Cc.source,t.src_Z=Z.source,t.src_P=P$1.source,t.src_ZPCc=[t.src_Z,t.src_P,t.src_Cc].join("|"),t.src_ZCc=[t.src_Z,t.src_Cc].join("|");const n="[><|]";return t.src_pseudo_letter="(?:(?!"+n+"|"+t.src_ZPCc+")"+t.src_Any+")",t.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",t.src_auth="(?:(?:(?!"+t.src_ZCc+"|[@/\\[\\]()]).)+@)?",t.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",t.src_host_terminator="(?=$|"+n+"|"+t.src_ZPCc+")(?!"+(e["---"]?"-(?!--)|":"-|")+"_|:\\d|\\.-|\\.(?!$|"+t.src_ZPCc+"))",t.src_path="(?:[/?#](?:(?!"+t.src_ZCc+"|"+n+`|[()[\\]{}.,"'?!\\-;]).|\\[(?:(?!`+t.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+t.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+t.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+t.src_ZCc+`|["]).)+\\"|\\'(?:(?!`+t.src_ZCc+"|[']).)+\\'|\\'(?="+t.src_pseudo_letter+"|[-])|\\.{2,}[a-zA-Z0-9%/&]|\\.(?!"+t.src_ZCc+"|[.]|$)|"+(e["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+",(?!"+t.src_ZCc+"|$)|;(?!"+t.src_ZCc+"|$)|\\!+(?!"+t.src_ZCc+"|[!]|$)|\\?(?!"+t.src_ZCc+"|[?]|$))+|\\/)?",t.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*',t.src_xn="xn--[a-z0-9\\-]{1,59}",t.src_domain_root="(?:"+t.src_xn+"|"+t.src_pseudo_letter+"{1,63})",t.src_domain="(?:"+t.src_xn+"|(?:"+t.src_pseudo_letter+")|(?:"+t.src_pseudo_letter+"(?:-|"+t.src_pseudo_letter+"){0,61}"+t.src_pseudo_letter+"))",t.src_host="(?:(?:(?:(?:"+t.src_domain+")\\.)*"+t.src_domain+"))",t.tpl_host_fuzzy="(?:"+t.src_ip4+"|(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%)))",t.tpl_host_no_ip_fuzzy="(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%))",t.src_host_strict=t.src_host+t.src_host_terminator,t.tpl_host_fuzzy_strict=t.tpl_host_fuzzy+t.src_host_terminator,t.src_host_port_strict=t.src_host+t.src_port+t.src_host_terminator,t.tpl_host_port_fuzzy_strict=t.tpl_host_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_port_no_ip_fuzzy_strict=t.tpl_host_no_ip_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+t.src_ZPCc+"|>|$))",t.tpl_email_fuzzy="(^|"+n+'|"|\\(|'+t.src_ZCc+")("+t.src_email_name+"@"+t.tpl_host_fuzzy_strict+")",t.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_fuzzy_strict+t.src_path+")",t.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_no_ip_fuzzy_strict+t.src_path+")",t}function assign(e){return Array.prototype.slice.call(arguments,1).forEach(function(n){n&&Object.keys(n).forEach(function(r){e[r]=n[r]})}),e}function _class(e){return Object.prototype.toString.call(e)}function isString(e){return _class(e)==="[object String]"}function isObject(e){return _class(e)==="[object Object]"}function isRegExp(e){return _class(e)==="[object RegExp]"}function isFunction(e){return _class(e)==="[object Function]"}function escapeRE(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}const defaultOptions={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};function isOptionsObj(e){return Object.keys(e||{}).reduce(function(t,n){return t||defaultOptions.hasOwnProperty(n)},!1)}const defaultSchemas={"http:":{validate:function(e,t,n){const r=e.slice(t);return n.re.http||(n.re.http=new RegExp("^\\/\\/"+n.re.src_auth+n.re.src_host_port_strict+n.re.src_path,"i")),n.re.http.test(r)?r.match(n.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(e,t,n){const r=e.slice(t);return n.re.no_http||(n.re.no_http=new RegExp("^"+n.re.src_auth+"(?:localhost|(?:(?:"+n.re.src_domain+")\\.)+"+n.re.src_domain_root+")"+n.re.src_port+n.re.src_host_terminator+n.re.src_path,"i")),n.re.no_http.test(r)?t>=3&&e[t-3]===":"||t>=3&&e[t-3]==="/"?0:r.match(n.re.no_http)[0].length:0}},"mailto:":{validate:function(e,t,n){const r=e.slice(t);return n.re.mailto||(n.re.mailto=new RegExp("^"+n.re.src_email_name+"@"+n.re.src_host_strict,"i")),n.re.mailto.test(r)?r.match(n.re.mailto)[0].length:0}}},tlds_2ch_src_re="a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]",tlds_default="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function resetScanCache(e){e.__index__=-1,e.__text_cache__=""}function createValidator(e){return function(t,n){const r=t.slice(n);return e.test(r)?r.match(e)[0].length:0}}function createNormalizer(){return function(e,t){t.normalize(e)}}function compile(e){const t=e.re=reFactory(e.__opts__),n=e.__tlds__.slice();e.onCompile(),e.__tlds_replaced__||n.push(tlds_2ch_src_re),n.push(t.src_xn),t.src_tlds=n.join("|");function r(Y){return Y.replace("%TLDS%",t.src_tlds)}t.email_fuzzy=RegExp(r(t.tpl_email_fuzzy),"i"),t.link_fuzzy=RegExp(r(t.tpl_link_fuzzy),"i"),t.link_no_ip_fuzzy=RegExp(r(t.tpl_link_no_ip_fuzzy),"i"),t.host_fuzzy_test=RegExp(r(t.tpl_host_fuzzy_test),"i");const o=[];e.__compiled__={};function c(Y,V){throw new Error('(LinkifyIt) Invalid schema "'+Y+'": '+V)}Object.keys(e.__schemas__).forEach(function(Y){const V=e.__schemas__[Y];if(V===null)return;const Q={validate:null,link:null};if(e.__compiled__[Y]=Q,isObject(V)){isRegExp(V.validate)?Q.validate=createValidator(V.validate):isFunction(V.validate)?Q.validate=V.validate:c(Y,V),isFunction(V.normalize)?Q.normalize=V.normalize:V.normalize?c(Y,V):Q.normalize=createNormalizer();return}if(isString(V)){o.push(Y);return}c(Y,V)}),o.forEach(function(Y){e.__compiled__[e.__schemas__[Y]]&&(e.__compiled__[Y].validate=e.__compiled__[e.__schemas__[Y]].validate,e.__compiled__[Y].normalize=e.__compiled__[e.__schemas__[Y]].normalize)}),e.__compiled__[""]={validate:null,normalize:createNormalizer()};const F=Object.keys(e.__compiled__).filter(function(Y){return Y.length>0&&e.__compiled__[Y]}).map(escapeRE).join("|");e.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+F+")","i"),e.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+F+")","ig"),e.re.schema_at_start=RegExp("^"+e.re.schema_search.source,"i"),e.re.pretest=RegExp("("+e.re.schema_test.source+")|("+e.re.host_fuzzy_test.source+")|@","i"),resetScanCache(e)}function Match(e,t){const n=e.__index__,r=e.__last_index__,o=e.__text_cache__.slice(n,r);this.schema=e.__schema__.toLowerCase(),this.index=n+t,this.lastIndex=r+t,this.raw=o,this.text=o,this.url=o}function createMatch(e,t){const n=new Match(e,t);return e.__compiled__[n.schema].normalize(n,e),n}function LinkifyIt(e,t){if(!(this instanceof LinkifyIt))return new LinkifyIt(e,t);t||isOptionsObj(e)&&(t=e,e={}),this.__opts__=assign({},defaultOptions,t),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=assign({},defaultSchemas,e),this.__compiled__={},this.__tlds__=tlds_default,this.__tlds_replaced__=!1,this.re={},compile(this)}LinkifyIt.prototype.add=function e(t,n){return this.__schemas__[t]=n,compile(this),this};LinkifyIt.prototype.set=function e(t){return this.__opts__=assign(this.__opts__,t),this};LinkifyIt.prototype.test=function e(t){if(this.__text_cache__=t,this.__index__=-1,!t.length)return!1;let n,r,o,c,F,Y,V,Q,X;if(this.re.schema_test.test(t)){for(V=this.re.schema_search,V.lastIndex=0;(n=V.exec(t))!==null;)if(c=this.testSchemaAt(t,n[2],V.lastIndex),c){this.__schema__=n[2],this.__index__=n.index+n[1].length,this.__last_index__=n.index+n[0].length+c;break}}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(Q=t.search(this.re.host_fuzzy_test),Q>=0&&(this.__index__<0||Q<this.__index__)&&(r=t.match(this.__opts__.fuzzyIP?this.re.link_fuzzy:this.re.link_no_ip_fuzzy))!==null&&(F=r.index+r[1].length,(this.__index__<0||F<this.__index__)&&(this.__schema__="",this.__index__=F,this.__last_index__=r.index+r[0].length))),this.__opts__.fuzzyEmail&&this.__compiled__["mailto:"]&&(X=t.indexOf("@"),X>=0&&(o=t.match(this.re.email_fuzzy))!==null&&(F=o.index+o[1].length,Y=o.index+o[0].length,(this.__index__<0||F<this.__index__||F===this.__index__&&Y>this.__last_index__)&&(this.__schema__="mailto:",this.__index__=F,this.__last_index__=Y))),this.__index__>=0};LinkifyIt.prototype.pretest=function e(t){return this.re.pretest.test(t)};LinkifyIt.prototype.testSchemaAt=function e(t,n,r){return this.__compiled__[n.toLowerCase()]?this.__compiled__[n.toLowerCase()].validate(t,r,this):0};LinkifyIt.prototype.match=function e(t){const n=[];let r=0;this.__index__>=0&&this.__text_cache__===t&&(n.push(createMatch(this,r)),r=this.__last_index__);let o=r?t.slice(r):t;for(;this.test(o);)n.push(createMatch(this,r)),o=o.slice(this.__last_index__),r+=this.__last_index__;return n.length?n:null};LinkifyIt.prototype.matchAtStart=function e(t){if(this.__text_cache__=t,this.__index__=-1,!t.length)return null;const n=this.re.schema_at_start.exec(t);if(!n)return null;const r=this.testSchemaAt(t,n[2],n[0].length);return r?(this.__schema__=n[2],this.__index__=n.index+n[1].length,this.__last_index__=n.index+n[0].length+r,createMatch(this,0)):null};LinkifyIt.prototype.tlds=function e(t,n){return t=Array.isArray(t)?t:[t],n?(this.__tlds__=this.__tlds__.concat(t).sort().filter(function(r,o,c){return r!==c[o-1]}).reverse(),compile(this),this):(this.__tlds__=t.slice(),this.__tlds_replaced__=!0,compile(this),this)};LinkifyIt.prototype.normalize=function e(t){t.schema||(t.url="http://"+t.url),t.schema==="mailto:"&&!/^mailto:/i.test(t.url)&&(t.url="mailto:"+t.url)};LinkifyIt.prototype.onCompile=function e(){};const maxInt=2147483647,base=36,tMin=1,tMax=26,skew=38,damp=700,initialBias=72,initialN=128,delimiter="-",regexPunycode=/^xn--/,regexNonASCII=/[^\0-\x7F]/,regexSeparators=/[\x2E\u3002\uFF0E\uFF61]/g,errors={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},baseMinusTMin=base-tMin,floor=Math.floor,stringFromCharCode=String.fromCharCode;function error(e){throw new RangeError(errors[e])}function map$1(e,t){const n=[];let r=e.length;for(;r--;)n[r]=t(e[r]);return n}function mapDomain(e,t){const n=e.split("@");let r="";n.length>1&&(r=n[0]+"@",e=n[1]),e=e.replace(regexSeparators,".");const o=e.split("."),c=map$1(o,t).join(".");return r+c}function ucs2decode(e){const t=[];let n=0;const r=e.length;for(;n<r;){const o=e.charCodeAt(n++);if(o>=55296&&o<=56319&&n<r){const c=e.charCodeAt(n++);(c&64512)==56320?t.push(((o&1023)<<10)+(c&1023)+65536):(t.push(o),n--)}else t.push(o)}return t}const ucs2encode=e=>String.fromCodePoint(...e),basicToDigit=function(e){return e>=48&&e<58?26+(e-48):e>=65&&e<91?e-65:e>=97&&e<123?e-97:base},digitToBasic=function(e,t){return e+22+75*(e<26)-((t!=0)<<5)},adapt=function(e,t,n){let r=0;for(e=n?floor(e/damp):e>>1,e+=floor(e/t);e>baseMinusTMin*tMax>>1;r+=base)e=floor(e/baseMinusTMin);return floor(r+(baseMinusTMin+1)*e/(e+skew))},decode=function(e){const t=[],n=e.length;let r=0,o=initialN,c=initialBias,F=e.lastIndexOf(delimiter);F<0&&(F=0);for(let Y=0;Y<F;++Y)e.charCodeAt(Y)>=128&&error("not-basic"),t.push(e.charCodeAt(Y));for(let Y=F>0?F+1:0;Y<n;){const V=r;for(let X=1,ue=base;;ue+=base){Y>=n&&error("invalid-input");const se=basicToDigit(e.charCodeAt(Y++));se>=base&&error("invalid-input"),se>floor((maxInt-r)/X)&&error("overflow"),r+=se*X;const oe=ue<=c?tMin:ue>=c+tMax?tMax:ue-c;if(se<oe)break;const ce=base-oe;X>floor(maxInt/ce)&&error("overflow"),X*=ce}const Q=t.length+1;c=adapt(r-V,Q,V==0),floor(r/Q)>maxInt-o&&error("overflow"),o+=floor(r/Q),r%=Q,t.splice(r++,0,o)}return String.fromCodePoint(...t)},encode=function(e){const t=[];e=ucs2decode(e);const n=e.length;let r=initialN,o=0,c=initialBias;for(const V of e)V<128&&t.push(stringFromCharCode(V));const F=t.length;let Y=F;for(F&&t.push(delimiter);Y<n;){let V=maxInt;for(const X of e)X>=r&&X<V&&(V=X);const Q=Y+1;V-r>floor((maxInt-o)/Q)&&error("overflow"),o+=(V-r)*Q,r=V;for(const X of e)if(X<r&&++o>maxInt&&error("overflow"),X===r){let ue=o;for(let se=base;;se+=base){const oe=se<=c?tMin:se>=c+tMax?tMax:se-c;if(ue<oe)break;const ce=ue-oe,le=base-oe;t.push(stringFromCharCode(digitToBasic(oe+ce%le,0))),ue=floor(ce/le)}t.push(stringFromCharCode(digitToBasic(ue,0))),c=adapt(o,Q,Y===F),o=0,++Y}++o,++r}return t.join("")},toUnicode=function(e){return mapDomain(e,function(t){return regexPunycode.test(t)?decode(t.slice(4).toLowerCase()):t})},toASCII=function(e){return mapDomain(e,function(t){return regexNonASCII.test(t)?"xn--"+encode(t):t})},punycode={version:"2.3.1",ucs2:{decode:ucs2decode,encode:ucs2encode},decode,encode,toASCII,toUnicode},cfg_default={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}},cfg_zero={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline","text_join"]},block:{rules:["paragraph"]},inline:{rules:["text"],rules2:["balance_pairs","fragments_join"]}}},cfg_commonmark={options:{html:!0,xhtmlOut:!0,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline","text_join"]},block:{rules:["blockquote","code","fence","heading","hr","html_block","lheading","list","reference","paragraph"]},inline:{rules:["autolink","backticks","emphasis","entity","escape","html_inline","image","link","newline","text"],rules2:["balance_pairs","emphasis","fragments_join"]}}},config={default:cfg_default,zero:cfg_zero,commonmark:cfg_commonmark},BAD_PROTO_RE=/^(vbscript|javascript|file|data):/,GOOD_DATA_RE=/^data:image\/(gif|png|jpeg|webp);/;function validateLink(e){const t=e.trim().toLowerCase();return BAD_PROTO_RE.test(t)?GOOD_DATA_RE.test(t):!0}const RECODE_HOSTNAME_FOR=["http:","https:","mailto:"];function normalizeLink(e){const t=urlParse(e,!0);if(t.hostname&&(!t.protocol||RECODE_HOSTNAME_FOR.indexOf(t.protocol)>=0))try{t.hostname=punycode.toASCII(t.hostname)}catch{}return encode$1(format(t))}function normalizeLinkText(e){const t=urlParse(e,!0);if(t.hostname&&(!t.protocol||RECODE_HOSTNAME_FOR.indexOf(t.protocol)>=0))try{t.hostname=punycode.toUnicode(t.hostname)}catch{}return decode$1(format(t),decode$1.defaultChars+"%")}function MarkdownIt(e,t){if(!(this instanceof MarkdownIt))return new MarkdownIt(e,t);t||isString$1(e)||(t=e||{},e="default"),this.inline=new ParserInline,this.block=new ParserBlock,this.core=new Core,this.renderer=new Renderer,this.linkify=new LinkifyIt,this.validateLink=validateLink,this.normalizeLink=normalizeLink,this.normalizeLinkText=normalizeLinkText,this.utils=utils,this.helpers=assign$1({},helpers),this.options={},this.configure(e),t&&this.set(t)}MarkdownIt.prototype.set=function(e){return assign$1(this.options,e),this};MarkdownIt.prototype.configure=function(e){const t=this;if(isString$1(e)){const n=e;if(e=config[n],!e)throw new Error('Wrong `markdown-it` preset "'+n+'", check name')}if(!e)throw new Error("Wrong `markdown-it` preset, can't be empty");return e.options&&t.set(e.options),e.components&&Object.keys(e.components).forEach(function(n){e.components[n].rules&&t[n].ruler.enableOnly(e.components[n].rules),e.components[n].rules2&&t[n].ruler2.enableOnly(e.components[n].rules2)}),this};MarkdownIt.prototype.enable=function(e,t){let n=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(o){n=n.concat(this[o].ruler.enable(e,!0))},this),n=n.concat(this.inline.ruler2.enable(e,!0));const r=e.filter(function(o){return n.indexOf(o)<0});if(r.length&&!t)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+r);return this};MarkdownIt.prototype.disable=function(e,t){let n=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(o){n=n.concat(this[o].ruler.disable(e,!0))},this),n=n.concat(this.inline.ruler2.disable(e,!0));const r=e.filter(function(o){return n.indexOf(o)<0});if(r.length&&!t)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+r);return this};MarkdownIt.prototype.use=function(e){const t=[this].concat(Array.prototype.slice.call(arguments,1));return e.apply(e,t),this};MarkdownIt.prototype.parse=function(e,t){if(typeof e!="string")throw new Error("Input data should be a String");const n=new this.core.State(e,this,t);return this.core.process(n),n.tokens};MarkdownIt.prototype.render=function(e,t){return t=t||{},this.renderer.render(this.parse(e,t),this.options,t)};MarkdownIt.prototype.parseInline=function(e,t){const n=new this.core.State(e,this,t);return n.inlineMode=!0,this.core.process(n),n.tokens};MarkdownIt.prototype.renderInline=function(e,t){return t=t||{},this.renderer.render(this.parseInline(e,t),this.options,t)};const ALIAS=Symbol.for("yaml.alias"),DOC=Symbol.for("yaml.document"),MAP=Symbol.for("yaml.map"),PAIR=Symbol.for("yaml.pair"),SCALAR$1=Symbol.for("yaml.scalar"),SEQ=Symbol.for("yaml.seq"),NODE_TYPE=Symbol.for("yaml.node.type"),isAlias=e=>!!e&&typeof e=="object"&&e[NODE_TYPE]===ALIAS,isDocument=e=>!!e&&typeof e=="object"&&e[NODE_TYPE]===DOC,isMap=e=>!!e&&typeof e=="object"&&e[NODE_TYPE]===MAP,isPair=e=>!!e&&typeof e=="object"&&e[NODE_TYPE]===PAIR,isScalar=e=>!!e&&typeof e=="object"&&e[NODE_TYPE]===SCALAR$1,isSeq=e=>!!e&&typeof e=="object"&&e[NODE_TYPE]===SEQ;function isCollection(e){if(e&&typeof e=="object")switch(e[NODE_TYPE]){case MAP:case SEQ:return!0}return!1}function isNode(e){if(e&&typeof e=="object")switch(e[NODE_TYPE]){case ALIAS:case MAP:case SCALAR$1:case SEQ:return!0}return!1}const hasAnchor=e=>(isScalar(e)||isCollection(e))&&!!e.anchor,BREAK=Symbol("break visit"),SKIP=Symbol("skip children"),REMOVE=Symbol("remove node");function visit(e,t){const n=initVisitor(t);isDocument(e)?visit_(null,e.contents,n,Object.freeze([e]))===REMOVE&&(e.contents=null):visit_(null,e,n,Object.freeze([]))}visit.BREAK=BREAK;visit.SKIP=SKIP;visit.REMOVE=REMOVE;function visit_(e,t,n,r){const o=callVisitor(e,t,n,r);if(isNode(o)||isPair(o))return replaceNode(e,r,o),visit_(e,o,n,r);if(typeof o!="symbol"){if(isCollection(t)){r=Object.freeze(r.concat(t));for(let c=0;c<t.items.length;++c){const F=visit_(c,t.items[c],n,r);if(typeof F=="number")c=F-1;else{if(F===BREAK)return BREAK;F===REMOVE&&(t.items.splice(c,1),c-=1)}}}else if(isPair(t)){r=Object.freeze(r.concat(t));const c=visit_("key",t.key,n,r);if(c===BREAK)return BREAK;c===REMOVE&&(t.key=null);const F=visit_("value",t.value,n,r);if(F===BREAK)return BREAK;F===REMOVE&&(t.value=null)}}return o}function initVisitor(e){return typeof e=="object"&&(e.Collection||e.Node||e.Value)?Object.assign({Alias:e.Node,Map:e.Node,Scalar:e.Node,Seq:e.Node},e.Value&&{Map:e.Value,Scalar:e.Value,Seq:e.Value},e.Collection&&{Map:e.Collection,Seq:e.Collection},e):e}function callVisitor(e,t,n,r){if(typeof n=="function")return n(e,t,r);if(isMap(t))return n.Map?.(e,t,r);if(isSeq(t))return n.Seq?.(e,t,r);if(isPair(t))return n.Pair?.(e,t,r);if(isScalar(t))return n.Scalar?.(e,t,r);if(isAlias(t))return n.Alias?.(e,t,r)}function replaceNode(e,t,n){const r=t[t.length-1];if(isCollection(r))r.items[e]=n;else if(isPair(r))e==="key"?r.key=n:r.value=n;else if(isDocument(r))r.contents=n;else{const o=isAlias(r)?"alias":"scalar";throw new Error(`Cannot replace node with ${o} parent`)}}const escapeChars={"!":"%21",",":"%2C","[":"%5B","]":"%5D","{":"%7B","}":"%7D"},escapeTagName=e=>e.replace(/[!,[\]{}]/g,t=>escapeChars[t]);class Directives{constructor(t,n){this.docStart=null,this.docEnd=!1,this.yaml=Object.assign({},Directives.defaultYaml,t),this.tags=Object.assign({},Directives.defaultTags,n)}clone(){const t=new Directives(this.yaml,this.tags);return t.docStart=this.docStart,t}atDocument(){const t=new Directives(this.yaml,this.tags);switch(this.yaml.version){case"1.1":this.atNextDocument=!0;break;case"1.2":this.atNextDocument=!1,this.yaml={explicit:Directives.defaultYaml.explicit,version:"1.2"},this.tags=Object.assign({},Directives.defaultTags);break}return t}add(t,n){this.atNextDocument&&(this.yaml={explicit:Directives.defaultYaml.explicit,version:"1.1"},this.tags=Object.assign({},Directives.defaultTags),this.atNextDocument=!1);const r=t.trim().split(/[ \t]+/),o=r.shift();switch(o){case"%TAG":{if(r.length!==2&&(n(0,"%TAG directive should contain exactly two parts"),r.length<2))return!1;const[c,F]=r;return this.tags[c]=F,!0}case"%YAML":{if(this.yaml.explicit=!0,r.length!==1)return n(0,"%YAML directive should contain exactly one part"),!1;const[c]=r;if(c==="1.1"||c==="1.2")return this.yaml.version=c,!0;{const F=/^\d+\.\d+$/.test(c);return n(6,`Unsupported YAML version ${c}`,F),!1}}default:return n(0,`Unknown directive ${o}`,!0),!1}}tagName(t,n){if(t==="!")return"!";if(t[0]!=="!")return n(`Not a valid tag: ${t}`),null;if(t[1]==="<"){const F=t.slice(2,-1);return F==="!"||F==="!!"?(n(`Verbatim tags aren't resolved, so ${t} is invalid.`),null):(t[t.length-1]!==">"&&n("Verbatim tags must end with a >"),F)}const[,r,o]=t.match(/^(.*!)([^!]*)$/s);o||n(`The ${t} tag has no suffix`);const c=this.tags[r];if(c)try{return c+decodeURIComponent(o)}catch(F){return n(String(F)),null}return r==="!"?t:(n(`Could not resolve tag: ${t}`),null)}tagString(t){for(const[n,r]of Object.entries(this.tags))if(t.startsWith(r))return n+escapeTagName(t.substring(r.length));return t[0]==="!"?t:`!<${t}>`}toString(t){const n=this.yaml.explicit?[`%YAML ${this.yaml.version||"1.2"}`]:[],r=Object.entries(this.tags);let o;if(t&&r.length>0&&isNode(t.contents)){const c={};visit(t.contents,(F,Y)=>{isNode(Y)&&Y.tag&&(c[Y.tag]=!0)}),o=Object.keys(c)}else o=[];for(const[c,F]of r)c==="!!"&&F==="tag:yaml.org,2002:"||(!t||o.some(Y=>Y.startsWith(F)))&&n.push(`%TAG ${c} ${F}`);return n.join(`
|
|
86
|
-
`)}}Directives.defaultYaml={explicit:!1,version:"1.2"};Directives.defaultTags={"!!":"tag:yaml.org,2002:"};function anchorIsValid(e){if(/[\x00-\x19\s,[\]{}]/.test(e)){const n=`Anchor must not contain whitespace or control characters: ${JSON.stringify(e)}`;throw new Error(n)}return!0}function anchorNames(e){const t=new Set;return visit(e,{Value(n,r){r.anchor&&t.add(r.anchor)}}),t}function findNewAnchor(e,t){for(let n=1;;++n){const r=`${e}${n}`;if(!t.has(r))return r}}function createNodeAnchors(e,t){const n=[],r=new Map;let o=null;return{onAnchor:c=>{n.push(c),o??(o=anchorNames(e));const F=findNewAnchor(t,o);return o.add(F),F},setAnchors:()=>{for(const c of n){const F=r.get(c);if(typeof F=="object"&&F.anchor&&(isScalar(F.node)||isCollection(F.node)))F.node.anchor=F.anchor;else{const Y=new Error("Failed to resolve repeated object (this should not happen)");throw Y.source=c,Y}}},sourceObjects:r}}function applyReviver(e,t,n,r){if(r&&typeof r=="object")if(Array.isArray(r))for(let o=0,c=r.length;o<c;++o){const F=r[o],Y=applyReviver(e,r,String(o),F);Y===void 0?delete r[o]:Y!==F&&(r[o]=Y)}else if(r instanceof Map)for(const o of Array.from(r.keys())){const c=r.get(o),F=applyReviver(e,r,o,c);F===void 0?r.delete(o):F!==c&&r.set(o,F)}else if(r instanceof Set)for(const o of Array.from(r)){const c=applyReviver(e,r,o,o);c===void 0?r.delete(o):c!==o&&(r.delete(o),r.add(c))}else for(const[o,c]of Object.entries(r)){const F=applyReviver(e,r,o,c);F===void 0?delete r[o]:F!==c&&(r[o]=F)}return e.call(t,n,r)}function toJS(e,t,n){if(Array.isArray(e))return e.map((r,o)=>toJS(r,String(o),n));if(e&&typeof e.toJSON=="function"){if(!n||!hasAnchor(e))return e.toJSON(t,n);const r={aliasCount:0,count:1,res:void 0};n.anchors.set(e,r),n.onCreate=c=>{r.res=c,delete n.onCreate};const o=e.toJSON(t,n);return n.onCreate&&n.onCreate(o),o}return typeof e=="bigint"&&!n?.keep?Number(e):e}class NodeBase{constructor(t){Object.defineProperty(this,NODE_TYPE,{value:t})}clone(){const t=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));return this.range&&(t.range=this.range.slice()),t}toJS(t,{mapAsMap:n,maxAliasCount:r,onAnchor:o,reviver:c}={}){if(!isDocument(t))throw new TypeError("A document argument is required");const F={anchors:new Map,doc:t,keep:!0,mapAsMap:n===!0,mapKeyWarned:!1,maxAliasCount:typeof r=="number"?r:100},Y=toJS(this,"",F);if(typeof o=="function")for(const{count:V,res:Q}of F.anchors.values())o(Q,V);return typeof c=="function"?applyReviver(c,{"":Y},"",Y):Y}}class Alias extends NodeBase{constructor(t){super(ALIAS),this.source=t,Object.defineProperty(this,"tag",{set(){throw new Error("Alias nodes cannot have tags")}})}resolve(t,n){let r;n?.aliasResolveCache?r=n.aliasResolveCache:(r=[],visit(t,{Node:(c,F)=>{(isAlias(F)||hasAnchor(F))&&r.push(F)}}),n&&(n.aliasResolveCache=r));let o;for(const c of r){if(c===this)break;c.anchor===this.source&&(o=c)}return o}toJSON(t,n){if(!n)return{source:this.source};const{anchors:r,doc:o,maxAliasCount:c}=n,F=this.resolve(o,n);if(!F){const V=`Unresolved alias (the anchor must be set before the alias): ${this.source}`;throw new ReferenceError(V)}let Y=r.get(F);if(Y||(toJS(F,null,n),Y=r.get(F)),Y?.res===void 0){const V="This should not happen: Alias anchor was not resolved?";throw new ReferenceError(V)}if(c>=0&&(Y.count+=1,Y.aliasCount===0&&(Y.aliasCount=getAliasCount(o,F,r)),Y.count*Y.aliasCount>c)){const V="Excessive alias count indicates a resource exhaustion attack";throw new ReferenceError(V)}return Y.res}toString(t,n,r){const o=`*${this.source}`;if(t){if(anchorIsValid(this.source),t.options.verifyAliasOrder&&!t.anchors.has(this.source)){const c=`Unresolved alias (the anchor must be set before the alias): ${this.source}`;throw new Error(c)}if(t.implicitKey)return`${o} `}return o}}function getAliasCount(e,t,n){if(isAlias(t)){const r=t.resolve(e),o=n&&r&&n.get(r);return o?o.count*o.aliasCount:0}else if(isCollection(t)){let r=0;for(const o of t.items){const c=getAliasCount(e,o,n);c>r&&(r=c)}return r}else if(isPair(t)){const r=getAliasCount(e,t.key,n),o=getAliasCount(e,t.value,n);return Math.max(r,o)}return 1}const isScalarValue=e=>!e||typeof e!="function"&&typeof e!="object";class Scalar extends NodeBase{constructor(t){super(SCALAR$1),this.value=t}toJSON(t,n){return n?.keep?this.value:toJS(this.value,t,n)}toString(){return String(this.value)}}Scalar.BLOCK_FOLDED="BLOCK_FOLDED";Scalar.BLOCK_LITERAL="BLOCK_LITERAL";Scalar.PLAIN="PLAIN";Scalar.QUOTE_DOUBLE="QUOTE_DOUBLE";Scalar.QUOTE_SINGLE="QUOTE_SINGLE";const defaultTagPrefix="tag:yaml.org,2002:";function findTagObject(e,t,n){if(t){const r=n.filter(c=>c.tag===t),o=r.find(c=>!c.format)??r[0];if(!o)throw new Error(`Tag ${t} not found`);return o}return n.find(r=>r.identify?.(e)&&!r.format)}function createNode(e,t,n){if(isDocument(e)&&(e=e.contents),isNode(e))return e;if(isPair(e)){const ue=n.schema[MAP].createNode?.(n.schema,null,n);return ue.items.push(e),ue}(e instanceof String||e instanceof Number||e instanceof Boolean||typeof BigInt<"u"&&e instanceof BigInt)&&(e=e.valueOf());const{aliasDuplicateObjects:r,onAnchor:o,onTagObj:c,schema:F,sourceObjects:Y}=n;let V;if(r&&e&&typeof e=="object"){if(V=Y.get(e),V)return V.anchor??(V.anchor=o(e)),new Alias(V.anchor);V={anchor:null,node:null},Y.set(e,V)}t?.startsWith("!!")&&(t=defaultTagPrefix+t.slice(2));let Q=findTagObject(e,t,F.tags);if(!Q){if(e&&typeof e.toJSON=="function"&&(e=e.toJSON()),!e||typeof e!="object"){const ue=new Scalar(e);return V&&(V.node=ue),ue}Q=e instanceof Map?F[MAP]:Symbol.iterator in Object(e)?F[SEQ]:F[MAP]}c&&(c(Q),delete n.onTagObj);const X=Q?.createNode?Q.createNode(n.schema,e,n):typeof Q?.nodeClass?.from=="function"?Q.nodeClass.from(n.schema,e,n):new Scalar(e);return t?X.tag=t:Q.default||(X.tag=Q.tag),V&&(V.node=X),X}function collectionFromPath(e,t,n){let r=n;for(let o=t.length-1;o>=0;--o){const c=t[o];if(typeof c=="number"&&Number.isInteger(c)&&c>=0){const F=[];F[c]=r,r=F}else r=new Map([[c,r]])}return createNode(r,void 0,{aliasDuplicateObjects:!1,keepUndefined:!1,onAnchor:()=>{throw new Error("This should not happen, please report a bug.")},schema:e,sourceObjects:new Map})}const isEmptyPath=e=>e==null||typeof e=="object"&&!!e[Symbol.iterator]().next().done;class Collection extends NodeBase{constructor(t,n){super(t),Object.defineProperty(this,"schema",{value:n,configurable:!0,enumerable:!1,writable:!0})}clone(t){const n=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));return t&&(n.schema=t),n.items=n.items.map(r=>isNode(r)||isPair(r)?r.clone(t):r),this.range&&(n.range=this.range.slice()),n}addIn(t,n){if(isEmptyPath(t))this.add(n);else{const[r,...o]=t,c=this.get(r,!0);if(isCollection(c))c.addIn(o,n);else if(c===void 0&&this.schema)this.set(r,collectionFromPath(this.schema,o,n));else throw new Error(`Expected YAML collection at ${r}. Remaining path: ${o}`)}}deleteIn(t){const[n,...r]=t;if(r.length===0)return this.delete(n);const o=this.get(n,!0);if(isCollection(o))return o.deleteIn(r);throw new Error(`Expected YAML collection at ${n}. Remaining path: ${r}`)}getIn(t,n){const[r,...o]=t,c=this.get(r,!0);return o.length===0?!n&&isScalar(c)?c.value:c:isCollection(c)?c.getIn(o,n):void 0}hasAllNullValues(t){return this.items.every(n=>{if(!isPair(n))return!1;const r=n.value;return r==null||t&&isScalar(r)&&r.value==null&&!r.commentBefore&&!r.comment&&!r.tag})}hasIn(t){const[n,...r]=t;if(r.length===0)return this.has(n);const o=this.get(n,!0);return isCollection(o)?o.hasIn(r):!1}setIn(t,n){const[r,...o]=t;if(o.length===0)this.set(r,n);else{const c=this.get(r,!0);if(isCollection(c))c.setIn(o,n);else if(c===void 0&&this.schema)this.set(r,collectionFromPath(this.schema,o,n));else throw new Error(`Expected YAML collection at ${r}. Remaining path: ${o}`)}}}const stringifyComment=e=>e.replace(/^(?!$)(?: $)?/gm,"#");function indentComment(e,t){return/^\n+$/.test(e)?e.substring(1):t?e.replace(/^(?! *$)/gm,t):e}const lineComment=(e,t,n)=>e.endsWith(`
|
|
87
|
-
`)?indentComment(n,t):n.includes(`
|
|
88
|
-
`)?`
|
|
89
|
-
`+indentComment(n,t):(e.endsWith(" ")?"":" ")+n,FOLD_FLOW="flow",FOLD_BLOCK="block",FOLD_QUOTED="quoted";function foldFlowLines(e,t,n="flow",{indentAtStart:r,lineWidth:o=80,minContentWidth:c=20,onFold:F,onOverflow:Y}={}){if(!o||o<0)return e;o<c&&(c=0);const V=Math.max(1+c,1+o-t.length);if(e.length<=V)return e;const Q=[],X={};let ue=o-t.length;typeof r=="number"&&(r>o-Math.max(2,c)?Q.push(0):ue=o-r);let se,oe,ce=!1,le=-1,de=-1,pe=-1;n===FOLD_BLOCK&&(le=consumeMoreIndentedLines(e,le,t.length),le!==-1&&(ue=le+V));for(let ge;ge=e[le+=1];){if(n===FOLD_QUOTED&&ge==="\\"){switch(de=le,e[le+1]){case"x":le+=3;break;case"u":le+=5;break;case"U":le+=9;break;default:le+=1}pe=le}if(ge===`
|
|
90
|
-
`)n===FOLD_BLOCK&&(le=consumeMoreIndentedLines(e,le,t.length)),ue=le+t.length+V,se=void 0;else{if(ge===" "&&oe&&oe!==" "&&oe!==`
|
|
91
|
-
`&&oe!==" "){const ye=e[le+1];ye&&ye!==" "&&ye!==`
|
|
92
|
-
`&&ye!==" "&&(se=le)}if(le>=ue)if(se)Q.push(se),ue=se+V,se=void 0;else if(n===FOLD_QUOTED){for(;oe===" "||oe===" ";)oe=ge,ge=e[le+=1],ce=!0;const ye=le>pe+1?le-2:de-1;if(X[ye])return e;Q.push(ye),X[ye]=!0,ue=ye+V,se=void 0}else ce=!0}oe=ge}if(ce&&Y&&Y(),Q.length===0)return e;F&&F();let be=e.slice(0,Q[0]);for(let ge=0;ge<Q.length;++ge){const ye=Q[ge],me=Q[ge+1]||e.length;ye===0?be=`
|
|
93
|
-
${t}${e.slice(0,me)}`:(n===FOLD_QUOTED&&X[ye]&&(be+=`${e[ye]}\\`),be+=`
|
|
94
|
-
${t}${e.slice(ye+1,me)}`)}return be}function consumeMoreIndentedLines(e,t,n){let r=t,o=t+1,c=e[o];for(;c===" "||c===" ";)if(t<o+n)c=e[++t];else{do c=e[++t];while(c&&c!==`
|
|
95
|
-
`);r=t,o=t+1,c=e[o]}return r}const getFoldOptions=(e,t)=>({indentAtStart:t?e.indent.length:e.indentAtStart,lineWidth:e.options.lineWidth,minContentWidth:e.options.minContentWidth}),containsDocumentMarker=e=>/^(%|---|\.\.\.)/m.test(e);function lineLengthOverLimit(e,t,n){if(!t||t<0)return!1;const r=t-n,o=e.length;if(o<=r)return!1;for(let c=0,F=0;c<o;++c)if(e[c]===`
|
|
96
|
-
`){if(c-F>r)return!0;if(F=c+1,o-F<=r)return!1}return!0}function doubleQuotedString(e,t){const n=JSON.stringify(e);if(t.options.doubleQuotedAsJSON)return n;const{implicitKey:r}=t,o=t.options.doubleQuotedMinMultiLineLength,c=t.indent||(containsDocumentMarker(e)?" ":"");let F="",Y=0;for(let V=0,Q=n[V];Q;Q=n[++V])if(Q===" "&&n[V+1]==="\\"&&n[V+2]==="n"&&(F+=n.slice(Y,V)+"\\ ",V+=1,Y=V,Q="\\"),Q==="\\")switch(n[V+1]){case"u":{F+=n.slice(Y,V);const X=n.substr(V+2,4);switch(X){case"0000":F+="\\0";break;case"0007":F+="\\a";break;case"000b":F+="\\v";break;case"001b":F+="\\e";break;case"0085":F+="\\N";break;case"00a0":F+="\\_";break;case"2028":F+="\\L";break;case"2029":F+="\\P";break;default:X.substr(0,2)==="00"?F+="\\x"+X.substr(2):F+=n.substr(V,6)}V+=5,Y=V+1}break;case"n":if(r||n[V+2]==='"'||n.length<o)V+=1;else{for(F+=n.slice(Y,V)+`
|
|
97
|
-
|
|
98
|
-
`;n[V+2]==="\\"&&n[V+3]==="n"&&n[V+4]!=='"';)F+=`
|
|
99
|
-
`,V+=2;F+=c,n[V+2]===" "&&(F+="\\"),V+=1,Y=V+1}break;default:V+=1}return F=Y?F+n.slice(Y):n,r?F:foldFlowLines(F,c,FOLD_QUOTED,getFoldOptions(t,!1))}function singleQuotedString(e,t){if(t.options.singleQuote===!1||t.implicitKey&&e.includes(`
|
|
100
|
-
`)||/[ \t]\n|\n[ \t]/.test(e))return doubleQuotedString(e,t);const n=t.indent||(containsDocumentMarker(e)?" ":""),r="'"+e.replace(/'/g,"''").replace(/\n+/g,`$&
|
|
101
|
-
${n}`)+"'";return t.implicitKey?r:foldFlowLines(r,n,FOLD_FLOW,getFoldOptions(t,!1))}function quotedString(e,t){const{singleQuote:n}=t.options;let r;if(n===!1)r=doubleQuotedString;else{const o=e.includes('"'),c=e.includes("'");o&&!c?r=singleQuotedString:c&&!o?r=doubleQuotedString:r=n?singleQuotedString:doubleQuotedString}return r(e,t)}let blockEndNewlines;try{blockEndNewlines=new RegExp(`(^|(?<!
|
|
102
|
-
))
|
|
103
|
-
+(?!
|
|
104
|
-
|$)`,"g")}catch{blockEndNewlines=/\n+(?!\n|$)/g}function blockString({comment:e,type:t,value:n},r,o,c){const{blockQuote:F,commentString:Y,lineWidth:V}=r.options;if(!F||/\n[\t ]+$/.test(n))return quotedString(n,r);const Q=r.indent||(r.forceBlockIndent||containsDocumentMarker(n)?" ":""),X=F==="literal"?!0:F==="folded"||t===Scalar.BLOCK_FOLDED?!1:t===Scalar.BLOCK_LITERAL?!0:!lineLengthOverLimit(n,V,Q.length);if(!n)return X?`|
|
|
105
|
-
`:`>
|
|
106
|
-
`;let ue,se;for(se=n.length;se>0;--se){const me=n[se-1];if(me!==`
|
|
107
|
-
`&&me!==" "&&me!==" ")break}let oe=n.substring(se);const ce=oe.indexOf(`
|
|
108
|
-
`);ce===-1?ue="-":n===oe||ce!==oe.length-1?(ue="+",c&&c()):ue="",oe&&(n=n.slice(0,-oe.length),oe[oe.length-1]===`
|
|
109
|
-
`&&(oe=oe.slice(0,-1)),oe=oe.replace(blockEndNewlines,`$&${Q}`));let le=!1,de,pe=-1;for(de=0;de<n.length;++de){const me=n[de];if(me===" ")le=!0;else if(me===`
|
|
110
|
-
`)pe=de;else break}let be=n.substring(0,pe<de?pe+1:de);be&&(n=n.substring(be.length),be=be.replace(/\n+/g,`$&${Q}`));let ye=(le?Q?"2":"1":"")+ue;if(e&&(ye+=" "+Y(e.replace(/ ?[\r\n]+/g," ")),o&&o()),!X){const me=n.replace(/\n+/g,`
|
|
111
|
-
$&`).replace(/(?:^|\n)([\t ].*)(?:([\n\t ]*)\n(?![\n\t ]))?/g,"$1$2").replace(/\n+/g,`$&${Q}`);let xe=!1;const Fe=getFoldOptions(r,!0);F!=="folded"&&t!==Scalar.BLOCK_FOLDED&&(Fe.onOverflow=()=>{xe=!0});const we=foldFlowLines(`${be}${me}${oe}`,Q,FOLD_BLOCK,Fe);if(!xe)return`>${ye}
|
|
112
|
-
${Q}${we}`}return n=n.replace(/\n+/g,`$&${Q}`),`|${ye}
|
|
113
|
-
${Q}${be}${n}${oe}`}function plainString(e,t,n,r){const{type:o,value:c}=e,{actualString:F,implicitKey:Y,indent:V,indentStep:Q,inFlow:X}=t;if(Y&&c.includes(`
|
|
114
|
-
`)||X&&/[[\]{},]/.test(c))return quotedString(c,t);if(/^[\n\t ,[\]{}#&*!|>'"%@`]|^[?-]$|^[?-][ \t]|[\n:][ \t]|[ \t]\n|[\n\t ]#|[\n\t :]$/.test(c))return Y||X||!c.includes(`
|
|
115
|
-
`)?quotedString(c,t):blockString(e,t,n,r);if(!Y&&!X&&o!==Scalar.PLAIN&&c.includes(`
|
|
116
|
-
`))return blockString(e,t,n,r);if(containsDocumentMarker(c)){if(V==="")return t.forceBlockIndent=!0,blockString(e,t,n,r);if(Y&&V===Q)return quotedString(c,t)}const ue=c.replace(/\n+/g,`$&
|
|
117
|
-
${V}`);if(F){const se=le=>le.default&&le.tag!=="tag:yaml.org,2002:str"&&le.test?.test(ue),{compat:oe,tags:ce}=t.doc.schema;if(ce.some(se)||oe?.some(se))return quotedString(c,t)}return Y?ue:foldFlowLines(ue,V,FOLD_FLOW,getFoldOptions(t,!1))}function stringifyString(e,t,n,r){const{implicitKey:o,inFlow:c}=t,F=typeof e.value=="string"?e:Object.assign({},e,{value:String(e.value)});let{type:Y}=e;Y!==Scalar.QUOTE_DOUBLE&&/[\x00-\x08\x0b-\x1f\x7f-\x9f\u{D800}-\u{DFFF}]/u.test(F.value)&&(Y=Scalar.QUOTE_DOUBLE);const V=X=>{switch(X){case Scalar.BLOCK_FOLDED:case Scalar.BLOCK_LITERAL:return o||c?quotedString(F.value,t):blockString(F,t,n,r);case Scalar.QUOTE_DOUBLE:return doubleQuotedString(F.value,t);case Scalar.QUOTE_SINGLE:return singleQuotedString(F.value,t);case Scalar.PLAIN:return plainString(F,t,n,r);default:return null}};let Q=V(Y);if(Q===null){const{defaultKeyType:X,defaultStringType:ue}=t.options,se=o&&X||ue;if(Q=V(se),Q===null)throw new Error(`Unsupported default string type ${se}`)}return Q}function createStringifyContext(e,t){const n=Object.assign({blockQuote:!0,commentString:stringifyComment,defaultKeyType:null,defaultStringType:"PLAIN",directives:null,doubleQuotedAsJSON:!1,doubleQuotedMinMultiLineLength:40,falseStr:"false",flowCollectionPadding:!0,indentSeq:!0,lineWidth:80,minContentWidth:20,nullStr:"null",simpleKeys:!1,singleQuote:null,trueStr:"true",verifyAliasOrder:!0},e.schema.toStringOptions,t);let r;switch(n.collectionStyle){case"block":r=!1;break;case"flow":r=!0;break;default:r=null}return{anchors:new Set,doc:e,flowCollectionPadding:n.flowCollectionPadding?" ":"",indent:"",indentStep:typeof n.indent=="number"?" ".repeat(n.indent):" ",inFlow:r,options:n}}function getTagObject(e,t){if(t.tag){const o=e.filter(c=>c.tag===t.tag);if(o.length>0)return o.find(c=>c.format===t.format)??o[0]}let n,r;if(isScalar(t)){r=t.value;let o=e.filter(c=>c.identify?.(r));if(o.length>1){const c=o.filter(F=>F.test);c.length>0&&(o=c)}n=o.find(c=>c.format===t.format)??o.find(c=>!c.format)}else r=t,n=e.find(o=>o.nodeClass&&r instanceof o.nodeClass);if(!n){const o=r?.constructor?.name??(r===null?"null":typeof r);throw new Error(`Tag not resolved for ${o} value`)}return n}function stringifyProps(e,t,{anchors:n,doc:r}){if(!r.directives)return"";const o=[],c=(isScalar(e)||isCollection(e))&&e.anchor;c&&anchorIsValid(c)&&(n.add(c),o.push(`&${c}`));const F=e.tag??(t.default?null:t.tag);return F&&o.push(r.directives.tagString(F)),o.join(" ")}function stringify(e,t,n,r){if(isPair(e))return e.toString(t,n,r);if(isAlias(e)){if(t.doc.directives)return e.toString(t);if(t.resolvedAliases?.has(e))throw new TypeError("Cannot stringify circular structure without alias nodes");t.resolvedAliases?t.resolvedAliases.add(e):t.resolvedAliases=new Set([e]),e=e.resolve(t.doc)}let o;const c=isNode(e)?e:t.doc.createNode(e,{onTagObj:V=>o=V});o??(o=getTagObject(t.doc.schema.tags,c));const F=stringifyProps(c,o,t);F.length>0&&(t.indentAtStart=(t.indentAtStart??0)+F.length+1);const Y=typeof o.stringify=="function"?o.stringify(c,t,n,r):isScalar(c)?stringifyString(c,t,n,r):c.toString(t,n,r);return F?isScalar(c)||Y[0]==="{"||Y[0]==="["?`${F} ${Y}`:`${F}
|
|
118
|
-
${t.indent}${Y}`:Y}function stringifyPair({key:e,value:t},n,r,o){const{allNullValues:c,doc:F,indent:Y,indentStep:V,options:{commentString:Q,indentSeq:X,simpleKeys:ue}}=n;let se=isNode(e)&&e.comment||null;if(ue){if(se)throw new Error("With simple keys, key nodes cannot have comments");if(isCollection(e)||!isNode(e)&&typeof e=="object"){const Fe="With simple keys, collection cannot be used as a key value";throw new Error(Fe)}}let oe=!ue&&(!e||se&&t==null&&!n.inFlow||isCollection(e)||(isScalar(e)?e.type===Scalar.BLOCK_FOLDED||e.type===Scalar.BLOCK_LITERAL:typeof e=="object"));n=Object.assign({},n,{allNullValues:!1,implicitKey:!oe&&(ue||!c),indent:Y+V});let ce=!1,le=!1,de=stringify(e,n,()=>ce=!0,()=>le=!0);if(!oe&&!n.inFlow&&de.length>1024){if(ue)throw new Error("With simple keys, single line scalar must not span more than 1024 characters");oe=!0}if(n.inFlow){if(c||t==null)return ce&&r&&r(),de===""?"?":oe?`? ${de}`:de}else if(c&&!ue||t==null&&oe)return de=`? ${de}`,se&&!ce?de+=lineComment(de,n.indent,Q(se)):le&&o&&o(),de;ce&&(se=null),oe?(se&&(de+=lineComment(de,n.indent,Q(se))),de=`? ${de}
|
|
119
|
-
${Y}:`):(de=`${de}:`,se&&(de+=lineComment(de,n.indent,Q(se))));let pe,be,ge;isNode(t)?(pe=!!t.spaceBefore,be=t.commentBefore,ge=t.comment):(pe=!1,be=null,ge=null,t&&typeof t=="object"&&(t=F.createNode(t))),n.implicitKey=!1,!oe&&!se&&isScalar(t)&&(n.indentAtStart=de.length+1),le=!1,!X&&V.length>=2&&!n.inFlow&&!oe&&isSeq(t)&&!t.flow&&!t.tag&&!t.anchor&&(n.indent=n.indent.substring(2));let ye=!1;const me=stringify(t,n,()=>ye=!0,()=>le=!0);let xe=" ";if(se||pe||be){if(xe=pe?`
|
|
120
|
-
`:"",be){const Fe=Q(be);xe+=`
|
|
121
|
-
${indentComment(Fe,n.indent)}`}me===""&&!n.inFlow?xe===`
|
|
122
|
-
`&&ge&&(xe=`
|
|
123
|
-
|
|
124
|
-
`):xe+=`
|
|
125
|
-
${n.indent}`}else if(!oe&&isCollection(t)){const Fe=me[0],we=me.indexOf(`
|
|
126
|
-
`),Te=we!==-1,Be=n.inFlow??t.flow??t.items.length===0;if(Te||!Be){let Oe=!1;if(Te&&(Fe==="&"||Fe==="!")){let ve=me.indexOf(" ");Fe==="&"&&ve!==-1&&ve<we&&me[ve+1]==="!"&&(ve=me.indexOf(" ",ve+1)),(ve===-1||we<ve)&&(Oe=!0)}Oe||(xe=`
|
|
127
|
-
${n.indent}`)}}else(me===""||me[0]===`
|
|
128
|
-
`)&&(xe="");return de+=xe+me,n.inFlow?ye&&r&&r():ge&&!ye?de+=lineComment(de,n.indent,Q(ge)):le&&o&&o(),de}function warn(e,t){(e==="debug"||e==="warn")&&console.warn(t)}const MERGE_KEY="<<",merge={identify:e=>e===MERGE_KEY||typeof e=="symbol"&&e.description===MERGE_KEY,default:"key",tag:"tag:yaml.org,2002:merge",test:/^<<$/,resolve:()=>Object.assign(new Scalar(Symbol(MERGE_KEY)),{addToJSMap:addMergeToJSMap}),stringify:()=>MERGE_KEY},isMergeKey=(e,t)=>(merge.identify(t)||isScalar(t)&&(!t.type||t.type===Scalar.PLAIN)&&merge.identify(t.value))&&e?.doc.schema.tags.some(n=>n.tag===merge.tag&&n.default);function addMergeToJSMap(e,t,n){if(n=e&&isAlias(n)?n.resolve(e.doc):n,isSeq(n))for(const r of n.items)mergeValue(e,t,r);else if(Array.isArray(n))for(const r of n)mergeValue(e,t,r);else mergeValue(e,t,n)}function mergeValue(e,t,n){const r=e&&isAlias(n)?n.resolve(e.doc):n;if(!isMap(r))throw new Error("Merge sources must be maps or map aliases");const o=r.toJSON(null,e,Map);for(const[c,F]of o)t instanceof Map?t.has(c)||t.set(c,F):t instanceof Set?t.add(c):Object.prototype.hasOwnProperty.call(t,c)||Object.defineProperty(t,c,{value:F,writable:!0,enumerable:!0,configurable:!0});return t}function addPairToJSMap(e,t,{key:n,value:r}){if(isNode(n)&&n.addToJSMap)n.addToJSMap(e,t,r);else if(isMergeKey(e,n))addMergeToJSMap(e,t,r);else{const o=toJS(n,"",e);if(t instanceof Map)t.set(o,toJS(r,o,e));else if(t instanceof Set)t.add(o);else{const c=stringifyKey(n,o,e),F=toJS(r,c,e);c in t?Object.defineProperty(t,c,{value:F,writable:!0,enumerable:!0,configurable:!0}):t[c]=F}}return t}function stringifyKey(e,t,n){if(t===null)return"";if(typeof t!="object")return String(t);if(isNode(e)&&n?.doc){const r=createStringifyContext(n.doc,{});r.anchors=new Set;for(const c of n.anchors.keys())r.anchors.add(c.anchor);r.inFlow=!0,r.inStringifyKey=!0;const o=e.toString(r);if(!n.mapKeyWarned){let c=JSON.stringify(o);c.length>40&&(c=c.substring(0,36)+'..."'),warn(n.doc.options.logLevel,`Keys with collection values will be stringified due to JS Object restrictions: ${c}. Set mapAsMap: true to use object keys.`),n.mapKeyWarned=!0}return o}return JSON.stringify(t)}function createPair(e,t,n){const r=createNode(e,void 0,n),o=createNode(t,void 0,n);return new Pair(r,o)}class Pair{constructor(t,n=null){Object.defineProperty(this,NODE_TYPE,{value:PAIR}),this.key=t,this.value=n}clone(t){let{key:n,value:r}=this;return isNode(n)&&(n=n.clone(t)),isNode(r)&&(r=r.clone(t)),new Pair(n,r)}toJSON(t,n){const r=n?.mapAsMap?new Map:{};return addPairToJSMap(n,r,this)}toString(t,n,r){return t?.doc?stringifyPair(this,t,n,r):JSON.stringify(this)}}function stringifyCollection(e,t,n){return(t.inFlow??e.flow?stringifyFlowCollection:stringifyBlockCollection)(e,t,n)}function stringifyBlockCollection({comment:e,items:t},n,{blockItemPrefix:r,flowChars:o,itemIndent:c,onChompKeep:F,onComment:Y}){const{indent:V,options:{commentString:Q}}=n,X=Object.assign({},n,{indent:c,type:null});let ue=!1;const se=[];for(let ce=0;ce<t.length;++ce){const le=t[ce];let de=null;if(isNode(le))!ue&&le.spaceBefore&&se.push(""),addCommentBefore(n,se,le.commentBefore,ue),le.comment&&(de=le.comment);else if(isPair(le)){const be=isNode(le.key)?le.key:null;be&&(!ue&&be.spaceBefore&&se.push(""),addCommentBefore(n,se,be.commentBefore,ue))}ue=!1;let pe=stringify(le,X,()=>de=null,()=>ue=!0);de&&(pe+=lineComment(pe,c,Q(de))),ue&&de&&(ue=!1),se.push(r+pe)}let oe;if(se.length===0)oe=o.start+o.end;else{oe=se[0];for(let ce=1;ce<se.length;++ce){const le=se[ce];oe+=le?`
|
|
129
|
-
${V}${le}`:`
|
|
130
|
-
`}}return e?(oe+=`
|
|
131
|
-
`+indentComment(Q(e),V),Y&&Y()):ue&&F&&F(),oe}function stringifyFlowCollection({items:e},t,{flowChars:n,itemIndent:r}){const{indent:o,indentStep:c,flowCollectionPadding:F,options:{commentString:Y}}=t;r+=c;const V=Object.assign({},t,{indent:r,inFlow:!0,type:null});let Q=!1,X=0;const ue=[];for(let ce=0;ce<e.length;++ce){const le=e[ce];let de=null;if(isNode(le))le.spaceBefore&&ue.push(""),addCommentBefore(t,ue,le.commentBefore,!1),le.comment&&(de=le.comment);else if(isPair(le)){const be=isNode(le.key)?le.key:null;be&&(be.spaceBefore&&ue.push(""),addCommentBefore(t,ue,be.commentBefore,!1),be.comment&&(Q=!0));const ge=isNode(le.value)?le.value:null;ge?(ge.comment&&(de=ge.comment),ge.commentBefore&&(Q=!0)):le.value==null&&be?.comment&&(de=be.comment)}de&&(Q=!0);let pe=stringify(le,V,()=>de=null);ce<e.length-1&&(pe+=","),de&&(pe+=lineComment(pe,r,Y(de))),!Q&&(ue.length>X||pe.includes(`
|
|
132
|
-
`))&&(Q=!0),ue.push(pe),X=ue.length}const{start:se,end:oe}=n;if(ue.length===0)return se+oe;if(!Q){const ce=ue.reduce((le,de)=>le+de.length+2,2);Q=t.options.lineWidth>0&&ce>t.options.lineWidth}if(Q){let ce=se;for(const le of ue)ce+=le?`
|
|
133
|
-
${c}${o}${le}`:`
|
|
134
|
-
`;return`${ce}
|
|
135
|
-
${o}${oe}`}else return`${se}${F}${ue.join(" ")}${F}${oe}`}function addCommentBefore({indent:e,options:{commentString:t}},n,r,o){if(r&&o&&(r=r.replace(/^\n+/,"")),r){const c=indentComment(t(r),e);n.push(c.trimStart())}}function findPair(e,t){const n=isScalar(t)?t.value:t;for(const r of e)if(isPair(r)&&(r.key===t||r.key===n||isScalar(r.key)&&r.key.value===n))return r}class YAMLMap extends Collection{static get tagName(){return"tag:yaml.org,2002:map"}constructor(t){super(MAP,t),this.items=[]}static from(t,n,r){const{keepUndefined:o,replacer:c}=r,F=new this(t),Y=(V,Q)=>{if(typeof c=="function")Q=c.call(n,V,Q);else if(Array.isArray(c)&&!c.includes(V))return;(Q!==void 0||o)&&F.items.push(createPair(V,Q,r))};if(n instanceof Map)for(const[V,Q]of n)Y(V,Q);else if(n&&typeof n=="object")for(const V of Object.keys(n))Y(V,n[V]);return typeof t.sortMapEntries=="function"&&F.items.sort(t.sortMapEntries),F}add(t,n){let r;isPair(t)?r=t:!t||typeof t!="object"||!("key"in t)?r=new Pair(t,t?.value):r=new Pair(t.key,t.value);const o=findPair(this.items,r.key),c=this.schema?.sortMapEntries;if(o){if(!n)throw new Error(`Key ${r.key} already set`);isScalar(o.value)&&isScalarValue(r.value)?o.value.value=r.value:o.value=r.value}else if(c){const F=this.items.findIndex(Y=>c(r,Y)<0);F===-1?this.items.push(r):this.items.splice(F,0,r)}else this.items.push(r)}delete(t){const n=findPair(this.items,t);return n?this.items.splice(this.items.indexOf(n),1).length>0:!1}get(t,n){const o=findPair(this.items,t)?.value;return(!n&&isScalar(o)?o.value:o)??void 0}has(t){return!!findPair(this.items,t)}set(t,n){this.add(new Pair(t,n),!0)}toJSON(t,n,r){const o=r?new r:n?.mapAsMap?new Map:{};n?.onCreate&&n.onCreate(o);for(const c of this.items)addPairToJSMap(n,o,c);return o}toString(t,n,r){if(!t)return JSON.stringify(this);for(const o of this.items)if(!isPair(o))throw new Error(`Map items must all be pairs; found ${JSON.stringify(o)} instead`);return!t.allNullValues&&this.hasAllNullValues(!1)&&(t=Object.assign({},t,{allNullValues:!0})),stringifyCollection(this,t,{blockItemPrefix:"",flowChars:{start:"{",end:"}"},itemIndent:t.indent||"",onChompKeep:r,onComment:n})}}const map={collection:"map",default:!0,nodeClass:YAMLMap,tag:"tag:yaml.org,2002:map",resolve(e,t){return isMap(e)||t("Expected a mapping for this tag"),e},createNode:(e,t,n)=>YAMLMap.from(e,t,n)};class YAMLSeq extends Collection{static get tagName(){return"tag:yaml.org,2002:seq"}constructor(t){super(SEQ,t),this.items=[]}add(t){this.items.push(t)}delete(t){const n=asItemIndex(t);return typeof n!="number"?!1:this.items.splice(n,1).length>0}get(t,n){const r=asItemIndex(t);if(typeof r!="number")return;const o=this.items[r];return!n&&isScalar(o)?o.value:o}has(t){const n=asItemIndex(t);return typeof n=="number"&&n<this.items.length}set(t,n){const r=asItemIndex(t);if(typeof r!="number")throw new Error(`Expected a valid index, not ${t}.`);const o=this.items[r];isScalar(o)&&isScalarValue(n)?o.value=n:this.items[r]=n}toJSON(t,n){const r=[];n?.onCreate&&n.onCreate(r);let o=0;for(const c of this.items)r.push(toJS(c,String(o++),n));return r}toString(t,n,r){return t?stringifyCollection(this,t,{blockItemPrefix:"- ",flowChars:{start:"[",end:"]"},itemIndent:(t.indent||"")+" ",onChompKeep:r,onComment:n}):JSON.stringify(this)}static from(t,n,r){const{replacer:o}=r,c=new this(t);if(n&&Symbol.iterator in Object(n)){let F=0;for(let Y of n){if(typeof o=="function"){const V=n instanceof Set?Y:String(F++);Y=o.call(n,V,Y)}c.items.push(createNode(Y,void 0,r))}}return c}}function asItemIndex(e){let t=isScalar(e)?e.value:e;return t&&typeof t=="string"&&(t=Number(t)),typeof t=="number"&&Number.isInteger(t)&&t>=0?t:null}const seq={collection:"seq",default:!0,nodeClass:YAMLSeq,tag:"tag:yaml.org,2002:seq",resolve(e,t){return isSeq(e)||t("Expected a sequence for this tag"),e},createNode:(e,t,n)=>YAMLSeq.from(e,t,n)},string={identify:e=>typeof e=="string",default:!0,tag:"tag:yaml.org,2002:str",resolve:e=>e,stringify(e,t,n,r){return t=Object.assign({actualString:!0},t),stringifyString(e,t,n,r)}},nullTag={identify:e=>e==null,createNode:()=>new Scalar(null),default:!0,tag:"tag:yaml.org,2002:null",test:/^(?:~|[Nn]ull|NULL)?$/,resolve:()=>new Scalar(null),stringify:({source:e},t)=>typeof e=="string"&&nullTag.test.test(e)?e:t.options.nullStr},boolTag={identify:e=>typeof e=="boolean",default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:[Tt]rue|TRUE|[Ff]alse|FALSE)$/,resolve:e=>new Scalar(e[0]==="t"||e[0]==="T"),stringify({source:e,value:t},n){if(e&&boolTag.test.test(e)){const r=e[0]==="t"||e[0]==="T";if(t===r)return e}return t?n.options.trueStr:n.options.falseStr}};function stringifyNumber({format:e,minFractionDigits:t,tag:n,value:r}){if(typeof r=="bigint")return String(r);const o=typeof r=="number"?r:Number(r);if(!isFinite(o))return isNaN(o)?".nan":o<0?"-.inf":".inf";let c=Object.is(r,-0)?"-0":JSON.stringify(r);if(!e&&t&&(!n||n==="tag:yaml.org,2002:float")&&/^\d/.test(c)){let F=c.indexOf(".");F<0&&(F=c.length,c+=".");let Y=t-(c.length-F-1);for(;Y-- >0;)c+="0"}return c}const floatNaN$1={identify:e=>typeof e=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^(?:[-+]?\.(?:inf|Inf|INF)|\.nan|\.NaN|\.NAN)$/,resolve:e=>e.slice(-3).toLowerCase()==="nan"?NaN:e[0]==="-"?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,stringify:stringifyNumber},floatExp$1={identify:e=>typeof e=="number",default:!0,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?(?:\.[0-9]+|[0-9]+(?:\.[0-9]*)?)[eE][-+]?[0-9]+$/,resolve:e=>parseFloat(e),stringify(e){const t=Number(e.value);return isFinite(t)?t.toExponential():stringifyNumber(e)}},float$1={identify:e=>typeof e=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:\.[0-9]+|[0-9]+\.[0-9]*)$/,resolve(e){const t=new Scalar(parseFloat(e)),n=e.indexOf(".");return n!==-1&&e[e.length-1]==="0"&&(t.minFractionDigits=e.length-n-1),t},stringify:stringifyNumber},intIdentify$2=e=>typeof e=="bigint"||Number.isInteger(e),intResolve$1=(e,t,n,{intAsBigInt:r})=>r?BigInt(e):parseInt(e.substring(t),n);function intStringify$1(e,t,n){const{value:r}=e;return intIdentify$2(r)&&r>=0?n+r.toString(t):stringifyNumber(e)}const intOct$1={identify:e=>intIdentify$2(e)&&e>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^0o[0-7]+$/,resolve:(e,t,n)=>intResolve$1(e,2,8,n),stringify:e=>intStringify$1(e,8,"0o")},int$1={identify:intIdentify$2,default:!0,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9]+$/,resolve:(e,t,n)=>intResolve$1(e,0,10,n),stringify:stringifyNumber},intHex$1={identify:e=>intIdentify$2(e)&&e>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^0x[0-9a-fA-F]+$/,resolve:(e,t,n)=>intResolve$1(e,2,16,n),stringify:e=>intStringify$1(e,16,"0x")},schema$2=[map,seq,string,nullTag,boolTag,intOct$1,int$1,intHex$1,floatNaN$1,floatExp$1,float$1];function intIdentify$1(e){return typeof e=="bigint"||Number.isInteger(e)}const stringifyJSON=({value:e})=>JSON.stringify(e),jsonScalars=[{identify:e=>typeof e=="string",default:!0,tag:"tag:yaml.org,2002:str",resolve:e=>e,stringify:stringifyJSON},{identify:e=>e==null,createNode:()=>new Scalar(null),default:!0,tag:"tag:yaml.org,2002:null",test:/^null$/,resolve:()=>null,stringify:stringifyJSON},{identify:e=>typeof e=="boolean",default:!0,tag:"tag:yaml.org,2002:bool",test:/^true$|^false$/,resolve:e=>e==="true",stringify:stringifyJSON},{identify:intIdentify$1,default:!0,tag:"tag:yaml.org,2002:int",test:/^-?(?:0|[1-9][0-9]*)$/,resolve:(e,t,{intAsBigInt:n})=>n?BigInt(e):parseInt(e,10),stringify:({value:e})=>intIdentify$1(e)?e.toString():JSON.stringify(e)},{identify:e=>typeof e=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^-?(?:0|[1-9][0-9]*)(?:\.[0-9]*)?(?:[eE][-+]?[0-9]+)?$/,resolve:e=>parseFloat(e),stringify:stringifyJSON}],jsonError={default:!0,tag:"",test:/^/,resolve(e,t){return t(`Unresolved plain scalar ${JSON.stringify(e)}`),e}},schema$1=[map,seq].concat(jsonScalars,jsonError),binary={identify:e=>e instanceof Uint8Array,default:!1,tag:"tag:yaml.org,2002:binary",resolve(e,t){if(typeof atob=="function"){const n=atob(e.replace(/[\n\r]/g,"")),r=new Uint8Array(n.length);for(let o=0;o<n.length;++o)r[o]=n.charCodeAt(o);return r}else return t("This environment does not support reading binary tags; either Buffer or atob is required"),e},stringify({comment:e,type:t,value:n},r,o,c){if(!n)return"";const F=n;let Y;if(typeof btoa=="function"){let V="";for(let Q=0;Q<F.length;++Q)V+=String.fromCharCode(F[Q]);Y=btoa(V)}else throw new Error("This environment does not support writing binary tags; either Buffer or btoa is required");if(t??(t=Scalar.BLOCK_LITERAL),t!==Scalar.QUOTE_DOUBLE){const V=Math.max(r.options.lineWidth-r.indent.length,r.options.minContentWidth),Q=Math.ceil(Y.length/V),X=new Array(Q);for(let ue=0,se=0;ue<Q;++ue,se+=V)X[ue]=Y.substr(se,V);Y=X.join(t===Scalar.BLOCK_LITERAL?`
|
|
136
|
-
`:" ")}return stringifyString({comment:e,type:t,value:Y},r,o,c)}};function resolvePairs(e,t){if(isSeq(e))for(let n=0;n<e.items.length;++n){let r=e.items[n];if(!isPair(r)){if(isMap(r)){r.items.length>1&&t("Each pair must have its own sequence indicator");const o=r.items[0]||new Pair(new Scalar(null));if(r.commentBefore&&(o.key.commentBefore=o.key.commentBefore?`${r.commentBefore}
|
|
137
|
-
${o.key.commentBefore}`:r.commentBefore),r.comment){const c=o.value??o.key;c.comment=c.comment?`${r.comment}
|
|
138
|
-
${c.comment}`:r.comment}r=o}e.items[n]=isPair(r)?r:new Pair(r)}}else t("Expected a sequence for this tag");return e}function createPairs(e,t,n){const{replacer:r}=n,o=new YAMLSeq(e);o.tag="tag:yaml.org,2002:pairs";let c=0;if(t&&Symbol.iterator in Object(t))for(let F of t){typeof r=="function"&&(F=r.call(t,String(c++),F));let Y,V;if(Array.isArray(F))if(F.length===2)Y=F[0],V=F[1];else throw new TypeError(`Expected [key, value] tuple: ${F}`);else if(F&&F instanceof Object){const Q=Object.keys(F);if(Q.length===1)Y=Q[0],V=F[Y];else throw new TypeError(`Expected tuple with one key, not ${Q.length} keys`)}else Y=F;o.items.push(createPair(Y,V,n))}return o}const pairs={collection:"seq",default:!1,tag:"tag:yaml.org,2002:pairs",resolve:resolvePairs,createNode:createPairs};class YAMLOMap extends YAMLSeq{constructor(){super(),this.add=YAMLMap.prototype.add.bind(this),this.delete=YAMLMap.prototype.delete.bind(this),this.get=YAMLMap.prototype.get.bind(this),this.has=YAMLMap.prototype.has.bind(this),this.set=YAMLMap.prototype.set.bind(this),this.tag=YAMLOMap.tag}toJSON(t,n){if(!n)return super.toJSON(t);const r=new Map;n?.onCreate&&n.onCreate(r);for(const o of this.items){let c,F;if(isPair(o)?(c=toJS(o.key,"",n),F=toJS(o.value,c,n)):c=toJS(o,"",n),r.has(c))throw new Error("Ordered maps must not include duplicate keys");r.set(c,F)}return r}static from(t,n,r){const o=createPairs(t,n,r),c=new this;return c.items=o.items,c}}YAMLOMap.tag="tag:yaml.org,2002:omap";const omap={collection:"seq",identify:e=>e instanceof Map,nodeClass:YAMLOMap,default:!1,tag:"tag:yaml.org,2002:omap",resolve(e,t){const n=resolvePairs(e,t),r=[];for(const{key:o}of n.items)isScalar(o)&&(r.includes(o.value)?t(`Ordered maps must not include duplicate keys: ${o.value}`):r.push(o.value));return Object.assign(new YAMLOMap,n)},createNode:(e,t,n)=>YAMLOMap.from(e,t,n)};function boolStringify({value:e,source:t},n){return t&&(e?trueTag:falseTag).test.test(t)?t:e?n.options.trueStr:n.options.falseStr}const trueTag={identify:e=>e===!0,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:Y|y|[Yy]es|YES|[Tt]rue|TRUE|[Oo]n|ON)$/,resolve:()=>new Scalar(!0),stringify:boolStringify},falseTag={identify:e=>e===!1,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:N|n|[Nn]o|NO|[Ff]alse|FALSE|[Oo]ff|OFF)$/,resolve:()=>new Scalar(!1),stringify:boolStringify},floatNaN={identify:e=>typeof e=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^(?:[-+]?\.(?:inf|Inf|INF)|\.nan|\.NaN|\.NAN)$/,resolve:e=>e.slice(-3).toLowerCase()==="nan"?NaN:e[0]==="-"?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,stringify:stringifyNumber},floatExp={identify:e=>typeof e=="number",default:!0,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?(?:[0-9][0-9_]*)?(?:\.[0-9_]*)?[eE][-+]?[0-9]+$/,resolve:e=>parseFloat(e.replace(/_/g,"")),stringify(e){const t=Number(e.value);return isFinite(t)?t.toExponential():stringifyNumber(e)}},float={identify:e=>typeof e=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:[0-9][0-9_]*)?\.[0-9_]*$/,resolve(e){const t=new Scalar(parseFloat(e.replace(/_/g,""))),n=e.indexOf(".");if(n!==-1){const r=e.substring(n+1).replace(/_/g,"");r[r.length-1]==="0"&&(t.minFractionDigits=r.length)}return t},stringify:stringifyNumber},intIdentify=e=>typeof e=="bigint"||Number.isInteger(e);function intResolve(e,t,n,{intAsBigInt:r}){const o=e[0];if((o==="-"||o==="+")&&(t+=1),e=e.substring(t).replace(/_/g,""),r){switch(n){case 2:e=`0b${e}`;break;case 8:e=`0o${e}`;break;case 16:e=`0x${e}`;break}const F=BigInt(e);return o==="-"?BigInt(-1)*F:F}const c=parseInt(e,n);return o==="-"?-1*c:c}function intStringify(e,t,n){const{value:r}=e;if(intIdentify(r)){const o=r.toString(t);return r<0?"-"+n+o.substr(1):n+o}return stringifyNumber(e)}const intBin={identify:intIdentify,default:!0,tag:"tag:yaml.org,2002:int",format:"BIN",test:/^[-+]?0b[0-1_]+$/,resolve:(e,t,n)=>intResolve(e,2,2,n),stringify:e=>intStringify(e,2,"0b")},intOct={identify:intIdentify,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^[-+]?0[0-7_]+$/,resolve:(e,t,n)=>intResolve(e,1,8,n),stringify:e=>intStringify(e,8,"0")},int={identify:intIdentify,default:!0,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9][0-9_]*$/,resolve:(e,t,n)=>intResolve(e,0,10,n),stringify:stringifyNumber},intHex={identify:intIdentify,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^[-+]?0x[0-9a-fA-F_]+$/,resolve:(e,t,n)=>intResolve(e,2,16,n),stringify:e=>intStringify(e,16,"0x")};class YAMLSet extends YAMLMap{constructor(t){super(t),this.tag=YAMLSet.tag}add(t){let n;isPair(t)?n=t:t&&typeof t=="object"&&"key"in t&&"value"in t&&t.value===null?n=new Pair(t.key,null):n=new Pair(t,null),findPair(this.items,n.key)||this.items.push(n)}get(t,n){const r=findPair(this.items,t);return!n&&isPair(r)?isScalar(r.key)?r.key.value:r.key:r}set(t,n){if(typeof n!="boolean")throw new Error(`Expected boolean value for set(key, value) in a YAML set, not ${typeof n}`);const r=findPair(this.items,t);r&&!n?this.items.splice(this.items.indexOf(r),1):!r&&n&&this.items.push(new Pair(t))}toJSON(t,n){return super.toJSON(t,n,Set)}toString(t,n,r){if(!t)return JSON.stringify(this);if(this.hasAllNullValues(!0))return super.toString(Object.assign({},t,{allNullValues:!0}),n,r);throw new Error("Set items must all have null values")}static from(t,n,r){const{replacer:o}=r,c=new this(t);if(n&&Symbol.iterator in Object(n))for(let F of n)typeof o=="function"&&(F=o.call(n,F,F)),c.items.push(createPair(F,null,r));return c}}YAMLSet.tag="tag:yaml.org,2002:set";const set={collection:"map",identify:e=>e instanceof Set,nodeClass:YAMLSet,default:!1,tag:"tag:yaml.org,2002:set",createNode:(e,t,n)=>YAMLSet.from(e,t,n),resolve(e,t){if(isMap(e)){if(e.hasAllNullValues(!0))return Object.assign(new YAMLSet,e);t("Set items must all have null values")}else t("Expected a mapping for this tag");return e}};function parseSexagesimal(e,t){const n=e[0],r=n==="-"||n==="+"?e.substring(1):e,o=F=>t?BigInt(F):Number(F),c=r.replace(/_/g,"").split(":").reduce((F,Y)=>F*o(60)+o(Y),o(0));return n==="-"?o(-1)*c:c}function stringifySexagesimal(e){let{value:t}=e,n=F=>F;if(typeof t=="bigint")n=F=>BigInt(F);else if(isNaN(t)||!isFinite(t))return stringifyNumber(e);let r="";t<0&&(r="-",t*=n(-1));const o=n(60),c=[t%o];return t<60?c.unshift(0):(t=(t-c[0])/o,c.unshift(t%o),t>=60&&(t=(t-c[0])/o,c.unshift(t))),r+c.map(F=>String(F).padStart(2,"0")).join(":").replace(/000000\d*$/,"")}const intTime={identify:e=>typeof e=="bigint"||Number.isInteger(e),default:!0,tag:"tag:yaml.org,2002:int",format:"TIME",test:/^[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+$/,resolve:(e,t,{intAsBigInt:n})=>parseSexagesimal(e,n),stringify:stringifySexagesimal},floatTime={identify:e=>typeof e=="number",default:!0,tag:"tag:yaml.org,2002:float",format:"TIME",test:/^[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\.[0-9_]*$/,resolve:e=>parseSexagesimal(e,!1),stringify:stringifySexagesimal},timestamp={identify:e=>e instanceof Date,default:!0,tag:"tag:yaml.org,2002:timestamp",test:RegExp("^([0-9]{4})-([0-9]{1,2})-([0-9]{1,2})(?:(?:t|T|[ \\t]+)([0-9]{1,2}):([0-9]{1,2}):([0-9]{1,2}(\\.[0-9]+)?)(?:[ \\t]*(Z|[-+][012]?[0-9](?::[0-9]{2})?))?)?$"),resolve(e){const t=e.match(timestamp.test);if(!t)throw new Error("!!timestamp expects a date, starting with yyyy-mm-dd");const[,n,r,o,c,F,Y]=t.map(Number),V=t[7]?Number((t[7]+"00").substr(1,3)):0;let Q=Date.UTC(n,r-1,o,c||0,F||0,Y||0,V);const X=t[8];if(X&&X!=="Z"){let ue=parseSexagesimal(X,!1);Math.abs(ue)<30&&(ue*=60),Q-=6e4*ue}return new Date(Q)},stringify:({value:e})=>e?.toISOString().replace(/(T00:00:00)?\.000Z$/,"")??""},schema=[map,seq,string,nullTag,trueTag,falseTag,intBin,intOct,int,intHex,floatNaN,floatExp,float,binary,merge,omap,pairs,set,intTime,floatTime,timestamp],schemas=new Map([["core",schema$2],["failsafe",[map,seq,string]],["json",schema$1],["yaml11",schema],["yaml-1.1",schema]]),tagsByName={binary,bool:boolTag,float:float$1,floatExp:floatExp$1,floatNaN:floatNaN$1,floatTime,int:int$1,intHex:intHex$1,intOct:intOct$1,intTime,map,merge,null:nullTag,omap,pairs,seq,set,timestamp},coreKnownTags={"tag:yaml.org,2002:binary":binary,"tag:yaml.org,2002:merge":merge,"tag:yaml.org,2002:omap":omap,"tag:yaml.org,2002:pairs":pairs,"tag:yaml.org,2002:set":set,"tag:yaml.org,2002:timestamp":timestamp};function getTags(e,t,n){const r=schemas.get(t);if(r&&!e)return n&&!r.includes(merge)?r.concat(merge):r.slice();let o=r;if(!o)if(Array.isArray(e))o=[];else{const c=Array.from(schemas.keys()).filter(F=>F!=="yaml11").map(F=>JSON.stringify(F)).join(", ");throw new Error(`Unknown schema "${t}"; use one of ${c} or define customTags array`)}if(Array.isArray(e))for(const c of e)o=o.concat(c);else typeof e=="function"&&(o=e(o.slice()));return n&&(o=o.concat(merge)),o.reduce((c,F)=>{const Y=typeof F=="string"?tagsByName[F]:F;if(!Y){const V=JSON.stringify(F),Q=Object.keys(tagsByName).map(X=>JSON.stringify(X)).join(", ");throw new Error(`Unknown custom tag ${V}; use one of ${Q}`)}return c.includes(Y)||c.push(Y),c},[])}const sortMapEntriesByKey=(e,t)=>e.key<t.key?-1:e.key>t.key?1:0;class Schema{constructor({compat:t,customTags:n,merge:r,resolveKnownTags:o,schema:c,sortMapEntries:F,toStringDefaults:Y}){this.compat=Array.isArray(t)?getTags(t,"compat"):t?getTags(null,t):null,this.name=typeof c=="string"&&c||"core",this.knownTags=o?coreKnownTags:{},this.tags=getTags(n,this.name,r),this.toStringOptions=Y??null,Object.defineProperty(this,MAP,{value:map}),Object.defineProperty(this,SCALAR$1,{value:string}),Object.defineProperty(this,SEQ,{value:seq}),this.sortMapEntries=typeof F=="function"?F:F===!0?sortMapEntriesByKey:null}clone(){const t=Object.create(Schema.prototype,Object.getOwnPropertyDescriptors(this));return t.tags=this.tags.slice(),t}}function stringifyDocument(e,t){const n=[];let r=t.directives===!0;if(t.directives!==!1&&e.directives){const V=e.directives.toString(e);V?(n.push(V),r=!0):e.directives.docStart&&(r=!0)}r&&n.push("---");const o=createStringifyContext(e,t),{commentString:c}=o.options;if(e.commentBefore){n.length!==1&&n.unshift("");const V=c(e.commentBefore);n.unshift(indentComment(V,""))}let F=!1,Y=null;if(e.contents){if(isNode(e.contents)){if(e.contents.spaceBefore&&r&&n.push(""),e.contents.commentBefore){const X=c(e.contents.commentBefore);n.push(indentComment(X,""))}o.forceBlockIndent=!!e.comment,Y=e.contents.comment}const V=Y?void 0:()=>F=!0;let Q=stringify(e.contents,o,()=>Y=null,V);Y&&(Q+=lineComment(Q,"",c(Y))),(Q[0]==="|"||Q[0]===">")&&n[n.length-1]==="---"?n[n.length-1]=`--- ${Q}`:n.push(Q)}else n.push(stringify(e.contents,o));if(e.directives?.docEnd)if(e.comment){const V=c(e.comment);V.includes(`
|
|
139
|
-
`)?(n.push("..."),n.push(indentComment(V,""))):n.push(`... ${V}`)}else n.push("...");else{let V=e.comment;V&&F&&(V=V.replace(/^\n+/,"")),V&&((!F||Y)&&n[n.length-1]!==""&&n.push(""),n.push(indentComment(c(V),"")))}return n.join(`
|
|
140
|
-
`)+`
|
|
141
|
-
`}class Document{constructor(t,n,r){this.commentBefore=null,this.comment=null,this.errors=[],this.warnings=[],Object.defineProperty(this,NODE_TYPE,{value:DOC});let o=null;typeof n=="function"||Array.isArray(n)?o=n:r===void 0&&n&&(r=n,n=void 0);const c=Object.assign({intAsBigInt:!1,keepSourceTokens:!1,logLevel:"warn",prettyErrors:!0,strict:!0,stringKeys:!1,uniqueKeys:!0,version:"1.2"},r);this.options=c;let{version:F}=c;r?._directives?(this.directives=r._directives.atDocument(),this.directives.yaml.explicit&&(F=this.directives.yaml.version)):this.directives=new Directives({version:F}),this.setSchema(F,r),this.contents=t===void 0?null:this.createNode(t,o,r)}clone(){const t=Object.create(Document.prototype,{[NODE_TYPE]:{value:DOC}});return t.commentBefore=this.commentBefore,t.comment=this.comment,t.errors=this.errors.slice(),t.warnings=this.warnings.slice(),t.options=Object.assign({},this.options),this.directives&&(t.directives=this.directives.clone()),t.schema=this.schema.clone(),t.contents=isNode(this.contents)?this.contents.clone(t.schema):this.contents,this.range&&(t.range=this.range.slice()),t}add(t){assertCollection(this.contents)&&this.contents.add(t)}addIn(t,n){assertCollection(this.contents)&&this.contents.addIn(t,n)}createAlias(t,n){if(!t.anchor){const r=anchorNames(this);t.anchor=!n||r.has(n)?findNewAnchor(n||"a",r):n}return new Alias(t.anchor)}createNode(t,n,r){let o;if(typeof n=="function")t=n.call({"":t},"",t),o=n;else if(Array.isArray(n)){const de=be=>typeof be=="number"||be instanceof String||be instanceof Number,pe=n.filter(de).map(String);pe.length>0&&(n=n.concat(pe)),o=n}else r===void 0&&n&&(r=n,n=void 0);const{aliasDuplicateObjects:c,anchorPrefix:F,flow:Y,keepUndefined:V,onTagObj:Q,tag:X}=r??{},{onAnchor:ue,setAnchors:se,sourceObjects:oe}=createNodeAnchors(this,F||"a"),ce={aliasDuplicateObjects:c??!0,keepUndefined:V??!1,onAnchor:ue,onTagObj:Q,replacer:o,schema:this.schema,sourceObjects:oe},le=createNode(t,X,ce);return Y&&isCollection(le)&&(le.flow=!0),se(),le}createPair(t,n,r={}){const o=this.createNode(t,null,r),c=this.createNode(n,null,r);return new Pair(o,c)}delete(t){return assertCollection(this.contents)?this.contents.delete(t):!1}deleteIn(t){return isEmptyPath(t)?this.contents==null?!1:(this.contents=null,!0):assertCollection(this.contents)?this.contents.deleteIn(t):!1}get(t,n){return isCollection(this.contents)?this.contents.get(t,n):void 0}getIn(t,n){return isEmptyPath(t)?!n&&isScalar(this.contents)?this.contents.value:this.contents:isCollection(this.contents)?this.contents.getIn(t,n):void 0}has(t){return isCollection(this.contents)?this.contents.has(t):!1}hasIn(t){return isEmptyPath(t)?this.contents!==void 0:isCollection(this.contents)?this.contents.hasIn(t):!1}set(t,n){this.contents==null?this.contents=collectionFromPath(this.schema,[t],n):assertCollection(this.contents)&&this.contents.set(t,n)}setIn(t,n){isEmptyPath(t)?this.contents=n:this.contents==null?this.contents=collectionFromPath(this.schema,Array.from(t),n):assertCollection(this.contents)&&this.contents.setIn(t,n)}setSchema(t,n={}){typeof t=="number"&&(t=String(t));let r;switch(t){case"1.1":this.directives?this.directives.yaml.version="1.1":this.directives=new Directives({version:"1.1"}),r={resolveKnownTags:!1,schema:"yaml-1.1"};break;case"1.2":case"next":this.directives?this.directives.yaml.version=t:this.directives=new Directives({version:t}),r={resolveKnownTags:!0,schema:"core"};break;case null:this.directives&&delete this.directives,r=null;break;default:{const o=JSON.stringify(t);throw new Error(`Expected '1.1', '1.2' or null as first argument, but found: ${o}`)}}if(n.schema instanceof Object)this.schema=n.schema;else if(r)this.schema=new Schema(Object.assign(r,n));else throw new Error("With a null YAML version, the { schema: Schema } option is required")}toJS({json:t,jsonArg:n,mapAsMap:r,maxAliasCount:o,onAnchor:c,reviver:F}={}){const Y={anchors:new Map,doc:this,keep:!t,mapAsMap:r===!0,mapKeyWarned:!1,maxAliasCount:typeof o=="number"?o:100},V=toJS(this.contents,n??"",Y);if(typeof c=="function")for(const{count:Q,res:X}of Y.anchors.values())c(X,Q);return typeof F=="function"?applyReviver(F,{"":V},"",V):V}toJSON(t,n){return this.toJS({json:!0,jsonArg:t,mapAsMap:!1,onAnchor:n})}toString(t={}){if(this.errors.length>0)throw new Error("Document with errors cannot be stringified");if("indent"in t&&(!Number.isInteger(t.indent)||Number(t.indent)<=0)){const n=JSON.stringify(t.indent);throw new Error(`"indent" option must be a positive integer, not ${n}`)}return stringifyDocument(this,t)}}function assertCollection(e){if(isCollection(e))return!0;throw new Error("Expected a YAML collection as document contents")}class YAMLError extends Error{constructor(t,n,r,o){super(),this.name=t,this.code=r,this.message=o,this.pos=n}}class YAMLParseError extends YAMLError{constructor(t,n,r){super("YAMLParseError",t,n,r)}}class YAMLWarning extends YAMLError{constructor(t,n,r){super("YAMLWarning",t,n,r)}}const prettifyError=(e,t)=>n=>{if(n.pos[0]===-1)return;n.linePos=n.pos.map(Y=>t.linePos(Y));const{line:r,col:o}=n.linePos[0];n.message+=` at line ${r}, column ${o}`;let c=o-1,F=e.substring(t.lineStarts[r-1],t.lineStarts[r]).replace(/[\n\r]+$/,"");if(c>=60&&F.length>80){const Y=Math.min(c-39,F.length-79);F="…"+F.substring(Y),c-=Y-1}if(F.length>80&&(F=F.substring(0,79)+"…"),r>1&&/^ *$/.test(F.substring(0,c))){let Y=e.substring(t.lineStarts[r-2],t.lineStarts[r-1]);Y.length>80&&(Y=Y.substring(0,79)+`…
|
|
142
|
-
`),F=Y+F}if(/[^ ]/.test(F)){let Y=1;const V=n.linePos[1];V?.line===r&&V.col>o&&(Y=Math.max(1,Math.min(V.col-o,80-c)));const Q=" ".repeat(c)+"^".repeat(Y);n.message+=`:
|
|
143
|
-
|
|
144
|
-
${F}
|
|
145
|
-
${Q}
|
|
146
|
-
`}};function resolveProps(e,{flow:t,indicator:n,next:r,offset:o,onError:c,parentIndent:F,startOnNewline:Y}){let V=!1,Q=Y,X=Y,ue="",se="",oe=!1,ce=!1,le=null,de=null,pe=null,be=null,ge=null,ye=null,me=null;for(const we of e)switch(ce&&(we.type!=="space"&&we.type!=="newline"&&we.type!=="comma"&&c(we.offset,"MISSING_CHAR","Tags and anchors must be separated from the next token by white space"),ce=!1),le&&(Q&&we.type!=="comment"&&we.type!=="newline"&&c(le,"TAB_AS_INDENT","Tabs are not allowed as indentation"),le=null),we.type){case"space":!t&&(n!=="doc-start"||r?.type!=="flow-collection")&&we.source.includes(" ")&&(le=we),X=!0;break;case"comment":{X||c(we,"MISSING_CHAR","Comments must be separated from other tokens by white space characters");const Te=we.source.substring(1)||" ";ue?ue+=se+Te:ue=Te,se="",Q=!1;break}case"newline":Q?ue?ue+=we.source:(!ye||n!=="seq-item-ind")&&(V=!0):se+=we.source,Q=!0,oe=!0,(de||pe)&&(be=we),X=!0;break;case"anchor":de&&c(we,"MULTIPLE_ANCHORS","A node can have at most one anchor"),we.source.endsWith(":")&&c(we.offset+we.source.length-1,"BAD_ALIAS","Anchor ending in : is ambiguous",!0),de=we,me??(me=we.offset),Q=!1,X=!1,ce=!0;break;case"tag":{pe&&c(we,"MULTIPLE_TAGS","A node can have at most one tag"),pe=we,me??(me=we.offset),Q=!1,X=!1,ce=!0;break}case n:(de||pe)&&c(we,"BAD_PROP_ORDER",`Anchors and tags must be after the ${we.source} indicator`),ye&&c(we,"UNEXPECTED_TOKEN",`Unexpected ${we.source} in ${t??"collection"}`),ye=we,Q=n==="seq-item-ind"||n==="explicit-key-ind",X=!1;break;case"comma":if(t){ge&&c(we,"UNEXPECTED_TOKEN",`Unexpected , in ${t}`),ge=we,Q=!1,X=!1;break}default:c(we,"UNEXPECTED_TOKEN",`Unexpected ${we.type} token`),Q=!1,X=!1}const xe=e[e.length-1],Fe=xe?xe.offset+xe.source.length:o;return ce&&r&&r.type!=="space"&&r.type!=="newline"&&r.type!=="comma"&&(r.type!=="scalar"||r.source!=="")&&c(r.offset,"MISSING_CHAR","Tags and anchors must be separated from the next token by white space"),le&&(Q&&le.indent<=F||r?.type==="block-map"||r?.type==="block-seq")&&c(le,"TAB_AS_INDENT","Tabs are not allowed as indentation"),{comma:ge,found:ye,spaceBefore:V,comment:ue,hasNewline:oe,anchor:de,tag:pe,newlineAfterProp:be,end:Fe,start:me??Fe}}function containsNewline(e){if(!e)return null;switch(e.type){case"alias":case"scalar":case"double-quoted-scalar":case"single-quoted-scalar":if(e.source.includes(`
|
|
147
|
-
`))return!0;if(e.end){for(const t of e.end)if(t.type==="newline")return!0}return!1;case"flow-collection":for(const t of e.items){for(const n of t.start)if(n.type==="newline")return!0;if(t.sep){for(const n of t.sep)if(n.type==="newline")return!0}if(containsNewline(t.key)||containsNewline(t.value))return!0}return!1;default:return!0}}function flowIndentCheck(e,t,n){if(t?.type==="flow-collection"){const r=t.end[0];r.indent===e&&(r.source==="]"||r.source==="}")&&containsNewline(t)&&n(r,"BAD_INDENT","Flow end indicator should be more indented than parent",!0)}}function mapIncludes(e,t,n){const{uniqueKeys:r}=e.options;if(r===!1)return!1;const o=typeof r=="function"?r:(c,F)=>c===F||isScalar(c)&&isScalar(F)&&c.value===F.value;return t.some(c=>o(c.key,n))}const startColMsg="All mapping items must start at the same column";function resolveBlockMap({composeNode:e,composeEmptyNode:t},n,r,o,c){const F=c?.nodeClass??YAMLMap,Y=new F(n.schema);n.atRoot&&(n.atRoot=!1);let V=r.offset,Q=null;for(const X of r.items){const{start:ue,key:se,sep:oe,value:ce}=X,le=resolveProps(ue,{indicator:"explicit-key-ind",next:se??oe?.[0],offset:V,onError:o,parentIndent:r.indent,startOnNewline:!0}),de=!le.found;if(de){if(se&&(se.type==="block-seq"?o(V,"BLOCK_AS_IMPLICIT_KEY","A block sequence may not be used as an implicit map key"):"indent"in se&&se.indent!==r.indent&&o(V,"BAD_INDENT",startColMsg)),!le.anchor&&!le.tag&&!oe){Q=le.end,le.comment&&(Y.comment?Y.comment+=`
|
|
148
|
-
`+le.comment:Y.comment=le.comment);continue}(le.newlineAfterProp||containsNewline(se))&&o(se??ue[ue.length-1],"MULTILINE_IMPLICIT_KEY","Implicit keys need to be on a single line")}else le.found?.indent!==r.indent&&o(V,"BAD_INDENT",startColMsg);n.atKey=!0;const pe=le.end,be=se?e(n,se,le,o):t(n,pe,ue,null,le,o);n.schema.compat&&flowIndentCheck(r.indent,se,o),n.atKey=!1,mapIncludes(n,Y.items,be)&&o(pe,"DUPLICATE_KEY","Map keys must be unique");const ge=resolveProps(oe??[],{indicator:"map-value-ind",next:ce,offset:be.range[2],onError:o,parentIndent:r.indent,startOnNewline:!se||se.type==="block-scalar"});if(V=ge.end,ge.found){de&&(ce?.type==="block-map"&&!ge.hasNewline&&o(V,"BLOCK_AS_IMPLICIT_KEY","Nested mappings are not allowed in compact mappings"),n.options.strict&&le.start<ge.found.offset-1024&&o(be.range,"KEY_OVER_1024_CHARS","The : indicator must be at most 1024 chars after the start of an implicit block mapping key"));const ye=ce?e(n,ce,ge,o):t(n,V,oe,null,ge,o);n.schema.compat&&flowIndentCheck(r.indent,ce,o),V=ye.range[2];const me=new Pair(be,ye);n.options.keepSourceTokens&&(me.srcToken=X),Y.items.push(me)}else{de&&o(be.range,"MISSING_CHAR","Implicit map keys need to be followed by map values"),ge.comment&&(be.comment?be.comment+=`
|
|
149
|
-
`+ge.comment:be.comment=ge.comment);const ye=new Pair(be);n.options.keepSourceTokens&&(ye.srcToken=X),Y.items.push(ye)}}return Q&&Q<V&&o(Q,"IMPOSSIBLE","Map comment with trailing content"),Y.range=[r.offset,V,Q??V],Y}function resolveBlockSeq({composeNode:e,composeEmptyNode:t},n,r,o,c){const F=c?.nodeClass??YAMLSeq,Y=new F(n.schema);n.atRoot&&(n.atRoot=!1),n.atKey&&(n.atKey=!1);let V=r.offset,Q=null;for(const{start:X,value:ue}of r.items){const se=resolveProps(X,{indicator:"seq-item-ind",next:ue,offset:V,onError:o,parentIndent:r.indent,startOnNewline:!0});if(!se.found)if(se.anchor||se.tag||ue)ue?.type==="block-seq"?o(se.end,"BAD_INDENT","All sequence items must start at the same column"):o(V,"MISSING_CHAR","Sequence item without - indicator");else{Q=se.end,se.comment&&(Y.comment=se.comment);continue}const oe=ue?e(n,ue,se,o):t(n,se.end,X,null,se,o);n.schema.compat&&flowIndentCheck(r.indent,ue,o),V=oe.range[2],Y.items.push(oe)}return Y.range=[r.offset,V,Q??V],Y}function resolveEnd(e,t,n,r){let o="";if(e){let c=!1,F="";for(const Y of e){const{source:V,type:Q}=Y;switch(Q){case"space":c=!0;break;case"comment":{n&&!c&&r(Y,"MISSING_CHAR","Comments must be separated from other tokens by white space characters");const X=V.substring(1)||" ";o?o+=F+X:o=X,F="";break}case"newline":o&&(F+=V),c=!0;break;default:r(Y,"UNEXPECTED_TOKEN",`Unexpected ${Q} at node end`)}t+=V.length}}return{comment:o,offset:t}}const blockMsg="Block collections are not allowed within flow collections",isBlock=e=>e&&(e.type==="block-map"||e.type==="block-seq");function resolveFlowCollection({composeNode:e,composeEmptyNode:t},n,r,o,c){const F=r.start.source==="{",Y=F?"flow map":"flow sequence",V=c?.nodeClass??(F?YAMLMap:YAMLSeq),Q=new V(n.schema);Q.flow=!0;const X=n.atRoot;X&&(n.atRoot=!1),n.atKey&&(n.atKey=!1);let ue=r.offset+r.start.source.length;for(let de=0;de<r.items.length;++de){const pe=r.items[de],{start:be,key:ge,sep:ye,value:me}=pe,xe=resolveProps(be,{flow:Y,indicator:"explicit-key-ind",next:ge??ye?.[0],offset:ue,onError:o,parentIndent:r.indent,startOnNewline:!1});if(!xe.found){if(!xe.anchor&&!xe.tag&&!ye&&!me){de===0&&xe.comma?o(xe.comma,"UNEXPECTED_TOKEN",`Unexpected , in ${Y}`):de<r.items.length-1&&o(xe.start,"UNEXPECTED_TOKEN",`Unexpected empty item in ${Y}`),xe.comment&&(Q.comment?Q.comment+=`
|
|
150
|
-
`+xe.comment:Q.comment=xe.comment),ue=xe.end;continue}!F&&n.options.strict&&containsNewline(ge)&&o(ge,"MULTILINE_IMPLICIT_KEY","Implicit keys of flow sequence pairs need to be on a single line")}if(de===0)xe.comma&&o(xe.comma,"UNEXPECTED_TOKEN",`Unexpected , in ${Y}`);else if(xe.comma||o(xe.start,"MISSING_CHAR",`Missing , between ${Y} items`),xe.comment){let Fe="";e:for(const we of be)switch(we.type){case"comma":case"space":break;case"comment":Fe=we.source.substring(1);break e;default:break e}if(Fe){let we=Q.items[Q.items.length-1];isPair(we)&&(we=we.value??we.key),we.comment?we.comment+=`
|
|
151
|
-
`+Fe:we.comment=Fe,xe.comment=xe.comment.substring(Fe.length+1)}}if(!F&&!ye&&!xe.found){const Fe=me?e(n,me,xe,o):t(n,xe.end,ye,null,xe,o);Q.items.push(Fe),ue=Fe.range[2],isBlock(me)&&o(Fe.range,"BLOCK_IN_FLOW",blockMsg)}else{n.atKey=!0;const Fe=xe.end,we=ge?e(n,ge,xe,o):t(n,Fe,be,null,xe,o);isBlock(ge)&&o(we.range,"BLOCK_IN_FLOW",blockMsg),n.atKey=!1;const Te=resolveProps(ye??[],{flow:Y,indicator:"map-value-ind",next:me,offset:we.range[2],onError:o,parentIndent:r.indent,startOnNewline:!1});if(Te.found){if(!F&&!xe.found&&n.options.strict){if(ye)for(const ve of ye){if(ve===Te.found)break;if(ve.type==="newline"){o(ve,"MULTILINE_IMPLICIT_KEY","Implicit keys of flow sequence pairs need to be on a single line");break}}xe.start<Te.found.offset-1024&&o(Te.found,"KEY_OVER_1024_CHARS","The : indicator must be at most 1024 chars after the start of an implicit flow sequence key")}}else me&&("source"in me&&me.source?.[0]===":"?o(me,"MISSING_CHAR",`Missing space after : in ${Y}`):o(Te.start,"MISSING_CHAR",`Missing , or : between ${Y} items`));const Be=me?e(n,me,Te,o):Te.found?t(n,Te.end,ye,null,Te,o):null;Be?isBlock(me)&&o(Be.range,"BLOCK_IN_FLOW",blockMsg):Te.comment&&(we.comment?we.comment+=`
|
|
152
|
-
`+Te.comment:we.comment=Te.comment);const Oe=new Pair(we,Be);if(n.options.keepSourceTokens&&(Oe.srcToken=pe),F){const ve=Q;mapIncludes(n,ve.items,we)&&o(Fe,"DUPLICATE_KEY","Map keys must be unique"),ve.items.push(Oe)}else{const ve=new YAMLMap(n.schema);ve.flow=!0,ve.items.push(Oe);const Me=(Be??we).range;ve.range=[we.range[0],Me[1],Me[2]],Q.items.push(ve)}ue=Be?Be.range[2]:Te.end}}const se=F?"}":"]",[oe,...ce]=r.end;let le=ue;if(oe?.source===se)le=oe.offset+oe.source.length;else{const de=Y[0].toUpperCase()+Y.substring(1),pe=X?`${de} must end with a ${se}`:`${de} in block collection must be sufficiently indented and end with a ${se}`;o(ue,X?"MISSING_CHAR":"BAD_INDENT",pe),oe&&oe.source.length!==1&&ce.unshift(oe)}if(ce.length>0){const de=resolveEnd(ce,le,n.options.strict,o);de.comment&&(Q.comment?Q.comment+=`
|
|
153
|
-
`+de.comment:Q.comment=de.comment),Q.range=[r.offset,le,de.offset]}else Q.range=[r.offset,le,le];return Q}function resolveCollection(e,t,n,r,o,c){const F=n.type==="block-map"?resolveBlockMap(e,t,n,r,c):n.type==="block-seq"?resolveBlockSeq(e,t,n,r,c):resolveFlowCollection(e,t,n,r,c),Y=F.constructor;return o==="!"||o===Y.tagName?(F.tag=Y.tagName,F):(o&&(F.tag=o),F)}function composeCollection(e,t,n,r,o){const c=r.tag,F=c?t.directives.tagName(c.source,se=>o(c,"TAG_RESOLVE_FAILED",se)):null;if(n.type==="block-seq"){const{anchor:se,newlineAfterProp:oe}=r,ce=se&&c?se.offset>c.offset?se:c:se??c;ce&&(!oe||oe.offset<ce.offset)&&o(ce,"MISSING_CHAR","Missing newline after block sequence props")}const Y=n.type==="block-map"?"map":n.type==="block-seq"?"seq":n.start.source==="{"?"map":"seq";if(!c||!F||F==="!"||F===YAMLMap.tagName&&Y==="map"||F===YAMLSeq.tagName&&Y==="seq")return resolveCollection(e,t,n,o,F);let V=t.schema.tags.find(se=>se.tag===F&&se.collection===Y);if(!V){const se=t.schema.knownTags[F];if(se?.collection===Y)t.schema.tags.push(Object.assign({},se,{default:!1})),V=se;else return se?o(c,"BAD_COLLECTION_TYPE",`${se.tag} used for ${Y} collection, but expects ${se.collection??"scalar"}`,!0):o(c,"TAG_RESOLVE_FAILED",`Unresolved tag: ${F}`,!0),resolveCollection(e,t,n,o,F)}const Q=resolveCollection(e,t,n,o,F,V),X=V.resolve?.(Q,se=>o(c,"TAG_RESOLVE_FAILED",se),t.options)??Q,ue=isNode(X)?X:new Scalar(X);return ue.range=Q.range,ue.tag=F,V?.format&&(ue.format=V.format),ue}function resolveBlockScalar(e,t,n){const r=t.offset,o=parseBlockScalarHeader(t,e.options.strict,n);if(!o)return{value:"",type:null,comment:"",range:[r,r,r]};const c=o.mode===">"?Scalar.BLOCK_FOLDED:Scalar.BLOCK_LITERAL,F=t.source?splitLines(t.source):[];let Y=F.length;for(let le=F.length-1;le>=0;--le){const de=F[le][1];if(de===""||de==="\r")Y=le;else break}if(Y===0){const le=o.chomp==="+"&&F.length>0?`
|
|
154
|
-
`.repeat(Math.max(1,F.length-1)):"";let de=r+o.length;return t.source&&(de+=t.source.length),{value:le,type:c,comment:o.comment,range:[r,de,de]}}let V=t.indent+o.indent,Q=t.offset+o.length,X=0;for(let le=0;le<Y;++le){const[de,pe]=F[le];if(pe===""||pe==="\r")o.indent===0&&de.length>V&&(V=de.length);else{de.length<V&&n(Q+de.length,"MISSING_CHAR","Block scalars with more-indented leading empty lines must use an explicit indentation indicator"),o.indent===0&&(V=de.length),X=le,V===0&&!e.atRoot&&n(Q,"BAD_INDENT","Block scalar values in collections must be indented");break}Q+=de.length+pe.length+1}for(let le=F.length-1;le>=Y;--le)F[le][0].length>V&&(Y=le+1);let ue="",se="",oe=!1;for(let le=0;le<X;++le)ue+=F[le][0].slice(V)+`
|
|
155
|
-
`;for(let le=X;le<Y;++le){let[de,pe]=F[le];Q+=de.length+pe.length+1;const be=pe[pe.length-1]==="\r";if(be&&(pe=pe.slice(0,-1)),pe&&de.length<V){const ye=`Block scalar lines must not be less indented than their ${o.indent?"explicit indentation indicator":"first line"}`;n(Q-pe.length-(be?2:1),"BAD_INDENT",ye),de=""}c===Scalar.BLOCK_LITERAL?(ue+=se+de.slice(V)+pe,se=`
|
|
156
|
-
`):de.length>V||pe[0]===" "?(se===" "?se=`
|
|
157
|
-
`:!oe&&se===`
|
|
158
|
-
`&&(se=`
|
|
159
|
-
|
|
160
|
-
`),ue+=se+de.slice(V)+pe,se=`
|
|
161
|
-
`,oe=!0):pe===""?se===`
|
|
162
|
-
`?ue+=`
|
|
163
|
-
`:se=`
|
|
164
|
-
`:(ue+=se+pe,se=" ",oe=!1)}switch(o.chomp){case"-":break;case"+":for(let le=Y;le<F.length;++le)ue+=`
|
|
165
|
-
`+F[le][0].slice(V);ue[ue.length-1]!==`
|
|
166
|
-
`&&(ue+=`
|
|
167
|
-
`);break;default:ue+=`
|
|
168
|
-
`}const ce=r+o.length+t.source.length;return{value:ue,type:c,comment:o.comment,range:[r,ce,ce]}}function parseBlockScalarHeader({offset:e,props:t},n,r){if(t[0].type!=="block-scalar-header")return r(t[0],"IMPOSSIBLE","Block scalar header not found"),null;const{source:o}=t[0],c=o[0];let F=0,Y="",V=-1;for(let se=1;se<o.length;++se){const oe=o[se];if(!Y&&(oe==="-"||oe==="+"))Y=oe;else{const ce=Number(oe);!F&&ce?F=ce:V===-1&&(V=e+se)}}V!==-1&&r(V,"UNEXPECTED_TOKEN",`Block scalar header includes extra characters: ${o}`);let Q=!1,X="",ue=o.length;for(let se=1;se<t.length;++se){const oe=t[se];switch(oe.type){case"space":Q=!0;case"newline":ue+=oe.source.length;break;case"comment":n&&!Q&&r(oe,"MISSING_CHAR","Comments must be separated from other tokens by white space characters"),ue+=oe.source.length,X=oe.source.substring(1);break;case"error":r(oe,"UNEXPECTED_TOKEN",oe.message),ue+=oe.source.length;break;default:{const ce=`Unexpected token in block scalar header: ${oe.type}`;r(oe,"UNEXPECTED_TOKEN",ce);const le=oe.source;le&&typeof le=="string"&&(ue+=le.length)}}}return{mode:c,indent:F,chomp:Y,comment:X,length:ue}}function splitLines(e){const t=e.split(/\n( *)/),n=t[0],r=n.match(/^( *)/),c=[r?.[1]?[r[1],n.slice(r[1].length)]:["",n]];for(let F=1;F<t.length;F+=2)c.push([t[F],t[F+1]]);return c}function resolveFlowScalar(e,t,n){const{offset:r,type:o,source:c,end:F}=e;let Y,V;const Q=(se,oe,ce)=>n(r+se,oe,ce);switch(o){case"scalar":Y=Scalar.PLAIN,V=plainValue(c,Q);break;case"single-quoted-scalar":Y=Scalar.QUOTE_SINGLE,V=singleQuotedValue(c,Q);break;case"double-quoted-scalar":Y=Scalar.QUOTE_DOUBLE,V=doubleQuotedValue(c,Q);break;default:return n(e,"UNEXPECTED_TOKEN",`Expected a flow scalar value, but found: ${o}`),{value:"",type:null,comment:"",range:[r,r+c.length,r+c.length]}}const X=r+c.length,ue=resolveEnd(F,X,t,n);return{value:V,type:Y,comment:ue.comment,range:[r,X,ue.offset]}}function plainValue(e,t){let n="";switch(e[0]){case" ":n="a tab character";break;case",":n="flow indicator character ,";break;case"%":n="directive indicator character %";break;case"|":case">":{n=`block scalar indicator ${e[0]}`;break}case"@":case"`":{n=`reserved character ${e[0]}`;break}}return n&&t(0,"BAD_SCALAR_START",`Plain value cannot start with ${n}`),foldLines(e)}function singleQuotedValue(e,t){return(e[e.length-1]!=="'"||e.length===1)&&t(e.length,"MISSING_CHAR","Missing closing 'quote"),foldLines(e.slice(1,-1)).replace(/''/g,"'")}function foldLines(e){let t,n;try{t=new RegExp(`(.*?)(?<![ ])[ ]*\r?
|
|
169
|
-
`,"sy"),n=new RegExp(`[ ]*(.*?)(?:(?<![ ])[ ]*)?\r?
|
|
170
|
-
`,"sy")}catch{t=/(.*?)[ \t]*\r?\n/sy,n=/[ \t]*(.*?)[ \t]*\r?\n/sy}let r=t.exec(e);if(!r)return e;let o=r[1],c=" ",F=t.lastIndex;for(n.lastIndex=F;r=n.exec(e);)r[1]===""?c===`
|
|
171
|
-
`?o+=c:c=`
|
|
172
|
-
`:(o+=c+r[1],c=" "),F=n.lastIndex;const Y=/[ \t]*(.*)/sy;return Y.lastIndex=F,r=Y.exec(e),o+c+(r?.[1]??"")}function doubleQuotedValue(e,t){let n="";for(let r=1;r<e.length-1;++r){const o=e[r];if(!(o==="\r"&&e[r+1]===`
|
|
173
|
-
`))if(o===`
|
|
174
|
-
`){const{fold:c,offset:F}=foldNewline(e,r);n+=c,r=F}else if(o==="\\"){let c=e[++r];const F=escapeCodes[c];if(F)n+=F;else if(c===`
|
|
175
|
-
`)for(c=e[r+1];c===" "||c===" ";)c=e[++r+1];else if(c==="\r"&&e[r+1]===`
|
|
176
|
-
`)for(c=e[++r+1];c===" "||c===" ";)c=e[++r+1];else if(c==="x"||c==="u"||c==="U"){const Y={x:2,u:4,U:8}[c];n+=parseCharCode(e,r+1,Y,t),r+=Y}else{const Y=e.substr(r-1,2);t(r-1,"BAD_DQ_ESCAPE",`Invalid escape sequence ${Y}`),n+=Y}}else if(o===" "||o===" "){const c=r;let F=e[r+1];for(;F===" "||F===" ";)F=e[++r+1];F!==`
|
|
177
|
-
`&&!(F==="\r"&&e[r+2]===`
|
|
178
|
-
`)&&(n+=r>c?e.slice(c,r+1):o)}else n+=o}return(e[e.length-1]!=='"'||e.length===1)&&t(e.length,"MISSING_CHAR",'Missing closing "quote'),n}function foldNewline(e,t){let n="",r=e[t+1];for(;(r===" "||r===" "||r===`
|
|
179
|
-
`||r==="\r")&&!(r==="\r"&&e[t+2]!==`
|
|
180
|
-
`);)r===`
|
|
181
|
-
`&&(n+=`
|
|
182
|
-
`),t+=1,r=e[t+1];return n||(n=" "),{fold:n,offset:t}}const escapeCodes={0:"\0",a:"\x07",b:"\b",e:"\x1B",f:"\f",n:`
|
|
183
|
-
`,r:"\r",t:" ",v:"\v",N:"
",_:" ",L:"\u2028",P:"\u2029"," ":" ",'"':'"',"/":"/","\\":"\\"," ":" "};function parseCharCode(e,t,n,r){const o=e.substr(t,n),F=o.length===n&&/^[0-9a-fA-F]+$/.test(o)?parseInt(o,16):NaN;if(isNaN(F)){const Y=e.substr(t-2,n+2);return r(t-2,"BAD_DQ_ESCAPE",`Invalid escape sequence ${Y}`),Y}return String.fromCodePoint(F)}function composeScalar(e,t,n,r){const{value:o,type:c,comment:F,range:Y}=t.type==="block-scalar"?resolveBlockScalar(e,t,r):resolveFlowScalar(t,e.options.strict,r),V=n?e.directives.tagName(n.source,ue=>r(n,"TAG_RESOLVE_FAILED",ue)):null;let Q;e.options.stringKeys&&e.atKey?Q=e.schema[SCALAR$1]:V?Q=findScalarTagByName(e.schema,o,V,n,r):t.type==="scalar"?Q=findScalarTagByTest(e,o,t,r):Q=e.schema[SCALAR$1];let X;try{const ue=Q.resolve(o,se=>r(n??t,"TAG_RESOLVE_FAILED",se),e.options);X=isScalar(ue)?ue:new Scalar(ue)}catch(ue){const se=ue instanceof Error?ue.message:String(ue);r(n??t,"TAG_RESOLVE_FAILED",se),X=new Scalar(o)}return X.range=Y,X.source=o,c&&(X.type=c),V&&(X.tag=V),Q.format&&(X.format=Q.format),F&&(X.comment=F),X}function findScalarTagByName(e,t,n,r,o){if(n==="!")return e[SCALAR$1];const c=[];for(const Y of e.tags)if(!Y.collection&&Y.tag===n)if(Y.default&&Y.test)c.push(Y);else return Y;for(const Y of c)if(Y.test?.test(t))return Y;const F=e.knownTags[n];return F&&!F.collection?(e.tags.push(Object.assign({},F,{default:!1,test:void 0})),F):(o(r,"TAG_RESOLVE_FAILED",`Unresolved tag: ${n}`,n!=="tag:yaml.org,2002:str"),e[SCALAR$1])}function findScalarTagByTest({atKey:e,directives:t,schema:n},r,o,c){const F=n.tags.find(Y=>(Y.default===!0||e&&Y.default==="key")&&Y.test?.test(r))||n[SCALAR$1];if(n.compat){const Y=n.compat.find(V=>V.default&&V.test?.test(r))??n[SCALAR$1];if(F.tag!==Y.tag){const V=t.tagString(F.tag),Q=t.tagString(Y.tag),X=`Value may be parsed as either ${V} or ${Q}`;c(o,"TAG_RESOLVE_FAILED",X,!0)}}return F}function emptyScalarPosition(e,t,n){if(t){n??(n=t.length);for(let r=n-1;r>=0;--r){let o=t[r];switch(o.type){case"space":case"comment":case"newline":e-=o.source.length;continue}for(o=t[++r];o?.type==="space";)e+=o.source.length,o=t[++r];break}}return e}const CN={composeNode,composeEmptyNode};function composeNode(e,t,n,r){const o=e.atKey,{spaceBefore:c,comment:F,anchor:Y,tag:V}=n;let Q,X=!0;switch(t.type){case"alias":Q=composeAlias(e,t,r),(Y||V)&&r(t,"ALIAS_PROPS","An alias node must not specify any properties");break;case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":case"block-scalar":Q=composeScalar(e,t,V,r),Y&&(Q.anchor=Y.source.substring(1));break;case"block-map":case"block-seq":case"flow-collection":Q=composeCollection(CN,e,t,n,r),Y&&(Q.anchor=Y.source.substring(1));break;default:{const ue=t.type==="error"?t.message:`Unsupported token (type: ${t.type})`;r(t,"UNEXPECTED_TOKEN",ue),Q=composeEmptyNode(e,t.offset,void 0,null,n,r),X=!1}}return Y&&Q.anchor===""&&r(Y,"BAD_ALIAS","Anchor cannot be an empty string"),o&&e.options.stringKeys&&(!isScalar(Q)||typeof Q.value!="string"||Q.tag&&Q.tag!=="tag:yaml.org,2002:str")&&r(V??t,"NON_STRING_KEY","With stringKeys, all keys must be strings"),c&&(Q.spaceBefore=!0),F&&(t.type==="scalar"&&t.source===""?Q.comment=F:Q.commentBefore=F),e.options.keepSourceTokens&&X&&(Q.srcToken=t),Q}function composeEmptyNode(e,t,n,r,{spaceBefore:o,comment:c,anchor:F,tag:Y,end:V},Q){const X={type:"scalar",offset:emptyScalarPosition(t,n,r),indent:-1,source:""},ue=composeScalar(e,X,Y,Q);return F&&(ue.anchor=F.source.substring(1),ue.anchor===""&&Q(F,"BAD_ALIAS","Anchor cannot be an empty string")),o&&(ue.spaceBefore=!0),c&&(ue.comment=c,ue.range[2]=V),ue}function composeAlias({options:e},{offset:t,source:n,end:r},o){const c=new Alias(n.substring(1));c.source===""&&o(t,"BAD_ALIAS","Alias cannot be an empty string"),c.source.endsWith(":")&&o(t+n.length-1,"BAD_ALIAS","Alias ending in : is ambiguous",!0);const F=t+n.length,Y=resolveEnd(r,F,e.strict,o);return c.range=[t,F,Y.offset],Y.comment&&(c.comment=Y.comment),c}function composeDoc(e,t,{offset:n,start:r,value:o,end:c},F){const Y=Object.assign({_directives:t},e),V=new Document(void 0,Y),Q={atKey:!1,atRoot:!0,directives:V.directives,options:V.options,schema:V.schema},X=resolveProps(r,{indicator:"doc-start",next:o??c?.[0],offset:n,onError:F,parentIndent:0,startOnNewline:!0});X.found&&(V.directives.docStart=!0,o&&(o.type==="block-map"||o.type==="block-seq")&&!X.hasNewline&&F(X.end,"MISSING_CHAR","Block collection cannot start on same line with directives-end marker")),V.contents=o?composeNode(Q,o,X,F):composeEmptyNode(Q,X.end,r,null,X,F);const ue=V.contents.range[2],se=resolveEnd(c,ue,!1,F);return se.comment&&(V.comment=se.comment),V.range=[n,ue,se.offset],V}function getErrorPos(e){if(typeof e=="number")return[e,e+1];if(Array.isArray(e))return e.length===2?e:[e[0],e[1]];const{offset:t,source:n}=e;return[t,t+(typeof n=="string"?n.length:1)]}function parsePrelude(e){let t="",n=!1,r=!1;for(let o=0;o<e.length;++o){const c=e[o];switch(c[0]){case"#":t+=(t===""?"":r?`
|
|
184
|
-
|
|
185
|
-
`:`
|
|
186
|
-
`)+(c.substring(1)||" "),n=!0,r=!1;break;case"%":e[o+1]?.[0]!=="#"&&(o+=1),n=!1;break;default:n||(r=!0),n=!1}}return{comment:t,afterEmptyLine:r}}class Composer{constructor(t={}){this.doc=null,this.atDirectives=!1,this.prelude=[],this.errors=[],this.warnings=[],this.onError=(n,r,o,c)=>{const F=getErrorPos(n);c?this.warnings.push(new YAMLWarning(F,r,o)):this.errors.push(new YAMLParseError(F,r,o))},this.directives=new Directives({version:t.version||"1.2"}),this.options=t}decorate(t,n){const{comment:r,afterEmptyLine:o}=parsePrelude(this.prelude);if(r){const c=t.contents;if(n)t.comment=t.comment?`${t.comment}
|
|
187
|
-
${r}`:r;else if(o||t.directives.docStart||!c)t.commentBefore=r;else if(isCollection(c)&&!c.flow&&c.items.length>0){let F=c.items[0];isPair(F)&&(F=F.key);const Y=F.commentBefore;F.commentBefore=Y?`${r}
|
|
188
|
-
${Y}`:r}else{const F=c.commentBefore;c.commentBefore=F?`${r}
|
|
189
|
-
${F}`:r}}n?(Array.prototype.push.apply(t.errors,this.errors),Array.prototype.push.apply(t.warnings,this.warnings)):(t.errors=this.errors,t.warnings=this.warnings),this.prelude=[],this.errors=[],this.warnings=[]}streamInfo(){return{comment:parsePrelude(this.prelude).comment,directives:this.directives,errors:this.errors,warnings:this.warnings}}*compose(t,n=!1,r=-1){for(const o of t)yield*this.next(o);yield*this.end(n,r)}*next(t){switch(t.type){case"directive":this.directives.add(t.source,(n,r,o)=>{const c=getErrorPos(t);c[0]+=n,this.onError(c,"BAD_DIRECTIVE",r,o)}),this.prelude.push(t.source),this.atDirectives=!0;break;case"document":{const n=composeDoc(this.options,this.directives,t,this.onError);this.atDirectives&&!n.directives.docStart&&this.onError(t,"MISSING_CHAR","Missing directives-end/doc-start indicator line"),this.decorate(n,!1),this.doc&&(yield this.doc),this.doc=n,this.atDirectives=!1;break}case"byte-order-mark":case"space":break;case"comment":case"newline":this.prelude.push(t.source);break;case"error":{const n=t.source?`${t.message}: ${JSON.stringify(t.source)}`:t.message,r=new YAMLParseError(getErrorPos(t),"UNEXPECTED_TOKEN",n);this.atDirectives||!this.doc?this.errors.push(r):this.doc.errors.push(r);break}case"doc-end":{if(!this.doc){const r="Unexpected doc-end without preceding document";this.errors.push(new YAMLParseError(getErrorPos(t),"UNEXPECTED_TOKEN",r));break}this.doc.directives.docEnd=!0;const n=resolveEnd(t.end,t.offset+t.source.length,this.doc.options.strict,this.onError);if(this.decorate(this.doc,!0),n.comment){const r=this.doc.comment;this.doc.comment=r?`${r}
|
|
190
|
-
${n.comment}`:n.comment}this.doc.range[2]=n.offset;break}default:this.errors.push(new YAMLParseError(getErrorPos(t),"UNEXPECTED_TOKEN",`Unsupported token ${t.type}`))}}*end(t=!1,n=-1){if(this.doc)this.decorate(this.doc,!0),yield this.doc,this.doc=null;else if(t){const r=Object.assign({_directives:this.directives},this.options),o=new Document(void 0,r);this.atDirectives&&this.onError(n,"MISSING_CHAR","Missing directives-end indicator line"),o.range=[0,n,n],this.decorate(o,!1),yield o}}}const BOM="\uFEFF",DOCUMENT="",FLOW_END="",SCALAR="";function tokenType(e){switch(e){case BOM:return"byte-order-mark";case DOCUMENT:return"doc-mode";case FLOW_END:return"flow-error-end";case SCALAR:return"scalar";case"---":return"doc-start";case"...":return"doc-end";case"":case`
|
|
191
|
-
`:case`\r
|
|
192
|
-
`:return"newline";case"-":return"seq-item-ind";case"?":return"explicit-key-ind";case":":return"map-value-ind";case"{":return"flow-map-start";case"}":return"flow-map-end";case"[":return"flow-seq-start";case"]":return"flow-seq-end";case",":return"comma"}switch(e[0]){case" ":case" ":return"space";case"#":return"comment";case"%":return"directive-line";case"*":return"alias";case"&":return"anchor";case"!":return"tag";case"'":return"single-quoted-scalar";case'"':return"double-quoted-scalar";case"|":case">":return"block-scalar-header"}return null}function isEmpty(e){switch(e){case void 0:case" ":case`
|
|
193
|
-
`:case"\r":case" ":return!0;default:return!1}}const hexDigits=new Set("0123456789ABCDEFabcdef"),tagChars=new Set("0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-#;/?:@&=+$_.!~*'()"),flowIndicatorChars=new Set(",[]{}"),invalidAnchorChars=new Set(` ,[]{}
|
|
194
|
-
\r `),isNotAnchorChar=e=>!e||invalidAnchorChars.has(e);class Lexer{constructor(){this.atEnd=!1,this.blockScalarIndent=-1,this.blockScalarKeep=!1,this.buffer="",this.flowKey=!1,this.flowLevel=0,this.indentNext=0,this.indentValue=0,this.lineEndPos=null,this.next=null,this.pos=0}*lex(t,n=!1){if(t){if(typeof t!="string")throw TypeError("source is not a string");this.buffer=this.buffer?this.buffer+t:t,this.lineEndPos=null}this.atEnd=!n;let r=this.next??"stream";for(;r&&(n||this.hasChars(1));)r=yield*this.parseNext(r)}atLineEnd(){let t=this.pos,n=this.buffer[t];for(;n===" "||n===" ";)n=this.buffer[++t];return!n||n==="#"||n===`
|
|
195
|
-
`?!0:n==="\r"?this.buffer[t+1]===`
|
|
196
|
-
`:!1}charAt(t){return this.buffer[this.pos+t]}continueScalar(t){let n=this.buffer[t];if(this.indentNext>0){let r=0;for(;n===" ";)n=this.buffer[++r+t];if(n==="\r"){const o=this.buffer[r+t+1];if(o===`
|
|
197
|
-
`||!o&&!this.atEnd)return t+r+1}return n===`
|
|
198
|
-
`||r>=this.indentNext||!n&&!this.atEnd?t+r:-1}if(n==="-"||n==="."){const r=this.buffer.substr(t,3);if((r==="---"||r==="...")&&isEmpty(this.buffer[t+3]))return-1}return t}getLine(){let t=this.lineEndPos;return(typeof t!="number"||t!==-1&&t<this.pos)&&(t=this.buffer.indexOf(`
|
|
199
|
-
`,this.pos),this.lineEndPos=t),t===-1?this.atEnd?this.buffer.substring(this.pos):null:(this.buffer[t-1]==="\r"&&(t-=1),this.buffer.substring(this.pos,t))}hasChars(t){return this.pos+t<=this.buffer.length}setNext(t){return this.buffer=this.buffer.substring(this.pos),this.pos=0,this.lineEndPos=null,this.next=t,null}peek(t){return this.buffer.substr(this.pos,t)}*parseNext(t){switch(t){case"stream":return yield*this.parseStream();case"line-start":return yield*this.parseLineStart();case"block-start":return yield*this.parseBlockStart();case"doc":return yield*this.parseDocument();case"flow":return yield*this.parseFlowCollection();case"quoted-scalar":return yield*this.parseQuotedScalar();case"block-scalar":return yield*this.parseBlockScalar();case"plain-scalar":return yield*this.parsePlainScalar()}}*parseStream(){let t=this.getLine();if(t===null)return this.setNext("stream");if(t[0]===BOM&&(yield*this.pushCount(1),t=t.substring(1)),t[0]==="%"){let n=t.length,r=t.indexOf("#");for(;r!==-1;){const c=t[r-1];if(c===" "||c===" "){n=r-1;break}else r=t.indexOf("#",r+1)}for(;;){const c=t[n-1];if(c===" "||c===" ")n-=1;else break}const o=(yield*this.pushCount(n))+(yield*this.pushSpaces(!0));return yield*this.pushCount(t.length-o),this.pushNewline(),"stream"}if(this.atLineEnd()){const n=yield*this.pushSpaces(!0);return yield*this.pushCount(t.length-n),yield*this.pushNewline(),"stream"}return yield DOCUMENT,yield*this.parseLineStart()}*parseLineStart(){const t=this.charAt(0);if(!t&&!this.atEnd)return this.setNext("line-start");if(t==="-"||t==="."){if(!this.atEnd&&!this.hasChars(4))return this.setNext("line-start");const n=this.peek(3);if((n==="---"||n==="...")&&isEmpty(this.charAt(3)))return yield*this.pushCount(3),this.indentValue=0,this.indentNext=0,n==="---"?"doc":"stream"}return this.indentValue=yield*this.pushSpaces(!1),this.indentNext>this.indentValue&&!isEmpty(this.charAt(1))&&(this.indentNext=this.indentValue),yield*this.parseBlockStart()}*parseBlockStart(){const[t,n]=this.peek(2);if(!n&&!this.atEnd)return this.setNext("block-start");if((t==="-"||t==="?"||t===":")&&isEmpty(n)){const r=(yield*this.pushCount(1))+(yield*this.pushSpaces(!0));return this.indentNext=this.indentValue+1,this.indentValue+=r,yield*this.parseBlockStart()}return"doc"}*parseDocument(){yield*this.pushSpaces(!0);const t=this.getLine();if(t===null)return this.setNext("doc");let n=yield*this.pushIndicators();switch(t[n]){case"#":yield*this.pushCount(t.length-n);case void 0:return yield*this.pushNewline(),yield*this.parseLineStart();case"{":case"[":return yield*this.pushCount(1),this.flowKey=!1,this.flowLevel=1,"flow";case"}":case"]":return yield*this.pushCount(1),"doc";case"*":return yield*this.pushUntil(isNotAnchorChar),"doc";case'"':case"'":return yield*this.parseQuotedScalar();case"|":case">":return n+=yield*this.parseBlockScalarHeader(),n+=yield*this.pushSpaces(!0),yield*this.pushCount(t.length-n),yield*this.pushNewline(),yield*this.parseBlockScalar();default:return yield*this.parsePlainScalar()}}*parseFlowCollection(){let t,n,r=-1;do t=yield*this.pushNewline(),t>0?(n=yield*this.pushSpaces(!1),this.indentValue=r=n):n=0,n+=yield*this.pushSpaces(!0);while(t+n>0);const o=this.getLine();if(o===null)return this.setNext("flow");if((r!==-1&&r<this.indentNext&&o[0]!=="#"||r===0&&(o.startsWith("---")||o.startsWith("..."))&&isEmpty(o[3]))&&!(r===this.indentNext-1&&this.flowLevel===1&&(o[0]==="]"||o[0]==="}")))return this.flowLevel=0,yield FLOW_END,yield*this.parseLineStart();let c=0;for(;o[c]===",";)c+=yield*this.pushCount(1),c+=yield*this.pushSpaces(!0),this.flowKey=!1;switch(c+=yield*this.pushIndicators(),o[c]){case void 0:return"flow";case"#":return yield*this.pushCount(o.length-c),"flow";case"{":case"[":return yield*this.pushCount(1),this.flowKey=!1,this.flowLevel+=1,"flow";case"}":case"]":return yield*this.pushCount(1),this.flowKey=!0,this.flowLevel-=1,this.flowLevel?"flow":"doc";case"*":return yield*this.pushUntil(isNotAnchorChar),"flow";case'"':case"'":return this.flowKey=!0,yield*this.parseQuotedScalar();case":":{const F=this.charAt(1);if(this.flowKey||isEmpty(F)||F===",")return this.flowKey=!1,yield*this.pushCount(1),yield*this.pushSpaces(!0),"flow"}default:return this.flowKey=!1,yield*this.parsePlainScalar()}}*parseQuotedScalar(){const t=this.charAt(0);let n=this.buffer.indexOf(t,this.pos+1);if(t==="'")for(;n!==-1&&this.buffer[n+1]==="'";)n=this.buffer.indexOf("'",n+2);else for(;n!==-1;){let c=0;for(;this.buffer[n-1-c]==="\\";)c+=1;if(c%2===0)break;n=this.buffer.indexOf('"',n+1)}const r=this.buffer.substring(0,n);let o=r.indexOf(`
|
|
200
|
-
`,this.pos);if(o!==-1){for(;o!==-1;){const c=this.continueScalar(o+1);if(c===-1)break;o=r.indexOf(`
|
|
201
|
-
`,c)}o!==-1&&(n=o-(r[o-1]==="\r"?2:1))}if(n===-1){if(!this.atEnd)return this.setNext("quoted-scalar");n=this.buffer.length}return yield*this.pushToIndex(n+1,!1),this.flowLevel?"flow":"doc"}*parseBlockScalarHeader(){this.blockScalarIndent=-1,this.blockScalarKeep=!1;let t=this.pos;for(;;){const n=this.buffer[++t];if(n==="+")this.blockScalarKeep=!0;else if(n>"0"&&n<="9")this.blockScalarIndent=Number(n)-1;else if(n!=="-")break}return yield*this.pushUntil(n=>isEmpty(n)||n==="#")}*parseBlockScalar(){let t=this.pos-1,n=0,r;e:for(let c=this.pos;r=this.buffer[c];++c)switch(r){case" ":n+=1;break;case`
|
|
202
|
-
`:t=c,n=0;break;case"\r":{const F=this.buffer[c+1];if(!F&&!this.atEnd)return this.setNext("block-scalar");if(F===`
|
|
203
|
-
`)break}default:break e}if(!r&&!this.atEnd)return this.setNext("block-scalar");if(n>=this.indentNext){this.blockScalarIndent===-1?this.indentNext=n:this.indentNext=this.blockScalarIndent+(this.indentNext===0?1:this.indentNext);do{const c=this.continueScalar(t+1);if(c===-1)break;t=this.buffer.indexOf(`
|
|
204
|
-
`,c)}while(t!==-1);if(t===-1){if(!this.atEnd)return this.setNext("block-scalar");t=this.buffer.length}}let o=t+1;for(r=this.buffer[o];r===" ";)r=this.buffer[++o];if(r===" "){for(;r===" "||r===" "||r==="\r"||r===`
|
|
205
|
-
`;)r=this.buffer[++o];t=o-1}else if(!this.blockScalarKeep)do{let c=t-1,F=this.buffer[c];F==="\r"&&(F=this.buffer[--c]);const Y=c;for(;F===" ";)F=this.buffer[--c];if(F===`
|
|
206
|
-
`&&c>=this.pos&&c+1+n>Y)t=c;else break}while(!0);return yield SCALAR,yield*this.pushToIndex(t+1,!0),yield*this.parseLineStart()}*parsePlainScalar(){const t=this.flowLevel>0;let n=this.pos-1,r=this.pos-1,o;for(;o=this.buffer[++r];)if(o===":"){const c=this.buffer[r+1];if(isEmpty(c)||t&&flowIndicatorChars.has(c))break;n=r}else if(isEmpty(o)){let c=this.buffer[r+1];if(o==="\r"&&(c===`
|
|
207
|
-
`?(r+=1,o=`
|
|
208
|
-
`,c=this.buffer[r+1]):n=r),c==="#"||t&&flowIndicatorChars.has(c))break;if(o===`
|
|
209
|
-
`){const F=this.continueScalar(r+1);if(F===-1)break;r=Math.max(r,F-2)}}else{if(t&&flowIndicatorChars.has(o))break;n=r}return!o&&!this.atEnd?this.setNext("plain-scalar"):(yield SCALAR,yield*this.pushToIndex(n+1,!0),t?"flow":"doc")}*pushCount(t){return t>0?(yield this.buffer.substr(this.pos,t),this.pos+=t,t):0}*pushToIndex(t,n){const r=this.buffer.slice(this.pos,t);return r?(yield r,this.pos+=r.length,r.length):(n&&(yield""),0)}*pushIndicators(){switch(this.charAt(0)){case"!":return(yield*this.pushTag())+(yield*this.pushSpaces(!0))+(yield*this.pushIndicators());case"&":return(yield*this.pushUntil(isNotAnchorChar))+(yield*this.pushSpaces(!0))+(yield*this.pushIndicators());case"-":case"?":case":":{const t=this.flowLevel>0,n=this.charAt(1);if(isEmpty(n)||t&&flowIndicatorChars.has(n))return t?this.flowKey&&(this.flowKey=!1):this.indentNext=this.indentValue+1,(yield*this.pushCount(1))+(yield*this.pushSpaces(!0))+(yield*this.pushIndicators())}}return 0}*pushTag(){if(this.charAt(1)==="<"){let t=this.pos+2,n=this.buffer[t];for(;!isEmpty(n)&&n!==">";)n=this.buffer[++t];return yield*this.pushToIndex(n===">"?t+1:t,!1)}else{let t=this.pos+1,n=this.buffer[t];for(;n;)if(tagChars.has(n))n=this.buffer[++t];else if(n==="%"&&hexDigits.has(this.buffer[t+1])&&hexDigits.has(this.buffer[t+2]))n=this.buffer[t+=3];else break;return yield*this.pushToIndex(t,!1)}}*pushNewline(){const t=this.buffer[this.pos];return t===`
|
|
210
|
-
`?yield*this.pushCount(1):t==="\r"&&this.charAt(1)===`
|
|
211
|
-
`?yield*this.pushCount(2):0}*pushSpaces(t){let n=this.pos-1,r;do r=this.buffer[++n];while(r===" "||t&&r===" ");const o=n-this.pos;return o>0&&(yield this.buffer.substr(this.pos,o),this.pos=n),o}*pushUntil(t){let n=this.pos,r=this.buffer[n];for(;!t(r);)r=this.buffer[++n];return yield*this.pushToIndex(n,!1)}}class LineCounter{constructor(){this.lineStarts=[],this.addNewLine=t=>this.lineStarts.push(t),this.linePos=t=>{let n=0,r=this.lineStarts.length;for(;n<r;){const c=n+r>>1;this.lineStarts[c]<t?n=c+1:r=c}if(this.lineStarts[n]===t)return{line:n+1,col:1};if(n===0)return{line:0,col:t};const o=this.lineStarts[n-1];return{line:n,col:t-o+1}}}}function includesToken(e,t){for(let n=0;n<e.length;++n)if(e[n].type===t)return!0;return!1}function findNonEmptyIndex(e){for(let t=0;t<e.length;++t)switch(e[t].type){case"space":case"comment":case"newline":break;default:return t}return-1}function isFlowToken(e){switch(e?.type){case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":case"flow-collection":return!0;default:return!1}}function getPrevProps(e){switch(e.type){case"document":return e.start;case"block-map":{const t=e.items[e.items.length-1];return t.sep??t.start}case"block-seq":return e.items[e.items.length-1].start;default:return[]}}function getFirstKeyStartProps(e){if(e.length===0)return[];let t=e.length;e:for(;--t>=0;)switch(e[t].type){case"doc-start":case"explicit-key-ind":case"map-value-ind":case"seq-item-ind":case"newline":break e}for(;e[++t]?.type==="space";);return e.splice(t,e.length)}function fixFlowSeqItems(e){if(e.start.type==="flow-seq-start")for(const t of e.items)t.sep&&!t.value&&!includesToken(t.start,"explicit-key-ind")&&!includesToken(t.sep,"map-value-ind")&&(t.key&&(t.value=t.key),delete t.key,isFlowToken(t.value)?t.value.end?Array.prototype.push.apply(t.value.end,t.sep):t.value.end=t.sep:Array.prototype.push.apply(t.start,t.sep),delete t.sep)}class Parser{constructor(t){this.atNewLine=!0,this.atScalar=!1,this.indent=0,this.offset=0,this.onKeyLine=!1,this.stack=[],this.source="",this.type="",this.lexer=new Lexer,this.onNewLine=t}*parse(t,n=!1){this.onNewLine&&this.offset===0&&this.onNewLine(0);for(const r of this.lexer.lex(t,n))yield*this.next(r);n||(yield*this.end())}*next(t){if(this.source=t,this.atScalar){this.atScalar=!1,yield*this.step(),this.offset+=t.length;return}const n=tokenType(t);if(n)if(n==="scalar")this.atNewLine=!1,this.atScalar=!0,this.type="scalar";else{switch(this.type=n,yield*this.step(),n){case"newline":this.atNewLine=!0,this.indent=0,this.onNewLine&&this.onNewLine(this.offset+t.length);break;case"space":this.atNewLine&&t[0]===" "&&(this.indent+=t.length);break;case"explicit-key-ind":case"map-value-ind":case"seq-item-ind":this.atNewLine&&(this.indent+=t.length);break;case"doc-mode":case"flow-error-end":return;default:this.atNewLine=!1}this.offset+=t.length}else{const r=`Not a YAML token: ${t}`;yield*this.pop({type:"error",offset:this.offset,message:r,source:t}),this.offset+=t.length}}*end(){for(;this.stack.length>0;)yield*this.pop()}get sourceToken(){return{type:this.type,offset:this.offset,indent:this.indent,source:this.source}}*step(){const t=this.peek(1);if(this.type==="doc-end"&&t?.type!=="doc-end"){for(;this.stack.length>0;)yield*this.pop();this.stack.push({type:"doc-end",offset:this.offset,source:this.source});return}if(!t)return yield*this.stream();switch(t.type){case"document":return yield*this.document(t);case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return yield*this.scalar(t);case"block-scalar":return yield*this.blockScalar(t);case"block-map":return yield*this.blockMap(t);case"block-seq":return yield*this.blockSequence(t);case"flow-collection":return yield*this.flowCollection(t);case"doc-end":return yield*this.documentEnd(t)}yield*this.pop()}peek(t){return this.stack[this.stack.length-t]}*pop(t){const n=t??this.stack.pop();if(!n)yield{type:"error",offset:this.offset,source:"",message:"Tried to pop an empty stack"};else if(this.stack.length===0)yield n;else{const r=this.peek(1);switch(n.type==="block-scalar"?n.indent="indent"in r?r.indent:0:n.type==="flow-collection"&&r.type==="document"&&(n.indent=0),n.type==="flow-collection"&&fixFlowSeqItems(n),r.type){case"document":r.value=n;break;case"block-scalar":r.props.push(n);break;case"block-map":{const o=r.items[r.items.length-1];if(o.value){r.items.push({start:[],key:n,sep:[]}),this.onKeyLine=!0;return}else if(o.sep)o.value=n;else{Object.assign(o,{key:n,sep:[]}),this.onKeyLine=!o.explicitKey;return}break}case"block-seq":{const o=r.items[r.items.length-1];o.value?r.items.push({start:[],value:n}):o.value=n;break}case"flow-collection":{const o=r.items[r.items.length-1];!o||o.value?r.items.push({start:[],key:n,sep:[]}):o.sep?o.value=n:Object.assign(o,{key:n,sep:[]});return}default:yield*this.pop(),yield*this.pop(n)}if((r.type==="document"||r.type==="block-map"||r.type==="block-seq")&&(n.type==="block-map"||n.type==="block-seq")){const o=n.items[n.items.length-1];o&&!o.sep&&!o.value&&o.start.length>0&&findNonEmptyIndex(o.start)===-1&&(n.indent===0||o.start.every(c=>c.type!=="comment"||c.indent<n.indent))&&(r.type==="document"?r.end=o.start:r.items.push({start:o.start}),n.items.splice(-1,1))}}}*stream(){switch(this.type){case"directive-line":yield{type:"directive",offset:this.offset,source:this.source};return;case"byte-order-mark":case"space":case"comment":case"newline":yield this.sourceToken;return;case"doc-mode":case"doc-start":{const t={type:"document",offset:this.offset,start:[]};this.type==="doc-start"&&t.start.push(this.sourceToken),this.stack.push(t);return}}yield{type:"error",offset:this.offset,message:`Unexpected ${this.type} token in YAML stream`,source:this.source}}*document(t){if(t.value)return yield*this.lineEnd(t);switch(this.type){case"doc-start":{findNonEmptyIndex(t.start)!==-1?(yield*this.pop(),yield*this.step()):t.start.push(this.sourceToken);return}case"anchor":case"tag":case"space":case"comment":case"newline":t.start.push(this.sourceToken);return}const n=this.startBlockValue(t);n?this.stack.push(n):yield{type:"error",offset:this.offset,message:`Unexpected ${this.type} token in YAML document`,source:this.source}}*scalar(t){if(this.type==="map-value-ind"){const n=getPrevProps(this.peek(2)),r=getFirstKeyStartProps(n);let o;t.end?(o=t.end,o.push(this.sourceToken),delete t.end):o=[this.sourceToken];const c={type:"block-map",offset:t.offset,indent:t.indent,items:[{start:r,key:t,sep:o}]};this.onKeyLine=!0,this.stack[this.stack.length-1]=c}else yield*this.lineEnd(t)}*blockScalar(t){switch(this.type){case"space":case"comment":case"newline":t.props.push(this.sourceToken);return;case"scalar":if(t.source=this.source,this.atNewLine=!0,this.indent=0,this.onNewLine){let n=this.source.indexOf(`
|
|
212
|
-
`)+1;for(;n!==0;)this.onNewLine(this.offset+n),n=this.source.indexOf(`
|
|
213
|
-
`,n)+1}yield*this.pop();break;default:yield*this.pop(),yield*this.step()}}*blockMap(t){const n=t.items[t.items.length-1];switch(this.type){case"newline":if(this.onKeyLine=!1,n.value){const r="end"in n.value?n.value.end:void 0;(Array.isArray(r)?r[r.length-1]:void 0)?.type==="comment"?r?.push(this.sourceToken):t.items.push({start:[this.sourceToken]})}else n.sep?n.sep.push(this.sourceToken):n.start.push(this.sourceToken);return;case"space":case"comment":if(n.value)t.items.push({start:[this.sourceToken]});else if(n.sep)n.sep.push(this.sourceToken);else{if(this.atIndentedComment(n.start,t.indent)){const o=t.items[t.items.length-2]?.value?.end;if(Array.isArray(o)){Array.prototype.push.apply(o,n.start),o.push(this.sourceToken),t.items.pop();return}}n.start.push(this.sourceToken)}return}if(this.indent>=t.indent){const r=!this.onKeyLine&&this.indent===t.indent,o=r&&(n.sep||n.explicitKey)&&this.type!=="seq-item-ind";let c=[];if(o&&n.sep&&!n.value){const F=[];for(let Y=0;Y<n.sep.length;++Y){const V=n.sep[Y];switch(V.type){case"newline":F.push(Y);break;case"space":break;case"comment":V.indent>t.indent&&(F.length=0);break;default:F.length=0}}F.length>=2&&(c=n.sep.splice(F[1]))}switch(this.type){case"anchor":case"tag":o||n.value?(c.push(this.sourceToken),t.items.push({start:c}),this.onKeyLine=!0):n.sep?n.sep.push(this.sourceToken):n.start.push(this.sourceToken);return;case"explicit-key-ind":!n.sep&&!n.explicitKey?(n.start.push(this.sourceToken),n.explicitKey=!0):o||n.value?(c.push(this.sourceToken),t.items.push({start:c,explicitKey:!0})):this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:[this.sourceToken],explicitKey:!0}]}),this.onKeyLine=!0;return;case"map-value-ind":if(n.explicitKey)if(n.sep)if(n.value)t.items.push({start:[],key:null,sep:[this.sourceToken]});else if(includesToken(n.sep,"map-value-ind"))this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:c,key:null,sep:[this.sourceToken]}]});else if(isFlowToken(n.key)&&!includesToken(n.sep,"newline")){const F=getFirstKeyStartProps(n.start),Y=n.key,V=n.sep;V.push(this.sourceToken),delete n.key,delete n.sep,this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:F,key:Y,sep:V}]})}else c.length>0?n.sep=n.sep.concat(c,this.sourceToken):n.sep.push(this.sourceToken);else if(includesToken(n.start,"newline"))Object.assign(n,{key:null,sep:[this.sourceToken]});else{const F=getFirstKeyStartProps(n.start);this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:F,key:null,sep:[this.sourceToken]}]})}else n.sep?n.value||o?t.items.push({start:c,key:null,sep:[this.sourceToken]}):includesToken(n.sep,"map-value-ind")?this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:[],key:null,sep:[this.sourceToken]}]}):n.sep.push(this.sourceToken):Object.assign(n,{key:null,sep:[this.sourceToken]});this.onKeyLine=!0;return;case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":{const F=this.flowScalar(this.type);o||n.value?(t.items.push({start:c,key:F,sep:[]}),this.onKeyLine=!0):n.sep?this.stack.push(F):(Object.assign(n,{key:F,sep:[]}),this.onKeyLine=!0);return}default:{const F=this.startBlockValue(t);if(F){if(F.type==="block-seq"){if(!n.explicitKey&&n.sep&&!includesToken(n.sep,"newline")){yield*this.pop({type:"error",offset:this.offset,message:"Unexpected block-seq-ind on same line with key",source:this.source});return}}else r&&t.items.push({start:c});this.stack.push(F);return}}}}yield*this.pop(),yield*this.step()}*blockSequence(t){const n=t.items[t.items.length-1];switch(this.type){case"newline":if(n.value){const r="end"in n.value?n.value.end:void 0;(Array.isArray(r)?r[r.length-1]:void 0)?.type==="comment"?r?.push(this.sourceToken):t.items.push({start:[this.sourceToken]})}else n.start.push(this.sourceToken);return;case"space":case"comment":if(n.value)t.items.push({start:[this.sourceToken]});else{if(this.atIndentedComment(n.start,t.indent)){const o=t.items[t.items.length-2]?.value?.end;if(Array.isArray(o)){Array.prototype.push.apply(o,n.start),o.push(this.sourceToken),t.items.pop();return}}n.start.push(this.sourceToken)}return;case"anchor":case"tag":if(n.value||this.indent<=t.indent)break;n.start.push(this.sourceToken);return;case"seq-item-ind":if(this.indent!==t.indent)break;n.value||includesToken(n.start,"seq-item-ind")?t.items.push({start:[this.sourceToken]}):n.start.push(this.sourceToken);return}if(this.indent>t.indent){const r=this.startBlockValue(t);if(r){this.stack.push(r);return}}yield*this.pop(),yield*this.step()}*flowCollection(t){const n=t.items[t.items.length-1];if(this.type==="flow-error-end"){let r;do yield*this.pop(),r=this.peek(1);while(r?.type==="flow-collection")}else if(t.end.length===0){switch(this.type){case"comma":case"explicit-key-ind":!n||n.sep?t.items.push({start:[this.sourceToken]}):n.start.push(this.sourceToken);return;case"map-value-ind":!n||n.value?t.items.push({start:[],key:null,sep:[this.sourceToken]}):n.sep?n.sep.push(this.sourceToken):Object.assign(n,{key:null,sep:[this.sourceToken]});return;case"space":case"comment":case"newline":case"anchor":case"tag":!n||n.value?t.items.push({start:[this.sourceToken]}):n.sep?n.sep.push(this.sourceToken):n.start.push(this.sourceToken);return;case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":{const o=this.flowScalar(this.type);!n||n.value?t.items.push({start:[],key:o,sep:[]}):n.sep?this.stack.push(o):Object.assign(n,{key:o,sep:[]});return}case"flow-map-end":case"flow-seq-end":t.end.push(this.sourceToken);return}const r=this.startBlockValue(t);r?this.stack.push(r):(yield*this.pop(),yield*this.step())}else{const r=this.peek(2);if(r.type==="block-map"&&(this.type==="map-value-ind"&&r.indent===t.indent||this.type==="newline"&&!r.items[r.items.length-1].sep))yield*this.pop(),yield*this.step();else if(this.type==="map-value-ind"&&r.type!=="flow-collection"){const o=getPrevProps(r),c=getFirstKeyStartProps(o);fixFlowSeqItems(t);const F=t.end.splice(1,t.end.length);F.push(this.sourceToken);const Y={type:"block-map",offset:t.offset,indent:t.indent,items:[{start:c,key:t,sep:F}]};this.onKeyLine=!0,this.stack[this.stack.length-1]=Y}else yield*this.lineEnd(t)}}flowScalar(t){if(this.onNewLine){let n=this.source.indexOf(`
|
|
214
|
-
`)+1;for(;n!==0;)this.onNewLine(this.offset+n),n=this.source.indexOf(`
|
|
215
|
-
`,n)+1}return{type:t,offset:this.offset,indent:this.indent,source:this.source}}startBlockValue(t){switch(this.type){case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return this.flowScalar(this.type);case"block-scalar-header":return{type:"block-scalar",offset:this.offset,indent:this.indent,props:[this.sourceToken],source:""};case"flow-map-start":case"flow-seq-start":return{type:"flow-collection",offset:this.offset,indent:this.indent,start:this.sourceToken,items:[],end:[]};case"seq-item-ind":return{type:"block-seq",offset:this.offset,indent:this.indent,items:[{start:[this.sourceToken]}]};case"explicit-key-ind":{this.onKeyLine=!0;const n=getPrevProps(t),r=getFirstKeyStartProps(n);return r.push(this.sourceToken),{type:"block-map",offset:this.offset,indent:this.indent,items:[{start:r,explicitKey:!0}]}}case"map-value-ind":{this.onKeyLine=!0;const n=getPrevProps(t),r=getFirstKeyStartProps(n);return{type:"block-map",offset:this.offset,indent:this.indent,items:[{start:r,key:null,sep:[this.sourceToken]}]}}}return null}atIndentedComment(t,n){return this.type!=="comment"||this.indent<=n?!1:t.every(r=>r.type==="newline"||r.type==="space")}*documentEnd(t){this.type!=="doc-mode"&&(t.end?t.end.push(this.sourceToken):t.end=[this.sourceToken],this.type==="newline"&&(yield*this.pop()))}*lineEnd(t){switch(this.type){case"comma":case"doc-start":case"doc-end":case"flow-seq-end":case"flow-map-end":case"map-value-ind":yield*this.pop(),yield*this.step();break;case"newline":this.onKeyLine=!1;default:t.end?t.end.push(this.sourceToken):t.end=[this.sourceToken],this.type==="newline"&&(yield*this.pop())}}}function parseOptions(e){const t=e.prettyErrors!==!1;return{lineCounter:e.lineCounter||t&&new LineCounter||null,prettyErrors:t}}function parseDocument(e,t={}){const{lineCounter:n,prettyErrors:r}=parseOptions(t),o=new Parser(n?.addNewLine),c=new Composer(t);let F=null;for(const Y of c.compose(o.parse(e),!0,e.length))if(!F)F=Y;else if(F.options.logLevel!=="silent"){F.errors.push(new YAMLParseError(Y.range.slice(0,2),"MULTIPLE_DOCS","Source contains multiple documents; please use YAML.parseAllDocuments()"));break}return r&&n&&(F.errors.forEach(prettifyError(e,n)),F.warnings.forEach(prettifyError(e,n))),F}function parse(e,t,n){let r;const o=parseDocument(e,n);if(!o)return null;if(o.warnings.forEach(c=>warn(o.options.logLevel,c)),o.errors.length>0){if(o.options.logLevel!=="silent")throw o.errors[0];o.errors=[]}return o.toJS(Object.assign({reviver:r},n))}const bracketPairs={"[":"]","{":"}","(":")"},quotePairs={"'":"'",'"':'"',"`":"`"};function parseProps(e){if(e=e.trim(),!e)return;const t=searchProps(e);if(!t)throw new Error(`Invalid props: \`${e}\``);if(t.index!==e.length)throw new Error(`Invalid props: \`${e}\`, expected end \`}\` but got \`${e.slice(t.index)}\``);return t.props}function searchProps(e,t=0){if(e[t]!=="{")throw new Error(`Invalid props, expected \`{\` but got '${e[t]}'`);const n=[];if(e[t+1]==="{")return;for(t+=1;t<e.length;)if(e[t]==="\\")t+=2;else if(e[t]==="}"){t+=1;break}else if(e[t]===" ")t+=1;else if(e[t]===".")t+=1,n.push(["class",r(" #.}")]);else if(e[t]==="#")t+=1,n.push(["id",r(" #.}")]);else{const Y=t;for(;t<e.length&&(t+=1,!" }=".includes(e[t])););const V=e[t];if(Y!==t){const Q=e.slice(Y,t).trim();V==="="?(t+=1,n.push([Q,o()])):n.push([Q,"true"])}}function r(Y){const V=t;for(;t<e.length&&(t+=1,e[t]==="\\"&&(t+=2),!Y.includes(e[t])););return e.slice(V,t)}function o(){const Y=t;return e[t]in bracketPairs?(c(bracketPairs[e[t]]),t+=1,e.slice(Y,t)):e[t]in quotePairs?(F(quotePairs[e[t]]),t+=1,e.slice(Y,t)):r(" }")}function c(Y){for(;t<e.length;)if(t++,e[t]in quotePairs)F(quotePairs[e[t]]);else if(e[t]in bracketPairs)c(bracketPairs[e[t]]);else if(e[t]===Y)return}function F(Y){return r(Y)}return n.forEach(Y=>{Y[1].match(/^(['"`]).*\1$/)&&(Y[1]=Y[1].slice(1,-1))}),{props:n,index:t}}const RE_BLOCK_NAME=/^[a-z$][$\w.-]*/;function parseBlockParams(e){if(e=e.trim(),!e)return{name:""};const t=e.match(RE_BLOCK_NAME)?.[0];if(!t)throw new Error(`Invalid block params: ${e}`);const n=e.slice(t.length).trim();return{name:t,props:parseProps(n)}}const MarkdownItMdcBlock=e=>{e.block.ruler.before("fence","mdc_block_shorthand",function(c,F,Y,V){const Q=c.src.slice(c.bMarks[F]+c.tShift[F],c.eMarks[F]);if(!Q.match(/^:\w/))return!1;const{name:X,props:ue}=parseBlockParams(Q.slice(1));if(c.lineMax=F+1,!V){const se=c.push("mdc_block_shorthand",X,0);ue?.forEach(([oe,ce])=>{oe==="class"?se.attrJoin(oe,ce):se.attrSet(oe,ce)})}return c.line=F+1,!0}),e.block.ruler.before("fence","mdc_block",function(c,F,Y,V){let Q,X,ue=!1,se=c.bMarks[F]+c.tShift[F],oe=c.eMarks[F];const ce=c.sCount[F];if(c.src[se]!==":")return!1;for(Q=se+1;Q<=oe&&c.src[Q]===":";Q++);const le=Math.floor(Q-se);if(le<2)return!1;const de=c.src.slice(se,Q),pe=parseBlockParams(c.src.slice(Q,oe));if(!pe.name)return!1;if(V)return!0;for(X=F;X++,!(X>=Y||(se=c.bMarks[X]+c.tShift[X],oe=c.eMarks[X],se<oe&&c.sCount[X]<c.blkIndent));)if(c.src.charCodeAt(se)===58){for(Q=se+1;Q<=oe&&c.src[Q]===":";Q++);if(Q-se===le&&(Q=c.skipSpaces(Q),!(Q<oe))){ue=!0;break}}const be=c.parentType,ge=c.lineMax;c.parentType="mdc_block",c.lineMax=X;const ye=c.push("mdc_block_open",pe.name,1);ye.markup=de,ye.block=!0,ye.info=pe.name,ye.map=[F,X],pe.props&&pe.props?.forEach(([Fe,we])=>{Fe==="class"?ye.attrJoin(Fe,we):ye.attrSet(Fe,we)});const me=c.blkIndent;c.blkIndent=ce,c.env.mdcBlockTokens||=[],c.env.mdcBlockTokens.unshift(ye),c.md.block.tokenize(c,F+1,X),c.blkIndent=me,c.env.mdcBlockTokens.shift(ye);const xe=c.push("mdc_block_close",pe.name,-1);return xe.markup=c.src.slice(se,Q),xe.block=!0,c.tokens.slice(c.tokens.indexOf(ye)+1,c.tokens.indexOf(xe)).filter(Fe=>Fe.level===ye.level+1).forEach((Fe,we,Te)=>{Te.length<=2&&Fe.tag==="p"&&(Fe.hidden=!0)}),c.parentType=be,c.lineMax=ge,c.line=X+(ue?1:0),!0},{alt:["paragraph","reference","blockquote","list"]}),e.block.ruler.after("code","mdc_block_yaml",function(c,F,Y,V){if(!c.env.mdcBlockTokens?.length)return!1;const Q=c.bMarks[F]+c.tShift[F],X=c.eMarks[F];if(c.src.slice(Q,X)!=="---")return!1;let ue=F+1,se=!1;for(;ue<Y;){if(c.src.slice(c.bMarks[ue]+c.tShift[F],c.eMarks[ue])==="---"){se=!0;break}ue+=1}if(!se)return!1;if(!V){const oe=c.src.slice(c.bMarks[F+1],c.eMarks[ue-1]),ce=parse(oe),le=c.env.mdcBlockTokens[0];Object.entries(ce).forEach(([de,pe])=>{de==="class"?le.attrJoin(de,pe):le.attrSet(de,typeof pe=="string"?pe:JSON.stringify(pe))})}return c.line=ue+1,c.lineMax=ue+1,!0}),e.block.ruler.after("code","mdc_block_slots",function(c,F,Y,V){if(!c.env.mdcBlockTokens?.length)return!1;const Q=c.bMarks[F]+c.tShift[F];if(!(c.src[Q]==="#"&&c.src[Q+1]!==" "))return!1;const X=c.src.slice(Q,c.eMarks[F]),{name:ue,props:se}=parseBlockParams(X.slice(1));let oe=F+1;for(;oe<Y;){const le=c.src.slice(c.bMarks[oe]+c.tShift[F],c.eMarks[oe]);if(le.match(/^#(\w)+/)||le.startsWith("::"))break;oe+=1}if(V)return c.line=oe,c.lineMax=oe,!0;c.lineMax=F+1;const ce=c.push("mdc_block_slot","template",1);return ce.attrSet(`#${ue}`,""),se?.forEach(([le,de])=>{le==="class"?ce.attrJoin(le,de):ce.attrSet(le,de)}),c.line=F+1,c.lineMax=oe,c.md.block.tokenize(c,F+1,oe),c.push("mdc_block_slot","template",-1),c.line=oe,c.lineMax=oe,!0})},MarkdownItInlineComponent=e=>{e.inline.ruler.after("entity","mdc_inline_component",(t,n)=>{const r=t.pos;if(!(t.src[r]===":"&&t.src[r-1]===" "))return!1;let c=r+1,F=-1,Y=-1;for(;c<t.src.length;){const V=t.src[c];if(V==="["){for(F=c+1;c<t.src.length;)if(c+=1,t.src[c]==="\\"&&(c+=2),t.src[c]==="]"){Y=c,c+=1;break}break}if(!/[\w$\-]/.test(V))break;c+=1}if(c<=r+1)return!1;if(n)return!0;if(Y!==F){const V=t.src.slice(r+1,F-1),Q=t.src.slice(F,Y);t.push("mdc_inline_component",V,1);const X=t.push("text","",0);X.content=Q,t.push("mdc_inline_component",V,-1)}else{const V=t.src.slice(r+1,c);t.push("mdc_inline_component",V,0)}return t.pos=c,!0})},MarkdownItInlineProps=e=>{e.inline.ruler.after("entity","mdc_inline_props",(r,o)=>{const c=r.pos;if(r.src[c]!=="{"||r.src[c+1]==="{"||r.src[c-1]==="{"||r.src[c-1]==="$")return!1;const Y=searchProps(r.src,c);if(!Y)return!1;const{props:V,index:Q}=Y;if(Q===c)return!1;if(o)return!0;const X=r.push("mdc_inline_props","span",0);return X.attrs=V,X.hidden=!0,r.pos=Q,!0}),e.renderer.rules.mdc_inline_props=()=>"";const t=e.parse;e.parse=function(r,o){const c=t.call(this,r,o);return c.forEach((F,Y)=>{const V=c[Y-1],Q=c[Y+1];if(!(!["heading_open","paragraph_open","list_item_open"].includes(V?.type)||V.hidden)&&(F.hidden&&Q.type==="inline"&&(F=Q),F.type==="inline"&&F.children?.length===2&&F.children[0].type==="text"&&F.children[1].type==="mdc_inline_props")){const X=F.children[1].attrs;F.children.splice(1,1),X?.forEach(([ue,se])=>{ue==="class"?V.attrJoin("class",se):V.attrSet(ue,se)})}}),c.forEach((F,Y)=>{if(F.type!=="bullet_list_open")return;const V=c[Y-1];if(!V||V.type!=="mdc_block_open"||V.tag!=="ul")return;let Q=Y+1;for(;Q<c.length;){const se=c[Q];if(se.type==="bullet_list_close"&&se.level===F.level)break;Q+=1}const X=c[Q];if(X.type!=="bullet_list_close")return;const ue=c[Q+1];ue.type==="mdc_block_close"&&ue.tag==="ul"&&(F.hidden=!0,X.hidden=!0)}),c};const n=e.renderer.renderInline;e.renderer.renderInline=function(r,o,c){return r=[...r],r.forEach((F,Y)=>{if(F.type==="mdc_inline_props"){let V=Y-1,Q=r[V];for(;V>=0&&(Q.type==="text"&&!Q.content.trim());)V--,Q=r[V];if(!Q.tag&&Q.type==="text"){Q=new Token("mdc_inline_span","span",1),r.splice(Y-1,0,Q);const X=new Token("mdc_inline_span","span",-1);r.splice(Y+2,0,X)}else if(Q.nesting===-1){let X=Y-1;for(;X>=0;){const ue=r[X];if(ue.nesting===1&&ue.tag===Q.tag&&ue.level===Q.level){Q=ue;break}X--}}if(Q.nesting===-1)throw new Error(`No matching opening tag found for ${JSON.stringify(Q)}`);F.attrs?.forEach(([X,ue])=>{X==="class"?Q.attrJoin("class",ue):Q.attrSet(X,ue)})}}),n.call(this,r,o,c)}},MarkdownItInlineSpan=e=>{e.inline.ruler.after("mdc_inline_props","mdc_inline_span",(t,n)=>{const r=t.pos;if(t.src[r]!=="[")return!1;let c=r+1;for(;c<t.src.length&&(t.src[c]==="\\"&&(c+=2),t.src[c]!=="]");)c+=1;if(c===r)return!1;if(n)return!0;t.push("mdc_inline_span","span",1);const F=t.push("text","",0);return F.content=t.src.slice(r+1,c),t.push("mdc_inline_span","span",-1),t.pos=c+1,!0})},MarkdownItMdc=(e,t={})=>{const{blockComponent:n=!0,inlineProps:r=!0,inlineSpan:o=!0,inlineComponent:c=!0}=t.syntax||{};n&&e.use(MarkdownItMdcBlock),r&&e.use(MarkdownItInlineProps),o&&e.use(MarkdownItInlineSpan),c&&e.use(MarkdownItInlineComponent)};export{$,sfcPlugin as A,ElementTransform as E,L$1 as L,MarkdownIt as M,P$2 as P,U,_$1 as _,b$2 as a,bufferExports as b,commonjsRequire as c,d$2 as d,g$2 as e,a as f,getDefaultExportFromCjs as g,k$1 as h,i$4 as i,j$1 as j,k$4 as k,g$1 as l,m$1 as m,h as n,f$2 as o,f$1 as p,E as q,require$$0 as r,y as s,MarkdownItMdc as t,frontmatterPlugin as u,tocPlugin as v,w$2 as w,componentPlugin as x,y$2 as y,z$1 as z};
|