This commit is contained in:
HarelM committed 2025-09-10 11:38:22 +00:00
1 parent fd218db356
commit 2d2a4739f1
29 files changed
+107 -107

No files matched your search

@@ -1,4 +1,4 @@
(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))i(r);new MutationObserver(r=>{for(const a of r)if(a.type==="childList")for(const l of a.addedNodes)l.tagName==="LINK"&&l.rel==="modulepreload"&&i(l)}).observe(document,{childList:!0,subtree:!0});function t(r){const a={};return r.integrity&&(a.integrity=r.integrity),r.referrerPolicy&&(a.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?a.credentials="include":r.crossOrigin==="anonymous"?a.credentials="omit":a.credentials="same-origin",a}function i(r){if(r.ep)return;r.ep=!0;const a=t(r);fetch(r.href,a)}})();function WA(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}function kB(n){if(Object.prototype.hasOwnProperty.call(n,"__esModule"))return n;var e=n.default;if(typeof e=="function"){var t=function i(){var r=!1;try{r=this instanceof i}catch{}return r?Reflect.construct(e,arguments,this.constructor):e.apply(this,arguments)};t.prototype=e.prototype}else t={};return Object.defineProperty(t,"__esModule",{value:!0}),Object.keys(n).forEach(function(i){var r=Object.getOwnPropertyDescriptor(n,i);Object.defineProperty(t,i,r.get?r:{enumerable:!0,get:function(){return n[i]}})}),t}var a4={exports:{}},uC={};/**
(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))i(r);new MutationObserver(r=>{for(const a of r)if(a.type==="childList")for(const l of a.addedNodes)l.tagName==="LINK"&&l.rel==="modulepreload"&&i(l)}).observe(document,{childList:!0,subtree:!0});function t(r){const a={};return r.integrity&&(a.integrity=r.integrity),r.referrerPolicy&&(a.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?a.credentials="include":r.crossOrigin==="anonymous"?a.credentials="omit":a.credentials="same-origin",a}function i(r){if(r.ep)return;r.ep=!0;const a=t(r);fetch(r.href,a)}})();function WA(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}function wB(n){if(Object.prototype.hasOwnProperty.call(n,"__esModule"))return n;var e=n.default;if(typeof e=="function"){var t=function i(){var r=!1;try{r=this instanceof i}catch{}return r?Reflect.construct(e,arguments,this.constructor):e.apply(this,arguments)};t.prototype=e.prototype}else t={};return Object.defineProperty(t,"__esModule",{value:!0}),Object.keys(n).forEach(function(i){var r=Object.getOwnPropertyDescriptor(n,i);Object.defineProperty(t,i,r.get?r:{enumerable:!0,get:function(){return n[i]}})}),t}var e4={exports:{}},uC={};/**
* @license React
* react-jsx-runtime.production.js
*
@@ -6,7 +6,7 @@
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var h7;function iW(){if(h7)return uC;h7=1;var n=Symbol.for("react.transitional.element"),e=Symbol.for("react.fragment");function t(i,r,a){var l=null;if(a!==void 0&&(l=""+a),r.key!==void 0&&(l=""+r.key),"key"in r){a={};for(var o in r)o!=="key"&&(a[o]=r[o])}else a=r;return r=a.ref,{$$typeof:n,type:i,key:l,ref:r!==void 0?r:null,props:a}}return uC.Fragment=e,uC.jsx=t,uC.jsxs=t,uC}var d7;function rW(){return d7||(d7=1,a4.exports=iW()),a4.exports}var ue=rW(),s4={exports:{}},ia={};/**
*/var a7;function Zj(){if(a7)return uC;a7=1;var n=Symbol.for("react.transitional.element"),e=Symbol.for("react.fragment");function t(i,r,a){var l=null;if(a!==void 0&&(l=""+a),r.key!==void 0&&(l=""+r.key),"key"in r){a={};for(var o in r)o!=="key"&&(a[o]=r[o])}else a=r;return r=a.ref,{$$typeof:n,type:i,key:l,ref:r!==void 0?r:null,props:a}}return uC.Fragment=e,uC.jsx=t,uC.jsxs=t,uC}var s7;function Xj(){return s7||(s7=1,e4.exports=Zj()),e4.exports}var ce=Xj(),t4={exports:{}},ia={};/**
* @license React
* react.production.js
*
@@ -14,7 +14,7 @@
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var f7;function oW(){if(f7)return ia;f7=1;var n=Symbol.for("react.transitional.element"),e=Symbol.for("react.portal"),t=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),r=Symbol.for("react.profiler"),a=Symbol.for("react.consumer"),l=Symbol.for("react.context"),o=Symbol.for("react.forward_ref"),m=Symbol.for("react.suspense"),C=Symbol.for("react.memo"),S=Symbol.for("react.lazy"),O=Symbol.iterator;function U(be){return be===null||typeof be!="object"?null:(be=O&&be[O]||be["@@iterator"],typeof be=="function"?be:null)}var K={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},z=Object.assign,j={};function Q(be,Ge,tt){this.props=be,this.context=Ge,this.refs=j,this.updater=tt||K}Q.prototype.isReactComponent={},Q.prototype.setState=function(be,Ge){if(typeof be!="object"&&typeof be!="function"&&be!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,be,Ge,"setState")},Q.prototype.forceUpdate=function(be){this.updater.enqueueForceUpdate(this,be,"forceUpdate")};function ee(){}ee.prototype=Q.prototype;function V(be,Ge,tt){this.props=be,this.context=Ge,this.refs=j,this.updater=tt||K}var ae=V.prototype=new ee;ae.constructor=V,z(ae,Q.prototype),ae.isPureReactComponent=!0;var ne=Array.isArray,Z={H:null,A:null,T:null,S:null,V:null},oe=Object.prototype.hasOwnProperty;function W(be,Ge,tt,lt,It,pt){return tt=pt.ref,{$$typeof:n,type:be,key:Ge,ref:tt!==void 0?tt:null,props:pt}}function ce(be,Ge){return W(be.type,Ge,void 0,void 0,void 0,be.props)}function ge(be){return typeof be=="object"&&be!==null&&be.$$typeof===n}function ye(be){var Ge={"=":"=0",":":"=2"};return"$"+be.replace(/[=:]/g,function(tt){return Ge[tt]})}var Me=/\/+/g;function Be(be,Ge){return typeof be=="object"&&be!==null&&be.key!=null?ye(""+be.key):Ge.toString(36)}function we(){}function qe(be){switch(be.status){case"fulfilled":return be.value;case"rejected":throw be.reason;default:switch(typeof be.status=="string"?be.then(we,we):(be.status="pending",be.then(function(Ge){be.status==="pending"&&(be.status="fulfilled",be.value=Ge)},function(Ge){be.status==="pending"&&(be.status="rejected",be.reason=Ge)})),be.status){case"fulfilled":return be.value;case"rejected":throw be.reason}}throw be}function xe(be,Ge,tt,lt,It){var pt=typeof be;(pt==="undefined"||pt==="boolean")&&(be=null);var St=!1;if(be===null)St=!0;else switch(pt){case"bigint":case"string":case"number":St=!0;break;case"object":switch(be.$$typeof){case n:case e:St=!0;break;case S:return St=be._init,xe(St(be._payload),Ge,tt,lt,It)}}if(St)return It=It(be),St=lt===""?"."+Be(be,0):lt,ne(It)?(tt="",St!=null&&(tt=St.replace(Me,"$&/")+"/"),xe(It,Ge,tt,"",function(Pe){return Pe})):It!=null&&(ge(It)&&(It=ce(It,tt+(It.key==null||be&&be.key===It.key?"":(""+It.key).replace(Me,"$&/")+"/")+St)),Ge.push(It)),1;St=0;var Rt=lt===""?".":lt+":";if(ne(be))for(var Le=0;Le<be.length;Le++)lt=be[Le],pt=Rt+Be(lt,Le),St+=xe(lt,Ge,tt,pt,It);else if(Le=U(be),typeof Le=="function")for(be=Le.call(be),Le=0;!(lt=be.next()).done;)lt=lt.value,pt=Rt+Be(lt,Le++),St+=xe(lt,Ge,tt,pt,It);else if(pt==="object"){if(typeof be.then=="function")return xe(qe(be),Ge,tt,lt,It);throw Ge=String(be),Error("Objects are not valid as a React child (found: "+(Ge==="[object Object]"?"object with keys {"+Object.keys(be).join(", ")+"}":Ge)+"). If you meant to render a collection of children, use an array instead.")}return St}function ze(be,Ge,tt){if(be==null)return be;var lt=[],It=0;return xe(be,lt,"","",function(pt){return Ge.call(tt,pt,It++)}),lt}function ot(be){if(be._status===-1){var Ge=be._result;Ge=Ge(),Ge.then(function(tt){(be._status===0||be._status===-1)&&(be._status=1,be._result=tt)},function(tt){(be._status===0||be._status===-1)&&(be._status=2,be._result=tt)}),be._status===-1&&(be._status=0,be._result=Ge)}if(be._status===1)return be._result.default;throw be._result}var yt=typeof reportError=="function"?reportError:function(be){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var Ge=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof be=="object"&&be!==null&&typeof be.message=="string"?String(be.message):String(be),error:be});if(!window.dispatchEvent(Ge))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",be);return}console.error(be)};function nt(){}return ia.Children={map:ze,forEach:function(be,Ge,tt){ze(be,function(){Ge.apply(this,arguments)},tt)},count:function(be){var Ge=0;return ze(be,function(){Ge++}),Ge},toArray:function(be){return ze(be,function(Ge){return Ge})||[]},only:function(be){if(!ge(be))throw Error("React.Children.only expected to receive a single React element child.");return be}},ia.Component=Q,ia.Fragment=t,ia.Profiler=r,ia.PureComponent=V,ia.StrictMode=i,ia.Suspense=m,ia.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=Z,ia.__COMPILER_RUNTIMELine truncated
*/var l7;function Jj(){if(l7)return ia;l7=1;var n=Symbol.for("react.transitional.element"),e=Symbol.for("react.portal"),t=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),r=Symbol.for("react.profiler"),a=Symbol.for("react.consumer"),l=Symbol.for("react.context"),o=Symbol.for("react.forward_ref"),m=Symbol.for("react.suspense"),C=Symbol.for("react.memo"),S=Symbol.for("react.lazy"),O=Symbol.iterator;function U(be){return be===null||typeof be!="object"?null:(be=O&&be[O]||be["@@iterator"],typeof be=="function"?be:null)}var K={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},z=Object.assign,j={};function Q(be,Ne,tt){this.props=be,this.context=Ne,this.refs=j,this.updater=tt||K}Q.prototype.isReactComponent={},Q.prototype.setState=function(be,Ne){if(typeof be!="object"&&typeof be!="function"&&be!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,be,Ne,"setState")},Q.prototype.forceUpdate=function(be){this.updater.enqueueForceUpdate(this,be,"forceUpdate")};function ee(){}ee.prototype=Q.prototype;function V(be,Ne,tt){this.props=be,this.context=Ne,this.refs=j,this.updater=tt||K}var ae=V.prototype=new ee;ae.constructor=V,z(ae,Q.prototype),ae.isPureReactComponent=!0;var ne=Array.isArray,Z={H:null,A:null,T:null,S:null,V:null},oe=Object.prototype.hasOwnProperty;function W(be,Ne,tt,lt,It,pt){return tt=pt.ref,{$$typeof:n,type:be,key:Ne,ref:tt!==void 0?tt:null,props:pt}}function ue(be,Ne){return W(be.type,Ne,void 0,void 0,void 0,be.props)}function ge(be){return typeof be=="object"&&be!==null&&be.$$typeof===n}function ye(be){var Ne={"=":"=0",":":"=2"};return"$"+be.replace(/[=:]/g,function(tt){return Ne[tt]})}var Me=/\/+/g;function Be(be,Ne){return typeof be=="object"&&be!==null&&be.key!=null?ye(""+be.key):Ne.toString(36)}function we(){}function qe(be){switch(be.status){case"fulfilled":return be.value;case"rejected":throw be.reason;default:switch(typeof be.status=="string"?be.then(we,we):(be.status="pending",be.then(function(Ne){be.status==="pending"&&(be.status="fulfilled",be.value=Ne)},function(Ne){be.status==="pending"&&(be.status="rejected",be.reason=Ne)})),be.status){case"fulfilled":return be.value;case"rejected":throw be.reason}}throw be}function xe(be,Ne,tt,lt,It){var pt=typeof be;(pt==="undefined"||pt==="boolean")&&(be=null);var St=!1;if(be===null)St=!0;else switch(pt){case"bigint":case"string":case"number":St=!0;break;case"object":switch(be.$$typeof){case n:case e:St=!0;break;case S:return St=be._init,xe(St(be._payload),Ne,tt,lt,It)}}if(St)return It=It(be),St=lt===""?"."+Be(be,0):lt,ne(It)?(tt="",St!=null&&(tt=St.replace(Me,"$&/")+"/"),xe(It,Ne,tt,"",function(Pe){return Pe})):It!=null&&(ge(It)&&(It=ue(It,tt+(It.key==null||be&&be.key===It.key?"":(""+It.key).replace(Me,"$&/")+"/")+St)),Ne.push(It)),1;St=0;var Rt=lt===""?".":lt+":";if(ne(be))for(var Le=0;Le<be.length;Le++)lt=be[Le],pt=Rt+Be(lt,Le),St+=xe(lt,Ne,tt,pt,It);else if(Le=U(be),typeof Le=="function")for(be=Le.call(be),Le=0;!(lt=be.next()).done;)lt=lt.value,pt=Rt+Be(lt,Le++),St+=xe(lt,Ne,tt,pt,It);else if(pt==="object"){if(typeof be.then=="function")return xe(qe(be),Ne,tt,lt,It);throw Ne=String(be),Error("Objects are not valid as a React child (found: "+(Ne==="[object Object]"?"object with keys {"+Object.keys(be).join(", ")+"}":Ne)+"). If you meant to render a collection of children, use an array instead.")}return St}function ze(be,Ne,tt){if(be==null)return be;var lt=[],It=0;return xe(be,lt,"","",function(pt){return Ne.call(tt,pt,It++)}),lt}function ot(be){if(be._status===-1){var Ne=be._result;Ne=Ne(),Ne.then(function(tt){(be._status===0||be._status===-1)&&(be._status=1,be._result=tt)},function(tt){(be._status===0||be._status===-1)&&(be._status=2,be._result=tt)}),be._status===-1&&(be._status=0,be._result=Ne)}if(be._status===1)return be._result.default;throw be._result}var yt=typeof reportError=="function"?reportError:function(be){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var Ne=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof be=="object"&&be!==null&&typeof be.message=="string"?String(be.message):String(be),error:be});if(!window.dispatchEvent(Ne))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",be);return}console.error(be)};function nt(){}return ia.Children={map:ze,forEach:function(be,Ne,tt){ze(be,function(){Ne.apply(this,arguments)},tt)},count:function(be){var Ne=0;return ze(be,function(){Ne++}),Ne},toArray:function(be){return ze(be,function(Ne){return Ne})||[]},only:function(be){if(!ge(be))throw Error("React.Children.only expected to receive a single React element child.");return be}},ia.Component=Q,ia.Fragment=t,ia.Profiler=r,ia.PureComponent=V,ia.StrictMode=i,ia.Suspense=m,ia.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=Z,ia.__COMPILER_RUNTIMELine truncated
* @license React
* scheduler.production.js
*
@@ -22,7 +22,7 @@
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var g7;function dW(){return g7||(g7=1,function(n){function e(ze,ot){var yt=ze.length;ze.push(ot);e:for(;0<yt;){var nt=yt-1>>>1,be=ze[nt];if(0<r(be,ot))ze[nt]=ot,ze[yt]=be,yt=nt;else break e}}function t(ze){return ze.length===0?null:ze[0]}function i(ze){if(ze.length===0)return null;var ot=ze[0],yt=ze.pop();if(yt!==ot){ze[0]=yt;e:for(var nt=0,be=ze.length,Ge=be>>>1;nt<Ge;){var tt=2*(nt+1)-1,lt=ze[tt],It=tt+1,pt=ze[It];if(0>r(lt,yt))It<be&&0>r(pt,lt)?(ze[nt]=pt,ze[It]=yt,nt=It):(ze[nt]=lt,ze[tt]=yt,nt=tt);else if(It<be&&0>r(pt,yt))ze[nt]=pt,ze[It]=yt,nt=It;else break e}}return ot}function r(ze,ot){var yt=ze.sortIndex-ot.sortIndex;return yt!==0?yt:ze.id-ot.id}if(n.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var a=performance;n.unstable_now=function(){return a.now()}}else{var l=Date,o=l.now();n.unstable_now=function(){return l.now()-o}}var m=[],C=[],S=1,O=null,U=3,K=!1,z=!1,j=!1,Q=!1,ee=typeof setTimeout=="function"?setTimeout:null,V=typeof clearTimeout=="function"?clearTimeout:null,ae=typeof setImmediate<"u"?setImmediate:null;function ne(ze){for(var ot=t(C);ot!==null;){if(ot.callback===null)i(C);else if(ot.startTime<=ze)i(C),ot.sortIndex=ot.expirationTime,e(m,ot);else break;ot=t(C)}}function Z(ze){if(j=!1,ne(ze),!z)if(t(m)!==null)z=!0,oe||(oe=!0,Be());else{var ot=t(C);ot!==null&&xe(Z,ot.startTime-ze)}}var oe=!1,W=-1,ce=5,ge=-1;function ye(){return Q?!0:!(n.unstable_now()-ge<ce)}function Me(){if(Q=!1,oe){var ze=n.unstable_now();ge=ze;var ot=!0;try{e:{z=!1,j&&(j=!1,V(W),W=-1),K=!0;var yt=U;try{t:{for(ne(ze),O=t(m);O!==null&&!(O.expirationTime>ze&&ye());){var nt=O.callback;if(typeof nt=="function"){O.callback=null,U=O.priorityLevel;var be=nt(O.expirationTime<=ze);if(ze=n.unstable_now(),typeof be=="function"){O.callback=be,ne(ze),ot=!0;break t}O===t(m)&&i(m),ne(ze)}else i(m);O=t(m)}if(O!==null)ot=!0;else{var Ge=t(C);Ge!==null&&xe(Z,Ge.startTime-ze),ot=!1}}break e}finally{O=null,U=yt,K=!1}ot=void 0}}finally{ot?Be():oe=!1}}}var Be;if(typeof ae=="function")Be=function(){ae(Me)};else if(typeof MessageChannel<"u"){var we=new MessageChannel,qe=we.port2;we.port1.onmessage=Me,Be=function(){qe.postMessage(null)}}else Be=function(){ee(Me,0)};function xe(ze,ot){W=ee(function(){ze(n.unstable_now())},ot)}n.unstable_IdlePriority=5,n.unstable_ImmediatePriority=1,n.unstable_LowPriority=4,n.unstable_NormalPriority=3,n.unstable_Profiling=null,n.unstable_UserBlockingPriority=2,n.unstable_cancelCallback=function(ze){ze.callback=null},n.unstable_forceFrameRate=function(ze){0>ze||125<ze?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):ce=0<ze?Math.floor(1e3/ze):5},n.unstable_getCurrentPriorityLevel=function(){return U},n.unstable_next=function(ze){switch(U){case 1:case 2:case 3:var ot=3;break;default:ot=U}var yt=U;U=ot;try{return ze()}finally{U=yt}},n.unstable_requestPaint=function(){Q=!0},n.unstable_runWithPriority=function(ze,ot){switch(ze){case 1:case 2:case 3:case 4:case 5:break;default:ze=3}var yt=U;U=ze;try{return ot()}finally{U=yt}},n.unstable_scheduleCallback=function(ze,ot,yt){var nt=n.unstable_now();switch(typeof yt=="object"&&yt!==null?(yt=yt.delay,yt=typeof yt=="number"&&0<yt?nt+yt:nt):yt=nt,ze){case 1:var be=-1;break;case 2:be=250;break;case 5:be=1073741823;break;case 4:be=1e4;break;default:be=5e3}return be=yt+be,ze={id:S++,callback:ot,priorityLevel:ze,startTime:yt,expirationTime:be,sortIndex:-1},yt>nt?(ze.sortIndex=yt,e(C,ze),t(m)===null&&ze===t(C)&&(j?(V(W),W=-1):j=!0,xe(Z,yt-nt))):(ze.sortIndex=be,e(m,ze),z||K||(z=!0,oe||(oe=!0,Be()))),ze},n.unstable_shouldYield=ye,n.unstable_wrapCallback=function(ze){var ot=U;return function(){var yt=U;U=ot;try{return ze.apply(this,arguments)}finally{U=yt}}}}(u4)),u4}var y7;function fW(){return y7||(y7=1,A4.exports=dW()),A4.exports}var c4={exports:{}},Rh={};/**
*/var c7;function sW(){return c7||(c7=1,function(n){function e(ze,ot){var yt=ze.length;ze.push(ot);e:for(;0<yt;){var nt=yt-1>>>1,be=ze[nt];if(0<r(be,ot))ze[nt]=ot,ze[yt]=be,yt=nt;else break e}}function t(ze){return ze.length===0?null:ze[0]}function i(ze){if(ze.length===0)return null;var ot=ze[0],yt=ze.pop();if(yt!==ot){ze[0]=yt;e:for(var nt=0,be=ze.length,Ne=be>>>1;nt<Ne;){var tt=2*(nt+1)-1,lt=ze[tt],It=tt+1,pt=ze[It];if(0>r(lt,yt))It<be&&0>r(pt,lt)?(ze[nt]=pt,ze[It]=yt,nt=It):(ze[nt]=lt,ze[tt]=yt,nt=tt);else if(It<be&&0>r(pt,yt))ze[nt]=pt,ze[It]=yt,nt=It;else break e}}return ot}function r(ze,ot){var yt=ze.sortIndex-ot.sortIndex;return yt!==0?yt:ze.id-ot.id}if(n.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var a=performance;n.unstable_now=function(){return a.now()}}else{var l=Date,o=l.now();n.unstable_now=function(){return l.now()-o}}var m=[],C=[],S=1,O=null,U=3,K=!1,z=!1,j=!1,Q=!1,ee=typeof setTimeout=="function"?setTimeout:null,V=typeof clearTimeout=="function"?clearTimeout:null,ae=typeof setImmediate<"u"?setImmediate:null;function ne(ze){for(var ot=t(C);ot!==null;){if(ot.callback===null)i(C);else if(ot.startTime<=ze)i(C),ot.sortIndex=ot.expirationTime,e(m,ot);else break;ot=t(C)}}function Z(ze){if(j=!1,ne(ze),!z)if(t(m)!==null)z=!0,oe||(oe=!0,Be());else{var ot=t(C);ot!==null&&xe(Z,ot.startTime-ze)}}var oe=!1,W=-1,ue=5,ge=-1;function ye(){return Q?!0:!(n.unstable_now()-ge<ue)}function Me(){if(Q=!1,oe){var ze=n.unstable_now();ge=ze;var ot=!0;try{e:{z=!1,j&&(j=!1,V(W),W=-1),K=!0;var yt=U;try{t:{for(ne(ze),O=t(m);O!==null&&!(O.expirationTime>ze&&ye());){var nt=O.callback;if(typeof nt=="function"){O.callback=null,U=O.priorityLevel;var be=nt(O.expirationTime<=ze);if(ze=n.unstable_now(),typeof be=="function"){O.callback=be,ne(ze),ot=!0;break t}O===t(m)&&i(m),ne(ze)}else i(m);O=t(m)}if(O!==null)ot=!0;else{var Ne=t(C);Ne!==null&&xe(Z,Ne.startTime-ze),ot=!1}}break e}finally{O=null,U=yt,K=!1}ot=void 0}}finally{ot?Be():oe=!1}}}var Be;if(typeof ae=="function")Be=function(){ae(Me)};else if(typeof MessageChannel<"u"){var we=new MessageChannel,qe=we.port2;we.port1.onmessage=Me,Be=function(){qe.postMessage(null)}}else Be=function(){ee(Me,0)};function xe(ze,ot){W=ee(function(){ze(n.unstable_now())},ot)}n.unstable_IdlePriority=5,n.unstable_ImmediatePriority=1,n.unstable_LowPriority=4,n.unstable_NormalPriority=3,n.unstable_Profiling=null,n.unstable_UserBlockingPriority=2,n.unstable_cancelCallback=function(ze){ze.callback=null},n.unstable_forceFrameRate=function(ze){0>ze||125<ze?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):ue=0<ze?Math.floor(1e3/ze):5},n.unstable_getCurrentPriorityLevel=function(){return U},n.unstable_next=function(ze){switch(U){case 1:case 2:case 3:var ot=3;break;default:ot=U}var yt=U;U=ot;try{return ze()}finally{U=yt}},n.unstable_requestPaint=function(){Q=!0},n.unstable_runWithPriority=function(ze,ot){switch(ze){case 1:case 2:case 3:case 4:case 5:break;default:ze=3}var yt=U;U=ze;try{return ot()}finally{U=yt}},n.unstable_scheduleCallback=function(ze,ot,yt){var nt=n.unstable_now();switch(typeof yt=="object"&&yt!==null?(yt=yt.delay,yt=typeof yt=="number"&&0<yt?nt+yt:nt):yt=nt,ze){case 1:var be=-1;break;case 2:be=250;break;case 5:be=1073741823;break;case 4:be=1e4;break;default:be=5e3}return be=yt+be,ze={id:S++,callback:ot,priorityLevel:ze,startTime:yt,expirationTime:be,sortIndex:-1},yt>nt?(ze.sortIndex=yt,e(C,ze),t(m)===null&&ze===t(C)&&(j?(V(W),W=-1):j=!0,xe(Z,yt-nt))):(ze.sortIndex=be,e(m,ze),z||K||(z=!0,oe||(oe=!0,Be()))),ze},n.unstable_shouldYield=ye,n.unstable_wrapCallback=function(ze){var ot=U;return function(){var yt=U;U=ot;try{return ze.apply(this,arguments)}finally{U=yt}}}}(r4)),r4}var h7;function lW(){return h7||(h7=1,i4.exports=sW()),i4.exports}var o4={exports:{}},Rh={};/**
* @license React
* react-dom.production.js
*
@@ -30,7 +30,7 @@
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var v7;function mW(){if(v7)return Rh;v7=1;var n=pl();function e(m){var C="https://react.dev/errors/"+m;if(1<arguments.length){C+="?args[]="+encodeURIComponent(arguments[1]);for(var S=2;S<arguments.length;S++)C+="&args[]="+encodeURIComponent(arguments[S])}return"Minified React error #"+m+"; visit "+C+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function t(){}var i={d:{f:t,r:function(){throw Error(e(522))},D:t,C:t,L:t,m:t,X:t,S:t,M:t},p:0,findDOMNode:null},r=Symbol.for("react.portal");function a(m,C,S){var O=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:r,key:O==null?null:""+O,children:m,containerInfo:C,implementation:S}}var l=n.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function o(m,C){if(m==="font")return"";if(typeof C=="string")return C==="use-credentials"?C:""}return Rh.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=i,Rh.createPortal=function(m,C){var S=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!C||C.nodeType!==1&&C.nodeType!==9&&C.nodeType!==11)throw Error(e(299));return a(m,C,null,S)},Rh.flushSync=function(m){var C=l.T,S=i.p;try{if(l.T=null,i.p=2,m)return m()}finally{l.T=C,i.p=S,i.d.f()}},Rh.preconnect=function(m,C){typeof m=="string"&&(C?(C=C.crossOrigin,C=typeof C=="string"?C==="use-credentials"?C:"":void 0):C=null,i.d.C(m,C))},Rh.prefetchDNS=function(m){typeof m=="string"&&i.d.D(m)},Rh.preinit=function(m,C){if(typeof m=="string"&&C&&typeof C.as=="string"){var S=C.as,O=o(S,C.crossOrigin),U=typeof C.integrity=="string"?C.integrity:void 0,K=typeof C.fetchPriority=="string"?C.fetchPriority:void 0;S==="style"?i.d.S(m,typeof C.precedence=="string"?C.precedence:void 0,{crossOrigin:O,integrity:U,fetchPriority:K}):S==="script"&&i.d.X(m,{crossOrigin:O,integrity:U,fetchPriority:K,nonce:typeof C.nonce=="string"?C.nonce:void 0})}},Rh.preinitModule=function(m,C){if(typeof m=="string")if(typeof C=="object"&&C!==null){if(C.as==null||C.as==="script"){var S=o(C.as,C.crossOrigin);i.d.M(m,{crossOrigin:S,integrity:typeof C.integrity=="string"?C.integrity:void 0,nonce:typeof C.nonce=="string"?C.nonce:void 0})}}else C==null&&i.d.M(m)},Rh.preload=function(m,C){if(typeof m=="string"&&typeof C=="object"&&C!==null&&typeof C.as=="string"){var S=C.as,O=o(S,C.crossOrigin);i.d.L(m,S,{crossOrigin:O,integrity:typeof C.integrity=="string"?C.integrity:void 0,nonce:typeof C.nonce=="string"?C.nonce:void 0,type:typeof C.type=="string"?C.type:void 0,fetchPriority:typeof C.fetchPriority=="string"?C.fetchPriority:void 0,referrerPolicy:typeof C.referrerPolicy=="string"?C.referrerPolicy:void 0,imageSrcSet:typeof C.imageSrcSet=="string"?C.imageSrcSet:void 0,imageSizes:typeof C.imageSizes=="string"?C.imageSizes:void 0,media:typeof C.media=="string"?C.media:void 0})}},Rh.preloadModule=function(m,C){if(typeof m=="string")if(C){var S=o(C.as,C.crossOrigin);i.d.m(m,{as:typeof C.as=="string"&&C.as!=="script"?C.as:void 0,crossOrigin:S,integrity:typeof C.integrity=="string"?C.integrity:void 0})}else i.d.m(m)},Rh.requestFormReset=function(m){i.d.r(m)},Rh.unstable_batchedUpdates=function(m,C){return m(C)},Rh.useFormState=function(m,C,S){return l.H.useFormState(m,C,S)},Rh.useFormStatus=function(){return l.H.useHostTransitionStatus()},Rh.version="19.1.1",Rh}var C7;function P3(){if(C7)return c4.exports;C7=1;function n(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n)}catch(e){console.error(e)}}return n(),c4.exports=mW(),c4.exports}var _7;function pW(){if(_7)return cC;_7=1;/**
*/var d7;function AW(){if(d7)return Rh;d7=1;var n=pl();function e(m){var C="https://react.dev/errors/"+m;if(1<arguments.length){C+="?args[]="+encodeURIComponent(arguments[1]);for(var S=2;S<arguments.length;S++)C+="&args[]="+encodeURIComponent(arguments[S])}return"Minified React error #"+m+"; visit "+C+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function t(){}var i={d:{f:t,r:function(){throw Error(e(522))},D:t,C:t,L:t,m:t,X:t,S:t,M:t},p:0,findDOMNode:null},r=Symbol.for("react.portal");function a(m,C,S){var O=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:r,key:O==null?null:""+O,children:m,containerInfo:C,implementation:S}}var l=n.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function o(m,C){if(m==="font")return"";if(typeof C=="string")return C==="use-credentials"?C:""}return Rh.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=i,Rh.createPortal=function(m,C){var S=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!C||C.nodeType!==1&&C.nodeType!==9&&C.nodeType!==11)throw Error(e(299));return a(m,C,null,S)},Rh.flushSync=function(m){var C=l.T,S=i.p;try{if(l.T=null,i.p=2,m)return m()}finally{l.T=C,i.p=S,i.d.f()}},Rh.preconnect=function(m,C){typeof m=="string"&&(C?(C=C.crossOrigin,C=typeof C=="string"?C==="use-credentials"?C:"":void 0):C=null,i.d.C(m,C))},Rh.prefetchDNS=function(m){typeof m=="string"&&i.d.D(m)},Rh.preinit=function(m,C){if(typeof m=="string"&&C&&typeof C.as=="string"){var S=C.as,O=o(S,C.crossOrigin),U=typeof C.integrity=="string"?C.integrity:void 0,K=typeof C.fetchPriority=="string"?C.fetchPriority:void 0;S==="style"?i.d.S(m,typeof C.precedence=="string"?C.precedence:void 0,{crossOrigin:O,integrity:U,fetchPriority:K}):S==="script"&&i.d.X(m,{crossOrigin:O,integrity:U,fetchPriority:K,nonce:typeof C.nonce=="string"?C.nonce:void 0})}},Rh.preinitModule=function(m,C){if(typeof m=="string")if(typeof C=="object"&&C!==null){if(C.as==null||C.as==="script"){var S=o(C.as,C.crossOrigin);i.d.M(m,{crossOrigin:S,integrity:typeof C.integrity=="string"?C.integrity:void 0,nonce:typeof C.nonce=="string"?C.nonce:void 0})}}else C==null&&i.d.M(m)},Rh.preload=function(m,C){if(typeof m=="string"&&typeof C=="object"&&C!==null&&typeof C.as=="string"){var S=C.as,O=o(S,C.crossOrigin);i.d.L(m,S,{crossOrigin:O,integrity:typeof C.integrity=="string"?C.integrity:void 0,nonce:typeof C.nonce=="string"?C.nonce:void 0,type:typeof C.type=="string"?C.type:void 0,fetchPriority:typeof C.fetchPriority=="string"?C.fetchPriority:void 0,referrerPolicy:typeof C.referrerPolicy=="string"?C.referrerPolicy:void 0,imageSrcSet:typeof C.imageSrcSet=="string"?C.imageSrcSet:void 0,imageSizes:typeof C.imageSizes=="string"?C.imageSizes:void 0,media:typeof C.media=="string"?C.media:void 0})}},Rh.preloadModule=function(m,C){if(typeof m=="string")if(C){var S=o(C.as,C.crossOrigin);i.d.m(m,{as:typeof C.as=="string"&&C.as!=="script"?C.as:void 0,crossOrigin:S,integrity:typeof C.integrity=="string"?C.integrity:void 0})}else i.d.m(m)},Rh.requestFormReset=function(m){i.d.r(m)},Rh.unstable_batchedUpdates=function(m,C){return m(C)},Rh.useFormState=function(m,C,S){return l.H.useFormState(m,C,S)},Rh.useFormStatus=function(){return l.H.useHostTransitionStatus()},Rh.version="19.1.1",Rh}var f7;function O3(){if(f7)return o4.exports;f7=1;function n(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n)}catch(e){console.error(e)}}return n(),o4.exports=AW(),o4.exports}var m7;function uW(){if(m7)return cC;m7=1;/**
* @license React
* react-dom-client.production.js
*
@@ -38,36 +38,36 @@
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var n=fW(),e=pl(),t=P3();function i(u){var p="https://react.dev/errors/"+u;if(1<arguments.length){p+="?args[]="+encodeURIComponent(arguments[1]);for(var b=2;b<arguments.length;b++)p+="&args[]="+encodeURIComponent(arguments[b])}return"Minified React error #"+u+"; visit "+p+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function r(u){return!(!u||u.nodeType!==1&&u.nodeType!==9&&u.nodeType!==11)}function a(u){var p=u,b=u;if(u.alternate)for(;p.return;)p=p.return;else{u=p;do p=u,(p.flags&4098)!==0&&(b=p.return),u=p.return;while(u)}return p.tag===3?b:null}function l(u){if(u.tag===13){var p=u.memoizedState;if(p===null&&(u=u.alternate,u!==null&&(p=u.memoizedState)),p!==null)return p.dehydrated}return null}function o(u){if(a(u)!==u)throw Error(i(188))}function m(u){var p=u.alternate;if(!p){if(p=a(u),p===null)throw Error(i(188));return p!==u?null:u}for(var b=u,T=p;;){var Y=b.return;if(Y===null)break;var se=Y.alternate;if(se===null){if(T=Y.return,T!==null){b=T;continue}break}if(Y.child===se.child){for(se=Y.child;se;){if(se===b)return o(Y),u;if(se===T)return o(Y),p;se=se.sibling}throw Error(i(188))}if(b.return!==T.return)b=Y,T=se;else{for(var je=!1,at=Y.child;at;){if(at===b){je=!0,b=Y,T=se;break}if(at===T){je=!0,T=Y,b=se;break}at=at.sibling}if(!je){for(at=se.child;at;){if(at===b){je=!0,b=se,T=Y;break}if(at===T){je=!0,T=se,b=Y;break}at=at.sibling}if(!je)throw Error(i(189))}}if(b.alternate!==T)throw Error(i(190))}if(b.tag!==3)throw Error(i(188));return b.stateNode.current===b?u:p}function C(u){var p=u.tag;if(p===5||p===26||p===27||p===6)return u;for(u=u.child;u!==null;){if(p=C(u),p!==null)return p;u=u.sibling}return null}var S=Object.assign,O=Symbol.for("react.element"),U=Symbol.for("react.transitional.element"),K=Symbol.for("react.portal"),z=Symbol.for("react.fragment"),j=Symbol.for("react.strict_mode"),Q=Symbol.for("react.profiler"),ee=Symbol.for("react.provider"),V=Symbol.for("react.consumer"),ae=Symbol.for("react.context"),ne=Symbol.for("react.forward_ref"),Z=Symbol.for("react.suspense"),oe=Symbol.for("react.suspense_list"),W=Symbol.for("react.memo"),ce=Symbol.for("react.lazy"),ge=Symbol.for("react.activity"),ye=Symbol.for("react.memo_cache_sentinel"),Me=Symbol.iterator;function Be(u){return u===null||typeof u!="object"?null:(u=Me&&u[Me]||u["@@iterator"],typeof u=="function"?u:null)}var we=Symbol.for("react.client.reference");function qe(u){if(u==null)return null;if(typeof u=="function")return u.$$typeof===we?null:u.displayName||u.name||null;if(typeof u=="string")return u;switch(u){case z:return"Fragment";case Q:return"Profiler";case j:return"StrictMode";case Z:return"Suspense";case oe:return"SuspenseList";case ge:return"Activity"}if(typeof u=="object")switch(u.$$typeof){case K:return"Portal";case ae:return(u.displayName||"Context")+".Provider";case V:return(u._context.displayName||"Context")+".Consumer";case ne:var p=u.render;return u=u.displayName,u||(u=p.displayName||p.name||"",u=u!==""?"ForwardRef("+u+")":"ForwardRef"),u;case W:return p=u.displayName||null,p!==null?p:qe(u.type)||"Memo";case ce:p=u._payload,u=u._init;try{return qe(u(p))}catch{}}return null}var xe=Array.isArray,ze=e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ot=t.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,yt={pending:!1,data:null,method:null,action:null},nt=[],be=-1;function Ge(u){return{current:u}}function tt(u){0>be||(u.current=nt[be],nt[be]=null,be--)}function lt(u,p){be++,nt[be]=u.current,u.current=p}var It=Ge(null),pt=Ge(null),St=Ge(null),Rt=Ge(null);function Le(u,p){switch(lt(St,p),lt(pt,u),lt(It,null),p.nodeType){case 9:case 11:u=(u=p.documentElement)&&(u=u.namespaceURI)?sl(u):0;break;default:if(u=p.tagName,p=p.namespaceURI)p=sl(p),u=ll(p,u);else switch(u){case"svg":u=1;break;case"math":u=2;break;default:u=0}}tt(It),lt(It,u)}function Pe(){tt(It),tt(pt),tt(St)}function Re(u){u.memoizedState!==null&&lt(Rt,u);var p=It.current,b=ll(p,u.type);p!==b&&(lt(pt,u),lt(It,b))}function He(u){pt.current===u&&(tt(It),tt(pt)),Rt.current===u&&(tt(Rt),Qt._currentValue=yt)}var bt=Object.prototype.hasOwnProperty,vt=n.unstable_scheduleCallback,Ot=n.unstable_cancelCallback,qt=n.unstable_shouldYield,Kt=n.unstable_requestPaint,on=n.unstable_now,Jn=n.unstable_getCurrentPriorityLevel,Wt=n.unstable_ImmediatePriority,$n=n.unstable_UserBlockingPriority,On=n.unstable_NormalPriority,Bn=n.unstable_LowPriority,In=n.unstable_IdlePriority,Bi=n.log,ei=n.unstable_setDisableYieldValue,Kn=null,Ne=null;function de(u){if(typeof Bi=="function"&&ei(u),Ne&&typeof Ne.setStrictMode=="function")try{Ne.setStrictMode(Kn,u)}catch{}}var re=Math.clz32?Math.clz32:Te,le=Math.log,me=Math.LN2;function Te(u){return u>>>=0,u===0?32:31-(le(u)/me|0)|0}var We=256,dt=4194304;function Ye(u){var p=u&42;if(p!==0)return p;switch(u&-u){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:caLine truncated
*/var n=lW(),e=pl(),t=O3();function i(u){var p="https://react.dev/errors/"+u;if(1<arguments.length){p+="?args[]="+encodeURIComponent(arguments[1]);for(var b=2;b<arguments.length;b++)p+="&args[]="+encodeURIComponent(arguments[b])}return"Minified React error #"+u+"; visit "+p+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function r(u){return!(!u||u.nodeType!==1&&u.nodeType!==9&&u.nodeType!==11)}function a(u){var p=u,b=u;if(u.alternate)for(;p.return;)p=p.return;else{u=p;do p=u,(p.flags&4098)!==0&&(b=p.return),u=p.return;while(u)}return p.tag===3?b:null}function l(u){if(u.tag===13){var p=u.memoizedState;if(p===null&&(u=u.alternate,u!==null&&(p=u.memoizedState)),p!==null)return p.dehydrated}return null}function o(u){if(a(u)!==u)throw Error(i(188))}function m(u){var p=u.alternate;if(!p){if(p=a(u),p===null)throw Error(i(188));return p!==u?null:u}for(var b=u,T=p;;){var Y=b.return;if(Y===null)break;var se=Y.alternate;if(se===null){if(T=Y.return,T!==null){b=T;continue}break}if(Y.child===se.child){for(se=Y.child;se;){if(se===b)return o(Y),u;if(se===T)return o(Y),p;se=se.sibling}throw Error(i(188))}if(b.return!==T.return)b=Y,T=se;else{for(var je=!1,at=Y.child;at;){if(at===b){je=!0,b=Y,T=se;break}if(at===T){je=!0,T=Y,b=se;break}at=at.sibling}if(!je){for(at=se.child;at;){if(at===b){je=!0,b=se,T=Y;break}if(at===T){je=!0,T=se,b=Y;break}at=at.sibling}if(!je)throw Error(i(189))}}if(b.alternate!==T)throw Error(i(190))}if(b.tag!==3)throw Error(i(188));return b.stateNode.current===b?u:p}function C(u){var p=u.tag;if(p===5||p===26||p===27||p===6)return u;for(u=u.child;u!==null;){if(p=C(u),p!==null)return p;u=u.sibling}return null}var S=Object.assign,O=Symbol.for("react.element"),U=Symbol.for("react.transitional.element"),K=Symbol.for("react.portal"),z=Symbol.for("react.fragment"),j=Symbol.for("react.strict_mode"),Q=Symbol.for("react.profiler"),ee=Symbol.for("react.provider"),V=Symbol.for("react.consumer"),ae=Symbol.for("react.context"),ne=Symbol.for("react.forward_ref"),Z=Symbol.for("react.suspense"),oe=Symbol.for("react.suspense_list"),W=Symbol.for("react.memo"),ue=Symbol.for("react.lazy"),ge=Symbol.for("react.activity"),ye=Symbol.for("react.memo_cache_sentinel"),Me=Symbol.iterator;function Be(u){return u===null||typeof u!="object"?null:(u=Me&&u[Me]||u["@@iterator"],typeof u=="function"?u:null)}var we=Symbol.for("react.client.reference");function qe(u){if(u==null)return null;if(typeof u=="function")return u.$$typeof===we?null:u.displayName||u.name||null;if(typeof u=="string")return u;switch(u){case z:return"Fragment";case Q:return"Profiler";case j:return"StrictMode";case Z:return"Suspense";case oe:return"SuspenseList";case ge:return"Activity"}if(typeof u=="object")switch(u.$$typeof){case K:return"Portal";case ae:return(u.displayName||"Context")+".Provider";case V:return(u._context.displayName||"Context")+".Consumer";case ne:var p=u.render;return u=u.displayName,u||(u=p.displayName||p.name||"",u=u!==""?"ForwardRef("+u+")":"ForwardRef"),u;case W:return p=u.displayName||null,p!==null?p:qe(u.type)||"Memo";case ue:p=u._payload,u=u._init;try{return qe(u(p))}catch{}}return null}var xe=Array.isArray,ze=e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ot=t.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,yt={pending:!1,data:null,method:null,action:null},nt=[],be=-1;function Ne(u){return{current:u}}function tt(u){0>be||(u.current=nt[be],nt[be]=null,be--)}function lt(u,p){be++,nt[be]=u.current,u.current=p}var It=Ne(null),pt=Ne(null),St=Ne(null),Rt=Ne(null);function Le(u,p){switch(lt(St,p),lt(pt,u),lt(It,null),p.nodeType){case 9:case 11:u=(u=p.documentElement)&&(u=u.namespaceURI)?sl(u):0;break;default:if(u=p.tagName,p=p.namespaceURI)p=sl(p),u=ll(p,u);else switch(u){case"svg":u=1;break;case"math":u=2;break;default:u=0}}tt(It),lt(It,u)}function Pe(){tt(It),tt(pt),tt(St)}function Re(u){u.memoizedState!==null&&lt(Rt,u);var p=It.current,b=ll(p,u.type);p!==b&&(lt(pt,u),lt(It,b))}function He(u){pt.current===u&&(tt(It),tt(pt)),Rt.current===u&&(tt(Rt),Qt._currentValue=yt)}var bt=Object.prototype.hasOwnProperty,vt=n.unstable_scheduleCallback,Ot=n.unstable_cancelCallback,qt=n.unstable_shouldYield,Kt=n.unstable_requestPaint,on=n.unstable_now,Jn=n.unstable_getCurrentPriorityLevel,Wt=n.unstable_ImmediatePriority,$n=n.unstable_UserBlockingPriority,On=n.unstable_NormalPriority,Bn=n.unstable_LowPriority,In=n.unstable_IdlePriority,Bi=n.log,ei=n.unstable_setDisableYieldValue,Kn=null,Ge=null;function de(u){if(typeof Bi=="function"&&ei(u),Ge&&typeof Ge.setStrictMode=="function")try{Ge.setStrictMode(Kn,u)}catch{}}var re=Math.clz32?Math.clz32:Te,le=Math.log,me=Math.LN2;function Te(u){return u>>>=0,u===0?32:31-(le(u)/me|0)|0}var We=256,dt=4194304;function Ye(u){var p=u&42;if(p!==0)return p;switch(u&-u){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:caLine truncated
at`)?" (<anonymous>)":-1<b.stack.indexOf("@")?"@unknown:0:0":""}return`
`+ls+u+Ma}var $e=!1;function Et(u,p){if(!u||$e)return"";$e=!0;var b=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var T={DetermineComponentFrameRoot:function(){try{if(p){var Nn=function(){throw Error()};if(Object.defineProperty(Nn.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(Nn,[])}catch(fn){var mn=fn}Reflect.construct(u,[],Nn)}else{try{Nn.call()}catch(fn){mn=fn}u.call(Nn.prototype)}}else{try{throw Error()}catch(fn){mn=fn}(Nn=u())&&typeof Nn.catch=="function"&&Nn.catch(function(){})}}catch(fn){if(fn&&mn&&typeof fn.stack=="string")return[fn.stack,mn.stack]}return[null,null]}};T.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var Y=Object.getOwnPropertyDescriptor(T.DetermineComponentFrameRoot,"name");Y&&Y.configurable&&Object.defineProperty(T.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var se=T.DetermineComponentFrameRoot(),je=se[0],at=se[1];if(je&&at){var Ft=je.split(`
`+ls+u+Ma}var $e=!1;function Et(u,p){if(!u||$e)return"";$e=!0;var b=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var T={DetermineComponentFrameRoot:function(){try{if(p){var Gn=function(){throw Error()};if(Object.defineProperty(Gn.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(Gn,[])}catch(fn){var mn=fn}Reflect.construct(u,[],Gn)}else{try{Gn.call()}catch(fn){mn=fn}u.call(Gn.prototype)}}else{try{throw Error()}catch(fn){mn=fn}(Gn=u())&&typeof Gn.catch=="function"&&Gn.catch(function(){})}}catch(fn){if(fn&&mn&&typeof fn.stack=="string")return[fn.stack,mn.stack]}return[null,null]}};T.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var Y=Object.getOwnPropertyDescriptor(T.DetermineComponentFrameRoot,"name");Y&&Y.configurable&&Object.defineProperty(T.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var se=T.DetermineComponentFrameRoot(),je=se[0],at=se[1];if(je&&at){var Ft=je.split(`
`),hn=at.split(`
`);for(Y=T=0;T<Ft.length&&!Ft[T].includes("DetermineComponentFrameRoot");)T++;for(;Y<hn.length&&!hn[Y].includes("DetermineComponentFrameRoot");)Y++;if(T===Ft.length||Y===hn.length)for(T=Ft.length-1,Y=hn.length-1;1<=T&&0<=Y&&Ft[T]!==hn[Y];)Y--;for(;1<=T&&0<=Y;T--,Y--)if(Ft[T]!==hn[Y]){if(T!==1||Y!==1)do if(T--,Y--,0>Y||Ft[T]!==hn[Y]){var kn=`
`+Ft[T].replace(" at new "," at ");return u.displayName&&kn.includes("<anonymous>")&&(kn=kn.replace("<anonymous>",u.displayName)),kn}while(1<=T&&0<=Y);break}}}finally{$e=!1,Error.prepareStackTrace=b}return(b=u?u.displayName||u.name:"")?Vo(b):""}function xn(u){switch(u.tag){case 26:case 27:case 5:return Vo(u.type);case 16:return Vo("Lazy");case 13:return Vo("Suspense");case 19:return Vo("SuspenseList");case 0:case 15:return Et(u.type,!1);case 11:return Et(u.type.render,!1);case 1:return Et(u.type,!0);case 31:return Vo("Activity");default:return""}}function jn(u){try{var p="";do p+=xn(u),u=u.return;while(u);return p}catch(b){return`
Error generating stack: `+b.message+`
`+b.stack}}function rn(u){switch(typeof u){case"bigint":case"boolean":case"number":case"string":case"undefined":return u;case"object":return u;default:return""}}function si(u){var p=u.type;return(u=u.nodeName)&&u.toLowerCase()==="input"&&(p==="checkbox"||p==="radio")}function Jr(u){var p=si(u)?"checked":"value",b=Object.getOwnPropertyDescriptor(u.constructor.prototype,p),T=""+u[p];if(!u.hasOwnProperty(p)&&typeof b<"u"&&typeof b.get=="function"&&typeof b.set=="function"){var Y=b.get,se=b.set;return Object.defineProperty(u,p,{configurable:!0,get:function(){return Y.call(this)},set:function(je){T=""+je,se.call(this,je)}}),Object.defineProperty(u,p,{enumerable:b.enumerable}),{getValue:function(){return T},setValue:function(je){T=""+je},stopTracking:function(){u._valueTracker=null,delete u[p]}}}}function wo(u){u._valueTracker||(u._valueTracker=Jr(u))}function As(u){if(!u)return!1;var p=u._valueTracker;if(!p)return!0;var b=p.getValue(),T="";return u&&(T=si(u)?u.checked?"true":"false":u.value),u=T,u!==b?(p.setValue(u),!0):!1}function Us(u){if(u=u||(typeof document<"u"?document:void 0),typeof u>"u")return null;try{return u.activeElement||u.body}catch{return u.body}}var YA=/[\n"\\]/g;function Qi(u){return u.replace(YA,function(p){return"\\"+p.charCodeAt(0).toString(16)+" "})}function Du(u,p,b,T,Y,se,je,at){u.name="",je!=null&&typeof je!="function"&&typeof je!="symbol"&&typeof je!="boolean"?u.type=je:u.removeAttribute("type"),p!=null?je==="number"?(p===0&&u.value===""||u.value!=p)&&(u.value=""+rn(p)):u.value!==""+rn(p)&&(u.value=""+rn(p)):je!=="submit"&&je!=="reset"||u.removeAttribute("value"),p!=null?yl(u,je,rn(p)):b!=null?yl(u,je,rn(b)):T!=null&&u.removeAttribute("value"),Y==null&&se!=null&&(u.defaultChecked=!!se),Y!=null&&(u.checked=Y&&typeof Y!="function"&&typeof Y!="symbol"),at!=null&&typeof at!="function"&&typeof at!="symbol"&&typeof at!="boolean"?u.name=""+rn(at):u.removeAttribute("name")}function _A(u,p,b,T,Y,se,je,at){if(se!=null&&typeof se!="function"&&typeof se!="symbol"&&typeof se!="boolean"&&(u.type=se),p!=null||b!=null){if(!(se!=="submit"&&se!=="reset"||p!=null))return;b=b!=null?""+rn(b):"",p=p!=null?""+rn(p):b,at||p===u.value||(u.value=p),u.defaultValue=p}T=T??Y,T=typeof T!="function"&&typeof T!="symbol"&&!!T,u.checked=at?u.checked:!!T,u.defaultChecked=!!T,je!=null&&typeof je!="function"&&typeof je!="symbol"&&typeof je!="boolean"&&(u.name=je)}function yl(u,p,b){p==="number"&&Us(u.ownerDocument)===u||u.defaultValue===""+b||(u.defaultValue=""+b)}function Ss(u,p,b,T){if(u=u.options,p){p={};for(var Y=0;Y<b.length;Y++)p["$"+b[Y]]=!0;for(b=0;b<u.length;b++)Y=p.hasOwnProperty("$"+u[b].value),u[b].selected!==Y&&(u[b].selected=Y),Y&&T&&(u[b].defaultSelected=!0)}else{for(b=""+rn(b),p=null,Y=0;Y<u.length;Y++){if(u[Y].value===b){u[Y].selected=!0,T&&(u[Y].defaultSelected=!0);return}p!==null||u[Y].disabled||(p=u[Y])}p!==null&&(p.selected=!0)}}function bc(u,p,b){if(p!=null&&(p=""+rn(p),p!==u.value&&(u.value=p),b==null)){u.defaultValue!==p&&(u.defaultValue=p);return}u.defaultValue=b!=null?""+rn(b):""}function Qs(u,p,b,T){if(p==null){if(T!=null){if(b!=null)throw Error(i(92));if(xe(T)){if(1<T.length)throw Error(i(93));T=T[0]}b=T}b==null&&(b=""),p=b}b=rn(p),u.defaultValue=b,T=u.textContent,T===b&&T!==""&&T!==null&&(u.value=T)}function $o(u,p){if(p){var b=u.firstChild;if(b&&b===u.lastChild&&b.nodeType===3){b.nodeValue=p;return}}u.textContent=p}var ko=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function dr(u,p,b){var T=p.indexOf("--")===0;b==null||typeof b=="boolean"||b===""?T?u.setProperty(p,""):p==="float"?u.cssFloat="":u[p]="":T?u.setProperty(p,b):typeof b!="number"||b===0||ko.has(p)?p==="float"?u.cssFloat=b:u[p]=(""+b).trim():u[p]=b+"px"}function Kl(u,p,b){if(p!=null&&typeof p!="object")throw Error(i(62));if(u=u.style,b!=null){for(var T in b)!b.hasOwnProperty(T)||p!=null&&p.hasOwnProperty(T)||(T.indexOf("--")===0?u.setProperty(T,""):T==="float"?u.cssFloat="":u[T]="");for(var Y in p)T=p[Y],p.hasOwnProperty(Y)&&b[Y]!==T&&dr(u,Y,T)}else for(var se in p)p.hasOwnProperty(se)&&dr(u,se,p[se])}function ga(u){if(u.indexOf("-")=== Line truncated
`).replace(mf,"")}function rg(u,p){return p=n1(p),n1(u)===p}function Zu(){}function Ba(u,p,b,T,Y,se){switch(b){case"children":typeof T=="string"?p==="body"||p==="textarea"&&T===""||$o(u,T):(typeof T=="number"||typeof T=="bigint")&&p!=="body"&&$o(u,""+T);break;case"className":Vi(u,"class",T);break;case"tabIndex":Vi(u,"tabindex",T);break;case"dir":case"role":case"viewBox":case"width":case"height":Vi(u,b,T);break;case"style":Kl(u,T,se);break;case"data":if(p!=="object"){Vi(u,"data",T);break}case"src":case"href":if(T===""&&(p!=="a"||b!=="href")){u.removeAttribute(b);break}if(T==null||typeof T=="function"||typeof T=="symbol"||typeof T=="boolean"){u.removeAttribute(b);break}T=br(""+T),u.setAttribute(b,T);break;case"action":case"formAction":if(typeof T=="function"){u.setAttribute(b,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof se=="function"&&(b==="formAction"?(p!=="input"&&Ba(u,p,"name",Y.name,Y,null),Ba(u,p,"formEncType",Y.formEncType,Y,null),Ba(u,p,"formMethod",Y.formMethod,Y,null),Ba(u,p,"formTarget",Y.formTarget,Y,null)):(Ba(u,p,"encType",Y.encType,Y,null),Ba(u,p,"method",Y.method,Y,null),Ba(u,p,"target",Y.target,Y,null)));if(T==null||typeof T=="symbol"||typeof T=="boolean"){u.removeAttribute(b);break}T=br(""+T),u.setAttribute(b,T);break;case"onClick":T!=null&&(u.onclick=Zu);break;case"onScroll":T!=null&&na("scroll",u);break;case"onScrollEnd":T!=null&&na("scrollend",u);break;case"dangerouslySetInnerHTML":if(T!=null){if(typeof T!="object"||!("__html"in T))throw Error(i(61));if(b=T.__html,b!=null){if(Y.children!=null)throw Error(i(60));u.innerHTML=b}}break;case"multiple":u.multiple=T&&typeof T!="function"&&typeof T!="symbol";break;case"muted":u.muted=T&&typeof T!="function"&&typeof T!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(T==null||typeof T=="function"||typeof T=="boolean"||typeof T=="symbol"){u.removeAttribute("xlink:href");break}b=br(""+T),u.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",b);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":T!=null&&typeof T!="function"&&typeof T!="symbol"?u.setAttribute(b,""+T):u.removeAttribute(b);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":T&&typeof T!="function"&&typeof T!="symbol"?u.setAttribute(b,""):u.removeAttribute(b);break;case"capture":case"download":T===!0?u.setAttribute(b,""):T!==!1&&T!=null&&typeof T!="function"&&typeof T!="symbol"?u.setAttribute(b,T):u.removeAttribute(b);break;case"cols":case"rows":case"size":case"span":T!=null&&typeof T!="function"&&typeof T!="symbol"&&!isNaN(T)&&1<=T?u.setAttribute(b,T):u.removeAttribute(b);break;case"rowSpan":case"start":T==null||typeof T=="function"||typeof T=="symbol"||isNaN(T)?u.removeAttribute(b):u.setAttribute(b,T);break;case"popover":na("beforetoggle",u),na("toggle",u),ka(u,"popover",T);break;case"xlinkActuate":xi(u,"http://www.w3.org/1999/xlink","xlink:actuate",T);break;case"xlinkArcrole":xi(u,"http://www.w3.org/1999/xlink","xlink:arcrole",T);break;case"xlinkRole":xi(u,"http://www.w3.org/1999/xlink","xlink:role",T);break;case"xlinkShow":xi(u,"http://www.w3.org/1999/xlink","xlink:show",T);break;case"xlinkTitle":xi(u,"http://www.w3.org/1999/xlink","xlink:title",T);break;case"xlinkType":xi(u,"http://www.w3.org/1999/xlink","xlink:type",T);break;case"xmlBase":xi(u,"http://www.w3.org/XML/1998/namespace","xml:base",T);break;case"xmlLang":xi(u,"http://www.w3.org/XML/1998/namespace","xml:lang",T);break;case"xmlSpace":xi(u,"http://www.w3.org/XML/1998/namespace","xml:space",T);break;case"is":ka(u,"is",T);break;case"innerText":case"textContent":break;default:(!(2<b.length)||b[0]!=="o"&&b[0]!=="O"||b[1]!=="n"&&b[1]!=="N")&&(b=Ul.get(b)||b,ka(u,b,T))}}function Km(u,p,b,T,Y,se){switch(b){case"style":Kl(u,T,se);break;case"dangerouslySetInnerHTML":if(T!=null){if(typeof T!="object"||!("__html"in T))throw Error(i(61));if(b=T.__html,b!=null){if(Y.children!=null)throw Error(i(60));u.innerHTML=b}}break;case"children":typeof T=="string"?$o(u,T):(typeof T=="number"||typeof T=="bigint")&&$o(u,""+T);break;case"onScroll":T!=null&&na("scroll",u);break;case"onScrollEnd":T!=null&&na("scrollend",u);break;case"onClick":T!=null&&(u.onclick=Zu);break;case"suppressContentEditableWarning":case"suppressHydrati Line truncated
`+b.stack}}function rn(u){switch(typeof u){case"bigint":case"boolean":case"number":case"string":case"undefined":return u;case"object":return u;default:return""}}function si(u){var p=u.type;return(u=u.nodeName)&&u.toLowerCase()==="input"&&(p==="checkbox"||p==="radio")}function Jr(u){var p=si(u)?"checked":"value",b=Object.getOwnPropertyDescriptor(u.constructor.prototype,p),T=""+u[p];if(!u.hasOwnProperty(p)&&typeof b<"u"&&typeof b.get=="function"&&typeof b.set=="function"){var Y=b.get,se=b.set;return Object.defineProperty(u,p,{configurable:!0,get:function(){return Y.call(this)},set:function(je){T=""+je,se.call(this,je)}}),Object.defineProperty(u,p,{enumerable:b.enumerable}),{getValue:function(){return T},setValue:function(je){T=""+je},stopTracking:function(){u._valueTracker=null,delete u[p]}}}}function wo(u){u._valueTracker||(u._valueTracker=Jr(u))}function As(u){if(!u)return!1;var p=u._valueTracker;if(!p)return!0;var b=p.getValue(),T="";return u&&(T=si(u)?u.checked?"true":"false":u.value),u=T,u!==b?(p.setValue(u),!0):!1}function Us(u){if(u=u||(typeof document<"u"?document:void 0),typeof u>"u")return null;try{return u.activeElement||u.body}catch{return u.body}}var YA=/[\n"\\]/g;function Qi(u){return u.replace(YA,function(p){return"\\"+p.charCodeAt(0).toString(16)+" "})}function Du(u,p,b,T,Y,se,je,at){u.name="",je!=null&&typeof je!="function"&&typeof je!="symbol"&&typeof je!="boolean"?u.type=je:u.removeAttribute("type"),p!=null?je==="number"?(p===0&&u.value===""||u.value!=p)&&(u.value=""+rn(p)):u.value!==""+rn(p)&&(u.value=""+rn(p)):je!=="submit"&&je!=="reset"||u.removeAttribute("value"),p!=null?yl(u,je,rn(p)):b!=null?yl(u,je,rn(b)):T!=null&&u.removeAttribute("value"),Y==null&&se!=null&&(u.defaultChecked=!!se),Y!=null&&(u.checked=Y&&typeof Y!="function"&&typeof Y!="symbol"),at!=null&&typeof at!="function"&&typeof at!="symbol"&&typeof at!="boolean"?u.name=""+rn(at):u.removeAttribute("name")}function _A(u,p,b,T,Y,se,je,at){if(se!=null&&typeof se!="function"&&typeof se!="symbol"&&typeof se!="boolean"&&(u.type=se),p!=null||b!=null){if(!(se!=="submit"&&se!=="reset"||p!=null))return;b=b!=null?""+rn(b):"",p=p!=null?""+rn(p):b,at||p===u.value||(u.value=p),u.defaultValue=p}T=T??Y,T=typeof T!="function"&&typeof T!="symbol"&&!!T,u.checked=at?u.checked:!!T,u.defaultChecked=!!T,je!=null&&typeof je!="function"&&typeof je!="symbol"&&typeof je!="boolean"&&(u.name=je)}function yl(u,p,b){p==="number"&&Us(u.ownerDocument)===u||u.defaultValue===""+b||(u.defaultValue=""+b)}function Ss(u,p,b,T){if(u=u.options,p){p={};for(var Y=0;Y<b.length;Y++)p["$"+b[Y]]=!0;for(b=0;b<u.length;b++)Y=p.hasOwnProperty("$"+u[b].value),u[b].selected!==Y&&(u[b].selected=Y),Y&&T&&(u[b].defaultSelected=!0)}else{for(b=""+rn(b),p=null,Y=0;Y<u.length;Y++){if(u[Y].value===b){u[Y].selected=!0,T&&(u[Y].defaultSelected=!0);return}p!==null||u[Y].disabled||(p=u[Y])}p!==null&&(p.selected=!0)}}function bc(u,p,b){if(p!=null&&(p=""+rn(p),p!==u.value&&(u.value=p),b==null)){u.defaultValue!==p&&(u.defaultValue=p);return}u.defaultValue=b!=null?""+rn(b):""}function Qs(u,p,b,T){if(p==null){if(T!=null){if(b!=null)throw Error(i(92));if(xe(T)){if(1<T.length)throw Error(i(93));T=T[0]}b=T}b==null&&(b=""),p=b}b=rn(p),u.defaultValue=b,T=u.textContent,T===b&&T!==""&&T!==null&&(u.value=T)}function $o(u,p){if(p){var b=u.firstChild;if(b&&b===u.lastChild&&b.nodeType===3){b.nodeValue=p;return}}u.textContent=p}var ko=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function dr(u,p,b){var T=p.indexOf("--")===0;b==null||typeof b=="boolean"||b===""?T?u.setProperty(p,""):p==="float"?u.cssFloat="":u[p]="":T?u.setProperty(p,b):typeof b!="number"||b===0||ko.has(p)?p==="float"?u.cssFloat=b:u[p]=(""+b).trim():u[p]=b+"px"}function Kl(u,p,b){if(p!=null&&typeof p!="object")throw Error(i(62));if(u=u.style,b!=null){for(var T in b)!b.hasOwnProperty(T)||p!=null&&p.hasOwnProperty(T)||(T.indexOf("--")===0?u.setProperty(T,""):T==="float"?u.cssFloat="":u[T]="");for(var Y in p)T=p[Y],p.hasOwnProperty(Y)&&b[Y]!==T&&dr(u,Y,T)}else for(var se in p)p.hasOwnProperty(se)&&dr(u,se,p[se])}function ga(u){if(u.indexOf("-")=== Line truncated
`).replace(ff,"")}function rg(u,p){return p=n1(p),n1(u)===p}function Zu(){}function Ba(u,p,b,T,Y,se){switch(b){case"children":typeof T=="string"?p==="body"||p==="textarea"&&T===""||$o(u,T):(typeof T=="number"||typeof T=="bigint")&&p!=="body"&&$o(u,""+T);break;case"className":Vi(u,"class",T);break;case"tabIndex":Vi(u,"tabindex",T);break;case"dir":case"role":case"viewBox":case"width":case"height":Vi(u,b,T);break;case"style":Kl(u,T,se);break;case"data":if(p!=="object"){Vi(u,"data",T);break}case"src":case"href":if(T===""&&(p!=="a"||b!=="href")){u.removeAttribute(b);break}if(T==null||typeof T=="function"||typeof T=="symbol"||typeof T=="boolean"){u.removeAttribute(b);break}T=br(""+T),u.setAttribute(b,T);break;case"action":case"formAction":if(typeof T=="function"){u.setAttribute(b,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof se=="function"&&(b==="formAction"?(p!=="input"&&Ba(u,p,"name",Y.name,Y,null),Ba(u,p,"formEncType",Y.formEncType,Y,null),Ba(u,p,"formMethod",Y.formMethod,Y,null),Ba(u,p,"formTarget",Y.formTarget,Y,null)):(Ba(u,p,"encType",Y.encType,Y,null),Ba(u,p,"method",Y.method,Y,null),Ba(u,p,"target",Y.target,Y,null)));if(T==null||typeof T=="symbol"||typeof T=="boolean"){u.removeAttribute(b);break}T=br(""+T),u.setAttribute(b,T);break;case"onClick":T!=null&&(u.onclick=Zu);break;case"onScroll":T!=null&&na("scroll",u);break;case"onScrollEnd":T!=null&&na("scrollend",u);break;case"dangerouslySetInnerHTML":if(T!=null){if(typeof T!="object"||!("__html"in T))throw Error(i(61));if(b=T.__html,b!=null){if(Y.children!=null)throw Error(i(60));u.innerHTML=b}}break;case"multiple":u.multiple=T&&typeof T!="function"&&typeof T!="symbol";break;case"muted":u.muted=T&&typeof T!="function"&&typeof T!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(T==null||typeof T=="function"||typeof T=="boolean"||typeof T=="symbol"){u.removeAttribute("xlink:href");break}b=br(""+T),u.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",b);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":T!=null&&typeof T!="function"&&typeof T!="symbol"?u.setAttribute(b,""+T):u.removeAttribute(b);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":T&&typeof T!="function"&&typeof T!="symbol"?u.setAttribute(b,""):u.removeAttribute(b);break;case"capture":case"download":T===!0?u.setAttribute(b,""):T!==!1&&T!=null&&typeof T!="function"&&typeof T!="symbol"?u.setAttribute(b,T):u.removeAttribute(b);break;case"cols":case"rows":case"size":case"span":T!=null&&typeof T!="function"&&typeof T!="symbol"&&!isNaN(T)&&1<=T?u.setAttribute(b,T):u.removeAttribute(b);break;case"rowSpan":case"start":T==null||typeof T=="function"||typeof T=="symbol"||isNaN(T)?u.removeAttribute(b):u.setAttribute(b,T);break;case"popover":na("beforetoggle",u),na("toggle",u),ka(u,"popover",T);break;case"xlinkActuate":xi(u,"http://www.w3.org/1999/xlink","xlink:actuate",T);break;case"xlinkArcrole":xi(u,"http://www.w3.org/1999/xlink","xlink:arcrole",T);break;case"xlinkRole":xi(u,"http://www.w3.org/1999/xlink","xlink:role",T);break;case"xlinkShow":xi(u,"http://www.w3.org/1999/xlink","xlink:show",T);break;case"xlinkTitle":xi(u,"http://www.w3.org/1999/xlink","xlink:title",T);break;case"xlinkType":xi(u,"http://www.w3.org/1999/xlink","xlink:type",T);break;case"xmlBase":xi(u,"http://www.w3.org/XML/1998/namespace","xml:base",T);break;case"xmlLang":xi(u,"http://www.w3.org/XML/1998/namespace","xml:lang",T);break;case"xmlSpace":xi(u,"http://www.w3.org/XML/1998/namespace","xml:space",T);break;case"is":ka(u,"is",T);break;case"innerText":case"textContent":break;default:(!(2<b.length)||b[0]!=="o"&&b[0]!=="O"||b[1]!=="n"&&b[1]!=="N")&&(b=Ul.get(b)||b,ka(u,b,T))}}function Pm(u,p,b,T,Y,se){switch(b){case"style":Kl(u,T,se);break;case"dangerouslySetInnerHTML":if(T!=null){if(typeof T!="object"||!("__html"in T))throw Error(i(61));if(b=T.__html,b!=null){if(Y.children!=null)throw Error(i(60));u.innerHTML=b}}break;case"children":typeof T=="string"?$o(u,T):(typeof T=="number"||typeof T=="bigint")&&$o(u,""+T);break;case"onScroll":T!=null&&na("scroll",u);break;case"onScrollEnd":T!=null&&na("scrollend",u);break;case"onClick":T!=null&&(u.onclick=Zu);break;case"suppressContentEditableWarning":case"suppressHydrati Line truncated
* The buffer module from node.js, for the browser.
*
* @author Feross Aboukhadijeh <https://feross.org>
* @license MIT
*/var X7;function LQ(){return X7||(X7=1,function(n){const e=KQ(),t=UQ(),i=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;n.Buffer=o,n.SlowBuffer=V,n.INSPECT_MAX_BYTES=50;const r=2147483647;n.kMaxLength=r,o.TYPED_ARRAY_SUPPORT=a(),!o.TYPED_ARRAY_SUPPORT&&typeof console<"u"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function a(){try{const Ne=new Uint8Array(1),de={foo:function(){return 42}};return Object.setPrototypeOf(de,Uint8Array.prototype),Object.setPrototypeOf(Ne,de),Ne.foo()===42}catch{return!1}}Object.defineProperty(o.prototype,"parent",{enumerable:!0,get:function(){if(o.isBuffer(this))return this.buffer}}),Object.defineProperty(o.prototype,"offset",{enumerable:!0,get:function(){if(o.isBuffer(this))return this.byteOffset}});function l(Ne){if(Ne>r)throw new RangeError('The value "'+Ne+'" is invalid for option "size"');const de=new Uint8Array(Ne);return Object.setPrototypeOf(de,o.prototype),de}function o(Ne,de,re){if(typeof Ne=="number"){if(typeof de=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return O(Ne)}return m(Ne,de,re)}o.poolSize=8192;function m(Ne,de,re){if(typeof Ne=="string")return U(Ne,de);if(ArrayBuffer.isView(Ne))return z(Ne);if(Ne==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof Ne);if(Bn(Ne,ArrayBuffer)||Ne&&Bn(Ne.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(Bn(Ne,SharedArrayBuffer)||Ne&&Bn(Ne.buffer,SharedArrayBuffer)))return j(Ne,de,re);if(typeof Ne=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');const le=Ne.valueOf&&Ne.valueOf();if(le!=null&&le!==Ne)return o.from(le,de,re);const me=Q(Ne);if(me)return me;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof Ne[Symbol.toPrimitive]=="function")return o.from(Ne[Symbol.toPrimitive]("string"),de,re);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof Ne)}o.from=function(Ne,de,re){return m(Ne,de,re)},Object.setPrototypeOf(o.prototype,Uint8Array.prototype),Object.setPrototypeOf(o,Uint8Array);function C(Ne){if(typeof Ne!="number")throw new TypeError('"size" argument must be of type number');if(Ne<0)throw new RangeError('The value "'+Ne+'" is invalid for option "size"')}function S(Ne,de,re){return C(Ne),Ne<=0?l(Ne):de!==void 0?typeof re=="string"?l(Ne).fill(de,re):l(Ne).fill(de):l(Ne)}o.alloc=function(Ne,de,re){return S(Ne,de,re)};function O(Ne){return C(Ne),l(Ne<0?0:ee(Ne)|0)}o.allocUnsafe=function(Ne){return O(Ne)},o.allocUnsafeSlow=function(Ne){return O(Ne)};function U(Ne,de){if((typeof de!="string"||de==="")&&(de="utf8"),!o.isEncoding(de))throw new TypeError("Unknown encoding: "+de);const re=ae(Ne,de)|0;let le=l(re);const me=le.write(Ne,de);return me!==re&&(le=le.slice(0,me)),le}function K(Ne){const de=Ne.length<0?0:ee(Ne.length)|0,re=l(de);for(let le=0;le<de;le+=1)re[le]=Ne[le]&255;return re}function z(Ne){if(Bn(Ne,Uint8Array)){const de=new Uint8Array(Ne);return j(de.buffer,de.byteOffset,de.byteLength)}return K(Ne)}function j(Ne,de,re){if(de<0||Ne.byteLength<de)throw new RangeError('"offset" is outside of buffer bounds');if(Ne.byteLength<de+(re||0))throw new RangeError('"length" is outside of buffer bounds');let le;return de===void 0&&re===void 0?le=new Uint8Array(Ne):re===void 0?le=new Uint8Array(Ne,de):le=new Uint8Array(Ne,de,re),Object.setPrototypeOf(le,o.prototype),le}function Q(Ne){if(o.isBuffer(Ne)){const de=ee(Ne.length)|0,re=l(de);return re.length===0||Ne.copy(re,0,0,de),re}if(Ne.length!==void 0)return typeof Ne.length!="number"||In(Ne.length)?l(0):K(Ne);if(Ne.type==="Buffer"&&Array.isArray(Ne.data))return K(Ne.data)}function ee(Ne){if(Ne>=r)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+r.toString(16)+" bytes");return Ne|0}function V(Ne){return+Ne!=Ne&&(Ne=0),o.alloc(+Ne)}o.isBuffer=function(de){return de!=null&&de._isBuffer===!0&&de!==o.prototype},o.compare=function(de,re){if(Bn(de,Uint8Array)&&(de=o.from(de,de.offset,de.byteLength)),Bn(re,Uint8Array)&&(re=o.from(re,re.offset,re.byteLength)),!o.isBuffer(de)||!o.isBuffer(re))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(de===re)return 0;let le=de.length,me=re.length;for(let Te=0,We=Math.min(le,me);Te<We;++Te)if(de[Te]!==re[Te]){le=de[Te],me=re[Te];break}return le<me?-1:me<le?1:0},o.isEncoding=function(de){switch(String(de).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},o.concat=function(de,re){if(!Array.isArray(de))throw new TypeError('"list" argument must be an Array oLine truncated
*/var Y7;function kQ(){return Y7||(Y7=1,function(n){const e=IQ(),t=TQ(),i=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;n.Buffer=o,n.SlowBuffer=V,n.INSPECT_MAX_BYTES=50;const r=2147483647;n.kMaxLength=r,o.TYPED_ARRAY_SUPPORT=a(),!o.TYPED_ARRAY_SUPPORT&&typeof console<"u"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function a(){try{const Ge=new Uint8Array(1),de={foo:function(){return 42}};return Object.setPrototypeOf(de,Uint8Array.prototype),Object.setPrototypeOf(Ge,de),Ge.foo()===42}catch{return!1}}Object.defineProperty(o.prototype,"parent",{enumerable:!0,get:function(){if(o.isBuffer(this))return this.buffer}}),Object.defineProperty(o.prototype,"offset",{enumerable:!0,get:function(){if(o.isBuffer(this))return this.byteOffset}});function l(Ge){if(Ge>r)throw new RangeError('The value "'+Ge+'" is invalid for option "size"');const de=new Uint8Array(Ge);return Object.setPrototypeOf(de,o.prototype),de}function o(Ge,de,re){if(typeof Ge=="number"){if(typeof de=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return O(Ge)}return m(Ge,de,re)}o.poolSize=8192;function m(Ge,de,re){if(typeof Ge=="string")return U(Ge,de);if(ArrayBuffer.isView(Ge))return z(Ge);if(Ge==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof Ge);if(Bn(Ge,ArrayBuffer)||Ge&&Bn(Ge.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(Bn(Ge,SharedArrayBuffer)||Ge&&Bn(Ge.buffer,SharedArrayBuffer)))return j(Ge,de,re);if(typeof Ge=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');const le=Ge.valueOf&&Ge.valueOf();if(le!=null&&le!==Ge)return o.from(le,de,re);const me=Q(Ge);if(me)return me;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof Ge[Symbol.toPrimitive]=="function")return o.from(Ge[Symbol.toPrimitive]("string"),de,re);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof Ge)}o.from=function(Ge,de,re){return m(Ge,de,re)},Object.setPrototypeOf(o.prototype,Uint8Array.prototype),Object.setPrototypeOf(o,Uint8Array);function C(Ge){if(typeof Ge!="number")throw new TypeError('"size" argument must be of type number');if(Ge<0)throw new RangeError('The value "'+Ge+'" is invalid for option "size"')}function S(Ge,de,re){return C(Ge),Ge<=0?l(Ge):de!==void 0?typeof re=="string"?l(Ge).fill(de,re):l(Ge).fill(de):l(Ge)}o.alloc=function(Ge,de,re){return S(Ge,de,re)};function O(Ge){return C(Ge),l(Ge<0?0:ee(Ge)|0)}o.allocUnsafe=function(Ge){return O(Ge)},o.allocUnsafeSlow=function(Ge){return O(Ge)};function U(Ge,de){if((typeof de!="string"||de==="")&&(de="utf8"),!o.isEncoding(de))throw new TypeError("Unknown encoding: "+de);const re=ae(Ge,de)|0;let le=l(re);const me=le.write(Ge,de);return me!==re&&(le=le.slice(0,me)),le}function K(Ge){const de=Ge.length<0?0:ee(Ge.length)|0,re=l(de);for(let le=0;le<de;le+=1)re[le]=Ge[le]&255;return re}function z(Ge){if(Bn(Ge,Uint8Array)){const de=new Uint8Array(Ge);return j(de.buffer,de.byteOffset,de.byteLength)}return K(Ge)}function j(Ge,de,re){if(de<0||Ge.byteLength<de)throw new RangeError('"offset" is outside of buffer bounds');if(Ge.byteLength<de+(re||0))throw new RangeError('"length" is outside of buffer bounds');let le;return de===void 0&&re===void 0?le=new Uint8Array(Ge):re===void 0?le=new Uint8Array(Ge,de):le=new Uint8Array(Ge,de,re),Object.setPrototypeOf(le,o.prototype),le}function Q(Ge){if(o.isBuffer(Ge)){const de=ee(Ge.length)|0,re=l(de);return re.length===0||Ge.copy(re,0,0,de),re}if(Ge.length!==void 0)return typeof Ge.length!="number"||In(Ge.length)?l(0):K(Ge);if(Ge.type==="Buffer"&&Array.isArray(Ge.data))return K(Ge.data)}function ee(Ge){if(Ge>=r)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+r.toString(16)+" bytes");return Ge|0}function V(Ge){return+Ge!=Ge&&(Ge=0),o.alloc(+Ge)}o.isBuffer=function(de){return de!=null&&de._isBuffer===!0&&de!==o.prototype},o.compare=function(de,re){if(Bn(de,Uint8Array)&&(de=o.from(de,de.offset,de.byteLength)),Bn(re,Uint8Array)&&(re=o.from(re,re.offset,re.byteLength)),!o.isBuffer(de)||!o.isBuffer(re))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(de===re)return 0;let le=de.length,me=re.length;for(let Te=0,We=Math.min(le,me);Te<We;++Te)if(de[Te]!==re[Te]){le=de[Te],me=re[Te];break}return le<me?-1:me<le?1:0},o.isEncoding=function(de){switch(String(de).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},o.concat=function(de,re){if(!Array.isArray(de))throw new TypeError('"list" argument must be an Array oLine truncated
* @license
* Lodash <https://lodash.com/>
* Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
* Released under MIT license <https://lodash.com/license>
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
*/var WQ=EC.exports,e9;function QQ(){return e9||(e9=1,function(n,e){(function(){var t,i="4.17.21",r=200,a="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",l="Expected a function",o="Invalid `variable` option passed into `_.template`",m="__lodash_hash_undefined__",C=500,S="__lodash_placeholder__",O=1,U=2,K=4,z=1,j=2,Q=1,ee=2,V=4,ae=8,ne=16,Z=32,oe=64,W=128,ce=256,ge=512,ye=30,Me="...",Be=800,we=16,qe=1,xe=2,ze=3,ot=1/0,yt=9007199254740991,nt=17976931348623157e292,be=NaN,Ge=4294967295,tt=Ge-1,lt=Ge>>>1,It=[["ary",W],["bind",Q],["bindKey",ee],["curry",ae],["curryRight",ne],["flip",ge],["partial",Z],["partialRight",oe],["rearg",ce]],pt="[object Arguments]",St="[object Array]",Rt="[object AsyncFunction]",Le="[object Boolean]",Pe="[object Date]",Re="[object DOMException]",He="[object Error]",bt="[object Function]",vt="[object GeneratorFunction]",Ot="[object Map]",qt="[object Number]",Kt="[object Null]",on="[object Object]",Jn="[object Promise]",Wt="[object Proxy]",$n="[object RegExp]",On="[object Set]",Bn="[object String]",In="[object Symbol]",Bi="[object Undefined]",ei="[object WeakMap]",Kn="[object WeakSet]",Ne="[object ArrayBuffer]",de="[object DataView]",re="[object Float32Array]",le="[object Float64Array]",me="[object Int8Array]",Te="[object Int16Array]",We="[object Int32Array]",dt="[object Uint8Array]",Ye="[object Uint8ClampedArray]",De="[object Uint16Array]",Ze="[object Uint32Array]",g=/\b__p \+= '';/g,gt=/\b(__p \+=) '' \+/g,ht=/(__e\(.*?\)|\b__t\)) \+\n'';/g,kt=/&(?:amp|lt|gt|quot|#39);/g,it=/[&<>"']/g,en=RegExp(kt.source),Dn=RegExp(it.source),Mn=/<%-([\s\S]+?)%>/g,ii=/<%([\s\S]+?)%>/g,Wn=/<%=([\s\S]+?)%>/g,qi=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,er=/^\w*$/,wi=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,hi=/[\\^$.*+?()[\]{}|]/g,ti=RegExp(hi.source),Wi=/^\s+/,Sn=/\s/,lo=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Hi=/\{\n\/\* \[wrapped with (.+)\] \*/,pa=/,? & /,To=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Zn=/[()=,{}\[\]\/\s]/,lr=/\\(\\)?/g,zi=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,vr=/\w*$/,La=/^[-+]0x[0-9a-f]+$/i,Ir=/^0b[01]+$/i,Gi=/^\[object .+?Constructor\]$/,gl=/^0o[0-7]+$/i,Ta=/^(?:0|[1-9]\d*)$/,So=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,$a=/($^)/,Ol=/['\n\r\u2028\u2029\\]/g,Ao="\\ud800-\\udfff",QA="\\u0300-\\u036f",ka="\\ufe20-\\ufe2f",Vi="\\u20d0-\\u20ff",xi=QA+ka+Vi,ls="\\u2700-\\u27bf",Ma="a-z\\xdf-\\xf6\\xf8-\\xff",Vo="\\xac\\xb1\\xd7\\xf7",$e="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",Et="\\u2000-\\u206f",xn=" \\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",jn="A-Z\\xc0-\\xd6\\xd8-\\xde",rn="\\ufe0e\\ufe0f",si=Vo+$e+Et+xn,Jr="['’]",wo="["+Ao+"]",As="["+si+"]",Us="["+xi+"]",YA="\\d+",Qi="["+ls+"]",Du="["+Ma+"]",_A="[^"+Ao+si+YA+ls+Ma+jn+"]",yl="\\ud83c[\\udffb-\\udfff]",Ss="(?:"+Us+"|"+yl+")",bc="[^"+Ao+"]",Qs="(?:\\ud83c[\\udde6-\\uddff]){2}",$o="[\\ud800-\\udbff][\\udc00-\\udfff]",ko="["+jn+"]",dr="\\u200d",Kl="(?:"+Du+"|"+_A+")",ga="(?:"+ko+"|"+_A+")",Ul="(?:"+Jr+"(?:d|ll|m|re|s|t|ve))?",bA="(?:"+Jr+"(?:D|LL|M|RE|S|T|VE))?",br=Ss+"?",iA="["+rn+"]?",cu="(?:"+dr+"(?:"+[bc,Qs,$o].join("|")+")"+iA+br+")*",Go="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Eo="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",Fa=iA+br+cu,Sa="(?:"+[Qi,Qs,$o].join("|")+")"+Fa,oa="(?:"+[bc+Us+"?",Us,Qs,$o,wo].join("|")+")",kr=RegExp(Jr,"g"),rA=RegExp(Us,"g"),za=RegExp(yl+"(?="+yl+")|"+oa+Fa,"g"),Za=RegExp([ko+"?"+Du+"+"+Ul+"(?="+[As,ko,"$"].join("|")+")",ga+"+"+bA+"(?="+[As,ko+Kl,"$"].join("|")+")",ko+"?"+Kl+"+"+Ul,ko+"+"+bA,Eo,Go,YA,Sa].join("|"),"g"),ya=RegExp("["+dr+Ao+xi+rn+"]"),Dr=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,vl=["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"],Zi=-1,Mi={};Mi[re]=Mi[le]=Mi[me]=Mi[Te]=Mi[We]=Mi[dt]=Mi[Ye]=Mi[De]=Mi[Ze]=!0,Mi[pt]=Mi[St]=Mi[Ne]=Mi[Le]=Mi[de]=Mi[Pe]=Mi[He]=Mi[bt]=Mi[Ot]=Mi[qt]=Mi[on]=Mi[$n]=Mi[On]=Mi[Bn]=Mi[ei]=!1;var Qr={};Qr[pt]=Qr[St]=Qr[Ne]=Qr[de]=Qr[Le]=Qr[Pe]=Qr[re]=Qr[le]=Qr[me]=Qr[Te]=Qr[We]=Qr[Ot]=Qr[qt]=Qr[on]=Qr[$n]=Qr[On]=Qr[Bn]=Qr[In]=Qr[dt]=Qr[Ye]=Qr[De]=Qr[Ze]=!0,Qr[He]=Qr[bt]=Qr[ei]=!1;var te={À:"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",ā:"aLine truncated
*/var LQ=EC.exports,H7;function FQ(){return H7||(H7=1,function(n,e){(function(){var t,i="4.17.21",r=200,a="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",l="Expected a function",o="Invalid `variable` option passed into `_.template`",m="__lodash_hash_undefined__",C=500,S="__lodash_placeholder__",O=1,U=2,K=4,z=1,j=2,Q=1,ee=2,V=4,ae=8,ne=16,Z=32,oe=64,W=128,ue=256,ge=512,ye=30,Me="...",Be=800,we=16,qe=1,xe=2,ze=3,ot=1/0,yt=9007199254740991,nt=17976931348623157e292,be=NaN,Ne=4294967295,tt=Ne-1,lt=Ne>>>1,It=[["ary",W],["bind",Q],["bindKey",ee],["curry",ae],["curryRight",ne],["flip",ge],["partial",Z],["partialRight",oe],["rearg",ue]],pt="[object Arguments]",St="[object Array]",Rt="[object AsyncFunction]",Le="[object Boolean]",Pe="[object Date]",Re="[object DOMException]",He="[object Error]",bt="[object Function]",vt="[object GeneratorFunction]",Ot="[object Map]",qt="[object Number]",Kt="[object Null]",on="[object Object]",Jn="[object Promise]",Wt="[object Proxy]",$n="[object RegExp]",On="[object Set]",Bn="[object String]",In="[object Symbol]",Bi="[object Undefined]",ei="[object WeakMap]",Kn="[object WeakSet]",Ge="[object ArrayBuffer]",de="[object DataView]",re="[object Float32Array]",le="[object Float64Array]",me="[object Int8Array]",Te="[object Int16Array]",We="[object Int32Array]",dt="[object Uint8Array]",Ye="[object Uint8ClampedArray]",De="[object Uint16Array]",Ze="[object Uint32Array]",g=/\b__p \+= '';/g,gt=/\b(__p \+=) '' \+/g,ht=/(__e\(.*?\)|\b__t\)) \+\n'';/g,kt=/&(?:amp|lt|gt|quot|#39);/g,it=/[&<>"']/g,en=RegExp(kt.source),Dn=RegExp(it.source),Mn=/<%-([\s\S]+?)%>/g,ii=/<%([\s\S]+?)%>/g,Wn=/<%=([\s\S]+?)%>/g,qi=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,er=/^\w*$/,wi=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,hi=/[\\^$.*+?()[\]{}|]/g,ti=RegExp(hi.source),Wi=/^\s+/,Sn=/\s/,lo=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Hi=/\{\n\/\* \[wrapped with (.+)\] \*/,pa=/,? & /,To=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Zn=/[()=,{}\[\]\/\s]/,lr=/\\(\\)?/g,zi=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,vr=/\w*$/,La=/^[-+]0x[0-9a-f]+$/i,Ir=/^0b[01]+$/i,Ni=/^\[object .+?Constructor\]$/,gl=/^0o[0-7]+$/i,Ta=/^(?:0|[1-9]\d*)$/,So=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,$a=/($^)/,Ol=/['\n\r\u2028\u2029\\]/g,Ao="\\ud800-\\udfff",QA="\\u0300-\\u036f",ka="\\ufe20-\\ufe2f",Vi="\\u20d0-\\u20ff",xi=QA+ka+Vi,ls="\\u2700-\\u27bf",Ma="a-z\\xdf-\\xf6\\xf8-\\xff",Vo="\\xac\\xb1\\xd7\\xf7",$e="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",Et="\\u2000-\\u206f",xn=" \\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",jn="A-Z\\xc0-\\xd6\\xd8-\\xde",rn="\\ufe0e\\ufe0f",si=Vo+$e+Et+xn,Jr="['’]",wo="["+Ao+"]",As="["+si+"]",Us="["+xi+"]",YA="\\d+",Qi="["+ls+"]",Du="["+Ma+"]",_A="[^"+Ao+si+YA+ls+Ma+jn+"]",yl="\\ud83c[\\udffb-\\udfff]",Ss="(?:"+Us+"|"+yl+")",bc="[^"+Ao+"]",Qs="(?:\\ud83c[\\udde6-\\uddff]){2}",$o="[\\ud800-\\udbff][\\udc00-\\udfff]",ko="["+jn+"]",dr="\\u200d",Kl="(?:"+Du+"|"+_A+")",ga="(?:"+ko+"|"+_A+")",Ul="(?:"+Jr+"(?:d|ll|m|re|s|t|ve))?",bA="(?:"+Jr+"(?:D|LL|M|RE|S|T|VE))?",br=Ss+"?",iA="["+rn+"]?",cu="(?:"+dr+"(?:"+[bc,Qs,$o].join("|")+")"+iA+br+")*",No="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Eo="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",Fa=iA+br+cu,Sa="(?:"+[Qi,Qs,$o].join("|")+")"+Fa,oa="(?:"+[bc+Us+"?",Us,Qs,$o,wo].join("|")+")",kr=RegExp(Jr,"g"),rA=RegExp(Us,"g"),za=RegExp(yl+"(?="+yl+")|"+oa+Fa,"g"),Za=RegExp([ko+"?"+Du+"+"+Ul+"(?="+[As,ko,"$"].join("|")+")",ga+"+"+bA+"(?="+[As,ko+Kl,"$"].join("|")+")",ko+"?"+Kl+"+"+Ul,ko+"+"+bA,Eo,No,YA,Sa].join("|"),"g"),ya=RegExp("["+dr+Ao+xi+rn+"]"),Dr=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,vl=["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"],Zi=-1,Mi={};Mi[re]=Mi[le]=Mi[me]=Mi[Te]=Mi[We]=Mi[dt]=Mi[Ye]=Mi[De]=Mi[Ze]=!0,Mi[pt]=Mi[St]=Mi[Ge]=Mi[Le]=Mi[de]=Mi[Pe]=Mi[He]=Mi[bt]=Mi[Ot]=Mi[qt]=Mi[on]=Mi[$n]=Mi[On]=Mi[Bn]=Mi[ei]=!1;var Qr={};Qr[pt]=Qr[St]=Qr[Ge]=Qr[de]=Qr[Le]=Qr[Pe]=Qr[re]=Qr[le]=Qr[me]=Qr[Te]=Qr[We]=Qr[Ot]=Qr[qt]=Qr[on]=Qr[$n]=Qr[On]=Qr[Bn]=Qr[In]=Qr[dt]=Qr[Ye]=Qr[De]=Qr[Ze]=!0,Qr[He]=Qr[bt]=Qr[ei]=!1;var te={À:"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",ā:"aLine truncated
/* [wrapped with `+D+`] */
`)}function v(x){return qr(x)||Ud(x)||!!(JA&&x&&x[JA])}function B(x,D){var $=typeof x;return D=D??yt,!!D&&($=="number"||$!="symbol"&&Ta.test(x))&&x>-1&&x%1==0&&x<D}function E(x,D,$){if(!sl($))return!1;var Ce=typeof D;return(Ce=="number"?Xl($)&&B(D,$.length):Ce=="string"&&D in $)?Zl($[D],x):!1}function F(x,D){if(qr(x))return!1;var $=typeof x;return $=="number"||$=="symbol"||$=="boolean"||x==null||ou(x)?!0:er.test(x)||!qi.test(x)||D!=null&&x in Do(D)}function X(x){var D=typeof x;return D=="string"||D=="number"||D=="symbol"||D=="boolean"?x!=="__proto__":x===null}function fe(x){var D=lf(x),$=rt[D];if(typeof $!="function"||!(D in gr.prototype))return!1;if(x===$)return!0;var Ce=qf($);return!!Ce&&x===Ce[0]}function _e(x){return!!qh&&qh in x}var ke=wA?kh:Nm;function Fe(x){var D=x&&x.constructor,$=typeof D=="function"&&D.prototype||SA;return x===$}function _t(x){return x===x&&!sl(x)}function Tt(x,D){return function($){return $==null?!1:$[x]===D&&(D!==t||x in Do($))}}function Jt(x){var D=Dm(x,function(Ce){return $.size===C&&$.clear(),Ce}),$=D.cache;return D}function Ht(x,D){var $=x[1],Ce=D[1],Je=$|Ce,mt=Je<(Q|ee|W),Ut=Ce==W&&$==ae||Ce==W&&$==ce&&x[7].length<=D[8]||Ce==(W|ce)&&D[7].length<=D[8]&&$==ae;if(!(mt||Ut))return x;Ce&Q&&(x[2]=D[2],Je|=$&Q?0:V);var Vt=D[3];if(Vt){var sn=x[3];x[3]=sn?xl(sn,Vt,D[4]):Vt,x[4]=sn?hu(x[3],S):D[4]}return Vt=D[5],Vt&&(sn=x[5],x[5]=sn?Pc(sn,Vt,D[6]):Vt,x[6]=sn?hu(x[5],S):D[6]),Vt=D[7],Vt&&(x[7]=Vt),Ce&W&&(x[8]=x[8]==null?D[8]:aa(x[8],D[8])),x[9]==null&&(x[9]=D[9]),x[0]=D[0],x[1]=Je,x}function _n(x){var D=[];if(x!=null)for(var $ in Do(x))D.push($);return D}function Rn(x){return Ga.call(x)}function oi(x,D,$){return D=Wo(D===t?x.length-1:D,0),function(){for(var Ce=arguments,Je=-1,mt=Wo(Ce.length-D,0),Ut=vn(mt);++Je<mt;)Ut[Je]=Ce[D+Je];Je=-1;for(var Vt=vn(D+1);++Je<D;)Vt[Je]=Ce[Je];return Vt[D]=$(Ut),fs(x,this,Vt)}}function pi(x,D){return D.length<2?x:uA(x,Xt(D,0,-1))}function Ci(x,D){for(var $=x.length,Ce=aa(D.length,$),Je=bo(x);Ce--;){var mt=D[Ce];x[Ce]=B(mt,$)?Je[mt]:t}return x}function gi(x,D){if(!(D==="constructor"&&typeof x[D]=="function")&&D!="__proto__")return x[D]}var ki=xr(Bt),ar=Bd||function(x,D){return Di.setTimeout(x,D)},Yi=xr(Yt);function Xr(x,D,$){var Ce=D+"";return Yi(x,d(Ce,vs(zs(Ce),$)))}function xr(x){var D=0,$=0;return function(){var Ce=Lu(),Je=we-(Ce-$);if($=Ce,Je>0){if(++D>=Be)return arguments[0]}else D=0;return x.apply(t,arguments)}}function ns(x,D){var $=-1,Ce=x.length,Je=Ce-1;for(D=D===t?Ce:D;++$<D;){var mt=ct($,Je),Ut=x[mt];x[mt]=x[$],x[$]=Ut}return x.length=D,x}var ua=Jt(function(x){var D=[];return x.charCodeAt(0)===46&&D.push(""),x.replace(wi,function($,Ce,Je,mt){D.push(Je?mt.replace(lr,"$1"):Ce||$)}),D});function Yr(x){if(typeof x=="string"||ou(x))return x;var D=x+"";return D=="0"&&1/x==-ot?"-0":D}function ys(x){if(x!=null){try{return Il.call(x)}catch{}try{return x+""}catch{}}return""}function vs(x,D){return Da(It,function($){var Ce="_."+$[0];D&$[1]&&!ph(x,Ce)&&x.push(Ce)}),x.sort()}function ca(x){if(x instanceof gr)return x.clone();var D=new Zo(x.__wrapped__,x.__chain__);return D.__actions__=bo(x.__actions__),D.__index__=x.__index__,D.__values__=x.__values__,D}function Vl(x,D,$){($?E(x,D,$):D===t)?D=1:D=Wo(io(D),0);var Ce=x==null?0:x.length;if(!Ce||D<1)return[];for(var Je=0,mt=0,Ut=vn(Vc(Ce/D));Je<Ce;)Ut[mt++]=Xt(x,Je,Je+=D);return Ut}function Is(x){for(var D=-1,$=x==null?0:x.length,Ce=0,Je=[];++D<$;){var mt=x[D];mt&&(Je[Ce++]=mt)}return Je}function Gs(){var x=arguments.length;if(!x)return[];for(var D=vn(x-1),$=arguments[0],Ce=x;Ce--;)D[Ce-1]=arguments[Ce];return ic(qr($)?bo($):[$],Rr(D,1))}var Br=Ct(function(x,D){return wl(x)?Po(x,Rr(D,1,wl,!0)):[]}),Ea=Ct(function(x,D){var $=wu(D);return wl($)&&($=t),wl(x)?Po(x,Rr(D,1,wl,!0),mr($,2)):[]}),$l=Ct(function(x,D){var $=wu(D);return wl($)&&($=t),wl(x)?Po(x,Rr(D,1,wl,!0),t,$):[]});function fc(x,D,$){var Ce=x==null?0:x.length;return Ce?(D=$||D===t?1:io(D),Xt(x,D<0?0:D,Ce)):[]}function mA(x,D,$){var Ce=x==null?0:x.length;return Ce?(D=$||D===t?1:io(D),D=Ce-D,Xt(x,0,D<0?0:D)):[]}function rh(x,D){return x&&x.length?Lo(x,mr(D,3),!0,!0):[]}function cs(x,D){return x&&x.length?Lo(x,mr(D,3),!0):[]}function Su(x,D,$,Ce){var Je=x==null?0:x.length;return Je?($&&typeof $!="number"&&E(x,D,$)&&($=0,Ce=Je),no(x,D,$,Ce)):[]}function Ml(x,D,$){var Ce=x==null?0:x.length;if(!Ce)return-1;var Je=$==null?0:io($);return Je<0&&(Je=Wo(Ce+Je,0)),VA(x,mr(D,3),Je)}function mc(x,D,$){var Ce=x==null?0:x.length;if(!Ce)return-1;var Je=Ce-1;return $!==t&&(Je=io($),Je=$<0?Wo(Ce+Je,0):aa(Je,Ce-1)),VA(x,mr(D,3),Je,!0)}function al(x){var D=x==null?0:x.length;return D?Rr(x,1):[]}function pA(x){var D=x==null?0:x.length;return D?Rr(x,ot):[]}function Vu(x,D){var $=x==null?0:x.length;return $?(D=D===t?1:io(D),Rr(x,D)):[]}function od(x){for(var D=-1,$=x==null?0:x.length,Ce={};++D<$;){var Je=x[D];Ce[Je[0]]=Je[1]}return Ce}function cf(x){return x&&x.length?x[0]:t}function G1(x,D,$){var Ce=x==null?0:x.length;if(!Ce)return-1;var Je=$==null?0:io($);return Je<0&&( Line truncated
`;x.replace(Ni,function(oo,Ia,qa,gf,ud,yf){return qa||(qa=gf),ui+=x.slice(Yn,yf).replace(Ol,$A),Ia&&(Vt=!0,ui+=`' +
`)}function v(x){return qr(x)||Ud(x)||!!(JA&&x&&x[JA])}function B(x,D){var $=typeof x;return D=D??yt,!!D&&($=="number"||$!="symbol"&&Ta.test(x))&&x>-1&&x%1==0&&x<D}function E(x,D,$){if(!sl($))return!1;var Ce=typeof D;return(Ce=="number"?Xl($)&&B(D,$.length):Ce=="string"&&D in $)?Zl($[D],x):!1}function F(x,D){if(qr(x))return!1;var $=typeof x;return $=="number"||$=="symbol"||$=="boolean"||x==null||ou(x)?!0:er.test(x)||!qi.test(x)||D!=null&&x in Do(D)}function X(x){var D=typeof x;return D=="string"||D=="number"||D=="symbol"||D=="boolean"?x!=="__proto__":x===null}function fe(x){var D=sf(x),$=rt[D];if(typeof $!="function"||!(D in gr.prototype))return!1;if(x===$)return!0;var Ce=Yf($);return!!Ce&&x===Ce[0]}function _e(x){return!!qh&&qh in x}var ke=wA?kh:Nm;function Fe(x){var D=x&&x.constructor,$=typeof D=="function"&&D.prototype||SA;return x===$}function _t(x){return x===x&&!sl(x)}function Tt(x,D){return function($){return $==null?!1:$[x]===D&&(D!==t||x in Do($))}}function Jt(x){var D=km(x,function(Ce){return $.size===C&&$.clear(),Ce}),$=D.cache;return D}function Ht(x,D){var $=x[1],Ce=D[1],Je=$|Ce,mt=Je<(Q|ee|W),Ut=Ce==W&&$==ae||Ce==W&&$==ue&&x[7].length<=D[8]||Ce==(W|ue)&&D[7].length<=D[8]&&$==ae;if(!(mt||Ut))return x;Ce&Q&&(x[2]=D[2],Je|=$&Q?0:V);var Vt=D[3];if(Vt){var sn=x[3];x[3]=sn?xl(sn,Vt,D[4]):Vt,x[4]=sn?hu(x[3],S):D[4]}return Vt=D[5],Vt&&(sn=x[5],x[5]=sn?Pc(sn,Vt,D[6]):Vt,x[6]=sn?hu(x[5],S):D[6]),Vt=D[7],Vt&&(x[7]=Vt),Ce&W&&(x[8]=x[8]==null?D[8]:aa(x[8],D[8])),x[9]==null&&(x[9]=D[9]),x[0]=D[0],x[1]=Je,x}function _n(x){var D=[];if(x!=null)for(var $ in Do(x))D.push($);return D}function Rn(x){return Na.call(x)}function oi(x,D,$){return D=Wo(D===t?x.length-1:D,0),function(){for(var Ce=arguments,Je=-1,mt=Wo(Ce.length-D,0),Ut=vn(mt);++Je<mt;)Ut[Je]=Ce[D+Je];Je=-1;for(var Vt=vn(D+1);++Je<D;)Vt[Je]=Ce[Je];return Vt[D]=$(Ut),fs(x,this,Vt)}}function pi(x,D){return D.length<2?x:uA(x,Xt(D,0,-1))}function Ci(x,D){for(var $=x.length,Ce=aa(D.length,$),Je=bo(x);Ce--;){var mt=D[Ce];x[Ce]=B(mt,$)?Je[mt]:t}return x}function gi(x,D){if(!(D==="constructor"&&typeof x[D]=="function")&&D!="__proto__")return x[D]}var ki=xr(Bt),ar=Bd||function(x,D){return Di.setTimeout(x,D)},Yi=xr(Yt);function Xr(x,D,$){var Ce=D+"";return Yi(x,d(Ce,vs(zs(Ce),$)))}function xr(x){var D=0,$=0;return function(){var Ce=Lu(),Je=we-(Ce-$);if($=Ce,Je>0){if(++D>=Be)return arguments[0]}else D=0;return x.apply(t,arguments)}}function ns(x,D){var $=-1,Ce=x.length,Je=Ce-1;for(D=D===t?Ce:D;++$<D;){var mt=ct($,Je),Ut=x[mt];x[mt]=x[$],x[$]=Ut}return x.length=D,x}var ua=Jt(function(x){var D=[];return x.charCodeAt(0)===46&&D.push(""),x.replace(wi,function($,Ce,Je,mt){D.push(Je?mt.replace(lr,"$1"):Ce||$)}),D});function Yr(x){if(typeof x=="string"||ou(x))return x;var D=x+"";return D=="0"&&1/x==-ot?"-0":D}function ys(x){if(x!=null){try{return Il.call(x)}catch{}try{return x+""}catch{}}return""}function vs(x,D){return Da(It,function($){var Ce="_."+$[0];D&$[1]&&!ph(x,Ce)&&x.push(Ce)}),x.sort()}function ca(x){if(x instanceof gr)return x.clone();var D=new Zo(x.__wrapped__,x.__chain__);return D.__actions__=bo(x.__actions__),D.__index__=x.__index__,D.__values__=x.__values__,D}function Vl(x,D,$){($?E(x,D,$):D===t)?D=1:D=Wo(io(D),0);var Ce=x==null?0:x.length;if(!Ce||D<1)return[];for(var Je=0,mt=0,Ut=vn(Vc(Ce/D));Je<Ce;)Ut[mt++]=Xt(x,Je,Je+=D);return Ut}function Is(x){for(var D=-1,$=x==null?0:x.length,Ce=0,Je=[];++D<$;){var mt=x[D];mt&&(Je[Ce++]=mt)}return Je}function Ns(){var x=arguments.length;if(!x)return[];for(var D=vn(x-1),$=arguments[0],Ce=x;Ce--;)D[Ce-1]=arguments[Ce];return ic(qr($)?bo($):[$],Rr(D,1))}var Br=Ct(function(x,D){return wl(x)?Po(x,Rr(D,1,wl,!0)):[]}),Ea=Ct(function(x,D){var $=wu(D);return wl($)&&($=t),wl(x)?Po(x,Rr(D,1,wl,!0),mr($,2)):[]}),$l=Ct(function(x,D){var $=wu(D);return wl($)&&($=t),wl(x)?Po(x,Rr(D,1,wl,!0),t,$):[]});function fc(x,D,$){var Ce=x==null?0:x.length;return Ce?(D=$||D===t?1:io(D),Xt(x,D<0?0:D,Ce)):[]}function mA(x,D,$){var Ce=x==null?0:x.length;return Ce?(D=$||D===t?1:io(D),D=Ce-D,Xt(x,0,D<0?0:D)):[]}function rh(x,D){return x&&x.length?Lo(x,mr(D,3),!0,!0):[]}function cs(x,D){return x&&x.length?Lo(x,mr(D,3),!0):[]}function Su(x,D,$,Ce){var Je=x==null?0:x.length;return Je?($&&typeof $!="number"&&E(x,D,$)&&($=0,Ce=Je),no(x,D,$,Ce)):[]}function Ml(x,D,$){var Ce=x==null?0:x.length;if(!Ce)return-1;var Je=$==null?0:io($);return Je<0&&(Je=Wo(Ce+Je,0)),VA(x,mr(D,3),Je)}function mc(x,D,$){var Ce=x==null?0:x.length;if(!Ce)return-1;var Je=Ce-1;return $!==t&&(Je=io($),Je=$<0?Wo(Ce+Je,0):aa(Je,Ce-1)),VA(x,mr(D,3),Je,!0)}function al(x){var D=x==null?0:x.length;return D?Rr(x,1):[]}function pA(x){var D=x==null?0:x.length;return D?Rr(x,ot):[]}function Vu(x,D){var $=x==null?0:x.length;return $?(D=D===t?1:io(D),Rr(x,D)):[]}function od(x){for(var D=-1,$=x==null?0:x.length,Ce={};++D<$;){var Je=x[D];Ce[Je[0]]=Je[1]}return Ce}function uf(x){return x&&x.length?x[0]:t}function N1(x,D,$){var Ce=x==null?0:x.length;if(!Ce)return-1;var Je=$==null?0:io($);return Je<0&&( Line truncated
`;x.replace(Gi,function(oo,Ia,qa,pf,ud,gf){return qa||(qa=pf),ui+=x.slice(Yn,gf).replace(Ol,$A),Ia&&(Vt=!0,ui+=`' +
__e(`+Ia+`) +
'`),ud&&(sn=!0,ui+=`';
`+ud+`;
__p += '`),qa&&(ui+=`' +
((__t = (`+qa+`)) == null ? '' : __t) +
'`),Yn=yf+oo.length,oo}),ui+=`';
'`),Yn=gf+oo.length,oo}),ui+=`';
`;var ro=jo.call(D,"variable")&&D.variable;if(!ro)ui=`with (obj) {
`+ui+`
}
@@ -77,14 +77,14 @@ __p += '`),qa&&(ui+=`' +
function print() { __p += __j.call(arguments, '') }
`:`;
`)+ui+`return __p
}`;var ha=se(function(){return Oo(mt,Mr+"return "+ui).apply(t,Ut)});if(ha.source=ui,Js(ha))throw ha;return ha}function hl(x){return Pa(x).toLowerCase()}function Ya(x){return Pa(x).toUpperCase()}function Dh(x,D,$){if(x=Pa(x),x&&($||D===t))return Pf(x);if(!x||!(D=bi(D)))return x;var Ce=MA(x),Je=MA(D),mt=aA(Ce,Je),Ut=xc(Ce,Je)+1;return Os(Ce,mt,Ut).join("")}function Up(x,D,$){if(x=Pa(x),x&&($||D===t))return x.slice(0,Ku(x)+1);if(!x||!(D=bi(D)))return x;var Ce=MA(x),Je=xc(Ce,MA(D))+1;return Os(Ce,0,Je).join("")}function zc(x,D,$){if(x=Pa(x),x&&($||D===t))return x.replace(Wi,"");if(!x||!(D=bi(D)))return x;var Ce=MA(x),Je=aA(Ce,MA(D));return Os(Ce,Je).join("")}function u(x,D){var $=ye,Ce=Me;if(sl(D)){var Je="separator"in D?D.separator:Je;$="length"in D?io(D.length):$,Ce="omission"in D?bi(D.omission):Ce}x=Pa(x);var mt=x.length;if(Mc(x)){var Ut=MA(x);mt=Ut.length}if($>=mt)return x;var Vt=$-oc(Ce);if(Vt<1)return Ce;var sn=Ut?Os(Ut,0,Vt).join(""):x.slice(0,Vt);if(Je===t)return sn+Ce;if(Ut&&(Vt+=sn.length-Vt),Um(Je)){if(x.slice(Vt).search(Je)){var Yn,Hn=sn;for(Je.global||(Je=Hc(Je.source,Pa(vr.exec(Je))+"g")),Je.lastIndex=0;Yn=Je.exec(Hn);)var ui=Yn.index;sn=sn.slice(0,ui===t?Vt:ui)}}else if(x.indexOf(bi(Je),Vt)!=Vt){var Ni=sn.lastIndexOf(Je);Ni>-1&&(sn=sn.slice(0,Ni))}return sn+Ce}function p(x){return x=Pa(x),x&&en.test(x)?x.replace(kt,Bo):x}var b=Qa(function(x,D,$){return x+($?" ":"")+D.toUpperCase()}),T=nu("toUpperCase");function Y(x,D,$){return x=Pa(x),D=$?t:D,D===t?Yh(x)?wm(x):kf(x):x.match(D)||[]}var se=Ct(function(x,D){try{return fs(x,t,D)}catch($){return Js($)?$:new Sr($)}}),je=us(function(x,D){return Da(D,function($){$=Yr($),yu(x,$,$u(x[$],x))}),x});function at(x){var D=x==null?0:x.length,$=mr();return x=D?po(x,function(Ce){if(typeof Ce[1]!="function")throw new sA(l);return[$(Ce[0]),Ce[1]]}):[],Ct(function(Ce){for(var Je=-1;++Je<D;){var mt=x[Je];if(fs(mt[0],this,Ce))return fs(mt[1],this,Ce)}})}function Ft(x){return Bm(_l(x,O))}function hn(x){return function(){return x}}function kn(x,D){return x==null||x!==x?D:x}var Nn=Mu(),mn=Mu(!0);function fn(x){return x}function Pr(x){return I(typeof x=="function"?x:_l(x,O))}function Kr(x){return k(_l(x,O))}function bs(x,D){return G(x,_l(D,O))}var tn=Ct(function(x,D){return function($){return Cu($,x,D)}}),$t=Ct(function(x,D){return function($){return Cu(x,$,D)}});function un(x,D,$){var Ce=ie(D),Je=DA(D,Ce);$==null&&!(sl(D)&&(Je.length||!Ce.length))&&($=D,D=x,x=this,Je=DA(D,ie(D)));var mt=!(sl($)&&"chain"in $)||!!$.chain,Ut=kh(x);return Da(Je,function(Vt){var sn=D[Vt];x[Vt]=sn,Ut&&(x.prototype[Vt]=function(){var Yn=this.__chain__;if(mt||Yn){var Hn=x(this.__wrapped__),ui=Hn.__actions__=bo(this.__actions__);return ui.push({func:sn,args:arguments,thisArg:x}),Hn.__chain__=Yn,Hn}return sn.apply(x,ic([this.value()],arguments))})}),x}function Ln(){return Di._===this&&(Di._=ws),this}function ir(){}function qo(x){return x=io(x),Ct(function(D){return he(D,x)})}var nr=Nf(po),Or=Nf(Ru),FA=Nf(gh);function Oa(x){return F(x)?Nh(Yr(x)):Ue(x)}function sm(x){return function(D){return x==null?t:uA(x,D)}}var AC=dc(),pc=dc(!0);function ch(){return[]}function Nm(){return!1}function pf(){return{}}function x0(){return""}function lm(){return!0}function Fj(x,D){if(x=io(x),x<1||x>yt)return[];var $=Ge,Ce=aa(x,Ge);D=mr(D),x-=Ge;for(var Je=vh(Ce,D);++$<x;)D($);return Je}function zj(x){return qr(x)?po(x,Yr):ou(x)?[x]:bo(ua(Pa(x)))}function Gj(x){var D=++fu;return Pa(x)+D}var Nj=id(function(x,D){return x+D},0),jj=Wf("ceil"),Wj=id(function(x,D){return x/D},1),Qj=Wf("floor");function Yj(x){return x&&x.length?vu(x,fn,Ql):t}function qj(x,D){return x&&x.length?vu(x,mr(D,2),Ql):t}function Hj(x){return bd(x,fn)}function Vj(x,D){return bd(x,mr(D,2))}function $j(x){return x&&x.length?vu(x,fn,_):t}function Zj(x,D){return x&&x.length?vu(x,mr(D,2),_):t}var Xj=id(function(x,D){return x*D},1),Jj=Wf("round"),eW=id(function(x,D){return x-D},0);function tW(x){return x&&x.length?yh(x,fn):0}function nW(x,D){return x&&x.length?yh(x,mr(D,2)):0}return rt.after=rC,rt.ary=X1,rt.assign=Ag,rt.assignIn=o1,rt.assignInWith=C0,rt.assignWith=_0,rt.at=ug,rt.before=Ip,rt.bind=$u,rt.bindAll=je,rt.bindKey=ad,rt.castArray=aC,rt.chain=em,rt.chunk=Vl,rt.compact=Is,rt.concat=Gs,rt.cond=at,rt.conforms=Ft,rt.constant=hn,rt.countBy=wp,rt.create=xy,rt.curry=Tp,rt.curryRight=kp,rt.debounce=om,rt.defaults=cg,rt.defaultsDeep=b0,rt.defer=lh,rt.delay=km,rt.difference=Br,rt.differenceBy=Ea,rt.differenceWith=$l,rt.drop=fc,rt.dropRight=mA,rt.dropRightWhile=rh,rt.dropWhile=cs,rt.fill=Su,rt.filter=Ay,rt.flatMap=c0,rt.flatMapDeep=cy,rt.flatMapDepth=im,rt.flatten=al,rt.flattenDeep=pA,rt.flattenDepth=Vu,rt.flip=oC,rt.flow=Nn,rt.flowRight=mn,rt.fromPairs=od,rt.functions=A,rt.functionsIn=c,rt.groupBy=h0,rt.initial=N1,rt.intersection=Rd,rt.intersectionBy=Tm,rt.intersectionWith=vp,rt.invert=P,rt.invertBy=N,rt.invokeMap=Z0,rt.iteratee=Pr,rt.keyBy=hy,rt.keys=ie,rt.keysIn=Ae,rt.map=Bp,rt.mapKeys=ve,rt.mapValues=Ke,rt.matches=Kr,rt.matchesProperty=bs,rt.memoize=Dm,rt Line truncated
Use an identity property function instead: \`{ "type": "identity", "property": ${JSON.stringify(O[1])} }\`.`)];const U=[];return n.layerType==="symbol"&&(o==="text-field"&&r&&!r.glyphs&&U.push(new _i(t,l,'use of "text-field" requires a style "glyphs" property')),o==="text-font"&&Nv(Gg(l))&&Au(l.type)==="identity"&&U.push(new _i(t,l,'"text-font" does not support identity functions'))),U.concat(i({key:n.key,value:l,valueSpec:S,style:r,styleSpec:a,expressionContext:"property",propertyType:e,propertyKey:o}))}function VL(n){return HL(n,"paint")}function $L(n){return HL(n,"layout")}function ZL(n){let e=[];const t=n.value,i=n.key,r=n.style,a=n.styleSpec;if(ma(t)!=="object")return[new _i(i,t,`object expected, ${ma(t)} found`)];!t.type&&!t.ref&&e.push(new _i(i,t,'either "type" or "ref" is required'));let l=Au(t.type);const o=Au(t.ref);if(t.id){const m=Au(t.id);for(let C=0;C<n.arrayIndex;C++){const S=r.layers[C];Au(S.id)===m&&e.push(new _i(i,t.id,`duplicate layer id "${t.id}", previously used at line ${S.id.__line__}`))}}if("ref"in t){["type","source","source-layer","filter","layout"].forEach(C=>{C in t&&e.push(new _i(i,t[C],`"${C}" is prohibited for ref layers`))});let m;r.layers.forEach(C=>{Au(C.id)===o&&(m=C)}),m?m.ref?e.push(new _i(i,t.ref,"ref cannot reference another ref layer")):l=Au(m.type):e.push(new _i(i,t.ref,`ref layer "${o}" not found`))}else if(l!=="background")if(!t.source)e.push(new _i(i,t,'missing required property "source"'));else{const m=r.sources&&r.sources[t.source],C=m&&Au(m.type);m?C==="vector"&&l==="raster"?e.push(new _i(i,t.source,`layer "${t.id}" requires a raster source`)):C!=="raster-dem"&&l==="hillshade"?e.push(new _i(i,t.source,`layer "${t.id}" requires a raster-dem source`)):C!=="raster-dem"&&l==="color-relief"?e.push(new _i(i,t.source,`layer "${t.id}" requires a raster-dem source`)):C==="raster"&&l!=="raster"?e.push(new _i(i,t.source,`layer "${t.id}" requires a vector source`)):C==="vector"&&!t["source-layer"]?e.push(new _i(i,t,`layer "${t.id}" must specify a "source-layer"`)):C==="raster-dem"&&l!=="hillshade"&&l!=="color-relief"?e.push(new _i(i,t.source,"raster-dem source can only be used with layer type 'hillshade' or 'color-relief'.")):l==="line"&&t.paint&&t.paint["line-gradient"]&&(C!=="geojson"||!m.lineMetrics)&&e.push(new _i(i,t,`layer "${t.id}" specifies a line-gradient, which requires a GeoJSON source with \`lineMetrics\` enabled.`)):e.push(new _i(i,t.source,`source "${t.source}" not found`))}return e=e.concat(gm({key:i,value:t,valueSpec:a.layer,style:n.style,styleSpec:n.styleSpec,validateSpec:n.validateSpec,objectElementValidators:{"*"(){return[]},type(){return n.validateSpec({key:`${i}.type`,value:t.type,valueSpec:a.layer.type,style:n.style,styleSpec:n.styleSpec,validateSpec:n.validateSpec,object:t,objectKey:"type"})},filter:uO,layout(m){return gm({layer:t,key:m.key,value:m.value,style:m.style,styleSpec:m.styleSpec,validateSpec:m.validateSpec,objectElementValidators:{"*"(C){return $L(wv({layerType:l},C))}}})},paint(m){return gm({layer:t,key:m.key,value:m.value,style:m.style,styleSpec:m.styleSpec,validateSpec:m.validateSpec,objectElementValidators:{"*"(C){return VL(wv({layerType:l},C))}}})}}})),e}function Ng(n){const e=n.value,t=n.key,i=ma(e);return i!=="string"?[new _i(t,e,`string expected, ${i} found`)]:[]}function eV(n){var e;const t=(e=n.sourceName)!==null&&e!==void 0?e:"",i=n.value,r=n.styleSpec,a=r.source_raster_dem,l=n.style;let o=[];const m=ma(i);if(i===void 0)return o;if(m!=="object")return o.push(new _i("source_raster_dem",i,`object expected, ${m} found`)),o;const S=Au(i.encoding)==="custom",O=["redFactor","greenFactor","blueFactor","baseShift"],U=n.value.encoding?`"${n.value.encoding}"`:"Default";for(const K in i)!S&&O.includes(K)?o.push(new _i(K,i[K],`In "${t}": "${K}" is only valid when "encoding" is set to "custom". ${U} encoding found`)):a[K]?o=o.concat(n.validateSpec({key:K,value:i[K],valueSpec:a[K],validateSpec:n.validateSpec,style:l,styleSpec:r})):o.push(new _i(K,i[K],`unknown property "${K}"`));return o}const w9={promoteId:tV};function XL(n){const e=n.value,t=n.key,i=n.styleSpec,r=n.style,a=n.validateSpec;if(!e.type)return[new _i(t,e,'"type" is required')];const l=Au(e.type);let o;switch(l){case"vector":case"raster":return o=gm({key:t,value:e,valueSpec:i[`source_${l.replace("-","_")}`],style:n.style,styleSpec:i,objectElementValidators:w9,validateSpec:a}),o;case"raster-dem":return o=eV({sourceName:t,value:e,style:n.style,styleSpec:i,validateSpec:a}),o;case"geojson":if(o=gm({key:t,value:e,valueSpec:i.source_geojson,style:r,styleSpec:i,validateSpec:a,objectElementValidators:w9}),e.cluster)for(const m in e.clusterProperties){const[C,S]=e.clusterProperties[m],O=typeof C=="string"?[C,["accumulated"],["get",m]]:C;o.push(...Ov({key:`${t}.${m}.map`,value:S,expressionContext:"cluster-map"})),o.push(...Ov({key:`${t}.${m}.reduce`,value:O,expressionContext:"cluster-reduce"}))}return o;case"video":return gm({key:t,value:e,valueSpec:i.source_video,style:r,validateSpec:a,sLine truncated
}`;var ha=se(function(){return Oo(mt,Mr+"return "+ui).apply(t,Ut)});if(ha.source=ui,Js(ha))throw ha;return ha}function hl(x){return Pa(x).toLowerCase()}function Ya(x){return Pa(x).toUpperCase()}function Dh(x,D,$){if(x=Pa(x),x&&($||D===t))return Rf(x);if(!x||!(D=bi(D)))return x;var Ce=MA(x),Je=MA(D),mt=aA(Ce,Je),Ut=xc(Ce,Je)+1;return Os(Ce,mt,Ut).join("")}function Kp(x,D,$){if(x=Pa(x),x&&($||D===t))return x.slice(0,Ku(x)+1);if(!x||!(D=bi(D)))return x;var Ce=MA(x),Je=xc(Ce,MA(D))+1;return Os(Ce,0,Je).join("")}function zc(x,D,$){if(x=Pa(x),x&&($||D===t))return x.replace(Wi,"");if(!x||!(D=bi(D)))return x;var Ce=MA(x),Je=aA(Ce,MA(D));return Os(Ce,Je).join("")}function u(x,D){var $=ye,Ce=Me;if(sl(D)){var Je="separator"in D?D.separator:Je;$="length"in D?io(D.length):$,Ce="omission"in D?bi(D.omission):Ce}x=Pa(x);var mt=x.length;if(Mc(x)){var Ut=MA(x);mt=Ut.length}if($>=mt)return x;var Vt=$-oc(Ce);if(Vt<1)return Ce;var sn=Ut?Os(Ut,0,Vt).join(""):x.slice(0,Vt);if(Je===t)return sn+Ce;if(Ut&&(Vt+=sn.length-Vt),Km(Je)){if(x.slice(Vt).search(Je)){var Yn,Hn=sn;for(Je.global||(Je=Hc(Je.source,Pa(vr.exec(Je))+"g")),Je.lastIndex=0;Yn=Je.exec(Hn);)var ui=Yn.index;sn=sn.slice(0,ui===t?Vt:ui)}}else if(x.indexOf(bi(Je),Vt)!=Vt){var Gi=sn.lastIndexOf(Je);Gi>-1&&(sn=sn.slice(0,Gi))}return sn+Ce}function p(x){return x=Pa(x),x&&en.test(x)?x.replace(kt,Bo):x}var b=Qa(function(x,D,$){return x+($?" ":"")+D.toUpperCase()}),T=nu("toUpperCase");function Y(x,D,$){return x=Pa(x),D=$?t:D,D===t?Yh(x)?Sm(x):Tf(x):x.match(D)||[]}var se=Ct(function(x,D){try{return fs(x,t,D)}catch($){return Js($)?$:new Sr($)}}),je=us(function(x,D){return Da(D,function($){$=Yr($),yu(x,$,$u(x[$],x))}),x});function at(x){var D=x==null?0:x.length,$=mr();return x=D?po(x,function(Ce){if(typeof Ce[1]!="function")throw new sA(l);return[$(Ce[0]),Ce[1]]}):[],Ct(function(Ce){for(var Je=-1;++Je<D;){var mt=x[Je];if(fs(mt[0],this,Ce))return fs(mt[1],this,Ce)}})}function Ft(x){return Em(_l(x,O))}function hn(x){return function(){return x}}function kn(x,D){return x==null||x!==x?D:x}var Gn=Mu(),mn=Mu(!0);function fn(x){return x}function Pr(x){return I(typeof x=="function"?x:_l(x,O))}function Kr(x){return k(_l(x,O))}function bs(x,D){return N(x,_l(D,O))}var tn=Ct(function(x,D){return function($){return Cu($,x,D)}}),$t=Ct(function(x,D){return function($){return Cu(x,$,D)}});function un(x,D,$){var Ce=ie(D),Je=DA(D,Ce);$==null&&!(sl(D)&&(Je.length||!Ce.length))&&($=D,D=x,x=this,Je=DA(D,ie(D)));var mt=!(sl($)&&"chain"in $)||!!$.chain,Ut=kh(x);return Da(Je,function(Vt){var sn=D[Vt];x[Vt]=sn,Ut&&(x.prototype[Vt]=function(){var Yn=this.__chain__;if(mt||Yn){var Hn=x(this.__wrapped__),ui=Hn.__actions__=bo(this.__actions__);return ui.push({func:sn,args:arguments,thisArg:x}),Hn.__chain__=Yn,Hn}return sn.apply(x,ic([this.value()],arguments))})}),x}function Ln(){return Di._===this&&(Di._=ws),this}function ir(){}function qo(x){return x=io(x),Ct(function(D){return he(D,x)})}var nr=Nf(po),Or=Nf(Ru),FA=Nf(gh);function Oa(x){return F(x)?Gh(Yr(x)):Ue(x)}function am(x){return function(D){return x==null?t:uA(x,D)}}var AC=dc(),pc=dc(!0);function ch(){return[]}function Nm(){return!1}function mf(){return{}}function x0(){return""}function sm(){return!0}function Dj(x,D){if(x=io(x),x<1||x>yt)return[];var $=Ne,Ce=aa(x,Ne);D=mr(D),x-=Ne;for(var Je=vh(Ce,D);++$<x;)D($);return Je}function Rj(x){return qr(x)?po(x,Yr):ou(x)?[x]:bo(ua(Pa(x)))}function Pj(x){var D=++fu;return Pa(x)+D}var Kj=id(function(x,D){return x+D},0),Uj=jf("ceil"),Lj=id(function(x,D){return x/D},1),Fj=jf("floor");function zj(x){return x&&x.length?vu(x,fn,Ql):t}function Nj(x,D){return x&&x.length?vu(x,mr(D,2),Ql):t}function Gj(x){return bd(x,fn)}function jj(x,D){return bd(x,mr(D,2))}function Wj(x){return x&&x.length?vu(x,fn,_):t}function Qj(x,D){return x&&x.length?vu(x,mr(D,2),_):t}var Yj=id(function(x,D){return x*D},1),qj=jf("round"),Hj=id(function(x,D){return x-D},0);function Vj(x){return x&&x.length?yh(x,fn):0}function $j(x,D){return x&&x.length?yh(x,mr(D,2)):0}return rt.after=rC,rt.ary=X1,rt.assign=Ag,rt.assignIn=o1,rt.assignInWith=C0,rt.assignWith=_0,rt.at=ug,rt.before=Op,rt.bind=$u,rt.bindAll=je,rt.bindKey=ad,rt.castArray=aC,rt.chain=Jf,rt.chunk=Vl,rt.compact=Is,rt.concat=Ns,rt.cond=at,rt.conforms=Ft,rt.constant=hn,rt.countBy=Sp,rt.create=xy,rt.curry=Ip,rt.curryRight=Tp,rt.debounce=rm,rt.defaults=cg,rt.defaultsDeep=b0,rt.defer=lh,rt.delay=Tm,rt.difference=Br,rt.differenceBy=Ea,rt.differenceWith=$l,rt.drop=fc,rt.dropRight=mA,rt.dropRightWhile=rh,rt.dropWhile=cs,rt.fill=Su,rt.filter=Ay,rt.flatMap=c0,rt.flatMapDeep=cy,rt.flatMapDepth=nm,rt.flatten=al,rt.flattenDeep=pA,rt.flattenDepth=Vu,rt.flip=oC,rt.flow=Gn,rt.flowRight=mn,rt.fromPairs=od,rt.functions=A,rt.functionsIn=c,rt.groupBy=h0,rt.initial=G1,rt.intersection=Rd,rt.intersectionBy=Im,rt.intersectionWith=yp,rt.invert=P,rt.invertBy=G,rt.invokeMap=Z0,rt.iteratee=Pr,rt.keyBy=hy,rt.keys=ie,rt.keysIn=Ae,rt.map=Ep,rt.mapKeys=ve,rt.mapValues=Ke,rt.matches=Kr,rt.matchesProperty=bs,rt.memoize=km,rt Line truncated
Use an identity property function instead: \`{ "type": "identity", "property": ${JSON.stringify(O[1])} }\`.`)];const U=[];return n.layerType==="symbol"&&(o==="text-field"&&r&&!r.glyphs&&U.push(new _i(t,l,'use of "text-field" requires a style "glyphs" property')),o==="text-font"&&Gv(Ng(l))&&Au(l.type)==="identity"&&U.push(new _i(t,l,'"text-font" does not support identity functions'))),U.concat(i({key:n.key,value:l,valueSpec:S,style:r,styleSpec:a,expressionContext:"property",propertyType:e,propertyKey:o}))}function jL(n){return GL(n,"paint")}function WL(n){return GL(n,"layout")}function QL(n){let e=[];const t=n.value,i=n.key,r=n.style,a=n.styleSpec;if(ma(t)!=="object")return[new _i(i,t,`object expected, ${ma(t)} found`)];!t.type&&!t.ref&&e.push(new _i(i,t,'either "type" or "ref" is required'));let l=Au(t.type);const o=Au(t.ref);if(t.id){const m=Au(t.id);for(let C=0;C<n.arrayIndex;C++){const S=r.layers[C];Au(S.id)===m&&e.push(new _i(i,t.id,`duplicate layer id "${t.id}", previously used at line ${S.id.__line__}`))}}if("ref"in t){["type","source","source-layer","filter","layout"].forEach(C=>{C in t&&e.push(new _i(i,t[C],`"${C}" is prohibited for ref layers`))});let m;r.layers.forEach(C=>{Au(C.id)===o&&(m=C)}),m?m.ref?e.push(new _i(i,t.ref,"ref cannot reference another ref layer")):l=Au(m.type):e.push(new _i(i,t.ref,`ref layer "${o}" not found`))}else if(l!=="background")if(!t.source)e.push(new _i(i,t,'missing required property "source"'));else{const m=r.sources&&r.sources[t.source],C=m&&Au(m.type);m?C==="vector"&&l==="raster"?e.push(new _i(i,t.source,`layer "${t.id}" requires a raster source`)):C!=="raster-dem"&&l==="hillshade"?e.push(new _i(i,t.source,`layer "${t.id}" requires a raster-dem source`)):C!=="raster-dem"&&l==="color-relief"?e.push(new _i(i,t.source,`layer "${t.id}" requires a raster-dem source`)):C==="raster"&&l!=="raster"?e.push(new _i(i,t.source,`layer "${t.id}" requires a vector source`)):C==="vector"&&!t["source-layer"]?e.push(new _i(i,t,`layer "${t.id}" must specify a "source-layer"`)):C==="raster-dem"&&l!=="hillshade"&&l!=="color-relief"?e.push(new _i(i,t.source,"raster-dem source can only be used with layer type 'hillshade' or 'color-relief'.")):l==="line"&&t.paint&&t.paint["line-gradient"]&&(C!=="geojson"||!m.lineMetrics)&&e.push(new _i(i,t,`layer "${t.id}" specifies a line-gradient, which requires a GeoJSON source with \`lineMetrics\` enabled.`)):e.push(new _i(i,t.source,`source "${t.source}" not found`))}return e=e.concat(pm({key:i,value:t,valueSpec:a.layer,style:n.style,styleSpec:n.styleSpec,validateSpec:n.validateSpec,objectElementValidators:{"*"(){return[]},type(){return n.validateSpec({key:`${i}.type`,value:t.type,valueSpec:a.layer.type,style:n.style,styleSpec:n.styleSpec,validateSpec:n.validateSpec,object:t,objectKey:"type"})},filter:rO,layout(m){return pm({layer:t,key:m.key,value:m.value,style:m.style,styleSpec:m.styleSpec,validateSpec:m.validateSpec,objectElementValidators:{"*"(C){return WL(wv({layerType:l},C))}}})},paint(m){return pm({layer:t,key:m.key,value:m.value,style:m.style,styleSpec:m.styleSpec,validateSpec:m.validateSpec,objectElementValidators:{"*"(C){return jL(wv({layerType:l},C))}}})}}})),e}function Gg(n){const e=n.value,t=n.key,i=ma(e);return i!=="string"?[new _i(t,e,`string expected, ${i} found`)]:[]}function HH(n){var e;const t=(e=n.sourceName)!==null&&e!==void 0?e:"",i=n.value,r=n.styleSpec,a=r.source_raster_dem,l=n.style;let o=[];const m=ma(i);if(i===void 0)return o;if(m!=="object")return o.push(new _i("source_raster_dem",i,`object expected, ${m} found`)),o;const S=Au(i.encoding)==="custom",O=["redFactor","greenFactor","blueFactor","baseShift"],U=n.value.encoding?`"${n.value.encoding}"`:"Default";for(const K in i)!S&&O.includes(K)?o.push(new _i(K,i[K],`In "${t}": "${K}" is only valid when "encoding" is set to "custom". ${U} encoding found`)):a[K]?o=o.concat(n.validateSpec({key:K,value:i[K],valueSpec:a[K],validateSpec:n.validateSpec,style:l,styleSpec:r})):o.push(new _i(K,i[K],`unknown property "${K}"`));return o}const CI={promoteId:VH};function YL(n){const e=n.value,t=n.key,i=n.styleSpec,r=n.style,a=n.validateSpec;if(!e.type)return[new _i(t,e,'"type" is required')];const l=Au(e.type);let o;switch(l){case"vector":case"raster":return o=pm({key:t,value:e,valueSpec:i[`source_${l.replace("-","_")}`],style:n.style,styleSpec:i,objectElementValidators:CI,validateSpec:a}),o;case"raster-dem":return o=HH({sourceName:t,value:e,style:n.style,styleSpec:i,validateSpec:a}),o;case"geojson":if(o=pm({key:t,value:e,valueSpec:i.source_geojson,style:r,styleSpec:i,validateSpec:a,objectElementValidators:CI}),e.cluster)for(const m in e.clusterProperties){const[C,S]=e.clusterProperties[m],O=typeof C=="string"?[C,["accumulated"],["get",m]]:C;o.push(...Ov({key:`${t}.${m}.map`,value:S,expressionContext:"cluster-map"})),o.push(...Ov({key:`${t}.${m}.reduce`,value:O,expressionContext:"cluster-reduce"}))}return o;case"video":return pm({key:t,value:e,valueSpec:i.source_video,style:r,validateSpec:a,sLine truncated
${O}`),j].join(`
${o}`)}return C}(n,"",0)}function B9(n,e){const t={};for(const i in e)n[i]!==void 0&&(t[i]=n[i]);for(const i in n)t[i]===void 0&&(t[i]=n[i]);return t}function mV(n,e=2){return n=B9(n,Ua.$root),n.layers&&(n.layers=n.layers.map(t=>B9(t,Ua.layer))),fV(n,{indent:e})}function T4(n,e){for(const t in n)t.indexOf("layout")===0&&e(n[t],t)}function O9(n,e){for(const t in n)t.indexOf("paint")===0&&e(n[t],t)}function I6(n,e){return typeof e=="string"&&e[0]==="@"?I6(n,n.constants[e]):e}function pV(n){return Array.isArray(n.stops)}function fC(n,e,t){n[t]=n[e],delete n[e]}function gV(n){n.version=8,XH(n,r=>{r.type==="video"&&r.url!==void 0&&fC(r,"url","urls"),r.type==="video"&&r.coordinates.forEach(a=>a.reverse())}),ZC(n,r=>{T4(r,a=>{a["symbol-min-distance"]!==void 0&&fC(a,"symbol-min-distance","symbol-spacing")}),O9(r,a=>{a["background-image"]!==void 0&&fC(a,"background-image","background-pattern"),a["line-image"]!==void 0&&fC(a,"line-image","line-pattern"),a["fill-image"]!==void 0&&fC(a,"fill-image","fill-pattern")})}),lO(n,{paint:!0,layout:!0},r=>{const a=I6(n,r.value);pV(a)&&a.stops.forEach(l=>{l[1]=I6(n,l[1])}),r.set(a)}),delete n.constants,ZC(n,r=>{T4(r,a=>{delete a["text-max-size"],delete a["icon-max-size"]}),O9(r,a=>{a["text-size"]&&(r.layout||(r.layout={}),r.layout["text-size"]=a["text-size"],delete a["text-size"]),a["icon-size"]&&(r.layout||(r.layout={}),r.layout["icon-size"]=a["icon-size"],delete a["icon-size"])})});function e(r){function a(l){return l.split(",").map(o=>o.trim())}if(Array.isArray(r))return r;if(typeof r=="string")return a(r);if(typeof r=="object")return r.stops.forEach(l=>{l[1]=a(l[1])}),r;throw new Error("unexpected font value")}ZC(n,r=>{T4(r,a=>{a["text-font"]&&(a["text-font"]=e(a["text-font"]))})});let t=0;for(let r=n.layers.length-1;r>=0;r--)if(n.layers[r].type!=="symbol"){t=r+1;break}const i=n.layers.splice(t);return i.reverse(),n.layers=n.layers.concat(i),n}function yV(n){const e=[];return ZC(n,t=>{t.filter&&(t.filter=$C(t.filter))}),lO(n,{paint:!0,layout:!0},({path:t,value:i,reference:r,set:a})=>{jv(i)||(typeof i=="object"&&!Array.isArray(i)?(a(rO(i,r)),e.push(t.join("."))):r.tokens&&typeof i=="string"&&a(WL(i)))}),n}function vV(n){return JSON.parse(CV(JSON.stringify(n)))}function CV(n){return n.replace(/"hsla?\((.+?)\)"/gi,(e,t)=>{const i=t.match(/^(.+?)\s*,\s*(.+?)\s*,\s*(.+?)(?:\s*,\s*(.+))?$/i);if(i){let[r,a,l,o]=i.slice(1);return[a,l]=[a,l].map(m=>m.endsWith("%")?m:`${parseFloat(m)*100}%`),`"hsl${typeof o=="string"?"a":""}(${[r,a,l,o].filter(Boolean).join(",")})"`}return e})}function _V(n){let e=!1;if(n.version===7&&(n=gV(n),e=!0),n.version===8&&(e=!!yV(n),e=!0),lO(n,{paint:!0,layout:!0},({value:t,reference:i,set:r})=>{i.type==="color"&&r(vV(t))}),!e)throw new Error(`Cannot migrate from ${n.version}`);return n}const Mf=Ua,bV={StyleExpression:NL,StylePropertyFunction:i2,ZoomConstantExpression:w6,ZoomDependentExpression:E6,createExpression:t2,createPropertyExpression:n2,isExpression:jv,isExpressionFilter:cb,isZoomExpression:UH,normalizePropertyExpression:LH},xV={convertFunction:rO,createFunction:iO,isFunction:Nv};var Ox={exports:{}};/**
${o}`)}return C}(n,"",0)}function bI(n,e){const t={};for(const i in e)n[i]!==void 0&&(t[i]=n[i]);for(const i in n)t[i]===void 0&&(t[i]=n[i]);return t}function AV(n,e=2){return n=bI(n,Ua.$root),n.layers&&(n.layers=n.layers.map(t=>bI(t,Ua.layer))),lV(n,{indent:e})}function S4(n,e){for(const t in n)t.indexOf("layout")===0&&e(n[t],t)}function xI(n,e){for(const t in n)t.indexOf("paint")===0&&e(n[t],t)}function M6(n,e){return typeof e=="string"&&e[0]==="@"?M6(n,n.constants[e]):e}function uV(n){return Array.isArray(n.stops)}function fC(n,e,t){n[t]=n[e],delete n[e]}function cV(n){n.version=8,YH(n,r=>{r.type==="video"&&r.url!==void 0&&fC(r,"url","urls"),r.type==="video"&&r.coordinates.forEach(a=>a.reverse())}),ZC(n,r=>{S4(r,a=>{a["symbol-min-distance"]!==void 0&&fC(a,"symbol-min-distance","symbol-spacing")}),xI(r,a=>{a["background-image"]!==void 0&&fC(a,"background-image","background-pattern"),a["line-image"]!==void 0&&fC(a,"line-image","line-pattern"),a["fill-image"]!==void 0&&fC(a,"fill-image","fill-pattern")})}),nO(n,{paint:!0,layout:!0},r=>{const a=M6(n,r.value);uV(a)&&a.stops.forEach(l=>{l[1]=M6(n,l[1])}),r.set(a)}),delete n.constants,ZC(n,r=>{S4(r,a=>{delete a["text-max-size"],delete a["icon-max-size"]}),xI(r,a=>{a["text-size"]&&(r.layout||(r.layout={}),r.layout["text-size"]=a["text-size"],delete a["text-size"]),a["icon-size"]&&(r.layout||(r.layout={}),r.layout["icon-size"]=a["icon-size"],delete a["icon-size"])})});function e(r){function a(l){return l.split(",").map(o=>o.trim())}if(Array.isArray(r))return r;if(typeof r=="string")return a(r);if(typeof r=="object")return r.stops.forEach(l=>{l[1]=a(l[1])}),r;throw new Error("unexpected font value")}ZC(n,r=>{S4(r,a=>{a["text-font"]&&(a["text-font"]=e(a["text-font"]))})});let t=0;for(let r=n.layers.length-1;r>=0;r--)if(n.layers[r].type!=="symbol"){t=r+1;break}const i=n.layers.splice(t);return i.reverse(),n.layers=n.layers.concat(i),n}function hV(n){const e=[];return ZC(n,t=>{t.filter&&(t.filter=$C(t.filter))}),nO(n,{paint:!0,layout:!0},({path:t,value:i,reference:r,set:a})=>{jv(i)||(typeof i=="object"&&!Array.isArray(i)?(a(XB(i,r)),e.push(t.join("."))):r.tokens&&typeof i=="string"&&a(LL(i)))}),n}function dV(n){return JSON.parse(fV(JSON.stringify(n)))}function fV(n){return n.replace(/"hsla?\((.+?)\)"/gi,(e,t)=>{const i=t.match(/^(.+?)\s*,\s*(.+?)\s*,\s*(.+?)(?:\s*,\s*(.+))?$/i);if(i){let[r,a,l,o]=i.slice(1);return[a,l]=[a,l].map(m=>m.endsWith("%")?m:`${parseFloat(m)*100}%`),`"hsl${typeof o=="string"?"a":""}(${[r,a,l,o].filter(Boolean).join(",")})"`}return e})}function mV(n){let e=!1;if(n.version===7&&(n=cV(n),e=!0),n.version===8&&(e=!!hV(n),e=!0),nO(n,{paint:!0,layout:!0},({value:t,reference:i,set:r})=>{i.type==="color"&&r(dV(t))}),!e)throw new Error(`Cannot migrate from ${n.version}`);return n}const xf=Ua,pV={StyleExpression:KL,StylePropertyFunction:Z3,ZoomConstantExpression:C6,ZoomDependentExpression:_6,createExpression:V3,createPropertyExpression:$3,isExpression:jv,isExpressionFilter:ob,isZoomExpression:TH,normalizePropertyExpression:kH},gV={convertFunction:XB,createFunction:ZB,isFunction:Gv};var xx={exports:{}};/**
* MapLibre GL JS
* @license 3-Clause BSD. Full text of license: https://github.com/maplibre/maplibre-gl-js/blob/v5.7.1/LICENSE.txt
*/var MV=Ox.exports,I9;function SV(){return I9||(I9=1,function(n,e){(function(t,i){n.exports=i()})(MV,function(){var t={},i={};function r(l,o,m){if(i[l]=m,l==="index"){var C="var sharedModule = {}; ("+i.shared+")(sharedModule); ("+i.worker+")(sharedModule);",S={};return i.shared(S),i.index(t,S),typeof window<"u"&&t.setWorkerUrl(window.URL.createObjectURL(new Blob([C],{type:"text/javascript"}))),t}}r("shared",["exports"],function(l){function o(h,A,c,y){return new(c||(c=Promise))(function(M,R){function P(ie){try{H(y.next(ie))}catch(Ae){R(Ae)}}function N(ie){try{H(y.throw(ie))}catch(Ae){R(Ae)}}function H(ie){var Ae;ie.done?M(ie.value):(Ae=ie.value,Ae instanceof c?Ae:new c(function(ve){ve(Ae)})).then(P,N)}H((y=y.apply(h,A||[])).next())})}function m(h,A){this.x=h,this.y=A}function C(h){return h&&h.__esModule&&Object.prototype.hasOwnProperty.call(h,"default")?h.default:h}var S,O;typeof SuppressedError=="function"&&SuppressedError,m.prototype={clone(){return new m(this.x,this.y)},add(h){return this.clone()._add(h)},sub(h){return this.clone()._sub(h)},multByPoint(h){return this.clone()._multByPoint(h)},divByPoint(h){return this.clone()._divByPoint(h)},mult(h){return this.clone()._mult(h)},div(h){return this.clone()._div(h)},rotate(h){return this.clone()._rotate(h)},rotateAround(h,A){return this.clone()._rotateAround(h,A)},matMult(h){return this.clone()._matMult(h)},unit(){return this.clone()._unit()},perp(){return this.clone()._perp()},round(){return this.clone()._round()},mag(){return Math.sqrt(this.x*this.x+this.y*this.y)},equals(h){return this.x===h.x&&this.y===h.y},dist(h){return Math.sqrt(this.distSqr(h))},distSqr(h){const A=h.x-this.x,c=h.y-this.y;return A*A+c*c},angle(){return Math.atan2(this.y,this.x)},angleTo(h){return Math.atan2(this.y-h.y,this.x-h.x)},angleWith(h){return this.angleWithSep(h.x,h.y)},angleWithSep(h,A){return Math.atan2(this.x*A-this.y*h,this.x*h+this.y*A)},_matMult(h){const A=h[2]*this.x+h[3]*this.y;return this.x=h[0]*this.x+h[1]*this.y,this.y=A,this},_add(h){return this.x+=h.x,this.y+=h.y,this},_sub(h){return this.x-=h.x,this.y-=h.y,this},_mult(h){return this.x*=h,this.y*=h,this},_div(h){return this.x/=h,this.y/=h,this},_multByPoint(h){return this.x*=h.x,this.y*=h.y,this},_divByPoint(h){return this.x/=h.x,this.y/=h.y,this},_unit(){return this._div(this.mag()),this},_perp(){const h=this.y;return this.y=this.x,this.x=-h,this},_rotate(h){const A=Math.cos(h),c=Math.sin(h),y=c*this.x+A*this.y;return this.x=A*this.x-c*this.y,this.y=y,this},_rotateAround(h,A){const c=Math.cos(h),y=Math.sin(h),M=A.y+y*(this.x-A.x)+c*(this.y-A.y);return this.x=A.x+c*(this.x-A.x)-y*(this.y-A.y),this.y=M,this},_round(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this},constructor:m},m.convert=function(h){if(h instanceof m)return h;if(Array.isArray(h))return new m(+h[0],+h[1]);if(h.x!==void 0&&h.y!==void 0)return new m(+h.x,+h.y);throw new Error("Expected [x, y] or {x, y} point format")};var U=function(){if(O)return S;function h(A,c,y,M){this.cx=3*A,this.bx=3*(y-A)-this.cx,this.ax=1-this.cx-this.bx,this.cy=3*c,this.by=3*(M-c)-this.cy,this.ay=1-this.cy-this.by,this.p1x=A,this.p1y=c,this.p2x=y,this.p2y=M}return O=1,S=h,h.prototype={sampleCurveX:function(A){return((this.ax*A+this.bx)*A+this.cx)*A},sampleCurveY:function(A){return((this.ay*A+this.by)*A+this.cy)*A},sampleCurveDerivativeX:function(A){return(3*this.ax*A+2*this.bx)*A+this.cx},solveCurveX:function(A,c){if(c===void 0&&(c=1e-6),A<0)return 0;if(A>1)return 1;for(var y=A,M=0;M<8;M++){var R=this.sampleCurveX(y)-A;if(Math.abs(R)<c)return y;var P=this.sampleCurveDerivativeX(y);if(Math.abs(P)<1e-6)break;y-=R/P}var N=0,H=1;for(y=A,M=0;M<20&&(R=this.sampleCurveX(y),!(Math.abs(R-A)<c));M++)A>R?N=y:H=y,y=.5*(H-N)+N;return y},solve:function(A,c){return this.sampleCurveY(this.solveCurveX(A,c))}},S}(),K=C(U);let z,j;function Q(){return z==null&&(z=typeof OffscreenCanvas<"u"&&new OffscreenCanvas(1,1).getContext("2d")&&typeof createImageBitmap=="function"),z}function ee(){if(j==null&&(j=!1,Q())){const A=new OffscreenCanvas(5,5).getContext("2d",{willReadFrequently:!0});if(A){for(let y=0;y<5*5;y++){const M=4*y;A.fillStyle=`rgb(${M},${M+1},${M+2})`,A.fillRect(y%5,Math.floor(y/5),1,1)}const c=A.getImageData(0,0,5,5).data;for(let y=0;y<5*5*4;y++)if(y%4!=3&&c[y]!==y){j=!0;break}}}return j||!1}var V=1e-6,ae=typeof Float32Array<"u"?Float32Array:Array;function ne(){var h=new ae(9);return ae!=Float32Array&&(h[1]=0,h[2]=0,h[3]=0,h[5]=0,h[6]=0,h[7]=0),h[0]=1,h[4]=1,h[8]=1,h}function Z(h){return h[0]=1,h[1]=0,h[2]=0,h[3]=0,h[4]=0,h[5]=1,h[6]=0,h[7]=0,h[8]=0,h[9]=0,h[10]=1,h[11]=0,h[12]=0,h[13]=0,h[14]=0,h[15]=1,h}function oe(){var h=new ae(3);return ae!=Float32Array&&(h[0]=0,h[1]=0,h[2]=0),h}function W(h){var A=h[0],c=h[1],y=h[2];return Math.sqrt(A*A+c*c+y*y)}function ce(h,A,c){var y=new ae(3);return y[0]=h,y[1]=A,y[2]=c,y}function ge(h,A,c){return h[0]=A[0]+c[0],h[1]=A[1]+c[1],h[2]=A[2]+c[2],h}function ye(h,A,c){return h[0]=A[0]*c,h[1]=A[1]*c,h[2]=A[2]*c,h}function Me(h,A,Line truncated
Use an identity property function instead: \`{ "type": "identity", "property": ${JSON.stringify(ve[1])} }\`.`)];const Ke=[];return h.layerType==="symbol"&&(N==="text-field"&&M&&!M.glyphs&&Ke.push(new Sn(c,P,'use of "text-field" requires a style "glyphs" property')),N==="text-font"&&sc(il(P))&&ms(P.type)==="identity"&&Ke.push(new Sn(c,P,'"text-font" does not support identity functions'))),Ke.concat(y({key:h.key,value:P,valueSpec:Ae,style:M,styleSpec:R,expressionContext:"property",propertyType:A,propertyKey:N}))}function ps(h){return gr(h,"paint")}function Jc(h){return gr(h,"layout")}function Sh(h){let A=[];const c=h.value,y=h.key,M=h.style,R=h.styleSpec;if(Tr(c)!=="object")return[new Sn(y,c,`object expected, ${Tr(c)} found`)];c.type||c.ref||A.push(new Sn(y,c,'either "type" or "ref" is required'));let P=ms(c.type);const N=ms(c.ref);if(c.id){const H=ms(c.id);for(let ie=0;ie<h.arrayIndex;ie++){const Ae=M.layers[ie];ms(Ae.id)===H&&A.push(new Sn(y,c.id,`duplicate layer id "${c.id}", previously used at line ${Ae.id.__line__}`))}}if("ref"in c){let H;["type","source","source-layer","filter","layout"].forEach(ie=>{ie in c&&A.push(new Sn(y,c[ie],`"${ie}" is prohibited for ref layers`))}),M.layers.forEach(ie=>{ms(ie.id)===N&&(H=ie)}),H?H.ref?A.push(new Sn(y,c.ref,"ref cannot reference another ref layer")):P=ms(H.type):A.push(new Sn(y,c.ref,`ref layer "${N}" not found`))}else if(P!=="background")if(c.source){const H=M.sources&&M.sources[c.source],ie=H&&ms(H.type);H?ie==="vector"&&P==="raster"?A.push(new Sn(y,c.source,`layer "${c.id}" requires a raster source`)):ie!=="raster-dem"&&P==="hillshade"||ie!=="raster-dem"&&P==="color-relief"?A.push(new Sn(y,c.source,`layer "${c.id}" requires a raster-dem source`)):ie==="raster"&&P!=="raster"?A.push(new Sn(y,c.source,`layer "${c.id}" requires a vector source`)):ie!=="vector"||c["source-layer"]?ie==="raster-dem"&&P!=="hillshade"&&P!=="color-relief"?A.push(new Sn(y,c.source,"raster-dem source can only be used with layer type 'hillshade' or 'color-relief'.")):P!=="line"||!c.paint||!c.paint["line-gradient"]||ie==="geojson"&&H.lineMetrics||A.push(new Sn(y,c,`layer "${c.id}" specifies a line-gradient, which requires a GeoJSON source with \`lineMetrics\` enabled.`)):A.push(new Sn(y,c,`layer "${c.id}" must specify a "source-layer"`)):A.push(new Sn(y,c.source,`source "${c.source}" not found`))}else A.push(new Sn(y,c,'missing required property "source"'));return A=A.concat(Fs({key:y,value:c,valueSpec:R.layer,style:h.style,styleSpec:h.styleSpec,validateSpec:h.validateSpec,objectElementValidators:{"*":()=>[],type:()=>h.validateSpec({key:`${y}.type`,value:c.type,valueSpec:R.layer.type,style:h.style,styleSpec:h.styleSpec,validateSpec:h.validateSpec,object:c,objectKey:"type"}),filter:Na,layout:H=>Fs({layer:c,key:H.key,value:H.value,style:H.style,styleSpec:H.styleSpec,validateSpec:H.validateSpec,objectElementValidators:{"*":ie=>Jc(lo({layerType:P},ie))}}),paint:H=>Fs({layer:c,key:H.key,value:H.value,style:H.style,styleSpec:H.styleSpec,validateSpec:H.validateSpec,objectElementValidators:{"*":ie=>ps(lo({layerType:P},ie))}})}})),A}function Ro(h){const A=h.value,c=h.key,y=Tr(A);return y!=="string"?[new Sn(c,A,`string expected, ${y} found`)]:[]}const eh={promoteId:function({key:h,value:A}){if(Tr(A)==="string")return Ro({key:h,value:A});{const c=[];for(const y in A)c.push(...Ro({key:`${h}.${y}`,value:A[y]}));return c}}};function TA(h){const A=h.value,c=h.key,y=h.styleSpec,M=h.style,R=h.validateSpec;if(!A.type)return[new Sn(c,A,'"type" is required')];const P=ms(A.type);let N;switch(P){case"vector":case"raster":return N=Fs({key:c,value:A,valueSpec:y[`source_${P.replace("-","_")}`],style:h.style,styleSpec:y,objectElementValidators:eh,validateSpec:R}),N;case"raster-dem":return N=function(H){var ie;const Ae=(ie=H.sourceName)!==null&&ie!==void 0?ie:"",ve=H.value,Ke=H.styleSpec,Qe=Ke.source_raster_dem,Ve=H.style;let et=[];const ut=Tr(ve);if(ve===void 0)return et;if(ut!=="object")return et.push(new Sn("source_raster_dem",ve,`object expected, ${ut} found`)),et;const Mt=ms(ve.encoding)==="custom",Qt=["redFactor","greenFactor","blueFactor","baseShift"],Dt=H.value.encoding?`"${H.value.encoding}"`:"Default";for(const zt in ve)!Mt&&Qt.includes(zt)?et.push(new Sn(zt,ve[zt],`In "${Ae}": "${zt}" is only valid when "encoding" is set to "custom". ${Dt} encoding found`)):Qe[zt]?et=et.concat(H.validateSpec({key:zt,value:ve[zt],valueSpec:Qe[zt],validateSpec:H.validateSpec,style:Ve,styleSpec:Ke})):et.push(new Sn(zt,ve[zt],`unknown property "${zt}"`));return et}({sourceName:c,value:A,style:h.style,styleSpec:y,validateSpec:R}),N;case"geojson":if(N=Fs({key:c,value:A,valueSpec:y.source_geojson,style:M,styleSpec:y,validateSpec:R,objectElementValidators:eh}),A.cluster)for(const H in A.clusterProperties){const[ie,Ae]=A.clusterProperties[H],ve=typeof ie=="string"?[ie,["accumulated"],["get",H]]:ie;N.push(...eu({key:`${c}.${H}.map`,value:Ae,expressionContext:"cluster-map"})),N.push(...eu({key:`${c}.${H}.reduce`,value:ve,expressionCLine truncated
*/var yV=xx.exports,MI;function vV(){return MI||(MI=1,function(n,e){(function(t,i){n.exports=i()})(yV,function(){var t={},i={};function r(l,o,m){if(i[l]=m,l==="index"){var C="var sharedModule = {}; ("+i.shared+")(sharedModule); ("+i.worker+")(sharedModule);",S={};return i.shared(S),i.index(t,S),typeof window<"u"&&t.setWorkerUrl(window.URL.createObjectURL(new Blob([C],{type:"text/javascript"}))),t}}r("shared",["exports"],function(l){function o(h,A,c,y){return new(c||(c=Promise))(function(M,R){function P(ie){try{H(y.next(ie))}catch(Ae){R(Ae)}}function G(ie){try{H(y.throw(ie))}catch(Ae){R(Ae)}}function H(ie){var Ae;ie.done?M(ie.value):(Ae=ie.value,Ae instanceof c?Ae:new c(function(ve){ve(Ae)})).then(P,G)}H((y=y.apply(h,A||[])).next())})}function m(h,A){this.x=h,this.y=A}function C(h){return h&&h.__esModule&&Object.prototype.hasOwnProperty.call(h,"default")?h.default:h}var S,O;typeof SuppressedError=="function"&&SuppressedError,m.prototype={clone(){return new m(this.x,this.y)},add(h){return this.clone()._add(h)},sub(h){return this.clone()._sub(h)},multByPoint(h){return this.clone()._multByPoint(h)},divByPoint(h){return this.clone()._divByPoint(h)},mult(h){return this.clone()._mult(h)},div(h){return this.clone()._div(h)},rotate(h){return this.clone()._rotate(h)},rotateAround(h,A){return this.clone()._rotateAround(h,A)},matMult(h){return this.clone()._matMult(h)},unit(){return this.clone()._unit()},perp(){return this.clone()._perp()},round(){return this.clone()._round()},mag(){return Math.sqrt(this.x*this.x+this.y*this.y)},equals(h){return this.x===h.x&&this.y===h.y},dist(h){return Math.sqrt(this.distSqr(h))},distSqr(h){const A=h.x-this.x,c=h.y-this.y;return A*A+c*c},angle(){return Math.atan2(this.y,this.x)},angleTo(h){return Math.atan2(this.y-h.y,this.x-h.x)},angleWith(h){return this.angleWithSep(h.x,h.y)},angleWithSep(h,A){return Math.atan2(this.x*A-this.y*h,this.x*h+this.y*A)},_matMult(h){const A=h[2]*this.x+h[3]*this.y;return this.x=h[0]*this.x+h[1]*this.y,this.y=A,this},_add(h){return this.x+=h.x,this.y+=h.y,this},_sub(h){return this.x-=h.x,this.y-=h.y,this},_mult(h){return this.x*=h,this.y*=h,this},_div(h){return this.x/=h,this.y/=h,this},_multByPoint(h){return this.x*=h.x,this.y*=h.y,this},_divByPoint(h){return this.x/=h.x,this.y/=h.y,this},_unit(){return this._div(this.mag()),this},_perp(){const h=this.y;return this.y=this.x,this.x=-h,this},_rotate(h){const A=Math.cos(h),c=Math.sin(h),y=c*this.x+A*this.y;return this.x=A*this.x-c*this.y,this.y=y,this},_rotateAround(h,A){const c=Math.cos(h),y=Math.sin(h),M=A.y+y*(this.x-A.x)+c*(this.y-A.y);return this.x=A.x+c*(this.x-A.x)-y*(this.y-A.y),this.y=M,this},_round(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this},constructor:m},m.convert=function(h){if(h instanceof m)return h;if(Array.isArray(h))return new m(+h[0],+h[1]);if(h.x!==void 0&&h.y!==void 0)return new m(+h.x,+h.y);throw new Error("Expected [x, y] or {x, y} point format")};var U=function(){if(O)return S;function h(A,c,y,M){this.cx=3*A,this.bx=3*(y-A)-this.cx,this.ax=1-this.cx-this.bx,this.cy=3*c,this.by=3*(M-c)-this.cy,this.ay=1-this.cy-this.by,this.p1x=A,this.p1y=c,this.p2x=y,this.p2y=M}return O=1,S=h,h.prototype={sampleCurveX:function(A){return((this.ax*A+this.bx)*A+this.cx)*A},sampleCurveY:function(A){return((this.ay*A+this.by)*A+this.cy)*A},sampleCurveDerivativeX:function(A){return(3*this.ax*A+2*this.bx)*A+this.cx},solveCurveX:function(A,c){if(c===void 0&&(c=1e-6),A<0)return 0;if(A>1)return 1;for(var y=A,M=0;M<8;M++){var R=this.sampleCurveX(y)-A;if(Math.abs(R)<c)return y;var P=this.sampleCurveDerivativeX(y);if(Math.abs(P)<1e-6)break;y-=R/P}var G=0,H=1;for(y=A,M=0;M<20&&(R=this.sampleCurveX(y),!(Math.abs(R-A)<c));M++)A>R?G=y:H=y,y=.5*(H-G)+G;return y},solve:function(A,c){return this.sampleCurveY(this.solveCurveX(A,c))}},S}(),K=C(U);let z,j;function Q(){return z==null&&(z=typeof OffscreenCanvas<"u"&&new OffscreenCanvas(1,1).getContext("2d")&&typeof createImageBitmap=="function"),z}function ee(){if(j==null&&(j=!1,Q())){const A=new OffscreenCanvas(5,5).getContext("2d",{willReadFrequently:!0});if(A){for(let y=0;y<5*5;y++){const M=4*y;A.fillStyle=`rgb(${M},${M+1},${M+2})`,A.fillRect(y%5,Math.floor(y/5),1,1)}const c=A.getImageData(0,0,5,5).data;for(let y=0;y<5*5*4;y++)if(y%4!=3&&c[y]!==y){j=!0;break}}}return j||!1}var V=1e-6,ae=typeof Float32Array<"u"?Float32Array:Array;function ne(){var h=new ae(9);return ae!=Float32Array&&(h[1]=0,h[2]=0,h[3]=0,h[5]=0,h[6]=0,h[7]=0),h[0]=1,h[4]=1,h[8]=1,h}function Z(h){return h[0]=1,h[1]=0,h[2]=0,h[3]=0,h[4]=0,h[5]=1,h[6]=0,h[7]=0,h[8]=0,h[9]=0,h[10]=1,h[11]=0,h[12]=0,h[13]=0,h[14]=0,h[15]=1,h}function oe(){var h=new ae(3);return ae!=Float32Array&&(h[0]=0,h[1]=0,h[2]=0),h}function W(h){var A=h[0],c=h[1],y=h[2];return Math.sqrt(A*A+c*c+y*y)}function ue(h,A,c){var y=new ae(3);return y[0]=h,y[1]=A,y[2]=c,y}function ge(h,A,c){return h[0]=A[0]+c[0],h[1]=A[1]+c[1],h[2]=A[2]+c[2],h}function ye(h,A,c){return h[0]=A[0]*c,h[1]=A[1]*c,h[2]=A[2]*c,h}function Me(h,A,Line truncated
Use an identity property function instead: \`{ "type": "identity", "property": ${JSON.stringify(ve[1])} }\`.`)];const Ke=[];return h.layerType==="symbol"&&(G==="text-field"&&M&&!M.glyphs&&Ke.push(new Sn(c,P,'use of "text-field" requires a style "glyphs" property')),G==="text-font"&&sc(il(P))&&ms(P.type)==="identity"&&Ke.push(new Sn(c,P,'"text-font" does not support identity functions'))),Ke.concat(y({key:h.key,value:P,valueSpec:Ae,style:M,styleSpec:R,expressionContext:"property",propertyType:A,propertyKey:G}))}function ps(h){return gr(h,"paint")}function Jc(h){return gr(h,"layout")}function Sh(h){let A=[];const c=h.value,y=h.key,M=h.style,R=h.styleSpec;if(Tr(c)!=="object")return[new Sn(y,c,`object expected, ${Tr(c)} found`)];c.type||c.ref||A.push(new Sn(y,c,'either "type" or "ref" is required'));let P=ms(c.type);const G=ms(c.ref);if(c.id){const H=ms(c.id);for(let ie=0;ie<h.arrayIndex;ie++){const Ae=M.layers[ie];ms(Ae.id)===H&&A.push(new Sn(y,c.id,`duplicate layer id "${c.id}", previously used at line ${Ae.id.__line__}`))}}if("ref"in c){let H;["type","source","source-layer","filter","layout"].forEach(ie=>{ie in c&&A.push(new Sn(y,c[ie],`"${ie}" is prohibited for ref layers`))}),M.layers.forEach(ie=>{ms(ie.id)===G&&(H=ie)}),H?H.ref?A.push(new Sn(y,c.ref,"ref cannot reference another ref layer")):P=ms(H.type):A.push(new Sn(y,c.ref,`ref layer "${G}" not found`))}else if(P!=="background")if(c.source){const H=M.sources&&M.sources[c.source],ie=H&&ms(H.type);H?ie==="vector"&&P==="raster"?A.push(new Sn(y,c.source,`layer "${c.id}" requires a raster source`)):ie!=="raster-dem"&&P==="hillshade"||ie!=="raster-dem"&&P==="color-relief"?A.push(new Sn(y,c.source,`layer "${c.id}" requires a raster-dem source`)):ie==="raster"&&P!=="raster"?A.push(new Sn(y,c.source,`layer "${c.id}" requires a vector source`)):ie!=="vector"||c["source-layer"]?ie==="raster-dem"&&P!=="hillshade"&&P!=="color-relief"?A.push(new Sn(y,c.source,"raster-dem source can only be used with layer type 'hillshade' or 'color-relief'.")):P!=="line"||!c.paint||!c.paint["line-gradient"]||ie==="geojson"&&H.lineMetrics||A.push(new Sn(y,c,`layer "${c.id}" specifies a line-gradient, which requires a GeoJSON source with \`lineMetrics\` enabled.`)):A.push(new Sn(y,c,`layer "${c.id}" must specify a "source-layer"`)):A.push(new Sn(y,c.source,`source "${c.source}" not found`))}else A.push(new Sn(y,c,'missing required property "source"'));return A=A.concat(Fs({key:y,value:c,valueSpec:R.layer,style:h.style,styleSpec:h.styleSpec,validateSpec:h.validateSpec,objectElementValidators:{"*":()=>[],type:()=>h.validateSpec({key:`${y}.type`,value:c.type,valueSpec:R.layer.type,style:h.style,styleSpec:h.styleSpec,validateSpec:h.validateSpec,object:c,objectKey:"type"}),filter:Ga,layout:H=>Fs({layer:c,key:H.key,value:H.value,style:H.style,styleSpec:H.styleSpec,validateSpec:H.validateSpec,objectElementValidators:{"*":ie=>Jc(lo({layerType:P},ie))}}),paint:H=>Fs({layer:c,key:H.key,value:H.value,style:H.style,styleSpec:H.styleSpec,validateSpec:H.validateSpec,objectElementValidators:{"*":ie=>ps(lo({layerType:P},ie))}})}})),A}function Ro(h){const A=h.value,c=h.key,y=Tr(A);return y!=="string"?[new Sn(c,A,`string expected, ${y} found`)]:[]}const eh={promoteId:function({key:h,value:A}){if(Tr(A)==="string")return Ro({key:h,value:A});{const c=[];for(const y in A)c.push(...Ro({key:`${h}.${y}`,value:A[y]}));return c}}};function TA(h){const A=h.value,c=h.key,y=h.styleSpec,M=h.style,R=h.validateSpec;if(!A.type)return[new Sn(c,A,'"type" is required')];const P=ms(A.type);let G;switch(P){case"vector":case"raster":return G=Fs({key:c,value:A,valueSpec:y[`source_${P.replace("-","_")}`],style:h.style,styleSpec:y,objectElementValidators:eh,validateSpec:R}),G;case"raster-dem":return G=function(H){var ie;const Ae=(ie=H.sourceName)!==null&&ie!==void 0?ie:"",ve=H.value,Ke=H.styleSpec,Qe=Ke.source_raster_dem,Ve=H.style;let et=[];const ut=Tr(ve);if(ve===void 0)return et;if(ut!=="object")return et.push(new Sn("source_raster_dem",ve,`object expected, ${ut} found`)),et;const Mt=ms(ve.encoding)==="custom",Qt=["redFactor","greenFactor","blueFactor","baseShift"],Dt=H.value.encoding?`"${H.value.encoding}"`:"Default";for(const zt in ve)!Mt&&Qt.includes(zt)?et.push(new Sn(zt,ve[zt],`In "${Ae}": "${zt}" is only valid when "encoding" is set to "custom". ${Dt} encoding found`)):Qe[zt]?et=et.concat(H.validateSpec({key:zt,value:ve[zt],valueSpec:Qe[zt],validateSpec:H.validateSpec,style:Ve,styleSpec:Ke})):et.push(new Sn(zt,ve[zt],`unknown property "${zt}"`));return et}({sourceName:c,value:A,style:h.style,styleSpec:y,validateSpec:R}),G;case"geojson":if(G=Fs({key:c,value:A,valueSpec:y.source_geojson,style:M,styleSpec:y,validateSpec:R,objectElementValidators:eh}),A.cluster)for(const H in A.clusterProperties){const[ie,Ae]=A.clusterProperties[H],ve=typeof ie=="string"?[ie,["accumulated"],["get",H]]:ie;G.push(...eu({key:`${c}.${H}.map`,value:Ae,expressionContext:"cluster-map"})),G.push(...eu({key:`${c}.${H}.reduce`,value:ve,expressionCLine truncated
precision mediump float;
#else
#if !defined(lowp)
@@ -769,7 +769,7 @@ u_camera_to_center_distance/camera_to_anchor_distance;highp float perspective_ra
if(u_pitch_with_map && !u_is_along_line) {float anchor_pos_tile_y=(u_coord_matrix*vec4(projected_pos.xy/projected_pos.w,z,1.0)).y;projectionScaling=mix(projectionScaling,1.0/circumferenceRatioAtTileY(anchor_pos_tile_y)*u_pitched_scale,u_projection_transition);}
#endif
vec4 finalPos=u_coord_matrix*vec4(projected_pos.xy/projected_pos.w+rotation_matrix*(a_offset/32.0*fontScale)*projectionScaling,z,1.0);if(u_pitch_with_map) {finalPos=projectTileWithElevation(finalPos.xy,finalPos.z);}float gamma_scale=finalPos.w;gl_Position=finalPos;vec2 fade_opacity=unpack_opacity(a_fade_opacity);float visibility=calculate_visibility(projectedPoint);float fade_change=fade_opacity[1] > 0.5 ? u_fade_change :-u_fade_change;float interpolated_fade_opacity=max(0.0,min(visibility,fade_opacity[0]+fade_change));v_data0.xy=a_tex/u_texsize;v_data0.zw=a_tex/u_texsize_icon;v_data1=vec4(gamma_scale,size,interpolated_fade_opacity,is_sdf);}`),terrain:dr("uniform sampler2D u_texture;uniform vec4 u_fog_color;uniform vec4 u_horizon_color;uniform float u_fog_ground_blend;uniform float u_fog_ground_blend_opacity;uniform float u_horizon_fog_blend;uniform bool u_is_globe_mode;in vec2 v_texture_pos;in float v_fog_depth;const float gamma=2.2;vec4 gammaToLinear(vec4 color) {return pow(color,vec4(gamma));}vec4 linearToGamma(vec4 color) {return pow(color,vec4(1.0/gamma));}void main() {vec4 surface_color=texture(u_texture,vec2(v_texture_pos.x,1.0-v_texture_pos.y));if (!u_is_globe_mode && v_fog_depth > u_fog_ground_blend) {vec4 surface_color_linear=gammaToLinear(surface_color);float blend_color=smoothstep(0.0,1.0,max((v_fog_depth-u_horizon_fog_blend)/(1.0-u_horizon_fog_blend),0.0));vec4 fog_horizon_color_linear=mix(gammaToLinear(u_fog_color),gammaToLinear(u_horizon_color),blend_color);float factor_fog=max(v_fog_depth-u_fog_ground_blend,0.0)/(1.0-u_fog_ground_blend);fragColor=linearToGamma(mix(surface_color_linear,fog_horizon_color_linear,pow(factor_fog,2.0)*u_fog_ground_blend_opacity));} else {fragColor=surface_color;}}","in vec3 a_pos3d;uniform mat4 u_fog_matrix;uniform float u_ele_delta;out vec2 v_texture_pos;out float v_fog_depth;void main() {float ele=get_elevation(a_pos3d.xy);float ele_delta=a_pos3d.z==1.0 ? u_ele_delta : 0.0;v_texture_pos=a_pos3d.xy/8192.0;gl_Position=projectTileFor3D(a_pos3d.xy,get_elevation(a_pos3d.xy)-ele_delta);vec4 pos=u_fog_matrix*vec4(a_pos3d.xy,ele,1.0);v_fog_depth=pos.z/pos.w*0.5+0.5;}"),terrainDepth:dr("in float v_depth;const highp vec4 bitSh=vec4(256.*256.*256.,256.*256.,256.,1.);const highp vec4 bitMsk=vec4(0.,vec3(1./256.0));highp vec4 pack(highp float value) {highp vec4 comp=fract(value*bitSh);comp-=comp.xxyz*bitMsk;return comp;}void main() {fragColor=pack(v_depth);}","in vec3 a_pos3d;uniform float u_ele_delta;out float v_depth;void main() {float ele=get_elevation(a_pos3d.xy);float ele_delta=a_pos3d.z==1.0 ? u_ele_delta : 0.0;gl_Position=projectTileFor3D(a_pos3d.xy,ele-ele_delta);v_depth=gl_Position.z/gl_Position.w;}"),terrainCoords:dr("precision mediump float;uniform sampler2D u_texture;uniform float u_terrain_coords_id;in vec2 v_texture_pos;void main() {vec4 rgba=texture(u_texture,v_texture_pos);fragColor=vec4(rgba.r,rgba.g,rgba.b,u_terrain_coords_id);}","in vec3 a_pos3d;uniform float u_ele_delta;out vec2 v_texture_pos;void main() {float ele=get_elevation(a_pos3d.xy);float ele_delta=a_pos3d.z==1.0 ? u_ele_delta : 0.0;v_texture_pos=a_pos3d.xy/8192.0;gl_Position=projectTileFor3D(a_pos3d.xy,ele-ele_delta);}"),projectionErrorMeasurement:dr("in vec4 v_output_error_encoded;void main() {fragColor=v_output_error_encoded;}","in vec2 a_pos;uniform highp float u_input;uniform highp float u_output_expected;out vec4 v_output_error_encoded;void main() {float real_output=2.0*atan(exp(PI-(u_input*PI*2.0)))-PI*0.5;float error=real_output-u_output_expected;float abs_error=abs(error)*128.0;v_output_error_encoded.x=min(floor(abs_error*256.0),255.0)/255.0;abs_error-=v_output_error_encoded.x;v_output_error_encoded.y=min(floor(abs_error*65536.0),255.0)/255.0;abs_error-=v_output_error_encoded.x/255.0;v_output_error_encoded.z=min(floor(abs_error*16777216.0),255.0)/255.0;v_output_error_encoded.w=error >=0.0 ? 1.0 : 0.0;gl_Position=vec4(a_pos,0.0,1.0);}"),atmosphere:dr(`in vec3 view_direction;uniform vec3 u_sun_pos;uniform vec3 u_globe_position;uniform float u_globe_radius;uniform float u_atmosphere_blend;/**Shader use from https:*Made some change to adapt to MapLibre Globe geometry*/const float PI=3.141592653589793;const int iSteps=5;const int jSteps=3;/*radius of the planet*/const float EARTH_RADIUS=6371e3;/*radius of the atmosphere*/const float ATMOS_RADIUS=6471e3;vec2 rsi(vec3 r0,vec3 rd,float sr) {float a=dot(rd,rd);float b=2.0*dot(rd,r0);float c=dot(r0,r0)-(sr*sr);float d=(b*b)-4.0*a*c;if (d < 0.0) return vec2(1e5,-1e5);return vec2((-b-sqrt(d))/(2.0*a),(-b+sqrt(d))/(2.0*a));}vec4 atmosphere(vec3 r,vec3 r0,vec3 pSun,float iSun,float rPlanet,float rAtmos,vec3 kRlh,float kMie,float shRlh,float shMie,float g) {pSun=normalize(pSun);r=normalize(r);vec2 p=rsi(r0,r,rAtmos);if (p.x > p.y) {return vec4(0.0,0.0,0.0,1.0);}if (p.x < 0.0) {p.x=0.0;}vec3 pos=r0+r*p.x;vec2 p2=rsi(r0,r,rPlanet);if (p2.x <=p2.y && p2.x > 0.0) {p.y=min(p.y,p2.x);}float iStepSize=(p.y-p.x)/float(iSteps);float iTime=p.x+iStepSize*0.5;vec3Line truncated
);color.rgb=1.0-exp(-1.0*color.rgb);color=pow(color,vec4(1.0/2.2));fragColor=vec4(color.rgb,1.0-color.a)*u_atmosphere_blend;}`,"in vec2 a_pos;uniform mat4 u_inv_proj_matrix;out vec3 view_direction;void main() {view_direction=(u_inv_proj_matrix*vec4(a_pos,0.0,1.0)).xyz;gl_Position=vec4(a_pos,0.0,1.0);}"),sky:dr("uniform vec4 u_sky_color;uniform vec4 u_horizon_color;uniform vec2 u_horizon;uniform vec2 u_horizon_normal;uniform float u_sky_horizon_blend;uniform float u_sky_blend;void main() {float x=gl_FragCoord.x;float y=gl_FragCoord.y;float blend=(y-u_horizon.y)*u_horizon_normal.y+(x-u_horizon.x)*u_horizon_normal.x;if (blend > 0.0) {if (blend < u_sky_horizon_blend) {fragColor=mix(u_sky_color,u_horizon_color,pow(1.0-blend/u_sky_horizon_blend,2.0));} else {fragColor=u_sky_color;}}fragColor=mix(fragColor,vec4(vec3(0.0),0.0),u_sky_blend);}","in vec2 a_pos;void main() {gl_Position=vec4(a_pos,1.0,1.0);}")};function dr(I,s){const f=/#pragma mapbox: ([\w]+) ([\w]+) ([\w]+) ([\w]+)/g,_=s.match(/in ([\w]+) ([\w]+)/g),w=I.match(/uniform ([\w]+) ([\w]+)([\s]*)([\w]*)/g),k=s.match(/uniform ([\w]+) ([\w]+)([\s]*)([\w]*)/g),G=k?k.concat(w):w,q={};return{fragmentSource:I=I.replace(f,(J,he,pe,Ee,Se)=>(q[Se]=!0,he==="define"?`
);color.rgb=1.0-exp(-1.0*color.rgb);color=pow(color,vec4(1.0/2.2));fragColor=vec4(color.rgb,1.0-color.a)*u_atmosphere_blend;}`,"in vec2 a_pos;uniform mat4 u_inv_proj_matrix;out vec3 view_direction;void main() {view_direction=(u_inv_proj_matrix*vec4(a_pos,0.0,1.0)).xyz;gl_Position=vec4(a_pos,0.0,1.0);}"),sky:dr("uniform vec4 u_sky_color;uniform vec4 u_horizon_color;uniform vec2 u_horizon;uniform vec2 u_horizon_normal;uniform float u_sky_horizon_blend;uniform float u_sky_blend;void main() {float x=gl_FragCoord.x;float y=gl_FragCoord.y;float blend=(y-u_horizon.y)*u_horizon_normal.y+(x-u_horizon.x)*u_horizon_normal.x;if (blend > 0.0) {if (blend < u_sky_horizon_blend) {fragColor=mix(u_sky_color,u_horizon_color,pow(1.0-blend/u_sky_horizon_blend,2.0));} else {fragColor=u_sky_color;}}fragColor=mix(fragColor,vec4(vec3(0.0),0.0),u_sky_blend);}","in vec2 a_pos;void main() {gl_Position=vec4(a_pos,1.0,1.0);}")};function dr(I,s){const f=/#pragma mapbox: ([\w]+) ([\w]+) ([\w]+) ([\w]+)/g,_=s.match(/in ([\w]+) ([\w]+)/g),w=I.match(/uniform ([\w]+) ([\w]+)([\s]*)([\w]*)/g),k=s.match(/uniform ([\w]+) ([\w]+)([\s]*)([\w]*)/g),N=k?k.concat(w):w,q={};return{fragmentSource:I=I.replace(f,(J,he,pe,Ee,Se)=>(q[Se]=!0,he==="define"?`
#ifndef HAS_UNIFORM_u_${Se}
in ${pe} ${Ee} ${Se};
#else
@@ -818,45 +818,45 @@ uniform ${pe} ${Ee} u_${Se};
#else
${pe} ${Ee} ${Se} = u_${Se};
#endif
`}),staticAttributes:_,staticUniforms:G}}class Kl{constructor(s,f,_){this.vertexBuffer=s,this.indexBuffer=f,this.segments=_}destroy(){this.vertexBuffer.destroy(),this.indexBuffer.destroy(),this.segments.destroy(),this.vertexBuffer=null,this.indexBuffer=null,this.segments=null}}var ga=o.aJ([{name:"a_pos",type:"Int16",components:2}]);const Ul="#define PROJECTION_MERCATOR",bA="mercator";class br{constructor(){this._cachedMesh=null}get name(){return"mercator"}get useSubdivision(){return!1}get shaderVariantName(){return bA}get shaderDefine(){return Ul}get shaderPreludeCode(){return ko.projectionMercator}get vertexShaderPreludeCode(){return ko.projectionMercator.vertexSource}get subdivisionGranularity(){return o.aK.noSubdivision}get useGlobeControls(){return!1}get transitionState(){return 0}get latitudeErrorCorrectionRadians(){return 0}destroy(){}updateGPUdependent(s){}getMeshFromTileID(s,f,_,w,k){if(this._cachedMesh)return this._cachedMesh;const G=new o.aL;G.emplaceBack(0,0),G.emplaceBack(o.$,0),G.emplaceBack(0,o.$),G.emplaceBack(o.$,o.$);const q=s.createVertexBuffer(G,ga.members),J=o.aM.simpleSegment(0,0,4,2),he=new o.aN;he.emplaceBack(1,0,2),he.emplaceBack(1,2,3);const pe=s.createIndexBuffer(he);return this._cachedMesh=new Kl(q,pe,J),this._cachedMesh}recalculate(){}hasTransition(){return!1}setErrorQueryLatitudeDegrees(s){}}class iA{constructor(s=0,f=0,_=0,w=0){if(isNaN(s)||s<0||isNaN(f)||f<0||isNaN(_)||_<0||isNaN(w)||w<0)throw new Error("Invalid value for edge-insets, top, bottom, left and right must all be numbers");this.top=s,this.bottom=f,this.left=_,this.right=w}interpolate(s,f,_){return f.top!=null&&s.top!=null&&(this.top=o.C.number(s.top,f.top,_)),f.bottom!=null&&s.bottom!=null&&(this.bottom=o.C.number(s.bottom,f.bottom,_)),f.left!=null&&s.left!=null&&(this.left=o.C.number(s.left,f.left,_)),f.right!=null&&s.right!=null&&(this.right=o.C.number(s.right,f.right,_)),this}getCenter(s,f){const _=o.ah((this.left+s-this.right)/2,0,s),w=o.ah((this.top+f-this.bottom)/2,0,f);return new o.P(_,w)}equals(s){return this.top===s.top&&this.bottom===s.bottom&&this.left===s.left&&this.right===s.right}clone(){return new iA(this.top,this.bottom,this.left,this.right)}toJSON(){return{top:this.top,bottom:this.bottom,left:this.left,right:this.right}}}function cu(I,s){if(!I.renderWorldCopies||I.lngRange)return;const f=s.lng-I.center.lng;s.lng+=f>180?-360:f<-180?360:0}function Go(I){return Math.max(0,Math.floor(I))}class Eo{constructor(s,f,_,w,k,G){this._callbacks=s,this._tileSize=512,this._renderWorldCopies=G===void 0||!!G,this._minZoom=f||0,this._maxZoom=_||22,this._minPitch=w??0,this._maxPitch=k??60,this.setMaxBounds(),this._width=0,this._height=0,this._center=new o.S(0,0),this._elevation=0,this._zoom=0,this._tileZoom=Go(this._zoom),this._scale=o.af(this._zoom),this._bearingInRadians=0,this._fovInRadians=.6435011087932844,this._pitchInRadians=0,this._rollInRadians=0,this._unmodified=!0,this._edgeInsets=new iA,this._minElevationForCurrentTile=0,this._autoCalculateNearFarZ=!0}apply(s,f,_){this._latRange=s.latRange,this._lngRange=s.lngRange,this._width=s.width,this._height=s.height,this._center=s.center,this._elevation=s.elevation,this._minElevationForCurrentTile=s.minElevationForCurrentTile,this._zoom=s.zoom,this._tileZoom=Go(this._zoom),this._scale=o.af(this._zoom),this._bearingInRadians=s.bearingInRadians,this._fovInRadians=s.fovInRadians,this._pitchInRadians=s.pitchInRadians,this._rollInRadians=s.rollInRadians,this._unmodified=s.unmodified,this._edgeInsets=new iA(s.padding.top,s.padding.bottom,s.padding.left,s.padding.right),this._minZoom=s.minZoom,this._maxZoom=s.maxZoom,this._minPitch=s.minPitch,this._maxPitch=s.maxPitch,this._renderWorldCopies=s.renderWorldCopies,this._cameraToCenterDistance=s.cameraToCenterDistance,this._nearZ=s.nearZ,this._farZ=s.farZ,this._autoCalculateNearFarZ=!_&&s.autoCalculateNearFarZ,f&&this._constrain(),this._calcMatrices()}get pixelsToClipSpaceMatrix(){return this._pixelsToClipSpaceMatrix}get clipSpaceToPixelsMatrix(){return this._clipSpaceToPixelsMatrix}get minElevationForCurrentTile(){return this._minElevationForCurrentTile}setMinElevationForCurrentTile(s){this._minElevationForCurrentTile=s}get tileSize(){return this._tileSize}get tileZoom(){return this._tileZoom}get scale(){return this._scale}get width(){return this._width}get height(){return this._height}get bearingInRadians(){return this._bearingInRadians}get lngRange(){return this._lngRange}get latRange(){return this._latRange}get pixelsToGLUnits(){return this._pixelsToGLUnits}get minZoom(){return this._minZoom}setMinZoom(s){this._minZoom!==s&&(this._minZoom=s,this.setZoom(this.getConstrained(this._center,this.zoom).zoom))}get maxZoom(){return this._maxZoom}setMaxZoom(s){this._maxZoom!==s&&(this._maxZoom=s,this.setZoom(this.getConstrained(this._center,this.zoom).zoom))}get minPitch(){return this._minPitch}setMinPitch(s){this._minPitch!==s&&(this._minPitch=s,this.setPitch(Math.max(this.pitch,s)))}get maxPitch(){return this._maxPitch}setMaxPi Line truncated
`}),staticAttributes:_,staticUniforms:N}}class Kl{constructor(s,f,_){this.vertexBuffer=s,this.indexBuffer=f,this.segments=_}destroy(){this.vertexBuffer.destroy(),this.indexBuffer.destroy(),this.segments.destroy(),this.vertexBuffer=null,this.indexBuffer=null,this.segments=null}}var ga=o.aJ([{name:"a_pos",type:"Int16",components:2}]);const Ul="#define PROJECTION_MERCATOR",bA="mercator";class br{constructor(){this._cachedMesh=null}get name(){return"mercator"}get useSubdivision(){return!1}get shaderVariantName(){return bA}get shaderDefine(){return Ul}get shaderPreludeCode(){return ko.projectionMercator}get vertexShaderPreludeCode(){return ko.projectionMercator.vertexSource}get subdivisionGranularity(){return o.aK.noSubdivision}get useGlobeControls(){return!1}get transitionState(){return 0}get latitudeErrorCorrectionRadians(){return 0}destroy(){}updateGPUdependent(s){}getMeshFromTileID(s,f,_,w,k){if(this._cachedMesh)return this._cachedMesh;const N=new o.aL;N.emplaceBack(0,0),N.emplaceBack(o.$,0),N.emplaceBack(0,o.$),N.emplaceBack(o.$,o.$);const q=s.createVertexBuffer(N,ga.members),J=o.aM.simpleSegment(0,0,4,2),he=new o.aN;he.emplaceBack(1,0,2),he.emplaceBack(1,2,3);const pe=s.createIndexBuffer(he);return this._cachedMesh=new Kl(q,pe,J),this._cachedMesh}recalculate(){}hasTransition(){return!1}setErrorQueryLatitudeDegrees(s){}}class iA{constructor(s=0,f=0,_=0,w=0){if(isNaN(s)||s<0||isNaN(f)||f<0||isNaN(_)||_<0||isNaN(w)||w<0)throw new Error("Invalid value for edge-insets, top, bottom, left and right must all be numbers");this.top=s,this.bottom=f,this.left=_,this.right=w}interpolate(s,f,_){return f.top!=null&&s.top!=null&&(this.top=o.C.number(s.top,f.top,_)),f.bottom!=null&&s.bottom!=null&&(this.bottom=o.C.number(s.bottom,f.bottom,_)),f.left!=null&&s.left!=null&&(this.left=o.C.number(s.left,f.left,_)),f.right!=null&&s.right!=null&&(this.right=o.C.number(s.right,f.right,_)),this}getCenter(s,f){const _=o.ah((this.left+s-this.right)/2,0,s),w=o.ah((this.top+f-this.bottom)/2,0,f);return new o.P(_,w)}equals(s){return this.top===s.top&&this.bottom===s.bottom&&this.left===s.left&&this.right===s.right}clone(){return new iA(this.top,this.bottom,this.left,this.right)}toJSON(){return{top:this.top,bottom:this.bottom,left:this.left,right:this.right}}}function cu(I,s){if(!I.renderWorldCopies||I.lngRange)return;const f=s.lng-I.center.lng;s.lng+=f>180?-360:f<-180?360:0}function No(I){return Math.max(0,Math.floor(I))}class Eo{constructor(s,f,_,w,k,N){this._callbacks=s,this._tileSize=512,this._renderWorldCopies=N===void 0||!!N,this._minZoom=f||0,this._maxZoom=_||22,this._minPitch=w??0,this._maxPitch=k??60,this.setMaxBounds(),this._width=0,this._height=0,this._center=new o.S(0,0),this._elevation=0,this._zoom=0,this._tileZoom=No(this._zoom),this._scale=o.af(this._zoom),this._bearingInRadians=0,this._fovInRadians=.6435011087932844,this._pitchInRadians=0,this._rollInRadians=0,this._unmodified=!0,this._edgeInsets=new iA,this._minElevationForCurrentTile=0,this._autoCalculateNearFarZ=!0}apply(s,f,_){this._latRange=s.latRange,this._lngRange=s.lngRange,this._width=s.width,this._height=s.height,this._center=s.center,this._elevation=s.elevation,this._minElevationForCurrentTile=s.minElevationForCurrentTile,this._zoom=s.zoom,this._tileZoom=No(this._zoom),this._scale=o.af(this._zoom),this._bearingInRadians=s.bearingInRadians,this._fovInRadians=s.fovInRadians,this._pitchInRadians=s.pitchInRadians,this._rollInRadians=s.rollInRadians,this._unmodified=s.unmodified,this._edgeInsets=new iA(s.padding.top,s.padding.bottom,s.padding.left,s.padding.right),this._minZoom=s.minZoom,this._maxZoom=s.maxZoom,this._minPitch=s.minPitch,this._maxPitch=s.maxPitch,this._renderWorldCopies=s.renderWorldCopies,this._cameraToCenterDistance=s.cameraToCenterDistance,this._nearZ=s.nearZ,this._farZ=s.farZ,this._autoCalculateNearFarZ=!_&&s.autoCalculateNearFarZ,f&&this._constrain(),this._calcMatrices()}get pixelsToClipSpaceMatrix(){return this._pixelsToClipSpaceMatrix}get clipSpaceToPixelsMatrix(){return this._clipSpaceToPixelsMatrix}get minElevationForCurrentTile(){return this._minElevationForCurrentTile}setMinElevationForCurrentTile(s){this._minElevationForCurrentTile=s}get tileSize(){return this._tileSize}get tileZoom(){return this._tileZoom}get scale(){return this._scale}get width(){return this._width}get height(){return this._height}get bearingInRadians(){return this._bearingInRadians}get lngRange(){return this._lngRange}get latRange(){return this._latRange}get pixelsToGLUnits(){return this._pixelsToGLUnits}get minZoom(){return this._minZoom}setMinZoom(s){this._minZoom!==s&&(this._minZoom=s,this.setZoom(this.getConstrained(this._center,this.zoom).zoom))}get maxZoom(){return this._maxZoom}setMaxZoom(s){this._maxZoom!==s&&(this._maxZoom=s,this.setZoom(this.getConstrained(this._center,this.zoom).zoom))}get minPitch(){return this._minPitch}setMinPitch(s){this._minPitch!==s&&(this._minPitch=s,this.setPitch(Math.max(this.pitch,s)))}get maxPitch(){return this._maxPitch}setMaxPi Line truncated
`),Lt=wt.concat(ko.prelude.vertexSource,q.vertexSource,f.vertexSource).join(`
`);st(pe)||(Pt=function(Xt){return Xt.replace(/\bin\s/g,"varying ").replace("out highp vec4 fragColor;","").replace(/fragColor/g,"gl_FragColor").replace(/texture\(/g,"texture2D(")}(Pt),Lt=function(Xt){return Xt.replace(/\bin\s/g,"attribute ").replace(/\bout\s/g,"varying ").replace(/texture\(/g,"texture2D(")}(Lt));const Bt=pe.createShader(pe.FRAGMENT_SHADER);if(pe.isContextLost())return void(this.failedToCreate=!0);if(pe.shaderSource(Bt,Pt),pe.compileShader(Bt),!pe.getShaderParameter(Bt,pe.COMPILE_STATUS))throw new Error(`Could not compile fragment shader: ${pe.getShaderInfoLog(Bt)}`);pe.attachShader(this.program,Bt);const Yt=pe.createShader(pe.VERTEX_SHADER);if(pe.isContextLost())return void(this.failedToCreate=!0);if(pe.shaderSource(Yt,Lt),pe.compileShader(Yt),!pe.getShaderParameter(Yt,pe.COMPILE_STATUS))throw new Error(`Could not compile vertex shader: ${pe.getShaderInfoLog(Yt)}`);pe.attachShader(this.program,Yt),this.attributes={};const dn={};this.numAttributes=Ue.length;for(let Xt=0;Xt<this.numAttributes;Xt++)Ue[Xt]&&(pe.bindAttribLocation(this.program,Xt,Ue[Xt]),this.attributes[Ue[Xt]]=Xt);if(pe.linkProgram(this.program),!pe.getProgramParameter(this.program,pe.LINK_STATUS))throw new Error(`Program failed to link: ${pe.getProgramInfoLog(this.program)}`);pe.deleteShader(Yt),pe.deleteShader(Bt);for(let Xt=0;Xt<Ct.length;Xt++){const nn=Ct[Xt];if(nn&&!dn[nn]){const An=pe.getUniformLocation(this.program,nn);An&&(dn[nn]=An)}}this.fixedUniforms=w(s,dn),this.terrainUniforms=((Xt,nn)=>({u_depth:new o.bP(Xt,nn.u_depth),u_terrain:new o.bP(Xt,nn.u_terrain),u_terrain_dim:new o.bg(Xt,nn.u_terrain_dim),u_terrain_matrix:new o.bR(Xt,nn.u_terrain_matrix),u_terrain_unpack:new o.bS(Xt,nn.u_terrain_unpack),u_terrain_exaggeration:new o.bg(Xt,nn.u_terrain_exaggeration)}))(s,dn),this.projectionUniforms=((Xt,nn)=>({u_projection_matrix:new o.bR(Xt,nn.u_projection_matrix),u_projection_tile_mercator_coords:new o.bS(Xt,nn.u_projection_tile_mercator_coords),u_projection_clipping_plane:new o.bS(Xt,nn.u_projection_clipping_plane),u_projection_transition:new o.bg(Xt,nn.u_projection_transition),u_projection_fallback_matrix:new o.bR(Xt,nn.u_projection_fallback_matrix)}))(s,dn),this.binderUniforms=_?_.getUniforms(s,dn):[]}draw(s,f,_,w,k,G,q,J,he,pe,Ee,Se,Ue,Xe,At,ct,ft,xt,Ct){const wt=s.gl;if(this.failedToCreate)return;if(s.program.set(this.program),s.setDepthMode(_),s.setStencilMode(w),s.setColorMode(k),s.setCullFace(G),J){s.activeTexture.set(wt.TEXTURE2),wt.bindTexture(wt.TEXTURE_2D,J.depthTexture),s.activeTexture.set(wt.TEXTURE3),wt.bindTexture(wt.TEXTURE_2D,J.texture);for(const Lt in this.terrainUniforms)this.terrainUniforms[Lt].set(J[Lt])}if(he)for(const Lt in he)this.projectionUniforms[Df[Lt]].set(he[Lt]);if(q)for(const Lt in this.fixedUniforms)this.fixedUniforms[Lt].set(q[Lt]);ct&&ct.setUniforms(s,this.binderUniforms,Xe,{zoom:At});let Pt=0;switch(f){case wt.LINES:Pt=2;break;case wt.TRIANGLES:Pt=3;break;case wt.LINE_STRIP:Pt=1}for(const Lt of Ue.get()){const Bt=Lt.vaos||(Lt.vaos={});(Bt[pe]||(Bt[pe]=new o0)).bind(s,this,Ee,ct?ct.getPaintVertexBuffers():[],Se,Lt.vertexOffset,ft,xt,Ct),wt.drawElements(f,Lt.primitiveLength*Pt,wt.UNSIGNED_SHORT,Lt.primitiveOffset*Pt*2)}}}function _d(I,s,f){const _=1/o.aC(f,1,s.transform.tileZoom),w=Math.pow(2,f.tileID.overscaledZ),k=f.tileSize*Math.pow(2,s.transform.tileZoom)/w,G=k*(f.tileID.canonical.x+f.tileID.wrap*w),q=k*f.tileID.canonical.y;return{u_image:0,u_texsize:f.imageAtlasTexture.size,u_scale:[_,I.fromScale,I.toScale],u_fade:I.t,u_pixel_coord_upper:[G>>16,q>>16],u_pixel_coord_lower:[65535&G,65535&q]}}const Fl=(I,s,f,_)=>{const w=I.style.light,k=w.properties.get("position"),G=[k.x,k.y,k.z],q=o.bV();w.properties.get("anchor")==="viewport"&&o.bW(q,I.transform.bearingInRadians),o.bX(G,G,q);const J=I.transform.transformLightDirection(G),he=w.properties.get("color");return{u_lightpos:G,u_lightpos_globe:J,u_lightintensity:w.properties.get("intensity"),u_lightcolor:[he.r,he.g,he.b],u_vertical_gradient:+s,u_opacity:f,u_fill_translate:_}},bd=(I,s,f,_,w,k,G)=>o.e(Fl(I,s,f,_),_d(k,I,G),{u_height_factor:-Math.pow(2,w.overscaledZ)/G.tileSize/8}),Nh=(I,s,f,_)=>o.e(_d(s,I,f),{u_fill_translate:_}),Yc=(I,s)=>({u_world:I,u_fill_translate:s}),jh=(I,s,f,_,w)=>o.e(Nh(I,s,f,w),{u_world:_}),Rf=(I,s,f,_,w)=>{const k=I.transform;let G,q,J=0;if(f.paint.get("circle-pitch-alignment")==="map"){const he=o.aC(s,1,k.zoom);G=!0,q=[he,he],J=he/(o.$*Math.pow(2,s.tileID.overscaledZ))*2*Math.PI*w}else G=!1,q=k.pixelsToGLUnits;return{u_camera_to_center_distance:k.cameraToCenterDistance,u_scale_with_map:+(f.paint.get("circle-pitch-scale")==="map"),u_pitch_with_map:+G,u_device_pixel_ratio:I.pixelRatio,u_extrude_scale:q,u_globe_extrude_scale:J,u_translate:_}},yh=I=>({u_pixel_extrude_scale:[1/I.width,1/I.height]}),vh=I=>({u_viewport_size:[I.width,I.height]}),Wh=(I,s=1)=>({u_color:I,u_overlay:0,u_overlay_scale:s}),Pf=(I,s,f,_)=>{const w=o.aC(I,1,s)/(o.$*Math.pow(2,I.tileID.overscaledZ))*2*Math.PI*_;return{u_extrude_scale:o.aC(I,1,s),u Line truncated
`);st(pe)||(Pt=function(Xt){return Xt.replace(/\bin\s/g,"varying ").replace("out highp vec4 fragColor;","").replace(/fragColor/g,"gl_FragColor").replace(/texture\(/g,"texture2D(")}(Pt),Lt=function(Xt){return Xt.replace(/\bin\s/g,"attribute ").replace(/\bout\s/g,"varying ").replace(/texture\(/g,"texture2D(")}(Lt));const Bt=pe.createShader(pe.FRAGMENT_SHADER);if(pe.isContextLost())return void(this.failedToCreate=!0);if(pe.shaderSource(Bt,Pt),pe.compileShader(Bt),!pe.getShaderParameter(Bt,pe.COMPILE_STATUS))throw new Error(`Could not compile fragment shader: ${pe.getShaderInfoLog(Bt)}`);pe.attachShader(this.program,Bt);const Yt=pe.createShader(pe.VERTEX_SHADER);if(pe.isContextLost())return void(this.failedToCreate=!0);if(pe.shaderSource(Yt,Lt),pe.compileShader(Yt),!pe.getShaderParameter(Yt,pe.COMPILE_STATUS))throw new Error(`Could not compile vertex shader: ${pe.getShaderInfoLog(Yt)}`);pe.attachShader(this.program,Yt),this.attributes={};const dn={};this.numAttributes=Ue.length;for(let Xt=0;Xt<this.numAttributes;Xt++)Ue[Xt]&&(pe.bindAttribLocation(this.program,Xt,Ue[Xt]),this.attributes[Ue[Xt]]=Xt);if(pe.linkProgram(this.program),!pe.getProgramParameter(this.program,pe.LINK_STATUS))throw new Error(`Program failed to link: ${pe.getProgramInfoLog(this.program)}`);pe.deleteShader(Yt),pe.deleteShader(Bt);for(let Xt=0;Xt<Ct.length;Xt++){const nn=Ct[Xt];if(nn&&!dn[nn]){const An=pe.getUniformLocation(this.program,nn);An&&(dn[nn]=An)}}this.fixedUniforms=w(s,dn),this.terrainUniforms=((Xt,nn)=>({u_depth:new o.bP(Xt,nn.u_depth),u_terrain:new o.bP(Xt,nn.u_terrain),u_terrain_dim:new o.bg(Xt,nn.u_terrain_dim),u_terrain_matrix:new o.bR(Xt,nn.u_terrain_matrix),u_terrain_unpack:new o.bS(Xt,nn.u_terrain_unpack),u_terrain_exaggeration:new o.bg(Xt,nn.u_terrain_exaggeration)}))(s,dn),this.projectionUniforms=((Xt,nn)=>({u_projection_matrix:new o.bR(Xt,nn.u_projection_matrix),u_projection_tile_mercator_coords:new o.bS(Xt,nn.u_projection_tile_mercator_coords),u_projection_clipping_plane:new o.bS(Xt,nn.u_projection_clipping_plane),u_projection_transition:new o.bg(Xt,nn.u_projection_transition),u_projection_fallback_matrix:new o.bR(Xt,nn.u_projection_fallback_matrix)}))(s,dn),this.binderUniforms=_?_.getUniforms(s,dn):[]}draw(s,f,_,w,k,N,q,J,he,pe,Ee,Se,Ue,Xe,At,ct,ft,xt,Ct){const wt=s.gl;if(this.failedToCreate)return;if(s.program.set(this.program),s.setDepthMode(_),s.setStencilMode(w),s.setColorMode(k),s.setCullFace(N),J){s.activeTexture.set(wt.TEXTURE2),wt.bindTexture(wt.TEXTURE_2D,J.depthTexture),s.activeTexture.set(wt.TEXTURE3),wt.bindTexture(wt.TEXTURE_2D,J.texture);for(const Lt in this.terrainUniforms)this.terrainUniforms[Lt].set(J[Lt])}if(he)for(const Lt in he)this.projectionUniforms[kf[Lt]].set(he[Lt]);if(q)for(const Lt in this.fixedUniforms)this.fixedUniforms[Lt].set(q[Lt]);ct&&ct.setUniforms(s,this.binderUniforms,Xe,{zoom:At});let Pt=0;switch(f){case wt.LINES:Pt=2;break;case wt.TRIANGLES:Pt=3;break;case wt.LINE_STRIP:Pt=1}for(const Lt of Ue.get()){const Bt=Lt.vaos||(Lt.vaos={});(Bt[pe]||(Bt[pe]=new o0)).bind(s,this,Ee,ct?ct.getPaintVertexBuffers():[],Se,Lt.vertexOffset,ft,xt,Ct),wt.drawElements(f,Lt.primitiveLength*Pt,wt.UNSIGNED_SHORT,Lt.primitiveOffset*Pt*2)}}}function _d(I,s,f){const _=1/o.aC(f,1,s.transform.tileZoom),w=Math.pow(2,f.tileID.overscaledZ),k=f.tileSize*Math.pow(2,s.transform.tileZoom)/w,N=k*(f.tileID.canonical.x+f.tileID.wrap*w),q=k*f.tileID.canonical.y;return{u_image:0,u_texsize:f.imageAtlasTexture.size,u_scale:[_,I.fromScale,I.toScale],u_fade:I.t,u_pixel_coord_upper:[N>>16,q>>16],u_pixel_coord_lower:[65535&N,65535&q]}}const Fl=(I,s,f,_)=>{const w=I.style.light,k=w.properties.get("position"),N=[k.x,k.y,k.z],q=o.bV();w.properties.get("anchor")==="viewport"&&o.bW(q,I.transform.bearingInRadians),o.bX(N,N,q);const J=I.transform.transformLightDirection(N),he=w.properties.get("color");return{u_lightpos:N,u_lightpos_globe:J,u_lightintensity:w.properties.get("intensity"),u_lightcolor:[he.r,he.g,he.b],u_vertical_gradient:+s,u_opacity:f,u_fill_translate:_}},bd=(I,s,f,_,w,k,N)=>o.e(Fl(I,s,f,_),_d(k,I,N),{u_height_factor:-Math.pow(2,w.overscaledZ)/N.tileSize/8}),Gh=(I,s,f,_)=>o.e(_d(s,I,f),{u_fill_translate:_}),Yc=(I,s)=>({u_world:I,u_fill_translate:s}),jh=(I,s,f,_,w)=>o.e(Gh(I,s,f,w),{u_world:_}),Df=(I,s,f,_,w)=>{const k=I.transform;let N,q,J=0;if(f.paint.get("circle-pitch-alignment")==="map"){const he=o.aC(s,1,k.zoom);N=!0,q=[he,he],J=he/(o.$*Math.pow(2,s.tileID.overscaledZ))*2*Math.PI*w}else N=!1,q=k.pixelsToGLUnits;return{u_camera_to_center_distance:k.cameraToCenterDistance,u_scale_with_map:+(f.paint.get("circle-pitch-scale")==="map"),u_pitch_with_map:+N,u_device_pixel_ratio:I.pixelRatio,u_extrude_scale:q,u_globe_extrude_scale:J,u_translate:_}},yh=I=>({u_pixel_extrude_scale:[1/I.width,1/I.height]}),vh=I=>({u_viewport_size:[I.width,I.height]}),Wh=(I,s=1)=>({u_color:I,u_overlay:0,u_overlay_scale:s}),Rf=(I,s,f,_)=>{const w=o.aC(I,1,s)/(o.$*Math.pow(2,I.tileID.overscaledZ))*2*Math.PI*_;return{u_extrude_scale:o.aC(I,1,s),u Line truncated
uniform mat4 u_projection_matrix;
${Ue.shaderPreludeCode.vertexSource}`,define:Ue.shaderDefine},defaultProjectionData:At},ft=Se.renderingMode?Se.renderingMode:"2d";if(G.renderPass==="offscreen"){const xt=Se.prerender;xt&&(G.setCustomLayerDefaults(),Ee.setColorMode(G.colorModeForRenderPass()),xt.call(Se,Ee.gl,ct),Ee.setDirty(),G.setBaseState())}else if(G.renderPass==="translucent"){G.setCustomLayerDefaults(),Ee.setColorMode(G.colorModeForRenderPass()),Ee.setStencilMode(te.disabled);const xt=ft==="3d"?G.getDepthModeFor3D():G.getDepthModeForSublayer(0,Mi.ReadOnly);Ee.setDepthMode(xt),Se.render(Ee.gl,ct),Ee.setDirty(),G.setBaseState(),Ee.bindFramebuffer.set(null)}}(s,0,_,k))}saveTileTexture(s){const f=this._tileTextures[s.size[0]];f?f.push(s):this._tileTextures[s.size[0]]=[s]}getTileTexture(s){const f=this._tileTextures[s];return f&&f.length>0?f.pop():null}isPatternMissing(s){if(!s)return!1;if(!s.from||!s.to)return!0;const f=this.imageManager.getPattern(s.from.toString()),_=this.imageManager.getPattern(s.to.toString());return!f||!_}useProgram(s,f,_=!1,w=[]){this.cache=this.cache||{};const k=!!this.style.map.terrain,G=this.style.projection,q=_?ko.projectionMercator:G.shaderPreludeCode,J=_?Ul:G.shaderDefine,he=s+(f?f.cacheKey:"")+`/${_?bA:G.shaderVariantName}`+(this._showOverdrawInspector?"/overdraw":"")+(k?"/terrain":"")+(w?`/${w.join("/")}`:"");return this.cache[he]||(this.cache[he]=new Xa(this.context,ko[s],f,xA[s],this._showOverdrawInspector,k,q,J,w)),this.cache[he]}setCustomLayerDefaults(){this.context.unbindVAO(),this.context.cullFace.setDefault(),this.context.activeTexture.setDefault(),this.context.pixelStoreUnpack.setDefault(),this.context.pixelStoreUnpackPremultiplyAlpha.setDefault(),this.context.pixelStoreUnpackFlipY.setDefault()}setBaseState(){const s=this.context.gl;this.context.cullFace.set(!1),this.context.viewport.set([0,0,this.width,this.height]),this.context.blendEquation.set(s.FUNC_ADD)}initDebugOverlayCanvas(){this.debugOverlayCanvas==null&&(this.debugOverlayCanvas=document.createElement("canvas"),this.debugOverlayCanvas.width=512,this.debugOverlayCanvas.height=512,this.debugOverlayTexture=new o.T(this.context,this.debugOverlayCanvas,this.context.gl.RGBA))}destroy(){this.debugOverlayTexture&&this.debugOverlayTexture.destroy()}overLimit(){const{drawingBufferWidth:s,drawingBufferHeight:f}=this.context.gl;return this.width!==s||this.height!==f}}function eu(I,s){let f,_=!1,w=null,k=null;const G=()=>{w=null,_&&(I.apply(k,f),w=setTimeout(G,s),_=!1)};return(...q)=>(_=!0,k=this,f=q,w||G(),w)}class rt{constructor(s){this._getCurrentHash=()=>{const f=window.location.hash.replace("#","");if(this._hashName){let _;return f.split("&").map(w=>w.split("=")).forEach(w=>{w[0]===this._hashName&&(_=w)}),(_&&_[1]||"").split("/")}return f.split("/")},this._onHashChange=()=>{const f=this._getCurrentHash();if(!this._isValidHash(f))return!1;const _=this._map.dragRotate.isEnabled()&&this._map.touchZoomRotate.isEnabled()?+(f[3]||0):this._map.getBearing();return this._map.jumpTo({center:[+f[2],+f[1]],zoom:+f[0],bearing:_,pitch:+(f[4]||0)}),!0},this._updateHashUnthrottled=()=>{const f=window.location.href.replace(/(#.*)?$/,this.getHashString());window.history.replaceState(window.history.state,null,f)},this._removeHash=()=>{const f=this._getCurrentHash();if(f.length===0)return;const _=f.join("/");let w=_;w.split("&").length>0&&(w=w.split("&")[0]),this._hashName&&(w=`${this._hashName}=${_}`);let k=window.location.hash.replace(w,"");k.startsWith("#&")?k=k.slice(0,1)+k.slice(2):k==="#"&&(k="");let G=window.location.href.replace(/(#.+)?$/,k);G=G.replace("&&","&"),window.history.replaceState(window.history.state,null,G)},this._updateHash=eu(this._updateHashUnthrottled,300),this._hashName=s&&encodeURIComponent(s)}addTo(s){return this._map=s,addEventListener("hashchange",this._onHashChange,!1),this._map.on("moveend",this._updateHash),this}remove(){return removeEventListener("hashchange",this._onHashChange,!1),this._map.off("moveend",this._updateHash),clearTimeout(this._updateHash()),this._removeHash(),delete this._map,this}getHashString(s){const f=this._map.getCenter(),_=Math.round(100*this._map.getZoom())/100,w=Math.ceil((_*Math.LN2+Math.log(512/360/.5))/Math.LN10),k=Math.pow(10,w),G=Math.round(f.lng*k)/k,q=Math.round(f.lat*k)/k,J=this._map.getBearing(),he=this._map.getPitch();let pe="";if(pe+=s?`/${G}/${q}/${_}`:`${_}/${q}/${G}`,(J||he)&&(pe+="/"+Math.round(10*J)/10),he&&(pe+=`/${Math.round(he)}`),this._hashName){const Ee=this._hashName;let Se=!1;const Ue=window.location.hash.slice(1).split("&").map(Xe=>{const At=Xe.split("=")[0];return At===Ee?(Se=!0,`${At}=${pe}`):Xe}).filter(Xe=>Xe);return Se||Ue.push(`${Ee}=${pe}`),`#${Ue.join("&")}`}return`#${pe}`}_isValidHash(s){if(s.length<3||s.some(isNaN))return!1;try{new o.S(+s[2],+s[1])}catch{return!1}const f=+s[0],_=+(s[3]||0),w=+(s[4]||0);return f>=this._map.getMinZoom()&&f<=this._map.getMaxZoom()&&_>=-180&&_<=180&&w>=this._map.getMinPitch()&&w<=this._map.getMaxPitch()}}const Vs={linearity:.3,easing:o.cm(0,0,.3,1)}, Line truncated
${Ue.shaderPreludeCode.vertexSource}`,define:Ue.shaderDefine},defaultProjectionData:At},ft=Se.renderingMode?Se.renderingMode:"2d";if(N.renderPass==="offscreen"){const xt=Se.prerender;xt&&(N.setCustomLayerDefaults(),Ee.setColorMode(N.colorModeForRenderPass()),xt.call(Se,Ee.gl,ct),Ee.setDirty(),N.setBaseState())}else if(N.renderPass==="translucent"){N.setCustomLayerDefaults(),Ee.setColorMode(N.colorModeForRenderPass()),Ee.setStencilMode(te.disabled);const xt=ft==="3d"?N.getDepthModeFor3D():N.getDepthModeForSublayer(0,Mi.ReadOnly);Ee.setDepthMode(xt),Se.render(Ee.gl,ct),Ee.setDirty(),N.setBaseState(),Ee.bindFramebuffer.set(null)}}(s,0,_,k))}saveTileTexture(s){const f=this._tileTextures[s.size[0]];f?f.push(s):this._tileTextures[s.size[0]]=[s]}getTileTexture(s){const f=this._tileTextures[s];return f&&f.length>0?f.pop():null}isPatternMissing(s){if(!s)return!1;if(!s.from||!s.to)return!0;const f=this.imageManager.getPattern(s.from.toString()),_=this.imageManager.getPattern(s.to.toString());return!f||!_}useProgram(s,f,_=!1,w=[]){this.cache=this.cache||{};const k=!!this.style.map.terrain,N=this.style.projection,q=_?ko.projectionMercator:N.shaderPreludeCode,J=_?Ul:N.shaderDefine,he=s+(f?f.cacheKey:"")+`/${_?bA:N.shaderVariantName}`+(this._showOverdrawInspector?"/overdraw":"")+(k?"/terrain":"")+(w?`/${w.join("/")}`:"");return this.cache[he]||(this.cache[he]=new Xa(this.context,ko[s],f,xA[s],this._showOverdrawInspector,k,q,J,w)),this.cache[he]}setCustomLayerDefaults(){this.context.unbindVAO(),this.context.cullFace.setDefault(),this.context.activeTexture.setDefault(),this.context.pixelStoreUnpack.setDefault(),this.context.pixelStoreUnpackPremultiplyAlpha.setDefault(),this.context.pixelStoreUnpackFlipY.setDefault()}setBaseState(){const s=this.context.gl;this.context.cullFace.set(!1),this.context.viewport.set([0,0,this.width,this.height]),this.context.blendEquation.set(s.FUNC_ADD)}initDebugOverlayCanvas(){this.debugOverlayCanvas==null&&(this.debugOverlayCanvas=document.createElement("canvas"),this.debugOverlayCanvas.width=512,this.debugOverlayCanvas.height=512,this.debugOverlayTexture=new o.T(this.context,this.debugOverlayCanvas,this.context.gl.RGBA))}destroy(){this.debugOverlayTexture&&this.debugOverlayTexture.destroy()}overLimit(){const{drawingBufferWidth:s,drawingBufferHeight:f}=this.context.gl;return this.width!==s||this.height!==f}}function eu(I,s){let f,_=!1,w=null,k=null;const N=()=>{w=null,_&&(I.apply(k,f),w=setTimeout(N,s),_=!1)};return(...q)=>(_=!0,k=this,f=q,w||N(),w)}class rt{constructor(s){this._getCurrentHash=()=>{const f=window.location.hash.replace("#","");if(this._hashName){let _;return f.split("&").map(w=>w.split("=")).forEach(w=>{w[0]===this._hashName&&(_=w)}),(_&&_[1]||"").split("/")}return f.split("/")},this._onHashChange=()=>{const f=this._getCurrentHash();if(!this._isValidHash(f))return!1;const _=this._map.dragRotate.isEnabled()&&this._map.touchZoomRotate.isEnabled()?+(f[3]||0):this._map.getBearing();return this._map.jumpTo({center:[+f[2],+f[1]],zoom:+f[0],bearing:_,pitch:+(f[4]||0)}),!0},this._updateHashUnthrottled=()=>{const f=window.location.href.replace(/(#.*)?$/,this.getHashString());window.history.replaceState(window.history.state,null,f)},this._removeHash=()=>{const f=this._getCurrentHash();if(f.length===0)return;const _=f.join("/");let w=_;w.split("&").length>0&&(w=w.split("&")[0]),this._hashName&&(w=`${this._hashName}=${_}`);let k=window.location.hash.replace(w,"");k.startsWith("#&")?k=k.slice(0,1)+k.slice(2):k==="#"&&(k="");let N=window.location.href.replace(/(#.+)?$/,k);N=N.replace("&&","&"),window.history.replaceState(window.history.state,null,N)},this._updateHash=eu(this._updateHashUnthrottled,300),this._hashName=s&&encodeURIComponent(s)}addTo(s){return this._map=s,addEventListener("hashchange",this._onHashChange,!1),this._map.on("moveend",this._updateHash),this}remove(){return removeEventListener("hashchange",this._onHashChange,!1),this._map.off("moveend",this._updateHash),clearTimeout(this._updateHash()),this._removeHash(),delete this._map,this}getHashString(s){const f=this._map.getCenter(),_=Math.round(100*this._map.getZoom())/100,w=Math.ceil((_*Math.LN2+Math.log(512/360/.5))/Math.LN10),k=Math.pow(10,w),N=Math.round(f.lng*k)/k,q=Math.round(f.lat*k)/k,J=this._map.getBearing(),he=this._map.getPitch();let pe="";if(pe+=s?`/${N}/${q}/${_}`:`${_}/${q}/${N}`,(J||he)&&(pe+="/"+Math.round(10*J)/10),he&&(pe+=`/${Math.round(he)}`),this._hashName){const Ee=this._hashName;let Se=!1;const Ue=window.location.hash.slice(1).split("&").map(Xe=>{const At=Xe.split("=")[0];return At===Ee?(Se=!0,`${At}=${pe}`):Xe}).filter(Xe=>Xe);return Se||Ue.push(`${Ee}=${pe}`),`#${Ue.join("&")}`}return`#${pe}`}_isValidHash(s){if(s.length<3||s.some(isNaN))return!1;try{new o.S(+s[2],+s[1])}catch{return!1}const f=+s[0],_=+(s[3]||0),w=+(s[4]||0);return f>=this._map.getMinZoom()&&f<=this._map.getMaxZoom()&&_>=-180&&_<=180&&w>=this._map.getMinPitch()&&w<=this._map.getMaxPitch()}}const Vs={linearity:.3,easing:o.cm(0,0,.3,1)}, Line truncated
${e} <span></span>
`,hs().s[12]++,this._textEl=this._container.querySelector("span"),hs().s[13]++,this.updateZoomLevel()}addEventListeners(){hs().f[4]++,hs().s[14]++,this._map.on("render",()=>(hs().f[5]++,hs().s[15]++,this.updateZoomLevel())),hs().s[16]++,this._map.on("zoomIn",()=>(hs().f[6]++,hs().s[17]++,this.updateZoomLevel())),hs().s[18]++,this._map.on("zoomOut",()=>(hs().f[7]++,hs().s[19]++,this.updateZoomLevel()))}onRemove(){hs().f[8]++,hs().s[20]++,this._container.parentNode.removeChild(this._container),hs().s[21]++,this._map=void 0}}function L6(n,e,t){const i={id:[e,t,"circle"].join("_"),source:e,type:"circle",paint:{"circle-color":n,"circle-radius":2},filter:["==","$type","Point"]};return t&&(i["source-layer"]=t),i}function F6(n,e,t,i){const r={id:[t,i,"polygon"].join("_"),source:t,type:"fill",paint:{"fill-color":n,"fill-antialias":!0,"fill-outline-color":n},filter:["==","$type","Polygon"]};return i&&(r["source-layer"]=i),r}function z6(n,e,t){const i={id:[e,t,"line"].join("_"),source:e,layout:{"line-join":"round","line-cap":"round"},type:"line",paint:{"line-color":n},filter:["==","$type","LineString"]};return t&&(i["source-layer"]=t),i}function j$(n,e){const t=[],i=[],r=[];function a(l){return{circle:e(l,.8),line:e(l,.6),polygon:e(l,.3),polygonOutline:e(l,.6),default:e(l,1)}}return Object.keys(n).forEach(l=>{const o=n[l];if(!o||o.length===0){const m=a(l);i.push(L6(m.circle,l)),r.push(z6(m.line,l)),t.push(F6(m.polygon,m.polygonOutline,l))}else o.forEach(m=>{const C=a(m);i.push(L6(C.circle,l,m)),r.push(z6(C.line,l,m)),t.push(F6(C.polygon,C.polygonOutline,l,m))})}),t.concat(r).concat(i)}function W$(n,e,t){t=Object.assign({backgroundColor:"#fff"},t);const i={id:"background",type:"background",paint:{"background-color":t.backgroundColor}},r={};return Object.keys(n.sources).forEach(a=>{const l=n.sources[a];(l.type==="vector"||l.type==="geojson")&&(r[a]=l)}),Object.assign(n,{layers:[i].concat(e),sources:r})}const R4={polygonLayer:F6,lineLayer:z6,circleLayer:L6,generateInspectStyle:W$,generateColoredLayers:j$};function vo(){var n="/home/runner/work/maputnik/maputnik/src/libs/highlight.ts",e="aec0f701e803624fae461cc89b5fc887ff556587",t=globalThis,i="__coverage__",r={path:"/home/runner/work/maputnik/maputnik/src/libs/highlight.ts",statementMap:{0:{start:{line:4,column:2},end:{line:8,column:3}},1:{start:{line:5,column:4},end:{line:5,column:33}},2:{start:{line:6,column:9},end:{line:8,column:3}},3:{start:{line:7,column:4},end:{line:7,column:30}},4:{start:{line:9,column:2},end:{line:13,column:3}},5:{start:{line:10,column:4},end:{line:10,column:28}},6:{start:{line:12,column:4},end:{line:12,column:23}},7:{start:{line:14,column:2},end:{line:14,column:29}},8:{start:{line:15,column:2},end:{line:15,column:11}},9:{start:{line:18,column:2},end:{line:18,column:84}},10:{start:{line:18,column:72},end:{line:18,column:84}},11:{start:{line:19,column:24},end:{line:19,column:51}},12:{start:{line:20,column:16},end:{line:20,column:52}},13:{start:{line:21,column:2},end:{line:23,column:3}},14:{start:{line:22,column:4},end:{line:22,column:104}},15:{start:{line:24,column:2},end:{line:26,column:3}},16:{start:{line:25,column:4},end:{line:25,column:96}},17:{start:{line:27,column:2},end:{line:29,column:3}},18:{start:{line:28,column:4},end:{line:28,column:94}},19:{start:{line:30,column:2},end:{line:30,column:14}}},fnMap:{0:{name:"changeLayer",decl:{start:{line:3,column:9},end:{line:3,column:20}},loc:{start:{line:3,column:31},end:{line:16,column:1}},line:3},1:{name:"colorHighlightedLayer",decl:{start:{line:17,column:16},end:{line:17,column:37}},loc:{start:{line:17,column:45},end:{line:31,column:1}},line:17}},branchMap:{0:{loc:{start:{line:4,column:2},end:{line:8,column:3}},type:"if",locations:[{start:{line:4,column:2},end:{line:8,column:3}},{start:{line:6,column:9},end:{line:8,column:3}}],line:4},1:{loc:{start:{line:6,column:9},end:{line:8,column:3}},type:"if",locations:[{start:{line:6,column:9},end:{line:8,column:3}},{start:{line:void 0,column:void 0},end:{line:void 0,column:void 0}}],line:6},2:{loc:{start:{line:9,column:2},end:{line:13,column:3}},type:"if",locations:[{start:{line:9,column:2},end:{line:13,column:3}},{start:{line:11,column:9},end:{line:13,column:3}}],line:9},3:{loc:{start:{line:18,column:2},end:{line:18,column:84}},type:"if",locations:[{start:{line:18,column:2},end:{line:18,column:84}},{start:{line:void 0,column:void 0},end:{line:void 0,column:void 0}}],line:18},4:{loc:{start:{line:18,column:6},end:{line:18,column:70}},type:"binary-expr",locations:[{start:{line:18,column:6},end:{line:18,column:12}},{start:{line:18,column:16},end:{line:18,column:43}},{start:{line:18,column:47},end:{line:18,column:70}}],line:18},5:{loc:{start:{line:19,column:24},end:{line:19,column:51}},type:"binary-expr",locations:[{start:{line:19,column:24},end:{line:19,column:45}},{start:{line:19,column:49},end:{line:19,column:51}}],line:19},6:{loc:{start:{line:21,column:2},end:{line:23,column:3}},type:"if",locations:[{start:{line:21,column:2},end:{line:23,column:3}},{s Line truncated
${this._localize("errorNoResults")}</div>`;this._renderMessage(e)}_renderMessage(e){this._typeahead.update([]),this._typeahead.selected=null,this._typeahead.clear(),this._typeahead.renderError(e)}_localize(e){const t=tZ.language(this.options.language.split(",")[0]);return this.options.language&&mC?.[e][t]?mC[e][t]:mC[e].en}_fitBoundsForMarkers(){if(this._typeahead.data.length<1)return;const e=this._typeahead.data.filter(t=>typeof t!="string").slice(0,this.options.limit);if(this._clearEl.style.display="none",this.options.flyTo&&this._maplibregl&&this._map){const i=Qm({},{padding:100},this.options.flyTo),r=new this._maplibregl.LngLatBounds;for(const a of e)r.extend(a.geometry.coordinates);this._map.fitBounds(r,i)}return e.length>0&&this._maplibregl&&this._handleResultMarkers(e),this}setInput(e){return this._inputEl.value=e,this._typeahead.selected=null,this._typeahead.clear(),e.length>=this.options.minLength&&this.options.showResultsWhileTyping&&this._geocode(e),this}setProximity(e){return this.options.proximity=e,this}getProximity(){return this.options.proximity}setRenderFunction(e){return e&&typeof e=="function"&&(this._typeahead.render=e),this}getRenderFunction(){return this._typeahead.render}setLanguage(e){return this.options.language=e||this.options.language||navigator.language,this}getLanguage(){return this.options.language}getZoom(){return this.options.zoom}setZoom(e){return this.options.zoom=e,this}getFlyTo(){return this.options.flyTo}setFlyTo(e){return this.options.flyTo=e,this}getPlaceholder(){return this.options.placeholder}setPlaceholder(e){return this.placeholder=e||this.options.placeholder||this._localize("placeholder"),this._inputEl.placeholder=this.placeholder,this._inputEl.setAttribute("aria-label",this.placeholder),this}getBbox(){return this.options.bbox}setBbox(e){return this.options.bbox=e,this}getCountries(){return this.options.countries}setCountries(e){return this.options.countries=e,this}getTypes(){return this.options.types}setTypes(e){return this.options.types=e,this}getMinLength(){return this.options.minLength}setMinLength(e){return this.options.minLength=e,this._typeahead&&(this._typeahead.options.minLength=e),this}getLimit(){return this.options.limit}setLimit(e){return this.options.limit=e,this._typeahead&&(this._typeahead.options.limit=e),this}getFilter(){return this.options.filter}setFilter(e){return this.options.filter=e,this}setGeocoderApi(e){return this.geocoderApi=e,this}getGeocoderApi(){return this.geocoderApi}_handleMarker(e){if(!this._map)return;this._removeMarker();const i=Qm({},{color:"#4668F2"},this.options.marker);this.mapMarker=new this._maplibregl.Marker(i);let r;if(this.options.popup){const l=Qm({},{},this.options.popup);r=new this._maplibregl.Popup(l).setHTML(this.options.popupRender(e))}return e.center?(this.mapMarker.setLngLat(e.center).addTo(this._map),this.options.popup&&this.mapMarker.setPopup(r)):e.geometry&&e.geometry.type&&e.geometry.type==="Point"&&e.geometry.coordinates&&(this.mapMarker.setLngLat(e.geometry.coordinates).addTo(this._map),this.options.popup&&this.mapMarker.setPopup(r)),this}_removeMarker(){this.mapMarker&&(this.mapMarker.remove(),this.mapMarker=null)}_handleResultMarkers(e){if(!this._map)return;this._removeResultMarkers();let i=Qm({},{color:"#4668F2"},this.options.showResultMarkers);for(const r of e){let a;if(this.options.showResultMarkers){this.options.showResultMarkers&&this.options.showResultMarkers.element&&(a=this.options.showResultMarkers.element.cloneNode(!0),i=Qm(i,{element:a}));const l=new this._maplibregl.Marker(Qm({},i,{element:a}));let o;if(this.options.popup){const C=Qm({},{},this.options.popup);o=new this._maplibregl.Popup(C).setHTML(this.options.popupRender(r))}r.center?(l.setLngLat(r.center).addTo(this._map),this.options.popup&&l.setPopup(o)):r.geometry&&r.geometry.type&&r.geometry.type==="Point"&&r.geometry.coordinates&&(l.setLngLat(r.geometry.coordinates).addTo(this._map),this.options.popup&&l.setPopup(o)),this.resultMarkers.push(l)}}return this}_removeResultMarkers(){this.resultMarkers&&this.resultMarkers.length>0&&(this.resultMarkers.forEach(function(e){e.remove()}),this.resultMarkers=[])}on(e,t){return this._eventEmitter.on(e,t),this}once(e){return new Promise(t=>{this._eventEmitter.once(e,t)})}off(e,t){return this._eventEmitter.removeListener(e,t),this}}function bn(){var n="/home/runner/work/maputnik/maputnik/src/components/MapMaplibreGl.tsx",e="b7252e96c40c42724dcbe987ba80059cbc742d67",t=globalThis,i="__coverage__",r={path:"/home/runner/work/maputnik/maputnik/src/components/MapMaplibreGl.tsx",statementMap:{0:{start:{line:21,column:15},end:{line:21,column:36}},1:{start:{line:22,column:2},end:{line:22,column:44}},2:{start:{line:22,column:28},end:{line:22,column:42}},3:{start:{line:23,column:2},end:{line:23,column:28}},4:{start:{line:24,column:2},end:{line:24,column:19}},5:{start:{line:27,column:26},end:{line:33,column:3}},6:{start:{line:34,column:16},end:{line:34,column:55}},7:{start:{line:35,column:2},end:{lineLine truncated
`).reduce((r,a)=>Math.max(r,dz(n,a)),0);return t[e]=i,i}function xee(n,e){const t=[],i=[],r=[];let a=0,l=0,o=0,m=0;for(let C=0,S=e.length;C<=S;C+=2){const O=e[C];if(O===`
`||C===S){a=Math.max(a,l),r.push(l),l=0,o+=m,m=0;continue}const U=e[C+1]||n.font,K=dz(U,O);t.push(K),l+=K;const z=bee(U);i.push(z),m=Math.max(m,z)}return{width:a,height:o,widths:t,heights:i,lineWidths:r}}function Mee(n,e,t,i,r,a,l,o,m,C,S){n.save(),t!==1&&(n.globalAlpha===void 0?n.globalAlpha=O=>O.globalAlpha*=t:n.globalAlpha*=t),e&&n.transform.apply(n,e),i.contextInstructions?(n.translate(m,C),n.scale(S[0],S[1]),See(i,n)):S[0]<0||S[1]<0?(n.translate(m,C),n.scale(S[0],S[1]),n.drawImage(i,r,a,l,o,0,0,l,o)):n.drawImage(i,r,a,l,o,m,C,l*S[0],o*S[1]),n.restore()}function See(n,e){const t=n.contextInstructions;for(let i=0,r=t.length;i<r;i+=2)Array.isArray(t[i+1])?e[t[i]].apply(e,t[i+1]):e[t[i]]=t[i+1]}class _2{constructor(e){this.opacity_=e.opacity,this.rotateWithView_=e.rotateWithView,this.rotation_=e.rotation,this.scale_=e.scale,this.scaleArray_=zh(e.scale),this.displacement_=e.displacement,this.declutterMode_=e.declutterMode}clone(){const e=this.getScale();return new _2({opacity:this.getOpacity(),scale:Array.isArray(e)?e.slice():e,rotation:this.getRotation(),rotateWithView:this.getRotateWithView(),displacement:this.getDisplacement().slice(),declutterMode:this.getDeclutterMode()})}getOpacity(){return this.opacity_}getRotateWithView(){return this.rotateWithView_}getRotation(){return this.rotation_}getScale(){return this.scale_}getScaleArray(){return this.scaleArray_}getDisplacement(){return this.displacement_}getDeclutterMode(){return this.declutterMode_}getAnchor(){return Co()}getImage(e){return Co()}getHitDetectionImage(){return Co()}getPixelRatio(e){return 1}getImageState(){return Co()}getImageSize(){return Co()}getOrigin(){return Co()}getSize(){return Co()}setDisplacement(e){this.displacement_=e}setOpacity(e){this.opacity_=e}setRotateWithView(e){this.rotateWithView_=e}setRotation(e){this.rotation_=e}setScale(e){this.scale_=e,this.scaleArray_=zh(e)}listenImageChange(e){Co()}load(){Co()}unlistenImageChange(e){Co()}ready(){return Promise.resolve()}}class b2 extends _2{constructor(e){super({opacity:1,rotateWithView:e.rotateWithView!==void 0?e.rotateWithView:!1,rotation:e.rotation!==void 0?e.rotation:0,scale:e.scale!==void 0?e.scale:1,displacement:e.displacement!==void 0?e.displacement:[0,0],declutterMode:e.declutterMode}),this.hitDetectionCanvas_=null,this.fill_=e.fill!==void 0?e.fill:null,this.origin_=[0,0],this.points_=e.points,this.radius=e.radius,this.radius2_=e.radius2,this.angle_=e.angle!==void 0?e.angle:0,this.stroke_=e.stroke!==void 0?e.stroke:null,this.size_,this.renderOptions_,this.imageState_=this.fill_&&this.fill_.loading()?hr.LOADING:hr.LOADED,this.imageState_===hr.LOADING&&this.ready().then(()=>this.imageState_=hr.LOADED),this.render()}clone(){const e=this.getScale(),t=new b2({fill:this.getFill()?this.getFill().clone():void 0,points:this.getPoints(),radius:this.getRadius(),radius2:this.getRadius2(),angle:this.getAngle(),stroke:this.getStroke()?this.getStroke().clone():void 0,rotation:this.getRotation(),rotateWithView:this.getRotateWithView(),scale:Array.isArray(e)?e.slice():e,displacement:this.getDisplacement().slice(),declutterMode:this.getDeclutterMode()});return t.setOpacity(this.getOpacity()),t}getAnchor(){const e=this.size_,t=this.getDisplacement(),i=this.getScaleArray();return[e[0]/2-t[0]/i[0],e[1]/2+t[1]/i[1]]}getAngle(){return this.angle_}getFill(){return this.fill_}setFill(e){this.fill_=e,this.render()}getHitDetectionImage(){return this.hitDetectionCanvas_||(this.hitDetectionCanvas_=this.createHitDetectionCanvas_(this.renderOptions_)),this.hitDetectionCanvas_}getImage(e){const t=this.fill_?.getKey(),i=`${e},${this.angle_},${this.radius},${this.radius2_},${this.points_},${t}`+Object.values(this.renderOptions_).join(",");let r=vm.get(i,null,null)?.getImage(1);if(!r){const a=this.renderOptions_,l=Math.ceil(a.size*e),o=jA(l,l);this.draw_(a,o,e),r=o.canvas,vm.set(i,null,null,new uz(r,void 0,null,hr.LOADED,null))}return r}getPixelRatio(e){return e}getImageSize(){return this.size_}getImageState(){return this.imageState_}getOrigin(){return this.origin_}getPoints(){return this.points_}getRadius(){return this.radius}getRadius2(){return this.radius2_}getSize(){return this.size_}getStroke(){return this.stroke_}setStroke(e){this.stroke_=e,this.render()}listenImageChange(e){}load(){}unlistenImageChange(e){}calculateLineJoinSize_(e,t,i){if(t===0||this.points_===1/0||e!=="bevel"&&e!=="miter")return t;let r=this.radius,a=this.radius2_===void 0?r:this.radius2_;if(r<a){const oe=r;r=a,a=oe}const l=this.radius2_===void 0?this.points_:this.points_*2,o=2*Math.PI/l,m=a*Math.sin(o),C=Math.sqrt(a*a-m*m),S=r-C,O=Math.sqrt(m*m+S*S),U=O/m;if(e==="miter"&&U<=i)return U*t;const K=t/2/U,z=t/2*(S/O),Q=Math.sqrt((r+K)*(r+K)+z*z)-r;if(this.radius2_===void 0||e==="bevel")return Q*2;const ee=r*Math.sin(o),V=Math.sqrt(r*r-ee*ee),ae=a-V,Z=Math.sqrt(ee*ee+ae*ae)/ee;if(Z<=i){const oe=Z*t/2-a-r;return 2*Math.max(Q,oe)}return Q*2}createRenderOptions(){let e=Rv,t=Pv,i=0,r=null,a=0,l,o=0;this.stroke_&&(l=Yp(this.stroke_.getColor()?? Line truncated
`,""),n.push(e,""),n}function yte(n,e,t){return t%2===0&&(n+=e),n}class vte{constructor(e,t,i,r,a){this.overlaps=i,this.pixelRatio=t,this.resolution=e,this.alignAndScaleFill_,this.instructions=r.instructions,this.coordinates=r.coordinates,this.coordinateCache_={},this.renderedTransform_=qd(),this.hitDetectionInstructions=r.hitDetectionInstructions,this.pixelCoordinates_=null,this.viewRotation_=0,this.fillStates=r.fillStates||{},this.strokeStates=r.strokeStates||{},this.textStates=r.textStates||{},this.widths_={},this.labels_={},this.zIndexContext_=a?new XO:null}getZIndexContext(){return this.zIndexContext_}createLabel(e,t,i,r){const a=e+t+i+r;if(this.labels_[a])return this.labels_[a];const l=r?this.strokeStates[r]:null,o=i?this.fillStates[i]:null,m=this.textStates[t],C=this.pixelRatio,S=[m.scale[0]*C,m.scale[1]*C],O=m.justify?p3[m.justify]:uM(Array.isArray(e)?e[0]:e,m.textAlign||P_),U=r&&l.lineWidth?l.lineWidth:0,K=Array.isArray(e)?e:String(e).split(`
`).reduce(gte,[]),{width:z,height:j,widths:Q,heights:ee,lineWidths:V}=xee(m,K),ae=z+U,ne=[],Z=(ae+2)*S[0],oe=(j+U)*S[1],W={width:Z<0?Math.floor(Z):Math.ceil(Z),height:oe<0?Math.floor(oe):Math.ceil(oe),contextInstructions:ne};(S[0]!=1||S[1]!=1)&&ne.push("scale",S),r&&(ne.push("strokeStyle",l.strokeStyle),ne.push("lineWidth",U),ne.push("lineCap",l.lineCap),ne.push("lineJoin",l.lineJoin),ne.push("miterLimit",l.miterLimit),ne.push("setLineDash",[l.lineDash]),ne.push("lineDashOffset",l.lineDashOffset)),i&&ne.push("fillStyle",o.fillStyle),ne.push("textBaseline","middle"),ne.push("textAlign","center");const ce=.5-O;let ge=O*ae+ce*U;const ye=[],Me=[];let Be=0,we=0,qe=0,xe=0,ze;for(let ot=0,yt=K.length;ot<yt;ot+=2){const nt=K[ot];if(nt===`
`){we+=Be,Be=0,ge=O*ae+ce*U,++xe;continue}const be=K[ot+1]||m.font;be!==ze&&(r&&ye.push("font",be),i&&Me.push("font",be),ze=be),Be=Math.max(Be,ee[qe]);const Ge=[nt,ge+ce*Q[qe]+O*(Q[qe]-V[xe]),.5*(U+Be)+we];ge+=Q[qe],r&&ye.push("strokeText",Ge),i&&Me.push("fillText",Ge),++qe}return Array.prototype.push.apply(ne,ye),Array.prototype.push.apply(ne,Me),this.labels_[a]=W,W}replayTextBackground_(e,t,i,r,a,l,o){e.beginPath(),e.moveTo.apply(e,t),e.lineTo.apply(e,i),e.lineTo.apply(e,r),e.lineTo.apply(e,a),e.lineTo.apply(e,t),l&&(this.alignAndScaleFill_=l[2],e.fillStyle=l[1],this.fill_(e)),o&&(this.setStrokeStyle_(e,o),e.stroke())}calculateImageOrLabelDimensions_(e,t,i,r,a,l,o,m,C,S,O,U,K,z,j,Q){o*=U[0],m*=U[1];let ee=i-o,V=r-m;const ae=a+C>e?e-C:a,ne=l+S>t?t-S:l,Z=z[3]+ae*U[0]+z[1],oe=z[0]+ne*U[1]+z[2],W=ee-z[3],ce=V-z[0];(j||O!==0)&&(c1[0]=W,h1[0]=W,c1[1]=ce,S0[1]=ce,S0[0]=W+Z,w0[0]=S0[0],w0[1]=ce+oe,h1[1]=w0[1]);let ge;return O!==0?(ge=Jp(qd(),i,r,1,1,O,-i,-r),ec(ge,c1),ec(ge,S0),ec(ge,w0),ec(ge,h1),U0(Math.min(c1[0],S0[0],w0[0],h1[0]),Math.min(c1[1],S0[1],w0[1],h1[1]),Math.max(c1[0],S0[0],w0[0],h1[0]),Math.max(c1[1],S0[1],w0[1],h1[1]),ky)):U0(Math.min(W,W+Z),Math.min(ce,ce+oe),Math.max(W,W+Z),Math.max(ce,ce+oe),ky),K&&(ee=Math.round(ee),V=Math.round(V)),{drawImageX:ee,drawImageY:V,drawImageW:ae,drawImageH:ne,originX:C,originY:S,declutterBox:{minX:ky[0],minY:ky[1],maxX:ky[2],maxY:ky[3],value:Q},canvasTransform:ge,scale:U}}replayImageOrLabel_(e,t,i,r,a,l,o){const m=!!(l||o),C=r.declutterBox,S=o?o[2]*r.scale[0]/2:0;return C.minX-S<=t[0]&&C.maxX+S>=0&&C.minY-S<=t[1]&&C.maxY+S>=0&&(m&&this.replayTextBackground_(e,c1,S0,w0,h1,l,o),Mee(e,r.canvasTransform,a,i,r.originX,r.originY,r.drawImageW,r.drawImageH,r.drawImageX,r.drawImageY,r.scale)),!0}fill_(e){const t=this.alignAndScaleFill_;if(t){const i=ec(this.renderedTransform_,[0,0]),r=512*this.pixelRatio;e.save(),e.translate(i[0]%r,i[1]%r),t!==1&&e.scale(t,t),e.rotate(this.viewRotation_)}e.fill(),t&&e.restore()}setStrokeStyle_(e,t){e.strokeStyle=t[1],t[1]&&(e.lineWidth=t[2],e.lineCap=t[3],e.lineJoin=t[4],e.miterLimit=t[5],e.lineDashOffset=t[7],e.setLineDash(t[6]))}drawLabelWithPointPlacement_(e,t,i,r){const a=this.textStates[t],l=this.createLabel(e,t,r,i),o=this.strokeStates[i],m=this.pixelRatio,C=uM(Array.isArray(e)?e[0]:e,a.textAlign||P_),S=p3[a.textBaseline||A3],O=o&&o.lineWidth?o.lineWidth:0,U=l.width/m-2*a.scale[0],K=C*U+2*(.5-C)*O,z=S*l.height/m+2*(.5-S)*O;return{label:l,anchorX:K,anchorY:z}}execute_(e,t,i,r,a,l,o,m){const C=this.zIndexContext_;let S;this.pixelCoordinates_&&F1(i,this.renderedTransform_)?S=this.pixelCoordinates_:(this.pixelCoordinates_||(this.pixelCoordinates_=[]),S=P1(this.coordinates,0,this.coordinates.length,2,i,this.pixelCoordinates_),bX(this.renderedTransform_,i));let O=0;const U=r.length;let K=0,z,j,Q,ee,V,ae,ne,Z,oe,W,ce,ge,ye,Me=0,Be=0;const we=this.coordinateCache_,qe=this.viewRotation_,xe=Math.round(Math.atan2(-i[1],i[0])*1e12)/1e12,ze={context:e,pixelRatio:this.pixelRatio,resolution:this.resolution,rotation:qe},ot=this.instructions!=r||this.overlaps?0:200;let yt,nt,be,Ge;for(;O<U;){const tt=r[O];switch(tt[0]){case Wr.BEGIN_GEOMETRY:yt=tt[1],Ge=tt[3],yt.getGeometry()?o!==void 0&&!uu(o,Ge.getExtent())?O=tt[2]+1:++O:O=tt[2],C&&(C.zIndex=tt[4]);break;case Wr.BEGIN_PATH:Me>ot&&(this.fill_(e),Me=0),Be>ot&&(e.stroke(),Be=0),!Me&&!Be&&(e.beginPath(),V=NaN,ae=NaN),++O;break;case Wr.CIRCLE:K=tt[1];const It=S[K],pt=S[K+1],St=S[K+2],Rt=S[K+3],Le=St-It,Pe=Rt-pt,Re=Math.sqrt(Le*Le+Pe*Pe);e.moveTo(It+Re,pt),e.arc(It,pt,Re,0,2*Math.PI,!0),++O;break;case Wr.CLOSE_PATH:e.closePath(),++O;break;case Wr.CUSTOM:K=tt[1],z=tt[2];const He=tt[3],bt=tt[4],vt=tt[5];ze.geometry=He,ze.feature=yt,O in we||(we[O]=[]);const Ot=we[O];vt?vt(S,K,z,2,Ot):(Ot[0]=S[K],Ot[1]=S[K+1],Ot.length=2),C&&(C.zIndex=tt[6]),bt(Ot,ze),++O;break;case Wr.DRAW_IMAGE:K=tt[1],z=tt[2],oe=tt[3],j=tt[4],Q=tt[5];let qt=tt[6];const Kt=tt[7],on=tt[8],Jn=tt[9],Wt=tt[10];let $n=tt[11];const On=tt[12];let Bn=tt[13];ee=tt[14]||"declutter";const In=tt[15];if(!oe&&tt.length>=20){W=tt[19],ce=tt[20],ge=tt[21],ye=tt[22];const Mn=this.drawLabelWithPointPlacement_(W,ce,ge,ye);oe=Mn.label,tt[3]=oe;const ii=tt[23];j=(Mn.anchorX-ii)*this.pixelRatio,tt[4]=j;const Wn=tt[24];Q=(Mn.anchorY-Wn)*this.pixelRatio,tt[5]=Q,qt=oe.height,tt[6]=qt,Bn=oe.width,tt[13]=Bn}let Bi;tt.length>25&&(Bi=tt[25]);let ei,Kn,Ne;tt.length>17?(ei=tt[16],Kn=tt[17],Ne=tt[18]):(ei=Og,Kn=null,Ne=null),Wt&&xe?$n+=qe:!Wt&&!xe&&($n-=qe);let de=0;for(;K<z;K+=2){if(Bi&&Bi[de++]<Bn/this.pixelRatio)continue;const Mn=this.calculateImageOrLabelDimensions_(oe.width,oe.height,S[K],S[K+1],Bn,qt,j,Q,on,Jn,$n,On,a,ei,!!Kn||!!Ne,yt),ii=[e,t,oe,Mn,Kt,Kn,Ne];if(m){let Wn,qi,er;if(In){const ti=z-K;if(!In[ti]){In[ti]={args:ii,declutterMode:ee};continue}const Wi=In[ti];Wn=Wi.args,qi=Wi.declutterMode,delete In[ti],er=jI(Wn)}let wi,hi;if(Wn&&(qi!=="declutter"||!m.collides(er))&&(wi=!0),(ee!=="declutter"||!m.collides(Mn.declutterBox))&&(hi=!0),qi==="declutter"&&ee==="de Line truncated
`),r=Kte.slice(0,Math.round(e/.1));for(let a=0,l=i.length;a<l;++a)a>0&&(t+=`
`),t+=i[a].split("").join(r);return t}return n}let dM;function Fz(){return dM||(dM=B2(1,1).getContext("2d")),dM}function pg(n,e){return Fz().measureText(n).width+(n.length-1)*e}const v3={};xg.on("propertychange",()=>{for(const n in v3)delete v3[n]});function uB(n,e,t,i){if(n.indexOf(`
`,hs().s[12]++,this._textEl=this._container.querySelector("span"),hs().s[13]++,this.updateZoomLevel()}addEventListeners(){hs().f[4]++,hs().s[14]++,this._map.on("render",()=>(hs().f[5]++,hs().s[15]++,this.updateZoomLevel())),hs().s[16]++,this._map.on("zoomIn",()=>(hs().f[6]++,hs().s[17]++,this.updateZoomLevel())),hs().s[18]++,this._map.on("zoomOut",()=>(hs().f[7]++,hs().s[19]++,this.updateZoomLevel()))}onRemove(){hs().f[8]++,hs().s[20]++,this._container.parentNode.removeChild(this._container),hs().s[21]++,this._map=void 0}}function k6(n,e,t){const i={id:[e,t,"circle"].join("_"),source:e,type:"circle",paint:{"circle-color":n,"circle-radius":2},filter:["==","$type","Point"]};return t&&(i["source-layer"]=t),i}function D6(n,e,t,i){const r={id:[t,i,"polygon"].join("_"),source:t,type:"fill",paint:{"fill-color":n,"fill-antialias":!0,"fill-outline-color":n},filter:["==","$type","Polygon"]};return i&&(r["source-layer"]=i),r}function R6(n,e,t){const i={id:[e,t,"line"].join("_"),source:e,layout:{"line-join":"round","line-cap":"round"},type:"line",paint:{"line-color":n},filter:["==","$type","LineString"]};return t&&(i["source-layer"]=t),i}function T$(n,e){const t=[],i=[],r=[];function a(l){return{circle:e(l,.8),line:e(l,.6),polygon:e(l,.3),polygonOutline:e(l,.6),default:e(l,1)}}return Object.keys(n).forEach(l=>{const o=n[l];if(!o||o.length===0){const m=a(l);i.push(k6(m.circle,l)),r.push(R6(m.line,l)),t.push(D6(m.polygon,m.polygonOutline,l))}else o.forEach(m=>{const C=a(m);i.push(k6(C.circle,l,m)),r.push(R6(C.line,l,m)),t.push(D6(C.polygon,C.polygonOutline,l,m))})}),t.concat(r).concat(i)}function k$(n,e,t){t=Object.assign({backgroundColor:"#fff"},t);const i={id:"background",type:"background",paint:{"background-color":t.backgroundColor}},r={};return Object.keys(n.sources).forEach(a=>{const l=n.sources[a];(l.type==="vector"||l.type==="geojson")&&(r[a]=l)}),Object.assign(n,{layers:[i].concat(e),sources:r})}const B4={polygonLayer:D6,lineLayer:R6,circleLayer:k6,generateInspectStyle:k$,generateColoredLayers:T$};function vo(){var n="/home/runner/work/maputnik/maputnik/src/libs/highlight.ts",e="aec0f701e803624fae461cc89b5fc887ff556587",t=globalThis,i="__coverage__",r={path:"/home/runner/work/maputnik/maputnik/src/libs/highlight.ts",statementMap:{0:{start:{line:4,column:2},end:{line:8,column:3}},1:{start:{line:5,column:4},end:{line:5,column:33}},2:{start:{line:6,column:9},end:{line:8,column:3}},3:{start:{line:7,column:4},end:{line:7,column:30}},4:{start:{line:9,column:2},end:{line:13,column:3}},5:{start:{line:10,column:4},end:{line:10,column:28}},6:{start:{line:12,column:4},end:{line:12,column:23}},7:{start:{line:14,column:2},end:{line:14,column:29}},8:{start:{line:15,column:2},end:{line:15,column:11}},9:{start:{line:18,column:2},end:{line:18,column:84}},10:{start:{line:18,column:72},end:{line:18,column:84}},11:{start:{line:19,column:24},end:{line:19,column:51}},12:{start:{line:20,column:16},end:{line:20,column:52}},13:{start:{line:21,column:2},end:{line:23,column:3}},14:{start:{line:22,column:4},end:{line:22,column:104}},15:{start:{line:24,column:2},end:{line:26,column:3}},16:{start:{line:25,column:4},end:{line:25,column:96}},17:{start:{line:27,column:2},end:{line:29,column:3}},18:{start:{line:28,column:4},end:{line:28,column:94}},19:{start:{line:30,column:2},end:{line:30,column:14}}},fnMap:{0:{name:"changeLayer",decl:{start:{line:3,column:9},end:{line:3,column:20}},loc:{start:{line:3,column:31},end:{line:16,column:1}},line:3},1:{name:"colorHighlightedLayer",decl:{start:{line:17,column:16},end:{line:17,column:37}},loc:{start:{line:17,column:45},end:{line:31,column:1}},line:17}},branchMap:{0:{loc:{start:{line:4,column:2},end:{line:8,column:3}},type:"if",locations:[{start:{line:4,column:2},end:{line:8,column:3}},{start:{line:6,column:9},end:{line:8,column:3}}],line:4},1:{loc:{start:{line:6,column:9},end:{line:8,column:3}},type:"if",locations:[{start:{line:6,column:9},end:{line:8,column:3}},{start:{line:void 0,column:void 0},end:{line:void 0,column:void 0}}],line:6},2:{loc:{start:{line:9,column:2},end:{line:13,column:3}},type:"if",locations:[{start:{line:9,column:2},end:{line:13,column:3}},{start:{line:11,column:9},end:{line:13,column:3}}],line:9},3:{loc:{start:{line:18,column:2},end:{line:18,column:84}},type:"if",locations:[{start:{line:18,column:2},end:{line:18,column:84}},{start:{line:void 0,column:void 0},end:{line:void 0,column:void 0}}],line:18},4:{loc:{start:{line:18,column:6},end:{line:18,column:70}},type:"binary-expr",locations:[{start:{line:18,column:6},end:{line:18,column:12}},{start:{line:18,column:16},end:{line:18,column:43}},{start:{line:18,column:47},end:{line:18,column:70}}],line:18},5:{loc:{start:{line:19,column:24},end:{line:19,column:51}},type:"binary-expr",locations:[{start:{line:19,column:24},end:{line:19,column:45}},{start:{line:19,column:49},end:{line:19,column:51}}],line:19},6:{loc:{start:{line:21,column:2},end:{line:23,column:3}},type:"if",locations:[{start:{line:21,column:2},end:{line:23,column:3}},{s Line truncated
${this._localize("errorNoResults")}</div>`;this._renderMessage(e)}_renderMessage(e){this._typeahead.update([]),this._typeahead.selected=null,this._typeahead.clear(),this._typeahead.renderError(e)}_localize(e){const t=j$.language(this.options.language.split(",")[0]);return this.options.language&&mC?.[e][t]?mC[e][t]:mC[e].en}_fitBoundsForMarkers(){if(this._typeahead.data.length<1)return;const e=this._typeahead.data.filter(t=>typeof t!="string").slice(0,this.options.limit);if(this._clearEl.style.display="none",this.options.flyTo&&this._maplibregl&&this._map){const i=Wm({},{padding:100},this.options.flyTo),r=new this._maplibregl.LngLatBounds;for(const a of e)r.extend(a.geometry.coordinates);this._map.fitBounds(r,i)}return e.length>0&&this._maplibregl&&this._handleResultMarkers(e),this}setInput(e){return this._inputEl.value=e,this._typeahead.selected=null,this._typeahead.clear(),e.length>=this.options.minLength&&this.options.showResultsWhileTyping&&this._geocode(e),this}setProximity(e){return this.options.proximity=e,this}getProximity(){return this.options.proximity}setRenderFunction(e){return e&&typeof e=="function"&&(this._typeahead.render=e),this}getRenderFunction(){return this._typeahead.render}setLanguage(e){return this.options.language=e||this.options.language||navigator.language,this}getLanguage(){return this.options.language}getZoom(){return this.options.zoom}setZoom(e){return this.options.zoom=e,this}getFlyTo(){return this.options.flyTo}setFlyTo(e){return this.options.flyTo=e,this}getPlaceholder(){return this.options.placeholder}setPlaceholder(e){return this.placeholder=e||this.options.placeholder||this._localize("placeholder"),this._inputEl.placeholder=this.placeholder,this._inputEl.setAttribute("aria-label",this.placeholder),this}getBbox(){return this.options.bbox}setBbox(e){return this.options.bbox=e,this}getCountries(){return this.options.countries}setCountries(e){return this.options.countries=e,this}getTypes(){return this.options.types}setTypes(e){return this.options.types=e,this}getMinLength(){return this.options.minLength}setMinLength(e){return this.options.minLength=e,this._typeahead&&(this._typeahead.options.minLength=e),this}getLimit(){return this.options.limit}setLimit(e){return this.options.limit=e,this._typeahead&&(this._typeahead.options.limit=e),this}getFilter(){return this.options.filter}setFilter(e){return this.options.filter=e,this}setGeocoderApi(e){return this.geocoderApi=e,this}getGeocoderApi(){return this.geocoderApi}_handleMarker(e){if(!this._map)return;this._removeMarker();const i=Wm({},{color:"#4668F2"},this.options.marker);this.mapMarker=new this._maplibregl.Marker(i);let r;if(this.options.popup){const l=Wm({},{},this.options.popup);r=new this._maplibregl.Popup(l).setHTML(this.options.popupRender(e))}return e.center?(this.mapMarker.setLngLat(e.center).addTo(this._map),this.options.popup&&this.mapMarker.setPopup(r)):e.geometry&&e.geometry.type&&e.geometry.type==="Point"&&e.geometry.coordinates&&(this.mapMarker.setLngLat(e.geometry.coordinates).addTo(this._map),this.options.popup&&this.mapMarker.setPopup(r)),this}_removeMarker(){this.mapMarker&&(this.mapMarker.remove(),this.mapMarker=null)}_handleResultMarkers(e){if(!this._map)return;this._removeResultMarkers();let i=Wm({},{color:"#4668F2"},this.options.showResultMarkers);for(const r of e){let a;if(this.options.showResultMarkers){this.options.showResultMarkers&&this.options.showResultMarkers.element&&(a=this.options.showResultMarkers.element.cloneNode(!0),i=Wm(i,{element:a}));const l=new this._maplibregl.Marker(Wm({},i,{element:a}));let o;if(this.options.popup){const C=Wm({},{},this.options.popup);o=new this._maplibregl.Popup(C).setHTML(this.options.popupRender(r))}r.center?(l.setLngLat(r.center).addTo(this._map),this.options.popup&&l.setPopup(o)):r.geometry&&r.geometry.type&&r.geometry.type==="Point"&&r.geometry.coordinates&&(l.setLngLat(r.geometry.coordinates).addTo(this._map),this.options.popup&&l.setPopup(o)),this.resultMarkers.push(l)}}return this}_removeResultMarkers(){this.resultMarkers&&this.resultMarkers.length>0&&(this.resultMarkers.forEach(function(e){e.remove()}),this.resultMarkers=[])}on(e,t){return this._eventEmitter.on(e,t),this}once(e){return new Promise(t=>{this._eventEmitter.once(e,t)})}off(e,t){return this._eventEmitter.removeListener(e,t),this}}function bn(){var n="/home/runner/work/maputnik/maputnik/src/components/MapMaplibreGl.tsx",e="b7252e96c40c42724dcbe987ba80059cbc742d67",t=globalThis,i="__coverage__",r={path:"/home/runner/work/maputnik/maputnik/src/components/MapMaplibreGl.tsx",statementMap:{0:{start:{line:21,column:15},end:{line:21,column:36}},1:{start:{line:22,column:2},end:{line:22,column:44}},2:{start:{line:22,column:28},end:{line:22,column:42}},3:{start:{line:23,column:2},end:{line:23,column:28}},4:{start:{line:24,column:2},end:{line:24,column:19}},5:{start:{line:27,column:26},end:{line:33,column:3}},6:{start:{line:34,column:16},end:{line:34,column:55}},7:{start:{line:35,column:2},end:{lineLine truncated
`).reduce((r,a)=>Math.max(r,sz(n,a)),0);return t[e]=i,i}function cee(n,e){const t=[],i=[],r=[];let a=0,l=0,o=0,m=0;for(let C=0,S=e.length;C<=S;C+=2){const O=e[C];if(O===`
`||C===S){a=Math.max(a,l),r.push(l),l=0,o+=m,m=0;continue}const U=e[C+1]||n.font,K=sz(U,O);t.push(K),l+=K;const z=uee(U);i.push(z),m=Math.max(m,z)}return{width:a,height:o,widths:t,heights:i,lineWidths:r}}function hee(n,e,t,i,r,a,l,o,m,C,S){n.save(),t!==1&&(n.globalAlpha===void 0?n.globalAlpha=O=>O.globalAlpha*=t:n.globalAlpha*=t),e&&n.transform.apply(n,e),i.contextInstructions?(n.translate(m,C),n.scale(S[0],S[1]),dee(i,n)):S[0]<0||S[1]<0?(n.translate(m,C),n.scale(S[0],S[1]),n.drawImage(i,r,a,l,o,0,0,l,o)):n.drawImage(i,r,a,l,o,m,C,l*S[0],o*S[1]),n.restore()}function dee(n,e){const t=n.contextInstructions;for(let i=0,r=t.length;i<r;i+=2)Array.isArray(t[i+1])?e[t[i]].apply(e,t[i+1]):e[t[i]]=t[i+1]}class m2{constructor(e){this.opacity_=e.opacity,this.rotateWithView_=e.rotateWithView,this.rotation_=e.rotation,this.scale_=e.scale,this.scaleArray_=zh(e.scale),this.displacement_=e.displacement,this.declutterMode_=e.declutterMode}clone(){const e=this.getScale();return new m2({opacity:this.getOpacity(),scale:Array.isArray(e)?e.slice():e,rotation:this.getRotation(),rotateWithView:this.getRotateWithView(),displacement:this.getDisplacement().slice(),declutterMode:this.getDeclutterMode()})}getOpacity(){return this.opacity_}getRotateWithView(){return this.rotateWithView_}getRotation(){return this.rotation_}getScale(){return this.scale_}getScaleArray(){return this.scaleArray_}getDisplacement(){return this.displacement_}getDeclutterMode(){return this.declutterMode_}getAnchor(){return Co()}getImage(e){return Co()}getHitDetectionImage(){return Co()}getPixelRatio(e){return 1}getImageState(){return Co()}getImageSize(){return Co()}getOrigin(){return Co()}getSize(){return Co()}setDisplacement(e){this.displacement_=e}setOpacity(e){this.opacity_=e}setRotateWithView(e){this.rotateWithView_=e}setRotation(e){this.rotation_=e}setScale(e){this.scale_=e,this.scaleArray_=zh(e)}listenImageChange(e){Co()}load(){Co()}unlistenImageChange(e){Co()}ready(){return Promise.resolve()}}class p2 extends m2{constructor(e){super({opacity:1,rotateWithView:e.rotateWithView!==void 0?e.rotateWithView:!1,rotation:e.rotation!==void 0?e.rotation:0,scale:e.scale!==void 0?e.scale:1,displacement:e.displacement!==void 0?e.displacement:[0,0],declutterMode:e.declutterMode}),this.hitDetectionCanvas_=null,this.fill_=e.fill!==void 0?e.fill:null,this.origin_=[0,0],this.points_=e.points,this.radius=e.radius,this.radius2_=e.radius2,this.angle_=e.angle!==void 0?e.angle:0,this.stroke_=e.stroke!==void 0?e.stroke:null,this.size_,this.renderOptions_,this.imageState_=this.fill_&&this.fill_.loading()?hr.LOADING:hr.LOADED,this.imageState_===hr.LOADING&&this.ready().then(()=>this.imageState_=hr.LOADED),this.render()}clone(){const e=this.getScale(),t=new p2({fill:this.getFill()?this.getFill().clone():void 0,points:this.getPoints(),radius:this.getRadius(),radius2:this.getRadius2(),angle:this.getAngle(),stroke:this.getStroke()?this.getStroke().clone():void 0,rotation:this.getRotation(),rotateWithView:this.getRotateWithView(),scale:Array.isArray(e)?e.slice():e,displacement:this.getDisplacement().slice(),declutterMode:this.getDeclutterMode()});return t.setOpacity(this.getOpacity()),t}getAnchor(){const e=this.size_,t=this.getDisplacement(),i=this.getScaleArray();return[e[0]/2-t[0]/i[0],e[1]/2+t[1]/i[1]]}getAngle(){return this.angle_}getFill(){return this.fill_}setFill(e){this.fill_=e,this.render()}getHitDetectionImage(){return this.hitDetectionCanvas_||(this.hitDetectionCanvas_=this.createHitDetectionCanvas_(this.renderOptions_)),this.hitDetectionCanvas_}getImage(e){const t=this.fill_?.getKey(),i=`${e},${this.angle_},${this.radius},${this.radius2_},${this.points_},${t}`+Object.values(this.renderOptions_).join(",");let r=ym.get(i,null,null)?.getImage(1);if(!r){const a=this.renderOptions_,l=Math.ceil(a.size*e),o=jA(l,l);this.draw_(a,o,e),r=o.canvas,ym.set(i,null,null,new rz(r,void 0,null,hr.LOADED,null))}return r}getPixelRatio(e){return e}getImageSize(){return this.size_}getImageState(){return this.imageState_}getOrigin(){return this.origin_}getPoints(){return this.points_}getRadius(){return this.radius}getRadius2(){return this.radius2_}getSize(){return this.size_}getStroke(){return this.stroke_}setStroke(e){this.stroke_=e,this.render()}listenImageChange(e){}load(){}unlistenImageChange(e){}calculateLineJoinSize_(e,t,i){if(t===0||this.points_===1/0||e!=="bevel"&&e!=="miter")return t;let r=this.radius,a=this.radius2_===void 0?r:this.radius2_;if(r<a){const oe=r;r=a,a=oe}const l=this.radius2_===void 0?this.points_:this.points_*2,o=2*Math.PI/l,m=a*Math.sin(o),C=Math.sqrt(a*a-m*m),S=r-C,O=Math.sqrt(m*m+S*S),U=O/m;if(e==="miter"&&U<=i)return U*t;const K=t/2/U,z=t/2*(S/O),Q=Math.sqrt((r+K)*(r+K)+z*z)-r;if(this.radius2_===void 0||e==="bevel")return Q*2;const ee=r*Math.sin(o),V=Math.sqrt(r*r-ee*ee),ae=a-V,Z=Math.sqrt(ee*ee+ae*ae)/ee;if(Z<=i){const oe=Z*t/2-a-r;return 2*Math.max(Q,oe)}return Q*2}createRenderOptions(){let e=Rv,t=Pv,i=0,r=null,a=0,l,o=0;this.stroke_&&(l=Yp(this.stroke_.getColor()?? Line truncated
`,""),n.push(e,""),n}function ate(n,e,t){return t%2===0&&(n+=e),n}class ste{constructor(e,t,i,r,a){this.overlaps=i,this.pixelRatio=t,this.resolution=e,this.alignAndScaleFill_,this.instructions=r.instructions,this.coordinates=r.coordinates,this.coordinateCache_={},this.renderedTransform_=Yd(),this.hitDetectionInstructions=r.hitDetectionInstructions,this.pixelCoordinates_=null,this.viewRotation_=0,this.fillStates=r.fillStates||{},this.strokeStates=r.strokeStates||{},this.textStates=r.textStates||{},this.widths_={},this.labels_={},this.zIndexContext_=a?new YO:null}getZIndexContext(){return this.zIndexContext_}createLabel(e,t,i,r){const a=e+t+i+r;if(this.labels_[a])return this.labels_[a];const l=r?this.strokeStates[r]:null,o=i?this.fillStates[i]:null,m=this.textStates[t],C=this.pixelRatio,S=[m.scale[0]*C,m.scale[1]*C],O=m.justify?u3[m.justify]:rM(Array.isArray(e)?e[0]:e,m.textAlign||O_),U=r&&l.lineWidth?l.lineWidth:0,K=Array.isArray(e)?e:String(e).split(`
`).reduce(ote,[]),{width:z,height:j,widths:Q,heights:ee,lineWidths:V}=cee(m,K),ae=z+U,ne=[],Z=(ae+2)*S[0],oe=(j+U)*S[1],W={width:Z<0?Math.floor(Z):Math.ceil(Z),height:oe<0?Math.floor(oe):Math.ceil(oe),contextInstructions:ne};(S[0]!=1||S[1]!=1)&&ne.push("scale",S),r&&(ne.push("strokeStyle",l.strokeStyle),ne.push("lineWidth",U),ne.push("lineCap",l.lineCap),ne.push("lineJoin",l.lineJoin),ne.push("miterLimit",l.miterLimit),ne.push("setLineDash",[l.lineDash]),ne.push("lineDashOffset",l.lineDashOffset)),i&&ne.push("fillStyle",o.fillStyle),ne.push("textBaseline","middle"),ne.push("textAlign","center");const ue=.5-O;let ge=O*ae+ue*U;const ye=[],Me=[];let Be=0,we=0,qe=0,xe=0,ze;for(let ot=0,yt=K.length;ot<yt;ot+=2){const nt=K[ot];if(nt===`
`){we+=Be,Be=0,ge=O*ae+ue*U,++xe;continue}const be=K[ot+1]||m.font;be!==ze&&(r&&ye.push("font",be),i&&Me.push("font",be),ze=be),Be=Math.max(Be,ee[qe]);const Ne=[nt,ge+ue*Q[qe]+O*(Q[qe]-V[xe]),.5*(U+Be)+we];ge+=Q[qe],r&&ye.push("strokeText",Ne),i&&Me.push("fillText",Ne),++qe}return Array.prototype.push.apply(ne,ye),Array.prototype.push.apply(ne,Me),this.labels_[a]=W,W}replayTextBackground_(e,t,i,r,a,l,o){e.beginPath(),e.moveTo.apply(e,t),e.lineTo.apply(e,i),e.lineTo.apply(e,r),e.lineTo.apply(e,a),e.lineTo.apply(e,t),l&&(this.alignAndScaleFill_=l[2],e.fillStyle=l[1],this.fill_(e)),o&&(this.setStrokeStyle_(e,o),e.stroke())}calculateImageOrLabelDimensions_(e,t,i,r,a,l,o,m,C,S,O,U,K,z,j,Q){o*=U[0],m*=U[1];let ee=i-o,V=r-m;const ae=a+C>e?e-C:a,ne=l+S>t?t-S:l,Z=z[3]+ae*U[0]+z[1],oe=z[0]+ne*U[1]+z[2],W=ee-z[3],ue=V-z[0];(j||O!==0)&&(c1[0]=W,h1[0]=W,c1[1]=ue,S0[1]=ue,S0[0]=W+Z,w0[0]=S0[0],w0[1]=ue+oe,h1[1]=w0[1]);let ge;return O!==0?(ge=Jp(Yd(),i,r,1,1,O,-i,-r),ec(ge,c1),ec(ge,S0),ec(ge,w0),ec(ge,h1),U0(Math.min(c1[0],S0[0],w0[0],h1[0]),Math.min(c1[1],S0[1],w0[1],h1[1]),Math.max(c1[0],S0[0],w0[0],h1[0]),Math.max(c1[1],S0[1],w0[1],h1[1]),ky)):U0(Math.min(W,W+Z),Math.min(ue,ue+oe),Math.max(W,W+Z),Math.max(ue,ue+oe),ky),K&&(ee=Math.round(ee),V=Math.round(V)),{drawImageX:ee,drawImageY:V,drawImageW:ae,drawImageH:ne,originX:C,originY:S,declutterBox:{minX:ky[0],minY:ky[1],maxX:ky[2],maxY:ky[3],value:Q},canvasTransform:ge,scale:U}}replayImageOrLabel_(e,t,i,r,a,l,o){const m=!!(l||o),C=r.declutterBox,S=o?o[2]*r.scale[0]/2:0;return C.minX-S<=t[0]&&C.maxX+S>=0&&C.minY-S<=t[1]&&C.maxY+S>=0&&(m&&this.replayTextBackground_(e,c1,S0,w0,h1,l,o),hee(e,r.canvasTransform,a,i,r.originX,r.originY,r.drawImageW,r.drawImageH,r.drawImageX,r.drawImageY,r.scale)),!0}fill_(e){const t=this.alignAndScaleFill_;if(t){const i=ec(this.renderedTransform_,[0,0]),r=512*this.pixelRatio;e.save(),e.translate(i[0]%r,i[1]%r),t!==1&&e.scale(t,t),e.rotate(this.viewRotation_)}e.fill(),t&&e.restore()}setStrokeStyle_(e,t){e.strokeStyle=t[1],t[1]&&(e.lineWidth=t[2],e.lineCap=t[3],e.lineJoin=t[4],e.miterLimit=t[5],e.lineDashOffset=t[7],e.setLineDash(t[6]))}drawLabelWithPointPlacement_(e,t,i,r){const a=this.textStates[t],l=this.createLabel(e,t,r,i),o=this.strokeStates[i],m=this.pixelRatio,C=rM(Array.isArray(e)?e[0]:e,a.textAlign||O_),S=u3[a.textBaseline||i3],O=o&&o.lineWidth?o.lineWidth:0,U=l.width/m-2*a.scale[0],K=C*U+2*(.5-C)*O,z=S*l.height/m+2*(.5-S)*O;return{label:l,anchorX:K,anchorY:z}}execute_(e,t,i,r,a,l,o,m){const C=this.zIndexContext_;let S;this.pixelCoordinates_&&F1(i,this.renderedTransform_)?S=this.pixelCoordinates_:(this.pixelCoordinates_||(this.pixelCoordinates_=[]),S=P1(this.coordinates,0,this.coordinates.length,2,i,this.pixelCoordinates_),uX(this.renderedTransform_,i));let O=0;const U=r.length;let K=0,z,j,Q,ee,V,ae,ne,Z,oe,W,ue,ge,ye,Me=0,Be=0;const we=this.coordinateCache_,qe=this.viewRotation_,xe=Math.round(Math.atan2(-i[1],i[0])*1e12)/1e12,ze={context:e,pixelRatio:this.pixelRatio,resolution:this.resolution,rotation:qe},ot=this.instructions!=r||this.overlaps?0:200;let yt,nt,be,Ne;for(;O<U;){const tt=r[O];switch(tt[0]){case Wr.BEGIN_GEOMETRY:yt=tt[1],Ne=tt[3],yt.getGeometry()?o!==void 0&&!uu(o,Ne.getExtent())?O=tt[2]+1:++O:O=tt[2],C&&(C.zIndex=tt[4]);break;case Wr.BEGIN_PATH:Me>ot&&(this.fill_(e),Me=0),Be>ot&&(e.stroke(),Be=0),!Me&&!Be&&(e.beginPath(),V=NaN,ae=NaN),++O;break;case Wr.CIRCLE:K=tt[1];const It=S[K],pt=S[K+1],St=S[K+2],Rt=S[K+3],Le=St-It,Pe=Rt-pt,Re=Math.sqrt(Le*Le+Pe*Pe);e.moveTo(It+Re,pt),e.arc(It,pt,Re,0,2*Math.PI,!0),++O;break;case Wr.CLOSE_PATH:e.closePath(),++O;break;case Wr.CUSTOM:K=tt[1],z=tt[2];const He=tt[3],bt=tt[4],vt=tt[5];ze.geometry=He,ze.feature=yt,O in we||(we[O]=[]);const Ot=we[O];vt?vt(S,K,z,2,Ot):(Ot[0]=S[K],Ot[1]=S[K+1],Ot.length=2),C&&(C.zIndex=tt[6]),bt(Ot,ze),++O;break;case Wr.DRAW_IMAGE:K=tt[1],z=tt[2],oe=tt[3],j=tt[4],Q=tt[5];let qt=tt[6];const Kt=tt[7],on=tt[8],Jn=tt[9],Wt=tt[10];let $n=tt[11];const On=tt[12];let Bn=tt[13];ee=tt[14]||"declutter";const In=tt[15];if(!oe&&tt.length>=20){W=tt[19],ue=tt[20],ge=tt[21],ye=tt[22];const Mn=this.drawLabelWithPointPlacement_(W,ue,ge,ye);oe=Mn.label,tt[3]=oe;const ii=tt[23];j=(Mn.anchorX-ii)*this.pixelRatio,tt[4]=j;const Wn=tt[24];Q=(Mn.anchorY-Wn)*this.pixelRatio,tt[5]=Q,qt=oe.height,tt[6]=qt,Bn=oe.width,tt[13]=Bn}let Bi;tt.length>25&&(Bi=tt[25]);let ei,Kn,Ge;tt.length>17?(ei=tt[16],Kn=tt[17],Ge=tt[18]):(ei=Og,Kn=null,Ge=null),Wt&&xe?$n+=qe:!Wt&&!xe&&($n-=qe);let de=0;for(;K<z;K+=2){if(Bi&&Bi[de++]<Bn/this.pixelRatio)continue;const Mn=this.calculateImageOrLabelDimensions_(oe.width,oe.height,S[K],S[K+1],Bn,qt,j,Q,on,Jn,$n,On,a,ei,!!Kn||!!Ge,yt),ii=[e,t,oe,Mn,Kt,Kn,Ge];if(m){let Wn,qi,er;if(In){const ti=z-K;if(!In[ti]){In[ti]={args:ii,declutterMode:ee};continue}const Wi=In[ti];Wn=Wi.args,qi=Wi.declutterMode,delete In[ti],er=U9(Wn)}let wi,hi;if(Wn&&(qi!=="declutter"||!m.collides(er))&&(wi=!0),(ee!=="declutter"||!m.collides(Mn.declutterBox))&&(hi=!0),qi==="declutter"&&ee==="de Line truncated
`),r=Mte.slice(0,Math.round(e/.1));for(let a=0,l=i.length;a<l;++a)a>0&&(t+=`
`),t+=i[a].split("").join(r);return t}return n}let sM;function Dz(){return sM||(sM=b2(1,1).getContext("2d")),sM}function pg(n,e){return Dz().measureText(n).width+(n.length-1)*e}const d3={};xg.on("propertychange",()=>{for(const n in d3)delete d3[n]});function rB(n,e,t,i){if(n.indexOf(`
`)!==-1){const l=n.split(`
`),o=[];for(let m=0,C=l.length;m<C;++m)o.push(uB(l[m],e,t,i));return o.join(`
`)}const r=t+","+e+","+n+","+i;let a=v3[r];if(!a){const l=n.split(" ");if(l.length>1){const o=Fz();o.font=e;const C=o.measureText("M").width*t;let S="";const O=[];for(let U=0,K=l.length;U<K;++U){const z=l[U],j=S+(S?" ":"")+z;pg(j,i)<=C?S=j:(S&&O.push(S),S=z)}S&&O.push(S);for(let U=0,K=O.length;U<K&&K>1;++U){const z=O[U];if(pg(z,i)<C*.35){const j=U>0?pg(O[U-1],i):1/0,Q=U<K-1?pg(O[U+1],i):1/0;O.splice(U,1),K-=1,j<Q?(O[U-1]+=" "+z,U-=1):O[U]=z+" "+O[U]}}for(let U=0,K=O.length-1;U<K;++U){const z=O[U],j=O[U+1];if(pg(z,i)>C*.7&&pg(j,i)<C*.6){const Q=z.split(" "),ee=Q.pop();pg(ee,i)<C*.2&&(O[U]=Q.join(" "),O[U+1]=ee+" "+j),K-=1}}a=O.join(`
`)}else a=n;a=AB(a,i),v3[r]=a}return a}const Ute=["Arial","Courier New","Times New Roman","Verdana","sans-serif","serif","monospace","cursive","fantasy"],JI={};function Lte(n,e="https://cdn.jsdelivr.net/npm/@fontsource/{font-family}/{fontweight}{-fontstyle}.css"){let t;for(let i=0,r=n.length;i<r;++i){const a=n[i];if(a in JI)continue;JI[a]=!0;const o=G6(a,16).split(" ");t||(t=[]),t.push([o.slice(3).join(" ").replace(/"/g,""),o[1],o[0]])}return t&&(async()=>{await document.fonts.ready;for(let i=0,r=t.length;i<r;++i){const a=t[i],l=a[0];if(Ute.includes(l))continue;const o=a[1],m=a[2];if(!(await document.fonts.load(`${m} ${o} 16px "${l}"`)).some(S=>S.family.replace(/^['"]|['"]$/g,"").toLowerCase()===l.toLowerCase()&&S.weight==o&&S.style===m)){const S=e.replace("{font-family}",l.replace(/ /g,"-").toLowerCase()).replace("{Font+Family}",l.replace(/ /g,"+")).replace("{fontweight}",o).replace("{-fontstyle}",m.replace("normal","").replace(/(.+)/,"-$1")).replace("{fontstyle}",m);if(!document.querySelector('link[href="'+S+'"]')){const O=document.createElement("link");O.href=S,O.rel="stylesheet",document.head.appendChild(O)}}}})(),n}const Fte={Point:1,MultiPoint:1,LineString:2,MultiLineString:2,Polygon:3,MultiPolygon:3},zte={center:[.5,.5],left:[0,.5],right:[1,.5],top:[.5,0],bottom:[.5,1],"top-left":[0,0],"top-right":[1,0],"bottom-left":[0,1],"bottom-right":[1,1]},Gte=function(n,e){const t=n2(n,e);if(t.result==="error")throw new Error(t.value.map(i=>`${i.key}: ${i.message}`).join(", "));return t.value},Bf={zoom:0,distanceFromCenter:0};wf.register(X3,{...wf.definitions,pitch:[{kind:"number"},[],n=>Bf.pitch||90],"distance-from-center":[{kind:"number"},[],n=>Bf.distanceFromCenter||0]});let rx,fM;function Cr(n,e,t,i,r,a){const l=n.id;r||(r={},console.warn("No functionCache provided to getValue()")),r[l]||(r[l]={});const o=r[l];if(!o[t]){let m=(n[e]||tp)[t];const C=Mf[`${e}_${n.type}`][t];m===void 0&&(m=C.default);let S=jv(m);if(!S&&Nv(m)&&(m=rO(m,C),S=!0),S){const O=Gte(m,C);o[t]=O.evaluate.bind(O)}else C.type=="color"&&(m=tl.parse(m)),o[t]=function(){return m}}return o[t](Bf,i,a)}function eT(n,e,t,i){return Cr(n,"layout",`${t}-allow-overlap`,e,i)?Cr(n,"layout",`${t}-ignore-placement`,e,i)?"none":"obstacle":"declutter"}function Nte(n,e,t,i){if(i||console.warn("No filterCache provided to evaluateFilter()"),!(n in i))try{i[n]=NH(e).filter}catch(r){console.warn("Filter will evaluate to false: "+r.message),i[n]=function(){return!1}}return i[n](Bf,t)}function p1(n,e){if(n){if(n.a===0||e===0)return;const t=n.a;return e=e===void 0?1:e,t===0?"transparent":"rgba("+Math.round(n.r*255/t)+","+Math.round(n.g*255/t)+","+Math.round(n.b*255/t)+","+t*e+")"}return n}const jte=/\{[^{}}]*\}/g;function mM(n,e){return n.replace(jte,function(t){return e[t.slice(1,-1)]||""})}function tT(n,e){let t=n.split(":")[0];return t===n&&(t="default"),e[t]}const Wte={};function Qte(n,e,t,i=Xp,r=void 0,a=void 0,l=void 0,o=void 0){if(typeof e=="string"&&(e=JSON.parse(e)),e.version!=8)throw new Error("glStyle version 8 required.");Wte[Dte(e,n)]=Array.from(arguments);const m={};(typeof a=="string"||a instanceof Request||a instanceof Response||a instanceof Promise)&&(a={default:a});for(const Z in a){const oe=a[Z];Tv(()=>oe).then(async W=>{let ce;if(typeof Image<"u"){const ge=new Image;if(typeof W=="string")ge.crossOrigin="anonymous",ge.src=W;else{let ye;W instanceof Request?ye=await fetch(W):W instanceof Response&&(ye=W);const Me=await ye.blob();ce=URL.createObjectURL(Me),ge.src=ce}ge.addEventListener("load",function ye(){ge.removeEventListener("load",ye),m[Z]={image:ge,size:[ge.width,ge.height]},n.changed(),ce&&URL.revokeObjectURL(ce)}),ge.addEventListener("error",function ye(){URL.revokeObjectURL(ce),ge.removeEventListener("error",ye)})}else if(typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope){const ge=self;ge.postMessage({action:"loadImage",src:W}),ge.addEventListener("message",function(Me){Me.data.action==="imageLoaded"&&Me.data.src===W&&(m[Z]={image:Me.data.image,size:[Me.data.image.width,Me.data.image.height]})})}})}const C=FB(e.layers),S={},O=[],U={},K={},z=Kz(e),j=Rte(e);let Q;for(let Z=0,oe=C.length;Z<oe;++Z){const W=C[Z],ce=W.id;if(typeof t=="string"&&W.source==t||Array.isArray(t)&&t.indexOf(ce)!==-1){const ge=W["source-layer"];if(Q){if(W.source!==Q)throw new Error(`Layer "${ce}" does not use source "${Q}`)}else{Q=W.source;const Me=e.sources[Q];if(!Me)throw new Error(`Source "${Q}" is not defined`);const Be=Me.type;if(Be!=="vector"&&Be!=="geojson")throw new Error(`Source "${Q}" is not of type "vector" or "geojson", but "${Be}"`)}let ye=S[ge];ye||(ye=[],S[ge]=ye),ye.push({layer:W,index:Z}),O.push(ce)}}const ee=new S1,V=new k0,ae=[],ne=function(Z,oe,W){const ce=n.getSource?.()?.format_?.layerName_??"mvt:layer",ge=Z.getProperties(),ye=S[ge[ce]];if(!ye)return;let Me=i.indexOf(oe);Me==-1&&(Me=r8(oe,i)),Bf.zoom=Me,Bf.distanceFromCenter=0;const Be=Z.getGeometry(),we=Fte[Be.getType()],qe=n.get("map");if(qe&&qe instanceof w2&&we===1){const yt=qe.Line truncated
`)return Ne.push(`
`,""),Ne;if(we==2)return Ne.push(AB(Te,In),me),Ne;Te=uB(Te,me,Bi,In).split(`
`);for(let We=0,dt=Te.length;We<dt;++We)We>0&&Ne.push(`
`,""),Ne.push(Te[We],me);return Ne},[]):Wt=mM(Kn,ge).trim(),Rt=Cr(Ge,"paint","text-opacity",xe,z,ze)}if(Wt&&Rt&&!Jn){vt||(++ot,He=ae[ot],(!He||!He.getText()||He.getFill()||He.getStroke())&&(He=new _f,ae[ot]=He),He.setImage(void 0),He.setGeometry(void 0));const ei=eT(Ge,xe,"text",z);He.getText()||He.setText(Ot),Ot=He.getText(),(!Ot||"getDeclutterMode"in Ot&&Ot.getDeclutterMode()!==ei)&&(Ot=new x2({padding:[2,2,2,2],declutterMode:ei}),He.setText(Ot));const Kn=Cr(Ge,"layout","text-transform",xe,z,ze);Kn=="uppercase"?Wt=Array.isArray(Wt)?Wt.map((kt,it)=>it%2?kt:kt.toUpperCase()):Wt.toUpperCase():Kn=="lowercase"&&(Wt=Array.isArray(Wt)?Wt.map((kt,it)=>it%2?kt:kt.toLowerCase()):Wt.toLowerCase());const Ne=Array.isArray(Wt)?Wt:we==2?AB(Wt,In):uB(Wt,$n,Bi,In);if(Ot.setText(Ne),Ot.setFont($n),Ot.setRotation(hM(Cr(Ge,"layout","text-rotate",xe,z,ze))),typeof Ot.setKeepUpright=="function"){const kt=Cr(Ge,"layout","text-keep-upright",xe,z,ze);Ot.setKeepUpright(kt)}const de=Cr(Ge,"layout","text-anchor",xe,z,ze),re=vt||we==1?"point":Cr(Ge,"layout","symbol-placement",xe,z,ze);let le;if(re==="line-center"?(Ot.setPlacement("line"),le="center"):Ot.setPlacement(re),re==="line"&&typeof Ot.setRepeat=="function"){const kt=Cr(Ge,"layout","symbol-spacing",xe,z,ze);Ot.setRepeat(kt*2)}Ot.setOverflow(re==="point");let me=Cr(Ge,"paint","text-halo-width",xe,z,ze);const Te=Cr(Ge,"layout","text-offset",xe,z,ze),We=Cr(Ge,"paint","text-translate",xe,z,ze);let dt=0,Ye=0;if(re=="point"){le="center",de.indexOf("left")!==-1?(le="left",Ye=me):de.indexOf("right")!==-1&&(le="right",Ye=-me);const kt=Cr(Ge,"layout","text-rotation-alignment",xe,z,ze);Ot.setRotateWithView(kt=="map")}else Ot.setMaxAngle(hM(Cr(Ge,"layout","text-max-angle",xe,z,ze))*Wt.length/Ne.length),Ot.setRotateWithView(!1);Ot.setTextAlign(le);let De="middle";de.indexOf("bottom")==0?(De="bottom",dt=-me-.5*(On-1)*Bn):de.indexOf("top")==0&&(De="top",dt=me+.5*(On-1)*Bn),Ot.setTextBaseline(De);const Ze=Cr(Ge,"layout","text-justify",xe,z,ze);Ot.setJustify(Ze==="auto"?void 0:Ze),Ot.setOffsetX(Te[0]*Bn+Ye+We[0]),Ot.setOffsetY(Te[1]*Bn+dt+We[1]),V.setColor(p1(Cr(Ge,"paint","text-color",xe,z,ze),Rt)),Ot.setFill(V);const g=p1(Cr(Ge,"paint","text-halo-color",xe,z,ze),Rt);if(g&&me>0){ee.setColor(g),me*=2;const kt=.5*Bn;ee.setWidth(me<=kt?me:kt),Ot.setStroke(ee)}else Ot.setStroke(void 0);const gt=Cr(Ge,"layout","text-padding",xe,z,ze),ht=Ot.getPadding();gt!==ht[0]&&(ht[0]=gt,ht[1]=gt,ht[2]=gt,ht[3]=gt),He.setZIndex(bt)}}}if(ot>-1)return ae.length=ot+1,ae};return n.setStyle(ne),n.set("mapbox-layers",O),n.set("mapbox-source",Q),n.set("mapbox-featurestate",n.get("mapbox-featurestate")||{}),ne}class zz{constructor(){this.dataProjection=void 0,this.defaultFeatureProjection=void 0,this.featureClass=E2,this.supportedMediaTypes=null}getReadOptions(e,t){if(t){let i=t.dataProjection?Ws(t.dataProjection):this.readProjection(e);t.extent&&i&&i.getUnits()==="tile-pixels"&&(i=Ws(i),i.setWorldExtent(t.extent)),t={dataProjection:i,featureProjection:t.featureProjection}}return this.adaptOptions(t)}adaptOptions(e){return Object.assign({dataProjection:this.dataProjection,featureProjection:this.defaultFeatureProjection,featureClass:this.featureClass},e)}getType(){return Co()}readFeature(e,t){return Co()}readFeatures(e,t){return Co()}readGeometry(e,t){return Co()}readProjection(e){return Co()}writeFeature(e,t){return Co()}writeFeatures(e,t){return Co()}writeGeometry(e,t){return Co()}}function O2(n,e,t){const i=t?Ws(t.featureProjection):null,r=t?Ws(t.dataProjection):null;let a=n;if(i&&r&&!R1(i,r)){e&&(a=n.clone());const l=e?i:r,o=e?r:i;l.getUnits()==="tile-pixels"?a.transform(l,o):a.applyTransform(I_(l,o))}if(e&&t&&t.decimals!==void 0){const l=Math.pow(10,t.decimals),o=function(m){for(let C=0,S=m.length;C<S;++C)m[C]=Math.round(m[C]*l)/l;return m};a===n&&(a=n.clone()),a.applyTransform(o)}return a}const Yte={Point:Qg,LineString:qg,Polygon:F0,MultiPoint:Mb,MultiLineString:F_,MultiPolygon:z_};function qte(n,e,t){return Array.isArray(e[0])?(VF(n,0,e,t)||(n=n.slice(),eB(n,0,e,t)),n):(DO(n,0,e,t)||(n=n.slice(),s3(n,0,e,t)),n)}function Gz(n,e){const t=n.geometry;if(!t)return[];if(Array.isArray(t))return t.map(a=>Gz({...n,geometry:a})).flat();const i=t.type==="MultiPolygon"?"Polygon":t.type;if(i==="GeometryCollection"||i==="Circle")throw new Error("Unsupported geometry type: "+i);const r=t.layout.length;return O2(new Fh(i,i==="Polygon"?qte(t.flatCoordinates,t.ends,r):t.flatCoordinates,t.ends?.flat(),r,n.properties||{},n.id).enableSimplifyTransformed(),!1,e)}function o8(n,e){if(!n)return null;if(Array.isArray(n)){const i=n.map(r=>o8(r,e));return new f3(i)}const t=Yte[n.type];return O2(new t(n.flatCoordinates,n.layout||"XY",n.ends),!1,e)}class Hte extends zz{constructor(){super()}getType(){return"json"}readFeature(e,t){return this.readFeatureFromObject(ox(e),this.getReadOptions(e,t))}readFeatures(e,t){return this.readFeaturesFromObject(ox(e),this.getReadOptions(e,t))}readFeatureFromObject(e,t){return Co()}readFeaturesFromObject(e, Line truncated
`),"binary").toString("base64"):URL.createObjectURL(new Blob(i,{type:"text/javascript"})));return r.addEventListener("message",e),r}function nie(n,e){const t=eG(n.operation);let i=!1;return{postMessage:function(r){setTimeout(function(){i||e({data:{buffer:t(r),meta:r.meta}})},0)},terminate:function(){i=!0}}}class iie extends hb{constructor(e){super(),this.imageOps_=!!e.imageOps;let t;e.threads===0?t=0:this.imageOps_?t=1:t=e.threads||1;const i=new Array(t);if(t)for(let r=0;r<t;++r)i[r]=tie(e,this.onWorkerMessage_.bind(this,r));else i[0]=nie(e,this.onWorkerMessage_.bind(this,0));this.workers_=i,this.queue_=[],this.maxQueueLength_=e.queue||1/0,this.running_=0,this.dataLookup_={},this.job_=null}process(e,t,i){this.enqueue_({inputs:e,meta:t,callback:i}),this.dispatch_()}enqueue_(e){for(this.queue_.push(e);this.queue_.length>this.maxQueueLength_;)this.queue_.shift().callback(null,null)}dispatch_(){if(this.running_||this.queue_.length===0)return;const e=this.queue_.shift();this.job_=e;const t=e.inputs[0].width,i=e.inputs[0].height,r=e.inputs.map(function(m){return m.data.buffer}),a=this.workers_.length;if(this.running_=a,a===1){this.workers_[0].postMessage({buffers:r,meta:e.meta,imageOps:this.imageOps_,width:t,height:i},r);return}const l=e.inputs[0].data.length,o=4*Math.ceil(l/4/a);for(let m=0;m<a;++m){const C=m*o,S=[];for(let O=0,U=r.length;O<U;++O)S.push(r[O].slice(C,C+o));this.workers_[m].postMessage({buffers:S,meta:e.meta,imageOps:this.imageOps_,width:t,height:i},S)}}onWorkerMessage_(e,t){this.disposed||(this.dataLookup_[e]=t.data,--this.running_,this.running_===0&&this.resolveJob_())}resolveJob_(){const e=this.job_,t=this.workers_.length;let i,r;if(t===1)i=new Uint8ClampedArray(this.dataLookup_[0].buffer),r=this.dataLookup_[0].meta;else{const a=e.inputs[0].data.length;i=new Uint8ClampedArray(a),r=new Array(t);const l=4*Math.ceil(a/4/t);for(let o=0;o<t;++o){const m=this.dataLookup_[o].buffer,C=o*l;i.set(new Uint8ClampedArray(m),C),r[o]=this.dataLookup_[o].meta}}this.job_=null,this.dataLookup_={},e.callback(null,new ImageData(i,e.inputs[0].width,e.inputs[0].height),r),this.dispatch_()}disposeInternal(){for(let e=0;e<this.workers_.length;++e)this.workers_[e].terminate();this.workers_.length=0}}const cT={BEFOREOPERATIONS:"beforeoperations",AFTEROPERATIONS:"afteroperations"};class hT extends up{constructor(e,t,i){super(e),this.extent=t.extent,this.resolution=t.viewState.resolution/t.pixelRatio,this.data=i}}class tG extends $z{constructor(e){super({projection:null}),this.on,this.once,this.un,this.processor_=null,this.operationType_=e.operationType!==void 0?e.operationType:"pixel",this.threads_=e.threads!==void 0?e.threads:1,this.layers_=aie(e.sources);const t=this.changed.bind(this);for(let i=0,r=this.layers_.length;i<r;++i)this.layers_[i].addEventListener(mo.CHANGE,t);this.useResolutions_=e.resolutions!==null,this.tileQueue_=new CF(function(){return 1},this.processSources_.bind(this)),this.requestedFrameState_,this.renderedImageCanvas_=null,this.renderedRevision_,this.frameState_={animate:!1,coordinateToPixelTransform:qd(),declutter:null,extent:null,index:0,layerIndex:0,layerStatesArray:oie(this.layers_),pixelRatio:1,pixelToCoordinateTransform:qd(),postRenderFunctions:[],size:[0,0],tileQueue:this.tileQueue_,time:Date.now(),usedTiles:{},viewState:{rotation:0},viewHints:[],wantedTiles:{},mapId:Io(this),renderTargets:{}},this.setAttributions(function(i){const r=[];for(let a=0,l=e.sources.length;a<l;++a){const o=e.sources[a],m=o instanceof Vv?o:o.getSource();if(!m)continue;const C=m.getAttributions()?.(i);typeof C=="string"?r.push(C):C!==void 0&&r.push(...C)}return r}),e.operation!==void 0&&this.setOperation(e.operation,e.lib)}setOperation(e,t){this.processor_&&this.processor_.dispose(),this.processor_=new iie({operation:e,imageOps:this.operationType_==="image",queue:1,lib:t,threads:this.threads_}),this.changed()}updateFrameState_(e,t,i){const r=Object.assign({},this.frameState_);r.viewState=Object.assign({},r.viewState);const a=Of(e);r.size[0]=Math.ceil(as(e)/t),r.size[1]=Math.ceil(nc(e)/t),r.extent=[a[0]-r.size[0]*t/2,a[1]-r.size[1]*t/2,a[0]+r.size[0]*t/2,a[1]+r.size[1]*t/2],r.time=Date.now();const l=r.viewState;return l.center=a,l.projection=i,l.resolution=t,r}allSourcesReady_(){let e=!0,t;for(let i=0,r=this.layers_.length;i<r;++i)if(t=this.layers_[i].getSource(),!t||t.getState()!=="ready"){e=!1;break}return e}getImage(e,t,i,r){if(!this.allSourcesReady_())return null;this.tileQueue_.loadMoreTiles(16,16),t=this.findNearestResolution(t);const a=this.updateFrameState_(e,t,r);if(this.requestedFrameState_=a,this.renderedImageCanvas_){const l=this.renderedImageCanvas_.getResolution(),o=this.renderedImageCanvas_.getExtent();(t!==l||!L0(a.extent,o))&&(this.renderedImageCanvas_=null)}return(!this.renderedImageCanvas_||this.getRevision()!==this.renderedRevision_)&&this.processSources_(),a.animate&&requestAnimationFrame(this.changed.bind(this)),this.renderedImageCanvas_}processSources_(){const e=this.requestedFrameState_,t=th Line truncated
`);this.generateTileUrlFunction_?this.setTileUrlFunction(nG(e,this.tileGrid),t):this.setKey(t)}tileUrlFunction(e,t,i){}}class gie extends k2{constructor(e){super({attributions:e.attributions,cacheSize:e.cacheSize,projection:e.projection,state:e.state,tileGrid:e.tileGrid,tileLoadFunction:e.tileLoadFunction?e.tileLoadFunction:yie,tilePixelRatio:e.tilePixelRatio,tileUrlFunction:e.tileUrlFunction,url:e.url,urls:e.urls,wrapX:e.wrapX,transition:e.transition,interpolate:e.interpolate!==void 0?e.interpolate:!0,key:e.key,attributionsCollapsible:e.attributionsCollapsible,zDirection:e.zDirection}),this.crossOrigin=e.crossOrigin!==void 0?e.crossOrigin:null,this.tileClass=e.tileClass!==void 0?e.tileClass:Dz,this.tileGridForProjection={},this.reprojectionErrorThreshold_=e.reprojectionErrorThreshold,this.renderReprojectionEdges_=!1}getGutterForProjection(e){return this.getProjection()&&e&&!R1(this.getProjection(),e)?0:this.getGutter()}getGutter(){return 0}getKey(){let e=super.getKey();return this.getInterpolate()||(e+=":disable-interpolation"),e}getTileGridForProjection(e){const t=this.getProjection();if(this.tileGrid&&(!t||R1(t,e)))return this.tileGrid;const i=Io(e);return i in this.tileGridForProjection||(this.tileGridForProjection[i]=Zz(e)),this.tileGridForProjection[i]}createTile_(e,t,i,r,a,l){const o=[e,t,i],m=this.getTileCoordForTileUrlFunction(o,a),C=m?this.tileUrlFunction(m,r,a):void 0,S=new this.tileClass(o,C!==void 0?Pi.IDLE:Pi.EMPTY,C!==void 0?C:"",this.crossOrigin,this.tileLoadFunction,this.tileOptions);return S.key=l,S.addEventListener(mo.CHANGE,this.handleTileChange.bind(this)),S}getTile(e,t,i,r,a){const l=this.getProjection();if(!l||!a||R1(l,a))return this.getTileInternal(e,t,i,r,l||a);const o=[e,t,i],m=this.getKey(),C=this.getTileGridForProjection(l),S=this.getTileGridForProjection(a),O=this.getTileCoordForTileUrlFunction(o,a),U=new qz(l,C,a,S,o,O,this.getTilePixelRatio(r),this.getGutter(),(K,z,j,Q)=>this.getTileInternal(K,z,j,Q,l),this.reprojectionErrorThreshold_,this.renderReprojectionEdges_,this.tileOptions);return U.key=m,U}getTileInternal(e,t,i,r,a){const l=this.getKey();return this.createTile_(e,t,i,r,a,l)}setRenderReprojectionEdges(e){this.renderReprojectionEdges_!=e&&(this.renderReprojectionEdges_=e,this.changed())}setTileGridForProjection(e,t){const i=Ws(e);if(i){const r=Io(i);r in this.tileGridForProjection||(this.tileGridForProjection[r]=t)}}}function yie(n,e){n.getImage().src=e}class iG extends gie{constructor(e){if(super({attributions:e.attributions,cacheSize:e.cacheSize,crossOrigin:e.crossOrigin,interpolate:e.interpolate,projection:Ws("EPSG:3857"),reprojectionErrorThreshold:e.reprojectionErrorThreshold,state:"loading",tileLoadFunction:e.tileLoadFunction,wrapX:e.wrapX!==void 0?e.wrapX:!0,transition:e.transition,zDirection:e.zDirection}),this.tileJSON_=null,this.tileSize_=e.tileSize,e.url)if(e.jsonp)lie(e.url,this.handleTileJSONResponse.bind(this),this.handleTileJSONError.bind(this));else{const t=new XMLHttpRequest;t.addEventListener("load",this.onXHRLoad_.bind(this)),t.addEventListener("error",this.onXHRError_.bind(this)),t.open("GET",e.url),t.send()}else if(e.tileJSON)this.handleTileJSONResponse(e.tileJSON);else throw new Error("Either `url` or `tileJSON` options must be provided")}onXHRLoad_(e){const t=e.target;if(!t.status||t.status>=200&&t.status<300){let i;try{i=JSON.parse(t.responseText)}catch{this.handleTileJSONError();return}this.handleTileJSONResponse(i)}else this.handleTileJSONError()}onXHRError_(e){this.handleTileJSONError()}getTileJSON(){return this.tileJSON_}handleTileJSONResponse(e){const t=Ws("EPSG:4326"),i=this.getProjection();let r;if(e.bounds!==void 0){const C=gb(t,i);r=UZ(e.bounds,C)}const a=T2(i),l=e.minzoom||0,o=e.maxzoom||22,m=s8({extent:a,maxZoom:o,minZoom:l,tileSize:this.tileSize_});if(this.tileGrid=m,this.tileUrlFunction=nG(e.tiles,m),e.attribution&&!this.getAttributions()){const C=r!==void 0?r:a;this.setAttributions(function(S){return uu(C,S.extent)?[e.attribution]:null})}this.tileJSON_=e,this.setState("ready")}handleTileJSONError(){this.setState("error")}}class l8 extends k2{constructor(e){const t=e.projection||"EPSG:3857",i=e.extent||T2(t),r=e.tileGrid||s8({extent:i,maxResolution:e.maxResolution,maxZoom:e.maxZoom!==void 0?e.maxZoom:22,minZoom:e.minZoom,tileSize:e.tileSize||512});super({attributions:e.attributions,attributionsCollapsible:e.attributionsCollapsible,cacheSize:e.cacheSize,interpolate:!0,projection:t,state:e.state,tileGrid:r,tileLoadFunction:e.tileLoadFunction?e.tileLoadFunction:rG,tileUrlFunction:e.tileUrlFunction,url:e.url,urls:e.urls,wrapX:e.wrapX===void 0?!0:e.wrapX,transition:e.transition,zDirection:e.zDirection===void 0?1:e.zDirection}),this.format_=e.format?e.format:null,this.tileKeysBySourceTileUrl_={},this.sourceTiles_={},this.overlaps_=e.overlaps==null?!0:e.overlaps,this.tileClass=e.tileClass?e.tileClass:Rz,this.tileGrids_={}}getOverlaps(){return this.overlaps_}getSourceTiles(e,t,i){if(i.getState()===Pi.IDLE){i.setState(Pi.LOADING);const r=i.wr Line truncated
`),o=[];for(let m=0,C=l.length;m<C;++m)o.push(rB(l[m],e,t,i));return o.join(`
`)}const r=t+","+e+","+n+","+i;let a=d3[r];if(!a){const l=n.split(" ");if(l.length>1){const o=Dz();o.font=e;const C=o.measureText("M").width*t;let S="";const O=[];for(let U=0,K=l.length;U<K;++U){const z=l[U],j=S+(S?" ":"")+z;pg(j,i)<=C?S=j:(S&&O.push(S),S=z)}S&&O.push(S);for(let U=0,K=O.length;U<K&&K>1;++U){const z=O[U];if(pg(z,i)<C*.35){const j=U>0?pg(O[U-1],i):1/0,Q=U<K-1?pg(O[U+1],i):1/0;O.splice(U,1),K-=1,j<Q?(O[U-1]+=" "+z,U-=1):O[U]=z+" "+O[U]}}for(let U=0,K=O.length-1;U<K;++U){const z=O[U],j=O[U+1];if(pg(z,i)>C*.7&&pg(j,i)<C*.6){const Q=z.split(" "),ee=Q.pop();pg(ee,i)<C*.2&&(O[U]=Q.join(" "),O[U+1]=ee+" "+j),K-=1}}a=O.join(`
`)}else a=n;a=iB(a,i),d3[r]=a}return a}const Ste=["Arial","Courier New","Times New Roman","Verdana","sans-serif","serif","monospace","cursive","fantasy"],q9={};function wte(n,e="https://cdn.jsdelivr.net/npm/@fontsource/{font-family}/{fontweight}{-fontstyle}.css"){let t;for(let i=0,r=n.length;i<r;++i){const a=n[i];if(a in q9)continue;q9[a]=!0;const o=P6(a,16).split(" ");t||(t=[]),t.push([o.slice(3).join(" ").replace(/"/g,""),o[1],o[0]])}return t&&(async()=>{await document.fonts.ready;for(let i=0,r=t.length;i<r;++i){const a=t[i],l=a[0];if(Ste.includes(l))continue;const o=a[1],m=a[2];if(!(await document.fonts.load(`${m} ${o} 16px "${l}"`)).some(S=>S.family.replace(/^['"]|['"]$/g,"").toLowerCase()===l.toLowerCase()&&S.weight==o&&S.style===m)){const S=e.replace("{font-family}",l.replace(/ /g,"-").toLowerCase()).replace("{Font+Family}",l.replace(/ /g,"+")).replace("{fontweight}",o).replace("{-fontstyle}",m.replace("normal","").replace(/(.+)/,"-$1")).replace("{fontstyle}",m);if(!document.querySelector('link[href="'+S+'"]')){const O=document.createElement("link");O.href=S,O.rel="stylesheet",document.head.appendChild(O)}}}})(),n}const Ete={Point:1,MultiPoint:1,LineString:2,MultiLineString:2,Polygon:3,MultiPolygon:3},Bte={center:[.5,.5],left:[0,.5],right:[1,.5],top:[.5,0],bottom:[.5,1],"top-left":[0,0],"top-right":[1,0],"bottom-left":[0,1],"bottom-right":[1,1]},Ote=function(n,e){const t=$3(n,e);if(t.result==="error")throw new Error(t.value.map(i=>`${i.key}: ${i.message}`).join(", "));return t.value},Ef={zoom:0,distanceFromCenter:0};Sf.register(Y3,{...Sf.definitions,pitch:[{kind:"number"},[],n=>Ef.pitch||90],"distance-from-center":[{kind:"number"},[],n=>Ef.distanceFromCenter||0]});let Xb,lM;function Cr(n,e,t,i,r,a){const l=n.id;r||(r={},console.warn("No functionCache provided to getValue()")),r[l]||(r[l]={});const o=r[l];if(!o[t]){let m=(n[e]||ep)[t];const C=xf[`${e}_${n.type}`][t];m===void 0&&(m=C.default);let S=jv(m);if(!S&&Gv(m)&&(m=XB(m,C),S=!0),S){const O=Ote(m,C);o[t]=O.evaluate.bind(O)}else C.type=="color"&&(m=tl.parse(m)),o[t]=function(){return m}}return o[t](Ef,i,a)}function H9(n,e,t,i){return Cr(n,"layout",`${t}-allow-overlap`,e,i)?Cr(n,"layout",`${t}-ignore-placement`,e,i)?"none":"obstacle":"declutter"}function Ite(n,e,t,i){if(i||console.warn("No filterCache provided to evaluateFilter()"),!(n in i))try{i[n]=KH(e).filter}catch(r){console.warn("Filter will evaluate to false: "+r.message),i[n]=function(){return!1}}return i[n](Ef,t)}function p1(n,e){if(n){if(n.a===0||e===0)return;const t=n.a;return e=e===void 0?1:e,t===0?"transparent":"rgba("+Math.round(n.r*255/t)+","+Math.round(n.g*255/t)+","+Math.round(n.b*255/t)+","+t*e+")"}return n}const Tte=/\{[^{}}]*\}/g;function AM(n,e){return n.replace(Tte,function(t){return e[t.slice(1,-1)]||""})}function V9(n,e){let t=n.split(":")[0];return t===n&&(t="default"),e[t]}const kte={};function Dte(n,e,t,i=Xp,r=void 0,a=void 0,l=void 0,o=void 0){if(typeof e=="string"&&(e=JSON.parse(e)),e.version!=8)throw new Error("glStyle version 8 required.");kte[_te(e,n)]=Array.from(arguments);const m={};(typeof a=="string"||a instanceof Request||a instanceof Response||a instanceof Promise)&&(a={default:a});for(const Z in a){const oe=a[Z];Tv(()=>oe).then(async W=>{let ue;if(typeof Image<"u"){const ge=new Image;if(typeof W=="string")ge.crossOrigin="anonymous",ge.src=W;else{let ye;W instanceof Request?ye=await fetch(W):W instanceof Response&&(ye=W);const Me=await ye.blob();ue=URL.createObjectURL(Me),ge.src=ue}ge.addEventListener("load",function ye(){ge.removeEventListener("load",ye),m[Z]={image:ge,size:[ge.width,ge.height]},n.changed(),ue&&URL.revokeObjectURL(ue)}),ge.addEventListener("error",function ye(){URL.revokeObjectURL(ue),ge.removeEventListener("error",ye)})}else if(typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope){const ge=self;ge.postMessage({action:"loadImage",src:W}),ge.addEventListener("message",function(Me){Me.data.action==="imageLoaded"&&Me.data.src===W&&(m[Z]={image:Me.data.image,size:[Me.data.image.width,Me.data.image.height]})})}})}const C=DB(e.layers),S={},O=[],U={},K={},z=Iz(e),j=bte(e);let Q;for(let Z=0,oe=C.length;Z<oe;++Z){const W=C[Z],ue=W.id;if(typeof t=="string"&&W.source==t||Array.isArray(t)&&t.indexOf(ue)!==-1){const ge=W["source-layer"];if(Q){if(W.source!==Q)throw new Error(`Layer "${ue}" does not use source "${Q}`)}else{Q=W.source;const Me=e.sources[Q];if(!Me)throw new Error(`Source "${Q}" is not defined`);const Be=Me.type;if(Be!=="vector"&&Be!=="geojson")throw new Error(`Source "${Q}" is not of type "vector" or "geojson", but "${Be}"`)}let ye=S[ge];ye||(ye=[],S[ge]=ye),ye.push({layer:W,index:Z}),O.push(ue)}}const ee=new S1,V=new k0,ae=[],ne=function(Z,oe,W){const ue=n.getSource?.()?.format_?.layerName_??"mvt:layer",ge=Z.getProperties(),ye=S[ge[ue]];if(!ye)return;let Me=i.indexOf(oe);Me==-1&&(Me=XO(oe,i)),Ef.zoom=Me,Ef.distanceFromCenter=0;const Be=Z.getGeometry(),we=Ete[Be.getType()],qe=n.get("map");if(qe&&qe instanceof C2&&we===1){const yt=qe.Line truncated
`)return Ge.push(`
`,""),Ge;if(we==2)return Ge.push(iB(Te,In),me),Ge;Te=rB(Te,me,Bi,In).split(`
`);for(let We=0,dt=Te.length;We<dt;++We)We>0&&Ge.push(`
`,""),Ge.push(Te[We],me);return Ge},[]):Wt=AM(Kn,ge).trim(),Rt=Cr(Ne,"paint","text-opacity",xe,z,ze)}if(Wt&&Rt&&!Jn){vt||(++ot,He=ae[ot],(!He||!He.getText()||He.getFill()||He.getStroke())&&(He=new Cf,ae[ot]=He),He.setImage(void 0),He.setGeometry(void 0));const ei=H9(Ne,xe,"text",z);He.getText()||He.setText(Ot),Ot=He.getText(),(!Ot||"getDeclutterMode"in Ot&&Ot.getDeclutterMode()!==ei)&&(Ot=new g2({padding:[2,2,2,2],declutterMode:ei}),He.setText(Ot));const Kn=Cr(Ne,"layout","text-transform",xe,z,ze);Kn=="uppercase"?Wt=Array.isArray(Wt)?Wt.map((kt,it)=>it%2?kt:kt.toUpperCase()):Wt.toUpperCase():Kn=="lowercase"&&(Wt=Array.isArray(Wt)?Wt.map((kt,it)=>it%2?kt:kt.toLowerCase()):Wt.toLowerCase());const Ge=Array.isArray(Wt)?Wt:we==2?iB(Wt,In):rB(Wt,$n,Bi,In);if(Ot.setText(Ge),Ot.setFont($n),Ot.setRotation(aM(Cr(Ne,"layout","text-rotate",xe,z,ze))),typeof Ot.setKeepUpright=="function"){const kt=Cr(Ne,"layout","text-keep-upright",xe,z,ze);Ot.setKeepUpright(kt)}const de=Cr(Ne,"layout","text-anchor",xe,z,ze),re=vt||we==1?"point":Cr(Ne,"layout","symbol-placement",xe,z,ze);let le;if(re==="line-center"?(Ot.setPlacement("line"),le="center"):Ot.setPlacement(re),re==="line"&&typeof Ot.setRepeat=="function"){const kt=Cr(Ne,"layout","symbol-spacing",xe,z,ze);Ot.setRepeat(kt*2)}Ot.setOverflow(re==="point");let me=Cr(Ne,"paint","text-halo-width",xe,z,ze);const Te=Cr(Ne,"layout","text-offset",xe,z,ze),We=Cr(Ne,"paint","text-translate",xe,z,ze);let dt=0,Ye=0;if(re=="point"){le="center",de.indexOf("left")!==-1?(le="left",Ye=me):de.indexOf("right")!==-1&&(le="right",Ye=-me);const kt=Cr(Ne,"layout","text-rotation-alignment",xe,z,ze);Ot.setRotateWithView(kt=="map")}else Ot.setMaxAngle(aM(Cr(Ne,"layout","text-max-angle",xe,z,ze))*Wt.length/Ge.length),Ot.setRotateWithView(!1);Ot.setTextAlign(le);let De="middle";de.indexOf("bottom")==0?(De="bottom",dt=-me-.5*(On-1)*Bn):de.indexOf("top")==0&&(De="top",dt=me+.5*(On-1)*Bn),Ot.setTextBaseline(De);const Ze=Cr(Ne,"layout","text-justify",xe,z,ze);Ot.setJustify(Ze==="auto"?void 0:Ze),Ot.setOffsetX(Te[0]*Bn+Ye+We[0]),Ot.setOffsetY(Te[1]*Bn+dt+We[1]),V.setColor(p1(Cr(Ne,"paint","text-color",xe,z,ze),Rt)),Ot.setFill(V);const g=p1(Cr(Ne,"paint","text-halo-color",xe,z,ze),Rt);if(g&&me>0){ee.setColor(g),me*=2;const kt=.5*Bn;ee.setWidth(me<=kt?me:kt),Ot.setStroke(ee)}else Ot.setStroke(void 0);const gt=Cr(Ne,"layout","text-padding",xe,z,ze),ht=Ot.getPadding();gt!==ht[0]&&(ht[0]=gt,ht[1]=gt,ht[2]=gt,ht[3]=gt),He.setZIndex(bt)}}}if(ot>-1)return ae.length=ot+1,ae};return n.setStyle(ne),n.set("mapbox-layers",O),n.set("mapbox-source",Q),n.set("mapbox-featurestate",n.get("mapbox-featurestate")||{}),ne}class Rz{constructor(){this.dataProjection=void 0,this.defaultFeatureProjection=void 0,this.featureClass=_2,this.supportedMediaTypes=null}getReadOptions(e,t){if(t){let i=t.dataProjection?Ws(t.dataProjection):this.readProjection(e);t.extent&&i&&i.getUnits()==="tile-pixels"&&(i=Ws(i),i.setWorldExtent(t.extent)),t={dataProjection:i,featureProjection:t.featureProjection}}return this.adaptOptions(t)}adaptOptions(e){return Object.assign({dataProjection:this.dataProjection,featureProjection:this.defaultFeatureProjection,featureClass:this.featureClass},e)}getType(){return Co()}readFeature(e,t){return Co()}readFeatures(e,t){return Co()}readGeometry(e,t){return Co()}readProjection(e){return Co()}writeFeature(e,t){return Co()}writeFeatures(e,t){return Co()}writeGeometry(e,t){return Co()}}function x2(n,e,t){const i=t?Ws(t.featureProjection):null,r=t?Ws(t.dataProjection):null;let a=n;if(i&&r&&!R1(i,r)){e&&(a=n.clone());const l=e?i:r,o=e?r:i;l.getUnits()==="tile-pixels"?a.transform(l,o):a.applyTransform(M_(l,o))}if(e&&t&&t.decimals!==void 0){const l=Math.pow(10,t.decimals),o=function(m){for(let C=0,S=m.length;C<S;++C)m[C]=Math.round(m[C]*l)/l;return m};a===n&&(a=n.clone()),a.applyTransform(o)}return a}const Rte={Point:Qg,LineString:qg,Polygon:F0,MultiPoint:yb,MultiLineString:D_,MultiPolygon:R_};function Pte(n,e,t){return Array.isArray(e[0])?(jF(n,0,e,t)||(n=n.slice(),H6(n,0,e,t)),n):(EO(n,0,e,t)||(n=n.slice(),t3(n,0,e,t)),n)}function Pz(n,e){const t=n.geometry;if(!t)return[];if(Array.isArray(t))return t.map(a=>Pz({...n,geometry:a})).flat();const i=t.type==="MultiPolygon"?"Polygon":t.type;if(i==="GeometryCollection"||i==="Circle")throw new Error("Unsupported geometry type: "+i);const r=t.layout.length;return x2(new Fh(i,i==="Polygon"?Pte(t.flatCoordinates,t.ends,r):t.flatCoordinates,t.ends?.flat(),r,n.properties||{},n.id).enableSimplifyTransformed(),!1,e)}function JO(n,e){if(!n)return null;if(Array.isArray(n)){const i=n.map(r=>JO(r,e));return new l3(i)}const t=Rte[n.type];return x2(new t(n.flatCoordinates,n.layout||"XY",n.ends),!1,e)}class Kte extends Rz{constructor(){super()}getType(){return"json"}readFeature(e,t){return this.readFeatureFromObject(Jb(e),this.getReadOptions(e,t))}readFeatures(e,t){return this.readFeaturesFromObject(Jb(e),this.getReadOptions(e,t))}readFeatureFromObject(e,t){return Co()}readFeaturesFromObject(e, Line truncated
`),"binary").toString("base64"):URL.createObjectURL(new Blob(i,{type:"text/javascript"})));return r.addEventListener("message",e),r}function Wne(n,e){const t=Hz(n.operation);let i=!1;return{postMessage:function(r){setTimeout(function(){i||e({data:{buffer:t(r),meta:r.meta}})},0)},terminate:function(){i=!0}}}class Qne extends ab{constructor(e){super(),this.imageOps_=!!e.imageOps;let t;e.threads===0?t=0:this.imageOps_?t=1:t=e.threads||1;const i=new Array(t);if(t)for(let r=0;r<t;++r)i[r]=jne(e,this.onWorkerMessage_.bind(this,r));else i[0]=Wne(e,this.onWorkerMessage_.bind(this,0));this.workers_=i,this.queue_=[],this.maxQueueLength_=e.queue||1/0,this.running_=0,this.dataLookup_={},this.job_=null}process(e,t,i){this.enqueue_({inputs:e,meta:t,callback:i}),this.dispatch_()}enqueue_(e){for(this.queue_.push(e);this.queue_.length>this.maxQueueLength_;)this.queue_.shift().callback(null,null)}dispatch_(){if(this.running_||this.queue_.length===0)return;const e=this.queue_.shift();this.job_=e;const t=e.inputs[0].width,i=e.inputs[0].height,r=e.inputs.map(function(m){return m.data.buffer}),a=this.workers_.length;if(this.running_=a,a===1){this.workers_[0].postMessage({buffers:r,meta:e.meta,imageOps:this.imageOps_,width:t,height:i},r);return}const l=e.inputs[0].data.length,o=4*Math.ceil(l/4/a);for(let m=0;m<a;++m){const C=m*o,S=[];for(let O=0,U=r.length;O<U;++O)S.push(r[O].slice(C,C+o));this.workers_[m].postMessage({buffers:S,meta:e.meta,imageOps:this.imageOps_,width:t,height:i},S)}}onWorkerMessage_(e,t){this.disposed||(this.dataLookup_[e]=t.data,--this.running_,this.running_===0&&this.resolveJob_())}resolveJob_(){const e=this.job_,t=this.workers_.length;let i,r;if(t===1)i=new Uint8ClampedArray(this.dataLookup_[0].buffer),r=this.dataLookup_[0].meta;else{const a=e.inputs[0].data.length;i=new Uint8ClampedArray(a),r=new Array(t);const l=4*Math.ceil(a/4/t);for(let o=0;o<t;++o){const m=this.dataLookup_[o].buffer,C=o*l;i.set(new Uint8ClampedArray(m),C),r[o]=this.dataLookup_[o].meta}}this.job_=null,this.dataLookup_={},e.callback(null,new ImageData(i,e.inputs[0].width,e.inputs[0].height),r),this.dispatch_()}disposeInternal(){for(let e=0;e<this.workers_.length;++e)this.workers_[e].terminate();this.workers_.length=0}}const oT={BEFOREOPERATIONS:"beforeoperations",AFTEROPERATIONS:"afteroperations"};class aT extends Ap{constructor(e,t,i){super(e),this.extent=t.extent,this.resolution=t.viewState.resolution/t.pixelRatio,this.data=i}}class Vz extends Wz{constructor(e){super({projection:null}),this.on,this.once,this.un,this.processor_=null,this.operationType_=e.operationType!==void 0?e.operationType:"pixel",this.threads_=e.threads!==void 0?e.threads:1,this.layers_=Hne(e.sources);const t=this.changed.bind(this);for(let i=0,r=this.layers_.length;i<r;++i)this.layers_[i].addEventListener(mo.CHANGE,t);this.useResolutions_=e.resolutions!==null,this.tileQueue_=new fF(function(){return 1},this.processSources_.bind(this)),this.requestedFrameState_,this.renderedImageCanvas_=null,this.renderedRevision_,this.frameState_={animate:!1,coordinateToPixelTransform:Yd(),declutter:null,extent:null,index:0,layerIndex:0,layerStatesArray:qne(this.layers_),pixelRatio:1,pixelToCoordinateTransform:Yd(),postRenderFunctions:[],size:[0,0],tileQueue:this.tileQueue_,time:Date.now(),usedTiles:{},viewState:{rotation:0},viewHints:[],wantedTiles:{},mapId:Io(this),renderTargets:{}},this.setAttributions(function(i){const r=[];for(let a=0,l=e.sources.length;a<l;++a){const o=e.sources[a],m=o instanceof Vv?o:o.getSource();if(!m)continue;const C=m.getAttributions()?.(i);typeof C=="string"?r.push(C):C!==void 0&&r.push(...C)}return r}),e.operation!==void 0&&this.setOperation(e.operation,e.lib)}setOperation(e,t){this.processor_&&this.processor_.dispose(),this.processor_=new Qne({operation:e,imageOps:this.operationType_==="image",queue:1,lib:t,threads:this.threads_}),this.changed()}updateFrameState_(e,t,i){const r=Object.assign({},this.frameState_);r.viewState=Object.assign({},r.viewState);const a=Bf(e);r.size[0]=Math.ceil(as(e)/t),r.size[1]=Math.ceil(nc(e)/t),r.extent=[a[0]-r.size[0]*t/2,a[1]-r.size[1]*t/2,a[0]+r.size[0]*t/2,a[1]+r.size[1]*t/2],r.time=Date.now();const l=r.viewState;return l.center=a,l.projection=i,l.resolution=t,r}allSourcesReady_(){let e=!0,t;for(let i=0,r=this.layers_.length;i<r;++i)if(t=this.layers_[i].getSource(),!t||t.getState()!=="ready"){e=!1;break}return e}getImage(e,t,i,r){if(!this.allSourcesReady_())return null;this.tileQueue_.loadMoreTiles(16,16),t=this.findNearestResolution(t);const a=this.updateFrameState_(e,t,r);if(this.requestedFrameState_=a,this.renderedImageCanvas_){const l=this.renderedImageCanvas_.getResolution(),o=this.renderedImageCanvas_.getExtent();(t!==l||!L0(a.extent,o))&&(this.renderedImageCanvas_=null)}return(!this.renderedImageCanvas_||this.getRevision()!==this.renderedRevision_)&&this.processSources_(),a.animate&&requestAnimationFrame(this.changed.bind(this)),this.renderedImageCanvas_}processSources_(){const e=this.requestedFrameState_,t=th Line truncated
`);this.generateTileUrlFunction_?this.setTileUrlFunction($z(e,this.tileGrid),t):this.setKey(t)}tileUrlFunction(e,t,i){}}class oie extends w2{constructor(e){super({attributions:e.attributions,cacheSize:e.cacheSize,projection:e.projection,state:e.state,tileGrid:e.tileGrid,tileLoadFunction:e.tileLoadFunction?e.tileLoadFunction:aie,tilePixelRatio:e.tilePixelRatio,tileUrlFunction:e.tileUrlFunction,url:e.url,urls:e.urls,wrapX:e.wrapX,transition:e.transition,interpolate:e.interpolate!==void 0?e.interpolate:!0,key:e.key,attributionsCollapsible:e.attributionsCollapsible,zDirection:e.zDirection}),this.crossOrigin=e.crossOrigin!==void 0?e.crossOrigin:null,this.tileClass=e.tileClass!==void 0?e.tileClass:Ez,this.tileGridForProjection={},this.reprojectionErrorThreshold_=e.reprojectionErrorThreshold,this.renderReprojectionEdges_=!1}getGutterForProjection(e){return this.getProjection()&&e&&!R1(this.getProjection(),e)?0:this.getGutter()}getGutter(){return 0}getKey(){let e=super.getKey();return this.getInterpolate()||(e+=":disable-interpolation"),e}getTileGridForProjection(e){const t=this.getProjection();if(this.tileGrid&&(!t||R1(t,e)))return this.tileGrid;const i=Io(e);return i in this.tileGridForProjection||(this.tileGridForProjection[i]=Qz(e)),this.tileGridForProjection[i]}createTile_(e,t,i,r,a,l){const o=[e,t,i],m=this.getTileCoordForTileUrlFunction(o,a),C=m?this.tileUrlFunction(m,r,a):void 0,S=new this.tileClass(o,C!==void 0?Pi.IDLE:Pi.EMPTY,C!==void 0?C:"",this.crossOrigin,this.tileLoadFunction,this.tileOptions);return S.key=l,S.addEventListener(mo.CHANGE,this.handleTileChange.bind(this)),S}getTile(e,t,i,r,a){const l=this.getProjection();if(!l||!a||R1(l,a))return this.getTileInternal(e,t,i,r,l||a);const o=[e,t,i],m=this.getKey(),C=this.getTileGridForProjection(l),S=this.getTileGridForProjection(a),O=this.getTileCoordForTileUrlFunction(o,a),U=new Nz(l,C,a,S,o,O,this.getTilePixelRatio(r),this.getGutter(),(K,z,j,Q)=>this.getTileInternal(K,z,j,Q,l),this.reprojectionErrorThreshold_,this.renderReprojectionEdges_,this.tileOptions);return U.key=m,U}getTileInternal(e,t,i,r,a){const l=this.getKey();return this.createTile_(e,t,i,r,a,l)}setRenderReprojectionEdges(e){this.renderReprojectionEdges_!=e&&(this.renderReprojectionEdges_=e,this.changed())}setTileGridForProjection(e,t){const i=Ws(e);if(i){const r=Io(i);r in this.tileGridForProjection||(this.tileGridForProjection[r]=t)}}}function aie(n,e){n.getImage().src=e}class Zz extends oie{constructor(e){if(super({attributions:e.attributions,cacheSize:e.cacheSize,crossOrigin:e.crossOrigin,interpolate:e.interpolate,projection:Ws("EPSG:3857"),reprojectionErrorThreshold:e.reprojectionErrorThreshold,state:"loading",tileLoadFunction:e.tileLoadFunction,wrapX:e.wrapX!==void 0?e.wrapX:!0,transition:e.transition,zDirection:e.zDirection}),this.tileJSON_=null,this.tileSize_=e.tileSize,e.url)if(e.jsonp)$ne(e.url,this.handleTileJSONResponse.bind(this),this.handleTileJSONError.bind(this));else{const t=new XMLHttpRequest;t.addEventListener("load",this.onXHRLoad_.bind(this)),t.addEventListener("error",this.onXHRError_.bind(this)),t.open("GET",e.url),t.send()}else if(e.tileJSON)this.handleTileJSONResponse(e.tileJSON);else throw new Error("Either `url` or `tileJSON` options must be provided")}onXHRLoad_(e){const t=e.target;if(!t.status||t.status>=200&&t.status<300){let i;try{i=JSON.parse(t.responseText)}catch{this.handleTileJSONError();return}this.handleTileJSONResponse(i)}else this.handleTileJSONError()}onXHRError_(e){this.handleTileJSONError()}getTileJSON(){return this.tileJSON_}handleTileJSONResponse(e){const t=Ws("EPSG:4326"),i=this.getProjection();let r;if(e.bounds!==void 0){const C=cb(t,i);r=SZ(e.bounds,C)}const a=S2(i),l=e.minzoom||0,o=e.maxzoom||22,m=t8({extent:a,maxZoom:o,minZoom:l,tileSize:this.tileSize_});if(this.tileGrid=m,this.tileUrlFunction=$z(e.tiles,m),e.attribution&&!this.getAttributions()){const C=r!==void 0?r:a;this.setAttributions(function(S){return uu(C,S.extent)?[e.attribution]:null})}this.tileJSON_=e,this.setState("ready")}handleTileJSONError(){this.setState("error")}}class n8 extends w2{constructor(e){const t=e.projection||"EPSG:3857",i=e.extent||S2(t),r=e.tileGrid||t8({extent:i,maxResolution:e.maxResolution,maxZoom:e.maxZoom!==void 0?e.maxZoom:22,minZoom:e.minZoom,tileSize:e.tileSize||512});super({attributions:e.attributions,attributionsCollapsible:e.attributionsCollapsible,cacheSize:e.cacheSize,interpolate:!0,projection:t,state:e.state,tileGrid:r,tileLoadFunction:e.tileLoadFunction?e.tileLoadFunction:Xz,tileUrlFunction:e.tileUrlFunction,url:e.url,urls:e.urls,wrapX:e.wrapX===void 0?!0:e.wrapX,transition:e.transition,zDirection:e.zDirection===void 0?1:e.zDirection}),this.format_=e.format?e.format:null,this.tileKeysBySourceTileUrl_={},this.sourceTiles_={},this.overlaps_=e.overlaps==null?!0:e.overlaps,this.tileClass=e.tileClass?e.tileClass:Bz,this.tileGrids_={}}getOverlaps(){return this.overlaps_}getSourceTiles(e,t,i){if(i.getState()===Pi.IDLE){i.setState(Pi.LOADING);const r=i.wr Line truncated
Copyright (c) 2018 Jed Watson.
Licensed under the MIT License (MIT), see
http://jedwatson.github.io/classnames
*/var pT;function Kie(){return pT||(pT=1,function(n){(function(){var e={}.hasOwnProperty;function t(){for(var a="",l=0;l<arguments.length;l++){var o=arguments[l];o&&(a=r(a,i(o)))}return a}function i(a){if(typeof a=="string"||typeof a=="number")return a;if(typeof a!="object")return"";if(Array.isArray(a))return t.apply(null,a);if(a.toString!==Object.prototype.toString&&!a.toString.toString().includes("[native code]"))return a.toString();var l="";for(var o in a)e.call(a,o)&&a[o]&&(l=r(l,o));return l}function r(a,l){return l?a?a+" "+l:a+l:a}n.exports?(t.default=t,n.exports=t):window.classNames=t})()}(xM)),xM.exports}var Uie=Kie();const e0=WA(Uie);var LC=P3();function Lie(){for(var n=arguments.length,e=new Array(n),t=0;t<n;t++)e[t]=arguments[t];return Nt.useMemo(()=>i=>{e.forEach(r=>r(i))},e)}const D2=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function $v(n){const e=Object.prototype.toString.call(n);return e==="[object Window]"||e==="[object global]"}function A8(n){return"nodeType"in n}function Vd(n){var e,t;return n?$v(n)?n:A8(n)&&(e=(t=n.ownerDocument)==null?void 0:t.defaultView)!=null?e:window:window}function u8(n){const{Document:e}=Vd(n);return n instanceof e}function Eb(n){return $v(n)?!1:n instanceof Vd(n).HTMLElement}function hG(n){return n instanceof Vd(n).SVGElement}function Zv(n){return n?$v(n)?n.document:A8(n)?u8(n)?n:Eb(n)||hG(n)?n.ownerDocument:document:document:document}const t0=D2?Nt.useLayoutEffect:Nt.useEffect;function c8(n){const e=Nt.useRef(n);return t0(()=>{e.current=n}),Nt.useCallback(function(){for(var t=arguments.length,i=new Array(t),r=0;r<t;r++)i[r]=arguments[r];return e.current==null?void 0:e.current(...i)},[])}function Fie(){const n=Nt.useRef(null),e=Nt.useCallback((i,r)=>{n.current=setInterval(i,r)},[]),t=Nt.useCallback(()=>{n.current!==null&&(clearInterval(n.current),n.current=null)},[]);return[e,t]}function G_(n,e){e===void 0&&(e=[n]);const t=Nt.useRef(n);return t0(()=>{t.current!==n&&(t.current=n)},e),t}function Bb(n,e){const t=Nt.useRef();return Nt.useMemo(()=>{const i=n(t.current);return t.current=i,i},[...e])}function _3(n){const e=c8(n),t=Nt.useRef(null),i=Nt.useCallback(r=>{r!==t.current&&e?.(r,t.current),t.current=r},[]);return[t,i]}function pB(n){const e=Nt.useRef();return Nt.useEffect(()=>{e.current=n},[n]),e.current}let MM={};function Ob(n,e){return Nt.useMemo(()=>{if(e)return e;const t=MM[n]==null?0:MM[n]+1;return MM[n]=t,n+"-"+t},[n,e])}function dG(n){return function(e){for(var t=arguments.length,i=new Array(t>1?t-1:0),r=1;r<t;r++)i[r-1]=arguments[r];return i.reduce((a,l)=>{const o=Object.entries(l);for(const[m,C]of o){const S=a[m];S!=null&&(a[m]=S+n*C)}return a},{...e})}}const Cv=dG(1),b3=dG(-1);function zie(n){return"clientX"in n&&"clientY"in n}function h8(n){if(!n)return!1;const{KeyboardEvent:e}=Vd(n.target);return e&&n instanceof e}function Gie(n){if(!n)return!1;const{TouchEvent:e}=Vd(n.target);return e&&n instanceof e}function gB(n){if(Gie(n)){if(n.touches&&n.touches.length){const{clientX:e,clientY:t}=n.touches[0];return{x:e,y:t}}else if(n.changedTouches&&n.changedTouches.length){const{clientX:e,clientY:t}=n.changedTouches[0];return{x:e,y:t}}}return zie(n)?{x:n.clientX,y:n.clientY}:null}const N_=Object.freeze({Translate:{toString(n){if(!n)return;const{x:e,y:t}=n;return"translate3d("+(e?Math.round(e):0)+"px, "+(t?Math.round(t):0)+"px, 0)"}},Scale:{toString(n){if(!n)return;const{scaleX:e,scaleY:t}=n;return"scaleX("+e+") scaleY("+t+")"}},Transform:{toString(n){if(n)return[N_.Translate.toString(n),N_.Scale.toString(n)].join(" ")}},Transition:{toString(n){let{property:e,duration:t,easing:i}=n;return e+" "+t+"ms "+i}}}),gT="a,frame,iframe,input:not([type=hidden]):not(:disabled),select:not(:disabled),textarea:not(:disabled),button:not(:disabled),*[tabindex]";function Nie(n){return n.matches(gT)?n:n.querySelector(gT)}const jie={display:"none"};function Wie(n){let{id:e,value:t}=n;return ni.createElement("div",{id:e,style:jie},t)}function Qie(n){let{id:e,announcement:t,ariaLiveType:i="assertive"}=n;const r={position:"fixed",top:0,left:0,width:1,height:1,margin:-1,border:0,padding:0,overflow:"hidden",clip:"rect(0 0 0 0)",clipPath:"inset(100%)",whiteSpace:"nowrap"};return ni.createElement("div",{id:e,style:r,role:"status","aria-live":i,"aria-atomic":!0},t)}function Yie(){const[n,e]=Nt.useState("");return{announce:Nt.useCallback(i=>{i!=null&&e(i)},[]),announcement:n}}const fG=Nt.createContext(null);function qie(n){const e=Nt.useContext(fG);Nt.useEffect(()=>{if(!e)throw new Error("useDndMonitor must be used within a children of <DndContext>");return e(n)},[n,e])}function Hie(){const[n]=Nt.useState(()=>new Set),e=Nt.useCallback(i=>(n.add(i),()=>n.delete(i)),[n]);return[Nt.useCallback(i=>{let{type:r,event:a}=i;n.forEach(l=>{var o;return(o=l[r])==null?void 0:o.call(l,a)})},[n]),e]}const Vie={draggable:`
*/var uT;function Mie(){return uT||(uT=1,function(n){(function(){var e={}.hasOwnProperty;function t(){for(var a="",l=0;l<arguments.length;l++){var o=arguments[l];o&&(a=r(a,i(o)))}return a}function i(a){if(typeof a=="string"||typeof a=="number")return a;if(typeof a!="object")return"";if(Array.isArray(a))return t.apply(null,a);if(a.toString!==Object.prototype.toString&&!a.toString.toString().includes("[native code]"))return a.toString();var l="";for(var o in a)e.call(a,o)&&a[o]&&(l=r(l,o));return l}function r(a,l){return l?a?a+" "+l:a+l:a}n.exports?(t.default=t,n.exports=t):window.classNames=t})()}(gM)),gM.exports}var Sie=Mie();const e0=WA(Sie);var LC=O3();function wie(){for(var n=arguments.length,e=new Array(n),t=0;t<n;t++)e[t]=arguments[t];return Gt.useMemo(()=>i=>{e.forEach(r=>r(i))},e)}const E2=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function $v(n){const e=Object.prototype.toString.call(n);return e==="[object Window]"||e==="[object global]"}function i8(n){return"nodeType"in n}function Hd(n){var e,t;return n?$v(n)?n:i8(n)&&(e=(t=n.ownerDocument)==null?void 0:t.defaultView)!=null?e:window:window}function r8(n){const{Document:e}=Hd(n);return n instanceof e}function _b(n){return $v(n)?!1:n instanceof Hd(n).HTMLElement}function aN(n){return n instanceof Hd(n).SVGElement}function Zv(n){return n?$v(n)?n.document:i8(n)?r8(n)?n:_b(n)||aN(n)?n.ownerDocument:document:document:document}const t0=E2?Gt.useLayoutEffect:Gt.useEffect;function o8(n){const e=Gt.useRef(n);return t0(()=>{e.current=n}),Gt.useCallback(function(){for(var t=arguments.length,i=new Array(t),r=0;r<t;r++)i[r]=arguments[r];return e.current==null?void 0:e.current(...i)},[])}function Eie(){const n=Gt.useRef(null),e=Gt.useCallback((i,r)=>{n.current=setInterval(i,r)},[]),t=Gt.useCallback(()=>{n.current!==null&&(clearInterval(n.current),n.current=null)},[]);return[e,t]}function P_(n,e){e===void 0&&(e=[n]);const t=Gt.useRef(n);return t0(()=>{t.current!==n&&(t.current=n)},e),t}function bb(n,e){const t=Gt.useRef();return Gt.useMemo(()=>{const i=n(t.current);return t.current=i,i},[...e])}function m3(n){const e=o8(n),t=Gt.useRef(null),i=Gt.useCallback(r=>{r!==t.current&&e?.(r,t.current),t.current=r},[]);return[t,i]}function uB(n){const e=Gt.useRef();return Gt.useEffect(()=>{e.current=n},[n]),e.current}let yM={};function xb(n,e){return Gt.useMemo(()=>{if(e)return e;const t=yM[n]==null?0:yM[n]+1;return yM[n]=t,n+"-"+t},[n,e])}function sN(n){return function(e){for(var t=arguments.length,i=new Array(t>1?t-1:0),r=1;r<t;r++)i[r-1]=arguments[r];return i.reduce((a,l)=>{const o=Object.entries(l);for(const[m,C]of o){const S=a[m];S!=null&&(a[m]=S+n*C)}return a},{...e})}}const Cv=sN(1),p3=sN(-1);function Bie(n){return"clientX"in n&&"clientY"in n}function a8(n){if(!n)return!1;const{KeyboardEvent:e}=Hd(n.target);return e&&n instanceof e}function Oie(n){if(!n)return!1;const{TouchEvent:e}=Hd(n.target);return e&&n instanceof e}function cB(n){if(Oie(n)){if(n.touches&&n.touches.length){const{clientX:e,clientY:t}=n.touches[0];return{x:e,y:t}}else if(n.changedTouches&&n.changedTouches.length){const{clientX:e,clientY:t}=n.changedTouches[0];return{x:e,y:t}}}return Bie(n)?{x:n.clientX,y:n.clientY}:null}const K_=Object.freeze({Translate:{toString(n){if(!n)return;const{x:e,y:t}=n;return"translate3d("+(e?Math.round(e):0)+"px, "+(t?Math.round(t):0)+"px, 0)"}},Scale:{toString(n){if(!n)return;const{scaleX:e,scaleY:t}=n;return"scaleX("+e+") scaleY("+t+")"}},Transform:{toString(n){if(n)return[K_.Translate.toString(n),K_.Scale.toString(n)].join(" ")}},Transition:{toString(n){let{property:e,duration:t,easing:i}=n;return e+" "+t+"ms "+i}}}),cT="a,frame,iframe,input:not([type=hidden]):not(:disabled),select:not(:disabled),textarea:not(:disabled),button:not(:disabled),*[tabindex]";function Iie(n){return n.matches(cT)?n:n.querySelector(cT)}const Tie={display:"none"};function kie(n){let{id:e,value:t}=n;return ni.createElement("div",{id:e,style:Tie},t)}function Die(n){let{id:e,announcement:t,ariaLiveType:i="assertive"}=n;const r={position:"fixed",top:0,left:0,width:1,height:1,margin:-1,border:0,padding:0,overflow:"hidden",clip:"rect(0 0 0 0)",clipPath:"inset(100%)",whiteSpace:"nowrap"};return ni.createElement("div",{id:e,style:r,role:"status","aria-live":i,"aria-atomic":!0},t)}function Rie(){const[n,e]=Gt.useState("");return{announce:Gt.useCallback(i=>{i!=null&&e(i)},[]),announcement:n}}const lN=Gt.createContext(null);function Pie(n){const e=Gt.useContext(lN);Gt.useEffect(()=>{if(!e)throw new Error("useDndMonitor must be used within a children of <DndContext>");return e(n)},[n,e])}function Kie(){const[n]=Gt.useState(()=>new Set),e=Gt.useCallback(i=>(n.add(i),()=>n.delete(i)),[n]);return[Gt.useCallback(i=>{let{type:r,event:a}=i;n.forEach(l=>{var o;return(o=l[r])==null?void 0:o.call(l,a)})},[n]),e]}const Uie={draggable:`
To pick up a draggable item, press the space bar.
While dragging, use the arrow keys to move the item.
Press space again to drop the item in its new position, or press escape to cancel.
`},$ie={onDragStart(n){let{active:e}=n;return"Picked up draggable item "+e.id+"."},onDragOver(n){let{active:e,over:t}=n;return t?"Draggable item "+e.id+" was moved over droppable area "+t.id+".":"Draggable item "+e.id+" is no longer over a droppable area."},onDragEnd(n){let{active:e,over:t}=n;return t?"Draggable item "+e.id+" was dropped over droppable area "+t.id:"Draggable item "+e.id+" was dropped."},onDragCancel(n){let{active:e}=n;return"Dragging was cancelled. Draggable item "+e.id+" was dropped."}};function Zie(n){let{announcements:e=$ie,container:t,hiddenTextDescribedById:i,screenReaderInstructions:r=Vie}=n;const{announce:a,announcement:l}=Yie(),o=Ob("DndLiveRegion"),[m,C]=Nt.useState(!1);if(Nt.useEffect(()=>{C(!0)},[]),qie(Nt.useMemo(()=>({onDragStart(O){let{active:U}=O;a(e.onDragStart({active:U}))},onDragMove(O){let{active:U,over:K}=O;e.onDragMove&&a(e.onDragMove({active:U,over:K}))},onDragOver(O){let{active:U,over:K}=O;a(e.onDragOver({active:U,over:K}))},onDragEnd(O){let{active:U,over:K}=O;a(e.onDragEnd({active:U,over:K}))},onDragCancel(O){let{active:U,over:K}=O;a(e.onDragCancel({active:U,over:K}))}}),[a,e])),!m)return null;const S=ni.createElement(ni.Fragment,null,ni.createElement(Wie,{id:i,value:r.draggable}),ni.createElement(Qie,{id:o,announcement:l}));return t?LC.createPortal(S,t):S}var Cc;(function(n){n.DragStart="dragStart",n.DragMove="dragMove",n.DragEnd="dragEnd",n.DragCancel="dragCancel",n.DragOver="dragOver",n.RegisterDroppable="registerDroppable",n.SetDroppableDisabled="setDroppableDisabled",n.UnregisterDroppable="unregisterDroppable"})(Cc||(Cc={}));function x3(){}function Xie(n,e){return Nt.useMemo(()=>({sensor:n,options:e??{}}),[n,e])}function Jie(){for(var n=arguments.length,e=new Array(n),t=0;t<n;t++)e[t]=arguments[t];return Nt.useMemo(()=>[...e].filter(i=>i!=null),[...e])}const ap=Object.freeze({x:0,y:0});function ere(n,e){return Math.sqrt(Math.pow(n.x-e.x,2)+Math.pow(n.y-e.y,2))}function tre(n,e){let{data:{value:t}}=n,{data:{value:i}}=e;return t-i}function nre(n,e){let{data:{value:t}}=n,{data:{value:i}}=e;return i-t}function ire(n,e){if(!n||n.length===0)return null;const[t]=n;return t[e]}function yT(n,e,t){return e===void 0&&(e=n.left),t===void 0&&(t=n.top),{x:e+n.width*.5,y:t+n.height*.5}}const rre=n=>{let{collisionRect:e,droppableRects:t,droppableContainers:i}=n;const r=yT(e,e.left,e.top),a=[];for(const l of i){const{id:o}=l,m=t.get(o);if(m){const C=ere(yT(m),r);a.push({id:o,data:{droppableContainer:l,value:C}})}}return a.sort(tre)};function ore(n,e){const t=Math.max(e.top,n.top),i=Math.max(e.left,n.left),r=Math.min(e.left+e.width,n.left+n.width),a=Math.min(e.top+e.height,n.top+n.height),l=r-i,o=a-t;if(i<r&&t<a){const m=e.width*e.height,C=n.width*n.height,S=l*o,O=S/(m+C-S);return Number(O.toFixed(4))}return 0}const are=n=>{let{collisionRect:e,droppableRects:t,droppableContainers:i}=n;const r=[];for(const a of i){const{id:l}=a,o=t.get(l);if(o){const m=ore(o,e);m>0&&r.push({id:l,data:{droppableContainer:a,value:m}})}}return r.sort(nre)};function sre(n,e,t){return{...n,scaleX:e&&t?e.width/t.width:1,scaleY:e&&t?e.height/t.height:1}}function mG(n,e){return n&&e?{x:n.left-e.left,y:n.top-e.top}:ap}function lre(n){return function(t){for(var i=arguments.length,r=new Array(i>1?i-1:0),a=1;a<i;a++)r[a-1]=arguments[a];return r.reduce((l,o)=>({...l,top:l.top+n*o.y,bottom:l.bottom+n*o.y,left:l.left+n*o.x,right:l.right+n*o.x}),{...t})}}const Are=lre(1);function ure(n){if(n.startsWith("matrix3d(")){const e=n.slice(9,-1).split(/, /);return{x:+e[12],y:+e[13],scaleX:+e[0],scaleY:+e[5]}}else if(n.startsWith("matrix(")){const e=n.slice(7,-1).split(/, /);return{x:+e[4],y:+e[5],scaleX:+e[0],scaleY:+e[3]}}return null}function cre(n,e,t){const i=ure(e);if(!i)return n;const{scaleX:r,scaleY:a,x:l,y:o}=i,m=n.left-l-(1-r)*parseFloat(t),C=n.top-o-(1-a)*parseFloat(t.slice(t.indexOf(" ")+1)),S=r?n.width/r:n.width,O=a?n.height/a:n.height;return{width:S,height:O,top:C,right:m+S,bottom:C+O,left:m}}const hre={ignoreTransform:!1};function Xv(n,e){e===void 0&&(e=hre);let t=n.getBoundingClientRect();if(e.ignoreTransform){const{transform:C,transformOrigin:S}=Vd(n).getComputedStyle(n);C&&(t=cre(t,C,S))}const{top:i,left:r,width:a,height:l,bottom:o,right:m}=t;return{top:i,left:r,width:a,height:l,bottom:o,right:m}}function vT(n){return Xv(n,{ignoreTransform:!0})}function dre(n){const e=n.innerWidth,t=n.innerHeight;return{top:0,left:0,right:e,bottom:t,width:e,height:t}}function fre(n,e){return e===void 0&&(e=Vd(n).getComputedStyle(n)),e.position==="fixed"}function mre(n,e){e===void 0&&(e=Vd(n).getComputedStyle(n));const t=/(auto|scroll|overlay)/;return["overflow","overflowX","overflowY"].some(r=>{const a=e[r];return typeof a=="string"?t.test(a):!1})}function d8(n,e){const t=[];function i(r){if(e!=null&&t.length>=e||!r)return t;if(u8(r)&&r.scrollingElement!=null&&!t.includes(r.scrollingElement))return t.push(r.scrollingElement),t;if(!Eb(r)||hG(r)||t.includes(r))return t;const a=Vd(n).getComputedStyle(r);return r!==n&&mre( Line truncated
`},Lie={onDragStart(n){let{active:e}=n;return"Picked up draggable item "+e.id+"."},onDragOver(n){let{active:e,over:t}=n;return t?"Draggable item "+e.id+" was moved over droppable area "+t.id+".":"Draggable item "+e.id+" is no longer over a droppable area."},onDragEnd(n){let{active:e,over:t}=n;return t?"Draggable item "+e.id+" was dropped over droppable area "+t.id:"Draggable item "+e.id+" was dropped."},onDragCancel(n){let{active:e}=n;return"Dragging was cancelled. Draggable item "+e.id+" was dropped."}};function Fie(n){let{announcements:e=Lie,container:t,hiddenTextDescribedById:i,screenReaderInstructions:r=Uie}=n;const{announce:a,announcement:l}=Rie(),o=xb("DndLiveRegion"),[m,C]=Gt.useState(!1);if(Gt.useEffect(()=>{C(!0)},[]),Pie(Gt.useMemo(()=>({onDragStart(O){let{active:U}=O;a(e.onDragStart({active:U}))},onDragMove(O){let{active:U,over:K}=O;e.onDragMove&&a(e.onDragMove({active:U,over:K}))},onDragOver(O){let{active:U,over:K}=O;a(e.onDragOver({active:U,over:K}))},onDragEnd(O){let{active:U,over:K}=O;a(e.onDragEnd({active:U,over:K}))},onDragCancel(O){let{active:U,over:K}=O;a(e.onDragCancel({active:U,over:K}))}}),[a,e])),!m)return null;const S=ni.createElement(ni.Fragment,null,ni.createElement(kie,{id:i,value:r.draggable}),ni.createElement(Die,{id:o,announcement:l}));return t?LC.createPortal(S,t):S}var Cc;(function(n){n.DragStart="dragStart",n.DragMove="dragMove",n.DragEnd="dragEnd",n.DragCancel="dragCancel",n.DragOver="dragOver",n.RegisterDroppable="registerDroppable",n.SetDroppableDisabled="setDroppableDisabled",n.UnregisterDroppable="unregisterDroppable"})(Cc||(Cc={}));function g3(){}function zie(n,e){return Gt.useMemo(()=>({sensor:n,options:e??{}}),[n,e])}function Nie(){for(var n=arguments.length,e=new Array(n),t=0;t<n;t++)e[t]=arguments[t];return Gt.useMemo(()=>[...e].filter(i=>i!=null),[...e])}const op=Object.freeze({x:0,y:0});function Gie(n,e){return Math.sqrt(Math.pow(n.x-e.x,2)+Math.pow(n.y-e.y,2))}function jie(n,e){let{data:{value:t}}=n,{data:{value:i}}=e;return t-i}function Wie(n,e){let{data:{value:t}}=n,{data:{value:i}}=e;return i-t}function Qie(n,e){if(!n||n.length===0)return null;const[t]=n;return t[e]}function hT(n,e,t){return e===void 0&&(e=n.left),t===void 0&&(t=n.top),{x:e+n.width*.5,y:t+n.height*.5}}const Yie=n=>{let{collisionRect:e,droppableRects:t,droppableContainers:i}=n;const r=hT(e,e.left,e.top),a=[];for(const l of i){const{id:o}=l,m=t.get(o);if(m){const C=Gie(hT(m),r);a.push({id:o,data:{droppableContainer:l,value:C}})}}return a.sort(jie)};function qie(n,e){const t=Math.max(e.top,n.top),i=Math.max(e.left,n.left),r=Math.min(e.left+e.width,n.left+n.width),a=Math.min(e.top+e.height,n.top+n.height),l=r-i,o=a-t;if(i<r&&t<a){const m=e.width*e.height,C=n.width*n.height,S=l*o,O=S/(m+C-S);return Number(O.toFixed(4))}return 0}const Hie=n=>{let{collisionRect:e,droppableRects:t,droppableContainers:i}=n;const r=[];for(const a of i){const{id:l}=a,o=t.get(l);if(o){const m=qie(o,e);m>0&&r.push({id:l,data:{droppableContainer:a,value:m}})}}return r.sort(Wie)};function Vie(n,e,t){return{...n,scaleX:e&&t?e.width/t.width:1,scaleY:e&&t?e.height/t.height:1}}function AN(n,e){return n&&e?{x:n.left-e.left,y:n.top-e.top}:op}function $ie(n){return function(t){for(var i=arguments.length,r=new Array(i>1?i-1:0),a=1;a<i;a++)r[a-1]=arguments[a];return r.reduce((l,o)=>({...l,top:l.top+n*o.y,bottom:l.bottom+n*o.y,left:l.left+n*o.x,right:l.right+n*o.x}),{...t})}}const Zie=$ie(1);function Xie(n){if(n.startsWith("matrix3d(")){const e=n.slice(9,-1).split(/, /);return{x:+e[12],y:+e[13],scaleX:+e[0],scaleY:+e[5]}}else if(n.startsWith("matrix(")){const e=n.slice(7,-1).split(/, /);return{x:+e[4],y:+e[5],scaleX:+e[0],scaleY:+e[3]}}return null}function Jie(n,e,t){const i=Xie(e);if(!i)return n;const{scaleX:r,scaleY:a,x:l,y:o}=i,m=n.left-l-(1-r)*parseFloat(t),C=n.top-o-(1-a)*parseFloat(t.slice(t.indexOf(" ")+1)),S=r?n.width/r:n.width,O=a?n.height/a:n.height;return{width:S,height:O,top:C,right:m+S,bottom:C+O,left:m}}const ere={ignoreTransform:!1};function Xv(n,e){e===void 0&&(e=ere);let t=n.getBoundingClientRect();if(e.ignoreTransform){const{transform:C,transformOrigin:S}=Hd(n).getComputedStyle(n);C&&(t=Jie(t,C,S))}const{top:i,left:r,width:a,height:l,bottom:o,right:m}=t;return{top:i,left:r,width:a,height:l,bottom:o,right:m}}function dT(n){return Xv(n,{ignoreTransform:!0})}function tre(n){const e=n.innerWidth,t=n.innerHeight;return{top:0,left:0,right:e,bottom:t,width:e,height:t}}function nre(n,e){return e===void 0&&(e=Hd(n).getComputedStyle(n)),e.position==="fixed"}function ire(n,e){e===void 0&&(e=Hd(n).getComputedStyle(n));const t=/(auto|scroll|overlay)/;return["overflow","overflowX","overflowY"].some(r=>{const a=e[r];return typeof a=="string"?t.test(a):!1})}function s8(n,e){const t=[];function i(r){if(e!=null&&t.length>=e||!r)return t;if(r8(r)&&r.scrollingElement!=null&&!t.includes(r.scrollingElement))return t.push(r.scrollingElement),t;if(!_b(r)||aN(r)||t.includes(r))return t;const a=Hd(n).getComputedStyle(r);return r!==n&&ire( Line truncated
* tabbable 6.2.0
* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
*/var DG=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[href]:not([inert])","button:not([inert])","[tabindex]:not(slot):not([inert])","audio[controls]:not([inert])","video[controls]:not([inert])",'[contenteditable]:not([contenteditable="false"]):not([inert])',"details>summary:first-of-type:not([inert])","details:not([inert])"],w3=DG.join(","),RG=typeof Element>"u",Hg=RG?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,E3=!RG&&Element.prototype.getRootNode?function(n){var e;return n==null||(e=n.getRootNode)===null||e===void 0?void 0:e.call(n)}:function(n){return n?.ownerDocument},B3=function n(e,t){var i;t===void 0&&(t=!0);var r=e==null||(i=e.getAttribute)===null||i===void 0?void 0:i.call(e,"inert"),a=r===""||r==="true",l=a||t&&e&&n(e.parentNode);return l},Toe=function(e){var t,i=e==null||(t=e.getAttribute)===null||t===void 0?void 0:t.call(e,"contenteditable");return i===""||i==="true"},PG=function(e,t,i){if(B3(e))return[];var r=Array.prototype.slice.apply(e.querySelectorAll(w3));return t&&Hg.call(e,w3)&&r.unshift(e),r=r.filter(i),r},KG=function n(e,t,i){for(var r=[],a=Array.from(e);a.length;){var l=a.shift();if(!B3(l,!1))if(l.tagName==="SLOT"){var o=l.assignedElements(),m=o.length?o:l.children,C=n(m,!0,i);i.flatten?r.push.apply(r,C):r.push({scopeParent:l,candidates:C})}else{var S=Hg.call(l,w3);S&&i.filter(l)&&(t||!e.includes(l))&&r.push(l);var O=l.shadowRoot||typeof i.getShadowRoot=="function"&&i.getShadowRoot(l),U=!B3(O,!1)&&(!i.shadowRootFilter||i.shadowRootFilter(l));if(O&&U){var K=n(O===!0?l.children:O.children,!0,i);i.flatten?r.push.apply(r,K):r.push({scopeParent:l,candidates:K})}else a.unshift.apply(a,l.children)}}return r},UG=function(e){return!isNaN(parseInt(e.getAttribute("tabindex"),10))},v1=function(e){if(!e)throw new Error("No node provided");return e.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||Toe(e))&&!UG(e)?0:e.tabIndex},koe=function(e,t){var i=v1(e);return i<0&&t&&!UG(e)?0:i},Doe=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},LG=function(e){return e.tagName==="INPUT"},Roe=function(e){return LG(e)&&e.type==="hidden"},Poe=function(e){var t=e.tagName==="DETAILS"&&Array.prototype.slice.apply(e.children).some(function(i){return i.tagName==="SUMMARY"});return t},Koe=function(e,t){for(var i=0;i<e.length;i++)if(e[i].checked&&e[i].form===t)return e[i]},Uoe=function(e){if(!e.name)return!0;var t=e.form||E3(e),i=function(o){return t.querySelectorAll('input[type="radio"][name="'+o+'"]')},r;if(typeof window<"u"&&typeof window.CSS<"u"&&typeof window.CSS.escape=="function")r=i(window.CSS.escape(e.name));else try{r=i(e.name)}catch(l){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",l.message),!1}var a=Koe(r,e.form);return!a||a===e},Loe=function(e){return LG(e)&&e.type==="radio"},Foe=function(e){return Loe(e)&&!Uoe(e)},zoe=function(e){var t,i=e&&E3(e),r=(t=i)===null||t===void 0?void 0:t.host,a=!1;if(i&&i!==e){var l,o,m;for(a=!!((l=r)!==null&&l!==void 0&&(o=l.ownerDocument)!==null&&o!==void 0&&o.contains(r)||e!=null&&(m=e.ownerDocument)!==null&&m!==void 0&&m.contains(e));!a&&r;){var C,S,O;i=E3(r),r=(C=i)===null||C===void 0?void 0:C.host,a=!!((S=r)!==null&&S!==void 0&&(O=S.ownerDocument)!==null&&O!==void 0&&O.contains(r))}}return a},kT=function(e){var t=e.getBoundingClientRect(),i=t.width,r=t.height;return i===0&&r===0},Goe=function(e,t){var i=t.displayCheck,r=t.getShadowRoot;if(getComputedStyle(e).visibility==="hidden")return!0;var a=Hg.call(e,"details>summary:first-of-type"),l=a?e.parentElement:e;if(Hg.call(l,"details:not([open]) *"))return!0;if(!i||i==="full"||i==="legacy-full"){if(typeof r=="function"){for(var o=e;e;){var m=e.parentElement,C=E3(e);if(m&&!m.shadowRoot&&r(m)===!0)return kT(e);e.assignedSlot?e=e.assignedSlot:!m&&C!==e.ownerDocument?e=C.host:e=m}e=o}if(zoe(e))return!e.getClientRects().length;if(i!=="legacy-full")return!0}else if(i==="non-zero-area")return kT(e);return!1},Noe=function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var t=e.parentElement;t;){if(t.tagName==="FIELDSET"&&t.disabled){for(var i=0;i<t.children.length;i++){var r=t.children.item(i);if(r.tagName==="LEGEND")return Hg.call(t,"fieldset[disabled] *")?!0:!r.contains(e)}return!0}t=t.parentElement}return!1},O3=function(e,t){return!(t.disabled||B3(t)||Roe(t)||Goe(t,e)||Poe(t)||Noe(t))},_B=function(e,t){return!(Foe(t)||v1(t)<0||!O3(e,t))},joe=function(e){var t=parseInt(e.getAttribute("tabindex"),10);return!!(isNaN(t)||t>=0)},Woe=function n(e){var t=[],i=[];return e.forEach(function(r,a){var l=!!r.scopeParent,o=l?r.scopeParent:r,m=koe(o,l),C=l?n(r.candidates):o;m===0?l?t.push.apply(t,C):t.push(o):i.push({documentOrder:a,tabIndex:m,item:r,isScope:l,content:C})}),i.sort(Doe).reduce(function(r,a){return a.isScope?r.push.apply(r,a.content):r.push(a.content),rLine truncated
*/var EN=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[href]:not([inert])","button:not([inert])","[tabindex]:not(slot):not([inert])","audio[controls]:not([inert])","video[controls]:not([inert])",'[contenteditable]:not([contenteditable="false"]):not([inert])',"details>summary:first-of-type:not([inert])","details:not([inert])"],C3=EN.join(","),BN=typeof Element>"u",Hg=BN?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,_3=!BN&&Element.prototype.getRootNode?function(n){var e;return n==null||(e=n.getRootNode)===null||e===void 0?void 0:e.call(n)}:function(n){return n?.ownerDocument},b3=function n(e,t){var i;t===void 0&&(t=!0);var r=e==null||(i=e.getAttribute)===null||i===void 0?void 0:i.call(e,"inert"),a=r===""||r==="true",l=a||t&&e&&n(e.parentNode);return l},voe=function(e){var t,i=e==null||(t=e.getAttribute)===null||t===void 0?void 0:t.call(e,"contenteditable");return i===""||i==="true"},ON=function(e,t,i){if(b3(e))return[];var r=Array.prototype.slice.apply(e.querySelectorAll(C3));return t&&Hg.call(e,C3)&&r.unshift(e),r=r.filter(i),r},IN=function n(e,t,i){for(var r=[],a=Array.from(e);a.length;){var l=a.shift();if(!b3(l,!1))if(l.tagName==="SLOT"){var o=l.assignedElements(),m=o.length?o:l.children,C=n(m,!0,i);i.flatten?r.push.apply(r,C):r.push({scopeParent:l,candidates:C})}else{var S=Hg.call(l,C3);S&&i.filter(l)&&(t||!e.includes(l))&&r.push(l);var O=l.shadowRoot||typeof i.getShadowRoot=="function"&&i.getShadowRoot(l),U=!b3(O,!1)&&(!i.shadowRootFilter||i.shadowRootFilter(l));if(O&&U){var K=n(O===!0?l.children:O.children,!0,i);i.flatten?r.push.apply(r,K):r.push({scopeParent:l,candidates:K})}else a.unshift.apply(a,l.children)}}return r},TN=function(e){return!isNaN(parseInt(e.getAttribute("tabindex"),10))},v1=function(e){if(!e)throw new Error("No node provided");return e.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||voe(e))&&!TN(e)?0:e.tabIndex},Coe=function(e,t){var i=v1(e);return i<0&&t&&!TN(e)?0:i},_oe=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},kN=function(e){return e.tagName==="INPUT"},boe=function(e){return kN(e)&&e.type==="hidden"},xoe=function(e){var t=e.tagName==="DETAILS"&&Array.prototype.slice.apply(e.children).some(function(i){return i.tagName==="SUMMARY"});return t},Moe=function(e,t){for(var i=0;i<e.length;i++)if(e[i].checked&&e[i].form===t)return e[i]},Soe=function(e){if(!e.name)return!0;var t=e.form||_3(e),i=function(o){return t.querySelectorAll('input[type="radio"][name="'+o+'"]')},r;if(typeof window<"u"&&typeof window.CSS<"u"&&typeof window.CSS.escape=="function")r=i(window.CSS.escape(e.name));else try{r=i(e.name)}catch(l){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",l.message),!1}var a=Moe(r,e.form);return!a||a===e},woe=function(e){return kN(e)&&e.type==="radio"},Eoe=function(e){return woe(e)&&!Soe(e)},Boe=function(e){var t,i=e&&_3(e),r=(t=i)===null||t===void 0?void 0:t.host,a=!1;if(i&&i!==e){var l,o,m;for(a=!!((l=r)!==null&&l!==void 0&&(o=l.ownerDocument)!==null&&o!==void 0&&o.contains(r)||e!=null&&(m=e.ownerDocument)!==null&&m!==void 0&&m.contains(e));!a&&r;){var C,S,O;i=_3(r),r=(C=i)===null||C===void 0?void 0:C.host,a=!!((S=r)!==null&&S!==void 0&&(O=S.ownerDocument)!==null&&O!==void 0&&O.contains(r))}}return a},wT=function(e){var t=e.getBoundingClientRect(),i=t.width,r=t.height;return i===0&&r===0},Ooe=function(e,t){var i=t.displayCheck,r=t.getShadowRoot;if(getComputedStyle(e).visibility==="hidden")return!0;var a=Hg.call(e,"details>summary:first-of-type"),l=a?e.parentElement:e;if(Hg.call(l,"details:not([open]) *"))return!0;if(!i||i==="full"||i==="legacy-full"){if(typeof r=="function"){for(var o=e;e;){var m=e.parentElement,C=_3(e);if(m&&!m.shadowRoot&&r(m)===!0)return wT(e);e.assignedSlot?e=e.assignedSlot:!m&&C!==e.ownerDocument?e=C.host:e=m}e=o}if(Boe(e))return!e.getClientRects().length;if(i!=="legacy-full")return!0}else if(i==="non-zero-area")return wT(e);return!1},Ioe=function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var t=e.parentElement;t;){if(t.tagName==="FIELDSET"&&t.disabled){for(var i=0;i<t.children.length;i++){var r=t.children.item(i);if(r.tagName==="LEGEND")return Hg.call(t,"fieldset[disabled] *")?!0:!r.contains(e)}return!0}t=t.parentElement}return!1},x3=function(e,t){return!(t.disabled||b3(t)||boe(t)||Ooe(t,e)||xoe(t)||Ioe(t))},mB=function(e,t){return!(Eoe(t)||v1(t)<0||!x3(e,t))},Toe=function(e){var t=parseInt(e.getAttribute("tabindex"),10);return!!(isNaN(t)||t>=0)},koe=function n(e){var t=[],i=[];return e.forEach(function(r,a){var l=!!r.scopeParent,o=l?r.scopeParent:r,m=Coe(o,l),C=l?n(r.candidates):o;m===0?l?t.push.apply(t,C):t.push(o):i.push({documentOrder:a,tabIndex:m,item:r,isScope:l,content:C})}),i.sort(_oe).reduce(function(r,a){return a.isScope?r.push.apply(r,a.content):r.push(a.content),rLine truncated
* focus-trap 7.5.4
* @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE
*/function DT(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(n);e&&(i=i.filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable})),t.push.apply(t,i)}return t}function RT(n){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{};e%2?DT(Object(t),!0).forEach(function(i){qoe(n,i,t[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(t)):DT(Object(t)).forEach(function(i){Object.defineProperty(n,i,Object.getOwnPropertyDescriptor(t,i))})}return n}function qoe(n,e,t){return e=Voe(e),e in n?Object.defineProperty(n,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):n[e]=t,n}function Hoe(n,e){if(typeof n!="object"||n===null)return n;var t=n[Symbol.toPrimitive];if(t!==void 0){var i=t.call(n,e);if(typeof i!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(n)}function Voe(n){var e=Hoe(n,"string");return typeof e=="symbol"?e:String(e)}var PT={activateTrap:function(e,t){if(e.length>0){var i=e[e.length-1];i!==t&&i.pause()}var r=e.indexOf(t);r===-1||e.splice(r,1),e.push(t)},deactivateTrap:function(e,t){var i=e.indexOf(t);i!==-1&&e.splice(i,1),e.length>0&&e[e.length-1].unpause()}},$oe=function(e){return e.tagName&&e.tagName.toLowerCase()==="input"&&typeof e.select=="function"},Zoe=function(e){return e?.key==="Escape"||e?.key==="Esc"||e?.keyCode===27},o_=function(e){return e?.key==="Tab"||e?.keyCode===9},Xoe=function(e){return o_(e)&&!e.shiftKey},Joe=function(e){return o_(e)&&e.shiftKey},KT=function(e){return setTimeout(e,0)},UT=function(e,t){var i=-1;return e.every(function(r,a){return t(r)?(i=a,!1):!0}),i},xC=function(e){for(var t=arguments.length,i=new Array(t>1?t-1:0),r=1;r<t;r++)i[r-1]=arguments[r];return typeof e=="function"?e.apply(void 0,i):e},cx=function(e){return e.target.shadowRoot&&typeof e.composedPath=="function"?e.composedPath()[0]:e.target},eae=[],tae=function(e,t){var i=t?.document||document,r=t?.trapStack||eae,a=RT({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0,isKeyForward:Xoe,isKeyBackward:Joe},t),l={containers:[],containerGroups:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,delayInitialFocusTimer:void 0,recentNavEvent:void 0},o,m=function(Be,we,qe){return Be&&Be[we]!==void 0?Be[we]:a[qe||we]},C=function(Be,we){var qe=typeof we?.composedPath=="function"?we.composedPath():void 0;return l.containerGroups.findIndex(function(xe){var ze=xe.container,ot=xe.tabbableNodes;return ze.contains(Be)||qe?.includes(ze)||ot.find(function(yt){return yt===Be})})},S=function(Be){var we=a[Be];if(typeof we=="function"){for(var qe=arguments.length,xe=new Array(qe>1?qe-1:0),ze=1;ze<qe;ze++)xe[ze-1]=arguments[ze];we=we.apply(void 0,xe)}if(we===!0&&(we=void 0),!we){if(we===void 0||we===!1)return we;throw new Error("`".concat(Be,"` was specified but was not a node, or did not return a node"))}var ot=we;if(typeof we=="string"&&(ot=i.querySelector(we),!ot))throw new Error("`".concat(Be,"` as selector refers to no known node"));return ot},O=function(){var Be=S("initialFocus");if(Be===!1)return!1;if(Be===void 0||!Rx(Be,a.tabbableOptions))if(C(i.activeElement)>=0)Be=i.activeElement;else{var we=l.tabbableGroups[0],qe=we&&we.firstTabbableNode;Be=qe||S("fallbackFocus")}if(!Be)throw new Error("Your focus-trap needs to have at least one focusable element");return Be},U=function(){if(l.containerGroups=l.containers.map(function(Be){var we=FG(Be,a.tabbableOptions),qe=zG(Be,a.tabbableOptions),xe=we.length>0?we[0]:void 0,ze=we.length>0?we[we.length-1]:void 0,ot=qe.find(function(be){return bg(be)}),yt=qe.slice().reverse().find(function(be){return bg(be)}),nt=!!we.find(function(be){return v1(be)>0});return{container:Be,tabbableNodes:we,focusableNodes:qe,posTabIndexesFound:nt,firstTabbableNode:xe,lastTabbableNode:ze,firstDomTabbableNode:ot,lastDomTabbableNode:yt,nextTabbableNode:function(Ge){var tt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,lt=we.indexOf(Ge);return lt<0?tt?qe.slice(qe.indexOf(Ge)+1).find(function(It){return bg(It)}):qe.slice(0,qe.indexOf(Ge)).reverse().find(function(It){return bg(It)}):we[lt+(tt?1:-1)]}}}),l.tabbableGroups=l.containerGroups.filter(function(Be){return Be.tabbableNodes.length>0}),l.tabbableGroups.length<=0&&!S("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times");if(l.containerGroups.find(function(Be){return Be.posTabIndexesFound})&&l.containerGroups.length>1)throw new Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.")},K=function Me(Be){var we=Be.activeElement;if(we)return we.shadowRoot&&we.shadowRoot.activeElement!==null?Me(we.shadowRoot):we},z=function Me(Be){if(Be!==!1&&Be!==K(document)){if(!Be||!Be.focus)Line truncated
*/function ET(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(n);e&&(i=i.filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable})),t.push.apply(t,i)}return t}function BT(n){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{};e%2?ET(Object(t),!0).forEach(function(i){Poe(n,i,t[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(t)):ET(Object(t)).forEach(function(i){Object.defineProperty(n,i,Object.getOwnPropertyDescriptor(t,i))})}return n}function Poe(n,e,t){return e=Uoe(e),e in n?Object.defineProperty(n,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):n[e]=t,n}function Koe(n,e){if(typeof n!="object"||n===null)return n;var t=n[Symbol.toPrimitive];if(t!==void 0){var i=t.call(n,e);if(typeof i!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(n)}function Uoe(n){var e=Koe(n,"string");return typeof e=="symbol"?e:String(e)}var OT={activateTrap:function(e,t){if(e.length>0){var i=e[e.length-1];i!==t&&i.pause()}var r=e.indexOf(t);r===-1||e.splice(r,1),e.push(t)},deactivateTrap:function(e,t){var i=e.indexOf(t);i!==-1&&e.splice(i,1),e.length>0&&e[e.length-1].unpause()}},Loe=function(e){return e.tagName&&e.tagName.toLowerCase()==="input"&&typeof e.select=="function"},Foe=function(e){return e?.key==="Escape"||e?.key==="Esc"||e?.keyCode===27},o_=function(e){return e?.key==="Tab"||e?.keyCode===9},zoe=function(e){return o_(e)&&!e.shiftKey},Noe=function(e){return o_(e)&&e.shiftKey},IT=function(e){return setTimeout(e,0)},TT=function(e,t){var i=-1;return e.every(function(r,a){return t(r)?(i=a,!1):!0}),i},xC=function(e){for(var t=arguments.length,i=new Array(t>1?t-1:0),r=1;r<t;r++)i[r-1]=arguments[r];return typeof e=="function"?e.apply(void 0,i):e},ox=function(e){return e.target.shadowRoot&&typeof e.composedPath=="function"?e.composedPath()[0]:e.target},Goe=[],joe=function(e,t){var i=t?.document||document,r=t?.trapStack||Goe,a=BT({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0,isKeyForward:zoe,isKeyBackward:Noe},t),l={containers:[],containerGroups:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,delayInitialFocusTimer:void 0,recentNavEvent:void 0},o,m=function(Be,we,qe){return Be&&Be[we]!==void 0?Be[we]:a[qe||we]},C=function(Be,we){var qe=typeof we?.composedPath=="function"?we.composedPath():void 0;return l.containerGroups.findIndex(function(xe){var ze=xe.container,ot=xe.tabbableNodes;return ze.contains(Be)||qe?.includes(ze)||ot.find(function(yt){return yt===Be})})},S=function(Be){var we=a[Be];if(typeof we=="function"){for(var qe=arguments.length,xe=new Array(qe>1?qe-1:0),ze=1;ze<qe;ze++)xe[ze-1]=arguments[ze];we=we.apply(void 0,xe)}if(we===!0&&(we=void 0),!we){if(we===void 0||we===!1)return we;throw new Error("`".concat(Be,"` was specified but was not a node, or did not return a node"))}var ot=we;if(typeof we=="string"&&(ot=i.querySelector(we),!ot))throw new Error("`".concat(Be,"` as selector refers to no known node"));return ot},O=function(){var Be=S("initialFocus");if(Be===!1)return!1;if(Be===void 0||!Bx(Be,a.tabbableOptions))if(C(i.activeElement)>=0)Be=i.activeElement;else{var we=l.tabbableGroups[0],qe=we&&we.firstTabbableNode;Be=qe||S("fallbackFocus")}if(!Be)throw new Error("Your focus-trap needs to have at least one focusable element");return Be},U=function(){if(l.containerGroups=l.containers.map(function(Be){var we=DN(Be,a.tabbableOptions),qe=RN(Be,a.tabbableOptions),xe=we.length>0?we[0]:void 0,ze=we.length>0?we[we.length-1]:void 0,ot=qe.find(function(be){return bg(be)}),yt=qe.slice().reverse().find(function(be){return bg(be)}),nt=!!we.find(function(be){return v1(be)>0});return{container:Be,tabbableNodes:we,focusableNodes:qe,posTabIndexesFound:nt,firstTabbableNode:xe,lastTabbableNode:ze,firstDomTabbableNode:ot,lastDomTabbableNode:yt,nextTabbableNode:function(Ne){var tt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,lt=we.indexOf(Ne);return lt<0?tt?qe.slice(qe.indexOf(Ne)+1).find(function(It){return bg(It)}):qe.slice(0,qe.indexOf(Ne)).reverse().find(function(It){return bg(It)}):we[lt+(tt?1:-1)]}}}),l.tabbableGroups=l.containerGroups.filter(function(Be){return Be.tabbableNodes.length>0}),l.tabbableGroups.length<=0&&!S("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times");if(l.containerGroups.find(function(Be){return Be.posTabIndexesFound})&&l.containerGroups.length>1)throw new Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.")},K=function Me(Be){var we=Be.activeElement;if(we)return we.shadowRoot&&we.shadowRoot.activeElement!==null?Me(we.shadowRoot):we},z=function Me(Be){if(Be!==!1&&Be!==K(document)){if(!Be||!Be.focus)Line truncated
* @license React
* react-is.production.min.js
*
@@ -864,59 +864,59 @@ ${Ue.shaderPreludeCode.vertexSource}`,define:Ue.shaderDefine},defaultProjectionD
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var NT;function Cae(){if(NT)return js;NT=1;var n=Symbol.for("react.element"),e=Symbol.for("react.portal"),t=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),r=Symbol.for("react.profiler"),a=Symbol.for("react.provider"),l=Symbol.for("react.context"),o=Symbol.for("react.server_context"),m=Symbol.for("react.forward_ref"),C=Symbol.for("react.suspense"),S=Symbol.for("react.suspense_list"),O=Symbol.for("react.memo"),U=Symbol.for("react.lazy"),K=Symbol.for("react.offscreen"),z;z=Symbol.for("react.module.reference");function j(Q){if(typeof Q=="object"&&Q!==null){var ee=Q.$$typeof;switch(ee){case n:switch(Q=Q.type,Q){case t:case r:case i:case C:case S:return Q;default:switch(Q=Q&&Q.$$typeof,Q){case o:case l:case m:case U:case O:case a:return Q;default:return ee}}case e:return ee}}}return js.ContextConsumer=l,js.ContextProvider=a,js.Element=n,js.ForwardRef=m,js.Fragment=t,js.Lazy=U,js.Memo=O,js.Portal=e,js.Profiler=r,js.StrictMode=i,js.Suspense=C,js.SuspenseList=S,js.isAsyncMode=function(){return!1},js.isConcurrentMode=function(){return!1},js.isContextConsumer=function(Q){return j(Q)===l},js.isContextProvider=function(Q){return j(Q)===a},js.isElement=function(Q){return typeof Q=="object"&&Q!==null&&Q.$$typeof===n},js.isForwardRef=function(Q){return j(Q)===m},js.isFragment=function(Q){return j(Q)===t},js.isLazy=function(Q){return j(Q)===U},js.isMemo=function(Q){return j(Q)===O},js.isPortal=function(Q){return j(Q)===e},js.isProfiler=function(Q){return j(Q)===r},js.isStrictMode=function(Q){return j(Q)===i},js.isSuspense=function(Q){return j(Q)===C},js.isSuspenseList=function(Q){return j(Q)===S},js.isValidElementType=function(Q){return typeof Q=="string"||typeof Q=="function"||Q===t||Q===r||Q===i||Q===C||Q===S||Q===K||typeof Q=="object"&&Q!==null&&(Q.$$typeof===U||Q.$$typeof===O||Q.$$typeof===a||Q.$$typeof===l||Q.$$typeof===m||Q.$$typeof===z||Q.getModuleId!==void 0)},js.typeOf=j,js}var jT;function _ae(){return jT||(jT=1,PM.exports=Cae()),PM.exports}_ae();const WT=n=>typeof n=="object"&&n!=null&&n.nodeType===1,QT=(n,e)=>(!e||n!=="hidden")&&n!=="visible"&&n!=="clip",dx=(n,e)=>{if(n.clientHeight<n.scrollHeight||n.clientWidth<n.scrollWidth){const t=getComputedStyle(n,null);return QT(t.overflowY,e)||QT(t.overflowX,e)||(i=>{const r=(a=>{if(!a.ownerDocument||!a.ownerDocument.defaultView)return null;try{return a.ownerDocument.defaultView.frameElement}catch{return null}})(i);return!!r&&(r.clientHeight<i.scrollHeight||r.clientWidth<i.scrollWidth)})(n)}return!1},fx=(n,e,t,i,r,a,l,o)=>a<n&&l>e||a>n&&l<e?0:a<=n&&o<=t||l>=e&&o>=t?a-n-i:l>e&&o<t||a<n&&o>t?l-e+r:0,bae=n=>{const e=n.parentElement;return e??(n.getRootNode().host||null)},xae=(n,e)=>{var t,i,r,a;if(typeof document>"u")return[];const{inline:l,boundary:o,skipOverflowHiddenElements:m}=e,C=typeof o=="function"?o:we=>we!==o;if(!WT(n))throw new TypeError("Invalid target");const S=document.scrollingElement||document.documentElement,O=[];let U=n;for(;WT(U)&&C(U);){if(U=bae(U),U===S){O.push(U);break}U!=null&&U===document.body&&dx(U)&&!dx(document.documentElement)||U!=null&&dx(U,m)&&O.push(U)}const K=(i=(t=window.visualViewport)==null?void 0:t.width)!=null?i:innerWidth,z=(a=(r=window.visualViewport)==null?void 0:r.height)!=null?a:innerHeight,{scrollX:j,scrollY:Q}=window,{height:ee,width:V,top:ae,right:ne,bottom:Z,left:oe}=n.getBoundingClientRect(),{top:W,right:ce,left:ge}=(we=>{const qe=window.getComputedStyle(we);return{top:parseFloat(qe.scrollMarginTop)||0,right:parseFloat(qe.scrollMarginRight)||0,bottom:parseFloat(qe.scrollMarginBottom)||0,left:parseFloat(qe.scrollMarginLeft)||0}})(n);let ye=ae-W,Me=l==="center"?oe+V/2-ge+ce:l==="end"?ne+ce:oe-ge;const Be=[];for(let we=0;we<O.length;we++){const qe=O[we],{height:xe,width:ze,top:ot,right:yt,bottom:nt,left:be}=qe.getBoundingClientRect();if(ae>=0&&oe>=0&&Z<=z&&ne<=K&&(qe===S&&!dx(qe)||ae>=ot&&Z<=nt&&oe>=be&&ne<=yt))return Be;const Ge=getComputedStyle(qe),tt=parseInt(Ge.borderLeftWidth,10),lt=parseInt(Ge.borderTopWidth,10),It=parseInt(Ge.borderRightWidth,10),pt=parseInt(Ge.borderBottomWidth,10);let St=0,Rt=0;const Le="offsetWidth"in qe?qe.offsetWidth-qe.clientWidth-tt-It:0,Pe="offsetHeight"in qe?qe.offsetHeight-qe.clientHeight-lt-pt:0,Re="offsetWidth"in qe?qe.offsetWidth===0?0:ze/qe.offsetWidth:0,He="offsetHeight"in qe?qe.offsetHeight===0?0:xe/qe.offsetHeight:0;if(S===qe)St=fx(Q,Q+z,z,lt,pt,Q+ye,Q+ye+ee,ee),Rt=l==="start"?Me:l==="center"?Me-K/2:l==="end"?Me-K:fx(j,j+K,K,tt,It,j+Me,j+Me+V,V),St=Math.max(0,St+Q),Rt=Math.max(0,Rt+j);else{St=fx(ot,nt,xe,lt,pt+Pe,ye,ye+ee,ee),Rt=l==="start"?Me-be-tt:l==="center"?Me-(be+ze/2)+Le/2:l==="end"?Me-yt+It+Le:fx(be,yt,ze,tt,It+Le,Me,Me+V,V);const{scrollLeft:bt,scrollTop:vt}=qe;St=He===0?0:Math.max(0,Math.min(vt+St/He,qe.scrollHeight-xe/He+Pe)),Rt=Re===0?0:Math.max(0,Math.min(bt+Rt/Re,qe.scrollWidth-ze/Re+Le)),ye+=vt-St,Me+=bt-Rt}Be.push({el:qe,top:St,left:Rt})}return Be};var Uv=function(){return Uv=Object.assign||function(e){for(var t,i=1,r=arguments.length;i<r;i++){t=arguments[i]Line truncated
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Bse(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var Ose=z2(function n(e){var t=this,i=e.expanded,r=i===void 0?[]:i,a=e.allowMultipleExpanded,l=a===void 0?!1:a,o=e.allowZeroExpanded,m=o===void 0?!1:o;F2(this,n),tA(this,"expanded",void 0),tA(this,"allowMultipleExpanded",void 0),tA(this,"allowZeroExpanded",void 0),tA(this,"toggleExpanded",function(C){if(t.isItemDisabled(C))return t;var S=t.isItemExpanded(C);return S?t.augment({expanded:t.expanded.filter(function(O){return O!==C})}):t.augment({expanded:t.allowMultipleExpanded?[].concat(bse(t.expanded),[C]):[C]})}),tA(this,"isItemDisabled",function(C){var S=t.isItemExpanded(C),O=t.expanded.length===1;return!!(S&&!t.allowZeroExpanded&&O)}),tA(this,"isItemExpanded",function(C){return t.expanded.indexOf(C)!==-1}),tA(this,"getPanelAttributes",function(C,S){var O=S??t.isItemExpanded(C);return{role:t.allowMultipleExpanded?void 0:"region","aria-hidden":t.allowMultipleExpanded?!O:void 0,"aria-labelledby":t.getButtonId(C),id:t.getPanelId(C),hidden:O?void 0:!0}}),tA(this,"getHeadingAttributes",function(){return{role:"heading"}}),tA(this,"getButtonAttributes",function(C,S){var O=S??t.isItemExpanded(C),U=t.isItemDisabled(C);return{id:t.getButtonId(C),"aria-disabled":U,"aria-expanded":O,"aria-controls":t.getPanelId(C),role:"button",tabIndex:0}}),tA(this,"getPanelId",function(C){return"accordion__panel-".concat(C)}),tA(this,"getButtonId",function(C){return"accordion__heading-".concat(C)}),tA(this,"augment",function(C){return new n(wB({expanded:t.expanded,allowMultipleExpanded:t.allowMultipleExpanded,allowZeroExpanded:t.allowZeroExpanded},C))}),this.expanded=r,this.allowMultipleExpanded=l,this.allowZeroExpanded=m}),uN=Nt.createContext(null),cN=function(n){P8(t,n);var e=K8(t);function t(){var i;F2(this,t);for(var r=arguments.length,a=new Array(r),l=0;l<r;l++)a[l]=arguments[l];return i=e.call.apply(e,[this].concat(a)),tA($m(i),"state",new Ose({expanded:i.props.preExpanded,allowMultipleExpanded:i.props.allowMultipleExpanded,allowZeroExpanded:i.props.allowZeroExpanded})),tA($m(i),"toggleExpanded",function(o){i.setState(function(m){return m.toggleExpanded(o)},function(){i.props.onChange&&i.props.onChange(i.state.expanded)})}),tA($m(i),"isItemDisabled",function(o){return i.state.isItemDisabled(o)}),tA($m(i),"isItemExpanded",function(o){return i.state.isItemExpanded(o)}),tA($m(i),"getPanelAttributes",function(o,m){return i.state.getPanelAttributes(o,m)}),tA($m(i),"getHeadingAttributes",function(){return i.state.getHeadingAttributes()}),tA($m(i),"getButtonAttributes",function(o,m){return i.state.getButtonAttributes(o,m)}),i}return z2(t,[{key:"render",value:function(){var r=this.state,a=r.allowZeroExpanded,l=r.allowMultipleExpanded;return Nt.createElement(uN.Provider,{value:{allowMultipleExpanded:l,allowZeroExpanded:a,toggleExpanded:this.toggleExpanded,isItemDisabled:this.isItemDisabled,isItemExpanded:this.isItemExpanded,getPanelAttributes:this.getPanelAttributes,getHeadingAttributes:this.getHeadingAttributes,getButtonAttributes:this.getButtonAttributes}},this.props.children||null)}}]),t}(Nt.PureComponent);tA(cN,"defaultProps",{allowMultipleExpanded:!1,allowZeroExpanded:!1});var hN=function(n){P8(t,n);var e=K8(t);function t(){var i;F2(this,t);for(var r=arguments.length,a=new Array(r),l=0;l<r;l++)a[l]=arguments[l];return i=e.call.apply(e,[this].concat(a)),tA($m(i),"renderChildren",function(o){return o?i.props.children(o):null}),i}return z2(t,[{key:"render",value:function(){return Nt.createElement(uN.Consumer,null,this.renderChildren)}}]),t}(Nt.PureComponent),Ise=["className","allowMultipleExpanded","allowZeroExpanded","onChange","preExpanded"],Tse=function(e){var t=e.className,i=t===void 0?"accordion":t,r=e.allowMultipleExpanded,a=e.allowZeroExpanded,l=e.onChange,o=e.preExpanded,m=G2(e,Ise);return Nt.createElement(cN,{preExpanded:o,allowMultipleExpanded:r,allowZeroExpanded:a,onChange:l},Nt.createElement("div",n0({"data-accordion-component":"Accordion",className:i},m)))},OB;(function(n){n.Accordion="Accordion",n.AccordionItem="AccordionItem",n.AccordionItemButton="AccordionItemButton",n.AccordionItemHeading="AccordionItemHeading",n.AccordionItemPanel="AccordionItemPanel"})(OB||(OB={}));var dN=OB,HM=0;function kse(){var n=HM;return HM=HM+1,"raa-".concat(n)}var Dse=Nt.useId||kse,Rse=/[\u0009\u000a\u000c\u000d\u0020]/g;function Q_(n){return n===""||Rse.test(n)?(console.error('uuid must be a valid HTML5 id but was given "'.concat(n,'", ASCII whitespaces are forbidden')),!1):!0}var fN=Nt.createContext(null),Pse=function(e){var t=e.children,i=e.uuid,r=e.accordionContext,a=e.dangerouslySetExpanded,l=function(){r.toggleExpanded(i)},o=function(C){var S=a??C.isItemExpanded(i),O=C.isItemDisabled(i),U=C.getPanelAttributes(i,a),K=C.getHeadingAttributes(i),z=C.getButtonAttributes(i,a);return Nt.createElement(fN.Provider,{value:{uuid:i,expanded:S,disabled:O,toggleExpanded:l,panelAttributes:U,headingAttributes:K,buttonAttributes:z}},t)};return Nt.createElement(hN,nu Line truncated
*/var KT;function lae(){if(KT)return js;KT=1;var n=Symbol.for("react.element"),e=Symbol.for("react.portal"),t=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),r=Symbol.for("react.profiler"),a=Symbol.for("react.provider"),l=Symbol.for("react.context"),o=Symbol.for("react.server_context"),m=Symbol.for("react.forward_ref"),C=Symbol.for("react.suspense"),S=Symbol.for("react.suspense_list"),O=Symbol.for("react.memo"),U=Symbol.for("react.lazy"),K=Symbol.for("react.offscreen"),z;z=Symbol.for("react.module.reference");function j(Q){if(typeof Q=="object"&&Q!==null){var ee=Q.$$typeof;switch(ee){case n:switch(Q=Q.type,Q){case t:case r:case i:case C:case S:return Q;default:switch(Q=Q&&Q.$$typeof,Q){case o:case l:case m:case U:case O:case a:return Q;default:return ee}}case e:return ee}}}return js.ContextConsumer=l,js.ContextProvider=a,js.Element=n,js.ForwardRef=m,js.Fragment=t,js.Lazy=U,js.Memo=O,js.Portal=e,js.Profiler=r,js.StrictMode=i,js.Suspense=C,js.SuspenseList=S,js.isAsyncMode=function(){return!1},js.isConcurrentMode=function(){return!1},js.isContextConsumer=function(Q){return j(Q)===l},js.isContextProvider=function(Q){return j(Q)===a},js.isElement=function(Q){return typeof Q=="object"&&Q!==null&&Q.$$typeof===n},js.isForwardRef=function(Q){return j(Q)===m},js.isFragment=function(Q){return j(Q)===t},js.isLazy=function(Q){return j(Q)===U},js.isMemo=function(Q){return j(Q)===O},js.isPortal=function(Q){return j(Q)===e},js.isProfiler=function(Q){return j(Q)===r},js.isStrictMode=function(Q){return j(Q)===i},js.isSuspense=function(Q){return j(Q)===C},js.isSuspenseList=function(Q){return j(Q)===S},js.isValidElementType=function(Q){return typeof Q=="string"||typeof Q=="function"||Q===t||Q===r||Q===i||Q===C||Q===S||Q===K||typeof Q=="object"&&Q!==null&&(Q.$$typeof===U||Q.$$typeof===O||Q.$$typeof===a||Q.$$typeof===l||Q.$$typeof===m||Q.$$typeof===z||Q.getModuleId!==void 0)},js.typeOf=j,js}var UT;function Aae(){return UT||(UT=1,OM.exports=lae()),OM.exports}Aae();const LT=n=>typeof n=="object"&&n!=null&&n.nodeType===1,FT=(n,e)=>(!e||n!=="hidden")&&n!=="visible"&&n!=="clip",sx=(n,e)=>{if(n.clientHeight<n.scrollHeight||n.clientWidth<n.scrollWidth){const t=getComputedStyle(n,null);return FT(t.overflowY,e)||FT(t.overflowX,e)||(i=>{const r=(a=>{if(!a.ownerDocument||!a.ownerDocument.defaultView)return null;try{return a.ownerDocument.defaultView.frameElement}catch{return null}})(i);return!!r&&(r.clientHeight<i.scrollHeight||r.clientWidth<i.scrollWidth)})(n)}return!1},lx=(n,e,t,i,r,a,l,o)=>a<n&&l>e||a>n&&l<e?0:a<=n&&o<=t||l>=e&&o>=t?a-n-i:l>e&&o<t||a<n&&o>t?l-e+r:0,uae=n=>{const e=n.parentElement;return e??(n.getRootNode().host||null)},cae=(n,e)=>{var t,i,r,a;if(typeof document>"u")return[];const{inline:l,boundary:o,skipOverflowHiddenElements:m}=e,C=typeof o=="function"?o:we=>we!==o;if(!LT(n))throw new TypeError("Invalid target");const S=document.scrollingElement||document.documentElement,O=[];let U=n;for(;LT(U)&&C(U);){if(U=uae(U),U===S){O.push(U);break}U!=null&&U===document.body&&sx(U)&&!sx(document.documentElement)||U!=null&&sx(U,m)&&O.push(U)}const K=(i=(t=window.visualViewport)==null?void 0:t.width)!=null?i:innerWidth,z=(a=(r=window.visualViewport)==null?void 0:r.height)!=null?a:innerHeight,{scrollX:j,scrollY:Q}=window,{height:ee,width:V,top:ae,right:ne,bottom:Z,left:oe}=n.getBoundingClientRect(),{top:W,right:ue,left:ge}=(we=>{const qe=window.getComputedStyle(we);return{top:parseFloat(qe.scrollMarginTop)||0,right:parseFloat(qe.scrollMarginRight)||0,bottom:parseFloat(qe.scrollMarginBottom)||0,left:parseFloat(qe.scrollMarginLeft)||0}})(n);let ye=ae-W,Me=l==="center"?oe+V/2-ge+ue:l==="end"?ne+ue:oe-ge;const Be=[];for(let we=0;we<O.length;we++){const qe=O[we],{height:xe,width:ze,top:ot,right:yt,bottom:nt,left:be}=qe.getBoundingClientRect();if(ae>=0&&oe>=0&&Z<=z&&ne<=K&&(qe===S&&!sx(qe)||ae>=ot&&Z<=nt&&oe>=be&&ne<=yt))return Be;const Ne=getComputedStyle(qe),tt=parseInt(Ne.borderLeftWidth,10),lt=parseInt(Ne.borderTopWidth,10),It=parseInt(Ne.borderRightWidth,10),pt=parseInt(Ne.borderBottomWidth,10);let St=0,Rt=0;const Le="offsetWidth"in qe?qe.offsetWidth-qe.clientWidth-tt-It:0,Pe="offsetHeight"in qe?qe.offsetHeight-qe.clientHeight-lt-pt:0,Re="offsetWidth"in qe?qe.offsetWidth===0?0:ze/qe.offsetWidth:0,He="offsetHeight"in qe?qe.offsetHeight===0?0:xe/qe.offsetHeight:0;if(S===qe)St=lx(Q,Q+z,z,lt,pt,Q+ye,Q+ye+ee,ee),Rt=l==="start"?Me:l==="center"?Me-K/2:l==="end"?Me-K:lx(j,j+K,K,tt,It,j+Me,j+Me+V,V),St=Math.max(0,St+Q),Rt=Math.max(0,Rt+j);else{St=lx(ot,nt,xe,lt,pt+Pe,ye,ye+ee,ee),Rt=l==="start"?Me-be-tt:l==="center"?Me-(be+ze/2)+Le/2:l==="end"?Me-yt+It+Le:lx(be,yt,ze,tt,It+Le,Me,Me+V,V);const{scrollLeft:bt,scrollTop:vt}=qe;St=He===0?0:Math.max(0,Math.min(vt+St/He,qe.scrollHeight-xe/He+Pe)),Rt=Re===0?0:Math.max(0,Math.min(bt+Rt/Re,qe.scrollWidth-ze/Re+Le)),ye+=vt-St,Me+=bt-Rt}Be.push({el:qe,top:St,left:Rt})}return Be};var Uv=function(){return Uv=Object.assign||function(e){for(var t,i=1,r=arguments.length;i<r;i++){t=arguments[i]Line truncated
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function pse(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var gse=R2(function n(e){var t=this,i=e.expanded,r=i===void 0?[]:i,a=e.allowMultipleExpanded,l=a===void 0?!1:a,o=e.allowZeroExpanded,m=o===void 0?!1:o;D2(this,n),tA(this,"expanded",void 0),tA(this,"allowMultipleExpanded",void 0),tA(this,"allowZeroExpanded",void 0),tA(this,"toggleExpanded",function(C){if(t.isItemDisabled(C))return t;var S=t.isItemExpanded(C);return S?t.augment({expanded:t.expanded.filter(function(O){return O!==C})}):t.augment({expanded:t.allowMultipleExpanded?[].concat(use(t.expanded),[C]):[C]})}),tA(this,"isItemDisabled",function(C){var S=t.isItemExpanded(C),O=t.expanded.length===1;return!!(S&&!t.allowZeroExpanded&&O)}),tA(this,"isItemExpanded",function(C){return t.expanded.indexOf(C)!==-1}),tA(this,"getPanelAttributes",function(C,S){var O=S??t.isItemExpanded(C);return{role:t.allowMultipleExpanded?void 0:"region","aria-hidden":t.allowMultipleExpanded?!O:void 0,"aria-labelledby":t.getButtonId(C),id:t.getPanelId(C),hidden:O?void 0:!0}}),tA(this,"getHeadingAttributes",function(){return{role:"heading"}}),tA(this,"getButtonAttributes",function(C,S){var O=S??t.isItemExpanded(C),U=t.isItemDisabled(C);return{id:t.getButtonId(C),"aria-disabled":U,"aria-expanded":O,"aria-controls":t.getPanelId(C),role:"button",tabIndex:0}}),tA(this,"getPanelId",function(C){return"accordion__panel-".concat(C)}),tA(this,"getButtonId",function(C){return"accordion__heading-".concat(C)}),tA(this,"augment",function(C){return new n(CB({expanded:t.expanded,allowMultipleExpanded:t.allowMultipleExpanded,allowZeroExpanded:t.allowZeroExpanded},C))}),this.expanded=r,this.allowMultipleExpanded=l,this.allowZeroExpanded=m}),rG=Gt.createContext(null),oG=function(n){O8(t,n);var e=I8(t);function t(){var i;D2(this,t);for(var r=arguments.length,a=new Array(r),l=0;l<r;l++)a[l]=arguments[l];return i=e.call.apply(e,[this].concat(a)),tA(Vm(i),"state",new gse({expanded:i.props.preExpanded,allowMultipleExpanded:i.props.allowMultipleExpanded,allowZeroExpanded:i.props.allowZeroExpanded})),tA(Vm(i),"toggleExpanded",function(o){i.setState(function(m){return m.toggleExpanded(o)},function(){i.props.onChange&&i.props.onChange(i.state.expanded)})}),tA(Vm(i),"isItemDisabled",function(o){return i.state.isItemDisabled(o)}),tA(Vm(i),"isItemExpanded",function(o){return i.state.isItemExpanded(o)}),tA(Vm(i),"getPanelAttributes",function(o,m){return i.state.getPanelAttributes(o,m)}),tA(Vm(i),"getHeadingAttributes",function(){return i.state.getHeadingAttributes()}),tA(Vm(i),"getButtonAttributes",function(o,m){return i.state.getButtonAttributes(o,m)}),i}return R2(t,[{key:"render",value:function(){var r=this.state,a=r.allowZeroExpanded,l=r.allowMultipleExpanded;return Gt.createElement(rG.Provider,{value:{allowMultipleExpanded:l,allowZeroExpanded:a,toggleExpanded:this.toggleExpanded,isItemDisabled:this.isItemDisabled,isItemExpanded:this.isItemExpanded,getPanelAttributes:this.getPanelAttributes,getHeadingAttributes:this.getHeadingAttributes,getButtonAttributes:this.getButtonAttributes}},this.props.children||null)}}]),t}(Gt.PureComponent);tA(oG,"defaultProps",{allowMultipleExpanded:!1,allowZeroExpanded:!1});var aG=function(n){O8(t,n);var e=I8(t);function t(){var i;D2(this,t);for(var r=arguments.length,a=new Array(r),l=0;l<r;l++)a[l]=arguments[l];return i=e.call.apply(e,[this].concat(a)),tA(Vm(i),"renderChildren",function(o){return o?i.props.children(o):null}),i}return R2(t,[{key:"render",value:function(){return Gt.createElement(rG.Consumer,null,this.renderChildren)}}]),t}(Gt.PureComponent),yse=["className","allowMultipleExpanded","allowZeroExpanded","onChange","preExpanded"],vse=function(e){var t=e.className,i=t===void 0?"accordion":t,r=e.allowMultipleExpanded,a=e.allowZeroExpanded,l=e.onChange,o=e.preExpanded,m=P2(e,yse);return Gt.createElement(oG,{preExpanded:o,allowMultipleExpanded:r,allowZeroExpanded:a,onChange:l},Gt.createElement("div",n0({"data-accordion-component":"Accordion",className:i},m)))},xB;(function(n){n.Accordion="Accordion",n.AccordionItem="AccordionItem",n.AccordionItemButton="AccordionItemButton",n.AccordionItemHeading="AccordionItemHeading",n.AccordionItemPanel="AccordionItemPanel"})(xB||(xB={}));var sG=xB,GM=0;function Cse(){var n=GM;return GM=GM+1,"raa-".concat(n)}var _se=Gt.useId||Cse,bse=/[\u0009\u000a\u000c\u000d\u0020]/g;function F_(n){return n===""||bse.test(n)?(console.error('uuid must be a valid HTML5 id but was given "'.concat(n,'", ASCII whitespaces are forbidden')),!1):!0}var lG=Gt.createContext(null),xse=function(e){var t=e.children,i=e.uuid,r=e.accordionContext,a=e.dangerouslySetExpanded,l=function(){r.toggleExpanded(i)},o=function(C){var S=a??C.isItemExpanded(i),O=C.isItemDisabled(i),U=C.getPanelAttributes(i,a),K=C.getHeadingAttributes(i),z=C.getButtonAttributes(i,a);return Gt.createElement(lG.Provider,{value:{uuid:i,expanded:S,disabled:O,toggleExpanded:l,panelAttributes:U,headingAttributes:K,buttonAttributes:z}},t)};return Gt.createElement(aG,nu Line truncated
From the WAI-ARIA spec (https://www.w3.org/TR/wai-aria-practices-1.1/#accordion):
“The button element is the only element inside the heading element. That is, if there are other visually persistent elements, they are not included inside the heading element.”
`,gN=function(n){P8(t,n);var e=K8(t);function t(){var i;F2(this,t);for(var r=arguments.length,a=new Array(r),l=0;l<r;l++)a[l]=arguments[l];return i=e.call.apply(e,[this].concat(a)),tA($m(i),"ref",void 0),tA($m(i),"setRef",function(o){i.ref=o}),i}return z2(t,[{key:"componentDidUpdate",value:function(){t.VALIDATE(this.ref)}},{key:"componentDidMount",value:function(){t.VALIDATE(this.ref)}},{key:"render",value:function(){return Nt.createElement("div",n0({"data-accordion-component":"AccordionItemHeading"},this.props,{ref:this.setRef}))}}],[{key:"VALIDATE",value:function(r){if(r===void 0)throw new Error("ref is undefined");if(!(r.childElementCount===1&&r.firstElementChild&&r.firstElementChild.getAttribute("data-accordion-component")==="AccordionItemButton"))throw new Error(Yse)}}]),t}(Nt.PureComponent);tA(gN,"defaultProps",Qse);var yN=function(e){return Nt.createElement(N2,null,function(t){var i=t.headingAttributes;return e.id&&Q_(e.id),Nt.createElement(gN,n0({},e,i))})};yN.displayName=dN.AccordionItemHeading;var qse=["className","region","id"],Hse=function(e){var t=e.className,i=t===void 0?"accordion__panel":t,r=e.region,a=e.id,l=G2(e,qse),o=function(C){var S=C.panelAttributes;a&&Q_(a);var O=wB(wB({},S),{},{"aria-labelledby":r?S["aria-labelledby"]:void 0});return Nt.createElement("div",n0({"data-accordion-component":"AccordionItemPanel",className:i},l,O,{role:r?"region":void 0}))};return Nt.createElement(N2,null,o)},Kx={exports:{}},Vse=Kx.exports,hk;function W2(){return hk||(hk=1,function(n,e){(function(t,i){n.exports=i()})(Vse,function(){var t=navigator.userAgent,i=navigator.platform,r=/gecko\/\d/i.test(t),a=/MSIE \d/.test(t),l=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(t),o=/Edge\/(\d+)/.exec(t),m=a||l||o,C=m&&(a?document.documentMode||6:+(o||l)[1]),S=!o&&/WebKit\//.test(t),O=S&&/Qt\/\d+\.\d+/.test(t),U=!o&&/Chrome\/(\d+)/.exec(t),K=U&&+U[1],z=/Opera\//.test(t),j=/Apple Computer/.test(navigator.vendor),Q=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(t),ee=/PhantomJS/.test(t),V=j&&(/Mobile\/\w+/.test(t)||navigator.maxTouchPoints>2),ae=/Android/.test(t),ne=V||ae||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(t),Z=V||/Mac/.test(i),oe=/\bCrOS\b/.test(t),W=/win/i.test(i),ce=z&&t.match(/Version\/(\d*\.\d*)/);ce&&(ce=Number(ce[1])),ce&&ce>=15&&(z=!1,S=!0);var ge=Z&&(O||z&&(ce==null||ce<12.11)),ye=r||m&&C>=9;function Me(d){return new RegExp("(^|\\s)"+d+"(?:$|\\s)\\s*")}var Be=function(d,v){var B=d.className,E=Me(v).exec(B);if(E){var F=B.slice(E.index+E[0].length);d.className=B.slice(0,E.index)+(F?E[1]+F:"")}};function we(d){for(var v=d.childNodes.length;v>0;--v)d.removeChild(d.firstChild);return d}function qe(d,v){return we(d).appendChild(v)}function xe(d,v,B,E){var F=document.createElement(d);if(B&&(F.className=B),E&&(F.style.cssText=E),typeof v=="string")F.appendChild(document.createTextNode(v));else if(v)for(var X=0;X<v.length;++X)F.appendChild(v[X]);return F}function ze(d,v,B,E){var F=xe(d,v,B,E);return F.setAttribute("role","presentation"),F}var ot;document.createRange?ot=function(d,v,B,E){var F=document.createRange();return F.setEnd(E||d,B),F.setStart(d,v),F}:ot=function(d,v,B){var E=document.body.createTextRange();try{E.moveToElementText(d.parentNode)}catch{return E}return E.collapse(!0),E.moveEnd("character",B),E.moveStart("character",v),E};function yt(d,v){if(v.nodeType==3&&(v=v.parentNode),d.contains)return d.contains(v);do if(v.nodeType==11&&(v=v.host),v==d)return!0;while(v=v.parentNode)}function nt(d){var v=d.ownerDocument||d,B;try{B=d.activeElement}catch{B=v.body||null}for(;B&&B.shadowRoot&&B.shadowRoot.activeElement;)B=B.shadowRoot.activeElement;return B}function be(d,v){var B=d.className;Me(v).test(B)||(d.className+=(B?" ":"")+v)}function Ge(d,v){for(var B=d.split(" "),E=0;E<B.length;E++)B[E]&&!Me(B[E]).test(v)&&(v+=" "+B[E]);return v}var tt=function(d){d.select()};V?tt=function(d){d.selectionStart=0,d.selectionEnd=d.value.length}:m&&(tt=function(d){try{d.select()}catch{}});function lt(d){return d.display.wrapper.ownerDocument}function It(d){return pt(d.display.wrapper)}function pt(d){return d.getRootNode?d.getRootNode():d.ownerDocument}function St(d){return lt(d).defaultView}function Rt(d){var v=Array.prototype.slice.call(arguments,1);return function(){return d.apply(null,v)}}function Le(d,v,B){v||(v={});for(var E in d)d.hasOwnProperty(E)&&(B!==!1||!v.hasOwnProperty(E))&&(v[E]=d[E]);return v}function Pe(d,v,B,E,F){v==null&&(v=d.search(/[^\s\u00a0]/),v==-1&&(v=d.length));for(var X=E||0,fe=F||0;;){var _e=d.indexOf(" ",X);if(_e<0||_e>=v)return fe+(v-X);fe+=_e-X,fe+=B-fe%B,X=_e+1}}var Re=function(){this.id=null,this.f=null,this.time=0,this.handler=Rt(this.onTimeout,this)};Re.prototype.onTimeout=function(d){d.id=0,d.time<=+new Date?d.f():setTimeout(d.handler,d.time-+new Date)},Re.prototype.set=function(d,v){this.f=v;var B=+new Date+d;(!this.id||B<this.time)&&(clearTimeout(this.id),this.id=setTimeout(this.handler,d),this.time=B)};function He(d,v){for(var B=0;B<d.length;++B)if(d[B]==v)return B;return-1}var Line truncated
`,cG=function(n){O8(t,n);var e=I8(t);function t(){var i;D2(this,t);for(var r=arguments.length,a=new Array(r),l=0;l<r;l++)a[l]=arguments[l];return i=e.call.apply(e,[this].concat(a)),tA(Vm(i),"ref",void 0),tA(Vm(i),"setRef",function(o){i.ref=o}),i}return R2(t,[{key:"componentDidUpdate",value:function(){t.VALIDATE(this.ref)}},{key:"componentDidMount",value:function(){t.VALIDATE(this.ref)}},{key:"render",value:function(){return Gt.createElement("div",n0({"data-accordion-component":"AccordionItemHeading"},this.props,{ref:this.setRef}))}}],[{key:"VALIDATE",value:function(r){if(r===void 0)throw new Error("ref is undefined");if(!(r.childElementCount===1&&r.firstElementChild&&r.firstElementChild.getAttribute("data-accordion-component")==="AccordionItemButton"))throw new Error(Rse)}}]),t}(Gt.PureComponent);tA(cG,"defaultProps",Dse);var hG=function(e){return Gt.createElement(K2,null,function(t){var i=t.headingAttributes;return e.id&&F_(e.id),Gt.createElement(cG,n0({},e,i))})};hG.displayName=sG.AccordionItemHeading;var Pse=["className","region","id"],Kse=function(e){var t=e.className,i=t===void 0?"accordion__panel":t,r=e.region,a=e.id,l=P2(e,Pse),o=function(C){var S=C.panelAttributes;a&&F_(a);var O=CB(CB({},S),{},{"aria-labelledby":r?S["aria-labelledby"]:void 0});return Gt.createElement("div",n0({"data-accordion-component":"AccordionItemPanel",className:i},l,O,{role:r?"region":void 0}))};return Gt.createElement(K2,null,o)},Ix={exports:{}},Use=Ix.exports,ak;function L2(){return ak||(ak=1,function(n,e){(function(t,i){n.exports=i()})(Use,function(){var t=navigator.userAgent,i=navigator.platform,r=/gecko\/\d/i.test(t),a=/MSIE \d/.test(t),l=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(t),o=/Edge\/(\d+)/.exec(t),m=a||l||o,C=m&&(a?document.documentMode||6:+(o||l)[1]),S=!o&&/WebKit\//.test(t),O=S&&/Qt\/\d+\.\d+/.test(t),U=!o&&/Chrome\/(\d+)/.exec(t),K=U&&+U[1],z=/Opera\//.test(t),j=/Apple Computer/.test(navigator.vendor),Q=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(t),ee=/PhantomJS/.test(t),V=j&&(/Mobile\/\w+/.test(t)||navigator.maxTouchPoints>2),ae=/Android/.test(t),ne=V||ae||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(t),Z=V||/Mac/.test(i),oe=/\bCrOS\b/.test(t),W=/win/i.test(i),ue=z&&t.match(/Version\/(\d*\.\d*)/);ue&&(ue=Number(ue[1])),ue&&ue>=15&&(z=!1,S=!0);var ge=Z&&(O||z&&(ue==null||ue<12.11)),ye=r||m&&C>=9;function Me(d){return new RegExp("(^|\\s)"+d+"(?:$|\\s)\\s*")}var Be=function(d,v){var B=d.className,E=Me(v).exec(B);if(E){var F=B.slice(E.index+E[0].length);d.className=B.slice(0,E.index)+(F?E[1]+F:"")}};function we(d){for(var v=d.childNodes.length;v>0;--v)d.removeChild(d.firstChild);return d}function qe(d,v){return we(d).appendChild(v)}function xe(d,v,B,E){var F=document.createElement(d);if(B&&(F.className=B),E&&(F.style.cssText=E),typeof v=="string")F.appendChild(document.createTextNode(v));else if(v)for(var X=0;X<v.length;++X)F.appendChild(v[X]);return F}function ze(d,v,B,E){var F=xe(d,v,B,E);return F.setAttribute("role","presentation"),F}var ot;document.createRange?ot=function(d,v,B,E){var F=document.createRange();return F.setEnd(E||d,B),F.setStart(d,v),F}:ot=function(d,v,B){var E=document.body.createTextRange();try{E.moveToElementText(d.parentNode)}catch{return E}return E.collapse(!0),E.moveEnd("character",B),E.moveStart("character",v),E};function yt(d,v){if(v.nodeType==3&&(v=v.parentNode),d.contains)return d.contains(v);do if(v.nodeType==11&&(v=v.host),v==d)return!0;while(v=v.parentNode)}function nt(d){var v=d.ownerDocument||d,B;try{B=d.activeElement}catch{B=v.body||null}for(;B&&B.shadowRoot&&B.shadowRoot.activeElement;)B=B.shadowRoot.activeElement;return B}function be(d,v){var B=d.className;Me(v).test(B)||(d.className+=(B?" ":"")+v)}function Ne(d,v){for(var B=d.split(" "),E=0;E<B.length;E++)B[E]&&!Me(B[E]).test(v)&&(v+=" "+B[E]);return v}var tt=function(d){d.select()};V?tt=function(d){d.selectionStart=0,d.selectionEnd=d.value.length}:m&&(tt=function(d){try{d.select()}catch{}});function lt(d){return d.display.wrapper.ownerDocument}function It(d){return pt(d.display.wrapper)}function pt(d){return d.getRootNode?d.getRootNode():d.ownerDocument}function St(d){return lt(d).defaultView}function Rt(d){var v=Array.prototype.slice.call(arguments,1);return function(){return d.apply(null,v)}}function Le(d,v,B){v||(v={});for(var E in d)d.hasOwnProperty(E)&&(B!==!1||!v.hasOwnProperty(E))&&(v[E]=d[E]);return v}function Pe(d,v,B,E,F){v==null&&(v=d.search(/[^\s\u00a0]/),v==-1&&(v=d.length));for(var X=E||0,fe=F||0;;){var _e=d.indexOf(" ",X);if(_e<0||_e>=v)return fe+(v-X);fe+=_e-X,fe+=B-fe%B,X=_e+1}}var Re=function(){this.id=null,this.f=null,this.time=0,this.handler=Rt(this.onTimeout,this)};Re.prototype.onTimeout=function(d){d.id=0,d.time<=+new Date?d.f():setTimeout(d.handler,d.time-+new Date)},Re.prototype.set=function(d,v){this.f=v;var B=+new Date+d;(!this.id||B<this.time)&&(clearTimeout(this.id),this.id=setTimeout(this.handler,d),this.time=B)};function He(d,v){for(var B=0;B<d.length;++B)if(d[B]==v)return B;return-1}var Line truncated
b`.split(/\n/).length!=3?function(d){for(var v=0,B=[],E=d.length;v<=E;){var F=d.indexOf(`
`,v);F==-1&&(F=d.length);var X=d.slice(v,d.charAt(F-1)=="\r"?F-1:F),fe=X.indexOf("\r");fe!=-1?(B.push(X.slice(0,fe)),v+=fe+1):(B.push(X),v=F+1)}return B}:function(d){return d.split(/\r\n?|\n/)},Zn=window.getSelection?function(d){try{return d.selectionStart!=d.selectionEnd}catch{return!1}}:function(d){var v;try{v=d.ownerDocument.selection.createRange()}catch{}return!v||v.parentElement()!=d?!1:v.compareEndPoints("StartToEnd",v)!=0},lr=function(){var d=xe("div");return"oncopy"in d?!0:(d.setAttribute("oncopy","return;"),typeof d.oncopy=="function")}(),zi=null;function vr(d){if(zi!=null)return zi;var v=qe(d,xe("span","x")),B=v.getBoundingClientRect(),E=ot(v,0,1).getBoundingClientRect();return zi=Math.abs(B.left-E.left)>1}var La={},Ir={};function Gi(d,v){arguments.length>2&&(v.dependencies=Array.prototype.slice.call(arguments,2)),La[d]=v}function gl(d,v){Ir[d]=v}function Ta(d){if(typeof d=="string"&&Ir.hasOwnProperty(d))d=Ir[d];else if(d&&typeof d.name=="string"&&Ir.hasOwnProperty(d.name)){var v=Ir[d.name];typeof v=="string"&&(v={name:v}),d=Bi(v,d),d.name=v.name}else{if(typeof d=="string"&&/^[\w\-]+\/[\w\-]+\+xml$/.test(d))return Ta("application/xml");if(typeof d=="string"&&/^[\w\-]+\/[\w\-]+\+json$/.test(d))return Ta("application/json")}return typeof d=="string"?{name:d}:d||{name:"null"}}function So(d,v){v=Ta(v);var B=La[v.name];if(!B)return So(d,"text/plain");var E=B(d,v);if($a.hasOwnProperty(v.name)){var F=$a[v.name];for(var X in F)F.hasOwnProperty(X)&&(E.hasOwnProperty(X)&&(E["_"+X]=E[X]),E[X]=F[X])}if(E.name=v.name,v.helperType&&(E.helperType=v.helperType),v.modeProps)for(var fe in v.modeProps)E[fe]=v.modeProps[fe];return E}var $a={};function Ol(d,v){var B=$a.hasOwnProperty(d)?$a[d]:$a[d]={};Le(v,B)}function Ao(d,v){if(v===!0)return v;if(d.copyState)return d.copyState(v);var B={};for(var E in v){var F=v[E];F instanceof Array&&(F=F.concat([])),B[E]=F}return B}function QA(d,v){for(var B;d.innerMode&&(B=d.innerMode(v),!(!B||B.mode==d));)v=B.state,d=B.mode;return B||{mode:d,state:v}}function ka(d,v,B){return d.startState?d.startState(v,B):!0}var Vi=function(d,v,B){this.pos=this.start=0,this.string=d,this.tabSize=v||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=B};Vi.prototype.eol=function(){return this.pos>=this.string.length},Vi.prototype.sol=function(){return this.pos==this.lineStart},Vi.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},Vi.prototype.next=function(){if(this.pos<this.string.length)return this.string.charAt(this.pos++)},Vi.prototype.eat=function(d){var v=this.string.charAt(this.pos),B;if(typeof d=="string"?B=v==d:B=v&&(d.test?d.test(v):d(v)),B)return++this.pos,v},Vi.prototype.eatWhile=function(d){for(var v=this.pos;this.eat(d););return this.pos>v},Vi.prototype.eatSpace=function(){for(var d=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>d},Vi.prototype.skipToEnd=function(){this.pos=this.string.length},Vi.prototype.skipTo=function(d){var v=this.string.indexOf(d,this.pos);if(v>-1)return this.pos=v,!0},Vi.prototype.backUp=function(d){this.pos-=d},Vi.prototype.column=function(){return this.lastColumnPos<this.start&&(this.lastColumnValue=Pe(this.string,this.start,this.tabSize,this.lastColumnPos,this.lastColumnValue),this.lastColumnPos=this.start),this.lastColumnValue-(this.lineStart?Pe(this.string,this.lineStart,this.tabSize):0)},Vi.prototype.indentation=function(){return Pe(this.string,null,this.tabSize)-(this.lineStart?Pe(this.string,this.lineStart,this.tabSize):0)},Vi.prototype.match=function(d,v,B){if(typeof d=="string"){var E=function(fe){return B?fe.toLowerCase():fe},F=this.string.substr(this.pos,d.length);if(E(F)==E(d))return v!==!1&&(this.pos+=d.length),!0}else{var X=this.string.slice(this.pos).match(d);return X&&X.index>0?null:(X&&v!==!1&&(this.pos+=X[0].length),X)}},Vi.prototype.current=function(){return this.string.slice(this.start,this.pos)},Vi.prototype.hideFirstChars=function(d,v){this.lineStart+=d;try{return v()}finally{this.lineStart-=d}},Vi.prototype.lookAhead=function(d){var v=this.lineOracle;return v&&v.lookAhead(d)},Vi.prototype.baseToken=function(){var d=this.lineOracle;return d&&d.baseToken(this.pos)};function xi(d,v){if(v-=d.first,v<0||v>=d.size)throw new Error("There is no line "+(v+d.first)+" in the document.");for(var B=d;!B.lines;)for(var E=0;;++E){var F=B.children[E],X=F.chunkSize();if(v<X){B=F;break}v-=X}return B.lines[v]}function ls(d,v,B){var E=[],F=v.line;return d.iter(v.line,B.line+1,function(X){var fe=X.text;F==B.line&&(fe=fe.slice(0,B.ch)),F==v.line&&(fe=fe.slice(v.ch)),E.push(fe),++F}),E}function Ma(d,v,B){var E=[];return d.iter(v,B,function(F){E.push(F.text)}),E}function Vo(d,v){var B=v-d.height;if(B)for(var E=d;E;E=E.parent)E.height+=B}function $e(d){if(d.parent==null)return null;for(var v=d.parent,B=He(v.lines,d),E=v.parent;E;v=E,E=E.parent)for(var F=0;E.children[F]!=v;++F)B+=E.children[F].chunkSize();return B+v.first}function Et(d,v){var B=d.first;e:do{for(var E=0;E<d.child Line truncated
`?(Rn=_t.appendChild(xe("span",Jt[0]=="\r"?"␍":"␤","cm-invalidchar")),Rn.setAttribute("cm-text",Jt[0]),d.col+=1):(Rn=d.cm.options.specialCharPlaceholder(Jt[0]),Rn.setAttribute("cm-text",Jt[0]),m&&C<9?_t.appendChild(xe("span",[Rn])):_t.appendChild(Rn),d.col+=1);d.map.push(d.pos,d.pos+1,Rn),d.pos++}}if(d.trailingSpace=_e.charCodeAt(v.length-1)==32,B||E||F||Fe||X||fe){var Ci=B||"";E&&(Ci+=E),F&&(Ci+=F);var gi=xe("span",[_t],Ci,X);if(fe)for(var ki in fe)fe.hasOwnProperty(ki)&&ki!="style"&&ki!="class"&&gi.setAttribute(ki,fe[ki]);return d.content.appendChild(gi)}d.content.appendChild(_t)}}function Gh(d,v){if(d.length>1&&!/ /.test(d))return d;for(var B=v,E="",F=0;F<d.length;F++){var X=d.charAt(F);X==" "&&B&&(F==d.length-1||d.charCodeAt(F+1)==32)&&(X=" "),E+=X,B=X==" "}return E}function po(d,v){return function(B,E,F,X,fe,_e,ke){F=F?F+" cm-force-border":"cm-force-border";for(var Fe=B.pos,_t=Fe+E.length;;){for(var Tt=void 0,Jt=0;Jt<v.length&&(Tt=v[Jt],!(Tt.to>Fe&&Tt.from<=Fe));Jt++);if(Tt.to>=_t)return d(B,E,F,X,fe,_e,ke);d(B,E.slice(0,Tt.to-Fe),F,X,null,_e,ke),X=null,E=E.slice(Tt.to-Fe),Fe=Tt.to}}}function ic(d,v,B,E){var F=!E&&B.widgetNode;F&&d.map.push(d.pos,d.pos+v,F),!E&&d.cm.display.input.needsContentAttribute&&(F||(F=d.content.appendChild(document.createElement("span"))),F.setAttribute("cm-marker",B.id)),F&&(d.cm.display.input.setUneditable(F),d.content.appendChild(F)),d.pos+=v,d.trailingSpace=!1}function vd(d,v,B){var E=d.markedSpans,F=d.text,X=0;if(!E){for(var fe=1;fe<B.length;fe+=2)v.addToken(v,F.slice(X,X=B[fe]),yd(B[fe+1],v.cm.options));return}for(var _e=F.length,ke=0,Fe=1,_t="",Tt,Jt,Ht=0,_n,Rn,oi,pi,Ci;;){if(Ht==ke){_n=Rn=oi=Jt="",Ci=null,pi=null,Ht=1/0;for(var gi=[],ki=void 0,ar=0;ar<E.length;++ar){var Yi=E[ar],Xr=Yi.marker;if(Xr.type=="bookmark"&&Yi.from==ke&&Xr.widgetNode)gi.push(Xr);else if(Yi.from<=ke&&(Yi.to==null||Yi.to>ke||Xr.collapsed&&Yi.to==ke&&Yi.from==ke)){if(Yi.to!=null&&Yi.to!=ke&&Ht>Yi.to&&(Ht=Yi.to,Rn=""),Xr.className&&(_n+=" "+Xr.className),Xr.css&&(Jt=(Jt?Jt+";":"")+Xr.css),Xr.startStyle&&Yi.from==ke&&(oi+=" "+Xr.startStyle),Xr.endStyle&&Yi.to==Ht&&(ki||(ki=[])).push(Xr.endStyle,Yi.to),Xr.title&&((Ci||(Ci={})).title=Xr.title),Xr.attributes)for(var xr in Xr.attributes)(Ci||(Ci={}))[xr]=Xr.attributes[xr];Xr.collapsed&&(!pi||st(pi.marker,Xr)<0)&&(pi=Yi)}else Yi.from>ke&&Ht>Yi.from&&(Ht=Yi.from)}if(ki)for(var ns=0;ns<ki.length;ns+=2)ki[ns+1]==Ht&&(Rn+=" "+ki[ns]);if(!pi||pi.from==ke)for(var ua=0;ua<gi.length;++ua)ic(v,0,gi[ua]);if(pi&&(pi.from||0)==ke){if(ic(v,(pi.to==null?_e+1:pi.to)-ke,pi.marker,pi.from==null),pi.to==null)return;pi.to==ke&&(pi=!1)}}if(ke>=_e)break;for(var Yr=Math.min(_e,Ht);;){if(_t){var ys=ke+_t.length;if(!pi){var vs=ys>Yr?_t.slice(0,Yr-ke):_t;v.addToken(v,vs,Tt?Tt+_n:_n,oi,ke+vs.length==Ht?Rn:"",Jt,Ci)}if(ys>=Yr){_t=_t.slice(Yr-ke),ke=Yr;break}ke=ys,oi=""}_t=F.slice(X,X=B[Fe++]),Tt=yd(B[Fe++],v.cm.options)}}}function fp(d,v,B){this.line=v,this.rest=eo(v),this.size=this.rest?$e($n(this.rest))-B+1:1,this.node=this.text=null,this.hidden=pr(d,v)}function gh(d,v,B){for(var E=[],F,X=v;X<B;X=F){var fe=new fp(d.doc,xi(d.doc,X),X);F=X+fe.size,E.push(fe)}return E}var Cd=null;function o0(d){Cd?Cd.ops.push(d):d.ownsGroup=Cd={ops:[d],delayedCallbacks:[]}}function kf(d){var v=d.delayedCallbacks,B=0;do{for(;B<v.length;B++)v[B].call(null);for(var E=0;E<d.ops.length;E++){var F=d.ops[E];if(F.cursorActivityHandlers)for(;F.cursorActivityCalled<F.cursorActivityHandlers.length;)F.cursorActivityHandlers[F.cursorActivityCalled++].call(null,F.cm)}}while(B<v.length)}function Df(d,v){var B=d.ownsGroup;if(B)try{kf(B)}finally{Cd=null,v(B)}}var VA=null;function Xa(d,v){var B=ht(d,v);if(B.length){var E=Array.prototype.slice.call(arguments,2),F;Cd?F=Cd.delayedCallbacks:VA?F=VA:(F=VA=[],setTimeout(_d,0));for(var X=function(_e){F.push(function(){return B[_e].apply(null,E)})},fe=0;fe<B.length;++fe)X(fe)}}function _d(){var d=VA;VA=null;for(var v=0;v<d.length;++v)d[v]()}function Fl(d,v,B,E){for(var F=0;F<v.changes.length;F++){var X=v.changes[F];X=="text"?jh(d,v):X=="gutter"?yh(d,v,B,E):X=="class"?Rf(d,v):X=="widget"&&vh(d,v,E)}v.changes=null}function bd(d){return d.node==d.text&&(d.node=xe("div",null,null,"position: relative"),d.text.parentNode&&d.text.parentNode.replaceChild(d.node,d.text),d.node.appendChild(d.text),m&&C<8&&(d.node.style.zIndex=2)),d.node}function Nh(d,v){var B=v.bgClass?v.bgClass+" "+(v.line.bgClass||""):v.line.bgClass;if(B&&(B+=" CodeMirror-linebackground"),v.background)B?v.background.className=B:(v.background.parentNode.removeChild(v.background),v.background=null);else if(B){var E=bd(v);v.background=E.insertBefore(xe("div",null,B),E.firstChild),d.display.input.setUneditable(v.background)}}function Yc(d,v){var B=d.display.externalMeasured;return B&&B.line==v.line?(d.display.externalMeasured=null,v.measure=B.measure,B.built):Ru(d,v)}function jh(d,v){var B=v.text.className,E=Yc(d,v);v.text==v.node&&(v.node=E.pre),v.text.parentNode.replaceChild(E.pre,v.text),v.text=E.pre,E.bgClass Line truncated
`,v);F==-1&&(F=d.length);var X=d.slice(v,d.charAt(F-1)=="\r"?F-1:F),fe=X.indexOf("\r");fe!=-1?(B.push(X.slice(0,fe)),v+=fe+1):(B.push(X),v=F+1)}return B}:function(d){return d.split(/\r\n?|\n/)},Zn=window.getSelection?function(d){try{return d.selectionStart!=d.selectionEnd}catch{return!1}}:function(d){var v;try{v=d.ownerDocument.selection.createRange()}catch{}return!v||v.parentElement()!=d?!1:v.compareEndPoints("StartToEnd",v)!=0},lr=function(){var d=xe("div");return"oncopy"in d?!0:(d.setAttribute("oncopy","return;"),typeof d.oncopy=="function")}(),zi=null;function vr(d){if(zi!=null)return zi;var v=qe(d,xe("span","x")),B=v.getBoundingClientRect(),E=ot(v,0,1).getBoundingClientRect();return zi=Math.abs(B.left-E.left)>1}var La={},Ir={};function Ni(d,v){arguments.length>2&&(v.dependencies=Array.prototype.slice.call(arguments,2)),La[d]=v}function gl(d,v){Ir[d]=v}function Ta(d){if(typeof d=="string"&&Ir.hasOwnProperty(d))d=Ir[d];else if(d&&typeof d.name=="string"&&Ir.hasOwnProperty(d.name)){var v=Ir[d.name];typeof v=="string"&&(v={name:v}),d=Bi(v,d),d.name=v.name}else{if(typeof d=="string"&&/^[\w\-]+\/[\w\-]+\+xml$/.test(d))return Ta("application/xml");if(typeof d=="string"&&/^[\w\-]+\/[\w\-]+\+json$/.test(d))return Ta("application/json")}return typeof d=="string"?{name:d}:d||{name:"null"}}function So(d,v){v=Ta(v);var B=La[v.name];if(!B)return So(d,"text/plain");var E=B(d,v);if($a.hasOwnProperty(v.name)){var F=$a[v.name];for(var X in F)F.hasOwnProperty(X)&&(E.hasOwnProperty(X)&&(E["_"+X]=E[X]),E[X]=F[X])}if(E.name=v.name,v.helperType&&(E.helperType=v.helperType),v.modeProps)for(var fe in v.modeProps)E[fe]=v.modeProps[fe];return E}var $a={};function Ol(d,v){var B=$a.hasOwnProperty(d)?$a[d]:$a[d]={};Le(v,B)}function Ao(d,v){if(v===!0)return v;if(d.copyState)return d.copyState(v);var B={};for(var E in v){var F=v[E];F instanceof Array&&(F=F.concat([])),B[E]=F}return B}function QA(d,v){for(var B;d.innerMode&&(B=d.innerMode(v),!(!B||B.mode==d));)v=B.state,d=B.mode;return B||{mode:d,state:v}}function ka(d,v,B){return d.startState?d.startState(v,B):!0}var Vi=function(d,v,B){this.pos=this.start=0,this.string=d,this.tabSize=v||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=B};Vi.prototype.eol=function(){return this.pos>=this.string.length},Vi.prototype.sol=function(){return this.pos==this.lineStart},Vi.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},Vi.prototype.next=function(){if(this.pos<this.string.length)return this.string.charAt(this.pos++)},Vi.prototype.eat=function(d){var v=this.string.charAt(this.pos),B;if(typeof d=="string"?B=v==d:B=v&&(d.test?d.test(v):d(v)),B)return++this.pos,v},Vi.prototype.eatWhile=function(d){for(var v=this.pos;this.eat(d););return this.pos>v},Vi.prototype.eatSpace=function(){for(var d=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>d},Vi.prototype.skipToEnd=function(){this.pos=this.string.length},Vi.prototype.skipTo=function(d){var v=this.string.indexOf(d,this.pos);if(v>-1)return this.pos=v,!0},Vi.prototype.backUp=function(d){this.pos-=d},Vi.prototype.column=function(){return this.lastColumnPos<this.start&&(this.lastColumnValue=Pe(this.string,this.start,this.tabSize,this.lastColumnPos,this.lastColumnValue),this.lastColumnPos=this.start),this.lastColumnValue-(this.lineStart?Pe(this.string,this.lineStart,this.tabSize):0)},Vi.prototype.indentation=function(){return Pe(this.string,null,this.tabSize)-(this.lineStart?Pe(this.string,this.lineStart,this.tabSize):0)},Vi.prototype.match=function(d,v,B){if(typeof d=="string"){var E=function(fe){return B?fe.toLowerCase():fe},F=this.string.substr(this.pos,d.length);if(E(F)==E(d))return v!==!1&&(this.pos+=d.length),!0}else{var X=this.string.slice(this.pos).match(d);return X&&X.index>0?null:(X&&v!==!1&&(this.pos+=X[0].length),X)}},Vi.prototype.current=function(){return this.string.slice(this.start,this.pos)},Vi.prototype.hideFirstChars=function(d,v){this.lineStart+=d;try{return v()}finally{this.lineStart-=d}},Vi.prototype.lookAhead=function(d){var v=this.lineOracle;return v&&v.lookAhead(d)},Vi.prototype.baseToken=function(){var d=this.lineOracle;return d&&d.baseToken(this.pos)};function xi(d,v){if(v-=d.first,v<0||v>=d.size)throw new Error("There is no line "+(v+d.first)+" in the document.");for(var B=d;!B.lines;)for(var E=0;;++E){var F=B.children[E],X=F.chunkSize();if(v<X){B=F;break}v-=X}return B.lines[v]}function ls(d,v,B){var E=[],F=v.line;return d.iter(v.line,B.line+1,function(X){var fe=X.text;F==B.line&&(fe=fe.slice(0,B.ch)),F==v.line&&(fe=fe.slice(v.ch)),E.push(fe),++F}),E}function Ma(d,v,B){var E=[];return d.iter(v,B,function(F){E.push(F.text)}),E}function Vo(d,v){var B=v-d.height;if(B)for(var E=d;E;E=E.parent)E.height+=B}function $e(d){if(d.parent==null)return null;for(var v=d.parent,B=He(v.lines,d),E=v.parent;E;v=E,E=E.parent)for(var F=0;E.children[F]!=v;++F)B+=E.children[F].chunkSize();return B+v.first}function Et(d,v){var B=d.first;e:do{for(var E=0;E<d.child Line truncated
`?(Rn=_t.appendChild(xe("span",Jt[0]=="\r"?"␍":"␤","cm-invalidchar")),Rn.setAttribute("cm-text",Jt[0]),d.col+=1):(Rn=d.cm.options.specialCharPlaceholder(Jt[0]),Rn.setAttribute("cm-text",Jt[0]),m&&C<9?_t.appendChild(xe("span",[Rn])):_t.appendChild(Rn),d.col+=1);d.map.push(d.pos,d.pos+1,Rn),d.pos++}}if(d.trailingSpace=_e.charCodeAt(v.length-1)==32,B||E||F||Fe||X||fe){var Ci=B||"";E&&(Ci+=E),F&&(Ci+=F);var gi=xe("span",[_t],Ci,X);if(fe)for(var ki in fe)fe.hasOwnProperty(ki)&&ki!="style"&&ki!="class"&&gi.setAttribute(ki,fe[ki]);return d.content.appendChild(gi)}d.content.appendChild(_t)}}function Nh(d,v){if(d.length>1&&!/ /.test(d))return d;for(var B=v,E="",F=0;F<d.length;F++){var X=d.charAt(F);X==" "&&B&&(F==d.length-1||d.charCodeAt(F+1)==32)&&(X=" "),E+=X,B=X==" "}return E}function po(d,v){return function(B,E,F,X,fe,_e,ke){F=F?F+" cm-force-border":"cm-force-border";for(var Fe=B.pos,_t=Fe+E.length;;){for(var Tt=void 0,Jt=0;Jt<v.length&&(Tt=v[Jt],!(Tt.to>Fe&&Tt.from<=Fe));Jt++);if(Tt.to>=_t)return d(B,E,F,X,fe,_e,ke);d(B,E.slice(0,Tt.to-Fe),F,X,null,_e,ke),X=null,E=E.slice(Tt.to-Fe),Fe=Tt.to}}}function ic(d,v,B,E){var F=!E&&B.widgetNode;F&&d.map.push(d.pos,d.pos+v,F),!E&&d.cm.display.input.needsContentAttribute&&(F||(F=d.content.appendChild(document.createElement("span"))),F.setAttribute("cm-marker",B.id)),F&&(d.cm.display.input.setUneditable(F),d.content.appendChild(F)),d.pos+=v,d.trailingSpace=!1}function vd(d,v,B){var E=d.markedSpans,F=d.text,X=0;if(!E){for(var fe=1;fe<B.length;fe+=2)v.addToken(v,F.slice(X,X=B[fe]),yd(B[fe+1],v.cm.options));return}for(var _e=F.length,ke=0,Fe=1,_t="",Tt,Jt,Ht=0,_n,Rn,oi,pi,Ci;;){if(Ht==ke){_n=Rn=oi=Jt="",Ci=null,pi=null,Ht=1/0;for(var gi=[],ki=void 0,ar=0;ar<E.length;++ar){var Yi=E[ar],Xr=Yi.marker;if(Xr.type=="bookmark"&&Yi.from==ke&&Xr.widgetNode)gi.push(Xr);else if(Yi.from<=ke&&(Yi.to==null||Yi.to>ke||Xr.collapsed&&Yi.to==ke&&Yi.from==ke)){if(Yi.to!=null&&Yi.to!=ke&&Ht>Yi.to&&(Ht=Yi.to,Rn=""),Xr.className&&(_n+=" "+Xr.className),Xr.css&&(Jt=(Jt?Jt+";":"")+Xr.css),Xr.startStyle&&Yi.from==ke&&(oi+=" "+Xr.startStyle),Xr.endStyle&&Yi.to==Ht&&(ki||(ki=[])).push(Xr.endStyle,Yi.to),Xr.title&&((Ci||(Ci={})).title=Xr.title),Xr.attributes)for(var xr in Xr.attributes)(Ci||(Ci={}))[xr]=Xr.attributes[xr];Xr.collapsed&&(!pi||st(pi.marker,Xr)<0)&&(pi=Yi)}else Yi.from>ke&&Ht>Yi.from&&(Ht=Yi.from)}if(ki)for(var ns=0;ns<ki.length;ns+=2)ki[ns+1]==Ht&&(Rn+=" "+ki[ns]);if(!pi||pi.from==ke)for(var ua=0;ua<gi.length;++ua)ic(v,0,gi[ua]);if(pi&&(pi.from||0)==ke){if(ic(v,(pi.to==null?_e+1:pi.to)-ke,pi.marker,pi.from==null),pi.to==null)return;pi.to==ke&&(pi=!1)}}if(ke>=_e)break;for(var Yr=Math.min(_e,Ht);;){if(_t){var ys=ke+_t.length;if(!pi){var vs=ys>Yr?_t.slice(0,Yr-ke):_t;v.addToken(v,vs,Tt?Tt+_n:_n,oi,ke+vs.length==Ht?Rn:"",Jt,Ci)}if(ys>=Yr){_t=_t.slice(Yr-ke),ke=Yr;break}ke=ys,oi=""}_t=F.slice(X,X=B[Fe++]),Tt=yd(B[Fe++],v.cm.options)}}}function dp(d,v,B){this.line=v,this.rest=eo(v),this.size=this.rest?$e($n(this.rest))-B+1:1,this.node=this.text=null,this.hidden=pr(d,v)}function gh(d,v,B){for(var E=[],F,X=v;X<B;X=F){var fe=new dp(d.doc,xi(d.doc,X),X);F=X+fe.size,E.push(fe)}return E}var Cd=null;function o0(d){Cd?Cd.ops.push(d):d.ownsGroup=Cd={ops:[d],delayedCallbacks:[]}}function Tf(d){var v=d.delayedCallbacks,B=0;do{for(;B<v.length;B++)v[B].call(null);for(var E=0;E<d.ops.length;E++){var F=d.ops[E];if(F.cursorActivityHandlers)for(;F.cursorActivityCalled<F.cursorActivityHandlers.length;)F.cursorActivityHandlers[F.cursorActivityCalled++].call(null,F.cm)}}while(B<v.length)}function kf(d,v){var B=d.ownsGroup;if(B)try{Tf(B)}finally{Cd=null,v(B)}}var VA=null;function Xa(d,v){var B=ht(d,v);if(B.length){var E=Array.prototype.slice.call(arguments,2),F;Cd?F=Cd.delayedCallbacks:VA?F=VA:(F=VA=[],setTimeout(_d,0));for(var X=function(_e){F.push(function(){return B[_e].apply(null,E)})},fe=0;fe<B.length;++fe)X(fe)}}function _d(){var d=VA;VA=null;for(var v=0;v<d.length;++v)d[v]()}function Fl(d,v,B,E){for(var F=0;F<v.changes.length;F++){var X=v.changes[F];X=="text"?jh(d,v):X=="gutter"?yh(d,v,B,E):X=="class"?Df(d,v):X=="widget"&&vh(d,v,E)}v.changes=null}function bd(d){return d.node==d.text&&(d.node=xe("div",null,null,"position: relative"),d.text.parentNode&&d.text.parentNode.replaceChild(d.node,d.text),d.node.appendChild(d.text),m&&C<8&&(d.node.style.zIndex=2)),d.node}function Gh(d,v){var B=v.bgClass?v.bgClass+" "+(v.line.bgClass||""):v.line.bgClass;if(B&&(B+=" CodeMirror-linebackground"),v.background)B?v.background.className=B:(v.background.parentNode.removeChild(v.background),v.background=null);else if(B){var E=bd(v);v.background=E.insertBefore(xe("div",null,B),E.firstChild),d.display.input.setUneditable(v.background)}}function Yc(d,v){var B=d.display.externalMeasured;return B&&B.line==v.line?(d.display.externalMeasured=null,v.measure=B.measure,B.built):Ru(d,v)}function jh(d,v){var B=v.text.className,E=Yc(d,v);v.text==v.node&&(v.node=E.pre),v.text.parentNode.replaceChild(E.pre,v.text),v.text=E.pre,E.bgClass Line truncated
top: `+ki+"px; width: "+(ar??ke-gi)+`px;
height: `+(Yi-ki)+"px"))}function Tt(gi,ki,ar){var Yi=xi(F,gi),Xr=Yi.text.length,xr,ns;function ua(vs,ca){return wn(d,rn(gi,vs),"div",Yi,ca)}function Yr(vs,ca,Vl){var Is=Do(d,Yi,null,vs),Gs=ca=="ltr"==(Vl=="after")?"left":"right",Br=Vl=="after"?Is.begin:Is.end-(/\s/.test(Yi.text.charAt(Is.end-1))?2:1);return ua(Br,Gs)[Gs]}var ys=Ze(Yi,F.direction);return We(ys,ki||0,ar??Xr,function(vs,ca,Vl,Is){var Gs=Vl=="ltr",Br=ua(vs,Gs?"left":"right"),Ea=ua(ca-1,Gs?"right":"left"),$l=ki==null&&vs==0,fc=ar==null&&ca==Xr,mA=Is==0,rh=!ys||Is==ys.length-1;if(Ea.top-Br.top<=3){var cs=(Fe?$l:fc)&&mA,Su=(Fe?fc:$l)&&rh,Ml=cs?_e:(Gs?Br:Ea).left,mc=Su?ke:(Gs?Ea:Br).right;_t(Ml,Br.top,mc-Ml,Br.bottom)}else{var al,pA,Vu,od;Gs?(al=Fe&&$l&&mA?_e:Br.left,pA=Fe?ke:Yr(vs,Vl,"before"),Vu=Fe?_e:Yr(ca,Vl,"after"),od=Fe&&fc&&rh?ke:Ea.right):(al=Fe?Yr(vs,Vl,"before"):_e,pA=!Fe&&$l&&mA?ke:Br.right,Vu=!Fe&&fc&&rh?_e:Ea.left,od=Fe?Yr(ca,Vl,"after"):ke),_t(al,Br.top,pA-al,Br.bottom),Br.bottom<Ea.top&&_t(_e,Br.bottom,null,Ea.top),_t(Vu,Ea.top,od-Vu,Ea.bottom)}(!xr||sc(Br,xr)<0)&&(xr=Br),sc(Ea,xr)<0&&(xr=Ea),(!ns||sc(Br,ns)<0)&&(ns=Br),sc(Ea,ns)<0&&(ns=Ea)}),{start:xr,end:ns}}var Jt=v.from(),Ht=v.to();if(Jt.line==Ht.line)Tt(Jt.line,Jt.ch,Ht.ch);else{var _n=xi(F,Jt.line),Rn=xi(F,Ht.line),oi=Di(_n)==Di(Rn),pi=Tt(Jt.line,Jt.ch,oi?_n.text.length+1:null).end,Ci=Tt(Ht.line,oi?0:null,Ht.ch).start;oi&&(pi.top<Ci.top-2?(_t(pi.right,pi.top,null,pi.bottom),_t(_e,Ci.top,Ci.left,Ci.bottom)):_t(pi.right,pi.top,Ci.left-pi.right,pi.bottom)),pi.bottom<Ci.top&&_t(_e,pi.bottom,null,Ci.top)}B.appendChild(X)}function Ec(d){if(d.state.focused){var v=d.display;clearInterval(v.blinker);var B=!0;v.cursorDiv.style.visibility="",d.options.cursorBlinkRate>0?v.blinker=setInterval(function(){d.hasFocus()||mu(d),v.cursorDiv.style.visibility=(B=!B)?"":"hidden"},d.options.cursorBlinkRate):d.options.cursorBlinkRate<0&&(v.cursorDiv.style.visibility="hidden")}}function Es(d){d.hasFocus()||(d.display.input.focus(),d.state.focused||Ed(d))}function bh(d){d.state.delayingBlurEvent=!0,setTimeout(function(){d.state.delayingBlurEvent&&(d.state.delayingBlurEvent=!1,d.state.focused&&mu(d))},100)}function Ed(d,v){d.state.delayingBlurEvent&&!d.state.draggingText&&(d.state.delayingBlurEvent=!1),d.options.readOnly!="nocursor"&&(d.state.focused||(it(d,"focus",d,v),d.state.focused=!0,be(d.display.wrapper,"CodeMirror-focused"),!d.curOp&&d.display.selForContextMenu!=d.doc.sel&&(d.display.input.reset(),S&&setTimeout(function(){return d.display.input.reset(!0)},20)),d.display.input.receivedFocus()),Ec(d))}function mu(d,v){d.state.delayingBlurEvent||(d.state.focused&&(it(d,"blur",d,v),d.state.focused=!1,Be(d.display.wrapper,"CodeMirror-focused")),clearInterval(d.display.blinker),setTimeout(function(){d.state.focused||(d.display.shift=!1)},150))}function Bd(d){for(var v=d.display,B=v.lineDiv.offsetTop,E=Math.max(0,v.scroller.getBoundingClientRect().top),F=v.lineDiv.getBoundingClientRect().top,X=0,fe=0;fe<v.view.length;fe++){var _e=v.view[fe],ke=d.options.lineWrapping,Fe=void 0,_t=0;if(!_e.hidden){if(F+=_e.line.height,m&&C<8){var Tt=_e.node.offsetTop+_e.node.offsetHeight;Fe=Tt-B,B=Tt}else{var Jt=_e.node.getBoundingClientRect();Fe=Jt.bottom-Jt.top,!ke&&_e.text.firstChild&&(_t=_e.text.firstChild.getBoundingClientRect().right-Jt.left-1)}var Ht=_e.line.height-Fe;if((Ht>.005||Ht<-.005)&&(F<E&&(X-=Ht),Vo(_e.line,Fe),Vc(_e.line),_e.rest))for(var _n=0;_n<_e.rest.length;_n++)Vc(_e.rest[_n]);if(_t>d.display.sizerWidth){var Rn=Math.ceil(_t/wA(d.display));Rn>d.display.maxLineLength&&(d.display.maxLineLength=Rn,d.display.maxLine=_e.line,d.display.maxLineChanged=!0)}}}Math.abs(X)>2&&(v.scroller.scrollTop+=X)}function Vc(d){if(d.widgets)for(var v=0;v<d.widgets.length;++v){var B=d.widgets[v],E=B.node.parentNode;E&&(B.height=E.offsetHeight)}}function OA(d,v,B){var E=B&&B.top!=null?Math.max(0,B.top):d.scroller.scrollTop;E=Math.floor(E-xc(d));var F=B&&B.bottom!=null?B.bottom:E+d.wrapper.clientHeight,X=Et(v,E),fe=Et(v,F);if(B&&B.ensure){var _e=B.ensure.from.line,ke=B.ensure.to.line;_e<X?(X=_e,fe=Et(v,No(xi(v,_e))+d.wrapper.clientHeight)):Math.min(ke,v.lastLine())>=fe&&(X=Et(v,No(xi(v,ke))-d.wrapper.clientHeight),fe=ke)}return{from:X,to:Math.max(fe,X+1)}}function Uu(d,v){if(!en(d,"scrollCursorIntoView")){var B=d.display,E=B.sizer.getBoundingClientRect(),F=null,X=B.wrapper.ownerDocument;if(v.top+E.top<0?F=!0:v.bottom+E.top>(X.defaultView.innerHeight||X.documentElement.clientHeight)&&(F=!1),F!=null&&!ee){var fe=xe("div","​",null,`position: absolute;
height: `+(Yi-ki)+"px"))}function Tt(gi,ki,ar){var Yi=xi(F,gi),Xr=Yi.text.length,xr,ns;function ua(vs,ca){return wn(d,rn(gi,vs),"div",Yi,ca)}function Yr(vs,ca,Vl){var Is=Do(d,Yi,null,vs),Ns=ca=="ltr"==(Vl=="after")?"left":"right",Br=Vl=="after"?Is.begin:Is.end-(/\s/.test(Yi.text.charAt(Is.end-1))?2:1);return ua(Br,Ns)[Ns]}var ys=Ze(Yi,F.direction);return We(ys,ki||0,ar??Xr,function(vs,ca,Vl,Is){var Ns=Vl=="ltr",Br=ua(vs,Ns?"left":"right"),Ea=ua(ca-1,Ns?"right":"left"),$l=ki==null&&vs==0,fc=ar==null&&ca==Xr,mA=Is==0,rh=!ys||Is==ys.length-1;if(Ea.top-Br.top<=3){var cs=(Fe?$l:fc)&&mA,Su=(Fe?fc:$l)&&rh,Ml=cs?_e:(Ns?Br:Ea).left,mc=Su?ke:(Ns?Ea:Br).right;_t(Ml,Br.top,mc-Ml,Br.bottom)}else{var al,pA,Vu,od;Ns?(al=Fe&&$l&&mA?_e:Br.left,pA=Fe?ke:Yr(vs,Vl,"before"),Vu=Fe?_e:Yr(ca,Vl,"after"),od=Fe&&fc&&rh?ke:Ea.right):(al=Fe?Yr(vs,Vl,"before"):_e,pA=!Fe&&$l&&mA?ke:Br.right,Vu=!Fe&&fc&&rh?_e:Ea.left,od=Fe?Yr(ca,Vl,"after"):ke),_t(al,Br.top,pA-al,Br.bottom),Br.bottom<Ea.top&&_t(_e,Br.bottom,null,Ea.top),_t(Vu,Ea.top,od-Vu,Ea.bottom)}(!xr||sc(Br,xr)<0)&&(xr=Br),sc(Ea,xr)<0&&(xr=Ea),(!ns||sc(Br,ns)<0)&&(ns=Br),sc(Ea,ns)<0&&(ns=Ea)}),{start:xr,end:ns}}var Jt=v.from(),Ht=v.to();if(Jt.line==Ht.line)Tt(Jt.line,Jt.ch,Ht.ch);else{var _n=xi(F,Jt.line),Rn=xi(F,Ht.line),oi=Di(_n)==Di(Rn),pi=Tt(Jt.line,Jt.ch,oi?_n.text.length+1:null).end,Ci=Tt(Ht.line,oi?0:null,Ht.ch).start;oi&&(pi.top<Ci.top-2?(_t(pi.right,pi.top,null,pi.bottom),_t(_e,Ci.top,Ci.left,Ci.bottom)):_t(pi.right,pi.top,Ci.left-pi.right,pi.bottom)),pi.bottom<Ci.top&&_t(_e,pi.bottom,null,Ci.top)}B.appendChild(X)}function Ec(d){if(d.state.focused){var v=d.display;clearInterval(v.blinker);var B=!0;v.cursorDiv.style.visibility="",d.options.cursorBlinkRate>0?v.blinker=setInterval(function(){d.hasFocus()||mu(d),v.cursorDiv.style.visibility=(B=!B)?"":"hidden"},d.options.cursorBlinkRate):d.options.cursorBlinkRate<0&&(v.cursorDiv.style.visibility="hidden")}}function Es(d){d.hasFocus()||(d.display.input.focus(),d.state.focused||Ed(d))}function bh(d){d.state.delayingBlurEvent=!0,setTimeout(function(){d.state.delayingBlurEvent&&(d.state.delayingBlurEvent=!1,d.state.focused&&mu(d))},100)}function Ed(d,v){d.state.delayingBlurEvent&&!d.state.draggingText&&(d.state.delayingBlurEvent=!1),d.options.readOnly!="nocursor"&&(d.state.focused||(it(d,"focus",d,v),d.state.focused=!0,be(d.display.wrapper,"CodeMirror-focused"),!d.curOp&&d.display.selForContextMenu!=d.doc.sel&&(d.display.input.reset(),S&&setTimeout(function(){return d.display.input.reset(!0)},20)),d.display.input.receivedFocus()),Ec(d))}function mu(d,v){d.state.delayingBlurEvent||(d.state.focused&&(it(d,"blur",d,v),d.state.focused=!1,Be(d.display.wrapper,"CodeMirror-focused")),clearInterval(d.display.blinker),setTimeout(function(){d.state.focused||(d.display.shift=!1)},150))}function Bd(d){for(var v=d.display,B=v.lineDiv.offsetTop,E=Math.max(0,v.scroller.getBoundingClientRect().top),F=v.lineDiv.getBoundingClientRect().top,X=0,fe=0;fe<v.view.length;fe++){var _e=v.view[fe],ke=d.options.lineWrapping,Fe=void 0,_t=0;if(!_e.hidden){if(F+=_e.line.height,m&&C<8){var Tt=_e.node.offsetTop+_e.node.offsetHeight;Fe=Tt-B,B=Tt}else{var Jt=_e.node.getBoundingClientRect();Fe=Jt.bottom-Jt.top,!ke&&_e.text.firstChild&&(_t=_e.text.firstChild.getBoundingClientRect().right-Jt.left-1)}var Ht=_e.line.height-Fe;if((Ht>.005||Ht<-.005)&&(F<E&&(X-=Ht),Vo(_e.line,Fe),Vc(_e.line),_e.rest))for(var _n=0;_n<_e.rest.length;_n++)Vc(_e.rest[_n]);if(_t>d.display.sizerWidth){var Rn=Math.ceil(_t/wA(d.display));Rn>d.display.maxLineLength&&(d.display.maxLineLength=Rn,d.display.maxLine=_e.line,d.display.maxLineChanged=!0)}}}Math.abs(X)>2&&(v.scroller.scrollTop+=X)}function Vc(d){if(d.widgets)for(var v=0;v<d.widgets.length;++v){var B=d.widgets[v],E=B.node.parentNode;E&&(B.height=E.offsetHeight)}}function OA(d,v,B){var E=B&&B.top!=null?Math.max(0,B.top):d.scroller.scrollTop;E=Math.floor(E-xc(d));var F=B&&B.bottom!=null?B.bottom:E+d.wrapper.clientHeight,X=Et(v,E),fe=Et(v,F);if(B&&B.ensure){var _e=B.ensure.from.line,ke=B.ensure.to.line;_e<X?(X=_e,fe=Et(v,Go(xi(v,_e))+d.wrapper.clientHeight)):Math.min(ke,v.lastLine())>=fe&&(X=Et(v,Go(xi(v,ke))-d.wrapper.clientHeight),fe=ke)}return{from:X,to:Math.max(fe,X+1)}}function Uu(d,v){if(!en(d,"scrollCursorIntoView")){var B=d.display,E=B.sizer.getBoundingClientRect(),F=null,X=B.wrapper.ownerDocument;if(v.top+E.top<0?F=!0:v.bottom+E.top>(X.defaultView.innerHeight||X.documentElement.clientHeight)&&(F=!1),F!=null&&!ee){var fe=xe("div","​",null,`position: absolute;
top: `+(v.top-B.viewOffset-xc(d.display))+`px;
height: `+(v.bottom-v.top+Pu(d)+B.barHeight)+`px;
left: `+v.left+"px; width: "+Math.max(2,v.right-v.left)+"px;");d.display.lineSpace.appendChild(fe),fe.scrollIntoView(F),d.display.lineSpace.removeChild(fe)}}}function xh(d,v,B,E){E==null&&(E=0);var F;!d.options.lineWrapping&&v==B&&(B=v.sticky=="before"?rn(v.line,v.ch+1,"before"):v,v=v.ch?rn(v.line,v.sticky=="before"?v.ch-1:v.ch,"after"):v);for(var X=0;X<5;X++){var fe=!1,_e=vn(d,v),ke=!B||B==v?_e:vn(d,B);F={left:Math.min(_e.left,ke.left),top:Math.min(_e.top,ke.top)-E,right:Math.max(_e.left,ke.left),bottom:Math.max(_e.bottom,ke.bottom)+E};var Fe=IA(d,F),_t=d.doc.scrollTop,Tt=d.doc.scrollLeft;if(Fe.scrollTop!=null&&($c(d,Fe.scrollTop),Math.abs(d.doc.scrollTop-_t)>1&&(fe=!0)),Fe.scrollLeft!=null&&(va(d,Fe.scrollLeft),Math.abs(d.doc.scrollLeft-Tt)>1&&(fe=!0)),!fe)break}return F}function Hh(d,v){var B=IA(d,v);B.scrollTop!=null&&$c(d,B.scrollTop),B.scrollLeft!=null&&va(d,B.scrollLeft)}function IA(d,v){var B=d.display,E=SA(d.display);v.top<0&&(v.top=0);var F=d.curOp&&d.curOp.scrollTop!=null?d.curOp.scrollTop:B.scroller.scrollTop,X=Qh(d),fe={};v.bottom-v.top>X&&(v.bottom=v.top+X);var _e=d.doc.height+xd(B),ke=v.top<E,Fe=v.bottom>_e-E;if(v.top<F)fe.scrollTop=ke?0:v.top;else if(v.bottom>F+X){var _t=Math.min(v.top,(Fe?_e:v.bottom)-X);_t!=F&&(fe.scrollTop=_t)}var Tt=d.options.fixedGutter?0:B.gutters.offsetWidth,Jt=d.curOp&&d.curOp.scrollLeft!=null?d.curOp.scrollLeft:B.scroller.scrollLeft-Tt,Ht=$A(d)-B.gutters.offsetWidth,_n=v.right-v.left>Ht;return _n&&(v.right=v.left+Ht),v.left<10?fe.scrollLeft=0:v.left<Jt?fe.scrollLeft=Math.max(0,v.left+Tt-(_n?0:10)):v.right>Ht+Jt-3&&(fe.scrollLeft=v.right+(_n?0:10)-Ht),fe}function Tl(d,v){v!=null&&(Fu(d),d.curOp.scrollTop=(d.curOp.scrollTop==null?d.doc.scrollTop:d.curOp.scrollTop)+v)}function Wo(d){Fu(d);var v=d.getCursor();d.curOp.scrollToPos={from:v,to:v,margin:d.options.cursorScrollMargin}}function aa(d,v,B){(v!=null||B!=null)&&Fu(d),v!=null&&(d.curOp.scrollLeft=v),B!=null&&(d.curOp.scrollTop=B)}function Lu(d,v){Fu(d),d.curOp.scrollToPos=v}function Fu(d){var v=d.curOp.scrollToPos;if(v){d.curOp.scrollToPos=null;var B=Ii(d,v.from),E=Ii(d,v.to);Bc(d,B,E,v.margin)}}function Bc(d,v,B,E){var F=IA(d,{left:Math.min(v.left,B.left),top:Math.min(v.top,B.top)-E,right:Math.max(v.right,B.right),bottom:Math.max(v.bottom,B.bottom)+E});aa(d,F.scrollLeft,F.scrollTop)}function $c(d,v){Math.abs(d.doc.scrollTop-v)<2||(r||ba(d,{top:v}),Zc(d,v,!0),r&&ba(d),Jc(d,100))}function Zc(d,v,B){v=Math.max(0,Math.min(d.display.scroller.scrollHeight-d.display.scroller.clientHeight,v)),!(d.display.scroller.scrollTop==v&&!B)&&(d.doc.scrollTop=v,d.display.scrollbars.setScrollTop(v),d.display.scroller.scrollTop!=v&&(d.display.scroller.scrollTop=v))}function va(d,v,B,E){v=Math.max(0,Math.min(v,d.display.scroller.scrollWidth-d.display.scroller.clientWidth)),!((B?v==d.doc.scrollLeft:Math.abs(d.doc.scrollLeft-v)<2)&&!E)&&(d.doc.scrollLeft=v,tf(d),d.display.scroller.scrollLeft!=v&&(d.display.scroller.scrollLeft=v),d.display.scrollbars.setScrollLeft(v))}function _a(d){var v=d.display,B=v.gutters.offsetWidth,E=Math.round(d.doc.height+xd(d.display));return{clientHeight:v.scroller.clientHeight,viewHeight:v.wrapper.clientHeight,scrollWidth:v.scroller.scrollWidth,clientWidth:v.scroller.clientWidth,viewWidth:v.wrapper.clientWidth,barLeft:d.options.fixedGutter?B:0,docHeight:E,scrollHeight:E+Pu(d)+v.barHeight,nativeBarWidth:v.nativeBarWidth,gutterWidth:B}}var $r=function(d,v,B){this.cm=B;var E=this.vert=xe("div",[xe("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),F=this.horiz=xe("div",[xe("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");E.tabIndex=F.tabIndex=-1,d(E),d(F),gt(E,"scroll",function(){E.clientHeight&&v(E.scrollTop,"vertical")}),gt(F,"scroll",function(){F.clientWidth&&v(F.scrollLeft,"horizontal")}),this.checkedZeroWidth=!1,m&&C<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")};$r.prototype.update=function(d){var v=d.scrollWidth>d.clientWidth+1,B=d.scrollHeight>d.clientHeight+1,E=d.nativeBarWidth;if(B){this.vert.style.display="block",this.vert.style.bottom=v?E+"px":"0";var F=d.viewHeight-(v?E:0);this.vert.firstChild.style.height=Math.max(0,d.scrollHeight-d.clientHeight+F)+"px"}else this.vert.scrollTop=0,this.vert.style.display="",this.vert.firstChild.style.height="0";if(v){this.horiz.style.display="block",this.horiz.style.right=B?E+"px":"0",this.horiz.style.left=d.barLeft+"px";var X=d.viewWidth-d.barLeft-(B?E:0);this.horiz.firstChild.style.width=Math.max(0,d.scrollWidth-d.clientWidth+X)+"px"}else this.horiz.style.display="",this.horiz.firstChild.style.width="0";return!this.checkedZeroWidth&&d.clientHeight>0&&(E==0&&this.zeroWidthHack(),this.checkedZeroWidth=!0),{right:B?E:0,bottom:v?E:0}},$r.prototype.setScrollLeft=function(d){this.horiz.scrollLeft!=d&&(this.horiz.scrollLeft=d),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,"horiz")},$r.prototype.setScrollTop=function(d){this.vert.scrollTop!=d&&(this.vert.scrollTop=d),thi Line truncated
`},setDirection:ps(function(d){d!="rtl"&&(d="ltr"),d!=this.direction&&(this.direction=d,this.iter(function(v){return v.order=null}),this.cm&&yu(this.cm))})}),At.prototype.eachLine=At.prototype.iter;var ct=0;function ft(d){var v=this;if(wt(v),!(en(v,d)||aA(v.display,d))){Wn(d),m&&(ct=+new Date);var B=Ga(v,d,!0),E=d.dataTransfer.files;if(!(!B||v.isReadOnly()))if(E&&E.length&&window.FileReader&&window.File)for(var F=E.length,X=Array(F),fe=0,_e=function(){++fe==F&&Zo(v,function(){B=Qi(v.doc,B);var Ht={from:B,to:B,text:v.doc.splitLines(X.filter(function(_n){return _n!=null}).join(v.doc.lineSeparator())),origin:"paste"};$s(v.doc,Ht),uA(v.doc,Nu(Qi(v.doc,B),Qi(v.doc,ju(Ht))))})()},ke=function(Ht,_n){if(v.options.allowDropFileTypes&&He(v.options.allowDropFileTypes,Ht.type)==-1){_e();return}var Rn=new FileReader;Rn.onerror=function(){return _e()},Rn.onload=function(){var oi=Rn.result;if(/[\x00-\x08\x0e-\x1f]{2}/.test(oi)){_e();return}X[_n]=oi,_e()},Rn.readAsText(Ht)},Fe=0;Fe<E.length;Fe++)ke(E[Fe],Fe);else{if(v.state.draggingText&&v.doc.sel.contains(B)>-1){v.state.draggingText(d),setTimeout(function(){return v.display.input.focus()},20);return}try{var _t=d.dataTransfer.getData("Text");if(_t){var Tt;if(v.state.draggingText&&!v.state.draggingText.copy&&(Tt=v.listSelections()),go(v.doc,Nu(B,B)),Tt)for(var Jt=0;Jt<Tt.length;++Jt)Yl(v.doc,"",Tt[Jt].anchor,Tt[Jt].head,"drag");v.replaceSelection(_t,"around","paste"),v.display.input.focus()}}catch{}}}}function xt(d,v){if(m&&(!d.state.draggingText||+new Date-ct<100)){wi(v);return}if(!(en(d,v)||aA(d.display,v))&&(v.dataTransfer.setData("Text",d.getSelection()),v.dataTransfer.effectAllowed="copyMove",v.dataTransfer.setDragImage&&!j)){var B=xe("img",null,null,"position: fixed; left: 0; top: 0;");B.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",z&&(B.width=B.height=1,d.display.wrapper.appendChild(B),B._top=B.offsetTop),v.dataTransfer.setDragImage(B,0,0),z&&B.parentNode.removeChild(B)}}function Ct(d,v){var B=Ga(d,v);if(B){var E=document.createDocumentFragment();Tr(d,B,E),d.display.dragCursor||(d.display.dragCursor=xe("div",null,"CodeMirror-cursors CodeMirror-dragcursors"),d.display.lineSpace.insertBefore(d.display.dragCursor,d.display.cursorDiv)),qe(d.display.dragCursor,E)}}function wt(d){d.display.dragCursor&&(d.display.lineSpace.removeChild(d.display.dragCursor),d.display.dragCursor=null)}function Pt(d){if(document.getElementsByClassName){for(var v=document.getElementsByClassName("CodeMirror"),B=[],E=0;E<v.length;E++){var F=v[E].CodeMirror;F&&B.push(F)}B.length&&B[0].operation(function(){for(var X=0;X<B.length;X++)d(B[X])})}}var Lt=!1;function Bt(){Lt||(Yt(),Lt=!0)}function Yt(){var d;gt(window,"resize",function(){d==null&&(d=setTimeout(function(){d=null,Pt(dn)},100))}),gt(window,"blur",function(){return Pt(mu)})}function dn(d){var v=d.display;v.cachedCharWidth=v.cachedTextHeight=v.cachedPaddingH=null,v.scrollbarsClipped=!1,d.setSize()}for(var Xt={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"},nn=0;nn<10;nn++)Xt[nn+48]=Xt[nn+96]=String(nn);for(var An=65;An<=90;An++)Xt[An]=String.fromCharCode(An);for(var qn=1;qn<=12;qn++)Xt[qn+111]=Xt[qn+63235]="F"+qn;var Qn={};Qn.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"},Qn.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"},Qn.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","CtrlLine truncated
`,"start")},toggleOverwrite:function(d){return d.toggleOverwrite()}};function Os(d,v){var B=xi(d.doc,v),E=Di(B);return E!=B&&(v=$e(E)),ts(!0,d,E,v,1)}function Qu(d,v){var B=xi(d.doc,v),E=Xi(B);return E!=B&&(v=$e(E)),ts(!0,d,B,v,-1)}function hc(d,v){var B=Os(d,v.line),E=xi(d.doc,B.line),F=Ze(E,d.doc.direction);if(!F||F[0].level==0){var X=Math.max(B.ch,E.text.search(/\S/)),fe=v.line==B.line&&v.ch<=X&&v.ch;return rn(B.line,fe?0:X,B.sticky)}return B}function ql(d,v,B){if(typeof v=="string"&&(v=Bs[v],!v))return!1;d.display.input.ensurePolled();var E=d.display.shift,F=!1;try{d.isReadOnly()&&(d.state.suppressEdits=!0),B&&(d.display.shift=!1),F=v(d)!=vt}finally{d.display.shift=E,d.state.suppressEdits=!1}return F}function Oh(d,v,B){for(var E=0;E<d.state.keyMaps.length;E++){var F=cr(v,d.state.keyMaps[E],B,d);if(F)return F}return d.options.extraKeys&&cr(v,d.options.extraKeys,B,d)||cr(v,d.options.keyMap,B,d)}var ih=new Re;function Yu(d,v,B,E){var F=d.state.keySeq;if(F){if(_o(v))return"handled";if(/\'$/.test(v)?d.state.keySeq=null:ih.set(50,function(){d.state.keySeq==F&&(d.state.keySeq=null,d.display.input.reset())}),Rc(d,F+" "+v,B,E))return!0}return Rc(d,v,B,E)}function Rc(d,v,B,E){var F=Oh(d,v,E);return F=="multi"&&(d.state.keySeq=v),F=="handled"&&Xa(d,"keyHandled",d,v,B),(F=="handled"||F=="multi")&&(Wn(B),Ec(d)),!!F}function bl(d,v){var B=Lo(v,!0);return B?v.shiftKey&&!d.state.keySeq?Yu(d,"Shift-"+B,v,function(E){return ql(d,E,!0)})||Yu(d,B,v,function(E){if(typeof E=="string"?/^go[A-Z]/.test(E):E.motion)return ql(d,E)}):Yu(d,B,v,function(E){return ql(d,E)}):!1}function qu(d,v,B){return Yu(d,"'"+B+"'",v,function(E){return ql(d,E,!0)})}var xl=null;function Pc(d){var v=this;if(!(d.target&&d.target!=v.display.input.getField())&&(v.curOp.focus=nt(It(v)),!en(v,d))){m&&C<11&&d.keyCode==27&&(d.returnValue=!1);var B=d.keyCode;v.display.shift=B==16||d.shiftKey;var E=bl(v,d);z&&(xl=E?B:null,!E&&B==88&&!lr&&(Z?d.metaKey:d.ctrlKey)&&v.replaceSelection("",null,"cut")),r&&!Z&&!E&&B==46&&d.shiftKey&&!d.ctrlKey&&document.execCommand&&document.execCommand("cut"),B==18&&!/\bCodeMirror-crosshair\b/.test(v.display.lineDiv.className)&&bo(v)}}function bo(d){var v=d.display.lineDiv;be(v,"CodeMirror-crosshair");function B(E){(E.keyCode==18||!E.altKey)&&(Be(v,"CodeMirror-crosshair"),kt(document,"keyup",B),kt(document,"mouseover",B))}gt(document,"keyup",B),gt(document,"mouseover",B)}function Xo(d){d.keyCode==16&&(this.doc.sel.shift=!1),en(this,d)}function hA(d){var v=this;if(!(d.target&&d.target!=v.display.input.getField())&&!(aA(v.display,d)||en(v,d)||d.ctrlKey&&!d.altKey||Z&&d.metaKey)){var B=d.keyCode,E=d.charCode;if(z&&B==xl){xl=null,Wn(d);return}if(!(z&&(!d.which||d.which<10)&&bl(v,d))){var F=String.fromCharCode(E??B);F!="\b"&&(qu(v,d,F)||v.display.input.onKeyPress(d))}}}var gs=400,_u=function(d,v,B){this.time=d,this.pos=v,this.button=B};_u.prototype.compare=function(d,v,B){return this.time+gs>d&&si(v,this.pos)==0&&B==this.button};var dA,RA;function Hl(d,v){var B=+new Date;return RA&&RA.compare(B,d,v)?(dA=RA=null,"triple"):dA&&dA.compare(B,d,v)?(RA=new _u(B,d,v),dA=null,"double"):(dA=new _u(B,d,v),RA=null,"single")}function Kc(d){var v=this,B=v.display;if(!(en(v,d)||B.activeTouch&&B.input.supportsTouch())){if(B.input.ensurePolled(),B.shift=d.shiftKey,aA(B,d)){S||(B.scroller.draggable=!1,setTimeout(function(){return B.scroller.draggable=!0},100));return}if(!id(v,d)){var E=Ga(v,d),F=ti(d),X=E?Hl(E,F):"single";St(v).focus(),F==1&&v.state.selectingText&&v.state.selectingText(d),!(E&&nu(v,F,E,X,d))&&(F==1?E?bu(v,E,X,d):hi(d)==B.scroller&&Wn(d):F==2?(E&&Wu(v.doc,E),setTimeout(function(){return B.input.focus()},20)):F==3&&(ye?v.display.input.onContextMenu(d):bh(v)))}}}function nu(d,v,B,E,F){var X="Click";return E=="double"?X="Double"+X:E=="triple"&&(X="Triple"+X),X=(v==1?"Left":v==2?"Middle":"Right")+X,Yu(d,la(X,F),F,function(fe){if(typeof fe=="string"&&(fe=Bs[fe]),!fe)return!1;var _e=!1;try{d.isReadOnly()&&(d.state.suppressEdits=!0),_e=fe(d,B)!=vt}finally{d.state.suppressEdits=!1}return _e})}function Qa(d,v,B){var E=d.getOption("configureMouse"),F=E?E(d,v,B):{};if(F.unit==null){var X=oe?B.shiftKey&&B.metaKey:B.altKey;F.unit=X?"rectangle":v=="single"?"char":v=="double"?"word":"line"}return(F.extend==null||d.doc.extend)&&(F.extend=d.doc.extend||B.shiftKey),F.addNew==null&&(F.addNew=Z?B.metaKey:B.ctrlKey),F.moveOnDrag==null&&(F.moveOnDrag=!(Z?B.altKey:B.ctrlKey)),F}function bu(d,v,B,E){m?setTimeout(Rt(Es,d),0):d.curOp.focus=nt(It(d));var F=Qa(d,B,E),X=d.doc.sel,fe;d.options.dragDrop&&Wi&&!d.isReadOnly()&&B=="single"&&(fe=X.contains(v))>-1&&(si((fe=X.ranges[fe]).from(),v)<0||v.xRel>0)&&(si(fe.to(),v)>0||v.xRel<0)?Gf(d,E,v,F):Mu(d,E,v,F)}function Gf(d,v,B,E){var F=d.display,X=!1,fe=Zo(d,function(Fe){S&&(F.scroller.draggable=!1),d.state.draggingText=!1,d.state.delayingBlurEvent&&(d.hasFocus()?d.state.delayingBlurEvent=!1:bh(d)),kt(F.wrapper.ownerDocument,"mouseup",fe),kt(F.wrapper.ownerDocument,"mousemove",_e),kt(F.scroller,"dragstart",ke),kt(F.scro Line truncated
left: `+v.left+"px; width: "+Math.max(2,v.right-v.left)+"px;");d.display.lineSpace.appendChild(fe),fe.scrollIntoView(F),d.display.lineSpace.removeChild(fe)}}}function xh(d,v,B,E){E==null&&(E=0);var F;!d.options.lineWrapping&&v==B&&(B=v.sticky=="before"?rn(v.line,v.ch+1,"before"):v,v=v.ch?rn(v.line,v.sticky=="before"?v.ch-1:v.ch,"after"):v);for(var X=0;X<5;X++){var fe=!1,_e=vn(d,v),ke=!B||B==v?_e:vn(d,B);F={left:Math.min(_e.left,ke.left),top:Math.min(_e.top,ke.top)-E,right:Math.max(_e.left,ke.left),bottom:Math.max(_e.bottom,ke.bottom)+E};var Fe=IA(d,F),_t=d.doc.scrollTop,Tt=d.doc.scrollLeft;if(Fe.scrollTop!=null&&($c(d,Fe.scrollTop),Math.abs(d.doc.scrollTop-_t)>1&&(fe=!0)),Fe.scrollLeft!=null&&(va(d,Fe.scrollLeft),Math.abs(d.doc.scrollLeft-Tt)>1&&(fe=!0)),!fe)break}return F}function Hh(d,v){var B=IA(d,v);B.scrollTop!=null&&$c(d,B.scrollTop),B.scrollLeft!=null&&va(d,B.scrollLeft)}function IA(d,v){var B=d.display,E=SA(d.display);v.top<0&&(v.top=0);var F=d.curOp&&d.curOp.scrollTop!=null?d.curOp.scrollTop:B.scroller.scrollTop,X=Qh(d),fe={};v.bottom-v.top>X&&(v.bottom=v.top+X);var _e=d.doc.height+xd(B),ke=v.top<E,Fe=v.bottom>_e-E;if(v.top<F)fe.scrollTop=ke?0:v.top;else if(v.bottom>F+X){var _t=Math.min(v.top,(Fe?_e:v.bottom)-X);_t!=F&&(fe.scrollTop=_t)}var Tt=d.options.fixedGutter?0:B.gutters.offsetWidth,Jt=d.curOp&&d.curOp.scrollLeft!=null?d.curOp.scrollLeft:B.scroller.scrollLeft-Tt,Ht=$A(d)-B.gutters.offsetWidth,_n=v.right-v.left>Ht;return _n&&(v.right=v.left+Ht),v.left<10?fe.scrollLeft=0:v.left<Jt?fe.scrollLeft=Math.max(0,v.left+Tt-(_n?0:10)):v.right>Ht+Jt-3&&(fe.scrollLeft=v.right+(_n?0:10)-Ht),fe}function Tl(d,v){v!=null&&(Fu(d),d.curOp.scrollTop=(d.curOp.scrollTop==null?d.doc.scrollTop:d.curOp.scrollTop)+v)}function Wo(d){Fu(d);var v=d.getCursor();d.curOp.scrollToPos={from:v,to:v,margin:d.options.cursorScrollMargin}}function aa(d,v,B){(v!=null||B!=null)&&Fu(d),v!=null&&(d.curOp.scrollLeft=v),B!=null&&(d.curOp.scrollTop=B)}function Lu(d,v){Fu(d),d.curOp.scrollToPos=v}function Fu(d){var v=d.curOp.scrollToPos;if(v){d.curOp.scrollToPos=null;var B=Ii(d,v.from),E=Ii(d,v.to);Bc(d,B,E,v.margin)}}function Bc(d,v,B,E){var F=IA(d,{left:Math.min(v.left,B.left),top:Math.min(v.top,B.top)-E,right:Math.max(v.right,B.right),bottom:Math.max(v.bottom,B.bottom)+E});aa(d,F.scrollLeft,F.scrollTop)}function $c(d,v){Math.abs(d.doc.scrollTop-v)<2||(r||ba(d,{top:v}),Zc(d,v,!0),r&&ba(d),Jc(d,100))}function Zc(d,v,B){v=Math.max(0,Math.min(d.display.scroller.scrollHeight-d.display.scroller.clientHeight,v)),!(d.display.scroller.scrollTop==v&&!B)&&(d.doc.scrollTop=v,d.display.scrollbars.setScrollTop(v),d.display.scroller.scrollTop!=v&&(d.display.scroller.scrollTop=v))}function va(d,v,B,E){v=Math.max(0,Math.min(v,d.display.scroller.scrollWidth-d.display.scroller.clientWidth)),!((B?v==d.doc.scrollLeft:Math.abs(d.doc.scrollLeft-v)<2)&&!E)&&(d.doc.scrollLeft=v,ef(d),d.display.scroller.scrollLeft!=v&&(d.display.scroller.scrollLeft=v),d.display.scrollbars.setScrollLeft(v))}function _a(d){var v=d.display,B=v.gutters.offsetWidth,E=Math.round(d.doc.height+xd(d.display));return{clientHeight:v.scroller.clientHeight,viewHeight:v.wrapper.clientHeight,scrollWidth:v.scroller.scrollWidth,clientWidth:v.scroller.clientWidth,viewWidth:v.wrapper.clientWidth,barLeft:d.options.fixedGutter?B:0,docHeight:E,scrollHeight:E+Pu(d)+v.barHeight,nativeBarWidth:v.nativeBarWidth,gutterWidth:B}}var $r=function(d,v,B){this.cm=B;var E=this.vert=xe("div",[xe("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),F=this.horiz=xe("div",[xe("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");E.tabIndex=F.tabIndex=-1,d(E),d(F),gt(E,"scroll",function(){E.clientHeight&&v(E.scrollTop,"vertical")}),gt(F,"scroll",function(){F.clientWidth&&v(F.scrollLeft,"horizontal")}),this.checkedZeroWidth=!1,m&&C<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")};$r.prototype.update=function(d){var v=d.scrollWidth>d.clientWidth+1,B=d.scrollHeight>d.clientHeight+1,E=d.nativeBarWidth;if(B){this.vert.style.display="block",this.vert.style.bottom=v?E+"px":"0";var F=d.viewHeight-(v?E:0);this.vert.firstChild.style.height=Math.max(0,d.scrollHeight-d.clientHeight+F)+"px"}else this.vert.scrollTop=0,this.vert.style.display="",this.vert.firstChild.style.height="0";if(v){this.horiz.style.display="block",this.horiz.style.right=B?E+"px":"0",this.horiz.style.left=d.barLeft+"px";var X=d.viewWidth-d.barLeft-(B?E:0);this.horiz.firstChild.style.width=Math.max(0,d.scrollWidth-d.clientWidth+X)+"px"}else this.horiz.style.display="",this.horiz.firstChild.style.width="0";return!this.checkedZeroWidth&&d.clientHeight>0&&(E==0&&this.zeroWidthHack(),this.checkedZeroWidth=!0),{right:B?E:0,bottom:v?E:0}},$r.prototype.setScrollLeft=function(d){this.horiz.scrollLeft!=d&&(this.horiz.scrollLeft=d),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,"horiz")},$r.prototype.setScrollTop=function(d){this.vert.scrollTop!=d&&(this.vert.scrollTop=d),thi Line truncated
`},setDirection:ps(function(d){d!="rtl"&&(d="ltr"),d!=this.direction&&(this.direction=d,this.iter(function(v){return v.order=null}),this.cm&&yu(this.cm))})}),At.prototype.eachLine=At.prototype.iter;var ct=0;function ft(d){var v=this;if(wt(v),!(en(v,d)||aA(v.display,d))){Wn(d),m&&(ct=+new Date);var B=Na(v,d,!0),E=d.dataTransfer.files;if(!(!B||v.isReadOnly()))if(E&&E.length&&window.FileReader&&window.File)for(var F=E.length,X=Array(F),fe=0,_e=function(){++fe==F&&Zo(v,function(){B=Qi(v.doc,B);var Ht={from:B,to:B,text:v.doc.splitLines(X.filter(function(_n){return _n!=null}).join(v.doc.lineSeparator())),origin:"paste"};$s(v.doc,Ht),uA(v.doc,Gu(Qi(v.doc,B),Qi(v.doc,ju(Ht))))})()},ke=function(Ht,_n){if(v.options.allowDropFileTypes&&He(v.options.allowDropFileTypes,Ht.type)==-1){_e();return}var Rn=new FileReader;Rn.onerror=function(){return _e()},Rn.onload=function(){var oi=Rn.result;if(/[\x00-\x08\x0e-\x1f]{2}/.test(oi)){_e();return}X[_n]=oi,_e()},Rn.readAsText(Ht)},Fe=0;Fe<E.length;Fe++)ke(E[Fe],Fe);else{if(v.state.draggingText&&v.doc.sel.contains(B)>-1){v.state.draggingText(d),setTimeout(function(){return v.display.input.focus()},20);return}try{var _t=d.dataTransfer.getData("Text");if(_t){var Tt;if(v.state.draggingText&&!v.state.draggingText.copy&&(Tt=v.listSelections()),go(v.doc,Gu(B,B)),Tt)for(var Jt=0;Jt<Tt.length;++Jt)Yl(v.doc,"",Tt[Jt].anchor,Tt[Jt].head,"drag");v.replaceSelection(_t,"around","paste"),v.display.input.focus()}}catch{}}}}function xt(d,v){if(m&&(!d.state.draggingText||+new Date-ct<100)){wi(v);return}if(!(en(d,v)||aA(d.display,v))&&(v.dataTransfer.setData("Text",d.getSelection()),v.dataTransfer.effectAllowed="copyMove",v.dataTransfer.setDragImage&&!j)){var B=xe("img",null,null,"position: fixed; left: 0; top: 0;");B.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",z&&(B.width=B.height=1,d.display.wrapper.appendChild(B),B._top=B.offsetTop),v.dataTransfer.setDragImage(B,0,0),z&&B.parentNode.removeChild(B)}}function Ct(d,v){var B=Na(d,v);if(B){var E=document.createDocumentFragment();Tr(d,B,E),d.display.dragCursor||(d.display.dragCursor=xe("div",null,"CodeMirror-cursors CodeMirror-dragcursors"),d.display.lineSpace.insertBefore(d.display.dragCursor,d.display.cursorDiv)),qe(d.display.dragCursor,E)}}function wt(d){d.display.dragCursor&&(d.display.lineSpace.removeChild(d.display.dragCursor),d.display.dragCursor=null)}function Pt(d){if(document.getElementsByClassName){for(var v=document.getElementsByClassName("CodeMirror"),B=[],E=0;E<v.length;E++){var F=v[E].CodeMirror;F&&B.push(F)}B.length&&B[0].operation(function(){for(var X=0;X<B.length;X++)d(B[X])})}}var Lt=!1;function Bt(){Lt||(Yt(),Lt=!0)}function Yt(){var d;gt(window,"resize",function(){d==null&&(d=setTimeout(function(){d=null,Pt(dn)},100))}),gt(window,"blur",function(){return Pt(mu)})}function dn(d){var v=d.display;v.cachedCharWidth=v.cachedTextHeight=v.cachedPaddingH=null,v.scrollbarsClipped=!1,d.setSize()}for(var Xt={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"},nn=0;nn<10;nn++)Xt[nn+48]=Xt[nn+96]=String(nn);for(var An=65;An<=90;An++)Xt[An]=String.fromCharCode(An);for(var qn=1;qn<=12;qn++)Xt[qn+111]=Xt[qn+63235]="F"+qn;var Qn={};Qn.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"},Qn.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"},Qn.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","CtrlLine truncated
`,"start")},toggleOverwrite:function(d){return d.toggleOverwrite()}};function Os(d,v){var B=xi(d.doc,v),E=Di(B);return E!=B&&(v=$e(E)),ts(!0,d,E,v,1)}function Qu(d,v){var B=xi(d.doc,v),E=Xi(B);return E!=B&&(v=$e(E)),ts(!0,d,B,v,-1)}function hc(d,v){var B=Os(d,v.line),E=xi(d.doc,B.line),F=Ze(E,d.doc.direction);if(!F||F[0].level==0){var X=Math.max(B.ch,E.text.search(/\S/)),fe=v.line==B.line&&v.ch<=X&&v.ch;return rn(B.line,fe?0:X,B.sticky)}return B}function ql(d,v,B){if(typeof v=="string"&&(v=Bs[v],!v))return!1;d.display.input.ensurePolled();var E=d.display.shift,F=!1;try{d.isReadOnly()&&(d.state.suppressEdits=!0),B&&(d.display.shift=!1),F=v(d)!=vt}finally{d.display.shift=E,d.state.suppressEdits=!1}return F}function Oh(d,v,B){for(var E=0;E<d.state.keyMaps.length;E++){var F=cr(v,d.state.keyMaps[E],B,d);if(F)return F}return d.options.extraKeys&&cr(v,d.options.extraKeys,B,d)||cr(v,d.options.keyMap,B,d)}var ih=new Re;function Yu(d,v,B,E){var F=d.state.keySeq;if(F){if(_o(v))return"handled";if(/\'$/.test(v)?d.state.keySeq=null:ih.set(50,function(){d.state.keySeq==F&&(d.state.keySeq=null,d.display.input.reset())}),Rc(d,F+" "+v,B,E))return!0}return Rc(d,v,B,E)}function Rc(d,v,B,E){var F=Oh(d,v,E);return F=="multi"&&(d.state.keySeq=v),F=="handled"&&Xa(d,"keyHandled",d,v,B),(F=="handled"||F=="multi")&&(Wn(B),Ec(d)),!!F}function bl(d,v){var B=Lo(v,!0);return B?v.shiftKey&&!d.state.keySeq?Yu(d,"Shift-"+B,v,function(E){return ql(d,E,!0)})||Yu(d,B,v,function(E){if(typeof E=="string"?/^go[A-Z]/.test(E):E.motion)return ql(d,E)}):Yu(d,B,v,function(E){return ql(d,E)}):!1}function qu(d,v,B){return Yu(d,"'"+B+"'",v,function(E){return ql(d,E,!0)})}var xl=null;function Pc(d){var v=this;if(!(d.target&&d.target!=v.display.input.getField())&&(v.curOp.focus=nt(It(v)),!en(v,d))){m&&C<11&&d.keyCode==27&&(d.returnValue=!1);var B=d.keyCode;v.display.shift=B==16||d.shiftKey;var E=bl(v,d);z&&(xl=E?B:null,!E&&B==88&&!lr&&(Z?d.metaKey:d.ctrlKey)&&v.replaceSelection("",null,"cut")),r&&!Z&&!E&&B==46&&d.shiftKey&&!d.ctrlKey&&document.execCommand&&document.execCommand("cut"),B==18&&!/\bCodeMirror-crosshair\b/.test(v.display.lineDiv.className)&&bo(v)}}function bo(d){var v=d.display.lineDiv;be(v,"CodeMirror-crosshair");function B(E){(E.keyCode==18||!E.altKey)&&(Be(v,"CodeMirror-crosshair"),kt(document,"keyup",B),kt(document,"mouseover",B))}gt(document,"keyup",B),gt(document,"mouseover",B)}function Xo(d){d.keyCode==16&&(this.doc.sel.shift=!1),en(this,d)}function hA(d){var v=this;if(!(d.target&&d.target!=v.display.input.getField())&&!(aA(v.display,d)||en(v,d)||d.ctrlKey&&!d.altKey||Z&&d.metaKey)){var B=d.keyCode,E=d.charCode;if(z&&B==xl){xl=null,Wn(d);return}if(!(z&&(!d.which||d.which<10)&&bl(v,d))){var F=String.fromCharCode(E??B);F!="\b"&&(qu(v,d,F)||v.display.input.onKeyPress(d))}}}var gs=400,_u=function(d,v,B){this.time=d,this.pos=v,this.button=B};_u.prototype.compare=function(d,v,B){return this.time+gs>d&&si(v,this.pos)==0&&B==this.button};var dA,RA;function Hl(d,v){var B=+new Date;return RA&&RA.compare(B,d,v)?(dA=RA=null,"triple"):dA&&dA.compare(B,d,v)?(RA=new _u(B,d,v),dA=null,"double"):(dA=new _u(B,d,v),RA=null,"single")}function Kc(d){var v=this,B=v.display;if(!(en(v,d)||B.activeTouch&&B.input.supportsTouch())){if(B.input.ensurePolled(),B.shift=d.shiftKey,aA(B,d)){S||(B.scroller.draggable=!1,setTimeout(function(){return B.scroller.draggable=!0},100));return}if(!id(v,d)){var E=Na(v,d),F=ti(d),X=E?Hl(E,F):"single";St(v).focus(),F==1&&v.state.selectingText&&v.state.selectingText(d),!(E&&nu(v,F,E,X,d))&&(F==1?E?bu(v,E,X,d):hi(d)==B.scroller&&Wn(d):F==2?(E&&Wu(v.doc,E),setTimeout(function(){return B.input.focus()},20)):F==3&&(ye?v.display.input.onContextMenu(d):bh(v)))}}}function nu(d,v,B,E,F){var X="Click";return E=="double"?X="Double"+X:E=="triple"&&(X="Triple"+X),X=(v==1?"Left":v==2?"Middle":"Right")+X,Yu(d,la(X,F),F,function(fe){if(typeof fe=="string"&&(fe=Bs[fe]),!fe)return!1;var _e=!1;try{d.isReadOnly()&&(d.state.suppressEdits=!0),_e=fe(d,B)!=vt}finally{d.state.suppressEdits=!1}return _e})}function Qa(d,v,B){var E=d.getOption("configureMouse"),F=E?E(d,v,B):{};if(F.unit==null){var X=oe?B.shiftKey&&B.metaKey:B.altKey;F.unit=X?"rectangle":v=="single"?"char":v=="double"?"word":"line"}return(F.extend==null||d.doc.extend)&&(F.extend=d.doc.extend||B.shiftKey),F.addNew==null&&(F.addNew=Z?B.metaKey:B.ctrlKey),F.moveOnDrag==null&&(F.moveOnDrag=!(Z?B.altKey:B.ctrlKey)),F}function bu(d,v,B,E){m?setTimeout(Rt(Es,d),0):d.curOp.focus=nt(It(d));var F=Qa(d,B,E),X=d.doc.sel,fe;d.options.dragDrop&&Wi&&!d.isReadOnly()&&B=="single"&&(fe=X.contains(v))>-1&&(si((fe=X.ranges[fe]).from(),v)<0||v.xRel>0)&&(si(fe.to(),v)>0||v.xRel<0)?zf(d,E,v,F):Mu(d,E,v,F)}function zf(d,v,B,E){var F=d.display,X=!1,fe=Zo(d,function(Fe){S&&(F.scroller.draggable=!1),d.state.draggingText=!1,d.state.delayingBlurEvent&&(d.hasFocus()?d.state.delayingBlurEvent=!1:bh(d)),kt(F.wrapper.ownerDocument,"mouseup",fe),kt(F.wrapper.ownerDocument,"mousemove",_e),kt(F.scroller,"dragstart",ke),kt(F.scro Line truncated
`)==v){if(E.ranges.length%ru.text.length==0){Fe=[];for(var _t=0;_t<ru.text.length;_t++)Fe.push(X.splitLines(ru.text[_t]))}}else ke.length==E.ranges.length&&d.options.pasteLinesPerSelection&&(Fe=On(ke,function(pi){return[pi]}));for(var Tt=d.curOp.updateInput,Jt=E.ranges.length-1;Jt>=0;Jt--){var Ht=E.ranges[Jt],_n=Ht.from(),Rn=Ht.to();Ht.empty()&&(B&&B>0?_n=rn(_n.line,_n.ch-B):d.state.overwrite&&!_e?Rn=rn(Rn.line,Math.min(xi(X,Rn.line).text.length,Rn.ch+$n(ke).length)):_e&&ru&&ru.lineWise&&ru.text.join(`
`)==ke.join(`
`)&&(_n=Rn=rn(_n.line,0)));var oi={from:_n,to:Rn,text:Fe?Fe[Jt%Fe.length]:ke,origin:F||(_e?"paste":d.state.cutIncoming>fe?"cut":"+input")};$s(d.doc,oi),Xa(d,"inputRead",d,oi)}v&&!_e&&Yf(d,v),Wo(d),d.curOp.updateInput<2&&(d.curOp.updateInput=Tt),d.curOp.typing=!0,d.state.pasteIncoming=d.state.cutIncoming=-1}function us(d,v){var B=d.clipboardData&&d.clipboardData.getData("Text");if(B)return d.preventDefault(),!v.isReadOnly()&&!v.options.disableInput&&v.hasFocus()&&Na(v,function(){return Zs(v,B,0,null,"paste")}),!0}function Yf(d,v){if(!(!d.options.electricChars||!d.options.smartIndent))for(var B=d.doc.sel,E=B.ranges.length-1;E>=0;E--){var F=B.ranges[E];if(!(F.head.ch>100||E&&B.ranges[E-1].head.line==F.head.line)){var X=d.getModeAt(F.head),fe=!1;if(X.electricChars){for(var _e=0;_e<X.electricChars.length;_e++)if(v.indexOf(X.electricChars.charAt(_e))>-1){fe=Qf(d,F.head.line,"smart");break}}else X.electricInput&&X.electricInput.test(xi(d.doc,F.head.line).text.slice(0,F.head.ch))&&(fe=Qf(d,F.head.line,"smart"));fe&&Xa(d,"electricInput",d,F.head.line)}}}function Im(d){for(var v=[],B=[],E=0;E<d.doc.sel.ranges.length;E++){var F=d.doc.sel.ranges[E].head.line,X={anchor:rn(F,0),head:rn(F+1,0)};B.push(X),v.push(d.getRange(X.anchor,X.head))}return{text:v,ranges:B}}function qf(d,v,B,E){d.setAttribute("autocorrect",B?"on":"off"),d.setAttribute("autocapitalize",E?"on":"off"),d.setAttribute("spellcheck",!!v)}function lf(){var d=xe("textarea",null,null,"position: absolute; bottom: -1em; padding: 0; width: 1px; height: 1em; min-height: 1em; outline: none"),v=xe("div",[d],null,"overflow: hidden; position: relative; width: 3px; height: 0px;");return S?d.style.width="1000px":d.setAttribute("wrap","off"),V&&(d.style.border="1px solid black"),v}function Dd(d){var v=d.optionHandlers,B=d.helpers={};d.prototype={constructor:d,focus:function(){St(this).focus(),this.display.input.focus()},setOption:function(E,F){var X=this.options,fe=X[E];X[E]==F&&E!="mode"||(X[E]=F,v.hasOwnProperty(E)&&Zo(this,v[E])(this,F,fe),it(this,"optionChange",this,E))},getOption:function(E){return this.options[E]},getDoc:function(){return this.doc},addKeyMap:function(E,F){this.state.keyMaps[F?"push":"unshift"](Ra(E))},removeKeyMap:function(E){for(var F=this.state.keyMaps,X=0;X<F.length;++X)if(F[X]==E||F[X].name==E)return F.splice(X,1),!0},addOverlay:gr(function(E,F){var X=E.token?E:d.getMode(this.options,E);if(X.startState)throw new Error("Overlays may not be stateful.");Bn(this.state.overlays,{mode:X,modeSpec:E,opaque:F&&F.opaque,priority:F&&F.priority||0},function(fe){return fe.priority}),this.state.modeGen++,ws(this)}),removeOverlay:gr(function(E){for(var F=this.state.overlays,X=0;X<F.length;++X){var fe=F[X].modeSpec;if(fe==E||typeof E=="string"&&fe.name==E){F.splice(X,1),this.state.modeGen++,ws(this);return}}}),indentLine:gr(function(E,F,X){typeof F!="string"&&typeof F!="number"&&(F==null?F=this.options.smartIndent?"smart":"prev":F=F?"add":"subtract"),xn(this.doc,E)&&Qf(this,E,F,X)}),indentSelection:gr(function(E){for(var F=this.doc.sel.ranges,X=-1,fe=0;fe<F.length;fe++){var _e=F[fe];if(_e.empty())_e.head.line>X&&(Qf(this,_e.head.line,E,!0),X=_e.head.line,fe==this.doc.sel.primIndex&&Wo(this));else{var ke=_e.from(),Fe=_e.to(),_t=Math.max(X,ke.line);X=Math.min(this.lastLine(),Fe.line-(Fe.ch?0:1))+1;for(var Tt=_t;Tt<X;++Tt)Qf(this,Tt,E);var Jt=this.doc.sel.ranges;ke.ch==0&&F.length==Jt.length&&Jt[fe].from().ch>0&&Ti(this.doc,fe,new Zr(ke,Jt[fe].to()),Ot)}}}),getTokenAt:function(E,F){return Ul(this,E,F)},getLineTokens:function(E,F){return Ul(this,rn(E),F,!0)},getTokenTypeAt:function(E){E=Qi(this.doc,E);var F=Qs(this,xi(this.doc,E.line)),X=0,fe=(F.length-1)/2,_e=E.ch,ke;if(_e==0)ke=F[2];else for(;;){var Fe=X+fe>>1;if((Fe?F[Fe*2-1]:0)>=_e)fe=Fe;else if(F[Fe*2+1]<_e)X=Fe+1;else{ke=F[Fe*2+2];break}}var _t=ke?ke.indexOf("overlay "):-1;return _t<0?ke:_t==0?null:ke.slice(0,_t-1)},getModeAt:function(E){var F=this.doc.mode;return F.innerMode?d.innerMode(F,this.getTokenAt(E).state).mode:F},getHelper:function(E,F){return this.getHelpers(E,F)[0]},getHelpers:function(E,F){var X=[];if(!B.hasOwnProperty(F))return X;var fe=B[F],_e=this.getModeAt(E);if(typeof _e[F]=="string")fe[_e[F]]&&X.push(fe[_e[F]]);else if(_e[F])for(var ke=0;ke<_e[F].length;ke++){var Fe=fe[_e[F][ke]];Fe&&X.push(Fe)}else _e.helperType&&fe[_e.helperType]?X.push(fe[_e.helperType]):fe[_e.name]&&X.push(fe[_e.name]);for(var _t=0;_t<fe._global.length;_t++){var Tt=fe._global[_t];Tt.pred(_e,this)&&He(X,Tt.val)==-1&&X.push(Tt.val)}return X},getStateAfter:function(E,F){var X=this.doc;return E=YA(X,E??X.first+X.size-1),$o(this,E+1,F).state},cursorCoords:function(E,F){var X,fe=this.doc.sel.primary();return E==null?X=fe.head:typeof E=="object"?X=Qi(this.doc,E):X=E?fe.from():fe.to(),vn(this,X,F||"page")},charCoords:function(E,F){return wn(this,Qi(this.doc,E),F||"page")},coordsChar:function(E,F){return E=Zt(this,E,F||"page"),Oo(this,E.left,E.top)},lineAtHeight:function(E,F){return E=Zt(this,{top:E,left:0},F||"page").top,Et( Line truncated
`,oi=Ne(Rn,Ht)?"w":Jt&&Rn==`
`?"n":!Jt||/\s/.test(Rn)?null:"p";if(Jt&&!_n&&!oi&&(oi="s"),Tt&&Tt!=oi){B<0&&(B=1,_t(),v.sticky="after");break}if(oi&&(Tt=oi),B>0&&!_t(!_n))break}var pi=ja(d,v,X,fe,!0);return Jr(X,pi)&&(pi.hitSide=!0),pi}function Af(d,v,B,E){var F=d.doc,X=v.left,fe;if(E=="page"){var _e=Math.min(d.display.wrapper.clientHeight,St(d).innerHeight||F(d).documentElement.clientHeight),ke=Math.max(_e-.5*SA(d.display),3);fe=(B>0?v.bottom:v.top)+B*ke}else E=="line"&&(fe=B>0?v.bottom+3:v.top-3);for(var Fe;Fe=Oo(d,X,fe),!!Fe.outside;){if(B<0?fe<=0:fe>=F.height){Fe.hitSide=!0;break}fe+=B*5}return Fe}var ea=function(d){this.cm=d,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new Re,this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null};ea.prototype.init=function(d){var v=this,B=this,E=B.cm,F=B.div=d.lineDiv;F.contentEditable=!0,qf(F,E.options.spellcheck,E.options.autocorrect,E.options.autocapitalize);function X(_e){for(var ke=_e.target;ke;ke=ke.parentNode){if(ke==F)return!0;if(/\bCodeMirror-(?:line)?widget\b/.test(ke.className))break}return!1}gt(F,"paste",function(_e){!X(_e)||en(E,_e)||us(_e,E)||C<=11&&setTimeout(Zo(E,function(){return v.updateFromDOM()}),20)}),gt(F,"compositionstart",function(_e){v.composing={data:_e.data,done:!1}}),gt(F,"compositionupdate",function(_e){v.composing||(v.composing={data:_e.data,done:!1})}),gt(F,"compositionend",function(_e){v.composing&&(_e.data!=v.composing.data&&v.readFromDOMSoon(),v.composing.done=!0)}),gt(F,"touchstart",function(){return B.forceCompositionEnd()}),gt(F,"input",function(){v.composing||v.readFromDOMSoon()});function fe(_e){if(!(!X(_e)||en(E,_e))){if(E.somethingSelected())kd({lineWise:!1,text:E.getSelections()}),_e.type=="cut"&&E.replaceSelection("",null,"cut");else if(E.options.lineWiseCopyCut){var ke=Im(E);kd({lineWise:!0,text:ke.text}),_e.type=="cut"&&E.operation(function(){E.setSelections(ke.ranges,0,Ot),E.replaceSelection("",null,"cut")})}else return;if(_e.clipboardData){_e.clipboardData.clearData();var Fe=ru.text.join(`
`);if(_e.clipboardData.setData("Text",Fe),_e.clipboardData.getData("Text")==Fe){_e.preventDefault();return}}var _t=lf(),Tt=_t.firstChild;qf(Tt),E.display.lineSpace.insertBefore(_t,E.display.lineSpace.firstChild),Tt.value=ru.text.join(`
`);var Jt=nt(pt(F));tt(Tt),setTimeout(function(){E.display.lineSpace.removeChild(_t),Jt.focus(),Jt==F&&B.showPrimarySelection()},50)}}gt(F,"copy",fe),gt(F,"cut",fe)},ea.prototype.screenReaderLabelChanged=function(d){d?this.div.setAttribute("aria-label",d):this.div.removeAttribute("aria-label")},ea.prototype.prepareSelection=function(){var d=_h(this.cm,!1);return d.focus=nt(pt(this.div))==this.div,d},ea.prototype.showSelection=function(d,v){!d||!this.cm.display.view.length||((d.focus||v)&&this.showPrimarySelection(),this.showMultipleSelections(d))},ea.prototype.getSelection=function(){return this.cm.display.wrapper.ownerDocument.getSelection()},ea.prototype.showPrimarySelection=function(){var d=this.getSelection(),v=this.cm,B=v.doc.sel.primary(),E=B.from(),F=B.to();if(v.display.viewTo==v.display.viewFrom||E.line>=v.display.viewTo||F.line<v.display.viewFrom){d.removeAllRanges();return}var X=ol(v,d.anchorNode,d.anchorOffset),fe=ol(v,d.focusNode,d.focusOffset);if(!(X&&!X.bad&&fe&&!fe.bad&&si(Us(X,fe),E)==0&&si(As(X,fe),F)==0)){var _e=v.display.view,ke=E.line>=v.display.viewFrom&&Th(v,E)||{node:_e[0].measure.map[2],offset:0},Fe=F.line<v.display.viewTo&&Th(v,F);if(!Fe){var _t=_e[_e.length-1].measure,Tt=_t.maps?_t.maps[_t.maps.length-1]:_t.map;Fe={node:Tt[Tt.length-1],offset:Tt[Tt.length-2]-Tt[Tt.length-3]}}if(!ke||!Fe){d.removeAllRanges();return}var Jt=d.rangeCount&&d.getRangeAt(0),Ht;try{Ht=ot(ke.node,ke.offset,Fe.offset,Fe.node)}catch{}Ht&&(!r&&v.state.focused?(d.collapse(ke.node,ke.offset),Ht.collapsed||(d.removeAllRanges(),d.addRange(Ht))):(d.removeAllRanges(),d.addRange(Ht)),Jt&&d.anchorNode==null?d.addRange(Jt):r&&this.startGracePeriod()),this.rememberSelection()}},ea.prototype.startGracePeriod=function(){var d=this;clearTimeout(this.gracePeriod),this.gracePeriod=setTimeout(function(){d.gracePeriod=!1,d.selectionChanged()&&d.cm.operation(function(){return d.cm.curOp.selectionChanged=!0})},20)},ea.prototype.showMultipleSelections=function(d){qe(this.cm.display.cursorDiv,d.cursors),qe(this.cm.display.selectionDiv,d.selection)},ea.prototype.rememberSelection=function(){var d=this.getSelection();this.lastAnchorNode=d.anchorNode,this.lastAnchorOffset=d.anchorOffset,this.lastFocusNode=d.focusNode,this.lastFocusOffset=d.focusOffset},ea.prototype.selectionInEditor=function(){var d=this.getSelection();if(!d.rangeCount)return!1;var v=d.getRangeAt(0).commonAncestorContainer;return yt(this.div,v)},ea.prototype.focus=function(){this.cm.options.readOnly!="nocursor"&&((!this.selectionInEditor()||nt(pt(this.div))!=this.div)&&this.showSelection(this.prepareSelection(),!0),this.div.focus())},ea.prototype.blur=function(){this.div.blur()},ea.prototype.getField=function(){return this.div},ea.prototype.supportsTouch=function(){return!0},ea.prototype.receivedFocus=function(){var d=this,v=this;this.selectionInEditor()?setTimeout(function(){return d.pollSelection()},20):Na(this.cm,function(){return v.cm.curOp.selectionChanged=!0});function B(){v.cm.state.focused&&(v.pollSelection(),v.polling.set(v.cm.options.pollInterval,B))}this.polling.set(this.cm.options.pollInterval,B)},ea.prototype.selectionChanged=function(){var d=this.getSelection();return d.anchorNode!=this.lastAnchorNode||d.anchorOffset!=this.lastAnchorOffset||d.focusNode!=this.lastFocusNode||d.focusOffset!=this.lastFocusOffset},ea.prototype.pollSelection=function(){if(!(this.readDOMTimeout!=null||this.gracePeriod||!this.selectionChanged())){var d=this.getSelection(),v=this.cm;if(ae&&U&&this.cm.display.gutterSpecs.length&&gp(d.anchorNode)){this.cm.triggerOnKeyDown({type:"keydown",keyCode:8,preventDefault:Math.abs}),this.blur(),this.focus();return}if(!this.composing){this.rememberSelection();var B=ol(v,d.anchorNode,d.anchorOffset),E=ol(v,d.focusNode,d.focusOffset);B&&E&&Na(v,function(){sa(v.doc,Nu(B,E),Ot),(B.bad||E.bad)&&(v.curOp.selectionChanged=!0)})}}},ea.prototype.pollContent=function(){this.readDOMTimeout!=null&&(clearTimeout(this.readDOMTimeout),this.readDOMTimeout=null);var d=this.cm,v=d.display,B=d.doc.sel.primary(),E=B.from(),F=B.to();if(E.ch==0&&E.line>d.firstLine()&&(E=rn(E.line-1,xi(d.doc,E.line-1).length)),F.ch==xi(d.doc,F.line).text.length&&F.line<d.lastLine()&&(F=rn(F.line+1,0)),E.line<v.viewFrom||F.line>v.viewTo-1)return!1;var X,fe,_e;E.line==v.viewFrom||(X=Hs(d,E.line))==0?(fe=$e(v.view[0].line),_e=v.view[0].node):(fe=$e(v.view[X].line),_e=v.view[X-1].node.nextSibling);var ke=Hs(d,F.line),Fe,_t;if(ke==v.view.length-1?(Fe=v.viewTo-1,_t=v.lineDiv.lastChild):(Fe=$e(v.view[ke+1].line)-1,_t=v.view[ke+1].node.previousSibling),!_e)return!1;for(var Tt=d.doc.splitLines(fA(d,_e,_t,fe,Fe)),Jt=ls(d.doc,rn(fe,0),rn(Fe,xi(d.doc,Fe).text.length));Tt.length>1&&Jt.length>1;)if($n(Tt)==$n(Jt))Tt.pop(),Jt.pop(),Fe--;else if(Tt[0]==Jt[0])Tt.shift(),Jt.shift(),fe++;else break;for(var Ht=0,_n=0,Rn=Tt[0],oi=Jt[0],pi=Math.min(Rn.length,oi.length);Ht<pi&&Rn.charCodeAt(Ht)==oi.charCodeAt(Ht);)++Ht;for(var Ci=$n(Tt),gi=$n(Jt),ki=Math.min(Ci.length-(Tt.length==1?Ht:0),gi.length-(Jt. Line truncated
`),tt(F))}else return;fe.type=="cut"&&(E.state.cutIncoming=+new Date)}}gt(F,"cut",X),gt(F,"copy",X),gt(d.scroller,"paste",function(fe){if(!(aA(d,fe)||en(E,fe))){if(!F.dispatchEvent){E.state.pasteIncoming=+new Date,B.focus();return}var _e=new Event("paste");_e.clipboardData=fe.clipboardData,F.dispatchEvent(_e)}}),gt(d.lineSpace,"selectstart",function(fe){aA(d,fe)||Wn(fe)}),gt(F,"compositionstart",function(){var fe=E.getCursor("from");B.composing&&B.composing.range.clear(),B.composing={start:fe,range:E.markText(fe,E.getCursor("to"),{className:"CodeMirror-composing"})}}),gt(F,"compositionend",function(){B.composing&&(B.poll(),B.composing.range.clear(),B.composing=null)})},zs.prototype.createField=function(d){this.wrapper=lf(),this.textarea=this.wrapper.firstChild;var v=this.cm.options;qf(this.textarea,v.spellcheck,v.autocorrect,v.autocapitalize)},zs.prototype.screenReaderLabelChanged=function(d){d?this.textarea.setAttribute("aria-label",d):this.textarea.removeAttribute("aria-label")},zs.prototype.prepareSelection=function(){var d=this.cm,v=d.display,B=d.doc,E=_h(d);if(d.options.moveInputWithCursor){var F=vn(d,B.sel.primary().head,"div"),X=v.wrapper.getBoundingClientRect(),fe=v.lineDiv.getBoundingClientRect();E.teTop=Math.max(0,Math.min(v.wrapper.clientHeight-10,F.top+fe.top-X.top)),E.teLeft=Math.max(0,Math.min(v.wrapper.clientWidth-10,F.left+fe.left-X.left))}return E},zs.prototype.showSelection=function(d){var v=this.cm,B=v.display;qe(B.cursorDiv,d.cursors),qe(B.selectionDiv,d.selection),d.teTop!=null&&(this.wrapper.style.top=d.teTop+"px",this.wrapper.style.left=d.teLeft+"px")},zs.prototype.reset=function(d){if(!(this.contextMenuPending||this.composing&&d)){var v=this.cm;if(this.resetting=!0,v.somethingSelected()){this.prevInput="";var B=v.getSelection();this.textarea.value=B,v.state.focused&&tt(this.textarea),m&&C>=9&&(this.hasSelection=B)}else d||(this.prevInput=this.textarea.value="",m&&C>=9&&(this.hasSelection=null));this.resetting=!1}},zs.prototype.getField=function(){return this.textarea},zs.prototype.supportsTouch=function(){return!1},zs.prototype.focus=function(){if(this.cm.options.readOnly!="nocursor"&&(!ne||nt(pt(this.textarea))!=this.textarea))try{this.textarea.focus()}catch{}},zs.prototype.blur=function(){this.textarea.blur()},zs.prototype.resetPosition=function(){this.wrapper.style.top=this.wrapper.style.left=0},zs.prototype.receivedFocus=function(){this.slowPoll()},zs.prototype.slowPoll=function(){var d=this;this.pollingFast||this.polling.set(this.cm.options.pollInterval,function(){d.poll(),d.cm.state.focused&&d.slowPoll()})},zs.prototype.fastPoll=function(){var d=!1,v=this;v.pollingFast=!0;function B(){var E=v.poll();!E&&!d?(d=!0,v.polling.set(60,B)):(v.pollingFast=!1,v.slowPoll())}v.polling.set(20,B)},zs.prototype.poll=function(){var d=this,v=this.cm,B=this.textarea,E=this.prevInput;if(this.contextMenuPending||this.resetting||!v.state.focused||Zn(B)&&!E&&!this.composing||v.isReadOnly()||v.options.disableInput||v.state.keySeq)return!1;var F=B.value;if(F==E&&!v.somethingSelected())return!1;if(m&&C>=9&&this.hasSelection===F||Z&&/[\uf700-\uf7ff]/.test(F))return v.display.input.reset(),!1;if(v.doc.sel==v.display.selForContextMenu){var X=F.charCodeAt(0);if(X==8203&&!E&&(E="​"),X==8666)return this.reset(),this.cm.execCommand("undo")}for(var fe=0,_e=Math.min(E.length,F.length);fe<_e&&E.charCodeAt(fe)==F.charCodeAt(fe);)++fe;return Na(v,function(){Zs(v,F.slice(fe),E.length-fe,null,d.composing?"*compose":null),F.length>1e3||F.indexOf(`
`)>-1?B.value=d.prevInput="":d.prevInput=F,d.composing&&(d.composing.range.clear(),d.composing.range=v.markText(d.composing.start,v.getCursor("to"),{className:"CodeMirror-composing"}))}),!0},zs.prototype.ensurePolled=function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},zs.prototype.onKeyPress=function(){m&&C>=9&&(this.hasSelection=null),this.fastPoll()},zs.prototype.onContextMenu=function(d){var v=this,B=v.cm,E=B.display,F=v.textarea;v.contextMenuPending&&v.contextMenuPending();var X=Ga(B,d),fe=E.scroller.scrollTop;if(!X||z)return;var _e=B.options.resetSelectionOnContextMenu;_e&&B.doc.sel.contains(X)==-1&&Zo(B,sa)(B.doc,Nu(X),Ot);var ke=F.style.cssText,Fe=v.wrapper.style.cssText,_t=v.wrapper.offsetParent.getBoundingClientRect();v.wrapper.style.cssText="position: static",F.style.cssText=`position: absolute; width: 30px; height: 30px;
`)&&(_n=Rn=rn(_n.line,0)));var oi={from:_n,to:Rn,text:Fe?Fe[Jt%Fe.length]:ke,origin:F||(_e?"paste":d.state.cutIncoming>fe?"cut":"+input")};$s(d.doc,oi),Xa(d,"inputRead",d,oi)}v&&!_e&&Qf(d,v),Wo(d),d.curOp.updateInput<2&&(d.curOp.updateInput=Tt),d.curOp.typing=!0,d.state.pasteIncoming=d.state.cutIncoming=-1}function us(d,v){var B=d.clipboardData&&d.clipboardData.getData("Text");if(B)return d.preventDefault(),!v.isReadOnly()&&!v.options.disableInput&&v.hasFocus()&&Ga(v,function(){return Zs(v,B,0,null,"paste")}),!0}function Qf(d,v){if(!(!d.options.electricChars||!d.options.smartIndent))for(var B=d.doc.sel,E=B.ranges.length-1;E>=0;E--){var F=B.ranges[E];if(!(F.head.ch>100||E&&B.ranges[E-1].head.line==F.head.line)){var X=d.getModeAt(F.head),fe=!1;if(X.electricChars){for(var _e=0;_e<X.electricChars.length;_e++)if(v.indexOf(X.electricChars.charAt(_e))>-1){fe=Wf(d,F.head.line,"smart");break}}else X.electricInput&&X.electricInput.test(xi(d.doc,F.head.line).text.slice(0,F.head.ch))&&(fe=Wf(d,F.head.line,"smart"));fe&&Xa(d,"electricInput",d,F.head.line)}}}function Om(d){for(var v=[],B=[],E=0;E<d.doc.sel.ranges.length;E++){var F=d.doc.sel.ranges[E].head.line,X={anchor:rn(F,0),head:rn(F+1,0)};B.push(X),v.push(d.getRange(X.anchor,X.head))}return{text:v,ranges:B}}function Yf(d,v,B,E){d.setAttribute("autocorrect",B?"on":"off"),d.setAttribute("autocapitalize",E?"on":"off"),d.setAttribute("spellcheck",!!v)}function sf(){var d=xe("textarea",null,null,"position: absolute; bottom: -1em; padding: 0; width: 1px; height: 1em; min-height: 1em; outline: none"),v=xe("div",[d],null,"overflow: hidden; position: relative; width: 3px; height: 0px;");return S?d.style.width="1000px":d.setAttribute("wrap","off"),V&&(d.style.border="1px solid black"),v}function Dd(d){var v=d.optionHandlers,B=d.helpers={};d.prototype={constructor:d,focus:function(){St(this).focus(),this.display.input.focus()},setOption:function(E,F){var X=this.options,fe=X[E];X[E]==F&&E!="mode"||(X[E]=F,v.hasOwnProperty(E)&&Zo(this,v[E])(this,F,fe),it(this,"optionChange",this,E))},getOption:function(E){return this.options[E]},getDoc:function(){return this.doc},addKeyMap:function(E,F){this.state.keyMaps[F?"push":"unshift"](Ra(E))},removeKeyMap:function(E){for(var F=this.state.keyMaps,X=0;X<F.length;++X)if(F[X]==E||F[X].name==E)return F.splice(X,1),!0},addOverlay:gr(function(E,F){var X=E.token?E:d.getMode(this.options,E);if(X.startState)throw new Error("Overlays may not be stateful.");Bn(this.state.overlays,{mode:X,modeSpec:E,opaque:F&&F.opaque,priority:F&&F.priority||0},function(fe){return fe.priority}),this.state.modeGen++,ws(this)}),removeOverlay:gr(function(E){for(var F=this.state.overlays,X=0;X<F.length;++X){var fe=F[X].modeSpec;if(fe==E||typeof E=="string"&&fe.name==E){F.splice(X,1),this.state.modeGen++,ws(this);return}}}),indentLine:gr(function(E,F,X){typeof F!="string"&&typeof F!="number"&&(F==null?F=this.options.smartIndent?"smart":"prev":F=F?"add":"subtract"),xn(this.doc,E)&&Wf(this,E,F,X)}),indentSelection:gr(function(E){for(var F=this.doc.sel.ranges,X=-1,fe=0;fe<F.length;fe++){var _e=F[fe];if(_e.empty())_e.head.line>X&&(Wf(this,_e.head.line,E,!0),X=_e.head.line,fe==this.doc.sel.primIndex&&Wo(this));else{var ke=_e.from(),Fe=_e.to(),_t=Math.max(X,ke.line);X=Math.min(this.lastLine(),Fe.line-(Fe.ch?0:1))+1;for(var Tt=_t;Tt<X;++Tt)Wf(this,Tt,E);var Jt=this.doc.sel.ranges;ke.ch==0&&F.length==Jt.length&&Jt[fe].from().ch>0&&Ti(this.doc,fe,new Zr(ke,Jt[fe].to()),Ot)}}}),getTokenAt:function(E,F){return Ul(this,E,F)},getLineTokens:function(E,F){return Ul(this,rn(E),F,!0)},getTokenTypeAt:function(E){E=Qi(this.doc,E);var F=Qs(this,xi(this.doc,E.line)),X=0,fe=(F.length-1)/2,_e=E.ch,ke;if(_e==0)ke=F[2];else for(;;){var Fe=X+fe>>1;if((Fe?F[Fe*2-1]:0)>=_e)fe=Fe;else if(F[Fe*2+1]<_e)X=Fe+1;else{ke=F[Fe*2+2];break}}var _t=ke?ke.indexOf("overlay "):-1;return _t<0?ke:_t==0?null:ke.slice(0,_t-1)},getModeAt:function(E){var F=this.doc.mode;return F.innerMode?d.innerMode(F,this.getTokenAt(E).state).mode:F},getHelper:function(E,F){return this.getHelpers(E,F)[0]},getHelpers:function(E,F){var X=[];if(!B.hasOwnProperty(F))return X;var fe=B[F],_e=this.getModeAt(E);if(typeof _e[F]=="string")fe[_e[F]]&&X.push(fe[_e[F]]);else if(_e[F])for(var ke=0;ke<_e[F].length;ke++){var Fe=fe[_e[F][ke]];Fe&&X.push(Fe)}else _e.helperType&&fe[_e.helperType]?X.push(fe[_e.helperType]):fe[_e.name]&&X.push(fe[_e.name]);for(var _t=0;_t<fe._global.length;_t++){var Tt=fe._global[_t];Tt.pred(_e,this)&&He(X,Tt.val)==-1&&X.push(Tt.val)}return X},getStateAfter:function(E,F){var X=this.doc;return E=YA(X,E??X.first+X.size-1),$o(this,E+1,F).state},cursorCoords:function(E,F){var X,fe=this.doc.sel.primary();return E==null?X=fe.head:typeof E=="object"?X=Qi(this.doc,E):X=E?fe.from():fe.to(),vn(this,X,F||"page")},charCoords:function(E,F){return wn(this,Qi(this.doc,E),F||"page")},coordsChar:function(E,F){return E=Zt(this,E,F||"page"),Oo(this,E.left,E.top)},lineAtHeight:function(E,F){return E=Zt(this,{top:E,left:0},F||"page").top,Et( Line truncated
`,oi=Ge(Rn,Ht)?"w":Jt&&Rn==`
`?"n":!Jt||/\s/.test(Rn)?null:"p";if(Jt&&!_n&&!oi&&(oi="s"),Tt&&Tt!=oi){B<0&&(B=1,_t(),v.sticky="after");break}if(oi&&(Tt=oi),B>0&&!_t(!_n))break}var pi=ja(d,v,X,fe,!0);return Jr(X,pi)&&(pi.hitSide=!0),pi}function lf(d,v,B,E){var F=d.doc,X=v.left,fe;if(E=="page"){var _e=Math.min(d.display.wrapper.clientHeight,St(d).innerHeight||F(d).documentElement.clientHeight),ke=Math.max(_e-.5*SA(d.display),3);fe=(B>0?v.bottom:v.top)+B*ke}else E=="line"&&(fe=B>0?v.bottom+3:v.top-3);for(var Fe;Fe=Oo(d,X,fe),!!Fe.outside;){if(B<0?fe<=0:fe>=F.height){Fe.hitSide=!0;break}fe+=B*5}return Fe}var ea=function(d){this.cm=d,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new Re,this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null};ea.prototype.init=function(d){var v=this,B=this,E=B.cm,F=B.div=d.lineDiv;F.contentEditable=!0,Yf(F,E.options.spellcheck,E.options.autocorrect,E.options.autocapitalize);function X(_e){for(var ke=_e.target;ke;ke=ke.parentNode){if(ke==F)return!0;if(/\bCodeMirror-(?:line)?widget\b/.test(ke.className))break}return!1}gt(F,"paste",function(_e){!X(_e)||en(E,_e)||us(_e,E)||C<=11&&setTimeout(Zo(E,function(){return v.updateFromDOM()}),20)}),gt(F,"compositionstart",function(_e){v.composing={data:_e.data,done:!1}}),gt(F,"compositionupdate",function(_e){v.composing||(v.composing={data:_e.data,done:!1})}),gt(F,"compositionend",function(_e){v.composing&&(_e.data!=v.composing.data&&v.readFromDOMSoon(),v.composing.done=!0)}),gt(F,"touchstart",function(){return B.forceCompositionEnd()}),gt(F,"input",function(){v.composing||v.readFromDOMSoon()});function fe(_e){if(!(!X(_e)||en(E,_e))){if(E.somethingSelected())kd({lineWise:!1,text:E.getSelections()}),_e.type=="cut"&&E.replaceSelection("",null,"cut");else if(E.options.lineWiseCopyCut){var ke=Om(E);kd({lineWise:!0,text:ke.text}),_e.type=="cut"&&E.operation(function(){E.setSelections(ke.ranges,0,Ot),E.replaceSelection("",null,"cut")})}else return;if(_e.clipboardData){_e.clipboardData.clearData();var Fe=ru.text.join(`
`);if(_e.clipboardData.setData("Text",Fe),_e.clipboardData.getData("Text")==Fe){_e.preventDefault();return}}var _t=sf(),Tt=_t.firstChild;Yf(Tt),E.display.lineSpace.insertBefore(_t,E.display.lineSpace.firstChild),Tt.value=ru.text.join(`
`);var Jt=nt(pt(F));tt(Tt),setTimeout(function(){E.display.lineSpace.removeChild(_t),Jt.focus(),Jt==F&&B.showPrimarySelection()},50)}}gt(F,"copy",fe),gt(F,"cut",fe)},ea.prototype.screenReaderLabelChanged=function(d){d?this.div.setAttribute("aria-label",d):this.div.removeAttribute("aria-label")},ea.prototype.prepareSelection=function(){var d=_h(this.cm,!1);return d.focus=nt(pt(this.div))==this.div,d},ea.prototype.showSelection=function(d,v){!d||!this.cm.display.view.length||((d.focus||v)&&this.showPrimarySelection(),this.showMultipleSelections(d))},ea.prototype.getSelection=function(){return this.cm.display.wrapper.ownerDocument.getSelection()},ea.prototype.showPrimarySelection=function(){var d=this.getSelection(),v=this.cm,B=v.doc.sel.primary(),E=B.from(),F=B.to();if(v.display.viewTo==v.display.viewFrom||E.line>=v.display.viewTo||F.line<v.display.viewFrom){d.removeAllRanges();return}var X=ol(v,d.anchorNode,d.anchorOffset),fe=ol(v,d.focusNode,d.focusOffset);if(!(X&&!X.bad&&fe&&!fe.bad&&si(Us(X,fe),E)==0&&si(As(X,fe),F)==0)){var _e=v.display.view,ke=E.line>=v.display.viewFrom&&Th(v,E)||{node:_e[0].measure.map[2],offset:0},Fe=F.line<v.display.viewTo&&Th(v,F);if(!Fe){var _t=_e[_e.length-1].measure,Tt=_t.maps?_t.maps[_t.maps.length-1]:_t.map;Fe={node:Tt[Tt.length-1],offset:Tt[Tt.length-2]-Tt[Tt.length-3]}}if(!ke||!Fe){d.removeAllRanges();return}var Jt=d.rangeCount&&d.getRangeAt(0),Ht;try{Ht=ot(ke.node,ke.offset,Fe.offset,Fe.node)}catch{}Ht&&(!r&&v.state.focused?(d.collapse(ke.node,ke.offset),Ht.collapsed||(d.removeAllRanges(),d.addRange(Ht))):(d.removeAllRanges(),d.addRange(Ht)),Jt&&d.anchorNode==null?d.addRange(Jt):r&&this.startGracePeriod()),this.rememberSelection()}},ea.prototype.startGracePeriod=function(){var d=this;clearTimeout(this.gracePeriod),this.gracePeriod=setTimeout(function(){d.gracePeriod=!1,d.selectionChanged()&&d.cm.operation(function(){return d.cm.curOp.selectionChanged=!0})},20)},ea.prototype.showMultipleSelections=function(d){qe(this.cm.display.cursorDiv,d.cursors),qe(this.cm.display.selectionDiv,d.selection)},ea.prototype.rememberSelection=function(){var d=this.getSelection();this.lastAnchorNode=d.anchorNode,this.lastAnchorOffset=d.anchorOffset,this.lastFocusNode=d.focusNode,this.lastFocusOffset=d.focusOffset},ea.prototype.selectionInEditor=function(){var d=this.getSelection();if(!d.rangeCount)return!1;var v=d.getRangeAt(0).commonAncestorContainer;return yt(this.div,v)},ea.prototype.focus=function(){this.cm.options.readOnly!="nocursor"&&((!this.selectionInEditor()||nt(pt(this.div))!=this.div)&&this.showSelection(this.prepareSelection(),!0),this.div.focus())},ea.prototype.blur=function(){this.div.blur()},ea.prototype.getField=function(){return this.div},ea.prototype.supportsTouch=function(){return!0},ea.prototype.receivedFocus=function(){var d=this,v=this;this.selectionInEditor()?setTimeout(function(){return d.pollSelection()},20):Ga(this.cm,function(){return v.cm.curOp.selectionChanged=!0});function B(){v.cm.state.focused&&(v.pollSelection(),v.polling.set(v.cm.options.pollInterval,B))}this.polling.set(this.cm.options.pollInterval,B)},ea.prototype.selectionChanged=function(){var d=this.getSelection();return d.anchorNode!=this.lastAnchorNode||d.anchorOffset!=this.lastAnchorOffset||d.focusNode!=this.lastFocusNode||d.focusOffset!=this.lastFocusOffset},ea.prototype.pollSelection=function(){if(!(this.readDOMTimeout!=null||this.gracePeriod||!this.selectionChanged())){var d=this.getSelection(),v=this.cm;if(ae&&U&&this.cm.display.gutterSpecs.length&&pp(d.anchorNode)){this.cm.triggerOnKeyDown({type:"keydown",keyCode:8,preventDefault:Math.abs}),this.blur(),this.focus();return}if(!this.composing){this.rememberSelection();var B=ol(v,d.anchorNode,d.anchorOffset),E=ol(v,d.focusNode,d.focusOffset);B&&E&&Ga(v,function(){sa(v.doc,Gu(B,E),Ot),(B.bad||E.bad)&&(v.curOp.selectionChanged=!0)})}}},ea.prototype.pollContent=function(){this.readDOMTimeout!=null&&(clearTimeout(this.readDOMTimeout),this.readDOMTimeout=null);var d=this.cm,v=d.display,B=d.doc.sel.primary(),E=B.from(),F=B.to();if(E.ch==0&&E.line>d.firstLine()&&(E=rn(E.line-1,xi(d.doc,E.line-1).length)),F.ch==xi(d.doc,F.line).text.length&&F.line<d.lastLine()&&(F=rn(F.line+1,0)),E.line<v.viewFrom||F.line>v.viewTo-1)return!1;var X,fe,_e;E.line==v.viewFrom||(X=Hs(d,E.line))==0?(fe=$e(v.view[0].line),_e=v.view[0].node):(fe=$e(v.view[X].line),_e=v.view[X-1].node.nextSibling);var ke=Hs(d,F.line),Fe,_t;if(ke==v.view.length-1?(Fe=v.viewTo-1,_t=v.lineDiv.lastChild):(Fe=$e(v.view[ke+1].line)-1,_t=v.view[ke+1].node.previousSibling),!_e)return!1;for(var Tt=d.doc.splitLines(fA(d,_e,_t,fe,Fe)),Jt=ls(d.doc,rn(fe,0),rn(Fe,xi(d.doc,Fe).text.length));Tt.length>1&&Jt.length>1;)if($n(Tt)==$n(Jt))Tt.pop(),Jt.pop(),Fe--;else if(Tt[0]==Jt[0])Tt.shift(),Jt.shift(),fe++;else break;for(var Ht=0,_n=0,Rn=Tt[0],oi=Jt[0],pi=Math.min(Rn.length,oi.length);Ht<pi&&Rn.charCodeAt(Ht)==oi.charCodeAt(Ht);)++Ht;for(var Ci=$n(Tt),gi=$n(Jt),ki=Math.min(Ci.length-(Tt.length==1?Ht:0),gi.length-(Jt. Line truncated
`),tt(F))}else return;fe.type=="cut"&&(E.state.cutIncoming=+new Date)}}gt(F,"cut",X),gt(F,"copy",X),gt(d.scroller,"paste",function(fe){if(!(aA(d,fe)||en(E,fe))){if(!F.dispatchEvent){E.state.pasteIncoming=+new Date,B.focus();return}var _e=new Event("paste");_e.clipboardData=fe.clipboardData,F.dispatchEvent(_e)}}),gt(d.lineSpace,"selectstart",function(fe){aA(d,fe)||Wn(fe)}),gt(F,"compositionstart",function(){var fe=E.getCursor("from");B.composing&&B.composing.range.clear(),B.composing={start:fe,range:E.markText(fe,E.getCursor("to"),{className:"CodeMirror-composing"})}}),gt(F,"compositionend",function(){B.composing&&(B.poll(),B.composing.range.clear(),B.composing=null)})},zs.prototype.createField=function(d){this.wrapper=sf(),this.textarea=this.wrapper.firstChild;var v=this.cm.options;Yf(this.textarea,v.spellcheck,v.autocorrect,v.autocapitalize)},zs.prototype.screenReaderLabelChanged=function(d){d?this.textarea.setAttribute("aria-label",d):this.textarea.removeAttribute("aria-label")},zs.prototype.prepareSelection=function(){var d=this.cm,v=d.display,B=d.doc,E=_h(d);if(d.options.moveInputWithCursor){var F=vn(d,B.sel.primary().head,"div"),X=v.wrapper.getBoundingClientRect(),fe=v.lineDiv.getBoundingClientRect();E.teTop=Math.max(0,Math.min(v.wrapper.clientHeight-10,F.top+fe.top-X.top)),E.teLeft=Math.max(0,Math.min(v.wrapper.clientWidth-10,F.left+fe.left-X.left))}return E},zs.prototype.showSelection=function(d){var v=this.cm,B=v.display;qe(B.cursorDiv,d.cursors),qe(B.selectionDiv,d.selection),d.teTop!=null&&(this.wrapper.style.top=d.teTop+"px",this.wrapper.style.left=d.teLeft+"px")},zs.prototype.reset=function(d){if(!(this.contextMenuPending||this.composing&&d)){var v=this.cm;if(this.resetting=!0,v.somethingSelected()){this.prevInput="";var B=v.getSelection();this.textarea.value=B,v.state.focused&&tt(this.textarea),m&&C>=9&&(this.hasSelection=B)}else d||(this.prevInput=this.textarea.value="",m&&C>=9&&(this.hasSelection=null));this.resetting=!1}},zs.prototype.getField=function(){return this.textarea},zs.prototype.supportsTouch=function(){return!1},zs.prototype.focus=function(){if(this.cm.options.readOnly!="nocursor"&&(!ne||nt(pt(this.textarea))!=this.textarea))try{this.textarea.focus()}catch{}},zs.prototype.blur=function(){this.textarea.blur()},zs.prototype.resetPosition=function(){this.wrapper.style.top=this.wrapper.style.left=0},zs.prototype.receivedFocus=function(){this.slowPoll()},zs.prototype.slowPoll=function(){var d=this;this.pollingFast||this.polling.set(this.cm.options.pollInterval,function(){d.poll(),d.cm.state.focused&&d.slowPoll()})},zs.prototype.fastPoll=function(){var d=!1,v=this;v.pollingFast=!0;function B(){var E=v.poll();!E&&!d?(d=!0,v.polling.set(60,B)):(v.pollingFast=!1,v.slowPoll())}v.polling.set(20,B)},zs.prototype.poll=function(){var d=this,v=this.cm,B=this.textarea,E=this.prevInput;if(this.contextMenuPending||this.resetting||!v.state.focused||Zn(B)&&!E&&!this.composing||v.isReadOnly()||v.options.disableInput||v.state.keySeq)return!1;var F=B.value;if(F==E&&!v.somethingSelected())return!1;if(m&&C>=9&&this.hasSelection===F||Z&&/[\uf700-\uf7ff]/.test(F))return v.display.input.reset(),!1;if(v.doc.sel==v.display.selForContextMenu){var X=F.charCodeAt(0);if(X==8203&&!E&&(E="​"),X==8666)return this.reset(),this.cm.execCommand("undo")}for(var fe=0,_e=Math.min(E.length,F.length);fe<_e&&E.charCodeAt(fe)==F.charCodeAt(fe);)++fe;return Ga(v,function(){Zs(v,F.slice(fe),E.length-fe,null,d.composing?"*compose":null),F.length>1e3||F.indexOf(`
`)>-1?B.value=d.prevInput="":d.prevInput=F,d.composing&&(d.composing.range.clear(),d.composing.range=v.markText(d.composing.start,v.getCursor("to"),{className:"CodeMirror-composing"}))}),!0},zs.prototype.ensurePolled=function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},zs.prototype.onKeyPress=function(){m&&C>=9&&(this.hasSelection=null),this.fastPoll()},zs.prototype.onContextMenu=function(d){var v=this,B=v.cm,E=B.display,F=v.textarea;v.contextMenuPending&&v.contextMenuPending();var X=Na(B,d),fe=E.scroller.scrollTop;if(!X||z)return;var _e=B.options.resetSelectionOnContextMenu;_e&&B.doc.sel.contains(X)==-1&&Zo(B,sa)(B.doc,Gu(X),Ot);var ke=F.style.cssText,Fe=v.wrapper.style.cssText,_t=v.wrapper.offsetParent.getBoundingClientRect();v.wrapper.style.cssText="position: static",F.style.cssText=`position: absolute; width: 30px; height: 30px;
top: `+(d.clientY-_t.top-5)+"px; left: "+(d.clientX-_t.left-5)+`px;
z-index: 1000; background: `+(m?"rgba(255, 255, 255, .05)":"transparent")+`;
outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);`;var Tt;S&&(Tt=F.ownerDocument.defaultView.scrollY),E.input.focus(),S&&F.ownerDocument.defaultView.scrollTo(null,Tt),E.input.reset(),B.somethingSelected()||(F.value=v.prevInput=" "),v.contextMenuPending=Ht,E.selForContextMenu=B.doc.sel,clearTimeout(E.detectingSelectAll);function Jt(){if(F.selectionStart!=null){var Rn=B.somethingSelected(),oi="​"+(Rn?F.value:"");F.value="⇚",F.value=oi,v.prevInput=Rn?"":"​",F.selectionStart=1,F.selectionEnd=oi.length,E.selForContextMenu=B.doc.sel}}function Ht(){if(v.contextMenuPending==Ht&&(v.contextMenuPending=!1,v.wrapper.style.cssText=Fe,F.style.cssText=ke,m&&C<9&&E.scrollbars.setScrollTop(E.scroller.scrollTop=fe),F.selectionStart!=null)){(!m||m&&C<9)&&Jt();var Rn=0,oi=function(){E.selForContextMenu==B.doc.sel&&F.selectionStart==0&&F.selectionEnd>0&&v.prevInput=="​"?Zo(B,Cu)(B):Rn++<10?E.detectingSelectAll=setTimeout(oi,500):(E.selForContextMenu=null,E.input.reset())};E.detectingSelectAll=setTimeout(oi,200)}}if(m&&C>=9&&Jt(),ye){wi(d);var _n=function(){kt(window,"mouseup",_n),setTimeout(Ht,20)};gt(window,"mouseup",_n)}else setTimeout(Ht,50)},zs.prototype.readOnlyChanged=function(d){d||this.reset(),this.textarea.disabled=d=="nocursor",this.textarea.readOnly=!!d},zs.prototype.setUneditable=function(){},zs.prototype.needsContentAttribute=!1;function Hf(d,v){if(v=v?Le(v):{},v.value=d.value,!v.tabindex&&d.tabIndex&&(v.tabindex=d.tabIndex),!v.placeholder&&d.placeholder&&(v.placeholder=d.placeholder),v.autofocus==null){var B=nt(pt(d));v.autofocus=B==d||d.getAttribute("autofocus")!=null&&B==document.body}function E(){d.value=_e.getValue()}var F;if(d.form&&(gt(d.form,"submit",E),!v.leaveSubmitMethodAlone)){var X=d.form;F=X.submit;try{var fe=X.submit=function(){E(),X.submit=F,X.submit(),X.submit=fe}}catch{}}v.finishInit=function(ke){ke.save=E,ke.getTextArea=function(){return d},ke.toTextArea=function(){ke.toTextArea=isNaN,E(),d.parentNode.removeChild(ke.getWrapperElement()),d.style.display="",d.form&&(kt(d.form,"submit",E),!v.leaveSubmitMethodAlone&&typeof d.form.submit=="function"&&(d.form.submit=F))}},d.style.display="none";var _e=Jo(function(ke){return d.parentNode.insertBefore(ke,d.nextSibling)},v);return _e}function a0(d){d.off=kt,d.on=gt,d.wheelEventPixels=Lf,d.Doc=At,d.splitLines=To,d.countColumn=Pe,d.findColumn=on,d.isWordChar=Kn,d.Pass=vt,d.signal=it,d.Line=Ll,d.changeEnd=ju,d.scrollbarModel=pu,d.Pos=rn,d.cmpPos=si,d.modes=La,d.mimeModes=Ir,d.resolveMode=Ta,d.getMode=So,d.modeExtensions=$a,d.extendMode=Ol,d.copyState=Ao,d.startState=ka,d.innerMode=QA,d.commands=Bs,d.keyMap=Qn,d.keyName=Lo,d.isModifierKey=_o,d.lookupKey=cr,d.normalizeKeyMap=bi,d.StringStream=Vi,d.SharedTextMarker=he,d.TextMarker=q,d.LineWidget=_,d.e_preventDefault=Wn,d.e_stopPropagation=qi,d.e_stop=wi,d.addClass=be,d.contains=yt,d.rmClass=Be,d.keyNames=Xt}Wf(Jo),Dd(Jo);var s0="iter insert remove copy getEditor constructor".split(" ");for(var uf in At.prototype)At.prototype.hasOwnProperty(uf)&&He(s0,uf)<0&&(Jo.prototype[uf]=function(d){return function(){return d.apply(this.doc,arguments)}}(At.prototype[uf]));return ii(At),Jo.inputStyles={textarea:zs,contenteditable:ea},Jo.defineMode=function(d){!Jo.defaults.mode&&d!="null"&&(Jo.defaults.mode=d),Gi.apply(this,arguments)},Jo.defineMIME=gl,Jo.defineMode("null",function(){return{token:function(d){return d.skipToEnd()}}}),Jo.defineMIME("text/plain","null"),Jo.defineExtension=function(d,v){Jo.prototype[d]=v},Jo.defineDocExtension=function(d,v){At.prototype[d]=v},Jo.fromTextArea=Hf,a0(Jo),Jo.version="5.65.20",Jo})}(Kx)),Kx.exports}var $se=W2();const np=WA($se);var dk={exports:{}},fk;function Zse(){return fk||(fk=1,function(n,e){(function(t){t(W2())})(function(t){t.defineMode("javascript",function(i,r){var a=i.indentUnit,l=r.statementIndent,o=r.jsonld,m=r.json||o,C=r.trackScope!==!1,S=r.typescript,O=r.wordCharacters||/[\w$\xa1-\uffff]/,U=function(){function $e(wo){return{type:wo,style:"keyword"}}var Et=$e("keyword a"),xn=$e("keyword b"),jn=$e("keyword c"),rn=$e("keyword d"),si=$e("operator"),Jr={type:"atom",style:"atom"};return{if:$e("if"),while:Et,with:Et,else:xn,do:xn,try:xn,finally:xn,return:rn,break:rn,continue:rn,new:$e("new"),delete:jn,void:jn,throw:jn,debugger:$e("debugger"),var:$e("var"),const:$e("var"),let:$e("var"),function:$e("function"),catch:$e("catch"),for:$e("for"),switch:$e("switch"),case:$e("case"),default:$e("default"),in:si,typeof:si,instanceof:si,true:Jr,false:Jr,null:Jr,undefined:Jr,NaN:Jr,Infinity:Jr,this:$e("this"),class:$e("class"),super:$e("atom"),yield:jn,export:$e("export"),import:$e("import"),extends:jn,await:jn}}(),K=/[+\-*&%=<>!?|~^@]/,z=/^@(context|id|value|language|type|container|list|set|reverse|index|base|vocab|graph)"/;function j($e){for(var Et=!1,xn,jn=!1;(xn=$e.next())!=null;){if(!Et){if(xn=="/"&&!jn)return;xn=="["?jn=!0:jn&&xn=="]"&&(jn=!1)}Et=!Et&&xn=="\\"}}var Q,ee;function V($e,Et,xn){return Q=$e,ee=xn,Et}fun Line truncated
outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);`;var Tt;S&&(Tt=F.ownerDocument.defaultView.scrollY),E.input.focus(),S&&F.ownerDocument.defaultView.scrollTo(null,Tt),E.input.reset(),B.somethingSelected()||(F.value=v.prevInput=" "),v.contextMenuPending=Ht,E.selForContextMenu=B.doc.sel,clearTimeout(E.detectingSelectAll);function Jt(){if(F.selectionStart!=null){var Rn=B.somethingSelected(),oi="​"+(Rn?F.value:"");F.value="⇚",F.value=oi,v.prevInput=Rn?"":"​",F.selectionStart=1,F.selectionEnd=oi.length,E.selForContextMenu=B.doc.sel}}function Ht(){if(v.contextMenuPending==Ht&&(v.contextMenuPending=!1,v.wrapper.style.cssText=Fe,F.style.cssText=ke,m&&C<9&&E.scrollbars.setScrollTop(E.scroller.scrollTop=fe),F.selectionStart!=null)){(!m||m&&C<9)&&Jt();var Rn=0,oi=function(){E.selForContextMenu==B.doc.sel&&F.selectionStart==0&&F.selectionEnd>0&&v.prevInput=="​"?Zo(B,Cu)(B):Rn++<10?E.detectingSelectAll=setTimeout(oi,500):(E.selForContextMenu=null,E.input.reset())};E.detectingSelectAll=setTimeout(oi,200)}}if(m&&C>=9&&Jt(),ye){wi(d);var _n=function(){kt(window,"mouseup",_n),setTimeout(Ht,20)};gt(window,"mouseup",_n)}else setTimeout(Ht,50)},zs.prototype.readOnlyChanged=function(d){d||this.reset(),this.textarea.disabled=d=="nocursor",this.textarea.readOnly=!!d},zs.prototype.setUneditable=function(){},zs.prototype.needsContentAttribute=!1;function qf(d,v){if(v=v?Le(v):{},v.value=d.value,!v.tabindex&&d.tabIndex&&(v.tabindex=d.tabIndex),!v.placeholder&&d.placeholder&&(v.placeholder=d.placeholder),v.autofocus==null){var B=nt(pt(d));v.autofocus=B==d||d.getAttribute("autofocus")!=null&&B==document.body}function E(){d.value=_e.getValue()}var F;if(d.form&&(gt(d.form,"submit",E),!v.leaveSubmitMethodAlone)){var X=d.form;F=X.submit;try{var fe=X.submit=function(){E(),X.submit=F,X.submit(),X.submit=fe}}catch{}}v.finishInit=function(ke){ke.save=E,ke.getTextArea=function(){return d},ke.toTextArea=function(){ke.toTextArea=isNaN,E(),d.parentNode.removeChild(ke.getWrapperElement()),d.style.display="",d.form&&(kt(d.form,"submit",E),!v.leaveSubmitMethodAlone&&typeof d.form.submit=="function"&&(d.form.submit=F))}},d.style.display="none";var _e=Jo(function(ke){return d.parentNode.insertBefore(ke,d.nextSibling)},v);return _e}function a0(d){d.off=kt,d.on=gt,d.wheelEventPixels=Uf,d.Doc=At,d.splitLines=To,d.countColumn=Pe,d.findColumn=on,d.isWordChar=Kn,d.Pass=vt,d.signal=it,d.Line=Ll,d.changeEnd=ju,d.scrollbarModel=pu,d.Pos=rn,d.cmpPos=si,d.modes=La,d.mimeModes=Ir,d.resolveMode=Ta,d.getMode=So,d.modeExtensions=$a,d.extendMode=Ol,d.copyState=Ao,d.startState=ka,d.innerMode=QA,d.commands=Bs,d.keyMap=Qn,d.keyName=Lo,d.isModifierKey=_o,d.lookupKey=cr,d.normalizeKeyMap=bi,d.StringStream=Vi,d.SharedTextMarker=he,d.TextMarker=q,d.LineWidget=_,d.e_preventDefault=Wn,d.e_stopPropagation=qi,d.e_stop=wi,d.addClass=be,d.contains=yt,d.rmClass=Be,d.keyNames=Xt}jf(Jo),Dd(Jo);var s0="iter insert remove copy getEditor constructor".split(" ");for(var Af in At.prototype)At.prototype.hasOwnProperty(Af)&&He(s0,Af)<0&&(Jo.prototype[Af]=function(d){return function(){return d.apply(this.doc,arguments)}}(At.prototype[Af]));return ii(At),Jo.inputStyles={textarea:zs,contenteditable:ea},Jo.defineMode=function(d){!Jo.defaults.mode&&d!="null"&&(Jo.defaults.mode=d),Ni.apply(this,arguments)},Jo.defineMIME=gl,Jo.defineMode("null",function(){return{token:function(d){return d.skipToEnd()}}}),Jo.defineMIME("text/plain","null"),Jo.defineExtension=function(d,v){Jo.prototype[d]=v},Jo.defineDocExtension=function(d,v){At.prototype[d]=v},Jo.fromTextArea=qf,a0(Jo),Jo.version="5.65.20",Jo})}(Ix)),Ix.exports}var Lse=L2();const tp=WA(Lse);var sk={exports:{}},lk;function Fse(){return lk||(lk=1,function(n,e){(function(t){t(L2())})(function(t){t.defineMode("javascript",function(i,r){var a=i.indentUnit,l=r.statementIndent,o=r.jsonld,m=r.json||o,C=r.trackScope!==!1,S=r.typescript,O=r.wordCharacters||/[\w$\xa1-\uffff]/,U=function(){function $e(wo){return{type:wo,style:"keyword"}}var Et=$e("keyword a"),xn=$e("keyword b"),jn=$e("keyword c"),rn=$e("keyword d"),si=$e("operator"),Jr={type:"atom",style:"atom"};return{if:$e("if"),while:Et,with:Et,else:xn,do:xn,try:xn,finally:xn,return:rn,break:rn,continue:rn,new:$e("new"),delete:jn,void:jn,throw:jn,debugger:$e("debugger"),var:$e("var"),const:$e("var"),let:$e("var"),function:$e("function"),catch:$e("catch"),for:$e("for"),switch:$e("switch"),case:$e("case"),default:$e("default"),in:si,typeof:si,instanceof:si,true:Jr,false:Jr,null:Jr,undefined:Jr,NaN:Jr,Infinity:Jr,this:$e("this"),class:$e("class"),super:$e("atom"),yield:jn,export:$e("export"),import:$e("import"),extends:jn,await:jn}}(),K=/[+\-*&%=<>!?|~^@]/,z=/^@(context|id|value|language|type|container|list|set|reverse|index|base|vocab|graph)"/;function j($e){for(var Et=!1,xn,jn=!1;(xn=$e.next())!=null;){if(!Et){if(xn=="/"&&!jn)return;xn=="["?jn=!0:jn&&xn=="]"&&(jn=!1)}Et=!Et&&xn=="\\"}}var Q,ee;function V($e,Et,xn){return Q=$e,ee=xn,Et}fun Line truncated
${O}`),j].join(`
${o}`)}return C}(n,"",0)}var FC={exports:{}},tle=FC.exports,vk;function nle(){return vk||(vk=1,function(n,e){(function(t,i){i(e)})(tle,function(t){const i={isWhiteSpace:function(be){return be===" "||be===" "||be==="\uFEFF"||be>=" "&&be<="\r"||be===" "||be>=" "&&be<=" "||be==="\u2028"||be==="\u2029"||be===" "||be===" "||be===" "},isWhiteSpaceJSON:function(be){return be===" "||be===" "||be===`
${o}`)}return C}(n,"",0)}var FC={exports:{}},jse=FC.exports,dk;function Wse(){return dk||(dk=1,function(n,e){(function(t,i){i(e)})(jse,function(t){const i={isWhiteSpace:function(be){return be===" "||be===" "||be==="\uFEFF"||be>=" "&&be<="\r"||be===" "||be>=" "&&be<=" "||be==="\u2028"||be==="\u2029"||be===" "||be===" "||be===" "},isWhiteSpaceJSON:function(be){return be===" "||be===" "||be===`
`||be==="\r"},isLineTerminator:function(be){return be===`
`||be==="\r"||be==="\u2028"||be==="\u2029"},isLineTerminatorJSON:function(be){return be===`
`||be==="\r"},isIdentifierStart:function(be){return be==="$"||be==="_"||be>="A"&&be<="Z"||be>="a"&&be<="z"||be>="€"&&i.NonAsciiIdentifierStart.test(be)},isIdentifierPart:function(be){return be==="$"||be==="_"||be>="A"&&be<="Z"||be>="a"&&be<="z"||be>="0"&&be<="9"||be>="€"&&i.NonAsciiIdentifierPart.test(be)},NonAsciiIdentifierStart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0977\u0979-\u097F\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D\u0C58\u0C59\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D60\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F4\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F0\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/,NonAsciiIdentifierPart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u0527\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\uLine truncated
`,r:"\r",t:" ",v:"\v","/":"/"},C=Object.hasOwn,S={};function O(nt,be){(typeof nt!="string"||!(nt instanceof String))&&(nt=String(nt));const Ge=be.mode==="json5",tt=be.ignoreBOM,lt=be.ignoreComments||be.mode==="cjson"||Ge,It=be.ignoreTrailingCommas||Ge,pt=be.ignoreProtoKey,St=be.ignorePrototypeKeys,Rt=be.allowSingleQuotedStrings||Ge,Le=be.allowDuplicateObjectKeys,Pe=be.reviver,Re=be.tokenize,He=be.rawTokens,bt=be.tokenLocations,vt=be.tokenPaths,Ot=Ge?i.isLineTerminator:i.isLineTerminatorJSON,qt=Ge?i.isWhiteSpace:i.isWhiteSpaceJSON,Kt=nt.length;let on=0,Jn=0,Wt=0;const $n=[];let On,Bn,In;if(Re){let ht=null,kt,it;On=function(){if(ht!==null)throw Error("internal error, token overlap");kt=on+1,it=Wt-Jn+1,ht=Wt},Bn=function(en,Dn){if(ht!==Wt){const Mn={type:en};He&&(Mn.raw=nt.substr(ht,Wt-ht)),Dn!==void 0&&(Mn.value=Dn),bt&&(Mn.location={start:{column:it,line:kt,offset:ht}}),vt&&(Mn.path=In.slice()),$n.push(Mn)}return ht=null,Dn},vt&&(In=[])}function Bi(){let ht;return Wt<Kt?ht=`Unexpected token ${JSON.stringify(nt[Wt])}`:ht="Unexpected end of input",ht}function ei(ht){const kt=Wt-Jn+1;++on;const it=Me(ht,nt,Wt,on,kt),en=SyntaxError(it.message);return en.reason=ht,en.excerpt=it.excerpt,en.pointer=it.pointer,en.location={start:{column:kt,line:on,offset:Wt}},en}function Kn(ht){throw ht||(ht=Bi()),ei(ht)}function Ne(ht){ht==="\r"&&nt[Wt]===`
`&&++Wt,Jn=Wt,++on}function de(){if(Wt<Kt){On?.();const ht=nt[Wt++];if(ht==='"'||ht==="'"&&Rt){const kt=g(ht);return Bn?.("literal",kt),kt}if(ht==="{")return Bn?.("symbol","{"),dt();if(ht==="[")return Bn?.("symbol","["),Ye();if(ht==="-"||ht==="."||l(ht)||Ge&&(ht==="+"||ht==="I"||ht==="N")){const kt=De();return Bn?.("literal",kt),kt}if(ht==="n")return We("null"),Bn?.("literal",null),null;if(ht==="t")return We("true"),Bn?.("literal",!0),!0;if(ht==="f")return We("false"),Bn?.("literal",!1),!1;--Wt,Bn?.();return}}function re(){let ht;if(Wt<Kt){On?.();const kt=nt[Wt++];if(kt==='"'||kt==="'"&&Rt){const it=g(kt);return Bn?.("literal",it),it}if(kt==="{")return Bn?.("symbol","{"),dt();if(kt==="[")return Bn?.("symbol","["),Ye();if(kt==="."||l(kt)){const it=De();return Bn?.("literal",it),it}if(Ge&&i.isIdentifierStart(kt)||kt==="\\"&&nt[Wt]==="u"){const it=Wt-1;if(ht=Ze(),ht===void 0){Wt=it,Bn?.();return}return Bn?.("literal",ht),ht}--Wt,Bn?.();return}}function le(){o(nt)&&(On?.(),++Wt,Bn?.("bom"))}function me(){let ht;function kt(){ht||(ht=!0,--Wt,On(),++Wt)}function it(){ht&&(ht=!1,Bn("whitespace"))}for(;Wt<Kt;){const en=nt[Wt++];if(Ot(en))On&&kt(),Ne(en);else if(qt(en))On&&kt();else if(en==="/"&&lt&&(nt[Wt]==="/"||nt[Wt]==="*"))On&&(--Wt,it(),On(),++Wt),Te(nt[Wt++]==="*"),Bn?.("comment");else{--Wt;break}}Bn&&it()}function Te(ht){for(;Wt<Kt;){const kt=nt[Wt++];if(Ot(kt)){if(!ht){--Wt;return}Ne(kt)}else if(kt==="*"&&ht&&nt[Wt]==="/"){++Wt;return}}ht&&Kn("Unclosed multiline comment")}function We(ht){const kt=Wt;for(let it=1,en=ht.length;it<en;++it)(Wt>=Kt||ht[it]!==nt[Wt])&&(Wt=kt-1,Kn()),++Wt}function dt(){let ht={},kt=!1;for(;Wt<Kt;){me();const it=re();Le===!1&&C(ht,it)&&Kn(`Duplicate key: "${it}"`),me(),On?.();let en=nt[Wt++];if(Bn?.("symbol",en),en==="}"&&it===void 0)return!It&&kt&&(--Wt,Kn("Trailing comma in object")),ht;if(en===":"&&it!==void 0){me(),In?.push(it);let Dn=de();if(In?.pop(),Dn===void 0&&Kn(`No value found for key "${it}"`),typeof it!="string"&&(!Ge||typeof it!="number")&&Kn(`Wrong key type: "${it}"`),St&&(it in S||S[it]!=null)||pt&&it==="__proto__"||(Pe&&(Dn=Pe(it,Dn)),Dn!==void 0&&(kt=!0,it==="__proto__"?ht=Object.assign(JSON.parse(`{"__proto__":${JSON.stringify(Dn)}}`),ht):ht[it]=Dn)),me(),On?.(),en=nt[Wt++],Bn?.("symbol",en),en!==","){if(en==="}")return ht;Kn()}}else--Wt,Kn()}Kn()}function Ye(){const ht=[];for(;Wt<Kt;){me(),In?.push(ht.length);let kt=de();In?.pop(),me(),On?.();const it=nt[Wt++];if(Bn?.("symbol",it),kt!==void 0&&(Pe&&(kt=Pe(String(ht.length),kt)),kt===void 0?(++ht.length,kt=!0):ht.push(kt)),it===",")kt===void 0&&Kn("Elisions are not supported");else{if(it==="]")return!It&&kt===void 0&&ht.length&&(--Wt,Kn("Trailing comma in array")),ht;--Wt,Kn()}}}function De(){--Wt;let ht=Wt,kt=nt[Wt++];const it=function(en){const Dn=nt.substr(ht,Wt-ht);let Mn;if(en?Mn=Number.parseInt(Dn.replace(/^0o?/,""),8):Mn=Number(Dn),Number.isNaN(Mn))--Wt,Kn(`Bad numeric literal - "${nt.substr(ht,Wt-ht+1)}"`);else if(!Ge&&!Dn.match(/^-?(0|[1-9][0-9]*)(\.[0-9]+)?(e[+-]?[0-9]+)?$/i))--Wt,Kn(`Non-json numeric literal - "${nt.substr(ht,Wt-ht+1)}"`);else return Mn};if((kt==="-"||kt==="+"&&Ge)&&(kt=nt[Wt++]),kt==="N"&&Ge)return We("NaN"),Number.NaN;if(kt==="I"&&Ge)return We("Infinity"),it();if(kt>="1"&&kt<="9"){for(;Wt<Kt&&l(nt[Wt]);)++Wt;kt=nt[Wt++]}if(kt==="0"){kt=nt[Wt++];const en=kt==="o"||kt==="O"||a(kt),Dn=kt==="x"||kt==="X";if(Ge&&(en||Dn)){for(;Wt<Kt&&(Dn?r:a)(nt[Wt]);)++Wt;let Mn=1;return nt[ht]==="-"?(Mn=-1,++ht):nt[ht]==="+"&&++ht,Mn*it(en)}}if(kt==="."){for(;Wt<Kt&&l(nt[Wt]);)++Wt;kt=nt[Wt++]}if(kt==="e"||kt==="E"){for(kt=nt[Wt++],(kt==="-"||kt==="+")&&++Wt;Wt<Kt&&l(nt[Wt]);)++Wt;kt=nt[Wt++]}return--Wt,it()}function Ze(){--Wt;let ht="";for(;Wt<Kt;){let kt=nt[Wt++];if(kt==="\\"&&nt[Wt]==="u"&&r(nt[Wt+1])&&r(nt[Wt+2])&&r(nt[Wt+3])&&r(nt[Wt+4])&&(kt=String.fromCharCode(Number.parseInt(nt.substr(Wt+1,4),16)),Wt+=5),ht.length)if(i.isIdentifierPart(kt))ht+=kt;else return--Wt,ht;else if(i.isIdentifierStart(kt))ht+=kt;else return}Kn()}function g(ht){let kt="";for(;Wt<Kt;){let it=nt[Wt++];if(it===ht)return kt;if(it==="\\")if(Wt>=Kt&&Kn(),it=nt[Wt++],m[it]&&(Ge||it!=="v"&&(it!=="'"||Rt)))kt+=m[it];else if(Ge&&Ot(it))Ne(it);else if(it==="u"||it==="x"&&Ge){const en=it==="u"?4:2;for(let Dn=0;Dn<en;++Dn)Wt>=Kt&&Kn(),r(nt[Wt])||Kn("Bad escape sequence"),Wt++;kt+=String.fromCharCode(Number.parseInt(nt.substr(Wt-en,en),16))}else if(Ge&&a(it)){let en;it<"4"&&a(nt[Wt])&&a(nt[Wt+1])?en=3:a(nt[Wt])?en=2:en=1,Wt+=en-1,kt+=String.fromCharCode(Number.parseInt(nt.substr(Wt-en,en),8))}else Ge?kt+=it:(--Wt,Kn());else Ot(it)?Kn():(!Ge&&it.charCodeAt(0)<32&&(--Wt,Kn("Unexpected control character")),kt+=it)}Kn()}tt&&le(),me();let gt=de();if(gt!==void 0||Wt<Kt){if(me(),Wt>=Kt)return Pe&&(gt=Pe("",gt)),Re?$n:gt;Kn()}else Kn(Wt?"No data, only a whitespace":"No data, empty input")}function U(nt,be){return typeof be=="function"?be={reviver:be}:be||(be={}),O(nt,be)}function K(nt,be){be||(be={});const Ge=be.tokenize;be.tokenize=!0;const Line truncated
`,r:"\r",t:" ",v:"\v","/":"/"},C=Object.hasOwn,S={};function O(nt,be){(typeof nt!="string"||!(nt instanceof String))&&(nt=String(nt));const Ne=be.mode==="json5",tt=be.ignoreBOM,lt=be.ignoreComments||be.mode==="cjson"||Ne,It=be.ignoreTrailingCommas||Ne,pt=be.ignoreProtoKey,St=be.ignorePrototypeKeys,Rt=be.allowSingleQuotedStrings||Ne,Le=be.allowDuplicateObjectKeys,Pe=be.reviver,Re=be.tokenize,He=be.rawTokens,bt=be.tokenLocations,vt=be.tokenPaths,Ot=Ne?i.isLineTerminator:i.isLineTerminatorJSON,qt=Ne?i.isWhiteSpace:i.isWhiteSpaceJSON,Kt=nt.length;let on=0,Jn=0,Wt=0;const $n=[];let On,Bn,In;if(Re){let ht=null,kt,it;On=function(){if(ht!==null)throw Error("internal error, token overlap");kt=on+1,it=Wt-Jn+1,ht=Wt},Bn=function(en,Dn){if(ht!==Wt){const Mn={type:en};He&&(Mn.raw=nt.substr(ht,Wt-ht)),Dn!==void 0&&(Mn.value=Dn),bt&&(Mn.location={start:{column:it,line:kt,offset:ht}}),vt&&(Mn.path=In.slice()),$n.push(Mn)}return ht=null,Dn},vt&&(In=[])}function Bi(){let ht;return Wt<Kt?ht=`Unexpected token ${JSON.stringify(nt[Wt])}`:ht="Unexpected end of input",ht}function ei(ht){const kt=Wt-Jn+1;++on;const it=Me(ht,nt,Wt,on,kt),en=SyntaxError(it.message);return en.reason=ht,en.excerpt=it.excerpt,en.pointer=it.pointer,en.location={start:{column:kt,line:on,offset:Wt}},en}function Kn(ht){throw ht||(ht=Bi()),ei(ht)}function Ge(ht){ht==="\r"&&nt[Wt]===`
`&&++Wt,Jn=Wt,++on}function de(){if(Wt<Kt){On?.();const ht=nt[Wt++];if(ht==='"'||ht==="'"&&Rt){const kt=g(ht);return Bn?.("literal",kt),kt}if(ht==="{")return Bn?.("symbol","{"),dt();if(ht==="[")return Bn?.("symbol","["),Ye();if(ht==="-"||ht==="."||l(ht)||Ne&&(ht==="+"||ht==="I"||ht==="N")){const kt=De();return Bn?.("literal",kt),kt}if(ht==="n")return We("null"),Bn?.("literal",null),null;if(ht==="t")return We("true"),Bn?.("literal",!0),!0;if(ht==="f")return We("false"),Bn?.("literal",!1),!1;--Wt,Bn?.();return}}function re(){let ht;if(Wt<Kt){On?.();const kt=nt[Wt++];if(kt==='"'||kt==="'"&&Rt){const it=g(kt);return Bn?.("literal",it),it}if(kt==="{")return Bn?.("symbol","{"),dt();if(kt==="[")return Bn?.("symbol","["),Ye();if(kt==="."||l(kt)){const it=De();return Bn?.("literal",it),it}if(Ne&&i.isIdentifierStart(kt)||kt==="\\"&&nt[Wt]==="u"){const it=Wt-1;if(ht=Ze(),ht===void 0){Wt=it,Bn?.();return}return Bn?.("literal",ht),ht}--Wt,Bn?.();return}}function le(){o(nt)&&(On?.(),++Wt,Bn?.("bom"))}function me(){let ht;function kt(){ht||(ht=!0,--Wt,On(),++Wt)}function it(){ht&&(ht=!1,Bn("whitespace"))}for(;Wt<Kt;){const en=nt[Wt++];if(Ot(en))On&&kt(),Ge(en);else if(qt(en))On&&kt();else if(en==="/"&&lt&&(nt[Wt]==="/"||nt[Wt]==="*"))On&&(--Wt,it(),On(),++Wt),Te(nt[Wt++]==="*"),Bn?.("comment");else{--Wt;break}}Bn&&it()}function Te(ht){for(;Wt<Kt;){const kt=nt[Wt++];if(Ot(kt)){if(!ht){--Wt;return}Ge(kt)}else if(kt==="*"&&ht&&nt[Wt]==="/"){++Wt;return}}ht&&Kn("Unclosed multiline comment")}function We(ht){const kt=Wt;for(let it=1,en=ht.length;it<en;++it)(Wt>=Kt||ht[it]!==nt[Wt])&&(Wt=kt-1,Kn()),++Wt}function dt(){let ht={},kt=!1;for(;Wt<Kt;){me();const it=re();Le===!1&&C(ht,it)&&Kn(`Duplicate key: "${it}"`),me(),On?.();let en=nt[Wt++];if(Bn?.("symbol",en),en==="}"&&it===void 0)return!It&&kt&&(--Wt,Kn("Trailing comma in object")),ht;if(en===":"&&it!==void 0){me(),In?.push(it);let Dn=de();if(In?.pop(),Dn===void 0&&Kn(`No value found for key "${it}"`),typeof it!="string"&&(!Ne||typeof it!="number")&&Kn(`Wrong key type: "${it}"`),St&&(it in S||S[it]!=null)||pt&&it==="__proto__"||(Pe&&(Dn=Pe(it,Dn)),Dn!==void 0&&(kt=!0,it==="__proto__"?ht=Object.assign(JSON.parse(`{"__proto__":${JSON.stringify(Dn)}}`),ht):ht[it]=Dn)),me(),On?.(),en=nt[Wt++],Bn?.("symbol",en),en!==","){if(en==="}")return ht;Kn()}}else--Wt,Kn()}Kn()}function Ye(){const ht=[];for(;Wt<Kt;){me(),In?.push(ht.length);let kt=de();In?.pop(),me(),On?.();const it=nt[Wt++];if(Bn?.("symbol",it),kt!==void 0&&(Pe&&(kt=Pe(String(ht.length),kt)),kt===void 0?(++ht.length,kt=!0):ht.push(kt)),it===",")kt===void 0&&Kn("Elisions are not supported");else{if(it==="]")return!It&&kt===void 0&&ht.length&&(--Wt,Kn("Trailing comma in array")),ht;--Wt,Kn()}}}function De(){--Wt;let ht=Wt,kt=nt[Wt++];const it=function(en){const Dn=nt.substr(ht,Wt-ht);let Mn;if(en?Mn=Number.parseInt(Dn.replace(/^0o?/,""),8):Mn=Number(Dn),Number.isNaN(Mn))--Wt,Kn(`Bad numeric literal - "${nt.substr(ht,Wt-ht+1)}"`);else if(!Ne&&!Dn.match(/^-?(0|[1-9][0-9]*)(\.[0-9]+)?(e[+-]?[0-9]+)?$/i))--Wt,Kn(`Non-json numeric literal - "${nt.substr(ht,Wt-ht+1)}"`);else return Mn};if((kt==="-"||kt==="+"&&Ne)&&(kt=nt[Wt++]),kt==="N"&&Ne)return We("NaN"),Number.NaN;if(kt==="I"&&Ne)return We("Infinity"),it();if(kt>="1"&&kt<="9"){for(;Wt<Kt&&l(nt[Wt]);)++Wt;kt=nt[Wt++]}if(kt==="0"){kt=nt[Wt++];const en=kt==="o"||kt==="O"||a(kt),Dn=kt==="x"||kt==="X";if(Ne&&(en||Dn)){for(;Wt<Kt&&(Dn?r:a)(nt[Wt]);)++Wt;let Mn=1;return nt[ht]==="-"?(Mn=-1,++ht):nt[ht]==="+"&&++ht,Mn*it(en)}}if(kt==="."){for(;Wt<Kt&&l(nt[Wt]);)++Wt;kt=nt[Wt++]}if(kt==="e"||kt==="E"){for(kt=nt[Wt++],(kt==="-"||kt==="+")&&++Wt;Wt<Kt&&l(nt[Wt]);)++Wt;kt=nt[Wt++]}return--Wt,it()}function Ze(){--Wt;let ht="";for(;Wt<Kt;){let kt=nt[Wt++];if(kt==="\\"&&nt[Wt]==="u"&&r(nt[Wt+1])&&r(nt[Wt+2])&&r(nt[Wt+3])&&r(nt[Wt+4])&&(kt=String.fromCharCode(Number.parseInt(nt.substr(Wt+1,4),16)),Wt+=5),ht.length)if(i.isIdentifierPart(kt))ht+=kt;else return--Wt,ht;else if(i.isIdentifierStart(kt))ht+=kt;else return}Kn()}function g(ht){let kt="";for(;Wt<Kt;){let it=nt[Wt++];if(it===ht)return kt;if(it==="\\")if(Wt>=Kt&&Kn(),it=nt[Wt++],m[it]&&(Ne||it!=="v"&&(it!=="'"||Rt)))kt+=m[it];else if(Ne&&Ot(it))Ge(it);else if(it==="u"||it==="x"&&Ne){const en=it==="u"?4:2;for(let Dn=0;Dn<en;++Dn)Wt>=Kt&&Kn(),r(nt[Wt])||Kn("Bad escape sequence"),Wt++;kt+=String.fromCharCode(Number.parseInt(nt.substr(Wt-en,en),16))}else if(Ne&&a(it)){let en;it<"4"&&a(nt[Wt])&&a(nt[Wt+1])?en=3:a(nt[Wt])?en=2:en=1,Wt+=en-1,kt+=String.fromCharCode(Number.parseInt(nt.substr(Wt-en,en),8))}else Ne?kt+=it:(--Wt,Kn());else Ot(it)?Kn():(!Ne&&it.charCodeAt(0)<32&&(--Wt,Kn("Unexpected control character")),kt+=it)}Kn()}tt&&le(),me();let gt=de();if(gt!==void 0||Wt<Kt){if(me(),Wt>=Kt)return Pe&&(gt=Pe("",gt)),Re?$n:gt;Kn()}else Kn(Wt?"No data, only a whitespace":"No data, empty input")}function U(nt,be){return typeof be=="function"?be={reviver:be}:be||(be={}),O(nt,be)}function K(nt,be){be||(be={});const Ne=be.tokenize;be.tokenize=!0;const Line truncated
${pt}
${Rt}
${nt}`):St=`Parse error in JSON input:
${pt}
${nt}`,{message:St,excerpt:pt,pointer:Rt}}function Be(nt,be){let Ge=W(be);const tt=ce(nt,Ge)||ge(nt,Ge)||ye(nt,Ge);let lt,It,pt;tt?(lt=tt.offset,It=tt.line,pt=tt.column,Ge=tt.reason):lt=0,be.reason=Ge;const St=Me(Ge,nt,lt,It,pt);return be.message=St.message,be.excerpt=St.excerpt,St.pointer&&(be.pointer=St.pointer,be.location={start:{column:pt,line:It,offset:lt}}),be}function we(nt,be){try{return JSON.parse(nt,be)}catch(Ge){const tt=Be(nt,Ge);if(Ge.location)throw tt;return U(nt,be)}}const qe=typeof navigator<"u"&&/Safari/.test(navigator.userAgent)&&/Apple Computer/.test(navigator.vendor),xe=typeof process<"u"&&process.version.startsWith("v4.");function ze(nt){return nt.ignoreBOM||nt.ignoreComments||nt.ignoreTrailingCommas||nt.allowSingleQuotedStrings||nt.allowDuplicateObjectKeys===!1||nt.ignoreProtoKey||nt.ignorePrototypeKeys||nt.mode==="cjson"||nt.mode==="json5"||qe||xe}function ot(nt){if(typeof nt=="function")return nt;if(nt)return nt.reviver}function yt(nt,be){return be||(be={}),ze(be)?U(nt,be):we(nt,ot(be))}t.parse=yt,t.tokenize=K,t.pathToPointer=j,t.pointerToPath=ee,t.parseNative=we,t.parseCustom=U,t.getErrorTexts=Me,Object.defineProperty(t,"__esModule",{value:!0})})}(FC,FC.exports)),FC.exports}var ile=nle(),Ux={exports:{}},rle=Ux.exports,Ck;function ole(){return Ck||(Ck=1,function(n,e){(function(t,i){n.exports=i()})(rle,function(){var t=typeof window<"u"||typeof window<"u"?window:typeof self<"u"?self:{};function i(Pe,Re){return Re={exports:{}},Pe(Re,Re.exports),Re.exports}var r=i(function(Pe){function Re(){var He=0,bt=1,vt=2,Ot=3,qt=4,Kt=5,on=6,Jn=7,Wt=8,$n=9,On=10,Bn=11,In=12,Bi=13,ei=14,Kn=15,Ne=16,de=17,re=0,le=1,me=2,Te=3,We=4;function dt(g,gt){return 55296<=g.charCodeAt(gt)&&g.charCodeAt(gt)<=56319&&56320<=g.charCodeAt(gt+1)&&g.charCodeAt(gt+1)<=57343}function Ye(g,gt){gt===void 0&&(gt=0);var ht=g.charCodeAt(gt);if(55296<=ht&&ht<=56319&&gt<g.length-1){var kt=ht,it=g.charCodeAt(gt+1);return 56320<=it&&it<=57343?(kt-55296)*1024+(it-56320)+65536:kt}if(56320<=ht&&ht<=57343&&gt>=1){var kt=g.charCodeAt(gt-1),it=ht;return 55296<=kt&&kt<=56319?(kt-55296)*1024+(it-56320)+65536:it}return ht}function De(g,gt,ht){var kt=[g].concat(gt).concat([ht]),it=kt[kt.length-2],en=ht,Dn=kt.lastIndexOf(ei);if(Dn>1&&kt.slice(1,Dn).every(function(Wn){return Wn==Ot})&&[Ot,Bi,de].indexOf(g)==-1)return me;var Mn=kt.lastIndexOf(qt);if(Mn>0&&kt.slice(1,Mn).every(function(Wn){return Wn==qt})&&[In,qt].indexOf(it)==-1)return kt.filter(function(Wn){return Wn==qt}).length%2==1?Te:We;if(it==He&&en==bt)return re;if(it==vt||it==He||it==bt)return en==ei&&gt.every(function(Wn){return Wn==Ot})?me:le;if(en==vt||en==He||en==bt)return le;if(it==on&&(en==on||en==Jn||en==$n||en==On))return re;if((it==$n||it==Jn)&&(en==Jn||en==Wt))return re;if((it==On||it==Wt)&&en==Wt)return re;if(en==Ot||en==Kn)return re;if(en==Kt)return re;if(it==In)return re;var ii=kt.indexOf(Ot)!=-1?kt.lastIndexOf(Ot)-1:kt.length-2;return[Bi,de].indexOf(kt[ii])!=-1&&kt.slice(ii+1,-1).every(function(Wn){return Wn==Ot})&&en==ei||it==Kn&&[Ne,de].indexOf(en)!=-1?re:gt.indexOf(qt)!=-1?me:it==qt&&en==qt?re:le}this.nextBreak=function(g,gt){if(gt===void 0&&(gt=0),gt<0)return 0;if(gt>=g.length-1)return g.length;for(var ht=Ze(Ye(g,gt)),kt=[],it=gt+1;it<g.length;it++)if(!dt(g,it-1)){var en=Ze(Ye(g,it));if(De(ht,kt,en))return it;kt.push(en)}return g.length},this.splitGraphemes=function(g){for(var gt=[],ht=0,kt;(kt=this.nextBreak(g,ht))<g.length;)gt.push(g.slice(ht,kt)),ht=kt;return ht<g.length&&gt.push(g.slice(ht)),gt},this.iterateGraphemes=function(g){var gt=0,ht={next:(function(){var kt,it;return(it=this.nextBreak(g,gt))<g.length?(kt=g.slice(gt,it),gt=it,{value:kt,done:!1}):gt<g.length?(kt=g.slice(gt),gt=g.length,{value:kt,done:!1}):{value:void 0,done:!0}}).bind(this)};return typeof Symbol<"u"&&Symbol.iterator&&(ht[Symbol.iterator]=function(){return ht}),ht},this.countGraphemes=function(g){for(var gt=0,ht=0,kt;(kt=this.nextBreak(g,ht))<g.length;)ht=kt,gt++;return ht<g.length&&gt++,gt};function Ze(g){return 1536<=g&&g<=1541||g==1757||g==1807||g==2274||g==3406||g==69821||70082<=g&&g<=70083||g==72250||72326<=g&&g<=72329||g==73030?In:g==13?He:g==10?bt:0<=g&&g<=9||11<=g&&g<=12||14<=g&&g<=31||127<=g&&g<=159||g==173||g==1564||g==6158||g==8203||8206<=g&&g<=8207||g==8232||g==8233||8234<=g&&g<=8238||8288<=g&&g<=8292||g==8293||8294<=g&&g<=8303||55296<=g&&g<=57343||g==65279||65520<=g&&g<=65528||65529<=g&&g<=65531||113824<=g&&g<=113827||119155<=g&&g<=119162||g==917504||g==917505||917506<=g&&g<=917535||917632<=g&&g<=917759||918e3<=g&&g<=921599?vt:768<=g&&g<=879||1155<=g&&g<=1159||1160<=g&&g<=1161||1425<=g&&g<=1469||g==1471||1473<=g&&g<=1474||1476<=g&&g<=1477||g==1479||1552<=g&&g<=1562||1611<=g&&g<=1631||g==1648||1750<=g&&g<=1756||1759<=g&&g<=1764||1767<=g&&g<=1768||1770<=g&&g<=1773||g==1809||1840<=g&&g<=1866||1958<=g&&g<=1968||2027<=g&&g<=2035||2070<=g&&g<=2073||2075<=g&&g<=2083||2085<=g&&g<=2087||2089<=g&&g<=2093||2137<=g&&g<=2139||2260<=g&&g<=2273||2275<=g&&g<=2306||g==2362||g==2364||2369<=g&&g< Line truncated
`)}var Wt={extraLines:2,tabSize:4},$n=function(Bn,In,Bi,ei){ei=Kt({},Wt,ei);var Kn=Bn.split(/\r\n?|\n|\f/),Ne=Math.max(1,In-ei.extraLines)-1,de=Math.min(In+ei.extraLines,Kn.length),re=String(de).length,le=Jn(Kn,Ne,In,re,ei),me=on(Kn[In-1].substring(0,Bi-1),In,re,ei),Te=vt(" ",me.length)+"^",We=Jn(Kn,In,de,re,ei);return[le,Te,We].filter(Boolean).join(`
${nt}`,{message:St,excerpt:pt,pointer:Rt}}function Be(nt,be){let Ne=W(be);const tt=ue(nt,Ne)||ge(nt,Ne)||ye(nt,Ne);let lt,It,pt;tt?(lt=tt.offset,It=tt.line,pt=tt.column,Ne=tt.reason):lt=0,be.reason=Ne;const St=Me(Ne,nt,lt,It,pt);return be.message=St.message,be.excerpt=St.excerpt,St.pointer&&(be.pointer=St.pointer,be.location={start:{column:pt,line:It,offset:lt}}),be}function we(nt,be){try{return JSON.parse(nt,be)}catch(Ne){const tt=Be(nt,Ne);if(Ne.location)throw tt;return U(nt,be)}}const qe=typeof navigator<"u"&&/Safari/.test(navigator.userAgent)&&/Apple Computer/.test(navigator.vendor),xe=typeof process<"u"&&process.version.startsWith("v4.");function ze(nt){return nt.ignoreBOM||nt.ignoreComments||nt.ignoreTrailingCommas||nt.allowSingleQuotedStrings||nt.allowDuplicateObjectKeys===!1||nt.ignoreProtoKey||nt.ignorePrototypeKeys||nt.mode==="cjson"||nt.mode==="json5"||qe||xe}function ot(nt){if(typeof nt=="function")return nt;if(nt)return nt.reviver}function yt(nt,be){return be||(be={}),ze(be)?U(nt,be):we(nt,ot(be))}t.parse=yt,t.tokenize=K,t.pathToPointer=j,t.pointerToPath=ee,t.parseNative=we,t.parseCustom=U,t.getErrorTexts=Me,Object.defineProperty(t,"__esModule",{value:!0})})}(FC,FC.exports)),FC.exports}var Qse=Wse(),Tx={exports:{}},Yse=Tx.exports,fk;function qse(){return fk||(fk=1,function(n,e){(function(t,i){n.exports=i()})(Yse,function(){var t=typeof window<"u"||typeof window<"u"?window:typeof self<"u"?self:{};function i(Pe,Re){return Re={exports:{}},Pe(Re,Re.exports),Re.exports}var r=i(function(Pe){function Re(){var He=0,bt=1,vt=2,Ot=3,qt=4,Kt=5,on=6,Jn=7,Wt=8,$n=9,On=10,Bn=11,In=12,Bi=13,ei=14,Kn=15,Ge=16,de=17,re=0,le=1,me=2,Te=3,We=4;function dt(g,gt){return 55296<=g.charCodeAt(gt)&&g.charCodeAt(gt)<=56319&&56320<=g.charCodeAt(gt+1)&&g.charCodeAt(gt+1)<=57343}function Ye(g,gt){gt===void 0&&(gt=0);var ht=g.charCodeAt(gt);if(55296<=ht&&ht<=56319&&gt<g.length-1){var kt=ht,it=g.charCodeAt(gt+1);return 56320<=it&&it<=57343?(kt-55296)*1024+(it-56320)+65536:kt}if(56320<=ht&&ht<=57343&&gt>=1){var kt=g.charCodeAt(gt-1),it=ht;return 55296<=kt&&kt<=56319?(kt-55296)*1024+(it-56320)+65536:it}return ht}function De(g,gt,ht){var kt=[g].concat(gt).concat([ht]),it=kt[kt.length-2],en=ht,Dn=kt.lastIndexOf(ei);if(Dn>1&&kt.slice(1,Dn).every(function(Wn){return Wn==Ot})&&[Ot,Bi,de].indexOf(g)==-1)return me;var Mn=kt.lastIndexOf(qt);if(Mn>0&&kt.slice(1,Mn).every(function(Wn){return Wn==qt})&&[In,qt].indexOf(it)==-1)return kt.filter(function(Wn){return Wn==qt}).length%2==1?Te:We;if(it==He&&en==bt)return re;if(it==vt||it==He||it==bt)return en==ei&&gt.every(function(Wn){return Wn==Ot})?me:le;if(en==vt||en==He||en==bt)return le;if(it==on&&(en==on||en==Jn||en==$n||en==On))return re;if((it==$n||it==Jn)&&(en==Jn||en==Wt))return re;if((it==On||it==Wt)&&en==Wt)return re;if(en==Ot||en==Kn)return re;if(en==Kt)return re;if(it==In)return re;var ii=kt.indexOf(Ot)!=-1?kt.lastIndexOf(Ot)-1:kt.length-2;return[Bi,de].indexOf(kt[ii])!=-1&&kt.slice(ii+1,-1).every(function(Wn){return Wn==Ot})&&en==ei||it==Kn&&[Ge,de].indexOf(en)!=-1?re:gt.indexOf(qt)!=-1?me:it==qt&&en==qt?re:le}this.nextBreak=function(g,gt){if(gt===void 0&&(gt=0),gt<0)return 0;if(gt>=g.length-1)return g.length;for(var ht=Ze(Ye(g,gt)),kt=[],it=gt+1;it<g.length;it++)if(!dt(g,it-1)){var en=Ze(Ye(g,it));if(De(ht,kt,en))return it;kt.push(en)}return g.length},this.splitGraphemes=function(g){for(var gt=[],ht=0,kt;(kt=this.nextBreak(g,ht))<g.length;)gt.push(g.slice(ht,kt)),ht=kt;return ht<g.length&&gt.push(g.slice(ht)),gt},this.iterateGraphemes=function(g){var gt=0,ht={next:(function(){var kt,it;return(it=this.nextBreak(g,gt))<g.length?(kt=g.slice(gt,it),gt=it,{value:kt,done:!1}):gt<g.length?(kt=g.slice(gt),gt=g.length,{value:kt,done:!1}):{value:void 0,done:!0}}).bind(this)};return typeof Symbol<"u"&&Symbol.iterator&&(ht[Symbol.iterator]=function(){return ht}),ht},this.countGraphemes=function(g){for(var gt=0,ht=0,kt;(kt=this.nextBreak(g,ht))<g.length;)ht=kt,gt++;return ht<g.length&&gt++,gt};function Ze(g){return 1536<=g&&g<=1541||g==1757||g==1807||g==2274||g==3406||g==69821||70082<=g&&g<=70083||g==72250||72326<=g&&g<=72329||g==73030?In:g==13?He:g==10?bt:0<=g&&g<=9||11<=g&&g<=12||14<=g&&g<=31||127<=g&&g<=159||g==173||g==1564||g==6158||g==8203||8206<=g&&g<=8207||g==8232||g==8233||8234<=g&&g<=8238||8288<=g&&g<=8292||g==8293||8294<=g&&g<=8303||55296<=g&&g<=57343||g==65279||65520<=g&&g<=65528||65529<=g&&g<=65531||113824<=g&&g<=113827||119155<=g&&g<=119162||g==917504||g==917505||917506<=g&&g<=917535||917632<=g&&g<=917759||918e3<=g&&g<=921599?vt:768<=g&&g<=879||1155<=g&&g<=1159||1160<=g&&g<=1161||1425<=g&&g<=1469||g==1471||1473<=g&&g<=1474||1476<=g&&g<=1477||g==1479||1552<=g&&g<=1562||1611<=g&&g<=1631||g==1648||1750<=g&&g<=1756||1759<=g&&g<=1764||1767<=g&&g<=1768||1770<=g&&g<=1773||g==1809||1840<=g&&g<=1866||1958<=g&&g<=1968||2027<=g&&g<=2035||2070<=g&&g<=2073||2075<=g&&g<=2083||2085<=g&&g<=2087||2089<=g&&g<=2093||2137<=g&&g<=2139||2260<=g&&g<=2273||2275<=g&&g<=2306||g==2362||g==2364||2369<=g&&g< Line truncated
`)}var Wt={extraLines:2,tabSize:4},$n=function(Bn,In,Bi,ei){ei=Kt({},Wt,ei);var Kn=Bn.split(/\r\n?|\n|\f/),Ge=Math.max(1,In-ei.extraLines)-1,de=Math.min(In+ei.extraLines,Kn.length),re=String(de).length,le=Jn(Kn,Ge,In,re,ei),me=on(Kn[In-1].substring(0,Bi-1),In,re,ei),Te=vt(" ",me.length)+"^",We=Jn(Kn,In,de,re,ei);return[le,Te,We].filter(Boolean).join(`
`)};return $n})}),C=new Error().stack,S=function(Pe){var Re=Object.create(SyntaxError.prototype);return Object.assign(Re,Pe,{name:"SyntaxError"}),Object.defineProperty(Re,"stack",{get:function(){return C?C.replace(/^(.+\n){1,3}/,String(Re)+`
`):""}}),Re},O=function(Pe,Re,He,bt,vt){throw S({message:bt?Pe+`
`+m(Re,bt,vt):Pe,rawMessage:Pe,source:He,line:bt,column:vt})},U={unexpectedEnd:function(){return"Unexpected end of input"},unexpectedToken:function(Re){for(var He=arguments.length,bt=Array(He>1?He-1:0),vt=1;vt<He;vt++)bt[vt-1]=arguments[vt];return"Unexpected token <"+Re+"> at "+bt.filter(Boolean).join(":")}},K={unexpectedSymbol:function(Re){for(var He=arguments.length,bt=Array(He>1?He-1:0),vt=1;vt<He;vt++)bt[vt-1]=arguments[vt];return"Unexpected symbol <"+Re+"> at "+bt.filter(Boolean).join(":")}},z={LEFT_BRACE:0,RIGHT_BRACE:1,LEFT_BRACKET:2,RIGHT_BRACKET:3,COLON:4,COMMA:5,STRING:6,NUMBER:7,TRUE:8,FALSE:9,NULL:10},j={"{":z.LEFT_BRACE,"}":z.RIGHT_BRACE,"[":z.LEFT_BRACKET,"]":z.RIGHT_BRACKET,":":z.COLON,",":z.COMMA},Q={true:z.TRUE,false:z.FALSE,null:z.NULL},ee={_START_:0,START_QUOTE_OR_CHAR:1,ESCAPE:2},V={'"':0,"\\":1,"/":2,b:3,f:4,n:5,r:6,t:7,u:8},ae={_START_:0,MINUS:1,ZERO:2,DIGIT:3,POINT:4,DIGIT_FRACTION:5,EXP:6,EXP_DIGIT_OR_SIGN:7};function ne(Pe){return Pe>="1"&&Pe<="9"}function Z(Pe){return Pe>="0"&&Pe<="9"}function oe(Pe){return Z(Pe)||Pe>="a"&&Pe<="f"||Pe>="A"&&Pe<="F"}function W(Pe){return Pe==="e"||Pe==="E"}function ce(Pe,Re,He,bt){var vt=Pe.charAt(Re);if(vt==="\r")Re++,He++,bt=1,Pe.charAt(Re)===`
`+m(Re,bt,vt):Pe,rawMessage:Pe,source:He,line:bt,column:vt})},U={unexpectedEnd:function(){return"Unexpected end of input"},unexpectedToken:function(Re){for(var He=arguments.length,bt=Array(He>1?He-1:0),vt=1;vt<He;vt++)bt[vt-1]=arguments[vt];return"Unexpected token <"+Re+"> at "+bt.filter(Boolean).join(":")}},K={unexpectedSymbol:function(Re){for(var He=arguments.length,bt=Array(He>1?He-1:0),vt=1;vt<He;vt++)bt[vt-1]=arguments[vt];return"Unexpected symbol <"+Re+"> at "+bt.filter(Boolean).join(":")}},z={LEFT_BRACE:0,RIGHT_BRACE:1,LEFT_BRACKET:2,RIGHT_BRACKET:3,COLON:4,COMMA:5,STRING:6,NUMBER:7,TRUE:8,FALSE:9,NULL:10},j={"{":z.LEFT_BRACE,"}":z.RIGHT_BRACE,"[":z.LEFT_BRACKET,"]":z.RIGHT_BRACKET,":":z.COLON,",":z.COMMA},Q={true:z.TRUE,false:z.FALSE,null:z.NULL},ee={_START_:0,START_QUOTE_OR_CHAR:1,ESCAPE:2},V={'"':0,"\\":1,"/":2,b:3,f:4,n:5,r:6,t:7,u:8},ae={_START_:0,MINUS:1,ZERO:2,DIGIT:3,POINT:4,DIGIT_FRACTION:5,EXP:6,EXP_DIGIT_OR_SIGN:7};function ne(Pe){return Pe>="1"&&Pe<="9"}function Z(Pe){return Pe>="0"&&Pe<="9"}function oe(Pe){return Z(Pe)||Pe>="a"&&Pe<="f"||Pe>="A"&&Pe<="F"}function W(Pe){return Pe==="e"||Pe==="E"}function ue(Pe,Re,He,bt){var vt=Pe.charAt(Re);if(vt==="\r")Re++,He++,bt=1,Pe.charAt(Re)===`
`&&Re++;else if(vt===`
`)Re++,He++,bt=1;else if(vt===" "||vt===" ")Re++,bt++;else return null;return{index:Re,line:He,column:bt}}function ge(Pe,Re,He,bt){var vt=Pe.charAt(Re);return vt in j?{type:j[vt],line:He,column:bt+1,index:Re+1,value:null}:null}function ye(Pe,Re,He,bt){for(var vt in Q)if(Q.hasOwnProperty(vt)&&Pe.substr(Re,vt.length)===vt)return{type:Q[vt],line:He,column:bt+vt.length,index:Re+vt.length,value:vt};return null}function Me(Pe,Re,He,bt){for(var vt=Re,Ot=ee._START_;Re<Pe.length;){var qt=Pe.charAt(Re);switch(Ot){case ee._START_:{if(qt==='"')Re++,Ot=ee.START_QUOTE_OR_CHAR;else return null;break}case ee.START_QUOTE_OR_CHAR:{if(qt==="\\")Re++,Ot=ee.ESCAPE;else{if(qt==='"')return Re++,{type:z.STRING,line:He,column:bt+Re-vt,index:Re,value:Pe.slice(vt,Re)};Re++}break}case ee.ESCAPE:{if(qt in V){if(Re++,qt==="u")for(var Kt=0;Kt<4;Kt++){var on=Pe.charAt(Re);if(on&&oe(on))Re++;else return null}Ot=ee.START_QUOTE_OR_CHAR}else return null;break}}}}function Be(Pe,Re,He,bt){var vt=Re,Ot=Re,qt=ae._START_;e:for(;Re<Pe.length;){var Kt=Pe.charAt(Re);switch(qt){case ae._START_:{if(Kt==="-")qt=ae.MINUS;else if(Kt==="0")Ot=Re+1,qt=ae.ZERO;else if(ne(Kt))Ot=Re+1,qt=ae.DIGIT;else return null;break}case ae.MINUS:{if(Kt==="0")Ot=Re+1,qt=ae.ZERO;else if(ne(Kt))Ot=Re+1,qt=ae.DIGIT;else return null;break}case ae.ZERO:{if(Kt===".")qt=ae.POINT;else if(W(Kt))qt=ae.EXP;else break e;break}case ae.DIGIT:{if(Z(Kt))Ot=Re+1;else if(Kt===".")qt=ae.POINT;else if(W(Kt))qt=ae.EXP;else break e;break}case ae.POINT:{if(Z(Kt))Ot=Re+1,qt=ae.DIGIT_FRACTION;else break e;break}case ae.DIGIT_FRACTION:{if(Z(Kt))Ot=Re+1;else if(W(Kt))qt=ae.EXP;else break e;break}case ae.EXP:{if(Kt==="+"||Kt==="-")qt=ae.EXP_DIGIT_OR_SIGN;else if(Z(Kt))Ot=Re+1,qt=ae.EXP_DIGIT_OR_SIGN;else break e;break}case ae.EXP_DIGIT_OR_SIGN:{if(Z(Kt))Ot=Re+1;else break e;break}}Re++}return Ot>0?{type:z.NUMBER,line:He,column:bt+Ot-vt,index:Ot,value:Pe.slice(vt,Ot)}:null}var we=function(Re,He){for(var bt=1,vt=1,Ot=0,qt=[];Ot<Re.length;){var Kt=[Re,Ot,bt,vt],on=ce.apply(void 0,Kt);if(on){Ot=on.index,bt=on.line,vt=on.column;continue}var Jn=ge.apply(void 0,Kt)||ye.apply(void 0,Kt)||Me.apply(void 0,Kt)||Be.apply(void 0,Kt);if(Jn){var Wt={type:Jn.type,value:Jn.value,loc:o(bt,vt,Ot,Jn.line,Jn.column,Jn.index,He.source)};qt.push(Wt),Ot=Jn.index,bt=Jn.line,vt=Jn.column}else O(K.unexpectedSymbol(l(Re,Ot,Ot+1),He.source,bt,vt),Re,He.source,bt,vt)}return qt},qe={_START_:0,OPEN_OBJECT:1,PROPERTY:2,COMMA:3},xe={_START_:0,KEY:1,COLON:2},ze={_START_:0,OPEN_ARRAY:1,VALUE:2,COMMA:3},ot={loc:!0,source:null};function yt(Pe,Re,He){var bt=Re.length>0?Re[Re.length-1].loc.end:{line:1,column:1};O(U.unexpectedEnd(),Pe,He.source,bt.line,bt.column)}function nt(Pe){for(var Re=0,He=0;He<4;He++)Re=Re*16+parseInt(Pe[He],16);return String.fromCharCode(Re)}var be={b:"\b",f:"\f",n:`
`,r:"\r",t:" "},Ge=['"',"\\","/"];function tt(Pe){for(var Re="",He=0;He<Pe.length;He++){var bt=Pe.charAt(He);if(bt==="\\"){He++;var vt=Pe.charAt(He);if(vt==="u")Re+=nt(Pe.substr(He+1,4)),He+=4;else if(Ge.indexOf(vt)!==-1)Re+=vt;else if(vt in be)Re+=be[vt];else break}else Re+=bt}return Re}function lt(Pe,Re,He,bt){for(var vt=void 0,Ot={type:"Object",children:[]},qt=qe._START_;He<Re.length;){var Kt=Re[He];switch(qt){case qe._START_:{if(Kt.type===z.LEFT_BRACE)vt=Kt,qt=qe.OPEN_OBJECT,He++;else return null;break}case qe.OPEN_OBJECT:{if(Kt.type===z.RIGHT_BRACE)return bt.loc&&(Ot.loc=o(vt.loc.start.line,vt.loc.start.column,vt.loc.start.offset,Kt.loc.end.line,Kt.loc.end.column,Kt.loc.end.offset,bt.source)),{value:Ot,index:He+1};var on=It(Pe,Re,He,bt);Ot.children.push(on.value),qt=qe.PROPERTY,He=on.index;break}case qe.PROPERTY:{if(Kt.type===z.RIGHT_BRACE)return bt.loc&&(Ot.loc=o(vt.loc.start.line,vt.loc.start.column,vt.loc.start.offset,Kt.loc.end.line,Kt.loc.end.column,Kt.loc.end.offset,bt.source)),{value:Ot,index:He+1};Kt.type===z.COMMA?(qt=qe.COMMA,He++):O(U.unexpectedToken(l(Pe,Kt.loc.start.offset,Kt.loc.end.offset),bt.source,Kt.loc.start.line,Kt.loc.start.column),Pe,bt.source,Kt.loc.start.line,Kt.loc.start.column);break}case qe.COMMA:{var Jn=It(Pe,Re,He,bt);Jn?(He=Jn.index,Ot.children.push(Jn.value),qt=qe.PROPERTY):O(U.unexpectedToken(l(Pe,Kt.loc.start.offset,Kt.loc.end.offset),bt.source,Kt.loc.start.line,Kt.loc.start.column),Pe,bt.source,Kt.loc.start.line,Kt.loc.start.column);break}}}yt(Pe,Re,bt)}function It(Pe,Re,He,bt){for(var vt=void 0,Ot={type:"Property",key:null,value:null},qt=xe._START_;He<Re.length;){var Kt=Re[He];switch(qt){case xe._START_:{if(Kt.type===z.STRING){var on={type:"Identifier",value:tt(Pe.slice(Kt.loc.start.offset+1,Kt.loc.end.offset-1)),raw:Kt.value};bt.loc&&(on.loc=Kt.loc),vt=Kt,Ot.key=on,qt=xe.KEY,He++}else return null;break}case xe.KEY:{Kt.type===z.COLON?(qt=xe.COLON,He++):O(U.unexpectedToken(l(Pe,Kt.loc.start.offset,Kt.loc.end.offset),bt.source,Kt.loc.start.line,Kt.loc.start.column),Pe,bt.source,Kt.loc.start.line,Kt.loc.start.column);break}case xe.COLON:{var Jn=Rt(Pe,Re,He,bt);return Ot.value=Jn.value,bt.loc&&(Ot.loc=o(vt.loc.start.line,vt.loc.start.column,vt.loc.start.offset,Jn.value.loc.end.line,Jn.value.loc.end.column,Jn.value.loc.end.offset,bt.source)),{value:Ot,index:Jn.index}}}}}function pt(Pe,Re,He,bt){for(var vt=void 0,Ot={type:"Array",children:[]},qt=ze._START_,Kt=void 0;He<Re.length;)switch(Kt=Re[He],qt){case ze._START_:{if(Kt.type===z.LEFT_BRACKET)vt=Kt,qt=ze.OPEN_ARRAY,He++;else return null;break}case ze.OPEN_ARRAY:{if(Kt.type===z.RIGHT_BRACKET)return bt.loc&&(Ot.loc=o(vt.loc.start.line,vt.loc.start.column,vt.loc.start.offset,Kt.loc.end.line,Kt.loc.end.column,Kt.loc.end.offset,bt.source)),{value:Ot,index:He+1};var on=Rt(Pe,Re,He,bt);He=on.index,Ot.children.push(on.value),qt=ze.VALUE;break}case ze.VALUE:{if(Kt.type===z.RIGHT_BRACKET)return bt.loc&&(Ot.loc=o(vt.loc.start.line,vt.loc.start.column,vt.loc.start.offset,Kt.loc.end.line,Kt.loc.end.column,Kt.loc.end.offset,bt.source)),{value:Ot,index:He+1};Kt.type===z.COMMA?(qt=ze.COMMA,He++):O(U.unexpectedToken(l(Pe,Kt.loc.start.offset,Kt.loc.end.offset),bt.source,Kt.loc.start.line,Kt.loc.start.column),Pe,bt.source,Kt.loc.start.line,Kt.loc.start.column);break}case ze.COMMA:{var Jn=Rt(Pe,Re,He,bt);He=Jn.index,Ot.children.push(Jn.value),qt=ze.VALUE;break}}yt(Pe,Re,bt)}function St(Pe,Re,He,bt){var vt=Re[He],Ot=null;switch(vt.type){case z.STRING:{Ot=tt(Pe.slice(vt.loc.start.offset+1,vt.loc.end.offset-1));break}case z.NUMBER:{Ot=Number(vt.value);break}case z.TRUE:{Ot=!0;break}case z.FALSE:{Ot=!1;break}case z.NULL:{Ot=null;break}default:return null}var qt={type:"Literal",value:Ot,raw:vt.value};return bt.loc&&(qt.loc=vt.loc),{value:qt,index:He+1}}function Rt(Pe,Re,He,bt){var vt=Re[He],Ot=St.apply(void 0,arguments)||lt.apply(void 0,arguments)||pt.apply(void 0,arguments);if(Ot)return Ot;O(U.unexpectedToken(l(Pe,vt.loc.start.offset,vt.loc.end.offset),bt.source,vt.loc.start.line,vt.loc.start.column),Pe,bt.source,vt.loc.start.line,vt.loc.start.column)}var Le=function(Pe,Re){Re=Object.assign({},ot,Re);var He=we(Pe,Re);He.length===0&&yt(Pe,He,Re);var bt=Rt(Pe,He,0,Re);if(bt.index===He.length)return bt.value;var vt=He[bt.index];O(U.unexpectedToken(l(Pe,vt.loc.start.offset,vt.loc.end.offset),Re.source,vt.loc.start.line,vt.loc.start.column),Pe,Re.source,vt.loc.start.line,vt.loc.start.column)};return Le})}(Ux)),Ux.exports}var ale=ole();const sle=WA(ale);function li(){var n="/home/runner/work/maputnik/maputnik/src/libs/codemirror-mgl.ts",e="89c156e637b20b434cfb214df7fad7d710253070",t=globalThis,i="__coverage__",r={path:"/home/runner/work/maputnik/maputnik/src/libs/codemirror-mgl.ts",statementMap:{0:{start:{line:5,column:0},end:{line:10,column:3}},1:{start:{line:6,column:2},end:{line:9,column:4}},2:{start:{line:12,column:16},end:{line:12,column:18}},3:{start:{line:13,column:2},end:{line:30,column:3}},4:{start:{line:14,column:4},end:{line:14,column:16}} Line truncated
`)Re++,He++,bt=1;else if(vt===" "||vt===" ")Re++,bt++;else return null;return{index:Re,line:He,column:bt}}function ge(Pe,Re,He,bt){var vt=Pe.charAt(Re);return vt in j?{type:j[vt],line:He,column:bt+1,index:Re+1,value:null}:null}function ye(Pe,Re,He,bt){for(var vt in Q)if(Q.hasOwnProperty(vt)&&Pe.substr(Re,vt.length)===vt)return{type:Q[vt],line:He,column:bt+vt.length,index:Re+vt.length,value:vt};return null}function Me(Pe,Re,He,bt){for(var vt=Re,Ot=ee._START_;Re<Pe.length;){var qt=Pe.charAt(Re);switch(Ot){case ee._START_:{if(qt==='"')Re++,Ot=ee.START_QUOTE_OR_CHAR;else return null;break}case ee.START_QUOTE_OR_CHAR:{if(qt==="\\")Re++,Ot=ee.ESCAPE;else{if(qt==='"')return Re++,{type:z.STRING,line:He,column:bt+Re-vt,index:Re,value:Pe.slice(vt,Re)};Re++}break}case ee.ESCAPE:{if(qt in V){if(Re++,qt==="u")for(var Kt=0;Kt<4;Kt++){var on=Pe.charAt(Re);if(on&&oe(on))Re++;else return null}Ot=ee.START_QUOTE_OR_CHAR}else return null;break}}}}function Be(Pe,Re,He,bt){var vt=Re,Ot=Re,qt=ae._START_;e:for(;Re<Pe.length;){var Kt=Pe.charAt(Re);switch(qt){case ae._START_:{if(Kt==="-")qt=ae.MINUS;else if(Kt==="0")Ot=Re+1,qt=ae.ZERO;else if(ne(Kt))Ot=Re+1,qt=ae.DIGIT;else return null;break}case ae.MINUS:{if(Kt==="0")Ot=Re+1,qt=ae.ZERO;else if(ne(Kt))Ot=Re+1,qt=ae.DIGIT;else return null;break}case ae.ZERO:{if(Kt===".")qt=ae.POINT;else if(W(Kt))qt=ae.EXP;else break e;break}case ae.DIGIT:{if(Z(Kt))Ot=Re+1;else if(Kt===".")qt=ae.POINT;else if(W(Kt))qt=ae.EXP;else break e;break}case ae.POINT:{if(Z(Kt))Ot=Re+1,qt=ae.DIGIT_FRACTION;else break e;break}case ae.DIGIT_FRACTION:{if(Z(Kt))Ot=Re+1;else if(W(Kt))qt=ae.EXP;else break e;break}case ae.EXP:{if(Kt==="+"||Kt==="-")qt=ae.EXP_DIGIT_OR_SIGN;else if(Z(Kt))Ot=Re+1,qt=ae.EXP_DIGIT_OR_SIGN;else break e;break}case ae.EXP_DIGIT_OR_SIGN:{if(Z(Kt))Ot=Re+1;else break e;break}}Re++}return Ot>0?{type:z.NUMBER,line:He,column:bt+Ot-vt,index:Ot,value:Pe.slice(vt,Ot)}:null}var we=function(Re,He){for(var bt=1,vt=1,Ot=0,qt=[];Ot<Re.length;){var Kt=[Re,Ot,bt,vt],on=ue.apply(void 0,Kt);if(on){Ot=on.index,bt=on.line,vt=on.column;continue}var Jn=ge.apply(void 0,Kt)||ye.apply(void 0,Kt)||Me.apply(void 0,Kt)||Be.apply(void 0,Kt);if(Jn){var Wt={type:Jn.type,value:Jn.value,loc:o(bt,vt,Ot,Jn.line,Jn.column,Jn.index,He.source)};qt.push(Wt),Ot=Jn.index,bt=Jn.line,vt=Jn.column}else O(K.unexpectedSymbol(l(Re,Ot,Ot+1),He.source,bt,vt),Re,He.source,bt,vt)}return qt},qe={_START_:0,OPEN_OBJECT:1,PROPERTY:2,COMMA:3},xe={_START_:0,KEY:1,COLON:2},ze={_START_:0,OPEN_ARRAY:1,VALUE:2,COMMA:3},ot={loc:!0,source:null};function yt(Pe,Re,He){var bt=Re.length>0?Re[Re.length-1].loc.end:{line:1,column:1};O(U.unexpectedEnd(),Pe,He.source,bt.line,bt.column)}function nt(Pe){for(var Re=0,He=0;He<4;He++)Re=Re*16+parseInt(Pe[He],16);return String.fromCharCode(Re)}var be={b:"\b",f:"\f",n:`
`,r:"\r",t:" "},Ne=['"',"\\","/"];function tt(Pe){for(var Re="",He=0;He<Pe.length;He++){var bt=Pe.charAt(He);if(bt==="\\"){He++;var vt=Pe.charAt(He);if(vt==="u")Re+=nt(Pe.substr(He+1,4)),He+=4;else if(Ne.indexOf(vt)!==-1)Re+=vt;else if(vt in be)Re+=be[vt];else break}else Re+=bt}return Re}function lt(Pe,Re,He,bt){for(var vt=void 0,Ot={type:"Object",children:[]},qt=qe._START_;He<Re.length;){var Kt=Re[He];switch(qt){case qe._START_:{if(Kt.type===z.LEFT_BRACE)vt=Kt,qt=qe.OPEN_OBJECT,He++;else return null;break}case qe.OPEN_OBJECT:{if(Kt.type===z.RIGHT_BRACE)return bt.loc&&(Ot.loc=o(vt.loc.start.line,vt.loc.start.column,vt.loc.start.offset,Kt.loc.end.line,Kt.loc.end.column,Kt.loc.end.offset,bt.source)),{value:Ot,index:He+1};var on=It(Pe,Re,He,bt);Ot.children.push(on.value),qt=qe.PROPERTY,He=on.index;break}case qe.PROPERTY:{if(Kt.type===z.RIGHT_BRACE)return bt.loc&&(Ot.loc=o(vt.loc.start.line,vt.loc.start.column,vt.loc.start.offset,Kt.loc.end.line,Kt.loc.end.column,Kt.loc.end.offset,bt.source)),{value:Ot,index:He+1};Kt.type===z.COMMA?(qt=qe.COMMA,He++):O(U.unexpectedToken(l(Pe,Kt.loc.start.offset,Kt.loc.end.offset),bt.source,Kt.loc.start.line,Kt.loc.start.column),Pe,bt.source,Kt.loc.start.line,Kt.loc.start.column);break}case qe.COMMA:{var Jn=It(Pe,Re,He,bt);Jn?(He=Jn.index,Ot.children.push(Jn.value),qt=qe.PROPERTY):O(U.unexpectedToken(l(Pe,Kt.loc.start.offset,Kt.loc.end.offset),bt.source,Kt.loc.start.line,Kt.loc.start.column),Pe,bt.source,Kt.loc.start.line,Kt.loc.start.column);break}}}yt(Pe,Re,bt)}function It(Pe,Re,He,bt){for(var vt=void 0,Ot={type:"Property",key:null,value:null},qt=xe._START_;He<Re.length;){var Kt=Re[He];switch(qt){case xe._START_:{if(Kt.type===z.STRING){var on={type:"Identifier",value:tt(Pe.slice(Kt.loc.start.offset+1,Kt.loc.end.offset-1)),raw:Kt.value};bt.loc&&(on.loc=Kt.loc),vt=Kt,Ot.key=on,qt=xe.KEY,He++}else return null;break}case xe.KEY:{Kt.type===z.COLON?(qt=xe.COLON,He++):O(U.unexpectedToken(l(Pe,Kt.loc.start.offset,Kt.loc.end.offset),bt.source,Kt.loc.start.line,Kt.loc.start.column),Pe,bt.source,Kt.loc.start.line,Kt.loc.start.column);break}case xe.COLON:{var Jn=Rt(Pe,Re,He,bt);return Ot.value=Jn.value,bt.loc&&(Ot.loc=o(vt.loc.start.line,vt.loc.start.column,vt.loc.start.offset,Jn.value.loc.end.line,Jn.value.loc.end.column,Jn.value.loc.end.offset,bt.source)),{value:Ot,index:Jn.index}}}}}function pt(Pe,Re,He,bt){for(var vt=void 0,Ot={type:"Array",children:[]},qt=ze._START_,Kt=void 0;He<Re.length;)switch(Kt=Re[He],qt){case ze._START_:{if(Kt.type===z.LEFT_BRACKET)vt=Kt,qt=ze.OPEN_ARRAY,He++;else return null;break}case ze.OPEN_ARRAY:{if(Kt.type===z.RIGHT_BRACKET)return bt.loc&&(Ot.loc=o(vt.loc.start.line,vt.loc.start.column,vt.loc.start.offset,Kt.loc.end.line,Kt.loc.end.column,Kt.loc.end.offset,bt.source)),{value:Ot,index:He+1};var on=Rt(Pe,Re,He,bt);He=on.index,Ot.children.push(on.value),qt=ze.VALUE;break}case ze.VALUE:{if(Kt.type===z.RIGHT_BRACKET)return bt.loc&&(Ot.loc=o(vt.loc.start.line,vt.loc.start.column,vt.loc.start.offset,Kt.loc.end.line,Kt.loc.end.column,Kt.loc.end.offset,bt.source)),{value:Ot,index:He+1};Kt.type===z.COMMA?(qt=ze.COMMA,He++):O(U.unexpectedToken(l(Pe,Kt.loc.start.offset,Kt.loc.end.offset),bt.source,Kt.loc.start.line,Kt.loc.start.column),Pe,bt.source,Kt.loc.start.line,Kt.loc.start.column);break}case ze.COMMA:{var Jn=Rt(Pe,Re,He,bt);He=Jn.index,Ot.children.push(Jn.value),qt=ze.VALUE;break}}yt(Pe,Re,bt)}function St(Pe,Re,He,bt){var vt=Re[He],Ot=null;switch(vt.type){case z.STRING:{Ot=tt(Pe.slice(vt.loc.start.offset+1,vt.loc.end.offset-1));break}case z.NUMBER:{Ot=Number(vt.value);break}case z.TRUE:{Ot=!0;break}case z.FALSE:{Ot=!1;break}case z.NULL:{Ot=null;break}default:return null}var qt={type:"Literal",value:Ot,raw:vt.value};return bt.loc&&(qt.loc=vt.loc),{value:qt,index:He+1}}function Rt(Pe,Re,He,bt){var vt=Re[He],Ot=St.apply(void 0,arguments)||lt.apply(void 0,arguments)||pt.apply(void 0,arguments);if(Ot)return Ot;O(U.unexpectedToken(l(Pe,vt.loc.start.offset,vt.loc.end.offset),bt.source,vt.loc.start.line,vt.loc.start.column),Pe,bt.source,vt.loc.start.line,vt.loc.start.column)}var Le=function(Pe,Re){Re=Object.assign({},ot,Re);var He=we(Pe,Re);He.length===0&&yt(Pe,He,Re);var bt=Rt(Pe,He,0,Re);if(bt.index===He.length)return bt.value;var vt=He[bt.index];O(U.unexpectedToken(l(Pe,vt.loc.start.offset,vt.loc.end.offset),Re.source,vt.loc.start.line,vt.loc.start.column),Pe,Re.source,vt.loc.start.line,vt.loc.start.column)};return Le})}(Tx)),Tx.exports}var Hse=qse();const Vse=WA(Hse);function li(){var n="/home/runner/work/maputnik/maputnik/src/libs/codemirror-mgl.ts",e="89c156e637b20b434cfb214df7fad7d710253070",t=globalThis,i="__coverage__",r={path:"/home/runner/work/maputnik/maputnik/src/libs/codemirror-mgl.ts",statementMap:{0:{start:{line:5,column:0},end:{line:10,column:3}},1:{start:{line:6,column:2},end:{line:9,column:4}},2:{start:{line:12,column:16},end:{line:12,column:18}},3:{start:{line:13,column:2},end:{line:30,column:3}},4:{start:{line:14,column:4},end:{line:14,column:16}} Line truncated
rgba(`+ne.r+","+ne.g+","+ne.b+", 1) 100%)",boxShadow:this.props.shadow,borderRadius:this.props.radius},container:{position:"relative",height:"100%",margin:"0 3px"},pointer:{position:"absolute",left:ne.a*100+"%"},slider:{width:"4px",borderRadius:"1px",height:"8px",boxShadow:"0 0 2px rgba(0, 0, 0, .6)",background:"#fff",marginTop:"1px",transform:"translateX(-2px)"}},vertical:{gradient:{background:"linear-gradient(to bottom, rgba("+ne.r+","+ne.g+","+ne.b+`, 0) 0%,
rgba(`+ne.r+","+ne.g+","+ne.b+", 1) 100%)"},pointer:{left:0,top:ne.a*100+"%"}},overwrite:n({},this.props.style)},{vertical:this.props.direction==="vertical",overwrite:!0});return i.default.createElement("div",{style:Z.alpha},i.default.createElement("div",{style:Z.checkboard},i.default.createElement(C.default,{renderers:this.props.renderers})),i.default.createElement("div",{style:Z.gradient}),i.default.createElement("div",{style:Z.container,ref:function(W){return ae.container=W},onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},i.default.createElement("div",{style:Z.pointer},this.props.pointer?i.default.createElement(this.props.pointer,this.props):i.default.createElement("div",{style:Z.slider}))))}}]),ee}(t.PureComponent||t.Component);return jy.default=j,jy}var Qy={},YP;function kue(){if(YP)return Qy;YP=1,Object.defineProperty(Qy,"__esModule",{value:!0}),Qy.EditableInput=void 0;var n=function(){function V(ae,ne){for(var Z=0;Z<ne.length;Z++){var oe=ne[Z];oe.enumerable=oe.enumerable||!1,oe.configurable=!0,"value"in oe&&(oe.writable=!0),Object.defineProperty(ae,oe.key,oe)}}return function(ae,ne,Z){return ne&&V(ae.prototype,ne),Z&&V(ae,Z),ae}}(),e=pl(),t=a(e),i=dp(),r=a(i);function a(V){return V&&V.__esModule?V:{default:V}}function l(V,ae,ne){return ae in V?Object.defineProperty(V,ae,{value:ne,enumerable:!0,configurable:!0,writable:!0}):V[ae]=ne,V}function o(V,ae){if(!(V instanceof ae))throw new TypeError("Cannot call a class as a function")}function m(V,ae){if(!V)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return ae&&(typeof ae=="object"||typeof ae=="function")?ae:V}function C(V,ae){if(typeof ae!="function"&&ae!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof ae);V.prototype=Object.create(ae&&ae.prototype,{constructor:{value:V,enumerable:!1,writable:!0,configurable:!0}}),ae&&(Object.setPrototypeOf?Object.setPrototypeOf(V,ae):V.__proto__=ae)}var S=1,O=38,U=40,K=[O,U],z=function(ae){return K.indexOf(ae)>-1},j=function(ae){return Number(String(ae).replace(/%/g,""))},Q=1,ee=Qy.EditableInput=function(V){C(ae,V);function ae(ne){o(this,ae);var Z=m(this,(ae.__proto__||Object.getPrototypeOf(ae)).call(this));return Z.handleBlur=function(){Z.state.blurValue&&Z.setState({value:Z.state.blurValue,blurValue:null})},Z.handleChange=function(oe){Z.setUpdatedValue(oe.target.value,oe)},Z.handleKeyDown=function(oe){var W=j(oe.target.value);if(!isNaN(W)&&z(oe.keyCode)){var ce=Z.getArrowOffset(),ge=oe.keyCode===O?W+ce:W-ce;Z.setUpdatedValue(ge,oe)}},Z.handleDrag=function(oe){if(Z.props.dragLabel){var W=Math.round(Z.props.value+oe.movementX);W>=0&&W<=Z.props.dragMax&&Z.props.onChange&&Z.props.onChange(Z.getValueObjectWithLabel(W),oe)}},Z.handleMouseDown=function(oe){Z.props.dragLabel&&(oe.preventDefault(),Z.handleDrag(oe),window.addEventListener("mousemove",Z.handleDrag),window.addEventListener("mouseup",Z.handleMouseUp))},Z.handleMouseUp=function(){Z.unbindEventListeners()},Z.unbindEventListeners=function(){window.removeEventListener("mousemove",Z.handleDrag),window.removeEventListener("mouseup",Z.handleMouseUp)},Z.state={value:String(ne.value).toUpperCase(),blurValue:String(ne.value).toUpperCase()},Z.inputId="rc-editable-input-"+Q++,Z}return n(ae,[{key:"componentDidUpdate",value:function(Z,oe){this.props.value!==this.state.value&&(Z.value!==this.props.value||oe.value!==this.state.value)&&(this.input===document.activeElement?this.setState({blurValue:String(this.props.value).toUpperCase()}):this.setState({value:String(this.props.value).toUpperCase(),blurValue:!this.state.blurValue&&String(this.props.value).toUpperCase()}))}},{key:"componentWillUnmount",value:function(){this.unbindEventListeners()}},{key:"getValueObjectWithLabel",value:function(Z){return l({},this.props.label,Z)}},{key:"getArrowOffset",value:function(){return this.props.arrowOffset||S}},{key:"setUpdatedValue",value:function(Z,oe){var W=this.props.label?this.getValueObjectWithLabel(Z):Z;this.props.onChange&&this.props.onChange(W,oe),this.setState({value:Z})}},{key:"render",value:function(){var Z=this,oe=(0,r.default)({default:{wrap:{position:"relative"}},"user-override":{wrap:this.props.style&&this.props.style.wrap?this.props.style.wrap:{},input:this.props.style&&this.props.style.input?this.props.style.input:{},label:this.props.style&&this.props.style.label?this.props.style.label:{}},"dragLabel-true":{label:{cursor:"ew-resize"}}},{"user-override":!0},this.props);return t.default.createElement("div",{style:oe.wrap},t.default.createElement("input",{id:this.inputId,style:oe.input,ref:function(ce){return Z.input=ce},value:this.state.value,onKeyDown:this.handleKeyDown,onChange:this.handleChange,onBlur:this.handleBlur,placeholder:this.props.placeholder,spellCheck:"false"}),this.props.label&&!this.props.hideLabel?t.default.createElement("label",{htmlFor:this.inputId,style:oe.label,onMouseDown:this.handleMouseDown},this.props.label):null Line truncated
rgba(`+ne.r+","+ne.g+","+ne.b+", 1) 100%)"},pointer:{left:0,top:ne.a*100+"%"}},overwrite:n({},this.props.style)},{vertical:this.props.direction==="vertical",overwrite:!0});return i.default.createElement("div",{style:Z.alpha},i.default.createElement("div",{style:Z.checkboard},i.default.createElement(C.default,{renderers:this.props.renderers})),i.default.createElement("div",{style:Z.gradient}),i.default.createElement("div",{style:Z.container,ref:function(W){return ae.container=W},onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},i.default.createElement("div",{style:Z.pointer},this.props.pointer?i.default.createElement(this.props.pointer,this.props):i.default.createElement("div",{style:Z.slider}))))}}]),ee}(t.PureComponent||t.Component);return jy.default=j,jy}var Qy={},zP;function Cue(){if(zP)return Qy;zP=1,Object.defineProperty(Qy,"__esModule",{value:!0}),Qy.EditableInput=void 0;var n=function(){function V(ae,ne){for(var Z=0;Z<ne.length;Z++){var oe=ne[Z];oe.enumerable=oe.enumerable||!1,oe.configurable=!0,"value"in oe&&(oe.writable=!0),Object.defineProperty(ae,oe.key,oe)}}return function(ae,ne,Z){return ne&&V(ae.prototype,ne),Z&&V(ae,Z),ae}}(),e=pl(),t=a(e),i=hp(),r=a(i);function a(V){return V&&V.__esModule?V:{default:V}}function l(V,ae,ne){return ae in V?Object.defineProperty(V,ae,{value:ne,enumerable:!0,configurable:!0,writable:!0}):V[ae]=ne,V}function o(V,ae){if(!(V instanceof ae))throw new TypeError("Cannot call a class as a function")}function m(V,ae){if(!V)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return ae&&(typeof ae=="object"||typeof ae=="function")?ae:V}function C(V,ae){if(typeof ae!="function"&&ae!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof ae);V.prototype=Object.create(ae&&ae.prototype,{constructor:{value:V,enumerable:!1,writable:!0,configurable:!0}}),ae&&(Object.setPrototypeOf?Object.setPrototypeOf(V,ae):V.__proto__=ae)}var S=1,O=38,U=40,K=[O,U],z=function(ae){return K.indexOf(ae)>-1},j=function(ae){return Number(String(ae).replace(/%/g,""))},Q=1,ee=Qy.EditableInput=function(V){C(ae,V);function ae(ne){o(this,ae);var Z=m(this,(ae.__proto__||Object.getPrototypeOf(ae)).call(this));return Z.handleBlur=function(){Z.state.blurValue&&Z.setState({value:Z.state.blurValue,blurValue:null})},Z.handleChange=function(oe){Z.setUpdatedValue(oe.target.value,oe)},Z.handleKeyDown=function(oe){var W=j(oe.target.value);if(!isNaN(W)&&z(oe.keyCode)){var ue=Z.getArrowOffset(),ge=oe.keyCode===O?W+ue:W-ue;Z.setUpdatedValue(ge,oe)}},Z.handleDrag=function(oe){if(Z.props.dragLabel){var W=Math.round(Z.props.value+oe.movementX);W>=0&&W<=Z.props.dragMax&&Z.props.onChange&&Z.props.onChange(Z.getValueObjectWithLabel(W),oe)}},Z.handleMouseDown=function(oe){Z.props.dragLabel&&(oe.preventDefault(),Z.handleDrag(oe),window.addEventListener("mousemove",Z.handleDrag),window.addEventListener("mouseup",Z.handleMouseUp))},Z.handleMouseUp=function(){Z.unbindEventListeners()},Z.unbindEventListeners=function(){window.removeEventListener("mousemove",Z.handleDrag),window.removeEventListener("mouseup",Z.handleMouseUp)},Z.state={value:String(ne.value).toUpperCase(),blurValue:String(ne.value).toUpperCase()},Z.inputId="rc-editable-input-"+Q++,Z}return n(ae,[{key:"componentDidUpdate",value:function(Z,oe){this.props.value!==this.state.value&&(Z.value!==this.props.value||oe.value!==this.state.value)&&(this.input===document.activeElement?this.setState({blurValue:String(this.props.value).toUpperCase()}):this.setState({value:String(this.props.value).toUpperCase(),blurValue:!this.state.blurValue&&String(this.props.value).toUpperCase()}))}},{key:"componentWillUnmount",value:function(){this.unbindEventListeners()}},{key:"getValueObjectWithLabel",value:function(Z){return l({},this.props.label,Z)}},{key:"getArrowOffset",value:function(){return this.props.arrowOffset||S}},{key:"setUpdatedValue",value:function(Z,oe){var W=this.props.label?this.getValueObjectWithLabel(Z):Z;this.props.onChange&&this.props.onChange(W,oe),this.setState({value:Z})}},{key:"render",value:function(){var Z=this,oe=(0,r.default)({default:{wrap:{position:"relative"}},"user-override":{wrap:this.props.style&&this.props.style.wrap?this.props.style.wrap:{},input:this.props.style&&this.props.style.input?this.props.style.input:{},label:this.props.style&&this.props.style.label?this.props.style.label:{}},"dragLabel-true":{label:{cursor:"ew-resize"}}},{"user-override":!0},this.props);return t.default.createElement("div",{style:oe.wrap},t.default.createElement("input",{id:this.inputId,style:oe.input,ref:function(ue){return Z.input=ue},value:this.state.value,onKeyDown:this.handleKeyDown,onChange:this.handleChange,onBlur:this.handleBlur,placeholder:this.props.placeholder,spellCheck:"false"}),this.props.label&&!this.props.hideLabel?t.default.createElement("label",{htmlFor:this.inputId,style:oe.label,onMouseDown:this.handleMouseDown},this.props.label):null Line truncated
.hue-horizontal {
background: linear-gradient(to right, #f00 0%, #ff0 17%, #0f0
33%, #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);
@@ -930,8 +930,8 @@ ${nt}`,{message:St,excerpt:pt,pointer:Rt}}function Be(nt,be){let Ge=W(be);const
background: -webkit-linear-gradient(to top, #f00 0%, #ff0 17%,
#0f0 33%, #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);
}
`),t.default.createElement("div",{style:ae.pointer},this.props.pointer?t.default.createElement(this.props.pointer,this.props):t.default.createElement("div",{style:ae.slider}))))}}]),z}(e.PureComponent||e.Component);return Yy.default=U,Yy}var qy={},VP;function Pue(){if(VP)return qy;VP=1,Object.defineProperty(qy,"__esModule",{value:!0}),qy.Raised=void 0;var n=pl(),e=m(n),t=i0(),i=m(t),r=dp(),a=m(r),l=JN(),o=m(l);function m(S){return S&&S.__esModule?S:{default:S}}var C=qy.Raised=function(O){var U=O.zDepth,K=O.radius,z=O.background,j=O.children,Q=O.styles,ee=Q===void 0?{}:Q,V=(0,a.default)((0,o.default)({default:{wrap:{position:"relative",display:"inline-block"},content:{position:"relative"},bg:{absolute:"0px 0px 0px 0px",boxShadow:"0 "+U+"px "+U*4+"px rgba(0,0,0,.24)",borderRadius:K,background:z}},"zDepth-0":{bg:{boxShadow:"none"}},"zDepth-1":{bg:{boxShadow:"0 2px 10px rgba(0,0,0,.12), 0 2px 5px rgba(0,0,0,.16)"}},"zDepth-2":{bg:{boxShadow:"0 6px 20px rgba(0,0,0,.19), 0 8px 17px rgba(0,0,0,.2)"}},"zDepth-3":{bg:{boxShadow:"0 17px 50px rgba(0,0,0,.19), 0 12px 15px rgba(0,0,0,.24)"}},"zDepth-4":{bg:{boxShadow:"0 25px 55px rgba(0,0,0,.21), 0 16px 28px rgba(0,0,0,.22)"}},"zDepth-5":{bg:{boxShadow:"0 40px 77px rgba(0,0,0,.22), 0 27px 24px rgba(0,0,0,.2)"}},square:{bg:{borderRadius:"0"}},circle:{bg:{borderRadius:"50%"}}},ee),{"zDepth-1":U===1});return e.default.createElement("div",{style:V.wrap},e.default.createElement("div",{style:V.bg}),e.default.createElement("div",{style:V.content},j))};return C.propTypes={background:i.default.string,zDepth:i.default.oneOf([0,1,2,3,4,5]),radius:i.default.number,styles:i.default.object},C.defaultProps={background:"#fff",zDepth:1,radius:2,styles:{}},qy.default=C,qy}var Hy={},oE,$P;function Kue(){if($P)return oE;$P=1;var n=hp(),e=function(){return n.Date.now()};return oE=e,oE}var aE,ZP;function Uue(){if(ZP)return aE;ZP=1;var n=/\s/;function e(t){for(var i=t.length;i--&&n.test(t.charAt(i)););return i}return aE=e,aE}var sE,XP;function Lue(){if(XP)return sE;XP=1;var n=Uue(),e=/^\s+/;function t(i){return i&&i.slice(0,n(i)+1).replace(e,"")}return sE=t,sE}var lE,JP;function Fue(){if(JP)return lE;JP=1;var n=Lue(),e=Mm(),t=e4(),i=NaN,r=/^[-+]0x[0-9a-f]+$/i,a=/^0b[01]+$/i,l=/^0o[0-7]+$/i,o=parseInt;function m(C){if(typeof C=="number")return C;if(t(C))return i;if(e(C)){var S=typeof C.valueOf=="function"?C.valueOf():C;C=e(S)?S+"":S}if(typeof C!="string")return C===0?C:+C;C=n(C);var O=a.test(C);return O||l.test(C)?o(C.slice(2),O?2:8):r.test(C)?i:+C}return lE=m,lE}var AE,eK;function ej(){if(eK)return AE;eK=1;var n=Mm(),e=Kue(),t=Fue(),i="Expected a function",r=Math.max,a=Math.min;function l(o,m,C){var S,O,U,K,z,j,Q=0,ee=!1,V=!1,ae=!0;if(typeof o!="function")throw new TypeError(i);m=t(m)||0,n(C)&&(ee=!!C.leading,V="maxWait"in C,U=V?r(t(C.maxWait)||0,m):U,ae="trailing"in C?!!C.trailing:ae);function ne(we){var qe=S,xe=O;return S=O=void 0,Q=we,K=o.apply(xe,qe),K}function Z(we){return Q=we,z=setTimeout(ce,m),ee?ne(we):K}function oe(we){var qe=we-j,xe=we-Q,ze=m-qe;return V?a(ze,U-xe):ze}function W(we){var qe=we-j,xe=we-Q;return j===void 0||qe>=m||qe<0||V&&xe>=U}function ce(){var we=e();if(W(we))return ge(we);z=setTimeout(ce,oe(we))}function ge(we){return z=void 0,ae&&S?ne(we):(S=O=void 0,K)}function ye(){z!==void 0&&clearTimeout(z),Q=0,S=j=O=z=void 0}function Me(){return z===void 0?K:ge(e())}function Be(){var we=e(),qe=W(we);if(S=arguments,O=this,j=we,qe){if(z===void 0)return Z(j);if(V)return clearTimeout(z),z=setTimeout(ce,m),ne(j)}return z===void 0&&(z=setTimeout(ce,m)),K}return Be.cancel=ye,Be.flush=Me,Be}return AE=l,AE}var uE,tK;function zue(){if(tK)return uE;tK=1;var n=ej(),e=Mm(),t="Expected a function";function i(r,a,l){var o=!0,m=!0;if(typeof r!="function")throw new TypeError(t);return e(l)&&(o="leading"in l?!!l.leading:o,m="trailing"in l?!!l.trailing:m),n(r,a,{leading:o,maxWait:a,trailing:m})}return uE=i,uE}var _x={},nK;function Gue(){return nK||(nK=1,Object.defineProperty(_x,"__esModule",{value:!0}),_x.calculateChange=function(e,t,i){var r=i.getBoundingClientRect(),a=r.width,l=r.height,o=typeof e.pageX=="number"?e.pageX:e.touches[0].pageX,m=typeof e.pageY=="number"?e.pageY:e.touches[0].pageY,C=o-(i.getBoundingClientRect().left+window.pageXOffset),S=m-(i.getBoundingClientRect().top+window.pageYOffset);C<0?C=0:C>a&&(C=a),S<0?S=0:S>l&&(S=l);var O=C/a,U=1-S/l;return{h:t.h,s:O,v:U,a:t.a,source:"hsv"}}),_x}var iK;function Nue(){if(iK)return Hy;iK=1,Object.defineProperty(Hy,"__esModule",{value:!0}),Hy.Saturation=void 0;var n=function(){function j(Q,ee){for(var V=0;V<ee.length;V++){var ae=ee[V];ae.enumerable=ae.enumerable||!1,ae.configurable=!0,"value"in ae&&(ae.writable=!0),Object.defineProperty(Q,ae.key,ae)}}return function(Q,ee,V){return ee&&j(Q.prototype,ee),V&&j(Q,V),Q}}(),e=pl(),t=S(e),i=dp(),r=S(i),a=zue(),l=S(a),o=Gue(),m=C(o);function C(j){if(j&&j.__esModule)return j;var Q={};if(j!=null)for(var ee in j)Object.prototype.hasOwnProperty.call(j,ee)&&(Q[ee]=j[ee]);return Q.default=j, Line truncated
0 0 1px 2px rgba(0,0,0,.4)`,borderRadius:"50%",cursor:"hand",transform:"translate(-2px, -2px)"}},custom:{color:ne,white:Z,black:oe,pointer:W,circle:ce}},{custom:!!this.props.style});return t.default.createElement("div",{style:ge.color,ref:function(Me){return V.container=Me},onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},t.default.createElement("style",null,`
`),t.default.createElement("div",{style:ae.pointer},this.props.pointer?t.default.createElement(this.props.pointer,this.props):t.default.createElement("div",{style:ae.slider}))))}}]),z}(e.PureComponent||e.Component);return Yy.default=U,Yy}var qy={},jP;function xue(){if(jP)return qy;jP=1,Object.defineProperty(qy,"__esModule",{value:!0}),qy.Raised=void 0;var n=pl(),e=m(n),t=i0(),i=m(t),r=hp(),a=m(r),l=qG(),o=m(l);function m(S){return S&&S.__esModule?S:{default:S}}var C=qy.Raised=function(O){var U=O.zDepth,K=O.radius,z=O.background,j=O.children,Q=O.styles,ee=Q===void 0?{}:Q,V=(0,a.default)((0,o.default)({default:{wrap:{position:"relative",display:"inline-block"},content:{position:"relative"},bg:{absolute:"0px 0px 0px 0px",boxShadow:"0 "+U+"px "+U*4+"px rgba(0,0,0,.24)",borderRadius:K,background:z}},"zDepth-0":{bg:{boxShadow:"none"}},"zDepth-1":{bg:{boxShadow:"0 2px 10px rgba(0,0,0,.12), 0 2px 5px rgba(0,0,0,.16)"}},"zDepth-2":{bg:{boxShadow:"0 6px 20px rgba(0,0,0,.19), 0 8px 17px rgba(0,0,0,.2)"}},"zDepth-3":{bg:{boxShadow:"0 17px 50px rgba(0,0,0,.19), 0 12px 15px rgba(0,0,0,.24)"}},"zDepth-4":{bg:{boxShadow:"0 25px 55px rgba(0,0,0,.21), 0 16px 28px rgba(0,0,0,.22)"}},"zDepth-5":{bg:{boxShadow:"0 40px 77px rgba(0,0,0,.22), 0 27px 24px rgba(0,0,0,.2)"}},square:{bg:{borderRadius:"0"}},circle:{bg:{borderRadius:"50%"}}},ee),{"zDepth-1":U===1});return e.default.createElement("div",{style:V.wrap},e.default.createElement("div",{style:V.bg}),e.default.createElement("div",{style:V.content},j))};return C.propTypes={background:i.default.string,zDepth:i.default.oneOf([0,1,2,3,4,5]),radius:i.default.number,styles:i.default.object},C.defaultProps={background:"#fff",zDepth:1,radius:2,styles:{}},qy.default=C,qy}var Hy={},Jw,WP;function Mue(){if(WP)return Jw;WP=1;var n=cp(),e=function(){return n.Date.now()};return Jw=e,Jw}var eE,QP;function Sue(){if(QP)return eE;QP=1;var n=/\s/;function e(t){for(var i=t.length;i--&&n.test(t.charAt(i)););return i}return eE=e,eE}var tE,YP;function wue(){if(YP)return tE;YP=1;var n=Sue(),e=/^\s+/;function t(i){return i&&i.slice(0,n(i)+1).replace(e,"")}return tE=t,tE}var nE,qP;function Eue(){if(qP)return nE;qP=1;var n=wue(),e=xm(),t=H2(),i=NaN,r=/^[-+]0x[0-9a-f]+$/i,a=/^0b[01]+$/i,l=/^0o[0-7]+$/i,o=parseInt;function m(C){if(typeof C=="number")return C;if(t(C))return i;if(e(C)){var S=typeof C.valueOf=="function"?C.valueOf():C;C=e(S)?S+"":S}if(typeof C!="string")return C===0?C:+C;C=n(C);var O=a.test(C);return O||l.test(C)?o(C.slice(2),O?2:8):r.test(C)?i:+C}return nE=m,nE}var iE,HP;function HG(){if(HP)return iE;HP=1;var n=xm(),e=Mue(),t=Eue(),i="Expected a function",r=Math.max,a=Math.min;function l(o,m,C){var S,O,U,K,z,j,Q=0,ee=!1,V=!1,ae=!0;if(typeof o!="function")throw new TypeError(i);m=t(m)||0,n(C)&&(ee=!!C.leading,V="maxWait"in C,U=V?r(t(C.maxWait)||0,m):U,ae="trailing"in C?!!C.trailing:ae);function ne(we){var qe=S,xe=O;return S=O=void 0,Q=we,K=o.apply(xe,qe),K}function Z(we){return Q=we,z=setTimeout(ue,m),ee?ne(we):K}function oe(we){var qe=we-j,xe=we-Q,ze=m-qe;return V?a(ze,U-xe):ze}function W(we){var qe=we-j,xe=we-Q;return j===void 0||qe>=m||qe<0||V&&xe>=U}function ue(){var we=e();if(W(we))return ge(we);z=setTimeout(ue,oe(we))}function ge(we){return z=void 0,ae&&S?ne(we):(S=O=void 0,K)}function ye(){z!==void 0&&clearTimeout(z),Q=0,S=j=O=z=void 0}function Me(){return z===void 0?K:ge(e())}function Be(){var we=e(),qe=W(we);if(S=arguments,O=this,j=we,qe){if(z===void 0)return Z(j);if(V)return clearTimeout(z),z=setTimeout(ue,m),ne(j)}return z===void 0&&(z=setTimeout(ue,m)),K}return Be.cancel=ye,Be.flush=Me,Be}return iE=l,iE}var rE,VP;function Bue(){if(VP)return rE;VP=1;var n=HG(),e=xm(),t="Expected a function";function i(r,a,l){var o=!0,m=!0;if(typeof r!="function")throw new TypeError(t);return e(l)&&(o="leading"in l?!!l.leading:o,m="trailing"in l?!!l.trailing:m),n(r,a,{leading:o,maxWait:a,trailing:m})}return rE=i,rE}var mx={},$P;function Oue(){return $P||($P=1,Object.defineProperty(mx,"__esModule",{value:!0}),mx.calculateChange=function(e,t,i){var r=i.getBoundingClientRect(),a=r.width,l=r.height,o=typeof e.pageX=="number"?e.pageX:e.touches[0].pageX,m=typeof e.pageY=="number"?e.pageY:e.touches[0].pageY,C=o-(i.getBoundingClientRect().left+window.pageXOffset),S=m-(i.getBoundingClientRect().top+window.pageYOffset);C<0?C=0:C>a&&(C=a),S<0?S=0:S>l&&(S=l);var O=C/a,U=1-S/l;return{h:t.h,s:O,v:U,a:t.a,source:"hsv"}}),mx}var ZP;function Iue(){if(ZP)return Hy;ZP=1,Object.defineProperty(Hy,"__esModule",{value:!0}),Hy.Saturation=void 0;var n=function(){function j(Q,ee){for(var V=0;V<ee.length;V++){var ae=ee[V];ae.enumerable=ae.enumerable||!1,ae.configurable=!0,"value"in ae&&(ae.writable=!0),Object.defineProperty(Q,ae.key,ae)}}return function(Q,ee,V){return ee&&j(Q.prototype,ee),V&&j(Q,V),Q}}(),e=pl(),t=S(e),i=hp(),r=S(i),a=Bue(),l=S(a),o=Oue(),m=C(o);function C(j){if(j&&j.__esModule)return j;var Q={};if(j!=null)for(var ee in j)Object.prototype.hasOwnProperty.call(j,ee)&&(Q[ee]=j[ee]);return Q.default=j, Line truncated
0 0 1px 2px rgba(0,0,0,.4)`,borderRadius:"50%",cursor:"hand",transform:"translate(-2px, -2px)"}},custom:{color:ne,white:Z,black:oe,pointer:W,circle:ue}},{custom:!!this.props.style});return t.default.createElement("div",{style:ge.color,ref:function(Me){return V.container=Me},onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},t.default.createElement("style",null,`
.saturation-white {
background: -webkit-linear-gradient(to right, #fff, rgba(255,255,255,0));
background: linear-gradient(to right, #fff, rgba(255,255,255,0));
@@ -940,14 +940,14 @@ ${nt}`,{message:St,excerpt:pt,pointer:Rt}}function Be(nt,be){let Ge=W(be);const
background: -webkit-linear-gradient(to top, #000, rgba(0,0,0,0));
background: linear-gradient(to top, #000, rgba(0,0,0,0));
}
`),t.default.createElement("div",{style:ge.white,className:"saturation-white"},t.default.createElement("div",{style:ge.black,className:"saturation-black"}),t.default.createElement("div",{style:ge.pointer},this.props.pointer?t.default.createElement(this.props.pointer,this.props):t.default.createElement("div",{style:ge.circle}))))}}]),Q}(e.PureComponent||e.Component);return Hy.default=z,Hy}var Vy={},cd={},cE,rK;function jue(){if(rK)return cE;rK=1;var n=jN(),e=NN(),t=EN(),i=Tf();function r(a,l){var o=i(a)?n:e;return o(a,t(l))}return cE=r,cE}var hE,oK;function Wue(){return oK||(oK=1,hE=jue()),hE}var Lx={exports:{}},Que=Lx.exports,aK;function Yue(){return aK||(aK=1,function(n,e){(function(t,i){n.exports=i()})(Que,function(){function t(Le){"@babel/helpers - typeof";return t=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(Pe){return typeof Pe}:function(Pe){return Pe&&typeof Symbol=="function"&&Pe.constructor===Symbol&&Pe!==Symbol.prototype?"symbol":typeof Pe},t(Le)}var i=/^\s+/,r=/\s+$/;function a(Le,Pe){if(Le=Le||"",Pe=Pe||{},Le instanceof a)return Le;if(!(this instanceof a))return new a(Le,Pe);var Re=l(Le);this._originalInput=Le,this._r=Re.r,this._g=Re.g,this._b=Re.b,this._a=Re.a,this._roundA=Math.round(100*this._a)/100,this._format=Pe.format||Re.format,this._gradientType=Pe.gradientType,this._r<1&&(this._r=Math.round(this._r)),this._g<1&&(this._g=Math.round(this._g)),this._b<1&&(this._b=Math.round(this._b)),this._ok=Re.ok}a.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var Pe=this.toRgb();return(Pe.r*299+Pe.g*587+Pe.b*114)/1e3},getLuminance:function(){var Pe=this.toRgb(),Re,He,bt,vt,Ot,qt;return Re=Pe.r/255,He=Pe.g/255,bt=Pe.b/255,Re<=.03928?vt=Re/12.92:vt=Math.pow((Re+.055)/1.055,2.4),He<=.03928?Ot=He/12.92:Ot=Math.pow((He+.055)/1.055,2.4),bt<=.03928?qt=bt/12.92:qt=Math.pow((bt+.055)/1.055,2.4),.2126*vt+.7152*Ot+.0722*qt},setAlpha:function(Pe){return this._a=qe(Pe),this._roundA=Math.round(100*this._a)/100,this},toHsv:function(){var Pe=S(this._r,this._g,this._b);return{h:Pe.h*360,s:Pe.s,v:Pe.v,a:this._a}},toHsvString:function(){var Pe=S(this._r,this._g,this._b),Re=Math.round(Pe.h*360),He=Math.round(Pe.s*100),bt=Math.round(Pe.v*100);return this._a==1?"hsv("+Re+", "+He+"%, "+bt+"%)":"hsva("+Re+", "+He+"%, "+bt+"%, "+this._roundA+")"},toHsl:function(){var Pe=m(this._r,this._g,this._b);return{h:Pe.h*360,s:Pe.s,l:Pe.l,a:this._a}},toHslString:function(){var Pe=m(this._r,this._g,this._b),Re=Math.round(Pe.h*360),He=Math.round(Pe.s*100),bt=Math.round(Pe.l*100);return this._a==1?"hsl("+Re+", "+He+"%, "+bt+"%)":"hsla("+Re+", "+He+"%, "+bt+"%, "+this._roundA+")"},toHex:function(Pe){return U(this._r,this._g,this._b,Pe)},toHexString:function(Pe){return"#"+this.toHex(Pe)},toHex8:function(Pe){return K(this._r,this._g,this._b,this._a,Pe)},toHex8String:function(Pe){return"#"+this.toHex8(Pe)},toRgb:function(){return{r:Math.round(this._r),g:Math.round(this._g),b:Math.round(this._b),a:this._a}},toRgbString:function(){return this._a==1?"rgb("+Math.round(this._r)+", "+Math.round(this._g)+", "+Math.round(this._b)+")":"rgba("+Math.round(this._r)+", "+Math.round(this._g)+", "+Math.round(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:Math.round(xe(this._r,255)*100)+"%",g:Math.round(xe(this._g,255)*100)+"%",b:Math.round(xe(this._b,255)*100)+"%",a:this._a}},toPercentageRgbString:function(){return this._a==1?"rgb("+Math.round(xe(this._r,255)*100)+"%, "+Math.round(xe(this._g,255)*100)+"%, "+Math.round(xe(this._b,255)*100)+"%)":"rgba("+Math.round(xe(this._r,255)*100)+"%, "+Math.round(xe(this._g,255)*100)+"%, "+Math.round(xe(this._b,255)*100)+"%, "+this._roundA+")"},toName:function(){return this._a===0?"transparent":this._a<1?!1:Be[U(this._r,this._g,this._b,!0)]||!1},toFilter:function(Pe){var Re="#"+z(this._r,this._g,this._b,this._a),He=Re,bt=this._gradientType?"GradientType = 1, ":"";if(Pe){var vt=a(Pe);He="#"+z(vt._r,vt._g,vt._b,vt._a)}return"progid:DXImageTransform.Microsoft.gradient("+bt+"startColorstr="+Re+",endColorstr="+He+")"},toString:function(Pe){var Re=!!Pe;Pe=Pe||this._format;var He=!1,bt=this._a<1&&this._a>=0,vt=!Re&&bt&&(Pe==="hex"||Pe==="hex6"||Pe==="hex3"||Pe==="hex4"||Pe==="hex8"||Pe==="name");return vt?Pe==="name"&&this._a===0?this.toName():this.toRgbString():(Pe==="rgb"&&(He=this.toRgbString()),Pe==="prgb"&&(He=this.toPercentageRgbString()),(Pe==="hex"||Pe==="hex6")&&(He=this.toHexString()),Pe==="hex3"&&(He=this.toHexString(!0)),Pe==="hex4"&&(He=this.toHex8String(!0)),Pe==="hex8"&&(He=this.toHex8String()),Pe==="name"&&(He=this.toName()),Pe==="hsl"&&(He=this.toHslString()),Pe==="hsv"&&(He=this.toHsvString()),He||this.toHexString())},clone:function(){return a(this.toString())},_applyModification:function(Pe,Re){var He=Pe.apply(nu Line truncated
`),t.default.createElement("div",{style:ge.white,className:"saturation-white"},t.default.createElement("div",{style:ge.black,className:"saturation-black"}),t.default.createElement("div",{style:ge.pointer},this.props.pointer?t.default.createElement(this.props.pointer,this.props):t.default.createElement("div",{style:ge.circle}))))}}]),Q}(e.PureComponent||e.Component);return Hy.default=z,Hy}var Vy={},cd={},oE,XP;function Tue(){if(XP)return oE;XP=1;var n=UG(),e=KG(),t=_G(),i=If();function r(a,l){var o=i(a)?n:e;return o(a,t(l))}return oE=r,oE}var aE,JP;function kue(){return JP||(JP=1,aE=Tue()),aE}var kx={exports:{}},Due=kx.exports,eK;function Rue(){return eK||(eK=1,function(n,e){(function(t,i){n.exports=i()})(Due,function(){function t(Le){"@babel/helpers - typeof";return t=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(Pe){return typeof Pe}:function(Pe){return Pe&&typeof Symbol=="function"&&Pe.constructor===Symbol&&Pe!==Symbol.prototype?"symbol":typeof Pe},t(Le)}var i=/^\s+/,r=/\s+$/;function a(Le,Pe){if(Le=Le||"",Pe=Pe||{},Le instanceof a)return Le;if(!(this instanceof a))return new a(Le,Pe);var Re=l(Le);this._originalInput=Le,this._r=Re.r,this._g=Re.g,this._b=Re.b,this._a=Re.a,this._roundA=Math.round(100*this._a)/100,this._format=Pe.format||Re.format,this._gradientType=Pe.gradientType,this._r<1&&(this._r=Math.round(this._r)),this._g<1&&(this._g=Math.round(this._g)),this._b<1&&(this._b=Math.round(this._b)),this._ok=Re.ok}a.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var Pe=this.toRgb();return(Pe.r*299+Pe.g*587+Pe.b*114)/1e3},getLuminance:function(){var Pe=this.toRgb(),Re,He,bt,vt,Ot,qt;return Re=Pe.r/255,He=Pe.g/255,bt=Pe.b/255,Re<=.03928?vt=Re/12.92:vt=Math.pow((Re+.055)/1.055,2.4),He<=.03928?Ot=He/12.92:Ot=Math.pow((He+.055)/1.055,2.4),bt<=.03928?qt=bt/12.92:qt=Math.pow((bt+.055)/1.055,2.4),.2126*vt+.7152*Ot+.0722*qt},setAlpha:function(Pe){return this._a=qe(Pe),this._roundA=Math.round(100*this._a)/100,this},toHsv:function(){var Pe=S(this._r,this._g,this._b);return{h:Pe.h*360,s:Pe.s,v:Pe.v,a:this._a}},toHsvString:function(){var Pe=S(this._r,this._g,this._b),Re=Math.round(Pe.h*360),He=Math.round(Pe.s*100),bt=Math.round(Pe.v*100);return this._a==1?"hsv("+Re+", "+He+"%, "+bt+"%)":"hsva("+Re+", "+He+"%, "+bt+"%, "+this._roundA+")"},toHsl:function(){var Pe=m(this._r,this._g,this._b);return{h:Pe.h*360,s:Pe.s,l:Pe.l,a:this._a}},toHslString:function(){var Pe=m(this._r,this._g,this._b),Re=Math.round(Pe.h*360),He=Math.round(Pe.s*100),bt=Math.round(Pe.l*100);return this._a==1?"hsl("+Re+", "+He+"%, "+bt+"%)":"hsla("+Re+", "+He+"%, "+bt+"%, "+this._roundA+")"},toHex:function(Pe){return U(this._r,this._g,this._b,Pe)},toHexString:function(Pe){return"#"+this.toHex(Pe)},toHex8:function(Pe){return K(this._r,this._g,this._b,this._a,Pe)},toHex8String:function(Pe){return"#"+this.toHex8(Pe)},toRgb:function(){return{r:Math.round(this._r),g:Math.round(this._g),b:Math.round(this._b),a:this._a}},toRgbString:function(){return this._a==1?"rgb("+Math.round(this._r)+", "+Math.round(this._g)+", "+Math.round(this._b)+")":"rgba("+Math.round(this._r)+", "+Math.round(this._g)+", "+Math.round(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:Math.round(xe(this._r,255)*100)+"%",g:Math.round(xe(this._g,255)*100)+"%",b:Math.round(xe(this._b,255)*100)+"%",a:this._a}},toPercentageRgbString:function(){return this._a==1?"rgb("+Math.round(xe(this._r,255)*100)+"%, "+Math.round(xe(this._g,255)*100)+"%, "+Math.round(xe(this._b,255)*100)+"%)":"rgba("+Math.round(xe(this._r,255)*100)+"%, "+Math.round(xe(this._g,255)*100)+"%, "+Math.round(xe(this._b,255)*100)+"%, "+this._roundA+")"},toName:function(){return this._a===0?"transparent":this._a<1?!1:Be[U(this._r,this._g,this._b,!0)]||!1},toFilter:function(Pe){var Re="#"+z(this._r,this._g,this._b,this._a),He=Re,bt=this._gradientType?"GradientType = 1, ":"";if(Pe){var vt=a(Pe);He="#"+z(vt._r,vt._g,vt._b,vt._a)}return"progid:DXImageTransform.Microsoft.gradient("+bt+"startColorstr="+Re+",endColorstr="+He+")"},toString:function(Pe){var Re=!!Pe;Pe=Pe||this._format;var He=!1,bt=this._a<1&&this._a>=0,vt=!Re&&bt&&(Pe==="hex"||Pe==="hex6"||Pe==="hex3"||Pe==="hex4"||Pe==="hex8"||Pe==="name");return vt?Pe==="name"&&this._a===0?this.toName():this.toRgbString():(Pe==="rgb"&&(He=this.toRgbString()),Pe==="prgb"&&(He=this.toPercentageRgbString()),(Pe==="hex"||Pe==="hex6")&&(He=this.toHexString()),Pe==="hex3"&&(He=this.toHexString(!0)),Pe==="hex4"&&(He=this.toHex8String(!0)),Pe==="hex8"&&(He=this.toHex8String()),Pe==="name"&&(He=this.toName()),Pe==="hsl"&&(He=this.toHslString()),Pe==="hsv"&&(He=this.toHsvString()),He||this.toHexString())},clone:function(){return a(this.toString())},_applyModification:function(Pe,Re){var He=Pe.apply(nu Line truncated
<html>
<head>
<meta charset="utf-8" />
<title>${t}</title>
<meta name="viewport" content="initial-scale=1,maximum-scale=1,user-scalable=no" />
<script src="https://unpkg.com/maplibre-gl@${RK}/dist/maplibre-gl.js"><\/script>
<link href="https://unpkg.com/maplibre-gl@${RK}/dist/maplibre-gl.css" rel="stylesheet" />
<script src="https://unpkg.com/maplibre-gl@${BK}/dist/maplibre-gl.js"><\/script>
<link href="https://unpkg.com/maplibre-gl@${BK}/dist/maplibre-gl.css" rel="stylesheet" />
<style>
body { margin: 0; padding: 0; }
#map { position: absolute; top: 0; bottom: 0; width: 100%; }
@@ -964,11 +964,11 @@ ${nt}`,{message:St,excerpt:pt,pointer:Rt}}function Be(nt,be){let Ge=W(be);const
<\/script>
</body>
</html>
`),r=(Ki().s[9]++,new Blob([i],{type:"text/html;charset=utf-8"})),a=(Ki().s[10]++,this.exportName());Ki().s[11]++,DK.saveAs(r,a+".html")}async saveStyle(){Ki().f[3]++;const e=(Ki().s[12]++,this.tokenizedStyle());if(Ki().s[13]++,PK)Ki().b[2][1]++;else{Ki().b[2][0]++;const r=(Ki().s[14]++,new Blob([e],{type:"application/json;charset=utf-8"})),a=(Ki().s[15]++,this.exportName());Ki().s[16]++,DK.saveAs(r,a+".json"),Ki().s[17]++;return}let t=(Ki().s[18]++,this.props.fileHandle);if(Ki().s[19]++,t==null)if(Ki().b[3][0]++,Ki().s[20]++,t=await this.createFileHandle(),Ki().s[21]++,this.props.onSetFileHandle(t),Ki().s[22]++,t==null){Ki().b[4][0]++,Ki().s[23]++;return}else Ki().b[4][1]++;else Ki().b[3][1]++;const i=(Ki().s[24]++,await t.createWritable());Ki().s[25]++,await i.write(e),Ki().s[26]++,await i.close(),Ki().s[27]++,this.props.onOpenToggle()}async saveStyleAs(){Ki().f[4]++;const e=(Ki().s[28]++,this.tokenizedStyle()),t=(Ki().s[29]++,await this.createFileHandle());if(Ki().s[30]++,this.props.onSetFileHandle(t),Ki().s[31]++,t==null){Ki().b[5][0]++,Ki().s[32]++;return}else Ki().b[5][1]++;const i=(Ki().s[33]++,await t.createWritable());Ki().s[34]++,await i.write(e),Ki().s[35]++,await i.close(),Ki().s[36]++,this.props.onOpenToggle()}async createFileHandle(){Ki().f[5]++;const e=(Ki().s[37]++,{types:[{description:"json",accept:{"application/json":[".json"]}}],suggestedName:this.exportName()}),t=(Ki().s[38]++,await window.showSaveFilePicker(e));return Ki().s[39]++,this.props.onSetFileHandle(t),Ki().s[40]++,t}changeMetadataProperty(e,t){Ki().f[6]++;const i=(Ki().s[41]++,{...this.props.mapStyle,metadata:{...this.props.mapStyle.metadata,[e]:t}});Ki().s[42]++,this.props.onStyleChanged(i)}render(){Ki().f[7]++;const e=(Ki().s[43]++,this.props.t),t=(Ki().s[44]++,dj(e));return Ki().s[45]++,ue.jsx(z1,{"data-wd-key":"modal:export",isOpen:this.props.isOpen,onOpenToggle:this.props.onOpenToggle,title:e("Save Style"),className:"maputnik-export-modal",children:ue.jsxs("section",{className:"maputnik-modal-section",children:[ue.jsx("h1",{children:e("Save Style")}),ue.jsx("p",{children:e("Save the JSON style to your computer.")}),ue.jsxs("div",{children:[ue.jsx(mm,{label:t.maputnik.maptiler_access_token.label,fieldSpec:t.maputnik.maptiler_access_token,value:(Ki().b[6][0]++,this.props.mapStyle.metadata||(Ki().b[6][1]++,{}))["maputnik:openmaptiles_access_token"],onChange:this.changeMetadataProperty.bind(this,"maputnik:openmaptiles_access_token")}),ue.jsx(mm,{label:t.maputnik.thunderforest_access_token.label,fieldSpec:t.maputnik.thunderforest_access_token,value:(Ki().b[7][0]++,this.props.mapStyle.metadata||(Ki().b[7][1]++,{}))["maputnik:thunderforest_access_token"],onChange:this.changeMetadataProperty.bind(this,"maputnik:thunderforest_access_token")}),ue.jsx(mm,{label:t.maputnik.stadia_access_token.label,fieldSpec:t.maputnik.stadia_access_token,value:(Ki().b[8][0]++,this.props.mapStyle.metadata||(Ki().b[8][1]++,{}))["maputnik:stadia_access_token"],onChange:this.changeMetadataProperty.bind(this,"maputnik:stadia_access_token")}),ue.jsx(mm,{label:t.maputnik.locationiq_access_token.label,fieldSpec:t.maputnik.locationiq_access_token,value:(Ki().b[9][0]++,this.props.mapStyle.metadata||(Ki().b[9][1]++,{}))["maputnik:locationiq_access_token"],onChange:this.changeMetadataProperty.bind(this,"maputnik:locationiq_access_token")})]}),ue.jsxs("div",{className:"maputnik-modal-export-buttons",children:[ue.jsxs(ml,{onClick:this.saveStyle.bind(this),children:[ue.jsx(R6,{}),e("Save")]}),(Ki().b[10][0]++,PK&&(Ki().b[10][1]++,ue.jsxs(ml,{onClick:this.saveStyleAs.bind(this),children:[ue.jsx(R6,{}),e("Save as")]}))),ue.jsxs(ml,{onClick:this.createHtml.bind(this),children:[ue.jsx(g$,{}),e("Create HTML")]})]})]})})}}const Lhe=(Ki().s[46]++,ss()(Uhe));function ib(){var n="/home/runner/work/maputnik/maputnik/src/components/FieldDynamicArray.tsx",e="008bf7f932014e13eee4379e3554a3bc406336ab",t=globalThis,i="__coverage__",r={path:"/home/runner/work/maputnik/maputnik/src/components/FieldDynamicArray.tsx",statementMap:{0:{start:{line:4,column:26},end:{line:6,column:1}},1:{start:{line:5,column:2},end:{line:5,column:127}}},fnMap:{0:{name:"(anonymous_0)",decl:{start:{line:4,column:26},end:{line:4,column:27}},loc:{start:{line:4,column:37},end:{line:6,column:1}},line:4}},branchMap:{},s:{0:0,1:0},f:{0:0},b:{},inputSourceMap:{version:3,file:null,sources:["/home/runner/work/maputnik/maputnik/src/components/FieldDynamicArray.tsx"],names:[],mappings:"AAUM;AAVN,OAAO,uBAA2E;AAClF,OAAO,cAAc;AAMrB,MAAM,oBAAsD,CAAC,UAAU;AACrE,SACE,oBAAC,YAAS,OAAO,MAAM,OACrB,8BAAC,qBAAmB,GAAG,OAAO,GAChC;AAEJ;AAEA,eAAe;"},_coverageSchema:"1a1c01bbd47fc00a2c39e90264f33305004495a9",hash:"008bf7f932014e13eee4379e3554a3bc406336ab"},a=t[i]||(t[i]={});(!a[n]||a[n].hash!==e)&&(a[n]=r);var l=a[n];return ib=function(){return l},l}ib();ib().s[0]++;const gj=n=>(ib().f[0]++,ib().s[1]++,ue.jsx(H_,{label:n.label,children:ue.jsx(aj,{...n})}));function rb(){var n="/home/runner/work/maputnik/maputnik/src/components/Field Line truncated
`)>=0)return!1;return!0}function Te(Ye,De){var Ze;if(Ye.indent===" ")Ze=" ";else if(typeof Ye.indent=="number"&&Ye.indent>0)Ze=ce.call(Array(Ye.indent+1)," ");else return null;return{base:Ze,prev:ce.call(Array(De+1),Ze)}}function We(Ye,De){if(Ye.length===0)return"";var Ze=`
`+De.prev+De.base;return Ze+ce.call(Ye,","+Ze)+`
`+De.prev}function dt(Ye,De){var Ze=St(Ye),g=[];if(Ze){g.length=Ye.length;for(var gt=0;gt<Ye.length;gt++)g[gt]=Kt(Ye,gt)?De(Ye[gt],Ye):""}var ht=typeof Be=="function"?Be(Ye):[],kt;if(qe){kt={};for(var it=0;it<ht.length;it++)kt["$"+ht[it]]=ht[it]}for(var en in Ye)Kt(Ye,en)&&(Ze&&String(Number(en))===en&&en<Ye.length||qe&&kt["$"+en]instanceof Symbol||(oe.call(/[^\w$]/,en)?g.push(De(en,Ye)+": "+De(Ye[en],Ye)):g.push(en+": "+De(Ye[en],Ye))));if(typeof Be=="function")for(var Dn=0;Dn<ht.length;Dn++)ze.call(Ye,ht[Dn])&&g.push("["+De(ht[Dn])+"]: "+De(Ye[ht[Dn]],Ye));return g}return CE}var _E,NK;function _de(){if(NK)return _E;NK=1;var n=i4(),e=eC(),t=function(o,m,C){for(var S=o,O;(O=S.next)!=null;S=O)if(O.key===m)return S.next=O.next,C||(O.next=o.next,o.next=O),O},i=function(o,m){if(o){var C=t(o,m);return C&&C.value}},r=function(o,m,C){var S=t(o,m);S?S.value=C:o.next={key:m,next:o.next,value:C}},a=function(o,m){return o?!!t(o,m):!1},l=function(o,m){if(o)return t(o,m,!0)};return _E=function(){var m,C={assert:function(S){if(!C.has(S))throw new e("Side channel does not contain "+n(S))},delete:function(S){var O=m&&m.next,U=l(m,S);return U&&O&&O===U&&(m=void 0),!!U},get:function(S){return i(m,S)},has:function(S){return a(m,S)},set:function(S,O){m||(m={next:void 0}),r(m,S,O)}};return C},_E}var bE,jK;function bj(){return jK||(jK=1,bE=Object),bE}var xE,WK;function bde(){return WK||(WK=1,xE=Error),xE}var ME,QK;function xde(){return QK||(QK=1,ME=EvalError),ME}var SE,YK;function Mde(){return YK||(YK=1,SE=RangeError),SE}var wE,qK;function Sde(){return qK||(qK=1,wE=ReferenceError),wE}var EE,HK;function wde(){return HK||(HK=1,EE=SyntaxError),EE}var BE,VK;function Ede(){return VK||(VK=1,BE=URIError),BE}var OE,$K;function Bde(){return $K||($K=1,OE=Math.abs),OE}var IE,ZK;function Ode(){return ZK||(ZK=1,IE=Math.floor),IE}var TE,XK;function Ide(){return XK||(XK=1,TE=Math.max),TE}var kE,JK;function Tde(){return JK||(JK=1,kE=Math.min),kE}var DE,eU;function kde(){return eU||(eU=1,DE=Math.pow),DE}var RE,tU;function Dde(){return tU||(tU=1,RE=Math.round),RE}var PE,nU;function Rde(){return nU||(nU=1,PE=Number.isNaN||function(e){return e!==e}),PE}var KE,iU;function Pde(){if(iU)return KE;iU=1;var n=Rde();return KE=function(t){return n(t)||t===0?t:t<0?-1:1},KE}var UE,rU;function Kde(){return rU||(rU=1,UE=Object.getOwnPropertyDescriptor),UE}var LE,oU;function xj(){if(oU)return LE;oU=1;var n=Kde();if(n)try{n([],"length")}catch{n=null}return LE=n,LE}var FE,aU;function Ude(){if(aU)return FE;aU=1;var n=Object.defineProperty||!1;if(n)try{n({},"a",{value:1})}catch{n=!1}return FE=n,FE}var zE,sU;function Lde(){return sU||(sU=1,zE=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var e={},t=Symbol("test"),i=Object(t);if(typeof t=="string"||Object.prototype.toString.call(t)!=="[object Symbol]"||Object.prototype.toString.call(i)!=="[object Symbol]")return!1;var r=42;e[t]=r;for(var a in e)return!1;if(typeof Object.keys=="function"&&Object.keys(e).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(e).length!==0)return!1;var l=Object.getOwnPropertySymbols(e);if(l.length!==1||l[0]!==t||!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var o=Object.getOwnPropertyDescriptor(e,t);if(o.value!==r||o.enumerable!==!0)return!1}return!0}),zE}var GE,lU;function Fde(){if(lU)return GE;lU=1;var n=typeof Symbol<"u"&&Symbol,e=Lde();return GE=function(){return typeof n!="function"||typeof Symbol!="function"||typeof n("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:e()},GE}var NE,AU;function Mj(){return AU||(AU=1,NE=typeof Reflect<"u"&&Reflect.getPrototypeOf||null),NE}var jE,uU;function Sj(){if(uU)return jE;uU=1;var n=bj();return jE=n.getPrototypeOf||null,jE}var WE,cU;function zde(){if(cU)return WE;cU=1;var n="Function.prototype.bind called on incompatible ",e=Object.prototype.toString,t=Math.max,i="[object Function]",r=function(m,C){for(var S=[],O=0;O<m.length;O+=1)S[O]=m[O];for(var U=0;U<C.length;U+=1)S[U+m.length]=C[U];return S},a=function(m,C){for(var S=[],O=C,U=0;O<m.length;O+=1,U+=1)S[U]=m[O];return S},l=function(o,m){for(var C="",S=0;S<o.length;S+=1)C+=o[S],S+1<o.length&&(C+=m);return C};return WE=function(m){var C=this;if(typeof C!="function"||e.apply(C)!==i)throw new TypeError(n+C);for(var S=a(arguments,1),O,U=function(){if(this instanceof O){var ee=C.apply(this,r(S,arguments));return Object(ee)===ee?ee:this}return C.apply(m,r(S,arguments))},K=t(0,C.length-S.length),z=[],j=0;j<K;j++)z[j]="$"+j;if(O=Function("binder","return function ("+l(z,",")+"){ return binder.apply(this,arguments); }")(U),C.prototype){var Q=function(){};Q.prototype=C.prototype,O.prototype=new Q,Q.prototype=null}return O},WE}var QE,hU;function r4(){if(hU)return QE;hU=1;var n=zde();return QE=Function.prototype.bind||n,QE}var YE,dU;function l7(){return dU||(dU=1,YE=Function.prototype.call),YE}var qE,fU;functi Line truncated
`," "],l=["{","}","|","\\","^","`"].concat(a),o=["'"].concat(l),m=["%","/","?",";","#"].concat(o),C=["/","?","#"],S=255,O=/^[+a-z0-9A-Z_-]{0,63}$/,U=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,K={javascript:!0,"javascript:":!0},z={javascript:!0,"javascript:":!0},j={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},Q=$de();function ee(Z,oe,W){if(Z&&typeof Z=="object"&&Z instanceof e)return Z;var ce=new e;return ce.parse(Z,oe,W),ce}e.prototype.parse=function(Z,oe,W){if(typeof Z!="string")throw new TypeError("Parameter 'url' must be a string, not "+typeof Z);var ce=Z.indexOf("?"),ge=ce!==-1&&ce<Z.indexOf("#")?"?":"#",ye=Z.split(ge),Me=/\\/g;ye[0]=ye[0].replace(Me,"/"),Z=ye.join(ge);var Be=Z;if(Be=Be.trim(),!W&&Z.split("#").length===1){var we=r.exec(Be);if(we)return this.path=Be,this.href=Be,this.pathname=we[1],we[2]?(this.search=we[2],oe?this.query=Q.parse(this.search.substr(1)):this.query=this.search.substr(1)):oe&&(this.search="",this.query={}),this}var qe=t.exec(Be);if(qe){qe=qe[0];var xe=qe.toLowerCase();this.protocol=xe,Be=Be.substr(qe.length)}if(W||qe||Be.match(/^\/\/[^@/]+@[^@/]+/)){var ze=Be.substr(0,2)==="//";ze&&!(qe&&z[qe])&&(Be=Be.substr(2),this.slashes=!0)}if(!z[qe]&&(ze||qe&&!j[qe])){for(var ot=-1,yt=0;yt<C.length;yt++){var nt=Be.indexOf(C[yt]);nt!==-1&&(ot===-1||nt<ot)&&(ot=nt)}var be,Ge;ot===-1?Ge=Be.lastIndexOf("@"):Ge=Be.lastIndexOf("@",ot),Ge!==-1&&(be=Be.slice(0,Ge),Be=Be.slice(Ge+1),this.auth=decodeURIComponent(be)),ot=-1;for(var yt=0;yt<m.length;yt++){var nt=Be.indexOf(m[yt]);nt!==-1&&(ot===-1||nt<ot)&&(ot=nt)}ot===-1&&(ot=Be.length),this.host=Be.slice(0,ot),Be=Be.slice(ot),this.parseHost(),this.hostname=this.hostname||"";var tt=this.hostname[0]==="["&&this.hostname[this.hostname.length-1]==="]";if(!tt)for(var lt=this.hostname.split(/\./),yt=0,It=lt.length;yt<It;yt++){var pt=lt[yt];if(pt&&!pt.match(O)){for(var St="",Rt=0,Le=pt.length;Rt<Le;Rt++)pt.charCodeAt(Rt)>127?St+="x":St+=pt[Rt];if(!St.match(O)){var Pe=lt.slice(0,yt),Re=lt.slice(yt+1),He=pt.match(U);He&&(Pe.push(He[1]),Re.unshift(He[2])),Re.length&&(Be="/"+Re.join(".")+Be),this.hostname=Pe.join(".");break}}}this.hostname.length>S?this.hostname="":this.hostname=this.hostname.toLowerCase(),tt||(this.hostname=n.toASCII(this.hostname));var bt=this.port?":"+this.port:"",vt=this.hostname||"";this.host=vt+bt,this.href+=this.host,tt&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),Be[0]!=="/"&&(Be="/"+Be))}if(!K[xe])for(var yt=0,It=o.length;yt<It;yt++){var Ot=o[yt];if(Be.indexOf(Ot)!==-1){var qt=encodeURIComponent(Ot);qt===Ot&&(qt=escape(Ot)),Be=Be.split(Ot).join(qt)}}var Kt=Be.indexOf("#");Kt!==-1&&(this.hash=Be.substr(Kt),Be=Be.slice(0,Kt));var on=Be.indexOf("?");if(on!==-1?(this.search=Be.substr(on),this.query=Be.substr(on+1),oe&&(this.query=Q.parse(this.query)),Be=Be.slice(0,on)):oe&&(this.search="",this.query={}),Be&&(this.pathname=Be),j[xe]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){var bt=this.pathname||"",Jn=this.search||"";this.path=bt+Jn}return this.href=this.format(),this};function V(Z){return typeof Z=="string"&&(Z=ee(Z)),Z instanceof e?Z.format():e.prototype.format.call(Z)}e.prototype.format=function(){var Z=this.auth||"";Z&&(Z=encodeURIComponent(Z),Z=Z.replace(/%3A/i,":"),Z+="@");var oe=this.protocol||"",W=this.pathname||"",ce=this.hash||"",ge=!1,ye="";this.host?ge=Z+this.host:this.hostname&&(ge=Z+(this.hostname.indexOf(":")===-1?this.hostname:"["+this.hostname+"]"),this.port&&(ge+=":"+this.port)),this.query&&typeof this.query=="object"&&Object.keys(this.query).length&&(ye=Q.stringify(this.query,{arrayFormat:"repeat",addQueryPrefix:!1}));var Me=this.search||ye&&"?"+ye||"";return oe&&oe.substr(-1)!==":"&&(oe+=":"),this.slashes||(!oe||j[oe])&&ge!==!1?(ge="//"+(ge||""),W&&W.charAt(0)!=="/"&&(W="/"+W)):ge||(ge=""),ce&&ce.charAt(0)!=="#"&&(ce="#"+ce),Me&&Me.charAt(0)!=="?"&&(Me="?"+Me),W=W.replace(/[?#]/g,function(Be){return encodeURIComponent(Be)}),Me=Me.replace("#","%23"),oe+ge+W+Me+ce};function ae(Z,oe){return ee(Z,!1,!0).resolve(oe)}e.prototype.resolve=function(Z){return this.resolveObject(ee(Z,!1,!0)).format()};function ne(Z,oe){return Z?ee(Z,!1,!0).resolveObject(oe):oe}return e.prototype.resolveObject=function(Z){if(typeof Z=="string"){var oe=new e;oe.parse(Z,!1,!0),Z=oe}for(var W=new e,ce=Object.keys(this),ge=0;ge<ce.length;ge++){var ye=ce[ge];W[ye]=this[ye]}if(W.hash=Z.hash,Z.href==="")return W.href=W.format(),W;if(Z.slashes&&!Z.protocol){for(var Me=Object.keys(Z),Be=0;Be<Me.length;Be++){var we=Me[Be];we!=="protocol"&&(W[we]=Z[we])}return j[W.protocol]&&W.hostname&&!W.pathname&&(W.pathname="/",W.path=W.pathname),W.href=W.format(),W}if(Z.protocol&&Z.protocol!==W.protocol){if(!j[Z.protocol]){for(var qe=Object.keys(Z),xe=0;xe<qe.length;xe++){var ze=qe[xe];W[ze]=Z[ze]}return W.href=W.format(),W}if(W.protocol=Z.protocol,!Z.host&&!z[Z.protocol]){for(var It=(Z.pathname||"").split("/");It.length&&!(Z.host=It.shift()););Z.host||(Z.host=""),Z.hos Line truncated
`),r=(Ki().s[9]++,new Blob([i],{type:"text/html;charset=utf-8"})),a=(Ki().s[10]++,this.exportName());Ki().s[11]++,EK.saveAs(r,a+".html")}async saveStyle(){Ki().f[3]++;const e=(Ki().s[12]++,this.tokenizedStyle());if(Ki().s[13]++,OK)Ki().b[2][1]++;else{Ki().b[2][0]++;const r=(Ki().s[14]++,new Blob([e],{type:"application/json;charset=utf-8"})),a=(Ki().s[15]++,this.exportName());Ki().s[16]++,EK.saveAs(r,a+".json"),Ki().s[17]++;return}let t=(Ki().s[18]++,this.props.fileHandle);if(Ki().s[19]++,t==null)if(Ki().b[3][0]++,Ki().s[20]++,t=await this.createFileHandle(),Ki().s[21]++,this.props.onSetFileHandle(t),Ki().s[22]++,t==null){Ki().b[4][0]++,Ki().s[23]++;return}else Ki().b[4][1]++;else Ki().b[3][1]++;const i=(Ki().s[24]++,await t.createWritable());Ki().s[25]++,await i.write(e),Ki().s[26]++,await i.close(),Ki().s[27]++,this.props.onOpenToggle()}async saveStyleAs(){Ki().f[4]++;const e=(Ki().s[28]++,this.tokenizedStyle()),t=(Ki().s[29]++,await this.createFileHandle());if(Ki().s[30]++,this.props.onSetFileHandle(t),Ki().s[31]++,t==null){Ki().b[5][0]++,Ki().s[32]++;return}else Ki().b[5][1]++;const i=(Ki().s[33]++,await t.createWritable());Ki().s[34]++,await i.write(e),Ki().s[35]++,await i.close(),Ki().s[36]++,this.props.onOpenToggle()}async createFileHandle(){Ki().f[5]++;const e=(Ki().s[37]++,{types:[{description:"json",accept:{"application/json":[".json"]}}],suggestedName:this.exportName()}),t=(Ki().s[38]++,await window.showSaveFilePicker(e));return Ki().s[39]++,this.props.onSetFileHandle(t),Ki().s[40]++,t}changeMetadataProperty(e,t){Ki().f[6]++;const i=(Ki().s[41]++,{...this.props.mapStyle,metadata:{...this.props.mapStyle.metadata,[e]:t}});Ki().s[42]++,this.props.onStyleChanged(i)}render(){Ki().f[7]++;const e=(Ki().s[43]++,this.props.t),t=(Ki().s[44]++,sj(e));return Ki().s[45]++,ce.jsx(z1,{"data-wd-key":"modal:export",isOpen:this.props.isOpen,onOpenToggle:this.props.onOpenToggle,title:e("Save Style"),className:"maputnik-export-modal",children:ce.jsxs("section",{className:"maputnik-modal-section",children:[ce.jsx("h1",{children:e("Save Style")}),ce.jsx("p",{children:e("Save the JSON style to your computer.")}),ce.jsxs("div",{children:[ce.jsx(fm,{label:t.maputnik.maptiler_access_token.label,fieldSpec:t.maputnik.maptiler_access_token,value:(Ki().b[6][0]++,this.props.mapStyle.metadata||(Ki().b[6][1]++,{}))["maputnik:openmaptiles_access_token"],onChange:this.changeMetadataProperty.bind(this,"maputnik:openmaptiles_access_token")}),ce.jsx(fm,{label:t.maputnik.thunderforest_access_token.label,fieldSpec:t.maputnik.thunderforest_access_token,value:(Ki().b[7][0]++,this.props.mapStyle.metadata||(Ki().b[7][1]++,{}))["maputnik:thunderforest_access_token"],onChange:this.changeMetadataProperty.bind(this,"maputnik:thunderforest_access_token")}),ce.jsx(fm,{label:t.maputnik.stadia_access_token.label,fieldSpec:t.maputnik.stadia_access_token,value:(Ki().b[8][0]++,this.props.mapStyle.metadata||(Ki().b[8][1]++,{}))["maputnik:stadia_access_token"],onChange:this.changeMetadataProperty.bind(this,"maputnik:stadia_access_token")}),ce.jsx(fm,{label:t.maputnik.locationiq_access_token.label,fieldSpec:t.maputnik.locationiq_access_token,value:(Ki().b[9][0]++,this.props.mapStyle.metadata||(Ki().b[9][1]++,{}))["maputnik:locationiq_access_token"],onChange:this.changeMetadataProperty.bind(this,"maputnik:locationiq_access_token")})]}),ce.jsxs("div",{className:"maputnik-modal-export-buttons",children:[ce.jsxs(ml,{onClick:this.saveStyle.bind(this),children:[ce.jsx(B6,{}),e("Save")]}),(Ki().b[10][0]++,OK&&(Ki().b[10][1]++,ce.jsxs(ml,{onClick:this.saveStyleAs.bind(this),children:[ce.jsx(B6,{}),e("Save as")]}))),ce.jsxs(ml,{onClick:this.createHtml.bind(this),children:[ce.jsx(a$,{}),e("Create HTML")]})]})]})})}}const whe=(Ki().s[46]++,ss()(She));function Z_(){var n="/home/runner/work/maputnik/maputnik/src/components/FieldDynamicArray.tsx",e="2e5d03b7f42a543faefa54bee9f15b9e801b91be",t=globalThis,i="__coverage__",r={path:"/home/runner/work/maputnik/maputnik/src/components/FieldDynamicArray.tsx",statementMap:{0:{start:{line:4,column:26},end:{line:6,column:1}},1:{start:{line:5,column:2},end:{line:5,column:127}}},fnMap:{0:{name:"(anonymous_0)",decl:{start:{line:4,column:26},end:{line:4,column:27}},loc:{start:{line:4,column:37},end:{line:6,column:1}},line:4}},branchMap:{},s:{0:0,1:0},f:{0:0},b:{},inputSourceMap:{version:3,file:null,sources:["/home/runner/work/maputnik/maputnik/src/components/FieldDynamicArray.tsx"],names:[],mappings:"AAUM;AAVN,OAAO,uBAAiD;AACxD,OAAO,cAAc;AAMrB,MAAM,oBAAsD,CAAC,UAAU;AACrE,SACE,oBAAC,YAAS,OAAO,MAAM,OACrB,8BAAC,qBAAmB,GAAG,OAAO,GAChC;AAEJ;AAEA,eAAe;"},_coverageSchema:"1a1c01bbd47fc00a2c39e90264f33305004495a9",hash:"2e5d03b7f42a543faefa54bee9f15b9e801b91be"},a=t[i]||(t[i]={});(!a[n]||a[n].hash!==e)&&(a[n]=r);var l=a[n];return Z_=function(){return l},l}Z_();Z_().s[0]++;const cj=n=>(Z_().f[0]++,Z_().s[1]++,ce.jsx(G_,{label:n.label,children:ce.jsx(ej,{...n})}));function X_(){var n="/home/runner/work/maputnik/maputnik/src/components/Field Line truncated
`)>=0)return!1;return!0}function Te(Ye,De){var Ze;if(Ye.indent===" ")Ze=" ";else if(typeof Ye.indent=="number"&&Ye.indent>0)Ze=ue.call(Array(Ye.indent+1)," ");else return null;return{base:Ze,prev:ue.call(Array(De+1),Ze)}}function We(Ye,De){if(Ye.length===0)return"";var Ze=`
`+De.prev+De.base;return Ze+ue.call(Ye,","+Ze)+`
`+De.prev}function dt(Ye,De){var Ze=St(Ye),g=[];if(Ze){g.length=Ye.length;for(var gt=0;gt<Ye.length;gt++)g[gt]=Kt(Ye,gt)?De(Ye[gt],Ye):""}var ht=typeof Be=="function"?Be(Ye):[],kt;if(qe){kt={};for(var it=0;it<ht.length;it++)kt["$"+ht[it]]=ht[it]}for(var en in Ye)Kt(Ye,en)&&(Ze&&String(Number(en))===en&&en<Ye.length||qe&&kt["$"+en]instanceof Symbol||(oe.call(/[^\w$]/,en)?g.push(De(en,Ye)+": "+De(Ye[en],Ye)):g.push(en+": "+De(Ye[en],Ye))));if(typeof Be=="function")for(var Dn=0;Dn<ht.length;Dn++)ze.call(Ye,ht[Dn])&&g.push("["+De(ht[Dn])+"]: "+De(Ye[ht[Dn]],Ye));return g}return fE}var mE,KK;function Ade(){if(KK)return mE;KK=1;var n=Z2(),e=eC(),t=function(o,m,C){for(var S=o,O;(O=S.next)!=null;S=O)if(O.key===m)return S.next=O.next,C||(O.next=o.next,o.next=O),O},i=function(o,m){if(o){var C=t(o,m);return C&&C.value}},r=function(o,m,C){var S=t(o,m);S?S.value=C:o.next={key:m,next:o.next,value:C}},a=function(o,m){return o?!!t(o,m):!1},l=function(o,m){if(o)return t(o,m,!0)};return mE=function(){var m,C={assert:function(S){if(!C.has(S))throw new e("Side channel does not contain "+n(S))},delete:function(S){var O=m&&m.next,U=l(m,S);return U&&O&&O===U&&(m=void 0),!!U},get:function(S){return i(m,S)},has:function(S){return a(m,S)},set:function(S,O){m||(m={next:void 0}),r(m,S,O)}};return C},mE}var pE,UK;function pj(){return UK||(UK=1,pE=Object),pE}var gE,LK;function ude(){return LK||(LK=1,gE=Error),gE}var yE,FK;function cde(){return FK||(FK=1,yE=EvalError),yE}var vE,zK;function hde(){return zK||(zK=1,vE=RangeError),vE}var CE,NK;function dde(){return NK||(NK=1,CE=ReferenceError),CE}var _E,GK;function fde(){return GK||(GK=1,_E=SyntaxError),_E}var bE,jK;function mde(){return jK||(jK=1,bE=URIError),bE}var xE,WK;function pde(){return WK||(WK=1,xE=Math.abs),xE}var ME,QK;function gde(){return QK||(QK=1,ME=Math.floor),ME}var SE,YK;function yde(){return YK||(YK=1,SE=Math.max),SE}var wE,qK;function vde(){return qK||(qK=1,wE=Math.min),wE}var EE,HK;function Cde(){return HK||(HK=1,EE=Math.pow),EE}var BE,VK;function _de(){return VK||(VK=1,BE=Math.round),BE}var OE,$K;function bde(){return $K||($K=1,OE=Number.isNaN||function(e){return e!==e}),OE}var IE,ZK;function xde(){if(ZK)return IE;ZK=1;var n=bde();return IE=function(t){return n(t)||t===0?t:t<0?-1:1},IE}var TE,XK;function Mde(){return XK||(XK=1,TE=Object.getOwnPropertyDescriptor),TE}var kE,JK;function gj(){if(JK)return kE;JK=1;var n=Mde();if(n)try{n([],"length")}catch{n=null}return kE=n,kE}var DE,eU;function Sde(){if(eU)return DE;eU=1;var n=Object.defineProperty||!1;if(n)try{n({},"a",{value:1})}catch{n=!1}return DE=n,DE}var RE,tU;function wde(){return tU||(tU=1,RE=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var e={},t=Symbol("test"),i=Object(t);if(typeof t=="string"||Object.prototype.toString.call(t)!=="[object Symbol]"||Object.prototype.toString.call(i)!=="[object Symbol]")return!1;var r=42;e[t]=r;for(var a in e)return!1;if(typeof Object.keys=="function"&&Object.keys(e).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(e).length!==0)return!1;var l=Object.getOwnPropertySymbols(e);if(l.length!==1||l[0]!==t||!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var o=Object.getOwnPropertyDescriptor(e,t);if(o.value!==r||o.enumerable!==!0)return!1}return!0}),RE}var PE,nU;function Ede(){if(nU)return PE;nU=1;var n=typeof Symbol<"u"&&Symbol,e=wde();return PE=function(){return typeof n!="function"||typeof Symbol!="function"||typeof n("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:e()},PE}var KE,iU;function yj(){return iU||(iU=1,KE=typeof Reflect<"u"&&Reflect.getPrototypeOf||null),KE}var UE,rU;function vj(){if(rU)return UE;rU=1;var n=pj();return UE=n.getPrototypeOf||null,UE}var LE,oU;function Bde(){if(oU)return LE;oU=1;var n="Function.prototype.bind called on incompatible ",e=Object.prototype.toString,t=Math.max,i="[object Function]",r=function(m,C){for(var S=[],O=0;O<m.length;O+=1)S[O]=m[O];for(var U=0;U<C.length;U+=1)S[U+m.length]=C[U];return S},a=function(m,C){for(var S=[],O=C,U=0;O<m.length;O+=1,U+=1)S[U]=m[O];return S},l=function(o,m){for(var C="",S=0;S<o.length;S+=1)C+=o[S],S+1<o.length&&(C+=m);return C};return LE=function(m){var C=this;if(typeof C!="function"||e.apply(C)!==i)throw new TypeError(n+C);for(var S=a(arguments,1),O,U=function(){if(this instanceof O){var ee=C.apply(this,r(S,arguments));return Object(ee)===ee?ee:this}return C.apply(m,r(S,arguments))},K=t(0,C.length-S.length),z=[],j=0;j<K;j++)z[j]="$"+j;if(O=Function("binder","return function ("+l(z,",")+"){ return binder.apply(this,arguments); }")(U),C.prototype){var Q=function(){};Q.prototype=C.prototype,O.prototype=new Q,Q.prototype=null}return O},LE}var FE,aU;function X2(){if(aU)return FE;aU=1;var n=Bde();return FE=Function.prototype.bind||n,FE}var zE,sU;function n7(){return sU||(sU=1,zE=Function.prototype.call),zE}var NE,lU;functi Line truncated
`," "],l=["{","}","|","\\","^","`"].concat(a),o=["'"].concat(l),m=["%","/","?",";","#"].concat(o),C=["/","?","#"],S=255,O=/^[+a-z0-9A-Z_-]{0,63}$/,U=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,K={javascript:!0,"javascript:":!0},z={javascript:!0,"javascript:":!0},j={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},Q=Lde();function ee(Z,oe,W){if(Z&&typeof Z=="object"&&Z instanceof e)return Z;var ue=new e;return ue.parse(Z,oe,W),ue}e.prototype.parse=function(Z,oe,W){if(typeof Z!="string")throw new TypeError("Parameter 'url' must be a string, not "+typeof Z);var ue=Z.indexOf("?"),ge=ue!==-1&&ue<Z.indexOf("#")?"?":"#",ye=Z.split(ge),Me=/\\/g;ye[0]=ye[0].replace(Me,"/"),Z=ye.join(ge);var Be=Z;if(Be=Be.trim(),!W&&Z.split("#").length===1){var we=r.exec(Be);if(we)return this.path=Be,this.href=Be,this.pathname=we[1],we[2]?(this.search=we[2],oe?this.query=Q.parse(this.search.substr(1)):this.query=this.search.substr(1)):oe&&(this.search="",this.query={}),this}var qe=t.exec(Be);if(qe){qe=qe[0];var xe=qe.toLowerCase();this.protocol=xe,Be=Be.substr(qe.length)}if(W||qe||Be.match(/^\/\/[^@/]+@[^@/]+/)){var ze=Be.substr(0,2)==="//";ze&&!(qe&&z[qe])&&(Be=Be.substr(2),this.slashes=!0)}if(!z[qe]&&(ze||qe&&!j[qe])){for(var ot=-1,yt=0;yt<C.length;yt++){var nt=Be.indexOf(C[yt]);nt!==-1&&(ot===-1||nt<ot)&&(ot=nt)}var be,Ne;ot===-1?Ne=Be.lastIndexOf("@"):Ne=Be.lastIndexOf("@",ot),Ne!==-1&&(be=Be.slice(0,Ne),Be=Be.slice(Ne+1),this.auth=decodeURIComponent(be)),ot=-1;for(var yt=0;yt<m.length;yt++){var nt=Be.indexOf(m[yt]);nt!==-1&&(ot===-1||nt<ot)&&(ot=nt)}ot===-1&&(ot=Be.length),this.host=Be.slice(0,ot),Be=Be.slice(ot),this.parseHost(),this.hostname=this.hostname||"";var tt=this.hostname[0]==="["&&this.hostname[this.hostname.length-1]==="]";if(!tt)for(var lt=this.hostname.split(/\./),yt=0,It=lt.length;yt<It;yt++){var pt=lt[yt];if(pt&&!pt.match(O)){for(var St="",Rt=0,Le=pt.length;Rt<Le;Rt++)pt.charCodeAt(Rt)>127?St+="x":St+=pt[Rt];if(!St.match(O)){var Pe=lt.slice(0,yt),Re=lt.slice(yt+1),He=pt.match(U);He&&(Pe.push(He[1]),Re.unshift(He[2])),Re.length&&(Be="/"+Re.join(".")+Be),this.hostname=Pe.join(".");break}}}this.hostname.length>S?this.hostname="":this.hostname=this.hostname.toLowerCase(),tt||(this.hostname=n.toASCII(this.hostname));var bt=this.port?":"+this.port:"",vt=this.hostname||"";this.host=vt+bt,this.href+=this.host,tt&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),Be[0]!=="/"&&(Be="/"+Be))}if(!K[xe])for(var yt=0,It=o.length;yt<It;yt++){var Ot=o[yt];if(Be.indexOf(Ot)!==-1){var qt=encodeURIComponent(Ot);qt===Ot&&(qt=escape(Ot)),Be=Be.split(Ot).join(qt)}}var Kt=Be.indexOf("#");Kt!==-1&&(this.hash=Be.substr(Kt),Be=Be.slice(0,Kt));var on=Be.indexOf("?");if(on!==-1?(this.search=Be.substr(on),this.query=Be.substr(on+1),oe&&(this.query=Q.parse(this.query)),Be=Be.slice(0,on)):oe&&(this.search="",this.query={}),Be&&(this.pathname=Be),j[xe]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){var bt=this.pathname||"",Jn=this.search||"";this.path=bt+Jn}return this.href=this.format(),this};function V(Z){return typeof Z=="string"&&(Z=ee(Z)),Z instanceof e?Z.format():e.prototype.format.call(Z)}e.prototype.format=function(){var Z=this.auth||"";Z&&(Z=encodeURIComponent(Z),Z=Z.replace(/%3A/i,":"),Z+="@");var oe=this.protocol||"",W=this.pathname||"",ue=this.hash||"",ge=!1,ye="";this.host?ge=Z+this.host:this.hostname&&(ge=Z+(this.hostname.indexOf(":")===-1?this.hostname:"["+this.hostname+"]"),this.port&&(ge+=":"+this.port)),this.query&&typeof this.query=="object"&&Object.keys(this.query).length&&(ye=Q.stringify(this.query,{arrayFormat:"repeat",addQueryPrefix:!1}));var Me=this.search||ye&&"?"+ye||"";return oe&&oe.substr(-1)!==":"&&(oe+=":"),this.slashes||(!oe||j[oe])&&ge!==!1?(ge="//"+(ge||""),W&&W.charAt(0)!=="/"&&(W="/"+W)):ge||(ge=""),ue&&ue.charAt(0)!=="#"&&(ue="#"+ue),Me&&Me.charAt(0)!=="?"&&(Me="?"+Me),W=W.replace(/[?#]/g,function(Be){return encodeURIComponent(Be)}),Me=Me.replace("#","%23"),oe+ge+W+Me+ue};function ae(Z,oe){return ee(Z,!1,!0).resolve(oe)}e.prototype.resolve=function(Z){return this.resolveObject(ee(Z,!1,!0)).format()};function ne(Z,oe){return Z?ee(Z,!1,!0).resolveObject(oe):oe}return e.prototype.resolveObject=function(Z){if(typeof Z=="string"){var oe=new e;oe.parse(Z,!1,!0),Z=oe}for(var W=new e,ue=Object.keys(this),ge=0;ge<ue.length;ge++){var ye=ue[ge];W[ye]=this[ye]}if(W.hash=Z.hash,Z.href==="")return W.href=W.format(),W;if(Z.slashes&&!Z.protocol){for(var Me=Object.keys(Z),Be=0;Be<Me.length;Be++){var we=Me[Be];we!=="protocol"&&(W[we]=Z[we])}return j[W.protocol]&&W.hostname&&!W.pathname&&(W.pathname="/",W.path=W.pathname),W.href=W.format(),W}if(Z.protocol&&Z.protocol!==W.protocol){if(!j[Z.protocol]){for(var qe=Object.keys(Z),xe=0;xe<qe.length;xe++){var ze=qe[xe];W[ze]=Z[ze]}return W.href=W.format(),W}if(W.protocol=Z.protocol,!Z.host&&!z[Z.protocol]){for(var It=(Z.pathname||"").split("/");It.length&&!(Z.host=It.shift()););Z.host||(Z.host=""),Z.hos Line truncated
Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
this file except in compliance with the License. You may obtain a copy of the
@@ -981,10 +981,10 @@ MERCHANTABLITY OR NON-INFRINGEMENT.
See the Apache Version 2.0 License for specific language governing permissions
and limitations under the License.
***************************************************************************** */var IB=function(n,e){return IB=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,i){t.__proto__=i}||function(t,i){for(var r in i)i.hasOwnProperty(r)&&(t[r]=i[r])},IB(n,e)};function Rj(n,e){IB(n,e);function t(){this.constructor=n}n.prototype=e===null?Object.create(e):(t.prototype=e.prototype,new t)}function rfe(n){var e=typeof Symbol=="function"&&n[Symbol.iterator],t=0;return e?e.call(n):{next:function(){return n&&t>=n.length&&(n=void 0),{value:n&&n[t++],done:!n}}}}function ofe(n,e){var t=typeof Symbol=="function"&&n[Symbol.iterator];if(!t)return n;var i=t.call(n),r,a=[],l;try{for(;(e===void 0||e-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(o){l={error:o}}finally{try{r&&!r.done&&(t=i.return)&&t.call(i)}finally{if(l)throw l.error}}return a}function afe(){for(var n=[],e=0;e<arguments.length;e++)n=n.concat(ofe(arguments[e]));return n}var Pj=function(){function n(e,t){this.target=t,this.type=e}return n}(),sfe=function(n){Rj(e,n);function e(t,i){var r=n.call(this,"error",i)||this;return r.message=t.message,r.error=t,r}return e}(Pj),lfe=function(n){Rj(e,n);function e(t,i,r){t===void 0&&(t=1e3),i===void 0&&(i="");var a=n.call(this,"close",r)||this;return a.wasClean=!0,a.code=t,a.reason=i,a}return e}(Pj);/*!
***************************************************************************** */var MB=function(n,e){return MB=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,i){t.__proto__=i}||function(t,i){for(var r in i)i.hasOwnProperty(r)&&(t[r]=i[r])},MB(n,e)};function Bj(n,e){MB(n,e);function t(){this.constructor=n}n.prototype=e===null?Object.create(e):(t.prototype=e.prototype,new t)}function Yde(n){var e=typeof Symbol=="function"&&n[Symbol.iterator],t=0;return e?e.call(n):{next:function(){return n&&t>=n.length&&(n=void 0),{value:n&&n[t++],done:!n}}}}function qde(n,e){var t=typeof Symbol=="function"&&n[Symbol.iterator];if(!t)return n;var i=t.call(n),r,a=[],l;try{for(;(e===void 0||e-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(o){l={error:o}}finally{try{r&&!r.done&&(t=i.return)&&t.call(i)}finally{if(l)throw l.error}}return a}function Hde(){for(var n=[],e=0;e<arguments.length;e++)n=n.concat(qde(arguments[e]));return n}var Oj=function(){function n(e,t){this.target=t,this.type=e}return n}(),Vde=function(n){Bj(e,n);function e(t,i){var r=n.call(this,"error",i)||this;return r.message=t.message,r.error=t,r}return e}(Oj),$de=function(n){Bj(e,n);function e(t,i,r){t===void 0&&(t=1e3),i===void 0&&(i="");var a=n.call(this,"close",r)||this;return a.wasClean=!0,a.code=t,a.reason=i,a}return e}(Oj);/*!
* Reconnecting WebSocket
* by Pedro Ladaria <pedro.ladaria@gmail.com>
* https://github.com/pladaria/reconnecting-websocket
* License MIT
*/var Afe=function(){if(typeof WebSocket<"u")return WebSocket},ufe=function(n){return typeof n<"u"&&!!n&&n.CLOSING===2},Cg={maxReconnectionDelay:1e4,minReconnectionDelay:1e3+Math.random()*4e3,minUptime:5e3,reconnectionDelayGrowFactor:1.3,connectionTimeout:4e3,maxRetries:1/0,maxEnqueuedMessages:1/0};(function(){function n(e,t,i){var r=this;i===void 0&&(i={}),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(a){r._debug("open event");var l=r._options.minUptime,o=l===void 0?Cg.minUptime:l;clearTimeout(r._connectTimeout),r._uptimeTimeout=setTimeout(function(){return r._acceptOpen()},o),r._ws.binaryType=r._binaryType,r._messageQueue.forEach(function(m){return r._ws.send(m)}),r._messageQueue=[],r.onopen&&r.onopen(a),r._listeners.open.forEach(function(m){return r._callEventListener(a,m)})},this._handleMessage=function(a){r._debug("message event"),r.onmessage&&r.onmessage(a),r._listeners.message.forEach(function(l){return r._callEventListener(a,l)})},this._handleError=function(a){r._debug("error event",a.message),r._disconnect(void 0,a.message==="TIMEOUT"?"timeout":void 0),r.onerror&&r.onerror(a),r._debug("exec error listeners"),r._listeners.error.forEach(function(l){return r._callEventListener(a,l)}),r._connect()},this._handleClose=function(a){r._debug("close event"),r._clearTimeouts(),r._shouldReconnect&&r._connect(),r.onclose&&r.onclose(a),r._listeners.close.forEach(function(l){return r._callEventListener(a,l)})},this._url=e,this._protocols=t,this._options=i,this._options.startClosed&&(this._shouldReconnect=!1),this._connect()}return Object.defineProperty(n,"CONNECTING",{get:function(){return 0},enumerable:!0,configurable:!0}),Object.defineProperty(n,"OPEN",{get:function(){return 1},enumerable:!0,configurable:!0}),Object.defineProperty(n,"CLOSING",{get:function(){return 2},enumerable:!0,configurable:!0}),Object.defineProperty(n,"CLOSED",{get:function(){return 3},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"CONNECTING",{get:function(){return n.CONNECTING},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"OPEN",{get:function(){return n.OPEN},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"CLOSING",{get:function(){return n.CLOSING},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"CLOSED",{get:function(){return n.CLOSED},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"binaryType",{get:function(){return this._ws?this._ws.binaryType:this._binaryType},set:function(e){this._binaryType=e,this._ws&&(this._ws.binaryType=e)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"retryCount",{get:function(){return Math.max(this._retryCount,0)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"bufferedAmount",{get:function(){var e=this._messageQueue.reduce(function(t,i){return typeof i=="string"?t+=i.length:i instanceof Blob?t+=i.size:t+=i.byteLength,t},0);return e+(this._ws?this._ws.bufferedAmount:0)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"extensions",{get:function(){return this._ws?this._ws.extensions:""},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"protocol",{get:function(){return this._ws?this._ws.protocol:""},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"readyState",{get:function(){return this._ws?this._ws.readyState:this._options.startClosed?n.CLOSED:n.CONNECTING},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"url",{get:function(){return this._ws?this._ws.url:""},enumerable:!0,configurable:!0}),n.prototype.close=function(e,t){if(e===void 0&&(e=1e3),this._closeCalled=!0,this._shouldReconnect=!1,this._clearTimeouts(),!this._ws){this._debug("close enqueued: no ws instance");return}if(this._ws.readyState===this.CLOSED){this._debug("close: already closed");return}this._ws.close(e,t)},n.prototype.reconnect=function(e,t){this._shouldReconnect=!0,this._closeCalled=!1,this._retryCount=-1,!this._ws||this._ws.readyState===this.CLOSED?this._connect():(this._disconnect(e,t),this._connect())},n.prototype.send=function(e){if(this._ws&&this._ws.readyState===this.OPEN)this._debug("send",e),this._ws.send(e);else{var t=this._options.maxEnqueuedMessages,i=t===void 0?Cg.maxEnqueuedMessages:t;this._messageQueue.length<i&&(this._debug("enqueue",e),this._messageQueue.push(e))}},n.prototype.addEventListener=function(e,t){this._listeners[e]&&this._listeners[e].push(t)},n.prototype.dispatchEvent=function(e){var t,i,r=this._listeners[e.type];if(r)try{for(var a=rfe(r),l=a.next();!l.done;l=a.next()){var o=l.value;this._callEventListener(e,o)}}catch(m){t={error:m}}finally{try{l&&!l.done&&(i=a.return)&&i.call(a)}finally{if(t)throw t.error}}return!0},n.prototype.removeEventListener=function(e,t){this._listeLine truncated
//# sourceMappingURL=index-aSoDnzBO.js.map
*/var Zde=function(){if(typeof WebSocket<"u")return WebSocket},Xde=function(n){return typeof n<"u"&&!!n&&n.CLOSING===2},Cg={maxReconnectionDelay:1e4,minReconnectionDelay:1e3+Math.random()*4e3,minUptime:5e3,reconnectionDelayGrowFactor:1.3,connectionTimeout:4e3,maxRetries:1/0,maxEnqueuedMessages:1/0};(function(){function n(e,t,i){var r=this;i===void 0&&(i={}),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(a){r._debug("open event");var l=r._options.minUptime,o=l===void 0?Cg.minUptime:l;clearTimeout(r._connectTimeout),r._uptimeTimeout=setTimeout(function(){return r._acceptOpen()},o),r._ws.binaryType=r._binaryType,r._messageQueue.forEach(function(m){return r._ws.send(m)}),r._messageQueue=[],r.onopen&&r.onopen(a),r._listeners.open.forEach(function(m){return r._callEventListener(a,m)})},this._handleMessage=function(a){r._debug("message event"),r.onmessage&&r.onmessage(a),r._listeners.message.forEach(function(l){return r._callEventListener(a,l)})},this._handleError=function(a){r._debug("error event",a.message),r._disconnect(void 0,a.message==="TIMEOUT"?"timeout":void 0),r.onerror&&r.onerror(a),r._debug("exec error listeners"),r._listeners.error.forEach(function(l){return r._callEventListener(a,l)}),r._connect()},this._handleClose=function(a){r._debug("close event"),r._clearTimeouts(),r._shouldReconnect&&r._connect(),r.onclose&&r.onclose(a),r._listeners.close.forEach(function(l){return r._callEventListener(a,l)})},this._url=e,this._protocols=t,this._options=i,this._options.startClosed&&(this._shouldReconnect=!1),this._connect()}return Object.defineProperty(n,"CONNECTING",{get:function(){return 0},enumerable:!0,configurable:!0}),Object.defineProperty(n,"OPEN",{get:function(){return 1},enumerable:!0,configurable:!0}),Object.defineProperty(n,"CLOSING",{get:function(){return 2},enumerable:!0,configurable:!0}),Object.defineProperty(n,"CLOSED",{get:function(){return 3},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"CONNECTING",{get:function(){return n.CONNECTING},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"OPEN",{get:function(){return n.OPEN},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"CLOSING",{get:function(){return n.CLOSING},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"CLOSED",{get:function(){return n.CLOSED},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"binaryType",{get:function(){return this._ws?this._ws.binaryType:this._binaryType},set:function(e){this._binaryType=e,this._ws&&(this._ws.binaryType=e)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"retryCount",{get:function(){return Math.max(this._retryCount,0)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"bufferedAmount",{get:function(){var e=this._messageQueue.reduce(function(t,i){return typeof i=="string"?t+=i.length:i instanceof Blob?t+=i.size:t+=i.byteLength,t},0);return e+(this._ws?this._ws.bufferedAmount:0)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"extensions",{get:function(){return this._ws?this._ws.extensions:""},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"protocol",{get:function(){return this._ws?this._ws.protocol:""},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"readyState",{get:function(){return this._ws?this._ws.readyState:this._options.startClosed?n.CLOSED:n.CONNECTING},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"url",{get:function(){return this._ws?this._ws.url:""},enumerable:!0,configurable:!0}),n.prototype.close=function(e,t){if(e===void 0&&(e=1e3),this._closeCalled=!0,this._shouldReconnect=!1,this._clearTimeouts(),!this._ws){this._debug("close enqueued: no ws instance");return}if(this._ws.readyState===this.CLOSED){this._debug("close: already closed");return}this._ws.close(e,t)},n.prototype.reconnect=function(e,t){this._shouldReconnect=!0,this._closeCalled=!1,this._retryCount=-1,!this._ws||this._ws.readyState===this.CLOSED?this._connect():(this._disconnect(e,t),this._connect())},n.prototype.send=function(e){if(this._ws&&this._ws.readyState===this.OPEN)this._debug("send",e),this._ws.send(e);else{var t=this._options.maxEnqueuedMessages,i=t===void 0?Cg.maxEnqueuedMessages:t;this._messageQueue.length<i&&(this._debug("enqueue",e),this._messageQueue.push(e))}},n.prototype.addEventListener=function(e,t){this._listeners[e]&&this._listeners[e].push(t)},n.prototype.dispatchEvent=function(e){var t,i,r=this._listeners[e.type];if(r)try{for(var a=Yde(r),l=a.next();!l.done;l=a.next()){var o=l.value;this._callEventListener(e,o)}}catch(m){t={error:m}}finally{try{l&&!l.done&&(i=a.return)&&i.call(a)}finally{if(t)throw t.error}}return!0},n.prototype.removeEventListener=function(e,t){this._listeLine truncated
//# sourceMappingURL=index-BIbB1_sK.js.map
@@ -1 +1 @@
{"version":3,"mappings":";;;;;;;;6CAWA,IAAIA,EAAqB,OAAO,IAAI,4BAA4B,EAC9DC,EAAsB,OAAO,IAAI,gBAAgB,EACnD,SAASC,EAAQC,EAAMC,EAAQC,EAAU,CACvC,IAAIC,EAAM,KAGV,GAFWD,IAAX,SAAwBC,EAAM,GAAKD,GACxBD,EAAO,MAAlB,SAA0BE,EAAM,GAAKF,EAAO,KACxC,QAASA,EAAQ,CACnBC,EAAW,GACX,QAASE,KAAYH,EACTG,IAAV,QAAuBF,EAASE,CAAQ,EAAIH,EAAOG,CAAQ,EACjE,MAASF,EAAWD,EAClB,OAAAA,EAASC,EAAS,IACX,CACL,SAAUL,EACV,KAAMG,EACN,IAAKG,EACL,IAAgBF,IAAX,OAAoBA,EAAS,KAClC,MAAOC,EAEX,CACA,OAAAG,GAAA,SAAmBP,EACnBO,GAAA,IAAcN,EACdM,GAAA,KAAeN,2CC9BbO,GAAA,QAAiBC,GAAA;;;;;;;;6CCQnB,IAAIV,EAAqB,OAAO,IAAI,4BAA4B,EAC9DW,EAAoB,OAAO,IAAI,cAAc,EAC7CV,EAAsB,OAAO,IAAI,gBAAgB,EACjDW,EAAyB,OAAO,IAAI,mBAAmB,EACvDC,EAAsB,OAAO,IAAI,gBAAgB,EACjDC,EAAsB,OAAO,IAAI,gBAAgB,EACjDC,EAAqB,OAAO,IAAI,eAAe,EAC/CC,EAAyB,OAAO,IAAI,mBAAmB,EACvDC,EAAsB,OAAO,IAAI,gBAAgB,EACjDC,EAAkB,OAAO,IAAI,YAAY,EACzCC,EAAkB,OAAO,IAAI,YAAY,EACzCC,EAAwB,OAAO,SACjC,SAASC,EAAcC,GAAe,CACpC,OAAaA,KAAT,MAAuC,OAAOA,IAApB,SAA0C,MACxEA,GACGF,GAAyBE,GAAcF,CAAqB,GAC7DE,GAAc,YAAY,EACN,OAAOA,IAAtB,WAAsCA,GAAgB,KAC/D,CACA,IAAIC,EAAuB,CACvB,UAAW,UAAY,CACrB,MAAO,EACb,EACI,mBAAoB,UAAY,GAChC,oBAAqB,UAAY,GACjC,gBAAiB,UAAY,IAE/BC,EAAS,OAAO,OAChBC,EAAc,GAChB,SAASC,EAAUC,GAAOC,GAASC,GAAS,CAC1C,KAAK,MAAQF,GACb,KAAK,QAAUC,GACf,KAAK,KAAOH,EACZ,KAAK,QAAUI,IAAWN,CAC5B,CACAG,EAAU,UAAU,iBAAmB,GACvCA,EAAU,UAAU,SAAW,SAAUI,GAAcC,GAAU,CAC/D,GACe,OAAOD,IAApB,UACe,OAAOA,IAAtB,YACQA,IAAR,KAEA,MAAM,MACJ,0GAEJ,KAAK,QAAQ,gBAAgB,KAAMA,GAAcC,GAAU,UAAU,CACvE,EACAL,EAAU,UAAU,YAAc,SAAUK,GAAU,CACpD,KAAK,QAAQ,mBAAmB,KAAMA,GAAU,aAAa,CAC/D,EACA,SAASC,IAAiB,EAC1BA,GAAe,UAAYN,EAAU,UACrC,SAASO,EAAcN,GAAOC,GAASC,GAAS,CAC9C,KAAK,MAAQF,GACb,KAAK,QAAUC,GACf,KAAK,KAAOH,EACZ,KAAK,QAAUI,IAAWN,CAC5B,CACA,IAAIW,GAA0BD,EAAc,UAAY,IAAID,GAC5DE,GAAuB,YAAcD,EACrCT,EAAOU,GAAwBR,EAAU,SAAS,EAClDQ,GAAuB,qBAAuB,GAC9C,IAAIC,GAAc,MAAM,QACtBC,EAAuB,CAAE,EAAG,KAAM,EAAG,KAAM,EAAG,KAAM,EAAG,KAAM,EAAG,IAAI,EACpEC,GAAiB,OAAO,UAAU,eACpC,SAASC,EAAanC,GAAMG,GAAKiC,GAAMC,GAAQC,GAAOd,GAAO,CAC3D,OAAAY,GAAOZ,GAAM,IACN,CACL,SAAU3B,EACV,KAAMG,GACN,IAAKG,GACL,IAAgBiC,KAAX,OAAkBA,GAAO,KAC9B,MAAOZ,GAEX,CACA,SAASe,GAAmBC,GAAYC,GAAQ,CAC9C,OAAON,EACLK,GAAW,KACXC,GACA,OACA,OACA,OACAD,GAAW,MAEf,CACA,SAASE,GAAeC,GAAQ,CAC9B,OACe,OAAOA,IAApB,UACSA,KAAT,MACAA,GAAO,WAAa9C,CAExB,CACA,SAAS+C,GAAOzC,GAAK,CACnB,IAAI0C,GAAgB,CAAE,IAAK,KAAM,IAAK,IAAI,EAC1C,MACE,IACA1C,GAAI,QAAQ,QAAS,SAAU2C,GAAO,CACpC,OAAOD,GAAcC,EAAK,CAChC,CAAK,CAEL,CACA,IAAIC,GAA6B,OACjC,SAASC,GAAcC,GAASC,GAAO,CACrC,OAAoB,OAAOD,IAApB,UAAwCA,KAAT,MAA4BA,GAAQ,KAAhB,KACtDL,GAAO,GAAKK,GAAQ,GAAG,EACvBC,GAAM,SAAS,EAAE,CACvB,CACA,SAASC,IAAS,EAClB,SAASC,GAAgBC,GAAU,CACjC,OAAQA,GAAS,OAAM,CACrB,IAAK,YACH,OAAOA,GAAS,MAClB,IAAK,WACH,MAAMA,GAAS,OACjB,QACE,OACgB,OAAOA,GAAS,QAA7B,SACGA,GAAS,KAAKF,GAAQA,EAAM,GAC1BE,GAAS,OAAS,UACpBA,GAAS,KACP,SAAUC,GAAgB,CACVD,GAAS,SAAvB,YACIA,GAAS,OAAS,YACnBA,GAAS,MAAQC,GACpC,EACc,SAAUC,GAAO,CACDF,GAAS,SAAvB,YACIA,GAAS,OAAS,WAAcA,GAAS,OAASE,GACtE,CACA,GACQF,GAAS,OACjB,CACQ,IAAK,YACH,OAAOA,GAAS,MAClB,IAAK,WACH,MAAMA,GAAS,MACzB,CACA,CACE,MAAMA,EACR,CACA,SAASG,GAAaC,GAAUC,GAAOC,GAAeC,GAAWhC,GAAU,CACzE,IAAI5B,GAAO,OAAOyD,IACEzD,KAAhB,aAAsCA,KAAd,aAAoByD,GAAW,MAC3D,IAAII,GAAiB,GACrB,GAAaJ,KAAT,KAAmBI,GAAiB,OAEtC,QAAQ7D,GAAI,CACV,IAAK,SACL,IAAK,SACL,IAAK,SACH6D,GAAiB,GACjB,MACF,IAAK,SACH,OAAQJ,GAAS,SAAQ,CACvB,KAAK5D,EACL,KAAKW,EACHqD,GAAiB,GACjB,MACF,KAAK7C,EACH,OACG6C,GAAiBJ,GAAS,MAC3BD,GACEK,GAAeJ,GAAS,QAAQ,EAChCC,GACAC,GACAC,GACAhC,EAChB,CAEA,CACA,CACE,GAAIiC,GACF,OACGjC,GAAWA,GAAS6B,EAAQ,EAC5BI,GACQD,KAAP,GAAmB,IAAMZ,GAAcS,GAAU,CAAC,EAAIG,GACxD5B,GAAYJ,EAAQ,GACd+B,GAAgB,GACVE,IAAR,OACGF,GACCE,GAAe,QAAQd,GAA4B,KAAK,EAAI,KAChES,GAAa5B,GAAU8B,GAAOC,GAAe,GAAI,SAAUG,GAAG,CAC5D,OAAOA,EACnB,CAAW,GACOlC,IAAR,OACCc,GAAed,EAAQ,IACrBA,GAAWW,GACVX,GACA+B,IACW/B,GAAS,KAAjB,MACA6B,IAAYA,GAAS,MAAQ7B,GAAS,IACnC,IACC,GAAKA,GAAS,KAAK,QAClBmB,GACA,OACE,KACRc,EAChB,GACUH,GAAM,KAAK9B,EAAQ,GACvB,EAEJiC,GAAiB,EACjB,IAAIE,GAAwBH,KAAP,GAAmB,IAAMA,GAAY,IAC1D,GAAI5B,GAAYyB,EAAQ,EACtB,QAASO,GAAI,EAAGA,GAAIP,GAAS,OAAQO,KAClCJ,GAAYH,GAASO,EAAC,EACpBhE,GAAO+D,GAAiBf,GAAcY,GAAWI,EAAC,EAClDH,IAAkBL,GACjBI,GACAF,GACAC,GACA3D,GACA4B,EACV,UACaoC,GAAI9C,EAAcuC,EAAQ,EAAmB,OAAOO,IAAtB,WACvC,IACEP,GAAWO,GAAE,KAAKP,EAAQ,EAAGO,GAAI,EACjC,EAAEJ,GAAYH,GAAS,KAAI,GAAI,MAG9BG,GAAYA,GAAU,MACpB5D,GAAO+D,GAAiBf,GAAcY,GAAWI,IAAG,EACpDH,IAAkBL,GACjBI,GACAF,GACAC,GACA3D,GACA4B,EACV,UACwB5B,KAAb,SAAmB,CAC1B,GAAmB,OAAOyD,GAAS,MAA/B,WACF,OAAOD,GACLJ,GAAgBK,EAAQ,EACxBC,GACAC,GACAC,GACAhC,IAEJ,MAAA8B,GAAQ,OAAOD,EAAQ,EACjB,MACJ,mDACyBC,KAAtB,kBACG,qBAAuB,OAAO,KAAKD,EAAQ,EAAE,KAAK,IAAI,EAAI,IAC1DC,IACJ,4EAER,CACE,OAAOG,EACT,CACA,SAASI,GAAYR,GAAUS,GAAMzC,GAAS,CAC5C,GAAYgC,IAAR,KAAkB,OAAOA,GAC7B,IAAIU,GAAS,GACXC,GAAQ,EACV,OAAAZ,GAAaC,GAAUU,GAAQ,GAAI,GAAI,SAAUE,GAAO,CACtD,OAAOH,GAAK,KAAKzC,GAAS4C,GAAOD,IAAO,CAC5C,CAAG,EACMD,EACT,CACA,SAASG,GAAgBC,GAAS,CAChC,GAAWA,GAAQ,UAAf,GAAwB,CAC1B,IAAIC,GAAOD,GAAQ,QACnBC,GAAOA,GAAI,EACXA,GAAK,KACH,SAAUC,GAAc,EACZF,GAAQ,UAAd,GAAgCA,GAAQ,UAAf,MAC1BA,GAAQ,QAAU,EAAKA,GAAQ,QAAUE,GACpD,EACM,SAAUlB,GAAO,EACLgB,GAAQ,UAAd,GAAgCA,GAAQ,UAAf,MAC1BA,GAAQ,QLine truncated
{"version":3,"mappings":";;;;;;;;6CAWA,IAAIA,EAAqB,OAAO,IAAI,4BAA4B,EAC9DC,EAAsB,OAAO,IAAI,gBAAgB,EACnD,SAASC,EAAQC,EAAMC,EAAQC,EAAU,CACvC,IAAIC,EAAM,KAGV,GAFWD,IAAX,SAAwBC,EAAM,GAAKD,GACxBD,EAAO,MAAlB,SAA0BE,EAAM,GAAKF,EAAO,KACxC,QAASA,EAAQ,CACnBC,EAAW,GACX,QAASE,KAAYH,EACTG,IAAV,QAAuBF,EAASE,CAAQ,EAAIH,EAAOG,CAAQ,EACjE,MAASF,EAAWD,EAClB,OAAAA,EAASC,EAAS,IACX,CACL,SAAUL,EACV,KAAMG,EACN,IAAKG,EACL,IAAgBF,IAAX,OAAoBA,EAAS,KAClC,MAAOC,EAEX,CACA,OAAAG,GAAA,SAAmBP,EACnBO,GAAA,IAAcN,EACdM,GAAA,KAAeN,2CC9BbO,GAAA,QAAiBC,GAAA;;;;;;;;6CCQnB,IAAIV,EAAqB,OAAO,IAAI,4BAA4B,EAC9DW,EAAoB,OAAO,IAAI,cAAc,EAC7CV,EAAsB,OAAO,IAAI,gBAAgB,EACjDW,EAAyB,OAAO,IAAI,mBAAmB,EACvDC,EAAsB,OAAO,IAAI,gBAAgB,EACjDC,EAAsB,OAAO,IAAI,gBAAgB,EACjDC,EAAqB,OAAO,IAAI,eAAe,EAC/CC,EAAyB,OAAO,IAAI,mBAAmB,EACvDC,EAAsB,OAAO,IAAI,gBAAgB,EACjDC,EAAkB,OAAO,IAAI,YAAY,EACzCC,EAAkB,OAAO,IAAI,YAAY,EACzCC,EAAwB,OAAO,SACjC,SAASC,EAAcC,GAAe,CACpC,OAAaA,KAAT,MAAuC,OAAOA,IAApB,SAA0C,MACxEA,GACGF,GAAyBE,GAAcF,CAAqB,GAC7DE,GAAc,YAAY,EACN,OAAOA,IAAtB,WAAsCA,GAAgB,KAC/D,CACA,IAAIC,EAAuB,CACvB,UAAW,UAAY,CACrB,MAAO,EACb,EACI,mBAAoB,UAAY,GAChC,oBAAqB,UAAY,GACjC,gBAAiB,UAAY,IAE/BC,EAAS,OAAO,OAChBC,EAAc,GAChB,SAASC,EAAUC,GAAOC,GAASC,GAAS,CAC1C,KAAK,MAAQF,GACb,KAAK,QAAUC,GACf,KAAK,KAAOH,EACZ,KAAK,QAAUI,IAAWN,CAC5B,CACAG,EAAU,UAAU,iBAAmB,GACvCA,EAAU,UAAU,SAAW,SAAUI,GAAcC,GAAU,CAC/D,GACe,OAAOD,IAApB,UACe,OAAOA,IAAtB,YACQA,IAAR,KAEA,MAAM,MACJ,0GAEJ,KAAK,QAAQ,gBAAgB,KAAMA,GAAcC,GAAU,UAAU,CACvE,EACAL,EAAU,UAAU,YAAc,SAAUK,GAAU,CACpD,KAAK,QAAQ,mBAAmB,KAAMA,GAAU,aAAa,CAC/D,EACA,SAASC,IAAiB,EAC1BA,GAAe,UAAYN,EAAU,UACrC,SAASO,EAAcN,GAAOC,GAASC,GAAS,CAC9C,KAAK,MAAQF,GACb,KAAK,QAAUC,GACf,KAAK,KAAOH,EACZ,KAAK,QAAUI,IAAWN,CAC5B,CACA,IAAIW,GAA0BD,EAAc,UAAY,IAAID,GAC5DE,GAAuB,YAAcD,EACrCT,EAAOU,GAAwBR,EAAU,SAAS,EAClDQ,GAAuB,qBAAuB,GAC9C,IAAIC,GAAc,MAAM,QACtBC,EAAuB,CAAE,EAAG,KAAM,EAAG,KAAM,EAAG,KAAM,EAAG,KAAM,EAAG,IAAI,EACpEC,GAAiB,OAAO,UAAU,eACpC,SAASC,EAAanC,GAAMG,GAAKiC,GAAMC,GAAQC,GAAOd,GAAO,CAC3D,OAAAY,GAAOZ,GAAM,IACN,CACL,SAAU3B,EACV,KAAMG,GACN,IAAKG,GACL,IAAgBiC,KAAX,OAAkBA,GAAO,KAC9B,MAAOZ,GAEX,CACA,SAASe,GAAmBC,GAAYC,GAAQ,CAC9C,OAAON,EACLK,GAAW,KACXC,GACA,OACA,OACA,OACAD,GAAW,MAEf,CACA,SAASE,GAAeC,GAAQ,CAC9B,OACe,OAAOA,IAApB,UACSA,KAAT,MACAA,GAAO,WAAa9C,CAExB,CACA,SAAS+C,GAAOzC,GAAK,CACnB,IAAI0C,GAAgB,CAAE,IAAK,KAAM,IAAK,IAAI,EAC1C,MACE,IACA1C,GAAI,QAAQ,QAAS,SAAU2C,GAAO,CACpC,OAAOD,GAAcC,EAAK,CAChC,CAAK,CAEL,CACA,IAAIC,GAA6B,OACjC,SAASC,GAAcC,GAASC,GAAO,CACrC,OAAoB,OAAOD,IAApB,UAAwCA,KAAT,MAA4BA,GAAQ,KAAhB,KACtDL,GAAO,GAAKK,GAAQ,GAAG,EACvBC,GAAM,SAAS,EAAE,CACvB,CACA,SAASC,IAAS,EAClB,SAASC,GAAgBC,GAAU,CACjC,OAAQA,GAAS,OAAM,CACrB,IAAK,YACH,OAAOA,GAAS,MAClB,IAAK,WACH,MAAMA,GAAS,OACjB,QACE,OACgB,OAAOA,GAAS,QAA7B,SACGA,GAAS,KAAKF,GAAQA,EAAM,GAC1BE,GAAS,OAAS,UACpBA,GAAS,KACP,SAAUC,GAAgB,CACVD,GAAS,SAAvB,YACIA,GAAS,OAAS,YACnBA,GAAS,MAAQC,GACpC,EACc,SAAUC,GAAO,CACDF,GAAS,SAAvB,YACIA,GAAS,OAAS,WAAcA,GAAS,OAASE,GACtE,CACA,GACQF,GAAS,OACjB,CACQ,IAAK,YACH,OAAOA,GAAS,MAClB,IAAK,WACH,MAAMA,GAAS,MACzB,CACA,CACE,MAAMA,EACR,CACA,SAASG,GAAaC,GAAUC,GAAOC,GAAeC,GAAWhC,GAAU,CACzE,IAAI5B,GAAO,OAAOyD,IACEzD,KAAhB,aAAsCA,KAAd,aAAoByD,GAAW,MAC3D,IAAII,GAAiB,GACrB,GAAaJ,KAAT,KAAmBI,GAAiB,OAEtC,QAAQ7D,GAAI,CACV,IAAK,SACL,IAAK,SACL,IAAK,SACH6D,GAAiB,GACjB,MACF,IAAK,SACH,OAAQJ,GAAS,SAAQ,CACvB,KAAK5D,EACL,KAAKW,EACHqD,GAAiB,GACjB,MACF,KAAK7C,EACH,OACG6C,GAAiBJ,GAAS,MAC3BD,GACEK,GAAeJ,GAAS,QAAQ,EAChCC,GACAC,GACAC,GACAhC,EAChB,CAEA,CACA,CACE,GAAIiC,GACF,OACGjC,GAAWA,GAAS6B,EAAQ,EAC5BI,GACQD,KAAP,GAAmB,IAAMZ,GAAcS,GAAU,CAAC,EAAIG,GACxD5B,GAAYJ,EAAQ,GACd+B,GAAgB,GACVE,IAAR,OACGF,GACCE,GAAe,QAAQd,GAA4B,KAAK,EAAI,KAChES,GAAa5B,GAAU8B,GAAOC,GAAe,GAAI,SAAUG,GAAG,CAC5D,OAAOA,EACnB,CAAW,GACOlC,IAAR,OACCc,GAAed,EAAQ,IACrBA,GAAWW,GACVX,GACA+B,IACW/B,GAAS,KAAjB,MACA6B,IAAYA,GAAS,MAAQ7B,GAAS,IACnC,IACC,GAAKA,GAAS,KAAK,QAClBmB,GACA,OACE,KACRc,EAChB,GACUH,GAAM,KAAK9B,EAAQ,GACvB,EAEJiC,GAAiB,EACjB,IAAIE,GAAwBH,KAAP,GAAmB,IAAMA,GAAY,IAC1D,GAAI5B,GAAYyB,EAAQ,EACtB,QAASO,GAAI,EAAGA,GAAIP,GAAS,OAAQO,KAClCJ,GAAYH,GAASO,EAAC,EACpBhE,GAAO+D,GAAiBf,GAAcY,GAAWI,EAAC,EAClDH,IAAkBL,GACjBI,GACAF,GACAC,GACA3D,GACA4B,EACV,UACaoC,GAAI9C,EAAcuC,EAAQ,EAAmB,OAAOO,IAAtB,WACvC,IACEP,GAAWO,GAAE,KAAKP,EAAQ,EAAGO,GAAI,EACjC,EAAEJ,GAAYH,GAAS,KAAI,GAAI,MAG9BG,GAAYA,GAAU,MACpB5D,GAAO+D,GAAiBf,GAAcY,GAAWI,IAAG,EACpDH,IAAkBL,GACjBI,GACAF,GACAC,GACA3D,GACA4B,EACV,UACwB5B,KAAb,SAAmB,CAC1B,GAAmB,OAAOyD,GAAS,MAA/B,WACF,OAAOD,GACLJ,GAAgBK,EAAQ,EACxBC,GACAC,GACAC,GACAhC,IAEJ,MAAA8B,GAAQ,OAAOD,EAAQ,EACjB,MACJ,mDACyBC,KAAtB,kBACG,qBAAuB,OAAO,KAAKD,EAAQ,EAAE,KAAK,IAAI,EAAI,IAC1DC,IACJ,4EAER,CACE,OAAOG,EACT,CACA,SAASI,GAAYR,GAAUS,GAAMzC,GAAS,CAC5C,GAAYgC,IAAR,KAAkB,OAAOA,GAC7B,IAAIU,GAAS,GACXC,GAAQ,EACV,OAAAZ,GAAaC,GAAUU,GAAQ,GAAI,GAAI,SAAUE,GAAO,CACtD,OAAOH,GAAK,KAAKzC,GAAS4C,GAAOD,IAAO,CAC5C,CAAG,EACMD,EACT,CACA,SAASG,GAAgBC,GAAS,CAChC,GAAWA,GAAQ,UAAf,GAAwB,CAC1B,IAAIC,GAAOD,GAAQ,QACnBC,GAAOA,GAAI,EACXA,GAAK,KACH,SAAUC,GAAc,EACZF,GAAQ,UAAd,GAAgCA,GAAQ,UAAf,MAC1BA,GAAQ,QAAU,EAAKA,GAAQ,QAAUE,GACpD,EACM,SAAUlB,GAAO,EACLgB,GAAQ,UAAd,GAAgCA,GAAQ,UAAf,MAC1BA,GAAQ,QLine truncated
-1
View File
@@ -1 +0,0 @@
html{background-color:#1c1f24}html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:"";content:none}table{border-collapse:collapse;border-spacing:0}@font-face{font-family:Roboto;src:url(/maputnik/assets/Roboto-Regular-B-HLW1rL.ttf) format("truetype");font-weight:400;font-style:normal;font-display:swap}@font-face{font-family:Roboto;src:url(/maputnik/assets/Roboto-Medium-C0z2xw0d.ttf) format("truetype");font-weight:700;font-style:normal;font-display:swap}html{color:#f0f0f0;font-size:14px;box-sizing:border-box}body{overflow:hidden}*,*:before,*:after{box-sizing:inherit}p{font-size:12px;margin-top:5px;margin-bottom:5px;color:#a4a4a4;line-height:1.3}h1{font-size:20px;margin-bottom:10px;font-weight:700}h2{font-size:18px;margin-bottom:10px;font-weight:700}h3{font-size:16px;margin-bottom:10px;font-weight:700}h4{font-size:14px;margin-bottom:10px}input:focus,textarea:focus,*[role=button]:focus,button:focus,.maputnik-toolbar-link:focus,select:focus{color:#f0f0f0;outline:#8e8e8e auto 1px}label:hover{color:#f0f0f0}.clearfix:after{content:"";display:table;clear:both}a{color:#fff}.hide{display:none!important}.maputnik-map__container{background:#fff;display:flex;width:calc(100% - 570px)}.maputnik-map__container--error{align-items:center;justify-content:center}.maputnik-map__container__error-message{margin:16px;text-align:center}.maputnik-map__map{width:100%;height:100%}.maputnik-input-block:hover .maputnik-doc-button,.maputnik-filter-editor-compound-select:hover .maputnik-doc-button{opacity:1;pointer-events:all;cursor:pointer}.maputnik-doc-wrapper{display:inline-block;box-sizing:border-box;font-size:12px;line-height:2;-webkit-user-select:none;user-select:none;position:relative;vertical-align:top}.maputnik-doc-popup{display:none;color:#a4a4a4;background-color:#222429;padding:5px;font-size:10px;position:absolute;top:20px;left:0;width:120px;z-index:10;pointer-events:none}.maputnik-doc-button{opacity:0;pointer-events:none;background:#191b20;color:#fff;border:none;padding:4px}.maputnik-doc-button svg{pointer-events:none}.maputnik-doc-button--open{opacity:1;pointer-events:all}.maputnik-doc-inline{color:#a4a4a4;background-color:#222429;padding:5px;font-size:12px;margin-top:10px;line-height:1.5;flex:1 0}.maputnik-doc-target:hover .maputnik-doc-popup{display:block;text-align:left}.maputnik-button{display:inline-block;cursor:pointer;background-color:#303237;color:#a4a4a4;font-size:12px;padding:5px;-webkit-user-select:none;user-select:none;border-width:0;border-radius:2px;box-sizing:border-box;text-decoration:none}.maputnik-button:hover{background-color:#4d5058;color:#f0f0f0}.maputnik-button:disabled{background-color:#242629;color:#303237;cursor:not-allowed}.maputnik-big-button{margin-top:10px;display:inline-block;padding:10px;font-size:14px}.maputnik-wide-button{padding:5px 10px}.maputnik-green-button{background-color:#53b972;color:#191b20}.maputnik-white-button{background-color:#f0f0f0;color:#191b20}.maputnik-icon-button{background-color:transparent}.maputnik-icon-button:hover:not(:disabled){background-color:transparent}.maputnik-icon-button:hover:not(:disabled) label,.maputnik-icon-button:hover:not(:disabled) svg{cursor:pointer}.maputnik-icon-button:hover:not(:disabled) svg{fill:#f0f0f0}.maputnik-input-block{margin:10px;display:flex;flex-wrap:wrap}.maputnik-input-block-label{color:#a4a4a4;-webkit-user-select:none;user-select:none;width:32%;vertical-align:top;font-size:12px}.maputnik-input-block-action{color:#a4a4a4;-webkit-user-select:none;user-select:none;width:18%;vertical-align:top;font-size:12px;text-align:right}.maputnik-input-block-content{width:50%}.maputnik-action-block .maputnik-input-block-label{display:inline-block;width:32%;margin-bottom:10px}.maputnik-action-block .maputnik-input-block-action{vertical-align:top;display:inline-block;width:18%}.maputnik-action-block .maputnik-input-block-action>div{text-align:right}.maputnik-data-spec-block .maputnik-inline-error,.maputnik-zoom-spec-property .maputnik-inline-error{margin-left:32%}.maputnik-space{-webkit-flex-grow:1;-ms-flex-grow:1;-moz-flex-grow:1;-o-flex-grow:1;flex-grow:1}.maputnik-message-panel{padding:5px}.maputnik-message-panel-error{color:#cf4a4a}.maputnik-message-panel__switch-button{all:unset;text-decoration:underline;cursor:pointer}.maputnik-dialog__buttons{text-align:right}.map-state-menu{display:inline-block}.map-staLine truncated
+1
View File
@@ -0,0 +1 @@
html{background-color:#1c1f24}html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:"";content:none}table{border-collapse:collapse;border-spacing:0}@font-face{font-family:Roboto;src:url(/maputnik/assets/Roboto-Regular-B-HLW1rL.ttf) format("truetype");font-weight:400;font-style:normal;font-display:swap}@font-face{font-family:Roboto;src:url(/maputnik/assets/Roboto-Medium-C0z2xw0d.ttf) format("truetype");font-weight:700;font-style:normal;font-display:swap}html{color:#f0f0f0;font-size:14px;box-sizing:border-box}body{overflow:hidden}*,*:before,*:after{box-sizing:inherit}p{font-size:12px;margin-top:5px;margin-bottom:5px;color:#a4a4a4;line-height:1.3}h1{font-size:20px;margin-bottom:10px;font-weight:700}h2{font-size:18px;margin-bottom:10px;font-weight:700}h3{font-size:16px;margin-bottom:10px;font-weight:700}h4{font-size:14px;margin-bottom:10px}input:focus,textarea:focus,*[role=button]:focus,button:focus,.maputnik-toolbar-link:focus,select:focus{color:#f0f0f0;outline:#8e8e8e auto 1px}label:hover{color:#f0f0f0}.clearfix:after{content:"";display:table;clear:both}a{color:#fff}.hide{display:none!important}.maputnik-map__container{background:#fff;display:flex;width:calc(100% - 570px)}.maputnik-map__container--error{align-items:center;justify-content:center}.maputnik-map__container__error-message{margin:16px;text-align:center}.maputnik-map__map{width:100%;height:100%}.maputnik-input-block:hover .maputnik-doc-button,.maputnik-filter-editor-compound-select:hover .maputnik-doc-button{opacity:1;pointer-events:all;cursor:pointer}.maputnik-doc-wrapper{display:inline-block;box-sizing:border-box;font-size:12px;line-height:2;-webkit-user-select:none;user-select:none;position:relative;vertical-align:top}.maputnik-doc-popup{display:none;color:#a4a4a4;background-color:#222429;padding:5px;font-size:10px;position:absolute;top:20px;left:0;width:120px;z-index:10;pointer-events:none}.maputnik-doc-button{opacity:0;pointer-events:none;background:#191b20;color:#fff;border:none;padding:4px}.maputnik-doc-button svg{pointer-events:none}.maputnik-doc-button--open{opacity:1;pointer-events:all}.maputnik-doc-inline{color:#a4a4a4;background-color:#222429;padding:5px;font-size:12px;margin-top:10px;line-height:1.5;flex:1 0}.maputnik-doc-target:hover .maputnik-doc-popup{display:block;text-align:left}.maputnik-button{display:inline-block;cursor:pointer;background-color:#303237;color:#a4a4a4;font-size:12px;padding:5px;-webkit-user-select:none;user-select:none;border-width:0;border-radius:2px;box-sizing:border-box;text-decoration:none}.maputnik-button:hover{background-color:#4d5058;color:#f0f0f0}.maputnik-button:disabled{background-color:#242629;color:#303237;cursor:not-allowed}.maputnik-big-button{margin-top:10px;display:inline-block;padding:10px;font-size:14px}.maputnik-wide-button{padding:5px 10px}.maputnik-green-button{background-color:#53b972;color:#191b20}.maputnik-white-button{background-color:#f0f0f0;color:#191b20}.maputnik-icon-button{background-color:transparent}.maputnik-icon-button:hover:not(:disabled){background-color:transparent}.maputnik-icon-button:hover:not(:disabled) label,.maputnik-icon-button:hover:not(:disabled) svg{cursor:pointer}.maputnik-icon-button:hover:not(:disabled) svg{fill:#f0f0f0}.maputnik-input-block{margin:10px;display:flex;flex-wrap:wrap}.maputnik-input-block-label{color:#a4a4a4;-webkit-user-select:none;user-select:none;width:32%;vertical-align:top;font-size:12px}.maputnik-input-block-action{color:#a4a4a4;-webkit-user-select:none;user-select:none;width:18%;vertical-align:top;font-size:12px;text-align:right}.maputnik-input-block-content{width:50%}.maputnik-action-block .maputnik-input-block-label{display:inline-block;width:32%;margin-bottom:10px}.maputnik-action-block .maputnik-input-block-action{vertical-align:top;display:inline-block;width:18%}.maputnik-action-block .maputnik-input-block-action>div{text-align:right}.maputnik-data-spec-block .maputnik-inline-error,.maputnik-zoom-spec-property .maputnik-inline-error{margin-left:32%}.maputnik-space{-webkit-flex-grow:1;-ms-flex-grow:1;-moz-flex-grow:1;-o-flex-grow:1;flex-grow:1}.maputnik-message-panel{padding:5px}.maputnik-message-panel-error{color:#cf4a4a}.maputnik-message-panel__switch-button{all:unset;text-decoration:underline;cursor:pointer}.maputnik-dialog__buttons{text-align:right}.map-state-menu{display:inline-block}.map-staLine truncated
-2
View File
@@ -1,2 +0,0 @@
const e="Base",o="Predefinito",i="Fermate",t="Zoom",a="Esamina",r="Apri",s="Salva",l="Vista",n="Aiuto",c="Commenti",p="Sorgente",d="Tipo",u="Filtro",m="Livello",g="Elimina",y="Duplica",S="Mostra",f="Nascondi",h="Livelli",v="Coprimi",L="Espandi",R="Cerca",b="Debug",C="Opzioni",I="Annulla",T="Nome",z="Proprietario",A="Centro",U="Direzione",O="Inclinazione",P="Scorciatoie",M="Immagine",D="Video",N="Sorgenti",E="GeoJSON",x="Cluster",J="Codifica",k="Lingua",G={"Input value":"Valore di input","Data value":"Valore dei dati","Output value":"Valore di output",Function:"Funzione","Select a type of data scale (default is 'categorical').":"Seleziona un tipo di scala dati (predefinito 'categorical').",Base:e,"Input a data property to base styles off of.":"Inserisci una proprietà dati su cui basare gli stili.",Default:o,Stops:i,Zoom:t,"Add stop":"Aggiungi fermata","Convert to expression":"Converti in espressione","Remove zoom level from stop":"Rimuovi il livello di zoom dalla fermata","Revert from expression":"Ripristina dall'espressione","Delete expression":"Elimina espressione","Convert property into a zoom function":"Converti proprietà in una funzione di zoom","Convert property to data function":"Converti proprietà in una funzione dati","Layer <1>{formatLayerId(layerId)}</1>: {parsed.data.message}":"Livello <1>{formatLayerId(layerId)}</1>: {parsed.data.message}","switch to layer":"passa al livello",Map:"Mappa",Inspect:a,"Deuteranopia filter":"Filtro deuteranopia","Protanopia filter":"Filtro protanopia","Tritanopia filter":"Filtro tritanopia","Achromatopsia filter":"Filtro acromatopsia","Layers list":"Elenco livelli","Layer editor":"Editor livelli","Map view":"Vista mappa","Maputnik on GitHub":"Maputnik su GitHub",Open:r,Save:s,"Data Sources":"Fonti dati","Style Settings":"Impostazioni stile",View:l,"Color accessibility":"Accessibilità colori",Help:n,"Comments for the current layer. This is non-standard and not in the spec.":"Commenti per il livello attuale. Questo non è standard e non è nella specifica.",Comments:c,"Comment...":"Il tuo commento...","Max Zoom":"Zoom massimo","Min Zoom":"Zoom minimo",Source:p,"Source Layer":"Livello sorgente",Type:d,"Nested filters are not supported.":"I filtri nidificati non sono supportati.","Upgrade to expression":"Aggiorna a espressione",Filter:u,"every filter matches":"tutti i filtri corrispondono","no filter matches":"nessun filtro corrisponde","any filter matches":"qualsiasi filtro corrisponde","Add filter":"Aggiungi filtro","You've entered an old style filter.":"Hai inserito uno stile filtro obsoleto.","Switch to filter editor.":"Passa all'editor dei filtri.","Delete filter block":"Elimina blocco filtro","Add value":"Aggiungi valore","Remove array item":"Rimuovi elemento dall'array","Press <1>ESC</1> to lose focus":"Premi <1>ESC</1> per perdere il focus","Must provide protocol: <1>https://</1>":"Protocollo richiesto: <1>https://</1>","Must provide protocol: <1>http://</1> or <3>https://</3>":"Protocollo richiesto: <1>http://</1> o <3>https://</3>","CORS policy won't allow fetching resources served over http from https, use a <1>https://</1> domain":"La politica CORS non permette di caricare risorse tramite http da https, utilizza un dominio <1>https://</1>.","General layout properties":"Proprietà generali del layout","Text layout properties":"Proprietà di layout del testo","Icon layout properties":"Proprietà di layout dell'icona","Text paint properties":"Proprietà di pittura del testo","Icon paint properties":"Proprietà di pittura dell'icona","Paint properties":"Proprietà di pittura","Layout properties":"Proprietà di layout",Layer:m,"JSON Editor":"Editor JSON",Delete:g,Duplicate:y,Show:S,Hide:f,"Move layer up":"Sposta il livello in su","Move layer down":"Sposta il livello in giù","Layer: {{layerId}}":"Livello: {{layerId}}",Layers:h,Collapse:v,Expand:L,"Add Layer":"Aggiungi Livello",Search:R,"Zoom:":"Zoom:","Close popup":"Chiudi popup","cursor:":"cursore:","center:":"centro:","rotation:":"rotazione:","Close modal":"Chiudi finestra modale","Layer ID already exists":"L'ID del layer esiste già",Debug:b,Options:C,"Save Style":"Opzioni stile","Save the JSON style to your computer.":"Salva lo style JSON nel tuo computer.","Save as":"Salva con nome","Create HTML":"Crea HTML",Cancel:I,"Open Style":"Apri stile","Open local Style":"Apri stile locale","Open a local JSON style from your computer.":"Apri uno stile JSON dal tuo computer.","Load from URL":"Carica da URL","Load from a URL. Note that the URL must have <1>CORS enabled</1>.":"Carica da URL. Nota che l'URL deve avere l'abilitazione <1>CORS attivata</1>.","Style URL":"Stile URL","Enter URL...":"Inserisci URL...","Gallery Styles":"Galleria degli stili","Open one of the publicly available styles to start from.":"Apro uno degli stili pubblici a partire da.","Loading style":"Caricamento stile","Loading: {{requestUrl}}":"Caricamento: {{requestUrl}}",Name:T,Owner:z,"Owner ID of the style. Used by Mapbox or future style APIsLine truncated
//# sourceMappingURL=translation-BGP2gpqo.js.map
-1
View File
@@ -1 +0,0 @@
{"version":3,"file":"translation-BGP2gpqo.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
+2
View File
@@ -0,0 +1,2 @@
const e="Base",r="Par défaut",t="Arrêts",o="Zoom",s="Inspecter",a="Ouvrir",n="Enregistrer",i="Vue",l="Aide",u="Commentaires",c="Source",d="Type",p="Filtre",m="Calque",y="Supprimer",h="Dupliquer",S="Afficher",f="Cacher",v="Calques",L="Réduire",g="Développer",R="Recherche",C="Déboguer",O="Options",b="Liens",T="Annuler",U="Nom",D="Propriétaire",A="Centre",I="Orientation",M="Inclinaison",P="Raccourcis",x="Image",J="Vidéo",N="Sources",q="GeoJSON",z="Cluster",E="Encodage",V="Langue",w={"Input value":"Valeur d'entrée","Data value":"Valeur des données","Output value":"Valeur de sortie",Function:"Fonction","Select a type of data scale (default is 'categorical').":"Sélectionnez un type d'échelle de données (par défaut 'categorical').",Base:e,"Input a data property to base styles off of.":"Entrez une propriété de données pour baser les styles.",Default:r,Stops:t,Zoom:o,"Add stop":"Ajouter un arrêt","Convert to expression":"Convertir en expression","Remove zoom level from stop":"Supprimer le niveau de zoom de l'arrêt","Revert from expression":"Annuler l'expression","Delete expression":"Supprimer l'expression","Convert property into a zoom function":"Convertir la propriété en fonction de zoom","Convert property to data function":"Convertir la propriété en fonction de données","Layer <1>{formatLayerId(layerId)}</1>: {parsed.data.message}":"Calque <1>{formatLayerId(layerId)}</1> : {parsed.data.message}","switch to layer":"changer de calque",Map:"Carte",Inspect:s,"Deuteranopia filter":"Filtre Deutéranopie","Protanopia filter":"Filtre Protanopie","Tritanopia filter":"Filtre Tritanopie","Achromatopsia filter":"Filtre Achromatopsie","Layers list":"Liste des calques","Layer editor":"Éditeur de calque","Map view":"Vue de la carte","Maputnik on GitHub":"Maputnik sur GitHub",Open:a,Save:n,"Data Sources":"Sources de données","Style Settings":"Paramètres du style",View:i,"Color accessibility":"Accessibilité des couleurs",Help:l,"Comments for the current layer. This is non-standard and not in the spec.":"Commentaires pour le calque actuel. Ceci n'est pas standard et n'est pas dans la spécification.",Comments:u,"Comment...":"Votre commentaire...","Max Zoom":"Zoom max","Min Zoom":"Zoom min",Source:c,"Source Layer":"Calque Source",Type:d,"Nested filters are not supported.":"Les filtres imbriqués ne sont pas pris en charge.","Upgrade to expression":"Mettre à niveau vers une expression",Filter:p,"every filter matches":"tous les filtres correspondent","no filter matches":"aucun filtre ne correspond","any filter matches":"l'un des filtres correspond","Add filter":"Ajouter un filtre","You've entered an old style filter.":"Vous avez entré un ancien style de filtre.","Switch to filter editor.":"Passer à l'éditeur de filtre.","Delete filter block":"Supprimer le bloc de filtre","Add value":"Ajouter une valeur","Remove array item":"Supprimer l'élément de tableau","Press <1>ESC</1> to lose focus":"Appuyez sur <1>Échap</1> pour perdre le focus","Must provide protocol: <1>https://</1>":"Protocole requis : <1>https://</1>","Must provide protocol: <1>http://</1> or <3>https://</3>":"Protocole requis : <1>http://</1> ou <3>https://</3>","CORS policy won't allow fetching resources served over http from https, use a <1>https://</1> domain":"La politique CORS ne permet pas de récupérer des ressources servies sur http depuis https, utilisez un protocole <1>https://</1>","General layout properties":"Propriétés générales de mise en page","Text layout properties":"Propriétés de mise en page du texte","Icon layout properties":"Propriétés de mise en page de l'icône","Text paint properties":"Propriétés de peinture du texte","Icon paint properties":"Propriétés de peinture de l'icône","Paint properties":"Propriétés de peinture","Layout properties":"Propriétés de mise en page",Layer:m,"JSON Editor":"Éditeur JSON",Delete:y,Duplicate:h,Show:S,Hide:f,"Move layer up":"Monter le calque","Move layer down":"Descendre le calque","Layer: {{layerId}}":"Calque : {{layerId}}",Layers:v,Collapse:L,Expand:g,"Add Layer":"Ajouter un calque",Search:R,"Zoom:":"Zoom :","Close popup":"Fermer la fenêtre","cursor:":"curseur :","center:":"centre :","rotation:":"rotation :","Close modal":"Fermer la fenêtre modale","Layer ID already exists":"L'identifiant du calque existe déjà",Debug:C,Options:O,Links:b,"<0>Open in OSM</0>. Opens the current view on openstreetmap.org":"<0>Ouvrir dans OSM</0>. Ouvre la vue actuelle sur openstreetmap.org","Save Style":"Enregistrer le style","Save the JSON style to your computer.":"Enregistrer le style JSON sur votre ordinateur.","Save as":"Enregistrer sous","Create HTML":"Créer le HTML",Cancel:T,"Open Style":"Ouvrir le style","Open local Style":"Ouvrir un style local","Open a local JSON style from your computer.":"Ouvrir un style JSON local depuis votre ordinateur.","Load from URL":"Charger depuis une URL","Load from a URL. Note that the URL must have <1>CORS enabled</1>.":"Charger depuis une URLine truncated
//# sourceMappingURL=translation-BeK-Jb4t.js.map
+1
View File
@@ -0,0 +1 @@
{"version":3,"file":"translation-BeK-Jb4t.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
+2
View File
@@ -0,0 +1,2 @@
const e="Basis",t="Standard",n="Stopps",o="Zoom",r="Untersuchen",i="Öffnen",s="Speichern",a="Ansicht",l="Hilfe",u="Kommentare",c="Quelle",d="Typ",h="Filter",p="Ebene",f="Löschen",S="Duplizieren",m="Anzeigen",g="Verstecken",y="Ebenen",b="Einklappen",L="Ausklappen",k="Suche",R="Debug",v="Optionen",D="Links",U="Abbrechen",T="Name",M="Besitzer",O="Mittelpunkt",I="Ausrichtung",z="Neigung",E="Shortcuts",A="Bild",C="Video",w="Quellen",N="GeoJSON",P="Cluster",F="Kodierung",x="Deckkraft",J="Radius",Z="Farbe",G="Sprache",Q="Breite",V="Höhe",K="Feld",B="Größe",H={"Input value":"Eingabewert","Data value":"Datenwert","Output value":"Ausgabewert",Function:"Funktion","Select a type of data scale (default is 'categorical').":"Wähle eine Art Datenskala (Standard ist 'kategorisch').",Base:e,"Input a data property to base styles off of.":"Gib eine Dateneigenschaft ein, um Stile darauf zu basieren.",Default:t,Stops:n,Zoom:o,"Add stop":"Stopp hinzufügen","Convert to expression":"In Ausdruck umwandeln","Remove zoom level from stop":"Zoom-Stufe vom Stopp entfernen","Revert from expression":"Vom Ausdruck zurücksetzen","Delete expression":"Ausdruck löschen","Convert property into a zoom function":"Eigenschaft in eine Zoom-Funktion umwandeln","Convert property to data function":"Eigenschaft in eine Datenfunktion umwandeln","Layer <1>{formatLayerId(layerId)}</1>: {parsed.data.message}":"Ebene <1>{formatLayerId(layerId)}</1>: {parsed.data.message}","switch to layer":"zur Ebene wechseln",Map:"Karte",Inspect:r,"Deuteranopia filter":"Deuteranopie-Filter","Protanopia filter":"Protanopie-Filter","Tritanopia filter":"Tritanopie-Filter","Achromatopsia filter":"Achromatopsie-Filter","Layers list":"Ebenenliste","Layer editor":"Ebenen-Editor","Map view":"Kartenansicht","Maputnik on GitHub":"Maputnik auf GitHub",Open:i,Save:s,"Data Sources":"Datenquellen","Style Settings":"Stileinstellungen",View:a,"Color accessibility":"Farbzugänglichkeit",Help:l,"Comments for the current layer. This is non-standard and not in the spec.":"Kommentare zur aktuellen Ebene. Das ist nicht standardmäßig und nicht in der Spezifikation.",Comments:u,"Comment...":"Dein Kommentar...","Max Zoom":"Max-Zoom","Min Zoom":"Min-Zoom",Source:c,"Source Layer":"Quellenebene",Type:d,"Nested filters are not supported.":"Verschachtelte Filter werden nicht unterstützt.","Upgrade to expression":"Aufrüsten zu Ausdruck",Filter:h,"every filter matches":"alle Filter passen","no filter matches":"kein Filter passt","any filter matches":"irgendein Filter passt","Add filter":"Filter hinzufügen","You've entered an old style filter.":"Du hast einen alten Filter-Stil eingegeben.","Switch to filter editor.":"Zum Filter-Editor wechseln.","Delete filter block":"Filterblock löschen","Add value":"Wert hinzufügen","Remove array item":"Element aus Array entfernen","Press <1>ESC</1> to lose focus":"Drück <1>ESC</1>, um den Fokus zu verlieren","Must provide protocol: <1>https://</1>":"Protokoll erforderlich: <1>https://</1>","Must provide protocol: <1>http://</1> or <3>https://</3>":"Protokoll erforderlich: <1>http://</1> oder <3>https://</3>","CORS policy won't allow fetching resources served over http from https, use a <1>https://</1> domain":"Die CORS-Politik erlaubt es nicht, Ressourcen über http von https zu laden, benutze eine <1>https://</1>-Domain","General layout properties":"Allgemeine Layouteigenschaften","Text layout properties":"Text-Layouteigenschaften","Icon layout properties":"Icon-Layouteigenschaften","Text paint properties":"Text-Darstellungseigenschaften","Icon paint properties":"Icon-Darstellungseigenschaften","Paint properties":"Darstellungseigenschaften","Layout properties":"Layouteigenschaften",Layer:p,"JSON Editor":"JSON-Editor",Delete:f,Duplicate:S,Show:m,Hide:g,"Move layer up":"Ebene nach oben verschieben","Move layer down":"Ebene nach unten verschieben","Layer: {{layerId}}":"Ebene: {{layerId}}",Layers:y,Collapse:b,Expand:L,"Add Layer":"Ebene hinzufügen",Search:k,"Zoom:":"Zoom:","Close popup":"Popup schließen","cursor:":"Mauszeiger:","center:":"Zentrum:","rotation:":"Rotation:","Close modal":"Modale Fenster schließen","Layer ID already exists":"Layer-ID existiert bereits",Debug:R,Options:v,Links:D,"<0>Open in OSM</0>. Opens the current view on openstreetmap.org":"<0>In OSM öffnen</0>. Öffnet die aktuelle Ansicht auf openstreetmap.org","Save Style":"Stil Speichern","Save the JSON style to your computer.":"Speichere den JSON Stil auf deinem Computer.","Save as":"Speichern unter","Create HTML":"HTML erstellen",Cancel:U,"Open Style":"Stil öffnen","Open local Style":"Lokalen Stil öffnen","Open a local JSON style from your computer.":"Öffne einen lokalen JSON Stil von deinem Computer.","Load from URL":"Von URL laden","Load from a URL. Note that the URL must have <1>CORS enabled</1>.":"Von einer URL laden. Beachte, dass die URL <1>CORS aktiviert</1> haben muss.","Style URL":"Stil-URL","Enter URL...":"URL eingeben...","Gallery Styles":"Galerie-Stile","Open one Line truncated
//# sourceMappingURL=translation-BpImGeKa.js.map
+1
View File
@@ -0,0 +1 @@
{"version":3,"file":"translation-BpImGeKa.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
+2
View File
@@ -0,0 +1,2 @@
const e="基础",t="默认",o="停靠点",s="缩放",r="检查",a="打开",n="保存",i="视图",l="帮助",c="注释",p="源",u="类型",d="过滤器",y="图层",h="删除",S="复制",L="显示",f="隐藏",m="图层",R="折叠",U="展开",T="搜索",O="调试",I="选项",v="链接",g="取消",b="名称",M="所有者",C="中心",N="方位",D="俯仰角",J="快捷键",P="图像",x="视频",A="源列表",w="GeoJSON",k="聚合",G="编码",E="语言",z={"Input value":"输入值","Data value":"数据值","Output value":"输出值",Function:"函数","Select a type of data scale (default is 'categorical').":"选择数据尺度的类型(默认为“分类”)。",Base:e,"Input a data property to base styles off of.":"输入一个数据属性作为样式的基础。",Default:t,Stops:o,Zoom:s,"Add stop":"添加停靠点","Convert to expression":"转换为表达式","Remove zoom level from stop":"从停靠点移除缩放级别","Revert from expression":"从表达式恢复","Delete expression":"删除表达式","Convert property into a zoom function":"将属性转换为缩放函数","Convert property to data function":"将属性转换为数据函数","Layer <1>{formatLayerId(layerId)}</1>: {parsed.data.message}":"图层<1>{formatLayerId(layerId)}</1>: {parsed.data.message}","switch to layer":"切换到图层",Map:"地图",Inspect:r,"Deuteranopia filter":"绿色盲滤镜","Protanopia filter":"红色盲滤镜","Tritanopia filter":"蓝色盲滤镜","Achromatopsia filter":"全色盲滤镜","Layers list":"图层列表","Layer editor":"图层编辑器","Map view":"地图视图","Maputnik on GitHub":"GitHub上的Maputnik",Open:a,Save:n,"Data Sources":"数据源","Style Settings":"样式设置",View:i,"Color accessibility":"颜色可访问性",Help:l,"Comments for the current layer. This is non-standard and not in the spec.":"当前图层的注释。注意:这不是标准功能,可能与其他库不兼容。",Comments:c,"Comment...":"写注释...","Max Zoom":"最大缩放","Min Zoom":"最小缩放",Source:p,"Source Layer":"源图层",Type:u,"Nested filters are not supported.":"不支持嵌套过滤器。","Upgrade to expression":"升级为表达式",Filter:d,"every filter matches":"每个过滤器都匹配","no filter matches":"没有过滤器匹配","any filter matches":"任何过滤器匹配","Add filter":"添加过滤器","You've entered an old style filter.":"您输入了一个旧风格的过滤器。","Switch to filter editor.":"切换到过滤器编辑器。","Delete filter block":"删除过滤器块","Add value":"添加值","Remove array item":"移除数组项目","Press <1>ESC</1> to lose focus":"按 <1>ESC</1> 键退出焦点","Must provide protocol: <1>https://</1>":"必须提供协议:<1>https://</1>","Must provide protocol: <1>http://</1> or <3>https://</3>":"必须提供协议:<1>http://</1> 或 <3>https://</3>","CORS policy won't allow fetching resources served over http from https, use a <1>https://</1> domain":"CORS 策略不允许从 https 访问通过 http 提供的资源,请使用 <1>https://</1> 域名。","General layout properties":"常规布局属性","Text layout properties":"文本布局属性","Icon layout properties":"图标布局属性","Text paint properties":"文本绘制属性","Icon paint properties":"图标绘制属性","Paint properties":"绘制属性","Layout properties":"布局属性",Layer:y,"JSON Editor":"JSON编辑器",Delete:h,Duplicate:S,Show:L,Hide:f,"Move layer up":"向上移动图层","Move layer down":"向下移动图层","Layer: {{layerId}}":"图层: {{layerId}}",Layers:m,Collapse:R,Expand:U,"Add Layer":"添加图层",Search:T,"Zoom:":"缩放:","Close popup":"关闭弹出窗口","cursor:":"光标:","center:":"中心:","rotation:":"旋转:","Close modal":"关闭模态框","Layer ID already exists":"图层ID已存在",Debug:O,Options:I,Links:v,"<0>Open in OSM</0>. Opens the current view on openstreetmap.org":"在 openstreetmap.org 打开当前视图","Save Style":"保存样式","Save the JSON style to your computer.":"将JSON样式保存到您的计算机。","Save as":"另存为","Create HTML":"创建HTML",Cancel:g,"Open Style":"打开样式","Open local Style":"打开本地样式","Open a local JSON style from your computer.":"从您的计算机打开本地JSON样式。","Load from URL":"从URL加载","Load from a URL. Note that the URL must have <1>CORS enabled</1>.":"从URL加载。注意:URL必须启用 <1>CORS</1>。","Style URL":"样式URL","Enter URL...":"输入URL...","Gallery Styles":"画廊样式","Open one of the publicly available styles to start from.":"打开一个公开可用的样式开始。","Loading style":"正在加载样式","Loading: {{requestUrl}}":"正在加载: {{requestUrl}}",Name:b,Owner:M,"Owner ID of the style. Used by Mapbox or future style APIs.":"样式的所有者ID。由Mapbox或未来的样式API使用。","Sprite URL":"精灵URL","Glyphs URL":"字形URL",Center:C,Bearing:N,Pitch:D,"Light anchor":"光源锚点","Light color":"光Line truncated
//# sourceMappingURL=translation-C5L25zYj.js.map
+1
View File
@@ -0,0 +1 @@
{"version":3,"file":"translation-C5L25zYj.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
-2
View File
@@ -1,2 +0,0 @@
const e="ベース",t="デフォルト",o="ストップ",r="ズーム",s="検査",a="開く",n="保存",i="表示",l="ヘルプ",c="コメント",p="ソース",u="タイプ",d="フィルタ",y="レイヤー",h="削除",S="複製",L="表示",f="非表示",m="レイヤー",R="畳む",U="展開",O="検索",T="デバッグ",I="設定",v="キャンセル",g="名前",M="所有者",b="中央",C="方位",D="ピッチ",N="ショートカット",J="画像",P="動画",x="ソース一覧",A="GeoJSON",w="クラスタ",E="エンコーディング",G="言語",k={"Input value":"入力値","Data value":"データ値","Output value":"値",Function:"関数","Select a type of data scale (default is 'categorical').":"データスケールの種類を選択してください(デフォルトは「categorical」です)。",Base:e,"Input a data property to base styles off of.":"スタイルのベースとなるデータプロパティを入力してください。",Default:t,Stops:o,Zoom:r,"Add stop":"ストップを追加","Convert to expression":"フィルタ式に変換","Remove zoom level from stop":"ズームレベルをストップから削除","Revert from expression":"式から戻す","Delete expression":"式を削除","Convert property into a zoom function":"プロパティをズーム関数に変換する","Convert property to data function":"プロパティをデータ関数に変換する","Layer <1>{formatLayerId(layerId)}</1>: {parsed.data.message}":"レイヤ<1>{formatLayerId(layerId)}</1>: {parsed.data.message}","switch to layer":"レイヤへ切替",Map:"地図",Inspect:s,"Deuteranopia filter":"緑色盲フィルタ","Protanopia filter":"赤色盲フィルタ","Tritanopia filter":"青色盲フィルタ","Achromatopsia filter":"全色盲フィルタ","Layers list":"レイヤー一覧","Layer editor":"レイヤーエディタ","Map view":"地図画面","Maputnik on GitHub":"GitHubのMaputnik",Open:a,Save:n,"Data Sources":"データソース","Style Settings":"スタイル設定",View:i,"Color accessibility":"色のアクセシビリティ",Help:l,"Comments for the current layer. This is non-standard and not in the spec.":"現在のレイヤーのコメント。注意:この機能は標準ではないため、他のライブラリとの互換性状況はわかりません。",Comments:c,"Comment...":"コメントを書く","Max Zoom":"最大ズーム","Min Zoom":"最小ズーム",Source:p,"Source Layer":"ソースレイヤ",Type:u,"Nested filters are not supported.":"ネストされたフィルタはサポートされていません。","Upgrade to expression":"式にアップグレード",Filter:d,"every filter matches":"全てのフィルタが一致","no filter matches":"フィルタが一致しない","any filter matches":"いずれかのフィルタが一致","Add filter":"フィルタを追加","You've entered an old style filter.":"旧型フィルタを使用しております。","Switch to filter editor.":"新型に変換","Delete filter block":"フィルタブロックを削除","Add value":"値を追加する","Remove array item":"配列の項目を削除","Press <1>ESC</1> to lose focus":"<1>ESC</1>を押すとフォーカスが外れます","Must provide protocol: <1>https://</1>":"プロトコルを指定してください: <1>https://</1>","Must provide protocol: <1>http://</1> or <3>https://</3>":"プロトコルを指定してください: <1>http://</1> または <3>https://</3>","CORS policy won't allow fetching resources served over http from https, use a <1>https://</1> domain":"CORS使用時は、http経由で提供されるリソースをhttpsから取得することはできません。<1>https://</1> ドメインを使用してください。","General layout properties":"一般レイアウトプロパティ","Text layout properties":"文字レイアウトプロパティ","Icon layout properties":"アイコンレイアウトプロパティ","Text paint properties":"文字ペイントプロパティ","Icon paint properties":"アイコンペイントプロパティ","Paint properties":"ペイントプロパティ","Layout properties":"レイアウトプロパティ",Layer:y,"JSON Editor":"JSONエディタ",Delete:h,Duplicate:S,Show:L,Hide:f,"Move layer up":"上に移動","Move layer down":"下に移動","Layer: {{layerId}}":"レイヤー {{layerId}}",Layers:m,Collapse:R,Expand:U,"Add Layer":"レイヤー追加",Search:O,"Zoom:":"ズーム:","Close popup":"ポップアップを閉じる","cursor:":"カーソル","center:":"中央:","rotation:":"回転角度:","Close modal":"モーダルを閉じる","Layer ID already exists":"レイヤーIDは既に存在します",Debug:T,Options:I,"Save Style":"スタイルを保存","Save the JSON style to your computer.":"JSONスタイルをコンピュータに保存します。","Save as":"名前を付けて保存","Create HTML":"HTMLを作成",Cancel:v,"Open Style":"スタイルを開く","Open local Style":"ローカルスタイルを開く","Open Line truncated
//# sourceMappingURL=translation-C7LKy5U2.js.map
-1
View File
@@ -1 +0,0 @@
{"version":3,"file":"translation-C7LKy5U2.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
-2
View File
@@ -1,2 +0,0 @@
const e="Basis",t="Standard",n="Stopps",o="Zoom",r="Untersuchen",i="Öffnen",s="Speichern",a="Ansicht",l="Hilfe",u="Kommentare",c="Quelle",d="Typ",h="Filter",p="Ebene",f="Löschen",S="Duplizieren",m="Anzeigen",g="Verstecken",y="Ebenen",b="Einklappen",L="Ausklappen",k="Suche",R="Debug",v="Optionen",D="Abbrechen",U="Name",T="Besitzer",M="Mittelpunkt",z="Ausrichtung",I="Neigung",O="Shortcuts",E="Bild",C="Video",A="Quellen",w="GeoJSON",N="Cluster",P="Kodierung",F="Deckkraft",x="Radius",J="Farbe",Z="Sprache",G="Breite",Q="Höhe",V="Feld",K="Größe",B={"Input value":"Eingabewert","Data value":"Datenwert","Output value":"Ausgabewert",Function:"Funktion","Select a type of data scale (default is 'categorical').":"Wähle eine Art Datenskala (Standard ist 'kategorisch').",Base:e,"Input a data property to base styles off of.":"Gib eine Dateneigenschaft ein, um Stile darauf zu basieren.",Default:t,Stops:n,Zoom:o,"Add stop":"Stopp hinzufügen","Convert to expression":"In Ausdruck umwandeln","Remove zoom level from stop":"Zoom-Stufe vom Stopp entfernen","Revert from expression":"Vom Ausdruck zurücksetzen","Delete expression":"Ausdruck löschen","Convert property into a zoom function":"Eigenschaft in eine Zoom-Funktion umwandeln","Convert property to data function":"Eigenschaft in eine Datenfunktion umwandeln","Layer <1>{formatLayerId(layerId)}</1>: {parsed.data.message}":"Ebene <1>{formatLayerId(layerId)}</1>: {parsed.data.message}","switch to layer":"zur Ebene wechseln",Map:"Karte",Inspect:r,"Deuteranopia filter":"Deuteranopie-Filter","Protanopia filter":"Protanopie-Filter","Tritanopia filter":"Tritanopie-Filter","Achromatopsia filter":"Achromatopsie-Filter","Layers list":"Ebenenliste","Layer editor":"Ebenen-Editor","Map view":"Kartenansicht","Maputnik on GitHub":"Maputnik auf GitHub",Open:i,Save:s,"Data Sources":"Datenquellen","Style Settings":"Stileinstellungen",View:a,"Color accessibility":"Farbzugänglichkeit",Help:l,"Comments for the current layer. This is non-standard and not in the spec.":"Kommentare zur aktuellen Ebene. Das ist nicht standardmäßig und nicht in der Spezifikation.",Comments:u,"Comment...":"Dein Kommentar...","Max Zoom":"Max-Zoom","Min Zoom":"Min-Zoom",Source:c,"Source Layer":"Quellenebene",Type:d,"Nested filters are not supported.":"Verschachtelte Filter werden nicht unterstützt.","Upgrade to expression":"Aufrüsten zu Ausdruck",Filter:h,"every filter matches":"alle Filter passen","no filter matches":"kein Filter passt","any filter matches":"irgendein Filter passt","Add filter":"Filter hinzufügen","You've entered an old style filter.":"Du hast einen alten Filter-Stil eingegeben.","Switch to filter editor.":"Zum Filter-Editor wechseln.","Delete filter block":"Filterblock löschen","Add value":"Wert hinzufügen","Remove array item":"Element aus Array entfernen","Press <1>ESC</1> to lose focus":"Drück <1>ESC</1>, um den Fokus zu verlieren","Must provide protocol: <1>https://</1>":"Protokoll erforderlich: <1>https://</1>","Must provide protocol: <1>http://</1> or <3>https://</3>":"Protokoll erforderlich: <1>http://</1> oder <3>https://</3>","CORS policy won't allow fetching resources served over http from https, use a <1>https://</1> domain":"Die CORS-Politik erlaubt es nicht, Ressourcen über http von https zu laden, benutze eine <1>https://</1>-Domain","General layout properties":"Allgemeine Layouteigenschaften","Text layout properties":"Text-Layouteigenschaften","Icon layout properties":"Icon-Layouteigenschaften","Text paint properties":"Text-Darstellungseigenschaften","Icon paint properties":"Icon-Darstellungseigenschaften","Paint properties":"Darstellungseigenschaften","Layout properties":"Layouteigenschaften",Layer:p,"JSON Editor":"JSON-Editor",Delete:f,Duplicate:S,Show:m,Hide:g,"Move layer up":"Ebene nach oben verschieben","Move layer down":"Ebene nach unten verschieben","Layer: {{layerId}}":"Ebene: {{layerId}}",Layers:y,Collapse:b,Expand:L,"Add Layer":"Ebene hinzufügen",Search:k,"Zoom:":"Zoom:","Close popup":"Popup schließen","cursor:":"Mauszeiger:","center:":"Zentrum:","rotation:":"Rotation:","Close modal":"Modale Fenster schließen","Layer ID already exists":"Layer-ID existiert bereits",Debug:R,Options:v,"Save Style":"Stil Speichern","Save the JSON style to your computer.":"Speichere den JSON Stil auf deinem Computer.","Save as":"Speichern unter","Create HTML":"HTML erstellen",Cancel:D,"Open Style":"Stil öffnen","Open local Style":"Lokalen Stil öffnen","Open a local JSON style from your computer.":"Öffne einen lokalen JSON Stil von deinem Computer.","Load from URL":"Von URL laden","Load from a URL. Note that the URL must have <1>CORS enabled</1>.":"Von einer URL laden. Beachte, dass die URL <1>CORS aktiviert</1> haben muss.","Style URL":"Stil-URL","Enter URL...":"URL eingeben...","Gallery Styles":"Galerie-Stile","Open one of the publicly available styles to start from.":"Öffne einen der öffentlich verfügbaren Stile, um zu starten.","Loading style":"Stil wird geladen","Loading:Line truncated
//# sourceMappingURL=translation-D-SdexDk.js.map
-1
View File
@@ -1 +0,0 @@
{"version":3,"file":"translation-D-SdexDk.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
+2
View File
@@ -0,0 +1,2 @@
const e="Base",o="Predefinito",i="Fermate",t="Zoom",a="Esamina",r="Apri",s="Salva",l="Vista",n="Aiuto",c="Commenti",p="Sorgente",d="Tipo",u="Filtro",m="Livello",g="Elimina",S="Duplica",y="Mostra",f="Nascondi",h="Livelli",v="Coprimi",L="Espandi",R="Cerca",b="Debug",C="Opzioni",I="Collegamenti",T="Annulla",z="Nome",A="Proprietario",O="Centro",U="Direzione",P="Inclinazione",M="Scorciatoie",D="Immagine",N="Video",E="Sorgenti",x="GeoJSON",J="Cluster",k="Codifica",w="Lingua",G={"Input value":"Valore di input","Data value":"Valore dei dati","Output value":"Valore di output",Function:"Funzione","Select a type of data scale (default is 'categorical').":"Seleziona un tipo di scala dati (predefinito 'categorical').",Base:e,"Input a data property to base styles off of.":"Inserisci una proprietà dati su cui basare gli stili.",Default:o,Stops:i,Zoom:t,"Add stop":"Aggiungi fermata","Convert to expression":"Converti in espressione","Remove zoom level from stop":"Rimuovi il livello di zoom dalla fermata","Revert from expression":"Ripristina dall'espressione","Delete expression":"Elimina espressione","Convert property into a zoom function":"Converti proprietà in una funzione di zoom","Convert property to data function":"Converti proprietà in una funzione dati","Layer <1>{formatLayerId(layerId)}</1>: {parsed.data.message}":"Livello <1>{formatLayerId(layerId)}</1>: {parsed.data.message}","switch to layer":"passa al livello",Map:"Mappa",Inspect:a,"Deuteranopia filter":"Filtro deuteranopia","Protanopia filter":"Filtro protanopia","Tritanopia filter":"Filtro tritanopia","Achromatopsia filter":"Filtro acromatopsia","Layers list":"Elenco livelli","Layer editor":"Editor livelli","Map view":"Vista mappa","Maputnik on GitHub":"Maputnik su GitHub",Open:r,Save:s,"Data Sources":"Fonti dati","Style Settings":"Impostazioni stile",View:l,"Color accessibility":"Accessibilità colori",Help:n,"Comments for the current layer. This is non-standard and not in the spec.":"Commenti per il livello attuale. Questo non è standard e non è nella specifica.",Comments:c,"Comment...":"Il tuo commento...","Max Zoom":"Zoom massimo","Min Zoom":"Zoom minimo",Source:p,"Source Layer":"Livello sorgente",Type:d,"Nested filters are not supported.":"I filtri nidificati non sono supportati.","Upgrade to expression":"Aggiorna a espressione",Filter:u,"every filter matches":"tutti i filtri corrispondono","no filter matches":"nessun filtro corrisponde","any filter matches":"qualsiasi filtro corrisponde","Add filter":"Aggiungi filtro","You've entered an old style filter.":"Hai inserito uno stile filtro obsoleto.","Switch to filter editor.":"Passa all'editor dei filtri.","Delete filter block":"Elimina blocco filtro","Add value":"Aggiungi valore","Remove array item":"Rimuovi elemento dall'array","Press <1>ESC</1> to lose focus":"Premi <1>ESC</1> per perdere il focus","Must provide protocol: <1>https://</1>":"Protocollo richiesto: <1>https://</1>","Must provide protocol: <1>http://</1> or <3>https://</3>":"Protocollo richiesto: <1>http://</1> o <3>https://</3>","CORS policy won't allow fetching resources served over http from https, use a <1>https://</1> domain":"La politica CORS non permette di caricare risorse tramite http da https, utilizza un dominio <1>https://</1>.","General layout properties":"Proprietà generali del layout","Text layout properties":"Proprietà di layout del testo","Icon layout properties":"Proprietà di layout dell'icona","Text paint properties":"Proprietà di pittura del testo","Icon paint properties":"Proprietà di pittura dell'icona","Paint properties":"Proprietà di pittura","Layout properties":"Proprietà di layout",Layer:m,"JSON Editor":"Editor JSON",Delete:g,Duplicate:S,Show:y,Hide:f,"Move layer up":"Sposta il livello in su","Move layer down":"Sposta il livello in giù","Layer: {{layerId}}":"Livello: {{layerId}}",Layers:h,Collapse:v,Expand:L,"Add Layer":"Aggiungi Livello",Search:R,"Zoom:":"Zoom:","Close popup":"Chiudi popup","cursor:":"cursore:","center:":"centro:","rotation:":"rotazione:","Close modal":"Chiudi finestra modale","Layer ID already exists":"L'ID del layer esiste già",Debug:b,Options:C,Links:I,"<0>Open in OSM</0>. Opens the current view on openstreetmap.org":"<0>Apri in OSM</0>. Apre la vista corrente su openstreetmap.org","Save Style":"Opzioni stile","Save the JSON style to your computer.":"Salva lo style JSON nel tuo computer.","Save as":"Salva con nome","Create HTML":"Crea HTML",Cancel:T,"Open Style":"Apri stile","Open local Style":"Apri stile locale","Open a local JSON style from your computer.":"Apri uno stile JSON dal tuo computer.","Load from URL":"Carica da URL","Load from a URL. Note that the URL must have <1>CORS enabled</1>.":"Carica da URL. Nota che l'URL deve avere l'abilitazione <1>CORS attivata</1>.","Style URL":"Stile URL","Enter URL...":"Inserisci URL...","Gallery Styles":"Galleria degli stili","Open one of the publicly available styles to start from.":"Apro uno degli stili pubblici a partire da.","Loading Line truncated
//# sourceMappingURL=translation-D28I5-O8.js.map
+1
View File
@@ -0,0 +1 @@
{"version":3,"file":"translation-D28I5-O8.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
+2
View File
@@ -0,0 +1,2 @@
const e="בסיס",t="ברירת המחדל",o="עצירות",r="זום",s="בדיקה",a="פתיחה",n="שמור",i="תצוגה",c="עזרה",l="הערות",p="מקור",u="סוג",d="סינון",y="שכבה",h="מחיקה",S="שכפול",f="הצגה",m="הסתרה",L="שכבות",T="הקטנה",O="הגדלה",R="חיפוש",v="דיבאג",g="אפשרויות",b="קישורים",I="ביטול",M="שם",U="שייך ל",C="מרכז",N="כיוון",P="זווית",D="קיצורי דרך",J="תמונה",A="וידאו",x="מקורות",k="GeoJSON",w="קיבוץ",E="קידוד",G="שפה",V={"Input value":"ערך קבלה","Data value":"ערך מידע","Output value":"ערך החזרה",Function:"פונקציה","Select a type of data scale (default is 'categorical').":"בחרו סוג מידע לטובת הגדלה (ברירת המחדל היא קטגוריה)",Base:e,"Input a data property to base styles off of.":"הכניסו מידע עליו יש לבסס את הסטייל",Default:t,Stops:o,Zoom:r,"Add stop":"הוספת עצירה","Convert to expression":"המחרה לביטוי","Remove zoom level from stop":"הסרת רמת זום מעצירה","Revert from expression":"החזרה מביטוי","Delete expression":"מחיקת ביטוי","Convert property into a zoom function":"המרה לפונקציית זום","Convert property to data function":"המרה לפונקציית מידע","Layer <1>{formatLayerId(layerId)}</1>: {parsed.data.message}":"שכבה <1>{formatLayerId(layerId)}</1>: {parsed.data.message}","switch to layer":"שינוי לשכבה",Map:"מפה",Inspect:s,"Deuteranopia filter":"Deuteranopia filter","Protanopia filter":"Protanopia filter","Tritanopia filter":"Tritanopia filter","Achromatopsia filter":"Achromatopsia filter","Layers list":"רשימת שכבות","Layer editor":"עורך השכבות","Map view":"תצוגת מפה","Maputnik on GitHub":"מפוטניק בגיטהב",Open:a,Save:n,"Data Sources":"מקורות מידע","Style Settings":"הגדרות הסטייל",View:i,"Color accessibility":"נגישות צבעים",Help:c,"Comments for the current layer. This is non-standard and not in the spec.":"הערות על השכבה הנוכחית. זה לא חלק מהספסיפיקציות",Comments:l,"Comment...":"הערה...","Max Zoom":"זום מקסימאלי","Min Zoom":"זום מינימאלי",Source:p,"Source Layer":"שכבת מקור",Type:u,"Nested filters are not supported.":"סינונים מקוננים אינם נתמכים","Upgrade to expression":"שדרוג לביטוי",Filter:d,"every filter matches":"כל הסינונים מתאימים","no filter matches":"אף סינון אינו מתאים","any filter matches":"אחד הסינוים מתאימים","Add filter":"הוספת סינון","You've entered an old style filter.":"הכנסתם סינון מסוג ישן,","Switch to filter editor.":"עברו לעורך הסינונים","Delete filter block":"מחיקת גוש מסנן","Add value":"הוספת ערך","Remove array item":"הסרת איבר מערך","Press <1>ESC</1> to lose focus":"לחצו על <1>ESC</1> על מנת לאבד פוקוס","Must provide protocol: <1>https://</1>":"נדרש פרוטוקול: <1>https://</1>","Must provide protocol: <1>http://</1> or <3>https://</3>":"נדרשים פרוטוקולים: <1>http://</1> או <3>https://</3>","CORS policy won't allow fetching resources served over http from https, use a <1>https://</1> domain":"CORS policy won't allow fetching resources served over http from https, use a <1>https://</1> domain","General layout properties":"תכונות פריסה כלליות","Text layout properties":"תכונות פריסה של טקסט","Icon layout properties":"תכונות פריסה של סמליל","Text paint properties":"תכונות ציור של טקסט","Icon paint properties":"תכונות ציור של סמליל","Paint properties":"תכונות ציור","Layout properties":"תכונות פריסה",Layer:y,"JSON Editor":"עורך JSON",Delete:h,Duplicate:S,Show:f,Hide:m,"Move layer up":"העלה שכבה","Move layer down":"הורד שכבה","Layer: {{layerId}}":"שכבה: {{layerId}}",Layers:L,Collapse:T,Expand:O,"Add Layer":"הוספת שכבה",Search:R,"Zoom:":"זום:","Close popup":"סגירת החלון","cursor:":"סמן","center:":"מרכז:","rotation:":"סיבוב:","Close modal":"סגירת חלונית","Layer ID already exists":"מזהה השכבה כבר קיים",Debug:v,Options:g,Links:b,"<0>Open in OSM</0>. Opens the current view on openstreetmap.org":"<0>פתיחה ב-OSM</0>. פתיחה של התצוגה הנוכחית ב- openstreetmap.org","Save Style":"שמירת הסטייל","Save the JSON style to your computer.":"שמירת הסטייל JSON במחשב שלך.","Save as":"שמירה בשם","Create HTML":"צור HTML",Cancel:I,"Open Style":"פתיחת סטייל","Open local Style":"פתיחת סטייל מקומי","Open a local JSON style from yourLine truncated
//# sourceMappingURL=translation-DiMOqjvu.js.map
+1
View File
@@ -0,0 +1 @@
{"version":3,"file":"translation-DiMOqjvu.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
-2
View File
@@ -1,2 +0,0 @@
const e="Base",r="Par défaut",t="Arrêts",o="Zoom",s="Inspecter",a="Ouvrir",i="Enregistrer",n="Vue",l="Aide",u="Commentaires",c="Source",d="Type",p="Filtre",m="Calque",y="Supprimer",h="Dupliquer",S="Afficher",f="Cacher",v="Calques",L="Réduire",g="Développer",R="Recherche",C="Déboguer",b="Options",O="Annuler",T="Nom",U="Propriétaire",D="Centre",A="Orientation",I="Inclinaison",P="Raccourcis",M="Image",x="Vidéo",J="Sources",N="GeoJSON",q="Cluster",z="Encodage",E="Langue",V={"Input value":"Valeur d'entrée","Data value":"Valeur des données","Output value":"Valeur de sortie",Function:"Fonction","Select a type of data scale (default is 'categorical').":"Sélectionnez un type d'échelle de données (par défaut 'categorical').",Base:e,"Input a data property to base styles off of.":"Entrez une propriété de données pour baser les styles.",Default:r,Stops:t,Zoom:o,"Add stop":"Ajouter un arrêt","Convert to expression":"Convertir en expression","Remove zoom level from stop":"Supprimer le niveau de zoom de l'arrêt","Revert from expression":"Annuler l'expression","Delete expression":"Supprimer l'expression","Convert property into a zoom function":"Convertir la propriété en fonction de zoom","Convert property to data function":"Convertir la propriété en fonction de données","Layer <1>{formatLayerId(layerId)}</1>: {parsed.data.message}":"Calque <1>{formatLayerId(layerId)}</1> : {parsed.data.message}","switch to layer":"changer de calque",Map:"Carte",Inspect:s,"Deuteranopia filter":"Filtre Deutéranopie","Protanopia filter":"Filtre Protanopie","Tritanopia filter":"Filtre Tritanopie","Achromatopsia filter":"Filtre Achromatopsie","Layers list":"Liste des calques","Layer editor":"Éditeur de calque","Map view":"Vue de la carte","Maputnik on GitHub":"Maputnik sur GitHub",Open:a,Save:i,"Data Sources":"Sources de données","Style Settings":"Paramètres du style",View:n,"Color accessibility":"Accessibilité des couleurs",Help:l,"Comments for the current layer. This is non-standard and not in the spec.":"Commentaires pour le calque actuel. Ceci n'est pas standard et n'est pas dans la spécification.",Comments:u,"Comment...":"Votre commentaire...","Max Zoom":"Zoom max","Min Zoom":"Zoom min",Source:c,"Source Layer":"Calque Source",Type:d,"Nested filters are not supported.":"Les filtres imbriqués ne sont pas pris en charge.","Upgrade to expression":"Mettre à niveau vers une expression",Filter:p,"every filter matches":"tous les filtres correspondent","no filter matches":"aucun filtre ne correspond","any filter matches":"l'un des filtres correspond","Add filter":"Ajouter un filtre","You've entered an old style filter.":"Vous avez entré un ancien style de filtre.","Switch to filter editor.":"Passer à l'éditeur de filtre.","Delete filter block":"Supprimer le bloc de filtre","Add value":"Ajouter une valeur","Remove array item":"Supprimer l'élément de tableau","Press <1>ESC</1> to lose focus":"Appuyez sur <1>Échap</1> pour perdre le focus","Must provide protocol: <1>https://</1>":"Protocole requis : <1>https://</1>","Must provide protocol: <1>http://</1> or <3>https://</3>":"Protocole requis : <1>http://</1> ou <3>https://</3>","CORS policy won't allow fetching resources served over http from https, use a <1>https://</1> domain":"La politique CORS ne permet pas de récupérer des ressources servies sur http depuis https, utilisez un protocole <1>https://</1>","General layout properties":"Propriétés générales de mise en page","Text layout properties":"Propriétés de mise en page du texte","Icon layout properties":"Propriétés de mise en page de l'icône","Text paint properties":"Propriétés de peinture du texte","Icon paint properties":"Propriétés de peinture de l'icône","Paint properties":"Propriétés de peinture","Layout properties":"Propriétés de mise en page",Layer:m,"JSON Editor":"Éditeur JSON",Delete:y,Duplicate:h,Show:S,Hide:f,"Move layer up":"Monter le calque","Move layer down":"Descendre le calque","Layer: {{layerId}}":"Calque : {{layerId}}",Layers:v,Collapse:L,Expand:g,"Add Layer":"Ajouter un calque",Search:R,"Zoom:":"Zoom :","Close popup":"Fermer la fenêtre","cursor:":"curseur :","center:":"centre :","rotation:":"rotation :","Close modal":"Fermer la fenêtre modale","Layer ID already exists":"L'identifiant du calque existe déjà",Debug:C,Options:b,"Save Style":"Enregistrer le style","Save the JSON style to your computer.":"Enregistrer le style JSON sur votre ordinateur.","Save as":"Enregistrer sous","Create HTML":"Créer le HTML",Cancel:O,"Open Style":"Ouvrir le style","Open local Style":"Ouvrir un style local","Open a local JSON style from your computer.":"Ouvrir un style JSON local depuis votre ordinateur.","Load from URL":"Charger depuis une URL","Load from a URL. Note that the URL must have <1>CORS enabled</1>.":"Charger depuis une URL. Notez que l'URL doit avoir les <1>CORS activés</1>.","Style URL":"URL du style","Enter URL...":"Entrez l'URL...","Gallery Styles":"Styles de la galeriLine truncated
//# sourceMappingURL=translation-DksxRINh.js.map
-1
View File
@@ -1 +0,0 @@
{"version":3,"file":"translation-DksxRINh.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
-2
View File
@@ -1,2 +0,0 @@
const e="基础",t="默认",o="停靠点",s="缩放",r="检查",a="打开",n="保存",i="视图",l="帮助",c="注释",p="源",u="类型",d="过滤器",y="图层",h="删除",S="复制",L="显示",f="隐藏",m="图层",R="折叠",U="展开",T="搜索",O="调试",I="选项",v="取消",g="名称",b="所有者",M="中心",C="方位",N="俯仰角",D="快捷键",J="图像",P="视频",x="源列表",A="GeoJSON",w="聚合",G="编码",k="语言",E={"Input value":"输入值","Data value":"数据值","Output value":"输出值",Function:"函数","Select a type of data scale (default is 'categorical').":"选择数据尺度的类型(默认为“分类”)。",Base:e,"Input a data property to base styles off of.":"输入一个数据属性作为样式的基础。",Default:t,Stops:o,Zoom:s,"Add stop":"添加停靠点","Convert to expression":"转换为表达式","Remove zoom level from stop":"从停靠点移除缩放级别","Revert from expression":"从表达式恢复","Delete expression":"删除表达式","Convert property into a zoom function":"将属性转换为缩放函数","Convert property to data function":"将属性转换为数据函数","Layer <1>{formatLayerId(layerId)}</1>: {parsed.data.message}":"图层<1>{formatLayerId(layerId)}</1>: {parsed.data.message}","switch to layer":"切换到图层",Map:"地图",Inspect:r,"Deuteranopia filter":"绿色盲滤镜","Protanopia filter":"红色盲滤镜","Tritanopia filter":"蓝色盲滤镜","Achromatopsia filter":"全色盲滤镜","Layers list":"图层列表","Layer editor":"图层编辑器","Map view":"地图视图","Maputnik on GitHub":"GitHub上的Maputnik",Open:a,Save:n,"Data Sources":"数据源","Style Settings":"样式设置",View:i,"Color accessibility":"颜色可访问性",Help:l,"Comments for the current layer. This is non-standard and not in the spec.":"当前图层的注释。注意:这不是标准功能,可能与其他库不兼容。",Comments:c,"Comment...":"写注释...","Max Zoom":"最大缩放","Min Zoom":"最小缩放",Source:p,"Source Layer":"源图层",Type:u,"Nested filters are not supported.":"不支持嵌套过滤器。","Upgrade to expression":"升级为表达式",Filter:d,"every filter matches":"每个过滤器都匹配","no filter matches":"没有过滤器匹配","any filter matches":"任何过滤器匹配","Add filter":"添加过滤器","You've entered an old style filter.":"您输入了一个旧风格的过滤器。","Switch to filter editor.":"切换到过滤器编辑器。","Delete filter block":"删除过滤器块","Add value":"添加值","Remove array item":"移除数组项目","Press <1>ESC</1> to lose focus":"按 <1>ESC</1> 键退出焦点","Must provide protocol: <1>https://</1>":"必须提供协议:<1>https://</1>","Must provide protocol: <1>http://</1> or <3>https://</3>":"必须提供协议:<1>http://</1> 或 <3>https://</3>","CORS policy won't allow fetching resources served over http from https, use a <1>https://</1> domain":"CORS 策略不允许从 https 访问通过 http 提供的资源,请使用 <1>https://</1> 域名。","General layout properties":"常规布局属性","Text layout properties":"文本布局属性","Icon layout properties":"图标布局属性","Text paint properties":"文本绘制属性","Icon paint properties":"图标绘制属性","Paint properties":"绘制属性","Layout properties":"布局属性",Layer:y,"JSON Editor":"JSON编辑器",Delete:h,Duplicate:S,Show:L,Hide:f,"Move layer up":"向上移动图层","Move layer down":"向下移动图层","Layer: {{layerId}}":"图层: {{layerId}}",Layers:m,Collapse:R,Expand:U,"Add Layer":"添加图层",Search:T,"Zoom:":"缩放:","Close popup":"关闭弹出窗口","cursor:":"光标:","center:":"中心:","rotation:":"旋转:","Close modal":"关闭模态框","Layer ID already exists":"图层ID已存在",Debug:O,Options:I,"Save Style":"保存样式","Save the JSON style to your computer.":"将JSON样式保存到您的计算机。","Save as":"另存为","Create HTML":"创建HTML",Cancel:v,"Open Style":"打开样式","Open local Style":"打开本地样式","Open a local JSON style from your computer.":"从您的计算机打开本地JSON样式。","Load from URL":"从URL加载","Load from a URL. Note that the URL must have <1>CORS enabled</1>.":"从URL加载。注意:URL必须启用 <1>CORS</1>。","Style URL":"样式URL","Enter URL...":"输入URL...","Gallery Styles":"画廊样式","Open one of the publicly available styles to start from.":"打开一个公开可用的样式开始。","Loading style":"正在加载样式","Loading: {{requestUrl}}":"正在加载: {{requestUrl}}",Name:g,Owner:b,"Owner ID of the style. Used by Mapbox or future style APIs.":"样式的所有者ID。由Mapbox或未来的样式API使用。","Sprite URL":"精灵URL","Glyphs URL":"字形URL",Center:M,Bearing:C,Pitch:N,"Light anchor":"光源锚点","Light color":"光源颜色","Light intensity":"光源强度","Light position":"光源位置","Terrain source":"地形源","Terrain exaggeration":"Line truncated
//# sourceMappingURL=translation-d6S34pLX.js.map
-1
View File
@@ -1 +0,0 @@
{"version":3,"file":"translation-d6S34pLX.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
+2
View File
@@ -0,0 +1,2 @@
const e="ベース",t="デフォルト",o="ストップ",s="ズーム",r="検査",a="開く",n="保存",i="表示",l="ヘルプ",c="コメント",p="ソース",u="タイプ",d="フィルタ",y="レイヤー",h="削除",L="複製",S="表示",f="非表示",m="レイヤー",R="畳む",U="展開",O="検索",T="デバッグ",I="設定",v="リンク",g="キャンセル",M="名前",b="所有者",C="中央",D="方位",N="ピッチ",J="ショートカット",P="画像",x="動画",A="ソース一覧",w="GeoJSON",E="クラスタ",k="エンコーディング",G="言語",z={"Input value":"入力値","Data value":"データ値","Output value":"値",Function:"関数","Select a type of data scale (default is 'categorical').":"データスケールの種類を選択してください(デフォルトは「categorical」です)。",Base:e,"Input a data property to base styles off of.":"スタイルのベースとなるデータプロパティを入力してください。",Default:t,Stops:o,Zoom:s,"Add stop":"ストップを追加","Convert to expression":"フィルタ式に変換","Remove zoom level from stop":"ズームレベルをストップから削除","Revert from expression":"式から戻す","Delete expression":"式を削除","Convert property into a zoom function":"プロパティをズーム関数に変換する","Convert property to data function":"プロパティをデータ関数に変換する","Layer <1>{formatLayerId(layerId)}</1>: {parsed.data.message}":"レイヤ<1>{formatLayerId(layerId)}</1>: {parsed.data.message}","switch to layer":"レイヤへ切替",Map:"地図",Inspect:r,"Deuteranopia filter":"緑色盲フィルタ","Protanopia filter":"赤色盲フィルタ","Tritanopia filter":"青色盲フィルタ","Achromatopsia filter":"全色盲フィルタ","Layers list":"レイヤー一覧","Layer editor":"レイヤーエディタ","Map view":"地図画面","Maputnik on GitHub":"GitHubのMaputnik",Open:a,Save:n,"Data Sources":"データソース","Style Settings":"スタイル設定",View:i,"Color accessibility":"色のアクセシビリティ",Help:l,"Comments for the current layer. This is non-standard and not in the spec.":"現在のレイヤーのコメント。注意:この機能は標準ではないため、他のライブラリとの互換性状況はわかりません。",Comments:c,"Comment...":"コメントを書く","Max Zoom":"最大ズーム","Min Zoom":"最小ズーム",Source:p,"Source Layer":"ソースレイヤ",Type:u,"Nested filters are not supported.":"ネストされたフィルタはサポートされていません。","Upgrade to expression":"式にアップグレード",Filter:d,"every filter matches":"全てのフィルタが一致","no filter matches":"フィルタが一致しない","any filter matches":"いずれかのフィルタが一致","Add filter":"フィルタを追加","You've entered an old style filter.":"旧型フィルタを使用しております。","Switch to filter editor.":"新型に変換","Delete filter block":"フィルタブロックを削除","Add value":"値を追加する","Remove array item":"配列の項目を削除","Press <1>ESC</1> to lose focus":"<1>ESC</1>を押すとフォーカスが外れます","Must provide protocol: <1>https://</1>":"プロトコルを指定してください: <1>https://</1>","Must provide protocol: <1>http://</1> or <3>https://</3>":"プロトコルを指定してください: <1>http://</1> または <3>https://</3>","CORS policy won't allow fetching resources served over http from https, use a <1>https://</1> domain":"CORS使用時は、http経由で提供されるリソースをhttpsから取得することはできません。<1>https://</1> ドメインを使用してください。","General layout properties":"一般レイアウトプロパティ","Text layout properties":"文字レイアウトプロパティ","Icon layout properties":"アイコンレイアウトプロパティ","Text paint properties":"文字ペイントプロパティ","Icon paint properties":"アイコンペイントプロパティ","Paint properties":"ペイントプロパティ","Layout properties":"レイアウトプロパティ",Layer:y,"JSON Editor":"JSONエディタ",Delete:h,Duplicate:L,Show:S,Hide:f,"Move layer up":"上に移動","Move layer down":"下に移動","Layer: {{layerId}}":"レイヤー {{layerId}}",Layers:m,Collapse:R,Expand:U,"Add Layer":"レイヤー追加",Search:O,"Zoom:":"ズーム:","Close popup":"ポップアップを閉じる","cursor:":"カーソル","center:":"中央:","rotation:":"回転角度:","Close modal":"モーダルを閉じる","Layer ID already exists":"レイヤーIDは既に存在します",Debug:T,Options:I,Links:v,"<0>Open in OSM</0>. Opens the current view on openstreetmap.org":"現在のビューを <0>openstreetmap.org で開く</0>","Save Style":"スタイルを保存","Save the JSON style to your computer.":"JSONスタイルをコンピュータに保存します。","Save as":"名前を付けLine truncated
//# sourceMappingURL=translation-lWWY9AxD.js.map
+1
View File
@@ -0,0 +1 @@
{"version":3,"file":"translation-lWWY9AxD.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
-2
View File
@@ -1,2 +0,0 @@
const e="בסיס",t="ברירת המחדל",o="עצירות",r="זום",s="בדיקה",a="פתיחה",n="שמור",i="תצוגה",c="עזרה",l="הערות",p="מקור",u="סוג",d="סינון",y="שכבה",h="מחיקה",S="שכפול",f="הצגה",m="הסתרה",L="שכבות",T="הקטנה",O="הגדלה",R="חיפוש",v="דיבאג",g="אפשרויות",b="ביטול",I="שם",M="שייך ל",U="מרכז",C="כיוון",N="זווית",P="קיצורי דרך",D="תמונה",J="וידאו",A="מקורות",x="GeoJSON",k="קיבוץ",w="קידוד",E="שפה",G={"Input value":"ערך קבלה","Data value":"ערך מידע","Output value":"ערך החזרה",Function:"פונקציה","Select a type of data scale (default is 'categorical').":"בחרו סוג מידע לטובת הגדלה (ברירת המחדל היא קטגוריה)",Base:e,"Input a data property to base styles off of.":"הכניסו מידע עליו יש לבסס את הסטייל",Default:t,Stops:o,Zoom:r,"Add stop":"הוספת עצירה","Convert to expression":"המחרה לביטוי","Remove zoom level from stop":"הסרת רמת זום מעצירה","Revert from expression":"החזרה מביטוי","Delete expression":"מחיקת ביטוי","Convert property into a zoom function":"המרה לפונקציית זום","Convert property to data function":"המרה לפונקציית מידע","Layer <1>{formatLayerId(layerId)}</1>: {parsed.data.message}":"שכבה <1>{formatLayerId(layerId)}</1>: {parsed.data.message}","switch to layer":"שינוי לשכבה",Map:"מפה",Inspect:s,"Deuteranopia filter":"Deuteranopia filter","Protanopia filter":"Protanopia filter","Tritanopia filter":"Tritanopia filter","Achromatopsia filter":"Achromatopsia filter","Layers list":"רשימת שכבות","Layer editor":"עורך השכבות","Map view":"תצוגת מפה","Maputnik on GitHub":"מפוטניק בגיטהב",Open:a,Save:n,"Data Sources":"מקורות מידע","Style Settings":"הגדרות הסטייל",View:i,"Color accessibility":"נגישות צבעים",Help:c,"Comments for the current layer. This is non-standard and not in the spec.":"הערות על השכבה הנוכחית. זה לא חלק מהספסיפיקציות",Comments:l,"Comment...":"הערה...","Max Zoom":"זום מקסימאלי","Min Zoom":"זום מינימאלי",Source:p,"Source Layer":"שכבת מקור",Type:u,"Nested filters are not supported.":"סינונים מקוננים אינם נתמכים","Upgrade to expression":"שדרוג לביטוי",Filter:d,"every filter matches":"כל הסינונים מתאימים","no filter matches":"אף סינון אינו מתאים","any filter matches":"אחד הסינוים מתאימים","Add filter":"הוספת סינון","You've entered an old style filter.":"הכנסתם סינון מסוג ישן,","Switch to filter editor.":"עברו לעורך הסינונים","Delete filter block":"מחיקת גוש מסנן","Add value":"הוספת ערך","Remove array item":"הסרת איבר מערך","Press <1>ESC</1> to lose focus":"לחצו על <1>ESC</1> על מנת לאבד פוקוס","Must provide protocol: <1>https://</1>":"נדרש פרוטוקול: <1>https://</1>","Must provide protocol: <1>http://</1> or <3>https://</3>":"נדרשים פרוטוקולים: <1>http://</1> או <3>https://</3>","CORS policy won't allow fetching resources served over http from https, use a <1>https://</1> domain":"CORS policy won't allow fetching resources served over http from https, use a <1>https://</1> domain","General layout properties":"תכונות פריסה כלליות","Text layout properties":"תכונות פריסה של טקסט","Icon layout properties":"תכונות פריסה של סמליל","Text paint properties":"תכונות ציור של טקסט","Icon paint properties":"תכונות ציור של סמליל","Paint properties":"תכונות ציור","Layout properties":"תכונות פריסה",Layer:y,"JSON Editor":"עורך JSON",Delete:h,Duplicate:S,Show:f,Hide:m,"Move layer up":"העלה שכבה","Move layer down":"הורד שכבה","Layer: {{layerId}}":"שכבה: {{layerId}}",Layers:L,Collapse:T,Expand:O,"Add Layer":"הוספת שכבה",Search:R,"Zoom:":"זום:","Close popup":"סגירת החלון","cursor:":"סמן","center:":"מרכז:","rotation:":"סיבוב:","Close modal":"סגירת חלונית","Layer ID already exists":"מזהה השכבה כבר קיים",Debug:v,Options:g,"Save Style":"שמירת הסטייל","Save the JSON style to your computer.":"שמירת הסטייל JSON במחשב שלך.","Save as":"שמירה בשם","Create HTML":"צור HTML",Cancel:b,"Open Style":"פתיחת סטייל","Open local Style":"פתיחת סטייל מקומי","Open a local JSON style from your computer.":"פתיחת סטייל JSON מקומי מהמחשב שלך.","Load from URL":"פתיחה מתוך כתובת","Load from a URL. Note that the URL must have <1>CORS enabled</1>Line truncated
//# sourceMappingURL=translation-nRlFu3v0.js.map
-1
View File
@@ -1 +0,0 @@
{"version":3,"file":"translation-nRlFu3v0.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
+2 -2
View File
@@ -37,8 +37,8 @@
}
</style>
<script type="module" crossorigin src="/maputnik/assets/index-aSoDnzBO.js"></script>
<link rel="stylesheet" crossorigin href="/maputnik/assets/index-D5XWAoUh.css">
<script type="module" crossorigin src="/maputnik/assets/index-BIbB1_sK.js"></script>
<link rel="stylesheet" crossorigin href="/maputnik/assets/index-bjjKS4qc.css">
</head>
<body>
<!-- From <https://github.com/hail2u/color-blindness-emulation> -->