@reveldigital/gadgetizer 1.0.13 → 1.0.14
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/cli.js +1 -1
- package/dist/cli.js.map +1 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -37,7 +37,7 @@ ${X(ea).cyan(eZ)}
|
|
|
37
37
|
`}}}).prompt()},e6=(e="")=>{process.stdout.write(`${X(ea).gray(eQ)}
|
|
38
38
|
${X(ea).gray(eZ)} ${e}
|
|
39
39
|
|
|
40
|
-
`)};X(ea).gray(eQ);var e9=function(e,t){var r,n="";for(r=0;r<t;r+=1)n+=e;return n},e4=function(e){return 0===e&&-1/0==1/e};function e7(e,t){var r="",n=e.reason||"(unknown reason)";return e.mark?(e.mark.name&&(r+='in "'+e.mark.name+'" '),r+="("+(e.mark.line+1)+":"+(e.mark.column+1)+")",!t&&e.mark.snippet&&(r+="\n\n"+e.mark.snippet),n+" "+r):n}function te(e,t){Error.call(this),this.name="YAMLException",this.reason=e,this.mark=t,this.message=e7(this,!1),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=Error().stack||""}function tt(e,t,r,n,o){var i="",a="",u=Math.floor(o/2)-1;return n-t>u&&(t=n-u+(i=" ... ").length),r-n>u&&(r=n+u-(a=" ...").length),{str:i+e.slice(t,r).replace(/\t/g,"→")+a,pos:n-t+i.length}}function tr(e,t){return e9(" ",t-e.length)+e}te.prototype=Object.create(Error.prototype),te.prototype.constructor=te,te.prototype.toString=function(e){return this.name+": "+e7(this,e)};var tn=function(e,t){if(t=Object.create(t||null),!e.buffer)return null;t.maxLength||(t.maxLength=79),"number"!=typeof t.indent&&(t.indent=1),"number"!=typeof t.linesBefore&&(t.linesBefore=3),"number"!=typeof t.linesAfter&&(t.linesAfter=2);for(var r=/\r?\n|\r|\0/g,n=[0],o=[],i=-1;a=r.exec(e.buffer);)o.push(a.index),n.push(a.index+a[0].length),e.position<=a.index&&i<0&&(i=n.length-2);i<0&&(i=n.length-1);var a,u,s,l="",c=Math.min(e.line+t.linesAfter,o.length).toString().length,p=t.maxLength-(t.indent+c+3);for(u=1;u<=t.linesBefore&&!(i-u<0);u++)s=tt(e.buffer,n[i-u],o[i-u],e.position-(n[i]-n[i-u]),p),l=e9(" ",t.indent)+tr((e.line-u+1).toString(),c)+" | "+s.str+"\n"+l;for(s=tt(e.buffer,n[i],o[i],e.position,p),l+=e9(" ",t.indent)+tr((e.line+1).toString(),c)+" | "+s.str+"\n"+e9("-",t.indent+c+3+s.pos)+"^\n",u=1;u<=t.linesAfter&&!(i+u>=o.length);u++)s=tt(e.buffer,n[i+u],o[i+u],e.position-(n[i]-n[i+u]),p),l+=e9(" ",t.indent)+tr((e.line+u+1).toString(),c)+" | "+s.str+"\n";return l.replace(/\n$/,"")},to=["kind","multi","resolve","construct","instanceOf","predicate","represent","representName","defaultStyle","styleAliases"],ti=["scalar","sequence","mapping"],ta=function(e,t){var r,n;if(Object.keys(t=t||{}).forEach(function(t){if(-1===to.indexOf(t))throw new te('Unknown option "'+t+'" is met in definition of "'+e+'" YAML type.')}),this.options=t,this.tag=e,this.kind=t.kind||null,this.resolve=t.resolve||function(){return!0},this.construct=t.construct||function(e){return e},this.instanceOf=t.instanceOf||null,this.predicate=t.predicate||null,this.represent=t.represent||null,this.representName=t.representName||null,this.defaultStyle=t.defaultStyle||null,this.multi=t.multi||!1,this.styleAliases=(r=t.styleAliases||null,n={},null!==r&&Object.keys(r).forEach(function(e){r[e].forEach(function(t){n[String(t)]=e})}),n),-1===ti.indexOf(this.kind))throw new te('Unknown kind "'+this.kind+'" is specified for "'+e+'" YAML type.')};function tu(e,t){var r=[];return e[t].forEach(function(e){var t=r.length;r.forEach(function(r,n){r.tag===e.tag&&r.kind===e.kind&&r.multi===e.multi&&(t=n)}),r[t]=e}),r}function ts(e){return this.extend(e)}ts.prototype.extend=function(e){var t=[],r=[];if(e instanceof ta)r.push(e);else if(Array.isArray(e))r=r.concat(e);else if(e&&(Array.isArray(e.implicit)||Array.isArray(e.explicit)))e.implicit&&(t=t.concat(e.implicit)),e.explicit&&(r=r.concat(e.explicit));else throw new te("Schema.extend argument should be a Type, [ Type ], or a schema definition ({ implicit: [...], explicit: [...] })");t.forEach(function(e){if(!(e instanceof ta))throw new te("Specified list of YAML types (or a single Type object) contains a non-Type object.");if(e.loadKind&&"scalar"!==e.loadKind)throw new te("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.");if(e.multi)throw new te("There is a multi type in the implicit list of a schema. Multi tags can only be listed as explicit.")}),r.forEach(function(e){if(!(e instanceof ta))throw new te("Specified list of YAML types (or a single Type object) contains a non-Type object.")});var n=Object.create(ts.prototype);return n.implicit=(this.implicit||[]).concat(t),n.explicit=(this.explicit||[]).concat(r),n.compiledImplicit=tu(n,"implicit"),n.compiledExplicit=tu(n,"explicit"),n.compiledTypeMap=function(){var e,t,r={scalar:{},sequence:{},mapping:{},fallback:{},multi:{scalar:[],sequence:[],mapping:[],fallback:[]}};function n(e){e.multi?(r.multi[e.kind].push(e),r.multi.fallback.push(e)):r[e.kind][e.tag]=r.fallback[e.tag]=e}for(e=0,t=arguments.length;e<t;e+=1)arguments[e].forEach(n);return r}(n.compiledImplicit,n.compiledExplicit),n};var tl=new ts({explicit:[new ta("tag:yaml.org,2002:str",{kind:"scalar",construct:function(e){return null!==e?e:""}}),new ta("tag:yaml.org,2002:seq",{kind:"sequence",construct:function(e){return null!==e?e:[]}}),new ta("tag:yaml.org,2002:map",{kind:"mapping",construct:function(e){return null!==e?e:{}}})]}),tc=new ta("tag:yaml.org,2002:null",{kind:"scalar",resolve:function(e){if(null===e)return!0;var t=e.length;return 1===t&&"~"===e||4===t&&("null"===e||"Null"===e||"NULL"===e)},construct:function(){return null},predicate:function(e){return null===e},represent:{canonical:function(){return"~"},lowercase:function(){return"null"},uppercase:function(){return"NULL"},camelcase:function(){return"Null"},empty:function(){return""}},defaultStyle:"lowercase"}),tp=new ta("tag:yaml.org,2002:bool",{kind:"scalar",resolve:function(e){if(null===e)return!1;var t=e.length;return 4===t&&("true"===e||"True"===e||"TRUE"===e)||5===t&&("false"===e||"False"===e||"FALSE"===e)},construct:function(e){return"true"===e||"True"===e||"TRUE"===e},predicate:function(e){return"[object Boolean]"===Object.prototype.toString.call(e)},represent:{lowercase:function(e){return e?"true":"false"},uppercase:function(e){return e?"TRUE":"FALSE"},camelcase:function(e){return e?"True":"False"}},defaultStyle:"lowercase"}),td=new ta("tag:yaml.org,2002:int",{kind:"scalar",resolve:function(e){if(null===e)return!1;var t,r,n,o,i=e.length,a=0,u=!1;if(!i)return!1;if(("-"===(o=e[a])||"+"===o)&&(o=e[++a]),"0"===o){if(a+1===i)return!0;if("b"===(o=e[++a])){for(a++;a<i;a++)if("_"!==(o=e[a])){if("0"!==o&&"1"!==o)return!1;u=!0}return u&&"_"!==o}if("x"===o){for(a++;a<i;a++)if("_"!==(o=e[a])){if(!(48<=(t=e.charCodeAt(a))&&t<=57||65<=t&&t<=70||97<=t&&t<=102))return!1;u=!0}return u&&"_"!==o}if("o"===o){for(a++;a<i;a++)if("_"!==(o=e[a])){if(!(48<=(r=e.charCodeAt(a))&&r<=55))return!1;u=!0}return u&&"_"!==o}}if("_"===o)return!1;for(;a<i;a++)if("_"!==(o=e[a])){if(!(48<=(n=e.charCodeAt(a))&&n<=57))return!1;u=!0}return!!u&&"_"!==o},construct:function(e){var t,r=e,n=1;if(-1!==r.indexOf("_")&&(r=r.replace(/_/g,"")),("-"===(t=r[0])||"+"===t)&&("-"===t&&(n=-1),t=(r=r.slice(1))[0]),"0"===r)return 0;if("0"===t){if("b"===r[1])return n*parseInt(r.slice(2),2);if("x"===r[1])return n*parseInt(r.slice(2),16);if("o"===r[1])return n*parseInt(r.slice(2),8)}return n*parseInt(r,10)},predicate:function(e){return"[object Number]"===Object.prototype.toString.call(e)&&e%1==0&&!e4(e)},represent:{binary:function(e){return e>=0?"0b"+e.toString(2):"-0b"+e.toString(2).slice(1)},octal:function(e){return e>=0?"0o"+e.toString(8):"-0o"+e.toString(8).slice(1)},decimal:function(e){return e.toString(10)},hexadecimal:function(e){return e>=0?"0x"+e.toString(16).toUpperCase():"-0x"+e.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}}),tf=RegExp("^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$"),th=/^[-+]?[0-9]+e/,tm=new ta("tag:yaml.org,2002:float",{kind:"scalar",resolve:function(e){return null!==e&&!!tf.test(e)&&"_"!==e[e.length-1]},construct:function(e){var t,r;return(r="-"===(t=e.replace(/_/g,"").toLowerCase())[0]?-1:1,"+-".indexOf(t[0])>=0&&(t=t.slice(1)),".inf"===t)?1===r?1/0:-1/0:".nan"===t?NaN:r*parseFloat(t,10)},predicate:function(e){return"[object Number]"===Object.prototype.toString.call(e)&&(e%1!=0||e4(e))},represent:function(e,t){var r;if(isNaN(e))switch(t){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(1/0===e)switch(t){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(-1/0===e)switch(t){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(e4(e))return"-0.0";return r=e.toString(10),th.test(r)?r.replace("e",".e"):r},defaultStyle:"lowercase"}),tD=tl.extend({implicit:[tc,tp,td,tm]}),tg=RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),ty=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]))?))?$"),t_=new ta("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:function(e){return null!==e&&(null!==tg.exec(e)||null!==ty.exec(e))},construct:function(e){var t,r,n,o,i,a,u,s,l=0,c=null;if(null===(t=tg.exec(e))&&(t=ty.exec(e)),null===t)throw Error("Date resolve error");if(r=+t[1],n=t[2]-1,o=+t[3],!t[4])return new Date(Date.UTC(r,n,o));if(i=+t[4],a=+t[5],u=+t[6],t[7]){for(l=t[7].slice(0,3);l.length<3;)l+="0";l*=1}return t[9]&&(c=(60*t[10]+ +(t[11]||0))*6e4,"-"===t[9]&&(c=-c)),s=new Date(Date.UTC(r,n,o,i,a,u,l)),c&&s.setTime(s.getTime()-c),s},instanceOf:Date,represent:function(e){return e.toISOString()}}),tv=new ta("tag:yaml.org,2002:merge",{kind:"scalar",resolve:function(e){return"<<"===e||null===e}}),tb="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\n\r",tx=new ta("tag:yaml.org,2002:binary",{kind:"scalar",resolve:function(e){if(null===e)return!1;var t,r,n=0,o=e.length;for(r=0;r<o;r++)if(!((t=tb.indexOf(e.charAt(r)))>64)){if(t<0)return!1;n+=6}return n%8==0},construct:function(e){var t,r,n=e.replace(/[\r\n=]/g,""),o=n.length,i=0,a=[];for(t=0;t<o;t++)t%4==0&&t&&(a.push(i>>16&255),a.push(i>>8&255),a.push(255&i)),i=i<<6|tb.indexOf(n.charAt(t));return 0==(r=o%4*6)?(a.push(i>>16&255),a.push(i>>8&255),a.push(255&i)):18===r?(a.push(i>>10&255),a.push(i>>2&255)):12===r&&a.push(i>>4&255),new Uint8Array(a)},predicate:function(e){return"[object Uint8Array]"===Object.prototype.toString.call(e)},represent:function(e){var t,r,n="",o=0,i=e.length;for(t=0;t<i;t++)t%3==0&&t&&(n+=tb[o>>18&63],n+=tb[o>>12&63],n+=tb[o>>6&63],n+=tb[63&o]),o=(o<<8)+e[t];return 0==(r=i%3)?(n+=tb[o>>18&63],n+=tb[o>>12&63],n+=tb[o>>6&63],n+=tb[63&o]):2===r?(n+=tb[o>>10&63],n+=tb[o>>4&63],n+=tb[o<<2&63],n+=tb[64]):1===r&&(n+=tb[o>>2&63],n+=tb[o<<4&63],n+=tb[64],n+=tb[64]),n}}),tE=Object.prototype.hasOwnProperty,tw=Object.prototype.toString,tC=new ta("tag:yaml.org,2002:omap",{kind:"sequence",resolve:function(e){if(null===e)return!0;var t,r,n,o,i,a=[];for(t=0,r=e.length;t<r;t+=1){if(n=e[t],i=!1,"[object Object]"!==tw.call(n))return!1;for(o in n)if(tE.call(n,o))if(i)return!1;else i=!0;if(!i||-1!==a.indexOf(o))return!1;a.push(o)}return!0},construct:function(e){return null!==e?e:[]}}),tA=Object.prototype.toString,tN=new ta("tag:yaml.org,2002:pairs",{kind:"sequence",resolve:function(e){var t,r,n,o,i;if(null===e)return!0;for(t=0,i=Array(e.length),r=e.length;t<r;t+=1){if(n=e[t],"[object Object]"!==tA.call(n)||1!==(o=Object.keys(n)).length)return!1;i[t]=[o[0],n[o[0]]]}return!0},construct:function(e){var t,r,n,o,i;if(null===e)return[];for(t=0,i=Array(e.length),r=e.length;t<r;t+=1)o=Object.keys(n=e[t]),i[t]=[o[0],n[o[0]]];return i}}),tT=Object.prototype.hasOwnProperty,tS=new ta("tag:yaml.org,2002:set",{kind:"mapping",resolve:function(e){var t;if(null===e)return!0;for(t in e)if(tT.call(e,t)&&null!==e[t])return!1;return!0},construct:function(e){return null!==e?e:{}}}),tF=tD.extend({implicit:[t_,tv],explicit:[tx,tC,tN,tS]}),tO=Object.prototype.hasOwnProperty,tk=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,tP=/[\x85\u2028\u2029]/,tL=/[,\[\]\{\}]/,tI=/^(?:!|!!|![a-z\-]+!)$/i,tB=/^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;function tq(e){return Object.prototype.toString.call(e)}function tj(e){return 10===e||13===e}function tM(e){return 9===e||32===e}function tR(e){return 9===e||32===e||10===e||13===e}function tU(e){return 44===e||91===e||93===e||123===e||125===e}function tG(e){return 48===e?"\0":97===e?"\x07":98===e?"\b":116===e||9===e?" ":110===e?"\n":118===e?"\v":102===e?"\f":114===e?"\r":101===e?"\x1b":32===e?" ":34===e?'"':47===e?"/":92===e?"\\":78===e?"
":95===e?" ":76===e?"\u2028":80===e?"\u2029":""}for(var tz=Array(256),tV=Array(256),tH=0;tH<256;tH++)tz[tH]=+!!tG(tH),tV[tH]=tG(tH);function tW(e,t){this.input=e,this.filename=t.filename||null,this.schema=t.schema||tF,this.onWarning=t.onWarning||null,this.legacy=t.legacy||!1,this.json=t.json||!1,this.listener=t.listener||null,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=e.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.firstTabInLine=-1,this.documents=[]}function t$(e,t){var r={name:e.filename,buffer:e.input.slice(0,-1),position:e.position,line:e.line,column:e.position-e.lineStart};return r.snippet=tn(r),new te(t,r)}function tY(e,t){throw t$(e,t)}function tX(e,t){e.onWarning&&e.onWarning.call(null,t$(e,t))}var tJ={YAML:function(e,t,r){var n,o,i;null!==e.version&&tY(e,"duplication of %YAML directive"),1!==r.length&&tY(e,"YAML directive accepts exactly one argument"),null===(n=/^([0-9]+)\.([0-9]+)$/.exec(r[0]))&&tY(e,"ill-formed argument of the YAML directive"),o=parseInt(n[1],10),i=parseInt(n[2],10),1!==o&&tY(e,"unacceptable YAML version of the document"),e.version=r[0],e.checkLineBreaks=i<2,1!==i&&2!==i&&tX(e,"unsupported YAML version of the document")},TAG:function(e,t,r){var n,o;2!==r.length&&tY(e,"TAG directive accepts exactly two arguments"),n=r[0],o=r[1],tI.test(n)||tY(e,"ill-formed tag handle (first argument) of the TAG directive"),tO.call(e.tagMap,n)&&tY(e,'there is a previously declared suffix for "'+n+'" tag handle'),tB.test(o)||tY(e,"ill-formed tag prefix (second argument) of the TAG directive");try{o=decodeURIComponent(o)}catch(t){tY(e,"tag prefix is malformed: "+o)}e.tagMap[n]=o}};function tK(e,t,r,n){var o,i,a,u;if(t<r){if(u=e.input.slice(t,r),n)for(o=0,i=u.length;o<i;o+=1)9===(a=u.charCodeAt(o))||32<=a&&a<=1114111||tY(e,"expected valid JSON character");else tk.test(u)&&tY(e,"the stream contains non-printable characters");e.result+=u}}function tQ(e,t,r,n){var o,i,a,u,s;for("object"==typeof(s=r)&&null!==s||tY(e,"cannot merge mappings; the provided source object is unacceptable"),a=0,u=(o=Object.keys(r)).length;a<u;a+=1)i=o[a],tO.call(t,i)||(t[i]=r[i],n[i]=!0)}function tZ(e,t,r,n,o,i,a,u,s){var l,c;if(Array.isArray(o))for(l=0,c=(o=Array.prototype.slice.call(o)).length;l<c;l+=1)Array.isArray(o[l])&&tY(e,"nested arrays are not supported inside keys"),"object"==typeof o&&"[object Object]"===tq(o[l])&&(o[l]="[object Object]");if("object"==typeof o&&"[object Object]"===tq(o)&&(o="[object Object]"),o=String(o),null===t&&(t={}),"tag:yaml.org,2002:merge"===n)if(Array.isArray(i))for(l=0,c=i.length;l<c;l+=1)tQ(e,t,i[l],r);else tQ(e,t,i,r);else!e.json&&!tO.call(r,o)&&tO.call(t,o)&&(e.line=a||e.line,e.lineStart=u||e.lineStart,e.position=s||e.position,tY(e,"duplicated mapping key")),"__proto__"===o?Object.defineProperty(t,o,{configurable:!0,enumerable:!0,writable:!0,value:i}):t[o]=i,delete r[o];return t}function t0(e){var t;10===(t=e.input.charCodeAt(e.position))?e.position++:13===t?(e.position++,10===e.input.charCodeAt(e.position)&&e.position++):tY(e,"a line break is expected"),e.line+=1,e.lineStart=e.position,e.firstTabInLine=-1}function t1(e,t,r){for(var n=0,o=e.input.charCodeAt(e.position);0!==o;){for(;tM(o);)9===o&&-1===e.firstTabInLine&&(e.firstTabInLine=e.position),o=e.input.charCodeAt(++e.position);if(t&&35===o)do o=e.input.charCodeAt(++e.position);while(10!==o&&13!==o&&0!==o)if(tj(o))for(t0(e),o=e.input.charCodeAt(e.position),n++,e.lineIndent=0;32===o;)e.lineIndent++,o=e.input.charCodeAt(++e.position);else break}return -1!==r&&0!==n&&e.lineIndent<r&&tX(e,"deficient indentation"),n}function t2(e){var t,r=e.position;return!!((45===(t=e.input.charCodeAt(r))||46===t)&&t===e.input.charCodeAt(r+1)&&t===e.input.charCodeAt(r+2)&&(r+=3,0===(t=e.input.charCodeAt(r))||tR(t)))||!1}function t3(e,t){1===t?e.result+=" ":t>1&&(e.result+=e9("\n",t-1))}function t8(e,t){var r,n,o=e.tag,i=e.anchor,a=[],u=!1;if(-1!==e.firstTabInLine)return!1;for(null!==e.anchor&&(e.anchorMap[e.anchor]=a),n=e.input.charCodeAt(e.position);0!==n&&(-1!==e.firstTabInLine&&(e.position=e.firstTabInLine,tY(e,"tab characters must not be used in indentation")),45===n&&tR(e.input.charCodeAt(e.position+1)));){if(u=!0,e.position++,t1(e,!0,-1)&&e.lineIndent<=t){a.push(null),n=e.input.charCodeAt(e.position);continue}if(r=e.line,t5(e,t,3,!1,!0),a.push(e.result),t1(e,!0,-1),n=e.input.charCodeAt(e.position),(e.line===r||e.lineIndent>t)&&0!==n)tY(e,"bad indentation of a sequence entry");else if(e.lineIndent<t)break}return!!u&&(e.tag=o,e.anchor=i,e.kind="sequence",e.result=a,!0)}function t5(e,t,r,n,o){var i,a,u,s,l,c,p,d,f,h=1,m=!1,D=!1;if(null!==e.listener&&e.listener("open",e),e.tag=null,e.anchor=null,e.kind=null,e.result=null,i=a=u=4===r||3===r,n&&t1(e,!0,-1)&&(m=!0,e.lineIndent>t?h=1:e.lineIndent===t?h=0:e.lineIndent<t&&(h=-1)),1===h)for(;function(e){var t,r,n,o,i=!1,a=!1;if(33!==(o=e.input.charCodeAt(e.position)))return!1;if(null!==e.tag&&tY(e,"duplication of a tag property"),60===(o=e.input.charCodeAt(++e.position))?(i=!0,o=e.input.charCodeAt(++e.position)):33===o?(a=!0,r="!!",o=e.input.charCodeAt(++e.position)):r="!",t=e.position,i){do o=e.input.charCodeAt(++e.position);while(0!==o&&62!==o)e.position<e.length?(n=e.input.slice(t,e.position),o=e.input.charCodeAt(++e.position)):tY(e,"unexpected end of the stream within a verbatim tag")}else{for(;0!==o&&!tR(o);)33===o&&(a?tY(e,"tag suffix cannot contain exclamation marks"):(r=e.input.slice(t-1,e.position+1),tI.test(r)||tY(e,"named tag handle cannot contain such characters"),a=!0,t=e.position+1)),o=e.input.charCodeAt(++e.position);n=e.input.slice(t,e.position),tL.test(n)&&tY(e,"tag suffix cannot contain flow indicator characters")}n&&!tB.test(n)&&tY(e,"tag name cannot contain such characters: "+n);try{n=decodeURIComponent(n)}catch(t){tY(e,"tag name is malformed: "+n)}return i?e.tag=n:tO.call(e.tagMap,r)?e.tag=e.tagMap[r]+n:"!"===r?e.tag="!"+n:"!!"===r?e.tag="tag:yaml.org,2002:"+n:tY(e,'undeclared tag handle "'+r+'"'),!0}(e)||function(e){var t,r;if(38!==(r=e.input.charCodeAt(e.position)))return!1;for(null!==e.anchor&&tY(e,"duplication of an anchor property"),r=e.input.charCodeAt(++e.position),t=e.position;0!==r&&!tR(r)&&!tU(r);)r=e.input.charCodeAt(++e.position);return e.position===t&&tY(e,"name of an anchor node must contain at least one character"),e.anchor=e.input.slice(t,e.position),!0}(e);)t1(e,!0,-1)?(m=!0,u=i,e.lineIndent>t?h=1:e.lineIndent===t?h=0:e.lineIndent<t&&(h=-1)):u=!1;if(u&&(u=m||o),(1===h||4===r)&&(d=1===r||2===r?t:t+1,f=e.position-e.lineStart,1===h?u&&(t8(e,f)||function(e,t,r){var n,o,i,a,u,s,l,c=e.tag,p=e.anchor,d={},f=Object.create(null),h=null,m=null,D=null,g=!1,y=!1;if(-1!==e.firstTabInLine)return!1;for(null!==e.anchor&&(e.anchorMap[e.anchor]=d),l=e.input.charCodeAt(e.position);0!==l;){if(g||-1===e.firstTabInLine||(e.position=e.firstTabInLine,tY(e,"tab characters must not be used in indentation")),n=e.input.charCodeAt(e.position+1),i=e.line,(63===l||58===l)&&tR(n))63===l?(g&&(tZ(e,d,f,h,m,null,a,u,s),h=m=D=null),y=!0,g=!0,o=!0):g?(g=!1,o=!0):tY(e,"incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"),e.position+=1,l=n;else{if(a=e.line,u=e.lineStart,s=e.position,!t5(e,r,2,!1,!0))break;if(e.line===i){for(l=e.input.charCodeAt(e.position);tM(l);)l=e.input.charCodeAt(++e.position);if(58===l)tR(l=e.input.charCodeAt(++e.position))||tY(e,"a whitespace character is expected after the key-value separator within a block mapping"),g&&(tZ(e,d,f,h,m,null,a,u,s),h=m=D=null),y=!0,g=!1,o=!1,h=e.tag,m=e.result;else{if(!y)return e.tag=c,e.anchor=p,!0;tY(e,"can not read an implicit mapping pair; a colon is missed")}}else{if(!y)return e.tag=c,e.anchor=p,!0;tY(e,"can not read a block mapping entry; a multiline key may not be an implicit key")}}if((e.line===i||e.lineIndent>t)&&(g&&(a=e.line,u=e.lineStart,s=e.position),t5(e,t,4,!0,o)&&(g?m=e.result:D=e.result),g||(tZ(e,d,f,h,m,D,a,u,s),h=m=D=null),t1(e,!0,-1),l=e.input.charCodeAt(e.position)),(e.line===i||e.lineIndent>t)&&0!==l)tY(e,"bad indentation of a mapping entry");else if(e.lineIndent<t)break}return g&&tZ(e,d,f,h,m,null,a,u,s),y&&(e.tag=c,e.anchor=p,e.kind="mapping",e.result=d),y}(e,f,d))||function(e,t){var r,n,o,i,a,u,s,l,c,p,d,f,h=!0,m=e.tag,D=e.anchor,g=Object.create(null);if(91===(f=e.input.charCodeAt(e.position)))a=93,l=!1,i=[];else{if(123!==f)return!1;a=125,l=!0,i={}}for(null!==e.anchor&&(e.anchorMap[e.anchor]=i),f=e.input.charCodeAt(++e.position);0!==f;){if(t1(e,!0,t),(f=e.input.charCodeAt(e.position))===a)return e.position++,e.tag=m,e.anchor=D,e.kind=l?"mapping":"sequence",e.result=i,!0;h?44===f&&tY(e,"expected the node content, but found ','"):tY(e,"missed comma between flow collection entries"),p=c=d=null,u=s=!1,63===f&&tR(e.input.charCodeAt(e.position+1))&&(u=s=!0,e.position++,t1(e,!0,t)),r=e.line,n=e.lineStart,o=e.position,t5(e,t,1,!1,!0),p=e.tag,c=e.result,t1(e,!0,t),f=e.input.charCodeAt(e.position),(s||e.line===r)&&58===f&&(u=!0,f=e.input.charCodeAt(++e.position),t1(e,!0,t),t5(e,t,1,!1,!0),d=e.result),l?tZ(e,i,g,p,c,d,r,n,o):u?i.push(tZ(e,null,g,p,c,d,r,n,o)):i.push(c),t1(e,!0,t),44===(f=e.input.charCodeAt(e.position))?(h=!0,f=e.input.charCodeAt(++e.position)):h=!1}tY(e,"unexpected end of the stream within a flow collection")}(e,d)?D=!0:(a&&function(e,t){var r,n,o,i,a,u=1,s=!1,l=!1,c=t,p=0,d=!1;if(124===(a=e.input.charCodeAt(e.position)))o=!1;else{if(62!==a)return!1;o=!0}for(e.kind="scalar",e.result="";0!==a;)if(43===(a=e.input.charCodeAt(++e.position))||45===a)1===u?u=43===a?3:2:tY(e,"repeat of a chomping mode identifier");else if((i=48<=(r=a)&&r<=57?r-48:-1)>=0)0===i?tY(e,"bad explicit indentation width of a block scalar; it cannot be less than one"):l?tY(e,"repeat of an indentation width identifier"):(c=t+i-1,l=!0);else break;if(tM(a)){do a=e.input.charCodeAt(++e.position);while(tM(a))if(35===a)do a=e.input.charCodeAt(++e.position);while(!tj(a)&&0!==a)}for(;0!==a;){for(t0(e),e.lineIndent=0,a=e.input.charCodeAt(e.position);(!l||e.lineIndent<c)&&32===a;)e.lineIndent++,a=e.input.charCodeAt(++e.position);if(!l&&e.lineIndent>c&&(c=e.lineIndent),tj(a)){p++;continue}if(e.lineIndent<c){3===u?e.result+=e9("\n",s?1+p:p):1===u&&s&&(e.result+="\n");break}for(o?tM(a)?(d=!0,e.result+=e9("\n",s?1+p:p)):d?(d=!1,e.result+=e9("\n",p+1)):0===p?s&&(e.result+=" "):e.result+=e9("\n",p):e.result+=e9("\n",s?1+p:p),s=!0,l=!0,p=0,n=e.position;!tj(a)&&0!==a;)a=e.input.charCodeAt(++e.position);tK(e,n,e.position,!1)}return!0}(e,d)||function(e,t){var r,n,o;if(39!==(r=e.input.charCodeAt(e.position)))return!1;for(e.kind="scalar",e.result="",e.position++,n=o=e.position;0!==(r=e.input.charCodeAt(e.position));)if(39===r){if(tK(e,n,e.position,!0),39!==(r=e.input.charCodeAt(++e.position)))return!0;n=e.position,e.position++,o=e.position}else tj(r)?(tK(e,n,o,!0),t3(e,t1(e,!1,t)),n=o=e.position):e.position===e.lineStart&&t2(e)?tY(e,"unexpected end of the document within a single quoted scalar"):(e.position++,o=e.position);tY(e,"unexpected end of the stream within a single quoted scalar")}(e,d)||function(e,t){var r,n,o,i,a,u,s,l;if(34!==(u=e.input.charCodeAt(e.position)))return!1;for(e.kind="scalar",e.result="",e.position++,r=n=e.position;0!==(u=e.input.charCodeAt(e.position));)if(34===u)return tK(e,r,e.position,!0),e.position++,!0;else if(92===u){if(tK(e,r,e.position,!0),tj(u=e.input.charCodeAt(++e.position)))t1(e,!1,t);else if(u<256&&tz[u])e.result+=tV[u],e.position++;else if((a=120===(s=u)?2:117===s?4:8*(85===s))>0){for(o=a,i=0;o>0;o--)(a=function(e){var t;return 48<=e&&e<=57?e-48:97<=(t=32|e)&&t<=102?t-97+10:-1}(u=e.input.charCodeAt(++e.position)))>=0?i=(i<<4)+a:tY(e,"expected hexadecimal character");e.result+=(l=i)<=65535?String.fromCharCode(l):String.fromCharCode((l-65536>>10)+55296,(l-65536&1023)+56320),e.position++}else tY(e,"unknown escape sequence");r=n=e.position}else tj(u)?(tK(e,r,n,!0),t3(e,t1(e,!1,t)),r=n=e.position):e.position===e.lineStart&&t2(e)?tY(e,"unexpected end of the document within a double quoted scalar"):(e.position++,n=e.position);tY(e,"unexpected end of the stream within a double quoted scalar")}(e,d)?D=!0:!function(e){var t,r,n;if(42!==(n=e.input.charCodeAt(e.position)))return!1;for(n=e.input.charCodeAt(++e.position),t=e.position;0!==n&&!tR(n)&&!tU(n);)n=e.input.charCodeAt(++e.position);return e.position===t&&tY(e,"name of an alias node must contain at least one character"),r=e.input.slice(t,e.position),tO.call(e.anchorMap,r)||tY(e,'unidentified alias "'+r+'"'),e.result=e.anchorMap[r],t1(e,!0,-1),!0}(e)?function(e,t,r){var n,o,i,a,u,s,l,c,p=e.kind,d=e.result;if(tR(c=e.input.charCodeAt(e.position))||tU(c)||35===c||38===c||42===c||33===c||124===c||62===c||39===c||34===c||37===c||64===c||96===c||(63===c||45===c)&&(tR(n=e.input.charCodeAt(e.position+1))||r&&tU(n)))return!1;for(e.kind="scalar",e.result="",o=i=e.position,a=!1;0!==c;){if(58===c){if(tR(n=e.input.charCodeAt(e.position+1))||r&&tU(n))break}else if(35===c){if(tR(e.input.charCodeAt(e.position-1)))break}else if(e.position===e.lineStart&&t2(e)||r&&tU(c))break;else if(tj(c)){if(u=e.line,s=e.lineStart,l=e.lineIndent,t1(e,!1,-1),e.lineIndent>=t){a=!0,c=e.input.charCodeAt(e.position);continue}e.position=i,e.line=u,e.lineStart=s,e.lineIndent=l;break}a&&(tK(e,o,i,!1),t3(e,e.line-u),o=i=e.position,a=!1),tM(c)||(i=e.position+1),c=e.input.charCodeAt(++e.position)}return tK(e,o,i,!1),!!e.result||(e.kind=p,e.result=d,!1)}(e,d,1===r)&&(D=!0,null===e.tag&&(e.tag="?")):(D=!0,(null!==e.tag||null!==e.anchor)&&tY(e,"alias node should not have any properties")),null!==e.anchor&&(e.anchorMap[e.anchor]=e.result)):0===h&&(D=u&&t8(e,f))),null===e.tag)null!==e.anchor&&(e.anchorMap[e.anchor]=e.result);else if("?"===e.tag){for(null!==e.result&&"scalar"!==e.kind&&tY(e,'unacceptable node kind for !<?> tag; it should be "scalar", not "'+e.kind+'"'),s=0,l=e.implicitTypes.length;s<l;s+=1)if((p=e.implicitTypes[s]).resolve(e.result)){e.result=p.construct(e.result),e.tag=p.tag,null!==e.anchor&&(e.anchorMap[e.anchor]=e.result);break}}else if("!"!==e.tag){if(tO.call(e.typeMap[e.kind||"fallback"],e.tag))p=e.typeMap[e.kind||"fallback"][e.tag];else for(s=0,p=null,l=(c=e.typeMap.multi[e.kind||"fallback"]).length;s<l;s+=1)if(e.tag.slice(0,c[s].tag.length)===c[s].tag){p=c[s];break}p||tY(e,"unknown tag !<"+e.tag+">"),null!==e.result&&p.kind!==e.kind&&tY(e,"unacceptable node kind for !<"+e.tag+'> tag; it should be "'+p.kind+'", not "'+e.kind+'"'),p.resolve(e.result,e.tag)?(e.result=p.construct(e.result,e.tag),null!==e.anchor&&(e.anchorMap[e.anchor]=e.result)):tY(e,"cannot resolve a node with !<"+e.tag+"> explicit tag")}return null!==e.listener&&e.listener("close",e),null!==e.tag||null!==e.anchor||D}function t6(e,t){e=String(e),t=t||{},0!==e.length&&(10!==e.charCodeAt(e.length-1)&&13!==e.charCodeAt(e.length-1)&&(e+="\n"),65279===e.charCodeAt(0)&&(e=e.slice(1)));var r=new tW(e,t),n=e.indexOf("\0");for(-1!==n&&(r.position=n,tY(r,"null byte is not allowed in input")),r.input+="\0";32===r.input.charCodeAt(r.position);)r.lineIndent+=1,r.position+=1;for(;r.position<r.length-1;)!function(e){var t,r,n,o,i=e.position,a=!1;for(e.version=null,e.checkLineBreaks=e.legacy,e.tagMap=Object.create(null),e.anchorMap=Object.create(null);0!==(o=e.input.charCodeAt(e.position))&&(t1(e,!0,-1),o=e.input.charCodeAt(e.position),!(e.lineIndent>0)&&37===o);){for(a=!0,o=e.input.charCodeAt(++e.position),t=e.position;0!==o&&!tR(o);)o=e.input.charCodeAt(++e.position);for(r=e.input.slice(t,e.position),n=[],r.length<1&&tY(e,"directive name must not be less than one character in length");0!==o;){for(;tM(o);)o=e.input.charCodeAt(++e.position);if(35===o){do o=e.input.charCodeAt(++e.position);while(0!==o&&!tj(o))break}if(tj(o))break;for(t=e.position;0!==o&&!tR(o);)o=e.input.charCodeAt(++e.position);n.push(e.input.slice(t,e.position))}0!==o&&t0(e),tO.call(tJ,r)?tJ[r](e,r,n):tX(e,'unknown document directive "'+r+'"')}if(t1(e,!0,-1),0===e.lineIndent&&45===e.input.charCodeAt(e.position)&&45===e.input.charCodeAt(e.position+1)&&45===e.input.charCodeAt(e.position+2)?(e.position+=3,t1(e,!0,-1)):a&&tY(e,"directives end mark is expected"),t5(e,e.lineIndent-1,4,!1,!0),t1(e,!0,-1),e.checkLineBreaks&&tP.test(e.input.slice(i,e.position))&&tX(e,"non-ASCII line breaks are interpreted as content"),e.documents.push(e.result),e.position===e.lineStart&&t2(e)){46===e.input.charCodeAt(e.position)&&(e.position+=3,t1(e,!0,-1));return}e.position<e.length-1&&tY(e,"end of the stream or a document separator is expected")}(r);return r.documents}var t9=Object.prototype.toString,t4=Object.prototype.hasOwnProperty,t7={};t7[0]="\\0",t7[7]="\\a",t7[8]="\\b",t7[9]="\\t",t7[10]="\\n",t7[11]="\\v",t7[12]="\\f",t7[13]="\\r",t7[27]="\\e",t7[34]='\\"',t7[92]="\\\\",t7[133]="\\N",t7[160]="\\_",t7[8232]="\\L",t7[8233]="\\P";function re(e,t){return function(){throw Error("Function yaml."+e+" is removed in js-yaml 4. Use yaml."+t+" instead, which is now safe by default.")}}re("safeLoad","load"),re("safeLoadAll","loadAll"),re("safeDump","dump");var rt=function(e,t){var r=t6(e,t);if(0!==r.length){if(1===r.length)return r[0];throw new te("expected a single document in the stream, but found more")}},rr={},rn=rr&&rr.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(rr,"__esModule",{value:!0}),rr.NodeType=rr.TextNode=rr.Node=rr.valid=rr.CommentNode=rr.HTMLElement=rr.parse=void 0;let ro=rn(ee("9KN8L"));rr.CommentNode=ro.default;let ri=rn(ee("2ZZFK"));rr.HTMLElement=ri.default;let ra=rn(ee("9rIF8"));rr.Node=ra.default;let ru=rn(ee("h19Jg"));rr.TextNode=ru.default;let rs=rn(ee("gxROJ"));rr.NodeType=rs.default;let rl=rn(ee("oyh6k")),rc=rn(ee("biHCd"));function rp(e,t={}){return(0,rl.default)(e,t)}rr.valid=rc.default,rr.default=rp,rr.parse=rp,rp.parse=rl.default,rp.HTMLElement=ri.default,rp.CommentNode=ro.default,rp.valid=rc.default,rp.Node=ra.default,rp.TextNode=ru.default,rp.NodeType=rs.default;var rd={};Object.defineProperty(rd,"__esModule",{value:!0});var rf={};Object.defineProperty(rf,"__esModule",{value:!0});var rh={},rm=rh&&rh.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)a.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return a},rD=rh&&rh.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(rh,"__esModule",{value:!0});var rg={};Object.defineProperty(rg,"__esModule",{value:!0}),rg.DefaultBuilderOptions={version:"1.0",encoding:void 0,standalone:void 0,keepNullNodes:!1,keepNullAttributes:!1,ignoreConverters:!1,skipWhitespaceOnlyText:!0,convert:{att:"@",ins:"?",text:"#",cdata:"$",comment:"!"},defaultNamespace:{ele:void 0,att:void 0},namespaceAlias:{html:"http://www.w3.org/1999/xhtml",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg",xlink:"http://www.w3.org/1999/xlink"},invalidCharReplacement:void 0,parser:void 0},rg.XMLBuilderOptionKeys=new Set(Object.keys(rg.DefaultBuilderOptions)),rg.DefaultXMLBuilderCBOptions={format:"xml",wellFormed:!1,prettyPrint:!1,indent:" ",newline:"\n",offset:0,width:0,allowEmptyTags:!1,spaceBeforeSlash:!1,keepNullNodes:!1,keepNullAttributes:!1,ignoreConverters:!1,convert:{att:"@",ins:"?",text:"#",cdata:"$",comment:"!"},defaultNamespace:{ele:void 0,att:void 0},namespaceAlias:{html:"http://www.w3.org/1999/xhtml",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg",xlink:"http://www.w3.org/1999/xlink"}};var ry=ee("jDPAV"),r_={};Object.defineProperty(r_,"__esModule",{value:!0});var rv={},rb=rv&&rv.__extends||(d=function(e,t){return(d=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}d(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(rv,"__esModule",{value:!0});var ry=ee("jDPAV"),rx={},rE=rx&&rx.__extends||(f=function(e,t){return(f=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}f(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),rw=rx&&rx.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(rx,"__esModule",{value:!0});var ry=ee("jDPAV"),rC=ee("bql4T"),rA={},rN=rA&&rA.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},rT=rA&&rA.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)a.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return a},rS=rA&&rA.__spread||function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(rT(arguments[t]));return e};Object.defineProperty(rA,"__esModule",{value:!0});var rC=ee("bql4T"),rF={};Object.defineProperty(rF,"__esModule",{value:!0}),rF.LocalNameSet=function(){function e(){this._items={},this._nullItems={}}return e.prototype.set=function(e,t){null===e?this._nullItems[t]=!0:(this._items[e]||(this._items[e]={}),this._items[e][t]=!0)},e.prototype.has=function(e,t){return null===e?!0===this._nullItems[t]:!!this._items[e]&&!0===this._items[e][t]},e}();var rO={};Object.defineProperty(rO,"__esModule",{value:!0}),rO.NamespacePrefixMap=function(){function e(){this._items={},this._nullItems=[]}return e.prototype.copy=function(){var t=new e;for(var r in this._items)t._items[r]=this._items[r].slice(0);return t._nullItems=this._nullItems.slice(0),t},e.prototype.get=function(e,t){var r=null===t?this._nullItems:this._items[t]||null;if(null===r)return null;for(var n=null,o=0;o<r.length&&(n=r[o])!==e;o++);return n},e.prototype.has=function(e,t){var r=null===t?this._nullItems:this._items[t]||null;return null!==r&&-1!==r.indexOf(e)},e.prototype.hasPrefix=function(e){if(-1!==this._nullItems.indexOf(e))return!0;for(var t in this._items)if(-1!==this._items[t].indexOf(e))return!0;return!1},e.prototype.set=function(e,t){var r=null===t?this._nullItems:this._items[t]||null;null!==t&&null===r?this._items[t]=[e]:r.push(e)},e}();var rk=ee("b9DcM"),rP=ee("eOMTm"),rL={};Object.defineProperty(rL,"__esModule",{value:!0}),rL.nonEntityAmpersandRegex=/&(?![A-Za-z]+;|#\d+;)/g,rA.BaseWriter=function(){function e(e){this.level=0,this._builderOptions=e}return e.prototype.declaration=function(e,t,r){},e.prototype.docType=function(e,t,r){},e.prototype.comment=function(e){},e.prototype.text=function(e){},e.prototype.instruction=function(e,t){},e.prototype.cdata=function(e){},e.prototype.openTagBegin=function(e){},e.prototype.openTagEnd=function(e,t,r){},e.prototype.closeTag=function(e){},e.prototype.attributes=function(e){var t,r;try{for(var n=rN(e),o=n.next();!o.done;o=n.next()){var i=o.value;this.attribute(null===i[1]?i[2]:i[1]+":"+i[2],i[3])}}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}},e.prototype.attribute=function(e,t){},e.prototype.beginElement=function(e){},e.prototype.endElement=function(e){},e.prototype.serializeNode=function(e,t){var r=void 0!==e._nodeDocument&&e._nodeDocument._hasNamespaces;if(this.level=0,this.currentNode=e,r){var n=new rO.NamespacePrefixMap;n.set("xml",rk.namespace.XML),this._serializeNodeNS(e,null,n,{value:1},t)}else this._serializeNode(e,t)},e.prototype._serializeNodeNS=function(e,t,r,n,o){switch(this.currentNode=e,e.nodeType){case rC.NodeType.Element:this._serializeElementNS(e,t,r,n,o);break;case rC.NodeType.Document:this._serializeDocumentNS(e,t,r,n,o);break;case rC.NodeType.Comment:this._serializeComment(e,o);break;case rC.NodeType.Text:this._serializeText(e,o);break;case rC.NodeType.DocumentFragment:this._serializeDocumentFragmentNS(e,t,r,n,o);break;case rC.NodeType.DocumentType:this._serializeDocumentType(e,o);break;case rC.NodeType.ProcessingInstruction:this._serializeProcessingInstruction(e,o);break;case rC.NodeType.CData:this._serializeCData(e,o);break;default:throw Error("Unknown node type: "+e.nodeType)}},e.prototype._serializeNode=function(e,t){switch(this.currentNode=e,e.nodeType){case rC.NodeType.Element:this._serializeElement(e,t);break;case rC.NodeType.Document:this._serializeDocument(e,t);break;case rC.NodeType.Comment:this._serializeComment(e,t);break;case rC.NodeType.Text:this._serializeText(e,t);break;case rC.NodeType.DocumentFragment:this._serializeDocumentFragment(e,t);break;case rC.NodeType.DocumentType:this._serializeDocumentType(e,t);break;case rC.NodeType.ProcessingInstruction:this._serializeProcessingInstruction(e,t);break;case rC.NodeType.CData:this._serializeCData(e,t);break;default:throw Error("Unknown node type: "+e.nodeType)}},e.prototype._serializeElementNS=function(t,r,n,o,i){var a,u,s=[];if(i&&(-1!==t.localName.indexOf(":")||!rP.xml_isName(t.localName)))throw Error("Node local name contains invalid characters (well-formed required).");var l="",c=!1,p=!1,d=n.copy(),f={},h=this._recordNamespaceInformation(t,d,f),m=r,D=t.namespaceURI;if(m===D)null!==h&&(p=!0),l=D===rk.namespace.XML?"xml:"+t.localName:t.localName,this.beginElement(l),this.openTagBegin(l);else{var g=t.prefix,y=null;if((null!==g||D!==h)&&(y=d.get(g,D)),"xmlns"===g){if(i)throw Error("An element cannot have the 'xmlns' prefix (well-formed required).");y=g}null!==y?(l=y+":"+t.localName,null!==h&&h!==rk.namespace.XML&&(m=h||null),this.beginElement(l),this.openTagBegin(l)):null!==g?(g in f&&(g=this._generatePrefix(D,d,o)),d.set(g,D),l+=g+":"+t.localName,this.beginElement(l),this.openTagBegin(l),s.push([null,"xmlns",g,this._serializeAttributeValue(D,i)]),null!==h&&(m=h||null)):null===h||null!==h&&h!==D?(p=!0,l+=t.localName,m=D,this.beginElement(l),this.openTagBegin(l),s.push([null,null,"xmlns",this._serializeAttributeValue(D,i)])):(l+=t.localName,m=D,this.beginElement(l),this.openTagBegin(l))}s.push.apply(s,rS(this._serializeAttributesNS(t,d,o,f,p,i))),this.attributes(s);var _=D===rk.namespace.HTML;if(_&&0===t.childNodes.length&&e._VoidElementNames.has(t.localName)?(this.openTagEnd(l,!0,!0),this.endElement(l),c=!0):_||0!==t.childNodes.length?this.openTagEnd(l,!1,!1):(this.openTagEnd(l,!0,!1),this.endElement(l),c=!0),!c){if(_&&"template"===t.localName);else try{for(var v=rN(t.childNodes),b=v.next();!b.done;b=v.next()){var x=b.value;this.level++,this._serializeNodeNS(x,m,d,o,i),this.level--}}catch(e){a={error:e}}finally{try{b&&!b.done&&(u=v.return)&&u.call(v)}finally{if(a)throw a.error}}this.closeTag(l),this.endElement(l)}},e.prototype._serializeElement=function(e,t){if(t&&(-1!==e.localName.indexOf(":")||!rP.xml_isName(e.localName)))throw Error("Node local name contains invalid characters (well-formed required).");var r,n,o=!1,i=e.localName;this.beginElement(i),this.openTagBegin(i);var a=this._serializeAttributes(e,t);if(this.attributes(a),e.hasChildNodes()?this.openTagEnd(i,!1,!1):(this.openTagEnd(i,!0,!1),this.endElement(i),o=!0),!o){try{for(var u=rN(e._children),s=u.next();!s.done;s=u.next()){var l=s.value;this.level++,this._serializeNode(l,t),this.level--}}catch(e){r={error:e}}finally{try{s&&!s.done&&(n=u.return)&&n.call(u)}finally{if(r)throw r.error}}this.closeTag(i),this.endElement(i)}},e.prototype._serializeDocumentNS=function(e,t,r,n,o){var i,a;if(o&&null===e.documentElement)throw Error("Missing document element (well-formed required).");try{for(var u=rN(e.childNodes),s=u.next();!s.done;s=u.next()){var l=s.value;this._serializeNodeNS(l,t,r,n,o)}}catch(e){i={error:e}}finally{try{s&&!s.done&&(a=u.return)&&a.call(u)}finally{if(i)throw i.error}}},e.prototype._serializeDocument=function(e,t){var r,n;if(t&&null===e.documentElement)throw Error("Missing document element (well-formed required).");try{for(var o=rN(e._children),i=o.next();!i.done;i=o.next()){var a=i.value;this._serializeNode(a,t)}}catch(e){r={error:e}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}},e.prototype._serializeComment=function(e,t){if(t&&(!rP.xml_isLegalChar(e.data)||-1!==e.data.indexOf("--")||e.data.endsWith("-")))throw Error("Comment data contains invalid characters (well-formed required).");this.comment(e.data)},e.prototype._serializeText=function(e,t){if(t&&!rP.xml_isLegalChar(e.data))throw Error("Text data contains invalid characters (well-formed required).");var r=e.data.replace(rL.nonEntityAmpersandRegex,"&").replace(/</g,"<").replace(/>/g,">");this.text(r)},e.prototype._serializeDocumentFragmentNS=function(e,t,r,n,o){var i,a;try{for(var u=rN(e.childNodes),s=u.next();!s.done;s=u.next()){var l=s.value;this._serializeNodeNS(l,t,r,n,o)}}catch(e){i={error:e}}finally{try{s&&!s.done&&(a=u.return)&&a.call(u)}finally{if(i)throw i.error}}},e.prototype._serializeDocumentFragment=function(e,t){var r,n;try{for(var o=rN(e._children),i=o.next();!i.done;i=o.next()){var a=i.value;this._serializeNode(a,t)}}catch(e){r={error:e}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}},e.prototype._serializeDocumentType=function(e,t){if(t&&!rP.xml_isPubidChar(e.publicId))throw Error("DocType public identifier does not match PubidChar construct (well-formed required).");if(t&&(!rP.xml_isLegalChar(e.systemId)||-1!==e.systemId.indexOf('"')&&-1!==e.systemId.indexOf("'")))throw Error("DocType system identifier contains invalid characters (well-formed required).");this.docType(e.name,e.publicId,e.systemId)},e.prototype._serializeProcessingInstruction=function(e,t){if(t&&(-1!==e.target.indexOf(":")||/^xml$/i.test(e.target)))throw Error("Processing instruction target contains invalid characters (well-formed required).");if(t&&(!rP.xml_isLegalChar(e.data)||-1!==e.data.indexOf("?>")))throw Error("Processing instruction data contains invalid characters (well-formed required).");this.instruction(e.target,e.data)},e.prototype._serializeCData=function(e,t){if(t&&-1!==e.data.indexOf("]]>"))throw Error("CDATA contains invalid characters (well-formed required).");this.cdata(e.data)},e.prototype._serializeAttributesNS=function(e,t,r,n,o,i){var a,u,s=[],l=i?new rF.LocalNameSet:void 0;try{for(var c=rN(e.attributes),p=c.next();!p.done;p=c.next()){var d=p.value;if(!i&&!o&&null===d.namespaceURI){s.push([null,null,d.localName,this._serializeAttributeValue(d.value,i)]);continue}if(i&&l&&l.has(d.namespaceURI,d.localName))throw Error("Element contains duplicate attributes (well-formed required).");i&&l&&l.set(d.namespaceURI,d.localName);var f=d.namespaceURI,h=null;if(null!==f)if(h=t.get(d.prefix,f),f===rk.namespace.XMLNS){if(d.value===rk.namespace.XML||null===d.prefix&&o||null!==d.prefix&&(!(d.localName in n)||n[d.localName]!==d.value)&&t.has(d.localName,d.value))continue;if(i&&d.value===rk.namespace.XMLNS)throw Error("XMLNS namespace is reserved (well-formed required).");if(i&&""===d.value)throw Error("Namespace prefix declarations cannot be used to undeclare a namespace (well-formed required).");"xmlns"===d.prefix&&(h="xmlns")}else null===h&&(h=null!==d.prefix&&(!t.hasPrefix(d.prefix)||t.has(d.prefix,f))?d.prefix:this._generatePrefix(f,t,r),s.push([null,"xmlns",h,this._serializeAttributeValue(f,i)]));if(i&&(-1!==d.localName.indexOf(":")||!rP.xml_isName(d.localName)||"xmlns"===d.localName&&null===f))throw Error("Attribute local name contains invalid characters (well-formed required).");s.push([f,h,d.localName,this._serializeAttributeValue(d.value,i)])}}catch(e){a={error:e}}finally{try{p&&!p.done&&(u=c.return)&&u.call(c)}finally{if(a)throw a.error}}return s},e.prototype._serializeAttributes=function(e,t){var r,n,o=[],i=t?{}:void 0;try{for(var a=rN(e.attributes),u=a.next();!u.done;u=a.next()){var s=u.value;if(!t){o.push([null,null,s.localName,this._serializeAttributeValue(s.value,t)]);continue}if(t&&i&&s.localName in i)throw Error("Element contains duplicate attributes (well-formed required).");if(t&&i&&(i[s.localName]=!0),t&&(-1!==s.localName.indexOf(":")||!rP.xml_isName(s.localName)))throw Error("Attribute local name contains invalid characters (well-formed required).");o.push([null,null,s.localName,this._serializeAttributeValue(s.value,t)])}}catch(e){r={error:e}}finally{try{u&&!u.done&&(n=a.return)&&n.call(a)}finally{if(r)throw r.error}}return o},e.prototype._recordNamespaceInformation=function(e,t,r){var n,o,i=null;try{for(var a=rN(e.attributes),u=a.next();!u.done;u=a.next()){var s=u.value,l=s.namespaceURI,c=s.prefix;if(l===rk.namespace.XMLNS)if(null===c){i=s.value;continue}else{var p=s.localName,d=s.value;if(d===rk.namespace.XML||(""===d&&(d=null),t.has(p,d)))continue;t.set(p,d),r[p]=d||""}}}catch(e){n={error:e}}finally{try{u&&!u.done&&(o=a.return)&&o.call(a)}finally{if(n)throw n.error}}return i},e.prototype._generatePrefix=function(e,t,r){var n="ns"+r.value.toString();return r.value++,t.set(n,e),n},e.prototype._serializeAttributeValue=function(e,t){if(t&&null!==e&&!rP.xml_isLegalChar(e))throw Error("Invalid characters in attribute value.");return null===e?"":e.replace(rL.nonEntityAmpersandRegex,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""")},e._VoidElementNames=new Set(["area","base","basefont","bgsound","br","col","embed","frame","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"]),e}(),rx.ObjectWriter=function(e){function t(t,r){var n=e.call(this,t)||this;return n._writerOptions=ry.applyDefaults(r,{format:"object",wellFormed:!1,group:!1,verbose:!1}),n}return rE(t,e),t.prototype.serialize=function(e){return this._currentList=[],this._currentIndex=0,this._listRegister=[this._currentList],this.serializeNode(e,this._writerOptions.wellFormed),this._process(this._currentList,this._writerOptions)},t.prototype._process=function(e,t){if(0===e.length)return{};for(var r,n,o,i,a,u,s,l={},c=!1,p=0,d=0,f=0,h=0,m=0;m<e.length;m++){var D=e[m],g=Object.keys(D)[0];switch(g){case"@":continue;case"#":p++;break;case"!":d++;break;case"?":f++;break;case"$":h++;break;default:l[g]?c=!0:l[g]=!0}}var y=this._getAttrKey(),_=this._getNodeKey(rC.NodeType.Text),v=this._getNodeKey(rC.NodeType.Comment),b=this._getNodeKey(rC.NodeType.ProcessingInstruction),x=this._getNodeKey(rC.NodeType.CData);if(1===p&&1===e.length&&ry.isString(e[0]["#"]))return e[0]["#"];if(c){for(var E={},m=0;m<e.length;m++){var D=e[m],g=Object.keys(D)[0];if("@"===g){var w=D["@"],C=Object.keys(w);1===C.length?E[y+C[0]]=w[C[0]]:E[y]=D["@"]}}for(var A=[],m=0;m<e.length;m++){var D=e[m],g=Object.keys(D)[0];switch(g){case"@":break;case"#":A.push(((r={})[_]=D["#"],r));break;case"!":A.push(((n={})[v]=D["!"],n));break;case"?":A.push(((o={})[b]=D["?"],o));break;case"$":A.push(((i={})[x]=D.$,i));break;default:var N=D;if(0!==N[g].length&&ry.isArray(N[g][0])){for(var T=[],S=N[g],F=0;F<S.length;F++)T.push(this._process(S[F],t));A.push(((a={})[g]=T,a))}else t.verbose?A.push(((u={})[g]=[this._process(N[g],t)],u)):A.push(((s={})[g]=this._process(N[g],t),s))}}return E[_]=A,E}for(var O=1,k=1,P=1,L=1,E={},m=0;m<e.length;m++){var D=e[m],g=Object.keys(D)[0];switch(g){case"@":var w=D["@"],C=Object.keys(w);if(t.group&&1!==C.length)E[y]=w;else for(var I in w)E[y+I]=w[I];break;case"#":O=this._processSpecItem(D["#"],E,t.group,_,p,O);break;case"!":k=this._processSpecItem(D["!"],E,t.group,v,d,k);break;case"?":P=this._processSpecItem(D["?"],E,t.group,b,f,P);break;case"$":L=this._processSpecItem(D.$,E,t.group,x,h,L);break;default:var N=D;if(0!==N[g].length&&ry.isArray(N[g][0])){for(var T=[],S=N[g],B=0;B<S.length;B++)T.push(this._process(S[B],t));E[g]=T}else t.verbose?E[g]=[this._process(N[g],t)]:E[g]=this._process(N[g],t)}}return E},t.prototype._processSpecItem=function(e,t,r,n,o,i){var a,u;if(!r&&ry.isArray(e)&&o+e.length>2)try{for(var s=rw(e),l=s.next();!l.done;l=s.next()){var c=l.value,p=n+(i++).toString();t[p]=c}}catch(e){a={error:e}}finally{try{l&&!l.done&&(u=s.return)&&u.call(s)}finally{if(a)throw a.error}}else{var p=o>1?n+(i++).toString():n;t[p]=e}return i},t.prototype.beginElement=function(e){var t,r,n=[];if(0===this._currentList.length)this._currentList.push(((t={})[e]=n,t));else{var o=this._currentList[this._currentList.length-1];this._isElementNode(o,e)?0!==o[e].length&&ry.isArray(o[e][0])?o[e].push(n):o[e]=[o[e],n]:this._currentList.push(((r={})[e]=n,r))}this._currentIndex++,this._listRegister.length>this._currentIndex?this._listRegister[this._currentIndex]=n:this._listRegister.push(n),this._currentList=n},t.prototype.endElement=function(){this._currentList=this._listRegister[--this._currentIndex]},t.prototype.attribute=function(e,t){var r,n;if(0===this._currentList.length)this._currentList.push({"@":((r={})[e]=t,r)});else{var o=this._currentList[this._currentList.length-1];this._isAttrNode(o)?o["@"][e]=t:this._currentList.push({"@":((n={})[e]=t,n)})}},t.prototype.comment=function(e){if(0===this._currentList.length)this._currentList.push({"!":e});else{var t=this._currentList[this._currentList.length-1];this._isCommentNode(t)?ry.isArray(t["!"])?t["!"].push(e):t["!"]=[t["!"],e]:this._currentList.push({"!":e})}},t.prototype.text=function(e){if(0===this._currentList.length)this._currentList.push({"#":e});else{var t=this._currentList[this._currentList.length-1];this._isTextNode(t)?ry.isArray(t["#"])?t["#"].push(e):t["#"]=[t["#"],e]:this._currentList.push({"#":e})}},t.prototype.instruction=function(e,t){var r=""===t?e:e+" "+t;if(0===this._currentList.length)this._currentList.push({"?":r});else{var n=this._currentList[this._currentList.length-1];this._isInstructionNode(n)?ry.isArray(n["?"])?n["?"].push(r):n["?"]=[n["?"],r]:this._currentList.push({"?":r})}},t.prototype.cdata=function(e){if(0===this._currentList.length)this._currentList.push({$:e});else{var t=this._currentList[this._currentList.length-1];this._isCDATANode(t)?ry.isArray(t.$)?t.$.push(e):t.$=[t.$,e]:this._currentList.push({$:e})}},t.prototype._isAttrNode=function(e){return"@"in e},t.prototype._isTextNode=function(e){return"#"in e},t.prototype._isCommentNode=function(e){return"!"in e},t.prototype._isInstructionNode=function(e){return"?"in e},t.prototype._isCDATANode=function(e){return"$"in e},t.prototype._isElementNode=function(e,t){return t in e},t.prototype._getAttrKey=function(){return this._builderOptions.convert.att},t.prototype._getNodeKey=function(e){switch(e){case rC.NodeType.Comment:return this._builderOptions.convert.comment;case rC.NodeType.Text:return this._builderOptions.convert.text;case rC.NodeType.ProcessingInstruction:return this._builderOptions.convert.ins;case rC.NodeType.CData:return this._builderOptions.convert.cdata;default:throw Error("Invalid node type.")}},t}(rA.BaseWriter),rv.MapWriter=function(e){function t(t,r){var n=e.call(this,t)||this;return n._writerOptions=ry.applyDefaults(r,{format:"map",wellFormed:!1,group:!1,verbose:!1}),n}return rb(t,e),t.prototype.serialize=function(e){var t=ry.applyDefaults(this._writerOptions,{format:"object",wellFormed:!1,verbose:!1}),r=new rx.ObjectWriter(this._builderOptions,t).serialize(e);return this._convertObject(r)},t.prototype._convertObject=function(e){if(ry.isArray(e)){for(var t=0;t<e.length;t++)e[t]=this._convertObject(e[t]);return e}if(!ry.isObject(e))return e;var r=new Map;for(var n in e)r.set(n,this._convertObject(e[n]));return r},t}(rA.BaseWriter),r_.MapWriter=rv.MapWriter;var rI={},rB=rI&&rI.__extends||(h=function(e,t){return(h=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}h(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(rI,"__esModule",{value:!0});var ry=ee("jDPAV"),rC=ee("bql4T"),rq=ee("cnpfV");rI.XMLWriter=function(e){function t(t,r){var n=e.call(this,t)||this;return n._indentation={},n._lengthToLastNewline=0,n._writerOptions=ry.applyDefaults(r,{wellFormed:!1,headless:!1,prettyPrint:!1,indent:" ",newline:"\n",offset:0,width:0,allowEmptyTags:!1,indentTextOnlyNodes:!1,spaceBeforeSlash:!1}),n}return rB(t,e),t.prototype.serialize=function(e){return this._refs={suppressPretty:!1,emptyNode:!1,markup:""},e.nodeType!==rC.NodeType.Document||this._writerOptions.headless||this.declaration(this._builderOptions.version,this._builderOptions.encoding,this._builderOptions.standalone),this.serializeNode(e,this._writerOptions.wellFormed),this._writerOptions.prettyPrint&&this._refs.markup.slice(-this._writerOptions.newline.length)===this._writerOptions.newline&&(this._refs.markup=this._refs.markup.slice(0,-this._writerOptions.newline.length)),this._refs.markup},t.prototype.declaration=function(e,t,r){this._beginLine(),this._refs.markup+='<?xml version="'+e+'"',void 0!==t&&(this._refs.markup+=' encoding="'+t+'"'),void 0!==r&&(this._refs.markup+=' standalone="'+(r?"yes":"no")+'"'),this._refs.markup+="?>",this._endLine()},t.prototype.docType=function(e,t,r){this._beginLine(),t&&r?this._refs.markup+="<!DOCTYPE "+e+' PUBLIC "'+t+'" "'+r+'">':t?this._refs.markup+="<!DOCTYPE "+e+' PUBLIC "'+t+'">':r?this._refs.markup+="<!DOCTYPE "+e+' SYSTEM "'+r+'">':this._refs.markup+="<!DOCTYPE "+e+">",this._endLine()},t.prototype.openTagBegin=function(e){this._beginLine(),this._refs.markup+="<"+e},t.prototype.openTagEnd=function(e,t,r){if(this._refs.suppressPretty=!1,this._refs.emptyNode=!1,this._writerOptions.prettyPrint&&!t&&!r){for(var n=!0,o=!0,i=this.currentNode.firstChild,a=0,u=0;i;){if(rq.Guard.isExclusiveTextNode(i))u++;else if(rq.Guard.isCDATASectionNode(i))a++;else{n=!1,o=!1;break}""!==i.data&&(o=!1),i=i.nextSibling}this._refs.suppressPretty=!this._writerOptions.indentTextOnlyNodes&&n&&(a<=1&&0===u||0===a),this._refs.emptyNode=o}(r||t||this._refs.emptyNode)&&this._writerOptions.allowEmptyTags?this._refs.markup+="></"+e+">":this._refs.markup+=r?" />":t||this._refs.emptyNode?this._writerOptions.spaceBeforeSlash?" />":"/>":">",this._endLine()},t.prototype.closeTag=function(e){this._refs.emptyNode||(this._beginLine(),this._refs.markup+="</"+e+">"),this._refs.suppressPretty=!1,this._refs.emptyNode=!1,this._endLine()},t.prototype.attribute=function(e,t){var r=e+'="'+t+'"';this._writerOptions.prettyPrint&&this._writerOptions.width>0&&this._refs.markup.length-this._lengthToLastNewline+1+r.length>this._writerOptions.width?(this._endLine(),this._beginLine(),this._refs.markup+=this._indent(1)+r):this._refs.markup+=" "+r},t.prototype.text=function(e){""!==e&&(this._beginLine(),this._refs.markup+=e,this._endLine())},t.prototype.cdata=function(e){""!==e&&(this._beginLine(),this._refs.markup+="<![CDATA["+e+"]]>",this._endLine())},t.prototype.comment=function(e){this._beginLine(),this._refs.markup+="\x3c!--"+e+"--\x3e",this._endLine()},t.prototype.instruction=function(e,t){this._beginLine(),this._refs.markup+="<?"+(""===t?e:e+" "+t)+"?>",this._endLine()},t.prototype._beginLine=function(){this._writerOptions.prettyPrint&&!this._refs.suppressPretty&&(this._refs.markup+=this._indent(this._writerOptions.offset+this.level))},t.prototype._endLine=function(){this._writerOptions.prettyPrint&&!this._refs.suppressPretty&&(this._refs.markup+=this._writerOptions.newline,this._lengthToLastNewline=this._refs.markup.length)},t.prototype._indent=function(e){if(e<=0)return"";if(void 0!==this._indentation[e])return this._indentation[e];var t=this._writerOptions.indent.repeat(e);return this._indentation[e]=t,t},t}(rA.BaseWriter),r_.XMLWriter=rI.XMLWriter,r_.ObjectWriter=rx.ObjectWriter;var rj={},rM=rj&&rj.__extends||(m=function(e,t){return(m=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}m(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),rR=rj&&rj.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(rj,"__esModule",{value:!0});var ry=ee("jDPAV");rj.JSONWriter=function(e){function t(t,r){var n=e.call(this,t)||this;return n._writerOptions=ry.applyDefaults(r,{wellFormed:!1,prettyPrint:!1,indent:" ",newline:"\n",offset:0,group:!1,verbose:!1}),n}return rM(t,e),t.prototype.serialize=function(e){var t=ry.applyDefaults(this._writerOptions,{format:"object",wellFormed:!1}),r=new rx.ObjectWriter(this._builderOptions,t).serialize(e);return this._beginLine(this._writerOptions,0)+this._convertObject(r,this._writerOptions)},t.prototype._convertObject=function(e,t,r){var n,o,i=this;void 0===r&&(r=0);var a="",u=this._isLeafNode(e);if(ry.isArray(e)){a+="[";var s=e.length,l=0;try{for(var c=rR(e),p=c.next();!p.done;p=c.next()){var d=p.value;a+=this._endLine(t,r+1)+this._beginLine(t,r+1)+this._convertObject(d,t,r+1),l<s-1&&(a+=","),l++}}catch(e){n={error:e}}finally{try{p&&!p.done&&(o=c.return)&&o.call(c)}finally{if(n)throw n.error}}a+=this._endLine(t,r)+this._beginLine(t,r),a+="]"}else if(ry.isObject(e)){a+="{";var f=ry.objectLength(e),h=0;ry.forEachObject(e,function(e,n){u&&t.prettyPrint?a+=" ":a+=i._endLine(t,r+1)+i._beginLine(t,r+1),a+=i._key(e),t.prettyPrint&&(a+=" "),a+=i._convertObject(n,t,r+1),h<f-1&&(a+=","),h++},this),u&&t.prettyPrint?a+=" ":a+=this._endLine(t,r)+this._beginLine(t,r),a+="}"}else a+=this._val(e);return a},t.prototype._beginLine=function(e,t){if(e.prettyPrint){var r=e.offset+t+1;if(r>0)return Array(r).join(e.indent)}return""},t.prototype._endLine=function(e,t){return e.prettyPrint?e.newline:""},t.prototype._key=function(e){return'"'+e+'":'},t.prototype._val=function(e){return JSON.stringify(e)},t.prototype._isLeafNode=function(e){return 1>=this._descendantCount(e)},t.prototype._descendantCount=function(e,t){var r=this;return void 0===t&&(t=0),ry.isArray(e)?ry.forEachArray(e,function(e){return t+=r._descendantCount(e,t)},this):ry.isObject(e)?ry.forEachObject(e,function(e,n){return t+=r._descendantCount(n,t)},this):t++,t},t}(rA.BaseWriter),r_.JSONWriter=rj.JSONWriter;var rU={},rG=rU&&rU.__extends||(D=function(e,t){return(D=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}D(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),rz=rU&&rU.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(rU,"__esModule",{value:!0});var ry=ee("jDPAV");rU.YAMLWriter=function(e){function t(t,r){var n=e.call(this,t)||this;if(n._writerOptions=ry.applyDefaults(r,{wellFormed:!1,indent:" ",newline:"\n",offset:0,group:!1,verbose:!1}),n._writerOptions.indent.length<2)throw Error("YAML indententation string must be at least two characters long.");if(n._writerOptions.offset<0)throw Error("YAML offset should be zero or a positive number.");return n}return rG(t,e),t.prototype.serialize=function(e){var t=ry.applyDefaults(this._writerOptions,{format:"object",wellFormed:!1}),r=new rx.ObjectWriter(this._builderOptions,t).serialize(e),n=this._beginLine(this._writerOptions,0)+"---"+this._endLine(this._writerOptions)+this._convertObject(r,this._writerOptions,0);return n.slice(-this._writerOptions.newline.length)===this._writerOptions.newline&&(n=n.slice(0,-this._writerOptions.newline.length)),n},t.prototype._convertObject=function(e,t,r,n){var o,i,a=this;void 0===n&&(n=!1);var u="";if(ry.isArray(e))try{for(var s=rz(e),l=s.next();!l.done;l=s.next()){var c=l.value;u+=this._beginLine(t,r,!0),ry.isObject(c)?ry.isEmpty(c)?u+='""'+this._endLine(t):u+=this._convertObject(c,t,r,!0):u+=this._val(c)+this._endLine(t)}}catch(e){o={error:e}}finally{try{l&&!l.done&&(i=s.return)&&i.call(s)}finally{if(o)throw o.error}}else ry.forEachObject(e,function(e,o){n?(u+=a._key(e),n=!1):u+=a._beginLine(t,r)+a._key(e),ry.isObject(o)?ry.isEmpty(o)?u+=' ""'+a._endLine(t):u+=a._endLine(t)+a._convertObject(o,t,r+1):u+=" "+a._val(o)+a._endLine(t)},this);return u},t.prototype._beginLine=function(e,t,r){void 0===r&&(r=!1);var n=Array(e.offset+t+1).join(e.indent);return r?n.substr(0,n.length-2)+"-"+n.substr(-1,1):n},t.prototype._endLine=function(e){return e.newline},t.prototype._key=function(e){return'"'+e+'":'},t.prototype._val=function(e){return JSON.stringify(e)},t}(rA.BaseWriter),r_.YAMLWriter=rU.YAMLWriter;var rC=ee("bql4T"),rq=ee("cnpfV"),rP=ee("eOMTm"),rV={};Object.defineProperty(rV,"__esModule",{value:!0});var rH={};Object.defineProperty(rH,"__esModule",{value:!0});var rW={};Object.defineProperty(rW,"__esModule",{value:!0});var ry=ee("jDPAV");rW.AbortController=ee("84pNM").AbortControllerImpl,rW.AbortSignal=ee("2BzzY").AbortSignalImpl;var r$=ee("hUGgy");rW.AbstractRange=r$.AbstractRangeImpl,rW.Attr=ee("lrfke").AttrImpl,rW.CDATASection=ee("fpzS2").CDATASectionImpl;var rY=ee("48JgK");rW.CharacterData=rY.CharacterDataImpl;var rX={};Object.defineProperty(rX,"__esModule",{value:!0});var rq=ee("cnpfV"),rP=ee("eOMTm");rX.ChildNodeImpl=function(){function e(){}return e.prototype.before=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=rq.Cast.asNode(this),n=r._parent;if(null!==n){for(var o=r._previousSibling,i=!0;i&&o;){i=!1;for(var a=0;a<e.length;a++)if(e[a]===o){o=o._previousSibling,i=!0;break}}var u=rP.parentNode_convertNodesIntoANode(e,r._nodeDocument);o=null===o?n._firstChild:o._nextSibling,rP.mutation_preInsert(u,n,o)}},e.prototype.after=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=rq.Cast.asNode(this),n=r._parent;if(n){for(var o=r._nextSibling,i=!0;i&&o;){i=!1;for(var a=0;a<e.length;a++)if(e[a]===o){o=o._nextSibling,i=!0;break}}var u=rP.parentNode_convertNodesIntoANode(e,r._nodeDocument);rP.mutation_preInsert(u,n,o)}},e.prototype.replaceWith=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=rq.Cast.asNode(this),n=r._parent;if(n){for(var o=r._nextSibling,i=!0;i&&o;){i=!1;for(var a=0;a<e.length;a++)if(e[a]===o){o=o._nextSibling,i=!0;break}}var u=rP.parentNode_convertNodesIntoANode(e,r._nodeDocument);r._parent===n?rP.mutation_replace(r,u,n):rP.mutation_preInsert(u,n,o)}},e.prototype.remove=function(){var e=rq.Cast.asNode(this),t=e._parent;t&&rP.mutation_remove(e,t)},e}(),rW.Comment=ee("7vMWy").CommentImpl,rW.CustomEvent=ee("aBgn9").CustomEventImpl;var rJ=ee("ESCTi");rW.DocumentFragment=rJ.DocumentFragmentImpl;var rK=ee("arxVV");rW.Document=rK.DocumentImpl;var rQ={};Object.defineProperty(rQ,"__esModule",{value:!0}),rQ.DocumentOrShadowRootImpl=function(){};var rZ=ee("FrTv7");rW.DocumentType=rZ.DocumentTypeImpl;var r0=ee("lrpO3");rW.dom=r0.dom,rW.DOMImplementation=ee("85Z9s").DOMImplementationImpl,rW.DOMTokenList=ee("8Piwh").DOMTokenListImpl;var r1=ee("iW3sp");rW.Element=r1.ElementImpl,rW.Event=ee("df3k2").EventImpl,rW.EventTarget=ee("ezaCF").EventTargetImpl,rW.HTMLCollection=ee("egFCd").HTMLCollectionImpl;var r2={},r3=r2&&r2.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(r2,"__esModule",{value:!0});var r0=ee("lrpO3"),rq=ee("cnpfV"),rk=ee("b9DcM");r2.MutationObserverImpl=function(){function e(e){this._nodeList=[],this._recordQueue=[],this._callback=e;var t=r0.dom.window;rk.set.append(t._mutationObservers,this)}return e.prototype.observe=function(e,t){if((void 0!==(t=t||{childList:!1,subtree:!1}).attributeOldValue||void 0!==t.attributeFilter)&&void 0===t.attributes&&(t.attributes=!0),void 0!==t.characterDataOldValue&&void 0===t.characterData&&(t.characterData=!0),!t.childList&&!t.attributes&&!t.characterData||t.attributeOldValue&&!t.attributes||void 0!==t.attributeFilter&&!t.attributes||t.characterDataOldValue&&!t.characterData)throw TypeError();var r,n,o=!1,i=t,a=function(e){var t,r;if(e.observer===u){o=!0;try{for(var n=(t=void 0,r3(u._nodeList)),a=n.next();!a.done;a=n.next()){var s=a.value;rk.list.remove(s._registeredObserverList,function(t){return rq.Guard.isTransientRegisteredObserver(t)&&t.source===e})}}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}e.options=i}},u=this;try{for(var s=r3(e._registeredObserverList),l=s.next();!l.done;l=s.next()){var c=l.value;a(c)}}catch(e){r={error:e}}finally{try{l&&!l.done&&(n=s.return)&&n.call(s)}finally{if(r)throw r.error}}o||(e._registeredObserverList.push({observer:this,options:t}),this._nodeList.push(e))},e.prototype.disconnect=function(){var e,t,r=this;try{for(var n=r3(this._nodeList),o=n.next();!o.done;o=n.next()){var i=o.value;rk.list.remove(i._registeredObserverList,function(e){return e.observer===r})}}catch(t){e={error:t}}finally{try{o&&!o.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}this._recordQueue=[]},e.prototype.takeRecords=function(){var e=this._recordQueue;return this._recordQueue=[],e},e}(),rW.MutationObserver=r2.MutationObserverImpl,rW.MutationRecord=ee("1qAZS").MutationRecordImpl,rW.NamedNodeMap=ee("kpMEY").NamedNodeMapImpl,rW.NodeFilter=ee("90TyW").NodeFilterImpl,rW.Node=ee("kuLmk").NodeImpl,rW.NodeIterator=ee("9Y4Fd").NodeIteratorImpl,rW.NodeList=ee("is6DP").NodeListImpl,rW.NodeListStatic=ee("fgilR").NodeListStaticImpl;var r8={};Object.defineProperty(r8,"__esModule",{value:!0});var rq=ee("cnpfV");r8.NonDocumentTypeChildNodeImpl=function(){function e(){}return Object.defineProperty(e.prototype,"previousElementSibling",{get:function(){for(var e=rq.Cast.asNode(this)._previousSibling;e;)if(rq.Guard.isElementNode(e))return e;else e=e._previousSibling;return null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"nextElementSibling",{get:function(){for(var e=rq.Cast.asNode(this)._nextSibling;e;)if(rq.Guard.isElementNode(e))return e;else e=e._nextSibling;return null},enumerable:!0,configurable:!0}),e}();var r5={};Object.defineProperty(r5,"__esModule",{value:!0});var rq=ee("cnpfV"),rP=ee("eOMTm");r5.NonElementParentNodeImpl=function(){function e(){}return e.prototype.getElementById=function(e){for(var t=rP.tree_getFirstDescendantNode(rq.Cast.asNode(this),!1,!1,function(e){return rq.Guard.isElementNode(e)});null!==t;){if(t._uniqueIdentifier===e)return t;t=rP.tree_getNextDescendantNode(rq.Cast.asNode(this),t,!1,!1,function(e){return rq.Guard.isElementNode(e)})}return null},e}();var r6={},r9=r6&&r6.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(r6,"__esModule",{value:!0});var rq=ee("cnpfV"),rP=ee("eOMTm");r6.ParentNodeImpl=function(){function e(){}return Object.defineProperty(e.prototype,"children",{get:function(){return rP.create_htmlCollection(rq.Cast.asNode(this))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"firstElementChild",{get:function(){for(var e=rq.Cast.asNode(this)._firstChild;e;)if(rq.Guard.isElementNode(e))return e;else e=e._nextSibling;return null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"lastElementChild",{get:function(){for(var e=rq.Cast.asNode(this)._lastChild;e;)if(rq.Guard.isElementNode(e))return e;else e=e._previousSibling;return null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"childElementCount",{get:function(){var e,t,r=0;try{for(var n=r9(rq.Cast.asNode(this)._children),o=n.next();!o.done;o=n.next()){var i=o.value;rq.Guard.isElementNode(i)&&r++}}catch(t){e={error:t}}finally{try{o&&!o.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}return r},enumerable:!0,configurable:!0}),e.prototype.prepend=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=rq.Cast.asNode(this),n=rP.parentNode_convertNodesIntoANode(e,r._nodeDocument);rP.mutation_preInsert(n,r,r._firstChild)},e.prototype.append=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=rq.Cast.asNode(this),n=rP.parentNode_convertNodesIntoANode(e,r._nodeDocument);rP.mutation_append(n,r)},e.prototype.querySelector=function(e){var t=rq.Cast.asNode(this),r=rP.selectors_scopeMatchASelectorsString(e,t);return 0===r.length?null:r[0]},e.prototype.querySelectorAll=function(e){var t=rq.Cast.asNode(this),r=rP.selectors_scopeMatchASelectorsString(e,t);return rP.create_nodeListStatic(t,r)},e}(),rW.ProcessingInstruction=ee("b9Cnk").ProcessingInstructionImpl,rW.Range=ee("15kuI").RangeImpl;var r4=ee("chTgy");rW.ShadowRoot=r4.ShadowRootImpl;var r7={};Object.defineProperty(r7,"__esModule",{value:!0});var rP=ee("eOMTm");r7.SlotableImpl=function(){function e(){}return Object.defineProperty(e.prototype,"_name",{get:function(){return this.__name||""},set:function(e){this.__name=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_assignedSlot",{get:function(){return this.__assignedSlot||null},set:function(e){this.__assignedSlot=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"assignedSlot",{get:function(){return rP.shadowTree_findASlot(this,!0)},enumerable:!0,configurable:!0}),e}();var ne={},nt=ne&&ne.__extends||(g=function(e,t){return(g=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}g(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(ne,"__esModule",{value:!0});var r$=ee("hUGgy"),nr=ee("bnDGi"),rq=ee("cnpfV");ne.StaticRangeImpl=function(e){function t(t){var r=e.call(this)||this;if(rq.Guard.isDocumentTypeNode(t.startContainer)||rq.Guard.isAttrNode(t.startContainer)||rq.Guard.isDocumentTypeNode(t.endContainer)||rq.Guard.isAttrNode(t.endContainer))throw new nr.InvalidNodeTypeError;return r._start=[t.startContainer,t.startOffset],r._end=[t.endContainer,t.endOffset],r}return nt(t,e),t}(r$.AbstractRangeImpl),rW.StaticRange=ne.StaticRangeImpl;var nn=ee("6O4nx");rW.Text=nn.TextImpl,rW.Traverser=ee("bodkg").TraverserImpl,rW.TreeWalker=ee("8i5wm").TreeWalkerImpl,rW.Window=ee("aUIwt").WindowImpl,rW.XMLDocument=ee("lHHKe").XMLDocumentImpl,ry.applyMixin(r1.ElementImpl,rX.ChildNodeImpl),ry.applyMixin(rY.CharacterDataImpl,rX.ChildNodeImpl),ry.applyMixin(rZ.DocumentTypeImpl,rX.ChildNodeImpl),ry.applyMixin(rK.DocumentImpl,rQ.DocumentOrShadowRootImpl),ry.applyMixin(r4.ShadowRootImpl,rQ.DocumentOrShadowRootImpl),ry.applyMixin(r1.ElementImpl,r8.NonDocumentTypeChildNodeImpl),ry.applyMixin(rY.CharacterDataImpl,r8.NonDocumentTypeChildNodeImpl),ry.applyMixin(rK.DocumentImpl,r5.NonElementParentNodeImpl),ry.applyMixin(rJ.DocumentFragmentImpl,r5.NonElementParentNodeImpl),ry.applyMixin(rK.DocumentImpl,r6.ParentNodeImpl),ry.applyMixin(rJ.DocumentFragmentImpl,r6.ParentNodeImpl),ry.applyMixin(r1.ElementImpl,r6.ParentNodeImpl),ry.applyMixin(nn.TextImpl,r7.SlotableImpl),ry.applyMixin(r1.ElementImpl,r7.SlotableImpl),rW.dom.setFeatures(!0),rH.DOMImplementation=rW.DOMImplementation;var no={};Object.defineProperty(no,"__esModule",{value:!0});var ni={};Object.defineProperty(ni,"__esModule",{value:!0});var rP=ee("eOMTm"),na={},nu=na&&na.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)a.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return a},ns=na&&na.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(na,"__esModule",{value:!0});var nl={},nc=nl&&nl.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)a.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return a};Object.defineProperty(nl,"__esModule",{value:!0});var np={};Object.defineProperty(np,"__esModule",{value:!0}),(y=np.TokenType||(np.TokenType={}))[y.EOF=0]="EOF",y[y.Declaration=1]="Declaration",y[y.DocType=2]="DocType",y[y.Element=3]="Element",y[y.Text=4]="Text",y[y.CDATA=5]="CDATA",y[y.PI=6]="PI",y[y.Comment=7]="Comment",y[y.ClosingTag=8]="ClosingTag",nl.XMLStringLexer=function(){function e(e,t){this._options={skipWhitespaceOnlyText:!1},this.err={line:-1,col:-1,index:-1,str:""},this._str=e,this._index=0,this._length=e.length,t&&(this._options.skipWhitespaceOnlyText=t.skipWhitespaceOnlyText||!1)}return e.prototype.nextToken=function(){if(this.eof())return{type:np.TokenType.EOF};var t=this.skipIfStartsWith("<")?this.openBracket():this.text();return this._options.skipWhitespaceOnlyText&&t.type===np.TokenType.Text&&e.isWhiteSpaceToken(t)&&(t=this.nextToken()),t},e.prototype.openBracket=function(){if(this.skipIfStartsWith("?"))if(!this.skipIfStartsWith("xml"))return this.pi();else if(e.isSpace(this._str[this._index]))return this.declaration();else return this.seek(-3),this.pi();if(this.skipIfStartsWith("!"))if(this.skipIfStartsWith("--"))return this.comment();else{if(this.skipIfStartsWith("[CDATA["))return this.cdata();if(this.skipIfStartsWith("DOCTYPE"))return this.doctype();this.throwError("Invalid '!' in opening tag.")}else if(this.skipIfStartsWith("/"))return this.closeTag();else return this.openTag()},e.prototype.declaration=function(){for(var e="",t="",r="";!this.eof();){if(this.skipSpace(),this.skipIfStartsWith("?>"))return{type:np.TokenType.Declaration,version:e,encoding:t,standalone:r};var n=nc(this.attribute(),2),o=n[0],i=n[1];"version"===o?e=i:"encoding"===o?t=i:"standalone"===o?r=i:this.throwError("Invalid attribute name: "+o)}this.throwError("Missing declaration end symbol `?>`")},e.prototype.doctype=function(){var e="",t="";this.skipSpace();var r=this.takeUntil2("[",">",!0);return this.skipSpace(),this.skipIfStartsWith("PUBLIC")?(e=this.quotedString(),t=this.quotedString()):this.skipIfStartsWith("SYSTEM")&&(t=this.quotedString()),this.skipSpace(),this.skipIfStartsWith("[")&&(this.skipUntil("]"),this.skipIfStartsWith("]")||this.throwError("Missing end bracket of DTD internal subset")),this.skipSpace(),this.skipIfStartsWith(">")||this.throwError("Missing doctype end symbol `>`"),{type:np.TokenType.DocType,name:r,pubId:e,sysId:t}},e.prototype.pi=function(){var e=this.takeUntilStartsWith("?>",!0);if(this.eof()&&this.throwError("Missing processing instruction end symbol `?>`"),this.skipSpace(),this.skipIfStartsWith("?>"))return{type:np.TokenType.PI,target:e,data:""};var t=this.takeUntilStartsWith("?>");return this.eof()&&this.throwError("Missing processing instruction end symbol `?>`"),this.seek(2),{type:np.TokenType.PI,target:e,data:t}},e.prototype.text=function(){var e=this.takeUntil("<");return{type:np.TokenType.Text,data:e}},e.prototype.comment=function(){var e=this.takeUntilStartsWith("--\x3e");return this.eof()&&this.throwError("Missing comment end symbol `--\x3e`"),this.seek(3),{type:np.TokenType.Comment,data:e}},e.prototype.cdata=function(){var e=this.takeUntilStartsWith("]]>");return this.eof()&&this.throwError("Missing CDATA end symbol `]>`"),this.seek(3),{type:np.TokenType.CDATA,data:e}},e.prototype.openTag=function(){this.skipSpace();var e=this.takeUntil2(">","/",!0);if(this.skipSpace(),this.skipIfStartsWith(">"))return{type:np.TokenType.Element,name:e,attributes:[],selfClosing:!1};if(this.skipIfStartsWith("/>"))return{type:np.TokenType.Element,name:e,attributes:[],selfClosing:!0};for(var t=[];!this.eof();){if(this.skipSpace(),this.skipIfStartsWith(">"))return{type:np.TokenType.Element,name:e,attributes:t,selfClosing:!1};if(this.skipIfStartsWith("/>"))return{type:np.TokenType.Element,name:e,attributes:t,selfClosing:!0};var r=this.attribute();t.push(r)}this.throwError("Missing opening element tag end symbol `>`")},e.prototype.closeTag=function(){this.skipSpace();var e=this.takeUntil(">",!0);return this.skipSpace(),this.skipIfStartsWith(">")||this.throwError("Missing closing element tag end symbol `>`"),{type:np.TokenType.ClosingTag,name:e}},e.prototype.attribute=function(){this.skipSpace();var e=this.takeUntil("=",!0);return this.skipSpace(),this.skipIfStartsWith("=")||this.throwError("Missing equals sign before attribute value"),[e,this.quotedString()]},e.prototype.quotedString=function(){this.skipSpace();var t=this.take(1);e.isQuote(t)||this.throwError("Missing start quote character before quoted value");var r=this.takeUntil(t);return this.skipIfStartsWith(t)||this.throwError("Missing end quote character after quoted value"),r},e.prototype.eof=function(){return this._index>=this._length},e.prototype.skipIfStartsWith=function(e){var t=e.length;if(1===t)if(this._str[this._index]===e)return this._index++,!0;else return!1;for(var r=0;r<t;r++)if(this._str[this._index+r]!==e[r])return!1;return this._index+=t,!0},e.prototype.seek=function(e){this._index+=e,this._index<0&&(this._index=0),this._index>this._length&&(this._index=this._length)},e.prototype.skipSpace=function(){for(;!this.eof()&&e.isSpace(this._str[this._index]);)this._index++},e.prototype.take=function(e){if(1===e)return this._str[this._index++];var t=this._index;return this.seek(e),this._str.slice(t,this._index)},e.prototype.takeUntil=function(t,r){void 0===r&&(r=!1);for(var n=this._index;this._index<this._length;){var o=this._str[this._index];if(o===t||r&&e.isSpace(o))break;this._index++}return this._str.slice(n,this._index)},e.prototype.takeUntil2=function(t,r,n){void 0===n&&(n=!1);for(var o=this._index;this._index<this._length;){var i=this._str[this._index];if(i===t||i===r||n&&e.isSpace(i))break;this._index++}return this._str.slice(o,this._index)},e.prototype.takeUntilStartsWith=function(t,r){void 0===r&&(r=!1);for(var n=this._index,o=t.length;this._index<this._length;){for(var i=!0,a=0;a<o;a++){var u=this._str[this._index+a],s=t[a];if(r&&e.isSpace(u))return this._str.slice(n,this._index);if(u!==s){this._index++,i=!1;break}}if(i)return this._str.slice(n,this._index)}return this._index=this._length,this._str.slice(n)},e.prototype.skipUntil=function(e){for(;this._index<this._length;)if(this._str[this._index]!==e)this._index++;else break},e.isWhiteSpaceToken=function(e){for(var t=e.data,r=0;r<t.length;r++){var n=t[r];if(" "!==n&&"\n"!==n&&"\r"!==n&&" "!==n&&"\f"!==n)return!1}return!0},e.isSpace=function(e){return" "===e||"\n"===e||"\r"===e||" "===e},e.isQuote=function(e){return'"'===e||"'"===e},e.prototype.throwError=function(e){for(var t=/\r\n|\r|\n/g,r=null,n=0,o=0,i=this._str.length;null!==(r=t.exec(this._str))&&null!==r;)if(n++,r.index<this._index&&(o=t.lastIndex),r.index>this._index){i=r.index;break}throw this.err={line:n,col:this._index-o,index:this._index,str:this._str.substring(o,i)},Error(e+"\nIndex: "+this.err.index+"\nLn: "+this.err.line+", Col: "+this.err.col+"\nInput: "+this.err.str)},e.prototype[Symbol.iterator]=function(){return this._index=0,{next:(function(){var e=this.nextToken();return e.type===np.TokenType.EOF?{done:!0,value:null}:{done:!1,value:e}}).bind(this)}},e}();var rk=ee("b9DcM"),rP=ee("eOMTm");na.XMLParserImpl=function(){function e(){}return e.prototype.parse=function(e){for(var t,r,n,o,i=new nl.XMLStringLexer(e,{skipWhitespaceOnlyText:!0}),a=rP.create_document(),u=a,s=i.nextToken();s.type!==np.TokenType.EOF;){switch(s.type){case np.TokenType.Declaration:var l=s;if("1.0"!==l.version)throw Error("Invalid xml version: "+l.version);break;case np.TokenType.DocType:var c=s;if(!rP.xml_isPubidChar(c.pubId))throw Error("DocType public identifier does not match PubidChar construct.");if(!rP.xml_isLegalChar(c.sysId)||-1!==c.sysId.indexOf('"')&&-1!==c.sysId.indexOf("'"))throw Error("DocType system identifier contains invalid characters.");u.appendChild(a.implementation.createDocumentType(c.name,c.pubId,c.sysId));break;case np.TokenType.CDATA:var p=s;if(!rP.xml_isLegalChar(p.data)||-1!==p.data.indexOf("]]>"))throw Error("CDATA contains invalid characters.");u.appendChild(a.createCDATASection(p.data));break;case np.TokenType.Comment:var d=s;if(!rP.xml_isLegalChar(d.data)||-1!==d.data.indexOf("--")||d.data.endsWith("-"))throw Error("Comment data contains invalid characters.");u.appendChild(a.createComment(d.data));break;case np.TokenType.PI:var f=s;if(-1!==f.target.indexOf(":")||/^xml$/i.test(f.target))throw Error("Processing instruction target contains invalid characters.");if(!rP.xml_isLegalChar(f.data)||-1!==f.data.indexOf("?>"))throw Error("Processing instruction data contains invalid characters.");u.appendChild(a.createProcessingInstruction(f.target,f.data));break;case np.TokenType.Text:var h=s;if(!rP.xml_isLegalChar(h.data))throw Error("Text data contains invalid characters.");u.appendChild(a.createTextNode(this._decodeText(h.data)));break;case np.TokenType.Element:var m=s,D=nu(rP.namespace_extractQName(m.name),2),g=D[0],y=D[1];if(-1!==y.indexOf(":")||!rP.xml_isName(y))throw Error("Node local name contains invalid characters.");if("xmlns"===g)throw Error("An element cannot have the 'xmlns' prefix.");var _=u.lookupNamespaceURI(g),v={};try{for(var b=(t=void 0,ns(m.attributes)),x=b.next();!x.done;x=b.next()){var E=nu(x.value,2),w=E[0],C=E[1];if("xmlns"===w)_=C;else{var A=nu(rP.namespace_extractQName(w),2),N=A[0],T=A[1];"xmlns"===N&&(T===g&&(_=C),v[T]=C)}}}catch(e){t={error:e}}finally{try{x&&!x.done&&(r=b.return)&&r.call(b)}finally{if(t)throw t.error}}var S=null!==_?a.createElementNS(_,m.name):a.createElement(m.name);u.appendChild(S);var F=new rF.LocalNameSet;try{for(var O=(n=void 0,ns(m.attributes)),k=O.next();!k.done;k=O.next()){var P=nu(k.value,2),w=P[0],C=P[1],L=nu(rP.namespace_extractQName(w),2),N=L[0],T=L[1],I=null;if("xmlns"===N||null===N&&"xmlns"===T?I=rk.namespace.XMLNS:(I=S.lookupNamespaceURI(N),null!==I&&S.isDefaultNamespace(I)?I=null:null===I&&null!==N&&(I=v[N]||null)),F.has(I,T))throw Error("Element contains duplicate attributes.");if(F.set(I,T),I===rk.namespace.XMLNS&&C===rk.namespace.XMLNS)throw Error("XMLNS namespace is reserved.");if(-1!==T.indexOf(":")||!rP.xml_isName(T))throw Error("Attribute local name contains invalid characters.");if("xmlns"===N&&""===C)throw Error("Empty XML namespace is not allowed.");null!==I?S.setAttributeNS(I,w,this._decodeAttributeValue(C)):S.setAttribute(w,this._decodeAttributeValue(C))}}catch(e){n={error:e}}finally{try{k&&!k.done&&(o=O.return)&&o.call(O)}finally{if(n)throw n.error}}m.selfClosing||(u=S);break;case np.TokenType.ClosingTag:if(s.name!==u.nodeName)throw Error("Closing tag name does not match opening tag name.");u._parent&&(u=u._parent)}s=i.nextToken()}return a},e.prototype._decodeText=function(e){return null==e?e:e.replace(/</g,"<").replace(/>/g,">").replace(/&/g,"&")},e.prototype._decodeAttributeValue=function(e){return null==e?e:e.replace(/</g,"<").replace(/>/g,">").replace(/&/g,"&")},e}(),ni.DOMParserImpl=function(){function e(){}return e.prototype.parseFromString=function(e,t){if("text/html"===t)throw Error("HTML parser not implemented.");try{var r=new na.XMLParserImpl().parse(e);return r._contentType=t,r}catch(e){var n="http://www.mozilla.org/newlayout/xml/parsererror.xml",r=rP.create_xmlDocument(),o=r.createElementNS(n,"parsererror"),i=r.createElementNS(n,"error");return i.setAttribute("message",e.message),o.appendChild(i),r.appendChild(o),r}},e}(),no.DOMParser=ni.DOMParserImpl,rH.DOMParser=no.DOMParser;var nd={};Object.defineProperty(nd,"__esModule",{value:!0});var nf={},nh=nf&&nf.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(nf,"__esModule",{value:!0});var rC=ee("bql4T"),nr=ee("bnDGi"),rk=ee("b9DcM"),rP=ee("eOMTm");nf.XMLSerializerImpl=function(){function e(){}return e.prototype.serializeToString=function(e){return this._xmlSerialization(e,!1)},e.prototype._xmlSerialization=function(e,t){if(void 0===e._nodeDocument||e._nodeDocument._hasNamespaces){var r=new rO.NamespacePrefixMap;r.set("xml",rk.namespace.XML);try{return this._serializeNodeNS(e,null,r,{value:1},t)}catch(e){throw new nr.InvalidStateError}}try{return this._serializeNode(e,t)}catch(e){throw new nr.InvalidStateError}},e.prototype._serializeNodeNS=function(e,t,r,n,o){switch(e.nodeType){case rC.NodeType.Element:return this._serializeElementNS(e,t,r,n,o);case rC.NodeType.Document:return this._serializeDocumentNS(e,t,r,n,o);case rC.NodeType.Comment:return this._serializeComment(e,o);case rC.NodeType.Text:return this._serializeText(e,o);case rC.NodeType.DocumentFragment:return this._serializeDocumentFragmentNS(e,t,r,n,o);case rC.NodeType.DocumentType:return this._serializeDocumentType(e,o);case rC.NodeType.ProcessingInstruction:return this._serializeProcessingInstruction(e,o);case rC.NodeType.CData:return this._serializeCData(e,o);default:throw Error("Unknown node type: "+e.nodeType)}},e.prototype._serializeNode=function(e,t){switch(e.nodeType){case rC.NodeType.Element:return this._serializeElement(e,t);case rC.NodeType.Document:return this._serializeDocument(e,t);case rC.NodeType.Comment:return this._serializeComment(e,t);case rC.NodeType.Text:return this._serializeText(e,t);case rC.NodeType.DocumentFragment:return this._serializeDocumentFragment(e,t);case rC.NodeType.DocumentType:return this._serializeDocumentType(e,t);case rC.NodeType.ProcessingInstruction:return this._serializeProcessingInstruction(e,t);case rC.NodeType.CData:return this._serializeCData(e,t);default:throw Error("Unknown node type: "+e.nodeType)}},e.prototype._serializeElementNS=function(t,r,n,o,i){if(i&&(-1!==t.localName.indexOf(":")||!rP.xml_isName(t.localName)))throw Error("Node local name contains invalid characters (well-formed required).");var a,u,s="<",l="",c=!1,p=!1,d=n.copy(),f={},h=this._recordNamespaceInformation(t,d,f),m=r,D=t.namespaceURI;if(m===D)null!==h&&(p=!0),s+=l=D===rk.namespace.XML?"xml:"+t.localName:t.localName;else{var g=t.prefix,y=null;if((null!==g||D!==h)&&(y=d.get(g,D)),"xmlns"===g){if(i)throw Error("An element cannot have the 'xmlns' prefix (well-formed required).");y=g}null!==y?(l=y+":"+t.localName,null!==h&&h!==rk.namespace.XML&&(m=h||null),s+=l):null!==g?(g in f&&(g=this._generatePrefix(D,d,o)),d.set(g,D),l+=g+":"+t.localName,s+=l,s+=" xmlns:"+g+'="'+this._serializeAttributeValue(D,i)+'"',null!==h&&(m=h||null)):null===h||null!==h&&h!==D?(p=!0,l+=t.localName,m=D,s+=l,s+=' xmlns="'+this._serializeAttributeValue(D,i)+'"'):(l+=t.localName,m=D,s+=l)}s+=this._serializeAttributesNS(t,d,o,f,p,i);var _=D===rk.namespace.HTML;if(_&&0===t.childNodes.length&&e._VoidElementNames.has(t.localName)?(s+=" /",c=!0):_||0!==t.childNodes.length||(s+="/",c=!0),s+=">",c)return s;if(_&&"template"===t.localName);else try{for(var v=nh(t._children||t.childNodes),b=v.next();!b.done;b=v.next()){var x=b.value;s+=this._serializeNodeNS(x,m,d,o,i)}}catch(e){a={error:e}}finally{try{b&&!b.done&&(u=v.return)&&u.call(v)}finally{if(a)throw a.error}}return s+("</"+l+">")},e.prototype._serializeDocumentNS=function(e,t,r,n,o){if(o&&null===e.documentElement)throw Error("Missing document element (well-formed required).");var i,a,u="";try{for(var s=nh(e._children||e.childNodes),l=s.next();!l.done;l=s.next()){var c=l.value;u+=this._serializeNodeNS(c,t,r,n,o)}}catch(e){i={error:e}}finally{try{l&&!l.done&&(a=s.return)&&a.call(s)}finally{if(i)throw i.error}}return u},e.prototype._serializeComment=function(e,t){if(t&&(!rP.xml_isLegalChar(e.data)||-1!==e.data.indexOf("--")||e.data.endsWith("-")))throw Error("Comment data contains invalid characters (well-formed required).");return"\x3c!--"+e.data+"--\x3e"},e.prototype._serializeText=function(e,t){if(t&&!rP.xml_isLegalChar(e.data))throw Error("Text data contains invalid characters (well-formed required).");for(var r="",n=0;n<e.data.length;n++){var o=e.data[n];"&"===o?r+="&":"<"===o?r+="<":">"===o?r+=">":r+=o}return r},e.prototype._serializeDocumentFragmentNS=function(e,t,r,n,o){var i,a,u="";try{for(var s=nh(e._children||e.childNodes),l=s.next();!l.done;l=s.next()){var c=l.value;u+=this._serializeNodeNS(c,t,r,n,o)}}catch(e){i={error:e}}finally{try{l&&!l.done&&(a=s.return)&&a.call(s)}finally{if(i)throw i.error}}return u},e.prototype._serializeDocumentType=function(e,t){if(t&&!rP.xml_isPubidChar(e.publicId))throw Error("DocType public identifier does not match PubidChar construct (well-formed required).");if(t&&(!rP.xml_isLegalChar(e.systemId)||-1!==e.systemId.indexOf('"')&&-1!==e.systemId.indexOf("'")))throw Error("DocType system identifier contains invalid characters (well-formed required).");return e.publicId&&e.systemId?"<!DOCTYPE "+e.name+' PUBLIC "'+e.publicId+'" "'+e.systemId+'">':e.publicId?"<!DOCTYPE "+e.name+' PUBLIC "'+e.publicId+'">':e.systemId?"<!DOCTYPE "+e.name+' SYSTEM "'+e.systemId+'">':"<!DOCTYPE "+e.name+">"},e.prototype._serializeProcessingInstruction=function(e,t){if(t&&(-1!==e.target.indexOf(":")||/^xml$/i.test(e.target)))throw Error("Processing instruction target contains invalid characters (well-formed required).");if(t&&(!rP.xml_isLegalChar(e.data)||-1!==e.data.indexOf("?>")))throw Error("Processing instruction data contains invalid characters (well-formed required).");return"<?"+(""===e.data?e.target:e.target+" "+e.data)+"?>"},e.prototype._serializeCData=function(e,t){if(t&&-1!==e.data.indexOf("]]>"))throw Error("CDATA contains invalid characters (well-formed required).");return"<![CDATA["+e.data+"]]>"},e.prototype._serializeAttributesNS=function(e,t,r,n,o,i){var a,u,s="",l=i?new rF.LocalNameSet:void 0;try{for(var c=nh(e.attributes),p=c.next();!p.done;p=c.next()){var d=p.value;if(!o&&!i&&null===d.namespaceURI){s+=" "+d.localName+'="'+this._serializeAttributeValue(d.value,i)+'"';continue}if(i&&l&&l.has(d.namespaceURI,d.localName))throw Error("Element contains duplicate attributes (well-formed required).");i&&l&&l.set(d.namespaceURI,d.localName);var f=d.namespaceURI,h=null;if(null!==f)if(h=t.get(d.prefix,f),f===rk.namespace.XMLNS){if(d.value===rk.namespace.XML||null===d.prefix&&o||null!==d.prefix&&(!(d.localName in n)||n[d.localName]!==d.value)&&t.has(d.localName,d.value))continue;if(i&&d.value===rk.namespace.XMLNS)throw Error("XMLNS namespace is reserved (well-formed required).");if(i&&""===d.value)throw Error("Namespace prefix declarations cannot be used to undeclare a namespace (well-formed required).");"xmlns"===d.prefix&&(h="xmlns")}else null===h&&(h=null!==d.prefix&&(!t.hasPrefix(d.prefix)||t.has(d.prefix,f))?d.prefix:this._generatePrefix(f,t,r),s+=" xmlns:"+h+'="'+this._serializeAttributeValue(f,i)+'"');if(s+=" ",null!==h&&(s+=h+":"),i&&(-1!==d.localName.indexOf(":")||!rP.xml_isName(d.localName)||"xmlns"===d.localName&&null===f))throw Error("Attribute local name contains invalid characters (well-formed required).");s+=d.localName+'="'+this._serializeAttributeValue(d.value,i)+'"'}}catch(e){a={error:e}}finally{try{p&&!p.done&&(u=c.return)&&u.call(c)}finally{if(a)throw a.error}}return s},e.prototype._recordNamespaceInformation=function(e,t,r){var n,o,i=null;try{for(var a=nh(e.attributes),u=a.next();!u.done;u=a.next()){var s=u.value,l=s.namespaceURI,c=s.prefix;if(l===rk.namespace.XMLNS)if(null===c){i=s.value;continue}else{var p=s.localName,d=s.value;if(d===rk.namespace.XML||(""===d&&(d=null),t.has(p,d)))continue;t.set(p,d),r[p]=d||""}}}catch(e){n={error:e}}finally{try{u&&!u.done&&(o=a.return)&&o.call(a)}finally{if(n)throw n.error}}return i},e.prototype._generatePrefix=function(e,t,r){var n="ns"+r.value;return r.value++,t.set(n,e),n},e.prototype._serializeAttributeValue=function(e,t){if(t&&null!==e&&!rP.xml_isLegalChar(e))throw Error("Invalid characters in attribute value.");if(null===e)return"";for(var r="",n=0;n<e.length;n++){var o=e[n];'"'===o?r+=""":"&"===o?r+="&":"<"===o?r+="<":">"===o?r+=">":r+=o}return r},e.prototype._serializeElement=function(e,t){if(t&&(-1!==e.localName.indexOf(":")||!rP.xml_isName(e.localName)))throw Error("Node local name contains invalid characters (well-formed required).");var r,n,o=!1,i=e.localName,a="<"+i;if(a+=this._serializeAttributes(e,t),0===e._children.size&&(a+="/",o=!0),a+=">",o)return a;try{for(var u=nh(e._children),s=u.next();!s.done;s=u.next()){var l=s.value;a+=this._serializeNode(l,t)}}catch(e){r={error:e}}finally{try{s&&!s.done&&(n=u.return)&&n.call(u)}finally{if(r)throw r.error}}return a+("</"+i+">")},e.prototype._serializeDocument=function(e,t){if(t&&null===e.documentElement)throw Error("Missing document element (well-formed required).");var r,n,o="";try{for(var i=nh(e._children),a=i.next();!a.done;a=i.next()){var u=a.value;o+=this._serializeNode(u,t)}}catch(e){r={error:e}}finally{try{a&&!a.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}return o},e.prototype._serializeDocumentFragment=function(e,t){var r,n,o="";try{for(var i=nh(e._children),a=i.next();!a.done;a=i.next()){var u=a.value;o+=this._serializeNode(u,t)}}catch(e){r={error:e}}finally{try{a&&!a.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}return o},e.prototype._serializeAttributes=function(e,t){var r,n,o="",i=t?{}:void 0;try{for(var a=nh(e.attributes),u=a.next();!u.done;u=a.next()){var s=u.value;if(t&&i&&s.localName in i)throw Error("Element contains duplicate attributes (well-formed required).");if(t&&i&&(i[s.localName]=!0),t&&(-1!==s.localName.indexOf(":")||!rP.xml_isName(s.localName)))throw Error("Attribute local name contains invalid characters (well-formed required).");o+=" "+s.localName+'="'+this._serializeAttributeValue(s.value,t)+'"'}}catch(e){r={error:e}}finally{try{u&&!u.done&&(n=a.return)&&n.call(a)}finally{if(r)throw r.error}}return o},e._VoidElementNames=new Set(["area","base","basefont","bgsound","br","col","embed","frame","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"]),e}(),nd.XMLSerializer=nf.XMLSerializerImpl,rH.XMLSerializer=nd.XMLSerializer;var ry=ee("jDPAV");rW.dom.setFeatures(!1),rV.createDocument=function(){var e=new rH.DOMImplementation().createDocument(null,"root",null);return e.documentElement&&e.removeChild(e.documentElement),e},rV.sanitizeInput=function(e,t){if(null==e)return e;if(void 0===t)return e+"";var r="";e+="";for(var n=0;n<e.length;n++){var o=e.charCodeAt(n);if(9===o||10===o||13===o||o>=32&&o<=55295||o>=57344&&o<=65533)r+=e.charAt(n);else if(o>=55296&&o<=56319&&n<e.length-1){var i=e.charCodeAt(n+1);i>=56320&&i<=57343?(r+=String.fromCodePoint(o=(o-55296)*1024+i-56320+65536),n++):r+=ry.isString(t)?t:t(e.charAt(n),n,e)}else r+=ry.isString(t)?t:t(e.charAt(n),n,e)}return r};var rk=ee("b9DcM"),nm={};Object.defineProperty(nm,"__esModule",{value:!0});var nD={},ng=nD&&nD.__extends||(_=function(e,t){return(_=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}_(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),ny=nD&&nD.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)a.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return a},n_=nD&&nD.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(nD,"__esModule",{value:!0});var rC=ee("bql4T"),rk=ee("b9DcM"),rP=ee("eOMTm"),nv={};Object.defineProperty(nv,"__esModule",{value:!0}),nv.BaseReader=function(){function e(e){this._builderOptions=e,e.parser&&Object.assign(this,e.parser)}return e.prototype._docType=function(e,t,r,n){return e.dtd({name:t,pubID:r,sysID:n})},e.prototype._comment=function(e,t){return e.com(t)},e.prototype._text=function(e,t){return e.txt(t)},e.prototype._instruction=function(e,t,r){return e.ins(t,r)},e.prototype._cdata=function(e,t){return e.dat(t)},e.prototype._element=function(e,t,r){return void 0===t?e.ele(r):e.ele(t,r)},e.prototype._attribute=function(e,t,r,n){return void 0===t?e.att(r,n):e.att(t,r,n)},e.prototype._sanitize=function(e){return rV.sanitizeInput(e,this._builderOptions.invalidCharReplacement)},e.prototype._decodeText=function(t){return null==t?t:t.replace(/&(quot|amp|apos|lt|gt);/g,function(t,r){return e._entityTable[r]}).replace(/&#(?:x([a-fA-F0-9]+)|([0-9]+));/g,function(e,t,r){return String.fromCodePoint(parseInt(t||r,t?16:10))})},e.prototype._decodeAttributeValue=function(e){return this._decodeText(e)},e.prototype.parse=function(e,t){return this._parse(e,t)},e.prototype.docType=function(e,t,r,n){return this._docType(e,t,r,n)},e.prototype.comment=function(e,t){return this._comment(e,t)},e.prototype.text=function(e,t){return this._text(e,t)},e.prototype.instruction=function(e,t,r){return this._instruction(e,t,r)},e.prototype.cdata=function(e,t){return this._cdata(e,t)},e.prototype.element=function(e,t,r){return this._element(e,t,r)},e.prototype.attribute=function(e,t,r,n){return this._attribute(e,t,r,n)},e.prototype.sanitize=function(e){return this._sanitize(e)},e._entityTable={lt:"<",gt:">",amp:"&",quot:'"',apos:"'"},e}(),nD.XMLReader=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return ng(t,e),t.prototype._parse=function(e,t){for(var r,n,o,i,a=new nl.XMLStringLexer(t,{skipWhitespaceOnlyText:this._builderOptions.skipWhitespaceOnlyText}),u=e,s=e,l=a.nextToken();l.type!==np.TokenType.EOF;){switch(l.type){case np.TokenType.Declaration:var c=l,p=this.sanitize(c.version);if("1.0"!==p)throw Error("Invalid xml version: "+p);var d={version:p};c.encoding&&(d.encoding=this.sanitize(c.encoding)),c.standalone&&(d.standalone="yes"===this.sanitize(c.standalone)),s.set(d);break;case np.TokenType.DocType:var f=l;s=this.docType(s,this.sanitize(f.name),this.sanitize(f.pubId),this.sanitize(f.sysId))||s;break;case np.TokenType.CDATA:var h=l;s=this.cdata(s,this.sanitize(h.data))||s;break;case np.TokenType.Comment:var m=l;s=this.comment(s,this.sanitize(m.data))||s;break;case np.TokenType.PI:var D=l;s=this.instruction(s,this.sanitize(D.target),this.sanitize(D.data))||s;break;case np.TokenType.Text:if(s.node.nodeType===rC.NodeType.Document)break;var g=l;s=this.text(s,this._decodeText(this.sanitize(g.data)))||s;break;case np.TokenType.Element:var y=l,_=this.sanitize(y.name),v=ny(rP.namespace_extractQName(_),1)[0],b=s.node.lookupNamespaceURI(v),x={};try{for(var E=(r=void 0,n_(y.attributes)),w=E.next();!w.done;w=E.next()){var C=ny(w.value,2),A=C[0],N=C[1];if(A=this.sanitize(A),N=this.sanitize(N),"xmlns"===A)b=N;else{var T=ny(rP.namespace_extractQName(A),2),S=T[0],F=T[1];"xmlns"===S&&(F===v&&(b=N),x[F]=N)}}}catch(e){r={error:e}}finally{try{w&&!w.done&&(n=E.return)&&n.call(E)}finally{if(r)throw r.error}}var O=null!==b?this.element(s,b,_):this.element(s,void 0,_);if(void 0===O)break;s.node===e.node&&(u=O);try{for(var k=(o=void 0,n_(y.attributes)),P=k.next();!P.done;P=k.next()){var L=ny(P.value,2),A=L[0],N=L[1];A=this.sanitize(A),N=this.sanitize(N);var I=ny(rP.namespace_extractQName(A),2),S=I[0],F=I[1],B=null;"xmlns"===S||null===S&&"xmlns"===F?B=rk.namespace.XMLNS:(B=O.node.lookupNamespaceURI(S),null!==B&&O.node.isDefaultNamespace(B)?B=null:null===B&&null!==S&&(B=x[S]||null)),null!==B?this.attribute(O,B,A,this._decodeAttributeValue(N)):this.attribute(O,void 0,A,this._decodeAttributeValue(N))}}catch(e){o={error:e}}finally{try{P&&!P.done&&(i=k.return)&&i.call(k)}finally{if(o)throw o.error}}y.selfClosing||(s=O);break;case np.TokenType.ClosingTag:s.node.parentNode&&(s=s.up())}l=a.nextToken()}return u},t}(nv.BaseReader),nm.XMLReader=nD.XMLReader;var nb={},nx=nb&&nb.__extends||(v=function(e,t){return(v=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}v(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(nb,"__esModule",{value:!0});var ry=ee("jDPAV");nb.ObjectReader=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return nx(t,e),t.prototype._parse=function(e,t){var r=this,n=this._builderOptions,o=null;return ry.isFunction(t)?o=this.parse(e,t.apply(this)):ry.isArray(t)||ry.isSet(t)?ry.forEachArray(t,function(t){return o=r.parse(e,t)},this):ry.isMap(t)||ry.isObject(t)?ry.forEachObject(t,function(t,i){if(ry.isFunction(i)&&(i=i.apply(r)),n.ignoreConverters||0!==t.indexOf(n.convert.att))if(n.ignoreConverters||0!==t.indexOf(n.convert.text))if(n.ignoreConverters||0!==t.indexOf(n.convert.cdata))if(n.ignoreConverters||0!==t.indexOf(n.convert.comment))if(n.ignoreConverters||0!==t.indexOf(n.convert.ins)){if((ry.isArray(i)||ry.isSet(i))&&ry.isEmpty(i));else if((ry.isMap(i)||ry.isObject(i))&&ry.isEmpty(i))o=r.element(e,void 0,r.sanitize(t))||o;else if(n.keepNullNodes||null!=i)if(ry.isArray(i)||ry.isSet(i))ry.forEachArray(i,function(n){var i={};i[t]=n,o=r.parse(e,i)},r);else if(ry.isMap(i)||ry.isObject(i)){var a=r.element(e,void 0,r.sanitize(t));a&&(o=a,r.parse(a,i))}else if(null!=i&&""!==i){var a=r.element(e,void 0,r.sanitize(t));a&&(o=a,r.text(a,r._decodeText(r.sanitize(i))))}else o=r.element(e,void 0,r.sanitize(t))||o}else if(ry.isString(i)){var u=i.indexOf(" "),s=-1===u?i:i.substr(0,u),l=-1===u?"":i.substr(u+1);o=r.instruction(e,r.sanitize(s),r.sanitize(l))||o}else ry.isArray(i)||ry.isSet(i)?ry.forEachArray(i,function(t){var n=t.indexOf(" "),i=-1===n?t:t.substr(0,n),a=-1===n?"":t.substr(n+1);o=r.instruction(e,r.sanitize(i),r.sanitize(a))||o},r):ry.forEachObject(i,function(t,n){return o=r.instruction(e,r.sanitize(t),r.sanitize(n))||o},r);else ry.isArray(i)||ry.isSet(i)?ry.forEachArray(i,function(t){return o=r.comment(e,r.sanitize(t))||o},r):o=r.comment(e,r.sanitize(i))||o;else ry.isArray(i)||ry.isSet(i)?ry.forEachArray(i,function(t){return o=r.cdata(e,r.sanitize(t))||o},r):o=r.cdata(e,r.sanitize(i))||o;else o=ry.isMap(i)||ry.isObject(i)?r.parse(e,i):r.text(e,r._decodeText(r.sanitize(i)))||o;else if(t===n.convert.att)if(ry.isArray(i)||ry.isSet(i))throw Error("Invalid attribute: "+i.toString()+". "+e._debugInfo());else ry.forEachObject(i,function(t,n){o=r.attribute(e,void 0,r.sanitize(t),r._decodeAttributeValue(r.sanitize(n)))||o});else o=r.attribute(e,void 0,r.sanitize(t.substr(n.convert.att.length)),r._decodeAttributeValue(r.sanitize(i)))||o},this):(n.keepNullNodes||null!=t)&&(o=this.text(e,this._decodeText(this.sanitize(t)))||o),o||e},t}(nv.BaseReader),nm.ObjectReader=nb.ObjectReader;var nE={},nw=nE&&nE.__extends||(b=function(e,t){return(b=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}b(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(nE,"__esModule",{value:!0}),nE.JSONReader=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return nw(t,e),t.prototype._parse=function(e,t){return new nb.ObjectReader(this._builderOptions).parse(e,JSON.parse(t))},t}(nv.BaseReader),nm.JSONReader=nE.JSONReader;var nC={},nA=nC&&nC.__extends||(x=function(e,t){return(x=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}x(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(nC,"__esModule",{value:!0});var nN={},nT={};J(nT,"Type",()=>N,e=>N=e),J(nT,"Schema",()=>T,e=>T=e),J(nT,"FAILSAFE_SCHEMA",()=>S,e=>S=e),J(nT,"JSON_SCHEMA",()=>F,e=>F=e),J(nT,"CORE_SCHEMA",()=>O,e=>O=e),J(nT,"DEFAULT_SAFE_SCHEMA",()=>k,e=>k=e),J(nT,"DEFAULT_FULL_SCHEMA",()=>P,e=>P=e),J(nT,"load",()=>L,e=>L=e),J(nT,"loadAll",()=>I,e=>I=e),J(nT,"safeLoad",()=>B,e=>B=e),J(nT,"safeLoadAll",()=>q,e=>q=e),J(nT,"dump",()=>j,e=>j=e),J(nT,"safeDump",()=>M,e=>M=e),J(nT,"YAMLException",()=>R,e=>R=e),J(nT,"MINIMAL_SCHEMA",()=>U,e=>U=e),J(nT,"SAFE_SCHEMA",()=>G,e=>G=e),J(nT,"DEFAULT_SCHEMA",()=>z,e=>z=e),J(nT,"scan",()=>V,e=>V=e),J(nT,"parse",()=>H,e=>H=e),J(nT,"compose",()=>W,e=>W=e),J(nT,"addConstructor",()=>$,e=>$=e);var nS=ee("aeC7f"),nF=ee("d6Ezz"),nO={},nS=ee("aeC7f");function nk(e,t,r,n,o){this.name=e,this.buffer=t,this.position=r,this.line=n,this.column=o}nk.prototype.getSnippet=function(e,t){var r,n,o,i,a;if(!this.buffer)return null;for(e=e||4,t=t||75,r="",n=this.position;n>0&&-1==="\0\r\n
\u2028\u2029".indexOf(this.buffer.charAt(n-1));)if(n-=1,this.position-n>t/2-1){r=" ... ",n+=5;break}for(o="",i=this.position;i<this.buffer.length&&-1==="\0\r\n
\u2028\u2029".indexOf(this.buffer.charAt(i));)if((i+=1)-this.position>t/2-1){o=" ... ",i-=5;break}return a=this.buffer.slice(n,i),nS.repeat(" ",e)+r+a+o+"\n"+nS.repeat(" ",e+this.position-n+r.length)+"^"},nk.prototype.toString=function(e){var t,r="";return this.name&&(r+='in "'+this.name+'" '),r+="at line "+(this.line+1)+", column "+(this.column+1),!e&&(t=this.getSnippet())&&(r+=":\n"+t),r},nO=nk;var nP=ee("7WEyj"),nL=ee("eqI2g"),nI=Object.prototype.hasOwnProperty,nB=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,nq=/[\x85\u2028\u2029]/,nj=/[,\[\]\{\}]/,nM=/^(?:!|!!|![a-z\-]+!)$/i,nR=/^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;function nU(e){return Object.prototype.toString.call(e)}function nG(e){return 10===e||13===e}function nz(e){return 9===e||32===e}function nV(e){return 9===e||32===e||10===e||13===e}function nH(e){return 44===e||91===e||93===e||123===e||125===e}function nW(e){return 48===e?"\0":97===e?"\x07":98===e?"\b":116===e||9===e?" ":110===e?"\n":118===e?"\v":102===e?"\f":114===e?"\r":101===e?"\x1b":32===e?" ":34===e?'"':47===e?"/":92===e?"\\":78===e?"
":95===e?" ":76===e?"\u2028":80===e?"\u2029":""}for(var n$=Array(256),nY=Array(256),nX=0;nX<256;nX++)n$[nX]=+!!nW(nX),nY[nX]=nW(nX);function nJ(e,t){this.input=e,this.filename=t.filename||null,this.schema=t.schema||nL,this.onWarning=t.onWarning||null,this.legacy=t.legacy||!1,this.json=t.json||!1,this.listener=t.listener||null,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=e.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.documents=[]}function nK(e,t){return new nF(t,new nO(e.filename,e.input,e.position,e.line,e.position-e.lineStart))}function nQ(e,t){throw nK(e,t)}function nZ(e,t){e.onWarning&&e.onWarning.call(null,nK(e,t))}var n0={YAML:function(e,t,r){var n,o,i;null!==e.version&&nQ(e,"duplication of %YAML directive"),1!==r.length&&nQ(e,"YAML directive accepts exactly one argument"),null===(n=/^([0-9]+)\.([0-9]+)$/.exec(r[0]))&&nQ(e,"ill-formed argument of the YAML directive"),o=parseInt(n[1],10),i=parseInt(n[2],10),1!==o&&nQ(e,"unacceptable YAML version of the document"),e.version=r[0],e.checkLineBreaks=i<2,1!==i&&2!==i&&nZ(e,"unsupported YAML version of the document")},TAG:function(e,t,r){var n,o;2!==r.length&&nQ(e,"TAG directive accepts exactly two arguments"),n=r[0],o=r[1],nM.test(n)||nQ(e,"ill-formed tag handle (first argument) of the TAG directive"),nI.call(e.tagMap,n)&&nQ(e,'there is a previously declared suffix for "'+n+'" tag handle'),nR.test(o)||nQ(e,"ill-formed tag prefix (second argument) of the TAG directive"),e.tagMap[n]=o}};function n1(e,t,r,n){var o,i,a,u;if(t<r){if(u=e.input.slice(t,r),n)for(o=0,i=u.length;o<i;o+=1)9===(a=u.charCodeAt(o))||32<=a&&a<=1114111||nQ(e,"expected valid JSON character");else nB.test(u)&&nQ(e,"the stream contains non-printable characters");e.result+=u}}function n2(e,t,r,n){var o,i,a,u;for(nS.isObject(r)||nQ(e,"cannot merge mappings; the provided source object is unacceptable"),a=0,u=(o=Object.keys(r)).length;a<u;a+=1)i=o[a],nI.call(t,i)||(t[i]=r[i],n[i]=!0)}function n3(e,t,r,n,o,i,a,u){var s,l;if(Array.isArray(o))for(s=0,l=(o=Array.prototype.slice.call(o)).length;s<l;s+=1)Array.isArray(o[s])&&nQ(e,"nested arrays are not supported inside keys"),"object"==typeof o&&"[object Object]"===nU(o[s])&&(o[s]="[object Object]");if("object"==typeof o&&"[object Object]"===nU(o)&&(o="[object Object]"),o=String(o),null===t&&(t={}),"tag:yaml.org,2002:merge"===n)if(Array.isArray(i))for(s=0,l=i.length;s<l;s+=1)n2(e,t,i[s],r);else n2(e,t,i,r);else!e.json&&!nI.call(r,o)&&nI.call(t,o)&&(e.line=a||e.line,e.position=u||e.position,nQ(e,"duplicated mapping key")),t[o]=i,delete r[o];return t}function n8(e){var t;10===(t=e.input.charCodeAt(e.position))?e.position++:13===t?(e.position++,10===e.input.charCodeAt(e.position)&&e.position++):nQ(e,"a line break is expected"),e.line+=1,e.lineStart=e.position}function n5(e,t,r){for(var n=0,o=e.input.charCodeAt(e.position);0!==o;){for(;nz(o);)o=e.input.charCodeAt(++e.position);if(t&&35===o)do o=e.input.charCodeAt(++e.position);while(10!==o&&13!==o&&0!==o)if(nG(o))for(n8(e),o=e.input.charCodeAt(e.position),n++,e.lineIndent=0;32===o;)e.lineIndent++,o=e.input.charCodeAt(++e.position);else break}return -1!==r&&0!==n&&e.lineIndent<r&&nZ(e,"deficient indentation"),n}function n6(e){var t,r=e.position;return!!((45===(t=e.input.charCodeAt(r))||46===t)&&t===e.input.charCodeAt(r+1)&&t===e.input.charCodeAt(r+2)&&(r+=3,0===(t=e.input.charCodeAt(r))||nV(t)))||!1}function n9(e,t){1===t?e.result+=" ":t>1&&(e.result+=nS.repeat("\n",t-1))}function n4(e,t){var r,n,o=e.tag,i=e.anchor,a=[],u=!1;for(null!==e.anchor&&(e.anchorMap[e.anchor]=a),n=e.input.charCodeAt(e.position);0!==n&&45===n&&nV(e.input.charCodeAt(e.position+1));){if(u=!0,e.position++,n5(e,!0,-1)&&e.lineIndent<=t){a.push(null),n=e.input.charCodeAt(e.position);continue}if(r=e.line,n7(e,t,3,!1,!0),a.push(e.result),n5(e,!0,-1),n=e.input.charCodeAt(e.position),(e.line===r||e.lineIndent>t)&&0!==n)nQ(e,"bad indentation of a sequence entry");else if(e.lineIndent<t)break}return!!u&&(e.tag=o,e.anchor=i,e.kind="sequence",e.result=a,!0)}function n7(e,t,r,n,o){var i,a,u,s,l,c,p,d,f=1,h=!1,m=!1;if(null!==e.listener&&e.listener("open",e),e.tag=null,e.anchor=null,e.kind=null,e.result=null,i=a=u=4===r||3===r,n&&n5(e,!0,-1)&&(h=!0,e.lineIndent>t?f=1:e.lineIndent===t?f=0:e.lineIndent<t&&(f=-1)),1===f)for(;function(e){var t,r,n,o,i=!1,a=!1;if(33!==(o=e.input.charCodeAt(e.position)))return!1;if(null!==e.tag&&nQ(e,"duplication of a tag property"),60===(o=e.input.charCodeAt(++e.position))?(i=!0,o=e.input.charCodeAt(++e.position)):33===o?(a=!0,r="!!",o=e.input.charCodeAt(++e.position)):r="!",t=e.position,i){do o=e.input.charCodeAt(++e.position);while(0!==o&&62!==o)e.position<e.length?(n=e.input.slice(t,e.position),o=e.input.charCodeAt(++e.position)):nQ(e,"unexpected end of the stream within a verbatim tag")}else{for(;0!==o&&!nV(o);)33===o&&(a?nQ(e,"tag suffix cannot contain exclamation marks"):(r=e.input.slice(t-1,e.position+1),nM.test(r)||nQ(e,"named tag handle cannot contain such characters"),a=!0,t=e.position+1)),o=e.input.charCodeAt(++e.position);n=e.input.slice(t,e.position),nj.test(n)&&nQ(e,"tag suffix cannot contain flow indicator characters")}return n&&!nR.test(n)&&nQ(e,"tag name cannot contain such characters: "+n),i?e.tag=n:nI.call(e.tagMap,r)?e.tag=e.tagMap[r]+n:"!"===r?e.tag="!"+n:"!!"===r?e.tag="tag:yaml.org,2002:"+n:nQ(e,'undeclared tag handle "'+r+'"'),!0}(e)||function(e){var t,r;if(38!==(r=e.input.charCodeAt(e.position)))return!1;for(null!==e.anchor&&nQ(e,"duplication of an anchor property"),r=e.input.charCodeAt(++e.position),t=e.position;0!==r&&!nV(r)&&!nH(r);)r=e.input.charCodeAt(++e.position);return e.position===t&&nQ(e,"name of an anchor node must contain at least one character"),e.anchor=e.input.slice(t,e.position),!0}(e);)n5(e,!0,-1)?(h=!0,u=i,e.lineIndent>t?f=1:e.lineIndent===t?f=0:e.lineIndent<t&&(f=-1)):u=!1;if(u&&(u=h||o),(1===f||4===r)&&(p=1===r||2===r?t:t+1,d=e.position-e.lineStart,1===f?u&&(n4(e,d)||function(e,t,r){var n,o,i,a,u,s=e.tag,l=e.anchor,c={},p={},d=null,f=null,h=null,m=!1,D=!1;for(null!==e.anchor&&(e.anchorMap[e.anchor]=c),u=e.input.charCodeAt(e.position);0!==u;){if(n=e.input.charCodeAt(e.position+1),i=e.line,a=e.position,(63===u||58===u)&&nV(n))63===u?(m&&(n3(e,c,p,d,f,null),d=f=h=null),D=!0,m=!0,o=!0):m?(m=!1,o=!0):nQ(e,"incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"),e.position+=1,u=n;else if(n7(e,r,2,!1,!0))if(e.line===i){for(u=e.input.charCodeAt(e.position);nz(u);)u=e.input.charCodeAt(++e.position);if(58===u)nV(u=e.input.charCodeAt(++e.position))||nQ(e,"a whitespace character is expected after the key-value separator within a block mapping"),m&&(n3(e,c,p,d,f,null),d=f=h=null),D=!0,m=!1,o=!1,d=e.tag,f=e.result;else{if(!D)return e.tag=s,e.anchor=l,!0;nQ(e,"can not read an implicit mapping pair; a colon is missed")}}else{if(!D)return e.tag=s,e.anchor=l,!0;nQ(e,"can not read a block mapping entry; a multiline key may not be an implicit key")}else break;if((e.line===i||e.lineIndent>t)&&(n7(e,t,4,!0,o)&&(m?f=e.result:h=e.result),m||(n3(e,c,p,d,f,h,i,a),d=f=h=null),n5(e,!0,-1),u=e.input.charCodeAt(e.position)),e.lineIndent>t&&0!==u)nQ(e,"bad indentation of a mapping entry");else if(e.lineIndent<t)break}return m&&n3(e,c,p,d,f,null),D&&(e.tag=s,e.anchor=l,e.kind="mapping",e.result=c),D}(e,d,p))||function(e,t){var r,n,o,i,a,u,s,l,c,p,d=!0,f=e.tag,h=e.anchor,m={};if(91===(p=e.input.charCodeAt(e.position)))o=93,u=!1,n=[];else{if(123!==p)return!1;o=125,u=!0,n={}}for(null!==e.anchor&&(e.anchorMap[e.anchor]=n),p=e.input.charCodeAt(++e.position);0!==p;){if(n5(e,!0,t),(p=e.input.charCodeAt(e.position))===o)return e.position++,e.tag=f,e.anchor=h,e.kind=u?"mapping":"sequence",e.result=n,!0;d||nQ(e,"missed comma between flow collection entries"),l=s=c=null,i=a=!1,63===p&&nV(e.input.charCodeAt(e.position+1))&&(i=a=!0,e.position++,n5(e,!0,t)),r=e.line,n7(e,t,1,!1,!0),l=e.tag,s=e.result,n5(e,!0,t),p=e.input.charCodeAt(e.position),(a||e.line===r)&&58===p&&(i=!0,p=e.input.charCodeAt(++e.position),n5(e,!0,t),n7(e,t,1,!1,!0),c=e.result),u?n3(e,n,m,l,s,c):i?n.push(n3(e,null,m,l,s,c)):n.push(s),n5(e,!0,t),44===(p=e.input.charCodeAt(e.position))?(d=!0,p=e.input.charCodeAt(++e.position)):d=!1}nQ(e,"unexpected end of the stream within a flow collection")}(e,p)?m=!0:(a&&function(e,t){var r,n,o,i,a,u=1,s=!1,l=!1,c=t,p=0,d=!1;if(124===(a=e.input.charCodeAt(e.position)))o=!1;else{if(62!==a)return!1;o=!0}for(e.kind="scalar",e.result="";0!==a;)if(43===(a=e.input.charCodeAt(++e.position))||45===a)1===u?u=43===a?3:2:nQ(e,"repeat of a chomping mode identifier");else if((i=48<=(r=a)&&r<=57?r-48:-1)>=0)0===i?nQ(e,"bad explicit indentation width of a block scalar; it cannot be less than one"):l?nQ(e,"repeat of an indentation width identifier"):(c=t+i-1,l=!0);else break;if(nz(a)){do a=e.input.charCodeAt(++e.position);while(nz(a))if(35===a)do a=e.input.charCodeAt(++e.position);while(!nG(a)&&0!==a)}for(;0!==a;){for(n8(e),e.lineIndent=0,a=e.input.charCodeAt(e.position);(!l||e.lineIndent<c)&&32===a;)e.lineIndent++,a=e.input.charCodeAt(++e.position);if(!l&&e.lineIndent>c&&(c=e.lineIndent),nG(a)){p++;continue}if(e.lineIndent<c){3===u?e.result+=nS.repeat("\n",s?1+p:p):1===u&&s&&(e.result+="\n");break}for(o?nz(a)?(d=!0,e.result+=nS.repeat("\n",s?1+p:p)):d?(d=!1,e.result+=nS.repeat("\n",p+1)):0===p?s&&(e.result+=" "):e.result+=nS.repeat("\n",p):e.result+=nS.repeat("\n",s?1+p:p),s=!0,l=!0,p=0,n=e.position;!nG(a)&&0!==a;)a=e.input.charCodeAt(++e.position);n1(e,n,e.position,!1)}return!0}(e,p)||function(e,t){var r,n,o;if(39!==(r=e.input.charCodeAt(e.position)))return!1;for(e.kind="scalar",e.result="",e.position++,n=o=e.position;0!==(r=e.input.charCodeAt(e.position));)if(39===r){if(n1(e,n,e.position,!0),39!==(r=e.input.charCodeAt(++e.position)))return!0;n=e.position,e.position++,o=e.position}else nG(r)?(n1(e,n,o,!0),n9(e,n5(e,!1,t)),n=o=e.position):e.position===e.lineStart&&n6(e)?nQ(e,"unexpected end of the document within a single quoted scalar"):(e.position++,o=e.position);nQ(e,"unexpected end of the stream within a single quoted scalar")}(e,p)||function(e,t){var r,n,o,i,a,u,s,l;if(34!==(u=e.input.charCodeAt(e.position)))return!1;for(e.kind="scalar",e.result="",e.position++,r=n=e.position;0!==(u=e.input.charCodeAt(e.position));)if(34===u)return n1(e,r,e.position,!0),e.position++,!0;else if(92===u){if(n1(e,r,e.position,!0),nG(u=e.input.charCodeAt(++e.position)))n5(e,!1,t);else if(u<256&&n$[u])e.result+=nY[u],e.position++;else if((a=120===(s=u)?2:117===s?4:8*(85===s))>0){for(o=a,i=0;o>0;o--)(a=function(e){var t;return 48<=e&&e<=57?e-48:97<=(t=32|e)&&t<=102?t-97+10:-1}(u=e.input.charCodeAt(++e.position)))>=0?i=(i<<4)+a:nQ(e,"expected hexadecimal character");e.result+=(l=i)<=65535?String.fromCharCode(l):String.fromCharCode((l-65536>>10)+55296,(l-65536&1023)+56320),e.position++}else nQ(e,"unknown escape sequence");r=n=e.position}else nG(u)?(n1(e,r,n,!0),n9(e,n5(e,!1,t)),r=n=e.position):e.position===e.lineStart&&n6(e)?nQ(e,"unexpected end of the document within a double quoted scalar"):(e.position++,n=e.position);nQ(e,"unexpected end of the stream within a double quoted scalar")}(e,p)?m=!0:!function(e){var t,r,n;if(42!==(n=e.input.charCodeAt(e.position)))return!1;for(n=e.input.charCodeAt(++e.position),t=e.position;0!==n&&!nV(n)&&!nH(n);)n=e.input.charCodeAt(++e.position);return e.position===t&&nQ(e,"name of an alias node must contain at least one character"),r=e.input.slice(t,e.position),nI.call(e.anchorMap,r)||nQ(e,'unidentified alias "'+r+'"'),e.result=e.anchorMap[r],n5(e,!0,-1),!0}(e)?function(e,t,r){var n,o,i,a,u,s,l,c,p=e.kind,d=e.result;if(nV(c=e.input.charCodeAt(e.position))||nH(c)||35===c||38===c||42===c||33===c||124===c||62===c||39===c||34===c||37===c||64===c||96===c||(63===c||45===c)&&(nV(n=e.input.charCodeAt(e.position+1))||r&&nH(n)))return!1;for(e.kind="scalar",e.result="",o=i=e.position,a=!1;0!==c;){if(58===c){if(nV(n=e.input.charCodeAt(e.position+1))||r&&nH(n))break}else if(35===c){if(nV(e.input.charCodeAt(e.position-1)))break}else if(e.position===e.lineStart&&n6(e)||r&&nH(c))break;else if(nG(c)){if(u=e.line,s=e.lineStart,l=e.lineIndent,n5(e,!1,-1),e.lineIndent>=t){a=!0,c=e.input.charCodeAt(e.position);continue}e.position=i,e.line=u,e.lineStart=s,e.lineIndent=l;break}a&&(n1(e,o,i,!1),n9(e,e.line-u),o=i=e.position,a=!1),nz(c)||(i=e.position+1),c=e.input.charCodeAt(++e.position)}return n1(e,o,i,!1),!!e.result||(e.kind=p,e.result=d,!1)}(e,p,1===r)&&(m=!0,null===e.tag&&(e.tag="?")):(m=!0,(null!==e.tag||null!==e.anchor)&&nQ(e,"alias node should not have any properties")),null!==e.anchor&&(e.anchorMap[e.anchor]=e.result)):0===f&&(m=u&&n4(e,d))),null!==e.tag&&"!"!==e.tag)if("?"===e.tag){for(null!==e.result&&"scalar"!==e.kind&&nQ(e,'unacceptable node kind for !<?> tag; it should be "scalar", not "'+e.kind+'"'),s=0,l=e.implicitTypes.length;s<l;s+=1)if((c=e.implicitTypes[s]).resolve(e.result)){e.result=c.construct(e.result),e.tag=c.tag,null!==e.anchor&&(e.anchorMap[e.anchor]=e.result);break}}else nI.call(e.typeMap[e.kind||"fallback"],e.tag)?(c=e.typeMap[e.kind||"fallback"][e.tag],null!==e.result&&c.kind!==e.kind&&nQ(e,"unacceptable node kind for !<"+e.tag+'> tag; it should be "'+c.kind+'", not "'+e.kind+'"'),c.resolve(e.result)?(e.result=c.construct(e.result),null!==e.anchor&&(e.anchorMap[e.anchor]=e.result)):nQ(e,"cannot resolve a node with !<"+e.tag+"> explicit tag")):nQ(e,"unknown tag !<"+e.tag+">");return null!==e.listener&&e.listener("close",e),null!==e.tag||null!==e.anchor||m}function oe(e,t){e=String(e),t=t||{},0!==e.length&&(10!==e.charCodeAt(e.length-1)&&13!==e.charCodeAt(e.length-1)&&(e+="\n"),65279===e.charCodeAt(0)&&(e=e.slice(1)));var r=new nJ(e,t),n=e.indexOf("\0");for(-1!==n&&(r.position=n,nQ(r,"null byte is not allowed in input")),r.input+="\0";32===r.input.charCodeAt(r.position);)r.lineIndent+=1,r.position+=1;for(;r.position<r.length-1;)!function(e){var t,r,n,o,i=e.position,a=!1;for(e.version=null,e.checkLineBreaks=e.legacy,e.tagMap={},e.anchorMap={};0!==(o=e.input.charCodeAt(e.position))&&(n5(e,!0,-1),o=e.input.charCodeAt(e.position),!(e.lineIndent>0)&&37===o);){for(a=!0,o=e.input.charCodeAt(++e.position),t=e.position;0!==o&&!nV(o);)o=e.input.charCodeAt(++e.position);for(r=e.input.slice(t,e.position),n=[],r.length<1&&nQ(e,"directive name must not be less than one character in length");0!==o;){for(;nz(o);)o=e.input.charCodeAt(++e.position);if(35===o){do o=e.input.charCodeAt(++e.position);while(0!==o&&!nG(o))break}if(nG(o))break;for(t=e.position;0!==o&&!nV(o);)o=e.input.charCodeAt(++e.position);n.push(e.input.slice(t,e.position))}0!==o&&n8(e),nI.call(n0,r)?n0[r](e,r,n):nZ(e,'unknown document directive "'+r+'"')}if(n5(e,!0,-1),0===e.lineIndent&&45===e.input.charCodeAt(e.position)&&45===e.input.charCodeAt(e.position+1)&&45===e.input.charCodeAt(e.position+2)?(e.position+=3,n5(e,!0,-1)):a&&nQ(e,"directives end mark is expected"),n7(e,e.lineIndent-1,4,!1,!0),n5(e,!0,-1),e.checkLineBreaks&&nq.test(e.input.slice(i,e.position))&&nZ(e,"non-ASCII line breaks are interpreted as content"),e.documents.push(e.result),e.position===e.lineStart&&n6(e)){46===e.input.charCodeAt(e.position)&&(e.position+=3,n5(e,!0,-1));return}e.position<e.length-1&&nQ(e,"end of the stream or a document separator is expected")}(r);return r.documents}function ot(e,t,r){null!==t&&"object"==typeof t&&void 0===r&&(r=t,t=null);var n=oe(e,r);if("function"!=typeof t)return n;for(var o=0,i=n.length;o<i;o+=1)t(n[o])}function or(e,t){var r=oe(e,t);if(0!==r.length){if(1===r.length)return r[0];throw new nF("expected a single document in the stream, but found more")}}var nS=ee("aeC7f"),nF=ee("d6Ezz"),nL=ee("eqI2g"),nP=ee("7WEyj"),on=Object.prototype.toString,oo=Object.prototype.hasOwnProperty,oi={};oi[0]="\\0",oi[7]="\\a",oi[8]="\\b",oi[9]="\\t",oi[10]="\\n",oi[11]="\\v",oi[12]="\\f",oi[13]="\\r",oi[27]="\\e",oi[34]='\\"',oi[92]="\\\\",oi[133]="\\N",oi[160]="\\_",oi[8232]="\\L",oi[8233]="\\P";var oa=["y","Y","yes","Yes","YES","on","On","ON","n","N","no","No","NO","off","Off","OFF"];function ou(e){var t,r,n;if(t=e.toString(16).toUpperCase(),e<=255)r="x",n=2;else if(e<=65535)r="u",n=4;else if(e<=0xffffffff)r="U",n=8;else throw new nF("code point within a string may not be greater than 0xFFFFFFFF");return"\\"+r+nS.repeat("0",n-t.length)+t}function os(e){this.schema=e.schema||nL,this.indent=Math.max(1,e.indent||2),this.noArrayIndent=e.noArrayIndent||!1,this.skipInvalid=e.skipInvalid||!1,this.flowLevel=nS.isNothing(e.flowLevel)?-1:e.flowLevel,this.styleMap=function(e,t){var r,n,o,i,a,u,s;if(null===t)return{};for(o=0,r={},i=(n=Object.keys(t)).length;o<i;o+=1)u=String(t[a=n[o]]),"!!"===a.slice(0,2)&&(a="tag:yaml.org,2002:"+a.slice(2)),(s=e.compiledTypeMap.fallback[a])&&oo.call(s.styleAliases,u)&&(u=s.styleAliases[u]),r[a]=u;return r}(this.schema,e.styles||null),this.sortKeys=e.sortKeys||!1,this.lineWidth=e.lineWidth||80,this.noRefs=e.noRefs||!1,this.noCompatMode=e.noCompatMode||!1,this.condenseFlow=e.condenseFlow||!1,this.implicitTypes=this.schema.compiledImplicit,this.explicitTypes=this.schema.compiledExplicit,this.tag=null,this.result="",this.duplicates=[],this.usedDuplicates=null}function ol(e,t){for(var r,n=nS.repeat(" ",t),o=0,i=-1,a="",u=e.length;o<u;)-1===(i=e.indexOf("\n",o))?(r=e.slice(o),o=u):(r=e.slice(o,i+1),o=i+1),r.length&&"\n"!==r&&(a+=n),a+=r;return a}function oc(e,t){return"\n"+nS.repeat(" ",e.indent*t)}function op(e){return 32===e||9===e}function od(e){return 32<=e&&e<=126||161<=e&&e<=55295&&8232!==e&&8233!==e||57344<=e&&e<=65533&&65279!==e||65536<=e&&e<=1114111}function of(e,t){var r;return od(e)&&65279!==e&&44!==e&&91!==e&&93!==e&&123!==e&&125!==e&&58!==e&&(35!==e||t&&od(r=t)&&!op(r)&&65279!==r&&13!==r&&10!==r)}function oh(e){return/^\n* /.test(e)}function om(e,t){var r=oh(e)?String(t):"",n="\n"===e[e.length-1];return r+(n&&("\n"===e[e.length-2]||"\n"===e)?"+":n?"":"-")+"\n"}function oD(e){return"\n"===e[e.length-1]?e.slice(0,-1):e}function og(e,t){if(""===e||" "===e[0])return e;for(var r,n,o=/ [^ ]/g,i=0,a=0,u=0,s="";r=o.exec(e);)(u=r.index)-i>t&&(n=a>i?a:u,s+="\n"+e.slice(i,n),i=n+1),a=u;return s+="\n",e.length-i>t&&a>i?s+=e.slice(i,a)+"\n"+e.slice(a+1):s+=e.slice(i),s.slice(1)}function oy(e,t,r){var n,o,i,a,u,s;for(i=0,a=(o=r?e.explicitTypes:e.implicitTypes).length;i<a;i+=1)if(((u=o[i]).instanceOf||u.predicate)&&(!u.instanceOf||"object"==typeof t&&t instanceof u.instanceOf)&&(!u.predicate||u.predicate(t))){if(e.tag=r?u.tag:"?",u.represent){if(s=e.styleMap[u.tag]||u.defaultStyle,"[object Function]"===on.call(u.represent))n=u.represent(t,s);else if(oo.call(u.represent,s))n=u.represent[s](t,s);else throw new nF("!<"+u.tag+'> tag resolver accepts not "'+s+'" style');e.dump=n}return!0}return!1}function o_(e,t){var r=new os(t=t||{});return(r.noRefs||function(e,t){var r,n,o=[],i=[];for(function e(t,r,n){var o,i,a;if(null!==t&&"object"==typeof t)if(-1!==(i=r.indexOf(t)))-1===n.indexOf(i)&&n.push(i);else if(r.push(t),Array.isArray(t))for(i=0,a=t.length;i<a;i+=1)e(t[i],r,n);else for(i=0,a=(o=Object.keys(t)).length;i<a;i+=1)e(t[o[i]],r,n)}(e,o,i),r=0,n=i.length;r<n;r+=1)t.duplicates.push(o[i[r]]);t.usedDuplicates=Array(n)}(e,r),function e(t,r,n,o,i,a){t.tag=null,t.dump=n,oy(t,n,!1)||oy(t,n,!0);var u=on.call(t.dump);o&&(o=t.flowLevel<0||t.flowLevel>r);var s,l,c="[object Object]"===u||"[object Array]"===u;if(c&&(l=-1!==(s=t.duplicates.indexOf(n))),(null!==t.tag&&"?"!==t.tag||l||2!==t.indent&&r>0)&&(i=!1),l&&t.usedDuplicates[s])t.dump="*ref_"+s;else{if(c&&l&&!t.usedDuplicates[s]&&(t.usedDuplicates[s]=!0),"[object Object]"===u)o&&0!==Object.keys(t.dump).length?(!function(t,r,n,o){var i,a,u,s,l,c,p="",d=t.tag,f=Object.keys(n);if(!0===t.sortKeys)f.sort();else if("function"==typeof t.sortKeys)f.sort(t.sortKeys);else if(t.sortKeys)throw new nF("sortKeys must be a boolean or a function");for(i=0,a=f.length;i<a;i+=1)c="",o&&0===i||(c+=oc(t,r)),s=n[u=f[i]],e(t,r+1,u,!0,!0,!0)&&((l=null!==t.tag&&"?"!==t.tag||t.dump&&t.dump.length>1024)&&(t.dump&&10===t.dump.charCodeAt(0)?c+="?":c+="? "),c+=t.dump,l&&(c+=oc(t,r)),e(t,r+1,s,!0,l)&&(t.dump&&10===t.dump.charCodeAt(0)?c+=":":c+=": ",c+=t.dump,p+=c));t.tag=d,t.dump=p||"{}"}(t,r,t.dump,i),l&&(t.dump="&ref_"+s+t.dump)):(!function(t,r,n){var o,i,a,u,s,l="",c=t.tag,p=Object.keys(n);for(o=0,i=p.length;o<i;o+=1)s="",0!==o&&(s+=", "),t.condenseFlow&&(s+='"'),u=n[a=p[o]],e(t,r,a,!1,!1)&&(t.dump.length>1024&&(s+="? "),s+=t.dump+(t.condenseFlow?'"':"")+":"+(t.condenseFlow?"":" "),e(t,r,u,!1,!1)&&(s+=t.dump,l+=s));t.tag=c,t.dump="{"+l+"}"}(t,r,t.dump),l&&(t.dump="&ref_"+s+" "+t.dump));else if("[object Array]"===u){var p,d=t.noArrayIndent&&r>0?r-1:r;o&&0!==t.dump.length?(!function(t,r,n,o){var i,a,u="",s=t.tag;for(i=0,a=n.length;i<a;i+=1)e(t,r+1,n[i],!0,!0)&&(o&&0===i||(u+=oc(t,r)),t.dump&&10===t.dump.charCodeAt(0)?u+="-":u+="- ",u+=t.dump);t.tag=s,t.dump=u||"[]"}(t,d,t.dump,i),l&&(t.dump="&ref_"+s+t.dump)):(!function(t,r,n){var o,i,a="",u=t.tag;for(o=0,i=n.length;o<i;o+=1)e(t,r,n[o],!1,!1)&&(0!==o&&(a+=","+(t.condenseFlow?"":" ")),a+=t.dump);t.tag=u,t.dump="["+a+"]"}(t,d,t.dump),l&&(t.dump="&ref_"+s+" "+t.dump))}else if("[object String]"===u)"?"!==t.tag&&(p=t.dump,t.dump=function(){if(0===p.length)return"''";if(!t.noCompatMode&&-1!==oa.indexOf(p))return"'"+p+"'";var e=t.indent*Math.max(1,r),n=-1===t.lineWidth?-1:Math.max(Math.min(t.lineWidth,40),t.lineWidth-e);switch(function(e,t,r,n,o){var i,a,u,s,l=!1,c=!1,p=-1!==n,d=-1,f=od(i=e.charCodeAt(0))&&65279!==i&&!op(i)&&45!==i&&63!==i&&58!==i&&44!==i&&91!==i&&93!==i&&123!==i&&125!==i&&35!==i&&38!==i&&42!==i&&33!==i&&124!==i&&61!==i&&62!==i&&39!==i&&34!==i&&37!==i&&64!==i&&96!==i&&!op(e.charCodeAt(e.length-1));if(t)for(a=0;a<e.length;a++){if(!od(u=e.charCodeAt(a)))return 5;s=a>0?e.charCodeAt(a-1):null,f=f&&of(u,s)}else{for(a=0;a<e.length;a++){if(10===(u=e.charCodeAt(a)))l=!0,p&&(c=c||a-d-1>n&&" "!==e[d+1],d=a);else if(!od(u))return 5;s=a>0?e.charCodeAt(a-1):null,f=f&&of(u,s)}c=c||p&&a-d-1>n&&" "!==e[d+1]}return l||c?r>9&&oh(e)?5:c?4:3:f&&!o(e)?1:2}(p,a||t.flowLevel>-1&&r>=t.flowLevel,t.indent,n,function(e){var r,n;for(r=0,n=t.implicitTypes.length;r<n;r+=1)if(t.implicitTypes[r].resolve(e))return!0;return!1})){case 1:return p;case 2:return"'"+p.replace(/'/g,"''")+"'";case 3:return"|"+om(p,t.indent)+oD(ol(p,e));case 4:return">"+om(p,t.indent)+oD(ol(function(e,t){for(var r,n,o,i=/(\n+)([^\n]*)/g,a=(i.lastIndex=r=-1!==(r=e.indexOf("\n"))?r:e.length,og(e.slice(0,r),t)),u="\n"===e[0]||" "===e[0];o=i.exec(e);){var s=o[1],l=o[2];n=" "===l[0],a+=s+(u||n||""===l?"":"\n")+og(l,t),u=n}return a}(p,n),e));case 5:return'"'+function(e){for(var t,r,n,o="",i=0;i<e.length;i++){if((t=e.charCodeAt(i))>=55296&&t<=56319&&(r=e.charCodeAt(i+1))>=56320&&r<=57343){o+=ou((t-55296)*1024+r-56320+65536),i++;continue}o+=!(n=oi[t])&&od(t)?e[i]:n||ou(t)}return o}(p,n)+'"';default:throw new nF("impossible error: invalid scalar style")}}());else{if(t.skipInvalid)return!1;throw new nF("unacceptable kind of an object to dump "+u)}null!==t.tag&&"?"!==t.tag&&(t.dump="!<"+t.tag+"> "+t.dump)}return!0}(r,0,e,!0,!0))?r.dump+"\n":""}function ov(e){return function(){throw Error("Function "+e+" is deprecated and cannot be used.")}}N=ee("k5aGh"),T=ee("bPRG3"),S=ee("hWFej"),F=ee("jON1e"),O=ee("hCN6d"),k=ee("7WEyj"),P=ee("eqI2g"),L=or,I=ot,B=function(e,t){return or(e,nS.extend({schema:nP},t))},q=function(e,t,r){return"object"==typeof t&&null!==t&&void 0===r&&(r=t,t=null),ot(e,t,nS.extend({schema:nP},r))},j=o_,M=function(e,t){return o_(e,nS.extend({schema:nP},t))},R=ee("d6Ezz"),U=ee("hWFej"),G=ee("7WEyj"),z=ee("eqI2g"),V=ov("scan"),H=ov("parse"),W=ov("compose"),$=ov("addConstructor"),nN=nT,nC.YAMLReader=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return nA(t,e),t.prototype._parse=function(e,t){var r=nN.safeLoad(t);if(void 0===r)throw Error("Unable to parse YAML document.");return new nb.ObjectReader(this._builderOptions).parse(e,r)},t}(nv.BaseReader),nm.YAMLReader=nC.YAMLReader,rh.XMLBuilderImpl=function(){function e(e){this._domNode=e}return Object.defineProperty(e.prototype,"node",{get:function(){return this._domNode},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"options",{get:function(){return this._options},enumerable:!0,configurable:!0}),e.prototype.set=function(e){return this._options=ry.applyDefaults(ry.applyDefaults(this._options,e,!0),rg.DefaultBuilderOptions),this},e.prototype.ele=function(t,r,n){if(ry.isObject(t))return new nm.ObjectReader(this._options).parse(this,t);if(null!==t&&/^\s*</.test(t))return new nm.XMLReader(this._options).parse(this,t);if(null!==t&&/^\s*[\{\[]/.test(t))return new nm.JSONReader(this._options).parse(this,t);if(null!==t&&/^(\s*|(#.*)|(%.*))*---/.test(t))return new nm.YAMLReader(this._options).parse(this,t);if((null===t||ry.isString(t))&&ry.isString(r))u=(o=rm([t,r,n],3))[0],s=o[1],l=o[2];else if(null!==t)u=(i=rm([void 0,t,ry.isObject(r)?r:void 0],3))[0],s=i[1],l=i[2];else throw Error("Element name cannot be null. "+this._debugInfo());if(l&&(l=ry.getValue(l)),u=(a=rm(this._extractNamespace(rV.sanitizeInput(u,this._options.invalidCharReplacement),rV.sanitizeInput(s,this._options.invalidCharReplacement),!0),2))[0],s=a[1],void 0===u){var o,i,a,u,s,l,c=rm(rP.namespace_extractQName(s),1)[0];u=this.node.lookupNamespaceURI(c)}var p=null!=u?this._doc.createElementNS(u,s):this._doc.createElement(s);this.node.appendChild(p);var d=new e(p),f=this._doc.doctype;if(p===this._doc.documentElement&&null!==f){var h=this._doc.implementation.createDocumentType(this._doc.documentElement.tagName,f.publicId,f.systemId);this._doc.replaceChild(h,f)}return l&&!ry.isEmpty(l)&&d.att(l),d},e.prototype.remove=function(){var e=this.up();return e.node.removeChild(this.node),e},e.prototype.att=function(e,t,r){var n,o,i,a,u,s,l=this;if(ry.isMap(e)||ry.isObject(e))return ry.forEachObject(e,function(e,t){return l.att(e,t)},this),this;if(null!=e&&(e=ry.getValue(e+"")),null!=t&&(t=ry.getValue(t+"")),null!=r&&(r=ry.getValue(r+"")),(null===e||ry.isString(e))&&ry.isString(t)&&(null===r||ry.isString(r)))a=(n=rm([e,t,r],3))[0],u=n[1],s=n[2];else if(ry.isString(e)&&(null==t||ry.isString(t)))a=(o=rm([void 0,e,t],3))[0],u=o[1],s=o[2];else throw Error("Attribute name and value not specified. "+this._debugInfo());if(this._options.keepNullAttributes&&null==s)s="";else if(null==s)return this;if(!rq.Guard.isElementNode(this.node))throw Error("An attribute can only be assigned to an element node.");var c=this.node;a=(i=rm(this._extractNamespace(a,u,!1),2))[0],u=i[1],u=rV.sanitizeInput(u,this._options.invalidCharReplacement),a=rV.sanitizeInput(a,this._options.invalidCharReplacement),s=rV.sanitizeInput(s,this._options.invalidCharReplacement);var p=rm(rP.namespace_extractQName(u),2),d=p[0],f=p[1],h=rm(rP.namespace_extractQName(c.prefix?c.prefix+":"+c.localName:c.localName),1)[0],m=null;return"xmlns"===d?(a=rk.namespace.XMLNS,null===c.namespaceURI&&h===f&&(m=s)):null===d&&"xmlns"===f&&null===h&&(a=rk.namespace.XMLNS,m=s),null!==m&&(this._updateNamespace(m),c=this.node),void 0!==a?c.setAttributeNS(a,u,s):c.setAttribute(u,s),this},e.prototype.removeAtt=function(e,t){var r,n,o=this;if(!rq.Guard.isElementNode(this.node))throw Error("An attribute can only be removed from an element node.");if(e=ry.getValue(e),void 0!==t&&(t=ry.getValue(t)),null!==e&&void 0===t)n=e;else if((null===e||ry.isString(e))&&void 0!==t)r=e,n=t;else throw Error("Attribute namespace must be a string. "+this._debugInfo());return ry.isArray(n)||ry.isSet(n)?ry.forEachArray(n,function(e){return void 0===r?o.removeAtt(e):o.removeAtt(r,e)},this):void 0!==r?(n=rV.sanitizeInput(n,this._options.invalidCharReplacement),r=rV.sanitizeInput(r,this._options.invalidCharReplacement),this.node.removeAttributeNS(r,n)):(n=rV.sanitizeInput(n,this._options.invalidCharReplacement),this.node.removeAttribute(n)),this},e.prototype.txt=function(e){if(null==e)if(!this._options.keepNullNodes)return this;else e="";var t=this._doc.createTextNode(rV.sanitizeInput(e,this._options.invalidCharReplacement));return this.node.appendChild(t),this},e.prototype.com=function(e){if(null==e)if(!this._options.keepNullNodes)return this;else e="";var t=this._doc.createComment(rV.sanitizeInput(e,this._options.invalidCharReplacement));return this.node.appendChild(t),this},e.prototype.dat=function(e){if(null==e)if(!this._options.keepNullNodes)return this;else e="";var t=this._doc.createCDATASection(rV.sanitizeInput(e,this._options.invalidCharReplacement));return this.node.appendChild(t),this},e.prototype.ins=function(e,t){var r=this;if(void 0===t&&(t=""),null==t)if(!this._options.keepNullNodes)return this;else t="";if(ry.isArray(e)||ry.isSet(e))ry.forEachArray(e,function(e){var t=(e+="").indexOf(" "),n=-1===t?e:e.substr(0,t),o=-1===t?"":e.substr(t+1);r.ins(n,o)},this);else if(ry.isMap(e)||ry.isObject(e))ry.forEachObject(e,function(e,t){return r.ins(e,t)},this);else{var n=this._doc.createProcessingInstruction(rV.sanitizeInput(e,this._options.invalidCharReplacement),rV.sanitizeInput(t,this._options.invalidCharReplacement));this.node.appendChild(n)}return this},e.prototype.dec=function(e){return this._options.version=e.version||"1.0",this._options.encoding=e.encoding,this._options.standalone=e.standalone,this},e.prototype.dtd=function(e){var t=rV.sanitizeInput(e&&e.name||(this._doc.documentElement?this._doc.documentElement.tagName:"ROOT"),this._options.invalidCharReplacement),r=rV.sanitizeInput(e&&e.pubID||"",this._options.invalidCharReplacement),n=rV.sanitizeInput(e&&e.sysID||"",this._options.invalidCharReplacement);if(null!==this._doc.documentElement&&t!==this._doc.documentElement.tagName)throw Error("DocType name does not match document element name.");var o=this._doc.implementation.createDocumentType(t,r,n);return null!==this._doc.doctype?this._doc.replaceChild(o,this._doc.doctype):this._doc.insertBefore(o,this._doc.documentElement),this},e.prototype.import=function(t){var r,n,o=this._domNode,i=this._doc,a=t.node;if(rq.Guard.isDocumentNode(a)){var u=a.documentElement;if(null===u)throw Error("Imported document has no document element node. "+this._debugInfo());var s=i.importNode(u,!0);o.appendChild(s);var l=rm(rP.namespace_extractQName(s.prefix?s.prefix+":"+s.localName:s.localName),1)[0],c=o.lookupNamespaceURI(l);new e(s)._updateNamespace(c)}else if(rq.Guard.isDocumentFragmentNode(a))try{for(var p=rD(a.childNodes),d=p.next();!d.done;d=p.next()){var f=d.value,s=i.importNode(f,!0);if(o.appendChild(s),rq.Guard.isElementNode(s)){var l=rm(rP.namespace_extractQName(s.prefix?s.prefix+":"+s.localName:s.localName),1)[0],c=o.lookupNamespaceURI(l);new e(s)._updateNamespace(c)}}}catch(e){r={error:e}}finally{try{d&&!d.done&&(n=p.return)&&n.call(p)}finally{if(r)throw r.error}}else{var s=i.importNode(a,!0);if(o.appendChild(s),rq.Guard.isElementNode(s)){var l=rm(rP.namespace_extractQName(s.prefix?s.prefix+":"+s.localName:s.localName),1)[0],c=o.lookupNamespaceURI(l);new e(s)._updateNamespace(c)}}return this},e.prototype.doc=function(){if(!this._doc._isFragment)return new e(this._doc);for(var t=this.node;t&&t.nodeType!==rC.NodeType.DocumentFragment;)t=t.parentNode;if(null===t)throw Error("Node has no parent node while searching for document fragment ancestor. "+this._debugInfo());return new e(t)},e.prototype.root=function(){var t=this._doc.documentElement;if(!t)throw Error("Document root element is null. "+this._debugInfo());return new e(t)},e.prototype.up=function(){var t=this._domNode.parentNode;if(!t)throw Error("Parent node is null. "+this._debugInfo());return new e(t)},e.prototype.prev=function(){var t=this._domNode.previousSibling;if(!t)throw Error("Previous sibling node is null. "+this._debugInfo());return new e(t)},e.prototype.next=function(){var t=this._domNode.nextSibling;if(!t)throw Error("Next sibling node is null. "+this._debugInfo());return new e(t)},e.prototype.first=function(){var t=this._domNode.firstChild;if(!t)throw Error("First child node is null. "+this._debugInfo());return new e(t)},e.prototype.last=function(){var t=this._domNode.lastChild;if(!t)throw Error("Last child node is null. "+this._debugInfo());return new e(t)},e.prototype.each=function(t,r,n,o){void 0===r&&(r=!1),void 0===n&&(n=!1);for(var i=this._getFirstDescendantNode(this._domNode,r,n);i[0];){var a=this._getNextDescendantNode(this._domNode,i[0],n,i[1],i[2]);t.call(o,new e(i[0]),i[1],i[2]),i=a}return this},e.prototype.map=function(e,t,r,n){void 0===t&&(t=!1),void 0===r&&(r=!1);var o=[];return this.each(function(t,r,i){return o.push(e.call(n,t,r,i))},t,r),o},e.prototype.reduce=function(e,t,r,n,o){void 0===r&&(r=!1),void 0===n&&(n=!1);var i=t;return this.each(function(t,r,n){return i=e.call(o,i,t,r,n)},r,n),i},e.prototype.find=function(t,r,n,o){void 0===r&&(r=!1),void 0===n&&(n=!1);for(var i=this._getFirstDescendantNode(this._domNode,r,n);i[0];){var a=new e(i[0]);if(t.call(o,a,i[1],i[2]))return a;i=this._getNextDescendantNode(this._domNode,i[0],n,i[1],i[2])}},e.prototype.filter=function(e,t,r,n){void 0===t&&(t=!1),void 0===r&&(r=!1);var o=[];return this.each(function(t,r,i){e.call(n,t,r,i)&&o.push(t)},t,r),o},e.prototype.every=function(t,r,n,o){void 0===r&&(r=!1),void 0===n&&(n=!1);for(var i=this._getFirstDescendantNode(this._domNode,r,n);i[0];){var a=new e(i[0]);if(!t.call(o,a,i[1],i[2]))return!1;i=this._getNextDescendantNode(this._domNode,i[0],n,i[1],i[2])}return!0},e.prototype.some=function(t,r,n,o){void 0===r&&(r=!1),void 0===n&&(n=!1);for(var i=this._getFirstDescendantNode(this._domNode,r,n);i[0];){var a=new e(i[0]);if(t.call(o,a,i[1],i[2]))return!0;i=this._getNextDescendantNode(this._domNode,i[0],n,i[1],i[2])}return!1},e.prototype.toArray=function(e,t){void 0===e&&(e=!1),void 0===t&&(t=!1);var r=[];return this.each(function(e){return r.push(e)},e,t),r},e.prototype.toString=function(e){return void 0===(e=e||{}).format&&(e.format="xml"),this._serialize(e)},e.prototype.toObject=function(e){return void 0===(e=e||{}).format&&(e.format="object"),this._serialize(e)},e.prototype.end=function(e){return void 0===(e=e||{}).format&&(e.format="xml"),this.doc()._serialize(e)},e.prototype._getFirstDescendantNode=function(e,t,r){return t?[this._domNode,0,0]:r?this._getNextDescendantNode(e,e,r,0,0):[this._domNode.firstChild,0,1]},e.prototype._getNextDescendantNode=function(e,t,r,n,o){if(r){if(t.firstChild)return[t.firstChild,0,o+1];if(t===e)return[null,-1,-1];if(t.nextSibling)return[t.nextSibling,n+1,o];for(var i=t.parentNode;i&&i!==e;){if(i.nextSibling)return[i.nextSibling,rP.tree_index(i.nextSibling),o-1];i=i.parentNode,o--}}else if(e===t)return[t.firstChild,0,o+1];else return[t.nextSibling,n+1,o];return[null,-1,-1]},e.prototype._serialize=function(e){if("xml"===e.format){var t=new r_.XMLWriter(this._options,e);return t.serialize(this.node)}if("map"===e.format){var t=new r_.MapWriter(this._options,e);return t.serialize(this.node)}if("object"===e.format){var t=new r_.ObjectWriter(this._options,e);return t.serialize(this.node)}if("json"===e.format){var t=new r_.JSONWriter(this._options,e);return t.serialize(this.node)}if("yaml"===e.format){var t=new r_.YAMLWriter(this._options,e);return t.serialize(this.node)}else throw Error("Invalid writer format: "+e.format+". "+this._debugInfo())},e.prototype._extractNamespace=function(e,t,r){var n=t.indexOf("@");if(n>0&&(void 0===e&&(e=t.slice(n+1)),t=t.slice(0,n)),void 0===e)e=r?this._options.defaultNamespace.ele:this._options.defaultNamespace.att;else if(null!==e&&"@"===e[0]){var o=e.slice(1);if(void 0===(e=this._options.namespaceAlias[o]))throw Error("Namespace alias `"+o+"` is not defined. "+this._debugInfo())}return[e,t]},e.prototype._updateNamespace=function(t){var r,n,o,i,a=this._domNode;if(rq.Guard.isElementNode(a)&&null!==t&&a.namespaceURI!==t){var u=rm(rP.namespace_extractQName(a.prefix?a.prefix+":"+a.localName:a.localName),2),s=u[0],l=u[1],c=rP.create_element(this._doc,l,t,s);try{for(var p=rD(a.attributes),d=p.next();!d.done;d=p.next()){var f=d.value,h=f.prefix?f.prefix+":"+f.localName:f.localName,m=rm(rP.namespace_extractQName(h),1)[0],D=f.namespaceURI;null===D&&null!==m&&(D=a.lookupNamespaceURI(m)),null===D?c.setAttribute(h,f.value):c.setAttributeNS(D,h,f.value)}}catch(e){r={error:e}}finally{try{d&&!d.done&&(n=p.return)&&n.call(p)}finally{if(r)throw r.error}}var g=a.parentNode;if(null===g)throw Error("Parent node is null."+this._debugInfo());g.replaceChild(c,a),this._domNode=c;try{for(var y=rD(a.childNodes),_=y.next();!_.done;_=y.next()){var v=_.value.cloneNode(!0);if(c.appendChild(v),rq.Guard.isElementNode(v)){var b=rm(rP.namespace_extractQName(v.prefix?v.prefix+":"+v.localName:v.localName),1)[0],x=c.lookupNamespaceURI(b);new e(v)._updateNamespace(x)}}}catch(e){o={error:e}}finally{try{_&&!_.done&&(i=y.return)&&i.call(y)}finally{if(o)throw o.error}}}},Object.defineProperty(e.prototype,"_doc",{get:function(){var e=this.node;if(rq.Guard.isDocumentNode(e))return e;var t=e.ownerDocument;if(!t)throw Error("Owner document is null. "+this._debugInfo());return t},enumerable:!0,configurable:!0}),e.prototype._debugInfo=function(e){var t=this.node,r=t.parentNode;e=e||t.nodeName;var n=r?r.nodeName:"";return n?"node: <"+e+">, parent: <"+n+">":"node: <"+e+">"},Object.defineProperty(e.prototype,"_options",{get:function(){var e=this._doc;if(void 0===e._xmlBuilderOptions)throw Error("Builder options is not set.");return e._xmlBuilderOptions},set:function(e){this._doc._xmlBuilderOptions=e},enumerable:!0,configurable:!0}),e}(),rf.XMLBuilderImpl=rh.XMLBuilderImpl;var ob={},ox=ob&&ob.__extends||(E=function(e,t){return(E=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}E(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),oE=ob&&ob.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},ow=ob&&ob.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)a.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return a};Object.defineProperty(ob,"__esModule",{value:!0});var ry=ee("jDPAV"),oC={};Object.defineProperty(oC,"__esModule",{value:!0});var ry=ee("jDPAV"),rq=ee("cnpfV");function oA(e,t){var r=oT(void 0===e||oN(e)?e:rg.DefaultBuilderOptions),n=oN(e)?t:e,o=rV.createDocument();oS(o,r);var i=new rf.XMLBuilderImpl(o);return void 0!==n&&i.ele(n),i}function oN(e){if(!ry.isPlainObject(e))return!1;for(var t in e)if(e.hasOwnProperty(t)&&!rg.XMLBuilderOptionKeys.has(t))return!1;return!0}function oT(e){void 0===e&&(e={});var t=ry.applyDefaults(e,rg.DefaultBuilderOptions);if(0===t.convert.att.length||0===t.convert.ins.length||0===t.convert.text.length||0===t.convert.cdata.length||0===t.convert.comment.length)throw Error("JS object converter strings cannot be zero length.");return t}function oS(e,t,r){e._xmlBuilderOptions=t,e._isFragment=r}oC.builder=function(e,t){var r=oT(oN(e)?e:rg.DefaultBuilderOptions),n=rq.Guard.isNode(e)||ry.isArray(e)?e:t;if(void 0===n)throw Error("Invalid arguments.");if(ry.isArray(n)){for(var o=[],i=0;i<n.length;i++){var a=new rf.XMLBuilderImpl(n[i]);a.set(r),o.push(a)}return o}var u=new rf.XMLBuilderImpl(n);return u.set(r),u},oC.create=oA,oC.fragment=function(e,t){var r=oT(void 0===e||oN(e)?e:rg.DefaultBuilderOptions),n=oN(e)?t:e,o=rV.createDocument();oS(o,r,!0);var i=new rf.XMLBuilderImpl(o.createDocumentFragment());return void 0!==n&&i.ele(n),i},oC.convert=function(e,t,r){var n,o,i;return oN(e)&&void 0!==t?(n=e,o=t,i=r):(n=rg.DefaultBuilderOptions,o=e,i=t||void 0),oA(n,o).end(i)};var rP=ee("eOMTm"),rk=ee("b9DcM"),rq=ee("cnpfV"),oF={},oO=oF&&oF.__extends||(w=function(e,t){return(w=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}w(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(oF,"__esModule",{value:!0});var ok={};Object.defineProperty(ok,"__esModule",{value:!0}),ok.BaseCBWriter=function(e){this.level=0,this._builderOptions=e,this._writerOptions=e},oF.XMLCBWriter=function(e){function t(t){var r=e.call(this,t)||this;return r._lineLength=0,r}return oO(t,e),t.prototype.frontMatter=function(){return""},t.prototype.declaration=function(e,t,r){var n=this._beginLine()+"<?xml";return n+=' version="'+e+'"',void 0!==t&&(n+=' encoding="'+t+'"'),void 0!==r&&(n+=' standalone="'+(r?"yes":"no")+'"'),n+="?>"},t.prototype.docType=function(e,t,r){var n=this._beginLine();return t&&r?n+="<!DOCTYPE "+e+' PUBLIC "'+t+'" "'+r+'">':t?n+="<!DOCTYPE "+e+' PUBLIC "'+t+'">':r?n+="<!DOCTYPE "+e+' SYSTEM "'+r+'">':n+="<!DOCTYPE "+e+">",n},t.prototype.comment=function(e){return this._beginLine()+"\x3c!--"+e+"--\x3e"},t.prototype.text=function(e){return this._beginLine()+e},t.prototype.instruction=function(e,t){return t?this._beginLine()+"<?"+e+" "+t+"?>":this._beginLine()+"<?"+e+"?>"},t.prototype.cdata=function(e){return this._beginLine()+"<![CDATA["+e+"]]>"},t.prototype.openTagBegin=function(e){return this._lineLength+=1+e.length,this._beginLine()+"<"+e},t.prototype.openTagEnd=function(e,t,r){return r?" />":t?this._writerOptions.allowEmptyTags?"></"+e+">":this._writerOptions.spaceBeforeSlash?" />":"/>":">"},t.prototype.closeTag=function(e){return this._beginLine()+"</"+e+">"},t.prototype.attribute=function(e,t){var r=e+'="'+t+'"';return this._writerOptions.prettyPrint&&this._writerOptions.width>0&&this._lineLength+1+r.length>this._writerOptions.width?(r=this._beginLine()+this._indent(1)+r,this._lineLength=r.length,r):(this._lineLength+=1+r.length," "+r)},t.prototype.beginElement=function(e){},t.prototype.endElement=function(e){},t.prototype._beginLine=function(){if(!this._writerOptions.prettyPrint)return"";var e=(this.hasData?this._writerOptions.newline:"")+this._indent(this._writerOptions.offset+this.level);return this._lineLength=e.length,e},t.prototype._indent=function(e){return e<=0?"":this._writerOptions.indent.repeat(e)},t}(ok.BaseCBWriter);var oP={},oL=oP&&oP.__extends||(C=function(e,t){return(C=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}C(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(oP,"__esModule",{value:!0}),oP.JSONCBWriter=function(e){function t(t){var r=e.call(this,t)||this;return r._hasChildren=[],r._additionalLevel=0,r}return oL(t,e),t.prototype.frontMatter=function(){return""},t.prototype.declaration=function(e,t,r){return""},t.prototype.docType=function(e,t,r){return""},t.prototype.comment=function(e){return this._comma()+this._beginLine()+"{"+this._sep()+this._key(this._builderOptions.convert.comment)+this._sep()+this._val(e)+this._sep()+"}"},t.prototype.text=function(e){return this._comma()+this._beginLine()+"{"+this._sep()+this._key(this._builderOptions.convert.text)+this._sep()+this._val(e)+this._sep()+"}"},t.prototype.instruction=function(e,t){return this._comma()+this._beginLine()+"{"+this._sep()+this._key(this._builderOptions.convert.ins)+this._sep()+this._val(t?e+" "+t:e)+this._sep()+"}"},t.prototype.cdata=function(e){return this._comma()+this._beginLine()+"{"+this._sep()+this._key(this._builderOptions.convert.cdata)+this._sep()+this._val(e)+this._sep()+"}"},t.prototype.attribute=function(e,t){return this._comma()+this._beginLine(1)+"{"+this._sep()+this._key(this._builderOptions.convert.att+e)+this._sep()+this._val(t)+this._sep()+"}"},t.prototype.openTagBegin=function(e){var t=this._comma()+this._beginLine()+"{"+this._sep()+this._key(e)+this._sep()+"{";return this._additionalLevel++,this.hasData=!0,t+=this._beginLine()+this._key(this._builderOptions.convert.text)+this._sep()+"[",this._hasChildren.push(!1),t},t.prototype.openTagEnd=function(e,t,r){if(!t)return"";var n=this._sep()+"]";return this._additionalLevel--,n+=this._beginLine()+"}"+this._sep()+"}"},t.prototype.closeTag=function(e){var t=this._beginLine()+"]";return this._additionalLevel--,t+=this._beginLine()+"}"+this._sep()+"}"},t.prototype.beginElement=function(e){},t.prototype.endElement=function(e){this._hasChildren.pop()},t.prototype._beginLine=function(e){return(void 0===e&&(e=0),this._writerOptions.prettyPrint)?(this.hasData?this._writerOptions.newline:"")+this._indent(this._writerOptions.offset+this.level+e):""},t.prototype._indent=function(e){return e+this._additionalLevel<=0?"":this._writerOptions.indent.repeat(e+this._additionalLevel)},t.prototype._comma=function(){var e=this._hasChildren[this._hasChildren.length-1]?",":"";return this._hasChildren.length>0&&(this._hasChildren[this._hasChildren.length-1]=!0),e},t.prototype._sep=function(){return this._writerOptions.prettyPrint?" ":""},t.prototype._key=function(e){return'"'+e+'":'},t.prototype._val=function(e){return JSON.stringify(e)},t}(ok.BaseCBWriter);var oI={},oB=oI&&oI.__extends||(A=function(e,t){return(A=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}A(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(oI,"__esModule",{value:!0}),oI.YAMLCBWriter=function(e){function t(t){var r=e.call(this,t)||this;if(r._rootWritten=!1,r._additionalLevel=0,t.indent.length<2)throw Error("YAML indententation string must be at least two characters long.");if(t.offset<0)throw Error("YAML offset should be zero or a positive number.");return r}return oB(t,e),t.prototype.frontMatter=function(){return this._beginLine()+"---"},t.prototype.declaration=function(e,t,r){return""},t.prototype.docType=function(e,t,r){return""},t.prototype.comment=function(e){return this._beginLine()+this._key(this._builderOptions.convert.comment)+" "+this._val(e)},t.prototype.text=function(e){return this._beginLine()+this._key(this._builderOptions.convert.text)+" "+this._val(e)},t.prototype.instruction=function(e,t){return this._beginLine()+this._key(this._builderOptions.convert.ins)+" "+this._val(t?e+" "+t:e)},t.prototype.cdata=function(e){return this._beginLine()+this._key(this._builderOptions.convert.cdata)+" "+this._val(e)},t.prototype.attribute=function(e,t){this._additionalLevel++;var r=this._beginLine()+this._key(this._builderOptions.convert.att+e)+" "+this._val(t);return this._additionalLevel--,r},t.prototype.openTagBegin=function(e){var t=this._beginLine()+this._key(e);return this._rootWritten||(this._rootWritten=!0),this.hasData=!0,this._additionalLevel++,t+=this._beginLine(!0)+this._key(this._builderOptions.convert.text)},t.prototype.openTagEnd=function(e,t,r){return t?" "+this._val(""):""},t.prototype.closeTag=function(e){return this._additionalLevel--,""},t.prototype.beginElement=function(e){},t.prototype.endElement=function(e){},t.prototype._beginLine=function(e){return void 0===e&&(e=!1),(this.hasData?this._writerOptions.newline:"")+this._indent(this._writerOptions.offset+this.level,e)},t.prototype._indent=function(e,t){if(e+this._additionalLevel<=0)return"";var r=this._writerOptions.indent.repeat(e+this._additionalLevel);return!t&&this._rootWritten?r.substr(0,r.length-2)+"-"+r.substr(-1,1):r},t.prototype._key=function(e){return'"'+e+'":'},t.prototype._val=function(e){return JSON.stringify(e)},t}(ok.BaseCBWriter),ob.XMLBuilderCBImpl=function(e){function t(t,r){void 0===r&&(r=!1);var n=e.call(this)||this;return n._hasDeclaration=!1,n._docTypeName="",n._hasDocumentElement=!1,n._currentElementSerialized=!1,n._openTags=[],n._ended=!1,n._fragment=r,n._options=ry.applyDefaults(t||{},rg.DefaultXMLBuilderCBOptions),n._builderOptions={defaultNamespace:n._options.defaultNamespace,namespaceAlias:n._options.namespaceAlias},"json"===n._options.format?n._writer=new oP.JSONCBWriter(n._options):"yaml"===n._options.format?n._writer=new oI.YAMLCBWriter(n._options):n._writer=new oF.XMLCBWriter(n._options),void 0!==n._options.data&&n.on("data",n._options.data),void 0!==n._options.end&&n.on("end",n._options.end),void 0!==n._options.error&&n.on("error",n._options.error),n._prefixMap=new rO.NamespacePrefixMap,n._prefixMap.set("xml",rk.namespace.XML),n._prefixIndex={value:1},n._push(n._writer.frontMatter()),n}return ox(t,e),t.prototype.ele=function(e,t,r){var n,o;if(ry.isObject(e)||ry.isString(e)&&(/^\s*</.test(e)||/^\s*[\{\[]/.test(e)||/^(\s*|(#.*)|(%.*))*---/.test(e))){var i=oC.fragment().set(this._options);try{i.ele(e)}catch(e){return this.emit("error",e),this}try{for(var a=oE(i.node.childNodes),u=a.next();!u.done;u=a.next()){var s=u.value;this._fromNode(s)}}catch(e){n={error:e}}finally{try{u&&!u.done&&(o=a.return)&&o.call(a)}finally{if(n)throw n.error}}return this}if(this._serializeOpenTag(!0),!this._fragment&&this._hasDocumentElement&&0===this._writer.level)return this.emit("error",Error("Document cannot have multiple document element nodes.")),this;try{this._currentElement=oC.fragment(this._builderOptions).ele(e,t,r)}catch(e){return this.emit("error",e),this}return this._fragment||this._hasDocumentElement||""===this._docTypeName||this._currentElement.node._qualifiedName===this._docTypeName?(this._currentElementSerialized=!1,this._fragment||(this._hasDocumentElement=!0)):this.emit("error",Error("Document element name does not match DocType declaration name.")),this},t.prototype.att=function(e,t,r){if(void 0===this._currentElement)return this.emit("error",Error("Cannot insert an attribute node as child of a document node.")),this;try{this._currentElement.att(e,t,r)}catch(e){this.emit("error",e)}return this},t.prototype.com=function(e){var t;this._serializeOpenTag(!0);try{t=oC.fragment(this._builderOptions).com(e).first().node}catch(e){return this.emit("error",e),this}return this._options.wellFormed&&(!rP.xml_isLegalChar(t.data)||-1!==t.data.indexOf("--")||t.data.endsWith("-"))?this.emit("error",Error("Comment data contains invalid characters (well-formed required).")):this._push(this._writer.comment(t.data)),this},t.prototype.txt=function(e){if(!this._fragment&&void 0===this._currentElement)return this.emit("error",Error("Cannot insert a text node as child of a document node.")),this;this._serializeOpenTag(!0);try{t=oC.fragment(this._builderOptions).txt(e).first().node}catch(e){return this.emit("error",e),this}if(this._options.wellFormed&&!rP.xml_isLegalChar(t.data))return this.emit("error",Error("Text data contains invalid characters (well-formed required).")),this;var t,r=t.data.replace(/(?!&(lt|gt|amp|apos|quot);)&/g,"&").replace(/</g,"<").replace(/>/g,">");return this._push(this._writer.text(r)),this},t.prototype.ins=function(e,t){var r;void 0===t&&(t=""),this._serializeOpenTag(!0);try{r=oC.fragment(this._builderOptions).ins(e,t).first().node}catch(e){return this.emit("error",e),this}return this._options.wellFormed&&(-1!==r.target.indexOf(":")||/^xml$/i.test(r.target))?this.emit("error",Error("Processing instruction target contains invalid characters (well-formed required).")):this._options.wellFormed&&!rP.xml_isLegalChar(r.data)?this.emit("error",Error("Processing instruction data contains invalid characters (well-formed required).")):this._push(this._writer.instruction(r.target,r.data)),this},t.prototype.dat=function(e){var t;this._serializeOpenTag(!0);try{t=oC.fragment(this._builderOptions).dat(e).first().node}catch(e){return this.emit("error",e),this}return this._push(this._writer.cdata(t.data)),this},t.prototype.dec=function(e){return(void 0===e&&(e={version:"1.0"}),this._fragment)?this.emit("error",Error("Cannot insert an XML declaration into a document fragment.")):this._hasDeclaration?this.emit("error",Error("XML declaration is already inserted.")):(this._push(this._writer.declaration(e.version||"1.0",e.encoding,e.standalone)),this._hasDeclaration=!0),this},t.prototype.dtd=function(e){var t;if(this._fragment)return this.emit("error",Error("Cannot insert a DocType declaration into a document fragment.")),this;if(""!==this._docTypeName)return this.emit("error",Error("DocType declaration is already inserted.")),this;if(this._hasDocumentElement)return this.emit("error",Error("Cannot insert DocType declaration after document element.")),this;try{t=oC.create().dtd(e).first().node}catch(e){return this.emit("error",e),this}return this._options.wellFormed&&!rP.xml_isPubidChar(t.publicId)?this.emit("error",Error("DocType public identifier does not match PubidChar construct (well-formed required).")):this._options.wellFormed&&(!rP.xml_isLegalChar(t.systemId)||-1!==t.systemId.indexOf('"')&&-1!==t.systemId.indexOf("'"))?this.emit("error",Error("DocType system identifier contains invalid characters (well-formed required).")):(this._docTypeName=e.name,this._push(this._writer.docType(e.name,t.publicId,t.systemId))),this},t.prototype.import=function(e){var t,r,n=oC.fragment().set(this._options);try{n.import(e)}catch(e){return this.emit("error",e),this}try{for(var o=oE(n.node.childNodes),i=o.next();!i.done;i=o.next()){var a=i.value;this._fromNode(a)}}catch(e){t={error:e}}finally{try{i&&!i.done&&(r=o.return)&&r.call(o)}finally{if(t)throw t.error}}return this},t.prototype.up=function(){return this._serializeOpenTag(!1),this._serializeCloseTag(),this},t.prototype.end=function(){for(this._serializeOpenTag(!1);this._openTags.length>0;)this._serializeCloseTag();return this._push(null),this},t.prototype._serializeOpenTag=function(e){if(!this._currentElementSerialized&&void 0!==this._currentElement){var r=this._currentElement.node;if(this._options.wellFormed&&(-1!==r.localName.indexOf(":")||!rP.xml_isName(r.localName)))return void this.emit("error",Error("Node local name contains invalid characters (well-formed required)."));var n="",o=!1,i=this._prefixMap.copy(),a={},u=this._recordNamespaceInformation(r,i,a),s=0===this._openTags.length?null:this._openTags[this._openTags.length-1][1],l=r.namespaceURI;if(null===l&&(l=s),s===l)null!==u&&(o=!0),n=l===rk.namespace.XML?"xml:"+r.localName:r.localName,this._writer.beginElement(n),this._push(this._writer.openTagBegin(n));else{var c=r.prefix,p=null;if((null!==c||l!==u)&&(p=i.get(c,l)),"xmlns"===c){if(this._options.wellFormed)return void this.emit("error",Error("An element cannot have the 'xmlns' prefix (well-formed required)."));p=c}null!==p?(n=p+":"+r.localName,null!==u&&u!==rk.namespace.XML&&(s=u||null),this._writer.beginElement(n),this._push(this._writer.openTagBegin(n))):null!==c?(c in a&&(c=this._generatePrefix(l,i,this._prefixIndex)),i.set(c,l),n+=c+":"+r.localName,this._writer.beginElement(n),this._push(this._writer.openTagBegin(n)),this._push(this._writer.attribute("xmlns:"+c,this._serializeAttributeValue(l,this._options.wellFormed))),null!==u&&(s=u||null)):null===u||null!==u&&u!==l?(o=!0,n+=r.localName,s=l,this._writer.beginElement(n),this._push(this._writer.openTagBegin(n)),this._push(this._writer.attribute("xmlns",this._serializeAttributeValue(l,this._options.wellFormed)))):(n+=r.localName,s=l,this._writer.beginElement(n),this._push(this._writer.openTagBegin(n)))}this._serializeAttributes(r,i,this._prefixIndex,a,o,this._options.wellFormed);var d=l===rk.namespace.HTML;d&&!e&&t._VoidElementNames.has(r.localName)?(this._push(this._writer.openTagEnd(n,!0,!0)),this._writer.endElement(n)):d||e?this._push(this._writer.openTagEnd(n,!1,!1)):(this._push(this._writer.openTagEnd(n,!0,!1)),this._writer.endElement(n)),this._currentElementSerialized=!0,this._openTags.push([n,s,this._prefixMap,e]),this._isPrefixMapModified(this._prefixMap,i)&&(this._prefixMap=i),this._writer.level++}},t.prototype._serializeCloseTag=function(){this._writer.level--;var e=this._openTags.pop();if(void 0===e)return void this.emit("error",Error("Last element is undefined."));var t=ow(e,4),r=t[0],n=(t[1],t[2]),o=t[3];this._prefixMap=n,o&&(this._push(this._writer.closeTag(r)),this._writer.endElement(r))},t.prototype._push=function(e){null===e?(this._ended=!0,this.emit("end")):this._ended?this.emit("error",Error("Cannot push to ended stream.")):0!==e.length&&(this._writer.hasData=!0,this.emit("data",e,this._writer.level))},t.prototype._fromNode=function(e){var t,r,n,o;if(rq.Guard.isElementNode(e)){var i=e.prefix?e.prefix+":"+e.localName:e.localName;null!==e.namespaceURI?this.ele(e.namespaceURI,i):this.ele(i);try{for(var a=oE(e.attributes),u=a.next();!u.done;u=a.next()){var s=u.value,l=s.prefix?s.prefix+":"+s.localName:s.localName;null!==s.namespaceURI?this.att(s.namespaceURI,l,s.value):this.att(l,s.value)}}catch(e){t={error:e}}finally{try{u&&!u.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}try{for(var c=oE(e.childNodes),p=c.next();!p.done;p=c.next()){var d=p.value;this._fromNode(d)}}catch(e){n={error:e}}finally{try{p&&!p.done&&(o=c.return)&&o.call(c)}finally{if(n)throw n.error}}this.up()}else rq.Guard.isExclusiveTextNode(e)&&e.data?this.txt(e.data):rq.Guard.isCommentNode(e)?this.com(e.data):rq.Guard.isCDATASectionNode(e)?this.dat(e.data):rq.Guard.isProcessingInstructionNode(e)&&this.ins(e.target,e.data)},t.prototype._serializeAttributes=function(e,t,r,n,o,i){var a,u,s=i?new rF.LocalNameSet:void 0;try{for(var l=oE(e.attributes),c=l.next();!c.done;c=l.next()){var p=c.value;if(!i&&!o&&null===p.namespaceURI){this._push(this._writer.attribute(p.localName,this._serializeAttributeValue(p.value,this._options.wellFormed)));continue}if(i&&s&&s.has(p.namespaceURI,p.localName))return void this.emit("error",Error("Element contains duplicate attributes (well-formed required)."));i&&s&&s.set(p.namespaceURI,p.localName);var d=p.namespaceURI,f=null;if(null!==d)if(f=t.get(p.prefix,d),d===rk.namespace.XMLNS){if(p.value===rk.namespace.XML||null===p.prefix&&o||null!==p.prefix&&(!(p.localName in n)||n[p.localName]!==p.value)&&t.has(p.localName,p.value))continue;if(i&&p.value===rk.namespace.XMLNS)return void this.emit("error",Error("XMLNS namespace is reserved (well-formed required)."));if(i&&""===p.value)return void this.emit("error",Error("Namespace prefix declarations cannot be used to undeclare a namespace (well-formed required)."));"xmlns"===p.prefix&&(f="xmlns")}else null===f&&(f=null!==p.prefix&&(!t.hasPrefix(p.prefix)||t.has(p.prefix,d))?p.prefix:this._generatePrefix(d,t,r),this._push(this._writer.attribute("xmlns:"+f,this._serializeAttributeValue(d,this._options.wellFormed))));if(i&&(-1!==p.localName.indexOf(":")||!rP.xml_isName(p.localName)||"xmlns"===p.localName&&null===d))return void this.emit("error",Error("Attribute local name contains invalid characters (well-formed required)."));this._push(this._writer.attribute((null!==f?f+":":"")+p.localName,this._serializeAttributeValue(p.value,this._options.wellFormed)))}}catch(e){a={error:e}}finally{try{c&&!c.done&&(u=l.return)&&u.call(l)}finally{if(a)throw a.error}}},t.prototype._serializeAttributeValue=function(e,t){return t&&null!==e&&!rP.xml_isLegalChar(e)?(this.emit("error",Error("Invalid characters in attribute value.")),""):null===e?"":e.replace(/(?!&(lt|gt|amp|apos|quot);)&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""")},t.prototype._recordNamespaceInformation=function(e,t,r){var n,o,i=null;try{for(var a=oE(e.attributes),u=a.next();!u.done;u=a.next()){var s=u.value,l=s.namespaceURI,c=s.prefix;if(l===rk.namespace.XMLNS)if(null===c){i=s.value;continue}else{var p=s.localName,d=s.value;if(d===rk.namespace.XML||(""===d&&(d=null),t.has(p,d)))continue;t.set(p,d),r[p]=d||""}}}catch(e){n={error:e}}finally{try{u&&!u.done&&(o=a.return)&&o.call(a)}finally{if(n)throw n.error}}return i},t.prototype._generatePrefix=function(e,t,r){var n="ns"+r.value;return r.value++,t.set(n,e),n},t.prototype._isPrefixMapModified=function(e,t){var r=e._items,n=t._items,o=e._nullItems,i=t._nullItems;for(var a in n){var u=r[a];if(void 0===u)return!0;var s=n[a];if(u.length!==s.length)return!0;for(var l=0;l<u.length;l++)if(u[l]!==s[l])return!0}if(o.length!==i.length)return!0;for(var l=0;l<o.length;l++)if(o[l]!==i[l])return!0;return!1},t._VoidElementNames=new Set(["area","base","basefont","bgsound","br","col","embed","frame","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"]),t}(p),rf.XMLBuilderCBImpl=ob.XMLBuilderCBImpl,rf.builder=oC.builder,rf.create=oC.create,rf.fragment=oC.fragment,rf.convert=oC.convert;var oq={};if(Object.defineProperty(oq,"__esModule",{value:!0}),oq.createCB=function(e){return new rf.XMLBuilderCBImpl(e)},oq.fragmentCB=function(e){return new rf.XMLBuilderCBImpl(e,!0)},rf.createCB=oq.createCB,rf.fragmentCB=oq.fragmentCB,rd.builder=rf.builder,rd.create=rf.create,rd.fragment=rf.fragment,rd.convert=rf.convert,rd.createCB=rf.createCB,rd.fragmentCB=rf.fragmentCB,process.argv[1]===new URL("file:///src/utils/yml2xml.js").pathname)try{let e=rt(n.readFileSync(process.argv[2],"utf8")),t=n.readFileSync(process.argv[3]);n.writeFileSync(`${process.argv[4]}`,oj(e,t,process.argv[5]),{encoding:"utf8",flag:"w"})}catch(e){console.log(e)}function oj(e,t,r="1.0"){let n=(0,rd.create)({version:"1.0",encoding:"UTF-8"}),o=n.ele("Module"),i=o.ele("ModulePrefs",{title:e.title,title_url:e.title_url,version:r,description:e.description,author:e.author,background:e.background});if(e.locales)for(let t of e.locales){let e=i.ele("Locale");t.lang&&e.att("lang",t.lang),e.att("messages",t.messages)}if(e.requirements)for(let t of e.requirements)i.ele("Require",{feature:t});if(e.prefs)for(let t of e.prefs){let e=i.ele("UserPref",{name:t.name,display_name:t.display_name,datatype:t.datatype,default_value:t.default_value,required:!!t.required,multiple:!!t.multiple,multiline:!!t.multiline});if("enum"===t.datatype)for(let r of t.options)e.ele("EnumValue",{value:r.value,display_value:r.display_value});t.depends&&function e(t,r){for(let n of t){let t=r.ele("DependsOn",{name:n.name,type:n.any_of?"any_of":n.all_of?"all_of":"none_of"});for(let r of[].concat(n.any_of,n.all_of,n.none_of).filter(e=>null!=e)){if(r.values)for(let e of r.values)t.ele("Value").txt(e);r.depends&&e(r.depends,t)}}}(t.depends,e)}i.ele("UserPref",{name:"rdW",display_name:"Width",datatype:"hidden",default_value:280,required:!0}),i.ele("UserPref",{name:"rdH",display_name:"Height",datatype:"hidden",default_value:190,required:!0}),i.ele("UserPref",{name:"rdKey",datatype:"hidden"}),i.ele("UserPref",{name:"ForeColor",datatype:"hidden"}),i.ele("UserPref",{name:"BackColor",datatype:"hidden"});var a=rr.parse.parse(t,{parseNoneClosedTags:!0});return o.ele("Content",{type:"html"}).ele({$:(a.querySelector("style")?.toString()||"")+a.querySelectorAll("script:not(body script)").map(e=>e.toString()).join("")+a.querySelectorAll("head > link[rel=stylesheet]").map(e=>e.toString()).join("")+(a.querySelector("body")?.toString()||"")}),n.end({prettyPrint:!0})}let oM=i(process.argv[1]),oR=process.argv.slice(2),oU=oR.includes("help")||oR.includes("--help")||oR.includes("-h"),oG=oR.includes("build-only")||oR.includes("--build-only"),oz=process.cwd();((e="")=>{process.stdout.write(`${X(ea).gray(eK)} ${e}
|
|
40
|
+
`)};X(ea).gray(eQ);var e9=function(e,t){var r,n="";for(r=0;r<t;r+=1)n+=e;return n},e4=function(e){return 0===e&&-1/0==1/e};function e7(e,t){var r="",n=e.reason||"(unknown reason)";return e.mark?(e.mark.name&&(r+='in "'+e.mark.name+'" '),r+="("+(e.mark.line+1)+":"+(e.mark.column+1)+")",!t&&e.mark.snippet&&(r+="\n\n"+e.mark.snippet),n+" "+r):n}function te(e,t){Error.call(this),this.name="YAMLException",this.reason=e,this.mark=t,this.message=e7(this,!1),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=Error().stack||""}function tt(e,t,r,n,o){var i="",a="",u=Math.floor(o/2)-1;return n-t>u&&(t=n-u+(i=" ... ").length),r-n>u&&(r=n+u-(a=" ...").length),{str:i+e.slice(t,r).replace(/\t/g,"→")+a,pos:n-t+i.length}}function tr(e,t){return e9(" ",t-e.length)+e}te.prototype=Object.create(Error.prototype),te.prototype.constructor=te,te.prototype.toString=function(e){return this.name+": "+e7(this,e)};var tn=function(e,t){if(t=Object.create(t||null),!e.buffer)return null;t.maxLength||(t.maxLength=79),"number"!=typeof t.indent&&(t.indent=1),"number"!=typeof t.linesBefore&&(t.linesBefore=3),"number"!=typeof t.linesAfter&&(t.linesAfter=2);for(var r=/\r?\n|\r|\0/g,n=[0],o=[],i=-1;a=r.exec(e.buffer);)o.push(a.index),n.push(a.index+a[0].length),e.position<=a.index&&i<0&&(i=n.length-2);i<0&&(i=n.length-1);var a,u,s,l="",c=Math.min(e.line+t.linesAfter,o.length).toString().length,p=t.maxLength-(t.indent+c+3);for(u=1;u<=t.linesBefore&&!(i-u<0);u++)s=tt(e.buffer,n[i-u],o[i-u],e.position-(n[i]-n[i-u]),p),l=e9(" ",t.indent)+tr((e.line-u+1).toString(),c)+" | "+s.str+"\n"+l;for(s=tt(e.buffer,n[i],o[i],e.position,p),l+=e9(" ",t.indent)+tr((e.line+1).toString(),c)+" | "+s.str+"\n"+e9("-",t.indent+c+3+s.pos)+"^\n",u=1;u<=t.linesAfter&&!(i+u>=o.length);u++)s=tt(e.buffer,n[i+u],o[i+u],e.position-(n[i]-n[i+u]),p),l+=e9(" ",t.indent)+tr((e.line+u+1).toString(),c)+" | "+s.str+"\n";return l.replace(/\n$/,"")},to=["kind","multi","resolve","construct","instanceOf","predicate","represent","representName","defaultStyle","styleAliases"],ti=["scalar","sequence","mapping"],ta=function(e,t){var r,n;if(Object.keys(t=t||{}).forEach(function(t){if(-1===to.indexOf(t))throw new te('Unknown option "'+t+'" is met in definition of "'+e+'" YAML type.')}),this.options=t,this.tag=e,this.kind=t.kind||null,this.resolve=t.resolve||function(){return!0},this.construct=t.construct||function(e){return e},this.instanceOf=t.instanceOf||null,this.predicate=t.predicate||null,this.represent=t.represent||null,this.representName=t.representName||null,this.defaultStyle=t.defaultStyle||null,this.multi=t.multi||!1,this.styleAliases=(r=t.styleAliases||null,n={},null!==r&&Object.keys(r).forEach(function(e){r[e].forEach(function(t){n[String(t)]=e})}),n),-1===ti.indexOf(this.kind))throw new te('Unknown kind "'+this.kind+'" is specified for "'+e+'" YAML type.')};function tu(e,t){var r=[];return e[t].forEach(function(e){var t=r.length;r.forEach(function(r,n){r.tag===e.tag&&r.kind===e.kind&&r.multi===e.multi&&(t=n)}),r[t]=e}),r}function ts(e){return this.extend(e)}ts.prototype.extend=function(e){var t=[],r=[];if(e instanceof ta)r.push(e);else if(Array.isArray(e))r=r.concat(e);else if(e&&(Array.isArray(e.implicit)||Array.isArray(e.explicit)))e.implicit&&(t=t.concat(e.implicit)),e.explicit&&(r=r.concat(e.explicit));else throw new te("Schema.extend argument should be a Type, [ Type ], or a schema definition ({ implicit: [...], explicit: [...] })");t.forEach(function(e){if(!(e instanceof ta))throw new te("Specified list of YAML types (or a single Type object) contains a non-Type object.");if(e.loadKind&&"scalar"!==e.loadKind)throw new te("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.");if(e.multi)throw new te("There is a multi type in the implicit list of a schema. Multi tags can only be listed as explicit.")}),r.forEach(function(e){if(!(e instanceof ta))throw new te("Specified list of YAML types (or a single Type object) contains a non-Type object.")});var n=Object.create(ts.prototype);return n.implicit=(this.implicit||[]).concat(t),n.explicit=(this.explicit||[]).concat(r),n.compiledImplicit=tu(n,"implicit"),n.compiledExplicit=tu(n,"explicit"),n.compiledTypeMap=function(){var e,t,r={scalar:{},sequence:{},mapping:{},fallback:{},multi:{scalar:[],sequence:[],mapping:[],fallback:[]}};function n(e){e.multi?(r.multi[e.kind].push(e),r.multi.fallback.push(e)):r[e.kind][e.tag]=r.fallback[e.tag]=e}for(e=0,t=arguments.length;e<t;e+=1)arguments[e].forEach(n);return r}(n.compiledImplicit,n.compiledExplicit),n};var tl=new ts({explicit:[new ta("tag:yaml.org,2002:str",{kind:"scalar",construct:function(e){return null!==e?e:""}}),new ta("tag:yaml.org,2002:seq",{kind:"sequence",construct:function(e){return null!==e?e:[]}}),new ta("tag:yaml.org,2002:map",{kind:"mapping",construct:function(e){return null!==e?e:{}}})]}),tc=new ta("tag:yaml.org,2002:null",{kind:"scalar",resolve:function(e){if(null===e)return!0;var t=e.length;return 1===t&&"~"===e||4===t&&("null"===e||"Null"===e||"NULL"===e)},construct:function(){return null},predicate:function(e){return null===e},represent:{canonical:function(){return"~"},lowercase:function(){return"null"},uppercase:function(){return"NULL"},camelcase:function(){return"Null"},empty:function(){return""}},defaultStyle:"lowercase"}),tp=new ta("tag:yaml.org,2002:bool",{kind:"scalar",resolve:function(e){if(null===e)return!1;var t=e.length;return 4===t&&("true"===e||"True"===e||"TRUE"===e)||5===t&&("false"===e||"False"===e||"FALSE"===e)},construct:function(e){return"true"===e||"True"===e||"TRUE"===e},predicate:function(e){return"[object Boolean]"===Object.prototype.toString.call(e)},represent:{lowercase:function(e){return e?"true":"false"},uppercase:function(e){return e?"TRUE":"FALSE"},camelcase:function(e){return e?"True":"False"}},defaultStyle:"lowercase"}),td=new ta("tag:yaml.org,2002:int",{kind:"scalar",resolve:function(e){if(null===e)return!1;var t,r,n,o,i=e.length,a=0,u=!1;if(!i)return!1;if(("-"===(o=e[a])||"+"===o)&&(o=e[++a]),"0"===o){if(a+1===i)return!0;if("b"===(o=e[++a])){for(a++;a<i;a++)if("_"!==(o=e[a])){if("0"!==o&&"1"!==o)return!1;u=!0}return u&&"_"!==o}if("x"===o){for(a++;a<i;a++)if("_"!==(o=e[a])){if(!(48<=(t=e.charCodeAt(a))&&t<=57||65<=t&&t<=70||97<=t&&t<=102))return!1;u=!0}return u&&"_"!==o}if("o"===o){for(a++;a<i;a++)if("_"!==(o=e[a])){if(!(48<=(r=e.charCodeAt(a))&&r<=55))return!1;u=!0}return u&&"_"!==o}}if("_"===o)return!1;for(;a<i;a++)if("_"!==(o=e[a])){if(!(48<=(n=e.charCodeAt(a))&&n<=57))return!1;u=!0}return!!u&&"_"!==o},construct:function(e){var t,r=e,n=1;if(-1!==r.indexOf("_")&&(r=r.replace(/_/g,"")),("-"===(t=r[0])||"+"===t)&&("-"===t&&(n=-1),t=(r=r.slice(1))[0]),"0"===r)return 0;if("0"===t){if("b"===r[1])return n*parseInt(r.slice(2),2);if("x"===r[1])return n*parseInt(r.slice(2),16);if("o"===r[1])return n*parseInt(r.slice(2),8)}return n*parseInt(r,10)},predicate:function(e){return"[object Number]"===Object.prototype.toString.call(e)&&e%1==0&&!e4(e)},represent:{binary:function(e){return e>=0?"0b"+e.toString(2):"-0b"+e.toString(2).slice(1)},octal:function(e){return e>=0?"0o"+e.toString(8):"-0o"+e.toString(8).slice(1)},decimal:function(e){return e.toString(10)},hexadecimal:function(e){return e>=0?"0x"+e.toString(16).toUpperCase():"-0x"+e.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}}),tf=RegExp("^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$"),th=/^[-+]?[0-9]+e/,tm=new ta("tag:yaml.org,2002:float",{kind:"scalar",resolve:function(e){return null!==e&&!!tf.test(e)&&"_"!==e[e.length-1]},construct:function(e){var t,r;return(r="-"===(t=e.replace(/_/g,"").toLowerCase())[0]?-1:1,"+-".indexOf(t[0])>=0&&(t=t.slice(1)),".inf"===t)?1===r?1/0:-1/0:".nan"===t?NaN:r*parseFloat(t,10)},predicate:function(e){return"[object Number]"===Object.prototype.toString.call(e)&&(e%1!=0||e4(e))},represent:function(e,t){var r;if(isNaN(e))switch(t){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(1/0===e)switch(t){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(-1/0===e)switch(t){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(e4(e))return"-0.0";return r=e.toString(10),th.test(r)?r.replace("e",".e"):r},defaultStyle:"lowercase"}),tD=tl.extend({implicit:[tc,tp,td,tm]}),tg=RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),ty=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]))?))?$"),t_=new ta("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:function(e){return null!==e&&(null!==tg.exec(e)||null!==ty.exec(e))},construct:function(e){var t,r,n,o,i,a,u,s,l=0,c=null;if(null===(t=tg.exec(e))&&(t=ty.exec(e)),null===t)throw Error("Date resolve error");if(r=+t[1],n=t[2]-1,o=+t[3],!t[4])return new Date(Date.UTC(r,n,o));if(i=+t[4],a=+t[5],u=+t[6],t[7]){for(l=t[7].slice(0,3);l.length<3;)l+="0";l*=1}return t[9]&&(c=(60*t[10]+ +(t[11]||0))*6e4,"-"===t[9]&&(c=-c)),s=new Date(Date.UTC(r,n,o,i,a,u,l)),c&&s.setTime(s.getTime()-c),s},instanceOf:Date,represent:function(e){return e.toISOString()}}),tv=new ta("tag:yaml.org,2002:merge",{kind:"scalar",resolve:function(e){return"<<"===e||null===e}}),tb="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\n\r",tx=new ta("tag:yaml.org,2002:binary",{kind:"scalar",resolve:function(e){if(null===e)return!1;var t,r,n=0,o=e.length;for(r=0;r<o;r++)if(!((t=tb.indexOf(e.charAt(r)))>64)){if(t<0)return!1;n+=6}return n%8==0},construct:function(e){var t,r,n=e.replace(/[\r\n=]/g,""),o=n.length,i=0,a=[];for(t=0;t<o;t++)t%4==0&&t&&(a.push(i>>16&255),a.push(i>>8&255),a.push(255&i)),i=i<<6|tb.indexOf(n.charAt(t));return 0==(r=o%4*6)?(a.push(i>>16&255),a.push(i>>8&255),a.push(255&i)):18===r?(a.push(i>>10&255),a.push(i>>2&255)):12===r&&a.push(i>>4&255),new Uint8Array(a)},predicate:function(e){return"[object Uint8Array]"===Object.prototype.toString.call(e)},represent:function(e){var t,r,n="",o=0,i=e.length;for(t=0;t<i;t++)t%3==0&&t&&(n+=tb[o>>18&63],n+=tb[o>>12&63],n+=tb[o>>6&63],n+=tb[63&o]),o=(o<<8)+e[t];return 0==(r=i%3)?(n+=tb[o>>18&63],n+=tb[o>>12&63],n+=tb[o>>6&63],n+=tb[63&o]):2===r?(n+=tb[o>>10&63],n+=tb[o>>4&63],n+=tb[o<<2&63],n+=tb[64]):1===r&&(n+=tb[o>>2&63],n+=tb[o<<4&63],n+=tb[64],n+=tb[64]),n}}),tE=Object.prototype.hasOwnProperty,tw=Object.prototype.toString,tC=new ta("tag:yaml.org,2002:omap",{kind:"sequence",resolve:function(e){if(null===e)return!0;var t,r,n,o,i,a=[];for(t=0,r=e.length;t<r;t+=1){if(n=e[t],i=!1,"[object Object]"!==tw.call(n))return!1;for(o in n)if(tE.call(n,o))if(i)return!1;else i=!0;if(!i||-1!==a.indexOf(o))return!1;a.push(o)}return!0},construct:function(e){return null!==e?e:[]}}),tA=Object.prototype.toString,tN=new ta("tag:yaml.org,2002:pairs",{kind:"sequence",resolve:function(e){var t,r,n,o,i;if(null===e)return!0;for(t=0,i=Array(e.length),r=e.length;t<r;t+=1){if(n=e[t],"[object Object]"!==tA.call(n)||1!==(o=Object.keys(n)).length)return!1;i[t]=[o[0],n[o[0]]]}return!0},construct:function(e){var t,r,n,o,i;if(null===e)return[];for(t=0,i=Array(e.length),r=e.length;t<r;t+=1)o=Object.keys(n=e[t]),i[t]=[o[0],n[o[0]]];return i}}),tT=Object.prototype.hasOwnProperty,tS=new ta("tag:yaml.org,2002:set",{kind:"mapping",resolve:function(e){var t;if(null===e)return!0;for(t in e)if(tT.call(e,t)&&null!==e[t])return!1;return!0},construct:function(e){return null!==e?e:{}}}),tF=tD.extend({implicit:[t_,tv],explicit:[tx,tC,tN,tS]}),tO=Object.prototype.hasOwnProperty,tk=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,tP=/[\x85\u2028\u2029]/,tL=/[,\[\]\{\}]/,tI=/^(?:!|!!|![a-z\-]+!)$/i,tB=/^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;function tq(e){return Object.prototype.toString.call(e)}function tj(e){return 10===e||13===e}function tM(e){return 9===e||32===e}function tR(e){return 9===e||32===e||10===e||13===e}function tU(e){return 44===e||91===e||93===e||123===e||125===e}function tG(e){return 48===e?"\0":97===e?"\x07":98===e?"\b":116===e||9===e?" ":110===e?"\n":118===e?"\v":102===e?"\f":114===e?"\r":101===e?"\x1b":32===e?" ":34===e?'"':47===e?"/":92===e?"\\":78===e?"
":95===e?" ":76===e?"\u2028":80===e?"\u2029":""}for(var tz=Array(256),tV=Array(256),tH=0;tH<256;tH++)tz[tH]=+!!tG(tH),tV[tH]=tG(tH);function tW(e,t){this.input=e,this.filename=t.filename||null,this.schema=t.schema||tF,this.onWarning=t.onWarning||null,this.legacy=t.legacy||!1,this.json=t.json||!1,this.listener=t.listener||null,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=e.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.firstTabInLine=-1,this.documents=[]}function t$(e,t){var r={name:e.filename,buffer:e.input.slice(0,-1),position:e.position,line:e.line,column:e.position-e.lineStart};return r.snippet=tn(r),new te(t,r)}function tY(e,t){throw t$(e,t)}function tX(e,t){e.onWarning&&e.onWarning.call(null,t$(e,t))}var tJ={YAML:function(e,t,r){var n,o,i;null!==e.version&&tY(e,"duplication of %YAML directive"),1!==r.length&&tY(e,"YAML directive accepts exactly one argument"),null===(n=/^([0-9]+)\.([0-9]+)$/.exec(r[0]))&&tY(e,"ill-formed argument of the YAML directive"),o=parseInt(n[1],10),i=parseInt(n[2],10),1!==o&&tY(e,"unacceptable YAML version of the document"),e.version=r[0],e.checkLineBreaks=i<2,1!==i&&2!==i&&tX(e,"unsupported YAML version of the document")},TAG:function(e,t,r){var n,o;2!==r.length&&tY(e,"TAG directive accepts exactly two arguments"),n=r[0],o=r[1],tI.test(n)||tY(e,"ill-formed tag handle (first argument) of the TAG directive"),tO.call(e.tagMap,n)&&tY(e,'there is a previously declared suffix for "'+n+'" tag handle'),tB.test(o)||tY(e,"ill-formed tag prefix (second argument) of the TAG directive");try{o=decodeURIComponent(o)}catch(t){tY(e,"tag prefix is malformed: "+o)}e.tagMap[n]=o}};function tK(e,t,r,n){var o,i,a,u;if(t<r){if(u=e.input.slice(t,r),n)for(o=0,i=u.length;o<i;o+=1)9===(a=u.charCodeAt(o))||32<=a&&a<=1114111||tY(e,"expected valid JSON character");else tk.test(u)&&tY(e,"the stream contains non-printable characters");e.result+=u}}function tQ(e,t,r,n){var o,i,a,u,s;for("object"==typeof(s=r)&&null!==s||tY(e,"cannot merge mappings; the provided source object is unacceptable"),a=0,u=(o=Object.keys(r)).length;a<u;a+=1)i=o[a],tO.call(t,i)||(t[i]=r[i],n[i]=!0)}function tZ(e,t,r,n,o,i,a,u,s){var l,c;if(Array.isArray(o))for(l=0,c=(o=Array.prototype.slice.call(o)).length;l<c;l+=1)Array.isArray(o[l])&&tY(e,"nested arrays are not supported inside keys"),"object"==typeof o&&"[object Object]"===tq(o[l])&&(o[l]="[object Object]");if("object"==typeof o&&"[object Object]"===tq(o)&&(o="[object Object]"),o=String(o),null===t&&(t={}),"tag:yaml.org,2002:merge"===n)if(Array.isArray(i))for(l=0,c=i.length;l<c;l+=1)tQ(e,t,i[l],r);else tQ(e,t,i,r);else!e.json&&!tO.call(r,o)&&tO.call(t,o)&&(e.line=a||e.line,e.lineStart=u||e.lineStart,e.position=s||e.position,tY(e,"duplicated mapping key")),"__proto__"===o?Object.defineProperty(t,o,{configurable:!0,enumerable:!0,writable:!0,value:i}):t[o]=i,delete r[o];return t}function t0(e){var t;10===(t=e.input.charCodeAt(e.position))?e.position++:13===t?(e.position++,10===e.input.charCodeAt(e.position)&&e.position++):tY(e,"a line break is expected"),e.line+=1,e.lineStart=e.position,e.firstTabInLine=-1}function t1(e,t,r){for(var n=0,o=e.input.charCodeAt(e.position);0!==o;){for(;tM(o);)9===o&&-1===e.firstTabInLine&&(e.firstTabInLine=e.position),o=e.input.charCodeAt(++e.position);if(t&&35===o)do o=e.input.charCodeAt(++e.position);while(10!==o&&13!==o&&0!==o)if(tj(o))for(t0(e),o=e.input.charCodeAt(e.position),n++,e.lineIndent=0;32===o;)e.lineIndent++,o=e.input.charCodeAt(++e.position);else break}return -1!==r&&0!==n&&e.lineIndent<r&&tX(e,"deficient indentation"),n}function t2(e){var t,r=e.position;return!!((45===(t=e.input.charCodeAt(r))||46===t)&&t===e.input.charCodeAt(r+1)&&t===e.input.charCodeAt(r+2)&&(r+=3,0===(t=e.input.charCodeAt(r))||tR(t)))||!1}function t3(e,t){1===t?e.result+=" ":t>1&&(e.result+=e9("\n",t-1))}function t8(e,t){var r,n,o=e.tag,i=e.anchor,a=[],u=!1;if(-1!==e.firstTabInLine)return!1;for(null!==e.anchor&&(e.anchorMap[e.anchor]=a),n=e.input.charCodeAt(e.position);0!==n&&(-1!==e.firstTabInLine&&(e.position=e.firstTabInLine,tY(e,"tab characters must not be used in indentation")),45===n&&tR(e.input.charCodeAt(e.position+1)));){if(u=!0,e.position++,t1(e,!0,-1)&&e.lineIndent<=t){a.push(null),n=e.input.charCodeAt(e.position);continue}if(r=e.line,t5(e,t,3,!1,!0),a.push(e.result),t1(e,!0,-1),n=e.input.charCodeAt(e.position),(e.line===r||e.lineIndent>t)&&0!==n)tY(e,"bad indentation of a sequence entry");else if(e.lineIndent<t)break}return!!u&&(e.tag=o,e.anchor=i,e.kind="sequence",e.result=a,!0)}function t5(e,t,r,n,o){var i,a,u,s,l,c,p,d,f,h=1,m=!1,D=!1;if(null!==e.listener&&e.listener("open",e),e.tag=null,e.anchor=null,e.kind=null,e.result=null,i=a=u=4===r||3===r,n&&t1(e,!0,-1)&&(m=!0,e.lineIndent>t?h=1:e.lineIndent===t?h=0:e.lineIndent<t&&(h=-1)),1===h)for(;function(e){var t,r,n,o,i=!1,a=!1;if(33!==(o=e.input.charCodeAt(e.position)))return!1;if(null!==e.tag&&tY(e,"duplication of a tag property"),60===(o=e.input.charCodeAt(++e.position))?(i=!0,o=e.input.charCodeAt(++e.position)):33===o?(a=!0,r="!!",o=e.input.charCodeAt(++e.position)):r="!",t=e.position,i){do o=e.input.charCodeAt(++e.position);while(0!==o&&62!==o)e.position<e.length?(n=e.input.slice(t,e.position),o=e.input.charCodeAt(++e.position)):tY(e,"unexpected end of the stream within a verbatim tag")}else{for(;0!==o&&!tR(o);)33===o&&(a?tY(e,"tag suffix cannot contain exclamation marks"):(r=e.input.slice(t-1,e.position+1),tI.test(r)||tY(e,"named tag handle cannot contain such characters"),a=!0,t=e.position+1)),o=e.input.charCodeAt(++e.position);n=e.input.slice(t,e.position),tL.test(n)&&tY(e,"tag suffix cannot contain flow indicator characters")}n&&!tB.test(n)&&tY(e,"tag name cannot contain such characters: "+n);try{n=decodeURIComponent(n)}catch(t){tY(e,"tag name is malformed: "+n)}return i?e.tag=n:tO.call(e.tagMap,r)?e.tag=e.tagMap[r]+n:"!"===r?e.tag="!"+n:"!!"===r?e.tag="tag:yaml.org,2002:"+n:tY(e,'undeclared tag handle "'+r+'"'),!0}(e)||function(e){var t,r;if(38!==(r=e.input.charCodeAt(e.position)))return!1;for(null!==e.anchor&&tY(e,"duplication of an anchor property"),r=e.input.charCodeAt(++e.position),t=e.position;0!==r&&!tR(r)&&!tU(r);)r=e.input.charCodeAt(++e.position);return e.position===t&&tY(e,"name of an anchor node must contain at least one character"),e.anchor=e.input.slice(t,e.position),!0}(e);)t1(e,!0,-1)?(m=!0,u=i,e.lineIndent>t?h=1:e.lineIndent===t?h=0:e.lineIndent<t&&(h=-1)):u=!1;if(u&&(u=m||o),(1===h||4===r)&&(d=1===r||2===r?t:t+1,f=e.position-e.lineStart,1===h?u&&(t8(e,f)||function(e,t,r){var n,o,i,a,u,s,l,c=e.tag,p=e.anchor,d={},f=Object.create(null),h=null,m=null,D=null,g=!1,y=!1;if(-1!==e.firstTabInLine)return!1;for(null!==e.anchor&&(e.anchorMap[e.anchor]=d),l=e.input.charCodeAt(e.position);0!==l;){if(g||-1===e.firstTabInLine||(e.position=e.firstTabInLine,tY(e,"tab characters must not be used in indentation")),n=e.input.charCodeAt(e.position+1),i=e.line,(63===l||58===l)&&tR(n))63===l?(g&&(tZ(e,d,f,h,m,null,a,u,s),h=m=D=null),y=!0,g=!0,o=!0):g?(g=!1,o=!0):tY(e,"incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"),e.position+=1,l=n;else{if(a=e.line,u=e.lineStart,s=e.position,!t5(e,r,2,!1,!0))break;if(e.line===i){for(l=e.input.charCodeAt(e.position);tM(l);)l=e.input.charCodeAt(++e.position);if(58===l)tR(l=e.input.charCodeAt(++e.position))||tY(e,"a whitespace character is expected after the key-value separator within a block mapping"),g&&(tZ(e,d,f,h,m,null,a,u,s),h=m=D=null),y=!0,g=!1,o=!1,h=e.tag,m=e.result;else{if(!y)return e.tag=c,e.anchor=p,!0;tY(e,"can not read an implicit mapping pair; a colon is missed")}}else{if(!y)return e.tag=c,e.anchor=p,!0;tY(e,"can not read a block mapping entry; a multiline key may not be an implicit key")}}if((e.line===i||e.lineIndent>t)&&(g&&(a=e.line,u=e.lineStart,s=e.position),t5(e,t,4,!0,o)&&(g?m=e.result:D=e.result),g||(tZ(e,d,f,h,m,D,a,u,s),h=m=D=null),t1(e,!0,-1),l=e.input.charCodeAt(e.position)),(e.line===i||e.lineIndent>t)&&0!==l)tY(e,"bad indentation of a mapping entry");else if(e.lineIndent<t)break}return g&&tZ(e,d,f,h,m,null,a,u,s),y&&(e.tag=c,e.anchor=p,e.kind="mapping",e.result=d),y}(e,f,d))||function(e,t){var r,n,o,i,a,u,s,l,c,p,d,f,h=!0,m=e.tag,D=e.anchor,g=Object.create(null);if(91===(f=e.input.charCodeAt(e.position)))a=93,l=!1,i=[];else{if(123!==f)return!1;a=125,l=!0,i={}}for(null!==e.anchor&&(e.anchorMap[e.anchor]=i),f=e.input.charCodeAt(++e.position);0!==f;){if(t1(e,!0,t),(f=e.input.charCodeAt(e.position))===a)return e.position++,e.tag=m,e.anchor=D,e.kind=l?"mapping":"sequence",e.result=i,!0;h?44===f&&tY(e,"expected the node content, but found ','"):tY(e,"missed comma between flow collection entries"),p=c=d=null,u=s=!1,63===f&&tR(e.input.charCodeAt(e.position+1))&&(u=s=!0,e.position++,t1(e,!0,t)),r=e.line,n=e.lineStart,o=e.position,t5(e,t,1,!1,!0),p=e.tag,c=e.result,t1(e,!0,t),f=e.input.charCodeAt(e.position),(s||e.line===r)&&58===f&&(u=!0,f=e.input.charCodeAt(++e.position),t1(e,!0,t),t5(e,t,1,!1,!0),d=e.result),l?tZ(e,i,g,p,c,d,r,n,o):u?i.push(tZ(e,null,g,p,c,d,r,n,o)):i.push(c),t1(e,!0,t),44===(f=e.input.charCodeAt(e.position))?(h=!0,f=e.input.charCodeAt(++e.position)):h=!1}tY(e,"unexpected end of the stream within a flow collection")}(e,d)?D=!0:(a&&function(e,t){var r,n,o,i,a,u=1,s=!1,l=!1,c=t,p=0,d=!1;if(124===(a=e.input.charCodeAt(e.position)))o=!1;else{if(62!==a)return!1;o=!0}for(e.kind="scalar",e.result="";0!==a;)if(43===(a=e.input.charCodeAt(++e.position))||45===a)1===u?u=43===a?3:2:tY(e,"repeat of a chomping mode identifier");else if((i=48<=(r=a)&&r<=57?r-48:-1)>=0)0===i?tY(e,"bad explicit indentation width of a block scalar; it cannot be less than one"):l?tY(e,"repeat of an indentation width identifier"):(c=t+i-1,l=!0);else break;if(tM(a)){do a=e.input.charCodeAt(++e.position);while(tM(a))if(35===a)do a=e.input.charCodeAt(++e.position);while(!tj(a)&&0!==a)}for(;0!==a;){for(t0(e),e.lineIndent=0,a=e.input.charCodeAt(e.position);(!l||e.lineIndent<c)&&32===a;)e.lineIndent++,a=e.input.charCodeAt(++e.position);if(!l&&e.lineIndent>c&&(c=e.lineIndent),tj(a)){p++;continue}if(e.lineIndent<c){3===u?e.result+=e9("\n",s?1+p:p):1===u&&s&&(e.result+="\n");break}for(o?tM(a)?(d=!0,e.result+=e9("\n",s?1+p:p)):d?(d=!1,e.result+=e9("\n",p+1)):0===p?s&&(e.result+=" "):e.result+=e9("\n",p):e.result+=e9("\n",s?1+p:p),s=!0,l=!0,p=0,n=e.position;!tj(a)&&0!==a;)a=e.input.charCodeAt(++e.position);tK(e,n,e.position,!1)}return!0}(e,d)||function(e,t){var r,n,o;if(39!==(r=e.input.charCodeAt(e.position)))return!1;for(e.kind="scalar",e.result="",e.position++,n=o=e.position;0!==(r=e.input.charCodeAt(e.position));)if(39===r){if(tK(e,n,e.position,!0),39!==(r=e.input.charCodeAt(++e.position)))return!0;n=e.position,e.position++,o=e.position}else tj(r)?(tK(e,n,o,!0),t3(e,t1(e,!1,t)),n=o=e.position):e.position===e.lineStart&&t2(e)?tY(e,"unexpected end of the document within a single quoted scalar"):(e.position++,o=e.position);tY(e,"unexpected end of the stream within a single quoted scalar")}(e,d)||function(e,t){var r,n,o,i,a,u,s,l;if(34!==(u=e.input.charCodeAt(e.position)))return!1;for(e.kind="scalar",e.result="",e.position++,r=n=e.position;0!==(u=e.input.charCodeAt(e.position));)if(34===u)return tK(e,r,e.position,!0),e.position++,!0;else if(92===u){if(tK(e,r,e.position,!0),tj(u=e.input.charCodeAt(++e.position)))t1(e,!1,t);else if(u<256&&tz[u])e.result+=tV[u],e.position++;else if((a=120===(s=u)?2:117===s?4:8*(85===s))>0){for(o=a,i=0;o>0;o--)(a=function(e){var t;return 48<=e&&e<=57?e-48:97<=(t=32|e)&&t<=102?t-97+10:-1}(u=e.input.charCodeAt(++e.position)))>=0?i=(i<<4)+a:tY(e,"expected hexadecimal character");e.result+=(l=i)<=65535?String.fromCharCode(l):String.fromCharCode((l-65536>>10)+55296,(l-65536&1023)+56320),e.position++}else tY(e,"unknown escape sequence");r=n=e.position}else tj(u)?(tK(e,r,n,!0),t3(e,t1(e,!1,t)),r=n=e.position):e.position===e.lineStart&&t2(e)?tY(e,"unexpected end of the document within a double quoted scalar"):(e.position++,n=e.position);tY(e,"unexpected end of the stream within a double quoted scalar")}(e,d)?D=!0:!function(e){var t,r,n;if(42!==(n=e.input.charCodeAt(e.position)))return!1;for(n=e.input.charCodeAt(++e.position),t=e.position;0!==n&&!tR(n)&&!tU(n);)n=e.input.charCodeAt(++e.position);return e.position===t&&tY(e,"name of an alias node must contain at least one character"),r=e.input.slice(t,e.position),tO.call(e.anchorMap,r)||tY(e,'unidentified alias "'+r+'"'),e.result=e.anchorMap[r],t1(e,!0,-1),!0}(e)?function(e,t,r){var n,o,i,a,u,s,l,c,p=e.kind,d=e.result;if(tR(c=e.input.charCodeAt(e.position))||tU(c)||35===c||38===c||42===c||33===c||124===c||62===c||39===c||34===c||37===c||64===c||96===c||(63===c||45===c)&&(tR(n=e.input.charCodeAt(e.position+1))||r&&tU(n)))return!1;for(e.kind="scalar",e.result="",o=i=e.position,a=!1;0!==c;){if(58===c){if(tR(n=e.input.charCodeAt(e.position+1))||r&&tU(n))break}else if(35===c){if(tR(e.input.charCodeAt(e.position-1)))break}else if(e.position===e.lineStart&&t2(e)||r&&tU(c))break;else if(tj(c)){if(u=e.line,s=e.lineStart,l=e.lineIndent,t1(e,!1,-1),e.lineIndent>=t){a=!0,c=e.input.charCodeAt(e.position);continue}e.position=i,e.line=u,e.lineStart=s,e.lineIndent=l;break}a&&(tK(e,o,i,!1),t3(e,e.line-u),o=i=e.position,a=!1),tM(c)||(i=e.position+1),c=e.input.charCodeAt(++e.position)}return tK(e,o,i,!1),!!e.result||(e.kind=p,e.result=d,!1)}(e,d,1===r)&&(D=!0,null===e.tag&&(e.tag="?")):(D=!0,(null!==e.tag||null!==e.anchor)&&tY(e,"alias node should not have any properties")),null!==e.anchor&&(e.anchorMap[e.anchor]=e.result)):0===h&&(D=u&&t8(e,f))),null===e.tag)null!==e.anchor&&(e.anchorMap[e.anchor]=e.result);else if("?"===e.tag){for(null!==e.result&&"scalar"!==e.kind&&tY(e,'unacceptable node kind for !<?> tag; it should be "scalar", not "'+e.kind+'"'),s=0,l=e.implicitTypes.length;s<l;s+=1)if((p=e.implicitTypes[s]).resolve(e.result)){e.result=p.construct(e.result),e.tag=p.tag,null!==e.anchor&&(e.anchorMap[e.anchor]=e.result);break}}else if("!"!==e.tag){if(tO.call(e.typeMap[e.kind||"fallback"],e.tag))p=e.typeMap[e.kind||"fallback"][e.tag];else for(s=0,p=null,l=(c=e.typeMap.multi[e.kind||"fallback"]).length;s<l;s+=1)if(e.tag.slice(0,c[s].tag.length)===c[s].tag){p=c[s];break}p||tY(e,"unknown tag !<"+e.tag+">"),null!==e.result&&p.kind!==e.kind&&tY(e,"unacceptable node kind for !<"+e.tag+'> tag; it should be "'+p.kind+'", not "'+e.kind+'"'),p.resolve(e.result,e.tag)?(e.result=p.construct(e.result,e.tag),null!==e.anchor&&(e.anchorMap[e.anchor]=e.result)):tY(e,"cannot resolve a node with !<"+e.tag+"> explicit tag")}return null!==e.listener&&e.listener("close",e),null!==e.tag||null!==e.anchor||D}function t6(e,t){e=String(e),t=t||{},0!==e.length&&(10!==e.charCodeAt(e.length-1)&&13!==e.charCodeAt(e.length-1)&&(e+="\n"),65279===e.charCodeAt(0)&&(e=e.slice(1)));var r=new tW(e,t),n=e.indexOf("\0");for(-1!==n&&(r.position=n,tY(r,"null byte is not allowed in input")),r.input+="\0";32===r.input.charCodeAt(r.position);)r.lineIndent+=1,r.position+=1;for(;r.position<r.length-1;)!function(e){var t,r,n,o,i=e.position,a=!1;for(e.version=null,e.checkLineBreaks=e.legacy,e.tagMap=Object.create(null),e.anchorMap=Object.create(null);0!==(o=e.input.charCodeAt(e.position))&&(t1(e,!0,-1),o=e.input.charCodeAt(e.position),!(e.lineIndent>0)&&37===o);){for(a=!0,o=e.input.charCodeAt(++e.position),t=e.position;0!==o&&!tR(o);)o=e.input.charCodeAt(++e.position);for(r=e.input.slice(t,e.position),n=[],r.length<1&&tY(e,"directive name must not be less than one character in length");0!==o;){for(;tM(o);)o=e.input.charCodeAt(++e.position);if(35===o){do o=e.input.charCodeAt(++e.position);while(0!==o&&!tj(o))break}if(tj(o))break;for(t=e.position;0!==o&&!tR(o);)o=e.input.charCodeAt(++e.position);n.push(e.input.slice(t,e.position))}0!==o&&t0(e),tO.call(tJ,r)?tJ[r](e,r,n):tX(e,'unknown document directive "'+r+'"')}if(t1(e,!0,-1),0===e.lineIndent&&45===e.input.charCodeAt(e.position)&&45===e.input.charCodeAt(e.position+1)&&45===e.input.charCodeAt(e.position+2)?(e.position+=3,t1(e,!0,-1)):a&&tY(e,"directives end mark is expected"),t5(e,e.lineIndent-1,4,!1,!0),t1(e,!0,-1),e.checkLineBreaks&&tP.test(e.input.slice(i,e.position))&&tX(e,"non-ASCII line breaks are interpreted as content"),e.documents.push(e.result),e.position===e.lineStart&&t2(e)){46===e.input.charCodeAt(e.position)&&(e.position+=3,t1(e,!0,-1));return}e.position<e.length-1&&tY(e,"end of the stream or a document separator is expected")}(r);return r.documents}var t9=Object.prototype.toString,t4=Object.prototype.hasOwnProperty,t7={};t7[0]="\\0",t7[7]="\\a",t7[8]="\\b",t7[9]="\\t",t7[10]="\\n",t7[11]="\\v",t7[12]="\\f",t7[13]="\\r",t7[27]="\\e",t7[34]='\\"',t7[92]="\\\\",t7[133]="\\N",t7[160]="\\_",t7[8232]="\\L",t7[8233]="\\P";function re(e,t){return function(){throw Error("Function yaml."+e+" is removed in js-yaml 4. Use yaml."+t+" instead, which is now safe by default.")}}re("safeLoad","load"),re("safeLoadAll","loadAll"),re("safeDump","dump");var rt=function(e,t){var r=t6(e,t);if(0!==r.length){if(1===r.length)return r[0];throw new te("expected a single document in the stream, but found more")}},rr={},rn=rr&&rr.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(rr,"__esModule",{value:!0}),rr.NodeType=rr.TextNode=rr.Node=rr.valid=rr.CommentNode=rr.HTMLElement=rr.parse=void 0;let ro=rn(ee("9KN8L"));rr.CommentNode=ro.default;let ri=rn(ee("2ZZFK"));rr.HTMLElement=ri.default;let ra=rn(ee("9rIF8"));rr.Node=ra.default;let ru=rn(ee("h19Jg"));rr.TextNode=ru.default;let rs=rn(ee("gxROJ"));rr.NodeType=rs.default;let rl=rn(ee("oyh6k")),rc=rn(ee("biHCd"));function rp(e,t={}){return(0,rl.default)(e,t)}rr.valid=rc.default,rr.default=rp,rr.parse=rp,rp.parse=rl.default,rp.HTMLElement=ri.default,rp.CommentNode=ro.default,rp.valid=rc.default,rp.Node=ra.default,rp.TextNode=ru.default,rp.NodeType=rs.default;var rd={};Object.defineProperty(rd,"__esModule",{value:!0});var rf={};Object.defineProperty(rf,"__esModule",{value:!0});var rh={},rm=rh&&rh.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)a.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return a},rD=rh&&rh.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(rh,"__esModule",{value:!0});var rg={};Object.defineProperty(rg,"__esModule",{value:!0}),rg.DefaultBuilderOptions={version:"1.0",encoding:void 0,standalone:void 0,keepNullNodes:!1,keepNullAttributes:!1,ignoreConverters:!1,skipWhitespaceOnlyText:!0,convert:{att:"@",ins:"?",text:"#",cdata:"$",comment:"!"},defaultNamespace:{ele:void 0,att:void 0},namespaceAlias:{html:"http://www.w3.org/1999/xhtml",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg",xlink:"http://www.w3.org/1999/xlink"},invalidCharReplacement:void 0,parser:void 0},rg.XMLBuilderOptionKeys=new Set(Object.keys(rg.DefaultBuilderOptions)),rg.DefaultXMLBuilderCBOptions={format:"xml",wellFormed:!1,prettyPrint:!1,indent:" ",newline:"\n",offset:0,width:0,allowEmptyTags:!1,spaceBeforeSlash:!1,keepNullNodes:!1,keepNullAttributes:!1,ignoreConverters:!1,convert:{att:"@",ins:"?",text:"#",cdata:"$",comment:"!"},defaultNamespace:{ele:void 0,att:void 0},namespaceAlias:{html:"http://www.w3.org/1999/xhtml",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg",xlink:"http://www.w3.org/1999/xlink"}};var ry=ee("jDPAV"),r_={};Object.defineProperty(r_,"__esModule",{value:!0});var rv={},rb=rv&&rv.__extends||(d=function(e,t){return(d=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}d(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(rv,"__esModule",{value:!0});var ry=ee("jDPAV"),rx={},rE=rx&&rx.__extends||(f=function(e,t){return(f=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}f(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),rw=rx&&rx.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(rx,"__esModule",{value:!0});var ry=ee("jDPAV"),rC=ee("bql4T"),rA={},rN=rA&&rA.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},rT=rA&&rA.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)a.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return a},rS=rA&&rA.__spread||function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(rT(arguments[t]));return e};Object.defineProperty(rA,"__esModule",{value:!0});var rC=ee("bql4T"),rF={};Object.defineProperty(rF,"__esModule",{value:!0}),rF.LocalNameSet=function(){function e(){this._items={},this._nullItems={}}return e.prototype.set=function(e,t){null===e?this._nullItems[t]=!0:(this._items[e]||(this._items[e]={}),this._items[e][t]=!0)},e.prototype.has=function(e,t){return null===e?!0===this._nullItems[t]:!!this._items[e]&&!0===this._items[e][t]},e}();var rO={};Object.defineProperty(rO,"__esModule",{value:!0}),rO.NamespacePrefixMap=function(){function e(){this._items={},this._nullItems=[]}return e.prototype.copy=function(){var t=new e;for(var r in this._items)t._items[r]=this._items[r].slice(0);return t._nullItems=this._nullItems.slice(0),t},e.prototype.get=function(e,t){var r=null===t?this._nullItems:this._items[t]||null;if(null===r)return null;for(var n=null,o=0;o<r.length&&(n=r[o])!==e;o++);return n},e.prototype.has=function(e,t){var r=null===t?this._nullItems:this._items[t]||null;return null!==r&&-1!==r.indexOf(e)},e.prototype.hasPrefix=function(e){if(-1!==this._nullItems.indexOf(e))return!0;for(var t in this._items)if(-1!==this._items[t].indexOf(e))return!0;return!1},e.prototype.set=function(e,t){var r=null===t?this._nullItems:this._items[t]||null;null!==t&&null===r?this._items[t]=[e]:r.push(e)},e}();var rk=ee("b9DcM"),rP=ee("eOMTm"),rL={};Object.defineProperty(rL,"__esModule",{value:!0}),rL.nonEntityAmpersandRegex=/&(?![A-Za-z]+;|#\d+;)/g,rA.BaseWriter=function(){function e(e){this.level=0,this._builderOptions=e}return e.prototype.declaration=function(e,t,r){},e.prototype.docType=function(e,t,r){},e.prototype.comment=function(e){},e.prototype.text=function(e){},e.prototype.instruction=function(e,t){},e.prototype.cdata=function(e){},e.prototype.openTagBegin=function(e){},e.prototype.openTagEnd=function(e,t,r){},e.prototype.closeTag=function(e){},e.prototype.attributes=function(e){var t,r;try{for(var n=rN(e),o=n.next();!o.done;o=n.next()){var i=o.value;this.attribute(null===i[1]?i[2]:i[1]+":"+i[2],i[3])}}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}},e.prototype.attribute=function(e,t){},e.prototype.beginElement=function(e){},e.prototype.endElement=function(e){},e.prototype.serializeNode=function(e,t){var r=void 0!==e._nodeDocument&&e._nodeDocument._hasNamespaces;if(this.level=0,this.currentNode=e,r){var n=new rO.NamespacePrefixMap;n.set("xml",rk.namespace.XML),this._serializeNodeNS(e,null,n,{value:1},t)}else this._serializeNode(e,t)},e.prototype._serializeNodeNS=function(e,t,r,n,o){switch(this.currentNode=e,e.nodeType){case rC.NodeType.Element:this._serializeElementNS(e,t,r,n,o);break;case rC.NodeType.Document:this._serializeDocumentNS(e,t,r,n,o);break;case rC.NodeType.Comment:this._serializeComment(e,o);break;case rC.NodeType.Text:this._serializeText(e,o);break;case rC.NodeType.DocumentFragment:this._serializeDocumentFragmentNS(e,t,r,n,o);break;case rC.NodeType.DocumentType:this._serializeDocumentType(e,o);break;case rC.NodeType.ProcessingInstruction:this._serializeProcessingInstruction(e,o);break;case rC.NodeType.CData:this._serializeCData(e,o);break;default:throw Error("Unknown node type: "+e.nodeType)}},e.prototype._serializeNode=function(e,t){switch(this.currentNode=e,e.nodeType){case rC.NodeType.Element:this._serializeElement(e,t);break;case rC.NodeType.Document:this._serializeDocument(e,t);break;case rC.NodeType.Comment:this._serializeComment(e,t);break;case rC.NodeType.Text:this._serializeText(e,t);break;case rC.NodeType.DocumentFragment:this._serializeDocumentFragment(e,t);break;case rC.NodeType.DocumentType:this._serializeDocumentType(e,t);break;case rC.NodeType.ProcessingInstruction:this._serializeProcessingInstruction(e,t);break;case rC.NodeType.CData:this._serializeCData(e,t);break;default:throw Error("Unknown node type: "+e.nodeType)}},e.prototype._serializeElementNS=function(t,r,n,o,i){var a,u,s=[];if(i&&(-1!==t.localName.indexOf(":")||!rP.xml_isName(t.localName)))throw Error("Node local name contains invalid characters (well-formed required).");var l="",c=!1,p=!1,d=n.copy(),f={},h=this._recordNamespaceInformation(t,d,f),m=r,D=t.namespaceURI;if(m===D)null!==h&&(p=!0),l=D===rk.namespace.XML?"xml:"+t.localName:t.localName,this.beginElement(l),this.openTagBegin(l);else{var g=t.prefix,y=null;if((null!==g||D!==h)&&(y=d.get(g,D)),"xmlns"===g){if(i)throw Error("An element cannot have the 'xmlns' prefix (well-formed required).");y=g}null!==y?(l=y+":"+t.localName,null!==h&&h!==rk.namespace.XML&&(m=h||null),this.beginElement(l),this.openTagBegin(l)):null!==g?(g in f&&(g=this._generatePrefix(D,d,o)),d.set(g,D),l+=g+":"+t.localName,this.beginElement(l),this.openTagBegin(l),s.push([null,"xmlns",g,this._serializeAttributeValue(D,i)]),null!==h&&(m=h||null)):null===h||null!==h&&h!==D?(p=!0,l+=t.localName,m=D,this.beginElement(l),this.openTagBegin(l),s.push([null,null,"xmlns",this._serializeAttributeValue(D,i)])):(l+=t.localName,m=D,this.beginElement(l),this.openTagBegin(l))}s.push.apply(s,rS(this._serializeAttributesNS(t,d,o,f,p,i))),this.attributes(s);var _=D===rk.namespace.HTML;if(_&&0===t.childNodes.length&&e._VoidElementNames.has(t.localName)?(this.openTagEnd(l,!0,!0),this.endElement(l),c=!0):_||0!==t.childNodes.length?this.openTagEnd(l,!1,!1):(this.openTagEnd(l,!0,!1),this.endElement(l),c=!0),!c){if(_&&"template"===t.localName);else try{for(var v=rN(t.childNodes),b=v.next();!b.done;b=v.next()){var x=b.value;this.level++,this._serializeNodeNS(x,m,d,o,i),this.level--}}catch(e){a={error:e}}finally{try{b&&!b.done&&(u=v.return)&&u.call(v)}finally{if(a)throw a.error}}this.closeTag(l),this.endElement(l)}},e.prototype._serializeElement=function(e,t){if(t&&(-1!==e.localName.indexOf(":")||!rP.xml_isName(e.localName)))throw Error("Node local name contains invalid characters (well-formed required).");var r,n,o=!1,i=e.localName;this.beginElement(i),this.openTagBegin(i);var a=this._serializeAttributes(e,t);if(this.attributes(a),e.hasChildNodes()?this.openTagEnd(i,!1,!1):(this.openTagEnd(i,!0,!1),this.endElement(i),o=!0),!o){try{for(var u=rN(e._children),s=u.next();!s.done;s=u.next()){var l=s.value;this.level++,this._serializeNode(l,t),this.level--}}catch(e){r={error:e}}finally{try{s&&!s.done&&(n=u.return)&&n.call(u)}finally{if(r)throw r.error}}this.closeTag(i),this.endElement(i)}},e.prototype._serializeDocumentNS=function(e,t,r,n,o){var i,a;if(o&&null===e.documentElement)throw Error("Missing document element (well-formed required).");try{for(var u=rN(e.childNodes),s=u.next();!s.done;s=u.next()){var l=s.value;this._serializeNodeNS(l,t,r,n,o)}}catch(e){i={error:e}}finally{try{s&&!s.done&&(a=u.return)&&a.call(u)}finally{if(i)throw i.error}}},e.prototype._serializeDocument=function(e,t){var r,n;if(t&&null===e.documentElement)throw Error("Missing document element (well-formed required).");try{for(var o=rN(e._children),i=o.next();!i.done;i=o.next()){var a=i.value;this._serializeNode(a,t)}}catch(e){r={error:e}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}},e.prototype._serializeComment=function(e,t){if(t&&(!rP.xml_isLegalChar(e.data)||-1!==e.data.indexOf("--")||e.data.endsWith("-")))throw Error("Comment data contains invalid characters (well-formed required).");this.comment(e.data)},e.prototype._serializeText=function(e,t){if(t&&!rP.xml_isLegalChar(e.data))throw Error("Text data contains invalid characters (well-formed required).");var r=e.data.replace(rL.nonEntityAmpersandRegex,"&").replace(/</g,"<").replace(/>/g,">");this.text(r)},e.prototype._serializeDocumentFragmentNS=function(e,t,r,n,o){var i,a;try{for(var u=rN(e.childNodes),s=u.next();!s.done;s=u.next()){var l=s.value;this._serializeNodeNS(l,t,r,n,o)}}catch(e){i={error:e}}finally{try{s&&!s.done&&(a=u.return)&&a.call(u)}finally{if(i)throw i.error}}},e.prototype._serializeDocumentFragment=function(e,t){var r,n;try{for(var o=rN(e._children),i=o.next();!i.done;i=o.next()){var a=i.value;this._serializeNode(a,t)}}catch(e){r={error:e}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}},e.prototype._serializeDocumentType=function(e,t){if(t&&!rP.xml_isPubidChar(e.publicId))throw Error("DocType public identifier does not match PubidChar construct (well-formed required).");if(t&&(!rP.xml_isLegalChar(e.systemId)||-1!==e.systemId.indexOf('"')&&-1!==e.systemId.indexOf("'")))throw Error("DocType system identifier contains invalid characters (well-formed required).");this.docType(e.name,e.publicId,e.systemId)},e.prototype._serializeProcessingInstruction=function(e,t){if(t&&(-1!==e.target.indexOf(":")||/^xml$/i.test(e.target)))throw Error("Processing instruction target contains invalid characters (well-formed required).");if(t&&(!rP.xml_isLegalChar(e.data)||-1!==e.data.indexOf("?>")))throw Error("Processing instruction data contains invalid characters (well-formed required).");this.instruction(e.target,e.data)},e.prototype._serializeCData=function(e,t){if(t&&-1!==e.data.indexOf("]]>"))throw Error("CDATA contains invalid characters (well-formed required).");this.cdata(e.data)},e.prototype._serializeAttributesNS=function(e,t,r,n,o,i){var a,u,s=[],l=i?new rF.LocalNameSet:void 0;try{for(var c=rN(e.attributes),p=c.next();!p.done;p=c.next()){var d=p.value;if(!i&&!o&&null===d.namespaceURI){s.push([null,null,d.localName,this._serializeAttributeValue(d.value,i)]);continue}if(i&&l&&l.has(d.namespaceURI,d.localName))throw Error("Element contains duplicate attributes (well-formed required).");i&&l&&l.set(d.namespaceURI,d.localName);var f=d.namespaceURI,h=null;if(null!==f)if(h=t.get(d.prefix,f),f===rk.namespace.XMLNS){if(d.value===rk.namespace.XML||null===d.prefix&&o||null!==d.prefix&&(!(d.localName in n)||n[d.localName]!==d.value)&&t.has(d.localName,d.value))continue;if(i&&d.value===rk.namespace.XMLNS)throw Error("XMLNS namespace is reserved (well-formed required).");if(i&&""===d.value)throw Error("Namespace prefix declarations cannot be used to undeclare a namespace (well-formed required).");"xmlns"===d.prefix&&(h="xmlns")}else null===h&&(h=null!==d.prefix&&(!t.hasPrefix(d.prefix)||t.has(d.prefix,f))?d.prefix:this._generatePrefix(f,t,r),s.push([null,"xmlns",h,this._serializeAttributeValue(f,i)]));if(i&&(-1!==d.localName.indexOf(":")||!rP.xml_isName(d.localName)||"xmlns"===d.localName&&null===f))throw Error("Attribute local name contains invalid characters (well-formed required).");s.push([f,h,d.localName,this._serializeAttributeValue(d.value,i)])}}catch(e){a={error:e}}finally{try{p&&!p.done&&(u=c.return)&&u.call(c)}finally{if(a)throw a.error}}return s},e.prototype._serializeAttributes=function(e,t){var r,n,o=[],i=t?{}:void 0;try{for(var a=rN(e.attributes),u=a.next();!u.done;u=a.next()){var s=u.value;if(!t){o.push([null,null,s.localName,this._serializeAttributeValue(s.value,t)]);continue}if(t&&i&&s.localName in i)throw Error("Element contains duplicate attributes (well-formed required).");if(t&&i&&(i[s.localName]=!0),t&&(-1!==s.localName.indexOf(":")||!rP.xml_isName(s.localName)))throw Error("Attribute local name contains invalid characters (well-formed required).");o.push([null,null,s.localName,this._serializeAttributeValue(s.value,t)])}}catch(e){r={error:e}}finally{try{u&&!u.done&&(n=a.return)&&n.call(a)}finally{if(r)throw r.error}}return o},e.prototype._recordNamespaceInformation=function(e,t,r){var n,o,i=null;try{for(var a=rN(e.attributes),u=a.next();!u.done;u=a.next()){var s=u.value,l=s.namespaceURI,c=s.prefix;if(l===rk.namespace.XMLNS)if(null===c){i=s.value;continue}else{var p=s.localName,d=s.value;if(d===rk.namespace.XML||(""===d&&(d=null),t.has(p,d)))continue;t.set(p,d),r[p]=d||""}}}catch(e){n={error:e}}finally{try{u&&!u.done&&(o=a.return)&&o.call(a)}finally{if(n)throw n.error}}return i},e.prototype._generatePrefix=function(e,t,r){var n="ns"+r.value.toString();return r.value++,t.set(n,e),n},e.prototype._serializeAttributeValue=function(e,t){if(t&&null!==e&&!rP.xml_isLegalChar(e))throw Error("Invalid characters in attribute value.");return null===e?"":e.replace(rL.nonEntityAmpersandRegex,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""")},e._VoidElementNames=new Set(["area","base","basefont","bgsound","br","col","embed","frame","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"]),e}(),rx.ObjectWriter=function(e){function t(t,r){var n=e.call(this,t)||this;return n._writerOptions=ry.applyDefaults(r,{format:"object",wellFormed:!1,group:!1,verbose:!1}),n}return rE(t,e),t.prototype.serialize=function(e){return this._currentList=[],this._currentIndex=0,this._listRegister=[this._currentList],this.serializeNode(e,this._writerOptions.wellFormed),this._process(this._currentList,this._writerOptions)},t.prototype._process=function(e,t){if(0===e.length)return{};for(var r,n,o,i,a,u,s,l={},c=!1,p=0,d=0,f=0,h=0,m=0;m<e.length;m++){var D=e[m],g=Object.keys(D)[0];switch(g){case"@":continue;case"#":p++;break;case"!":d++;break;case"?":f++;break;case"$":h++;break;default:l[g]?c=!0:l[g]=!0}}var y=this._getAttrKey(),_=this._getNodeKey(rC.NodeType.Text),v=this._getNodeKey(rC.NodeType.Comment),b=this._getNodeKey(rC.NodeType.ProcessingInstruction),x=this._getNodeKey(rC.NodeType.CData);if(1===p&&1===e.length&&ry.isString(e[0]["#"]))return e[0]["#"];if(c){for(var E={},m=0;m<e.length;m++){var D=e[m],g=Object.keys(D)[0];if("@"===g){var w=D["@"],C=Object.keys(w);1===C.length?E[y+C[0]]=w[C[0]]:E[y]=D["@"]}}for(var A=[],m=0;m<e.length;m++){var D=e[m],g=Object.keys(D)[0];switch(g){case"@":break;case"#":A.push(((r={})[_]=D["#"],r));break;case"!":A.push(((n={})[v]=D["!"],n));break;case"?":A.push(((o={})[b]=D["?"],o));break;case"$":A.push(((i={})[x]=D.$,i));break;default:var N=D;if(0!==N[g].length&&ry.isArray(N[g][0])){for(var T=[],S=N[g],F=0;F<S.length;F++)T.push(this._process(S[F],t));A.push(((a={})[g]=T,a))}else t.verbose?A.push(((u={})[g]=[this._process(N[g],t)],u)):A.push(((s={})[g]=this._process(N[g],t),s))}}return E[_]=A,E}for(var O=1,k=1,P=1,L=1,E={},m=0;m<e.length;m++){var D=e[m],g=Object.keys(D)[0];switch(g){case"@":var w=D["@"],C=Object.keys(w);if(t.group&&1!==C.length)E[y]=w;else for(var I in w)E[y+I]=w[I];break;case"#":O=this._processSpecItem(D["#"],E,t.group,_,p,O);break;case"!":k=this._processSpecItem(D["!"],E,t.group,v,d,k);break;case"?":P=this._processSpecItem(D["?"],E,t.group,b,f,P);break;case"$":L=this._processSpecItem(D.$,E,t.group,x,h,L);break;default:var N=D;if(0!==N[g].length&&ry.isArray(N[g][0])){for(var T=[],S=N[g],B=0;B<S.length;B++)T.push(this._process(S[B],t));E[g]=T}else t.verbose?E[g]=[this._process(N[g],t)]:E[g]=this._process(N[g],t)}}return E},t.prototype._processSpecItem=function(e,t,r,n,o,i){var a,u;if(!r&&ry.isArray(e)&&o+e.length>2)try{for(var s=rw(e),l=s.next();!l.done;l=s.next()){var c=l.value,p=n+(i++).toString();t[p]=c}}catch(e){a={error:e}}finally{try{l&&!l.done&&(u=s.return)&&u.call(s)}finally{if(a)throw a.error}}else{var p=o>1?n+(i++).toString():n;t[p]=e}return i},t.prototype.beginElement=function(e){var t,r,n=[];if(0===this._currentList.length)this._currentList.push(((t={})[e]=n,t));else{var o=this._currentList[this._currentList.length-1];this._isElementNode(o,e)?0!==o[e].length&&ry.isArray(o[e][0])?o[e].push(n):o[e]=[o[e],n]:this._currentList.push(((r={})[e]=n,r))}this._currentIndex++,this._listRegister.length>this._currentIndex?this._listRegister[this._currentIndex]=n:this._listRegister.push(n),this._currentList=n},t.prototype.endElement=function(){this._currentList=this._listRegister[--this._currentIndex]},t.prototype.attribute=function(e,t){var r,n;if(0===this._currentList.length)this._currentList.push({"@":((r={})[e]=t,r)});else{var o=this._currentList[this._currentList.length-1];this._isAttrNode(o)?o["@"][e]=t:this._currentList.push({"@":((n={})[e]=t,n)})}},t.prototype.comment=function(e){if(0===this._currentList.length)this._currentList.push({"!":e});else{var t=this._currentList[this._currentList.length-1];this._isCommentNode(t)?ry.isArray(t["!"])?t["!"].push(e):t["!"]=[t["!"],e]:this._currentList.push({"!":e})}},t.prototype.text=function(e){if(0===this._currentList.length)this._currentList.push({"#":e});else{var t=this._currentList[this._currentList.length-1];this._isTextNode(t)?ry.isArray(t["#"])?t["#"].push(e):t["#"]=[t["#"],e]:this._currentList.push({"#":e})}},t.prototype.instruction=function(e,t){var r=""===t?e:e+" "+t;if(0===this._currentList.length)this._currentList.push({"?":r});else{var n=this._currentList[this._currentList.length-1];this._isInstructionNode(n)?ry.isArray(n["?"])?n["?"].push(r):n["?"]=[n["?"],r]:this._currentList.push({"?":r})}},t.prototype.cdata=function(e){if(0===this._currentList.length)this._currentList.push({$:e});else{var t=this._currentList[this._currentList.length-1];this._isCDATANode(t)?ry.isArray(t.$)?t.$.push(e):t.$=[t.$,e]:this._currentList.push({$:e})}},t.prototype._isAttrNode=function(e){return"@"in e},t.prototype._isTextNode=function(e){return"#"in e},t.prototype._isCommentNode=function(e){return"!"in e},t.prototype._isInstructionNode=function(e){return"?"in e},t.prototype._isCDATANode=function(e){return"$"in e},t.prototype._isElementNode=function(e,t){return t in e},t.prototype._getAttrKey=function(){return this._builderOptions.convert.att},t.prototype._getNodeKey=function(e){switch(e){case rC.NodeType.Comment:return this._builderOptions.convert.comment;case rC.NodeType.Text:return this._builderOptions.convert.text;case rC.NodeType.ProcessingInstruction:return this._builderOptions.convert.ins;case rC.NodeType.CData:return this._builderOptions.convert.cdata;default:throw Error("Invalid node type.")}},t}(rA.BaseWriter),rv.MapWriter=function(e){function t(t,r){var n=e.call(this,t)||this;return n._writerOptions=ry.applyDefaults(r,{format:"map",wellFormed:!1,group:!1,verbose:!1}),n}return rb(t,e),t.prototype.serialize=function(e){var t=ry.applyDefaults(this._writerOptions,{format:"object",wellFormed:!1,verbose:!1}),r=new rx.ObjectWriter(this._builderOptions,t).serialize(e);return this._convertObject(r)},t.prototype._convertObject=function(e){if(ry.isArray(e)){for(var t=0;t<e.length;t++)e[t]=this._convertObject(e[t]);return e}if(!ry.isObject(e))return e;var r=new Map;for(var n in e)r.set(n,this._convertObject(e[n]));return r},t}(rA.BaseWriter),r_.MapWriter=rv.MapWriter;var rI={},rB=rI&&rI.__extends||(h=function(e,t){return(h=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}h(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(rI,"__esModule",{value:!0});var ry=ee("jDPAV"),rC=ee("bql4T"),rq=ee("cnpfV");rI.XMLWriter=function(e){function t(t,r){var n=e.call(this,t)||this;return n._indentation={},n._lengthToLastNewline=0,n._writerOptions=ry.applyDefaults(r,{wellFormed:!1,headless:!1,prettyPrint:!1,indent:" ",newline:"\n",offset:0,width:0,allowEmptyTags:!1,indentTextOnlyNodes:!1,spaceBeforeSlash:!1}),n}return rB(t,e),t.prototype.serialize=function(e){return this._refs={suppressPretty:!1,emptyNode:!1,markup:""},e.nodeType!==rC.NodeType.Document||this._writerOptions.headless||this.declaration(this._builderOptions.version,this._builderOptions.encoding,this._builderOptions.standalone),this.serializeNode(e,this._writerOptions.wellFormed),this._writerOptions.prettyPrint&&this._refs.markup.slice(-this._writerOptions.newline.length)===this._writerOptions.newline&&(this._refs.markup=this._refs.markup.slice(0,-this._writerOptions.newline.length)),this._refs.markup},t.prototype.declaration=function(e,t,r){this._beginLine(),this._refs.markup+='<?xml version="'+e+'"',void 0!==t&&(this._refs.markup+=' encoding="'+t+'"'),void 0!==r&&(this._refs.markup+=' standalone="'+(r?"yes":"no")+'"'),this._refs.markup+="?>",this._endLine()},t.prototype.docType=function(e,t,r){this._beginLine(),t&&r?this._refs.markup+="<!DOCTYPE "+e+' PUBLIC "'+t+'" "'+r+'">':t?this._refs.markup+="<!DOCTYPE "+e+' PUBLIC "'+t+'">':r?this._refs.markup+="<!DOCTYPE "+e+' SYSTEM "'+r+'">':this._refs.markup+="<!DOCTYPE "+e+">",this._endLine()},t.prototype.openTagBegin=function(e){this._beginLine(),this._refs.markup+="<"+e},t.prototype.openTagEnd=function(e,t,r){if(this._refs.suppressPretty=!1,this._refs.emptyNode=!1,this._writerOptions.prettyPrint&&!t&&!r){for(var n=!0,o=!0,i=this.currentNode.firstChild,a=0,u=0;i;){if(rq.Guard.isExclusiveTextNode(i))u++;else if(rq.Guard.isCDATASectionNode(i))a++;else{n=!1,o=!1;break}""!==i.data&&(o=!1),i=i.nextSibling}this._refs.suppressPretty=!this._writerOptions.indentTextOnlyNodes&&n&&(a<=1&&0===u||0===a),this._refs.emptyNode=o}(r||t||this._refs.emptyNode)&&this._writerOptions.allowEmptyTags?this._refs.markup+="></"+e+">":this._refs.markup+=r?" />":t||this._refs.emptyNode?this._writerOptions.spaceBeforeSlash?" />":"/>":">",this._endLine()},t.prototype.closeTag=function(e){this._refs.emptyNode||(this._beginLine(),this._refs.markup+="</"+e+">"),this._refs.suppressPretty=!1,this._refs.emptyNode=!1,this._endLine()},t.prototype.attribute=function(e,t){var r=e+'="'+t+'"';this._writerOptions.prettyPrint&&this._writerOptions.width>0&&this._refs.markup.length-this._lengthToLastNewline+1+r.length>this._writerOptions.width?(this._endLine(),this._beginLine(),this._refs.markup+=this._indent(1)+r):this._refs.markup+=" "+r},t.prototype.text=function(e){""!==e&&(this._beginLine(),this._refs.markup+=e,this._endLine())},t.prototype.cdata=function(e){""!==e&&(this._beginLine(),this._refs.markup+="<![CDATA["+e+"]]>",this._endLine())},t.prototype.comment=function(e){this._beginLine(),this._refs.markup+="\x3c!--"+e+"--\x3e",this._endLine()},t.prototype.instruction=function(e,t){this._beginLine(),this._refs.markup+="<?"+(""===t?e:e+" "+t)+"?>",this._endLine()},t.prototype._beginLine=function(){this._writerOptions.prettyPrint&&!this._refs.suppressPretty&&(this._refs.markup+=this._indent(this._writerOptions.offset+this.level))},t.prototype._endLine=function(){this._writerOptions.prettyPrint&&!this._refs.suppressPretty&&(this._refs.markup+=this._writerOptions.newline,this._lengthToLastNewline=this._refs.markup.length)},t.prototype._indent=function(e){if(e<=0)return"";if(void 0!==this._indentation[e])return this._indentation[e];var t=this._writerOptions.indent.repeat(e);return this._indentation[e]=t,t},t}(rA.BaseWriter),r_.XMLWriter=rI.XMLWriter,r_.ObjectWriter=rx.ObjectWriter;var rj={},rM=rj&&rj.__extends||(m=function(e,t){return(m=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}m(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),rR=rj&&rj.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(rj,"__esModule",{value:!0});var ry=ee("jDPAV");rj.JSONWriter=function(e){function t(t,r){var n=e.call(this,t)||this;return n._writerOptions=ry.applyDefaults(r,{wellFormed:!1,prettyPrint:!1,indent:" ",newline:"\n",offset:0,group:!1,verbose:!1}),n}return rM(t,e),t.prototype.serialize=function(e){var t=ry.applyDefaults(this._writerOptions,{format:"object",wellFormed:!1}),r=new rx.ObjectWriter(this._builderOptions,t).serialize(e);return this._beginLine(this._writerOptions,0)+this._convertObject(r,this._writerOptions)},t.prototype._convertObject=function(e,t,r){var n,o,i=this;void 0===r&&(r=0);var a="",u=this._isLeafNode(e);if(ry.isArray(e)){a+="[";var s=e.length,l=0;try{for(var c=rR(e),p=c.next();!p.done;p=c.next()){var d=p.value;a+=this._endLine(t,r+1)+this._beginLine(t,r+1)+this._convertObject(d,t,r+1),l<s-1&&(a+=","),l++}}catch(e){n={error:e}}finally{try{p&&!p.done&&(o=c.return)&&o.call(c)}finally{if(n)throw n.error}}a+=this._endLine(t,r)+this._beginLine(t,r),a+="]"}else if(ry.isObject(e)){a+="{";var f=ry.objectLength(e),h=0;ry.forEachObject(e,function(e,n){u&&t.prettyPrint?a+=" ":a+=i._endLine(t,r+1)+i._beginLine(t,r+1),a+=i._key(e),t.prettyPrint&&(a+=" "),a+=i._convertObject(n,t,r+1),h<f-1&&(a+=","),h++},this),u&&t.prettyPrint?a+=" ":a+=this._endLine(t,r)+this._beginLine(t,r),a+="}"}else a+=this._val(e);return a},t.prototype._beginLine=function(e,t){if(e.prettyPrint){var r=e.offset+t+1;if(r>0)return Array(r).join(e.indent)}return""},t.prototype._endLine=function(e,t){return e.prettyPrint?e.newline:""},t.prototype._key=function(e){return'"'+e+'":'},t.prototype._val=function(e){return JSON.stringify(e)},t.prototype._isLeafNode=function(e){return 1>=this._descendantCount(e)},t.prototype._descendantCount=function(e,t){var r=this;return void 0===t&&(t=0),ry.isArray(e)?ry.forEachArray(e,function(e){return t+=r._descendantCount(e,t)},this):ry.isObject(e)?ry.forEachObject(e,function(e,n){return t+=r._descendantCount(n,t)},this):t++,t},t}(rA.BaseWriter),r_.JSONWriter=rj.JSONWriter;var rU={},rG=rU&&rU.__extends||(D=function(e,t){return(D=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}D(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),rz=rU&&rU.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(rU,"__esModule",{value:!0});var ry=ee("jDPAV");rU.YAMLWriter=function(e){function t(t,r){var n=e.call(this,t)||this;if(n._writerOptions=ry.applyDefaults(r,{wellFormed:!1,indent:" ",newline:"\n",offset:0,group:!1,verbose:!1}),n._writerOptions.indent.length<2)throw Error("YAML indententation string must be at least two characters long.");if(n._writerOptions.offset<0)throw Error("YAML offset should be zero or a positive number.");return n}return rG(t,e),t.prototype.serialize=function(e){var t=ry.applyDefaults(this._writerOptions,{format:"object",wellFormed:!1}),r=new rx.ObjectWriter(this._builderOptions,t).serialize(e),n=this._beginLine(this._writerOptions,0)+"---"+this._endLine(this._writerOptions)+this._convertObject(r,this._writerOptions,0);return n.slice(-this._writerOptions.newline.length)===this._writerOptions.newline&&(n=n.slice(0,-this._writerOptions.newline.length)),n},t.prototype._convertObject=function(e,t,r,n){var o,i,a=this;void 0===n&&(n=!1);var u="";if(ry.isArray(e))try{for(var s=rz(e),l=s.next();!l.done;l=s.next()){var c=l.value;u+=this._beginLine(t,r,!0),ry.isObject(c)?ry.isEmpty(c)?u+='""'+this._endLine(t):u+=this._convertObject(c,t,r,!0):u+=this._val(c)+this._endLine(t)}}catch(e){o={error:e}}finally{try{l&&!l.done&&(i=s.return)&&i.call(s)}finally{if(o)throw o.error}}else ry.forEachObject(e,function(e,o){n?(u+=a._key(e),n=!1):u+=a._beginLine(t,r)+a._key(e),ry.isObject(o)?ry.isEmpty(o)?u+=' ""'+a._endLine(t):u+=a._endLine(t)+a._convertObject(o,t,r+1):u+=" "+a._val(o)+a._endLine(t)},this);return u},t.prototype._beginLine=function(e,t,r){void 0===r&&(r=!1);var n=Array(e.offset+t+1).join(e.indent);return r?n.substr(0,n.length-2)+"-"+n.substr(-1,1):n},t.prototype._endLine=function(e){return e.newline},t.prototype._key=function(e){return'"'+e+'":'},t.prototype._val=function(e){return JSON.stringify(e)},t}(rA.BaseWriter),r_.YAMLWriter=rU.YAMLWriter;var rC=ee("bql4T"),rq=ee("cnpfV"),rP=ee("eOMTm"),rV={};Object.defineProperty(rV,"__esModule",{value:!0});var rH={};Object.defineProperty(rH,"__esModule",{value:!0});var rW={};Object.defineProperty(rW,"__esModule",{value:!0});var ry=ee("jDPAV");rW.AbortController=ee("84pNM").AbortControllerImpl,rW.AbortSignal=ee("2BzzY").AbortSignalImpl;var r$=ee("hUGgy");rW.AbstractRange=r$.AbstractRangeImpl,rW.Attr=ee("lrfke").AttrImpl,rW.CDATASection=ee("fpzS2").CDATASectionImpl;var rY=ee("48JgK");rW.CharacterData=rY.CharacterDataImpl;var rX={};Object.defineProperty(rX,"__esModule",{value:!0});var rq=ee("cnpfV"),rP=ee("eOMTm");rX.ChildNodeImpl=function(){function e(){}return e.prototype.before=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=rq.Cast.asNode(this),n=r._parent;if(null!==n){for(var o=r._previousSibling,i=!0;i&&o;){i=!1;for(var a=0;a<e.length;a++)if(e[a]===o){o=o._previousSibling,i=!0;break}}var u=rP.parentNode_convertNodesIntoANode(e,r._nodeDocument);o=null===o?n._firstChild:o._nextSibling,rP.mutation_preInsert(u,n,o)}},e.prototype.after=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=rq.Cast.asNode(this),n=r._parent;if(n){for(var o=r._nextSibling,i=!0;i&&o;){i=!1;for(var a=0;a<e.length;a++)if(e[a]===o){o=o._nextSibling,i=!0;break}}var u=rP.parentNode_convertNodesIntoANode(e,r._nodeDocument);rP.mutation_preInsert(u,n,o)}},e.prototype.replaceWith=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=rq.Cast.asNode(this),n=r._parent;if(n){for(var o=r._nextSibling,i=!0;i&&o;){i=!1;for(var a=0;a<e.length;a++)if(e[a]===o){o=o._nextSibling,i=!0;break}}var u=rP.parentNode_convertNodesIntoANode(e,r._nodeDocument);r._parent===n?rP.mutation_replace(r,u,n):rP.mutation_preInsert(u,n,o)}},e.prototype.remove=function(){var e=rq.Cast.asNode(this),t=e._parent;t&&rP.mutation_remove(e,t)},e}(),rW.Comment=ee("7vMWy").CommentImpl,rW.CustomEvent=ee("aBgn9").CustomEventImpl;var rJ=ee("ESCTi");rW.DocumentFragment=rJ.DocumentFragmentImpl;var rK=ee("arxVV");rW.Document=rK.DocumentImpl;var rQ={};Object.defineProperty(rQ,"__esModule",{value:!0}),rQ.DocumentOrShadowRootImpl=function(){};var rZ=ee("FrTv7");rW.DocumentType=rZ.DocumentTypeImpl;var r0=ee("lrpO3");rW.dom=r0.dom,rW.DOMImplementation=ee("85Z9s").DOMImplementationImpl,rW.DOMTokenList=ee("8Piwh").DOMTokenListImpl;var r1=ee("iW3sp");rW.Element=r1.ElementImpl,rW.Event=ee("df3k2").EventImpl,rW.EventTarget=ee("ezaCF").EventTargetImpl,rW.HTMLCollection=ee("egFCd").HTMLCollectionImpl;var r2={},r3=r2&&r2.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(r2,"__esModule",{value:!0});var r0=ee("lrpO3"),rq=ee("cnpfV"),rk=ee("b9DcM");r2.MutationObserverImpl=function(){function e(e){this._nodeList=[],this._recordQueue=[],this._callback=e;var t=r0.dom.window;rk.set.append(t._mutationObservers,this)}return e.prototype.observe=function(e,t){if((void 0!==(t=t||{childList:!1,subtree:!1}).attributeOldValue||void 0!==t.attributeFilter)&&void 0===t.attributes&&(t.attributes=!0),void 0!==t.characterDataOldValue&&void 0===t.characterData&&(t.characterData=!0),!t.childList&&!t.attributes&&!t.characterData||t.attributeOldValue&&!t.attributes||void 0!==t.attributeFilter&&!t.attributes||t.characterDataOldValue&&!t.characterData)throw TypeError();var r,n,o=!1,i=t,a=function(e){var t,r;if(e.observer===u){o=!0;try{for(var n=(t=void 0,r3(u._nodeList)),a=n.next();!a.done;a=n.next()){var s=a.value;rk.list.remove(s._registeredObserverList,function(t){return rq.Guard.isTransientRegisteredObserver(t)&&t.source===e})}}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}e.options=i}},u=this;try{for(var s=r3(e._registeredObserverList),l=s.next();!l.done;l=s.next()){var c=l.value;a(c)}}catch(e){r={error:e}}finally{try{l&&!l.done&&(n=s.return)&&n.call(s)}finally{if(r)throw r.error}}o||(e._registeredObserverList.push({observer:this,options:t}),this._nodeList.push(e))},e.prototype.disconnect=function(){var e,t,r=this;try{for(var n=r3(this._nodeList),o=n.next();!o.done;o=n.next()){var i=o.value;rk.list.remove(i._registeredObserverList,function(e){return e.observer===r})}}catch(t){e={error:t}}finally{try{o&&!o.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}this._recordQueue=[]},e.prototype.takeRecords=function(){var e=this._recordQueue;return this._recordQueue=[],e},e}(),rW.MutationObserver=r2.MutationObserverImpl,rW.MutationRecord=ee("1qAZS").MutationRecordImpl,rW.NamedNodeMap=ee("kpMEY").NamedNodeMapImpl,rW.NodeFilter=ee("90TyW").NodeFilterImpl,rW.Node=ee("kuLmk").NodeImpl,rW.NodeIterator=ee("9Y4Fd").NodeIteratorImpl,rW.NodeList=ee("is6DP").NodeListImpl,rW.NodeListStatic=ee("fgilR").NodeListStaticImpl;var r8={};Object.defineProperty(r8,"__esModule",{value:!0});var rq=ee("cnpfV");r8.NonDocumentTypeChildNodeImpl=function(){function e(){}return Object.defineProperty(e.prototype,"previousElementSibling",{get:function(){for(var e=rq.Cast.asNode(this)._previousSibling;e;)if(rq.Guard.isElementNode(e))return e;else e=e._previousSibling;return null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"nextElementSibling",{get:function(){for(var e=rq.Cast.asNode(this)._nextSibling;e;)if(rq.Guard.isElementNode(e))return e;else e=e._nextSibling;return null},enumerable:!0,configurable:!0}),e}();var r5={};Object.defineProperty(r5,"__esModule",{value:!0});var rq=ee("cnpfV"),rP=ee("eOMTm");r5.NonElementParentNodeImpl=function(){function e(){}return e.prototype.getElementById=function(e){for(var t=rP.tree_getFirstDescendantNode(rq.Cast.asNode(this),!1,!1,function(e){return rq.Guard.isElementNode(e)});null!==t;){if(t._uniqueIdentifier===e)return t;t=rP.tree_getNextDescendantNode(rq.Cast.asNode(this),t,!1,!1,function(e){return rq.Guard.isElementNode(e)})}return null},e}();var r6={},r9=r6&&r6.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(r6,"__esModule",{value:!0});var rq=ee("cnpfV"),rP=ee("eOMTm");r6.ParentNodeImpl=function(){function e(){}return Object.defineProperty(e.prototype,"children",{get:function(){return rP.create_htmlCollection(rq.Cast.asNode(this))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"firstElementChild",{get:function(){for(var e=rq.Cast.asNode(this)._firstChild;e;)if(rq.Guard.isElementNode(e))return e;else e=e._nextSibling;return null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"lastElementChild",{get:function(){for(var e=rq.Cast.asNode(this)._lastChild;e;)if(rq.Guard.isElementNode(e))return e;else e=e._previousSibling;return null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"childElementCount",{get:function(){var e,t,r=0;try{for(var n=r9(rq.Cast.asNode(this)._children),o=n.next();!o.done;o=n.next()){var i=o.value;rq.Guard.isElementNode(i)&&r++}}catch(t){e={error:t}}finally{try{o&&!o.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}return r},enumerable:!0,configurable:!0}),e.prototype.prepend=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=rq.Cast.asNode(this),n=rP.parentNode_convertNodesIntoANode(e,r._nodeDocument);rP.mutation_preInsert(n,r,r._firstChild)},e.prototype.append=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=rq.Cast.asNode(this),n=rP.parentNode_convertNodesIntoANode(e,r._nodeDocument);rP.mutation_append(n,r)},e.prototype.querySelector=function(e){var t=rq.Cast.asNode(this),r=rP.selectors_scopeMatchASelectorsString(e,t);return 0===r.length?null:r[0]},e.prototype.querySelectorAll=function(e){var t=rq.Cast.asNode(this),r=rP.selectors_scopeMatchASelectorsString(e,t);return rP.create_nodeListStatic(t,r)},e}(),rW.ProcessingInstruction=ee("b9Cnk").ProcessingInstructionImpl,rW.Range=ee("15kuI").RangeImpl;var r4=ee("chTgy");rW.ShadowRoot=r4.ShadowRootImpl;var r7={};Object.defineProperty(r7,"__esModule",{value:!0});var rP=ee("eOMTm");r7.SlotableImpl=function(){function e(){}return Object.defineProperty(e.prototype,"_name",{get:function(){return this.__name||""},set:function(e){this.__name=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_assignedSlot",{get:function(){return this.__assignedSlot||null},set:function(e){this.__assignedSlot=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"assignedSlot",{get:function(){return rP.shadowTree_findASlot(this,!0)},enumerable:!0,configurable:!0}),e}();var ne={},nt=ne&&ne.__extends||(g=function(e,t){return(g=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}g(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(ne,"__esModule",{value:!0});var r$=ee("hUGgy"),nr=ee("bnDGi"),rq=ee("cnpfV");ne.StaticRangeImpl=function(e){function t(t){var r=e.call(this)||this;if(rq.Guard.isDocumentTypeNode(t.startContainer)||rq.Guard.isAttrNode(t.startContainer)||rq.Guard.isDocumentTypeNode(t.endContainer)||rq.Guard.isAttrNode(t.endContainer))throw new nr.InvalidNodeTypeError;return r._start=[t.startContainer,t.startOffset],r._end=[t.endContainer,t.endOffset],r}return nt(t,e),t}(r$.AbstractRangeImpl),rW.StaticRange=ne.StaticRangeImpl;var nn=ee("6O4nx");rW.Text=nn.TextImpl,rW.Traverser=ee("bodkg").TraverserImpl,rW.TreeWalker=ee("8i5wm").TreeWalkerImpl,rW.Window=ee("aUIwt").WindowImpl,rW.XMLDocument=ee("lHHKe").XMLDocumentImpl,ry.applyMixin(r1.ElementImpl,rX.ChildNodeImpl),ry.applyMixin(rY.CharacterDataImpl,rX.ChildNodeImpl),ry.applyMixin(rZ.DocumentTypeImpl,rX.ChildNodeImpl),ry.applyMixin(rK.DocumentImpl,rQ.DocumentOrShadowRootImpl),ry.applyMixin(r4.ShadowRootImpl,rQ.DocumentOrShadowRootImpl),ry.applyMixin(r1.ElementImpl,r8.NonDocumentTypeChildNodeImpl),ry.applyMixin(rY.CharacterDataImpl,r8.NonDocumentTypeChildNodeImpl),ry.applyMixin(rK.DocumentImpl,r5.NonElementParentNodeImpl),ry.applyMixin(rJ.DocumentFragmentImpl,r5.NonElementParentNodeImpl),ry.applyMixin(rK.DocumentImpl,r6.ParentNodeImpl),ry.applyMixin(rJ.DocumentFragmentImpl,r6.ParentNodeImpl),ry.applyMixin(r1.ElementImpl,r6.ParentNodeImpl),ry.applyMixin(nn.TextImpl,r7.SlotableImpl),ry.applyMixin(r1.ElementImpl,r7.SlotableImpl),rW.dom.setFeatures(!0),rH.DOMImplementation=rW.DOMImplementation;var no={};Object.defineProperty(no,"__esModule",{value:!0});var ni={};Object.defineProperty(ni,"__esModule",{value:!0});var rP=ee("eOMTm"),na={},nu=na&&na.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)a.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return a},ns=na&&na.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(na,"__esModule",{value:!0});var nl={},nc=nl&&nl.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)a.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return a};Object.defineProperty(nl,"__esModule",{value:!0});var np={};Object.defineProperty(np,"__esModule",{value:!0}),(y=np.TokenType||(np.TokenType={}))[y.EOF=0]="EOF",y[y.Declaration=1]="Declaration",y[y.DocType=2]="DocType",y[y.Element=3]="Element",y[y.Text=4]="Text",y[y.CDATA=5]="CDATA",y[y.PI=6]="PI",y[y.Comment=7]="Comment",y[y.ClosingTag=8]="ClosingTag",nl.XMLStringLexer=function(){function e(e,t){this._options={skipWhitespaceOnlyText:!1},this.err={line:-1,col:-1,index:-1,str:""},this._str=e,this._index=0,this._length=e.length,t&&(this._options.skipWhitespaceOnlyText=t.skipWhitespaceOnlyText||!1)}return e.prototype.nextToken=function(){if(this.eof())return{type:np.TokenType.EOF};var t=this.skipIfStartsWith("<")?this.openBracket():this.text();return this._options.skipWhitespaceOnlyText&&t.type===np.TokenType.Text&&e.isWhiteSpaceToken(t)&&(t=this.nextToken()),t},e.prototype.openBracket=function(){if(this.skipIfStartsWith("?"))if(!this.skipIfStartsWith("xml"))return this.pi();else if(e.isSpace(this._str[this._index]))return this.declaration();else return this.seek(-3),this.pi();if(this.skipIfStartsWith("!"))if(this.skipIfStartsWith("--"))return this.comment();else{if(this.skipIfStartsWith("[CDATA["))return this.cdata();if(this.skipIfStartsWith("DOCTYPE"))return this.doctype();this.throwError("Invalid '!' in opening tag.")}else if(this.skipIfStartsWith("/"))return this.closeTag();else return this.openTag()},e.prototype.declaration=function(){for(var e="",t="",r="";!this.eof();){if(this.skipSpace(),this.skipIfStartsWith("?>"))return{type:np.TokenType.Declaration,version:e,encoding:t,standalone:r};var n=nc(this.attribute(),2),o=n[0],i=n[1];"version"===o?e=i:"encoding"===o?t=i:"standalone"===o?r=i:this.throwError("Invalid attribute name: "+o)}this.throwError("Missing declaration end symbol `?>`")},e.prototype.doctype=function(){var e="",t="";this.skipSpace();var r=this.takeUntil2("[",">",!0);return this.skipSpace(),this.skipIfStartsWith("PUBLIC")?(e=this.quotedString(),t=this.quotedString()):this.skipIfStartsWith("SYSTEM")&&(t=this.quotedString()),this.skipSpace(),this.skipIfStartsWith("[")&&(this.skipUntil("]"),this.skipIfStartsWith("]")||this.throwError("Missing end bracket of DTD internal subset")),this.skipSpace(),this.skipIfStartsWith(">")||this.throwError("Missing doctype end symbol `>`"),{type:np.TokenType.DocType,name:r,pubId:e,sysId:t}},e.prototype.pi=function(){var e=this.takeUntilStartsWith("?>",!0);if(this.eof()&&this.throwError("Missing processing instruction end symbol `?>`"),this.skipSpace(),this.skipIfStartsWith("?>"))return{type:np.TokenType.PI,target:e,data:""};var t=this.takeUntilStartsWith("?>");return this.eof()&&this.throwError("Missing processing instruction end symbol `?>`"),this.seek(2),{type:np.TokenType.PI,target:e,data:t}},e.prototype.text=function(){var e=this.takeUntil("<");return{type:np.TokenType.Text,data:e}},e.prototype.comment=function(){var e=this.takeUntilStartsWith("--\x3e");return this.eof()&&this.throwError("Missing comment end symbol `--\x3e`"),this.seek(3),{type:np.TokenType.Comment,data:e}},e.prototype.cdata=function(){var e=this.takeUntilStartsWith("]]>");return this.eof()&&this.throwError("Missing CDATA end symbol `]>`"),this.seek(3),{type:np.TokenType.CDATA,data:e}},e.prototype.openTag=function(){this.skipSpace();var e=this.takeUntil2(">","/",!0);if(this.skipSpace(),this.skipIfStartsWith(">"))return{type:np.TokenType.Element,name:e,attributes:[],selfClosing:!1};if(this.skipIfStartsWith("/>"))return{type:np.TokenType.Element,name:e,attributes:[],selfClosing:!0};for(var t=[];!this.eof();){if(this.skipSpace(),this.skipIfStartsWith(">"))return{type:np.TokenType.Element,name:e,attributes:t,selfClosing:!1};if(this.skipIfStartsWith("/>"))return{type:np.TokenType.Element,name:e,attributes:t,selfClosing:!0};var r=this.attribute();t.push(r)}this.throwError("Missing opening element tag end symbol `>`")},e.prototype.closeTag=function(){this.skipSpace();var e=this.takeUntil(">",!0);return this.skipSpace(),this.skipIfStartsWith(">")||this.throwError("Missing closing element tag end symbol `>`"),{type:np.TokenType.ClosingTag,name:e}},e.prototype.attribute=function(){this.skipSpace();var e=this.takeUntil("=",!0);return this.skipSpace(),this.skipIfStartsWith("=")||this.throwError("Missing equals sign before attribute value"),[e,this.quotedString()]},e.prototype.quotedString=function(){this.skipSpace();var t=this.take(1);e.isQuote(t)||this.throwError("Missing start quote character before quoted value");var r=this.takeUntil(t);return this.skipIfStartsWith(t)||this.throwError("Missing end quote character after quoted value"),r},e.prototype.eof=function(){return this._index>=this._length},e.prototype.skipIfStartsWith=function(e){var t=e.length;if(1===t)if(this._str[this._index]===e)return this._index++,!0;else return!1;for(var r=0;r<t;r++)if(this._str[this._index+r]!==e[r])return!1;return this._index+=t,!0},e.prototype.seek=function(e){this._index+=e,this._index<0&&(this._index=0),this._index>this._length&&(this._index=this._length)},e.prototype.skipSpace=function(){for(;!this.eof()&&e.isSpace(this._str[this._index]);)this._index++},e.prototype.take=function(e){if(1===e)return this._str[this._index++];var t=this._index;return this.seek(e),this._str.slice(t,this._index)},e.prototype.takeUntil=function(t,r){void 0===r&&(r=!1);for(var n=this._index;this._index<this._length;){var o=this._str[this._index];if(o===t||r&&e.isSpace(o))break;this._index++}return this._str.slice(n,this._index)},e.prototype.takeUntil2=function(t,r,n){void 0===n&&(n=!1);for(var o=this._index;this._index<this._length;){var i=this._str[this._index];if(i===t||i===r||n&&e.isSpace(i))break;this._index++}return this._str.slice(o,this._index)},e.prototype.takeUntilStartsWith=function(t,r){void 0===r&&(r=!1);for(var n=this._index,o=t.length;this._index<this._length;){for(var i=!0,a=0;a<o;a++){var u=this._str[this._index+a],s=t[a];if(r&&e.isSpace(u))return this._str.slice(n,this._index);if(u!==s){this._index++,i=!1;break}}if(i)return this._str.slice(n,this._index)}return this._index=this._length,this._str.slice(n)},e.prototype.skipUntil=function(e){for(;this._index<this._length;)if(this._str[this._index]!==e)this._index++;else break},e.isWhiteSpaceToken=function(e){for(var t=e.data,r=0;r<t.length;r++){var n=t[r];if(" "!==n&&"\n"!==n&&"\r"!==n&&" "!==n&&"\f"!==n)return!1}return!0},e.isSpace=function(e){return" "===e||"\n"===e||"\r"===e||" "===e},e.isQuote=function(e){return'"'===e||"'"===e},e.prototype.throwError=function(e){for(var t=/\r\n|\r|\n/g,r=null,n=0,o=0,i=this._str.length;null!==(r=t.exec(this._str))&&null!==r;)if(n++,r.index<this._index&&(o=t.lastIndex),r.index>this._index){i=r.index;break}throw this.err={line:n,col:this._index-o,index:this._index,str:this._str.substring(o,i)},Error(e+"\nIndex: "+this.err.index+"\nLn: "+this.err.line+", Col: "+this.err.col+"\nInput: "+this.err.str)},e.prototype[Symbol.iterator]=function(){return this._index=0,{next:(function(){var e=this.nextToken();return e.type===np.TokenType.EOF?{done:!0,value:null}:{done:!1,value:e}}).bind(this)}},e}();var rk=ee("b9DcM"),rP=ee("eOMTm");na.XMLParserImpl=function(){function e(){}return e.prototype.parse=function(e){for(var t,r,n,o,i=new nl.XMLStringLexer(e,{skipWhitespaceOnlyText:!0}),a=rP.create_document(),u=a,s=i.nextToken();s.type!==np.TokenType.EOF;){switch(s.type){case np.TokenType.Declaration:var l=s;if("1.0"!==l.version)throw Error("Invalid xml version: "+l.version);break;case np.TokenType.DocType:var c=s;if(!rP.xml_isPubidChar(c.pubId))throw Error("DocType public identifier does not match PubidChar construct.");if(!rP.xml_isLegalChar(c.sysId)||-1!==c.sysId.indexOf('"')&&-1!==c.sysId.indexOf("'"))throw Error("DocType system identifier contains invalid characters.");u.appendChild(a.implementation.createDocumentType(c.name,c.pubId,c.sysId));break;case np.TokenType.CDATA:var p=s;if(!rP.xml_isLegalChar(p.data)||-1!==p.data.indexOf("]]>"))throw Error("CDATA contains invalid characters.");u.appendChild(a.createCDATASection(p.data));break;case np.TokenType.Comment:var d=s;if(!rP.xml_isLegalChar(d.data)||-1!==d.data.indexOf("--")||d.data.endsWith("-"))throw Error("Comment data contains invalid characters.");u.appendChild(a.createComment(d.data));break;case np.TokenType.PI:var f=s;if(-1!==f.target.indexOf(":")||/^xml$/i.test(f.target))throw Error("Processing instruction target contains invalid characters.");if(!rP.xml_isLegalChar(f.data)||-1!==f.data.indexOf("?>"))throw Error("Processing instruction data contains invalid characters.");u.appendChild(a.createProcessingInstruction(f.target,f.data));break;case np.TokenType.Text:var h=s;if(!rP.xml_isLegalChar(h.data))throw Error("Text data contains invalid characters.");u.appendChild(a.createTextNode(this._decodeText(h.data)));break;case np.TokenType.Element:var m=s,D=nu(rP.namespace_extractQName(m.name),2),g=D[0],y=D[1];if(-1!==y.indexOf(":")||!rP.xml_isName(y))throw Error("Node local name contains invalid characters.");if("xmlns"===g)throw Error("An element cannot have the 'xmlns' prefix.");var _=u.lookupNamespaceURI(g),v={};try{for(var b=(t=void 0,ns(m.attributes)),x=b.next();!x.done;x=b.next()){var E=nu(x.value,2),w=E[0],C=E[1];if("xmlns"===w)_=C;else{var A=nu(rP.namespace_extractQName(w),2),N=A[0],T=A[1];"xmlns"===N&&(T===g&&(_=C),v[T]=C)}}}catch(e){t={error:e}}finally{try{x&&!x.done&&(r=b.return)&&r.call(b)}finally{if(t)throw t.error}}var S=null!==_?a.createElementNS(_,m.name):a.createElement(m.name);u.appendChild(S);var F=new rF.LocalNameSet;try{for(var O=(n=void 0,ns(m.attributes)),k=O.next();!k.done;k=O.next()){var P=nu(k.value,2),w=P[0],C=P[1],L=nu(rP.namespace_extractQName(w),2),N=L[0],T=L[1],I=null;if("xmlns"===N||null===N&&"xmlns"===T?I=rk.namespace.XMLNS:(I=S.lookupNamespaceURI(N),null!==I&&S.isDefaultNamespace(I)?I=null:null===I&&null!==N&&(I=v[N]||null)),F.has(I,T))throw Error("Element contains duplicate attributes.");if(F.set(I,T),I===rk.namespace.XMLNS&&C===rk.namespace.XMLNS)throw Error("XMLNS namespace is reserved.");if(-1!==T.indexOf(":")||!rP.xml_isName(T))throw Error("Attribute local name contains invalid characters.");if("xmlns"===N&&""===C)throw Error("Empty XML namespace is not allowed.");null!==I?S.setAttributeNS(I,w,this._decodeAttributeValue(C)):S.setAttribute(w,this._decodeAttributeValue(C))}}catch(e){n={error:e}}finally{try{k&&!k.done&&(o=O.return)&&o.call(O)}finally{if(n)throw n.error}}m.selfClosing||(u=S);break;case np.TokenType.ClosingTag:if(s.name!==u.nodeName)throw Error("Closing tag name does not match opening tag name.");u._parent&&(u=u._parent)}s=i.nextToken()}return a},e.prototype._decodeText=function(e){return null==e?e:e.replace(/</g,"<").replace(/>/g,">").replace(/&/g,"&")},e.prototype._decodeAttributeValue=function(e){return null==e?e:e.replace(/</g,"<").replace(/>/g,">").replace(/&/g,"&")},e}(),ni.DOMParserImpl=function(){function e(){}return e.prototype.parseFromString=function(e,t){if("text/html"===t)throw Error("HTML parser not implemented.");try{var r=new na.XMLParserImpl().parse(e);return r._contentType=t,r}catch(e){var n="http://www.mozilla.org/newlayout/xml/parsererror.xml",r=rP.create_xmlDocument(),o=r.createElementNS(n,"parsererror"),i=r.createElementNS(n,"error");return i.setAttribute("message",e.message),o.appendChild(i),r.appendChild(o),r}},e}(),no.DOMParser=ni.DOMParserImpl,rH.DOMParser=no.DOMParser;var nd={};Object.defineProperty(nd,"__esModule",{value:!0});var nf={},nh=nf&&nf.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(nf,"__esModule",{value:!0});var rC=ee("bql4T"),nr=ee("bnDGi"),rk=ee("b9DcM"),rP=ee("eOMTm");nf.XMLSerializerImpl=function(){function e(){}return e.prototype.serializeToString=function(e){return this._xmlSerialization(e,!1)},e.prototype._xmlSerialization=function(e,t){if(void 0===e._nodeDocument||e._nodeDocument._hasNamespaces){var r=new rO.NamespacePrefixMap;r.set("xml",rk.namespace.XML);try{return this._serializeNodeNS(e,null,r,{value:1},t)}catch(e){throw new nr.InvalidStateError}}try{return this._serializeNode(e,t)}catch(e){throw new nr.InvalidStateError}},e.prototype._serializeNodeNS=function(e,t,r,n,o){switch(e.nodeType){case rC.NodeType.Element:return this._serializeElementNS(e,t,r,n,o);case rC.NodeType.Document:return this._serializeDocumentNS(e,t,r,n,o);case rC.NodeType.Comment:return this._serializeComment(e,o);case rC.NodeType.Text:return this._serializeText(e,o);case rC.NodeType.DocumentFragment:return this._serializeDocumentFragmentNS(e,t,r,n,o);case rC.NodeType.DocumentType:return this._serializeDocumentType(e,o);case rC.NodeType.ProcessingInstruction:return this._serializeProcessingInstruction(e,o);case rC.NodeType.CData:return this._serializeCData(e,o);default:throw Error("Unknown node type: "+e.nodeType)}},e.prototype._serializeNode=function(e,t){switch(e.nodeType){case rC.NodeType.Element:return this._serializeElement(e,t);case rC.NodeType.Document:return this._serializeDocument(e,t);case rC.NodeType.Comment:return this._serializeComment(e,t);case rC.NodeType.Text:return this._serializeText(e,t);case rC.NodeType.DocumentFragment:return this._serializeDocumentFragment(e,t);case rC.NodeType.DocumentType:return this._serializeDocumentType(e,t);case rC.NodeType.ProcessingInstruction:return this._serializeProcessingInstruction(e,t);case rC.NodeType.CData:return this._serializeCData(e,t);default:throw Error("Unknown node type: "+e.nodeType)}},e.prototype._serializeElementNS=function(t,r,n,o,i){if(i&&(-1!==t.localName.indexOf(":")||!rP.xml_isName(t.localName)))throw Error("Node local name contains invalid characters (well-formed required).");var a,u,s="<",l="",c=!1,p=!1,d=n.copy(),f={},h=this._recordNamespaceInformation(t,d,f),m=r,D=t.namespaceURI;if(m===D)null!==h&&(p=!0),s+=l=D===rk.namespace.XML?"xml:"+t.localName:t.localName;else{var g=t.prefix,y=null;if((null!==g||D!==h)&&(y=d.get(g,D)),"xmlns"===g){if(i)throw Error("An element cannot have the 'xmlns' prefix (well-formed required).");y=g}null!==y?(l=y+":"+t.localName,null!==h&&h!==rk.namespace.XML&&(m=h||null),s+=l):null!==g?(g in f&&(g=this._generatePrefix(D,d,o)),d.set(g,D),l+=g+":"+t.localName,s+=l,s+=" xmlns:"+g+'="'+this._serializeAttributeValue(D,i)+'"',null!==h&&(m=h||null)):null===h||null!==h&&h!==D?(p=!0,l+=t.localName,m=D,s+=l,s+=' xmlns="'+this._serializeAttributeValue(D,i)+'"'):(l+=t.localName,m=D,s+=l)}s+=this._serializeAttributesNS(t,d,o,f,p,i);var _=D===rk.namespace.HTML;if(_&&0===t.childNodes.length&&e._VoidElementNames.has(t.localName)?(s+=" /",c=!0):_||0!==t.childNodes.length||(s+="/",c=!0),s+=">",c)return s;if(_&&"template"===t.localName);else try{for(var v=nh(t._children||t.childNodes),b=v.next();!b.done;b=v.next()){var x=b.value;s+=this._serializeNodeNS(x,m,d,o,i)}}catch(e){a={error:e}}finally{try{b&&!b.done&&(u=v.return)&&u.call(v)}finally{if(a)throw a.error}}return s+("</"+l+">")},e.prototype._serializeDocumentNS=function(e,t,r,n,o){if(o&&null===e.documentElement)throw Error("Missing document element (well-formed required).");var i,a,u="";try{for(var s=nh(e._children||e.childNodes),l=s.next();!l.done;l=s.next()){var c=l.value;u+=this._serializeNodeNS(c,t,r,n,o)}}catch(e){i={error:e}}finally{try{l&&!l.done&&(a=s.return)&&a.call(s)}finally{if(i)throw i.error}}return u},e.prototype._serializeComment=function(e,t){if(t&&(!rP.xml_isLegalChar(e.data)||-1!==e.data.indexOf("--")||e.data.endsWith("-")))throw Error("Comment data contains invalid characters (well-formed required).");return"\x3c!--"+e.data+"--\x3e"},e.prototype._serializeText=function(e,t){if(t&&!rP.xml_isLegalChar(e.data))throw Error("Text data contains invalid characters (well-formed required).");for(var r="",n=0;n<e.data.length;n++){var o=e.data[n];"&"===o?r+="&":"<"===o?r+="<":">"===o?r+=">":r+=o}return r},e.prototype._serializeDocumentFragmentNS=function(e,t,r,n,o){var i,a,u="";try{for(var s=nh(e._children||e.childNodes),l=s.next();!l.done;l=s.next()){var c=l.value;u+=this._serializeNodeNS(c,t,r,n,o)}}catch(e){i={error:e}}finally{try{l&&!l.done&&(a=s.return)&&a.call(s)}finally{if(i)throw i.error}}return u},e.prototype._serializeDocumentType=function(e,t){if(t&&!rP.xml_isPubidChar(e.publicId))throw Error("DocType public identifier does not match PubidChar construct (well-formed required).");if(t&&(!rP.xml_isLegalChar(e.systemId)||-1!==e.systemId.indexOf('"')&&-1!==e.systemId.indexOf("'")))throw Error("DocType system identifier contains invalid characters (well-formed required).");return e.publicId&&e.systemId?"<!DOCTYPE "+e.name+' PUBLIC "'+e.publicId+'" "'+e.systemId+'">':e.publicId?"<!DOCTYPE "+e.name+' PUBLIC "'+e.publicId+'">':e.systemId?"<!DOCTYPE "+e.name+' SYSTEM "'+e.systemId+'">':"<!DOCTYPE "+e.name+">"},e.prototype._serializeProcessingInstruction=function(e,t){if(t&&(-1!==e.target.indexOf(":")||/^xml$/i.test(e.target)))throw Error("Processing instruction target contains invalid characters (well-formed required).");if(t&&(!rP.xml_isLegalChar(e.data)||-1!==e.data.indexOf("?>")))throw Error("Processing instruction data contains invalid characters (well-formed required).");return"<?"+(""===e.data?e.target:e.target+" "+e.data)+"?>"},e.prototype._serializeCData=function(e,t){if(t&&-1!==e.data.indexOf("]]>"))throw Error("CDATA contains invalid characters (well-formed required).");return"<![CDATA["+e.data+"]]>"},e.prototype._serializeAttributesNS=function(e,t,r,n,o,i){var a,u,s="",l=i?new rF.LocalNameSet:void 0;try{for(var c=nh(e.attributes),p=c.next();!p.done;p=c.next()){var d=p.value;if(!o&&!i&&null===d.namespaceURI){s+=" "+d.localName+'="'+this._serializeAttributeValue(d.value,i)+'"';continue}if(i&&l&&l.has(d.namespaceURI,d.localName))throw Error("Element contains duplicate attributes (well-formed required).");i&&l&&l.set(d.namespaceURI,d.localName);var f=d.namespaceURI,h=null;if(null!==f)if(h=t.get(d.prefix,f),f===rk.namespace.XMLNS){if(d.value===rk.namespace.XML||null===d.prefix&&o||null!==d.prefix&&(!(d.localName in n)||n[d.localName]!==d.value)&&t.has(d.localName,d.value))continue;if(i&&d.value===rk.namespace.XMLNS)throw Error("XMLNS namespace is reserved (well-formed required).");if(i&&""===d.value)throw Error("Namespace prefix declarations cannot be used to undeclare a namespace (well-formed required).");"xmlns"===d.prefix&&(h="xmlns")}else null===h&&(h=null!==d.prefix&&(!t.hasPrefix(d.prefix)||t.has(d.prefix,f))?d.prefix:this._generatePrefix(f,t,r),s+=" xmlns:"+h+'="'+this._serializeAttributeValue(f,i)+'"');if(s+=" ",null!==h&&(s+=h+":"),i&&(-1!==d.localName.indexOf(":")||!rP.xml_isName(d.localName)||"xmlns"===d.localName&&null===f))throw Error("Attribute local name contains invalid characters (well-formed required).");s+=d.localName+'="'+this._serializeAttributeValue(d.value,i)+'"'}}catch(e){a={error:e}}finally{try{p&&!p.done&&(u=c.return)&&u.call(c)}finally{if(a)throw a.error}}return s},e.prototype._recordNamespaceInformation=function(e,t,r){var n,o,i=null;try{for(var a=nh(e.attributes),u=a.next();!u.done;u=a.next()){var s=u.value,l=s.namespaceURI,c=s.prefix;if(l===rk.namespace.XMLNS)if(null===c){i=s.value;continue}else{var p=s.localName,d=s.value;if(d===rk.namespace.XML||(""===d&&(d=null),t.has(p,d)))continue;t.set(p,d),r[p]=d||""}}}catch(e){n={error:e}}finally{try{u&&!u.done&&(o=a.return)&&o.call(a)}finally{if(n)throw n.error}}return i},e.prototype._generatePrefix=function(e,t,r){var n="ns"+r.value;return r.value++,t.set(n,e),n},e.prototype._serializeAttributeValue=function(e,t){if(t&&null!==e&&!rP.xml_isLegalChar(e))throw Error("Invalid characters in attribute value.");if(null===e)return"";for(var r="",n=0;n<e.length;n++){var o=e[n];'"'===o?r+=""":"&"===o?r+="&":"<"===o?r+="<":">"===o?r+=">":r+=o}return r},e.prototype._serializeElement=function(e,t){if(t&&(-1!==e.localName.indexOf(":")||!rP.xml_isName(e.localName)))throw Error("Node local name contains invalid characters (well-formed required).");var r,n,o=!1,i=e.localName,a="<"+i;if(a+=this._serializeAttributes(e,t),0===e._children.size&&(a+="/",o=!0),a+=">",o)return a;try{for(var u=nh(e._children),s=u.next();!s.done;s=u.next()){var l=s.value;a+=this._serializeNode(l,t)}}catch(e){r={error:e}}finally{try{s&&!s.done&&(n=u.return)&&n.call(u)}finally{if(r)throw r.error}}return a+("</"+i+">")},e.prototype._serializeDocument=function(e,t){if(t&&null===e.documentElement)throw Error("Missing document element (well-formed required).");var r,n,o="";try{for(var i=nh(e._children),a=i.next();!a.done;a=i.next()){var u=a.value;o+=this._serializeNode(u,t)}}catch(e){r={error:e}}finally{try{a&&!a.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}return o},e.prototype._serializeDocumentFragment=function(e,t){var r,n,o="";try{for(var i=nh(e._children),a=i.next();!a.done;a=i.next()){var u=a.value;o+=this._serializeNode(u,t)}}catch(e){r={error:e}}finally{try{a&&!a.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}return o},e.prototype._serializeAttributes=function(e,t){var r,n,o="",i=t?{}:void 0;try{for(var a=nh(e.attributes),u=a.next();!u.done;u=a.next()){var s=u.value;if(t&&i&&s.localName in i)throw Error("Element contains duplicate attributes (well-formed required).");if(t&&i&&(i[s.localName]=!0),t&&(-1!==s.localName.indexOf(":")||!rP.xml_isName(s.localName)))throw Error("Attribute local name contains invalid characters (well-formed required).");o+=" "+s.localName+'="'+this._serializeAttributeValue(s.value,t)+'"'}}catch(e){r={error:e}}finally{try{u&&!u.done&&(n=a.return)&&n.call(a)}finally{if(r)throw r.error}}return o},e._VoidElementNames=new Set(["area","base","basefont","bgsound","br","col","embed","frame","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"]),e}(),nd.XMLSerializer=nf.XMLSerializerImpl,rH.XMLSerializer=nd.XMLSerializer;var ry=ee("jDPAV");rW.dom.setFeatures(!1),rV.createDocument=function(){var e=new rH.DOMImplementation().createDocument(null,"root",null);return e.documentElement&&e.removeChild(e.documentElement),e},rV.sanitizeInput=function(e,t){if(null==e)return e;if(void 0===t)return e+"";var r="";e+="";for(var n=0;n<e.length;n++){var o=e.charCodeAt(n);if(9===o||10===o||13===o||o>=32&&o<=55295||o>=57344&&o<=65533)r+=e.charAt(n);else if(o>=55296&&o<=56319&&n<e.length-1){var i=e.charCodeAt(n+1);i>=56320&&i<=57343?(r+=String.fromCodePoint(o=(o-55296)*1024+i-56320+65536),n++):r+=ry.isString(t)?t:t(e.charAt(n),n,e)}else r+=ry.isString(t)?t:t(e.charAt(n),n,e)}return r};var rk=ee("b9DcM"),nm={};Object.defineProperty(nm,"__esModule",{value:!0});var nD={},ng=nD&&nD.__extends||(_=function(e,t){return(_=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}_(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),ny=nD&&nD.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)a.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return a},n_=nD&&nD.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(nD,"__esModule",{value:!0});var rC=ee("bql4T"),rk=ee("b9DcM"),rP=ee("eOMTm"),nv={};Object.defineProperty(nv,"__esModule",{value:!0}),nv.BaseReader=function(){function e(e){this._builderOptions=e,e.parser&&Object.assign(this,e.parser)}return e.prototype._docType=function(e,t,r,n){return e.dtd({name:t,pubID:r,sysID:n})},e.prototype._comment=function(e,t){return e.com(t)},e.prototype._text=function(e,t){return e.txt(t)},e.prototype._instruction=function(e,t,r){return e.ins(t,r)},e.prototype._cdata=function(e,t){return e.dat(t)},e.prototype._element=function(e,t,r){return void 0===t?e.ele(r):e.ele(t,r)},e.prototype._attribute=function(e,t,r,n){return void 0===t?e.att(r,n):e.att(t,r,n)},e.prototype._sanitize=function(e){return rV.sanitizeInput(e,this._builderOptions.invalidCharReplacement)},e.prototype._decodeText=function(t){return null==t?t:t.replace(/&(quot|amp|apos|lt|gt);/g,function(t,r){return e._entityTable[r]}).replace(/&#(?:x([a-fA-F0-9]+)|([0-9]+));/g,function(e,t,r){return String.fromCodePoint(parseInt(t||r,t?16:10))})},e.prototype._decodeAttributeValue=function(e){return this._decodeText(e)},e.prototype.parse=function(e,t){return this._parse(e,t)},e.prototype.docType=function(e,t,r,n){return this._docType(e,t,r,n)},e.prototype.comment=function(e,t){return this._comment(e,t)},e.prototype.text=function(e,t){return this._text(e,t)},e.prototype.instruction=function(e,t,r){return this._instruction(e,t,r)},e.prototype.cdata=function(e,t){return this._cdata(e,t)},e.prototype.element=function(e,t,r){return this._element(e,t,r)},e.prototype.attribute=function(e,t,r,n){return this._attribute(e,t,r,n)},e.prototype.sanitize=function(e){return this._sanitize(e)},e._entityTable={lt:"<",gt:">",amp:"&",quot:'"',apos:"'"},e}(),nD.XMLReader=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return ng(t,e),t.prototype._parse=function(e,t){for(var r,n,o,i,a=new nl.XMLStringLexer(t,{skipWhitespaceOnlyText:this._builderOptions.skipWhitespaceOnlyText}),u=e,s=e,l=a.nextToken();l.type!==np.TokenType.EOF;){switch(l.type){case np.TokenType.Declaration:var c=l,p=this.sanitize(c.version);if("1.0"!==p)throw Error("Invalid xml version: "+p);var d={version:p};c.encoding&&(d.encoding=this.sanitize(c.encoding)),c.standalone&&(d.standalone="yes"===this.sanitize(c.standalone)),s.set(d);break;case np.TokenType.DocType:var f=l;s=this.docType(s,this.sanitize(f.name),this.sanitize(f.pubId),this.sanitize(f.sysId))||s;break;case np.TokenType.CDATA:var h=l;s=this.cdata(s,this.sanitize(h.data))||s;break;case np.TokenType.Comment:var m=l;s=this.comment(s,this.sanitize(m.data))||s;break;case np.TokenType.PI:var D=l;s=this.instruction(s,this.sanitize(D.target),this.sanitize(D.data))||s;break;case np.TokenType.Text:if(s.node.nodeType===rC.NodeType.Document)break;var g=l;s=this.text(s,this._decodeText(this.sanitize(g.data)))||s;break;case np.TokenType.Element:var y=l,_=this.sanitize(y.name),v=ny(rP.namespace_extractQName(_),1)[0],b=s.node.lookupNamespaceURI(v),x={};try{for(var E=(r=void 0,n_(y.attributes)),w=E.next();!w.done;w=E.next()){var C=ny(w.value,2),A=C[0],N=C[1];if(A=this.sanitize(A),N=this.sanitize(N),"xmlns"===A)b=N;else{var T=ny(rP.namespace_extractQName(A),2),S=T[0],F=T[1];"xmlns"===S&&(F===v&&(b=N),x[F]=N)}}}catch(e){r={error:e}}finally{try{w&&!w.done&&(n=E.return)&&n.call(E)}finally{if(r)throw r.error}}var O=null!==b?this.element(s,b,_):this.element(s,void 0,_);if(void 0===O)break;s.node===e.node&&(u=O);try{for(var k=(o=void 0,n_(y.attributes)),P=k.next();!P.done;P=k.next()){var L=ny(P.value,2),A=L[0],N=L[1];A=this.sanitize(A),N=this.sanitize(N);var I=ny(rP.namespace_extractQName(A),2),S=I[0],F=I[1],B=null;"xmlns"===S||null===S&&"xmlns"===F?B=rk.namespace.XMLNS:(B=O.node.lookupNamespaceURI(S),null!==B&&O.node.isDefaultNamespace(B)?B=null:null===B&&null!==S&&(B=x[S]||null)),null!==B?this.attribute(O,B,A,this._decodeAttributeValue(N)):this.attribute(O,void 0,A,this._decodeAttributeValue(N))}}catch(e){o={error:e}}finally{try{P&&!P.done&&(i=k.return)&&i.call(k)}finally{if(o)throw o.error}}y.selfClosing||(s=O);break;case np.TokenType.ClosingTag:s.node.parentNode&&(s=s.up())}l=a.nextToken()}return u},t}(nv.BaseReader),nm.XMLReader=nD.XMLReader;var nb={},nx=nb&&nb.__extends||(v=function(e,t){return(v=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}v(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(nb,"__esModule",{value:!0});var ry=ee("jDPAV");nb.ObjectReader=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return nx(t,e),t.prototype._parse=function(e,t){var r=this,n=this._builderOptions,o=null;return ry.isFunction(t)?o=this.parse(e,t.apply(this)):ry.isArray(t)||ry.isSet(t)?ry.forEachArray(t,function(t){return o=r.parse(e,t)},this):ry.isMap(t)||ry.isObject(t)?ry.forEachObject(t,function(t,i){if(ry.isFunction(i)&&(i=i.apply(r)),n.ignoreConverters||0!==t.indexOf(n.convert.att))if(n.ignoreConverters||0!==t.indexOf(n.convert.text))if(n.ignoreConverters||0!==t.indexOf(n.convert.cdata))if(n.ignoreConverters||0!==t.indexOf(n.convert.comment))if(n.ignoreConverters||0!==t.indexOf(n.convert.ins)){if((ry.isArray(i)||ry.isSet(i))&&ry.isEmpty(i));else if((ry.isMap(i)||ry.isObject(i))&&ry.isEmpty(i))o=r.element(e,void 0,r.sanitize(t))||o;else if(n.keepNullNodes||null!=i)if(ry.isArray(i)||ry.isSet(i))ry.forEachArray(i,function(n){var i={};i[t]=n,o=r.parse(e,i)},r);else if(ry.isMap(i)||ry.isObject(i)){var a=r.element(e,void 0,r.sanitize(t));a&&(o=a,r.parse(a,i))}else if(null!=i&&""!==i){var a=r.element(e,void 0,r.sanitize(t));a&&(o=a,r.text(a,r._decodeText(r.sanitize(i))))}else o=r.element(e,void 0,r.sanitize(t))||o}else if(ry.isString(i)){var u=i.indexOf(" "),s=-1===u?i:i.substr(0,u),l=-1===u?"":i.substr(u+1);o=r.instruction(e,r.sanitize(s),r.sanitize(l))||o}else ry.isArray(i)||ry.isSet(i)?ry.forEachArray(i,function(t){var n=t.indexOf(" "),i=-1===n?t:t.substr(0,n),a=-1===n?"":t.substr(n+1);o=r.instruction(e,r.sanitize(i),r.sanitize(a))||o},r):ry.forEachObject(i,function(t,n){return o=r.instruction(e,r.sanitize(t),r.sanitize(n))||o},r);else ry.isArray(i)||ry.isSet(i)?ry.forEachArray(i,function(t){return o=r.comment(e,r.sanitize(t))||o},r):o=r.comment(e,r.sanitize(i))||o;else ry.isArray(i)||ry.isSet(i)?ry.forEachArray(i,function(t){return o=r.cdata(e,r.sanitize(t))||o},r):o=r.cdata(e,r.sanitize(i))||o;else o=ry.isMap(i)||ry.isObject(i)?r.parse(e,i):r.text(e,r._decodeText(r.sanitize(i)))||o;else if(t===n.convert.att)if(ry.isArray(i)||ry.isSet(i))throw Error("Invalid attribute: "+i.toString()+". "+e._debugInfo());else ry.forEachObject(i,function(t,n){o=r.attribute(e,void 0,r.sanitize(t),r._decodeAttributeValue(r.sanitize(n)))||o});else o=r.attribute(e,void 0,r.sanitize(t.substr(n.convert.att.length)),r._decodeAttributeValue(r.sanitize(i)))||o},this):(n.keepNullNodes||null!=t)&&(o=this.text(e,this._decodeText(this.sanitize(t)))||o),o||e},t}(nv.BaseReader),nm.ObjectReader=nb.ObjectReader;var nE={},nw=nE&&nE.__extends||(b=function(e,t){return(b=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}b(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(nE,"__esModule",{value:!0}),nE.JSONReader=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return nw(t,e),t.prototype._parse=function(e,t){return new nb.ObjectReader(this._builderOptions).parse(e,JSON.parse(t))},t}(nv.BaseReader),nm.JSONReader=nE.JSONReader;var nC={},nA=nC&&nC.__extends||(x=function(e,t){return(x=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}x(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(nC,"__esModule",{value:!0});var nN={},nT={};J(nT,"Type",()=>N,e=>N=e),J(nT,"Schema",()=>T,e=>T=e),J(nT,"FAILSAFE_SCHEMA",()=>S,e=>S=e),J(nT,"JSON_SCHEMA",()=>F,e=>F=e),J(nT,"CORE_SCHEMA",()=>O,e=>O=e),J(nT,"DEFAULT_SAFE_SCHEMA",()=>k,e=>k=e),J(nT,"DEFAULT_FULL_SCHEMA",()=>P,e=>P=e),J(nT,"load",()=>L,e=>L=e),J(nT,"loadAll",()=>I,e=>I=e),J(nT,"safeLoad",()=>B,e=>B=e),J(nT,"safeLoadAll",()=>q,e=>q=e),J(nT,"dump",()=>j,e=>j=e),J(nT,"safeDump",()=>M,e=>M=e),J(nT,"YAMLException",()=>R,e=>R=e),J(nT,"MINIMAL_SCHEMA",()=>U,e=>U=e),J(nT,"SAFE_SCHEMA",()=>G,e=>G=e),J(nT,"DEFAULT_SCHEMA",()=>z,e=>z=e),J(nT,"scan",()=>V,e=>V=e),J(nT,"parse",()=>H,e=>H=e),J(nT,"compose",()=>W,e=>W=e),J(nT,"addConstructor",()=>$,e=>$=e);var nS=ee("aeC7f"),nF=ee("d6Ezz"),nO={},nS=ee("aeC7f");function nk(e,t,r,n,o){this.name=e,this.buffer=t,this.position=r,this.line=n,this.column=o}nk.prototype.getSnippet=function(e,t){var r,n,o,i,a;if(!this.buffer)return null;for(e=e||4,t=t||75,r="",n=this.position;n>0&&-1==="\0\r\n
\u2028\u2029".indexOf(this.buffer.charAt(n-1));)if(n-=1,this.position-n>t/2-1){r=" ... ",n+=5;break}for(o="",i=this.position;i<this.buffer.length&&-1==="\0\r\n
\u2028\u2029".indexOf(this.buffer.charAt(i));)if((i+=1)-this.position>t/2-1){o=" ... ",i-=5;break}return a=this.buffer.slice(n,i),nS.repeat(" ",e)+r+a+o+"\n"+nS.repeat(" ",e+this.position-n+r.length)+"^"},nk.prototype.toString=function(e){var t,r="";return this.name&&(r+='in "'+this.name+'" '),r+="at line "+(this.line+1)+", column "+(this.column+1),!e&&(t=this.getSnippet())&&(r+=":\n"+t),r},nO=nk;var nP=ee("7WEyj"),nL=ee("eqI2g"),nI=Object.prototype.hasOwnProperty,nB=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,nq=/[\x85\u2028\u2029]/,nj=/[,\[\]\{\}]/,nM=/^(?:!|!!|![a-z\-]+!)$/i,nR=/^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;function nU(e){return Object.prototype.toString.call(e)}function nG(e){return 10===e||13===e}function nz(e){return 9===e||32===e}function nV(e){return 9===e||32===e||10===e||13===e}function nH(e){return 44===e||91===e||93===e||123===e||125===e}function nW(e){return 48===e?"\0":97===e?"\x07":98===e?"\b":116===e||9===e?" ":110===e?"\n":118===e?"\v":102===e?"\f":114===e?"\r":101===e?"\x1b":32===e?" ":34===e?'"':47===e?"/":92===e?"\\":78===e?"
":95===e?" ":76===e?"\u2028":80===e?"\u2029":""}for(var n$=Array(256),nY=Array(256),nX=0;nX<256;nX++)n$[nX]=+!!nW(nX),nY[nX]=nW(nX);function nJ(e,t){this.input=e,this.filename=t.filename||null,this.schema=t.schema||nL,this.onWarning=t.onWarning||null,this.legacy=t.legacy||!1,this.json=t.json||!1,this.listener=t.listener||null,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=e.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.documents=[]}function nK(e,t){return new nF(t,new nO(e.filename,e.input,e.position,e.line,e.position-e.lineStart))}function nQ(e,t){throw nK(e,t)}function nZ(e,t){e.onWarning&&e.onWarning.call(null,nK(e,t))}var n0={YAML:function(e,t,r){var n,o,i;null!==e.version&&nQ(e,"duplication of %YAML directive"),1!==r.length&&nQ(e,"YAML directive accepts exactly one argument"),null===(n=/^([0-9]+)\.([0-9]+)$/.exec(r[0]))&&nQ(e,"ill-formed argument of the YAML directive"),o=parseInt(n[1],10),i=parseInt(n[2],10),1!==o&&nQ(e,"unacceptable YAML version of the document"),e.version=r[0],e.checkLineBreaks=i<2,1!==i&&2!==i&&nZ(e,"unsupported YAML version of the document")},TAG:function(e,t,r){var n,o;2!==r.length&&nQ(e,"TAG directive accepts exactly two arguments"),n=r[0],o=r[1],nM.test(n)||nQ(e,"ill-formed tag handle (first argument) of the TAG directive"),nI.call(e.tagMap,n)&&nQ(e,'there is a previously declared suffix for "'+n+'" tag handle'),nR.test(o)||nQ(e,"ill-formed tag prefix (second argument) of the TAG directive"),e.tagMap[n]=o}};function n1(e,t,r,n){var o,i,a,u;if(t<r){if(u=e.input.slice(t,r),n)for(o=0,i=u.length;o<i;o+=1)9===(a=u.charCodeAt(o))||32<=a&&a<=1114111||nQ(e,"expected valid JSON character");else nB.test(u)&&nQ(e,"the stream contains non-printable characters");e.result+=u}}function n2(e,t,r,n){var o,i,a,u;for(nS.isObject(r)||nQ(e,"cannot merge mappings; the provided source object is unacceptable"),a=0,u=(o=Object.keys(r)).length;a<u;a+=1)i=o[a],nI.call(t,i)||(t[i]=r[i],n[i]=!0)}function n3(e,t,r,n,o,i,a,u){var s,l;if(Array.isArray(o))for(s=0,l=(o=Array.prototype.slice.call(o)).length;s<l;s+=1)Array.isArray(o[s])&&nQ(e,"nested arrays are not supported inside keys"),"object"==typeof o&&"[object Object]"===nU(o[s])&&(o[s]="[object Object]");if("object"==typeof o&&"[object Object]"===nU(o)&&(o="[object Object]"),o=String(o),null===t&&(t={}),"tag:yaml.org,2002:merge"===n)if(Array.isArray(i))for(s=0,l=i.length;s<l;s+=1)n2(e,t,i[s],r);else n2(e,t,i,r);else!e.json&&!nI.call(r,o)&&nI.call(t,o)&&(e.line=a||e.line,e.position=u||e.position,nQ(e,"duplicated mapping key")),t[o]=i,delete r[o];return t}function n8(e){var t;10===(t=e.input.charCodeAt(e.position))?e.position++:13===t?(e.position++,10===e.input.charCodeAt(e.position)&&e.position++):nQ(e,"a line break is expected"),e.line+=1,e.lineStart=e.position}function n5(e,t,r){for(var n=0,o=e.input.charCodeAt(e.position);0!==o;){for(;nz(o);)o=e.input.charCodeAt(++e.position);if(t&&35===o)do o=e.input.charCodeAt(++e.position);while(10!==o&&13!==o&&0!==o)if(nG(o))for(n8(e),o=e.input.charCodeAt(e.position),n++,e.lineIndent=0;32===o;)e.lineIndent++,o=e.input.charCodeAt(++e.position);else break}return -1!==r&&0!==n&&e.lineIndent<r&&nZ(e,"deficient indentation"),n}function n6(e){var t,r=e.position;return!!((45===(t=e.input.charCodeAt(r))||46===t)&&t===e.input.charCodeAt(r+1)&&t===e.input.charCodeAt(r+2)&&(r+=3,0===(t=e.input.charCodeAt(r))||nV(t)))||!1}function n9(e,t){1===t?e.result+=" ":t>1&&(e.result+=nS.repeat("\n",t-1))}function n4(e,t){var r,n,o=e.tag,i=e.anchor,a=[],u=!1;for(null!==e.anchor&&(e.anchorMap[e.anchor]=a),n=e.input.charCodeAt(e.position);0!==n&&45===n&&nV(e.input.charCodeAt(e.position+1));){if(u=!0,e.position++,n5(e,!0,-1)&&e.lineIndent<=t){a.push(null),n=e.input.charCodeAt(e.position);continue}if(r=e.line,n7(e,t,3,!1,!0),a.push(e.result),n5(e,!0,-1),n=e.input.charCodeAt(e.position),(e.line===r||e.lineIndent>t)&&0!==n)nQ(e,"bad indentation of a sequence entry");else if(e.lineIndent<t)break}return!!u&&(e.tag=o,e.anchor=i,e.kind="sequence",e.result=a,!0)}function n7(e,t,r,n,o){var i,a,u,s,l,c,p,d,f=1,h=!1,m=!1;if(null!==e.listener&&e.listener("open",e),e.tag=null,e.anchor=null,e.kind=null,e.result=null,i=a=u=4===r||3===r,n&&n5(e,!0,-1)&&(h=!0,e.lineIndent>t?f=1:e.lineIndent===t?f=0:e.lineIndent<t&&(f=-1)),1===f)for(;function(e){var t,r,n,o,i=!1,a=!1;if(33!==(o=e.input.charCodeAt(e.position)))return!1;if(null!==e.tag&&nQ(e,"duplication of a tag property"),60===(o=e.input.charCodeAt(++e.position))?(i=!0,o=e.input.charCodeAt(++e.position)):33===o?(a=!0,r="!!",o=e.input.charCodeAt(++e.position)):r="!",t=e.position,i){do o=e.input.charCodeAt(++e.position);while(0!==o&&62!==o)e.position<e.length?(n=e.input.slice(t,e.position),o=e.input.charCodeAt(++e.position)):nQ(e,"unexpected end of the stream within a verbatim tag")}else{for(;0!==o&&!nV(o);)33===o&&(a?nQ(e,"tag suffix cannot contain exclamation marks"):(r=e.input.slice(t-1,e.position+1),nM.test(r)||nQ(e,"named tag handle cannot contain such characters"),a=!0,t=e.position+1)),o=e.input.charCodeAt(++e.position);n=e.input.slice(t,e.position),nj.test(n)&&nQ(e,"tag suffix cannot contain flow indicator characters")}return n&&!nR.test(n)&&nQ(e,"tag name cannot contain such characters: "+n),i?e.tag=n:nI.call(e.tagMap,r)?e.tag=e.tagMap[r]+n:"!"===r?e.tag="!"+n:"!!"===r?e.tag="tag:yaml.org,2002:"+n:nQ(e,'undeclared tag handle "'+r+'"'),!0}(e)||function(e){var t,r;if(38!==(r=e.input.charCodeAt(e.position)))return!1;for(null!==e.anchor&&nQ(e,"duplication of an anchor property"),r=e.input.charCodeAt(++e.position),t=e.position;0!==r&&!nV(r)&&!nH(r);)r=e.input.charCodeAt(++e.position);return e.position===t&&nQ(e,"name of an anchor node must contain at least one character"),e.anchor=e.input.slice(t,e.position),!0}(e);)n5(e,!0,-1)?(h=!0,u=i,e.lineIndent>t?f=1:e.lineIndent===t?f=0:e.lineIndent<t&&(f=-1)):u=!1;if(u&&(u=h||o),(1===f||4===r)&&(p=1===r||2===r?t:t+1,d=e.position-e.lineStart,1===f?u&&(n4(e,d)||function(e,t,r){var n,o,i,a,u,s=e.tag,l=e.anchor,c={},p={},d=null,f=null,h=null,m=!1,D=!1;for(null!==e.anchor&&(e.anchorMap[e.anchor]=c),u=e.input.charCodeAt(e.position);0!==u;){if(n=e.input.charCodeAt(e.position+1),i=e.line,a=e.position,(63===u||58===u)&&nV(n))63===u?(m&&(n3(e,c,p,d,f,null),d=f=h=null),D=!0,m=!0,o=!0):m?(m=!1,o=!0):nQ(e,"incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"),e.position+=1,u=n;else if(n7(e,r,2,!1,!0))if(e.line===i){for(u=e.input.charCodeAt(e.position);nz(u);)u=e.input.charCodeAt(++e.position);if(58===u)nV(u=e.input.charCodeAt(++e.position))||nQ(e,"a whitespace character is expected after the key-value separator within a block mapping"),m&&(n3(e,c,p,d,f,null),d=f=h=null),D=!0,m=!1,o=!1,d=e.tag,f=e.result;else{if(!D)return e.tag=s,e.anchor=l,!0;nQ(e,"can not read an implicit mapping pair; a colon is missed")}}else{if(!D)return e.tag=s,e.anchor=l,!0;nQ(e,"can not read a block mapping entry; a multiline key may not be an implicit key")}else break;if((e.line===i||e.lineIndent>t)&&(n7(e,t,4,!0,o)&&(m?f=e.result:h=e.result),m||(n3(e,c,p,d,f,h,i,a),d=f=h=null),n5(e,!0,-1),u=e.input.charCodeAt(e.position)),e.lineIndent>t&&0!==u)nQ(e,"bad indentation of a mapping entry");else if(e.lineIndent<t)break}return m&&n3(e,c,p,d,f,null),D&&(e.tag=s,e.anchor=l,e.kind="mapping",e.result=c),D}(e,d,p))||function(e,t){var r,n,o,i,a,u,s,l,c,p,d=!0,f=e.tag,h=e.anchor,m={};if(91===(p=e.input.charCodeAt(e.position)))o=93,u=!1,n=[];else{if(123!==p)return!1;o=125,u=!0,n={}}for(null!==e.anchor&&(e.anchorMap[e.anchor]=n),p=e.input.charCodeAt(++e.position);0!==p;){if(n5(e,!0,t),(p=e.input.charCodeAt(e.position))===o)return e.position++,e.tag=f,e.anchor=h,e.kind=u?"mapping":"sequence",e.result=n,!0;d||nQ(e,"missed comma between flow collection entries"),l=s=c=null,i=a=!1,63===p&&nV(e.input.charCodeAt(e.position+1))&&(i=a=!0,e.position++,n5(e,!0,t)),r=e.line,n7(e,t,1,!1,!0),l=e.tag,s=e.result,n5(e,!0,t),p=e.input.charCodeAt(e.position),(a||e.line===r)&&58===p&&(i=!0,p=e.input.charCodeAt(++e.position),n5(e,!0,t),n7(e,t,1,!1,!0),c=e.result),u?n3(e,n,m,l,s,c):i?n.push(n3(e,null,m,l,s,c)):n.push(s),n5(e,!0,t),44===(p=e.input.charCodeAt(e.position))?(d=!0,p=e.input.charCodeAt(++e.position)):d=!1}nQ(e,"unexpected end of the stream within a flow collection")}(e,p)?m=!0:(a&&function(e,t){var r,n,o,i,a,u=1,s=!1,l=!1,c=t,p=0,d=!1;if(124===(a=e.input.charCodeAt(e.position)))o=!1;else{if(62!==a)return!1;o=!0}for(e.kind="scalar",e.result="";0!==a;)if(43===(a=e.input.charCodeAt(++e.position))||45===a)1===u?u=43===a?3:2:nQ(e,"repeat of a chomping mode identifier");else if((i=48<=(r=a)&&r<=57?r-48:-1)>=0)0===i?nQ(e,"bad explicit indentation width of a block scalar; it cannot be less than one"):l?nQ(e,"repeat of an indentation width identifier"):(c=t+i-1,l=!0);else break;if(nz(a)){do a=e.input.charCodeAt(++e.position);while(nz(a))if(35===a)do a=e.input.charCodeAt(++e.position);while(!nG(a)&&0!==a)}for(;0!==a;){for(n8(e),e.lineIndent=0,a=e.input.charCodeAt(e.position);(!l||e.lineIndent<c)&&32===a;)e.lineIndent++,a=e.input.charCodeAt(++e.position);if(!l&&e.lineIndent>c&&(c=e.lineIndent),nG(a)){p++;continue}if(e.lineIndent<c){3===u?e.result+=nS.repeat("\n",s?1+p:p):1===u&&s&&(e.result+="\n");break}for(o?nz(a)?(d=!0,e.result+=nS.repeat("\n",s?1+p:p)):d?(d=!1,e.result+=nS.repeat("\n",p+1)):0===p?s&&(e.result+=" "):e.result+=nS.repeat("\n",p):e.result+=nS.repeat("\n",s?1+p:p),s=!0,l=!0,p=0,n=e.position;!nG(a)&&0!==a;)a=e.input.charCodeAt(++e.position);n1(e,n,e.position,!1)}return!0}(e,p)||function(e,t){var r,n,o;if(39!==(r=e.input.charCodeAt(e.position)))return!1;for(e.kind="scalar",e.result="",e.position++,n=o=e.position;0!==(r=e.input.charCodeAt(e.position));)if(39===r){if(n1(e,n,e.position,!0),39!==(r=e.input.charCodeAt(++e.position)))return!0;n=e.position,e.position++,o=e.position}else nG(r)?(n1(e,n,o,!0),n9(e,n5(e,!1,t)),n=o=e.position):e.position===e.lineStart&&n6(e)?nQ(e,"unexpected end of the document within a single quoted scalar"):(e.position++,o=e.position);nQ(e,"unexpected end of the stream within a single quoted scalar")}(e,p)||function(e,t){var r,n,o,i,a,u,s,l;if(34!==(u=e.input.charCodeAt(e.position)))return!1;for(e.kind="scalar",e.result="",e.position++,r=n=e.position;0!==(u=e.input.charCodeAt(e.position));)if(34===u)return n1(e,r,e.position,!0),e.position++,!0;else if(92===u){if(n1(e,r,e.position,!0),nG(u=e.input.charCodeAt(++e.position)))n5(e,!1,t);else if(u<256&&n$[u])e.result+=nY[u],e.position++;else if((a=120===(s=u)?2:117===s?4:8*(85===s))>0){for(o=a,i=0;o>0;o--)(a=function(e){var t;return 48<=e&&e<=57?e-48:97<=(t=32|e)&&t<=102?t-97+10:-1}(u=e.input.charCodeAt(++e.position)))>=0?i=(i<<4)+a:nQ(e,"expected hexadecimal character");e.result+=(l=i)<=65535?String.fromCharCode(l):String.fromCharCode((l-65536>>10)+55296,(l-65536&1023)+56320),e.position++}else nQ(e,"unknown escape sequence");r=n=e.position}else nG(u)?(n1(e,r,n,!0),n9(e,n5(e,!1,t)),r=n=e.position):e.position===e.lineStart&&n6(e)?nQ(e,"unexpected end of the document within a double quoted scalar"):(e.position++,n=e.position);nQ(e,"unexpected end of the stream within a double quoted scalar")}(e,p)?m=!0:!function(e){var t,r,n;if(42!==(n=e.input.charCodeAt(e.position)))return!1;for(n=e.input.charCodeAt(++e.position),t=e.position;0!==n&&!nV(n)&&!nH(n);)n=e.input.charCodeAt(++e.position);return e.position===t&&nQ(e,"name of an alias node must contain at least one character"),r=e.input.slice(t,e.position),nI.call(e.anchorMap,r)||nQ(e,'unidentified alias "'+r+'"'),e.result=e.anchorMap[r],n5(e,!0,-1),!0}(e)?function(e,t,r){var n,o,i,a,u,s,l,c,p=e.kind,d=e.result;if(nV(c=e.input.charCodeAt(e.position))||nH(c)||35===c||38===c||42===c||33===c||124===c||62===c||39===c||34===c||37===c||64===c||96===c||(63===c||45===c)&&(nV(n=e.input.charCodeAt(e.position+1))||r&&nH(n)))return!1;for(e.kind="scalar",e.result="",o=i=e.position,a=!1;0!==c;){if(58===c){if(nV(n=e.input.charCodeAt(e.position+1))||r&&nH(n))break}else if(35===c){if(nV(e.input.charCodeAt(e.position-1)))break}else if(e.position===e.lineStart&&n6(e)||r&&nH(c))break;else if(nG(c)){if(u=e.line,s=e.lineStart,l=e.lineIndent,n5(e,!1,-1),e.lineIndent>=t){a=!0,c=e.input.charCodeAt(e.position);continue}e.position=i,e.line=u,e.lineStart=s,e.lineIndent=l;break}a&&(n1(e,o,i,!1),n9(e,e.line-u),o=i=e.position,a=!1),nz(c)||(i=e.position+1),c=e.input.charCodeAt(++e.position)}return n1(e,o,i,!1),!!e.result||(e.kind=p,e.result=d,!1)}(e,p,1===r)&&(m=!0,null===e.tag&&(e.tag="?")):(m=!0,(null!==e.tag||null!==e.anchor)&&nQ(e,"alias node should not have any properties")),null!==e.anchor&&(e.anchorMap[e.anchor]=e.result)):0===f&&(m=u&&n4(e,d))),null!==e.tag&&"!"!==e.tag)if("?"===e.tag){for(null!==e.result&&"scalar"!==e.kind&&nQ(e,'unacceptable node kind for !<?> tag; it should be "scalar", not "'+e.kind+'"'),s=0,l=e.implicitTypes.length;s<l;s+=1)if((c=e.implicitTypes[s]).resolve(e.result)){e.result=c.construct(e.result),e.tag=c.tag,null!==e.anchor&&(e.anchorMap[e.anchor]=e.result);break}}else nI.call(e.typeMap[e.kind||"fallback"],e.tag)?(c=e.typeMap[e.kind||"fallback"][e.tag],null!==e.result&&c.kind!==e.kind&&nQ(e,"unacceptable node kind for !<"+e.tag+'> tag; it should be "'+c.kind+'", not "'+e.kind+'"'),c.resolve(e.result)?(e.result=c.construct(e.result),null!==e.anchor&&(e.anchorMap[e.anchor]=e.result)):nQ(e,"cannot resolve a node with !<"+e.tag+"> explicit tag")):nQ(e,"unknown tag !<"+e.tag+">");return null!==e.listener&&e.listener("close",e),null!==e.tag||null!==e.anchor||m}function oe(e,t){e=String(e),t=t||{},0!==e.length&&(10!==e.charCodeAt(e.length-1)&&13!==e.charCodeAt(e.length-1)&&(e+="\n"),65279===e.charCodeAt(0)&&(e=e.slice(1)));var r=new nJ(e,t),n=e.indexOf("\0");for(-1!==n&&(r.position=n,nQ(r,"null byte is not allowed in input")),r.input+="\0";32===r.input.charCodeAt(r.position);)r.lineIndent+=1,r.position+=1;for(;r.position<r.length-1;)!function(e){var t,r,n,o,i=e.position,a=!1;for(e.version=null,e.checkLineBreaks=e.legacy,e.tagMap={},e.anchorMap={};0!==(o=e.input.charCodeAt(e.position))&&(n5(e,!0,-1),o=e.input.charCodeAt(e.position),!(e.lineIndent>0)&&37===o);){for(a=!0,o=e.input.charCodeAt(++e.position),t=e.position;0!==o&&!nV(o);)o=e.input.charCodeAt(++e.position);for(r=e.input.slice(t,e.position),n=[],r.length<1&&nQ(e,"directive name must not be less than one character in length");0!==o;){for(;nz(o);)o=e.input.charCodeAt(++e.position);if(35===o){do o=e.input.charCodeAt(++e.position);while(0!==o&&!nG(o))break}if(nG(o))break;for(t=e.position;0!==o&&!nV(o);)o=e.input.charCodeAt(++e.position);n.push(e.input.slice(t,e.position))}0!==o&&n8(e),nI.call(n0,r)?n0[r](e,r,n):nZ(e,'unknown document directive "'+r+'"')}if(n5(e,!0,-1),0===e.lineIndent&&45===e.input.charCodeAt(e.position)&&45===e.input.charCodeAt(e.position+1)&&45===e.input.charCodeAt(e.position+2)?(e.position+=3,n5(e,!0,-1)):a&&nQ(e,"directives end mark is expected"),n7(e,e.lineIndent-1,4,!1,!0),n5(e,!0,-1),e.checkLineBreaks&&nq.test(e.input.slice(i,e.position))&&nZ(e,"non-ASCII line breaks are interpreted as content"),e.documents.push(e.result),e.position===e.lineStart&&n6(e)){46===e.input.charCodeAt(e.position)&&(e.position+=3,n5(e,!0,-1));return}e.position<e.length-1&&nQ(e,"end of the stream or a document separator is expected")}(r);return r.documents}function ot(e,t,r){null!==t&&"object"==typeof t&&void 0===r&&(r=t,t=null);var n=oe(e,r);if("function"!=typeof t)return n;for(var o=0,i=n.length;o<i;o+=1)t(n[o])}function or(e,t){var r=oe(e,t);if(0!==r.length){if(1===r.length)return r[0];throw new nF("expected a single document in the stream, but found more")}}var nS=ee("aeC7f"),nF=ee("d6Ezz"),nL=ee("eqI2g"),nP=ee("7WEyj"),on=Object.prototype.toString,oo=Object.prototype.hasOwnProperty,oi={};oi[0]="\\0",oi[7]="\\a",oi[8]="\\b",oi[9]="\\t",oi[10]="\\n",oi[11]="\\v",oi[12]="\\f",oi[13]="\\r",oi[27]="\\e",oi[34]='\\"',oi[92]="\\\\",oi[133]="\\N",oi[160]="\\_",oi[8232]="\\L",oi[8233]="\\P";var oa=["y","Y","yes","Yes","YES","on","On","ON","n","N","no","No","NO","off","Off","OFF"];function ou(e){var t,r,n;if(t=e.toString(16).toUpperCase(),e<=255)r="x",n=2;else if(e<=65535)r="u",n=4;else if(e<=0xffffffff)r="U",n=8;else throw new nF("code point within a string may not be greater than 0xFFFFFFFF");return"\\"+r+nS.repeat("0",n-t.length)+t}function os(e){this.schema=e.schema||nL,this.indent=Math.max(1,e.indent||2),this.noArrayIndent=e.noArrayIndent||!1,this.skipInvalid=e.skipInvalid||!1,this.flowLevel=nS.isNothing(e.flowLevel)?-1:e.flowLevel,this.styleMap=function(e,t){var r,n,o,i,a,u,s;if(null===t)return{};for(o=0,r={},i=(n=Object.keys(t)).length;o<i;o+=1)u=String(t[a=n[o]]),"!!"===a.slice(0,2)&&(a="tag:yaml.org,2002:"+a.slice(2)),(s=e.compiledTypeMap.fallback[a])&&oo.call(s.styleAliases,u)&&(u=s.styleAliases[u]),r[a]=u;return r}(this.schema,e.styles||null),this.sortKeys=e.sortKeys||!1,this.lineWidth=e.lineWidth||80,this.noRefs=e.noRefs||!1,this.noCompatMode=e.noCompatMode||!1,this.condenseFlow=e.condenseFlow||!1,this.implicitTypes=this.schema.compiledImplicit,this.explicitTypes=this.schema.compiledExplicit,this.tag=null,this.result="",this.duplicates=[],this.usedDuplicates=null}function ol(e,t){for(var r,n=nS.repeat(" ",t),o=0,i=-1,a="",u=e.length;o<u;)-1===(i=e.indexOf("\n",o))?(r=e.slice(o),o=u):(r=e.slice(o,i+1),o=i+1),r.length&&"\n"!==r&&(a+=n),a+=r;return a}function oc(e,t){return"\n"+nS.repeat(" ",e.indent*t)}function op(e){return 32===e||9===e}function od(e){return 32<=e&&e<=126||161<=e&&e<=55295&&8232!==e&&8233!==e||57344<=e&&e<=65533&&65279!==e||65536<=e&&e<=1114111}function of(e,t){var r;return od(e)&&65279!==e&&44!==e&&91!==e&&93!==e&&123!==e&&125!==e&&58!==e&&(35!==e||t&&od(r=t)&&!op(r)&&65279!==r&&13!==r&&10!==r)}function oh(e){return/^\n* /.test(e)}function om(e,t){var r=oh(e)?String(t):"",n="\n"===e[e.length-1];return r+(n&&("\n"===e[e.length-2]||"\n"===e)?"+":n?"":"-")+"\n"}function oD(e){return"\n"===e[e.length-1]?e.slice(0,-1):e}function og(e,t){if(""===e||" "===e[0])return e;for(var r,n,o=/ [^ ]/g,i=0,a=0,u=0,s="";r=o.exec(e);)(u=r.index)-i>t&&(n=a>i?a:u,s+="\n"+e.slice(i,n),i=n+1),a=u;return s+="\n",e.length-i>t&&a>i?s+=e.slice(i,a)+"\n"+e.slice(a+1):s+=e.slice(i),s.slice(1)}function oy(e,t,r){var n,o,i,a,u,s;for(i=0,a=(o=r?e.explicitTypes:e.implicitTypes).length;i<a;i+=1)if(((u=o[i]).instanceOf||u.predicate)&&(!u.instanceOf||"object"==typeof t&&t instanceof u.instanceOf)&&(!u.predicate||u.predicate(t))){if(e.tag=r?u.tag:"?",u.represent){if(s=e.styleMap[u.tag]||u.defaultStyle,"[object Function]"===on.call(u.represent))n=u.represent(t,s);else if(oo.call(u.represent,s))n=u.represent[s](t,s);else throw new nF("!<"+u.tag+'> tag resolver accepts not "'+s+'" style');e.dump=n}return!0}return!1}function o_(e,t){var r=new os(t=t||{});return(r.noRefs||function(e,t){var r,n,o=[],i=[];for(function e(t,r,n){var o,i,a;if(null!==t&&"object"==typeof t)if(-1!==(i=r.indexOf(t)))-1===n.indexOf(i)&&n.push(i);else if(r.push(t),Array.isArray(t))for(i=0,a=t.length;i<a;i+=1)e(t[i],r,n);else for(i=0,a=(o=Object.keys(t)).length;i<a;i+=1)e(t[o[i]],r,n)}(e,o,i),r=0,n=i.length;r<n;r+=1)t.duplicates.push(o[i[r]]);t.usedDuplicates=Array(n)}(e,r),function e(t,r,n,o,i,a){t.tag=null,t.dump=n,oy(t,n,!1)||oy(t,n,!0);var u=on.call(t.dump);o&&(o=t.flowLevel<0||t.flowLevel>r);var s,l,c="[object Object]"===u||"[object Array]"===u;if(c&&(l=-1!==(s=t.duplicates.indexOf(n))),(null!==t.tag&&"?"!==t.tag||l||2!==t.indent&&r>0)&&(i=!1),l&&t.usedDuplicates[s])t.dump="*ref_"+s;else{if(c&&l&&!t.usedDuplicates[s]&&(t.usedDuplicates[s]=!0),"[object Object]"===u)o&&0!==Object.keys(t.dump).length?(!function(t,r,n,o){var i,a,u,s,l,c,p="",d=t.tag,f=Object.keys(n);if(!0===t.sortKeys)f.sort();else if("function"==typeof t.sortKeys)f.sort(t.sortKeys);else if(t.sortKeys)throw new nF("sortKeys must be a boolean or a function");for(i=0,a=f.length;i<a;i+=1)c="",o&&0===i||(c+=oc(t,r)),s=n[u=f[i]],e(t,r+1,u,!0,!0,!0)&&((l=null!==t.tag&&"?"!==t.tag||t.dump&&t.dump.length>1024)&&(t.dump&&10===t.dump.charCodeAt(0)?c+="?":c+="? "),c+=t.dump,l&&(c+=oc(t,r)),e(t,r+1,s,!0,l)&&(t.dump&&10===t.dump.charCodeAt(0)?c+=":":c+=": ",c+=t.dump,p+=c));t.tag=d,t.dump=p||"{}"}(t,r,t.dump,i),l&&(t.dump="&ref_"+s+t.dump)):(!function(t,r,n){var o,i,a,u,s,l="",c=t.tag,p=Object.keys(n);for(o=0,i=p.length;o<i;o+=1)s="",0!==o&&(s+=", "),t.condenseFlow&&(s+='"'),u=n[a=p[o]],e(t,r,a,!1,!1)&&(t.dump.length>1024&&(s+="? "),s+=t.dump+(t.condenseFlow?'"':"")+":"+(t.condenseFlow?"":" "),e(t,r,u,!1,!1)&&(s+=t.dump,l+=s));t.tag=c,t.dump="{"+l+"}"}(t,r,t.dump),l&&(t.dump="&ref_"+s+" "+t.dump));else if("[object Array]"===u){var p,d=t.noArrayIndent&&r>0?r-1:r;o&&0!==t.dump.length?(!function(t,r,n,o){var i,a,u="",s=t.tag;for(i=0,a=n.length;i<a;i+=1)e(t,r+1,n[i],!0,!0)&&(o&&0===i||(u+=oc(t,r)),t.dump&&10===t.dump.charCodeAt(0)?u+="-":u+="- ",u+=t.dump);t.tag=s,t.dump=u||"[]"}(t,d,t.dump,i),l&&(t.dump="&ref_"+s+t.dump)):(!function(t,r,n){var o,i,a="",u=t.tag;for(o=0,i=n.length;o<i;o+=1)e(t,r,n[o],!1,!1)&&(0!==o&&(a+=","+(t.condenseFlow?"":" ")),a+=t.dump);t.tag=u,t.dump="["+a+"]"}(t,d,t.dump),l&&(t.dump="&ref_"+s+" "+t.dump))}else if("[object String]"===u)"?"!==t.tag&&(p=t.dump,t.dump=function(){if(0===p.length)return"''";if(!t.noCompatMode&&-1!==oa.indexOf(p))return"'"+p+"'";var e=t.indent*Math.max(1,r),n=-1===t.lineWidth?-1:Math.max(Math.min(t.lineWidth,40),t.lineWidth-e);switch(function(e,t,r,n,o){var i,a,u,s,l=!1,c=!1,p=-1!==n,d=-1,f=od(i=e.charCodeAt(0))&&65279!==i&&!op(i)&&45!==i&&63!==i&&58!==i&&44!==i&&91!==i&&93!==i&&123!==i&&125!==i&&35!==i&&38!==i&&42!==i&&33!==i&&124!==i&&61!==i&&62!==i&&39!==i&&34!==i&&37!==i&&64!==i&&96!==i&&!op(e.charCodeAt(e.length-1));if(t)for(a=0;a<e.length;a++){if(!od(u=e.charCodeAt(a)))return 5;s=a>0?e.charCodeAt(a-1):null,f=f&&of(u,s)}else{for(a=0;a<e.length;a++){if(10===(u=e.charCodeAt(a)))l=!0,p&&(c=c||a-d-1>n&&" "!==e[d+1],d=a);else if(!od(u))return 5;s=a>0?e.charCodeAt(a-1):null,f=f&&of(u,s)}c=c||p&&a-d-1>n&&" "!==e[d+1]}return l||c?r>9&&oh(e)?5:c?4:3:f&&!o(e)?1:2}(p,a||t.flowLevel>-1&&r>=t.flowLevel,t.indent,n,function(e){var r,n;for(r=0,n=t.implicitTypes.length;r<n;r+=1)if(t.implicitTypes[r].resolve(e))return!0;return!1})){case 1:return p;case 2:return"'"+p.replace(/'/g,"''")+"'";case 3:return"|"+om(p,t.indent)+oD(ol(p,e));case 4:return">"+om(p,t.indent)+oD(ol(function(e,t){for(var r,n,o,i=/(\n+)([^\n]*)/g,a=(i.lastIndex=r=-1!==(r=e.indexOf("\n"))?r:e.length,og(e.slice(0,r),t)),u="\n"===e[0]||" "===e[0];o=i.exec(e);){var s=o[1],l=o[2];n=" "===l[0],a+=s+(u||n||""===l?"":"\n")+og(l,t),u=n}return a}(p,n),e));case 5:return'"'+function(e){for(var t,r,n,o="",i=0;i<e.length;i++){if((t=e.charCodeAt(i))>=55296&&t<=56319&&(r=e.charCodeAt(i+1))>=56320&&r<=57343){o+=ou((t-55296)*1024+r-56320+65536),i++;continue}o+=!(n=oi[t])&&od(t)?e[i]:n||ou(t)}return o}(p,n)+'"';default:throw new nF("impossible error: invalid scalar style")}}());else{if(t.skipInvalid)return!1;throw new nF("unacceptable kind of an object to dump "+u)}null!==t.tag&&"?"!==t.tag&&(t.dump="!<"+t.tag+"> "+t.dump)}return!0}(r,0,e,!0,!0))?r.dump+"\n":""}function ov(e){return function(){throw Error("Function "+e+" is deprecated and cannot be used.")}}N=ee("k5aGh"),T=ee("bPRG3"),S=ee("hWFej"),F=ee("jON1e"),O=ee("hCN6d"),k=ee("7WEyj"),P=ee("eqI2g"),L=or,I=ot,B=function(e,t){return or(e,nS.extend({schema:nP},t))},q=function(e,t,r){return"object"==typeof t&&null!==t&&void 0===r&&(r=t,t=null),ot(e,t,nS.extend({schema:nP},r))},j=o_,M=function(e,t){return o_(e,nS.extend({schema:nP},t))},R=ee("d6Ezz"),U=ee("hWFej"),G=ee("7WEyj"),z=ee("eqI2g"),V=ov("scan"),H=ov("parse"),W=ov("compose"),$=ov("addConstructor"),nN=nT,nC.YAMLReader=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return nA(t,e),t.prototype._parse=function(e,t){var r=nN.safeLoad(t);if(void 0===r)throw Error("Unable to parse YAML document.");return new nb.ObjectReader(this._builderOptions).parse(e,r)},t}(nv.BaseReader),nm.YAMLReader=nC.YAMLReader,rh.XMLBuilderImpl=function(){function e(e){this._domNode=e}return Object.defineProperty(e.prototype,"node",{get:function(){return this._domNode},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"options",{get:function(){return this._options},enumerable:!0,configurable:!0}),e.prototype.set=function(e){return this._options=ry.applyDefaults(ry.applyDefaults(this._options,e,!0),rg.DefaultBuilderOptions),this},e.prototype.ele=function(t,r,n){if(ry.isObject(t))return new nm.ObjectReader(this._options).parse(this,t);if(null!==t&&/^\s*</.test(t))return new nm.XMLReader(this._options).parse(this,t);if(null!==t&&/^\s*[\{\[]/.test(t))return new nm.JSONReader(this._options).parse(this,t);if(null!==t&&/^(\s*|(#.*)|(%.*))*---/.test(t))return new nm.YAMLReader(this._options).parse(this,t);if((null===t||ry.isString(t))&&ry.isString(r))u=(o=rm([t,r,n],3))[0],s=o[1],l=o[2];else if(null!==t)u=(i=rm([void 0,t,ry.isObject(r)?r:void 0],3))[0],s=i[1],l=i[2];else throw Error("Element name cannot be null. "+this._debugInfo());if(l&&(l=ry.getValue(l)),u=(a=rm(this._extractNamespace(rV.sanitizeInput(u,this._options.invalidCharReplacement),rV.sanitizeInput(s,this._options.invalidCharReplacement),!0),2))[0],s=a[1],void 0===u){var o,i,a,u,s,l,c=rm(rP.namespace_extractQName(s),1)[0];u=this.node.lookupNamespaceURI(c)}var p=null!=u?this._doc.createElementNS(u,s):this._doc.createElement(s);this.node.appendChild(p);var d=new e(p),f=this._doc.doctype;if(p===this._doc.documentElement&&null!==f){var h=this._doc.implementation.createDocumentType(this._doc.documentElement.tagName,f.publicId,f.systemId);this._doc.replaceChild(h,f)}return l&&!ry.isEmpty(l)&&d.att(l),d},e.prototype.remove=function(){var e=this.up();return e.node.removeChild(this.node),e},e.prototype.att=function(e,t,r){var n,o,i,a,u,s,l=this;if(ry.isMap(e)||ry.isObject(e))return ry.forEachObject(e,function(e,t){return l.att(e,t)},this),this;if(null!=e&&(e=ry.getValue(e+"")),null!=t&&(t=ry.getValue(t+"")),null!=r&&(r=ry.getValue(r+"")),(null===e||ry.isString(e))&&ry.isString(t)&&(null===r||ry.isString(r)))a=(n=rm([e,t,r],3))[0],u=n[1],s=n[2];else if(ry.isString(e)&&(null==t||ry.isString(t)))a=(o=rm([void 0,e,t],3))[0],u=o[1],s=o[2];else throw Error("Attribute name and value not specified. "+this._debugInfo());if(this._options.keepNullAttributes&&null==s)s="";else if(null==s)return this;if(!rq.Guard.isElementNode(this.node))throw Error("An attribute can only be assigned to an element node.");var c=this.node;a=(i=rm(this._extractNamespace(a,u,!1),2))[0],u=i[1],u=rV.sanitizeInput(u,this._options.invalidCharReplacement),a=rV.sanitizeInput(a,this._options.invalidCharReplacement),s=rV.sanitizeInput(s,this._options.invalidCharReplacement);var p=rm(rP.namespace_extractQName(u),2),d=p[0],f=p[1],h=rm(rP.namespace_extractQName(c.prefix?c.prefix+":"+c.localName:c.localName),1)[0],m=null;return"xmlns"===d?(a=rk.namespace.XMLNS,null===c.namespaceURI&&h===f&&(m=s)):null===d&&"xmlns"===f&&null===h&&(a=rk.namespace.XMLNS,m=s),null!==m&&(this._updateNamespace(m),c=this.node),void 0!==a?c.setAttributeNS(a,u,s):c.setAttribute(u,s),this},e.prototype.removeAtt=function(e,t){var r,n,o=this;if(!rq.Guard.isElementNode(this.node))throw Error("An attribute can only be removed from an element node.");if(e=ry.getValue(e),void 0!==t&&(t=ry.getValue(t)),null!==e&&void 0===t)n=e;else if((null===e||ry.isString(e))&&void 0!==t)r=e,n=t;else throw Error("Attribute namespace must be a string. "+this._debugInfo());return ry.isArray(n)||ry.isSet(n)?ry.forEachArray(n,function(e){return void 0===r?o.removeAtt(e):o.removeAtt(r,e)},this):void 0!==r?(n=rV.sanitizeInput(n,this._options.invalidCharReplacement),r=rV.sanitizeInput(r,this._options.invalidCharReplacement),this.node.removeAttributeNS(r,n)):(n=rV.sanitizeInput(n,this._options.invalidCharReplacement),this.node.removeAttribute(n)),this},e.prototype.txt=function(e){if(null==e)if(!this._options.keepNullNodes)return this;else e="";var t=this._doc.createTextNode(rV.sanitizeInput(e,this._options.invalidCharReplacement));return this.node.appendChild(t),this},e.prototype.com=function(e){if(null==e)if(!this._options.keepNullNodes)return this;else e="";var t=this._doc.createComment(rV.sanitizeInput(e,this._options.invalidCharReplacement));return this.node.appendChild(t),this},e.prototype.dat=function(e){if(null==e)if(!this._options.keepNullNodes)return this;else e="";var t=this._doc.createCDATASection(rV.sanitizeInput(e,this._options.invalidCharReplacement));return this.node.appendChild(t),this},e.prototype.ins=function(e,t){var r=this;if(void 0===t&&(t=""),null==t)if(!this._options.keepNullNodes)return this;else t="";if(ry.isArray(e)||ry.isSet(e))ry.forEachArray(e,function(e){var t=(e+="").indexOf(" "),n=-1===t?e:e.substr(0,t),o=-1===t?"":e.substr(t+1);r.ins(n,o)},this);else if(ry.isMap(e)||ry.isObject(e))ry.forEachObject(e,function(e,t){return r.ins(e,t)},this);else{var n=this._doc.createProcessingInstruction(rV.sanitizeInput(e,this._options.invalidCharReplacement),rV.sanitizeInput(t,this._options.invalidCharReplacement));this.node.appendChild(n)}return this},e.prototype.dec=function(e){return this._options.version=e.version||"1.0",this._options.encoding=e.encoding,this._options.standalone=e.standalone,this},e.prototype.dtd=function(e){var t=rV.sanitizeInput(e&&e.name||(this._doc.documentElement?this._doc.documentElement.tagName:"ROOT"),this._options.invalidCharReplacement),r=rV.sanitizeInput(e&&e.pubID||"",this._options.invalidCharReplacement),n=rV.sanitizeInput(e&&e.sysID||"",this._options.invalidCharReplacement);if(null!==this._doc.documentElement&&t!==this._doc.documentElement.tagName)throw Error("DocType name does not match document element name.");var o=this._doc.implementation.createDocumentType(t,r,n);return null!==this._doc.doctype?this._doc.replaceChild(o,this._doc.doctype):this._doc.insertBefore(o,this._doc.documentElement),this},e.prototype.import=function(t){var r,n,o=this._domNode,i=this._doc,a=t.node;if(rq.Guard.isDocumentNode(a)){var u=a.documentElement;if(null===u)throw Error("Imported document has no document element node. "+this._debugInfo());var s=i.importNode(u,!0);o.appendChild(s);var l=rm(rP.namespace_extractQName(s.prefix?s.prefix+":"+s.localName:s.localName),1)[0],c=o.lookupNamespaceURI(l);new e(s)._updateNamespace(c)}else if(rq.Guard.isDocumentFragmentNode(a))try{for(var p=rD(a.childNodes),d=p.next();!d.done;d=p.next()){var f=d.value,s=i.importNode(f,!0);if(o.appendChild(s),rq.Guard.isElementNode(s)){var l=rm(rP.namespace_extractQName(s.prefix?s.prefix+":"+s.localName:s.localName),1)[0],c=o.lookupNamespaceURI(l);new e(s)._updateNamespace(c)}}}catch(e){r={error:e}}finally{try{d&&!d.done&&(n=p.return)&&n.call(p)}finally{if(r)throw r.error}}else{var s=i.importNode(a,!0);if(o.appendChild(s),rq.Guard.isElementNode(s)){var l=rm(rP.namespace_extractQName(s.prefix?s.prefix+":"+s.localName:s.localName),1)[0],c=o.lookupNamespaceURI(l);new e(s)._updateNamespace(c)}}return this},e.prototype.doc=function(){if(!this._doc._isFragment)return new e(this._doc);for(var t=this.node;t&&t.nodeType!==rC.NodeType.DocumentFragment;)t=t.parentNode;if(null===t)throw Error("Node has no parent node while searching for document fragment ancestor. "+this._debugInfo());return new e(t)},e.prototype.root=function(){var t=this._doc.documentElement;if(!t)throw Error("Document root element is null. "+this._debugInfo());return new e(t)},e.prototype.up=function(){var t=this._domNode.parentNode;if(!t)throw Error("Parent node is null. "+this._debugInfo());return new e(t)},e.prototype.prev=function(){var t=this._domNode.previousSibling;if(!t)throw Error("Previous sibling node is null. "+this._debugInfo());return new e(t)},e.prototype.next=function(){var t=this._domNode.nextSibling;if(!t)throw Error("Next sibling node is null. "+this._debugInfo());return new e(t)},e.prototype.first=function(){var t=this._domNode.firstChild;if(!t)throw Error("First child node is null. "+this._debugInfo());return new e(t)},e.prototype.last=function(){var t=this._domNode.lastChild;if(!t)throw Error("Last child node is null. "+this._debugInfo());return new e(t)},e.prototype.each=function(t,r,n,o){void 0===r&&(r=!1),void 0===n&&(n=!1);for(var i=this._getFirstDescendantNode(this._domNode,r,n);i[0];){var a=this._getNextDescendantNode(this._domNode,i[0],n,i[1],i[2]);t.call(o,new e(i[0]),i[1],i[2]),i=a}return this},e.prototype.map=function(e,t,r,n){void 0===t&&(t=!1),void 0===r&&(r=!1);var o=[];return this.each(function(t,r,i){return o.push(e.call(n,t,r,i))},t,r),o},e.prototype.reduce=function(e,t,r,n,o){void 0===r&&(r=!1),void 0===n&&(n=!1);var i=t;return this.each(function(t,r,n){return i=e.call(o,i,t,r,n)},r,n),i},e.prototype.find=function(t,r,n,o){void 0===r&&(r=!1),void 0===n&&(n=!1);for(var i=this._getFirstDescendantNode(this._domNode,r,n);i[0];){var a=new e(i[0]);if(t.call(o,a,i[1],i[2]))return a;i=this._getNextDescendantNode(this._domNode,i[0],n,i[1],i[2])}},e.prototype.filter=function(e,t,r,n){void 0===t&&(t=!1),void 0===r&&(r=!1);var o=[];return this.each(function(t,r,i){e.call(n,t,r,i)&&o.push(t)},t,r),o},e.prototype.every=function(t,r,n,o){void 0===r&&(r=!1),void 0===n&&(n=!1);for(var i=this._getFirstDescendantNode(this._domNode,r,n);i[0];){var a=new e(i[0]);if(!t.call(o,a,i[1],i[2]))return!1;i=this._getNextDescendantNode(this._domNode,i[0],n,i[1],i[2])}return!0},e.prototype.some=function(t,r,n,o){void 0===r&&(r=!1),void 0===n&&(n=!1);for(var i=this._getFirstDescendantNode(this._domNode,r,n);i[0];){var a=new e(i[0]);if(t.call(o,a,i[1],i[2]))return!0;i=this._getNextDescendantNode(this._domNode,i[0],n,i[1],i[2])}return!1},e.prototype.toArray=function(e,t){void 0===e&&(e=!1),void 0===t&&(t=!1);var r=[];return this.each(function(e){return r.push(e)},e,t),r},e.prototype.toString=function(e){return void 0===(e=e||{}).format&&(e.format="xml"),this._serialize(e)},e.prototype.toObject=function(e){return void 0===(e=e||{}).format&&(e.format="object"),this._serialize(e)},e.prototype.end=function(e){return void 0===(e=e||{}).format&&(e.format="xml"),this.doc()._serialize(e)},e.prototype._getFirstDescendantNode=function(e,t,r){return t?[this._domNode,0,0]:r?this._getNextDescendantNode(e,e,r,0,0):[this._domNode.firstChild,0,1]},e.prototype._getNextDescendantNode=function(e,t,r,n,o){if(r){if(t.firstChild)return[t.firstChild,0,o+1];if(t===e)return[null,-1,-1];if(t.nextSibling)return[t.nextSibling,n+1,o];for(var i=t.parentNode;i&&i!==e;){if(i.nextSibling)return[i.nextSibling,rP.tree_index(i.nextSibling),o-1];i=i.parentNode,o--}}else if(e===t)return[t.firstChild,0,o+1];else return[t.nextSibling,n+1,o];return[null,-1,-1]},e.prototype._serialize=function(e){if("xml"===e.format){var t=new r_.XMLWriter(this._options,e);return t.serialize(this.node)}if("map"===e.format){var t=new r_.MapWriter(this._options,e);return t.serialize(this.node)}if("object"===e.format){var t=new r_.ObjectWriter(this._options,e);return t.serialize(this.node)}if("json"===e.format){var t=new r_.JSONWriter(this._options,e);return t.serialize(this.node)}if("yaml"===e.format){var t=new r_.YAMLWriter(this._options,e);return t.serialize(this.node)}else throw Error("Invalid writer format: "+e.format+". "+this._debugInfo())},e.prototype._extractNamespace=function(e,t,r){var n=t.indexOf("@");if(n>0&&(void 0===e&&(e=t.slice(n+1)),t=t.slice(0,n)),void 0===e)e=r?this._options.defaultNamespace.ele:this._options.defaultNamespace.att;else if(null!==e&&"@"===e[0]){var o=e.slice(1);if(void 0===(e=this._options.namespaceAlias[o]))throw Error("Namespace alias `"+o+"` is not defined. "+this._debugInfo())}return[e,t]},e.prototype._updateNamespace=function(t){var r,n,o,i,a=this._domNode;if(rq.Guard.isElementNode(a)&&null!==t&&a.namespaceURI!==t){var u=rm(rP.namespace_extractQName(a.prefix?a.prefix+":"+a.localName:a.localName),2),s=u[0],l=u[1],c=rP.create_element(this._doc,l,t,s);try{for(var p=rD(a.attributes),d=p.next();!d.done;d=p.next()){var f=d.value,h=f.prefix?f.prefix+":"+f.localName:f.localName,m=rm(rP.namespace_extractQName(h),1)[0],D=f.namespaceURI;null===D&&null!==m&&(D=a.lookupNamespaceURI(m)),null===D?c.setAttribute(h,f.value):c.setAttributeNS(D,h,f.value)}}catch(e){r={error:e}}finally{try{d&&!d.done&&(n=p.return)&&n.call(p)}finally{if(r)throw r.error}}var g=a.parentNode;if(null===g)throw Error("Parent node is null."+this._debugInfo());g.replaceChild(c,a),this._domNode=c;try{for(var y=rD(a.childNodes),_=y.next();!_.done;_=y.next()){var v=_.value.cloneNode(!0);if(c.appendChild(v),rq.Guard.isElementNode(v)){var b=rm(rP.namespace_extractQName(v.prefix?v.prefix+":"+v.localName:v.localName),1)[0],x=c.lookupNamespaceURI(b);new e(v)._updateNamespace(x)}}}catch(e){o={error:e}}finally{try{_&&!_.done&&(i=y.return)&&i.call(y)}finally{if(o)throw o.error}}}},Object.defineProperty(e.prototype,"_doc",{get:function(){var e=this.node;if(rq.Guard.isDocumentNode(e))return e;var t=e.ownerDocument;if(!t)throw Error("Owner document is null. "+this._debugInfo());return t},enumerable:!0,configurable:!0}),e.prototype._debugInfo=function(e){var t=this.node,r=t.parentNode;e=e||t.nodeName;var n=r?r.nodeName:"";return n?"node: <"+e+">, parent: <"+n+">":"node: <"+e+">"},Object.defineProperty(e.prototype,"_options",{get:function(){var e=this._doc;if(void 0===e._xmlBuilderOptions)throw Error("Builder options is not set.");return e._xmlBuilderOptions},set:function(e){this._doc._xmlBuilderOptions=e},enumerable:!0,configurable:!0}),e}(),rf.XMLBuilderImpl=rh.XMLBuilderImpl;var ob={},ox=ob&&ob.__extends||(E=function(e,t){return(E=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}E(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),oE=ob&&ob.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},ow=ob&&ob.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)a.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return a};Object.defineProperty(ob,"__esModule",{value:!0});var ry=ee("jDPAV"),oC={};Object.defineProperty(oC,"__esModule",{value:!0});var ry=ee("jDPAV"),rq=ee("cnpfV");function oA(e,t){var r=oT(void 0===e||oN(e)?e:rg.DefaultBuilderOptions),n=oN(e)?t:e,o=rV.createDocument();oS(o,r);var i=new rf.XMLBuilderImpl(o);return void 0!==n&&i.ele(n),i}function oN(e){if(!ry.isPlainObject(e))return!1;for(var t in e)if(e.hasOwnProperty(t)&&!rg.XMLBuilderOptionKeys.has(t))return!1;return!0}function oT(e){void 0===e&&(e={});var t=ry.applyDefaults(e,rg.DefaultBuilderOptions);if(0===t.convert.att.length||0===t.convert.ins.length||0===t.convert.text.length||0===t.convert.cdata.length||0===t.convert.comment.length)throw Error("JS object converter strings cannot be zero length.");return t}function oS(e,t,r){e._xmlBuilderOptions=t,e._isFragment=r}oC.builder=function(e,t){var r=oT(oN(e)?e:rg.DefaultBuilderOptions),n=rq.Guard.isNode(e)||ry.isArray(e)?e:t;if(void 0===n)throw Error("Invalid arguments.");if(ry.isArray(n)){for(var o=[],i=0;i<n.length;i++){var a=new rf.XMLBuilderImpl(n[i]);a.set(r),o.push(a)}return o}var u=new rf.XMLBuilderImpl(n);return u.set(r),u},oC.create=oA,oC.fragment=function(e,t){var r=oT(void 0===e||oN(e)?e:rg.DefaultBuilderOptions),n=oN(e)?t:e,o=rV.createDocument();oS(o,r,!0);var i=new rf.XMLBuilderImpl(o.createDocumentFragment());return void 0!==n&&i.ele(n),i},oC.convert=function(e,t,r){var n,o,i;return oN(e)&&void 0!==t?(n=e,o=t,i=r):(n=rg.DefaultBuilderOptions,o=e,i=t||void 0),oA(n,o).end(i)};var rP=ee("eOMTm"),rk=ee("b9DcM"),rq=ee("cnpfV"),oF={},oO=oF&&oF.__extends||(w=function(e,t){return(w=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}w(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(oF,"__esModule",{value:!0});var ok={};Object.defineProperty(ok,"__esModule",{value:!0}),ok.BaseCBWriter=function(e){this.level=0,this._builderOptions=e,this._writerOptions=e},oF.XMLCBWriter=function(e){function t(t){var r=e.call(this,t)||this;return r._lineLength=0,r}return oO(t,e),t.prototype.frontMatter=function(){return""},t.prototype.declaration=function(e,t,r){var n=this._beginLine()+"<?xml";return n+=' version="'+e+'"',void 0!==t&&(n+=' encoding="'+t+'"'),void 0!==r&&(n+=' standalone="'+(r?"yes":"no")+'"'),n+="?>"},t.prototype.docType=function(e,t,r){var n=this._beginLine();return t&&r?n+="<!DOCTYPE "+e+' PUBLIC "'+t+'" "'+r+'">':t?n+="<!DOCTYPE "+e+' PUBLIC "'+t+'">':r?n+="<!DOCTYPE "+e+' SYSTEM "'+r+'">':n+="<!DOCTYPE "+e+">",n},t.prototype.comment=function(e){return this._beginLine()+"\x3c!--"+e+"--\x3e"},t.prototype.text=function(e){return this._beginLine()+e},t.prototype.instruction=function(e,t){return t?this._beginLine()+"<?"+e+" "+t+"?>":this._beginLine()+"<?"+e+"?>"},t.prototype.cdata=function(e){return this._beginLine()+"<![CDATA["+e+"]]>"},t.prototype.openTagBegin=function(e){return this._lineLength+=1+e.length,this._beginLine()+"<"+e},t.prototype.openTagEnd=function(e,t,r){return r?" />":t?this._writerOptions.allowEmptyTags?"></"+e+">":this._writerOptions.spaceBeforeSlash?" />":"/>":">"},t.prototype.closeTag=function(e){return this._beginLine()+"</"+e+">"},t.prototype.attribute=function(e,t){var r=e+'="'+t+'"';return this._writerOptions.prettyPrint&&this._writerOptions.width>0&&this._lineLength+1+r.length>this._writerOptions.width?(r=this._beginLine()+this._indent(1)+r,this._lineLength=r.length,r):(this._lineLength+=1+r.length," "+r)},t.prototype.beginElement=function(e){},t.prototype.endElement=function(e){},t.prototype._beginLine=function(){if(!this._writerOptions.prettyPrint)return"";var e=(this.hasData?this._writerOptions.newline:"")+this._indent(this._writerOptions.offset+this.level);return this._lineLength=e.length,e},t.prototype._indent=function(e){return e<=0?"":this._writerOptions.indent.repeat(e)},t}(ok.BaseCBWriter);var oP={},oL=oP&&oP.__extends||(C=function(e,t){return(C=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}C(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(oP,"__esModule",{value:!0}),oP.JSONCBWriter=function(e){function t(t){var r=e.call(this,t)||this;return r._hasChildren=[],r._additionalLevel=0,r}return oL(t,e),t.prototype.frontMatter=function(){return""},t.prototype.declaration=function(e,t,r){return""},t.prototype.docType=function(e,t,r){return""},t.prototype.comment=function(e){return this._comma()+this._beginLine()+"{"+this._sep()+this._key(this._builderOptions.convert.comment)+this._sep()+this._val(e)+this._sep()+"}"},t.prototype.text=function(e){return this._comma()+this._beginLine()+"{"+this._sep()+this._key(this._builderOptions.convert.text)+this._sep()+this._val(e)+this._sep()+"}"},t.prototype.instruction=function(e,t){return this._comma()+this._beginLine()+"{"+this._sep()+this._key(this._builderOptions.convert.ins)+this._sep()+this._val(t?e+" "+t:e)+this._sep()+"}"},t.prototype.cdata=function(e){return this._comma()+this._beginLine()+"{"+this._sep()+this._key(this._builderOptions.convert.cdata)+this._sep()+this._val(e)+this._sep()+"}"},t.prototype.attribute=function(e,t){return this._comma()+this._beginLine(1)+"{"+this._sep()+this._key(this._builderOptions.convert.att+e)+this._sep()+this._val(t)+this._sep()+"}"},t.prototype.openTagBegin=function(e){var t=this._comma()+this._beginLine()+"{"+this._sep()+this._key(e)+this._sep()+"{";return this._additionalLevel++,this.hasData=!0,t+=this._beginLine()+this._key(this._builderOptions.convert.text)+this._sep()+"[",this._hasChildren.push(!1),t},t.prototype.openTagEnd=function(e,t,r){if(!t)return"";var n=this._sep()+"]";return this._additionalLevel--,n+=this._beginLine()+"}"+this._sep()+"}"},t.prototype.closeTag=function(e){var t=this._beginLine()+"]";return this._additionalLevel--,t+=this._beginLine()+"}"+this._sep()+"}"},t.prototype.beginElement=function(e){},t.prototype.endElement=function(e){this._hasChildren.pop()},t.prototype._beginLine=function(e){return(void 0===e&&(e=0),this._writerOptions.prettyPrint)?(this.hasData?this._writerOptions.newline:"")+this._indent(this._writerOptions.offset+this.level+e):""},t.prototype._indent=function(e){return e+this._additionalLevel<=0?"":this._writerOptions.indent.repeat(e+this._additionalLevel)},t.prototype._comma=function(){var e=this._hasChildren[this._hasChildren.length-1]?",":"";return this._hasChildren.length>0&&(this._hasChildren[this._hasChildren.length-1]=!0),e},t.prototype._sep=function(){return this._writerOptions.prettyPrint?" ":""},t.prototype._key=function(e){return'"'+e+'":'},t.prototype._val=function(e){return JSON.stringify(e)},t}(ok.BaseCBWriter);var oI={},oB=oI&&oI.__extends||(A=function(e,t){return(A=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}A(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(oI,"__esModule",{value:!0}),oI.YAMLCBWriter=function(e){function t(t){var r=e.call(this,t)||this;if(r._rootWritten=!1,r._additionalLevel=0,t.indent.length<2)throw Error("YAML indententation string must be at least two characters long.");if(t.offset<0)throw Error("YAML offset should be zero or a positive number.");return r}return oB(t,e),t.prototype.frontMatter=function(){return this._beginLine()+"---"},t.prototype.declaration=function(e,t,r){return""},t.prototype.docType=function(e,t,r){return""},t.prototype.comment=function(e){return this._beginLine()+this._key(this._builderOptions.convert.comment)+" "+this._val(e)},t.prototype.text=function(e){return this._beginLine()+this._key(this._builderOptions.convert.text)+" "+this._val(e)},t.prototype.instruction=function(e,t){return this._beginLine()+this._key(this._builderOptions.convert.ins)+" "+this._val(t?e+" "+t:e)},t.prototype.cdata=function(e){return this._beginLine()+this._key(this._builderOptions.convert.cdata)+" "+this._val(e)},t.prototype.attribute=function(e,t){this._additionalLevel++;var r=this._beginLine()+this._key(this._builderOptions.convert.att+e)+" "+this._val(t);return this._additionalLevel--,r},t.prototype.openTagBegin=function(e){var t=this._beginLine()+this._key(e);return this._rootWritten||(this._rootWritten=!0),this.hasData=!0,this._additionalLevel++,t+=this._beginLine(!0)+this._key(this._builderOptions.convert.text)},t.prototype.openTagEnd=function(e,t,r){return t?" "+this._val(""):""},t.prototype.closeTag=function(e){return this._additionalLevel--,""},t.prototype.beginElement=function(e){},t.prototype.endElement=function(e){},t.prototype._beginLine=function(e){return void 0===e&&(e=!1),(this.hasData?this._writerOptions.newline:"")+this._indent(this._writerOptions.offset+this.level,e)},t.prototype._indent=function(e,t){if(e+this._additionalLevel<=0)return"";var r=this._writerOptions.indent.repeat(e+this._additionalLevel);return!t&&this._rootWritten?r.substr(0,r.length-2)+"-"+r.substr(-1,1):r},t.prototype._key=function(e){return'"'+e+'":'},t.prototype._val=function(e){return JSON.stringify(e)},t}(ok.BaseCBWriter),ob.XMLBuilderCBImpl=function(e){function t(t,r){void 0===r&&(r=!1);var n=e.call(this)||this;return n._hasDeclaration=!1,n._docTypeName="",n._hasDocumentElement=!1,n._currentElementSerialized=!1,n._openTags=[],n._ended=!1,n._fragment=r,n._options=ry.applyDefaults(t||{},rg.DefaultXMLBuilderCBOptions),n._builderOptions={defaultNamespace:n._options.defaultNamespace,namespaceAlias:n._options.namespaceAlias},"json"===n._options.format?n._writer=new oP.JSONCBWriter(n._options):"yaml"===n._options.format?n._writer=new oI.YAMLCBWriter(n._options):n._writer=new oF.XMLCBWriter(n._options),void 0!==n._options.data&&n.on("data",n._options.data),void 0!==n._options.end&&n.on("end",n._options.end),void 0!==n._options.error&&n.on("error",n._options.error),n._prefixMap=new rO.NamespacePrefixMap,n._prefixMap.set("xml",rk.namespace.XML),n._prefixIndex={value:1},n._push(n._writer.frontMatter()),n}return ox(t,e),t.prototype.ele=function(e,t,r){var n,o;if(ry.isObject(e)||ry.isString(e)&&(/^\s*</.test(e)||/^\s*[\{\[]/.test(e)||/^(\s*|(#.*)|(%.*))*---/.test(e))){var i=oC.fragment().set(this._options);try{i.ele(e)}catch(e){return this.emit("error",e),this}try{for(var a=oE(i.node.childNodes),u=a.next();!u.done;u=a.next()){var s=u.value;this._fromNode(s)}}catch(e){n={error:e}}finally{try{u&&!u.done&&(o=a.return)&&o.call(a)}finally{if(n)throw n.error}}return this}if(this._serializeOpenTag(!0),!this._fragment&&this._hasDocumentElement&&0===this._writer.level)return this.emit("error",Error("Document cannot have multiple document element nodes.")),this;try{this._currentElement=oC.fragment(this._builderOptions).ele(e,t,r)}catch(e){return this.emit("error",e),this}return this._fragment||this._hasDocumentElement||""===this._docTypeName||this._currentElement.node._qualifiedName===this._docTypeName?(this._currentElementSerialized=!1,this._fragment||(this._hasDocumentElement=!0)):this.emit("error",Error("Document element name does not match DocType declaration name.")),this},t.prototype.att=function(e,t,r){if(void 0===this._currentElement)return this.emit("error",Error("Cannot insert an attribute node as child of a document node.")),this;try{this._currentElement.att(e,t,r)}catch(e){this.emit("error",e)}return this},t.prototype.com=function(e){var t;this._serializeOpenTag(!0);try{t=oC.fragment(this._builderOptions).com(e).first().node}catch(e){return this.emit("error",e),this}return this._options.wellFormed&&(!rP.xml_isLegalChar(t.data)||-1!==t.data.indexOf("--")||t.data.endsWith("-"))?this.emit("error",Error("Comment data contains invalid characters (well-formed required).")):this._push(this._writer.comment(t.data)),this},t.prototype.txt=function(e){if(!this._fragment&&void 0===this._currentElement)return this.emit("error",Error("Cannot insert a text node as child of a document node.")),this;this._serializeOpenTag(!0);try{t=oC.fragment(this._builderOptions).txt(e).first().node}catch(e){return this.emit("error",e),this}if(this._options.wellFormed&&!rP.xml_isLegalChar(t.data))return this.emit("error",Error("Text data contains invalid characters (well-formed required).")),this;var t,r=t.data.replace(/(?!&(lt|gt|amp|apos|quot);)&/g,"&").replace(/</g,"<").replace(/>/g,">");return this._push(this._writer.text(r)),this},t.prototype.ins=function(e,t){var r;void 0===t&&(t=""),this._serializeOpenTag(!0);try{r=oC.fragment(this._builderOptions).ins(e,t).first().node}catch(e){return this.emit("error",e),this}return this._options.wellFormed&&(-1!==r.target.indexOf(":")||/^xml$/i.test(r.target))?this.emit("error",Error("Processing instruction target contains invalid characters (well-formed required).")):this._options.wellFormed&&!rP.xml_isLegalChar(r.data)?this.emit("error",Error("Processing instruction data contains invalid characters (well-formed required).")):this._push(this._writer.instruction(r.target,r.data)),this},t.prototype.dat=function(e){var t;this._serializeOpenTag(!0);try{t=oC.fragment(this._builderOptions).dat(e).first().node}catch(e){return this.emit("error",e),this}return this._push(this._writer.cdata(t.data)),this},t.prototype.dec=function(e){return(void 0===e&&(e={version:"1.0"}),this._fragment)?this.emit("error",Error("Cannot insert an XML declaration into a document fragment.")):this._hasDeclaration?this.emit("error",Error("XML declaration is already inserted.")):(this._push(this._writer.declaration(e.version||"1.0",e.encoding,e.standalone)),this._hasDeclaration=!0),this},t.prototype.dtd=function(e){var t;if(this._fragment)return this.emit("error",Error("Cannot insert a DocType declaration into a document fragment.")),this;if(""!==this._docTypeName)return this.emit("error",Error("DocType declaration is already inserted.")),this;if(this._hasDocumentElement)return this.emit("error",Error("Cannot insert DocType declaration after document element.")),this;try{t=oC.create().dtd(e).first().node}catch(e){return this.emit("error",e),this}return this._options.wellFormed&&!rP.xml_isPubidChar(t.publicId)?this.emit("error",Error("DocType public identifier does not match PubidChar construct (well-formed required).")):this._options.wellFormed&&(!rP.xml_isLegalChar(t.systemId)||-1!==t.systemId.indexOf('"')&&-1!==t.systemId.indexOf("'"))?this.emit("error",Error("DocType system identifier contains invalid characters (well-formed required).")):(this._docTypeName=e.name,this._push(this._writer.docType(e.name,t.publicId,t.systemId))),this},t.prototype.import=function(e){var t,r,n=oC.fragment().set(this._options);try{n.import(e)}catch(e){return this.emit("error",e),this}try{for(var o=oE(n.node.childNodes),i=o.next();!i.done;i=o.next()){var a=i.value;this._fromNode(a)}}catch(e){t={error:e}}finally{try{i&&!i.done&&(r=o.return)&&r.call(o)}finally{if(t)throw t.error}}return this},t.prototype.up=function(){return this._serializeOpenTag(!1),this._serializeCloseTag(),this},t.prototype.end=function(){for(this._serializeOpenTag(!1);this._openTags.length>0;)this._serializeCloseTag();return this._push(null),this},t.prototype._serializeOpenTag=function(e){if(!this._currentElementSerialized&&void 0!==this._currentElement){var r=this._currentElement.node;if(this._options.wellFormed&&(-1!==r.localName.indexOf(":")||!rP.xml_isName(r.localName)))return void this.emit("error",Error("Node local name contains invalid characters (well-formed required)."));var n="",o=!1,i=this._prefixMap.copy(),a={},u=this._recordNamespaceInformation(r,i,a),s=0===this._openTags.length?null:this._openTags[this._openTags.length-1][1],l=r.namespaceURI;if(null===l&&(l=s),s===l)null!==u&&(o=!0),n=l===rk.namespace.XML?"xml:"+r.localName:r.localName,this._writer.beginElement(n),this._push(this._writer.openTagBegin(n));else{var c=r.prefix,p=null;if((null!==c||l!==u)&&(p=i.get(c,l)),"xmlns"===c){if(this._options.wellFormed)return void this.emit("error",Error("An element cannot have the 'xmlns' prefix (well-formed required)."));p=c}null!==p?(n=p+":"+r.localName,null!==u&&u!==rk.namespace.XML&&(s=u||null),this._writer.beginElement(n),this._push(this._writer.openTagBegin(n))):null!==c?(c in a&&(c=this._generatePrefix(l,i,this._prefixIndex)),i.set(c,l),n+=c+":"+r.localName,this._writer.beginElement(n),this._push(this._writer.openTagBegin(n)),this._push(this._writer.attribute("xmlns:"+c,this._serializeAttributeValue(l,this._options.wellFormed))),null!==u&&(s=u||null)):null===u||null!==u&&u!==l?(o=!0,n+=r.localName,s=l,this._writer.beginElement(n),this._push(this._writer.openTagBegin(n)),this._push(this._writer.attribute("xmlns",this._serializeAttributeValue(l,this._options.wellFormed)))):(n+=r.localName,s=l,this._writer.beginElement(n),this._push(this._writer.openTagBegin(n)))}this._serializeAttributes(r,i,this._prefixIndex,a,o,this._options.wellFormed);var d=l===rk.namespace.HTML;d&&!e&&t._VoidElementNames.has(r.localName)?(this._push(this._writer.openTagEnd(n,!0,!0)),this._writer.endElement(n)):d||e?this._push(this._writer.openTagEnd(n,!1,!1)):(this._push(this._writer.openTagEnd(n,!0,!1)),this._writer.endElement(n)),this._currentElementSerialized=!0,this._openTags.push([n,s,this._prefixMap,e]),this._isPrefixMapModified(this._prefixMap,i)&&(this._prefixMap=i),this._writer.level++}},t.prototype._serializeCloseTag=function(){this._writer.level--;var e=this._openTags.pop();if(void 0===e)return void this.emit("error",Error("Last element is undefined."));var t=ow(e,4),r=t[0],n=(t[1],t[2]),o=t[3];this._prefixMap=n,o&&(this._push(this._writer.closeTag(r)),this._writer.endElement(r))},t.prototype._push=function(e){null===e?(this._ended=!0,this.emit("end")):this._ended?this.emit("error",Error("Cannot push to ended stream.")):0!==e.length&&(this._writer.hasData=!0,this.emit("data",e,this._writer.level))},t.prototype._fromNode=function(e){var t,r,n,o;if(rq.Guard.isElementNode(e)){var i=e.prefix?e.prefix+":"+e.localName:e.localName;null!==e.namespaceURI?this.ele(e.namespaceURI,i):this.ele(i);try{for(var a=oE(e.attributes),u=a.next();!u.done;u=a.next()){var s=u.value,l=s.prefix?s.prefix+":"+s.localName:s.localName;null!==s.namespaceURI?this.att(s.namespaceURI,l,s.value):this.att(l,s.value)}}catch(e){t={error:e}}finally{try{u&&!u.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}try{for(var c=oE(e.childNodes),p=c.next();!p.done;p=c.next()){var d=p.value;this._fromNode(d)}}catch(e){n={error:e}}finally{try{p&&!p.done&&(o=c.return)&&o.call(c)}finally{if(n)throw n.error}}this.up()}else rq.Guard.isExclusiveTextNode(e)&&e.data?this.txt(e.data):rq.Guard.isCommentNode(e)?this.com(e.data):rq.Guard.isCDATASectionNode(e)?this.dat(e.data):rq.Guard.isProcessingInstructionNode(e)&&this.ins(e.target,e.data)},t.prototype._serializeAttributes=function(e,t,r,n,o,i){var a,u,s=i?new rF.LocalNameSet:void 0;try{for(var l=oE(e.attributes),c=l.next();!c.done;c=l.next()){var p=c.value;if(!i&&!o&&null===p.namespaceURI){this._push(this._writer.attribute(p.localName,this._serializeAttributeValue(p.value,this._options.wellFormed)));continue}if(i&&s&&s.has(p.namespaceURI,p.localName))return void this.emit("error",Error("Element contains duplicate attributes (well-formed required)."));i&&s&&s.set(p.namespaceURI,p.localName);var d=p.namespaceURI,f=null;if(null!==d)if(f=t.get(p.prefix,d),d===rk.namespace.XMLNS){if(p.value===rk.namespace.XML||null===p.prefix&&o||null!==p.prefix&&(!(p.localName in n)||n[p.localName]!==p.value)&&t.has(p.localName,p.value))continue;if(i&&p.value===rk.namespace.XMLNS)return void this.emit("error",Error("XMLNS namespace is reserved (well-formed required)."));if(i&&""===p.value)return void this.emit("error",Error("Namespace prefix declarations cannot be used to undeclare a namespace (well-formed required)."));"xmlns"===p.prefix&&(f="xmlns")}else null===f&&(f=null!==p.prefix&&(!t.hasPrefix(p.prefix)||t.has(p.prefix,d))?p.prefix:this._generatePrefix(d,t,r),this._push(this._writer.attribute("xmlns:"+f,this._serializeAttributeValue(d,this._options.wellFormed))));if(i&&(-1!==p.localName.indexOf(":")||!rP.xml_isName(p.localName)||"xmlns"===p.localName&&null===d))return void this.emit("error",Error("Attribute local name contains invalid characters (well-formed required)."));this._push(this._writer.attribute((null!==f?f+":":"")+p.localName,this._serializeAttributeValue(p.value,this._options.wellFormed)))}}catch(e){a={error:e}}finally{try{c&&!c.done&&(u=l.return)&&u.call(l)}finally{if(a)throw a.error}}},t.prototype._serializeAttributeValue=function(e,t){return t&&null!==e&&!rP.xml_isLegalChar(e)?(this.emit("error",Error("Invalid characters in attribute value.")),""):null===e?"":e.replace(/(?!&(lt|gt|amp|apos|quot);)&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""")},t.prototype._recordNamespaceInformation=function(e,t,r){var n,o,i=null;try{for(var a=oE(e.attributes),u=a.next();!u.done;u=a.next()){var s=u.value,l=s.namespaceURI,c=s.prefix;if(l===rk.namespace.XMLNS)if(null===c){i=s.value;continue}else{var p=s.localName,d=s.value;if(d===rk.namespace.XML||(""===d&&(d=null),t.has(p,d)))continue;t.set(p,d),r[p]=d||""}}}catch(e){n={error:e}}finally{try{u&&!u.done&&(o=a.return)&&o.call(a)}finally{if(n)throw n.error}}return i},t.prototype._generatePrefix=function(e,t,r){var n="ns"+r.value;return r.value++,t.set(n,e),n},t.prototype._isPrefixMapModified=function(e,t){var r=e._items,n=t._items,o=e._nullItems,i=t._nullItems;for(var a in n){var u=r[a];if(void 0===u)return!0;var s=n[a];if(u.length!==s.length)return!0;for(var l=0;l<u.length;l++)if(u[l]!==s[l])return!0}if(o.length!==i.length)return!0;for(var l=0;l<o.length;l++)if(o[l]!==i[l])return!0;return!1},t._VoidElementNames=new Set(["area","base","basefont","bgsound","br","col","embed","frame","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"]),t}(p),rf.XMLBuilderCBImpl=ob.XMLBuilderCBImpl,rf.builder=oC.builder,rf.create=oC.create,rf.fragment=oC.fragment,rf.convert=oC.convert;var oq={};if(Object.defineProperty(oq,"__esModule",{value:!0}),oq.createCB=function(e){return new rf.XMLBuilderCBImpl(e)},oq.fragmentCB=function(e){return new rf.XMLBuilderCBImpl(e,!0)},rf.createCB=oq.createCB,rf.fragmentCB=oq.fragmentCB,rd.builder=rf.builder,rd.create=rf.create,rd.fragment=rf.fragment,rd.convert=rf.convert,rd.createCB=rf.createCB,rd.fragmentCB=rf.fragmentCB,process.argv[1]===new URL("file:///src/utils/yml2xml.js").pathname)try{let e=rt(n.readFileSync(process.argv[2],"utf8")),t=n.readFileSync(process.argv[3]);n.writeFileSync(`${process.argv[4]}`,oj(e,t,process.argv[5]),{encoding:"utf8",flag:"w"})}catch(e){console.log(e)}function oj(e,t,r="1.0"){let n=(0,rd.create)({version:"1.0",encoding:"UTF-8"}),o=n.ele("Module"),i=o.ele("ModulePrefs",{title:e.title,title_url:e.title_url,version:r,description:e.description,author:e.author,background:e.background});if(e.locales)for(let t of e.locales){let e=i.ele("Locale");t.lang&&e.att("lang",t.lang),e.att("messages",t.messages)}if(e.requirements)for(let t of e.requirements)i.ele("Require",{feature:t});if(e.prefs)for(let t of e.prefs){let e=i.ele("UserPref",{name:t.name,display_name:t.display_name,datatype:t.datatype,default_value:t.default_value,required:!!t.required,multiple:!!t.multiple,multiline:!!t.multiline});if("enum"===t.datatype)for(let r of t.options)e.ele("EnumValue",{value:r.value,display_value:r.display_value});t.depends&&function e(t,r){for(let n of t){let t=r.ele("DependsOn",{name:n.name,type:n.any_of?"any_of":n.all_of?"all_of":"none_of"});for(let r of[].concat(n.any_of,n.all_of,n.none_of).filter(e=>null!=e)){if(r.values)for(let e of r.values)t.ele("Value").txt(e);r.depends&&e(r.depends,t)}}}(t.depends,e)}i.ele("UserPref",{name:"rdW",display_name:"Width",datatype:"hidden",default_value:280,required:!0}),i.ele("UserPref",{name:"rdH",display_name:"Height",datatype:"hidden",default_value:190,required:!0}),i.ele("UserPref",{name:"rdKey",datatype:"hidden"}),i.ele("UserPref",{name:"ForeColor",datatype:"hidden"}),i.ele("UserPref",{name:"BackColor",datatype:"hidden"});var a=rr.parse.parse(t,{parseNoneClosedTags:!0});return o.ele("Content",{type:"html"}).ele({$:(a.querySelector("style")?.toString()||"")+a.querySelectorAll("script:not(body script)").map(e=>e.toString()).join("")+a.querySelectorAll("link[rel=stylesheet]:not(body link[rel=stylesheet])").map(e=>e.toString()).join("")+(a.querySelector("body")?.toString()||"")}),n.end({prettyPrint:!0})}let oM=i(process.argv[1]),oR=process.argv.slice(2),oU=oR.includes("help")||oR.includes("--help")||oR.includes("-h"),oG=oR.includes("build-only")||oR.includes("--build-only"),oz=process.cwd();((e="")=>{process.stdout.write(`${X(ea).gray(eK)} ${e}
|
|
41
41
|
`)})(X(ea).cyan("\uD83D\uDE80 Revel Digital SDK Integrator")),oU&&(e6(X(ea).cyan(`
|
|
42
42
|
Usage: gadgetizer [options]
|
|
43
43
|
|