Lines Matching defs:scalar

67 `;return E.replace(/\n$/,"")}var uFe=cFe,lFe=["kind","multi","resolve","construct","instanceOf","predicate","represent","representName","defaultStyle","styleAliases"],hFe=["scalar","sequence","mapping"];function fFe(i){var a={};return i!==null&&Object.keys(i).forEach(function(f){i[f].forEach(function(g){a[String(g)]=f})}),a}function dFe(i,a){if(a=a||{},Object.keys(a).forEach(function(f){if(lFe.indexOf(f)===-1)throw new Ox('Unknown option "'+f+'" is met in definition of "'+i+'" YAML type.')}),this.options=a,this.tag=i,this.kind=a.kind||null,this.resolve=a.resolve||function(){return!0},this.construct=a.construct||function(f){return f},this.instanceOf=a.instanceOf||null,this.predicate=a.predicate||null,this.represent=a.represent||null,this.representName=a.representName||null,this.defaultStyle=a.defaultStyle||null,this.multi=a.multi||!1,this.styleAliases=fFe(a.styleAliases||null),hFe.indexOf(this.kind)===-1)throw new Ox('Unknown kind "'+this.kind+'" is specified for "'+i+'" YAML type.')}var cg=dFe;function LBt(i,a){var f=[];return i[a].forEach(function(g){var w=f.length;f.forEach(function(v,b){v.tag===g.tag&&v.kind===g.kind&&v.multi===g.multi&&(w=b)}),f[w]=g}),f}function gFe(){var i={scalar:{},sequence:{},mapping:{},fallback:{},multi:{scalar:[],sequence:[],mapping:[],fallback:[]}},a,f;function g(w){w.multi?(i.multi[w.kind].push(w),i.multi.fallback.push(w)):i[w.kind][w.tag]=i.fallback[w.tag]=w}for(a=0,f=arguments.length;a<f;a+=1)arguments[a].forEach(g);return i}function Vgt(i){return this.extend(i)}Vgt.prototype.extend=function(a){var f=[],g=[];if(a instanceof cg)g.push(a);else if(Array.isArray(a))g=g.concat(a);else if(a&&(Array.isArray(a.implicit)||Array.isArray(a.explicit)))a.implicit&&(f=f.concat(a.implicit)),a.explicit&&(g=g.concat(a.explicit));else throw new Ox("Schema.extend argument should be a Type, [ Type ], or a schema definition ({ implicit: [...], explicit: [...] })");f.forEach(function(v){if(!(v instanceof cg))throw new Ox("Specified list of YAML types (or a single Type object) contains a non-Type object.");if(v.loadKind&&v.loadKind!=="scalar")throw new Ox("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.");if(v.multi)throw new Ox("There is a multi type in the implicit list of a schema. Multi tags can only be listed as explicit.")}),g.forEach(function(v){if(!(v instanceof cg))throw new Ox("Specified list of YAML types (or a single Type object) contains a non-Type object.")});var w=Object.create(Vgt.prototype);return w.implicit=(this.implicit||[]).concat(f),w.explicit=(this.explicit||[]).concat(g),w.compiledImplicit=LBt(w,"implicit"),w.compiledExplicit=LBt(w,"explicit"),w.compiledTypeMap=gFe(w.compiledImplicit,w.compiledExplicit),w};var pFe=Vgt,bFe=new cg("tag:yaml.org,2002:str",{kind:"scalar",construct:function(i){return i!==null?i:""}}),wFe=new cg("tag:yaml.org,2002:seq",{kind:"sequence",construct:function(i){return i!==null?i:[]}}),mFe=new cg("tag:yaml.org,2002:map",{kind:"mapping",construct:function(i){return i!==null?i:{}}}),vFe=new pFe({explicit:[bFe,wFe,mFe]});function yFe(i){if(i===null)return!0;var a=i.length;return a===1&&i==="~"||a===4&&(i==="null"||i==="Null"||i==="NULL")}function xFe(){return null}function kFe(i){return i===null}var EFe=new cg("tag:yaml.org,2002:null",{kind:"scalar",resolve:yFe,construct:xFe,predicate:kFe,represent:{canonical:function(){return"~"},lowercase:function(){return"null"},uppercase:function(){return"NULL"},camelcase:function(){return"Null"},empty:function(){return""}},defaultStyle:"lowercase"});function TFe(i){if(i===null)return!1;var a=i.length;return a===4&&(i==="true"||i==="True"||i==="TRUE")||a===5&&(i==="false"||i==="False"||i==="FALSE")}function CFe(i){return i==="true"||i==="True"||i==="TRUE"}function SFe(i){return Object.prototype.toString.call(i)==="[object Boolean]"}var _Fe=new cg("tag:yaml.org,2002:bool",{kind:"scalar",resolve:TFe,construct:CFe,predicate:SFe,represent:{lowercase:function(i){return i?"true":"false"},uppercase:function(i){return i?"TRUE":"FALSE"},camelcase:function(i){return i?"True":"False"}},defaultStyle:"lowercase"});function AFe(i){return 48<=i&&i<=57||65<=i&&i<=70||97<=i&&i<=102}function LFe(i){return 48<=i&&i<=55}function DFe(i){return 48<=i&&i<=57}function MFe(i){if(i===null)return!1;var a=i.length,f=0,g=!1,w;if(!a)return!1;if(w=i[f],(w==="-"||w==="+")&&(w=i[++f]),w==="0"){if(f+1===a)return!0;if(w=i[++f],w==="b"){for(f++;f<a;f++)if(w=i[f],w!=="_"){if(w!=="0"&&w!=="1")return!1;g=!0}return g&&w!=="_"}if(w==="x"){for(f++;f<a;f++)if(w=i[f],w!=="_"){if(!AFe(i.charCodeAt(f)))return!1;g=!0}return g&&w!=="_"}if(w==="o"){for(f++;f<a;f++)if(w=i[f],w!=="_"){if(!LFe(i.charCodeAt(f)))return!1;g=!0}return g&&w!=="_"}}if(w==="_")return!1;for(;f<a;f++)if(w=i[f],w!=="_"){if(!DFe(i.charCodeAt(f)))return!1;g=!0}return!(!g||w==="_")}function IFe(i){var a=i,f=1,g;if(a.indexOf("_")!==-1&&(a=a.replace(/_/g,"")),g=a[0],(g==="-"||g==="+")&&(g==="-"&&(f=-1),a=a.slice(1),g=a[0]),a==="0")return 0;if(g==="0"){if(a[1]==="b")return f*parseInt(a.slice(2),2);if(a[1]==="x")return f*parseInt(a.slice(2),16);if(a[1]==="o")return f*parseInt(a.slice(2),8)}return f*parseInt(a,10)}function OFe(i){return Object.prototype.toString.call(i)==="[object Number]"&&i%1===0&&!tp.isNegativeZero(i)}var NFe=new cg("tag:yaml.org,2002:int",{kind:"scalar",resolve:MFe,construct:IFe,predicate:OFe,represent:{binary:function(i){return i>=0?"0b"+i.toString(2):"-0b"+i.toString(2).slice(1)},octal:function(i){return i>=0?"0o"+i.toString(8):"-0o"+i.toString(8).slice(1)},decimal:function(i){return i.toString(10)},hexadecimal:function(i){return i>=0?"0x"+i.toString(16).toUpperCase():"-0x"+i.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}}),PFe=new RegExp("^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");function FFe(i){return!(i===null||!PFe.test(i)||i[i.length-1]==="_")}function BFe(i){var a,f;return a=i.replace(/_/g,"").toLowerCase(),f=a[0]==="-"?-1:1,"+-".indexOf(a[0])>=0&&(a=a.slice(1)),a===".inf"?f===1?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:a===".nan"?NaN:f*parseFloat(a,10)}var RFe=/^[-+]?[0-9]+e/;function jFe(i,a){var f;if(isNaN(i))switch(a){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===i)switch(a){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===i)switch(a){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(tp.isNegativeZero(i))return"-0.0";return f=i.toString(10),RFe.test(f)?f.replace("e",".e"):f}function $Fe(i){return Object.prototype.toString.call(i)==="[object Number]"&&(i%1!==0||tp.isNegativeZero(i))}var zFe=new cg("tag:yaml.org,2002:float",{kind:"scalar",resolve:FFe,construct:BFe,predicate:$Fe,represent:jFe,defaultStyle:"lowercase"}),DBt=vFe.extend({implicit:[EFe,_Fe,NFe,zFe]}),qFe=DBt,MBt=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),IBt=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$");function HFe(i){return i===null?!1:MBt.exec(i)!==null||IBt.exec(i)!==null}function VFe(i){var a,f,g,w,v,b,E,S=0,_=null,M,F,R;if(a=MBt.exec(i),a===null&&(a=IBt.exec(i)),a===null)throw new Error("Date resolve error");if(f=+a[1],g=+a[2]-1,w=+a[3],!a[4])return new Date(Date.UTC(f,g,w));if(v=+a[4],b=+a[5],E=+a[6],a[7]){for(S=a[7].slice(0,3);S.length<3;)S+="0";S=+S}return a[9]&&(M=+a[10],F=+(a[11]||0),_=(M*60+F)*6e4,a[9]==="-"&&(_=-_)),R=new Date(Date.UTC(f,g,w,v,b,E,S)),_&&R.setTime(R.getTime()-_),R}function UFe(i){return i.toISOString()}var GFe=new cg("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:HFe,construct:VFe,instanceOf:Date,represent:UFe});function KFe(i){return i==="<<"||i===null}var WFe=new cg("tag:yaml.org,2002:merge",{kind:"scalar",resolve:KFe}),Ugt=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=

68 \r`;function YFe(i){if(i===null)return!1;var a,f,g=0,w=i.length,v=Ugt;for(f=0;f<w;f++)if(a=v.indexOf(i.charAt(f)),!(a>64)){if(a<0)return!1;g+=6}return g%8===0}function XFe(i){var a,f,g=i.replace(/[\r\n=]/g,""),w=g.length,v=Ugt,b=0,E=[];for(a=0;a<w;a++)a%4===0&&a&&(E.push(b>>16&255),E.push(b>>8&255),E.push(b&255)),b=b<<6|v.indexOf(g.charAt(a));return f=w%4*6,f===0?(E.push(b>>16&255),E.push(b>>8&255),E.push(b&255)):f===18?(E.push(b>>10&255),E.push(b>>2&255)):f===12&&E.push(b>>4&255),new Uint8Array(E)}function QFe(i){var a="",f=0,g,w,v=i.length,b=Ugt;for(g=0;g<v;g++)g%3===0&&g&&(a+=b[f>>18&63],a+=b[f>>12&63],a+=b[f>>6&63],a+=b[f&63]),f=(f<<8)+i[g];return w=v%3,w===0?(a+=b[f>>18&63],a+=b[f>>12&63],a+=b[f>>6&63],a+=b[f&63]):w===2?(a+=b[f>>10&63],a+=b[f>>4&63],a+=b[f<<2&63],a+=b[64]):w===1&&(a+=b[f>>2&63],a+=b[f<<4&63],a+=b[64],a+=b[64]),a}function JFe(i){return Object.prototype.toString.call(i)==="[object Uint8Array]"}var ZFe=new cg("tag:yaml.org,2002:binary",{kind:"scalar",resolve:YFe,construct:XFe,predicate:JFe,represent:QFe}),tBe=Object.prototype.hasOwnProperty,eBe=Object.prototype.toString;function nBe(i){if(i===null)return!0;var a=[],f,g,w,v,b,E=i;for(f=0,g=E.length;f<g;f+=1){if(w=E[f],b=!1,eBe.call(w)!=="[object Object]")return!1;for(v in w)if(tBe.call(w,v))if(!b)b=!0;else return!1;if(!b)return!1;if(a.indexOf(v)===-1)a.push(v);else return!1}return!0}function rBe(i){return i!==null?i:[]}var iBe=new cg("tag:yaml.org,2002:omap",{kind:"sequence",resolve:nBe,construct:rBe}),sBe=Object.prototype.toString;function aBe(i){if(i===null)return!0;var a,f,g,w,v,b=i;for(v=new Array(b.length),a=0,f=b.length;a<f;a+=1){if(g=b[a],sBe.call(g)!=="[object Object]"||(w=Object.keys(g),w.length!==1))return!1;v[a]=[w[0],g[w[0]]]}return!0}function oBe(i){if(i===null)return[];var a,f,g,w,v,b=i;for(v=new Array(b.length),a=0,f=b.length;a<f;a+=1)g=b[a],w=Object.keys(g),v[a]=[w[0],g[w[0]]];return v}var cBe=new cg("tag:yaml.org,2002:pairs",{kind:"sequence",resolve:aBe,construct:oBe}),uBe=Object.prototype.hasOwnProperty;function lBe(i){if(i===null)return!0;var a,f=i;for(a in f)if(uBe.call(f,a)&&f[a]!==null)return!1;return!0}function hBe(i){return i!==null?i:{}}var fBe=new cg("tag:yaml.org,2002:set",{kind:"mapping",resolve:lBe,construct:hBe}),dBe=qFe.extend({implicit:[GFe,WFe],explicit:[ZFe,iBe,cBe,fBe]}),m8=Object.prototype.hasOwnProperty,xY=1,OBt=2,NBt=3,kY=4,Ggt=1,gBe=2,PBt=3,pBe=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,bBe=/[\x85\u2028\u2029]/,wBe=/[,\[\]\{\}]/,FBt=/^(?:!|!!|![a-z\-]+!)$/i,BBt=/^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;function RBt(i){return Object.prototype.toString.call(i)}function r4(i){return i===10||i===13}function C9(i){return i===9||i===32}function sb(i){return i===9||i===32||i===10||i===13}function fD(i){return i===44||i===91||i===93||i===123||i===125}function mBe(i){var a;return 48<=i&&i<=57?i-48:(a=i|32,97<=a&&a<=102?a-97+10:-1)}function vBe(i){return i===120?2:i===117?4:i===85?8:0}function yBe(i){return 48<=i&&i<=57?i-48:-1}function jBt(i){return i===48?"\0":i===97?"\x07":i===98?"\b":i===116||i===9?" ":i===110?`
71 `,a-1))}function EBe(i,a,f){var g,w,v,b,E,S,_,M,F=i.kind,R=i.result,B;if(B=i.input.charCodeAt(i.position),sb(B)||fD(B)||B===35||B===38||B===42||B===33||B===124||B===62||B===39||B===34||B===37||B===64||B===96||(B===63||B===45)&&(w=i.input.charCodeAt(i.position+1),sb(w)||f&&fD(w)))return!1;for(i.kind="scalar",i.result="",v=b=i.position,E=!1;B!==0;){if(B===58){if(w=i.input.charCodeAt(i.position+1),sb(w)||f&&fD(w))break}else if(B===35){if(g=i.input.charCodeAt(i.position-1),sb(g))break}else{if(i.position===i.lineStart&&TY(i)||f&&fD(B))break;if(r4(B))if(S=i.line,_=i.lineStart,M=i.lineIndent,c1(i,!1,-1),i.lineIndent>=a){E=!0,B=i.input.charCodeAt(i.position);continue}else{i.position=b,i.line=S,i.lineStart=_,i.lineIndent=M;break}}E&&(v8(i,v,b,!1),Wgt(i,i.line-S),v=b=i.position,E=!1),C9(B)||(b=i.position+1),B=i.input.charCodeAt(++i.position)}return v8(i,v,b,!1),i.result?!0:(i.kind=F,i.result=R,!1)}function TBe(i,a){var f,g,w;if(f=i.input.charCodeAt(i.position),f!==39)return!1;for(i.kind="scalar",i.result="",i.position++,g=w=i.position;(f=i.input.charCodeAt(i.position))!==0;)if(f===39)if(v8(i,g,i.position,!0),f=i.input.charCodeAt(++i.position),f===39)g=i.position,i.position++,w=i.position;else return!0;else r4(f)?(v8(i,g,w,!0),Wgt(i,c1(i,!1,a)),g=w=i.position):i.position===i.lineStart&&TY(i)?Ks(i,"unexpected end of the document within a single quoted scalar"):(i.position++,w=i.position);Ks(i,"unexpected end of the stream within a single quoted scalar")}function CBe(i,a){var f,g,w,v,b,E;if(E=i.input.charCodeAt(i.position),E!==34)return!1;for(i.kind="scalar",i.result="",i.position++,f=g=i.position;(E=i.input.charCodeAt(i.position))!==0;){if(E===34)return v8(i,f,i.position,!0),i.position++,!0;if(E===92){if(v8(i,f,i.position,!0),E=i.input.charCodeAt(++i.position),r4(E))c1(i,!1,a);else if(E<256&&$Bt[E])i.result+=zBt[E],i.position++;else if((b=vBe(E))>0){for(w=b,v=0;w>0;w--)E=i.input.charCodeAt(++i.position),(b=mBe(E))>=0?v=(v<<4)+b:Ks(i,"expected hexadecimal character");i.result+=xBe(v),i.position++}else Ks(i,"unknown escape sequence");f=g=i.position}else r4(E)?(v8(i,f,g,!0),Wgt(i,c1(i,!1,a)),f=g=i.position):i.position===i.lineStart&&TY(i)?Ks(i,"unexpected end of the document within a double quoted scalar"):(i.position++,g=i.position)}Ks(i,"unexpected end of the stream within a double quoted scalar")}function SBe(i,a){var f=!0,g,w,v,b=i.tag,E,S=i.anchor,_,M,F,R,B,z=Object.create(null),Y,nt,ot,ft;if(ft=i.input.charCodeAt(i.position),ft===91)M=93,B=!1,E=[];else if(ft===123)M=125,B=!0,E={};else return!1;for(i.anchor!==null&&(i.anchorMap[i.anchor]=E),ft=i.input.charCodeAt(++i.position);ft!==0;){if(c1(i,!0,a),ft=i.input.charCodeAt(i.position),ft===M)return i.position++,i.tag=b,i.anchor=S,i.kind=B?"mapping":"sequence",i.result=E,!0;f?ft===44&&Ks(i,"expected the node content, but found ','"):Ks(i,"missed comma between flow collection entries"),nt=Y=ot=null,F=R=!1,ft===63&&(_=i.input.charCodeAt(i.position+1),sb(_)&&(F=R=!0,i.position++,c1(i,!0,a))),g=i.line,w=i.lineStart,v=i.position,pD(i,a,xY,!1,!0),nt=i.tag,Y=i.result,c1(i,!0,a),ft=i.input.charCodeAt(i.position),(R||i.line===g)&&ft===58&&(F=!0,ft=i.input.charCodeAt(++i.position),c1(i,!0,a),pD(i,a,xY,!1,!0),ot=i.result),B?gD(i,E,z,nt,Y,ot,g,w,v):F?E.push(gD(i,null,z,nt,Y,ot,g,w,v)):E.push(Y),c1(i,!0,a),ft=i.input.charCodeAt(i.position),ft===44?(f=!0,ft=i.input.charCodeAt(++i.position)):f=!1}Ks(i,"unexpected end of the stream within a flow collection")}function _Be(i,a){var f,g,w=Ggt,v=!1,b=!1,E=a,S=0,_=!1,M,F;if(F=i.input.charCodeAt(i.position),F===124)g=!1;else if(F===62)g=!0;else return!1;for(i.kind="scalar",i.result="";F!==0;)if(F=i.input.charCodeAt(++i.position),F===43||F===45)Ggt===w?w=F===43?PBt:gBe:Ks(i,"repeat of a chomping mode identifier");else if((M=yBe(F))>=0)M===0?Ks(i,"bad explicit indentation width of a block scalar; it cannot be less than one"):b?Ks(i,"repeat of an indentation width identifier"):(E=a+M-1,b=!0);else break;if(C9(F)){do F=i.input.charCodeAt(++i.position);while(C9(F));if(F===35)do F=i.input.charCodeAt(++i.position);while(!r4(F)&&F!==0)}for(;F!==0;){for(Kgt(i),i.lineIndent=0,F=i.input.charCodeAt(i.position);(!b||i.lineIndent<E)&&F===32;)i.lineIndent++,F=i.input.charCodeAt(++i.position);if(!b&&i.lineIndent>E&&(E=i.lineIndent),r4(F)){S++;continue}if(i.lineIndent<E){w===PBt?i.result+=tp.repeat(`
77 `,v?1+S:S),v=!0,b=!0,S=0,f=i.position;!r4(F)&&F!==0;)F=i.input.charCodeAt(++i.position);v8(i,f,i.position,!1)}return!0}function UBt(i,a){var f,g=i.tag,w=i.anchor,v=[],b,E=!1,S;if(i.firstTabInLine!==-1)return!1;for(i.anchor!==null&&(i.anchorMap[i.anchor]=v),S=i.input.charCodeAt(i.position);S!==0&&(i.firstTabInLine!==-1&&(i.position=i.firstTabInLine,Ks(i,"tab characters must not be used in indentation")),!(S!==45||(b=i.input.charCodeAt(i.position+1),!sb(b))));){if(E=!0,i.position++,c1(i,!0,-1)&&i.lineIndent<=a){v.push(null),S=i.input.charCodeAt(i.position);continue}if(f=i.line,pD(i,a,NBt,!1,!0),v.push(i.result),c1(i,!0,-1),S=i.input.charCodeAt(i.position),(i.line===f||i.lineIndent>a)&&S!==0)Ks(i,"bad indentation of a sequence entry");else if(i.lineIndent<a)break}return E?(i.tag=g,i.anchor=w,i.kind="sequence",i.result=v,!0):!1}function ABe(i,a,f){var g,w,v,b,E,S,_=i.tag,M=i.anchor,F={},R=Object.create(null),B=null,z=null,Y=null,nt=!1,ot=!1,ft;if(i.firstTabInLine!==-1)return!1;for(i.anchor!==null&&(i.anchorMap[i.anchor]=F),ft=i.input.charCodeAt(i.position);ft!==0;){if(!nt&&i.firstTabInLine!==-1&&(i.position=i.firstTabInLine,Ks(i,"tab characters must not be used in indentation")),g=i.input.charCodeAt(i.position+1),v=i.line,(ft===63||ft===58)&&sb(g))ft===63?(nt&&(gD(i,F,R,B,z,null,b,E,S),B=z=Y=null),ot=!0,nt=!0,w=!0):nt?(nt=!1,w=!0):Ks(i,"incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"),i.position+=1,ft=g;else{if(b=i.line,E=i.lineStart,S=i.position,!pD(i,f,OBt,!1,!0))break;if(i.line===v){for(ft=i.input.charCodeAt(i.position);C9(ft);)ft=i.input.charCodeAt(++i.position);if(ft===58)ft=i.input.charCodeAt(++i.position),sb(ft)||Ks(i,"a whitespace character is expected after the key-value separator within a block mapping"),nt&&(gD(i,F,R,B,z,null,b,E,S),B=z=Y=null),ot=!0,nt=!1,w=!1,B=i.tag,z=i.result;else if(ot)Ks(i,"can not read an implicit mapping pair; a colon is missed");else return i.tag=_,i.anchor=M,!0}else if(ot)Ks(i,"can not read a block mapping entry; a multiline key may not be an implicit key");else return i.tag=_,i.anchor=M,!0}if((i.line===v||i.lineIndent>a)&&(nt&&(b=i.line,E=i.lineStart,S=i.position),pD(i,a,kY,!0,w)&&(nt?z=i.result:Y=i.result),nt||(gD(i,F,R,B,z,Y,b,E,S),B=z=Y=null),c1(i,!0,-1),ft=i.input.charCodeAt(i.position)),(i.line===v||i.lineIndent>a)&&ft!==0)Ks(i,"bad indentation of a mapping entry");else if(i.lineIndent<a)break}return nt&&gD(i,F,R,B,z,null,b,E,S),ot&&(i.tag=_,i.anchor=M,i.kind="mapping",i.result=F),ot}function LBe(i){var a,f=!1,g=!1,w,v,b;if(b=i.input.charCodeAt(i.position),b!==33)return!1;if(i.tag!==null&&Ks(i,"duplication of a tag property"),b=i.input.charCodeAt(++i.position),b===60?(f=!0,b=i.input.charCodeAt(++i.position)):b===33?(g=!0,w="!!",b=i.input.charCodeAt(++i.position)):w="!",a=i.position,f){do b=i.input.charCodeAt(++i.position);while(b!==0&&b!==62);i.position<i.length?(v=i.input.slice(a,i.position),b=i.input.charCodeAt(++i.position)):Ks(i,"unexpected end of the stream within a verbatim tag")}else{for(;b!==0&&!sb(b);)b===33&&(g?Ks(i,"tag suffix cannot contain exclamation marks"):(w=i.input.slice(a-1,i.position+1),FBt.test(w)||Ks(i,"named tag handle cannot contain such characters"),g=!0,a=i.position+1)),b=i.input.charCodeAt(++i.position);v=i.input.slice(a,i.position),wBe.test(v)&&Ks(i,"tag suffix cannot contain flow indicator characters")}v&&!BBt.test(v)&&Ks(i,"tag name cannot contain such characters: "+v);try{v=decodeURIComponent(v)}catch{Ks(i,"tag name is malformed: "+v)}return f?i.tag=v:m8.call(i.tagMap,w)?i.tag=i.tagMap[w]+v:w==="!"?i.tag="!"+v:w==="!!"?i.tag="tag:yaml.org,2002:"+v:Ks(i,'undeclared tag handle "'+w+'"'),!0}function DBe(i){var a,f;if(f=i.input.charCodeAt(i.position),f!==38)return!1;for(i.anchor!==null&&Ks(i,"duplication of an anchor property"),f=i.input.charCodeAt(++i.position),a=i.position;f!==0&&!sb(f)&&!fD(f);)f=i.input.charCodeAt(++i.position);return i.position===a&&Ks(i,"name of an anchor node must contain at least one character"),i.anchor=i.input.slice(a,i.position),!0}function MBe(i){var a,f,g;if(g=i.input.charCodeAt(i.position),g!==42)return!1;for(g=i.input.charCodeAt(++i.position),a=i.position;g!==0&&!sb(g)&&!fD(g);)g=i.input.charCodeAt(++i.position);return i.position===a&&Ks(i,"name of an alias node must contain at least one character"),f=i.input.slice(a,i.position),m8.call(i.anchorMap,f)||Ks(i,'unidentified alias "'+f+'"'),i.result=i.anchorMap[f],c1(i,!0,-1),!0}function pD(i,a,f,g,w){var v,b,E,S=1,_=!1,M=!1,F,R,B,z,Y,nt;if(i.listener!==null&&i.listener("open",i),i.tag=null,i.anchor=null,i.kind=null,i.result=null,v=b=E=kY===f||NBt===f,g&&c1(i,!0,-1)&&(_=!0,i.lineIndent>a?S=1:i.lineIndent===a?S=0:i.lineIndent<a&&(S=-1)),S===1)for(;LBe(i)||DBe(i);)c1(i,!0,-1)?(_=!0,E=v,i.lineIndent>a?S=1:i.lineIndent===a?S=0:i.lineIndent<a&&(S=-1)):E=!1;if(E&&(E=_||w),(S===1||kY===f)&&(xY===f||OBt===f?Y=a:Y=a+1,nt=i.position-i.lineStart,S===1?E&&(UBt(i,nt)||ABe(i,nt,Y))||SBe(i,Y)?M=!0:(b&&_Be(i,Y)||TBe(i,Y)||CBe(i,Y)?M=!0:MBe(i)?(M=!0,(i.tag!==null||i.anchor!==null)&&Ks(i,"alias node should not have any properties")):EBe(i,Y,xY===f)&&(M=!0,i.tag===null&&(i.tag="?")),i.anchor!==null&&(i.anchorMap[i.anchor]=i.result)):S===0&&(M=E&&UBt(i,nt))),i.tag===null)i.anchor!==null&&(i.anchorMap[i.anchor]=i.result);else if(i.tag==="?"){for(i.result!==null&&i.kind!=="scalar"&&Ks(i,'unacceptable node kind for !<?> tag; it should be "scalar", not "'+i.kind+'"'),F=0,R=i.implicitTypes.length;F<R;F+=1)if(z=i.implicitTypes[F],z.resolve(i.result)){i.result=z.construct(i.result),i.tag=z.tag,i.anchor!==null&&(i.anchorMap[i.anchor]=i.result);break}}else if(i.tag!=="!"){if(m8.call(i.typeMap[i.kind||"fallback"],i.tag))z=i.typeMap[i.kind||"fallback"][i.tag];else for(z=null,B=i.typeMap.multi[i.kind||"fallback"],F=0,R=B.length;F<R;F+=1)if(i.tag.slice(0,B[F].tag.length)===B[F].tag){z=B[F];break}z||Ks(i,"unknown tag !<"+i.tag+">"),i.result!==null&&z.kind!==i.kind&&Ks(i,"unacceptable node kind for !<"+i.tag+'> tag; it should be "'+z.kind+'", not "'+i.kind+'"'),z.resolve(i.result,i.tag)?(i.result=z.construct(i.result,i.tag),i.anchor!==null&&(i.anchorMap[i.anchor]=i.result)):Ks(i,"cannot resolve a node with !<"+i.tag+"> explicit tag")}return i.listener!==null&&i.listener("close",i),i.tag!==null||i.anchor!==null||M}function IBe(i){var a=i.position,f,g,w,v=!1,b;for(i.version=null,i.checkLineBreaks=i.legacy,i.tagMap=Object.create(null),i.anchorMap=Object.create(null);(b=i.input.charCodeAt(i.position))!==0&&(c1(i,!0,-1),b=i.input.charCodeAt(i.position),!(i.lineIndent>0||b!==37));){for(v=!0,b=i.input.charCodeAt(++i.position),f=i.position;b!==0&&!sb(b);)b=i.input.charCodeAt(++i.position);for(g=i.input.slice(f,i.position),w=[],g.length<1&&Ks(i,"directive name must not be less than one character in length");b!==0;){for(;C9(b);)b=i.input.charCodeAt(++i.position);if(b===35){do b=i.input.charCodeAt(++i.position);while(b!==0&&!r4(b));break}if(r4(b))break;for(f=i.position;b!==0&&!sb(b);)b=i.input.charCodeAt(++i.position);w.push(i.input.slice(f,i.position))}b!==0&&Kgt(i),m8.call(HBt,g)?HBt[g](i,g,w):EY(i,'unknown document directive "'+g+'"')}if(c1(i,!0,-1),i.lineIndent===0&&i.input.charCodeAt(i.position)===45&&i.input.charCodeAt(i.position+1)===45&&i.input.charCodeAt(i.position+2)===45?(i.position+=3,c1(i,!0,-1)):v&&Ks(i,"directives end mark is expected"),pD(i,i.lineIndent-1,kY,!1,!0),c1(i,!0,-1),i.checkLineBreaks&&bBe.test(i.input.slice(a,i.position))&&EY(i,"non-ASCII line breaks are interpreted as content"),i.documents.push(i.result),i.position===i.lineStart&&TY(i)){i.input.charCodeAt(i.position)===46&&(i.position+=3,c1(i,!0,-1));return}if(i.position<i.length-1)Ks(i,"end of the stream or a document separator is expected");else return}function GBt(i,a){i=String(i),a=a||{},i.length!==0&&(i.charCodeAt(i.length-1)!==10&&i.charCodeAt(i.length-1)!==13&&(i+=`