This commit is contained in:
HarelM committed 2025-01-21 14:26:07 +00:00
1 parent 2c8bc5aa04
commit 654dc9c31b
3 files changed
+36 -36

No files matched your search

@@ -34,10 +34,10 @@ var FW=Object.defineProperty;var UW=(n,e,t)=>e in n?FW(n,e,{enumerable:!0,config
`+Ne+m}var wt=!1;function Ct(m,_){if(!m||wt)return"";wt=!0;var L=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(_)if(_=function(){throw Error()},Object.defineProperty(_.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(_,[])}catch(Cn){var W=Cn}Reflect.construct(m,[],_)}else{try{_.call()}catch(Cn){W=Cn}m.call(_.prototype)}else{try{throw Error()}catch(Cn){W=Cn}m()}}catch(Cn){if(Cn&&W&&typeof Cn.stack=="string"){for(var ae=Cn.stack.split(`
`),ge=W.stack.split(`
`),Ze=ae.length-1,It=ge.length-1;1<=Ze&&0<=It&&ae[Ze]!==ge[It];)It--;for(;1<=Ze&&0<=It;Ze--,It--)if(ae[Ze]!==ge[It]){if(Ze!==1||It!==1)do if(Ze--,It--,0>It||ae[Ze]!==ge[It]){var Gt=`
`+ae[Ze].replace(" at new "," at ");return m.displayName&&Gt.includes("<anonymous>")&&(Gt=Gt.replace("<anonymous>",m.displayName)),Gt}while(1<=Ze&&0<=It);break}}}finally{wt=!1,Error.prepareStackTrace=L}return(m=m?m.displayName||m.name:"")?at(m):""}function ft(m){switch(m.tag){case 5:return at(m.type);case 16:return at("Lazy");case 13:return at("Suspense");case 19:return at("SuspenseList");case 0:case 2:case 15:return m=Ct(m.type,!1),m;case 11:return m=Ct(m.type.render,!1),m;case 1:return m=Ct(m.type,!0),m;default:return""}}function Lt(m){if(m==null)return null;if(typeof m=="function")return m.displayName||m.name||null;if(typeof m=="string")return m;switch(m){case N:return"Fragment";case J:return"Portal";case he:return"Profiler";case ie:return"StrictMode";case be:return"Suspense";case Pe:return"SuspenseList"}if(typeof m=="object")switch(m.$$typeof){case we:return(m.displayName||"Context")+".Consumer";case de:return(m._context.displayName||"Context")+".Provider";case fe:var _=m.render;return m=m.displayName,m||(m=_.displayName||_.name||"",m=m!==""?"ForwardRef("+m+")":"ForwardRef"),m;case pe:return _=m.displayName||null,_!==null?_:Lt(m.type)||"Memo";case it:_=m._payload,m=m._init;try{return Lt(m(_))}catch{}}return null}function Kt(m){var _=m.type;switch(m.tag){case 24:return"Cache";case 9:return(_.displayName||"Context")+".Consumer";case 10:return(_._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return m=_.render,m=m.displayName||m.name||"",_.displayName||(m!==""?"ForwardRef("+m+")":"ForwardRef");case 7:return"Fragment";case 5:return _;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Lt(_);case 8:return _===ie?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof _=="function")return _.displayName||_.name||null;if(typeof _=="string")return _}return null}function Fe(m){switch(typeof m){case"boolean":case"number":case"string":case"undefined":return m;case"object":return m;default:return""}}function Te(m){var _=m.type;return(m=m.nodeName)&&m.toLowerCase()==="input"&&(_==="checkbox"||_==="radio")}function Se(m){var _=Te(m)?"checked":"value",L=Object.getOwnPropertyDescriptor(m.constructor.prototype,_),W=""+m[_];if(!m.hasOwnProperty(_)&&typeof L<"u"&&typeof L.get=="function"&&typeof L.set=="function"){var ae=L.get,ge=L.set;return Object.defineProperty(m,_,{configurable:!0,get:function(){return ae.call(this)},set:function(Ze){W=""+Ze,ge.call(this,Ze)}}),Object.defineProperty(m,_,{enumerable:L.enumerable}),{getValue:function(){return W},setValue:function(Ze){W=""+Ze},stopTracking:function(){m._valueTracker=null,delete m[_]}}}}function Je(m){m._valueTracker||(m._valueTracker=Se(m))}function yt(m){if(!m)return!1;var _=m._valueTracker;if(!_)return!0;var L=_.getValue(),W="";return m&&(W=Te(m)?m.checked?"true":"false":m.value),m=W,m!==L?(_.setValue(m),!0):!1}function dt(m){if(m=m||(typeof document<"u"?document:void 0),typeof m>"u")return null;try{return m.activeElement||m.body}catch{return m.body}}function Ut(m,_){var L=_.checked;return De({},_,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:L??m._wrapperState.initialChecked})}function en(m,_){var L=_.defaultValue==null?"":_.defaultValue,W=_.checked!=null?_.checked:_.defaultChecked;L=Fe(_.value!=null?_.value:L),m._wrapperState={initialChecked:W,initialValue:L,controlled:_.type==="checkbox"||_.type==="radio"?_.checked!=null:_.value!=null}}function Nt(m,_){_=_.checked,_!=null&&re(m,"checked",_,!1)}function yn(m,_){Nt(m,_);var L=Fe(_.value),W=_.type;if(L!=null)W==="number"?(L===0&&m.value===""||m.value!=L)&&(m.value=""+L):m.value!==""+L&&(m.value=""+L);else if(W==="submit"||W==="reset"){m.removeAttribute("value");return}_.hasOwnProperty("value")?Rr(m,_.type,L):_.hasOwnProperty("defaultValue")&&Rr(m,_.type,Fe(_.defaultValue)),_.checked==null&&_.defaultChecked!=null&&(m.defaultChecked=!!_.defaultChecked)}function jn(m,_,L){if(_.hasOwnProperty("value")||_.hasOwnProperty("defaultValue")){var W=_.type;if(!(W!=="submit"&&W!=="reset"||_.value!==void 0&&_.value!==null))return;_=""+m._wrapperState.initialValue,L||_===m.value||(m.value=_),m.defaultValue=_}L=m.name,L!==""&&(m.name=""),m.defaultChecked=!!m._wrapperState.initialChecked,L!==""&&(m.name=L)}function Rr(m,_,L){(_!=="number"||dt(m.ownerDocument)!==m)&&(L==null?m.defaultValue=""+m._wrapperState.initialValue:m.defaultValue!==""+L&&(m.defaultValue=""+L))}var sr=Array.isArray;function Jn(m,_,L,W){if(m=m.options,_){_={};for(var ae=0;ae<L.length;ae++)_["$"+L[ae]]=!0;for(L=0;L<m.length;L++)ae=_.hasOwnProperty("$"+m[L].value),m[L].selected!==ae&&(m[L].selected=ae),ae&&W&&(m[L].defaultSelected=!0)}else{for(L=""+Fe(L),_=null,ae=0;ae<m.length;ae++){if(m[ae].value===L){m[ae].selected=!0,W&&(m[ae].defaultSelected=!0);return}_!==null||m[ae].disabled||(_=m[ae])}_!==null&&(_.selected Line truncated
`).replace(Df,"")}function md(m,_,L){if(_=pd(_),pd(m)!==_&&L)throw Error(t(425))}function Uu(){}var XA=null,Nl=null;function xA(m,_){return m==="textarea"||m==="noscript"||typeof _.children=="string"||typeof _.children=="number"||typeof _.dangerouslySetInnerHTML=="object"&&_.dangerouslySetInnerHTML!==null&&_.dangerouslySetInnerHTML.__html!=null}var dl=typeof setTimeout=="function"?setTimeout:void 0,JA=typeof clearTimeout=="function"?clearTimeout:void 0,zu=typeof Promise=="function"?Promise:void 0,gd=typeof queueMicrotask=="function"?queueMicrotask:typeof zu<"u"?function(m){return zu.resolve(null).then(m).catch(ju)}:dl;function ju(m){setTimeout(function(){throw m})}function eh(m,_){var L=_,W=0;do{var ae=L.nextSibling;if(m.removeChild(L),ae&&ae.nodeType===8)if(L=ae.data,L==="/$"){if(W===0){m.removeChild(ae),Ri(_);return}W--}else L!=="$"&&L!=="$?"&&L!=="$!"||W++;L=ae}while(L);Ri(_)}function ec(m){for(;m!=null;m=m.nextSibling){var _=m.nodeType;if(_===1||_===3)break;if(_===8){if(_=m.data,_==="$"||_==="$!"||_==="$?")break;if(_==="/$")return null}}return m}function Nu(m){m=m.previousSibling;for(var _=0;m;){if(m.nodeType===8){var L=m.data;if(L==="$"||L==="$!"||L==="$?"){if(_===0)return m;_--}else L==="/$"&&_++}m=m.previousSibling}return null}var Gu=Math.random().toString(36).slice(2),wA="__reactFiber$"+Gu,_c="__reactProps$"+Gu,_u="__reactContainer$"+Gu,$c="__reactEvents$"+Gu,et="__reactListeners$"+Gu,Na="__reactHandles$"+Gu;function Bo(m){var _=m[wA];if(_)return _;for(var L=m.parentNode;L;){if(_=L[_u]||L[wA]){if(L=_.alternate,_.child!==null||L!==null&&L.child!==null)for(m=Nu(m);m!==null;){if(L=m[wA])return L;m=Nu(m)}return _}m=L,L=m.parentNode}return null}function Ki(m){return m=m[wA]||m[_u],!m||m.tag!==5&&m.tag!==6&&m.tag!==13&&m.tag!==3?null:m}function $r(m){if(m.tag===5||m.tag===6)return m.stateNode;throw Error(t(33))}function Ss(m){return m[_c]||null}var yd=[],th=-1;function Oa(m){return{current:m}}function Gs(m){0>th||(m.current=yd[th],yd[th]=null,th--)}function _s(m,_){th++,yd[th]=m.current,m.current=_}var uA={},Es=Oa(uA),fr=Oa(!1),va=uA;function Vc(m,_){var L=m.type.contextTypes;if(!L)return uA;var W=m.stateNode;if(W&&W.__reactInternalMemoizedUnmaskedChildContext===_)return W.__reactInternalMemoizedMaskedChildContext;var ae={},ge;for(ge in L)ae[ge]=_[ge];return W&&(m=m.stateNode,m.__reactInternalMemoizedUnmaskedChildContext=_,m.__reactInternalMemoizedMaskedChildContext=ae),ae}function Ia(m){return m=m.childContextTypes,m!=null}function tc(){Gs(fr),Gs(Es)}function vd(m,_,L){if(Es.current!==uA)throw Error(t(168));_s(Es,_),_s(fr,L)}function _d(m,_,L){var W=m.stateNode;if(_=_.childContextTypes,typeof W.getChildContext!="function")return L;W=W.getChildContext();for(var ae in W)if(!(ae in _))throw Error(t(108,Kt(m)||"Unknown",ae));return De({},L,W)}function Mi(m){return m=(m=m.stateNode)&&m.__reactInternalMemoizedMergedChildContext||uA,va=Es.current,_s(Es,m),_s(fr,fr.current),!0}function Cd(m,_,L){var W=m.stateNode;if(!W)throw Error(t(169));L?(m=_d(m,_,va),W.__reactInternalMemoizedMergedChildContext=m,Gs(fr),Gs(Es),_s(Es,m)):Gs(fr),_s(fr,L)}var Gl=null,bd=!1,xd=!1;function MA(m){Gl===null?Gl=[m]:Gl.push(m)}function nc(m){bd=!0,MA(m)}function AA(){if(!xd&&Gl!==null){xd=!0;var m=0,_=Lr;try{var L=Gl;for(Lr=1;m<L.length;m++){var W=L[m];do W=W(!0);while(W!==null)}Gl=null,bd=!1}catch(ae){throw Gl!==null&&(Gl=Gl.slice(m+1)),Ea(tu,AA),ae}finally{Lr=_,xd=!1}}return null}var Cc=[],Bs=0,bo=null,Cu=0,Ga=[],Ks=0,Zo=null,ou=1,Wu="";function bc(m,_){Cc[Bs++]=Cu,Cc[Bs++]=bo,bo=m,Cu=_}function nh(m,_,L){Ga[Ks++]=ou,Ga[Ks++]=Wu,Ga[Ks++]=Zo,Zo=m;var W=ou;m=Wu;var ae=32-fn(W)-1;W&=~(1<<ae),L+=1;var ge=32-fn(_)+ae;if(30<ge){var Ze=ae-ae%5;ge=(W&(1<<Ze)-1).toString(32),W>>=Ze,ae-=Ze,ou=1<<32-fn(_)+ae|L<<ae|W,Wu=ge+m}else ou=1<<ge|L<<ae|W,Wu=m}function SA(m){m.return!==null&&(bc(m,1),nh(m,1,0))}function xc(m){for(;m===bo;)bo=Cc[--Bs],Cc[Bs]=null,Cu=Cc[--Bs],Cc[Bs]=null;for(;m===Zo;)Zo=Ga[--Ks],Ga[Ks]=null,Wu=Ga[--Ks],Ga[Ks]=null,ou=Ga[--Ks],Ga[Ks]=null}var gs=null,da=null,hr=!1,Hr=null;function Qu(m,_){var L=Zu(5,null,null,0);L.elementType="DELETED",L.stateNode=_,L.return=m,_=m.deletions,_===null?(m.deletions=[L],m.flags|=16):_.push(L)}function rc(m,_){switch(m.tag){case 5:var L=m.type;return _=_.nodeType!==1||L.toLowerCase()!==_.nodeName.toLowerCase()?null:_,_!==null?(m.stateNode=_,gs=m,da=ec(_.firstChild),!0):!1;case 6:return _=m.pendingProps===""||_.nodeType!==3?null:_,_!==null?(m.stateNode=_,gs=m,da=null,!0):!1;case 13:return _=_.nodeType!==8?null:_,_!==null?(L=Zo!==null?{id:ou,overflow:Wu}:null,m.memoizedState={dehydrated:_,treeContext:L,retryLane:1073741824},L=Zu(18,null,null,0),L.stateNode=_,L.return=m,m.child=L,gs=m,da=null,!0):!1;default:return!1}}function bu(m){return(m.mode&1)!==0&&(m.flags&128)===0}function Cs(m){if(hr){var _=da;if(_){var L=_;if(!rc(m,_)){if(bu(m))throw Error(t(418));_=ec(L.nextSibling);var W=gs;_&&rc(m,_)?Qu(W,L):(m.flags=m.flags&-4097|2,hr=!1,gs=m)}}else{if(bu(m))throw Error(t(418));m.flags=m.flags&-4097| Line truncated
`+ae[Ze].replace(" at new "," at ");return m.displayName&&Gt.includes("<anonymous>")&&(Gt=Gt.replace("<anonymous>",m.displayName)),Gt}while(1<=Ze&&0<=It);break}}}finally{wt=!1,Error.prepareStackTrace=L}return(m=m?m.displayName||m.name:"")?at(m):""}function ft(m){switch(m.tag){case 5:return at(m.type);case 16:return at("Lazy");case 13:return at("Suspense");case 19:return at("SuspenseList");case 0:case 2:case 15:return m=Ct(m.type,!1),m;case 11:return m=Ct(m.type.render,!1),m;case 1:return m=Ct(m.type,!0),m;default:return""}}function Lt(m){if(m==null)return null;if(typeof m=="function")return m.displayName||m.name||null;if(typeof m=="string")return m;switch(m){case N:return"Fragment";case J:return"Portal";case he:return"Profiler";case ie:return"StrictMode";case be:return"Suspense";case Pe:return"SuspenseList"}if(typeof m=="object")switch(m.$$typeof){case we:return(m.displayName||"Context")+".Consumer";case de:return(m._context.displayName||"Context")+".Provider";case fe:var _=m.render;return m=m.displayName,m||(m=_.displayName||_.name||"",m=m!==""?"ForwardRef("+m+")":"ForwardRef"),m;case pe:return _=m.displayName||null,_!==null?_:Lt(m.type)||"Memo";case it:_=m._payload,m=m._init;try{return Lt(m(_))}catch{}}return null}function Kt(m){var _=m.type;switch(m.tag){case 24:return"Cache";case 9:return(_.displayName||"Context")+".Consumer";case 10:return(_._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return m=_.render,m=m.displayName||m.name||"",_.displayName||(m!==""?"ForwardRef("+m+")":"ForwardRef");case 7:return"Fragment";case 5:return _;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Lt(_);case 8:return _===ie?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof _=="function")return _.displayName||_.name||null;if(typeof _=="string")return _}return null}function Fe(m){switch(typeof m){case"boolean":case"number":case"string":case"undefined":return m;case"object":return m;default:return""}}function Te(m){var _=m.type;return(m=m.nodeName)&&m.toLowerCase()==="input"&&(_==="checkbox"||_==="radio")}function Se(m){var _=Te(m)?"checked":"value",L=Object.getOwnPropertyDescriptor(m.constructor.prototype,_),W=""+m[_];if(!m.hasOwnProperty(_)&&typeof L<"u"&&typeof L.get=="function"&&typeof L.set=="function"){var ae=L.get,ge=L.set;return Object.defineProperty(m,_,{configurable:!0,get:function(){return ae.call(this)},set:function(Ze){W=""+Ze,ge.call(this,Ze)}}),Object.defineProperty(m,_,{enumerable:L.enumerable}),{getValue:function(){return W},setValue:function(Ze){W=""+Ze},stopTracking:function(){m._valueTracker=null,delete m[_]}}}}function Je(m){m._valueTracker||(m._valueTracker=Se(m))}function yt(m){if(!m)return!1;var _=m._valueTracker;if(!_)return!0;var L=_.getValue(),W="";return m&&(W=Te(m)?m.checked?"true":"false":m.value),m=W,m!==L?(_.setValue(m),!0):!1}function dt(m){if(m=m||(typeof document<"u"?document:void 0),typeof m>"u")return null;try{return m.activeElement||m.body}catch{return m.body}}function Ut(m,_){var L=_.checked;return De({},_,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:L??m._wrapperState.initialChecked})}function en(m,_){var L=_.defaultValue==null?"":_.defaultValue,W=_.checked!=null?_.checked:_.defaultChecked;L=Fe(_.value!=null?_.value:L),m._wrapperState={initialChecked:W,initialValue:L,controlled:_.type==="checkbox"||_.type==="radio"?_.checked!=null:_.value!=null}}function Nt(m,_){_=_.checked,_!=null&&re(m,"checked",_,!1)}function yn(m,_){Nt(m,_);var L=Fe(_.value),W=_.type;if(L!=null)W==="number"?(L===0&&m.value===""||m.value!=L)&&(m.value=""+L):m.value!==""+L&&(m.value=""+L);else if(W==="submit"||W==="reset"){m.removeAttribute("value");return}_.hasOwnProperty("value")?Rr(m,_.type,L):_.hasOwnProperty("defaultValue")&&Rr(m,_.type,Fe(_.defaultValue)),_.checked==null&&_.defaultChecked!=null&&(m.defaultChecked=!!_.defaultChecked)}function jn(m,_,L){if(_.hasOwnProperty("value")||_.hasOwnProperty("defaultValue")){var W=_.type;if(!(W!=="submit"&&W!=="reset"||_.value!==void 0&&_.value!==null))return;_=""+m._wrapperState.initialValue,L||_===m.value||(m.value=_),m.defaultValue=_}L=m.name,L!==""&&(m.name=""),m.defaultChecked=!!m._wrapperState.initialChecked,L!==""&&(m.name=L)}function Rr(m,_,L){(_!=="number"||dt(m.ownerDocument)!==m)&&(L==null?m.defaultValue=""+m._wrapperState.initialValue:m.defaultValue!==""+L&&(m.defaultValue=""+L))}var sr=Array.isArray;function Jn(m,_,L,W){if(m=m.options,_){_={};for(var ae=0;ae<L.length;ae++)_["$"+L[ae]]=!0;for(L=0;L<m.length;L++)ae=_.hasOwnProperty("$"+m[L].value),m[L].selected!==ae&&(m[L].selected=ae),ae&&W&&(m[L].defaultSelected=!0)}else{for(L=""+Fe(L),_=null,ae=0;ae<m.length;ae++){if(m[ae].value===L){m[ae].selected=!0,W&&(m[ae].defaultSelected=!0);return}_!==null||m[ae].disabled||(_=m[ae])}_!==null&&(_.selected Line truncated
`).replace(Df,"")}function md(m,_,L){if(_=pd(_),pd(m)!==_&&L)throw Error(t(425))}function Uu(){}var XA=null,Nl=null;function xA(m,_){return m==="textarea"||m==="noscript"||typeof _.children=="string"||typeof _.children=="number"||typeof _.dangerouslySetInnerHTML=="object"&&_.dangerouslySetInnerHTML!==null&&_.dangerouslySetInnerHTML.__html!=null}var dl=typeof setTimeout=="function"?setTimeout:void 0,JA=typeof clearTimeout=="function"?clearTimeout:void 0,zu=typeof Promise=="function"?Promise:void 0,gd=typeof queueMicrotask=="function"?queueMicrotask:typeof zu<"u"?function(m){return zu.resolve(null).then(m).catch(ju)}:dl;function ju(m){setTimeout(function(){throw m})}function eh(m,_){var L=_,W=0;do{var ae=L.nextSibling;if(m.removeChild(L),ae&&ae.nodeType===8)if(L=ae.data,L==="/$"){if(W===0){m.removeChild(ae),Ri(_);return}W--}else L!=="$"&&L!=="$?"&&L!=="$!"||W++;L=ae}while(L);Ri(_)}function ec(m){for(;m!=null;m=m.nextSibling){var _=m.nodeType;if(_===1||_===3)break;if(_===8){if(_=m.data,_==="$"||_==="$!"||_==="$?")break;if(_==="/$")return null}}return m}function Nu(m){m=m.previousSibling;for(var _=0;m;){if(m.nodeType===8){var L=m.data;if(L==="$"||L==="$!"||L==="$?"){if(_===0)return m;_--}else L==="/$"&&_++}m=m.previousSibling}return null}var Gu=Math.random().toString(36).slice(2),wA="__reactFiber$"+Gu,_c="__reactProps$"+Gu,_u="__reactContainer$"+Gu,$c="__reactEvents$"+Gu,et="__reactListeners$"+Gu,Na="__reactHandles$"+Gu;function Bo(m){var _=m[wA];if(_)return _;for(var L=m.parentNode;L;){if(_=L[_u]||L[wA]){if(L=_.alternate,_.child!==null||L!==null&&L.child!==null)for(m=Nu(m);m!==null;){if(L=m[wA])return L;m=Nu(m)}return _}m=L,L=m.parentNode}return null}function Ki(m){return m=m[wA]||m[_u],!m||m.tag!==5&&m.tag!==6&&m.tag!==13&&m.tag!==3?null:m}function $r(m){if(m.tag===5||m.tag===6)return m.stateNode;throw Error(t(33))}function Es(m){return m[_c]||null}var yd=[],th=-1;function Oa(m){return{current:m}}function Ws(m){0>th||(m.current=yd[th],yd[th]=null,th--)}function Cs(m,_){th++,yd[th]=m.current,m.current=_}var uA={},Bs=Oa(uA),fr=Oa(!1),va=uA;function Vc(m,_){var L=m.type.contextTypes;if(!L)return uA;var W=m.stateNode;if(W&&W.__reactInternalMemoizedUnmaskedChildContext===_)return W.__reactInternalMemoizedMaskedChildContext;var ae={},ge;for(ge in L)ae[ge]=_[ge];return W&&(m=m.stateNode,m.__reactInternalMemoizedUnmaskedChildContext=_,m.__reactInternalMemoizedMaskedChildContext=ae),ae}function Ia(m){return m=m.childContextTypes,m!=null}function tc(){Ws(fr),Ws(Bs)}function vd(m,_,L){if(Bs.current!==uA)throw Error(t(168));Cs(Bs,_),Cs(fr,L)}function _d(m,_,L){var W=m.stateNode;if(_=_.childContextTypes,typeof W.getChildContext!="function")return L;W=W.getChildContext();for(var ae in W)if(!(ae in _))throw Error(t(108,Kt(m)||"Unknown",ae));return De({},L,W)}function Mi(m){return m=(m=m.stateNode)&&m.__reactInternalMemoizedMergedChildContext||uA,va=Bs.current,Cs(Bs,m),Cs(fr,fr.current),!0}function Cd(m,_,L){var W=m.stateNode;if(!W)throw Error(t(169));L?(m=_d(m,_,va),W.__reactInternalMemoizedMergedChildContext=m,Ws(fr),Ws(Bs),Cs(Bs,m)):Ws(fr),Cs(fr,L)}var Gl=null,bd=!1,xd=!1;function MA(m){Gl===null?Gl=[m]:Gl.push(m)}function nc(m){bd=!0,MA(m)}function AA(){if(!xd&&Gl!==null){xd=!0;var m=0,_=Lr;try{var L=Gl;for(Lr=1;m<L.length;m++){var W=L[m];do W=W(!0);while(W!==null)}Gl=null,bd=!1}catch(ae){throw Gl!==null&&(Gl=Gl.slice(m+1)),Ea(tu,AA),ae}finally{Lr=_,xd=!1}}return null}var Cc=[],Os=0,bo=null,Cu=0,Ga=[],Ds=0,Zo=null,ou=1,Wu="";function bc(m,_){Cc[Os++]=Cu,Cc[Os++]=bo,bo=m,Cu=_}function nh(m,_,L){Ga[Ds++]=ou,Ga[Ds++]=Wu,Ga[Ds++]=Zo,Zo=m;var W=ou;m=Wu;var ae=32-fn(W)-1;W&=~(1<<ae),L+=1;var ge=32-fn(_)+ae;if(30<ge){var Ze=ae-ae%5;ge=(W&(1<<Ze)-1).toString(32),W>>=Ze,ae-=Ze,ou=1<<32-fn(_)+ae|L<<ae|W,Wu=ge+m}else ou=1<<ge|L<<ae|W,Wu=m}function SA(m){m.return!==null&&(bc(m,1),nh(m,1,0))}function xc(m){for(;m===bo;)bo=Cc[--Os],Cc[Os]=null,Cu=Cc[--Os],Cc[Os]=null;for(;m===Zo;)Zo=Ga[--Ds],Ga[Ds]=null,Wu=Ga[--Ds],Ga[Ds]=null,ou=Ga[--Ds],Ga[Ds]=null}var gs=null,da=null,hr=!1,Hr=null;function Qu(m,_){var L=Zu(5,null,null,0);L.elementType="DELETED",L.stateNode=_,L.return=m,_=m.deletions,_===null?(m.deletions=[L],m.flags|=16):_.push(L)}function rc(m,_){switch(m.tag){case 5:var L=m.type;return _=_.nodeType!==1||L.toLowerCase()!==_.nodeName.toLowerCase()?null:_,_!==null?(m.stateNode=_,gs=m,da=ec(_.firstChild),!0):!1;case 6:return _=m.pendingProps===""||_.nodeType!==3?null:_,_!==null?(m.stateNode=_,gs=m,da=null,!0):!1;case 13:return _=_.nodeType!==8?null:_,_!==null?(L=Zo!==null?{id:ou,overflow:Wu}:null,m.memoizedState={dehydrated:_,treeContext:L,retryLane:1073741824},L=Zu(18,null,null,0),L.stateNode=_,L.return=m,m.child=L,gs=m,da=null,!0):!1;default:return!1}}function bu(m){return(m.mode&1)!==0&&(m.flags&128)===0}function bs(m){if(hr){var _=da;if(_){var L=_;if(!rc(m,_)){if(bu(m))throw Error(t(418));_=ec(L.nextSibling);var W=gs;_&&rc(m,_)?Qu(W,L):(m.flags=m.flags&-4097|2,hr=!1,gs=m)}}else{if(bu(m))throw Error(t(418));m.flags=m.flags&-4097| Line truncated
Error generating stack: `+ge.message+`
`+ge.stack}return{value:m,source:_,stack:ae,digest:null}}function Th(m,_,L){return{value:m,source:null,stack:L??null,digest:_??null}}function Bd(m,_){try{console.error(_.value)}catch(L){setTimeout(function(){throw L})}}var xp=typeof WeakMap=="function"?WeakMap:Map;function sh(m,_,L){L=l(-1,L),L.tag=3,L.payload={element:null};var W=_.value;return L.callback=function(){hf||(hf=!0,$m=W),Bd(m,_)},L}function Uf(m,_,L){L=l(-1,L),L.tag=3;var W=m.type.getDerivedStateFromError;if(typeof W=="function"){var ae=_.value;L.payload=function(){return W(ae)},L.callback=function(){Bd(m,_)}}var ge=m.stateNode;return ge!==null&&typeof ge.componentDidCatch=="function"&&(L.callback=function(){Bd(m,_),typeof W!="function"&&(ff===null?ff=new Set([this]):ff.add(this));var Ze=_.stack;this.componentDidCatch(_.value,{componentStack:Ze!==null?Ze:""})}),L}function zf(m,_,L){var W=m.pingCache;if(W===null){W=m.pingCache=new xp;var ae=new Set;W.set(_,ae)}else ae=W.get(_),ae===void 0&&(ae=new Set,W.set(_,ae));ae.has(L)||(ae.add(L),m=qg.bind(null,m,_,L),_.then(m,m))}function wp(m){do{var _;if((_=m.tag===13)&&(_=m.memoizedState,_=_!==null?_.dehydrated!==null:!0),_)return m;m=m.return}while(m!==null);return null}function Od(m,_,L,W,ae){return m.mode&1?(m.flags|=65536,m.lanes=ae,m):(m===_?m.flags|=65536:(m.flags|=128,L.flags|=131072,L.flags&=-52805,L.tag===1&&(L.alternate===null?L.tag=17:(_=l(-1,1),_.tag=2,c(L,_,1))),L.lanes|=1),m)}var af=X.ReactCurrentOwner,ql=!1;function Rl(m,_,L,W){_.child=m===null?wc(_,null,L,W):Ws(_,m.child,L,W)}function Am(m,_,L,W,ae){L=L.render;var ge=_.ref;return au(_,ae),W=kr(m,_,L,W,ge,ae),L=Bi(),m!==null&&!ql?(_.updateQueue=m.updateQueue,_.flags&=-2053,m.lanes&=~ae,Su(m,_,ae)):(hr&&L&&SA(_),_.flags|=1,Rl(m,_,W,ae),_.child)}function jf(m,_,L,W,ae){if(m===null){var ge=L.type;return typeof ge=="function"&&!qf(ge)&&ge.defaultProps===void 0&&L.compare===null&&L.defaultProps===void 0?(_.tag=15,_.type=ge,Io(m,_,ge,W,ae)):(m=r0(L.type,null,W,_,_.mode,ae),m.ref=_.ref,m.return=_,_.child=m)}if(ge=m.child,!(m.lanes&ae)){var Ze=ge.memoizedProps;if(L=L.compare,L=L!==null?L:Ur,L(Ze,W)&&m.ref===_.ref)return Su(m,_,ae)}return _.flags|=1,m=Kd(ge,W),m.ref=_.ref,m.return=_,_.child=m}function Io(m,_,L,W,ae){if(m!==null){var ge=m.memoizedProps;if(Ur(ge,W)&&m.ref===_.ref)if(ql=!1,_.pendingProps=W=ge,(m.lanes&ae)!==0)m.flags&131072&&(ql=!0);else return _.lanes=m.lanes,Su(m,_,ae)}return Id(m,_,L,W,ae)}function Hu(m,_,L){var W=_.pendingProps,ae=W.children,ge=m!==null?m.memoizedState:null;if(W.mode==="hidden")if(!(_.mode&1))_.memoizedState={baseLanes:0,cachePool:null,transitions:null},_s(Kl,Is),Is|=L;else{if(!(L&1073741824))return m=ge!==null?ge.baseLanes|L:L,_.lanes=_.childLanes=1073741824,_.memoizedState={baseLanes:m,cachePool:null,transitions:null},_.updateQueue=null,_s(Kl,Is),Is|=m,null;_.memoizedState={baseLanes:0,cachePool:null,transitions:null},W=ge!==null?ge.baseLanes:L,_s(Kl,Is),Is|=W}else ge!==null?(W=ge.baseLanes|L,_.memoizedState=null):W=L,_s(Kl,Is),Is|=W;return Rl(m,_,ae,L),_.child}function lf(m,_){var L=_.ref;(m===null&&L!==null||m!==null&&m.ref!==L)&&(_.flags|=512,_.flags|=2097152)}function Id(m,_,L,W,ae){var ge=Ia(L)?va:Es.current;return ge=Vc(_,ge),au(_,ae),L=kr(m,_,L,W,ge,ae),W=Bi(),m!==null&&!ql?(_.updateQueue=m.updateQueue,_.flags&=-2053,m.lanes&=~ae,Su(m,_,ae)):(hr&&W&&SA(_),_.flags|=1,Rl(m,_,L,ae),_.child)}function TA(m,_,L,W,ae){if(Ia(L)){var ge=!0;Mi(_)}else ge=!1;if(au(_,ae),_.stateNode===null)Sp(m,_),oh(_,L,W),um(_,L,W,ae),W=!0;else if(m===null){var Ze=_.stateNode,It=_.memoizedProps;Ze.props=It;var Gt=Ze.context,Cn=L.contextType;typeof Cn=="object"&&Cn!==null?Cn=lu(Cn):(Cn=Ia(L)?va:Es.current,Cn=Vc(_,Cn));var ar=L.getDerivedStateFromProps,dr=typeof ar=="function"||typeof Ze.getSnapshotBeforeUpdate=="function";dr||typeof Ze.UNSAFE_componentWillReceiveProps!="function"&&typeof Ze.componentWillReceiveProps!="function"||(It!==W||Gt!==Cn)&&Bc(_,Ze,W,Cn),Ql=!1;var $n=_.memoizedState;Ze.state=$n,R(_,W,Ze,ae),Gt=_.memoizedState,It!==W||$n!==Gt||fr.current||Ql?(typeof ar=="function"&&(Cp(_,L,ar,W),Gt=_.memoizedState),(It=Ql||bp(_,L,It,W,$n,Gt,Cn))?(dr||typeof Ze.UNSAFE_componentWillMount!="function"&&typeof Ze.componentWillMount!="function"||(typeof Ze.componentWillMount=="function"&&Ze.componentWillMount(),typeof Ze.UNSAFE_componentWillMount=="function"&&Ze.UNSAFE_componentWillMount()),typeof Ze.componentDidMount=="function"&&(_.flags|=4194308)):(typeof Ze.componentDidMount=="function"&&(_.flags|=4194308),_.memoizedProps=W,_.memoizedState=Gt),Ze.props=W,Ze.state=Gt,Ze.context=Cn,W=It):(typeof Ze.componentDidMount=="function"&&(_.flags|=4194308),W=!1)}else{Ze=_.stateNode,T(m,_),It=_.memoizedProps,Cn=_.type===_.elementType?It:Qa(_.type,It),Ze.props=Cn,dr=_.pendingProps,$n=Ze.context,Gt=L.contextType,typeof Gt=="object"&&Gt!==null?Gt=lu(Gt):(Gt=Ia(L)?va:Es.current,Gt=Vc(_,Gt));var zr=L.getDerivedStateFromProps;(ar=typeof zr=="function"||typeof Ze.getSnapshotBeforeUpdate=="function")||typeof Ze.UNSAFE_componentWillReceiveProps!= Line truncated
`+ge.stack}return{value:m,source:_,stack:ae,digest:null}}function Th(m,_,L){return{value:m,source:null,stack:L??null,digest:_??null}}function Bd(m,_){try{console.error(_.value)}catch(L){setTimeout(function(){throw L})}}var xp=typeof WeakMap=="function"?WeakMap:Map;function sh(m,_,L){L=l(-1,L),L.tag=3,L.payload={element:null};var W=_.value;return L.callback=function(){hf||(hf=!0,$m=W),Bd(m,_)},L}function Uf(m,_,L){L=l(-1,L),L.tag=3;var W=m.type.getDerivedStateFromError;if(typeof W=="function"){var ae=_.value;L.payload=function(){return W(ae)},L.callback=function(){Bd(m,_)}}var ge=m.stateNode;return ge!==null&&typeof ge.componentDidCatch=="function"&&(L.callback=function(){Bd(m,_),typeof W!="function"&&(ff===null?ff=new Set([this]):ff.add(this));var Ze=_.stack;this.componentDidCatch(_.value,{componentStack:Ze!==null?Ze:""})}),L}function zf(m,_,L){var W=m.pingCache;if(W===null){W=m.pingCache=new xp;var ae=new Set;W.set(_,ae)}else ae=W.get(_),ae===void 0&&(ae=new Set,W.set(_,ae));ae.has(L)||(ae.add(L),m=qg.bind(null,m,_,L),_.then(m,m))}function wp(m){do{var _;if((_=m.tag===13)&&(_=m.memoizedState,_=_!==null?_.dehydrated!==null:!0),_)return m;m=m.return}while(m!==null);return null}function Od(m,_,L,W,ae){return m.mode&1?(m.flags|=65536,m.lanes=ae,m):(m===_?m.flags|=65536:(m.flags|=128,L.flags|=131072,L.flags&=-52805,L.tag===1&&(L.alternate===null?L.tag=17:(_=l(-1,1),_.tag=2,c(L,_,1))),L.lanes|=1),m)}var af=X.ReactCurrentOwner,ql=!1;function Rl(m,_,L,W){_.child=m===null?wc(_,null,L,W):Qs(_,m.child,L,W)}function Am(m,_,L,W,ae){L=L.render;var ge=_.ref;return au(_,ae),W=kr(m,_,L,W,ge,ae),L=Bi(),m!==null&&!ql?(_.updateQueue=m.updateQueue,_.flags&=-2053,m.lanes&=~ae,Su(m,_,ae)):(hr&&L&&SA(_),_.flags|=1,Rl(m,_,W,ae),_.child)}function jf(m,_,L,W,ae){if(m===null){var ge=L.type;return typeof ge=="function"&&!qf(ge)&&ge.defaultProps===void 0&&L.compare===null&&L.defaultProps===void 0?(_.tag=15,_.type=ge,Io(m,_,ge,W,ae)):(m=r0(L.type,null,W,_,_.mode,ae),m.ref=_.ref,m.return=_,_.child=m)}if(ge=m.child,!(m.lanes&ae)){var Ze=ge.memoizedProps;if(L=L.compare,L=L!==null?L:Ur,L(Ze,W)&&m.ref===_.ref)return Su(m,_,ae)}return _.flags|=1,m=Kd(ge,W),m.ref=_.ref,m.return=_,_.child=m}function Io(m,_,L,W,ae){if(m!==null){var ge=m.memoizedProps;if(Ur(ge,W)&&m.ref===_.ref)if(ql=!1,_.pendingProps=W=ge,(m.lanes&ae)!==0)m.flags&131072&&(ql=!0);else return _.lanes=m.lanes,Su(m,_,ae)}return Id(m,_,L,W,ae)}function Hu(m,_,L){var W=_.pendingProps,ae=W.children,ge=m!==null?m.memoizedState:null;if(W.mode==="hidden")if(!(_.mode&1))_.memoizedState={baseLanes:0,cachePool:null,transitions:null},Cs(Kl,ks),ks|=L;else{if(!(L&1073741824))return m=ge!==null?ge.baseLanes|L:L,_.lanes=_.childLanes=1073741824,_.memoizedState={baseLanes:m,cachePool:null,transitions:null},_.updateQueue=null,Cs(Kl,ks),ks|=m,null;_.memoizedState={baseLanes:0,cachePool:null,transitions:null},W=ge!==null?ge.baseLanes:L,Cs(Kl,ks),ks|=W}else ge!==null?(W=ge.baseLanes|L,_.memoizedState=null):W=L,Cs(Kl,ks),ks|=W;return Rl(m,_,ae,L),_.child}function lf(m,_){var L=_.ref;(m===null&&L!==null||m!==null&&m.ref!==L)&&(_.flags|=512,_.flags|=2097152)}function Id(m,_,L,W,ae){var ge=Ia(L)?va:Bs.current;return ge=Vc(_,ge),au(_,ae),L=kr(m,_,L,W,ge,ae),W=Bi(),m!==null&&!ql?(_.updateQueue=m.updateQueue,_.flags&=-2053,m.lanes&=~ae,Su(m,_,ae)):(hr&&W&&SA(_),_.flags|=1,Rl(m,_,L,ae),_.child)}function TA(m,_,L,W,ae){if(Ia(L)){var ge=!0;Mi(_)}else ge=!1;if(au(_,ae),_.stateNode===null)Sp(m,_),oh(_,L,W),um(_,L,W,ae),W=!0;else if(m===null){var Ze=_.stateNode,It=_.memoizedProps;Ze.props=It;var Gt=Ze.context,Cn=L.contextType;typeof Cn=="object"&&Cn!==null?Cn=lu(Cn):(Cn=Ia(L)?va:Bs.current,Cn=Vc(_,Cn));var ar=L.getDerivedStateFromProps,dr=typeof ar=="function"||typeof Ze.getSnapshotBeforeUpdate=="function";dr||typeof Ze.UNSAFE_componentWillReceiveProps!="function"&&typeof Ze.componentWillReceiveProps!="function"||(It!==W||Gt!==Cn)&&Bc(_,Ze,W,Cn),Ql=!1;var $n=_.memoizedState;Ze.state=$n,R(_,W,Ze,ae),Gt=_.memoizedState,It!==W||$n!==Gt||fr.current||Ql?(typeof ar=="function"&&(Cp(_,L,ar,W),Gt=_.memoizedState),(It=Ql||bp(_,L,It,W,$n,Gt,Cn))?(dr||typeof Ze.UNSAFE_componentWillMount!="function"&&typeof Ze.componentWillMount!="function"||(typeof Ze.componentWillMount=="function"&&Ze.componentWillMount(),typeof Ze.UNSAFE_componentWillMount=="function"&&Ze.UNSAFE_componentWillMount()),typeof Ze.componentDidMount=="function"&&(_.flags|=4194308)):(typeof Ze.componentDidMount=="function"&&(_.flags|=4194308),_.memoizedProps=W,_.memoizedState=Gt),Ze.props=W,Ze.state=Gt,Ze.context=Cn,W=It):(typeof Ze.componentDidMount=="function"&&(_.flags|=4194308),W=!1)}else{Ze=_.stateNode,T(m,_),It=_.memoizedProps,Cn=_.type===_.elementType?It:Qa(_.type,It),Ze.props=Cn,dr=_.pendingProps,$n=Ze.context,Gt=L.contextType,typeof Gt=="object"&&Gt!==null?Gt=lu(Gt):(Gt=Ia(L)?va:Bs.current,Gt=Vc(_,Gt));var zr=L.getDerivedStateFromProps;(ar=typeof zr=="function"||typeof Ze.getSnapshotBeforeUpdate=="function")||typeof Ze.UNSAFE_componentWillReceiveProps!= Line truncated
* The buffer module from node.js, for the browser.
*
* @author Feross Aboukhadijeh <https://feross.org>
@@ -49,15 +49,15 @@ Error generating stack: `+ge.message+`
* Released under MIT license <https://lodash.com/license>
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
*/var Sq=yv.exports,N8;function Eq(){return N8||(N8=1,function(n,e){(function(){var t,r="4.17.21",i=200,s="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",a="Expected a function",o="Invalid `variable` option passed into `_.template`",d="__lodash_hash_undefined__",g=500,b="__lodash_placeholder__",E=1,S=2,O=4,k=1,U=2,z=1,q=2,Q=4,re=8,X=16,Y=32,J=64,N=128,ie=256,he=512,de=30,we="...",fe=800,be=16,Pe=1,pe=2,it=3,We=1/0,$e=9007199254740991,ht=17976931348623157e292,De=NaN,Ne=4294967295,at=Ne-1,wt=Ne>>>1,Ct=[["ary",N],["bind",z],["bindKey",q],["curry",re],["curryRight",X],["flip",he],["partial",Y],["partialRight",J],["rearg",ie]],ft="[object Arguments]",Lt="[object Array]",Kt="[object AsyncFunction]",Fe="[object Boolean]",Te="[object Date]",Se="[object DOMException]",Je="[object Error]",yt="[object Function]",dt="[object GeneratorFunction]",Ut="[object Map]",en="[object Number]",Nt="[object Null]",yn="[object Object]",jn="[object Promise]",Rr="[object Proxy]",sr="[object RegExp]",Jn="[object Set]",mr="[object String]",pr="[object Symbol]",xr="[object Undefined]",Qn="[object WeakMap]",Er="[object WeakSet]",Ge="[object ArrayBuffer]",Ae="[object DataView]",me="[object Float32Array]",Xe="[object Float64Array]",Et="[object Int8Array]",Yt="[object Int16Array]",nn="[object Int32Array]",rr="[object Uint8Array]",Ee="[object Uint8ClampedArray]",oe="[object Uint16Array]",ve="[object Uint32Array]",p=/\b__p \+= '';/g,ze=/\b(__p \+=) '' \+/g,rt=/(__e\(.*?\)|\b__t\)) \+\n'';/g,pt=/&(?:amp|lt|gt|quot|#39);/g,Bt=/[&<>"']/g,vt=RegExp(pt.source),Xt=RegExp(Bt.source),tn=/<%-([\s\S]+?)%>/g,zt=/<%([\s\S]+?)%>/g,_t=/<%=([\s\S]+?)%>/g,Tn=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Sn=/^\w*$/,Ar=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,wr=/[\\^$.*+?()[\]{}|]/g,rn=RegExp(wr.source),Fn=/^\s+/,Rn=/\s/,Br=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Mr=/\{\n\/\* \[wrapped with (.+)\] \*/,Kr=/,? & /,ir=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,co=/[()=,{}\[\]\/\s]/,Sa=/\\(\\)?/g,qi=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,yi=/\w*$/,oo=/^[-+]0x[0-9a-f]+$/i,Mo=/^0b[01]+$/i,Ti=/^\[object .+?Constructor\]$/,Ua=/^0o[0-7]+$/i,Ea=/^(?:0|[1-9]\d*)$/,ns=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Aa=/($^)/,Al=/['\n\r\u2028\u2029\\]/g,ao="\\ud800-\\udfff",Pu="\\u0300-\\u036f",tu="\\ufe20-\\ufe2f",so="\\u20d0-\\u20ff",Dr=Pu+tu+so,Za="\\u2700-\\u27bf",Ts="a-z\\xdf-\\xf6\\xf8-\\xff",ia="\\xac\\xb1\\xd7\\xf7",Qe="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",bt="\\u2000-\\u206f",fn=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Nn="A-Z\\xc0-\\xd6\\xd8-\\xde",un="\\ufe0e\\ufe0f",er=ia+Qe+bt+fn,Pi="['’]",ho="["+ao+"]",vs="["+er+"]",js="["+Dr+"]",vA="\\d+",ri="["+Za+"]",wi="["+Ts+"]",Xa="[^"+ao+er+vA+Za+Ts+Nn+"]",Ai="\\ud83c[\\udffb-\\udfff]",ca="(?:"+js+"|"+Ai+")",iA="[^"+ao+"]",ls="(?:\\ud83c[\\udde6-\\uddff]){2}",Lr="[\\ud800-\\udbff][\\udc00-\\udfff]",Ei="["+Nn+"]",Ja="\\u200d",Ps="(?:"+wi+"|"+Xa+")",So="(?:"+Ei+"|"+Xa+")",Ns="(?:"+Pi+"(?:d|ll|m|re|s|t|ve))?",hu="(?:"+Pi+"(?:D|LL|M|RE|S|T|VE))?",zl=ca+"?",rs="["+un+"]?",Vs="(?:"+Ja+"(?:"+[iA,ls,Lr].join("|")+")"+rs+zl+")*",fo="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",ms="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",ws=rs+zl+Vs,el="(?:"+[ri,ls,Lr].join("|")+")"+ws,Rs="(?:"+[iA+js+"?",js,ls,Lr,ho].join("|")+")",El=RegExp(Pi,"g"),oA=RegExp(js,"g"),Vi=RegExp(Ai+"(?="+Ai+")|"+Rs+ws,"g"),nu=RegExp([Ei+"?"+wi+"+"+Ns+"(?="+[vs,Ei,"$"].join("|")+")",So+"+"+hu+"(?="+[vs,Ei+Ps,"$"].join("|")+")",Ei+"?"+Ps+"+"+Ns,Ei+"+"+hu,ms,fo,vA,el].join("|"),"g"),Ui=RegExp("["+Ja+ao+Dr+un+"]"),Jr=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,ru=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Ni=-1,lo={};lo[me]=lo[Xe]=lo[Et]=lo[Yt]=lo[nn]=lo[rr]=lo[Ee]=lo[oe]=lo[ve]=!0,lo[ft]=lo[Lt]=lo[Ge]=lo[Fe]=lo[Ae]=lo[Te]=lo[Je]=lo[yt]=lo[Ut]=lo[en]=lo[yn]=lo[sr]=lo[Jn]=lo[mr]=lo[Qn]=!1;var Ri={};Ri[ft]=Ri[Lt]=Ri[Ge]=Ri[Ae]=Ri[Fe]=Ri[Te]=Ri[me]=Ri[Xe]=Ri[Et]=Ri[Yt]=Ri[nn]=Ri[Ut]=Ri[en]=Ri[yn]=Ri[sr]=Ri[Jn]=Ri[mr]=Ri[pr]=Ri[rr]=Ri[Ee]=Ri[oe]=Ri[ve]=!0,Ri[Je]=Ri[yt]=Ri[Qn]=!1;var ee={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"Line truncated
*/var Sq=yv.exports,N8;function Eq(){return N8||(N8=1,function(n,e){(function(){var t,r="4.17.21",i=200,s="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",a="Expected a function",o="Invalid `variable` option passed into `_.template`",d="__lodash_hash_undefined__",g=500,b="__lodash_placeholder__",E=1,S=2,O=4,k=1,U=2,z=1,q=2,Q=4,re=8,X=16,Y=32,J=64,N=128,ie=256,he=512,de=30,we="...",fe=800,be=16,Pe=1,pe=2,it=3,We=1/0,$e=9007199254740991,ht=17976931348623157e292,De=NaN,Ne=4294967295,at=Ne-1,wt=Ne>>>1,Ct=[["ary",N],["bind",z],["bindKey",q],["curry",re],["curryRight",X],["flip",he],["partial",Y],["partialRight",J],["rearg",ie]],ft="[object Arguments]",Lt="[object Array]",Kt="[object AsyncFunction]",Fe="[object Boolean]",Te="[object Date]",Se="[object DOMException]",Je="[object Error]",yt="[object Function]",dt="[object GeneratorFunction]",Ut="[object Map]",en="[object Number]",Nt="[object Null]",yn="[object Object]",jn="[object Promise]",Rr="[object Proxy]",sr="[object RegExp]",Jn="[object Set]",mr="[object String]",pr="[object Symbol]",xr="[object Undefined]",Qn="[object WeakMap]",Er="[object WeakSet]",Ge="[object ArrayBuffer]",Ae="[object DataView]",me="[object Float32Array]",Xe="[object Float64Array]",Et="[object Int8Array]",Yt="[object Int16Array]",nn="[object Int32Array]",rr="[object Uint8Array]",Ee="[object Uint8ClampedArray]",oe="[object Uint16Array]",ve="[object Uint32Array]",p=/\b__p \+= '';/g,ze=/\b(__p \+=) '' \+/g,rt=/(__e\(.*?\)|\b__t\)) \+\n'';/g,pt=/&(?:amp|lt|gt|quot|#39);/g,Bt=/[&<>"']/g,vt=RegExp(pt.source),Xt=RegExp(Bt.source),tn=/<%-([\s\S]+?)%>/g,zt=/<%([\s\S]+?)%>/g,_t=/<%=([\s\S]+?)%>/g,Tn=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Sn=/^\w*$/,Ar=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,wr=/[\\^$.*+?()[\]{}|]/g,rn=RegExp(wr.source),Fn=/^\s+/,Rn=/\s/,Br=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Mr=/\{\n\/\* \[wrapped with (.+)\] \*/,Kr=/,? & /,ir=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,co=/[()=,{}\[\]\/\s]/,Sa=/\\(\\)?/g,qi=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,yi=/\w*$/,oo=/^[-+]0x[0-9a-f]+$/i,Mo=/^0b[01]+$/i,Ti=/^\[object .+?Constructor\]$/,Ua=/^0o[0-7]+$/i,Ea=/^(?:0|[1-9]\d*)$/,ns=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Aa=/($^)/,Al=/['\n\r\u2028\u2029\\]/g,ao="\\ud800-\\udfff",Pu="\\u0300-\\u036f",tu="\\ufe20-\\ufe2f",so="\\u20d0-\\u20ff",Dr=Pu+tu+so,Za="\\u2700-\\u27bf",Ps="a-z\\xdf-\\xf6\\xf8-\\xff",ia="\\xac\\xb1\\xd7\\xf7",Qe="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",bt="\\u2000-\\u206f",fn=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Nn="A-Z\\xc0-\\xd6\\xd8-\\xde",un="\\ufe0e\\ufe0f",er=ia+Qe+bt+fn,Pi="['’]",ho="["+ao+"]",_s="["+er+"]",Ns="["+Dr+"]",vA="\\d+",ri="["+Za+"]",wi="["+Ps+"]",Xa="[^"+ao+er+vA+Za+Ps+Nn+"]",Ai="\\ud83c[\\udffb-\\udfff]",ca="(?:"+Ns+"|"+Ai+")",iA="[^"+ao+"]",ls="(?:\\ud83c[\\udde6-\\uddff]){2}",Lr="[\\ud800-\\udbff][\\udc00-\\udfff]",Ei="["+Nn+"]",Ja="\\u200d",Rs="(?:"+wi+"|"+Xa+")",So="(?:"+Ei+"|"+Xa+")",Gs="(?:"+Pi+"(?:d|ll|m|re|s|t|ve))?",hu="(?:"+Pi+"(?:D|LL|M|RE|S|T|VE))?",zl=ca+"?",rs="["+un+"]?",Vs="(?:"+Ja+"(?:"+[iA,ls,Lr].join("|")+")"+rs+zl+")*",fo="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",ms="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",Ms=rs+zl+Vs,el="(?:"+[ri,ls,Lr].join("|")+")"+Ms,Ks="(?:"+[iA+Ns+"?",Ns,ls,Lr,ho].join("|")+")",El=RegExp(Pi,"g"),oA=RegExp(Ns,"g"),Vi=RegExp(Ai+"(?="+Ai+")|"+Ks+Ms,"g"),nu=RegExp([Ei+"?"+wi+"+"+Gs+"(?="+[_s,Ei,"$"].join("|")+")",So+"+"+hu+"(?="+[_s,Ei+Rs,"$"].join("|")+")",Ei+"?"+Rs+"+"+Gs,Ei+"+"+hu,ms,fo,vA,el].join("|"),"g"),Ui=RegExp("["+Ja+ao+Dr+un+"]"),Jr=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,ru=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Ni=-1,lo={};lo[me]=lo[Xe]=lo[Et]=lo[Yt]=lo[nn]=lo[rr]=lo[Ee]=lo[oe]=lo[ve]=!0,lo[ft]=lo[Lt]=lo[Ge]=lo[Fe]=lo[Ae]=lo[Te]=lo[Je]=lo[yt]=lo[Ut]=lo[en]=lo[yn]=lo[sr]=lo[Jn]=lo[mr]=lo[Qn]=!1;var Ri={};Ri[ft]=Ri[Lt]=Ri[Ge]=Ri[Ae]=Ri[Fe]=Ri[Te]=Ri[me]=Ri[Xe]=Ri[Et]=Ri[Yt]=Ri[nn]=Ri[Ut]=Ri[en]=Ri[yn]=Ri[sr]=Ri[Jn]=Ri[mr]=Ri[pr]=Ri[rr]=Ri[Ee]=Ri[oe]=Ri[ve]=!0,Ri[Je]=Ri[yt]=Ri[Qn]=!1;var ee={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"Line truncated
/* [wrapped with `+P+`] */
`)}function y(x){return vo(x)||bm(x)||!!(sf&&x&&x[sf])}function I(x,P){var V=typeof x;return P=P??$e,!!P&&(V=="number"||V!="symbol"&&Ea.test(x))&&x>-1&&x%1==0&&x<P}function B(x,P,V){if(!bl(V))return!1;var ye=typeof P;return(ye=="number"?Ic(V)&&I(P,V.length):ye=="string"&&P in V)?lh(V[P],x):!1}function K(x,P){if(vo(x))return!1;var V=typeof x;return V=="number"||V=="symbol"||V=="boolean"||x==null||KA(x)?!0:Sn.test(x)||!Tn.test(x)||P!=null&&x in Vo(P)}function H(x){var P=typeof x;return P=="string"||P=="number"||P=="symbol"||P=="boolean"?x!=="__proto__":x===null}function ue(x){var P=kd(x),V=et[P];if(typeof V!="function"||!(P in $r.prototype))return!1;if(x===V)return!0;var ye=ah(V);return!!ye&&x===ye[0]}function _e(x){return!!$A&&$A in x}var Ie=Gi?ac:O3;function Ue(x){var P=x&&x.constructor,V=typeof P=="function"&&P.prototype||kl;return x===V}function ct(x){return x===x&&!bl(x)}function xt(x,P){return function(V){return V==null?!1:V[x]===P&&(P!==t||x in Vo(V))}}function Ht(x){var P=yr(x,function(ye){return V.size===g&&V.clear(),ye}),V=P.cache;return P}function Wt(x,P){var V=x[1],ye=P[1],Ye=V|ye,lt=Ye<(z|q|N),Rt=ye==N&&V==re||ye==N&&V==ie&&x[7].length<=P[8]||ye==(N|ie)&&P[7].length<=P[8]&&V==re;if(!(lt||Rt))return x;ye&z&&(x[2]=P[2],Ye|=V&z?0:Q);var Qt=P[3];if(Qt){var on=x[3];x[3]=on?ic(on,Qt,P[4]):Qt,x[4]=on?tl(x[3],b):P[4]}return Qt=P[5],Qt&&(on=x[5],x[5]=on?Ih(on,Qt,P[6]):Qt,x[6]=on?tl(x[5],b):P[6]),Qt=P[7],Qt&&(x[7]=Qt),ye&N&&(x[8]=x[8]==null?P[8]:cs(x[8],P[8])),x[9]==null&&(x[9]=P[9]),x[0]=P[0],x[1]=Ye,x}function xn(x){var P=[];if(x!=null)for(var V in Vo(x))P.push(V);return P}function Pn(x){return CA.call(x)}function Yn(x,P,V){return P=zo(P===t?x.length-1:P,0),function(){for(var ye=arguments,Ye=-1,lt=zo(ye.length-P,0),Rt=sn(lt);++Ye<lt;)Rt[Ye]=ye[P+Ye];Ye=-1;for(var Qt=sn(P+1);++Ye<P;)Qt[Ye]=ye[Ye];return Qt[P]=V(Rt),Hs(x,this,Qt)}}function Xn(x,P){return P.length<2?x:wu(x,Si(P,0,-1))}function _r(x,P){for(var V=x.length,ye=cs(P.length,V),Ye=Ta(x);ye--;){var lt=P[ye];x[ye]=I(lt,V)?Ye[lt]:t}return x}function ur(x,P){if(!(P==="constructor"&&typeof x[P]=="function")&&P!="__proto__")return x[P]}var Fr=ko(Bi),ai=Qc||function(x,P){return gr.setTimeout(x,P)},Gr=ko($i);function Xi(x,P,V){var ye=P+"";return Gr(x,A(ye,Pa(ha(ye),V)))}function ko(x){var P=0,V=0;return function(){var ye=Df(),Ye=be-(ye-V);if(V=ye,Ye>0){if(++P>=fe)return arguments[0]}else P=0;return x.apply(t,arguments)}}function qa(x,P){var V=-1,ye=x.length,Ye=ye-1;for(P=P===t?ye:P;++V<P;){var lt=vn(V,Ye),Rt=x[lt];x[lt]=x[V],x[V]=Rt}return x.length=P,x}var aa=Ht(function(x){var P=[];return x.charCodeAt(0)===46&&P.push(""),x.replace(Ar,function(V,ye,Ye,lt){P.push(Ye?lt.replace(Sa,"$1"):ye||V)}),P});function Ca(x){if(typeof x=="string"||KA(x))return x;var P=x+"";return P=="0"&&1/x==-1/0?"-0":P}function ba(x){if(x!=null){try{return YA.call(x)}catch{}try{return x+""}catch{}}return""}function Pa(x,P){return Ba(Ct,function(V){var ye="_."+V[0];P&V[1]&&!Ku(x,ye)&&x.push(ye)}),x.sort()}function Yl(x){if(x instanceof $r)return x.clone();var P=new Ki(x.__wrapped__,x.__chain__);return P.__actions__=Ta(x.__actions__),P.__index__=x.__index__,P.__values__=x.__values__,P}function Ya(x,P,V){(V?B(x,P,V):P===t)?P=1:P=zo(w(P),0);var ye=x==null?0:x.length;if(!ye||P<1)return[];for(var Ye=0,lt=0,Rt=sn(ZA(ye/P));Ye<ye;)Rt[lt++]=Si(x,Ye,Ye+=P);return Rt}function xa(x){for(var P=-1,V=x==null?0:x.length,ye=0,Ye=[];++P<V;){var lt=x[P];lt&&(Ye[ye++]=lt)}return Ye}function hs(){var x=arguments.length;if(!x)return[];for(var P=sn(x-1),V=arguments[0],ye=x;ye--;)P[ye-1]=arguments[ye];return Du(vo(V)?Ta(V):[V],Ws(P,1))}var gi=Bn(function(x,P){return Cl(x)?xu(x,Ws(P,1,Cl,!0)):[]}),Xo=Bn(function(x,P){var V=RA(P);return Cl(V)&&(V=t),Cl(x)?xu(x,Ws(P,1,Cl,!0),di(V,2)):[]}),la=Bn(function(x,P){var V=RA(P);return Cl(V)&&(V=t),Cl(x)?xu(x,Ws(P,1,Cl,!0),t,V):[]});function fa(x,P,V){var ye=x==null?0:x.length;return ye?(P=V||P===t?1:w(P),Si(x,P<0?0:P,ye)):[]}function Is(x,P,V){var ye=x==null?0:x.length;return ye?(P=V||P===t?1:w(P),P=ye-P,Si(x,0,P<0?0:P)):[]}function Kl(x,P){return x&&x.length?fl(x,di(P,3),!0,!0):[]}function Ro(x,P){return x&&x.length?fl(x,di(P,3),!0):[]}function Pd(x,P,V,ye){var Ye=x==null?0:x.length;return Ye?(V&&typeof V!="number"&&B(x,P,V)&&(V=0,ye=Ye),ih(x,P,V,ye)):[]}function yl(x,P,V){var ye=x==null?0:x.length;if(!ye)return-1;var Ye=V==null?0:w(V);return Ye<0&&(Ye=zo(ye+Ye,0)),hc(x,di(P,3),Ye)}function PA(x,P,V){var ye=x==null?0:x.length;if(!ye)return-1;var Ye=ye-1;return V!==t&&(Ye=w(V),Ye=V<0?zo(ye+Ye,0):cs(Ye,ye-1)),hc(x,di(P,3),Ye,!0)}function Xc(x){var P=x==null?0:x.length;return P?Ws(x,1):[]}function vl(x){var P=x==null?0:x.length;return P?Ws(x,We):[]}function _l(x,P){var V=x==null?0:x.length;return V?(P=P===t?1:w(P),Ws(x,P)):[]}function df(x){for(var P=-1,V=x==null?0:x.length,ye={};++P<V;){var Ye=x[P];ye[Ye[0]]=Ye[1]}return ye}function Nf(x){return x&&x.length?x[0]:t}function Rh(x,P,V){var ye=x==null?0:x.length;if(!ye)return-1;var Ye=V==null?0:w(V);return Ye<0&&(Ye=zo(y Line truncated
`;x.replace(Zr,function(eo,xs,Ls,Nh,zd,Gh){return Ls||(Ls=Nh),cr+=x.slice(Wn,Gh).replace(Al,Bl),xs&&(Qt=!0,cr+=`' +
__e(`+xs+`) +
`)}function y(x){return vo(x)||bm(x)||!!(sf&&x&&x[sf])}function I(x,P){var V=typeof x;return P=P??$e,!!P&&(V=="number"||V!="symbol"&&Ea.test(x))&&x>-1&&x%1==0&&x<P}function B(x,P,V){if(!bl(V))return!1;var ye=typeof P;return(ye=="number"?Ic(V)&&I(P,V.length):ye=="string"&&P in V)?lh(V[P],x):!1}function K(x,P){if(vo(x))return!1;var V=typeof x;return V=="number"||V=="symbol"||V=="boolean"||x==null||KA(x)?!0:Sn.test(x)||!Tn.test(x)||P!=null&&x in Vo(P)}function H(x){var P=typeof x;return P=="string"||P=="number"||P=="symbol"||P=="boolean"?x!=="__proto__":x===null}function ue(x){var P=kd(x),V=et[P];if(typeof V!="function"||!(P in $r.prototype))return!1;if(x===V)return!0;var ye=ah(V);return!!ye&&x===ye[0]}function _e(x){return!!$A&&$A in x}var Ie=Gi?ac:O3;function Ue(x){var P=x&&x.constructor,V=typeof P=="function"&&P.prototype||kl;return x===V}function ct(x){return x===x&&!bl(x)}function xt(x,P){return function(V){return V==null?!1:V[x]===P&&(P!==t||x in Vo(V))}}function Ht(x){var P=yr(x,function(ye){return V.size===g&&V.clear(),ye}),V=P.cache;return P}function Wt(x,P){var V=x[1],ye=P[1],Ye=V|ye,lt=Ye<(z|q|N),Rt=ye==N&&V==re||ye==N&&V==ie&&x[7].length<=P[8]||ye==(N|ie)&&P[7].length<=P[8]&&V==re;if(!(lt||Rt))return x;ye&z&&(x[2]=P[2],Ye|=V&z?0:Q);var Qt=P[3];if(Qt){var on=x[3];x[3]=on?ic(on,Qt,P[4]):Qt,x[4]=on?tl(x[3],b):P[4]}return Qt=P[5],Qt&&(on=x[5],x[5]=on?Ih(on,Qt,P[6]):Qt,x[6]=on?tl(x[5],b):P[6]),Qt=P[7],Qt&&(x[7]=Qt),ye&N&&(x[8]=x[8]==null?P[8]:cs(x[8],P[8])),x[9]==null&&(x[9]=P[9]),x[0]=P[0],x[1]=Ye,x}function xn(x){var P=[];if(x!=null)for(var V in Vo(x))P.push(V);return P}function Pn(x){return CA.call(x)}function Yn(x,P,V){return P=zo(P===t?x.length-1:P,0),function(){for(var ye=arguments,Ye=-1,lt=zo(ye.length-P,0),Rt=sn(lt);++Ye<lt;)Rt[Ye]=ye[P+Ye];Ye=-1;for(var Qt=sn(P+1);++Ye<P;)Qt[Ye]=ye[Ye];return Qt[P]=V(Rt),Hs(x,this,Qt)}}function Xn(x,P){return P.length<2?x:wu(x,Si(P,0,-1))}function _r(x,P){for(var V=x.length,ye=cs(P.length,V),Ye=Ta(x);ye--;){var lt=P[ye];x[ye]=I(lt,V)?Ye[lt]:t}return x}function ur(x,P){if(!(P==="constructor"&&typeof x[P]=="function")&&P!="__proto__")return x[P]}var Fr=ko(Bi),ai=Qc||function(x,P){return gr.setTimeout(x,P)},Gr=ko($i);function Xi(x,P,V){var ye=P+"";return Gr(x,A(ye,Pa(ha(ye),V)))}function ko(x){var P=0,V=0;return function(){var ye=Df(),Ye=be-(ye-V);if(V=ye,Ye>0){if(++P>=fe)return arguments[0]}else P=0;return x.apply(t,arguments)}}function qa(x,P){var V=-1,ye=x.length,Ye=ye-1;for(P=P===t?ye:P;++V<P;){var lt=vn(V,Ye),Rt=x[lt];x[lt]=x[V],x[V]=Rt}return x.length=P,x}var aa=Ht(function(x){var P=[];return x.charCodeAt(0)===46&&P.push(""),x.replace(Ar,function(V,ye,Ye,lt){P.push(Ye?lt.replace(Sa,"$1"):ye||V)}),P});function Ca(x){if(typeof x=="string"||KA(x))return x;var P=x+"";return P=="0"&&1/x==-1/0?"-0":P}function ba(x){if(x!=null){try{return YA.call(x)}catch{}try{return x+""}catch{}}return""}function Pa(x,P){return Ba(Ct,function(V){var ye="_."+V[0];P&V[1]&&!Ku(x,ye)&&x.push(ye)}),x.sort()}function Yl(x){if(x instanceof $r)return x.clone();var P=new Ki(x.__wrapped__,x.__chain__);return P.__actions__=Ta(x.__actions__),P.__index__=x.__index__,P.__values__=x.__values__,P}function Ya(x,P,V){(V?B(x,P,V):P===t)?P=1:P=zo(w(P),0);var ye=x==null?0:x.length;if(!ye||P<1)return[];for(var Ye=0,lt=0,Rt=sn(ZA(ye/P));Ye<ye;)Rt[lt++]=Si(x,Ye,Ye+=P);return Rt}function xa(x){for(var P=-1,V=x==null?0:x.length,ye=0,Ye=[];++P<V;){var lt=x[P];lt&&(Ye[ye++]=lt)}return Ye}function hs(){var x=arguments.length;if(!x)return[];for(var P=sn(x-1),V=arguments[0],ye=x;ye--;)P[ye-1]=arguments[ye];return Du(vo(V)?Ta(V):[V],Qs(P,1))}var gi=Bn(function(x,P){return Cl(x)?xu(x,Qs(P,1,Cl,!0)):[]}),Xo=Bn(function(x,P){var V=RA(P);return Cl(V)&&(V=t),Cl(x)?xu(x,Qs(P,1,Cl,!0),di(V,2)):[]}),la=Bn(function(x,P){var V=RA(P);return Cl(V)&&(V=t),Cl(x)?xu(x,Qs(P,1,Cl,!0),t,V):[]});function fa(x,P,V){var ye=x==null?0:x.length;return ye?(P=V||P===t?1:w(P),Si(x,P<0?0:P,ye)):[]}function ks(x,P,V){var ye=x==null?0:x.length;return ye?(P=V||P===t?1:w(P),P=ye-P,Si(x,0,P<0?0:P)):[]}function Kl(x,P){return x&&x.length?fl(x,di(P,3),!0,!0):[]}function Ro(x,P){return x&&x.length?fl(x,di(P,3),!0):[]}function Pd(x,P,V,ye){var Ye=x==null?0:x.length;return Ye?(V&&typeof V!="number"&&B(x,P,V)&&(V=0,ye=Ye),ih(x,P,V,ye)):[]}function yl(x,P,V){var ye=x==null?0:x.length;if(!ye)return-1;var Ye=V==null?0:w(V);return Ye<0&&(Ye=zo(ye+Ye,0)),hc(x,di(P,3),Ye)}function PA(x,P,V){var ye=x==null?0:x.length;if(!ye)return-1;var Ye=ye-1;return V!==t&&(Ye=w(V),Ye=V<0?zo(ye+Ye,0):cs(Ye,ye-1)),hc(x,di(P,3),Ye,!0)}function Xc(x){var P=x==null?0:x.length;return P?Qs(x,1):[]}function vl(x){var P=x==null?0:x.length;return P?Qs(x,We):[]}function _l(x,P){var V=x==null?0:x.length;return V?(P=P===t?1:w(P),Qs(x,P)):[]}function df(x){for(var P=-1,V=x==null?0:x.length,ye={};++P<V;){var Ye=x[P];ye[Ye[0]]=Ye[1]}return ye}function Nf(x){return x&&x.length?x[0]:t}function Rh(x,P,V){var ye=x==null?0:x.length;if(!ye)return-1;var Ye=V==null?0:w(V);return Ye<0&&(Ye=zo(y Line truncated
`;x.replace(Zr,function(eo,ws,Fs,Nh,zd,Gh){return Fs||(Fs=Nh),cr+=x.slice(Wn,Gh).replace(Al,Bl),ws&&(Qt=!0,cr+=`' +
__e(`+ws+`) +
'`),zd&&(on=!0,cr+=`';
`+zd+`;
__p += '`),Ls&&(cr+=`' +
((__t = (`+Ls+`)) == null ? '' : __t) +
__p += '`),Fs&&(cr+=`' +
((__t = (`+Fs+`)) == null ? '' : __t) +
'`),Wn=Gh+eo.length,eo}),cr+=`';
`;var Ji=Uo.call(P,"variable")&&P.variable;if(!Ji)cr=`with (obj) {
`+cr+`
@@ -68,14 +68,14 @@ __p += '`),Ls&&(cr+=`' +
function print() { __p += __j.call(arguments, '') }
`:`;
`)+cr+`return __p
}`;var os=EC(function(){return Co(lt,xi+"return "+cr).apply(t,Rt)});if(os.source=cr,Rp(os))throw os;return os}function _3(x){return ne(x).toLowerCase()}function C3(x){return ne(x).toUpperCase()}function b3(x,P,V){if(x=ne(x),x&&(V||P===t))return Fc(x);if(!x||!(P=Go(P)))return x;var ye=Lu(x),Ye=Lu(P),lt=aA(ye,Ye),Rt=Uc(ye,Ye)+1;return sa(ye,lt,Rt).join("")}function x3(x,P,V){if(x=ne(x),x&&(V||P===t))return x.slice(0,$d(x)+1);if(!x||!(P=Go(P)))return x;var ye=Lu(x),Ye=Uc(ye,Lu(P))+1;return sa(ye,0,Ye).join("")}function w3(x,P,V){if(x=ne(x),x&&(V||P===t))return x.replace(Fn,"");if(!x||!(P=Go(P)))return x;var ye=Lu(x),Ye=aA(ye,Lu(P));return sa(ye,Ye).join("")}function jh(x,P){var V=de,ye=we;if(bl(P)){var Ye="separator"in P?P.separator:Ye;V="length"in P?w(P.length):V,ye="omission"in P?Go(P.omission):ye}x=ne(x);var lt=x.length;if(zc(x)){var Rt=Lu(x);lt=Rt.length}if(V>=lt)return x;var Qt=V-jc(ye);if(Qt<1)return ye;var on=Rt?sa(Rt,0,Qt).join(""):x.slice(0,Qt);if(Ye===t)return on+ye;if(Rt&&(Qt+=on.length-Qt),H0(Ye)){if(x.slice(Qt).search(Ye)){var Wn,qn=on;for(Ye.global||(Ye=QA(Ye.source,ne(yi.exec(Ye))+"g")),Ye.lastIndex=0;Wn=Ye.exec(qn);)var cr=Wn.index;on=on.slice(0,cr===t?Qt:cr)}}else if(x.indexOf(Go(Ye),Qt)!=Qt){var Zr=on.lastIndexOf(Ye);Zr>-1&&(on=on.slice(0,Zr))}return on+ye}function n1(x){return x=ne(x),x&&vt.test(x)?x.replace(pt,Vd):x}var MC=oh(function(x,P,V){return x+(V?" ":"")+P.toUpperCase()}),Jy=bp("toUpperCase");function SC(x,P,V){return x=ne(x),P=V?t:P,P===t?rf(x)?of(x):yp(x):x.match(P)||[]}var EC=Bn(function(x,P){try{return Hs(x,t,P)}catch(V){return Rp(V)?V:new _i(V)}}),FA=Oc(function(x,P){return Ba(P,function(V){V=Ca(V),Qu(x,V,$n(x[V],x))}),x});function Fd(x){var P=x==null?0:x.length,V=di();return x=P?Ms(x,function(ye){if(typeof ye[1]!="function")throw new Il(a);return[V(ye[0]),ye[1]]}):[],Bn(function(ye){for(var Ye=-1;++Ye<P;){var lt=x[Ye];if(Hs(lt[0],this,ye))return Hs(lt[1],this,ye)}})}function Mm(x){return Lf(Cs(x,E))}function Ud(x){return function(){return x}}function Sm(x,P){return x==null||x!==x?P:x}var yf=Th(),iW=Th(!0);function ch(x){return x}function M3(x){return xe(typeof x=="function"?x:Cs(x,E))}function oW(x){return ut(Cs(x,E))}function sW(x,P){return ot(x,Cs(P,E))}var aW=Bn(function(x,P){return function(V){return Ql(V,x,P)}}),lW=Bn(function(x,P){return function(V){return Ql(x,V,P)}});function S3(x,P,V){var ye=Nr(P),Ye=Mc(P,ye);V==null&&!(bl(P)&&(Ye.length||!ye.length))&&(V=P,P=x,x=this,Ye=Mc(P,Nr(P)));var lt=!(bl(V)&&"chain"in V)||!!V.chain,Rt=ac(x);return Ba(Ye,function(Qt){var on=P[Qt];x[Qt]=on,Rt&&(x.prototype[Qt]=function(){var Wn=this.__chain__;if(lt||Wn){var qn=x(this.__wrapped__),cr=qn.__actions__=Ta(this.__actions__);return cr.push({func:on,args:arguments,thisArg:x}),qn.__chain__=Wn,qn}return on.apply(x,Du([this.value()],arguments))})}),x}function uW(){return gr._===this&&(gr._=Tl),this}function E3(){}function AW(x){return x=w(x),Bn(function(P){return St(P,x)})}var cW=Uf(Ms),dW=Uf(ld),hW=Uf(sA);function JI(x){return K(x)?tf(Ca(x)):Tt(x)}function fW(x){return function(P){return x==null?t:wu(x,P)}}var pW=Od(),mW=Od(!0);function B3(){return[]}function O3(){return!1}function gW(){return{}}function yW(){return""}function vW(){return!0}function _W(x,P){if(x=w(x),x<1||x>$e)return[];var V=Ne,ye=cs(x,Ne);P=di(P),x-=Ne;for(var Ye=dd(ye,P);++V<x;)P(V);return Ye}function CW(x){return vo(x)?Ms(x,Ca):KA(x)?[x]:Ta(aa(ne(x)))}function bW(x){var P=++Nc;return ne(x)+P}var xW=sh(function(x,P){return x+P},0),wW=Rl("ceil"),MW=sh(function(x,P){return x/P},1),SW=Rl("floor");function EW(x){return x&&x.length?EA(x,ch,au):t}function BW(x,P){return x&&x.length?EA(x,di(P,2),au):t}function OW(x){return Ad(x,ch)}function IW(x,P){return Ad(x,di(P,2))}function kW(x){return x&&x.length?EA(x,ch,qe):t}function TW(x,P){return x&&x.length?EA(x,di(P,2),qe):t}var PW=sh(function(x,P){return x*P},1),RW=Rl("round"),KW=sh(function(x,P){return x-P},0);function DW(x){return x&&x.length?Mh(x,ch):0}function LW(x,P){return x&&x.length?Mh(x,di(P,2)):0}return et.after=Cn,et.ary=ar,et.assign=ce,et.assignIn=Ce,et.assignInWith=Re,et.assignWith=Le,et.at=je,et.before=dr,et.bind=$n,et.bindAll=FA,et.bindKey=zr,et.castArray=lC,et.chain=qf,et.chunk=Ya,et.compact=xa,et.concat=hs,et.cond=Fd,et.conforms=Mm,et.constant=Ud,et.countBy=Vg,et.create=He,et.curry=ii,et.curryRight=li,et.debounce=sl,et.defaults=st,et.defaultsDeep=gt,et.defer=an,et.delay=Zt,et.difference=gi,et.differenceBy=Xo,et.differenceWith=la,et.drop=fa,et.dropRight=Is,et.dropRightWhile=Kl,et.dropWhile=Ro,et.fill=Pd,et.filter=ym,et.flatMap=ed,et.flatMapDeep=Fh,et.flatMapDepth=o0,et.flatten=Xc,et.flattenDeep=vl,et.flattenDepth=_l,et.flip=An,et.flow=yf,et.flowRight=iW,et.fromPairs=df,et.functions=Ln,et.functionsIn=pn,et.groupBy=a0,et.initial=hf,et.intersection=$m,et.intersectionBy=ff,et.intersectionWith=Vm,et.invert=lr,et.invertBy=En,et.invokeMap=Y0,et.iteratee=M3,et.keyBy=l0,et.keys=Nr,et.keysIn=Qr,et.map=kp,et.mapKeys=ei,et.mapValues=Ko,et.matches=oW,et.matchesProperty=sW,et.me Line truncated
Use an identity property function instead: \`{ "type": "identity", "property": ${JSON.stringify(E[1])} }\`.`)];const S=[];return n.layerType==="symbol"&&(o==="text-field"&&i&&!i.glyphs&&S.push(new Sr(t,a,'use of "text-field" requires a style "glyphs" property')),o==="text-font"&&P_(Bg(a))&&Iu(a.type)==="identity"&&S.push(new Sr(t,a,'"text-font" does not support identity functions'))),S.concat(r({key:n.key,value:a,valueSpec:b,style:i,styleSpec:s,expressionContext:"property",propertyType:e,propertyKey:o}))}function XF(n){return ZF(n,"paint")}function JF(n){return ZF(n,"layout")}function eU(n){let e=[];const t=n.value,r=n.key,i=n.style,s=n.styleSpec;!t.type&&!t.ref&&e.push(new Sr(r,t,'either "type" or "ref" is required'));let a=Iu(t.type);const o=Iu(t.ref);if(t.id){const d=Iu(t.id);for(let g=0;g<n.arrayIndex;g++){const b=i.layers[g];Iu(b.id)===d&&e.push(new Sr(r,t.id,`duplicate layer id "${t.id}", previously used at line ${b.id.__line__}`))}}if("ref"in t){["type","source","source-layer","filter","layout"].forEach(g=>{g in t&&e.push(new Sr(r,t[g],`"${g}" is prohibited for ref layers`))});let d;i.layers.forEach(g=>{Iu(g.id)===o&&(d=g)}),d?d.ref?e.push(new Sr(r,t.ref,"ref cannot reference another ref layer")):a=Iu(d.type):e.push(new Sr(r,t.ref,`ref layer "${o}" not found`))}else if(a!=="background")if(!t.source)e.push(new Sr(r,t,'missing required property "source"'));else{const d=i.sources&&i.sources[t.source],g=d&&Iu(d.type);d?g==="vector"&&a==="raster"?e.push(new Sr(r,t.source,`layer "${t.id}" requires a raster source`)):g!=="raster-dem"&&a==="hillshade"?e.push(new Sr(r,t.source,`layer "${t.id}" requires a raster-dem source`)):g==="raster"&&a!=="raster"?e.push(new Sr(r,t.source,`layer "${t.id}" requires a vector source`)):g==="vector"&&!t["source-layer"]?e.push(new Sr(r,t,`layer "${t.id}" must specify a "source-layer"`)):g==="raster-dem"&&a!=="hillshade"?e.push(new Sr(r,t.source,"raster-dem source can only be used with layer type 'hillshade'.")):a==="line"&&t.paint&&t.paint["line-gradient"]&&(g!=="geojson"||!d.lineMetrics)&&e.push(new Sr(r,t,`layer "${t.id}" specifies a line-gradient, which requires a GeoJSON source with \`lineMetrics\` enabled.`)):e.push(new Sr(r,t.source,`source "${t.source}" not found`))}return e=e.concat(Mf({key:r,value:t,valueSpec:s.layer,style:n.style,styleSpec:n.styleSpec,validateSpec:n.validateSpec,objectElementValidators:{"*"(){return[]},type(){return n.validateSpec({key:`${r}.type`,value:t.type,valueSpec:s.layer.type,style:n.style,styleSpec:n.styleSpec,validateSpec:n.validateSpec,object:t,objectKey:"type"})},filter:jB,layout(d){return Mf({layer:t,key:d.key,value:d.value,style:d.style,styleSpec:d.styleSpec,validateSpec:d.validateSpec,objectElementValidators:{"*"(g){return JF(py({layerType:a},g))}}})},paint(d){return Mf({layer:t,key:d.key,value:d.value,style:d.style,styleSpec:d.styleSpec,validateSpec:d.validateSpec,objectElementValidators:{"*"(g){return XF(py({layerType:a},g))}}})}}})),e}function Og(n){const e=n.value,t=n.key,r=zs(e);return r!=="string"?[new Sr(t,e,`string expected, ${r} found`)]:[]}function AV(n){var e;const t=(e=n.sourceName)!==null&&e!==void 0?e:"",r=n.value,i=n.styleSpec,s=i.source_raster_dem,a=n.style;let o=[];const d=zs(r);if(r===void 0)return o;if(d!=="object")return o.push(new Sr("source_raster_dem",r,`object expected, ${d} found`)),o;const b=Iu(r.encoding)==="custom",E=["redFactor","greenFactor","blueFactor","baseShift"],S=n.value.encoding?`"${n.value.encoding}"`:"Default";for(const O in r)!b&&E.includes(O)?o.push(new Sr(O,r[O],`In "${t}": "${O}" is only valid when "encoding" is set to "custom". ${S} encoding found`)):s[O]?o=o.concat(n.validateSpec({key:O,value:r[O],valueSpec:s[O],validateSpec:n.validateSpec,style:a,styleSpec:i})):o.push(new Sr(O,r[O],`unknown property "${O}"`));return o}const h7={promoteId:cV};function tU(n){const e=n.value,t=n.key,r=n.styleSpec,i=n.style,s=n.validateSpec;if(!e.type)return[new Sr(t,e,'"type" is required')];const a=Iu(e.type);let o;switch(a){case"vector":case"raster":return o=Mf({key:t,value:e,valueSpec:r[`source_${a.replace("-","_")}`],style:n.style,styleSpec:r,objectElementValidators:h7,validateSpec:s}),o;case"raster-dem":return o=AV({sourceName:t,value:e,style:n.style,styleSpec:r,validateSpec:s}),o;case"geojson":if(o=Mf({key:t,value:e,valueSpec:r.source_geojson,style:i,styleSpec:r,validateSpec:s,objectElementValidators:h7}),e.cluster)for(const d in e.clusterProperties){const[g,b]=e.clusterProperties[d],E=typeof g=="string"?[g,["accumulated"],["get",d]]:g;o.push(...my({key:`${t}.${d}.map`,value:b,validateSpec:s,expressionContext:"cluster-map"})),o.push(...my({key:`${t}.${d}.reduce`,value:E,validateSpec:s,expressionContext:"cluster-reduce"}))}return o;case"video":return Mf({key:t,value:e,valueSpec:r.source_video,style:i,validateSpec:s,styleSpec:r});case"image":return Mf({key:t,value:e,valueSpec:r.source_image,style:i,validateSpec:s,styleSpec:r});case"canvas":return[new Sr(t,null,"Please use runtime APIs to add canvas sources,Line truncated
}`;var os=EC(function(){return Co(lt,xi+"return "+cr).apply(t,Rt)});if(os.source=cr,Rp(os))throw os;return os}function _3(x){return ne(x).toLowerCase()}function C3(x){return ne(x).toUpperCase()}function b3(x,P,V){if(x=ne(x),x&&(V||P===t))return Fc(x);if(!x||!(P=Go(P)))return x;var ye=Lu(x),Ye=Lu(P),lt=aA(ye,Ye),Rt=Uc(ye,Ye)+1;return sa(ye,lt,Rt).join("")}function x3(x,P,V){if(x=ne(x),x&&(V||P===t))return x.slice(0,$d(x)+1);if(!x||!(P=Go(P)))return x;var ye=Lu(x),Ye=Uc(ye,Lu(P))+1;return sa(ye,0,Ye).join("")}function w3(x,P,V){if(x=ne(x),x&&(V||P===t))return x.replace(Fn,"");if(!x||!(P=Go(P)))return x;var ye=Lu(x),Ye=aA(ye,Lu(P));return sa(ye,Ye).join("")}function jh(x,P){var V=de,ye=we;if(bl(P)){var Ye="separator"in P?P.separator:Ye;V="length"in P?w(P.length):V,ye="omission"in P?Go(P.omission):ye}x=ne(x);var lt=x.length;if(zc(x)){var Rt=Lu(x);lt=Rt.length}if(V>=lt)return x;var Qt=V-jc(ye);if(Qt<1)return ye;var on=Rt?sa(Rt,0,Qt).join(""):x.slice(0,Qt);if(Ye===t)return on+ye;if(Rt&&(Qt+=on.length-Qt),H0(Ye)){if(x.slice(Qt).search(Ye)){var Wn,qn=on;for(Ye.global||(Ye=QA(Ye.source,ne(yi.exec(Ye))+"g")),Ye.lastIndex=0;Wn=Ye.exec(qn);)var cr=Wn.index;on=on.slice(0,cr===t?Qt:cr)}}else if(x.indexOf(Go(Ye),Qt)!=Qt){var Zr=on.lastIndexOf(Ye);Zr>-1&&(on=on.slice(0,Zr))}return on+ye}function n1(x){return x=ne(x),x&&vt.test(x)?x.replace(pt,Vd):x}var MC=oh(function(x,P,V){return x+(V?" ":"")+P.toUpperCase()}),Jy=bp("toUpperCase");function SC(x,P,V){return x=ne(x),P=V?t:P,P===t?rf(x)?of(x):yp(x):x.match(P)||[]}var EC=Bn(function(x,P){try{return Hs(x,t,P)}catch(V){return Rp(V)?V:new _i(V)}}),FA=Oc(function(x,P){return Ba(P,function(V){V=Ca(V),Qu(x,V,$n(x[V],x))}),x});function Fd(x){var P=x==null?0:x.length,V=di();return x=P?Ss(x,function(ye){if(typeof ye[1]!="function")throw new Il(a);return[V(ye[0]),ye[1]]}):[],Bn(function(ye){for(var Ye=-1;++Ye<P;){var lt=x[Ye];if(Hs(lt[0],this,ye))return Hs(lt[1],this,ye)}})}function Mm(x){return Lf(bs(x,E))}function Ud(x){return function(){return x}}function Sm(x,P){return x==null||x!==x?P:x}var yf=Th(),iW=Th(!0);function ch(x){return x}function M3(x){return xe(typeof x=="function"?x:bs(x,E))}function oW(x){return ut(bs(x,E))}function sW(x,P){return ot(x,bs(P,E))}var aW=Bn(function(x,P){return function(V){return Ql(V,x,P)}}),lW=Bn(function(x,P){return function(V){return Ql(x,V,P)}});function S3(x,P,V){var ye=Nr(P),Ye=Mc(P,ye);V==null&&!(bl(P)&&(Ye.length||!ye.length))&&(V=P,P=x,x=this,Ye=Mc(P,Nr(P)));var lt=!(bl(V)&&"chain"in V)||!!V.chain,Rt=ac(x);return Ba(Ye,function(Qt){var on=P[Qt];x[Qt]=on,Rt&&(x.prototype[Qt]=function(){var Wn=this.__chain__;if(lt||Wn){var qn=x(this.__wrapped__),cr=qn.__actions__=Ta(this.__actions__);return cr.push({func:on,args:arguments,thisArg:x}),qn.__chain__=Wn,qn}return on.apply(x,Du([this.value()],arguments))})}),x}function uW(){return gr._===this&&(gr._=Tl),this}function E3(){}function AW(x){return x=w(x),Bn(function(P){return St(P,x)})}var cW=Uf(Ss),dW=Uf(ld),hW=Uf(sA);function JI(x){return K(x)?tf(Ca(x)):Tt(x)}function fW(x){return function(P){return x==null?t:wu(x,P)}}var pW=Od(),mW=Od(!0);function B3(){return[]}function O3(){return!1}function gW(){return{}}function yW(){return""}function vW(){return!0}function _W(x,P){if(x=w(x),x<1||x>$e)return[];var V=Ne,ye=cs(x,Ne);P=di(P),x-=Ne;for(var Ye=dd(ye,P);++V<x;)P(V);return Ye}function CW(x){return vo(x)?Ss(x,Ca):KA(x)?[x]:Ta(aa(ne(x)))}function bW(x){var P=++Nc;return ne(x)+P}var xW=sh(function(x,P){return x+P},0),wW=Rl("ceil"),MW=sh(function(x,P){return x/P},1),SW=Rl("floor");function EW(x){return x&&x.length?EA(x,ch,au):t}function BW(x,P){return x&&x.length?EA(x,di(P,2),au):t}function OW(x){return Ad(x,ch)}function IW(x,P){return Ad(x,di(P,2))}function kW(x){return x&&x.length?EA(x,ch,qe):t}function TW(x,P){return x&&x.length?EA(x,di(P,2),qe):t}var PW=sh(function(x,P){return x*P},1),RW=Rl("round"),KW=sh(function(x,P){return x-P},0);function DW(x){return x&&x.length?Mh(x,ch):0}function LW(x,P){return x&&x.length?Mh(x,di(P,2)):0}return et.after=Cn,et.ary=ar,et.assign=ce,et.assignIn=Ce,et.assignInWith=Re,et.assignWith=Le,et.at=je,et.before=dr,et.bind=$n,et.bindAll=FA,et.bindKey=zr,et.castArray=lC,et.chain=qf,et.chunk=Ya,et.compact=xa,et.concat=hs,et.cond=Fd,et.conforms=Mm,et.constant=Ud,et.countBy=Vg,et.create=He,et.curry=ii,et.curryRight=li,et.debounce=sl,et.defaults=st,et.defaultsDeep=gt,et.defer=an,et.delay=Zt,et.difference=gi,et.differenceBy=Xo,et.differenceWith=la,et.drop=fa,et.dropRight=ks,et.dropRightWhile=Kl,et.dropWhile=Ro,et.fill=Pd,et.filter=ym,et.flatMap=ed,et.flatMapDeep=Fh,et.flatMapDepth=o0,et.flatten=Xc,et.flattenDeep=vl,et.flattenDepth=_l,et.flip=An,et.flow=yf,et.flowRight=iW,et.fromPairs=df,et.functions=Ln,et.functionsIn=pn,et.groupBy=a0,et.initial=hf,et.intersection=$m,et.intersectionBy=ff,et.intersectionWith=Vm,et.invert=lr,et.invertBy=En,et.invokeMap=Y0,et.iteratee=M3,et.keyBy=l0,et.keys=Nr,et.keysIn=Qr,et.map=kp,et.mapKeys=ei,et.mapValues=Ko,et.matches=oW,et.matchesProperty=sW,et.me Line truncated
Use an identity property function instead: \`{ "type": "identity", "property": ${JSON.stringify(E[1])} }\`.`)];const S=[];return n.layerType==="symbol"&&(o==="text-field"&&i&&!i.glyphs&&S.push(new Sr(t,a,'use of "text-field" requires a style "glyphs" property')),o==="text-font"&&P_(Bg(a))&&Iu(a.type)==="identity"&&S.push(new Sr(t,a,'"text-font" does not support identity functions'))),S.concat(r({key:n.key,value:a,valueSpec:b,style:i,styleSpec:s,expressionContext:"property",propertyType:e,propertyKey:o}))}function XF(n){return ZF(n,"paint")}function JF(n){return ZF(n,"layout")}function eU(n){let e=[];const t=n.value,r=n.key,i=n.style,s=n.styleSpec;!t.type&&!t.ref&&e.push(new Sr(r,t,'either "type" or "ref" is required'));let a=Iu(t.type);const o=Iu(t.ref);if(t.id){const d=Iu(t.id);for(let g=0;g<n.arrayIndex;g++){const b=i.layers[g];Iu(b.id)===d&&e.push(new Sr(r,t.id,`duplicate layer id "${t.id}", previously used at line ${b.id.__line__}`))}}if("ref"in t){["type","source","source-layer","filter","layout"].forEach(g=>{g in t&&e.push(new Sr(r,t[g],`"${g}" is prohibited for ref layers`))});let d;i.layers.forEach(g=>{Iu(g.id)===o&&(d=g)}),d?d.ref?e.push(new Sr(r,t.ref,"ref cannot reference another ref layer")):a=Iu(d.type):e.push(new Sr(r,t.ref,`ref layer "${o}" not found`))}else if(a!=="background")if(!t.source)e.push(new Sr(r,t,'missing required property "source"'));else{const d=i.sources&&i.sources[t.source],g=d&&Iu(d.type);d?g==="vector"&&a==="raster"?e.push(new Sr(r,t.source,`layer "${t.id}" requires a raster source`)):g!=="raster-dem"&&a==="hillshade"?e.push(new Sr(r,t.source,`layer "${t.id}" requires a raster-dem source`)):g==="raster"&&a!=="raster"?e.push(new Sr(r,t.source,`layer "${t.id}" requires a vector source`)):g==="vector"&&!t["source-layer"]?e.push(new Sr(r,t,`layer "${t.id}" must specify a "source-layer"`)):g==="raster-dem"&&a!=="hillshade"?e.push(new Sr(r,t.source,"raster-dem source can only be used with layer type 'hillshade'.")):a==="line"&&t.paint&&t.paint["line-gradient"]&&(g!=="geojson"||!d.lineMetrics)&&e.push(new Sr(r,t,`layer "${t.id}" specifies a line-gradient, which requires a GeoJSON source with \`lineMetrics\` enabled.`)):e.push(new Sr(r,t.source,`source "${t.source}" not found`))}return e=e.concat(Mf({key:r,value:t,valueSpec:s.layer,style:n.style,styleSpec:n.styleSpec,validateSpec:n.validateSpec,objectElementValidators:{"*"(){return[]},type(){return n.validateSpec({key:`${r}.type`,value:t.type,valueSpec:s.layer.type,style:n.style,styleSpec:n.styleSpec,validateSpec:n.validateSpec,object:t,objectKey:"type"})},filter:jB,layout(d){return Mf({layer:t,key:d.key,value:d.value,style:d.style,styleSpec:d.styleSpec,validateSpec:d.validateSpec,objectElementValidators:{"*"(g){return JF(py({layerType:a},g))}}})},paint(d){return Mf({layer:t,key:d.key,value:d.value,style:d.style,styleSpec:d.styleSpec,validateSpec:d.validateSpec,objectElementValidators:{"*"(g){return XF(py({layerType:a},g))}}})}}})),e}function Og(n){const e=n.value,t=n.key,r=js(e);return r!=="string"?[new Sr(t,e,`string expected, ${r} found`)]:[]}function AV(n){var e;const t=(e=n.sourceName)!==null&&e!==void 0?e:"",r=n.value,i=n.styleSpec,s=i.source_raster_dem,a=n.style;let o=[];const d=js(r);if(r===void 0)return o;if(d!=="object")return o.push(new Sr("source_raster_dem",r,`object expected, ${d} found`)),o;const b=Iu(r.encoding)==="custom",E=["redFactor","greenFactor","blueFactor","baseShift"],S=n.value.encoding?`"${n.value.encoding}"`:"Default";for(const O in r)!b&&E.includes(O)?o.push(new Sr(O,r[O],`In "${t}": "${O}" is only valid when "encoding" is set to "custom". ${S} encoding found`)):s[O]?o=o.concat(n.validateSpec({key:O,value:r[O],valueSpec:s[O],validateSpec:n.validateSpec,style:a,styleSpec:i})):o.push(new Sr(O,r[O],`unknown property "${O}"`));return o}const h7={promoteId:cV};function tU(n){const e=n.value,t=n.key,r=n.styleSpec,i=n.style,s=n.validateSpec;if(!e.type)return[new Sr(t,e,'"type" is required')];const a=Iu(e.type);let o;switch(a){case"vector":case"raster":return o=Mf({key:t,value:e,valueSpec:r[`source_${a.replace("-","_")}`],style:n.style,styleSpec:r,objectElementValidators:h7,validateSpec:s}),o;case"raster-dem":return o=AV({sourceName:t,value:e,style:n.style,styleSpec:r,validateSpec:s}),o;case"geojson":if(o=Mf({key:t,value:e,valueSpec:r.source_geojson,style:i,styleSpec:r,validateSpec:s,objectElementValidators:h7}),e.cluster)for(const d in e.clusterProperties){const[g,b]=e.clusterProperties[d],E=typeof g=="string"?[g,["accumulated"],["get",d]]:g;o.push(...my({key:`${t}.${d}.map`,value:b,validateSpec:s,expressionContext:"cluster-map"})),o.push(...my({key:`${t}.${d}.reduce`,value:E,validateSpec:s,expressionContext:"cluster-reduce"}))}return o;case"video":return Mf({key:t,value:e,valueSpec:r.source_video,style:i,validateSpec:s,styleSpec:r});case"image":return Mf({key:t,value:e,valueSpec:r.source_image,style:i,validateSpec:s,styleSpec:r});case"canvas":return[new Sr(t,null,"Please use runtime APIs to add canvas sources,Line truncated
${E}`),U].join(`
${o}`)}return g}(n,"",0)}function p7(n,e){const t={};for(const r in e)n[r]!==void 0&&(t[r]=n[r]);for(const r in n)t[r]===void 0&&(t[r]=n[r]);return t}function lU(n,e=2){return n=p7(n,Ys.$root),n.layers&&(n.layers=n.layers.map(t=>p7(t,Ys.layer))),CV(n,{indent:e})}function X3(n,e){for(const t in n)t.indexOf("layout")===0&&e(n[t],t)}function m7(n,e){for(const t in n)t.indexOf("paint")===0&&e(n[t],t)}function m6(n,e){return typeof e=="string"&&e[0]==="@"?m6(n,n.constants[e]):e}function bV(n){return Array.isArray(n.stops)}function sv(n,e,t){n[t]=n[e],delete n[e]}function xV(n){n.version=8,aV(n,i=>{i.type==="video"&&i.url!==void 0&&sv(i,"url","urls"),i.type==="video"&&i.coordinates.forEach(s=>s.reverse())}),zv(n,i=>{X3(i,s=>{s["symbol-min-distance"]!==void 0&&sv(s,"symbol-min-distance","symbol-spacing")}),m7(i,s=>{s["background-image"]!==void 0&&sv(s,"background-image","background-pattern"),s["line-image"]!==void 0&&sv(s,"line-image","line-pattern"),s["fill-image"]!==void 0&&sv(s,"fill-image","fill-pattern")})}),FB(n,{paint:!0,layout:!0},i=>{const s=m6(n,i.value);bV(s)&&s.stops.forEach(a=>{a[1]=m6(n,a[1])}),i.set(s)}),delete n.constants,zv(n,i=>{X3(i,s=>{delete s["text-max-size"],delete s["icon-max-size"]}),m7(i,s=>{s["text-size"]&&(i.layout||(i.layout={}),i.layout["text-size"]=s["text-size"],delete s["text-size"]),s["icon-size"]&&(i.layout||(i.layout={}),i.layout["icon-size"]=s["icon-size"],delete s["icon-size"])})});function e(i){function s(a){return a.split(",").map(o=>o.trim())}if(Array.isArray(i))return i;if(typeof i=="string")return s(i);if(typeof i=="object")return i.stops.forEach(a=>{a[1]=s(a[1])}),i;throw new Error("unexpected font value")}zv(n,i=>{X3(i,s=>{s["text-font"]&&(s["text-font"]=e(s["text-font"]))})});let t=0;for(let i=n.layers.length-1;i>=0;i--)if(n.layers[i].type!=="symbol"){t=i+1;break}const r=n.layers.splice(t);return r.reverse(),n.layers=n.layers.concat(r),n}function wV(n){const e=[];return zv(n,t=>{t.filter&&(t.filter=Uv(t.filter))}),FB(n,{paint:!0,layout:!0},({path:t,value:r,reference:i,set:s})=>{K_(r)||(typeof r=="object"&&!Array.isArray(r)?(s(qF(r,i)),e.push(t.join("."))):i.tokens&&typeof r=="string"&&s(YF(r)))}),n}function MV(n){return JSON.parse(SV(JSON.stringify(n)))}function SV(n){return n.replace(/"hsla?\((.+?)\)"/gi,(e,t)=>{const r=t.match(/^(.+?)\s*,\s*(.+?)\s*,\s*(.+?)(?:\s*,\s*(.+))?$/i);if(r){let[i,s,a,o]=r.slice(1);return[s,a]=[s,a].map(d=>d.endsWith("%")?d:`${parseFloat(d)*100}%`),`"hsl${typeof o=="string"?"a":""}(${[i,s,a,o].filter(Boolean).join(",")})"`}return e})}function EV(n){let e=!1;if(n.version===7&&(n=xV(n),e=!0),n.version===8&&(e=!!wV(n),e=!0),FB(n,{paint:!0,layout:!0},({value:t,reference:r,set:i})=>{r.type==="color"&&i(MV(t))}),!e)throw new Error(`Cannot migrate from ${n.version}`);return n}const BV={StyleExpression:QF,StylePropertyFunction:ox,ZoomConstantExpression:h6,ZoomDependentExpression:f6,createExpression:PB,createPropertyExpression:RB,isExpression:K_,isExpressionFilter:sx,isZoomExpression:H$,normalizePropertyExpression:Z$},OV={convertFunction:qF,createFunction:TB,isFunction:P_};var ax=I_();const IV=La(ax);var bb={exports:{}};/**
* MapLibre GL JS
* @license 3-Clause BSD. Full text of license: https://github.com/maplibre/maplibre-gl-js/blob/v5.0.1/LICENSE.txt
*/var kV=bb.exports,g7;function TV(){return g7||(g7=1,function(n,e){(function(t,r){n.exports=r()})(kV,function(){var t={},r={};function i(a,o,d){if(r[a]=d,a==="index"){var g="var sharedModule = {}; ("+r.shared+")(sharedModule); ("+r.worker+")(sharedModule);",b={};return r.shared(b),r.index(t,b),typeof window<"u"&&t.setWorkerUrl(window.URL.createObjectURL(new Blob([g],{type:"text/javascript"}))),t}}i("shared",["exports"],function(a){function o(f,u,h,v){return new(h||(h=Promise))(function(w,D){function F(ne){try{Z(v.next(ne))}catch(ce){D(ce)}}function G(ne){try{Z(v.throw(ne))}catch(ce){D(ce)}}function Z(ne){var ce;ne.done?w(ne.value):(ce=ne.value,ce instanceof h?ce:new h(function(Ce){Ce(ce)})).then(F,G)}Z((v=v.apply(f,u||[])).next())})}function d(f){return f&&f.__esModule&&Object.prototype.hasOwnProperty.call(f,"default")?f.default:f}var g,b;function E(){if(b)return g;function f(u,h){this.x=u,this.y=h}return b=1,g=f,f.prototype={clone:function(){return new f(this.x,this.y)},add:function(u){return this.clone()._add(u)},sub:function(u){return this.clone()._sub(u)},multByPoint:function(u){return this.clone()._multByPoint(u)},divByPoint:function(u){return this.clone()._divByPoint(u)},mult:function(u){return this.clone()._mult(u)},div:function(u){return this.clone()._div(u)},rotate:function(u){return this.clone()._rotate(u)},rotateAround:function(u,h){return this.clone()._rotateAround(u,h)},matMult:function(u){return this.clone()._matMult(u)},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(u){return this.x===u.x&&this.y===u.y},dist:function(u){return Math.sqrt(this.distSqr(u))},distSqr:function(u){var h=u.x-this.x,v=u.y-this.y;return h*h+v*v},angle:function(){return Math.atan2(this.y,this.x)},angleTo:function(u){return Math.atan2(this.y-u.y,this.x-u.x)},angleWith:function(u){return this.angleWithSep(u.x,u.y)},angleWithSep:function(u,h){return Math.atan2(this.x*h-this.y*u,this.x*u+this.y*h)},_matMult:function(u){var h=u[2]*this.x+u[3]*this.y;return this.x=u[0]*this.x+u[1]*this.y,this.y=h,this},_add:function(u){return this.x+=u.x,this.y+=u.y,this},_sub:function(u){return this.x-=u.x,this.y-=u.y,this},_mult:function(u){return this.x*=u,this.y*=u,this},_div:function(u){return this.x/=u,this.y/=u,this},_multByPoint:function(u){return this.x*=u.x,this.y*=u.y,this},_divByPoint:function(u){return this.x/=u.x,this.y/=u.y,this},_unit:function(){return this._div(this.mag()),this},_perp:function(){var u=this.y;return this.y=this.x,this.x=-u,this},_rotate:function(u){var h=Math.cos(u),v=Math.sin(u),w=v*this.x+h*this.y;return this.x=h*this.x-v*this.y,this.y=w,this},_rotateAround:function(u,h){var v=Math.cos(u),w=Math.sin(u),D=h.y+w*(this.x-h.x)+v*(this.y-h.y);return this.x=h.x+v*(this.x-h.x)-w*(this.y-h.y),this.y=D,this},_round:function(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this}},f.convert=function(u){return u instanceof f?u:Array.isArray(u)?new f(u[0],u[1]):u},g}typeof SuppressedError=="function"&&SuppressedError;var S,O,k=d(E()),U=function(){if(O)return S;function f(u,h,v,w){this.cx=3*u,this.bx=3*(v-u)-this.cx,this.ax=1-this.cx-this.bx,this.cy=3*h,this.by=3*(w-h)-this.cy,this.ay=1-this.cy-this.by,this.p1x=u,this.p1y=h,this.p2x=v,this.p2y=w}return O=1,S=f,f.prototype={sampleCurveX:function(u){return((this.ax*u+this.bx)*u+this.cx)*u},sampleCurveY:function(u){return((this.ay*u+this.by)*u+this.cy)*u},sampleCurveDerivativeX:function(u){return(3*this.ax*u+2*this.bx)*u+this.cx},solveCurveX:function(u,h){if(h===void 0&&(h=1e-6),u<0)return 0;if(u>1)return 1;for(var v=u,w=0;w<8;w++){var D=this.sampleCurveX(v)-u;if(Math.abs(D)<h)return v;var F=this.sampleCurveDerivativeX(v);if(Math.abs(F)<1e-6)break;v-=D/F}var G=0,Z=1;for(v=u,w=0;w<20&&(D=this.sampleCurveX(v),!(Math.abs(D-u)<h));w++)u>D?G=v:Z=v,v=.5*(Z-G)+G;return v},solve:function(u,h){return this.sampleCurveY(this.solveCurveX(u,h))}},S}(),z=d(U);let q,Q;function re(){return q==null&&(q=typeof OffscreenCanvas<"u"&&new OffscreenCanvas(1,1).getContext("2d")&&typeof createImageBitmap=="function"),q}function X(){if(Q==null&&(Q=!1,re())){const u=new OffscreenCanvas(5,5).getContext("2d",{willReadFrequently:!0});if(u){for(let v=0;v<5*5;v++){const w=4*v;u.fillStyle=`rgb(${w},${w+1},${w+2})`,u.fillRect(v%5,Math.floor(v/5),1,1)}const h=u.getImageData(0,0,5,5).data;for(let v=0;v<5*5*4;v++)if(v%4!=3&&h[v]!==v){Q=!0;break}}}return Q||!1}var Y,J=1e-6,N=typeof Float32Array<"u"?Float32Array:Array;function ie(){var f=new N(9);return N!=Float32Array&&(f[1]=0,f[2]=0,f[3]=0,f[5]=0,f[6]=0,f[7]=0),f[0]=1,f[4]=1,f[8]=1,f}function he(f){return f[0]=1,f[1]=0,f[2]=0,f[3]=0,f[4]=0,f[5]=1,f[6]=0,f[7]=0,f[8]=0,f[9]=0,f[10]=1,f[11]=0,f[12]=0,f[13]=0,f[14]=0,f[15]=1,f}function de(){var f=new N(3);return N!=Float32Array&&(f[0]=0,f[1]=0,f[2]=0),f}function we(f,u,h){var v=new N(3);return v[0]=f,v[1]=u,v[2]=h,v}function fe(f,u,h){Line truncated
Use an identity property function instead: \`{ "type": "identity", "property": ${JSON.stringify(Ce[1])} }\`.`)];const Re=[];return f.layerType==="symbol"&&(G==="text-field"&&w&&!w.glyphs&&Re.push(new _t(h,F,'use of "text-field" requires a style "glyphs" property')),G==="text-font"&&YA(zo(F))&&As(F.type)==="identity"&&Re.push(new _t(h,F,'"text-font" does not support identity functions'))),Re.concat(v({key:f.key,value:F,valueSpec:ce,style:w,styleSpec:D,expressionContext:"property",propertyType:u,propertyKey:G}))}function JA(f){return dl(f,"paint")}function zu(f){return dl(f,"layout")}function gd(f){let u=[];const h=f.value,v=f.key,w=f.style,D=f.styleSpec;h.type||h.ref||u.push(new _t(v,h,'either "type" or "ref" is required'));let F=As(h.type);const G=As(h.ref);if(h.id){const Z=As(h.id);for(let ne=0;ne<f.arrayIndex;ne++){const ce=w.layers[ne];As(ce.id)===Z&&u.push(new _t(v,h.id,`duplicate layer id "${h.id}", previously used at line ${ce.id.__line__}`))}}if("ref"in h){let Z;["type","source","source-layer","filter","layout"].forEach(ne=>{ne in h&&u.push(new _t(v,h[ne],`"${ne}" is prohibited for ref layers`))}),w.layers.forEach(ne=>{As(ne.id)===G&&(Z=ne)}),Z?Z.ref?u.push(new _t(v,h.ref,"ref cannot reference another ref layer")):F=As(Z.type):u.push(new _t(v,h.ref,`ref layer "${G}" not found`))}else if(F!=="background")if(h.source){const Z=w.sources&&w.sources[h.source],ne=Z&&As(Z.type);Z?ne==="vector"&&F==="raster"?u.push(new _t(v,h.source,`layer "${h.id}" requires a raster source`)):ne!=="raster-dem"&&F==="hillshade"?u.push(new _t(v,h.source,`layer "${h.id}" requires a raster-dem source`)):ne==="raster"&&F!=="raster"?u.push(new _t(v,h.source,`layer "${h.id}" requires a vector source`)):ne!=="vector"||h["source-layer"]?ne==="raster-dem"&&F!=="hillshade"?u.push(new _t(v,h.source,"raster-dem source can only be used with layer type 'hillshade'.")):F!=="line"||!h.paint||!h.paint["line-gradient"]||ne==="geojson"&&Z.lineMetrics||u.push(new _t(v,h,`layer "${h.id}" specifies a line-gradient, which requires a GeoJSON source with \`lineMetrics\` enabled.`)):u.push(new _t(v,h,`layer "${h.id}" must specify a "source-layer"`)):u.push(new _t(v,h.source,`source "${h.source}" not found`))}else u.push(new _t(v,h,'missing required property "source"'));return u=u.concat(cs({key:v,value:h,valueSpec:D.layer,style:f.style,styleSpec:f.styleSpec,validateSpec:f.validateSpec,objectElementValidators:{"*":()=>[],type:()=>f.validateSpec({key:`${v}.type`,value:h.type,valueSpec:D.layer.type,style:f.style,styleSpec:f.styleSpec,validateSpec:f.validateSpec,object:h,objectKey:"type"}),filter:Nl,layout:Z=>cs({layer:h,key:Z.key,value:Z.value,style:Z.style,styleSpec:Z.styleSpec,validateSpec:Z.validateSpec,objectElementValidators:{"*":ne=>zu(Tn({layerType:F},ne))}}),paint:Z=>cs({layer:h,key:Z.key,value:Z.value,style:Z.style,styleSpec:Z.styleSpec,validateSpec:Z.validateSpec,objectElementValidators:{"*":ne=>JA(Tn({layerType:F},ne))}})}})),u}function ju(f){const u=f.value,h=f.key,v=Gi(u);return v!=="string"?[new _t(h,u,`string expected, ${v} found`)]:[]}const eh={promoteId:function({key:f,value:u}){if(Gi(u)==="string")return ju({key:f,value:u});{const h=[];for(const v in u)h.push(...ju({key:`${f}.${v}`,value:u[v]}));return h}}};function ec(f){const u=f.value,h=f.key,v=f.styleSpec,w=f.style,D=f.validateSpec;if(!u.type)return[new _t(h,u,'"type" is required')];const F=As(u.type);let G;switch(F){case"vector":case"raster":return G=cs({key:h,value:u,valueSpec:v[`source_${F.replace("-","_")}`],style:f.style,styleSpec:v,objectElementValidators:eh,validateSpec:D}),G;case"raster-dem":return G=function(Z){var ne;const ce=(ne=Z.sourceName)!==null&&ne!==void 0?ne:"",Ce=Z.value,Re=Z.styleSpec,Le=Re.source_raster_dem,je=Z.style;let He=[];const st=Gi(Ce);if(Ce===void 0)return He;if(st!=="object")return He.push(new _t("source_raster_dem",Ce,`object expected, ${st} found`)),He;const gt=As(Ce.encoding)==="custom",jt=["redFactor","greenFactor","blueFactor","baseShift"],Mt=Z.value.encoding?`"${Z.value.encoding}"`:"Default";for(const Ke in Ce)!gt&&jt.includes(Ke)?He.push(new _t(Ke,Ce[Ke],`In "${ce}": "${Ke}" is only valid when "encoding" is set to "custom". ${Mt} encoding found`)):Le[Ke]?He=He.concat(Z.validateSpec({key:Ke,value:Ce[Ke],valueSpec:Le[Ke],validateSpec:Z.validateSpec,style:je,styleSpec:Re})):He.push(new _t(Ke,Ce[Ke],`unknown property "${Ke}"`));return He}({sourceName:h,value:u,style:f.style,styleSpec:v,validateSpec:D}),G;case"geojson":if(G=cs({key:h,value:u,valueSpec:v.source_geojson,style:w,styleSpec:v,validateSpec:D,objectElementValidators:eh}),u.cluster)for(const Z in u.clusterProperties){const[ne,ce]=u.clusterProperties[Z],Ce=typeof ne=="string"?[ne,["accumulated"],["get",Z]]:ne;G.push(...Uu({key:`${h}.${Z}.map`,value:ce,validateSpec:D,expressionContext:"cluster-map"})),G.push(...Uu({key:`${h}.${Z}.reduce`,value:Ce,validateSpec:D,expressionContext:"cluster-reduce"}))}return G;case"video":return cs({key:h,value:u,valueSpec:v.source_video,style:w,validateSpec:D,Line truncated
*/var kV=bb.exports,g7;function TV(){return g7||(g7=1,function(n,e){(function(t,r){n.exports=r()})(kV,function(){var t={},r={};function i(a,o,d){if(r[a]=d,a==="index"){var g="var sharedModule = {}; ("+r.shared+")(sharedModule); ("+r.worker+")(sharedModule);",b={};return r.shared(b),r.index(t,b),typeof window<"u"&&t.setWorkerUrl(window.URL.createObjectURL(new Blob([g],{type:"text/javascript"}))),t}}i("shared",["exports"],function(a){function o(f,u,h,v){return new(h||(h=Promise))(function(w,D){function F(ne){try{Z(v.next(ne))}catch(ce){D(ce)}}function G(ne){try{Z(v.throw(ne))}catch(ce){D(ce)}}function Z(ne){var ce;ne.done?w(ne.value):(ce=ne.value,ce instanceof h?ce:new h(function(Ce){Ce(ce)})).then(F,G)}Z((v=v.apply(f,u||[])).next())})}function d(f){return f&&f.__esModule&&Object.prototype.hasOwnProperty.call(f,"default")?f.default:f}var g,b;function E(){if(b)return g;function f(u,h){this.x=u,this.y=h}return b=1,g=f,f.prototype={clone:function(){return new f(this.x,this.y)},add:function(u){return this.clone()._add(u)},sub:function(u){return this.clone()._sub(u)},multByPoint:function(u){return this.clone()._multByPoint(u)},divByPoint:function(u){return this.clone()._divByPoint(u)},mult:function(u){return this.clone()._mult(u)},div:function(u){return this.clone()._div(u)},rotate:function(u){return this.clone()._rotate(u)},rotateAround:function(u,h){return this.clone()._rotateAround(u,h)},matMult:function(u){return this.clone()._matMult(u)},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(u){return this.x===u.x&&this.y===u.y},dist:function(u){return Math.sqrt(this.distSqr(u))},distSqr:function(u){var h=u.x-this.x,v=u.y-this.y;return h*h+v*v},angle:function(){return Math.atan2(this.y,this.x)},angleTo:function(u){return Math.atan2(this.y-u.y,this.x-u.x)},angleWith:function(u){return this.angleWithSep(u.x,u.y)},angleWithSep:function(u,h){return Math.atan2(this.x*h-this.y*u,this.x*u+this.y*h)},_matMult:function(u){var h=u[2]*this.x+u[3]*this.y;return this.x=u[0]*this.x+u[1]*this.y,this.y=h,this},_add:function(u){return this.x+=u.x,this.y+=u.y,this},_sub:function(u){return this.x-=u.x,this.y-=u.y,this},_mult:function(u){return this.x*=u,this.y*=u,this},_div:function(u){return this.x/=u,this.y/=u,this},_multByPoint:function(u){return this.x*=u.x,this.y*=u.y,this},_divByPoint:function(u){return this.x/=u.x,this.y/=u.y,this},_unit:function(){return this._div(this.mag()),this},_perp:function(){var u=this.y;return this.y=this.x,this.x=-u,this},_rotate:function(u){var h=Math.cos(u),v=Math.sin(u),w=v*this.x+h*this.y;return this.x=h*this.x-v*this.y,this.y=w,this},_rotateAround:function(u,h){var v=Math.cos(u),w=Math.sin(u),D=h.y+w*(this.x-h.x)+v*(this.y-h.y);return this.x=h.x+v*(this.x-h.x)-w*(this.y-h.y),this.y=D,this},_round:function(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this}},f.convert=function(u){return u instanceof f?u:Array.isArray(u)?new f(u[0],u[1]):u},g}typeof SuppressedError=="function"&&SuppressedError;var S,O,k=d(E()),U=function(){if(O)return S;function f(u,h,v,w){this.cx=3*u,this.bx=3*(v-u)-this.cx,this.ax=1-this.cx-this.bx,this.cy=3*h,this.by=3*(w-h)-this.cy,this.ay=1-this.cy-this.by,this.p1x=u,this.p1y=h,this.p2x=v,this.p2y=w}return O=1,S=f,f.prototype={sampleCurveX:function(u){return((this.ax*u+this.bx)*u+this.cx)*u},sampleCurveY:function(u){return((this.ay*u+this.by)*u+this.cy)*u},sampleCurveDerivativeX:function(u){return(3*this.ax*u+2*this.bx)*u+this.cx},solveCurveX:function(u,h){if(h===void 0&&(h=1e-6),u<0)return 0;if(u>1)return 1;for(var v=u,w=0;w<8;w++){var D=this.sampleCurveX(v)-u;if(Math.abs(D)<h)return v;var F=this.sampleCurveDerivativeX(v);if(Math.abs(F)<1e-6)break;v-=D/F}var G=0,Z=1;for(v=u,w=0;w<20&&(D=this.sampleCurveX(v),!(Math.abs(D-u)<h));w++)u>D?G=v:Z=v,v=.5*(Z-G)+G;return v},solve:function(u,h){return this.sampleCurveY(this.solveCurveX(u,h))}},S}(),z=d(U);let q,Q;function re(){return q==null&&(q=typeof OffscreenCanvas<"u"&&new OffscreenCanvas(1,1).getContext("2d")&&typeof createImageBitmap=="function"),q}function X(){if(Q==null&&(Q=!1,re())){const u=new OffscreenCanvas(5,5).getContext("2d",{willReadFrequently:!0});if(u){for(let v=0;v<5*5;v++){const w=4*v;u.fillStyle=`rgb(${w},${w+1},${w+2})`,u.fillRect(v%5,Math.floor(v/5),1,1)}const h=u.getImageData(0,0,5,5).data;for(let v=0;v<5*5*4;v++)if(v%4!=3&&h[v]!==v){Q=!0;break}}}return Q||!1}var Y,J=1e-6,N=typeof Float32Array<"u"?Float32Array:Array;function ie(){var f=new N(9);return N!=Float32Array&&(f[1]=0,f[2]=0,f[3]=0,f[5]=0,f[6]=0,f[7]=0),f[0]=1,f[4]=1,f[8]=1,f}function he(f){return f[0]=1,f[1]=0,f[2]=0,f[3]=0,f[4]=0,f[5]=1,f[6]=0,f[7]=0,f[8]=0,f[9]=0,f[10]=1,f[11]=0,f[12]=0,f[13]=0,f[14]=0,f[15]=1,f}function de(){var f=new N(3);return N!=Float32Array&&(f[0]=0,f[1]=0,f[2]=0),f}function we(f,u,h){var v=new N(3);return v[0]=f,v[1]=u,v[2]=h,v}function fe(f,u,h){Line truncated
Use an identity property function instead: \`{ "type": "identity", "property": ${JSON.stringify(Ce[1])} }\`.`)];const Re=[];return f.layerType==="symbol"&&(G==="text-field"&&w&&!w.glyphs&&Re.push(new _t(h,F,'use of "text-field" requires a style "glyphs" property')),G==="text-font"&&YA(zo(F))&&As(F.type)==="identity"&&Re.push(new _t(h,F,'"text-font" does not support identity functions'))),Re.concat(v({key:f.key,value:F,valueSpec:ce,style:w,styleSpec:D,expressionContext:"property",propertyType:u,propertyKey:G}))}function JA(f){return dl(f,"paint")}function zu(f){return dl(f,"layout")}function gd(f){let u=[];const h=f.value,v=f.key,w=f.style,D=f.styleSpec;h.type||h.ref||u.push(new _t(v,h,'either "type" or "ref" is required'));let F=As(h.type);const G=As(h.ref);if(h.id){const Z=As(h.id);for(let ne=0;ne<f.arrayIndex;ne++){const ce=w.layers[ne];As(ce.id)===Z&&u.push(new _t(v,h.id,`duplicate layer id "${h.id}", previously used at line ${ce.id.__line__}`))}}if("ref"in h){let Z;["type","source","source-layer","filter","layout"].forEach(ne=>{ne in h&&u.push(new _t(v,h[ne],`"${ne}" is prohibited for ref layers`))}),w.layers.forEach(ne=>{As(ne.id)===G&&(Z=ne)}),Z?Z.ref?u.push(new _t(v,h.ref,"ref cannot reference another ref layer")):F=As(Z.type):u.push(new _t(v,h.ref,`ref layer "${G}" not found`))}else if(F!=="background")if(h.source){const Z=w.sources&&w.sources[h.source],ne=Z&&As(Z.type);Z?ne==="vector"&&F==="raster"?u.push(new _t(v,h.source,`layer "${h.id}" requires a raster source`)):ne!=="raster-dem"&&F==="hillshade"?u.push(new _t(v,h.source,`layer "${h.id}" requires a raster-dem source`)):ne==="raster"&&F!=="raster"?u.push(new _t(v,h.source,`layer "${h.id}" requires a vector source`)):ne!=="vector"||h["source-layer"]?ne==="raster-dem"&&F!=="hillshade"?u.push(new _t(v,h.source,"raster-dem source can only be used with layer type 'hillshade'.")):F!=="line"||!h.paint||!h.paint["line-gradient"]||ne==="geojson"&&Z.lineMetrics||u.push(new _t(v,h,`layer "${h.id}" specifies a line-gradient, which requires a GeoJSON source with \`lineMetrics\` enabled.`)):u.push(new _t(v,h,`layer "${h.id}" must specify a "source-layer"`)):u.push(new _t(v,h.source,`source "${h.source}" not found`))}else u.push(new _t(v,h,'missing required property "source"'));return u=u.concat(cs({key:v,value:h,valueSpec:D.layer,style:f.style,styleSpec:f.styleSpec,validateSpec:f.validateSpec,objectElementValidators:{"*":()=>[],type:()=>f.validateSpec({key:`${v}.type`,value:h.type,valueSpec:D.layer.type,style:f.style,styleSpec:f.styleSpec,validateSpec:f.validateSpec,object:h,objectKey:"type"}),filter:Nl,layout:Z=>cs({layer:h,key:Z.key,value:Z.value,style:Z.style,styleSpec:Z.styleSpec,validateSpec:Z.validateSpec,objectElementValidators:{"*":ne=>zu(Tn({layerType:F},ne))}}),paint:Z=>cs({layer:h,key:Z.key,value:Z.value,style:Z.style,styleSpec:Z.styleSpec,validateSpec:Z.validateSpec,objectElementValidators:{"*":ne=>JA(Tn({layerType:F},ne))}})}})),u}function ju(f){const u=f.value,h=f.key,v=Gi(u);return v!=="string"?[new _t(h,u,`string expected, ${v} found`)]:[]}const eh={promoteId:function({key:f,value:u}){if(Gi(u)==="string")return ju({key:f,value:u});{const h=[];for(const v in u)h.push(...ju({key:`${f}.${v}`,value:u[v]}));return h}}};function ec(f){const u=f.value,h=f.key,v=f.styleSpec,w=f.style,D=f.validateSpec;if(!u.type)return[new _t(h,u,'"type" is required')];const F=As(u.type);let G;switch(F){case"vector":case"raster":return G=cs({key:h,value:u,valueSpec:v[`source_${F.replace("-","_")}`],style:f.style,styleSpec:v,objectElementValidators:eh,validateSpec:D}),G;case"raster-dem":return G=function(Z){var ne;const ce=(ne=Z.sourceName)!==null&&ne!==void 0?ne:"",Ce=Z.value,Re=Z.styleSpec,Le=Re.source_raster_dem,je=Z.style;let He=[];const st=Gi(Ce);if(Ce===void 0)return He;if(st!=="object")return He.push(new _t("source_raster_dem",Ce,`object expected, ${st} found`)),He;const gt=As(Ce.encoding)==="custom",jt=["redFactor","greenFactor","blueFactor","baseShift"],Mt=Z.value.encoding?`"${Z.value.encoding}"`:"Default";for(const Ke in Ce)!gt&&jt.includes(Ke)?He.push(new _t(Ke,Ce[Ke],`In "${ce}": "${Ke}" is only valid when "encoding" is set to "custom". ${Mt} encoding found`)):Le[Ke]?He=He.concat(Z.validateSpec({key:Ke,value:Ce[Ke],valueSpec:Le[Ke],validateSpec:Z.validateSpec,style:je,styleSpec:Re})):He.push(new _t(Ke,Ce[Ke],`unknown property "${Ke}"`));return He}({sourceName:h,value:u,style:f.style,styleSpec:v,validateSpec:D}),G;case"geojson":if(G=cs({key:h,value:u,valueSpec:v.source_geojson,style:w,styleSpec:v,validateSpec:D,objectElementValidators:eh}),u.cluster)for(const Z in u.clusterProperties){const[ne,ce]=u.clusterProperties[Z],Ce=typeof ne=="string"?[ne,["accumulated"],["get",Z]]:ne;G.push(...Uu({key:`${h}.${Z}.map`,value:ce,validateSpec:D,expressionContext:"cluster-map"})),G.push(...Uu({key:`${h}.${Z}.reduce`,value:Ce,validateSpec:D,expressionContext:"cluster-reduce"}))}return G;case"video":return cs({key:h,value:u,valueSpec:v.source_video,style:w,validateSpec:D,Line truncated
precision mediump float;
#else
#if !defined(lowp)
@@ -794,11 +794,11 @@ uniform ${xe} ${Oe} u_${ke};
#else
${xe} ${Oe} ${ke} = u_${ke};
#endif
`}),staticAttributes:C,staticUniforms:j}}class Xa{constructor(l,c,C){this.vertexBuffer=l,this.indexBuffer=c,this.segments=C}destroy(){this.vertexBuffer.destroy(),this.indexBuffer.destroy(),this.segments.destroy(),this.vertexBuffer=null,this.indexBuffer=null,this.segments=null}}var Ai=o.aA([{name:"a_pos",type:"Int16",components:2}]);const ca="#define PROJECTION_MERCATOR",iA="mercator";class ls{constructor(){this._cachedMesh=null}get name(){return"mercator"}get useSubdivision(){return!1}get shaderVariantName(){return iA}get shaderDefine(){return ca}get shaderPreludeCode(){return ri.projectionMercator}get vertexShaderPreludeCode(){return ri.projectionMercator.vertexSource}get subdivisionGranularity(){return o.aB.noSubdivision}get useGlobeControls(){return!1}get transitionState(){return 0}get latitudeErrorCorrectionRadians(){return 0}destroy(){}updateGPUdependent(l){}getMeshFromTileID(l,c,C,M,R){if(this._cachedMesh)return this._cachedMesh;const j=new o.aC;j.emplaceBack(0,0),j.emplaceBack(o.X,0),j.emplaceBack(0,o.X),j.emplaceBack(o.X,o.X);const $=l.createVertexBuffer(j,Ai.members),te=o.aD.simpleSegment(0,0,4,2),se=new o.aE;se.emplaceBack(1,0,2),se.emplaceBack(1,2,3);const xe=l.createIndexBuffer(se);return this._cachedMesh=new Xa($,xe,te),this._cachedMesh}recalculate(){}hasTransition(){return!1}setErrorQueryLatitudeDegrees(l){}}function Lr(T,l){const c=o.ab(l.lat,-85.051129,o.aF);return new o.P(o.O(l.lng)*T,o.Q(c)*T)}function Ei(T,l){return new o.Y(l.x/T,l.y/T).toLngLat()}function Ja(T){return T.cameraToCenterDistance*Math.min(.85*Math.tan(o.aa(90-T.pitch)),Math.tan(o.aa(89.25-T.pitch)))}function Ps(T,l){const c=T.canonical,C=l/o.aG(c.z),M=c.x+Math.pow(2,c.z)*T.wrap,R=o.aq(new Float64Array(16));return o.J(R,R,[M*C,c.y*C,0]),o.K(R,R,[C/o.X,C/o.X,1]),R}function So(T,l,c,C,M){const R=o.Y.fromLngLat(T,l),j=M*o.aH(1,T.lat),$=j*Math.cos(o.aa(c)),te=Math.sqrt(j*j-$*$),se=te*Math.sin(o.aa(-C)),xe=te*Math.cos(o.aa(-C));return new o.Y(R.x+se,R.y+xe,R.z+$)}class Ns{constructor(l=0,c=0,C=0,M=0){if(isNaN(l)||l<0||isNaN(c)||c<0||isNaN(C)||C<0||isNaN(M)||M<0)throw new Error("Invalid value for edge-insets, top, bottom, left and right must all be numbers");this.top=l,this.bottom=c,this.left=C,this.right=M}interpolate(l,c,C){return c.top!=null&&l.top!=null&&(this.top=o.y.number(l.top,c.top,C)),c.bottom!=null&&l.bottom!=null&&(this.bottom=o.y.number(l.bottom,c.bottom,C)),c.left!=null&&l.left!=null&&(this.left=o.y.number(l.left,c.left,C)),c.right!=null&&l.right!=null&&(this.right=o.y.number(l.right,c.right,C)),this}getCenter(l,c){const C=o.ab((this.left+l-this.right)/2,0,l),M=o.ab((this.top+c-this.bottom)/2,0,c);return new o.P(C,M)}equals(l){return this.top===l.top&&this.bottom===l.bottom&&this.left===l.left&&this.right===l.right}clone(){return new Ns(this.top,this.bottom,this.left,this.right)}toJSON(){return{top:this.top,bottom:this.bottom,left:this.left,right:this.right}}}function hu(T,l){if(!T.renderWorldCopies||T.lngRange)return;const c=l.lng-T.center.lng;l.lng+=c>180?-360:c<-180?360:0}function zl(T){return Math.max(0,Math.floor(T))}class rs{constructor(l,c,C,M,R,j){this._callbacks=l,this._tileSize=512,this._renderWorldCopies=j===void 0||!!j,this._minZoom=c||0,this._maxZoom=C||22,this._minPitch=M??0,this._maxPitch=R??60,this.setMaxBounds(),this._width=0,this._height=0,this._center=new o.N(0,0),this._elevation=0,this._zoom=0,this._tileZoom=zl(this._zoom),this._scale=o.aG(this._zoom),this._bearingInRadians=0,this._fovInRadians=.6435011087932844,this._pitchInRadians=0,this._rollInRadians=0,this._unmodified=!0,this._edgeInsets=new Ns,this._minElevationForCurrentTile=0,this._autoCalculateNearFarZ=!0}apply(l,c,C){this._latRange=l.latRange,this._lngRange=l.lngRange,this._width=l.width,this._height=l.height,this._center=l.center,this._elevation=l.elevation,this._minElevationForCurrentTile=l.minElevationForCurrentTile,this._zoom=l.zoom,this._tileZoom=zl(this._zoom),this._scale=o.aG(this._zoom),this._bearingInRadians=l.bearingInRadians,this._fovInRadians=l.fovInRadians,this._pitchInRadians=l.pitchInRadians,this._rollInRadians=l.rollInRadians,this._unmodified=l.unmodified,this._edgeInsets=new Ns(l.padding.top,l.padding.bottom,l.padding.left,l.padding.right),this._minZoom=l.minZoom,this._maxZoom=l.maxZoom,this._minPitch=l.minPitch,this._maxPitch=l.maxPitch,this._renderWorldCopies=l.renderWorldCopies,this._cameraToCenterDistance=l.cameraToCenterDistance,this._nearZ=l.nearZ,this._farZ=l.farZ,this._autoCalculateNearFarZ=!C&&l.autoCalculateNearFarZ,c&&this._constrain(),this._calcMatrices()}get pixelsToClipSpaceMatrix(){return this._pixelsToClipSpaceMatrix}get clipSpaceToPixelsMatrix(){return this._clipSpaceToPixelsMatrix}get minElevationForCurrentTile(){return this._minElevationForCurrentTile}setMinElevationForCurrentTile(l){this._minElevationForCurrentTile=l}get tileSize(){return this._tileSize}get tileZoom(){return this._tileZoom}get scale(){return this._scale}get width(){return this._width}get height(){return this._height}get bearingInRadia Line truncated
`}),staticAttributes:C,staticUniforms:j}}class Xa{constructor(l,c,C){this.vertexBuffer=l,this.indexBuffer=c,this.segments=C}destroy(){this.vertexBuffer.destroy(),this.indexBuffer.destroy(),this.segments.destroy(),this.vertexBuffer=null,this.indexBuffer=null,this.segments=null}}var Ai=o.aA([{name:"a_pos",type:"Int16",components:2}]);const ca="#define PROJECTION_MERCATOR",iA="mercator";class ls{constructor(){this._cachedMesh=null}get name(){return"mercator"}get useSubdivision(){return!1}get shaderVariantName(){return iA}get shaderDefine(){return ca}get shaderPreludeCode(){return ri.projectionMercator}get vertexShaderPreludeCode(){return ri.projectionMercator.vertexSource}get subdivisionGranularity(){return o.aB.noSubdivision}get useGlobeControls(){return!1}get transitionState(){return 0}get latitudeErrorCorrectionRadians(){return 0}destroy(){}updateGPUdependent(l){}getMeshFromTileID(l,c,C,M,R){if(this._cachedMesh)return this._cachedMesh;const j=new o.aC;j.emplaceBack(0,0),j.emplaceBack(o.X,0),j.emplaceBack(0,o.X),j.emplaceBack(o.X,o.X);const $=l.createVertexBuffer(j,Ai.members),te=o.aD.simpleSegment(0,0,4,2),se=new o.aE;se.emplaceBack(1,0,2),se.emplaceBack(1,2,3);const xe=l.createIndexBuffer(se);return this._cachedMesh=new Xa($,xe,te),this._cachedMesh}recalculate(){}hasTransition(){return!1}setErrorQueryLatitudeDegrees(l){}}function Lr(T,l){const c=o.ab(l.lat,-85.051129,o.aF);return new o.P(o.O(l.lng)*T,o.Q(c)*T)}function Ei(T,l){return new o.Y(l.x/T,l.y/T).toLngLat()}function Ja(T){return T.cameraToCenterDistance*Math.min(.85*Math.tan(o.aa(90-T.pitch)),Math.tan(o.aa(89.25-T.pitch)))}function Rs(T,l){const c=T.canonical,C=l/o.aG(c.z),M=c.x+Math.pow(2,c.z)*T.wrap,R=o.aq(new Float64Array(16));return o.J(R,R,[M*C,c.y*C,0]),o.K(R,R,[C/o.X,C/o.X,1]),R}function So(T,l,c,C,M){const R=o.Y.fromLngLat(T,l),j=M*o.aH(1,T.lat),$=j*Math.cos(o.aa(c)),te=Math.sqrt(j*j-$*$),se=te*Math.sin(o.aa(-C)),xe=te*Math.cos(o.aa(-C));return new o.Y(R.x+se,R.y+xe,R.z+$)}class Gs{constructor(l=0,c=0,C=0,M=0){if(isNaN(l)||l<0||isNaN(c)||c<0||isNaN(C)||C<0||isNaN(M)||M<0)throw new Error("Invalid value for edge-insets, top, bottom, left and right must all be numbers");this.top=l,this.bottom=c,this.left=C,this.right=M}interpolate(l,c,C){return c.top!=null&&l.top!=null&&(this.top=o.y.number(l.top,c.top,C)),c.bottom!=null&&l.bottom!=null&&(this.bottom=o.y.number(l.bottom,c.bottom,C)),c.left!=null&&l.left!=null&&(this.left=o.y.number(l.left,c.left,C)),c.right!=null&&l.right!=null&&(this.right=o.y.number(l.right,c.right,C)),this}getCenter(l,c){const C=o.ab((this.left+l-this.right)/2,0,l),M=o.ab((this.top+c-this.bottom)/2,0,c);return new o.P(C,M)}equals(l){return this.top===l.top&&this.bottom===l.bottom&&this.left===l.left&&this.right===l.right}clone(){return new Gs(this.top,this.bottom,this.left,this.right)}toJSON(){return{top:this.top,bottom:this.bottom,left:this.left,right:this.right}}}function hu(T,l){if(!T.renderWorldCopies||T.lngRange)return;const c=l.lng-T.center.lng;l.lng+=c>180?-360:c<-180?360:0}function zl(T){return Math.max(0,Math.floor(T))}class rs{constructor(l,c,C,M,R,j){this._callbacks=l,this._tileSize=512,this._renderWorldCopies=j===void 0||!!j,this._minZoom=c||0,this._maxZoom=C||22,this._minPitch=M??0,this._maxPitch=R??60,this.setMaxBounds(),this._width=0,this._height=0,this._center=new o.N(0,0),this._elevation=0,this._zoom=0,this._tileZoom=zl(this._zoom),this._scale=o.aG(this._zoom),this._bearingInRadians=0,this._fovInRadians=.6435011087932844,this._pitchInRadians=0,this._rollInRadians=0,this._unmodified=!0,this._edgeInsets=new Gs,this._minElevationForCurrentTile=0,this._autoCalculateNearFarZ=!0}apply(l,c,C){this._latRange=l.latRange,this._lngRange=l.lngRange,this._width=l.width,this._height=l.height,this._center=l.center,this._elevation=l.elevation,this._minElevationForCurrentTile=l.minElevationForCurrentTile,this._zoom=l.zoom,this._tileZoom=zl(this._zoom),this._scale=o.aG(this._zoom),this._bearingInRadians=l.bearingInRadians,this._fovInRadians=l.fovInRadians,this._pitchInRadians=l.pitchInRadians,this._rollInRadians=l.rollInRadians,this._unmodified=l.unmodified,this._edgeInsets=new Gs(l.padding.top,l.padding.bottom,l.padding.left,l.padding.right),this._minZoom=l.minZoom,this._maxZoom=l.maxZoom,this._minPitch=l.minPitch,this._maxPitch=l.maxPitch,this._renderWorldCopies=l.renderWorldCopies,this._cameraToCenterDistance=l.cameraToCenterDistance,this._nearZ=l.nearZ,this._farZ=l.farZ,this._autoCalculateNearFarZ=!C&&l.autoCalculateNearFarZ,c&&this._constrain(),this._calcMatrices()}get pixelsToClipSpaceMatrix(){return this._pixelsToClipSpaceMatrix}get clipSpaceToPixelsMatrix(){return this._clipSpaceToPixelsMatrix}get minElevationForCurrentTile(){return this._minElevationForCurrentTile}setMinElevationForCurrentTile(l){this._minElevationForCurrentTile=l}get tileSize(){return this._tileSize}get tileZoom(){return this._tileZoom}get scale(){return this._scale}get width(){return this._width}get height(){return this._height}get bearingInRadia Line truncated
`),Pt=St.concat(ri.prelude.vertexSource,$.vertexSource,c.vertexSource).join(`
`);Ri(se)||(kt=function(Vt){return Vt.replace(/\bin\s/g,"varying ").replace("out highp vec4 fragColor;","").replace(/fragColor/g,"gl_FragColor").replace(/texture\(/g,"texture2D(")}(kt),Pt=function(Vt){return Vt.replace(/\bin\s/g,"attribute ").replace(/\bout\s/g,"varying ").replace(/texture\(/g,"texture2D(")}(Pt));const Ft=se.createShader(se.FRAGMENT_SHADER);if(se.isContextLost())return void(this.failedToCreate=!0);if(se.shaderSource(Ft,kt),se.compileShader(Ft),!se.getShaderParameter(Ft,se.COMPILE_STATUS))throw new Error(`Could not compile fragment shader: ${se.getShaderInfoLog(Ft)}`);se.attachShader(this.program,Ft);const Tt=se.createShader(se.VERTEX_SHADER);if(se.isContextLost())return void(this.failedToCreate=!0);if(se.shaderSource(Tt,Pt),se.compileShader(Tt),!se.getShaderParameter(Tt,se.COMPILE_STATUS))throw new Error(`Could not compile vertex shader: ${se.getShaderInfoLog(Tt)}`);se.attachShader(this.program,Tt),this.attributes={};const Jt={};this.numAttributes=ke.length;for(let Vt=0;Vt<this.numAttributes;Vt++)ke[Vt]&&(se.bindAttribLocation(this.program,Vt,ke[Vt]),this.attributes[ke[Vt]]=Vt);if(se.linkProgram(this.program),!se.getProgramParameter(this.program,se.LINK_STATUS))throw new Error(`Program failed to link: ${se.getProgramInfoLog(this.program)}`);se.deleteShader(Tt),se.deleteShader(Ft);for(let Vt=0;Vt<mt.length;Vt++){const vn=mt[Vt];if(vn&&!Jt[vn]){const _n=se.getUniformLocation(this.program,vn);_n&&(Jt[vn]=_n)}}this.fixedUniforms=M(l,Jt),this.terrainUniforms=((Vt,vn)=>({u_depth:new o.bC(Vt,vn.u_depth),u_terrain:new o.bC(Vt,vn.u_terrain),u_terrain_dim:new o.b5(Vt,vn.u_terrain_dim),u_terrain_matrix:new o.bD(Vt,vn.u_terrain_matrix),u_terrain_unpack:new o.bE(Vt,vn.u_terrain_unpack),u_terrain_exaggeration:new o.b5(Vt,vn.u_terrain_exaggeration)}))(l,Jt),this.projectionUniforms=((Vt,vn)=>({u_projection_matrix:new o.bD(Vt,vn.u_projection_matrix),u_projection_tile_mercator_coords:new o.bE(Vt,vn.u_projection_tile_mercator_coords),u_projection_clipping_plane:new o.bE(Vt,vn.u_projection_clipping_plane),u_projection_transition:new o.b5(Vt,vn.u_projection_transition),u_projection_fallback_matrix:new o.bD(Vt,vn.u_projection_fallback_matrix)}))(l,Jt),this.binderUniforms=C?C.getUniforms(l,Jt):[]}draw(l,c,C,M,R,j,$,te,se,xe,Oe,ke,qe,Ve,ut,ot,At,mt,St){const kt=l.gl;if(this.failedToCreate)return;if(l.program.set(this.program),l.setDepthMode(C),l.setStencilMode(M),l.setColorMode(R),l.setCullFace(j),te){l.activeTexture.set(kt.TEXTURE2),kt.bindTexture(kt.TEXTURE_2D,te.depthTexture),l.activeTexture.set(kt.TEXTURE3),kt.bindTexture(kt.TEXTURE_2D,te.texture);for(const Ft in this.terrainUniforms)this.terrainUniforms[Ft].set(te[Ft])}if(se)for(const Ft in se)this.projectionUniforms[gp[Ft]].set(se[Ft]);if($)for(const Ft in this.fixedUniforms)this.fixedUniforms[Ft].set($[Ft]);ot&&ot.setUniforms(l,this.binderUniforms,Ve,{zoom:ut});let Pt=0;switch(c){case kt.LINES:Pt=2;break;case kt.TRIANGLES:Pt=3;break;case kt.LINE_STRIP:Pt=1}for(const Ft of qe.get()){const Tt=Ft.vaos||(Ft.vaos={});(Tt[xe]||(Tt[xe]=new Du)).bind(l,this,Oe,ot?ot.getPaintVertexBuffers():[],ke,Ft.vertexOffset,At,mt,St),kt.drawElements(c,Ft.primitiveLength*Pt,kt.UNSIGNED_SHORT,Ft.primitiveOffset*Pt*2)}}}function Lc(T,l,c){const C=1/o.at(c,1,l.transform.tileZoom),M=Math.pow(2,c.tileID.overscaledZ),R=c.tileSize*Math.pow(2,l.transform.tileZoom)/M,j=R*(c.tileID.canonical.x+c.tileID.wrap*M),$=R*c.tileID.canonical.y;return{u_image:0,u_texsize:c.imageAtlasTexture.size,u_scale:[C,T.fromScale,T.toScale],u_fade:T.t,u_pixel_coord_upper:[j>>16,$>>16],u_pixel_coord_lower:[65535&j,65535&$]}}const yp=(T,l,c,C)=>{const M=T.style.light,R=M.properties.get("position"),j=[R.x,R.y,R.z],$=o.bI();M.properties.get("anchor")==="viewport"&&o.bJ($,T.transform.bearingInRadians),o.bK(j,j,$);const te=T.transform.transformLightDirection(j),se=M.properties.get("color");return{u_lightpos:j,u_lightpos_globe:te,u_lightintensity:M.properties.get("intensity"),u_lightcolor:[se.r,se.g,se.b],u_vertical_gradient:+l,u_opacity:c,u_fill_translate:C}},Rf=(T,l,c,C,M,R,j)=>o.e(yp(T,l,c,C),Lc(R,T,j),{u_height_factor:-Math.pow(2,M.overscaledZ)/j.tileSize/8}),hc=(T,l,c,C)=>o.e(Lc(l,T,c),{u_fill_translate:C}),Zs=(T,l)=>({u_world:T,u_fill_translate:l}),xh=(T,l,c,C,M)=>o.e(hc(T,l,c,M),{u_world:C}),ef=(T,l,c,C,M)=>{const R=T.transform;let j,$,te=0;if(c.paint.get("circle-pitch-alignment")==="map"){const se=o.at(l,1,R.zoom);j=!0,$=[se,se],te=se/(o.X*Math.pow(2,l.tileID.overscaledZ))*2*Math.PI*M}else j=!1,$=R.pixelsToGLUnits;return{u_camera_to_center_distance:R.cameraToCenterDistance,u_scale_with_map:+(c.paint.get("circle-pitch-scale")==="map"),u_pitch_with_map:+j,u_device_pixel_ratio:T.pixelRatio,u_extrude_scale:$,u_globe_extrude_scale:te,u_translate:C}},Ad=T=>({u_pixel_extrude_scale:[1/T.width,1/T.height]}),tf=T=>({u_viewport_size:[T.width,T.height]}),cd=(T,l=1)=>({u_color:T,u_overlay:0,u_overlay_scale:l}),fc=(T,l,c,C)=>{const M=o.at(T,1,l)/(o.X*Math.pow(2,T.tileID.overscaledZ))*2*Math.PI*C;return{u_extrude_scale:o.a Line truncated
`);Ri(se)||(kt=function(Vt){return Vt.replace(/\bin\s/g,"varying ").replace("out highp vec4 fragColor;","").replace(/fragColor/g,"gl_FragColor").replace(/texture\(/g,"texture2D(")}(kt),Pt=function(Vt){return Vt.replace(/\bin\s/g,"attribute ").replace(/\bout\s/g,"varying ").replace(/texture\(/g,"texture2D(")}(Pt));const Ft=se.createShader(se.FRAGMENT_SHADER);if(se.isContextLost())return void(this.failedToCreate=!0);if(se.shaderSource(Ft,kt),se.compileShader(Ft),!se.getShaderParameter(Ft,se.COMPILE_STATUS))throw new Error(`Could not compile fragment shader: ${se.getShaderInfoLog(Ft)}`);se.attachShader(this.program,Ft);const Tt=se.createShader(se.VERTEX_SHADER);if(se.isContextLost())return void(this.failedToCreate=!0);if(se.shaderSource(Tt,Pt),se.compileShader(Tt),!se.getShaderParameter(Tt,se.COMPILE_STATUS))throw new Error(`Could not compile vertex shader: ${se.getShaderInfoLog(Tt)}`);se.attachShader(this.program,Tt),this.attributes={};const Jt={};this.numAttributes=ke.length;for(let Vt=0;Vt<this.numAttributes;Vt++)ke[Vt]&&(se.bindAttribLocation(this.program,Vt,ke[Vt]),this.attributes[ke[Vt]]=Vt);if(se.linkProgram(this.program),!se.getProgramParameter(this.program,se.LINK_STATUS))throw new Error(`Program failed to link: ${se.getProgramInfoLog(this.program)}`);se.deleteShader(Tt),se.deleteShader(Ft);for(let Vt=0;Vt<mt.length;Vt++){const vn=mt[Vt];if(vn&&!Jt[vn]){const _n=se.getUniformLocation(this.program,vn);_n&&(Jt[vn]=_n)}}this.fixedUniforms=M(l,Jt),this.terrainUniforms=((Vt,vn)=>({u_depth:new o.bC(Vt,vn.u_depth),u_terrain:new o.bC(Vt,vn.u_terrain),u_terrain_dim:new o.b5(Vt,vn.u_terrain_dim),u_terrain_matrix:new o.bD(Vt,vn.u_terrain_matrix),u_terrain_unpack:new o.bE(Vt,vn.u_terrain_unpack),u_terrain_exaggeration:new o.b5(Vt,vn.u_terrain_exaggeration)}))(l,Jt),this.projectionUniforms=((Vt,vn)=>({u_projection_matrix:new o.bD(Vt,vn.u_projection_matrix),u_projection_tile_mercator_coords:new o.bE(Vt,vn.u_projection_tile_mercator_coords),u_projection_clipping_plane:new o.bE(Vt,vn.u_projection_clipping_plane),u_projection_transition:new o.b5(Vt,vn.u_projection_transition),u_projection_fallback_matrix:new o.bD(Vt,vn.u_projection_fallback_matrix)}))(l,Jt),this.binderUniforms=C?C.getUniforms(l,Jt):[]}draw(l,c,C,M,R,j,$,te,se,xe,Oe,ke,qe,Ve,ut,ot,At,mt,St){const kt=l.gl;if(this.failedToCreate)return;if(l.program.set(this.program),l.setDepthMode(C),l.setStencilMode(M),l.setColorMode(R),l.setCullFace(j),te){l.activeTexture.set(kt.TEXTURE2),kt.bindTexture(kt.TEXTURE_2D,te.depthTexture),l.activeTexture.set(kt.TEXTURE3),kt.bindTexture(kt.TEXTURE_2D,te.texture);for(const Ft in this.terrainUniforms)this.terrainUniforms[Ft].set(te[Ft])}if(se)for(const Ft in se)this.projectionUniforms[gp[Ft]].set(se[Ft]);if($)for(const Ft in this.fixedUniforms)this.fixedUniforms[Ft].set($[Ft]);ot&&ot.setUniforms(l,this.binderUniforms,Ve,{zoom:ut});let Pt=0;switch(c){case kt.LINES:Pt=2;break;case kt.TRIANGLES:Pt=3;break;case kt.LINE_STRIP:Pt=1}for(const Ft of qe.get()){const Tt=Ft.vaos||(Ft.vaos={});(Tt[xe]||(Tt[xe]=new Du)).bind(l,this,Oe,ot?ot.getPaintVertexBuffers():[],ke,Ft.vertexOffset,At,mt,St),kt.drawElements(c,Ft.primitiveLength*Pt,kt.UNSIGNED_SHORT,Ft.primitiveOffset*Pt*2)}}}function Lc(T,l,c){const C=1/o.at(c,1,l.transform.tileZoom),M=Math.pow(2,c.tileID.overscaledZ),R=c.tileSize*Math.pow(2,l.transform.tileZoom)/M,j=R*(c.tileID.canonical.x+c.tileID.wrap*M),$=R*c.tileID.canonical.y;return{u_image:0,u_texsize:c.imageAtlasTexture.size,u_scale:[C,T.fromScale,T.toScale],u_fade:T.t,u_pixel_coord_upper:[j>>16,$>>16],u_pixel_coord_lower:[65535&j,65535&$]}}const yp=(T,l,c,C)=>{const M=T.style.light,R=M.properties.get("position"),j=[R.x,R.y,R.z],$=o.bI();M.properties.get("anchor")==="viewport"&&o.bJ($,T.transform.bearingInRadians),o.bK(j,j,$);const te=T.transform.transformLightDirection(j),se=M.properties.get("color");return{u_lightpos:j,u_lightpos_globe:te,u_lightintensity:M.properties.get("intensity"),u_lightcolor:[se.r,se.g,se.b],u_vertical_gradient:+l,u_opacity:c,u_fill_translate:C}},Rf=(T,l,c,C,M,R,j)=>o.e(yp(T,l,c,C),Lc(R,T,j),{u_height_factor:-Math.pow(2,M.overscaledZ)/j.tileSize/8}),hc=(T,l,c,C)=>o.e(Lc(l,T,c),{u_fill_translate:C}),Zs=(T,l)=>({u_world:T,u_fill_translate:l}),xh=(T,l,c,C,M)=>o.e(hc(T,l,c,M),{u_world:C}),ef=(T,l,c,C,M)=>{const R=T.transform;let j,$,te=0;if(c.paint.get("circle-pitch-alignment")==="map"){const se=o.at(l,1,R.zoom);j=!0,$=[se,se],te=se/(o.X*Math.pow(2,l.tileID.overscaledZ))*2*Math.PI*M}else j=!1,$=R.pixelsToGLUnits;return{u_camera_to_center_distance:R.cameraToCenterDistance,u_scale_with_map:+(c.paint.get("circle-pitch-scale")==="map"),u_pitch_with_map:+j,u_device_pixel_ratio:T.pixelRatio,u_extrude_scale:$,u_globe_extrude_scale:te,u_translate:C}},Ad=T=>({u_pixel_extrude_scale:[1/T.width,1/T.height]}),tf=T=>({u_viewport_size:[T.width,T.height]}),cd=(T,l=1)=>({u_color:T,u_overlay:0,u_overlay_scale:l}),fc=(T,l,c,C)=>{const M=o.at(T,1,l)/(o.X*Math.pow(2,T.tileID.overscaledZ))*2*Math.PI*C;return{u_extrude_scale:o.a Line truncated
uniform mat4 u_projection_matrix;
${qe.shaderPreludeCode.vertexSource}`,define:qe.shaderDefine},defaultProjectionData:ut},At=ke.renderingMode?ke.renderingMode:"2d";if(j.renderPass==="offscreen"){const mt=ke.prerender;mt&&(j.setCustomLayerDefaults(),Oe.setColorMode(j.colorModeForRenderPass()),mt.call(ke,Oe.gl,ot),Oe.setDirty(),j.setBaseState())}else if(j.renderPass==="translucent"){j.setCustomLayerDefaults(),Oe.setColorMode(j.colorModeForRenderPass()),Oe.setStencilMode(Ni.disabled);const mt=At==="3d"?j.getDepthModeFor3D():j.getDepthModeForSublayer(0,Jr.ReadOnly);Oe.setDepthMode(mt),ke.render(Oe.gl,ot),Oe.setDirty(),j.setBaseState(),Oe.bindFramebuffer.set(null)}}(l,0,C,R))}saveTileTexture(l){const c=this._tileTextures[l.size[0]];c?c.push(l):this._tileTextures[l.size[0]]=[l]}getTileTexture(l){const c=this._tileTextures[l];return c&&c.length>0?c.pop():null}isPatternMissing(l){if(!l)return!1;if(!l.from||!l.to)return!0;const c=this.imageManager.getPattern(l.from.toString()),C=this.imageManager.getPattern(l.to.toString());return!c||!C}useProgram(l,c,C=!1){this.cache=this.cache||{};const M=!!this.style.map.terrain,R=this.style.projection,j=l+(c?c.cacheKey:"")+`/${C?iA:R.shaderVariantName}`+(this._showOverdrawInspector?"/overdraw":"")+(M?"/terrain":"");return this.cache[j]||(this.cache[j]=new qd(this.context,ri[l],c,hd[l],this._showOverdrawInspector,M,C?ri.projectionMercator:R.shaderPreludeCode,C?ca:R.shaderDefine)),this.cache[j]}setCustomLayerDefaults(){this.context.unbindVAO(),this.context.cullFace.setDefault(),this.context.activeTexture.setDefault(),this.context.pixelStoreUnpack.setDefault(),this.context.pixelStoreUnpackPremultiplyAlpha.setDefault(),this.context.pixelStoreUnpackFlipY.setDefault()}setBaseState(){const l=this.context.gl;this.context.cullFace.set(!1),this.context.viewport.set([0,0,this.width,this.height]),this.context.blendEquation.set(l.FUNC_ADD)}initDebugOverlayCanvas(){this.debugOverlayCanvas==null&&(this.debugOverlayCanvas=document.createElement("canvas"),this.debugOverlayCanvas.width=512,this.debugOverlayCanvas.height=512,this.debugOverlayTexture=new ie(this.context,this.debugOverlayCanvas,this.context.gl.RGBA))}destroy(){this.debugOverlayTexture&&this.debugOverlayTexture.destroy()}overLimit(){const{drawingBufferWidth:l,drawingBufferHeight:c}=this.context.gl;return this.width!==l||this.height!==c}}function eh(T,l){let c,C=!1,M=null,R=null;const j=()=>{M=null,C&&(T.apply(R,c),M=setTimeout(j,l),C=!1)};return(...$)=>(C=!0,R=this,c=$,M||j(),M)}class ec{constructor(l){this._getCurrentHash=()=>{const c=window.location.hash.replace("#","");if(this._hashName){let C;return c.split("&").map(M=>M.split("=")).forEach(M=>{M[0]===this._hashName&&(C=M)}),(C&&C[1]||"").split("/")}return c.split("/")},this._onHashChange=()=>{const c=this._getCurrentHash();if(!this._isValidHash(c))return!1;const C=this._map.dragRotate.isEnabled()&&this._map.touchZoomRotate.isEnabled()?+(c[3]||0):this._map.getBearing();return this._map.jumpTo({center:[+c[2],+c[1]],zoom:+c[0],bearing:C,pitch:+(c[4]||0)}),!0},this._updateHashUnthrottled=()=>{const c=window.location.href.replace(/(#.*)?$/,this.getHashString());window.history.replaceState(window.history.state,null,c)},this._removeHash=()=>{const c=this._getCurrentHash();if(c.length===0)return;const C=c.join("/");let M=C;M.split("&").length>0&&(M=M.split("&")[0]),this._hashName&&(M=`${this._hashName}=${C}`);let R=window.location.hash.replace(M,"");R.startsWith("#&")?R=R.slice(0,1)+R.slice(2):R==="#"&&(R="");let j=window.location.href.replace(/(#.+)?$/,R);j=j.replace("&&","&"),window.history.replaceState(window.history.state,null,j)},this._updateHash=eh(this._updateHashUnthrottled,300),this._hashName=l&&encodeURIComponent(l)}addTo(l){return this._map=l,addEventListener("hashchange",this._onHashChange,!1),this._map.on("moveend",this._updateHash),this}remove(){return removeEventListener("hashchange",this._onHashChange,!1),this._map.off("moveend",this._updateHash),clearTimeout(this._updateHash()),this._removeHash(),delete this._map,this}getHashString(l){const c=this._map.getCenter(),C=Math.round(100*this._map.getZoom())/100,M=Math.ceil((C*Math.LN2+Math.log(512/360/.5))/Math.LN10),R=Math.pow(10,M),j=Math.round(c.lng*R)/R,$=Math.round(c.lat*R)/R,te=this._map.getBearing(),se=this._map.getPitch();let xe="";if(xe+=l?`/${j}/${$}/${C}`:`${C}/${$}/${j}`,(te||se)&&(xe+="/"+Math.round(10*te)/10),se&&(xe+=`/${Math.round(se)}`),this._hashName){const Oe=this._hashName;let ke=!1;const qe=window.location.hash.slice(1).split("&").map(Ve=>{const ut=Ve.split("=")[0];return ut===Oe?(ke=!0,`${ut}=${xe}`):Ve}).filter(Ve=>Ve);return ke||qe.push(`${Oe}=${xe}`),`#${qe.join("&")}`}return`#${xe}`}_isValidHash(l){if(l.length<3||l.some(isNaN))return!1;try{new o.N(+l[2],+l[1])}catch{return!1}const c=+l[0],C=+(l[3]||0),M=+(l[4]||0);return c>=this._map.getMinZoom()&&c<=this._map.getMaxZoom()&&C>=0&&C<=180&&M>=this._map.getMinPitch()&&M<=this._map.getMaxPitch()}}const Nu={linearity:.3,easing:o.c6(0,0,.3,1)},Gu=o.e({deceleration:2500,maxSpeed:1400},Nu), Line truncated
${qe.shaderPreludeCode.vertexSource}`,define:qe.shaderDefine},defaultProjectionData:ut},At=ke.renderingMode?ke.renderingMode:"2d";if(j.renderPass==="offscreen"){const mt=ke.prerender;mt&&(j.setCustomLayerDefaults(),Oe.setColorMode(j.colorModeForRenderPass()),mt.call(ke,Oe.gl,ot),Oe.setDirty(),j.setBaseState())}else if(j.renderPass==="translucent"){j.setCustomLayerDefaults(),Oe.setColorMode(j.colorModeForRenderPass()),Oe.setStencilMode(Ni.disabled);const mt=At==="3d"?j.getDepthModeFor3D():j.getDepthModeForSublayer(0,Jr.ReadOnly);Oe.setDepthMode(mt),ke.render(Oe.gl,ot),Oe.setDirty(),j.setBaseState(),Oe.bindFramebuffer.set(null)}}(l,0,C,R))}saveTileTexture(l){const c=this._tileTextures[l.size[0]];c?c.push(l):this._tileTextures[l.size[0]]=[l]}getTileTexture(l){const c=this._tileTextures[l];return c&&c.length>0?c.pop():null}isPatternMissing(l){if(!l)return!1;if(!l.from||!l.to)return!0;const c=this.imageManager.getPattern(l.from.toString()),C=this.imageManager.getPattern(l.to.toString());return!c||!C}useProgram(l,c,C=!1){this.cache=this.cache||{};const M=!!this.style.map.terrain,R=this.style.projection,j=l+(c?c.cacheKey:"")+`/${C?iA:R.shaderVariantName}`+(this._showOverdrawInspector?"/overdraw":"")+(M?"/terrain":"");return this.cache[j]||(this.cache[j]=new qd(this.context,ri[l],c,hd[l],this._showOverdrawInspector,M,C?ri.projectionMercator:R.shaderPreludeCode,C?ca:R.shaderDefine)),this.cache[j]}setCustomLayerDefaults(){this.context.unbindVAO(),this.context.cullFace.setDefault(),this.context.activeTexture.setDefault(),this.context.pixelStoreUnpack.setDefault(),this.context.pixelStoreUnpackPremultiplyAlpha.setDefault(),this.context.pixelStoreUnpackFlipY.setDefault()}setBaseState(){const l=this.context.gl;this.context.cullFace.set(!1),this.context.viewport.set([0,0,this.width,this.height]),this.context.blendEquation.set(l.FUNC_ADD)}initDebugOverlayCanvas(){this.debugOverlayCanvas==null&&(this.debugOverlayCanvas=document.createElement("canvas"),this.debugOverlayCanvas.width=512,this.debugOverlayCanvas.height=512,this.debugOverlayTexture=new ie(this.context,this.debugOverlayCanvas,this.context.gl.RGBA))}destroy(){this.debugOverlayTexture&&this.debugOverlayTexture.destroy()}overLimit(){const{drawingBufferWidth:l,drawingBufferHeight:c}=this.context.gl;return this.width!==l||this.height!==c}}function eh(T,l){let c,C=!1,M=null,R=null;const j=()=>{M=null,C&&(T.apply(R,c),M=setTimeout(j,l),C=!1)};return(...$)=>(C=!0,R=this,c=$,M||j(),M)}class ec{constructor(l){this._getCurrentHash=()=>{const c=window.location.hash.replace("#","");if(this._hashName){let C;return c.split("&").map(M=>M.split("=")).forEach(M=>{M[0]===this._hashName&&(C=M)}),(C&&C[1]||"").split("/")}return c.split("/")},this._onHashChange=()=>{const c=this._getCurrentHash();if(!this._isValidHash(c))return!1;const C=this._map.dragRotate.isEnabled()&&this._map.touchZoomRotate.isEnabled()?+(c[3]||0):this._map.getBearing();return this._map.jumpTo({center:[+c[2],+c[1]],zoom:+c[0],bearing:C,pitch:+(c[4]||0)}),!0},this._updateHashUnthrottled=()=>{const c=window.location.href.replace(/(#.*)?$/,this.getHashString());window.history.replaceState(window.history.state,null,c)},this._removeHash=()=>{const c=this._getCurrentHash();if(c.length===0)return;const C=c.join("/");let M=C;M.split("&").length>0&&(M=M.split("&")[0]),this._hashName&&(M=`${this._hashName}=${C}`);let R=window.location.hash.replace(M,"");R.startsWith("#&")?R=R.slice(0,1)+R.slice(2):R==="#"&&(R="");let j=window.location.href.replace(/(#.+)?$/,R);j=j.replace("&&","&"),window.history.replaceState(window.history.state,null,j)},this._updateHash=eh(this._updateHashUnthrottled,300),this._hashName=l&&encodeURIComponent(l)}addTo(l){return this._map=l,addEventListener("hashchange",this._onHashChange,!1),this._map.on("moveend",this._updateHash),this}remove(){return removeEventListener("hashchange",this._onHashChange,!1),this._map.off("moveend",this._updateHash),clearTimeout(this._updateHash()),this._removeHash(),delete this._map,this}getHashString(l){const c=this._map.getCenter(),C=Math.round(100*this._map.getZoom())/100,M=Math.ceil((C*Math.LN2+Math.log(512/360/.5))/Math.LN10),R=Math.pow(10,M),j=Math.round(c.lng*R)/R,$=Math.round(c.lat*R)/R,te=this._map.getBearing(),se=this._map.getPitch();let xe="";if(xe+=l?`/${j}/${$}/${C}`:`${C}/${$}/${j}`,(te||se)&&(xe+="/"+Math.round(10*te)/10),se&&(xe+=`/${Math.round(se)}`),this._hashName){const Oe=this._hashName;let ke=!1;const qe=window.location.hash.slice(1).split("&").map(Ve=>{const ut=Ve.split("=")[0];return ut===Oe?(ke=!0,`${ut}=${xe}`):Ve}).filter(Ve=>Ve);return ke||qe.push(`${Oe}=${xe}`),`#${qe.join("&")}`}return`#${xe}`}_isValidHash(l){if(l.length<3||l.some(isNaN))return!1;try{new o.N(+l[2],+l[1])}catch{return!1}const c=+l[0],C=+(l[3]||0),M=+(l[4]||0);return c>=this._map.getMinZoom()&&c<=this._map.getMaxZoom()&&C>=0&&C<=180&&M>=this._map.getMinPitch()&&M<=this._map.getMaxPitch()}}const Nu={linearity:.3,easing:o.c6(0,0,.3,1)},Gu=o.e({deceleration:2500,maxSpeed:1400},Nu), Line truncated
${e} <span></span>
`,ea().s[12]++,this._textEl=this._container.querySelector("span"),ea().s[13]++,this.updateZoomLevel()}addEventListeners(){ea().f[4]++,ea().s[14]++,this._map.on("render",()=>(ea().f[5]++,ea().s[15]++,this.updateZoomLevel())),ea().s[16]++,this._map.on("zoomIn",()=>(ea().f[6]++,ea().s[17]++,this.updateZoomLevel())),ea().s[18]++,this._map.on("zoomOut",()=>(ea().f[7]++,ea().s[19]++,this.updateZoomLevel()))}onRemove(){ea().f[8]++,ea().s[20]++,this._container.parentNode.removeChild(this._container),ea().s[21]++,this._map=void 0}}function b6(n,e,t){const r={id:[e,t,"circle"].join("_"),source:e,type:"circle",paint:{"circle-color":n,"circle-radius":2},filter:["==","$type","Point"]};return t&&(r["source-layer"]=t),r}function x6(n,e,t,r){const i={id:[t,r,"polygon"].join("_"),source:t,type:"fill",paint:{"fill-color":n,"fill-antialias":!0,"fill-outline-color":n},filter:["==","$type","Polygon"]};return r&&(i["source-layer"]=r),i}function w6(n,e,t){const r={id:[e,t,"line"].join("_"),source:e,layout:{"line-join":"round","line-cap":"round"},type:"line",paint:{"line-color":n},filter:["==","$type","LineString"]};return t&&(r["source-layer"]=t),r}function WH(n,e){const t=[],r=[],i=[];function s(a){return{circle:e(a,.8),line:e(a,.6),polygon:e(a,.3),polygonOutline:e(a,.6),default:e(a,1)}}return Object.keys(n).forEach(a=>{const o=n[a];if(!o||o.length===0){const d=s(a);r.push(b6(d.circle,a)),i.push(w6(d.line,a)),t.push(x6(d.polygon,d.polygonOutline,a))}else o.forEach(d=>{const g=s(d);r.push(b6(g.circle,a,d)),i.push(w6(g.line,a,d)),t.push(x6(g.polygon,g.polygonOutline,a,d))})}),t.concat(i).concat(r)}function QH(n,e,t){t=Object.assign({backgroundColor:"#fff"},t);const r={id:"background",type:"background",paint:{"background-color":t.backgroundColor}},i={};return Object.keys(n.sources).forEach(s=>{const a=n.sources[s];(a.type==="vector"||a.type==="geojson")&&(i[s]=a)}),Object.assign(n,{layers:[r].concat(e),sources:i})}const d4={polygonLayer:x6,lineLayer:w6,circleLayer:b6,generateInspectStyle:QH,generateColoredLayers:WH};function mo(){var n="/home/runner/work/maputnik/maputnik/src/libs/highlight.ts",e="aec0f701e803624fae461cc89b5fc887ff556587",t=globalThis,r="__coverage__",i={path:"/home/runner/work/maputnik/maputnik/src/libs/highlight.ts",statementMap:{0:{start:{line:4,column:2},end:{line:8,column:3}},1:{start:{line:5,column:4},end:{line:5,column:33}},2:{start:{line:6,column:9},end:{line:8,column:3}},3:{start:{line:7,column:4},end:{line:7,column:30}},4:{start:{line:9,column:2},end:{line:13,column:3}},5:{start:{line:10,column:4},end:{line:10,column:28}},6:{start:{line:12,column:4},end:{line:12,column:23}},7:{start:{line:14,column:2},end:{line:14,column:29}},8:{start:{line:15,column:2},end:{line:15,column:11}},9:{start:{line:18,column:2},end:{line:18,column:84}},10:{start:{line:18,column:72},end:{line:18,column:84}},11:{start:{line:19,column:24},end:{line:19,column:51}},12:{start:{line:20,column:16},end:{line:20,column:52}},13:{start:{line:21,column:2},end:{line:23,column:3}},14:{start:{line:22,column:4},end:{line:22,column:104}},15:{start:{line:24,column:2},end:{line:26,column:3}},16:{start:{line:25,column:4},end:{line:25,column:96}},17:{start:{line:27,column:2},end:{line:29,column:3}},18:{start:{line:28,column:4},end:{line:28,column:94}},19:{start:{line:30,column:2},end:{line:30,column:14}}},fnMap:{0:{name:"changeLayer",decl:{start:{line:3,column:9},end:{line:3,column:20}},loc:{start:{line:3,column:31},end:{line:16,column:1}},line:3},1:{name:"colorHighlightedLayer",decl:{start:{line:17,column:16},end:{line:17,column:37}},loc:{start:{line:17,column:45},end:{line:31,column:1}},line:17}},branchMap:{0:{loc:{start:{line:4,column:2},end:{line:8,column:3}},type:"if",locations:[{start:{line:4,column:2},end:{line:8,column:3}},{start:{line:6,column:9},end:{line:8,column:3}}],line:4},1:{loc:{start:{line:6,column:9},end:{line:8,column:3}},type:"if",locations:[{start:{line:6,column:9},end:{line:8,column:3}},{start:{line:void 0,column:void 0},end:{line:void 0,column:void 0}}],line:6},2:{loc:{start:{line:9,column:2},end:{line:13,column:3}},type:"if",locations:[{start:{line:9,column:2},end:{line:13,column:3}},{start:{line:11,column:9},end:{line:13,column:3}}],line:9},3:{loc:{start:{line:18,column:2},end:{line:18,column:84}},type:"if",locations:[{start:{line:18,column:2},end:{line:18,column:84}},{start:{line:void 0,column:void 0},end:{line:void 0,column:void 0}}],line:18},4:{loc:{start:{line:18,column:6},end:{line:18,column:70}},type:"binary-expr",locations:[{start:{line:18,column:6},end:{line:18,column:12}},{start:{line:18,column:16},end:{line:18,column:43}},{start:{line:18,column:47},end:{line:18,column:70}}],line:18},5:{loc:{start:{line:19,column:24},end:{line:19,column:51}},type:"binary-expr",locations:[{start:{line:19,column:24},end:{line:19,column:45}},{start:{line:19,column:49},end:{line:19,column:51}}],line:19},6:{loc:{start:{line:21,column:2},end:{line:23,column:3}},type:"if",locations:[{start:{line:21,column:2},end:{line:23,column:3}},{s Line truncated
Copyright (c) Microsoft Corporation. All rights reserved.
@@ -813,15 +813,15 @@ MERCHANTABLITY OR NON-INFRINGEMENT.
See the Apache Version 2.0 License for specific language governing permissions
and limitations under the License.
***************************************************************************** */function f4(n,e,t,r){return new(t||(t=Promise))(function(i,s){function a(g){try{d(r.next(g))}catch(b){s(b)}}function o(g){try{d(r.throw(g))}catch(b){s(b)}}function d(g){g.done?i(g.value):new t(function(b){b(g.value)}).then(a,o)}d((r=r.apply(n,e||[])).next())})}var FC=typeof globalThis<"u"?globalThis:typeof window<"u"||typeof window<"u"?window:typeof self<"u"?self:{};function lx(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}var p4,L7;function gU(){if(L7)return p4;L7=1,p4=e;var n=Object.prototype.hasOwnProperty;function e(){for(var t={},r=0;r<arguments.length;r++){var i=arguments[r];for(var s in i)n.call(i,s)&&(t[s]=i[s])}return t}return p4}var m4={exports:{}},F7;function YH(){return F7||(F7=1,function(n,e){(function(){var t={};n.exports=t,t.simpleFilter=function(r,i){return i.filter(function(s){return t.test(r,s)})},t.test=function(r,i){return t.match(r,i)!==null},t.match=function(r,i,s){s=s||{};var a=0,o=[],d=i.length,g=0,b=0,E=s.pre||"",S=s.post||"",O=s.caseSensitive&&i||i.toLowerCase(),k;r=s.caseSensitive&&r||r.toLowerCase();for(var U=0;U<d;U++)k=i[U],O[U]===r[a]?(k=E+k+S,a+=1,b+=1+b):b=0,g+=b,o[o.length]=k;return a===r.length?(g=O===r?1/0:g,{rendered:o.join(""),score:g}):null},t.filter=function(r,i,s){return!i||i.length===0?[]:typeof r!="string"?i:(s=s||{},i.reduce(function(a,o,d,g){var b=o;s.extract&&(b=s.extract(o));var E=t.match(r,b,s);return E!=null&&(a[a.length]={string:E.rendered,score:E.score,index:d,original:o}),a},[]).sort(function(a,o){var d=o.score-a.score;return d||a.index-o.index}))}})()}(m4)),m4.exports}var g4,U7;function $H(){if(U7)return g4;U7=1;var n=function(e){return this.component=e,this.items=[],this.active=e.options.noInitialSelection?-1:0,this.wrapper=document.createElement("div"),this.wrapper.className="suggestions-wrapper",this.element=document.createElement("ul"),this.element.className="suggestions",this.wrapper.appendChild(this.element),this.selectingListItem=!1,e.el.parentNode.insertBefore(this.wrapper,e.el.nextSibling),this};return n.prototype.show=function(){this.element.style.display="block"},n.prototype.hide=function(){this.element.style.display="none"},n.prototype.add=function(e){this.items.push(e)},n.prototype.clear=function(){this.items=[],this.active=this.component.options.noInitialSelection?-1:0},n.prototype.isEmpty=function(){return!this.items.length},n.prototype.isVisible=function(){return this.element.style.display==="block"},n.prototype.draw=function(){if(this.element.innerHTML="",this.items.length===0){this.hide();return}for(var e=0;e<this.items.length;e++)this.drawItem(this.items[e],this.active===e);this.show()},n.prototype.drawItem=function(e,t){var r=document.createElement("li"),i=document.createElement("a");t&&(r.className+=" active"),i.innerHTML=e.string,r.appendChild(i),this.element.appendChild(r),r.addEventListener("mousedown",(function(){this.selectingListItem=!0}).bind(this)),r.addEventListener("mouseup",(function(){this.handleMouseUp.call(this,e)}).bind(this))},n.prototype.handleMouseUp=function(e){this.selectingListItem=!1,this.component.value(e.original),this.clear(),this.draw()},n.prototype.move=function(e){this.active=e,this.draw()},n.prototype.previous=function(){this.move(this.active<=0?this.items.length-1:this.active-1)},n.prototype.next=function(){this.move(this.active>=this.items.length-1?0:this.active+1)},n.prototype.drawError=function(e){var t=document.createElement("li");t.innerHTML=e,this.element.appendChild(t),this.show()},g4=n,g4}var y4,z7;function VH(){if(z7)return y4;z7=1;var n=gU(),e=YH(),t=$H(),r=function(i,s,a){return a=a||{},this.options=n({minLength:2,limit:5,filter:!0,hideOnBlur:!0,noInitialSelection:!0},a),this.el=i,this.data=s||[],this.list=new t(this),this.query="",this.selected=null,this.list.draw(),this.el.addEventListener("keyup",(function(o){this.handleKeyUp(o.keyCode,o)}).bind(this),!1),this.el.addEventListener("keydown",(function(o){this.handleKeyDown(o)}).bind(this)),this.el.addEventListener("focus",(function(){this.handleFocus()}).bind(this)),this.el.addEventListener("blur",(function(){this.handleBlur()}).bind(this)),this.el.addEventListener("paste",(function(o){this.handlePaste(o)}).bind(this)),this.render=this.options.render?this.options.render.bind(this):this.render.bind(this),this.getItemValue=this.options.getItemValue?this.options.getItemValue.bind(this):this.getItemValue.bind(this),this};return r.prototype.handleKeyUp=function(i,s){if(!(i===40||i===38||i===27||i===9)){if(i===13){this.list.items[this.list.active]&&(this.list.handleMouseUp(this.list.items[this.list.active]),s.stopPropagation());return}this.handleInputChange(this.el.value)}},r.prototype.handleKeyDown=function(i){switch(i.keyCode){case 13:this.list.active>=0&&(this.list.selectingListItem=!0);break;case 9:this.list.isEmpty()||(this.list.isVisible()&&i.preventDefault(),this.value(this.list.active>=0?this.list.items[this.list.activeLine truncated
***************************************************************************** */function f4(n,e,t,r){return new(t||(t=Promise))(function(i,s){function a(g){try{d(r.next(g))}catch(b){s(b)}}function o(g){try{d(r.throw(g))}catch(b){s(b)}}function d(g){g.done?i(g.value):new t(function(b){b(g.value)}).then(a,o)}d((r=r.apply(n,e||[])).next())})}var FC=typeof globalThis<"u"?globalThis:typeof window<"u"||typeof window<"u"?window:typeof self<"u"?self:{};function lx(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}var p4,L7;function gU(){if(L7)return p4;L7=1,p4=e;var n=Object.prototype.hasOwnProperty;function e(){for(var t={},r=0;r<arguments.length;r++){var i=arguments[r];for(var s in i)n.call(i,s)&&(t[s]=i[s])}return t}return p4}var m4={exports:{}},F7;function YH(){return F7||(F7=1,function(n,e){(function(){var t={};n.exports=t,t.simpleFilter=function(r,i){return i.filter(function(s){return t.test(r,s)})},t.test=function(r,i){return t.match(r,i)!==null},t.match=function(r,i,s){s=s||{};var a=0,o=[],d=i.length,g=0,b=0,E=s.pre||"",S=s.post||"",O=s.caseSensitive&&i||i.toLowerCase(),k;r=s.caseSensitive&&r||r.toLowerCase();for(var U=0;U<d;U++)k=i[U],O[U]===r[a]?(k=E+k+S,a+=1,b+=1+b):b=0,g+=b,o[o.length]=k;return a===r.length?(g=O===r?1/0:g,{rendered:o.join(""),score:g}):null},t.filter=function(r,i,s){return!i||i.length===0?[]:typeof r!="string"?i:(s=s||{},i.reduce(function(a,o,d,g){var b=o;s.extract&&(b=s.extract(o));var E=t.match(r,b,s);return E!=null&&(a[a.length]={string:E.rendered,score:E.score,index:d,original:o}),a},[]).sort(function(a,o){var d=o.score-a.score;return d||a.index-o.index}))}})()}(m4)),m4.exports}var g4,U7;function $H(){if(U7)return g4;U7=1;var n=function(e){return this.component=e,this.items=[],this.active=e.options.noInitialSelection?-1:0,this.wrapper=document.createElement("div"),this.wrapper.className="suggestions-wrapper",this.element=document.createElement("ul"),this.element.className="suggestions",this.wrapper.appendChild(this.element),this.selectingListItem=!1,e.el.parentNode.insertBefore(this.wrapper,e.el.nextSibling),this};return n.prototype.show=function(){this.element.style.display="block"},n.prototype.hide=function(){this.element.style.display="none"},n.prototype.add=function(e){this.items.push(e)},n.prototype.clear=function(){this.items=[],this.active=this.component.options.noInitialSelection?-1:0},n.prototype.isEmpty=function(){return!this.items.length},n.prototype.isVisible=function(){return this.element.style.display==="block"},n.prototype.draw=function(){if(this.element.innerHTML="",this.items.length===0){this.hide();return}for(var e=0;e<this.items.length;e++)this.drawItem(this.items[e],this.active===e);this.show()},n.prototype.drawItem=function(e,t){var r=document.createElement("li"),i=document.createElement("a");t&&(r.className+=" active"),i.innerHTML=e.string,r.appendChild(i),this.element.appendChild(r),r.addEventListener("mousedown",(function(){this.selectingListItem=!0}).bind(this)),r.addEventListener("mouseup",(function(){this.handleMouseUp.call(this,e)}).bind(this))},n.prototype.handleMouseUp=function(e){this.selectingListItem=!1,this.component.value(e.original),this.clear(),this.draw()},n.prototype.move=function(e){this.active=e,this.draw()},n.prototype.previous=function(){this.move(this.active<=0?this.items.length-1:this.active-1)},n.prototype.next=function(){this.move(this.active>=this.items.length-1?0:this.active+1)},n.prototype.drawError=function(e){var t=document.createElement("li");t.innerHTML=e,this.element.appendChild(t),this.show()},g4=n,g4}var y4,z7;function VH(){if(z7)return y4;z7=1;var n=gU(),e=YH(),t=$H(),r=function(i,s,a){return a=a||{},this.options=n({minLength:2,limit:5,filter:!0,hideOnBlur:!0,noInitialSelection:!0},a),this.el=i,this.data=s||[],this.list=new t(this),this.query="",this.selected=null,this.list.draw(),this.el.addEventListener("keyup",(function(o){this.handleKeyUp(o.keyCode,o)}).bind(this),!1),this.el.addEventListener("keydown",(function(o){this.handleKeyDown(o)}).bind(this)),this.el.addEventListener("focus",(function(){this.handleFocus()}).bind(this)),this.el.addEventListener("blur",(function(){this.handleBlur()}).bind(this)),this.el.addEventListener("paste",(function(o){this.handlePaste(o)}).bind(this)),this.render=this.options.render?this.options.render.bind(this):this.render.bind(this),this.getItemValue=this.options.getItemValue?this.options.getItemValue.bind(this):this.getItemValue.bind(this),this};return r.prototype.handleKeyUp=function(i,s){if(!(i===40||i===38||i===27||i===9)){if(i===13){this.list.items[this.list.active]&&(this.list.handleMouseUp(this.list.items[this.list.active]),s.stopPropagation());return}this.handleInputChange(this.el.value)}},r.prototype.handleKeyDown=function(i){switch(i.keyCode){case 13:this.list.active>=0&&(this.list.selectingListItem=!0);break;case 9:this.list.isEmpty()||(this.list.isVisible()&&i.preventDefault(),this.value(this.list.active>=0?this.list.items[this.list.activeLine truncated
`);o(k,U,z)?(L_(E6),L1=null,S6=void 0,Dp.set(O,100)):(Dp.set(O,Dp.get(O)+1,!0),g=!1)}}g&&(clearInterval(s),s=void 0)}return function(g){const b=BU(g);if(!b)return;const E=b.families;for(let S=0,O=E.length;S<O;++S){const k=E[S],U=b.style+`
`+b.weight+`
`+k;Dp.get(U)===void 0&&(Dp.set(U,100,!0),o(b.style,b.weight,k)||(Dp.set(U,0,!0),s===void 0&&(s=setInterval(d,32))))}}}(),NZ=function(){let n;return function(e){let t=E6[e];if(t==null){if(VB){const r=BU(e),i=kU(e,"Žg");t=(isNaN(Number(r.lineHeight))?1.2:Number(r.lineHeight))*(i.actualBoundingBoxAscent+i.actualBoundingBoxDescent)}else n||(n=document.createElement("div"),n.innerHTML="M",n.style.minHeight="0",n.style.maxHeight="none",n.style.height="auto",n.style.padding="0",n.style.border="none",n.style.position="absolute",n.style.display="block",n.style.left="-99999px"),n.style.font=e,document.body.appendChild(n),t=n.offsetHeight,document.body.removeChild(n);E6[e]=t}return t}}();function kU(n,e){return L1||(L1=Jl(1,1)),n!=S6&&(L1.font=n,S6=L1.font),L1.measureText(e)}function t2(n,e){return kU(n,e).width}function nk(n,e,t){if(e in t)return t[e];const r=e.split(`
`).reduce((i,s)=>Math.max(i,t2(n,s)),0);return t[e]=r,r}function GZ(n,e){const t=[],r=[],i=[];let s=0,a=0,o=0,d=0;for(let g=0,b=e.length;g<=b;g+=2){const E=e[g];if(E===`
`||g===b){s=Math.max(s,a),i.push(a),a=0,o+=d,d=0;continue}const S=e[g+1]||n.font,O=t2(S,E);t.push(O),a+=O;const k=NZ(S);r.push(k),d=Math.max(d,k)}return{width:s,height:o,widths:t,heights:r,lineWidths:i}}function WZ(n,e,t,r,i,s,a,o,d,g,b){n.save(),t!==1&&(n.globalAlpha===void 0?n.globalAlpha=E=>E.globalAlpha*=t:n.globalAlpha*=t),e&&n.transform.apply(n,e),r.contextInstructions?(n.translate(d,g),n.scale(b[0],b[1]),QZ(r,n)):b[0]<0||b[1]<0?(n.translate(d,g),n.scale(b[0],b[1]),n.drawImage(r,i,s,a,o,0,0,a,o)):n.drawImage(r,i,s,a,o,d,g,a*b[0],o*b[1]),n.restore()}function QZ(n,e){const t=n.contextInstructions;for(let r=0,i=t.length;r<i;r+=2)Array.isArray(t[r+1])?e[t[r]].apply(e,t[r+1]):e[t[r]]=t[r+1]}class hx extends cx{constructor(e){super({opacity:1,rotateWithView:e.rotateWithView!==void 0?e.rotateWithView:!1,rotation:e.rotation!==void 0?e.rotation:0,scale:e.scale!==void 0?e.scale:1,displacement:e.displacement!==void 0?e.displacement:[0,0],declutterMode:e.declutterMode}),this.hitDetectionCanvas_=null,this.fill_=e.fill!==void 0?e.fill:null,this.origin_=[0,0],this.points_=e.points,this.radius=e.radius,this.radius2_=e.radius2,this.angle_=e.angle!==void 0?e.angle:0,this.stroke_=e.stroke!==void 0?e.stroke:null,this.size_,this.renderOptions_,this.imageState_=this.fill_&&this.fill_.loading()?hi.LOADING:hi.LOADED,this.imageState_===hi.LOADING&&this.ready().then(()=>this.imageState_=hi.LOADED),this.render()}clone(){const e=this.getScale(),t=new hx({fill:this.getFill()?this.getFill().clone():void 0,points:this.getPoints(),radius:this.getRadius(),radius2:this.getRadius2(),angle:this.getAngle(),stroke:this.getStroke()?this.getStroke().clone():void 0,rotation:this.getRotation(),rotateWithView:this.getRotateWithView(),scale:Array.isArray(e)?e.slice():e,displacement:this.getDisplacement().slice(),declutterMode:this.getDeclutterMode()});return t.setOpacity(this.getOpacity()),t}getAnchor(){const e=this.size_,t=this.getDisplacement(),r=this.getScaleArray();return[e[0]/2-t[0]/r[0],e[1]/2+t[1]/r[1]]}getAngle(){return this.angle_}getFill(){return this.fill_}setFill(e){this.fill_=e,this.render()}getHitDetectionImage(){return this.hitDetectionCanvas_||(this.hitDetectionCanvas_=this.createHitDetectionCanvas_(this.renderOptions_)),this.hitDetectionCanvas_}getImage(e){var s,a;const t=(s=this.fill_)==null?void 0:s.getKey(),r=`${e},${this.angle_},${this.radius},${this.radius2_},${this.points_},${t}`+Object.values(this.renderOptions_).join(",");let i=(a=Sf.get(r,null,null))==null?void 0:a.getImage(1);if(!i){const o=this.renderOptions_,d=Math.ceil(o.size*e),g=Jl(d,d);this.draw_(o,g,e),i=g.canvas,Sf.set(r,null,null,new EU(i,void 0,null,hi.LOADED,null))}return i}getPixelRatio(e){return e}getImageSize(){return this.size_}getImageState(){return this.imageState_}getOrigin(){return this.origin_}getPoints(){return this.points_}getRadius(){return this.radius}getRadius2(){return this.radius2_}getSize(){return this.size_}getStroke(){return this.stroke_}setStroke(e){this.stroke_=e,this.render()}listenImageChange(e){}load(){}unlistenImageChange(e){}calculateLineJoinSize_(e,t,r){if(t===0||this.points_===1/0||e!=="bevel"&&e!=="miter")return t;let i=this.radius,s=this.radius2_===void 0?i:this.radius2_;if(i<s){const J=i;i=s,s=J}const a=this.radius2_===void 0?this.points_:this.points_*2,o=2*Math.PI/a,d=s*Math.sin(o),g=Math.sqrt(s*s-d*d),b=i-g,E=Math.sqrt(d*d+b*b),S=E/d;if(e==="miter"&&S<=r)return S*t;const O=t/2/S,k=t/2*(b/E),z=Math.sqrt((i+O)*(i+O)+k*k)-i;if(this.radius2_===void 0||e==="bevel")return z*2;const q=i*Math.sin(o),Q=Math.sqrt(i*i-q*q),re=s-Q,Y=Math.sqrt(q*q+re*re)/q;if(Y<=r){const J=Y*t/2-s-i;return 2*Math.max(z,J)}return z*2}createRenderOptions(){let e=Cy,t=by,r=0,i=null,s=0,a,o=0;this.stroke_&&(a=qp(this.stroke_.getColor()??a_),o=this.stroke_.getWidth()??u_,i=this.stroke_.getLineDash(),s=this.stroke_.getLineDashOffset()??0,t=this.stroke_.getLineJoin()??by,e=this.stroke_.getLineCap()??Cy,r=this.stroke_.getMiterLimit()??s_);const d=this.calculateLineJoinSize_(t,o,r),g=Math.max(this.radius,this.radius2_||0),b=Math.ceil(2*g+d);return{strokeStyle:a,strokeWidth:o,size:b,lineCap:e,lineDash:i,lineDashOffset:s,lineJoin:t,miterLimit:r}}render(){this.renderOptions_=this.createRenderOptions();const e=this.renderOptions_.size;this.hitDetectionCanvas_=null,this.size_=[e,e]}draw_(e,t,r){if(t.scale(r,r),t.translate(e.size/2,e.size/2),this.createPath_(t),this.fill_){let i=this.fill_.getColor();i===null&&(i=mh),t.fillStyle=qp(i),t.fill()}e.strokeStyle&&(t.strokeStyle=e.strokeStyle,t.lineWidth=e.strokeWidth,e.lineDash&&(t.setLineDash(e.lineDash),t.lineDashOffset=e.lineDashOffset),t.lineCap=e.lineCap,t.lineJoin=e.lineJoin,t.miterLimit=e.miterLimit,t.stroke())}createHitDetectionCanvas_(e){let t;if(this.fill_){let r=this.fill_.getColor(),i=0;typeof r=="string"&&(r=vy(r)),r===null?i=1:Array.isArray(r)&&(i=r.length===4?r[3]:1),i===0&&(t=Jl(e.size,e.size),this.drawHitDetectionCanvas_(e,t))}return t?t.canvas:this.getImage(1)}createPath_(e){let t=this.points_;const r=thi Line truncated
`||g===b){s=Math.max(s,a),i.push(a),a=0,o+=d,d=0;continue}const S=e[g+1]||n.font,O=t2(S,E);t.push(O),a+=O;const k=NZ(S);r.push(k),d=Math.max(d,k)}return{width:s,height:o,widths:t,heights:r,lineWidths:i}}function WZ(n,e,t,r,i,s,a,o,d,g,b){n.save(),t!==1&&(n.globalAlpha===void 0?n.globalAlpha=E=>E.globalAlpha*=t:n.globalAlpha*=t),e&&n.transform.apply(n,e),r.contextInstructions?(n.translate(d,g),n.scale(b[0],b[1]),QZ(r,n)):b[0]<0||b[1]<0?(n.translate(d,g),n.scale(b[0],b[1]),n.drawImage(r,i,s,a,o,0,0,a,o)):n.drawImage(r,i,s,a,o,d,g,a*b[0],o*b[1]),n.restore()}function QZ(n,e){const t=n.contextInstructions;for(let r=0,i=t.length;r<i;r+=2)Array.isArray(t[r+1])?e[t[r]].apply(e,t[r+1]):e[t[r]]=t[r+1]}class hx extends cx{constructor(e){super({opacity:1,rotateWithView:e.rotateWithView!==void 0?e.rotateWithView:!1,rotation:e.rotation!==void 0?e.rotation:0,scale:e.scale!==void 0?e.scale:1,displacement:e.displacement!==void 0?e.displacement:[0,0],declutterMode:e.declutterMode}),this.hitDetectionCanvas_=null,this.fill_=e.fill!==void 0?e.fill:null,this.origin_=[0,0],this.points_=e.points,this.radius=e.radius,this.radius2_=e.radius2,this.angle_=e.angle!==void 0?e.angle:0,this.stroke_=e.stroke!==void 0?e.stroke:null,this.size_,this.renderOptions_,this.imageState_=this.fill_&&this.fill_.loading()?hi.LOADING:hi.LOADED,this.imageState_===hi.LOADING&&this.ready().then(()=>this.imageState_=hi.LOADED),this.render()}clone(){const e=this.getScale(),t=new hx({fill:this.getFill()?this.getFill().clone():void 0,points:this.getPoints(),radius:this.getRadius(),radius2:this.getRadius2(),angle:this.getAngle(),stroke:this.getStroke()?this.getStroke().clone():void 0,rotation:this.getRotation(),rotateWithView:this.getRotateWithView(),scale:Array.isArray(e)?e.slice():e,displacement:this.getDisplacement().slice(),declutterMode:this.getDeclutterMode()});return t.setOpacity(this.getOpacity()),t}getAnchor(){const e=this.size_,t=this.getDisplacement(),r=this.getScaleArray();return[e[0]/2-t[0]/r[0],e[1]/2+t[1]/r[1]]}getAngle(){return this.angle_}getFill(){return this.fill_}setFill(e){this.fill_=e,this.render()}getHitDetectionImage(){return this.hitDetectionCanvas_||(this.hitDetectionCanvas_=this.createHitDetectionCanvas_(this.renderOptions_)),this.hitDetectionCanvas_}getImage(e){var s,a;const t=(s=this.fill_)==null?void 0:s.getKey(),r=`${e},${this.angle_},${this.radius},${this.radius2_},${this.points_},${t}`+Object.values(this.renderOptions_).join(",");let i=(a=Sf.get(r,null,null))==null?void 0:a.getImage(1);if(!i){const o=this.renderOptions_,d=Math.ceil(o.size*e),g=Jl(d,d);this.draw_(o,g,e),i=g.canvas,Sf.set(r,null,null,new EU(i,void 0,null,hi.LOADED,null))}return i}getPixelRatio(e){return e}getImageSize(){return this.size_}getImageState(){return this.imageState_}getOrigin(){return this.origin_}getPoints(){return this.points_}getRadius(){return this.radius}getRadius2(){return this.radius2_}getSize(){return this.size_}getStroke(){return this.stroke_}setStroke(e){this.stroke_=e,this.render()}listenImageChange(e){}load(){}unlistenImageChange(e){}calculateLineJoinSize_(e,t,r){if(t===0||this.points_===1/0||e!=="bevel"&&e!=="miter")return t;let i=this.radius,s=this.radius2_===void 0?i:this.radius2_;if(i<s){const J=i;i=s,s=J}const a=this.radius2_===void 0?this.points_:this.points_*2,o=2*Math.PI/a,d=s*Math.sin(o),g=Math.sqrt(s*s-d*d),b=i-g,E=Math.sqrt(d*d+b*b),S=E/d;if(e==="miter"&&S<=r)return S*t;const O=t/2/S,k=t/2*(b/E),z=Math.sqrt((i+O)*(i+O)+k*k)-i;if(this.radius2_===void 0||e==="bevel")return z*2;const q=i*Math.sin(o),Q=Math.sqrt(i*i-q*q),re=s-Q,Y=Math.sqrt(q*q+re*re)/q;if(Y<=r){const J=Y*t/2-s-i;return 2*Math.max(z,J)}return z*2}createRenderOptions(){let e=Cy,t=by,r=0,i=null,s=0,a,o=0;this.stroke_&&(a=qp(this.stroke_.getColor()??a_),o=this.stroke_.getWidth()??u_,i=this.stroke_.getLineDash(),s=this.stroke_.getLineDashOffset()??0,t=this.stroke_.getLineJoin()??by,e=this.stroke_.getLineCap()??Cy,r=this.stroke_.getMiterLimit()??s_);const d=this.calculateLineJoinSize_(t,o,r),g=Math.max(this.radius,this.radius2_||0),b=Math.ceil(2*g+d);return{strokeStyle:a,strokeWidth:o,size:b,lineCap:e,lineDash:i,lineDashOffset:s,lineJoin:t,miterLimit:r}}render(){this.renderOptions_=this.createRenderOptions();const e=this.renderOptions_.size;this.hitDetectionCanvas_=null,this.size_=[e,e]}draw_(e,t,r){if(t.scale(r,r),t.translate(e.size/2,e.size/2),this.createPath_(t),this.fill_){let i=this.fill_.getColor();i===null&&(i=mh),t.fillStyle=qp(i),t.fill()}e.strokeStyle&&(t.strokeStyle=e.strokeStyle,t.lineWidth=e.strokeWidth,e.lineDash&&(t.setLineDash(e.lineDash),t.lineDashOffset=e.lineDashOffset),t.lineCap=e.lineCap,t.lineJoin=e.lineJoin,t.miterLimit=e.miterLimit,t.stroke())}createHitDetectionCanvas_(e){let t;if(this.fill_){let r=this.fill_.getColor(),i=0;typeof r=="string"&&(r=vy(r)),r===null?i=1:Array.isArray(r)&&(i=r.length===4?r[3]:1),i===0&&(t=Jl(e.size,e.size),this.drawHitDetectionCanvas_(e,t))}return t?t.canvas:this.getImage(1)}createPath_(e){let t=this.points_;const r=thi Line truncated
`,""),n.push(e,""),n}class fee{constructor(e,t,r,i,s){this.overlaps=r,this.pixelRatio=t,this.resolution=e,this.alignAndScaleFill_,this.instructions=i.instructions,this.coordinates=i.coordinates,this.coordinateCache_={},this.renderedTransform_=_h(),this.hitDetectionInstructions=i.hitDetectionInstructions,this.pixelCoordinates_=null,this.viewRotation_=0,this.fillStates=i.fillStates||{},this.strokeStates=i.strokeStates||{},this.textStates=i.textStates||{},this.widths_={},this.labels_={},this.zIndexContext_=s?new OO:null}getZIndexContext(){return this.zIndexContext_}createLabel(e,t,r,i){const s=e+t+r+i;if(this.labels_[s])return this.labels_[s];const a=i?this.strokeStates[i]:null,o=r?this.fillStates[r]:null,d=this.textStates[t],g=this.pixelRatio,b=[d.scale[0]*g,d.scale[1]*g],E=d.justify?d2[d.justify]:K4(Array.isArray(e)?e[0]:e,d.textAlign||l_),S=i&&a.lineWidth?a.lineWidth:0,O=Array.isArray(e)?e:String(e).split(`
`).reduce(hee,[]),{width:k,height:U,widths:z,heights:q,lineWidths:Q}=GZ(d,O),re=k+S,X=[],Y=(re+2)*b[0],J=(U+S)*b[1],N={width:Y<0?Math.floor(Y):Math.ceil(Y),height:J<0?Math.floor(J):Math.ceil(J),contextInstructions:X};(b[0]!=1||b[1]!=1)&&X.push("scale",b),i&&(X.push("strokeStyle",a.strokeStyle),X.push("lineWidth",S),X.push("lineCap",a.lineCap),X.push("lineJoin",a.lineJoin),X.push("miterLimit",a.miterLimit),X.push("setLineDash",[a.lineDash]),X.push("lineDashOffset",a.lineDashOffset)),r&&X.push("fillStyle",o.fillStyle),X.push("textBaseline","middle"),X.push("textAlign","center");const ie=.5-E;let he=E*re+ie*S;const de=[],we=[];let fe=0,be=0,Pe=0,pe=0,it;for(let We=0,$e=O.length;We<$e;We+=2){const ht=O[We];if(ht===`
`){be+=fe,fe=0,he=E*re+ie*S,++pe;continue}const De=O[We+1]||d.font;De!==it&&(i&&de.push("font",De),r&&we.push("font",De),it=De),fe=Math.max(fe,q[Pe]);const Ne=[ht,he+ie*z[Pe]+E*(z[Pe]-Q[pe]),.5*(S+fe)+be];he+=z[Pe],i&&de.push("strokeText",Ne),r&&we.push("fillText",Ne),++Pe}return Array.prototype.push.apply(X,de),Array.prototype.push.apply(X,we),this.labels_[s]=N,N}replayTextBackground_(e,t,r,i,s,a,o){e.beginPath(),e.moveTo.apply(e,t),e.lineTo.apply(e,r),e.lineTo.apply(e,i),e.lineTo.apply(e,s),e.lineTo.apply(e,t),a&&(this.alignAndScaleFill_=a[2],this.fill_(e)),o&&(this.setStrokeStyle_(e,o),e.stroke())}calculateImageOrLabelDimensions_(e,t,r,i,s,a,o,d,g,b,E,S,O,k,U,z){o*=S[0],d*=S[1];let q=r-o,Q=i-d;const re=s+g>e?e-g:s,X=a+b>t?t-b:a,Y=k[3]+re*S[0]+k[1],J=k[0]+X*S[1]+k[2],N=q-k[3],ie=Q-k[0];(U||E!==0)&&(A0[0]=N,c0[0]=N,A0[1]=ie,Bm[1]=ie,Bm[0]=N+Y,Om[0]=Bm[0],Om[1]=ie+J,c0[1]=Om[1]);let he;return E!==0?(he=em(_h(),r,i,1,1,E,-r,-i),yA(he,A0),yA(he,Bm),yA(he,Om),yA(he,c0),Gm(Math.min(A0[0],Bm[0],Om[0],c0[0]),Math.min(A0[1],Bm[1],Om[1],c0[1]),Math.max(A0[0],Bm[0],Om[0],c0[0]),Math.max(A0[1],Bm[1],Om[1],c0[1]),u1)):Gm(Math.min(N,N+Y),Math.min(ie,ie+J),Math.max(N,N+Y),Math.max(ie,ie+J),u1),O&&(q=Math.round(q),Q=Math.round(Q)),{drawImageX:q,drawImageY:Q,drawImageW:re,drawImageH:X,originX:g,originY:b,declutterBox:{minX:u1[0],minY:u1[1],maxX:u1[2],maxY:u1[3],value:z},canvasTransform:he,scale:S}}replayImageOrLabel_(e,t,r,i,s,a,o){const d=!!(a||o),g=i.declutterBox,b=o?o[2]*i.scale[0]/2:0;return g.minX-b<=t[0]&&g.maxX+b>=0&&g.minY-b<=t[1]&&g.maxY+b>=0&&(d&&this.replayTextBackground_(e,A0,Bm,Om,c0,a,o),WZ(e,i.canvasTransform,s,r,i.originX,i.originY,i.drawImageW,i.drawImageH,i.drawImageX,i.drawImageY,i.scale)),!0}fill_(e){const t=this.alignAndScaleFill_;if(t){const r=yA(this.renderedTransform_,[0,0]),i=512*this.pixelRatio;e.save(),e.translate(r[0]%i,r[1]%i),t!==1&&e.scale(t,t),e.rotate(this.viewRotation_)}e.fill(),t&&e.restore()}setStrokeStyle_(e,t){e.strokeStyle=t[1],e.lineWidth=t[2],e.lineCap=t[3],e.lineJoin=t[4],e.miterLimit=t[5],e.lineDashOffset=t[7],e.setLineDash(t[6])}drawLabelWithPointPlacement_(e,t,r,i){const s=this.textStates[t],a=this.createLabel(e,t,i,r),o=this.strokeStates[r],d=this.pixelRatio,g=K4(Array.isArray(e)?e[0]:e,s.textAlign||l_),b=d2[s.textBaseline||e2],E=o&&o.lineWidth?o.lineWidth:0,S=a.width/d-2*s.scale[0],O=g*S+2*(.5-g)*E,k=b*a.height/d+2*(.5-b)*E;return{label:a,anchorX:O,anchorY:k}}execute_(e,t,r,i,s,a,o,d){const g=this.zIndexContext_;let b;this.pixelCoordinates_&&K0(r,this.renderedTransform_)?b=this.pixelCoordinates_:(this.pixelCoordinates_||(this.pixelCoordinates_=[]),b=O0(this.coordinates,0,this.coordinates.length,2,r,this.pixelCoordinates_),YZ(this.renderedTransform_,r));let E=0;const S=i.length;let O=0,k,U,z,q,Q,re,X,Y,J,N,ie,he,de,we=0,fe=0,be=null,Pe=null;const pe=this.coordinateCache_,it=this.viewRotation_,We=Math.round(Math.atan2(-r[1],r[0])*1e12)/1e12,$e={context:e,pixelRatio:this.pixelRatio,resolution:this.resolution,rotation:it},ht=this.instructions!=i||this.overlaps?0:200;let De,Ne,at,wt;for(;E<S;){const Ct=i[E];switch(Ct[0]){case Qi.BEGIN_GEOMETRY:De=Ct[1],wt=Ct[3],De.getGeometry()?o!==void 0&&!ku(o,wt.getExtent())?E=Ct[2]+1:++E:E=Ct[2],g&&(g.zIndex=Ct[4]);break;case Qi.BEGIN_PATH:we>ht&&(this.fill_(e),we=0),fe>ht&&(e.stroke(),fe=0),!we&&!fe&&(e.beginPath(),Q=NaN,re=NaN),++E;break;case Qi.CIRCLE:O=Ct[1];const Lt=b[O],Kt=b[O+1],Fe=b[O+2],Te=b[O+3],Se=Fe-Lt,Je=Te-Kt,yt=Math.sqrt(Se*Se+Je*Je);e.moveTo(Lt+yt,Kt),e.arc(Lt,Kt,yt,0,2*Math.PI,!0),++E;break;case Qi.CLOSE_PATH:e.closePath(),++E;break;case Qi.CUSTOM:O=Ct[1],k=Ct[2];const dt=Ct[3],Ut=Ct[4],en=Ct[5];$e.geometry=dt,$e.feature=De,E in pe||(pe[E]=[]);const Nt=pe[E];en?en(b,O,k,2,Nt):(Nt[0]=b[O],Nt[1]=b[O+1],Nt.length=2),g&&(g.zIndex=Ct[6]),Ut(Nt,$e),++E;break;case Qi.DRAW_IMAGE:O=Ct[1],k=Ct[2],J=Ct[3],U=Ct[4],z=Ct[5];let yn=Ct[6];const jn=Ct[7],Rr=Ct[8],sr=Ct[9],Jn=Ct[10];let mr=Ct[11];const pr=Ct[12];let xr=Ct[13];q=Ct[14]||"declutter";const Qn=Ct[15];if(!J&&Ct.length>=20){N=Ct[19],ie=Ct[20],he=Ct[21],de=Ct[22];const _t=this.drawLabelWithPointPlacement_(N,ie,he,de);J=_t.label,Ct[3]=J;const Tn=Ct[23];U=(_t.anchorX-Tn)*this.pixelRatio,Ct[4]=U;const Sn=Ct[24];z=(_t.anchorY-Sn)*this.pixelRatio,Ct[5]=z,yn=J.height,Ct[6]=yn,xr=J.width,Ct[13]=xr}let Er;Ct.length>25&&(Er=Ct[25]);let Ge,Ae,me;Ct.length>17?(Ge=Ct[16],Ae=Ct[17],me=Ct[18]):(Ge=pg,Ae=!1,me=!1),Jn&&We?mr+=it:!Jn&&!We&&(mr-=it);let Xe=0;for(;O<k;O+=2){if(Er&&Er[Xe++]<xr/this.pixelRatio)continue;const _t=this.calculateImageOrLabelDimensions_(J.width,J.height,b[O],b[O+1],xr,yn,U,z,Rr,sr,mr,pr,s,Ge,Ae||me,De),Tn=[e,t,J,_t,jn,Ae?be:null,me?Pe:null];if(d){let Sn,Ar,wr;if(Qn){const Rn=k-O;if(!Qn[Rn]){Qn[Rn]={args:Tn,declutterMode:q};continue}const Br=Qn[Rn];Sn=Br.args,Ar=Br.declutterMode,delete Qn[Rn],wr=Lk(Sn)}let rn,Fn;if(Sn&&(Ar!=="declutter"||!d.collides(wr))&&(rn=!0),(q!=="declutter"||!d.collides(_t.declutterBox))&&(Fn=!0),Ar==="declutter"&&q==="declutter"){const Rn=rn&&Fn;rn=Rn,F Line truncated
`){be+=fe,fe=0,he=E*re+ie*S,++pe;continue}const De=O[We+1]||d.font;De!==it&&(i&&de.push("font",De),r&&we.push("font",De),it=De),fe=Math.max(fe,q[Pe]);const Ne=[ht,he+ie*z[Pe]+E*(z[Pe]-Q[pe]),.5*(S+fe)+be];he+=z[Pe],i&&de.push("strokeText",Ne),r&&we.push("fillText",Ne),++Pe}return Array.prototype.push.apply(X,de),Array.prototype.push.apply(X,we),this.labels_[s]=N,N}replayTextBackground_(e,t,r,i,s,a,o){e.beginPath(),e.moveTo.apply(e,t),e.lineTo.apply(e,r),e.lineTo.apply(e,i),e.lineTo.apply(e,s),e.lineTo.apply(e,t),a&&(this.alignAndScaleFill_=a[2],this.fill_(e)),o&&(this.setStrokeStyle_(e,o),e.stroke())}calculateImageOrLabelDimensions_(e,t,r,i,s,a,o,d,g,b,E,S,O,k,U,z){o*=S[0],d*=S[1];let q=r-o,Q=i-d;const re=s+g>e?e-g:s,X=a+b>t?t-b:a,Y=k[3]+re*S[0]+k[1],J=k[0]+X*S[1]+k[2],N=q-k[3],ie=Q-k[0];(U||E!==0)&&(A0[0]=N,c0[0]=N,A0[1]=ie,Bm[1]=ie,Bm[0]=N+Y,Om[0]=Bm[0],Om[1]=ie+J,c0[1]=Om[1]);let he;return E!==0?(he=em(_h(),r,i,1,1,E,-r,-i),yA(he,A0),yA(he,Bm),yA(he,Om),yA(he,c0),Gm(Math.min(A0[0],Bm[0],Om[0],c0[0]),Math.min(A0[1],Bm[1],Om[1],c0[1]),Math.max(A0[0],Bm[0],Om[0],c0[0]),Math.max(A0[1],Bm[1],Om[1],c0[1]),u1)):Gm(Math.min(N,N+Y),Math.min(ie,ie+J),Math.max(N,N+Y),Math.max(ie,ie+J),u1),O&&(q=Math.round(q),Q=Math.round(Q)),{drawImageX:q,drawImageY:Q,drawImageW:re,drawImageH:X,originX:g,originY:b,declutterBox:{minX:u1[0],minY:u1[1],maxX:u1[2],maxY:u1[3],value:z},canvasTransform:he,scale:S}}replayImageOrLabel_(e,t,r,i,s,a,o){const d=!!(a||o),g=i.declutterBox,b=o?o[2]*i.scale[0]/2:0;return g.minX-b<=t[0]&&g.maxX+b>=0&&g.minY-b<=t[1]&&g.maxY+b>=0&&(d&&this.replayTextBackground_(e,A0,Bm,Om,c0,a,o),WZ(e,i.canvasTransform,s,r,i.originX,i.originY,i.drawImageW,i.drawImageH,i.drawImageX,i.drawImageY,i.scale)),!0}fill_(e){const t=this.alignAndScaleFill_;if(t){const r=yA(this.renderedTransform_,[0,0]),i=512*this.pixelRatio;e.save(),e.translate(r[0]%i,r[1]%i),t!==1&&e.scale(t,t),e.rotate(this.viewRotation_)}e.fill(),t&&e.restore()}setStrokeStyle_(e,t){e.strokeStyle=t[1],e.lineWidth=t[2],e.lineCap=t[3],e.lineJoin=t[4],e.miterLimit=t[5],e.lineDashOffset=t[7],e.setLineDash(t[6])}drawLabelWithPointPlacement_(e,t,r,i){const s=this.textStates[t],a=this.createLabel(e,t,i,r),o=this.strokeStates[r],d=this.pixelRatio,g=K4(Array.isArray(e)?e[0]:e,s.textAlign||l_),b=d2[s.textBaseline||e2],E=o&&o.lineWidth?o.lineWidth:0,S=a.width/d-2*s.scale[0],O=g*S+2*(.5-g)*E,k=b*a.height/d+2*(.5-b)*E;return{label:a,anchorX:O,anchorY:k}}execute_(e,t,r,i,s,a,o,d){const g=this.zIndexContext_;let b;this.pixelCoordinates_&&K0(r,this.renderedTransform_)?b=this.pixelCoordinates_:(this.pixelCoordinates_||(this.pixelCoordinates_=[]),b=O0(this.coordinates,0,this.coordinates.length,2,r,this.pixelCoordinates_),YZ(this.renderedTransform_,r));let E=0;const S=i.length;let O=0,k,U,z,q,Q,re,X,Y,J,N,ie,he,de,we=0,fe=0,be=null,Pe=null;const pe=this.coordinateCache_,it=this.viewRotation_,We=Math.round(Math.atan2(-r[1],r[0])*1e12)/1e12,$e={context:e,pixelRatio:this.pixelRatio,resolution:this.resolution,rotation:it},ht=this.instructions!=i||this.overlaps?0:200;let De,Ne,at,wt;for(;E<S;){const Ct=i[E];switch(Ct[0]){case Qi.BEGIN_GEOMETRY:De=Ct[1],wt=Ct[3],De.getGeometry()?o!==void 0&&!ku(o,wt.getExtent())?E=Ct[2]+1:++E:E=Ct[2],g&&(g.zIndex=Ct[4]);break;case Qi.BEGIN_PATH:we>ht&&(this.fill_(e),we=0),fe>ht&&(e.stroke(),fe=0),!we&&!fe&&(e.beginPath(),Q=NaN,re=NaN),++E;break;case Qi.CIRCLE:O=Ct[1];const Lt=b[O],Kt=b[O+1],Fe=b[O+2],Te=b[O+3],Se=Fe-Lt,Je=Te-Kt,yt=Math.sqrt(Se*Se+Je*Je);e.moveTo(Lt+yt,Kt),e.arc(Lt,Kt,yt,0,2*Math.PI,!0),++E;break;case Qi.CLOSE_PATH:e.closePath(),++E;break;case Qi.CUSTOM:O=Ct[1],k=Ct[2];const dt=Ct[3],Ut=Ct[4],en=Ct[5];$e.geometry=dt,$e.feature=De,E in pe||(pe[E]=[]);const Nt=pe[E];en?en(b,O,k,2,Nt):(Nt[0]=b[O],Nt[1]=b[O+1],Nt.length=2),g&&(g.zIndex=Ct[6]),Ut(Nt,$e),++E;break;case Qi.DRAW_IMAGE:O=Ct[1],k=Ct[2],J=Ct[3],U=Ct[4],z=Ct[5];let yn=Ct[6];const jn=Ct[7],Rr=Ct[8],sr=Ct[9],Jn=Ct[10];let mr=Ct[11];const pr=Ct[12];let xr=Ct[13];q=Ct[14]||"declutter";const Qn=Ct[15];if(!J&&Ct.length>=20){N=Ct[19],ie=Ct[20],he=Ct[21],de=Ct[22];const _t=this.drawLabelWithPointPlacement_(N,ie,he,de);J=_t.label,Ct[3]=J;const Tn=Ct[23];U=(_t.anchorX-Tn)*this.pixelRatio,Ct[4]=U;const Sn=Ct[24];z=(_t.anchorY-Sn)*this.pixelRatio,Ct[5]=z,yn=J.height,Ct[6]=yn,xr=J.width,Ct[13]=xr}let Er;Ct.length>25&&(Er=Ct[25]);let Ge,Ae,me;Ct.length>17?(Ge=Ct[16],Ae=Ct[17],me=Ct[18]):(Ge=pg,Ae=!1,me=!1),Jn&&We?mr+=it:!Jn&&!We&&(mr-=it);let Xe=0;for(;O<k;O+=2){if(Er&&Er[Xe++]<xr/this.pixelRatio)continue;const _t=this.calculateImageOrLabelDimensions_(J.width,J.height,b[O],b[O+1],xr,yn,U,z,Rr,sr,mr,pr,s,Ge,Ae||me,De),Tn=[e,t,J,_t,jn,Ae?be:null,me?Pe:null];if(d){let Sn,Ar,wr;if(Qn){const Rn=k-O;if(!Qn[Rn]){Qn[Rn]={args:Tn,declutterMode:q};continue}const Br=Qn[Rn];Sn=Br.args,Ar=Br.declutterMode,delete Qn[Rn],wr=Lk(Sn)}let rn,Fn;if(Sn&&(Ar!=="declutter"||!d.collides(wr))&&(rn=!0),(q!=="declutter"||!d.collides(_t.declutterBox))&&(Fn=!0),Ar==="declutter"&&q==="declutter"){const Rn=rn&&Fn;rn=Rn,F Line truncated
attribute vec4 a_position;
attribute vec4 a_texcoord;
@@ -893,7 +893,7 @@ and limitations under the License.
}
gl_FragColor = texture2D(u_texture, v_texcoord);
}
`;function Ene(n,e,t,r){let i;return t.length?i=t.shift():VB?i=new OffscreenCanvas(n||300,e||300):i=document.createElement("canvas"),n&&(i.width=n),e&&(i.height=e),i.getContext("webgl",r)}function Bne(n){const e=n.canvas;e.width=1,e.height=1,n.clear(n.COLOR_BUFFER_BIT|n.DEPTH_BUFFER_BIT|n.STENCIL_BUFFER_BIT)}const Xk=[];function One(n,e,t,r,i,s,a,o,d,g,b,E,S,O){const k=Math.round(r*e),U=Math.round(r*t);n.canvas.width=k,n.canvas.height=U;let z,q;if(q=n.createTexture(),n.bindTexture(n.TEXTURE_2D,q),n.texParameteri(n.TEXTURE_2D,n.TEXTURE_WRAP_S,n.CLAMP_TO_EDGE),n.texParameteri(n.TEXTURE_2D,n.TEXTURE_WRAP_T,n.CLAMP_TO_EDGE),S?(n.texParameteri(n.TEXTURE_2D,n.TEXTURE_MIN_FILTER,n.LINEAR),n.texParameteri(n.TEXTURE_2D,n.TEXTURE_MAG_FILTER,n.LINEAR)):(n.texParameteri(n.TEXTURE_2D,n.TEXTURE_MIN_FILTER,n.NEAREST),n.texParameteri(n.TEXTURE_2D,n.TEXTURE_MAG_FILTER,n.NEAREST)),n.texImage2D(n.TEXTURE_2D,0,n.RGBA,k,U,0,n.RGBA,b,null),z=n.createFramebuffer(),n.bindFramebuffer(n.FRAMEBUFFER,z),n.framebufferTexture2D(n.FRAMEBUFFER,n.COLOR_ATTACHMENT0,n.TEXTURE_2D,q,0),z===null)throw new Error("Could not create framebuffer");if(q===null)throw new Error("Could not create texture");if(d.length===0)return{width:k,height:U,framebuffer:z,texture:q};const Q=Zh();d.forEach(function(de,we,fe){rO(Q,de.extent)});let re,X,Y;const J=1/i;{if(re=n.createTexture(),q===null)throw new Error("Could not create texture");X=Math.round(ps(Q)*J),Y=Math.round(Hl(Q)*J);const de=n.getParameter(n.MAX_TEXTURE_SIZE),we=Math.max(X,Y),fe=we>de?de/we:1,be=Math.round(X*fe),Pe=Math.round(Y*fe);n.bindTexture(n.TEXTURE_2D,re),n.texParameteri(n.TEXTURE_2D,n.TEXTURE_WRAP_S,n.CLAMP_TO_EDGE),n.texParameteri(n.TEXTURE_2D,n.TEXTURE_WRAP_T,n.CLAMP_TO_EDGE),S?(n.texParameteri(n.TEXTURE_2D,n.TEXTURE_MIN_FILTER,n.LINEAR),n.texParameteri(n.TEXTURE_2D,n.TEXTURE_MAG_FILTER,n.LINEAR)):(n.texParameteri(n.TEXTURE_2D,n.TEXTURE_MIN_FILTER,n.NEAREST),n.texParameteri(n.TEXTURE_2D,n.TEXTURE_MAG_FILTER,n.NEAREST)),n.texImage2D(n.TEXTURE_2D,0,n.RGBA,be,Pe,0,n.RGBA,b,null);const pe=n.createFramebuffer();n.bindFramebuffer(n.FRAMEBUFFER,pe),n.framebufferTexture2D(n.FRAMEBUFFER,n.COLOR_ATTACHMENT0,n.TEXTURE_2D,re,0);const it=new bne(n);d.forEach(function(We,$e,ht){const De=(We.extent[0]-Q[0])*J*fe,Ne=-(We.extent[3]-Q[3])*J*fe,at=ps(We.extent)*J*fe,wt=Hl(We.extent)*J*fe;if(n.bindFramebuffer(n.FRAMEBUFFER,pe),n.viewport(0,0,be,Pe),We.clipExtent){const Ct=(We.clipExtent[0]-Q[0])*J*fe,ft=-(We.clipExtent[3]-Q[3])*J*fe,Lt=ps(We.clipExtent)*J*fe,Kt=Hl(We.clipExtent)*J*fe;n.enable(n.SCISSOR_TEST),n.scissor(S?Ct:Math.round(Ct),S?ft:Math.round(ft),S?Lt:Math.round(Ct+Lt)-Math.round(Ct),S?Kt:Math.round(ft+Kt)-Math.round(ft))}it.drawImage(We.texture,We.width,We.height,g,g,We.width-2*g,We.height-2*g,S?De:Math.round(De),S?Ne:Math.round(Ne),S?at:Math.round(De+at)-Math.round(De),S?wt:Math.round(Ne+wt)-Math.round(Ne),be,Pe),n.disable(n.SCISSOR_TEST)}),n.deleteFramebuffer(pe)}const N=Ap(a),ie=Ap(Q),he=de=>{const we=(de[0][0]-N[0])/s*r,fe=-(de[0][1]-N[1])/s*r,be=(de[1][0]-N[0])/s*r,Pe=-(de[1][1]-N[1])/s*r,pe=(de[2][0]-N[0])/s*r,it=-(de[2][1]-N[1])/s*r;return{u1:be,v1:Pe,u0:we,v0:fe,u2:pe,v2:it}};n.bindFramebuffer(n.FRAMEBUFFER,z),n.viewport(0,0,k,U);{const de=[],we=[],fe=H6(n,Sne,Mne);n.useProgram(fe);const be=n.getUniformLocation(fe,"u_texture");n.bindTexture(n.TEXTURE_2D,re),n.uniform1i(be,0),o.getTriangles().forEach(function(De,Ne,at){const wt=De.source,Ct=De.target,{u1:ft,v1:Lt,u0:Kt,v0:Fe,u2:Te,v2:Se}=he(Ct),Je=(wt[0][0]-ie[0])/i/X,yt=-(wt[0][1]-ie[1])/i/Y,dt=(wt[1][0]-ie[0])/i/X,Ut=-(wt[1][1]-ie[1])/i/Y,en=(wt[2][0]-ie[0])/i/X,Nt=-(wt[2][1]-ie[1])/i/Y;de.push(ft,Lt,Kt,Fe,Te,Se),we.push(dt,Ut,Je,yt,en,Nt)});const Pe=V6(0,k,U,0,-1,1),pe=n.getUniformLocation(fe,"u_matrix");n.uniformMatrix4fv(pe,!1,Pe);const it=n.getAttribLocation(fe,"a_position"),We=n.createBuffer();n.bindBuffer(n.ARRAY_BUFFER,We),n.bufferData(n.ARRAY_BUFFER,new Float32Array(de),n.STATIC_DRAW),n.vertexAttribPointer(it,2,n.FLOAT,!1,0,0),n.enableVertexAttribArray(it);const $e=n.getAttribLocation(fe,"a_texcoord"),ht=n.createBuffer();n.bindBuffer(n.ARRAY_BUFFER,ht),n.bufferData(n.ARRAY_BUFFER,new Float32Array(we),n.STATIC_DRAW),n.vertexAttribPointer($e,2,n.FLOAT,!1,0,0),n.enableVertexAttribArray($e),n.drawArrays(n.TRIANGLES,0,de.length/2)}if(E){const de=H6(n,wne,xne);n.useProgram(de);const we=V6(0,k,U,0,-1,1),fe=n.getUniformLocation(de,"u_matrix");n.uniformMatrix4fv(fe,!1,we);const be=Array.isArray(E)?E:[0,0,0,255],Pe=n.getUniformLocation(de,"u_val");n.uniform4fv(Pe,be);const pe=n.getAttribLocation(de,"a_position"),it=n.createBuffer();n.bindBuffer(n.ARRAY_BUFFER,it),n.vertexAttribPointer(pe,2,n.FLOAT,!1,0,0),n.enableVertexAttribArray(pe);const We=o.getTriangles().reduce(function($e,ht){const De=ht.target,{u1:Ne,v1:at,u0:wt,v0:Ct,u2:ft,v2:Lt}=he(De);return $e.concat([Ne,at,wt,Ct,wt,Ct,ft,Lt,ft,Lt,Ne,at])},[]);n.bufferData(n.ARRAY_BUFFER,new Float32Array(We),n.STATIC_DRAW),n.drawArrays(n.LINES,0,We.length/2)}return{width:k,height:U,framebuffer Line truncated
`;function Ene(n,e,t,r){let i;return t.length?i=t.shift():VB?i=new OffscreenCanvas(n||300,e||300):i=document.createElement("canvas"),n&&(i.width=n),e&&(i.height=e),i.getContext("webgl",r)}function Bne(n){const e=n.canvas;e.width=1,e.height=1,n.clear(n.COLOR_BUFFER_BIT|n.DEPTH_BUFFER_BIT|n.STENCIL_BUFFER_BIT)}const Xk=[];function One(n,e,t,r,i,s,a,o,d,g,b,E,S,O){const k=Math.round(r*e),U=Math.round(r*t);n.canvas.width=k,n.canvas.height=U;let z,q;if(q=n.createTexture(),n.bindTexture(n.TEXTURE_2D,q),n.texParameteri(n.TEXTURE_2D,n.TEXTURE_WRAP_S,n.CLAMP_TO_EDGE),n.texParameteri(n.TEXTURE_2D,n.TEXTURE_WRAP_T,n.CLAMP_TO_EDGE),S?(n.texParameteri(n.TEXTURE_2D,n.TEXTURE_MIN_FILTER,n.LINEAR),n.texParameteri(n.TEXTURE_2D,n.TEXTURE_MAG_FILTER,n.LINEAR)):(n.texParameteri(n.TEXTURE_2D,n.TEXTURE_MIN_FILTER,n.NEAREST),n.texParameteri(n.TEXTURE_2D,n.TEXTURE_MAG_FILTER,n.NEAREST)),n.texImage2D(n.TEXTURE_2D,0,n.RGBA,k,U,0,n.RGBA,b,null),z=n.createFramebuffer(),n.bindFramebuffer(n.FRAMEBUFFER,z),n.framebufferTexture2D(n.FRAMEBUFFER,n.COLOR_ATTACHMENT0,n.TEXTURE_2D,q,0),z===null)throw new Error("Could not create framebuffer");if(q===null)throw new Error("Could not create texture");if(d.length===0)return{width:k,height:U,framebuffer:z,texture:q};const Q=Zh();d.forEach(function(de,we,fe){rO(Q,de.extent)});let re,X,Y;const J=1/i;{if(re=n.createTexture(),q===null)throw new Error("Could not create texture");X=Math.round(ps(Q)*J),Y=Math.round(Hl(Q)*J);const de=n.getParameter(n.MAX_TEXTURE_SIZE),we=Math.max(X,Y),fe=we>de?de/we:1,be=Math.round(X*fe),Pe=Math.round(Y*fe);n.bindTexture(n.TEXTURE_2D,re),n.texParameteri(n.TEXTURE_2D,n.TEXTURE_WRAP_S,n.CLAMP_TO_EDGE),n.texParameteri(n.TEXTURE_2D,n.TEXTURE_WRAP_T,n.CLAMP_TO_EDGE),S?(n.texParameteri(n.TEXTURE_2D,n.TEXTURE_MIN_FILTER,n.LINEAR),n.texParameteri(n.TEXTURE_2D,n.TEXTURE_MAG_FILTER,n.LINEAR)):(n.texParameteri(n.TEXTURE_2D,n.TEXTURE_MIN_FILTER,n.NEAREST),n.texParameteri(n.TEXTURE_2D,n.TEXTURE_MAG_FILTER,n.NEAREST)),n.texImage2D(n.TEXTURE_2D,0,n.RGBA,be,Pe,0,n.RGBA,b,null);const pe=n.createFramebuffer();n.bindFramebuffer(n.FRAMEBUFFER,pe),n.framebufferTexture2D(n.FRAMEBUFFER,n.COLOR_ATTACHMENT0,n.TEXTURE_2D,re,0);const it=new bne(n);d.forEach(function(We,$e,ht){const De=(We.extent[0]-Q[0])*J*fe,Ne=-(We.extent[3]-Q[3])*J*fe,at=ps(We.extent)*J*fe,wt=Hl(We.extent)*J*fe;if(n.bindFramebuffer(n.FRAMEBUFFER,pe),n.viewport(0,0,be,Pe),We.clipExtent){const Ct=(We.clipExtent[0]-Q[0])*J*fe,ft=-(We.clipExtent[3]-Q[3])*J*fe,Lt=ps(We.clipExtent)*J*fe,Kt=Hl(We.clipExtent)*J*fe;n.enable(n.SCISSOR_TEST),n.scissor(S?Ct:Math.round(Ct),S?ft:Math.round(ft),S?Lt:Math.round(Ct+Lt)-Math.round(Ct),S?Kt:Math.round(ft+Kt)-Math.round(ft))}it.drawImage(We.texture,We.width,We.height,g,g,We.width-2*g,We.height-2*g,S?De:Math.round(De),S?Ne:Math.round(Ne),S?at:Math.round(De+at)-Math.round(De),S?wt:Math.round(Ne+wt)-Math.round(Ne),be,Pe),n.disable(n.SCISSOR_TEST)}),n.deleteFramebuffer(pe)}const N=Ap(a),ie=Ap(Q),he=de=>{const we=(de[0][0]-N[0])/s*r,fe=-(de[0][1]-N[1])/s*r,be=(de[1][0]-N[0])/s*r,Pe=-(de[1][1]-N[1])/s*r,pe=(de[2][0]-N[0])/s*r,it=-(de[2][1]-N[1])/s*r;return{u1:be,v1:Pe,u0:we,v0:fe,u2:pe,v2:it}};n.bindFramebuffer(n.FRAMEBUFFER,z),n.viewport(0,0,k,U);{const de=[],we=[],fe=H6(n,Sne,Mne);n.useProgram(fe);const be=n.getUniformLocation(fe,"u_texture");n.bindTexture(n.TEXTURE_2D,re),n.uniform1i(be,0),o.getTriangles().forEach(function(De,Ne,at){const wt=De.source,Ct=De.target,{u1:ft,v1:Lt,u0:Kt,v0:Fe,u2:Te,v2:Se}=he(Ct),Je=(wt[0][0]-ie[0])/i/X,yt=-(wt[0][1]-ie[1])/i/Y,dt=(wt[1][0]-ie[0])/i/X,Ut=-(wt[1][1]-ie[1])/i/Y,en=(wt[2][0]-ie[0])/i/X,Nt=-(wt[2][1]-ie[1])/i/Y;de.push(ft,Lt,Kt,Fe,Te,Se),we.push(dt,Ut,Je,yt,en,Nt)});const Pe=V6(0,k,U,0,-1,1),pe=n.getUniformLocation(fe,"u_matrix");n.uniformMatrix4fv(pe,!1,Pe);const it=n.getAttribLocation(fe,"a_position"),We=n.createBuffer();n.bindBuffer(n.ARRAY_BUFFER,We),n.bufferData(n.ARRAY_BUFFER,new Float32Array(de),n.STATIC_DRAW),n.vertexAttribPointer(it,2,n.FLOAT,!1,0,0),n.enableVertexAttribArray(it);const $e=n.getAttribLocation(fe,"a_texcoord"),ht=n.createBuffer();n.bindBuffer(n.ARRAY_BUFFER,ht),n.bufferData(n.ARRAY_BUFFER,new Float32Array(we),n.STATIC_DRAW),n.vertexAttribPointer($e,2,n.FLOAT,!1,0,0),n.enableVertexAttribArray($e),n.drawArrays(n.TRIANGLES,0,de.length/2)}if(E){const de=H6(n,wne,xne);n.useProgram(de);const we=V6(0,k,U,0,-1,1),fe=n.getUniformLocation(de,"u_matrix");n.uniformMatrix4fv(fe,!1,we);const be=Array.isArray(E)?E:[0,0,0,255],Pe=n.getUniformLocation(de,"u_val");n.uniform4fv(Pe,be);const pe=n.getAttribLocation(de,"a_position"),it=n.createBuffer();n.bindBuffer(n.ARRAY_BUFFER,it),n.vertexAttribPointer(pe,2,n.FLOAT,!1,0,0),n.enableVertexAttribArray(pe);const We=o.getTriangles().reduce(function($e,ht){const De=ht.target,{u1:Ne,v1:at,u0:wt,v0:Ct,u2:ft,v2:Lt}=he(De);return $e.concat([Ne,at,wt,Ct,wt,Ct,ft,Lt,ft,Lt,Ne,at])},[]);n.bufferData(n.ARRAY_BUFFER,new Float32Array(We),n.STATIC_DRAW),n.drawArrays(n.LINES,0,We.length/2)}return{width:k,height:U,framebuffer Line truncated
`),"binary").toString("base64"):URL.createObjectURL(new Blob(r,{type:"text/javascript"})));return i.addEventListener("message",e),i}function Lne(n,e){const t=Hz(n.operation);let r=!1;return{postMessage:function(i){setTimeout(function(){r||e({data:{buffer:t(i),meta:i.meta}})},0)},terminate:function(){r=!0}}}class Fne extends D_{constructor(e){super(),this.imageOps_=!!e.imageOps;let t;e.threads===0?t=0:this.imageOps_?t=1:t=e.threads||1;const r=new Array(t);if(t)for(let i=0;i<t;++i)r[i]=Dne(e,this.onWorkerMessage_.bind(this,i));else r[0]=Lne(e,this.onWorkerMessage_.bind(this,0));this.workers_=r,this.queue_=[],this.maxQueueLength_=e.queue||1/0,this.running_=0,this.dataLookup_={},this.job_=null}process(e,t,r){this.enqueue_({inputs:e,meta:t,callback:r}),this.dispatch_()}enqueue_(e){for(this.queue_.push(e);this.queue_.length>this.maxQueueLength_;)this.queue_.shift().callback(null,null)}dispatch_(){if(this.running_||this.queue_.length===0)return;const e=this.queue_.shift();this.job_=e;const t=e.inputs[0].width,r=e.inputs[0].height,i=e.inputs.map(function(d){return d.data.buffer}),s=this.workers_.length;if(this.running_=s,s===1){this.workers_[0].postMessage({buffers:i,meta:e.meta,imageOps:this.imageOps_,width:t,height:r},i);return}const a=e.inputs[0].data.length,o=4*Math.ceil(a/4/s);for(let d=0;d<s;++d){const g=d*o,b=[];for(let E=0,S=i.length;E<S;++E)b.push(i[E].slice(g,g+o));this.workers_[d].postMessage({buffers:b,meta:e.meta,imageOps:this.imageOps_,width:t,height:r},b)}}onWorkerMessage_(e,t){this.disposed||(this.dataLookup_[e]=t.data,--this.running_,this.running_===0&&this.resolveJob_())}resolveJob_(){const e=this.job_,t=this.workers_.length;let r,i;if(t===1)r=new Uint8ClampedArray(this.dataLookup_[0].buffer),i=this.dataLookup_[0].meta;else{const s=e.inputs[0].data.length;r=new Uint8ClampedArray(s),i=new Array(t);const a=4*Math.ceil(s/4/t);for(let o=0;o<t;++o){const d=this.dataLookup_[o].buffer,g=o*a;r.set(new Uint8ClampedArray(d),g),i[o]=this.dataLookup_[o].meta}}this.job_=null,this.dataLookup_={},e.callback(null,new ImageData(r,e.inputs[0].width,e.inputs[0].height),i),this.dispatch_()}disposeInternal(){for(let e=0;e<this.workers_.length;++e)this.workers_[e].terminate();this.workers_.length=0}}const eT={BEFOREOPERATIONS:"beforeoperations",AFTEROPERATIONS:"afteroperations"};class tT extends hp{constructor(e,t,r){super(e),this.extent=t.extent,this.resolution=t.viewState.resolution/t.pixelRatio,this.data=r}}class Zz extends Wz{constructor(e){super({projection:null}),this.on,this.once,this.un,this.processor_=null,this.operationType_=e.operationType!==void 0?e.operationType:"pixel",this.threads_=e.threads!==void 0?e.threads:1,this.layers_=jne(e.sources);const t=this.changed.bind(this);for(let r=0,i=this.layers_.length;r<i;++r)this.layers_[r].addEventListener(io.CHANGE,t);this.useResolutions_=e.resolutions!==null,this.tileQueue_=new kz(function(){return 1},this.processSources_.bind(this)),this.requestedFrameState_,this.renderedImageCanvas_=null,this.renderedRevision_,this.frameState_={animate:!1,coordinateToPixelTransform:_h(),declutter:null,extent:null,index:0,layerIndex:0,layerStatesArray:zne(this.layers_),pixelRatio:1,pixelToCoordinateTransform:_h(),postRenderFunctions:[],size:[0,0],tileQueue:this.tileQueue_,time:Date.now(),usedTiles:{},viewState:{rotation:0},viewHints:[],wantedTiles:{},mapId:Fo(this),renderTargets:{}},this.setAttributions(function(r){var s;const i=[];for(let a=0,o=e.sources.length;a<o;++a){const d=e.sources[a],g=d instanceof Ky?d:d.getSource();if(!g)continue;const b=(s=g.getAttributions())==null?void 0:s(r);typeof b=="string"?i.push(b):b!==void 0&&i.push(...b)}return i}),e.operation!==void 0&&this.setOperation(e.operation,e.lib)}setOperation(e,t){this.processor_&&this.processor_.dispose(),this.processor_=new Fne({operation:e,imageOps:this.operationType_==="image",queue:1,lib:t,threads:this.threads_}),this.changed()}updateFrameState_(e,t,r){const i=Object.assign({},this.frameState_);i.viewState=Object.assign({},i.viewState);const s=If(e);i.size[0]=Math.ceil(ps(e)/t),i.size[1]=Math.ceil(Hl(e)/t),i.extent=[s[0]-i.size[0]*t/2,s[1]-i.size[1]*t/2,s[0]+i.size[0]*t/2,s[1]+i.size[1]*t/2],i.time=Date.now();const a=i.viewState;return a.center=s,a.projection=r,a.resolution=t,i}allSourcesReady_(){let e=!0,t;for(let r=0,i=this.layers_.length;r<i;++r)if(t=this.layers_[r].getSource(),!t||t.getState()!=="ready"){e=!1;break}return e}getImage(e,t,r,i){if(!this.allSourcesReady_())return null;this.tileQueue_.loadMoreTiles(16,16),t=this.findNearestResolution(t);const s=this.updateFrameState_(e,t,i);if(this.requestedFrameState_=s,this.renderedImageCanvas_){const a=this.renderedImageCanvas_.getResolution(),o=this.renderedImageCanvas_.getExtent();(t!==a||!Wm(s.extent,o))&&(this.renderedImageCanvas_=null)}return(!this.renderedImageCanvas_||this.getRevision()!==this.renderedRevision_)&&this.processSources_(),s.animate&&requestAnimationFrame(this.changed.bind(this)),this.renderedImageCanvas_}processSources_(){const e=this.re Line truncated
`);this.generateTileUrlFunction_?this.setTileUrlFunction(Xz(e,this.tileGrid),t):this.setKey(t)}tileUrlFunction(e,t,r){}}class Zne extends Tx{constructor(e){super({attributions:e.attributions,cacheSize:e.cacheSize,projection:e.projection,state:e.state,tileGrid:e.tileGrid,tileLoadFunction:e.tileLoadFunction?e.tileLoadFunction:Xne,tilePixelRatio:e.tilePixelRatio,tileUrlFunction:e.tileUrlFunction,url:e.url,urls:e.urls,wrapX:e.wrapX,transition:e.transition,interpolate:e.interpolate!==void 0?e.interpolate:!0,key:e.key,attributionsCollapsible:e.attributionsCollapsible,zDirection:e.zDirection}),this.crossOrigin=e.crossOrigin!==void 0?e.crossOrigin:null,this.tileClass=e.tileClass!==void 0?e.tileClass:Iz,this.tileGridForProjection={},this.reprojectionErrorThreshold_=e.reprojectionErrorThreshold,this.renderReprojectionEdges_=!1}getGutterForProjection(e){return this.getProjection()&&e&&!Mg(this.getProjection(),e)?0:this.getGutter()}getGutter(){return 0}getKey(){let e=super.getKey();return this.getInterpolate()||(e+=":disable-interpolation"),e}getTileGridForProjection(e){const t=this.getProjection();if(this.tileGrid&&(!t||Mg(t,e)))return this.tileGrid;const r=Fo(e);return r in this.tileGridForProjection||(this.tileGridForProjection[r]=Yz(e)),this.tileGridForProjection[r]}createTile_(e,t,r,i,s,a){const o=[e,t,r],d=this.getTileCoordForTileUrlFunction(o,s),g=d?this.tileUrlFunction(d,i,s):void 0,b=new this.tileClass(o,g!==void 0?Cr.IDLE:Cr.EMPTY,g!==void 0?g:"",this.crossOrigin,this.tileLoadFunction,this.tileOptions);return b.key=a,b.addEventListener(io.CHANGE,this.handleTileChange.bind(this)),b}getTile(e,t,r,i,s){const a=this.getProjection();if(!a||!s||Mg(a,s))return this.getTileInternal(e,t,r,i,a||s);const o=[e,t,r],d=this.getKey(),g=this.getTileGridForProjection(a),b=this.getTileGridForProjection(s),E=this.getTileCoordForTileUrlFunction(o,s),S=new Z6(a,g,s,b,o,E,this.getTilePixelRatio(i),this.getGutter(),(O,k,U,z)=>this.getTileInternal(O,k,U,z,a),this.reprojectionErrorThreshold_,this.renderReprojectionEdges_,this.tileOptions);return S.key=d,S}getTileInternal(e,t,r,i,s){const a=this.getKey();return this.createTile_(e,t,r,i,s,a)}setRenderReprojectionEdges(e){this.renderReprojectionEdges_!=e&&(this.renderReprojectionEdges_=e,this.changed())}setTileGridForProjection(e,t){const r=Ma(e);if(r){const i=Fo(r);i in this.tileGridForProjection||(this.tileGridForProjection[i]=t)}}}function Xne(n,e){n.getImage().src=e}function Jne(n,e,t,r){const i=document.createElement("script"),s="olc_"+Fo(e);function a(){delete window[s],i.parentNode.removeChild(i)}i.async=!0,i.src=n+(n.includes("?")?"&":"?")+"callback="+s;const o=setTimeout(function(){a(),t&&t()},1e4);window[s]=function(d){clearTimeout(o),a(),e(d)},document.head.appendChild(i)}class Jz extends Zne{constructor(e){if(super({attributions:e.attributions,cacheSize:e.cacheSize,crossOrigin:e.crossOrigin,interpolate:e.interpolate,projection:Ma("EPSG:3857"),reprojectionErrorThreshold:e.reprojectionErrorThreshold,state:"loading",tileLoadFunction:e.tileLoadFunction,wrapX:e.wrapX!==void 0?e.wrapX:!0,transition:e.transition,zDirection:e.zDirection}),this.tileJSON_=null,this.tileSize_=e.tileSize,e.url)if(e.jsonp)Jne(e.url,this.handleTileJSONResponse.bind(this),this.handleTileJSONError.bind(this));else{const t=new XMLHttpRequest;t.addEventListener("load",this.onXHRLoad_.bind(this)),t.addEventListener("error",this.onXHRError_.bind(this)),t.open("GET",e.url),t.send()}else if(e.tileJSON)this.handleTileJSONResponse(e.tileJSON);else throw new Error("Either `url` or `tileJSON` options must be provided")}onXHRLoad_(e){const t=e.target;if(!t.status||t.status>=200&&t.status<300){let r;try{r=JSON.parse(t.responseText)}catch{this.handleTileJSONError();return}this.handleTileJSONResponse(r)}else this.handleTileJSONError()}onXHRError_(e){this.handleTileJSONError()}getTileJSON(){return this.tileJSON_}handleTileJSONResponse(e){const t=Ma("EPSG:4326"),r=this.getProjection();let i;if(e.bounds!==void 0){const g=G_(t,r);i=rX(e.bounds,g)}const s=kx(r),a=e.minzoom||0,o=e.maxzoom||22,d=jO({extent:s,maxZoom:o,minZoom:a,tileSize:this.tileSize_});if(this.tileGrid=d,this.tileUrlFunction=Xz(e.tiles,d),e.attribution&&!this.getAttributions()){const g=i!==void 0?i:s;this.setAttributions(function(b){return ku(g,b.extent)?[e.attribution]:null})}this.tileJSON_=e,this.setState("ready")}handleTileJSONError(){this.setState("error")}}const ere={image:["Polygon","Circle","LineString","Image","Text"],hybrid:["Polygon","LineString"],vector:[]},nT={hybrid:["Image","Text","Default"],vector:["Polygon","Circle","LineString","Image","Text","Default"]};class tre extends Qz{constructor(e,t){super(e,t),this.boundHandleStyleImageChange_=this.handleStyleImageChange_.bind(this),this.renderedLayerRevision_,this.renderedPixelToCoordinateTransform_=null,this.renderedRotation_,this.renderedOpacity_=1,this.tmpTransform_=_h(),this.tileClipContexts_=null}drawTile(e,t,r,i,s,a,o,d){this.updateExecutorGroup_(e,t.pixelRatio,t.viewState.projection),this.til Line truncated
This is most likely a bug, please report this via https://github.com/mapbox/mapbox-gl-js/issues/new?assignees=&labels=&template=Bug_report.md
@@ -943,7 +943,7 @@ This property is required if any layer uses the \`text-field\` layout property.
* In interval or exponential property and zoom-and-property functions, when the feature value is not numeric.
If no default is provided, the style property's default is used in these circumstances.`}},function_stop:eae,expression:tae,expression_name:nae,light:rae,sky:iae,terrain:oae,projection:sae,paint:aae,paint_fill:lae,"paint_fill-extrusion":{"fill-extrusion-opacity":{type:"number",default:1,minimum:0,maximum:1,doc:"The opacity of the entire fill extrusion layer. This is rendered on a per-layer, not per-feature, basis, and data-driven styling is not available.",transition:!0,"sdk-support":{"basic functionality":{js:"0.27.0",android:"5.1.0",ios:"3.6.0"}},expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"fill-extrusion-color":{type:"color",default:"#000000",doc:"The base color of the extruded fill. The extrusion's surfaces will be shaded differently based on this color in combination with the root `light` settings. If this color is specified as `rgba` with an alpha component, the alpha component will be ignored; use `fill-extrusion-opacity` to set layer opacity.",transition:!0,requires:[{"!":"fill-extrusion-pattern"}],"sdk-support":{"basic functionality":{js:"0.27.0",android:"5.1.0",ios:"3.6.0"},"data-driven styling":{js:"0.27.0",android:"5.1.0",ios:"3.6.0"}},expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-extrusion-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",doc:"The geometry's offset. Values are [x, y] where negatives indicate left and up (on the flat plane), respectively.","sdk-support":{"basic functionality":{js:"0.27.0",android:"5.1.0",ios:"3.6.0"}},expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"fill-extrusion-translate-anchor":{type:"enum",values:{map:{doc:"The fill extrusion is translated relative to the map."},viewport:{doc:"The fill extrusion is translated relative to the viewport."}},doc:"Controls the frame of reference for `fill-extrusion-translate`.",default:"map",requires:["fill-extrusion-translate"],"sdk-support":{"basic functionality":{js:"0.27.0",android:"5.1.0",ios:"3.6.0"}},expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"fill-extrusion-pattern":{type:"resolvedImage",transition:!0,doc:"Name of image in sprite to use for drawing images on extruded fills. For seamless patterns, image width and height must be a factor of two (2, 4, 8, ..., 512). Note that zoom-dependent expressions will be evaluated only at integer zoom levels.","sdk-support":{"basic functionality":{js:"0.27.0",android:"5.1.0",ios:"3.6.0"},"data-driven styling":{js:"0.49.0",android:"6.5.0",ios:"4.4.0"}},expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"cross-faded-data-driven"},"fill-extrusion-height":{type:"number",default:0,minimum:0,units:"meters",doc:"The height with which to extrude this layer.",transition:!0,"sdk-support":{"basic functionality":{js:"0.27.0",android:"5.1.0",ios:"3.6.0"},"data-driven styling":{js:"0.27.0",android:"5.1.0",ios:"3.6.0"}},expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-extrusion-base":{type:"number",default:0,minimum:0,units:"meters",doc:"The height with which to extrude the base of this layer. Must be less than or equal to `fill-extrusion-height`.",transition:!0,requires:["fill-extrusion-height"],"sdk-support":{"basic functionality":{js:"0.27.0",android:"5.1.0",ios:"3.6.0"},"data-driven styling":{js:"0.27.0",android:"5.1.0",ios:"3.6.0"}},expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-extrusion-vertical-gradient":{type:"boolean",default:!0,doc:"Whether to apply a vertical gradient to the sides of a fill-extrusion layer. If true, sides will be shaded slightly darker farther down.",transition:!1,"sdk-support":{"basic functionality":{js:"0.50.0",ios:"4.7.0",android:"7.0.0"}},expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"}},paint_line:uae,paint_circle:Aae,paint_heatmap:cae,paint_symbol:dae,paint_raster:hae,paint_hillshade:fae,paint_background:pae,transition:mae,"property-type":{"data-driven":{type:"property-type",doc:"Property is interpolable and can be represented using a property expression."},"cross-faded":{type:"property-type",doc:"Property is non-interpolable; rather, its values will be cross-faded to smoothly transition between integer zooms."},"cross-faded-data-driven":{type:"property-type",doc:"Property is non-interpolable; rather, its values will be cross-faded to smoothly transition between integer zooms. It can be represented using a property expression."},"color-ramp":{type:"property-type",doc:"Property should be specified using a color ramp from which the output color can be sampled based on a property calculation."},"data-constant":{type:"property-type",doc:"Property is interpolable but cannot be represented using a property expression."},constant:{type:"property-type",doc:"Property is constaLine truncated
If no default is provided, the style property's default is used in these circumstances.`}},function_stop:eae,expression:tae,expression_name:nae,light:rae,sky:iae,terrain:oae,projection:sae,paint:aae,paint_fill:lae,"paint_fill-extrusion":{"fill-extrusion-opacity":{type:"number",default:1,minimum:0,maximum:1,doc:"The opacity of the entire fill extrusion layer. This is rendered on a per-layer, not per-feature, basis, and data-driven styling is not available.",transition:!0,"sdk-support":{"basic functionality":{js:"0.27.0",android:"5.1.0",ios:"3.6.0"}},expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"fill-extrusion-color":{type:"color",default:"#000000",doc:"The base color of the extruded fill. The extrusion's surfaces will be shaded differently based on this color in combination with the root `light` settings. If this color is specified as `rgba` with an alpha component, the alpha component will be ignored; use `fill-extrusion-opacity` to set layer opacity.",transition:!0,requires:[{"!":"fill-extrusion-pattern"}],"sdk-support":{"basic functionality":{js:"0.27.0",android:"5.1.0",ios:"3.6.0"},"data-driven styling":{js:"0.27.0",android:"5.1.0",ios:"3.6.0"}},expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-extrusion-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",doc:"The geometry's offset. Values are [x, y] where negatives indicate left and up (on the flat plane), respectively.","sdk-support":{"basic functionality":{js:"0.27.0",android:"5.1.0",ios:"3.6.0"}},expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"fill-extrusion-translate-anchor":{type:"enum",values:{map:{doc:"The fill extrusion is translated relative to the map."},viewport:{doc:"The fill extrusion is translated relative to the viewport."}},doc:"Controls the frame of reference for `fill-extrusion-translate`.",default:"map",requires:["fill-extrusion-translate"],"sdk-support":{"basic functionality":{js:"0.27.0",android:"5.1.0",ios:"3.6.0"}},expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"fill-extrusion-pattern":{type:"resolvedImage",transition:!0,doc:"Name of image in sprite to use for drawing images on extruded fills. For seamless patterns, image width and height must be a factor of two (2, 4, 8, ..., 512). Note that zoom-dependent expressions will be evaluated only at integer zoom levels.","sdk-support":{"basic functionality":{js:"0.27.0",android:"5.1.0",ios:"3.6.0"},"data-driven styling":{js:"0.49.0",android:"6.5.0",ios:"4.4.0"}},expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"cross-faded-data-driven"},"fill-extrusion-height":{type:"number",default:0,minimum:0,units:"meters",doc:"The height with which to extrude this layer.",transition:!0,"sdk-support":{"basic functionality":{js:"0.27.0",android:"5.1.0",ios:"3.6.0"},"data-driven styling":{js:"0.27.0",android:"5.1.0",ios:"3.6.0"}},expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-extrusion-base":{type:"number",default:0,minimum:0,units:"meters",doc:"The height with which to extrude the base of this layer. Must be less than or equal to `fill-extrusion-height`.",transition:!0,requires:["fill-extrusion-height"],"sdk-support":{"basic functionality":{js:"0.27.0",android:"5.1.0",ios:"3.6.0"},"data-driven styling":{js:"0.27.0",android:"5.1.0",ios:"3.6.0"}},expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-extrusion-vertical-gradient":{type:"boolean",default:!0,doc:"Whether to apply a vertical gradient to the sides of a fill-extrusion layer. If true, sides will be shaded slightly darker farther down.",transition:!1,"sdk-support":{"basic functionality":{js:"0.50.0",ios:"4.7.0",android:"7.0.0"}},expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"}},paint_line:uae,paint_circle:Aae,paint_heatmap:cae,paint_symbol:dae,paint_raster:hae,paint_hillshade:fae,paint_background:pae,transition:mae,"property-type":{"data-driven":{type:"property-type",doc:"Property is interpolable and can be represented using a property expression."},"cross-faded":{type:"property-type",doc:"Property is non-interpolable; rather, its values will be cross-faded to smoothly transition between integer zooms."},"cross-faded-data-driven":{type:"property-type",doc:"Property is non-interpolable; rather, its values will be cross-faded to smoothly transition between integer zooms. It can be represented using a property expression."},"color-ramp":{type:"property-type",doc:"Property should be specified using a color ramp from which the output color can be sampled based on a property calculation."},"data-constant":{type:"property-type",doc:"Property is interpolable but cannot be represented using a property expression."},constant:{type:"property-type",doc:"Property is constaLine truncated
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Hae(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var Zae=Qx(function n(e){var t=this,r=e.expanded,i=r===void 0?[]:r,s=e.allowMultipleExpanded,a=s===void 0?!1:s,o=e.allowZeroExpanded,d=o===void 0?!1:o;Wx(this,n),Fl(this,"expanded",void 0),Fl(this,"allowMultipleExpanded",void 0),Fl(this,"allowZeroExpanded",void 0),Fl(this,"toggleExpanded",function(g){if(t.isItemDisabled(g))return t;var b=t.isItemExpanded(g);return b?t.augment({expanded:t.expanded.filter(function(E){return E!==g})}):t.augment({expanded:t.allowMultipleExpanded?[].concat(Wae(t.expanded),[g]):[g]})}),Fl(this,"isItemDisabled",function(g){var b=t.isItemExpanded(g),E=t.expanded.length===1;return!!(b&&!t.allowZeroExpanded&&E)}),Fl(this,"isItemExpanded",function(g){return t.expanded.indexOf(g)!==-1}),Fl(this,"getPanelAttributes",function(g,b){var E=b??t.isItemExpanded(g);return{role:t.allowMultipleExpanded?void 0:"region","aria-hidden":t.allowMultipleExpanded?!E:void 0,"aria-labelledby":t.getButtonId(g),id:t.getPanelId(g),hidden:E?void 0:!0}}),Fl(this,"getHeadingAttributes",function(){return{role:"heading"}}),Fl(this,"getButtonAttributes",function(g,b){var E=b??t.isItemExpanded(g),S=t.isItemDisabled(g);return{id:t.getButtonId(g),"aria-disabled":S,"aria-expanded":E,"aria-controls":t.getPanelId(g),role:"button",tabIndex:0}}),Fl(this,"getPanelId",function(g){return"accordion__panel-".concat(g)}),Fl(this,"getButtonId",function(g){return"accordion__heading-".concat(g)}),Fl(this,"augment",function(g){return new n(dB({expanded:t.expanded,allowMultipleExpanded:t.allowMultipleExpanded,allowZeroExpanded:t.allowZeroExpanded},g))}),this.expanded=i,this.allowMultipleExpanded=a,this.allowZeroExpanded=d}),CN=ui.createContext(null),bN=function(n){CI(t,n);var e=bI(t);function t(){var r;Wx(this,t);for(var i=arguments.length,s=new Array(i),a=0;a<i;a++)s[a]=arguments[a];return r=e.call.apply(e,[this].concat(s)),Fl(ip(r),"state",new Zae({expanded:r.props.preExpanded,allowMultipleExpanded:r.props.allowMultipleExpanded,allowZeroExpanded:r.props.allowZeroExpanded})),Fl(ip(r),"toggleExpanded",function(o){r.setState(function(d){return d.toggleExpanded(o)},function(){r.props.onChange&&r.props.onChange(r.state.expanded)})}),Fl(ip(r),"isItemDisabled",function(o){return r.state.isItemDisabled(o)}),Fl(ip(r),"isItemExpanded",function(o){return r.state.isItemExpanded(o)}),Fl(ip(r),"getPanelAttributes",function(o,d){return r.state.getPanelAttributes(o,d)}),Fl(ip(r),"getHeadingAttributes",function(){return r.state.getHeadingAttributes()}),Fl(ip(r),"getButtonAttributes",function(o,d){return r.state.getButtonAttributes(o,d)}),r}return Qx(t,[{key:"render",value:function(){var i=this.state,s=i.allowZeroExpanded,a=i.allowMultipleExpanded;return ui.createElement(CN.Provider,{value:{allowMultipleExpanded:a,allowZeroExpanded:s,toggleExpanded:this.toggleExpanded,isItemDisabled:this.isItemDisabled,isItemExpanded:this.isItemExpanded,getPanelAttributes:this.getPanelAttributes,getHeadingAttributes:this.getHeadingAttributes,getButtonAttributes:this.getButtonAttributes}},this.props.children||null)}}]),t}(ui.PureComponent);Fl(bN,"defaultProps",{allowMultipleExpanded:!1,allowZeroExpanded:!1});var xN=function(n){CI(t,n);var e=bI(t);function t(){var r;Wx(this,t);for(var i=arguments.length,s=new Array(i),a=0;a<i;a++)s[a]=arguments[a];return r=e.call.apply(e,[this].concat(s)),Fl(ip(r),"renderChildren",function(o){return o?r.props.children(o):null}),r}return Qx(t,[{key:"render",value:function(){return ui.createElement(CN.Consumer,null,this.renderChildren)}}]),t}(ui.PureComponent),Xae=["className","allowMultipleExpanded","allowZeroExpanded","onChange","preExpanded"],Jae=function(e){var t=e.className,r=t===void 0?"accordion":t,i=e.allowMultipleExpanded,s=e.allowZeroExpanded,a=e.onChange,o=e.preExpanded,d=qx(e,Xae);return ui.createElement(bN,{preExpanded:o,allowMultipleExpanded:i,allowZeroExpanded:s,onChange:a},ui.createElement("div",nm({"data-accordion-component":"Accordion",className:r},d)))},pB;(function(n){n.Accordion="Accordion",n.AccordionItem="AccordionItem",n.AccordionItemButton="AccordionItemButton",n.AccordionItemHeading="AccordionItemHeading",n.AccordionItemPanel="AccordionItemPanel"})(pB||(pB={}));var wN=pB,T5=0;function ele(){var n=T5;return T5=T5+1,"raa-".concat(n)}var tle=ui.useId||ele,nle=/[\u0009\u000a\u000c\u000d\u0020]/g;function w_(n){return n===""||nle.test(n)?(console.error('uuid must be a valid HTML5 id but was given "'.concat(n,'", ASCII whitespaces are forbidden')),!1):!0}var MN=ui.createContext(null),rle=function(e){var t=e.children,r=e.uuid,i=e.accordionContext,s=e.dangerouslySetExpanded,a=function(){i.toggleExpanded(r)},o=function(g){var b=s??g.isItemExpanded(r),E=g.isItemDisabled(r),S=g.getPanelAttributes(r,s),O=g.getHeadingAttributes(r),k=g.getButtonAttributes(r,s);return ui.createElement(MN.Provider,{value:{uuid:r,expanded:b,disabled:E,toggleExpanded:a,panelAttributes:S,headingAttributes:O,buttonAttributes:k}},t)};return ui.createElement(xN,nu Line truncated
@@ -951,30 +951,30 @@ From the WAI-ARIA spec (https://www.w3.org/TR/wai-aria-practices-1.1/#accordion)
“The button element is the only element inside the heading element. That is, if there are other visually persistent elements, they are not included inside the heading element.”
`,BN=function(n){CI(t,n);var e=bI(t);function t(){var r;Wx(this,t);for(var i=arguments.length,s=new Array(i),a=0;a<i;a++)s[a]=arguments[a];return r=e.call.apply(e,[this].concat(s)),Fl(ip(r),"ref",void 0),Fl(ip(r),"setRef",function(o){r.ref=o}),r}return Qx(t,[{key:"componentDidUpdate",value:function(){t.VALIDATE(this.ref)}},{key:"componentDidMount",value:function(){t.VALIDATE(this.ref)}},{key:"render",value:function(){return ui.createElement("div",nm({"data-accordion-component":"AccordionItemHeading"},this.props,{ref:this.setRef}))}}],[{key:"VALIDATE",value:function(i){if(i===void 0)throw new Error("ref is undefined");if(!(i.childElementCount===1&&i.firstElementChild&&i.firstElementChild.getAttribute("data-accordion-component")==="AccordionItemButton"))throw new Error(fle)}}]),t}(ui.PureComponent);Fl(BN,"defaultProps",hle);var ON=function(e){return ui.createElement(Yx,null,function(t){var r=t.headingAttributes;return e.id&&w_(e.id),ui.createElement(BN,nm({},e,r))})};ON.displayName=wN.AccordionItemHeading;var ple=["className","region","id"],mle=function(e){var t=e.className,r=t===void 0?"accordion__panel":t,i=e.region,s=e.id,a=qx(e,ple),o=function(g){var b=g.panelAttributes;s&&w_(s);var E=dB(dB({},b),{},{"aria-labelledby":i?b["aria-labelledby"]:void 0});return ui.createElement("div",nm({"data-accordion-component":"AccordionItemPanel",className:r},a,E,{role:i?"region":void 0}))};return ui.createElement(Yx,null,o)},Ob={exports:{}},gle=Ob.exports,A9;function Vx(){return A9||(A9=1,function(n,e){(function(t,r){n.exports=r()})(gle,function(){var t=navigator.userAgent,r=navigator.platform,i=/gecko\/\d/i.test(t),s=/MSIE \d/.test(t),a=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(t),o=/Edge\/(\d+)/.exec(t),d=s||a||o,g=d&&(s?document.documentMode||6:+(o||a)[1]),b=!o&&/WebKit\//.test(t),E=b&&/Qt\/\d+\.\d+/.test(t),S=!o&&/Chrome\/(\d+)/.exec(t),O=S&&+S[1],k=/Opera\//.test(t),U=/Apple Computer/.test(navigator.vendor),z=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(t),q=/PhantomJS/.test(t),Q=U&&(/Mobile\/\w+/.test(t)||navigator.maxTouchPoints>2),re=/Android/.test(t),X=Q||re||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(t),Y=Q||/Mac/.test(r),J=/\bCrOS\b/.test(t),N=/win/i.test(r),ie=k&&t.match(/Version\/(\d*\.\d*)/);ie&&(ie=Number(ie[1])),ie&&ie>=15&&(k=!1,b=!0);var he=Y&&(E||k&&(ie==null||ie<12.11)),de=i||d&&g>=9;function we(A){return new RegExp("(^|\\s)"+A+"(?:$|\\s)\\s*")}var fe=function(A,y){var I=A.className,B=we(y).exec(I);if(B){var K=I.slice(B.index+B[0].length);A.className=I.slice(0,B.index)+(K?B[1]+K:"")}};function be(A){for(var y=A.childNodes.length;y>0;--y)A.removeChild(A.firstChild);return A}function Pe(A,y){return be(A).appendChild(y)}function pe(A,y,I,B){var K=document.createElement(A);if(I&&(K.className=I),B&&(K.style.cssText=B),typeof y=="string")K.appendChild(document.createTextNode(y));else if(y)for(var H=0;H<y.length;++H)K.appendChild(y[H]);return K}function it(A,y,I,B){var K=pe(A,y,I,B);return K.setAttribute("role","presentation"),K}var We;document.createRange?We=function(A,y,I,B){var K=document.createRange();return K.setEnd(B||A,I),K.setStart(A,y),K}:We=function(A,y,I){var B=document.body.createTextRange();try{B.moveToElementText(A.parentNode)}catch{return B}return B.collapse(!0),B.moveEnd("character",I),B.moveStart("character",y),B};function $e(A,y){if(y.nodeType==3&&(y=y.parentNode),A.contains)return A.contains(y);do if(y.nodeType==11&&(y=y.host),y==A)return!0;while(y=y.parentNode)}function ht(A){var y=A.ownerDocument||A,I;try{I=A.activeElement}catch{I=y.body||null}for(;I&&I.shadowRoot&&I.shadowRoot.activeElement;)I=I.shadowRoot.activeElement;return I}function De(A,y){var I=A.className;we(y).test(I)||(A.className+=(I?" ":"")+y)}function Ne(A,y){for(var I=A.split(" "),B=0;B<I.length;B++)I[B]&&!we(I[B]).test(y)&&(y+=" "+I[B]);return y}var at=function(A){A.select()};Q?at=function(A){A.selectionStart=0,A.selectionEnd=A.value.length}:d&&(at=function(A){try{A.select()}catch{}});function wt(A){return A.display.wrapper.ownerDocument}function Ct(A){return ft(A.display.wrapper)}function ft(A){return A.getRootNode?A.getRootNode():A.ownerDocument}function Lt(A){return wt(A).defaultView}function Kt(A){var y=Array.prototype.slice.call(arguments,1);return function(){return A.apply(null,y)}}function Fe(A,y,I){y||(y={});for(var B in A)A.hasOwnProperty(B)&&(I!==!1||!y.hasOwnProperty(B))&&(y[B]=A[B]);return y}function Te(A,y,I,B,K){y==null&&(y=A.search(/[^\s\u00a0]/),y==-1&&(y=A.length));for(var H=B||0,ue=K||0;;){var _e=A.indexOf(" ",H);if(_e<0||_e>=y)return ue+(y-H);ue+=_e-H,ue+=I-ue%I,H=_e+1}}var Se=function(){this.id=null,this.f=null,this.time=0,this.handler=Kt(this.onTimeout,this)};Se.prototype.onTimeout=function(A){A.id=0,A.time<=+new Date?A.f():setTimeout(A.handler,A.time-+new Date)},Se.prototype.set=function(A,y){this.f=y;var I=+new Date+A;(!this.id||I<this.time)&&(clearTimeout(this.id),this.id=setTimeout(this.handler,A),this.time=I)};function Je(A,y){for(var I=0;I<A.length;++I)if(A[I]==y)return I;return-1}var yt Line truncated
`,BN=function(n){CI(t,n);var e=bI(t);function t(){var r;Wx(this,t);for(var i=arguments.length,s=new Array(i),a=0;a<i;a++)s[a]=arguments[a];return r=e.call.apply(e,[this].concat(s)),Fl(ip(r),"ref",void 0),Fl(ip(r),"setRef",function(o){r.ref=o}),r}return Qx(t,[{key:"componentDidUpdate",value:function(){t.VALIDATE(this.ref)}},{key:"componentDidMount",value:function(){t.VALIDATE(this.ref)}},{key:"render",value:function(){return ui.createElement("div",nm({"data-accordion-component":"AccordionItemHeading"},this.props,{ref:this.setRef}))}}],[{key:"VALIDATE",value:function(i){if(i===void 0)throw new Error("ref is undefined");if(!(i.childElementCount===1&&i.firstElementChild&&i.firstElementChild.getAttribute("data-accordion-component")==="AccordionItemButton"))throw new Error(fle)}}]),t}(ui.PureComponent);Fl(BN,"defaultProps",hle);var ON=function(e){return ui.createElement(Yx,null,function(t){var r=t.headingAttributes;return e.id&&w_(e.id),ui.createElement(BN,nm({},e,r))})};ON.displayName=wN.AccordionItemHeading;var ple=["className","region","id"],mle=function(e){var t=e.className,r=t===void 0?"accordion__panel":t,i=e.region,s=e.id,a=qx(e,ple),o=function(g){var b=g.panelAttributes;s&&w_(s);var E=dB(dB({},b),{},{"aria-labelledby":i?b["aria-labelledby"]:void 0});return ui.createElement("div",nm({"data-accordion-component":"AccordionItemPanel",className:r},a,E,{role:i?"region":void 0}))};return ui.createElement(Yx,null,o)},Ob={exports:{}},gle=Ob.exports,A9;function Vx(){return A9||(A9=1,function(n,e){(function(t,r){n.exports=r()})(gle,function(){var t=navigator.userAgent,r=navigator.platform,i=/gecko\/\d/i.test(t),s=/MSIE \d/.test(t),a=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(t),o=/Edge\/(\d+)/.exec(t),d=s||a||o,g=d&&(s?document.documentMode||6:+(o||a)[1]),b=!o&&/WebKit\//.test(t),E=b&&/Qt\/\d+\.\d+/.test(t),S=!o&&/Chrome\/(\d+)/.exec(t),O=S&&+S[1],k=/Opera\//.test(t),U=/Apple Computer/.test(navigator.vendor),z=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(t),q=/PhantomJS/.test(t),Q=U&&(/Mobile\/\w+/.test(t)||navigator.maxTouchPoints>2),re=/Android/.test(t),X=Q||re||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(t),Y=Q||/Mac/.test(r),J=/\bCrOS\b/.test(t),N=/win/i.test(r),ie=k&&t.match(/Version\/(\d*\.\d*)/);ie&&(ie=Number(ie[1])),ie&&ie>=15&&(k=!1,b=!0);var he=Y&&(E||k&&(ie==null||ie<12.11)),de=i||d&&g>=9;function we(A){return new RegExp("(^|\\s)"+A+"(?:$|\\s)\\s*")}var fe=function(A,y){var I=A.className,B=we(y).exec(I);if(B){var K=I.slice(B.index+B[0].length);A.className=I.slice(0,B.index)+(K?B[1]+K:"")}};function be(A){for(var y=A.childNodes.length;y>0;--y)A.removeChild(A.firstChild);return A}function Pe(A,y){return be(A).appendChild(y)}function pe(A,y,I,B){var K=document.createElement(A);if(I&&(K.className=I),B&&(K.style.cssText=B),typeof y=="string")K.appendChild(document.createTextNode(y));else if(y)for(var H=0;H<y.length;++H)K.appendChild(y[H]);return K}function it(A,y,I,B){var K=pe(A,y,I,B);return K.setAttribute("role","presentation"),K}var We;document.createRange?We=function(A,y,I,B){var K=document.createRange();return K.setEnd(B||A,I),K.setStart(A,y),K}:We=function(A,y,I){var B=document.body.createTextRange();try{B.moveToElementText(A.parentNode)}catch{return B}return B.collapse(!0),B.moveEnd("character",I),B.moveStart("character",y),B};function $e(A,y){if(y.nodeType==3&&(y=y.parentNode),A.contains)return A.contains(y);do if(y.nodeType==11&&(y=y.host),y==A)return!0;while(y=y.parentNode)}function ht(A){var y=A.ownerDocument||A,I;try{I=A.activeElement}catch{I=y.body||null}for(;I&&I.shadowRoot&&I.shadowRoot.activeElement;)I=I.shadowRoot.activeElement;return I}function De(A,y){var I=A.className;we(y).test(I)||(A.className+=(I?" ":"")+y)}function Ne(A,y){for(var I=A.split(" "),B=0;B<I.length;B++)I[B]&&!we(I[B]).test(y)&&(y+=" "+I[B]);return y}var at=function(A){A.select()};Q?at=function(A){A.selectionStart=0,A.selectionEnd=A.value.length}:d&&(at=function(A){try{A.select()}catch{}});function wt(A){return A.display.wrapper.ownerDocument}function Ct(A){return ft(A.display.wrapper)}function ft(A){return A.getRootNode?A.getRootNode():A.ownerDocument}function Lt(A){return wt(A).defaultView}function Kt(A){var y=Array.prototype.slice.call(arguments,1);return function(){return A.apply(null,y)}}function Fe(A,y,I){y||(y={});for(var B in A)A.hasOwnProperty(B)&&(I!==!1||!y.hasOwnProperty(B))&&(y[B]=A[B]);return y}function Te(A,y,I,B,K){y==null&&(y=A.search(/[^\s\u00a0]/),y==-1&&(y=A.length));for(var H=B||0,ue=K||0;;){var _e=A.indexOf(" ",H);if(_e<0||_e>=y)return ue+(y-H);ue+=_e-H,ue+=I-ue%I,H=_e+1}}var Se=function(){this.id=null,this.f=null,this.time=0,this.handler=Kt(this.onTimeout,this)};Se.prototype.onTimeout=function(A){A.id=0,A.time<=+new Date?A.f():setTimeout(A.handler,A.time-+new Date)},Se.prototype.set=function(A,y){this.f=y;var I=+new Date+A;(!this.id||I<this.time)&&(clearTimeout(this.id),this.id=setTimeout(this.handler,A),this.time=I)};function Je(A,y){for(var I=0;I<A.length;++I)if(A[I]==y)return I;return-1}var yt Line truncated
b`.split(/\n/).length!=3?function(A){for(var y=0,I=[],B=A.length;y<=B;){var K=A.indexOf(`
`,y);K==-1&&(K=A.length);var H=A.slice(y,A.charAt(K-1)=="\r"?K-1:K),ue=H.indexOf("\r");ue!=-1?(I.push(H.slice(0,ue)),y+=ue+1):(I.push(H),y=K+1)}return I}:function(A){return A.split(/\r\n?|\n/)},co=window.getSelection?function(A){try{return A.selectionStart!=A.selectionEnd}catch{return!1}}:function(A){var y;try{y=A.ownerDocument.selection.createRange()}catch{}return!y||y.parentElement()!=A?!1:y.compareEndPoints("StartToEnd",y)!=0},Sa=function(){var A=pe("div");return"oncopy"in A?!0:(A.setAttribute("oncopy","return;"),typeof A.oncopy=="function")}(),qi=null;function yi(A){if(qi!=null)return qi;var y=Pe(A,pe("span","x")),I=y.getBoundingClientRect(),B=We(y,0,1).getBoundingClientRect();return qi=Math.abs(I.left-B.left)>1}var oo={},Mo={};function Ti(A,y){arguments.length>2&&(y.dependencies=Array.prototype.slice.call(arguments,2)),oo[A]=y}function Ua(A,y){Mo[A]=y}function Ea(A){if(typeof A=="string"&&Mo.hasOwnProperty(A))A=Mo[A];else if(A&&typeof A.name=="string"&&Mo.hasOwnProperty(A.name)){var y=Mo[A.name];typeof y=="string"&&(y={name:y}),A=xr(y,A),A.name=y.name}else{if(typeof A=="string"&&/^[\w\-]+\/[\w\-]+\+xml$/.test(A))return Ea("application/xml");if(typeof A=="string"&&/^[\w\-]+\/[\w\-]+\+json$/.test(A))return Ea("application/json")}return typeof A=="string"?{name:A}:A||{name:"null"}}function ns(A,y){y=Ea(y);var I=oo[y.name];if(!I)return ns(A,"text/plain");var B=I(A,y);if(Aa.hasOwnProperty(y.name)){var K=Aa[y.name];for(var H in K)K.hasOwnProperty(H)&&(B.hasOwnProperty(H)&&(B["_"+H]=B[H]),B[H]=K[H])}if(B.name=y.name,y.helperType&&(B.helperType=y.helperType),y.modeProps)for(var ue in y.modeProps)B[ue]=y.modeProps[ue];return B}var Aa={};function Al(A,y){var I=Aa.hasOwnProperty(A)?Aa[A]:Aa[A]={};Fe(y,I)}function ao(A,y){if(y===!0)return y;if(A.copyState)return A.copyState(y);var I={};for(var B in y){var K=y[B];K instanceof Array&&(K=K.concat([])),I[B]=K}return I}function Pu(A,y){for(var I;A.innerMode&&(I=A.innerMode(y),!(!I||I.mode==A));)y=I.state,A=I.mode;return I||{mode:A,state:y}}function tu(A,y,I){return A.startState?A.startState(y,I):!0}var so=function(A,y,I){this.pos=this.start=0,this.string=A,this.tabSize=y||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=I};so.prototype.eol=function(){return this.pos>=this.string.length},so.prototype.sol=function(){return this.pos==this.lineStart},so.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},so.prototype.next=function(){if(this.pos<this.string.length)return this.string.charAt(this.pos++)},so.prototype.eat=function(A){var y=this.string.charAt(this.pos),I;if(typeof A=="string"?I=y==A:I=y&&(A.test?A.test(y):A(y)),I)return++this.pos,y},so.prototype.eatWhile=function(A){for(var y=this.pos;this.eat(A););return this.pos>y},so.prototype.eatSpace=function(){for(var A=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>A},so.prototype.skipToEnd=function(){this.pos=this.string.length},so.prototype.skipTo=function(A){var y=this.string.indexOf(A,this.pos);if(y>-1)return this.pos=y,!0},so.prototype.backUp=function(A){this.pos-=A},so.prototype.column=function(){return this.lastColumnPos<this.start&&(this.lastColumnValue=Te(this.string,this.start,this.tabSize,this.lastColumnPos,this.lastColumnValue),this.lastColumnPos=this.start),this.lastColumnValue-(this.lineStart?Te(this.string,this.lineStart,this.tabSize):0)},so.prototype.indentation=function(){return Te(this.string,null,this.tabSize)-(this.lineStart?Te(this.string,this.lineStart,this.tabSize):0)},so.prototype.match=function(A,y,I){if(typeof A=="string"){var B=function(ue){return I?ue.toLowerCase():ue},K=this.string.substr(this.pos,A.length);if(B(K)==B(A))return y!==!1&&(this.pos+=A.length),!0}else{var H=this.string.slice(this.pos).match(A);return H&&H.index>0?null:(H&&y!==!1&&(this.pos+=H[0].length),H)}},so.prototype.current=function(){return this.string.slice(this.start,this.pos)},so.prototype.hideFirstChars=function(A,y){this.lineStart+=A;try{return y()}finally{this.lineStart-=A}},so.prototype.lookAhead=function(A){var y=this.lineOracle;return y&&y.lookAhead(A)},so.prototype.baseToken=function(){var A=this.lineOracle;return A&&A.baseToken(this.pos)};function Dr(A,y){if(y-=A.first,y<0||y>=A.size)throw new Error("There is no line "+(y+A.first)+" in the document.");for(var I=A;!I.lines;)for(var B=0;;++B){var K=I.children[B],H=K.chunkSize();if(y<H){I=K;break}y-=H}return I.lines[y]}function Za(A,y,I){var B=[],K=y.line;return A.iter(y.line,I.line+1,function(H){var ue=H.text;K==I.line&&(ue=ue.slice(0,I.ch)),K==y.line&&(ue=ue.slice(y.ch)),B.push(ue),++K}),B}function Ts(A,y,I){var B=[];return A.iter(y,I,function(K){B.push(K.text)}),B}function ia(A,y){var I=y-A.height;if(I)for(var B=A;B;B=B.parent)B.height+=I}function Qe(A){if(A.parent==null)return null;for(var y=A.parent,I=Je(y.lines,A),B=y.parent;B;y=B,B=B.parent)for(var K=0;B.children[K]!=y;++K)I+=B.children[K].chunkSize();return I+y.first}function bt(A,y){var I=A.first;e:do{for(var B=0;B<A.child Line truncated
`?(Pn=ct.appendChild(pe("span",Ht[0]=="\r"?"␍":"␤","cm-invalidchar")),Pn.setAttribute("cm-text",Ht[0]),A.col+=1):(Pn=A.cm.options.specialCharPlaceholder(Ht[0]),Pn.setAttribute("cm-text",Ht[0]),d&&g<9?ct.appendChild(pe("span",[Pn])):ct.appendChild(Pn),A.col+=1);A.map.push(A.pos,A.pos+1,Pn),A.pos++}}if(A.trailingSpace=_e.charCodeAt(y.length-1)==32,I||B||K||Ue||H||ue){var _r=I||"";B&&(_r+=B),K&&(_r+=K);var ur=pe("span",[ct],_r,H);if(ue)for(var Fr in ue)ue.hasOwnProperty(Fr)&&Fr!="style"&&Fr!="class"&&ur.setAttribute(Fr,ue[Fr]);return A.content.appendChild(ur)}A.content.appendChild(ct)}}function bh(A,y){if(A.length>1&&!/ /.test(A))return A;for(var I=y,B="",K=0;K<A.length;K++){var H=A.charAt(K);H==" "&&I&&(K==A.length-1||A.charCodeAt(K+1)==32)&&(H=" "),B+=H,I=H==" "}return B}function Ms(A,y){return function(I,B,K,H,ue,_e,Ie){K=K?K+" cm-force-border":"cm-force-border";for(var Ue=I.pos,ct=Ue+B.length;;){for(var xt=void 0,Ht=0;Ht<y.length&&(xt=y[Ht],!(xt.to>Ue&&xt.from<=Ue));Ht++);if(xt.to>=ct)return A(I,B,K,H,ue,_e,Ie);A(I,B.slice(0,xt.to-Ue),K,H,null,_e,Ie),H=null,B=B.slice(xt.to-Ue),Ue=xt.to}}}function Du(A,y,I,B){var K=!B&&I.widgetNode;K&&A.map.push(A.pos,A.pos+y,K),!B&&A.cm.display.input.needsContentAttribute&&(K||(K=A.content.appendChild(document.createElement("span"))),K.setAttribute("cm-marker",I.id)),K&&(A.cm.display.input.setUneditable(K),A.content.appendChild(K)),A.pos+=y,A.trailingSpace=!1}function ud(A,y,I){var B=A.markedSpans,K=A.text,H=0;if(!B){for(var ue=1;ue<I.length;ue+=2)y.addToken(y,K.slice(H,H=I[ue]),cl(I[ue+1],y.cm.options));return}for(var _e=K.length,Ie=0,Ue=1,ct="",xt,Ht,Wt=0,xn,Pn,Yn,Xn,_r;;){if(Wt==Ie){xn=Pn=Yn=Ht="",_r=null,Xn=null,Wt=1/0;for(var ur=[],Fr=void 0,ai=0;ai<B.length;++ai){var Gr=B[ai],Xi=Gr.marker;if(Xi.type=="bookmark"&&Gr.from==Ie&&Xi.widgetNode)ur.push(Xi);else if(Gr.from<=Ie&&(Gr.to==null||Gr.to>Ie||Xi.collapsed&&Gr.to==Ie&&Gr.from==Ie)){if(Gr.to!=null&&Gr.to!=Ie&&Wt>Gr.to&&(Wt=Gr.to,Pn=""),Xi.className&&(xn+=" "+Xi.className),Xi.css&&(Ht=(Ht?Ht+";":"")+Xi.css),Xi.startStyle&&Gr.from==Ie&&(Yn+=" "+Xi.startStyle),Xi.endStyle&&Gr.to==Wt&&(Fr||(Fr=[])).push(Xi.endStyle,Gr.to),Xi.title&&((_r||(_r={})).title=Xi.title),Xi.attributes)for(var ko in Xi.attributes)(_r||(_r={}))[ko]=Xi.attributes[ko];Xi.collapsed&&(!Xn||tt(Xn.marker,Xi)<0)&&(Xn=Gr)}else Gr.from>Ie&&Wt>Gr.from&&(Wt=Gr.from)}if(Fr)for(var qa=0;qa<Fr.length;qa+=2)Fr[qa+1]==Wt&&(Pn+=" "+Fr[qa]);if(!Xn||Xn.from==Ie)for(var aa=0;aa<ur.length;++aa)Du(y,0,ur[aa]);if(Xn&&(Xn.from||0)==Ie){if(Du(y,(Xn.to==null?_e+1:Xn.to)-Ie,Xn.marker,Xn.from==null),Xn.to==null)return;Xn.to==Ie&&(Xn=!1)}}if(Ie>=_e)break;for(var Ca=Math.min(_e,Wt);;){if(ct){var ba=Ie+ct.length;if(!Xn){var Pa=ba>Ca?ct.slice(0,Ca-Ie):ct;y.addToken(y,Pa,xt?xt+xn:xn,Yn,Ie+Pa.length==Wt?Pn:"",Ht,_r)}if(ba>=Ca){ct=ct.slice(Ca-Ie),Ie=Ca;break}Ie=ba,Yn=""}ct=K.slice(H,H=I[Ue++]),xt=cl(I[Ue++],y.cm.options)}}}function gp(A,y,I){this.line=y,this.rest=vi(y),this.size=this.rest?Qe(sr(this.rest))-I+1:1,this.node=this.text=null,this.hidden=qr(A,y)}function sA(A,y,I){for(var B=[],K,H=y;H<I;H=K){var ue=new gp(A.doc,Dr(A.doc,H),H);K=H+ue.size,B.push(ue)}return B}var qd=null;function Lc(A){qd?qd.ops.push(A):A.ownsGroup=qd={ops:[A],delayedCallbacks:[]}}function yp(A){var y=A.delayedCallbacks,I=0;do{for(;I<y.length;I++)y[I].call(null);for(var B=0;B<A.ops.length;B++){var K=A.ops[B];if(K.cursorActivityHandlers)for(;K.cursorActivityCalled<K.cursorActivityHandlers.length;)K.cursorActivityHandlers[K.cursorActivityCalled++].call(null,K.cm)}}while(I<y.length)}function Rf(A,y){var I=A.ownsGroup;if(I)try{yp(I)}finally{qd=null,y(I)}}var hc=null;function Zs(A,y){var I=rt(A,y);if(I.length){var B=Array.prototype.slice.call(arguments,2),K;qd?K=qd.delayedCallbacks:hc?K=hc:(K=hc=[],setTimeout(xh,0));for(var H=function(_e){K.push(function(){return I[_e].apply(null,B)})},ue=0;ue<I.length;++ue)H(ue)}}function xh(){var A=hc;hc=null;for(var y=0;y<A.length;++y)A[y]()}function ef(A,y,I,B){for(var K=0;K<y.changes.length;K++){var H=y.changes[K];H=="text"?fc(A,y):H=="gutter"?Mh(A,y,I,B):H=="class"?wh(A,y):H=="widget"&&dd(A,y,B)}y.changes=null}function Ad(A){return A.node==A.text&&(A.node=pe("div",null,null,"position: relative"),A.text.parentNode&&A.text.parentNode.replaceChild(A.node,A.text),A.node.appendChild(A.text),d&&g<8&&(A.node.style.zIndex=2)),A.node}function tf(A,y){var I=y.bgClass?y.bgClass+" "+(y.line.bgClass||""):y.line.bgClass;if(I&&(I+=" CodeMirror-linebackground"),y.background)I?y.background.className=I:(y.background.parentNode.removeChild(y.background),y.background=null);else if(I){var B=Ad(y);y.background=B.insertBefore(pe("div",null,I),B.firstChild),A.display.input.setUneditable(y.background)}}function cd(A,y){var I=A.display.externalMeasured;return I&&I.line==y.line?(A.display.externalMeasured=null,y.measure=I.measure,I.built):ld(A,y)}function fc(A,y){var I=y.text.className,B=cd(A,y);y.text==y.node&&(y.node=B.pre),y.text.parentNode.replaceChild(B.pre,y.text),y.text=B.pre,B.bgClass Line truncated
`,y);K==-1&&(K=A.length);var H=A.slice(y,A.charAt(K-1)=="\r"?K-1:K),ue=H.indexOf("\r");ue!=-1?(I.push(H.slice(0,ue)),y+=ue+1):(I.push(H),y=K+1)}return I}:function(A){return A.split(/\r\n?|\n/)},co=window.getSelection?function(A){try{return A.selectionStart!=A.selectionEnd}catch{return!1}}:function(A){var y;try{y=A.ownerDocument.selection.createRange()}catch{}return!y||y.parentElement()!=A?!1:y.compareEndPoints("StartToEnd",y)!=0},Sa=function(){var A=pe("div");return"oncopy"in A?!0:(A.setAttribute("oncopy","return;"),typeof A.oncopy=="function")}(),qi=null;function yi(A){if(qi!=null)return qi;var y=Pe(A,pe("span","x")),I=y.getBoundingClientRect(),B=We(y,0,1).getBoundingClientRect();return qi=Math.abs(I.left-B.left)>1}var oo={},Mo={};function Ti(A,y){arguments.length>2&&(y.dependencies=Array.prototype.slice.call(arguments,2)),oo[A]=y}function Ua(A,y){Mo[A]=y}function Ea(A){if(typeof A=="string"&&Mo.hasOwnProperty(A))A=Mo[A];else if(A&&typeof A.name=="string"&&Mo.hasOwnProperty(A.name)){var y=Mo[A.name];typeof y=="string"&&(y={name:y}),A=xr(y,A),A.name=y.name}else{if(typeof A=="string"&&/^[\w\-]+\/[\w\-]+\+xml$/.test(A))return Ea("application/xml");if(typeof A=="string"&&/^[\w\-]+\/[\w\-]+\+json$/.test(A))return Ea("application/json")}return typeof A=="string"?{name:A}:A||{name:"null"}}function ns(A,y){y=Ea(y);var I=oo[y.name];if(!I)return ns(A,"text/plain");var B=I(A,y);if(Aa.hasOwnProperty(y.name)){var K=Aa[y.name];for(var H in K)K.hasOwnProperty(H)&&(B.hasOwnProperty(H)&&(B["_"+H]=B[H]),B[H]=K[H])}if(B.name=y.name,y.helperType&&(B.helperType=y.helperType),y.modeProps)for(var ue in y.modeProps)B[ue]=y.modeProps[ue];return B}var Aa={};function Al(A,y){var I=Aa.hasOwnProperty(A)?Aa[A]:Aa[A]={};Fe(y,I)}function ao(A,y){if(y===!0)return y;if(A.copyState)return A.copyState(y);var I={};for(var B in y){var K=y[B];K instanceof Array&&(K=K.concat([])),I[B]=K}return I}function Pu(A,y){for(var I;A.innerMode&&(I=A.innerMode(y),!(!I||I.mode==A));)y=I.state,A=I.mode;return I||{mode:A,state:y}}function tu(A,y,I){return A.startState?A.startState(y,I):!0}var so=function(A,y,I){this.pos=this.start=0,this.string=A,this.tabSize=y||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=I};so.prototype.eol=function(){return this.pos>=this.string.length},so.prototype.sol=function(){return this.pos==this.lineStart},so.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},so.prototype.next=function(){if(this.pos<this.string.length)return this.string.charAt(this.pos++)},so.prototype.eat=function(A){var y=this.string.charAt(this.pos),I;if(typeof A=="string"?I=y==A:I=y&&(A.test?A.test(y):A(y)),I)return++this.pos,y},so.prototype.eatWhile=function(A){for(var y=this.pos;this.eat(A););return this.pos>y},so.prototype.eatSpace=function(){for(var A=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>A},so.prototype.skipToEnd=function(){this.pos=this.string.length},so.prototype.skipTo=function(A){var y=this.string.indexOf(A,this.pos);if(y>-1)return this.pos=y,!0},so.prototype.backUp=function(A){this.pos-=A},so.prototype.column=function(){return this.lastColumnPos<this.start&&(this.lastColumnValue=Te(this.string,this.start,this.tabSize,this.lastColumnPos,this.lastColumnValue),this.lastColumnPos=this.start),this.lastColumnValue-(this.lineStart?Te(this.string,this.lineStart,this.tabSize):0)},so.prototype.indentation=function(){return Te(this.string,null,this.tabSize)-(this.lineStart?Te(this.string,this.lineStart,this.tabSize):0)},so.prototype.match=function(A,y,I){if(typeof A=="string"){var B=function(ue){return I?ue.toLowerCase():ue},K=this.string.substr(this.pos,A.length);if(B(K)==B(A))return y!==!1&&(this.pos+=A.length),!0}else{var H=this.string.slice(this.pos).match(A);return H&&H.index>0?null:(H&&y!==!1&&(this.pos+=H[0].length),H)}},so.prototype.current=function(){return this.string.slice(this.start,this.pos)},so.prototype.hideFirstChars=function(A,y){this.lineStart+=A;try{return y()}finally{this.lineStart-=A}},so.prototype.lookAhead=function(A){var y=this.lineOracle;return y&&y.lookAhead(A)},so.prototype.baseToken=function(){var A=this.lineOracle;return A&&A.baseToken(this.pos)};function Dr(A,y){if(y-=A.first,y<0||y>=A.size)throw new Error("There is no line "+(y+A.first)+" in the document.");for(var I=A;!I.lines;)for(var B=0;;++B){var K=I.children[B],H=K.chunkSize();if(y<H){I=K;break}y-=H}return I.lines[y]}function Za(A,y,I){var B=[],K=y.line;return A.iter(y.line,I.line+1,function(H){var ue=H.text;K==I.line&&(ue=ue.slice(0,I.ch)),K==y.line&&(ue=ue.slice(y.ch)),B.push(ue),++K}),B}function Ps(A,y,I){var B=[];return A.iter(y,I,function(K){B.push(K.text)}),B}function ia(A,y){var I=y-A.height;if(I)for(var B=A;B;B=B.parent)B.height+=I}function Qe(A){if(A.parent==null)return null;for(var y=A.parent,I=Je(y.lines,A),B=y.parent;B;y=B,B=B.parent)for(var K=0;B.children[K]!=y;++K)I+=B.children[K].chunkSize();return I+y.first}function bt(A,y){var I=A.first;e:do{for(var B=0;B<A.child Line truncated
`?(Pn=ct.appendChild(pe("span",Ht[0]=="\r"?"␍":"␤","cm-invalidchar")),Pn.setAttribute("cm-text",Ht[0]),A.col+=1):(Pn=A.cm.options.specialCharPlaceholder(Ht[0]),Pn.setAttribute("cm-text",Ht[0]),d&&g<9?ct.appendChild(pe("span",[Pn])):ct.appendChild(Pn),A.col+=1);A.map.push(A.pos,A.pos+1,Pn),A.pos++}}if(A.trailingSpace=_e.charCodeAt(y.length-1)==32,I||B||K||Ue||H||ue){var _r=I||"";B&&(_r+=B),K&&(_r+=K);var ur=pe("span",[ct],_r,H);if(ue)for(var Fr in ue)ue.hasOwnProperty(Fr)&&Fr!="style"&&Fr!="class"&&ur.setAttribute(Fr,ue[Fr]);return A.content.appendChild(ur)}A.content.appendChild(ct)}}function bh(A,y){if(A.length>1&&!/ /.test(A))return A;for(var I=y,B="",K=0;K<A.length;K++){var H=A.charAt(K);H==" "&&I&&(K==A.length-1||A.charCodeAt(K+1)==32)&&(H=" "),B+=H,I=H==" "}return B}function Ss(A,y){return function(I,B,K,H,ue,_e,Ie){K=K?K+" cm-force-border":"cm-force-border";for(var Ue=I.pos,ct=Ue+B.length;;){for(var xt=void 0,Ht=0;Ht<y.length&&(xt=y[Ht],!(xt.to>Ue&&xt.from<=Ue));Ht++);if(xt.to>=ct)return A(I,B,K,H,ue,_e,Ie);A(I,B.slice(0,xt.to-Ue),K,H,null,_e,Ie),H=null,B=B.slice(xt.to-Ue),Ue=xt.to}}}function Du(A,y,I,B){var K=!B&&I.widgetNode;K&&A.map.push(A.pos,A.pos+y,K),!B&&A.cm.display.input.needsContentAttribute&&(K||(K=A.content.appendChild(document.createElement("span"))),K.setAttribute("cm-marker",I.id)),K&&(A.cm.display.input.setUneditable(K),A.content.appendChild(K)),A.pos+=y,A.trailingSpace=!1}function ud(A,y,I){var B=A.markedSpans,K=A.text,H=0;if(!B){for(var ue=1;ue<I.length;ue+=2)y.addToken(y,K.slice(H,H=I[ue]),cl(I[ue+1],y.cm.options));return}for(var _e=K.length,Ie=0,Ue=1,ct="",xt,Ht,Wt=0,xn,Pn,Yn,Xn,_r;;){if(Wt==Ie){xn=Pn=Yn=Ht="",_r=null,Xn=null,Wt=1/0;for(var ur=[],Fr=void 0,ai=0;ai<B.length;++ai){var Gr=B[ai],Xi=Gr.marker;if(Xi.type=="bookmark"&&Gr.from==Ie&&Xi.widgetNode)ur.push(Xi);else if(Gr.from<=Ie&&(Gr.to==null||Gr.to>Ie||Xi.collapsed&&Gr.to==Ie&&Gr.from==Ie)){if(Gr.to!=null&&Gr.to!=Ie&&Wt>Gr.to&&(Wt=Gr.to,Pn=""),Xi.className&&(xn+=" "+Xi.className),Xi.css&&(Ht=(Ht?Ht+";":"")+Xi.css),Xi.startStyle&&Gr.from==Ie&&(Yn+=" "+Xi.startStyle),Xi.endStyle&&Gr.to==Wt&&(Fr||(Fr=[])).push(Xi.endStyle,Gr.to),Xi.title&&((_r||(_r={})).title=Xi.title),Xi.attributes)for(var ko in Xi.attributes)(_r||(_r={}))[ko]=Xi.attributes[ko];Xi.collapsed&&(!Xn||tt(Xn.marker,Xi)<0)&&(Xn=Gr)}else Gr.from>Ie&&Wt>Gr.from&&(Wt=Gr.from)}if(Fr)for(var qa=0;qa<Fr.length;qa+=2)Fr[qa+1]==Wt&&(Pn+=" "+Fr[qa]);if(!Xn||Xn.from==Ie)for(var aa=0;aa<ur.length;++aa)Du(y,0,ur[aa]);if(Xn&&(Xn.from||0)==Ie){if(Du(y,(Xn.to==null?_e+1:Xn.to)-Ie,Xn.marker,Xn.from==null),Xn.to==null)return;Xn.to==Ie&&(Xn=!1)}}if(Ie>=_e)break;for(var Ca=Math.min(_e,Wt);;){if(ct){var ba=Ie+ct.length;if(!Xn){var Pa=ba>Ca?ct.slice(0,Ca-Ie):ct;y.addToken(y,Pa,xt?xt+xn:xn,Yn,Ie+Pa.length==Wt?Pn:"",Ht,_r)}if(ba>=Ca){ct=ct.slice(Ca-Ie),Ie=Ca;break}Ie=ba,Yn=""}ct=K.slice(H,H=I[Ue++]),xt=cl(I[Ue++],y.cm.options)}}}function gp(A,y,I){this.line=y,this.rest=vi(y),this.size=this.rest?Qe(sr(this.rest))-I+1:1,this.node=this.text=null,this.hidden=qr(A,y)}function sA(A,y,I){for(var B=[],K,H=y;H<I;H=K){var ue=new gp(A.doc,Dr(A.doc,H),H);K=H+ue.size,B.push(ue)}return B}var qd=null;function Lc(A){qd?qd.ops.push(A):A.ownsGroup=qd={ops:[A],delayedCallbacks:[]}}function yp(A){var y=A.delayedCallbacks,I=0;do{for(;I<y.length;I++)y[I].call(null);for(var B=0;B<A.ops.length;B++){var K=A.ops[B];if(K.cursorActivityHandlers)for(;K.cursorActivityCalled<K.cursorActivityHandlers.length;)K.cursorActivityHandlers[K.cursorActivityCalled++].call(null,K.cm)}}while(I<y.length)}function Rf(A,y){var I=A.ownsGroup;if(I)try{yp(I)}finally{qd=null,y(I)}}var hc=null;function Zs(A,y){var I=rt(A,y);if(I.length){var B=Array.prototype.slice.call(arguments,2),K;qd?K=qd.delayedCallbacks:hc?K=hc:(K=hc=[],setTimeout(xh,0));for(var H=function(_e){K.push(function(){return I[_e].apply(null,B)})},ue=0;ue<I.length;++ue)H(ue)}}function xh(){var A=hc;hc=null;for(var y=0;y<A.length;++y)A[y]()}function ef(A,y,I,B){for(var K=0;K<y.changes.length;K++){var H=y.changes[K];H=="text"?fc(A,y):H=="gutter"?Mh(A,y,I,B):H=="class"?wh(A,y):H=="widget"&&dd(A,y,B)}y.changes=null}function Ad(A){return A.node==A.text&&(A.node=pe("div",null,null,"position: relative"),A.text.parentNode&&A.text.parentNode.replaceChild(A.node,A.text),A.node.appendChild(A.text),d&&g<8&&(A.node.style.zIndex=2)),A.node}function tf(A,y){var I=y.bgClass?y.bgClass+" "+(y.line.bgClass||""):y.line.bgClass;if(I&&(I+=" CodeMirror-linebackground"),y.background)I?y.background.className=I:(y.background.parentNode.removeChild(y.background),y.background=null);else if(I){var B=Ad(y);y.background=B.insertBefore(pe("div",null,I),B.firstChild),A.display.input.setUneditable(y.background)}}function cd(A,y){var I=A.display.externalMeasured;return I&&I.line==y.line?(A.display.externalMeasured=null,y.measure=I.measure,I.built):ld(A,y)}function fc(A,y){var I=y.text.className,B=cd(A,y);y.text==y.node&&(y.node=B.pre),y.text.parentNode.replaceChild(B.pre,y.text),y.text=B.pre,B.bgClass Line truncated
top: `+Fr+"px; width: "+(ai??Ie-ur)+`px;
height: `+(Gr-Fr)+"px"))}function xt(ur,Fr,ai){var Gr=Dr(K,ur),Xi=Gr.text.length,ko,qa;function aa(Pa,Yl){return kn(A,un(ur,Pa),"div",Gr,Yl)}function Ca(Pa,Yl,Ya){var xa=Vo(A,Gr,null,Pa),hs=Yl=="ltr"==(Ya=="after")?"left":"right",gi=Ya=="after"?xa.begin:xa.end-(/\s/.test(Gr.text.charAt(xa.end-1))?2:1);return aa(gi,hs)[hs]}var ba=ve(Gr,K.direction);return nn(ba,Fr||0,ai??Xi,function(Pa,Yl,Ya,xa){var hs=Ya=="ltr",gi=aa(Pa,hs?"left":"right"),Xo=aa(Yl-1,hs?"right":"left"),la=Fr==null&&Pa==0,fa=ai==null&&Yl==Xi,Is=xa==0,Kl=!ba||xa==ba.length-1;if(Xo.top-gi.top<=3){var Ro=(Ue?la:fa)&&Is,Pd=(Ue?fa:la)&&Kl,yl=Ro?_e:(hs?gi:Xo).left,PA=Pd?Ie:(hs?Xo:gi).right;ct(yl,gi.top,PA-yl,gi.bottom)}else{var Xc,vl,_l,df;hs?(Xc=Ue&&la&&Is?_e:gi.left,vl=Ue?Ie:Ca(Pa,Ya,"before"),_l=Ue?_e:Ca(Yl,Ya,"after"),df=Ue&&fa&&Kl?Ie:Xo.right):(Xc=Ue?Ca(Pa,Ya,"before"):_e,vl=!Ue&&la&&Is?Ie:gi.right,_l=!Ue&&fa&&Kl?_e:Xo.left,df=Ue?Ca(Yl,Ya,"after"):Ie),ct(Xc,gi.top,vl-Xc,gi.bottom),gi.bottom<Xo.top&&ct(_e,gi.bottom,null,Xo.top),ct(_l,Xo.top,df-_l,Xo.bottom)}(!ko||VA(gi,ko)<0)&&(ko=gi),VA(Xo,ko)<0&&(ko=Xo),(!qa||VA(gi,qa)<0)&&(qa=gi),VA(Xo,qa)<0&&(qa=Xo)}),{start:ko,end:qa}}var Ht=y.from(),Wt=y.to();if(Ht.line==Wt.line)xt(Ht.line,Ht.ch,Wt.ch);else{var xn=Dr(K,Ht.line),Pn=Dr(K,Wt.line),Yn=gr(xn)==gr(Pn),Xn=xt(Ht.line,Ht.ch,Yn?xn.text.length+1:null).end,_r=xt(Wt.line,Yn?0:null,Wt.ch).start;Yn&&(Xn.top<_r.top-2?(ct(Xn.right,Xn.top,null,Xn.bottom),ct(_e,_r.top,_r.left,_r.bottom)):ct(Xn.right,Xn.top,_r.left-Xn.right,Xn.bottom)),Xn.bottom<_r.top&&ct(_e,Xn.bottom,null,_r.top)}I.appendChild(H)}function bA(A){if(A.state.focused){var y=A.display;clearInterval(y.blinker);var I=!0;y.cursorDiv.style.visibility="",A.options.cursorBlinkRate>0?y.blinker=setInterval(function(){A.hasFocus()||Ho(A),y.cursorDiv.style.visibility=(I=!I)?"":"hidden"},A.options.cursorBlinkRate):A.options.cursorBlinkRate<0&&(y.cursorDiv.style.visibility="hidden")}}function HA(A){A.hasFocus()||(A.display.input.focus(),A.state.focused||Xd(A))}function Wc(A){A.state.delayingBlurEvent=!0,setTimeout(function(){A.state.delayingBlurEvent&&(A.state.delayingBlurEvent=!1,A.state.focused&&Ho(A))},100)}function Xd(A,y){A.state.delayingBlurEvent&&!A.state.draggingText&&(A.state.delayingBlurEvent=!1),A.options.readOnly!="nocursor"&&(A.state.focused||(Bt(A,"focus",A,y),A.state.focused=!0,De(A.display.wrapper,"CodeMirror-focused"),!A.curOp&&A.display.selForContextMenu!=A.doc.sel&&(A.display.input.reset(),b&&setTimeout(function(){return A.display.input.reset(!0)},20)),A.display.input.receivedFocus()),bA(A))}function Ho(A,y){A.state.delayingBlurEvent||(A.state.focused&&(Bt(A,"blur",A,y),A.state.focused=!1,fe(A.display.wrapper,"CodeMirror-focused")),clearInterval(A.display.blinker),setTimeout(function(){A.state.focused||(A.display.shift=!1)},150))}function Qc(A){for(var y=A.display,I=y.lineDiv.offsetTop,B=Math.max(0,y.scroller.getBoundingClientRect().top),K=y.lineDiv.getBoundingClientRect().top,H=0,ue=0;ue<y.view.length;ue++){var _e=y.view[ue],Ie=A.options.lineWrapping,Ue=void 0,ct=0;if(!_e.hidden){if(K+=_e.line.height,d&&g<8){var xt=_e.node.offsetTop+_e.node.offsetHeight;Ue=xt-I,I=xt}else{var Ht=_e.node.getBoundingClientRect();Ue=Ht.bottom-Ht.top,!Ie&&_e.text.firstChild&&(ct=_e.text.firstChild.getBoundingClientRect().right-Ht.left-1)}var Wt=_e.line.height-Ue;if((Wt>.005||Wt<-.005)&&(K<B&&(H-=Wt),ia(_e.line,Ue),ZA(_e.line),_e.rest))for(var xn=0;xn<_e.rest.length;xn++)ZA(_e.rest[xn]);if(ct>A.display.sizerWidth){var Pn=Math.ceil(ct/Gi(A.display));Pn>A.display.maxLineLength&&(A.display.maxLineLength=Pn,A.display.maxLine=_e.line,A.display.maxLineChanged=!0)}}}Math.abs(H)>2&&(y.scroller.scrollTop+=H)}function ZA(A){if(A.widgets)for(var y=0;y<A.widgets.length;++y){var I=A.widgets[y],B=I.node.parentNode;B&&(I.height=B.offsetHeight)}}function Fu(A,y,I){var B=I&&I.top!=null?Math.max(0,I.top):A.scroller.scrollTop;B=Math.floor(B-Uc(A));var K=I&&I.bottom!=null?I.bottom:B+A.wrapper.clientHeight,H=bt(y,B),ue=bt(y,K);if(I&&I.ensure){var _e=I.ensure.from.line,Ie=I.ensure.to.line;_e<H?(H=_e,ue=bt(y,Zi(Dr(y,_e))+A.wrapper.clientHeight)):Math.min(Ie,y.lastLine())>=ue&&(H=bt(y,Zi(Dr(y,Ie))-A.wrapper.clientHeight),ue=Ie)}return{from:H,to:Math.max(ue,H+1)}}function qc(A,y){if(!vt(A,"scrollCursorIntoView")){var I=A.display,B=I.sizer.getBoundingClientRect(),K=null,H=I.wrapper.ownerDocument;if(y.top+B.top<0?K=!0:y.bottom+B.top>(H.defaultView.innerHeight||H.documentElement.clientHeight)&&(K=!1),K!=null&&!q){var ue=pe("div","​",null,`position: absolute;
height: `+(Gr-Fr)+"px"))}function xt(ur,Fr,ai){var Gr=Dr(K,ur),Xi=Gr.text.length,ko,qa;function aa(Pa,Yl){return kn(A,un(ur,Pa),"div",Gr,Yl)}function Ca(Pa,Yl,Ya){var xa=Vo(A,Gr,null,Pa),hs=Yl=="ltr"==(Ya=="after")?"left":"right",gi=Ya=="after"?xa.begin:xa.end-(/\s/.test(Gr.text.charAt(xa.end-1))?2:1);return aa(gi,hs)[hs]}var ba=ve(Gr,K.direction);return nn(ba,Fr||0,ai??Xi,function(Pa,Yl,Ya,xa){var hs=Ya=="ltr",gi=aa(Pa,hs?"left":"right"),Xo=aa(Yl-1,hs?"right":"left"),la=Fr==null&&Pa==0,fa=ai==null&&Yl==Xi,ks=xa==0,Kl=!ba||xa==ba.length-1;if(Xo.top-gi.top<=3){var Ro=(Ue?la:fa)&&ks,Pd=(Ue?fa:la)&&Kl,yl=Ro?_e:(hs?gi:Xo).left,PA=Pd?Ie:(hs?Xo:gi).right;ct(yl,gi.top,PA-yl,gi.bottom)}else{var Xc,vl,_l,df;hs?(Xc=Ue&&la&&ks?_e:gi.left,vl=Ue?Ie:Ca(Pa,Ya,"before"),_l=Ue?_e:Ca(Yl,Ya,"after"),df=Ue&&fa&&Kl?Ie:Xo.right):(Xc=Ue?Ca(Pa,Ya,"before"):_e,vl=!Ue&&la&&ks?Ie:gi.right,_l=!Ue&&fa&&Kl?_e:Xo.left,df=Ue?Ca(Yl,Ya,"after"):Ie),ct(Xc,gi.top,vl-Xc,gi.bottom),gi.bottom<Xo.top&&ct(_e,gi.bottom,null,Xo.top),ct(_l,Xo.top,df-_l,Xo.bottom)}(!ko||VA(gi,ko)<0)&&(ko=gi),VA(Xo,ko)<0&&(ko=Xo),(!qa||VA(gi,qa)<0)&&(qa=gi),VA(Xo,qa)<0&&(qa=Xo)}),{start:ko,end:qa}}var Ht=y.from(),Wt=y.to();if(Ht.line==Wt.line)xt(Ht.line,Ht.ch,Wt.ch);else{var xn=Dr(K,Ht.line),Pn=Dr(K,Wt.line),Yn=gr(xn)==gr(Pn),Xn=xt(Ht.line,Ht.ch,Yn?xn.text.length+1:null).end,_r=xt(Wt.line,Yn?0:null,Wt.ch).start;Yn&&(Xn.top<_r.top-2?(ct(Xn.right,Xn.top,null,Xn.bottom),ct(_e,_r.top,_r.left,_r.bottom)):ct(Xn.right,Xn.top,_r.left-Xn.right,Xn.bottom)),Xn.bottom<_r.top&&ct(_e,Xn.bottom,null,_r.top)}I.appendChild(H)}function bA(A){if(A.state.focused){var y=A.display;clearInterval(y.blinker);var I=!0;y.cursorDiv.style.visibility="",A.options.cursorBlinkRate>0?y.blinker=setInterval(function(){A.hasFocus()||Ho(A),y.cursorDiv.style.visibility=(I=!I)?"":"hidden"},A.options.cursorBlinkRate):A.options.cursorBlinkRate<0&&(y.cursorDiv.style.visibility="hidden")}}function HA(A){A.hasFocus()||(A.display.input.focus(),A.state.focused||Xd(A))}function Wc(A){A.state.delayingBlurEvent=!0,setTimeout(function(){A.state.delayingBlurEvent&&(A.state.delayingBlurEvent=!1,A.state.focused&&Ho(A))},100)}function Xd(A,y){A.state.delayingBlurEvent&&!A.state.draggingText&&(A.state.delayingBlurEvent=!1),A.options.readOnly!="nocursor"&&(A.state.focused||(Bt(A,"focus",A,y),A.state.focused=!0,De(A.display.wrapper,"CodeMirror-focused"),!A.curOp&&A.display.selForContextMenu!=A.doc.sel&&(A.display.input.reset(),b&&setTimeout(function(){return A.display.input.reset(!0)},20)),A.display.input.receivedFocus()),bA(A))}function Ho(A,y){A.state.delayingBlurEvent||(A.state.focused&&(Bt(A,"blur",A,y),A.state.focused=!1,fe(A.display.wrapper,"CodeMirror-focused")),clearInterval(A.display.blinker),setTimeout(function(){A.state.focused||(A.display.shift=!1)},150))}function Qc(A){for(var y=A.display,I=y.lineDiv.offsetTop,B=Math.max(0,y.scroller.getBoundingClientRect().top),K=y.lineDiv.getBoundingClientRect().top,H=0,ue=0;ue<y.view.length;ue++){var _e=y.view[ue],Ie=A.options.lineWrapping,Ue=void 0,ct=0;if(!_e.hidden){if(K+=_e.line.height,d&&g<8){var xt=_e.node.offsetTop+_e.node.offsetHeight;Ue=xt-I,I=xt}else{var Ht=_e.node.getBoundingClientRect();Ue=Ht.bottom-Ht.top,!Ie&&_e.text.firstChild&&(ct=_e.text.firstChild.getBoundingClientRect().right-Ht.left-1)}var Wt=_e.line.height-Ue;if((Wt>.005||Wt<-.005)&&(K<B&&(H-=Wt),ia(_e.line,Ue),ZA(_e.line),_e.rest))for(var xn=0;xn<_e.rest.length;xn++)ZA(_e.rest[xn]);if(ct>A.display.sizerWidth){var Pn=Math.ceil(ct/Gi(A.display));Pn>A.display.maxLineLength&&(A.display.maxLineLength=Pn,A.display.maxLine=_e.line,A.display.maxLineChanged=!0)}}}Math.abs(H)>2&&(y.scroller.scrollTop+=H)}function ZA(A){if(A.widgets)for(var y=0;y<A.widgets.length;++y){var I=A.widgets[y],B=I.node.parentNode;B&&(I.height=B.offsetHeight)}}function Fu(A,y,I){var B=I&&I.top!=null?Math.max(0,I.top):A.scroller.scrollTop;B=Math.floor(B-Uc(A));var K=I&&I.bottom!=null?I.bottom:B+A.wrapper.clientHeight,H=bt(y,B),ue=bt(y,K);if(I&&I.ensure){var _e=I.ensure.from.line,Ie=I.ensure.to.line;_e<H?(H=_e,ue=bt(y,Zi(Dr(y,_e))+A.wrapper.clientHeight)):Math.min(Ie,y.lastLine())>=ue&&(H=bt(y,Zi(Dr(y,Ie))-A.wrapper.clientHeight),ue=Ie)}return{from:H,to:Math.max(ue,H+1)}}function qc(A,y){if(!vt(A,"scrollCursorIntoView")){var I=A.display,B=I.sizer.getBoundingClientRect(),K=null,H=I.wrapper.ownerDocument;if(y.top+B.top<0?K=!0:y.bottom+B.top>(H.defaultView.innerHeight||H.documentElement.clientHeight)&&(K=!1),K!=null&&!q){var ue=pe("div","​",null,`position: absolute;
top: `+(y.top-I.viewOffset-Uc(A.display))+`px;
height: `+(y.bottom-y.top+iu(A)+I.barHeight)+`px;
left: `+y.left+"px; width: "+Math.max(2,y.right-y.left)+"px;");A.display.lineSpace.appendChild(ue),ue.scrollIntoView(K),A.display.lineSpace.removeChild(ue)}}}function Jd(A,y,I,B){B==null&&(B=0);var K;!A.options.lineWrapping&&y==I&&(I=y.sticky=="before"?un(y.line,y.ch+1,"before"):y,y=y.ch?un(y.line,y.sticky=="before"?y.ch-1:y.ch,"after"):y);for(var H=0;H<5;H++){var ue=!1,_e=sn(A,y),Ie=!I||I==y?_e:sn(A,I);K={left:Math.min(_e.left,Ie.left),top:Math.min(_e.top,Ie.top)-B,right:Math.max(_e.left,Ie.left),bottom:Math.max(_e.bottom,Ie.bottom)+B};var Ue=vc(A,K),ct=A.doc.scrollTop,xt=A.doc.scrollLeft;if(Ue.scrollTop!=null&&(Uu(A,Ue.scrollTop),Math.abs(A.doc.scrollTop-ct)>1&&(ue=!0)),Ue.scrollLeft!=null&&(Nl(A,Ue.scrollLeft),Math.abs(A.doc.scrollLeft-xt)>1&&(ue=!0)),!ue)break}return K}function Yc(A,y){var I=vc(A,y);I.scrollTop!=null&&Uu(A,I.scrollTop),I.scrollLeft!=null&&Nl(A,I.scrollLeft)}function vc(A,y){var I=A.display,B=kl(A.display);y.top<0&&(y.top=0);var K=A.curOp&&A.curOp.scrollTop!=null?A.curOp.scrollTop:I.scroller.scrollTop,H=WA(A),ue={};y.bottom-y.top>H&&(y.bottom=y.top+H);var _e=A.doc.height+Yd(I),Ie=y.top<B,Ue=y.bottom>_e-B;if(y.top<K)ue.scrollTop=Ie?0:y.top;else if(y.bottom>K+H){var ct=Math.min(y.top,(Ue?_e:y.bottom)-H);ct!=K&&(ue.scrollTop=ct)}var xt=A.options.fixedGutter?0:I.gutters.offsetWidth,Ht=A.curOp&&A.curOp.scrollLeft!=null?A.curOp.scrollLeft:I.scroller.scrollLeft-xt,Wt=Bl(A)-I.gutters.offsetWidth,xn=y.right-y.left>Wt;return xn&&(y.right=y.left+Wt),y.left<10?ue.scrollLeft=0:y.left<Ht?ue.scrollLeft=Math.max(0,y.left+xt-(xn?0:10)):y.right>Wt+Ht-3&&(ue.scrollLeft=y.right+(xn?0:10)-Wt),ue}function As(A,y){y!=null&&(pd(A),A.curOp.scrollTop=(A.curOp.scrollTop==null?A.doc.scrollTop:A.curOp.scrollTop)+y)}function zo(A){pd(A);var y=A.getCursor();A.curOp.scrollToPos={from:y,to:y,margin:A.options.cursorScrollMargin}}function cs(A,y,I){(y!=null||I!=null)&&pd(A),y!=null&&(A.curOp.scrollLeft=y),I!=null&&(A.curOp.scrollTop=I)}function Df(A,y){pd(A),A.curOp.scrollToPos=y}function pd(A){var y=A.curOp.scrollToPos;if(y){A.curOp.scrollToPos=null;var I=Ur(A,y.from),B=Ur(A,y.to);md(A,I,B,y.margin)}}function md(A,y,I,B){var K=vc(A,{left:Math.min(y.left,I.left),top:Math.min(y.top,I.top)-B,right:Math.max(y.right,I.right),bottom:Math.max(y.bottom,I.bottom)+B});cs(A,K.scrollLeft,K.scrollTop)}function Uu(A,y){Math.abs(A.doc.scrollTop-y)<2||(i||va(A,{top:y}),XA(A,y,!0),i&&va(A),yd(A,100))}function XA(A,y,I){y=Math.max(0,Math.min(A.display.scroller.scrollHeight-A.display.scroller.clientHeight,y)),!(A.display.scroller.scrollTop==y&&!I)&&(A.doc.scrollTop=y,A.display.scrollbars.setScrollTop(y),A.display.scroller.scrollTop!=y&&(A.display.scroller.scrollTop=y))}function Nl(A,y,I,B){y=Math.max(0,Math.min(y,A.display.scroller.scrollWidth-A.display.scroller.clientWidth)),!((I?y==A.doc.scrollLeft:Math.abs(A.doc.scrollLeft-y)<2)&&!B)&&(A.doc.scrollLeft=y,vd(A),A.display.scroller.scrollLeft!=y&&(A.display.scroller.scrollLeft=y),A.display.scrollbars.setScrollLeft(y))}function xA(A){var y=A.display,I=y.gutters.offsetWidth,B=Math.round(A.doc.height+Yd(A.display));return{clientHeight:y.scroller.clientHeight,viewHeight:y.wrapper.clientHeight,scrollWidth:y.scroller.scrollWidth,clientWidth:y.scroller.clientWidth,viewWidth:y.wrapper.clientWidth,barLeft:A.options.fixedGutter?I:0,docHeight:B,scrollHeight:B+iu(A)+y.barHeight,nativeBarWidth:y.nativeBarWidth,gutterWidth:I}}var dl=function(A,y,I){this.cm=I;var B=this.vert=pe("div",[pe("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),K=this.horiz=pe("div",[pe("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");B.tabIndex=K.tabIndex=-1,A(B),A(K),ze(B,"scroll",function(){B.clientHeight&&y(B.scrollTop,"vertical")}),ze(K,"scroll",function(){K.clientWidth&&y(K.scrollLeft,"horizontal")}),this.checkedZeroWidth=!1,d&&g<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")};dl.prototype.update=function(A){var y=A.scrollWidth>A.clientWidth+1,I=A.scrollHeight>A.clientHeight+1,B=A.nativeBarWidth;if(I){this.vert.style.display="block",this.vert.style.bottom=y?B+"px":"0";var K=A.viewHeight-(y?B:0);this.vert.firstChild.style.height=Math.max(0,A.scrollHeight-A.clientHeight+K)+"px"}else this.vert.scrollTop=0,this.vert.style.display="",this.vert.firstChild.style.height="0";if(y){this.horiz.style.display="block",this.horiz.style.right=I?B+"px":"0",this.horiz.style.left=A.barLeft+"px";var H=A.viewWidth-A.barLeft-(I?B:0);this.horiz.firstChild.style.width=Math.max(0,A.scrollWidth-A.clientWidth+H)+"px"}else this.horiz.style.display="",this.horiz.firstChild.style.width="0";return!this.checkedZeroWidth&&A.clientHeight>0&&(B==0&&this.zeroWidthHack(),this.checkedZeroWidth=!0),{right:I?B:0,bottom:y?B:0}},dl.prototype.setScrollLeft=function(A){this.horiz.scrollLeft!=A&&(this.horiz.scrollLeft=A),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,"horiz")},dl.prototype.setScrollTop=function(A){this.vert.scrollTop!=A&&(this.vert.scrollTop=A),thi Line truncated
`},setDirection:Ss(function(A){A!="rtl"&&(A="ltr"),A!=this.direction&&(this.direction=A,this.iter(function(y){return y.order=null}),this.cm&&Qu(this.cm))})}),Vt.prototype.eachLine=Vt.prototype.iter;var vn=0;function _n(A){var y=this;if(Un(y),!(vt(y,A)||aA(y.display,A))){_t(A),d&&(vn=+new Date);var I=CA(y,A,!0),B=A.dataTransfer.files;if(!(!I||y.isReadOnly()))if(B&&B.length&&window.FileReader&&window.File)for(var K=B.length,H=Array(K),ue=0,_e=function(){++ue==K&&Ki(y,function(){I=ri(y.doc,I);var Wt={from:I,to:I,text:y.doc.splitLines(H.filter(function(xn){return xn!=null}).join(y.doc.lineSeparator())),origin:"paste"};T(y.doc,Wt),wu(y.doc,Ga(ri(y.doc,I),ri(y.doc,Ks(Wt))))})()},Ie=function(Wt,xn){if(y.options.allowDropFileTypes&&Je(y.options.allowDropFileTypes,Wt.type)==-1){_e();return}var Pn=new FileReader;Pn.onerror=function(){return _e()},Pn.onload=function(){var Yn=Pn.result;if(/[\x00-\x08\x0e-\x1f]{2}/.test(Yn)){_e();return}H[xn]=Yn,_e()},Pn.readAsText(Wt)},Ue=0;Ue<B.length;Ue++)Ie(B[Ue],Ue);else{if(y.state.draggingText&&y.doc.sel.contains(I)>-1){y.state.draggingText(A),setTimeout(function(){return y.display.input.focus()},20);return}try{var ct=A.dataTransfer.getData("Text");if(ct){var xt;if(y.state.draggingText&&!y.state.draggingText.copy&&(xt=y.listSelections()),Xs(y.doc,Ga(I,I)),xt)for(var Ht=0;Ht<xt.length;++Ht)j(y.doc,"",xt[Ht].anchor,xt[Ht].head,"drag");y.replaceSelection(ct,"around","paste"),y.display.input.focus()}}catch{}}}}function mn(A,y){if(d&&(!A.state.draggingText||+new Date-vn<100)){Ar(y);return}if(!(vt(A,y)||aA(A.display,y))&&(y.dataTransfer.setData("Text",A.getSelection()),y.dataTransfer.effectAllowed="copyMove",y.dataTransfer.setDragImage&&!U)){var I=pe("img",null,null,"position: fixed; left: 0; top: 0;");I.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",k&&(I.width=I.height=1,A.display.wrapper.appendChild(I),I._top=I.offsetTop),y.dataTransfer.setDragImage(I,0,0),k&&I.parentNode.removeChild(I)}}function Bn(A,y){var I=CA(A,y);if(I){var B=document.createDocumentFragment();yc(A,I,B),A.display.dragCursor||(A.display.dragCursor=pe("div",null,"CodeMirror-cursors CodeMirror-dragcursors"),A.display.lineSpace.insertBefore(A.display.dragCursor,A.display.cursorDiv)),Pe(A.display.dragCursor,B)}}function Un(A){A.display.dragCursor&&(A.display.lineSpace.removeChild(A.display.dragCursor),A.display.dragCursor=null)}function wn(A){if(document.getElementsByClassName){for(var y=document.getElementsByClassName("CodeMirror"),I=[],B=0;B<y.length;B++){var K=y[B].CodeMirror;K&&I.push(K)}I.length&&I[0].operation(function(){for(var H=0;H<I.length;H++)A(I[H])})}}var kr=!1;function Bi(){kr||($i(),kr=!0)}function $i(){var A;ze(window,"resize",function(){A==null&&(A=setTimeout(function(){A=null,wn(Oo)},100))}),ze(window,"blur",function(){return wn(Ho)})}function Oo(A){var y=A.display;y.cachedCharWidth=y.cachedTextHeight=y.cachedPaddingH=null,y.scrollbarsClipped=!1,A.setSize()}for(var Si={3:"Pause",8:"Backspace",9:"Tab",13:"Enter",16:"Shift",17:"Ctrl",18:"Alt",19:"Pause",20:"CapsLock",27:"Esc",32:"Space",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"Left",38:"Up",39:"Right",40:"Down",44:"PrintScrn",45:"Insert",46:"Delete",59:";",61:"=",91:"Mod",92:"Mod",93:"Mod",106:"*",107:"=",109:"-",110:".",111:"/",145:"ScrollLock",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'",224:"Mod",63232:"Up",63233:"Down",63234:"Left",63235:"Right",63272:"Delete",63273:"Home",63275:"End",63276:"PageUp",63277:"PageDown",63302:"Insert"},jo=0;jo<10;jo++)Si[jo+48]=Si[jo+96]=String(jo);for(var No=65;No<=90;No++)Si[No]=String.fromCharCode(No);for(var xo=1;xo<=12;xo++)Si[xo+111]=Si[xo+63235]="F"+xo;var yo={};yo.basic={Left:"goCharLeft",Right:"goCharRight",Up:"goLineUp",Down:"goLineDown",End:"goLineEnd",Home:"goLineStartSmart",PageUp:"goPageUp",PageDown:"goPageDown",Delete:"delCharAfter",Backspace:"delCharBefore","Shift-Backspace":"delCharBefore",Tab:"defaultTab","Shift-Tab":"indentAuto",Enter:"newlineAndIndent",Insert:"toggleOverwrite",Esc:"singleSelection"},yo.pcDefault={"Ctrl-A":"selectAll","Ctrl-D":"deleteLine","Ctrl-Z":"undo","Shift-Ctrl-Z":"redo","Ctrl-Y":"redo","Ctrl-Home":"goDocStart","Ctrl-End":"goDocEnd","Ctrl-Up":"goLineUp","Ctrl-Down":"goLineDown","Ctrl-Left":"goGroupLeft","Ctrl-Right":"goGroupRight","Alt-Left":"goLineStart","Alt-Right":"goLineEnd","Ctrl-Backspace":"delGroupBefore","Ctrl-Delete":"delGroupAfter","Ctrl-S":"save","Ctrl-F":"find","Ctrl-G":"findNext","Shift-Ctrl-G":"findPrev","Shift-Ctrl-F":"replace","Shift-Ctrl-R":"replaceAll","Ctrl-[":"indentLess","Ctrl-]":"indentMore","Ctrl-U":"undoSelection","Shift-Ctrl-U":"redoSelection","Alt-U":"redoSelection",fallthrough:"basic"},yo.emacsy={"Ctrl-F":"goCharRight","Ctrl-B":"goCharLeft","Ctrl-P":"goLineUp","Ctrl-N":"goLineDown","Ctrl-A":"goLineStart","Ctrl-E":"goLineEnd","Ctrl-V":"goPageDown","Shift-Ctrl-V":"goPageUp","Ctrl-D":"delCharAfter","Ctrl-H":"delCharBefore","Alt-Backspace":"delWordBefore","Ctrl-KLine truncated
`,"start")},toggleOverwrite:function(A){return A.toggleOverwrite()}};function sa(A,y){var I=Dr(A.doc,y),B=gr(I);return B!=I&&(y=Qe(B)),Vu(!0,A,B,y,1)}function Pl(A,y){var I=Dr(A.doc,y),B=Ir(I);return B!=I&&(y=Qe(B)),Vu(!0,A,I,y,-1)}function bs(A,y){var I=sa(A,y.line),B=Dr(A.doc,I.line),K=ve(B,A.doc.direction);if(!K||K[0].level==0){var H=Math.max(I.ch,B.text.search(/\S/)),ue=y.line==I.line&&y.ch<=H&&y.ch;return un(I.line,ue?0:H,I.sticky)}return I}function Qs(A,y,I){if(typeof y=="string"&&(y=ml[y],!y))return!1;A.display.input.ensurePolled();var B=A.display.shift,K=!1;try{A.isReadOnly()&&(A.state.suppressEdits=!0),I&&(A.display.shift=!1),K=y(A)!=dt}finally{A.display.shift=B,A.state.suppressEdits=!1}return K}function nl(A,y,I){for(var B=0;B<A.state.keyMaps.length;B++){var K=ds(y,A.state.keyMaps[B],I,A);if(K)return K}return A.options.extraKeys&&ds(y,A.options.extraKeys,I,A)||ds(y,A.options.keyMap,I,A)}var rl=new Se;function Md(A,y,I,B){var K=A.state.keySeq;if(K){if(Wa(y))return"handled";if(/\'$/.test(y)?A.state.keySeq=null:rl.set(50,function(){A.state.keySeq==K&&(A.state.keySeq=null,A.display.input.reset())}),Bh(A,K+" "+y,I,B))return!0}return Bh(A,y,I,B)}function Bh(A,y,I,B){var K=nl(A,y,B);return K=="multi"&&(A.state.keySeq=y),K=="handled"&&Zs(A,"keyHandled",A,y,I),(K=="handled"||K=="multi")&&(_t(I),bA(A)),!!K}function Oh(A,y){var I=fl(y,!0);return I?y.shiftKey&&!A.state.keySeq?Md(A,"Shift-"+I,y,function(B){return Qs(A,B,!0)})||Md(A,I,y,function(B){if(typeof B=="string"?/^go[A-Z]/.test(B):B.motion)return Qs(A,B)}):Md(A,I,y,function(B){return Qs(A,B)}):!1}function Sd(A,y,I){return Md(A,"'"+I+"'",y,function(B){return Qs(A,B,!0)})}var ic=null;function Ih(A){var y=this;if(!(A.target&&A.target!=y.display.input.getField())&&(y.curOp.focus=ht(Ct(y)),!vt(y,A))){d&&g<11&&A.keyCode==27&&(A.returnValue=!1);var I=A.keyCode;y.display.shift=I==16||A.shiftKey;var B=Oh(y,A);k&&(ic=B?I:null,!B&&I==88&&!Sa&&(Y?A.metaKey:A.ctrlKey)&&y.replaceSelection("",null,"cut")),i&&!Y&&!B&&I==46&&A.shiftKey&&!A.ctrlKey&&document.execCommand&&document.execCommand("cut"),I==18&&!/\bCodeMirror-crosshair\b/.test(y.display.lineDiv.className)&&Ta(y)}}function Ta(A){var y=A.display.lineDiv;De(y,"CodeMirror-crosshair");function I(B){(B.keyCode==18||!B.altKey)&&(fe(y,"CodeMirror-crosshair"),pt(document,"keyup",I),pt(document,"mouseover",I))}ze(document,"keyup",I),ze(document,"mouseover",I)}function Au(A){A.keyCode==16&&(this.doc.sel.shift=!1),vt(this,A)}function Ed(A){var y=this;if(!(A.target&&A.target!=y.display.input.getField())&&!(aA(y.display,A)||vt(y,A)||A.ctrlKey&&!A.altKey||Y&&A.metaKey)){var I=A.keyCode,B=A.charCode;if(k&&I==ic){ic=null,_t(A);return}if(!(k&&(!A.which||A.which<10)&&Oh(y,A))){var K=String.fromCharCode(B??I);K!="\b"&&(Sd(y,A,K)||y.display.input.onKeyPress(A))}}}var _p=400,Ec=function(A,y,I){this.time=A,this.pos=y,this.button=I};Ec.prototype.compare=function(A,y,I){return this.time+_p>A&&er(y,this.pos)==0&&I==this.button};var kA,Qa;function Cp(A,y){var I=+new Date;return Qa&&Qa.compare(I,A,y)?(kA=Qa=null,"triple"):kA&&kA.compare(I,A,y)?(Qa=new Ec(I,A,y),kA=null,"double"):(kA=new Ec(I,A,y),Qa=null,"single")}function kh(A){var y=this,I=y.display;if(!(vt(y,A)||I.activeTouch&&I.input.supportsTouch())){if(I.input.ensurePolled(),I.shift=A.shiftKey,aA(I,A)){b||(I.scroller.draggable=!1,setTimeout(function(){return I.scroller.draggable=!0},100));return}if(!sh(y,A)){var B=CA(y,A),K=rn(A),H=B?Cp(B,K):"single";Lt(y).focus(),K==1&&y.state.selectingText&&y.state.selectingText(A),!(B&&bp(y,K,B,H,A))&&(K==1?B?Bc(y,B,H,A):wr(A)==I.scroller&&_t(A):K==2?(B&&wc(y.doc,B),setTimeout(function(){return I.input.focus()},20)):K==3&&(de?y.display.input.onContextMenu(A):Wc(y)))}}}function bp(A,y,I,B,K){var H="Click";return B=="double"?H="Double"+H:B=="triple"&&(H="Triple"+H),H=(y==1?"Left":y==2?"Middle":"Right")+H,Md(A,$u(H,K),K,function(ue){if(typeof ue=="string"&&(ue=ml[ue]),!ue)return!1;var _e=!1;try{A.isReadOnly()&&(A.state.suppressEdits=!0),_e=ue(A,I)!=dt}finally{A.state.suppressEdits=!1}return _e})}function oh(A,y,I){var B=A.getOption("configureMouse"),K=B?B(A,y,I):{};if(K.unit==null){var H=J?I.shiftKey&&I.metaKey:I.altKey;K.unit=H?"rectangle":y=="single"?"char":y=="double"?"word":"line"}return(K.extend==null||A.doc.extend)&&(K.extend=A.doc.extend||I.shiftKey),K.addNew==null&&(K.addNew=Y?I.metaKey:I.ctrlKey),K.moveOnDrag==null&&(K.moveOnDrag=!(Y?I.altKey:I.ctrlKey)),K}function Bc(A,y,I,B){d?setTimeout(Kt(HA,A),0):A.curOp.focus=ht(Ct(A));var K=oh(A,I,B),H=A.doc.sel,ue;A.options.dragDrop&&Fn&&!A.isReadOnly()&&I=="single"&&(ue=H.contains(y))>-1&&(er((ue=H.ranges[ue]).from(),y)<0||y.xRel>0)&&(er(ue.to(),y)>0||y.xRel<0)?um(A,B,y,K):Th(A,B,y,K)}function um(A,y,I,B){var K=A.display,H=!1,ue=Ki(A,function(Ue){b&&(K.scroller.draggable=!1),A.state.draggingText=!1,A.state.delayingBlurEvent&&(A.hasFocus()?A.state.delayingBlurEvent=!1:Wc(A)),pt(K.wrapper.ownerDocument,"mouseup",ue),pt(K.wrapper.ownerDocument,"mousemove",_e),pt(K.scroller,"dragstart",Ie),pt(K.scrol Line truncated
left: `+y.left+"px; width: "+Math.max(2,y.right-y.left)+"px;");A.display.lineSpace.appendChild(ue),ue.scrollIntoView(K),A.display.lineSpace.removeChild(ue)}}}function Jd(A,y,I,B){B==null&&(B=0);var K;!A.options.lineWrapping&&y==I&&(I=y.sticky=="before"?un(y.line,y.ch+1,"before"):y,y=y.ch?un(y.line,y.sticky=="before"?y.ch-1:y.ch,"after"):y);for(var H=0;H<5;H++){var ue=!1,_e=sn(A,y),Ie=!I||I==y?_e:sn(A,I);K={left:Math.min(_e.left,Ie.left),top:Math.min(_e.top,Ie.top)-B,right:Math.max(_e.left,Ie.left),bottom:Math.max(_e.bottom,Ie.bottom)+B};var Ue=vc(A,K),ct=A.doc.scrollTop,xt=A.doc.scrollLeft;if(Ue.scrollTop!=null&&(Uu(A,Ue.scrollTop),Math.abs(A.doc.scrollTop-ct)>1&&(ue=!0)),Ue.scrollLeft!=null&&(Nl(A,Ue.scrollLeft),Math.abs(A.doc.scrollLeft-xt)>1&&(ue=!0)),!ue)break}return K}function Yc(A,y){var I=vc(A,y);I.scrollTop!=null&&Uu(A,I.scrollTop),I.scrollLeft!=null&&Nl(A,I.scrollLeft)}function vc(A,y){var I=A.display,B=kl(A.display);y.top<0&&(y.top=0);var K=A.curOp&&A.curOp.scrollTop!=null?A.curOp.scrollTop:I.scroller.scrollTop,H=WA(A),ue={};y.bottom-y.top>H&&(y.bottom=y.top+H);var _e=A.doc.height+Yd(I),Ie=y.top<B,Ue=y.bottom>_e-B;if(y.top<K)ue.scrollTop=Ie?0:y.top;else if(y.bottom>K+H){var ct=Math.min(y.top,(Ue?_e:y.bottom)-H);ct!=K&&(ue.scrollTop=ct)}var xt=A.options.fixedGutter?0:I.gutters.offsetWidth,Ht=A.curOp&&A.curOp.scrollLeft!=null?A.curOp.scrollLeft:I.scroller.scrollLeft-xt,Wt=Bl(A)-I.gutters.offsetWidth,xn=y.right-y.left>Wt;return xn&&(y.right=y.left+Wt),y.left<10?ue.scrollLeft=0:y.left<Ht?ue.scrollLeft=Math.max(0,y.left+xt-(xn?0:10)):y.right>Wt+Ht-3&&(ue.scrollLeft=y.right+(xn?0:10)-Wt),ue}function As(A,y){y!=null&&(pd(A),A.curOp.scrollTop=(A.curOp.scrollTop==null?A.doc.scrollTop:A.curOp.scrollTop)+y)}function zo(A){pd(A);var y=A.getCursor();A.curOp.scrollToPos={from:y,to:y,margin:A.options.cursorScrollMargin}}function cs(A,y,I){(y!=null||I!=null)&&pd(A),y!=null&&(A.curOp.scrollLeft=y),I!=null&&(A.curOp.scrollTop=I)}function Df(A,y){pd(A),A.curOp.scrollToPos=y}function pd(A){var y=A.curOp.scrollToPos;if(y){A.curOp.scrollToPos=null;var I=Ur(A,y.from),B=Ur(A,y.to);md(A,I,B,y.margin)}}function md(A,y,I,B){var K=vc(A,{left:Math.min(y.left,I.left),top:Math.min(y.top,I.top)-B,right:Math.max(y.right,I.right),bottom:Math.max(y.bottom,I.bottom)+B});cs(A,K.scrollLeft,K.scrollTop)}function Uu(A,y){Math.abs(A.doc.scrollTop-y)<2||(i||va(A,{top:y}),XA(A,y,!0),i&&va(A),yd(A,100))}function XA(A,y,I){y=Math.max(0,Math.min(A.display.scroller.scrollHeight-A.display.scroller.clientHeight,y)),!(A.display.scroller.scrollTop==y&&!I)&&(A.doc.scrollTop=y,A.display.scrollbars.setScrollTop(y),A.display.scroller.scrollTop!=y&&(A.display.scroller.scrollTop=y))}function Nl(A,y,I,B){y=Math.max(0,Math.min(y,A.display.scroller.scrollWidth-A.display.scroller.clientWidth)),!((I?y==A.doc.scrollLeft:Math.abs(A.doc.scrollLeft-y)<2)&&!B)&&(A.doc.scrollLeft=y,vd(A),A.display.scroller.scrollLeft!=y&&(A.display.scroller.scrollLeft=y),A.display.scrollbars.setScrollLeft(y))}function xA(A){var y=A.display,I=y.gutters.offsetWidth,B=Math.round(A.doc.height+Yd(A.display));return{clientHeight:y.scroller.clientHeight,viewHeight:y.wrapper.clientHeight,scrollWidth:y.scroller.scrollWidth,clientWidth:y.scroller.clientWidth,viewWidth:y.wrapper.clientWidth,barLeft:A.options.fixedGutter?I:0,docHeight:B,scrollHeight:B+iu(A)+y.barHeight,nativeBarWidth:y.nativeBarWidth,gutterWidth:I}}var dl=function(A,y,I){this.cm=I;var B=this.vert=pe("div",[pe("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),K=this.horiz=pe("div",[pe("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");B.tabIndex=K.tabIndex=-1,A(B),A(K),ze(B,"scroll",function(){B.clientHeight&&y(B.scrollTop,"vertical")}),ze(K,"scroll",function(){K.clientWidth&&y(K.scrollLeft,"horizontal")}),this.checkedZeroWidth=!1,d&&g<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")};dl.prototype.update=function(A){var y=A.scrollWidth>A.clientWidth+1,I=A.scrollHeight>A.clientHeight+1,B=A.nativeBarWidth;if(I){this.vert.style.display="block",this.vert.style.bottom=y?B+"px":"0";var K=A.viewHeight-(y?B:0);this.vert.firstChild.style.height=Math.max(0,A.scrollHeight-A.clientHeight+K)+"px"}else this.vert.scrollTop=0,this.vert.style.display="",this.vert.firstChild.style.height="0";if(y){this.horiz.style.display="block",this.horiz.style.right=I?B+"px":"0",this.horiz.style.left=A.barLeft+"px";var H=A.viewWidth-A.barLeft-(I?B:0);this.horiz.firstChild.style.width=Math.max(0,A.scrollWidth-A.clientWidth+H)+"px"}else this.horiz.style.display="",this.horiz.firstChild.style.width="0";return!this.checkedZeroWidth&&A.clientHeight>0&&(B==0&&this.zeroWidthHack(),this.checkedZeroWidth=!0),{right:I?B:0,bottom:y?B:0}},dl.prototype.setScrollLeft=function(A){this.horiz.scrollLeft!=A&&(this.horiz.scrollLeft=A),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,"horiz")},dl.prototype.setScrollTop=function(A){this.vert.scrollTop!=A&&(this.vert.scrollTop=A),thi Line truncated
`},setDirection:Es(function(A){A!="rtl"&&(A="ltr"),A!=this.direction&&(this.direction=A,this.iter(function(y){return y.order=null}),this.cm&&Qu(this.cm))})}),Vt.prototype.eachLine=Vt.prototype.iter;var vn=0;function _n(A){var y=this;if(Un(y),!(vt(y,A)||aA(y.display,A))){_t(A),d&&(vn=+new Date);var I=CA(y,A,!0),B=A.dataTransfer.files;if(!(!I||y.isReadOnly()))if(B&&B.length&&window.FileReader&&window.File)for(var K=B.length,H=Array(K),ue=0,_e=function(){++ue==K&&Ki(y,function(){I=ri(y.doc,I);var Wt={from:I,to:I,text:y.doc.splitLines(H.filter(function(xn){return xn!=null}).join(y.doc.lineSeparator())),origin:"paste"};T(y.doc,Wt),wu(y.doc,Ga(ri(y.doc,I),ri(y.doc,Ds(Wt))))})()},Ie=function(Wt,xn){if(y.options.allowDropFileTypes&&Je(y.options.allowDropFileTypes,Wt.type)==-1){_e();return}var Pn=new FileReader;Pn.onerror=function(){return _e()},Pn.onload=function(){var Yn=Pn.result;if(/[\x00-\x08\x0e-\x1f]{2}/.test(Yn)){_e();return}H[xn]=Yn,_e()},Pn.readAsText(Wt)},Ue=0;Ue<B.length;Ue++)Ie(B[Ue],Ue);else{if(y.state.draggingText&&y.doc.sel.contains(I)>-1){y.state.draggingText(A),setTimeout(function(){return y.display.input.focus()},20);return}try{var ct=A.dataTransfer.getData("Text");if(ct){var xt;if(y.state.draggingText&&!y.state.draggingText.copy&&(xt=y.listSelections()),Xs(y.doc,Ga(I,I)),xt)for(var Ht=0;Ht<xt.length;++Ht)j(y.doc,"",xt[Ht].anchor,xt[Ht].head,"drag");y.replaceSelection(ct,"around","paste"),y.display.input.focus()}}catch{}}}}function mn(A,y){if(d&&(!A.state.draggingText||+new Date-vn<100)){Ar(y);return}if(!(vt(A,y)||aA(A.display,y))&&(y.dataTransfer.setData("Text",A.getSelection()),y.dataTransfer.effectAllowed="copyMove",y.dataTransfer.setDragImage&&!U)){var I=pe("img",null,null,"position: fixed; left: 0; top: 0;");I.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",k&&(I.width=I.height=1,A.display.wrapper.appendChild(I),I._top=I.offsetTop),y.dataTransfer.setDragImage(I,0,0),k&&I.parentNode.removeChild(I)}}function Bn(A,y){var I=CA(A,y);if(I){var B=document.createDocumentFragment();yc(A,I,B),A.display.dragCursor||(A.display.dragCursor=pe("div",null,"CodeMirror-cursors CodeMirror-dragcursors"),A.display.lineSpace.insertBefore(A.display.dragCursor,A.display.cursorDiv)),Pe(A.display.dragCursor,B)}}function Un(A){A.display.dragCursor&&(A.display.lineSpace.removeChild(A.display.dragCursor),A.display.dragCursor=null)}function wn(A){if(document.getElementsByClassName){for(var y=document.getElementsByClassName("CodeMirror"),I=[],B=0;B<y.length;B++){var K=y[B].CodeMirror;K&&I.push(K)}I.length&&I[0].operation(function(){for(var H=0;H<I.length;H++)A(I[H])})}}var kr=!1;function Bi(){kr||($i(),kr=!0)}function $i(){var A;ze(window,"resize",function(){A==null&&(A=setTimeout(function(){A=null,wn(Oo)},100))}),ze(window,"blur",function(){return wn(Ho)})}function Oo(A){var y=A.display;y.cachedCharWidth=y.cachedTextHeight=y.cachedPaddingH=null,y.scrollbarsClipped=!1,A.setSize()}for(var Si={3:"Pause",8:"Backspace",9:"Tab",13:"Enter",16:"Shift",17:"Ctrl",18:"Alt",19:"Pause",20:"CapsLock",27:"Esc",32:"Space",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"Left",38:"Up",39:"Right",40:"Down",44:"PrintScrn",45:"Insert",46:"Delete",59:";",61:"=",91:"Mod",92:"Mod",93:"Mod",106:"*",107:"=",109:"-",110:".",111:"/",145:"ScrollLock",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'",224:"Mod",63232:"Up",63233:"Down",63234:"Left",63235:"Right",63272:"Delete",63273:"Home",63275:"End",63276:"PageUp",63277:"PageDown",63302:"Insert"},jo=0;jo<10;jo++)Si[jo+48]=Si[jo+96]=String(jo);for(var No=65;No<=90;No++)Si[No]=String.fromCharCode(No);for(var xo=1;xo<=12;xo++)Si[xo+111]=Si[xo+63235]="F"+xo;var yo={};yo.basic={Left:"goCharLeft",Right:"goCharRight",Up:"goLineUp",Down:"goLineDown",End:"goLineEnd",Home:"goLineStartSmart",PageUp:"goPageUp",PageDown:"goPageDown",Delete:"delCharAfter",Backspace:"delCharBefore","Shift-Backspace":"delCharBefore",Tab:"defaultTab","Shift-Tab":"indentAuto",Enter:"newlineAndIndent",Insert:"toggleOverwrite",Esc:"singleSelection"},yo.pcDefault={"Ctrl-A":"selectAll","Ctrl-D":"deleteLine","Ctrl-Z":"undo","Shift-Ctrl-Z":"redo","Ctrl-Y":"redo","Ctrl-Home":"goDocStart","Ctrl-End":"goDocEnd","Ctrl-Up":"goLineUp","Ctrl-Down":"goLineDown","Ctrl-Left":"goGroupLeft","Ctrl-Right":"goGroupRight","Alt-Left":"goLineStart","Alt-Right":"goLineEnd","Ctrl-Backspace":"delGroupBefore","Ctrl-Delete":"delGroupAfter","Ctrl-S":"save","Ctrl-F":"find","Ctrl-G":"findNext","Shift-Ctrl-G":"findPrev","Shift-Ctrl-F":"replace","Shift-Ctrl-R":"replaceAll","Ctrl-[":"indentLess","Ctrl-]":"indentMore","Ctrl-U":"undoSelection","Shift-Ctrl-U":"redoSelection","Alt-U":"redoSelection",fallthrough:"basic"},yo.emacsy={"Ctrl-F":"goCharRight","Ctrl-B":"goCharLeft","Ctrl-P":"goLineUp","Ctrl-N":"goLineDown","Ctrl-A":"goLineStart","Ctrl-E":"goLineEnd","Ctrl-V":"goPageDown","Shift-Ctrl-V":"goPageUp","Ctrl-D":"delCharAfter","Ctrl-H":"delCharBefore","Alt-Backspace":"delWordBefore","Ctrl-KLine truncated
`,"start")},toggleOverwrite:function(A){return A.toggleOverwrite()}};function sa(A,y){var I=Dr(A.doc,y),B=gr(I);return B!=I&&(y=Qe(B)),Vu(!0,A,B,y,1)}function Pl(A,y){var I=Dr(A.doc,y),B=Ir(I);return B!=I&&(y=Qe(B)),Vu(!0,A,I,y,-1)}function xs(A,y){var I=sa(A,y.line),B=Dr(A.doc,I.line),K=ve(B,A.doc.direction);if(!K||K[0].level==0){var H=Math.max(I.ch,B.text.search(/\S/)),ue=y.line==I.line&&y.ch<=H&&y.ch;return un(I.line,ue?0:H,I.sticky)}return I}function qs(A,y,I){if(typeof y=="string"&&(y=ml[y],!y))return!1;A.display.input.ensurePolled();var B=A.display.shift,K=!1;try{A.isReadOnly()&&(A.state.suppressEdits=!0),I&&(A.display.shift=!1),K=y(A)!=dt}finally{A.display.shift=B,A.state.suppressEdits=!1}return K}function nl(A,y,I){for(var B=0;B<A.state.keyMaps.length;B++){var K=ds(y,A.state.keyMaps[B],I,A);if(K)return K}return A.options.extraKeys&&ds(y,A.options.extraKeys,I,A)||ds(y,A.options.keyMap,I,A)}var rl=new Se;function Md(A,y,I,B){var K=A.state.keySeq;if(K){if(Wa(y))return"handled";if(/\'$/.test(y)?A.state.keySeq=null:rl.set(50,function(){A.state.keySeq==K&&(A.state.keySeq=null,A.display.input.reset())}),Bh(A,K+" "+y,I,B))return!0}return Bh(A,y,I,B)}function Bh(A,y,I,B){var K=nl(A,y,B);return K=="multi"&&(A.state.keySeq=y),K=="handled"&&Zs(A,"keyHandled",A,y,I),(K=="handled"||K=="multi")&&(_t(I),bA(A)),!!K}function Oh(A,y){var I=fl(y,!0);return I?y.shiftKey&&!A.state.keySeq?Md(A,"Shift-"+I,y,function(B){return qs(A,B,!0)})||Md(A,I,y,function(B){if(typeof B=="string"?/^go[A-Z]/.test(B):B.motion)return qs(A,B)}):Md(A,I,y,function(B){return qs(A,B)}):!1}function Sd(A,y,I){return Md(A,"'"+I+"'",y,function(B){return qs(A,B,!0)})}var ic=null;function Ih(A){var y=this;if(!(A.target&&A.target!=y.display.input.getField())&&(y.curOp.focus=ht(Ct(y)),!vt(y,A))){d&&g<11&&A.keyCode==27&&(A.returnValue=!1);var I=A.keyCode;y.display.shift=I==16||A.shiftKey;var B=Oh(y,A);k&&(ic=B?I:null,!B&&I==88&&!Sa&&(Y?A.metaKey:A.ctrlKey)&&y.replaceSelection("",null,"cut")),i&&!Y&&!B&&I==46&&A.shiftKey&&!A.ctrlKey&&document.execCommand&&document.execCommand("cut"),I==18&&!/\bCodeMirror-crosshair\b/.test(y.display.lineDiv.className)&&Ta(y)}}function Ta(A){var y=A.display.lineDiv;De(y,"CodeMirror-crosshair");function I(B){(B.keyCode==18||!B.altKey)&&(fe(y,"CodeMirror-crosshair"),pt(document,"keyup",I),pt(document,"mouseover",I))}ze(document,"keyup",I),ze(document,"mouseover",I)}function Au(A){A.keyCode==16&&(this.doc.sel.shift=!1),vt(this,A)}function Ed(A){var y=this;if(!(A.target&&A.target!=y.display.input.getField())&&!(aA(y.display,A)||vt(y,A)||A.ctrlKey&&!A.altKey||Y&&A.metaKey)){var I=A.keyCode,B=A.charCode;if(k&&I==ic){ic=null,_t(A);return}if(!(k&&(!A.which||A.which<10)&&Oh(y,A))){var K=String.fromCharCode(B??I);K!="\b"&&(Sd(y,A,K)||y.display.input.onKeyPress(A))}}}var _p=400,Ec=function(A,y,I){this.time=A,this.pos=y,this.button=I};Ec.prototype.compare=function(A,y,I){return this.time+_p>A&&er(y,this.pos)==0&&I==this.button};var kA,Qa;function Cp(A,y){var I=+new Date;return Qa&&Qa.compare(I,A,y)?(kA=Qa=null,"triple"):kA&&kA.compare(I,A,y)?(Qa=new Ec(I,A,y),kA=null,"double"):(kA=new Ec(I,A,y),Qa=null,"single")}function kh(A){var y=this,I=y.display;if(!(vt(y,A)||I.activeTouch&&I.input.supportsTouch())){if(I.input.ensurePolled(),I.shift=A.shiftKey,aA(I,A)){b||(I.scroller.draggable=!1,setTimeout(function(){return I.scroller.draggable=!0},100));return}if(!sh(y,A)){var B=CA(y,A),K=rn(A),H=B?Cp(B,K):"single";Lt(y).focus(),K==1&&y.state.selectingText&&y.state.selectingText(A),!(B&&bp(y,K,B,H,A))&&(K==1?B?Bc(y,B,H,A):wr(A)==I.scroller&&_t(A):K==2?(B&&wc(y.doc,B),setTimeout(function(){return I.input.focus()},20)):K==3&&(de?y.display.input.onContextMenu(A):Wc(y)))}}}function bp(A,y,I,B,K){var H="Click";return B=="double"?H="Double"+H:B=="triple"&&(H="Triple"+H),H=(y==1?"Left":y==2?"Middle":"Right")+H,Md(A,$u(H,K),K,function(ue){if(typeof ue=="string"&&(ue=ml[ue]),!ue)return!1;var _e=!1;try{A.isReadOnly()&&(A.state.suppressEdits=!0),_e=ue(A,I)!=dt}finally{A.state.suppressEdits=!1}return _e})}function oh(A,y,I){var B=A.getOption("configureMouse"),K=B?B(A,y,I):{};if(K.unit==null){var H=J?I.shiftKey&&I.metaKey:I.altKey;K.unit=H?"rectangle":y=="single"?"char":y=="double"?"word":"line"}return(K.extend==null||A.doc.extend)&&(K.extend=A.doc.extend||I.shiftKey),K.addNew==null&&(K.addNew=Y?I.metaKey:I.ctrlKey),K.moveOnDrag==null&&(K.moveOnDrag=!(Y?I.altKey:I.ctrlKey)),K}function Bc(A,y,I,B){d?setTimeout(Kt(HA,A),0):A.curOp.focus=ht(Ct(A));var K=oh(A,I,B),H=A.doc.sel,ue;A.options.dragDrop&&Fn&&!A.isReadOnly()&&I=="single"&&(ue=H.contains(y))>-1&&(er((ue=H.ranges[ue]).from(),y)<0||y.xRel>0)&&(er(ue.to(),y)>0||y.xRel<0)?um(A,B,y,K):Th(A,B,y,K)}function um(A,y,I,B){var K=A.display,H=!1,ue=Ki(A,function(Ue){b&&(K.scroller.draggable=!1),A.state.draggingText=!1,A.state.delayingBlurEvent&&(A.hasFocus()?A.state.delayingBlurEvent=!1:Wc(A)),pt(K.wrapper.ownerDocument,"mouseup",ue),pt(K.wrapper.ownerDocument,"mousemove",_e),pt(K.scroller,"dragstart",Ie),pt(K.scrol Line truncated
`)==y){if(B.ranges.length%TA.text.length==0){Ue=[];for(var ct=0;ct<TA.text.length;ct++)Ue.push(H.splitLines(TA.text[ct]))}}else Ie.length==B.ranges.length&&A.options.pasteLinesPerSelection&&(Ue=Jn(Ie,function(Xn){return[Xn]}));for(var xt=A.curOp.updateInput,Ht=B.ranges.length-1;Ht>=0;Ht--){var Wt=B.ranges[Ht],xn=Wt.from(),Pn=Wt.to();Wt.empty()&&(I&&I>0?xn=un(xn.line,xn.ch-I):A.state.overwrite&&!_e?Pn=un(Pn.line,Math.min(Dr(H,Pn.line).text.length,Pn.ch+sr(Ie).length)):_e&&TA&&TA.lineWise&&TA.text.join(`
`)==Ie.join(`
`)&&(xn=Pn=un(xn.line,0)));var Yn={from:xn,to:Pn,text:Ue?Ue[Ht%Ue.length]:Ie,origin:K||(_e?"paste":A.state.cutIncoming>ue?"cut":"+input")};T(A.doc,Yn),Zs(A,"inputRead",A,Yn)}y&&!_e&&uf(A,y),zo(A),A.curOp.updateInput<2&&(A.curOp.updateInput=xt),A.curOp.typing=!0,A.state.pasteIncoming=A.state.cutIncoming=-1}function Oc(A,y){var I=A.clipboardData&&A.clipboardData.getData("Text");if(I)return A.preventDefault(),!y.isReadOnly()&&!y.options.disableInput&&y.hasFocus()&&Bo(y,function(){return Mp(y,I,0,null,"paste")}),!0}function uf(A,y){if(!(!A.options.electricChars||!A.options.smartIndent))for(var I=A.doc.sel,B=I.ranges.length-1;B>=0;B--){var K=I.ranges[B];if(!(K.head.ch>100||B&&I.ranges[B-1].head.line==K.head.line)){var H=A.getModeAt(K.head),ue=!1;if(H.electricChars){for(var _e=0;_e<H.electricChars.length;_e++)if(y.indexOf(H.electricChars.charAt(_e))>-1){ue=Id(A,K.head.line,"smart");break}}else H.electricInput&&H.electricInput.test(Dr(A.doc,K.head.line).text.slice(0,K.head.ch))&&(ue=Id(A,K.head.line,"smart"));ue&&Zs(A,"electricInput",A,K.head.line)}}}function Af(A){for(var y=[],I=[],B=0;B<A.doc.sel.ranges.length;B++){var K=A.doc.sel.ranges[B].head.line,H={anchor:un(K,0),head:un(K+1,0)};I.push(H),y.push(A.getRange(H.anchor,H.head))}return{text:y,ranges:I}}function ah(A,y,I,B){A.setAttribute("autocorrect",I?"on":"off"),A.setAttribute("autocapitalize",B?"on":"off"),A.setAttribute("spellcheck",!!y)}function kd(){var A=pe("textarea",null,null,"position: absolute; bottom: -1em; padding: 0; width: 1px; height: 1em; min-height: 1em; outline: none"),y=pe("div",[A],null,"overflow: hidden; position: relative; width: 3px; height: 0px;");return b?A.style.width="1000px":A.setAttribute("wrap","off"),Q&&(A.style.border="1px solid black"),y}function Hc(A){var y=A.optionHandlers,I=A.helpers={};A.prototype={constructor:A,focus:function(){Lt(this).focus(),this.display.input.focus()},setOption:function(B,K){var H=this.options,ue=H[B];H[B]==K&&B!="mode"||(H[B]=K,y.hasOwnProperty(B)&&Ki(this,y[B])(this,K,ue),Bt(this,"optionChange",this,B))},getOption:function(B){return this.options[B]},getDoc:function(){return this.doc},addKeyMap:function(B,K){this.state.keyMaps[K?"push":"unshift"](pl(B))},removeKeyMap:function(B){for(var K=this.state.keyMaps,H=0;H<K.length;++H)if(K[H]==B||K[H].name==B)return K.splice(H,1),!0},addOverlay:$r(function(B,K){var H=B.token?B:A.getMode(this.options,B);if(H.startState)throw new Error("Overlays may not be stateful.");mr(this.state.overlays,{mode:H,modeSpec:B,opaque:K&&K.opaque,priority:K&&K.priority||0},function(ue){return ue.priority}),this.state.modeGen++,Tl(this)}),removeOverlay:$r(function(B){for(var K=this.state.overlays,H=0;H<K.length;++H){var ue=K[H].modeSpec;if(ue==B||typeof B=="string"&&ue.name==B){K.splice(H,1),this.state.modeGen++,Tl(this);return}}}),indentLine:$r(function(B,K,H){typeof K!="string"&&typeof K!="number"&&(K==null?K=this.options.smartIndent?"smart":"prev":K=K?"add":"subtract"),fn(this.doc,B)&&Id(this,B,K,H)}),indentSelection:$r(function(B){for(var K=this.doc.sel.ranges,H=-1,ue=0;ue<K.length;ue++){var _e=K[ue];if(_e.empty())_e.head.line>H&&(Id(this,_e.head.line,B,!0),H=_e.head.line,ue==this.doc.sel.primIndex&&zo(this));else{var Ie=_e.from(),Ue=_e.to(),ct=Math.max(H,Ie.line);H=Math.min(this.lastLine(),Ue.line-(Ue.ch?0:1))+1;for(var xt=ct;xt<H;++xt)Id(this,xt,B);var Ht=this.doc.sel.ranges;Ie.ch==0&&K.length==Ht.length&&Ht[ue].from().ch>0&&hl(this.doc,ue,new bo(Ie,Ht[ue].to()),Ut)}}}),getTokenAt:function(B,K){return Ns(this,B,K)},getLineTokens:function(B,K){return Ns(this,un(B),K,!0)},getTokenTypeAt:function(B){B=ri(this.doc,B);var K=ls(this,Dr(this.doc,B.line)),H=0,ue=(K.length-1)/2,_e=B.ch,Ie;if(_e==0)Ie=K[2];else for(;;){var Ue=H+ue>>1;if((Ue?K[Ue*2-1]:0)>=_e)ue=Ue;else if(K[Ue*2+1]<_e)H=Ue+1;else{Ie=K[Ue*2+2];break}}var ct=Ie?Ie.indexOf("overlay "):-1;return ct<0?Ie:ct==0?null:Ie.slice(0,ct-1)},getModeAt:function(B){var K=this.doc.mode;return K.innerMode?A.innerMode(K,this.getTokenAt(B).state).mode:K},getHelper:function(B,K){return this.getHelpers(B,K)[0]},getHelpers:function(B,K){var H=[];if(!I.hasOwnProperty(K))return H;var ue=I[K],_e=this.getModeAt(B);if(typeof _e[K]=="string")ue[_e[K]]&&H.push(ue[_e[K]]);else if(_e[K])for(var Ie=0;Ie<_e[K].length;Ie++){var Ue=ue[_e[K][Ie]];Ue&&H.push(Ue)}else _e.helperType&&ue[_e.helperType]?H.push(ue[_e.helperType]):ue[_e.name]&&H.push(ue[_e.name]);for(var ct=0;ct<ue._global.length;ct++){var xt=ue._global[ct];xt.pred(_e,this)&&Je(H,xt.val)==-1&&H.push(xt.val)}return H},getStateAfter:function(B,K){var H=this.doc;return B=vA(H,B??H.first+H.size-1),Lr(this,B+1,K).state},cursorCoords:function(B,K){var H,ue=this.doc.sel.primary();return B==null?H=ue.head:typeof B=="object"?H=ri(this.doc,B):H=B?ue.from():ue.to(),sn(this,H,K||"page")},charCoords:function(B,K){return kn(this,ri(this.doc,B),K||"page")},coordsChar:function(B,K){return B=$t(this,B,K||"page"),Co(this,B.left,B.top)},lineAtHeight:function(B,K){return B=$t(this,{top:B,left:0},K||"page").top,bt(t Line truncated
`)&&(xn=Pn=un(xn.line,0)));var Yn={from:xn,to:Pn,text:Ue?Ue[Ht%Ue.length]:Ie,origin:K||(_e?"paste":A.state.cutIncoming>ue?"cut":"+input")};T(A.doc,Yn),Zs(A,"inputRead",A,Yn)}y&&!_e&&uf(A,y),zo(A),A.curOp.updateInput<2&&(A.curOp.updateInput=xt),A.curOp.typing=!0,A.state.pasteIncoming=A.state.cutIncoming=-1}function Oc(A,y){var I=A.clipboardData&&A.clipboardData.getData("Text");if(I)return A.preventDefault(),!y.isReadOnly()&&!y.options.disableInput&&y.hasFocus()&&Bo(y,function(){return Mp(y,I,0,null,"paste")}),!0}function uf(A,y){if(!(!A.options.electricChars||!A.options.smartIndent))for(var I=A.doc.sel,B=I.ranges.length-1;B>=0;B--){var K=I.ranges[B];if(!(K.head.ch>100||B&&I.ranges[B-1].head.line==K.head.line)){var H=A.getModeAt(K.head),ue=!1;if(H.electricChars){for(var _e=0;_e<H.electricChars.length;_e++)if(y.indexOf(H.electricChars.charAt(_e))>-1){ue=Id(A,K.head.line,"smart");break}}else H.electricInput&&H.electricInput.test(Dr(A.doc,K.head.line).text.slice(0,K.head.ch))&&(ue=Id(A,K.head.line,"smart"));ue&&Zs(A,"electricInput",A,K.head.line)}}}function Af(A){for(var y=[],I=[],B=0;B<A.doc.sel.ranges.length;B++){var K=A.doc.sel.ranges[B].head.line,H={anchor:un(K,0),head:un(K+1,0)};I.push(H),y.push(A.getRange(H.anchor,H.head))}return{text:y,ranges:I}}function ah(A,y,I,B){A.setAttribute("autocorrect",I?"on":"off"),A.setAttribute("autocapitalize",B?"on":"off"),A.setAttribute("spellcheck",!!y)}function kd(){var A=pe("textarea",null,null,"position: absolute; bottom: -1em; padding: 0; width: 1px; height: 1em; min-height: 1em; outline: none"),y=pe("div",[A],null,"overflow: hidden; position: relative; width: 3px; height: 0px;");return b?A.style.width="1000px":A.setAttribute("wrap","off"),Q&&(A.style.border="1px solid black"),y}function Hc(A){var y=A.optionHandlers,I=A.helpers={};A.prototype={constructor:A,focus:function(){Lt(this).focus(),this.display.input.focus()},setOption:function(B,K){var H=this.options,ue=H[B];H[B]==K&&B!="mode"||(H[B]=K,y.hasOwnProperty(B)&&Ki(this,y[B])(this,K,ue),Bt(this,"optionChange",this,B))},getOption:function(B){return this.options[B]},getDoc:function(){return this.doc},addKeyMap:function(B,K){this.state.keyMaps[K?"push":"unshift"](pl(B))},removeKeyMap:function(B){for(var K=this.state.keyMaps,H=0;H<K.length;++H)if(K[H]==B||K[H].name==B)return K.splice(H,1),!0},addOverlay:$r(function(B,K){var H=B.token?B:A.getMode(this.options,B);if(H.startState)throw new Error("Overlays may not be stateful.");mr(this.state.overlays,{mode:H,modeSpec:B,opaque:K&&K.opaque,priority:K&&K.priority||0},function(ue){return ue.priority}),this.state.modeGen++,Tl(this)}),removeOverlay:$r(function(B){for(var K=this.state.overlays,H=0;H<K.length;++H){var ue=K[H].modeSpec;if(ue==B||typeof B=="string"&&ue.name==B){K.splice(H,1),this.state.modeGen++,Tl(this);return}}}),indentLine:$r(function(B,K,H){typeof K!="string"&&typeof K!="number"&&(K==null?K=this.options.smartIndent?"smart":"prev":K=K?"add":"subtract"),fn(this.doc,B)&&Id(this,B,K,H)}),indentSelection:$r(function(B){for(var K=this.doc.sel.ranges,H=-1,ue=0;ue<K.length;ue++){var _e=K[ue];if(_e.empty())_e.head.line>H&&(Id(this,_e.head.line,B,!0),H=_e.head.line,ue==this.doc.sel.primIndex&&zo(this));else{var Ie=_e.from(),Ue=_e.to(),ct=Math.max(H,Ie.line);H=Math.min(this.lastLine(),Ue.line-(Ue.ch?0:1))+1;for(var xt=ct;xt<H;++xt)Id(this,xt,B);var Ht=this.doc.sel.ranges;Ie.ch==0&&K.length==Ht.length&&Ht[ue].from().ch>0&&hl(this.doc,ue,new bo(Ie,Ht[ue].to()),Ut)}}}),getTokenAt:function(B,K){return Gs(this,B,K)},getLineTokens:function(B,K){return Gs(this,un(B),K,!0)},getTokenTypeAt:function(B){B=ri(this.doc,B);var K=ls(this,Dr(this.doc,B.line)),H=0,ue=(K.length-1)/2,_e=B.ch,Ie;if(_e==0)Ie=K[2];else for(;;){var Ue=H+ue>>1;if((Ue?K[Ue*2-1]:0)>=_e)ue=Ue;else if(K[Ue*2+1]<_e)H=Ue+1;else{Ie=K[Ue*2+2];break}}var ct=Ie?Ie.indexOf("overlay "):-1;return ct<0?Ie:ct==0?null:Ie.slice(0,ct-1)},getModeAt:function(B){var K=this.doc.mode;return K.innerMode?A.innerMode(K,this.getTokenAt(B).state).mode:K},getHelper:function(B,K){return this.getHelpers(B,K)[0]},getHelpers:function(B,K){var H=[];if(!I.hasOwnProperty(K))return H;var ue=I[K],_e=this.getModeAt(B);if(typeof _e[K]=="string")ue[_e[K]]&&H.push(ue[_e[K]]);else if(_e[K])for(var Ie=0;Ie<_e[K].length;Ie++){var Ue=ue[_e[K][Ie]];Ue&&H.push(Ue)}else _e.helperType&&ue[_e.helperType]?H.push(ue[_e.helperType]):ue[_e.name]&&H.push(ue[_e.name]);for(var ct=0;ct<ue._global.length;ct++){var xt=ue._global[ct];xt.pred(_e,this)&&Je(H,xt.val)==-1&&H.push(xt.val)}return H},getStateAfter:function(B,K){var H=this.doc;return B=vA(H,B??H.first+H.size-1),Lr(this,B+1,K).state},cursorCoords:function(B,K){var H,ue=this.doc.sel.primary();return B==null?H=ue.head:typeof B=="object"?H=ri(this.doc,B):H=B?ue.from():ue.to(),sn(this,H,K||"page")},charCoords:function(B,K){return kn(this,ri(this.doc,B),K||"page")},coordsChar:function(B,K){return B=$t(this,B,K||"page"),Co(this,B.left,B.top)},lineAtHeight:function(B,K){return B=$t(this,{top:B,left:0},K||"page").top,bt(t Line truncated
`,Yn=Ge(Pn,Wt)?"w":Ht&&Pn==`
`?"n":!Ht||/\s/.test(Pn)?null:"p";if(Ht&&!xn&&!Yn&&(Yn="s"),xt&&xt!=Yn){I<0&&(I=1,ct(),y.sticky="after");break}if(Yn&&(xt=Yn),I>0&&!ct(!xn))break}var Xn=Sc(A,y,H,ue,!0);return Pi(H,Xn)&&(Xn.hitSide=!0),Xn}function Zc(A,y,I,B){var K=A.doc,H=y.left,ue;if(B=="page"){var _e=Math.min(A.display.wrapper.clientHeight,Lt(A).innerHeight||K(A).documentElement.clientHeight),Ie=Math.max(_e-.5*kl(A.display),3);ue=(I>0?y.bottom:y.top)+I*Ie}else B=="line"&&(ue=I>0?y.bottom+3:y.top-3);for(var Ue;Ue=Co(A,H,ue),!!Ue.outside;){if(I<0?ue<=0:ue>=K.height){Ue.hitSide=!0;break}ue+=I*5}return Ue}var is=function(A){this.cm=A,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new Se,this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null};is.prototype.init=function(A){var y=this,I=this,B=I.cm,K=I.div=A.lineDiv;K.contentEditable=!0,ah(K,B.options.spellcheck,B.options.autocorrect,B.options.autocapitalize);function H(_e){for(var Ie=_e.target;Ie;Ie=Ie.parentNode){if(Ie==K)return!0;if(/\bCodeMirror-(?:line)?widget\b/.test(Ie.className))break}return!1}ze(K,"paste",function(_e){!H(_e)||vt(B,_e)||Oc(_e,B)||g<=11&&setTimeout(Ki(B,function(){return y.updateFromDOM()}),20)}),ze(K,"compositionstart",function(_e){y.composing={data:_e.data,done:!1}}),ze(K,"compositionupdate",function(_e){y.composing||(y.composing={data:_e.data,done:!1})}),ze(K,"compositionend",function(_e){y.composing&&(_e.data!=y.composing.data&&y.readFromDOMSoon(),y.composing.done=!0)}),ze(K,"touchstart",function(){return I.forceCompositionEnd()}),ze(K,"input",function(){y.composing||y.readFromDOMSoon()});function ue(_e){if(!(!H(_e)||vt(B,_e))){if(B.somethingSelected())Ph({lineWise:!1,text:B.getSelections()}),_e.type=="cut"&&B.replaceSelection("",null,"cut");else if(B.options.lineWiseCopyCut){var Ie=Af(B);Ph({lineWise:!0,text:Ie.text}),_e.type=="cut"&&B.operation(function(){B.setSelections(Ie.ranges,0,Ut),B.replaceSelection("",null,"cut")})}else return;if(_e.clipboardData){_e.clipboardData.clearData();var Ue=TA.text.join(`
`);if(_e.clipboardData.setData("Text",Ue),_e.clipboardData.getData("Text")==Ue){_e.preventDefault();return}}var ct=kd(),xt=ct.firstChild;ah(xt),B.display.lineSpace.insertBefore(ct,B.display.lineSpace.firstChild),xt.value=TA.text.join(`
`);var Ht=ht(ft(K));at(xt),setTimeout(function(){B.display.lineSpace.removeChild(ct),Ht.focus(),Ht==K&&I.showPrimarySelection()},50)}}ze(K,"copy",ue),ze(K,"cut",ue)},is.prototype.screenReaderLabelChanged=function(A){A?this.div.setAttribute("aria-label",A):this.div.removeAttribute("aria-label")},is.prototype.prepareSelection=function(){var A=fd(this.cm,!1);return A.focus=ht(ft(this.div))==this.div,A},is.prototype.showSelection=function(A,y){!A||!this.cm.display.view.length||((A.focus||y)&&this.showPrimarySelection(),this.showMultipleSelections(A))},is.prototype.getSelection=function(){return this.cm.display.wrapper.ownerDocument.getSelection()},is.prototype.showPrimarySelection=function(){var A=this.getSelection(),y=this.cm,I=y.doc.sel.primary(),B=I.from(),K=I.to();if(y.display.viewTo==y.display.viewFrom||B.line>=y.display.viewTo||K.line<y.display.viewFrom){A.removeAllRanges();return}var H=gl(y,A.anchorNode,A.anchorOffset),ue=gl(y,A.focusNode,A.focusOffset);if(!(H&&!H.bad&&ue&&!ue.bad&&er(js(H,ue),B)==0&&er(vs(H,ue),K)==0)){var _e=y.display.view,Ie=B.line>=y.display.viewFrom&&Td(y,B)||{node:_e[0].measure.map[2],offset:0},Ue=K.line<y.display.viewTo&&Td(y,K);if(!Ue){var ct=_e[_e.length-1].measure,xt=ct.maps?ct.maps[ct.maps.length-1]:ct.map;Ue={node:xt[xt.length-1],offset:xt[xt.length-2]-xt[xt.length-3]}}if(!Ie||!Ue){A.removeAllRanges();return}var Ht=A.rangeCount&&A.getRangeAt(0),Wt;try{Wt=We(Ie.node,Ie.offset,Ue.offset,Ue.node)}catch{}Wt&&(!i&&y.state.focused?(A.collapse(Ie.node,Ie.offset),Wt.collapsed||(A.removeAllRanges(),A.addRange(Wt))):(A.removeAllRanges(),A.addRange(Wt)),Ht&&A.anchorNode==null?A.addRange(Ht):i&&this.startGracePeriod()),this.rememberSelection()}},is.prototype.startGracePeriod=function(){var A=this;clearTimeout(this.gracePeriod),this.gracePeriod=setTimeout(function(){A.gracePeriod=!1,A.selectionChanged()&&A.cm.operation(function(){return A.cm.curOp.selectionChanged=!0})},20)},is.prototype.showMultipleSelections=function(A){Pe(this.cm.display.cursorDiv,A.cursors),Pe(this.cm.display.selectionDiv,A.selection)},is.prototype.rememberSelection=function(){var A=this.getSelection();this.lastAnchorNode=A.anchorNode,this.lastAnchorOffset=A.anchorOffset,this.lastFocusNode=A.focusNode,this.lastFocusOffset=A.focusOffset},is.prototype.selectionInEditor=function(){var A=this.getSelection();if(!A.rangeCount)return!1;var y=A.getRangeAt(0).commonAncestorContainer;return $e(this.div,y)},is.prototype.focus=function(){this.cm.options.readOnly!="nocursor"&&((!this.selectionInEditor()||ht(ft(this.div))!=this.div)&&this.showSelection(this.prepareSelection(),!0),this.div.focus())},is.prototype.blur=function(){this.div.blur()},is.prototype.getField=function(){return this.div},is.prototype.supportsTouch=function(){return!0},is.prototype.receivedFocus=function(){var A=this,y=this;this.selectionInEditor()?setTimeout(function(){return A.pollSelection()},20):Bo(this.cm,function(){return y.cm.curOp.selectionChanged=!0});function I(){y.cm.state.focused&&(y.pollSelection(),y.polling.set(y.cm.options.pollInterval,I))}this.polling.set(this.cm.options.pollInterval,I)},is.prototype.selectionChanged=function(){var A=this.getSelection();return A.anchorNode!=this.lastAnchorNode||A.anchorOffset!=this.lastAnchorOffset||A.focusNode!=this.lastFocusNode||A.focusOffset!=this.lastFocusOffset},is.prototype.pollSelection=function(){if(!(this.readDOMTimeout!=null||this.gracePeriod||!this.selectionChanged())){var A=this.getSelection(),y=this.cm;if(re&&S&&this.cm.display.gutterSpecs.length&&Sp(A.anchorNode)){this.cm.triggerOnKeyDown({type:"keydown",keyCode:8,preventDefault:Math.abs}),this.blur(),this.focus();return}if(!this.composing){this.rememberSelection();var I=gl(y,A.anchorNode,A.anchorOffset),B=gl(y,A.focusNode,A.focusOffset);I&&B&&Bo(y,function(){_a(y.doc,Ga(I,B),Ut),(I.bad||B.bad)&&(y.curOp.selectionChanged=!0)})}}},is.prototype.pollContent=function(){this.readDOMTimeout!=null&&(clearTimeout(this.readDOMTimeout),this.readDOMTimeout=null);var A=this.cm,y=A.display,I=A.doc.sel.primary(),B=I.from(),K=I.to();if(B.ch==0&&B.line>A.firstLine()&&(B=un(B.line-1,Dr(A.doc,B.line-1).length)),K.ch==Dr(A.doc,K.line).text.length&&K.line<A.lastLine()&&(K=un(K.line+1,0)),B.line<y.viewFrom||K.line>y.viewTo-1)return!1;var H,ue,_e;B.line==y.viewFrom||(H=lA(A,B.line))==0?(ue=Qe(y.view[0].line),_e=y.view[0].node):(ue=Qe(y.view[H].line),_e=y.view[H-1].node.nextSibling);var Ie=lA(A,K.line),Ue,ct;if(Ie==y.view.length-1?(Ue=y.viewTo-1,ct=y.lineDiv.lastChild):(Ue=Qe(y.view[Ie+1].line)-1,ct=y.view[Ie+1].node.previousSibling),!_e)return!1;for(var xt=A.doc.splitLines(Ym(A,_e,ct,ue,Ue)),Ht=Za(A.doc,un(ue,0),un(Ue,Dr(A.doc,Ue).text.length));xt.length>1&&Ht.length>1;)if(sr(xt)==sr(Ht))xt.pop(),Ht.pop(),Ue--;else if(xt[0]==Ht[0])xt.shift(),Ht.shift(),ue++;else break;for(var Wt=0,xn=0,Pn=xt[0],Yn=Ht[0],Xn=Math.min(Pn.length,Yn.length);Wt<Xn&&Pn.charCodeAt(Wt)==Yn.charCodeAt(Wt);)++Wt;for(var _r=sr(xt),ur=sr(Ht),Fr=Math.min(_r.length-(xt.length==1?Wt:0),ur.length-(Ht. Line truncated
`);var Ht=ht(ft(K));at(xt),setTimeout(function(){B.display.lineSpace.removeChild(ct),Ht.focus(),Ht==K&&I.showPrimarySelection()},50)}}ze(K,"copy",ue),ze(K,"cut",ue)},is.prototype.screenReaderLabelChanged=function(A){A?this.div.setAttribute("aria-label",A):this.div.removeAttribute("aria-label")},is.prototype.prepareSelection=function(){var A=fd(this.cm,!1);return A.focus=ht(ft(this.div))==this.div,A},is.prototype.showSelection=function(A,y){!A||!this.cm.display.view.length||((A.focus||y)&&this.showPrimarySelection(),this.showMultipleSelections(A))},is.prototype.getSelection=function(){return this.cm.display.wrapper.ownerDocument.getSelection()},is.prototype.showPrimarySelection=function(){var A=this.getSelection(),y=this.cm,I=y.doc.sel.primary(),B=I.from(),K=I.to();if(y.display.viewTo==y.display.viewFrom||B.line>=y.display.viewTo||K.line<y.display.viewFrom){A.removeAllRanges();return}var H=gl(y,A.anchorNode,A.anchorOffset),ue=gl(y,A.focusNode,A.focusOffset);if(!(H&&!H.bad&&ue&&!ue.bad&&er(Ns(H,ue),B)==0&&er(_s(H,ue),K)==0)){var _e=y.display.view,Ie=B.line>=y.display.viewFrom&&Td(y,B)||{node:_e[0].measure.map[2],offset:0},Ue=K.line<y.display.viewTo&&Td(y,K);if(!Ue){var ct=_e[_e.length-1].measure,xt=ct.maps?ct.maps[ct.maps.length-1]:ct.map;Ue={node:xt[xt.length-1],offset:xt[xt.length-2]-xt[xt.length-3]}}if(!Ie||!Ue){A.removeAllRanges();return}var Ht=A.rangeCount&&A.getRangeAt(0),Wt;try{Wt=We(Ie.node,Ie.offset,Ue.offset,Ue.node)}catch{}Wt&&(!i&&y.state.focused?(A.collapse(Ie.node,Ie.offset),Wt.collapsed||(A.removeAllRanges(),A.addRange(Wt))):(A.removeAllRanges(),A.addRange(Wt)),Ht&&A.anchorNode==null?A.addRange(Ht):i&&this.startGracePeriod()),this.rememberSelection()}},is.prototype.startGracePeriod=function(){var A=this;clearTimeout(this.gracePeriod),this.gracePeriod=setTimeout(function(){A.gracePeriod=!1,A.selectionChanged()&&A.cm.operation(function(){return A.cm.curOp.selectionChanged=!0})},20)},is.prototype.showMultipleSelections=function(A){Pe(this.cm.display.cursorDiv,A.cursors),Pe(this.cm.display.selectionDiv,A.selection)},is.prototype.rememberSelection=function(){var A=this.getSelection();this.lastAnchorNode=A.anchorNode,this.lastAnchorOffset=A.anchorOffset,this.lastFocusNode=A.focusNode,this.lastFocusOffset=A.focusOffset},is.prototype.selectionInEditor=function(){var A=this.getSelection();if(!A.rangeCount)return!1;var y=A.getRangeAt(0).commonAncestorContainer;return $e(this.div,y)},is.prototype.focus=function(){this.cm.options.readOnly!="nocursor"&&((!this.selectionInEditor()||ht(ft(this.div))!=this.div)&&this.showSelection(this.prepareSelection(),!0),this.div.focus())},is.prototype.blur=function(){this.div.blur()},is.prototype.getField=function(){return this.div},is.prototype.supportsTouch=function(){return!0},is.prototype.receivedFocus=function(){var A=this,y=this;this.selectionInEditor()?setTimeout(function(){return A.pollSelection()},20):Bo(this.cm,function(){return y.cm.curOp.selectionChanged=!0});function I(){y.cm.state.focused&&(y.pollSelection(),y.polling.set(y.cm.options.pollInterval,I))}this.polling.set(this.cm.options.pollInterval,I)},is.prototype.selectionChanged=function(){var A=this.getSelection();return A.anchorNode!=this.lastAnchorNode||A.anchorOffset!=this.lastAnchorOffset||A.focusNode!=this.lastFocusNode||A.focusOffset!=this.lastFocusOffset},is.prototype.pollSelection=function(){if(!(this.readDOMTimeout!=null||this.gracePeriod||!this.selectionChanged())){var A=this.getSelection(),y=this.cm;if(re&&S&&this.cm.display.gutterSpecs.length&&Sp(A.anchorNode)){this.cm.triggerOnKeyDown({type:"keydown",keyCode:8,preventDefault:Math.abs}),this.blur(),this.focus();return}if(!this.composing){this.rememberSelection();var I=gl(y,A.anchorNode,A.anchorOffset),B=gl(y,A.focusNode,A.focusOffset);I&&B&&Bo(y,function(){_a(y.doc,Ga(I,B),Ut),(I.bad||B.bad)&&(y.curOp.selectionChanged=!0)})}}},is.prototype.pollContent=function(){this.readDOMTimeout!=null&&(clearTimeout(this.readDOMTimeout),this.readDOMTimeout=null);var A=this.cm,y=A.display,I=A.doc.sel.primary(),B=I.from(),K=I.to();if(B.ch==0&&B.line>A.firstLine()&&(B=un(B.line-1,Dr(A.doc,B.line-1).length)),K.ch==Dr(A.doc,K.line).text.length&&K.line<A.lastLine()&&(K=un(K.line+1,0)),B.line<y.viewFrom||K.line>y.viewTo-1)return!1;var H,ue,_e;B.line==y.viewFrom||(H=lA(A,B.line))==0?(ue=Qe(y.view[0].line),_e=y.view[0].node):(ue=Qe(y.view[H].line),_e=y.view[H-1].node.nextSibling);var Ie=lA(A,K.line),Ue,ct;if(Ie==y.view.length-1?(Ue=y.viewTo-1,ct=y.lineDiv.lastChild):(Ue=Qe(y.view[Ie+1].line)-1,ct=y.view[Ie+1].node.previousSibling),!_e)return!1;for(var xt=A.doc.splitLines(Ym(A,_e,ct,ue,Ue)),Ht=Za(A.doc,un(ue,0),un(Ue,Dr(A.doc,Ue).text.length));xt.length>1&&Ht.length>1;)if(sr(xt)==sr(Ht))xt.pop(),Ht.pop(),Ue--;else if(xt[0]==Ht[0])xt.shift(),Ht.shift(),ue++;else break;for(var Wt=0,xn=0,Pn=xt[0],Yn=Ht[0],Xn=Math.min(Pn.length,Yn.length);Wt<Xn&&Pn.charCodeAt(Wt)==Yn.charCodeAt(Wt);)++Wt;for(var _r=sr(xt),ur=sr(Ht),Fr=Math.min(_r.length-(xt.length==1?Wt:0),ur.length-(Ht. Line truncated
`),at(K))}else return;ue.type=="cut"&&(B.state.cutIncoming=+new Date)}}ze(K,"cut",H),ze(K,"copy",H),ze(A.scroller,"paste",function(ue){if(!(aA(A,ue)||vt(B,ue))){if(!K.dispatchEvent){B.state.pasteIncoming=+new Date,I.focus();return}var _e=new Event("paste");_e.clipboardData=ue.clipboardData,K.dispatchEvent(_e)}}),ze(A.lineSpace,"selectstart",function(ue){aA(A,ue)||_t(ue)}),ze(K,"compositionstart",function(){var ue=B.getCursor("from");I.composing&&I.composing.range.clear(),I.composing={start:ue,range:B.markText(ue,B.getCursor("to"),{className:"CodeMirror-composing"})}}),ze(K,"compositionend",function(){I.composing&&(I.poll(),I.composing.range.clear(),I.composing=null)})},ha.prototype.createField=function(A){this.wrapper=kd(),this.textarea=this.wrapper.firstChild;var y=this.cm.options;ah(this.textarea,y.spellcheck,y.autocorrect,y.autocapitalize)},ha.prototype.screenReaderLabelChanged=function(A){A?this.textarea.setAttribute("aria-label",A):this.textarea.removeAttribute("aria-label")},ha.prototype.prepareSelection=function(){var A=this.cm,y=A.display,I=A.doc,B=fd(A);if(A.options.moveInputWithCursor){var K=sn(A,I.sel.primary().head,"div"),H=y.wrapper.getBoundingClientRect(),ue=y.lineDiv.getBoundingClientRect();B.teTop=Math.max(0,Math.min(y.wrapper.clientHeight-10,K.top+ue.top-H.top)),B.teLeft=Math.max(0,Math.min(y.wrapper.clientWidth-10,K.left+ue.left-H.left))}return B},ha.prototype.showSelection=function(A){var y=this.cm,I=y.display;Pe(I.cursorDiv,A.cursors),Pe(I.selectionDiv,A.selection),A.teTop!=null&&(this.wrapper.style.top=A.teTop+"px",this.wrapper.style.left=A.teLeft+"px")},ha.prototype.reset=function(A){if(!(this.contextMenuPending||this.composing&&A)){var y=this.cm;if(this.resetting=!0,y.somethingSelected()){this.prevInput="";var I=y.getSelection();this.textarea.value=I,y.state.focused&&at(this.textarea),d&&g>=9&&(this.hasSelection=I)}else A||(this.prevInput=this.textarea.value="",d&&g>=9&&(this.hasSelection=null));this.resetting=!1}},ha.prototype.getField=function(){return this.textarea},ha.prototype.supportsTouch=function(){return!1},ha.prototype.focus=function(){if(this.cm.options.readOnly!="nocursor"&&(!X||ht(ft(this.textarea))!=this.textarea))try{this.textarea.focus()}catch{}},ha.prototype.blur=function(){this.textarea.blur()},ha.prototype.resetPosition=function(){this.wrapper.style.top=this.wrapper.style.left=0},ha.prototype.receivedFocus=function(){this.slowPoll()},ha.prototype.slowPoll=function(){var A=this;this.pollingFast||this.polling.set(this.cm.options.pollInterval,function(){A.poll(),A.cm.state.focused&&A.slowPoll()})},ha.prototype.fastPoll=function(){var A=!1,y=this;y.pollingFast=!0;function I(){var B=y.poll();!B&&!A?(A=!0,y.polling.set(60,I)):(y.pollingFast=!1,y.slowPoll())}y.polling.set(20,I)},ha.prototype.poll=function(){var A=this,y=this.cm,I=this.textarea,B=this.prevInput;if(this.contextMenuPending||this.resetting||!y.state.focused||co(I)&&!B&&!this.composing||y.isReadOnly()||y.options.disableInput||y.state.keySeq)return!1;var K=I.value;if(K==B&&!y.somethingSelected())return!1;if(d&&g>=9&&this.hasSelection===K||Y&&/[\uf700-\uf7ff]/.test(K))return y.display.input.reset(),!1;if(y.doc.sel==y.display.selForContextMenu){var H=K.charCodeAt(0);if(H==8203&&!B&&(B="​"),H==8666)return this.reset(),this.cm.execCommand("undo")}for(var ue=0,_e=Math.min(B.length,K.length);ue<_e&&B.charCodeAt(ue)==K.charCodeAt(ue);)++ue;return Bo(y,function(){Mp(y,K.slice(ue),B.length-ue,null,A.composing?"*compose":null),K.length>1e3||K.indexOf(`
`)>-1?I.value=A.prevInput="":A.prevInput=K,A.composing&&(A.composing.range.clear(),A.composing.range=y.markText(A.composing.start,y.getCursor("to"),{className:"CodeMirror-composing"}))}),!0},ha.prototype.ensurePolled=function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},ha.prototype.onKeyPress=function(){d&&g>=9&&(this.hasSelection=null),this.fastPoll()},ha.prototype.onContextMenu=function(A){var y=this,I=y.cm,B=I.display,K=y.textarea;y.contextMenuPending&&y.contextMenuPending();var H=CA(I,A),ue=B.scroller.scrollTop;if(!H||k)return;var _e=I.options.resetSelectionOnContextMenu;_e&&I.doc.sel.contains(H)==-1&&Ki(I,_a)(I.doc,Ga(H),Ut);var Ie=K.style.cssText,Ue=y.wrapper.style.cssText,ct=y.wrapper.offsetParent.getBoundingClientRect();y.wrapper.style.cssText="position: static",K.style.cssText=`position: absolute; width: 30px; height: 30px;
top: `+(A.clientY-ct.top-5)+"px; left: "+(A.clientX-ct.left-5)+`px;
z-index: 1000; background: `+(d?"rgba(255, 255, 255, .05)":"transparent")+`;
outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);`;var xt;b&&(xt=K.ownerDocument.defaultView.scrollY),B.input.focus(),b&&K.ownerDocument.defaultView.scrollTo(null,xt),B.input.reset(),I.somethingSelected()||(K.value=y.prevInput=" "),y.contextMenuPending=Wt,B.selForContextMenu=I.doc.sel,clearTimeout(B.detectingSelectAll);function Ht(){if(K.selectionStart!=null){var Pn=I.somethingSelected(),Yn="​"+(Pn?K.value:"");K.value="⇚",K.value=Yn,y.prevInput=Pn?"":"​",K.selectionStart=1,K.selectionEnd=Yn.length,B.selForContextMenu=I.doc.sel}}function Wt(){if(y.contextMenuPending==Wt&&(y.contextMenuPending=!1,y.wrapper.style.cssText=Ue,K.style.cssText=Ie,d&&g<9&&B.scrollbars.setScrollTop(B.scroller.scrollTop=ue),K.selectionStart!=null)){(!d||d&&g<9)&&Ht();var Pn=0,Yn=function(){B.selForContextMenu==I.doc.sel&&K.selectionStart==0&&K.selectionEnd>0&&y.prevInput=="​"?Ki(I,Ql)(I):Pn++<10?B.detectingSelectAll=setTimeout(Yn,500):(B.selForContextMenu=null,B.input.reset())};B.detectingSelectAll=setTimeout(Yn,200)}}if(d&&g>=9&&Ht(),de){Ar(A);var xn=function(){pt(window,"mouseup",xn),setTimeout(Wt,20)};ze(window,"mouseup",xn)}else setTimeout(Wt,50)},ha.prototype.readOnlyChanged=function(A){A||this.reset(),this.textarea.disabled=A=="nocursor",this.textarea.readOnly=!!A},ha.prototype.setUneditable=function(){},ha.prototype.needsContentAttribute=!1;function dm(A,y){if(y=y?Fe(y):{},y.value=A.value,!y.tabindex&&A.tabIndex&&(y.tabindex=A.tabIndex),!y.placeholder&&A.placeholder&&(y.placeholder=A.placeholder),y.autofocus==null){var I=ht(ft(A));y.autofocus=I==A||A.getAttribute("autofocus")!=null&&I==document.body}function B(){A.value=_e.getValue()}var K;if(A.form&&(ze(A.form,"submit",B),!y.leaveSubmitMethodAlone)){var H=A.form;K=H.submit;try{var ue=H.submit=function(){B(),H.submit=K,H.submit(),H.submit=ue}}catch{}}y.finishInit=function(Ie){Ie.save=B,Ie.getTextArea=function(){return A},Ie.toTextArea=function(){Ie.toTextArea=isNaN,B(),A.parentNode.removeChild(Ie.getWrapperElement()),A.style.display="",A.form&&(pt(A.form,"submit",B),!y.leaveSubmitMethodAlone&&typeof A.form.submit=="function"&&(A.form.submit=K))}},A.style.display="none";var _e=Io(function(Ie){return A.parentNode.insertBefore(Ie,A.nextSibling)},y);return _e}function cf(A){A.off=pt,A.on=ze,A.wheelEventPixels=AA,A.Doc=Vt,A.splitLines=ir,A.countColumn=Te,A.findColumn=yn,A.isWordChar=Er,A.Pass=dt,A.signal=Bt,A.Line=za,A.changeEnd=Ks,A.scrollbarModel=ju,A.Pos=un,A.cmpPos=er,A.modes=oo,A.mimeModes=Mo,A.resolveMode=Ea,A.getMode=ns,A.modeExtensions=Aa,A.extendMode=Al,A.copyState=ao,A.startState=tu,A.innerMode=Pu,A.commands=ml,A.keyMap=yo,A.keyName=fl,A.isModifierKey=Wa,A.lookupKey=ds,A.normalizeKeyMap=Go,A.StringStream=so,A.SharedTextMarker=St,A.TextMarker=At,A.LineWidget=qe,A.e_preventDefault=_t,A.e_stopPropagation=Tn,A.e_stop=Ar,A.addClass=De,A.contains=$e,A.rmClass=fe,A.keyNames=Si}Rl(Io),Hc(Io);var il="iter insert remove copy getEditor constructor".split(" ");for(var Ep in Vt.prototype)Vt.prototype.hasOwnProperty(Ep)&&Je(il,Ep)<0&&(Io.prototype[Ep]=function(A){return function(){return A.apply(this.doc,arguments)}}(Vt.prototype[Ep]));return zt(Vt),Io.inputStyles={textarea:ha,contenteditable:is},Io.defineMode=function(A){!Io.defaults.mode&&A!="null"&&(Io.defaults.mode=A),Ti.apply(this,arguments)},Io.defineMIME=Ua,Io.defineMode("null",function(){return{token:function(A){return A.skipToEnd()}}}),Io.defineMIME("text/plain","null"),Io.defineExtension=function(A,y){Io.prototype[A]=y},Io.defineDocExtension=function(A,y){Vt.prototype[A]=y},Io.fromTextArea=dm,cf(Io),Io.version="5.65.16",Io})}(Ob)),Ob.exports}var yle=Vx();const Wh=La(yle);var c9={exports:{}},d9;function vle(){return d9||(d9=1,function(n,e){(function(t){t(Vx())})(function(t){t.defineMode("javascript",function(r,i){var s=r.indentUnit,a=i.statementIndent,o=i.jsonld,d=i.json||o,g=i.trackScope!==!1,b=i.typescript,E=i.wordCharacters||/[\w$\xa1-\uffff]/,S=function(){function Qe(ho){return{type:ho,style:"keyword"}}var bt=Qe("keyword a"),fn=Qe("keyword b"),Nn=Qe("keyword c"),un=Qe("keyword d"),er=Qe("operator"),Pi={type:"atom",style:"atom"};return{if:Qe("if"),while:bt,with:bt,else:fn,do:fn,try:fn,finally:fn,return:un,break:un,continue:un,new:Qe("new"),delete:Nn,void:Nn,throw:Nn,debugger:Qe("debugger"),var:Qe("var"),const:Qe("var"),let:Qe("var"),function:Qe("function"),catch:Qe("catch"),for:Qe("for"),switch:Qe("switch"),case:Qe("case"),default:Qe("default"),in:er,typeof:er,instanceof:er,true:Pi,false:Pi,null:Pi,undefined:Pi,NaN:Pi,Infinity:Pi,this:Qe("this"),class:Qe("class"),super:Qe("atom"),yield:Nn,export:Qe("export"),import:Qe("import"),extends:Nn,await:Nn}}(),O=/[+\-*&%=<>!?|~^@]/,k=/^@(context|id|value|language|type|container|list|set|reverse|index|base|vocab|graph)"/;function U(Qe){for(var bt=!1,fn,Nn=!1;(fn=Qe.next())!=null;){if(!bt){if(fn=="/"&&!Nn)return;fn=="["?Nn=!0:Nn&&fn=="]"&&(Nn=!1)}bt=!bt&&fn=="\\"}}var z,q;function Q(Qe,bt,fn){return z=Qe,q=fn,bt}fun Line truncated
outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);`;var xt;b&&(xt=K.ownerDocument.defaultView.scrollY),B.input.focus(),b&&K.ownerDocument.defaultView.scrollTo(null,xt),B.input.reset(),I.somethingSelected()||(K.value=y.prevInput=" "),y.contextMenuPending=Wt,B.selForContextMenu=I.doc.sel,clearTimeout(B.detectingSelectAll);function Ht(){if(K.selectionStart!=null){var Pn=I.somethingSelected(),Yn="​"+(Pn?K.value:"");K.value="⇚",K.value=Yn,y.prevInput=Pn?"":"​",K.selectionStart=1,K.selectionEnd=Yn.length,B.selForContextMenu=I.doc.sel}}function Wt(){if(y.contextMenuPending==Wt&&(y.contextMenuPending=!1,y.wrapper.style.cssText=Ue,K.style.cssText=Ie,d&&g<9&&B.scrollbars.setScrollTop(B.scroller.scrollTop=ue),K.selectionStart!=null)){(!d||d&&g<9)&&Ht();var Pn=0,Yn=function(){B.selForContextMenu==I.doc.sel&&K.selectionStart==0&&K.selectionEnd>0&&y.prevInput=="​"?Ki(I,Ql)(I):Pn++<10?B.detectingSelectAll=setTimeout(Yn,500):(B.selForContextMenu=null,B.input.reset())};B.detectingSelectAll=setTimeout(Yn,200)}}if(d&&g>=9&&Ht(),de){Ar(A);var xn=function(){pt(window,"mouseup",xn),setTimeout(Wt,20)};ze(window,"mouseup",xn)}else setTimeout(Wt,50)},ha.prototype.readOnlyChanged=function(A){A||this.reset(),this.textarea.disabled=A=="nocursor",this.textarea.readOnly=!!A},ha.prototype.setUneditable=function(){},ha.prototype.needsContentAttribute=!1;function dm(A,y){if(y=y?Fe(y):{},y.value=A.value,!y.tabindex&&A.tabIndex&&(y.tabindex=A.tabIndex),!y.placeholder&&A.placeholder&&(y.placeholder=A.placeholder),y.autofocus==null){var I=ht(ft(A));y.autofocus=I==A||A.getAttribute("autofocus")!=null&&I==document.body}function B(){A.value=_e.getValue()}var K;if(A.form&&(ze(A.form,"submit",B),!y.leaveSubmitMethodAlone)){var H=A.form;K=H.submit;try{var ue=H.submit=function(){B(),H.submit=K,H.submit(),H.submit=ue}}catch{}}y.finishInit=function(Ie){Ie.save=B,Ie.getTextArea=function(){return A},Ie.toTextArea=function(){Ie.toTextArea=isNaN,B(),A.parentNode.removeChild(Ie.getWrapperElement()),A.style.display="",A.form&&(pt(A.form,"submit",B),!y.leaveSubmitMethodAlone&&typeof A.form.submit=="function"&&(A.form.submit=K))}},A.style.display="none";var _e=Io(function(Ie){return A.parentNode.insertBefore(Ie,A.nextSibling)},y);return _e}function cf(A){A.off=pt,A.on=ze,A.wheelEventPixels=AA,A.Doc=Vt,A.splitLines=ir,A.countColumn=Te,A.findColumn=yn,A.isWordChar=Er,A.Pass=dt,A.signal=Bt,A.Line=za,A.changeEnd=Ds,A.scrollbarModel=ju,A.Pos=un,A.cmpPos=er,A.modes=oo,A.mimeModes=Mo,A.resolveMode=Ea,A.getMode=ns,A.modeExtensions=Aa,A.extendMode=Al,A.copyState=ao,A.startState=tu,A.innerMode=Pu,A.commands=ml,A.keyMap=yo,A.keyName=fl,A.isModifierKey=Wa,A.lookupKey=ds,A.normalizeKeyMap=Go,A.StringStream=so,A.SharedTextMarker=St,A.TextMarker=At,A.LineWidget=qe,A.e_preventDefault=_t,A.e_stopPropagation=Tn,A.e_stop=Ar,A.addClass=De,A.contains=$e,A.rmClass=fe,A.keyNames=Si}Rl(Io),Hc(Io);var il="iter insert remove copy getEditor constructor".split(" ");for(var Ep in Vt.prototype)Vt.prototype.hasOwnProperty(Ep)&&Je(il,Ep)<0&&(Io.prototype[Ep]=function(A){return function(){return A.apply(this.doc,arguments)}}(Vt.prototype[Ep]));return zt(Vt),Io.inputStyles={textarea:ha,contenteditable:is},Io.defineMode=function(A){!Io.defaults.mode&&A!="null"&&(Io.defaults.mode=A),Ti.apply(this,arguments)},Io.defineMIME=Ua,Io.defineMode("null",function(){return{token:function(A){return A.skipToEnd()}}}),Io.defineMIME("text/plain","null"),Io.defineExtension=function(A,y){Io.prototype[A]=y},Io.defineDocExtension=function(A,y){Vt.prototype[A]=y},Io.fromTextArea=dm,cf(Io),Io.version="5.65.16",Io})}(Ob)),Ob.exports}var yle=Vx();const Wh=La(yle);var c9={exports:{}},d9;function vle(){return d9||(d9=1,function(n,e){(function(t){t(Vx())})(function(t){t.defineMode("javascript",function(r,i){var s=r.indentUnit,a=i.statementIndent,o=i.jsonld,d=i.json||o,g=i.trackScope!==!1,b=i.typescript,E=i.wordCharacters||/[\w$\xa1-\uffff]/,S=function(){function Qe(ho){return{type:ho,style:"keyword"}}var bt=Qe("keyword a"),fn=Qe("keyword b"),Nn=Qe("keyword c"),un=Qe("keyword d"),er=Qe("operator"),Pi={type:"atom",style:"atom"};return{if:Qe("if"),while:bt,with:bt,else:fn,do:fn,try:fn,finally:fn,return:un,break:un,continue:un,new:Qe("new"),delete:Nn,void:Nn,throw:Nn,debugger:Qe("debugger"),var:Qe("var"),const:Qe("var"),let:Qe("var"),function:Qe("function"),catch:Qe("catch"),for:Qe("for"),switch:Qe("switch"),case:Qe("case"),default:Qe("default"),in:er,typeof:er,instanceof:er,true:Pi,false:Pi,null:Pi,undefined:Pi,NaN:Pi,Infinity:Pi,this:Qe("this"),class:Qe("class"),super:Qe("atom"),yield:Nn,export:Qe("export"),import:Qe("import"),extends:Nn,await:Nn}}(),O=/[+\-*&%=<>!?|~^@]/,k=/^@(context|id|value|language|type|container|list|set|reverse|index|base|vocab|graph)"/;function U(Qe){for(var bt=!1,fn,Nn=!1;(fn=Qe.next())!=null;){if(!bt){if(fn=="/"&&!Nn)return;fn=="["?Nn=!0:Nn&&fn=="]"&&(Nn=!1)}bt=!bt&&fn=="\\"}}var z,q;function Q(Qe,bt,fn){return z=Qe,q=fn,bt}fun Line truncated
${E}`),U].join(`
${o}`)}return g}(n,"",0)}function xle(n){throw new Error('Could not dynamically require "'+n+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var P5={},g9;function wle(){return g9||(g9=1,function(n){var e=function(){var t={trace:function(){},yy:{},symbols_:{error:2,JSONString:3,STRING:4,JSONNumber:5,NUMBER:6,JSONNullLiteral:7,NULL:8,JSONBooleanLiteral:9,TRUE:10,FALSE:11,JSONText:12,JSONValue:13,EOF:14,JSONObject:15,JSONArray:16,"{":17,"}":18,JSONMemberList:19,JSONMember:20,":":21,",":22,"[":23,"]":24,JSONElementList:25,$accept:0,$end:1},terminals_:{2:"error",4:"STRING",6:"NUMBER",8:"NULL",10:"TRUE",11:"FALSE",14:"EOF",17:"{",18:"}",21:":",22:",",23:"[",24:"]"},productions_:[0,[3,1],[5,1],[7,1],[9,1],[9,1],[12,2],[13,1],[13,1],[13,1],[13,1],[13,1],[13,1],[15,2],[15,3],[20,3],[19,1],[19,3],[16,2],[16,3],[25,1],[25,3]],performAction:function(s,a,o,d,g,b,E){var S=b.length-1;switch(g){case 1:this.$=s.replace(/\\(\\|")/g,"$1").replace(/\\n/g,`
`).replace(/\\r/g,"\r").replace(/\\t/g," ").replace(/\\v/g,"\v").replace(/\\f/g,"\f").replace(/\\b/g,"\b");break;case 2:this.$=Number(s);break;case 3:this.$=null;break;case 4:this.$=!0;break;case 5:this.$=!1;break;case 6:return this.$=b[S-1];case 13:this.$={};break;case 14:this.$=b[S-1];break;case 15:this.$=[b[S-2],b[S]];break;case 16:this.$={},this.$[b[S][0]]=b[S][1];break;case 17:this.$=b[S-2],b[S-2][b[S][0]]=b[S][1];break;case 18:this.$=[];break;case 19:this.$=b[S-1];break;case 20:this.$=[b[S]];break;case 21:this.$=b[S-2],b[S-2].push(b[S]);break}},table:[{3:5,4:[1,12],5:6,6:[1,13],7:3,8:[1,9],9:4,10:[1,10],11:[1,11],12:1,13:2,15:7,16:8,17:[1,14],23:[1,15]},{1:[3]},{14:[1,16]},{14:[2,7],18:[2,7],22:[2,7],24:[2,7]},{14:[2,8],18:[2,8],22:[2,8],24:[2,8]},{14:[2,9],18:[2,9],22:[2,9],24:[2,9]},{14:[2,10],18:[2,10],22:[2,10],24:[2,10]},{14:[2,11],18:[2,11],22:[2,11],24:[2,11]},{14:[2,12],18:[2,12],22:[2,12],24:[2,12]},{14:[2,3],18:[2,3],22:[2,3],24:[2,3]},{14:[2,4],18:[2,4],22:[2,4],24:[2,4]},{14:[2,5],18:[2,5],22:[2,5],24:[2,5]},{14:[2,1],18:[2,1],21:[2,1],22:[2,1],24:[2,1]},{14:[2,2],18:[2,2],22:[2,2],24:[2,2]},{3:20,4:[1,12],18:[1,17],19:18,20:19},{3:5,4:[1,12],5:6,6:[1,13],7:3,8:[1,9],9:4,10:[1,10],11:[1,11],13:23,15:7,16:8,17:[1,14],23:[1,15],24:[1,21],25:22},{1:[2,6]},{14:[2,13],18:[2,13],22:[2,13],24:[2,13]},{18:[1,24],22:[1,25]},{18:[2,16],22:[2,16]},{21:[1,26]},{14:[2,18],18:[2,18],22:[2,18],24:[2,18]},{22:[1,28],24:[1,27]},{22:[2,20],24:[2,20]},{14:[2,14],18:[2,14],22:[2,14],24:[2,14]},{3:20,4:[1,12],20:29},{3:5,4:[1,12],5:6,6:[1,13],7:3,8:[1,9],9:4,10:[1,10],11:[1,11],13:30,15:7,16:8,17:[1,14],23:[1,15]},{14:[2,19],18:[2,19],22:[2,19],24:[2,19]},{3:5,4:[1,12],5:6,6:[1,13],7:3,8:[1,9],9:4,10:[1,10],11:[1,11],13:31,15:7,16:8,17:[1,14],23:[1,15]},{18:[2,17],22:[2,17]},{18:[2,15],22:[2,15]},{22:[2,21],24:[2,21]}],defaultActions:{16:[2,6]},parseError:function(s,a){throw new Error(s)},parse:function(s){var a=this,o=[0],d=[null],g=[],b=this.table,E="",S=0,O=0,k=0,U=2,z=1;this.lexer.setInput(s),this.lexer.yy=this.yy,this.yy.lexer=this.lexer,typeof this.lexer.yylloc>"u"&&(this.lexer.yylloc={});var q=this.lexer.yylloc;g.push(q),typeof this.yy.parseError=="function"&&(this.parseError=this.yy.parseError);function Q(pe){o.length=o.length-2*pe,d.length=d.length-pe,g.length=g.length-pe}function re(){var pe;return pe=a.lexer.lex()||1,typeof pe!="number"&&(pe=a.symbols_[pe]||pe),pe}for(var X,Y,J,N,ie,he={},de,we,fe,be;;){if(J=o[o.length-1],this.defaultActions[J]?N=this.defaultActions[J]:(X==null&&(X=re()),N=b[J]&&b[J][X]),typeof N>"u"||!N.length||!N[0]){if(!k){be=[];for(de in b[J])this.terminals_[de]&&de>2&&be.push("'"+this.terminals_[de]+"'");var Pe="";this.lexer.showPosition?Pe="Parse error on line "+(S+1)+`:
@@ -1042,7 +1042,7 @@ Expecting `+be.join(", ")+", got '"+this.terminals_[X]+"'":Pe="Parse error on li
`)>=0)return!1;return!0}function Yt(Ee,oe){var ve;if(Ee.indent===" ")ve=" ";else if(typeof Ee.indent=="number"&&Ee.indent>0)ve=ie.call(Array(Ee.indent+1)," ");else return null;return{base:ve,prev:ie.call(Array(oe+1),ve)}}function nn(Ee,oe){if(Ee.length===0)return"";var ve=`
`+oe.prev+oe.base;return ve+ie.call(Ee,","+ve)+`
`+oe.prev}function rr(Ee,oe){var ve=Lt(Ee),p=[];if(ve){p.length=Ee.length;for(var ze=0;ze<Ee.length;ze++)p[ze]=Nt(Ee,ze)?oe(Ee[ze],Ee):""}var rt=typeof fe=="function"?fe(Ee):[],pt;if(Pe){pt={};for(var Bt=0;Bt<rt.length;Bt++)pt["$"+rt[Bt]]=rt[Bt]}for(var vt in Ee)Nt(Ee,vt)&&(ve&&String(Number(vt))===vt&&vt<Ee.length||Pe&&pt["$"+vt]instanceof Symbol||(J.call(/[^\w$]/,vt)?p.push(oe(vt,Ee)+": "+oe(Ee[vt],Ee)):p.push(vt+": "+oe(Ee[vt],Ee))));if(typeof fe=="function")for(var Xt=0;Xt<rt.length;Xt++)it.call(Ee,rt[Xt])&&p.push("["+oe(rt[Xt])+"]: "+oe(Ee[rt[Xt]],Ee));return p}return oE}var sE,zD;function Vhe(){if(zD)return sE;zD=1;var n=l3(),e=Ny(),t=function(o,d,g){for(var b=o,E;(E=b.next)!=null;b=E)if(E.key===d)return b.next=E.next,g||(E.next=o.next,o.next=E),E},r=function(o,d){if(o){var g=t(o,d);return g&&g.value}},i=function(o,d,g){var b=t(o,d);b?b.value=g:o.next={key:d,next:o.next,value:g}},s=function(o,d){return o?!!t(o,d):!1},a=function(o,d){if(o)return t(o,d,!0)};return sE=function(){var d,g={assert:function(b){if(!g.has(b))throw new e("Side channel does not contain "+n(b))},delete:function(b){var E=d&&d.next,S=a(d,b);return S&&E&&E===S&&(d=void 0),!!S},get:function(b){return r(d,b)},has:function(b){return s(d,b)},set:function(b,E){d||(d={next:void 0}),i(d,b,E)}};return g},sE}var aE,jD;function jG(){return jD||(jD=1,aE=Object),aE}var lE,ND;function Hhe(){return ND||(ND=1,lE=Error),lE}var uE,GD;function Zhe(){return GD||(GD=1,uE=EvalError),uE}var AE,WD;function Xhe(){return WD||(WD=1,AE=RangeError),AE}var cE,QD;function Jhe(){return QD||(QD=1,cE=ReferenceError),cE}var dE,qD;function efe(){return qD||(qD=1,dE=SyntaxError),dE}var hE,YD;function tfe(){return YD||(YD=1,hE=URIError),hE}var fE,$D;function nfe(){return $D||($D=1,fE=Math.abs),fE}var pE,VD;function rfe(){return VD||(VD=1,pE=Math.floor),pE}var mE,HD;function ife(){return HD||(HD=1,mE=Math.max),mE}var gE,ZD;function ofe(){return ZD||(ZD=1,gE=Math.min),gE}var yE,XD;function sfe(){return XD||(XD=1,yE=Math.pow),yE}var vE,JD;function afe(){return JD||(JD=1,vE=Math.round),vE}var _E,eL;function lfe(){return eL||(eL=1,_E=Number.isNaN||function(e){return e!==e}),_E}var CE,tL;function ufe(){if(tL)return CE;tL=1;var n=lfe();return CE=function(t){return n(t)||t===0?t:t<0?-1:1},CE}var bE,nL;function Afe(){return nL||(nL=1,bE=Object.getOwnPropertyDescriptor),bE}var xE,rL;function NG(){if(rL)return xE;rL=1;var n=Afe();if(n)try{n([],"length")}catch{n=null}return xE=n,xE}var wE,iL;function cfe(){if(iL)return wE;iL=1;var n=Object.defineProperty||!1;if(n)try{n({},"a",{value:1})}catch{n=!1}return wE=n,wE}var ME,oL;function dfe(){return oL||(oL=1,ME=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var e={},t=Symbol("test"),r=Object(t);if(typeof t=="string"||Object.prototype.toString.call(t)!=="[object Symbol]"||Object.prototype.toString.call(r)!=="[object Symbol]")return!1;var i=42;e[t]=i;for(var s in e)return!1;if(typeof Object.keys=="function"&&Object.keys(e).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(e).length!==0)return!1;var a=Object.getOwnPropertySymbols(e);if(a.length!==1||a[0]!==t||!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var o=Object.getOwnPropertyDescriptor(e,t);if(o.value!==i||o.enumerable!==!0)return!1}return!0}),ME}var SE,sL;function hfe(){if(sL)return SE;sL=1;var n=typeof Symbol<"u"&&Symbol,e=dfe();return SE=function(){return typeof n!="function"||typeof Symbol!="function"||typeof n("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:e()},SE}var EE,aL;function GG(){return aL||(aL=1,EE=typeof Reflect<"u"&&Reflect.getPrototypeOf||null),EE}var BE,lL;function WG(){if(lL)return BE;lL=1;var n=jG();return BE=n.getPrototypeOf||null,BE}var OE,uL;function ffe(){if(uL)return OE;uL=1;var n="Function.prototype.bind called on incompatible ",e=Object.prototype.toString,t=Math.max,r="[object Function]",i=function(d,g){for(var b=[],E=0;E<d.length;E+=1)b[E]=d[E];for(var S=0;S<g.length;S+=1)b[S+d.length]=g[S];return b},s=function(d,g){for(var b=[],E=g,S=0;E<d.length;E+=1,S+=1)b[S]=d[E];return b},a=function(o,d){for(var g="",b=0;b<o.length;b+=1)g+=o[b],b+1<o.length&&(g+=d);return g};return OE=function(d){var g=this;if(typeof g!="function"||e.apply(g)!==r)throw new TypeError(n+g);for(var b=s(arguments,1),E,S=function(){if(this instanceof E){var q=g.apply(this,i(b,arguments));return Object(q)===q?q:this}return g.apply(d,i(b,arguments))},O=t(0,g.length-b.length),k=[],U=0;U<O;U++)k[U]="$"+U;if(E=Function("binder","return function ("+a(k,",")+"){ return binder.apply(this,arguments); }")(S),g.prototype){var z=function(){};z.prototype=g.prototype,E.prototype=new z,z.prototype=null}return E},OE}var IE,AL;function u3(){if(AL)return IE;AL=1;var n=ffe();return IE=Function.prototype.bind||n,IE}var kE,cL;function VI(){return cL||(cL=1,kE=Function.prototype.call),kE}var TE,dL;function QG Line truncated
`," "],a=["{","}","|","\\","^","`"].concat(s),o=["'"].concat(a),d=["%","/","?",";","#"].concat(o),g=["/","?","#"],b=255,E=/^[+a-z0-9A-Z_-]{0,63}$/,S=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,O={javascript:!0,"javascript:":!0},k={javascript:!0,"javascript:":!0},U={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},z=wfe();function q(Y,J,N){if(Y&&typeof Y=="object"&&Y instanceof e)return Y;var ie=new e;return ie.parse(Y,J,N),ie}e.prototype.parse=function(Y,J,N){if(typeof Y!="string")throw new TypeError("Parameter 'url' must be a string, not "+typeof Y);var ie=Y.indexOf("?"),he=ie!==-1&&ie<Y.indexOf("#")?"?":"#",de=Y.split(he),we=/\\/g;de[0]=de[0].replace(we,"/"),Y=de.join(he);var fe=Y;if(fe=fe.trim(),!N&&Y.split("#").length===1){var be=i.exec(fe);if(be)return this.path=fe,this.href=fe,this.pathname=be[1],be[2]?(this.search=be[2],J?this.query=z.parse(this.search.substr(1)):this.query=this.search.substr(1)):J&&(this.search="",this.query={}),this}var Pe=t.exec(fe);if(Pe){Pe=Pe[0];var pe=Pe.toLowerCase();this.protocol=pe,fe=fe.substr(Pe.length)}if(N||Pe||fe.match(/^\/\/[^@/]+@[^@/]+/)){var it=fe.substr(0,2)==="//";it&&!(Pe&&k[Pe])&&(fe=fe.substr(2),this.slashes=!0)}if(!k[Pe]&&(it||Pe&&!U[Pe])){for(var We=-1,$e=0;$e<g.length;$e++){var ht=fe.indexOf(g[$e]);ht!==-1&&(We===-1||ht<We)&&(We=ht)}var De,Ne;We===-1?Ne=fe.lastIndexOf("@"):Ne=fe.lastIndexOf("@",We),Ne!==-1&&(De=fe.slice(0,Ne),fe=fe.slice(Ne+1),this.auth=decodeURIComponent(De)),We=-1;for(var $e=0;$e<d.length;$e++){var ht=fe.indexOf(d[$e]);ht!==-1&&(We===-1||ht<We)&&(We=ht)}We===-1&&(We=fe.length),this.host=fe.slice(0,We),fe=fe.slice(We),this.parseHost(),this.hostname=this.hostname||"";var at=this.hostname[0]==="["&&this.hostname[this.hostname.length-1]==="]";if(!at)for(var wt=this.hostname.split(/\./),$e=0,Ct=wt.length;$e<Ct;$e++){var ft=wt[$e];if(ft&&!ft.match(E)){for(var Lt="",Kt=0,Fe=ft.length;Kt<Fe;Kt++)ft.charCodeAt(Kt)>127?Lt+="x":Lt+=ft[Kt];if(!Lt.match(E)){var Te=wt.slice(0,$e),Se=wt.slice($e+1),Je=ft.match(S);Je&&(Te.push(Je[1]),Se.unshift(Je[2])),Se.length&&(fe="/"+Se.join(".")+fe),this.hostname=Te.join(".");break}}}this.hostname.length>b?this.hostname="":this.hostname=this.hostname.toLowerCase(),at||(this.hostname=n.toASCII(this.hostname));var yt=this.port?":"+this.port:"",dt=this.hostname||"";this.host=dt+yt,this.href+=this.host,at&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),fe[0]!=="/"&&(fe="/"+fe))}if(!O[pe])for(var $e=0,Ct=o.length;$e<Ct;$e++){var Ut=o[$e];if(fe.indexOf(Ut)!==-1){var en=encodeURIComponent(Ut);en===Ut&&(en=escape(Ut)),fe=fe.split(Ut).join(en)}}var Nt=fe.indexOf("#");Nt!==-1&&(this.hash=fe.substr(Nt),fe=fe.slice(0,Nt));var yn=fe.indexOf("?");if(yn!==-1?(this.search=fe.substr(yn),this.query=fe.substr(yn+1),J&&(this.query=z.parse(this.query)),fe=fe.slice(0,yn)):J&&(this.search="",this.query={}),fe&&(this.pathname=fe),U[pe]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){var yt=this.pathname||"",jn=this.search||"";this.path=yt+jn}return this.href=this.format(),this};function Q(Y){return typeof Y=="string"&&(Y=q(Y)),Y instanceof e?Y.format():e.prototype.format.call(Y)}e.prototype.format=function(){var Y=this.auth||"";Y&&(Y=encodeURIComponent(Y),Y=Y.replace(/%3A/i,":"),Y+="@");var J=this.protocol||"",N=this.pathname||"",ie=this.hash||"",he=!1,de="";this.host?he=Y+this.host:this.hostname&&(he=Y+(this.hostname.indexOf(":")===-1?this.hostname:"["+this.hostname+"]"),this.port&&(he+=":"+this.port)),this.query&&typeof this.query=="object"&&Object.keys(this.query).length&&(de=z.stringify(this.query,{arrayFormat:"repeat",addQueryPrefix:!1}));var we=this.search||de&&"?"+de||"";return J&&J.substr(-1)!==":"&&(J+=":"),this.slashes||(!J||U[J])&&he!==!1?(he="//"+(he||""),N&&N.charAt(0)!=="/"&&(N="/"+N)):he||(he=""),ie&&ie.charAt(0)!=="#"&&(ie="#"+ie),we&&we.charAt(0)!=="?"&&(we="?"+we),N=N.replace(/[?#]/g,function(fe){return encodeURIComponent(fe)}),we=we.replace("#","%23"),J+he+N+we+ie};function re(Y,J){return q(Y,!1,!0).resolve(J)}e.prototype.resolve=function(Y){return this.resolveObject(q(Y,!1,!0)).format()};function X(Y,J){return Y?q(Y,!1,!0).resolveObject(J):J}return e.prototype.resolveObject=function(Y){if(typeof Y=="string"){var J=new e;J.parse(Y,!1,!0),Y=J}for(var N=new e,ie=Object.keys(this),he=0;he<ie.length;he++){var de=ie[he];N[de]=this[de]}if(N.hash=Y.hash,Y.href==="")return N.href=N.format(),N;if(Y.slashes&&!Y.protocol){for(var we=Object.keys(Y),fe=0;fe<we.length;fe++){var be=we[fe];be!=="protocol"&&(N[be]=Y[be])}return U[N.protocol]&&N.hostname&&!N.pathname&&(N.pathname="/",N.path=N.pathname),N.href=N.format(),N}if(Y.protocol&&Y.protocol!==N.protocol){if(!U[Y.protocol]){for(var Pe=Object.keys(Y),pe=0;pe<Pe.length;pe++){var it=Pe[pe];N[it]=Y[it]}return N.href=N.format(),N}if(N.protocol=Y.protocol,!Y.host&&!k[Y.protocol]){for(var Ct=(Y.pathname||"").split("/");Ct.length&&!(Y.host=Ct.shift()););Y.host||(Y.host=""),Y.hostname||(Y.hostname=""),Ct[0] Line truncated
`," "],a=["{","}","|","\\","^","`"].concat(s),o=["'"].concat(a),d=["%","/","?",";","#"].concat(o),g=["/","?","#"],b=255,E=/^[+a-z0-9A-Z_-]{0,63}$/,S=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,O={javascript:!0,"javascript:":!0},k={javascript:!0,"javascript:":!0},U={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},z=wfe();function q(Y,J,N){if(Y&&typeof Y=="object"&&Y instanceof e)return Y;var ie=new e;return ie.parse(Y,J,N),ie}e.prototype.parse=function(Y,J,N){if(typeof Y!="string")throw new TypeError("Parameter 'url' must be a string, not "+typeof Y);var ie=Y.indexOf("?"),he=ie!==-1&&ie<Y.indexOf("#")?"?":"#",de=Y.split(he),we=/\\/g;de[0]=de[0].replace(we,"/"),Y=de.join(he);var fe=Y;if(fe=fe.trim(),!N&&Y.split("#").length===1){var be=i.exec(fe);if(be)return this.path=fe,this.href=fe,this.pathname=be[1],be[2]?(this.search=be[2],J?this.query=z.parse(this.search.substr(1)):this.query=this.search.substr(1)):J&&(this.search="",this.query={}),this}var Pe=t.exec(fe);if(Pe){Pe=Pe[0];var pe=Pe.toLowerCase();this.protocol=pe,fe=fe.substr(Pe.length)}if(N||Pe||fe.match(/^\/\/[^@/]+@[^@/]+/)){var it=fe.substr(0,2)==="//";it&&!(Pe&&k[Pe])&&(fe=fe.substr(2),this.slashes=!0)}if(!k[Pe]&&(it||Pe&&!U[Pe])){for(var We=-1,$e=0;$e<g.length;$e++){var ht=fe.indexOf(g[$e]);ht!==-1&&(We===-1||ht<We)&&(We=ht)}var De,Ne;We===-1?Ne=fe.lastIndexOf("@"):Ne=fe.lastIndexOf("@",We),Ne!==-1&&(De=fe.slice(0,Ne),fe=fe.slice(Ne+1),this.auth=decodeURIComponent(De)),We=-1;for(var $e=0;$e<d.length;$e++){var ht=fe.indexOf(d[$e]);ht!==-1&&(We===-1||ht<We)&&(We=ht)}We===-1&&(We=fe.length),this.host=fe.slice(0,We),fe=fe.slice(We),this.parseHost(),this.hostname=this.hostname||"";var at=this.hostname[0]==="["&&this.hostname[this.hostname.length-1]==="]";if(!at)for(var wt=this.hostname.split(/\./),$e=0,Ct=wt.length;$e<Ct;$e++){var ft=wt[$e];if(ft&&!ft.match(E)){for(var Lt="",Kt=0,Fe=ft.length;Kt<Fe;Kt++)ft.charCodeAt(Kt)>127?Lt+="x":Lt+=ft[Kt];if(!Lt.match(E)){var Te=wt.slice(0,$e),Se=wt.slice($e+1),Je=ft.match(S);Je&&(Te.push(Je[1]),Se.unshift(Je[2])),Se.length&&(fe="/"+Se.join(".")+fe),this.hostname=Te.join(".");break}}}this.hostname.length>b?this.hostname="":this.hostname=this.hostname.toLowerCase(),at||(this.hostname=n.toASCII(this.hostname));var yt=this.port?":"+this.port:"",dt=this.hostname||"";this.host=dt+yt,this.href+=this.host,at&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),fe[0]!=="/"&&(fe="/"+fe))}if(!O[pe])for(var $e=0,Ct=o.length;$e<Ct;$e++){var Ut=o[$e];if(fe.indexOf(Ut)!==-1){var en=encodeURIComponent(Ut);en===Ut&&(en=escape(Ut)),fe=fe.split(Ut).join(en)}}var Nt=fe.indexOf("#");Nt!==-1&&(this.hash=fe.substr(Nt),fe=fe.slice(0,Nt));var yn=fe.indexOf("?");if(yn!==-1?(this.search=fe.substr(yn),this.query=fe.substr(yn+1),J&&(this.query=z.parse(this.query)),fe=fe.slice(0,yn)):J&&(this.search="",this.query={}),fe&&(this.pathname=fe),U[pe]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){var yt=this.pathname||"",jn=this.search||"";this.path=yt+jn}return this.href=this.format(),this};function Q(Y){return typeof Y=="string"&&(Y=q(Y)),Y instanceof e?Y.format():e.prototype.format.call(Y)}e.prototype.format=function(){var Y=this.auth||"";Y&&(Y=encodeURIComponent(Y),Y=Y.replace(/%3A/i,":"),Y+="@");var J=this.protocol||"",N=this.pathname||"",ie=this.hash||"",he=!1,de="";this.host?he=Y+this.host:this.hostname&&(he=Y+(this.hostname.indexOf(":")===-1?this.hostname:"["+this.hostname+"]"),this.port&&(he+=":"+this.port)),this.query&&typeof this.query=="object"&&Object.keys(this.query).length&&(de=z.stringify(this.query,{arrayFormat:"repeat",addQueryPrefix:!1}));var we=this.search||de&&"?"+de||"";return J&&J.substr(-1)!==":"&&(J+=":"),this.slashes||(!J||U[J])&&he!==!1?(he="//"+(he||""),N&&N.charAt(0)!=="/"&&(N="/"+N)):he||(he=""),ie&&ie.charAt(0)!=="#"&&(ie="#"+ie),we&&we.charAt(0)!=="?"&&(we="?"+we),N=N.replace(/[?#]/g,function(fe){return encodeURIComponent(fe)}),we=we.replace("#","%23"),J+he+N+we+ie};function re(Y,J){return q(Y,!1,!0).resolve(J)}e.prototype.resolve=function(Y){return this.resolveObject(q(Y,!1,!0)).format()};function X(Y,J){return Y?q(Y,!1,!0).resolveObject(J):J}return e.prototype.resolveObject=function(Y){if(typeof Y=="string"){var J=new e;J.parse(Y,!1,!0),Y=J}for(var N=new e,ie=Object.keys(this),he=0;he<ie.length;he++){var de=ie[he];N[de]=this[de]}if(N.hash=Y.hash,Y.href==="")return N.href=N.format(),N;if(Y.slashes&&!Y.protocol){for(var we=Object.keys(Y),fe=0;fe<we.length;fe++){var be=we[fe];be!=="protocol"&&(N[be]=Y[be])}return U[N.protocol]&&N.hostname&&!N.pathname&&(N.pathname="/",N.path=N.pathname),N.href=N.format(),N}if(Y.protocol&&Y.protocol!==N.protocol){if(!U[Y.protocol]){for(var Pe=Object.keys(Y),pe=0;pe<Pe.length;pe++){var it=Pe[pe];N[it]=Y[it]}return N.href=N.format(),N}if(N.protocol=Y.protocol,!Y.host&&!k[Y.protocol]){for(var Ct=(Y.pathname||"").split("/");Ct.length&&!(Y.host=Ct.shift()););Y.host||(Y.host=""),Y.hostname||(Y.hostname=""),Ct[0] Line truncated
Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
this file except in compliance with the License. You may obtain a copy of the
@@ -1060,5 +1060,5 @@ and limitations under the License.
* by Pedro Ladaria <pedro.ladaria@gmail.com>
* https://github.com/pladaria/reconnecting-websocket
* License MIT
*/var zfe=function(){if(typeof WebSocket<"u")return WebSocket},jfe=function(n){return typeof n<"u"&&!!n&&n.CLOSING===2},ag={maxReconnectionDelay:1e4,minReconnectionDelay:1e3+Math.random()*4e3,minUptime:5e3,reconnectionDelayGrowFactor:1.3,connectionTimeout:4e3,maxRetries:1/0,maxEnqueuedMessages:1/0,startClosed:!1,debug:!1},Nfe=function(){function n(e,t,r){var i=this;r===void 0&&(r={}),this._listeners={error:[],message:[],open:[],close:[]},this._retryCount=-1,this._shouldReconnect=!0,this._connectLock=!1,this._binaryType="blob",this._closeCalled=!1,this._messageQueue=[],this.onclose=null,this.onerror=null,this.onmessage=null,this.onopen=null,this._handleOpen=function(s){i._debug("open event");var a=i._options.minUptime,o=a===void 0?ag.minUptime:a;clearTimeout(i._connectTimeout),i._uptimeTimeout=setTimeout(function(){return i._acceptOpen()},o),i._ws.binaryType=i._binaryType,i._messageQueue.forEach(function(d){return i._ws.send(d)}),i._messageQueue=[],i.onopen&&i.onopen(s),i._listeners.open.forEach(function(d){return i._callEventListener(s,d)})},this._handleMessage=function(s){i._debug("message event"),i.onmessage&&i.onmessage(s),i._listeners.message.forEach(function(a){return i._callEventListener(s,a)})},this._handleError=function(s){i._debug("error event",s.message),i._disconnect(void 0,s.message==="TIMEOUT"?"timeout":void 0),i.onerror&&i.onerror(s),i._debug("exec error listeners"),i._listeners.error.forEach(function(a){return i._callEventListener(s,a)}),i._connect()},this._handleClose=function(s){i._debug("close event"),i._clearTimeouts(),i._shouldReconnect&&i._connect(),i.onclose&&i.onclose(s),i._listeners.close.forEach(function(a){return i._callEventListener(s,a)})},this._url=e,this._protocols=t,this._options=r,this._options.startClosed&&(this._shouldReconnect=!1),this._connect()}return Object.defineProperty(n,"CONNECTING",{get:function(){return 0},enumerable:!0,configurable:!0}),Object.defineProperty(n,"OPEN",{get:function(){return 1},enumerable:!0,configurable:!0}),Object.defineProperty(n,"CLOSING",{get:function(){return 2},enumerable:!0,configurable:!0}),Object.defineProperty(n,"CLOSED",{get:function(){return 3},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"CONNECTING",{get:function(){return n.CONNECTING},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"OPEN",{get:function(){return n.OPEN},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"CLOSING",{get:function(){return n.CLOSING},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"CLOSED",{get:function(){return n.CLOSED},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"binaryType",{get:function(){return this._ws?this._ws.binaryType:this._binaryType},set:function(e){this._binaryType=e,this._ws&&(this._ws.binaryType=e)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"retryCount",{get:function(){return Math.max(this._retryCount,0)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"bufferedAmount",{get:function(){var e=this._messageQueue.reduce(function(t,r){return typeof r=="string"?t+=r.length:r instanceof Blob?t+=r.size:t+=r.byteLength,t},0);return e+(this._ws?this._ws.bufferedAmount:0)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"extensions",{get:function(){return this._ws?this._ws.extensions:""},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"protocol",{get:function(){return this._ws?this._ws.protocol:""},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"readyState",{get:function(){return this._ws?this._ws.readyState:this._options.startClosed?n.CLOSED:n.CONNECTING},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"url",{get:function(){return this._ws?this._ws.url:""},enumerable:!0,configurable:!0}),n.prototype.close=function(e,t){if(e===void 0&&(e=1e3),this._closeCalled=!0,this._shouldReconnect=!1,this._clearTimeouts(),!this._ws){this._debug("close enqueued: no ws instance");return}if(this._ws.readyState===this.CLOSED){this._debug("close: already closed");return}this._ws.close(e,t)},n.prototype.reconnect=function(e,t){this._shouldReconnect=!0,this._closeCalled=!1,this._retryCount=-1,!this._ws||this._ws.readyState===this.CLOSED?this._connect():(this._disconnect(e,t),this._connect())},n.prototype.send=function(e){if(this._ws&&this._ws.readyState===this.OPEN)this._debug("send",e),this._ws.send(e);else{var t=this._options.maxEnqueuedMessages,r=t===void 0?ag.maxEnqueuedMessages:t;this._messageQueue.length<r&&(this._debug("enqueue",e),this._messageQueue.push(e))}},n.prototype.addEventListener=function(e,t){this._listeners[e]&&this._listeners[e].push(t)},n.prototype.dispatchEvent=function(e){var t,r,i=this._listeners[e.type];if(i)try{for(var s=Kfe(i),a=s.next();!a.done;a=s.next()){var o=a.value;this._callEventListener(e,o)}}catch(d){t={error:d}}finally{try{a&&!a.done&&(r=s.return)&&r.call(s)}finally{if(t)throw t.error}}return!0},n.prototype.removeEventListeneLine truncated
//# sourceMappingURL=index-BoSEyMw2.js.map
*/var zfe=function(){if(typeof WebSocket<"u")return WebSocket},jfe=function(n){return typeof n<"u"&&!!n&&n.CLOSING===2},ag={maxReconnectionDelay:1e4,minReconnectionDelay:1e3+Math.random()*4e3,minUptime:5e3,reconnectionDelayGrowFactor:1.3,connectionTimeout:4e3,maxRetries:1/0,maxEnqueuedMessages:1/0,startClosed:!1,debug:!1},Nfe=function(){function n(e,t,r){var i=this;r===void 0&&(r={}),this._listeners={error:[],message:[],open:[],close:[]},this._retryCount=-1,this._shouldReconnect=!0,this._connectLock=!1,this._binaryType="blob",this._closeCalled=!1,this._messageQueue=[],this.onclose=null,this.onerror=null,this.onmessage=null,this.onopen=null,this._handleOpen=function(s){i._debug("open event");var a=i._options.minUptime,o=a===void 0?ag.minUptime:a;clearTimeout(i._connectTimeout),i._uptimeTimeout=setTimeout(function(){return i._acceptOpen()},o),i._ws.binaryType=i._binaryType,i._messageQueue.forEach(function(d){return i._ws.send(d)}),i._messageQueue=[],i.onopen&&i.onopen(s),i._listeners.open.forEach(function(d){return i._callEventListener(s,d)})},this._handleMessage=function(s){i._debug("message event"),i.onmessage&&i.onmessage(s),i._listeners.message.forEach(function(a){return i._callEventListener(s,a)})},this._handleError=function(s){i._debug("error event",s.message),i._disconnect(void 0,s.message==="TIMEOUT"?"timeout":void 0),i.onerror&&i.onerror(s),i._debug("exec error listeners"),i._listeners.error.forEach(function(a){return i._callEventListener(s,a)}),i._connect()},this._handleClose=function(s){i._debug("close event"),i._clearTimeouts(),i._shouldReconnect&&i._connect(),i.onclose&&i.onclose(s),i._listeners.close.forEach(function(a){return i._callEventListener(s,a)})},this._url=e,this._protocols=t,this._options=r,this._options.startClosed&&(this._shouldReconnect=!1),this._connect()}return Object.defineProperty(n,"CONNECTING",{get:function(){return 0},enumerable:!0,configurable:!0}),Object.defineProperty(n,"OPEN",{get:function(){return 1},enumerable:!0,configurable:!0}),Object.defineProperty(n,"CLOSING",{get:function(){return 2},enumerable:!0,configurable:!0}),Object.defineProperty(n,"CLOSED",{get:function(){return 3},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"CONNECTING",{get:function(){return n.CONNECTING},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"OPEN",{get:function(){return n.OPEN},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"CLOSING",{get:function(){return n.CLOSING},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"CLOSED",{get:function(){return n.CLOSED},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"binaryType",{get:function(){return this._ws?this._ws.binaryType:this._binaryType},set:function(e){this._binaryType=e,this._ws&&(this._ws.binaryType=e)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"retryCount",{get:function(){return Math.max(this._retryCount,0)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"bufferedAmount",{get:function(){var e=this._messageQueue.reduce(function(t,r){return typeof r=="string"?t+=r.length:r instanceof Blob?t+=r.size:t+=r.byteLength,t},0);return e+(this._ws?this._ws.bufferedAmount:0)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"extensions",{get:function(){return this._ws?this._ws.extensions:""},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"protocol",{get:function(){return this._ws?this._ws.protocol:""},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"readyState",{get:function(){return this._ws?this._ws.readyState:this._options.startClosed?n.CLOSED:n.CONNECTING},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"url",{get:function(){return this._ws?this._ws.url:""},enumerable:!0,configurable:!0}),n.prototype.close=function(e,t){if(e===void 0&&(e=1e3),this._closeCalled=!0,this._shouldReconnect=!1,this._clearTimeouts(),!this._ws){this._debug("close enqueued: no ws instance");return}if(this._ws.readyState===this.CLOSED){this._debug("close: already closed");return}this._ws.close(e,t)},n.prototype.reconnect=function(e,t){this._shouldReconnect=!0,this._closeCalled=!1,this._retryCount=-1,!this._ws||this._ws.readyState===this.CLOSED?this._connect():(this._disconnect(e,t),this._connect())},n.prototype.send=function(e){if(this._ws&&this._ws.readyState===this.OPEN)this._debug("send",e),this._ws.send(e);else{var t=this._options.maxEnqueuedMessages,r=t===void 0?ag.maxEnqueuedMessages:t;this._messageQueue.length<r&&(this._debug("enqueue",e),this._messageQueue.push(e))}},n.prototype.addEventListener=function(e,t){this._listeners[e]&&this._listeners[e].push(t)},n.prototype.dispatchEvent=function(e){var t,r,i=this._listeners[e.type];if(i)try{for(var s=Kfe(i),a=s.next();!a.done;a=s.next()){var o=a.value;this._callEventListener(e,o)}}catch(d){t={error:d}}finally{try{a&&!a.done&&(r=s.return)&&r.call(s)}finally{if(t)throw t.error}}return!0},n.prototype.removeEventListeneLine truncated
//# sourceMappingURL=index-CmHbCPm6.js.map
@@ -1 +1 @@
{"version":3,"mappings":"2+CAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,GASa,IAAIA,EAAE,OAAO,IAAI,eAAe,EAAEC,EAAE,OAAO,IAAI,cAAc,EAAEC,EAAE,OAAO,IAAI,gBAAgB,EAAEC,EAAE,OAAO,IAAI,mBAAmB,EAAEC,EAAE,OAAO,IAAI,gBAAgB,EAAEC,EAAE,OAAO,IAAI,gBAAgB,EAAEC,EAAE,OAAO,IAAI,eAAe,EAAEC,EAAE,OAAO,IAAI,mBAAmB,EAAEC,EAAE,OAAO,IAAI,gBAAgB,EAAEC,EAAE,OAAO,IAAI,YAAY,EAAEC,EAAE,OAAO,IAAI,YAAY,EAAEC,EAAE,OAAO,SAAS,SAASC,EAAEC,GAAE,CAAC,OAAUA,KAAP,MAAqB,OAAOA,IAAlB,SAA2B,MAAKA,GAAEF,GAAGE,GAAEF,CAAC,GAAGE,GAAE,YAAY,EAAqB,OAAOA,IAApB,WAAsBA,GAAE,KAAI,CAC1e,IAAIC,EAAE,CAAC,UAAU,UAAU,CAAO,QAAE,EAAE,mBAAmB,UAAU,CAAC,EAAE,oBAAoB,UAAU,CAAC,EAAE,gBAAgB,UAAU,CAAC,GAAGC,EAAE,OAAO,OAAOC,EAAE,CAAC,EAAE,SAASC,EAAEJ,GAAEK,GAAEC,GAAE,CAAC,KAAK,MAAMN,GAAE,KAAK,QAAQK,GAAE,KAAK,KAAKF,EAAE,KAAK,QAAQG,IAAGL,CAAC,CAACG,EAAE,UAAU,iBAAiB,CAAC,EACpQA,EAAE,UAAU,SAAS,SAASJ,GAAEK,GAAE,CAAI,GAAW,OAAOL,IAAlB,UAAkC,OAAOA,IAApB,YAA6BA,IAAN,KAAc,YAAM,uHAAuH,EAAE,KAAK,QAAQ,gBAAgB,KAAKA,GAAEK,GAAE,UAAU,CAAC,EAAED,EAAE,UAAU,YAAY,SAASJ,GAAE,CAAC,KAAK,QAAQ,mBAAmB,KAAKA,GAAE,aAAa,CAAC,EAAE,SAASO,GAAG,CAAC,CAACA,EAAE,UAAUH,EAAE,UAAU,SAASI,EAAER,GAAEK,GAAEC,GAAE,CAAC,KAAK,MAAMN,GAAE,KAAK,QAAQK,GAAE,KAAK,KAAKF,EAAE,KAAK,QAAQG,IAAGL,CAAC,CAAC,IAAIQ,GAAED,EAAE,UAAU,IAAID,EACrfE,GAAE,YAAYD,EAAEN,EAAEO,GAAEL,EAAE,SAAS,EAAEK,GAAE,qBAAqB,GAAG,IAAIC,EAAE,MAAM,QAAQC,EAAE,OAAO,UAAU,eAAeC,EAAE,CAAC,QAAQ,MAAMC,EAAE,CAAC,IAAI,GAAG,IAAI,GAAG,OAAO,GAAG,SAAS,EAAE,EACxK,SAASC,GAAEd,GAAEK,GAAEC,GAAE,CAAC,IAAIS,GAAEC,GAAE,GAAGC,GAAE,KAAKC,GAAE,KAAK,GAASb,IAAN,KAAY,IAAAU,MAAcV,GAAE,MAAX,SAAiBa,GAAEb,GAAE,KAAcA,GAAE,MAAX,SAAiBY,GAAE,GAAGZ,GAAE,KAAKA,GAAIM,EAAA,KAAKN,GAAEU,EAAC,GAAG,CAACF,EAAE,eAAeE,EAAC,IAAIC,GAAED,EAAC,EAAEV,GAAEU,EAAC,GAAO,IAAAI,GAAE,UAAU,OAAO,EAAK,GAAIA,KAAJ,EAAMH,GAAE,SAASV,WAAU,EAAEa,GAAE,CAAC,QAAQC,GAAE,MAAMD,EAAC,EAAEE,GAAE,EAAEA,GAAEF,GAAEE,KAAMD,GAAAC,EAAC,EAAE,UAAUA,GAAE,CAAC,EAAEL,GAAE,SAASI,EAAA,CAAE,GAAGpB,IAAGA,GAAE,aAAiB,IAAAe,MAAKI,GAAEnB,GAAE,aAAamB,GAAWH,GAAED,EAAC,IAAZ,SAAgBC,GAAED,EAAC,EAAEI,GAAEJ,EAAC,GAAG,MAAM,CAAC,SAAS5B,EAAE,KAAKa,GAAE,IAAIiB,GAAE,IAAIC,GAAE,MAAMF,GAAE,OAAOJ,EAAE,OAAO,CAAC,CAC7a,SAASU,GAAEtB,GAAEK,GAAE,CAAC,MAAM,CAAC,SAASlB,EAAE,KAAKa,GAAE,KAAK,IAAIK,GAAE,IAAIL,GAAE,IAAI,MAAMA,GAAE,MAAM,OAAOA,GAAE,MAAM,CAAC,CAAC,SAASuB,GAAEvB,GAAE,CAAC,OAAiB,OAAOA,IAAlB,UAA4BA,KAAP,MAAUA,GAAE,WAAWb,CAAC,CAAC,SAASqC,GAAOxB,GAAE,CAAC,IAAIK,GAAE,CAAC,IAAI,KAAK,IAAI,IAAI,EAAE,MAAM,IAAIL,GAAE,QAAQ,QAAQ,SAASA,GAAE,CAAC,OAAOK,GAAEL,EAAC,EAAE,CAAC,CAAC,IAAIyB,GAAE,OAAO,SAASC,GAAE1B,GAAEK,GAAE,CAAC,OAAiB,OAAOL,IAAlB,UAA4BA,KAAP,MAAgBA,GAAE,KAAR,KAAYwB,GAAO,GAAGxB,GAAE,GAAG,EAAEK,GAAE,SAAS,EAAE,CAAC,CAC/W,SAASsB,GAAE3B,GAAEK,GAAEC,GAAES,GAAEC,GAAE,CAAC,IAAIC,GAAE,OAAOjB,IAAmBiB,KAAd,aAA6BA,KAAZ,aAAgBjB,GAAA,MAAK,IAAIkB,GAAE,GAAM,GAAOlB,KAAP,KAAWkB,GAAA,eAAeD,GAAE,CAAC,IAAK,SAAS,IAAK,SAAWC,GAAA,GAAG,MAAM,IAAK,SAAS,OAAOlB,GAAE,SAAS,CAAC,KAAKb,EAAE,KAAKC,EAAI8B,GAAA,GAAE,CAAE,GAAGA,GAAS,OAAAA,GAAElB,GAAEgB,GAAEA,GAAEE,EAAC,EAAElB,GAAOe,KAAL,GAAO,IAAIW,GAAER,GAAE,CAAC,EAAEH,GAAEL,EAAEM,EAAC,GAAGV,GAAE,GAASN,IAAN,OAAUM,GAAEN,GAAE,QAAQyB,GAAE,KAAK,EAAE,KAAKE,GAAEX,GAAEX,GAAEC,GAAE,GAAG,SAASN,GAAE,CAAQA,SAAA,CAAE,GAASgB,IAAN,OAAUO,GAAEP,EAAC,IAAIA,GAAEM,GAAEN,GAAEV,IAAG,CAACU,GAAE,KAAKE,IAAGA,GAAE,MAAMF,GAAE,IAAI,IAAI,GAAGA,GAAE,KAAK,QAAQS,GAAE,KAAK,EAAE,KAAKzB,EAAC,GAAGK,GAAE,KAAKW,EAAC,GAAG,EAA4B,GAAxBE,GAAA,EAAIH,GAAKA,KAAL,GAAO,IAAIA,GAAE,IAAOL,EAAEV,EAAC,EAAE,QAAQmB,GAAE,EAAEA,GAAEnB,GAAE,OAAOmB,KAAI,CAACF,GACrfjB,GAAEmB,EAAC,EAAE,IAAIC,GAAEL,GAAEW,GAAET,GAAEE,EAAC,EAAED,IAAGS,GAAEV,GAAEZ,GAAEC,GAAEc,GAAEJ,EAAC,UAAUI,GAAErB,EAAEC,EAAC,EAAe,OAAOoB,IAApB,WAAsB,IAAIpB,GAAEoB,GAAE,KAAKpB,EAAC,EAAEmB,GAAE,EAAE,EAAEF,GAAEjB,GAAE,KAAK,GAAG,MAAQiB,MAAE,MAAMG,GAAEL,GAAEW,GAAET,GAAEE,IAAG,EAAED,IAAGS,GAAEV,GAAEZ,GAAEC,GAAEc,GAAEJ,EAAC,UAAqBC,KAAX,SAAmB,MAAAZ,GAAE,OAAOL,EAAC,EAAE,MAAM,mDAAuEK,KAApB,kBAAsB,qBAAqB,OAAO,KAAKL,EAAC,EAAE,KAAK,IAAI,EAAE,IAAIK,IAAG,2EAA2E,EAAS,OAAAa,EAAC,CACzZ,SAASU,GAAE5B,GAAEK,GAAEC,GAAE,CAAI,GAAMN,IAAN,KAAe,OAAAA,GAAM,IAAAe,GAAE,GAAGC,GAAE,EAAE,OAAAW,GAAE3B,GAAEe,GAAE,GAAG,GAAG,SAASf,GAAE,CAAC,OAAOK,GAAE,KAAKC,GAAEN,GAAEgB,IAAG,EAAE,EAASD,EAAC,CAAC,SAASc,GAAE7B,GAAE,CAAI,GAAKA,GAAE,UAAP,GAAe,CAAC,IAAIK,GAAEL,GAAE,QAAQK,GAAEA,GAAE,EAAIA,GAAA,KAAK,SAASA,GAAE,EAAQL,GAAE,UAAN,GAAoBA,GAAE,UAAP,MAAiBA,GAAA,QAAQ,EAAEA,GAAE,QAAQK,GAAC,EAAE,SAASA,GAAE,EAAQL,GAAE,UAAN,GAAoBA,GAAE,UAAP,MAAiBA,GAAA,QAAQ,EAAEA,GAAE,QAAQK,GAAA,CAAE,EAAOL,GAAE,UAAP,KAAiBA,GAAE,QAAQ,EAAEA,GAAE,QAAQK,GAAA,CAAG,GAAOL,GAAE,UAAN,EAAc,OAAOA,GAAE,QAAQ,QAAQ,MAAMA,GAAE,OAAQ,CAC5Z,IAAI8B,GAAE,CAAC,QAAQ,IAAI,EAAEC,GAAE,CAAC,WAAW,IAAI,EAAEC,GAAE,CAAC,uBAAuBF,GAAE,wBAAwBC,GAAE,kBAAkBnB,CAAC,EAAE,SAASqB,IAAG,CAAC,MAAM,MAAM,0DAA0D,CAAE,CACzM,OAAAC,GAAA,SAAiB,CAAC,IAAIN,GAAE,QAAQ,SAAS5B,GAAEK,GAAEC,GAAE,CAACsB,GAAE5B,GAAE,UAAU,CAAGK,GAAA,MAAM,KAAK,SAAS,GAAGC,EAAC,CAAC,EAAE,MAAM,SAASN,GAAE,CAAC,IAAIK,GAAE,EAAE,OAAAuB,GAAE5B,GAAE,UAAU,CAACK,IAAA,CAAI,EAASA,EAAC,EAAE,QAAQ,SAASL,GAAE,CAAQ,OAAA4B,GAAE5B,GAAE,SAASA,GAAE,CAAQA,SAAE,IAAG,CAAC,CAAC,EAAE,KAAK,SAASA,GAAE,CAAC,GAAG,CAACuB,GAAEvB,EAALine truncated
{"version":3,"mappings":"2+CAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,GASa,IAAIA,EAAE,OAAO,IAAI,eAAe,EAAEC,EAAE,OAAO,IAAI,cAAc,EAAEC,EAAE,OAAO,IAAI,gBAAgB,EAAEC,EAAE,OAAO,IAAI,mBAAmB,EAAEC,EAAE,OAAO,IAAI,gBAAgB,EAAEC,EAAE,OAAO,IAAI,gBAAgB,EAAEC,EAAE,OAAO,IAAI,eAAe,EAAEC,EAAE,OAAO,IAAI,mBAAmB,EAAEC,EAAE,OAAO,IAAI,gBAAgB,EAAEC,EAAE,OAAO,IAAI,YAAY,EAAEC,EAAE,OAAO,IAAI,YAAY,EAAEC,EAAE,OAAO,SAAS,SAASC,EAAEC,GAAE,CAAC,OAAUA,KAAP,MAAqB,OAAOA,IAAlB,SAA2B,MAAKA,GAAEF,GAAGE,GAAEF,CAAC,GAAGE,GAAE,YAAY,EAAqB,OAAOA,IAApB,WAAsBA,GAAE,KAAI,CAC1e,IAAIC,EAAE,CAAC,UAAU,UAAU,CAAO,QAAE,EAAE,mBAAmB,UAAU,CAAC,EAAE,oBAAoB,UAAU,CAAC,EAAE,gBAAgB,UAAU,CAAC,GAAGC,EAAE,OAAO,OAAOC,EAAE,CAAC,EAAE,SAASC,EAAEJ,GAAEK,GAAEC,GAAE,CAAC,KAAK,MAAMN,GAAE,KAAK,QAAQK,GAAE,KAAK,KAAKF,EAAE,KAAK,QAAQG,IAAGL,CAAC,CAACG,EAAE,UAAU,iBAAiB,CAAC,EACpQA,EAAE,UAAU,SAAS,SAASJ,GAAEK,GAAE,CAAI,GAAW,OAAOL,IAAlB,UAAkC,OAAOA,IAApB,YAA6BA,IAAN,KAAc,YAAM,uHAAuH,EAAE,KAAK,QAAQ,gBAAgB,KAAKA,GAAEK,GAAE,UAAU,CAAC,EAAED,EAAE,UAAU,YAAY,SAASJ,GAAE,CAAC,KAAK,QAAQ,mBAAmB,KAAKA,GAAE,aAAa,CAAC,EAAE,SAASO,GAAG,CAAC,CAACA,EAAE,UAAUH,EAAE,UAAU,SAASI,EAAER,GAAEK,GAAEC,GAAE,CAAC,KAAK,MAAMN,GAAE,KAAK,QAAQK,GAAE,KAAK,KAAKF,EAAE,KAAK,QAAQG,IAAGL,CAAC,CAAC,IAAIQ,GAAED,EAAE,UAAU,IAAID,EACrfE,GAAE,YAAYD,EAAEN,EAAEO,GAAEL,EAAE,SAAS,EAAEK,GAAE,qBAAqB,GAAG,IAAIC,EAAE,MAAM,QAAQC,EAAE,OAAO,UAAU,eAAeC,EAAE,CAAC,QAAQ,MAAMC,EAAE,CAAC,IAAI,GAAG,IAAI,GAAG,OAAO,GAAG,SAAS,EAAE,EACxK,SAASC,GAAEd,GAAEK,GAAEC,GAAE,CAAC,IAAIS,GAAEC,GAAE,GAAGC,GAAE,KAAKC,GAAE,KAAK,GAASb,IAAN,KAAY,IAAAU,MAAcV,GAAE,MAAX,SAAiBa,GAAEb,GAAE,KAAcA,GAAE,MAAX,SAAiBY,GAAE,GAAGZ,GAAE,KAAKA,GAAIM,EAAA,KAAKN,GAAEU,EAAC,GAAG,CAACF,EAAE,eAAeE,EAAC,IAAIC,GAAED,EAAC,EAAEV,GAAEU,EAAC,GAAO,IAAAI,GAAE,UAAU,OAAO,EAAK,GAAIA,KAAJ,EAAMH,GAAE,SAASV,WAAU,EAAEa,GAAE,CAAC,QAAQC,GAAE,MAAMD,EAAC,EAAEE,GAAE,EAAEA,GAAEF,GAAEE,KAAMD,GAAAC,EAAC,EAAE,UAAUA,GAAE,CAAC,EAAEL,GAAE,SAASI,EAAA,CAAE,GAAGpB,IAAGA,GAAE,aAAiB,IAAAe,MAAKI,GAAEnB,GAAE,aAAamB,GAAWH,GAAED,EAAC,IAAZ,SAAgBC,GAAED,EAAC,EAAEI,GAAEJ,EAAC,GAAG,MAAM,CAAC,SAAS5B,EAAE,KAAKa,GAAE,IAAIiB,GAAE,IAAIC,GAAE,MAAMF,GAAE,OAAOJ,EAAE,OAAO,CAAC,CAC7a,SAASU,GAAEtB,GAAEK,GAAE,CAAC,MAAM,CAAC,SAASlB,EAAE,KAAKa,GAAE,KAAK,IAAIK,GAAE,IAAIL,GAAE,IAAI,MAAMA,GAAE,MAAM,OAAOA,GAAE,MAAM,CAAC,CAAC,SAASuB,GAAEvB,GAAE,CAAC,OAAiB,OAAOA,IAAlB,UAA4BA,KAAP,MAAUA,GAAE,WAAWb,CAAC,CAAC,SAASqC,GAAOxB,GAAE,CAAC,IAAIK,GAAE,CAAC,IAAI,KAAK,IAAI,IAAI,EAAE,MAAM,IAAIL,GAAE,QAAQ,QAAQ,SAASA,GAAE,CAAC,OAAOK,GAAEL,EAAC,EAAE,CAAC,CAAC,IAAIyB,GAAE,OAAO,SAASC,GAAE1B,GAAEK,GAAE,CAAC,OAAiB,OAAOL,IAAlB,UAA4BA,KAAP,MAAgBA,GAAE,KAAR,KAAYwB,GAAO,GAAGxB,GAAE,GAAG,EAAEK,GAAE,SAAS,EAAE,CAAC,CAC/W,SAASsB,GAAE3B,GAAEK,GAAEC,GAAES,GAAEC,GAAE,CAAC,IAAIC,GAAE,OAAOjB,IAAmBiB,KAAd,aAA6BA,KAAZ,aAAgBjB,GAAA,MAAK,IAAIkB,GAAE,GAAM,GAAOlB,KAAP,KAAWkB,GAAA,eAAeD,GAAE,CAAC,IAAK,SAAS,IAAK,SAAWC,GAAA,GAAG,MAAM,IAAK,SAAS,OAAOlB,GAAE,SAAS,CAAC,KAAKb,EAAE,KAAKC,EAAI8B,GAAA,GAAE,CAAE,GAAGA,GAAS,OAAAA,GAAElB,GAAEgB,GAAEA,GAAEE,EAAC,EAAElB,GAAOe,KAAL,GAAO,IAAIW,GAAER,GAAE,CAAC,EAAEH,GAAEL,EAAEM,EAAC,GAAGV,GAAE,GAASN,IAAN,OAAUM,GAAEN,GAAE,QAAQyB,GAAE,KAAK,EAAE,KAAKE,GAAEX,GAAEX,GAAEC,GAAE,GAAG,SAASN,GAAE,CAAQA,SAAA,CAAE,GAASgB,IAAN,OAAUO,GAAEP,EAAC,IAAIA,GAAEM,GAAEN,GAAEV,IAAG,CAACU,GAAE,KAAKE,IAAGA,GAAE,MAAMF,GAAE,IAAI,IAAI,GAAGA,GAAE,KAAK,QAAQS,GAAE,KAAK,EAAE,KAAKzB,EAAC,GAAGK,GAAE,KAAKW,EAAC,GAAG,EAA4B,GAAxBE,GAAA,EAAIH,GAAKA,KAAL,GAAO,IAAIA,GAAE,IAAOL,EAAEV,EAAC,EAAE,QAAQmB,GAAE,EAAEA,GAAEnB,GAAE,OAAOmB,KAAI,CAACF,GACrfjB,GAAEmB,EAAC,EAAE,IAAIC,GAAEL,GAAEW,GAAET,GAAEE,EAAC,EAAED,IAAGS,GAAEV,GAAEZ,GAAEC,GAAEc,GAAEJ,EAAC,UAAUI,GAAErB,EAAEC,EAAC,EAAe,OAAOoB,IAApB,WAAsB,IAAIpB,GAAEoB,GAAE,KAAKpB,EAAC,EAAEmB,GAAE,EAAE,EAAEF,GAAEjB,GAAE,KAAK,GAAG,MAAQiB,MAAE,MAAMG,GAAEL,GAAEW,GAAET,GAAEE,IAAG,EAAED,IAAGS,GAAEV,GAAEZ,GAAEC,GAAEc,GAAEJ,EAAC,UAAqBC,KAAX,SAAmB,MAAAZ,GAAE,OAAOL,EAAC,EAAE,MAAM,mDAAuEK,KAApB,kBAAsB,qBAAqB,OAAO,KAAKL,EAAC,EAAE,KAAK,IAAI,EAAE,IAAIK,IAAG,2EAA2E,EAAS,OAAAa,EAAC,CACzZ,SAASU,GAAE5B,GAAEK,GAAEC,GAAE,CAAI,GAAMN,IAAN,KAAe,OAAAA,GAAM,IAAAe,GAAE,GAAGC,GAAE,EAAE,OAAAW,GAAE3B,GAAEe,GAAE,GAAG,GAAG,SAASf,GAAE,CAAC,OAAOK,GAAE,KAAKC,GAAEN,GAAEgB,IAAG,EAAE,EAASD,EAAC,CAAC,SAASc,GAAE7B,GAAE,CAAI,GAAKA,GAAE,UAAP,GAAe,CAAC,IAAIK,GAAEL,GAAE,QAAQK,GAAEA,GAAE,EAAIA,GAAA,KAAK,SAASA,GAAE,EAAQL,GAAE,UAAN,GAAoBA,GAAE,UAAP,MAAiBA,GAAA,QAAQ,EAAEA,GAAE,QAAQK,GAAC,EAAE,SAASA,GAAE,EAAQL,GAAE,UAAN,GAAoBA,GAAE,UAAP,MAAiBA,GAAA,QAAQ,EAAEA,GAAE,QAAQK,GAAA,CAAE,EAAOL,GAAE,UAAP,KAAiBA,GAAE,QAAQ,EAAEA,GAAE,QAAQK,GAAA,CAAG,GAAOL,GAAE,UAAN,EAAc,OAAOA,GAAE,QAAQ,QAAQ,MAAMA,GAAE,OAAQ,CAC5Z,IAAI8B,GAAE,CAAC,QAAQ,IAAI,EAAEC,GAAE,CAAC,WAAW,IAAI,EAAEC,GAAE,CAAC,uBAAuBF,GAAE,wBAAwBC,GAAE,kBAAkBnB,CAAC,EAAE,SAASqB,IAAG,CAAC,MAAM,MAAM,0DAA0D,CAAE,CACzM,OAAAC,GAAA,SAAiB,CAAC,IAAIN,GAAE,QAAQ,SAAS5B,GAAEK,GAAEC,GAAE,CAACsB,GAAE5B,GAAE,UAAU,CAAGK,GAAA,MAAM,KAAK,SAAS,GAAGC,EAAC,CAAC,EAAE,MAAM,SAASN,GAAE,CAAC,IAAIK,GAAE,EAAE,OAAAuB,GAAE5B,GAAE,UAAU,CAACK,IAAA,CAAI,EAASA,EAAC,EAAE,QAAQ,SAASL,GAAE,CAAQ,OAAA4B,GAAE5B,GAAE,SAASA,GAAE,CAAQA,SAAE,IAAG,CAAC,CAAC,EAAE,KAAK,SAASA,GAAE,CAAC,GAAG,CAACuB,GAAEvB,EAALine truncated
+1 -1
View File
@@ -37,7 +37,7 @@
}
</style>
<script type="module" crossorigin src="/maputnik/assets/index-BoSEyMw2.js"></script>
<script type="module" crossorigin src="/maputnik/assets/index-CmHbCPm6.js"></script>
<link rel="stylesheet" crossorigin href="/maputnik/assets/index-BQNUbLSK.css">
</head>
<body>