This commit is contained in:
HarelM committed 2024-03-14 19:03:54 +00:00
1 parent 9572eefd48
commit e71c49e38c
3 files changed
+15 -15

No files matched your search

@@ -33,7 +33,7 @@ object-assign
*/var T4=Br,BA=BF,Ku=AY;function Gn(e){for(var n="https://reactjs.org/docs/error-decoder.html?invariant="+e,t=1;t<arguments.length;t++)n+="&args[]="+encodeURIComponent(arguments[t]);return"Minified React error #"+e+"; visit "+n+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}if(!T4)throw Error(Gn(227));function cY(e,n,t,r,i,o,s,a,h){var g=Array.prototype.slice.call(arguments,3);try{n.apply(t,g)}catch(C){this.onError(C)}}var y_=!1,T2=null,K2=!1,KS=null,dY={onError:function(e){y_=!0,T2=e}};function hY(e,n,t,r,i,o,s,a,h){y_=!1,T2=null,cY.apply(dY,arguments)}function fY(e,n,t,r,i,o,s,a,h){if(hY.apply(this,arguments),y_){if(y_){var g=T2;y_=!1,T2=null}else throw Error(Gn(198));K2||(K2=!0,KS=g)}}var KO=null,YF=null,qF=null;function Tk(e,n,t){var r=e.type||"unknown-event";e.currentTarget=qF(t),fY(r,n,void 0,e),e.currentTarget=null}var P2=null,Ig={};function HF(){if(P2)for(var e in Ig){var n=Ig[e],t=P2.indexOf(e);if(!(-1<t))throw Error(Gn(96,e));if(!F2[t]){if(!n.extractEvents)throw Error(Gn(97,e));F2[t]=n,t=n.eventTypes;for(var r in t){var i=void 0,o=t[r],s=n,a=r;if(PS.hasOwnProperty(a))throw Error(Gn(99,a));PS[a]=o;var h=o.phasedRegistrationNames;if(h){for(i in h)h.hasOwnProperty(i)&&Kk(h[i],s,a);i=!0}else o.registrationName?(Kk(o.registrationName,s,a),i=!0):i=!1;if(!i)throw Error(Gn(98,r,e))}}}}function Kk(e,n,t){if(vy[e])throw Error(Gn(100,e));vy[e]=n,PO[e]=n.eventTypes[t].dependencies}var F2=[],PS={},vy={},PO={};function VF(e){var n=!1,t;for(t in e)if(e.hasOwnProperty(t)){var r=e[t];if(!Ig.hasOwnProperty(t)||Ig[t]!==r){if(Ig[t])throw Error(Gn(102,t));Ig[t]=r,n=!0}}n&&HF()}var Gm=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),FS=null,qg=null,Hg=null;function Pk(e){if(e=YF(e)){if(typeof FS!="function")throw Error(Gn(280));var n=e.stateNode;n&&(n=KO(n),FS(e.stateNode,e.type,n))}}function ZF(e){qg?Hg?Hg.push(e):Hg=[e]:qg=e}function XF(){if(qg){var e=qg,n=Hg;if(Hg=qg=null,Pk(e),n)for(e=0;e<n.length;e++)Pk(n[e])}}function FO(e,n){return e(n)}function JF(e,n,t,r,i){return e(n,t,r,i)}function DO(){}var eD=FO,F0=!1,Rw=!1;function LO(){(qg!==null||Hg!==null)&&(DO(),XF())}function tD(e,n,t){if(Rw)return e(n,t);Rw=!0;try{return eD(e,n,t)}finally{Rw=!1,LO()}}var pY=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,Fk=Object.prototype.hasOwnProperty,Dk={},Lk={};function mY(e){return Fk.call(Lk,e)?!0:Fk.call(Dk,e)?!1:pY.test(e)?Lk[e]=!0:(Dk[e]=!0,!1)}function gY(e,n,t,r){if(t!==null&&t.type===0)return!1;switch(typeof n){case"function":case"symbol":return!0;case"boolean":return r?!1:t!==null?!t.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function yY(e,n,t,r){if(n===null||typeof n>"u"||gY(e,n,t,r))return!0;if(r)return!1;if(t!==null)switch(t.type){case 3:return!n;case 4:return n===!1;case 5:return isNaN(n);case 6:return isNaN(n)||1>n}return!1}function kA(e,n,t,r,i,o){this.acceptsBooleans=n===2||n===3||n===4,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=t,this.propertyName=e,this.type=n,this.sanitizeURL=o}var Pu={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Pu[e]=new kA(e,0,!1,e,null,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var n=e[0];Pu[n]=new kA(n,1,!1,e[1],null,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){Pu[e]=new kA(e,2,!1,e.toLowerCase(),null,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Pu[e]=new kA(e,2,!1,e,null,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){Pu[e]=new kA(e,3,!1,e.toLowerCase(),null,!1)});["checked","multiple","muted","selected"].forEach(function(e){Pu[e]=new kA(e,3,!0,e,null,!1)});["capture","download"].forEach(function(e){Pu[e]=new kA(e,4,!1,e,null,!1)});["cols","rows","size","span"].forEach(function(e){Pu[e]=new kA(e,6,!1,e,null,!1)});["rowSpan","start"].forEach(function(e){Pu[e]=new kA(e,5,!1,e.toLowerCase(),null,!1)});var UO=/[\-:]([a-z])/g;function RO(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-faLine truncated
in `+(r||"Unknown")+o}n+=t,e=e.return}while(e);return n}function Um(e){switch(typeof e){case"boolean":case"number":case"object":case"string":case"undefined":return e;default:return""}}function sD(e){var n=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(n==="checkbox"||n==="radio")}function bY(e){var n=sD(e)?"checked":"value",t=Object.getOwnPropertyDescriptor(e.constructor.prototype,n),r=""+e[n];if(!e.hasOwnProperty(n)&&typeof t<"u"&&typeof t.get=="function"&&typeof t.set=="function"){var i=t.get,o=t.set;return Object.defineProperty(e,n,{configurable:!0,get:function(){return i.call(this)},set:function(s){r=""+s,o.call(this,s)}}),Object.defineProperty(e,n,{enumerable:t.enumerable}),{getValue:function(){return r},setValue:function(s){r=""+s},stopTracking:function(){e._valueTracker=null,delete e[n]}}}}function sx(e){e._valueTracker||(e._valueTracker=bY(e))}function lD(e){if(!e)return!1;var n=e._valueTracker;if(!n)return!0;var t=n.getValue(),r="";return e&&(r=sD(e)?e.checked?"true":"false":e.value),e=r,e!==t?(n.setValue(e),!0):!1}function LS(e,n){var t=n.checked;return BA({},n,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:t??e._wrapperState.initialChecked})}function Rk(e,n){var t=n.defaultValue==null?"":n.defaultValue,r=n.checked!=null?n.checked:n.defaultChecked;t=Um(n.value!=null?n.value:t),e._wrapperState={initialChecked:r,initialValue:t,controlled:n.type==="checkbox"||n.type==="radio"?n.checked!=null:n.value!=null}}function uD(e,n){n=n.checked,n!=null&&zO(e,"checked",n,!1)}function US(e,n){uD(e,n);var t=Um(n.value),r=n.type;if(t!=null)r==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+t):e.value!==""+t&&(e.value=""+t);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}n.hasOwnProperty("value")?RS(e,n.type,t):n.hasOwnProperty("defaultValue")&&RS(e,n.type,Um(n.defaultValue)),n.checked==null&&n.defaultChecked!=null&&(e.defaultChecked=!!n.defaultChecked)}function zk(e,n,t){if(n.hasOwnProperty("value")||n.hasOwnProperty("defaultValue")){var r=n.type;if(!(r!=="submit"&&r!=="reset"||n.value!==void 0&&n.value!==null))return;n=""+e._wrapperState.initialValue,t||n===e.value||(e.value=n),e.defaultValue=n}t=e.name,t!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,t!==""&&(e.name=t)}function RS(e,n,t){(n!=="number"||e.ownerDocument.activeElement!==e)&&(t==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+t&&(e.defaultValue=""+t))}function xY(e){var n="";return T4.Children.forEach(e,function(t){t!=null&&(n+=t)}),n}function zS(e,n){return e=BA({children:void 0},n),(n=xY(n.children))&&(e.children=n),e}function Vg(e,n,t,r){if(e=e.options,n){n={};for(var i=0;i<t.length;i++)n["$"+t[i]]=!0;for(t=0;t<e.length;t++)i=n.hasOwnProperty("$"+e[t].value),e[t].selected!==i&&(e[t].selected=i),i&&r&&(e[t].defaultSelected=!0)}else{for(t=""+Um(t),n=null,i=0;i<e.length;i++){if(e[i].value===t){e[i].selected=!0,r&&(e[i].defaultSelected=!0);return}n!==null||e[i].disabled||(n=e[i])}n!==null&&(n.selected=!0)}}function jS(e,n){if(n.dangerouslySetInnerHTML!=null)throw Error(Gn(91));return BA({},n,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function jk(e,n){var t=n.value;if(t==null){if(t=n.children,n=n.defaultValue,t!=null){if(n!=null)throw Error(Gn(92));if(Array.isArray(t)){if(!(1>=t.length))throw Error(Gn(93));t=t[0]}n=t}n==null&&(n=""),t=n}e._wrapperState={initialValue:Um(t)}}function AD(e,n){var t=Um(n.value),r=Um(n.defaultValue);t!=null&&(t=""+t,t!==e.value&&(e.value=t),n.defaultValue==null&&e.defaultValue!==t&&(e.defaultValue=t)),r!=null&&(e.defaultValue=""+r)}function Wk(e){var n=e.textContent;n===e._wrapperState.initialValue&&n!==""&&n!==null&&(e.value=n)}var cD={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg"};function dD(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function WS(e,n){return e==null||e==="http://www.w3.org/1999/xhtml"?dD(n):e==="http://www.w3.org/2000/svg"&&n==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var lx,hD=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(n,t,r,i){MSApp.execUnsafeLocalFunction(function(){return e(n,t,r,i)})}:e}(function(e,n){if(e.namespaceURI!==cD.svg||"innerHTML"in e)e.innerHTML=n;else{for(lx=lx||document.createElement("div"),lx.innerHTML="<svg>"+n.valueOf().toString()+"</svg>",n=lx.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;n.firstChild;)e.appendChild(n.firstChild)}});function Q_(e,n){if(n){var t=e.firstChild;if(t&&t===e.lastChild&&t.nodeType===3){t.nodeValue=n;return}}e.textContent=n}function ux(e,n){var t={};return t[e.toLowerCase()]=n.toLowerCase(),t["Webkit"+e]="webkit"+n,t["Moz"+e]="moz"+n,t}var Kg={animationend:ux("Animation","AnimationEnd"),animationiteration:ux("Animation","AnimationIteration"),animationstart:ux("Animation","AnimationStart") Line truncated
Add a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display.`+NO(s))}fu!==vB&&(fu=EL),a=gB(a,s),B=o;do{switch(B.tag){case 3:h=a,B.effectTag|=4096,B.expirationTime=n;var ce=wL(B,h,n);hI(B,ce);break e;case 1:h=a;var me=B.type,he=B.stateNode;if(!(B.effectTag&64)&&(typeof me.getDerivedStateFromError=="function"||he!==null&&typeof he.componentDidCatch=="function"&&(km===null||!km.has(he)))){B.effectTag|=4096,B.expirationTime=n;var V=ML(B,h,n);hI(B,V);break e}}B=B.return}while(B!==null)}ro=DL(ro)}catch(ae){n=ae;continue}break}while(!0)}function KL(){var e=V2.current;return V2.current=H2,e===null?H2:e}function PL(e,n){e<pp&&2<e&&(pp=e),n!==null&&e<J_&&2<e&&(J_=e,J2=n)}function N4(e){e>eC&&(eC=e)}function zq(){for(;ro!==null;)ro=FL(ro)}function jq(){for(;ro!==null&&!Mq();)ro=FL(ro)}function FL(e){var n=LL(e.alternate,e,nc);return e.memoizedProps=e.pendingProps,n===null&&(n=DL(e)),SL.current=null,n}function DL(e){ro=e;do{var n=ro.alternate;if(e=ro.return,ro.effectTag&2048){if(n=Tq(ro),n!==null)return n.effectTag&=2047,n;e!==null&&(e.firstEffect=e.lastEffect=null,e.effectTag|=2048)}else{if(n=Iq(n,ro,nc),nc===1||ro.childExpirationTime!==1){for(var t=0,r=ro.child;r!==null;){var i=r.expirationTime,o=r.childExpirationTime;i>t&&(t=i),o>t&&(t=o),r=r.sibling}ro.childExpirationTime=t}if(n!==null)return n;e!==null&&!(e.effectTag&2048)&&(e.firstEffect===null&&(e.firstEffect=ro.firstEffect),ro.lastEffect!==null&&(e.lastEffect!==null&&(e.lastEffect.nextEffect=ro.firstEffect),e.lastEffect=ro.lastEffect),1<ro.effectTag&&(e.lastEffect!==null?e.lastEffect.nextEffect=ro:e.firstEffect=ro,e.lastEffect=ro))}if(n=ro.sibling,n!==null)return n;ro=e}while(ro!==null);return fu===Y0&&(fu=vB),null}function y6(e){var n=e.expirationTime;return e=e.childExpirationTime,n>e?n:e}function w0(e){var n=U4();return zm(99,Wq.bind(null,e,n)),null}function Wq(e,n){do Uy();while(w_!==null);if((Wi&(Ah|gf))!==pu)throw Error(Gn(327));var t=e.finishedWork,r=e.finishedExpirationTime;if(t===null)return null;if(e.finishedWork=null,e.finishedExpirationTime=0,t===e.current)throw Error(Gn(177));e.callbackNode=null,e.callbackExpirationTime=0,e.callbackPriority=90,e.nextKnownPendingLevel=0;var i=y6(t);if(e.firstPendingTime=i,r<=e.lastSuspendedTime?e.firstSuspendedTime=e.lastSuspendedTime=e.nextKnownPendingLevel=0:r<=e.firstSuspendedTime&&(e.firstSuspendedTime=r-1),r<=e.lastPingedTime&&(e.lastPingedTime=0),r<=e.lastExpiredTime&&(e.lastExpiredTime=0),e===Lc&&(ro=Lc=null,nc=0),1<t.effectTag?t.lastEffect!==null?(t.lastEffect.nextEffect=t,i=t.firstEffect):i=t:i=t.firstEffect,i!==null){var o=Wi;Wi|=gf,SL.current=null,Ww=o2;var s=Zk();if(VS(s)){if("selectionStart"in s)var a={start:s.selectionStart,end:s.selectionEnd};else e:{a=(a=s.ownerDocument)&&a.defaultView||window;var h=a.getSelection&&a.getSelection();if(h&&h.rangeCount!==0){a=h.anchorNode;var g=h.anchorOffset,C=h.focusNode;h=h.focusOffset;try{a.nodeType,C.nodeType}catch{a=null;break e}var B=0,k=-1,P=-1,L=0,J=0,N=s,$=null;t:for(;;){for(var q;N!==a||g!==0&&N.nodeType!==3||(k=B+g),N!==C||h!==0&&N.nodeType!==3||(P=B+h),N.nodeType===3&&(B+=N.nodeValue.length),(q=N.firstChild)!==null;)$=N,N=q;for(;;){if(N===s)break t;if($===a&&++L===g&&(k=B),$===C&&++J===h&&(P=B),(q=N.nextSibling)!==null)break;N=$,$=N.parentNode}N=q}a=k===-1||P===-1?null:{start:k,end:P}}else a=null}a=a||{start:0,end:0}}else a=null;Nw={activeElementDetached:null,focusedElem:s,selectionRange:a},o2=!1,Vr=i;do try{Nq()}catch(ye){if(Vr===null)throw Error(Gn(330));H0(Vr,ye),Vr=Vr.nextEffect}while(Vr!==null);Vr=i;do try{for(s=e,a=n;Vr!==null;){var oe=Vr.effectTag;if(oe&16&&Q_(Vr.stateNode,""),oe&128){var ce=Vr.alternate;if(ce!==null){var me=ce.ref;me!==null&&(typeof me=="function"?me(null):me.current=null)}}switch(oe&1038){case 2:TI(Vr),Vr.effectTag&=-3;break;case 6:TI(Vr),Vr.effectTag&=-3,Vw(Vr.alternate,Vr);break;case 1024:Vr.effectTag&=-1025;break;case 1028:Vr.effectTag&=-1025,Vw(Vr.alternate,Vr);break;case 4:Vw(Vr.alternate,Vr);break;case 8:g=Vr,xL(s,g,a),bL(g)}Vr=Vr.nextEffect}}catch(ye){if(Vr===null)throw Error(Gn(330));H0(Vr,ye),Vr=Vr.nextEffect}while(Vr!==null);if(me=Nw,ce=Zk(),oe=me.focusedElem,a=me.selectionRange,ce!==oe&&oe&&oe.ownerDocument&&TD(oe.ownerDocument.documentElement,oe)){for(a!==null&&VS(oe)&&(ce=a.start,me=a.end,me===void 0&&(me=ce),"selectionStart"in oe?(oe.selectionStart=ce,oe.selectionEnd=Math.min(me,oe.value.length)):(me=(ce=oe.ownerDocument||document)&&ce.defaultView||window,me.getSelection&&(me=me.getSelection(),g=oe.textContent.length,s=Math.min(a.start,g),a=a.end===void 0?s:Math.min(a.end,g),!me.extend&&s>a&&(g=a,a=s,s=g),g=Vk(oe,s),C=Vk(oe,a),g&&C&&(me.rangeCount!==1||me.anchorNode!==g.node||me.anchorOffset!==g.offset||me.focusNode!==C.node||me.focusOffset!==C.offset)&&(ce=ce.createRange(),ce.setStart(g.node,g.offset),me.removeAllRanges(),s>a?(me.addRange(ce),me.extend(C.node,C.offset)):(ce.setEnd(C.node,C.offset),me.addRange(ce)))))),ce=[],me=oe;me=me.parentNode;)me.nodeType= Line truncated
Add a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display.`+NO(s))}fu!==vB&&(fu=EL),a=gB(a,s),B=o;do{switch(B.tag){case 3:h=a,B.effectTag|=4096,B.expirationTime=n;var ce=wL(B,h,n);hI(B,ce);break e;case 1:h=a;var me=B.type,he=B.stateNode;if(!(B.effectTag&64)&&(typeof me.getDerivedStateFromError=="function"||he!==null&&typeof he.componentDidCatch=="function"&&(km===null||!km.has(he)))){B.effectTag|=4096,B.expirationTime=n;var V=ML(B,h,n);hI(B,V);break e}}B=B.return}while(B!==null)}ro=DL(ro)}catch(ae){n=ae;continue}break}while(!0)}function KL(){var e=V2.current;return V2.current=H2,e===null?H2:e}function PL(e,n){e<pp&&2<e&&(pp=e),n!==null&&e<J_&&2<e&&(J_=e,J2=n)}function N4(e){e>eC&&(eC=e)}function zq(){for(;ro!==null;)ro=FL(ro)}function jq(){for(;ro!==null&&!Mq();)ro=FL(ro)}function FL(e){var n=LL(e.alternate,e,nc);return e.memoizedProps=e.pendingProps,n===null&&(n=DL(e)),SL.current=null,n}function DL(e){ro=e;do{var n=ro.alternate;if(e=ro.return,ro.effectTag&2048){if(n=Tq(ro),n!==null)return n.effectTag&=2047,n;e!==null&&(e.firstEffect=e.lastEffect=null,e.effectTag|=2048)}else{if(n=Iq(n,ro,nc),nc===1||ro.childExpirationTime!==1){for(var t=0,r=ro.child;r!==null;){var i=r.expirationTime,o=r.childExpirationTime;i>t&&(t=i),o>t&&(t=o),r=r.sibling}ro.childExpirationTime=t}if(n!==null)return n;e!==null&&!(e.effectTag&2048)&&(e.firstEffect===null&&(e.firstEffect=ro.firstEffect),ro.lastEffect!==null&&(e.lastEffect!==null&&(e.lastEffect.nextEffect=ro.firstEffect),e.lastEffect=ro.lastEffect),1<ro.effectTag&&(e.lastEffect!==null?e.lastEffect.nextEffect=ro:e.firstEffect=ro,e.lastEffect=ro))}if(n=ro.sibling,n!==null)return n;ro=e}while(ro!==null);return fu===Y0&&(fu=vB),null}function y6(e){var n=e.expirationTime;return e=e.childExpirationTime,n>e?n:e}function w0(e){var n=U4();return zm(99,Wq.bind(null,e,n)),null}function Wq(e,n){do Uy();while(w_!==null);if((Wi&(Ah|gf))!==pu)throw Error(Gn(327));var t=e.finishedWork,r=e.finishedExpirationTime;if(t===null)return null;if(e.finishedWork=null,e.finishedExpirationTime=0,t===e.current)throw Error(Gn(177));e.callbackNode=null,e.callbackExpirationTime=0,e.callbackPriority=90,e.nextKnownPendingLevel=0;var i=y6(t);if(e.firstPendingTime=i,r<=e.lastSuspendedTime?e.firstSuspendedTime=e.lastSuspendedTime=e.nextKnownPendingLevel=0:r<=e.firstSuspendedTime&&(e.firstSuspendedTime=r-1),r<=e.lastPingedTime&&(e.lastPingedTime=0),r<=e.lastExpiredTime&&(e.lastExpiredTime=0),e===Lc&&(ro=Lc=null,nc=0),1<t.effectTag?t.lastEffect!==null?(t.lastEffect.nextEffect=t,i=t.firstEffect):i=t:i=t.firstEffect,i!==null){var o=Wi;Wi|=gf,SL.current=null,Ww=o2;var s=Zk();if(VS(s)){if("selectionStart"in s)var a={start:s.selectionStart,end:s.selectionEnd};else e:{a=(a=s.ownerDocument)&&a.defaultView||window;var h=a.getSelection&&a.getSelection();if(h&&h.rangeCount!==0){a=h.anchorNode;var g=h.anchorOffset,C=h.focusNode;h=h.focusOffset;try{a.nodeType,C.nodeType}catch{a=null;break e}var B=0,k=-1,P=-1,L=0,J=0,N=s,$=null;t:for(;;){for(var q;N!==a||g!==0&&N.nodeType!==3||(k=B+g),N!==C||h!==0&&N.nodeType!==3||(P=B+h),N.nodeType===3&&(B+=N.nodeValue.length),(q=N.firstChild)!==null;)$=N,N=q;for(;;){if(N===s)break t;if($===a&&++L===g&&(k=B),$===C&&++J===h&&(P=B),(q=N.nextSibling)!==null)break;N=$,$=N.parentNode}N=q}a=k===-1||P===-1?null:{start:k,end:P}}else a=null}a=a||{start:0,end:0}}else a=null;Nw={activeElementDetached:null,focusedElem:s,selectionRange:a},o2=!1,Vr=i;do try{Nq()}catch(ye){if(Vr===null)throw Error(Gn(330));H0(Vr,ye),Vr=Vr.nextEffect}while(Vr!==null);Vr=i;do try{for(s=e,a=n;Vr!==null;){var oe=Vr.effectTag;if(oe&16&&Q_(Vr.stateNode,""),oe&128){var ce=Vr.alternate;if(ce!==null){var me=ce.ref;me!==null&&(typeof me=="function"?me(null):me.current=null)}}switch(oe&1038){case 2:TI(Vr),Vr.effectTag&=-3;break;case 6:TI(Vr),Vr.effectTag&=-3,Vw(Vr.alternate,Vr);break;case 1024:Vr.effectTag&=-1025;break;case 1028:Vr.effectTag&=-1025,Vw(Vr.alternate,Vr);break;case 4:Vw(Vr.alternate,Vr);break;case 8:g=Vr,xL(s,g,a),bL(g)}Vr=Vr.nextEffect}}catch(ye){if(Vr===null)throw Error(Gn(330));H0(Vr,ye),Vr=Vr.nextEffect}while(Vr!==null);if(me=Nw,ce=Zk(),oe=me.focusedElem,a=me.selectionRange,ce!==oe&&oe&&oe.ownerDocument&&TD(oe.ownerDocument.documentElement,oe)){for(a!==null&&VS(oe)&&(ce=a.start,me=a.end,me===void 0&&(me=ce),"selectionStart"in oe?(oe.selectionStart=ce,oe.selectionEnd=Math.min(me,oe.value.length)):(me=(ce=oe.ownerDocument||document)&&ce.defaultView||window,me.getSelection&&(me=me.getSelection(),g=oe.textContent.length,s=Math.min(a.start,g),a=a.end===void 0?s:Math.min(a.end,g),!me.extend&&s>a&&(g=a,a=s,s=g),g=Vk(oe,s),C=Vk(oe,a),g&&C&&(me.rangeCount!==1||me.anchorNode!==g.node||me.anchorOffset!==g.offset||me.focusNode!==C.node||me.focusOffset!==C.offset)&&(ce=ce.createRange(),ce.setStart(g.node,g.offset),me.removeAllRanges(),s>a?(me.addRange(ce),me.extend(C.node,C.offset)):(ce.setEnd(C.node,C.offset),me.addRange(ce)))))),ce=[],me=oe;me=me.parentNode;)me.nodeType= Line truncated
* The buffer module from node.js, for the browser.
*
* @author Feross Aboukhadijeh <https://feross.org>
@@ -45,9 +45,9 @@ Add a <Suspense fallback=...> component higher in the tree to provide a loading
* 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
*/o3.exports;(function(e,n){(function(){var t,r="4.17.21",i=200,o="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",s="Expected a function",a="Invalid `variable` option passed into `_.template`",h="__lodash_hash_undefined__",g=500,C="__lodash_placeholder__",B=1,k=2,P=4,L=1,J=2,N=1,$=2,q=4,oe=8,ce=16,me=32,he=64,V=128,ae=256,ye=512,Oe=30,De="...",He=800,ke=16,nt=1,be=2,Bt=3,kt=1/0,Yt=9007199254740991,jt=17976931348623157e292,Xe=NaN,rt=4294967295,ot=rt-1,on=rt>>>1,gt=[["ary",V],["bind",N],["bindKey",$],["curry",oe],["curryRight",ce],["flip",ye],["partial",me],["partialRight",he],["rearg",ae]],at="[object Arguments]",It="[object Array]",Lt="[object AsyncFunction]",Me="[object Boolean]",fe="[object Date]",xe="[object DOMException]",Ue="[object Error]",et="[object Function]",it="[object GeneratorFunction]",bt="[object Map]",Ut="[object Number]",Rt="[object Null]",pt="[object Object]",rr="[object Promise]",mn="[object Proxy]",vn="[object RegExp]",Xn="[object Set]",cr="[object String]",Mr="[object Symbol]",Gr="[object Undefined]",gr="[object WeakMap]",mi="[object WeakSet]",Se="[object ArrayBuffer]",X="[object DataView]",H="[object Float32Array]",Te="[object Float64Array]",At="[object Int8Array]",St="[object Int16Array]",Et="[object Int32Array]",Nt="[object Uint8Array]",pn="[object Uint8ClampedArray]",Kn="[object Uint16Array]",En="[object Uint32Array]",m=/\b__p \+= '';/g,Kt=/\b(__p \+=) '' \+/g,Dr=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Fn=/&(?:amp|lt|gt|quot|#39);/g,Fe=/[&<>"']/g,de=RegExp(Fn.source),Ce=RegExp(Fe.source),Be=/<%-([\s\S]+?)%>/g,ze=/<%([\s\S]+?)%>/g,tt=/<%=([\s\S]+?)%>/g,lt=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,ft=/^\w*$/,Ve=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,xt=/[\\^$.*+?()[\]{}|]/g,Xt=RegExp(xt.source),Vt=/^\s+/,Ht=/\s/,Qn=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Mn=/\{\n\/\* \[wrapped with (.+)\] \*/,or=/,? & /,ar=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,kr=/[()=,{}\[\]\/\s]/,jr=/\\(\\)?/g,Lr=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Wr=/\w*$/,ir=/^[-+]0x[0-9a-f]+$/i,ui=/^0b[01]+$/i,Oi=/^\[object .+?Constructor\]$/,Yi=/^0o[0-7]+$/i,_o=/^(?:0|[1-9]\d*)$/,Jr=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,xo=/($^)/,Wa=/['\n\r\u2028\u2029\\]/g,Ba="\\ud800-\\udfff",bi="\\u0300-\\u036f",os="\\ufe20-\\ufe2f",hi="\\u20d0-\\u20ff",Wn=bi+os+hi,eo="\\u2700-\\u27bf",io="a-z\\xdf-\\xf6\\xf8-\\xff",qi="\\xac\\xb1\\xd7\\xf7",ve="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",Ye="\\u2000-\\u206f",Jt=" \\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",sn="A-Z\\xc0-\\xd6\\xd8-\\xde",Ft="\\ufe0e\\ufe0f",Cn=qi+ve+Ye+Jt,ur="['’]",fi="["+Ba+"]",ei="["+Cn+"]",Zo="["+Wn+"]",Fa="\\d+",Or="["+eo+"]",gi="["+io+"]",Ks="[^"+Ba+Cn+Fa+eo+io+sn+"]",ka="\\ud83c[\\udffb-\\udfff]",pa="(?:"+Zo+"|"+ka+")",Zl="[^"+Ba+"]",as="(?:\\ud83c[\\udde6-\\uddff]){2}",ia="[\\ud800-\\udbff][\\udc00-\\udfff]",qo="["+sn+"]",vs="\\u200d",Fu="(?:"+gi+"|"+Ks+")",ma="(?:"+qo+"|"+Ks+")",lA="(?:"+ur+"(?:d|ll|m|re|s|t|ve))?",Du="(?:"+ur+"(?:D|LL|M|RE|S|T|VE))?",Lu=pa+"?",mu="["+Ft+"]?",uA="(?:"+vs+"(?:"+[Zl,as,ia].join("|")+")"+mu+Lu+")*",Wo="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Na="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",Uu=mu+Lu+uA,ss="(?:"+[Or,as,ia].join("|")+")"+Uu,ll="(?:"+[Zl+Zo+"?",Zo,as,ia,fi].join("|")+")",Do=RegExp(ur,"g"),gu=RegExp(Zo,"g"),vl=RegExp(ka+"(?="+ka+")|"+ll+Uu,"g"),_l=RegExp([qo+"?"+gi+"+"+lA+"(?="+[ei,qo,"$"].join("|")+")",ma+"+"+Du+"(?="+[ei,qo+Fu,"$"].join("|")+")",qo+"?"+Fu+"+"+lA,qo+"+"+Du,Na,Wo,Fa,ss].join("|"),"g"),Dl=RegExp("["+vs+Ba+Wn+Ft+"]"),oa=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Cl=["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"],AA=-1,go={};go[H]=go[Te]=go[At]=go[St]=go[Et]=go[Nt]=go[pn]=go[Kn]=go[En]=!0,go[at]=go[It]=go[Se]=go[Me]=go[X]=go[fe]=go[Ue]=go[et]=go[bt]=go[Ut]=go[pt]=go[vn]=go[Xn]=go[cr]=go[gr]=!1;var oo={};oo[at]=oo[It]=oo[Se]=oo[X]=oo[Me]=oo[fe]=oo[H]=oo[Te]=oo[At]=oo[St]=oo[Et]=oo[bt]=oo[Ut]=oo[pt]=oo[vn]=oo[Xn]=oo[cr]=oo[Mr]=oo[Nt]=oo[pn]=oo[Kn]=oo[En]=!0,oo[Ue]=oo[et]=oo[gr]=!1;var R={À:"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",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:Line truncated
*/o3.exports;(function(e,n){(function(){var t,r="4.17.21",i=200,o="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",s="Expected a function",a="Invalid `variable` option passed into `_.template`",h="__lodash_hash_undefined__",g=500,C="__lodash_placeholder__",B=1,k=2,P=4,L=1,J=2,N=1,$=2,q=4,oe=8,ce=16,me=32,he=64,V=128,ae=256,ye=512,Oe=30,De="...",He=800,ke=16,nt=1,be=2,Bt=3,kt=1/0,Yt=9007199254740991,jt=17976931348623157e292,Xe=NaN,rt=4294967295,ot=rt-1,on=rt>>>1,gt=[["ary",V],["bind",N],["bindKey",$],["curry",oe],["curryRight",ce],["flip",ye],["partial",me],["partialRight",he],["rearg",ae]],at="[object Arguments]",It="[object Array]",Lt="[object AsyncFunction]",Me="[object Boolean]",fe="[object Date]",xe="[object DOMException]",Ue="[object Error]",et="[object Function]",it="[object GeneratorFunction]",bt="[object Map]",Ut="[object Number]",Rt="[object Null]",pt="[object Object]",rr="[object Promise]",mn="[object Proxy]",vn="[object RegExp]",Xn="[object Set]",cr="[object String]",Mr="[object Symbol]",Gr="[object Undefined]",gr="[object WeakMap]",mi="[object WeakSet]",Se="[object ArrayBuffer]",X="[object DataView]",H="[object Float32Array]",Te="[object Float64Array]",At="[object Int8Array]",St="[object Int16Array]",Et="[object Int32Array]",Nt="[object Uint8Array]",pn="[object Uint8ClampedArray]",Kn="[object Uint16Array]",En="[object Uint32Array]",m=/\b__p \+= '';/g,Kt=/\b(__p \+=) '' \+/g,Dr=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Fn=/&(?:amp|lt|gt|quot|#39);/g,Fe=/[&<>"']/g,de=RegExp(Fn.source),Ce=RegExp(Fe.source),Be=/<%-([\s\S]+?)%>/g,ze=/<%([\s\S]+?)%>/g,tt=/<%=([\s\S]+?)%>/g,lt=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,ft=/^\w*$/,Ve=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,xt=/[\\^$.*+?()[\]{}|]/g,Xt=RegExp(xt.source),Vt=/^\s+/,Ht=/\s/,Qn=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Mn=/\{\n\/\* \[wrapped with (.+)\] \*/,or=/,? & /,ar=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,kr=/[()=,{}\[\]\/\s]/,jr=/\\(\\)?/g,Lr=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Wr=/\w*$/,ir=/^[-+]0x[0-9a-f]+$/i,ui=/^0b[01]+$/i,Oi=/^\[object .+?Constructor\]$/,Yi=/^0o[0-7]+$/i,_o=/^(?:0|[1-9]\d*)$/,Jr=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,xo=/($^)/,Wa=/['\n\r\u2028\u2029\\]/g,Ba="\\ud800-\\udfff",bi="\\u0300-\\u036f",os="\\ufe20-\\ufe2f",hi="\\u20d0-\\u20ff",Wn=bi+os+hi,eo="\\u2700-\\u27bf",io="a-z\\xdf-\\xf6\\xf8-\\xff",qi="\\xac\\xb1\\xd7\\xf7",ve="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",Ye="\\u2000-\\u206f",Jt=" \\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",sn="A-Z\\xc0-\\xd6\\xd8-\\xde",Ft="\\ufe0e\\ufe0f",Cn=qi+ve+Ye+Jt,ur="['’]",fi="["+Ba+"]",ei="["+Cn+"]",Zo="["+Wn+"]",Fa="\\d+",Or="["+eo+"]",gi="["+io+"]",Ks="[^"+Ba+Cn+Fa+eo+io+sn+"]",ka="\\ud83c[\\udffb-\\udfff]",pa="(?:"+Zo+"|"+ka+")",Zl="[^"+Ba+"]",as="(?:\\ud83c[\\udde6-\\uddff]){2}",ia="[\\ud800-\\udbff][\\udc00-\\udfff]",qo="["+sn+"]",vs="\\u200d",Fu="(?:"+gi+"|"+Ks+")",ma="(?:"+qo+"|"+Ks+")",lA="(?:"+ur+"(?:d|ll|m|re|s|t|ve))?",Du="(?:"+ur+"(?:D|LL|M|RE|S|T|VE))?",Lu=pa+"?",mu="["+Ft+"]?",uA="(?:"+vs+"(?:"+[Zl,as,ia].join("|")+")"+mu+Lu+")*",Wo="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Na="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",Uu=mu+Lu+uA,ss="(?:"+[Or,as,ia].join("|")+")"+Uu,ll="(?:"+[Zl+Zo+"?",Zo,as,ia,fi].join("|")+")",Do=RegExp(ur,"g"),gu=RegExp(Zo,"g"),vl=RegExp(ka+"(?="+ka+")|"+ll+Uu,"g"),_l=RegExp([qo+"?"+gi+"+"+lA+"(?="+[ei,qo,"$"].join("|")+")",ma+"+"+Du+"(?="+[ei,qo+Fu,"$"].join("|")+")",qo+"?"+Fu+"+"+lA,qo+"+"+Du,Na,Wo,Fa,ss].join("|"),"g"),Dl=RegExp("["+vs+Ba+Wn+Ft+"]"),oa=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Cl=["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"],AA=-1,go={};go[H]=go[Te]=go[At]=go[St]=go[Et]=go[Nt]=go[pn]=go[Kn]=go[En]=!0,go[at]=go[It]=go[Se]=go[Me]=go[X]=go[fe]=go[Ue]=go[et]=go[bt]=go[Ut]=go[pt]=go[vn]=go[Xn]=go[cr]=go[gr]=!1;var oo={};oo[at]=oo[It]=oo[Se]=oo[X]=oo[Me]=oo[fe]=oo[H]=oo[Te]=oo[At]=oo[St]=oo[Et]=oo[bt]=oo[Ut]=oo[pt]=oo[vn]=oo[Xn]=oo[cr]=oo[Mr]=oo[Nt]=oo[pn]=oo[Kn]=oo[En]=!0,oo[Ue]=oo[et]=oo[gr]=!1;var R={À:"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",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:Line truncated
/* [wrapped with `+S+`] */
`)}function f(v){return ne(v)||Z(v)||!!(If&&v&&v[If])}function x(v,S){var F=typeof v;return S=S??Yt,!!S&&(F=="number"||F!="symbol"&&_o.test(v))&&v>-1&&v%1==0&&v<S}function b(v,S,F){if(!wn(F))return!1;var ee=typeof S;return(ee=="number"?_e(F)&&x(S,F.length):ee=="string"&&S in F)?K(F[S],v):!1}function E(v,S){if(ne(v))return!1;var F=typeof v;return F=="number"||F=="symbol"||F=="boolean"||v==null||Vo(v)?!0:ft.test(v)||!lt.test(v)||S!=null&&v in yo(S)}function U(v){var S=typeof v;return S=="string"||S=="number"||S=="symbol"||S=="boolean"?v!=="__proto__":v===null}function Y(v){var S=qd(v),F=Pe[S];if(typeof F!="function"||!(S in Yr.prototype))return!1;if(v===F)return!0;var ee=bc(F);return!!ee&&v===ee[0]}function te(v){return!!wh&&wh in v}var le=Cu?Un:Lw;function ge(v){var S=v&&v.constructor,F=typeof S=="function"&&S.prototype||la;return v===F}function Qe(v){return v===v&&!wn(v)}function Je(v,S){return function(F){return F==null?!1:F[v]===S&&(S!==t||v in yo(F))}}function Mt(v){var S=Vp(v,function(ee){return F.size===g&&F.clear(),ee}),F=S.cache;return S}function yt(v,S){var F=v[1],ee=S[1],we=F|ee,je=we<(N|$|V),ut=ee==V&&F==oe||ee==V&&F==ae&&v[7].length<=S[8]||ee==(V|ae)&&S[7].length<=S[8]&&F==oe;if(!(je||ut))return v;ee&N&&(v[2]=S[2],we|=F&N?0:q);var vt=S[3];if(vt){var Pt=v[3];v[3]=Pt?Wd(Pt,vt,S[4]):vt,v[4]=Pt?Rl(v[3],C):S[4]}return vt=S[5],vt&&(Pt=v[5],v[5]=Pt?Lh(Pt,vt,S[6]):vt,v[6]=Pt?Rl(v[5],C):S[6]),vt=S[7],vt&&(v[7]=vt),ee&V&&(v[8]=v[8]==null?S[8]:ua(v[8],S[8])),v[9]==null&&(v[9]=S[9]),v[0]=S[0],v[1]=we,v}function zt(v){var S=[];if(v!=null)for(var F in yo(v))S.push(F);return S}function hn(v){return wl.call(v)}function kn(v,S,F){return S=so(S===t?v.length-1:S,0),function(){for(var ee=arguments,we=-1,je=so(ee.length-S,0),ut=Wt(je);++we<je;)ut[we]=ee[S+we];we=-1;for(var vt=Wt(S+1);++we<S;)vt[we]=ee[we];return vt[S]=F(ut),ga(v,this,vt)}}function Yn(v,S){return S.length<2?v:Lo(v,La(S,0,-1))}function xn(v,S){for(var F=v.length,ee=ua(S.length,F),we=Js(v);ee--;){var je=S[ee];v[ee]=x(je,F)?we[je]:t}return v}function Ln(v,S){if(!(S==="constructor"&&typeof v[S]=="function")&&S!="__proto__")return v[S]}var sr=Uo(Dp),Kr=Gu||function(v,S){return yr.setTimeout(v,S)},_r=Uo(I1);function Ai(v,S,F){var ee=S+"";return _r(v,A(ee,As(Ya(ee),F)))}function Uo(v){var S=0,F=0;return function(){var ee=vr(),we=ke-(ee-F);if(F=ee,we>0){if(++S>=He)return arguments[0]}else S=0;return v.apply(t,arguments)}}function qa(v,S){var F=-1,ee=v.length,we=ee-1;for(S=S===t?ee:S;++F<S;){var je=Pp(F,we),ut=v[je];v[je]=v[F],v[F]=ut}return v.length=S,v}var ba=Mt(function(v){var S=[];return v.charCodeAt(0)===46&&S.push(""),v.replace(Ve,function(F,ee,we,je){S.push(we?je.replace(jr,"$1"):ee||F)}),S});function Ua(v){if(typeof v=="string"||Vo(v))return v;var S=v+"";return S=="0"&&1/v==-kt?"-0":S}function us(v){if(v!=null){try{return Fs.call(v)}catch{}try{return v+""}catch{}}return""}function As(v,S){return Jl(gt,function(F){var ee="_."+F[0];S&F[1]&&!Nc(v,ee)&&v.push(ee)}),v.sort()}function Ol(v){if(v instanceof Yr)return v.clone();var S=new lo(v.__wrapped__,v.__chain__);return S.__actions__=Js(v.__actions__),S.__index__=v.__index__,S.__values__=v.__values__,S}function el(v,S,F){(F?b(v,S,F):S===t)?S=1:S=so(Xr(S),0);var ee=v==null?0:v.length;if(!ee||S<1)return[];for(var we=0,je=0,ut=Wt(So(ee/S));we<ee;)ut[je++]=La(v,we,we+=S);return ut}function ws(v){for(var S=-1,F=v==null?0:v.length,ee=0,we=[];++S<F;){var je=v[S];je&&(we[ee++]=je)}return we}function cs(){var v=arguments.length;if(!v)return[];for(var S=Wt(v-1),F=arguments[0],ee=v;ee--;)S[ee-1]=arguments[ee];return zu(ne(F)?Js(F):[F],Eo(S,1))}var ca=Gi(function(v,S){return Ee(v)?ea(v,Eo(S,1,Ee,!0)):[]}),Ms=Gi(function(v,S){var F=vA(S);return Ee(F)&&(F=t),Ee(v)?ea(v,Eo(S,1,Ee,!0),Zr(F,2)):[]}),Hd=Gi(function(v,S){var F=vA(S);return Ee(F)&&(F=t),Ee(v)?ea(v,Eo(S,1,Ee,!0),t,F):[]});function GA(v,S,F){var ee=v==null?0:v.length;return ee?(S=F||S===t?1:Xr(S),La(v,S<0?0:S,ee)):[]}function zs(v,S,F){var ee=v==null?0:v.length;return ee?(S=F||S===t?1:Xr(S),S=ee-S,La(v,0,S<0?0:S)):[]}function QA(v,S){return v&&v.length?nd(v,Zr(S,3),!0,!0):[]}function js(v,S){return v&&v.length?nd(v,Zr(S,3),!0):[]}function l0(v,S,F,ee){var we=v==null?0:v.length;return we?(F&&typeof F!="number"&&b(v,S,F)&&(F=0,ee=we),Ls(v,S,F,ee)):[]}function yA(v,S,F){var ee=v==null?0:v.length;if(!ee)return-1;var we=F==null?0:Xr(F);return we<0&&(we=so(ee+we,0)),wi(v,Zr(S,3),we)}function wc(v,S,F){var ee=v==null?0:v.length;if(!ee)return-1;var we=ee-1;return F!==t&&(we=Xr(F),we=F<0?so(ee+we,0):ua(we,ee-1)),wi(v,Zr(S,3),we,!0)}function Ha(v){var S=v==null?0:v.length;return S?Eo(v,1):[]}function tl(v){var S=v==null?0:v.length;return S?Eo(v,kt):[]}function Vd(v,S){var F=v==null?0:v.length;return F?(S=S===t?1:Xr(S),Eo(v,S)):[]}function $A(v){for(var S=-1,F=v==null?0:v.length,ee={};++S<F;){var we=v[S];ee[we[0]]=we[1]}return ee}function Qp(v){return v&&v.length?v[0]:t}function u0(v,S,F){var ee=v==null?0:v.length;if(!ee)return-1;var we=F==null?0:Xr(F);return we<0&&(we=s Line truncated
`)}function f(v){return ne(v)||Z(v)||!!(If&&v&&v[If])}function x(v,S){var F=typeof v;return S=S??Yt,!!S&&(F=="number"||F!="symbol"&&_o.test(v))&&v>-1&&v%1==0&&v<S}function b(v,S,F){if(!wn(F))return!1;var ee=typeof S;return(ee=="number"?_e(F)&&x(S,F.length):ee=="string"&&S in F)?K(F[S],v):!1}function E(v,S){if(ne(v))return!1;var F=typeof v;return F=="number"||F=="symbol"||F=="boolean"||v==null||Vo(v)?!0:ft.test(v)||!lt.test(v)||S!=null&&v in yo(S)}function U(v){var S=typeof v;return S=="string"||S=="number"||S=="symbol"||S=="boolean"?v!=="__proto__":v===null}function Y(v){var S=qd(v),F=Pe[S];if(typeof F!="function"||!(S in Yr.prototype))return!1;if(v===F)return!0;var ee=bc(F);return!!ee&&v===ee[0]}function te(v){return!!wh&&wh in v}var le=Cu?Un:Lw;function ge(v){var S=v&&v.constructor,F=typeof S=="function"&&S.prototype||la;return v===F}function Qe(v){return v===v&&!wn(v)}function Je(v,S){return function(F){return F==null?!1:F[v]===S&&(S!==t||v in yo(F))}}function Mt(v){var S=Vp(v,function(ee){return F.size===g&&F.clear(),ee}),F=S.cache;return S}function yt(v,S){var F=v[1],ee=S[1],we=F|ee,je=we<(N|$|V),ut=ee==V&&F==oe||ee==V&&F==ae&&v[7].length<=S[8]||ee==(V|ae)&&S[7].length<=S[8]&&F==oe;if(!(je||ut))return v;ee&N&&(v[2]=S[2],we|=F&N?0:q);var vt=S[3];if(vt){var Pt=v[3];v[3]=Pt?Wd(Pt,vt,S[4]):vt,v[4]=Pt?Rl(v[3],C):S[4]}return vt=S[5],vt&&(Pt=v[5],v[5]=Pt?Lh(Pt,vt,S[6]):vt,v[6]=Pt?Rl(v[5],C):S[6]),vt=S[7],vt&&(v[7]=vt),ee&V&&(v[8]=v[8]==null?S[8]:ua(v[8],S[8])),v[9]==null&&(v[9]=S[9]),v[0]=S[0],v[1]=we,v}function zt(v){var S=[];if(v!=null)for(var F in yo(v))S.push(F);return S}function hn(v){return wl.call(v)}function kn(v,S,F){return S=so(S===t?v.length-1:S,0),function(){for(var ee=arguments,we=-1,je=so(ee.length-S,0),ut=Wt(je);++we<je;)ut[we]=ee[S+we];we=-1;for(var vt=Wt(S+1);++we<S;)vt[we]=ee[we];return vt[S]=F(ut),ga(v,this,vt)}}function Yn(v,S){return S.length<2?v:Lo(v,La(S,0,-1))}function xn(v,S){for(var F=v.length,ee=ua(S.length,F),we=Js(v);ee--;){var je=S[ee];v[ee]=x(je,F)?we[je]:t}return v}function Ln(v,S){if(!(S==="constructor"&&typeof v[S]=="function")&&S!="__proto__")return v[S]}var sr=Uo(Dp),Kr=Gu||function(v,S){return yr.setTimeout(v,S)},_r=Uo(I1);function Ai(v,S,F){var ee=S+"";return _r(v,A(ee,As(Ya(ee),F)))}function Uo(v){var S=0,F=0;return function(){var ee=vr(),we=ke-(ee-F);if(F=ee,we>0){if(++S>=He)return arguments[0]}else S=0;return v.apply(t,arguments)}}function qa(v,S){var F=-1,ee=v.length,we=ee-1;for(S=S===t?ee:S;++F<S;){var je=Pp(F,we),ut=v[je];v[je]=v[F],v[F]=ut}return v.length=S,v}var ba=Mt(function(v){var S=[];return v.charCodeAt(0)===46&&S.push(""),v.replace(Ve,function(F,ee,we,je){S.push(we?je.replace(jr,"$1"):ee||F)}),S});function Ua(v){if(typeof v=="string"||Vo(v))return v;var S=v+"";return S=="0"&&1/v==-kt?"-0":S}function us(v){if(v!=null){try{return Fs.call(v)}catch{}try{return v+""}catch{}}return""}function As(v,S){return Jl(gt,function(F){var ee="_."+F[0];S&F[1]&&!Nc(v,ee)&&v.push(ee)}),v.sort()}function Ol(v){if(v instanceof Yr)return v.clone();var S=new lo(v.__wrapped__,v.__chain__);return S.__actions__=Js(v.__actions__),S.__index__=v.__index__,S.__values__=v.__values__,S}function el(v,S,F){(F?b(v,S,F):S===t)?S=1:S=so(Xr(S),0);var ee=v==null?0:v.length;if(!ee||S<1)return[];for(var we=0,je=0,ut=Wt(So(ee/S));we<ee;)ut[je++]=La(v,we,we+=S);return ut}function ws(v){for(var S=-1,F=v==null?0:v.length,ee=0,we=[];++S<F;){var je=v[S];je&&(we[ee++]=je)}return we}function cs(){var v=arguments.length;if(!v)return[];for(var S=Wt(v-1),F=arguments[0],ee=v;ee--;)S[ee-1]=arguments[ee];return zu(ne(F)?Js(F):[F],Eo(S,1))}var ca=Gi(function(v,S){return Ee(v)?ea(v,Eo(S,1,Ee,!0)):[]}),Ms=Gi(function(v,S){var F=vA(S);return Ee(F)&&(F=t),Ee(v)?ea(v,Eo(S,1,Ee,!0),Zr(F,2)):[]}),Hd=Gi(function(v,S){var F=vA(S);return Ee(F)&&(F=t),Ee(v)?ea(v,Eo(S,1,Ee,!0),t,F):[]});function GA(v,S,F){var ee=v==null?0:v.length;return ee?(S=F||S===t?1:Xr(S),La(v,S<0?0:S,ee)):[]}function zs(v,S,F){var ee=v==null?0:v.length;return ee?(S=F||S===t?1:Xr(S),S=ee-S,La(v,0,S<0?0:S)):[]}function QA(v,S){return v&&v.length?nd(v,Zr(S,3),!0,!0):[]}function js(v,S){return v&&v.length?nd(v,Zr(S,3),!0):[]}function l0(v,S,F,ee){var we=v==null?0:v.length;return we?(F&&typeof F!="number"&&b(v,S,F)&&(F=0,ee=we),Ls(v,S,F,ee)):[]}function yA(v,S,F){var ee=v==null?0:v.length;if(!ee)return-1;var we=F==null?0:Xr(F);return we<0&&(we=so(ee+we,0)),wi(v,Zr(S,3),we)}function wc(v,S,F){var ee=v==null?0:v.length;if(!ee)return-1;var we=ee-1;return F!==t&&(we=Xr(F),we=F<0?so(ee+we,0):ua(we,ee-1)),wi(v,Zr(S,3),we,!0)}function Ha(v){var S=v==null?0:v.length;return S?Eo(v,1):[]}function tl(v){var S=v==null?0:v.length;return S?Eo(v,kt):[]}function Vd(v,S){var F=v==null?0:v.length;return F?(S=S===t?1:Xr(S),Eo(v,S)):[]}function $A(v){for(var S=-1,F=v==null?0:v.length,ee={};++S<F;){var we=v[S];ee[we[0]]=we[1]}return ee}function Qp(v){return v&&v.length?v[0]:t}function u0(v,S,F){var ee=v==null?0:v.length;if(!ee)return-1;var we=F==null?0:Xr(F);return we<0&&(we=s Line truncated
`;v.replace(fr,function(vi,bo,Po,Sc,xA,Ec){return Po||(Po=Sc),In+=v.slice(yn,Ec).replace(Wa,Wu),bo&&(vt=!0,In+=`' +
__e(`+bo+`) +
'`),xA&&(Pt=!0,In+=`';
@@ -64,11 +64,11 @@ __p += '`),Po&&(In+=`' +
function print() { __p += __j.call(arguments, '') }
`:`;
`)+In+`return __p
}`;var uo=Sk(function(){return ao(je,qr+"return "+In).apply(t,ut)});if(uo.source=In,rn(uo))throw uo;return uo}function GQ(v){return ci(v).toLowerCase()}function QQ(v){return ci(v).toUpperCase()}function $Q(v,S,F){if(v=ci(v),v&&(F||S===t))return Qc(v);if(!v||!(S=Su(S)))return v;var ee=xl(v),we=xl(S),je=Ul(ee,we),ut=KA(ee,we)+1;return Cc(ee,je,ut).join("")}function YQ(v,S,F){if(v=ci(v),v&&(F||S===t))return v.slice(0,bh(v)+1);if(!v||!(S=Su(S)))return v;var ee=xl(v),we=KA(ee,xl(S))+1;return Cc(ee,0,we).join("")}function qQ(v,S,F){if(v=ci(v),v&&(F||S===t))return v.replace(Vt,"");if(!v||!(S=Su(S)))return v;var ee=xl(v),we=Ul(ee,xl(S));return Cc(ee,we).join("")}function HQ(v,S){var F=Oe,ee=De;if(wn(S)){var we="separator"in S?S.separator:we;F="length"in S?Xr(S.length):F,ee="omission"in S?Su(S.omission):ee}v=ci(v);var je=v.length;if(PA(v)){var ut=xl(v);je=ut.length}if(F>=je)return v;var vt=F-FA(ee);if(vt<1)return ee;var Pt=ut?Cc(ut,0,vt).join(""):v.slice(0,vt);if(we===t)return Pt+ee;if(ut&&(vt+=Pt.length-vt),ou(we)){if(v.slice(vt).search(we)){var yn,_n=Pt;for(we.global||(we=_s(we.source,ci(Wr.exec(we))+"g")),we.lastIndex=0;yn=we.exec(_n);)var In=yn.index;Pt=Pt.slice(0,In===t?vt:In)}}else if(v.indexOf(Su(we),vt)!=vt){var fr=Pt.lastIndexOf(we);fr>-1&&(Pt=Pt.slice(0,fr))}return Pt+ee}function VQ(v){return v=ci(v),v&&de.test(v)?v.replace(Fn,dA):v}var ZQ=Rh(function(v,S,F){return v+(F?" ":"")+S.toUpperCase()}),Iw=Uh("toUpperCase");function Mk(v,S,F){return v=ci(v),S=F?t:S,S===t?kf(v)?Id(v):kp(v):v.match(S)||[]}var Sk=Gi(function(v,S){try{return ga(v,t,S)}catch(F){return rn(F)?F:new ai(F)}}),XQ=NA(function(v,S){return Jl(S,function(F){F=Ua(F),Tn(v,F,J1(v[F],v))}),v});function JQ(v){var S=v==null?0:v.length,F=Zr();return v=S?Xo(v,function(ee){if(typeof ee[1]!="function")throw new Cs(s);return[F(ee[0]),ee[1]]}):[],Gi(function(ee){for(var we=-1;++we<S;){var je=v[we];if(ga(je[0],this,ee))return ga(je[1],this,ee)}})}function e$(v){return ki(Ni(v,B))}function Tw(v){return function(){return v}}function t$(v,S){return v==null||v!==v?S:v}var n$=Up(),r$=Up(!0);function VA(v){return v}function Kw(v){return Jc(typeof v=="function"?v:Ni(v,B))}function i$(v){return Ih(Ni(v,B))}function o$(v,S){return Th(v,Ni(S,B))}var a$=Gi(function(v,S){return function(F){return jA(F,v,S)}}),s$=Gi(function(v,S){return function(F){return jA(v,F,S)}});function Pw(v,S,F){var ee=Tl(S),we=Ka(S,ee);F==null&&!(wn(S)&&(we.length||!ee.length))&&(F=S,S=v,v=this,we=Ka(S,Tl(S)));var je=!(wn(F)&&"chain"in F)||!!F.chain,ut=Un(v);return Jl(we,function(vt){var Pt=S[vt];v[vt]=Pt,ut&&(v.prototype[vt]=function(){var yn=this.__chain__;if(je||yn){var _n=v(this.__wrapped__),In=_n.__actions__=Js(this.__actions__);return In.push({func:Pt,args:arguments,thisArg:v}),_n.__chain__=yn,_n}return Pt.apply(v,zu([this.value()],arguments))})}),v}function l$(){return yr._===this&&(yr._=Da),this}function Fw(){}function u$(v){return v=Xr(v),Gi(function(S){return Rd(S,v)})}var A$=zp(Xo),c$=zp(Wc),d$=zp(lc);function Ek(v){return E(v)?ya(Ua(v)):Zm(v)}function h$(v){return function(S){return v==null?t:Lo(v,S)}}var f$=$d(),p$=$d(!0);function Dw(){return[]}function Lw(){return!1}function m$(){return{}}function g$(){return""}function y$(){return!0}function v$(v,S){if(v=Xr(v),v<1||v>Yt)return[];var F=rt,ee=ua(v,rt);S=Zr(S),v-=rt;for(var we=Mo(ee,S);++F<v;)S(F);return we}function _$(v){return ne(v)?Xo(v,Ua):Vo(v)?[v]:Js(ba(ci(v)))}function C$(v){var S=++xh;return ci(v)+S}var b$=Qd(function(v,S){return v+S},0),x$=o0("ceil"),w$=Qd(function(v,S){return v/S},1),M$=o0("floor");function S$(v){return v&&v.length?Ho(v,VA,Ko):t}function E$(v,S){return v&&v.length?Ho(v,Zr(S,2),Ko):t}function O$(v){return ju(v,VA)}function B$(v,S){return ju(v,Zr(S,2))}function k$(v){return v&&v.length?Ho(v,VA,Hu):t}function I$(v,S){return v&&v.length?Ho(v,Zr(S,2),Hu):t}var T$=Qd(function(v,S){return v*S},1),K$=o0("round"),P$=Qd(function(v,S){return v-S},0);function F$(v){return v&&v.length?To(v,VA):0}function D$(v,S){return v&&v.length?To(v,Zr(S,2)):0}return Pe.after=Hh,Pe.ary=X1,Pe.assign=YA,Pe.assignIn=qA,Pe.assignInWith=Ju,Pe.assignWith=Xd,Pe.at=HA,Pe.before=vv,Pe.bind=J1,Pe.bindAll=XQ,Pe.bindKey=eg,Pe.castArray=c,Pe.chain=pv,Pe.chunk=el,Pe.compact=ws,Pe.concat=cs,Pe.cond=JQ,Pe.conforms=e$,Pe.constant=Tw,Pe.countBy=Nb,Pe.create=CA,Pe.curry=Jb,Pe.curryRight=_v,Pe.debounce=Cv,Pe.defaults=Bu,Pe.defaultsDeep=Jd,Pe.defer=bw,Pe.delay=ex,Pe.difference=ca,Pe.differenceBy=Ms,Pe.differenceWith=Hd,Pe.drop=GA,Pe.dropRight=zs,Pe.dropRightWhile=QA,Pe.dropWhile=js,Pe.fill=l0,Pe.filter=Qb,Pe.flatMap=Yb,Pe.flatMapDeep=qh,Pe.flatMapDepth=qb,Pe.flatten=Ha,Pe.flattenDeep=tl,Pe.flattenDepth=Vd,Pe.flip=bv,Pe.flow=n$,Pe.flowRight=r$,Pe.fromPairs=$A,Pe.functions=rx,Pe.functionsIn=ww,Pe.groupBy=Hb,Pe.initial=$p,Pe.intersection=j1,Pe.intersectionBy=W1,Pe.intersectionWith=rw,Pe.invert=Sw,Pe.invertBy=Ew,Pe.invokeMap=gw,Pe.iteratee=Kw,Pe.keyBy=Vb,Pe.keys=Tl,Pe.keysIn=Va,Pe.map=Zd,Pe.mapKeys=ig,Pe.mapValues=ix,Pe.matches=i$,Pe.matchesProperty=o$,Pe. Line truncated
}`;var uo=Sk(function(){return ao(je,qr+"return "+In).apply(t,ut)});if(uo.source=In,nn(uo))throw uo;return uo}function GQ(v){return ci(v).toLowerCase()}function QQ(v){return ci(v).toUpperCase()}function $Q(v,S,F){if(v=ci(v),v&&(F||S===t))return Qc(v);if(!v||!(S=Su(S)))return v;var ee=xl(v),we=xl(S),je=Ul(ee,we),ut=KA(ee,we)+1;return Cc(ee,je,ut).join("")}function YQ(v,S,F){if(v=ci(v),v&&(F||S===t))return v.slice(0,bh(v)+1);if(!v||!(S=Su(S)))return v;var ee=xl(v),we=KA(ee,xl(S))+1;return Cc(ee,0,we).join("")}function qQ(v,S,F){if(v=ci(v),v&&(F||S===t))return v.replace(Vt,"");if(!v||!(S=Su(S)))return v;var ee=xl(v),we=Ul(ee,xl(S));return Cc(ee,we).join("")}function HQ(v,S){var F=Oe,ee=De;if(wn(S)){var we="separator"in S?S.separator:we;F="length"in S?Xr(S.length):F,ee="omission"in S?Su(S.omission):ee}v=ci(v);var je=v.length;if(PA(v)){var ut=xl(v);je=ut.length}if(F>=je)return v;var vt=F-FA(ee);if(vt<1)return ee;var Pt=ut?Cc(ut,0,vt).join(""):v.slice(0,vt);if(we===t)return Pt+ee;if(ut&&(vt+=Pt.length-vt),ou(we)){if(v.slice(vt).search(we)){var yn,_n=Pt;for(we.global||(we=_s(we.source,ci(Wr.exec(we))+"g")),we.lastIndex=0;yn=we.exec(_n);)var In=yn.index;Pt=Pt.slice(0,In===t?vt:In)}}else if(v.indexOf(Su(we),vt)!=vt){var fr=Pt.lastIndexOf(we);fr>-1&&(Pt=Pt.slice(0,fr))}return Pt+ee}function VQ(v){return v=ci(v),v&&de.test(v)?v.replace(Fn,dA):v}var ZQ=Rh(function(v,S,F){return v+(F?" ":"")+S.toUpperCase()}),Iw=Uh("toUpperCase");function Mk(v,S,F){return v=ci(v),S=F?t:S,S===t?kf(v)?Id(v):kp(v):v.match(S)||[]}var Sk=Gi(function(v,S){try{return ga(v,t,S)}catch(F){return nn(F)?F:new ai(F)}}),XQ=NA(function(v,S){return Jl(S,function(F){F=Ua(F),Tn(v,F,J1(v[F],v))}),v});function JQ(v){var S=v==null?0:v.length,F=Zr();return v=S?Xo(v,function(ee){if(typeof ee[1]!="function")throw new Cs(s);return[F(ee[0]),ee[1]]}):[],Gi(function(ee){for(var we=-1;++we<S;){var je=v[we];if(ga(je[0],this,ee))return ga(je[1],this,ee)}})}function e$(v){return ki(Ni(v,B))}function Tw(v){return function(){return v}}function t$(v,S){return v==null||v!==v?S:v}var n$=Up(),r$=Up(!0);function VA(v){return v}function Kw(v){return Jc(typeof v=="function"?v:Ni(v,B))}function i$(v){return Ih(Ni(v,B))}function o$(v,S){return Th(v,Ni(S,B))}var a$=Gi(function(v,S){return function(F){return jA(F,v,S)}}),s$=Gi(function(v,S){return function(F){return jA(v,F,S)}});function Pw(v,S,F){var ee=Tl(S),we=Ka(S,ee);F==null&&!(wn(S)&&(we.length||!ee.length))&&(F=S,S=v,v=this,we=Ka(S,Tl(S)));var je=!(wn(F)&&"chain"in F)||!!F.chain,ut=Un(v);return Jl(we,function(vt){var Pt=S[vt];v[vt]=Pt,ut&&(v.prototype[vt]=function(){var yn=this.__chain__;if(je||yn){var _n=v(this.__wrapped__),In=_n.__actions__=Js(this.__actions__);return In.push({func:Pt,args:arguments,thisArg:v}),_n.__chain__=yn,_n}return Pt.apply(v,zu([this.value()],arguments))})}),v}function l$(){return yr._===this&&(yr._=Da),this}function Fw(){}function u$(v){return v=Xr(v),Gi(function(S){return Rd(S,v)})}var A$=zp(Xo),c$=zp(Wc),d$=zp(lc);function Ek(v){return E(v)?ya(Ua(v)):Zm(v)}function h$(v){return function(S){return v==null?t:Lo(v,S)}}var f$=$d(),p$=$d(!0);function Dw(){return[]}function Lw(){return!1}function m$(){return{}}function g$(){return""}function y$(){return!0}function v$(v,S){if(v=Xr(v),v<1||v>Yt)return[];var F=rt,ee=ua(v,rt);S=Zr(S),v-=rt;for(var we=Mo(ee,S);++F<v;)S(F);return we}function _$(v){return ne(v)?Xo(v,Ua):Vo(v)?[v]:Js(ba(ci(v)))}function C$(v){var S=++xh;return ci(v)+S}var b$=Qd(function(v,S){return v+S},0),x$=o0("ceil"),w$=Qd(function(v,S){return v/S},1),M$=o0("floor");function S$(v){return v&&v.length?Ho(v,VA,Ko):t}function E$(v,S){return v&&v.length?Ho(v,Zr(S,2),Ko):t}function O$(v){return ju(v,VA)}function B$(v,S){return ju(v,Zr(S,2))}function k$(v){return v&&v.length?Ho(v,VA,Hu):t}function I$(v,S){return v&&v.length?Ho(v,Zr(S,2),Hu):t}var T$=Qd(function(v,S){return v*S},1),K$=o0("round"),P$=Qd(function(v,S){return v-S},0);function F$(v){return v&&v.length?To(v,VA):0}function D$(v,S){return v&&v.length?To(v,Zr(S,2)):0}return Pe.after=Hh,Pe.ary=X1,Pe.assign=YA,Pe.assignIn=qA,Pe.assignInWith=Ju,Pe.assignWith=Xd,Pe.at=HA,Pe.before=vv,Pe.bind=J1,Pe.bindAll=XQ,Pe.bindKey=eg,Pe.castArray=c,Pe.chain=pv,Pe.chunk=el,Pe.compact=ws,Pe.concat=cs,Pe.cond=JQ,Pe.conforms=e$,Pe.constant=Tw,Pe.countBy=Nb,Pe.create=CA,Pe.curry=Jb,Pe.curryRight=_v,Pe.debounce=Cv,Pe.defaults=Bu,Pe.defaultsDeep=Jd,Pe.defer=bw,Pe.delay=ex,Pe.difference=ca,Pe.differenceBy=Ms,Pe.differenceWith=Hd,Pe.drop=GA,Pe.dropRight=zs,Pe.dropRightWhile=QA,Pe.dropWhile=js,Pe.fill=l0,Pe.filter=Qb,Pe.flatMap=Yb,Pe.flatMapDeep=qh,Pe.flatMapDepth=qb,Pe.flatten=Ha,Pe.flattenDeep=tl,Pe.flattenDepth=Vd,Pe.flip=bv,Pe.flow=n$,Pe.flowRight=r$,Pe.fromPairs=$A,Pe.functions=rx,Pe.functionsIn=ww,Pe.groupBy=Hb,Pe.initial=$p,Pe.intersection=j1,Pe.intersectionBy=W1,Pe.intersectionWith=rw,Pe.invert=Sw,Pe.invertBy=Ew,Pe.invokeMap=gw,Pe.iteratee=Kw,Pe.keyBy=Vb,Pe.keys=Tl,Pe.keysIn=Va,Pe.map=Zd,Pe.mapKeys=ig,Pe.mapValues=ix,Pe.matches=i$,Pe.matchesProperty=o$,Pe. Line truncated
Use an identity property function instead: \`{ "type": "identity", "property": ${JSON.stringify(B[1])} }\`.`)];const k=[];return e.layerType==="symbol"&&(a==="text-field"&&i&&!i.glyphs&&k.push(new Zn(t,s,'use of "text-field" requires a style "glyphs" property')),a==="text-font"&&jC(l1(s))&&al(s.type)==="identity"&&k.push(new Zn(t,s,'"text-font" does not support identity functions'))),k.concat(r({key:e.key,value:s,valueSpec:C,style:i,styleSpec:o,expressionContext:"property",propertyType:n,propertyKey:a}))}function ZU(e){return VU(e,"paint")}function XU(e){return VU(e,"layout")}function JU(e){let n=[];const t=e.value,r=e.key,i=e.style,o=e.styleSpec;!t.type&&!t.ref&&n.push(new Zn(r,t,'either "type" or "ref" is required'));let s=al(t.type);const a=al(t.ref);if(t.id){const h=al(t.id);for(let g=0;g<e.arrayIndex;g++){const C=i.layers[g];al(C.id)===h&&n.push(new Zn(r,t.id,`duplicate layer id "${t.id}", previously used at line ${C.id.__line__}`))}}if("ref"in t){["type","source","source-layer","filter","layout"].forEach(g=>{g in t&&n.push(new Zn(r,t[g],`"${g}" is prohibited for ref layers`))});let h;i.layers.forEach(g=>{al(g.id)===a&&(h=g)}),h?h.ref?n.push(new Zn(r,t.ref,"ref cannot reference another ref layer")):s=al(h.type):n.push(new Zn(r,t.ref,`ref layer "${a}" not found`))}else if(s!=="background")if(!t.source)n.push(new Zn(r,t,'missing required property "source"'));else{const h=i.sources&&i.sources[t.source],g=h&&al(h.type);h?g==="vector"&&s==="raster"?n.push(new Zn(r,t.source,`layer "${t.id}" requires a raster source`)):g!=="raster-dem"&&s==="hillshade"?n.push(new Zn(r,t.source,`layer "${t.id}" requires a raster-dem source`)):g==="raster"&&s!=="raster"?n.push(new Zn(r,t.source,`layer "${t.id}" requires a vector source`)):g==="vector"&&!t["source-layer"]?n.push(new Zn(r,t,`layer "${t.id}" must specify a "source-layer"`)):g==="raster-dem"&&s!=="hillshade"?n.push(new Zn(r,t.source,"raster-dem source can only be used with layer type 'hillshade'.")):s==="line"&&t.paint&&t.paint["line-gradient"]&&(g!=="geojson"||!h.lineMetrics)&&n.push(new Zn(r,t,`layer "${t.id}" specifies a line-gradient, which requires a GeoJSON source with \`lineMetrics\` enabled.`)):n.push(new Zn(r,t.source,`source "${t.source}" not found`))}return n=n.concat(gd({key:r,value:t,valueSpec:o.layer,style:e.style,styleSpec:e.styleSpec,validateSpec:e.validateSpec,objectElementValidators:{"*"(){return[]},type(){return e.validateSpec({key:`${r}.type`,value:t.type,valueSpec:o.layer.type,style:e.style,styleSpec:e.styleSpec,validateSpec:e.validateSpec,object:t,objectKey:"type"})},filter:QB,layout(h){return gd({layer:t,key:h.key,value:h.value,style:h.style,styleSpec:h.styleSpec,validateSpec:h.validateSpec,objectElementValidators:{"*"(g){return XU(My({layerType:s},g))}}})},paint(h){return gd({layer:t,key:h.key,value:h.value,style:h.style,styleSpec:h.styleSpec,validateSpec:h.validateSpec,objectElementValidators:{"*"(g){return ZU(My({layerType:s},g))}}})}}})),n}function u1(e){const n=e.value,t=e.key,r=jo(n);return r!=="string"?[new Zn(t,n,`string expected, ${r} found`)]:[]}function YX(e){var n;const t=(n=e.sourceName)!==null&&n!==void 0?n:"",r=e.value,i=e.styleSpec,o=i.source_raster_dem,s=e.style;let a=[];const h=jo(r);if(r===void 0)return a;if(h!=="object")return a.push(new Zn("source_raster_dem",r,`object expected, ${h} found`)),a;const C=al(r.encoding)==="custom",B=["redFactor","greenFactor","blueFactor","baseShift"],k=e.value.encoding?`"${e.value.encoding}"`:"Default";for(const P in r)!C&&B.includes(P)?a.push(new Zn(P,r[P],`In "${t}": "${P}" is only valid when "encoding" is set to "custom". ${k} encoding found`)):o[P]?a=a.concat(e.validateSpec({key:P,value:r[P],valueSpec:o[P],validateSpec:e.validateSpec,style:s,styleSpec:i})):a.push(new Zn(P,r[P],`unknown property "${P}"`));return a}const a9={promoteId:qX};function eR(e){const n=e.value,t=e.key,r=e.styleSpec,i=e.style,o=e.validateSpec;if(!n.type)return[new Zn(t,n,'"type" is required')];const s=al(n.type);let a;switch(s){case"vector":case"raster":return a=gd({key:t,value:n,valueSpec:r[`source_${s.replace("-","_")}`],style:e.style,styleSpec:r,objectElementValidators:a9,validateSpec:o}),a;case"raster-dem":return a=YX({sourceName:t,value:n,style:e.style,styleSpec:r,validateSpec:o}),a;case"geojson":if(a=gd({key:t,value:n,valueSpec:r.source_geojson,style:i,styleSpec:r,validateSpec:o,objectElementValidators:a9}),n.cluster)for(const h in n.clusterProperties){const[g,C]=n.clusterProperties[h],B=typeof g=="string"?[g,["accumulated"],["get",h]]:g;a.push(...Sy({key:`${t}.${h}.map`,value:C,validateSpec:o,expressionContext:"cluster-map"})),a.push(...Sy({key:`${t}.${h}.reduce`,value:B,validateSpec:o,expressionContext:"cluster-reduce"}))}return a;case"video":return gd({key:t,value:n,valueSpec:r.source_video,style:i,validateSpec:o,styleSpec:r});case"image":return gd({key:t,value:n,valueSpec:r.source_image,style:i,validateSpec:o,styleSpec:r});case"canvas":return[new Zn(t,null,"Please use runtime APIs to add canvas sources,Line truncated
${B}`),J].join(`
${a}`)}return g}(e,"",0)}function l9(e,n){const t={};for(const r in n)e[r]!==void 0&&(t[r]=e[r]);for(const r in e)t[r]===void 0&&(t[r]=e[r]);return t}function sR(e,n=2){return e=l9(e,Ea.$root),e.layers&&(e.layers=e.layers.map(t=>l9(t,Ea.layer))),eJ(e,{indent:n})}function uM(e,n){for(const t in e)t.indexOf("layout")===0&&n(e[t],t)}function u9(e,n){for(const t in e)t.indexOf("paint")===0&&n(e[t],t)}function P6(e,n){return typeof n=="string"&&n[0]==="@"?P6(e,e.constants[n]):n}function tJ(e){return Array.isArray(e.stops)}function Rv(e,n,t){e[t]=e[n],delete e[n]}function nJ(e){e.version=8,GX(e,i=>{i.type==="video"&&i.url!==void 0&&Rv(i,"url","urls"),i.type==="video"&&i.coordinates.forEach(o=>o.reverse())}),O_(e,i=>{uM(i,o=>{o["symbol-min-distance"]!==void 0&&Rv(o,"symbol-min-distance","symbol-spacing")}),u9(i,o=>{o["background-image"]!==void 0&&Rv(o,"background-image","background-pattern"),o["line-image"]!==void 0&&Rv(o,"line-image","line-pattern"),o["fill-image"]!==void 0&&Rv(o,"fill-image","fill-pattern")})}),WB(e,{paint:!0,layout:!0},i=>{const o=P6(e,i.value);tJ(o)&&o.stops.forEach(s=>{s[1]=P6(e,s[1])}),i.set(o)}),delete e.constants,O_(e,i=>{uM(i,o=>{delete o["text-max-size"],delete o["icon-max-size"]}),u9(i,o=>{o["text-size"]&&(i.layout||(i.layout={}),i.layout["text-size"]=o["text-size"],delete o["text-size"]),o["icon-size"]&&(i.layout||(i.layout={}),i.layout["icon-size"]=o["icon-size"],delete o["icon-size"])})});function n(i){function o(s){return s.split(",").map(a=>a.trim())}if(Array.isArray(i))return i;if(typeof i=="string")return o(i);if(typeof i=="object")return i.stops.forEach(s=>{s[1]=o(s[1])}),i;throw new Error("unexpected font value")}O_(e,i=>{uM(i,o=>{o["text-font"]&&(o["text-font"]=n(o["text-font"]))})});let t=0;for(let i=e.layers.length-1;i>=0;i--)if(e.layers[i].type!=="symbol"){t=i+1;break}const r=e.layers.splice(t);return r.reverse(),e.layers=e.layers.concat(r),e}function rJ(e){const n=[];return O_(e,t=>{t.filter&&(t.filter=E_(t.filter))}),WB(e,{paint:!0,layout:!0},({path:t,value:r,reference:i,set:o})=>{NC(r)||(typeof r=="object"&&!Array.isArray(r)?(o(QU(r,i)),n.push(t.join("."))):i.tokens&&typeof r=="string"&&o($U(r)))}),e}function iJ(e){return JSON.parse(oJ(JSON.stringify(e)))}function oJ(e){return e.replace(/"hsla?\((.+?)\)"/gi,(n,t)=>{const r=t.match(/^(.+?)\s*,\s*(.+?)\s*,\s*(.+?)(?:\s*,\s*(.+))?$/i);if(r){let[i,o,s,a]=r.slice(1);return[o,s]=[o,s].map(h=>h.endsWith("%")?h:`${parseFloat(h)*100}%`),`"hsl${typeof a=="string"?"a":""}(${[i,o,s,a].filter(Boolean).join(",")})"`}return n})}function aJ(e){let n=!1;if(e.version===7&&(e=nJ(e),n=!0),e.version===8&&(n=!!rJ(e),n=!0),WB(e,{paint:!0,layout:!0},({value:t,reference:r,set:i})=>{r.type==="color"&&i(iJ(t))}),!n)throw new Error(`Cannot migrate from ${e.version}`);return e}const sJ={StyleExpression:WU,StylePropertyFunction:NU,ZoomConstantExpression:I6,ZoomDependentExpression:T6,createExpression:LB,createPropertyExpression:UB,isExpression:NC,isExpressionFilter:i5,isZoomExpression:KX,normalizePropertyExpression:PX},lJ={convertFunction:QU,createFunction:DB,isFunction:jC};var lR={exports:{}};(function(e,n){(function(t,r){e.exports=r()})(ch,function(){var t={},r={};function i(s,a,h){if(r[s]=h,s==="index"){var g="var sharedModule = {}; ("+r.shared+")(sharedModule); ("+r.worker+")(sharedModule);",C={};return r.shared(C),r.index(t,C),typeof window<"u"&&t.setWorkerUrl(window.URL.createObjectURL(new Blob([g],{type:"text/javascript"}))),t}}i("shared",["exports"],function(s){function a(c,l,d,y){return new(d||(d=Promise))(function(w,T){function K(Z){try{j(y.next(Z))}catch(ne){T(ne)}}function D(Z){try{j(y.throw(Z))}catch(ne){T(ne)}}function j(Z){var ne;Z.done?w(Z.value):(ne=Z.value,ne instanceof d?ne:new d(function(Ae){Ae(ne)})).then(K,D)}j((y=y.apply(c,l||[])).next())})}function h(c){return c&&c.__esModule&&Object.prototype.hasOwnProperty.call(c,"default")?c.default:c}typeof SuppressedError=="function"&&SuppressedError;var g=C;function C(c,l){this.x=c,this.y=l}C.prototype={clone:function(){return new C(this.x,this.y)},add:function(c){return this.clone()._add(c)},sub:function(c){return this.clone()._sub(c)},multByPoint:function(c){return this.clone()._multByPoint(c)},divByPoint:function(c){return this.clone()._divByPoint(c)},mult:function(c){return this.clone()._mult(c)},div:function(c){return this.clone()._div(c)},rotate:function(c){return this.clone()._rotate(c)},rotateAround:function(c,l){return this.clone()._rotateAround(c,l)},matMult:function(c){return this.clone()._matMult(c)},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(c){return this.x===c.x&&this.y===c.y},dist:function(c){return Math.sqrt(this.distSqr(c))},distSqr:function(c){var l=c.x-this.x,d=c.y-this.y;return l*l+d*d},angle:function(){return Math.atan2(this.y,this.x)},angleTo:function(c){return Math.atan2(this.y-c.y,this.x-c.x)}, Line truncated
Use an identity property function instead: \`{ "type": "identity", "property": ${JSON.stringify(Ae[1])} }\`.`)];const _e=[];return c.layerType==="symbol"&&(D==="text-field"&&w&&!w.glyphs&&_e.push(new H(d,K,'use of "text-field" requires a style "glyphs" property')),D==="text-font"&&No(cA(K))&&aa(K.type)==="identity"&&_e.push(new H(d,K,'"text-font" does not support identity functions'))),_e.concat(y({key:c.key,value:K,valueSpec:ne,style:w,styleSpec:T,expressionContext:"property",propertyType:l,propertyKey:D}))}function _u(c){return Td(c,"paint")}function wt(c){return Td(c,"layout")}function ln(c){let l=[];const d=c.value,y=c.key,w=c.style,T=c.styleSpec;d.type||d.ref||l.push(new H(y,d,'either "type" or "ref" is required'));let K=aa(d.type);const D=aa(d.ref);if(d.id){const j=aa(d.id);for(let Z=0;Z<c.arrayIndex;Z++){const ne=w.layers[Z];aa(ne.id)===j&&l.push(new H(y,d.id,`duplicate layer id "${d.id}", previously used at line ${ne.id.__line__}`))}}if("ref"in d){let j;["type","source","source-layer","filter","layout"].forEach(Z=>{Z in d&&l.push(new H(y,d[Z],`"${Z}" is prohibited for ref layers`))}),w.layers.forEach(Z=>{aa(Z.id)===D&&(j=Z)}),j?j.ref?l.push(new H(y,d.ref,"ref cannot reference another ref layer")):K=aa(j.type):l.push(new H(y,d.ref,`ref layer "${D}" not found`))}else if(K!=="background")if(d.source){const j=w.sources&&w.sources[d.source],Z=j&&aa(j.type);j?Z==="vector"&&K==="raster"?l.push(new H(y,d.source,`layer "${d.id}" requires a raster source`)):Z!=="raster-dem"&&K==="hillshade"?l.push(new H(y,d.source,`layer "${d.id}" requires a raster-dem source`)):Z==="raster"&&K!=="raster"?l.push(new H(y,d.source,`layer "${d.id}" requires a vector source`)):Z!=="vector"||d["source-layer"]?Z==="raster-dem"&&K!=="hillshade"?l.push(new H(y,d.source,"raster-dem source can only be used with layer type 'hillshade'.")):K!=="line"||!d.paint||!d.paint["line-gradient"]||Z==="geojson"&&j.lineMetrics||l.push(new H(y,d,`layer "${d.id}" specifies a line-gradient, which requires a GeoJSON source with \`lineMetrics\` enabled.`)):l.push(new H(y,d,`layer "${d.id}" must specify a "source-layer"`)):l.push(new H(y,d.source,`source "${d.source}" not found`))}else l.push(new H(y,d,'missing required property "source"'));return l=l.concat(ul({key:y,value:d,valueSpec:T.layer,style:c.style,styleSpec:c.styleSpec,validateSpec:c.validateSpec,objectElementValidators:{"*":()=>[],type:()=>c.validateSpec({key:`${y}.type`,value:d.type,valueSpec:T.layer.type,style:c.style,styleSpec:c.styleSpec,validateSpec:c.validateSpec,object:d,objectKey:"type"}),filter:cc,layout:j=>ul({layer:d,key:j.key,value:j.value,style:j.style,styleSpec:j.styleSpec,validateSpec:j.validateSpec,objectElementValidators:{"*":Z=>wt(Te({layerType:K},Z))}}),paint:j=>ul({layer:d,key:j.key,value:j.value,style:j.style,styleSpec:j.styleSpec,validateSpec:j.validateSpec,objectElementValidators:{"*":Z=>_u(Te({layerType:K},Z))}})}})),l}function Wt(c){const l=c.value,d=c.key,y=wi(l);return y!=="string"?[new H(d,l,`string expected, ${y} found`)]:[]}const hr={promoteId:function({key:c,value:l}){if(wi(l)==="string")return Wt({key:c,value:l});{const d=[];for(const y in l)d.push(...Wt({key:`${c}.${y}`,value:l[y]}));return d}}};function ai(c){const l=c.value,d=c.key,y=c.styleSpec,w=c.style,T=c.validateSpec;if(!l.type)return[new H(d,l,'"type" is required')];const K=aa(l.type);let D;switch(K){case"vector":case"raster":return D=ul({key:d,value:l,valueSpec:y[`source_${K.replace("-","_")}`],style:c.style,styleSpec:y,objectElementValidators:hr,validateSpec:T}),D;case"raster-dem":return D=function(j){var Z;const ne=(Z=j.sourceName)!==null&&Z!==void 0?Z:"",Ae=j.value,_e=j.styleSpec,Ee=_e.source_raster_dem,Ke=j.style;let We=[];const qe=wi(Ae);if(Ae===void 0)return We;if(qe!=="object")return We.push(new H("source_raster_dem",Ae,`object expected, ${qe} found`)),We;const st=aa(Ae.encoding)==="custom",Ot=["redFactor","greenFactor","blueFactor","baseShift"],ct=j.value.encoding?`"${j.value.encoding}"`:"Default";for(const _t in Ae)!st&&Ot.includes(_t)?We.push(new H(_t,Ae[_t],`In "${ne}": "${_t}" is only valid when "encoding" is set to "custom". ${ct} encoding found`)):Ee[_t]?We=We.concat(j.validateSpec({key:_t,value:Ae[_t],valueSpec:Ee[_t],validateSpec:j.validateSpec,style:Ke,styleSpec:_e})):We.push(new H(_t,Ae[_t],`unknown property "${_t}"`));return We}({sourceName:d,value:l,style:c.style,styleSpec:y,validateSpec:T}),D;case"geojson":if(D=ul({key:d,value:l,valueSpec:y.source_geojson,style:w,styleSpec:y,validateSpec:T,objectElementValidators:hr}),l.cluster)for(const j in l.clusterProperties){const[Z,ne]=l.clusterProperties[j],Ae=typeof Z=="string"?[Z,["accumulated"],["get",j]]:Z;D.push(...dA({key:`${d}.${j}.map`,value:ne,validateSpec:T,expressionContext:"cluster-map"})),D.push(...dA({key:`${d}.${j}.reduce`,value:Ae,validateSpec:T,expressionContext:"cluster-reduce"}))}return D;case"video":return ul({key:d,value:l,valueSpec:y.source_video,style:w,validateSpec:T,styleSpec:y});case"image":return ul({key:d,value:lLine truncated
${a}`)}return g}(e,"",0)}function l9(e,n){const t={};for(const r in n)e[r]!==void 0&&(t[r]=e[r]);for(const r in e)t[r]===void 0&&(t[r]=e[r]);return t}function sR(e,n=2){return e=l9(e,Ea.$root),e.layers&&(e.layers=e.layers.map(t=>l9(t,Ea.layer))),eJ(e,{indent:n})}function uM(e,n){for(const t in e)t.indexOf("layout")===0&&n(e[t],t)}function u9(e,n){for(const t in e)t.indexOf("paint")===0&&n(e[t],t)}function P6(e,n){return typeof n=="string"&&n[0]==="@"?P6(e,e.constants[n]):n}function tJ(e){return Array.isArray(e.stops)}function Rv(e,n,t){e[t]=e[n],delete e[n]}function nJ(e){e.version=8,GX(e,i=>{i.type==="video"&&i.url!==void 0&&Rv(i,"url","urls"),i.type==="video"&&i.coordinates.forEach(o=>o.reverse())}),O_(e,i=>{uM(i,o=>{o["symbol-min-distance"]!==void 0&&Rv(o,"symbol-min-distance","symbol-spacing")}),u9(i,o=>{o["background-image"]!==void 0&&Rv(o,"background-image","background-pattern"),o["line-image"]!==void 0&&Rv(o,"line-image","line-pattern"),o["fill-image"]!==void 0&&Rv(o,"fill-image","fill-pattern")})}),WB(e,{paint:!0,layout:!0},i=>{const o=P6(e,i.value);tJ(o)&&o.stops.forEach(s=>{s[1]=P6(e,s[1])}),i.set(o)}),delete e.constants,O_(e,i=>{uM(i,o=>{delete o["text-max-size"],delete o["icon-max-size"]}),u9(i,o=>{o["text-size"]&&(i.layout||(i.layout={}),i.layout["text-size"]=o["text-size"],delete o["text-size"]),o["icon-size"]&&(i.layout||(i.layout={}),i.layout["icon-size"]=o["icon-size"],delete o["icon-size"])})});function n(i){function o(s){return s.split(",").map(a=>a.trim())}if(Array.isArray(i))return i;if(typeof i=="string")return o(i);if(typeof i=="object")return i.stops.forEach(s=>{s[1]=o(s[1])}),i;throw new Error("unexpected font value")}O_(e,i=>{uM(i,o=>{o["text-font"]&&(o["text-font"]=n(o["text-font"]))})});let t=0;for(let i=e.layers.length-1;i>=0;i--)if(e.layers[i].type!=="symbol"){t=i+1;break}const r=e.layers.splice(t);return r.reverse(),e.layers=e.layers.concat(r),e}function rJ(e){const n=[];return O_(e,t=>{t.filter&&(t.filter=E_(t.filter))}),WB(e,{paint:!0,layout:!0},({path:t,value:r,reference:i,set:o})=>{NC(r)||(typeof r=="object"&&!Array.isArray(r)?(o(QU(r,i)),n.push(t.join("."))):i.tokens&&typeof r=="string"&&o($U(r)))}),e}function iJ(e){return JSON.parse(oJ(JSON.stringify(e)))}function oJ(e){return e.replace(/"hsla?\((.+?)\)"/gi,(n,t)=>{const r=t.match(/^(.+?)\s*,\s*(.+?)\s*,\s*(.+?)(?:\s*,\s*(.+))?$/i);if(r){let[i,o,s,a]=r.slice(1);return[o,s]=[o,s].map(h=>h.endsWith("%")?h:`${parseFloat(h)*100}%`),`"hsl${typeof a=="string"?"a":""}(${[i,o,s,a].filter(Boolean).join(",")})"`}return n})}function aJ(e){let n=!1;if(e.version===7&&(e=nJ(e),n=!0),e.version===8&&(n=!!rJ(e),n=!0),WB(e,{paint:!0,layout:!0},({value:t,reference:r,set:i})=>{r.type==="color"&&i(iJ(t))}),!n)throw new Error(`Cannot migrate from ${e.version}`);return e}const sJ={StyleExpression:WU,StylePropertyFunction:NU,ZoomConstantExpression:I6,ZoomDependentExpression:T6,createExpression:LB,createPropertyExpression:UB,isExpression:NC,isExpressionFilter:i5,isZoomExpression:KX,normalizePropertyExpression:PX},lJ={convertFunction:QU,createFunction:DB,isFunction:jC};var lR={exports:{}};(function(e,n){(function(t,r){e.exports=r()})(ch,function(){var t={},r={};function i(s,a,h){if(r[s]=h,s==="index"){var g="var sharedModule = {}; ("+r.shared+")(sharedModule); ("+r.worker+")(sharedModule);",C={};return r.shared(C),r.index(t,C),typeof window<"u"&&t.setWorkerUrl(window.URL.createObjectURL(new Blob([g],{type:"text/javascript"}))),t}}i("shared",["exports"],function(s){function a(c,l,d,y){return new(d||(d=Promise))(function(w,T){function K(Z){try{j(y.next(Z))}catch(ne){T(ne)}}function D(Z){try{j(y.throw(Z))}catch(ne){T(ne)}}function j(Z){var ne;Z.done?w(Z.value):(ne=Z.value,ne instanceof d?ne:new d(function(Ae){Ae(ne)})).then(K,D)}j((y=y.apply(c,l||[])).next())})}function h(c){return c&&c.__esModule&&Object.prototype.hasOwnProperty.call(c,"default")?c.default:c}typeof SuppressedError=="function"&&SuppressedError;var g=C;function C(c,l){this.x=c,this.y=l}C.prototype={clone:function(){return new C(this.x,this.y)},add:function(c){return this.clone()._add(c)},sub:function(c){return this.clone()._sub(c)},multByPoint:function(c){return this.clone()._multByPoint(c)},divByPoint:function(c){return this.clone()._divByPoint(c)},mult:function(c){return this.clone()._mult(c)},div:function(c){return this.clone()._div(c)},rotate:function(c){return this.clone()._rotate(c)},rotateAround:function(c,l){return this.clone()._rotateAround(c,l)},matMult:function(c){return this.clone()._matMult(c)},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(c){return this.x===c.x&&this.y===c.y},dist:function(c){return Math.sqrt(this.distSqr(c))},distSqr:function(c){var l=c.x-this.x,d=c.y-this.y;return l*l+d*d},angle:function(){return Math.atan2(this.y,this.x)},angleTo:function(c){return Math.atan2(this.y-c.y,this.x-c.x)}, Line truncated
Use an identity property function instead: \`{ "type": "identity", "property": ${JSON.stringify(Ae[1])} }\`.`)];const _e=[];return c.layerType==="symbol"&&(D==="text-field"&&w&&!w.glyphs&&_e.push(new H(d,K,'use of "text-field" requires a style "glyphs" property')),D==="text-font"&&No(cA(K))&&aa(K.type)==="identity"&&_e.push(new H(d,K,'"text-font" does not support identity functions'))),_e.concat(y({key:c.key,value:K,valueSpec:ne,style:w,styleSpec:T,expressionContext:"property",propertyType:l,propertyKey:D}))}function _u(c){return Td(c,"paint")}function wt(c){return Td(c,"layout")}function ln(c){let l=[];const d=c.value,y=c.key,w=c.style,T=c.styleSpec;d.type||d.ref||l.push(new H(y,d,'either "type" or "ref" is required'));let K=aa(d.type);const D=aa(d.ref);if(d.id){const j=aa(d.id);for(let Z=0;Z<c.arrayIndex;Z++){const ne=w.layers[Z];aa(ne.id)===j&&l.push(new H(y,d.id,`duplicate layer id "${d.id}", previously used at line ${ne.id.__line__}`))}}if("ref"in d){let j;["type","source","source-layer","filter","layout"].forEach(Z=>{Z in d&&l.push(new H(y,d[Z],`"${Z}" is prohibited for ref layers`))}),w.layers.forEach(Z=>{aa(Z.id)===D&&(j=Z)}),j?j.ref?l.push(new H(y,d.ref,"ref cannot reference another ref layer")):K=aa(j.type):l.push(new H(y,d.ref,`ref layer "${D}" not found`))}else if(K!=="background")if(d.source){const j=w.sources&&w.sources[d.source],Z=j&&aa(j.type);j?Z==="vector"&&K==="raster"?l.push(new H(y,d.source,`layer "${d.id}" requires a raster source`)):Z!=="raster-dem"&&K==="hillshade"?l.push(new H(y,d.source,`layer "${d.id}" requires a raster-dem source`)):Z==="raster"&&K!=="raster"?l.push(new H(y,d.source,`layer "${d.id}" requires a vector source`)):Z!=="vector"||d["source-layer"]?Z==="raster-dem"&&K!=="hillshade"?l.push(new H(y,d.source,"raster-dem source can only be used with layer type 'hillshade'.")):K!=="line"||!d.paint||!d.paint["line-gradient"]||Z==="geojson"&&j.lineMetrics||l.push(new H(y,d,`layer "${d.id}" specifies a line-gradient, which requires a GeoJSON source with \`lineMetrics\` enabled.`)):l.push(new H(y,d,`layer "${d.id}" must specify a "source-layer"`)):l.push(new H(y,d.source,`source "${d.source}" not found`))}else l.push(new H(y,d,'missing required property "source"'));return l=l.concat(ul({key:y,value:d,valueSpec:T.layer,style:c.style,styleSpec:c.styleSpec,validateSpec:c.validateSpec,objectElementValidators:{"*":()=>[],type:()=>c.validateSpec({key:`${y}.type`,value:d.type,valueSpec:T.layer.type,style:c.style,styleSpec:c.styleSpec,validateSpec:c.validateSpec,object:d,objectKey:"type"}),filter:cc,layout:j=>ul({layer:d,key:j.key,value:j.value,style:j.style,styleSpec:j.styleSpec,validateSpec:j.validateSpec,objectElementValidators:{"*":Z=>wt(Te({layerType:K},Z))}}),paint:j=>ul({layer:d,key:j.key,value:j.value,style:j.style,styleSpec:j.styleSpec,validateSpec:j.validateSpec,objectElementValidators:{"*":Z=>_u(Te({layerType:K},Z))}})}})),l}function Wt(c){const l=c.value,d=c.key,y=wi(l);return y!=="string"?[new H(d,l,`string expected, ${y} found`)]:[]}const hr={promoteId:function({key:c,value:l}){if(wi(l)==="string")return Wt({key:c,value:l});{const d=[];for(const y in l)d.push(...Wt({key:`${c}.${y}`,value:l[y]}));return d}}};function ai(c){const l=c.value,d=c.key,y=c.styleSpec,w=c.style,T=c.validateSpec;if(!l.type)return[new H(d,l,'"type" is required')];const K=aa(l.type);let D;switch(K){case"vector":case"raster":return D=ul({key:d,value:l,valueSpec:y[`source_${K.replace("-","_")}`],style:c.style,styleSpec:y,objectElementValidators:hr,validateSpec:T}),D;case"raster-dem":return D=function(j){var Z;const ne=(Z=j.sourceName)!==null&&Z!==void 0?Z:"",Ae=j.value,_e=j.styleSpec,Ee=_e.source_raster_dem,Ke=j.style;let We=[];const qe=wi(Ae);if(Ae===void 0)return We;if(qe!=="object")return We.push(new H("source_raster_dem",Ae,`object expected, ${qe} found`)),We;const st=aa(Ae.encoding)==="custom",Ot=["redFactor","greenFactor","blueFactor","baseShift"],ct=j.value.encoding?`"${j.value.encoding}"`:"Default";for(const _t in Ae)!st&&Ot.includes(_t)?We.push(new H(_t,Ae[_t],`In "${ne}": "${_t}" is only valid when "encoding" is set to "custom". ${ct} encoding found`)):Ee[_t]?We=We.concat(j.validateSpec({key:_t,value:Ae[_t],valueSpec:Ee[_t],validateSpec:j.validateSpec,style:Ke,styleSpec:_e})):We.push(new H(_t,Ae[_t],`unknown property "${_t}"`));return We}({sourceName:d,value:l,style:c.style,styleSpec:y,validateSpec:T}),D;case"geojson":if(D=ul({key:d,value:l,valueSpec:y.source_geojson,style:w,styleSpec:y,validateSpec:T,objectElementValidators:hr}),l.cluster)for(const j in l.clusterProperties){const[Z,ne]=l.clusterProperties[j],Ae=typeof Z=="string"?[Z,["accumulated"],["get",j]]:Z;D.push(...dA({key:`${d}.${j}.map`,value:ne,validateSpec:T,expressionContext:"cluster-map"})),D.push(...dA({key:`${d}.${j}.reduce`,value:Ae,validateSpec:T,expressionContext:"cluster-reduce"}))}return D;case"video":return ul({key:d,value:l,valueSpec:y.source_video,style:w,validateSpec:T,styleSpec:y});case"image":return ul({key:d,value:lLine truncated
precision mediump float;
#else
#if !defined(lowp)
@@ -643,9 +643,9 @@ uniform ${ue} ${pe} u_${Ie};
#endif
`}),staticAttributes:_,staticUniforms:z}}class Ks{constructor(){this.boundProgram=null,this.boundLayoutVertexBuffer=null,this.boundPaintVertexBuffers=[],this.boundIndexBuffer=null,this.boundVertexOffset=null,this.boundDynamicVertexBuffer=null,this.vao=null}bind(u,p,_,M,I,z,W,Q,re){this.context=u;let ue=this.boundPaintVertexBuffers.length!==M.length;for(let pe=0;!ue&&pe<M.length;pe++)this.boundPaintVertexBuffers[pe]!==M[pe]&&(ue=!0);!this.vao||this.boundProgram!==p||this.boundLayoutVertexBuffer!==_||ue||this.boundIndexBuffer!==I||this.boundVertexOffset!==z||this.boundDynamicVertexBuffer!==W||this.boundDynamicVertexBuffer2!==Q||this.boundDynamicVertexBuffer3!==re?this.freshBind(p,_,M,I,z,W,Q,re):(u.bindVertexArray.set(this.vao),W&&W.bind(),I&&I.dynamicDraw&&I.bind(),Q&&Q.bind(),re&&re.bind())}freshBind(u,p,_,M,I,z,W,Q){const re=u.numAttributes,ue=this.context,pe=ue.gl;this.vao&&this.destroy(),this.vao=ue.createVertexArray(),ue.bindVertexArray.set(this.vao),this.boundProgram=u,this.boundLayoutVertexBuffer=p,this.boundPaintVertexBuffers=_,this.boundIndexBuffer=M,this.boundVertexOffset=I,this.boundDynamicVertexBuffer=z,this.boundDynamicVertexBuffer2=W,this.boundDynamicVertexBuffer3=Q,p.enableAttributes(pe,u);for(const Ie of _)Ie.enableAttributes(pe,u);z&&z.enableAttributes(pe,u),W&&W.enableAttributes(pe,u),Q&&Q.enableAttributes(pe,u),p.bind(),p.setVertexAttribPointers(pe,u,I);for(const Ie of _)Ie.bind(),Ie.setVertexAttribPointers(pe,u,I);z&&(z.bind(),z.setVertexAttribPointers(pe,u,I)),M&&M.bind(),W&&(W.bind(),W.setVertexAttribPointers(pe,u,I)),Q&&(Q.bind(),Q.setVertexAttribPointers(pe,u,I)),ue.currentNumAttributes=re}destroy(){this.vao&&(this.context.deleteVertexArray(this.vao),this.vao=null)}}function ka(O){const u=[];for(let p=0;p<O.length;p++){if(O[p]===null)continue;const _=O[p].split(" ");u.push(_.pop())}return u}class pa{constructor(u,p,_,M,I,z){const W=u.gl;this.program=W.createProgram();const Q=ka(p.staticAttributes),re=_?_.getBinderAttributes():[],ue=Q.concat(re),pe=Or.prelude.staticUniforms?ka(Or.prelude.staticUniforms):[],Ie=p.staticUniforms?ka(p.staticUniforms):[],Ne=_?_.getBinderUniforms():[],Re=pe.concat(Ie).concat(Ne),$e=[];for(const Dt of Re)$e.indexOf(Dt)<0&&$e.push(Dt);const Ge=_?_.defines():[];I&&Ge.push("#define OVERDRAW_INSPECTOR;"),z&&Ge.push("#define TERRAIN3D;");const ht=Ge.concat(Or.prelude.fragmentSource,p.fragmentSource).join(`
`),Tt=Ge.concat(Or.prelude.vertexSource,p.vertexSource).join(`
`),Ze=W.createShader(W.FRAGMENT_SHADER);if(W.isContextLost())return void(this.failedToCreate=!0);if(W.shaderSource(Ze,ht),W.compileShader(Ze),!W.getShaderParameter(Ze,W.COMPILE_STATUS))throw new Error(`Could not compile fragment shader: ${W.getShaderInfoLog(Ze)}`);W.attachShader(this.program,Ze);const Ct=W.createShader(W.VERTEX_SHADER);if(W.isContextLost())return void(this.failedToCreate=!0);if(W.shaderSource(Ct,Tt),W.compileShader(Ct),!W.getShaderParameter(Ct,W.COMPILE_STATUS))throw new Error(`Could not compile vertex shader: ${W.getShaderInfoLog(Ct)}`);W.attachShader(this.program,Ct),this.attributes={};const $t={};this.numAttributes=ue.length;for(let Dt=0;Dt<this.numAttributes;Dt++)ue[Dt]&&(W.bindAttribLocation(this.program,Dt,ue[Dt]),this.attributes[ue[Dt]]=Dt);if(W.linkProgram(this.program),!W.getProgramParameter(this.program,W.LINK_STATUS))throw new Error(`Program failed to link: ${W.getProgramInfoLog(this.program)}`);W.deleteShader(Ct),W.deleteShader(Ze);for(let Dt=0;Dt<$e.length;Dt++){const nn=$e[Dt];if(nn&&!$t[nn]){const dn=W.getUniformLocation(this.program,nn);dn&&($t[nn]=dn)}}this.fixedUniforms=M(u,$t),this.terrainUniforms=((Dt,nn)=>({u_depth:new a.aG(Dt,nn.u_depth),u_terrain:new a.aG(Dt,nn.u_terrain),u_terrain_dim:new a.aH(Dt,nn.u_terrain_dim),u_terrain_matrix:new a.aI(Dt,nn.u_terrain_matrix),u_terrain_unpack:new a.aJ(Dt,nn.u_terrain_unpack),u_terrain_exaggeration:new a.aH(Dt,nn.u_terrain_exaggeration)}))(u,$t),this.binderUniforms=_?_.getUniforms(u,$t):[]}draw(u,p,_,M,I,z,W,Q,re,ue,pe,Ie,Ne,Re,$e,Ge,ht,Tt){const Ze=u.gl;if(this.failedToCreate)return;if(u.program.set(this.program),u.setDepthMode(_),u.setStencilMode(M),u.setColorMode(I),u.setCullFace(z),Q){u.activeTexture.set(Ze.TEXTURE2),Ze.bindTexture(Ze.TEXTURE_2D,Q.depthTexture),u.activeTexture.set(Ze.TEXTURE3),Ze.bindTexture(Ze.TEXTURE_2D,Q.texture);for(const $t in this.terrainUniforms)this.terrainUniforms[$t].set(Q[$t])}for(const $t in this.fixedUniforms)this.fixedUniforms[$t].set(W[$t]);$e&&$e.setUniforms(u,this.binderUniforms,Ne,{zoom:Re});let Ct=0;switch(p){case Ze.LINES:Ct=2;break;case Ze.TRIANGLES:Ct=3;break;case Ze.LINE_STRIP:Ct=1}for(const $t of Ie.get()){const Dt=$t.vaos||($t.vaos={});(Dt[re]||(Dt[re]=new Ks)).bind(u,this,ue,$e?$e.getPaintVertexBuffers():[],pe,$t.vertexOffset,Ge,ht,Tt),Ze.drawElements(p,$t.primitiveLength*Ct,Ze.UNSIGNED_SHORT,$t.primitiveOffset*Ct*2)}}}function Zl(O,u,p){const _=1/ar(p,1,u.transform.tileZoom),M=Math.pow(2,p.tileID.overscaledZ),I=p.tileSize*Math.pow(2,u.transform.tileZoom)/M,z=I*(p.tileID.canonical.x+p.tileID.wrap*M),W=I*p.tileID.canonical.y;return{u_image:0,u_texsize:p.imageAtlasTexture.size,u_scale:[_,O.fromScale,O.toScale],u_fade:O.t,u_pixel_coord_upper:[z>>16,W>>16],u_pixel_coord_lower:[65535&z,65535&W]}}const as=(O,u,p,_)=>{const M=u.style.light,I=M.properties.get("position"),z=[I.x,I.y,I.z],W=function(){var re=new a.A(9);return a.A!=Float32Array&&(re[1]=0,re[2]=0,re[3]=0,re[5]=0,re[6]=0,re[7]=0),re[0]=1,re[4]=1,re[8]=1,re}();M.properties.get("anchor")==="viewport"&&function(re,ue){var pe=Math.sin(ue),Ie=Math.cos(ue);re[0]=Ie,re[1]=pe,re[2]=0,re[3]=-pe,re[4]=Ie,re[5]=0,re[6]=0,re[7]=0,re[8]=1}(W,-u.transform.angle),function(re,ue,pe){var Ie=ue[0],Ne=ue[1],Re=ue[2];re[0]=Ie*pe[0]+Ne*pe[3]+Re*pe[6],re[1]=Ie*pe[1]+Ne*pe[4]+Re*pe[7],re[2]=Ie*pe[2]+Ne*pe[5]+Re*pe[8]}(z,z,W);const Q=M.properties.get("color");return{u_matrix:O,u_lightpos:z,u_lightintensity:M.properties.get("intensity"),u_lightcolor:[Q.r,Q.g,Q.b],u_vertical_gradient:+p,u_opacity:_}},ia=(O,u,p,_,M,I,z)=>a.e(as(O,u,p,_),Zl(I,u,z),{u_height_factor:-Math.pow(2,M.overscaledZ)/z.tileSize/8}),qo=O=>({u_matrix:O}),vs=(O,u,p,_)=>a.e(qo(O),Zl(p,u,_)),Fu=(O,u)=>({u_matrix:O,u_world:u}),ma=(O,u,p,_,M)=>a.e(vs(O,u,p,_),{u_world:M}),lA=(O,u,p,_)=>{const M=O.transform;let I,z;if(_.paint.get("circle-pitch-alignment")==="map"){const W=ar(p,1,M.zoom);I=!0,z=[W,W]}else I=!1,z=M.pixelsToGLUnits;return{u_camera_to_center_distance:M.cameraToCenterDistance,u_scale_with_map:+(_.paint.get("circle-pitch-scale")==="map"),u_matrix:O.translatePosMatrix(u.posMatrix,p,_.paint.get("circle-translate"),_.paint.get("circle-translate-anchor")),u_pitch_with_map:+I,u_device_pixel_ratio:O.pixelRatio,u_extrude_scale:z}},Du=(O,u,p)=>{const _=ar(p,1,u.zoom),M=Math.pow(2,u.zoom-p.tileID.overscaledZ),I=p.tileID.overscaleFactor();return{u_matrix:O,u_camera_to_center_distance:u.cameraToCenterDistance,u_pixels_to_tile_units:_,u_extrude_scale:[u.pixelsToGLUnits[0]/(_*M),u.pixelsToGLUnits[1]/(_*M)],u_overscale_factor:I}},Lu=(O,u,p=1)=>({u_matrix:O,u_color:u,u_overlay:0,u_overlay_scale:p}),mu=O=>({u_matrix:O}),uA=(O,u,p,_)=>({u_matrix:O,u_extrude_scale:ar(u,1,p),u_intensity:_});function Wo(O,u){const p=Math.pow(2,u.canonical.z),_=u.canonical.y;return[new a.Y(0,_/p).toLngLat().lat,new a.Y(0,(_+1)/p).toLngLat().lat]}const Na=(O,u,p,_)=>{const M=O.transform;return{u_matrix:gu(O,u,p,_),u_ratio:1/ar(u,1,M.zoom),u_device_pixel_ratio:O.pixelRatio,u_units_to_pixels:[1/M.pixelsToGLUnits[0],1/M.p Line truncated
`),Ze=W.createShader(W.FRAGMENT_SHADER);if(W.isContextLost())return void(this.failedToCreate=!0);if(W.shaderSource(Ze,ht),W.compileShader(Ze),!W.getShaderParameter(Ze,W.COMPILE_STATUS))throw new Error(`Could not compile fragment shader: ${W.getShaderInfoLog(Ze)}`);W.attachShader(this.program,Ze);const Ct=W.createShader(W.VERTEX_SHADER);if(W.isContextLost())return void(this.failedToCreate=!0);if(W.shaderSource(Ct,Tt),W.compileShader(Ct),!W.getShaderParameter(Ct,W.COMPILE_STATUS))throw new Error(`Could not compile vertex shader: ${W.getShaderInfoLog(Ct)}`);W.attachShader(this.program,Ct),this.attributes={};const $t={};this.numAttributes=ue.length;for(let Dt=0;Dt<this.numAttributes;Dt++)ue[Dt]&&(W.bindAttribLocation(this.program,Dt,ue[Dt]),this.attributes[ue[Dt]]=Dt);if(W.linkProgram(this.program),!W.getProgramParameter(this.program,W.LINK_STATUS))throw new Error(`Program failed to link: ${W.getProgramInfoLog(this.program)}`);W.deleteShader(Ct),W.deleteShader(Ze);for(let Dt=0;Dt<$e.length;Dt++){const tn=$e[Dt];if(tn&&!$t[tn]){const dn=W.getUniformLocation(this.program,tn);dn&&($t[tn]=dn)}}this.fixedUniforms=M(u,$t),this.terrainUniforms=((Dt,tn)=>({u_depth:new a.aG(Dt,tn.u_depth),u_terrain:new a.aG(Dt,tn.u_terrain),u_terrain_dim:new a.aH(Dt,tn.u_terrain_dim),u_terrain_matrix:new a.aI(Dt,tn.u_terrain_matrix),u_terrain_unpack:new a.aJ(Dt,tn.u_terrain_unpack),u_terrain_exaggeration:new a.aH(Dt,tn.u_terrain_exaggeration)}))(u,$t),this.binderUniforms=_?_.getUniforms(u,$t):[]}draw(u,p,_,M,I,z,W,Q,re,ue,pe,Ie,Ne,Re,$e,Ge,ht,Tt){const Ze=u.gl;if(this.failedToCreate)return;if(u.program.set(this.program),u.setDepthMode(_),u.setStencilMode(M),u.setColorMode(I),u.setCullFace(z),Q){u.activeTexture.set(Ze.TEXTURE2),Ze.bindTexture(Ze.TEXTURE_2D,Q.depthTexture),u.activeTexture.set(Ze.TEXTURE3),Ze.bindTexture(Ze.TEXTURE_2D,Q.texture);for(const $t in this.terrainUniforms)this.terrainUniforms[$t].set(Q[$t])}for(const $t in this.fixedUniforms)this.fixedUniforms[$t].set(W[$t]);$e&&$e.setUniforms(u,this.binderUniforms,Ne,{zoom:Re});let Ct=0;switch(p){case Ze.LINES:Ct=2;break;case Ze.TRIANGLES:Ct=3;break;case Ze.LINE_STRIP:Ct=1}for(const $t of Ie.get()){const Dt=$t.vaos||($t.vaos={});(Dt[re]||(Dt[re]=new Ks)).bind(u,this,ue,$e?$e.getPaintVertexBuffers():[],pe,$t.vertexOffset,Ge,ht,Tt),Ze.drawElements(p,$t.primitiveLength*Ct,Ze.UNSIGNED_SHORT,$t.primitiveOffset*Ct*2)}}}function Zl(O,u,p){const _=1/ar(p,1,u.transform.tileZoom),M=Math.pow(2,p.tileID.overscaledZ),I=p.tileSize*Math.pow(2,u.transform.tileZoom)/M,z=I*(p.tileID.canonical.x+p.tileID.wrap*M),W=I*p.tileID.canonical.y;return{u_image:0,u_texsize:p.imageAtlasTexture.size,u_scale:[_,O.fromScale,O.toScale],u_fade:O.t,u_pixel_coord_upper:[z>>16,W>>16],u_pixel_coord_lower:[65535&z,65535&W]}}const as=(O,u,p,_)=>{const M=u.style.light,I=M.properties.get("position"),z=[I.x,I.y,I.z],W=function(){var re=new a.A(9);return a.A!=Float32Array&&(re[1]=0,re[2]=0,re[3]=0,re[5]=0,re[6]=0,re[7]=0),re[0]=1,re[4]=1,re[8]=1,re}();M.properties.get("anchor")==="viewport"&&function(re,ue){var pe=Math.sin(ue),Ie=Math.cos(ue);re[0]=Ie,re[1]=pe,re[2]=0,re[3]=-pe,re[4]=Ie,re[5]=0,re[6]=0,re[7]=0,re[8]=1}(W,-u.transform.angle),function(re,ue,pe){var Ie=ue[0],Ne=ue[1],Re=ue[2];re[0]=Ie*pe[0]+Ne*pe[3]+Re*pe[6],re[1]=Ie*pe[1]+Ne*pe[4]+Re*pe[7],re[2]=Ie*pe[2]+Ne*pe[5]+Re*pe[8]}(z,z,W);const Q=M.properties.get("color");return{u_matrix:O,u_lightpos:z,u_lightintensity:M.properties.get("intensity"),u_lightcolor:[Q.r,Q.g,Q.b],u_vertical_gradient:+p,u_opacity:_}},ia=(O,u,p,_,M,I,z)=>a.e(as(O,u,p,_),Zl(I,u,z),{u_height_factor:-Math.pow(2,M.overscaledZ)/z.tileSize/8}),qo=O=>({u_matrix:O}),vs=(O,u,p,_)=>a.e(qo(O),Zl(p,u,_)),Fu=(O,u)=>({u_matrix:O,u_world:u}),ma=(O,u,p,_,M)=>a.e(vs(O,u,p,_),{u_world:M}),lA=(O,u,p,_)=>{const M=O.transform;let I,z;if(_.paint.get("circle-pitch-alignment")==="map"){const W=ar(p,1,M.zoom);I=!0,z=[W,W]}else I=!1,z=M.pixelsToGLUnits;return{u_camera_to_center_distance:M.cameraToCenterDistance,u_scale_with_map:+(_.paint.get("circle-pitch-scale")==="map"),u_matrix:O.translatePosMatrix(u.posMatrix,p,_.paint.get("circle-translate"),_.paint.get("circle-translate-anchor")),u_pitch_with_map:+I,u_device_pixel_ratio:O.pixelRatio,u_extrude_scale:z}},Du=(O,u,p)=>{const _=ar(p,1,u.zoom),M=Math.pow(2,u.zoom-p.tileID.overscaledZ),I=p.tileID.overscaleFactor();return{u_matrix:O,u_camera_to_center_distance:u.cameraToCenterDistance,u_pixels_to_tile_units:_,u_extrude_scale:[u.pixelsToGLUnits[0]/(_*M),u.pixelsToGLUnits[1]/(_*M)],u_overscale_factor:I}},Lu=(O,u,p=1)=>({u_matrix:O,u_color:u,u_overlay:0,u_overlay_scale:p}),mu=O=>({u_matrix:O}),uA=(O,u,p,_)=>({u_matrix:O,u_extrude_scale:ar(u,1,p),u_intensity:_});function Wo(O,u){const p=Math.pow(2,u.canonical.z),_=u.canonical.y;return[new a.Y(0,_/p).toLngLat().lat,new a.Y(0,(_+1)/p).toLngLat().lat]}const Na=(O,u,p,_)=>{const M=O.transform;return{u_matrix:gu(O,u,p,_),u_ratio:1/ar(u,1,M.zoom),u_device_pixel_ratio:O.pixelRatio,u_units_to_pixels:[1/M.pixelsToGLUnits[0],1/M.p Line truncated
Zoom: <span></span>
`,xa().s[8]++,this._textEl=this._container.querySelector("span"),xa().s[9]++,this.addEventListeners(),xa().s[10]++,this._container}updateZoomLevel(){xa().f[1]++,xa().s[11]++,this._textEl.innerHTML=this._map.getZoom().toFixed(2)}addEventListeners(){xa().f[2]++,xa().s[12]++,this._map.on("render",()=>(xa().f[3]++,xa().s[13]++,this.updateZoomLevel())),xa().s[14]++,this._map.on("zoomIn",()=>(xa().f[4]++,xa().s[15]++,this.updateZoomLevel())),xa().s[16]++,this._map.on("zoomOut",()=>(xa().f[5]++,xa().s[17]++,this.updateZoomLevel()))}onRemove(){xa().f[6]++,xa().s[18]++,this._container.parentNode.removeChild(this._container),xa().s[19]++,this._map=void 0}}function Q6(e,n,t){const r={id:[n,t,"circle"].join("_"),source:n,type:"circle",paint:{"circle-color":e,"circle-radius":2},filter:["==","$type","Point"]};return t&&(r["source-layer"]=t),r}function $6(e,n,t,r){const i={id:[t,r,"polygon"].join("_"),source:t,type:"fill",paint:{"fill-color":e,"fill-antialias":!0,"fill-outline-color":e},filter:["==","$type","Polygon"]};return r&&(i["source-layer"]=r),i}function Y6(e,n,t){const r={id:[n,t,"line"].join("_"),source:n,layout:{"line-join":"round","line-cap":"round"},type:"line",paint:{"line-color":e},filter:["==","$type","LineString"]};return t&&(r["source-layer"]=t),r}function Iee(e,n){const t=[],r=[],i=[];function o(s){return{circle:n(s,.8),line:n(s,.6),polygon:n(s,.3),polygonOutline:n(s,.6),default:n(s,1)}}return Object.keys(e).forEach(s=>{const a=e[s];if(!a||a.length===0){const h=o(s);r.push(Q6(h.circle,s)),i.push(Y6(h.line,s)),t.push($6(h.polygon,h.polygonOutline,s))}else a.forEach(h=>{const g=o(h);r.push(Q6(g.circle,s,h)),i.push(Y6(g.line,s,h)),t.push($6(g.polygon,g.polygonOutline,s,h))})}),t.concat(i).concat(r)}function Tee(e,n,t){t=Object.assign({backgroundColor:"#fff"},t);const r={id:"background",type:"background",paint:{"background-color":t.backgroundColor}},i={};return Object.keys(e.sources).forEach(o=>{const s=e.sources[o];(s.type==="vector"||s.type==="geojson")&&(i[o]=s)}),Object.assign(e,{layers:[r].concat(n),sources:i})}const dM={polygonLayer:$6,lineLayer:Y6,circleLayer:Q6,generateInspectStyle:Tee,generateColoredLayers:Iee};function Ti(){var e="/home/runner/work/maputnik/maputnik/src/libs/highlight.ts",n="c6691b5ca8d2cfebe44cf9e3718b8a44b922cf42",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:19,column:16}},10:{start:{line:19,column:4},end:{line:19,column:16}},11:{start:{line:20,column:24},end:{line:20,column:51}},12:{start:{line:21,column:16},end:{line:21,column:52}},13:{start:{line:22,column:2},end:{line:24,column:3}},14:{start:{line:23,column:4},end:{line:23,column:104}},15:{start:{line:25,column:2},end:{line:27,column:3}},16:{start:{line:26,column:4},end:{line:26,column:96}},17:{start:{line:28,column:2},end:{line:30,column:3}},18:{start:{line:29,column:4},end:{line:29,column:94}},19:{start:{line:31,column:2},end:{line:31,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:32,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:19,column:16}},type:"if",locations:[{start:{line:18,column:2},end:{line:19,column:16}},{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:20,column:24},end:{line:20,column:51}},type:"binary-expr",locations:[{start:{line:20,column:24},end:{line:20,column:45}},{start:{line:20,column:49},end:{line:20,column:51}}],line:20},6 Line truncated
`,xa().s[8]++,this._textEl=this._container.querySelector("span"),xa().s[9]++,this.addEventListeners(),xa().s[10]++,this._container}updateZoomLevel(){xa().f[1]++,xa().s[11]++,this._textEl.innerHTML=this._map.getZoom().toFixed(2)}addEventListeners(){xa().f[2]++,xa().s[12]++,this._map.on("render",()=>(xa().f[3]++,xa().s[13]++,this.updateZoomLevel())),xa().s[14]++,this._map.on("zoomIn",()=>(xa().f[4]++,xa().s[15]++,this.updateZoomLevel())),xa().s[16]++,this._map.on("zoomOut",()=>(xa().f[5]++,xa().s[17]++,this.updateZoomLevel()))}onRemove(){xa().f[6]++,xa().s[18]++,this._container.parentNode.removeChild(this._container),xa().s[19]++,this._map=void 0}}function Q6(e,n,t){const r={id:[n,t,"circle"].join("_"),source:n,type:"circle",paint:{"circle-color":e,"circle-radius":2},filter:["==","$type","Point"]};return t&&(r["source-layer"]=t),r}function $6(e,n,t,r){const i={id:[t,r,"polygon"].join("_"),source:t,type:"fill",paint:{"fill-color":e,"fill-antialias":!0,"fill-outline-color":e},filter:["==","$type","Polygon"]};return r&&(i["source-layer"]=r),i}function Y6(e,n,t){const r={id:[n,t,"line"].join("_"),source:n,layout:{"line-join":"round","line-cap":"round"},type:"line",paint:{"line-color":e},filter:["==","$type","LineString"]};return t&&(r["source-layer"]=t),r}function Iee(e,n){const t=[],r=[],i=[];function o(s){return{circle:n(s,.8),line:n(s,.6),polygon:n(s,.3),polygonOutline:n(s,.6),default:n(s,1)}}return Object.keys(e).forEach(s=>{const a=e[s];if(!a||a.length===0){const h=o(s);r.push(Q6(h.circle,s)),i.push(Y6(h.line,s)),t.push($6(h.polygon,h.polygonOutline,s))}else a.forEach(h=>{const g=o(h);r.push(Q6(g.circle,s,h)),i.push(Y6(g.line,s,h)),t.push($6(g.polygon,g.polygonOutline,s,h))})}),t.concat(i).concat(r)}function Tee(e,n,t){t=Object.assign({backgroundColor:"#fff"},t);const r={id:"background",type:"background",paint:{"background-color":t.backgroundColor}},i={};return Object.keys(e.sources).forEach(o=>{const s=e.sources[o];(s.type==="vector"||s.type==="geojson")&&(i[o]=s)}),Object.assign(e,{layers:[r].concat(n),sources:i})}const dM={polygonLayer:$6,lineLayer:Y6,circleLayer:Q6,generateInspectStyle:Tee,generateColoredLayers:Iee};function Ti(){var e="/home/runner/work/maputnik/maputnik/src/libs/highlight.ts",n="c6691b5ca8d2cfebe44cf9e3718b8a44b922cf42",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:19,column:16}},10:{start:{line:19,column:4},end:{line:19,column:16}},11:{start:{line:20,column:24},end:{line:20,column:51}},12:{start:{line:21,column:16},end:{line:21,column:52}},13:{start:{line:22,column:2},end:{line:24,column:3}},14:{start:{line:23,column:4},end:{line:23,column:104}},15:{start:{line:25,column:2},end:{line:27,column:3}},16:{start:{line:26,column:4},end:{line:26,column:96}},17:{start:{line:28,column:2},end:{line:30,column:3}},18:{start:{line:29,column:4},end:{line:29,column:94}},19:{start:{line:31,column:2},end:{line:31,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:32,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:19,column:16}},type:"if",locations:[{start:{line:18,column:2},end:{line:19,column:16}},{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:20,column:24},end:{line:20,column:51}},type:"binary-expr",locations:[{start:{line:20,column:24},end:{line:20,column:45}},{start:{line:20,column:49},end:{line:20,column:51}}],line:20},6 Line truncated
`))?(QC(hE),wg=null,dE=void 0,ap.set(P,e)):(ap.set(P,ap.get(P)+1,!0),g=!1))}g&&(clearInterval(o),o=void 0)}return function(g){var C=wz(g);if(C)for(var B=C.families,k=0,P=B.length;k<P;++k){var L=B[k],J=C.style+`
`+C.weight+`
`+L;ap.get(J)===void 0&&(ap.set(J,e,!0),a(C.style,C.weight,L)||(ap.set(J,0,!0),o===void 0&&(o=setInterval(h,32))))}}}(),Eie=function(){var e;return function(n){var t=hE[n];if(t==null){if(l5){var r=wz(n),i=Ez(n,"Žg"),o=isNaN(Number(r.lineHeight))?1.2:Number(r.lineHeight);t=o*(i.actualBoundingBoxAscent+i.actualBoundingBoxDescent)}else e||(e=document.createElement("div"),e.innerHTML="M",e.style.minHeight="0",e.style.maxHeight="none",e.style.height="auto",e.style.padding="0",e.style.border="none",e.style.position="absolute",e.style.display="block",e.style.left="-99999px"),e.style.font=n,document.body.appendChild(e),t=e.offsetHeight,document.body.removeChild(e);hE[n]=t}return t}}();function Ez(e,n){return wg||(wg=ic(1,1)),e!=dE&&(wg.font=e,dE=wg.font),wg.measureText(n)}function K3(e,n){return Ez(e,n).width}function Y9(e,n,t){if(n in t)return t[n];var r=n.split(`
@@ -710,15 +710,15 @@ From the WAI-ARIA spec (https://www.w3.org/TR/wai-aria-practices-1.1/#accordion)
`,XW=function(e){x8(t,e);var n=w8(t);function t(){var r;F5(this,t);for(var i=arguments.length,o=new Array(i),s=0;s<i;s++)o[s]=arguments[s];return r=n.call.apply(n,[this].concat(o)),gs(ah(r),"ref",void 0),gs(ah(r),"setRef",function(a){r.ref=a}),r}return b8(t,[{key:"componentDidUpdate",value:function(){t.VALIDATE(this.ref)}},{key:"componentDidMount",value:function(){t.VALIDATE(this.ref)}},{key:"render",value:function(){return Br.createElement("div",xf({"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(mme)}}]),t}(Br.PureComponent);gs(XW,"defaultProps",pme);var JW=function(n){return Br.createElement(L5,null,function(t){var r=t.headingAttributes;return n.id&&MC(n.id),Br.createElement(XW,xf({},n,r))})};JW.displayName=qW.AccordionItemHeading;var gme=function(n){var t=n.className,r=t===void 0?"accordion__panel":t,i=n.region,o=n.id,s=D5(n,["className","region","id"]),a=function(g){var C=g.panelAttributes;o&&MC(o);var B=VE(VE({},C),{},{"aria-labelledby":i?C["aria-labelledby"]:void 0});return Br.createElement("div",xf({"data-accordion-component":"AccordionItemPanel",className:r},s,B,{role:i?"region":void 0}))};return Br.createElement(L5,null,a)},tS={exports:{}},mK;function R5(){return mK||(mK=1,function(e,n){(function(t,r){e.exports=r()})(ch,function(){var t=navigator.userAgent,r=navigator.platform,i=/gecko\/\d/i.test(t),o=/MSIE \d/.test(t),s=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(t),a=/Edge\/(\d+)/.exec(t),h=o||s||a,g=h&&(o?document.documentMode||6:+(a||s)[1]),C=!a&&/WebKit\//.test(t),B=C&&/Qt\/\d+\.\d+/.test(t),k=!a&&/Chrome\/(\d+)/.exec(t),P=k&&+k[1],L=/Opera\//.test(t),J=/Apple Computer/.test(navigator.vendor),N=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(t),$=/PhantomJS/.test(t),q=J&&(/Mobile\/\w+/.test(t)||navigator.maxTouchPoints>2),oe=/Android/.test(t),ce=q||oe||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(t),me=q||/Mac/.test(r),he=/\bCrOS\b/.test(t),V=/win/i.test(r),ae=L&&t.match(/Version\/(\d*\.\d*)/);ae&&(ae=Number(ae[1])),ae&&ae>=15&&(L=!1,C=!0);var ye=me&&(B||L&&(ae==null||ae<12.11)),Oe=i||h&&g>=9;function De(A){return new RegExp("(^|\\s)"+A+"(?:$|\\s)\\s*")}var He=function(A,f){var x=A.className,b=De(f).exec(x);if(b){var E=x.slice(b.index+b[0].length);A.className=x.slice(0,b.index)+(E?b[1]+E:"")}};function ke(A){for(var f=A.childNodes.length;f>0;--f)A.removeChild(A.firstChild);return A}function nt(A,f){return ke(A).appendChild(f)}function be(A,f,x,b){var E=document.createElement(A);if(x&&(E.className=x),b&&(E.style.cssText=b),typeof f=="string")E.appendChild(document.createTextNode(f));else if(f)for(var U=0;U<f.length;++U)E.appendChild(f[U]);return E}function Bt(A,f,x,b){var E=be(A,f,x,b);return E.setAttribute("role","presentation"),E}var kt;document.createRange?kt=function(A,f,x,b){var E=document.createRange();return E.setEnd(b||A,x),E.setStart(A,f),E}:kt=function(A,f,x){var b=document.body.createTextRange();try{b.moveToElementText(A.parentNode)}catch{return b}return b.collapse(!0),b.moveEnd("character",x),b.moveStart("character",f),b};function Yt(A,f){if(f.nodeType==3&&(f=f.parentNode),A.contains)return A.contains(f);do if(f.nodeType==11&&(f=f.host),f==A)return!0;while(f=f.parentNode)}function jt(A){var f=A.ownerDocument||A,x;try{x=A.activeElement}catch{x=f.body||null}for(;x&&x.shadowRoot&&x.shadowRoot.activeElement;)x=x.shadowRoot.activeElement;return x}function Xe(A,f){var x=A.className;De(f).test(x)||(A.className+=(x?" ":"")+f)}function rt(A,f){for(var x=A.split(" "),b=0;b<x.length;b++)x[b]&&!De(x[b]).test(f)&&(f+=" "+x[b]);return f}var ot=function(A){A.select()};q?ot=function(A){A.selectionStart=0,A.selectionEnd=A.value.length}:h&&(ot=function(A){try{A.select()}catch{}});function on(A){return A.display.wrapper.ownerDocument}function gt(A){return at(A.display.wrapper)}function at(A){return A.getRootNode?A.getRootNode():A.ownerDocument}function It(A){return on(A).defaultView}function Lt(A){var f=Array.prototype.slice.call(arguments,1);return function(){return A.apply(null,f)}}function Me(A,f,x){f||(f={});for(var b in A)A.hasOwnProperty(b)&&(x!==!1||!f.hasOwnProperty(b))&&(f[b]=A[b]);return f}function fe(A,f,x,b,E){f==null&&(f=A.search(/[^\s\u00a0]/),f==-1&&(f=A.length));for(var U=b||0,Y=E||0;;){var te=A.indexOf(" ",U);if(te<0||te>=f)return Y+(f-U);Y+=te-U,Y+=x-Y%x,U=te+1}}var xe=function(){this.id=null,this.f=null,this.time=0,this.handler=Lt(this.onTimeout,this)};xe.prototype.onTimeout=function(A){A.id=0,A.time<=+new Date?A.f():setTimeout(A.handler,A.time-+new Date)},xe.prototype.set=function(A,f){this.f=f;var x=+new Date+A;(!this.id||x<this.time)&&(clearTimeout(this.id),this.id=setTimeout(this.handler,A),this.time=x)};function Ue(A,f){for(var x=0;x<A.length;++x)if(A[x]==f)return x;return-1}var et=50,it={toString:function Line truncated
b`.split(/\n/).length!=3?function(A){for(var f=0,x=[],b=A.length;f<=b;){var E=A.indexOf(`
`,f);E==-1&&(E=A.length);var U=A.slice(f,A.charAt(E-1)=="\r"?E-1:E),Y=U.indexOf("\r");Y!=-1?(x.push(U.slice(0,Y)),f+=Y+1):(x.push(U),f=E+1)}return x}:function(A){return A.split(/\r\n?|\n/)},kr=window.getSelection?function(A){try{return A.selectionStart!=A.selectionEnd}catch{return!1}}:function(A){var f;try{f=A.ownerDocument.selection.createRange()}catch{}return!f||f.parentElement()!=A?!1:f.compareEndPoints("StartToEnd",f)!=0},jr=function(){var A=be("div");return"oncopy"in A?!0:(A.setAttribute("oncopy","return;"),typeof A.oncopy=="function")}(),Lr=null;function Wr(A){if(Lr!=null)return Lr;var f=nt(A,be("span","x")),x=f.getBoundingClientRect(),b=kt(f,0,1).getBoundingClientRect();return Lr=Math.abs(x.left-b.left)>1}var ir={},ui={};function Oi(A,f){arguments.length>2&&(f.dependencies=Array.prototype.slice.call(arguments,2)),ir[A]=f}function Yi(A,f){ui[A]=f}function _o(A){if(typeof A=="string"&&ui.hasOwnProperty(A))A=ui[A];else if(A&&typeof A.name=="string"&&ui.hasOwnProperty(A.name)){var f=ui[A.name];typeof f=="string"&&(f={name:f}),A=Gr(f,A),A.name=f.name}else{if(typeof A=="string"&&/^[\w\-]+\/[\w\-]+\+xml$/.test(A))return _o("application/xml");if(typeof A=="string"&&/^[\w\-]+\/[\w\-]+\+json$/.test(A))return _o("application/json")}return typeof A=="string"?{name:A}:A||{name:"null"}}function Jr(A,f){f=_o(f);var x=ir[f.name];if(!x)return Jr(A,"text/plain");var b=x(A,f);if(xo.hasOwnProperty(f.name)){var E=xo[f.name];for(var U in E)E.hasOwnProperty(U)&&(b.hasOwnProperty(U)&&(b["_"+U]=b[U]),b[U]=E[U])}if(b.name=f.name,f.helperType&&(b.helperType=f.helperType),f.modeProps)for(var Y in f.modeProps)b[Y]=f.modeProps[Y];return b}var xo={};function Wa(A,f){var x=xo.hasOwnProperty(A)?xo[A]:xo[A]={};Me(f,x)}function Ba(A,f){if(f===!0)return f;if(A.copyState)return A.copyState(f);var x={};for(var b in f){var E=f[b];E instanceof Array&&(E=E.concat([])),x[b]=E}return x}function bi(A,f){for(var x;A.innerMode&&(x=A.innerMode(f),!(!x||x.mode==A));)f=x.state,A=x.mode;return x||{mode:A,state:f}}function os(A,f,x){return A.startState?A.startState(f,x):!0}var hi=function(A,f,x){this.pos=this.start=0,this.string=A,this.tabSize=f||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=x};hi.prototype.eol=function(){return this.pos>=this.string.length},hi.prototype.sol=function(){return this.pos==this.lineStart},hi.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},hi.prototype.next=function(){if(this.pos<this.string.length)return this.string.charAt(this.pos++)},hi.prototype.eat=function(A){var f=this.string.charAt(this.pos),x;if(typeof A=="string"?x=f==A:x=f&&(A.test?A.test(f):A(f)),x)return++this.pos,f},hi.prototype.eatWhile=function(A){for(var f=this.pos;this.eat(A););return this.pos>f},hi.prototype.eatSpace=function(){for(var A=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>A},hi.prototype.skipToEnd=function(){this.pos=this.string.length},hi.prototype.skipTo=function(A){var f=this.string.indexOf(A,this.pos);if(f>-1)return this.pos=f,!0},hi.prototype.backUp=function(A){this.pos-=A},hi.prototype.column=function(){return this.lastColumnPos<this.start&&(this.lastColumnValue=fe(this.string,this.start,this.tabSize,this.lastColumnPos,this.lastColumnValue),this.lastColumnPos=this.start),this.lastColumnValue-(this.lineStart?fe(this.string,this.lineStart,this.tabSize):0)},hi.prototype.indentation=function(){return fe(this.string,null,this.tabSize)-(this.lineStart?fe(this.string,this.lineStart,this.tabSize):0)},hi.prototype.match=function(A,f,x){if(typeof A=="string"){var b=function(Y){return x?Y.toLowerCase():Y},E=this.string.substr(this.pos,A.length);if(b(E)==b(A))return f!==!1&&(this.pos+=A.length),!0}else{var U=this.string.slice(this.pos).match(A);return U&&U.index>0?null:(U&&f!==!1&&(this.pos+=U[0].length),U)}},hi.prototype.current=function(){return this.string.slice(this.start,this.pos)},hi.prototype.hideFirstChars=function(A,f){this.lineStart+=A;try{return f()}finally{this.lineStart-=A}},hi.prototype.lookAhead=function(A){var f=this.lineOracle;return f&&f.lookAhead(A)},hi.prototype.baseToken=function(){var A=this.lineOracle;return A&&A.baseToken(this.pos)};function Wn(A,f){if(f-=A.first,f<0||f>=A.size)throw new Error("There is no line "+(f+A.first)+" in the document.");for(var x=A;!x.lines;)for(var b=0;;++b){var E=x.children[b],U=E.chunkSize();if(f<U){x=E;break}f-=U}return x.lines[f]}function eo(A,f,x){var b=[],E=f.line;return A.iter(f.line,x.line+1,function(U){var Y=U.text;E==x.line&&(Y=Y.slice(0,x.ch)),E==f.line&&(Y=Y.slice(f.ch)),b.push(Y),++E}),b}function io(A,f,x){var b=[];return A.iter(f,x,function(E){b.push(E.text)}),b}function qi(A,f){var x=f-A.height;if(x)for(var b=A;b;b=b.parent)b.height+=x}function ve(A){if(A.parent==null)return null;for(var f=A.parent,x=Ue(f.lines,A),b=f.parent;b;f=b,b=b.parent)for(var E=0;b.children[E]!=f;++E)x+=b.children[E].chunkSize();return x+f.first}function Ye(A,f){var x=A.first;e:do{for(var b=0;b<A.children.length;++b){ Line truncated
`,f);E==-1&&(E=A.length);var U=A.slice(f,A.charAt(E-1)=="\r"?E-1:E),Y=U.indexOf("\r");Y!=-1?(x.push(U.slice(0,Y)),f+=Y+1):(x.push(U),f=E+1)}return x}:function(A){return A.split(/\r\n?|\n/)},kr=window.getSelection?function(A){try{return A.selectionStart!=A.selectionEnd}catch{return!1}}:function(A){var f;try{f=A.ownerDocument.selection.createRange()}catch{}return!f||f.parentElement()!=A?!1:f.compareEndPoints("StartToEnd",f)!=0},jr=function(){var A=be("div");return"oncopy"in A?!0:(A.setAttribute("oncopy","return;"),typeof A.oncopy=="function")}(),Lr=null;function Wr(A){if(Lr!=null)return Lr;var f=nt(A,be("span","x")),x=f.getBoundingClientRect(),b=kt(f,0,1).getBoundingClientRect();return Lr=Math.abs(x.left-b.left)>1}var ir={},ui={};function Oi(A,f){arguments.length>2&&(f.dependencies=Array.prototype.slice.call(arguments,2)),ir[A]=f}function Yi(A,f){ui[A]=f}function _o(A){if(typeof A=="string"&&ui.hasOwnProperty(A))A=ui[A];else if(A&&typeof A.name=="string"&&ui.hasOwnProperty(A.name)){var f=ui[A.name];typeof f=="string"&&(f={name:f}),A=Gr(f,A),A.name=f.name}else{if(typeof A=="string"&&/^[\w\-]+\/[\w\-]+\+xml$/.test(A))return _o("application/xml");if(typeof A=="string"&&/^[\w\-]+\/[\w\-]+\+json$/.test(A))return _o("application/json")}return typeof A=="string"?{name:A}:A||{name:"null"}}function Jr(A,f){f=_o(f);var x=ir[f.name];if(!x)return Jr(A,"text/plain");var b=x(A,f);if(xo.hasOwnProperty(f.name)){var E=xo[f.name];for(var U in E)E.hasOwnProperty(U)&&(b.hasOwnProperty(U)&&(b["_"+U]=b[U]),b[U]=E[U])}if(b.name=f.name,f.helperType&&(b.helperType=f.helperType),f.modeProps)for(var Y in f.modeProps)b[Y]=f.modeProps[Y];return b}var xo={};function Wa(A,f){var x=xo.hasOwnProperty(A)?xo[A]:xo[A]={};Me(f,x)}function Ba(A,f){if(f===!0)return f;if(A.copyState)return A.copyState(f);var x={};for(var b in f){var E=f[b];E instanceof Array&&(E=E.concat([])),x[b]=E}return x}function bi(A,f){for(var x;A.innerMode&&(x=A.innerMode(f),!(!x||x.mode==A));)f=x.state,A=x.mode;return x||{mode:A,state:f}}function os(A,f,x){return A.startState?A.startState(f,x):!0}var hi=function(A,f,x){this.pos=this.start=0,this.string=A,this.tabSize=f||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=x};hi.prototype.eol=function(){return this.pos>=this.string.length},hi.prototype.sol=function(){return this.pos==this.lineStart},hi.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},hi.prototype.next=function(){if(this.pos<this.string.length)return this.string.charAt(this.pos++)},hi.prototype.eat=function(A){var f=this.string.charAt(this.pos),x;if(typeof A=="string"?x=f==A:x=f&&(A.test?A.test(f):A(f)),x)return++this.pos,f},hi.prototype.eatWhile=function(A){for(var f=this.pos;this.eat(A););return this.pos>f},hi.prototype.eatSpace=function(){for(var A=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>A},hi.prototype.skipToEnd=function(){this.pos=this.string.length},hi.prototype.skipTo=function(A){var f=this.string.indexOf(A,this.pos);if(f>-1)return this.pos=f,!0},hi.prototype.backUp=function(A){this.pos-=A},hi.prototype.column=function(){return this.lastColumnPos<this.start&&(this.lastColumnValue=fe(this.string,this.start,this.tabSize,this.lastColumnPos,this.lastColumnValue),this.lastColumnPos=this.start),this.lastColumnValue-(this.lineStart?fe(this.string,this.lineStart,this.tabSize):0)},hi.prototype.indentation=function(){return fe(this.string,null,this.tabSize)-(this.lineStart?fe(this.string,this.lineStart,this.tabSize):0)},hi.prototype.match=function(A,f,x){if(typeof A=="string"){var b=function(Y){return x?Y.toLowerCase():Y},E=this.string.substr(this.pos,A.length);if(b(E)==b(A))return f!==!1&&(this.pos+=A.length),!0}else{var U=this.string.slice(this.pos).match(A);return U&&U.index>0?null:(U&&f!==!1&&(this.pos+=U[0].length),U)}},hi.prototype.current=function(){return this.string.slice(this.start,this.pos)},hi.prototype.hideFirstChars=function(A,f){this.lineStart+=A;try{return f()}finally{this.lineStart-=A}},hi.prototype.lookAhead=function(A){var f=this.lineOracle;return f&&f.lookAhead(A)},hi.prototype.baseToken=function(){var A=this.lineOracle;return A&&A.baseToken(this.pos)};function Wn(A,f){if(f-=A.first,f<0||f>=A.size)throw new Error("There is no line "+(f+A.first)+" in the document.");for(var x=A;!x.lines;)for(var b=0;;++b){var E=x.children[b],U=E.chunkSize();if(f<U){x=E;break}f-=U}return x.lines[f]}function eo(A,f,x){var b=[],E=f.line;return A.iter(f.line,x.line+1,function(U){var Y=U.text;E==x.line&&(Y=Y.slice(0,x.ch)),E==f.line&&(Y=Y.slice(f.ch)),b.push(Y),++E}),b}function io(A,f,x){var b=[];return A.iter(f,x,function(E){b.push(E.text)}),b}function qi(A,f){var x=f-A.height;if(x)for(var b=A;b;b=b.parent)b.height+=x}function ve(A){if(A.parent==null)return null;for(var f=A.parent,x=Ue(f.lines,A),b=f.parent;b;f=b,b=b.parent)for(var E=0;b.children[E]!=f;++E)x+=b.children[E].chunkSize();return x+f.first}function Ye(A,f){var x=A.first;e:do{for(var b=0;b<A.children.length;++b){ Line truncated
`?(hn=Qe.appendChild(be("span",Mt[0]=="\r"?"␍":"␤","cm-invalidchar")),hn.setAttribute("cm-text",Mt[0]),A.col+=1):(hn=A.cm.options.specialCharPlaceholder(Mt[0]),hn.setAttribute("cm-text",Mt[0]),h&&g<9?Qe.appendChild(be("span",[hn])):Qe.appendChild(hn),A.col+=1);A.map.push(A.pos,A.pos+1,hn),A.pos++}}if(A.trailingSpace=te.charCodeAt(f.length-1)==32,x||b||E||ge||U||Y){var xn=x||"";b&&(xn+=b),E&&(xn+=E);var Ln=be("span",[Qe],xn,U);if(Y)for(var sr in Y)Y.hasOwnProperty(sr)&&sr!="style"&&sr!="class"&&Ln.setAttribute(sr,Y[sr]);return A.content.appendChild(Ln)}A.content.appendChild(Qe)}}function IA(A,f){if(A.length>1&&!/ /.test(A))return A;for(var x=f,b="",E=0;E<A.length;E++){var U=A.charAt(E);U==" "&&x&&(E==A.length-1||A.charCodeAt(E+1)==32)&&(U=" "),b+=U,x=U==" "}return b}function Xo(A,f){return function(x,b,E,U,Y,te,le){E=E?E+" cm-force-border":"cm-force-border";for(var ge=x.pos,Qe=ge+b.length;;){for(var Je=void 0,Mt=0;Mt<f.length&&(Je=f[Mt],!(Je.to>ge&&Je.from<=ge));Mt++);if(Je.to>=Qe)return A(x,b,E,U,Y,te,le);A(x,b.slice(0,Je.to-ge),E,U,null,te,le),U=null,b=b.slice(Je.to-ge),ge=Je.to}}}function zu(A,f,x,b){var E=!b&&x.widgetNode;E&&A.map.push(A.pos,A.pos+f,E),!b&&A.cm.display.input.needsContentAttribute&&(E||(E=A.content.appendChild(document.createElement("span"))),E.setAttribute("cm-marker",x.id)),E&&(A.cm.display.input.setUneditable(E),A.content.appendChild(E)),A.pos+=f,A.trailingSpace=!1}function Od(A,f,x){var b=A.markedSpans,E=A.text,U=0;if(!b){for(var Y=1;Y<x.length;Y+=2)f.addToken(f,E.slice(U,U=x[Y]),mh(x[Y+1],f.cm.options));return}for(var te=E.length,le=0,ge=1,Qe="",Je,Mt,yt=0,zt,hn,kn,Yn,xn;;){if(yt==le){zt=hn=kn=Mt="",xn=null,Yn=null,yt=1/0;for(var Ln=[],sr=void 0,Kr=0;Kr<b.length;++Kr){var _r=b[Kr],Ai=_r.marker;if(Ai.type=="bookmark"&&_r.from==le&&Ai.widgetNode)Ln.push(Ai);else if(_r.from<=le&&(_r.to==null||_r.to>le||Ai.collapsed&&_r.to==le&&_r.from==le)){if(_r.to!=null&&_r.to!=le&&yt>_r.to&&(yt=_r.to,hn=""),Ai.className&&(zt+=" "+Ai.className),Ai.css&&(Mt=(Mt?Mt+";":"")+Ai.css),Ai.startStyle&&_r.from==le&&(kn+=" "+Ai.startStyle),Ai.endStyle&&_r.to==yt&&(sr||(sr=[])).push(Ai.endStyle,_r.to),Ai.title&&((xn||(xn={})).title=Ai.title),Ai.attributes)for(var Uo in Ai.attributes)(xn||(xn={}))[Uo]=Ai.attributes[Uo];Ai.collapsed&&(!Yn||Le(Yn.marker,Ai)<0)&&(Yn=_r)}else _r.from>le&&yt>_r.from&&(yt=_r.from)}if(sr)for(var qa=0;qa<sr.length;qa+=2)sr[qa+1]==yt&&(hn+=" "+sr[qa]);if(!Yn||Yn.from==le)for(var ba=0;ba<Ln.length;++ba)zu(f,0,Ln[ba]);if(Yn&&(Yn.from||0)==le){if(zu(f,(Yn.to==null?te+1:Yn.to)-le,Yn.marker,Yn.from==null),Yn.to==null)return;Yn.to==le&&(Yn=!1)}}if(le>=te)break;for(var Ua=Math.min(te,yt);;){if(Qe){var us=le+Qe.length;if(!Yn){var As=us>Ua?Qe.slice(0,Ua-le):Qe;f.addToken(f,As,Je?Je+zt:zt,kn,le+As.length==yt?hn:"",Mt,xn)}if(us>=Ua){Qe=Qe.slice(Ua-le),le=Ua;break}le=us,kn=""}Qe=E.slice(U,U=x[ge++]),Je=mh(x[ge++],f.cm.options)}}}function TA(A,f,x){this.line=f,this.rest=Bi(f),this.size=this.rest?ve(vn(this.rest))-x+1:1,this.node=this.text=null,this.hidden=Hr(A,f)}function lc(A,f,x){for(var b=[],E,U=f;U<x;U=E){var Y=new TA(A.doc,Wn(A.doc,U),U);E=U+Y.size,b.push(Y)}return b}var yu=null;function Gc(A){yu?yu.ops.push(A):A.ownsGroup=yu={ops:[A],delayedCallbacks:[]}}function kp(A){var f=A.delayedCallbacks,x=0;do{for(;x<f.length;x++)f[x].call(null);for(var b=0;b<A.ops.length;b++){var E=A.ops[b];if(E.cursorActivityHandlers)for(;E.cursorActivityCalled<E.cursorActivityHandlers.length;)E.cursorActivityHandlers[E.cursorActivityCalled++].call(null,E.cm)}}while(x<f.length)}function gh(A,f){var x=A.ownsGroup;if(x)try{kp(x)}finally{yu=null,f(x)}}var wi=null;function No(A,f){var x=Dr(A,f);if(x.length){var b=Array.prototype.slice.call(arguments,2),E;yu?E=yu.delayedCallbacks:wi?E=wi:(E=wi=[],setTimeout(Hm,0));for(var U=function(te){E.push(function(){return x[te].apply(null,b)})},Y=0;Y<x.length;++Y)U(Y)}}function Hm(){var A=wi;wi=null;for(var f=0;f<A.length;++f)A[f]()}function yh(A,f,x,b){for(var E=0;E<f.changes.length;E++){var U=f.changes[E];U=="text"?Li(A,f):U=="gutter"?To(A,f,x,b):U=="class"?Bd(A,f):U=="widget"&&Mo(A,f,b)}f.changes=null}function ju(A){return A.node==A.text&&(A.node=be("div",null,null,"position: relative"),A.text.parentNode&&A.text.parentNode.replaceChild(A.node,A.text),A.node.appendChild(A.text),h&&g<8&&(A.node.style.zIndex=2)),A.node}function ya(A,f){var x=f.bgClass?f.bgClass+" "+(f.line.bgClass||""):f.line.bgClass;if(x&&(x+=" CodeMirror-linebackground"),f.background)x?f.background.className=x:(f.background.parentNode.removeChild(f.background),f.background=null);else if(x){var b=ju(f);f.background=b.insertBefore(be("div",null,x),b.firstChild),A.display.input.setUneditable(f.background)}}function vh(A,f){var x=A.display.externalMeasured;return x&&x.line==f.line?(A.display.externalMeasured=null,f.measure=x.measure,x.built):Wc(A,f)}function Li(A,f){var x=f.text.className,b=vh(A,f);f.text==f.node&&(f.node=b.pre),f.text.parentNode.replaceChild(b.pre,f.text),f.text=b.pre,b.bgClass!=f.bgClass||b.text Line truncated
top: `+sr+"px; width: "+(Kr??le-Ln)+`px;
height: `+(_r-sr)+"px"))}function Je(Ln,sr,Kr){var _r=Wn(E,Ln),Ai=_r.text.length,Uo,qa;function ba(As,Ol){return ln(A,Ft(Ln,As),"div",_r,Ol)}function Ua(As,Ol,el){var ws=yo(A,_r,null,As),cs=Ol=="ltr"==(el=="after")?"left":"right",ca=el=="after"?ws.begin:ws.end-(/\s/.test(_r.text.charAt(ws.end-1))?2:1);return ba(ca,cs)[cs]}var us=En(_r,E.direction);return Et(us,sr||0,Kr??Ai,function(As,Ol,el,ws){var cs=el=="ltr",ca=ba(As,cs?"left":"right"),Ms=ba(Ol-1,cs?"right":"left"),Hd=sr==null&&As==0,GA=Kr==null&&Ol==Ai,zs=ws==0,QA=!us||ws==us.length-1;if(Ms.top-ca.top<=3){var js=(ge?Hd:GA)&&zs,l0=(ge?GA:Hd)&&QA,yA=js?te:(cs?ca:Ms).left,wc=l0?le:(cs?Ms:ca).right;Qe(yA,ca.top,wc-yA,ca.bottom)}else{var Ha,tl,Vd,$A;cs?(Ha=ge&&Hd&&zs?te:ca.left,tl=ge?le:Ua(As,el,"before"),Vd=ge?te:Ua(Ol,el,"after"),$A=ge&&GA&&QA?le:Ms.right):(Ha=ge?Ua(As,el,"before"):te,tl=!ge&&Hd&&zs?le:ca.right,Vd=!ge&&GA&&QA?te:Ms.left,$A=ge?Ua(Ol,el,"after"):le),Qe(Ha,ca.top,tl-Ha,ca.bottom),ca.bottom<Ms.top&&Qe(te,ca.bottom,null,Ms.top),Qe(Vd,Ms.top,$A-Vd,Ms.bottom)}(!Uo||LA(ca,Uo)<0)&&(Uo=ca),LA(Ms,Uo)<0&&(Uo=Ms),(!qa||LA(ca,qa)<0)&&(qa=ca),LA(Ms,qa)<0&&(qa=Ms)}),{start:Uo,end:qa}}var Mt=f.from(),yt=f.to();if(Mt.line==yt.line)Je(Mt.line,Mt.ch,yt.ch);else{var zt=Wn(E,Mt.line),hn=Wn(E,yt.line),kn=yr(zt)==yr(hn),Yn=Je(Mt.line,Mt.ch,kn?zt.text.length+1:null).end,xn=Je(yt.line,kn?0:null,yt.ch).start;kn&&(Yn.top<xn.top-2?(Qe(Yn.right,Yn.top,null,Yn.bottom),Qe(te,xn.top,xn.left,xn.bottom)):Qe(Yn.right,Yn.top,xn.left-Yn.right,Yn.bottom)),Yn.bottom<xn.top&&Qe(te,Yn.bottom,null,xn.top)}x.appendChild(U)}function Nu(A){if(A.state.focused){var f=A.display;clearInterval(f.blinker);var x=!0;f.cursorDiv.style.visibility="",A.options.cursorBlinkRate>0?f.blinker=setInterval(function(){A.hasFocus()||fc(A),f.cursorDiv.style.visibility=(x=!x)?"":"hidden"},A.options.cursorBlinkRate):A.options.cursorBlinkRate<0&&(f.cursorDiv.style.visibility="hidden")}}function xu(A){A.hasFocus()||(A.display.input.focus(),A.state.focused||Tf(A))}function UA(A){A.state.delayingBlurEvent=!0,setTimeout(function(){A.state.delayingBlurEvent&&(A.state.delayingBlurEvent=!1,A.state.focused&&fc(A))},100)}function Tf(A,f){A.state.delayingBlurEvent&&!A.state.draggingText&&(A.state.delayingBlurEvent=!1),A.options.readOnly!="nocursor"&&(A.state.focused||(Fe(A,"focus",A,f),A.state.focused=!0,Xe(A.display.wrapper,"CodeMirror-focused"),!A.curOp&&A.display.selForContextMenu!=A.doc.sel&&(A.display.input.reset(),C&&setTimeout(function(){return A.display.input.reset(!0)},20)),A.display.input.receivedFocus()),Nu(A))}function fc(A,f){A.state.delayingBlurEvent||(A.state.focused&&(Fe(A,"blur",A,f),A.state.focused=!1,He(A.display.wrapper,"CodeMirror-focused")),clearInterval(A.display.blinker),setTimeout(function(){A.state.focused||(A.display.shift=!1)},150))}function Gu(A){for(var f=A.display,x=f.lineDiv.offsetTop,b=Math.max(0,f.scroller.getBoundingClientRect().top),E=f.lineDiv.getBoundingClientRect().top,U=0,Y=0;Y<f.view.length;Y++){var te=f.view[Y],le=A.options.lineWrapping,ge=void 0,Qe=0;if(!te.hidden){if(E+=te.line.height,h&&g<8){var Je=te.node.offsetTop+te.node.offsetHeight;ge=Je-x,x=Je}else{var Mt=te.node.getBoundingClientRect();ge=Mt.bottom-Mt.top,!le&&te.text.firstChild&&(Qe=te.text.firstChild.getBoundingClientRect().right-Mt.left-1)}var yt=te.line.height-ge;if((yt>.005||yt<-.005)&&(E<b&&(U-=yt),qi(te.line,ge),So(te.line),te.rest))for(var zt=0;zt<te.rest.length;zt++)So(te.rest[zt]);if(Qe>A.display.sizerWidth){var hn=Math.ceil(Qe/Cu(A.display));hn>A.display.maxLineLength&&(A.display.maxLineLength=hn,A.display.maxLine=te.line,A.display.maxLineChanged=!0)}}}Math.abs(U)>2&&(f.scroller.scrollTop+=U)}function So(A){if(A.widgets)for(var f=0;f<A.widgets.length;++f){var x=A.widgets[f],b=x.node.parentNode;b&&(x.height=b.offsetHeight)}}function wu(A,f,x){var b=x&&x.top!=null?Math.max(0,x.top):A.scroller.scrollTop;b=Math.floor(b-KA(A));var E=x&&x.bottom!=null?x.bottom:b+A.wrapper.clientHeight,U=Ye(f,b),Y=Ye(f,E);if(x&&x.ensure){var te=x.ensure.from.line,le=x.ensure.to.line;te<U?(U=te,Y=Ye(f,Io(Wn(f,te))+A.wrapper.clientHeight)):Math.min(le,f.lastLine())>=Y&&(U=Ye(f,Io(Wn(f,le))-A.wrapper.clientHeight),Y=le)}return{from:U,to:Math.max(Y,U+1)}}function Hc(A,f){if(!de(A,"scrollCursorIntoView")){var x=A.display,b=x.sizer.getBoundingClientRect(),E=null,U=x.wrapper.ownerDocument;if(f.top+b.top<0?E=!0:f.bottom+b.top>(U.defaultView.innerHeight||U.documentElement.clientHeight)&&(E=!1),E!=null&&!$){var Y=be("div","​",null,`position: absolute;
top: `+(f.top-x.viewOffset-KA(A.display))+`px;
height: `+(f.bottom-f.top+vu(A)+x.barHeight)+`px;
left: `+f.left+"px; width: "+Math.max(2,f.right-f.left)+"px;");A.display.lineSpace.appendChild(Y),Y.scrollIntoView(E),A.display.lineSpace.removeChild(Y)}}}function Tp(A,f,x,b){b==null&&(b=0);var E;!A.options.lineWrapping&&f==x&&(x=f.sticky=="before"?Ft(f.line,f.ch+1,"before"):f,f=f.ch?Ft(f.line,f.sticky=="before"?f.ch-1:f.ch,"after"):f);for(var U=0;U<5;U++){var Y=!1,te=Wt(A,f),le=!x||x==f?te:Wt(A,x);E={left:Math.min(te.left,le.left),top:Math.min(te.top,le.top)-b,right:Math.max(te.left,le.left),bottom:Math.max(te.bottom,le.bottom)+b};var ge=Pd(A,E),Qe=A.doc.scrollTop,Je=A.doc.scrollLeft;if(ge.scrollTop!=null&&(pc(A,ge.scrollTop),Math.abs(A.doc.scrollTop-Qe)>1&&(Y=!0)),ge.scrollLeft!=null&&(Jo(A,ge.scrollLeft),Math.abs(A.doc.scrollLeft-Je)>1&&(Y=!0)),!Y)break}return E}function Kf(A,f){var x=Pd(A,f);x.scrollTop!=null&&pc(A,x.scrollTop),x.scrollLeft!=null&&Jo(A,x.scrollLeft)}function Pd(A,f){var x=A.display,b=la(A.display);f.top<0&&(f.top=0);var E=A.curOp&&A.curOp.scrollTop!=null?A.curOp.scrollTop:x.scroller.scrollTop,U=$c(A),Y={};f.bottom-f.top>U&&(f.bottom=f.top+U);var te=A.doc.height+Ch(x),le=f.top<b,ge=f.bottom>te-b;if(f.top<E)Y.scrollTop=le?0:f.top;else if(f.bottom>E+U){var Qe=Math.min(f.top,(ge?te:f.bottom)-U);Qe!=E&&(Y.scrollTop=Qe)}var Je=A.options.fixedGutter?0:x.gutters.offsetWidth,Mt=A.curOp&&A.curOp.scrollLeft!=null?A.curOp.scrollLeft:x.scroller.scrollLeft-Je,yt=Wu(A)-x.gutters.offsetWidth,zt=f.right-f.left>yt;return zt&&(f.right=f.left+yt),f.left<10?Y.scrollLeft=0:f.left<Mt?Y.scrollLeft=Math.max(0,f.left+Je-(zt?0:10)):f.right>yt+Mt-3&&(Y.scrollLeft=f.right+(zt?0:10)-yt),Y}function Mh(A,f){f!=null&&(Tr(A),A.curOp.scrollTop=(A.curOp.scrollTop==null?A.doc.scrollTop:A.curOp.scrollTop)+f)}function so(A){Tr(A);var f=A.getCursor();A.curOp.scrollToPos={from:f,to:f,margin:A.options.cursorScrollMargin}}function ua(A,f,x){(f!=null||x!=null)&&Tr(A),f!=null&&(A.curOp.scrollLeft=f),x!=null&&(A.curOp.scrollTop=x)}function vr(A,f){Tr(A),A.curOp.scrollToPos=f}function Tr(A){var f=A.curOp.scrollToPos;if(f){A.curOp.scrollToPos=null;var x=hr(A,f.from),b=hr(A,f.to);RA(A,x,b,f.margin)}}function RA(A,f,x,b){var E=Pd(A,{left:Math.min(f.left,x.left),top:Math.min(f.top,x.top)-b,right:Math.max(f.right,x.right),bottom:Math.max(f.bottom,x.bottom)+b});ua(A,E.scrollLeft,E.scrollTop)}function pc(A,f){Math.abs(A.doc.scrollTop-f)<2||(i||El(A,{top:f}),Vc(A,f,!0),i&&El(A),mc(A,100))}function Vc(A,f,x){f=Math.max(0,Math.min(A.display.scroller.scrollHeight-A.display.scroller.clientHeight,f)),!(A.display.scroller.scrollTop==f&&!x)&&(A.doc.scrollTop=f,A.display.scrollbars.setScrollTop(f),A.display.scroller.scrollTop!=f&&(A.display.scroller.scrollTop=f))}function Jo(A,f,x,b){f=Math.max(0,Math.min(f,A.display.scroller.scrollWidth-A.display.scroller.clientWidth)),!((x?f==A.doc.scrollLeft:Math.abs(A.doc.scrollLeft-f)<2)&&!b)&&(A.doc.scrollLeft=f,p(A),A.display.scroller.scrollLeft!=f&&(A.display.scroller.scrollLeft=f),A.display.scrollbars.setScrollLeft(f))}function fA(A){var f=A.display,x=f.gutters.offsetWidth,b=Math.round(A.doc.height+Ch(A.display));return{clientHeight:f.scroller.clientHeight,viewHeight:f.wrapper.clientHeight,scrollWidth:f.scroller.scrollWidth,clientWidth:f.scroller.clientWidth,viewWidth:f.wrapper.clientWidth,barLeft:A.options.fixedGutter?x:0,docHeight:b,scrollHeight:b+vu(A)+f.barHeight,nativeBarWidth:f.nativeBarWidth,gutterWidth:x}}var Ia=function(A,f,x){this.cm=x;var b=this.vert=be("div",[be("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),E=this.horiz=be("div",[be("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");b.tabIndex=E.tabIndex=-1,A(b),A(E),Kt(b,"scroll",function(){b.clientHeight&&f(b.scrollTop,"vertical")}),Kt(E,"scroll",function(){E.clientWidth&&f(E.scrollLeft,"horizontal")}),this.checkedZeroWidth=!1,h&&g<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")};Ia.prototype.update=function(A){var f=A.scrollWidth>A.clientWidth+1,x=A.scrollHeight>A.clientHeight+1,b=A.nativeBarWidth;if(x){this.vert.style.display="block",this.vert.style.bottom=f?b+"px":"0";var E=A.viewHeight-(f?b:0);this.vert.firstChild.style.height=Math.max(0,A.scrollHeight-A.clientHeight+E)+"px"}else this.vert.scrollTop=0,this.vert.style.display="",this.vert.firstChild.style.height="0";if(f){this.horiz.style.display="block",this.horiz.style.right=x?b+"px":"0",this.horiz.style.left=A.barLeft+"px";var U=A.viewWidth-A.barLeft-(x?b:0);this.horiz.firstChild.style.width=Math.max(0,A.scrollWidth-A.clientWidth+U)+"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:x?b:0,bottom:f?b:0}},Ia.prototype.setScrollLeft=function(A){this.horiz.scrollLeft!=A&&(this.horiz.scrollLeft=A),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,"horiz")},Ia.prototype.setScrollTop=function(A){this.vert.scrollTop!=A&&(this.vert.scrollTop=A),this.disableVert&& Line truncated
left: `+f.left+"px; width: "+Math.max(2,f.right-f.left)+"px;");A.display.lineSpace.appendChild(Y),Y.scrollIntoView(E),A.display.lineSpace.removeChild(Y)}}}function Tp(A,f,x,b){b==null&&(b=0);var E;!A.options.lineWrapping&&f==x&&(x=f.sticky=="before"?Ft(f.line,f.ch+1,"before"):f,f=f.ch?Ft(f.line,f.sticky=="before"?f.ch-1:f.ch,"after"):f);for(var U=0;U<5;U++){var Y=!1,te=Wt(A,f),le=!x||x==f?te:Wt(A,x);E={left:Math.min(te.left,le.left),top:Math.min(te.top,le.top)-b,right:Math.max(te.left,le.left),bottom:Math.max(te.bottom,le.bottom)+b};var ge=Pd(A,E),Qe=A.doc.scrollTop,Je=A.doc.scrollLeft;if(ge.scrollTop!=null&&(pc(A,ge.scrollTop),Math.abs(A.doc.scrollTop-Qe)>1&&(Y=!0)),ge.scrollLeft!=null&&(Jo(A,ge.scrollLeft),Math.abs(A.doc.scrollLeft-Je)>1&&(Y=!0)),!Y)break}return E}function Kf(A,f){var x=Pd(A,f);x.scrollTop!=null&&pc(A,x.scrollTop),x.scrollLeft!=null&&Jo(A,x.scrollLeft)}function Pd(A,f){var x=A.display,b=la(A.display);f.top<0&&(f.top=0);var E=A.curOp&&A.curOp.scrollTop!=null?A.curOp.scrollTop:x.scroller.scrollTop,U=$c(A),Y={};f.bottom-f.top>U&&(f.bottom=f.top+U);var te=A.doc.height+Ch(x),le=f.top<b,ge=f.bottom>te-b;if(f.top<E)Y.scrollTop=le?0:f.top;else if(f.bottom>E+U){var Qe=Math.min(f.top,(ge?te:f.bottom)-U);Qe!=E&&(Y.scrollTop=Qe)}var Je=A.options.fixedGutter?0:x.gutters.offsetWidth,Mt=A.curOp&&A.curOp.scrollLeft!=null?A.curOp.scrollLeft:x.scroller.scrollLeft-Je,yt=Wu(A)-x.gutters.offsetWidth,zt=f.right-f.left>yt;return zt&&(f.right=f.left+yt),f.left<10?Y.scrollLeft=0:f.left<Mt?Y.scrollLeft=Math.max(0,f.left+Je-(zt?0:10)):f.right>yt+Mt-3&&(Y.scrollLeft=f.right+(zt?0:10)-yt),Y}function Mh(A,f){f!=null&&(Tr(A),A.curOp.scrollTop=(A.curOp.scrollTop==null?A.doc.scrollTop:A.curOp.scrollTop)+f)}function so(A){Tr(A);var f=A.getCursor();A.curOp.scrollToPos={from:f,to:f,margin:A.options.cursorScrollMargin}}function ua(A,f,x){(f!=null||x!=null)&&Tr(A),f!=null&&(A.curOp.scrollLeft=f),x!=null&&(A.curOp.scrollTop=x)}function vr(A,f){Tr(A),A.curOp.scrollToPos=f}function Tr(A){var f=A.curOp.scrollToPos;if(f){A.curOp.scrollToPos=null;var x=hr(A,f.from),b=hr(A,f.to);RA(A,x,b,f.margin)}}function RA(A,f,x,b){var E=Pd(A,{left:Math.min(f.left,x.left),top:Math.min(f.top,x.top)-b,right:Math.max(f.right,x.right),bottom:Math.max(f.bottom,x.bottom)+b});ua(A,E.scrollLeft,E.scrollTop)}function pc(A,f){Math.abs(A.doc.scrollTop-f)<2||(i||El(A,{top:f}),Vc(A,f,!0),i&&El(A),mc(A,100))}function Vc(A,f,x){f=Math.max(0,Math.min(A.display.scroller.scrollHeight-A.display.scroller.clientHeight,f)),!(A.display.scroller.scrollTop==f&&!x)&&(A.doc.scrollTop=f,A.display.scrollbars.setScrollTop(f),A.display.scroller.scrollTop!=f&&(A.display.scroller.scrollTop=f))}function Jo(A,f,x,b){f=Math.max(0,Math.min(f,A.display.scroller.scrollWidth-A.display.scroller.clientWidth)),!((x?f==A.doc.scrollLeft:Math.abs(A.doc.scrollLeft-f)<2)&&!b)&&(A.doc.scrollLeft=f,p(A),A.display.scroller.scrollLeft!=f&&(A.display.scroller.scrollLeft=f),A.display.scrollbars.setScrollLeft(f))}function fA(A){var f=A.display,x=f.gutters.offsetWidth,b=Math.round(A.doc.height+Ch(A.display));return{clientHeight:f.scroller.clientHeight,viewHeight:f.wrapper.clientHeight,scrollWidth:f.scroller.scrollWidth,clientWidth:f.scroller.clientWidth,viewWidth:f.wrapper.clientWidth,barLeft:A.options.fixedGutter?x:0,docHeight:b,scrollHeight:b+vu(A)+f.barHeight,nativeBarWidth:f.nativeBarWidth,gutterWidth:x}}var Ia=function(A,f,x){this.cm=x;var b=this.vert=be("div",[be("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),E=this.horiz=be("div",[be("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");b.tabIndex=E.tabIndex=-1,A(b),A(E),Kt(b,"scroll",function(){b.clientHeight&&f(b.scrollTop,"vertical")}),Kt(E,"scroll",function(){E.clientWidth&&f(E.scrollLeft,"horizontal")}),this.checkedZeroWidth=!1,h&&g<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")};Ia.prototype.update=function(A){var f=A.scrollWidth>A.clientWidth+1,x=A.scrollHeight>A.clientHeight+1,b=A.nativeBarWidth;if(x){this.vert.style.display="block",this.vert.style.bottom=f?b+"px":"0";var E=A.viewHeight-(f?b:0);this.vert.firstChild.style.height=Math.max(0,A.scrollHeight-A.clientHeight+E)+"px"}else this.vert.scrollTop=0,this.vert.style.display="",this.vert.firstChild.style.height="0";if(f){this.horiz.style.display="block",this.horiz.style.right=x?b+"px":"0",this.horiz.style.left=A.barLeft+"px";var U=A.viewWidth-A.barLeft-(x?b:0);this.horiz.firstChild.style.width=Math.max(0,A.scrollWidth-A.clientWidth+U)+"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:x?b:0,bottom:f?b:0}},Ia.prototype.setScrollLeft=function(A){this.horiz.scrollLeft!=A&&(this.horiz.scrollLeft=A),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,"horiz")},Ia.prototype.setScrollTop=function(A){this.vert.scrollTop!=A&&(this.vert.scrollTop=A),this.disableVert&& Line truncated
`},setDirection:va(function(A){A!="rtl"&&(A="ltr"),A!=this.direction&&(this.direction=A,this.iter(function(f){return f.order=null}),this.cm&&Tn(this.cm))})}),xs.prototype.eachLine=xs.prototype.iter;var Pp=0;function Fp(A){var f=this;if(Jm(f),!(de(f,A)||Ul(f.display,A))){tt(A),h&&(Pp=+new Date);var x=wl(f,A,!0),b=A.dataTransfer.files;if(!(!x||f.isReadOnly()))if(b&&b.length&&window.FileReader&&window.File)for(var E=b.length,U=Array(E),Y=0,te=function(){++Y==E&&lo(f,function(){x=Or(f.doc,x);var yt={from:x,to:x,text:f.doc.splitLines(U.filter(function(zt){return zt!=null}).join(f.doc.lineSeparator())),origin:"paste"};nu(f.doc,yt),Lo(f.doc,Ge(Or(f.doc,x),Or(f.doc,ht(yt))))})()},le=function(yt,zt){if(f.options.allowDropFileTypes&&Ue(f.options.allowDropFileTypes,yt.type)==-1){te();return}var hn=new FileReader;hn.onerror=function(){return te()},hn.onload=function(){var kn=hn.result;if(/[\x00-\x08\x0e-\x1f]{2}/.test(kn)){te();return}U[zt]=kn,te()},hn.readAsText(yt)},ge=0;ge<b.length;ge++)le(b[ge],ge);else{if(f.state.draggingText&&f.doc.sel.contains(x)>-1){f.state.draggingText(A),setTimeout(function(){return f.display.input.focus()},20);return}try{var Qe=A.dataTransfer.getData("Text");if(Qe){var Je;if(f.state.draggingText&&!f.state.draggingText.copy&&(Je=f.listSelections()),vo(f.doc,Ge(x,x)),Je)for(var Mt=0;Mt<Je.length;++Mt)qu(f.doc,"",Je[Mt].anchor,Je[Mt].head,"drag");f.replaceSelection(Qe,"around","paste"),f.display.input.focus()}}catch{}}}}function Xm(A,f){if(h&&(!A.state.draggingText||+new Date-Pp<100)){Ve(f);return}if(!(de(A,f)||Ul(A.display,f))&&(f.dataTransfer.setData("Text",A.getSelection()),f.dataTransfer.effectAllowed="copyMove",f.dataTransfer.setDragImage&&!J)){var x=be("img",null,null,"position: fixed; left: 0; top: 0;");x.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",L&&(x.width=x.height=1,A.display.wrapper.appendChild(x),x._top=x.offsetTop),f.dataTransfer.setDragImage(x,0,0),L&&x.parentNode.removeChild(x)}}function Gi(A,f){var x=wl(A,f);if(x){var b=document.createDocumentFragment();hc(A,x,b),A.display.dragCursor||(A.display.dragCursor=be("div",null,"CodeMirror-cursors CodeMirror-dragcursors"),A.display.lineSpace.insertBefore(A.display.dragCursor,A.display.cursorDiv)),nt(A.display.dragCursor,b)}}function Jm(A){A.display.dragCursor&&(A.display.lineSpace.removeChild(A.display.dragCursor),A.display.dragCursor=null)}function e0(A){if(document.getElementsByClassName){for(var f=document.getElementsByClassName("CodeMirror"),x=[],b=0;b<f.length;b++){var E=f[b].CodeMirror;E&&x.push(E)}x.length&&x[0].operation(function(){for(var U=0;U<x.length;U++)A(x[U])})}}var Kh=!1;function Dp(){Kh||(I1(),Kh=!0)}function I1(){var A;Kt(window,"resize",function(){A==null&&(A=setTimeout(function(){A=null,e0(t0)},100))}),Kt(window,"blur",function(){return e0(fc)})}function t0(A){var f=A.display;f.cachedCharWidth=f.cachedTextHeight=f.cachedPaddingH=null,f.scrollbarsClipped=!1,A.setSize()}for(var La={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"},cl=0;cl<10;cl++)La[cl+48]=La[cl+96]=String(cl);for(var td=65;td<=90;td++)La[td]=String.fromCharCode(td);for(var jd=1;jd<=12;jd++)La[jd+111]=La[jd+63235]="F"+jd;var gA={};gA.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"},gA.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"},gA.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 Cc(A,f){var x=Wn(A.doc,f),b=yr(x);return b!=x&&(f=ve(b)),jf(!0,A,b,f,1)}function K1(A,f){var x=Wn(A.doc,f),b=Ir(x);return b!=x&&(f=ve(b)),jf(!0,A,x,f,-1)}function n0(A,f){var x=Cc(A,f.line),b=Wn(A.doc,x.line),E=En(b,A.doc.direction);if(!E||E[0].level==0){var U=Math.max(x.ch,b.text.search(/\S/)),Y=f.line==x.line&&f.ch<=U&&f.ch;return Ft(x.line,Y?0:U,x.sticky)}return x}function od(A,f,x){if(typeof f=="string"&&(f=Wf[f],!f))return!1;A.display.input.ensurePolled();var b=A.display.shift,E=!1;try{A.isReadOnly()&&(A.state.suppressEdits=!0),x&&(A.display.shift=!1),E=f(A)!=it}finally{A.display.shift=b,A.state.suppressEdits=!1}return E}function iv(A,f,x){for(var b=0;b<A.state.keyMaps.length;b++){var E=Eu(f,A.state.keyMaps[b],x,A);if(E)return E}return A.options.extraKeys&&Eu(f,A.options.extraKeys,x,A)||Eu(f,A.options.keyMap,x,A)}var Fh=new xe;function Nf(A,f,x,b){var E=A.state.keySeq;if(E){if(Lp(f))return"handled";if(/\'$/.test(f)?A.state.keySeq=null:Fh.set(50,function(){A.state.keySeq==E&&(A.state.keySeq=null,A.display.input.reset())}),Ca(A,E+" "+f,x,b))return!0}return Ca(A,f,x,b)}function Ca(A,f,x,b){var E=iv(A,f,b);return E=="multi"&&(A.state.keySeq=f),E=="handled"&&No(A,"keyHandled",A,f,x),(E=="handled"||E=="multi")&&(tt(x),Nu(A)),!!E}function Dh(A,f){var x=nd(f,!0);return x?f.shiftKey&&!A.state.keySeq?Nf(A,"Shift-"+x,f,function(b){return od(A,b,!0)})||Nf(A,x,f,function(b){if(typeof b=="string"?/^go[A-Z]/.test(b):b.motion)return od(A,b)}):Nf(A,x,f,function(b){return od(A,b)}):!1}function P1(A,f,x){return Nf(A,"'"+x+"'",f,function(b){return od(A,b,!0)})}var Wd=null;function Lh(A){var f=this;if(!(A.target&&A.target!=f.display.input.getField())&&(f.curOp.focus=jt(gt(f)),!de(f,A))){h&&g<11&&A.keyCode==27&&(A.returnValue=!1);var x=A.keyCode;f.display.shift=x==16||A.shiftKey;var b=Dh(f,A);L&&(Wd=b?x:null,!b&&x==88&&!jr&&(me?A.metaKey:A.ctrlKey)&&f.replaceSelection("",null,"cut")),i&&!me&&!b&&x==46&&A.shiftKey&&!A.ctrlKey&&document.execCommand&&document.execCommand("cut"),x==18&&!/\bCodeMirror-crosshair\b/.test(f.display.lineDiv.className)&&Js(f)}}function Js(A){var f=A.display.lineDiv;Xe(f,"CodeMirror-crosshair");function x(b){(b.keyCode==18||!b.altKey)&&(He(f,"CodeMirror-crosshair"),Fn(document,"keyup",x),Fn(document,"mouseover",x))}Kt(document,"keyup",x),Kt(document,"mouseover",x)}function Vu(A){A.keyCode==16&&(this.doc.sel.shift=!1),de(this,A)}function r0(A){var f=this;if(!(A.target&&A.target!=f.display.input.getField())&&!(Ul(f.display,A)||de(f,A)||A.ctrlKey&&!A.altKey||me&&A.metaKey)){var x=A.keyCode,b=A.charCode;if(L&&x==Wd){Wd=null,tt(A);return}if(!(L&&(!A.which||A.which<10)&&Dh(f,A))){var E=String.fromCharCode(b??x);E!="\b"&&(P1(f,A,E)||f.display.input.onKeyPress(A))}}}var Gf=400,ad=function(A,f,x){this.time=A,this.pos=f,this.button=x};ad.prototype.compare=function(A,f,x){return this.time+Gf>A&&Cn(f,this.pos)==0&&x==this.button};var Zu,Nd;function F1(A,f){var x=+new Date;return Nd&&Nd.compare(x,A,f)?(Zu=Nd=null,"triple"):Zu&&Zu.compare(x,A,f)?(Nd=new ad(x,A,f),Zu=null,"double"):(Zu=new ad(x,A,f),Nd=null,"single")}function i0(A){var f=this,x=f.display;if(!(de(f,A)||x.activeTouch&&x.input.supportsTouch())){if(x.input.ensurePolled(),x.shift=A.shiftKey,Ul(x,A)){C||(x.scroller.draggable=!1,setTimeout(function(){return x.scroller.draggable=!0},100));return}if(!Qd(f,A)){var b=wl(f,A),E=Xt(A),U=b?F1(b,E):"single";It(f).focus(),E==1&&f.state.selectingText&&f.state.selectingText(A),!(b&&Uh(f,E,b,U,A))&&(E==1?b?Gd(f,b,U,A):xt(A)==x.scroller&&tt(A):E==2?(b&&jl(f.doc,b),setTimeout(function(){return x.input.focus()},20)):E==3&&(Oe?f.display.input.onContextMenu(A):UA(f)))}}}function Uh(A,f,x,b,E){var U="Click";return b=="double"?U="Double"+U:b=="triple"&&(U="Triple"+U),U=(f==1?"Left":f==2?"Middle":"Right")+U,Nf(A,Rf(U,E),E,function(Y){if(typeof Y=="string"&&(Y=Wf[Y]),!Y)return!1;var te=!1;try{A.isReadOnly()&&(A.state.suppressEdits=!0),te=Y(A,x)!=it}finally{A.state.suppressEdits=!1}return te})}function Rh(A,f,x){var b=A.getOption("configureMouse"),E=b?b(A,f,x):{};if(E.unit==null){var U=he?x.shiftKey&&x.metaKey:x.altKey;E.unit=U?"rectangle":f=="single"?"char":f=="double"?"word":"line"}return(E.extend==null||A.doc.extend)&&(E.extend=A.doc.extend||x.shiftKey),E.addNew==null&&(E.addNew=me?x.metaKey:x.ctrlKey),E.moveOnDrag==null&&(E.moveOnDrag=!(me?x.altKey:x.ctrlKey)),E}function Gd(A,f,x,b){h?setTimeout(Lt(xu,A),0):A.curOp.focus=jt(gt(A));var E=Rh(A,x,b),U=A.doc.sel,Y;A.options.dragDrop&&Vt&&!A.isReadOnly()&&x=="single"&&(Y=U.contains(f))>-1&&(Cn((Y=U.ranges[Y]).from(),f)<0||f.xRel>0)&&(Cn(Y.to(),f)>0||f.xRel<0)?ov(A,b,f,E):Up(A,b,f,E)}function ov(A,f,x,b){var E=A.display,U=!1,Y=lo(A,function(ge){C&&(E.scroller.draggable=!1),A.state.draggingText=!1,A.state.delayingBlurEvent&&(A.hasFocus()?A.state.delayingBlurEvent=!1:UA(A)),Fn(E.wrapper.ownerDocument,"mouseup",Y),Fn(E.wrapper.ownerDocument,"mousemove",te),Fn(E.scroller,"dragstart",le),Fn(E.scroller,"drop Line truncated
`,"start")},toggleOverwrite:function(A){return A.toggleOverwrite()}};function Cc(A,f){var x=Wn(A.doc,f),b=yr(x);return b!=x&&(f=ve(b)),jf(!0,A,b,f,1)}function K1(A,f){var x=Wn(A.doc,f),b=Ir(x);return b!=x&&(f=ve(b)),jf(!0,A,x,f,-1)}function n0(A,f){var x=Cc(A,f.line),b=Wn(A.doc,x.line),E=En(b,A.doc.direction);if(!E||E[0].level==0){var U=Math.max(x.ch,b.text.search(/\S/)),Y=f.line==x.line&&f.ch<=U&&f.ch;return Ft(x.line,Y?0:U,x.sticky)}return x}function od(A,f,x){if(typeof f=="string"&&(f=Wf[f],!f))return!1;A.display.input.ensurePolled();var b=A.display.shift,E=!1;try{A.isReadOnly()&&(A.state.suppressEdits=!0),x&&(A.display.shift=!1),E=f(A)!=it}finally{A.display.shift=b,A.state.suppressEdits=!1}return E}function iv(A,f,x){for(var b=0;b<A.state.keyMaps.length;b++){var E=Eu(f,A.state.keyMaps[b],x,A);if(E)return E}return A.options.extraKeys&&Eu(f,A.options.extraKeys,x,A)||Eu(f,A.options.keyMap,x,A)}var Fh=new xe;function Nf(A,f,x,b){var E=A.state.keySeq;if(E){if(Lp(f))return"handled";if(/\'$/.test(f)?A.state.keySeq=null:Fh.set(50,function(){A.state.keySeq==E&&(A.state.keySeq=null,A.display.input.reset())}),Ca(A,E+" "+f,x,b))return!0}return Ca(A,f,x,b)}function Ca(A,f,x,b){var E=iv(A,f,b);return E=="multi"&&(A.state.keySeq=f),E=="handled"&&No(A,"keyHandled",A,f,x),(E=="handled"||E=="multi")&&(tt(x),Nu(A)),!!E}function Dh(A,f){var x=nd(f,!0);return x?f.shiftKey&&!A.state.keySeq?Nf(A,"Shift-"+x,f,function(b){return od(A,b,!0)})||Nf(A,x,f,function(b){if(typeof b=="string"?/^go[A-Z]/.test(b):b.motion)return od(A,b)}):Nf(A,x,f,function(b){return od(A,b)}):!1}function P1(A,f,x){return Nf(A,"'"+x+"'",f,function(b){return od(A,b,!0)})}var Wd=null;function Lh(A){var f=this;if(!(A.target&&A.target!=f.display.input.getField())&&(f.curOp.focus=jt(gt(f)),!de(f,A))){h&&g<11&&A.keyCode==27&&(A.returnValue=!1);var x=A.keyCode;f.display.shift=x==16||A.shiftKey;var b=Dh(f,A);L&&(Wd=b?x:null,!b&&x==88&&!jr&&(me?A.metaKey:A.ctrlKey)&&f.replaceSelection("",null,"cut")),i&&!me&&!b&&x==46&&A.shiftKey&&!A.ctrlKey&&document.execCommand&&document.execCommand("cut"),x==18&&!/\bCodeMirror-crosshair\b/.test(f.display.lineDiv.className)&&Js(f)}}function Js(A){var f=A.display.lineDiv;Xe(f,"CodeMirror-crosshair");function x(b){(b.keyCode==18||!b.altKey)&&(He(f,"CodeMirror-crosshair"),Fn(document,"keyup",x),Fn(document,"mouseover",x))}Kt(document,"keyup",x),Kt(document,"mouseover",x)}function Vu(A){A.keyCode==16&&(this.doc.sel.shift=!1),de(this,A)}function r0(A){var f=this;if(!(A.target&&A.target!=f.display.input.getField())&&!(Ul(f.display,A)||de(f,A)||A.ctrlKey&&!A.altKey||me&&A.metaKey)){var x=A.keyCode,b=A.charCode;if(L&&x==Wd){Wd=null,tt(A);return}if(!(L&&(!A.which||A.which<10)&&Dh(f,A))){var E=String.fromCharCode(b??x);E!="\b"&&(P1(f,A,E)||f.display.input.onKeyPress(A))}}}var Gf=400,ad=function(A,f,x){this.time=A,this.pos=f,this.button=x};ad.prototype.compare=function(A,f,x){return this.time+Gf>A&&Cn(f,this.pos)==0&&x==this.button};var Zu,Nd;function F1(A,f){var x=+new Date;return Nd&&Nd.compare(x,A,f)?(Zu=Nd=null,"triple"):Zu&&Zu.compare(x,A,f)?(Nd=new ad(x,A,f),Zu=null,"double"):(Zu=new ad(x,A,f),Nd=null,"single")}function i0(A){var f=this,x=f.display;if(!(de(f,A)||x.activeTouch&&x.input.supportsTouch())){if(x.input.ensurePolled(),x.shift=A.shiftKey,Ul(x,A)){C||(x.scroller.draggable=!1,setTimeout(function(){return x.scroller.draggable=!0},100));return}if(!Qd(f,A)){var b=wl(f,A),E=Xt(A),U=b?F1(b,E):"single";It(f).focus(),E==1&&f.state.selectingText&&f.state.selectingText(A),!(b&&Uh(f,E,b,U,A))&&(E==1?b?Gd(f,b,U,A):xt(A)==x.scroller&&tt(A):E==2?(b&&jl(f.doc,b),setTimeout(function(){return x.input.focus()},20)):E==3&&(Oe?f.display.input.onContextMenu(A):UA(f)))}}}function Uh(A,f,x,b,E){var U="Click";return b=="double"?U="Double"+U:b=="triple"&&(U="Triple"+U),U=(f==1?"Left":f==2?"Middle":"Right")+U,Nf(A,Rf(U,E),E,function(Y){if(typeof Y=="string"&&(Y=Wf[Y]),!Y)return!1;var te=!1;try{A.isReadOnly()&&(A.state.suppressEdits=!0),te=Y(A,x)!=it}finally{A.state.suppressEdits=!1}return te})}function Rh(A,f,x){var b=A.getOption("configureMouse"),E=b?b(A,f,x):{};if(E.unit==null){var U=he?x.shiftKey&&x.metaKey:x.altKey;E.unit=U?"rectangle":f=="single"?"char":f=="double"?"word":"line"}return(E.extend==null||A.doc.extend)&&(E.extend=A.doc.extend||x.shiftKey),E.addNew==null&&(E.addNew=me?x.metaKey:x.ctrlKey),E.moveOnDrag==null&&(E.moveOnDrag=!(me?x.altKey:x.ctrlKey)),E}function Gd(A,f,x,b){h?setTimeout(Lt(xu,A),0):A.curOp.focus=jt(gt(A));var E=Rh(A,x,b),U=A.doc.sel,Y;A.options.dragDrop&&Vt&&!A.isReadOnly()&&x=="single"&&(Y=U.contains(f))>-1&&(Cn((Y=U.ranges[Y]).from(),f)<0||f.xRel>0)&&(Cn(Y.to(),f)>0||f.xRel<0)?ov(A,b,f,E):Up(A,b,f,E)}function ov(A,f,x,b){var E=A.display,U=!1,Y=lo(A,function(ge){C&&(E.scroller.draggable=!1),A.state.draggingText=!1,A.state.delayingBlurEvent&&(A.hasFocus()?A.state.delayingBlurEvent=!1:UA(A)),Fn(E.wrapper.ownerDocument,"mouseup",Y),Fn(E.wrapper.ownerDocument,"mousemove",te),Fn(E.scroller,"dragstart",le),Fn(E.scroller,"drop Line truncated
`)==f){if(b.ranges.length%Ou.text.length==0){ge=[];for(var Qe=0;Qe<Ou.text.length;Qe++)ge.push(U.splitLines(Ou.text[Qe]))}}else le.length==b.ranges.length&&A.options.pasteLinesPerSelection&&(ge=Xn(le,function(Yn){return[Yn]}));for(var Je=A.curOp.updateInput,Mt=b.ranges.length-1;Mt>=0;Mt--){var yt=b.ranges[Mt],zt=yt.from(),hn=yt.to();yt.empty()&&(x&&x>0?zt=Ft(zt.line,zt.ch-x):A.state.overwrite&&!te?hn=Ft(hn.line,Math.min(Wn(U,hn.line).text.length,hn.ch+vn(le).length)):te&&Ou&&Ou.lineWise&&Ou.text.join(`
`)==le.join(`
`)&&(zt=hn=Ft(zt.line,0)));var kn={from:zt,to:hn,text:ge?ge[Mt%ge.length]:le,origin:E||(te?"paste":A.state.cutIncoming>Y?"cut":"+input")};nu(A.doc,kn),No(A,"inputRead",A,kn)}f&&!te&&Gp(A,f),so(A),A.curOp.updateInput<2&&(A.curOp.updateInput=Je),A.curOp.typing=!0,A.state.pasteIncoming=A.state.cutIncoming=-1}function NA(A,f){var x=A.clipboardData&&A.clipboardData.getData("Text");if(x)return A.preventDefault(),!f.isReadOnly()&&!f.options.disableInput&&f.hasFocus()&&Qa(f,function(){return a0(f,x,0,null,"paste")}),!0}function Gp(A,f){if(!(!A.options.electricChars||!A.options.smartIndent))for(var x=A.doc.sel,b=x.ranges.length-1;b>=0;b--){var E=x.ranges[b];if(!(E.head.ch>100||b&&x.ranges[b-1].head.line==E.head.line)){var U=A.getModeAt(E.head),Y=!1;if(U.electricChars){for(var te=0;te<U.electricChars.length;te++)if(f.indexOf(U.electricChars.charAt(te))>-1){Y=jh(A,E.head.line,"smart");break}}else U.electricInput&&U.electricInput.test(Wn(A.doc,E.head.line).text.slice(0,E.head.ch))&&(Y=jh(A,E.head.line,"smart"));Y&&No(A,"electricInput",A,E.head.line)}}}function Wh(A){for(var f=[],x=[],b=0;b<A.doc.sel.ranges.length;b++){var E=A.doc.sel.ranges[b].head.line,U={anchor:Ft(E,0),head:Ft(E+1,0)};x.push(U),f.push(A.getRange(U.anchor,U.head))}return{text:f,ranges:x}}function bc(A,f,x,b){A.setAttribute("autocorrect",x?"on":"off"),A.setAttribute("autocapitalize",b?"on":"off"),A.setAttribute("spellcheck",!!f)}function qd(){var A=be("textarea",null,null,"position: absolute; bottom: -1em; padding: 0; width: 1px; height: 1em; min-height: 1em; outline: none"),f=be("div",[A],null,"overflow: hidden; position: relative; width: 3px; height: 0px;");return C?A.style.width="1000px":A.setAttribute("wrap","off"),q&&(A.style.border="1px solid black"),f}function Nh(A){var f=A.optionHandlers,x=A.helpers={};A.prototype={constructor:A,focus:function(){It(this).focus(),this.display.input.focus()},setOption:function(b,E){var U=this.options,Y=U[b];U[b]==E&&b!="mode"||(U[b]=E,f.hasOwnProperty(b)&&lo(this,f[b])(this,E,Y),Fe(this,"optionChange",this,b))},getOption:function(b){return this.options[b]},getDoc:function(){return this.doc},addKeyMap:function(b,E){this.state.keyMaps[E?"push":"unshift"](Ph(b))},removeKeyMap:function(b){for(var E=this.state.keyMaps,U=0;U<E.length;++U)if(E[U]==b||E[U].name==b)return E.splice(U,1),!0},addOverlay:Yr(function(b,E){var U=b.token?b:A.getMode(this.options,b);if(U.startState)throw new Error("Overlays may not be stateful.");cr(this.state.overlays,{mode:U,modeSpec:b,opaque:E&&E.opaque,priority:E&&E.priority||0},function(Y){return Y.priority}),this.state.modeGen++,Da(this)}),removeOverlay:Yr(function(b){for(var E=this.state.overlays,U=0;U<E.length;++U){var Y=E[U].modeSpec;if(Y==b||typeof b=="string"&&Y.name==b){E.splice(U,1),this.state.modeGen++,Da(this);return}}}),indentLine:Yr(function(b,E,U){typeof E!="string"&&typeof E!="number"&&(E==null?E=this.options.smartIndent?"smart":"prev":E=E?"add":"subtract"),Jt(this.doc,b)&&jh(this,b,E,U)}),indentSelection:Yr(function(b){for(var E=this.doc.sel.ranges,U=-1,Y=0;Y<E.length;Y++){var te=E[Y];if(te.empty())te.head.line>U&&(jh(this,te.head.line,b,!0),U=te.head.line,Y==this.doc.sel.primIndex&&so(this));else{var le=te.from(),ge=te.to(),Qe=Math.max(U,le.line);U=Math.min(this.lastLine(),ge.line-(ge.ch?0:1))+1;for(var Je=Qe;Je<U;++Je)jh(this,Je,b);var Mt=this.doc.sel.ranges;le.ch==0&&E.length==Mt.length&&Mt[Y].from().ch>0&&Us(this.doc,Y,new Re(le,Mt[Y].to()),bt)}}}),getTokenAt:function(b,E){return lA(this,b,E)},getLineTokens:function(b,E){return lA(this,Ft(b),E,!0)},getTokenTypeAt:function(b){b=Or(this.doc,b);var E=as(this,Wn(this.doc,b.line)),U=0,Y=(E.length-1)/2,te=b.ch,le;if(te==0)le=E[2];else for(;;){var ge=U+Y>>1;if((ge?E[ge*2-1]:0)>=te)Y=ge;else if(E[ge*2+1]<te)U=ge+1;else{le=E[ge*2+2];break}}var Qe=le?le.indexOf("overlay "):-1;return Qe<0?le:Qe==0?null:le.slice(0,Qe-1)},getModeAt:function(b){var E=this.doc.mode;return E.innerMode?A.innerMode(E,this.getTokenAt(b).state).mode:E},getHelper:function(b,E){return this.getHelpers(b,E)[0]},getHelpers:function(b,E){var U=[];if(!x.hasOwnProperty(E))return U;var Y=x[E],te=this.getModeAt(b);if(typeof te[E]=="string")Y[te[E]]&&U.push(Y[te[E]]);else if(te[E])for(var le=0;le<te[E].length;le++){var ge=Y[te[E][le]];ge&&U.push(ge)}else te.helperType&&Y[te.helperType]?U.push(Y[te.helperType]):Y[te.name]&&U.push(Y[te.name]);for(var Qe=0;Qe<Y._global.length;Qe++){var Je=Y._global[Qe];Je.pred(te,this)&&Ue(U,Je.val)==-1&&U.push(Je.val)}return U},getStateAfter:function(b,E){var U=this.doc;return b=Fa(U,b??U.first+U.size-1),ia(this,b+1,E).state},cursorCoords:function(b,E){var U,Y=this.doc.sel.primary();return b==null?U=Y.head:typeof b=="object"?U=Or(this.doc,b):U=b?Y.from():Y.to(),Wt(this,U,E||"page")},charCoords:function(b,E){return ln(this,Or(this.doc,b),E||"page")},coordsChar:function(b,E){return b=wt(this,b,E||"page"),ao(this,b.left,b.top)},lineAtHeight:function(b,E){return b=wt(this,{top:b,left:0},E||"page").top,Ye(this.doc,b+this.display.viewOffset)}, Line truncated
@@ -816,5 +816,5 @@ and limitations under the License.
* by Pedro Ladaria <pedro.ladaria@gmail.com>
* https://github.com/pladaria/reconnecting-websocket
* License MIT
*/var Ake=function(){if(typeof WebSocket<"u")return WebSocket},cke=function(e){return typeof e<"u"&&!!e&&e.CLOSING===2},x0={maxReconnectionDelay:1e4,minReconnectionDelay:1e3+Math.random()*4e3,minUptime:5e3,reconnectionDelayGrowFactor:1.3,connectionTimeout:4e3,maxRetries:1/0,maxEnqueuedMessages:1/0,startClosed:!1,debug:!1},dke=function(){function e(n,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(o){i._debug("open event");var s=i._options.minUptime,a=s===void 0?x0.minUptime:s;clearTimeout(i._connectTimeout),i._uptimeTimeout=setTimeout(function(){return i._acceptOpen()},a),i._ws.binaryType=i._binaryType,i._messageQueue.forEach(function(h){return i._ws.send(h)}),i._messageQueue=[],i.onopen&&i.onopen(o),i._listeners.open.forEach(function(h){return i._callEventListener(o,h)})},this._handleMessage=function(o){i._debug("message event"),i.onmessage&&i.onmessage(o),i._listeners.message.forEach(function(s){return i._callEventListener(o,s)})},this._handleError=function(o){i._debug("error event",o.message),i._disconnect(void 0,o.message==="TIMEOUT"?"timeout":void 0),i.onerror&&i.onerror(o),i._debug("exec error listeners"),i._listeners.error.forEach(function(s){return i._callEventListener(o,s)}),i._connect()},this._handleClose=function(o){i._debug("close event"),i._clearTimeouts(),i._shouldReconnect&&i._connect(),i.onclose&&i.onclose(o),i._listeners.close.forEach(function(s){return i._callEventListener(o,s)})},this._url=n,this._protocols=t,this._options=r,this._options.startClosed&&(this._shouldReconnect=!1),this._connect()}return Object.defineProperty(e,"CONNECTING",{get:function(){return 0},enumerable:!0,configurable:!0}),Object.defineProperty(e,"OPEN",{get:function(){return 1},enumerable:!0,configurable:!0}),Object.defineProperty(e,"CLOSING",{get:function(){return 2},enumerable:!0,configurable:!0}),Object.defineProperty(e,"CLOSED",{get:function(){return 3},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"CONNECTING",{get:function(){return e.CONNECTING},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"OPEN",{get:function(){return e.OPEN},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"CLOSING",{get:function(){return e.CLOSING},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"CLOSED",{get:function(){return e.CLOSED},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"binaryType",{get:function(){return this._ws?this._ws.binaryType:this._binaryType},set:function(n){this._binaryType=n,this._ws&&(this._ws.binaryType=n)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"retryCount",{get:function(){return Math.max(this._retryCount,0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"bufferedAmount",{get:function(){var n=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 n+(this._ws?this._ws.bufferedAmount:0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"extensions",{get:function(){return this._ws?this._ws.extensions:""},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"protocol",{get:function(){return this._ws?this._ws.protocol:""},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"readyState",{get:function(){return this._ws?this._ws.readyState:this._options.startClosed?e.CLOSED:e.CONNECTING},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"url",{get:function(){return this._ws?this._ws.url:""},enumerable:!0,configurable:!0}),e.prototype.close=function(n,t){if(n===void 0&&(n=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(n,t)},e.prototype.reconnect=function(n,t){this._shouldReconnect=!0,this._closeCalled=!1,this._retryCount=-1,!this._ws||this._ws.readyState===this.CLOSED?this._connect():(this._disconnect(n,t),this._connect())},e.prototype.send=function(n){if(this._ws&&this._ws.readyState===this.OPEN)this._debug("send",n),this._ws.send(n);else{var t=this._options.maxEnqueuedMessages,r=t===void 0?x0.maxEnqueuedMessages:t;this._messageQueue.length<r&&(this._debug("enqueue",n),this._messageQueue.push(n))}},e.prototype.addEventListener=function(n,t){this._listeners[n]&&this._listeners[n].push(t)},e.prototype.dispatchEvent=function(n){var t,r,i=this._listeners[n.type];if(i)try{for(var o=oke(i),s=o.next();!s.done;s=o.next()){var a=s.value;this._callEventListener(n,a)}}catch(h){t={error:h}}finally{try{s&&!s.done&&(r=o.return)&&r.call(o)}finally{if(t)throw t.error}}return!0},e.prototype.removeEventListeneLine truncated
//# sourceMappingURL=index-UDrBp7SN.js.map
*/var Ake=function(){if(typeof WebSocket<"u")return WebSocket},cke=function(e){return typeof e<"u"&&!!e&&e.CLOSING===2},x0={maxReconnectionDelay:1e4,minReconnectionDelay:1e3+Math.random()*4e3,minUptime:5e3,reconnectionDelayGrowFactor:1.3,connectionTimeout:4e3,maxRetries:1/0,maxEnqueuedMessages:1/0,startClosed:!1,debug:!1},dke=function(){function e(n,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(o){i._debug("open event");var s=i._options.minUptime,a=s===void 0?x0.minUptime:s;clearTimeout(i._connectTimeout),i._uptimeTimeout=setTimeout(function(){return i._acceptOpen()},a),i._ws.binaryType=i._binaryType,i._messageQueue.forEach(function(h){return i._ws.send(h)}),i._messageQueue=[],i.onopen&&i.onopen(o),i._listeners.open.forEach(function(h){return i._callEventListener(o,h)})},this._handleMessage=function(o){i._debug("message event"),i.onmessage&&i.onmessage(o),i._listeners.message.forEach(function(s){return i._callEventListener(o,s)})},this._handleError=function(o){i._debug("error event",o.message),i._disconnect(void 0,o.message==="TIMEOUT"?"timeout":void 0),i.onerror&&i.onerror(o),i._debug("exec error listeners"),i._listeners.error.forEach(function(s){return i._callEventListener(o,s)}),i._connect()},this._handleClose=function(o){i._debug("close event"),i._clearTimeouts(),i._shouldReconnect&&i._connect(),i.onclose&&i.onclose(o),i._listeners.close.forEach(function(s){return i._callEventListener(o,s)})},this._url=n,this._protocols=t,this._options=r,this._options.startClosed&&(this._shouldReconnect=!1),this._connect()}return Object.defineProperty(e,"CONNECTING",{get:function(){return 0},enumerable:!0,configurable:!0}),Object.defineProperty(e,"OPEN",{get:function(){return 1},enumerable:!0,configurable:!0}),Object.defineProperty(e,"CLOSING",{get:function(){return 2},enumerable:!0,configurable:!0}),Object.defineProperty(e,"CLOSED",{get:function(){return 3},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"CONNECTING",{get:function(){return e.CONNECTING},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"OPEN",{get:function(){return e.OPEN},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"CLOSING",{get:function(){return e.CLOSING},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"CLOSED",{get:function(){return e.CLOSED},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"binaryType",{get:function(){return this._ws?this._ws.binaryType:this._binaryType},set:function(n){this._binaryType=n,this._ws&&(this._ws.binaryType=n)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"retryCount",{get:function(){return Math.max(this._retryCount,0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"bufferedAmount",{get:function(){var n=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 n+(this._ws?this._ws.bufferedAmount:0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"extensions",{get:function(){return this._ws?this._ws.extensions:""},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"protocol",{get:function(){return this._ws?this._ws.protocol:""},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"readyState",{get:function(){return this._ws?this._ws.readyState:this._options.startClosed?e.CLOSED:e.CONNECTING},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"url",{get:function(){return this._ws?this._ws.url:""},enumerable:!0,configurable:!0}),e.prototype.close=function(n,t){if(n===void 0&&(n=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(n,t)},e.prototype.reconnect=function(n,t){this._shouldReconnect=!0,this._closeCalled=!1,this._retryCount=-1,!this._ws||this._ws.readyState===this.CLOSED?this._connect():(this._disconnect(n,t),this._connect())},e.prototype.send=function(n){if(this._ws&&this._ws.readyState===this.OPEN)this._debug("send",n),this._ws.send(n);else{var t=this._options.maxEnqueuedMessages,r=t===void 0?x0.maxEnqueuedMessages:t;this._messageQueue.length<r&&(this._debug("enqueue",n),this._messageQueue.push(n))}},e.prototype.addEventListener=function(n,t){this._listeners[n]&&this._listeners[n].push(t)},e.prototype.dispatchEvent=function(n){var t,r,i=this._listeners[n.type];if(i)try{for(var o=oke(i),s=o.next();!s.done;s=o.next()){var a=s.value;this._callEventListener(n,a)}}catch(h){t={error:h}}finally{try{s&&!s.done&&(r=o.return)&&r.call(o)}finally{if(t)throw t.error}}return!0},e.prototype.removeEventListeneLine truncated
//# sourceMappingURL=index-xcIkDGFp.js.map
@@ -1 +1 @@
{"version":3,"file":"index-UDrBp7SN.js","sources":["../../node_modules/object-assign/index.js","../../node_modules/react/cjs/react.production.min.js","../../node_modules/react/index.js","../../node_modules/react/cjs/react-jsx-runtime.production.min.js","../../node_modules/react/jsx-runtime.js","../../node_modules/react-icons/lib/esm/iconContext.js","../../node_modules/react-icons/lib/esm/iconBase.js","../../node_modules/scheduler/cjs/scheduler.production.min.js","../../node_modules/scheduler/index.js","../../node_modules/react-dom/cjs/react-dom.production.min.js","../../node_modules/react-dom/index.js","../../node_modules/react-autobind/lib/autoBind.js","../../node_modules/react-autobind/index.js","../../node_modules/lodash.clonedeep/index.js","../../node_modules/lodash.clamp/index.js","../../node_modules/base64-js/index.js","../../node_modules/ieee754/index.js","../../node_modules/buffer/index.js","../../node_modules/lodash.get/index.js","../../node_modules/lodash/lodash.js","../../node_modules/array-move/index.js","../../node_modules/string-hash/index.js","../../node_modules/@maplibre/maplibre-gl-style-spec/dist/index.mjs","../../node_modules/maplibre-gl/dist/maplibre-gl.js","../../node_modules/@maplibre/maplibre-gl-inspect/dist/maplibre-gl-inspect.mjs","../../node_modules/@maplibre/maplibre-gl-inspect/node_modules/randomcolor/randomColor.js","../../node_modules/@maplibre/maplibre-gl-inspect/lib/colors.ts","../../node_modules/prop-types/lib/ReactPropTypesSecret.js","../../node_modules/prop-types/factoryWithThrowingShims.js","../../node_modules/prop-types/index.js","../../node_modules/react-icon-base/es/index.js","../../src/components/IconLine.tsx","../../src/components/IconFill.tsx","../../src/components/IconSymbol.tsx","../../src/components/IconBackground.tsx","../../src/components/IconCircle.tsx","../../node_modules/react-icons/md/index.esm.js","../../src/components/IconMissing.tsx","../../src/components/IconLayer.tsx","../../src/components/MapMaplibreGlLayerPopup.tsx","../../src/components/MapMaplibreGlFeaturePropertyPopup.tsx","../../node_modules/color-name/index.js","../../node_modules/is-arrayish/index.js","../../node_modules/simple-swizzle/index.js","../../node_modules/color-string/index.js","../../node_modules/color/node_modules/color-name/index.js","../../node_modules/color/node_modules/color-convert/conversions.js","../../node_modules/color/node_modules/color-convert/route.js","../../node_modules/color/node_modules/color-convert/index.js","../../node_modules/color/index.js","../../src/libs/zoomcontrol.ts","../../node_modules/@maplibre/maplibre-gl-inspect/lib/stylegen.ts","../../src/libs/highlight.ts","../../src/libs/maplibre-rtl.ts","../../node_modules/xtend/immutable.js","../../node_modules/fuzzy/lib/fuzzy.js","../../node_modules/suggestions-list/src/list.js","../../node_modules/suggestions-list/src/suggestions.js","../../node_modules/suggestions-list/index.js","../../node_modules/lodash.debounce/index.js","../../node_modules/events/events.js","../../node_modules/@maplibre/maplibre-gl-geocoder/lib/exceptions.js","../../node_modules/@maplibre/maplibre-gl-geocoder/lib/localization.js","../../node_modules/subtag/subtag.js","../../node_modules/@maplibre/maplibre-gl-geocoder/lib/index.js","../../src/components/MapMaplibreGl.tsx","../../node_modules/ol/events/Event.js","../../node_modules/ol/ObjectEventType.js","../../node_modules/ol/Disposable.js","../../node_modules/ol/array.js","../../node_modules/ol/functions.js","../../node_modules/ol/obj.js","../../node_modules/ol/events/Target.js","../../node_modules/ol/events/EventType.js","../../node_modules/ol/events.js","../../node_modules/ol/Observable.js","../../node_modules/ol/util.js","../../node_modules/ol/Object.js","../../node_modules/ol/AssertionError.js","../../node_modules/ol/asserts.js","../../node_modules/ol/Feature.js","../../node_modules/ol/proj/Units.js","../../node_modules/ol/has.js","../../node_modules/ol/transform.js","../../node_modules/ol/extent/Relationship.js","../../node_modules/ol/extent.js","../../node_modules/ol/proj/Projection.js","../../node_modules/ol/math.js","../../node_modules/ol/proj/epsg3857.js","../../node_modules/ol/proj/epsg4326.js","../../node_modules/ol/proj/projections.js","../../node_modules/ol/proj/transforms.js","../../node_modules/ol/coordinate.js","../../node_modules/ol/sphere.js","../../node_modules/ol/proj.js","../../node_modules/ol/geom/flat/transform.js","../../node_modules/ol/geom/Geometry.js","../../node_modules/ol/geom/GeometryCollection.js","../../node_modules/ol/format/Feature.js","../../node_modules/ol/format/JSONFeature.js","../../node_modules/ol/geom/GeometryLayout.js","../../node_modules/ol/geom/SimpleGeometry.js","../../node_modules/ol/geom/flat/closest.js","../../node_modules/ol/geom/flat/deflate.js","../../node_modules/ol/geom/flat/simplify.js","../../node_modules/ol/geom/flat/segments.js","../../node_modules/ol/geom/flat/inflate.js","../../node_modules/ol/geom/flat/interpolate.js","../../node_mLine truncated
{"version":3,"file":"index-xcIkDGFp.js","sources":["../../node_modules/object-assign/index.js","../../node_modules/react/cjs/react.production.min.js","../../node_modules/react/index.js","../../node_modules/react/cjs/react-jsx-runtime.production.min.js","../../node_modules/react/jsx-runtime.js","../../node_modules/react-icons/lib/esm/iconContext.js","../../node_modules/react-icons/lib/esm/iconBase.js","../../node_modules/scheduler/cjs/scheduler.production.min.js","../../node_modules/scheduler/index.js","../../node_modules/react-dom/cjs/react-dom.production.min.js","../../node_modules/react-dom/index.js","../../node_modules/react-autobind/lib/autoBind.js","../../node_modules/react-autobind/index.js","../../node_modules/lodash.clonedeep/index.js","../../node_modules/lodash.clamp/index.js","../../node_modules/base64-js/index.js","../../node_modules/ieee754/index.js","../../node_modules/buffer/index.js","../../node_modules/lodash.get/index.js","../../node_modules/lodash/lodash.js","../../node_modules/array-move/index.js","../../node_modules/string-hash/index.js","../../node_modules/@maplibre/maplibre-gl-style-spec/dist/index.mjs","../../node_modules/maplibre-gl/dist/maplibre-gl.js","../../node_modules/@maplibre/maplibre-gl-inspect/dist/maplibre-gl-inspect.mjs","../../node_modules/@maplibre/maplibre-gl-inspect/node_modules/randomcolor/randomColor.js","../../node_modules/@maplibre/maplibre-gl-inspect/lib/colors.ts","../../node_modules/prop-types/lib/ReactPropTypesSecret.js","../../node_modules/prop-types/factoryWithThrowingShims.js","../../node_modules/prop-types/index.js","../../node_modules/react-icon-base/es/index.js","../../src/components/IconLine.tsx","../../src/components/IconFill.tsx","../../src/components/IconSymbol.tsx","../../src/components/IconBackground.tsx","../../src/components/IconCircle.tsx","../../node_modules/react-icons/md/index.esm.js","../../src/components/IconMissing.tsx","../../src/components/IconLayer.tsx","../../src/components/MapMaplibreGlLayerPopup.tsx","../../src/components/MapMaplibreGlFeaturePropertyPopup.tsx","../../node_modules/color-name/index.js","../../node_modules/is-arrayish/index.js","../../node_modules/simple-swizzle/index.js","../../node_modules/color-string/index.js","../../node_modules/color/node_modules/color-name/index.js","../../node_modules/color/node_modules/color-convert/conversions.js","../../node_modules/color/node_modules/color-convert/route.js","../../node_modules/color/node_modules/color-convert/index.js","../../node_modules/color/index.js","../../src/libs/zoomcontrol.ts","../../node_modules/@maplibre/maplibre-gl-inspect/lib/stylegen.ts","../../src/libs/highlight.ts","../../src/libs/maplibre-rtl.ts","../../node_modules/xtend/immutable.js","../../node_modules/fuzzy/lib/fuzzy.js","../../node_modules/suggestions-list/src/list.js","../../node_modules/suggestions-list/src/suggestions.js","../../node_modules/suggestions-list/index.js","../../node_modules/lodash.debounce/index.js","../../node_modules/events/events.js","../../node_modules/@maplibre/maplibre-gl-geocoder/lib/exceptions.js","../../node_modules/@maplibre/maplibre-gl-geocoder/lib/localization.js","../../node_modules/subtag/subtag.js","../../node_modules/@maplibre/maplibre-gl-geocoder/lib/index.js","../../src/components/MapMaplibreGl.tsx","../../node_modules/ol/events/Event.js","../../node_modules/ol/ObjectEventType.js","../../node_modules/ol/Disposable.js","../../node_modules/ol/array.js","../../node_modules/ol/functions.js","../../node_modules/ol/obj.js","../../node_modules/ol/events/Target.js","../../node_modules/ol/events/EventType.js","../../node_modules/ol/events.js","../../node_modules/ol/Observable.js","../../node_modules/ol/util.js","../../node_modules/ol/Object.js","../../node_modules/ol/AssertionError.js","../../node_modules/ol/asserts.js","../../node_modules/ol/Feature.js","../../node_modules/ol/proj/Units.js","../../node_modules/ol/has.js","../../node_modules/ol/transform.js","../../node_modules/ol/extent/Relationship.js","../../node_modules/ol/extent.js","../../node_modules/ol/proj/Projection.js","../../node_modules/ol/math.js","../../node_modules/ol/proj/epsg3857.js","../../node_modules/ol/proj/epsg4326.js","../../node_modules/ol/proj/projections.js","../../node_modules/ol/proj/transforms.js","../../node_modules/ol/coordinate.js","../../node_modules/ol/sphere.js","../../node_modules/ol/proj.js","../../node_modules/ol/geom/flat/transform.js","../../node_modules/ol/geom/Geometry.js","../../node_modules/ol/geom/GeometryCollection.js","../../node_modules/ol/format/Feature.js","../../node_modules/ol/format/JSONFeature.js","../../node_modules/ol/geom/GeometryLayout.js","../../node_modules/ol/geom/SimpleGeometry.js","../../node_modules/ol/geom/flat/closest.js","../../node_modules/ol/geom/flat/deflate.js","../../node_modules/ol/geom/flat/simplify.js","../../node_modules/ol/geom/flat/segments.js","../../node_modules/ol/geom/flat/inflate.js","../../node_modules/ol/geom/flat/interpolate.js","../../node_mLine truncated
+1 -1
View File
@@ -37,7 +37,7 @@
}
</style>
<script type="module" crossorigin src="/maputnik/assets/index-UDrBp7SN.js"></script>
<script type="module" crossorigin src="/maputnik/assets/index-xcIkDGFp.js"></script>
<link rel="stylesheet" crossorigin href="/maputnik/assets/index-622uVfVo.css">
</head>
<body>