`;return o.replace(/\n$/,"")}var Hd=Gd,Wd=["kind","multi","resolve","construct","instanceOf","predicate","represent","representName","defaultStyle","styleAliases"],Xd=["scalar","sequence","mapping"];function Kd(c){var x={};return c!==null&&Object.keys(c).forEach(function(T){c[T].forEach(function(k){x[String(k)]=T})}),x}function Yd(c,x){if(x=x||{},Object.keys(x).forEach(function(T){if(Wd.indexOf(T)===-1)throw new Gi('Unknown option "'+T+'" is met in definition of "'+c+'" YAML type.')}),this.options=x,this.tag=c,this.kind=x.kind||null,this.resolve=x.resolve||function(){return!0},this.construct=x.construct||function(T){return T},this.instanceOf=x.instanceOf||null,this.predicate=x.predicate||null,this.represent=x.represent||null,this.representName=x.representName||null,this.defaultStyle=x.defaultStyle||null,this.multi=x.multi||!1,this.styleAliases=Kd(x.styleAliases||null),Xd.indexOf(this.kind)===-1)throw new Gi('Unknown kind "'+this.kind+'" is specified for "'+c+'" YAML type.')}var Ii=Yd;function Ru(c,x){var T=[];return c[x].forEach(function(k){var P=T.length;T.forEach(function(B,O){B.tag===k.tag&&B.kind===k.kind&&B.multi===k.multi&&(P=O)}),T[P]=k}),T}function Jd(){var c={scalar:{},sequence:{},mapping:{},fallback:{},multi:{scalar:[],sequence:[],mapping:[],fallback:[]}},x,T;function k(P){P.multi?(c.multi[P.kind].push(P),c.multi.fallback.push(P)):c[P.kind][P.tag]=c.fallback[P.tag]=P}for(x=0,T=arguments.length;x<T;x+=1)arguments[x].forEach(k);return c}function cc(c){return this.extend(c)}cc.prototype.extend=function(x){var T=[],k=[];if(x instanceof Ii)k.push(x);else if(Array.isArray(x))k=k.concat(x);else if(x&&(Array.isArray(x.implicit)||Array.isArray(x.explicit)))x.implicit&&(T=T.concat(x.implicit)),x.explicit&&(k=k.concat(x.explicit));else throw new Gi("Schema.extend argument should be a Type, [ Type ], or a schema definition ({ implicit: [...], explicit: [...] })");T.forEach(function(B){if(!(B instanceof Ii))throw new Gi("Specified list of YAML types (or a single Type object) contains a non-Type object.");if(B.loadKind&&B.loadKind!=="scalar")throw new Gi("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.");if(B.multi)throw new Gi("There is a multi type in the implicit list of a schema. Multi tags can only be listed as explicit.")}),k.forEach(function(B){if(!(B instanceof Ii))throw new Gi("Specified list of YAML types (or a single Type object) contains a non-Type object.")});var P=Object.create(cc.prototype);return P.implicit=(this.implicit||[]).concat(T),P.explicit=(this.explicit||[]).concat(k),P.compiledImplicit=Ru(P,"implicit"),P.compiledExplicit=Ru(P,"explicit"),P.compiledTypeMap=Jd(P.compiledImplicit,P.compiledExplicit),P};var Fu=cc,Bu=new Ii("tag:yaml.org,2002:str",{kind:"scalar",construct:function(c){return c!==null?c:""}}),Ou=new Ii("tag:yaml.org,2002:seq",{kind:"sequence",construct:function(c){return c!==null?c:[]}}),Nu=new Ii("tag:yaml.org,2002:map",{kind:"mapping",construct:function(c){return c!==null?c:{}}}),Vu=new Fu({explicit:[Bu,Ou,Nu]});function Qd(c){if(c===null)return!0;var x=c.length;return x===1&&c==="~"||x===4&&(c==="null"||c==="Null"||c==="NULL")}function ef(){return null}function tf(c){return c===null}var Uu=new Ii("tag:yaml.org,2002:null",{kind:"scalar",resolve:Qd,construct:ef,predicate:tf,represent:{canonical:function(){return"~"},lowercase:function(){return"null"},uppercase:function(){return"NULL"},camelcase:function(){return"Null"},empty:function(){return""}},defaultStyle:"lowercase"});function rf(c){if(c===null)return!1;var x=c.length;return x===4&&(c==="true"||c==="True"||c==="TRUE")||x===5&&(c==="false"||c==="False"||c==="FALSE")}function nf(c){return c==="true"||c==="True"||c==="TRUE"}function af(c){return Object.prototype.toString.call(c)==="[object Boolean]"}var $u=new Ii("tag:yaml.org,2002:bool",{kind:"scalar",resolve:rf,construct:nf,predicate:af,represent:{lowercase:function(c){return c?"true":"false"},uppercase:function(c){return c?"TRUE":"FALSE"},camelcase:function(c){return c?"True":"False"}},defaultStyle:"lowercase"});functio
`:c===118?"\v":c===102?"\f":c===114?"\r":c===101?"\x1B":c===32?" ":c===34?'"':c===47?"/":c===92?"\\":c===78?"":c===95?"":c===76?"\u2028":c===80?"\u2029":""}function jf(c){return c<=65535?String.fromCharCode(c):String.fromCharCode((c-65536>>10)+55296,(c-65536&1023)+56320)}function lh(c,x,T){x==="__proto__"?Object.defineProperty(c,x,{configurable:!0,enumerable:!0,writable:!0,value:T}):c[x]=T}for(var ch=new Array(256),uh=new Array(256),Oa=0;Oa<256;Oa++)ch[Oa]=oh(Oa)?1:0,uh[Oa]=oh(Oa);function qf(c,x){this.input=c,this.filename=x.filename||null,this.schema=x.schema||hc,this.onWarning=x.onWarning||null,this.legacy=x.legacy||!1,this.json=x.json||!1,this.listener=x.listener||null,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=c.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.firstTabInLine=-1,this.documents=[]}function hh(c,x){var T={name:c.filename,buffer:c.input.slice(0,-1),position:c.position,line:c.line,column:c.position-c.lineStart};return T.snippet=Hd(T),new Gi(x,T)}function Qe(c,x){throw hh(c,x)}function Zo(c,x){c.onWarning&&c.onWarning.call(null,hh(c,x))}var ph={YAML:function(x,T,k){var P,B,O;x.version!==null&&Qe(x,"duplication of %YAML directive"),k.length!==1&&Qe(x,"YAML directive accepts exactly one argument"),P=/^([0-9]+)\.([0-9]+)$/.exec(k[0]),P===null&&Qe(x,"ill-formed argument of the YAML directive"),B=parseInt(P[1],10),O=parseInt(P[2],10),B!==1&&Qe(x,"unacceptable YAML version of the document"),x.version=k[0],x.checkLineBreaks=O<2,O!==1&&O!==2&&Zo(x,"unsupported YAML version of the document")},TAG:function(x,T,k){var P,B;k.length!==2&&Qe(x,"TAG directive accepts exactly two arguments"),P=k[0],B=k[1],nh.test(P)||Qe(x,"ill-formed tag handle (first argument) of the TAG directive"),On.call(x.tagMap,P)&&Qe(x,'there is a previously declared suffix for "'+P+'" tag handle'),ah.test(B)||Qe(x,"ill-formed tag prefix (second argument) of the TAG directive");try{B=decodeURIComponent(B)}catch{Qe(x,"tag prefix is malformed: "+B)}x.tagMap[P]=B}};function Nn(c,x,T,k){var P,B,O,o;if(x<T){if(o=c.input.slice(x,T),k)for(P=0,B=o.length;P<B;P+=1)O=o.charCodeAt(P),O===9||32<=O&&O<=1114111||Qe(c,"expected valid JSON character");else Bf.test(o)&&Qe(c,"the stream contains non-printable characters");c.result+=o}}function dh(c,x,T,k){var P,B,O,o;for(di.isObject(T)||Qe(c,"cannot merge mappings; the provided source object is unacceptable"),P=Object.keys(T),O=0,o=P.length;O<o;O+=1)B=P[O],On.call(x,B)||(lh(x,B,T[B]),k[B]=!0)}function Na(c,x,T,k,P,B,O,o,ie){var Z,ve;if(Array.isArray(P))for(P=Array.prototype.slice.call(P),Z=0,ve=P.length;Z<ve;Z+=1)Array.isArray(P[Z])&&Qe(c,"nested arrays are not supported inside keys"),typeof P=="object"&&sh(P[Z])==="[object Object]"&&(P[Z]="[object Object]");if(typeof P=="object"&&sh(P)==="[object Object]"&&(P="[object Object]"),P=String(P),x===null&&(x={}),k==="tag:yaml.org,2002:merge")if(Array.isArray(B))for(Z=0,ve=B.length;Z<ve;Z+=1)dh(c,x,B[Z],T);else dh(c,x,B,T);else!c.json&&!On.call(T,P)&&On.call(x,P)&&(c.line=O||c.line,c.lineStart=o||c.lineStart,c.position=ie||c.position,Qe(c,"duplicated mapping key")),lh(x,P,B),delete T[P];return x}function dc(c){var x;x=c.input.charCodeAt(c.position),x===10?c.position++:x===13?(c.position++,c.input.charCodeAt(c.position)===10&&c.position++):Qe(c,"a line break is expected"),c.line+=1,c.lineStart=c.position,c.firstTabInLine=-1}function ui(c,x,T){for(var k=0,P=c.input.charCodeAt(c.position);P!==0;){for(;da(P);)P===9&&c.firstTabInLine===-1&&(c.firstTabInLine=c.position),P=c.input.charCodeAt(++c.position);if(x&&P===35)do P=c.input.charCodeAt(++c.position);while(P!==10&&P!==13&&P!==0);if(Kr(P))for(dc(c),P=c.input.charCodeAt(c.position),k++,c.lineIndent=0;P===32;)c.lineIndent++,P=c.input.charCodeAt(++c.position);else break}return T!==-1&&k!==0&&c.lineIndent<T&&Zo(c,"deficient indentation"),k}function Go(c){var x=c.position,T;return T=c.input.charCodeAt(x),!!((T===45||T===46)&&T===c.input.charCodeAt(x+1)&&T===c.input.charCodeAt(x+2)&&(x+=3,T=c.input.charCodeAt(x),T===0||nr(T)))}function fc(c,x
`,x-1))}function Zf(c,x,T){var k,P,B,O,o,ie,Z,ve,de=c.kind,ge=c.result,Ue;if(Ue=c.input.charCodeAt(c.position),nr(Ue)||Ba(Ue)||Ue===35||Ue===38||Ue===42||Ue===33||Ue===124||Ue===62||Ue===39||Ue===34||Ue===37||Ue===64||Ue===96||(Ue===63||Ue===45)&&(P=c.input.charCodeAt(c.position+1),nr(P)||T&&Ba(P)))return!1;for(c.kind="scalar",c.result="",B=O=c.position,o=!1;Ue!==0;){if(Ue===58){if(P=c.input.charCodeAt(c.position+1),nr(P)||T&&Ba(P))break}else if(Ue===35){if(k=c.input.charCodeAt(c.position-1),nr(k))break}else{if(c.position===c.lineStart&&Go(c)||T&&Ba(Ue))break;if(Kr(Ue))if(ie=c.line,Z=c.lineStart,ve=c.lineIndent,ui(c,!1,-1),c.lineIndent>=x){o=!0,Ue=c.input.charCodeAt(c.position);continue}else{c.position=O,c.line=ie,c.lineStart=Z,c.lineIndent=ve;break}}o&&(Nn(c,B,O,!1),fc(c,c.line-ie),B=O=c.position,o=!1),da(Ue)||(O=c.position+1),Ue=c.input.charCodeAt(++c.position)}return Nn(c,B,O,!1),c.result?!0:(c.kind=de,c.result=ge,!1)}function Gf(c,x){var T,k,P;if(T=c.input.charCodeAt(c.position),T!==39)return!1;for(c.kind="scalar",c.result="",c.position++,k=P=c.position;(T=c.input.charCodeAt(c.position))!==0;)if(T===39)if(Nn(c,k,c.position,!0),T=c.input.charCodeAt(++c.position),T===39)k=c.position,c.position++,P=c.position;else return!0;else Kr(T)?(Nn(c,k,P,!0),fc(c,ui(c,!1,x)),k=P=c.position):c.position===c.lineStart&&Go(c)?Qe(c,"unexpected end of the document within a single quoted scalar"):(c.position++,P=c.position);Qe(c,"unexpected end of the stream within a single quoted scalar")}function Hf(c,x){var T,k,P,B,O,o;if(o=c.input.charCodeAt(c.position),o!==34)return!1;for(c.kind="scalar",c.result="",c.position++,T=k=c.position;(o=c.input.charCodeAt(c.position))!==0;){if(o===34)return Nn(c,T,c.position,!0),c.position++,!0;if(o===92){if(Nn(c,T,c.position,!0),o=c.input.charCodeAt(++c.position),Kr(o))ui(c,!1,x);else if(o<256&&ch[o])c.result+=uh[o],c.position++;else if((O=Uf(o))>0){for(P=O,B=0;P>0;P--)o=c.input.charCodeAt(++c.position),(O=Vf(o))>=0?B=(B<<4)+O:Qe(c,"expected hexadecimal character");c.result+=jf(B),c.position++}else Qe(c,"unknown escape sequence");T=k=c.position}else Kr(o)?(Nn(c,T,k,!0),fc(c,ui(c,!1,x)),T=k=c.position):c.position===c.lineStart&&Go(c)?Qe(c,"unexpected end of the document within a double quoted scalar"):(c.position++,k=c.position)}Qe(c,"unexpected end of the stream within a double quoted scalar")}function Wf(c,x){var T=!0,k,P,B,O=c.tag,o,ie=c.anchor,Z,ve,de,ge,Ue,rt=Object.create(null),Te,Be,qe,Ge;if(Ge=c.input.charCodeAt(c.position),Ge===91)ve=93,Ue=!1,o=[];else if(Ge===123)ve=125,Ue=!0,o={};else return!1;for(c.anchor!==null&&(c.anchorMap[c.anchor]=o),Ge=c.input.charCodeAt(++c.position);Ge!==0;){if(ui(c,!0,x),Ge=c.input.charCodeAt(c.position),Ge===ve)return c.position++,c.tag=O,c.anchor=ie,c.kind=Ue?"mapping":"sequence",c.result=o,!0;T?Ge===44&&Qe(c,"expected the node content, but found ','"):Qe(c,"missed comma between flow collection entries"),Be=Te=qe=null,de=ge=!1,Ge===63&&(Z=c.input.charCodeAt(c.position+1),nr(Z)&&(de=ge=!0,c.position++,ui(c,!0,x))),k=c.line,P=c.lineStart,B=c.position,Va(c,x,jo,!1,!0),Be=c.tag,Te=c.result,ui(c,!0,x),Ge=c.input.charCodeAt(c.position),(ge||c.line===k)&&Ge===58&&(de=!0,Ge=c.input.charCodeAt(++c.position),ui(c,!0,x),Va(c,x,jo,!1,!0),qe=c.result),Ue?Na(c,o,rt,Be,Te,qe,k,P,B):de?o.push(Na(c,null,rt,Be,Te,qe,k,P,B)):o.push(Te),ui(c,!0,x),Ge=c.input.charCodeAt(c.position),Ge===44?(T=!0,Ge=c.input.charCodeAt(++c.position)):T=!1}Qe(c,"unexpected end of the stream within a flow collection")}function Xf(c,x){var T,k,P=pc,B=!1,O=!1,o=x,ie=0,Z=!1,ve,de;if(de=c.input.charCodeAt(c.position),de===124)k=!1;else if(de===62)k=!0;else return!1;for(c.kind="scalar",c.result="";de!==0;)if(de=c.input.charCodeAt(++c.position),de===43||de===45)pc===P?P=de===43?rh:Ff:Qe(c,"repeat of a chomping mode identifier");else if((ve=$f(de))>=0)ve===0?Qe(c,"bad explicit indentation width of a block scalar; it cannot be less than one"):O?Qe(c,"repeat of an indentation width identifier"):(o=x+ve-1,O=!0);else break;if(da(de)){do de=c.input.charCodeAt(++c.position);while(da(de));if(de===35)do de=c.input.charCod
`,B?1+ie:ie),B=!0,O=!0,ie=0,T=c.position;!Kr(de)&&de!==0;)de=c.input.charCodeAt(++c.position);Nn(c,T,c.position,!1)}return!0}function fh(c,x){var T,k=c.tag,P=c.anchor,B=[],O,o=!1,ie;if(c.firstTabInLine!==-1)return!1;for(c.anchor!==null&&(c.anchorMap[c.anchor]=B),ie=c.input.charCodeAt(c.position);ie!==0&&(c.firstTabInLine!==-1&&(c.position=c.firstTabInLine,Qe(c,"tab characters must not be used in indentation")),!(ie!==45||(O=c.input.charCodeAt(c.position+1),!nr(O))));){if(o=!0,c.position++,ui(c,!0,-1)&&c.lineIndent<=x){B.push(null),ie=c.input.charCodeAt(c.position);continue}if(T=c.line,Va(c,x,ih,!1,!0),B.push(c.result),ui(c,!0,-1),ie=c.input.charCodeAt(c.position),(c.line===T||c.lineIndent>x)&&ie!==0)Qe(c,"bad indentation of a sequence entry");else if(c.lineIndent<x)break}return o?(c.tag=k,c.anchor=P,c.kind="sequence",c.result=B,!0):!1}function Kf(c,x,T){var k,P,B,O,o,ie,Z=c.tag,ve=c.anchor,de={},ge=Object.create(null),Ue=null,rt=null,Te=null,Be=!1,qe=!1,Ge;if(c.firstTabInLine!==-1)return!1;for(c.anchor!==null&&(c.anchorMap[c.anchor]=de),Ge=c.input.charCodeAt(c.position);Ge!==0;){if(!Be&&c.firstTabInLine!==-1&&(c.position=c.firstTabInLine,Qe(c,"tab characters must not be used in indentation")),k=c.input.charCodeAt(c.position+1),B=c.line,(Ge===63||Ge===58)&&nr(k))Ge===63?(Be&&(Na(c,de,ge,Ue,rt,null,O,o,ie),Ue=rt=Te=null),qe=!0,Be=!0,P=!0):Be?(Be=!1,P=!0):Qe(c,"incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"),c.position+=1,Ge=k;else{if(O=c.line,o=c.lineStart,ie=c.position,!Va(c,T,th,!1,!0))break;if(c.line===B){for(Ge=c.input.charCodeAt(c.position);da(Ge);)Ge=c.input.charCodeAt(++c.position);if(Ge===58)Ge=c.input.charCodeAt(++c.position),nr(Ge)||Qe(c,"a whitespace character is expected after the key-value separator within a block mapping"),Be&&(Na(c,de,ge,Ue,rt,null,O,o,ie),Ue=rt=Te=null),qe=!0,Be=!1,P=!1,Ue=c.tag,rt=c.result;else if(qe)Qe(c,"can not read an implicit mapping pair; a colon is missed");else return c.tag=Z,c.anchor=ve,!0}else if(qe)Qe(c,"can not read a block mapping entry; a multiline key may not be an implicit key");else return c.tag=Z,c.anchor=ve,!0}if((c.line===B||c.lineIndent>x)&&(Be&&(O=c.line,o=c.lineStart,ie=c.position),Va(c,x,qo,!0,P)&&(Be?rt=c.result:Te=c.result),Be||(Na(c,de,ge,Ue,rt,Te,O,o,ie),Ue=rt=Te=null),ui(c,!0,-1),Ge=c.input.charCodeAt(c.position)),(c.line===B||c.lineIndent>x)&&Ge!==0)Qe(c,"bad indentation of a mapping entry");else if(c.lineIndent<x)break}return Be&&Na(c,de,ge,Ue,rt,null,O,o,ie),qe&&(c.tag=Z,c.anchor=ve,c.kind="mapping",c.result=de),qe}function Yf(c){var x,T=!1,k=!1,P,B,O;if(O=c.input.charCodeAt(c.position),O!==33)return!1;if(c.tag!==null&&Qe(c,"duplication of a tag property"),O=c.input.charCodeAt(++c.position),O===60?(T=!0,O=c.input.charCodeAt(++c.position)):O===33?(k=!0,P="!!",O=c.input.charCodeAt(++c.position)):P="!",x=c.position,T){do O=c.input.charCodeAt(++c.position);while(O!==0&&O!==62);c.position<c.length?(B=c.input.slice(x,c.position),O=c.input.charCodeAt(++c.position)):Qe(c,"unexpected end of the stream within a verbatim tag")}else{for(;O!==0&&!nr(O);)O===33&&(k?Qe(c,"tag suffix cannot contain exclamation marks"):(P=c.input.slice(x-1,c.position+1),nh.test(P)||Qe(c,"named tag handle cannot contain such characters"),k=!0,x=c.position+1)),O=c.input.charCodeAt(++c.position);B=c.input.slice(x,c.position),Nf.test(B)&&Qe(c,"tag suffix cannot contain flow indicator characters")}B&&!ah.test(B)&&Qe(c,"tag name cannot contain such characters: "+B);try{B=decodeURIComponent(B)}catch{Qe(c,"tag name is malformed: "+B)}return T?c.tag=B:On.call(c.tagMap,P)?c.tag=c.tagMap[P]+B:P==="!"?c.tag="!"+B:P==="!!"?c.tag="tag:yaml.org,2002:"+B:Qe(c,'undeclared tag handle "'+P+'"'),!0}function Jf(c){var x,T;if(T=c.input.charCodeAt(c.position),T!==38)return!1;for(c.anchor!==null&&Qe(c,"duplication of an anchor property"),T=c.input.charCodeAt(++c.position),x=c.position;T!==0&&!nr(T)&&!Ba(T);)T=c.input.charCodeAt(++c.position);return c.position===x&&Qe(c,"name of an anchor node must contain at least one character"),c.anchor=c.input.slice(x,c.positi
`),c.charCodeAt(0)===65279&&(c=c.slice(1)));var T=new qf(c,x),k=c.indexOf("\0");for(k!==-1&&(T.position=k,Qe(T,"null byte is not allowed in input")),T.input+="\0";T.input.charCodeAt(T.position)===32;)T.lineIndent+=1,T.position+=1;for(;T.position<T.length-1;)em(T);return T.documents}function tm(c,x,T){x!==null&&typeof x=="object"&&typeof T>"u"&&(T=x,x=null);var k=mh(c,T);if(typeof x!="function")return k;for(var P=0,B=k.length;P<B;P+=1)x(k[P])}function im(c,x){var T=mh(c,x);if(T.length!==0){if(T.length===1)return T[0];throw new Gi("expected a single document in the stream, but found more")}}var rm=tm,nm=im,gh={loadAll:rm,load:nm},_h=Object.prototype.toString,yh=Object.prototype.hasOwnProperty,mc=65279,am=9,Ps=10,sm=13,om=32,lm=33,cm=34,gc=35,um=37,hm=38,pm=39,dm=42,xh=44,fm=45,Ho=58,mm=61,gm=62,_m=63,ym=64,vh=91,bh=93,xm=96,wh=123,vm=124,Sh=125,Li={};Li[0]="\\0",Li[7]="\\a",Li[8]="\\b",Li[9]="\\t",Li[10]="\\n",Li[11]="\\v",Li[12]="\\f",Li[13]="\\r",Li[27]="\\e",Li[34]='\\"',Li[92]="\\\\",Li[133]="\\N",Li[160]="\\_",Li[8232]="\\L",Li[8233]="\\P";var bm=["y","Y","yes","Yes","YES","on","On","ON","n","N","no","No","NO","off","Off","OFF"],wm=/^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;function Sm(c,x){var T,k,P,B,O,o,ie;if(x===null)return{};for(T={},k=Object.keys(x),P=0,B=k.length;P<B;P+=1)O=k[P],o=String(x[O]),O.slice(0,2)==="!!"&&(O="tag:yaml.org,2002:"+O.slice(2)),ie=c.compiledTypeMap.fallback[O],ie&&yh.call(ie.styleAliases,o)&&(o=ie.styleAliases[o]),T[O]=o;return T}function Tm(c){var x,T,k;if(x=c.toString(16).toUpperCase(),c<=255)T="x",k=2;else if(c<=65535)T="u",k=4;else if(c<=4294967295)T="U",k=8;else throw new Gi("code point within a string may not be greater than 0xFFFFFFFF");return"\\"+T+di.repeat("0",k-x.length)+x}var Im=1,zs=2;function Am(c){this.schema=c.schema||hc,this.indent=Math.max(1,c.indent||2),this.noArrayIndent=c.noArrayIndent||!1,this.skipInvalid=c.skipInvalid||!1,this.flowLevel=di.isNothing(c.flowLevel)?-1:c.flowLevel,this.styleMap=Sm(this.schema,c.styles||null),this.sortKeys=c.sortKeys||!1,this.lineWidth=c.lineWidth||80,this.noRefs=c.noRefs||!1,this.noCompatMode=c.noCompatMode||!1,this.condenseFlow=c.condenseFlow||!1,this.quotingType=c.quotingType==='"'?zs:Im,this.forceQuotes=c.forceQuotes||!1,this.replacer=typeof c.replacer=="function"?c.replacer:null,this.implicitTypes=this.schema.compiledImplicit,this.explicitTypes=this.schema.compiledExplicit,this.tag=null,this.result="",this.duplicates=[],this.usedDuplicates=null}function Th(c,x){for(var T=di.repeat(" ",x),k=0,P=-1,B="",O,o=c.length;k<o;)P=c.indexOf(`
`+c.slice(O+1):ie+=c.slice(P),ie.slice(1)}function Dm(c){for(var x="",T=0,k,P=0;P<c.length;T>=65536?P+=2:P++)T=Ls(c,P),k=Li[T],!k&&Ds(T)?(x+=c[P],T>=65536&&(x+=c[P+1])):x+=k||Tm(T);return x}function Lm(c,x,T){var k="",P=c.tag,B,O,o;for(B=0,O=T.length;B<O;B+=1)o=T[B],c.replacer&&(o=c.replacer.call(T,String(B),o)),(mn(c,x,o,!1,!1)||typeof o>"u"&&mn(c,x,null,!1,!1))&&(k!==""&&(k+=","+(c.condenseFlow?"":" ")),k+=c.dump);c.tag=P,c.dump="["+k+"]"}function Lh(c,x,T,k){var P="",B=c.tag,O,o,ie;for(O=0,o=T.length;O<o;O+=1)ie=T[O],c.replacer&&(ie=c.replacer.call(T,String(O),ie)),(mn(c,x+1,ie,!0,!0,!1,!0)||typeof ie>"u"&&mn(c,x+1,null,!0,!0,!1,!0))&&((!k||P!=="")&&(P+=_c(c,x)),c.dump&&Ps===c.dump.charCodeAt(0)?P+="-":P+="- ",P+=c.dump);c.tag=B,c.dump=P||"[]"}function Rm(c,x,T){var k="",P=c.tag,B=Object.keys(T),O,o,ie,Z,ve;for(O=0,o=B.length;O<o;O+=1)ve="",k!==""&&(ve+=", "),c.condenseFlow&&(ve+='"'),ie=B[O],Z=T[ie],c.replacer&&(Z=c.replacer.call(T,ie,Z)),mn(c,x,ie,!1,!1)&&(c.dump.length>1024&&(ve+="? "),ve+=c.dump+(c.condenseFlow?'"':"")+":"+(c.condenseFlow?"":" "),mn(c,x,Z,!1,!1)&&(ve+=c.dump,k+=ve));c.tag=P,c.dump="{"+k+"}"}function Fm(c,x,T,k){var P="",B=c.tag,O=Object.keys(T),o,ie,Z,ve,de,ge;if(c.sortKeys===!0)O.sort();else if(typeof c.sortKeys=="function")O.sort(c.sortKeys);else if(c.sortKeys)throw new Gi("sortKeys must be a boolean or a function");for(o=0,ie=O.length;o<ie;o+=1)ge="",(!k||P!=="")&&(ge+=_c(c,x)),Z=O[o],ve=T[Z],c.replacer&&(ve=c.replacer.call(T,Z,ve)),mn(c,x+1,Z,!0,!0,!0)&&(de=c.tag!==null&&c.tag!=="?"||c.dump&&c.dump.length>1024,de&&(c.dump&&Ps===c.dump.charCodeAt(0)?ge+="?":ge+="? "),ge+=c.dump,de&&(ge+=_c(c,x)),mn(c,x+1,ve,!0,de)&&(c.dump&&Ps===c.dump.charCodeAt(0)?ge+=":":ge+=": ",ge+=c.dump,P+=ge));c.tag=B,c.dump=P||"{}"}function Rh(c,x,T){var k,P,B,O,o,ie;for(P=T?c.explicitTypes:c.implicitTypes,B=0,O=P.length;B<O;B+=1)if(o=P[B],(o.instanceOf||o.predicate)&&(!o.instanceOf||typeof x=="object"&&x instanceof o.instanceOf)&&(!o.predicate||o.predicate(x))){if(T?o.multi&&o.representName?c.tag=o.representName(x):c.tag=o.tag:c.tag="?",o.represent){if(ie=c.styleMap[o.tag]||o.defaultStyle,_h.call(o.represent)==="[object Function]")k=o.represent(x,ie);else if(yh.call(o.represent,ie))k=o.represent[ie](x,ie);else throw new Gi("!<"+o.tag+'> tag resolver accepts not "'+ie+'" style');c.dump=k}return!0}return!1}function mn(c,x,T,k,P,B,O){c.tag=null,c.dump=T,Rh(c,T,!1)||Rh(c,T,!0);var o=_h.call(c.dump),ie=k,Z;k&&(k=c.flowLevel<0||c.flowLevel>x);var ve=o==="[object Object]"||o==="[object Array]",de,ge;if(ve&&(de=c.duplicates.indexOf(T),ge=de!==-1),(c.tag!==null&&c.tag!=="?"||ge||c.indent!==2&&x>0)&&(P=!1),ge&&c.usedDuplicates[de])c.dump="*ref_"+de;else{if(ve&&ge&&!c.usedDuplicates[de]&&(c.usedDuplicates[de]=!0),o==="[object Object]")k&&Object.keys(c.dump).length!==0?(Fm(c,x,c.dump,P),ge&&(c.dump="&ref_"+de+c.dump)):(Rm(c,x,c.dump),ge&&(c.dump="&ref_"+de+" "+c.dump));else if(o==="[object Array]")k&&c.dump.length!==0?(c.noArrayIndent&&!O&&x>0?Lh(c,x-1,c.dump,P):Lh(c,x,c.dump,P),ge&&(c.dump="&ref_"+de+c.dump)):(Lm(c,x,c.dump),ge&&(c.dump="&ref_"+de+" "+c.dump));else if(o==="[object String]")c.tag!=="?"&&Pm(c,c.dump,x,B,ie);else{if(o==="[object Undefined]")return!1;if(c.skipInvalid)return!1;throw new Gi("unacceptable kind of an object to dump "+o)}c.tag!==null&&c.tag!=="?"&&(Z=encodeURI(c.tag[0]==="!"?c.tag.slice(1):c.tag).replace(/!/g,"%21"),c.tag[0]==="!"?Z="!"+Z:Z.slice(0,18)==="tag:yaml.org,2002:"?Z="!!"+Z.slice(18):Z="!<"+Z+">",c.dump=Z+" "+c.dump)}return!0}function Bm(c,x){var T=[],k=[],P,B;for(xc(c,T,k),P=0,B=k.length;P<B;P+=1)x.duplicates.push(T[k[P]]);x.usedDuplicates=new Array(B)}function xc(c,x,T){var k,P,B;if(c!==null&&typeof c=="object")if(P=x.indexOf(c),P!==-1)T.indexOf(P)===-1&&T.push(P);else if(x.push(c),Array.isArray(c))for(P=0,B=c.length;P<B;P+=1)xc(c[P],x,T);else for(k=Object.keys(c),P=0,B=k.length;P<B;P+=1)xc(c[k[P]],x,T)}function Om(c,x){x=x||{};var T=new Am(x);T.noRefs||Bm(c,T);var k=c;return T.replacer&&(k=T.replacer.call({"":k},"",k)),mn(T,0,k,!0,!0)?T.dump+`
`:""}var Nm=Om,Vm={dump:Nm};function vc(c,x){return function(){throw new Error("Function yaml."+c+" is removed in js-yaml 4. Use yaml."+x+" instead, which is now safe by default.")}}var Um=Ii,$m=Fu,jm=Vu,qm=Zu,Zm=Gu,Gm=hc,Hm=gh.load,Wm=gh.loadAll,Xm=Vm.dump,Km=Gi,Ym={binary:Yu,float:qu,map:Nu,null:Uu,pairs:Qu,set:eh,timestamp:Xu,bool:$u,int:ju,merge:Ku,omap:Ju,seq:Ou,str:Bu},Jm=vc("safeLoad","load"),Qm=vc("safeLoadAll","loadAll"),eg=vc("safeDump","dump"),bc={Type:Um,Schema:$m,FAILSAFE_SCHEMA:jm,JSON_SCHEMA:qm,CORE_SCHEMA:Zm,DEFAULT_SCHEMA:Gm,load:Hm,loadAll:Wm,dump:Xm,YAMLException:Km,types:Ym,safeLoad:Jm,safeLoadAll:Qm,safeDump:eg};function tg(c){return c&&c.__esModule&&Object.prototype.hasOwnProperty.call(c,"default")?c.default:c}var Xo={exports:{}},ig=Xo.exports,Fh;function rg(){return Fh||(Fh=1,(function(c,x){(function(T,k){c.exports=k()})(ig,(function(){var T,k,P;function B(o,ie){if(!T)T=ie;else if(!k)k=ie;else{var Z="var sharedChunk = {}; ("+T+")(sharedChunk); ("+k+")(sharedChunk);",ve={};T(ve),P=ie(ve),typeof window<"u"&&(P.workerUrl=window.URL.createObjectURL(new Blob([Z],{type:"text/javascript"})))}}B(["exports"],(function(o){function ie(i,e,r,a){return new(r||(r=Promise))((function(l,d){function f(b){try{y(a.next(b))}catch(S){d(S)}}function m(b){try{y(a.throw(b))}catch(S){d(S)}}function y(b){var S;b.done?l(b.value):(S=b.value,S instanceof r?S:new r((function(C){C(S)}))).then(f,m)}y((a=a.apply(i,e||[])).next())}))}function Z(i){return i&&i.__esModule&&Object.prototype.hasOwnProperty.call(i,"default")?i.default:i}typeof SuppressedError=="function"&&SuppressedError;var ve=de;function de(i,e){this.x=i,this.y=e}de.prototype={clone:function(){return new de(this.x,this.y)},add:function(i){return this.clone()._add(i)},sub:function(i){return this.clone()._sub(i)},multByPoint:function(i){return this.clone()._multByPoint(i)},divByPoint:function(i){return this.clone()._divByPoint(i)},mult:function(i){return this.clone()._mult(i)},div:function(i){return this.clone()._div(i)},rotate:function(i){return this.clone()._rotate(i)},rotateAround:function(i,e){return this.clone()._rotateAround(i,e)},matMult:function(i){return this.clone()._matMult(i)},unit:function(){return this.clone()._unit()},perp:function(){return this.clone()._perp()},round:function(){return this.clone()._round()},mag:function(){return Math.sqrt(this.x*this.x+this.y*this.y)},equals:function(i){return this.x===i.x&&this.y===i.y},dist:function(i){return Math.sqrt(this.distSqr(i))},distSqr:function(i){var e=i.x-this.x,r=i.y-this.y;return e*e+r*r},angle:function(){return Math.atan2(this.y,this.x)},angleTo:function(i){return Math.atan2(this.y-i.y,this.x-i.x)},angleWith:function(i){return this.angleWithSep(i.x,i.y)},angleWithSep:function(i,e){return Math.atan2(this.x*e-this.y*i,this.x*i+this.y*e)},_matMult:function(i){var e=i[2]*this.x+i[3]*this.y;return this.x=i[0]*this.x+i[1]*this.y,this.y=e,this},_add:function(i){return this.x+=i.x,this.y+=i.y,this},_sub:function(i){return this.x-=i.x,this.y-=i.y,this},_mult:function(i){return this.x*=i,this.y*=i,this},_div:function(i){return this.x/=i,this.y/=i,this},_multByPoint:function(i){return this.x*=i.x,this.y*=i.y,this},_divByPoint:function(i){return this.x/=i.x,this.y/=i.y,this},_unit:function(){return this._div(this.mag()),this},_perp:function(){var i=this.y;return this.y=this.x,this.x=-i,this},_rotate:function(i){var e=Math.cos(i),r=Math.sin(i),a=r*this.x+e*this.y;return this.x=e*this.x-r*this.y,this.y=a,this},_rotateAround:function(i,e){var r=Math.cos(i),a=Math.sin(i),l=e.y+a*(this.x-e.x)+r*(this.y-e.y);return this.x=e.x+r*(this.x-e.x)-a*(this.y-e.y),this.y=l,this},_round:function(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this}},de.convert=function(i){return i instanceof de?i:Array.isArray(i)?new de(i[0],i[1]):i};var ge=Z(ve),Ue=rt;function rt(i,e,r,a){this.cx=3*i,this.bx=3*(r-i)-this.cx,this.ax=1-this.cx-this.bx,this.cy=3*e,this.by=3*(a-e)-this.cy,this.ay=1-this.cy-this.by,this.p1x=i,this.p1y=e,this.p2x=r,this.p2y=a}rt.prototype={sampleCurveX:function(i){return((this.ax*i+this.bx)*i+this.cx)*i},sa
Useanidentitypropertyfunctioninstead:\`{ "type": "identity", "property": ${JSON.stringify(C[1])} }\`.`)];constM=[];returni.layerType==="symbol"&&(m==="text-field"&&l&&!l.glyphs&&M.push(newAe(r,f,'use of "text-field" requires a style "glyphs" property')),m==="text-font"&&Ot(An(f))&&qt(f.type)==="identity"&&M.push(newAe(r,f,'"text-font" does not support identity functions'))),M.concat(a({key:i.key,value:f,valueSpec:S,style:l,styleSpec:d,expressionContext:"property",propertyType:e,propertyKey:m}))}functionbl(i){returnvl(i,"paint")}functionwl(i){returnvl(i,"layout")}functionSl(i){lete=[];constr=i.value,a=i.key,l=i.style,d=i.styleSpec;r.type||r.ref||e.push(newAe(a,r,'either "type" or "ref" is required'));letf=qt(r.type);constm=qt(r.ref);if(r.id){consty=qt(r.id);for(letb=0;b<i.arrayIndex;b++){constS=l.layers[b];qt(S.id)===y&&e.push(newAe(a,r.id,`duplicate layer id "${r.id}", previously used at line ${S.id.__line__}`))}}if("ref"inr){lety;["type","source","source-layer","filter","layout"].forEach((b=>{binr&&e.push(newAe(a,r[b],`"${b}" is prohibited for ref layers`))})),l.layers.forEach((b=>{qt(b.id)===m&&(y=b)})),y?y.ref?e.push(newAe(a,r.ref,"ref cannot reference another ref layer")):f=qt(y.type):e.push(newAe(a,r.ref,`ref layer "${m}" not found`))}elseif(f!=="background")if(r.source){consty=l.sources&&l.sources[r.source],b=y&&qt(y.type);y?b==="vector"&&f==="raster"?e.push(newAe(a,r.source,`layer "${r.id}" requires a raster source`)):b!=="raster-dem"&&f==="hillshade"?e.push(newAe(a,r.source,`layer "${r.id}" requires a raster-dem source`)):b==="raster"&&f!=="raster"?e.push(newAe(a,r.source,`layer "${r.id}" requires a vector source`)):b!=="vector"||r["source-layer"]?b==="raster-dem"&&f!=="hillshade"?e.push(newAe(a,r.source,"raster-dem source can only be used with layer type 'hillshade'.")):f!=="line"||!r.paint||!r.paint["line-gradient"]||b==="geojson"&&y.lineMetrics||e.push(newAe(a,r,`layer "${r.id}" specifies a line-gradient, which requires a GeoJSON source with \`lineMetrics\` enabled.`)):e.push(newAe(a,r,`layer "${r.id}" must specify a "source-layer"`)):e.push(newAe(a,r.source,`source "${r.source}" not found`))}elsee.push(newAe(a,r,'missing required property "source"'));returne=e.concat(Oi({key:a,value:r,valueSpec:d.layer,style:i.style,styleSpec:i.styleSpec,validateSpec:i.validateSpec,objectElementValidators:{"*":()=>[],type:()=>i.validateSpec({key:`${a}.type`,value:r.type,valueSpec:d.layer.type,style:i.style,styleSpec:i.styleSpec,validateSpec:i.validateSpec,object:r,objectKey:"type"}),filter:ta,layout:y=>Oi({layer:r,key:y.key,value:y.value,style:y.style,styleSpec:y.styleSpec,validateSpec:y.validateSpec,objectElementValidators:{"*":b=>wl(Ar({layerType:f},b))}}),paint:y=>Oi({layer:r,key:y.key,value:y.value,style:y.style,styleSpec:y.styleSpec,validateSpec:y.validateSpec,objectElementValidators:{"*":b=>bl(Ar({layerType:f},b))}})}})),e}functionkr(i){conste=i.value,r=i.key,a=xt(e);returna!=="string"?[newAe(r,e,`string expected, ${a} found`)]:[]}constIa={promoteId:function({key:i,value:e}){if(xt(e)==="string")returnkr({key:i,value:e});{constr=[];for(constaine)r.push(...kr({key:`${i}.${a}`,value:e[a]}));returnr}}};functionYi(i){conste=i.value,r=i.key,a=i.styleSpec,l=i.style,d=i.validateSpec;if(!e.type)return[newAe(r,e,'"type" is required')];constf=qt(e.type);letm;switch(f){case"vector":case"raster":returnm=Oi({key:r,value:e,valueSpec:a[`source_${f.replace("-","_")}`],style:i.style,styleSpec:a,objectElementValidators:Ia,validateSpec:d}),m;case"raster-dem":returnm=(function(y){varb;constS=(b=y.sourceName)!==null&&b!==void0?b:"",C=y.value,M=y.styleSpec,L=M.source_raster_dem,R=y.style;letV=[];constH=xt(C);if(C===void0)returnV;if(H!=="object")returnV.push(newAe("source_raster_dem",C,`object expected, ${H} found`)),V;constK=qt(C.encoding)==="custom",ne=["redFactor","greenFactor","blueFactor","baseShift"],J=y.value.encoding?`"${y.value.encoding}"`:"Default";for(constseinC)!K&&ne.includes(se)?V.push(newAe(se,C[se],`In "${S}": "${se}" is only valid when "encoding" is se
<divclass="maplibregl-mobile-message">${typeofthis._cooperativeGestures!="boolean"&&this._cooperativeGestures.mobileHelpText?this._cooperativeGestures.mobileHelpText:"Use two fingers to move the map"}</div>