This commit is contained in:
HarelM committed 2024-08-21 04:18:41 +00:00
1 parent 6d970fe73f
commit 987c3cd31e
5 files changed
+65 -62

No files matched your search

@@ -4,7 +4,7 @@ function __vite__mapDeps(indexes) {
}
return indexes.map((i) => __vite__mapDeps.viteFileDeps[i])
}
var Gq=Object.defineProperty;var $q=(n,e,t)=>e in n?Gq(n,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):n[e]=t;var sn=(n,e,t)=>($q(n,typeof e!="symbol"?e+"":e,t),t);(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))r(i);new MutationObserver(i=>{for(const o of i)if(o.type==="childList")for(const a of o.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&r(a)}).observe(document,{childList:!0,subtree:!0});function t(i){const o={};return i.integrity&&(o.integrity=i.integrity),i.referrerPolicy&&(o.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?o.credentials="include":i.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(i){if(i.ep)return;i.ep=!0;const o=t(i);fetch(i.href,o)}})();var Dh=typeof globalThis<"u"?globalThis:typeof window<"u"||typeof window<"u"?window:typeof self<"u"?self:{};function ma(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}function QB(n){if(n.__esModule)return n;var e=n.default;if(typeof e=="function"){var t=function r(){return this instanceof 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(r){var i=Object.getOwnPropertyDescriptor(n,r);Object.defineProperty(t,r,i.get?i:{enumerable:!0,get:function(){return n[r]}})}),t}var rF={exports:{}},P5={},iF={exports:{}},Bo={};/**
var Gq=Object.defineProperty;var $q=(n,e,t)=>e in n?Gq(n,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):n[e]=t;var sn=(n,e,t)=>($q(n,typeof e!="symbol"?e+"":e,t),t);(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))r(i);new MutationObserver(i=>{for(const o of i)if(o.type==="childList")for(const a of o.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&r(a)}).observe(document,{childList:!0,subtree:!0});function t(i){const o={};return i.integrity&&(o.integrity=i.integrity),i.referrerPolicy&&(o.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?o.credentials="include":i.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(i){if(i.ep)return;i.ep=!0;const o=t(i);fetch(i.href,o)}})();var Dh=typeof globalThis<"u"?globalThis:typeof window<"u"||typeof window<"u"?window:typeof self<"u"?self:{};function ma(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}function YB(n){if(n.__esModule)return n;var e=n.default;if(typeof e=="function"){var t=function r(){return this instanceof 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(r){var i=Object.getOwnPropertyDescriptor(n,r);Object.defineProperty(t,r,i.get?i:{enumerable:!0,get:function(){return n[r]}})}),t}var rF={exports:{}},P5={},iF={exports:{}},Bo={};/**
* @license React
* react.production.min.js
*
@@ -12,7 +12,7 @@ var Gq=Object.defineProperty;var $q=(n,e,t)=>e in n?Gq(n,e,{enumerable:!0,config
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var Bb=Symbol.for("react.element"),Qq=Symbol.for("react.portal"),Yq=Symbol.for("react.fragment"),qq=Symbol.for("react.strict_mode"),Vq=Symbol.for("react.profiler"),Hq=Symbol.for("react.provider"),Zq=Symbol.for("react.context"),Xq=Symbol.for("react.forward_ref"),Jq=Symbol.for("react.suspense"),eV=Symbol.for("react.memo"),tV=Symbol.for("react.lazy"),zk=Symbol.iterator;function nV(n){return n===null||typeof n!="object"?null:(n=zk&&n[zk]||n["@@iterator"],typeof n=="function"?n:null)}var oF={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},aF=Object.assign,sF={};function xv(n,e,t){this.props=n,this.context=e,this.refs=sF,this.updater=t||oF}xv.prototype.isReactComponent={};xv.prototype.setState=function(n,e){if(typeof n!="object"&&typeof n!="function"&&n!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,n,e,"setState")};xv.prototype.forceUpdate=function(n){this.updater.enqueueForceUpdate(this,n,"forceUpdate")};function lF(){}lF.prototype=xv.prototype;function YB(n,e,t){this.props=n,this.context=e,this.refs=sF,this.updater=t||oF}var qB=YB.prototype=new lF;qB.constructor=YB;aF(qB,xv.prototype);qB.isPureReactComponent=!0;var jk=Array.isArray,uF=Object.prototype.hasOwnProperty,VB={current:null},AF={key:!0,ref:!0,__self:!0,__source:!0};function cF(n,e,t){var r,i={},o=null,a=null;if(e!=null)for(r in e.ref!==void 0&&(a=e.ref),e.key!==void 0&&(o=""+e.key),e)uF.call(e,r)&&!AF.hasOwnProperty(r)&&(i[r]=e[r]);var s=arguments.length-2;if(s===1)i.children=t;else if(1<s){for(var d=Array(s),f=0;f<s;f++)d[f]=arguments[f+2];i.children=d}if(n&&n.defaultProps)for(r in s=n.defaultProps,s)i[r]===void 0&&(i[r]=s[r]);return{$$typeof:Bb,type:n,key:o,ref:a,props:i,_owner:VB.current}}function rV(n,e){return{$$typeof:Bb,type:n.type,key:e,ref:n.ref,props:n.props,_owner:n._owner}}function HB(n){return typeof n=="object"&&n!==null&&n.$$typeof===Bb}function iV(n){var e={"=":"=0",":":"=2"};return"$"+n.replace(/[=:]/g,function(t){return e[t]})}var Nk=/\/+/g;function $M(n,e){return typeof n=="object"&&n!==null&&n.key!=null?iV(""+n.key):e.toString(36)}function i3(n,e,t,r,i){var o=typeof n;(o==="undefined"||o==="boolean")&&(n=null);var a=!1;if(n===null)a=!0;else switch(o){case"string":case"number":a=!0;break;case"object":switch(n.$$typeof){case Bb:case Qq:a=!0}}if(a)return a=n,i=i(a),n=r===""?"."+$M(a,0):r,jk(i)?(t="",n!=null&&(t=n.replace(Nk,"$&/")+"/"),i3(i,e,t,"",function(f){return f})):i!=null&&(HB(i)&&(i=rV(i,t+(!i.key||a&&a.key===i.key?"":(""+i.key).replace(Nk,"$&/")+"/")+n)),e.push(i)),1;if(a=0,r=r===""?".":r+":",jk(n))for(var s=0;s<n.length;s++){o=n[s];var d=r+$M(o,s);a+=i3(o,e,t,d,i)}else if(d=nV(n),typeof d=="function")for(n=d.call(n),s=0;!(o=n.next()).done;)o=o.value,d=r+$M(o,s++),a+=i3(o,e,t,d,i);else if(o==="object")throw e=String(n),Error("Objects are not valid as a React child (found: "+(e==="[object Object]"?"object with keys {"+Object.keys(n).join(", ")+"}":e)+"). If you meant to render a collection of children, use an array instead.");return a}function t2(n,e,t){if(n==null)return n;var r=[],i=0;return i3(n,r,"","",function(o){return e.call(t,o,i++)}),r}function oV(n){if(n._status===-1){var e=n._result;e=e(),e.then(function(t){(n._status===0||n._status===-1)&&(n._status=1,n._result=t)},function(t){(n._status===0||n._status===-1)&&(n._status=2,n._result=t)}),n._status===-1&&(n._status=0,n._result=e)}if(n._status===1)return n._result.default;throw n._result}var $A={current:null},o3={transition:null},aV={ReactCurrentDispatcher:$A,ReactCurrentBatchConfig:o3,ReactCurrentOwner:VB};Bo.Children={map:t2,forEach:function(n,e,t){t2(n,function(){e.apply(this,arguments)},t)},count:function(n){var e=0;return t2(n,function(){e++}),e},toArray:function(n){return t2(n,function(e){return e})||[]},only:function(n){if(!HB(n))throw Error("React.Children.only expected to receive a single React element child.");return n}};Bo.Component=xv;Bo.Fragment=Yq;Bo.Profiler=Vq;Bo.PureComponent=YB;Bo.StrictMode=qq;Bo.Suspense=Jq;Bo.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=aV;Bo.cloneElement=function(n,e,t){if(n==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+n+".");var r=aF({},n.props),i=n.key,o=n.ref,a=n._owner;if(e!=null){if(e.ref!==void 0&&(o=e.ref,a=VB.current),e.key!==void 0&&(i=""+e.key),n.type&&n.type.defaultProps)var s=n.type.defaultProps;for(d in e)uF.call(e,d)&&!AF.hasOwnProperty(d)&&(r[d]=e[d]===void 0&&s!==void 0?s[d]:e[d])}var d=arguments.length-2;if(d===1)r.children=t;else if(1<d){s=Array(d);for(var f=0;f<d;f++)s[f]=arguments[f+2];r.children=s}return{$$typeof:Bb,type:n.type,key:i,ref:o,props:r,_owner:a}};Bo.createContext=function(n){return n={$$typeof:Zq,_currentValue:n,_currentValue2:n,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},n.Provider={$$typeof:Hq,_conLine truncated
*/var Bb=Symbol.for("react.element"),Qq=Symbol.for("react.portal"),Yq=Symbol.for("react.fragment"),qq=Symbol.for("react.strict_mode"),Vq=Symbol.for("react.profiler"),Hq=Symbol.for("react.provider"),Zq=Symbol.for("react.context"),Xq=Symbol.for("react.forward_ref"),Jq=Symbol.for("react.suspense"),eV=Symbol.for("react.memo"),tV=Symbol.for("react.lazy"),jk=Symbol.iterator;function nV(n){return n===null||typeof n!="object"?null:(n=jk&&n[jk]||n["@@iterator"],typeof n=="function"?n:null)}var oF={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},aF=Object.assign,sF={};function xv(n,e,t){this.props=n,this.context=e,this.refs=sF,this.updater=t||oF}xv.prototype.isReactComponent={};xv.prototype.setState=function(n,e){if(typeof n!="object"&&typeof n!="function"&&n!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,n,e,"setState")};xv.prototype.forceUpdate=function(n){this.updater.enqueueForceUpdate(this,n,"forceUpdate")};function lF(){}lF.prototype=xv.prototype;function qB(n,e,t){this.props=n,this.context=e,this.refs=sF,this.updater=t||oF}var VB=qB.prototype=new lF;VB.constructor=qB;aF(VB,xv.prototype);VB.isPureReactComponent=!0;var Nk=Array.isArray,uF=Object.prototype.hasOwnProperty,HB={current:null},AF={key:!0,ref:!0,__self:!0,__source:!0};function cF(n,e,t){var r,i={},o=null,a=null;if(e!=null)for(r in e.ref!==void 0&&(a=e.ref),e.key!==void 0&&(o=""+e.key),e)uF.call(e,r)&&!AF.hasOwnProperty(r)&&(i[r]=e[r]);var s=arguments.length-2;if(s===1)i.children=t;else if(1<s){for(var d=Array(s),f=0;f<s;f++)d[f]=arguments[f+2];i.children=d}if(n&&n.defaultProps)for(r in s=n.defaultProps,s)i[r]===void 0&&(i[r]=s[r]);return{$$typeof:Bb,type:n,key:o,ref:a,props:i,_owner:HB.current}}function rV(n,e){return{$$typeof:Bb,type:n.type,key:e,ref:n.ref,props:n.props,_owner:n._owner}}function ZB(n){return typeof n=="object"&&n!==null&&n.$$typeof===Bb}function iV(n){var e={"=":"=0",":":"=2"};return"$"+n.replace(/[=:]/g,function(t){return e[t]})}var Wk=/\/+/g;function $M(n,e){return typeof n=="object"&&n!==null&&n.key!=null?iV(""+n.key):e.toString(36)}function i3(n,e,t,r,i){var o=typeof n;(o==="undefined"||o==="boolean")&&(n=null);var a=!1;if(n===null)a=!0;else switch(o){case"string":case"number":a=!0;break;case"object":switch(n.$$typeof){case Bb:case Qq:a=!0}}if(a)return a=n,i=i(a),n=r===""?"."+$M(a,0):r,Nk(i)?(t="",n!=null&&(t=n.replace(Wk,"$&/")+"/"),i3(i,e,t,"",function(f){return f})):i!=null&&(ZB(i)&&(i=rV(i,t+(!i.key||a&&a.key===i.key?"":(""+i.key).replace(Wk,"$&/")+"/")+n)),e.push(i)),1;if(a=0,r=r===""?".":r+":",Nk(n))for(var s=0;s<n.length;s++){o=n[s];var d=r+$M(o,s);a+=i3(o,e,t,d,i)}else if(d=nV(n),typeof d=="function")for(n=d.call(n),s=0;!(o=n.next()).done;)o=o.value,d=r+$M(o,s++),a+=i3(o,e,t,d,i);else if(o==="object")throw e=String(n),Error("Objects are not valid as a React child (found: "+(e==="[object Object]"?"object with keys {"+Object.keys(n).join(", ")+"}":e)+"). If you meant to render a collection of children, use an array instead.");return a}function t2(n,e,t){if(n==null)return n;var r=[],i=0;return i3(n,r,"","",function(o){return e.call(t,o,i++)}),r}function oV(n){if(n._status===-1){var e=n._result;e=e(),e.then(function(t){(n._status===0||n._status===-1)&&(n._status=1,n._result=t)},function(t){(n._status===0||n._status===-1)&&(n._status=2,n._result=t)}),n._status===-1&&(n._status=0,n._result=e)}if(n._status===1)return n._result.default;throw n._result}var $A={current:null},o3={transition:null},aV={ReactCurrentDispatcher:$A,ReactCurrentBatchConfig:o3,ReactCurrentOwner:HB};Bo.Children={map:t2,forEach:function(n,e,t){t2(n,function(){e.apply(this,arguments)},t)},count:function(n){var e=0;return t2(n,function(){e++}),e},toArray:function(n){return t2(n,function(e){return e})||[]},only:function(n){if(!ZB(n))throw Error("React.Children.only expected to receive a single React element child.");return n}};Bo.Component=xv;Bo.Fragment=Yq;Bo.Profiler=Vq;Bo.PureComponent=qB;Bo.StrictMode=qq;Bo.Suspense=Jq;Bo.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=aV;Bo.cloneElement=function(n,e,t){if(n==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+n+".");var r=aF({},n.props),i=n.key,o=n.ref,a=n._owner;if(e!=null){if(e.ref!==void 0&&(o=e.ref,a=HB.current),e.key!==void 0&&(i=""+e.key),n.type&&n.type.defaultProps)var s=n.type.defaultProps;for(d in e)uF.call(e,d)&&!AF.hasOwnProperty(d)&&(r[d]=e[d]===void 0&&s!==void 0?s[d]:e[d])}var d=arguments.length-2;if(d===1)r.children=t;else if(1<d){s=Array(d);for(var f=0;f<d;f++)s[f]=arguments[f+2];r.children=s}return{$$typeof:Bb,type:n.type,key:i,ref:o,props:r,_owner:a}};Bo.createContext=function(n){return n={$$typeof:Zq,_currentValue:n,_currentValue2:n,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},n.Provider={$$typeof:Hq,_conLine truncated
* @license React
* react-jsx-runtime.production.min.js
*
@@ -20,7 +20,7 @@ var Gq=Object.defineProperty;var $q=(n,e,t)=>e in n?Gq(n,e,{enumerable:!0,config
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var sV=Wn,lV=Symbol.for("react.element"),uV=Symbol.for("react.fragment"),AV=Object.prototype.hasOwnProperty,cV=sV.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,dV={key:!0,ref:!0,__self:!0,__source:!0};function dF(n,e,t){var r,i={},o=null,a=null;t!==void 0&&(o=""+t),e.key!==void 0&&(o=""+e.key),e.ref!==void 0&&(a=e.ref);for(r in e)AV.call(e,r)&&!dV.hasOwnProperty(r)&&(i[r]=e[r]);if(n&&n.defaultProps)for(r in e=n.defaultProps,e)i[r]===void 0&&(i[r]=e[r]);return{$$typeof:lV,type:n,key:o,ref:a,props:i,_owner:cV.current}}P5.Fragment=uV;P5.jsx=dF;P5.jsxs=dF;rF.exports=P5;var G=rF.exports,hF={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},VE=Mn.createContext&&Mn.createContext(hF),hV=["attr","size","title"];function fV(n,e){if(n==null)return{};var t=pV(n,e),r,i;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(n);for(i=0;i<o.length;i++)r=o[i],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(n,r)&&(t[r]=n[r])}return t}function pV(n,e){if(n==null)return{};var t={},r=Object.keys(n),i,o;for(o=0;o<r.length;o++)i=r[o],!(e.indexOf(i)>=0)&&(t[i]=n[i]);return t}function T3(){return T3=Object.assign?Object.assign.bind():function(n){for(var e=1;e<arguments.length;e++){var t=arguments[e];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r])}return n},T3.apply(this,arguments)}function Wk(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(n);e&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(n,i).enumerable})),t.push.apply(t,r)}return t}function K3(n){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{};e%2?Wk(Object(t),!0).forEach(function(r){mV(n,r,t[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(t)):Wk(Object(t)).forEach(function(r){Object.defineProperty(n,r,Object.getOwnPropertyDescriptor(t,r))})}return n}function mV(n,e,t){return e=gV(e),e in n?Object.defineProperty(n,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):n[e]=t,n}function gV(n){var e=yV(n,"string");return typeof e=="symbol"?e:String(e)}function yV(n,e){if(typeof n!="object"||n===null)return n;var t=n[Symbol.toPrimitive];if(t!==void 0){var r=t.call(n,e||"default");if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(n)}function fF(n){return n&&n.map((e,t)=>Mn.createElement(e.tag,K3({key:t},e.attr),fF(e.child)))}function Xs(n){return e=>Mn.createElement(vV,T3({attr:K3({},n.attr)},e),fF(n.child))}function vV(n){var e=t=>{var{attr:r,size:i,title:o}=n,a=fV(n,hV),s=i||t.size||"1em",d;return t.className&&(d=t.className),n.className&&(d=(d?d+" ":"")+n.className),Mn.createElement("svg",T3({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},t.attr,r,a,{className:d,style:K3(K3({color:n.color||t.color},t.style),n.style),height:s,width:s,xmlns:"http://www.w3.org/2000/svg"}),o&&Mn.createElement("title",null,o),n.children)};return VE!==void 0?Mn.createElement(VE.Consumer,null,t=>e(t)):e(hF)}var pF={exports:{}},od={},mF={exports:{}},gF={};/**
*/var sV=Wn,lV=Symbol.for("react.element"),uV=Symbol.for("react.fragment"),AV=Object.prototype.hasOwnProperty,cV=sV.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,dV={key:!0,ref:!0,__self:!0,__source:!0};function dF(n,e,t){var r,i={},o=null,a=null;t!==void 0&&(o=""+t),e.key!==void 0&&(o=""+e.key),e.ref!==void 0&&(a=e.ref);for(r in e)AV.call(e,r)&&!dV.hasOwnProperty(r)&&(i[r]=e[r]);if(n&&n.defaultProps)for(r in e=n.defaultProps,e)i[r]===void 0&&(i[r]=e[r]);return{$$typeof:lV,type:n,key:o,ref:a,props:i,_owner:cV.current}}P5.Fragment=uV;P5.jsx=dF;P5.jsxs=dF;rF.exports=P5;var G=rF.exports,hF={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},HE=Mn.createContext&&Mn.createContext(hF),hV=["attr","size","title"];function fV(n,e){if(n==null)return{};var t=pV(n,e),r,i;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(n);for(i=0;i<o.length;i++)r=o[i],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(n,r)&&(t[r]=n[r])}return t}function pV(n,e){if(n==null)return{};var t={},r=Object.keys(n),i,o;for(o=0;o<r.length;o++)i=r[o],!(e.indexOf(i)>=0)&&(t[i]=n[i]);return t}function T3(){return T3=Object.assign?Object.assign.bind():function(n){for(var e=1;e<arguments.length;e++){var t=arguments[e];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r])}return n},T3.apply(this,arguments)}function Gk(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(n);e&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(n,i).enumerable})),t.push.apply(t,r)}return t}function K3(n){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{};e%2?Gk(Object(t),!0).forEach(function(r){mV(n,r,t[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(t)):Gk(Object(t)).forEach(function(r){Object.defineProperty(n,r,Object.getOwnPropertyDescriptor(t,r))})}return n}function mV(n,e,t){return e=gV(e),e in n?Object.defineProperty(n,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):n[e]=t,n}function gV(n){var e=yV(n,"string");return typeof e=="symbol"?e:String(e)}function yV(n,e){if(typeof n!="object"||n===null)return n;var t=n[Symbol.toPrimitive];if(t!==void 0){var r=t.call(n,e||"default");if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(n)}function fF(n){return n&&n.map((e,t)=>Mn.createElement(e.tag,K3({key:t},e.attr),fF(e.child)))}function Xs(n){return e=>Mn.createElement(vV,T3({attr:K3({},n.attr)},e),fF(n.child))}function vV(n){var e=t=>{var{attr:r,size:i,title:o}=n,a=fV(n,hV),s=i||t.size||"1em",d;return t.className&&(d=t.className),n.className&&(d=(d?d+" ":"")+n.className),Mn.createElement("svg",T3({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},t.attr,r,a,{className:d,style:K3(K3({color:n.color||t.color},t.style),n.style),height:s,width:s,xmlns:"http://www.w3.org/2000/svg"}),o&&Mn.createElement("title",null,o),n.children)};return HE!==void 0?Mn.createElement(HE.Consumer,null,t=>e(t)):e(hF)}var pF={exports:{}},od={},mF={exports:{}},gF={};/**
* @license React
* scheduler.production.min.js
*
@@ -36,28 +36,28 @@ var Gq=Object.defineProperty;var $q=(n,e,t)=>e in n?Gq(n,e,{enumerable:!0,config
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var yF=Wn,id=CV;function Yn(n){for(var e="https://reactjs.org/docs/error-decoder.html?invariant="+n,t=1;t<arguments.length;t++)e+="&args[]="+encodeURIComponent(arguments[t]);return"Minified React error #"+n+"; visit "+e+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var vF=new Set,L_={};function N1(n,e){iv(n,e),iv(n+"Capture",e)}function iv(n,e){for(L_[n]=e,n=0;n<e.length;n++)vF.add(e[n])}var Yp=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),HE=Object.prototype.hasOwnProperty,_V=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,Gk={},$k={};function bV(n){return HE.call($k,n)?!0:HE.call(Gk,n)?!1:_V.test(n)?$k[n]=!0:(Gk[n]=!0,!1)}function xV(n,e,t,r){if(t!==null&&t.type===0)return!1;switch(typeof e){case"function":case"symbol":return!0;case"boolean":return r?!1:t!==null?!t.acceptsBooleans:(n=n.toLowerCase().slice(0,5),n!=="data-"&&n!=="aria-");default:return!1}}function wV(n,e,t,r){if(e===null||typeof e>"u"||xV(n,e,t,r))return!0;if(r)return!1;if(t!==null)switch(t.type){case 3:return!e;case 4:return e===!1;case 5:return isNaN(e);case 6:return isNaN(e)||1>e}return!1}function QA(n,e,t,r,i,o,a){this.acceptsBooleans=e===2||e===3||e===4,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=t,this.propertyName=n,this.type=e,this.sanitizeURL=o,this.removeEmptyString=a}var Nu={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(n){Nu[n]=new QA(n,0,!1,n,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(n){var e=n[0];Nu[e]=new QA(e,1,!1,n[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(n){Nu[n]=new QA(n,2,!1,n.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(n){Nu[n]=new QA(n,2,!1,n,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(n){Nu[n]=new QA(n,3,!1,n.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(n){Nu[n]=new QA(n,3,!0,n,null,!1,!1)});["capture","download"].forEach(function(n){Nu[n]=new QA(n,4,!1,n,null,!1,!1)});["cols","rows","size","span"].forEach(function(n){Nu[n]=new QA(n,6,!1,n,null,!1,!1)});["rowSpan","start"].forEach(function(n){Nu[n]=new QA(n,5,!1,n.toLowerCase(),null,!1,!1)});var ZB=/[\-:]([a-z])/g;function XB(n){return n[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(n){var e=n.replace(ZB,XB);Nu[e]=new QA(e,1,!1,n,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(n){var e=n.replace(ZB,XB);Nu[e]=new QA(e,1,!1,n,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(n){var e=n.replace(ZB,XB);Nu[e]=new QA(e,1,!1,n,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(n){Nu[n]=new QA(n,1,!1,n.toLowerCase(),null,!1,!1)});Nu.xlinkHref=new QA("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(n){Nu[n]=new QA(n,1,!1,n.toLowerCase(),null,!0,!0)});function JB(n,e,t,r){var i=Nu.hasOwnProperty(e)?Nu[e]:null;(i!==null?i.type!==0:r||!(2<e.length)||e[0]!=="o"&&e[0]!= Line truncated
*/var yF=Wn,id=CV;function Yn(n){for(var e="https://reactjs.org/docs/error-decoder.html?invariant="+n,t=1;t<arguments.length;t++)e+="&args[]="+encodeURIComponent(arguments[t]);return"Minified React error #"+n+"; visit "+e+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var vF=new Set,L_={};function N1(n,e){iv(n,e),iv(n+"Capture",e)}function iv(n,e){for(L_[n]=e,n=0;n<e.length;n++)vF.add(e[n])}var Yp=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),ZE=Object.prototype.hasOwnProperty,_V=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,$k={},Qk={};function bV(n){return ZE.call(Qk,n)?!0:ZE.call($k,n)?!1:_V.test(n)?Qk[n]=!0:($k[n]=!0,!1)}function xV(n,e,t,r){if(t!==null&&t.type===0)return!1;switch(typeof e){case"function":case"symbol":return!0;case"boolean":return r?!1:t!==null?!t.acceptsBooleans:(n=n.toLowerCase().slice(0,5),n!=="data-"&&n!=="aria-");default:return!1}}function wV(n,e,t,r){if(e===null||typeof e>"u"||xV(n,e,t,r))return!0;if(r)return!1;if(t!==null)switch(t.type){case 3:return!e;case 4:return e===!1;case 5:return isNaN(e);case 6:return isNaN(e)||1>e}return!1}function QA(n,e,t,r,i,o,a){this.acceptsBooleans=e===2||e===3||e===4,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=t,this.propertyName=n,this.type=e,this.sanitizeURL=o,this.removeEmptyString=a}var Nu={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(n){Nu[n]=new QA(n,0,!1,n,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(n){var e=n[0];Nu[e]=new QA(e,1,!1,n[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(n){Nu[n]=new QA(n,2,!1,n.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(n){Nu[n]=new QA(n,2,!1,n,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(n){Nu[n]=new QA(n,3,!1,n.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(n){Nu[n]=new QA(n,3,!0,n,null,!1,!1)});["capture","download"].forEach(function(n){Nu[n]=new QA(n,4,!1,n,null,!1,!1)});["cols","rows","size","span"].forEach(function(n){Nu[n]=new QA(n,6,!1,n,null,!1,!1)});["rowSpan","start"].forEach(function(n){Nu[n]=new QA(n,5,!1,n.toLowerCase(),null,!1,!1)});var XB=/[\-:]([a-z])/g;function JB(n){return n[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(n){var e=n.replace(XB,JB);Nu[e]=new QA(e,1,!1,n,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(n){var e=n.replace(XB,JB);Nu[e]=new QA(e,1,!1,n,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(n){var e=n.replace(XB,JB);Nu[e]=new QA(e,1,!1,n,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(n){Nu[n]=new QA(n,1,!1,n.toLowerCase(),null,!1,!1)});Nu.xlinkHref=new QA("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(n){Nu[n]=new QA(n,1,!1,n.toLowerCase(),null,!0,!0)});function e7(n,e,t,r){var i=Nu.hasOwnProperty(e)?Nu[e]:null;(i!==null?i.type!==0:r||!(2<e.length)||e[0]!=="o"&&e[0]!= Line truncated
`+QM+n}var YM=!1;function qM(n,e){if(!n||YM)return"";YM=!0;var t=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(e)if(e=function(){throw Error()},Object.defineProperty(e.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(e,[])}catch(f){var r=f}Reflect.construct(n,[],e)}else{try{e.call()}catch(f){r=f}n.call(e.prototype)}else{try{throw Error()}catch(f){r=f}n()}}catch(f){if(f&&r&&typeof f.stack=="string"){for(var i=f.stack.split(`
`),o=r.stack.split(`
`),a=i.length-1,s=o.length-1;1<=a&&0<=s&&i[a]!==o[s];)s--;for(;1<=a&&0<=s;a--,s--)if(i[a]!==o[s]){if(a!==1||s!==1)do if(a--,s--,0>s||i[a]!==o[s]){var d=`
`+i[a].replace(" at new "," at ");return n.displayName&&d.includes("<anonymous>")&&(d=d.replace("<anonymous>",n.displayName)),d}while(1<=a&&0<=s);break}}}finally{YM=!1,Error.prepareStackTrace=t}return(n=n?n.displayName||n.name:"")?$C(n):""}function MV(n){switch(n.tag){case 5:return $C(n.type);case 16:return $C("Lazy");case 13:return $C("Suspense");case 19:return $C("SuspenseList");case 0:case 2:case 15:return n=qM(n.type,!1),n;case 11:return n=qM(n.type.render,!1),n;case 1:return n=qM(n.type,!0),n;default:return""}}function e6(n){if(n==null)return null;if(typeof n=="function")return n.displayName||n.name||null;if(typeof n=="string")return n;switch(n){case iy:return"Fragment";case ry:return"Portal";case ZE:return"Profiler";case e7:return"StrictMode";case XE:return"Suspense";case JE:return"SuspenseList"}if(typeof n=="object")switch(n.$$typeof){case _F:return(n.displayName||"Context")+".Consumer";case CF:return(n._context.displayName||"Context")+".Provider";case t7:var e=n.render;return n=n.displayName,n||(n=e.displayName||e.name||"",n=n!==""?"ForwardRef("+n+")":"ForwardRef"),n;case n7:return e=n.displayName||null,e!==null?e:e6(n.type)||"Memo";case Bm:e=n._payload,n=n._init;try{return e6(n(e))}catch{}}return null}function SV(n){var e=n.type;switch(n.tag){case 24:return"Cache";case 9:return(e.displayName||"Context")+".Consumer";case 10:return(e._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return n=e.render,n=n.displayName||n.name||"",e.displayName||(n!==""?"ForwardRef("+n+")":"ForwardRef");case 7:return"Fragment";case 5:return e;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return e6(e);case 8:return e===e7?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e}return null}function s0(n){switch(typeof n){case"boolean":case"number":case"string":case"undefined":return n;case"object":return n;default:return""}}function xF(n){var e=n.type;return(n=n.nodeName)&&n.toLowerCase()==="input"&&(e==="checkbox"||e==="radio")}function EV(n){var e=xF(n)?"checked":"value",t=Object.getOwnPropertyDescriptor(n.constructor.prototype,e),r=""+n[e];if(!n.hasOwnProperty(e)&&typeof t<"u"&&typeof t.get=="function"&&typeof t.set=="function"){var i=t.get,o=t.set;return Object.defineProperty(n,e,{configurable:!0,get:function(){return i.call(this)},set:function(a){r=""+a,o.call(this,a)}}),Object.defineProperty(n,e,{enumerable:t.enumerable}),{getValue:function(){return r},setValue:function(a){r=""+a},stopTracking:function(){n._valueTracker=null,delete n[e]}}}}function r2(n){n._valueTracker||(n._valueTracker=EV(n))}function wF(n){if(!n)return!1;var e=n._valueTracker;if(!e)return!0;var t=e.getValue(),r="";return n&&(r=xF(n)?n.checked?"true":"false":n.value),n=r,n!==t?(e.setValue(n),!0):!1}function P3(n){if(n=n||(typeof document<"u"?document:void 0),typeof n>"u")return null;try{return n.activeElement||n.body}catch{return n.body}}function t6(n,e){var t=e.checked;return Zs({},e,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:t??n._wrapperState.initialChecked})}function Yk(n,e){var t=e.defaultValue==null?"":e.defaultValue,r=e.checked!=null?e.checked:e.defaultChecked;t=s0(e.value!=null?e.value:t),n._wrapperState={initialChecked:r,initialValue:t,controlled:e.type==="checkbox"||e.type==="radio"?e.checked!=null:e.value!=null}}function MF(n,e){e=e.checked,e!=null&&JB(n,"checked",e,!1)}function n6(n,e){MF(n,e);var t=s0(e.value),r=e.type;if(t!=null)r==="number"?(t===0&&n.value===""||n.value!=t)&&(n.value=""+t):n.value!==""+t&&(n.value=""+t);else if(r==="submit"||r==="reset"){n.removeAttribute("value");return}e.hasOwnProperty("value")?r6(n,e.type,t):e.hasOwnProperty("defaultValue")&&r6(n,e.type,s0(e.defaultValue)),e.checked==null&&e.defaultChecked!=null&&(n.defaultChecked=!!e.defaultChecked)}function qk(n,e,t){if(e.hasOwnProperty("value")||e.hasOwnProperty("defaultValue")){var r=e.type;if(!(r!=="submit"&&r!=="reset"||e.value!==void 0&&e.value!==null))return;e=""+n._wrapperState.initialValue,t||e===n.value||(n.value=e),n.defaultValue=e}t=n.name,t!==""&&(n.name=""),n.defaultChecked=!!n._wrapperState.initialChecked,t!==""&&(n.name=t)}function r6(n,e,t){(e!=="number"||P3(n.ownerDocument)!==n)&&(t==null?n.defaultValue=""+n._wrapperState.initialValue:n.defaultValue!==""+t&&(n.defaultValue=""+t))}var QC=Array.isArray;function Oy(n,e,t,r){if(n=n.options,e){e={};for(var i=0;i<t.length;i++)e["$"+t[i]]=!0;for(t=0;t<n.length;t++)i=e.hasOwnProperty("$"+n[t].value),n[t].selected!==i&&(n[t].selected=i),i&&r&&(n[t].defaultSelected=!0)}else{for(t=""+s0(t),e=null,i=0;i<n.length;i++){if(n[i].value===t){n[i].selected=!0,r&&(n[i].defaultSelected=!0);return}e!==null||n[i].disabled||(e=n[i])}e!==null&&(e.selected=!0)}}function i6(n,e){if(e.dan Line truncated
`).replace(FH,"")}function c2(n,e,t){if(e=g9(e),g9(n)!==e&&t)throw Error(Yn(425))}function N3(){}var g6=null,y6=null;function v6(n,e){return n==="textarea"||n==="noscript"||typeof e.children=="string"||typeof e.children=="number"||typeof e.dangerouslySetInnerHTML=="object"&&e.dangerouslySetInnerHTML!==null&&e.dangerouslySetInnerHTML.__html!=null}var C6=typeof setTimeout=="function"?setTimeout:void 0,UH=typeof clearTimeout=="function"?clearTimeout:void 0,y9=typeof Promise=="function"?Promise:void 0,RH=typeof queueMicrotask=="function"?queueMicrotask:typeof y9<"u"?function(n){return y9.resolve(null).then(n).catch(zH)}:C6;function zH(n){setTimeout(function(){throw n})}function sS(n,e){var t=e,r=0;do{var i=t.nextSibling;if(n.removeChild(t),i&&i.nodeType===8)if(t=i.data,t==="/$"){if(r===0){n.removeChild(i),z_(e);return}r--}else t!=="$"&&t!=="$?"&&t!=="$!"||r++;t=i}while(t);z_(e)}function Vm(n){for(;n!=null;n=n.nextSibling){var e=n.nodeType;if(e===1||e===3)break;if(e===8){if(e=n.data,e==="$"||e==="$!"||e==="$?")break;if(e==="/$")return null}}return n}function v9(n){n=n.previousSibling;for(var e=0;n;){if(n.nodeType===8){var t=n.data;if(t==="$"||t==="$!"||t==="$?"){if(e===0)return n;e--}else t==="/$"&&e++}n=n.previousSibling}return null}var Mv=Math.random().toString(36).slice(2),Tf="__reactFiber$"+Mv,$_="__reactProps$"+Mv,qp="__reactContainer$"+Mv,_6="__reactEvents$"+Mv,jH="__reactListeners$"+Mv,NH="__reactHandles$"+Mv;function l1(n){var e=n[Tf];if(e)return e;for(var t=n.parentNode;t;){if(e=t[qp]||t[Tf]){if(t=e.alternate,e.child!==null||t!==null&&t.child!==null)for(n=v9(n);n!==null;){if(t=n[Tf])return t;n=v9(n)}return e}n=t,t=n.parentNode}return null}function Tb(n){return n=n[Tf]||n[qp],!n||n.tag!==5&&n.tag!==6&&n.tag!==13&&n.tag!==3?null:n}function ly(n){if(n.tag===5||n.tag===6)return n.stateNode;throw Error(Yn(33))}function R5(n){return n[$_]||null}var b6=[],uy=-1;function h0(n){return{current:n}}function _s(n){0>uy||(n.current=b6[uy],b6[uy]=null,uy--)}function ns(n,e){uy++,b6[uy]=n.current,n.current=e}var l0={},gA=h0(l0),wc=h0(!1),E1=l0;function ov(n,e){var t=n.type.contextTypes;if(!t)return l0;var r=n.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===e)return r.__reactInternalMemoizedMaskedChildContext;var i={},o;for(o in t)i[o]=e[o];return r&&(n=n.stateNode,n.__reactInternalMemoizedUnmaskedChildContext=e,n.__reactInternalMemoizedMaskedChildContext=i),i}function Mc(n){return n=n.childContextTypes,n!=null}function W3(){_s(wc),_s(gA)}function C9(n,e,t){if(gA.current!==l0)throw Error(Yn(168));ns(gA,e),ns(wc,t)}function hU(n,e,t){var r=n.stateNode;if(e=e.childContextTypes,typeof r.getChildContext!="function")return t;r=r.getChildContext();for(var i in r)if(!(i in e))throw Error(Yn(108,SV(n)||"Unknown",i));return Zs({},t,r)}function G3(n){return n=(n=n.stateNode)&&n.__reactInternalMemoizedMergedChildContext||l0,E1=gA.current,ns(gA,n),ns(wc,wc.current),!0}function _9(n,e,t){var r=n.stateNode;if(!r)throw Error(Yn(169));t?(n=hU(n,e,E1),r.__reactInternalMemoizedMergedChildContext=n,_s(wc),_s(gA),ns(gA,n)):_s(wc),ns(wc,t)}var Kp=null,z5=!1,lS=!1;function fU(n){Kp===null?Kp=[n]:Kp.push(n)}function WH(n){z5=!0,fU(n)}function f0(){if(!lS&&Kp!==null){lS=!0;var n=0,e=Ba;try{var t=Kp;for(Ba=1;n<t.length;n++){var r=t[n];do r=r(!0);while(r!==null)}Kp=null,z5=!1}catch(i){throw Kp!==null&&(Kp=Kp.slice(n+1)),RF(i7,f0),i}finally{Ba=e,lS=!1}}return null}var Ay=[],cy=0,$3=null,Q3=0,Pd=[],Ld=0,O1=null,Rp=1,zp="";function V0(n,e){Ay[cy++]=Q3,Ay[cy++]=$3,$3=n,Q3=e}function pU(n,e,t){Pd[Ld++]=Rp,Pd[Ld++]=zp,Pd[Ld++]=O1,O1=n;var r=Rp;n=zp;var i=32-Th(r)-1;r&=~(1<<i),t+=1;var o=32-Th(e)+i;if(30<o){var a=i-i%5;o=(r&(1<<a)-1).toString(32),r>>=a,i-=a,Rp=1<<32-Th(e)+i|t<<i|r,zp=o+n}else Rp=1<<o|t<<i|r,zp=n}function h7(n){n.return!==null&&(V0(n,1),pU(n,1,0))}function f7(n){for(;n===$3;)$3=Ay[--cy],Ay[cy]=null,Q3=Ay[--cy],Ay[cy]=null;for(;n===O1;)O1=Pd[--Ld],Pd[Ld]=null,zp=Pd[--Ld],Pd[Ld]=null,Rp=Pd[--Ld],Pd[Ld]=null}var td=null,Xc=null,Ks=!1,Ih=null;function mU(n,e){var t=Fd(5,null,null,0);t.elementType="DELETED",t.stateNode=e,t.return=n,e=n.deletions,e===null?(n.deletions=[t],n.flags|=16):e.push(t)}function b9(n,e){switch(n.tag){case 5:var t=n.type;return e=e.nodeType!==1||t.toLowerCase()!==e.nodeName.toLowerCase()?null:e,e!==null?(n.stateNode=e,td=n,Xc=Vm(e.firstChild),!0):!1;case 6:return e=n.pendingProps===""||e.nodeType!==3?null:e,e!==null?(n.stateNode=e,td=n,Xc=null,!0):!1;case 13:return e=e.nodeType!==8?null:e,e!==null?(t=O1!==null?{id:Rp,overflow:zp}:null,n.memoizedState={dehydrated:e,treeContext:t,retryLane:1073741824},t=Fd(18,null,null,0),t.stateNode=e,t.return=n,n.child=t,td=n,Xc=null,!0):!1;default:return!1}}function x6(n){return(n.mode&1)!==0&&(n.flags&128)===0}function w6(n){if(Ks){var e=Xc;if(e){var t=e;if(!b9(n,e)){if(x6(n))throw Error(Yn(418));e=Vm(t.nextSibling);var r=td;e&&b9(n,e)?mU(r,t):(n.flags=n.flags&-4097|2,Ks=!1,td=n)}}else{if(x6(n))throw Error(Yn(418));n.flags=n.flags&-4097|2,Ks=!1,td=n}}}function x9(n){ Line truncated
`+i[a].replace(" at new "," at ");return n.displayName&&d.includes("<anonymous>")&&(d=d.replace("<anonymous>",n.displayName)),d}while(1<=a&&0<=s);break}}}finally{YM=!1,Error.prepareStackTrace=t}return(n=n?n.displayName||n.name:"")?$C(n):""}function MV(n){switch(n.tag){case 5:return $C(n.type);case 16:return $C("Lazy");case 13:return $C("Suspense");case 19:return $C("SuspenseList");case 0:case 2:case 15:return n=qM(n.type,!1),n;case 11:return n=qM(n.type.render,!1),n;case 1:return n=qM(n.type,!0),n;default:return""}}function t6(n){if(n==null)return null;if(typeof n=="function")return n.displayName||n.name||null;if(typeof n=="string")return n;switch(n){case iy:return"Fragment";case ry:return"Portal";case XE:return"Profiler";case t7:return"StrictMode";case JE:return"Suspense";case e6:return"SuspenseList"}if(typeof n=="object")switch(n.$$typeof){case _F:return(n.displayName||"Context")+".Consumer";case CF:return(n._context.displayName||"Context")+".Provider";case n7:var e=n.render;return n=n.displayName,n||(n=e.displayName||e.name||"",n=n!==""?"ForwardRef("+n+")":"ForwardRef"),n;case r7:return e=n.displayName||null,e!==null?e:t6(n.type)||"Memo";case Bm:e=n._payload,n=n._init;try{return t6(n(e))}catch{}}return null}function SV(n){var e=n.type;switch(n.tag){case 24:return"Cache";case 9:return(e.displayName||"Context")+".Consumer";case 10:return(e._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return n=e.render,n=n.displayName||n.name||"",e.displayName||(n!==""?"ForwardRef("+n+")":"ForwardRef");case 7:return"Fragment";case 5:return e;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return t6(e);case 8:return e===t7?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e}return null}function s0(n){switch(typeof n){case"boolean":case"number":case"string":case"undefined":return n;case"object":return n;default:return""}}function xF(n){var e=n.type;return(n=n.nodeName)&&n.toLowerCase()==="input"&&(e==="checkbox"||e==="radio")}function EV(n){var e=xF(n)?"checked":"value",t=Object.getOwnPropertyDescriptor(n.constructor.prototype,e),r=""+n[e];if(!n.hasOwnProperty(e)&&typeof t<"u"&&typeof t.get=="function"&&typeof t.set=="function"){var i=t.get,o=t.set;return Object.defineProperty(n,e,{configurable:!0,get:function(){return i.call(this)},set:function(a){r=""+a,o.call(this,a)}}),Object.defineProperty(n,e,{enumerable:t.enumerable}),{getValue:function(){return r},setValue:function(a){r=""+a},stopTracking:function(){n._valueTracker=null,delete n[e]}}}}function r2(n){n._valueTracker||(n._valueTracker=EV(n))}function wF(n){if(!n)return!1;var e=n._valueTracker;if(!e)return!0;var t=e.getValue(),r="";return n&&(r=xF(n)?n.checked?"true":"false":n.value),n=r,n!==t?(e.setValue(n),!0):!1}function P3(n){if(n=n||(typeof document<"u"?document:void 0),typeof n>"u")return null;try{return n.activeElement||n.body}catch{return n.body}}function n6(n,e){var t=e.checked;return Zs({},e,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:t??n._wrapperState.initialChecked})}function qk(n,e){var t=e.defaultValue==null?"":e.defaultValue,r=e.checked!=null?e.checked:e.defaultChecked;t=s0(e.value!=null?e.value:t),n._wrapperState={initialChecked:r,initialValue:t,controlled:e.type==="checkbox"||e.type==="radio"?e.checked!=null:e.value!=null}}function MF(n,e){e=e.checked,e!=null&&e7(n,"checked",e,!1)}function r6(n,e){MF(n,e);var t=s0(e.value),r=e.type;if(t!=null)r==="number"?(t===0&&n.value===""||n.value!=t)&&(n.value=""+t):n.value!==""+t&&(n.value=""+t);else if(r==="submit"||r==="reset"){n.removeAttribute("value");return}e.hasOwnProperty("value")?i6(n,e.type,t):e.hasOwnProperty("defaultValue")&&i6(n,e.type,s0(e.defaultValue)),e.checked==null&&e.defaultChecked!=null&&(n.defaultChecked=!!e.defaultChecked)}function Vk(n,e,t){if(e.hasOwnProperty("value")||e.hasOwnProperty("defaultValue")){var r=e.type;if(!(r!=="submit"&&r!=="reset"||e.value!==void 0&&e.value!==null))return;e=""+n._wrapperState.initialValue,t||e===n.value||(n.value=e),n.defaultValue=e}t=n.name,t!==""&&(n.name=""),n.defaultChecked=!!n._wrapperState.initialChecked,t!==""&&(n.name=t)}function i6(n,e,t){(e!=="number"||P3(n.ownerDocument)!==n)&&(t==null?n.defaultValue=""+n._wrapperState.initialValue:n.defaultValue!==""+t&&(n.defaultValue=""+t))}var QC=Array.isArray;function Oy(n,e,t,r){if(n=n.options,e){e={};for(var i=0;i<t.length;i++)e["$"+t[i]]=!0;for(t=0;t<n.length;t++)i=e.hasOwnProperty("$"+n[t].value),n[t].selected!==i&&(n[t].selected=i),i&&r&&(n[t].defaultSelected=!0)}else{for(t=""+s0(t),e=null,i=0;i<n.length;i++){if(n[i].value===t){n[i].selected=!0,r&&(n[i].defaultSelected=!0);return}e!==null||n[i].disabled||(e=n[i])}e!==null&&(e.selected=!0)}}function o6(n,e){if(e.dan Line truncated
`).replace(FH,"")}function c2(n,e,t){if(e=y9(e),y9(n)!==e&&t)throw Error(Yn(425))}function N3(){}var y6=null,v6=null;function C6(n,e){return n==="textarea"||n==="noscript"||typeof e.children=="string"||typeof e.children=="number"||typeof e.dangerouslySetInnerHTML=="object"&&e.dangerouslySetInnerHTML!==null&&e.dangerouslySetInnerHTML.__html!=null}var _6=typeof setTimeout=="function"?setTimeout:void 0,UH=typeof clearTimeout=="function"?clearTimeout:void 0,v9=typeof Promise=="function"?Promise:void 0,RH=typeof queueMicrotask=="function"?queueMicrotask:typeof v9<"u"?function(n){return v9.resolve(null).then(n).catch(zH)}:_6;function zH(n){setTimeout(function(){throw n})}function sS(n,e){var t=e,r=0;do{var i=t.nextSibling;if(n.removeChild(t),i&&i.nodeType===8)if(t=i.data,t==="/$"){if(r===0){n.removeChild(i),z_(e);return}r--}else t!=="$"&&t!=="$?"&&t!=="$!"||r++;t=i}while(t);z_(e)}function Vm(n){for(;n!=null;n=n.nextSibling){var e=n.nodeType;if(e===1||e===3)break;if(e===8){if(e=n.data,e==="$"||e==="$!"||e==="$?")break;if(e==="/$")return null}}return n}function C9(n){n=n.previousSibling;for(var e=0;n;){if(n.nodeType===8){var t=n.data;if(t==="$"||t==="$!"||t==="$?"){if(e===0)return n;e--}else t==="/$"&&e++}n=n.previousSibling}return null}var Mv=Math.random().toString(36).slice(2),Tf="__reactFiber$"+Mv,$_="__reactProps$"+Mv,qp="__reactContainer$"+Mv,b6="__reactEvents$"+Mv,jH="__reactListeners$"+Mv,NH="__reactHandles$"+Mv;function l1(n){var e=n[Tf];if(e)return e;for(var t=n.parentNode;t;){if(e=t[qp]||t[Tf]){if(t=e.alternate,e.child!==null||t!==null&&t.child!==null)for(n=C9(n);n!==null;){if(t=n[Tf])return t;n=C9(n)}return e}n=t,t=n.parentNode}return null}function Tb(n){return n=n[Tf]||n[qp],!n||n.tag!==5&&n.tag!==6&&n.tag!==13&&n.tag!==3?null:n}function ly(n){if(n.tag===5||n.tag===6)return n.stateNode;throw Error(Yn(33))}function R5(n){return n[$_]||null}var x6=[],uy=-1;function h0(n){return{current:n}}function _s(n){0>uy||(n.current=x6[uy],x6[uy]=null,uy--)}function ns(n,e){uy++,x6[uy]=n.current,n.current=e}var l0={},gA=h0(l0),wc=h0(!1),E1=l0;function ov(n,e){var t=n.type.contextTypes;if(!t)return l0;var r=n.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===e)return r.__reactInternalMemoizedMaskedChildContext;var i={},o;for(o in t)i[o]=e[o];return r&&(n=n.stateNode,n.__reactInternalMemoizedUnmaskedChildContext=e,n.__reactInternalMemoizedMaskedChildContext=i),i}function Mc(n){return n=n.childContextTypes,n!=null}function W3(){_s(wc),_s(gA)}function _9(n,e,t){if(gA.current!==l0)throw Error(Yn(168));ns(gA,e),ns(wc,t)}function hU(n,e,t){var r=n.stateNode;if(e=e.childContextTypes,typeof r.getChildContext!="function")return t;r=r.getChildContext();for(var i in r)if(!(i in e))throw Error(Yn(108,SV(n)||"Unknown",i));return Zs({},t,r)}function G3(n){return n=(n=n.stateNode)&&n.__reactInternalMemoizedMergedChildContext||l0,E1=gA.current,ns(gA,n),ns(wc,wc.current),!0}function b9(n,e,t){var r=n.stateNode;if(!r)throw Error(Yn(169));t?(n=hU(n,e,E1),r.__reactInternalMemoizedMergedChildContext=n,_s(wc),_s(gA),ns(gA,n)):_s(wc),ns(wc,t)}var Kp=null,z5=!1,lS=!1;function fU(n){Kp===null?Kp=[n]:Kp.push(n)}function WH(n){z5=!0,fU(n)}function f0(){if(!lS&&Kp!==null){lS=!0;var n=0,e=Ba;try{var t=Kp;for(Ba=1;n<t.length;n++){var r=t[n];do r=r(!0);while(r!==null)}Kp=null,z5=!1}catch(i){throw Kp!==null&&(Kp=Kp.slice(n+1)),RF(o7,f0),i}finally{Ba=e,lS=!1}}return null}var Ay=[],cy=0,$3=null,Q3=0,Pd=[],Ld=0,O1=null,Rp=1,zp="";function V0(n,e){Ay[cy++]=Q3,Ay[cy++]=$3,$3=n,Q3=e}function pU(n,e,t){Pd[Ld++]=Rp,Pd[Ld++]=zp,Pd[Ld++]=O1,O1=n;var r=Rp;n=zp;var i=32-Th(r)-1;r&=~(1<<i),t+=1;var o=32-Th(e)+i;if(30<o){var a=i-i%5;o=(r&(1<<a)-1).toString(32),r>>=a,i-=a,Rp=1<<32-Th(e)+i|t<<i|r,zp=o+n}else Rp=1<<o|t<<i|r,zp=n}function f7(n){n.return!==null&&(V0(n,1),pU(n,1,0))}function p7(n){for(;n===$3;)$3=Ay[--cy],Ay[cy]=null,Q3=Ay[--cy],Ay[cy]=null;for(;n===O1;)O1=Pd[--Ld],Pd[Ld]=null,zp=Pd[--Ld],Pd[Ld]=null,Rp=Pd[--Ld],Pd[Ld]=null}var td=null,Xc=null,Ks=!1,Ih=null;function mU(n,e){var t=Fd(5,null,null,0);t.elementType="DELETED",t.stateNode=e,t.return=n,e=n.deletions,e===null?(n.deletions=[t],n.flags|=16):e.push(t)}function x9(n,e){switch(n.tag){case 5:var t=n.type;return e=e.nodeType!==1||t.toLowerCase()!==e.nodeName.toLowerCase()?null:e,e!==null?(n.stateNode=e,td=n,Xc=Vm(e.firstChild),!0):!1;case 6:return e=n.pendingProps===""||e.nodeType!==3?null:e,e!==null?(n.stateNode=e,td=n,Xc=null,!0):!1;case 13:return e=e.nodeType!==8?null:e,e!==null?(t=O1!==null?{id:Rp,overflow:zp}:null,n.memoizedState={dehydrated:e,treeContext:t,retryLane:1073741824},t=Fd(18,null,null,0),t.stateNode=e,t.return=n,n.child=t,td=n,Xc=null,!0):!1;default:return!1}}function w6(n){return(n.mode&1)!==0&&(n.flags&128)===0}function M6(n){if(Ks){var e=Xc;if(e){var t=e;if(!x9(n,e)){if(w6(n))throw Error(Yn(418));e=Vm(t.nextSibling);var r=td;e&&x9(n,e)?mU(r,t):(n.flags=n.flags&-4097|2,Ks=!1,td=n)}}else{if(w6(n))throw Error(Yn(418));n.flags=n.flags&-4097|2,Ks=!1,td=n}}}function w9(n){ Line truncated
Error generating stack: `+o.message+`
`+o.stack}return{value:n,source:e,stack:i,digest:null}}function hS(n,e,t){return{value:n,source:null,stack:t??null,digest:e??null}}function O6(n,e){try{console.error(e.value)}catch(t){setTimeout(function(){throw t})}}var XH=typeof WeakMap=="function"?WeakMap:Map;function GU(n,e,t){t=jp(-1,t),t.tag=3,t.payload={element:null};var r=e.value;return t.callback=function(){e4||(e4=!0,U6=r),O6(n,e)},t}function $U(n,e,t){t=jp(-1,t),t.tag=3;var r=n.type.getDerivedStateFromError;if(typeof r=="function"){var i=e.value;t.payload=function(){return r(i)},t.callback=function(){O6(n,e)}}var o=n.stateNode;return o!==null&&typeof o.componentDidCatch=="function"&&(t.callback=function(){O6(n,e),typeof r!="function"&&(Zm===null?Zm=new Set([this]):Zm.add(this));var a=e.stack;this.componentDidCatch(e.value,{componentStack:a!==null?a:""})}),t}function k9(n,e,t){var r=n.pingCache;if(r===null){r=n.pingCache=new XH;var i=new Set;r.set(e,i)}else i=r.get(e),i===void 0&&(i=new Set,r.set(e,i));i.has(t)||(i.add(t),n=dZ.bind(null,n,e,t),e.then(n,n))}function T9(n){do{var e;if((e=n.tag===13)&&(e=n.memoizedState,e=e!==null?e.dehydrated!==null:!0),e)return n;n=n.return}while(n!==null);return null}function K9(n,e,t,r,i){return n.mode&1?(n.flags|=65536,n.lanes=i,n):(n===e?n.flags|=65536:(n.flags|=128,t.flags|=131072,t.flags&=-52805,t.tag===1&&(t.alternate===null?t.tag=17:(e=jp(-1,1),e.tag=2,Hm(t,e,1))),t.lanes|=1),n)}var JH=Zp.ReactCurrentOwner,xc=!1;function RA(n,e,t,r){e.child=n===null?xU(e,null,t,r):sv(e,n.child,t,r)}function P9(n,e,t,r,i){t=t.render;var o=e.ref;return Ty(e,i),r=M7(n,e,t,r,o,i),t=S7(),n!==null&&!xc?(e.updateQueue=n.updateQueue,e.flags&=-2053,n.lanes&=~i,Hp(n,e,i)):(Ks&&t&&h7(e),e.flags|=1,RA(n,e,r,i),e.child)}function L9(n,e,t,r,i){if(n===null){var o=t.type;return typeof o=="function"&&!D7(o)&&o.defaultProps===void 0&&t.compare===null&&t.defaultProps===void 0?(e.tag=15,e.type=o,QU(n,e,o,r,i)):(n=p3(t.type,null,r,e,e.mode,i),n.ref=e.ref,n.return=e,e.child=n)}if(o=n.child,!(n.lanes&i)){var a=o.memoizedProps;if(t=t.compare,t=t!==null?t:N_,t(a,r)&&n.ref===e.ref)return Hp(n,e,i)}return e.flags|=1,n=Jm(o,r),n.ref=e.ref,n.return=e,e.child=n}function QU(n,e,t,r,i){if(n!==null){var o=n.memoizedProps;if(N_(o,r)&&n.ref===e.ref)if(xc=!1,e.pendingProps=r=o,(n.lanes&i)!==0)n.flags&131072&&(xc=!0);else return e.lanes=n.lanes,Hp(n,e,i)}return B6(n,e,t,r,i)}function YU(n,e,t){var r=e.pendingProps,i=r.children,o=n!==null?n.memoizedState:null;if(r.mode==="hidden")if(!(e.mode&1))e.memoizedState={baseLanes:0,cachePool:null,transitions:null},ns(fy,Yc),Yc|=t;else{if(!(t&1073741824))return n=o!==null?o.baseLanes|t:t,e.lanes=e.childLanes=1073741824,e.memoizedState={baseLanes:n,cachePool:null,transitions:null},e.updateQueue=null,ns(fy,Yc),Yc|=n,null;e.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=o!==null?o.baseLanes:t,ns(fy,Yc),Yc|=r}else o!==null?(r=o.baseLanes|t,e.memoizedState=null):r=t,ns(fy,Yc),Yc|=r;return RA(n,e,i,t),e.child}function qU(n,e){var t=e.ref;(n===null&&t!==null||n!==null&&n.ref!==t)&&(e.flags|=512,e.flags|=2097152)}function B6(n,e,t,r,i){var o=Mc(t)?E1:gA.current;return o=ov(e,o),Ty(e,i),t=M7(n,e,t,r,o,i),r=S7(),n!==null&&!xc?(e.updateQueue=n.updateQueue,e.flags&=-2053,n.lanes&=~i,Hp(n,e,i)):(Ks&&r&&h7(e),e.flags|=1,RA(n,e,t,i),e.child)}function D9(n,e,t,r,i){if(Mc(t)){var o=!0;G3(e)}else o=!1;if(Ty(e,i),e.stateNode===null)d3(n,e),_U(e,t,r),E6(e,t,r,i),r=!0;else if(n===null){var a=e.stateNode,s=e.memoizedProps;a.props=s;var d=a.context,f=t.contextType;typeof f=="object"&&f!==null?f=Wd(f):(f=Mc(t)?E1:gA.current,f=ov(e,f));var C=t.getDerivedStateFromProps,O=typeof C=="function"||typeof a.getSnapshotBeforeUpdate=="function";O||typeof a.UNSAFE_componentWillReceiveProps!="function"&&typeof a.componentWillReceiveProps!="function"||(s!==r||d!==f)&&E9(e,a,r,f),Im=!1;var E=e.memoizedState;a.state=E,V3(e,r,a,i),d=e.memoizedState,s!==r||E!==d||wc.current||Im?(typeof C=="function"&&(S6(e,t,C,r),d=e.memoizedState),(s=Im||S9(e,t,s,r,E,d,f))?(O||typeof a.UNSAFE_componentWillMount!="function"&&typeof a.componentWillMount!="function"||(typeof a.componentWillMount=="function"&&a.componentWillMount(),typeof a.UNSAFE_componentWillMount=="function"&&a.UNSAFE_componentWillMount()),typeof a.componentDidMount=="function"&&(e.flags|=4194308)):(typeof a.componentDidMount=="function"&&(e.flags|=4194308),e.memoizedProps=r,e.memoizedState=d),a.props=r,a.state=d,a.context=f,r=s):(typeof a.componentDidMount=="function"&&(e.flags|=4194308),r=!1)}else{a=e.stateNode,vU(n,e),s=e.memoizedProps,f=e.type===e.elementType?s:Mh(e.type,s),a.props=f,O=e.pendingProps,E=a.context,d=t.contextType,typeof d=="object"&&d!==null?d=Wd(d):(d=Mc(t)?E1:gA.current,d=ov(e,d));var P=t.getDerivedStateFromProps;(C=typeof P=="function"||typeof a.getSnapshotBeforeUpdate=="function")||typeof a.UNSAFE_componentWillReceiveProps!="function"&&typeof a.componentWillReceiveProps!="function"||(s!==O||E!==d)&&E9(e,a,r,d),Im=!1,E=e.memoizedState,a.state=E,V3(e,r,a,i);var L=e.memoizedS Line truncated
`+o.stack}return{value:n,source:e,stack:i,digest:null}}function hS(n,e,t){return{value:n,source:null,stack:t??null,digest:e??null}}function B6(n,e){try{console.error(e.value)}catch(t){setTimeout(function(){throw t})}}var XH=typeof WeakMap=="function"?WeakMap:Map;function GU(n,e,t){t=jp(-1,t),t.tag=3,t.payload={element:null};var r=e.value;return t.callback=function(){e4||(e4=!0,R6=r),B6(n,e)},t}function $U(n,e,t){t=jp(-1,t),t.tag=3;var r=n.type.getDerivedStateFromError;if(typeof r=="function"){var i=e.value;t.payload=function(){return r(i)},t.callback=function(){B6(n,e)}}var o=n.stateNode;return o!==null&&typeof o.componentDidCatch=="function"&&(t.callback=function(){B6(n,e),typeof r!="function"&&(Zm===null?Zm=new Set([this]):Zm.add(this));var a=e.stack;this.componentDidCatch(e.value,{componentStack:a!==null?a:""})}),t}function T9(n,e,t){var r=n.pingCache;if(r===null){r=n.pingCache=new XH;var i=new Set;r.set(e,i)}else i=r.get(e),i===void 0&&(i=new Set,r.set(e,i));i.has(t)||(i.add(t),n=dZ.bind(null,n,e,t),e.then(n,n))}function K9(n){do{var e;if((e=n.tag===13)&&(e=n.memoizedState,e=e!==null?e.dehydrated!==null:!0),e)return n;n=n.return}while(n!==null);return null}function P9(n,e,t,r,i){return n.mode&1?(n.flags|=65536,n.lanes=i,n):(n===e?n.flags|=65536:(n.flags|=128,t.flags|=131072,t.flags&=-52805,t.tag===1&&(t.alternate===null?t.tag=17:(e=jp(-1,1),e.tag=2,Hm(t,e,1))),t.lanes|=1),n)}var JH=Zp.ReactCurrentOwner,xc=!1;function RA(n,e,t,r){e.child=n===null?xU(e,null,t,r):sv(e,n.child,t,r)}function L9(n,e,t,r,i){t=t.render;var o=e.ref;return Ty(e,i),r=S7(n,e,t,r,o,i),t=E7(),n!==null&&!xc?(e.updateQueue=n.updateQueue,e.flags&=-2053,n.lanes&=~i,Hp(n,e,i)):(Ks&&t&&f7(e),e.flags|=1,RA(n,e,r,i),e.child)}function D9(n,e,t,r,i){if(n===null){var o=t.type;return typeof o=="function"&&!F7(o)&&o.defaultProps===void 0&&t.compare===null&&t.defaultProps===void 0?(e.tag=15,e.type=o,QU(n,e,o,r,i)):(n=p3(t.type,null,r,e,e.mode,i),n.ref=e.ref,n.return=e,e.child=n)}if(o=n.child,!(n.lanes&i)){var a=o.memoizedProps;if(t=t.compare,t=t!==null?t:N_,t(a,r)&&n.ref===e.ref)return Hp(n,e,i)}return e.flags|=1,n=Jm(o,r),n.ref=e.ref,n.return=e,e.child=n}function QU(n,e,t,r,i){if(n!==null){var o=n.memoizedProps;if(N_(o,r)&&n.ref===e.ref)if(xc=!1,e.pendingProps=r=o,(n.lanes&i)!==0)n.flags&131072&&(xc=!0);else return e.lanes=n.lanes,Hp(n,e,i)}return I6(n,e,t,r,i)}function YU(n,e,t){var r=e.pendingProps,i=r.children,o=n!==null?n.memoizedState:null;if(r.mode==="hidden")if(!(e.mode&1))e.memoizedState={baseLanes:0,cachePool:null,transitions:null},ns(fy,Yc),Yc|=t;else{if(!(t&1073741824))return n=o!==null?o.baseLanes|t:t,e.lanes=e.childLanes=1073741824,e.memoizedState={baseLanes:n,cachePool:null,transitions:null},e.updateQueue=null,ns(fy,Yc),Yc|=n,null;e.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=o!==null?o.baseLanes:t,ns(fy,Yc),Yc|=r}else o!==null?(r=o.baseLanes|t,e.memoizedState=null):r=t,ns(fy,Yc),Yc|=r;return RA(n,e,i,t),e.child}function qU(n,e){var t=e.ref;(n===null&&t!==null||n!==null&&n.ref!==t)&&(e.flags|=512,e.flags|=2097152)}function I6(n,e,t,r,i){var o=Mc(t)?E1:gA.current;return o=ov(e,o),Ty(e,i),t=S7(n,e,t,r,o,i),r=E7(),n!==null&&!xc?(e.updateQueue=n.updateQueue,e.flags&=-2053,n.lanes&=~i,Hp(n,e,i)):(Ks&&r&&f7(e),e.flags|=1,RA(n,e,t,i),e.child)}function F9(n,e,t,r,i){if(Mc(t)){var o=!0;G3(e)}else o=!1;if(Ty(e,i),e.stateNode===null)d3(n,e),_U(e,t,r),O6(e,t,r,i),r=!0;else if(n===null){var a=e.stateNode,s=e.memoizedProps;a.props=s;var d=a.context,f=t.contextType;typeof f=="object"&&f!==null?f=Wd(f):(f=Mc(t)?E1:gA.current,f=ov(e,f));var C=t.getDerivedStateFromProps,O=typeof C=="function"||typeof a.getSnapshotBeforeUpdate=="function";O||typeof a.UNSAFE_componentWillReceiveProps!="function"&&typeof a.componentWillReceiveProps!="function"||(s!==r||d!==f)&&O9(e,a,r,f),Im=!1;var E=e.memoizedState;a.state=E,V3(e,r,a,i),d=e.memoizedState,s!==r||E!==d||wc.current||Im?(typeof C=="function"&&(E6(e,t,C,r),d=e.memoizedState),(s=Im||E9(e,t,s,r,E,d,f))?(O||typeof a.UNSAFE_componentWillMount!="function"&&typeof a.componentWillMount!="function"||(typeof a.componentWillMount=="function"&&a.componentWillMount(),typeof a.UNSAFE_componentWillMount=="function"&&a.UNSAFE_componentWillMount()),typeof a.componentDidMount=="function"&&(e.flags|=4194308)):(typeof a.componentDidMount=="function"&&(e.flags|=4194308),e.memoizedProps=r,e.memoizedState=d),a.props=r,a.state=d,a.context=f,r=s):(typeof a.componentDidMount=="function"&&(e.flags|=4194308),r=!1)}else{a=e.stateNode,vU(n,e),s=e.memoizedProps,f=e.type===e.elementType?s:Mh(e.type,s),a.props=f,O=e.pendingProps,E=a.context,d=t.contextType,typeof d=="object"&&d!==null?d=Wd(d):(d=Mc(t)?E1:gA.current,d=ov(e,d));var P=t.getDerivedStateFromProps;(C=typeof P=="function"||typeof a.getSnapshotBeforeUpdate=="function")||typeof a.UNSAFE_componentWillReceiveProps!="function"&&typeof a.componentWillReceiveProps!="function"||(s!==O||E!==d)&&O9(e,a,r,d),Im=!1,E=e.memoizedState,a.state=E,V3(e,r,a,i);var L=e.memoizedS Line truncated
* The buffer module from node.js, for the browser.
*
* @author Feross Aboukhadijeh <https://feross.org>
* @license MIT
*/(function(n){const e=Z5,t=X5,r=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;n.Buffer=s,n.SlowBuffer=N,n.INSPECT_MAX_BYTES=50;const i=2147483647;n.kMaxLength=i,s.TYPED_ARRAY_SUPPORT=o(),!s.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 o(){try{const Ee=new Uint8Array(1),ee={foo:function(){return 42}};return Object.setPrototypeOf(ee,Uint8Array.prototype),Object.setPrototypeOf(Ee,ee),Ee.foo()===42}catch{return!1}}Object.defineProperty(s.prototype,"parent",{enumerable:!0,get:function(){if(s.isBuffer(this))return this.buffer}}),Object.defineProperty(s.prototype,"offset",{enumerable:!0,get:function(){if(s.isBuffer(this))return this.byteOffset}});function a(Ee){if(Ee>i)throw new RangeError('The value "'+Ee+'" is invalid for option "size"');const ee=new Uint8Array(Ee);return Object.setPrototypeOf(ee,s.prototype),ee}function s(Ee,ee,V){if(typeof Ee=="number"){if(typeof ee=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return O(Ee)}return d(Ee,ee,V)}s.poolSize=8192;function d(Ee,ee,V){if(typeof Ee=="string")return E(Ee,ee);if(ArrayBuffer.isView(Ee))return L(Ee);if(Ee==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof Ee);if(dr(Ee,ArrayBuffer)||Ee&&dr(Ee.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(dr(Ee,SharedArrayBuffer)||Ee&&dr(Ee.buffer,SharedArrayBuffer)))return $(Ee,ee,V);if(typeof Ee=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');const Ke=Ee.valueOf&&Ee.valueOf();if(Ke!=null&&Ke!==Ee)return s.from(Ke,ee,V);const At=H(Ee);if(At)return At;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof Ee[Symbol.toPrimitive]=="function")return s.from(Ee[Symbol.toPrimitive]("string"),ee,V);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof Ee)}s.from=function(Ee,ee,V){return d(Ee,ee,V)},Object.setPrototypeOf(s.prototype,Uint8Array.prototype),Object.setPrototypeOf(s,Uint8Array);function f(Ee){if(typeof Ee!="number")throw new TypeError('"size" argument must be of type number');if(Ee<0)throw new RangeError('The value "'+Ee+'" is invalid for option "size"')}function C(Ee,ee,V){return f(Ee),Ee<=0?a(Ee):ee!==void 0?typeof V=="string"?a(Ee).fill(ee,V):a(Ee).fill(ee):a(Ee)}s.alloc=function(Ee,ee,V){return C(Ee,ee,V)};function O(Ee){return f(Ee),a(Ee<0?0:Q(Ee)|0)}s.allocUnsafe=function(Ee){return O(Ee)},s.allocUnsafeSlow=function(Ee){return O(Ee)};function E(Ee,ee){if((typeof ee!="string"||ee==="")&&(ee="utf8"),!s.isEncoding(ee))throw new TypeError("Unknown encoding: "+ee);const V=Z(Ee,ee)|0;let Ke=a(V);const At=Ke.write(Ee,ee);return At!==V&&(Ke=Ke.slice(0,At)),Ke}function P(Ee){const ee=Ee.length<0?0:Q(Ee.length)|0,V=a(ee);for(let Ke=0;Ke<ee;Ke+=1)V[Ke]=Ee[Ke]&255;return V}function L(Ee){if(dr(Ee,Uint8Array)){const ee=new Uint8Array(Ee);return $(ee.buffer,ee.byteOffset,ee.byteLength)}return P(Ee)}function $(Ee,ee,V){if(ee<0||Ee.byteLength<ee)throw new RangeError('"offset" is outside of buffer bounds');if(Ee.byteLength<ee+(V||0))throw new RangeError('"length" is outside of buffer bounds');let Ke;return ee===void 0&&V===void 0?Ke=new Uint8Array(Ee):V===void 0?Ke=new Uint8Array(Ee,ee):Ke=new Uint8Array(Ee,ee,V),Object.setPrototypeOf(Ke,s.prototype),Ke}function H(Ee){if(s.isBuffer(Ee)){const ee=Q(Ee.length)|0,V=a(ee);return V.length===0||Ee.copy(V,0,0,ee),V}if(Ee.length!==void 0)return typeof Ee.length!="number"||Sr(Ee.length)?a(0):P(Ee);if(Ee.type==="Buffer"&&Array.isArray(Ee.data))return P(Ee.data)}function Q(Ee){if(Ee>=i)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+i.toString(16)+" bytes");return Ee|0}function N(Ee){return+Ee!=Ee&&(Ee=0),s.alloc(+Ee)}s.isBuffer=function(ee){return ee!=null&&ee._isBuffer===!0&&ee!==s.prototype},s.compare=function(ee,V){if(dr(ee,Uint8Array)&&(ee=s.from(ee,ee.offset,ee.byteLength)),dr(V,Uint8Array)&&(V=s.from(V,V.offset,V.byteLength)),!s.isBuffer(ee)||!s.isBuffer(V))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(ee===V)return 0;let Ke=ee.length,At=V.length;for(let Bt=0,kt=Math.min(Ke,At);Bt<kt;++Bt)if(ee[Bt]!==V[Bt]){Ke=ee[Bt],At=V[Bt];break}return Ke<At?-1:At<Ke?1:0},s.isEncoding=function(ee){switch(String(ee).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}},s.concat=function(ee,V){if(!Array.isArray(ee))throw new TypeError('"list" argument must be an Array of Buffers');if(ee.length===0)return s.alloc(0);let Ke;if(V===void 0)for(V=0,Ke=0;Ke<eeLine truncated
*/(function(n){const e=Z5,t=X5,r=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;n.Buffer=s,n.SlowBuffer=N,n.INSPECT_MAX_BYTES=50;const i=2147483647;n.kMaxLength=i,s.TYPED_ARRAY_SUPPORT=o(),!s.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 o(){try{const Ee=new Uint8Array(1),ee={foo:function(){return 42}};return Object.setPrototypeOf(ee,Uint8Array.prototype),Object.setPrototypeOf(Ee,ee),Ee.foo()===42}catch{return!1}}Object.defineProperty(s.prototype,"parent",{enumerable:!0,get:function(){if(s.isBuffer(this))return this.buffer}}),Object.defineProperty(s.prototype,"offset",{enumerable:!0,get:function(){if(s.isBuffer(this))return this.byteOffset}});function a(Ee){if(Ee>i)throw new RangeError('The value "'+Ee+'" is invalid for option "size"');const ee=new Uint8Array(Ee);return Object.setPrototypeOf(ee,s.prototype),ee}function s(Ee,ee,V){if(typeof Ee=="number"){if(typeof ee=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return O(Ee)}return d(Ee,ee,V)}s.poolSize=8192;function d(Ee,ee,V){if(typeof Ee=="string")return E(Ee,ee);if(ArrayBuffer.isView(Ee))return L(Ee);if(Ee==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof Ee);if(dr(Ee,ArrayBuffer)||Ee&&dr(Ee.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(dr(Ee,SharedArrayBuffer)||Ee&&dr(Ee.buffer,SharedArrayBuffer)))return $(Ee,ee,V);if(typeof Ee=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');const Ke=Ee.valueOf&&Ee.valueOf();if(Ke!=null&&Ke!==Ee)return s.from(Ke,ee,V);const At=H(Ee);if(At)return At;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof Ee[Symbol.toPrimitive]=="function")return s.from(Ee[Symbol.toPrimitive]("string"),ee,V);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof Ee)}s.from=function(Ee,ee,V){return d(Ee,ee,V)},Object.setPrototypeOf(s.prototype,Uint8Array.prototype),Object.setPrototypeOf(s,Uint8Array);function f(Ee){if(typeof Ee!="number")throw new TypeError('"size" argument must be of type number');if(Ee<0)throw new RangeError('The value "'+Ee+'" is invalid for option "size"')}function C(Ee,ee,V){return f(Ee),Ee<=0?a(Ee):ee!==void 0?typeof V=="string"?a(Ee).fill(ee,V):a(Ee).fill(ee):a(Ee)}s.alloc=function(Ee,ee,V){return C(Ee,ee,V)};function O(Ee){return f(Ee),a(Ee<0?0:Q(Ee)|0)}s.allocUnsafe=function(Ee){return O(Ee)},s.allocUnsafeSlow=function(Ee){return O(Ee)};function E(Ee,ee){if((typeof ee!="string"||ee==="")&&(ee="utf8"),!s.isEncoding(ee))throw new TypeError("Unknown encoding: "+ee);const V=Z(Ee,ee)|0;let Ke=a(V);const At=Ke.write(Ee,ee);return At!==V&&(Ke=Ke.slice(0,At)),Ke}function P(Ee){const ee=Ee.length<0?0:Q(Ee.length)|0,V=a(ee);for(let Ke=0;Ke<ee;Ke+=1)V[Ke]=Ee[Ke]&255;return V}function L(Ee){if(dr(Ee,Uint8Array)){const ee=new Uint8Array(Ee);return $(ee.buffer,ee.byteOffset,ee.byteLength)}return P(Ee)}function $(Ee,ee,V){if(ee<0||Ee.byteLength<ee)throw new RangeError('"offset" is outside of buffer bounds');if(Ee.byteLength<ee+(V||0))throw new RangeError('"length" is outside of buffer bounds');let Ke;return ee===void 0&&V===void 0?Ke=new Uint8Array(Ee):V===void 0?Ke=new Uint8Array(Ee,ee):Ke=new Uint8Array(Ee,ee,V),Object.setPrototypeOf(Ke,s.prototype),Ke}function H(Ee){if(s.isBuffer(Ee)){const ee=Q(Ee.length)|0,V=a(ee);return V.length===0||Ee.copy(V,0,0,ee),V}if(Ee.length!==void 0)return typeof Ee.length!="number"||Sr(Ee.length)?a(0):P(Ee);if(Ee.type==="Buffer"&&Array.isArray(Ee.data))return P(Ee.data)}function Q(Ee){if(Ee>=i)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+i.toString(16)+" bytes");return Ee|0}function N(Ee){return+Ee!=Ee&&(Ee=0),s.alloc(+Ee)}s.isBuffer=function(ee){return ee!=null&&ee._isBuffer===!0&&ee!==s.prototype},s.compare=function(ee,V){if(dr(ee,Uint8Array)&&(ee=s.from(ee,ee.offset,ee.byteLength)),dr(V,Uint8Array)&&(V=s.from(V,V.offset,V.byteLength)),!s.isBuffer(ee)||!s.isBuffer(V))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(ee===V)return 0;let Ke=ee.length,At=V.length;for(let Bt=0,kt=Math.min(Ke,At);Bt<kt;++Bt)if(ee[Bt]!==V[Bt]){Ke=ee[Bt],At=V[Bt];break}return Ke<At?-1:At<Ke?1:0},s.isEncoding=function(ee){switch(String(ee).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}},s.concat=function(ee,V){if(!Array.isArray(ee))throw new TypeError('"list" argument must be an Array of Buffers');if(ee.length===0)return s.alloc(0);let Ke;if(V===void 0)for(V=0,Ke=0;Ke<eeLine 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
*/A4.exports;(function(n,e){(function(){var t,r="4.17.21",i=200,o="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",a="Expected a function",s="Invalid `variable` option passed into `_.template`",d="__lodash_hash_undefined__",f=500,C="__lodash_placeholder__",O=1,E=2,P=4,L=1,$=2,H=1,Q=2,N=4,Z=8,ae=16,pe=32,fe=64,X=128,oe=256,Ce=512,we=30,Te="...",Pe=800,he=16,$e=1,ye=2,gt=3,yt=1/0,st=9007199254740991,ft=17976931348623157e292,Re=NaN,Ve=4294967295,Xe=Ve-1,Jt=Ve>>>1,Ht=[["ary",X],["bind",H],["bindKey",Q],["curry",Z],["curryRight",ae],["flip",Ce],["partial",pe],["partialRight",fe],["rearg",oe]],bt="[object Arguments]",Qt="[object Array]",Yt="[object AsyncFunction]",ke="[object Boolean]",ge="[object Date]",Se="[object DOMException]",ze="[object Error]",it="[object Function]",ot="[object GeneratorFunction]",St="[object Map]",Rt="[object Number]",zt="[object Null]",mt="[object Object]",or="[object Promise]",gn="[object Proxy]",yn="[object RegExp]",tr="[object Set]",dr="[object String]",Sr="[object Symbol]",Nr="[object Undefined]",yr="[object WeakMap]",_i="[object WeakSet]",Ee="[object ArrayBuffer]",ee="[object DataView]",V="[object Float32Array]",Ke="[object Float64Array]",At="[object Int8Array]",Bt="[object Int16Array]",kt="[object Int32Array]",Dt="[object Uint8Array]",fn="[object Uint8ClampedArray]",Pn="[object Uint16Array]",On="[object Uint32Array]",g=/\b__p \+= '';/g,Kt=/\b(__p \+=) '' \+/g,Pr=/(__e\(.*?\)|\b__t\)) \+\n'';/g,rr=/&(?:amp|lt|gt|quot|#39);/g,De=/[&<>"']/g,ce=RegExp(rr.source),xe=RegExp(De.source),Ie=/<%-([\s\S]+?)%>/g,je=/<%([\s\S]+?)%>/g,rt=/<%=([\s\S]+?)%>/g,lt=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,pt=/^\w*$/,et=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Mt=/[\\^$.*+?()[\]{}|]/g,tn=RegExp(Mt.source),qt=/^\s+/,en=/\s/,Fn=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Bn=/\{\n\/\* \[wrapped with (.+)\] \*/,Hn=/,? & /,Or=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,cr=/[()=,{}\[\]\/\s]/,Qr=/\\(\\)?/g,Br=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Fr=/\w*$/,ar=/^[-+]0x[0-9a-f]+$/i,di=/^0b[01]+$/i,Ui=/^\[object .+?Constructor\]$/,to=/^0o[0-7]+$/i,ho=/^(?:0|[1-9]\d*)$/,si=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,fo=/($^)/,Na=/['\n\r\u2028\u2029\\]/g,Ia="\\ud800-\\udfff",Ei="\\u0300-\\u036f",os="\\ufe20-\\ufe2f",yi="\\u20d0-\\u20ff",Gn=Ei+os+yi,ro="\\u2700-\\u27bf",Co="a-z\\xdf-\\xf6\\xf8-\\xff",Ri="\\xac\\xb1\\xd7\\xf7",_e="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",Je="\\u2000-\\u206f",Zt=" \\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",ln="A-Z\\xc0-\\xd6\\xd8-\\xde",Ft="\\ufe0e\\ufe0f",wn=Ri+_e+Je+Zt,hr="['’]",ii="["+Ia+"]",li="["+wn+"]",Jo="["+Gn+"]",Ka="\\d+",Lr="["+ro+"]",Wa="["+Co+"]",vi="[^"+Ia+wn+Ka+ro+Co+ln+"]",Ga="\\ud83c[\\udffb-\\udfff]",ea="(?:"+Jo+"|"+Ga+")",xu="[^"+Ia+"]",as="(?:\\ud83c[\\udde6-\\uddff]){2}",ta="[\\ud800-\\udbff][\\udc00-\\udfff]",na="["+ln+"]",bs="\\u200d",wu="(?:"+Wa+"|"+vi+")",ga="(?:"+na+"|"+vi+")",_A="(?:"+hr+"(?:d|ll|m|re|s|t|ve))?",Wu="(?:"+hr+"(?:D|LL|M|RE|S|T|VE))?",bA=ea+"?",Mu="["+Ft+"]?",Gu="(?:"+bs+"(?:"+[xu,as,ta].join("|")+")"+Mu+bA+")*",Wo="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",xs="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",nu=Mu+bA+Gu,ss="(?:"+[Lr,as,ta].join("|")+")"+nu,ll="(?:"+[xu+Jo+"?",Jo,as,ta,ii].join("|")+")",Go=RegExp(hr,"g"),Su=RegExp(Jo,"g"),ul=RegExp(Ga+"(?="+Ga+")|"+ll+nu,"g"),wl=RegExp([na+"?"+Wa+"+"+_A+"(?="+[li,na,"$"].join("|")+")",ga+"+"+Wu+"(?="+[li,na+wu,"$"].join("|")+")",na+"?"+wu+"+"+_A,na+"+"+Wu,xs,Wo,Ka,ss].join("|"),"g"),ru=RegExp("["+bs+Ia+Gn+Ft+"]"),ua=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Al=["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"],xA=-1,vo={};vo[V]=vo[Ke]=vo[At]=vo[Bt]=vo[kt]=vo[Dt]=vo[fn]=vo[Pn]=vo[On]=!0,vo[bt]=vo[Qt]=vo[Ee]=vo[ke]=vo[ee]=vo[ge]=vo[ze]=vo[it]=vo[St]=vo[Rt]=vo[mt]=vo[yn]=vo[tr]=vo[dr]=vo[yr]=!1;var io={};io[bt]=io[Qt]=io[Ee]=io[ee]=io[ke]=io[ge]=io[V]=io[Ke]=io[At]=io[Bt]=io[kt]=io[St]=io[Rt]=io[mt]=io[yn]=io[tr]=io[dr]=io[Sr]=io[Dt]=io[fn]=io[Pn]=io[On]=!0,io[ze]=io[it]=io[yr]=!1;var z={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ćLine truncated
*/A4.exports;(function(n,e){(function(){var t,r="4.17.21",i=200,o="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",a="Expected a function",s="Invalid `variable` option passed into `_.template`",d="__lodash_hash_undefined__",f=500,C="__lodash_placeholder__",O=1,E=2,P=4,L=1,$=2,H=1,Q=2,N=4,Z=8,ae=16,pe=32,fe=64,X=128,oe=256,Ce=512,we=30,Te="...",Pe=800,he=16,$e=1,ye=2,gt=3,yt=1/0,st=9007199254740991,ft=17976931348623157e292,Re=NaN,Ve=4294967295,Xe=Ve-1,Jt=Ve>>>1,Ht=[["ary",X],["bind",H],["bindKey",Q],["curry",Z],["curryRight",ae],["flip",Ce],["partial",pe],["partialRight",fe],["rearg",oe]],bt="[object Arguments]",Qt="[object Array]",Yt="[object AsyncFunction]",ke="[object Boolean]",ge="[object Date]",Se="[object DOMException]",ze="[object Error]",it="[object Function]",ot="[object GeneratorFunction]",St="[object Map]",Rt="[object Number]",zt="[object Null]",mt="[object Object]",or="[object Promise]",gn="[object Proxy]",yn="[object RegExp]",tr="[object Set]",dr="[object String]",Sr="[object Symbol]",Nr="[object Undefined]",yr="[object WeakMap]",_i="[object WeakSet]",Ee="[object ArrayBuffer]",ee="[object DataView]",V="[object Float32Array]",Ke="[object Float64Array]",At="[object Int8Array]",Bt="[object Int16Array]",kt="[object Int32Array]",Dt="[object Uint8Array]",fn="[object Uint8ClampedArray]",Pn="[object Uint16Array]",On="[object Uint32Array]",g=/\b__p \+= '';/g,Kt=/\b(__p \+=) '' \+/g,Pr=/(__e\(.*?\)|\b__t\)) \+\n'';/g,rr=/&(?:amp|lt|gt|quot|#39);/g,De=/[&<>"']/g,ce=RegExp(rr.source),xe=RegExp(De.source),Ie=/<%-([\s\S]+?)%>/g,je=/<%([\s\S]+?)%>/g,rt=/<%=([\s\S]+?)%>/g,lt=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,pt=/^\w*$/,et=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Mt=/[\\^$.*+?()[\]{}|]/g,tn=RegExp(Mt.source),qt=/^\s+/,en=/\s/,Fn=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Bn=/\{\n\/\* \[wrapped with (.+)\] \*/,Hn=/,? & /,Or=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,cr=/[()=,{}\[\]\/\s]/,Qr=/\\(\\)?/g,Br=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Fr=/\w*$/,ar=/^[-+]0x[0-9a-f]+$/i,di=/^0b[01]+$/i,Ui=/^\[object .+?Constructor\]$/,to=/^0o[0-7]+$/i,ho=/^(?:0|[1-9]\d*)$/,si=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,fo=/($^)/,Na=/['\n\r\u2028\u2029\\]/g,Ia="\\ud800-\\udfff",Ei="\\u0300-\\u036f",os="\\ufe20-\\ufe2f",yi="\\u20d0-\\u20ff",Gn=Ei+os+yi,ro="\\u2700-\\u27bf",Co="a-z\\xdf-\\xf6\\xf8-\\xff",Ri="\\xac\\xb1\\xd7\\xf7",_e="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",Je="\\u2000-\\u206f",Zt=" \\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",ln="A-Z\\xc0-\\xd6\\xd8-\\xde",Ft="\\ufe0e\\ufe0f",wn=Ri+_e+Je+Zt,hr="['’]",ii="["+Ia+"]",li="["+wn+"]",Jo="["+Gn+"]",Ka="\\d+",Lr="["+ro+"]",Wa="["+Co+"]",vi="[^"+Ia+wn+Ka+ro+Co+ln+"]",Ga="\\ud83c[\\udffb-\\udfff]",ea="(?:"+Jo+"|"+Ga+")",xu="[^"+Ia+"]",as="(?:\\ud83c[\\udde6-\\uddff]){2}",ta="[\\ud800-\\udbff][\\udc00-\\udfff]",na="["+ln+"]",bs="\\u200d",wu="(?:"+Wa+"|"+vi+")",ga="(?:"+na+"|"+vi+")",_A="(?:"+hr+"(?:d|ll|m|re|s|t|ve))?",Wu="(?:"+hr+"(?:D|LL|M|RE|S|T|VE))?",bA=ea+"?",Mu="["+Ft+"]?",Gu="(?:"+bs+"(?:"+[xu,as,ta].join("|")+")"+Mu+bA+")*",Wo="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",xs="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",nu=Mu+bA+Gu,ss="(?:"+[Lr,as,ta].join("|")+")"+nu,ul="(?:"+[xu+Jo+"?",Jo,as,ta,ii].join("|")+")",Go=RegExp(hr,"g"),Su=RegExp(Jo,"g"),Al=RegExp(Ga+"(?="+Ga+")|"+ul+nu,"g"),Ml=RegExp([na+"?"+Wa+"+"+_A+"(?="+[li,na,"$"].join("|")+")",ga+"+"+Wu+"(?="+[li,na+wu,"$"].join("|")+")",na+"?"+wu+"+"+_A,na+"+"+Wu,xs,Wo,Ka,ss].join("|"),"g"),ru=RegExp("["+bs+Ia+Gn+Ft+"]"),ua=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,cl=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],xA=-1,vo={};vo[V]=vo[Ke]=vo[At]=vo[Bt]=vo[kt]=vo[Dt]=vo[fn]=vo[Pn]=vo[On]=!0,vo[bt]=vo[Qt]=vo[Ee]=vo[ke]=vo[ee]=vo[ge]=vo[ze]=vo[it]=vo[St]=vo[Rt]=vo[mt]=vo[yn]=vo[tr]=vo[dr]=vo[yr]=!1;var io={};io[bt]=io[Qt]=io[Ee]=io[ee]=io[ke]=io[ge]=io[V]=io[Ke]=io[At]=io[Bt]=io[kt]=io[St]=io[Rt]=io[mt]=io[yn]=io[tr]=io[dr]=io[Sr]=io[Dt]=io[fn]=io[Pn]=io[On]=!0,io[ze]=io[it]=io[yr]=!1;var z={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ćLine truncated
/* [wrapped with `+S+`] */
`)}function p(v){return re(v)||J(v)||!!(np&&v&&v[np])}function x(v,S){var D=typeof v;return S=S??st,!!S&&(D=="number"||D!="symbol"&&ho.test(v))&&v>-1&&v%1==0&&v<S}function b(v,S,D){if(!xn(D))return!1;var te=typeof S;return(te=="number"?be(D)&&x(S,D.length):te=="string"&&S in D)?K(D[S],v):!1}function B(v,S){if(re(v))return!1;var D=typeof v;return D=="number"||D=="symbol"||D=="boolean"||v==null||Xo(v)?!0:pt.test(v)||!lt.test(v)||S!=null&&v in Ko(S)}function U(v){var S=typeof v;return S=="string"||S=="number"||S=="symbol"||S=="boolean"?v!=="__proto__":v===null}function q(v){var S=hh(v),D=Fe[S];if(typeof D!="function"||!(S in Yr.prototype))return!1;if(v===D)return!0;var te=zc(D);return!!te&&v===te[0]}function ne(v){return!!Qh&&Qh in v}var ue=qu?zn:GM;function ve(v){var S=v&&v.constructor,D=typeof S=="function"&&S.prototype||Qa;return v===D}function Qe(v){return v===v&&!xn(v)}function nt(v,S){return function(D){return D==null?!1:D[v]===S&&(S!==t||v in Ko(D))}}function Ot(v){var S=vm(v,function(te){return D.size===f&&D.clear(),te}),D=S.cache;return S}function Ct(v,S){var D=v[1],te=S[1],Me=D|te,We=Me<(H|Q|X),ut=te==X&&D==Z||te==X&&D==oe&&v[7].length<=S[8]||te==(X|oe)&&S[7].length<=S[8]&&D==Z;if(!(We||ut))return v;te&H&&(v[2]=S[2],Me|=D&H?0:N);var _t=S[3];if(_t){var Tt=v[3];v[3]=Tt?sh(Tt,_t,S[4]):_t,v[4]=Tt?Rl(v[3],C):S[4]}return _t=S[5],_t&&(Tt=v[5],v[5]=Tt?lf(Tt,_t,S[6]):_t,v[6]=Tt?Rl(v[5],C):S[6]),_t=S[7],_t&&(v[7]=_t),te&X&&(v[8]=v[8]==null?S[8]:ca(v[8],S[8])),v[9]==null&&(v[9]=S[9]),v[0]=S[0],v[1]=Me,v}function Nt(v){var S=[];if(v!=null)for(var D in Ko(v))S.push(D);return S}function cn(v){return lu.call(v)}function kn(v,S,D){return S=ao(S===t?v.length-1:S,0),function(){for(var te=arguments,Me=-1,We=ao(te.length-S,0),ut=jt(We);++Me<We;)ut[Me]=te[S+Me];Me=-1;for(var _t=jt(S+1);++Me<S;)_t[Me]=te[Me];return _t[S]=D(ut),ya(v,this,_t)}}function Vn(v,S){return S.length<2?v:Ss(v,Da(S,0,-1))}function bn(v,S){for(var D=v.length,te=ca(S.length,D),Me=el(v);te--;){var We=S[te];v[te]=x(We,D)?Me[We]:t}return v}function Rn(v,S){if(!(S==="constructor"&&typeof v[S]=="function")&&S!="__proto__")return v[S]}var lr=Ro(om),Tr=eA||function(v,S){return vr.setTimeout(v,S)},_r=Ro(tg);function fi(v,S,D){var te=S+"";return _r(v,A(te,cs(Ya(te),D)))}function Ro(v){var S=0,D=0;return function(){var te=xr(),Me=he-(te-D);if(D=te,Me>0){if(++S>=Pe)return arguments[0]}else S=0;return v.apply(t,arguments)}}function qa(v,S){var D=-1,te=v.length,Me=te-1;for(S=S===t?te:S;++D<S;){var We=rm(D,Me),ut=v[We];v[We]=v[D],v[D]=ut}return v.length=S,v}var wa=Ot(function(v){var S=[];return v.charCodeAt(0)===46&&S.push(""),v.replace(et,function(D,te,Me,We){S.push(Me?We.replace(Qr,"$1"):te||D)}),S});function Fa(v){if(typeof v=="string"||Xo(v))return v;var S=v+"";return S=="0"&&1/v==-yt?"-0":S}function As(v){if(v!=null){try{return ls.call(v)}catch{}try{return v+""}catch{}}return""}function cs(v,S){return ou(Ht,function(D){var te="_."+D[0];S&D[1]&&!ud(v,te)&&v.push(te)}),v.sort()}function El(v){if(v instanceof Yr)return v.clone();var S=new $i(v.__wrapped__,v.__chain__);return S.__actions__=el(v.__actions__),S.__index__=v.__index__,S.__values__=v.__values__,S}function tl(v,S,D){(D?b(v,S,D):S===t)?S=1:S=ao(Jr(S),0);var te=v==null?0:v.length;if(!te||S<1)return[];for(var Me=0,We=0,ut=jt(Mo(te/S));Me<te;)ut[We++]=Da(v,Me,Me+=S);return ut}function Bs(v){for(var S=-1,D=v==null?0:v.length,te=0,Me=[];++S<D;){var We=v[S];We&&(Me[te++]=We)}return Me}function ds(){var v=arguments.length;if(!v)return[];for(var S=jt(v-1),D=arguments[0],te=v;te--;)S[te-1]=arguments[te];return Qu(re(D)?el(D):[D],so(S,1))}var ha=Qi(function(v,S){return Be(v)?ei(v,so(S,1,Be,!0)):[]}),Is=Qi(function(v,S){var D=KA(S);return Be(D)&&(D=t),Be(v)?ei(v,so(S,1,Be,!0),Xr(D,2)):[]}),fh=Qi(function(v,S){var D=KA(S);return Be(D)&&(D=t),Be(v)?ei(v,so(S,1,Be,!0),t,D):[]});function dc(v,S,D){var te=v==null?0:v.length;return te?(S=D||S===t?1:Jr(S),Da(v,S<0?0:S,te)):[]}function js(v,S,D){var te=v==null?0:v.length;return te?(S=D||S===t?1:Jr(S),S=te-S,Da(v,0,S<0?0:S)):[]}function hc(v,S){return v&&v.length?_d(v,Xr(S,3),!0,!0):[]}function Ns(v,S){return v&&v.length?_d(v,Xr(S,3),!0):[]}function K0(v,S,D,te){var Me=v==null?0:v.length;return Me?(D&&typeof D!="number"&&b(v,S,D)&&(D=0,te=Me),La(v,S,D,te)):[]}function TA(v,S,D){var te=v==null?0:v.length;if(!te)return-1;var Me=D==null?0:Jr(D);return Me<0&&(Me=ao(te+Me,0)),Ki(v,Xr(S,3),Me)}function Nc(v,S,D){var te=v==null?0:v.length;if(!te)return-1;var Me=te-1;return D!==t&&(Me=Jr(D),Me=D<0?ao(te+Me,0):ca(Me,te-1)),Ki(v,Xr(S,3),Me,!0)}function Va(v){var S=v==null?0:v.length;return S?so(v,1):[]}function nl(v){var S=v==null?0:v.length;return S?so(v,yt):[]}function ph(v,S){var D=v==null?0:v.length;return D?(S=S===t?1:Jr(S),so(v,S)):[]}function fc(v){for(var S=-1,D=v==null?0:v.length,te={};++S<D;){var Me=v[S];te[Me[0]]=Me[1]}return te}function fm(v){return v&&v.length?v[0]:t}function P0(v,S,D){var te=v==null?0:v.length;if(!te)return-1;var Me=D==null?0:Jr(D);return Me<0&&(Me=ao( Line truncated
`)}function p(v){return re(v)||J(v)||!!(np&&v&&v[np])}function x(v,S){var D=typeof v;return S=S??st,!!S&&(D=="number"||D!="symbol"&&ho.test(v))&&v>-1&&v%1==0&&v<S}function b(v,S,D){if(!xn(D))return!1;var te=typeof S;return(te=="number"?be(D)&&x(S,D.length):te=="string"&&S in D)?K(D[S],v):!1}function B(v,S){if(re(v))return!1;var D=typeof v;return D=="number"||D=="symbol"||D=="boolean"||v==null||Xo(v)?!0:pt.test(v)||!lt.test(v)||S!=null&&v in Ko(S)}function U(v){var S=typeof v;return S=="string"||S=="number"||S=="symbol"||S=="boolean"?v!=="__proto__":v===null}function q(v){var S=hh(v),D=Fe[S];if(typeof D!="function"||!(S in Yr.prototype))return!1;if(v===D)return!0;var te=zc(D);return!!te&&v===te[0]}function ne(v){return!!Qh&&Qh in v}var ue=qu?zn:GM;function ve(v){var S=v&&v.constructor,D=typeof S=="function"&&S.prototype||Qa;return v===D}function Qe(v){return v===v&&!xn(v)}function nt(v,S){return function(D){return D==null?!1:D[v]===S&&(S!==t||v in Ko(D))}}function Ot(v){var S=vm(v,function(te){return D.size===f&&D.clear(),te}),D=S.cache;return S}function Ct(v,S){var D=v[1],te=S[1],Me=D|te,We=Me<(H|Q|X),ut=te==X&&D==Z||te==X&&D==oe&&v[7].length<=S[8]||te==(X|oe)&&S[7].length<=S[8]&&D==Z;if(!(We||ut))return v;te&H&&(v[2]=S[2],Me|=D&H?0:N);var _t=S[3];if(_t){var Tt=v[3];v[3]=Tt?sh(Tt,_t,S[4]):_t,v[4]=Tt?Rl(v[3],C):S[4]}return _t=S[5],_t&&(Tt=v[5],v[5]=Tt?lf(Tt,_t,S[6]):_t,v[6]=Tt?Rl(v[5],C):S[6]),_t=S[7],_t&&(v[7]=_t),te&X&&(v[8]=v[8]==null?S[8]:ca(v[8],S[8])),v[9]==null&&(v[9]=S[9]),v[0]=S[0],v[1]=Me,v}function Nt(v){var S=[];if(v!=null)for(var D in Ko(v))S.push(D);return S}function cn(v){return lu.call(v)}function kn(v,S,D){return S=ao(S===t?v.length-1:S,0),function(){for(var te=arguments,Me=-1,We=ao(te.length-S,0),ut=jt(We);++Me<We;)ut[Me]=te[S+Me];Me=-1;for(var _t=jt(S+1);++Me<S;)_t[Me]=te[Me];return _t[S]=D(ut),ya(v,this,_t)}}function Vn(v,S){return S.length<2?v:Ss(v,Da(S,0,-1))}function bn(v,S){for(var D=v.length,te=ca(S.length,D),Me=el(v);te--;){var We=S[te];v[te]=x(We,D)?Me[We]:t}return v}function Rn(v,S){if(!(S==="constructor"&&typeof v[S]=="function")&&S!="__proto__")return v[S]}var lr=Ro(om),Tr=eA||function(v,S){return vr.setTimeout(v,S)},_r=Ro(tg);function fi(v,S,D){var te=S+"";return _r(v,A(te,cs(Ya(te),D)))}function Ro(v){var S=0,D=0;return function(){var te=xr(),Me=he-(te-D);if(D=te,Me>0){if(++S>=Pe)return arguments[0]}else S=0;return v.apply(t,arguments)}}function qa(v,S){var D=-1,te=v.length,Me=te-1;for(S=S===t?te:S;++D<S;){var We=rm(D,Me),ut=v[We];v[We]=v[D],v[D]=ut}return v.length=S,v}var wa=Ot(function(v){var S=[];return v.charCodeAt(0)===46&&S.push(""),v.replace(et,function(D,te,Me,We){S.push(Me?We.replace(Qr,"$1"):te||D)}),S});function Fa(v){if(typeof v=="string"||Xo(v))return v;var S=v+"";return S=="0"&&1/v==-yt?"-0":S}function As(v){if(v!=null){try{return ls.call(v)}catch{}try{return v+""}catch{}}return""}function cs(v,S){return ou(Ht,function(D){var te="_."+D[0];S&D[1]&&!ud(v,te)&&v.push(te)}),v.sort()}function Ol(v){if(v instanceof Yr)return v.clone();var S=new $i(v.__wrapped__,v.__chain__);return S.__actions__=el(v.__actions__),S.__index__=v.__index__,S.__values__=v.__values__,S}function tl(v,S,D){(D?b(v,S,D):S===t)?S=1:S=ao(Jr(S),0);var te=v==null?0:v.length;if(!te||S<1)return[];for(var Me=0,We=0,ut=jt(Mo(te/S));Me<te;)ut[We++]=Da(v,Me,Me+=S);return ut}function Bs(v){for(var S=-1,D=v==null?0:v.length,te=0,Me=[];++S<D;){var We=v[S];We&&(Me[te++]=We)}return Me}function ds(){var v=arguments.length;if(!v)return[];for(var S=jt(v-1),D=arguments[0],te=v;te--;)S[te-1]=arguments[te];return Qu(re(D)?el(D):[D],so(S,1))}var ha=Qi(function(v,S){return Be(v)?ei(v,so(S,1,Be,!0)):[]}),Is=Qi(function(v,S){var D=KA(S);return Be(D)&&(D=t),Be(v)?ei(v,so(S,1,Be,!0),Xr(D,2)):[]}),fh=Qi(function(v,S){var D=KA(S);return Be(D)&&(D=t),Be(v)?ei(v,so(S,1,Be,!0),t,D):[]});function dc(v,S,D){var te=v==null?0:v.length;return te?(S=D||S===t?1:Jr(S),Da(v,S<0?0:S,te)):[]}function js(v,S,D){var te=v==null?0:v.length;return te?(S=D||S===t?1:Jr(S),S=te-S,Da(v,0,S<0?0:S)):[]}function hc(v,S){return v&&v.length?_d(v,Xr(S,3),!0,!0):[]}function Ns(v,S){return v&&v.length?_d(v,Xr(S,3),!0):[]}function K0(v,S,D,te){var Me=v==null?0:v.length;return Me?(D&&typeof D!="number"&&b(v,S,D)&&(D=0,te=Me),La(v,S,D,te)):[]}function TA(v,S,D){var te=v==null?0:v.length;if(!te)return-1;var Me=D==null?0:Jr(D);return Me<0&&(Me=ao(te+Me,0)),Ki(v,Xr(S,3),Me)}function Nc(v,S,D){var te=v==null?0:v.length;if(!te)return-1;var Me=te-1;return D!==t&&(Me=Jr(D),Me=D<0?ao(te+Me,0):ca(Me,te-1)),Ki(v,Xr(S,3),Me,!0)}function Va(v){var S=v==null?0:v.length;return S?so(v,1):[]}function nl(v){var S=v==null?0:v.length;return S?so(v,yt):[]}function ph(v,S){var D=v==null?0:v.length;return D?(S=S===t?1:Jr(S),so(v,S)):[]}function fc(v){for(var S=-1,D=v==null?0:v.length,te={};++S<D;){var Me=v[S];te[Me[0]]=Me[1]}return te}function fm(v){return v&&v.length?v[0]:t}function P0(v,S,D){var te=v==null?0:v.length;if(!te)return-1;var Me=D==null?0:Jr(D);return Me<0&&(Me=ao( Line truncated
`;v.replace(pr,function(xi,bo,Lo,Gc,FA,$c){return Lo||(Lo=Gc),Tn+=v.slice(Cn,$c).replace(Na,wA),bo&&(_t=!0,Tn+=`' +
__e(`+bo+`) +
'`),FA&&(Tt=!0,Tn+=`';
@@ -74,14 +74,14 @@ __p += '`),Lo&&(Tn+=`' +
function print() { __p += __j.call(arguments, '') }
`:`;
`)+Tn+`return __p
}`;var lo=Fk(function(){return oo(We,Hr+"return "+Tn).apply(t,ut)});if(lo.source=Tn,rn(lo))throw lo;return lo}function ZY(v){return pi(v).toLowerCase()}function XY(v){return pi(v).toUpperCase()}function JY(v,S,D){if(v=pi(v),v&&(D||S===t))return HA(v);if(!v||!(S=Ku(S)))return v;var te=jl(v),Me=jl(S),We=Ul(te,Me),ut=Tc(te,Me)+1;return Rc(te,We,ut).join("")}function eq(v,S,D){if(v=pi(v),v&&(D||S===t))return v.slice(0,Zd(v)+1);if(!v||!(S=Ku(S)))return v;var te=jl(v),Me=Tc(te,jl(S))+1;return Rc(te,0,Me).join("")}function tq(v,S,D){if(v=pi(v),v&&(D||S===t))return v.replace(qt,"");if(!v||!(S=Ku(S)))return v;var te=jl(v),Me=Ul(te,jl(S));return Rc(te,Me).join("")}function nq(v,S){var D=we,te=Te;if(xn(S)){var Me="separator"in S?S.separator:Me;D="length"in S?Jr(S.length):D,te="omission"in S?Ku(S.omission):te}v=pi(v);var We=v.length;if(XA(v)){var ut=jl(v);We=ut.length}if(D>=We)return v;var _t=D-Bu(te);if(_t<1)return te;var Tt=ut?Rc(ut,0,_t).join(""):v.slice(0,_t);if(Me===t)return Tt+te;if(ut&&(_t+=Tt.length-_t),fu(Me)){if(v.slice(_t).search(Me)){var Cn,_n=Tt;for(Me.global||(Me=SA(Me.source,pi(Fr.exec(Me))+"g")),Me.lastIndex=0;Cn=Me.exec(_n);)var Tn=Cn.index;Tt=Tt.slice(0,Tn===t?_t:Tn)}}else if(v.indexOf(Ku(Me),_t)!=_t){var pr=Tt.lastIndexOf(Me);pr>-1&&(Tt=Tt.slice(0,pr))}return Tt+te}function rq(v){return v=pi(v),v&&ce.test(v)?v.replace(rr,Pc):v}var iq=Af(function(v,S,D){return v+(D?" ":"")+S.toUpperCase()}),UM=uf("toUpperCase");function Dk(v,S,D){return v=pi(v),S=D?t:S,S===t?tp(v)?dd(v):em(v):v.match(S)||[]}var Fk=Qi(function(v,S){try{return ya(v,t,S)}catch(D){return rn(D)?D:new ui(D)}}),oq=cc(function(v,S){return ou(S,function(D){D=Fa(D),qn(v,D,xg(v[D],v))}),v});function aq(v){var S=v==null?0:v.length,D=Xr();return v=S?ra(v,function(te){if(typeof te[1]!="function")throw new Po(a);return[D(te[0]),te[1]]}):[],Qi(function(te){for(var Me=-1;++Me<S;){var We=v[Me];if(ya(We[0],this,te))return ya(We[1],this,te)}})}function sq(v){return hi(Cr(v,O))}function RM(v){return function(){return v}}function lq(v,S){return v==null||v!==v?S:v}var uq=sm(),Aq=sm(!0);function yc(v){return v}function zM(v){return oA(typeof v=="function"?v:Cr(v,O))}function cq(v){return tf(Cr(v,O))}function dq(v,S){return nf(v,Cr(S,O))}var hq=Qi(function(v,S){return function(D){return uc(D,v,S)}}),fq=Qi(function(v,S){return function(D){return uc(v,D,S)}});function jM(v,S,D){var te=kl(S),Me=Gl(S,te);D==null&&!(xn(S)&&(Me.length||!te.length))&&(D=S,S=v,v=this,Me=Gl(S,kl(S)));var We=!(xn(D)&&"chain"in D)||!!D.chain,ut=zn(v);return ou(Me,function(_t){var Tt=S[_t];v[_t]=Tt,ut&&(v.prototype[_t]=function(){var Cn=this.__chain__;if(We||Cn){var _n=v(this.__wrapped__),Tn=_n.__actions__=el(this.__actions__);return Tn.push({func:Tt,args:arguments,thisArg:v}),_n.__chain__=Cn,_n}return Tt.apply(v,Qu([this.value()],arguments))})}),v}function pq(){return vr._===this&&(vr._=Ca),this}function NM(){}function mq(v){return v=Jr(v),Qi(function(S){return ih(S,v)})}var gq=um(ra),yq=um(ld),vq=um(kc);function Uk(v){return B(v)?Jf(Fa(v)):b0(v)}function Cq(v){return function(S){return v==null?t:Ss(v,S)}}var _q=ch(),bq=ch(!0);function WM(){return[]}function GM(){return!1}function xq(){return{}}function wq(){return""}function Mq(){return!0}function Sq(v,S){if(v=Jr(v),v<1||v>st)return[];var D=Ve,te=ca(v,Ve);S=Xr(S),v-=Ve;for(var Me=To(te,S);++D<v;)S(D);return Me}function Eq(v){return re(v)?ra(v,Fa):Xo(v)?[v]:el(wa(pi(v)))}function Oq(v){var S=++$h;return pi(v)+S}var Bq=Ah(function(v,S){return v+S},0),Iq=I0("ceil"),kq=Ah(function(v,S){return v/S},1),Tq=I0("floor");function Kq(v){return v&&v.length?Rs(v,yc,ia):t}function Pq(v,S){return v&&v.length?Rs(v,Xr(S,2),ia):t}function Lq(v){return Yu(v,yc)}function Dq(v,S){return Yu(v,Xr(S,2))}function Fq(v){return v&&v.length?Rs(v,yc,aA):t}function Uq(v,S){return v&&v.length?Rs(v,Xr(S,2),aA):t}var Rq=Ah(function(v,S){return v*S},1),zq=I0("round"),jq=Ah(function(v,S){return v-S},0);function Nq(v){return v&&v.length?VA(v,yc):0}function Wq(v,S){return v&&v.length?VA(v,Xr(S,2)):0}return Fe.after=Cf,Fe.ary=bg,Fe.assign=pc,Fe.assignIn=mc,Fe.assignInWith=AA,Fe.assignWith=gh,Fe.at=gc,Fe.before=sC,Fe.bind=xg,Fe.bindAll=oq,Fe.bindKey=wg,Fe.castArray=c,Fe.chain=rC,Fe.chunk=tl,Fe.compact=Bs,Fe.concat=ds,Fe.cond=aq,Fe.conforms=sq,Fe.constant=RM,Fe.countBy=Ux,Fe.create=LA,Fe.curry=qx,Fe.curryRight=lC,Fe.debounce=uC,Fe.defaults=Du,Fe.defaultsDeep=yh,Fe.defer=BM,Fe.delay=Vx,Fe.difference=ha,Fe.differenceBy=Is,Fe.differenceWith=fh,Fe.drop=dc,Fe.dropRight=js,Fe.dropRightWhile=hc,Fe.dropWhile=Ns,Fe.fill=K0,Fe.filter=zx,Fe.flatMap=Nx,Fe.flatMapDeep=vf,Fe.flatMapDepth=Wx,Fe.flatten=Va,Fe.flattenDeep=nl,Fe.flattenDepth=ph,Fe.flip=AC,Fe.flow=uq,Fe.flowRight=Aq,Fe.fromPairs=fc,Fe.functions=Xx,Fe.functionsIn=kM,Fe.groupBy=Gx,Fe.initial=pm,Fe.intersection=cg,Fe.intersectionBy=dg,Fe.intersectionWith=AM,Fe.invert=KM,Fe.invertBy=PM,Fe.invokeMap=wM,Fe.iteratee=zM,Fe.keyBy=$x,Fe.keys=kl,Fe.keysIn=Ha,Fe.map=mh,Fe.mapKeys=Og,Fe.mapValues=Jx,Fe.matches=cq,Fe.matchesProperty=dq,Fe. Line truncated
Use an identity property function instead: \`{ "type": "identity", "property": ${JSON.stringify(O[1])} }\`.`)];const E=[];return n.layerType==="symbol"&&(s==="text-field"&&i&&!i.glyphs&&E.push(new er(t,a,'use of "text-field" requires a style "glyphs" property')),s==="text-font"&&Lb(K1(a))&&sl(a.type)==="identity"&&E.push(new er(t,a,'"text-font" does not support identity functions'))),E.concat(r({key:n.key,value:a,valueSpec:C,style:i,styleSpec:o,expressionContext:"property",propertyType:e,propertyKey:s}))}function Uz(n){return Fz(n,"paint")}function Rz(n){return Fz(n,"layout")}function zz(n){let e=[];const t=n.value,r=n.key,i=n.style,o=n.styleSpec;!t.type&&!t.ref&&e.push(new er(r,t,'either "type" or "ref" is required'));let a=sl(t.type);const s=sl(t.ref);if(t.id){const d=sl(t.id);for(let f=0;f<n.arrayIndex;f++){const C=i.layers[f];sl(C.id)===d&&e.push(new er(r,t.id,`duplicate layer id "${t.id}", previously used at line ${C.id.__line__}`))}}if("ref"in t){["type","source","source-layer","filter","layout"].forEach(f=>{f in t&&e.push(new er(r,t[f],`"${f}" is prohibited for ref layers`))});let d;i.layers.forEach(f=>{sl(f.id)===s&&(d=f)}),d?d.ref?e.push(new er(r,t.ref,"ref cannot reference another ref layer")):a=sl(d.type):e.push(new er(r,t.ref,`ref layer "${s}" not found`))}else if(a!=="background")if(!t.source)e.push(new er(r,t,'missing required property "source"'));else{const d=i.sources&&i.sources[t.source],f=d&&sl(d.type);d?f==="vector"&&a==="raster"?e.push(new er(r,t.source,`layer "${t.id}" requires a raster source`)):f!=="raster-dem"&&a==="hillshade"?e.push(new er(r,t.source,`layer "${t.id}" requires a raster-dem source`)):f==="raster"&&a!=="raster"?e.push(new er(r,t.source,`layer "${t.id}" requires a vector source`)):f==="vector"&&!t["source-layer"]?e.push(new er(r,t,`layer "${t.id}" must specify a "source-layer"`)):f==="raster-dem"&&a!=="hillshade"?e.push(new er(r,t.source,"raster-dem source can only be used with layer type 'hillshade'.")):a==="line"&&t.paint&&t.paint["line-gradient"]&&(f!=="geojson"||!d.lineMetrics)&&e.push(new er(r,t,`layer "${t.id}" specifies a line-gradient, which requires a GeoJSON source with \`lineMetrics\` enabled.`)):e.push(new er(r,t.source,`source "${t.source}" not found`))}return e=e.concat(Ud({key:r,value:t,valueSpec:o.layer,style:n.style,styleSpec:n.styleSpec,validateSpec:n.validateSpec,objectElementValidators:{"*"(){return[]},type(){return n.validateSpec({key:`${r}.type`,value:t.type,valueSpec:o.layer.type,style:n.style,styleSpec:n.styleSpec,validateSpec:n.validateSpec,object:t,objectKey:"type"})},filter:u8,layout(d){return Ud({layer:t,key:d.key,value:d.value,style:d.style,styleSpec:d.styleSpec,validateSpec:d.validateSpec,objectElementValidators:{"*"(f){return Rz(cv({layerType:a},f))}}})},paint(d){return Ud({layer:t,key:d.key,value:d.value,style:d.style,styleSpec:d.styleSpec,validateSpec:d.validateSpec,objectElementValidators:{"*"(f){return Uz(cv({layerType:a},f))}}})}}})),e}function P1(n){const e=n.value,t=n.key,r=jo(e);return r!=="string"?[new er(t,e,`string expected, ${r} found`)]:[]}function Ene(n){var e;const t=(e=n.sourceName)!==null&&e!==void 0?e:"",r=n.value,i=n.styleSpec,o=i.source_raster_dem,a=n.style;let s=[];const d=jo(r);if(r===void 0)return s;if(d!=="object")return s.push(new er("source_raster_dem",r,`object expected, ${d} found`)),s;const C=sl(r.encoding)==="custom",O=["redFactor","greenFactor","blueFactor","baseShift"],E=n.value.encoding?`"${n.value.encoding}"`:"Default";for(const P in r)!C&&O.includes(P)?s.push(new er(P,r[P],`In "${t}": "${P}" is only valid when "encoding" is set to "custom". ${E} encoding found`)):o[P]?s=s.concat(n.validateSpec({key:P,value:r[P],valueSpec:o[P],validateSpec:n.validateSpec,style:a,styleSpec:i})):s.push(new er(P,r[P],`unknown property "${P}"`));return s}const RT={promoteId:One};function jz(n){const e=n.value,t=n.key,r=n.styleSpec,i=n.style,o=n.validateSpec;if(!e.type)return[new er(t,e,'"type" is required')];const a=sl(e.type);let s;switch(a){case"vector":case"raster":return s=Ud({key:t,value:e,valueSpec:r[`source_${a.replace("-","_")}`],style:n.style,styleSpec:r,objectElementValidators:RT,validateSpec:o}),s;case"raster-dem":return s=Ene({sourceName:t,value:e,style:n.style,styleSpec:r,validateSpec:o}),s;case"geojson":if(s=Ud({key:t,value:e,valueSpec:r.source_geojson,style:i,styleSpec:r,validateSpec:o,objectElementValidators:RT}),e.cluster)for(const d in e.clusterProperties){const[f,C]=e.clusterProperties[d],O=typeof f=="string"?[f,["accumulated"],["get",d]]:f;s.push(...dv({key:`${t}.${d}.map`,value:C,validateSpec:o,expressionContext:"cluster-map"})),s.push(...dv({key:`${t}.${d}.reduce`,value:O,validateSpec:o,expressionContext:"cluster-reduce"}))}return s;case"video":return Ud({key:t,value:e,valueSpec:r.source_video,style:i,validateSpec:o,styleSpec:r});case"image":return Ud({key:t,value:e,valueSpec:r.source_image,style:i,validateSpec:o,styleSpec:r});case"canvas":return[new er(t,null,"Please use runtime APIs to add canvas sourcLine truncated
}`;var lo=Uk(function(){return oo(We,Hr+"return "+Tn).apply(t,ut)});if(lo.source=Tn,rn(lo))throw lo;return lo}function ZY(v){return pi(v).toLowerCase()}function XY(v){return pi(v).toUpperCase()}function JY(v,S,D){if(v=pi(v),v&&(D||S===t))return HA(v);if(!v||!(S=Ku(S)))return v;var te=jl(v),Me=jl(S),We=Ul(te,Me),ut=Tc(te,Me)+1;return Rc(te,We,ut).join("")}function eq(v,S,D){if(v=pi(v),v&&(D||S===t))return v.slice(0,Zd(v)+1);if(!v||!(S=Ku(S)))return v;var te=jl(v),Me=Tc(te,jl(S))+1;return Rc(te,0,Me).join("")}function tq(v,S,D){if(v=pi(v),v&&(D||S===t))return v.replace(qt,"");if(!v||!(S=Ku(S)))return v;var te=jl(v),Me=Ul(te,jl(S));return Rc(te,Me).join("")}function nq(v,S){var D=we,te=Te;if(xn(S)){var Me="separator"in S?S.separator:Me;D="length"in S?Jr(S.length):D,te="omission"in S?Ku(S.omission):te}v=pi(v);var We=v.length;if(XA(v)){var ut=jl(v);We=ut.length}if(D>=We)return v;var _t=D-Bu(te);if(_t<1)return te;var Tt=ut?Rc(ut,0,_t).join(""):v.slice(0,_t);if(Me===t)return Tt+te;if(ut&&(_t+=Tt.length-_t),fu(Me)){if(v.slice(_t).search(Me)){var Cn,_n=Tt;for(Me.global||(Me=SA(Me.source,pi(Fr.exec(Me))+"g")),Me.lastIndex=0;Cn=Me.exec(_n);)var Tn=Cn.index;Tt=Tt.slice(0,Tn===t?_t:Tn)}}else if(v.indexOf(Ku(Me),_t)!=_t){var pr=Tt.lastIndexOf(Me);pr>-1&&(Tt=Tt.slice(0,pr))}return Tt+te}function rq(v){return v=pi(v),v&&ce.test(v)?v.replace(rr,Pc):v}var iq=Af(function(v,S,D){return v+(D?" ":"")+S.toUpperCase()}),UM=uf("toUpperCase");function Fk(v,S,D){return v=pi(v),S=D?t:S,S===t?tp(v)?dd(v):em(v):v.match(S)||[]}var Uk=Qi(function(v,S){try{return ya(v,t,S)}catch(D){return rn(D)?D:new ui(D)}}),oq=cc(function(v,S){return ou(S,function(D){D=Fa(D),qn(v,D,xg(v[D],v))}),v});function aq(v){var S=v==null?0:v.length,D=Xr();return v=S?ra(v,function(te){if(typeof te[1]!="function")throw new Po(a);return[D(te[0]),te[1]]}):[],Qi(function(te){for(var Me=-1;++Me<S;){var We=v[Me];if(ya(We[0],this,te))return ya(We[1],this,te)}})}function sq(v){return hi(Cr(v,O))}function RM(v){return function(){return v}}function lq(v,S){return v==null||v!==v?S:v}var uq=sm(),Aq=sm(!0);function yc(v){return v}function zM(v){return oA(typeof v=="function"?v:Cr(v,O))}function cq(v){return tf(Cr(v,O))}function dq(v,S){return nf(v,Cr(S,O))}var hq=Qi(function(v,S){return function(D){return uc(D,v,S)}}),fq=Qi(function(v,S){return function(D){return uc(v,D,S)}});function jM(v,S,D){var te=Tl(S),Me=Gl(S,te);D==null&&!(xn(S)&&(Me.length||!te.length))&&(D=S,S=v,v=this,Me=Gl(S,Tl(S)));var We=!(xn(D)&&"chain"in D)||!!D.chain,ut=zn(v);return ou(Me,function(_t){var Tt=S[_t];v[_t]=Tt,ut&&(v.prototype[_t]=function(){var Cn=this.__chain__;if(We||Cn){var _n=v(this.__wrapped__),Tn=_n.__actions__=el(this.__actions__);return Tn.push({func:Tt,args:arguments,thisArg:v}),_n.__chain__=Cn,_n}return Tt.apply(v,Qu([this.value()],arguments))})}),v}function pq(){return vr._===this&&(vr._=Ca),this}function NM(){}function mq(v){return v=Jr(v),Qi(function(S){return ih(S,v)})}var gq=um(ra),yq=um(ld),vq=um(kc);function Rk(v){return B(v)?Jf(Fa(v)):b0(v)}function Cq(v){return function(S){return v==null?t:Ss(v,S)}}var _q=ch(),bq=ch(!0);function WM(){return[]}function GM(){return!1}function xq(){return{}}function wq(){return""}function Mq(){return!0}function Sq(v,S){if(v=Jr(v),v<1||v>st)return[];var D=Ve,te=ca(v,Ve);S=Xr(S),v-=Ve;for(var Me=To(te,S);++D<v;)S(D);return Me}function Eq(v){return re(v)?ra(v,Fa):Xo(v)?[v]:el(wa(pi(v)))}function Oq(v){var S=++$h;return pi(v)+S}var Bq=Ah(function(v,S){return v+S},0),Iq=I0("ceil"),kq=Ah(function(v,S){return v/S},1),Tq=I0("floor");function Kq(v){return v&&v.length?Rs(v,yc,ia):t}function Pq(v,S){return v&&v.length?Rs(v,Xr(S,2),ia):t}function Lq(v){return Yu(v,yc)}function Dq(v,S){return Yu(v,Xr(S,2))}function Fq(v){return v&&v.length?Rs(v,yc,aA):t}function Uq(v,S){return v&&v.length?Rs(v,Xr(S,2),aA):t}var Rq=Ah(function(v,S){return v*S},1),zq=I0("round"),jq=Ah(function(v,S){return v-S},0);function Nq(v){return v&&v.length?VA(v,yc):0}function Wq(v,S){return v&&v.length?VA(v,Xr(S,2)):0}return Fe.after=Cf,Fe.ary=bg,Fe.assign=pc,Fe.assignIn=mc,Fe.assignInWith=AA,Fe.assignWith=gh,Fe.at=gc,Fe.before=sC,Fe.bind=xg,Fe.bindAll=oq,Fe.bindKey=wg,Fe.castArray=c,Fe.chain=rC,Fe.chunk=tl,Fe.compact=Bs,Fe.concat=ds,Fe.cond=aq,Fe.conforms=sq,Fe.constant=RM,Fe.countBy=Ux,Fe.create=LA,Fe.curry=qx,Fe.curryRight=lC,Fe.debounce=uC,Fe.defaults=Du,Fe.defaultsDeep=yh,Fe.defer=BM,Fe.delay=Vx,Fe.difference=ha,Fe.differenceBy=Is,Fe.differenceWith=fh,Fe.drop=dc,Fe.dropRight=js,Fe.dropRightWhile=hc,Fe.dropWhile=Ns,Fe.fill=K0,Fe.filter=zx,Fe.flatMap=Nx,Fe.flatMapDeep=vf,Fe.flatMapDepth=Wx,Fe.flatten=Va,Fe.flattenDeep=nl,Fe.flattenDepth=ph,Fe.flip=AC,Fe.flow=uq,Fe.flowRight=Aq,Fe.fromPairs=fc,Fe.functions=Xx,Fe.functionsIn=kM,Fe.groupBy=Gx,Fe.initial=pm,Fe.intersection=cg,Fe.intersectionBy=dg,Fe.intersectionWith=AM,Fe.invert=KM,Fe.invertBy=PM,Fe.invokeMap=wM,Fe.iteratee=zM,Fe.keyBy=$x,Fe.keys=Tl,Fe.keysIn=Ha,Fe.map=mh,Fe.mapKeys=Og,Fe.mapValues=Jx,Fe.matches=cq,Fe.matchesProperty=dq,Fe. Line truncated
Use an identity property function instead: \`{ "type": "identity", "property": ${JSON.stringify(O[1])} }\`.`)];const E=[];return n.layerType==="symbol"&&(s==="text-field"&&i&&!i.glyphs&&E.push(new er(t,a,'use of "text-field" requires a style "glyphs" property')),s==="text-font"&&Lb(K1(a))&&ll(a.type)==="identity"&&E.push(new er(t,a,'"text-font" does not support identity functions'))),E.concat(r({key:n.key,value:a,valueSpec:C,style:i,styleSpec:o,expressionContext:"property",propertyType:e,propertyKey:s}))}function Uz(n){return Fz(n,"paint")}function Rz(n){return Fz(n,"layout")}function zz(n){let e=[];const t=n.value,r=n.key,i=n.style,o=n.styleSpec;!t.type&&!t.ref&&e.push(new er(r,t,'either "type" or "ref" is required'));let a=ll(t.type);const s=ll(t.ref);if(t.id){const d=ll(t.id);for(let f=0;f<n.arrayIndex;f++){const C=i.layers[f];ll(C.id)===d&&e.push(new er(r,t.id,`duplicate layer id "${t.id}", previously used at line ${C.id.__line__}`))}}if("ref"in t){["type","source","source-layer","filter","layout"].forEach(f=>{f in t&&e.push(new er(r,t[f],`"${f}" is prohibited for ref layers`))});let d;i.layers.forEach(f=>{ll(f.id)===s&&(d=f)}),d?d.ref?e.push(new er(r,t.ref,"ref cannot reference another ref layer")):a=ll(d.type):e.push(new er(r,t.ref,`ref layer "${s}" not found`))}else if(a!=="background")if(!t.source)e.push(new er(r,t,'missing required property "source"'));else{const d=i.sources&&i.sources[t.source],f=d&&ll(d.type);d?f==="vector"&&a==="raster"?e.push(new er(r,t.source,`layer "${t.id}" requires a raster source`)):f!=="raster-dem"&&a==="hillshade"?e.push(new er(r,t.source,`layer "${t.id}" requires a raster-dem source`)):f==="raster"&&a!=="raster"?e.push(new er(r,t.source,`layer "${t.id}" requires a vector source`)):f==="vector"&&!t["source-layer"]?e.push(new er(r,t,`layer "${t.id}" must specify a "source-layer"`)):f==="raster-dem"&&a!=="hillshade"?e.push(new er(r,t.source,"raster-dem source can only be used with layer type 'hillshade'.")):a==="line"&&t.paint&&t.paint["line-gradient"]&&(f!=="geojson"||!d.lineMetrics)&&e.push(new er(r,t,`layer "${t.id}" specifies a line-gradient, which requires a GeoJSON source with \`lineMetrics\` enabled.`)):e.push(new er(r,t.source,`source "${t.source}" not found`))}return e=e.concat(Ud({key:r,value:t,valueSpec:o.layer,style:n.style,styleSpec:n.styleSpec,validateSpec:n.validateSpec,objectElementValidators:{"*"(){return[]},type(){return n.validateSpec({key:`${r}.type`,value:t.type,valueSpec:o.layer.type,style:n.style,styleSpec:n.styleSpec,validateSpec:n.validateSpec,object:t,objectKey:"type"})},filter:A8,layout(d){return Ud({layer:t,key:d.key,value:d.value,style:d.style,styleSpec:d.styleSpec,validateSpec:d.validateSpec,objectElementValidators:{"*"(f){return Rz(cv({layerType:a},f))}}})},paint(d){return Ud({layer:t,key:d.key,value:d.value,style:d.style,styleSpec:d.styleSpec,validateSpec:d.validateSpec,objectElementValidators:{"*"(f){return Uz(cv({layerType:a},f))}}})}}})),e}function P1(n){const e=n.value,t=n.key,r=jo(e);return r!=="string"?[new er(t,e,`string expected, ${r} found`)]:[]}function Ene(n){var e;const t=(e=n.sourceName)!==null&&e!==void 0?e:"",r=n.value,i=n.styleSpec,o=i.source_raster_dem,a=n.style;let s=[];const d=jo(r);if(r===void 0)return s;if(d!=="object")return s.push(new er("source_raster_dem",r,`object expected, ${d} found`)),s;const C=ll(r.encoding)==="custom",O=["redFactor","greenFactor","blueFactor","baseShift"],E=n.value.encoding?`"${n.value.encoding}"`:"Default";for(const P in r)!C&&O.includes(P)?s.push(new er(P,r[P],`In "${t}": "${P}" is only valid when "encoding" is set to "custom". ${E} encoding found`)):o[P]?s=s.concat(n.validateSpec({key:P,value:r[P],valueSpec:o[P],validateSpec:n.validateSpec,style:a,styleSpec:i})):s.push(new er(P,r[P],`unknown property "${P}"`));return s}const RT={promoteId:One};function jz(n){const e=n.value,t=n.key,r=n.styleSpec,i=n.style,o=n.validateSpec;if(!e.type)return[new er(t,e,'"type" is required')];const a=ll(e.type);let s;switch(a){case"vector":case"raster":return s=Ud({key:t,value:e,valueSpec:r[`source_${a.replace("-","_")}`],style:n.style,styleSpec:r,objectElementValidators:RT,validateSpec:o}),s;case"raster-dem":return s=Ene({sourceName:t,value:e,style:n.style,styleSpec:r,validateSpec:o}),s;case"geojson":if(s=Ud({key:t,value:e,valueSpec:r.source_geojson,style:i,styleSpec:r,validateSpec:o,objectElementValidators:RT}),e.cluster)for(const d in e.clusterProperties){const[f,C]=e.clusterProperties[d],O=typeof f=="string"?[f,["accumulated"],["get",d]]:f;s.push(...dv({key:`${t}.${d}.map`,value:C,validateSpec:o,expressionContext:"cluster-map"})),s.push(...dv({key:`${t}.${d}.reduce`,value:O,validateSpec:o,expressionContext:"cluster-reduce"}))}return s;case"video":return Ud({key:t,value:e,valueSpec:r.source_video,style:i,validateSpec:o,styleSpec:r});case"image":return Ud({key:t,value:e,valueSpec:r.source_image,style:i,validateSpec:o,styleSpec:r});case"canvas":return[new er(t,null,"Please use runtime APIs to add canvas sourcLine truncated
${O}`),$].join(`
${s}`)}return f}(n,"",0)}function jT(n,e){const t={};for(const r in e)n[r]!==void 0&&(t[r]=n[r]);for(const r in n)t[r]===void 0&&(t[r]=n[r]);return t}function qz(n,e=2){return n=jT(n,Oa.$root),n.layers&&(n.layers=n.layers.map(t=>jT(t,Oa.layer))),Pne(n,{indent:e})}function BS(n,e){for(const t in n)t.indexOf("layout")===0&&e(n[t],t)}function NT(n,e){for(const t in n)t.indexOf("paint")===0&&e(n[t],t)}function nO(n,e){return typeof e=="string"&&e[0]==="@"?nO(n,n.constants[e]):e}function Lne(n){return Array.isArray(n.stops)}function kC(n,e,t){n[t]=n[e],delete n[e]}function Dne(n){n.version=8,wne(n,i=>{i.type==="video"&&i.url!==void 0&&kC(i,"url","urls"),i.type==="video"&&i.coordinates.forEach(o=>o.reverse())}),v_(n,i=>{BS(i,o=>{o["symbol-min-distance"]!==void 0&&kC(o,"symbol-min-distance","symbol-spacing")}),NT(i,o=>{o["background-image"]!==void 0&&kC(o,"background-image","background-pattern"),o["line-image"]!==void 0&&kC(o,"line-image","line-pattern"),o["fill-image"]!==void 0&&kC(o,"fill-image","fill-pattern")})}),a8(n,{paint:!0,layout:!0},i=>{const o=nO(n,i.value);Lne(o)&&o.stops.forEach(a=>{a[1]=nO(n,a[1])}),i.set(o)}),delete n.constants,v_(n,i=>{BS(i,o=>{delete o["text-max-size"],delete o["icon-max-size"]}),NT(i,o=>{o["text-size"]&&(i.layout||(i.layout={}),i.layout["text-size"]=o["text-size"],delete o["text-size"]),o["icon-size"]&&(i.layout||(i.layout={}),i.layout["icon-size"]=o["icon-size"],delete o["icon-size"])})});function e(i){function o(a){return a.split(",").map(s=>s.trim())}if(Array.isArray(i))return i;if(typeof i=="string")return o(i);if(typeof i=="object")return i.stops.forEach(a=>{a[1]=o(a[1])}),i;throw new Error("unexpected font value")}v_(n,i=>{BS(i,o=>{o["text-font"]&&(o["text-font"]=e(o["text-font"]))})});let t=0;for(let i=n.layers.length-1;i>=0;i--)if(n.layers[i].type!=="symbol"){t=i+1;break}const r=n.layers.splice(t);return r.reverse(),n.layers=n.layers.concat(r),n}function Fne(n){const e=[];return v_(n,t=>{t.filter&&(t.filter=y_(t.filter))}),a8(n,{paint:!0,layout:!0},({path:t,value:r,reference:i,set:o})=>{Fb(r)||(typeof r=="object"&&!Array.isArray(r)?(o(Tz(r,i)),e.push(t.join("."))):i.tokens&&typeof r=="string"&&o(Kz(r)))}),n}function Une(n){return JSON.parse(Rne(JSON.stringify(n)))}function Rne(n){return n.replace(/"hsla?\((.+?)\)"/gi,(e,t)=>{const r=t.match(/^(.+?)\s*,\s*(.+?)\s*,\s*(.+?)(?:\s*,\s*(.+))?$/i);if(r){let[i,o,a,s]=r.slice(1);return[o,a]=[o,a].map(d=>d.endsWith("%")?d:`${parseFloat(d)*100}%`),`"hsl${typeof s=="string"?"a":""}(${[i,o,a,s].filter(Boolean).join(",")})"`}return e})}function zne(n){let e=!1;if(n.version===7&&(n=Dne(n),e=!0),n.version===8&&(e=!!Fne(n),e=!0),a8(n,{paint:!0,layout:!0},({value:t,reference:r,set:i})=>{r.type==="color"&&i(Une(t))}),!e)throw new Error(`Cannot migrate from ${n.version}`);return n}const jne={StyleExpression:Bz,StylePropertyFunction:Iz,ZoomConstantExpression:J6,ZoomDependentExpression:eO,createExpression:t8,createPropertyExpression:n8,isExpression:Fb,isExpressionFilter:Aw,isZoomExpression:hne,normalizePropertyExpression:fne},Nne={convertFunction:Tz,createFunction:e8,isFunction:Lb};var Vz={exports:{}};/**
${s}`)}return f}(n,"",0)}function jT(n,e){const t={};for(const r in e)n[r]!==void 0&&(t[r]=n[r]);for(const r in n)t[r]===void 0&&(t[r]=n[r]);return t}function qz(n,e=2){return n=jT(n,Oa.$root),n.layers&&(n.layers=n.layers.map(t=>jT(t,Oa.layer))),Pne(n,{indent:e})}function IS(n,e){for(const t in n)t.indexOf("layout")===0&&e(n[t],t)}function NT(n,e){for(const t in n)t.indexOf("paint")===0&&e(n[t],t)}function rO(n,e){return typeof e=="string"&&e[0]==="@"?rO(n,n.constants[e]):e}function Lne(n){return Array.isArray(n.stops)}function kC(n,e,t){n[t]=n[e],delete n[e]}function Dne(n){n.version=8,wne(n,i=>{i.type==="video"&&i.url!==void 0&&kC(i,"url","urls"),i.type==="video"&&i.coordinates.forEach(o=>o.reverse())}),v_(n,i=>{IS(i,o=>{o["symbol-min-distance"]!==void 0&&kC(o,"symbol-min-distance","symbol-spacing")}),NT(i,o=>{o["background-image"]!==void 0&&kC(o,"background-image","background-pattern"),o["line-image"]!==void 0&&kC(o,"line-image","line-pattern"),o["fill-image"]!==void 0&&kC(o,"fill-image","fill-pattern")})}),s8(n,{paint:!0,layout:!0},i=>{const o=rO(n,i.value);Lne(o)&&o.stops.forEach(a=>{a[1]=rO(n,a[1])}),i.set(o)}),delete n.constants,v_(n,i=>{IS(i,o=>{delete o["text-max-size"],delete o["icon-max-size"]}),NT(i,o=>{o["text-size"]&&(i.layout||(i.layout={}),i.layout["text-size"]=o["text-size"],delete o["text-size"]),o["icon-size"]&&(i.layout||(i.layout={}),i.layout["icon-size"]=o["icon-size"],delete o["icon-size"])})});function e(i){function o(a){return a.split(",").map(s=>s.trim())}if(Array.isArray(i))return i;if(typeof i=="string")return o(i);if(typeof i=="object")return i.stops.forEach(a=>{a[1]=o(a[1])}),i;throw new Error("unexpected font value")}v_(n,i=>{IS(i,o=>{o["text-font"]&&(o["text-font"]=e(o["text-font"]))})});let t=0;for(let i=n.layers.length-1;i>=0;i--)if(n.layers[i].type!=="symbol"){t=i+1;break}const r=n.layers.splice(t);return r.reverse(),n.layers=n.layers.concat(r),n}function Fne(n){const e=[];return v_(n,t=>{t.filter&&(t.filter=y_(t.filter))}),s8(n,{paint:!0,layout:!0},({path:t,value:r,reference:i,set:o})=>{Fb(r)||(typeof r=="object"&&!Array.isArray(r)?(o(Tz(r,i)),e.push(t.join("."))):i.tokens&&typeof r=="string"&&o(Kz(r)))}),n}function Une(n){return JSON.parse(Rne(JSON.stringify(n)))}function Rne(n){return n.replace(/"hsla?\((.+?)\)"/gi,(e,t)=>{const r=t.match(/^(.+?)\s*,\s*(.+?)\s*,\s*(.+?)(?:\s*,\s*(.+))?$/i);if(r){let[i,o,a,s]=r.slice(1);return[o,a]=[o,a].map(d=>d.endsWith("%")?d:`${parseFloat(d)*100}%`),`"hsl${typeof s=="string"?"a":""}(${[i,o,a,s].filter(Boolean).join(",")})"`}return e})}function zne(n){let e=!1;if(n.version===7&&(n=Dne(n),e=!0),n.version===8&&(e=!!Fne(n),e=!0),s8(n,{paint:!0,layout:!0},({value:t,reference:r,set:i})=>{r.type==="color"&&i(Une(t))}),!e)throw new Error(`Cannot migrate from ${n.version}`);return n}const jne={StyleExpression:Bz,StylePropertyFunction:Iz,ZoomConstantExpression:eO,ZoomDependentExpression:tO,createExpression:n8,createPropertyExpression:r8,isExpression:Fb,isExpressionFilter:Aw,isZoomExpression:hne,normalizePropertyExpression:fne},Nne={convertFunction:Tz,createFunction:t8,isFunction:Lb};var Vz={exports:{}};/**
* MapLibre GL JS
* @license 3-Clause BSD. Full text of license: https://github.com/maplibre/maplibre-gl-js/blob/v4.1.2/LICENSE.txt
*/(function(n,e){(function(t,r){n.exports=r()})(Dh,function(){var t={},r={};function i(a,s,d){if(r[a]=d,a==="index"){var f="var sharedModule = {}; ("+r.shared+")(sharedModule); ("+r.worker+")(sharedModule);",C={};return r.shared(C),r.index(t,C),typeof window<"u"&&t.setWorkerUrl(window.URL.createObjectURL(new Blob([f],{type:"text/javascript"}))),t}}i("shared",["exports"],function(a){function s(c,l,h,y){return new(h||(h=Promise))(function(M,T){function K(J){try{W(y.next(J))}catch(re){T(re)}}function F(J){try{W(y.throw(J))}catch(re){T(re)}}function W(J){var re;J.done?M(J.value):(re=J.value,re instanceof h?re:new h(function(Ae){Ae(re)})).then(K,F)}W((y=y.apply(c,l||[])).next())})}function d(c){return c&&c.__esModule&&Object.prototype.hasOwnProperty.call(c,"default")?c.default:c}typeof SuppressedError=="function"&&SuppressedError;var f=C;function C(c,l){this.x=c,this.y=l}C.prototype={clone:function(){return new C(this.x,this.y)},add:function(c){return this.clone()._add(c)},sub:function(c){return this.clone()._sub(c)},multByPoint:function(c){return this.clone()._multByPoint(c)},divByPoint:function(c){return this.clone()._divByPoint(c)},mult:function(c){return this.clone()._mult(c)},div:function(c){return this.clone()._div(c)},rotate:function(c){return this.clone()._rotate(c)},rotateAround:function(c,l){return this.clone()._rotateAround(c,l)},matMult:function(c){return this.clone()._matMult(c)},unit:function(){return this.clone()._unit()},perp:function(){return this.clone()._perp()},round:function(){return this.clone()._round()},mag:function(){return Math.sqrt(this.x*this.x+this.y*this.y)},equals:function(c){return this.x===c.x&&this.y===c.y},dist:function(c){return Math.sqrt(this.distSqr(c))},distSqr:function(c){var l=c.x-this.x,h=c.y-this.y;return l*l+h*h},angle:function(){return Math.atan2(this.y,this.x)},angleTo:function(c){return Math.atan2(this.y-c.y,this.x-c.x)},angleWith:function(c){return this.angleWithSep(c.x,c.y)},angleWithSep:function(c,l){return Math.atan2(this.x*l-this.y*c,this.x*c+this.y*l)},_matMult:function(c){var l=c[2]*this.x+c[3]*this.y;return this.x=c[0]*this.x+c[1]*this.y,this.y=l,this},_add:function(c){return this.x+=c.x,this.y+=c.y,this},_sub:function(c){return this.x-=c.x,this.y-=c.y,this},_mult:function(c){return this.x*=c,this.y*=c,this},_div:function(c){return this.x/=c,this.y/=c,this},_multByPoint:function(c){return this.x*=c.x,this.y*=c.y,this},_divByPoint:function(c){return this.x/=c.x,this.y/=c.y,this},_unit:function(){return this._div(this.mag()),this},_perp:function(){var c=this.y;return this.y=this.x,this.x=-c,this},_rotate:function(c){var l=Math.cos(c),h=Math.sin(c),y=h*this.x+l*this.y;return this.x=l*this.x-h*this.y,this.y=y,this},_rotateAround:function(c,l){var h=Math.cos(c),y=Math.sin(c),M=l.y+y*(this.x-l.x)+h*(this.y-l.y);return this.x=l.x+h*(this.x-l.x)-y*(this.y-l.y),this.y=M,this},_round:function(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this}},C.convert=function(c){return c instanceof C?c:Array.isArray(c)?new C(c[0],c[1]):c};var O=d(f),E=P;function P(c,l,h,y){this.cx=3*c,this.bx=3*(h-c)-this.cx,this.ax=1-this.cx-this.bx,this.cy=3*l,this.by=3*(y-l)-this.cy,this.ay=1-this.cy-this.by,this.p1x=c,this.p1y=l,this.p2x=h,this.p2y=y}P.prototype={sampleCurveX:function(c){return((this.ax*c+this.bx)*c+this.cx)*c},sampleCurveY:function(c){return((this.ay*c+this.by)*c+this.cy)*c},sampleCurveDerivativeX:function(c){return(3*this.ax*c+2*this.bx)*c+this.cx},solveCurveX:function(c,l){if(l===void 0&&(l=1e-6),c<0)return 0;if(c>1)return 1;for(var h=c,y=0;y<8;y++){var M=this.sampleCurveX(h)-c;if(Math.abs(M)<l)return h;var T=this.sampleCurveDerivativeX(h);if(Math.abs(T)<1e-6)break;h-=M/T}var K=0,F=1;for(h=c,y=0;y<20&&(M=this.sampleCurveX(h),!(Math.abs(M-c)<l));y++)c>M?K=h:F=h,h=.5*(F-K)+K;return h},solve:function(c,l){return this.sampleCurveY(this.solveCurveX(c,l))}};var L=d(E);let $,H;function Q(){return $==null&&($=typeof OffscreenCanvas<"u"&&new OffscreenCanvas(1,1).getContext("2d")&&typeof createImageBitmap=="function"),$}function N(){if(H==null&&(H=!1,Q())){const l=new OffscreenCanvas(5,5).getContext("2d",{willReadFrequently:!0});if(l){for(let y=0;y<5*5;y++){const M=4*y;l.fillStyle=`rgb(${M},${M+1},${M+2})`,l.fillRect(y%5,Math.floor(y/5),1,1)}const h=l.getImageData(0,0,5,5).data;for(let y=0;y<5*5*4;y++)if(y%4!=3&&h[y]!==y){H=!0;break}}}return H||!1}function Z(c,l,h,y){const M=new L(c,l,h,y);return function(T){return M.solve(T)}}const ae=Z(.25,.1,.25,1);function pe(c,l,h){return Math.min(h,Math.max(l,c))}function fe(c,l,h){const y=h-l,M=((c-l)%y+y)%y+l;return M===l?h:M}function X(c,...l){for(const h of l)for(const y in h)c[y]=h[y];return c}let oe=1;function Ce(c,l,h){const y={};for(const M in c)y[M]=l.call(h||this,c[M],M,c);return y}function we(c,l,h){const y={};for(const M in c)l.call(h||this,c[M],M,c)&&(y[M]=c[M]);return y}function Te(c){return Array.isArray(c)?c.map(Te):typeof c=="object"&&c?Ce(c,Te):c}const Pe={};function he(c){Pe[c]||(typeof console<"u"&&console.wLine truncated
Use an identity property function instead: \`{ "type": "identity", "property": ${JSON.stringify(Ae[1])} }\`.`)];const be=[];return c.layerType==="symbol"&&(F==="text-field"&&M&&!M.glyphs&&be.push(new V(h,K,'use of "text-field" requires a style "glyphs" property')),F==="text-font"&&ko(MA(K))&&va(K.type)==="identity"&&be.push(new V(h,K,'"text-font" does not support identity functions'))),be.concat(y({key:c.key,value:K,valueSpec:re,style:M,styleSpec:T,expressionContext:"property",propertyType:l,propertyKey:F}))}function su(c){return Xd(c,"paint")}function Et(c){return Xd(c,"layout")}function an(c){let l=[];const h=c.value,y=c.key,M=c.style,T=c.styleSpec;h.type||h.ref||l.push(new V(y,h,'either "type" or "ref" is required'));let K=va(h.type);const F=va(h.ref);if(h.id){const W=va(h.id);for(let J=0;J<c.arrayIndex;J++){const re=M.layers[J];va(re.id)===W&&l.push(new V(y,h.id,`duplicate layer id "${h.id}", previously used at line ${re.id.__line__}`))}}if("ref"in h){let W;["type","source","source-layer","filter","layout"].forEach(J=>{J in h&&l.push(new V(y,h[J],`"${J}" is prohibited for ref layers`))}),M.layers.forEach(J=>{va(J.id)===F&&(W=J)}),W?W.ref?l.push(new V(y,h.ref,"ref cannot reference another ref layer")):K=va(W.type):l.push(new V(y,h.ref,`ref layer "${F}" not found`))}else if(K!=="background")if(h.source){const W=M.sources&&M.sources[h.source],J=W&&va(W.type);W?J==="vector"&&K==="raster"?l.push(new V(y,h.source,`layer "${h.id}" requires a raster source`)):J!=="raster-dem"&&K==="hillshade"?l.push(new V(y,h.source,`layer "${h.id}" requires a raster-dem source`)):J==="raster"&&K!=="raster"?l.push(new V(y,h.source,`layer "${h.id}" requires a vector source`)):J!=="vector"||h["source-layer"]?J==="raster-dem"&&K!=="hillshade"?l.push(new V(y,h.source,"raster-dem source can only be used with layer type 'hillshade'.")):K!=="line"||!h.paint||!h.paint["line-gradient"]||J==="geojson"&&W.lineMetrics||l.push(new V(y,h,`layer "${h.id}" specifies a line-gradient, which requires a GeoJSON source with \`lineMetrics\` enabled.`)):l.push(new V(y,h,`layer "${h.id}" must specify a "source-layer"`)):l.push(new V(y,h.source,`source "${h.source}" not found`))}else l.push(new V(y,h,'missing required property "source"'));return l=l.concat(zl({key:y,value:h,valueSpec:T.layer,style:c.style,styleSpec:c.styleSpec,validateSpec:c.validateSpec,objectElementValidators:{"*":()=>[],type:()=>c.validateSpec({key:`${y}.type`,value:h.type,valueSpec:T.layer.type,style:c.style,styleSpec:c.styleSpec,validateSpec:c.validateSpec,object:h,objectKey:"type"}),filter:Lc,layout:W=>zl({layer:h,key:W.key,value:W.value,style:W.style,styleSpec:W.styleSpec,validateSpec:W.validateSpec,objectElementValidators:{"*":J=>Et(Ke({layerType:K},J))}}),paint:W=>zl({layer:h,key:W.key,value:W.value,style:W.style,styleSpec:W.styleSpec,validateSpec:W.validateSpec,objectElementValidators:{"*":J=>su(Ke({layerType:K},J))}})}})),l}function jt(c){const l=c.value,h=c.key,y=Ki(l);return y!=="string"?[new V(h,l,`string expected, ${y} found`)]:[]}const fr={promoteId:function({key:c,value:l}){if(Ki(l)==="string")return jt({key:c,value:l});{const h=[];for(const y in l)h.push(...jt({key:`${c}.${y}`,value:l[y]}));return h}}};function ui(c){const l=c.value,h=c.key,y=c.styleSpec,M=c.style,T=c.validateSpec;if(!l.type)return[new V(h,l,'"type" is required')];const K=va(l.type);let F;switch(K){case"vector":case"raster":return F=zl({key:h,value:l,valueSpec:y[`source_${K.replace("-","_")}`],style:c.style,styleSpec:y,objectElementValidators:fr,validateSpec:T}),F;case"raster-dem":return F=function(W){var J;const re=(J=W.sourceName)!==null&&J!==void 0?J:"",Ae=W.value,be=W.styleSpec,Be=be.source_raster_dem,Le=W.style;let Ge=[];const Ze=Ki(Ae);if(Ae===void 0)return Ge;if(Ze!=="object")return Ge.push(new V("source_raster_dem",Ae,`object expected, ${Ze} found`)),Ge;const at=va(Ae.encoding)==="custom",It=["redFactor","greenFactor","blueFactor","baseShift"],ct=W.value.encoding?`"${W.value.encoding}"`:"Default";for(const wt in Ae)!at&&It.includes(wt)?Ge.push(new V(wt,Ae[wt],`In "${re}": "${wt}" is only valid when "encoding" is set to "custom". ${ct} encoding found`)):Be[wt]?Ge=Ge.concat(W.validateSpec({key:wt,value:Ae[wt],valueSpec:Be[wt],validateSpec:W.validateSpec,style:Le,styleSpec:be})):Ge.push(new V(wt,Ae[wt],`unknown property "${wt}"`));return Ge}({sourceName:h,value:l,style:c.style,styleSpec:y,validateSpec:T}),F;case"geojson":if(F=zl({key:h,value:l,valueSpec:y.source_geojson,style:M,styleSpec:y,validateSpec:T,objectElementValidators:fr}),l.cluster)for(const W in l.clusterProperties){const[J,re]=l.clusterProperties[W],Ae=typeof J=="string"?[J,["accumulated"],["get",W]]:J;F.push(...Pc({key:`${h}.${W}.map`,value:re,validateSpec:T,expressionContext:"cluster-map"})),F.push(...Pc({key:`${h}.${W}.reduce`,value:Ae,validateSpec:T,expressionContext:"cluster-reduce"}))}return F;case"video":return zl({key:h,value:l,valueSpec:y.source_video,style:M,validateSpec:T,styleSpec:y});case"image":return zl({key:h,value:lLine truncated
*/(function(n,e){(function(t,r){n.exports=r()})(Dh,function(){var t={},r={};function i(a,s,d){if(r[a]=d,a==="index"){var f="var sharedModule = {}; ("+r.shared+")(sharedModule); ("+r.worker+")(sharedModule);",C={};return r.shared(C),r.index(t,C),typeof window<"u"&&t.setWorkerUrl(window.URL.createObjectURL(new Blob([f],{type:"text/javascript"}))),t}}i("shared",["exports"],function(a){function s(c,l,h,y){return new(h||(h=Promise))(function(M,T){function K(J){try{W(y.next(J))}catch(re){T(re)}}function F(J){try{W(y.throw(J))}catch(re){T(re)}}function W(J){var re;J.done?M(J.value):(re=J.value,re instanceof h?re:new h(function(Ae){Ae(re)})).then(K,F)}W((y=y.apply(c,l||[])).next())})}function d(c){return c&&c.__esModule&&Object.prototype.hasOwnProperty.call(c,"default")?c.default:c}typeof SuppressedError=="function"&&SuppressedError;var f=C;function C(c,l){this.x=c,this.y=l}C.prototype={clone:function(){return new C(this.x,this.y)},add:function(c){return this.clone()._add(c)},sub:function(c){return this.clone()._sub(c)},multByPoint:function(c){return this.clone()._multByPoint(c)},divByPoint:function(c){return this.clone()._divByPoint(c)},mult:function(c){return this.clone()._mult(c)},div:function(c){return this.clone()._div(c)},rotate:function(c){return this.clone()._rotate(c)},rotateAround:function(c,l){return this.clone()._rotateAround(c,l)},matMult:function(c){return this.clone()._matMult(c)},unit:function(){return this.clone()._unit()},perp:function(){return this.clone()._perp()},round:function(){return this.clone()._round()},mag:function(){return Math.sqrt(this.x*this.x+this.y*this.y)},equals:function(c){return this.x===c.x&&this.y===c.y},dist:function(c){return Math.sqrt(this.distSqr(c))},distSqr:function(c){var l=c.x-this.x,h=c.y-this.y;return l*l+h*h},angle:function(){return Math.atan2(this.y,this.x)},angleTo:function(c){return Math.atan2(this.y-c.y,this.x-c.x)},angleWith:function(c){return this.angleWithSep(c.x,c.y)},angleWithSep:function(c,l){return Math.atan2(this.x*l-this.y*c,this.x*c+this.y*l)},_matMult:function(c){var l=c[2]*this.x+c[3]*this.y;return this.x=c[0]*this.x+c[1]*this.y,this.y=l,this},_add:function(c){return this.x+=c.x,this.y+=c.y,this},_sub:function(c){return this.x-=c.x,this.y-=c.y,this},_mult:function(c){return this.x*=c,this.y*=c,this},_div:function(c){return this.x/=c,this.y/=c,this},_multByPoint:function(c){return this.x*=c.x,this.y*=c.y,this},_divByPoint:function(c){return this.x/=c.x,this.y/=c.y,this},_unit:function(){return this._div(this.mag()),this},_perp:function(){var c=this.y;return this.y=this.x,this.x=-c,this},_rotate:function(c){var l=Math.cos(c),h=Math.sin(c),y=h*this.x+l*this.y;return this.x=l*this.x-h*this.y,this.y=y,this},_rotateAround:function(c,l){var h=Math.cos(c),y=Math.sin(c),M=l.y+y*(this.x-l.x)+h*(this.y-l.y);return this.x=l.x+h*(this.x-l.x)-y*(this.y-l.y),this.y=M,this},_round:function(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this}},C.convert=function(c){return c instanceof C?c:Array.isArray(c)?new C(c[0],c[1]):c};var O=d(f),E=P;function P(c,l,h,y){this.cx=3*c,this.bx=3*(h-c)-this.cx,this.ax=1-this.cx-this.bx,this.cy=3*l,this.by=3*(y-l)-this.cy,this.ay=1-this.cy-this.by,this.p1x=c,this.p1y=l,this.p2x=h,this.p2y=y}P.prototype={sampleCurveX:function(c){return((this.ax*c+this.bx)*c+this.cx)*c},sampleCurveY:function(c){return((this.ay*c+this.by)*c+this.cy)*c},sampleCurveDerivativeX:function(c){return(3*this.ax*c+2*this.bx)*c+this.cx},solveCurveX:function(c,l){if(l===void 0&&(l=1e-6),c<0)return 0;if(c>1)return 1;for(var h=c,y=0;y<8;y++){var M=this.sampleCurveX(h)-c;if(Math.abs(M)<l)return h;var T=this.sampleCurveDerivativeX(h);if(Math.abs(T)<1e-6)break;h-=M/T}var K=0,F=1;for(h=c,y=0;y<20&&(M=this.sampleCurveX(h),!(Math.abs(M-c)<l));y++)c>M?K=h:F=h,h=.5*(F-K)+K;return h},solve:function(c,l){return this.sampleCurveY(this.solveCurveX(c,l))}};var L=d(E);let $,H;function Q(){return $==null&&($=typeof OffscreenCanvas<"u"&&new OffscreenCanvas(1,1).getContext("2d")&&typeof createImageBitmap=="function"),$}function N(){if(H==null&&(H=!1,Q())){const l=new OffscreenCanvas(5,5).getContext("2d",{willReadFrequently:!0});if(l){for(let y=0;y<5*5;y++){const M=4*y;l.fillStyle=`rgb(${M},${M+1},${M+2})`,l.fillRect(y%5,Math.floor(y/5),1,1)}const h=l.getImageData(0,0,5,5).data;for(let y=0;y<5*5*4;y++)if(y%4!=3&&h[y]!==y){H=!0;break}}}return H||!1}function Z(c,l,h,y){const M=new L(c,l,h,y);return function(T){return M.solve(T)}}const ae=Z(.25,.1,.25,1);function pe(c,l,h){return Math.min(h,Math.max(l,c))}function fe(c,l,h){const y=h-l,M=((c-l)%y+y)%y+l;return M===l?h:M}function X(c,...l){for(const h of l)for(const y in h)c[y]=h[y];return c}let oe=1;function Ce(c,l,h){const y={};for(const M in c)y[M]=l.call(h||this,c[M],M,c);return y}function we(c,l,h){const y={};for(const M in c)l.call(h||this,c[M],M,c)&&(y[M]=c[M]);return y}function Te(c){return Array.isArray(c)?c.map(Te):typeof c=="object"&&c?Ce(c,Te):c}const Pe={};function he(c){Pe[c]||(typeof console<"u"&&console.wLine truncated
Use an identity property function instead: \`{ "type": "identity", "property": ${JSON.stringify(Ae[1])} }\`.`)];const be=[];return c.layerType==="symbol"&&(F==="text-field"&&M&&!M.glyphs&&be.push(new V(h,K,'use of "text-field" requires a style "glyphs" property')),F==="text-font"&&ko(MA(K))&&va(K.type)==="identity"&&be.push(new V(h,K,'"text-font" does not support identity functions'))),be.concat(y({key:c.key,value:K,valueSpec:re,style:M,styleSpec:T,expressionContext:"property",propertyType:l,propertyKey:F}))}function su(c){return Xd(c,"paint")}function Et(c){return Xd(c,"layout")}function an(c){let l=[];const h=c.value,y=c.key,M=c.style,T=c.styleSpec;h.type||h.ref||l.push(new V(y,h,'either "type" or "ref" is required'));let K=va(h.type);const F=va(h.ref);if(h.id){const W=va(h.id);for(let J=0;J<c.arrayIndex;J++){const re=M.layers[J];va(re.id)===W&&l.push(new V(y,h.id,`duplicate layer id "${h.id}", previously used at line ${re.id.__line__}`))}}if("ref"in h){let W;["type","source","source-layer","filter","layout"].forEach(J=>{J in h&&l.push(new V(y,h[J],`"${J}" is prohibited for ref layers`))}),M.layers.forEach(J=>{va(J.id)===F&&(W=J)}),W?W.ref?l.push(new V(y,h.ref,"ref cannot reference another ref layer")):K=va(W.type):l.push(new V(y,h.ref,`ref layer "${F}" not found`))}else if(K!=="background")if(h.source){const W=M.sources&&M.sources[h.source],J=W&&va(W.type);W?J==="vector"&&K==="raster"?l.push(new V(y,h.source,`layer "${h.id}" requires a raster source`)):J!=="raster-dem"&&K==="hillshade"?l.push(new V(y,h.source,`layer "${h.id}" requires a raster-dem source`)):J==="raster"&&K!=="raster"?l.push(new V(y,h.source,`layer "${h.id}" requires a vector source`)):J!=="vector"||h["source-layer"]?J==="raster-dem"&&K!=="hillshade"?l.push(new V(y,h.source,"raster-dem source can only be used with layer type 'hillshade'.")):K!=="line"||!h.paint||!h.paint["line-gradient"]||J==="geojson"&&W.lineMetrics||l.push(new V(y,h,`layer "${h.id}" specifies a line-gradient, which requires a GeoJSON source with \`lineMetrics\` enabled.`)):l.push(new V(y,h,`layer "${h.id}" must specify a "source-layer"`)):l.push(new V(y,h.source,`source "${h.source}" not found`))}else l.push(new V(y,h,'missing required property "source"'));return l=l.concat(zl({key:y,value:h,valueSpec:T.layer,style:c.style,styleSpec:c.styleSpec,validateSpec:c.validateSpec,objectElementValidators:{"*":()=>[],type:()=>c.validateSpec({key:`${y}.type`,value:h.type,valueSpec:T.layer.type,style:c.style,styleSpec:c.styleSpec,validateSpec:c.validateSpec,object:h,objectKey:"type"}),filter:Lc,layout:W=>zl({layer:h,key:W.key,value:W.value,style:W.style,styleSpec:W.styleSpec,validateSpec:W.validateSpec,objectElementValidators:{"*":J=>Et(Ke({layerType:K},J))}}),paint:W=>zl({layer:h,key:W.key,value:W.value,style:W.style,styleSpec:W.styleSpec,validateSpec:W.validateSpec,objectElementValidators:{"*":J=>su(Ke({layerType:K},J))}})}})),l}function jt(c){const l=c.value,h=c.key,y=Ki(l);return y!=="string"?[new V(h,l,`string expected, ${y} found`)]:[]}const fr={promoteId:function({key:c,value:l}){if(Ki(l)==="string")return jt({key:c,value:l});{const h=[];for(const y in l)h.push(...jt({key:`${c}.${y}`,value:l[y]}));return h}}};function ui(c){const l=c.value,h=c.key,y=c.styleSpec,M=c.style,T=c.validateSpec;if(!l.type)return[new V(h,l,'"type" is required')];const K=va(l.type);let F;switch(K){case"vector":case"raster":return F=zl({key:h,value:l,valueSpec:y[`source_${K.replace("-","_")}`],style:c.style,styleSpec:y,objectElementValidators:fr,validateSpec:T}),F;case"raster-dem":return F=function(W){var J;const re=(J=W.sourceName)!==null&&J!==void 0?J:"",Ae=W.value,be=W.styleSpec,Be=be.source_raster_dem,Le=W.style;let Ge=[];const Ze=Ki(Ae);if(Ae===void 0)return Ge;if(Ze!=="object")return Ge.push(new V("source_raster_dem",Ae,`object expected, ${Ze} found`)),Ge;const at=va(Ae.encoding)==="custom",It=["redFactor","greenFactor","blueFactor","baseShift"],ct=W.value.encoding?`"${W.value.encoding}"`:"Default";for(const wt in Ae)!at&&It.includes(wt)?Ge.push(new V(wt,Ae[wt],`In "${re}": "${wt}" is only valid when "encoding" is set to "custom". ${ct} encoding found`)):Be[wt]?Ge=Ge.concat(W.validateSpec({key:wt,value:Ae[wt],valueSpec:Be[wt],validateSpec:W.validateSpec,style:Le,styleSpec:be})):Ge.push(new V(wt,Ae[wt],`unknown property "${wt}"`));return Ge}({sourceName:h,value:l,style:c.style,styleSpec:y,validateSpec:T}),F;case"geojson":if(F=zl({key:h,value:l,valueSpec:y.source_geojson,style:M,styleSpec:y,validateSpec:T,objectElementValidators:fr}),l.cluster)for(const W in l.clusterProperties){const[J,re]=l.clusterProperties[W],Ae=typeof J=="string"?[J,["accumulated"],["get",W]]:J;F.push(...Pc({key:`${h}.${W}.map`,value:re,validateSpec:T,expressionContext:"cluster-map"})),F.push(...Pc({key:`${h}.${W}.reduce`,value:Ae,validateSpec:T,expressionContext:"cluster-reduce"}))}return F;case"video":return zl({key:h,value:l,valueSpec:y.source_video,style:M,validateSpec:T,styleSpec:y});case"image":return zl({key:h,value:lLine truncated
precision mediump float;
#else
#if !defined(lowp)
@@ -656,85 +656,85 @@ uniform ${de} ${me} u_${Oe};
#endif
`}),staticAttributes:_,staticUniforms:R}}class Ga{constructor(){this.boundProgram=null,this.boundLayoutVertexBuffer=null,this.boundPaintVertexBuffers=[],this.boundIndexBuffer=null,this.boundVertexOffset=null,this.boundDynamicVertexBuffer=null,this.vao=null}bind(u,m,_,w,k,R,j,Y,ie){this.context=u;let de=this.boundPaintVertexBuffers.length!==w.length;for(let me=0;!de&&me<w.length;me++)this.boundPaintVertexBuffers[me]!==w[me]&&(de=!0);!this.vao||this.boundProgram!==m||this.boundLayoutVertexBuffer!==_||de||this.boundIndexBuffer!==k||this.boundVertexOffset!==R||this.boundDynamicVertexBuffer!==j||this.boundDynamicVertexBuffer2!==Y||this.boundDynamicVertexBuffer3!==ie?this.freshBind(m,_,w,k,R,j,Y,ie):(u.bindVertexArray.set(this.vao),j&&j.bind(),k&&k.dynamicDraw&&k.bind(),Y&&Y.bind(),ie&&ie.bind())}freshBind(u,m,_,w,k,R,j,Y){const ie=u.numAttributes,de=this.context,me=de.gl;this.vao&&this.destroy(),this.vao=de.createVertexArray(),de.bindVertexArray.set(this.vao),this.boundProgram=u,this.boundLayoutVertexBuffer=m,this.boundPaintVertexBuffers=_,this.boundIndexBuffer=w,this.boundVertexOffset=k,this.boundDynamicVertexBuffer=R,this.boundDynamicVertexBuffer2=j,this.boundDynamicVertexBuffer3=Y,m.enableAttributes(me,u);for(const Oe of _)Oe.enableAttributes(me,u);R&&R.enableAttributes(me,u),j&&j.enableAttributes(me,u),Y&&Y.enableAttributes(me,u),m.bind(),m.setVertexAttribPointers(me,u,k);for(const Oe of _)Oe.bind(),Oe.setVertexAttribPointers(me,u,k);R&&(R.bind(),R.setVertexAttribPointers(me,u,k)),w&&w.bind(),j&&(j.bind(),j.setVertexAttribPointers(me,u,k)),Y&&(Y.bind(),Y.setVertexAttribPointers(me,u,k)),de.currentNumAttributes=ie}destroy(){this.vao&&(this.context.deleteVertexArray(this.vao),this.vao=null)}}function ea(I){const u=[];for(let m=0;m<I.length;m++){if(I[m]===null)continue;const _=I[m].split(" ");u.push(_.pop())}return u}class xu{constructor(u,m,_,w,k,R){const j=u.gl;this.program=j.createProgram();const Y=ea(m.staticAttributes),ie=_?_.getBinderAttributes():[],de=Y.concat(ie),me=Wa.prelude.staticUniforms?ea(Wa.prelude.staticUniforms):[],Oe=m.staticUniforms?ea(m.staticUniforms):[],qe=_?_.getBinderUniforms():[],Ye=me.concat(Oe).concat(qe),He=[];for(const Ut of Ye)He.indexOf(Ut)<0&&He.push(Ut);const Ne=_?_.defines():[];k&&Ne.push("#define OVERDRAW_INSPECTOR;"),R&&Ne.push("#define TERRAIN3D;");const ht=Ne.concat(Wa.prelude.fragmentSource,m.fragmentSource).join(`
`),Lt=Ne.concat(Wa.prelude.vertexSource,m.vertexSource).join(`
`),tt=j.createShader(j.FRAGMENT_SHADER);if(j.isContextLost())return void(this.failedToCreate=!0);if(j.shaderSource(tt,ht),j.compileShader(tt),!j.getShaderParameter(tt,j.COMPILE_STATUS))throw new Error(`Could not compile fragment shader: ${j.getShaderInfoLog(tt)}`);j.attachShader(this.program,tt);const xt=j.createShader(j.VERTEX_SHADER);if(j.isContextLost())return void(this.failedToCreate=!0);if(j.shaderSource(xt,Lt),j.compileShader(xt),!j.getShaderParameter(xt,j.COMPILE_STATUS))throw new Error(`Could not compile vertex shader: ${j.getShaderInfoLog(xt)}`);j.attachShader(this.program,xt),this.attributes={};const Pt={};this.numAttributes=de.length;for(let Ut=0;Ut<this.numAttributes;Ut++)de[Ut]&&(j.bindAttribLocation(this.program,Ut,de[Ut]),this.attributes[de[Ut]]=Ut);if(j.linkProgram(this.program),!j.getProgramParameter(this.program,j.LINK_STATUS))throw new Error(`Program failed to link: ${j.getProgramInfoLog(this.program)}`);j.deleteShader(xt),j.deleteShader(tt);for(let Ut=0;Ut<He.length;Ut++){const Xt=He[Ut];if(Xt&&!Pt[Xt]){const hn=j.getUniformLocation(this.program,Xt);hn&&(Pt[Xt]=hn)}}this.fixedUniforms=w(u,Pt),this.terrainUniforms=((Ut,Xt)=>({u_depth:new s.aG(Ut,Xt.u_depth),u_terrain:new s.aG(Ut,Xt.u_terrain),u_terrain_dim:new s.aH(Ut,Xt.u_terrain_dim),u_terrain_matrix:new s.aI(Ut,Xt.u_terrain_matrix),u_terrain_unpack:new s.aJ(Ut,Xt.u_terrain_unpack),u_terrain_exaggeration:new s.aH(Ut,Xt.u_terrain_exaggeration)}))(u,Pt),this.binderUniforms=_?_.getUniforms(u,Pt):[]}draw(u,m,_,w,k,R,j,Y,ie,de,me,Oe,qe,Ye,He,Ne,ht,Lt){const tt=u.gl;if(this.failedToCreate)return;if(u.program.set(this.program),u.setDepthMode(_),u.setStencilMode(w),u.setColorMode(k),u.setCullFace(R),Y){u.activeTexture.set(tt.TEXTURE2),tt.bindTexture(tt.TEXTURE_2D,Y.depthTexture),u.activeTexture.set(tt.TEXTURE3),tt.bindTexture(tt.TEXTURE_2D,Y.texture);for(const Pt in this.terrainUniforms)this.terrainUniforms[Pt].set(Y[Pt])}for(const Pt in this.fixedUniforms)this.fixedUniforms[Pt].set(j[Pt]);He&&He.setUniforms(u,this.binderUniforms,qe,{zoom:Ye});let xt=0;switch(m){case tt.LINES:xt=2;break;case tt.TRIANGLES:xt=3;break;case tt.LINE_STRIP:xt=1}for(const Pt of Oe.get()){const Ut=Pt.vaos||(Pt.vaos={});(Ut[ie]||(Ut[ie]=new Ga)).bind(u,this,de,He?He.getPaintVertexBuffers():[],me,Pt.vertexOffset,Ne,ht,Lt),tt.drawElements(m,Pt.primitiveLength*xt,tt.UNSIGNED_SHORT,Pt.primitiveOffset*xt*2)}}}function as(I,u,m){const _=1/cr(m,1,u.transform.tileZoom),w=Math.pow(2,m.tileID.overscaledZ),k=m.tileSize*Math.pow(2,u.transform.tileZoom)/w,R=k*(m.tileID.canonical.x+m.tileID.wrap*w),j=k*m.tileID.canonical.y;return{u_image:0,u_texsize:m.imageAtlasTexture.size,u_scale:[_,I.fromScale,I.toScale],u_fade:I.t,u_pixel_coord_upper:[R>>16,j>>16],u_pixel_coord_lower:[65535&R,65535&j]}}const ta=(I,u,m,_)=>{const w=u.style.light,k=w.properties.get("position"),R=[k.x,k.y,k.z],j=function(){var ie=new s.A(9);return s.A!=Float32Array&&(ie[1]=0,ie[2]=0,ie[3]=0,ie[5]=0,ie[6]=0,ie[7]=0),ie[0]=1,ie[4]=1,ie[8]=1,ie}();w.properties.get("anchor")==="viewport"&&function(ie,de){var me=Math.sin(de),Oe=Math.cos(de);ie[0]=Oe,ie[1]=me,ie[2]=0,ie[3]=-me,ie[4]=Oe,ie[5]=0,ie[6]=0,ie[7]=0,ie[8]=1}(j,-u.transform.angle),function(ie,de,me){var Oe=de[0],qe=de[1],Ye=de[2];ie[0]=Oe*me[0]+qe*me[3]+Ye*me[6],ie[1]=Oe*me[1]+qe*me[4]+Ye*me[7],ie[2]=Oe*me[2]+qe*me[5]+Ye*me[8]}(R,R,j);const Y=w.properties.get("color");return{u_matrix:I,u_lightpos:R,u_lightintensity:w.properties.get("intensity"),u_lightcolor:[Y.r,Y.g,Y.b],u_vertical_gradient:+m,u_opacity:_}},na=(I,u,m,_,w,k,R)=>s.e(ta(I,u,m,_),as(k,u,R),{u_height_factor:-Math.pow(2,w.overscaledZ)/R.tileSize/8}),bs=I=>({u_matrix:I}),wu=(I,u,m,_)=>s.e(bs(I),as(m,u,_)),ga=(I,u)=>({u_matrix:I,u_world:u}),_A=(I,u,m,_,w)=>s.e(wu(I,u,m,_),{u_world:w}),Wu=(I,u,m,_)=>{const w=I.transform;let k,R;if(_.paint.get("circle-pitch-alignment")==="map"){const j=cr(m,1,w.zoom);k=!0,R=[j,j]}else k=!1,R=w.pixelsToGLUnits;return{u_camera_to_center_distance:w.cameraToCenterDistance,u_scale_with_map:+(_.paint.get("circle-pitch-scale")==="map"),u_matrix:I.translatePosMatrix(u.posMatrix,m,_.paint.get("circle-translate"),_.paint.get("circle-translate-anchor")),u_pitch_with_map:+k,u_device_pixel_ratio:I.pixelRatio,u_extrude_scale:R}},bA=(I,u,m)=>{const _=cr(m,1,u.zoom),w=Math.pow(2,u.zoom-m.tileID.overscaledZ),k=m.tileID.overscaleFactor();return{u_matrix:I,u_camera_to_center_distance:u.cameraToCenterDistance,u_pixels_to_tile_units:_,u_extrude_scale:[u.pixelsToGLUnits[0]/(_*w),u.pixelsToGLUnits[1]/(_*w)],u_overscale_factor:k}},Mu=(I,u,m=1)=>({u_matrix:I,u_color:u,u_overlay:0,u_overlay_scale:m}),Gu=I=>({u_matrix:I}),Wo=(I,u,m,_)=>({u_matrix:I,u_extrude_scale:cr(u,1,m),u_intensity:_});function xs(I,u){const m=Math.pow(2,u.canonical.z),_=u.canonical.y;return[new s.Y(0,_/m).toLngLat().lat,new s.Y(0,(_+1)/m).toLngLat().lat]}const nu=(I,u,m,_)=>{const w=I.transform;return{u_matrix:ul(I,u,m,_),u_ratio:1/cr(u,1,w.zoom),u_device_pixel_ratio:I.pixelRatio,u_units_to_pixels:[1/w.pixelsToGLUnits[0],1/w.p Line truncated
`),tt=j.createShader(j.FRAGMENT_SHADER);if(j.isContextLost())return void(this.failedToCreate=!0);if(j.shaderSource(tt,ht),j.compileShader(tt),!j.getShaderParameter(tt,j.COMPILE_STATUS))throw new Error(`Could not compile fragment shader: ${j.getShaderInfoLog(tt)}`);j.attachShader(this.program,tt);const xt=j.createShader(j.VERTEX_SHADER);if(j.isContextLost())return void(this.failedToCreate=!0);if(j.shaderSource(xt,Lt),j.compileShader(xt),!j.getShaderParameter(xt,j.COMPILE_STATUS))throw new Error(`Could not compile vertex shader: ${j.getShaderInfoLog(xt)}`);j.attachShader(this.program,xt),this.attributes={};const Pt={};this.numAttributes=de.length;for(let Ut=0;Ut<this.numAttributes;Ut++)de[Ut]&&(j.bindAttribLocation(this.program,Ut,de[Ut]),this.attributes[de[Ut]]=Ut);if(j.linkProgram(this.program),!j.getProgramParameter(this.program,j.LINK_STATUS))throw new Error(`Program failed to link: ${j.getProgramInfoLog(this.program)}`);j.deleteShader(xt),j.deleteShader(tt);for(let Ut=0;Ut<He.length;Ut++){const Xt=He[Ut];if(Xt&&!Pt[Xt]){const hn=j.getUniformLocation(this.program,Xt);hn&&(Pt[Xt]=hn)}}this.fixedUniforms=w(u,Pt),this.terrainUniforms=((Ut,Xt)=>({u_depth:new s.aG(Ut,Xt.u_depth),u_terrain:new s.aG(Ut,Xt.u_terrain),u_terrain_dim:new s.aH(Ut,Xt.u_terrain_dim),u_terrain_matrix:new s.aI(Ut,Xt.u_terrain_matrix),u_terrain_unpack:new s.aJ(Ut,Xt.u_terrain_unpack),u_terrain_exaggeration:new s.aH(Ut,Xt.u_terrain_exaggeration)}))(u,Pt),this.binderUniforms=_?_.getUniforms(u,Pt):[]}draw(u,m,_,w,k,R,j,Y,ie,de,me,Oe,qe,Ye,He,Ne,ht,Lt){const tt=u.gl;if(this.failedToCreate)return;if(u.program.set(this.program),u.setDepthMode(_),u.setStencilMode(w),u.setColorMode(k),u.setCullFace(R),Y){u.activeTexture.set(tt.TEXTURE2),tt.bindTexture(tt.TEXTURE_2D,Y.depthTexture),u.activeTexture.set(tt.TEXTURE3),tt.bindTexture(tt.TEXTURE_2D,Y.texture);for(const Pt in this.terrainUniforms)this.terrainUniforms[Pt].set(Y[Pt])}for(const Pt in this.fixedUniforms)this.fixedUniforms[Pt].set(j[Pt]);He&&He.setUniforms(u,this.binderUniforms,qe,{zoom:Ye});let xt=0;switch(m){case tt.LINES:xt=2;break;case tt.TRIANGLES:xt=3;break;case tt.LINE_STRIP:xt=1}for(const Pt of Oe.get()){const Ut=Pt.vaos||(Pt.vaos={});(Ut[ie]||(Ut[ie]=new Ga)).bind(u,this,de,He?He.getPaintVertexBuffers():[],me,Pt.vertexOffset,Ne,ht,Lt),tt.drawElements(m,Pt.primitiveLength*xt,tt.UNSIGNED_SHORT,Pt.primitiveOffset*xt*2)}}}function as(I,u,m){const _=1/cr(m,1,u.transform.tileZoom),w=Math.pow(2,m.tileID.overscaledZ),k=m.tileSize*Math.pow(2,u.transform.tileZoom)/w,R=k*(m.tileID.canonical.x+m.tileID.wrap*w),j=k*m.tileID.canonical.y;return{u_image:0,u_texsize:m.imageAtlasTexture.size,u_scale:[_,I.fromScale,I.toScale],u_fade:I.t,u_pixel_coord_upper:[R>>16,j>>16],u_pixel_coord_lower:[65535&R,65535&j]}}const ta=(I,u,m,_)=>{const w=u.style.light,k=w.properties.get("position"),R=[k.x,k.y,k.z],j=function(){var ie=new s.A(9);return s.A!=Float32Array&&(ie[1]=0,ie[2]=0,ie[3]=0,ie[5]=0,ie[6]=0,ie[7]=0),ie[0]=1,ie[4]=1,ie[8]=1,ie}();w.properties.get("anchor")==="viewport"&&function(ie,de){var me=Math.sin(de),Oe=Math.cos(de);ie[0]=Oe,ie[1]=me,ie[2]=0,ie[3]=-me,ie[4]=Oe,ie[5]=0,ie[6]=0,ie[7]=0,ie[8]=1}(j,-u.transform.angle),function(ie,de,me){var Oe=de[0],qe=de[1],Ye=de[2];ie[0]=Oe*me[0]+qe*me[3]+Ye*me[6],ie[1]=Oe*me[1]+qe*me[4]+Ye*me[7],ie[2]=Oe*me[2]+qe*me[5]+Ye*me[8]}(R,R,j);const Y=w.properties.get("color");return{u_matrix:I,u_lightpos:R,u_lightintensity:w.properties.get("intensity"),u_lightcolor:[Y.r,Y.g,Y.b],u_vertical_gradient:+m,u_opacity:_}},na=(I,u,m,_,w,k,R)=>s.e(ta(I,u,m,_),as(k,u,R),{u_height_factor:-Math.pow(2,w.overscaledZ)/R.tileSize/8}),bs=I=>({u_matrix:I}),wu=(I,u,m,_)=>s.e(bs(I),as(m,u,_)),ga=(I,u)=>({u_matrix:I,u_world:u}),_A=(I,u,m,_,w)=>s.e(wu(I,u,m,_),{u_world:w}),Wu=(I,u,m,_)=>{const w=I.transform;let k,R;if(_.paint.get("circle-pitch-alignment")==="map"){const j=cr(m,1,w.zoom);k=!0,R=[j,j]}else k=!1,R=w.pixelsToGLUnits;return{u_camera_to_center_distance:w.cameraToCenterDistance,u_scale_with_map:+(_.paint.get("circle-pitch-scale")==="map"),u_matrix:I.translatePosMatrix(u.posMatrix,m,_.paint.get("circle-translate"),_.paint.get("circle-translate-anchor")),u_pitch_with_map:+k,u_device_pixel_ratio:I.pixelRatio,u_extrude_scale:R}},bA=(I,u,m)=>{const _=cr(m,1,u.zoom),w=Math.pow(2,u.zoom-m.tileID.overscaledZ),k=m.tileID.overscaleFactor();return{u_matrix:I,u_camera_to_center_distance:u.cameraToCenterDistance,u_pixels_to_tile_units:_,u_extrude_scale:[u.pixelsToGLUnits[0]/(_*w),u.pixelsToGLUnits[1]/(_*w)],u_overscale_factor:k}},Mu=(I,u,m=1)=>({u_matrix:I,u_color:u,u_overlay:0,u_overlay_scale:m}),Gu=I=>({u_matrix:I}),Wo=(I,u,m,_)=>({u_matrix:I,u_extrude_scale:cr(u,1,m),u_intensity:_});function xs(I,u){const m=Math.pow(2,u.canonical.z),_=u.canonical.y;return[new s.Y(0,_/m).toLngLat().lat,new s.Y(0,(_+1)/m).toLngLat().lat]}const nu=(I,u,m,_)=>{const w=I.transform;return{u_matrix:Al(I,u,m,_),u_ratio:1/cr(u,1,w.zoom),u_device_pixel_ratio:I.pixelRatio,u_units_to_pixels:[1/w.pixelsToGLUnits[0],1/w.p Line truncated
${this.label} <span></span>
`,oa().s[9]++,this._textEl=this._container.querySelector("span"),oa().s[10]++,this.addEventListeners(),oa().s[11]++,this._container}updateZoomLevel(){oa().f[2]++,oa().s[12]++,this._textEl.innerHTML=this._map.getZoom().toFixed(2)}addEventListeners(){oa().f[3]++,oa().s[13]++,this._map.on("render",()=>(oa().f[4]++,oa().s[14]++,this.updateZoomLevel())),oa().s[15]++,this._map.on("zoomIn",()=>(oa().f[5]++,oa().s[16]++,this.updateZoomLevel())),oa().s[17]++,this._map.on("zoomOut",()=>(oa().f[6]++,oa().s[18]++,this.updateZoomLevel()))}onRemove(){oa().f[7]++,oa().s[19]++,this._container.parentNode.removeChild(this._container),oa().s[20]++,this._map=void 0}}function hO(n,e,t){const r={id:[e,t,"circle"].join("_"),source:e,type:"circle",paint:{"circle-color":n,"circle-radius":2},filter:["==","$type","Point"]};return t&&(r["source-layer"]=t),r}function fO(n,e,t,r){const i={id:[t,r,"polygon"].join("_"),source:t,type:"fill",paint:{"fill-color":n,"fill-antialias":!0,"fill-outline-color":n},filter:["==","$type","Polygon"]};return r&&(i["source-layer"]=r),i}function pO(n,e,t){const r={id:[e,t,"line"].join("_"),source:e,layout:{"line-join":"round","line-cap":"round"},type:"line",paint:{"line-color":n},filter:["==","$type","LineString"]};return t&&(r["source-layer"]=t),r}function Aie(n,e){const t=[],r=[],i=[];function o(a){return{circle:e(a,.8),line:e(a,.6),polygon:e(a,.3),polygonOutline:e(a,.6),default:e(a,1)}}return Object.keys(n).forEach(a=>{const s=n[a];if(!s||s.length===0){const d=o(a);r.push(hO(d.circle,a)),i.push(pO(d.line,a)),t.push(fO(d.polygon,d.polygonOutline,a))}else s.forEach(d=>{const f=o(d);r.push(hO(f.circle,a,d)),i.push(pO(f.line,a,d)),t.push(fO(f.polygon,f.polygonOutline,a,d))})}),t.concat(i).concat(r)}function cie(n,e,t){t=Object.assign({backgroundColor:"#fff"},t);const r={id:"background",type:"background",paint:{"background-color":t.backgroundColor}},i={};return Object.keys(n.sources).forEach(o=>{const a=n.sources[o];(a.type==="vector"||a.type==="geojson")&&(i[o]=a)}),Object.assign(n,{layers:[r].concat(e),sources:i})}const TS={polygonLayer:fO,lineLayer:pO,circleLayer:hO,generateInspectStyle:cie,generateColoredLayers:Aie};function Fi(){var n="/home/runner/work/maputnik/maputnik/src/libs/highlight.ts",e="c6691b5ca8d2cfebe44cf9e3718b8a44b922cf42",t=globalThis,r="__coverage__",i={path:"/home/runner/work/maputnik/maputnik/src/libs/highlight.ts",statementMap:{0:{start:{line:4,column:2},end:{line:8,column:3}},1:{start:{line:5,column:4},end:{line:5,column:33}},2:{start:{line:6,column:9},end:{line:8,column:3}},3:{start:{line:7,column:4},end:{line:7,column:30}},4:{start:{line:9,column:2},end:{line:13,column:3}},5:{start:{line:10,column:4},end:{line:10,column:28}},6:{start:{line:12,column:4},end:{line:12,column:23}},7:{start:{line:14,column:2},end:{line:14,column:29}},8:{start:{line:15,column:2},end:{line:15,column:11}},9:{start:{line:18,column:2},end:{line:19,column:16}},10:{start:{line:19,column:4},end:{line:19,column:16}},11:{start:{line:20,column:24},end:{line:20,column:51}},12:{start:{line:21,column:16},end:{line:21,column:52}},13:{start:{line:22,column:2},end:{line:24,column:3}},14:{start:{line:23,column:4},end:{line:23,column:104}},15:{start:{line:25,column:2},end:{line:27,column:3}},16:{start:{line:26,column:4},end:{line:26,column:96}},17:{start:{line:28,column:2},end:{line:30,column:3}},18:{start:{line:29,column:4},end:{line:29,column:94}},19:{start:{line:31,column:2},end:{line:31,column:14}}},fnMap:{0:{name:"changeLayer",decl:{start:{line:3,column:9},end:{line:3,column:20}},loc:{start:{line:3,column:31},end:{line:16,column:1}},line:3},1:{name:"colorHighlightedLayer",decl:{start:{line:17,column:16},end:{line:17,column:37}},loc:{start:{line:17,column:45},end:{line:32,column:1}},line:17}},branchMap:{0:{loc:{start:{line:4,column:2},end:{line:8,column:3}},type:"if",locations:[{start:{line:4,column:2},end:{line:8,column:3}},{start:{line:6,column:9},end:{line:8,column:3}}],line:4},1:{loc:{start:{line:6,column:9},end:{line:8,column:3}},type:"if",locations:[{start:{line:6,column:9},end:{line:8,column:3}},{start:{line:void 0,column:void 0},end:{line:void 0,column:void 0}}],line:6},2:{loc:{start:{line:9,column:2},end:{line:13,column:3}},type:"if",locations:[{start:{line:9,column:2},end:{line:13,column:3}},{start:{line:11,column:9},end:{line:13,column:3}}],line:9},3:{loc:{start:{line:18,column:2},end:{line:19,column:16}},type:"if",locations:[{start:{line:18,column:2},end:{line:19,column:16}},{start:{line:void 0,column:void 0},end:{line:void 0,column:void 0}}],line:18},4:{loc:{start:{line:18,column:6},end:{line:18,column:70}},type:"binary-expr",locations:[{start:{line:18,column:6},end:{line:18,column:12}},{start:{line:18,column:16},end:{line:18,column:43}},{start:{line:18,column:47},end:{line:18,column:70}}],line:18},5:{loc:{start:{line:20,column:24},end:{line:20,column:51}},type:"binary-expr",locations:[{start:{line:20,column:24},end:{line:20,column:45}},{start:{line:20,column:49},end:{line:20,column:51}}],line:20}, Line truncated
`))?(Rb(LO),Zg=null,PO=void 0,Bp.set(P,n)):(Bp.set(P,Bp.get(P)+1,!0),f=!1))}f&&(clearInterval(o),o=void 0)}return function(f){var C=dN(f);if(C)for(var O=C.families,E=0,P=O.length;E<P;++E){var L=O[E],$=C.style+`
`,oa().s[9]++,this._textEl=this._container.querySelector("span"),oa().s[10]++,this.addEventListeners(),oa().s[11]++,this._container}updateZoomLevel(){oa().f[2]++,oa().s[12]++,this._textEl.innerHTML=this._map.getZoom().toFixed(2)}addEventListeners(){oa().f[3]++,oa().s[13]++,this._map.on("render",()=>(oa().f[4]++,oa().s[14]++,this.updateZoomLevel())),oa().s[15]++,this._map.on("zoomIn",()=>(oa().f[5]++,oa().s[16]++,this.updateZoomLevel())),oa().s[17]++,this._map.on("zoomOut",()=>(oa().f[6]++,oa().s[18]++,this.updateZoomLevel()))}onRemove(){oa().f[7]++,oa().s[19]++,this._container.parentNode.removeChild(this._container),oa().s[20]++,this._map=void 0}}function fO(n,e,t){const r={id:[e,t,"circle"].join("_"),source:e,type:"circle",paint:{"circle-color":n,"circle-radius":2},filter:["==","$type","Point"]};return t&&(r["source-layer"]=t),r}function pO(n,e,t,r){const i={id:[t,r,"polygon"].join("_"),source:t,type:"fill",paint:{"fill-color":n,"fill-antialias":!0,"fill-outline-color":n},filter:["==","$type","Polygon"]};return r&&(i["source-layer"]=r),i}function mO(n,e,t){const r={id:[e,t,"line"].join("_"),source:e,layout:{"line-join":"round","line-cap":"round"},type:"line",paint:{"line-color":n},filter:["==","$type","LineString"]};return t&&(r["source-layer"]=t),r}function Aie(n,e){const t=[],r=[],i=[];function o(a){return{circle:e(a,.8),line:e(a,.6),polygon:e(a,.3),polygonOutline:e(a,.6),default:e(a,1)}}return Object.keys(n).forEach(a=>{const s=n[a];if(!s||s.length===0){const d=o(a);r.push(fO(d.circle,a)),i.push(mO(d.line,a)),t.push(pO(d.polygon,d.polygonOutline,a))}else s.forEach(d=>{const f=o(d);r.push(fO(f.circle,a,d)),i.push(mO(f.line,a,d)),t.push(pO(f.polygon,f.polygonOutline,a,d))})}),t.concat(i).concat(r)}function cie(n,e,t){t=Object.assign({backgroundColor:"#fff"},t);const r={id:"background",type:"background",paint:{"background-color":t.backgroundColor}},i={};return Object.keys(n.sources).forEach(o=>{const a=n.sources[o];(a.type==="vector"||a.type==="geojson")&&(i[o]=a)}),Object.assign(n,{layers:[r].concat(e),sources:i})}const KS={polygonLayer:pO,lineLayer:mO,circleLayer:fO,generateInspectStyle:cie,generateColoredLayers:Aie};function Fi(){var n="/home/runner/work/maputnik/maputnik/src/libs/highlight.ts",e="c6691b5ca8d2cfebe44cf9e3718b8a44b922cf42",t=globalThis,r="__coverage__",i={path:"/home/runner/work/maputnik/maputnik/src/libs/highlight.ts",statementMap:{0:{start:{line:4,column:2},end:{line:8,column:3}},1:{start:{line:5,column:4},end:{line:5,column:33}},2:{start:{line:6,column:9},end:{line:8,column:3}},3:{start:{line:7,column:4},end:{line:7,column:30}},4:{start:{line:9,column:2},end:{line:13,column:3}},5:{start:{line:10,column:4},end:{line:10,column:28}},6:{start:{line:12,column:4},end:{line:12,column:23}},7:{start:{line:14,column:2},end:{line:14,column:29}},8:{start:{line:15,column:2},end:{line:15,column:11}},9:{start:{line:18,column:2},end:{line:19,column:16}},10:{start:{line:19,column:4},end:{line:19,column:16}},11:{start:{line:20,column:24},end:{line:20,column:51}},12:{start:{line:21,column:16},end:{line:21,column:52}},13:{start:{line:22,column:2},end:{line:24,column:3}},14:{start:{line:23,column:4},end:{line:23,column:104}},15:{start:{line:25,column:2},end:{line:27,column:3}},16:{start:{line:26,column:4},end:{line:26,column:96}},17:{start:{line:28,column:2},end:{line:30,column:3}},18:{start:{line:29,column:4},end:{line:29,column:94}},19:{start:{line:31,column:2},end:{line:31,column:14}}},fnMap:{0:{name:"changeLayer",decl:{start:{line:3,column:9},end:{line:3,column:20}},loc:{start:{line:3,column:31},end:{line:16,column:1}},line:3},1:{name:"colorHighlightedLayer",decl:{start:{line:17,column:16},end:{line:17,column:37}},loc:{start:{line:17,column:45},end:{line:32,column:1}},line:17}},branchMap:{0:{loc:{start:{line:4,column:2},end:{line:8,column:3}},type:"if",locations:[{start:{line:4,column:2},end:{line:8,column:3}},{start:{line:6,column:9},end:{line:8,column:3}}],line:4},1:{loc:{start:{line:6,column:9},end:{line:8,column:3}},type:"if",locations:[{start:{line:6,column:9},end:{line:8,column:3}},{start:{line:void 0,column:void 0},end:{line:void 0,column:void 0}}],line:6},2:{loc:{start:{line:9,column:2},end:{line:13,column:3}},type:"if",locations:[{start:{line:9,column:2},end:{line:13,column:3}},{start:{line:11,column:9},end:{line:13,column:3}}],line:9},3:{loc:{start:{line:18,column:2},end:{line:19,column:16}},type:"if",locations:[{start:{line:18,column:2},end:{line:19,column:16}},{start:{line:void 0,column:void 0},end:{line:void 0,column:void 0}}],line:18},4:{loc:{start:{line:18,column:6},end:{line:18,column:70}},type:"binary-expr",locations:[{start:{line:18,column:6},end:{line:18,column:12}},{start:{line:18,column:16},end:{line:18,column:43}},{start:{line:18,column:47},end:{line:18,column:70}}],line:18},5:{loc:{start:{line:20,column:24},end:{line:20,column:51}},type:"binary-expr",locations:[{start:{line:20,column:24},end:{line:20,column:45}},{start:{line:20,column:49},end:{line:20,column:51}}],line:20}, Line truncated
`))?(Rb(DO),Zg=null,LO=void 0,Bp.set(P,n)):(Bp.set(P,Bp.get(P)+1,!0),f=!1))}f&&(clearInterval(o),o=void 0)}return function(f){var C=dN(f);if(C)for(var O=C.families,E=0,P=O.length;E<P;++E){var L=O[E],$=C.style+`
`+C.weight+`
`+L;Bp.get($)===void 0&&(Bp.set($,n,!0),s(C.style,C.weight,L)||(Bp.set($,0,!0),o===void 0&&(o=setInterval(d,32))))}}}(),sle=function(){var n;return function(e){var t=LO[e];if(t==null){if(fw){var r=dN(e),i=pN(e,"Žg"),o=isNaN(Number(r.lineHeight))?1.2:Number(r.lineHeight);t=o*(i.actualBoundingBoxAscent+i.actualBoundingBoxDescent)}else n||(n=document.createElement("div"),n.innerHTML="M",n.style.minHeight="0",n.style.maxHeight="none",n.style.height="auto",n.style.padding="0",n.style.border="none",n.style.position="absolute",n.style.display="block",n.style.left="-99999px"),n.style.font=e,document.body.appendChild(n),t=n.offsetHeight,document.body.removeChild(n);LO[e]=t}return t}}();function pN(n,e){return Zg||(Zg=Oc(1,1)),n!=PO&&(Zg.font=n,PO=Zg.font),Zg.measureText(e)}function U4(n,e){return pN(n,e).width}function SK(n,e,t){if(e in t)return t[e];var r=e.split(`
`+L;Bp.get($)===void 0&&(Bp.set($,n,!0),s(C.style,C.weight,L)||(Bp.set($,0,!0),o===void 0&&(o=setInterval(d,32))))}}}(),sle=function(){var n;return function(e){var t=DO[e];if(t==null){if(fw){var r=dN(e),i=pN(e,"Žg"),o=isNaN(Number(r.lineHeight))?1.2:Number(r.lineHeight);t=o*(i.actualBoundingBoxAscent+i.actualBoundingBoxDescent)}else n||(n=document.createElement("div"),n.innerHTML="M",n.style.minHeight="0",n.style.maxHeight="none",n.style.height="auto",n.style.padding="0",n.style.border="none",n.style.position="absolute",n.style.display="block",n.style.left="-99999px"),n.style.font=e,document.body.appendChild(n),t=n.offsetHeight,document.body.removeChild(n);DO[e]=t}return t}}();function pN(n,e){return Zg||(Zg=Oc(1,1)),n!=LO&&(Zg.font=n,LO=Zg.font),Zg.measureText(e)}function U4(n,e){return pN(n,e).width}function SK(n,e,t){if(e in t)return t[e];var r=e.split(`
`).reduce(function(i,o){return Math.max(i,U4(n,o))},0);return t[e]=r,r}function lle(n,e){for(var t=[],r=[],i=[],o=0,a=0,s=0,d=0,f=0,C=e.length;f<=C;f+=2){var O=e[f];if(O===`
`||f===C){o=Math.max(o,a),i.push(a),a=0,s+=d;continue}var E=e[f+1]||n.font,P=U4(E,O);t.push(P),a+=P;var L=sle(E);r.push(L),d=Math.max(d,L)}return{width:o,height:s,widths:t,heights:r,lineWidths:i}}function ule(n,e,t,r,i,o,a,s,d,f,C){n.save(),t!==1&&(n.globalAlpha*=t),e&&n.setTransform.apply(n,e),r.contextInstructions?(n.translate(d,f),n.scale(C[0],C[1]),Ale(r,n)):C[0]<0||C[1]<0?(n.translate(d,f),n.scale(C[0],C[1]),n.drawImage(r,i,o,a,s,0,0,a,s)):n.drawImage(r,i,o,a,s,d,f,a*C[0],s*C[1]),n.restore()}function Ale(n,e){for(var t=n.contextInstructions,r=0,i=t.length;r<i;r+=2)Array.isArray(t[r+1])?e[t[r]].apply(e,t[r+1]):e[t[r]]=t[r+1]}var cle=function(){var n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},n(e,t)};return function(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");n(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}}(),dle=function(n){cle(e,n);function e(t){var r=n.call(this,t)||this;r.fontChangeListenerKey_=Oo(Bp,hv.PROPERTYCHANGE,t.redrawText.bind(t)),r.element_=document.createElement("div");var i=r.element_.style;i.position="absolute",i.width="100%",i.height="100%",i.zIndex="0",r.element_.className=xw+" ol-layers";var o=t.getViewport();return o.insertBefore(r.element_,o.firstChild||null),r.children_=[],r.renderedVisible_=!0,r}return e.prototype.dispatchRenderEvent=function(t,r){var i=this.getMap();if(i.hasListener(t)){var o=new cN(t,void 0,r);i.dispatchEvent(o)}},e.prototype.disposeInternal=function(){rs(this.fontChangeListenerKey_),this.element_.parentNode.removeChild(this.element_),n.prototype.disposeInternal.call(this)},e.prototype.renderFrame=function(t){if(!t){this.renderedVisible_&&(this.element_.style.display="none",this.renderedVisible_=!1);return}this.calculateMatrices2D(t),this.dispatchRenderEvent(o0.PRECOMPOSE,t);var r=t.layerStatesArray.sort(function(P,L){return P.zIndex-L.zIndex}),i=t.viewState;this.children_.length=0;for(var o=[],a=null,s=0,d=r.length;s<d;++s){var f=r[s];t.layerIndex=s;var C=f.layer,O=C.getSourceState();if(!P4(f,i)||O!="ready"&&O!="undefined"){C.unrender();continue}var E=C.render(t,a);E&&(E!==a&&(this.children_.push(E),a=E),"getDeclutter"in C&&o.push(C))}for(var s=o.length-1;s>=0;--s)o[s].renderDeclutter(t);ole(this.element_,this.children_),this.dispatchRenderEvent(o0.POSTCOMPOSE,t),this.renderedVisible_||(this.element_.style.display="",this.renderedVisible_=!0),this.scheduleExpireIconCache(t)},e.prototype.forEachLayerAtPixel=function(t,r,i,o,a){for(var s=r.viewState,d=r.layerStatesArray,f=d.length,C=f-1;C>=0;--C){var O=d[C],E=O.layer;if(E.hasRenderer()&&P4(O,s)&&a(E)){var P=E.getRenderer(),L=P.getDataAtPixel(t,r,i);if(L){var $=o(E,L);if($)return $}}}},e}(Jse);const hle=dle,bc={ADD:"add",REMOVE:"remove"};var mN=function(){var n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},n(e,t)};return function(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");n(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}}(),EK={LENGTH:"length"},k2=function(n){mN(e,n);function e(t,r,i){var o=n.call(this,t)||this;return o.element=r,o.index=i,o}return e}(Xp),Rd=function(n){mN(e,n);function e(t,r){var i=n.call(this)||this;i.on,i.once,i.un;var o=r||{};if(i.unique_=!!o.unique,i.array_=t||[],i.unique_)for(var a=0,s=i.array_.length;a<s;++a)i.assertUnique_(i.array_[a],a);return i.updateLength_(),i}return e.prototype.clear=function(){for(;this.getLength()>0;)this.pop()},e.prototype.extend=function(t){for(var r=0,i=t.length;r<i;++r)this.push(t[r]);return this},e.prototype.forEach=function(t){for(var r=this.array_,i=0,o=r.length;i<o;++i)t(r[i],i,r)},e.prototype.getArray=function(){return this.array_},e.prototype.item=function(t){return this.array_[t]},e.prototype.getLength=function(){return this.get(EK.LENGTH)},e.prototype.insertAt=function(t,r){this.unique_&&this.assertUnique_(r),this.array_.splice(t,0,r),this.updateLength_(),this.dispatchEvent(new k2(bc.ADD,r,t))},e.prototype.pop=function(){return this.removeAt(this.getLength()-1)},e.prototype.push=function(t){this.unique_&&this.assertUnique_(t);var r=this.getLength();return this.insertAt(r,t),this.getLength()},e.prototype.remove=function(t){for(var r=this.array_,i=0,o=r.length;i<o;++i)if(r[i]===t)return this.removeAt(i)},e.prototype.removeAt=function(t){var r=this.array_[t];return this.array_.splice(t,1),this.updateLength_(),this.dispatchEvent(new k2(bc.REMOVE,r,t)),r},e.prototype.setAt=function(t,r){var i=this.getLength();if(t<i){this.unique_&&this.assertUnique_(r,t);var o=this.array_[t];this.array_[ Line truncated
`||f===C){o=Math.max(o,a),i.push(a),a=0,s+=d;continue}var E=e[f+1]||n.font,P=U4(E,O);t.push(P),a+=P;var L=sle(E);r.push(L),d=Math.max(d,L)}return{width:o,height:s,widths:t,heights:r,lineWidths:i}}function ule(n,e,t,r,i,o,a,s,d,f,C){n.save(),t!==1&&(n.globalAlpha*=t),e&&n.setTransform.apply(n,e),r.contextInstructions?(n.translate(d,f),n.scale(C[0],C[1]),Ale(r,n)):C[0]<0||C[1]<0?(n.translate(d,f),n.scale(C[0],C[1]),n.drawImage(r,i,o,a,s,0,0,a,s)):n.drawImage(r,i,o,a,s,d,f,a*C[0],s*C[1]),n.restore()}function Ale(n,e){for(var t=n.contextInstructions,r=0,i=t.length;r<i;r+=2)Array.isArray(t[r+1])?e[t[r]].apply(e,t[r+1]):e[t[r]]=t[r+1]}var cle=function(){var n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},n(e,t)};return function(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");n(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}}(),dle=function(n){cle(e,n);function e(t){var r=n.call(this,t)||this;r.fontChangeListenerKey_=Oo(Bp,hv.PROPERTYCHANGE,t.redrawText.bind(t)),r.element_=document.createElement("div");var i=r.element_.style;i.position="absolute",i.width="100%",i.height="100%",i.zIndex="0",r.element_.className=xw+" ol-layers";var o=t.getViewport();return o.insertBefore(r.element_,o.firstChild||null),r.children_=[],r.renderedVisible_=!0,r}return e.prototype.dispatchRenderEvent=function(t,r){var i=this.getMap();if(i.hasListener(t)){var o=new cN(t,void 0,r);i.dispatchEvent(o)}},e.prototype.disposeInternal=function(){rs(this.fontChangeListenerKey_),this.element_.parentNode.removeChild(this.element_),n.prototype.disposeInternal.call(this)},e.prototype.renderFrame=function(t){if(!t){this.renderedVisible_&&(this.element_.style.display="none",this.renderedVisible_=!1);return}this.calculateMatrices2D(t),this.dispatchRenderEvent(o0.PRECOMPOSE,t);var r=t.layerStatesArray.sort(function(P,L){return P.zIndex-L.zIndex}),i=t.viewState;this.children_.length=0;for(var o=[],a=null,s=0,d=r.length;s<d;++s){var f=r[s];t.layerIndex=s;var C=f.layer,O=C.getSourceState();if(!P4(f,i)||O!="ready"&&O!="undefined"){C.unrender();continue}var E=C.render(t,a);E&&(E!==a&&(this.children_.push(E),a=E),"getDeclutter"in C&&o.push(C))}for(var s=o.length-1;s>=0;--s)o[s].renderDeclutter(t);ole(this.element_,this.children_),this.dispatchRenderEvent(o0.POSTCOMPOSE,t),this.renderedVisible_||(this.element_.style.display="",this.renderedVisible_=!0),this.scheduleExpireIconCache(t)},e.prototype.forEachLayerAtPixel=function(t,r,i,o,a){for(var s=r.viewState,d=r.layerStatesArray,f=d.length,C=f-1;C>=0;--C){var O=d[C],E=O.layer;if(E.hasRenderer()&&P4(O,s)&&a(E)){var P=E.getRenderer(),L=P.getDataAtPixel(t,r,i);if(L){var $=o(E,L);if($)return $}}}},e}(Jse);const hle=dle,bc={ADD:"add",REMOVE:"remove"};var mN=function(){var n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},n(e,t)};return function(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");n(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}}(),EK={LENGTH:"length"},k2=function(n){mN(e,n);function e(t,r,i){var o=n.call(this,t)||this;return o.element=r,o.index=i,o}return e}(Xp),Rd=function(n){mN(e,n);function e(t,r){var i=n.call(this)||this;i.on,i.once,i.un;var o=r||{};if(i.unique_=!!o.unique,i.array_=t||[],i.unique_)for(var a=0,s=i.array_.length;a<s;++a)i.assertUnique_(i.array_[a],a);return i.updateLength_(),i}return e.prototype.clear=function(){for(;this.getLength()>0;)this.pop()},e.prototype.extend=function(t){for(var r=0,i=t.length;r<i;++r)this.push(t[r]);return this},e.prototype.forEach=function(t){for(var r=this.array_,i=0,o=r.length;i<o;++i)t(r[i],i,r)},e.prototype.getArray=function(){return this.array_},e.prototype.item=function(t){return this.array_[t]},e.prototype.getLength=function(){return this.get(EK.LENGTH)},e.prototype.insertAt=function(t,r){this.unique_&&this.assertUnique_(r),this.array_.splice(t,0,r),this.updateLength_(),this.dispatchEvent(new k2(bc.ADD,r,t))},e.prototype.pop=function(){return this.removeAt(this.getLength()-1)},e.prototype.push=function(t){this.unique_&&this.assertUnique_(t);var r=this.getLength();return this.insertAt(r,t),this.getLength()},e.prototype.remove=function(t){for(var r=this.array_,i=0,o=r.length;i<o;++i)if(r[i]===t)return this.removeAt(i)},e.prototype.removeAt=function(t){var r=this.array_[t];return this.array_.splice(t,1),this.updateLength_(),this.dispatchEvent(new k2(bc.REMOVE,r,t)),r},e.prototype.setAt=function(t,r){var i=this.getLength();if(t<i){this.unique_&&this.assertUnique_(r,t);var o=this.array_[t];this.array_[ Line truncated
`,""),n.push(e,""),n}var BAe=function(){function n(e,t,r,i){this.overlaps=r,this.pixelRatio=t,this.resolution=e,this.alignFill_,this.instructions=i.instructions,this.coordinates=i.coordinates,this.coordinateCache_={},this.renderedTransform_=jd(),this.hitDetectionInstructions=i.hitDetectionInstructions,this.pixelCoordinates_=null,this.viewRotation_=0,this.fillStates=i.fillStates||{},this.strokeStates=i.strokeStates||{},this.textStates=i.textStates||{},this.widths_={},this.labels_={}}return n.prototype.createLabel=function(e,t,r,i){var o=e+t+r+i;if(this.labels_[o])return this.labels_[o];var a=i?this.strokeStates[i]:null,s=r?this.fillStates[r]:null,d=this.textStates[t],f=this.pixelRatio,C=[d.scale[0]*f,d.scale[1]*f],O=Array.isArray(e),E=d.justify?b_[d.justify]:zK(Array.isArray(e)?e[0]:e,d.textAlign||pb),P=i&&a.lineWidth?a.lineWidth:0,L=O?e:e.split(`
`).reduce(OAe,[]),$=lle(d,L),H=$.width,Q=$.height,N=$.widths,Z=$.heights,ae=$.lineWidths,pe=H+P,fe=[],X=(pe+2)*C[0],oe=(Q+P)*C[1],Ce={width:X<0?Math.floor(X):Math.ceil(X),height:oe<0?Math.floor(oe):Math.ceil(oe),contextInstructions:fe};if((C[0]!=1||C[1]!=1)&&fe.push("scale",C),i){fe.push("strokeStyle",a.strokeStyle),fe.push("lineWidth",P),fe.push("lineCap",a.lineCap),fe.push("lineJoin",a.lineJoin),fe.push("miterLimit",a.miterLimit);var we=fw?OffscreenCanvasRenderingContext2D:CanvasRenderingContext2D;we.prototype.setLineDash&&(fe.push("setLineDash",[a.lineDash]),fe.push("lineDashOffset",a.lineDashOffset))}r&&fe.push("fillStyle",s.fillStyle),fe.push("textBaseline","middle"),fe.push("textAlign","center");for(var Te=.5-E,Pe=E*pe+Te*P,he=[],$e=[],ye=0,gt=0,yt=0,st=0,ft,Re=0,Ve=L.length;Re<Ve;Re+=2){var Xe=L[Re];if(Xe===`
`){gt+=ye,ye=0,Pe=E*pe+Te*P,++st;continue}var Jt=L[Re+1]||d.font;Jt!==ft&&(i&&he.push("font",Jt),r&&$e.push("font",Jt),ft=Jt),ye=Math.max(ye,Z[yt]);var Ht=[Xe,Pe+Te*N[yt]+E*(N[yt]-ae[st]),.5*(P+ye)+gt];Pe+=N[yt],i&&he.push("strokeText",Ht),r&&$e.push("fillText",Ht),++yt}return Array.prototype.push.apply(fe,he),Array.prototype.push.apply(fe,$e),this.labels_[o]=Ce,Ce},n.prototype.replayTextBackground_=function(e,t,r,i,o,a,s){e.beginPath(),e.moveTo.apply(e,t),e.lineTo.apply(e,r),e.lineTo.apply(e,i),e.lineTo.apply(e,o),e.lineTo.apply(e,t),a&&(this.alignFill_=a[2],this.fill_(e)),s&&(this.setStrokeStyle_(e,s),e.stroke())},n.prototype.calculateImageOrLabelDimensions_=function(e,t,r,i,o,a,s,d,f,C,O,E,P,L,$,H){s*=E[0],d*=E[1];var Q=r-s,N=i-d,Z=o+f>e?e-f:o,ae=a+C>t?t-C:a,pe=L[3]+Z*E[0]+L[1],fe=L[0]+ae*E[1]+L[2],X=Q-L[3],oe=N-L[0];($||O!==0)&&(_m[0]=X,bm[0]=X,_m[1]=oe,wp[1]=oe,wp[0]=X+pe,Mp[0]=wp[0],Mp[1]=oe+fe,bm[1]=Mp[1]);var Ce;return O!==0?(Ce=$f(jd(),r,i,1,1,O,-r,-i),vl(Ce,_m),vl(Ce,wp),vl(Ce,Mp),vl(Ce,bm),Qf(Math.min(_m[0],wp[0],Mp[0],bm[0]),Math.min(_m[1],wp[1],Mp[1],bm[1]),Math.max(_m[0],wp[0],Mp[0],bm[0]),Math.max(_m[1],wp[1],Mp[1],bm[1]),Ug)):Qf(Math.min(X,X+pe),Math.min(oe,oe+fe),Math.max(X,X+pe),Math.max(oe,oe+fe),Ug),P&&(Q=Math.round(Q),N=Math.round(N)),{drawImageX:Q,drawImageY:N,drawImageW:Z,drawImageH:ae,originX:f,originY:C,declutterBox:{minX:Ug[0],minY:Ug[1],maxX:Ug[2],maxY:Ug[3],value:H},canvasTransform:Ce,scale:E}},n.prototype.replayImageOrLabel_=function(e,t,r,i,o,a,s){var d=!!(a||s),f=i.declutterBox,C=e.canvas,O=s?s[2]*i.scale[0]/2:0,E=f.minX-O<=C.width/t&&f.maxX+O>=0&&f.minY-O<=C.height/t&&f.maxY+O>=0;return E&&(d&&this.replayTextBackground_(e,_m,wp,Mp,bm,a,s),ule(e,i.canvasTransform,o,r,i.originX,i.originY,i.drawImageW,i.drawImageH,i.drawImageX,i.drawImageY,i.scale)),!0},n.prototype.fill_=function(e){if(this.alignFill_){var t=vl(this.renderedTransform_,[0,0]),r=512*this.pixelRatio;e.save(),e.translate(t[0]%r,t[1]%r),e.rotate(this.viewRotation_)}e.fill(),this.alignFill_&&e.restore()},n.prototype.setStrokeStyle_=function(e,t){e.strokeStyle=t[1],e.lineWidth=t[2],e.lineCap=t[3],e.lineJoin=t[4],e.miterLimit=t[5],e.setLineDash&&(e.lineDashOffset=t[7],e.setLineDash(t[6]))},n.prototype.drawLabelWithPointPlacement_=function(e,t,r,i){var o=this.textStates[t],a=this.createLabel(e,t,i,r),s=this.strokeStates[r],d=this.pixelRatio,f=zK(Array.isArray(e)?e[0]:e,o.textAlign||pb),C=b_[o.textBaseline||F4],O=s&&s.lineWidth?s.lineWidth:0,E=a.width/d-2*o.scale[0],P=f*E+2*(.5-f)*O,L=C*a.height/d+2*(.5-C)*O;return{label:a,anchorX:P,anchorY:L}},n.prototype.execute_=function(e,t,r,i,o,a,s,d){var f;this.pixelCoordinates_&&Q1(r,this.renderedTransform_)?f=this.pixelCoordinates_:(this.pixelCoordinates_||(this.pixelCoordinates_=[]),f=i0(this.coordinates,0,this.coordinates.length,2,r,this.pixelCoordinates_),Soe(this.renderedTransform_,r));for(var C=0,O=i.length,E=0,P,L,$,H,Q,N,Z,ae,pe,fe,X,oe,Ce=0,we=0,Te=null,Pe=null,he=this.coordinateCache_,$e=this.viewRotation_,ye=Math.round(Math.atan2(-r[1],r[0])*1e12)/1e12,gt={context:e,pixelRatio:this.pixelRatio,resolution:this.resolution,rotation:$e},yt=this.instructions!=i||this.overlaps?0:200,st,ft,Re,Ve;C<O;){var Xe=i[C],Jt=Xe[0];switch(Jt){case ci.BEGIN_GEOMETRY:st=Xe[1],Ve=Xe[3],st.getGeometry()?s!==void 0&&!_l(s,Ve.getExtent())?C=Xe[2]+1:++C:C=Xe[2];break;case ci.BEGIN_PATH:Ce>yt&&(this.fill_(e),Ce=0),we>yt&&(e.stroke(),we=0),!Ce&&!we&&(e.beginPath(),H=NaN,Q=NaN),++C;break;case ci.CIRCLE:E=Xe[1];var Ht=f[E],bt=f[E+1],Qt=f[E+2],Yt=f[E+3],ke=Qt-Ht,ge=Yt-bt,Se=Math.sqrt(ke*ke+ge*ge);e.moveTo(Ht+Se,bt),e.arc(Ht,bt,Se,0,2*Math.PI,!0),++C;break;case ci.CLOSE_PATH:e.closePath(),++C;break;case ci.CUSTOM:E=Xe[1],P=Xe[2];var ze=Xe[3],it=Xe[4],ot=Xe.length==6?Xe[5]:void 0;gt.geometry=ze,gt.feature=st,C in he||(he[C]=[]);var St=he[C];ot?ot(f,E,P,2,St):(St[0]=f[E],St[1]=f[E+1],St.length=2),it(St,gt),++C;break;case ci.DRAW_IMAGE:E=Xe[1],P=Xe[2],ae=Xe[3],L=Xe[4],$=Xe[5];var Rt=Xe[6],zt=Xe[7],mt=Xe[8],or=Xe[9],gn=Xe[10],yn=Xe[11],tr=Xe[12],dr=Xe[13],Sr=Xe[14],Nr=Xe[15];if(!ae&&Xe.length>=20){pe=Xe[19],fe=Xe[20],X=Xe[21],oe=Xe[22];var yr=this.drawLabelWithPointPlacement_(pe,fe,X,oe);ae=yr.label,Xe[3]=ae;var _i=Xe[23];L=(yr.anchorX-_i)*this.pixelRatio,Xe[4]=L;var Ee=Xe[24];$=(yr.anchorY-Ee)*this.pixelRatio,Xe[5]=$,Rt=ae.height,Xe[6]=Rt,dr=ae.width,Xe[13]=dr}var ee=void 0;Xe.length>25&&(ee=Xe[25]);var V=void 0,Ke=void 0,At=void 0;Xe.length>17?(V=Xe[16],Ke=Xe[17],At=Xe[18]):(V=h1,Ke=!1,At=!1),gn&&ye?yn+=$e:!gn&&!ye&&(yn-=$e);for(var Bt=0;E<P;E+=2)if(!(ee&&ee[Bt++]<dr/this.pixelRatio)){var kt=this.calculateImageOrLabelDimensions_(ae.width,ae.height,f[E],f[E+1],dr,Rt,L,$,mt,or,yn,tr,o,V,Ke||At,st),Dt=[e,t,ae,kt,zt,Ke?Te:null,At?Pe:null];if(d){if(Sr==="none")continue;if(Sr==="obstacle"){d.insert(kt.declutterBox);continue}else{var fn=void 0,Pn=void 0;if(Nr){var On=P-E;if(!Nr[On]){Nr[On]=Dt;continue}if(fn=Nr[On],delete Nr[On],Pn=RK(fn),d.collides(Pn))continue}if(d.collides(kt.declutterBox))continue;fn&&(d. Line truncated
`);this.generateTileUrlFunction_?this.setTileUrlFunction(nW(t,this.tileGrid),r):this.setKey(r)},e.prototype.tileUrlFunction=function(t,r,i){},e.prototype.useTile=function(t,r,i){var o=Kv(t,r,i);this.tileCache.containsKey(o)&&this.tileCache.get(o)},e}(Wce);const rW=qce;var Vce=function(){var n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},n(e,t)};return function(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");n(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}}(),Hce=function(n){Vce(e,n);function e(t){var r=this,i=t.imageSmoothing!==void 0?t.imageSmoothing:!0;return t.interpolate!==void 0&&(i=t.interpolate),r=n.call(this,{attributions:t.attributions,cacheSize:t.cacheSize,opaque:t.opaque,projection:t.projection,state:t.state,tileGrid:t.tileGrid,tileLoadFunction:t.tileLoadFunction?t.tileLoadFunction:Zce,tilePixelRatio:t.tilePixelRatio,tileUrlFunction:t.tileUrlFunction,url:t.url,urls:t.urls,wrapX:t.wrapX,transition:t.transition,interpolate:i,key:t.key,attributionsCollapsible:t.attributionsCollapsible,zDirection:t.zDirection})||this,r.crossOrigin=t.crossOrigin!==void 0?t.crossOrigin:null,r.tileClass=t.tileClass!==void 0?t.tileClass:HN,r.tileCacheForProjection={},r.tileGridForProjection={},r.reprojectionErrorThreshold_=t.reprojectionErrorThreshold,r.renderReprojectionEdges_=!1,r}return e.prototype.canExpireCache=function(){if(this.tileCache.canExpireCache())return!0;for(var t in this.tileCacheForProjection)if(this.tileCacheForProjection[t].canExpireCache())return!0;return!1},e.prototype.expireCache=function(t,r){var i=this.getTileCacheForProjection(t);this.tileCache.expireCache(this.tileCache==i?r:{});for(var o in this.tileCacheForProjection){var a=this.tileCacheForProjection[o];a.expireCache(a==i?r:{})}},e.prototype.getGutterForProjection=function(t){return this.getProjection()&&t&&!n1(this.getProjection(),t)?0:this.getGutter()},e.prototype.getGutter=function(){return 0},e.prototype.getKey=function(){var t=n.prototype.getKey.call(this);return this.getInterpolate()||(t+=":disable-interpolation"),t},e.prototype.getOpaque=function(t){return this.getProjection()&&t&&!n1(this.getProjection(),t)?!1:n.prototype.getOpaque.call(this,t)},e.prototype.getTileGridForProjection=function(t){var r=this.getProjection();if(this.tileGrid&&(!r||n1(r,t)))return this.tileGrid;var i=qi(t);return i in this.tileGridForProjection||(this.tileGridForProjection[i]=JN(t)),this.tileGridForProjection[i]},e.prototype.getTileCacheForProjection=function(t){var r=this.getProjection();if(!r||n1(r,t))return this.tileCache;var i=qi(t);return i in this.tileCacheForProjection||(this.tileCacheForProjection[i]=new q8(this.tileCache.highWaterMark)),this.tileCacheForProjection[i]},e.prototype.createTile_=function(t,r,i,o,a,s){var d=[t,r,i],f=this.getTileCoordForTileUrlFunction(d,a),C=f?this.tileUrlFunction(f,o,a):void 0,O=new this.tileClass(d,C!==void 0?gr.IDLE:gr.EMPTY,C!==void 0?C:"",this.crossOrigin,this.tileLoadFunction,this.tileOptions);return O.key=s,O.addEventListener(Wi.CHANGE,this.handleTileChange.bind(this)),O},e.prototype.getTile=function(t,r,i,o,a){var s=this.getProjection();if(!s||!a||n1(s,a))return this.getTileInternal(t,r,i,o,s||a);var d=this.getTileCacheForProjection(a),f=[t,r,i],C=void 0,O=qN(f);d.containsKey(O)&&(C=d.get(O));var E=this.getKey();if(C&&C.key==E)return C;var P=this.getTileGridForProjection(s),L=this.getTileGridForProjection(a),$=this.getTileCoordForTileUrlFunction(f,a),H=new XN(s,P,a,L,f,$,this.getTilePixelRatio(o),this.getGutter(),(function(Q,N,Z,ae){return this.getTileInternal(Q,N,Z,ae,s)}).bind(this),this.reprojectionErrorThreshold_,this.renderReprojectionEdges_,this.getInterpolate());return H.key=E,C?(H.interimTile=C,H.refreshInterimChain(),d.replace(O,H)):d.set(O,H),H},e.prototype.getTileInternal=function(t,r,i,o,a){var s=null,d=Kv(t,r,i),f=this.getKey();if(!this.tileCache.containsKey(d))s=this.createTile_(t,r,i,o,a,f),this.tileCache.set(d,s);else if(s=this.tileCache.get(d),s.key!=f){var C=s;s=this.createTile_(t,r,i,o,a,f),C.getState()==gr.IDLE?s.interimTile=C.interimTile:s.interimTile=C,s.refreshInterimChain(),this.tileCache.replace(d,s)}return s},e.prototype.setRenderReprojectionEdges=function(t){if(this.renderReprojectionEdges_!=t){this.renderReprojectionEdges_=t;for(var r in this.tileCacheForProjection)this.tileCacheForProjection[r].clear();this.changed()}},e.prototype.setTileGridForProjection=function(t,r){{var i=Vs(t);if(i){var o=qi(i);o in this.tileGridForProjection||(this.tileGridForProjection[o]=r)}}},e}(rW);function Zce(n,e){n.getImage().src=e}const Xce=Hce;var iW=function(){var n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)Object.prototype. Line truncated
`){gt+=ye,ye=0,Pe=E*pe+Te*P,++st;continue}var Jt=L[Re+1]||d.font;Jt!==ft&&(i&&he.push("font",Jt),r&&$e.push("font",Jt),ft=Jt),ye=Math.max(ye,Z[yt]);var Ht=[Xe,Pe+Te*N[yt]+E*(N[yt]-ae[st]),.5*(P+ye)+gt];Pe+=N[yt],i&&he.push("strokeText",Ht),r&&$e.push("fillText",Ht),++yt}return Array.prototype.push.apply(fe,he),Array.prototype.push.apply(fe,$e),this.labels_[o]=Ce,Ce},n.prototype.replayTextBackground_=function(e,t,r,i,o,a,s){e.beginPath(),e.moveTo.apply(e,t),e.lineTo.apply(e,r),e.lineTo.apply(e,i),e.lineTo.apply(e,o),e.lineTo.apply(e,t),a&&(this.alignFill_=a[2],this.fill_(e)),s&&(this.setStrokeStyle_(e,s),e.stroke())},n.prototype.calculateImageOrLabelDimensions_=function(e,t,r,i,o,a,s,d,f,C,O,E,P,L,$,H){s*=E[0],d*=E[1];var Q=r-s,N=i-d,Z=o+f>e?e-f:o,ae=a+C>t?t-C:a,pe=L[3]+Z*E[0]+L[1],fe=L[0]+ae*E[1]+L[2],X=Q-L[3],oe=N-L[0];($||O!==0)&&(_m[0]=X,bm[0]=X,_m[1]=oe,wp[1]=oe,wp[0]=X+pe,Mp[0]=wp[0],Mp[1]=oe+fe,bm[1]=Mp[1]);var Ce;return O!==0?(Ce=$f(jd(),r,i,1,1,O,-r,-i),Cl(Ce,_m),Cl(Ce,wp),Cl(Ce,Mp),Cl(Ce,bm),Qf(Math.min(_m[0],wp[0],Mp[0],bm[0]),Math.min(_m[1],wp[1],Mp[1],bm[1]),Math.max(_m[0],wp[0],Mp[0],bm[0]),Math.max(_m[1],wp[1],Mp[1],bm[1]),Ug)):Qf(Math.min(X,X+pe),Math.min(oe,oe+fe),Math.max(X,X+pe),Math.max(oe,oe+fe),Ug),P&&(Q=Math.round(Q),N=Math.round(N)),{drawImageX:Q,drawImageY:N,drawImageW:Z,drawImageH:ae,originX:f,originY:C,declutterBox:{minX:Ug[0],minY:Ug[1],maxX:Ug[2],maxY:Ug[3],value:H},canvasTransform:Ce,scale:E}},n.prototype.replayImageOrLabel_=function(e,t,r,i,o,a,s){var d=!!(a||s),f=i.declutterBox,C=e.canvas,O=s?s[2]*i.scale[0]/2:0,E=f.minX-O<=C.width/t&&f.maxX+O>=0&&f.minY-O<=C.height/t&&f.maxY+O>=0;return E&&(d&&this.replayTextBackground_(e,_m,wp,Mp,bm,a,s),ule(e,i.canvasTransform,o,r,i.originX,i.originY,i.drawImageW,i.drawImageH,i.drawImageX,i.drawImageY,i.scale)),!0},n.prototype.fill_=function(e){if(this.alignFill_){var t=Cl(this.renderedTransform_,[0,0]),r=512*this.pixelRatio;e.save(),e.translate(t[0]%r,t[1]%r),e.rotate(this.viewRotation_)}e.fill(),this.alignFill_&&e.restore()},n.prototype.setStrokeStyle_=function(e,t){e.strokeStyle=t[1],e.lineWidth=t[2],e.lineCap=t[3],e.lineJoin=t[4],e.miterLimit=t[5],e.setLineDash&&(e.lineDashOffset=t[7],e.setLineDash(t[6]))},n.prototype.drawLabelWithPointPlacement_=function(e,t,r,i){var o=this.textStates[t],a=this.createLabel(e,t,i,r),s=this.strokeStates[r],d=this.pixelRatio,f=zK(Array.isArray(e)?e[0]:e,o.textAlign||pb),C=b_[o.textBaseline||F4],O=s&&s.lineWidth?s.lineWidth:0,E=a.width/d-2*o.scale[0],P=f*E+2*(.5-f)*O,L=C*a.height/d+2*(.5-C)*O;return{label:a,anchorX:P,anchorY:L}},n.prototype.execute_=function(e,t,r,i,o,a,s,d){var f;this.pixelCoordinates_&&Q1(r,this.renderedTransform_)?f=this.pixelCoordinates_:(this.pixelCoordinates_||(this.pixelCoordinates_=[]),f=i0(this.coordinates,0,this.coordinates.length,2,r,this.pixelCoordinates_),Soe(this.renderedTransform_,r));for(var C=0,O=i.length,E=0,P,L,$,H,Q,N,Z,ae,pe,fe,X,oe,Ce=0,we=0,Te=null,Pe=null,he=this.coordinateCache_,$e=this.viewRotation_,ye=Math.round(Math.atan2(-r[1],r[0])*1e12)/1e12,gt={context:e,pixelRatio:this.pixelRatio,resolution:this.resolution,rotation:$e},yt=this.instructions!=i||this.overlaps?0:200,st,ft,Re,Ve;C<O;){var Xe=i[C],Jt=Xe[0];switch(Jt){case ci.BEGIN_GEOMETRY:st=Xe[1],Ve=Xe[3],st.getGeometry()?s!==void 0&&!bl(s,Ve.getExtent())?C=Xe[2]+1:++C:C=Xe[2];break;case ci.BEGIN_PATH:Ce>yt&&(this.fill_(e),Ce=0),we>yt&&(e.stroke(),we=0),!Ce&&!we&&(e.beginPath(),H=NaN,Q=NaN),++C;break;case ci.CIRCLE:E=Xe[1];var Ht=f[E],bt=f[E+1],Qt=f[E+2],Yt=f[E+3],ke=Qt-Ht,ge=Yt-bt,Se=Math.sqrt(ke*ke+ge*ge);e.moveTo(Ht+Se,bt),e.arc(Ht,bt,Se,0,2*Math.PI,!0),++C;break;case ci.CLOSE_PATH:e.closePath(),++C;break;case ci.CUSTOM:E=Xe[1],P=Xe[2];var ze=Xe[3],it=Xe[4],ot=Xe.length==6?Xe[5]:void 0;gt.geometry=ze,gt.feature=st,C in he||(he[C]=[]);var St=he[C];ot?ot(f,E,P,2,St):(St[0]=f[E],St[1]=f[E+1],St.length=2),it(St,gt),++C;break;case ci.DRAW_IMAGE:E=Xe[1],P=Xe[2],ae=Xe[3],L=Xe[4],$=Xe[5];var Rt=Xe[6],zt=Xe[7],mt=Xe[8],or=Xe[9],gn=Xe[10],yn=Xe[11],tr=Xe[12],dr=Xe[13],Sr=Xe[14],Nr=Xe[15];if(!ae&&Xe.length>=20){pe=Xe[19],fe=Xe[20],X=Xe[21],oe=Xe[22];var yr=this.drawLabelWithPointPlacement_(pe,fe,X,oe);ae=yr.label,Xe[3]=ae;var _i=Xe[23];L=(yr.anchorX-_i)*this.pixelRatio,Xe[4]=L;var Ee=Xe[24];$=(yr.anchorY-Ee)*this.pixelRatio,Xe[5]=$,Rt=ae.height,Xe[6]=Rt,dr=ae.width,Xe[13]=dr}var ee=void 0;Xe.length>25&&(ee=Xe[25]);var V=void 0,Ke=void 0,At=void 0;Xe.length>17?(V=Xe[16],Ke=Xe[17],At=Xe[18]):(V=h1,Ke=!1,At=!1),gn&&ye?yn+=$e:!gn&&!ye&&(yn-=$e);for(var Bt=0;E<P;E+=2)if(!(ee&&ee[Bt++]<dr/this.pixelRatio)){var kt=this.calculateImageOrLabelDimensions_(ae.width,ae.height,f[E],f[E+1],dr,Rt,L,$,mt,or,yn,tr,o,V,Ke||At,st),Dt=[e,t,ae,kt,zt,Ke?Te:null,At?Pe:null];if(d){if(Sr==="none")continue;if(Sr==="obstacle"){d.insert(kt.declutterBox);continue}else{var fn=void 0,Pn=void 0;if(Nr){var On=P-E;if(!Nr[On]){Nr[On]=Dt;continue}if(fn=Nr[On],delete Nr[On],Pn=RK(fn),d.collides(Pn))continue}if(d.collides(kt.declutterBox))continue;fn&&(d. Line truncated
`);this.generateTileUrlFunction_?this.setTileUrlFunction(nW(t,this.tileGrid),r):this.setKey(r)},e.prototype.tileUrlFunction=function(t,r,i){},e.prototype.useTile=function(t,r,i){var o=Kv(t,r,i);this.tileCache.containsKey(o)&&this.tileCache.get(o)},e}(Wce);const rW=qce;var Vce=function(){var n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},n(e,t)};return function(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");n(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}}(),Hce=function(n){Vce(e,n);function e(t){var r=this,i=t.imageSmoothing!==void 0?t.imageSmoothing:!0;return t.interpolate!==void 0&&(i=t.interpolate),r=n.call(this,{attributions:t.attributions,cacheSize:t.cacheSize,opaque:t.opaque,projection:t.projection,state:t.state,tileGrid:t.tileGrid,tileLoadFunction:t.tileLoadFunction?t.tileLoadFunction:Zce,tilePixelRatio:t.tilePixelRatio,tileUrlFunction:t.tileUrlFunction,url:t.url,urls:t.urls,wrapX:t.wrapX,transition:t.transition,interpolate:i,key:t.key,attributionsCollapsible:t.attributionsCollapsible,zDirection:t.zDirection})||this,r.crossOrigin=t.crossOrigin!==void 0?t.crossOrigin:null,r.tileClass=t.tileClass!==void 0?t.tileClass:HN,r.tileCacheForProjection={},r.tileGridForProjection={},r.reprojectionErrorThreshold_=t.reprojectionErrorThreshold,r.renderReprojectionEdges_=!1,r}return e.prototype.canExpireCache=function(){if(this.tileCache.canExpireCache())return!0;for(var t in this.tileCacheForProjection)if(this.tileCacheForProjection[t].canExpireCache())return!0;return!1},e.prototype.expireCache=function(t,r){var i=this.getTileCacheForProjection(t);this.tileCache.expireCache(this.tileCache==i?r:{});for(var o in this.tileCacheForProjection){var a=this.tileCacheForProjection[o];a.expireCache(a==i?r:{})}},e.prototype.getGutterForProjection=function(t){return this.getProjection()&&t&&!n1(this.getProjection(),t)?0:this.getGutter()},e.prototype.getGutter=function(){return 0},e.prototype.getKey=function(){var t=n.prototype.getKey.call(this);return this.getInterpolate()||(t+=":disable-interpolation"),t},e.prototype.getOpaque=function(t){return this.getProjection()&&t&&!n1(this.getProjection(),t)?!1:n.prototype.getOpaque.call(this,t)},e.prototype.getTileGridForProjection=function(t){var r=this.getProjection();if(this.tileGrid&&(!r||n1(r,t)))return this.tileGrid;var i=qi(t);return i in this.tileGridForProjection||(this.tileGridForProjection[i]=JN(t)),this.tileGridForProjection[i]},e.prototype.getTileCacheForProjection=function(t){var r=this.getProjection();if(!r||n1(r,t))return this.tileCache;var i=qi(t);return i in this.tileCacheForProjection||(this.tileCacheForProjection[i]=new V8(this.tileCache.highWaterMark)),this.tileCacheForProjection[i]},e.prototype.createTile_=function(t,r,i,o,a,s){var d=[t,r,i],f=this.getTileCoordForTileUrlFunction(d,a),C=f?this.tileUrlFunction(f,o,a):void 0,O=new this.tileClass(d,C!==void 0?gr.IDLE:gr.EMPTY,C!==void 0?C:"",this.crossOrigin,this.tileLoadFunction,this.tileOptions);return O.key=s,O.addEventListener(Wi.CHANGE,this.handleTileChange.bind(this)),O},e.prototype.getTile=function(t,r,i,o,a){var s=this.getProjection();if(!s||!a||n1(s,a))return this.getTileInternal(t,r,i,o,s||a);var d=this.getTileCacheForProjection(a),f=[t,r,i],C=void 0,O=qN(f);d.containsKey(O)&&(C=d.get(O));var E=this.getKey();if(C&&C.key==E)return C;var P=this.getTileGridForProjection(s),L=this.getTileGridForProjection(a),$=this.getTileCoordForTileUrlFunction(f,a),H=new XN(s,P,a,L,f,$,this.getTilePixelRatio(o),this.getGutter(),(function(Q,N,Z,ae){return this.getTileInternal(Q,N,Z,ae,s)}).bind(this),this.reprojectionErrorThreshold_,this.renderReprojectionEdges_,this.getInterpolate());return H.key=E,C?(H.interimTile=C,H.refreshInterimChain(),d.replace(O,H)):d.set(O,H),H},e.prototype.getTileInternal=function(t,r,i,o,a){var s=null,d=Kv(t,r,i),f=this.getKey();if(!this.tileCache.containsKey(d))s=this.createTile_(t,r,i,o,a,f),this.tileCache.set(d,s);else if(s=this.tileCache.get(d),s.key!=f){var C=s;s=this.createTile_(t,r,i,o,a,f),C.getState()==gr.IDLE?s.interimTile=C.interimTile:s.interimTile=C,s.refreshInterimChain(),this.tileCache.replace(d,s)}return s},e.prototype.setRenderReprojectionEdges=function(t){if(this.renderReprojectionEdges_!=t){this.renderReprojectionEdges_=t;for(var r in this.tileCacheForProjection)this.tileCacheForProjection[r].clear();this.changed()}},e.prototype.setTileGridForProjection=function(t,r){{var i=Vs(t);if(i){var o=qi(i);o in this.tileGridForProjection||(this.tileGridForProjection[o]=r)}}},e}(rW);function Zce(n,e){n.getImage().src=e}const Xce=Hce;var iW=function(){var n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)Object.prototype. Line truncated
* In categorical functions, when the feature value does not match any of the stop domain values.
* In property and zoom-and-property functions, when a feature does not contain a value for the specified property.
* In identity functions, when the feature value is not valid for the style property (for example, if the function is being used for a \`circle-color\` property but the feature property value is not a string or not a valid color).
* In interval or exponential property and zoom-and-property functions, when the feature value is not numeric.
If no default is provided, the style property's default is used in these circumstances.`}},function_stop:ehe,expression:the,expression_name:nhe,fog:rhe,light:ihe,projection:ohe,terrain:ahe,paint:she,paint_fill:lhe,"paint_fill-extrusion":{"fill-extrusion-opacity":{type:"number",default:1,minimum:0,maximum:1,doc:"The opacity of the entire fill extrusion layer. This is rendered on a per-layer, not per-feature, basis, and data-driven styling is not available.",transition:!0,"sdk-support":{"basic functionality":{js:"0.27.0",android:"5.1.0",ios:"3.6.0",macos:"0.5.0"}},expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"fill-extrusion-color":{type:"color",default:"#000000",doc:"The base color of the extruded fill. The extrusion's surfaces will be shaded differently based on this color in combination with the root `light` settings. If this color is specified as `rgba` with an alpha component, the alpha component will be ignored; use `fill-extrusion-opacity` to set layer opacity.",transition:!0,requires:[{"!":"fill-extrusion-pattern"}],"sdk-support":{"basic functionality":{js:"0.27.0",android:"5.1.0",ios:"3.6.0",macos:"0.5.0"},"data-driven styling":{js:"0.27.0",android:"5.1.0",ios:"3.6.0",macos:"0.5.0"}},expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-extrusion-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",doc:"The geometry's offset. Values are [x, y] where negatives indicate left and up (on the flat plane), respectively.","sdk-support":{"basic functionality":{js:"0.27.0",android:"5.1.0",ios:"3.6.0",macos:"0.5.0"}},expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"fill-extrusion-translate-anchor":{type:"enum",values:{map:{doc:"The fill extrusion is translated relative to the map."},viewport:{doc:"The fill extrusion is translated relative to the viewport."}},doc:"Controls the frame of reference for `fill-extrusion-translate`.",default:"map",requires:["fill-extrusion-translate"],"sdk-support":{"basic functionality":{js:"0.27.0",android:"5.1.0",ios:"3.6.0",macos:"0.5.0"}},expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"fill-extrusion-pattern":{type:"resolvedImage",transition:!1,doc:"Name of image in sprite to use for drawing images on extruded fills. For seamless patterns, image width and height must be a factor of two (2, 4, 8, ..., 512). Note that zoom-dependent expressions will be evaluated only at integer zoom levels.","sdk-support":{"basic functionality":{js:"0.27.0",android:"5.1.0",ios:"3.6.0",macos:"0.5.0"},"data-driven styling":{js:"0.49.0",android:"6.5.0",macos:"0.11.0",ios:"4.4.0"}},expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"fill-extrusion-height":{type:"number",default:0,minimum:0,units:"meters",doc:"The height with which to extrude this layer.",transition:!0,"sdk-support":{"basic functionality":{js:"0.27.0",android:"5.1.0",ios:"3.6.0",macos:"0.5.0"},"data-driven styling":{js:"0.27.0",android:"5.1.0",ios:"3.6.0",macos:"0.5.0"}},expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-extrusion-base":{type:"number",default:0,minimum:0,units:"meters",doc:"The height with which to extrude the base of this layer. Must be less than or equal to `fill-extrusion-height`.",transition:!0,requires:["fill-extrusion-height"],"sdk-support":{"basic functionality":{js:"0.27.0",android:"5.1.0",ios:"3.6.0",macos:"0.5.0"},"data-driven styling":{js:"0.27.0",android:"5.1.0",ios:"3.6.0",macos:"0.5.0"}},expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-extrusion-vertical-gradient":{type:"boolean",default:!0,doc:"Whether to apply a vertical gradient to the sides of a fill-extrusion layer. If true, sides will be shaded slightly darker farther down.",transition:!1,"sdk-support":{"basic functionality":{js:"0.50.0",android:"7.0.0",ios:"4.7.0",macos:"0.13.0"}},expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"fill-extrusion-ambient-occlusion-intensity":{"property-type":"data-constant",type:"number",private:!0,default:0,minimum:0,maximum:1,expression:{interpolated:!0,parameters:["zoom"]},transition:!0,doc:"Controls the intensity of shading near ground and concave angles between walls. Default value 0.0 disables ambient occlusion and values around 0.3 provide the most plausible results for buildings.","sdk-support":{"basic functionality":{js:"2.10.0",android:"10.7.0",ios:"10.7.0"}}},"fill-extrusion-ambient-occlusion-radius":{"property-type":"data-constant",type:"number",private:!0,default:3,minimum:0,expression:{interpolated:!0,parameters:["zoom"]},transition:!0,doc:"Shades area near ground and concave angles between walls where the radius defines only vertical impact. Default value 3.0 corresponds to height of one floor and brings the moLine truncated
`," "],Ohe=["{","}","|","\\","^","`"].concat(Ehe),NO=["'"].concat(Ohe),XK=["%","/","?",";","#"].concat(NO),JK=["/","?","#"],Bhe=255,eP=/^[+a-z0-9A-Z_-]{0,63}$/,Ihe=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,khe={javascript:!0,"javascript:":!0},WO={javascript:!0,"javascript:":!0},jy={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},GO=gb;function The(n,e,t){if(n&&Lp.isObject(n)&&n instanceof Gp)return n;var r=new Gp;return r.parse(n,e,t),r}Gp.prototype.parse=function(n,e,t){if(!Lp.isString(n))throw new TypeError("Parameter 'url' must be a string, not "+typeof n);var r=n.indexOf("?"),i=r!==-1&&r<n.indexOf("#")?"?":"#",o=n.split(i),a=/\\/g;o[0]=o[0].replace(a,"/"),n=o.join(i);var s=n;if(s=s.trim(),!t&&n.split("#").length===1){var d=She.exec(s);if(d)return this.path=s,this.href=s,this.pathname=d[1],d[2]?(this.search=d[2],e?this.query=GO.parse(this.search.substr(1)):this.query=this.search.substr(1)):e&&(this.search="",this.query={}),this}var f=whe.exec(s);if(f){f=f[0];var C=f.toLowerCase();this.protocol=C,s=s.substr(f.length)}if(t||f||s.match(/^\/\/[^@\/]+@[^@\/]+/)){var O=s.substr(0,2)==="//";O&&!(f&&WO[f])&&(s=s.substr(2),this.slashes=!0)}if(!WO[f]&&(O||f&&!jy[f])){for(var E=-1,P=0;P<JK.length;P++){var L=s.indexOf(JK[P]);L!==-1&&(E===-1||L<E)&&(E=L)}var $,H;E===-1?H=s.lastIndexOf("@"):H=s.lastIndexOf("@",E),H!==-1&&($=s.slice(0,H),s=s.slice(H+1),this.auth=decodeURIComponent($)),E=-1;for(var P=0;P<XK.length;P++){var L=s.indexOf(XK[P]);L!==-1&&(E===-1||L<E)&&(E=L)}E===-1&&(E=s.length),this.host=s.slice(0,E),s=s.slice(E),this.parseHost(),this.hostname=this.hostname||"";var Q=this.hostname[0]==="["&&this.hostname[this.hostname.length-1]==="]";if(!Q)for(var N=this.hostname.split(/\./),P=0,Z=N.length;P<Z;P++){var ae=N[P];if(ae&&!ae.match(eP)){for(var pe="",fe=0,X=ae.length;fe<X;fe++)ae.charCodeAt(fe)>127?pe+="x":pe+=ae[fe];if(!pe.match(eP)){var oe=N.slice(0,P),Ce=N.slice(P+1),we=ae.match(Ihe);we&&(oe.push(we[1]),Ce.unshift(we[2])),Ce.length&&(s="/"+Ce.join(".")+s),this.hostname=oe.join(".");break}}}this.hostname.length>Bhe?this.hostname="":this.hostname=this.hostname.toLowerCase(),Q||(this.hostname=xhe.toASCII(this.hostname));var Te=this.port?":"+this.port:"",Pe=this.hostname||"";this.host=Pe+Te,this.href+=this.host,Q&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),s[0]!=="/"&&(s="/"+s))}if(!khe[C])for(var P=0,Z=NO.length;P<Z;P++){var he=NO[P];if(s.indexOf(he)!==-1){var $e=encodeURIComponent(he);$e===he&&($e=escape(he)),s=s.split(he).join($e)}}var ye=s.indexOf("#");ye!==-1&&(this.hash=s.substr(ye),s=s.slice(0,ye));var gt=s.indexOf("?");if(gt!==-1?(this.search=s.substr(gt),this.query=s.substr(gt+1),e&&(this.query=GO.parse(this.query)),s=s.slice(0,gt)):e&&(this.search="",this.query={}),s&&(this.pathname=s),jy[C]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){var Te=this.pathname||"",yt=this.search||"";this.path=Te+yt}return this.href=this.format(),this};Gp.prototype.format=function(){var n=this.auth||"";n&&(n=encodeURIComponent(n),n=n.replace(/%3A/i,":"),n+="@");var e=this.protocol||"",t=this.pathname||"",r=this.hash||"",i=!1,o="";this.host?i=n+this.host:this.hostname&&(i=n+(this.hostname.indexOf(":")===-1?this.hostname:"["+this.hostname+"]"),this.port&&(i+=":"+this.port)),this.query&&Lp.isObject(this.query)&&Object.keys(this.query).length&&(o=GO.stringify(this.query));var a=this.search||o&&"?"+o||"";return e&&e.substr(-1)!==":"&&(e+=":"),this.slashes||(!e||jy[e])&&i!==!1?(i="//"+(i||""),t&&t.charAt(0)!=="/"&&(t="/"+t)):i||(i=""),r&&r.charAt(0)!=="#"&&(r="#"+r),a&&a.charAt(0)!=="?"&&(a="?"+a),t=t.replace(/[?#]/g,function(s){return encodeURIComponent(s)}),a=a.replace("#","%23"),e+i+t+a+r};Gp.prototype.resolve=function(n){return this.resolveObject(The(n,!1,!0)).format()};Gp.prototype.resolveObject=function(n){if(Lp.isString(n)){var e=new Gp;e.parse(n,!1,!0),n=e}for(var t=new Gp,r=Object.keys(this),i=0;i<r.length;i++){var o=r[i];t[o]=this[o]}if(t.hash=n.hash,n.href==="")return t.href=t.format(),t;if(n.slashes&&!n.protocol){for(var a=Object.keys(n),s=0;s<a.length;s++){var d=a[s];d!=="protocol"&&(t[d]=n[d])}return jy[t.protocol]&&t.hostname&&!t.pathname&&(t.path=t.pathname="/"),t.href=t.format(),t}if(n.protocol&&n.protocol!==t.protocol){if(!jy[n.protocol]){for(var f=Object.keys(n),C=0;C<f.length;C++){var O=f[C];t[O]=n[O]}return t.href=t.format(),t}if(t.protocol=n.protocol,!n.host&&!WO[n.protocol]){for(var Z=(n.pathname||"").split("/");Z.length&&!(n.host=Z.shift()););n.host||(n.host=""),n.hostname||(n.hostname=""),Z[0]!==""&&Z.unshift(""),Z.length<2&&Z.unshift(""),t.pathname=Z.join("/")}else t.pathname=n.pathname;if(t.search=n.search,t.query=n.query,t.host=n.host||"",t.auth=n.auth,t.hostname=n.hostname||n.host,t.port=n.port,t.pathname||t.search){var E=t.pathname||"",P=t.search||"";t.path=E+P}return t.slashes=t.slashes||n.slashes,t.href=t.format(),t}var L=t.pathname&&t.pathname.charAt(0)==="/",$=n.host||n.pathname&&n.pathname.charAt(0)=== Line truncated
If no default is provided, the style property's default is used in these circumstances.`}},function_stop:ehe,expression:the,expression_name:nhe,fog:rhe,light:ihe,projection:ohe,terrain:ahe,paint:she,paint_fill:lhe,"paint_fill-extrusion":{"fill-extrusion-opacity":{type:"number",default:1,minimum:0,maximum:1,doc:"The opacity of the entire fill extrusion layer. This is rendered on a per-layer, not per-feature, basis, and data-driven styling is not available.",transition:!0,"sdk-support":{"basic functionality":{js:"0.27.0",android:"5.1.0",ios:"3.6.0",macos:"0.5.0"}},expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"fill-extrusion-color":{type:"color",default:"#000000",doc:"The base color of the extruded fill. The extrusion's surfaces will be shaded differently based on this color in combination with the root `light` settings. If this color is specified as `rgba` with an alpha component, the alpha component will be ignored; use `fill-extrusion-opacity` to set layer opacity.",transition:!0,requires:[{"!":"fill-extrusion-pattern"}],"sdk-support":{"basic functionality":{js:"0.27.0",android:"5.1.0",ios:"3.6.0",macos:"0.5.0"},"data-driven styling":{js:"0.27.0",android:"5.1.0",ios:"3.6.0",macos:"0.5.0"}},expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-extrusion-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",doc:"The geometry's offset. Values are [x, y] where negatives indicate left and up (on the flat plane), respectively.","sdk-support":{"basic functionality":{js:"0.27.0",android:"5.1.0",ios:"3.6.0",macos:"0.5.0"}},expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"fill-extrusion-translate-anchor":{type:"enum",values:{map:{doc:"The fill extrusion is translated relative to the map."},viewport:{doc:"The fill extrusion is translated relative to the viewport."}},doc:"Controls the frame of reference for `fill-extrusion-translate`.",default:"map",requires:["fill-extrusion-translate"],"sdk-support":{"basic functionality":{js:"0.27.0",android:"5.1.0",ios:"3.6.0",macos:"0.5.0"}},expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"fill-extrusion-pattern":{type:"resolvedImage",transition:!1,doc:"Name of image in sprite to use for drawing images on extruded fills. For seamless patterns, image width and height must be a factor of two (2, 4, 8, ..., 512). Note that zoom-dependent expressions will be evaluated only at integer zoom levels.","sdk-support":{"basic functionality":{js:"0.27.0",android:"5.1.0",ios:"3.6.0",macos:"0.5.0"},"data-driven styling":{js:"0.49.0",android:"6.5.0",macos:"0.11.0",ios:"4.4.0"}},expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"fill-extrusion-height":{type:"number",default:0,minimum:0,units:"meters",doc:"The height with which to extrude this layer.",transition:!0,"sdk-support":{"basic functionality":{js:"0.27.0",android:"5.1.0",ios:"3.6.0",macos:"0.5.0"},"data-driven styling":{js:"0.27.0",android:"5.1.0",ios:"3.6.0",macos:"0.5.0"}},expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-extrusion-base":{type:"number",default:0,minimum:0,units:"meters",doc:"The height with which to extrude the base of this layer. Must be less than or equal to `fill-extrusion-height`.",transition:!0,requires:["fill-extrusion-height"],"sdk-support":{"basic functionality":{js:"0.27.0",android:"5.1.0",ios:"3.6.0",macos:"0.5.0"},"data-driven styling":{js:"0.27.0",android:"5.1.0",ios:"3.6.0",macos:"0.5.0"}},expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-extrusion-vertical-gradient":{type:"boolean",default:!0,doc:"Whether to apply a vertical gradient to the sides of a fill-extrusion layer. If true, sides will be shaded slightly darker farther down.",transition:!1,"sdk-support":{"basic functionality":{js:"0.50.0",android:"7.0.0",ios:"4.7.0",macos:"0.13.0"}},expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"fill-extrusion-ambient-occlusion-intensity":{"property-type":"data-constant",type:"number",private:!0,default:0,minimum:0,maximum:1,expression:{interpolated:!0,parameters:["zoom"]},transition:!0,doc:"Controls the intensity of shading near ground and concave angles between walls. Default value 0.0 disables ambient occlusion and values around 0.3 provide the most plausible results for buildings.","sdk-support":{"basic functionality":{js:"2.10.0",android:"10.7.0",ios:"10.7.0"}}},"fill-extrusion-ambient-occlusion-radius":{"property-type":"data-constant",type:"number",private:!0,default:3,minimum:0,expression:{interpolated:!0,parameters:["zoom"]},transition:!0,doc:"Shades area near ground and concave angles between walls where the radius defines only vertical impact. Default value 3.0 corresponds to height of one floor and brings the moLine truncated
`," "],Ohe=["{","}","|","\\","^","`"].concat(Ehe),WO=["'"].concat(Ohe),XK=["%","/","?",";","#"].concat(WO),JK=["/","?","#"],Bhe=255,eP=/^[+a-z0-9A-Z_-]{0,63}$/,Ihe=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,khe={javascript:!0,"javascript:":!0},GO={javascript:!0,"javascript:":!0},jy={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},$O=gb;function The(n,e,t){if(n&&Lp.isObject(n)&&n instanceof Gp)return n;var r=new Gp;return r.parse(n,e,t),r}Gp.prototype.parse=function(n,e,t){if(!Lp.isString(n))throw new TypeError("Parameter 'url' must be a string, not "+typeof n);var r=n.indexOf("?"),i=r!==-1&&r<n.indexOf("#")?"?":"#",o=n.split(i),a=/\\/g;o[0]=o[0].replace(a,"/"),n=o.join(i);var s=n;if(s=s.trim(),!t&&n.split("#").length===1){var d=She.exec(s);if(d)return this.path=s,this.href=s,this.pathname=d[1],d[2]?(this.search=d[2],e?this.query=$O.parse(this.search.substr(1)):this.query=this.search.substr(1)):e&&(this.search="",this.query={}),this}var f=whe.exec(s);if(f){f=f[0];var C=f.toLowerCase();this.protocol=C,s=s.substr(f.length)}if(t||f||s.match(/^\/\/[^@\/]+@[^@\/]+/)){var O=s.substr(0,2)==="//";O&&!(f&&GO[f])&&(s=s.substr(2),this.slashes=!0)}if(!GO[f]&&(O||f&&!jy[f])){for(var E=-1,P=0;P<JK.length;P++){var L=s.indexOf(JK[P]);L!==-1&&(E===-1||L<E)&&(E=L)}var $,H;E===-1?H=s.lastIndexOf("@"):H=s.lastIndexOf("@",E),H!==-1&&($=s.slice(0,H),s=s.slice(H+1),this.auth=decodeURIComponent($)),E=-1;for(var P=0;P<XK.length;P++){var L=s.indexOf(XK[P]);L!==-1&&(E===-1||L<E)&&(E=L)}E===-1&&(E=s.length),this.host=s.slice(0,E),s=s.slice(E),this.parseHost(),this.hostname=this.hostname||"";var Q=this.hostname[0]==="["&&this.hostname[this.hostname.length-1]==="]";if(!Q)for(var N=this.hostname.split(/\./),P=0,Z=N.length;P<Z;P++){var ae=N[P];if(ae&&!ae.match(eP)){for(var pe="",fe=0,X=ae.length;fe<X;fe++)ae.charCodeAt(fe)>127?pe+="x":pe+=ae[fe];if(!pe.match(eP)){var oe=N.slice(0,P),Ce=N.slice(P+1),we=ae.match(Ihe);we&&(oe.push(we[1]),Ce.unshift(we[2])),Ce.length&&(s="/"+Ce.join(".")+s),this.hostname=oe.join(".");break}}}this.hostname.length>Bhe?this.hostname="":this.hostname=this.hostname.toLowerCase(),Q||(this.hostname=xhe.toASCII(this.hostname));var Te=this.port?":"+this.port:"",Pe=this.hostname||"";this.host=Pe+Te,this.href+=this.host,Q&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),s[0]!=="/"&&(s="/"+s))}if(!khe[C])for(var P=0,Z=WO.length;P<Z;P++){var he=WO[P];if(s.indexOf(he)!==-1){var $e=encodeURIComponent(he);$e===he&&($e=escape(he)),s=s.split(he).join($e)}}var ye=s.indexOf("#");ye!==-1&&(this.hash=s.substr(ye),s=s.slice(0,ye));var gt=s.indexOf("?");if(gt!==-1?(this.search=s.substr(gt),this.query=s.substr(gt+1),e&&(this.query=$O.parse(this.query)),s=s.slice(0,gt)):e&&(this.search="",this.query={}),s&&(this.pathname=s),jy[C]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){var Te=this.pathname||"",yt=this.search||"";this.path=Te+yt}return this.href=this.format(),this};Gp.prototype.format=function(){var n=this.auth||"";n&&(n=encodeURIComponent(n),n=n.replace(/%3A/i,":"),n+="@");var e=this.protocol||"",t=this.pathname||"",r=this.hash||"",i=!1,o="";this.host?i=n+this.host:this.hostname&&(i=n+(this.hostname.indexOf(":")===-1?this.hostname:"["+this.hostname+"]"),this.port&&(i+=":"+this.port)),this.query&&Lp.isObject(this.query)&&Object.keys(this.query).length&&(o=$O.stringify(this.query));var a=this.search||o&&"?"+o||"";return e&&e.substr(-1)!==":"&&(e+=":"),this.slashes||(!e||jy[e])&&i!==!1?(i="//"+(i||""),t&&t.charAt(0)!=="/"&&(t="/"+t)):i||(i=""),r&&r.charAt(0)!=="#"&&(r="#"+r),a&&a.charAt(0)!=="?"&&(a="?"+a),t=t.replace(/[?#]/g,function(s){return encodeURIComponent(s)}),a=a.replace("#","%23"),e+i+t+a+r};Gp.prototype.resolve=function(n){return this.resolveObject(The(n,!1,!0)).format()};Gp.prototype.resolveObject=function(n){if(Lp.isString(n)){var e=new Gp;e.parse(n,!1,!0),n=e}for(var t=new Gp,r=Object.keys(this),i=0;i<r.length;i++){var o=r[i];t[o]=this[o]}if(t.hash=n.hash,n.href==="")return t.href=t.format(),t;if(n.slashes&&!n.protocol){for(var a=Object.keys(n),s=0;s<a.length;s++){var d=a[s];d!=="protocol"&&(t[d]=n[d])}return jy[t.protocol]&&t.hostname&&!t.pathname&&(t.path=t.pathname="/"),t.href=t.format(),t}if(n.protocol&&n.protocol!==t.protocol){if(!jy[n.protocol]){for(var f=Object.keys(n),C=0;C<f.length;C++){var O=f[C];t[O]=n[O]}return t.href=t.format(),t}if(t.protocol=n.protocol,!n.host&&!GO[n.protocol]){for(var Z=(n.pathname||"").split("/");Z.length&&!(n.host=Z.shift()););n.host||(n.host=""),n.hostname||(n.hostname=""),Z[0]!==""&&Z.unshift(""),Z.length<2&&Z.unshift(""),t.pathname=Z.join("/")}else t.pathname=n.pathname;if(t.search=n.search,t.query=n.query,t.host=n.host||"",t.auth=n.auth,t.hostname=n.hostname||n.host,t.port=n.port,t.pathname||t.search){var E=t.pathname||"",P=t.search||"";t.path=E+P}return t.slashes=t.slashes||n.slashes,t.href=t.format(),t}var L=t.pathname&&t.pathname.charAt(0)==="/",$=n.host||n.pathname&&n.pathname.charAt(0)=== Line truncated
This is most likely a bug, please report this via https://github.com/mapbox/mapbox-gl-js/issues/new?assignees=&labels=&template=Bug_report.md
and paste the contents of this message in the report.
Thank you!
Filter Expression:
${JSON.stringify(t,null,2)}
`)}const i=uW[`filter_${e}`],o=H4(r,i);let a=null;if(o.result==="error")throw new Error(o.value.map(C=>`${C.key}: ${C.message}`).join(", "));a=(C,O,E)=>o.value.evaluate(C,O,{},E);let s=null,d=null;if(r!==t){const C=H4(t,i);if(C.result==="error")throw new Error(C.value.map(O=>`${O.key}: ${O.message}`).join(", "));s=(O,E,P,L,$)=>C.value.evaluate(O,E,{},P,void 0,void 0,L,$),d=!Kw(C.value.expression)}a=a;const f=NW(r);return{filter:a,dynamicFilter:s||void 0,needGeometry:f,needFeature:!!d}}function rpe(n){if(!$y(n))return n;let e=ZO(n);return jW(e),e=zW(e),e}function zW(n){if(!Array.isArray(n))return n;const e=ape(n);return e===!0?e:e.map(t=>zW(t))}function jW(n){let e=!1;const t=[];if(n[0]==="case"){for(let r=1;r<n.length-1;r+=2)e=e||$y(n[r]),t.push(n[r+1]);t.push(n[n.length-1])}else if(n[0]==="match"){e=e||$y(n[1]);for(let r=2;r<n.length-1;r+=2)t.push(n[r+1]);t.push(n[n.length-1])}else if(n[0]==="step"){e=e||$y(n[1]);for(let r=1;r<n.length-1;r+=2)t.push(n[r+1])}e&&(n.length=0,n.push("any",...t));for(let r=1;r<n.length;r++)jW(n[r])}function $y(n){if(!Array.isArray(n))return!1;if(ipe(n[0]))return!0;for(let e=1;e<n.length;e++){const t=n[e];if($y(t))return!0}return!1}function ipe(n){return n==="pitch"||n==="distance-from-center"}const ope=new Set(["in","==","!=",">",">=","<","<=","to-boolean"]);function ape(n){if(ope.has(n[0]))for(let e=1;e<n.length;e++){const t=n[e];if($y(t))return!0}return n}function spe(n,e){return n<e?-1:n>e?1:0}function NW(n){if(!Array.isArray(n))return!1;if(n[0]==="within")return!0;for(let e=1;e<n.length;e++)if(NW(n[e]))return!0;return!1}function Z4(n){if(!n)return!0;const e=n[0];return n.length<=1?e!=="any":e==="=="?sE(n[1],n[2],"=="):e==="!="?U2(sE(n[1],n[2],"==")):e==="<"||e===">"||e==="<="||e===">="?sE(n[1],n[2],e):e==="any"?lpe(n.slice(1)):e==="all"?["all"].concat(n.slice(1).map(Z4)):e==="none"?["all"].concat(n.slice(1).map(Z4).map(U2)):e==="in"?cP(n[1],n.slice(2)):e==="!in"?U2(cP(n[1],n.slice(2))):e==="has"?dP(n[1]):e==="!has"?U2(dP(n[1])):e==="within"?n:!0}function sE(n,e,t){switch(n){case"$type":return[`filter-type-${t}`,e];case"$id":return[`filter-id-${t}`,e];default:return[`filter-${t}`,n,e]}}function lpe(n){return["any"].concat(n.map(Z4))}function cP(n,e){if(e.length===0)return!1;switch(n){case"$type":return["filter-type-in",["literal",e]];case"$id":return["filter-id-in",["literal",e]];default:return e.length>200&&!e.some(t=>typeof t!=typeof e[0])?["filter-in-large",n,["literal",e.sort(spe)]]:["filter-in-small",n,["literal",e]]}}function dP(n){switch(n){case"$type":return!0;case"$id":return["filter-has-id"];default:return["filter-has",n]}}function U2(n){return["!",n]}var upe=["type","source","source-layer","minzoom","maxzoom","filter","layout"];function Ape(n,e){const t={};for(const r in n)r!=="ref"&&(t[r]=n[r]);return upe.forEach(r=>{r in e&&(t[r]=e[r])}),t}function cpe(n){n=n.slice();const e=Object.create(null);for(let t=0;t<n.length;t++)e[n[t].id]=n[t];for(let t=0;t<n.length;t++)"ref"in n[t]&&(n[t]=Ape(n[t],e[n[t].ref]));return n}function dpe(n){throw new Error('Could not dynamically require "'+n+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var hpe={};(function(n){var e=function(){var t=function(H,Q,N,Z){for(N=N||{},Z=H.length;Z--;N[H[Z]]=Q);return N},r=[1,12],i=[1,13],o=[1,9],a=[1,10],s=[1,11],d=[1,14],f=[1,15],C=[14,18,22,24],O=[18,22],E=[22,24],P={trace:function(){},yy:{},symbols_:{error:2,JSONString:3,STRING:4,JSONNumber:5,NUMBER:6,JSONNullLiteral:7,NULL:8,JSONBooleanLiteral:9,TRUE:10,FALSE:11,JSONText:12,JSONValue:13,EOF:14,JSONObject:15,JSONArray:16,"{":17,"}":18,JSONMemberList:19,JSONMember:20,":":21,",":22,"[":23,"]":24,JSONElementList:25,$accept:0,$end:1},terminals_:{2:"error",4:"STRING",6:"NUMBER",8:"NULL",10:"TRUE",11:"FALSE",14:"EOF",17:"{",18:"}",21:":",22:",",23:"[",24:"]"},productions_:[0,[3,1],[5,1],[7,1],[9,1],[9,1],[12,2],[13,1],[13,1],[13,1],[13,1],[13,1],[13,1],[15,2],[15,3],[20,3],[19,1],[19,3],[16,2],[16,3],[25,1],[25,3]],performAction:function(Q,N,Z,ae,pe,fe,X){var oe=fe.length-1;switch(pe){case 1:this.$=new String(Q.replace(/\\(\\|")/g,"$1").replace(/\\n/g,`
`)}const i=uW[`filter_${e}`],o=H4(r,i);let a=null;if(o.result==="error")throw new Error(o.value.map(C=>`${C.key}: ${C.message}`).join(", "));a=(C,O,E)=>o.value.evaluate(C,O,{},E);let s=null,d=null;if(r!==t){const C=H4(t,i);if(C.result==="error")throw new Error(C.value.map(O=>`${O.key}: ${O.message}`).join(", "));s=(O,E,P,L,$)=>C.value.evaluate(O,E,{},P,void 0,void 0,L,$),d=!Kw(C.value.expression)}a=a;const f=NW(r);return{filter:a,dynamicFilter:s||void 0,needGeometry:f,needFeature:!!d}}function rpe(n){if(!$y(n))return n;let e=XO(n);return jW(e),e=zW(e),e}function zW(n){if(!Array.isArray(n))return n;const e=ape(n);return e===!0?e:e.map(t=>zW(t))}function jW(n){let e=!1;const t=[];if(n[0]==="case"){for(let r=1;r<n.length-1;r+=2)e=e||$y(n[r]),t.push(n[r+1]);t.push(n[n.length-1])}else if(n[0]==="match"){e=e||$y(n[1]);for(let r=2;r<n.length-1;r+=2)t.push(n[r+1]);t.push(n[n.length-1])}else if(n[0]==="step"){e=e||$y(n[1]);for(let r=1;r<n.length-1;r+=2)t.push(n[r+1])}e&&(n.length=0,n.push("any",...t));for(let r=1;r<n.length;r++)jW(n[r])}function $y(n){if(!Array.isArray(n))return!1;if(ipe(n[0]))return!0;for(let e=1;e<n.length;e++){const t=n[e];if($y(t))return!0}return!1}function ipe(n){return n==="pitch"||n==="distance-from-center"}const ope=new Set(["in","==","!=",">",">=","<","<=","to-boolean"]);function ape(n){if(ope.has(n[0]))for(let e=1;e<n.length;e++){const t=n[e];if($y(t))return!0}return n}function spe(n,e){return n<e?-1:n>e?1:0}function NW(n){if(!Array.isArray(n))return!1;if(n[0]==="within")return!0;for(let e=1;e<n.length;e++)if(NW(n[e]))return!0;return!1}function Z4(n){if(!n)return!0;const e=n[0];return n.length<=1?e!=="any":e==="=="?lE(n[1],n[2],"=="):e==="!="?U2(lE(n[1],n[2],"==")):e==="<"||e===">"||e==="<="||e===">="?lE(n[1],n[2],e):e==="any"?lpe(n.slice(1)):e==="all"?["all"].concat(n.slice(1).map(Z4)):e==="none"?["all"].concat(n.slice(1).map(Z4).map(U2)):e==="in"?cP(n[1],n.slice(2)):e==="!in"?U2(cP(n[1],n.slice(2))):e==="has"?dP(n[1]):e==="!has"?U2(dP(n[1])):e==="within"?n:!0}function lE(n,e,t){switch(n){case"$type":return[`filter-type-${t}`,e];case"$id":return[`filter-id-${t}`,e];default:return[`filter-${t}`,n,e]}}function lpe(n){return["any"].concat(n.map(Z4))}function cP(n,e){if(e.length===0)return!1;switch(n){case"$type":return["filter-type-in",["literal",e]];case"$id":return["filter-id-in",["literal",e]];default:return e.length>200&&!e.some(t=>typeof t!=typeof e[0])?["filter-in-large",n,["literal",e.sort(spe)]]:["filter-in-small",n,["literal",e]]}}function dP(n){switch(n){case"$type":return!0;case"$id":return["filter-has-id"];default:return["filter-has",n]}}function U2(n){return["!",n]}var upe=["type","source","source-layer","minzoom","maxzoom","filter","layout"];function Ape(n,e){const t={};for(const r in n)r!=="ref"&&(t[r]=n[r]);return upe.forEach(r=>{r in e&&(t[r]=e[r])}),t}function cpe(n){n=n.slice();const e=Object.create(null);for(let t=0;t<n.length;t++)e[n[t].id]=n[t];for(let t=0;t<n.length;t++)"ref"in n[t]&&(n[t]=Ape(n[t],e[n[t].ref]));return n}function dpe(n){throw new Error('Could not dynamically require "'+n+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var hpe={};(function(n){var e=function(){var t=function(H,Q,N,Z){for(N=N||{},Z=H.length;Z--;N[H[Z]]=Q);return N},r=[1,12],i=[1,13],o=[1,9],a=[1,10],s=[1,11],d=[1,14],f=[1,15],C=[14,18,22,24],O=[18,22],E=[22,24],P={trace:function(){},yy:{},symbols_:{error:2,JSONString:3,STRING:4,JSONNumber:5,NUMBER:6,JSONNullLiteral:7,NULL:8,JSONBooleanLiteral:9,TRUE:10,FALSE:11,JSONText:12,JSONValue:13,EOF:14,JSONObject:15,JSONArray:16,"{":17,"}":18,JSONMemberList:19,JSONMember:20,":":21,",":22,"[":23,"]":24,JSONElementList:25,$accept:0,$end:1},terminals_:{2:"error",4:"STRING",6:"NUMBER",8:"NULL",10:"TRUE",11:"FALSE",14:"EOF",17:"{",18:"}",21:":",22:",",23:"[",24:"]"},productions_:[0,[3,1],[5,1],[7,1],[9,1],[9,1],[12,2],[13,1],[13,1],[13,1],[13,1],[13,1],[13,1],[15,2],[15,3],[20,3],[19,1],[19,3],[16,2],[16,3],[25,1],[25,3]],performAction:function(Q,N,Z,ae,pe,fe,X){var oe=fe.length-1;switch(pe){case 1:this.$=new String(Q.replace(/\\(\\|")/g,"$1").replace(/\\n/g,`
`).replace(/\\r/g,"\r").replace(/\\t/g," ").replace(/\\v/g,"\v").replace(/\\f/g,"\f").replace(/\\b/g,"\b")),this.$.__line__=this._$.first_line;break;case 2:this.$=new Number(Q),this.$.__line__=this._$.first_line;break;case 3:this.$=null;break;case 4:this.$=new Boolean(!0),this.$.__line__=this._$.first_line;break;case 5:this.$=new Boolean(!1),this.$.__line__=this._$.first_line;break;case 6:return this.$=fe[oe-1];case 13:this.$={},Object.defineProperty(this.$,"__line__",{value:this._$.first_line,enumerable:!1});break;case 14:case 19:this.$=fe[oe-1],Object.defineProperty(this.$,"__line__",{value:this._$.first_line,enumerable:!1});break;case 15:this.$=[fe[oe-2],fe[oe]];break;case 16:this.$={},this.$[fe[oe][0]]=fe[oe][1];break;case 17:this.$=fe[oe-2],fe[oe-2][fe[oe][0]]=fe[oe][1];break;case 18:this.$=[],Object.defineProperty(this.$,"__line__",{value:this._$.first_line,enumerable:!1});break;case 20:this.$=[fe[oe]];break;case 21:this.$=fe[oe-2],fe[oe-2].push(fe[oe]);break}},table:[{3:5,4:r,5:6,6:i,7:3,8:o,9:4,10:a,11:s,12:1,13:2,15:7,16:8,17:d,23:f},{1:[3]},{14:[1,16]},t(C,[2,7]),t(C,[2,8]),t(C,[2,9]),t(C,[2,10]),t(C,[2,11]),t(C,[2,12]),t(C,[2,3]),t(C,[2,4]),t(C,[2,5]),t([14,18,21,22,24],[2,1]),t(C,[2,2]),{3:20,4:r,18:[1,17],19:18,20:19},{3:5,4:r,5:6,6:i,7:3,8:o,9:4,10:a,11:s,13:23,15:7,16:8,17:d,23:f,24:[1,21],25:22},{1:[2,6]},t(C,[2,13]),{18:[1,24],22:[1,25]},t(O,[2,16]),{21:[1,26]},t(C,[2,18]),{22:[1,28],24:[1,27]},t(E,[2,20]),t(C,[2,14]),{3:20,4:r,20:29},{3:5,4:r,5:6,6:i,7:3,8:o,9:4,10:a,11:s,13:30,15:7,16:8,17:d,23:f},t(C,[2,19]),{3:5,4:r,5:6,6:i,7:3,8:o,9:4,10:a,11:s,13:31,15:7,16:8,17:d,23:f},t(O,[2,17]),t(O,[2,15]),t(E,[2,21])],defaultActions:{16:[2,6]},parseError:function(Q,N){if(N.recoverable)this.trace(Q);else throw new Error(Q)},parse:function(Q){var N=this,Z=[0],ae=[null],pe=[],fe=this.table,X="",oe=0,Ce=0,we=2,Te=1,Pe=pe.slice.call(arguments,1),he=Object.create(this.lexer),$e={yy:{}};for(var ye in this.yy)Object.prototype.hasOwnProperty.call(this.yy,ye)&&($e.yy[ye]=this.yy[ye]);he.setInput(Q,$e.yy),$e.yy.lexer=he,$e.yy.parser=this,typeof he.yylloc>"u"&&(he.yylloc={});var gt=he.yylloc;pe.push(gt);var yt=he.options&&he.options.ranges;typeof $e.yy.parseError=="function"?this.parseError=$e.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function st(){var ge;return ge=he.lex()||Te,typeof ge!="number"&&(ge=N.symbols_[ge]||ge),ge}for(var ft,Re,Ve,Xe,Jt={},Ht,bt,Qt,Yt;;){if(Re=Z[Z.length-1],this.defaultActions[Re]?Ve=this.defaultActions[Re]:((ft===null||typeof ft>"u")&&(ft=st()),Ve=fe[Re]&&fe[Re][ft]),typeof Ve>"u"||!Ve.length||!Ve[0]){var ke="";Yt=[];for(Ht in fe[Re])this.terminals_[Ht]&&Ht>we&&Yt.push("'"+this.terminals_[Ht]+"'");he.showPosition?ke="Parse error on line "+(oe+1)+`:
`+he.showPosition()+`
Expecting `+Yt.join(", ")+", got '"+(this.terminals_[ft]||ft)+"'":ke="Parse error on line "+(oe+1)+": Unexpected "+(ft==Te?"end of input":"'"+(this.terminals_[ft]||ft)+"'"),this.parseError(ke,{text:he.match,token:this.terminals_[ft]||ft,line:he.yylineno,loc:gt,expected:Yt})}if(Ve[0]instanceof Array&&Ve.length>1)throw new Error("Parse Error: multiple actions possible at state: "+Re+", token: "+ft);switch(Ve[0]){case 1:Z.push(ft),ae.push(he.yytext),pe.push(he.yylloc),Z.push(Ve[1]),ft=null,Ce=he.yyleng,X=he.yytext,oe=he.yylineno,gt=he.yylloc;break;case 2:if(bt=this.productions_[Ve[1]][1],Jt.$=ae[ae.length-bt],Jt._$={first_line:pe[pe.length-(bt||1)].first_line,last_line:pe[pe.length-1].last_line,first_column:pe[pe.length-(bt||1)].first_column,last_column:pe[pe.length-1].last_column},yt&&(Jt._$.range=[pe[pe.length-(bt||1)].range[0],pe[pe.length-1].range[1]]),Xe=this.performAction.apply(Jt,[X,Ce,oe,$e.yy,Ve[1],ae,pe].concat(Pe)),typeof Xe<"u")return Xe;bt&&(Z=Z.slice(0,-1*bt*2),ae=ae.slice(0,-1*bt),pe=pe.slice(0,-1*bt)),Z.push(this.productions_[Ve[1]][0]),ae.push(Jt.$),pe.push(Jt._$),Qt=fe[Z[Z.length-2]][Z[Z.length-1]],Z.push(Qt);break;case 3:return!0}}return!0}},L=function(){var H={EOF:1,parseError:function(N,Z){if(this.yy.parser)this.yy.parser.parseError(N,Z);else throw new Error(N)},setInput:function(Q,N){return this.yy=N||this.yy||{},this._input=Q,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var Q=this._input[0];this.yytext+=Q,this.yyleng++,this.offset++,this.match+=Q,this.matched+=Q;var N=Q.match(/(?:\r\n?|\n).*/g);return N?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),Q},unput:function(Q){var N=Q.length,Z=Q.split(/(?:\r\n?|\n)/g);this._input=Q+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-N),this.offset-=N;var ae=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),Z.length-1&&(this.yylineno-=Z.length-1);var pe=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:Z?(Z.length===ae.length?this.yylloc.first_column:0)+ae[ae.length-Z.length].length-Z[0].length:this.yylloc.first_column-N},this.options.ranges&&(this.yylloc.range=[pe[0],pe[0]+this.yyleng-N]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},less:function(Q){this.unput(this.match.slice(Q))},pastInput:function(){var Q=this.matched.substr(0,this.matched.length-this.match.length);return(Q.length>20?"...":"")+Q.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var Q=this.match;return Q.length<20&&(Q+=this._input.substr(0,20-Q.length)),(Q.substr(0,20)+(Q.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var Q=this.pastInput(),N=new Array(Q.length+1).join("-");return Q+this.upcomingInput()+`
`+N+"^"},test_match:function(Q,N){var Z,ae,pe;if(this.options.backtrack_lexer&&(pe={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(pe.yylloc.range=this.yylloc.range.slice(0))),ae=Q[0].match(/(?:\r\n?|\n).*/g),ae&&(this.yylineno+=ae.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:ae?ae[ae.length-1].length-ae[ae.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+Q[0].length},this.yytext+=Q[0],this.match+=Q[0],this.matches=Q,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(Q[0].length),this.matched+=Q[0],Z=this.performAction.call(this,this.yy,this,N,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),Z)return Z;if(this._backtrack){for(var fe in pe)this[fe]=pe[fe];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var Q,N,Z,ae;this._more||(this.yytext="",this.match="");for(var pe=this._currentRules(),fe=0;fe<pe.length;fe++)if(Z=this._input.match(this.rules[pe[fe]]),Z&&(!N||Z[0].length>N[0].length)){if(N=Z,ae=fe,this.options.backtrack_lexer){if(Q=this.test_match(Z,pe[fe]),Q!==!1)return Q;if(this._backtrack){N=!1;continue}else return!1}else if(!this.options.flex)break}return N?(Q=this.test_match(N,pe[ae]),Q!==!1?Q:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text.
`+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var N=this.next();return N||this.lex()},begin:function(N){this.conditionStack.push(N)},popState:function(){var N=this.conditionStack.length-1;return N>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(N){return N=this.conditionStack.length-1-Math.abs(N||0),N>=0?this.conditionStack[N]:"INITIAL"},pushState:function(N){this.begin(N)},stateStackSize:function(){return this.conditionStack.length},options:{},performAction:function(N,Z,ae,pe){switch(ae){case 0:break;case 1:return 6;case 2:return Z.yytext=Z.yytext.substr(1,Z.yyleng-2),4;case 3:return 17;case 4:return 18;case 5:return 23;case 6:return 24;case 7:return 22;case 8:return 21;case 9:return 10;case 10:return 11;case 11:return 8;case 12:return 14;case 13:return"INVALID"}},rules:[/^(?:\s+)/,/^(?:(-?([0-9]|[1-9][0-9]+))(\.[0-9]+)?([eE][-+]?[0-9]+)?\b)/,/^(?:"(?:\\[\\"bfnrt/]|\\u[a-fA-F0-9]{4}|[^\\\0-\x09\x0a-\x1f"])*")/,/^(?:\{)/,/^(?:\})/,/^(?:\[)/,/^(?:\])/,/^(?:,)/,/^(?::)/,/^(?:true\b)/,/^(?:false\b)/,/^(?:null\b)/,/^(?:$)/,/^(?:.)/],conditions:{INITIAL:{rules:[0,1,2,3,4,5,6,7,8,9,10,11,12,13],inclusive:!0}}};return H}();P.lexer=L;function $(){this.yy={}}return $.prototype=P,P.Parser=$,new $}();typeof dpe<"u"&&(n.parser=e,n.Parser=e.Parser,n.parse=function(){return e.parse.apply(e,arguments)})})(hpe);const WW={StyleExpression:FW,isExpression:UW,isExpressionFilter:wI,createExpression:H4,createPropertyExpression:RW,normalizePropertyExpression:Qfe,ZoomConstantExpression:qO,ZoomDependentExpression:VO,StylePropertyFunction:Lw},GW={convertFunction:Vfe,createFunction:CI,isFunction:vI};var $W=typeof Object.assign=="function"?Object.assign:function(n,e){if(n==null)throw new TypeError("Cannot convert undefined or null to object");for(var t=Object(n),r=1,i=arguments.length;r<i;++r){var o=arguments[r];if(o!=null)for(var a in o)o.hasOwnProperty(a)&&(t[a]=o[a])}return t};function lE(n){return n*Math.PI/180}var mv=function(){for(var n=[],e=78271.51696402048;n.length<=24;e/=2)n.push(e);return n}();function QW(n,e){if(typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof OffscreenCanvas<"u")return new OffscreenCanvas(n,e);var t=document.createElement("canvas");return t.width=n,t.height=e,t}function fpe(n,e){for(var t=0,r=e.length;t<r;++t){var i=e[t];if(i<n&&t+1<r){var o=e[t]/e[t+1];return t+Math.log(e[t]/n)/Math.log(o)}}return r-1}var ppe=Array(256).join(" ");function XO(n,e){if(e>=.05){for(var t="",r=n.split(`
`+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var N=this.next();return N||this.lex()},begin:function(N){this.conditionStack.push(N)},popState:function(){var N=this.conditionStack.length-1;return N>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(N){return N=this.conditionStack.length-1-Math.abs(N||0),N>=0?this.conditionStack[N]:"INITIAL"},pushState:function(N){this.begin(N)},stateStackSize:function(){return this.conditionStack.length},options:{},performAction:function(N,Z,ae,pe){switch(ae){case 0:break;case 1:return 6;case 2:return Z.yytext=Z.yytext.substr(1,Z.yyleng-2),4;case 3:return 17;case 4:return 18;case 5:return 23;case 6:return 24;case 7:return 22;case 8:return 21;case 9:return 10;case 10:return 11;case 11:return 8;case 12:return 14;case 13:return"INVALID"}},rules:[/^(?:\s+)/,/^(?:(-?([0-9]|[1-9][0-9]+))(\.[0-9]+)?([eE][-+]?[0-9]+)?\b)/,/^(?:"(?:\\[\\"bfnrt/]|\\u[a-fA-F0-9]{4}|[^\\\0-\x09\x0a-\x1f"])*")/,/^(?:\{)/,/^(?:\})/,/^(?:\[)/,/^(?:\])/,/^(?:,)/,/^(?::)/,/^(?:true\b)/,/^(?:false\b)/,/^(?:null\b)/,/^(?:$)/,/^(?:.)/],conditions:{INITIAL:{rules:[0,1,2,3,4,5,6,7,8,9,10,11,12,13],inclusive:!0}}};return H}();P.lexer=L;function $(){this.yy={}}return $.prototype=P,P.Parser=$,new $}();typeof dpe<"u"&&(n.parser=e,n.Parser=e.Parser,n.parse=function(){return e.parse.apply(e,arguments)})})(hpe);const WW={StyleExpression:FW,isExpression:UW,isExpressionFilter:MI,createExpression:H4,createPropertyExpression:RW,normalizePropertyExpression:Qfe,ZoomConstantExpression:VO,ZoomDependentExpression:HO,StylePropertyFunction:Lw},GW={convertFunction:Vfe,createFunction:_I,isFunction:CI};var $W=typeof Object.assign=="function"?Object.assign:function(n,e){if(n==null)throw new TypeError("Cannot convert undefined or null to object");for(var t=Object(n),r=1,i=arguments.length;r<i;++r){var o=arguments[r];if(o!=null)for(var a in o)o.hasOwnProperty(a)&&(t[a]=o[a])}return t};function uE(n){return n*Math.PI/180}var mv=function(){for(var n=[],e=78271.51696402048;n.length<=24;e/=2)n.push(e);return n}();function QW(n,e){if(typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof OffscreenCanvas<"u")return new OffscreenCanvas(n,e);var t=document.createElement("canvas");return t.width=n,t.height=e,t}function fpe(n,e){for(var t=0,r=e.length;t<r;++t){var i=e[t];if(i<n&&t+1<r){var o=e[t]/e[t+1];return t+Math.log(e[t]/n)/Math.log(o)}}return r-1}var ppe=Array(256).join(" ");function JO(n,e){if(e>=.05){for(var t="",r=n.split(`
`),i=ppe.slice(0,Math.round(e/.1)),o=0,a=r.length;o<a;++o)o>0&&(t+=`
`),t+=r[o].split("").join(i);return t}return n}var uE;function YW(){return uE||(uE=QW(1,1).getContext("2d")),uE}function G0(n,e){return YW().measureText(n).width+(n.length-1)*e}var JO={};KO&&Oo(KO,Wi.CLEAR,function(){JO={}});function eB(n,e,t,r){if(n.indexOf(`
`),t+=r[o].split("").join(i);return t}return n}var AE;function YW(){return AE||(AE=QW(1,1).getContext("2d")),AE}function G0(n,e){return YW().measureText(n).width+(n.length-1)*e}var eB={};PO&&Oo(PO,Wi.CLEAR,function(){eB={}});function tB(n,e,t,r){if(n.indexOf(`
`)!==-1){for(var i=n.split(`
`),o=[],a=0,s=i.length;a<s;++a)o.push(eB(i[a],e,t,r));return o.join(`
`)}var d=t+","+e+","+n+","+r,f=JO[d];if(!f){var C=n.split(" ");if(C.length>1){var O=YW();O.font=e;for(var E=O.measureText("M").width,P=E*t,L="",o=[],a=0,s=C.length;a<s;++a){var $=C[a],H=L+(L?" ":"")+$;G0(H,r)<=P?L=H:(L&&o.push(L),L=$)}L&&o.push(L);for(var a=0,s=o.length;a<s&&s>1;++a){var Q=o[a];if(G0(Q,r)<P*.35){var N=a>0?G0(o[a-1],r):1/0,Z=a<s-1?G0(o[a+1],r):1/0;o.splice(a,1),s-=1,N<Z?(o[a-1]+=" "+Q,a-=1):o[a]=Q+" "+o[a]}}for(var a=0,s=o.length-1;a<s;++a){var ae=o[a],pe=o[a+1];if(G0(ae,r)>P*.7&&G0(pe,r)<P*.6){var fe=ae.split(" "),X=fe.pop();G0(X,r)<P*.2&&(o[a]=fe.join(" "),o[a+1]=X+" "+pe),s-=1}}f=o.join(`
`)}else f=n;f=XO(f,r),JO[d]=f}return f}var mpe=GW.isFunction,gpe=GW.convertFunction,ype=WW.isExpression,vpe=WW.createPropertyExpression,Cpe={Point:1,MultiPoint:1,LineString:2,MultiLineString:2,Polygon:3,MultiPolygon:3},_pe={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]},bpe=function(n,e){var t=vpe(n,e);if(t.result==="error")throw new Error(t.value.map(function(r){return"".concat(r.key,": ").concat(r.message)}).join(", "));return t.value},tB={},X4={zoom:0},R2,AE;function Di(n,e,t,r,i,o){var a=n.id;o||(o={},console.warn("No functionCache provided to getValue()")),o[a]||(o[a]={});var s=o[a];if(!s[t]){var d=(n[e]||tB)[t],f=uW["".concat(e,"_").concat(n.type)][t];d===void 0&&(d=f.default);var C=ype(d);if(!C&&mpe(d)&&(d=gpe(d,f),C=!0),C){var O=bpe(d,f);s[t]=O.evaluate.bind(O)}else f.type=="color"&&(d=tu.parse(d)),s[t]=function(){return d}}return X4.zoom=r,s[t](X4,i)}function xpe(n,e,t,r,i){return i||console.warn("No filterCache provided to evaluateFilter()"),n in i||(i[n]=npe(e).filter),X4.zoom=r,i[n](X4,t)}function Om(n,e){if(n){if(n.a===0||e===0)return;var 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}var wpe=/^([^]*)\{(.*)\}([^]*)$/;function cE(n,e){var t;do if(t=n.match(wpe),t){var r=e[t[2]]||"";n=t[1]+r+t[3]}while(t);return n}function Mpe(n,e,t,r,i,o,a){if(r===void 0&&(r=mv),typeof e=="string"&&(e=JSON.parse(e)),e.version!=8)throw new Error("glStyle version 8 required.");var s,d;if(o){if(typeof Image<"u"){var f=new Image;f.crossOrigin="anonymous",f.onload=function(){s=f,d=[f.width,f.height],n.changed(),f.onload=null},f.src=o}else if(typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope){var C=self;C.postMessage({action:"loadImage",src:o}),C.addEventListener("message",function(gt){gt.data.action==="imageLoaded"&&gt.data.src===o&&(s=gt.data.image,d=[s.width,s.height])})}}for(var O=cpe(e.layers),E={},P=[],L={},$={},H={},Q={},N,Z=0,ae=O.length;Z<ae;++Z){var pe=O[Z],fe=pe.id;if(typeof t=="string"&&pe.source==t||t.indexOf(fe)!==-1){var X=pe["source-layer"];if(!N){N=pe.source;var oe=e.sources[N];if(!oe)throw new Error('Source "'.concat(N,'" is not defined'));var Ce=oe.type;if(Ce!=="vector"&&Ce!=="geojson")throw new Error('Source "'.concat(N,'" is not of type "vector" or "geojson", but "').concat(Ce,'"'))}var we=E[X];we||(we=[],E[X]=we),we.push({layer:pe,index:Z}),P.push(fe)}}var Te=new e_,Pe=new vy,he=[],$e=function(ye,gt){var yt=ye.getProperties(),st=E[yt.layer];if(st){var ft=r.indexOf(gt);ft==-1&&(ft=fpe(gt,r));for(var Re=Cpe[ye.getGeometry().getType()],Ve={properties:yt,type:Re},Xe=-1,Jt=function(Qt,Yt){var ke=st[Qt],ge=ke.layer,Se=ge.id,ze=ge.layout||tB,it=ge.paint||tB;if(ze.visibility==="none"||"minzoom"in ge&&ft<ge.minzoom||"maxzoom"in ge&&ft>=ge.maxzoom)return"continue";var ot=ge.filter;if(!ot||xpe(Se,ot,Ve,ft,Q)){var St=void 0,Rt=void 0,zt=void 0,mt=void 0,or=void 0,gn=void 0,yn=ke.index;if(Re==3&&(ge.type=="fill"||ge.type=="fill-extrusion"))if(Rt=Di(ge,"paint",ge.type+"-opacity",ft,Ve,H),ge.type+"-pattern"in it){var tr=Di(ge,"paint",ge.type+"-pattern",ft,Ve,H);if(tr){var dr=typeof tr=="string"?cE(tr,yt):tr.toString();if(s&&i&&i[dr]){++Xe,gn=he[Xe],(!gn||!gn.getFill()||gn.getStroke()||gn.getText())&&(gn=new X0({fill:new vy}),he[Xe]=gn),zt=gn.getFill(),gn.setZIndex(yn);var Sr=dr+"."+Rt,Nr=$[Sr];if(!Nr){var yr=i[dr],_i=QW(yr.width,yr.height),Ee=_i.getContext("2d");Ee.globalAlpha=Rt,Ee.drawImage(s,yr.x,yr.y,yr.width,yr.height,0,0,yr.width,yr.height),Nr=Ee.createPattern(_i,"repeat"),$[Sr]=Nr}zt.setColor(Nr)}}}else St=Om(Di(ge,"paint",ge.type+"-color",ft,Ve,H),Rt),ge.type+"-outline-color"in it&&(or=Om(Di(ge,"paint",ge.type+"-outline-color",ft,Ve,H),Rt)),or||(or=St),(St||or)&&(++Xe,gn=he[Xe],(!gn||St&&!gn.getFill()||!St&&gn.getFill()||or&&!gn.getStroke()||!or&&gn.getStroke()||gn.getText())&&(gn=new X0({fill:St?new vy:void 0,stroke:or?new e_:void 0}),he[Xe]=gn),St&&(zt=gn.getFill(),zt.setColor(St)),or&&(mt=gn.getStroke(),mt.setColor(or),mt.setWidth(.5)),gn.setZIndex(yn));if(Re!=1&&ge.type=="line"){St=!("line-pattern"in it)&&"line-color"in it?Om(Di(ge,"paint","line-color",ft,Ve,H),Di(ge,"paint","line-opacity",ft,Ve,H)):void 0;var ee=Di(ge,"paint","line-width",ft,Ve,H);St&&ee>0&&(++Xe,gn=he[Xe],(!gn||!gn.getStroke()||gn.getFill()||gn.getText())&&(gn=new X0({stroke:new e_}),he[Xe]=gn),mt=gn.getStroke(),mt.setLineCap(Di(ge,"layout","line-cap",ft,Ve,H)),mt.setLineJoin(Di(ge,"layout","line-join",ft,Ve,H)),mt.setMiterLimit(Di(ge,"layout","line-miter-limit",ft,Ve,H)),mt.setColor(St),mt.setWidth(ee),mt.setLineDash(it["line-dasharray"]?Di(ge,"paint","line-dasharray",ft,Ve,H).map(function(ii){return ii*ee}):null),gn.setZIndex(yn))}var V=!1,Ke=null,At=0,Bt=void 0,kt=void 0,Dt=void 0;if((Re==1||Re==2)&&"icon-image"in ze){var fn=Di(ge,"layout","icon-image",ft,Ve,H);if(fn){Bt=typeof fn=="string"?cE(fn,yt):fn.toString();v Line truncated
`),o=[],a=0,s=i.length;a<s;++a)o.push(tB(i[a],e,t,r));return o.join(`
`)}var d=t+","+e+","+n+","+r,f=eB[d];if(!f){var C=n.split(" ");if(C.length>1){var O=YW();O.font=e;for(var E=O.measureText("M").width,P=E*t,L="",o=[],a=0,s=C.length;a<s;++a){var $=C[a],H=L+(L?" ":"")+$;G0(H,r)<=P?L=H:(L&&o.push(L),L=$)}L&&o.push(L);for(var a=0,s=o.length;a<s&&s>1;++a){var Q=o[a];if(G0(Q,r)<P*.35){var N=a>0?G0(o[a-1],r):1/0,Z=a<s-1?G0(o[a+1],r):1/0;o.splice(a,1),s-=1,N<Z?(o[a-1]+=" "+Q,a-=1):o[a]=Q+" "+o[a]}}for(var a=0,s=o.length-1;a<s;++a){var ae=o[a],pe=o[a+1];if(G0(ae,r)>P*.7&&G0(pe,r)<P*.6){var fe=ae.split(" "),X=fe.pop();G0(X,r)<P*.2&&(o[a]=fe.join(" "),o[a+1]=X+" "+pe),s-=1}}f=o.join(`
`)}else f=n;f=JO(f,r),eB[d]=f}return f}var mpe=GW.isFunction,gpe=GW.convertFunction,ype=WW.isExpression,vpe=WW.createPropertyExpression,Cpe={Point:1,MultiPoint:1,LineString:2,MultiLineString:2,Polygon:3,MultiPolygon:3},_pe={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]},bpe=function(n,e){var t=vpe(n,e);if(t.result==="error")throw new Error(t.value.map(function(r){return"".concat(r.key,": ").concat(r.message)}).join(", "));return t.value},nB={},X4={zoom:0},R2,cE;function Di(n,e,t,r,i,o){var a=n.id;o||(o={},console.warn("No functionCache provided to getValue()")),o[a]||(o[a]={});var s=o[a];if(!s[t]){var d=(n[e]||nB)[t],f=uW["".concat(e,"_").concat(n.type)][t];d===void 0&&(d=f.default);var C=ype(d);if(!C&&mpe(d)&&(d=gpe(d,f),C=!0),C){var O=bpe(d,f);s[t]=O.evaluate.bind(O)}else f.type=="color"&&(d=tu.parse(d)),s[t]=function(){return d}}return X4.zoom=r,s[t](X4,i)}function xpe(n,e,t,r,i){return i||console.warn("No filterCache provided to evaluateFilter()"),n in i||(i[n]=npe(e).filter),X4.zoom=r,i[n](X4,t)}function Om(n,e){if(n){if(n.a===0||e===0)return;var 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}var wpe=/^([^]*)\{(.*)\}([^]*)$/;function dE(n,e){var t;do if(t=n.match(wpe),t){var r=e[t[2]]||"";n=t[1]+r+t[3]}while(t);return n}function Mpe(n,e,t,r,i,o,a){if(r===void 0&&(r=mv),typeof e=="string"&&(e=JSON.parse(e)),e.version!=8)throw new Error("glStyle version 8 required.");var s,d;if(o){if(typeof Image<"u"){var f=new Image;f.crossOrigin="anonymous",f.onload=function(){s=f,d=[f.width,f.height],n.changed(),f.onload=null},f.src=o}else if(typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope){var C=self;C.postMessage({action:"loadImage",src:o}),C.addEventListener("message",function(gt){gt.data.action==="imageLoaded"&&gt.data.src===o&&(s=gt.data.image,d=[s.width,s.height])})}}for(var O=cpe(e.layers),E={},P=[],L={},$={},H={},Q={},N,Z=0,ae=O.length;Z<ae;++Z){var pe=O[Z],fe=pe.id;if(typeof t=="string"&&pe.source==t||t.indexOf(fe)!==-1){var X=pe["source-layer"];if(!N){N=pe.source;var oe=e.sources[N];if(!oe)throw new Error('Source "'.concat(N,'" is not defined'));var Ce=oe.type;if(Ce!=="vector"&&Ce!=="geojson")throw new Error('Source "'.concat(N,'" is not of type "vector" or "geojson", but "').concat(Ce,'"'))}var we=E[X];we||(we=[],E[X]=we),we.push({layer:pe,index:Z}),P.push(fe)}}var Te=new e_,Pe=new vy,he=[],$e=function(ye,gt){var yt=ye.getProperties(),st=E[yt.layer];if(st){var ft=r.indexOf(gt);ft==-1&&(ft=fpe(gt,r));for(var Re=Cpe[ye.getGeometry().getType()],Ve={properties:yt,type:Re},Xe=-1,Jt=function(Qt,Yt){var ke=st[Qt],ge=ke.layer,Se=ge.id,ze=ge.layout||nB,it=ge.paint||nB;if(ze.visibility==="none"||"minzoom"in ge&&ft<ge.minzoom||"maxzoom"in ge&&ft>=ge.maxzoom)return"continue";var ot=ge.filter;if(!ot||xpe(Se,ot,Ve,ft,Q)){var St=void 0,Rt=void 0,zt=void 0,mt=void 0,or=void 0,gn=void 0,yn=ke.index;if(Re==3&&(ge.type=="fill"||ge.type=="fill-extrusion"))if(Rt=Di(ge,"paint",ge.type+"-opacity",ft,Ve,H),ge.type+"-pattern"in it){var tr=Di(ge,"paint",ge.type+"-pattern",ft,Ve,H);if(tr){var dr=typeof tr=="string"?dE(tr,yt):tr.toString();if(s&&i&&i[dr]){++Xe,gn=he[Xe],(!gn||!gn.getFill()||gn.getStroke()||gn.getText())&&(gn=new X0({fill:new vy}),he[Xe]=gn),zt=gn.getFill(),gn.setZIndex(yn);var Sr=dr+"."+Rt,Nr=$[Sr];if(!Nr){var yr=i[dr],_i=QW(yr.width,yr.height),Ee=_i.getContext("2d");Ee.globalAlpha=Rt,Ee.drawImage(s,yr.x,yr.y,yr.width,yr.height,0,0,yr.width,yr.height),Nr=Ee.createPattern(_i,"repeat"),$[Sr]=Nr}zt.setColor(Nr)}}}else St=Om(Di(ge,"paint",ge.type+"-color",ft,Ve,H),Rt),ge.type+"-outline-color"in it&&(or=Om(Di(ge,"paint",ge.type+"-outline-color",ft,Ve,H),Rt)),or||(or=St),(St||or)&&(++Xe,gn=he[Xe],(!gn||St&&!gn.getFill()||!St&&gn.getFill()||or&&!gn.getStroke()||!or&&gn.getStroke()||gn.getText())&&(gn=new X0({fill:St?new vy:void 0,stroke:or?new e_:void 0}),he[Xe]=gn),St&&(zt=gn.getFill(),zt.setColor(St)),or&&(mt=gn.getStroke(),mt.setColor(or),mt.setWidth(.5)),gn.setZIndex(yn));if(Re!=1&&ge.type=="line"){St=!("line-pattern"in it)&&"line-color"in it?Om(Di(ge,"paint","line-color",ft,Ve,H),Di(ge,"paint","line-opacity",ft,Ve,H)):void 0;var ee=Di(ge,"paint","line-width",ft,Ve,H);St&&ee>0&&(++Xe,gn=he[Xe],(!gn||!gn.getStroke()||gn.getFill()||gn.getText())&&(gn=new X0({stroke:new e_}),he[Xe]=gn),mt=gn.getStroke(),mt.setLineCap(Di(ge,"layout","line-cap",ft,Ve,H)),mt.setLineJoin(Di(ge,"layout","line-join",ft,Ve,H)),mt.setMiterLimit(Di(ge,"layout","line-miter-limit",ft,Ve,H)),mt.setColor(St),mt.setWidth(ee),mt.setLineDash(it["line-dasharray"]?Di(ge,"paint","line-dasharray",ft,Ve,H).map(function(ii){return ii*ee}):null),gn.setZIndex(yn))}var V=!1,Ke=null,At=0,Bt=void 0,kt=void 0,Dt=void 0;if((Re==1||Re==2)&&"icon-image"in ze){var fn=Di(ge,"layout","icon-image",ft,Ve,H);if(fn){Bt=typeof fn=="string"?dE(fn,yt):fn.toString();v Line truncated
`)return ii.push(`
`,""),ii;if(Re==2){ii.push(XO(Wa,ho),Lr);return}Wa=eB(Wa,Lr,si,ho).split(`
`,""),ii;if(Re==2){ii.push(JO(Wa,ho),Lr);return}Wa=tB(Wa,Lr,si,ho).split(`
`);for(var vi=0,Ga=Wa.length;vi<Ga;++vi)vi>0&&ii.push(`
`,""),ii.push(Wa[vi],Lr);return ii},[]):ar=cE(Na,yt).trim(),Rt=Di(ge,"paint","text-opacity",ft,Ve,H)}if(ar&&Rt&&!Dt){V||(++Xe,gn=he[Xe],(!gn||!gn.getText()||gn.getFill()||gn.getStroke())&&(gn=new X0,he[Xe]=gn),gn.setImage(void 0),gn.setGeometry(void 0)),gn.getText()||gn.setText(Ke||new $Ae({padding:[2,2,2,2]})),Ke=gn.getText();var Ia=ze["text-transform"];Ia=="uppercase"?ar=Array.isArray(ar)?ar.map(function(li,Jo){return Jo%2?li:li.toUpperCase()}):ar.toUpperCase():Ia=="lowercase"&&(ar=Array.isArray(ar)?ar.map(function(li,Jo){return Jo%2?li:li.toLowerCase()}):ar.toLowerCase());var Ei=Array.isArray(ar)?ar:Re==2?XO(ar,ho):eB(ar,di,si,ho);Ke.setText(Ei),Ke.setFont(di),Ke.setRotation(lE(Di(ge,"layout","text-rotate",ft,Ve,H)));var os=Di(ge,"layout","text-anchor",ft,Ve,H),De=V||Re==1?"point":Di(ge,"layout","symbol-placement",ft,Ve,H);Ke.setPlacement(De),Ke.setOverflow(De==="point");var yi=Di(ge,"paint","text-halo-width",ft,Ve,H),Gn=Di(ge,"layout","text-offset",ft,Ve,H),ro=Di(ge,"paint","text-translate",ft,Ve,H),Co=0,Ri=0;if(De=="point"){var _e="center";os.indexOf("left")!==-1?(_e="left",Ri=yi):os.indexOf("right")!==-1&&(_e="right",Ri=-yi),Ke.setTextAlign(_e);var Je=Di(ge,"layout","text-rotation-alignment",ft,Ve,H);Ke.setRotateWithView(Je=="map")}else Ke.setMaxAngle(lE(Di(ge,"layout","text-max-angle",ft,Ve,H))*ar.length/Ei.length),Ke.setTextAlign(),Ke.setRotateWithView(!1);var Zt="middle";os.indexOf("bottom")==0?(Zt="bottom",Co=-yi-.5*(Ui-1)*to):os.indexOf("top")==0&&(Zt="top",Co=yi+.5*(Ui-1)*to),Ke.setTextBaseline(Zt),Ke.setOffsetX(Gn[0]*to+Ri+ro[0]),Ke.setOffsetY(Gn[1]*to+Co+ro[1]),Pe.setColor(Om(Di(ge,"paint","text-color",ft,Ve,H),Rt)),Ke.setFill(Pe);var ln=Om(Di(ge,"paint","text-halo-color",ft,Ve,H),Rt);if(ln){Te.setColor(ln),yi*=2;var Ft=.5*to;Te.setWidth(yi<=Ft?yi:Ft),Ke.setStroke(Te)}else Ke.setStroke(void 0);var wn=Di(ge,"layout","text-padding",ft,Ve,H),hr=Ke.getPadding();wn!==hr[0]&&(hr[0]=wn,hr[1]=wn,hr[2]=wn,hr[3]=wn),gn.setZIndex(yn)}}},Ht=0,bt=st.length;Ht<bt;++Ht)Jt(Ht);if(Xe>-1)return he.length=Xe+1,he}};return n.setStyle($e),n.set("mapbox-source",N),n.set("mapbox-layers",P),$e}var qW={exports:{}};(function(){var n;qW.exports={icon:"icons/google.svg",name:"google",title:"Google Fonts",link:"google.com/fonts",getNames:function(){return n},getLink:function(e){return"https://fonts.google.com/specimen/"+e.replace(/( )/g,"+")},normalizeName:function(e){return e}},n=["ABeeZee","Abel","Abril Fatface","Aclonica","Acme","Actor","Adamina","Advent Pro","Aguafina Script","Akronim","Aladin","Aldrich","Alef","Alegreya","Alegreya SC","Alegreya Sans","Alegreya Sans SC","Alex Brush","Alfa Slab One","Alice","Alike","Alike Angular","Allan","Allerta","Allerta Stencil","Allura","Almendra","Almendra Display","Almendra SC","Amarante","Amaranth","Amatic SC","Amethysta","Amiri","Amita","Anaheim","Andada","Andika","Angkor","Annie Use Your Telescope","Anonymous Pro","Antic","Antic Didone","Antic Slab","Anton","Arapey","Arbutus","Arbutus Slab","Architects Daughter","Archivo Black","Archivo Narrow","Arimo","Arizonia","Armata","Artifika","Arvo","Arya","Asap","Asar","Asset","Astloch","Asul","Atomic Age","Aubrey","Audiowide","Autour One","Average","Average Sans","Averia Gruesa Libre","Averia Libre","Averia Sans Libre","Averia Serif Libre","Bad Script","Balthazar","Bangers","Basic","Battambang","Baumans","Bayon","Belgrano","Belleza","BenchNine","Bentham","Berkshire Swash","Bevan","Bigelow Rules","Bigshot One","Bilbo","Bilbo Swash Caps","Biryani","Bitter","Black Ops One","Bokor","Bonbon","Boogaloo","Bowlby One","Bowlby One SC","Brawler","Bree Serif","Bubblegum Sans","Bubbler One","Buda","Buenard","Butcherman","Butterfly Kids","Cabin","Cabin Condensed","Cabin Sketch","Caesar Dressing","Cagliostro","Calligraffitti","Cambay","Cambo","Candal","Cantarell","Cantata One","Cantora One","Capriola","Cardo","Carme","Carrois Gothic","Carrois Gothic SC","Carter One","Catamaran","Caudex","Caveat","Caveat Brush","Cedarville Cursive","Ceviche One","Changa One","Chango","Chau Philomene One","Chela One","Chelsea Market","Chenla","Cherry Cream Soda","Cherry Swash","Chewy","Chicle","Chivo","Chonburi","Cinzel","Cinzel Decorative","Clicker Script","Coda","Coda Caption","Codystar","Combo","Comfortaa","Coming Soon","Concert One","Condiment","Content","Contrail One","Convergence","Cookie","Copse","Corben","Courgette","Cousine","Coustard","Covered By Your Grace","Crafty Girls","Creepster","Crete Round","Crimson Text","Croissant One","Crushed","Cuprum","Cutive","Cutive Mono","Damion","Dancing Script","Dangrek","Dawning of a New Day","Days One","Dekko","Delius","Delius Swash Caps","Delius Unicase","Della Respira","Denk One","Devonshire","Dhurjati","Didact Gothic","Diplomata","Diplomata SC","Domine","Donegal One","Doppio One","Dorsa","Dosis","Dr Sugiyama","Droid Sans","Droid Sans Mono","Droid Serif","Duru Sans","Dynalight","EB Garamond","Eagle Lake","Eater","Economica","Eczar","Ek Mukta","Electrolize","Elsie","Elsie Swash Caps","Emblema One","Emilys Candy","Enga Line truncated
`,""),ii.push(Wa[vi],Lr);return ii},[]):ar=dE(Na,yt).trim(),Rt=Di(ge,"paint","text-opacity",ft,Ve,H)}if(ar&&Rt&&!Dt){V||(++Xe,gn=he[Xe],(!gn||!gn.getText()||gn.getFill()||gn.getStroke())&&(gn=new X0,he[Xe]=gn),gn.setImage(void 0),gn.setGeometry(void 0)),gn.getText()||gn.setText(Ke||new $Ae({padding:[2,2,2,2]})),Ke=gn.getText();var Ia=ze["text-transform"];Ia=="uppercase"?ar=Array.isArray(ar)?ar.map(function(li,Jo){return Jo%2?li:li.toUpperCase()}):ar.toUpperCase():Ia=="lowercase"&&(ar=Array.isArray(ar)?ar.map(function(li,Jo){return Jo%2?li:li.toLowerCase()}):ar.toLowerCase());var Ei=Array.isArray(ar)?ar:Re==2?JO(ar,ho):tB(ar,di,si,ho);Ke.setText(Ei),Ke.setFont(di),Ke.setRotation(uE(Di(ge,"layout","text-rotate",ft,Ve,H)));var os=Di(ge,"layout","text-anchor",ft,Ve,H),De=V||Re==1?"point":Di(ge,"layout","symbol-placement",ft,Ve,H);Ke.setPlacement(De),Ke.setOverflow(De==="point");var yi=Di(ge,"paint","text-halo-width",ft,Ve,H),Gn=Di(ge,"layout","text-offset",ft,Ve,H),ro=Di(ge,"paint","text-translate",ft,Ve,H),Co=0,Ri=0;if(De=="point"){var _e="center";os.indexOf("left")!==-1?(_e="left",Ri=yi):os.indexOf("right")!==-1&&(_e="right",Ri=-yi),Ke.setTextAlign(_e);var Je=Di(ge,"layout","text-rotation-alignment",ft,Ve,H);Ke.setRotateWithView(Je=="map")}else Ke.setMaxAngle(uE(Di(ge,"layout","text-max-angle",ft,Ve,H))*ar.length/Ei.length),Ke.setTextAlign(),Ke.setRotateWithView(!1);var Zt="middle";os.indexOf("bottom")==0?(Zt="bottom",Co=-yi-.5*(Ui-1)*to):os.indexOf("top")==0&&(Zt="top",Co=yi+.5*(Ui-1)*to),Ke.setTextBaseline(Zt),Ke.setOffsetX(Gn[0]*to+Ri+ro[0]),Ke.setOffsetY(Gn[1]*to+Co+ro[1]),Pe.setColor(Om(Di(ge,"paint","text-color",ft,Ve,H),Rt)),Ke.setFill(Pe);var ln=Om(Di(ge,"paint","text-halo-color",ft,Ve,H),Rt);if(ln){Te.setColor(ln),yi*=2;var Ft=.5*to;Te.setWidth(yi<=Ft?yi:Ft),Ke.setStroke(Te)}else Ke.setStroke(void 0);var wn=Di(ge,"layout","text-padding",ft,Ve,H),hr=Ke.getPadding();wn!==hr[0]&&(hr[0]=wn,hr[1]=wn,hr[2]=wn,hr[3]=wn),gn.setZIndex(yn)}}},Ht=0,bt=st.length;Ht<bt;++Ht)Jt(Ht);if(Xe>-1)return he.length=Xe+1,he}};return n.setStyle($e),n.set("mapbox-source",N),n.set("mapbox-layers",P),$e}var qW={exports:{}};(function(){var n;qW.exports={icon:"icons/google.svg",name:"google",title:"Google Fonts",link:"google.com/fonts",getNames:function(){return n},getLink:function(e){return"https://fonts.google.com/specimen/"+e.replace(/( )/g,"+")},normalizeName:function(e){return e}},n=["ABeeZee","Abel","Abril Fatface","Aclonica","Acme","Actor","Adamina","Advent Pro","Aguafina Script","Akronim","Aladin","Aldrich","Alef","Alegreya","Alegreya SC","Alegreya Sans","Alegreya Sans SC","Alex Brush","Alfa Slab One","Alice","Alike","Alike Angular","Allan","Allerta","Allerta Stencil","Allura","Almendra","Almendra Display","Almendra SC","Amarante","Amaranth","Amatic SC","Amethysta","Amiri","Amita","Anaheim","Andada","Andika","Angkor","Annie Use Your Telescope","Anonymous Pro","Antic","Antic Didone","Antic Slab","Anton","Arapey","Arbutus","Arbutus Slab","Architects Daughter","Archivo Black","Archivo Narrow","Arimo","Arizonia","Armata","Artifika","Arvo","Arya","Asap","Asar","Asset","Astloch","Asul","Atomic Age","Aubrey","Audiowide","Autour One","Average","Average Sans","Averia Gruesa Libre","Averia Libre","Averia Sans Libre","Averia Serif Libre","Bad Script","Balthazar","Bangers","Basic","Battambang","Baumans","Bayon","Belgrano","Belleza","BenchNine","Bentham","Berkshire Swash","Bevan","Bigelow Rules","Bigshot One","Bilbo","Bilbo Swash Caps","Biryani","Bitter","Black Ops One","Bokor","Bonbon","Boogaloo","Bowlby One","Bowlby One SC","Brawler","Bree Serif","Bubblegum Sans","Bubbler One","Buda","Buenard","Butcherman","Butterfly Kids","Cabin","Cabin Condensed","Cabin Sketch","Caesar Dressing","Cagliostro","Calligraffitti","Cambay","Cambo","Candal","Cantarell","Cantata One","Cantora One","Capriola","Cardo","Carme","Carrois Gothic","Carrois Gothic SC","Carter One","Catamaran","Caudex","Caveat","Caveat Brush","Cedarville Cursive","Ceviche One","Changa One","Chango","Chau Philomene One","Chela One","Chelsea Market","Chenla","Cherry Cream Soda","Cherry Swash","Chewy","Chicle","Chivo","Chonburi","Cinzel","Cinzel Decorative","Clicker Script","Coda","Coda Caption","Codystar","Combo","Comfortaa","Coming Soon","Concert One","Condiment","Content","Contrail One","Convergence","Cookie","Copse","Corben","Courgette","Cousine","Coustard","Covered By Your Grace","Crafty Girls","Creepster","Crete Round","Crimson Text","Croissant One","Crushed","Cuprum","Cutive","Cutive Mono","Damion","Dancing Script","Dangrek","Dawning of a New Day","Days One","Dekko","Delius","Delius Swash Caps","Delius Unicase","Della Respira","Denk One","Devonshire","Dhurjati","Didact Gothic","Diplomata","Diplomata SC","Domine","Donegal One","Doppio One","Dorsa","Dosis","Dr Sugiyama","Droid Sans","Droid Sans Mono","Droid Serif","Duru Sans","Dynalight","EB Garamond","Eagle Lake","Eater","Economica","Eczar","Ek Mukta","Electrolize","Elsie","Elsie Swash Caps","Emblema One","Emilys Candy","Enga Line truncated
Copyright (c) 2018 Jed Watson.
Licensed under the MIT License (MIT), see
http://jedwatson.github.io/classnames
*/(function(n){(function(){var e={}.hasOwnProperty;function t(){for(var o="",a=0;a<arguments.length;a++){var s=arguments[a];s&&(o=i(o,r(s)))}return o}function r(o){if(typeof o=="string"||typeof o=="number")return o;if(typeof o!="object")return"";if(Array.isArray(o))return t.apply(null,o);if(o.toString!==Object.prototype.toString&&!o.toString.toString().includes("[native code]"))return o.toString();var a="";for(var s in o)e.call(o,s)&&o[s]&&(a=i(a,s));return a}function i(o,a){return a?o?o+" "+a:o+a:o}n.exports?(t.default=t,n.exports=t):window.classNames=t})()})(XW);var Wpe=XW.exports;const Yf=ma(Wpe);function r1(){var n="/home/runner/work/maputnik/maputnik/src/components/Collapser.tsx",e="e73e8fb606fcd7318a8222b2e50c576ed3ad8702",t=globalThis,r="__coverage__",i={path:"/home/runner/work/maputnik/maputnik/src/components/Collapser.tsx",statementMap:{0:{start:{line:6,column:22},end:{line:10,column:5}},1:{start:{line:11,column:4},end:{line:11,column:154}}},fnMap:{0:{name:"(anonymous_0)",decl:{start:{line:5,column:2},end:{line:5,column:3}},loc:{start:{line:5,column:11},end:{line:12,column:3}},line:5}},branchMap:{0:{loc:{start:{line:11,column:11},end:{line:11,column:153}},type:"cond-expr",locations:[{start:{line:11,column:52},end:{line:11,column:92}},{start:{line:11,column:111},end:{line:11,column:153}}],line:11}},s:{0:0,1:0},f:{0:0},b:{0:[0,0]},inputSourceMap:{version:3,file:null,sources:["/home/runner/work/maputnik/maputnik/src/components/Collapser.tsx"],names:[],mappings:"AAeoC;AAfpC,OAAO,WAAW;AAClB,SAAQ,iBAAiB,qBAAoB;AAO7C,qBAAqB,kBAAkB,MAAM,UAA0B;AAAA,EACrE,SAAS;AACP,UAAM,YAAY;AAAA,MAChB,OAAO;AAAA,MACP,QAAQ;AAAA,MACR,GAAG,KAAK,MAAM;AAAA,IAChB;AACA,WAAO,KAAK,MAAM,cAAc,oBAAC,iBAAc,OAAO,WAAU,IAAK,oBAAC,mBAAgB,OAAO,WAAW;AAAA,EAC1G;AACF;"},_coverageSchema:"1a1c01bbd47fc00a2c39e90264f33305004495a9",hash:"e73e8fb606fcd7318a8222b2e50c576ed3ad8702"},o=t[r]||(t[r]={});(!o[n]||o[n].hash!==e)&&(o[n]=i);var a=o[n];return r1=function(){return a},a}r1();class Gpe extends Mn.Component{render(){r1().f[0]++;const e=(r1().s[0]++,{width:20,height:20,...this.props.style});return r1().s[1]++,this.props.isCollapsed?(r1().b[0][0]++,G.jsx(Kre,{style:e})):(r1().b[0][1]++,G.jsx(Tre,{style:e}))}}function by(){var n="/home/runner/work/maputnik/maputnik/src/components/LayerListGroup.tsx",e="b04bfec534013c327fd210571832bbd2813a944a",t=globalThis,r="__coverage__",i={path:"/home/runner/work/maputnik/maputnik/src/components/LayerListGroup.tsx",statementMap:{0:{start:{line:6,column:4},end:{line:32,column:9}},1:{start:{line:11,column:25},end:{line:11,column:72}}},fnMap:{0:{name:"(anonymous_0)",decl:{start:{line:5,column:2},end:{line:5,column:3}},loc:{start:{line:5,column:11},end:{line:33,column:3}},line:5},1:{name:"(anonymous_1)",decl:{start:{line:11,column:17},end:{line:11,column:18}},loc:{start:{line:11,column:25},end:{line:11,column:72}},line:11}},branchMap:{},s:{0:0,1:0},f:{0:0,1:0},b:{},inputSourceMap:{version:3,file:null,sources:["/home/runner/work/maputnik/maputnik/src/components/LayerListGroup.tsx"],names:[],mappings:"AAcM,SAIE,KAJF;AAdN,OAAO,WAAW;AAClB,OAAO,eAAe;AAUtB,qBAAqB,uBAAuB,MAAM,UAA+B;AAAA,EAC/E,SAAS;AACP,WAAO,oBAAC,QAAG,WAAU,6BACnB;AAAA,MAAC;AAAA;AAAA,QAAI,WAAU;AAAA,QACb,eAAa,sBAAoB,KAAK,MAAM,aAAa;AAAA,QACzD,SAAS,QAAM,KAAK,MAAM,eAAe,CAAC,KAAK,MAAM,QAAQ;AAAA,QAE7D;AAAA;AAAA,YAAC;AAAA;AAAA,cACC,WAAU;AAAA,cACV,iBAAe,KAAK,MAAM,eAAe;AAAA,cACzC,iBAAe,KAAK,MAAM;AAAA,cAEzB,eAAK,MAAM;AAAA;AAAA,UACd;AAAA,UACA,oBAAC,UAAK,WAAU,kBAAiB;AAAA,UACjC;AAAA,YAAC;AAAA;AAAA,cACC,OAAO,EAAE,QAAQ,IAAI,OAAO,GAAG;AAAA,cAC/B,aAAa,KAAK,MAAM;AAAA;AAAA,UAC1B;AAAA;AAAA;AAAA,IACF,GACF;AAAA,EACF;AACF;"},_coverageSchema:"1a1c01bbd47fc00a2c39e90264f33305004495a9",hash:"b04bfec534013c327fd210571832bbd2813a944a"},o=t[r]||(t[r]={});(!o[n]||o[n].hash!==e)&&(o[n]=i);var a=o[n];return by=function(){return a},a}by();class $pe extends Mn.Component{render(){return by().f[0]++,by().s[0]++,G.jsx("li",{className:"maputnik-layer-list-group",children:G.jsxs("div",{className:"maputnik-layer-list-group-header","data-wd-key":"layer-list-group:"+this.props["data-wd-key"],onClick:e=>(by().f[1]++,by().s[1]++,this.props.onActiveToggle(!this.props.isActive)),children:[G.jsx("button",{className:"maputnik-layer-list-group-title","aria-controls":this.props["aria-controls"],"aria-expanded":this.props.isActive,children:this.props.title}),G.jsx("span",{className:"maputnik-space"}),G.jsx(Gpe,{style:{height:14,width:14},isCollapsed:this.props.isActive})]})})}}function _b(){return _b=Object.assign?Object.assign.bind():function(n){for(var e=1;e<arguments.length;e++){var t=arguments[e];for(var r in t)({}).hasOwnProperty.call(t,r)&&(n[r]=t[r])}return n},_b.apply(null,arguments)}function Qpe(n){if(Array.isArray(n))return n}function Ype(n,e){var t=n==null?null:typeof Symbol<"u"&&n[Symbol.iterator]||n["@@iterator"];if(t!=null){var r,i,o,a,s=[],d=!0,f=!1;try{if(o=(t=t.call(n)).next,e===0){if(Object(t)!==t)return;d=!1}else for(;!(d=(r=o.call(t)).done)&&(s.push(r.value),s.length!==e);d=!0);}catch(C){fLine truncated
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function eG(n,e){return Qpe(n)||Ype(n,e)||JW(n,e)||qpe()}function gv(n){"@babel/helpers - typeof";return gv=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},gv(n)}function Vpe(n,e){if(gv(n)!="object"||!n)return n;var t=n[Symbol.toPrimitive];if(t!==void 0){var r=t.call(n,e||"default");if(gv(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(n)}function tG(n){var e=Vpe(n,"string");return gv(e)=="symbol"?e:e+""}function Ea(n,e,t){return(e=tG(e))in n?Object.defineProperty(n,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):n[e]=t,n}function hE(n){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?Object(arguments[e]):{},r=Object.keys(t);typeof Object.getOwnPropertySymbols=="function"&&r.push.apply(r,Object.getOwnPropertySymbols(t).filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.forEach(function(i){Ea(n,i,t[i])})}return n}function Vb(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function CP(n,e){for(var t=0;t<e.length;t++){var r=e[t];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(n,tG(r.key),r)}}function Hb(n,e,t){return e&&CP(n.prototype,e),t&&CP(n,t),Object.defineProperty(n,"prototype",{writable:!1}),n}function go(n){if(n===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function MI(n,e){if(e&&(gv(e)=="object"||typeof e=="function"))return e;if(e!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return go(n)}function bb(n){return bb=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},bb(n)}function iB(n,e){return iB=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,r){return t.__proto__=r,t},iB(n,e)}function SI(n,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),Object.defineProperty(n,"prototype",{writable:!1}),e&&iB(n,e)}var Hpe=function(n,e,t,r,i,o,a,s){if(!n){var d;if(e===void 0)d=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var f=[t,r,i,o,a,s],C=0;d=new Error(e.replace(/%s/g,function(){return f[C++]})),d.name="Invariant Violation"}throw d.framesToPop=1,d}},Zpe=Hpe;const U1=ma(Zpe);function Xpe(n){if(Array.isArray(n))return rB(n)}function Jpe(n){if(typeof Symbol<"u"&&n[Symbol.iterator]!=null||n["@@iterator"]!=null)return Array.from(n)}function eme(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function tme(n){return Xpe(n)||Jpe(n)||JW(n)||eme()}var nme=function(){function n(){Vb(this,n),Ea(this,"refs",{})}return Hb(n,[{key:"add",value:function(t,r){this.refs[t]||(this.refs[t]=[]),this.refs[t].push(r)}},{key:"remove",value:function(t,r){var i=this.getIndex(t,r);i!==-1&&this.refs[t].splice(i,1)}},{key:"isActive",value:function(){return this.active}},{key:"getActive",value:function(){var t=this;return this.refs[this.active.collection].find(function(r){var i=r.node;return i.sortableInfo.index==t.active.index})}},{key:"getIndex",value:function(t,r){return this.refs[t].indexOf(r)}},{key:"getOrderedRefs",value:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.active.collection;return this.refs[t].sort(rme)}}]),n}();function rme(n,e){var t=n.node.sortableInfo.index,r=e.node.sortableInfo.index;return t-r}function nG(n,e){return Object.keys(n).reduce(function(t,r){return e.indexOf(r)===-1&&(t[r]=n[r]),t},{})}var zg={end:["touchend","touchcancel","mouseup"],move:["touchmove","mousemove"],start:["touchstart","mousedown"]},rG=function(){if(typeof window>"u"||typeof document>"u")return"";var n=window.getComputedStyle(document.documentElement,"")||["-moz-hidden-iframe"],e=(Array.prototype.slice.call(n).join("").match(/-(moz|webkit|ms)-/)||n.OLink===""&&["","o"])[1];switch(e){case"ms":return"ms";default:return e&&e.length?e[0].toUpperCase()+e.substr(1):""}}();function j2(n,e){Object.keys(e).forEach(function(t){n.style[t]=e[t]})}function N2(n,e){n.style["".concat(rG,"Transform")]=e==null?"":"translate3d(".concat(e.x,"px,").concat(e.y,"px,0)")}function fE(n,e){n.style["".concat(rG,"TransitionDuration")]=e==null?"":"".concat(e,"ms")}function r_(n,e){for(;n;){if(e(n))return n;n=n.parentNode}return null}function _P(n,e,t){return Math.max(n,Math.min(t,e))}function xy(n){return n.substr(-2)==="px"?parseFloat(n):0}function ime(n){var e=window.getComputedStyle(n);return{bottom:xy(e.marginBottom),left:xy(e.marginLeft),right:xy(e.marginRight),top:xy(e.marginTop)}}function EI(n,e){var t=e.displayName||e.name;return t?"".concat(n,"(").concat(t,")"):n}function pE(n,e){var t=n.getBoundingClientRect();return{top:t.top+e.top,left:t.left+e.left}}function DC(n){return n.touches&&n.touches.length?{x:n.touches[0].pageX,y:n.touches[0].pageY}:n.changedTouches&&n.changedTouches.length?{x:n.changedTouches[0].pageX,y:n.changedTouches[0].pageY}:{x:n.pageX,y:n.pageY}}function ome(n){return n.touches&&n.touches.length||n.changedTouches&&n.changedTouches.length}function w3(n,e){var t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{left:0,top:0};if(n){var r={left:t.left+n.offsetLeft,top:t.top+n.offsetTop};return n.parentNode===e?r:w3(n.parentNode,e,r)}}function ame(n,e,t){return n<t&&n>e?n-1:n>t&&n<e?n+1:n}function bP(n){var e=n.lockOffset,t=n.width,r=n.height,i=e,o=e,a="px";if(typeof e=="string"){var s=/^[+-]?\d*(?:\.\d*)?(px|%)$/.exec(e);U1(s!==null,'lockOffset value should be a number or a string of a number followed by "px" or "%". Given %s',e),i=parseFloat(e),o=parseFloat(e),a=s[1]}return U1(isFinite(i)&&isFinite(o),"lockOffset value should be a finite. Given %s",e),a==="%"&&(i=i*t/100,o=o*r/100),{x:i,y:o}}function sme(n){var e=n.height,t=n.width,r=n.lockOffset,i=Array.isArray(r)?r:[r,r];U1(i.length===2,"lockOffset prop of SortableContainer should be a single value or an array of exactly two values. Given %s",r);var o=eG(i,2),a=o[0],s=o[1];return[bP({height:e,lockOffset:a,width:t}),bP({height:e,lockOffset:s,width:t})]}function lme(n){var e=window.getComputedStyle(n),t=/(auto|scroll)/,r=["overflow","overflowX","overflowY"];return r.find(function(i){return t.test(e[i])})}function iG(n){return n instanceof HTMLElement?lme(n)?n:iG(n.parentNode):null}function ume(n){var e=window.getComputedStyle(n);return e.display==="grid"?{x:xy(e.gridColumnGap),y:xy(e.gridRowGap)}:{x:0,y:0}}var $0={TAB:9,ESC:27,SPACE:32,LEFT:37,UP:38,RIGHT:39,DOWN:40},i1={Anchor:"A",Button:"BUTTON",Canvas:"CANVAS",Input:"INPUT",Option:"OPTION",Textarea:"TEXTAREA",Select:"SELECT"};function Ame(n){var e="input, textarea, select, canvas, [contenteditable]",t=n.querySelectorAll(e),r=n.cloneNode(!0),i=tme(r.querySelectorAll(e));return i.forEach(function(o,a){if(o.type!=="file"&&(o.value=t[a].value),o.type==="radio"&&o.name&&(o.name="__sortableClone__".concat(o.name)),o.tagName===i1.Canvas&&t[a].width>0&&t[a].height>0){var s=o.getContext("2d");s.drawImage(t[a],0,0)}}),r}function cme(n){var e,t,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{withRef:!1};return t=e=function(i){SI(o,i);function o(){var a,s;Vb(this,o);for(var d=arguments.length,f=new Array(d),C=0;C<d;C++)f[C]=arguments[C];return s=MI(this,(a=bb(o)).call.apply(a,[this].concat(f))),Ea(go(go(s)),"wrappedInstance",Wn.createRef()),s}return Hb(o,[{key:"componentDidMount",value:function(){var s=p0.findDOMNode(this);s.sortableHandle=!0}},{key:"getWrappedInstance",value:function(){return U1(r.with Line truncated
*/(function(n){(function(){var e={}.hasOwnProperty;function t(){for(var o="",a=0;a<arguments.length;a++){var s=arguments[a];s&&(o=i(o,r(s)))}return o}function r(o){if(typeof o=="string"||typeof o=="number")return o;if(typeof o!="object")return"";if(Array.isArray(o))return t.apply(null,o);if(o.toString!==Object.prototype.toString&&!o.toString.toString().includes("[native code]"))return o.toString();var a="";for(var s in o)e.call(o,s)&&o[s]&&(a=i(a,s));return a}function i(o,a){return a?o?o+" "+a:o+a:o}n.exports?(t.default=t,n.exports=t):window.classNames=t})()})(XW);var Wpe=XW.exports;const Yf=ma(Wpe);function r1(){var n="/home/runner/work/maputnik/maputnik/src/components/Collapser.tsx",e="e73e8fb606fcd7318a8222b2e50c576ed3ad8702",t=globalThis,r="__coverage__",i={path:"/home/runner/work/maputnik/maputnik/src/components/Collapser.tsx",statementMap:{0:{start:{line:6,column:22},end:{line:10,column:5}},1:{start:{line:11,column:4},end:{line:11,column:154}}},fnMap:{0:{name:"(anonymous_0)",decl:{start:{line:5,column:2},end:{line:5,column:3}},loc:{start:{line:5,column:11},end:{line:12,column:3}},line:5}},branchMap:{0:{loc:{start:{line:11,column:11},end:{line:11,column:153}},type:"cond-expr",locations:[{start:{line:11,column:52},end:{line:11,column:92}},{start:{line:11,column:111},end:{line:11,column:153}}],line:11}},s:{0:0,1:0},f:{0:0},b:{0:[0,0]},inputSourceMap:{version:3,file:null,sources:["/home/runner/work/maputnik/maputnik/src/components/Collapser.tsx"],names:[],mappings:"AAeoC;AAfpC,OAAO,WAAW;AAClB,SAAQ,iBAAiB,qBAAoB;AAO7C,qBAAqB,kBAAkB,MAAM,UAA0B;AAAA,EACrE,SAAS;AACP,UAAM,YAAY;AAAA,MAChB,OAAO;AAAA,MACP,QAAQ;AAAA,MACR,GAAG,KAAK,MAAM;AAAA,IAChB;AACA,WAAO,KAAK,MAAM,cAAc,oBAAC,iBAAc,OAAO,WAAU,IAAK,oBAAC,mBAAgB,OAAO,WAAW;AAAA,EAC1G;AACF;"},_coverageSchema:"1a1c01bbd47fc00a2c39e90264f33305004495a9",hash:"e73e8fb606fcd7318a8222b2e50c576ed3ad8702"},o=t[r]||(t[r]={});(!o[n]||o[n].hash!==e)&&(o[n]=i);var a=o[n];return r1=function(){return a},a}r1();class Gpe extends Mn.Component{render(){r1().f[0]++;const e=(r1().s[0]++,{width:20,height:20,...this.props.style});return r1().s[1]++,this.props.isCollapsed?(r1().b[0][0]++,G.jsx(Kre,{style:e})):(r1().b[0][1]++,G.jsx(Tre,{style:e}))}}function by(){var n="/home/runner/work/maputnik/maputnik/src/components/LayerListGroup.tsx",e="b04bfec534013c327fd210571832bbd2813a944a",t=globalThis,r="__coverage__",i={path:"/home/runner/work/maputnik/maputnik/src/components/LayerListGroup.tsx",statementMap:{0:{start:{line:6,column:4},end:{line:32,column:9}},1:{start:{line:11,column:25},end:{line:11,column:72}}},fnMap:{0:{name:"(anonymous_0)",decl:{start:{line:5,column:2},end:{line:5,column:3}},loc:{start:{line:5,column:11},end:{line:33,column:3}},line:5},1:{name:"(anonymous_1)",decl:{start:{line:11,column:17},end:{line:11,column:18}},loc:{start:{line:11,column:25},end:{line:11,column:72}},line:11}},branchMap:{},s:{0:0,1:0},f:{0:0,1:0},b:{},inputSourceMap:{version:3,file:null,sources:["/home/runner/work/maputnik/maputnik/src/components/LayerListGroup.tsx"],names:[],mappings:"AAcM,SAIE,KAJF;AAdN,OAAO,WAAW;AAClB,OAAO,eAAe;AAUtB,qBAAqB,uBAAuB,MAAM,UAA+B;AAAA,EAC/E,SAAS;AACP,WAAO,oBAAC,QAAG,WAAU,6BACnB;AAAA,MAAC;AAAA;AAAA,QAAI,WAAU;AAAA,QACb,eAAa,sBAAoB,KAAK,MAAM,aAAa;AAAA,QACzD,SAAS,QAAM,KAAK,MAAM,eAAe,CAAC,KAAK,MAAM,QAAQ;AAAA,QAE7D;AAAA;AAAA,YAAC;AAAA;AAAA,cACC,WAAU;AAAA,cACV,iBAAe,KAAK,MAAM,eAAe;AAAA,cACzC,iBAAe,KAAK,MAAM;AAAA,cAEzB,eAAK,MAAM;AAAA;AAAA,UACd;AAAA,UACA,oBAAC,UAAK,WAAU,kBAAiB;AAAA,UACjC;AAAA,YAAC;AAAA;AAAA,cACC,OAAO,EAAE,QAAQ,IAAI,OAAO,GAAG;AAAA,cAC/B,aAAa,KAAK,MAAM;AAAA;AAAA,UAC1B;AAAA;AAAA;AAAA,IACF,GACF;AAAA,EACF;AACF;"},_coverageSchema:"1a1c01bbd47fc00a2c39e90264f33305004495a9",hash:"b04bfec534013c327fd210571832bbd2813a944a"},o=t[r]||(t[r]={});(!o[n]||o[n].hash!==e)&&(o[n]=i);var a=o[n];return by=function(){return a},a}by();class $pe extends Mn.Component{render(){return by().f[0]++,by().s[0]++,G.jsx("li",{className:"maputnik-layer-list-group",children:G.jsxs("div",{className:"maputnik-layer-list-group-header","data-wd-key":"layer-list-group:"+this.props["data-wd-key"],onClick:e=>(by().f[1]++,by().s[1]++,this.props.onActiveToggle(!this.props.isActive)),children:[G.jsx("button",{className:"maputnik-layer-list-group-title","aria-controls":this.props["aria-controls"],"aria-expanded":this.props.isActive,children:this.props.title}),G.jsx("span",{className:"maputnik-space"}),G.jsx(Gpe,{style:{height:14,width:14},isCollapsed:this.props.isActive})]})})}}function _b(){return _b=Object.assign?Object.assign.bind():function(n){for(var e=1;e<arguments.length;e++){var t=arguments[e];for(var r in t)({}).hasOwnProperty.call(t,r)&&(n[r]=t[r])}return n},_b.apply(null,arguments)}function Qpe(n){if(Array.isArray(n))return n}function Ype(n,e){var t=n==null?null:typeof Symbol<"u"&&n[Symbol.iterator]||n["@@iterator"];if(t!=null){var r,i,o,a,s=[],d=!0,f=!1;try{if(o=(t=t.call(n)).next,e===0){if(Object(t)!==t)return;d=!1}else for(;!(d=(r=o.call(t)).done)&&(s.push(r.value),s.length!==e);d=!0);}catch(C){fLine truncated
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function eG(n,e){return Qpe(n)||Ype(n,e)||JW(n,e)||qpe()}function gv(n){"@babel/helpers - typeof";return gv=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},gv(n)}function Vpe(n,e){if(gv(n)!="object"||!n)return n;var t=n[Symbol.toPrimitive];if(t!==void 0){var r=t.call(n,e||"default");if(gv(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(n)}function tG(n){var e=Vpe(n,"string");return gv(e)=="symbol"?e:e+""}function Ea(n,e,t){return(e=tG(e))in n?Object.defineProperty(n,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):n[e]=t,n}function fE(n){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?Object(arguments[e]):{},r=Object.keys(t);typeof Object.getOwnPropertySymbols=="function"&&r.push.apply(r,Object.getOwnPropertySymbols(t).filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.forEach(function(i){Ea(n,i,t[i])})}return n}function Vb(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function CP(n,e){for(var t=0;t<e.length;t++){var r=e[t];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(n,tG(r.key),r)}}function Hb(n,e,t){return e&&CP(n.prototype,e),t&&CP(n,t),Object.defineProperty(n,"prototype",{writable:!1}),n}function go(n){if(n===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function SI(n,e){if(e&&(gv(e)=="object"||typeof e=="function"))return e;if(e!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return go(n)}function bb(n){return bb=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},bb(n)}function oB(n,e){return oB=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,r){return t.__proto__=r,t},oB(n,e)}function EI(n,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),Object.defineProperty(n,"prototype",{writable:!1}),e&&oB(n,e)}var Hpe=function(n,e,t,r,i,o,a,s){if(!n){var d;if(e===void 0)d=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var f=[t,r,i,o,a,s],C=0;d=new Error(e.replace(/%s/g,function(){return f[C++]})),d.name="Invariant Violation"}throw d.framesToPop=1,d}},Zpe=Hpe;const U1=ma(Zpe);function Xpe(n){if(Array.isArray(n))return iB(n)}function Jpe(n){if(typeof Symbol<"u"&&n[Symbol.iterator]!=null||n["@@iterator"]!=null)return Array.from(n)}function eme(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function tme(n){return Xpe(n)||Jpe(n)||JW(n)||eme()}var nme=function(){function n(){Vb(this,n),Ea(this,"refs",{})}return Hb(n,[{key:"add",value:function(t,r){this.refs[t]||(this.refs[t]=[]),this.refs[t].push(r)}},{key:"remove",value:function(t,r){var i=this.getIndex(t,r);i!==-1&&this.refs[t].splice(i,1)}},{key:"isActive",value:function(){return this.active}},{key:"getActive",value:function(){var t=this;return this.refs[this.active.collection].find(function(r){var i=r.node;return i.sortableInfo.index==t.active.index})}},{key:"getIndex",value:function(t,r){return this.refs[t].indexOf(r)}},{key:"getOrderedRefs",value:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.active.collection;return this.refs[t].sort(rme)}}]),n}();function rme(n,e){var t=n.node.sortableInfo.index,r=e.node.sortableInfo.index;return t-r}function nG(n,e){return Object.keys(n).reduce(function(t,r){return e.indexOf(r)===-1&&(t[r]=n[r]),t},{})}var zg={end:["touchend","touchcancel","mouseup"],move:["touchmove","mousemove"],start:["touchstart","mousedown"]},rG=function(){if(typeof window>"u"||typeof document>"u")return"";var n=window.getComputedStyle(document.documentElement,"")||["-moz-hidden-iframe"],e=(Array.prototype.slice.call(n).join("").match(/-(moz|webkit|ms)-/)||n.OLink===""&&["","o"])[1];switch(e){case"ms":return"ms";default:return e&&e.length?e[0].toUpperCase()+e.substr(1):""}}();function j2(n,e){Object.keys(e).forEach(function(t){n.style[t]=e[t]})}function N2(n,e){n.style["".concat(rG,"Transform")]=e==null?"":"translate3d(".concat(e.x,"px,").concat(e.y,"px,0)")}function pE(n,e){n.style["".concat(rG,"TransitionDuration")]=e==null?"":"".concat(e,"ms")}function r_(n,e){for(;n;){if(e(n))return n;n=n.parentNode}return null}function _P(n,e,t){return Math.max(n,Math.min(t,e))}function xy(n){return n.substr(-2)==="px"?parseFloat(n):0}function ime(n){var e=window.getComputedStyle(n);return{bottom:xy(e.marginBottom),left:xy(e.marginLeft),right:xy(e.marginRight),top:xy(e.marginTop)}}function OI(n,e){var t=e.displayName||e.name;return t?"".concat(n,"(").concat(t,")"):n}function mE(n,e){var t=n.getBoundingClientRect();return{top:t.top+e.top,left:t.left+e.left}}function DC(n){return n.touches&&n.touches.length?{x:n.touches[0].pageX,y:n.touches[0].pageY}:n.changedTouches&&n.changedTouches.length?{x:n.changedTouches[0].pageX,y:n.changedTouches[0].pageY}:{x:n.pageX,y:n.pageY}}function ome(n){return n.touches&&n.touches.length||n.changedTouches&&n.changedTouches.length}function w3(n,e){var t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{left:0,top:0};if(n){var r={left:t.left+n.offsetLeft,top:t.top+n.offsetTop};return n.parentNode===e?r:w3(n.parentNode,e,r)}}function ame(n,e,t){return n<t&&n>e?n-1:n>t&&n<e?n+1:n}function bP(n){var e=n.lockOffset,t=n.width,r=n.height,i=e,o=e,a="px";if(typeof e=="string"){var s=/^[+-]?\d*(?:\.\d*)?(px|%)$/.exec(e);U1(s!==null,'lockOffset value should be a number or a string of a number followed by "px" or "%". Given %s',e),i=parseFloat(e),o=parseFloat(e),a=s[1]}return U1(isFinite(i)&&isFinite(o),"lockOffset value should be a finite. Given %s",e),a==="%"&&(i=i*t/100,o=o*r/100),{x:i,y:o}}function sme(n){var e=n.height,t=n.width,r=n.lockOffset,i=Array.isArray(r)?r:[r,r];U1(i.length===2,"lockOffset prop of SortableContainer should be a single value or an array of exactly two values. Given %s",r);var o=eG(i,2),a=o[0],s=o[1];return[bP({height:e,lockOffset:a,width:t}),bP({height:e,lockOffset:s,width:t})]}function lme(n){var e=window.getComputedStyle(n),t=/(auto|scroll)/,r=["overflow","overflowX","overflowY"];return r.find(function(i){return t.test(e[i])})}function iG(n){return n instanceof HTMLElement?lme(n)?n:iG(n.parentNode):null}function ume(n){var e=window.getComputedStyle(n);return e.display==="grid"?{x:xy(e.gridColumnGap),y:xy(e.gridRowGap)}:{x:0,y:0}}var $0={TAB:9,ESC:27,SPACE:32,LEFT:37,UP:38,RIGHT:39,DOWN:40},i1={Anchor:"A",Button:"BUTTON",Canvas:"CANVAS",Input:"INPUT",Option:"OPTION",Textarea:"TEXTAREA",Select:"SELECT"};function Ame(n){var e="input, textarea, select, canvas, [contenteditable]",t=n.querySelectorAll(e),r=n.cloneNode(!0),i=tme(r.querySelectorAll(e));return i.forEach(function(o,a){if(o.type!=="file"&&(o.value=t[a].value),o.type==="radio"&&o.name&&(o.name="__sortableClone__".concat(o.name)),o.tagName===i1.Canvas&&t[a].width>0&&t[a].height>0){var s=o.getContext("2d");s.drawImage(t[a],0,0)}}),r}function cme(n){var e,t,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{withRef:!1};return t=e=function(i){EI(o,i);function o(){var a,s;Vb(this,o);for(var d=arguments.length,f=new Array(d),C=0;C<d;C++)f[C]=arguments[C];return s=SI(this,(a=bb(o)).call.apply(a,[this].concat(f))),Ea(go(go(s)),"wrappedInstance",Wn.createRef()),s}return Hb(o,[{key:"componentDidMount",value:function(){var s=p0.findDOMNode(this);s.sortableHandle=!0}},{key:"getWrappedInstance",value:function(){return U1(r.with Line truncated
* tabbable 6.2.0
* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
*/var uG=["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])"],t5=uG.join(","),AG=typeof Element>"u",R1=AG?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,n5=!AG&&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==null?void 0:n.ownerDocument},r5=function n(e,t){var r;t===void 0&&(t=!0);var i=e==null||(r=e.getAttribute)===null||r===void 0?void 0:r.call(e,"inert"),o=i===""||i==="true",a=o||t&&e&&n(e.parentNode);return a},wme=function(e){var t,r=e==null||(t=e.getAttribute)===null||t===void 0?void 0:t.call(e,"contenteditable");return r===""||r==="true"},cG=function(e,t,r){if(r5(e))return[];var i=Array.prototype.slice.apply(e.querySelectorAll(t5));return t&&R1.call(e,t5)&&i.unshift(e),i=i.filter(r),i},dG=function n(e,t,r){for(var i=[],o=Array.from(e);o.length;){var a=o.shift();if(!r5(a,!1))if(a.tagName==="SLOT"){var s=a.assignedElements(),d=s.length?s:a.children,f=n(d,!0,r);r.flatten?i.push.apply(i,f):i.push({scopeParent:a,candidates:f})}else{var C=R1.call(a,t5);C&&r.filter(a)&&(t||!e.includes(a))&&i.push(a);var O=a.shadowRoot||typeof r.getShadowRoot=="function"&&r.getShadowRoot(a),E=!r5(O,!1)&&(!r.shadowRootFilter||r.shadowRootFilter(a));if(O&&E){var P=n(O===!0?a.children:O.children,!0,r);r.flatten?i.push.apply(i,P):i.push({scopeParent:a,candidates:P})}else o.unshift.apply(o,a.children)}}return i},hG=function(e){return!isNaN(parseInt(e.getAttribute("tabindex"),10))},Dm=function(e){if(!e)throw new Error("No node provided");return e.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||wme(e))&&!hG(e)?0:e.tabIndex},Mme=function(e,t){var r=Dm(e);return r<0&&t&&!hG(e)?0:r},Sme=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},fG=function(e){return e.tagName==="INPUT"},Eme=function(e){return fG(e)&&e.type==="hidden"},Ome=function(e){var t=e.tagName==="DETAILS"&&Array.prototype.slice.apply(e.children).some(function(r){return r.tagName==="SUMMARY"});return t},Bme=function(e,t){for(var r=0;r<e.length;r++)if(e[r].checked&&e[r].form===t)return e[r]},Ime=function(e){if(!e.name)return!0;var t=e.form||n5(e),r=function(s){return t.querySelectorAll('input[type="radio"][name="'+s+'"]')},i;if(typeof window<"u"&&typeof window.CSS<"u"&&typeof window.CSS.escape=="function")i=r(window.CSS.escape(e.name));else try{i=r(e.name)}catch(a){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",a.message),!1}var o=Bme(i,e.form);return!o||o===e},kme=function(e){return fG(e)&&e.type==="radio"},Tme=function(e){return kme(e)&&!Ime(e)},Kme=function(e){var t,r=e&&n5(e),i=(t=r)===null||t===void 0?void 0:t.host,o=!1;if(r&&r!==e){var a,s,d;for(o=!!((a=i)!==null&&a!==void 0&&(s=a.ownerDocument)!==null&&s!==void 0&&s.contains(i)||e!=null&&(d=e.ownerDocument)!==null&&d!==void 0&&d.contains(e));!o&&i;){var f,C,O;r=n5(i),i=(f=r)===null||f===void 0?void 0:f.host,o=!!((C=i)!==null&&C!==void 0&&(O=C.ownerDocument)!==null&&O!==void 0&&O.contains(i))}}return o},wP=function(e){var t=e.getBoundingClientRect(),r=t.width,i=t.height;return r===0&&i===0},Pme=function(e,t){var r=t.displayCheck,i=t.getShadowRoot;if(getComputedStyle(e).visibility==="hidden")return!0;var o=R1.call(e,"details>summary:first-of-type"),a=o?e.parentElement:e;if(R1.call(a,"details:not([open]) *"))return!0;if(!r||r==="full"||r==="legacy-full"){if(typeof i=="function"){for(var s=e;e;){var d=e.parentElement,f=n5(e);if(d&&!d.shadowRoot&&i(d)===!0)return wP(e);e.assignedSlot?e=e.assignedSlot:!d&&f!==e.ownerDocument?e=f.host:e=d}e=s}if(Kme(e))return!e.getClientRects().length;if(r!=="legacy-full")return!0}else if(r==="non-zero-area")return wP(e);return!1},Lme=function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var t=e.parentElement;t;){if(t.tagName==="FIELDSET"&&t.disabled){for(var r=0;r<t.children.length;r++){var i=t.children.item(r);if(i.tagName==="LEGEND")return R1.call(t,"fieldset[disabled] *")?!0:!i.contains(e)}return!0}t=t.parentElement}return!1},i5=function(e,t){return!(t.disabled||r5(t)||Eme(t)||Pme(t,e)||Ome(t)||Lme(t))},aB=function(e,t){return!(Tme(t)||Dm(t)<0||!i5(e,t))},Dme=function(e){var t=parseInt(e.getAttribute("tabindex"),10);return!!(isNaN(t)||t>=0)},Fme=function n(e){var t=[],r=[];return e.forEach(function(i,o){var a=!!i.scopeParent,s=a?i.scopeParent:i,d=Mme(s,a),f=a?n(i.candidates):s;d===0?a?t.push.apply(t,f):t.push(s):r.push({documentOrder:o,tabIndex:d,item:i,isScope:a,content:f})}),r.sort(Sme).reduce(function(i,o){return o.isScope?i.push.apply(i,o.content):i.pusLine truncated
*/var uG=["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])"],t5=uG.join(","),AG=typeof Element>"u",R1=AG?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,n5=!AG&&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==null?void 0:n.ownerDocument},r5=function n(e,t){var r;t===void 0&&(t=!0);var i=e==null||(r=e.getAttribute)===null||r===void 0?void 0:r.call(e,"inert"),o=i===""||i==="true",a=o||t&&e&&n(e.parentNode);return a},wme=function(e){var t,r=e==null||(t=e.getAttribute)===null||t===void 0?void 0:t.call(e,"contenteditable");return r===""||r==="true"},cG=function(e,t,r){if(r5(e))return[];var i=Array.prototype.slice.apply(e.querySelectorAll(t5));return t&&R1.call(e,t5)&&i.unshift(e),i=i.filter(r),i},dG=function n(e,t,r){for(var i=[],o=Array.from(e);o.length;){var a=o.shift();if(!r5(a,!1))if(a.tagName==="SLOT"){var s=a.assignedElements(),d=s.length?s:a.children,f=n(d,!0,r);r.flatten?i.push.apply(i,f):i.push({scopeParent:a,candidates:f})}else{var C=R1.call(a,t5);C&&r.filter(a)&&(t||!e.includes(a))&&i.push(a);var O=a.shadowRoot||typeof r.getShadowRoot=="function"&&r.getShadowRoot(a),E=!r5(O,!1)&&(!r.shadowRootFilter||r.shadowRootFilter(a));if(O&&E){var P=n(O===!0?a.children:O.children,!0,r);r.flatten?i.push.apply(i,P):i.push({scopeParent:a,candidates:P})}else o.unshift.apply(o,a.children)}}return i},hG=function(e){return!isNaN(parseInt(e.getAttribute("tabindex"),10))},Dm=function(e){if(!e)throw new Error("No node provided");return e.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||wme(e))&&!hG(e)?0:e.tabIndex},Mme=function(e,t){var r=Dm(e);return r<0&&t&&!hG(e)?0:r},Sme=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},fG=function(e){return e.tagName==="INPUT"},Eme=function(e){return fG(e)&&e.type==="hidden"},Ome=function(e){var t=e.tagName==="DETAILS"&&Array.prototype.slice.apply(e.children).some(function(r){return r.tagName==="SUMMARY"});return t},Bme=function(e,t){for(var r=0;r<e.length;r++)if(e[r].checked&&e[r].form===t)return e[r]},Ime=function(e){if(!e.name)return!0;var t=e.form||n5(e),r=function(s){return t.querySelectorAll('input[type="radio"][name="'+s+'"]')},i;if(typeof window<"u"&&typeof window.CSS<"u"&&typeof window.CSS.escape=="function")i=r(window.CSS.escape(e.name));else try{i=r(e.name)}catch(a){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",a.message),!1}var o=Bme(i,e.form);return!o||o===e},kme=function(e){return fG(e)&&e.type==="radio"},Tme=function(e){return kme(e)&&!Ime(e)},Kme=function(e){var t,r=e&&n5(e),i=(t=r)===null||t===void 0?void 0:t.host,o=!1;if(r&&r!==e){var a,s,d;for(o=!!((a=i)!==null&&a!==void 0&&(s=a.ownerDocument)!==null&&s!==void 0&&s.contains(i)||e!=null&&(d=e.ownerDocument)!==null&&d!==void 0&&d.contains(e));!o&&i;){var f,C,O;r=n5(i),i=(f=r)===null||f===void 0?void 0:f.host,o=!!((C=i)!==null&&C!==void 0&&(O=C.ownerDocument)!==null&&O!==void 0&&O.contains(i))}}return o},wP=function(e){var t=e.getBoundingClientRect(),r=t.width,i=t.height;return r===0&&i===0},Pme=function(e,t){var r=t.displayCheck,i=t.getShadowRoot;if(getComputedStyle(e).visibility==="hidden")return!0;var o=R1.call(e,"details>summary:first-of-type"),a=o?e.parentElement:e;if(R1.call(a,"details:not([open]) *"))return!0;if(!r||r==="full"||r==="legacy-full"){if(typeof i=="function"){for(var s=e;e;){var d=e.parentElement,f=n5(e);if(d&&!d.shadowRoot&&i(d)===!0)return wP(e);e.assignedSlot?e=e.assignedSlot:!d&&f!==e.ownerDocument?e=f.host:e=d}e=s}if(Kme(e))return!e.getClientRects().length;if(r!=="legacy-full")return!0}else if(r==="non-zero-area")return wP(e);return!1},Lme=function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var t=e.parentElement;t;){if(t.tagName==="FIELDSET"&&t.disabled){for(var r=0;r<t.children.length;r++){var i=t.children.item(r);if(i.tagName==="LEGEND")return R1.call(t,"fieldset[disabled] *")?!0:!i.contains(e)}return!0}t=t.parentElement}return!1},i5=function(e,t){return!(t.disabled||r5(t)||Eme(t)||Pme(t,e)||Ome(t)||Lme(t))},sB=function(e,t){return!(Tme(t)||Dm(t)<0||!i5(e,t))},Dme=function(e){var t=parseInt(e.getAttribute("tabindex"),10);return!!(isNaN(t)||t>=0)},Fme=function n(e){var t=[],r=[];return e.forEach(function(i,o){var a=!!i.scopeParent,s=a?i.scopeParent:i,d=Mme(s,a),f=a?n(i.candidates):s;d===0?a?t.push.apply(t,f):t.push(s):r.push({documentOrder:o,tabIndex:d,item:i,isScope:a,content:f})}),r.sort(Sme).reduce(function(i,o){return o.isScope?i.push.apply(i,o.content):i.pusLine truncated
* focus-trap 7.5.4
* @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE
*/function MP(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(n);e&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(n,i).enumerable})),t.push.apply(t,r)}return t}function SP(n){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{};e%2?MP(Object(t),!0).forEach(function(r){zme(n,r,t[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(t)):MP(Object(t)).forEach(function(r){Object.defineProperty(n,r,Object.getOwnPropertyDescriptor(t,r))})}return n}function zme(n,e,t){return e=Nme(e),e in n?Object.defineProperty(n,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):n[e]=t,n}function jme(n,e){if(typeof n!="object"||n===null)return n;var t=n[Symbol.toPrimitive];if(t!==void 0){var r=t.call(n,e||"default");if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(n)}function Nme(n){var e=jme(n,"string");return typeof e=="symbol"?e:String(e)}var EP={activateTrap:function(e,t){if(e.length>0){var r=e[e.length-1];r!==t&&r.pause()}var i=e.indexOf(t);i===-1||e.splice(i,1),e.push(t)},deactivateTrap:function(e,t){var r=e.indexOf(t);r!==-1&&e.splice(r,1),e.length>0&&e[e.length-1].unpause()}},Wme=function(e){return e.tagName&&e.tagName.toLowerCase()==="input"&&typeof e.select=="function"},Gme=function(e){return(e==null?void 0:e.key)==="Escape"||(e==null?void 0:e.key)==="Esc"||(e==null?void 0:e.keyCode)===27},S_=function(e){return(e==null?void 0:e.key)==="Tab"||(e==null?void 0:e.keyCode)===9},$me=function(e){return S_(e)&&!e.shiftKey},Qme=function(e){return S_(e)&&e.shiftKey},OP=function(e){return setTimeout(e,0)},BP=function(e,t){var r=-1;return e.every(function(i,o){return t(i)?(r=o,!1):!0}),r},FC=function(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),i=1;i<t;i++)r[i-1]=arguments[i];return typeof e=="function"?e.apply(void 0,r):e},W2=function(e){return e.target.shadowRoot&&typeof e.composedPath=="function"?e.composedPath()[0]:e.target},Yme=[],qme=function(e,t){var r=(t==null?void 0:t.document)||document,i=(t==null?void 0:t.trapStack)||Yme,o=SP({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0,isKeyForward:$me,isKeyBackward:Qme},t),a={containers:[],containerGroups:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,delayInitialFocusTimer:void 0,recentNavEvent:void 0},s,d=function(Pe,he,$e){return Pe&&Pe[he]!==void 0?Pe[he]:o[$e||he]},f=function(Pe,he){var $e=typeof(he==null?void 0:he.composedPath)=="function"?he.composedPath():void 0;return a.containerGroups.findIndex(function(ye){var gt=ye.container,yt=ye.tabbableNodes;return gt.contains(Pe)||($e==null?void 0:$e.includes(gt))||yt.find(function(st){return st===Pe})})},C=function(Pe){var he=o[Pe];if(typeof he=="function"){for(var $e=arguments.length,ye=new Array($e>1?$e-1:0),gt=1;gt<$e;gt++)ye[gt-1]=arguments[gt];he=he.apply(void 0,ye)}if(he===!0&&(he=void 0),!he){if(he===void 0||he===!1)return he;throw new Error("`".concat(Pe,"` was specified but was not a node, or did not return a node"))}var yt=he;if(typeof he=="string"&&(yt=r.querySelector(he),!yt))throw new Error("`".concat(Pe,"` as selector refers to no known node"));return yt},O=function(){var Pe=C("initialFocus");if(Pe===!1)return!1;if(Pe===void 0||!M3(Pe,o.tabbableOptions))if(f(r.activeElement)>=0)Pe=r.activeElement;else{var he=a.tabbableGroups[0],$e=he&&he.firstTabbableNode;Pe=$e||C("fallbackFocus")}if(!Pe)throw new Error("Your focus-trap needs to have at least one focusable element");return Pe},E=function(){if(a.containerGroups=a.containers.map(function(Pe){var he=pG(Pe,o.tabbableOptions),$e=mG(Pe,o.tabbableOptions),ye=he.length>0?he[0]:void 0,gt=he.length>0?he[he.length-1]:void 0,yt=$e.find(function(Re){return J0(Re)}),st=$e.slice().reverse().find(function(Re){return J0(Re)}),ft=!!he.find(function(Re){return Dm(Re)>0});return{container:Pe,tabbableNodes:he,focusableNodes:$e,posTabIndexesFound:ft,firstTabbableNode:ye,lastTabbableNode:gt,firstDomTabbableNode:yt,lastDomTabbableNode:st,nextTabbableNode:function(Ve){var Xe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,Jt=he.indexOf(Ve);return Jt<0?Xe?$e.slice($e.indexOf(Ve)+1).find(function(Ht){return J0(Ht)}):$e.slice(0,$e.indexOf(Ve)).reverse().find(function(Ht){return J0(Ht)}):he[Jt+(Xe?1:-1)]}}}),a.tabbableGroups=a.containerGroups.filter(function(Pe){return Pe.tabbableNodes.length>0}),a.tabbableGroups.length<=0&&!C("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(a.containerGroups.find(function(Pe){return Pe.posTabIndexesFound})&&a.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.")},P=function Te(Pe){var he=Pe.activeElemeLine truncated
*/function MP(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(n);e&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(n,i).enumerable})),t.push.apply(t,r)}return t}function SP(n){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{};e%2?MP(Object(t),!0).forEach(function(r){zme(n,r,t[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(t)):MP(Object(t)).forEach(function(r){Object.defineProperty(n,r,Object.getOwnPropertyDescriptor(t,r))})}return n}function zme(n,e,t){return e=Nme(e),e in n?Object.defineProperty(n,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):n[e]=t,n}function jme(n,e){if(typeof n!="object"||n===null)return n;var t=n[Symbol.toPrimitive];if(t!==void 0){var r=t.call(n,e||"default");if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(n)}function Nme(n){var e=jme(n,"string");return typeof e=="symbol"?e:String(e)}var EP={activateTrap:function(e,t){if(e.length>0){var r=e[e.length-1];r!==t&&r.pause()}var i=e.indexOf(t);i===-1||e.splice(i,1),e.push(t)},deactivateTrap:function(e,t){var r=e.indexOf(t);r!==-1&&e.splice(r,1),e.length>0&&e[e.length-1].unpause()}},Wme=function(e){return e.tagName&&e.tagName.toLowerCase()==="input"&&typeof e.select=="function"},Gme=function(e){return(e==null?void 0:e.key)==="Escape"||(e==null?void 0:e.key)==="Esc"||(e==null?void 0:e.keyCode)===27},S_=function(e){return(e==null?void 0:e.key)==="Tab"||(e==null?void 0:e.keyCode)===9},$me=function(e){return S_(e)&&!e.shiftKey},Qme=function(e){return S_(e)&&e.shiftKey},OP=function(e){return setTimeout(e,0)},BP=function(e,t){var r=-1;return e.every(function(i,o){return t(i)?(r=o,!1):!0}),r},FC=function(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),i=1;i<t;i++)r[i-1]=arguments[i];return typeof e=="function"?e.apply(void 0,r):e},W2=function(e){return e.target.shadowRoot&&typeof e.composedPath=="function"?e.composedPath()[0]:e.target},Yme=[],qme=function(e,t){var r=(t==null?void 0:t.document)||document,i=(t==null?void 0:t.trapStack)||Yme,o=SP({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0,isKeyForward:$me,isKeyBackward:Qme},t),a={containers:[],containerGroups:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,delayInitialFocusTimer:void 0,recentNavEvent:void 0},s,d=function(Pe,he,$e){return Pe&&Pe[he]!==void 0?Pe[he]:o[$e||he]},f=function(Pe,he){var $e=typeof(he==null?void 0:he.composedPath)=="function"?he.composedPath():void 0;return a.containerGroups.findIndex(function(ye){var gt=ye.container,yt=ye.tabbableNodes;return gt.contains(Pe)||($e==null?void 0:$e.includes(gt))||yt.find(function(st){return st===Pe})})},C=function(Pe){var he=o[Pe];if(typeof he=="function"){for(var $e=arguments.length,ye=new Array($e>1?$e-1:0),gt=1;gt<$e;gt++)ye[gt-1]=arguments[gt];he=he.apply(void 0,ye)}if(he===!0&&(he=void 0),!he){if(he===void 0||he===!1)return he;throw new Error("`".concat(Pe,"` was specified but was not a node, or did not return a node"))}var yt=he;if(typeof he=="string"&&(yt=r.querySelector(he),!yt))throw new Error("`".concat(Pe,"` as selector refers to no known node"));return yt},O=function(){var Pe=C("initialFocus");if(Pe===!1)return!1;if(Pe===void 0||!M3(Pe,o.tabbableOptions))if(f(r.activeElement)>=0)Pe=r.activeElement;else{var he=a.tabbableGroups[0],$e=he&&he.firstTabbableNode;Pe=$e||C("fallbackFocus")}if(!Pe)throw new Error("Your focus-trap needs to have at least one focusable element");return Pe},E=function(){if(a.containerGroups=a.containers.map(function(Pe){var he=pG(Pe,o.tabbableOptions),$e=mG(Pe,o.tabbableOptions),ye=he.length>0?he[0]:void 0,gt=he.length>0?he[he.length-1]:void 0,yt=$e.find(function(Re){return J0(Re)}),st=$e.slice().reverse().find(function(Re){return J0(Re)}),ft=!!he.find(function(Re){return Dm(Re)>0});return{container:Pe,tabbableNodes:he,focusableNodes:$e,posTabIndexesFound:ft,firstTabbableNode:ye,lastTabbableNode:gt,firstDomTabbableNode:yt,lastDomTabbableNode:st,nextTabbableNode:function(Ve){var Xe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,Jt=he.indexOf(Ve);return Jt<0?Xe?$e.slice($e.indexOf(Ve)+1).find(function(Ht){return J0(Ht)}):$e.slice(0,$e.indexOf(Ve)).reverse().find(function(Ht){return J0(Ht)}):he[Jt+(Xe?1:-1)]}}}),a.tabbableGroups=a.containerGroups.filter(function(Pe){return Pe.tabbableNodes.length>0}),a.tabbableGroups.length<=0&&!C("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(a.containerGroups.find(function(Pe){return Pe.posTabIndexesFound})&&a.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.")},P=function Te(Pe){var he=Pe.activeElemeLine truncated
* In categorical functions, when the feature value does not match any of the stop domain values.
* In property and zoom-and-property functions, when a feature does not contain a value for the specified property.
* In identity functions, when the feature value is not valid for the style property (for example, if the function is being used for a \`circle-color\` property but the feature property value is not a string or not a valid color).
* In interval or exponential property and zoom-and-property functions, when the feature value is not numeric.
If no default is provided, the style property's default is used in these circumstances.`}},function_stop:j0e,expression:N0e,expression_name:W0e,light:G0e,sky:$0e,terrain:Q0e,paint:Y0e,paint_fill:q0e,"paint_fill-extrusion":{"fill-extrusion-opacity":{type:"number",default:1,minimum:0,maximum:1,doc:"The opacity of the entire fill extrusion layer. This is rendered on a per-layer, not per-feature, basis, and data-driven styling is not available.",transition:!0,"sdk-support":{"basic functionality":{js:"0.27.0",android:"5.1.0",ios:"3.6.0",macos:"0.5.0"}},expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"fill-extrusion-color":{type:"color",default:"#000000",doc:"The base color of the extruded fill. The extrusion's surfaces will be shaded differently based on this color in combination with the root `light` settings. If this color is specified as `rgba` with an alpha component, the alpha component will be ignored; use `fill-extrusion-opacity` to set layer opacity.",transition:!0,requires:[{"!":"fill-extrusion-pattern"}],"sdk-support":{"basic functionality":{js:"0.27.0",android:"5.1.0",ios:"3.6.0",macos:"0.5.0"},"data-driven styling":{js:"0.27.0",android:"5.1.0",ios:"3.6.0",macos:"0.5.0"}},expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-extrusion-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",doc:"The geometry's offset. Values are [x, y] where negatives indicate left and up (on the flat plane), respectively.","sdk-support":{"basic functionality":{js:"0.27.0",android:"5.1.0",ios:"3.6.0",macos:"0.5.0"}},expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"fill-extrusion-translate-anchor":{type:"enum",values:{map:{doc:"The fill extrusion is translated relative to the map."},viewport:{doc:"The fill extrusion is translated relative to the viewport."}},doc:"Controls the frame of reference for `fill-extrusion-translate`.",default:"map",requires:["fill-extrusion-translate"],"sdk-support":{"basic functionality":{js:"0.27.0",android:"5.1.0",ios:"3.6.0",macos:"0.5.0"}},expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"fill-extrusion-pattern":{type:"resolvedImage",transition:!0,doc:"Name of image in sprite to use for drawing images on extruded fills. For seamless patterns, image width and height must be a factor of two (2, 4, 8, ..., 512). Note that zoom-dependent expressions will be evaluated only at integer zoom levels.","sdk-support":{"basic functionality":{js:"0.27.0",android:"5.1.0",ios:"3.6.0",macos:"0.5.0"},"data-driven styling":{js:"0.49.0",android:"6.5.0",macos:"0.11.0",ios:"4.4.0"}},expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"cross-faded-data-driven"},"fill-extrusion-height":{type:"number",default:0,minimum:0,units:"meters",doc:"The height with which to extrude this layer.",transition:!0,"sdk-support":{"basic functionality":{js:"0.27.0",android:"5.1.0",ios:"3.6.0",macos:"0.5.0"},"data-driven styling":{js:"0.27.0",android:"5.1.0",ios:"3.6.0",macos:"0.5.0"}},expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-extrusion-base":{type:"number",default:0,minimum:0,units:"meters",doc:"The height with which to extrude the base of this layer. Must be less than or equal to `fill-extrusion-height`.",transition:!0,requires:["fill-extrusion-height"],"sdk-support":{"basic functionality":{js:"0.27.0",android:"5.1.0",ios:"3.6.0",macos:"0.5.0"},"data-driven styling":{js:"0.27.0",android:"5.1.0",ios:"3.6.0",macos:"0.5.0"}},expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-extrusion-vertical-gradient":{type:"boolean",default:!0,doc:"Whether to apply a vertical gradient to the sides of a fill-extrusion layer. If true, sides will be shaded slightly darker farther down.",transition:!1,"sdk-support":{"basic functionality":{js:"0.50.0",ios:"4.7.0",macos:"0.13.0"}},expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"}},paint_line:V0e,paint_circle:H0e,paint_heatmap:Z0e,paint_symbol:X0e,paint_raster:J0e,paint_hillshade:e1e,paint_background:t1e,transition:n1e,"property-type":{"data-driven":{type:"property-type",doc:"Property is interpolable and can be represented using a property expression."},"cross-faded":{type:"property-type",doc:"Property is non-interpolable; rather, its values will be cross-faded to smoothly transition between integer zooms."},"cross-faded-data-driven":{type:"property-type",doc:"Property is non-interpolable; rather, its values will be cross-faded to smoothly transition between integer zooms. It can be represented using a property expression."},"color-ramp":{type:"property-type",doc:"Property should be specified using a color ramp from which the output color can be sampled based on a property calculation."},"data-constant":{type:"property-type",doLine truncated
If no default is provided, the style property's default is used in these circumstances.`}},function_stop:j0e,expression:N0e,expression_name:W0e,light:G0e,sky:$0e,terrain:Q0e,paint:Y0e,paint_fill:q0e,"paint_fill-extrusion":{"fill-extrusion-opacity":{type:"number",default:1,minimum:0,maximum:1,doc:"The opacity of the entire fill extrusion layer. This is rendered on a per-layer, not per-feature, basis, and data-driven styling is not available.",transition:!0,"sdk-support":{"basic functionality":{js:"0.27.0",android:"5.1.0",ios:"3.6.0",macos:"0.5.0"}},expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"fill-extrusion-color":{type:"color",default:"#000000",doc:"The base color of the extruded fill. The extrusion's surfaces will be shaded differently based on this color in combination with the root `light` settings. If this color is specified as `rgba` with an alpha component, the alpha component will be ignored; use `fill-extrusion-opacity` to set layer opacity.",transition:!0,requires:[{"!":"fill-extrusion-pattern"}],"sdk-support":{"basic functionality":{js:"0.27.0",android:"5.1.0",ios:"3.6.0",macos:"0.5.0"},"data-driven styling":{js:"0.27.0",android:"5.1.0",ios:"3.6.0",macos:"0.5.0"}},expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-extrusion-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",doc:"The geometry's offset. Values are [x, y] where negatives indicate left and up (on the flat plane), respectively.","sdk-support":{"basic functionality":{js:"0.27.0",android:"5.1.0",ios:"3.6.0",macos:"0.5.0"}},expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"fill-extrusion-translate-anchor":{type:"enum",values:{map:{doc:"The fill extrusion is translated relative to the map."},viewport:{doc:"The fill extrusion is translated relative to the viewport."}},doc:"Controls the frame of reference for `fill-extrusion-translate`.",default:"map",requires:["fill-extrusion-translate"],"sdk-support":{"basic functionality":{js:"0.27.0",android:"5.1.0",ios:"3.6.0",macos:"0.5.0"}},expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"fill-extrusion-pattern":{type:"resolvedImage",transition:!0,doc:"Name of image in sprite to use for drawing images on extruded fills. For seamless patterns, image width and height must be a factor of two (2, 4, 8, ..., 512). Note that zoom-dependent expressions will be evaluated only at integer zoom levels.","sdk-support":{"basic functionality":{js:"0.27.0",android:"5.1.0",ios:"3.6.0",macos:"0.5.0"},"data-driven styling":{js:"0.49.0",android:"6.5.0",macos:"0.11.0",ios:"4.4.0"}},expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"cross-faded-data-driven"},"fill-extrusion-height":{type:"number",default:0,minimum:0,units:"meters",doc:"The height with which to extrude this layer.",transition:!0,"sdk-support":{"basic functionality":{js:"0.27.0",android:"5.1.0",ios:"3.6.0",macos:"0.5.0"},"data-driven styling":{js:"0.27.0",android:"5.1.0",ios:"3.6.0",macos:"0.5.0"}},expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-extrusion-base":{type:"number",default:0,minimum:0,units:"meters",doc:"The height with which to extrude the base of this layer. Must be less than or equal to `fill-extrusion-height`.",transition:!0,requires:["fill-extrusion-height"],"sdk-support":{"basic functionality":{js:"0.27.0",android:"5.1.0",ios:"3.6.0",macos:"0.5.0"},"data-driven styling":{js:"0.27.0",android:"5.1.0",ios:"3.6.0",macos:"0.5.0"}},expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-extrusion-vertical-gradient":{type:"boolean",default:!0,doc:"Whether to apply a vertical gradient to the sides of a fill-extrusion layer. If true, sides will be shaded slightly darker farther down.",transition:!1,"sdk-support":{"basic functionality":{js:"0.50.0",ios:"4.7.0",macos:"0.13.0"}},expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"}},paint_line:V0e,paint_circle:H0e,paint_heatmap:Z0e,paint_symbol:X0e,paint_raster:J0e,paint_hillshade:e1e,paint_background:t1e,transition:n1e,"property-type":{"data-driven":{type:"property-type",doc:"Property is interpolable and can be represented using a property expression."},"cross-faded":{type:"property-type",doc:"Property is non-interpolable; rather, its values will be cross-faded to smoothly transition between integer zooms."},"cross-faded-data-driven":{type:"property-type",doc:"Property is non-interpolable; rather, its values will be cross-faded to smoothly transition between integer zooms. It can be represented using a property expression."},"color-ramp":{type:"property-type",doc:"Property should be specified using a color ramp from which the output color can be sampled based on a property calculation."},"data-constant":{type:"property-type",doLine truncated
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function zge(){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 jge=Nw(function n(e){var t=this,r=e.expanded,i=r===void 0?[]:r,o=e.allowMultipleExpanded,a=o===void 0?!1:o,s=e.allowZeroExpanded,d=s===void 0?!1:s;jw(this,n),vs(this,"expanded",void 0),vs(this,"allowMultipleExpanded",void 0),vs(this,"allowZeroExpanded",void 0),vs(this,"toggleExpanded",function(f){if(t.isItemDisabled(f))return t;var C=t.isItemExpanded(f);return C?t.augment({expanded:t.expanded.filter(function(O){return O!==f})}):t.augment({expanded:t.allowMultipleExpanded?[].concat(Pge(t.expanded),[f]):[f]})}),vs(this,"isItemDisabled",function(f){var C=t.isItemExpanded(f),O=t.expanded.length===1;return!!(C&&!t.allowZeroExpanded&&O)}),vs(this,"isItemExpanded",function(f){return t.expanded.indexOf(f)!==-1}),vs(this,"getPanelAttributes",function(f,C){var O=C??t.isItemExpanded(f);return{role:t.allowMultipleExpanded?void 0:"region","aria-hidden":t.allowMultipleExpanded?!O:void 0,"aria-labelledby":t.getButtonId(f),id:t.getPanelId(f),hidden:O?void 0:!0}}),vs(this,"getHeadingAttributes",function(){return{role:"heading"}}),vs(this,"getButtonAttributes",function(f,C){var O=C??t.isItemExpanded(f),E=t.isItemDisabled(f);return{id:t.getButtonId(f),"aria-disabled":E,"aria-expanded":O,"aria-controls":t.getPanelId(f),role:"button",tabIndex:0}}),vs(this,"getPanelId",function(f){return"accordion__panel-".concat(f)}),vs(this,"getButtonId",function(f){return"accordion__heading-".concat(f)}),vs(this,"augment",function(f){return new n(mB({expanded:t.expanded,allowMultipleExpanded:t.allowMultipleExpanded,allowZeroExpanded:t.allowZeroExpanded},f))}),this.expanded=i,this.allowMultipleExpanded=a,this.allowZeroExpanded=d}),$G=Wn.createContext(null),QG=function(n){FI(t,n);var e=UI(t);function t(){var r;jw(this,t);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return r=e.call.apply(e,[this].concat(o)),vs(Bh(r),"state",new jge({expanded:r.props.preExpanded,allowMultipleExpanded:r.props.allowMultipleExpanded,allowZeroExpanded:r.props.allowZeroExpanded})),vs(Bh(r),"toggleExpanded",function(s){r.setState(function(d){return d.toggleExpanded(s)},function(){r.props.onChange&&r.props.onChange(r.state.expanded)})}),vs(Bh(r),"isItemDisabled",function(s){return r.state.isItemDisabled(s)}),vs(Bh(r),"isItemExpanded",function(s){return r.state.isItemExpanded(s)}),vs(Bh(r),"getPanelAttributes",function(s,d){return r.state.getPanelAttributes(s,d)}),vs(Bh(r),"getHeadingAttributes",function(){return r.state.getHeadingAttributes()}),vs(Bh(r),"getButtonAttributes",function(s,d){return r.state.getButtonAttributes(s,d)}),r}return Nw(t,[{key:"render",value:function(){var i=this.state,o=i.allowZeroExpanded,a=i.allowMultipleExpanded;return Wn.createElement($G.Provider,{value:{allowMultipleExpanded:a,allowZeroExpanded:o,toggleExpanded:this.toggleExpanded,isItemDisabled:this.isItemDisabled,isItemExpanded:this.isItemExpanded,getPanelAttributes:this.getPanelAttributes,getHeadingAttributes:this.getHeadingAttributes,getButtonAttributes:this.getButtonAttributes}},this.props.children||null)}}]),t}(Wn.PureComponent);vs(QG,"defaultProps",{allowMultipleExpanded:!1,allowZeroExpanded:!1});var YG=function(n){FI(t,n);var e=UI(t);function t(){var r;jw(this,t);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return r=e.call.apply(e,[this].concat(o)),vs(Bh(r),"renderChildren",function(s){return s?r.props.children(s):null}),r}return Nw(t,[{key:"render",value:function(){return Wn.createElement($G.Consumer,null,this.renderChildren)}}]),t}(Wn.PureComponent),Nge=["className","allowMultipleExpanded","allowZeroExpanded","onChange","preExpanded"],Wge=function(e){var t=e.className,r=t===void 0?"accordion":t,i=e.allowMultipleExpanded,o=e.allowZeroExpanded,a=e.onChange,s=e.preExpanded,d=Ww(e,Nge);return Wn.createElement(QG,{preExpanded:s,allowMultipleExpanded:i,allowZeroExpanded:o,onChange:a},Wn.createElement("div",qf({"data-accordion-component":"Accordion",className:r},d)))},vB;(function(n){n.Accordion="Accordion",n.AccordionItem="AccordionItem",n.AccordionItemButton="AccordionItemButton",n.AccordionItemHeading="AccordionItemHeading",n.AccordionItemPanel="AccordionItemPanel"})(vB||(vB={}));var qG=vB,vE=0;function Gge(){var n=vE;return vE=vE+1,"raa-".concat(n)}var $ge=Wn.useId||Gge,Qge=/[\u0009\u000a\u000c\u000d\u0020]/g;function xb(n){return n===""||Qge.test(n)?(console.error('uuid must be a valid HTML5 id but was given "'.concat(n,'", ASCII whitespaces are forbidden')),!1):!0}var VG=Wn.createContext(null),Yge=function(e){var t=e.children,r=e.uuid,i=e.accordionContext,o=e.dangerouslySetExpanded,a=function(){i.toggleExpanded(r)},s=function(f){var C=o??f.isItemExpanded(r),O=f.isItemDisabled(r),E=f.getPanelAttributes(r,o),P=f.getHeadingAttributes(r),L=f.getButtonAttributes(r,o);return Wn.createElement(VG.Provider,{value:{uuid:r,expanded:C,disabled:O,toggleExpanded:a,panelAttributes:E,headingAttributes:P,buttonAttributes:L}},t)};return Wn.createElement(YG,nu Line truncated
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var jge=Nw(function n(e){var t=this,r=e.expanded,i=r===void 0?[]:r,o=e.allowMultipleExpanded,a=o===void 0?!1:o,s=e.allowZeroExpanded,d=s===void 0?!1:s;jw(this,n),vs(this,"expanded",void 0),vs(this,"allowMultipleExpanded",void 0),vs(this,"allowZeroExpanded",void 0),vs(this,"toggleExpanded",function(f){if(t.isItemDisabled(f))return t;var C=t.isItemExpanded(f);return C?t.augment({expanded:t.expanded.filter(function(O){return O!==f})}):t.augment({expanded:t.allowMultipleExpanded?[].concat(Pge(t.expanded),[f]):[f]})}),vs(this,"isItemDisabled",function(f){var C=t.isItemExpanded(f),O=t.expanded.length===1;return!!(C&&!t.allowZeroExpanded&&O)}),vs(this,"isItemExpanded",function(f){return t.expanded.indexOf(f)!==-1}),vs(this,"getPanelAttributes",function(f,C){var O=C??t.isItemExpanded(f);return{role:t.allowMultipleExpanded?void 0:"region","aria-hidden":t.allowMultipleExpanded?!O:void 0,"aria-labelledby":t.getButtonId(f),id:t.getPanelId(f),hidden:O?void 0:!0}}),vs(this,"getHeadingAttributes",function(){return{role:"heading"}}),vs(this,"getButtonAttributes",function(f,C){var O=C??t.isItemExpanded(f),E=t.isItemDisabled(f);return{id:t.getButtonId(f),"aria-disabled":E,"aria-expanded":O,"aria-controls":t.getPanelId(f),role:"button",tabIndex:0}}),vs(this,"getPanelId",function(f){return"accordion__panel-".concat(f)}),vs(this,"getButtonId",function(f){return"accordion__heading-".concat(f)}),vs(this,"augment",function(f){return new n(gB({expanded:t.expanded,allowMultipleExpanded:t.allowMultipleExpanded,allowZeroExpanded:t.allowZeroExpanded},f))}),this.expanded=i,this.allowMultipleExpanded=a,this.allowZeroExpanded=d}),$G=Wn.createContext(null),QG=function(n){UI(t,n);var e=RI(t);function t(){var r;jw(this,t);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return r=e.call.apply(e,[this].concat(o)),vs(Bh(r),"state",new jge({expanded:r.props.preExpanded,allowMultipleExpanded:r.props.allowMultipleExpanded,allowZeroExpanded:r.props.allowZeroExpanded})),vs(Bh(r),"toggleExpanded",function(s){r.setState(function(d){return d.toggleExpanded(s)},function(){r.props.onChange&&r.props.onChange(r.state.expanded)})}),vs(Bh(r),"isItemDisabled",function(s){return r.state.isItemDisabled(s)}),vs(Bh(r),"isItemExpanded",function(s){return r.state.isItemExpanded(s)}),vs(Bh(r),"getPanelAttributes",function(s,d){return r.state.getPanelAttributes(s,d)}),vs(Bh(r),"getHeadingAttributes",function(){return r.state.getHeadingAttributes()}),vs(Bh(r),"getButtonAttributes",function(s,d){return r.state.getButtonAttributes(s,d)}),r}return Nw(t,[{key:"render",value:function(){var i=this.state,o=i.allowZeroExpanded,a=i.allowMultipleExpanded;return Wn.createElement($G.Provider,{value:{allowMultipleExpanded:a,allowZeroExpanded:o,toggleExpanded:this.toggleExpanded,isItemDisabled:this.isItemDisabled,isItemExpanded:this.isItemExpanded,getPanelAttributes:this.getPanelAttributes,getHeadingAttributes:this.getHeadingAttributes,getButtonAttributes:this.getButtonAttributes}},this.props.children||null)}}]),t}(Wn.PureComponent);vs(QG,"defaultProps",{allowMultipleExpanded:!1,allowZeroExpanded:!1});var YG=function(n){UI(t,n);var e=RI(t);function t(){var r;jw(this,t);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return r=e.call.apply(e,[this].concat(o)),vs(Bh(r),"renderChildren",function(s){return s?r.props.children(s):null}),r}return Nw(t,[{key:"render",value:function(){return Wn.createElement($G.Consumer,null,this.renderChildren)}}]),t}(Wn.PureComponent),Nge=["className","allowMultipleExpanded","allowZeroExpanded","onChange","preExpanded"],Wge=function(e){var t=e.className,r=t===void 0?"accordion":t,i=e.allowMultipleExpanded,o=e.allowZeroExpanded,a=e.onChange,s=e.preExpanded,d=Ww(e,Nge);return Wn.createElement(QG,{preExpanded:s,allowMultipleExpanded:i,allowZeroExpanded:o,onChange:a},Wn.createElement("div",qf({"data-accordion-component":"Accordion",className:r},d)))},CB;(function(n){n.Accordion="Accordion",n.AccordionItem="AccordionItem",n.AccordionItemButton="AccordionItemButton",n.AccordionItemHeading="AccordionItemHeading",n.AccordionItemPanel="AccordionItemPanel"})(CB||(CB={}));var qG=CB,CE=0;function Gge(){var n=CE;return CE=CE+1,"raa-".concat(n)}var $ge=Wn.useId||Gge,Qge=/[\u0009\u000a\u000c\u000d\u0020]/g;function xb(n){return n===""||Qge.test(n)?(console.error('uuid must be a valid HTML5 id but was given "'.concat(n,'", ASCII whitespaces are forbidden')),!1):!0}var VG=Wn.createContext(null),Yge=function(e){var t=e.children,r=e.uuid,i=e.accordionContext,o=e.dangerouslySetExpanded,a=function(){i.toggleExpanded(r)},s=function(f){var C=o??f.isItemExpanded(r),O=f.isItemDisabled(r),E=f.getPanelAttributes(r,o),P=f.getHeadingAttributes(r),L=f.getButtonAttributes(r,o);return Wn.createElement(VG.Provider,{value:{uuid:r,expanded:C,disabled:O,toggleExpanded:a,panelAttributes:E,headingAttributes:P,buttonAttributes:L}},t)};return Wn.createElement(YG,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.”
`,XG=function(n){FI(t,n);var e=UI(t);function t(){var r;jw(this,t);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return r=e.call.apply(e,[this].concat(o)),vs(Bh(r),"ref",void 0),vs(Bh(r),"setRef",function(s){r.ref=s}),r}return Nw(t,[{key:"componentDidUpdate",value:function(){t.VALIDATE(this.ref)}},{key:"componentDidMount",value:function(){t.VALIDATE(this.ref)}},{key:"render",value:function(){return Wn.createElement("div",qf({"data-accordion-component":"AccordionItemHeading"},this.props,{ref:this.setRef}))}}],[{key:"VALIDATE",value:function(i){if(i===void 0)throw new Error("ref is undefined");if(!(i.childElementCount===1&&i.firstElementChild&&i.firstElementChild.getAttribute("data-accordion-component")==="AccordionItemButton"))throw new Error(iye)}}]),t}(Wn.PureComponent);vs(XG,"defaultProps",rye);var JG=function(e){return Wn.createElement(Gw,null,function(t){var r=t.headingAttributes;return e.id&&xb(e.id),Wn.createElement(XG,qf({},e,r))})};JG.displayName=qG.AccordionItemHeading;var oye=["className","region","id"],aye=function(e){var t=e.className,r=t===void 0?"accordion__panel":t,i=e.region,o=e.id,a=Ww(e,oye),s=function(f){var C=f.panelAttributes;o&&xb(o);var O=mB(mB({},C),{},{"aria-labelledby":i?C["aria-labelledby"]:void 0});return Wn.createElement("div",qf({"data-accordion-component":"AccordionItemPanel",className:r},a,O,{role:i?"region":void 0}))};return Wn.createElement(Gw,null,s)},CE={exports:{}},QP;function Qw(){return QP||(QP=1,function(n,e){(function(t,r){n.exports=r()})(Dh,function(){var t=navigator.userAgent,r=navigator.platform,i=/gecko\/\d/i.test(t),o=/MSIE \d/.test(t),a=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(t),s=/Edge\/(\d+)/.exec(t),d=o||a||s,f=d&&(o?document.documentMode||6:+(s||a)[1]),C=!s&&/WebKit\//.test(t),O=C&&/Qt\/\d+\.\d+/.test(t),E=!s&&/Chrome\/(\d+)/.exec(t),P=E&&+E[1],L=/Opera\//.test(t),$=/Apple Computer/.test(navigator.vendor),H=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(t),Q=/PhantomJS/.test(t),N=$&&(/Mobile\/\w+/.test(t)||navigator.maxTouchPoints>2),Z=/Android/.test(t),ae=N||Z||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(t),pe=N||/Mac/.test(r),fe=/\bCrOS\b/.test(t),X=/win/i.test(r),oe=L&&t.match(/Version\/(\d*\.\d*)/);oe&&(oe=Number(oe[1])),oe&&oe>=15&&(L=!1,C=!0);var Ce=pe&&(O||L&&(oe==null||oe<12.11)),we=i||d&&f>=9;function Te(A){return new RegExp("(^|\\s)"+A+"(?:$|\\s)\\s*")}var Pe=function(A,p){var x=A.className,b=Te(p).exec(x);if(b){var B=x.slice(b.index+b[0].length);A.className=x.slice(0,b.index)+(B?b[1]+B:"")}};function he(A){for(var p=A.childNodes.length;p>0;--p)A.removeChild(A.firstChild);return A}function $e(A,p){return he(A).appendChild(p)}function ye(A,p,x,b){var B=document.createElement(A);if(x&&(B.className=x),b&&(B.style.cssText=b),typeof p=="string")B.appendChild(document.createTextNode(p));else if(p)for(var U=0;U<p.length;++U)B.appendChild(p[U]);return B}function gt(A,p,x,b){var B=ye(A,p,x,b);return B.setAttribute("role","presentation"),B}var yt;document.createRange?yt=function(A,p,x,b){var B=document.createRange();return B.setEnd(b||A,x),B.setStart(A,p),B}:yt=function(A,p,x){var b=document.body.createTextRange();try{b.moveToElementText(A.parentNode)}catch{return b}return b.collapse(!0),b.moveEnd("character",x),b.moveStart("character",p),b};function st(A,p){if(p.nodeType==3&&(p=p.parentNode),A.contains)return A.contains(p);do if(p.nodeType==11&&(p=p.host),p==A)return!0;while(p=p.parentNode)}function ft(A){var p=A.ownerDocument||A,x;try{x=A.activeElement}catch{x=p.body||null}for(;x&&x.shadowRoot&&x.shadowRoot.activeElement;)x=x.shadowRoot.activeElement;return x}function Re(A,p){var x=A.className;Te(p).test(x)||(A.className+=(x?" ":"")+p)}function Ve(A,p){for(var x=A.split(" "),b=0;b<x.length;b++)x[b]&&!Te(x[b]).test(p)&&(p+=" "+x[b]);return p}var Xe=function(A){A.select()};N?Xe=function(A){A.selectionStart=0,A.selectionEnd=A.value.length}:d&&(Xe=function(A){try{A.select()}catch{}});function Jt(A){return A.display.wrapper.ownerDocument}function Ht(A){return bt(A.display.wrapper)}function bt(A){return A.getRootNode?A.getRootNode():A.ownerDocument}function Qt(A){return Jt(A).defaultView}function Yt(A){var p=Array.prototype.slice.call(arguments,1);return function(){return A.apply(null,p)}}function ke(A,p,x){p||(p={});for(var b in A)A.hasOwnProperty(b)&&(x!==!1||!p.hasOwnProperty(b))&&(p[b]=A[b]);return p}function ge(A,p,x,b,B){p==null&&(p=A.search(/[^\s\u00a0]/),p==-1&&(p=A.length));for(var U=b||0,q=B||0;;){var ne=A.indexOf(" ",U);if(ne<0||ne>=p)return q+(p-U);q+=ne-U,q+=x-q%x,U=ne+1}}var Se=function(){this.id=null,this.f=null,this.time=0,this.handler=Yt(this.onTimeout,this)};Se.prototype.onTimeout=function(A){A.id=0,A.time<=+new Date?A.f():setTimeout(A.handler,A.time-+new Date)},Se.prototype.set=function(A,p){this.f=p;var x=+new Date+A;(!this.id||x<this.time)&&(clearTimeout(this.id),this.id=setTimeout(this.handler,A),this.time=x)};function ze(A,p){for(var x=0;x<A.length;++x)if(A[x]==p)return x;return-1}var it=50,ot={toString:fu Line truncated
`,XG=function(n){UI(t,n);var e=RI(t);function t(){var r;jw(this,t);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return r=e.call.apply(e,[this].concat(o)),vs(Bh(r),"ref",void 0),vs(Bh(r),"setRef",function(s){r.ref=s}),r}return Nw(t,[{key:"componentDidUpdate",value:function(){t.VALIDATE(this.ref)}},{key:"componentDidMount",value:function(){t.VALIDATE(this.ref)}},{key:"render",value:function(){return Wn.createElement("div",qf({"data-accordion-component":"AccordionItemHeading"},this.props,{ref:this.setRef}))}}],[{key:"VALIDATE",value:function(i){if(i===void 0)throw new Error("ref is undefined");if(!(i.childElementCount===1&&i.firstElementChild&&i.firstElementChild.getAttribute("data-accordion-component")==="AccordionItemButton"))throw new Error(iye)}}]),t}(Wn.PureComponent);vs(XG,"defaultProps",rye);var JG=function(e){return Wn.createElement(Gw,null,function(t){var r=t.headingAttributes;return e.id&&xb(e.id),Wn.createElement(XG,qf({},e,r))})};JG.displayName=qG.AccordionItemHeading;var oye=["className","region","id"],aye=function(e){var t=e.className,r=t===void 0?"accordion__panel":t,i=e.region,o=e.id,a=Ww(e,oye),s=function(f){var C=f.panelAttributes;o&&xb(o);var O=gB(gB({},C),{},{"aria-labelledby":i?C["aria-labelledby"]:void 0});return Wn.createElement("div",qf({"data-accordion-component":"AccordionItemPanel",className:r},a,O,{role:i?"region":void 0}))};return Wn.createElement(Gw,null,s)},_E={exports:{}},QP;function Qw(){return QP||(QP=1,function(n,e){(function(t,r){n.exports=r()})(Dh,function(){var t=navigator.userAgent,r=navigator.platform,i=/gecko\/\d/i.test(t),o=/MSIE \d/.test(t),a=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(t),s=/Edge\/(\d+)/.exec(t),d=o||a||s,f=d&&(o?document.documentMode||6:+(s||a)[1]),C=!s&&/WebKit\//.test(t),O=C&&/Qt\/\d+\.\d+/.test(t),E=!s&&/Chrome\/(\d+)/.exec(t),P=E&&+E[1],L=/Opera\//.test(t),$=/Apple Computer/.test(navigator.vendor),H=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(t),Q=/PhantomJS/.test(t),N=$&&(/Mobile\/\w+/.test(t)||navigator.maxTouchPoints>2),Z=/Android/.test(t),ae=N||Z||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(t),pe=N||/Mac/.test(r),fe=/\bCrOS\b/.test(t),X=/win/i.test(r),oe=L&&t.match(/Version\/(\d*\.\d*)/);oe&&(oe=Number(oe[1])),oe&&oe>=15&&(L=!1,C=!0);var Ce=pe&&(O||L&&(oe==null||oe<12.11)),we=i||d&&f>=9;function Te(A){return new RegExp("(^|\\s)"+A+"(?:$|\\s)\\s*")}var Pe=function(A,p){var x=A.className,b=Te(p).exec(x);if(b){var B=x.slice(b.index+b[0].length);A.className=x.slice(0,b.index)+(B?b[1]+B:"")}};function he(A){for(var p=A.childNodes.length;p>0;--p)A.removeChild(A.firstChild);return A}function $e(A,p){return he(A).appendChild(p)}function ye(A,p,x,b){var B=document.createElement(A);if(x&&(B.className=x),b&&(B.style.cssText=b),typeof p=="string")B.appendChild(document.createTextNode(p));else if(p)for(var U=0;U<p.length;++U)B.appendChild(p[U]);return B}function gt(A,p,x,b){var B=ye(A,p,x,b);return B.setAttribute("role","presentation"),B}var yt;document.createRange?yt=function(A,p,x,b){var B=document.createRange();return B.setEnd(b||A,x),B.setStart(A,p),B}:yt=function(A,p,x){var b=document.body.createTextRange();try{b.moveToElementText(A.parentNode)}catch{return b}return b.collapse(!0),b.moveEnd("character",x),b.moveStart("character",p),b};function st(A,p){if(p.nodeType==3&&(p=p.parentNode),A.contains)return A.contains(p);do if(p.nodeType==11&&(p=p.host),p==A)return!0;while(p=p.parentNode)}function ft(A){var p=A.ownerDocument||A,x;try{x=A.activeElement}catch{x=p.body||null}for(;x&&x.shadowRoot&&x.shadowRoot.activeElement;)x=x.shadowRoot.activeElement;return x}function Re(A,p){var x=A.className;Te(p).test(x)||(A.className+=(x?" ":"")+p)}function Ve(A,p){for(var x=A.split(" "),b=0;b<x.length;b++)x[b]&&!Te(x[b]).test(p)&&(p+=" "+x[b]);return p}var Xe=function(A){A.select()};N?Xe=function(A){A.selectionStart=0,A.selectionEnd=A.value.length}:d&&(Xe=function(A){try{A.select()}catch{}});function Jt(A){return A.display.wrapper.ownerDocument}function Ht(A){return bt(A.display.wrapper)}function bt(A){return A.getRootNode?A.getRootNode():A.ownerDocument}function Qt(A){return Jt(A).defaultView}function Yt(A){var p=Array.prototype.slice.call(arguments,1);return function(){return A.apply(null,p)}}function ke(A,p,x){p||(p={});for(var b in A)A.hasOwnProperty(b)&&(x!==!1||!p.hasOwnProperty(b))&&(p[b]=A[b]);return p}function ge(A,p,x,b,B){p==null&&(p=A.search(/[^\s\u00a0]/),p==-1&&(p=A.length));for(var U=b||0,q=B||0;;){var ne=A.indexOf(" ",U);if(ne<0||ne>=p)return q+(p-U);q+=ne-U,q+=x-q%x,U=ne+1}}var Se=function(){this.id=null,this.f=null,this.time=0,this.handler=Yt(this.onTimeout,this)};Se.prototype.onTimeout=function(A){A.id=0,A.time<=+new Date?A.f():setTimeout(A.handler,A.time-+new Date)},Se.prototype.set=function(A,p){this.f=p;var x=+new Date+A;(!this.id||x<this.time)&&(clearTimeout(this.id),this.id=setTimeout(this.handler,A),this.time=x)};function ze(A,p){for(var x=0;x<A.length;++x)if(A[x]==p)return x;return-1}var it=50,ot={toString:fu Line truncated
b`.split(/\n/).length!=3?function(A){for(var p=0,x=[],b=A.length;p<=b;){var B=A.indexOf(`
`,p);B==-1&&(B=A.length);var U=A.slice(p,A.charAt(B-1)=="\r"?B-1:B),q=U.indexOf("\r");q!=-1?(x.push(U.slice(0,q)),p+=q+1):(x.push(U),p=B+1)}return x}:function(A){return A.split(/\r\n?|\n/)},cr=window.getSelection?function(A){try{return A.selectionStart!=A.selectionEnd}catch{return!1}}:function(A){var p;try{p=A.ownerDocument.selection.createRange()}catch{}return!p||p.parentElement()!=A?!1:p.compareEndPoints("StartToEnd",p)!=0},Qr=function(){var A=ye("div");return"oncopy"in A?!0:(A.setAttribute("oncopy","return;"),typeof A.oncopy=="function")}(),Br=null;function Fr(A){if(Br!=null)return Br;var p=$e(A,ye("span","x")),x=p.getBoundingClientRect(),b=yt(p,0,1).getBoundingClientRect();return Br=Math.abs(x.left-b.left)>1}var ar={},di={};function Ui(A,p){arguments.length>2&&(p.dependencies=Array.prototype.slice.call(arguments,2)),ar[A]=p}function to(A,p){di[A]=p}function ho(A){if(typeof A=="string"&&di.hasOwnProperty(A))A=di[A];else if(A&&typeof A.name=="string"&&di.hasOwnProperty(A.name)){var p=di[A.name];typeof p=="string"&&(p={name:p}),A=Nr(p,A),A.name=p.name}else{if(typeof A=="string"&&/^[\w\-]+\/[\w\-]+\+xml$/.test(A))return ho("application/xml");if(typeof A=="string"&&/^[\w\-]+\/[\w\-]+\+json$/.test(A))return ho("application/json")}return typeof A=="string"?{name:A}:A||{name:"null"}}function si(A,p){p=ho(p);var x=ar[p.name];if(!x)return si(A,"text/plain");var b=x(A,p);if(fo.hasOwnProperty(p.name)){var B=fo[p.name];for(var U in B)B.hasOwnProperty(U)&&(b.hasOwnProperty(U)&&(b["_"+U]=b[U]),b[U]=B[U])}if(b.name=p.name,p.helperType&&(b.helperType=p.helperType),p.modeProps)for(var q in p.modeProps)b[q]=p.modeProps[q];return b}var fo={};function Na(A,p){var x=fo.hasOwnProperty(A)?fo[A]:fo[A]={};ke(p,x)}function Ia(A,p){if(p===!0)return p;if(A.copyState)return A.copyState(p);var x={};for(var b in p){var B=p[b];B instanceof Array&&(B=B.concat([])),x[b]=B}return x}function Ei(A,p){for(var x;A.innerMode&&(x=A.innerMode(p),!(!x||x.mode==A));)p=x.state,A=x.mode;return x||{mode:A,state:p}}function os(A,p,x){return A.startState?A.startState(p,x):!0}var yi=function(A,p,x){this.pos=this.start=0,this.string=A,this.tabSize=p||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=x};yi.prototype.eol=function(){return this.pos>=this.string.length},yi.prototype.sol=function(){return this.pos==this.lineStart},yi.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},yi.prototype.next=function(){if(this.pos<this.string.length)return this.string.charAt(this.pos++)},yi.prototype.eat=function(A){var p=this.string.charAt(this.pos),x;if(typeof A=="string"?x=p==A:x=p&&(A.test?A.test(p):A(p)),x)return++this.pos,p},yi.prototype.eatWhile=function(A){for(var p=this.pos;this.eat(A););return this.pos>p},yi.prototype.eatSpace=function(){for(var A=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>A},yi.prototype.skipToEnd=function(){this.pos=this.string.length},yi.prototype.skipTo=function(A){var p=this.string.indexOf(A,this.pos);if(p>-1)return this.pos=p,!0},yi.prototype.backUp=function(A){this.pos-=A},yi.prototype.column=function(){return this.lastColumnPos<this.start&&(this.lastColumnValue=ge(this.string,this.start,this.tabSize,this.lastColumnPos,this.lastColumnValue),this.lastColumnPos=this.start),this.lastColumnValue-(this.lineStart?ge(this.string,this.lineStart,this.tabSize):0)},yi.prototype.indentation=function(){return ge(this.string,null,this.tabSize)-(this.lineStart?ge(this.string,this.lineStart,this.tabSize):0)},yi.prototype.match=function(A,p,x){if(typeof A=="string"){var b=function(q){return x?q.toLowerCase():q},B=this.string.substr(this.pos,A.length);if(b(B)==b(A))return p!==!1&&(this.pos+=A.length),!0}else{var U=this.string.slice(this.pos).match(A);return U&&U.index>0?null:(U&&p!==!1&&(this.pos+=U[0].length),U)}},yi.prototype.current=function(){return this.string.slice(this.start,this.pos)},yi.prototype.hideFirstChars=function(A,p){this.lineStart+=A;try{return p()}finally{this.lineStart-=A}},yi.prototype.lookAhead=function(A){var p=this.lineOracle;return p&&p.lookAhead(A)},yi.prototype.baseToken=function(){var A=this.lineOracle;return A&&A.baseToken(this.pos)};function Gn(A,p){if(p-=A.first,p<0||p>=A.size)throw new Error("There is no line "+(p+A.first)+" in the document.");for(var x=A;!x.lines;)for(var b=0;;++b){var B=x.children[b],U=B.chunkSize();if(p<U){x=B;break}p-=U}return x.lines[p]}function ro(A,p,x){var b=[],B=p.line;return A.iter(p.line,x.line+1,function(U){var q=U.text;B==x.line&&(q=q.slice(0,x.ch)),B==p.line&&(q=q.slice(p.ch)),b.push(q),++B}),b}function Co(A,p,x){var b=[];return A.iter(p,x,function(B){b.push(B.text)}),b}function Ri(A,p){var x=p-A.height;if(x)for(var b=A;b;b=b.parent)b.height+=x}function _e(A){if(A.parent==null)return null;for(var p=A.parent,x=ze(p.lines,A),b=p.parent;b;p=b,b=b.parent)for(var B=0;b.children[B]!=p;++B)x+=b.children[B].chunkSize();return x+p.first}function Je(A,p){var x=A.first;e:do{for(var b=0;b<A.children.length;++b){ Line truncated
`?(cn=Qe.appendChild(ye("span",Ot[0]=="\r"?"␍":"␤","cm-invalidchar")),cn.setAttribute("cm-text",Ot[0]),A.col+=1):(cn=A.cm.options.specialCharPlaceholder(Ot[0]),cn.setAttribute("cm-text",Ot[0]),d&&f<9?Qe.appendChild(ye("span",[cn])):Qe.appendChild(cn),A.col+=1);A.map.push(A.pos,A.pos+1,cn),A.pos++}}if(A.trailingSpace=ne.charCodeAt(p.length-1)==32,x||b||B||ve||U||q){var bn=x||"";b&&(bn+=b),B&&(bn+=B);var Rn=ye("span",[Qe],bn,U);if(q)for(var lr in q)q.hasOwnProperty(lr)&&lr!="style"&&lr!="class"&&Rn.setAttribute(lr,q[lr]);return A.content.appendChild(Rn)}A.content.appendChild(Qe)}}function YA(A,p){if(A.length>1&&!/ /.test(A))return A;for(var x=p,b="",B=0;B<A.length;B++){var U=A.charAt(B);U==" "&&x&&(B==A.length-1||A.charCodeAt(B+1)==32)&&(U=" "),b+=U,x=U==" "}return b}function ra(A,p){return function(x,b,B,U,q,ne,ue){B=B?B+" cm-force-border":"cm-force-border";for(var ve=x.pos,Qe=ve+b.length;;){for(var nt=void 0,Ot=0;Ot<p.length&&(nt=p[Ot],!(nt.to>ve&&nt.from<=ve));Ot++);if(nt.to>=Qe)return A(x,b,B,U,q,ne,ue);A(x,b.slice(0,nt.to-ve),B,U,null,ne,ue),U=null,b=b.slice(nt.to-ve),ve=nt.to}}}function Qu(A,p,x,b){var B=!b&&x.widgetNode;B&&A.map.push(A.pos,A.pos+p,B),!b&&A.cm.display.input.needsContentAttribute&&(B||(B=A.content.appendChild(document.createElement("span"))),B.setAttribute("cm-marker",x.id)),B&&(A.cm.display.input.setUneditable(B),A.content.appendChild(B)),A.pos+=p,A.trailingSpace=!1}function Vd(A,p,x){var b=A.markedSpans,B=A.text,U=0;if(!b){for(var q=1;q<x.length;q+=2)p.addToken(p,B.slice(U,U=x[q]),zh(x[q+1],p.cm.options));return}for(var ne=B.length,ue=0,ve=1,Qe="",nt,Ot,Ct=0,Nt,cn,kn,Vn,bn;;){if(Ct==ue){Nt=cn=kn=Ot="",bn=null,Vn=null,Ct=1/0;for(var Rn=[],lr=void 0,Tr=0;Tr<b.length;++Tr){var _r=b[Tr],fi=_r.marker;if(fi.type=="bookmark"&&_r.from==ue&&fi.widgetNode)Rn.push(fi);else if(_r.from<=ue&&(_r.to==null||_r.to>ue||fi.collapsed&&_r.to==ue&&_r.from==ue)){if(_r.to!=null&&_r.to!=ue&&Ct>_r.to&&(Ct=_r.to,cn=""),fi.className&&(Nt+=" "+fi.className),fi.css&&(Ot=(Ot?Ot+";":"")+fi.css),fi.startStyle&&_r.from==ue&&(kn+=" "+fi.startStyle),fi.endStyle&&_r.to==Ct&&(lr||(lr=[])).push(fi.endStyle,_r.to),fi.title&&((bn||(bn={})).title=fi.title),fi.attributes)for(var Ro in fi.attributes)(bn||(bn={}))[Ro]=fi.attributes[Ro];fi.collapsed&&(!Vn||Ue(Vn.marker,fi)<0)&&(Vn=_r)}else _r.from>ue&&Ct>_r.from&&(Ct=_r.from)}if(lr)for(var qa=0;qa<lr.length;qa+=2)lr[qa+1]==Ct&&(cn+=" "+lr[qa]);if(!Vn||Vn.from==ue)for(var wa=0;wa<Rn.length;++wa)Qu(p,0,Rn[wa]);if(Vn&&(Vn.from||0)==ue){if(Qu(p,(Vn.to==null?ne+1:Vn.to)-ue,Vn.marker,Vn.from==null),Vn.to==null)return;Vn.to==ue&&(Vn=!1)}}if(ue>=ne)break;for(var Fa=Math.min(ne,Ct);;){if(Qe){var As=ue+Qe.length;if(!Vn){var cs=As>Fa?Qe.slice(0,Fa-ue):Qe;p.addToken(p,cs,nt?nt+Nt:Nt,kn,ue+cs.length==Ct?cn:"",Ot,bn)}if(As>=Fa){Qe=Qe.slice(Fa-ue),ue=Fa;break}ue=As,kn=""}Qe=B.slice(U,U=x[ve++]),nt=zh(x[ve++],p.cm.options)}}}function qA(A,p,x){this.line=p,this.rest=Ti(p),this.size=this.rest?_e(yn(this.rest))-x+1:1,this.node=this.text=null,this.hidden=Zr(A,p)}function kc(A,p,x){for(var b=[],B,U=p;U<x;U=B){var q=new qA(A.doc,Gn(A.doc,U),U);B=U+q.size,b.push(q)}return b}var Eu=null;function Ad(A){Eu?Eu.ops.push(A):A.ownsGroup=Eu={ops:[A],delayedCallbacks:[]}}function em(A){var p=A.delayedCallbacks,x=0;do{for(;x<p.length;x++)p[x].call(null);for(var b=0;b<A.ops.length;b++){var B=A.ops[b];if(B.cursorActivityHandlers)for(;B.cursorActivityCalled<B.cursorActivityHandlers.length;)B.cursorActivityHandlers[B.cursorActivityCalled++].call(null,B.cm)}}while(x<p.length)}function jh(A,p){var x=A.ownsGroup;if(x)try{em(x)}finally{Eu=null,p(x)}}var Ki=null;function ko(A,p){var x=Pr(A,p);if(x.length){var b=Array.prototype.slice.call(arguments,2),B;Eu?B=Eu.delayedCallbacks:Ki?B=Ki:(B=Ki=[],setTimeout(C0,0));for(var U=function(ne){B.push(function(){return x[ne].apply(null,b)})},q=0;q<x.length;++q)U(q)}}function C0(){var A=Ki;Ki=null;for(var p=0;p<A.length;++p)A[p]()}function Nh(A,p,x,b){for(var B=0;B<p.changes.length;B++){var U=p.changes[B];U=="text"?ep(A,p):U=="gutter"?VA(A,p,x,b):U=="class"?Gi(A,p):U=="widget"&&To(A,p,b)}p.changes=null}function Yu(A){return A.node==A.text&&(A.node=ye("div",null,null,"position: relative"),A.text.parentNode&&A.text.parentNode.replaceChild(A.node,A.text),A.node.appendChild(A.text),d&&f<8&&(A.node.style.zIndex=2)),A.node}function Jf(A,p){var x=p.bgClass?p.bgClass+" "+(p.line.bgClass||""):p.line.bgClass;if(x&&(x+=" CodeMirror-linebackground"),p.background)x?p.background.className=x:(p.background.parentNode.removeChild(p.background),p.background=null);else if(x){var b=Yu(p);p.background=b.insertBefore(ye("div",null,x),b.firstChild),A.display.input.setUneditable(p.background)}}function Aa(A,p){var x=A.display.externalMeasured;return x&&x.line==p.line?(A.display.externalMeasured=null,p.measure=x.measure,x.built):ld(A,p)}function ep(A,p){var x=p.text.className,b=Aa(A,p);p.text==p.node&&(p.node=b.pre),p.text.parentNode.replaceChild(b.pre,p.text),p.text=b.pre,b.bgClass!=p.bgClass||b.text Line truncated
`,p);B==-1&&(B=A.length);var U=A.slice(p,A.charAt(B-1)=="\r"?B-1:B),q=U.indexOf("\r");q!=-1?(x.push(U.slice(0,q)),p+=q+1):(x.push(U),p=B+1)}return x}:function(A){return A.split(/\r\n?|\n/)},cr=window.getSelection?function(A){try{return A.selectionStart!=A.selectionEnd}catch{return!1}}:function(A){var p;try{p=A.ownerDocument.selection.createRange()}catch{}return!p||p.parentElement()!=A?!1:p.compareEndPoints("StartToEnd",p)!=0},Qr=function(){var A=ye("div");return"oncopy"in A?!0:(A.setAttribute("oncopy","return;"),typeof A.oncopy=="function")}(),Br=null;function Fr(A){if(Br!=null)return Br;var p=$e(A,ye("span","x")),x=p.getBoundingClientRect(),b=yt(p,0,1).getBoundingClientRect();return Br=Math.abs(x.left-b.left)>1}var ar={},di={};function Ui(A,p){arguments.length>2&&(p.dependencies=Array.prototype.slice.call(arguments,2)),ar[A]=p}function to(A,p){di[A]=p}function ho(A){if(typeof A=="string"&&di.hasOwnProperty(A))A=di[A];else if(A&&typeof A.name=="string"&&di.hasOwnProperty(A.name)){var p=di[A.name];typeof p=="string"&&(p={name:p}),A=Nr(p,A),A.name=p.name}else{if(typeof A=="string"&&/^[\w\-]+\/[\w\-]+\+xml$/.test(A))return ho("application/xml");if(typeof A=="string"&&/^[\w\-]+\/[\w\-]+\+json$/.test(A))return ho("application/json")}return typeof A=="string"?{name:A}:A||{name:"null"}}function si(A,p){p=ho(p);var x=ar[p.name];if(!x)return si(A,"text/plain");var b=x(A,p);if(fo.hasOwnProperty(p.name)){var B=fo[p.name];for(var U in B)B.hasOwnProperty(U)&&(b.hasOwnProperty(U)&&(b["_"+U]=b[U]),b[U]=B[U])}if(b.name=p.name,p.helperType&&(b.helperType=p.helperType),p.modeProps)for(var q in p.modeProps)b[q]=p.modeProps[q];return b}var fo={};function Na(A,p){var x=fo.hasOwnProperty(A)?fo[A]:fo[A]={};ke(p,x)}function Ia(A,p){if(p===!0)return p;if(A.copyState)return A.copyState(p);var x={};for(var b in p){var B=p[b];B instanceof Array&&(B=B.concat([])),x[b]=B}return x}function Ei(A,p){for(var x;A.innerMode&&(x=A.innerMode(p),!(!x||x.mode==A));)p=x.state,A=x.mode;return x||{mode:A,state:p}}function os(A,p,x){return A.startState?A.startState(p,x):!0}var yi=function(A,p,x){this.pos=this.start=0,this.string=A,this.tabSize=p||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=x};yi.prototype.eol=function(){return this.pos>=this.string.length},yi.prototype.sol=function(){return this.pos==this.lineStart},yi.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},yi.prototype.next=function(){if(this.pos<this.string.length)return this.string.charAt(this.pos++)},yi.prototype.eat=function(A){var p=this.string.charAt(this.pos),x;if(typeof A=="string"?x=p==A:x=p&&(A.test?A.test(p):A(p)),x)return++this.pos,p},yi.prototype.eatWhile=function(A){for(var p=this.pos;this.eat(A););return this.pos>p},yi.prototype.eatSpace=function(){for(var A=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>A},yi.prototype.skipToEnd=function(){this.pos=this.string.length},yi.prototype.skipTo=function(A){var p=this.string.indexOf(A,this.pos);if(p>-1)return this.pos=p,!0},yi.prototype.backUp=function(A){this.pos-=A},yi.prototype.column=function(){return this.lastColumnPos<this.start&&(this.lastColumnValue=ge(this.string,this.start,this.tabSize,this.lastColumnPos,this.lastColumnValue),this.lastColumnPos=this.start),this.lastColumnValue-(this.lineStart?ge(this.string,this.lineStart,this.tabSize):0)},yi.prototype.indentation=function(){return ge(this.string,null,this.tabSize)-(this.lineStart?ge(this.string,this.lineStart,this.tabSize):0)},yi.prototype.match=function(A,p,x){if(typeof A=="string"){var b=function(q){return x?q.toLowerCase():q},B=this.string.substr(this.pos,A.length);if(b(B)==b(A))return p!==!1&&(this.pos+=A.length),!0}else{var U=this.string.slice(this.pos).match(A);return U&&U.index>0?null:(U&&p!==!1&&(this.pos+=U[0].length),U)}},yi.prototype.current=function(){return this.string.slice(this.start,this.pos)},yi.prototype.hideFirstChars=function(A,p){this.lineStart+=A;try{return p()}finally{this.lineStart-=A}},yi.prototype.lookAhead=function(A){var p=this.lineOracle;return p&&p.lookAhead(A)},yi.prototype.baseToken=function(){var A=this.lineOracle;return A&&A.baseToken(this.pos)};function Gn(A,p){if(p-=A.first,p<0||p>=A.size)throw new Error("There is no line "+(p+A.first)+" in the document.");for(var x=A;!x.lines;)for(var b=0;;++b){var B=x.children[b],U=B.chunkSize();if(p<U){x=B;break}p-=U}return x.lines[p]}function ro(A,p,x){var b=[],B=p.line;return A.iter(p.line,x.line+1,function(U){var q=U.text;B==x.line&&(q=q.slice(0,x.ch)),B==p.line&&(q=q.slice(p.ch)),b.push(q),++B}),b}function Co(A,p,x){var b=[];return A.iter(p,x,function(B){b.push(B.text)}),b}function Ri(A,p){var x=p-A.height;if(x)for(var b=A;b;b=b.parent)b.height+=x}function _e(A){if(A.parent==null)return null;for(var p=A.parent,x=ze(p.lines,A),b=p.parent;b;p=b,b=b.parent)for(var B=0;b.children[B]!=p;++B)x+=b.children[B].chunkSize();return x+p.first}function Je(A,p){var x=A.first;e:do{for(var b=0;b<A.children.length;++b){ Line truncated
`?(cn=Qe.appendChild(ye("span",Ot[0]=="\r"?"␍":"␤","cm-invalidchar")),cn.setAttribute("cm-text",Ot[0]),A.col+=1):(cn=A.cm.options.specialCharPlaceholder(Ot[0]),cn.setAttribute("cm-text",Ot[0]),d&&f<9?Qe.appendChild(ye("span",[cn])):Qe.appendChild(cn),A.col+=1);A.map.push(A.pos,A.pos+1,cn),A.pos++}}if(A.trailingSpace=ne.charCodeAt(p.length-1)==32,x||b||B||ve||U||q){var bn=x||"";b&&(bn+=b),B&&(bn+=B);var Rn=ye("span",[Qe],bn,U);if(q)for(var lr in q)q.hasOwnProperty(lr)&&lr!="style"&&lr!="class"&&Rn.setAttribute(lr,q[lr]);return A.content.appendChild(Rn)}A.content.appendChild(Qe)}}function YA(A,p){if(A.length>1&&!/ /.test(A))return A;for(var x=p,b="",B=0;B<A.length;B++){var U=A.charAt(B);U==" "&&x&&(B==A.length-1||A.charCodeAt(B+1)==32)&&(U=" "),b+=U,x=U==" "}return b}function ra(A,p){return function(x,b,B,U,q,ne,ue){B=B?B+" cm-force-border":"cm-force-border";for(var ve=x.pos,Qe=ve+b.length;;){for(var nt=void 0,Ot=0;Ot<p.length&&(nt=p[Ot],!(nt.to>ve&&nt.from<=ve));Ot++);if(nt.to>=Qe)return A(x,b,B,U,q,ne,ue);A(x,b.slice(0,nt.to-ve),B,U,null,ne,ue),U=null,b=b.slice(nt.to-ve),ve=nt.to}}}function Qu(A,p,x,b){var B=!b&&x.widgetNode;B&&A.map.push(A.pos,A.pos+p,B),!b&&A.cm.display.input.needsContentAttribute&&(B||(B=A.content.appendChild(document.createElement("span"))),B.setAttribute("cm-marker",x.id)),B&&(A.cm.display.input.setUneditable(B),A.content.appendChild(B)),A.pos+=p,A.trailingSpace=!1}function Vd(A,p,x){var b=A.markedSpans,B=A.text,U=0;if(!b){for(var q=1;q<x.length;q+=2)p.addToken(p,B.slice(U,U=x[q]),zh(x[q+1],p.cm.options));return}for(var ne=B.length,ue=0,ve=1,Qe="",nt,Ot,Ct=0,Nt,cn,kn,Vn,bn;;){if(Ct==ue){Nt=cn=kn=Ot="",bn=null,Vn=null,Ct=1/0;for(var Rn=[],lr=void 0,Tr=0;Tr<b.length;++Tr){var _r=b[Tr],fi=_r.marker;if(fi.type=="bookmark"&&_r.from==ue&&fi.widgetNode)Rn.push(fi);else if(_r.from<=ue&&(_r.to==null||_r.to>ue||fi.collapsed&&_r.to==ue&&_r.from==ue)){if(_r.to!=null&&_r.to!=ue&&Ct>_r.to&&(Ct=_r.to,cn=""),fi.className&&(Nt+=" "+fi.className),fi.css&&(Ot=(Ot?Ot+";":"")+fi.css),fi.startStyle&&_r.from==ue&&(kn+=" "+fi.startStyle),fi.endStyle&&_r.to==Ct&&(lr||(lr=[])).push(fi.endStyle,_r.to),fi.title&&((bn||(bn={})).title=fi.title),fi.attributes)for(var Ro in fi.attributes)(bn||(bn={}))[Ro]=fi.attributes[Ro];fi.collapsed&&(!Vn||Ue(Vn.marker,fi)<0)&&(Vn=_r)}else _r.from>ue&&Ct>_r.from&&(Ct=_r.from)}if(lr)for(var qa=0;qa<lr.length;qa+=2)lr[qa+1]==Ct&&(cn+=" "+lr[qa]);if(!Vn||Vn.from==ue)for(var wa=0;wa<Rn.length;++wa)Qu(p,0,Rn[wa]);if(Vn&&(Vn.from||0)==ue){if(Qu(p,(Vn.to==null?ne+1:Vn.to)-ue,Vn.marker,Vn.from==null),Vn.to==null)return;Vn.to==ue&&(Vn=!1)}}if(ue>=ne)break;for(var Fa=Math.min(ne,Ct);;){if(Qe){var As=ue+Qe.length;if(!Vn){var cs=As>Fa?Qe.slice(0,Fa-ue):Qe;p.addToken(p,cs,nt?nt+Nt:Nt,kn,ue+cs.length==Ct?cn:"",Ot,bn)}if(As>=Fa){Qe=Qe.slice(Fa-ue),ue=Fa;break}ue=As,kn=""}Qe=B.slice(U,U=x[ve++]),nt=zh(x[ve++],p.cm.options)}}}function qA(A,p,x){this.line=p,this.rest=Ti(p),this.size=this.rest?_e(yn(this.rest))-x+1:1,this.node=this.text=null,this.hidden=Zr(A,p)}function kc(A,p,x){for(var b=[],B,U=p;U<x;U=B){var q=new qA(A.doc,Gn(A.doc,U),U);B=U+q.size,b.push(q)}return b}var Eu=null;function Ad(A){Eu?Eu.ops.push(A):A.ownsGroup=Eu={ops:[A],delayedCallbacks:[]}}function em(A){var p=A.delayedCallbacks,x=0;do{for(;x<p.length;x++)p[x].call(null);for(var b=0;b<A.ops.length;b++){var B=A.ops[b];if(B.cursorActivityHandlers)for(;B.cursorActivityCalled<B.cursorActivityHandlers.length;)B.cursorActivityHandlers[B.cursorActivityCalled++].call(null,B.cm)}}while(x<p.length)}function jh(A,p){var x=A.ownsGroup;if(x)try{em(x)}finally{Eu=null,p(x)}}var Ki=null;function ko(A,p){var x=Pr(A,p);if(x.length){var b=Array.prototype.slice.call(arguments,2),B;Eu?B=Eu.delayedCallbacks:Ki?B=Ki:(B=Ki=[],setTimeout(C0,0));for(var U=function(ne){B.push(function(){return x[ne].apply(null,b)})},q=0;q<x.length;++q)U(q)}}function C0(){var A=Ki;Ki=null;for(var p=0;p<A.length;++p)A[p]()}function Nh(A,p,x,b){for(var B=0;B<p.changes.length;B++){var U=p.changes[B];U=="text"?ep(A,p):U=="gutter"?VA(A,p,x,b):U=="class"?Gi(A,p):U=="widget"&&To(A,p,b)}p.changes=null}function Yu(A){return A.node==A.text&&(A.node=ye("div",null,null,"position: relative"),A.text.parentNode&&A.text.parentNode.replaceChild(A.node,A.text),A.node.appendChild(A.text),d&&f<8&&(A.node.style.zIndex=2)),A.node}function Jf(A,p){var x=p.bgClass?p.bgClass+" "+(p.line.bgClass||""):p.line.bgClass;if(x&&(x+=" CodeMirror-linebackground"),p.background)x?p.background.className=x:(p.background.parentNode.removeChild(p.background),p.background=null);else if(x){var b=Yu(p);p.background=b.insertBefore(ye("div",null,x),b.firstChild),A.display.input.setUneditable(p.background)}}function Aa(A,p){var x=A.display.externalMeasured;return x&&x.line==p.line?(A.display.externalMeasured=null,p.measure=x.measure,x.built):ld(A,p)}function ep(A,p){var x=p.text.className,b=Aa(A,p);p.text==p.node&&(p.node=b.pre),p.text.parentNode.replaceChild(b.pre,p.text),p.text=b.pre,b.bgClass!=p.bgClass||b.text Line truncated
top: `+lr+"px; width: "+(Tr??ue-Rn)+`px;
height: `+(_r-lr)+"px"))}function nt(Rn,lr,Tr){var _r=Gn(B,Rn),fi=_r.text.length,Ro,qa;function wa(cs,El){return an(A,Ft(Rn,cs),"div",_r,El)}function Fa(cs,El,tl){var Bs=Ko(A,_r,null,cs),ds=El=="ltr"==(tl=="after")?"left":"right",ha=tl=="after"?Bs.begin:Bs.end-(/\s/.test(_r.text.charAt(Bs.end-1))?2:1);return wa(ha,ds)[ds]}var As=On(_r,B.direction);return kt(As,lr||0,Tr??fi,function(cs,El,tl,Bs){var ds=tl=="ltr",ha=wa(cs,ds?"left":"right"),Is=wa(El-1,ds?"right":"left"),fh=lr==null&&cs==0,dc=Tr==null&&El==fi,js=Bs==0,hc=!As||Bs==As.length-1;if(Is.top-ha.top<=3){var Ns=(ve?fh:dc)&&js,K0=(ve?dc:fh)&&hc,TA=Ns?ne:(ds?ha:Is).left,Nc=K0?ue:(ds?Is:ha).right;Qe(TA,ha.top,Nc-TA,ha.bottom)}else{var Va,nl,ph,fc;ds?(Va=ve&&fh&&js?ne:ha.left,nl=ve?ue:Fa(cs,tl,"before"),ph=ve?ne:Fa(El,tl,"after"),fc=ve&&dc&&hc?ue:Is.right):(Va=ve?Fa(cs,tl,"before"):ne,nl=!ve&&fh&&js?ue:ha.right,ph=!ve&&dc&&hc?ne:Is.left,fc=ve?Fa(El,tl,"after"):ue),Qe(Va,ha.top,nl-Va,ha.bottom),ha.bottom<Is.top&&Qe(ne,ha.bottom,null,Is.top),Qe(ph,Is.top,fc-ph,Is.bottom)}(!Ro||Zu(ha,Ro)<0)&&(Ro=ha),Zu(Is,Ro)<0&&(Ro=Is),(!qa||Zu(ha,qa)<0)&&(qa=ha),Zu(Is,qa)<0&&(qa=Is)}),{start:Ro,end:qa}}var Ot=p.from(),Ct=p.to();if(Ot.line==Ct.line)nt(Ot.line,Ot.ch,Ct.ch);else{var Nt=Gn(B,Ot.line),cn=Gn(B,Ct.line),kn=vr(Nt)==vr(cn),Vn=nt(Ot.line,Ot.ch,kn?Nt.text.length+1:null).end,bn=nt(Ct.line,kn?0:null,Ct.ch).start;kn&&(Vn.top<bn.top-2?(Qe(Vn.right,Vn.top,null,Vn.bottom),Qe(ne,bn.top,bn.left,bn.bottom)):Qe(Vn.right,Vn.top,bn.left-Vn.right,Vn.bottom)),Vn.bottom<bn.top&&Qe(ne,Vn.bottom,null,bn.top)}x.appendChild(U)}function Xu(A){if(A.state.focused){var p=A.display;clearInterval(p.blinker);var x=!0;p.cursorDiv.style.visibility="",A.options.cursorBlinkRate>0?p.blinker=setInterval(function(){A.hasFocus()||Dc(A),p.cursorDiv.style.visibility=(x=!x)?"":"hidden"},A.options.cursorBlinkRate):A.options.cursorBlinkRate<0&&(p.cursorDiv.style.visibility="hidden")}}function Ju(A){A.hasFocus()||(A.display.input.focus(),A.state.focused||eh(A))}function nc(A){A.state.delayingBlurEvent=!0,setTimeout(function(){A.state.delayingBlurEvent&&(A.state.delayingBlurEvent=!1,A.state.focused&&Dc(A))},100)}function eh(A,p){A.state.delayingBlurEvent&&!A.state.draggingText&&(A.state.delayingBlurEvent=!1),A.options.readOnly!="nocursor"&&(A.state.focused||(De(A,"focus",A,p),A.state.focused=!0,Re(A.display.wrapper,"CodeMirror-focused"),!A.curOp&&A.display.selForContextMenu!=A.doc.sel&&(A.display.input.reset(),C&&setTimeout(function(){return A.display.input.reset(!0)},20)),A.display.input.receivedFocus()),Xu(A))}function Dc(A,p){A.state.delayingBlurEvent||(A.state.focused&&(De(A,"blur",A,p),A.state.focused=!1,Pe(A.display.wrapper,"CodeMirror-focused")),clearInterval(A.display.blinker),setTimeout(function(){A.state.focused||(A.display.shift=!1)},150))}function eA(A){for(var p=A.display,x=p.lineDiv.offsetTop,b=Math.max(0,p.scroller.getBoundingClientRect().top),B=p.lineDiv.getBoundingClientRect().top,U=0,q=0;q<p.view.length;q++){var ne=p.view[q],ue=A.options.lineWrapping,ve=void 0,Qe=0;if(!ne.hidden){if(B+=ne.line.height,d&&f<8){var nt=ne.node.offsetTop+ne.node.offsetHeight;ve=nt-x,x=nt}else{var Ot=ne.node.getBoundingClientRect();ve=Ot.bottom-Ot.top,!ue&&ne.text.firstChild&&(Qe=ne.text.firstChild.getBoundingClientRect().right-Ot.left-1)}var Ct=ne.line.height-ve;if((Ct>.005||Ct<-.005)&&(B<b&&(U-=Ct),Ri(ne.line,ve),Mo(ne.line),ne.rest))for(var Nt=0;Nt<ne.rest.length;Nt++)Mo(ne.rest[Nt]);if(Qe>A.display.sizerWidth){var cn=Math.ceil(Qe/qu(A.display));cn>A.display.maxLineLength&&(A.display.maxLineLength=cn,A.display.maxLine=ne.line,A.display.maxLineChanged=!0)}}}Math.abs(U)>2&&(p.scroller.scrollTop+=U)}function Mo(A){if(A.widgets)for(var p=0;p<A.widgets.length;++p){var x=A.widgets[p],b=x.node.parentNode;b&&(x.height=b.offsetHeight)}}function tA(A,p,x){var b=x&&x.top!=null?Math.max(0,x.top):A.scroller.scrollTop;b=Math.floor(b-Tc(A));var B=x&&x.bottom!=null?x.bottom:b+A.wrapper.clientHeight,U=Je(p,b),q=Je(p,B);if(x&&x.ensure){var ne=x.ensure.from.line,ue=x.ensure.to.line;ne<U?(U=ne,q=Je(p,Io(Gn(p,ne))+A.wrapper.clientHeight)):Math.min(ue,p.lastLine())>=q&&(U=Je(p,Io(Gn(p,ue))-A.wrapper.clientHeight),q=ue)}return{from:U,to:Math.max(q,U+1)}}function hd(A,p){if(!ce(A,"scrollCursorIntoView")){var x=A.display,b=x.sizer.getBoundingClientRect(),B=null,U=x.wrapper.ownerDocument;if(p.top+b.top<0?B=!0:p.bottom+b.top>(U.defaultView.innerHeight||U.documentElement.clientHeight)&&(B=!1),B!=null&&!Q){var q=ye("div","​",null,`position: absolute;
height: `+(_r-lr)+"px"))}function nt(Rn,lr,Tr){var _r=Gn(B,Rn),fi=_r.text.length,Ro,qa;function wa(cs,Ol){return an(A,Ft(Rn,cs),"div",_r,Ol)}function Fa(cs,Ol,tl){var Bs=Ko(A,_r,null,cs),ds=Ol=="ltr"==(tl=="after")?"left":"right",ha=tl=="after"?Bs.begin:Bs.end-(/\s/.test(_r.text.charAt(Bs.end-1))?2:1);return wa(ha,ds)[ds]}var As=On(_r,B.direction);return kt(As,lr||0,Tr??fi,function(cs,Ol,tl,Bs){var ds=tl=="ltr",ha=wa(cs,ds?"left":"right"),Is=wa(Ol-1,ds?"right":"left"),fh=lr==null&&cs==0,dc=Tr==null&&Ol==fi,js=Bs==0,hc=!As||Bs==As.length-1;if(Is.top-ha.top<=3){var Ns=(ve?fh:dc)&&js,K0=(ve?dc:fh)&&hc,TA=Ns?ne:(ds?ha:Is).left,Nc=K0?ue:(ds?Is:ha).right;Qe(TA,ha.top,Nc-TA,ha.bottom)}else{var Va,nl,ph,fc;ds?(Va=ve&&fh&&js?ne:ha.left,nl=ve?ue:Fa(cs,tl,"before"),ph=ve?ne:Fa(Ol,tl,"after"),fc=ve&&dc&&hc?ue:Is.right):(Va=ve?Fa(cs,tl,"before"):ne,nl=!ve&&fh&&js?ue:ha.right,ph=!ve&&dc&&hc?ne:Is.left,fc=ve?Fa(Ol,tl,"after"):ue),Qe(Va,ha.top,nl-Va,ha.bottom),ha.bottom<Is.top&&Qe(ne,ha.bottom,null,Is.top),Qe(ph,Is.top,fc-ph,Is.bottom)}(!Ro||Zu(ha,Ro)<0)&&(Ro=ha),Zu(Is,Ro)<0&&(Ro=Is),(!qa||Zu(ha,qa)<0)&&(qa=ha),Zu(Is,qa)<0&&(qa=Is)}),{start:Ro,end:qa}}var Ot=p.from(),Ct=p.to();if(Ot.line==Ct.line)nt(Ot.line,Ot.ch,Ct.ch);else{var Nt=Gn(B,Ot.line),cn=Gn(B,Ct.line),kn=vr(Nt)==vr(cn),Vn=nt(Ot.line,Ot.ch,kn?Nt.text.length+1:null).end,bn=nt(Ct.line,kn?0:null,Ct.ch).start;kn&&(Vn.top<bn.top-2?(Qe(Vn.right,Vn.top,null,Vn.bottom),Qe(ne,bn.top,bn.left,bn.bottom)):Qe(Vn.right,Vn.top,bn.left-Vn.right,Vn.bottom)),Vn.bottom<bn.top&&Qe(ne,Vn.bottom,null,bn.top)}x.appendChild(U)}function Xu(A){if(A.state.focused){var p=A.display;clearInterval(p.blinker);var x=!0;p.cursorDiv.style.visibility="",A.options.cursorBlinkRate>0?p.blinker=setInterval(function(){A.hasFocus()||Dc(A),p.cursorDiv.style.visibility=(x=!x)?"":"hidden"},A.options.cursorBlinkRate):A.options.cursorBlinkRate<0&&(p.cursorDiv.style.visibility="hidden")}}function Ju(A){A.hasFocus()||(A.display.input.focus(),A.state.focused||eh(A))}function nc(A){A.state.delayingBlurEvent=!0,setTimeout(function(){A.state.delayingBlurEvent&&(A.state.delayingBlurEvent=!1,A.state.focused&&Dc(A))},100)}function eh(A,p){A.state.delayingBlurEvent&&!A.state.draggingText&&(A.state.delayingBlurEvent=!1),A.options.readOnly!="nocursor"&&(A.state.focused||(De(A,"focus",A,p),A.state.focused=!0,Re(A.display.wrapper,"CodeMirror-focused"),!A.curOp&&A.display.selForContextMenu!=A.doc.sel&&(A.display.input.reset(),C&&setTimeout(function(){return A.display.input.reset(!0)},20)),A.display.input.receivedFocus()),Xu(A))}function Dc(A,p){A.state.delayingBlurEvent||(A.state.focused&&(De(A,"blur",A,p),A.state.focused=!1,Pe(A.display.wrapper,"CodeMirror-focused")),clearInterval(A.display.blinker),setTimeout(function(){A.state.focused||(A.display.shift=!1)},150))}function eA(A){for(var p=A.display,x=p.lineDiv.offsetTop,b=Math.max(0,p.scroller.getBoundingClientRect().top),B=p.lineDiv.getBoundingClientRect().top,U=0,q=0;q<p.view.length;q++){var ne=p.view[q],ue=A.options.lineWrapping,ve=void 0,Qe=0;if(!ne.hidden){if(B+=ne.line.height,d&&f<8){var nt=ne.node.offsetTop+ne.node.offsetHeight;ve=nt-x,x=nt}else{var Ot=ne.node.getBoundingClientRect();ve=Ot.bottom-Ot.top,!ue&&ne.text.firstChild&&(Qe=ne.text.firstChild.getBoundingClientRect().right-Ot.left-1)}var Ct=ne.line.height-ve;if((Ct>.005||Ct<-.005)&&(B<b&&(U-=Ct),Ri(ne.line,ve),Mo(ne.line),ne.rest))for(var Nt=0;Nt<ne.rest.length;Nt++)Mo(ne.rest[Nt]);if(Qe>A.display.sizerWidth){var cn=Math.ceil(Qe/qu(A.display));cn>A.display.maxLineLength&&(A.display.maxLineLength=cn,A.display.maxLine=ne.line,A.display.maxLineChanged=!0)}}}Math.abs(U)>2&&(p.scroller.scrollTop+=U)}function Mo(A){if(A.widgets)for(var p=0;p<A.widgets.length;++p){var x=A.widgets[p],b=x.node.parentNode;b&&(x.height=b.offsetHeight)}}function tA(A,p,x){var b=x&&x.top!=null?Math.max(0,x.top):A.scroller.scrollTop;b=Math.floor(b-Tc(A));var B=x&&x.bottom!=null?x.bottom:b+A.wrapper.clientHeight,U=Je(p,b),q=Je(p,B);if(x&&x.ensure){var ne=x.ensure.from.line,ue=x.ensure.to.line;ne<U?(U=ne,q=Je(p,Io(Gn(p,ne))+A.wrapper.clientHeight)):Math.min(ue,p.lastLine())>=q&&(U=Je(p,Io(Gn(p,ue))-A.wrapper.clientHeight),q=ue)}return{from:U,to:Math.max(q,U+1)}}function hd(A,p){if(!ce(A,"scrollCursorIntoView")){var x=A.display,b=x.sizer.getBoundingClientRect(),B=null,U=x.wrapper.ownerDocument;if(p.top+b.top<0?B=!0:p.bottom+b.top>(U.defaultView.innerHeight||U.documentElement.clientHeight)&&(B=!1),B!=null&&!Q){var q=ye("div","​",null,`position: absolute;
top: `+(p.top-x.viewOffset-Tc(A.display))+`px;
height: `+(p.bottom-p.top+Ou(A)+x.barHeight)+`px;
left: `+p.left+"px; width: "+Math.max(2,p.right-p.left)+"px;");A.display.lineSpace.appendChild(q),q.scrollIntoView(B),A.display.lineSpace.removeChild(q)}}}function rp(A,p,x,b){b==null&&(b=0);var B;!A.options.lineWrapping&&p==x&&(x=p.sticky=="before"?Ft(p.line,p.ch+1,"before"):p,p=p.ch?Ft(p.line,p.sticky=="before"?p.ch-1:p.ch,"after"):p);for(var U=0;U<5;U++){var q=!1,ne=jt(A,p),ue=!x||x==p?ne:jt(A,x);B={left:Math.min(ne.left,ue.left),top:Math.min(ne.top,ue.top)-b,right:Math.max(ne.left,ue.left),bottom:Math.max(ne.bottom,ue.bottom)+b};var ve=qh(A,B),Qe=A.doc.scrollTop,nt=A.doc.scrollLeft;if(ve.scrollTop!=null&&(Fc(A,ve.scrollTop),Math.abs(A.doc.scrollTop-Qe)>1&&(q=!0)),ve.scrollLeft!=null&&(da(A,ve.scrollLeft),Math.abs(A.doc.scrollLeft-nt)>1&&(q=!0)),!q)break}return B}function Yh(A,p){var x=qh(A,p);x.scrollTop!=null&&Fc(A,x.scrollTop),x.scrollLeft!=null&&da(A,x.scrollLeft)}function qh(A,p){var x=A.display,b=Qa(A.display);p.top<0&&(p.top=0);var B=A.curOp&&A.curOp.scrollTop!=null?A.curOp.scrollTop:x.scroller.scrollTop,U=ZA(A),q={};p.bottom-p.top>U&&(p.bottom=p.top+U);var ne=A.doc.height+Gh(x),ue=p.top<b,ve=p.bottom>ne-b;if(p.top<B)q.scrollTop=ue?0:p.top;else if(p.bottom>B+U){var Qe=Math.min(p.top,(ve?ne:p.bottom)-U);Qe!=B&&(q.scrollTop=Qe)}var nt=A.options.fixedGutter?0:x.gutters.offsetWidth,Ot=A.curOp&&A.curOp.scrollLeft!=null?A.curOp.scrollLeft:x.scroller.scrollLeft-nt,Ct=wA(A)-x.gutters.offsetWidth,Nt=p.right-p.left>Ct;return Nt&&(p.right=p.left+Ct),p.left<10?q.scrollLeft=0:p.left<Ot?q.scrollLeft=Math.max(0,p.left+nt-(Nt?0:10)):p.right>Ct+Ot-3&&(q.scrollLeft=p.right+(Nt?0:10)-Ct),q}function ip(A,p){p!=null&&(Ir(A),A.curOp.scrollTop=(A.curOp.scrollTop==null?A.doc.scrollTop:A.curOp.scrollTop)+p)}function ao(A){Ir(A);var p=A.getCursor();A.curOp.scrollToPos={from:p,to:p,margin:A.options.cursorScrollMargin}}function ca(A,p,x){(p!=null||x!=null)&&Ir(A),p!=null&&(A.curOp.scrollLeft=p),x!=null&&(A.curOp.scrollTop=x)}function xr(A,p){Ir(A),A.curOp.scrollToPos=p}function Ir(A){var p=A.curOp.scrollToPos;if(p){A.curOp.scrollToPos=null;var x=fr(A,p.from),b=fr(A,p.to);OA(A,x,b,p.margin)}}function OA(A,p,x,b){var B=qh(A,{left:Math.min(p.left,x.left),top:Math.min(p.top,x.top)-b,right:Math.max(p.right,x.right),bottom:Math.max(p.bottom,x.bottom)+b});ca(A,B.scrollLeft,B.scrollTop)}function Fc(A,p){Math.abs(A.doc.scrollTop-p)<2||(i||Wl(A,{top:p}),rc(A,p,!0),i&&Wl(A),ac(A,100))}function rc(A,p,x){p=Math.max(0,Math.min(A.display.scroller.scrollHeight-A.display.scroller.clientHeight,p)),!(A.display.scroller.scrollTop==p&&!x)&&(A.doc.scrollTop=p,A.display.scrollbars.setScrollTop(p),A.display.scroller.scrollTop!=p&&(A.display.scroller.scrollTop=p))}function da(A,p,x,b){p=Math.max(0,Math.min(p,A.display.scroller.scrollWidth-A.display.scroller.clientWidth)),!((x?p==A.doc.scrollLeft:Math.abs(A.doc.scrollLeft-p)<2)&&!b)&&(A.doc.scrollLeft=p,I(A),A.display.scroller.scrollLeft!=p&&(A.display.scroller.scrollLeft=p),A.display.scrollbars.setScrollLeft(p))}function ic(A){var p=A.display,x=p.gutters.offsetWidth,b=Math.round(A.doc.height+Gh(A.display));return{clientHeight:p.scroller.clientHeight,viewHeight:p.wrapper.clientHeight,scrollWidth:p.scroller.scrollWidth,clientWidth:p.scroller.clientWidth,viewWidth:p.wrapper.clientWidth,barLeft:A.options.fixedGutter?x:0,docHeight:b,scrollHeight:b+Ou(A)+p.barHeight,nativeBarWidth:p.nativeBarWidth,gutterWidth:x}}var ka=function(A,p,x){this.cm=x;var b=this.vert=ye("div",[ye("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),B=this.horiz=ye("div",[ye("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");b.tabIndex=B.tabIndex=-1,A(b),A(B),Kt(b,"scroll",function(){b.clientHeight&&p(b.scrollTop,"vertical")}),Kt(B,"scroll",function(){B.clientWidth&&p(B.scrollLeft,"horizontal")}),this.checkedZeroWidth=!1,d&&f<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")};ka.prototype.update=function(A){var p=A.scrollWidth>A.clientWidth+1,x=A.scrollHeight>A.clientHeight+1,b=A.nativeBarWidth;if(x){this.vert.style.display="block",this.vert.style.bottom=p?b+"px":"0";var B=A.viewHeight-(p?b:0);this.vert.firstChild.style.height=Math.max(0,A.scrollHeight-A.clientHeight+B)+"px"}else this.vert.scrollTop=0,this.vert.style.display="",this.vert.firstChild.style.height="0";if(p){this.horiz.style.display="block",this.horiz.style.right=x?b+"px":"0",this.horiz.style.left=A.barLeft+"px";var U=A.viewWidth-A.barLeft-(x?b:0);this.horiz.firstChild.style.width=Math.max(0,A.scrollWidth-A.clientWidth+U)+"px"}else this.horiz.style.display="",this.horiz.firstChild.style.width="0";return!this.checkedZeroWidth&&A.clientHeight>0&&(b==0&&this.zeroWidthHack(),this.checkedZeroWidth=!0),{right:x?b:0,bottom:p?b:0}},ka.prototype.setScrollLeft=function(A){this.horiz.scrollLeft!=A&&(this.horiz.scrollLeft=A),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,"horiz")},ka.prototype.setScrollTop=function(A){this.vert.scrollTop!=A&&(this.vert.scrollTop=A),this.disableVert&& Line truncated
`},setDirection:_a(function(A){A!="rtl"&&(A="ltr"),A!=this.direction&&(this.direction=A,this.iter(function(p){return p.order=null}),this.cm&&qn(this.cm))})}),Os.prototype.eachLine=Os.prototype.iter;var rm=0;function im(A){var p=this;if(w0(p),!(ce(p,A)||Ul(p.display,A))){rt(A),d&&(rm=+new Date);var x=lu(p,A,!0),b=A.dataTransfer.files;if(!(!x||p.isReadOnly()))if(b&&b.length&&window.FileReader&&window.File)for(var B=b.length,U=Array(B),q=0,ne=function(){++q==B&&$i(p,function(){x=Lr(p.doc,x);var Ct={from:x,to:x,text:p.doc.splitLines(U.filter(function(Nt){return Nt!=null}).join(p.doc.lineSeparator())),origin:"paste"};cu(p.doc,Ct),Ss(p.doc,Ye(Lr(p.doc,x),Lr(p.doc,He(Ct))))})()},ue=function(Ct,Nt){if(p.options.allowDropFileTypes&&ze(p.options.allowDropFileTypes,Ct.type)==-1){ne();return}var cn=new FileReader;cn.onerror=function(){return ne()},cn.onload=function(){var kn=cn.result;if(/[\x00-\x08\x0e-\x1f]{2}/.test(kn)){ne();return}U[Nt]=kn,ne()},cn.readAsText(Ct)},ve=0;ve<b.length;ve++)ue(b[ve],ve);else{if(p.state.draggingText&&p.doc.sel.contains(x)>-1){p.state.draggingText(A),setTimeout(function(){return p.display.input.focus()},20);return}try{var Qe=A.dataTransfer.getData("Text");if(Qe){var nt;if(p.state.draggingText&&!p.state.draggingText.copy&&(nt=p.listSelections()),Bi(p.doc,Ye(x,x)),nt)for(var Ot=0;Ot<nt.length;++Ot)IA(p.doc,"",nt[Ot].anchor,nt[Ot].head,"drag");p.replaceSelection(Qe,"around","paste"),p.display.input.focus()}}catch{}}}}function x0(A,p){if(d&&(!A.state.draggingText||+new Date-rm<100)){et(p);return}if(!(ce(A,p)||Ul(A.display,p))&&(p.dataTransfer.setData("Text",A.getSelection()),p.dataTransfer.effectAllowed="copyMove",p.dataTransfer.setDragImage&&!$)){var x=ye("img",null,null,"position: fixed; left: 0; top: 0;");x.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",L&&(x.width=x.height=1,A.display.wrapper.appendChild(x),x._top=x.offsetTop),p.dataTransfer.setDragImage(x,0,0),L&&x.parentNode.removeChild(x)}}function Qi(A,p){var x=lu(A,p);if(x){var b=document.createDocumentFragment();tc(A,x,b),A.display.dragCursor||(A.display.dragCursor=ye("div",null,"CodeMirror-cursors CodeMirror-dragcursors"),A.display.lineSpace.insertBefore(A.display.dragCursor,A.display.cursorDiv)),$e(A.display.dragCursor,b)}}function w0(A){A.display.dragCursor&&(A.display.lineSpace.removeChild(A.display.dragCursor),A.display.dragCursor=null)}function M0(A){if(document.getElementsByClassName){for(var p=document.getElementsByClassName("CodeMirror"),x=[],b=0;b<p.length;b++){var B=p[b].CodeMirror;B&&x.push(B)}x.length&&x[0].operation(function(){for(var U=0;U<x.length;U++)A(x[U])})}}var rf=!1;function om(){rf||(tg(),rf=!0)}function tg(){var A;Kt(window,"resize",function(){A==null&&(A=setTimeout(function(){A=null,M0(S0)},100))}),Kt(window,"blur",function(){return M0(Dc)})}function S0(A){var p=A.display;p.cachedCharWidth=p.cachedTextHeight=p.cachedPaddingH=null,p.scrollbarsClipped=!1,A.setSize()}for(var Da={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"},fl=0;fl<10;fl++)Da[fl+48]=Da[fl+96]=String(fl);for(var Cd=65;Cd<=90;Cd++)Da[Cd]=String.fromCharCode(Cd);for(var ah=1;ah<=12;ah++)Da[ah+111]=Da[ah+63235]="F"+ah;var kA={};kA.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"},kA.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"},kA.emacsy={"Ctrl-F":"goCharRight","Ctrl-B":"goCharLeft","Ctrl-P":"goLineUp","Ctrl-N":"goLineDown","Ctrl-A":"goLineStart","Ctrl-E":"goLineEnd","Ctrl-V":"goPageDown","Shift-Ctrl-V":"goPageUp","Ctrl-D":"delCharAfter","Ctrl-H":"delCharBefore","Alt-Backspace":"delWordBefore","Ctrl-KLine truncated
`,"start")},toggleOverwrite:function(A){return A.toggleOverwrite()}};function Rc(A,p){var x=Gn(A.doc,p),b=vr(x);return b!=x&&(p=_e(b)),hp(!0,A,b,p,1)}function rg(A,p){var x=Gn(A.doc,p),b=kr(x);return b!=x&&(p=_e(b)),hp(!0,A,x,p,-1)}function E0(A,p){var x=Rc(A,p.line),b=Gn(A.doc,x.line),B=On(b,A.doc.direction);if(!B||B[0].level==0){var U=Math.max(x.ch,b.text.search(/\S/)),q=p.line==x.line&&p.ch<=U&&p.ch;return Ft(x.line,q?0:U,x.sticky)}return x}function wd(A,p,x){if(typeof p=="string"&&(p=fp[p],!p))return!1;A.display.input.ensurePolled();var b=A.display.shift,B=!1;try{A.isReadOnly()&&(A.state.suppressEdits=!0),x&&(A.display.shift=!1),B=p(A)!=ot}finally{A.display.shift=b,A.state.suppressEdits=!1}return B}function Qv(A,p,x){for(var b=0;b<A.state.keyMaps.length;b++){var B=Pu(p,A.state.keyMaps[b],x,A);if(B)return B}return A.options.extraKeys&&Pu(p,A.options.extraKeys,x,A)||Pu(p,A.options.keyMap,x,A)}var af=new Se;function pp(A,p,x,b){var B=A.state.keySeq;if(B){if(am(p))return"handled";if(/\'$/.test(p)?A.state.keySeq=null:af.set(50,function(){A.state.keySeq==B&&(A.state.keySeq=null,A.display.input.reset())}),xa(A,B+" "+p,x,b))return!0}return xa(A,p,x,b)}function xa(A,p,x,b){var B=Qv(A,p,b);return B=="multi"&&(A.state.keySeq=p),B=="handled"&&ko(A,"keyHandled",A,p,x),(B=="handled"||B=="multi")&&(rt(x),Xu(A)),!!B}function sf(A,p){var x=_d(p,!0);return x?p.shiftKey&&!A.state.keySeq?pp(A,"Shift-"+x,p,function(b){return wd(A,b,!0)})||pp(A,x,p,function(b){if(typeof b=="string"?/^go[A-Z]/.test(b):b.motion)return wd(A,b)}):pp(A,x,p,function(b){return wd(A,b)}):!1}function ig(A,p,x){return pp(A,"'"+x+"'",p,function(b){return wd(A,b,!0)})}var sh=null;function lf(A){var p=this;if(!(A.target&&A.target!=p.display.input.getField())&&(p.curOp.focus=ft(Ht(p)),!ce(p,A))){d&&f<11&&A.keyCode==27&&(A.returnValue=!1);var x=A.keyCode;p.display.shift=x==16||A.shiftKey;var b=sf(p,A);L&&(sh=b?x:null,!b&&x==88&&!Qr&&(pe?A.metaKey:A.ctrlKey)&&p.replaceSelection("",null,"cut")),i&&!pe&&!b&&x==46&&A.shiftKey&&!A.ctrlKey&&document.execCommand&&document.execCommand("cut"),x==18&&!/\bCodeMirror-crosshair\b/.test(p.display.lineDiv.className)&&el(p)}}function el(A){var p=A.display.lineDiv;Re(p,"CodeMirror-crosshair");function x(b){(b.keyCode==18||!b.altKey)&&(Pe(p,"CodeMirror-crosshair"),rr(document,"keyup",x),rr(document,"mouseover",x))}Kt(document,"keyup",x),Kt(document,"mouseover",x)}function sA(A){A.keyCode==16&&(this.doc.sel.shift=!1),ce(this,A)}function O0(A){var p=this;if(!(A.target&&A.target!=p.display.input.getField())&&!(Ul(p.display,A)||ce(p,A)||A.ctrlKey&&!A.altKey||pe&&A.metaKey)){var x=A.keyCode,b=A.charCode;if(L&&x==sh){sh=null,rt(A);return}if(!(L&&(!A.which||A.which<10)&&sf(p,A))){var B=String.fromCharCode(b??x);B!="\b"&&(ig(p,A,B)||p.display.input.onKeyPress(A))}}}var mp=400,Md=function(A,p,x){this.time=A,this.pos=p,this.button=x};Md.prototype.compare=function(A,p,x){return this.time+mp>A&&wn(p,this.pos)==0&&x==this.button};var lA,lh;function og(A,p){var x=+new Date;return lh&&lh.compare(x,A,p)?(lA=lh=null,"triple"):lA&&lA.compare(x,A,p)?(lh=new Md(x,A,p),lA=null,"double"):(lA=new Md(x,A,p),lh=null,"single")}function B0(A){var p=this,x=p.display;if(!(ce(p,A)||x.activeTouch&&x.input.supportsTouch())){if(x.input.ensurePolled(),x.shift=A.shiftKey,Ul(x,A)){C||(x.scroller.draggable=!1,setTimeout(function(){return x.scroller.draggable=!0},100));return}if(!Ah(p,A)){var b=lu(p,A),B=tn(A),U=b?og(b,B):"single";Qt(p).focus(),B==1&&p.state.selectingText&&p.state.selectingText(A),!(b&&uf(p,B,b,U,A))&&(B==1?b?uh(p,b,U,A):Mt(A)==x.scroller&&rt(A):B==2?(b&&Js(p.doc,b),setTimeout(function(){return x.input.focus()},20)):B==3&&(we?p.display.input.onContextMenu(A):nc(p)))}}}function uf(A,p,x,b,B){var U="Click";return b=="double"?U="Double"+U:b=="triple"&&(U="Triple"+U),U=(p==1?"Left":p==2?"Middle":"Right")+U,pp(A,cp(U,B),B,function(q){if(typeof q=="string"&&(q=fp[q]),!q)return!1;var ne=!1;try{A.isReadOnly()&&(A.state.suppressEdits=!0),ne=q(A,x)!=ot}finally{A.state.suppressEdits=!1}return ne})}function Af(A,p,x){var b=A.getOption("configureMouse"),B=b?b(A,p,x):{};if(B.unit==null){var U=fe?x.shiftKey&&x.metaKey:x.altKey;B.unit=U?"rectangle":p=="single"?"char":p=="double"?"word":"line"}return(B.extend==null||A.doc.extend)&&(B.extend=A.doc.extend||x.shiftKey),B.addNew==null&&(B.addNew=pe?x.metaKey:x.ctrlKey),B.moveOnDrag==null&&(B.moveOnDrag=!(pe?x.altKey:x.ctrlKey)),B}function uh(A,p,x,b){d?setTimeout(Yt(Ju,A),0):A.curOp.focus=ft(Ht(A));var B=Af(A,x,b),U=A.doc.sel,q;A.options.dragDrop&&qt&&!A.isReadOnly()&&x=="single"&&(q=U.contains(p))>-1&&(wn((q=U.ranges[q]).from(),p)<0||p.xRel>0)&&(wn(q.to(),p)>0||p.xRel<0)?Yv(A,b,p,B):sm(A,b,p,B)}function Yv(A,p,x,b){var B=A.display,U=!1,q=$i(A,function(ve){C&&(B.scroller.draggable=!1),A.state.draggingText=!1,A.state.delayingBlurEvent&&(A.hasFocus()?A.state.delayingBlurEvent=!1:nc(A)),rr(B.wrapper.ownerDocument,"mouseup",q),rr(B.wrapper.ownerDocument,"mousemove",ne),rr(B.scroller,"dragstart",ue),rr(B.scroller,"drop Line truncated
left: `+p.left+"px; width: "+Math.max(2,p.right-p.left)+"px;");A.display.lineSpace.appendChild(q),q.scrollIntoView(B),A.display.lineSpace.removeChild(q)}}}function rp(A,p,x,b){b==null&&(b=0);var B;!A.options.lineWrapping&&p==x&&(x=p.sticky=="before"?Ft(p.line,p.ch+1,"before"):p,p=p.ch?Ft(p.line,p.sticky=="before"?p.ch-1:p.ch,"after"):p);for(var U=0;U<5;U++){var q=!1,ne=jt(A,p),ue=!x||x==p?ne:jt(A,x);B={left:Math.min(ne.left,ue.left),top:Math.min(ne.top,ue.top)-b,right:Math.max(ne.left,ue.left),bottom:Math.max(ne.bottom,ue.bottom)+b};var ve=qh(A,B),Qe=A.doc.scrollTop,nt=A.doc.scrollLeft;if(ve.scrollTop!=null&&(Fc(A,ve.scrollTop),Math.abs(A.doc.scrollTop-Qe)>1&&(q=!0)),ve.scrollLeft!=null&&(da(A,ve.scrollLeft),Math.abs(A.doc.scrollLeft-nt)>1&&(q=!0)),!q)break}return B}function Yh(A,p){var x=qh(A,p);x.scrollTop!=null&&Fc(A,x.scrollTop),x.scrollLeft!=null&&da(A,x.scrollLeft)}function qh(A,p){var x=A.display,b=Qa(A.display);p.top<0&&(p.top=0);var B=A.curOp&&A.curOp.scrollTop!=null?A.curOp.scrollTop:x.scroller.scrollTop,U=ZA(A),q={};p.bottom-p.top>U&&(p.bottom=p.top+U);var ne=A.doc.height+Gh(x),ue=p.top<b,ve=p.bottom>ne-b;if(p.top<B)q.scrollTop=ue?0:p.top;else if(p.bottom>B+U){var Qe=Math.min(p.top,(ve?ne:p.bottom)-U);Qe!=B&&(q.scrollTop=Qe)}var nt=A.options.fixedGutter?0:x.gutters.offsetWidth,Ot=A.curOp&&A.curOp.scrollLeft!=null?A.curOp.scrollLeft:x.scroller.scrollLeft-nt,Ct=wA(A)-x.gutters.offsetWidth,Nt=p.right-p.left>Ct;return Nt&&(p.right=p.left+Ct),p.left<10?q.scrollLeft=0:p.left<Ot?q.scrollLeft=Math.max(0,p.left+nt-(Nt?0:10)):p.right>Ct+Ot-3&&(q.scrollLeft=p.right+(Nt?0:10)-Ct),q}function ip(A,p){p!=null&&(Ir(A),A.curOp.scrollTop=(A.curOp.scrollTop==null?A.doc.scrollTop:A.curOp.scrollTop)+p)}function ao(A){Ir(A);var p=A.getCursor();A.curOp.scrollToPos={from:p,to:p,margin:A.options.cursorScrollMargin}}function ca(A,p,x){(p!=null||x!=null)&&Ir(A),p!=null&&(A.curOp.scrollLeft=p),x!=null&&(A.curOp.scrollTop=x)}function xr(A,p){Ir(A),A.curOp.scrollToPos=p}function Ir(A){var p=A.curOp.scrollToPos;if(p){A.curOp.scrollToPos=null;var x=fr(A,p.from),b=fr(A,p.to);OA(A,x,b,p.margin)}}function OA(A,p,x,b){var B=qh(A,{left:Math.min(p.left,x.left),top:Math.min(p.top,x.top)-b,right:Math.max(p.right,x.right),bottom:Math.max(p.bottom,x.bottom)+b});ca(A,B.scrollLeft,B.scrollTop)}function Fc(A,p){Math.abs(A.doc.scrollTop-p)<2||(i||Wl(A,{top:p}),rc(A,p,!0),i&&Wl(A),ac(A,100))}function rc(A,p,x){p=Math.max(0,Math.min(A.display.scroller.scrollHeight-A.display.scroller.clientHeight,p)),!(A.display.scroller.scrollTop==p&&!x)&&(A.doc.scrollTop=p,A.display.scrollbars.setScrollTop(p),A.display.scroller.scrollTop!=p&&(A.display.scroller.scrollTop=p))}function da(A,p,x,b){p=Math.max(0,Math.min(p,A.display.scroller.scrollWidth-A.display.scroller.clientWidth)),!((x?p==A.doc.scrollLeft:Math.abs(A.doc.scrollLeft-p)<2)&&!b)&&(A.doc.scrollLeft=p,I(A),A.display.scroller.scrollLeft!=p&&(A.display.scroller.scrollLeft=p),A.display.scrollbars.setScrollLeft(p))}function ic(A){var p=A.display,x=p.gutters.offsetWidth,b=Math.round(A.doc.height+Gh(A.display));return{clientHeight:p.scroller.clientHeight,viewHeight:p.wrapper.clientHeight,scrollWidth:p.scroller.scrollWidth,clientWidth:p.scroller.clientWidth,viewWidth:p.wrapper.clientWidth,barLeft:A.options.fixedGutter?x:0,docHeight:b,scrollHeight:b+Ou(A)+p.barHeight,nativeBarWidth:p.nativeBarWidth,gutterWidth:x}}var ka=function(A,p,x){this.cm=x;var b=this.vert=ye("div",[ye("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),B=this.horiz=ye("div",[ye("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");b.tabIndex=B.tabIndex=-1,A(b),A(B),Kt(b,"scroll",function(){b.clientHeight&&p(b.scrollTop,"vertical")}),Kt(B,"scroll",function(){B.clientWidth&&p(B.scrollLeft,"horizontal")}),this.checkedZeroWidth=!1,d&&f<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")};ka.prototype.update=function(A){var p=A.scrollWidth>A.clientWidth+1,x=A.scrollHeight>A.clientHeight+1,b=A.nativeBarWidth;if(x){this.vert.style.display="block",this.vert.style.bottom=p?b+"px":"0";var B=A.viewHeight-(p?b:0);this.vert.firstChild.style.height=Math.max(0,A.scrollHeight-A.clientHeight+B)+"px"}else this.vert.scrollTop=0,this.vert.style.display="",this.vert.firstChild.style.height="0";if(p){this.horiz.style.display="block",this.horiz.style.right=x?b+"px":"0",this.horiz.style.left=A.barLeft+"px";var U=A.viewWidth-A.barLeft-(x?b:0);this.horiz.firstChild.style.width=Math.max(0,A.scrollWidth-A.clientWidth+U)+"px"}else this.horiz.style.display="",this.horiz.firstChild.style.width="0";return!this.checkedZeroWidth&&A.clientHeight>0&&(b==0&&this.zeroWidthHack(),this.checkedZeroWidth=!0),{right:x?b:0,bottom:p?b:0}},ka.prototype.setScrollLeft=function(A){this.horiz.scrollLeft!=A&&(this.horiz.scrollLeft=A),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,"horiz")},ka.prototype.setScrollTop=function(A){this.vert.scrollTop!=A&&(this.vert.scrollTop=A),this.disableVert&& Line truncated
`},setDirection:_a(function(A){A!="rtl"&&(A="ltr"),A!=this.direction&&(this.direction=A,this.iter(function(p){return p.order=null}),this.cm&&qn(this.cm))})}),Os.prototype.eachLine=Os.prototype.iter;var rm=0;function im(A){var p=this;if(w0(p),!(ce(p,A)||Ul(p.display,A))){rt(A),d&&(rm=+new Date);var x=lu(p,A,!0),b=A.dataTransfer.files;if(!(!x||p.isReadOnly()))if(b&&b.length&&window.FileReader&&window.File)for(var B=b.length,U=Array(B),q=0,ne=function(){++q==B&&$i(p,function(){x=Lr(p.doc,x);var Ct={from:x,to:x,text:p.doc.splitLines(U.filter(function(Nt){return Nt!=null}).join(p.doc.lineSeparator())),origin:"paste"};cu(p.doc,Ct),Ss(p.doc,Ye(Lr(p.doc,x),Lr(p.doc,He(Ct))))})()},ue=function(Ct,Nt){if(p.options.allowDropFileTypes&&ze(p.options.allowDropFileTypes,Ct.type)==-1){ne();return}var cn=new FileReader;cn.onerror=function(){return ne()},cn.onload=function(){var kn=cn.result;if(/[\x00-\x08\x0e-\x1f]{2}/.test(kn)){ne();return}U[Nt]=kn,ne()},cn.readAsText(Ct)},ve=0;ve<b.length;ve++)ue(b[ve],ve);else{if(p.state.draggingText&&p.doc.sel.contains(x)>-1){p.state.draggingText(A),setTimeout(function(){return p.display.input.focus()},20);return}try{var Qe=A.dataTransfer.getData("Text");if(Qe){var nt;if(p.state.draggingText&&!p.state.draggingText.copy&&(nt=p.listSelections()),Bi(p.doc,Ye(x,x)),nt)for(var Ot=0;Ot<nt.length;++Ot)IA(p.doc,"",nt[Ot].anchor,nt[Ot].head,"drag");p.replaceSelection(Qe,"around","paste"),p.display.input.focus()}}catch{}}}}function x0(A,p){if(d&&(!A.state.draggingText||+new Date-rm<100)){et(p);return}if(!(ce(A,p)||Ul(A.display,p))&&(p.dataTransfer.setData("Text",A.getSelection()),p.dataTransfer.effectAllowed="copyMove",p.dataTransfer.setDragImage&&!$)){var x=ye("img",null,null,"position: fixed; left: 0; top: 0;");x.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",L&&(x.width=x.height=1,A.display.wrapper.appendChild(x),x._top=x.offsetTop),p.dataTransfer.setDragImage(x,0,0),L&&x.parentNode.removeChild(x)}}function Qi(A,p){var x=lu(A,p);if(x){var b=document.createDocumentFragment();tc(A,x,b),A.display.dragCursor||(A.display.dragCursor=ye("div",null,"CodeMirror-cursors CodeMirror-dragcursors"),A.display.lineSpace.insertBefore(A.display.dragCursor,A.display.cursorDiv)),$e(A.display.dragCursor,b)}}function w0(A){A.display.dragCursor&&(A.display.lineSpace.removeChild(A.display.dragCursor),A.display.dragCursor=null)}function M0(A){if(document.getElementsByClassName){for(var p=document.getElementsByClassName("CodeMirror"),x=[],b=0;b<p.length;b++){var B=p[b].CodeMirror;B&&x.push(B)}x.length&&x[0].operation(function(){for(var U=0;U<x.length;U++)A(x[U])})}}var rf=!1;function om(){rf||(tg(),rf=!0)}function tg(){var A;Kt(window,"resize",function(){A==null&&(A=setTimeout(function(){A=null,M0(S0)},100))}),Kt(window,"blur",function(){return M0(Dc)})}function S0(A){var p=A.display;p.cachedCharWidth=p.cachedTextHeight=p.cachedPaddingH=null,p.scrollbarsClipped=!1,A.setSize()}for(var Da={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"},pl=0;pl<10;pl++)Da[pl+48]=Da[pl+96]=String(pl);for(var Cd=65;Cd<=90;Cd++)Da[Cd]=String.fromCharCode(Cd);for(var ah=1;ah<=12;ah++)Da[ah+111]=Da[ah+63235]="F"+ah;var kA={};kA.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"},kA.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"},kA.emacsy={"Ctrl-F":"goCharRight","Ctrl-B":"goCharLeft","Ctrl-P":"goLineUp","Ctrl-N":"goLineDown","Ctrl-A":"goLineStart","Ctrl-E":"goLineEnd","Ctrl-V":"goPageDown","Shift-Ctrl-V":"goPageUp","Ctrl-D":"delCharAfter","Ctrl-H":"delCharBefore","Alt-Backspace":"delWordBefore","Ctrl-KLine truncated
`,"start")},toggleOverwrite:function(A){return A.toggleOverwrite()}};function Rc(A,p){var x=Gn(A.doc,p),b=vr(x);return b!=x&&(p=_e(b)),hp(!0,A,b,p,1)}function rg(A,p){var x=Gn(A.doc,p),b=kr(x);return b!=x&&(p=_e(b)),hp(!0,A,x,p,-1)}function E0(A,p){var x=Rc(A,p.line),b=Gn(A.doc,x.line),B=On(b,A.doc.direction);if(!B||B[0].level==0){var U=Math.max(x.ch,b.text.search(/\S/)),q=p.line==x.line&&p.ch<=U&&p.ch;return Ft(x.line,q?0:U,x.sticky)}return x}function wd(A,p,x){if(typeof p=="string"&&(p=fp[p],!p))return!1;A.display.input.ensurePolled();var b=A.display.shift,B=!1;try{A.isReadOnly()&&(A.state.suppressEdits=!0),x&&(A.display.shift=!1),B=p(A)!=ot}finally{A.display.shift=b,A.state.suppressEdits=!1}return B}function Qv(A,p,x){for(var b=0;b<A.state.keyMaps.length;b++){var B=Pu(p,A.state.keyMaps[b],x,A);if(B)return B}return A.options.extraKeys&&Pu(p,A.options.extraKeys,x,A)||Pu(p,A.options.keyMap,x,A)}var af=new Se;function pp(A,p,x,b){var B=A.state.keySeq;if(B){if(am(p))return"handled";if(/\'$/.test(p)?A.state.keySeq=null:af.set(50,function(){A.state.keySeq==B&&(A.state.keySeq=null,A.display.input.reset())}),xa(A,B+" "+p,x,b))return!0}return xa(A,p,x,b)}function xa(A,p,x,b){var B=Qv(A,p,b);return B=="multi"&&(A.state.keySeq=p),B=="handled"&&ko(A,"keyHandled",A,p,x),(B=="handled"||B=="multi")&&(rt(x),Xu(A)),!!B}function sf(A,p){var x=_d(p,!0);return x?p.shiftKey&&!A.state.keySeq?pp(A,"Shift-"+x,p,function(b){return wd(A,b,!0)})||pp(A,x,p,function(b){if(typeof b=="string"?/^go[A-Z]/.test(b):b.motion)return wd(A,b)}):pp(A,x,p,function(b){return wd(A,b)}):!1}function ig(A,p,x){return pp(A,"'"+x+"'",p,function(b){return wd(A,b,!0)})}var sh=null;function lf(A){var p=this;if(!(A.target&&A.target!=p.display.input.getField())&&(p.curOp.focus=ft(Ht(p)),!ce(p,A))){d&&f<11&&A.keyCode==27&&(A.returnValue=!1);var x=A.keyCode;p.display.shift=x==16||A.shiftKey;var b=sf(p,A);L&&(sh=b?x:null,!b&&x==88&&!Qr&&(pe?A.metaKey:A.ctrlKey)&&p.replaceSelection("",null,"cut")),i&&!pe&&!b&&x==46&&A.shiftKey&&!A.ctrlKey&&document.execCommand&&document.execCommand("cut"),x==18&&!/\bCodeMirror-crosshair\b/.test(p.display.lineDiv.className)&&el(p)}}function el(A){var p=A.display.lineDiv;Re(p,"CodeMirror-crosshair");function x(b){(b.keyCode==18||!b.altKey)&&(Pe(p,"CodeMirror-crosshair"),rr(document,"keyup",x),rr(document,"mouseover",x))}Kt(document,"keyup",x),Kt(document,"mouseover",x)}function sA(A){A.keyCode==16&&(this.doc.sel.shift=!1),ce(this,A)}function O0(A){var p=this;if(!(A.target&&A.target!=p.display.input.getField())&&!(Ul(p.display,A)||ce(p,A)||A.ctrlKey&&!A.altKey||pe&&A.metaKey)){var x=A.keyCode,b=A.charCode;if(L&&x==sh){sh=null,rt(A);return}if(!(L&&(!A.which||A.which<10)&&sf(p,A))){var B=String.fromCharCode(b??x);B!="\b"&&(ig(p,A,B)||p.display.input.onKeyPress(A))}}}var mp=400,Md=function(A,p,x){this.time=A,this.pos=p,this.button=x};Md.prototype.compare=function(A,p,x){return this.time+mp>A&&wn(p,this.pos)==0&&x==this.button};var lA,lh;function og(A,p){var x=+new Date;return lh&&lh.compare(x,A,p)?(lA=lh=null,"triple"):lA&&lA.compare(x,A,p)?(lh=new Md(x,A,p),lA=null,"double"):(lA=new Md(x,A,p),lh=null,"single")}function B0(A){var p=this,x=p.display;if(!(ce(p,A)||x.activeTouch&&x.input.supportsTouch())){if(x.input.ensurePolled(),x.shift=A.shiftKey,Ul(x,A)){C||(x.scroller.draggable=!1,setTimeout(function(){return x.scroller.draggable=!0},100));return}if(!Ah(p,A)){var b=lu(p,A),B=tn(A),U=b?og(b,B):"single";Qt(p).focus(),B==1&&p.state.selectingText&&p.state.selectingText(A),!(b&&uf(p,B,b,U,A))&&(B==1?b?uh(p,b,U,A):Mt(A)==x.scroller&&rt(A):B==2?(b&&Js(p.doc,b),setTimeout(function(){return x.input.focus()},20)):B==3&&(we?p.display.input.onContextMenu(A):nc(p)))}}}function uf(A,p,x,b,B){var U="Click";return b=="double"?U="Double"+U:b=="triple"&&(U="Triple"+U),U=(p==1?"Left":p==2?"Middle":"Right")+U,pp(A,cp(U,B),B,function(q){if(typeof q=="string"&&(q=fp[q]),!q)return!1;var ne=!1;try{A.isReadOnly()&&(A.state.suppressEdits=!0),ne=q(A,x)!=ot}finally{A.state.suppressEdits=!1}return ne})}function Af(A,p,x){var b=A.getOption("configureMouse"),B=b?b(A,p,x):{};if(B.unit==null){var U=fe?x.shiftKey&&x.metaKey:x.altKey;B.unit=U?"rectangle":p=="single"?"char":p=="double"?"word":"line"}return(B.extend==null||A.doc.extend)&&(B.extend=A.doc.extend||x.shiftKey),B.addNew==null&&(B.addNew=pe?x.metaKey:x.ctrlKey),B.moveOnDrag==null&&(B.moveOnDrag=!(pe?x.altKey:x.ctrlKey)),B}function uh(A,p,x,b){d?setTimeout(Yt(Ju,A),0):A.curOp.focus=ft(Ht(A));var B=Af(A,x,b),U=A.doc.sel,q;A.options.dragDrop&&qt&&!A.isReadOnly()&&x=="single"&&(q=U.contains(p))>-1&&(wn((q=U.ranges[q]).from(),p)<0||p.xRel>0)&&(wn(q.to(),p)>0||p.xRel<0)?Yv(A,b,p,B):sm(A,b,p,B)}function Yv(A,p,x,b){var B=A.display,U=!1,q=$i(A,function(ve){C&&(B.scroller.draggable=!1),A.state.draggingText=!1,A.state.delayingBlurEvent&&(A.hasFocus()?A.state.delayingBlurEvent=!1:nc(A)),rr(B.wrapper.ownerDocument,"mouseup",q),rr(B.wrapper.ownerDocument,"mousemove",ne),rr(B.scroller,"dragstart",ue),rr(B.scroller,"drop Line truncated
`)==p){if(b.ranges.length%Lu.text.length==0){ve=[];for(var Qe=0;Qe<Lu.text.length;Qe++)ve.push(U.splitLines(Lu.text[Qe]))}}else ue.length==b.ranges.length&&A.options.pasteLinesPerSelection&&(ve=tr(ue,function(Vn){return[Vn]}));for(var nt=A.curOp.updateInput,Ot=b.ranges.length-1;Ot>=0;Ot--){var Ct=b.ranges[Ot],Nt=Ct.from(),cn=Ct.to();Ct.empty()&&(x&&x>0?Nt=Ft(Nt.line,Nt.ch-x):A.state.overwrite&&!ne?cn=Ft(cn.line,Math.min(Gn(U,cn.line).text.length,cn.ch+yn(ue).length)):ne&&Lu&&Lu.lineWise&&Lu.text.join(`
`)==ue.join(`
`)&&(Nt=cn=Ft(Nt.line,0)));var kn={from:Nt,to:cn,text:ve?ve[Ot%ve.length]:ue,origin:B||(ne?"paste":A.state.cutIncoming>q?"cut":"+input")};cu(A.doc,kn),ko(A,"inputRead",A,kn)}p&&!ne&&hm(A,p),ao(A),A.curOp.updateInput<2&&(A.curOp.updateInput=nt),A.curOp.typing=!0,A.state.pasteIncoming=A.state.cutIncoming=-1}function cc(A,p){var x=A.clipboardData&&A.clipboardData.getData("Text");if(x)return A.preventDefault(),!p.isReadOnly()&&!p.options.disableInput&&p.hasFocus()&&us(p,function(){return k0(p,x,0,null,"paste")}),!0}function hm(A,p){if(!(!A.options.electricChars||!A.options.smartIndent))for(var x=A.doc.sel,b=x.ranges.length-1;b>=0;b--){var B=x.ranges[b];if(!(B.head.ch>100||b&&x.ranges[b-1].head.line==B.head.line)){var U=A.getModeAt(B.head),q=!1;if(U.electricChars){for(var ne=0;ne<U.electricChars.length;ne++)if(p.indexOf(U.electricChars.charAt(ne))>-1){q=df(A,B.head.line,"smart");break}}else U.electricInput&&U.electricInput.test(Gn(A.doc,B.head.line).text.slice(0,B.head.ch))&&(q=df(A,B.head.line,"smart"));q&&ko(A,"electricInput",A,B.head.line)}}}function hf(A){for(var p=[],x=[],b=0;b<A.doc.sel.ranges.length;b++){var B=A.doc.sel.ranges[b].head.line,U={anchor:Ft(B,0),head:Ft(B+1,0)};x.push(U),p.push(A.getRange(U.anchor,U.head))}return{text:p,ranges:x}}function zc(A,p,x,b){A.setAttribute("autocorrect",x?"on":"off"),A.setAttribute("autocapitalize",b?"on":"off"),A.setAttribute("spellcheck",!!p)}function hh(){var A=ye("textarea",null,null,"position: absolute; bottom: -1em; padding: 0; width: 1px; height: 1em; min-height: 1em; outline: none"),p=ye("div",[A],null,"overflow: hidden; position: relative; width: 3px; height: 0px;");return C?A.style.width="1000px":A.setAttribute("wrap","off"),N&&(A.style.border="1px solid black"),p}function ff(A){var p=A.optionHandlers,x=A.helpers={};A.prototype={constructor:A,focus:function(){Qt(this).focus(),this.display.input.focus()},setOption:function(b,B){var U=this.options,q=U[b];U[b]==B&&b!="mode"||(U[b]=B,p.hasOwnProperty(b)&&$i(this,p[b])(this,B,q),De(this,"optionChange",this,b))},getOption:function(b){return this.options[b]},getDoc:function(){return this.doc},addKeyMap:function(b,B){this.state.keyMaps[B?"push":"unshift"](of(b))},removeKeyMap:function(b){for(var B=this.state.keyMaps,U=0;U<B.length;++U)if(B[U]==b||B[U].name==b)return B.splice(U,1),!0},addOverlay:Yr(function(b,B){var U=b.token?b:A.getMode(this.options,b);if(U.startState)throw new Error("Overlays may not be stateful.");dr(this.state.overlays,{mode:U,modeSpec:b,opaque:B&&B.opaque,priority:B&&B.priority||0},function(q){return q.priority}),this.state.modeGen++,Ca(this)}),removeOverlay:Yr(function(b){for(var B=this.state.overlays,U=0;U<B.length;++U){var q=B[U].modeSpec;if(q==b||typeof b=="string"&&q.name==b){B.splice(U,1),this.state.modeGen++,Ca(this);return}}}),indentLine:Yr(function(b,B,U){typeof B!="string"&&typeof B!="number"&&(B==null?B=this.options.smartIndent?"smart":"prev":B=B?"add":"subtract"),Zt(this.doc,b)&&df(this,b,B,U)}),indentSelection:Yr(function(b){for(var B=this.doc.sel.ranges,U=-1,q=0;q<B.length;q++){var ne=B[q];if(ne.empty())ne.head.line>U&&(df(this,ne.head.line,b,!0),U=ne.head.line,q==this.doc.sel.primIndex&&ao(this));else{var ue=ne.from(),ve=ne.to(),Qe=Math.max(U,ue.line);U=Math.min(this.lastLine(),ve.line-(ve.ch?0:1))+1;for(var nt=Qe;nt<U;++nt)df(this,nt,b);var Ot=this.doc.sel.ranges;ue.ch==0&&B.length==Ot.length&&Ot[q].from().ch>0&&Ms(this.doc,q,new Oe(ue,Ot[q].to()),St)}}}),getTokenAt:function(b,B){return _A(this,b,B)},getLineTokens:function(b,B){return _A(this,Ft(b),B,!0)},getTokenTypeAt:function(b){b=Lr(this.doc,b);var B=as(this,Gn(this.doc,b.line)),U=0,q=(B.length-1)/2,ne=b.ch,ue;if(ne==0)ue=B[2];else for(;;){var ve=U+q>>1;if((ve?B[ve*2-1]:0)>=ne)q=ve;else if(B[ve*2+1]<ne)U=ve+1;else{ue=B[ve*2+2];break}}var Qe=ue?ue.indexOf("overlay "):-1;return Qe<0?ue:Qe==0?null:ue.slice(0,Qe-1)},getModeAt:function(b){var B=this.doc.mode;return B.innerMode?A.innerMode(B,this.getTokenAt(b).state).mode:B},getHelper:function(b,B){return this.getHelpers(b,B)[0]},getHelpers:function(b,B){var U=[];if(!x.hasOwnProperty(B))return U;var q=x[B],ne=this.getModeAt(b);if(typeof ne[B]=="string")q[ne[B]]&&U.push(q[ne[B]]);else if(ne[B])for(var ue=0;ue<ne[B].length;ue++){var ve=q[ne[B][ue]];ve&&U.push(ve)}else ne.helperType&&q[ne.helperType]?U.push(q[ne.helperType]):q[ne.name]&&U.push(q[ne.name]);for(var Qe=0;Qe<q._global.length;Qe++){var nt=q._global[Qe];nt.pred(ne,this)&&ze(U,nt.val)==-1&&U.push(nt.val)}return U},getStateAfter:function(b,B){var U=this.doc;return b=Ka(U,b??U.first+U.size-1),ta(this,b+1,B).state},cursorCoords:function(b,B){var U,q=this.doc.sel.primary();return b==null?U=q.head:typeof b=="object"?U=Lr(this.doc,b):U=b?q.from():q.to(),jt(this,U,B||"page")},charCoords:function(b,B){return an(this,Lr(this.doc,b),B||"page")},coordsChar:function(b,B){return b=Et(this,b,B||"page"),oo(this,b.left,b.top)},lineAtHeight:function(b,B){return b=Et(this,{top:b,left:0},B||"page").top,Je(this.doc,b+this.display.viewOffset)}, Line truncated
`)&&(Nt=cn=Ft(Nt.line,0)));var kn={from:Nt,to:cn,text:ve?ve[Ot%ve.length]:ue,origin:B||(ne?"paste":A.state.cutIncoming>q?"cut":"+input")};cu(A.doc,kn),ko(A,"inputRead",A,kn)}p&&!ne&&hm(A,p),ao(A),A.curOp.updateInput<2&&(A.curOp.updateInput=nt),A.curOp.typing=!0,A.state.pasteIncoming=A.state.cutIncoming=-1}function cc(A,p){var x=A.clipboardData&&A.clipboardData.getData("Text");if(x)return A.preventDefault(),!p.isReadOnly()&&!p.options.disableInput&&p.hasFocus()&&us(p,function(){return k0(p,x,0,null,"paste")}),!0}function hm(A,p){if(!(!A.options.electricChars||!A.options.smartIndent))for(var x=A.doc.sel,b=x.ranges.length-1;b>=0;b--){var B=x.ranges[b];if(!(B.head.ch>100||b&&x.ranges[b-1].head.line==B.head.line)){var U=A.getModeAt(B.head),q=!1;if(U.electricChars){for(var ne=0;ne<U.electricChars.length;ne++)if(p.indexOf(U.electricChars.charAt(ne))>-1){q=df(A,B.head.line,"smart");break}}else U.electricInput&&U.electricInput.test(Gn(A.doc,B.head.line).text.slice(0,B.head.ch))&&(q=df(A,B.head.line,"smart"));q&&ko(A,"electricInput",A,B.head.line)}}}function hf(A){for(var p=[],x=[],b=0;b<A.doc.sel.ranges.length;b++){var B=A.doc.sel.ranges[b].head.line,U={anchor:Ft(B,0),head:Ft(B+1,0)};x.push(U),p.push(A.getRange(U.anchor,U.head))}return{text:p,ranges:x}}function zc(A,p,x,b){A.setAttribute("autocorrect",x?"on":"off"),A.setAttribute("autocapitalize",b?"on":"off"),A.setAttribute("spellcheck",!!p)}function hh(){var A=ye("textarea",null,null,"position: absolute; bottom: -1em; padding: 0; width: 1px; height: 1em; min-height: 1em; outline: none"),p=ye("div",[A],null,"overflow: hidden; position: relative; width: 3px; height: 0px;");return C?A.style.width="1000px":A.setAttribute("wrap","off"),N&&(A.style.border="1px solid black"),p}function ff(A){var p=A.optionHandlers,x=A.helpers={};A.prototype={constructor:A,focus:function(){Qt(this).focus(),this.display.input.focus()},setOption:function(b,B){var U=this.options,q=U[b];U[b]==B&&b!="mode"||(U[b]=B,p.hasOwnProperty(b)&&$i(this,p[b])(this,B,q),De(this,"optionChange",this,b))},getOption:function(b){return this.options[b]},getDoc:function(){return this.doc},addKeyMap:function(b,B){this.state.keyMaps[B?"push":"unshift"](of(b))},removeKeyMap:function(b){for(var B=this.state.keyMaps,U=0;U<B.length;++U)if(B[U]==b||B[U].name==b)return B.splice(U,1),!0},addOverlay:Yr(function(b,B){var U=b.token?b:A.getMode(this.options,b);if(U.startState)throw new Error("Overlays may not be stateful.");dr(this.state.overlays,{mode:U,modeSpec:b,opaque:B&&B.opaque,priority:B&&B.priority||0},function(q){return q.priority}),this.state.modeGen++,Ca(this)}),removeOverlay:Yr(function(b){for(var B=this.state.overlays,U=0;U<B.length;++U){var q=B[U].modeSpec;if(q==b||typeof b=="string"&&q.name==b){B.splice(U,1),this.state.modeGen++,Ca(this);return}}}),indentLine:Yr(function(b,B,U){typeof B!="string"&&typeof B!="number"&&(B==null?B=this.options.smartIndent?"smart":"prev":B=B?"add":"subtract"),Zt(this.doc,b)&&df(this,b,B,U)}),indentSelection:Yr(function(b){for(var B=this.doc.sel.ranges,U=-1,q=0;q<B.length;q++){var ne=B[q];if(ne.empty())ne.head.line>U&&(df(this,ne.head.line,b,!0),U=ne.head.line,q==this.doc.sel.primIndex&&ao(this));else{var ue=ne.from(),ve=ne.to(),Qe=Math.max(U,ue.line);U=Math.min(this.lastLine(),ve.line-(ve.ch?0:1))+1;for(var nt=Qe;nt<U;++nt)df(this,nt,b);var Ot=this.doc.sel.ranges;ue.ch==0&&B.length==Ot.length&&Ot[q].from().ch>0&&Ms(this.doc,q,new Oe(ue,Ot[q].to()),St)}}}),getTokenAt:function(b,B){return _A(this,b,B)},getLineTokens:function(b,B){return _A(this,Ft(b),B,!0)},getTokenTypeAt:function(b){b=Lr(this.doc,b);var B=as(this,Gn(this.doc,b.line)),U=0,q=(B.length-1)/2,ne=b.ch,ue;if(ne==0)ue=B[2];else for(;;){var ve=U+q>>1;if((ve?B[ve*2-1]:0)>=ne)q=ve;else if(B[ve*2+1]<ne)U=ve+1;else{ue=B[ve*2+2];break}}var Qe=ue?ue.indexOf("overlay "):-1;return Qe<0?ue:Qe==0?null:ue.slice(0,Qe-1)},getModeAt:function(b){var B=this.doc.mode;return B.innerMode?A.innerMode(B,this.getTokenAt(b).state).mode:B},getHelper:function(b,B){return this.getHelpers(b,B)[0]},getHelpers:function(b,B){var U=[];if(!x.hasOwnProperty(B))return U;var q=x[B],ne=this.getModeAt(b);if(typeof ne[B]=="string")q[ne[B]]&&U.push(q[ne[B]]);else if(ne[B])for(var ue=0;ue<ne[B].length;ue++){var ve=q[ne[B][ue]];ve&&U.push(ve)}else ne.helperType&&q[ne.helperType]?U.push(q[ne.helperType]):q[ne.name]&&U.push(q[ne.name]);for(var Qe=0;Qe<q._global.length;Qe++){var nt=q._global[Qe];nt.pred(ne,this)&&ze(U,nt.val)==-1&&U.push(nt.val)}return U},getStateAfter:function(b,B){var U=this.doc;return b=Ka(U,b??U.first+U.size-1),ta(this,b+1,B).state},cursorCoords:function(b,B){var U,q=this.doc.sel.primary();return b==null?U=q.head:typeof b=="object"?U=Lr(this.doc,b):U=b?q.from():q.to(),jt(this,U,B||"page")},charCoords:function(b,B){return an(this,Lr(this.doc,b),B||"page")},coordsChar:function(b,B){return b=Et(this,b,B||"page"),oo(this,b.left,b.top)},lineAtHeight:function(b,B){return b=Et(this,{top:b,left:0},B||"page").top,Je(this.doc,b+this.display.viewOffset)}, Line truncated
`,kn=Ee(cn,Ct)?"w":Ot&&cn==`
`?"n":!Ot||/\s/.test(cn)?null:"p";if(Ot&&!Nt&&!kn&&(kn="s"),nt&&nt!=kn){x<0&&(x=1,Qe(),p.sticky="after");break}if(kn&&(nt=kn),x>0&&!Qe(!Nt))break}var Vn=Es(A,p,U,q,!0);return hr(U,Vn)&&(Vn.hitSide=!0),Vn}function pf(A,p,x,b){var B=A.doc,U=p.left,q;if(b=="page"){var ne=Math.min(A.display.wrapper.clientHeight,Qt(A).innerHeight||B(A).documentElement.clientHeight),ue=Math.max(ne-.5*Qa(A.display),3);q=(x>0?p.bottom:p.top)+x*ue}else b=="line"&&(q=x>0?p.bottom+3:p.top-3);for(var ve;ve=oo(A,U,q),!!ve.outside;){if(x<0?q<=0:q>=B.height){ve.hitSide=!0;break}q+=x*5}return ve}var So=function(A){this.cm=A,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new Se,this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null};So.prototype.init=function(A){var p=this,x=this,b=x.cm,B=x.div=A.lineDiv;B.contentEditable=!0,zc(B,b.options.spellcheck,b.options.autocorrect,b.options.autocapitalize);function U(ne){for(var ue=ne.target;ue;ue=ue.parentNode){if(ue==B)return!0;if(/\bCodeMirror-(?:line)?widget\b/.test(ue.className))break}return!1}Kt(B,"paste",function(ne){!U(ne)||ce(b,ne)||cc(ne,b)||f<=11&&setTimeout($i(b,function(){return p.updateFromDOM()}),20)}),Kt(B,"compositionstart",function(ne){p.composing={data:ne.data,done:!1}}),Kt(B,"compositionupdate",function(ne){p.composing||(p.composing={data:ne.data,done:!1})}),Kt(B,"compositionend",function(ne){p.composing&&(ne.data!=p.composing.data&&p.readFromDOMSoon(),p.composing.done=!0)}),Kt(B,"touchstart",function(){return x.forceCompositionEnd()}),Kt(B,"input",function(){p.composing||p.readFromDOMSoon()});function q(ne){if(!(!U(ne)||ce(b,ne))){if(b.somethingSelected())dm({lineWise:!1,text:b.getSelections()}),ne.type=="cut"&&b.replaceSelection("",null,"cut");else if(b.options.lineWiseCopyCut){var ue=hf(b);dm({lineWise:!0,text:ue.text}),ne.type=="cut"&&b.operation(function(){b.setSelections(ue.ranges,0,St),b.replaceSelection("",null,"cut")})}else return;if(ne.clipboardData){ne.clipboardData.clearData();var ve=Lu.text.join(`
`);if(ne.clipboardData.setData("Text",ve),ne.clipboardData.getData("Text")==ve){ne.preventDefault();return}}var Qe=hh(),nt=Qe.firstChild;zc(nt),b.display.lineSpace.insertBefore(Qe,b.display.lineSpace.firstChild),nt.value=Lu.text.join(`
@@ -743,23 +743,23 @@ b`.split(/\n/).length!=3?function(A){for(var p=0,x=[],b=A.length;p<=b;){var B=A.
`)>-1?x.value=A.prevInput="":A.prevInput=B,A.composing&&(A.composing.range.clear(),A.composing.range=p.markText(A.composing.start,p.getCursor("to"),{className:"CodeMirror-composing"}))}),!0},Ya.prototype.ensurePolled=function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},Ya.prototype.onKeyPress=function(){d&&f>=9&&(this.hasSelection=null),this.fastPoll()},Ya.prototype.onContextMenu=function(A){var p=this,x=p.cm,b=x.display,B=p.textarea;p.contextMenuPending&&p.contextMenuPending();var U=lu(x,A),q=b.scroller.scrollTop;if(!U||L)return;var ne=x.options.resetSelectionOnContextMenu;ne&&x.doc.sel.contains(U)==-1&&$i(x,zi)(x.doc,Ye(U),St);var ue=B.style.cssText,ve=p.wrapper.style.cssText,Qe=p.wrapper.offsetParent.getBoundingClientRect();p.wrapper.style.cssText="position: static",B.style.cssText=`position: absolute; width: 30px; height: 30px;
top: `+(A.clientY-Qe.top-5)+"px; left: "+(A.clientX-Qe.left-5)+`px;
z-index: 1000; background: `+(d?"rgba(255, 255, 255, .05)":"transparent")+`;
outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);`;var nt;C&&(nt=B.ownerDocument.defaultView.scrollY),b.input.focus(),C&&B.ownerDocument.defaultView.scrollTo(null,nt),b.input.reset(),x.somethingSelected()||(B.value=p.prevInput=" "),p.contextMenuPending=Ct,b.selForContextMenu=x.doc.sel,clearTimeout(b.detectingSelectAll);function Ot(){if(B.selectionStart!=null){var cn=x.somethingSelected(),kn="​"+(cn?B.value:"");B.value="⇚",B.value=kn,p.prevInput=cn?"":"​",B.selectionStart=1,B.selectionEnd=kn.length,b.selForContextMenu=x.doc.sel}}function Ct(){if(p.contextMenuPending==Ct&&(p.contextMenuPending=!1,p.wrapper.style.cssText=ve,B.style.cssText=ue,d&&f<9&&b.scrollbars.setScrollTop(b.scroller.scrollTop=q),B.selectionStart!=null)){(!d||d&&f<9)&&Ot();var cn=0,kn=function(){b.selForContextMenu==x.doc.sel&&B.selectionStart==0&&B.selectionEnd>0&&p.prevInput=="​"?$i(x,uc)(x):cn++<10?b.detectingSelectAll=setTimeout(kn,500):(b.selForContextMenu=null,b.input.reset())};b.detectingSelectAll=setTimeout(kn,200)}}if(d&&f>=9&&Ot(),we){et(A);var Nt=function(){rr(window,"mouseup",Nt),setTimeout(Ct,20)};Kt(window,"mouseup",Nt)}else setTimeout(Ct,50)},Ya.prototype.readOnlyChanged=function(A){A||this.reset(),this.textarea.disabled=A=="nocursor",this.textarea.readOnly=!!A},Ya.prototype.setUneditable=function(){},Ya.prototype.needsContentAttribute=!1;function Ag(A,p){if(p=p?ke(p):{},p.value=A.value,!p.tabindex&&A.tabIndex&&(p.tabindex=A.tabIndex),!p.placeholder&&A.placeholder&&(p.placeholder=A.placeholder),p.autofocus==null){var x=ft(bt(A));p.autofocus=x==A||A.getAttribute("autofocus")!=null&&x==document.body}function b(){A.value=ne.getValue()}var B;if(A.form&&(Kt(A.form,"submit",b),!p.leaveSubmitMethodAlone)){var U=A.form;B=U.submit;try{var q=U.submit=function(){b(),U.submit=B,U.submit(),U.submit=q}}catch{}}p.finishInit=function(ue){ue.save=b,ue.getTextArea=function(){return A},ue.toTextArea=function(){ue.toTextArea=isNaN,b(),A.parentNode.removeChild(ue.getWrapperElement()),A.style.display="",A.form&&(rr(A.form,"submit",b),!p.leaveSubmitMethodAlone&&typeof A.form.submit=="function"&&(A.form.submit=B))}},A.style.display="none";var ne=_o(function(ue){return A.parentNode.insertBefore(ue,A.nextSibling)},p);return ne}function Vv(A){A.off=rr,A.on=Kt,A.wheelEventPixels=ie,A.Doc=Os,A.splitLines=Or,A.countColumn=ge,A.findColumn=mt,A.isWordChar=_i,A.Pass=ot,A.signal=De,A.Line=Fl,A.changeEnd=He,A.scrollbarModel=Qo,A.Pos=Ft,A.cmpPos=wn,A.modes=ar,A.mimeModes=di,A.resolveMode=ho,A.getMode=si,A.modeExtensions=fo,A.extendMode=Na,A.copyState=Ia,A.startState=os,A.innerMode=Ei,A.commands=fp,A.keyMap=kA,A.keyName=_d,A.isModifierKey=am,A.lookupKey=Pu,A.normalizeKeyMap=Ku,A.StringStream=yi,A.SharedTextMarker=ih,A.TextMarker=du,A.LineWidget=aA,A.e_preventDefault=rt,A.e_stopPropagation=lt,A.e_stop=et,A.addClass=Re,A.contains=st,A.rmClass=Pe,A.keyNames=Da}I0(_o),ff(_o);var T0="iter insert remove copy getEditor constructor".split(" ");for(var mf in Os.prototype)Os.prototype.hasOwnProperty(mf)&&ze(T0,mf)<0&&(_o.prototype[mf]=function(A){return function(){return A.apply(this.doc,arguments)}}(Os.prototype[mf]));return je(Os),_o.inputStyles={textarea:Ya,contenteditable:So},_o.defineMode=function(A){!_o.defaults.mode&&A!="null"&&(_o.defaults.mode=A),Ui.apply(this,arguments)},_o.defineMIME=to,_o.defineMode("null",function(){return{token:function(A){return A.skipToEnd()}}}),_o.defineMIME("text/plain","null"),_o.defineExtension=function(A,p){_o.prototype[A]=p},_o.defineDocExtension=function(A,p){Os.prototype[A]=p},_o.fromTextArea=Ag,Vv(_o),_o.version="5.65.16",_o})}(CE)),CE.exports}var sye=Qw();const qc=ma(sye);(function(n,e){(function(t){t(Qw())})(function(t){t.defineMode("javascript",function(r,i){var o=r.indentUnit,a=i.statementIndent,s=i.jsonld,d=i.json||s,f=i.trackScope!==!1,C=i.typescript,O=i.wordCharacters||/[\w$\xa1-\uffff]/,E=function(){function _e(ii){return{type:ii,style:"keyword"}}var Je=_e("keyword a"),Zt=_e("keyword b"),ln=_e("keyword c"),Ft=_e("keyword d"),wn=_e("operator"),hr={type:"atom",style:"atom"};return{if:_e("if"),while:Je,with:Je,else:Zt,do:Zt,try:Zt,finally:Zt,return:Ft,break:Ft,continue:Ft,new:_e("new"),delete:ln,void:ln,throw:ln,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:wn,typeof:wn,instanceof:wn,true:hr,false:hr,null:hr,undefined:hr,NaN:hr,Infinity:hr,this:_e("this"),class:_e("class"),super:_e("atom"),yield:ln,export:_e("export"),import:_e("import"),extends:ln,await:ln}}(),P=/[+\-*&%=<>!?|~^@]/,L=/^@(context|id|value|language|type|container|list|set|reverse|index|base|vocab|graph)"/;function $(_e){for(var Je=!1,Zt,ln=!1;(Zt=_e.next())!=null;){if(!Je){if(Zt=="/"&&!ln)return;Zt=="["?ln=!0:ln&&Zt=="]"&&(ln=!1)}Je=!Je&&Zt=="\\"}}var H,Q;function N(_e,Je,Zt){return H=_e,Q=Zt,Je}function Z(_e,Je){var Zt=_e.next();if(Zt=='"'||Zt=="'")retur Line truncated
outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);`;var nt;C&&(nt=B.ownerDocument.defaultView.scrollY),b.input.focus(),C&&B.ownerDocument.defaultView.scrollTo(null,nt),b.input.reset(),x.somethingSelected()||(B.value=p.prevInput=" "),p.contextMenuPending=Ct,b.selForContextMenu=x.doc.sel,clearTimeout(b.detectingSelectAll);function Ot(){if(B.selectionStart!=null){var cn=x.somethingSelected(),kn="​"+(cn?B.value:"");B.value="⇚",B.value=kn,p.prevInput=cn?"":"​",B.selectionStart=1,B.selectionEnd=kn.length,b.selForContextMenu=x.doc.sel}}function Ct(){if(p.contextMenuPending==Ct&&(p.contextMenuPending=!1,p.wrapper.style.cssText=ve,B.style.cssText=ue,d&&f<9&&b.scrollbars.setScrollTop(b.scroller.scrollTop=q),B.selectionStart!=null)){(!d||d&&f<9)&&Ot();var cn=0,kn=function(){b.selForContextMenu==x.doc.sel&&B.selectionStart==0&&B.selectionEnd>0&&p.prevInput=="​"?$i(x,uc)(x):cn++<10?b.detectingSelectAll=setTimeout(kn,500):(b.selForContextMenu=null,b.input.reset())};b.detectingSelectAll=setTimeout(kn,200)}}if(d&&f>=9&&Ot(),we){et(A);var Nt=function(){rr(window,"mouseup",Nt),setTimeout(Ct,20)};Kt(window,"mouseup",Nt)}else setTimeout(Ct,50)},Ya.prototype.readOnlyChanged=function(A){A||this.reset(),this.textarea.disabled=A=="nocursor",this.textarea.readOnly=!!A},Ya.prototype.setUneditable=function(){},Ya.prototype.needsContentAttribute=!1;function Ag(A,p){if(p=p?ke(p):{},p.value=A.value,!p.tabindex&&A.tabIndex&&(p.tabindex=A.tabIndex),!p.placeholder&&A.placeholder&&(p.placeholder=A.placeholder),p.autofocus==null){var x=ft(bt(A));p.autofocus=x==A||A.getAttribute("autofocus")!=null&&x==document.body}function b(){A.value=ne.getValue()}var B;if(A.form&&(Kt(A.form,"submit",b),!p.leaveSubmitMethodAlone)){var U=A.form;B=U.submit;try{var q=U.submit=function(){b(),U.submit=B,U.submit(),U.submit=q}}catch{}}p.finishInit=function(ue){ue.save=b,ue.getTextArea=function(){return A},ue.toTextArea=function(){ue.toTextArea=isNaN,b(),A.parentNode.removeChild(ue.getWrapperElement()),A.style.display="",A.form&&(rr(A.form,"submit",b),!p.leaveSubmitMethodAlone&&typeof A.form.submit=="function"&&(A.form.submit=B))}},A.style.display="none";var ne=_o(function(ue){return A.parentNode.insertBefore(ue,A.nextSibling)},p);return ne}function Vv(A){A.off=rr,A.on=Kt,A.wheelEventPixels=ie,A.Doc=Os,A.splitLines=Or,A.countColumn=ge,A.findColumn=mt,A.isWordChar=_i,A.Pass=ot,A.signal=De,A.Line=Fl,A.changeEnd=He,A.scrollbarModel=Qo,A.Pos=Ft,A.cmpPos=wn,A.modes=ar,A.mimeModes=di,A.resolveMode=ho,A.getMode=si,A.modeExtensions=fo,A.extendMode=Na,A.copyState=Ia,A.startState=os,A.innerMode=Ei,A.commands=fp,A.keyMap=kA,A.keyName=_d,A.isModifierKey=am,A.lookupKey=Pu,A.normalizeKeyMap=Ku,A.StringStream=yi,A.SharedTextMarker=ih,A.TextMarker=du,A.LineWidget=aA,A.e_preventDefault=rt,A.e_stopPropagation=lt,A.e_stop=et,A.addClass=Re,A.contains=st,A.rmClass=Pe,A.keyNames=Da}I0(_o),ff(_o);var T0="iter insert remove copy getEditor constructor".split(" ");for(var mf in Os.prototype)Os.prototype.hasOwnProperty(mf)&&ze(T0,mf)<0&&(_o.prototype[mf]=function(A){return function(){return A.apply(this.doc,arguments)}}(Os.prototype[mf]));return je(Os),_o.inputStyles={textarea:Ya,contenteditable:So},_o.defineMode=function(A){!_o.defaults.mode&&A!="null"&&(_o.defaults.mode=A),Ui.apply(this,arguments)},_o.defineMIME=to,_o.defineMode("null",function(){return{token:function(A){return A.skipToEnd()}}}),_o.defineMIME("text/plain","null"),_o.defineExtension=function(A,p){_o.prototype[A]=p},_o.defineDocExtension=function(A,p){Os.prototype[A]=p},_o.fromTextArea=Ag,Vv(_o),_o.version="5.65.16",_o})}(_E)),_E.exports}var sye=Qw();const qc=ma(sye);(function(n,e){(function(t){t(Qw())})(function(t){t.defineMode("javascript",function(r,i){var o=r.indentUnit,a=i.statementIndent,s=i.jsonld,d=i.json||s,f=i.trackScope!==!1,C=i.typescript,O=i.wordCharacters||/[\w$\xa1-\uffff]/,E=function(){function _e(ii){return{type:ii,style:"keyword"}}var Je=_e("keyword a"),Zt=_e("keyword b"),ln=_e("keyword c"),Ft=_e("keyword d"),wn=_e("operator"),hr={type:"atom",style:"atom"};return{if:_e("if"),while:Je,with:Je,else:Zt,do:Zt,try:Zt,finally:Zt,return:Ft,break:Ft,continue:Ft,new:_e("new"),delete:ln,void:ln,throw:ln,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:wn,typeof:wn,instanceof:wn,true:hr,false:hr,null:hr,undefined:hr,NaN:hr,Infinity:hr,this:_e("this"),class:_e("class"),super:_e("atom"),yield:ln,export:_e("export"),import:_e("import"),extends:ln,await:ln}}(),P=/[+\-*&%=<>!?|~^@]/,L=/^@(context|id|value|language|type|container|list|set|reverse|index|base|vocab|graph)"/;function $(_e){for(var Je=!1,Zt,ln=!1;(Zt=_e.next())!=null;){if(!Je){if(Zt=="/"&&!ln)return;Zt=="["?ln=!0:ln&&Zt=="]"&&(ln=!1)}Je=!Je&&Zt=="\\"}}var H,Q;function N(_e,Je,Zt){return H=_e,Q=Zt,Je}function Z(_e,Je){var Zt=_e.next();if(Zt=='"'||Zt=="'")retur Line truncated
${O}`),$].join(`
${s}`)}return f}(n,"",0)}function uye(n){throw new Error('Could not dynamically require "'+n+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var t$={};(function(n){var e=function(){var t={trace:function(){},yy:{},symbols_:{error:2,JSONString:3,STRING:4,JSONNumber:5,NUMBER:6,JSONNullLiteral:7,NULL:8,JSONBooleanLiteral:9,TRUE:10,FALSE:11,JSONText:12,JSONValue:13,EOF:14,JSONObject:15,JSONArray:16,"{":17,"}":18,JSONMemberList:19,JSONMember:20,":":21,",":22,"[":23,"]":24,JSONElementList:25,$accept:0,$end:1},terminals_:{2:"error",4:"STRING",6:"NUMBER",8:"NULL",10:"TRUE",11:"FALSE",14:"EOF",17:"{",18:"}",21:":",22:",",23:"[",24:"]"},productions_:[0,[3,1],[5,1],[7,1],[9,1],[9,1],[12,2],[13,1],[13,1],[13,1],[13,1],[13,1],[13,1],[15,2],[15,3],[20,3],[19,1],[19,3],[16,2],[16,3],[25,1],[25,3]],performAction:function(o,a,s,d,f,C,O){var E=C.length-1;switch(f){case 1:this.$=o.replace(/\\(\\|")/g,"$1").replace(/\\n/g,`
`).replace(/\\r/g,"\r").replace(/\\t/g," ").replace(/\\v/g,"\v").replace(/\\f/g,"\f").replace(/\\b/g,"\b");break;case 2:this.$=Number(o);break;case 3:this.$=null;break;case 4:this.$=!0;break;case 5:this.$=!1;break;case 6:return this.$=C[E-1];case 13:this.$={};break;case 14:this.$=C[E-1];break;case 15:this.$=[C[E-2],C[E]];break;case 16:this.$={},this.$[C[E][0]]=C[E][1];break;case 17:this.$=C[E-2],C[E-2][C[E][0]]=C[E][1];break;case 18:this.$=[];break;case 19:this.$=C[E-1];break;case 20:this.$=[C[E]];break;case 21:this.$=C[E-2],C[E-2].push(C[E]);break}},table:[{3:5,4:[1,12],5:6,6:[1,13],7:3,8:[1,9],9:4,10:[1,10],11:[1,11],12:1,13:2,15:7,16:8,17:[1,14],23:[1,15]},{1:[3]},{14:[1,16]},{14:[2,7],18:[2,7],22:[2,7],24:[2,7]},{14:[2,8],18:[2,8],22:[2,8],24:[2,8]},{14:[2,9],18:[2,9],22:[2,9],24:[2,9]},{14:[2,10],18:[2,10],22:[2,10],24:[2,10]},{14:[2,11],18:[2,11],22:[2,11],24:[2,11]},{14:[2,12],18:[2,12],22:[2,12],24:[2,12]},{14:[2,3],18:[2,3],22:[2,3],24:[2,3]},{14:[2,4],18:[2,4],22:[2,4],24:[2,4]},{14:[2,5],18:[2,5],22:[2,5],24:[2,5]},{14:[2,1],18:[2,1],21:[2,1],22:[2,1],24:[2,1]},{14:[2,2],18:[2,2],22:[2,2],24:[2,2]},{3:20,4:[1,12],18:[1,17],19:18,20:19},{3:5,4:[1,12],5:6,6:[1,13],7:3,8:[1,9],9:4,10:[1,10],11:[1,11],13:23,15:7,16:8,17:[1,14],23:[1,15],24:[1,21],25:22},{1:[2,6]},{14:[2,13],18:[2,13],22:[2,13],24:[2,13]},{18:[1,24],22:[1,25]},{18:[2,16],22:[2,16]},{21:[1,26]},{14:[2,18],18:[2,18],22:[2,18],24:[2,18]},{22:[1,28],24:[1,27]},{22:[2,20],24:[2,20]},{14:[2,14],18:[2,14],22:[2,14],24:[2,14]},{3:20,4:[1,12],20:29},{3:5,4:[1,12],5:6,6:[1,13],7:3,8:[1,9],9:4,10:[1,10],11:[1,11],13:30,15:7,16:8,17:[1,14],23:[1,15]},{14:[2,19],18:[2,19],22:[2,19],24:[2,19]},{3:5,4:[1,12],5:6,6:[1,13],7:3,8:[1,9],9:4,10:[1,10],11:[1,11],13:31,15:7,16:8,17:[1,14],23:[1,15]},{18:[2,17],22:[2,17]},{18:[2,15],22:[2,15]},{22:[2,21],24:[2,21]}],defaultActions:{16:[2,6]},parseError:function(o,a){throw new Error(o)},parse:function(o){var a=this,s=[0],d=[null],f=[],C=this.table,O="",E=0,P=0,L=0,$=2,H=1;this.lexer.setInput(o),this.lexer.yy=this.yy,this.yy.lexer=this.lexer,typeof this.lexer.yylloc>"u"&&(this.lexer.yylloc={});var Q=this.lexer.yylloc;f.push(Q),typeof this.yy.parseError=="function"&&(this.parseError=this.yy.parseError);function N(ye){s.length=s.length-2*ye,d.length=d.length-ye,f.length=f.length-ye}function Z(){var ye;return ye=a.lexer.lex()||1,typeof ye!="number"&&(ye=a.symbols_[ye]||ye),ye}for(var ae,pe,fe,X,oe,Ce={},we,Te,Pe,he;;){if(fe=s[s.length-1],this.defaultActions[fe]?X=this.defaultActions[fe]:(ae==null&&(ae=Z()),X=C[fe]&&C[fe][ae]),typeof X>"u"||!X.length||!X[0]){if(!L){he=[];for(we in C[fe])this.terminals_[we]&&we>2&&he.push("'"+this.terminals_[we]+"'");var $e="";this.lexer.showPosition?$e="Parse error on line "+(E+1)+`:
`+this.lexer.showPosition()+`
Expecting `+he.join(", ")+", got '"+this.terminals_[ae]+"'":$e="Parse error on line "+(E+1)+": Unexpected "+(ae==1?"end of input":"'"+(this.terminals_[ae]||ae)+"'"),this.parseError($e,{text:this.lexer.match,token:this.terminals_[ae]||ae,line:this.lexer.yylineno,loc:Q,expected:he})}if(L==3){if(ae==H)throw new Error($e||"Parsing halted.");P=this.lexer.yyleng,O=this.lexer.yytext,E=this.lexer.yylineno,Q=this.lexer.yylloc,ae=Z()}for(;!($.toString()in C[fe]);){if(fe==0)throw new Error($e||"Parsing halted.");N(1),fe=s[s.length-1]}pe=ae,ae=$,fe=s[s.length-1],X=C[fe]&&C[fe][$],L=3}if(X[0]instanceof Array&&X.length>1)throw new Error("Parse Error: multiple actions possible at state: "+fe+", token: "+ae);switch(X[0]){case 1:s.push(ae),d.push(this.lexer.yytext),f.push(this.lexer.yylloc),s.push(X[1]),ae=null,pe?(ae=pe,pe=null):(P=this.lexer.yyleng,O=this.lexer.yytext,E=this.lexer.yylineno,Q=this.lexer.yylloc,L>0&&L--);break;case 2:if(Te=this.productions_[X[1]][1],Ce.$=d[d.length-Te],Ce._$={first_line:f[f.length-(Te||1)].first_line,last_line:f[f.length-1].last_line,first_column:f[f.length-(Te||1)].first_column,last_column:f[f.length-1].last_column},oe=this.performAction.call(Ce,O,P,E,this.yy,X[1],d,f),typeof oe<"u")return oe;Te&&(s=s.slice(0,-1*Te*2),d=d.slice(0,-1*Te),f=f.slice(0,-1*Te)),s.push(this.productions_[X[1]][0]),d.push(Ce.$),f.push(Ce._$),Pe=C[s[s.length-2]][s[s.length-1]],s.push(Pe);break;case 3:return!0}}return!0}},r=function(){var i={EOF:1,parseError:function(a,s){if(this.yy.parseError)this.yy.parseError(a,s);else throw new Error(a)},setInput:function(o){return this._input=o,this._more=this._less=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this},input:function(){var o=this._input[0];this.yytext+=o,this.yyleng++,this.match+=o,this.matched+=o;var a=o.match(/\n/);return a&&this.yylineno++,this._input=this._input.slice(1),o},unput:function(o){return this._input=o+this._input,this},more:function(){return this._more=!0,this},less:function(o){this._input=this.match.slice(o)+this._input},pastInput:function(){var o=this.matched.substr(0,this.matched.length-this.match.length);return(o.length>20?"...":"")+o.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var o=this.match;return o.length<20&&(o+=this._input.substr(0,20-o.length)),(o.substr(0,20)+(o.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var o=this.pastInput(),a=new Array(o.length+1).join("-");return o+this.upcomingInput()+`
`+a+"^"},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var o,a,s,d,f;this._more||(this.yytext="",this.match="");for(var C=this._currentRules(),O=0;O<C.length&&(s=this._input.match(this.rules[C[O]]),!(s&&(!a||s[0].length>a[0].length)&&(a=s,d=O,!this.options.flex)));O++);if(a)return f=a[0].match(/\n.*/g),f&&(this.yylineno+=f.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:f?f[f.length-1].length-1:this.yylloc.last_column+a[0].length},this.yytext+=a[0],this.match+=a[0],this.yyleng=this.yytext.length,this._more=!1,this._input=this._input.slice(a[0].length),this.matched+=a[0],o=this.performAction.call(this,this.yy,this,C[d],this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),o||void 0;if(this._input==="")return this.EOF;this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text.
`+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var a=this.next();return typeof a<"u"?a:this.lex()},begin:function(a){this.conditionStack.push(a)},popState:function(){return this.conditionStack.pop()},_currentRules:function(){return this.conditions[this.conditionStack[this.conditionStack.length-1]].rules},topState:function(){return this.conditionStack[this.conditionStack.length-2]},pushState:function(a){this.begin(a)}};return i.options={},i.performAction=function(a,s,d,f){switch(d){case 0:break;case 1:return 6;case 2:return s.yytext=s.yytext.substr(1,s.yyleng-2),4;case 3:return 17;case 4:return 18;case 5:return 23;case 6:return 24;case 7:return 22;case 8:return 21;case 9:return 10;case 10:return 11;case 11:return 8;case 12:return 14;case 13:return"INVALID"}},i.rules=[/^(?:\s+)/,/^(?:(-?([0-9]|[1-9][0-9]+))(\.[0-9]+)?([eE][-+]?[0-9]+)?\b)/,/^(?:"(?:\\[\\"bfnrt/]|\\u[a-fA-F0-9]{4}|[^\\\0-\x09\x0a-\x1f"])*")/,/^(?:\{)/,/^(?:\})/,/^(?:\[)/,/^(?:\])/,/^(?:,)/,/^(?::)/,/^(?:true\b)/,/^(?:false\b)/,/^(?:null\b)/,/^(?:$)/,/^(?:.)/],i.conditions={INITIAL:{rules:[0,1,2,3,4,5,6,7,8,9,10,11,12,13],inclusive:!0}},i}();return t.lexer=r,t}();typeof uye<"u"&&(n.parser=e,n.parse=e.parse.bind(e))})(t$);const CB=ma(t$);var n$={exports:{}};(function(n,e){(function(t,r){n.exports=r()})(Dh,function(){var t=typeof window<"u"||typeof window<"u"?window:typeof self<"u"?self:{};function r(ge,Se){return Se={exports:{}},ge(Se,Se.exports),Se.exports}var i=r(function(ge){function Se(){var ze=0,it=1,ot=2,St=3,Rt=4,zt=5,mt=6,or=7,gn=8,yn=9,tr=10,dr=11,Sr=12,Nr=13,yr=14,_i=15,Ee=16,ee=17,V=0,Ke=1,At=2,Bt=3,kt=4;function Dt(g,Kt){return 55296<=g.charCodeAt(Kt)&&g.charCodeAt(Kt)<=56319&&56320<=g.charCodeAt(Kt+1)&&g.charCodeAt(Kt+1)<=57343}function fn(g,Kt){Kt===void 0&&(Kt=0);var Pr=g.charCodeAt(Kt);if(55296<=Pr&&Pr<=56319&&Kt<g.length-1){var rr=Pr,De=g.charCodeAt(Kt+1);return 56320<=De&&De<=57343?(rr-55296)*1024+(De-56320)+65536:rr}if(56320<=Pr&&Pr<=57343&&Kt>=1){var rr=g.charCodeAt(Kt-1),De=Pr;return 55296<=rr&&rr<=56319?(rr-55296)*1024+(De-56320)+65536:De}return Pr}function Pn(g,Kt,Pr){var rr=[g].concat(Kt).concat([Pr]),De=rr[rr.length-2],ce=Pr,xe=rr.lastIndexOf(yr);if(xe>1&&rr.slice(1,xe).every(function(rt){return rt==St})&&[St,Nr,ee].indexOf(g)==-1)return At;var Ie=rr.lastIndexOf(Rt);if(Ie>0&&rr.slice(1,Ie).every(function(rt){return rt==Rt})&&[Sr,Rt].indexOf(De)==-1)return rr.filter(function(rt){return rt==Rt}).length%2==1?Bt:kt;if(De==ze&&ce==it)return V;if(De==ot||De==ze||De==it)return ce==yr&&Kt.every(function(rt){return rt==St})?At:Ke;if(ce==ot||ce==ze||ce==it)return Ke;if(De==mt&&(ce==mt||ce==or||ce==yn||ce==tr))return V;if((De==yn||De==or)&&(ce==or||ce==gn))return V;if((De==tr||De==gn)&&ce==gn)return V;if(ce==St||ce==_i)return V;if(ce==zt)return V;if(De==Sr)return V;var je=rr.indexOf(St)!=-1?rr.lastIndexOf(St)-1:rr.length-2;return[Nr,ee].indexOf(rr[je])!=-1&&rr.slice(je+1,-1).every(function(rt){return rt==St})&&ce==yr||De==_i&&[Ee,ee].indexOf(ce)!=-1?V:Kt.indexOf(Rt)!=-1?At:De==Rt&&ce==Rt?V:Ke}this.nextBreak=function(g,Kt){if(Kt===void 0&&(Kt=0),Kt<0)return 0;if(Kt>=g.length-1)return g.length;for(var Pr=On(fn(g,Kt)),rr=[],De=Kt+1;De<g.length;De++)if(!Dt(g,De-1)){var ce=On(fn(g,De));if(Pn(Pr,rr,ce))return De;rr.push(ce)}return g.length},this.splitGraphemes=function(g){for(var Kt=[],Pr=0,rr;(rr=this.nextBreak(g,Pr))<g.length;)Kt.push(g.slice(Pr,rr)),Pr=rr;return Pr<g.length&&Kt.push(g.slice(Pr)),Kt},this.iterateGraphemes=function(g){var Kt=0,Pr={next:(function(){var rr,De;return(De=this.nextBreak(g,Kt))<g.length?(rr=g.slice(Kt,De),Kt=De,{value:rr,done:!1}):Kt<g.length?(rr=g.slice(Kt),Kt=g.length,{value:rr,done:!1}):{value:void 0,done:!0}}).bind(this)};return typeof Symbol<"u"&&Symbol.iterator&&(Pr[Symbol.iterator]=function(){return Pr}),Pr},this.countGraphemes=function(g){for(var Kt=0,Pr=0,rr;(rr=this.nextBreak(g,Pr))<g.length;)Pr=rr,Kt++;return Pr<g.length&&Kt++,Kt};function On(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?Sr:g==13?ze:g==10?it: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?ot: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<=2376||g==2381||2385<=g&&g<=2391||240 Line truncated
`+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var a=this.next();return typeof a<"u"?a:this.lex()},begin:function(a){this.conditionStack.push(a)},popState:function(){return this.conditionStack.pop()},_currentRules:function(){return this.conditions[this.conditionStack[this.conditionStack.length-1]].rules},topState:function(){return this.conditionStack[this.conditionStack.length-2]},pushState:function(a){this.begin(a)}};return i.options={},i.performAction=function(a,s,d,f){switch(d){case 0:break;case 1:return 6;case 2:return s.yytext=s.yytext.substr(1,s.yyleng-2),4;case 3:return 17;case 4:return 18;case 5:return 23;case 6:return 24;case 7:return 22;case 8:return 21;case 9:return 10;case 10:return 11;case 11:return 8;case 12:return 14;case 13:return"INVALID"}},i.rules=[/^(?:\s+)/,/^(?:(-?([0-9]|[1-9][0-9]+))(\.[0-9]+)?([eE][-+]?[0-9]+)?\b)/,/^(?:"(?:\\[\\"bfnrt/]|\\u[a-fA-F0-9]{4}|[^\\\0-\x09\x0a-\x1f"])*")/,/^(?:\{)/,/^(?:\})/,/^(?:\[)/,/^(?:\])/,/^(?:,)/,/^(?::)/,/^(?:true\b)/,/^(?:false\b)/,/^(?:null\b)/,/^(?:$)/,/^(?:.)/],i.conditions={INITIAL:{rules:[0,1,2,3,4,5,6,7,8,9,10,11,12,13],inclusive:!0}},i}();return t.lexer=r,t}();typeof uye<"u"&&(n.parser=e,n.parse=e.parse.bind(e))})(t$);const _B=ma(t$);var n$={exports:{}};(function(n,e){(function(t,r){n.exports=r()})(Dh,function(){var t=typeof window<"u"||typeof window<"u"?window:typeof self<"u"?self:{};function r(ge,Se){return Se={exports:{}},ge(Se,Se.exports),Se.exports}var i=r(function(ge){function Se(){var ze=0,it=1,ot=2,St=3,Rt=4,zt=5,mt=6,or=7,gn=8,yn=9,tr=10,dr=11,Sr=12,Nr=13,yr=14,_i=15,Ee=16,ee=17,V=0,Ke=1,At=2,Bt=3,kt=4;function Dt(g,Kt){return 55296<=g.charCodeAt(Kt)&&g.charCodeAt(Kt)<=56319&&56320<=g.charCodeAt(Kt+1)&&g.charCodeAt(Kt+1)<=57343}function fn(g,Kt){Kt===void 0&&(Kt=0);var Pr=g.charCodeAt(Kt);if(55296<=Pr&&Pr<=56319&&Kt<g.length-1){var rr=Pr,De=g.charCodeAt(Kt+1);return 56320<=De&&De<=57343?(rr-55296)*1024+(De-56320)+65536:rr}if(56320<=Pr&&Pr<=57343&&Kt>=1){var rr=g.charCodeAt(Kt-1),De=Pr;return 55296<=rr&&rr<=56319?(rr-55296)*1024+(De-56320)+65536:De}return Pr}function Pn(g,Kt,Pr){var rr=[g].concat(Kt).concat([Pr]),De=rr[rr.length-2],ce=Pr,xe=rr.lastIndexOf(yr);if(xe>1&&rr.slice(1,xe).every(function(rt){return rt==St})&&[St,Nr,ee].indexOf(g)==-1)return At;var Ie=rr.lastIndexOf(Rt);if(Ie>0&&rr.slice(1,Ie).every(function(rt){return rt==Rt})&&[Sr,Rt].indexOf(De)==-1)return rr.filter(function(rt){return rt==Rt}).length%2==1?Bt:kt;if(De==ze&&ce==it)return V;if(De==ot||De==ze||De==it)return ce==yr&&Kt.every(function(rt){return rt==St})?At:Ke;if(ce==ot||ce==ze||ce==it)return Ke;if(De==mt&&(ce==mt||ce==or||ce==yn||ce==tr))return V;if((De==yn||De==or)&&(ce==or||ce==gn))return V;if((De==tr||De==gn)&&ce==gn)return V;if(ce==St||ce==_i)return V;if(ce==zt)return V;if(De==Sr)return V;var je=rr.indexOf(St)!=-1?rr.lastIndexOf(St)-1:rr.length-2;return[Nr,ee].indexOf(rr[je])!=-1&&rr.slice(je+1,-1).every(function(rt){return rt==St})&&ce==yr||De==_i&&[Ee,ee].indexOf(ce)!=-1?V:Kt.indexOf(Rt)!=-1?At:De==Rt&&ce==Rt?V:Ke}this.nextBreak=function(g,Kt){if(Kt===void 0&&(Kt=0),Kt<0)return 0;if(Kt>=g.length-1)return g.length;for(var Pr=On(fn(g,Kt)),rr=[],De=Kt+1;De<g.length;De++)if(!Dt(g,De-1)){var ce=On(fn(g,De));if(Pn(Pr,rr,ce))return De;rr.push(ce)}return g.length},this.splitGraphemes=function(g){for(var Kt=[],Pr=0,rr;(rr=this.nextBreak(g,Pr))<g.length;)Kt.push(g.slice(Pr,rr)),Pr=rr;return Pr<g.length&&Kt.push(g.slice(Pr)),Kt},this.iterateGraphemes=function(g){var Kt=0,Pr={next:(function(){var rr,De;return(De=this.nextBreak(g,Kt))<g.length?(rr=g.slice(Kt,De),Kt=De,{value:rr,done:!1}):Kt<g.length?(rr=g.slice(Kt),Kt=g.length,{value:rr,done:!1}):{value:void 0,done:!0}}).bind(this)};return typeof Symbol<"u"&&Symbol.iterator&&(Pr[Symbol.iterator]=function(){return Pr}),Pr},this.countGraphemes=function(g){for(var Kt=0,Pr=0,rr;(rr=this.nextBreak(g,Pr))<g.length;)Pr=rr,Kt++;return Pr<g.length&&Kt++,Kt};function On(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?Sr:g==13?ze:g==10?it: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?ot: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<=2376||g==2381||2385<=g&&g<=2391||240 Line truncated
`)}var gn={extraLines:2,tabSize:4},yn=function(dr,Sr,Nr,yr){yr=zt({},gn,yr);var _i=dr.split(/\r\n?|\n|\f/),Ee=Math.max(1,Sr-yr.extraLines)-1,ee=Math.min(Sr+yr.extraLines,_i.length),V=String(ee).length,Ke=or(_i,Ee,Sr,V,yr),At=mt(_i[Sr-1].substring(0,Nr-1),Sr,V,yr),Bt=ot(" ",At.length)+"^",kt=or(_i,Sr,ee,V,yr);return[Ke,Bt,kt].filter(Boolean).join(`
`)};return yn})}),f=new Error().stack,C=function(ge){var Se=Object.create(SyntaxError.prototype);return Object.assign(Se,ge,{name:"SyntaxError"}),Object.defineProperty(Se,"stack",{get:function(){return f?f.replace(/^(.+\n){1,3}/,String(Se)+`
`):""}}),Se},O=function(ge,Se,ze,it,ot){throw C({message:it?ge+`
`+d(Se,it,ot):ge,rawMessage:ge,source:ze,line:it,column:ot})},E={unexpectedEnd:function(){return"Unexpected end of input"},unexpectedToken:function(Se){for(var ze=arguments.length,it=Array(ze>1?ze-1:0),ot=1;ot<ze;ot++)it[ot-1]=arguments[ot];return"Unexpected token <"+Se+"> at "+it.filter(Boolean).join(":")}},P={unexpectedSymbol:function(Se){for(var ze=arguments.length,it=Array(ze>1?ze-1:0),ot=1;ot<ze;ot++)it[ot-1]=arguments[ot];return"Unexpected symbol <"+Se+"> at "+it.filter(Boolean).join(":")}},L={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},$={"{":L.LEFT_BRACE,"}":L.RIGHT_BRACE,"[":L.LEFT_BRACKET,"]":L.RIGHT_BRACKET,":":L.COLON,",":L.COMMA},H={true:L.TRUE,false:L.FALSE,null:L.NULL},Q={_START_:0,START_QUOTE_OR_CHAR:1,ESCAPE:2},N={'"':0,"\\":1,"/":2,b:3,f:4,n:5,r:6,t:7,u:8},Z={_START_:0,MINUS:1,ZERO:2,DIGIT:3,POINT:4,DIGIT_FRACTION:5,EXP:6,EXP_DIGIT_OR_SIGN:7};function ae(ge){return ge>="1"&&ge<="9"}function pe(ge){return ge>="0"&&ge<="9"}function fe(ge){return pe(ge)||ge>="a"&&ge<="f"||ge>="A"&&ge<="F"}function X(ge){return ge==="e"||ge==="E"}function oe(ge,Se,ze,it){var ot=ge.charAt(Se);if(ot==="\r")Se++,ze++,it=1,ge.charAt(Se)===`
`&&Se++;else if(ot===`
`)Se++,ze++,it=1;else if(ot===" "||ot===" ")Se++,it++;else return null;return{index:Se,line:ze,column:it}}function Ce(ge,Se,ze,it){var ot=ge.charAt(Se);return ot in $?{type:$[ot],line:ze,column:it+1,index:Se+1,value:null}:null}function we(ge,Se,ze,it){for(var ot in H)if(H.hasOwnProperty(ot)&&ge.substr(Se,ot.length)===ot)return{type:H[ot],line:ze,column:it+ot.length,index:Se+ot.length,value:ot};return null}function Te(ge,Se,ze,it){for(var ot=Se,St=Q._START_;Se<ge.length;){var Rt=ge.charAt(Se);switch(St){case Q._START_:{if(Rt==='"')Se++,St=Q.START_QUOTE_OR_CHAR;else return null;break}case Q.START_QUOTE_OR_CHAR:{if(Rt==="\\")Se++,St=Q.ESCAPE;else{if(Rt==='"')return Se++,{type:L.STRING,line:ze,column:it+Se-ot,index:Se,value:ge.slice(ot,Se)};Se++}break}case Q.ESCAPE:{if(Rt in N){if(Se++,Rt==="u")for(var zt=0;zt<4;zt++){var mt=ge.charAt(Se);if(mt&&fe(mt))Se++;else return null}St=Q.START_QUOTE_OR_CHAR}else return null;break}}}}function Pe(ge,Se,ze,it){var ot=Se,St=Se,Rt=Z._START_;e:for(;Se<ge.length;){var zt=ge.charAt(Se);switch(Rt){case Z._START_:{if(zt==="-")Rt=Z.MINUS;else if(zt==="0")St=Se+1,Rt=Z.ZERO;else if(ae(zt))St=Se+1,Rt=Z.DIGIT;else return null;break}case Z.MINUS:{if(zt==="0")St=Se+1,Rt=Z.ZERO;else if(ae(zt))St=Se+1,Rt=Z.DIGIT;else return null;break}case Z.ZERO:{if(zt===".")Rt=Z.POINT;else if(X(zt))Rt=Z.EXP;else break e;break}case Z.DIGIT:{if(pe(zt))St=Se+1;else if(zt===".")Rt=Z.POINT;else if(X(zt))Rt=Z.EXP;else break e;break}case Z.POINT:{if(pe(zt))St=Se+1,Rt=Z.DIGIT_FRACTION;else break e;break}case Z.DIGIT_FRACTION:{if(pe(zt))St=Se+1;else if(X(zt))Rt=Z.EXP;else break e;break}case Z.EXP:{if(zt==="+"||zt==="-")Rt=Z.EXP_DIGIT_OR_SIGN;else if(pe(zt))St=Se+1,Rt=Z.EXP_DIGIT_OR_SIGN;else break e;break}case Z.EXP_DIGIT_OR_SIGN:{if(pe(zt))St=Se+1;else break e;break}}Se++}return St>0?{type:L.NUMBER,line:ze,column:it+St-ot,index:St,value:ge.slice(ot,St)}:null}var he=function(Se,ze){for(var it=1,ot=1,St=0,Rt=[];St<Se.length;){var zt=[Se,St,it,ot],mt=oe.apply(void 0,zt);if(mt){St=mt.index,it=mt.line,ot=mt.column;continue}var or=Ce.apply(void 0,zt)||we.apply(void 0,zt)||Te.apply(void 0,zt)||Pe.apply(void 0,zt);if(or){var gn={type:or.type,value:or.value,loc:s(it,ot,St,or.line,or.column,or.index,ze.source)};Rt.push(gn),St=or.index,it=or.line,ot=or.column}else O(P.unexpectedSymbol(a(Se,St,St+1),ze.source,it,ot),Se,ze.source,it,ot)}return Rt},$e={_START_:0,OPEN_OBJECT:1,PROPERTY:2,COMMA:3},ye={_START_:0,KEY:1,COLON:2},gt={_START_:0,OPEN_ARRAY:1,VALUE:2,COMMA:3},yt={loc:!0,source:null};function st(ge,Se,ze){var it=Se.length>0?Se[Se.length-1].loc.end:{line:1,column:1};O(E.unexpectedEnd(),ge,ze.source,it.line,it.column)}function ft(ge){for(var Se=0,ze=0;ze<4;ze++)Se=Se*16+parseInt(ge[ze],16);return String.fromCharCode(Se)}var Re={b:"\b",f:"\f",n:`
`,r:"\r",t:" "},Ve=['"',"\\","/"];function Xe(ge){for(var Se="",ze=0;ze<ge.length;ze++){var it=ge.charAt(ze);if(it==="\\"){ze++;var ot=ge.charAt(ze);if(ot==="u")Se+=ft(ge.substr(ze+1,4)),ze+=4;else if(Ve.indexOf(ot)!==-1)Se+=ot;else if(ot in Re)Se+=Re[ot];else break}else Se+=it}return Se}function Jt(ge,Se,ze,it){for(var ot=void 0,St={type:"Object",children:[]},Rt=$e._START_;ze<Se.length;){var zt=Se[ze];switch(Rt){case $e._START_:{if(zt.type===L.LEFT_BRACE)ot=zt,Rt=$e.OPEN_OBJECT,ze++;else return null;break}case $e.OPEN_OBJECT:{if(zt.type===L.RIGHT_BRACE)return it.loc&&(St.loc=s(ot.loc.start.line,ot.loc.start.column,ot.loc.start.offset,zt.loc.end.line,zt.loc.end.column,zt.loc.end.offset,it.source)),{value:St,index:ze+1};var mt=Ht(ge,Se,ze,it);St.children.push(mt.value),Rt=$e.PROPERTY,ze=mt.index;break}case $e.PROPERTY:{if(zt.type===L.RIGHT_BRACE)return it.loc&&(St.loc=s(ot.loc.start.line,ot.loc.start.column,ot.loc.start.offset,zt.loc.end.line,zt.loc.end.column,zt.loc.end.offset,it.source)),{value:St,index:ze+1};zt.type===L.COMMA?(Rt=$e.COMMA,ze++):O(E.unexpectedToken(a(ge,zt.loc.start.offset,zt.loc.end.offset),it.source,zt.loc.start.line,zt.loc.start.column),ge,it.source,zt.loc.start.line,zt.loc.start.column);break}case $e.COMMA:{var or=Ht(ge,Se,ze,it);or?(ze=or.index,St.children.push(or.value),Rt=$e.PROPERTY):O(E.unexpectedToken(a(ge,zt.loc.start.offset,zt.loc.end.offset),it.source,zt.loc.start.line,zt.loc.start.column),ge,it.source,zt.loc.start.line,zt.loc.start.column);break}}}st(ge,Se,it)}function Ht(ge,Se,ze,it){for(var ot=void 0,St={type:"Property",key:null,value:null},Rt=ye._START_;ze<Se.length;){var zt=Se[ze];switch(Rt){case ye._START_:{if(zt.type===L.STRING){var mt={type:"Identifier",value:Xe(ge.slice(zt.loc.start.offset+1,zt.loc.end.offset-1)),raw:zt.value};it.loc&&(mt.loc=zt.loc),ot=zt,St.key=mt,Rt=ye.KEY,ze++}else return null;break}case ye.KEY:{zt.type===L.COLON?(Rt=ye.COLON,ze++):O(E.unexpectedToken(a(ge,zt.loc.start.offset,zt.loc.end.offset),it.source,zt.loc.start.line,zt.loc.start.column),ge,it.source,zt.loc.start.line,zt.loc.start.column);break}case ye.COLON:{var or=Yt(ge,Se,ze,it);return St.value=or.value,it.loc&&(St.loc=s(ot.loc.start.line,ot.loc.start.column,ot.loc.start.offset,or.value.loc.end.line,or.value.loc.end.column,or.value.loc.end.offset,it.source)),{value:St,index:or.index}}}}}function bt(ge,Se,ze,it){for(var ot=void 0,St={type:"Array",children:[]},Rt=gt._START_,zt=void 0;ze<Se.length;)switch(zt=Se[ze],Rt){case gt._START_:{if(zt.type===L.LEFT_BRACKET)ot=zt,Rt=gt.OPEN_ARRAY,ze++;else return null;break}case gt.OPEN_ARRAY:{if(zt.type===L.RIGHT_BRACKET)return it.loc&&(St.loc=s(ot.loc.start.line,ot.loc.start.column,ot.loc.start.offset,zt.loc.end.line,zt.loc.end.column,zt.loc.end.offset,it.source)),{value:St,index:ze+1};var mt=Yt(ge,Se,ze,it);ze=mt.index,St.children.push(mt.value),Rt=gt.VALUE;break}case gt.VALUE:{if(zt.type===L.RIGHT_BRACKET)return it.loc&&(St.loc=s(ot.loc.start.line,ot.loc.start.column,ot.loc.start.offset,zt.loc.end.line,zt.loc.end.column,zt.loc.end.offset,it.source)),{value:St,index:ze+1};zt.type===L.COMMA?(Rt=gt.COMMA,ze++):O(E.unexpectedToken(a(ge,zt.loc.start.offset,zt.loc.end.offset),it.source,zt.loc.start.line,zt.loc.start.column),ge,it.source,zt.loc.start.line,zt.loc.start.column);break}case gt.COMMA:{var or=Yt(ge,Se,ze,it);ze=or.index,St.children.push(or.value),Rt=gt.VALUE;break}}st(ge,Se,it)}function Qt(ge,Se,ze,it){var ot=Se[ze],St=null;switch(ot.type){case L.STRING:{St=Xe(ge.slice(ot.loc.start.offset+1,ot.loc.end.offset-1));break}case L.NUMBER:{St=Number(ot.value);break}case L.TRUE:{St=!0;break}case L.FALSE:{St=!1;break}case L.NULL:{St=null;break}default:return null}var Rt={type:"Literal",value:St,raw:ot.value};return it.loc&&(Rt.loc=ot.loc),{value:Rt,index:ze+1}}function Yt(ge,Se,ze,it){var ot=Se[ze],St=Qt.apply(void 0,arguments)||Jt.apply(void 0,arguments)||bt.apply(void 0,arguments);if(St)return St;O(E.unexpectedToken(a(ge,ot.loc.start.offset,ot.loc.end.offset),it.source,ot.loc.start.line,ot.loc.start.column),ge,it.source,ot.loc.start.line,ot.loc.start.column)}var ke=function(ge,Se){Se=Object.assign({},yt,Se);var ze=he(ge,Se);ze.length===0&&st(ge,ze,Se);var it=Yt(ge,ze,0,Se);if(it.index===ze.length)return it.value;var ot=ze[it.index];O(E.unexpectedToken(a(ge,ot.loc.start.offset,ot.loc.end.offset),Se.source,ot.loc.start.line,ot.loc.start.column),ge,Se.source,ot.loc.start.line,ot.loc.start.column)};return ke})})(n$);var Aye=n$.exports;const cye=ma(Aye);function En(){var n="/home/runner/work/maputnik/maputnik/src/libs/codemirror-mgl.ts",e="a994e12e3e6547813b669a430e6cb42da5d99bba",t=globalThis,r="__coverage__",i={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:11,column:0},end:{line:26,column:3}},3:{start:{line:12,column:16},end:{line:12,column:18}},4:{start:{line:13,column:2},end:{line:20,column:4}},5:{sta Line truncated
`,r:"\r",t:" "},Ve=['"',"\\","/"];function Xe(ge){for(var Se="",ze=0;ze<ge.length;ze++){var it=ge.charAt(ze);if(it==="\\"){ze++;var ot=ge.charAt(ze);if(ot==="u")Se+=ft(ge.substr(ze+1,4)),ze+=4;else if(Ve.indexOf(ot)!==-1)Se+=ot;else if(ot in Re)Se+=Re[ot];else break}else Se+=it}return Se}function Jt(ge,Se,ze,it){for(var ot=void 0,St={type:"Object",children:[]},Rt=$e._START_;ze<Se.length;){var zt=Se[ze];switch(Rt){case $e._START_:{if(zt.type===L.LEFT_BRACE)ot=zt,Rt=$e.OPEN_OBJECT,ze++;else return null;break}case $e.OPEN_OBJECT:{if(zt.type===L.RIGHT_BRACE)return it.loc&&(St.loc=s(ot.loc.start.line,ot.loc.start.column,ot.loc.start.offset,zt.loc.end.line,zt.loc.end.column,zt.loc.end.offset,it.source)),{value:St,index:ze+1};var mt=Ht(ge,Se,ze,it);St.children.push(mt.value),Rt=$e.PROPERTY,ze=mt.index;break}case $e.PROPERTY:{if(zt.type===L.RIGHT_BRACE)return it.loc&&(St.loc=s(ot.loc.start.line,ot.loc.start.column,ot.loc.start.offset,zt.loc.end.line,zt.loc.end.column,zt.loc.end.offset,it.source)),{value:St,index:ze+1};zt.type===L.COMMA?(Rt=$e.COMMA,ze++):O(E.unexpectedToken(a(ge,zt.loc.start.offset,zt.loc.end.offset),it.source,zt.loc.start.line,zt.loc.start.column),ge,it.source,zt.loc.start.line,zt.loc.start.column);break}case $e.COMMA:{var or=Ht(ge,Se,ze,it);or?(ze=or.index,St.children.push(or.value),Rt=$e.PROPERTY):O(E.unexpectedToken(a(ge,zt.loc.start.offset,zt.loc.end.offset),it.source,zt.loc.start.line,zt.loc.start.column),ge,it.source,zt.loc.start.line,zt.loc.start.column);break}}}st(ge,Se,it)}function Ht(ge,Se,ze,it){for(var ot=void 0,St={type:"Property",key:null,value:null},Rt=ye._START_;ze<Se.length;){var zt=Se[ze];switch(Rt){case ye._START_:{if(zt.type===L.STRING){var mt={type:"Identifier",value:Xe(ge.slice(zt.loc.start.offset+1,zt.loc.end.offset-1)),raw:zt.value};it.loc&&(mt.loc=zt.loc),ot=zt,St.key=mt,Rt=ye.KEY,ze++}else return null;break}case ye.KEY:{zt.type===L.COLON?(Rt=ye.COLON,ze++):O(E.unexpectedToken(a(ge,zt.loc.start.offset,zt.loc.end.offset),it.source,zt.loc.start.line,zt.loc.start.column),ge,it.source,zt.loc.start.line,zt.loc.start.column);break}case ye.COLON:{var or=Yt(ge,Se,ze,it);return St.value=or.value,it.loc&&(St.loc=s(ot.loc.start.line,ot.loc.start.column,ot.loc.start.offset,or.value.loc.end.line,or.value.loc.end.column,or.value.loc.end.offset,it.source)),{value:St,index:or.index}}}}}function bt(ge,Se,ze,it){for(var ot=void 0,St={type:"Array",children:[]},Rt=gt._START_,zt=void 0;ze<Se.length;)switch(zt=Se[ze],Rt){case gt._START_:{if(zt.type===L.LEFT_BRACKET)ot=zt,Rt=gt.OPEN_ARRAY,ze++;else return null;break}case gt.OPEN_ARRAY:{if(zt.type===L.RIGHT_BRACKET)return it.loc&&(St.loc=s(ot.loc.start.line,ot.loc.start.column,ot.loc.start.offset,zt.loc.end.line,zt.loc.end.column,zt.loc.end.offset,it.source)),{value:St,index:ze+1};var mt=Yt(ge,Se,ze,it);ze=mt.index,St.children.push(mt.value),Rt=gt.VALUE;break}case gt.VALUE:{if(zt.type===L.RIGHT_BRACKET)return it.loc&&(St.loc=s(ot.loc.start.line,ot.loc.start.column,ot.loc.start.offset,zt.loc.end.line,zt.loc.end.column,zt.loc.end.offset,it.source)),{value:St,index:ze+1};zt.type===L.COMMA?(Rt=gt.COMMA,ze++):O(E.unexpectedToken(a(ge,zt.loc.start.offset,zt.loc.end.offset),it.source,zt.loc.start.line,zt.loc.start.column),ge,it.source,zt.loc.start.line,zt.loc.start.column);break}case gt.COMMA:{var or=Yt(ge,Se,ze,it);ze=or.index,St.children.push(or.value),Rt=gt.VALUE;break}}st(ge,Se,it)}function Qt(ge,Se,ze,it){var ot=Se[ze],St=null;switch(ot.type){case L.STRING:{St=Xe(ge.slice(ot.loc.start.offset+1,ot.loc.end.offset-1));break}case L.NUMBER:{St=Number(ot.value);break}case L.TRUE:{St=!0;break}case L.FALSE:{St=!1;break}case L.NULL:{St=null;break}default:return null}var Rt={type:"Literal",value:St,raw:ot.value};return it.loc&&(Rt.loc=ot.loc),{value:Rt,index:ze+1}}function Yt(ge,Se,ze,it){var ot=Se[ze],St=Qt.apply(void 0,arguments)||Jt.apply(void 0,arguments)||bt.apply(void 0,arguments);if(St)return St;O(E.unexpectedToken(a(ge,ot.loc.start.offset,ot.loc.end.offset),it.source,ot.loc.start.line,ot.loc.start.column),ge,it.source,ot.loc.start.line,ot.loc.start.column)}var ke=function(ge,Se){Se=Object.assign({},yt,Se);var ze=he(ge,Se);ze.length===0&&st(ge,ze,Se);var it=Yt(ge,ze,0,Se);if(it.index===ze.length)return it.value;var ot=ze[it.index];O(E.unexpectedToken(a(ge,ot.loc.start.offset,ot.loc.end.offset),Se.source,ot.loc.start.line,ot.loc.start.column),ge,Se.source,ot.loc.start.line,ot.loc.start.column)};return ke})})(n$);var Aye=n$.exports;const cye=ma(Aye);function En(){var n="/home/runner/work/maputnik/maputnik/src/libs/codemirror-mgl.ts",e="a994e12e3e6547813b669a430e6cb42da5d99bba",t=globalThis,r="__coverage__",i={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:11,column:0},end:{line:26,column:3}},3:{start:{line:12,column:16},end:{line:12,column:18}},4:{start:{line:13,column:2},end:{line:20,column:4}},5:{sta Line truncated
rgba(`+i.r+","+i.g+","+i.b+", 1) 100%)",boxShadow:this.props.shadow,borderRadius:this.props.radius},container:{position:"relative",height:"100%",margin:"0 3px"},pointer:{position:"absolute",left:i.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("+i.r+","+i.g+","+i.b+`, 0) 0%,
rgba(`+i.r+","+i.g+","+i.b+", 1) 100%)"},pointer:{left:0,top:i.a*100+"%"}},overwrite:gOe({},this.props.style)},{vertical:this.props.direction==="vertical",overwrite:!0});return Sm.default.createElement("div",{style:o.alpha},Sm.default.createElement("div",{style:o.checkboard},Sm.default.createElement(wOe.default,{renderers:this.props.renderers})),Sm.default.createElement("div",{style:o.gradient}),Sm.default.createElement("div",{style:o.container,ref:function(s){return r.container=s},onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},Sm.default.createElement("div",{style:o.pointer},this.props.pointer?Sm.default.createElement(this.props.pointer,this.props):Sm.default.createElement("div",{style:o.slider}))))}}]),e}(OB.PureComponent||OB.Component);sx.default=OOe;var lx={};Object.defineProperty(lx,"__esModule",{value:!0});lx.EditableInput=void 0;var BOe=function(){function n(e,t){for(var r=0;r<t.length;r++){var i=t[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}}(),BB=Wn,EE=hQ(BB),IOe=qs,kOe=hQ(IOe);function hQ(n){return n&&n.__esModule?n:{default:n}}function TOe(n,e,t){return e in n?Object.defineProperty(n,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):n[e]=t,n}function KOe(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function POe(n,e){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:n}function LOe(n,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(n,e):n.__proto__=e)}var DOe=1,fQ=38,FOe=40,UOe=[fQ,FOe],ROe=function(e){return UOe.indexOf(e)>-1},zOe=function(e){return Number(String(e).replace(/%/g,""))},jOe=1,NOe=lx.EditableInput=function(n){LOe(e,n);function e(t){KOe(this,e);var r=POe(this,(e.__proto__||Object.getPrototypeOf(e)).call(this));return r.handleBlur=function(){r.state.blurValue&&r.setState({value:r.state.blurValue,blurValue:null})},r.handleChange=function(i){r.setUpdatedValue(i.target.value,i)},r.handleKeyDown=function(i){var o=zOe(i.target.value);if(!isNaN(o)&&ROe(i.keyCode)){var a=r.getArrowOffset(),s=i.keyCode===fQ?o+a:o-a;r.setUpdatedValue(s,i)}},r.handleDrag=function(i){if(r.props.dragLabel){var o=Math.round(r.props.value+i.movementX);o>=0&&o<=r.props.dragMax&&r.props.onChange&&r.props.onChange(r.getValueObjectWithLabel(o),i)}},r.handleMouseDown=function(i){r.props.dragLabel&&(i.preventDefault(),r.handleDrag(i),window.addEventListener("mousemove",r.handleDrag),window.addEventListener("mouseup",r.handleMouseUp))},r.handleMouseUp=function(){r.unbindEventListeners()},r.unbindEventListeners=function(){window.removeEventListener("mousemove",r.handleDrag),window.removeEventListener("mouseup",r.handleMouseUp)},r.state={value:String(t.value).toUpperCase(),blurValue:String(t.value).toUpperCase()},r.inputId="rc-editable-input-"+jOe++,r}return BOe(e,[{key:"componentDidUpdate",value:function(r,i){this.props.value!==this.state.value&&(r.value!==this.props.value||i.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(r){return TOe({},this.props.label,r)}},{key:"getArrowOffset",value:function(){return this.props.arrowOffset||DOe}},{key:"setUpdatedValue",value:function(r,i){var o=this.props.label?this.getValueObjectWithLabel(r):r;this.props.onChange&&this.props.onChange(o,i),this.setState({value:r})}},{key:"render",value:function(){var r=this,i=(0,kOe.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 EE.default.createElement("div",{style:i.wrap},EE.default.createElement("input",{id:this.inputId,style:i.input,ref:function(a){return r.input=a},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?EE.default.createElement("label",{htmlFor:this.inputId,style:i.label,onMouseDown:this.handleMouseDown},this.props.label):null)}}]),e}(BB.PureComponent||BB.Component);lx.default=NOe;var ux= Line truncated
rgba(`+i.r+","+i.g+","+i.b+", 1) 100%)"},pointer:{left:0,top:i.a*100+"%"}},overwrite:gOe({},this.props.style)},{vertical:this.props.direction==="vertical",overwrite:!0});return Sm.default.createElement("div",{style:o.alpha},Sm.default.createElement("div",{style:o.checkboard},Sm.default.createElement(wOe.default,{renderers:this.props.renderers})),Sm.default.createElement("div",{style:o.gradient}),Sm.default.createElement("div",{style:o.container,ref:function(s){return r.container=s},onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},Sm.default.createElement("div",{style:o.pointer},this.props.pointer?Sm.default.createElement(this.props.pointer,this.props):Sm.default.createElement("div",{style:o.slider}))))}}]),e}(BB.PureComponent||BB.Component);sx.default=OOe;var lx={};Object.defineProperty(lx,"__esModule",{value:!0});lx.EditableInput=void 0;var BOe=function(){function n(e,t){for(var r=0;r<t.length;r++){var i=t[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}}(),IB=Wn,OE=hQ(IB),IOe=qs,kOe=hQ(IOe);function hQ(n){return n&&n.__esModule?n:{default:n}}function TOe(n,e,t){return e in n?Object.defineProperty(n,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):n[e]=t,n}function KOe(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function POe(n,e){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:n}function LOe(n,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(n,e):n.__proto__=e)}var DOe=1,fQ=38,FOe=40,UOe=[fQ,FOe],ROe=function(e){return UOe.indexOf(e)>-1},zOe=function(e){return Number(String(e).replace(/%/g,""))},jOe=1,NOe=lx.EditableInput=function(n){LOe(e,n);function e(t){KOe(this,e);var r=POe(this,(e.__proto__||Object.getPrototypeOf(e)).call(this));return r.handleBlur=function(){r.state.blurValue&&r.setState({value:r.state.blurValue,blurValue:null})},r.handleChange=function(i){r.setUpdatedValue(i.target.value,i)},r.handleKeyDown=function(i){var o=zOe(i.target.value);if(!isNaN(o)&&ROe(i.keyCode)){var a=r.getArrowOffset(),s=i.keyCode===fQ?o+a:o-a;r.setUpdatedValue(s,i)}},r.handleDrag=function(i){if(r.props.dragLabel){var o=Math.round(r.props.value+i.movementX);o>=0&&o<=r.props.dragMax&&r.props.onChange&&r.props.onChange(r.getValueObjectWithLabel(o),i)}},r.handleMouseDown=function(i){r.props.dragLabel&&(i.preventDefault(),r.handleDrag(i),window.addEventListener("mousemove",r.handleDrag),window.addEventListener("mouseup",r.handleMouseUp))},r.handleMouseUp=function(){r.unbindEventListeners()},r.unbindEventListeners=function(){window.removeEventListener("mousemove",r.handleDrag),window.removeEventListener("mouseup",r.handleMouseUp)},r.state={value:String(t.value).toUpperCase(),blurValue:String(t.value).toUpperCase()},r.inputId="rc-editable-input-"+jOe++,r}return BOe(e,[{key:"componentDidUpdate",value:function(r,i){this.props.value!==this.state.value&&(r.value!==this.props.value||i.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(r){return TOe({},this.props.label,r)}},{key:"getArrowOffset",value:function(){return this.props.arrowOffset||DOe}},{key:"setUpdatedValue",value:function(r,i){var o=this.props.label?this.getValueObjectWithLabel(r):r;this.props.onChange&&this.props.onChange(o,i),this.setState({value:r})}},{key:"render",value:function(){var r=this,i=(0,kOe.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 OE.default.createElement("div",{style:i.wrap},OE.default.createElement("input",{id:this.inputId,style:i.input,ref:function(a){return r.input=a},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?OE.default.createElement("label",{htmlFor:this.inputId,style:i.label,onMouseDown:this.handleMouseDown},this.props.label):null)}}]),e}(IB.PureComponent||IB.Component);lx.default=NOe;var ux= Line truncated
.hue-horizontal {
background: linear-gradient(to right, #f00 0%, #ff0 17%, #0f0
33%, #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);
@@ -773,7 +773,7 @@ Expecting `+he.join(", ")+", got '"+this.terminals_[ae]+"'":$e="Parse error on l
background: -webkit-linear-gradient(to top, #f00 0%, #ff0 17%,
#0f0 33%, #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);
}
`),Ng.default.createElement("div",{style:a.pointer},this.props.pointer?Ng.default.createElement(this.props.pointer,this.props):Ng.default.createElement("div",{style:a.slider}))))}}]),e}(IB.PureComponent||IB.Component);ux.default=ZOe;var Ax={};Object.defineProperty(Ax,"__esModule",{value:!0});Ax.Raised=void 0;var XOe=Wn,OE=sM(XOe),JOe=Fh,H2=sM(JOe),eBe=qs,tBe=sM(eBe),nBe=uQ,rBe=sM(nBe);function sM(n){return n&&n.__esModule?n:{default:n}}var dk=Ax.Raised=function(e){var t=e.zDepth,r=e.radius,i=e.background,o=e.children,a=e.styles,s=a===void 0?{}:a,d=(0,tBe.default)((0,rBe.default)({default:{wrap:{position:"relative",display:"inline-block"},content:{position:"relative"},bg:{absolute:"0px 0px 0px 0px",boxShadow:"0 "+t+"px "+t*4+"px rgba(0,0,0,.24)",borderRadius:r,background:i}},"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%"}}},s),{"zDepth-1":t===1});return OE.default.createElement("div",{style:d.wrap},OE.default.createElement("div",{style:d.bg}),OE.default.createElement("div",{style:d.content},o))};dk.propTypes={background:H2.default.string,zDepth:H2.default.oneOf([0,1,2,3,4,5]),radius:H2.default.number,styles:H2.default.object};dk.defaultProps={background:"#fff",zDepth:1,radius:2,styles:{}};Ax.default=dk;var cx={},iBe=Rh,oBe=function(){return iBe.Date.now()},aBe=oBe,sBe=/\s/;function lBe(n){for(var e=n.length;e--&&sBe.test(n.charAt(e)););return e}var uBe=lBe,ABe=uBe,cBe=/^\s+/;function dBe(n){return n&&n.slice(0,ABe(n)+1).replace(cBe,"")}var hBe=dBe,fBe=hBe,HL=qd,pBe=rM,ZL=NaN,mBe=/^[-+]0x[0-9a-f]+$/i,gBe=/^0b[01]+$/i,yBe=/^0o[0-7]+$/i,vBe=parseInt;function CBe(n){if(typeof n=="number")return n;if(pBe(n))return ZL;if(HL(n)){var e=typeof n.valueOf=="function"?n.valueOf():n;n=HL(e)?e+"":e}if(typeof n!="string")return n===0?n:+n;n=fBe(n);var t=gBe.test(n);return t||yBe.test(n)?vBe(n.slice(2),t?2:8):mBe.test(n)?ZL:+n}var _Be=CBe,bBe=qd,BE=aBe,XL=_Be,xBe="Expected a function",wBe=Math.max,MBe=Math.min;function SBe(n,e,t){var r,i,o,a,s,d,f=0,C=!1,O=!1,E=!0;if(typeof n!="function")throw new TypeError(xBe);e=XL(e)||0,bBe(t)&&(C=!!t.leading,O="maxWait"in t,o=O?wBe(XL(t.maxWait)||0,e):o,E="trailing"in t?!!t.trailing:E);function P(fe){var X=r,oe=i;return r=i=void 0,f=fe,a=n.apply(oe,X),a}function L(fe){return f=fe,s=setTimeout(Q,e),C?P(fe):a}function $(fe){var X=fe-d,oe=fe-f,Ce=e-X;return O?MBe(Ce,o-oe):Ce}function H(fe){var X=fe-d,oe=fe-f;return d===void 0||X>=e||X<0||O&&oe>=o}function Q(){var fe=BE();if(H(fe))return N(fe);s=setTimeout(Q,$(fe))}function N(fe){return s=void 0,E&&r?P(fe):(r=i=void 0,a)}function Z(){s!==void 0&&clearTimeout(s),f=0,r=d=i=s=void 0}function ae(){return s===void 0?a:N(BE())}function pe(){var fe=BE(),X=H(fe);if(r=arguments,i=this,d=fe,X){if(s===void 0)return L(d);if(O)return clearTimeout(s),s=setTimeout(Q,e),P(d)}return s===void 0&&(s=setTimeout(Q,e)),a}return pe.cancel=Z,pe.flush=ae,pe}var mQ=SBe,EBe=mQ,OBe=qd,BBe="Expected a function";function IBe(n,e,t){var r=!0,i=!0;if(typeof n!="function")throw new TypeError(BBe);return OBe(t)&&(r="leading"in t?!!t.leading:r,i="trailing"in t?!!t.trailing:i),EBe(n,e,{leading:r,maxWait:e,trailing:i})}var kBe=IBe,hk={};Object.defineProperty(hk,"__esModule",{value:!0});hk.calculateChange=function(e,t,r){var i=r.getBoundingClientRect(),o=i.width,a=i.height,s=typeof e.pageX=="number"?e.pageX:e.touches[0].pageX,d=typeof e.pageY=="number"?e.pageY:e.touches[0].pageY,f=s-(r.getBoundingClientRect().left+window.pageXOffset),C=d-(r.getBoundingClientRect().top+window.pageYOffset);f<0?f=0:f>o&&(f=o),C<0?C=0:C>a&&(C=a);var O=f/o,E=1-C/a;return{h:t.h,s:O,v:E,a:t.a,source:"hsv"}};Object.defineProperty(cx,"__esModule",{value:!0});cx.Saturation=void 0;var TBe=function(){function n(e,t){for(var r=0;r<t.length;r++){var i=t[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}}(),kB=Wn,Y0=fk(kB),KBe=qs,PBe=fk(KBe),LBe=kBe,DBe=fk(LBe),FBe=hk,UBe=RBe(FBe);function RBe(n){if(n&&n.__esModule)return n;var e={};if(n!=null)for(var t in n)Object.prototype.hasOwnProperty.call(n,t)&&(e[t]=n[t]);return e.default=n,e}function fk(n){return n&&n.__esModule?n:{default:n}}function zBe(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function jBe(n,e){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:n}function NBe(n,e){if(typeof e!="function"&&e!==null)throw new Typ Line truncated
`),Ng.default.createElement("div",{style:a.pointer},this.props.pointer?Ng.default.createElement(this.props.pointer,this.props):Ng.default.createElement("div",{style:a.slider}))))}}]),e}(kB.PureComponent||kB.Component);ux.default=ZOe;var Ax={};Object.defineProperty(Ax,"__esModule",{value:!0});Ax.Raised=void 0;var XOe=Wn,BE=sM(XOe),JOe=Fh,H2=sM(JOe),eBe=qs,tBe=sM(eBe),nBe=uQ,rBe=sM(nBe);function sM(n){return n&&n.__esModule?n:{default:n}}var hk=Ax.Raised=function(e){var t=e.zDepth,r=e.radius,i=e.background,o=e.children,a=e.styles,s=a===void 0?{}:a,d=(0,tBe.default)((0,rBe.default)({default:{wrap:{position:"relative",display:"inline-block"},content:{position:"relative"},bg:{absolute:"0px 0px 0px 0px",boxShadow:"0 "+t+"px "+t*4+"px rgba(0,0,0,.24)",borderRadius:r,background:i}},"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%"}}},s),{"zDepth-1":t===1});return BE.default.createElement("div",{style:d.wrap},BE.default.createElement("div",{style:d.bg}),BE.default.createElement("div",{style:d.content},o))};hk.propTypes={background:H2.default.string,zDepth:H2.default.oneOf([0,1,2,3,4,5]),radius:H2.default.number,styles:H2.default.object};hk.defaultProps={background:"#fff",zDepth:1,radius:2,styles:{}};Ax.default=hk;var cx={},iBe=Rh,oBe=function(){return iBe.Date.now()},aBe=oBe,sBe=/\s/;function lBe(n){for(var e=n.length;e--&&sBe.test(n.charAt(e)););return e}var uBe=lBe,ABe=uBe,cBe=/^\s+/;function dBe(n){return n&&n.slice(0,ABe(n)+1).replace(cBe,"")}var hBe=dBe,fBe=hBe,HL=qd,pBe=rM,ZL=NaN,mBe=/^[-+]0x[0-9a-f]+$/i,gBe=/^0b[01]+$/i,yBe=/^0o[0-7]+$/i,vBe=parseInt;function CBe(n){if(typeof n=="number")return n;if(pBe(n))return ZL;if(HL(n)){var e=typeof n.valueOf=="function"?n.valueOf():n;n=HL(e)?e+"":e}if(typeof n!="string")return n===0?n:+n;n=fBe(n);var t=gBe.test(n);return t||yBe.test(n)?vBe(n.slice(2),t?2:8):mBe.test(n)?ZL:+n}var _Be=CBe,bBe=qd,IE=aBe,XL=_Be,xBe="Expected a function",wBe=Math.max,MBe=Math.min;function SBe(n,e,t){var r,i,o,a,s,d,f=0,C=!1,O=!1,E=!0;if(typeof n!="function")throw new TypeError(xBe);e=XL(e)||0,bBe(t)&&(C=!!t.leading,O="maxWait"in t,o=O?wBe(XL(t.maxWait)||0,e):o,E="trailing"in t?!!t.trailing:E);function P(fe){var X=r,oe=i;return r=i=void 0,f=fe,a=n.apply(oe,X),a}function L(fe){return f=fe,s=setTimeout(Q,e),C?P(fe):a}function $(fe){var X=fe-d,oe=fe-f,Ce=e-X;return O?MBe(Ce,o-oe):Ce}function H(fe){var X=fe-d,oe=fe-f;return d===void 0||X>=e||X<0||O&&oe>=o}function Q(){var fe=IE();if(H(fe))return N(fe);s=setTimeout(Q,$(fe))}function N(fe){return s=void 0,E&&r?P(fe):(r=i=void 0,a)}function Z(){s!==void 0&&clearTimeout(s),f=0,r=d=i=s=void 0}function ae(){return s===void 0?a:N(IE())}function pe(){var fe=IE(),X=H(fe);if(r=arguments,i=this,d=fe,X){if(s===void 0)return L(d);if(O)return clearTimeout(s),s=setTimeout(Q,e),P(d)}return s===void 0&&(s=setTimeout(Q,e)),a}return pe.cancel=Z,pe.flush=ae,pe}var mQ=SBe,EBe=mQ,OBe=qd,BBe="Expected a function";function IBe(n,e,t){var r=!0,i=!0;if(typeof n!="function")throw new TypeError(BBe);return OBe(t)&&(r="leading"in t?!!t.leading:r,i="trailing"in t?!!t.trailing:i),EBe(n,e,{leading:r,maxWait:e,trailing:i})}var kBe=IBe,fk={};Object.defineProperty(fk,"__esModule",{value:!0});fk.calculateChange=function(e,t,r){var i=r.getBoundingClientRect(),o=i.width,a=i.height,s=typeof e.pageX=="number"?e.pageX:e.touches[0].pageX,d=typeof e.pageY=="number"?e.pageY:e.touches[0].pageY,f=s-(r.getBoundingClientRect().left+window.pageXOffset),C=d-(r.getBoundingClientRect().top+window.pageYOffset);f<0?f=0:f>o&&(f=o),C<0?C=0:C>a&&(C=a);var O=f/o,E=1-C/a;return{h:t.h,s:O,v:E,a:t.a,source:"hsv"}};Object.defineProperty(cx,"__esModule",{value:!0});cx.Saturation=void 0;var TBe=function(){function n(e,t){for(var r=0;r<t.length;r++){var i=t[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}}(),TB=Wn,Y0=pk(TB),KBe=qs,PBe=pk(KBe),LBe=kBe,DBe=pk(LBe),FBe=fk,UBe=RBe(FBe);function RBe(n){if(n&&n.__esModule)return n;var e={};if(n!=null)for(var t in n)Object.prototype.hasOwnProperty.call(n,t)&&(e[t]=n[t]);return e.default=n,e}function pk(n){return n&&n.__esModule?n:{default:n}}function zBe(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function jBe(n,e){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:n}function NBe(n,e){if(typeof e!="function"&&e!==null)throw new Typ Line truncated
0 0 1px 2px rgba(0,0,0,.4)`,borderRadius:"50%",cursor:"hand",transform:"translate(-2px, -2px)"}},custom:{color:o,white:a,black:s,pointer:d,circle:f}},{custom:!!this.props.style});return Y0.default.createElement("div",{style:C.color,ref:function(E){return r.container=E},onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},Y0.default.createElement("style",null,`
.saturation-white {
background: -webkit-linear-gradient(to right, #fff, rgba(255,255,255,0));
@@ -783,7 +783,7 @@ Expecting `+he.join(", ")+", got '"+this.terminals_[ae]+"'":$e="Parse error on l
background: -webkit-linear-gradient(to top, #000, rgba(0,0,0,0));
background: linear-gradient(to top, #000, rgba(0,0,0,0));
}
`),Y0.default.createElement("div",{style:C.white,className:"saturation-white"},Y0.default.createElement("div",{style:C.black,className:"saturation-black"}),Y0.default.createElement("div",{style:C.pointer},this.props.pointer?Y0.default.createElement(this.props.pointer,this.props):Y0.default.createElement("div",{style:C.circle}))))}}]),e}(kB.PureComponent||kB.Component);cx.default=WBe;var dx={},zA={},GBe=Y$,$Be=Q$,QBe=S$,YBe=sd;function qBe(n,e){var t=YBe(n)?GBe:$Be;return t(n,QBe(e))}var VBe=qBe,HBe=VBe,gQ={exports:{}};(function(n,e){(function(t,r){n.exports=r()})(Dh,function(){function t(ke){"@babel/helpers - typeof";return t=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(ge){return typeof ge}:function(ge){return ge&&typeof Symbol=="function"&&ge.constructor===Symbol&&ge!==Symbol.prototype?"symbol":typeof ge},t(ke)}var r=/^\s+/,i=/\s+$/;function o(ke,ge){if(ke=ke||"",ge=ge||{},ke instanceof o)return ke;if(!(this instanceof o))return new o(ke,ge);var Se=a(ke);this._originalInput=ke,this._r=Se.r,this._g=Se.g,this._b=Se.b,this._a=Se.a,this._roundA=Math.round(100*this._a)/100,this._format=ge.format||Se.format,this._gradientType=ge.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=Se.ok}o.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 ge=this.toRgb();return(ge.r*299+ge.g*587+ge.b*114)/1e3},getLuminance:function(){var ge=this.toRgb(),Se,ze,it,ot,St,Rt;return Se=ge.r/255,ze=ge.g/255,it=ge.b/255,Se<=.03928?ot=Se/12.92:ot=Math.pow((Se+.055)/1.055,2.4),ze<=.03928?St=ze/12.92:St=Math.pow((ze+.055)/1.055,2.4),it<=.03928?Rt=it/12.92:Rt=Math.pow((it+.055)/1.055,2.4),.2126*ot+.7152*St+.0722*Rt},setAlpha:function(ge){return this._a=$e(ge),this._roundA=Math.round(100*this._a)/100,this},toHsv:function(){var ge=C(this._r,this._g,this._b);return{h:ge.h*360,s:ge.s,v:ge.v,a:this._a}},toHsvString:function(){var ge=C(this._r,this._g,this._b),Se=Math.round(ge.h*360),ze=Math.round(ge.s*100),it=Math.round(ge.v*100);return this._a==1?"hsv("+Se+", "+ze+"%, "+it+"%)":"hsva("+Se+", "+ze+"%, "+it+"%, "+this._roundA+")"},toHsl:function(){var ge=d(this._r,this._g,this._b);return{h:ge.h*360,s:ge.s,l:ge.l,a:this._a}},toHslString:function(){var ge=d(this._r,this._g,this._b),Se=Math.round(ge.h*360),ze=Math.round(ge.s*100),it=Math.round(ge.l*100);return this._a==1?"hsl("+Se+", "+ze+"%, "+it+"%)":"hsla("+Se+", "+ze+"%, "+it+"%, "+this._roundA+")"},toHex:function(ge){return E(this._r,this._g,this._b,ge)},toHexString:function(ge){return"#"+this.toHex(ge)},toHex8:function(ge){return P(this._r,this._g,this._b,this._a,ge)},toHex8String:function(ge){return"#"+this.toHex8(ge)},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(ye(this._r,255)*100)+"%",g:Math.round(ye(this._g,255)*100)+"%",b:Math.round(ye(this._b,255)*100)+"%",a:this._a}},toPercentageRgbString:function(){return this._a==1?"rgb("+Math.round(ye(this._r,255)*100)+"%, "+Math.round(ye(this._g,255)*100)+"%, "+Math.round(ye(this._b,255)*100)+"%)":"rgba("+Math.round(ye(this._r,255)*100)+"%, "+Math.round(ye(this._g,255)*100)+"%, "+Math.round(ye(this._b,255)*100)+"%, "+this._roundA+")"},toName:function(){return this._a===0?"transparent":this._a<1?!1:Pe[E(this._r,this._g,this._b,!0)]||!1},toFilter:function(ge){var Se="#"+L(this._r,this._g,this._b,this._a),ze=Se,it=this._gradientType?"GradientType = 1, ":"";if(ge){var ot=o(ge);ze="#"+L(ot._r,ot._g,ot._b,ot._a)}return"progid:DXImageTransform.Microsoft.gradient("+it+"startColorstr="+Se+",endColorstr="+ze+")"},toString:function(ge){var Se=!!ge;ge=ge||this._format;var ze=!1,it=this._a<1&&this._a>=0,ot=!Se&&it&&(ge==="hex"||ge==="hex6"||ge==="hex3"||ge==="hex4"||ge==="hex8"||ge==="name");return ot?ge==="name"&&this._a===0?this.toName():this.toRgbString():(ge==="rgb"&&(ze=this.toRgbString()),ge==="prgb"&&(ze=this.toPercentageRgbString()),(ge==="hex"||ge==="hex6")&&(ze=this.toHexString()),ge==="hex3"&&(ze=this.toHexString(!0)),ge==="hex4"&&(ze=this.toHex8String(!0)),ge==="hex8"&&(ze=this.toHex8String()),ge==="name"&&(ze=this.toName()),ge==="hsl"&&(ze=this.toHslString()),ge==="hsv"&&(ze=this.toHsvString()),ze||this.toHexString())},clone:function(){return o(this.toString())},_applyModification:function(ge,Se){var ze=ge.apply(null,[this].concat([].slice.call(Se)));return this._r=ze._r,this._g=ze._g,this._b=ze._b,this.setAlpha(ze._a),this},lighten:function(){return this._ Line truncated
`),Y0.default.createElement("div",{style:C.white,className:"saturation-white"},Y0.default.createElement("div",{style:C.black,className:"saturation-black"}),Y0.default.createElement("div",{style:C.pointer},this.props.pointer?Y0.default.createElement(this.props.pointer,this.props):Y0.default.createElement("div",{style:C.circle}))))}}]),e}(TB.PureComponent||TB.Component);cx.default=WBe;var dx={},zA={},GBe=Y$,$Be=Q$,QBe=S$,YBe=sd;function qBe(n,e){var t=YBe(n)?GBe:$Be;return t(n,QBe(e))}var VBe=qBe,HBe=VBe,gQ={exports:{}};(function(n,e){(function(t,r){n.exports=r()})(Dh,function(){function t(ke){"@babel/helpers - typeof";return t=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(ge){return typeof ge}:function(ge){return ge&&typeof Symbol=="function"&&ge.constructor===Symbol&&ge!==Symbol.prototype?"symbol":typeof ge},t(ke)}var r=/^\s+/,i=/\s+$/;function o(ke,ge){if(ke=ke||"",ge=ge||{},ke instanceof o)return ke;if(!(this instanceof o))return new o(ke,ge);var Se=a(ke);this._originalInput=ke,this._r=Se.r,this._g=Se.g,this._b=Se.b,this._a=Se.a,this._roundA=Math.round(100*this._a)/100,this._format=ge.format||Se.format,this._gradientType=ge.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=Se.ok}o.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 ge=this.toRgb();return(ge.r*299+ge.g*587+ge.b*114)/1e3},getLuminance:function(){var ge=this.toRgb(),Se,ze,it,ot,St,Rt;return Se=ge.r/255,ze=ge.g/255,it=ge.b/255,Se<=.03928?ot=Se/12.92:ot=Math.pow((Se+.055)/1.055,2.4),ze<=.03928?St=ze/12.92:St=Math.pow((ze+.055)/1.055,2.4),it<=.03928?Rt=it/12.92:Rt=Math.pow((it+.055)/1.055,2.4),.2126*ot+.7152*St+.0722*Rt},setAlpha:function(ge){return this._a=$e(ge),this._roundA=Math.round(100*this._a)/100,this},toHsv:function(){var ge=C(this._r,this._g,this._b);return{h:ge.h*360,s:ge.s,v:ge.v,a:this._a}},toHsvString:function(){var ge=C(this._r,this._g,this._b),Se=Math.round(ge.h*360),ze=Math.round(ge.s*100),it=Math.round(ge.v*100);return this._a==1?"hsv("+Se+", "+ze+"%, "+it+"%)":"hsva("+Se+", "+ze+"%, "+it+"%, "+this._roundA+")"},toHsl:function(){var ge=d(this._r,this._g,this._b);return{h:ge.h*360,s:ge.s,l:ge.l,a:this._a}},toHslString:function(){var ge=d(this._r,this._g,this._b),Se=Math.round(ge.h*360),ze=Math.round(ge.s*100),it=Math.round(ge.l*100);return this._a==1?"hsl("+Se+", "+ze+"%, "+it+"%)":"hsla("+Se+", "+ze+"%, "+it+"%, "+this._roundA+")"},toHex:function(ge){return E(this._r,this._g,this._b,ge)},toHexString:function(ge){return"#"+this.toHex(ge)},toHex8:function(ge){return P(this._r,this._g,this._b,this._a,ge)},toHex8String:function(ge){return"#"+this.toHex8(ge)},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(ye(this._r,255)*100)+"%",g:Math.round(ye(this._g,255)*100)+"%",b:Math.round(ye(this._b,255)*100)+"%",a:this._a}},toPercentageRgbString:function(){return this._a==1?"rgb("+Math.round(ye(this._r,255)*100)+"%, "+Math.round(ye(this._g,255)*100)+"%, "+Math.round(ye(this._b,255)*100)+"%)":"rgba("+Math.round(ye(this._r,255)*100)+"%, "+Math.round(ye(this._g,255)*100)+"%, "+Math.round(ye(this._b,255)*100)+"%, "+this._roundA+")"},toName:function(){return this._a===0?"transparent":this._a<1?!1:Pe[E(this._r,this._g,this._b,!0)]||!1},toFilter:function(ge){var Se="#"+L(this._r,this._g,this._b,this._a),ze=Se,it=this._gradientType?"GradientType = 1, ":"";if(ge){var ot=o(ge);ze="#"+L(ot._r,ot._g,ot._b,ot._a)}return"progid:DXImageTransform.Microsoft.gradient("+it+"startColorstr="+Se+",endColorstr="+ze+")"},toString:function(ge){var Se=!!ge;ge=ge||this._format;var ze=!1,it=this._a<1&&this._a>=0,ot=!Se&&it&&(ge==="hex"||ge==="hex6"||ge==="hex3"||ge==="hex4"||ge==="hex8"||ge==="name");return ot?ge==="name"&&this._a===0?this.toName():this.toRgbString():(ge==="rgb"&&(ze=this.toRgbString()),ge==="prgb"&&(ze=this.toPercentageRgbString()),(ge==="hex"||ge==="hex6")&&(ze=this.toHexString()),ge==="hex3"&&(ze=this.toHexString(!0)),ge==="hex4"&&(ze=this.toHex8String(!0)),ge==="hex8"&&(ze=this.toHex8String()),ge==="name"&&(ze=this.toName()),ge==="hsl"&&(ze=this.toHslString()),ge==="hsv"&&(ze=this.toHsvString()),ze||this.toHexString())},clone:function(){return o(this.toString())},_applyModification:function(ge,Se){var ze=ge.apply(null,[this].concat([].slice.call(Se)));return this._r=ze._r,this._g=ze._g,this._b=ze._b,this.setAlpha(ze._a),this},lighten:function(){return this._ Line truncated
<html>
<head>
<meta charset="utf-8" />
@@ -807,11 +807,11 @@ Expecting `+he.join(", ")+", got '"+this.terminals_[ae]+"'":$e="Parse error on l
<\/script>
</body>
</html>
`),i=(xo().s[8]++,new Blob([r],{type:"text/html;charset=utf-8"})),o=(xo().s[9]++,this.exportName());xo().s[10]++,vD.saveAs(i,o+".html")}downloadStyle(){xo().f[3]++;const e=(xo().s[11]++,this.tokenizedStyle()),t=(xo().s[12]++,new Blob([e],{type:"application/json;charset=utf-8"})),r=(xo().s[13]++,this.exportName());xo().s[14]++,vD.saveAs(t,r+".json")}changeMetadataProperty(e,t){xo().f[4]++;const r=(xo().s[15]++,{...this.props.mapStyle,metadata:{...this.props.mapStyle.metadata,[e]:t}});xo().s[16]++,this.props.onStyleChanged(r)}render(){xo().f[5]++;const e=(xo().s[17]++,this.props.t),t=(xo().s[18]++,UQ(e));return xo().s[19]++,G.jsx(g0,{"data-wd-key":"modal:export",isOpen:this.props.isOpen,onOpenToggle:this.props.onOpenToggle,title:e("Export Style"),className:"maputnik-export-modal",children:G.jsxs("section",{className:"maputnik-modal-section",children:[G.jsx("h1",{children:e("Download Style")}),G.jsx("p",{children:e("Download a JSON style to your computer.")}),G.jsxs("div",{children:[G.jsx(Fm,{label:t.maputnik.maptiler_access_token.label,fieldSpec:t.maputnik.maptiler_access_token,value:(xo().b[2][0]++,this.props.mapStyle.metadata||(xo().b[2][1]++,{}))["maputnik:openmaptiles_access_token"],onChange:this.changeMetadataProperty.bind(this,"maputnik:openmaptiles_access_token")}),G.jsx(Fm,{label:t.maputnik.thunderforest_access_token.label,fieldSpec:t.maputnik.thunderforest_access_token,value:(xo().b[3][0]++,this.props.mapStyle.metadata||(xo().b[3][1]++,{}))["maputnik:thunderforest_access_token"],onChange:this.changeMetadataProperty.bind(this,"maputnik:thunderforest_access_token")})]}),G.jsxs("div",{className:"maputnik-modal-export-buttons",children:[G.jsxs(is,{onClick:this.downloadStyle.bind(this),children:[G.jsx(lO,{}),e("Download Style")]}),G.jsxs(is,{onClick:this.downloadHtml.bind(this),children:[G.jsx(lO,{}),e("Download HTML")]})]})]})})}}const XIe=(xo().s[20]++,No()(ZIe));function M5(){var n="/home/runner/work/maputnik/maputnik/src/components/FieldDynamicArray.tsx",e="950dd35e62562a3439b74678b95f406e749c6958",t=globalThis,r="__coverage__",i={path:"/home/runner/work/maputnik/maputnik/src/components/FieldDynamicArray.tsx",statementMap:{0:{start:{line:7,column:4},end:{line:7,column:139}}},fnMap:{0:{name:"(anonymous_0)",decl:{start:{line:6,column:2},end:{line:6,column:3}},loc:{start:{line:6,column:11},end:{line:8,column:3}},line:6}},branchMap:{},s:{0:0},f:{0:0},b:{},inputSourceMap:{version:3,file:null,sources:["/home/runner/work/maputnik/maputnik/src/components/FieldDynamicArray.tsx"],names:[],mappings:"AAWM;AAXN,OAAO,WAAW;AAClB,OAAO,uBAA2E;AAClF,OAAO,cAAc;AAMrB,qBAAqB,0BAA0B,MAAM,UAAkC;AAAA,EACrF,SAAS;AACP,WAAO,oBAAC,YAAS,OAAO,KAAK,MAAM,OACjC,8BAAC,qBAAmB,GAAG,KAAK,OAAO,GACrC;AAAA,EACF;AACF;"},_coverageSchema:"1a1c01bbd47fc00a2c39e90264f33305004495a9",hash:"950dd35e62562a3439b74678b95f406e749c6958"},o=t[r]||(t[r]={});(!o[n]||o[n].hash!==e)&&(o[n]=i);var a=o[n];return M5=function(){return a},a}M5();class GQ extends Mn.Component{render(){return M5().f[0]++,M5().s[0]++,G.jsx(Mb,{label:this.props.label,children:G.jsx(SQ,{...this.props})})}}function S5(){var n="/home/runner/work/maputnik/maputnik/src/components/FieldCheckbox.tsx",e="a27c35e986d22656fa80c276efb67df518853ac2",t=globalThis,r="__coverage__",i={path:"/home/runner/work/maputnik/maputnik/src/components/FieldCheckbox.tsx",statementMap:{0:{start:{line:7,column:4},end:{line:7,column:132}}},fnMap:{0:{name:"(anonymous_0)",decl:{start:{line:6,column:2},end:{line:6,column:3}},loc:{start:{line:6,column:11},end:{line:8,column:3}},line:6}},branchMap:{},s:{0:0},f:{0:0},b:{},inputSourceMap:{version:3,file:null,sources:["/home/runner/work/maputnik/maputnik/src/components/FieldCheckbox.tsx"],names:[],mappings:"AAaM;AAbN,OAAO,WAAW;AAClB,OAAO,WAAW;AAClB,OAAO,mBAAyC;AAQhD,qBAAqB,sBAAsB,MAAM,UAA8B;AAAA,EAC7E,SAAS;AACP,WAAO,oBAAC,SAAM,OAAO,KAAK,MAAM,OAC9B,8BAAC,iBAAe,GAAG,KAAK,OAAO,GACjC;AAAA,EACF;AACF;"},_coverageSchema:"1a1c01bbd47fc00a2c39e90264f33305004495a9",hash:"a27c35e986d22656fa80c276efb67df518853ac2"},o=t[r]||(t[r]={});(!o[n]||o[n].hash!==e)&&(o[n]=i);var a=o[n];return S5=function(){return a},a}S5();class JIe extends Mn.Component{render(){return S5().f[0]++,S5().s[0]++,G.jsx(la,{label:this.props.label,children:G.jsx(yk,{...this.props})})}}function Ln(){var n="/home/runner/work/maputnik/maputnik/src/components/ModalSourcesTypeEditor.tsx",e="c3514fc0a8673e5905dc8e28539523e62bed5902",t=globalThis,r="__coverage__",i={path:"/home/runner/work/maputnik/maputnik/src/components/ModalSourcesTypeEditor.tsx",statementMap:{0:{start:{line:15,column:14},end:{line:15,column:26}},1:{start:{line:16,column:4},end:{line:30,column:9}},2:{start:{line:23,column:29},end:{line:26,column:12}},3:{start:{line:35,column:4},end:{line:38,column:7}},4:{start:{line:41,column:18},end:{line:41,column:47}},5:{start:{line:42,column:4},end:{line:51,column:6}},6:{start:{line:54,column:14},end:{line:54,column:26}},7:{start:{line:55,column:4},end:{line:82,column:9}},8:{start:{line:63,column:33},end:{line:66, Line truncated
`)>=0)return!1;return!0}function dTe(n,e){var t;if(n.indent===" ")t=" ";else if(typeof n.indent=="number"&&n.indent>0)t=kf.call(Array(n.indent+1)," ");else return null;return{base:t,prev:kf.call(Array(e+1),t)}}function RB(n,e){if(n.length===0)return"";var t=`
`),i=(xo().s[8]++,new Blob([r],{type:"text/html;charset=utf-8"})),o=(xo().s[9]++,this.exportName());xo().s[10]++,vD.saveAs(i,o+".html")}downloadStyle(){xo().f[3]++;const e=(xo().s[11]++,this.tokenizedStyle()),t=(xo().s[12]++,new Blob([e],{type:"application/json;charset=utf-8"})),r=(xo().s[13]++,this.exportName());xo().s[14]++,vD.saveAs(t,r+".json")}changeMetadataProperty(e,t){xo().f[4]++;const r=(xo().s[15]++,{...this.props.mapStyle,metadata:{...this.props.mapStyle.metadata,[e]:t}});xo().s[16]++,this.props.onStyleChanged(r)}render(){xo().f[5]++;const e=(xo().s[17]++,this.props.t),t=(xo().s[18]++,UQ(e));return xo().s[19]++,G.jsx(g0,{"data-wd-key":"modal:export",isOpen:this.props.isOpen,onOpenToggle:this.props.onOpenToggle,title:e("Export Style"),className:"maputnik-export-modal",children:G.jsxs("section",{className:"maputnik-modal-section",children:[G.jsx("h1",{children:e("Download Style")}),G.jsx("p",{children:e("Download a JSON style to your computer.")}),G.jsxs("div",{children:[G.jsx(Fm,{label:t.maputnik.maptiler_access_token.label,fieldSpec:t.maputnik.maptiler_access_token,value:(xo().b[2][0]++,this.props.mapStyle.metadata||(xo().b[2][1]++,{}))["maputnik:openmaptiles_access_token"],onChange:this.changeMetadataProperty.bind(this,"maputnik:openmaptiles_access_token")}),G.jsx(Fm,{label:t.maputnik.thunderforest_access_token.label,fieldSpec:t.maputnik.thunderforest_access_token,value:(xo().b[3][0]++,this.props.mapStyle.metadata||(xo().b[3][1]++,{}))["maputnik:thunderforest_access_token"],onChange:this.changeMetadataProperty.bind(this,"maputnik:thunderforest_access_token")})]}),G.jsxs("div",{className:"maputnik-modal-export-buttons",children:[G.jsxs(is,{onClick:this.downloadStyle.bind(this),children:[G.jsx(uO,{}),e("Download Style")]}),G.jsxs(is,{onClick:this.downloadHtml.bind(this),children:[G.jsx(uO,{}),e("Download HTML")]})]})]})})}}const XIe=(xo().s[20]++,No()(ZIe));function M5(){var n="/home/runner/work/maputnik/maputnik/src/components/FieldDynamicArray.tsx",e="950dd35e62562a3439b74678b95f406e749c6958",t=globalThis,r="__coverage__",i={path:"/home/runner/work/maputnik/maputnik/src/components/FieldDynamicArray.tsx",statementMap:{0:{start:{line:7,column:4},end:{line:7,column:139}}},fnMap:{0:{name:"(anonymous_0)",decl:{start:{line:6,column:2},end:{line:6,column:3}},loc:{start:{line:6,column:11},end:{line:8,column:3}},line:6}},branchMap:{},s:{0:0},f:{0:0},b:{},inputSourceMap:{version:3,file:null,sources:["/home/runner/work/maputnik/maputnik/src/components/FieldDynamicArray.tsx"],names:[],mappings:"AAWM;AAXN,OAAO,WAAW;AAClB,OAAO,uBAA2E;AAClF,OAAO,cAAc;AAMrB,qBAAqB,0BAA0B,MAAM,UAAkC;AAAA,EACrF,SAAS;AACP,WAAO,oBAAC,YAAS,OAAO,KAAK,MAAM,OACjC,8BAAC,qBAAmB,GAAG,KAAK,OAAO,GACrC;AAAA,EACF;AACF;"},_coverageSchema:"1a1c01bbd47fc00a2c39e90264f33305004495a9",hash:"950dd35e62562a3439b74678b95f406e749c6958"},o=t[r]||(t[r]={});(!o[n]||o[n].hash!==e)&&(o[n]=i);var a=o[n];return M5=function(){return a},a}M5();class GQ extends Mn.Component{render(){return M5().f[0]++,M5().s[0]++,G.jsx(Mb,{label:this.props.label,children:G.jsx(SQ,{...this.props})})}}function S5(){var n="/home/runner/work/maputnik/maputnik/src/components/FieldCheckbox.tsx",e="a27c35e986d22656fa80c276efb67df518853ac2",t=globalThis,r="__coverage__",i={path:"/home/runner/work/maputnik/maputnik/src/components/FieldCheckbox.tsx",statementMap:{0:{start:{line:7,column:4},end:{line:7,column:132}}},fnMap:{0:{name:"(anonymous_0)",decl:{start:{line:6,column:2},end:{line:6,column:3}},loc:{start:{line:6,column:11},end:{line:8,column:3}},line:6}},branchMap:{},s:{0:0},f:{0:0},b:{},inputSourceMap:{version:3,file:null,sources:["/home/runner/work/maputnik/maputnik/src/components/FieldCheckbox.tsx"],names:[],mappings:"AAaM;AAbN,OAAO,WAAW;AAClB,OAAO,WAAW;AAClB,OAAO,mBAAyC;AAQhD,qBAAqB,sBAAsB,MAAM,UAA8B;AAAA,EAC7E,SAAS;AACP,WAAO,oBAAC,SAAM,OAAO,KAAK,MAAM,OAC9B,8BAAC,iBAAe,GAAG,KAAK,OAAO,GACjC;AAAA,EACF;AACF;"},_coverageSchema:"1a1c01bbd47fc00a2c39e90264f33305004495a9",hash:"a27c35e986d22656fa80c276efb67df518853ac2"},o=t[r]||(t[r]={});(!o[n]||o[n].hash!==e)&&(o[n]=i);var a=o[n];return S5=function(){return a},a}S5();class JIe extends Mn.Component{render(){return S5().f[0]++,S5().s[0]++,G.jsx(la,{label:this.props.label,children:G.jsx(vk,{...this.props})})}}function Ln(){var n="/home/runner/work/maputnik/maputnik/src/components/ModalSourcesTypeEditor.tsx",e="c3514fc0a8673e5905dc8e28539523e62bed5902",t=globalThis,r="__coverage__",i={path:"/home/runner/work/maputnik/maputnik/src/components/ModalSourcesTypeEditor.tsx",statementMap:{0:{start:{line:15,column:14},end:{line:15,column:26}},1:{start:{line:16,column:4},end:{line:30,column:9}},2:{start:{line:23,column:29},end:{line:26,column:12}},3:{start:{line:35,column:4},end:{line:38,column:7}},4:{start:{line:41,column:18},end:{line:41,column:47}},5:{start:{line:42,column:4},end:{line:51,column:6}},6:{start:{line:54,column:14},end:{line:54,column:26}},7:{start:{line:55,column:4},end:{line:82,column:9}},8:{start:{line:63,column:33},end:{line:66, Line truncated
`)>=0)return!1;return!0}function dTe(n,e){var t;if(n.indent===" ")t=" ";else if(typeof n.indent=="number"&&n.indent>0)t=kf.call(Array(n.indent+1)," ");else return null;return{base:t,prev:kf.call(Array(e+1),t)}}function zB(n,e){if(n.length===0)return"";var t=`
`+e.prev+e.base;return t+kf.call(n,","+t)+`
`+e.prev}function t3(n,e){var t=UB(n),r=[];if(t){r.length=n.length;for(var i=0;i<n.length;i++)r[i]=Km(n,i)?e(n[i],n):""}var o=typeof NE=="function"?NE(n):[],a;if(_v){a={};for(var s=0;s<o.length;s++)a["$"+o[s]]=o[s]}for(var d in n)Km(n,d)&&(t&&String(Number(d))===d&&d<n.length||_v&&a["$"+d]instanceof Symbol||(rY.call(/[^\w$]/,d)?r.push(e(d,n)+": "+e(n[d],n)):r.push(d+": "+e(n[d],n))));if(typeof NE=="function")for(var f=0;f<o.length;f++)iY.call(n,o[f])&&r.push("["+e(o[f])+"]: "+e(n[o[f]],n));return r}var uY=Gv,$v=L9e,hTe=q9e,fTe=gx,n3=uY("%WeakMap%",!0),r3=uY("%Map%",!0),pTe=$v("WeakMap.prototype.get",!0),mTe=$v("WeakMap.prototype.set",!0),gTe=$v("WeakMap.prototype.has",!0),yTe=$v("Map.prototype.get",!0),vTe=$v("Map.prototype.set",!0),CTe=$v("Map.prototype.has",!0),Bk=function(n,e){for(var t=n,r;(r=t.next)!==null;t=r)if(r.key===e)return t.next=r.next,r.next=n.next,n.next=r,r},_Te=function(n,e){var t=Bk(n,e);return t&&t.value},bTe=function(n,e,t){var r=Bk(n,e);r?r.value=t:n.next={key:e,next:n.next,value:t}},xTe=function(n,e){return!!Bk(n,e)},wTe=function(){var e,t,r,i={assert:function(o){if(!i.has(o))throw new fTe("Side channel does not contain "+hTe(o))},get:function(o){if(n3&&o&&(typeof o=="object"||typeof o=="function")){if(e)return pTe(e,o)}else if(r3){if(t)return yTe(t,o)}else if(r)return _Te(r,o)},has:function(o){if(n3&&o&&(typeof o=="object"||typeof o=="function")){if(e)return gTe(e,o)}else if(r3){if(t)return CTe(t,o)}else if(r)return xTe(r,o);return!1},set:function(o,a){n3&&o&&(typeof o=="object"||typeof o=="function")?(e||(e=new n3),mTe(e,o,a)):r3?(t||(t=new r3),vTe(t,o,a)):(r||(r={key:{},next:null}),bTe(r,o,a))}};return i},MTe=String.prototype.replace,STe=/%20/g,GE={RFC1738:"RFC1738",RFC3986:"RFC3986"},Ik={default:GE.RFC3986,formatters:{RFC1738:function(n){return MTe.call(n,STe,"+")},RFC3986:function(n){return String(n)}},RFC1738:GE.RFC1738,RFC3986:GE.RFC3986},ETe=Ik,$E=Object.prototype.hasOwnProperty,s1=Array.isArray,xf=function(){for(var n=[],e=0;e<256;++e)n.push("%"+((e<16?"0":"")+e.toString(16)).toUpperCase());return n}(),OTe=function(e){for(;e.length>1;){var t=e.pop(),r=t.obj[t.prop];if(s1(r)){for(var i=[],o=0;o<r.length;++o)typeof r[o]<"u"&&i.push(r[o]);t.obj[t.prop]=i}}},AY=function(e,t){for(var r=t&&t.plainObjects?Object.create(null):{},i=0;i<e.length;++i)typeof e[i]<"u"&&(r[i]=e[i]);return r},BTe=function n(e,t,r){if(!t)return e;if(typeof t!="object"){if(s1(e))e.push(t);else if(e&&typeof e=="object")(r&&(r.plainObjects||r.allowPrototypes)||!$E.call(Object.prototype,t))&&(e[t]=!0);else return[e,t];return e}if(!e||typeof e!="object")return[e].concat(t);var i=e;return s1(e)&&!s1(t)&&(i=AY(e,r)),s1(e)&&s1(t)?(t.forEach(function(o,a){if($E.call(e,a)){var s=e[a];s&&typeof s=="object"&&o&&typeof o=="object"?e[a]=n(s,o,r):e.push(o)}else e[a]=o}),e):Object.keys(t).reduce(function(o,a){var s=t[a];return $E.call(o,a)?o[a]=n(o[a],s,r):o[a]=s,o},i)},ITe=function(e,t){return Object.keys(t).reduce(function(r,i){return r[i]=t[i],r},e)},kTe=function(n,e,t){var r=n.replace(/\+/g," ");if(t==="iso-8859-1")return r.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(r)}catch{return r}},TTe=function(e,t,r,i,o){if(e.length===0)return e;var a=e;if(typeof e=="symbol"?a=Symbol.prototype.toString.call(e):typeof e!="string"&&(a=String(e)),r==="iso-8859-1")return escape(a).replace(/%u[0-9a-f]{4}/gi,function(C){return"%26%23"+parseInt(C.slice(2),16)+"%3B"});for(var s="",d=0;d<a.length;++d){var f=a.charCodeAt(d);if(f===45||f===46||f===95||f===126||f>=48&&f<=57||f>=65&&f<=90||f>=97&&f<=122||o===ETe.RFC1738&&(f===40||f===41)){s+=a.charAt(d);continue}if(f<128){s=s+xf[f];continue}if(f<2048){s=s+(xf[192|f>>6]+xf[128|f&63]);continue}if(f<55296||f>=57344){s=s+(xf[224|f>>12]+xf[128|f>>6&63]+xf[128|f&63]);continue}d+=1,f=65536+((f&1023)<<10|a.charCodeAt(d)&1023),s+=xf[240|f>>18]+xf[128|f>>12&63]+xf[128|f>>6&63]+xf[128|f&63]}return s},KTe=function(e){for(var t=[{obj:{o:e},prop:"o"}],r=[],i=0;i<t.length;++i)for(var o=t[i],a=o.obj[o.prop],s=Object.keys(a),d=0;d<s.length;++d){var f=s[d],C=a[f];typeof C=="object"&&C!==null&&r.indexOf(C)===-1&&(t.push({obj:a,prop:f}),r.push(C))}return OTe(t),e},PTe=function(e){return Object.prototype.toString.call(e)==="[object RegExp]"},LTe=function(e){return!e||typeof e!="object"?!1:!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))},DTe=function(e,t){return[].concat(e,t)},FTe=function(e,t){if(s1(e)){for(var r=[],i=0;i<e.length;i+=1)r.push(t(e[i]));return r}return t(e)},cY={arrayToObject:AY,assign:ITe,combine:DTe,compact:KTe,decode:kTe,encode:TTe,isBuffer:LTe,isRegExp:PTe,maybeMap:FTe,merge:BTe},dY=wTe,k3=cY,K_=Ik,UTe=Object.prototype.hasOwnProperty,hY={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},If=Array.isArray,RTe=Array.prototype.push,fY=function(n,e){RTe.apply(n,If(e)?e:[e])},zTe=Date.prototype.toISOString,$D=K_.default,Vl={addQueryPrefix:!1,allowDots:!1,allowEmptyArrays:!1,arrayFormat:"in Line truncated
`," "],uKe=["{","}","|","\\","^","`"].concat(lKe),jB=["'"].concat(uKe),QD=["%","/","?",";","#"].concat(jB),YD=["/","?","#"],AKe=255,qD=/^[+a-z0-9A-Z_-]{0,63}$/,cKe=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,dKe={javascript:!0,"javascript:":!0},NB={javascript:!0,"javascript:":!0},rv={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},WB=rKe;function vx(n,e,t){if(n&&typeof n=="object"&&n instanceof Nd)return n;var r=new Nd;return r.parse(n,e,t),r}Nd.prototype.parse=function(n,e,t){if(typeof n!="string")throw new TypeError("Parameter 'url' must be a string, not "+typeof n);var r=n.indexOf("?"),i=r!==-1&&r<n.indexOf("#")?"?":"#",o=n.split(i),a=/\\/g;o[0]=o[0].replace(a,"/"),n=o.join(i);var s=n;if(s=s.trim(),!t&&n.split("#").length===1){var d=sKe.exec(s);if(d)return this.path=s,this.href=s,this.pathname=d[1],d[2]?(this.search=d[2],e?this.query=WB.parse(this.search.substr(1)):this.query=this.search.substr(1)):e&&(this.search="",this.query={}),this}var f=oKe.exec(s);if(f){f=f[0];var C=f.toLowerCase();this.protocol=C,s=s.substr(f.length)}if(t||f||s.match(/^\/\/[^@/]+@[^@/]+/)){var O=s.substr(0,2)==="//";O&&!(f&&NB[f])&&(s=s.substr(2),this.slashes=!0)}if(!NB[f]&&(O||f&&!rv[f])){for(var E=-1,P=0;P<YD.length;P++){var L=s.indexOf(YD[P]);L!==-1&&(E===-1||L<E)&&(E=L)}var $,H;E===-1?H=s.lastIndexOf("@"):H=s.lastIndexOf("@",E),H!==-1&&($=s.slice(0,H),s=s.slice(H+1),this.auth=decodeURIComponent($)),E=-1;for(var P=0;P<QD.length;P++){var L=s.indexOf(QD[P]);L!==-1&&(E===-1||L<E)&&(E=L)}E===-1&&(E=s.length),this.host=s.slice(0,E),s=s.slice(E),this.parseHost(),this.hostname=this.hostname||"";var Q=this.hostname[0]==="["&&this.hostname[this.hostname.length-1]==="]";if(!Q)for(var N=this.hostname.split(/\./),P=0,Z=N.length;P<Z;P++){var ae=N[P];if(ae&&!ae.match(qD)){for(var pe="",fe=0,X=ae.length;fe<X;fe++)ae.charCodeAt(fe)>127?pe+="x":pe+=ae[fe];if(!pe.match(qD)){var oe=N.slice(0,P),Ce=N.slice(P+1),we=ae.match(cKe);we&&(oe.push(we[1]),Ce.unshift(we[2])),Ce.length&&(s="/"+Ce.join(".")+s),this.hostname=oe.join(".");break}}}this.hostname.length>AKe?this.hostname="":this.hostname=this.hostname.toLowerCase(),Q||(this.hostname=iKe.toASCII(this.hostname));var Te=this.port?":"+this.port:"",Pe=this.hostname||"";this.host=Pe+Te,this.href+=this.host,Q&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),s[0]!=="/"&&(s="/"+s))}if(!dKe[C])for(var P=0,Z=jB.length;P<Z;P++){var he=jB[P];if(s.indexOf(he)!==-1){var $e=encodeURIComponent(he);$e===he&&($e=escape(he)),s=s.split(he).join($e)}}var ye=s.indexOf("#");ye!==-1&&(this.hash=s.substr(ye),s=s.slice(0,ye));var gt=s.indexOf("?");if(gt!==-1?(this.search=s.substr(gt),this.query=s.substr(gt+1),e&&(this.query=WB.parse(this.query)),s=s.slice(0,gt)):e&&(this.search="",this.query={}),s&&(this.pathname=s),rv[C]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){var Te=this.pathname||"",yt=this.search||"";this.path=Te+yt}return this.href=this.format(),this};function hKe(n){return typeof n=="string"&&(n=vx(n)),n instanceof Nd?n.format():Nd.prototype.format.call(n)}Nd.prototype.format=function(){var n=this.auth||"";n&&(n=encodeURIComponent(n),n=n.replace(/%3A/i,":"),n+="@");var e=this.protocol||"",t=this.pathname||"",r=this.hash||"",i=!1,o="";this.host?i=n+this.host:this.hostname&&(i=n+(this.hostname.indexOf(":")===-1?this.hostname:"["+this.hostname+"]"),this.port&&(i+=":"+this.port)),this.query&&typeof this.query=="object"&&Object.keys(this.query).length&&(o=WB.stringify(this.query,{arrayFormat:"repeat",addQueryPrefix:!1}));var a=this.search||o&&"?"+o||"";return e&&e.substr(-1)!==":"&&(e+=":"),this.slashes||(!e||rv[e])&&i!==!1?(i="//"+(i||""),t&&t.charAt(0)!=="/"&&(t="/"+t)):i||(i=""),r&&r.charAt(0)!=="#"&&(r="#"+r),a&&a.charAt(0)!=="?"&&(a="?"+a),t=t.replace(/[?#]/g,function(s){return encodeURIComponent(s)}),a=a.replace("#","%23"),e+i+t+a+r};function fKe(n,e){return vx(n,!1,!0).resolve(e)}Nd.prototype.resolve=function(n){return this.resolveObject(vx(n,!1,!0)).format()};function pKe(n,e){return n?vx(n,!1,!0).resolveObject(e):e}Nd.prototype.resolveObject=function(n){if(typeof n=="string"){var e=new Nd;e.parse(n,!1,!0),n=e}for(var t=new Nd,r=Object.keys(this),i=0;i<r.length;i++){var o=r[i];t[o]=this[o]}if(t.hash=n.hash,n.href==="")return t.href=t.format(),t;if(n.slashes&&!n.protocol){for(var a=Object.keys(n),s=0;s<a.length;s++){var d=a[s];d!=="protocol"&&(t[d]=n[d])}return rv[t.protocol]&&t.hostname&&!t.pathname&&(t.pathname="/",t.path=t.pathname),t.href=t.format(),t}if(n.protocol&&n.protocol!==t.protocol){if(!rv[n.protocol]){for(var f=Object.keys(n),C=0;C<f.length;C++){var O=f[C];t[O]=n[O]}return t.href=t.format(),t}if(t.protocol=n.protocol,!n.host&&!NB[n.protocol]){for(var Z=(n.pathname||"").split("/");Z.length&&!(n.host=Z.shift()););n.host||(n.host=""),n.hostname||(n.hostname=""),Z[0]!==""&&Z.unshift(""),Z.length<2&&Z.unshift(""),t.pathname=Z.join("/")}else t.pathname=n.pathname;if(t.search=n.search,t.query=n.query,t.host=n.host|| Line truncated
`+e.prev}function t3(n,e){var t=RB(n),r=[];if(t){r.length=n.length;for(var i=0;i<n.length;i++)r[i]=Km(n,i)?e(n[i],n):""}var o=typeof WE=="function"?WE(n):[],a;if(_v){a={};for(var s=0;s<o.length;s++)a["$"+o[s]]=o[s]}for(var d in n)Km(n,d)&&(t&&String(Number(d))===d&&d<n.length||_v&&a["$"+d]instanceof Symbol||(rY.call(/[^\w$]/,d)?r.push(e(d,n)+": "+e(n[d],n)):r.push(d+": "+e(n[d],n))));if(typeof WE=="function")for(var f=0;f<o.length;f++)iY.call(n,o[f])&&r.push("["+e(o[f])+"]: "+e(n[o[f]],n));return r}var uY=Gv,$v=L9e,hTe=q9e,fTe=gx,n3=uY("%WeakMap%",!0),r3=uY("%Map%",!0),pTe=$v("WeakMap.prototype.get",!0),mTe=$v("WeakMap.prototype.set",!0),gTe=$v("WeakMap.prototype.has",!0),yTe=$v("Map.prototype.get",!0),vTe=$v("Map.prototype.set",!0),CTe=$v("Map.prototype.has",!0),Ik=function(n,e){for(var t=n,r;(r=t.next)!==null;t=r)if(r.key===e)return t.next=r.next,r.next=n.next,n.next=r,r},_Te=function(n,e){var t=Ik(n,e);return t&&t.value},bTe=function(n,e,t){var r=Ik(n,e);r?r.value=t:n.next={key:e,next:n.next,value:t}},xTe=function(n,e){return!!Ik(n,e)},wTe=function(){var e,t,r,i={assert:function(o){if(!i.has(o))throw new fTe("Side channel does not contain "+hTe(o))},get:function(o){if(n3&&o&&(typeof o=="object"||typeof o=="function")){if(e)return pTe(e,o)}else if(r3){if(t)return yTe(t,o)}else if(r)return _Te(r,o)},has:function(o){if(n3&&o&&(typeof o=="object"||typeof o=="function")){if(e)return gTe(e,o)}else if(r3){if(t)return CTe(t,o)}else if(r)return xTe(r,o);return!1},set:function(o,a){n3&&o&&(typeof o=="object"||typeof o=="function")?(e||(e=new n3),mTe(e,o,a)):r3?(t||(t=new r3),vTe(t,o,a)):(r||(r={key:{},next:null}),bTe(r,o,a))}};return i},MTe=String.prototype.replace,STe=/%20/g,$E={RFC1738:"RFC1738",RFC3986:"RFC3986"},kk={default:$E.RFC3986,formatters:{RFC1738:function(n){return MTe.call(n,STe,"+")},RFC3986:function(n){return String(n)}},RFC1738:$E.RFC1738,RFC3986:$E.RFC3986},ETe=kk,QE=Object.prototype.hasOwnProperty,s1=Array.isArray,xf=function(){for(var n=[],e=0;e<256;++e)n.push("%"+((e<16?"0":"")+e.toString(16)).toUpperCase());return n}(),OTe=function(e){for(;e.length>1;){var t=e.pop(),r=t.obj[t.prop];if(s1(r)){for(var i=[],o=0;o<r.length;++o)typeof r[o]<"u"&&i.push(r[o]);t.obj[t.prop]=i}}},AY=function(e,t){for(var r=t&&t.plainObjects?Object.create(null):{},i=0;i<e.length;++i)typeof e[i]<"u"&&(r[i]=e[i]);return r},BTe=function n(e,t,r){if(!t)return e;if(typeof t!="object"){if(s1(e))e.push(t);else if(e&&typeof e=="object")(r&&(r.plainObjects||r.allowPrototypes)||!QE.call(Object.prototype,t))&&(e[t]=!0);else return[e,t];return e}if(!e||typeof e!="object")return[e].concat(t);var i=e;return s1(e)&&!s1(t)&&(i=AY(e,r)),s1(e)&&s1(t)?(t.forEach(function(o,a){if(QE.call(e,a)){var s=e[a];s&&typeof s=="object"&&o&&typeof o=="object"?e[a]=n(s,o,r):e.push(o)}else e[a]=o}),e):Object.keys(t).reduce(function(o,a){var s=t[a];return QE.call(o,a)?o[a]=n(o[a],s,r):o[a]=s,o},i)},ITe=function(e,t){return Object.keys(t).reduce(function(r,i){return r[i]=t[i],r},e)},kTe=function(n,e,t){var r=n.replace(/\+/g," ");if(t==="iso-8859-1")return r.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(r)}catch{return r}},TTe=function(e,t,r,i,o){if(e.length===0)return e;var a=e;if(typeof e=="symbol"?a=Symbol.prototype.toString.call(e):typeof e!="string"&&(a=String(e)),r==="iso-8859-1")return escape(a).replace(/%u[0-9a-f]{4}/gi,function(C){return"%26%23"+parseInt(C.slice(2),16)+"%3B"});for(var s="",d=0;d<a.length;++d){var f=a.charCodeAt(d);if(f===45||f===46||f===95||f===126||f>=48&&f<=57||f>=65&&f<=90||f>=97&&f<=122||o===ETe.RFC1738&&(f===40||f===41)){s+=a.charAt(d);continue}if(f<128){s=s+xf[f];continue}if(f<2048){s=s+(xf[192|f>>6]+xf[128|f&63]);continue}if(f<55296||f>=57344){s=s+(xf[224|f>>12]+xf[128|f>>6&63]+xf[128|f&63]);continue}d+=1,f=65536+((f&1023)<<10|a.charCodeAt(d)&1023),s+=xf[240|f>>18]+xf[128|f>>12&63]+xf[128|f>>6&63]+xf[128|f&63]}return s},KTe=function(e){for(var t=[{obj:{o:e},prop:"o"}],r=[],i=0;i<t.length;++i)for(var o=t[i],a=o.obj[o.prop],s=Object.keys(a),d=0;d<s.length;++d){var f=s[d],C=a[f];typeof C=="object"&&C!==null&&r.indexOf(C)===-1&&(t.push({obj:a,prop:f}),r.push(C))}return OTe(t),e},PTe=function(e){return Object.prototype.toString.call(e)==="[object RegExp]"},LTe=function(e){return!e||typeof e!="object"?!1:!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))},DTe=function(e,t){return[].concat(e,t)},FTe=function(e,t){if(s1(e)){for(var r=[],i=0;i<e.length;i+=1)r.push(t(e[i]));return r}return t(e)},cY={arrayToObject:AY,assign:ITe,combine:DTe,compact:KTe,decode:kTe,encode:TTe,isBuffer:LTe,isRegExp:PTe,maybeMap:FTe,merge:BTe},dY=wTe,k3=cY,K_=kk,UTe=Object.prototype.hasOwnProperty,hY={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},If=Array.isArray,RTe=Array.prototype.push,fY=function(n,e){RTe.apply(n,If(e)?e:[e])},zTe=Date.prototype.toISOString,$D=K_.default,Vl={addQueryPrefix:!1,allowDots:!1,allowEmptyArrays:!1,arrayFormat:"in Line truncated
`," "],uKe=["{","}","|","\\","^","`"].concat(lKe),NB=["'"].concat(uKe),QD=["%","/","?",";","#"].concat(NB),YD=["/","?","#"],AKe=255,qD=/^[+a-z0-9A-Z_-]{0,63}$/,cKe=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,dKe={javascript:!0,"javascript:":!0},WB={javascript:!0,"javascript:":!0},rv={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},GB=rKe;function vx(n,e,t){if(n&&typeof n=="object"&&n instanceof Nd)return n;var r=new Nd;return r.parse(n,e,t),r}Nd.prototype.parse=function(n,e,t){if(typeof n!="string")throw new TypeError("Parameter 'url' must be a string, not "+typeof n);var r=n.indexOf("?"),i=r!==-1&&r<n.indexOf("#")?"?":"#",o=n.split(i),a=/\\/g;o[0]=o[0].replace(a,"/"),n=o.join(i);var s=n;if(s=s.trim(),!t&&n.split("#").length===1){var d=sKe.exec(s);if(d)return this.path=s,this.href=s,this.pathname=d[1],d[2]?(this.search=d[2],e?this.query=GB.parse(this.search.substr(1)):this.query=this.search.substr(1)):e&&(this.search="",this.query={}),this}var f=oKe.exec(s);if(f){f=f[0];var C=f.toLowerCase();this.protocol=C,s=s.substr(f.length)}if(t||f||s.match(/^\/\/[^@/]+@[^@/]+/)){var O=s.substr(0,2)==="//";O&&!(f&&WB[f])&&(s=s.substr(2),this.slashes=!0)}if(!WB[f]&&(O||f&&!rv[f])){for(var E=-1,P=0;P<YD.length;P++){var L=s.indexOf(YD[P]);L!==-1&&(E===-1||L<E)&&(E=L)}var $,H;E===-1?H=s.lastIndexOf("@"):H=s.lastIndexOf("@",E),H!==-1&&($=s.slice(0,H),s=s.slice(H+1),this.auth=decodeURIComponent($)),E=-1;for(var P=0;P<QD.length;P++){var L=s.indexOf(QD[P]);L!==-1&&(E===-1||L<E)&&(E=L)}E===-1&&(E=s.length),this.host=s.slice(0,E),s=s.slice(E),this.parseHost(),this.hostname=this.hostname||"";var Q=this.hostname[0]==="["&&this.hostname[this.hostname.length-1]==="]";if(!Q)for(var N=this.hostname.split(/\./),P=0,Z=N.length;P<Z;P++){var ae=N[P];if(ae&&!ae.match(qD)){for(var pe="",fe=0,X=ae.length;fe<X;fe++)ae.charCodeAt(fe)>127?pe+="x":pe+=ae[fe];if(!pe.match(qD)){var oe=N.slice(0,P),Ce=N.slice(P+1),we=ae.match(cKe);we&&(oe.push(we[1]),Ce.unshift(we[2])),Ce.length&&(s="/"+Ce.join(".")+s),this.hostname=oe.join(".");break}}}this.hostname.length>AKe?this.hostname="":this.hostname=this.hostname.toLowerCase(),Q||(this.hostname=iKe.toASCII(this.hostname));var Te=this.port?":"+this.port:"",Pe=this.hostname||"";this.host=Pe+Te,this.href+=this.host,Q&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),s[0]!=="/"&&(s="/"+s))}if(!dKe[C])for(var P=0,Z=NB.length;P<Z;P++){var he=NB[P];if(s.indexOf(he)!==-1){var $e=encodeURIComponent(he);$e===he&&($e=escape(he)),s=s.split(he).join($e)}}var ye=s.indexOf("#");ye!==-1&&(this.hash=s.substr(ye),s=s.slice(0,ye));var gt=s.indexOf("?");if(gt!==-1?(this.search=s.substr(gt),this.query=s.substr(gt+1),e&&(this.query=GB.parse(this.query)),s=s.slice(0,gt)):e&&(this.search="",this.query={}),s&&(this.pathname=s),rv[C]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){var Te=this.pathname||"",yt=this.search||"";this.path=Te+yt}return this.href=this.format(),this};function hKe(n){return typeof n=="string"&&(n=vx(n)),n instanceof Nd?n.format():Nd.prototype.format.call(n)}Nd.prototype.format=function(){var n=this.auth||"";n&&(n=encodeURIComponent(n),n=n.replace(/%3A/i,":"),n+="@");var e=this.protocol||"",t=this.pathname||"",r=this.hash||"",i=!1,o="";this.host?i=n+this.host:this.hostname&&(i=n+(this.hostname.indexOf(":")===-1?this.hostname:"["+this.hostname+"]"),this.port&&(i+=":"+this.port)),this.query&&typeof this.query=="object"&&Object.keys(this.query).length&&(o=GB.stringify(this.query,{arrayFormat:"repeat",addQueryPrefix:!1}));var a=this.search||o&&"?"+o||"";return e&&e.substr(-1)!==":"&&(e+=":"),this.slashes||(!e||rv[e])&&i!==!1?(i="//"+(i||""),t&&t.charAt(0)!=="/"&&(t="/"+t)):i||(i=""),r&&r.charAt(0)!=="#"&&(r="#"+r),a&&a.charAt(0)!=="?"&&(a="?"+a),t=t.replace(/[?#]/g,function(s){return encodeURIComponent(s)}),a=a.replace("#","%23"),e+i+t+a+r};function fKe(n,e){return vx(n,!1,!0).resolve(e)}Nd.prototype.resolve=function(n){return this.resolveObject(vx(n,!1,!0)).format()};function pKe(n,e){return n?vx(n,!1,!0).resolveObject(e):e}Nd.prototype.resolveObject=function(n){if(typeof n=="string"){var e=new Nd;e.parse(n,!1,!0),n=e}for(var t=new Nd,r=Object.keys(this),i=0;i<r.length;i++){var o=r[i];t[o]=this[o]}if(t.hash=n.hash,n.href==="")return t.href=t.format(),t;if(n.slashes&&!n.protocol){for(var a=Object.keys(n),s=0;s<a.length;s++){var d=a[s];d!=="protocol"&&(t[d]=n[d])}return rv[t.protocol]&&t.hostname&&!t.pathname&&(t.pathname="/",t.path=t.pathname),t.href=t.format(),t}if(n.protocol&&n.protocol!==t.protocol){if(!rv[n.protocol]){for(var f=Object.keys(n),C=0;C<f.length;C++){var O=f[C];t[O]=n[O]}return t.href=t.format(),t}if(t.protocol=n.protocol,!n.host&&!WB[n.protocol]){for(var Z=(n.pathname||"").split("/");Z.length&&!(n.host=Z.shift()););n.host||(n.host=""),n.hostname||(n.hostname=""),Z[0]!==""&&Z.unshift(""),Z.length<2&&Z.unshift(""),t.pathname=Z.join("/")}else t.pathname=n.pathname;if(t.search=n.search,t.query=n.query,t.host=n.host|| 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
@@ -824,10 +824,10 @@ MERCHANTABLITY OR NON-INFRINGEMENT.
See the Apache Version 2.0 License for specific language governing permissions
and limitations under the License.
***************************************************************************** */var GB=function(n,e){return GB=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,r){t.__proto__=r}||function(t,r){for(var i in r)r.hasOwnProperty(i)&&(t[i]=r[i])},GB(n,e)};function _Y(n,e){GB(n,e);function t(){this.constructor=n}n.prototype=e===null?Object.create(e):(t.prototype=e.prototype,new t)}function wKe(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 MKe(n,e){var t=typeof Symbol=="function"&&n[Symbol.iterator];if(!t)return n;var r=t.call(n),i,o=[],a;try{for(;(e===void 0||e-- >0)&&!(i=r.next()).done;)o.push(i.value)}catch(s){a={error:s}}finally{try{i&&!i.done&&(t=r.return)&&t.call(r)}finally{if(a)throw a.error}}return o}function SKe(){for(var n=[],e=0;e<arguments.length;e++)n=n.concat(MKe(arguments[e]));return n}var bY=function(){function n(e,t){this.target=t,this.type=e}return n}(),EKe=function(n){_Y(e,n);function e(t,r){var i=n.call(this,"error",r)||this;return i.message=t.message,i.error=t,i}return e}(bY),OKe=function(n){_Y(e,n);function e(t,r,i){t===void 0&&(t=1e3),r===void 0&&(r="");var o=n.call(this,"close",i)||this;return o.wasClean=!0,o.code=t,o.reason=r,o}return e}(bY);/*!
***************************************************************************** */var $B=function(n,e){return $B=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,r){t.__proto__=r}||function(t,r){for(var i in r)r.hasOwnProperty(i)&&(t[i]=r[i])},$B(n,e)};function _Y(n,e){$B(n,e);function t(){this.constructor=n}n.prototype=e===null?Object.create(e):(t.prototype=e.prototype,new t)}function wKe(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 MKe(n,e){var t=typeof Symbol=="function"&&n[Symbol.iterator];if(!t)return n;var r=t.call(n),i,o=[],a;try{for(;(e===void 0||e-- >0)&&!(i=r.next()).done;)o.push(i.value)}catch(s){a={error:s}}finally{try{i&&!i.done&&(t=r.return)&&t.call(r)}finally{if(a)throw a.error}}return o}function SKe(){for(var n=[],e=0;e<arguments.length;e++)n=n.concat(MKe(arguments[e]));return n}var bY=function(){function n(e,t){this.target=t,this.type=e}return n}(),EKe=function(n){_Y(e,n);function e(t,r){var i=n.call(this,"error",r)||this;return i.message=t.message,i.error=t,i}return e}(bY),OKe=function(n){_Y(e,n);function e(t,r,i){t===void 0&&(t=1e3),r===void 0&&(r="");var o=n.call(this,"close",i)||this;return o.wasClean=!0,o.code=t,o.reason=r,o}return e}(bY);/*!
* Reconnecting WebSocket
* by Pedro Ladaria <pedro.ladaria@gmail.com>
* https://github.com/pladaria/reconnecting-websocket
* License MIT
*/var BKe=function(){if(typeof WebSocket<"u")return WebSocket},IKe=function(n){return typeof n<"u"&&!!n&&n.CLOSING===2},q0={maxReconnectionDelay:1e4,minReconnectionDelay:1e3+Math.random()*4e3,minUptime:5e3,reconnectionDelayGrowFactor:1.3,connectionTimeout:4e3,maxRetries:1/0,maxEnqueuedMessages:1/0,startClosed:!1,debug:!1},kKe=function(){function n(e,t,r){var i=this;r===void 0&&(r={}),this._listeners={error:[],message:[],open:[],close:[]},this._retryCount=-1,this._shouldReconnect=!0,this._connectLock=!1,this._binaryType="blob",this._closeCalled=!1,this._messageQueue=[],this.onclose=null,this.onerror=null,this.onmessage=null,this.onopen=null,this._handleOpen=function(o){i._debug("open event");var a=i._options.minUptime,s=a===void 0?q0.minUptime:a;clearTimeout(i._connectTimeout),i._uptimeTimeout=setTimeout(function(){return i._acceptOpen()},s),i._ws.binaryType=i._binaryType,i._messageQueue.forEach(function(d){return i._ws.send(d)}),i._messageQueue=[],i.onopen&&i.onopen(o),i._listeners.open.forEach(function(d){return i._callEventListener(o,d)})},this._handleMessage=function(o){i._debug("message event"),i.onmessage&&i.onmessage(o),i._listeners.message.forEach(function(a){return i._callEventListener(o,a)})},this._handleError=function(o){i._debug("error event",o.message),i._disconnect(void 0,o.message==="TIMEOUT"?"timeout":void 0),i.onerror&&i.onerror(o),i._debug("exec error listeners"),i._listeners.error.forEach(function(a){return i._callEventListener(o,a)}),i._connect()},this._handleClose=function(o){i._debug("close event"),i._clearTimeouts(),i._shouldReconnect&&i._connect(),i.onclose&&i.onclose(o),i._listeners.close.forEach(function(a){return i._callEventListener(o,a)})},this._url=e,this._protocols=t,this._options=r,this._options.startClosed&&(this._shouldReconnect=!1),this._connect()}return Object.defineProperty(n,"CONNECTING",{get:function(){return 0},enumerable:!0,configurable:!0}),Object.defineProperty(n,"OPEN",{get:function(){return 1},enumerable:!0,configurable:!0}),Object.defineProperty(n,"CLOSING",{get:function(){return 2},enumerable:!0,configurable:!0}),Object.defineProperty(n,"CLOSED",{get:function(){return 3},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"CONNECTING",{get:function(){return n.CONNECTING},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"OPEN",{get:function(){return n.OPEN},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"CLOSING",{get:function(){return n.CLOSING},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"CLOSED",{get:function(){return n.CLOSED},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"binaryType",{get:function(){return this._ws?this._ws.binaryType:this._binaryType},set:function(e){this._binaryType=e,this._ws&&(this._ws.binaryType=e)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"retryCount",{get:function(){return Math.max(this._retryCount,0)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"bufferedAmount",{get:function(){var e=this._messageQueue.reduce(function(t,r){return typeof r=="string"?t+=r.length:r instanceof Blob?t+=r.size:t+=r.byteLength,t},0);return e+(this._ws?this._ws.bufferedAmount:0)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"extensions",{get:function(){return this._ws?this._ws.extensions:""},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"protocol",{get:function(){return this._ws?this._ws.protocol:""},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"readyState",{get:function(){return this._ws?this._ws.readyState:this._options.startClosed?n.CLOSED:n.CONNECTING},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"url",{get:function(){return this._ws?this._ws.url:""},enumerable:!0,configurable:!0}),n.prototype.close=function(e,t){if(e===void 0&&(e=1e3),this._closeCalled=!0,this._shouldReconnect=!1,this._clearTimeouts(),!this._ws){this._debug("close enqueued: no ws instance");return}if(this._ws.readyState===this.CLOSED){this._debug("close: already closed");return}this._ws.close(e,t)},n.prototype.reconnect=function(e,t){this._shouldReconnect=!0,this._closeCalled=!1,this._retryCount=-1,!this._ws||this._ws.readyState===this.CLOSED?this._connect():(this._disconnect(e,t),this._connect())},n.prototype.send=function(e){if(this._ws&&this._ws.readyState===this.OPEN)this._debug("send",e),this._ws.send(e);else{var t=this._options.maxEnqueuedMessages,r=t===void 0?q0.maxEnqueuedMessages:t;this._messageQueue.length<r&&(this._debug("enqueue",e),this._messageQueue.push(e))}},n.prototype.addEventListener=function(e,t){this._listeners[e]&&this._listeners[e].push(t)},n.prototype.dispatchEvent=function(e){var t,r,i=this._listeners[e.type];if(i)try{for(var o=wKe(i),a=o.next();!a.done;a=o.next()){var s=a.value;this._callEventListener(e,s)}}catch(d){t={error:d}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(t)throw t.error}}return!0},n.prototype.removeEventListeneLine truncated
//# sourceMappingURL=index-C-Mqn3ew.js.map
*/var BKe=function(){if(typeof WebSocket<"u")return WebSocket},IKe=function(n){return typeof n<"u"&&!!n&&n.CLOSING===2},q0={maxReconnectionDelay:1e4,minReconnectionDelay:1e3+Math.random()*4e3,minUptime:5e3,reconnectionDelayGrowFactor:1.3,connectionTimeout:4e3,maxRetries:1/0,maxEnqueuedMessages:1/0,startClosed:!1,debug:!1},kKe=function(){function n(e,t,r){var i=this;r===void 0&&(r={}),this._listeners={error:[],message:[],open:[],close:[]},this._retryCount=-1,this._shouldReconnect=!0,this._connectLock=!1,this._binaryType="blob",this._closeCalled=!1,this._messageQueue=[],this.onclose=null,this.onerror=null,this.onmessage=null,this.onopen=null,this._handleOpen=function(o){i._debug("open event");var a=i._options.minUptime,s=a===void 0?q0.minUptime:a;clearTimeout(i._connectTimeout),i._uptimeTimeout=setTimeout(function(){return i._acceptOpen()},s),i._ws.binaryType=i._binaryType,i._messageQueue.forEach(function(d){return i._ws.send(d)}),i._messageQueue=[],i.onopen&&i.onopen(o),i._listeners.open.forEach(function(d){return i._callEventListener(o,d)})},this._handleMessage=function(o){i._debug("message event"),i.onmessage&&i.onmessage(o),i._listeners.message.forEach(function(a){return i._callEventListener(o,a)})},this._handleError=function(o){i._debug("error event",o.message),i._disconnect(void 0,o.message==="TIMEOUT"?"timeout":void 0),i.onerror&&i.onerror(o),i._debug("exec error listeners"),i._listeners.error.forEach(function(a){return i._callEventListener(o,a)}),i._connect()},this._handleClose=function(o){i._debug("close event"),i._clearTimeouts(),i._shouldReconnect&&i._connect(),i.onclose&&i.onclose(o),i._listeners.close.forEach(function(a){return i._callEventListener(o,a)})},this._url=e,this._protocols=t,this._options=r,this._options.startClosed&&(this._shouldReconnect=!1),this._connect()}return Object.defineProperty(n,"CONNECTING",{get:function(){return 0},enumerable:!0,configurable:!0}),Object.defineProperty(n,"OPEN",{get:function(){return 1},enumerable:!0,configurable:!0}),Object.defineProperty(n,"CLOSING",{get:function(){return 2},enumerable:!0,configurable:!0}),Object.defineProperty(n,"CLOSED",{get:function(){return 3},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"CONNECTING",{get:function(){return n.CONNECTING},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"OPEN",{get:function(){return n.OPEN},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"CLOSING",{get:function(){return n.CLOSING},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"CLOSED",{get:function(){return n.CLOSED},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"binaryType",{get:function(){return this._ws?this._ws.binaryType:this._binaryType},set:function(e){this._binaryType=e,this._ws&&(this._ws.binaryType=e)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"retryCount",{get:function(){return Math.max(this._retryCount,0)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"bufferedAmount",{get:function(){var e=this._messageQueue.reduce(function(t,r){return typeof r=="string"?t+=r.length:r instanceof Blob?t+=r.size:t+=r.byteLength,t},0);return e+(this._ws?this._ws.bufferedAmount:0)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"extensions",{get:function(){return this._ws?this._ws.extensions:""},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"protocol",{get:function(){return this._ws?this._ws.protocol:""},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"readyState",{get:function(){return this._ws?this._ws.readyState:this._options.startClosed?n.CLOSED:n.CONNECTING},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"url",{get:function(){return this._ws?this._ws.url:""},enumerable:!0,configurable:!0}),n.prototype.close=function(e,t){if(e===void 0&&(e=1e3),this._closeCalled=!0,this._shouldReconnect=!1,this._clearTimeouts(),!this._ws){this._debug("close enqueued: no ws instance");return}if(this._ws.readyState===this.CLOSED){this._debug("close: already closed");return}this._ws.close(e,t)},n.prototype.reconnect=function(e,t){this._shouldReconnect=!0,this._closeCalled=!1,this._retryCount=-1,!this._ws||this._ws.readyState===this.CLOSED?this._connect():(this._disconnect(e,t),this._connect())},n.prototype.send=function(e){if(this._ws&&this._ws.readyState===this.OPEN)this._debug("send",e),this._ws.send(e);else{var t=this._options.maxEnqueuedMessages,r=t===void 0?q0.maxEnqueuedMessages:t;this._messageQueue.length<r&&(this._debug("enqueue",e),this._messageQueue.push(e))}},n.prototype.addEventListener=function(e,t){this._listeners[e]&&this._listeners[e].push(t)},n.prototype.dispatchEvent=function(e){var t,r,i=this._listeners[e.type];if(i)try{for(var o=wKe(i),a=o.next();!a.done;a=o.next()){var s=a.value;this._callEventListener(e,s)}}catch(d){t={error:d}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(t)throw t.error}}return!0},n.prototype.removeEventListeneLine truncated
//# sourceMappingURL=index-BuFp18Vq.js.map
@@ -1 +1 @@
{"version":3,"mappings":";;;;;;qjDAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,GASa,IAAIA,GAAE,OAAO,IAAI,eAAe,EAAEC,GAAE,OAAO,IAAI,cAAc,EAAEC,GAAE,OAAO,IAAI,gBAAgB,EAAEC,GAAE,OAAO,IAAI,mBAAmB,EAAEC,GAAE,OAAO,IAAI,gBAAgB,EAAEC,GAAE,OAAO,IAAI,gBAAgB,EAAEC,GAAE,OAAO,IAAI,eAAe,EAAEC,GAAE,OAAO,IAAI,mBAAmB,EAAEC,GAAE,OAAO,IAAI,gBAAgB,EAAEC,GAAE,OAAO,IAAI,YAAY,EAAEC,GAAE,OAAO,IAAI,YAAY,EAAEC,GAAE,OAAO,SAAS,SAASC,GAAEC,EAAE,CAAI,OAAOA,IAAP,MAAqB,OAAOA,GAAlB,SAA2B,MAAKA,EAAEF,IAAGE,EAAEF,EAAC,GAAGE,EAAE,YAAY,EAAqB,OAAOA,GAApB,WAAsBA,EAAE,KAAI,CAC1e,IAAIC,GAAE,CAAC,UAAU,UAAU,CAAO,QAAE,EAAE,mBAAmB,UAAU,CAAC,EAAE,oBAAoB,UAAU,CAAC,EAAE,gBAAgB,UAAU,CAAC,GAAGC,GAAE,OAAO,OAAOC,GAAE,GAAG,SAASC,GAAEJ,EAAEK,EAAEC,EAAE,CAAC,KAAK,MAAMN,EAAE,KAAK,QAAQK,EAAE,KAAK,KAAKF,GAAE,KAAK,QAAQG,GAAGL,EAAC,CAACG,GAAE,UAAU,iBAAiB,GACnQA,GAAE,UAAU,SAAS,SAASJ,EAAEK,EAAE,CAAC,GAAc,OAAOL,GAAlB,UAAkC,OAAOA,GAApB,YAA6BA,GAAN,KAAQ,MAAM,MAAM,uHAAuH,EAAE,KAAK,QAAQ,gBAAgB,KAAKA,EAAEK,EAAE,UAAU,CAAC,EAAED,GAAE,UAAU,YAAY,SAASJ,EAAE,CAAC,KAAK,QAAQ,mBAAmB,KAAKA,EAAE,aAAa,CAAC,EAAE,SAASO,IAAG,CAAC,CAACA,GAAE,UAAUH,GAAE,UAAU,SAASI,GAAER,EAAEK,EAAEC,EAAE,CAAC,KAAK,MAAMN,EAAE,KAAK,QAAQK,EAAE,KAAK,KAAKF,GAAE,KAAK,QAAQG,GAAGL,EAAC,CAAC,IAAIQ,GAAED,GAAE,UAAU,IAAID,GACrfE,GAAE,YAAYD,GAAEN,GAAEO,GAAEL,GAAE,SAAS,EAAEK,GAAE,qBAAqB,GAAG,IAAIC,GAAE,MAAM,QAAQC,GAAE,OAAO,UAAU,eAAeC,GAAE,CAAC,QAAQ,IAAM,EAAAC,GAAE,CAAC,IAAI,GAAG,IAAI,GAAG,OAAO,GAAG,SAAS,IACtK,SAASC,GAAEd,EAAEK,EAAEC,EAAE,CAAC,IAAIS,EAAEC,EAAE,CAAG,EAAAC,EAAE,KAAKC,EAAE,KAAK,GAASb,GAAN,KAAQ,IAAIU,KAAcV,EAAE,MAAX,SAAiBa,EAAEb,EAAE,KAAcA,EAAE,MAAX,SAAiBY,EAAE,GAAGZ,EAAE,KAAKA,EAAEM,GAAE,KAAKN,EAAEU,CAAC,GAAG,CAACF,GAAE,eAAeE,CAAC,IAAIC,EAAED,CAAC,EAAEV,EAAEU,CAAC,GAAO,IAAAI,EAAE,UAAU,OAAO,EAAE,GAAOA,IAAJ,EAAMH,EAAE,SAASV,UAAU,EAAEa,EAAE,CAAC,QAAQC,EAAE,MAAMD,CAAC,EAAEE,EAAE,EAAEA,EAAEF,EAAEE,IAAID,EAAEC,CAAC,EAAE,UAAUA,EAAE,CAAC,EAAEL,EAAE,SAASI,CAAC,CAAC,GAAGpB,GAAGA,EAAE,aAAiB,IAAAe,KAAKI,EAAEnB,EAAE,aAAamB,EAAWH,EAAED,CAAC,IAAZ,SAAgBC,EAAED,CAAC,EAAEI,EAAEJ,CAAC,GAAG,MAAM,CAAC,SAAS5B,GAAE,KAAKa,EAAE,IAAIiB,EAAE,IAAIC,EAAE,MAAMF,EAAE,OAAOJ,GAAE,OAAO,CAAC,CAC7a,SAASU,GAAEtB,EAAEK,EAAE,CAAC,MAAM,CAAC,SAASlB,GAAE,KAAKa,EAAE,KAAK,IAAIK,EAAE,IAAIL,EAAE,IAAI,MAAMA,EAAE,MAAM,OAAOA,EAAE,OAAO,CAAC,SAASuB,GAAEvB,EAAE,CAAC,OAAiB,OAAOA,GAAlB,UAA4BA,IAAP,MAAUA,EAAE,WAAWb,EAAC,CAAC,SAASqC,GAAOxB,EAAE,CAAC,IAAIK,EAAE,CAAC,IAAI,KAAK,IAAI,IAAI,EAAE,MAAM,IAAIL,EAAE,QAAQ,QAAQ,SAASA,EAAE,CAAC,OAAOK,EAAEL,CAAC,EAAE,CAAC,CAAC,IAAIyB,GAAE,OAAO,SAASC,GAAE1B,EAAEK,EAAE,CAAC,OAAiB,OAAOL,GAAlB,UAA4BA,IAAP,MAAgBA,EAAE,KAAR,KAAYwB,GAAO,GAAGxB,EAAE,GAAG,EAAEK,EAAE,SAAS,EAAE,CAAC,CAC/W,SAASsB,GAAE3B,EAAEK,EAAEC,EAAES,EAAEC,EAAE,CAAC,IAAIC,EAAE,OAAOjB,GAAmBiB,IAAd,aAA6BA,IAAZ,aAAgBjB,EAAA,MAAK,IAAIkB,EAAE,GAAG,GAAUlB,IAAP,KAAWkB,EAAA,OAAQ,QAAOD,EAAE,CAAC,IAAK,SAAS,IAAK,SAAWC,EAAA,GAAG,MAAM,IAAK,SAAS,OAAOlB,EAAE,SAAS,CAAC,KAAKb,GAAE,KAAKC,GAAI8B,EAAA,EAAE,CAAC,CAAI,GAAAA,EAAE,OAAOA,EAAElB,EAAEgB,EAAEA,EAAEE,CAAC,EAAElB,EAAOe,IAAL,GAAO,IAAIW,GAAER,EAAE,CAAC,EAAEH,EAAEL,GAAEM,CAAC,GAAGV,EAAE,GAASN,GAAN,OAAUM,EAAEN,EAAE,QAAQyB,GAAE,KAAK,EAAE,KAAKE,GAAEX,EAAEX,EAAEC,EAAE,GAAG,SAASN,EAAE,CAAQA,QAAA,CAAE,GAASgB,GAAN,OAAUO,GAAEP,CAAC,IAAIA,EAAEM,GAAEN,EAAEV,GAAG,CAACU,EAAE,KAAKE,GAAGA,EAAE,MAAMF,EAAE,IAAI,IAAI,GAAGA,EAAE,KAAK,QAAQS,GAAE,KAAK,EAAE,KAAKzB,CAAC,GAAGK,EAAE,KAAKW,CAAC,GAAG,EAAyB,GAArBE,EAAA,EAAIH,EAAKA,IAAL,GAAO,IAAIA,EAAE,IAAOL,GAAEV,CAAC,EAAE,QAAQmB,EAAE,EAAEA,EAAEnB,EAAE,OAAOmB,IAAI,CAACF,EACrfjB,EAAEmB,CAAC,EAAE,IAAIC,EAAEL,EAAEW,GAAET,EAAEE,CAAC,EAAED,GAAGS,GAAEV,EAAEZ,EAAEC,EAAEc,EAAEJ,CAAC,CAAC,SAASI,EAAErB,GAAEC,CAAC,EAAe,OAAOoB,GAApB,WAA0B,IAAApB,EAAEoB,EAAE,KAAKpB,CAAC,EAAEmB,EAAE,EAAE,EAAEF,EAAEjB,EAAE,KAAQ,SAAMiB,EAAEA,EAAE,MAAMG,EAAEL,EAAEW,GAAET,EAAEE,GAAG,EAAED,GAAGS,GAAEV,EAAEZ,EAAEC,EAAEc,EAAEJ,CAAC,UAAqBC,IAAX,SAAa,MAAMZ,EAAE,OAAOL,CAAC,EAAE,MAAM,mDAAuEK,IAApB,kBAAsB,qBAAqB,OAAO,KAAKL,CAAC,EAAE,KAAK,IAAI,EAAE,IAAIK,GAAG,2EAA2E,EAAS,OAAAa,CAAC,CACzZ,SAASU,GAAE5B,EAAEK,EAAEC,EAAE,CAAC,GAASN,GAAN,KAAe,OAAAA,EAAM,IAAAe,EAAE,GAAGC,EAAE,EAAEW,UAAE3B,EAAEe,EAAE,GAAG,GAAG,SAASf,EAAE,CAAC,OAAOK,EAAE,KAAKC,EAAEN,EAAEgB,GAAG,EAAE,EAASD,CAAC,CAAC,SAASc,GAAE7B,EAAE,CAAI,GAAKA,EAAE,UAAP,GAAe,CAAC,IAAIK,EAAEL,EAAE,QAAQK,EAAEA,EAAE,EAAIA,EAAA,KAAK,SAASA,EAAE,EAAQL,EAAE,UAAN,GAAoBA,EAAE,UAAP,MAAiBA,EAAA,QAAQ,EAAEA,EAAE,QAAQK,EAAC,EAAE,SAASA,EAAE,EAAQL,EAAE,UAAN,GAAoBA,EAAE,UAAP,MAAiBA,EAAA,QAAQ,EAAEA,EAAE,QAAQK,EAAA,CAAE,EAAOL,EAAE,UAAP,KAAiBA,EAAE,QAAQ,EAAEA,EAAE,QAAQK,EAAE,CAAC,GAAOL,EAAE,UAAN,EAAc,OAAOA,EAAE,QAAQ,QAAQ,MAAMA,EAAE,OAAQ,CAC5Z,IAAI8B,GAAE,CAAC,QAAQ,IAAI,EAAEC,GAAE,CAAC,WAAW,IAAI,EAAEC,GAAE,CAAC,uBAAuBF,GAAE,wBAAwBC,GAAE,kBAAkBnB,IAAGqB,GAAA,SAAiB,CAAC,IAAIL,GAAE,QAAQ,SAAS5B,EAAEK,EAAEC,EAAE,CAACsB,GAAE5B,EAAE,UAAU,CAAGK,EAAA,MAAM,KAAK,SAAS,GAAGC,CAAC,CAAC,EAAE,MAAM,SAASN,EAAE,CAAC,IAAIK,EAAE,EAAEuB,UAAE5B,EAAE,UAAU,CAACK,GAAA,CAAI,EAASA,CAAC,EAAE,QAAQ,SAASL,EAAE,CAAQ,OAAA4B,GAAE5B,EAAE,SAASA,EAAE,CAAQA,QAAE,IAAG,EAAE,EAAE,KAAK,SAASA,EAAE,CAAI,IAACuB,GAAEvB,CAAC,EAAE,MAAM,MAAM,uEAAuE,EAAS,OAAAA,CAAC,CAAC,EAAoBiC,GAAA,Line truncated
{"version":3,"mappings":";;;;;;qjDAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,GASa,IAAIA,GAAE,OAAO,IAAI,eAAe,EAAEC,GAAE,OAAO,IAAI,cAAc,EAAEC,GAAE,OAAO,IAAI,gBAAgB,EAAEC,GAAE,OAAO,IAAI,mBAAmB,EAAEC,GAAE,OAAO,IAAI,gBAAgB,EAAEC,GAAE,OAAO,IAAI,gBAAgB,EAAEC,GAAE,OAAO,IAAI,eAAe,EAAEC,GAAE,OAAO,IAAI,mBAAmB,EAAEC,GAAE,OAAO,IAAI,gBAAgB,EAAEC,GAAE,OAAO,IAAI,YAAY,EAAEC,GAAE,OAAO,IAAI,YAAY,EAAEC,GAAE,OAAO,SAAS,SAASC,GAAEC,EAAE,CAAI,OAAOA,IAAP,MAAqB,OAAOA,GAAlB,SAA2B,MAAKA,EAAEF,IAAGE,EAAEF,EAAC,GAAGE,EAAE,YAAY,EAAqB,OAAOA,GAApB,WAAsBA,EAAE,KAAI,CAC1e,IAAIC,GAAE,CAAC,UAAU,UAAU,CAAO,QAAE,EAAE,mBAAmB,UAAU,CAAC,EAAE,oBAAoB,UAAU,CAAC,EAAE,gBAAgB,UAAU,CAAC,GAAGC,GAAE,OAAO,OAAOC,GAAE,GAAG,SAASC,GAAEJ,EAAEK,EAAEC,EAAE,CAAC,KAAK,MAAMN,EAAE,KAAK,QAAQK,EAAE,KAAK,KAAKF,GAAE,KAAK,QAAQG,GAAGL,EAAC,CAACG,GAAE,UAAU,iBAAiB,GACnQA,GAAE,UAAU,SAAS,SAASJ,EAAEK,EAAE,CAAC,GAAc,OAAOL,GAAlB,UAAkC,OAAOA,GAApB,YAA6BA,GAAN,KAAQ,MAAM,MAAM,uHAAuH,EAAE,KAAK,QAAQ,gBAAgB,KAAKA,EAAEK,EAAE,UAAU,CAAC,EAAED,GAAE,UAAU,YAAY,SAASJ,EAAE,CAAC,KAAK,QAAQ,mBAAmB,KAAKA,EAAE,aAAa,CAAC,EAAE,SAASO,IAAG,CAAC,CAACA,GAAE,UAAUH,GAAE,UAAU,SAASI,GAAER,EAAEK,EAAEC,EAAE,CAAC,KAAK,MAAMN,EAAE,KAAK,QAAQK,EAAE,KAAK,KAAKF,GAAE,KAAK,QAAQG,GAAGL,EAAC,CAAC,IAAIQ,GAAED,GAAE,UAAU,IAAID,GACrfE,GAAE,YAAYD,GAAEN,GAAEO,GAAEL,GAAE,SAAS,EAAEK,GAAE,qBAAqB,GAAG,IAAIC,GAAE,MAAM,QAAQC,GAAE,OAAO,UAAU,eAAeC,GAAE,CAAC,QAAQ,IAAM,EAAAC,GAAE,CAAC,IAAI,GAAG,IAAI,GAAG,OAAO,GAAG,SAAS,IACtK,SAASC,GAAEd,EAAEK,EAAEC,EAAE,CAAC,IAAIS,EAAEC,EAAE,CAAG,EAAAC,EAAE,KAAKC,EAAE,KAAK,GAASb,GAAN,KAAQ,IAAIU,KAAcV,EAAE,MAAX,SAAiBa,EAAEb,EAAE,KAAcA,EAAE,MAAX,SAAiBY,EAAE,GAAGZ,EAAE,KAAKA,EAAEM,GAAE,KAAKN,EAAEU,CAAC,GAAG,CAACF,GAAE,eAAeE,CAAC,IAAIC,EAAED,CAAC,EAAEV,EAAEU,CAAC,GAAO,IAAAI,EAAE,UAAU,OAAO,EAAE,GAAOA,IAAJ,EAAMH,EAAE,SAASV,UAAU,EAAEa,EAAE,CAAC,QAAQC,EAAE,MAAMD,CAAC,EAAEE,EAAE,EAAEA,EAAEF,EAAEE,IAAID,EAAEC,CAAC,EAAE,UAAUA,EAAE,CAAC,EAAEL,EAAE,SAASI,CAAC,CAAC,GAAGpB,GAAGA,EAAE,aAAiB,IAAAe,KAAKI,EAAEnB,EAAE,aAAamB,EAAWH,EAAED,CAAC,IAAZ,SAAgBC,EAAED,CAAC,EAAEI,EAAEJ,CAAC,GAAG,MAAM,CAAC,SAAS5B,GAAE,KAAKa,EAAE,IAAIiB,EAAE,IAAIC,EAAE,MAAMF,EAAE,OAAOJ,GAAE,OAAO,CAAC,CAC7a,SAASU,GAAEtB,EAAEK,EAAE,CAAC,MAAM,CAAC,SAASlB,GAAE,KAAKa,EAAE,KAAK,IAAIK,EAAE,IAAIL,EAAE,IAAI,MAAMA,EAAE,MAAM,OAAOA,EAAE,OAAO,CAAC,SAASuB,GAAEvB,EAAE,CAAC,OAAiB,OAAOA,GAAlB,UAA4BA,IAAP,MAAUA,EAAE,WAAWb,EAAC,CAAC,SAASqC,GAAOxB,EAAE,CAAC,IAAIK,EAAE,CAAC,IAAI,KAAK,IAAI,IAAI,EAAE,MAAM,IAAIL,EAAE,QAAQ,QAAQ,SAASA,EAAE,CAAC,OAAOK,EAAEL,CAAC,EAAE,CAAC,CAAC,IAAIyB,GAAE,OAAO,SAASC,GAAE1B,EAAEK,EAAE,CAAC,OAAiB,OAAOL,GAAlB,UAA4BA,IAAP,MAAgBA,EAAE,KAAR,KAAYwB,GAAO,GAAGxB,EAAE,GAAG,EAAEK,EAAE,SAAS,EAAE,CAAC,CAC/W,SAASsB,GAAE3B,EAAEK,EAAEC,EAAES,EAAEC,EAAE,CAAC,IAAIC,EAAE,OAAOjB,GAAmBiB,IAAd,aAA6BA,IAAZ,aAAgBjB,EAAA,MAAK,IAAIkB,EAAE,GAAG,GAAUlB,IAAP,KAAWkB,EAAA,OAAQ,QAAOD,EAAE,CAAC,IAAK,SAAS,IAAK,SAAWC,EAAA,GAAG,MAAM,IAAK,SAAS,OAAOlB,EAAE,SAAS,CAAC,KAAKb,GAAE,KAAKC,GAAI8B,EAAA,EAAE,CAAC,CAAI,GAAAA,EAAE,OAAOA,EAAElB,EAAEgB,EAAEA,EAAEE,CAAC,EAAElB,EAAOe,IAAL,GAAO,IAAIW,GAAER,EAAE,CAAC,EAAEH,EAAEL,GAAEM,CAAC,GAAGV,EAAE,GAASN,GAAN,OAAUM,EAAEN,EAAE,QAAQyB,GAAE,KAAK,EAAE,KAAKE,GAAEX,EAAEX,EAAEC,EAAE,GAAG,SAASN,EAAE,CAAQA,QAAA,CAAE,GAASgB,GAAN,OAAUO,GAAEP,CAAC,IAAIA,EAAEM,GAAEN,EAAEV,GAAG,CAACU,EAAE,KAAKE,GAAGA,EAAE,MAAMF,EAAE,IAAI,IAAI,GAAGA,EAAE,KAAK,QAAQS,GAAE,KAAK,EAAE,KAAKzB,CAAC,GAAGK,EAAE,KAAKW,CAAC,GAAG,EAAyB,GAArBE,EAAA,EAAIH,EAAKA,IAAL,GAAO,IAAIA,EAAE,IAAOL,GAAEV,CAAC,EAAE,QAAQmB,EAAE,EAAEA,EAAEnB,EAAE,OAAOmB,IAAI,CAACF,EACrfjB,EAAEmB,CAAC,EAAE,IAAIC,EAAEL,EAAEW,GAAET,EAAEE,CAAC,EAAED,GAAGS,GAAEV,EAAEZ,EAAEC,EAAEc,EAAEJ,CAAC,CAAC,SAASI,EAAErB,GAAEC,CAAC,EAAe,OAAOoB,GAApB,WAA0B,IAAApB,EAAEoB,EAAE,KAAKpB,CAAC,EAAEmB,EAAE,EAAE,EAAEF,EAAEjB,EAAE,KAAQ,SAAMiB,EAAEA,EAAE,MAAMG,EAAEL,EAAEW,GAAET,EAAEE,GAAG,EAAED,GAAGS,GAAEV,EAAEZ,EAAEC,EAAEc,EAAEJ,CAAC,UAAqBC,IAAX,SAAa,MAAMZ,EAAE,OAAOL,CAAC,EAAE,MAAM,mDAAuEK,IAApB,kBAAsB,qBAAqB,OAAO,KAAKL,CAAC,EAAE,KAAK,IAAI,EAAE,IAAIK,GAAG,2EAA2E,EAAS,OAAAa,CAAC,CACzZ,SAASU,GAAE5B,EAAEK,EAAEC,EAAE,CAAC,GAASN,GAAN,KAAe,OAAAA,EAAM,IAAAe,EAAE,GAAGC,EAAE,EAAEW,UAAE3B,EAAEe,EAAE,GAAG,GAAG,SAASf,EAAE,CAAC,OAAOK,EAAE,KAAKC,EAAEN,EAAEgB,GAAG,EAAE,EAASD,CAAC,CAAC,SAASc,GAAE7B,EAAE,CAAI,GAAKA,EAAE,UAAP,GAAe,CAAC,IAAIK,EAAEL,EAAE,QAAQK,EAAEA,EAAE,EAAIA,EAAA,KAAK,SAASA,EAAE,EAAQL,EAAE,UAAN,GAAoBA,EAAE,UAAP,MAAiBA,EAAA,QAAQ,EAAEA,EAAE,QAAQK,EAAC,EAAE,SAASA,EAAE,EAAQL,EAAE,UAAN,GAAoBA,EAAE,UAAP,MAAiBA,EAAA,QAAQ,EAAEA,EAAE,QAAQK,EAAA,CAAE,EAAOL,EAAE,UAAP,KAAiBA,EAAE,QAAQ,EAAEA,EAAE,QAAQK,EAAE,CAAC,GAAOL,EAAE,UAAN,EAAc,OAAOA,EAAE,QAAQ,QAAQ,MAAMA,EAAE,OAAQ,CAC5Z,IAAI8B,GAAE,CAAC,QAAQ,IAAI,EAAEC,GAAE,CAAC,WAAW,IAAI,EAAEC,GAAE,CAAC,uBAAuBF,GAAE,wBAAwBC,GAAE,kBAAkBnB,IAAGqB,GAAA,SAAiB,CAAC,IAAIL,GAAE,QAAQ,SAAS5B,EAAEK,EAAEC,EAAE,CAACsB,GAAE5B,EAAE,UAAU,CAAGK,EAAA,MAAM,KAAK,SAAS,GAAGC,CAAC,CAAC,EAAE,MAAM,SAASN,EAAE,CAAC,IAAIK,EAAE,EAAEuB,UAAE5B,EAAE,UAAU,CAACK,GAAA,CAAI,EAASA,CAAC,EAAE,QAAQ,SAASL,EAAE,CAAQ,OAAA4B,GAAE5B,EAAE,SAASA,EAAE,CAAQA,QAAE,IAAG,EAAE,EAAE,KAAK,SAASA,EAAE,CAAI,IAACuB,GAAEvB,CAAC,EAAE,MAAM,MAAM,uEAAuE,EAAS,OAAAA,CAAC,CAAC,EAAoBiC,GAAA,Line truncated
+2
View File
@@ -0,0 +1,2 @@
const e="基础",t="默认",o="停靠点",r="缩放",s="检查",a="打开",n="导出",l="视图",i="语言",c="帮助",p="注释",u="源",d="类型",y="过滤器",h="图层",S="删除",L="复制",m="显示",f="隐藏",R="图层",U="折叠",O="展开",g="搜索",C="调试",b="选项",T="取消",v="上传",D="名称",I="所有者",N="中心",J="方位",M="俯仰角",x="快捷键",w="图像",E="视频",P="源列表",A="GeoJSON",G="聚合",Z="编码",k={"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":"绿色盲滤镜","Protanopia filter":"红色盲滤镜","Tritanopia filter":"蓝色盲滤镜","Achromatopsia filter":"全色盲滤镜","Layers list":"图层列表","Layer editor":"图层编辑器","Map view":"地图视图","Maputnik on GitHub":"GitHub上的Maputnik",Open:a,Export:n,"Data Sources":"数据源","Style Settings":"样式设置",View:l,"Color accessibility":"颜色可访问性",Language:i,Help:c,"Comments for the current layer. This is non-standard and not in the spec.":"当前图层的注释。注意:这不是标准功能,可能与其他库不兼容。",Comments:p,"Comment...":"写注释...","Max Zoom":"最大缩放","Min Zoom":"最小缩放",Source:u,"Source Layer":"源图层",Type:d,"Nested filters are not supported.":"不支持嵌套过滤器。","Upgrade to expression":"升级为表达式",Filter:y,"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> 域名。",Layer:h,"JSON Editor":"JSON编辑器",Delete:S,Duplicate:L,Show:m,Hide:f,"Move layer up":"向上移动图层","Move layer down":"向下移动图层","Layer: {{layerId}}":"图层: {{layerId}}",Layers:R,Collapse:U,Expand:O,"Add Layer":"添加图层","Zoom:":"缩放:",Search:g,"Close popup":"关闭弹出窗口","cursor:":"光标:","center:":"中心:","rotation:":"旋转:","Close modal":"关闭模态框",Debug:C,Options:b,"<0>Open in OSM</0> — Opens the current view on openstreetmap.org":"在 openstreetmap.org 打开当前视图","Export Style":"导出样式","Download Style":"下载样式","Download a JSON style to your computer.":"将JSON样式下载到您的电脑。","Download HTML":"下载HTML",Cancel:T,"Open Style":"打开样式","Upload Style":"上传样式","Upload a JSON style from your computer.":"从您的电脑上传JSON样式。","Style file":"样式文件",Upload:v,"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:D,Owner:I,"Owner ID of the style. Used by Mapbox or future style APIs.":"样式的所有者ID。由Mapbox或未来的样式API使用。","Sprite URL":"精灵URL","Glyphs URL":"字形URL",Center:N,Bearing:J,Pitch:M,"Light anchor":"光源锚点","Light color":"光源颜色","Light intensity":"光源强度","Light position":"光源位置","Terrain source":"地形源","Terrain exaggeration":"地形夸张","Transition delay":"过渡延迟","Transition duration":"过渡持续时间","Open Layers (experimental)":"开放图层(实验性)","Shortcuts menu":"快捷方式菜Line truncated
//# sourceMappingURL=translation-DoS3tcPI.js.map
+1
View File
@@ -0,0 +1 @@
{"version":3,"file":"translation-DoS3tcPI.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
+1 -1
View File
@@ -37,7 +37,7 @@
}
</style>
<script type="module" crossorigin src="/maputnik/assets/index-C-Mqn3ew.js"></script>
<script type="module" crossorigin src="/maputnik/assets/index-BuFp18Vq.js"></script>
<link rel="stylesheet" crossorigin href="/maputnik/assets/index-CK6yI-fD.css">
</head>
<body>