This commit is contained in:
HarelM committed 2025-01-16 21:54:38 +00:00
1 parent b910e4fdb6
commit 3108b88e59
3 files changed
+100 -100

No files matched your search

@@ -1,4 +1,4 @@
var Pq=Object.defineProperty;var Lq=(n,e,t)=>e in n?Pq(n,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):n[e]=t;var sn=(n,e,t)=>Lq(n,typeof e!="symbol"?e+"":e,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 Vf=typeof globalThis<"u"?globalThis:typeof window<"u"||typeof window<"u"?window:typeof self<"u"?self:{};function Ba(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 JD={exports:{}},F5={},eF={exports:{}},Bo={};/**
var Rq=Object.defineProperty;var zq=(n,e,t)=>e in n?Rq(n,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):n[e]=t;var an=(n,e,t)=>zq(n,typeof e!="symbol"?e+"":e,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 Vf=typeof globalThis<"u"?globalThis:typeof window<"u"||typeof window<"u"?window:typeof self<"u"?self:{};function Ba(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}function $B(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 rL={exports:{}},L5={},iL={exports:{}},Bo={};/**
* @license React
* react.production.min.js
*
@@ -6,7 +6,7 @@ var Pq=Object.defineProperty;var Lq=(n,e,t)=>e in n?Pq(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 kb=Symbol.for("react.element"),Dq=Symbol.for("react.portal"),Fq=Symbol.for("react.fragment"),Uq=Symbol.for("react.strict_mode"),Rq=Symbol.for("react.profiler"),zq=Symbol.for("react.provider"),jq=Symbol.for("react.context"),Nq=Symbol.for("react.forward_ref"),Wq=Symbol.for("react.suspense"),Gq=Symbol.for("react.memo"),Qq=Symbol.for("react.lazy"),Nk=Symbol.iterator;function $q(n){return n===null||typeof n!="object"?null:(n=Nk&&n[Nk]||n["@@iterator"],typeof n=="function"?n:null)}var tF={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},nF=Object.assign,rF={};function Sv(n,e,t){this.props=n,this.context=e,this.refs=rF,this.updater=t||tF}Sv.prototype.isReactComponent={};Sv.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")};Sv.prototype.forceUpdate=function(n){this.updater.enqueueForceUpdate(this,n,"forceUpdate")};function iF(){}iF.prototype=Sv.prototype;function $B(n,e,t){this.props=n,this.context=e,this.refs=rF,this.updater=t||tF}var YB=$B.prototype=new iF;YB.constructor=$B;nF(YB,Sv.prototype);YB.isPureReactComponent=!0;var Wk=Array.isArray,oF=Object.prototype.hasOwnProperty,qB={current:null},aF={key:!0,ref:!0,__self:!0,__source:!0};function sF(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)oF.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:kb,type:n,key:o,ref:a,props:i,_owner:qB.current}}function Yq(n,e){return{$$typeof:kb,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===kb}function qq(n){var e={"=":"=0",":":"=2"};return"$"+n.replace(/[=:]/g,function(t){return e[t]})}var Gk=/\/+/g;function $M(n,e){return typeof n=="object"&&n!==null&&n.key!=null?qq(""+n.key):e.toString(36)}function s3(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 kb:case Dq:a=!0}}if(a)return a=n,i=i(a),n=r===""?"."+$M(a,0):r,Wk(i)?(t="",n!=null&&(t=n.replace(Gk,"$&/")+"/"),s3(i,e,t,"",function(f){return f})):i!=null&&(HB(i)&&(i=Yq(i,t+(!i.key||a&&a.key===i.key?"":(""+i.key).replace(Gk,"$&/")+"/")+n)),e.push(i)),1;if(a=0,r=r===""?".":r+":",Wk(n))for(var s=0;s<n.length;s++){o=n[s];var d=r+$M(o,s);a+=s3(o,e,t,d,i)}else if(d=$q(n),typeof d=="function")for(n=d.call(n),s=0;!(o=n.next()).done;)o=o.value,d=r+$M(o,s++),a+=s3(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 i2(n,e,t){if(n==null)return n;var r=[],i=0;return s3(n,r,"","",function(o){return e.call(t,o,i++)}),r}function Hq(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 QA={current:null},l3={transition:null},Vq={ReactCurrentDispatcher:QA,ReactCurrentBatchConfig:l3,ReactCurrentOwner:qB};Bo.Children={map:i2,forEach:function(n,e,t){i2(n,function(){e.apply(this,arguments)},t)},count:function(n){var e=0;return i2(n,function(){e++}),e},toArray:function(n){return i2(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=Sv;Bo.Fragment=Fq;Bo.Profiler=Rq;Bo.PureComponent=$B;Bo.StrictMode=Uq;Bo.Suspense=Wq;Bo.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Vq;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=nF({},n.props),i=n.key,o=n.ref,a=n._owner;if(e!=null){if(e.ref!==void 0&&(o=e.ref,a=qB.current),e.key!==void 0&&(i=""+e.key),n.type&&n.type.defaultProps)var s=n.type.defaultProps;for(d in e)oF.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:kb,type:n.type,key:i,ref:o,props:r,_owner:a}};Bo.createContext=function(n){return n={$$typeof:jq,_currentValue:n,_currentValue2:n,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},n.Provider={$$typeof:zq,_conLine truncated
*/var kb=Symbol.for("react.element"),jq=Symbol.for("react.portal"),Nq=Symbol.for("react.fragment"),Wq=Symbol.for("react.strict_mode"),Gq=Symbol.for("react.profiler"),Qq=Symbol.for("react.provider"),$q=Symbol.for("react.context"),Yq=Symbol.for("react.forward_ref"),qq=Symbol.for("react.suspense"),Hq=Symbol.for("react.memo"),Vq=Symbol.for("react.lazy"),Wk=Symbol.iterator;function Zq(n){return n===null||typeof n!="object"?null:(n=Wk&&n[Wk]||n["@@iterator"],typeof n=="function"?n:null)}var oL={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},aL=Object.assign,sL={};function Sv(n,e,t){this.props=n,this.context=e,this.refs=sL,this.updater=t||oL}Sv.prototype.isReactComponent={};Sv.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")};Sv.prototype.forceUpdate=function(n){this.updater.enqueueForceUpdate(this,n,"forceUpdate")};function lL(){}lL.prototype=Sv.prototype;function YB(n,e,t){this.props=n,this.context=e,this.refs=sL,this.updater=t||oL}var qB=YB.prototype=new lL;qB.constructor=YB;aL(qB,Sv.prototype);qB.isPureReactComponent=!0;var Gk=Array.isArray,uL=Object.prototype.hasOwnProperty,HB={current:null},AL={key:!0,ref:!0,__self:!0,__source:!0};function cL(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)uL.call(e,r)&&!AL.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:kb,type:n,key:o,ref:a,props:i,_owner:HB.current}}function Xq(n,e){return{$$typeof:kb,type:n.type,key:e,ref:n.ref,props:n.props,_owner:n._owner}}function VB(n){return typeof n=="object"&&n!==null&&n.$$typeof===kb}function Jq(n){var e={"=":"=0",":":"=2"};return"$"+n.replace(/[=:]/g,function(t){return e[t]})}var Qk=/\/+/g;function $M(n,e){return typeof n=="object"&&n!==null&&n.key!=null?Jq(""+n.key):e.toString(36)}function s3(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 kb:case jq:a=!0}}if(a)return a=n,i=i(a),n=r===""?"."+$M(a,0):r,Gk(i)?(t="",n!=null&&(t=n.replace(Qk,"$&/")+"/"),s3(i,e,t,"",function(f){return f})):i!=null&&(VB(i)&&(i=Xq(i,t+(!i.key||a&&a.key===i.key?"":(""+i.key).replace(Qk,"$&/")+"/")+n)),e.push(i)),1;if(a=0,r=r===""?".":r+":",Gk(n))for(var s=0;s<n.length;s++){o=n[s];var d=r+$M(o,s);a+=s3(o,e,t,d,i)}else if(d=Zq(n),typeof d=="function")for(n=d.call(n),s=0;!(o=n.next()).done;)o=o.value,d=r+$M(o,s++),a+=s3(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 i2(n,e,t){if(n==null)return n;var r=[],i=0;return s3(n,r,"","",function(o){return e.call(t,o,i++)}),r}function eH(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 QA={current:null},l3={transition:null},tH={ReactCurrentDispatcher:QA,ReactCurrentBatchConfig:l3,ReactCurrentOwner:HB};Bo.Children={map:i2,forEach:function(n,e,t){i2(n,function(){e.apply(this,arguments)},t)},count:function(n){var e=0;return i2(n,function(){e++}),e},toArray:function(n){return i2(n,function(e){return e})||[]},only:function(n){if(!VB(n))throw Error("React.Children.only expected to receive a single React element child.");return n}};Bo.Component=Sv;Bo.Fragment=Nq;Bo.Profiler=Gq;Bo.PureComponent=YB;Bo.StrictMode=Wq;Bo.Suspense=qq;Bo.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=tH;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=aL({},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)uL.call(e,d)&&!AL.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:kb,type:n.type,key:i,ref:o,props:r,_owner:a}};Bo.createContext=function(n){return n={$$typeof:$q,_currentValue:n,_currentValue2:n,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},n.Provider={$$typeof:Qq,_conLine truncated
* @license React
* react-jsx-runtime.production.min.js
*
@@ -14,7 +14,7 @@ var Pq=Object.defineProperty;var Lq=(n,e,t)=>e in n?Pq(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 Zq=Qn,Xq=Symbol.for("react.element"),Jq=Symbol.for("react.fragment"),eH=Object.prototype.hasOwnProperty,tH=Zq.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,nH={key:!0,ref:!0,__self:!0,__source:!0};function lF(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)eH.call(e,r)&&!nH.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:Xq,type:n,key:o,ref:a,props:i,_owner:tH.current}}F5.Fragment=Jq;F5.jsx=lF;F5.jsxs=lF;JD.exports=F5;var G=JD.exports,uF={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},H6=Sn.createContext&&Sn.createContext(uF),rH=["attr","size","title"];function iH(n,e){if(n==null)return{};var t=oH(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 oH(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 L3(){return L3=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},L3.apply(this,arguments)}function Qk(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 D3(n){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{};e%2?Qk(Object(t),!0).forEach(function(r){aH(n,r,t[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(t)):Qk(Object(t)).forEach(function(r){Object.defineProperty(n,r,Object.getOwnPropertyDescriptor(t,r))})}return n}function aH(n,e,t){return e=sH(e),e in n?Object.defineProperty(n,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):n[e]=t,n}function sH(n){var e=lH(n,"string");return typeof e=="symbol"?e:String(e)}function lH(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 AF(n){return n&&n.map((e,t)=>Sn.createElement(e.tag,D3({key:t},e.attr),AF(e.child)))}function Us(n){return e=>Sn.createElement(uH,L3({attr:D3({},n.attr)},e),AF(n.child))}function uH(n){var e=t=>{var{attr:r,size:i,title:o}=n,a=iH(n,rH),s=i||t.size||"1em",d;return t.className&&(d=t.className),n.className&&(d=(d?d+" ":"")+n.className),Sn.createElement("svg",L3({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},t.attr,r,a,{className:d,style:D3(D3({color:n.color||t.color},t.style),n.style),height:s,width:s,xmlns:"http://www.w3.org/2000/svg"}),o&&Sn.createElement("title",null,o),n.children)};return H6!==void 0?Sn.createElement(H6.Consumer,null,t=>e(t)):e(uF)}var cF={exports:{}},od={},dF={exports:{}},hF={};/**
*/var nH=Gn,rH=Symbol.for("react.element"),iH=Symbol.for("react.fragment"),oH=Object.prototype.hasOwnProperty,aH=nH.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,sH={key:!0,ref:!0,__self:!0,__source:!0};function dL(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)oH.call(e,r)&&!sH.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:rH,type:n,key:o,ref:a,props:i,_owner:aH.current}}L5.Fragment=iH;L5.jsx=dL;L5.jsxs=dL;rL.exports=L5;var G=rL.exports,hL={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},V6=Sn.createContext&&Sn.createContext(hL),lH=["attr","size","title"];function uH(n,e){if(n==null)return{};var t=AH(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 AH(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 D3(){return D3=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},D3.apply(this,arguments)}function $k(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 F3(n){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{};e%2?$k(Object(t),!0).forEach(function(r){cH(n,r,t[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(t)):$k(Object(t)).forEach(function(r){Object.defineProperty(n,r,Object.getOwnPropertyDescriptor(t,r))})}return n}function cH(n,e,t){return e=dH(e),e in n?Object.defineProperty(n,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):n[e]=t,n}function dH(n){var e=hH(n,"string");return typeof e=="symbol"?e:String(e)}function hH(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 fL(n){return n&&n.map((e,t)=>Sn.createElement(e.tag,F3({key:t},e.attr),fL(e.child)))}function Us(n){return e=>Sn.createElement(fH,D3({attr:F3({},n.attr)},e),fL(n.child))}function fH(n){var e=t=>{var{attr:r,size:i,title:o}=n,a=uH(n,lH),s=i||t.size||"1em",d;return t.className&&(d=t.className),n.className&&(d=(d?d+" ":"")+n.className),Sn.createElement("svg",D3({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},t.attr,r,a,{className:d,style:F3(F3({color:n.color||t.color},t.style),n.style),height:s,width:s,xmlns:"http://www.w3.org/2000/svg"}),o&&Sn.createElement("title",null,o),n.children)};return V6!==void 0?Sn.createElement(V6.Consumer,null,t=>e(t)):e(hL)}var pL={exports:{}},od={},mL={exports:{}},gL={};/**
* @license React
* scheduler.production.min.js
*
@@ -22,7 +22,7 @@ var Pq=Object.defineProperty;var Lq=(n,e,t)=>e in n?Pq(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.
*/(function(n){function e(st,ft){var Re=st.length;st.push(ft);e:for(;0<Re;){var He=Re-1>>>1,Xe=st[He];if(0<i(Xe,ft))st[He]=ft,st[Re]=Xe,Re=He;else break e}}function t(st){return st.length===0?null:st[0]}function r(st){if(st.length===0)return null;var ft=st[0],Re=st.pop();if(Re!==ft){st[0]=Re;e:for(var He=0,Xe=st.length,Jt=Xe>>>1;He<Jt;){var Vt=2*(He+1)-1,bt=st[Vt],Yt=Vt+1,qt=st[Yt];if(0>i(bt,Re))Yt<Xe&&0>i(qt,bt)?(st[He]=qt,st[Yt]=Re,He=Yt):(st[He]=bt,st[Vt]=Re,He=Vt);else if(Yt<Xe&&0>i(qt,Re))st[He]=qt,st[Yt]=Re,He=Yt;else break e}}return ft}function i(st,ft){var Re=st.sortIndex-ft.sortIndex;return Re!==0?Re:st.id-ft.id}if(typeof performance=="object"&&typeof performance.now=="function"){var o=performance;n.unstable_now=function(){return o.now()}}else{var a=Date,s=a.now();n.unstable_now=function(){return a.now()-s}}var d=[],f=[],C=1,O=null,E=3,P=!1,L=!1,Q=!1,V=typeof setTimeout=="function"?setTimeout:null,$=typeof clearTimeout=="function"?clearTimeout:null,N=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function Z(st){for(var ft=t(f);ft!==null;){if(ft.callback===null)r(f);else if(ft.startTime<=st)r(f),ft.sortIndex=ft.expirationTime,e(d,ft);else break;ft=t(f)}}function se(st){if(Q=!1,Z(st),!L)if(t(d)!==null)L=!0,gt(pe);else{var ft=t(f);ft!==null&&yt(se,ft.startTime-st)}}function pe(st,ft){L=!1,Q&&(Q=!1,$(oe),oe=-1),P=!0;var Re=E;try{for(Z(ft),O=t(d);O!==null&&(!(O.expirationTime>ft)||st&&!Te());){var He=O.callback;if(typeof He=="function"){O.callback=null,E=O.priorityLevel;var Xe=He(O.expirationTime<=ft);ft=n.unstable_now(),typeof Xe=="function"?O.callback=Xe:O===t(d)&&r(d),Z(ft)}else r(d);O=t(d)}if(O!==null)var Jt=!0;else{var Vt=t(f);Vt!==null&&yt(se,Vt.startTime-ft),Jt=!1}return Jt}finally{O=null,E=Re,P=!1}}var fe=!1,X=null,oe=-1,Ce=5,we=-1;function Te(){return!(n.unstable_now()-we<Ce)}function Pe(){if(X!==null){var st=n.unstable_now();we=st;var ft=!0;try{ft=X(!0,st)}finally{ft?he():(fe=!1,X=null)}}else fe=!1}var he;if(typeof N=="function")he=function(){N(Pe)};else if(typeof MessageChannel<"u"){var Qe=new MessageChannel,ye=Qe.port2;Qe.port1.onmessage=Pe,he=function(){ye.postMessage(null)}}else he=function(){V(Pe,0)};function gt(st){X=st,fe||(fe=!0,he())}function yt(st,ft){oe=V(function(){st(n.unstable_now())},ft)}n.unstable_IdlePriority=5,n.unstable_ImmediatePriority=1,n.unstable_LowPriority=4,n.unstable_NormalPriority=3,n.unstable_Profiling=null,n.unstable_UserBlockingPriority=2,n.unstable_cancelCallback=function(st){st.callback=null},n.unstable_continueExecution=function(){L||P||(L=!0,gt(pe))},n.unstable_forceFrameRate=function(st){0>st||125<st?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):Ce=0<st?Math.floor(1e3/st):5},n.unstable_getCurrentPriorityLevel=function(){return E},n.unstable_getFirstCallbackNode=function(){return t(d)},n.unstable_next=function(st){switch(E){case 1:case 2:case 3:var ft=3;break;default:ft=E}var Re=E;E=ft;try{return st()}finally{E=Re}},n.unstable_pauseExecution=function(){},n.unstable_requestPaint=function(){},n.unstable_runWithPriority=function(st,ft){switch(st){case 1:case 2:case 3:case 4:case 5:break;default:st=3}var Re=E;E=st;try{return ft()}finally{E=Re}},n.unstable_scheduleCallback=function(st,ft,Re){var He=n.unstable_now();switch(typeof Re=="object"&&Re!==null?(Re=Re.delay,Re=typeof Re=="number"&&0<Re?He+Re:He):Re=He,st){case 1:var Xe=-1;break;case 2:Xe=250;break;case 5:Xe=1073741823;break;case 4:Xe=1e4;break;default:Xe=5e3}return Xe=Re+Xe,st={id:C++,callback:ft,priorityLevel:st,startTime:Re,expirationTime:Xe,sortIndex:-1},Re>He?(st.sortIndex=Re,e(f,st),t(d)===null&&st===t(f)&&(Q?($(oe),oe=-1):Q=!0,yt(se,Re-He))):(st.sortIndex=Xe,e(d,st),L||P||(L=!0,gt(pe))),st},n.unstable_shouldYield=Te,n.unstable_wrapCallback=function(st){var ft=E;return function(){var Re=E;E=ft;try{return st.apply(this,arguments)}finally{E=Re}}}})(hF);dF.exports=hF;var AH=dF.exports;/**
*/(function(n){function e(st,ft){var Re=st.length;st.push(ft);e:for(;0<Re;){var He=Re-1>>>1,Xe=st[He];if(0<i(Xe,ft))st[He]=ft,st[Re]=Xe,Re=He;else break e}}function t(st){return st.length===0?null:st[0]}function r(st){if(st.length===0)return null;var ft=st[0],Re=st.pop();if(Re!==ft){st[0]=Re;e:for(var He=0,Xe=st.length,Jt=Xe>>>1;He<Jt;){var Vt=2*(He+1)-1,bt=st[Vt],Yt=Vt+1,qt=st[Yt];if(0>i(bt,Re))Yt<Xe&&0>i(qt,bt)?(st[He]=qt,st[Yt]=Re,He=Yt):(st[He]=bt,st[Vt]=Re,He=Vt);else if(Yt<Xe&&0>i(qt,Re))st[He]=qt,st[Yt]=Re,He=Yt;else break e}}return ft}function i(st,ft){var Re=st.sortIndex-ft.sortIndex;return Re!==0?Re:st.id-ft.id}if(typeof performance=="object"&&typeof performance.now=="function"){var o=performance;n.unstable_now=function(){return o.now()}}else{var a=Date,s=a.now();n.unstable_now=function(){return a.now()-s}}var d=[],f=[],C=1,O=null,E=3,P=!1,D=!1,Q=!1,V=typeof setTimeout=="function"?setTimeout:null,$=typeof clearTimeout=="function"?clearTimeout:null,N=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function Z(st){for(var ft=t(f);ft!==null;){if(ft.callback===null)r(f);else if(ft.startTime<=st)r(f),ft.sortIndex=ft.expirationTime,e(d,ft);else break;ft=t(f)}}function se(st){if(Q=!1,Z(st),!D)if(t(d)!==null)D=!0,gt(pe);else{var ft=t(f);ft!==null&&yt(se,ft.startTime-st)}}function pe(st,ft){D=!1,Q&&(Q=!1,$(oe),oe=-1),P=!0;var Re=E;try{for(Z(ft),O=t(d);O!==null&&(!(O.expirationTime>ft)||st&&!Te());){var He=O.callback;if(typeof He=="function"){O.callback=null,E=O.priorityLevel;var Xe=He(O.expirationTime<=ft);ft=n.unstable_now(),typeof Xe=="function"?O.callback=Xe:O===t(d)&&r(d),Z(ft)}else r(d);O=t(d)}if(O!==null)var Jt=!0;else{var Vt=t(f);Vt!==null&&yt(se,Vt.startTime-ft),Jt=!1}return Jt}finally{O=null,E=Re,P=!1}}var fe=!1,X=null,oe=-1,Ce=5,we=-1;function Te(){return!(n.unstable_now()-we<Ce)}function Pe(){if(X!==null){var st=n.unstable_now();we=st;var ft=!0;try{ft=X(!0,st)}finally{ft?he():(fe=!1,X=null)}}else fe=!1}var he;if(typeof N=="function")he=function(){N(Pe)};else if(typeof MessageChannel<"u"){var Qe=new MessageChannel,ye=Qe.port2;Qe.port1.onmessage=Pe,he=function(){ye.postMessage(null)}}else he=function(){V(Pe,0)};function gt(st){X=st,fe||(fe=!0,he())}function yt(st,ft){oe=V(function(){st(n.unstable_now())},ft)}n.unstable_IdlePriority=5,n.unstable_ImmediatePriority=1,n.unstable_LowPriority=4,n.unstable_NormalPriority=3,n.unstable_Profiling=null,n.unstable_UserBlockingPriority=2,n.unstable_cancelCallback=function(st){st.callback=null},n.unstable_continueExecution=function(){D||P||(D=!0,gt(pe))},n.unstable_forceFrameRate=function(st){0>st||125<st?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):Ce=0<st?Math.floor(1e3/st):5},n.unstable_getCurrentPriorityLevel=function(){return E},n.unstable_getFirstCallbackNode=function(){return t(d)},n.unstable_next=function(st){switch(E){case 1:case 2:case 3:var ft=3;break;default:ft=E}var Re=E;E=ft;try{return st()}finally{E=Re}},n.unstable_pauseExecution=function(){},n.unstable_requestPaint=function(){},n.unstable_runWithPriority=function(st,ft){switch(st){case 1:case 2:case 3:case 4:case 5:break;default:st=3}var Re=E;E=st;try{return ft()}finally{E=Re}},n.unstable_scheduleCallback=function(st,ft,Re){var He=n.unstable_now();switch(typeof Re=="object"&&Re!==null?(Re=Re.delay,Re=typeof Re=="number"&&0<Re?He+Re:He):Re=He,st){case 1:var Xe=-1;break;case 2:Xe=250;break;case 5:Xe=1073741823;break;case 4:Xe=1e4;break;default:Xe=5e3}return Xe=Re+Xe,st={id:C++,callback:ft,priorityLevel:st,startTime:Re,expirationTime:Xe,sortIndex:-1},Re>He?(st.sortIndex=Re,e(f,st),t(d)===null&&st===t(f)&&(Q?($(oe),oe=-1):Q=!0,yt(se,Re-He))):(st.sortIndex=Xe,e(d,st),D||P||(D=!0,gt(pe))),st},n.unstable_shouldYield=Te,n.unstable_wrapCallback=function(st){var ft=E;return function(){var Re=E;E=ft;try{return st.apply(this,arguments)}finally{E=Re}}}})(gL);mL.exports=gL;var pH=mL.exports;/**
* @license React
* react-dom.production.min.js
*
@@ -30,52 +30,52 @@ var Pq=Object.defineProperty;var Lq=(n,e,t)=>e in n?Pq(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 fF=Qn,id=AH;function $n(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 pF=new Set,R_={};function W1(n,e){av(n,e),av(n+"Capture",e)}function av(n,e){for(R_[n]=e,n=0;n<e.length;n++)pF.add(e[n])}var Yp=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),V6=Object.prototype.hasOwnProperty,cH=/^[: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={},Yk={};function dH(n){return V6.call(Yk,n)?!0:V6.call($k,n)?!1:cH.test(n)?Yk[n]=!0:($k[n]=!0,!1)}function hH(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 fH(n,e,t,r){if(e===null||typeof e>"u"||hH(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 $A(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 $A(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 $A(e,1,!1,n[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(n){Nu[n]=new $A(n,2,!1,n.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(n){Nu[n]=new $A(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 $A(n,3,!1,n.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(n){Nu[n]=new $A(n,3,!0,n,null,!1,!1)});["capture","download"].forEach(function(n){Nu[n]=new $A(n,4,!1,n,null,!1,!1)});["cols","rows","size","span"].forEach(function(n){Nu[n]=new $A(n,6,!1,n,null,!1,!1)});["rowSpan","start"].forEach(function(n){Nu[n]=new $A(n,5,!1,n.toLowerCase(),null,!1,!1)});var VB=/[\-:]([a-z])/g;function ZB(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(VB,ZB);Nu[e]=new $A(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(VB,ZB);Nu[e]=new $A(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(VB,ZB);Nu[e]=new $A(e,1,!1,n,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(n){Nu[n]=new $A(n,1,!1,n.toLowerCase(),null,!1,!1)});Nu.xlinkHref=new $A("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(n){Nu[n]=new $A(n,1,!1,n.toLowerCase(),null,!0,!0)});function XB(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 yL=Gn,id=pH;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 vL=new Set,R_={};function G1(n,e){av(n,e),av(n+"Capture",e)}function av(n,e){for(R_[n]=e,n=0;n<e.length;n++)vL.add(e[n])}var Yp=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Z6=Object.prototype.hasOwnProperty,mH=/^[: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]*$/,Yk={},qk={};function gH(n){return Z6.call(qk,n)?!0:Z6.call(Yk,n)?!1:mH.test(n)?qk[n]=!0:(Yk[n]=!0,!1)}function yH(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 vH(n,e,t,r){if(e===null||typeof e>"u"||yH(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 $A(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 $A(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 $A(e,1,!1,n[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(n){Nu[n]=new $A(n,2,!1,n.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(n){Nu[n]=new $A(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 $A(n,3,!1,n.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(n){Nu[n]=new $A(n,3,!0,n,null,!1,!1)});["capture","download"].forEach(function(n){Nu[n]=new $A(n,4,!1,n,null,!1,!1)});["cols","rows","size","span"].forEach(function(n){Nu[n]=new $A(n,6,!1,n,null,!1,!1)});["rowSpan","start"].forEach(function(n){Nu[n]=new $A(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 $A(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 $A(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 $A(e,1,!1,n,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(n){Nu[n]=new $A(n,1,!1,n.toLowerCase(),null,!1,!1)});Nu.xlinkHref=new $A("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(n){Nu[n]=new $A(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
`+YM+n}var qM=!1;function HM(n,e){if(!n||qM)return"";qM=!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{qM=!1,Error.prepareStackTrace=t}return(n=n?n.displayName||n.name:"")?qC(n):""}function pH(n){switch(n.tag){case 5:return qC(n.type);case 16:return qC("Lazy");case 13:return qC("Suspense");case 19:return qC("SuspenseList");case 0:case 2:case 15:return n=HM(n.type,!1),n;case 11:return n=HM(n.type.render,!1),n;case 1:return n=HM(n.type,!0),n;default:return""}}function eE(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 ay:return"Fragment";case oy:return"Portal";case Z6:return"Profiler";case JB:return"StrictMode";case X6:return"Suspense";case J6:return"SuspenseList"}if(typeof n=="object")switch(n.$$typeof){case gF:return(n.displayName||"Context")+".Consumer";case mF:return(n._context.displayName||"Context")+".Provider";case e7:var e=n.render;return n=n.displayName,n||(n=e.displayName||e.name||"",n=n!==""?"ForwardRef("+n+")":"ForwardRef"),n;case t7:return e=n.displayName||null,e!==null?e:eE(n.type)||"Memo";case Bm:e=n._payload,n=n._init;try{return eE(n(e))}catch{}}return null}function mH(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 eE(e);case 8:return e===JB?"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 a0(n){switch(typeof n){case"boolean":case"number":case"string":case"undefined":return n;case"object":return n;default:return""}}function vF(n){var e=n.type;return(n=n.nodeName)&&n.toLowerCase()==="input"&&(e==="checkbox"||e==="radio")}function gH(n){var e=vF(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 a2(n){n._valueTracker||(n._valueTracker=gH(n))}function CF(n){if(!n)return!1;var e=n._valueTracker;if(!e)return!0;var t=e.getValue(),r="";return n&&(r=vF(n)?n.checked?"true":"false":n.value),n=r,n!==t?(e.setValue(n),!0):!1}function F3(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 tE(n,e){var t=e.checked;return Js({},e,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:t??n._wrapperState.initialChecked})}function Hk(n,e){var t=e.defaultValue==null?"":e.defaultValue,r=e.checked!=null?e.checked:e.defaultChecked;t=a0(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 _F(n,e){e=e.checked,e!=null&&XB(n,"checked",e,!1)}function nE(n,e){_F(n,e);var t=a0(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")?rE(n,e.type,t):e.hasOwnProperty("defaultValue")&&rE(n,e.type,a0(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 rE(n,e,t){(e!=="number"||F3(n.ownerDocument)!==n)&&(t==null?n.defaultValue=""+n._wrapperState.initialValue:n.defaultValue!==""+t&&(n.defaultValue=""+t))}var HC=Array.isArray;function Iy(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=""+a0(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 iE(n,e){if(e.dan Line truncated
`).replace(EV,"")}function f2(n,e,t){if(e=v9(e),v9(n)!==e&&t)throw Error($n(425))}function Q3(){}var gE=null,yE=null;function vE(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 CE=typeof setTimeout=="function"?setTimeout:void 0,OV=typeof clearTimeout=="function"?clearTimeout:void 0,C9=typeof Promise=="function"?Promise:void 0,BV=typeof queueMicrotask=="function"?queueMicrotask:typeof C9<"u"?function(n){return C9.resolve(null).then(n).catch(IV)}:CE;function IV(n){setTimeout(function(){throw n})}function lS(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),G_(e);return}r--}else t!=="$"&&t!=="$?"&&t!=="$!"||r++;t=i}while(t);G_(e)}function qm(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 _9(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 Ov=Math.random().toString(36).slice(2),Kf="__reactFiber$"+Ov,H_="__reactProps$"+Ov,qp="__reactContainer$"+Ov,_E="__reactEvents$"+Ov,kV="__reactListeners$"+Ov,TV="__reactHandles$"+Ov;function l1(n){var e=n[Kf];if(e)return e;for(var t=n.parentNode;t;){if(e=t[qp]||t[Kf]){if(t=e.alternate,e.child!==null||t!==null&&t.child!==null)for(n=_9(n);n!==null;){if(t=n[Kf])return t;n=_9(n)}return e}n=t,t=n.parentNode}return null}function Pb(n){return n=n[Kf]||n[qp],!n||n.tag!==5&&n.tag!==6&&n.tag!==13&&n.tag!==3?null:n}function Ay(n){if(n.tag===5||n.tag===6)return n.stateNode;throw Error($n(33))}function N5(n){return n[H_]||null}var bE=[],cy=-1;function d0(n){return{current:n}}function bs(n){0>cy||(n.current=bE[cy],bE[cy]=null,cy--)}function is(n,e){cy++,bE[cy]=n.current,n.current=e}var s0={},yA=d0(s0),wc=d0(!1),E1=s0;function sv(n,e){var t=n.type.contextTypes;if(!t)return s0;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 $3(){bs(wc),bs(yA)}function b9(n,e,t){if(yA.current!==s0)throw Error($n(168));is(yA,e),is(wc,t)}function uU(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($n(108,mH(n)||"Unknown",i));return Js({},t,r)}function Y3(n){return n=(n=n.stateNode)&&n.__reactInternalMemoizedMergedChildContext||s0,E1=yA.current,is(yA,n),is(wc,wc.current),!0}function x9(n,e,t){var r=n.stateNode;if(!r)throw Error($n(169));t?(n=uU(n,e,E1),r.__reactInternalMemoizedMergedChildContext=n,bs(wc),bs(yA),is(yA,n)):bs(wc),is(wc,t)}var Kp=null,W5=!1,uS=!1;function AU(n){Kp===null?Kp=[n]:Kp.push(n)}function KV(n){W5=!0,AU(n)}function h0(){if(!uS&&Kp!==null){uS=!0;var n=0,e=Oa;try{var t=Kp;for(Oa=1;n<t.length;n++){var r=t[n];do r=r(!0);while(r!==null)}Kp=null,W5=!1}catch(i){throw Kp!==null&&(Kp=Kp.slice(n+1)),LF(r7,h0),i}finally{Oa=e,uS=!1}}return null}var dy=[],hy=0,q3=null,H3=0,Pd=[],Ld=0,O1=null,Rp=1,zp="";function H0(n,e){dy[hy++]=H3,dy[hy++]=q3,q3=n,H3=e}function cU(n,e,t){Pd[Ld++]=Rp,Pd[Ld++]=zp,Pd[Ld++]=O1,O1=n;var r=Rp;n=zp;var i=32-Kh(r)-1;r&=~(1<<i),t+=1;var o=32-Kh(e)+i;if(30<o){var a=i-i%5;o=(r&(1<<a)-1).toString(32),r>>=a,i-=a,Rp=1<<32-Kh(e)+i|t<<i|r,zp=o+n}else Rp=1<<o|t<<i|r,zp=n}function d7(n){n.return!==null&&(H0(n,1),cU(n,1,0))}function h7(n){for(;n===q3;)q3=dy[--hy],dy[hy]=null,H3=dy[--hy],dy[hy]=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,Ps=!1,kh=null;function dU(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 w9(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=qm(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 xE(n){return(n.mode&1)!==0&&(n.flags&128)===0}function wE(n){if(Ps){var e=Xc;if(e){var t=e;if(!w9(n,e)){if(xE(n))throw Error($n(418));e=qm(t.nextSibling);var r=td;e&&w9(n,e)?dU(r,t):(n.flags=n.flags&-4097|2,Ps=!1,td=n)}}else{if(xE(n))throw Error($n(418));n.flags=n.flags&-4097|2,Ps=!1,td=n}}}function M9(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{qM=!1,Error.prepareStackTrace=t}return(n=n?n.displayName||n.name:"")?qC(n):""}function CH(n){switch(n.tag){case 5:return qC(n.type);case 16:return qC("Lazy");case 13:return qC("Suspense");case 19:return qC("SuspenseList");case 0:case 2:case 15:return n=HM(n.type,!1),n;case 11:return n=HM(n.type.render,!1),n;case 1:return n=HM(n.type,!0),n;default:return""}}function tE(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 ay:return"Fragment";case oy:return"Portal";case X6:return"Profiler";case e7:return"StrictMode";case J6:return"Suspense";case eE:return"SuspenseList"}if(typeof n=="object")switch(n.$$typeof){case _L:return(n.displayName||"Context")+".Consumer";case CL: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:tE(n.type)||"Memo";case Bm:e=n._payload,n=n._init;try{return tE(n(e))}catch{}}return null}function _H(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 tE(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 a0(n){switch(typeof n){case"boolean":case"number":case"string":case"undefined":return n;case"object":return n;default:return""}}function xL(n){var e=n.type;return(n=n.nodeName)&&n.toLowerCase()==="input"&&(e==="checkbox"||e==="radio")}function bH(n){var e=xL(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 a2(n){n._valueTracker||(n._valueTracker=bH(n))}function wL(n){if(!n)return!1;var e=n._valueTracker;if(!e)return!0;var t=e.getValue(),r="";return n&&(r=xL(n)?n.checked?"true":"false":n.value),n=r,n!==t?(e.setValue(n),!0):!1}function L3(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 nE(n,e){var t=e.checked;return Js({},e,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:t??n._wrapperState.initialChecked})}function Vk(n,e){var t=e.defaultValue==null?"":e.defaultValue,r=e.checked!=null?e.checked:e.defaultChecked;t=a0(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 ML(n,e){e=e.checked,e!=null&&JB(n,"checked",e,!1)}function rE(n,e){ML(n,e);var t=a0(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")?iE(n,e.type,t):e.hasOwnProperty("defaultValue")&&iE(n,e.type,a0(e.defaultValue)),e.checked==null&&e.defaultChecked!=null&&(n.defaultChecked=!!e.defaultChecked)}function Zk(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 iE(n,e,t){(e!=="number"||L3(n.ownerDocument)!==n)&&(t==null?n.defaultValue=""+n._wrapperState.initialValue:n.defaultValue!==""+t&&(n.defaultValue=""+t))}var HC=Array.isArray;function Iy(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=""+a0(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 oE(n,e){if(e.dan Line truncated
`).replace(TV,"")}function f2(n,e,t){if(e=C9(e),C9(n)!==e&&t)throw Error(Yn(425))}function Q3(){}var yE=null,vE=null;function CE(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 _E=typeof setTimeout=="function"?setTimeout:void 0,KV=typeof clearTimeout=="function"?clearTimeout:void 0,_9=typeof Promise=="function"?Promise:void 0,PV=typeof queueMicrotask=="function"?queueMicrotask:typeof _9<"u"?function(n){return _9.resolve(null).then(n).catch(DV)}:_E;function DV(n){setTimeout(function(){throw n})}function lS(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),G_(e);return}r--}else t!=="$"&&t!=="$?"&&t!=="$!"||r++;t=i}while(t);G_(e)}function qm(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 b9(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 Ov=Math.random().toString(36).slice(2),Kf="__reactFiber$"+Ov,H_="__reactProps$"+Ov,qp="__reactContainer$"+Ov,bE="__reactEvents$"+Ov,FV="__reactListeners$"+Ov,LV="__reactHandles$"+Ov;function u1(n){var e=n[Kf];if(e)return e;for(var t=n.parentNode;t;){if(e=t[qp]||t[Kf]){if(t=e.alternate,e.child!==null||t!==null&&t.child!==null)for(n=b9(n);n!==null;){if(t=n[Kf])return t;n=b9(n)}return e}n=t,t=n.parentNode}return null}function Pb(n){return n=n[Kf]||n[qp],!n||n.tag!==5&&n.tag!==6&&n.tag!==13&&n.tag!==3?null:n}function Ay(n){if(n.tag===5||n.tag===6)return n.stateNode;throw Error(Yn(33))}function N5(n){return n[H_]||null}var xE=[],cy=-1;function d0(n){return{current:n}}function bs(n){0>cy||(n.current=xE[cy],xE[cy]=null,cy--)}function is(n,e){cy++,xE[cy]=n.current,n.current=e}var s0={},yA=d0(s0),wc=d0(!1),O1=s0;function sv(n,e){var t=n.type.contextTypes;if(!t)return s0;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 $3(){bs(wc),bs(yA)}function x9(n,e,t){if(yA.current!==s0)throw Error(Yn(168));is(yA,e),is(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,_H(n)||"Unknown",i));return Js({},t,r)}function Y3(n){return n=(n=n.stateNode)&&n.__reactInternalMemoizedMergedChildContext||s0,O1=yA.current,is(yA,n),is(wc,wc.current),!0}function w9(n,e,t){var r=n.stateNode;if(!r)throw Error(Yn(169));t?(n=hU(n,e,O1),r.__reactInternalMemoizedMergedChildContext=n,bs(wc),bs(yA),is(yA,n)):bs(wc),is(wc,t)}var Kp=null,W5=!1,uS=!1;function fU(n){Kp===null?Kp=[n]:Kp.push(n)}function UV(n){W5=!0,fU(n)}function h0(){if(!uS&&Kp!==null){uS=!0;var n=0,e=Oa;try{var t=Kp;for(Oa=1;n<t.length;n++){var r=t[n];do r=r(!0);while(r!==null)}Kp=null,W5=!1}catch(i){throw Kp!==null&&(Kp=Kp.slice(n+1)),RL(i7,h0),i}finally{Oa=e,uS=!1}}return null}var dy=[],hy=0,q3=null,H3=0,Pd=[],Dd=0,B1=null,Rp=1,zp="";function V0(n,e){dy[hy++]=H3,dy[hy++]=q3,q3=n,H3=e}function pU(n,e,t){Pd[Dd++]=Rp,Pd[Dd++]=zp,Pd[Dd++]=B1,B1=n;var r=Rp;n=zp;var i=32-Kh(r)-1;r&=~(1<<i),t+=1;var o=32-Kh(e)+i;if(30<o){var a=i-i%5;o=(r&(1<<a)-1).toString(32),r>>=a,i-=a,Rp=1<<32-Kh(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===q3;)q3=dy[--hy],dy[hy]=null,H3=dy[--hy],dy[hy]=null;for(;n===B1;)B1=Pd[--Dd],Pd[Dd]=null,zp=Pd[--Dd],Pd[Dd]=null,Rp=Pd[--Dd],Pd[Dd]=null}var td=null,Xc=null,Ps=!1,kh=null;function mU(n,e){var t=Ld(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 M9(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=qm(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=B1!==null?{id:Rp,overflow:zp}:null,n.memoizedState={dehydrated:e,treeContext:t,retryLane:1073741824},t=Ld(18,null,null,0),t.stateNode=e,t.return=n,n.child=t,td=n,Xc=null,!0):!1;default:return!1}}function wE(n){return(n.mode&1)!==0&&(n.flags&128)===0}function ME(n){if(Ps){var e=Xc;if(e){var t=e;if(!M9(n,e)){if(wE(n))throw Error(Yn(418));e=qm(t.nextSibling);var r=td;e&&M9(n,e)?mU(r,t):(n.flags=n.flags&-4097|2,Ps=!1,td=n)}}else{if(wE(n))throw Error(Yn(418));n.flags=n.flags&-4097|2,Ps=!1,td=n}}}function S9(n){ Line truncated
Error generating stack: `+o.message+`
`+o.stack}return{value:n,source:e,stack:i,digest:null}}function fS(n,e,t){return{value:n,source:null,stack:t??null,digest:e??null}}function OE(n,e){try{console.error(e.value)}catch(t){setTimeout(function(){throw t})}}var NV=typeof WeakMap=="function"?WeakMap:Map;function zU(n,e,t){t=jp(-1,t),t.tag=3,t.payload={element:null};var r=e.value;return t.callback=function(){r4||(r4=!0,UE=r),OE(n,e)},t}function jU(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(){OE(n,e)}}var o=n.stateNode;return o!==null&&typeof o.componentDidCatch=="function"&&(t.callback=function(){OE(n,e),typeof r!="function"&&(Vm===null?Vm=new Set([this]):Vm.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 NV;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=nZ.bind(null,n,e,t),e.then(n,n))}function P9(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 L9(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 WV=Zp.ReactCurrentOwner,xc=!1;function RA(n,e,t,r){e.child=n===null?vU(e,null,t,r):uv(e,n.child,t,r)}function D9(n,e,t,r,i){t=t.render;var o=e.ref;return Py(e,i),r=w7(n,e,t,r,o,i),t=M7(),n!==null&&!xc?(e.updateQueue=n.updateQueue,e.flags&=-2053,n.lanes&=~i,Vp(n,e,i)):(Ps&&t&&d7(e),e.flags|=1,RA(n,e,r,i),e.child)}function F9(n,e,t,r,i){if(n===null){var o=t.type;return typeof o=="function"&&!L7(o)&&o.defaultProps===void 0&&t.compare===null&&t.defaultProps===void 0?(e.tag=15,e.type=o,NU(n,e,o,r,i)):(n=y3(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:$_,t(a,r)&&n.ref===e.ref)return Vp(n,e,i)}return e.flags|=1,n=Xm(o,r),n.ref=e.ref,n.return=e,e.child=n}function NU(n,e,t,r,i){if(n!==null){var o=n.memoizedProps;if($_(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,Vp(n,e,i)}return BE(n,e,t,r,i)}function WU(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},is(my,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,is(my,Yc),Yc|=n,null;e.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=o!==null?o.baseLanes:t,is(my,Yc),Yc|=r}else o!==null?(r=o.baseLanes|t,e.memoizedState=null):r=t,is(my,Yc),Yc|=r;return RA(n,e,i,t),e.child}function GU(n,e){var t=e.ref;(n===null&&t!==null||n!==null&&n.ref!==t)&&(e.flags|=512,e.flags|=2097152)}function BE(n,e,t,r,i){var o=Mc(t)?E1:yA.current;return o=sv(e,o),Py(e,i),t=w7(n,e,t,r,o,i),r=M7(),n!==null&&!xc?(e.updateQueue=n.updateQueue,e.flags&=-2053,n.lanes&=~i,Vp(n,e,i)):(Ps&&r&&d7(e),e.flags|=1,RA(n,e,t,i),e.child)}function U9(n,e,t,r,i){if(Mc(t)){var o=!0;Y3(e)}else o=!1;if(Py(e,i),e.stateNode===null)p3(n,e),gU(e,t,r),EE(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:yA.current,f=sv(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)&&B9(e,a,r,f),Im=!1;var E=e.memoizedState;a.state=E,X3(e,r,a,i),d=e.memoizedState,s!==r||E!==d||wc.current||Im?(typeof C=="function"&&(SE(e,t,C,r),d=e.memoizedState),(s=Im||O9(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,pU(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:yA.current,d=sv(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)&&B9(e,a,r,d),Im=!1,E=e.memoizedState,a.state=E,X3(e,r,a,i);var L=e.memoizedS Line truncated
`+o.stack}return{value:n,source:e,stack:i,digest:null}}function fS(n,e,t){return{value:n,source:null,stack:t??null,digest:e??null}}function BE(n,e){try{console.error(e.value)}catch(t){setTimeout(function(){throw t})}}var YV=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(){r4||(r4=!0,RE=r),BE(n,e)},t}function QU(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(){BE(n,e)}}var o=n.stateNode;return o!==null&&typeof o.componentDidCatch=="function"&&(t.callback=function(){BE(n,e),typeof r!="function"&&(Vm===null?Vm=new Set([this]):Vm.add(this));var a=e.stack;this.componentDidCatch(e.value,{componentStack:a!==null?a:""})}),t}function P9(n,e,t){var r=n.pingCache;if(r===null){r=n.pingCache=new YV;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=sZ.bind(null,n,e,t),e.then(n,n))}function D9(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 F9(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 qV=Zp.ReactCurrentOwner,xc=!1;function RA(n,e,t,r){e.child=n===null?xU(e,null,t,r):uv(e,n.child,t,r)}function L9(n,e,t,r,i){t=t.render;var o=e.ref;return Py(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,Vp(n,e,i)):(Ps&&t&&h7(e),e.flags|=1,RA(n,e,r,i),e.child)}function U9(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,$U(n,e,o,r,i)):(n=y3(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:$_,t(a,r)&&n.ref===e.ref)return Vp(n,e,i)}return e.flags|=1,n=Xm(o,r),n.ref=e.ref,n.return=e,e.child=n}function $U(n,e,t,r,i){if(n!==null){var o=n.memoizedProps;if($_(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,Vp(n,e,i)}return IE(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},is(my,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,is(my,Yc),Yc|=n,null;e.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=o!==null?o.baseLanes:t,is(my,Yc),Yc|=r}else o!==null?(r=o.baseLanes|t,e.memoizedState=null):r=t,is(my,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 IE(n,e,t,r,i){var o=Mc(t)?O1:yA.current;return o=sv(e,o),Py(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,Vp(n,e,i)):(Ps&&r&&h7(e),e.flags|=1,RA(n,e,t,i),e.child)}function R9(n,e,t,r,i){if(Mc(t)){var o=!0;Y3(e)}else o=!1;if(Py(e,i),e.stateNode===null)p3(n,e),_U(e,t,r),OE(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)?O1:yA.current,f=sv(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)&&I9(e,a,r,f),Im=!1;var E=e.memoizedState;a.state=E,X3(e,r,a,i),d=e.memoizedState,s!==r||E!==d||wc.current||Im?(typeof C=="function"&&(EE(e,t,C,r),d=e.memoizedState),(s=Im||B9(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)?O1:yA.current,d=sv(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)&&I9(e,a,r,d),Im=!1,E=e.memoizedState,a.state=E,X3(e,r,a,i);var D=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=ew,t=tw,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,H){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,H)}s.poolSize=8192;function d(Ee,ee,H){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 Q(Ee,ee,H);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,H);const At=V(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,H);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,H){return d(Ee,ee,H)},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,H){return f(Ee),Ee<=0?a(Ee):ee!==void 0?typeof H=="string"?a(Ee).fill(ee,H):a(Ee).fill(ee):a(Ee)}s.alloc=function(Ee,ee,H){return C(Ee,ee,H)};function O(Ee){return f(Ee),a(Ee<0?0:$(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 H=Z(Ee,ee)|0;let Ke=a(H);const At=Ke.write(Ee,ee);return At!==H&&(Ke=Ke.slice(0,At)),Ke}function P(Ee){const ee=Ee.length<0?0:$(Ee.length)|0,H=a(ee);for(let Ke=0;Ke<ee;Ke+=1)H[Ke]=Ee[Ke]&255;return H}function L(Ee){if(dr(Ee,Uint8Array)){const ee=new Uint8Array(Ee);return Q(ee.buffer,ee.byteOffset,ee.byteLength)}return P(Ee)}function Q(Ee,ee,H){if(ee<0||Ee.byteLength<ee)throw new RangeError('"offset" is outside of buffer bounds');if(Ee.byteLength<ee+(H||0))throw new RangeError('"length" is outside of buffer bounds');let Ke;return ee===void 0&&H===void 0?Ke=new Uint8Array(Ee):H===void 0?Ke=new Uint8Array(Ee,ee):Ke=new Uint8Array(Ee,ee,H),Object.setPrototypeOf(Ke,s.prototype),Ke}function V(Ee){if(s.isBuffer(Ee)){const ee=$(Ee.length)|0,H=a(ee);return H.length===0||Ee.copy(H,0,0,ee),H}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 $(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,H){if(dr(ee,Uint8Array)&&(ee=s.from(ee,ee.offset,ee.byteLength)),dr(H,Uint8Array)&&(H=s.from(H,H.offset,H.byteLength)),!s.isBuffer(ee)||!s.isBuffer(H))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(ee===H)return 0;let Ke=ee.length,At=H.length;for(let Bt=0,kt=Math.min(Ke,At);Bt<kt;++Bt)if(ee[Bt]!==H[Bt]){Ke=ee[Bt],At=H[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,H){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(H===void 0)for(H=0,Ke=0;Ke<eeLine truncated
*/(function(n){const e=ew,t=tw,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,H){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,H)}s.poolSize=8192;function d(Ee,ee,H){if(typeof Ee=="string")return E(Ee,ee);if(ArrayBuffer.isView(Ee))return D(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(hr(Ee,ArrayBuffer)||Ee&&hr(Ee.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(hr(Ee,SharedArrayBuffer)||Ee&&hr(Ee.buffer,SharedArrayBuffer)))return Q(Ee,ee,H);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,H);const At=V(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,H);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,H){return d(Ee,ee,H)},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,H){return f(Ee),Ee<=0?a(Ee):ee!==void 0?typeof H=="string"?a(Ee).fill(ee,H):a(Ee).fill(ee):a(Ee)}s.alloc=function(Ee,ee,H){return C(Ee,ee,H)};function O(Ee){return f(Ee),a(Ee<0?0:$(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 H=Z(Ee,ee)|0;let Ke=a(H);const At=Ke.write(Ee,ee);return At!==H&&(Ke=Ke.slice(0,At)),Ke}function P(Ee){const ee=Ee.length<0?0:$(Ee.length)|0,H=a(ee);for(let Ke=0;Ke<ee;Ke+=1)H[Ke]=Ee[Ke]&255;return H}function D(Ee){if(hr(Ee,Uint8Array)){const ee=new Uint8Array(Ee);return Q(ee.buffer,ee.byteOffset,ee.byteLength)}return P(Ee)}function Q(Ee,ee,H){if(ee<0||Ee.byteLength<ee)throw new RangeError('"offset" is outside of buffer bounds');if(Ee.byteLength<ee+(H||0))throw new RangeError('"length" is outside of buffer bounds');let Ke;return ee===void 0&&H===void 0?Ke=new Uint8Array(Ee):H===void 0?Ke=new Uint8Array(Ee,ee):Ke=new Uint8Array(Ee,ee,H),Object.setPrototypeOf(Ke,s.prototype),Ke}function V(Ee){if(s.isBuffer(Ee)){const ee=$(Ee.length)|0,H=a(ee);return H.length===0||Ee.copy(H,0,0,ee),H}if(Ee.length!==void 0)return typeof Ee.length!="number"||Er(Ee.length)?a(0):P(Ee);if(Ee.type==="Buffer"&&Array.isArray(Ee.data))return P(Ee.data)}function $(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,H){if(hr(ee,Uint8Array)&&(ee=s.from(ee,ee.offset,ee.byteLength)),hr(H,Uint8Array)&&(H=s.from(H,H.offset,H.byteLength)),!s.isBuffer(ee)||!s.isBuffer(H))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(ee===H)return 0;let Ke=ee.length,At=H.length;for(let Bt=0,kt=Math.min(Ke,At);Bt<kt;++Bt)if(ee[Bt]!==H[Bt]){Ke=ee[Bt],At=H[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,H){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(H===void 0)for(H=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
*/h4.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,Q=2,V=1,$=2,N=4,Z=8,se=16,pe=32,fe=64,X=128,oe=256,Ce=512,we=30,Te="...",Pe=800,he=16,Qe=1,ye=2,gt=3,yt=1/0,st=9007199254740991,ft=17976931348623157e292,Re=NaN,He=4294967295,Xe=He-1,Jt=He>>>1,Vt=[["ary",X],["bind",V],["bindKey",$],["curry",Z],["curryRight",se],["flip",Ce],["partial",pe],["partialRight",fe],["rearg",oe]],bt="[object Arguments]",Yt="[object Array]",qt="[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]",$r="[object Undefined]",yr="[object WeakMap]",bi="[object WeakSet]",Ee="[object ArrayBuffer]",ee="[object DataView]",H="[object Float32Array]",Ke="[object Float64Array]",At="[object Int8Array]",Bt="[object Int16Array]",kt="[object Int32Array]",Dt="[object Uint8Array]",fn="[object Uint8ClampedArray]",Ln="[object Uint16Array]",In="[object Uint32Array]",g=/\b__p \+= '';/g,Kt=/\b(__p \+=) '' \+/g,Lr=/(__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,nn=RegExp(Mt.source),Ht=/^\s+/,en=/\s/,Un=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,kn=/\{\n\/\* \[wrapped with (.+)\] \*/,Vn=/,? & /,Or=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,cr=/[()=,{}\[\]\/\s]/,Yr=/\\(\\)?/g,Br=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Ur=/\w*$/,ar=/^[-+]0x[0-9a-f]+$/i,hi=/^0b[01]+$/i,Ri=/^\[object .+?Constructor\]$/,ro=/^0o[0-7]+$/i,ho=/^(?:0|[1-9]\d*)$/,li=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,fo=/($^)/,Wa=/['\n\r\u2028\u2029\\]/g,Ia="\\ud800-\\udfff",Oi="\\u0300-\\u036f",as="\\ufe20-\\ufe2f",vi="\\u20d0-\\u20ff",Wn=Oi+as+vi,oo="\\u2700-\\u27bf",_o="a-z\\xdf-\\xf6\\xf8-\\xff",zi="\\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=zi+_e+Je+Zt,hr="['’]",oi="["+Ia+"]",ui="["+wn+"]",na="["+Wn+"]",Ka="\\d+",Dr="["+oo+"]",Ga="["+_o+"]",Ci="[^"+Ia+wn+Ka+oo+_o+ln+"]",Qa="\\ud83c[\\udffb-\\udfff]",ra="(?:"+na+"|"+Qa+")",xu="[^"+Ia+"]",ss="(?:\\ud83c[\\udde6-\\uddff]){2}",ia="[\\ud800-\\udbff][\\udc00-\\udfff]",oa="["+ln+"]",xs="\\u200d",wu="(?:"+Ga+"|"+Ci+")",ya="(?:"+oa+"|"+Ci+")",_A="(?:"+hr+"(?:d|ll|m|re|s|t|ve))?",Gu="(?:"+hr+"(?:D|LL|M|RE|S|T|VE))?",bA=ra+"?",Mu="["+Ft+"]?",Qu="(?:"+xs+"(?:"+[xu,ss,ia].join("|")+")"+Mu+bA+")*",Go="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",ws="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",nu=Mu+bA+Qu,ls="(?:"+[Dr,ss,ia].join("|")+")"+nu,ul="(?:"+[xu+na+"?",na,ss,ia,oi].join("|")+")",Qo=RegExp(hr,"g"),Su=RegExp(na,"g"),Al=RegExp(Qa+"(?="+Qa+")|"+ul+nu,"g"),Ml=RegExp([oa+"?"+Ga+"+"+_A+"(?="+[ui,oa,"$"].join("|")+")",ya+"+"+Gu+"(?="+[ui,oa+wu,"$"].join("|")+")",oa+"?"+wu+"+"+_A,oa+"+"+Gu,ws,Go,Ka,ls].join("|"),"g"),ru=RegExp("["+xs+Ia+Wn+Ft+"]"),ca=/[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,Co={};Co[H]=Co[Ke]=Co[At]=Co[Bt]=Co[kt]=Co[Dt]=Co[fn]=Co[Ln]=Co[In]=!0,Co[bt]=Co[Yt]=Co[Ee]=Co[ke]=Co[ee]=Co[ge]=Co[ze]=Co[it]=Co[St]=Co[Rt]=Co[mt]=Co[yn]=Co[tr]=Co[dr]=Co[yr]=!1;var ao={};ao[bt]=ao[Yt]=ao[Ee]=ao[ee]=ao[ke]=ao[ge]=ao[H]=ao[Ke]=ao[At]=ao[Bt]=ao[kt]=ao[St]=ao[Rt]=ao[mt]=ao[yn]=ao[tr]=ao[dr]=ao[Sr]=ao[Dt]=ao[fn]=ao[Ln]=ao[In]=!0,ao[ze]=ao[it]=ao[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
*/h4.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,D=1,Q=2,V=1,$=2,N=4,Z=8,se=16,pe=32,fe=64,X=128,oe=256,Ce=512,we=30,Te="...",Pe=800,he=16,Qe=1,ye=2,gt=3,yt=1/0,st=9007199254740991,ft=17976931348623157e292,Re=NaN,He=4294967295,Xe=He-1,Jt=He>>>1,Vt=[["ary",X],["bind",V],["bindKey",$],["curry",Z],["curryRight",se],["flip",Ce],["partial",pe],["partialRight",fe],["rearg",oe]],bt="[object Arguments]",Yt="[object Array]",qt="[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]",hr="[object String]",Er="[object Symbol]",$r="[object Undefined]",vr="[object WeakMap]",bi="[object WeakSet]",Ee="[object ArrayBuffer]",ee="[object DataView]",H="[object Float32Array]",Ke="[object Float64Array]",At="[object Int8Array]",Bt="[object Int16Array]",kt="[object Int32Array]",Ft="[object Uint8Array]",fn="[object Uint8ClampedArray]",Fn="[object Uint16Array]",kn="[object Uint32Array]",g=/\b__p \+= '';/g,Kt=/\b(__p \+=) '' \+/g,Dr=/(__e\(.*?\)|\b__t\)) \+\n'';/g,rr=/&(?:amp|lt|gt|quot|#39);/g,Fe=/[&<>"']/g,ce=RegExp(rr.source),xe=RegExp(Fe.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,nn=RegExp(Mt.source),Ht=/^\s+/,en=/\s/,Rn=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Tn=/\{\n\/\* \[wrapped with (.+)\] \*/,Zn=/,? & /,Br=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,cr=/[()=,{}\[\]\/\s]/,Yr=/\\(\\)?/g,Ir=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Ur=/\w*$/,ar=/^[-+]0x[0-9a-f]+$/i,hi=/^0b[01]+$/i,Ri=/^\[object .+?Constructor\]$/,ro=/^0o[0-7]+$/i,ho=/^(?:0|[1-9]\d*)$/,li=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,fo=/($^)/,Wa=/['\n\r\u2028\u2029\\]/g,Ia="\\ud800-\\udfff",Oi="\\u0300-\\u036f",as="\\ufe20-\\ufe2f",vi="\\u20d0-\\u20ff",Qn=Oi+as+vi,oo="\\u2700-\\u27bf",_o="a-z\\xdf-\\xf6\\xf8-\\xff",zi="\\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",Lt="\\ufe0e\\ufe0f",wn=zi+_e+Je+Zt,fr="['’]",oi="["+Ia+"]",ui="["+wn+"]",na="["+Qn+"]",Pa="\\d+",Fr="["+oo+"]",Ga="["+_o+"]",Ci="[^"+Ia+wn+Pa+oo+_o+ln+"]",Qa="\\ud83c[\\udffb-\\udfff]",ra="(?:"+na+"|"+Qa+")",wu="[^"+Ia+"]",ss="(?:\\ud83c[\\udde6-\\uddff]){2}",ia="[\\ud800-\\udbff][\\udc00-\\udfff]",oa="["+ln+"]",xs="\\u200d",Mu="(?:"+Ga+"|"+Ci+")",ya="(?:"+oa+"|"+Ci+")",_A="(?:"+fr+"(?:d|ll|m|re|s|t|ve))?",Gu="(?:"+fr+"(?:D|LL|M|RE|S|T|VE))?",bA=ra+"?",Su="["+Lt+"]?",Qu="(?:"+xs+"(?:"+[wu,ss,ia].join("|")+")"+Su+bA+")*",Go="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",ws="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",nu=Su+bA+Qu,ls="(?:"+[Fr,ss,ia].join("|")+")"+nu,ul="(?:"+[wu+na+"?",na,ss,ia,oi].join("|")+")",Qo=RegExp(fr,"g"),Eu=RegExp(na,"g"),Al=RegExp(Qa+"(?="+Qa+")|"+ul+nu,"g"),Ml=RegExp([oa+"?"+Ga+"+"+_A+"(?="+[ui,oa,"$"].join("|")+")",ya+"+"+Gu+"(?="+[ui,oa+Mu,"$"].join("|")+")",oa+"?"+Mu+"+"+_A,oa+"+"+Gu,ws,Go,Pa,ls].join("|"),"g"),ru=RegExp("["+xs+Ia+Qn+Lt+"]"),ca=/[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,Co={};Co[H]=Co[Ke]=Co[At]=Co[Bt]=Co[kt]=Co[Ft]=Co[fn]=Co[Fn]=Co[kn]=!0,Co[bt]=Co[Yt]=Co[Ee]=Co[ke]=Co[ee]=Co[ge]=Co[ze]=Co[it]=Co[St]=Co[Rt]=Co[mt]=Co[yn]=Co[tr]=Co[hr]=Co[vr]=!1;var ao={};ao[bt]=ao[Yt]=ao[Ee]=ao[ee]=ao[ke]=ao[ge]=ao[H]=ao[Ke]=ao[At]=ao[Bt]=ao[kt]=ao[St]=ao[Rt]=ao[mt]=ao[yn]=ao[tr]=ao[hr]=ao[Er]=ao[Ft]=ao[fn]=ao[Fn]=ao[kn]=!0,ao[ze]=ao[it]=ao[vr]=!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)||!!(rp&&v&&v[rp])}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||ea(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 qr.prototype))return!1;if(v===D)return!0;var te=zc(D);return!!te&&v===te[0]}function ne(v){return!!$h&&$h in v}var ue=Hu?jn:QM;function ve(v){var S=v&&v.constructor,D=typeof S=="function"&&S.prototype||Ya;return v===D}function $e(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<(V|$|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&V&&(v[2]=S[2],Me|=D&V?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]:ha(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=lo(S===t?v.length-1:S,0),function(){for(var te=arguments,Me=-1,We=lo(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),va(v,this,_t)}}function Hn(v,S){return S.length<2?v:Es(v,Da(S,0,-1))}function bn(v,S){for(var D=v.length,te=ha(S.length,D),Me=tl(v);te--;){var We=S[te];v[te]=x(We,D)?Me[We]:t}return v}function zn(v,S){if(!(S==="constructor"&&typeof v[S]=="function")&&S!="__proto__")return v[S]}var lr=Ro(om),Kr=tA||function(v,S){return vr.setTimeout(v,S)},_r=Ro(rg);function pi(v,S,D){var te=S+"";return _r(v,A(te,ds(qa(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 Ha(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 Ma=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(Yr,"$1"):te||D)}),S});function Fa(v){if(typeof v=="string"||ea(v))return v;var S=v+"";return S=="0"&&1/v==-yt?"-0":S}function cs(v){if(v!=null){try{return us.call(v)}catch{}try{return v+""}catch{}}return""}function ds(v,S){return ou(Vt,function(D){var te="_."+D[0];S&D[1]&&!ud(v,te)&&v.push(te)}),v.sort()}function Ol(v){if(v instanceof qr)return v.clone();var S=new $i(v.__wrapped__,v.__chain__);return S.__actions__=tl(v.__actions__),S.__index__=v.__index__,S.__values__=v.__values__,S}function nl(v,S,D){(D?b(v,S,D):S===t)?S=1:S=lo(ei(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 Is(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 hs(){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 Yu(re(D)?tl(D):[D],uo(S,1))}var pa=Yi(function(v,S){return Be(v)?ti(v,uo(S,1,Be,!0)):[]}),ks=Yi(function(v,S){var D=KA(S);return Be(D)&&(D=t),Be(v)?ti(v,uo(S,1,Be,!0),Jr(D,2)):[]}),fh=Yi(function(v,S){var D=KA(S);return Be(D)&&(D=t),Be(v)?ti(v,uo(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:ei(S),Da(v,S<0?0:S,te)):[]}function Ws(v,S,D){var te=v==null?0:v.length;return te?(S=D||S===t?1:ei(S),S=te-S,Da(v,0,S<0?0:S)):[]}function hc(v,S){return v&&v.length?_d(v,Jr(S,3),!0,!0):[]}function Gs(v,S){return v&&v.length?_d(v,Jr(S,3),!0):[]}function T0(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:ei(D);return Me<0&&(Me=lo(te+Me,0)),Pi(v,Jr(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=ei(D),Me=D<0?lo(te+Me,0):ha(Me,te-1)),Pi(v,Jr(S,3),Me,!0)}function Va(v){var S=v==null?0:v.length;return S?uo(v,1):[]}function rl(v){var S=v==null?0:v.length;return S?uo(v,yt):[]}function ph(v,S){var D=v==null?0:v.length;return D?(S=S===t?1:ei(S),uo(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 K0(v,S,D){var te=v==null?0:v.length;if(!te)return-1;var Me=D==null?0:ei(D);return Me<0&&(Me=lo( Line truncated
`;v.replace(pr,function(wi,xo,Lo,Gc,FA,Qc){return Lo||(Lo=Gc),Pn+=v.slice(vn,Qc).replace(Wa,wA),xo&&(_t=!0,Pn+=`' +
`)}function p(v){return re(v)||J(v)||!!(rp&&v&&v[rp])}function x(v,S){var F=typeof v;return S=S??st,!!S&&(F=="number"||F!="symbol"&&ho.test(v))&&v>-1&&v%1==0&&v<S}function b(v,S,F){if(!xn(F))return!1;var te=typeof S;return(te=="number"?be(F)&&x(S,F.length):te=="string"&&S in F)?K(F[S],v):!1}function B(v,S){if(re(v))return!1;var F=typeof v;return F=="number"||F=="symbol"||F=="boolean"||v==null||ea(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),F=Le[S];if(typeof F!="function"||!(S in qr.prototype))return!1;if(v===F)return!0;var te=zc(F);return!!te&&v===te[0]}function ne(v){return!!$h&&$h in v}var ue=Hu?Nn:QM;function ve(v){var S=v&&v.constructor,F=typeof S=="function"&&S.prototype||Ya;return v===F}function $e(v){return v===v&&!xn(v)}function nt(v,S){return function(F){return F==null?!1:F[v]===S&&(S!==t||v in Ko(F))}}function Ot(v){var S=vm(v,function(te){return F.size===f&&F.clear(),te}),F=S.cache;return S}function Ct(v,S){var F=v[1],te=S[1],Me=F|te,We=Me<(V|$|X),ut=te==X&&F==Z||te==X&&F==oe&&v[7].length<=S[8]||te==(X|oe)&&S[7].length<=S[8]&&F==Z;if(!(We||ut))return v;te&V&&(v[2]=S[2],Me|=F&V?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]:ha(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 F in Ko(v))S.push(F);return S}function cn(v){return lu.call(v)}function Pn(v,S,F){return S=lo(S===t?v.length-1:S,0),function(){for(var te=arguments,Me=-1,We=lo(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]=F(ut),va(v,this,_t)}}function Vn(v,S){return S.length<2?v:Es(v,La(S,0,-1))}function bn(v,S){for(var F=v.length,te=ha(S.length,F),Me=tl(v);te--;){var We=S[te];v[te]=x(We,F)?Me[We]:t}return v}function jn(v,S){if(!(S==="constructor"&&typeof v[S]=="function")&&S!="__proto__")return v[S]}var lr=Ro(om),Kr=tA||function(v,S){return Cr.setTimeout(v,S)},br=Ro(rg);function pi(v,S,F){var te=S+"";return br(v,A(te,ds(qa(te),F)))}function Ro(v){var S=0,F=0;return function(){var te=wr(),Me=he-(te-F);if(F=te,Me>0){if(++S>=Pe)return arguments[0]}else S=0;return v.apply(t,arguments)}}function Ha(v,S){var F=-1,te=v.length,Me=te-1;for(S=S===t?te:S;++F<S;){var We=rm(F,Me),ut=v[We];v[We]=v[F],v[F]=ut}return v.length=S,v}var Ma=Ot(function(v){var S=[];return v.charCodeAt(0)===46&&S.push(""),v.replace(et,function(F,te,Me,We){S.push(Me?We.replace(Yr,"$1"):te||F)}),S});function Ua(v){if(typeof v=="string"||ea(v))return v;var S=v+"";return S=="0"&&1/v==-yt?"-0":S}function cs(v){if(v!=null){try{return us.call(v)}catch{}try{return v+""}catch{}}return""}function ds(v,S){return ou(Vt,function(F){var te="_."+F[0];S&F[1]&&!ud(v,te)&&v.push(te)}),v.sort()}function Ol(v){if(v instanceof qr)return v.clone();var S=new $i(v.__wrapped__,v.__chain__);return S.__actions__=tl(v.__actions__),S.__index__=v.__index__,S.__values__=v.__values__,S}function nl(v,S,F){(F?b(v,S,F):S===t)?S=1:S=lo(ei(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++]=La(v,Me,Me+=S);return ut}function Is(v){for(var S=-1,F=v==null?0:v.length,te=0,Me=[];++S<F;){var We=v[S];We&&(Me[te++]=We)}return Me}function hs(){var v=arguments.length;if(!v)return[];for(var S=jt(v-1),F=arguments[0],te=v;te--;)S[te-1]=arguments[te];return Yu(re(F)?tl(F):[F],uo(S,1))}var pa=Yi(function(v,S){return Be(v)?ti(v,uo(S,1,Be,!0)):[]}),ks=Yi(function(v,S){var F=KA(S);return Be(F)&&(F=t),Be(v)?ti(v,uo(S,1,Be,!0),Jr(F,2)):[]}),fh=Yi(function(v,S){var F=KA(S);return Be(F)&&(F=t),Be(v)?ti(v,uo(S,1,Be,!0),t,F):[]});function dc(v,S,F){var te=v==null?0:v.length;return te?(S=F||S===t?1:ei(S),La(v,S<0?0:S,te)):[]}function Ws(v,S,F){var te=v==null?0:v.length;return te?(S=F||S===t?1:ei(S),S=te-S,La(v,0,S<0?0:S)):[]}function hc(v,S){return v&&v.length?_d(v,Jr(S,3),!0,!0):[]}function Gs(v,S){return v&&v.length?_d(v,Jr(S,3),!0):[]}function K0(v,S,F,te){var Me=v==null?0:v.length;return Me?(F&&typeof F!="number"&&b(v,S,F)&&(F=0,te=Me),Fa(v,S,F,te)):[]}function TA(v,S,F){var te=v==null?0:v.length;if(!te)return-1;var Me=F==null?0:ei(F);return Me<0&&(Me=lo(te+Me,0)),Pi(v,Jr(S,3),Me)}function Nc(v,S,F){var te=v==null?0:v.length;if(!te)return-1;var Me=te-1;return F!==t&&(Me=ei(F),Me=F<0?lo(te+Me,0):ha(Me,te-1)),Pi(v,Jr(S,3),Me,!0)}function Va(v){var S=v==null?0:v.length;return S?uo(v,1):[]}function rl(v){var S=v==null?0:v.length;return S?uo(v,yt):[]}function ph(v,S){var F=v==null?0:v.length;return F?(S=S===t?1:ei(S),uo(v,S)):[]}function fc(v){for(var S=-1,F=v==null?0:v.length,te={};++S<F;){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,F){var te=v==null?0:v.length;if(!te)return-1;var Me=F==null?0:ei(F);return Me<0&&(Me=lo( Line truncated
`;v.replace(mr,function(wi,xo,Do,Gc,LA,Qc){return Do||(Do=Gc),Dn+=v.slice(vn,Qc).replace(Wa,wA),xo&&(_t=!0,Dn+=`' +
__e(`+xo+`) +
'`),FA&&(Tt=!0,Pn+=`';
`+FA+`;
__p += '`),Lo&&(Pn+=`' +
((__t = (`+Lo+`)) == null ? '' : __t) +
'`),vn=Qc+wi.length,wi}),Pn+=`';
`;var xi=Xi.call(S,"variable")&&S.variable;if(!xi)Pn=`with (obj) {
`+Pn+`
'`),LA&&(Tt=!0,Dn+=`';
`+LA+`;
__p += '`),Do&&(Dn+=`' +
((__t = (`+Do+`)) == null ? '' : __t) +
'`),vn=Qc+wi.length,wi}),Dn+=`';
`;var xi=Xi.call(S,"variable")&&S.variable;if(!xi)Dn=`with (obj) {
`+Dn+`
}
`;else if(cr.test(xi))throw new Ai(s);Pn=(Tt?Pn.replace(g,""):Pn).replace(Kt,"$1").replace(Lr,"$1;"),Pn="function("+(xi||"obj")+`) {
`;else if(cr.test(xi))throw new Ai(s);Dn=(Tt?Dn.replace(g,""):Dn).replace(Kt,"$1").replace(Dr,"$1;"),Dn="function("+(xi||"obj")+`) {
`+(xi?"":`obj || (obj = {});
`)+"var __t, __p = ''"+(_t?", __e = _.escape":"")+(Tt?`, __j = Array.prototype.join;
function print() { __p += __j.call(arguments, '') }
`:`;
`)+Pn+`return __p
}`;var Ao=Rk(function(){return so(We,Zr+"return "+Pn).apply(t,ut)});if(Ao.source=Pn,rn(Ao))throw Ao;return Ao}function jY(v){return mi(v).toLowerCase()}function NY(v){return mi(v).toUpperCase()}function WY(v,S,D){if(v=mi(v),v&&(D||S===t))return VA(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 GY(v,S,D){if(v=mi(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 QY(v,S,D){if(v=mi(v),v&&(D||S===t))return v.replace(Ht,"");if(!v||!(S=Ku(S)))return v;var te=jl(v),Me=Ul(te,jl(S));return Rc(te,Me).join("")}function $Y(v,S){var D=we,te=Te;if(xn(S)){var Me="separator"in S?S.separator:Me;D="length"in S?ei(S.length):D,te="omission"in S?Ku(S.omission):te}v=mi(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 vn,_n=Tt;for(Me.global||(Me=SA(Me.source,mi(Ur.exec(Me))+"g")),Me.lastIndex=0;vn=Me.exec(_n);)var Pn=vn.index;Tt=Tt.slice(0,Pn===t?_t:Pn)}}else if(v.indexOf(Ku(Me),_t)!=_t){var pr=Tt.lastIndexOf(Me);pr>-1&&(Tt=Tt.slice(0,pr))}return Tt+te}function YY(v){return v=mi(v),v&&ce.test(v)?v.replace(rr,Pc):v}var qY=Af(function(v,S,D){return v+(D?" ":"")+S.toUpperCase()}),RM=uf("toUpperCase");function Uk(v,S,D){return v=mi(v),S=D?t:S,S===t?np(v)?dd(v):em(v):v.match(S)||[]}var Rk=Yi(function(v,S){try{return va(v,t,S)}catch(D){return rn(D)?D:new Ai(D)}}),HY=cc(function(v,S){return ou(S,function(D){D=Fa(D),qn(v,D,Mg(v[D],v))}),v});function VY(v){var S=v==null?0:v.length,D=Jr();return v=S?aa(v,function(te){if(typeof te[1]!="function")throw new Po(a);return[D(te[0]),te[1]]}):[],Yi(function(te){for(var Me=-1;++Me<S;){var We=v[Me];if(va(We[0],this,te))return va(We[1],this,te)}})}function ZY(v){return fi(Cr(v,O))}function zM(v){return function(){return v}}function XY(v,S){return v==null||v!==v?S:v}var JY=sm(),eq=sm(!0);function yc(v){return v}function jM(v){return aA(typeof v=="function"?v:Cr(v,O))}function tq(v){return tf(Cr(v,O))}function nq(v,S){return nf(v,Cr(S,O))}var rq=Yi(function(v,S){return function(D){return uc(D,v,S)}}),iq=Yi(function(v,S){return function(D){return uc(v,D,S)}});function NM(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=jn(v);return ou(Me,function(_t){var Tt=S[_t];v[_t]=Tt,ut&&(v.prototype[_t]=function(){var vn=this.__chain__;if(We||vn){var _n=v(this.__wrapped__),Pn=_n.__actions__=tl(this.__actions__);return Pn.push({func:Tt,args:arguments,thisArg:v}),_n.__chain__=vn,_n}return Tt.apply(v,Yu([this.value()],arguments))})}),v}function oq(){return vr._===this&&(vr._=_a),this}function WM(){}function aq(v){return v=ei(v),Yi(function(S){return ih(S,v)})}var sq=um(aa),lq=um(ld),uq=um(kc);function zk(v){return B(v)?ep(Fa(v)):_0(v)}function Aq(v){return function(S){return v==null?t:Es(v,S)}}var cq=ch(),dq=ch(!0);function GM(){return[]}function QM(){return!1}function hq(){return{}}function fq(){return""}function pq(){return!0}function mq(v,S){if(v=ei(v),v<1||v>st)return[];var D=He,te=ha(v,He);S=Jr(S),v-=He;for(var Me=To(te,S);++D<v;)S(D);return Me}function gq(v){return re(v)?aa(v,Fa):ea(v)?[v]:tl(Ma(mi(v)))}function yq(v){var S=++Qh;return mi(v)+S}var vq=Ah(function(v,S){return v+S},0),Cq=B0("ceil"),_q=Ah(function(v,S){return v/S},1),bq=B0("floor");function xq(v){return v&&v.length?js(v,yc,sa):t}function wq(v,S){return v&&v.length?js(v,Jr(S,2),sa):t}function Mq(v){return qu(v,yc)}function Sq(v,S){return qu(v,Jr(S,2))}function Eq(v){return v&&v.length?js(v,yc,sA):t}function Oq(v,S){return v&&v.length?js(v,Jr(S,2),sA):t}var Bq=Ah(function(v,S){return v*S},1),Iq=B0("round"),kq=Ah(function(v,S){return v-S},0);function Tq(v){return v&&v.length?HA(v,yc):0}function Kq(v,S){return v&&v.length?HA(v,Jr(S,2)):0}return Fe.after=Cf,Fe.ary=wg,Fe.assign=pc,Fe.assignIn=mc,Fe.assignInWith=cA,Fe.assignWith=gh,Fe.at=gc,Fe.before=AC,Fe.bind=Mg,Fe.bindAll=HY,Fe.bindKey=Sg,Fe.castArray=c,Fe.chain=aC,Fe.chunk=nl,Fe.compact=Is,Fe.concat=hs,Fe.cond=VY,Fe.conforms=ZY,Fe.constant=zM,Fe.countBy=jx,Fe.create=LA,Fe.curry=Zx,Fe.curryRight=cC,Fe.debounce=dC,Fe.defaults=Du,Fe.defaultsDeep=yh,Fe.defer=IM,Fe.delay=Xx,Fe.difference=pa,Fe.differenceBy=ks,Fe.differenceWith=fh,Fe.drop=dc,Fe.dropRight=Ws,Fe.dropRightWhile=hc,Fe.dropWhile=Gs,Fe.fill=T0,Fe.filter=Wx,Fe.flatMap=Qx,Fe.flatMapDeep=vf,Fe.flatMapDepth=$x,Fe.flatten=Va,Fe.flattenDeep=rl,Fe.flattenDepth=ph,Fe.flip=hC,Fe.flow=JY,Fe.flowRight=eq,Fe.fromPairs=fc,Fe.functions=t2,Fe.functionsIn=TM,Fe.groupBy=Yx,Fe.initial=pm,Fe.intersection=hg,Fe.intersectionBy=fg,Fe.intersectionWith=cM,Fe.invert=PM,Fe.invertBy=LM,Fe.invokeMap=MM,Fe.iteratee=jM,Fe.keyBy=qx,Fe.keys=Tl,Fe.keysIn=Za,Fe.map=mh,Fe.mapKeys=Ig,Fe.mapValues=n2,Fe.matches=tq,Fe.matchesProperty=nq,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"&&Fb(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 Pz(n){return Kz(n,"paint")}function Lz(n){return Kz(n,"layout")}function Dz(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:l8,layout(d){return Ud({layer:t,key:d.key,value:d.value,style:d.style,styleSpec:d.styleSpec,validateSpec:d.validateSpec,objectElementValidators:{"*"(f){return Lz(hv({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 Pz(hv({layerType:a},f))}}})}}})),e}function P1(n){const e=n.value,t=n.key,r=No(e);return r!=="string"?[new er(t,e,`string expected, ${r} found`)]:[]}function gne(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=No(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 zT={promoteId:yne};function Fz(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:zT,validateSpec:o}),s;case"raster-dem":return s=gne({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:zT}),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(...fv({key:`${t}.${d}.map`,value:C,validateSpec:o,expressionContext:"cluster-map"})),s.push(...fv({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
`)+Dn+`return __p
}`;var Ao=zk(function(){return so(We,Zr+"return "+Dn).apply(t,ut)});if(Ao.source=Dn,rn(Ao))throw Ao;return Ao}function $Y(v){return mi(v).toLowerCase()}function YY(v){return mi(v).toUpperCase()}function qY(v,S,F){if(v=mi(v),v&&(F||S===t))return VA(v);if(!v||!(S=Pu(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 HY(v,S,F){if(v=mi(v),v&&(F||S===t))return v.slice(0,Zd(v)+1);if(!v||!(S=Pu(S)))return v;var te=jl(v),Me=Tc(te,jl(S))+1;return Rc(te,0,Me).join("")}function VY(v,S,F){if(v=mi(v),v&&(F||S===t))return v.replace(Ht,"");if(!v||!(S=Pu(S)))return v;var te=jl(v),Me=Ul(te,jl(S));return Rc(te,Me).join("")}function ZY(v,S){var F=we,te=Te;if(xn(S)){var Me="separator"in S?S.separator:Me;F="length"in S?ei(S.length):F,te="omission"in S?Pu(S.omission):te}v=mi(v);var We=v.length;if(XA(v)){var ut=jl(v);We=ut.length}if(F>=We)return v;var _t=F-Iu(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 vn,_n=Tt;for(Me.global||(Me=SA(Me.source,mi(Ur.exec(Me))+"g")),Me.lastIndex=0;vn=Me.exec(_n);)var Dn=vn.index;Tt=Tt.slice(0,Dn===t?_t:Dn)}}else if(v.indexOf(Pu(Me),_t)!=_t){var mr=Tt.lastIndexOf(Me);mr>-1&&(Tt=Tt.slice(0,mr))}return Tt+te}function XY(v){return v=mi(v),v&&ce.test(v)?v.replace(rr,Pc):v}var JY=Af(function(v,S,F){return v+(F?" ":"")+S.toUpperCase()}),RM=uf("toUpperCase");function Rk(v,S,F){return v=mi(v),S=F?t:S,S===t?np(v)?dd(v):em(v):v.match(S)||[]}var zk=Yi(function(v,S){try{return va(v,t,S)}catch(F){return rn(F)?F:new Ai(F)}}),eq=cc(function(v,S){return ou(S,function(F){F=Ua(F),Hn(v,F,Mg(v[F],v))}),v});function tq(v){var S=v==null?0:v.length,F=Jr();return v=S?aa(v,function(te){if(typeof te[1]!="function")throw new Po(a);return[F(te[0]),te[1]]}):[],Yi(function(te){for(var Me=-1;++Me<S;){var We=v[Me];if(va(We[0],this,te))return va(We[1],this,te)}})}function nq(v){return fi(_r(v,O))}function zM(v){return function(){return v}}function rq(v,S){return v==null||v!==v?S:v}var iq=sm(),oq=sm(!0);function yc(v){return v}function jM(v){return aA(typeof v=="function"?v:_r(v,O))}function aq(v){return tf(_r(v,O))}function sq(v,S){return nf(v,_r(S,O))}var lq=Yi(function(v,S){return function(F){return uc(F,v,S)}}),uq=Yi(function(v,S){return function(F){return uc(v,F,S)}});function NM(v,S,F){var te=Tl(S),Me=Gl(S,te);F==null&&!(xn(S)&&(Me.length||!te.length))&&(F=S,S=v,v=this,Me=Gl(S,Tl(S)));var We=!(xn(F)&&"chain"in F)||!!F.chain,ut=Nn(v);return ou(Me,function(_t){var Tt=S[_t];v[_t]=Tt,ut&&(v.prototype[_t]=function(){var vn=this.__chain__;if(We||vn){var _n=v(this.__wrapped__),Dn=_n.__actions__=tl(this.__actions__);return Dn.push({func:Tt,args:arguments,thisArg:v}),_n.__chain__=vn,_n}return Tt.apply(v,Yu([this.value()],arguments))})}),v}function Aq(){return Cr._===this&&(Cr._=_a),this}function WM(){}function cq(v){return v=ei(v),Yi(function(S){return ih(S,v)})}var dq=um(aa),hq=um(ld),fq=um(kc);function jk(v){return B(v)?ep(Ua(v)):b0(v)}function pq(v){return function(S){return v==null?t:Es(v,S)}}var mq=ch(),gq=ch(!0);function GM(){return[]}function QM(){return!1}function yq(){return{}}function vq(){return""}function Cq(){return!0}function _q(v,S){if(v=ei(v),v<1||v>st)return[];var F=He,te=ha(v,He);S=Jr(S),v-=He;for(var Me=To(te,S);++F<v;)S(F);return Me}function bq(v){return re(v)?aa(v,Ua):ea(v)?[v]:tl(Ma(mi(v)))}function xq(v){var S=++Qh;return mi(v)+S}var wq=Ah(function(v,S){return v+S},0),Mq=I0("ceil"),Sq=Ah(function(v,S){return v/S},1),Eq=I0("floor");function Oq(v){return v&&v.length?js(v,yc,sa):t}function Bq(v,S){return v&&v.length?js(v,Jr(S,2),sa):t}function Iq(v){return qu(v,yc)}function kq(v,S){return qu(v,Jr(S,2))}function Tq(v){return v&&v.length?js(v,yc,sA):t}function Kq(v,S){return v&&v.length?js(v,Jr(S,2),sA):t}var Pq=Ah(function(v,S){return v*S},1),Dq=I0("round"),Fq=Ah(function(v,S){return v-S},0);function Lq(v){return v&&v.length?HA(v,yc):0}function Uq(v,S){return v&&v.length?HA(v,Jr(S,2)):0}return Le.after=Cf,Le.ary=wg,Le.assign=pc,Le.assignIn=mc,Le.assignInWith=cA,Le.assignWith=gh,Le.at=gc,Le.before=AC,Le.bind=Mg,Le.bindAll=eq,Le.bindKey=Sg,Le.castArray=c,Le.chain=aC,Le.chunk=nl,Le.compact=Is,Le.concat=hs,Le.cond=tq,Le.conforms=nq,Le.constant=zM,Le.countBy=jx,Le.create=DA,Le.curry=Zx,Le.curryRight=cC,Le.debounce=dC,Le.defaults=Lu,Le.defaultsDeep=yh,Le.defer=IM,Le.delay=Xx,Le.difference=pa,Le.differenceBy=ks,Le.differenceWith=fh,Le.drop=dc,Le.dropRight=Ws,Le.dropRightWhile=hc,Le.dropWhile=Gs,Le.fill=K0,Le.filter=Wx,Le.flatMap=Qx,Le.flatMapDeep=vf,Le.flatMapDepth=$x,Le.flatten=Va,Le.flattenDeep=rl,Le.flattenDepth=ph,Le.flip=hC,Le.flow=iq,Le.flowRight=oq,Le.fromPairs=fc,Le.functions=t2,Le.functionsIn=TM,Le.groupBy=Yx,Le.initial=pm,Le.intersection=hg,Le.intersectionBy=fg,Le.intersectionWith=cM,Le.invert=PM,Le.invertBy=DM,Le.invokeMap=MM,Le.iteratee=jM,Le.keyBy=qx,Le.keys=Tl,Le.keysIn=Za,Le.map=mh,Le.mapKeys=Ig,Le.mapValues=n2,Le.matches=aq,Le.matchesProperty=sq,Le. 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(P1(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 Lz(n,"paint")}function Rz(n){return Lz(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: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(hv({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(hv({layerType:a},f))}}})}}})),e}function D1(n){const e=n.value,t=n.key,r=No(e);return r!=="string"?[new er(t,e,`string expected, ${r} found`)]:[]}function bne(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=No(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 jT={promoteId:xne};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:jT,validateSpec:o}),s;case"raster-dem":return s=bne({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:jT}),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(...fv({key:`${t}.${d}.map`,value:C,validateSpec:o,expressionContext:"cluster-map"})),s.push(...fv({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}`),Q].join(`
${s}`)}return f}(n,"",0)}function NT(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 Gz(n,e=2){return n=NT(n,jo.$root),n.layers&&(n.layers=n.layers.map(t=>NT(t,jo.layer))),wne(n,{indent:e})}function IS(n,e){for(const t in n)t.indexOf("layout")===0&&e(n[t],t)}function WT(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 Mne(n){return Array.isArray(n.stops)}function LC(n,e,t){n[t]=n[e],delete n[e]}function Sne(n){n.version=8,fne(n,i=>{i.type==="video"&&i.url!==void 0&&LC(i,"url","urls"),i.type==="video"&&i.coordinates.forEach(o=>o.reverse())}),x_(n,i=>{IS(i,o=>{o["symbol-min-distance"]!==void 0&&LC(o,"symbol-min-distance","symbol-spacing")}),WT(i,o=>{o["background-image"]!==void 0&&LC(o,"background-image","background-pattern"),o["line-image"]!==void 0&&LC(o,"line-image","line-pattern"),o["fill-image"]!==void 0&&LC(o,"fill-image","fill-pattern")})}),o8(n,{paint:!0,layout:!0},i=>{const o=nO(n,i.value);Mne(o)&&o.stops.forEach(a=>{a[1]=nO(n,a[1])}),i.set(o)}),delete n.constants,x_(n,i=>{IS(i,o=>{delete o["text-max-size"],delete o["icon-max-size"]}),WT(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")}x_(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 Ene(n){const e=[];return x_(n,t=>{t.filter&&(t.filter=b_(t.filter))}),o8(n,{paint:!0,layout:!0},({path:t,value:r,reference:i,set:o})=>{Rb(r)||(typeof r=="object"&&!Array.isArray(r)?(o(Oz(r,i)),e.push(t.join("."))):i.tokens&&typeof r=="string"&&o(Bz(r)))}),n}function One(n){return JSON.parse(Bne(JSON.stringify(n)))}function Bne(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 Ine(n){let e=!1;if(n.version===7&&(n=Sne(n),e=!0),n.version===8&&(e=!!Ene(n),e=!0),o8(n,{paint:!0,layout:!0},({value:t,reference:r,set:i})=>{r.type==="color"&&i(One(t))}),!e)throw new Error(`Cannot migrate from ${n.version}`);return n}const kne={StyleExpression:Mz,StylePropertyFunction:Sz,ZoomConstantExpression:JE,ZoomDependentExpression:eO,createExpression:e8,createPropertyExpression:t8,isExpression:Rb,isExpressionFilter:hw,isZoomExpression:rne,normalizePropertyExpression:ine},Tne={convertFunction:Oz,createFunction:J7,isFunction:Fb};var Qz={exports:{}};/**
${s}`)}return f}(n,"",0)}function WT(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=WT(n,jo.$root),n.layers&&(n.layers=n.layers.map(t=>WT(t,jo.layer))),Bne(n,{indent:e})}function IS(n,e){for(const t in n)t.indexOf("layout")===0&&e(n[t],t)}function GT(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 Ine(n){return Array.isArray(n.stops)}function DC(n,e,t){n[t]=n[e],delete n[e]}function kne(n){n.version=8,vne(n,i=>{i.type==="video"&&i.url!==void 0&&DC(i,"url","urls"),i.type==="video"&&i.coordinates.forEach(o=>o.reverse())}),x_(n,i=>{IS(i,o=>{o["symbol-min-distance"]!==void 0&&DC(o,"symbol-min-distance","symbol-spacing")}),GT(i,o=>{o["background-image"]!==void 0&&DC(o,"background-image","background-pattern"),o["line-image"]!==void 0&&DC(o,"line-image","line-pattern"),o["fill-image"]!==void 0&&DC(o,"fill-image","fill-pattern")})}),a8(n,{paint:!0,layout:!0},i=>{const o=rO(n,i.value);Ine(o)&&o.stops.forEach(a=>{a[1]=rO(n,a[1])}),i.set(o)}),delete n.constants,x_(n,i=>{IS(i,o=>{delete o["text-max-size"],delete o["icon-max-size"]}),GT(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")}x_(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 Tne(n){const e=[];return x_(n,t=>{t.filter&&(t.filter=b_(t.filter))}),a8(n,{paint:!0,layout:!0},({path:t,value:r,reference:i,set:o})=>{Rb(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 Kne(n){return JSON.parse(Pne(JSON.stringify(n)))}function Pne(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 Dne(n){let e=!1;if(n.version===7&&(n=kne(n),e=!0),n.version===8&&(e=!!Tne(n),e=!0),a8(n,{paint:!0,layout:!0},({value:t,reference:r,set:i})=>{r.type==="color"&&i(Kne(t))}),!e)throw new Error(`Cannot migrate from ${n.version}`);return n}const Fne={StyleExpression:Bz,StylePropertyFunction:Iz,ZoomConstantExpression:eO,ZoomDependentExpression:tO,createExpression:t8,createPropertyExpression:n8,isExpression:Rb,isExpressionFilter:hw,isZoomExpression:lne,normalizePropertyExpression:une},Lne={convertFunction:Tz,createFunction:e8,isFunction:Lb};var Hz={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()})(Vf,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 Q,V;function $(){return Q==null&&(Q=typeof OffscreenCanvas<"u"&&new OffscreenCanvas(1,1).getContext("2d")&&typeof createImageBitmap=="function"),Q}function N(){if(V==null&&(V=!1,$())){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){V=!0;break}}}return V||!1}function Z(c,l,h,y){const M=new L(c,l,h,y);return function(T){return M.solve(T)}}const se=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 H(h,K,'use of "text-field" requires a style "glyphs" property')),F==="text-font"&&ko(MA(K))&&Ca(K.type)==="identity"&&be.push(new H(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 H(y,h,'either "type" or "ref" is required'));let K=Ca(h.type);const F=Ca(h.ref);if(h.id){const W=Ca(h.id);for(let J=0;J<c.arrayIndex;J++){const re=M.layers[J];Ca(re.id)===W&&l.push(new H(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 H(y,h[J],`"${J}" is prohibited for ref layers`))}),M.layers.forEach(J=>{Ca(J.id)===F&&(W=J)}),W?W.ref?l.push(new H(y,h.ref,"ref cannot reference another ref layer")):K=Ca(W.type):l.push(new H(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&&Ca(W.type);W?J==="vector"&&K==="raster"?l.push(new H(y,h.source,`layer "${h.id}" requires a raster source`)):J!=="raster-dem"&&K==="hillshade"?l.push(new H(y,h.source,`layer "${h.id}" requires a raster-dem source`)):J==="raster"&&K!=="raster"?l.push(new H(y,h.source,`layer "${h.id}" requires a vector source`)):J!=="vector"||h["source-layer"]?J==="raster-dem"&&K!=="hillshade"?l.push(new H(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 H(y,h,`layer "${h.id}" specifies a line-gradient, which requires a GeoJSON source with \`lineMetrics\` enabled.`)):l.push(new H(y,h,`layer "${h.id}" must specify a "source-layer"`)):l.push(new H(y,h.source,`source "${h.source}" not found`))}else l.push(new H(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=Pi(l);return y!=="string"?[new H(h,l,`string expected, ${y} found`)]:[]}const fr={promoteId:function({key:c,value:l}){if(Pi(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 Ai(c){const l=c.value,h=c.key,y=c.styleSpec,M=c.style,T=c.validateSpec;if(!l.type)return[new H(h,l,'"type" is required')];const K=Ca(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=Pi(Ae);if(Ae===void 0)return Ge;if(Ze!=="object")return Ge.push(new H("source_raster_dem",Ae,`object expected, ${Ze} found`)),Ge;const at=Ca(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 H(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 H(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()})(Vf,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 L(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,L)}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,L=1;for(h=c,y=0;y<20&&(M=this.sampleCurveX(h),!(Math.abs(M-c)<l));y++)c>M?K=h:L=h,h=.5*(L-K)+K;return h},solve:function(c,l){return this.sampleCurveY(this.solveCurveX(c,l))}};var D=d(E);let Q,V;function $(){return Q==null&&(Q=typeof OffscreenCanvas<"u"&&new OffscreenCanvas(1,1).getContext("2d")&&typeof createImageBitmap=="function"),Q}function N(){if(V==null&&(V=!1,$())){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){V=!0;break}}}return V||!1}function Z(c,l,h,y){const M=new D(c,l,h,y);return function(T){return M.solve(T)}}const se=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"&&(L==="text-field"&&M&&!M.glyphs&&be.push(new H(h,K,'use of "text-field" requires a style "glyphs" property')),L==="text-font"&&ko(MA(K))&&Ca(K.type)==="identity"&&be.push(new H(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:L}))}function su(c){return Xd(c,"paint")}function Et(c){return Xd(c,"layout")}function sn(c){let l=[];const h=c.value,y=c.key,M=c.style,T=c.styleSpec;h.type||h.ref||l.push(new H(y,h,'either "type" or "ref" is required'));let K=Ca(h.type);const L=Ca(h.ref);if(h.id){const W=Ca(h.id);for(let J=0;J<c.arrayIndex;J++){const re=M.layers[J];Ca(re.id)===W&&l.push(new H(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 H(y,h[J],`"${J}" is prohibited for ref layers`))}),M.layers.forEach(J=>{Ca(J.id)===L&&(W=J)}),W?W.ref?l.push(new H(y,h.ref,"ref cannot reference another ref layer")):K=Ca(W.type):l.push(new H(y,h.ref,`ref layer "${L}" not found`))}else if(K!=="background")if(h.source){const W=M.sources&&M.sources[h.source],J=W&&Ca(W.type);W?J==="vector"&&K==="raster"?l.push(new H(y,h.source,`layer "${h.id}" requires a raster source`)):J!=="raster-dem"&&K==="hillshade"?l.push(new H(y,h.source,`layer "${h.id}" requires a raster-dem source`)):J==="raster"&&K!=="raster"?l.push(new H(y,h.source,`layer "${h.id}" requires a vector source`)):J!=="vector"||h["source-layer"]?J==="raster-dem"&&K!=="hillshade"?l.push(new H(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 H(y,h,`layer "${h.id}" specifies a line-gradient, which requires a GeoJSON source with \`lineMetrics\` enabled.`)):l.push(new H(y,h,`layer "${h.id}" must specify a "source-layer"`)):l.push(new H(y,h.source,`source "${h.source}" not found`))}else l.push(new H(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:Dc,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=Pi(l);return y!=="string"?[new H(h,l,`string expected, ${y} found`)]:[]}const pr={promoteId:function({key:c,value:l}){if(Pi(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 Ai(c){const l=c.value,h=c.key,y=c.styleSpec,M=c.style,T=c.validateSpec;if(!l.type)return[new H(h,l,'"type" is required')];const K=Ca(l.type);let L;switch(K){case"vector":case"raster":return L=zl({key:h,value:l,valueSpec:y[`source_${K.replace("-","_")}`],style:c.style,styleSpec:y,objectElementValidators:pr,validateSpec:T}),L;case"raster-dem":return L=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,De=W.style;let Ge=[];const Ze=Pi(Ae);if(Ae===void 0)return Ge;if(Ze!=="object")return Ge.push(new H("source_raster_dem",Ae,`object expected, ${Ze} found`)),Ge;const at=Ca(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 H(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:De,styleSpec:be})):Ge.push(new H(wt,Ae[wt],`unknown property "${wt}"`));return Ge}({sourceName:h,value:l,style:c.style,styleSpec:y,validateSpec:T}),L;case"geojson":if(L=zl({key:h,value:l,valueSpec:y.source_geojson,style:M,styleSpec:y,validateSpec:T,objectElementValidators:pr}),l.cluster)for(const W in l.clusterProperties){const[J,re]=l.clusterProperties[W],Ae=typeof J=="string"?[J,["accumulated"],["get",W]]:J;L.push(...Pc({key:`${h}.${W}.map`,value:re,validateSpec:T,expressionContext:"cluster-map"})),L.push(...Pc({key:`${h}.${W}.reduce`,value:Ae,validateSpec:T,expressionContext:"cluster-reduce"}))}return L;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)
@@ -599,7 +599,7 @@ void main() {
#pragma mapbox: initialize lowp float halo_blur
vec2 a_pos=a_pos_offset.xy;vec2 a_offset=a_pos_offset.zw;vec2 a_tex=a_data.xy;vec2 a_size=a_data.zw;float a_size_min=floor(a_size[0]*0.5);float is_sdf=a_size[0]-2.0*a_size_min;float ele=get_elevation(a_pos);highp float segment_angle=-a_projected_pos[2];float size;if (!u_is_size_zoom_constant && !u_is_size_feature_constant) {size=mix(a_size_min,a_size[1],u_size_t)/128.0;} else if (u_is_size_zoom_constant && !u_is_size_feature_constant) {size=a_size_min/128.0;} else {size=u_size;}vec4 projectedPoint=u_matrix*vec4(a_pos,ele,1);highp float camera_to_anchor_distance=projectedPoint.w;highp float distance_ratio=u_pitch_with_map ?
camera_to_anchor_distance/u_camera_to_center_distance :
u_camera_to_center_distance/camera_to_anchor_distance;highp float perspective_ratio=clamp(0.5+0.5*distance_ratio,0.0,4.0);size*=perspective_ratio;float fontScale=size/24.0;highp float symbol_rotation=0.0;if (u_rotate_symbol) {vec4 offsetProjectedPoint=u_matrix*vec4(a_pos+vec2(1,0),ele,1);vec2 a=projectedPoint.xy/projectedPoint.w;vec2 b=offsetProjectedPoint.xy/offsetProjectedPoint.w;symbol_rotation=atan((b.y-a.y)/u_aspect_ratio,b.x-a.x);}highp float angle_sin=sin(segment_angle+symbol_rotation);highp float angle_cos=cos(segment_angle+symbol_rotation);mat2 rotation_matrix=mat2(angle_cos,-1.0*angle_sin,angle_sin,angle_cos);vec4 projected_pos=u_label_plane_matrix*vec4(a_projected_pos.xy,ele,1.0);float z=float(u_pitch_with_map)*projected_pos.z/projected_pos.w;gl_Position=u_coord_matrix*vec4(projected_pos.xy/projected_pos.w+rotation_matrix*(a_offset/32.0*fontScale),z,1.0);float gamma_scale=gl_Position.w;vec2 fade_opacity=unpack_opacity(a_fade_opacity);float visibility=calculate_visibility(projectedPoint);float fade_change=fade_opacity[1] > 0.5 ? u_fade_change :-u_fade_change;float interpolated_fade_opacity=max(0.0,min(visibility,fade_opacity[0]+fade_change));v_data0.xy=a_tex/u_texsize;v_data0.zw=a_tex/u_texsize_icon;v_data1=vec4(gamma_scale,size,interpolated_fade_opacity,is_sdf);}`),terrain:Ci("uniform sampler2D u_texture;varying vec2 v_texture_pos;void main() {gl_FragColor=texture2D(u_texture,v_texture_pos);}",Dr),terrainDepth:Ci("varying float v_depth;const highp vec4 bitSh=vec4(256.*256.*256.,256.*256.,256.,1.);const highp vec4 bitMsk=vec4(0.,vec3(1./256.0));highp vec4 pack(highp float value) {highp vec4 comp=fract(value*bitSh);comp-=comp.xxyz*bitMsk;return comp;}void main() {gl_FragColor=pack(v_depth);}",Dr),terrainCoords:Ci("precision mediump float;uniform sampler2D u_texture;uniform float u_terrain_coords_id;varying vec2 v_texture_pos;void main() {vec4 rgba=texture2D(u_texture,v_texture_pos);gl_FragColor=vec4(rgba.r,rgba.g,rgba.b,u_terrain_coords_id);}",Dr)};function Ci(I,u){const m=/#pragma mapbox: ([\w]+) ([\w]+) ([\w]+) ([\w]+)/g,_=u.match(/attribute ([\w]+) ([\w]+)/g),w=I.match(/uniform ([\w]+) ([\w]+)([\s]*)([\w]*)/g),k=u.match(/uniform ([\w]+) ([\w]+)([\s]*)([\w]*)/g),R=k?k.concat(w):w,j={};return{fragmentSource:I=I.replace(m,(Y,ie,de,me,Oe)=>(j[Oe]=!0,ie==="define"?`
u_camera_to_center_distance/camera_to_anchor_distance;highp float perspective_ratio=clamp(0.5+0.5*distance_ratio,0.0,4.0);size*=perspective_ratio;float fontScale=size/24.0;highp float symbol_rotation=0.0;if (u_rotate_symbol) {vec4 offsetProjectedPoint=u_matrix*vec4(a_pos+vec2(1,0),ele,1);vec2 a=projectedPoint.xy/projectedPoint.w;vec2 b=offsetProjectedPoint.xy/offsetProjectedPoint.w;symbol_rotation=atan((b.y-a.y)/u_aspect_ratio,b.x-a.x);}highp float angle_sin=sin(segment_angle+symbol_rotation);highp float angle_cos=cos(segment_angle+symbol_rotation);mat2 rotation_matrix=mat2(angle_cos,-1.0*angle_sin,angle_sin,angle_cos);vec4 projected_pos=u_label_plane_matrix*vec4(a_projected_pos.xy,ele,1.0);float z=float(u_pitch_with_map)*projected_pos.z/projected_pos.w;gl_Position=u_coord_matrix*vec4(projected_pos.xy/projected_pos.w+rotation_matrix*(a_offset/32.0*fontScale),z,1.0);float gamma_scale=gl_Position.w;vec2 fade_opacity=unpack_opacity(a_fade_opacity);float visibility=calculate_visibility(projectedPoint);float fade_change=fade_opacity[1] > 0.5 ? u_fade_change :-u_fade_change;float interpolated_fade_opacity=max(0.0,min(visibility,fade_opacity[0]+fade_change));v_data0.xy=a_tex/u_texsize;v_data0.zw=a_tex/u_texsize_icon;v_data1=vec4(gamma_scale,size,interpolated_fade_opacity,is_sdf);}`),terrain:Ci("uniform sampler2D u_texture;varying vec2 v_texture_pos;void main() {gl_FragColor=texture2D(u_texture,v_texture_pos);}",Fr),terrainDepth:Ci("varying float v_depth;const highp vec4 bitSh=vec4(256.*256.*256.,256.*256.,256.,1.);const highp vec4 bitMsk=vec4(0.,vec3(1./256.0));highp vec4 pack(highp float value) {highp vec4 comp=fract(value*bitSh);comp-=comp.xxyz*bitMsk;return comp;}void main() {gl_FragColor=pack(v_depth);}",Fr),terrainCoords:Ci("precision mediump float;uniform sampler2D u_texture;uniform float u_terrain_coords_id;varying vec2 v_texture_pos;void main() {vec4 rgba=texture2D(u_texture,v_texture_pos);gl_FragColor=vec4(rgba.r,rgba.g,rgba.b,u_terrain_coords_id);}",Fr)};function Ci(I,u){const m=/#pragma mapbox: ([\w]+) ([\w]+) ([\w]+) ([\w]+)/g,_=u.match(/attribute ([\w]+) ([\w]+)/g),w=I.match(/uniform ([\w]+) ([\w]+)([\s]*)([\w]*)/g),k=u.match(/uniform ([\w]+) ([\w]+)([\s]*)([\w]*)/g),R=k?k.concat(w):w,j={};return{fragmentSource:I=I.replace(m,(Y,ie,de,me,Oe)=>(j[Oe]=!0,ie==="define"?`
#ifndef HAS_UNIFORM_u_${Oe}
varying ${de} ${me} ${Oe};
#else
@@ -648,112 +648,112 @@ uniform ${de} ${me} u_${Oe};
#else
${de} ${me} ${Oe} = u_${Oe};
#endif
`}),staticAttributes:_,staticUniforms:R}}class Qa{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 ra(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=ra(m.staticAttributes),ie=_?_.getBinderAttributes():[],de=Y.concat(ie),me=Ga.prelude.staticUniforms?ra(Ga.prelude.staticUniforms):[],Oe=m.staticUniforms?ra(m.staticUniforms):[],qe=_?_.getBinderUniforms():[],Ye=me.concat(Oe).concat(qe),Ve=[];for(const Ut of Ye)Ve.indexOf(Ut)<0&&Ve.push(Ut);const Ne=_?_.defines():[];k&&Ne.push("#define OVERDRAW_INSPECTOR;"),R&&Ne.push("#define TERRAIN3D;");const ht=Ne.concat(Ga.prelude.fragmentSource,m.fragmentSource).join(`
`),Lt=Ne.concat(Ga.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<Ve.length;Ut++){const Xt=Ve[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,Ve,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]);Ve&&Ve.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 Qa)).bind(u,this,de,Ve?Ve.getPaintVertexBuffers():[],me,Pt.vertexOffset,Ne,ht,Lt),tt.drawElements(m,Pt.primitiveLength*xt,tt.UNSIGNED_SHORT,Pt.primitiveOffset*xt*2)}}}function ss(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 ia=(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:_}},oa=(I,u,m,_,w,k,R)=>s.e(ia(I,u,m,_),ss(k,u,R),{u_height_factor:-Math.pow(2,w.overscaledZ)/R.tileSize/8}),xs=I=>({u_matrix:I}),wu=(I,u,m,_)=>s.e(xs(I),ss(m,u,_)),ya=(I,u)=>({u_matrix:I,u_world:u}),_A=(I,u,m,_,w)=>s.e(wu(I,u,m,_),{u_world:w}),Gu=(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}),Qu=I=>({u_matrix:I}),Go=(I,u,m,_)=>({u_matrix:I,u_extrude_scale:cr(u,1,m),u_intensity:_});function ws(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
`}),staticAttributes:_,staticUniforms:R}}class Qa{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 ra(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 wu{constructor(u,m,_,w,k,R){const j=u.gl;this.program=j.createProgram();const Y=ra(m.staticAttributes),ie=_?_.getBinderAttributes():[],de=Y.concat(ie),me=Ga.prelude.staticUniforms?ra(Ga.prelude.staticUniforms):[],Oe=m.staticUniforms?ra(m.staticUniforms):[],qe=_?_.getBinderUniforms():[],Ye=me.concat(Oe).concat(qe),Ve=[];for(const Ut of Ye)Ve.indexOf(Ut)<0&&Ve.push(Ut);const Ne=_?_.defines():[];k&&Ne.push("#define OVERDRAW_INSPECTOR;"),R&&Ne.push("#define TERRAIN3D;");const ht=Ne.concat(Ga.prelude.fragmentSource,m.fragmentSource).join(`
`),Dt=Ne.concat(Ga.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,Dt),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<Ve.length;Ut++){const Xt=Ve[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,Ve,Ne,ht,Dt){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]);Ve&&Ve.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 Qa)).bind(u,this,de,Ve?Ve.getPaintVertexBuffers():[],me,Pt.vertexOffset,Ne,ht,Dt),tt.drawElements(m,Pt.primitiveLength*xt,tt.UNSIGNED_SHORT,Pt.primitiveOffset*xt*2)}}}function ss(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 ia=(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:_}},oa=(I,u,m,_,w,k,R)=>s.e(ia(I,u,m,_),ss(k,u,R),{u_height_factor:-Math.pow(2,w.overscaledZ)/R.tileSize/8}),xs=I=>({u_matrix:I}),Mu=(I,u,m,_)=>s.e(xs(I),ss(m,u,_)),ya=(I,u)=>({u_matrix:I,u_world:u}),_A=(I,u,m,_,w)=>s.e(Mu(I,u,m,_),{u_world:w}),Gu=(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}},Su=(I,u,m=1)=>({u_matrix:I,u_color:u,u_overlay:0,u_overlay_scale:m}),Qu=I=>({u_matrix:I}),Go=(I,u,m,_)=>({u_matrix:I,u_extrude_scale:cr(u,1,m),u_intensity:_});function ws(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
${e} <span></span>
`,qo().s[12]++,this._textEl=this._container.querySelector("span"),qo().s[13]++,this.updateZoomLevel()}addEventListeners(){qo().f[4]++,qo().s[14]++,this._map.on("render",()=>(qo().f[5]++,qo().s[15]++,this.updateZoomLevel())),qo().s[16]++,this._map.on("zoomIn",()=>(qo().f[6]++,qo().s[17]++,this.updateZoomLevel())),qo().s[18]++,this._map.on("zoomOut",()=>(qo().f[7]++,qo().s[19]++,this.updateZoomLevel()))}onRemove(){qo().f[8]++,qo().s[20]++,this._container.parentNode.removeChild(this._container),qo().s[21]++,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 tie(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 nie(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:fO,lineLayer:pO,circleLayer:hO,generateInspectStyle:nie,generateColoredLayers:tie};function Ui(){var n="/home/runner/work/maputnik/maputnik/src/libs/highlight.ts",e="aec0f701e803624fae461cc89b5fc887ff556587",t=globalThis,r="__coverage__",i={path:"/home/runner/work/maputnik/maputnik/src/libs/highlight.ts",statementMap:{0:{start:{line:4,column:2},end:{line:8,column:3}},1:{start:{line:5,column:4},end:{line:5,column:33}},2:{start:{line:6,column:9},end:{line:8,column:3}},3:{start:{line:7,column:4},end:{line:7,column:30}},4:{start:{line:9,column:2},end:{line:13,column:3}},5:{start:{line:10,column:4},end:{line:10,column:28}},6:{start:{line:12,column:4},end:{line:12,column:23}},7:{start:{line:14,column:2},end:{line:14,column:29}},8:{start:{line:15,column:2},end:{line:15,column:11}},9:{start:{line:18,column:2},end:{line:18,column:84}},10:{start:{line:18,column:72},end:{line:18,column:84}},11:{start:{line:19,column:24},end:{line:19,column:51}},12:{start:{line:20,column:16},end:{line:20,column:52}},13:{start:{line:21,column:2},end:{line:23,column:3}},14:{start:{line:22,column:4},end:{line:22,column:104}},15:{start:{line:24,column:2},end:{line:26,column:3}},16:{start:{line:25,column:4},end:{line:25,column:96}},17:{start:{line:27,column:2},end:{line:29,column:3}},18:{start:{line:28,column:4},end:{line:28,column:94}},19:{start:{line:30,column:2},end:{line:30,column:14}}},fnMap:{0:{name:"changeLayer",decl:{start:{line:3,column:9},end:{line:3,column:20}},loc:{start:{line:3,column:31},end:{line:16,column:1}},line:3},1:{name:"colorHighlightedLayer",decl:{start:{line:17,column:16},end:{line:17,column:37}},loc:{start:{line:17,column:45},end:{line:31,column:1}},line:17}},branchMap:{0:{loc:{start:{line:4,column:2},end:{line:8,column:3}},type:"if",locations:[{start:{line:4,column:2},end:{line:8,column:3}},{start:{line:6,column:9},end:{line:8,column:3}}],line:4},1:{loc:{start:{line:6,column:9},end:{line:8,column:3}},type:"if",locations:[{start:{line:6,column:9},end:{line:8,column:3}},{start:{line:void 0,column:void 0},end:{line:void 0,column:void 0}}],line:6},2:{loc:{start:{line:9,column:2},end:{line:13,column:3}},type:"if",locations:[{start:{line:9,column:2},end:{line:13,column:3}},{start:{line:11,column:9},end:{line:13,column:3}}],line:9},3:{loc:{start:{line:18,column:2},end:{line:18,column:84}},type:"if",locations:[{start:{line:18,column:2},end:{line:18,column:84}},{start:{line:void 0,column:void 0},end:{line:void 0,column:void 0}}],line:18},4:{loc:{start:{line:18,column:6},end:{line:18,column:70}},type:"binary-expr",locations:[{start:{line:18,column:6},end:{line:18,column:12}},{start:{line:18,column:16},end:{line:18,column:43}},{start:{line:18,column:47},end:{line:18,column:70}}],line:18},5:{loc:{start:{line:19,column:24},end:{line:19,column:51}},type:"binary-expr",locations:[{start:{line:19,column:24},end:{line:19,column:45}},{start:{line:19,column:49},end:{line:19,column:51}}],line:19},6:{loc:{start:{line:21,column:2},end:{line:23,column:3}},type:"if",locations:[{start:{line:21,column:2},end:{line:23,column:3} Line truncated
`))?(jb(PO),Jg=null,KO=void 0,Ip.set(P,n)):(Ip.set(P,Ip.get(P)+1,!0),f=!1))}f&&(clearInterval(o),o=void 0)}return function(f){var C=oN(f);if(C)for(var O=C.families,E=0,P=O.length;E<P;++E){var L=O[E],Q=C.style+`
`,qo().s[12]++,this._textEl=this._container.querySelector("span"),qo().s[13]++,this.updateZoomLevel()}addEventListeners(){qo().f[4]++,qo().s[14]++,this._map.on("render",()=>(qo().f[5]++,qo().s[15]++,this.updateZoomLevel())),qo().s[16]++,this._map.on("zoomIn",()=>(qo().f[6]++,qo().s[17]++,this.updateZoomLevel())),qo().s[18]++,this._map.on("zoomOut",()=>(qo().f[7]++,qo().s[19]++,this.updateZoomLevel()))}onRemove(){qo().f[8]++,qo().s[20]++,this._container.parentNode.removeChild(this._container),qo().s[21]++,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 oie(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 aie(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:aie,generateColoredLayers:oie};function Ui(){var n="/home/runner/work/maputnik/maputnik/src/libs/highlight.ts",e="aec0f701e803624fae461cc89b5fc887ff556587",t=globalThis,r="__coverage__",i={path:"/home/runner/work/maputnik/maputnik/src/libs/highlight.ts",statementMap:{0:{start:{line:4,column:2},end:{line:8,column:3}},1:{start:{line:5,column:4},end:{line:5,column:33}},2:{start:{line:6,column:9},end:{line:8,column:3}},3:{start:{line:7,column:4},end:{line:7,column:30}},4:{start:{line:9,column:2},end:{line:13,column:3}},5:{start:{line:10,column:4},end:{line:10,column:28}},6:{start:{line:12,column:4},end:{line:12,column:23}},7:{start:{line:14,column:2},end:{line:14,column:29}},8:{start:{line:15,column:2},end:{line:15,column:11}},9:{start:{line:18,column:2},end:{line:18,column:84}},10:{start:{line:18,column:72},end:{line:18,column:84}},11:{start:{line:19,column:24},end:{line:19,column:51}},12:{start:{line:20,column:16},end:{line:20,column:52}},13:{start:{line:21,column:2},end:{line:23,column:3}},14:{start:{line:22,column:4},end:{line:22,column:104}},15:{start:{line:24,column:2},end:{line:26,column:3}},16:{start:{line:25,column:4},end:{line:25,column:96}},17:{start:{line:27,column:2},end:{line:29,column:3}},18:{start:{line:28,column:4},end:{line:28,column:94}},19:{start:{line:30,column:2},end:{line:30,column:14}}},fnMap:{0:{name:"changeLayer",decl:{start:{line:3,column:9},end:{line:3,column:20}},loc:{start:{line:3,column:31},end:{line:16,column:1}},line:3},1:{name:"colorHighlightedLayer",decl:{start:{line:17,column:16},end:{line:17,column:37}},loc:{start:{line:17,column:45},end:{line:31,column:1}},line:17}},branchMap:{0:{loc:{start:{line:4,column:2},end:{line:8,column:3}},type:"if",locations:[{start:{line:4,column:2},end:{line:8,column:3}},{start:{line:6,column:9},end:{line:8,column:3}}],line:4},1:{loc:{start:{line:6,column:9},end:{line:8,column:3}},type:"if",locations:[{start:{line:6,column:9},end:{line:8,column:3}},{start:{line:void 0,column:void 0},end:{line:void 0,column:void 0}}],line:6},2:{loc:{start:{line:9,column:2},end:{line:13,column:3}},type:"if",locations:[{start:{line:9,column:2},end:{line:13,column:3}},{start:{line:11,column:9},end:{line:13,column:3}}],line:9},3:{loc:{start:{line:18,column:2},end:{line:18,column:84}},type:"if",locations:[{start:{line:18,column:2},end:{line:18,column:84}},{start:{line:void 0,column:void 0},end:{line:void 0,column:void 0}}],line:18},4:{loc:{start:{line:18,column:6},end:{line:18,column:70}},type:"binary-expr",locations:[{start:{line:18,column:6},end:{line:18,column:12}},{start:{line:18,column:16},end:{line:18,column:43}},{start:{line:18,column:47},end:{line:18,column:70}}],line:18},5:{loc:{start:{line:19,column:24},end:{line:19,column:51}},type:"binary-expr",locations:[{start:{line:19,column:24},end:{line:19,column:45}},{start:{line:19,column:49},end:{line:19,column:51}}],line:19},6:{loc:{start:{line:21,column:2},end:{line:23,column:3}},type:"if",locations:[{start:{line:21,column:2},end:{line:23,column:3} Line truncated
`))?(jb(DO),Jg=null,PO=void 0,Ip.set(P,n)):(Ip.set(P,Ip.get(P)+1,!0),f=!1))}f&&(clearInterval(o),o=void 0)}return function(f){var C=uN(f);if(C)for(var O=C.families,E=0,P=O.length;E<P;++E){var D=O[E],Q=C.style+`
`+C.weight+`
`+L;Ip.get(Q)===void 0&&(Ip.set(Q,n,!0),s(C.style,C.weight,L)||(Ip.set(Q,0,!0),o===void 0&&(o=setInterval(d,32))))}}}(),Ise=function(){var n;return function(e){var t=PO[e];if(t==null){if(gw){var r=oN(e),i=lN(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);PO[e]=t}return t}}();function lN(n,e){return Jg||(Jg=Oc(1,1)),n!=KO&&(Jg.font=n,KO=Jg.font),Jg.measureText(e)}function j4(n,e){return lN(n,e).width}function EK(n,e,t){if(e in t)return t[e];var r=e.split(`
`).reduce(function(i,o){return Math.max(i,j4(n,o))},0);return t[e]=r,r}function kse(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=j4(E,O);t.push(P),a+=P;var L=Ise(E);r.push(L),d=Math.max(d,L)}return{width:o,height:s,widths:t,heights:r,lineWidths:i}}function Tse(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]),Kse(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 Kse(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 Pse=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)}}(),Lse=function(n){Pse(e,n);function e(t){var r=n.call(this,t)||this;r.fontChangeListenerKey_=Oo(Ip,pv.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 iN(t,void 0,r);i.dispatchEvent(o)}},e.prototype.disposeInternal=function(){os(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(i0.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(!F4(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);Ose(this.element_,this.children_),this.dispatchRenderEvent(i0.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()&&F4(O,s)&&a(E)){var P=E.getRenderer(),L=P.getDataAtPixel(t,r,i);if(L){var Q=o(E,L);if(Q)return Q}}}},e}(_se);const bc={ADD:"add",REMOVE:"remove"};var uN=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)}}(),OK={LENGTH:"length"},P2=function(n){uN(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){uN(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(OK.LENGTH)},e.prototype.insertAt=function(t,r){this.unique_&&this.assertUnique_(r),this.array_.splice(t,0,r),this.updateLength_(),this.dispatchEvent(new P2(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 P2(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_[t]=r,thi Line truncated
`,""),n.push(e,""),n}var bue=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?S_[d.justify]:jK(Array.isArray(e)?e[0]:e,d.textAlign||gb),P=i&&a.lineWidth?a.lineWidth:0,L=O?e:e.split(`
`).reduce(_ue,[]),Q=kse(d,L),V=Q.width,$=Q.height,N=Q.widths,Z=Q.heights,se=Q.lineWidths,pe=V+P,fe=[],X=(pe+2)*C[0],oe=($+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=gw?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=[],Qe=[],ye=0,gt=0,yt=0,st=0,ft,Re=0,He=L.length;Re<He;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&&Qe.push("font",Jt),ft=Jt),ye=Math.max(ye,Z[yt]);var Vt=[Xe,Pe+Te*N[yt]+E*(N[yt]-se[st]),.5*(P+ye)+gt];Pe+=N[yt],i&&he.push("strokeText",Vt),r&&Qe.push("fillText",Vt),++yt}return Array.prototype.push.apply(fe,he),Array.prototype.push.apply(fe,Qe),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,Q,V){s*=E[0],d*=E[1];var $=r-s,N=i-d,Z=o+f>e?e-f:o,se=a+C>t?t-C:a,pe=L[3]+Z*E[0]+L[1],fe=L[0]+se*E[1]+L[2],X=$-L[3],oe=N-L[0];(Q||O!==0)&&(_m[0]=X,bm[0]=X,_m[1]=oe,Mp[1]=oe,Mp[0]=X+pe,Sp[0]=Mp[0],Sp[1]=oe+fe,bm[1]=Sp[1]);var Ce;return O!==0?(Ce=Qf(jd(),r,i,1,1,O,-r,-i),Cl(Ce,_m),Cl(Ce,Mp),Cl(Ce,Sp),Cl(Ce,bm),$f(Math.min(_m[0],Mp[0],Sp[0],bm[0]),Math.min(_m[1],Mp[1],Sp[1],bm[1]),Math.max(_m[0],Mp[0],Sp[0],bm[0]),Math.max(_m[1],Mp[1],Sp[1],bm[1]),zg)):$f(Math.min(X,X+pe),Math.min(oe,oe+fe),Math.max(X,X+pe),Math.max(oe,oe+fe),zg),P&&($=Math.round($),N=Math.round(N)),{drawImageX:$,drawImageY:N,drawImageW:Z,drawImageH:se,originX:f,originY:C,declutterBox:{minX:zg[0],minY:zg[1],maxX:zg[2],maxY:zg[3],value:V},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,Mp,Sp,bm,a,s),Tse(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=jK(Array.isArray(e)?e[0]:e,o.textAlign||gb),C=S_[o.textBaseline||z4],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=r0(this.coordinates,0,this.coordinates.length,2,r,this.pixelCoordinates_),uoe(this.renderedTransform_,r));for(var C=0,O=i.length,E=0,P,L,Q,V,$,N,Z,se,pe,fe,X,oe,Ce=0,we=0,Te=null,Pe=null,he=this.coordinateCache_,Qe=this.viewRotation_,ye=Math.round(Math.atan2(-r[1],r[0])*1e12)/1e12,gt={context:e,pixelRatio:this.pixelRatio,resolution:this.resolution,rotation:Qe},yt=this.instructions!=i||this.overlaps?0:200,st,ft,Re,He;C<O;){var Xe=i[C],Jt=Xe[0];switch(Jt){case di.BEGIN_GEOMETRY:st=Xe[1],He=Xe[3],st.getGeometry()?s!==void 0&&!bl(s,He.getExtent())?C=Xe[2]+1:++C:C=Xe[2];break;case di.BEGIN_PATH:Ce>yt&&(this.fill_(e),Ce=0),we>yt&&(e.stroke(),we=0),!Ce&&!we&&(e.beginPath(),V=NaN,$=NaN),++C;break;case di.CIRCLE:E=Xe[1];var Vt=f[E],bt=f[E+1],Yt=f[E+2],qt=f[E+3],ke=Yt-Vt,ge=qt-bt,Se=Math.sqrt(ke*ke+ge*ge);e.moveTo(Vt+Se,bt),e.arc(Vt,bt,Se,0,2*Math.PI,!0),++C;break;case di.CLOSE_PATH:e.closePath(),++C;break;case di.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 di.DRAW_IMAGE:E=Xe[1],P=Xe[2],se=Xe[3],L=Xe[4],Q=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],$r=Xe[15];if(!se&&Xe.length>=20){pe=Xe[19],fe=Xe[20],X=Xe[21],oe=Xe[22];var yr=this.drawLabelWithPointPlacement_(pe,fe,X,oe);se=yr.label,Xe[3]=se;var bi=Xe[23];L=(yr.anchorX-bi)*this.pixelRatio,Xe[4]=L;var Ee=Xe[24];Q=(yr.anchorY-Ee)*this.pixelRatio,Xe[5]=Q,Rt=se.height,Xe[6]=Rt,dr=se.width,Xe[13]=dr}var ee=void 0;Xe.length>25&&(ee=Xe[25]);var H=void 0,Ke=void 0,At=void 0;Xe.length>17?(H=Xe[16],Ke=Xe[17],At=Xe[18]):(H=h1,Ke=!1,At=!1),gn&&ye?yn+=Qe:!gn&&!ye&&(yn-=Qe);for(var Bt=0;E<P;E+=2)if(!(ee&&ee[Bt++]<dr/this.pixelRatio)){var kt=this.calculateImageOrLabelDimensions_(se.width,se.height,f[E],f[E+1],dr,Rt,L,Q,mt,or,yn,tr,o,H,Ke||At,st),Dt=[e,t,se,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,Ln=void 0;if($r){var In=P-E;if(!$r[In]){$r[In]=Dt;continue}if(fn=$r[In],delete $r[In],Ln=zK(fn),d.collides(Ln))continue}if(d.collides(kt.declutterBox))continue;fn&&(d. Line truncated
`);this.generateTileUrlFunction_?this.setTileUrlFunction(YN(t,this.tileGrid),r):this.setKey(r)},e.prototype.tileUrlFunction=function(t,r,i){},e.prototype.useTile=function(t,r,i){var o=Dv(t,r,i);this.tileCache.containsKey(o)&&this.tileCache.get(o)},e}(CAe),SAe=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)}}(),EAe=function(n){SAe(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:OAe,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:jN,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=Vi(t);return i in this.tileGridForProjection||(this.tileGridForProjection[i]=GN(t)),this.tileGridForProjection[i]},e.prototype.getTileCacheForProjection=function(t){var r=this.getProjection();if(!r||n1(r,t))return this.tileCache;var i=Vi(t);return i in this.tileCacheForProjection||(this.tileCacheForProjection[i]=new Z8(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(Gi.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=RN(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),Q=this.getTileCoordForTileUrlFunction(f,a),V=new WN(s,P,a,L,f,Q,this.getTilePixelRatio(o),this.getGutter(),(function($,N,Z,se){return this.getTileInternal($,N,Z,se,s)}).bind(this),this.reprojectionErrorThreshold_,this.renderReprojectionEdges_,this.getInterpolate());return V.key=E,C?(V.interimTile=C,V.refreshInterimChain(),d.replace(O,V)):d.set(O,V),V},e.prototype.getTileInternal=function(t,r,i,o,a){var s=null,d=Dv(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=Zs(t);if(i){var o=Vi(i);o in this.tileGridForProjection||(this.tileGridForProjection[o]=r)}}},e}(qN);function OAe(n,e){n.getImage().src=e}var HN=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] Line truncated
`+D;Ip.get(Q)===void 0&&(Ip.set(Q,n,!0),s(C.style,C.weight,D)||(Ip.set(Q,0,!0),o===void 0&&(o=setInterval(d,32))))}}}(),Pse=function(){var n;return function(e){var t=DO[e];if(t==null){if(gw){var r=uN(e),i=dN(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 dN(n,e){return Jg||(Jg=Oc(1,1)),n!=PO&&(Jg.font=n,PO=Jg.font),Jg.measureText(e)}function j4(n,e){return dN(n,e).width}function BK(n,e,t){if(e in t)return t[e];var r=e.split(`
`).reduce(function(i,o){return Math.max(i,j4(n,o))},0);return t[e]=r,r}function Dse(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=j4(E,O);t.push(P),a+=P;var D=Pse(E);r.push(D),d=Math.max(d,D)}return{width:o,height:s,widths:t,heights:r,lineWidths:i}}function Fse(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]),Lse(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 Lse(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 Use=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)}}(),Rse=function(n){Use(e,n);function e(t){var r=n.call(this,t)||this;r.fontChangeListenerKey_=Oo(Ip,pv.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 lN(t,void 0,r);i.dispatchEvent(o)}},e.prototype.disposeInternal=function(){os(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(i0.PRECOMPOSE,t);var r=t.layerStatesArray.sort(function(P,D){return P.zIndex-D.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(!L4(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);Tse(this.element_,this.children_),this.dispatchRenderEvent(i0.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()&&L4(O,s)&&a(E)){var P=E.getRenderer(),D=P.getDataAtPixel(t,r,i);if(D){var Q=o(E,D);if(Q)return Q}}}},e}(Mse);const bc={ADD:"add",REMOVE:"remove"};var hN=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)}}(),IK={LENGTH:"length"},P2=function(n){hN(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){hN(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(IK.LENGTH)},e.prototype.insertAt=function(t,r){this.unique_&&this.assertUnique_(r),this.array_.splice(t,0,r),this.updateLength_(),this.dispatchEvent(new P2(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 P2(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_[t]=r,thi Line truncated
`,""),n.push(e,""),n}var Sue=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?S_[d.justify]:WK(Array.isArray(e)?e[0]:e,d.textAlign||gb),P=i&&a.lineWidth?a.lineWidth:0,D=O?e:e.split(`
`).reduce(Mue,[]),Q=Dse(d,D),V=Q.width,$=Q.height,N=Q.widths,Z=Q.heights,se=Q.lineWidths,pe=V+P,fe=[],X=(pe+2)*C[0],oe=($+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=gw?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=[],Qe=[],ye=0,gt=0,yt=0,st=0,ft,Re=0,He=D.length;Re<He;Re+=2){var Xe=D[Re];if(Xe===`
`){gt+=ye,ye=0,Pe=E*pe+Te*P,++st;continue}var Jt=D[Re+1]||d.font;Jt!==ft&&(i&&he.push("font",Jt),r&&Qe.push("font",Jt),ft=Jt),ye=Math.max(ye,Z[yt]);var Vt=[Xe,Pe+Te*N[yt]+E*(N[yt]-se[st]),.5*(P+ye)+gt];Pe+=N[yt],i&&he.push("strokeText",Vt),r&&Qe.push("fillText",Vt),++yt}return Array.prototype.push.apply(fe,he),Array.prototype.push.apply(fe,Qe),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,D,Q,V){s*=E[0],d*=E[1];var $=r-s,N=i-d,Z=o+f>e?e-f:o,se=a+C>t?t-C:a,pe=D[3]+Z*E[0]+D[1],fe=D[0]+se*E[1]+D[2],X=$-D[3],oe=N-D[0];(Q||O!==0)&&(_m[0]=X,bm[0]=X,_m[1]=oe,Mp[1]=oe,Mp[0]=X+pe,Sp[0]=Mp[0],Sp[1]=oe+fe,bm[1]=Sp[1]);var Ce;return O!==0?(Ce=Qf(jd(),r,i,1,1,O,-r,-i),Cl(Ce,_m),Cl(Ce,Mp),Cl(Ce,Sp),Cl(Ce,bm),$f(Math.min(_m[0],Mp[0],Sp[0],bm[0]),Math.min(_m[1],Mp[1],Sp[1],bm[1]),Math.max(_m[0],Mp[0],Sp[0],bm[0]),Math.max(_m[1],Mp[1],Sp[1],bm[1]),zg)):$f(Math.min(X,X+pe),Math.min(oe,oe+fe),Math.max(X,X+pe),Math.max(oe,oe+fe),zg),P&&($=Math.round($),N=Math.round(N)),{drawImageX:$,drawImageY:N,drawImageW:Z,drawImageH:se,originX:f,originY:C,declutterBox:{minX:zg[0],minY:zg[1],maxX:zg[2],maxY:zg[3],value:V},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,Mp,Sp,bm,a,s),Fse(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=WK(Array.isArray(e)?e[0]:e,o.textAlign||gb),C=S_[o.textBaseline||z4],O=s&&s.lineWidth?s.lineWidth:0,E=a.width/d-2*o.scale[0],P=f*E+2*(.5-f)*O,D=C*a.height/d+2*(.5-C)*O;return{label:a,anchorX:P,anchorY:D}},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=r0(this.coordinates,0,this.coordinates.length,2,r,this.pixelCoordinates_),hoe(this.renderedTransform_,r));for(var C=0,O=i.length,E=0,P,D,Q,V,$,N,Z,se,pe,fe,X,oe,Ce=0,we=0,Te=null,Pe=null,he=this.coordinateCache_,Qe=this.viewRotation_,ye=Math.round(Math.atan2(-r[1],r[0])*1e12)/1e12,gt={context:e,pixelRatio:this.pixelRatio,resolution:this.resolution,rotation:Qe},yt=this.instructions!=i||this.overlaps?0:200,st,ft,Re,He;C<O;){var Xe=i[C],Jt=Xe[0];switch(Jt){case di.BEGIN_GEOMETRY:st=Xe[1],He=Xe[3],st.getGeometry()?s!==void 0&&!bl(s,He.getExtent())?C=Xe[2]+1:++C:C=Xe[2];break;case di.BEGIN_PATH:Ce>yt&&(this.fill_(e),Ce=0),we>yt&&(e.stroke(),we=0),!Ce&&!we&&(e.beginPath(),V=NaN,$=NaN),++C;break;case di.CIRCLE:E=Xe[1];var Vt=f[E],bt=f[E+1],Yt=f[E+2],qt=f[E+3],ke=Yt-Vt,ge=qt-bt,Se=Math.sqrt(ke*ke+ge*ge);e.moveTo(Vt+Se,bt),e.arc(Vt,bt,Se,0,2*Math.PI,!0),++C;break;case di.CLOSE_PATH:e.closePath(),++C;break;case di.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 di.DRAW_IMAGE:E=Xe[1],P=Xe[2],se=Xe[3],D=Xe[4],Q=Xe[5];var Rt=Xe[6],zt=Xe[7],mt=Xe[8],or=Xe[9],gn=Xe[10],yn=Xe[11],tr=Xe[12],hr=Xe[13],Er=Xe[14],$r=Xe[15];if(!se&&Xe.length>=20){pe=Xe[19],fe=Xe[20],X=Xe[21],oe=Xe[22];var vr=this.drawLabelWithPointPlacement_(pe,fe,X,oe);se=vr.label,Xe[3]=se;var bi=Xe[23];D=(vr.anchorX-bi)*this.pixelRatio,Xe[4]=D;var Ee=Xe[24];Q=(vr.anchorY-Ee)*this.pixelRatio,Xe[5]=Q,Rt=se.height,Xe[6]=Rt,hr=se.width,Xe[13]=hr}var ee=void 0;Xe.length>25&&(ee=Xe[25]);var H=void 0,Ke=void 0,At=void 0;Xe.length>17?(H=Xe[16],Ke=Xe[17],At=Xe[18]):(H=f1,Ke=!1,At=!1),gn&&ye?yn+=Qe:!gn&&!ye&&(yn-=Qe);for(var Bt=0;E<P;E+=2)if(!(ee&&ee[Bt++]<hr/this.pixelRatio)){var kt=this.calculateImageOrLabelDimensions_(se.width,se.height,f[E],f[E+1],hr,Rt,D,Q,mt,or,yn,tr,o,H,Ke||At,st),Ft=[e,t,se,kt,zt,Ke?Te:null,At?Pe:null];if(d){if(Er==="none")continue;if(Er==="obstacle"){d.insert(kt.declutterBox);continue}else{var fn=void 0,Fn=void 0;if($r){var kn=P-E;if(!$r[kn]){$r[kn]=Ft;continue}if(fn=$r[kn],delete $r[kn],Fn=NK(fn),d.collides(Fn))continue}if(d.collides(kt.declutterBox))continue;fn&&(d. Line truncated
`);this.generateTileUrlFunction_?this.setTileUrlFunction(ZN(t,this.tileGrid),r):this.setKey(r)},e.prototype.tileUrlFunction=function(t,r,i){},e.prototype.useTile=function(t,r,i){var o=Fv(t,r,i);this.tileCache.containsKey(o)&&this.tileCache.get(o)},e}(wAe),IAe=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)}}(),kAe=function(n){IAe(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:TAe,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:QN,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&&!r1(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&&!r1(this.getProjection(),t)?!1:n.prototype.getOpaque.call(this,t)},e.prototype.getTileGridForProjection=function(t){var r=this.getProjection();if(this.tileGrid&&(!r||r1(r,t)))return this.tileGrid;var i=Vi(t);return i in this.tileGridForProjection||(this.tileGridForProjection[i]=qN(t)),this.tileGridForProjection[i]},e.prototype.getTileCacheForProjection=function(t){var r=this.getProjection();if(!r||r1(r,t))return this.tileCache;var i=Vi(t);return i in this.tileCacheForProjection||(this.tileCacheForProjection[i]=new X8(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?yr.IDLE:yr.EMPTY,C!==void 0?C:"",this.crossOrigin,this.tileLoadFunction,this.tileOptions);return O.key=s,O.addEventListener(Gi.CHANGE,this.handleTileChange.bind(this)),O},e.prototype.getTile=function(t,r,i,o,a){var s=this.getProjection();if(!s||!a||r1(s,a))return this.getTileInternal(t,r,i,o,s||a);var d=this.getTileCacheForProjection(a),f=[t,r,i],C=void 0,O=WN(f);d.containsKey(O)&&(C=d.get(O));var E=this.getKey();if(C&&C.key==E)return C;var P=this.getTileGridForProjection(s),D=this.getTileGridForProjection(a),Q=this.getTileCoordForTileUrlFunction(f,a),V=new YN(s,P,a,D,f,Q,this.getTilePixelRatio(o),this.getGutter(),(function($,N,Z,se){return this.getTileInternal($,N,Z,se,s)}).bind(this),this.reprojectionErrorThreshold_,this.renderReprojectionEdges_,this.getInterpolate());return V.key=E,C?(V.interimTile=C,V.refreshInterimChain(),d.replace(O,V)):d.set(O,V),V},e.prototype.getTileInternal=function(t,r,i,o,a){var s=null,d=Fv(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()==yr.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=Zs(t);if(i){var o=Vi(i);o in this.tileGridForProjection||(this.tileGridForProjection[o]=r)}}},e}(XN);function TAe(n,e){n.getImage().src=e}var JN=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] 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:xce,expression:wce,expression_name:Mce,fog:Sce,light:Ece,projection:Oce,terrain:Bce,paint:Ice,paint_fill:kce,"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
`," "],Zce=["{","}","|","\\","^","`"].concat(Vce),jO=["'"].concat(Zce),JK=["%","/","?",";","#"].concat(jO),eP=["/","?","#"],Xce=255,tP=/^[+a-z0-9A-Z_-]{0,63}$/,Jce=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,ede={javascript:!0,"javascript:":!0},NO={javascript:!0,"javascript:":!0},Wy={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},WO=vb;function tde(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=Hce.exec(s);if(d)return this.path=s,this.href=s,this.pathname=d[1],d[2]?(this.search=d[2],e?this.query=WO.parse(this.search.substr(1)):this.query=this.search.substr(1)):e&&(this.search="",this.query={}),this}var f=Yce.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&&NO[f])&&(s=s.substr(2),this.slashes=!0)}if(!NO[f]&&(O||f&&!Wy[f])){for(var E=-1,P=0;P<eP.length;P++){var L=s.indexOf(eP[P]);L!==-1&&(E===-1||L<E)&&(E=L)}var Q,V;E===-1?V=s.lastIndexOf("@"):V=s.lastIndexOf("@",E),V!==-1&&(Q=s.slice(0,V),s=s.slice(V+1),this.auth=decodeURIComponent(Q)),E=-1;for(var P=0;P<JK.length;P++){var L=s.indexOf(JK[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 $=this.hostname[0]==="["&&this.hostname[this.hostname.length-1]==="]";if(!$)for(var N=this.hostname.split(/\./),P=0,Z=N.length;P<Z;P++){var se=N[P];if(se&&!se.match(tP)){for(var pe="",fe=0,X=se.length;fe<X;fe++)se.charCodeAt(fe)>127?pe+="x":pe+=se[fe];if(!pe.match(tP)){var oe=N.slice(0,P),Ce=N.slice(P+1),we=se.match(Jce);we&&(oe.push(we[1]),Ce.unshift(we[2])),Ce.length&&(s="/"+Ce.join(".")+s),this.hostname=oe.join(".");break}}}this.hostname.length>Xce?this.hostname="":this.hostname=this.hostname.toLowerCase(),$||(this.hostname=$ce.toASCII(this.hostname));var Te=this.port?":"+this.port:"",Pe=this.hostname||"";this.host=Pe+Te,this.href+=this.host,$&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),s[0]!=="/"&&(s="/"+s))}if(!ede[C])for(var P=0,Z=jO.length;P<Z;P++){var he=jO[P];if(s.indexOf(he)!==-1){var Qe=encodeURIComponent(he);Qe===he&&(Qe=escape(he)),s=s.split(he).join(Qe)}}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=WO.parse(this.query)),s=s.slice(0,gt)):e&&(this.search="",this.query={}),s&&(this.pathname=s),Wy[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=WO.stringify(this.query));var a=this.search||o&&"?"+o||"";return e&&e.substr(-1)!==":"&&(e+=":"),this.slashes||(!e||Wy[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(tde(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 Wy[t.protocol]&&t.hostname&&!t.pathname&&(t.path=t.pathname="/"),t.href=t.format(),t}if(n.protocol&&n.protocol!==t.protocol){if(!Wy[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&&!NO[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)==="/",Q=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:Ece,expression:Oce,expression_name:Bce,fog:Ice,light:kce,projection:Tce,terrain:Kce,paint:Pce,paint_fill:Dce,"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
`," "],tde=["{","}","|","\\","^","`"].concat(ede),NO=["'"].concat(tde),tP=["%","/","?",";","#"].concat(NO),nP=["/","?","#"],nde=255,rP=/^[+a-z0-9A-Z_-]{0,63}$/,rde=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,ide={javascript:!0,"javascript:":!0},WO={javascript:!0,"javascript:":!0},Wy={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},GO=vb;function ode(n,e,t){if(n&&Dp.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(!Dp.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=Jce.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=Zce.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&&!Wy[f])){for(var E=-1,P=0;P<nP.length;P++){var D=s.indexOf(nP[P]);D!==-1&&(E===-1||D<E)&&(E=D)}var Q,V;E===-1?V=s.lastIndexOf("@"):V=s.lastIndexOf("@",E),V!==-1&&(Q=s.slice(0,V),s=s.slice(V+1),this.auth=decodeURIComponent(Q)),E=-1;for(var P=0;P<tP.length;P++){var D=s.indexOf(tP[P]);D!==-1&&(E===-1||D<E)&&(E=D)}E===-1&&(E=s.length),this.host=s.slice(0,E),s=s.slice(E),this.parseHost(),this.hostname=this.hostname||"";var $=this.hostname[0]==="["&&this.hostname[this.hostname.length-1]==="]";if(!$)for(var N=this.hostname.split(/\./),P=0,Z=N.length;P<Z;P++){var se=N[P];if(se&&!se.match(rP)){for(var pe="",fe=0,X=se.length;fe<X;fe++)se.charCodeAt(fe)>127?pe+="x":pe+=se[fe];if(!pe.match(rP)){var oe=N.slice(0,P),Ce=N.slice(P+1),we=se.match(rde);we&&(oe.push(we[1]),Ce.unshift(we[2])),Ce.length&&(s="/"+Ce.join(".")+s),this.hostname=oe.join(".");break}}}this.hostname.length>nde?this.hostname="":this.hostname=this.hostname.toLowerCase(),$||(this.hostname=Vce.toASCII(this.hostname));var Te=this.port?":"+this.port:"",Pe=this.hostname||"";this.host=Pe+Te,this.href+=this.host,$&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),s[0]!=="/"&&(s="/"+s))}if(!ide[C])for(var P=0,Z=NO.length;P<Z;P++){var he=NO[P];if(s.indexOf(he)!==-1){var Qe=encodeURIComponent(he);Qe===he&&(Qe=escape(he)),s=s.split(he).join(Qe)}}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),Wy[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&&Dp.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||Wy[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(ode(n,!1,!0)).format()};Gp.prototype.resolveObject=function(n){if(Dp.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 Wy[t.protocol]&&t.hostname&&!t.pathname&&(t.path=t.pathname="/"),t.href=t.format(),t}if(n.protocol&&n.protocol!==t.protocol){if(!Wy[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 D=t.pathname&&t.pathname.charAt(0)==="/",Q=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=eW[`filter_${e}`],o=J4(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=J4(t,i);if(C.result==="error")throw new Error(C.value.map(O=>`${O.key}: ${O.message}`).join(", "));s=(O,E,P,L,Q)=>C.value.evaluate(O,E,{},P,void 0,void 0,L,Q),d=!Kw(C.value.expression)}a=a;const f=KW(r);return{filter:a,dynamicFilter:s||void 0,needGeometry:f,needFeature:!!d}}function She(n){if(!Yy(n))return n;let e=VO(n);return TW(e),e=kW(e),e}function kW(n){if(!Array.isArray(n))return n;const e=Bhe(n);return e===!0?e:e.map(t=>kW(t))}function TW(n){let e=!1;const t=[];if(n[0]==="case"){for(let r=1;r<n.length-1;r+=2)e=e||Yy(n[r]),t.push(n[r+1]);t.push(n[n.length-1])}else if(n[0]==="match"){e=e||Yy(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||Yy(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++)TW(n[r])}function Yy(n){if(!Array.isArray(n))return!1;if(Ehe(n[0]))return!0;for(let e=1;e<n.length;e++){const t=n[e];if(Yy(t))return!0}return!1}function Ehe(n){return n==="pitch"||n==="distance-from-center"}const Ohe=new Set(["in","==","!=",">",">=","<","<=","to-boolean"]);function Bhe(n){if(Ohe.has(n[0]))for(let e=1;e<n.length;e++){const t=n[e];if(Yy(t))return!0}return n}function Ihe(n,e){return n<e?-1:n>e?1:0}function KW(n){if(!Array.isArray(n))return!1;if(n[0]==="within")return!0;for(let e=1;e<n.length;e++)if(KW(n[e]))return!0;return!1}function e5(n){if(!n)return!0;const e=n[0];return n.length<=1?e!=="any":e==="=="?l6(n[1],n[2],"=="):e==="!="?j2(l6(n[1],n[2],"==")):e==="<"||e===">"||e==="<="||e===">="?l6(n[1],n[2],e):e==="any"?khe(n.slice(1)):e==="all"?["all"].concat(n.slice(1).map(e5)):e==="none"?["all"].concat(n.slice(1).map(e5).map(j2)):e==="in"?dP(n[1],n.slice(2)):e==="!in"?j2(dP(n[1],n.slice(2))):e==="has"?hP(n[1]):e==="!has"?j2(hP(n[1])):e==="within"?n:!0}function l6(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 khe(n){return["any"].concat(n.map(e5))}function dP(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(Ihe)]]:["filter-in-small",n,["literal",e]]}}function hP(n){switch(n){case"$type":return!0;case"$id":return["filter-has-id"];default:return["filter-has",n]}}function j2(n){return["!",n]}var The=["type","source","source-layer","minzoom","maxzoom","filter","layout"];function Khe(n,e){const t={};for(const r in n)r!=="ref"&&(t[r]=n[r]);return The.forEach(r=>{r in e&&(t[r]=e[r])}),t}function Phe(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]=Khe(n[t],e[n[t].ref]));return n}function Lhe(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 Dhe={};(function(n){var e=function(){var t=function(V,$,N,Z){for(N=N||{},Z=V.length;Z--;N[V[Z]]=$);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($,N,Z,se,pe,fe,X){var oe=fe.length-1;switch(pe){case 1:this.$=new String($.replace(/\\(\\|")/g,"$1").replace(/\\n/g,`
`)}const i=iW[`filter_${e}`],o=J4(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=J4(t,i);if(C.result==="error")throw new Error(C.value.map(O=>`${O.key}: ${O.message}`).join(", "));s=(O,E,P,D,Q)=>C.value.evaluate(O,E,{},P,void 0,void 0,D,Q),d=!Kw(C.value.expression)}a=a;const f=LW(r);return{filter:a,dynamicFilter:s||void 0,needGeometry:f,needFeature:!!d}}function Ihe(n){if(!Yy(n))return n;let e=ZO(n);return FW(e),e=DW(e),e}function DW(n){if(!Array.isArray(n))return n;const e=Khe(n);return e===!0?e:e.map(t=>DW(t))}function FW(n){let e=!1;const t=[];if(n[0]==="case"){for(let r=1;r<n.length-1;r+=2)e=e||Yy(n[r]),t.push(n[r+1]);t.push(n[n.length-1])}else if(n[0]==="match"){e=e||Yy(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||Yy(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++)FW(n[r])}function Yy(n){if(!Array.isArray(n))return!1;if(khe(n[0]))return!0;for(let e=1;e<n.length;e++){const t=n[e];if(Yy(t))return!0}return!1}function khe(n){return n==="pitch"||n==="distance-from-center"}const The=new Set(["in","==","!=",">",">=","<","<=","to-boolean"]);function Khe(n){if(The.has(n[0]))for(let e=1;e<n.length;e++){const t=n[e];if(Yy(t))return!0}return n}function Phe(n,e){return n<e?-1:n>e?1:0}function LW(n){if(!Array.isArray(n))return!1;if(n[0]==="within")return!0;for(let e=1;e<n.length;e++)if(LW(n[e]))return!0;return!1}function e5(n){if(!n)return!0;const e=n[0];return n.length<=1?e!=="any":e==="=="?l6(n[1],n[2],"=="):e==="!="?j2(l6(n[1],n[2],"==")):e==="<"||e===">"||e==="<="||e===">="?l6(n[1],n[2],e):e==="any"?Dhe(n.slice(1)):e==="all"?["all"].concat(n.slice(1).map(e5)):e==="none"?["all"].concat(n.slice(1).map(e5).map(j2)):e==="in"?fP(n[1],n.slice(2)):e==="!in"?j2(fP(n[1],n.slice(2))):e==="has"?pP(n[1]):e==="!has"?j2(pP(n[1])):e==="within"?n:!0}function l6(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 Dhe(n){return["any"].concat(n.map(e5))}function fP(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(Phe)]]:["filter-in-small",n,["literal",e]]}}function pP(n){switch(n){case"$type":return!0;case"$id":return["filter-has-id"];default:return["filter-has",n]}}function j2(n){return["!",n]}var Fhe=["type","source","source-layer","minzoom","maxzoom","filter","layout"];function Lhe(n,e){const t={};for(const r in n)r!=="ref"&&(t[r]=n[r]);return Fhe.forEach(r=>{r in e&&(t[r]=e[r])}),t}function Uhe(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]=Lhe(n[t],e[n[t].ref]));return n}function Rhe(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 zhe={};(function(n){var e=function(){var t=function(V,$,N,Z){for(N=N||{},Z=V.length;Z--;N[V[Z]]=$);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($,N,Z,se,pe,fe,X){var oe=fe.length-1;switch(pe){case 1:this.$=new String($.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($),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($,N){if(N.recoverable)this.trace($);else throw new Error($)},parse:function($){var N=this,Z=[0],se=[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),Qe={yy:{}};for(var ye in this.yy)Object.prototype.hasOwnProperty.call(this.yy,ye)&&(Qe.yy[ye]=this.yy[ye]);he.setInput($,Qe.yy),Qe.yy.lexer=he,Qe.yy.parser=this,typeof he.yylloc>"u"&&(he.yylloc={});var gt=he.yylloc;pe.push(gt);var yt=he.options&&he.options.ranges;typeof Qe.yy.parseError=="function"?this.parseError=Qe.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,He,Xe,Jt={},Vt,bt,Yt,qt;;){if(Re=Z[Z.length-1],this.defaultActions[Re]?He=this.defaultActions[Re]:((ft===null||typeof ft>"u")&&(ft=st()),He=fe[Re]&&fe[Re][ft]),typeof He>"u"||!He.length||!He[0]){var ke="";qt=[];for(Vt in fe[Re])this.terminals_[Vt]&&Vt>we&&qt.push("'"+this.terminals_[Vt]+"'");he.showPosition?ke="Parse error on line "+(oe+1)+`:
`+he.showPosition()+`
Expecting `+qt.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:qt})}if(He[0]instanceof Array&&He.length>1)throw new Error("Parse Error: multiple actions possible at state: "+Re+", token: "+ft);switch(He[0]){case 1:Z.push(ft),se.push(he.yytext),pe.push(he.yylloc),Z.push(He[1]),ft=null,Ce=he.yyleng,X=he.yytext,oe=he.yylineno,gt=he.yylloc;break;case 2:if(bt=this.productions_[He[1]][1],Jt.$=se[se.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,Qe.yy,He[1],se,pe].concat(Pe)),typeof Xe<"u")return Xe;bt&&(Z=Z.slice(0,-1*bt*2),se=se.slice(0,-1*bt),pe=pe.slice(0,-1*bt)),Z.push(this.productions_[He[1]][0]),se.push(Jt.$),pe.push(Jt._$),Yt=fe[Z[Z.length-2]][Z[Z.length-1]],Z.push(Yt);break;case 3:return!0}}return!0}},L=function(){var V={EOF:1,parseError:function(N,Z){if(this.yy.parser)this.yy.parser.parseError(N,Z);else throw new Error(N)},setInput:function($,N){return this.yy=N||this.yy||{},this._input=$,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 $=this._input[0];this.yytext+=$,this.yyleng++,this.offset++,this.match+=$,this.matched+=$;var N=$.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),$},unput:function($){var N=$.length,Z=$.split(/(?:\r\n?|\n)/g);this._input=$+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-N),this.offset-=N;var se=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===se.length?this.yylloc.first_column:0)+se[se.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).
Expecting `+qt.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:qt})}if(He[0]instanceof Array&&He.length>1)throw new Error("Parse Error: multiple actions possible at state: "+Re+", token: "+ft);switch(He[0]){case 1:Z.push(ft),se.push(he.yytext),pe.push(he.yylloc),Z.push(He[1]),ft=null,Ce=he.yyleng,X=he.yytext,oe=he.yylineno,gt=he.yylloc;break;case 2:if(bt=this.productions_[He[1]][1],Jt.$=se[se.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,Qe.yy,He[1],se,pe].concat(Pe)),typeof Xe<"u")return Xe;bt&&(Z=Z.slice(0,-1*bt*2),se=se.slice(0,-1*bt),pe=pe.slice(0,-1*bt)),Z.push(this.productions_[He[1]][0]),se.push(Jt.$),pe.push(Jt._$),Yt=fe[Z[Z.length-2]][Z[Z.length-1]],Z.push(Yt);break;case 3:return!0}}return!0}},D=function(){var V={EOF:1,parseError:function(N,Z){if(this.yy.parser)this.yy.parser.parseError(N,Z);else throw new Error(N)},setInput:function($,N){return this.yy=N||this.yy||{},this._input=$,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 $=this._input[0];this.yytext+=$,this.yyleng++,this.offset++,this.match+=$,this.matched+=$;var N=$.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),$},unput:function($){var N=$.length,Z=$.split(/(?:\r\n?|\n)/g);this._input=$+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-N),this.offset-=N;var se=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===se.length?this.yylloc.first_column:0)+se[se.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($){this.unput(this.match.slice($))},pastInput:function(){var $=this.matched.substr(0,this.matched.length-this.match.length);return($.length>20?"...":"")+$.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var $=this.match;return $.length<20&&($+=this._input.substr(0,20-$.length)),($.substr(0,20)+($.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var $=this.pastInput(),N=new Array($.length+1).join("-");return $+this.upcomingInput()+`
`+N+"^"},test_match:function($,N){var Z,se,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))),se=$[0].match(/(?:\r\n?|\n).*/g),se&&(this.yylineno+=se.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:se?se[se.length-1].length-se[se.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+$[0].length},this.yytext+=$[0],this.match+=$[0],this.matches=$,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($[0].length),this.matched+=$[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 $,N,Z,se;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,se=fe,this.options.backtrack_lexer){if($=this.test_match(Z,pe[fe]),$!==!1)return $;if(this._backtrack){N=!1;continue}else return!1}else if(!this.options.flex)break}return N?($=this.test_match(N,pe[se]),$!==!1?$:!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,se,pe){switch(se){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 V}();P.lexer=L;function Q(){this.yy={}}return Q.prototype=P,P.Parser=Q,new Q}();typeof Lhe<"u"&&(n.parser=e,n.Parser=e.Parser,n.parse=function(){return e.parse.apply(e,arguments)})})(Dhe);const PW={StyleExpression:OW,isExpression:BW,isExpressionFilter:EI,createExpression:J4,createPropertyExpression:IW,normalizePropertyExpression:phe,ZoomConstantExpression:YO,ZoomDependentExpression:qO,StylePropertyFunction:Lw},LW={convertFunction:yhe,createFunction:xI,isFunction:bI};var DW=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 u6(n){return n*Math.PI/180}var vv=function(){for(var n=[],e=78271.51696402048;n.length<=24;e/=2)n.push(e);return n}();function FW(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 Fhe(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 Uhe=Array(256).join(" ");function ZO(n,e){if(e>=.05){for(var t="",r=n.split(`
`),i=Uhe.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 A6;function UW(){return A6||(A6=FW(1,1).getContext("2d")),A6}function W0(n,e){return UW().measureText(n).width+(n.length-1)*e}var XO={};TO&&Oo(TO,Gi.CLEAR,function(){XO={}});function JO(n,e,t,r){if(n.indexOf(`
`+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,se,pe){switch(se){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 V}();P.lexer=D;function Q(){this.yy={}}return Q.prototype=P,P.Parser=Q,new Q}();typeof Rhe<"u"&&(n.parser=e,n.Parser=e.Parser,n.parse=function(){return e.parse.apply(e,arguments)})})(zhe);const UW={StyleExpression:TW,isExpression:KW,isExpressionFilter:OI,createExpression:J4,createPropertyExpression:PW,normalizePropertyExpression:vhe,ZoomConstantExpression:qO,ZoomDependentExpression:HO,StylePropertyFunction:Dw},RW={convertFunction:bhe,createFunction:wI,isFunction:xI};var zW=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 u6(n){return n*Math.PI/180}var vv=function(){for(var n=[],e=78271.51696402048;n.length<=24;e/=2)n.push(e);return n}();function jW(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 jhe(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 Nhe=Array(256).join(" ");function XO(n,e){if(e>=.05){for(var t="",r=n.split(`
`),i=Nhe.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 A6;function NW(){return A6||(A6=jW(1,1).getContext("2d")),A6}function G0(n,e){return NW().measureText(n).width+(n.length-1)*e}var JO={};KO&&Oo(KO,Gi.CLEAR,function(){JO={}});function eB(n,e,t,r){if(n.indexOf(`
`)!==-1){for(var i=n.split(`
`),o=[],a=0,s=i.length;a<s;++a)o.push(JO(i[a],e,t,r));return o.join(`
`)}var d=t+","+e+","+n+","+r,f=XO[d];if(!f){var C=n.split(" ");if(C.length>1){var O=UW();O.font=e;for(var E=O.measureText("M").width,P=E*t,L="",o=[],a=0,s=C.length;a<s;++a){var Q=C[a],V=L+(L?" ":"")+Q;W0(V,r)<=P?L=V:(L&&o.push(L),L=Q)}L&&o.push(L);for(var a=0,s=o.length;a<s&&s>1;++a){var $=o[a];if(W0($,r)<P*.35){var N=a>0?W0(o[a-1],r):1/0,Z=a<s-1?W0(o[a+1],r):1/0;o.splice(a,1),s-=1,N<Z?(o[a-1]+=" "+$,a-=1):o[a]=$+" "+o[a]}}for(var a=0,s=o.length-1;a<s;++a){var se=o[a],pe=o[a+1];if(W0(se,r)>P*.7&&W0(pe,r)<P*.6){var fe=se.split(" "),X=fe.pop();W0(X,r)<P*.2&&(o[a]=fe.join(" "),o[a+1]=X+" "+pe),s-=1}}f=o.join(`
`)}else f=n;f=ZO(f,r),XO[d]=f}return f}var Rhe=LW.isFunction,zhe=LW.convertFunction,jhe=PW.isExpression,Nhe=PW.createPropertyExpression,Whe={Point:1,MultiPoint:1,LineString:2,MultiLineString:2,Polygon:3,MultiPolygon:3},Ghe={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]},Qhe=function(n,e){var t=Nhe(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},eB={},t5={zoom:0},N2,c6;function Fi(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]||eB)[t],f=eW["".concat(e,"_").concat(n.type)][t];d===void 0&&(d=f.default);var C=jhe(d);if(!C&&Rhe(d)&&(d=zhe(d,f),C=!0),C){var O=Qhe(d,f);s[t]=O.evaluate.bind(O)}else f.type=="color"&&(d=tu.parse(d)),s[t]=function(){return d}}return t5.zoom=r,s[t](t5,i)}function $he(n,e,t,r,i){return i||console.warn("No filterCache provided to evaluateFilter()"),n in i||(i[n]=Mhe(e).filter),t5.zoom=r,i[n](t5,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 Yhe=/^([^]*)\{(.*)\}([^]*)$/;function d6(n,e){var t;do if(t=n.match(Yhe),t){var r=e[t[2]]||"";n=t[1]+r+t[3]}while(t);return n}function qhe(n,e,t,r,i,o,a){if(r===void 0&&(r=vv),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=Phe(e.layers),E={},P=[],L={},Q={},V={},$={},N,Z=0,se=O.length;Z<se;++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 i_,Pe=new _y,he=[],Qe=function(ye,gt){var yt=ye.getProperties(),st=E[yt.layer];if(st){var ft=r.indexOf(gt);ft==-1&&(ft=Fhe(gt,r));for(var Re=Whe[ye.getGeometry().getType()],He={properties:yt,type:Re},Xe=-1,Jt=function(Yt,qt){var ke=st[Yt],ge=ke.layer,Se=ge.id,ze=ge.layout||eB,it=ge.paint||eB;if(ze.visibility==="none"||"minzoom"in ge&&ft<ge.minzoom||"maxzoom"in ge&&ft>=ge.maxzoom)return"continue";var ot=ge.filter;if(!ot||$he(Se,ot,He,ft,$)){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=Fi(ge,"paint",ge.type+"-opacity",ft,He,V),ge.type+"-pattern"in it){var tr=Fi(ge,"paint",ge.type+"-pattern",ft,He,V);if(tr){var dr=typeof tr=="string"?d6(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 _y}),he[Xe]=gn),zt=gn.getFill(),gn.setZIndex(yn);var Sr=dr+"."+Rt,$r=Q[Sr];if(!$r){var yr=i[dr],bi=FW(yr.width,yr.height),Ee=bi.getContext("2d");Ee.globalAlpha=Rt,Ee.drawImage(s,yr.x,yr.y,yr.width,yr.height,0,0,yr.width,yr.height),$r=Ee.createPattern(bi,"repeat"),Q[Sr]=$r}zt.setColor($r)}}}else St=Om(Fi(ge,"paint",ge.type+"-color",ft,He,V),Rt),ge.type+"-outline-color"in it&&(or=Om(Fi(ge,"paint",ge.type+"-outline-color",ft,He,V),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 _y:void 0,stroke:or?new i_: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(Fi(ge,"paint","line-color",ft,He,V),Fi(ge,"paint","line-opacity",ft,He,V)):void 0;var ee=Fi(ge,"paint","line-width",ft,He,V);St&&ee>0&&(++Xe,gn=he[Xe],(!gn||!gn.getStroke()||gn.getFill()||gn.getText())&&(gn=new X0({stroke:new i_}),he[Xe]=gn),mt=gn.getStroke(),mt.setLineCap(Fi(ge,"layout","line-cap",ft,He,V)),mt.setLineJoin(Fi(ge,"layout","line-join",ft,He,V)),mt.setMiterLimit(Fi(ge,"layout","line-miter-limit",ft,He,V)),mt.setColor(St),mt.setWidth(ee),mt.setLineDash(it["line-dasharray"]?Fi(ge,"paint","line-dasharray",ft,He,V).map(function(oi){return oi*ee}):null),gn.setZIndex(yn))}var H=!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=Fi(ge,"layout","icon-image",ft,He,V);if(fn){Bt=typeof fn=="string"?d6(fn,yt):fn.toString();v Line truncated
`),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=NW();O.font=e;for(var E=O.measureText("M").width,P=E*t,D="",o=[],a=0,s=C.length;a<s;++a){var Q=C[a],V=D+(D?" ":"")+Q;G0(V,r)<=P?D=V:(D&&o.push(D),D=Q)}D&&o.push(D);for(var a=0,s=o.length;a<s&&s>1;++a){var $=o[a];if(G0($,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]+=" "+$,a-=1):o[a]=$+" "+o[a]}}for(var a=0,s=o.length-1;a<s;++a){var se=o[a],pe=o[a+1];if(G0(se,r)>P*.7&&G0(pe,r)<P*.6){var fe=se.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 Whe=RW.isFunction,Ghe=RW.convertFunction,Qhe=UW.isExpression,$he=UW.createPropertyExpression,Yhe={Point:1,MultiPoint:1,LineString:2,MultiLineString:2,Polygon:3,MultiPolygon:3},qhe={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]},Hhe=function(n,e){var t=$he(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={},t5={zoom:0},N2,c6;function Li(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=iW["".concat(e,"_").concat(n.type)][t];d===void 0&&(d=f.default);var C=Qhe(d);if(!C&&Whe(d)&&(d=Ghe(d,f),C=!0),C){var O=Hhe(d,f);s[t]=O.evaluate.bind(O)}else f.type=="color"&&(d=tu.parse(d)),s[t]=function(){return d}}return t5.zoom=r,s[t](t5,i)}function Vhe(n,e,t,r,i){return i||console.warn("No filterCache provided to evaluateFilter()"),n in i||(i[n]=Bhe(e).filter),t5.zoom=r,i[n](t5,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 Zhe=/^([^]*)\{(.*)\}([^]*)$/;function d6(n,e){var t;do if(t=n.match(Zhe),t){var r=e[t[2]]||"";n=t[1]+r+t[3]}while(t);return n}function Xhe(n,e,t,r,i,o,a){if(r===void 0&&(r=vv),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=Uhe(e.layers),E={},P=[],D={},Q={},V={},$={},N,Z=0,se=O.length;Z<se;++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 i_,Pe=new _y,he=[],Qe=function(ye,gt){var yt=ye.getProperties(),st=E[yt.layer];if(st){var ft=r.indexOf(gt);ft==-1&&(ft=jhe(gt,r));for(var Re=Yhe[ye.getGeometry().getType()],He={properties:yt,type:Re},Xe=-1,Jt=function(Yt,qt){var ke=st[Yt],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||Vhe(Se,ot,He,ft,$)){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=Li(ge,"paint",ge.type+"-opacity",ft,He,V),ge.type+"-pattern"in it){var tr=Li(ge,"paint",ge.type+"-pattern",ft,He,V);if(tr){var hr=typeof tr=="string"?d6(tr,yt):tr.toString();if(s&&i&&i[hr]){++Xe,gn=he[Xe],(!gn||!gn.getFill()||gn.getStroke()||gn.getText())&&(gn=new J0({fill:new _y}),he[Xe]=gn),zt=gn.getFill(),gn.setZIndex(yn);var Er=hr+"."+Rt,$r=Q[Er];if(!$r){var vr=i[hr],bi=jW(vr.width,vr.height),Ee=bi.getContext("2d");Ee.globalAlpha=Rt,Ee.drawImage(s,vr.x,vr.y,vr.width,vr.height,0,0,vr.width,vr.height),$r=Ee.createPattern(bi,"repeat"),Q[Er]=$r}zt.setColor($r)}}}else St=Om(Li(ge,"paint",ge.type+"-color",ft,He,V),Rt),ge.type+"-outline-color"in it&&(or=Om(Li(ge,"paint",ge.type+"-outline-color",ft,He,V),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 J0({fill:St?new _y:void 0,stroke:or?new i_: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(Li(ge,"paint","line-color",ft,He,V),Li(ge,"paint","line-opacity",ft,He,V)):void 0;var ee=Li(ge,"paint","line-width",ft,He,V);St&&ee>0&&(++Xe,gn=he[Xe],(!gn||!gn.getStroke()||gn.getFill()||gn.getText())&&(gn=new J0({stroke:new i_}),he[Xe]=gn),mt=gn.getStroke(),mt.setLineCap(Li(ge,"layout","line-cap",ft,He,V)),mt.setLineJoin(Li(ge,"layout","line-join",ft,He,V)),mt.setMiterLimit(Li(ge,"layout","line-miter-limit",ft,He,V)),mt.setColor(St),mt.setWidth(ee),mt.setLineDash(it["line-dasharray"]?Li(ge,"paint","line-dasharray",ft,He,V).map(function(oi){return oi*ee}):null),gn.setZIndex(yn))}var H=!1,Ke=null,At=0,Bt=void 0,kt=void 0,Ft=void 0;if((Re==1||Re==2)&&"icon-image"in ze){var fn=Li(ge,"layout","icon-image",ft,He,V);if(fn){Bt=typeof fn=="string"?d6(fn,yt):fn.toString();v Line truncated
`)return oi.push(`
`,""),oi;if(Re==2){oi.push(ZO(Ga,ho),Dr);return}Ga=JO(Ga,Dr,li,ho).split(`
`,""),oi;if(Re==2){oi.push(XO(Ga,ho),Fr);return}Ga=eB(Ga,Fr,li,ho).split(`
`);for(var Ci=0,Qa=Ga.length;Ci<Qa;++Ci)Ci>0&&oi.push(`
`,""),oi.push(Ga[Ci],Dr);return oi},[]):ar=d6(Wa,yt).trim(),Rt=Fi(ge,"paint","text-opacity",ft,He,V)}if(ar&&Rt&&!Dt){H||(++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 Pue({padding:[2,2,2,2]})),Ke=gn.getText();var Ia=ze["text-transform"];Ia=="uppercase"?ar=Array.isArray(ar)?ar.map(function(ui,na){return na%2?ui:ui.toUpperCase()}):ar.toUpperCase():Ia=="lowercase"&&(ar=Array.isArray(ar)?ar.map(function(ui,na){return na%2?ui:ui.toLowerCase()}):ar.toLowerCase());var Oi=Array.isArray(ar)?ar:Re==2?ZO(ar,ho):JO(ar,hi,li,ho);Ke.setText(Oi),Ke.setFont(hi),Ke.setRotation(u6(Fi(ge,"layout","text-rotate",ft,He,V)));var as=Fi(ge,"layout","text-anchor",ft,He,V),De=H||Re==1?"point":Fi(ge,"layout","symbol-placement",ft,He,V);Ke.setPlacement(De),Ke.setOverflow(De==="point");var vi=Fi(ge,"paint","text-halo-width",ft,He,V),Wn=Fi(ge,"layout","text-offset",ft,He,V),oo=Fi(ge,"paint","text-translate",ft,He,V),_o=0,zi=0;if(De=="point"){var _e="center";as.indexOf("left")!==-1?(_e="left",zi=vi):as.indexOf("right")!==-1&&(_e="right",zi=-vi),Ke.setTextAlign(_e);var Je=Fi(ge,"layout","text-rotation-alignment",ft,He,V);Ke.setRotateWithView(Je=="map")}else Ke.setMaxAngle(u6(Fi(ge,"layout","text-max-angle",ft,He,V))*ar.length/Oi.length),Ke.setTextAlign(),Ke.setRotateWithView(!1);var Zt="middle";as.indexOf("bottom")==0?(Zt="bottom",_o=-vi-.5*(Ri-1)*ro):as.indexOf("top")==0&&(Zt="top",_o=vi+.5*(Ri-1)*ro),Ke.setTextBaseline(Zt),Ke.setOffsetX(Wn[0]*ro+zi+oo[0]),Ke.setOffsetY(Wn[1]*ro+_o+oo[1]),Pe.setColor(Om(Fi(ge,"paint","text-color",ft,He,V),Rt)),Ke.setFill(Pe);var ln=Om(Fi(ge,"paint","text-halo-color",ft,He,V),Rt);if(ln){Te.setColor(ln),vi*=2;var Ft=.5*ro;Te.setWidth(vi<=Ft?vi:Ft),Ke.setStroke(Te)}else Ke.setStroke(void 0);var wn=Fi(ge,"layout","text-padding",ft,He,V),hr=Ke.getPadding();wn!==hr[0]&&(hr[0]=wn,hr[1]=wn,hr[2]=wn,hr[3]=wn),gn.setZIndex(yn)}}},Vt=0,bt=st.length;Vt<bt;++Vt)Jt(Vt);if(Xe>-1)return he.length=Xe+1,he}};return n.setStyle(Qe),n.set("mapbox-source",N),n.set("mapbox-layers",P),Qe}var RW={exports:{}};(function(){var n;RW.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
`,""),oi.push(Ga[Ci],Fr);return oi},[]):ar=d6(Wa,yt).trim(),Rt=Li(ge,"paint","text-opacity",ft,He,V)}if(ar&&Rt&&!Ft){H||(++Xe,gn=he[Xe],(!gn||!gn.getText()||gn.getFill()||gn.getStroke())&&(gn=new J0,he[Xe]=gn),gn.setImage(void 0),gn.setGeometry(void 0)),gn.getText()||gn.setText(Ke||new Uue({padding:[2,2,2,2]})),Ke=gn.getText();var Ia=ze["text-transform"];Ia=="uppercase"?ar=Array.isArray(ar)?ar.map(function(ui,na){return na%2?ui:ui.toUpperCase()}):ar.toUpperCase():Ia=="lowercase"&&(ar=Array.isArray(ar)?ar.map(function(ui,na){return na%2?ui:ui.toLowerCase()}):ar.toLowerCase());var Oi=Array.isArray(ar)?ar:Re==2?XO(ar,ho):eB(ar,hi,li,ho);Ke.setText(Oi),Ke.setFont(hi),Ke.setRotation(u6(Li(ge,"layout","text-rotate",ft,He,V)));var as=Li(ge,"layout","text-anchor",ft,He,V),Fe=H||Re==1?"point":Li(ge,"layout","symbol-placement",ft,He,V);Ke.setPlacement(Fe),Ke.setOverflow(Fe==="point");var vi=Li(ge,"paint","text-halo-width",ft,He,V),Qn=Li(ge,"layout","text-offset",ft,He,V),oo=Li(ge,"paint","text-translate",ft,He,V),_o=0,zi=0;if(Fe=="point"){var _e="center";as.indexOf("left")!==-1?(_e="left",zi=vi):as.indexOf("right")!==-1&&(_e="right",zi=-vi),Ke.setTextAlign(_e);var Je=Li(ge,"layout","text-rotation-alignment",ft,He,V);Ke.setRotateWithView(Je=="map")}else Ke.setMaxAngle(u6(Li(ge,"layout","text-max-angle",ft,He,V))*ar.length/Oi.length),Ke.setTextAlign(),Ke.setRotateWithView(!1);var Zt="middle";as.indexOf("bottom")==0?(Zt="bottom",_o=-vi-.5*(Ri-1)*ro):as.indexOf("top")==0&&(Zt="top",_o=vi+.5*(Ri-1)*ro),Ke.setTextBaseline(Zt),Ke.setOffsetX(Qn[0]*ro+zi+oo[0]),Ke.setOffsetY(Qn[1]*ro+_o+oo[1]),Pe.setColor(Om(Li(ge,"paint","text-color",ft,He,V),Rt)),Ke.setFill(Pe);var ln=Om(Li(ge,"paint","text-halo-color",ft,He,V),Rt);if(ln){Te.setColor(ln),vi*=2;var Lt=.5*ro;Te.setWidth(vi<=Lt?vi:Lt),Ke.setStroke(Te)}else Ke.setStroke(void 0);var wn=Li(ge,"layout","text-padding",ft,He,V),fr=Ke.getPadding();wn!==fr[0]&&(fr[0]=wn,fr[1]=wn,fr[2]=wn,fr[3]=wn),gn.setZIndex(yn)}}},Vt=0,bt=st.length;Vt<bt;++Vt)Jt(Vt);if(Xe>-1)return he.length=Xe+1,he}};return n.setStyle(Qe),n.set("mapbox-source",N),n.set("mapbox-layers",P),Qe}var WW={exports:{}};(function(){var n;WW.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})()})(WW);var dfe=WW.exports;const Yf=Ba(dfe);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 hfe extends Sn.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(wre,{style:e})):(r1().b[0][1]++,G.jsx(xre,{style:e}))}}function wy(){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 wy=function(){return a},a}wy();class ffe extends Sn.Component{render(){return wy().f[0]++,wy().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=>(wy().f[1]++,wy().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(hfe,{style:{height:14,width:14},isCollapsed:this.props.isActive})]})})}}function xb(){return xb=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},xb.apply(null,arguments)}function pfe(n){if(Array.isArray(n))return n}function mfe(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)for(;!(d=(r=o.call(t)).done)&&(s.push(r.value),s.length!==e);d=!0);}catch(C){f=!0,i=C}finally{try{if(!d&&t.returnLine truncated
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function QW(n,e){return pfe(n)||mfe(n,e)||GW(n,e)||gfe()}function Cv(n){"@babel/helpers - typeof";return Cv=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},Cv(n)}function yfe(n,e){if(Cv(n)!="object"||!n)return n;var t=n[Symbol.toPrimitive];if(t!==void 0){var r=t.call(n,e||"default");if(Cv(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(n)}function $W(n){var e=yfe(n,"string");return Cv(e)=="symbol"?e:e+""}function Ea(n,e,t){return(e=$W(e))in n?Object.defineProperty(n,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):n[e]=t,n}function f6(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 Xb(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function vfe(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,$W(r.key),r)}}function Jb(n,e,t){return e&&vfe(n.prototype,e),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 OI(n,e){if(e&&(Cv(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 wb(n){return wb=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},wb(n)}function rB(n,e){return rB=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,r){return t.__proto__=r,t},rB(n,e)}function BI(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&&rB(n,e)}var Cfe=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}},_fe=Cfe;const R1=Ba(_fe);function bfe(n){if(Array.isArray(n))return nB(n)}function xfe(n){if(typeof Symbol<"u"&&n[Symbol.iterator]!=null||n["@@iterator"]!=null)return Array.from(n)}function wfe(){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 Mfe(n){return bfe(n)||xfe(n)||GW(n)||wfe()}var Sfe=function(){function n(){Xb(this,n),Ea(this,"refs",{})}return Jb(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(Efe)}}]),n}();function Efe(n,e){var t=n.node.sortableInfo.index,r=e.node.sortableInfo.index;return t-r}function YW(n,e){return Object.keys(n).reduce(function(t,r){return e.indexOf(r)===-1&&(t[r]=n[r]),t},{})}var Ng={end:["touchend","touchcancel","mouseup"],move:["touchmove","mousemove"],start:["touchstart","mousedown"]},qW=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 G2(n,e){Object.keys(e).forEach(function(t){n.style[t]=e[t]})}function Q2(n,e){n.style["".concat(qW,"Transform")]=e==null?"":"translate3d(".concat(e.x,"px,").concat(e.y,"px,0)")}function p6(n,e){n.style["".concat(qW,"TransitionDuration")]=e==null?"":"".concat(e,"ms")}function s_(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 My(n){return n.substr(-2)==="px"?parseFloat(n):0}function Ofe(n){var e=window.getComputedStyle(n);return{bottom:My(e.marginBottom),left:My(e.marginLeft),right:My(e.marginRight),top:My(e.marginTop)}}function II(n,e){var t=e.displayName||e.name;return t?"".concat(n,"(").concat(t,")"):n}function m6(n,e){var t=n.getBoundingClientRect();return{top:t.top+e.top,left:t.left+e.left}}function zC(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 Bfe(n){return n.touches&&n.touches.length||n.changedTouches&&n.changedTouches.length}function E3(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:E3(n.parentNode,e,r)}}function Ife(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);R1(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 R1(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 kfe(n){var e=n.height,t=n.width,r=n.lockOffset,i=Array.isArray(r)?r:[r,r];R1(i.length===2,"lockOffset prop of SortableContainer should be a single value or an array of exactly two values. Given %s",r);var o=QW(i,2),a=o[0],s=o[1];return[bP({height:e,lockOffset:a,width:t}),bP({height:e,lockOffset:s,width:t})]}function Tfe(n){var e=window.getComputedStyle(n),t=/(auto|scroll)/,r=["overflow","overflowX","overflowY"];return r.find(function(i){return t.test(e[i])})}function HW(n){return n instanceof HTMLElement?Tfe(n)?n:HW(n.parentNode):null}function Kfe(n){var e=window.getComputedStyle(n);return e.display==="grid"?{x:My(e.gridColumnGap),y:My(e.gridRowGap)}:{x:0,y:0}}var G0={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 Pfe(n){var e="input, textarea, select, canvas, [contenteditable]",t=n.querySelectorAll(e),r=n.cloneNode(!0),i=Mfe(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 Lfe(n){var e,t,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{withRef:!1};return t=e=function(i){BI(o,i);function o(){var a,s;Xb(this,o);for(var d=arguments.length,f=new Array(d),C=0;C<d;C++)f[C]=arguments[C];return s=OI(this,(a=wb(o)).call.apply(a,[this].concat(f))),Ea(go(go(s)),"wrappedInstance",Qn.createRef()),s}return Jb(o,[{key:"componentDidMount",value:function(){var s=Q1.findDOMNode(this);s.sortableHandle=!0}},{key:"getWrappedInstance",value:function(){return R1(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})()})(YW);var mfe=YW.exports;const Yf=Ba(mfe);function i1(){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 i1=function(){return a},a}i1();class gfe extends Sn.Component{render(){i1().f[0]++;const e=(i1().s[0]++,{width:20,height:20,...this.props.style});return i1().s[1]++,this.props.isCollapsed?(i1().b[0][0]++,G.jsx(Ore,{style:e})):(i1().b[0][1]++,G.jsx(Ere,{style:e}))}}function wy(){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 wy=function(){return a},a}wy();class yfe extends Sn.Component{render(){return wy().f[0]++,wy().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=>(wy().f[1]++,wy().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(gfe,{style:{height:14,width:14},isCollapsed:this.props.isActive})]})})}}function xb(){return xb=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},xb.apply(null,arguments)}function vfe(n){if(Array.isArray(n))return n}function Cfe(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)for(;!(d=(r=o.call(t)).done)&&(s.push(r.value),s.length!==e);d=!0);}catch(C){f=!0,i=C}finally{try{if(!d&&t.returnLine truncated
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function HW(n,e){return vfe(n)||Cfe(n,e)||qW(n,e)||_fe()}function Cv(n){"@babel/helpers - typeof";return Cv=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},Cv(n)}function bfe(n,e){if(Cv(n)!="object"||!n)return n;var t=n[Symbol.toPrimitive];if(t!==void 0){var r=t.call(n,e||"default");if(Cv(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(n)}function VW(n){var e=bfe(n,"string");return Cv(e)=="symbol"?e:e+""}function Ea(n,e,t){return(e=VW(e))in n?Object.defineProperty(n,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):n[e]=t,n}function f6(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 Xb(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function xfe(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,VW(r.key),r)}}function Jb(n,e,t){return e&&xfe(n.prototype,e),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 BI(n,e){if(e&&(Cv(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 wb(n){return wb=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},wb(n)}function iB(n,e){return iB=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,r){return t.__proto__=r,t},iB(n,e)}function II(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 wfe=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}},Mfe=wfe;const z1=Ba(Mfe);function Sfe(n){if(Array.isArray(n))return rB(n)}function Efe(n){if(typeof Symbol<"u"&&n[Symbol.iterator]!=null||n["@@iterator"]!=null)return Array.from(n)}function Ofe(){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 Bfe(n){return Sfe(n)||Efe(n)||qW(n)||Ofe()}var Ife=function(){function n(){Xb(this,n),Ea(this,"refs",{})}return Jb(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(kfe)}}]),n}();function kfe(n,e){var t=n.node.sortableInfo.index,r=e.node.sortableInfo.index;return t-r}function ZW(n,e){return Object.keys(n).reduce(function(t,r){return e.indexOf(r)===-1&&(t[r]=n[r]),t},{})}var Ng={end:["touchend","touchcancel","mouseup"],move:["touchmove","mousemove"],start:["touchstart","mousedown"]},XW=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 G2(n,e){Object.keys(e).forEach(function(t){n.style[t]=e[t]})}function Q2(n,e){n.style["".concat(XW,"Transform")]=e==null?"":"translate3d(".concat(e.x,"px,").concat(e.y,"px,0)")}function p6(n,e){n.style["".concat(XW,"TransitionDuration")]=e==null?"":"".concat(e,"ms")}function s_(n,e){for(;n;){if(e(n))return n;n=n.parentNode}return null}function xP(n,e,t){return Math.max(n,Math.min(t,e))}function My(n){return n.substr(-2)==="px"?parseFloat(n):0}function Tfe(n){var e=window.getComputedStyle(n);return{bottom:My(e.marginBottom),left:My(e.marginLeft),right:My(e.marginRight),top:My(e.marginTop)}}function kI(n,e){var t=e.displayName||e.name;return t?"".concat(n,"(").concat(t,")"):n}function m6(n,e){var t=n.getBoundingClientRect();return{top:t.top+e.top,left:t.left+e.left}}function zC(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 Kfe(n){return n.touches&&n.touches.length||n.changedTouches&&n.changedTouches.length}function E3(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:E3(n.parentNode,e,r)}}function Pfe(n,e,t){return n<t&&n>e?n-1:n>t&&n<e?n+1:n}function wP(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);z1(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 z1(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 Dfe(n){var e=n.height,t=n.width,r=n.lockOffset,i=Array.isArray(r)?r:[r,r];z1(i.length===2,"lockOffset prop of SortableContainer should be a single value or an array of exactly two values. Given %s",r);var o=HW(i,2),a=o[0],s=o[1];return[wP({height:e,lockOffset:a,width:t}),wP({height:e,lockOffset:s,width:t})]}function Ffe(n){var e=window.getComputedStyle(n),t=/(auto|scroll)/,r=["overflow","overflowX","overflowY"];return r.find(function(i){return t.test(e[i])})}function JW(n){return n instanceof HTMLElement?Ffe(n)?n:JW(n.parentNode):null}function Lfe(n){var e=window.getComputedStyle(n);return e.display==="grid"?{x:My(e.gridColumnGap),y:My(e.gridRowGap)}:{x:0,y:0}}var Q0={TAB:9,ESC:27,SPACE:32,LEFT:37,UP:38,RIGHT:39,DOWN:40},o1={Anchor:"A",Button:"BUTTON",Canvas:"CANVAS",Input:"INPUT",Option:"OPTION",Textarea:"TEXTAREA",Select:"SELECT"};function Ufe(n){var e="input, textarea, select, canvas, [contenteditable]",t=n.querySelectorAll(e),r=n.cloneNode(!0),i=Bfe(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===o1.Canvas&&t[a].width>0&&t[a].height>0){var s=o.getContext("2d");s.drawImage(t[a],0,0)}}),r}function Rfe(n){var e,t,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{withRef:!1};return t=e=function(i){II(o,i);function o(){var a,s;Xb(this,o);for(var d=arguments.length,f=new Array(d),C=0;C<d;C++)f[C]=arguments[C];return s=BI(this,(a=wb(o)).call.apply(a,[this].concat(f))),Ea(go(go(s)),"wrappedInstance",Gn.createRef()),s}return Jb(o,[{key:"componentDidMount",value:function(){var s=f0.findDOMNode(this);s.sortableHandle=!0}},{key:"getWrappedInstance",value:function(){return z1(r.with Line truncated
* tabbable 6.2.0
* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
*/var eG=["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])"],i5=eG.join(","),tG=typeof Element>"u",z1=tG?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,o5=!tG&&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},a5=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},qfe=function(e){var t,r=e==null||(t=e.getAttribute)===null||t===void 0?void 0:t.call(e,"contenteditable");return r===""||r==="true"},nG=function(e,t,r){if(a5(e))return[];var i=Array.prototype.slice.apply(e.querySelectorAll(i5));return t&&z1.call(e,i5)&&i.unshift(e),i=i.filter(r),i},rG=function n(e,t,r){for(var i=[],o=Array.from(e);o.length;){var a=o.shift();if(!a5(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=z1.call(a,i5);C&&r.filter(a)&&(t||!e.includes(a))&&i.push(a);var O=a.shadowRoot||typeof r.getShadowRoot=="function"&&r.getShadowRoot(a),E=!a5(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},iG=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)||qfe(e))&&!iG(e)?0:e.tabIndex},Hfe=function(e,t){var r=Dm(e);return r<0&&t&&!iG(e)?0:r},Vfe=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},oG=function(e){return e.tagName==="INPUT"},Zfe=function(e){return oG(e)&&e.type==="hidden"},Xfe=function(e){var t=e.tagName==="DETAILS"&&Array.prototype.slice.apply(e.children).some(function(r){return r.tagName==="SUMMARY"});return t},Jfe=function(e,t){for(var r=0;r<e.length;r++)if(e[r].checked&&e[r].form===t)return e[r]},epe=function(e){if(!e.name)return!0;var t=e.form||o5(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=Jfe(i,e.form);return!o||o===e},tpe=function(e){return oG(e)&&e.type==="radio"},npe=function(e){return tpe(e)&&!epe(e)},rpe=function(e){var t,r=e&&o5(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=o5(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},ipe=function(e,t){var r=t.displayCheck,i=t.getShadowRoot;if(getComputedStyle(e).visibility==="hidden")return!0;var o=z1.call(e,"details>summary:first-of-type"),a=o?e.parentElement:e;if(z1.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=o5(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(rpe(e))return!e.getClientRects().length;if(r!=="legacy-full")return!0}else if(r==="non-zero-area")return wP(e);return!1},ope=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 z1.call(t,"fieldset[disabled] *")?!0:!i.contains(e)}return!0}t=t.parentElement}return!1},s5=function(e,t){return!(t.disabled||a5(t)||Zfe(t)||ipe(t,e)||Xfe(t)||ope(t))},oB=function(e,t){return!(npe(t)||Dm(t)<0||!s5(e,t))},ape=function(e){var t=parseInt(e.getAttribute("tabindex"),10);return!!(isNaN(t)||t>=0)},spe=function n(e){var t=[],r=[];return e.forEach(function(i,o){var a=!!i.scopeParent,s=a?i.scopeParent:i,d=Hfe(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(Vfe).reduce(function(i,o){return o.isScope?i.push.apply(i,o.content):i.pusLine truncated
*/var iG=["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])"],i5=iG.join(","),oG=typeof Element>"u",j1=oG?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,o5=!oG&&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},a5=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},Xfe=function(e){var t,r=e==null||(t=e.getAttribute)===null||t===void 0?void 0:t.call(e,"contenteditable");return r===""||r==="true"},aG=function(e,t,r){if(a5(e))return[];var i=Array.prototype.slice.apply(e.querySelectorAll(i5));return t&&j1.call(e,i5)&&i.unshift(e),i=i.filter(r),i},sG=function n(e,t,r){for(var i=[],o=Array.from(e);o.length;){var a=o.shift();if(!a5(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=j1.call(a,i5);C&&r.filter(a)&&(t||!e.includes(a))&&i.push(a);var O=a.shadowRoot||typeof r.getShadowRoot=="function"&&r.getShadowRoot(a),E=!a5(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},lG=function(e){return!isNaN(parseInt(e.getAttribute("tabindex"),10))},Fm=function(e){if(!e)throw new Error("No node provided");return e.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||Xfe(e))&&!lG(e)?0:e.tabIndex},Jfe=function(e,t){var r=Fm(e);return r<0&&t&&!lG(e)?0:r},epe=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},uG=function(e){return e.tagName==="INPUT"},tpe=function(e){return uG(e)&&e.type==="hidden"},npe=function(e){var t=e.tagName==="DETAILS"&&Array.prototype.slice.apply(e.children).some(function(r){return r.tagName==="SUMMARY"});return t},rpe=function(e,t){for(var r=0;r<e.length;r++)if(e[r].checked&&e[r].form===t)return e[r]},ipe=function(e){if(!e.name)return!0;var t=e.form||o5(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=rpe(i,e.form);return!o||o===e},ope=function(e){return uG(e)&&e.type==="radio"},ape=function(e){return ope(e)&&!ipe(e)},spe=function(e){var t,r=e&&o5(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=o5(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},SP=function(e){var t=e.getBoundingClientRect(),r=t.width,i=t.height;return r===0&&i===0},lpe=function(e,t){var r=t.displayCheck,i=t.getShadowRoot;if(getComputedStyle(e).visibility==="hidden")return!0;var o=j1.call(e,"details>summary:first-of-type"),a=o?e.parentElement:e;if(j1.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=o5(e);if(d&&!d.shadowRoot&&i(d)===!0)return SP(e);e.assignedSlot?e=e.assignedSlot:!d&&f!==e.ownerDocument?e=f.host:e=d}e=s}if(spe(e))return!e.getClientRects().length;if(r!=="legacy-full")return!0}else if(r==="non-zero-area")return SP(e);return!1},upe=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 j1.call(t,"fieldset[disabled] *")?!0:!i.contains(e)}return!0}t=t.parentElement}return!1},s5=function(e,t){return!(t.disabled||a5(t)||tpe(t)||lpe(t,e)||npe(t)||upe(t))},aB=function(e,t){return!(ape(t)||Fm(t)<0||!s5(e,t))},Ape=function(e){var t=parseInt(e.getAttribute("tabindex"),10);return!!(isNaN(t)||t>=0)},cpe=function n(e){var t=[],r=[];return e.forEach(function(i,o){var a=!!i.scopeParent,s=a?i.scopeParent:i,d=Jfe(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(epe).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){Ape(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 Ape(n,e,t){return e=dpe(e),e in n?Object.defineProperty(n,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):n[e]=t,n}function cpe(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 dpe(n){var e=cpe(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()}},hpe=function(e){return e.tagName&&e.tagName.toLowerCase()==="input"&&typeof e.select=="function"},fpe=function(e){return(e==null?void 0:e.key)==="Escape"||(e==null?void 0:e.key)==="Esc"||(e==null?void 0:e.keyCode)===27},I_=function(e){return(e==null?void 0:e.key)==="Tab"||(e==null?void 0:e.keyCode)===9},ppe=function(e){return I_(e)&&!e.shiftKey},mpe=function(e){return I_(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},jC=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},$2=function(e){return e.target.shadowRoot&&typeof e.composedPath=="function"?e.composedPath()[0]:e.target},gpe=[],ype=function(e,t){var r=(t==null?void 0:t.document)||document,i=(t==null?void 0:t.trapStack)||gpe,o=SP({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0,isKeyForward:ppe,isKeyBackward:mpe},t),a={containers:[],containerGroups:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,delayInitialFocusTimer:void 0,recentNavEvent:void 0},s,d=function(Pe,he,Qe){return Pe&&Pe[he]!==void 0?Pe[he]:o[Qe||he]},f=function(Pe,he){var Qe=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)||(Qe==null?void 0:Qe.includes(gt))||yt.find(function(st){return st===Pe})})},C=function(Pe){var he=o[Pe];if(typeof he=="function"){for(var Qe=arguments.length,ye=new Array(Qe>1?Qe-1:0),gt=1;gt<Qe;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||!O3(Pe,o.tabbableOptions))if(f(r.activeElement)>=0)Pe=r.activeElement;else{var he=a.tabbableGroups[0],Qe=he&&he.firstTabbableNode;Pe=Qe||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=aG(Pe,o.tabbableOptions),Qe=sG(Pe,o.tabbableOptions),ye=he.length>0?he[0]:void 0,gt=he.length>0?he[he.length-1]:void 0,yt=Qe.find(function(Re){return J0(Re)}),st=Qe.slice().reverse().find(function(Re){return J0(Re)}),ft=!!he.find(function(Re){return Dm(Re)>0});return{container:Pe,tabbableNodes:he,focusableNodes:Qe,posTabIndexesFound:ft,firstTabbableNode:ye,lastTabbableNode:gt,firstDomTabbableNode:yt,lastDomTabbableNode:st,nextTabbableNode:function(He){var Xe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,Jt=he.indexOf(He);return Jt<0?Xe?Qe.slice(Qe.indexOf(He)+1).find(function(Vt){return J0(Vt)}):Qe.slice(0,Qe.indexOf(He)).reverse().find(function(Vt){return J0(Vt)}):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 EP(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 OP(n){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{};e%2?EP(Object(t),!0).forEach(function(r){fpe(n,r,t[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(t)):EP(Object(t)).forEach(function(r){Object.defineProperty(n,r,Object.getOwnPropertyDescriptor(t,r))})}return n}function fpe(n,e,t){return e=mpe(e),e in n?Object.defineProperty(n,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):n[e]=t,n}function ppe(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 mpe(n){var e=ppe(n,"string");return typeof e=="symbol"?e:String(e)}var BP={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()}},gpe=function(e){return e.tagName&&e.tagName.toLowerCase()==="input"&&typeof e.select=="function"},ype=function(e){return(e==null?void 0:e.key)==="Escape"||(e==null?void 0:e.key)==="Esc"||(e==null?void 0:e.keyCode)===27},I_=function(e){return(e==null?void 0:e.key)==="Tab"||(e==null?void 0:e.keyCode)===9},vpe=function(e){return I_(e)&&!e.shiftKey},Cpe=function(e){return I_(e)&&e.shiftKey},IP=function(e){return setTimeout(e,0)},kP=function(e,t){var r=-1;return e.every(function(i,o){return t(i)?(r=o,!1):!0}),r},jC=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},$2=function(e){return e.target.shadowRoot&&typeof e.composedPath=="function"?e.composedPath()[0]:e.target},_pe=[],bpe=function(e,t){var r=(t==null?void 0:t.document)||document,i=(t==null?void 0:t.trapStack)||_pe,o=OP({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0,isKeyForward:vpe,isKeyBackward:Cpe},t),a={containers:[],containerGroups:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,delayInitialFocusTimer:void 0,recentNavEvent:void 0},s,d=function(Pe,he,Qe){return Pe&&Pe[he]!==void 0?Pe[he]:o[Qe||he]},f=function(Pe,he){var Qe=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)||(Qe==null?void 0:Qe.includes(gt))||yt.find(function(st){return st===Pe})})},C=function(Pe){var he=o[Pe];if(typeof he=="function"){for(var Qe=arguments.length,ye=new Array(Qe>1?Qe-1:0),gt=1;gt<Qe;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||!O3(Pe,o.tabbableOptions))if(f(r.activeElement)>=0)Pe=r.activeElement;else{var he=a.tabbableGroups[0],Qe=he&&he.firstTabbableNode;Pe=Qe||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=AG(Pe,o.tabbableOptions),Qe=cG(Pe,o.tabbableOptions),ye=he.length>0?he[0]:void 0,gt=he.length>0?he[he.length-1]:void 0,yt=Qe.find(function(Re){return e1(Re)}),st=Qe.slice().reverse().find(function(Re){return e1(Re)}),ft=!!he.find(function(Re){return Fm(Re)>0});return{container:Pe,tabbableNodes:he,focusableNodes:Qe,posTabIndexesFound:ft,firstTabbableNode:ye,lastTabbableNode:gt,firstDomTabbableNode:yt,lastDomTabbableNode:st,nextTabbableNode:function(He){var Xe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,Jt=he.indexOf(He);return Jt<0?Xe?Qe.slice(Qe.indexOf(He)+1).find(function(Vt){return e1(Vt)}):Qe.slice(0,Qe.indexOf(He)).reverse().find(function(Vt){return e1(Vt)}):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:hme,expression:fme,expression_name:pme,light:mme,sky:gme,terrain:yme,paint:vme,paint_fill:Cme,"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:_me,paint_circle:bme,paint_heatmap:xme,paint_symbol:wme,paint_raster:Mme,paint_hillshade:Sme,paint_background:Eme,transition:Ome,"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 d1e(){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 h1e=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),Cs(this,"expanded",void 0),Cs(this,"allowMultipleExpanded",void 0),Cs(this,"allowZeroExpanded",void 0),Cs(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(a1e(t.expanded),[f]):[f]})}),Cs(this,"isItemDisabled",function(f){var C=t.isItemExpanded(f),O=t.expanded.length===1;return!!(C&&!t.allowZeroExpanded&&O)}),Cs(this,"isItemExpanded",function(f){return t.expanded.indexOf(f)!==-1}),Cs(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}}),Cs(this,"getHeadingAttributes",function(){return{role:"heading"}}),Cs(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}}),Cs(this,"getPanelId",function(f){return"accordion__panel-".concat(f)}),Cs(this,"getButtonId",function(f){return"accordion__heading-".concat(f)}),Cs(this,"augment",function(f){return new n(pB({expanded:t.expanded,allowMultipleExpanded:t.allowMultipleExpanded,allowZeroExpanded:t.allowZeroExpanded},f))}),this.expanded=i,this.allowMultipleExpanded=a,this.allowZeroExpanded=d}),DG=Qn.createContext(null),FG=function(n){zI(t,n);var e=jI(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)),Cs(Bh(r),"state",new h1e({expanded:r.props.preExpanded,allowMultipleExpanded:r.props.allowMultipleExpanded,allowZeroExpanded:r.props.allowZeroExpanded})),Cs(Bh(r),"toggleExpanded",function(s){r.setState(function(d){return d.toggleExpanded(s)},function(){r.props.onChange&&r.props.onChange(r.state.expanded)})}),Cs(Bh(r),"isItemDisabled",function(s){return r.state.isItemDisabled(s)}),Cs(Bh(r),"isItemExpanded",function(s){return r.state.isItemExpanded(s)}),Cs(Bh(r),"getPanelAttributes",function(s,d){return r.state.getPanelAttributes(s,d)}),Cs(Bh(r),"getHeadingAttributes",function(){return r.state.getHeadingAttributes()}),Cs(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 Qn.createElement(DG.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}(Qn.PureComponent);Cs(FG,"defaultProps",{allowMultipleExpanded:!1,allowZeroExpanded:!1});var UG=function(n){zI(t,n);var e=jI(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)),Cs(Bh(r),"renderChildren",function(s){return s?r.props.children(s):null}),r}return Nw(t,[{key:"render",value:function(){return Qn.createElement(DG.Consumer,null,this.renderChildren)}}]),t}(Qn.PureComponent),f1e=["className","allowMultipleExpanded","allowZeroExpanded","onChange","preExpanded"],p1e=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,f1e);return Qn.createElement(FG,{preExpanded:s,allowMultipleExpanded:i,allowZeroExpanded:o,onChange:a},Qn.createElement("div",qf({"data-accordion-component":"Accordion",className:r},d)))},yB;(function(n){n.Accordion="Accordion",n.AccordionItem="AccordionItem",n.AccordionItemButton="AccordionItemButton",n.AccordionItemHeading="AccordionItemHeading",n.AccordionItemPanel="AccordionItemPanel"})(yB||(yB={}));var RG=yB,C6=0;function m1e(){var n=C6;return C6=C6+1,"raa-".concat(n)}var g1e=Qn.useId||m1e,y1e=/[\u0009\u000a\u000c\u000d\u0020]/g;function Mb(n){return n===""||y1e.test(n)?(console.error('uuid must be a valid HTML5 id but was given "'.concat(n,'", ASCII whitespaces are forbidden')),!1):!0}var zG=Qn.createContext(null),v1e=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 Qn.createElement(zG.Provider,{value:{uuid:r,expanded:C,disabled:O,toggleExpanded:a,panelAttributes:E,headingAttributes:P,buttonAttributes:L}},t)};return Qn.createElement(UG,nu Line truncated
If no default is provided, the style property's default is used in these circumstances.`}},function_stop:gme,expression:yme,expression_name:vme,light:Cme,sky:_me,terrain:bme,paint:xme,paint_fill:wme,"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:Mme,paint_circle:Sme,paint_heatmap:Eme,paint_symbol:Ome,paint_raster:Bme,paint_hillshade:Ime,paint_background:kme,transition:Tme,"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 m1e(){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 g1e=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),Cs(this,"expanded",void 0),Cs(this,"allowMultipleExpanded",void 0),Cs(this,"allowZeroExpanded",void 0),Cs(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(A1e(t.expanded),[f]):[f]})}),Cs(this,"isItemDisabled",function(f){var C=t.isItemExpanded(f),O=t.expanded.length===1;return!!(C&&!t.allowZeroExpanded&&O)}),Cs(this,"isItemExpanded",function(f){return t.expanded.indexOf(f)!==-1}),Cs(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}}),Cs(this,"getHeadingAttributes",function(){return{role:"heading"}}),Cs(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}}),Cs(this,"getPanelId",function(f){return"accordion__panel-".concat(f)}),Cs(this,"getButtonId",function(f){return"accordion__heading-".concat(f)}),Cs(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}),zG=Gn.createContext(null),jG=function(n){jI(t,n);var e=NI(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)),Cs(Bh(r),"state",new g1e({expanded:r.props.preExpanded,allowMultipleExpanded:r.props.allowMultipleExpanded,allowZeroExpanded:r.props.allowZeroExpanded})),Cs(Bh(r),"toggleExpanded",function(s){r.setState(function(d){return d.toggleExpanded(s)},function(){r.props.onChange&&r.props.onChange(r.state.expanded)})}),Cs(Bh(r),"isItemDisabled",function(s){return r.state.isItemDisabled(s)}),Cs(Bh(r),"isItemExpanded",function(s){return r.state.isItemExpanded(s)}),Cs(Bh(r),"getPanelAttributes",function(s,d){return r.state.getPanelAttributes(s,d)}),Cs(Bh(r),"getHeadingAttributes",function(){return r.state.getHeadingAttributes()}),Cs(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 Gn.createElement(zG.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}(Gn.PureComponent);Cs(jG,"defaultProps",{allowMultipleExpanded:!1,allowZeroExpanded:!1});var NG=function(n){jI(t,n);var e=NI(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)),Cs(Bh(r),"renderChildren",function(s){return s?r.props.children(s):null}),r}return Nw(t,[{key:"render",value:function(){return Gn.createElement(zG.Consumer,null,this.renderChildren)}}]),t}(Gn.PureComponent),y1e=["className","allowMultipleExpanded","allowZeroExpanded","onChange","preExpanded"],v1e=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,y1e);return Gn.createElement(jG,{preExpanded:s,allowMultipleExpanded:i,allowZeroExpanded:o,onChange:a},Gn.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 WG=vB,C6=0;function C1e(){var n=C6;return C6=C6+1,"raa-".concat(n)}var _1e=Gn.useId||C1e,b1e=/[\u0009\u000a\u000c\u000d\u0020]/g;function Mb(n){return n===""||b1e.test(n)?(console.error('uuid must be a valid HTML5 id but was given "'.concat(n,'", ASCII whitespaces are forbidden')),!1):!0}var GG=Gn.createContext(null),x1e=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),D=f.getButtonAttributes(r,o);return Gn.createElement(GG.Provider,{value:{uuid:r,expanded:C,disabled:O,toggleExpanded:a,panelAttributes:E,headingAttributes:P,buttonAttributes:D}},t)};return Gn.createElement(NG,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.”
`,WG=function(n){zI(t,n);var e=jI(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)),Cs(Bh(r),"ref",void 0),Cs(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 Qn.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(I1e)}}]),t}(Qn.PureComponent);Cs(WG,"defaultProps",B1e);var GG=function(e){return Qn.createElement(Gw,null,function(t){var r=t.headingAttributes;return e.id&&Mb(e.id),Qn.createElement(WG,qf({},e,r))})};GG.displayName=RG.AccordionItemHeading;var k1e=["className","region","id"],T1e=function(e){var t=e.className,r=t===void 0?"accordion__panel":t,i=e.region,o=e.id,a=Ww(e,k1e),s=function(f){var C=f.panelAttributes;o&&Mb(o);var O=pB(pB({},C),{},{"aria-labelledby":i?C["aria-labelledby"]:void 0});return Qn.createElement("div",qf({"data-accordion-component":"AccordionItemPanel",className:r},a,O,{role:i?"region":void 0}))};return Qn.createElement(Gw,null,s)},_6={exports:{}},GP;function $w(){return GP||(GP=1,function(n,e){(function(t,r){n.exports=r()})(Vf,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),Q=/Apple Computer/.test(navigator.vendor),V=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(t),$=/PhantomJS/.test(t),N=Q&&(/Mobile\/\w+/.test(t)||navigator.maxTouchPoints>2),Z=/Android/.test(t),se=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 Qe(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 He(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 Vt(A){return bt(A.display.wrapper)}function bt(A){return A.getRootNode?A.getRootNode():A.ownerDocument}function Yt(A){return Jt(A).defaultView}function qt(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=qt(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
`,YG=function(n){jI(t,n);var e=NI(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)),Cs(Bh(r),"ref",void 0),Cs(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 Gn.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(P1e)}}]),t}(Gn.PureComponent);Cs(YG,"defaultProps",K1e);var qG=function(e){return Gn.createElement(Gw,null,function(t){var r=t.headingAttributes;return e.id&&Mb(e.id),Gn.createElement(YG,qf({},e,r))})};qG.displayName=WG.AccordionItemHeading;var D1e=["className","region","id"],F1e=function(e){var t=e.className,r=t===void 0?"accordion__panel":t,i=e.region,o=e.id,a=Ww(e,D1e),s=function(f){var C=f.panelAttributes;o&&Mb(o);var O=mB(mB({},C),{},{"aria-labelledby":i?C["aria-labelledby"]:void 0});return Gn.createElement("div",qf({"data-accordion-component":"AccordionItemPanel",className:r},a,O,{role:i?"region":void 0}))};return Gn.createElement(Gw,null,s)},_6={exports:{}},$P;function $w(){return $P||($P=1,function(n,e){(function(t,r){n.exports=r()})(Vf,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],D=/Opera\//.test(t),Q=/Apple Computer/.test(navigator.vendor),V=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(t),$=/PhantomJS/.test(t),N=Q&&(/Mobile\/\w+/.test(t)||navigator.maxTouchPoints>2),Z=/Android/.test(t),se=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=D&&t.match(/Version\/(\d*\.\d*)/);oe&&(oe=Number(oe[1])),oe&&oe>=15&&(D=!1,C=!0);var Ce=pe&&(O||D&&(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 Qe(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 He(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 Vt(A){return bt(A.display.wrapper)}function bt(A){return A.getRootNode?A.getRootNode():A.ownerDocument}function Yt(A){return Jt(A).defaultView}function qt(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=qt(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},Yr=function(){var A=ye("div");return"oncopy"in A?!0:(A.setAttribute("oncopy","return;"),typeof A.oncopy=="function")}(),Br=null;function Ur(A){if(Br!=null)return Br;var p=Qe(A,ye("span","x")),x=p.getBoundingClientRect(),b=yt(p,0,1).getBoundingClientRect();return Br=Math.abs(x.left-b.left)>1}var ar={},hi={};function Ri(A,p){arguments.length>2&&(p.dependencies=Array.prototype.slice.call(arguments,2)),ar[A]=p}function ro(A,p){hi[A]=p}function ho(A){if(typeof A=="string"&&hi.hasOwnProperty(A))A=hi[A];else if(A&&typeof A.name=="string"&&hi.hasOwnProperty(A.name)){var p=hi[A.name];typeof p=="string"&&(p={name:p}),A=$r(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 li(A,p){p=ho(p);var x=ar[p.name];if(!x)return li(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 Wa(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 Oi(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 as(A,p,x){return A.startState?A.startState(p,x):!0}var vi=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};vi.prototype.eol=function(){return this.pos>=this.string.length},vi.prototype.sol=function(){return this.pos==this.lineStart},vi.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},vi.prototype.next=function(){if(this.pos<this.string.length)return this.string.charAt(this.pos++)},vi.prototype.eat=function(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},vi.prototype.eatWhile=function(A){for(var p=this.pos;this.eat(A););return this.pos>p},vi.prototype.eatSpace=function(){for(var A=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>A},vi.prototype.skipToEnd=function(){this.pos=this.string.length},vi.prototype.skipTo=function(A){var p=this.string.indexOf(A,this.pos);if(p>-1)return this.pos=p,!0},vi.prototype.backUp=function(A){this.pos-=A},vi.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)},vi.prototype.indentation=function(){return ge(this.string,null,this.tabSize)-(this.lineStart?ge(this.string,this.lineStart,this.tabSize):0)},vi.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)}},vi.prototype.current=function(){return this.string.slice(this.start,this.pos)},vi.prototype.hideFirstChars=function(A,p){this.lineStart+=A;try{return p()}finally{this.lineStart-=A}},vi.prototype.lookAhead=function(A){var p=this.lineOracle;return p&&p.lookAhead(A)},vi.prototype.baseToken=function(){var A=this.lineOracle;return A&&A.baseToken(this.pos)};function Wn(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 oo(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 _o(A,p,x){var b=[];return A.iter(p,x,function(B){b.push(B.text)}),b}function zi(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=$e.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?$e.appendChild(ye("span",[cn])):$e.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 zn=ye("span",[$e],bn,U);if(q)for(var lr in q)q.hasOwnProperty(lr)&&lr!="style"&&lr!="class"&&zn.setAttribute(lr,q[lr]);return A.content.appendChild(zn)}A.content.appendChild($e)}}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 aa(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,$e=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>=$e)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 Yu(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 Hd(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,$e="",nt,Ot,Ct=0,Nt,cn,Kn,Hn,bn;;){if(Ct==ue){Nt=cn=Kn=Ot="",bn=null,Hn=null,Ct=1/0;for(var zn=[],lr=void 0,Kr=0;Kr<b.length;++Kr){var _r=b[Kr],pi=_r.marker;if(pi.type=="bookmark"&&_r.from==ue&&pi.widgetNode)zn.push(pi);else if(_r.from<=ue&&(_r.to==null||_r.to>ue||pi.collapsed&&_r.to==ue&&_r.from==ue)){if(_r.to!=null&&_r.to!=ue&&Ct>_r.to&&(Ct=_r.to,cn=""),pi.className&&(Nt+=" "+pi.className),pi.css&&(Ot=(Ot?Ot+";":"")+pi.css),pi.startStyle&&_r.from==ue&&(Kn+=" "+pi.startStyle),pi.endStyle&&_r.to==Ct&&(lr||(lr=[])).push(pi.endStyle,_r.to),pi.title&&((bn||(bn={})).title=pi.title),pi.attributes)for(var Ro in pi.attributes)(bn||(bn={}))[Ro]=pi.attributes[Ro];pi.collapsed&&(!Hn||Ue(Hn.marker,pi)<0)&&(Hn=_r)}else _r.from>ue&&Ct>_r.from&&(Ct=_r.from)}if(lr)for(var Ha=0;Ha<lr.length;Ha+=2)lr[Ha+1]==Ct&&(cn+=" "+lr[Ha]);if(!Hn||Hn.from==ue)for(var Ma=0;Ma<zn.length;++Ma)Yu(p,0,zn[Ma]);if(Hn&&(Hn.from||0)==ue){if(Yu(p,(Hn.to==null?ne+1:Hn.to)-ue,Hn.marker,Hn.from==null),Hn.to==null)return;Hn.to==ue&&(Hn=!1)}}if(ue>=ne)break;for(var Fa=Math.min(ne,Ct);;){if($e){var cs=ue+$e.length;if(!Hn){var ds=cs>Fa?$e.slice(0,Fa-ue):$e;p.addToken(p,ds,nt?nt+Nt:Nt,Kn,ue+ds.length==Ct?cn:"",Ot,bn)}if(cs>=Fa){$e=$e.slice(Fa-ue),ue=Fa;break}ue=cs,Kn=""}$e=B.slice(U,U=x[ve++]),nt=zh(x[ve++],p.cm.options)}}}function qA(A,p,x){this.line=p,this.rest=Ki(p),this.size=this.rest?_e(yn(this.rest))-x+1:1,this.node=this.text=null,this.hidden=Xr(A,p)}function kc(A,p,x){for(var b=[],B,U=p;U<x;U=B){var q=new qA(A.doc,Wn(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 Pi=null;function ko(A,p){var x=Lr(A,p);if(x.length){var b=Array.prototype.slice.call(arguments,2),B;Eu?B=Eu.delayedCallbacks:Pi?B=Pi:(B=Pi=[],setTimeout(v0,0));for(var U=function(ne){B.push(function(){return x[ne].apply(null,b)})},q=0;q<x.length;++q)U(q)}}function v0(){var A=Pi;Pi=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"?tp(A,p):U=="gutter"?HA(A,p,x,b):U=="class"?Qi(A,p):U=="widget"&&To(A,p,b)}p.changes=null}function qu(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 ep(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=qu(p);p.background=b.insertBefore(ye("div",null,x),b.firstChild),A.display.input.setUneditable(p.background)}}function da(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 tp(A,p){var x=p.text.className,b=da(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: "+(Kr??ue-zn)+`px;
height: `+(_r-lr)+"px"))}function nt(zn,lr,Kr){var _r=Wn(B,zn),pi=_r.text.length,Ro,Ha;function Ma(ds,Ol){return an(A,Ft(zn,ds),"div",_r,Ol)}function Fa(ds,Ol,nl){var Is=Ko(A,_r,null,ds),hs=Ol=="ltr"==(nl=="after")?"left":"right",pa=nl=="after"?Is.begin:Is.end-(/\s/.test(_r.text.charAt(Is.end-1))?2:1);return Ma(pa,hs)[hs]}var cs=In(_r,B.direction);return kt(cs,lr||0,Kr??pi,function(ds,Ol,nl,Is){var hs=nl=="ltr",pa=Ma(ds,hs?"left":"right"),ks=Ma(Ol-1,hs?"right":"left"),fh=lr==null&&ds==0,dc=Kr==null&&Ol==pi,Ws=Is==0,hc=!cs||Is==cs.length-1;if(ks.top-pa.top<=3){var Gs=(ve?fh:dc)&&Ws,T0=(ve?dc:fh)&&hc,TA=Gs?ne:(hs?pa:ks).left,Nc=T0?ue:(hs?ks:pa).right;$e(TA,pa.top,Nc-TA,pa.bottom)}else{var Va,rl,ph,fc;hs?(Va=ve&&fh&&Ws?ne:pa.left,rl=ve?ue:Fa(ds,nl,"before"),ph=ve?ne:Fa(Ol,nl,"after"),fc=ve&&dc&&hc?ue:ks.right):(Va=ve?Fa(ds,nl,"before"):ne,rl=!ve&&fh&&Ws?ue:pa.right,ph=!ve&&dc&&hc?ne:ks.left,fc=ve?Fa(Ol,nl,"after"):ue),$e(Va,pa.top,rl-Va,pa.bottom),pa.bottom<ks.top&&$e(ne,pa.bottom,null,ks.top),$e(ph,ks.top,fc-ph,ks.bottom)}(!Ro||Xu(pa,Ro)<0)&&(Ro=pa),Xu(ks,Ro)<0&&(Ro=ks),(!Ha||Xu(pa,Ha)<0)&&(Ha=pa),Xu(ks,Ha)<0&&(Ha=ks)}),{start:Ro,end:Ha}}var Ot=p.from(),Ct=p.to();if(Ot.line==Ct.line)nt(Ot.line,Ot.ch,Ct.ch);else{var Nt=Wn(B,Ot.line),cn=Wn(B,Ct.line),Kn=vr(Nt)==vr(cn),Hn=nt(Ot.line,Ot.ch,Kn?Nt.text.length+1:null).end,bn=nt(Ct.line,Kn?0:null,Ct.ch).start;Kn&&(Hn.top<bn.top-2?($e(Hn.right,Hn.top,null,Hn.bottom),$e(ne,bn.top,bn.left,bn.bottom)):$e(Hn.right,Hn.top,bn.left-Hn.right,Hn.bottom)),Hn.bottom<bn.top&&$e(ne,Hn.bottom,null,bn.top)}x.appendChild(U)}function Ju(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 eA(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()),Ju(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 tA(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,$e=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&&($e=ne.text.firstChild.getBoundingClientRect().right-Ot.left-1)}var Ct=ne.line.height-ve;if((Ct>.005||Ct<-.005)&&(B<b&&(U-=Ct),zi(ne.line,ve),Mo(ne.line),ne.rest))for(var Nt=0;Nt<ne.rest.length;Nt++)Mo(ne.rest[Nt]);if($e>A.display.sizerWidth){var cn=Math.ceil($e/Hu(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 nA(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(Wn(p,ne))+A.wrapper.clientHeight)):Math.min(ue,p.lastLine())>=q&&(U=Je(p,Io(Wn(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&&!$){var q=ye("div","​",null,`position: absolute;
`,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},Yr=function(){var A=ye("div");return"oncopy"in A?!0:(A.setAttribute("oncopy","return;"),typeof A.oncopy=="function")}(),Ir=null;function Ur(A){if(Ir!=null)return Ir;var p=Qe(A,ye("span","x")),x=p.getBoundingClientRect(),b=yt(p,0,1).getBoundingClientRect();return Ir=Math.abs(x.left-b.left)>1}var ar={},hi={};function Ri(A,p){arguments.length>2&&(p.dependencies=Array.prototype.slice.call(arguments,2)),ar[A]=p}function ro(A,p){hi[A]=p}function ho(A){if(typeof A=="string"&&hi.hasOwnProperty(A))A=hi[A];else if(A&&typeof A.name=="string"&&hi.hasOwnProperty(A.name)){var p=hi[A.name];typeof p=="string"&&(p={name:p}),A=$r(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 li(A,p){p=ho(p);var x=ar[p.name];if(!x)return li(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 Wa(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 Oi(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 as(A,p,x){return A.startState?A.startState(p,x):!0}var vi=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};vi.prototype.eol=function(){return this.pos>=this.string.length},vi.prototype.sol=function(){return this.pos==this.lineStart},vi.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},vi.prototype.next=function(){if(this.pos<this.string.length)return this.string.charAt(this.pos++)},vi.prototype.eat=function(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},vi.prototype.eatWhile=function(A){for(var p=this.pos;this.eat(A););return this.pos>p},vi.prototype.eatSpace=function(){for(var A=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>A},vi.prototype.skipToEnd=function(){this.pos=this.string.length},vi.prototype.skipTo=function(A){var p=this.string.indexOf(A,this.pos);if(p>-1)return this.pos=p,!0},vi.prototype.backUp=function(A){this.pos-=A},vi.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)},vi.prototype.indentation=function(){return ge(this.string,null,this.tabSize)-(this.lineStart?ge(this.string,this.lineStart,this.tabSize):0)},vi.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)}},vi.prototype.current=function(){return this.string.slice(this.start,this.pos)},vi.prototype.hideFirstChars=function(A,p){this.lineStart+=A;try{return p()}finally{this.lineStart-=A}},vi.prototype.lookAhead=function(A){var p=this.lineOracle;return p&&p.lookAhead(A)},vi.prototype.baseToken=function(){var A=this.lineOracle;return A&&A.baseToken(this.pos)};function Qn(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 oo(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 _o(A,p,x){var b=[];return A.iter(p,x,function(B){b.push(B.text)}),b}function zi(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=$e.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?$e.appendChild(ye("span",[cn])):$e.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 jn=ye("span",[$e],bn,U);if(q)for(var lr in q)q.hasOwnProperty(lr)&&lr!="style"&&lr!="class"&&jn.setAttribute(lr,q[lr]);return A.content.appendChild(jn)}A.content.appendChild($e)}}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 aa(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,$e=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>=$e)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 Yu(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 Hd(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,$e="",nt,Ot,Ct=0,Nt,cn,Pn,Vn,bn;;){if(Ct==ue){Nt=cn=Pn=Ot="",bn=null,Vn=null,Ct=1/0;for(var jn=[],lr=void 0,Kr=0;Kr<b.length;++Kr){var br=b[Kr],pi=br.marker;if(pi.type=="bookmark"&&br.from==ue&&pi.widgetNode)jn.push(pi);else if(br.from<=ue&&(br.to==null||br.to>ue||pi.collapsed&&br.to==ue&&br.from==ue)){if(br.to!=null&&br.to!=ue&&Ct>br.to&&(Ct=br.to,cn=""),pi.className&&(Nt+=" "+pi.className),pi.css&&(Ot=(Ot?Ot+";":"")+pi.css),pi.startStyle&&br.from==ue&&(Pn+=" "+pi.startStyle),pi.endStyle&&br.to==Ct&&(lr||(lr=[])).push(pi.endStyle,br.to),pi.title&&((bn||(bn={})).title=pi.title),pi.attributes)for(var Ro in pi.attributes)(bn||(bn={}))[Ro]=pi.attributes[Ro];pi.collapsed&&(!Vn||Ue(Vn.marker,pi)<0)&&(Vn=br)}else br.from>ue&&Ct>br.from&&(Ct=br.from)}if(lr)for(var Ha=0;Ha<lr.length;Ha+=2)lr[Ha+1]==Ct&&(cn+=" "+lr[Ha]);if(!Vn||Vn.from==ue)for(var Ma=0;Ma<jn.length;++Ma)Yu(p,0,jn[Ma]);if(Vn&&(Vn.from||0)==ue){if(Yu(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 Ua=Math.min(ne,Ct);;){if($e){var cs=ue+$e.length;if(!Vn){var ds=cs>Ua?$e.slice(0,Ua-ue):$e;p.addToken(p,ds,nt?nt+Nt:Nt,Pn,ue+ds.length==Ct?cn:"",Ot,bn)}if(cs>=Ua){$e=$e.slice(Ua-ue),ue=Ua;break}ue=cs,Pn=""}$e=B.slice(U,U=x[ve++]),nt=zh(x[ve++],p.cm.options)}}}function qA(A,p,x){this.line=p,this.rest=Ki(p),this.size=this.rest?_e(yn(this.rest))-x+1:1,this.node=this.text=null,this.hidden=Xr(A,p)}function kc(A,p,x){for(var b=[],B,U=p;U<x;U=B){var q=new qA(A.doc,Qn(A.doc,U),U);B=U+q.size,b.push(q)}return b}var Ou=null;function Ad(A){Ou?Ou.ops.push(A):A.ownsGroup=Ou={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{Ou=null,p(x)}}var Pi=null;function ko(A,p){var x=Dr(A,p);if(x.length){var b=Array.prototype.slice.call(arguments,2),B;Ou?B=Ou.delayedCallbacks:Pi?B=Pi:(B=Pi=[],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=Pi;Pi=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"?tp(A,p):U=="gutter"?HA(A,p,x,b):U=="class"?Qi(A,p):U=="widget"&&To(A,p,b)}p.changes=null}function qu(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 ep(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=qu(p);p.background=b.insertBefore(ye("div",null,x),b.firstChild),A.display.input.setUneditable(p.background)}}function da(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 tp(A,p){var x=p.text.className,b=da(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: "+(Kr??ue-jn)+`px;
height: `+(br-lr)+"px"))}function nt(jn,lr,Kr){var br=Qn(B,jn),pi=br.text.length,Ro,Ha;function Ma(ds,Ol){return sn(A,Lt(jn,ds),"div",br,Ol)}function Ua(ds,Ol,nl){var Is=Ko(A,br,null,ds),hs=Ol=="ltr"==(nl=="after")?"left":"right",pa=nl=="after"?Is.begin:Is.end-(/\s/.test(br.text.charAt(Is.end-1))?2:1);return Ma(pa,hs)[hs]}var cs=kn(br,B.direction);return kt(cs,lr||0,Kr??pi,function(ds,Ol,nl,Is){var hs=nl=="ltr",pa=Ma(ds,hs?"left":"right"),ks=Ma(Ol-1,hs?"right":"left"),fh=lr==null&&ds==0,dc=Kr==null&&Ol==pi,Ws=Is==0,hc=!cs||Is==cs.length-1;if(ks.top-pa.top<=3){var Gs=(ve?fh:dc)&&Ws,K0=(ve?dc:fh)&&hc,TA=Gs?ne:(hs?pa:ks).left,Nc=K0?ue:(hs?ks:pa).right;$e(TA,pa.top,Nc-TA,pa.bottom)}else{var Va,rl,ph,fc;hs?(Va=ve&&fh&&Ws?ne:pa.left,rl=ve?ue:Ua(ds,nl,"before"),ph=ve?ne:Ua(Ol,nl,"after"),fc=ve&&dc&&hc?ue:ks.right):(Va=ve?Ua(ds,nl,"before"):ne,rl=!ve&&fh&&Ws?ue:pa.right,ph=!ve&&dc&&hc?ne:ks.left,fc=ve?Ua(Ol,nl,"after"):ue),$e(Va,pa.top,rl-Va,pa.bottom),pa.bottom<ks.top&&$e(ne,pa.bottom,null,ks.top),$e(ph,ks.top,fc-ph,ks.bottom)}(!Ro||Xu(pa,Ro)<0)&&(Ro=pa),Xu(ks,Ro)<0&&(Ro=ks),(!Ha||Xu(pa,Ha)<0)&&(Ha=pa),Xu(ks,Ha)<0&&(Ha=ks)}),{start:Ro,end:Ha}}var Ot=p.from(),Ct=p.to();if(Ot.line==Ct.line)nt(Ot.line,Ot.ch,Ct.ch);else{var Nt=Qn(B,Ot.line),cn=Qn(B,Ct.line),Pn=Cr(Nt)==Cr(cn),Vn=nt(Ot.line,Ot.ch,Pn?Nt.text.length+1:null).end,bn=nt(Ct.line,Pn?0:null,Ct.ch).start;Pn&&(Vn.top<bn.top-2?($e(Vn.right,Vn.top,null,Vn.bottom),$e(ne,bn.top,bn.left,bn.bottom)):$e(Vn.right,Vn.top,bn.left-Vn.right,Vn.bottom)),Vn.bottom<bn.top&&$e(ne,Vn.bottom,null,bn.top)}x.appendChild(U)}function Ju(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()||Fc(A),p.cursorDiv.style.visibility=(x=!x)?"":"hidden"},A.options.cursorBlinkRate):A.options.cursorBlinkRate<0&&(p.cursorDiv.style.visibility="hidden")}}function eA(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&&Fc(A))},100)}function eh(A,p){A.state.delayingBlurEvent&&!A.state.draggingText&&(A.state.delayingBlurEvent=!1),A.options.readOnly!="nocursor"&&(A.state.focused||(Fe(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()),Ju(A))}function Fc(A,p){A.state.delayingBlurEvent||(A.state.focused&&(Fe(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 tA(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,$e=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&&($e=ne.text.firstChild.getBoundingClientRect().right-Ot.left-1)}var Ct=ne.line.height-ve;if((Ct>.005||Ct<-.005)&&(B<b&&(U-=Ct),zi(ne.line,ve),Mo(ne.line),ne.rest))for(var Nt=0;Nt<ne.rest.length;Nt++)Mo(ne.rest[Nt]);if($e>A.display.sizerWidth){var cn=Math.ceil($e/Hu(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 nA(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(Qn(p,ne))+A.wrapper.clientHeight)):Math.min(ue,p.lastLine())>=q&&(U=Je(p,Io(Qn(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&&!$){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 ip(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),$e=A.doc.scrollTop,nt=A.doc.scrollLeft;if(ve.scrollTop!=null&&(Fc(A,ve.scrollTop),Math.abs(A.doc.scrollTop-$e)>1&&(q=!0)),ve.scrollLeft!=null&&(fa(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&&fa(A,x.scrollLeft)}function qh(A,p){var x=A.display,b=Ya(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 $e=Math.min(p.top,(ve?ne:p.bottom)-U);$e!=B&&(q.scrollTop=$e)}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 op(A,p){p!=null&&(Ir(A),A.curOp.scrollTop=(A.curOp.scrollTop==null?A.doc.scrollTop:A.curOp.scrollTop)+p)}function lo(A){Ir(A);var p=A.getCursor();A.curOp.scrollToPos={from:p,to:p,margin:A.options.cursorScrollMargin}}function ha(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});ha(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 fa(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:ba(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))})}),Bs.prototype.eachLine=Bs.prototype.iter;var rm=0;function im(A){var p=this;if(x0(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=Dr(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),Es(p.doc,Ye(Dr(p.doc,x),Dr(p.doc,Ve(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 $e=A.dataTransfer.getData("Text");if($e){var nt;if(p.state.draggingText&&!p.state.draggingText.copy&&(nt=p.listSelections()),Ii(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($e,"around","paste"),p.display.input.focus()}}catch{}}}}function b0(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&&!Q)){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 Yi(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)),Qe(A.display.dragCursor,b)}}function x0(A){A.display.dragCursor&&(A.display.lineSpace.removeChild(A.display.dragCursor),A.display.dragCursor=null)}function w0(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||(rg(),rf=!0)}function rg(){var A;Kt(window,"resize",function(){A==null&&(A=setTimeout(function(){A=null,w0(M0)},100))}),Kt(window,"blur",function(){return w0(Dc)})}function M0(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=Wn(A.doc,p),b=vr(x);return b!=x&&(p=_e(b)),fp(!0,A,b,p,1)}function og(A,p){var x=Wn(A.doc,p),b=Tr(x);return b!=x&&(p=_e(b)),fp(!0,A,x,p,-1)}function S0(A,p){var x=Rc(A,p.line),b=Wn(A.doc,x.line),B=In(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=pp[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 Hv(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 mp(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())}),wa(A,B+" "+p,x,b))return!0}return wa(A,p,x,b)}function wa(A,p,x,b){var B=Hv(A,p,b);return B=="multi"&&(A.state.keySeq=p),B=="handled"&&ko(A,"keyHandled",A,p,x),(B=="handled"||B=="multi")&&(rt(x),Ju(A)),!!B}function sf(A,p){var x=_d(p,!0);return x?p.shiftKey&&!A.state.keySeq?mp(A,"Shift-"+x,p,function(b){return wd(A,b,!0)})||mp(A,x,p,function(b){if(typeof b=="string"?/^go[A-Z]/.test(b):b.motion)return wd(A,b)}):mp(A,x,p,function(b){return wd(A,b)}):!1}function ag(A,p,x){return mp(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(Vt(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&&!Yr&&(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)&&tl(p)}}function tl(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 lA(A){A.keyCode==16&&(this.doc.sel.shift=!1),ce(this,A)}function E0(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"&&(ag(p,A,B)||p.display.input.onKeyPress(A))}}}var gp=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+gp>A&&wn(p,this.pos)==0&&x==this.button};var uA,lh;function sg(A,p){var x=+new Date;return lh&&lh.compare(x,A,p)?(uA=lh=null,"triple"):uA&&uA.compare(x,A,p)?(lh=new Md(x,A,p),uA=null,"double"):(uA=new Md(x,A,p),lh=null,"single")}function O0(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=nn(A),U=b?sg(b,B):"single";Yt(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&&el(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,mp(A,dp(U,B),B,function(q){if(typeof q=="string"&&(q=pp[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(qt(eA,A),0):A.curOp.focus=ft(Vt(A));var B=Af(A,x,b),U=A.doc.sel,q;A.options.dragDrop&&Ht&&!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)?Vv(A,b,p,B):sm(A,b,p,B)}function Vv(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 $e=0;$e<Lu.text.length;$e++)ve.push(U.splitLines(Lu.text[$e]))}}else ue.length==b.ranges.length&&A.options.pasteLinesPerSelection&&(ve=tr(ue,function(Hn){return[Hn]}));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(Wn(U,cn.line).text.length,cn.ch+yn(ue).length)):ne&&Lu&&Lu.lineWise&&Lu.text.join(`
height: `+(p.bottom-p.top+Bu(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 ip(A,p,x,b){b==null&&(b=0);var B;!A.options.lineWrapping&&p==x&&(x=p.sticky=="before"?Lt(p.line,p.ch+1,"before"):p,p=p.ch?Lt(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),$e=A.doc.scrollTop,nt=A.doc.scrollLeft;if(ve.scrollTop!=null&&(Lc(A,ve.scrollTop),Math.abs(A.doc.scrollTop-$e)>1&&(q=!0)),ve.scrollLeft!=null&&(fa(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&&Lc(A,x.scrollTop),x.scrollLeft!=null&&fa(A,x.scrollLeft)}function qh(A,p){var x=A.display,b=Ya(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 $e=Math.min(p.top,(ve?ne:p.bottom)-U);$e!=B&&(q.scrollTop=$e)}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 op(A,p){p!=null&&(kr(A),A.curOp.scrollTop=(A.curOp.scrollTop==null?A.doc.scrollTop:A.curOp.scrollTop)+p)}function lo(A){kr(A);var p=A.getCursor();A.curOp.scrollToPos={from:p,to:p,margin:A.options.cursorScrollMargin}}function ha(A,p,x){(p!=null||x!=null)&&kr(A),p!=null&&(A.curOp.scrollLeft=p),x!=null&&(A.curOp.scrollTop=x)}function wr(A,p){kr(A),A.curOp.scrollToPos=p}function kr(A){var p=A.curOp.scrollToPos;if(p){A.curOp.scrollToPos=null;var x=pr(A,p.from),b=pr(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});ha(A,B.scrollLeft,B.scrollTop)}function Lc(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 fa(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+Bu(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:ba(function(A){A!="rtl"&&(A="ltr"),A!=this.direction&&(this.direction=A,this.iter(function(p){return p.order=null}),this.cm&&Hn(this.cm))})}),Bs.prototype.eachLine=Bs.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=Fr(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),Es(p.doc,Ye(Fr(p.doc,x),Fr(p.doc,Ve(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 Pn=cn.result;if(/[\x00-\x08\x0e-\x1f]{2}/.test(Pn)){ne();return}U[Nt]=Pn,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 $e=A.dataTransfer.getData("Text");if($e){var nt;if(p.state.draggingText&&!p.state.draggingText.copy&&(nt=p.listSelections()),Ii(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($e,"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&&!Q)){var x=ye("img",null,null,"position: fixed; left: 0; top: 0;");x.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",D&&(x.width=x.height=1,A.display.wrapper.appendChild(x),x._top=x.offsetTop),p.dataTransfer.setDragImage(x,0,0),D&&x.parentNode.removeChild(x)}}function Yi(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)),Qe(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||(rg(),rf=!0)}function rg(){var A;Kt(window,"resize",function(){A==null&&(A=setTimeout(function(){A=null,M0(S0)},100))}),Kt(window,"blur",function(){return M0(Fc)})}function S0(A){var p=A.display;p.cachedCharWidth=p.cachedTextHeight=p.cachedPaddingH=null,p.scrollbarsClipped=!1,A.setSize()}for(var La={3:"Pause",8:"Backspace",9:"Tab",13:"Enter",16:"Shift",17:"Ctrl",18:"Alt",19:"Pause",20:"CapsLock",27:"Esc",32:"Space",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"Left",38:"Up",39:"Right",40:"Down",44:"PrintScrn",45:"Insert",46:"Delete",59:";",61:"=",91:"Mod",92:"Mod",93:"Mod",106:"*",107:"=",109:"-",110:".",111:"/",145:"ScrollLock",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'",224:"Mod",63232:"Up",63233:"Down",63234:"Left",63235:"Right",63272:"Delete",63273:"Home",63275:"End",63276:"PageUp",63277:"PageDown",63302:"Insert"},pl=0;pl<10;pl++)La[pl+48]=La[pl+96]=String(pl);for(var Cd=65;Cd<=90;Cd++)La[Cd]=String.fromCharCode(Cd);for(var ah=1;ah<=12;ah++)La[ah+111]=La[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=Qn(A.doc,p),b=Cr(x);return b!=x&&(p=_e(b)),fp(!0,A,b,p,1)}function og(A,p){var x=Qn(A.doc,p),b=Tr(x);return b!=x&&(p=_e(b)),fp(!0,A,x,p,-1)}function E0(A,p){var x=Rc(A,p.line),b=Qn(A.doc,x.line),B=kn(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 Lt(x.line,q?0:U,x.sticky)}return x}function wd(A,p,x){if(typeof p=="string"&&(p=pp[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 Hv(A,p,x){for(var b=0;b<A.state.keyMaps.length;b++){var B=Du(p,A.state.keyMaps[b],x,A);if(B)return B}return A.options.extraKeys&&Du(p,A.options.extraKeys,x,A)||Du(p,A.options.keyMap,x,A)}var af=new Se;function mp(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())}),wa(A,B+" "+p,x,b))return!0}return wa(A,p,x,b)}function wa(A,p,x,b){var B=Hv(A,p,b);return B=="multi"&&(A.state.keySeq=p),B=="handled"&&ko(A,"keyHandled",A,p,x),(B=="handled"||B=="multi")&&(rt(x),Ju(A)),!!B}function sf(A,p){var x=_d(p,!0);return x?p.shiftKey&&!A.state.keySeq?mp(A,"Shift-"+x,p,function(b){return wd(A,b,!0)})||mp(A,x,p,function(b){if(typeof b=="string"?/^go[A-Z]/.test(b):b.motion)return wd(A,b)}):mp(A,x,p,function(b){return wd(A,b)}):!1}function ag(A,p,x){return mp(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(Vt(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);D&&(sh=b?x:null,!b&&x==88&&!Yr&&(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)&&tl(p)}}function tl(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 lA(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(D&&x==sh){sh=null,rt(A);return}if(!(D&&(!A.which||A.which<10)&&sf(p,A))){var B=String.fromCharCode(b??x);B!="\b"&&(ag(p,A,B)||p.display.input.onKeyPress(A))}}}var gp=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+gp>A&&wn(p,this.pos)==0&&x==this.button};var uA,lh;function sg(A,p){var x=+new Date;return lh&&lh.compare(x,A,p)?(uA=lh=null,"triple"):uA&&uA.compare(x,A,p)?(lh=new Md(x,A,p),uA=null,"double"):(uA=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=nn(A),U=b?sg(b,B):"single";Yt(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&&el(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,mp(A,dp(U,B),B,function(q){if(typeof q=="string"&&(q=pp[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(qt(eA,A),0):A.curOp.focus=ft(Vt(A));var B=Af(A,x,b),U=A.doc.sel,q;A.options.dragDrop&&Ht&&!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)?Vv(A,b,p,B):sm(A,b,p,B)}function Vv(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%Fu.text.length==0){ve=[];for(var $e=0;$e<Fu.text.length;$e++)ve.push(U.splitLines(Fu.text[$e]))}}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=Lt(Nt.line,Nt.ch-x):A.state.overwrite&&!ne?cn=Lt(cn.line,Math.min(Qn(U,cn.line).text.length,cn.ch+yn(ue).length)):ne&&Fu&&Fu.lineWise&&Fu.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),lo(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()&&As(p,function(){return I0(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(Wn(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(){Yt(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:qr(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++,_a(this)}),removeOverlay:qr(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++,_a(this);return}}}),indentLine:qr(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:qr(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&&lo(this));else{var ue=ne.from(),ve=ne.to(),$e=Math.max(U,ue.line);U=Math.min(this.lastLine(),ve.line-(ve.ch?0:1))+1;for(var nt=$e;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&&Ss(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=Dr(this.doc,b);var B=ss(this,Wn(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 $e=ue?ue.indexOf("overlay "):-1;return $e<0?ue:$e==0?null:ue.slice(0,$e-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 $e=0;$e<q._global.length;$e++){var nt=q._global[$e];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),ia(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=Dr(this.doc,b):U=b?q.from():q.to(),jt(this,U,B||"page")},charCoords:function(b,B){return an(this,Dr(this.doc,b),B||"page")},coordsChar:function(b,B){return b=Et(this,b,B||"page"),so(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,$e(),p.sticky="after");break}if(Kn&&(nt=Kn),x>0&&!$e(!Nt))break}var Hn=Os(A,p,U,q,!0);return hr(U,Hn)&&(Hn.hitSide=!0),Hn}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,Yt(A).innerHeight||B(A).documentElement.clientHeight),ue=Math.max(ne-.5*Ya(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=so(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 $e=hh(),nt=$e.firstChild;zc(nt),b.display.lineSpace.insertBefore($e,b.display.lineSpace.firstChild),nt.value=Lu.text.join(`
`);var Ot=ft(bt(B));Xe(nt),setTimeout(function(){b.display.lineSpace.removeChild($e),Ot.focus(),Ot==B&&x.showPrimarySelection()},50)}}Kt(B,"copy",q),Kt(B,"cut",q)},So.prototype.screenReaderLabelChanged=function(A){A?this.div.setAttribute("aria-label",A):this.div.removeAttribute("aria-label")},So.prototype.prepareSelection=function(){var A=Xn(this.cm,!1);return A.focus=ft(bt(this.div))==this.div,A},So.prototype.showSelection=function(A,p){!A||!this.cm.display.view.length||((A.focus||p)&&this.showPrimarySelection(),this.showMultipleSelections(A))},So.prototype.getSelection=function(){return this.cm.display.wrapper.ownerDocument.getSelection()},So.prototype.showPrimarySelection=function(){var A=this.getSelection(),p=this.cm,x=p.doc.sel.primary(),b=x.from(),B=x.to();if(p.display.viewTo==p.display.viewFrom||b.line>=p.display.viewTo||B.line<p.display.viewFrom){A.removeAllRanges();return}var U=Ns(p,A.anchorNode,A.anchorOffset),q=Ns(p,A.focusNode,A.focusOffset);if(!(U&&!U.bad&&q&&!q.bad&&wn(na(U,q),b)==0&&wn(ui(U,q),B)==0)){var ne=p.display.view,ue=b.line>=p.display.viewFrom&&Sd(p,b)||{node:ne[0].measure.map[2],offset:0},ve=B.line<p.display.viewTo&&Sd(p,B);if(!ve){var $e=ne[ne.length-1].measure,nt=$e.maps?$e.maps[$e.maps.length-1]:$e.map;ve={node:nt[nt.length-1],offset:nt[nt.length-2]-nt[nt.length-3]}}if(!ue||!ve){A.removeAllRanges();return}var Ot=A.rangeCount&&A.getRangeAt(0),Ct;try{Ct=yt(ue.node,ue.offset,ve.offset,ve.node)}catch{}Ct&&(!i&&p.state.focused?(A.collapse(ue.node,ue.offset),Ct.collapsed||(A.removeAllRanges(),A.addRange(Ct))):(A.removeAllRanges(),A.addRange(Ct)),Ot&&A.anchorNode==null?A.addRange(Ot):i&&this.startGracePeriod()),this.rememberSelection()}},So.prototype.startGracePeriod=function(){var A=this;clearTimeout(this.gracePeriod),this.gracePeriod=setTimeout(function(){A.gracePeriod=!1,A.selectionChanged()&&A.cm.operation(function(){return A.cm.curOp.selectionChanged=!0})},20)},So.prototype.showMultipleSelections=function(A){Qe(this.cm.display.cursorDiv,A.cursors),Qe(this.cm.display.selectionDiv,A.selection)},So.prototype.rememberSelection=function(){var A=this.getSelection();this.lastAnchorNode=A.anchorNode,this.lastAnchorOffset=A.anchorOffset,this.lastFocusNode=A.focusNode,this.lastFocusOffset=A.focusOffset},So.prototype.selectionInEditor=function(){var A=this.getSelection();if(!A.rangeCount)return!1;var p=A.getRangeAt(0).commonAncestorContainer;return st(this.div,p)},So.prototype.focus=function(){this.cm.options.readOnly!="nocursor"&&((!this.selectionInEditor()||ft(bt(this.div))!=this.div)&&this.showSelection(this.prepareSelection(),!0),this.div.focus())},So.prototype.blur=function(){this.div.blur()},So.prototype.getField=function(){return this.div},So.prototype.supportsTouch=function(){return!0},So.prototype.receivedFocus=function(){var A=this,p=this;this.selectionInEditor()?setTimeout(function(){return A.pollSelection()},20):As(this.cm,function(){return p.cm.curOp.selectionChanged=!0});function x(){p.cm.state.focused&&(p.pollSelection(),p.polling.set(p.cm.options.pollInterval,x))}this.polling.set(this.cm.options.pollInterval,x)},So.prototype.selectionChanged=function(){var A=this.getSelection();return A.anchorNode!=this.lastAnchorNode||A.anchorOffset!=this.lastAnchorOffset||A.focusNode!=this.lastFocusNode||A.focusOffset!=this.lastFocusOffset},So.prototype.pollSelection=function(){if(!(this.readDOMTimeout!=null||this.gracePeriod||!this.selectionChanged())){var A=this.getSelection(),p=this.cm;if(Z&&E&&this.cm.display.gutterSpecs.length&&Cp(A.anchorNode)){this.cm.triggerOnKeyDown({type:"keydown",keyCode:8,preventDefault:Math.abs}),this.blur(),this.focus();return}if(!this.composing){this.rememberSelection();var x=Ns(p,A.anchorNode,A.anchorOffset),b=Ns(p,A.focusNode,A.focusOffset);x&&b&&As(p,function(){ji(p.doc,Ye(x,b),St),(x.bad||b.bad)&&(p.curOp.selectionChanged=!0)})}}},So.prototype.pollContent=function(){this.readDOMTimeout!=null&&(clearTimeout(this.readDOMTimeout),this.readDOMTimeout=null);var A=this.cm,p=A.display,x=A.doc.sel.primary(),b=x.from(),B=x.to();if(b.ch==0&&b.line>A.firstLine()&&(b=Ft(b.line-1,Wn(A.doc,b.line-1).length)),B.ch==Wn(A.doc,B.line).text.length&&B.line<A.lastLine()&&(B=Ft(B.line+1,0)),b.line<p.viewFrom||B.line>p.viewTo-1)return!1;var U,q,ne;b.line==p.viewFrom||(U=JA(A,b.line))==0?(q=_e(p.view[0].line),ne=p.view[0].node):(q=_e(p.view[U].line),ne=p.view[U-1].node.nextSibling);var ue=JA(A,B.line),ve,$e;if(ue==p.view.length-1?(ve=p.viewTo-1,$e=p.lineDiv.lastChild):(ve=_e(p.view[ue+1].line)-1,$e=p.view[ue+1].node.previousSibling),!ne)return!1;for(var nt=A.doc.splitLines(cg(A,ne,$e,q,ve)),Ot=oo(A.doc,Ft(q,0),Ft(ve,Wn(A.doc,ve).text.length));nt.length>1&&Ot.length>1;)if(yn(nt)==yn(Ot))nt.pop(),Ot.pop(),ve--;else if(nt[0]==Ot[0])nt.shift(),Ot.shift(),q++;else break;for(var Ct=0,Nt=0,cn=nt[0],Kn=Ot[0],Hn=Math.min(cn.length,Kn.length);Ct<Hn&&cn.charCodeAt(Ct)==Kn.charCodeAt(Ct);)++Ct;for(var bn=yn(nt),zn=yn(Ot),lr=Math.min(bn.length-(nt.length==1?Ct:0),zn.length-(Ot.length==1?Ct:0 Line truncated
`),Xe(B))}else return;q.type=="cut"&&(b.state.cutIncoming=+new Date)}}Kt(B,"cut",U),Kt(B,"copy",U),Kt(A.scroller,"paste",function(q){if(!(Ul(A,q)||ce(b,q))){if(!B.dispatchEvent){b.state.pasteIncoming=+new Date,x.focus();return}var ne=new Event("paste");ne.clipboardData=q.clipboardData,B.dispatchEvent(ne)}}),Kt(A.lineSpace,"selectstart",function(q){Ul(A,q)||rt(q)}),Kt(B,"compositionstart",function(){var q=b.getCursor("from");x.composing&&x.composing.range.clear(),x.composing={start:q,range:b.markText(q,b.getCursor("to"),{className:"CodeMirror-composing"})}}),Kt(B,"compositionend",function(){x.composing&&(x.poll(),x.composing.range.clear(),x.composing=null)})},qa.prototype.createField=function(A){this.wrapper=hh(),this.textarea=this.wrapper.firstChild;var p=this.cm.options;zc(this.textarea,p.spellcheck,p.autocorrect,p.autocapitalize)},qa.prototype.screenReaderLabelChanged=function(A){A?this.textarea.setAttribute("aria-label",A):this.textarea.removeAttribute("aria-label")},qa.prototype.prepareSelection=function(){var A=this.cm,p=A.display,x=A.doc,b=Xn(A);if(A.options.moveInputWithCursor){var B=jt(A,x.sel.primary().head,"div"),U=p.wrapper.getBoundingClientRect(),q=p.lineDiv.getBoundingClientRect();b.teTop=Math.max(0,Math.min(p.wrapper.clientHeight-10,B.top+q.top-U.top)),b.teLeft=Math.max(0,Math.min(p.wrapper.clientWidth-10,B.left+q.left-U.left))}return b},qa.prototype.showSelection=function(A){var p=this.cm,x=p.display;Qe(x.cursorDiv,A.cursors),Qe(x.selectionDiv,A.selection),A.teTop!=null&&(this.wrapper.style.top=A.teTop+"px",this.wrapper.style.left=A.teLeft+"px")},qa.prototype.reset=function(A){if(!(this.contextMenuPending||this.composing&&A)){var p=this.cm;if(this.resetting=!0,p.somethingSelected()){this.prevInput="";var x=p.getSelection();this.textarea.value=x,p.state.focused&&Xe(this.textarea),d&&f>=9&&(this.hasSelection=x)}else A||(this.prevInput=this.textarea.value="",d&&f>=9&&(this.hasSelection=null));this.resetting=!1}},qa.prototype.getField=function(){return this.textarea},qa.prototype.supportsTouch=function(){return!1},qa.prototype.focus=function(){if(this.cm.options.readOnly!="nocursor"&&(!se||ft(bt(this.textarea))!=this.textarea))try{this.textarea.focus()}catch{}},qa.prototype.blur=function(){this.textarea.blur()},qa.prototype.resetPosition=function(){this.wrapper.style.top=this.wrapper.style.left=0},qa.prototype.receivedFocus=function(){this.slowPoll()},qa.prototype.slowPoll=function(){var A=this;this.pollingFast||this.polling.set(this.cm.options.pollInterval,function(){A.poll(),A.cm.state.focused&&A.slowPoll()})},qa.prototype.fastPoll=function(){var A=!1,p=this;p.pollingFast=!0;function x(){var b=p.poll();!b&&!A?(A=!0,p.polling.set(60,x)):(p.pollingFast=!1,p.slowPoll())}p.polling.set(20,x)},qa.prototype.poll=function(){var A=this,p=this.cm,x=this.textarea,b=this.prevInput;if(this.contextMenuPending||this.resetting||!p.state.focused||cr(x)&&!b&&!this.composing||p.isReadOnly()||p.options.disableInput||p.state.keySeq)return!1;var B=x.value;if(B==b&&!p.somethingSelected())return!1;if(d&&f>=9&&this.hasSelection===B||pe&&/[\uf700-\uf7ff]/.test(B))return p.display.input.reset(),!1;if(p.doc.sel==p.display.selForContextMenu){var U=B.charCodeAt(0);if(U==8203&&!b&&(b="​"),U==8666)return this.reset(),this.cm.execCommand("undo")}for(var q=0,ne=Math.min(b.length,B.length);q<ne&&b.charCodeAt(q)==B.charCodeAt(q);)++q;return As(p,function(){I0(p,B.slice(q),b.length-q,null,A.composing?"*compose":null),B.length>1e3||B.indexOf(`
`)>-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},qa.prototype.ensurePolled=function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},qa.prototype.onKeyPress=function(){d&&f>=9&&(this.hasSelection=null),this.fastPoll()},qa.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,ji)(x.doc,Ye(U),St);var ue=B.style.cssText,ve=p.wrapper.style.cssText,$e=p.wrapper.offsetParent.getBoundingClientRect();p.wrapper.style.cssText="position: static",B.style.cssText=`position: absolute; width: 30px; height: 30px;
`)&&(Nt=cn=Lt(Nt.line,0)));var Pn={from:Nt,to:cn,text:ve?ve[Ot%ve.length]:ue,origin:B||(ne?"paste":A.state.cutIncoming>q?"cut":"+input")};cu(A.doc,Pn),ko(A,"inputRead",A,Pn)}p&&!ne&&hm(A,p),lo(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()&&As(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(Qn(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:Lt(B,0),head:Lt(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(){Yt(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),Fe(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:qr(function(b,B){var U=b.token?b:A.getMode(this.options,b);if(U.startState)throw new Error("Overlays may not be stateful.");hr(this.state.overlays,{mode:U,modeSpec:b,opaque:B&&B.opaque,priority:B&&B.priority||0},function(q){return q.priority}),this.state.modeGen++,_a(this)}),removeOverlay:qr(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++,_a(this);return}}}),indentLine:qr(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:qr(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&&lo(this));else{var ue=ne.from(),ve=ne.to(),$e=Math.max(U,ue.line);U=Math.min(this.lastLine(),ve.line-(ve.ch?0:1))+1;for(var nt=$e;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&&Ss(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,Lt(b),B,!0)},getTokenTypeAt:function(b){b=Fr(this.doc,b);var B=ss(this,Qn(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 $e=ue?ue.indexOf("overlay "):-1;return $e<0?ue:$e==0?null:ue.slice(0,$e-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 $e=0;$e<q._global.length;$e++){var nt=q._global[$e];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=Pa(U,b??U.first+U.size-1),ia(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=Fr(this.doc,b):U=b?q.from():q.to(),jt(this,U,B||"page")},charCoords:function(b,B){return sn(this,Fr(this.doc,b),B||"page")},coordsChar:function(b,B){return b=Et(this,b,B||"page"),so(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
`,Pn=Ee(cn,Ct)?"w":Ot&&cn==`
`?"n":!Ot||/\s/.test(cn)?null:"p";if(Ot&&!Nt&&!Pn&&(Pn="s"),nt&&nt!=Pn){x<0&&(x=1,$e(),p.sticky="after");break}if(Pn&&(nt=Pn),x>0&&!$e(!Nt))break}var Vn=Os(A,p,U,q,!0);return fr(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,Yt(A).innerHeight||B(A).documentElement.clientHeight),ue=Math.max(ne-.5*Ya(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=so(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=Fu.text.join(`
`);if(ne.clipboardData.setData("Text",ve),ne.clipboardData.getData("Text")==ve){ne.preventDefault();return}}var $e=hh(),nt=$e.firstChild;zc(nt),b.display.lineSpace.insertBefore($e,b.display.lineSpace.firstChild),nt.value=Fu.text.join(`
`);var Ot=ft(bt(B));Xe(nt),setTimeout(function(){b.display.lineSpace.removeChild($e),Ot.focus(),Ot==B&&x.showPrimarySelection()},50)}}Kt(B,"copy",q),Kt(B,"cut",q)},So.prototype.screenReaderLabelChanged=function(A){A?this.div.setAttribute("aria-label",A):this.div.removeAttribute("aria-label")},So.prototype.prepareSelection=function(){var A=Jn(this.cm,!1);return A.focus=ft(bt(this.div))==this.div,A},So.prototype.showSelection=function(A,p){!A||!this.cm.display.view.length||((A.focus||p)&&this.showPrimarySelection(),this.showMultipleSelections(A))},So.prototype.getSelection=function(){return this.cm.display.wrapper.ownerDocument.getSelection()},So.prototype.showPrimarySelection=function(){var A=this.getSelection(),p=this.cm,x=p.doc.sel.primary(),b=x.from(),B=x.to();if(p.display.viewTo==p.display.viewFrom||b.line>=p.display.viewTo||B.line<p.display.viewFrom){A.removeAllRanges();return}var U=Ns(p,A.anchorNode,A.anchorOffset),q=Ns(p,A.focusNode,A.focusOffset);if(!(U&&!U.bad&&q&&!q.bad&&wn(na(U,q),b)==0&&wn(ui(U,q),B)==0)){var ne=p.display.view,ue=b.line>=p.display.viewFrom&&Sd(p,b)||{node:ne[0].measure.map[2],offset:0},ve=B.line<p.display.viewTo&&Sd(p,B);if(!ve){var $e=ne[ne.length-1].measure,nt=$e.maps?$e.maps[$e.maps.length-1]:$e.map;ve={node:nt[nt.length-1],offset:nt[nt.length-2]-nt[nt.length-3]}}if(!ue||!ve){A.removeAllRanges();return}var Ot=A.rangeCount&&A.getRangeAt(0),Ct;try{Ct=yt(ue.node,ue.offset,ve.offset,ve.node)}catch{}Ct&&(!i&&p.state.focused?(A.collapse(ue.node,ue.offset),Ct.collapsed||(A.removeAllRanges(),A.addRange(Ct))):(A.removeAllRanges(),A.addRange(Ct)),Ot&&A.anchorNode==null?A.addRange(Ot):i&&this.startGracePeriod()),this.rememberSelection()}},So.prototype.startGracePeriod=function(){var A=this;clearTimeout(this.gracePeriod),this.gracePeriod=setTimeout(function(){A.gracePeriod=!1,A.selectionChanged()&&A.cm.operation(function(){return A.cm.curOp.selectionChanged=!0})},20)},So.prototype.showMultipleSelections=function(A){Qe(this.cm.display.cursorDiv,A.cursors),Qe(this.cm.display.selectionDiv,A.selection)},So.prototype.rememberSelection=function(){var A=this.getSelection();this.lastAnchorNode=A.anchorNode,this.lastAnchorOffset=A.anchorOffset,this.lastFocusNode=A.focusNode,this.lastFocusOffset=A.focusOffset},So.prototype.selectionInEditor=function(){var A=this.getSelection();if(!A.rangeCount)return!1;var p=A.getRangeAt(0).commonAncestorContainer;return st(this.div,p)},So.prototype.focus=function(){this.cm.options.readOnly!="nocursor"&&((!this.selectionInEditor()||ft(bt(this.div))!=this.div)&&this.showSelection(this.prepareSelection(),!0),this.div.focus())},So.prototype.blur=function(){this.div.blur()},So.prototype.getField=function(){return this.div},So.prototype.supportsTouch=function(){return!0},So.prototype.receivedFocus=function(){var A=this,p=this;this.selectionInEditor()?setTimeout(function(){return A.pollSelection()},20):As(this.cm,function(){return p.cm.curOp.selectionChanged=!0});function x(){p.cm.state.focused&&(p.pollSelection(),p.polling.set(p.cm.options.pollInterval,x))}this.polling.set(this.cm.options.pollInterval,x)},So.prototype.selectionChanged=function(){var A=this.getSelection();return A.anchorNode!=this.lastAnchorNode||A.anchorOffset!=this.lastAnchorOffset||A.focusNode!=this.lastFocusNode||A.focusOffset!=this.lastFocusOffset},So.prototype.pollSelection=function(){if(!(this.readDOMTimeout!=null||this.gracePeriod||!this.selectionChanged())){var A=this.getSelection(),p=this.cm;if(Z&&E&&this.cm.display.gutterSpecs.length&&Cp(A.anchorNode)){this.cm.triggerOnKeyDown({type:"keydown",keyCode:8,preventDefault:Math.abs}),this.blur(),this.focus();return}if(!this.composing){this.rememberSelection();var x=Ns(p,A.anchorNode,A.anchorOffset),b=Ns(p,A.focusNode,A.focusOffset);x&&b&&As(p,function(){ji(p.doc,Ye(x,b),St),(x.bad||b.bad)&&(p.curOp.selectionChanged=!0)})}}},So.prototype.pollContent=function(){this.readDOMTimeout!=null&&(clearTimeout(this.readDOMTimeout),this.readDOMTimeout=null);var A=this.cm,p=A.display,x=A.doc.sel.primary(),b=x.from(),B=x.to();if(b.ch==0&&b.line>A.firstLine()&&(b=Lt(b.line-1,Qn(A.doc,b.line-1).length)),B.ch==Qn(A.doc,B.line).text.length&&B.line<A.lastLine()&&(B=Lt(B.line+1,0)),b.line<p.viewFrom||B.line>p.viewTo-1)return!1;var U,q,ne;b.line==p.viewFrom||(U=JA(A,b.line))==0?(q=_e(p.view[0].line),ne=p.view[0].node):(q=_e(p.view[U].line),ne=p.view[U-1].node.nextSibling);var ue=JA(A,B.line),ve,$e;if(ue==p.view.length-1?(ve=p.viewTo-1,$e=p.lineDiv.lastChild):(ve=_e(p.view[ue+1].line)-1,$e=p.view[ue+1].node.previousSibling),!ne)return!1;for(var nt=A.doc.splitLines(cg(A,ne,$e,q,ve)),Ot=oo(A.doc,Lt(q,0),Lt(ve,Qn(A.doc,ve).text.length));nt.length>1&&Ot.length>1;)if(yn(nt)==yn(Ot))nt.pop(),Ot.pop(),ve--;else if(nt[0]==Ot[0])nt.shift(),Ot.shift(),q++;else break;for(var Ct=0,Nt=0,cn=nt[0],Pn=Ot[0],Vn=Math.min(cn.length,Pn.length);Ct<Vn&&cn.charCodeAt(Ct)==Pn.charCodeAt(Ct);)++Ct;for(var bn=yn(nt),jn=yn(Ot),lr=Math.min(bn.length-(nt.length==1?Ct:0),jn.length-(Ot.length==1?Ct:0 Line truncated
`),Xe(B))}else return;q.type=="cut"&&(b.state.cutIncoming=+new Date)}}Kt(B,"cut",U),Kt(B,"copy",U),Kt(A.scroller,"paste",function(q){if(!(Ul(A,q)||ce(b,q))){if(!B.dispatchEvent){b.state.pasteIncoming=+new Date,x.focus();return}var ne=new Event("paste");ne.clipboardData=q.clipboardData,B.dispatchEvent(ne)}}),Kt(A.lineSpace,"selectstart",function(q){Ul(A,q)||rt(q)}),Kt(B,"compositionstart",function(){var q=b.getCursor("from");x.composing&&x.composing.range.clear(),x.composing={start:q,range:b.markText(q,b.getCursor("to"),{className:"CodeMirror-composing"})}}),Kt(B,"compositionend",function(){x.composing&&(x.poll(),x.composing.range.clear(),x.composing=null)})},qa.prototype.createField=function(A){this.wrapper=hh(),this.textarea=this.wrapper.firstChild;var p=this.cm.options;zc(this.textarea,p.spellcheck,p.autocorrect,p.autocapitalize)},qa.prototype.screenReaderLabelChanged=function(A){A?this.textarea.setAttribute("aria-label",A):this.textarea.removeAttribute("aria-label")},qa.prototype.prepareSelection=function(){var A=this.cm,p=A.display,x=A.doc,b=Jn(A);if(A.options.moveInputWithCursor){var B=jt(A,x.sel.primary().head,"div"),U=p.wrapper.getBoundingClientRect(),q=p.lineDiv.getBoundingClientRect();b.teTop=Math.max(0,Math.min(p.wrapper.clientHeight-10,B.top+q.top-U.top)),b.teLeft=Math.max(0,Math.min(p.wrapper.clientWidth-10,B.left+q.left-U.left))}return b},qa.prototype.showSelection=function(A){var p=this.cm,x=p.display;Qe(x.cursorDiv,A.cursors),Qe(x.selectionDiv,A.selection),A.teTop!=null&&(this.wrapper.style.top=A.teTop+"px",this.wrapper.style.left=A.teLeft+"px")},qa.prototype.reset=function(A){if(!(this.contextMenuPending||this.composing&&A)){var p=this.cm;if(this.resetting=!0,p.somethingSelected()){this.prevInput="";var x=p.getSelection();this.textarea.value=x,p.state.focused&&Xe(this.textarea),d&&f>=9&&(this.hasSelection=x)}else A||(this.prevInput=this.textarea.value="",d&&f>=9&&(this.hasSelection=null));this.resetting=!1}},qa.prototype.getField=function(){return this.textarea},qa.prototype.supportsTouch=function(){return!1},qa.prototype.focus=function(){if(this.cm.options.readOnly!="nocursor"&&(!se||ft(bt(this.textarea))!=this.textarea))try{this.textarea.focus()}catch{}},qa.prototype.blur=function(){this.textarea.blur()},qa.prototype.resetPosition=function(){this.wrapper.style.top=this.wrapper.style.left=0},qa.prototype.receivedFocus=function(){this.slowPoll()},qa.prototype.slowPoll=function(){var A=this;this.pollingFast||this.polling.set(this.cm.options.pollInterval,function(){A.poll(),A.cm.state.focused&&A.slowPoll()})},qa.prototype.fastPoll=function(){var A=!1,p=this;p.pollingFast=!0;function x(){var b=p.poll();!b&&!A?(A=!0,p.polling.set(60,x)):(p.pollingFast=!1,p.slowPoll())}p.polling.set(20,x)},qa.prototype.poll=function(){var A=this,p=this.cm,x=this.textarea,b=this.prevInput;if(this.contextMenuPending||this.resetting||!p.state.focused||cr(x)&&!b&&!this.composing||p.isReadOnly()||p.options.disableInput||p.state.keySeq)return!1;var B=x.value;if(B==b&&!p.somethingSelected())return!1;if(d&&f>=9&&this.hasSelection===B||pe&&/[\uf700-\uf7ff]/.test(B))return p.display.input.reset(),!1;if(p.doc.sel==p.display.selForContextMenu){var U=B.charCodeAt(0);if(U==8203&&!b&&(b="​"),U==8666)return this.reset(),this.cm.execCommand("undo")}for(var q=0,ne=Math.min(b.length,B.length);q<ne&&b.charCodeAt(q)==B.charCodeAt(q);)++q;return As(p,function(){k0(p,B.slice(q),b.length-q,null,A.composing?"*compose":null),B.length>1e3||B.indexOf(`
`)>-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},qa.prototype.ensurePolled=function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},qa.prototype.onKeyPress=function(){d&&f>=9&&(this.hasSelection=null),this.fastPoll()},qa.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||D)return;var ne=x.options.resetSelectionOnContextMenu;ne&&x.doc.sel.contains(U)==-1&&$i(x,ji)(x.doc,Ye(U),St);var ue=B.style.cssText,ve=p.wrapper.style.cssText,$e=p.wrapper.offsetParent.getBoundingClientRect();p.wrapper.style.cssText="position: static",B.style.cssText=`position: absolute; width: 30px; height: 30px;
top: `+(A.clientY-$e.top-5)+"px; left: "+(A.clientX-$e.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)},qa.prototype.readOnlyChanged=function(A){A||this.reset(),this.textarea.disabled=A=="nocursor",this.textarea.readOnly=!!A},qa.prototype.setUneditable=function(){},qa.prototype.needsContentAttribute=!1;function dg(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=bo(function(ue){return A.parentNode.insertBefore(ue,A.nextSibling)},p);return ne}function Xv(A){A.off=rr,A.on=Kt,A.wheelEventPixels=ie,A.Doc=Bs,A.splitLines=Or,A.countColumn=ge,A.findColumn=mt,A.isWordChar=bi,A.Pass=ot,A.signal=De,A.Line=Fl,A.changeEnd=Ve,A.scrollbarModel=Yo,A.Pos=Ft,A.cmpPos=wn,A.modes=ar,A.mimeModes=hi,A.resolveMode=ho,A.getMode=li,A.modeExtensions=fo,A.extendMode=Wa,A.copyState=Ia,A.startState=as,A.innerMode=Oi,A.commands=pp,A.keyMap=kA,A.keyName=_d,A.isModifierKey=am,A.lookupKey=Pu,A.normalizeKeyMap=Ku,A.StringStream=vi,A.SharedTextMarker=ih,A.TextMarker=du,A.LineWidget=sA,A.e_preventDefault=rt,A.e_stopPropagation=lt,A.e_stop=et,A.addClass=Re,A.contains=st,A.rmClass=Pe,A.keyNames=Da}B0(bo),ff(bo);var k0="iter insert remove copy getEditor constructor".split(" ");for(var mf in Bs.prototype)Bs.prototype.hasOwnProperty(mf)&&ze(k0,mf)<0&&(bo.prototype[mf]=function(A){return function(){return A.apply(this.doc,arguments)}}(Bs.prototype[mf]));return je(Bs),bo.inputStyles={textarea:qa,contenteditable:So},bo.defineMode=function(A){!bo.defaults.mode&&A!="null"&&(bo.defaults.mode=A),Ri.apply(this,arguments)},bo.defineMIME=ro,bo.defineMode("null",function(){return{token:function(A){return A.skipToEnd()}}}),bo.defineMIME("text/plain","null"),bo.defineExtension=function(A,p){bo.prototype[A]=p},bo.defineDocExtension=function(A,p){Bs.prototype[A]=p},bo.fromTextArea=dg,Xv(bo),bo.version="5.65.16",bo})}(_6)),_6.exports}var K1e=$w();const qc=Ba(K1e);(function(n,e){(function(t){t($w())})(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(oi){return{type:oi,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 Q(_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 V,$;function N(_e,Je,Zt){return V=_e,$=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(),Pn="​"+(cn?B.value:"");B.value="⇚",B.value=Pn,p.prevInput=cn?"":"​",B.selectionStart=1,B.selectionEnd=Pn.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,Pn=function(){b.selForContextMenu==x.doc.sel&&B.selectionStart==0&&B.selectionEnd>0&&p.prevInput=="​"?$i(x,uc)(x):cn++<10?b.detectingSelectAll=setTimeout(Pn,500):(b.selForContextMenu=null,b.input.reset())};b.detectingSelectAll=setTimeout(Pn,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)},qa.prototype.readOnlyChanged=function(A){A||this.reset(),this.textarea.disabled=A=="nocursor",this.textarea.readOnly=!!A},qa.prototype.setUneditable=function(){},qa.prototype.needsContentAttribute=!1;function dg(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=bo(function(ue){return A.parentNode.insertBefore(ue,A.nextSibling)},p);return ne}function Xv(A){A.off=rr,A.on=Kt,A.wheelEventPixels=ie,A.Doc=Bs,A.splitLines=Br,A.countColumn=ge,A.findColumn=mt,A.isWordChar=bi,A.Pass=ot,A.signal=Fe,A.Line=Ll,A.changeEnd=Ve,A.scrollbarModel=Yo,A.Pos=Lt,A.cmpPos=wn,A.modes=ar,A.mimeModes=hi,A.resolveMode=ho,A.getMode=li,A.modeExtensions=fo,A.extendMode=Wa,A.copyState=Ia,A.startState=as,A.innerMode=Oi,A.commands=pp,A.keyMap=kA,A.keyName=_d,A.isModifierKey=am,A.lookupKey=Du,A.normalizeKeyMap=Pu,A.StringStream=vi,A.SharedTextMarker=ih,A.TextMarker=du,A.LineWidget=sA,A.e_preventDefault=rt,A.e_stopPropagation=lt,A.e_stop=et,A.addClass=Re,A.contains=st,A.rmClass=Pe,A.keyNames=La}I0(bo),ff(bo);var T0="iter insert remove copy getEditor constructor".split(" ");for(var mf in Bs.prototype)Bs.prototype.hasOwnProperty(mf)&&ze(T0,mf)<0&&(bo.prototype[mf]=function(A){return function(){return A.apply(this.doc,arguments)}}(Bs.prototype[mf]));return je(Bs),bo.inputStyles={textarea:qa,contenteditable:So},bo.defineMode=function(A){!bo.defaults.mode&&A!="null"&&(bo.defaults.mode=A),Ri.apply(this,arguments)},bo.defineMIME=ro,bo.defineMode("null",function(){return{token:function(A){return A.skipToEnd()}}}),bo.defineMIME("text/plain","null"),bo.defineExtension=function(A,p){bo.prototype[A]=p},bo.defineDocExtension=function(A,p){Bs.prototype[A]=p},bo.fromTextArea=dg,Xv(bo),bo.version="5.65.16",bo})}(_6)),_6.exports}var L1e=$w();const qc=Ba(L1e);(function(n,e){(function(t){t($w())})(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(oi){return{type:oi,style:"keyword"}}var Je=_e("keyword a"),Zt=_e("keyword b"),ln=_e("keyword c"),Lt=_e("keyword d"),wn=_e("operator"),fr={type:"atom",style:"atom"};return{if:_e("if"),while:Je,with:Je,else:Zt,do:Zt,try:Zt,finally:Zt,return:Lt,break:Lt,continue:Lt,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:fr,false:fr,null:fr,undefined:fr,NaN:fr,Infinity:fr,this:_e("this"),class:_e("class"),super:_e("atom"),yield:ln,export:_e("export"),import:_e("import"),extends:ln,await:ln}}(),P=/[+\-*&%=<>!?|~^@]/,D=/^@(context|id|value|language|type|container|list|set|reverse|index|base|vocab|graph)"/;function Q(_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 V,$;function N(_e,Je,Zt){return V=_e,$=Zt,Je}function Z(_e,Je){var Zt=_e.next();if(Zt=='"'||Zt=="'")retur Line truncated
${O}`),Q].join(`
${s}`)}return f}(n,"",0)}function L1e(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 $G={};(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,Q=2,V=1;this.lexer.setInput(o),this.lexer.yy=this.yy,this.yy.lexer=this.lexer,typeof this.lexer.yylloc>"u"&&(this.lexer.yylloc={});var $=this.lexer.yylloc;f.push($),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 se,pe,fe,X,oe,Ce={},we,Te,Pe,he;;){if(fe=s[s.length-1],this.defaultActions[fe]?X=this.defaultActions[fe]:(se==null&&(se=Z()),X=C[fe]&&C[fe][se]),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 Qe="";this.lexer.showPosition?Qe="Parse error on line "+(E+1)+`:
${s}`)}return f}(n,"",0)}function R1e(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 VG={};(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,D=0,Q=2,V=1;this.lexer.setInput(o),this.lexer.yy=this.yy,this.yy.lexer=this.lexer,typeof this.lexer.yylloc>"u"&&(this.lexer.yylloc={});var $=this.lexer.yylloc;f.push($),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 se,pe,fe,X,oe,Ce={},we,Te,Pe,he;;){if(fe=s[s.length-1],this.defaultActions[fe]?X=this.defaultActions[fe]:(se==null&&(se=Z()),X=C[fe]&&C[fe][se]),typeof X>"u"||!X.length||!X[0]){if(!D){he=[];for(we in C[fe])this.terminals_[we]&&we>2&&he.push("'"+this.terminals_[we]+"'");var Qe="";this.lexer.showPosition?Qe="Parse error on line "+(E+1)+`:
`+this.lexer.showPosition()+`
Expecting `+he.join(", ")+", got '"+this.terminals_[se]+"'":Qe="Parse error on line "+(E+1)+": Unexpected "+(se==1?"end of input":"'"+(this.terminals_[se]||se)+"'"),this.parseError(Qe,{text:this.lexer.match,token:this.terminals_[se]||se,line:this.lexer.yylineno,loc:$,expected:he})}if(L==3){if(se==V)throw new Error(Qe||"Parsing halted.");P=this.lexer.yyleng,O=this.lexer.yytext,E=this.lexer.yylineno,$=this.lexer.yylloc,se=Z()}for(;!(Q.toString()in C[fe]);){if(fe==0)throw new Error(Qe||"Parsing halted.");N(1),fe=s[s.length-1]}pe=se,se=Q,fe=s[s.length-1],X=C[fe]&&C[fe][Q],L=3}if(X[0]instanceof Array&&X.length>1)throw new Error("Parse Error: multiple actions possible at state: "+fe+", token: "+se);switch(X[0]){case 1:s.push(se),d.push(this.lexer.yytext),f.push(this.lexer.yylloc),s.push(X[1]),se=null,pe?(se=pe,pe=null):(P=this.lexer.yyleng,O=this.lexer.yytext,E=this.lexer.yylineno,$=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()+`
Expecting `+he.join(", ")+", got '"+this.terminals_[se]+"'":Qe="Parse error on line "+(E+1)+": Unexpected "+(se==1?"end of input":"'"+(this.terminals_[se]||se)+"'"),this.parseError(Qe,{text:this.lexer.match,token:this.terminals_[se]||se,line:this.lexer.yylineno,loc:$,expected:he})}if(D==3){if(se==V)throw new Error(Qe||"Parsing halted.");P=this.lexer.yyleng,O=this.lexer.yytext,E=this.lexer.yylineno,$=this.lexer.yylloc,se=Z()}for(;!(Q.toString()in C[fe]);){if(fe==0)throw new Error(Qe||"Parsing halted.");N(1),fe=s[s.length-1]}pe=se,se=Q,fe=s[s.length-1],X=C[fe]&&C[fe][Q],D=3}if(X[0]instanceof Array&&X.length>1)throw new Error("Parse Error: multiple actions possible at state: "+fe+", token: "+se);switch(X[0]){case 1:s.push(se),d.push(this.lexer.yytext),f.push(this.lexer.yylloc),s.push(X[1]),se=null,pe?(se=pe,pe=null):(P=this.lexer.yyleng,O=this.lexer.yytext,E=this.lexer.yylineno,$=this.lexer.yylloc,D>0&&D--);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 L1e<"u"&&(n.parser=e,n.parse=e.parse.bind(e))})($G);const vB=Ba($G);var YG={exports:{}};(function(n,e){(function(t,r){n.exports=r()})(Vf,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,$r=13,yr=14,bi=15,Ee=16,ee=17,H=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 Lr=g.charCodeAt(Kt);if(55296<=Lr&&Lr<=56319&&Kt<g.length-1){var rr=Lr,De=g.charCodeAt(Kt+1);return 56320<=De&&De<=57343?(rr-55296)*1024+(De-56320)+65536:rr}if(56320<=Lr&&Lr<=57343&&Kt>=1){var rr=g.charCodeAt(Kt-1),De=Lr;return 55296<=rr&&rr<=56319?(rr-55296)*1024+(De-56320)+65536:De}return Lr}function Ln(g,Kt,Lr){var rr=[g].concat(Kt).concat([Lr]),De=rr[rr.length-2],ce=Lr,xe=rr.lastIndexOf(yr);if(xe>1&&rr.slice(1,xe).every(function(rt){return rt==St})&&[St,$r,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 H;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 H;if((De==yn||De==or)&&(ce==or||ce==gn))return H;if((De==tr||De==gn)&&ce==gn)return H;if(ce==St||ce==bi)return H;if(ce==zt)return H;if(De==Sr)return H;var je=rr.indexOf(St)!=-1?rr.lastIndexOf(St)-1:rr.length-2;return[$r,ee].indexOf(rr[je])!=-1&&rr.slice(je+1,-1).every(function(rt){return rt==St})&&ce==yr||De==bi&&[Ee,ee].indexOf(ce)!=-1?H:Kt.indexOf(Rt)!=-1?At:De==Rt&&ce==Rt?H: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 Lr=In(fn(g,Kt)),rr=[],De=Kt+1;De<g.length;De++)if(!Dt(g,De-1)){var ce=In(fn(g,De));if(Ln(Lr,rr,ce))return De;rr.push(ce)}return g.length},this.splitGraphemes=function(g){for(var Kt=[],Lr=0,rr;(rr=this.nextBreak(g,Lr))<g.length;)Kt.push(g.slice(Lr,rr)),Lr=rr;return Lr<g.length&&Kt.push(g.slice(Lr)),Kt},this.iterateGraphemes=function(g){var Kt=0,Lr={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&&(Lr[Symbol.iterator]=function(){return Lr}),Lr},this.countGraphemes=function(g){for(var Kt=0,Lr=0,rr;(rr=this.nextBreak(g,Lr))<g.length;)Lr=rr,Kt++;return Lr<g.length&&Kt++,Kt};function In(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,$r,yr){yr=zt({},gn,yr);var bi=dr.split(/\r\n?|\n|\f/),Ee=Math.max(1,Sr-yr.extraLines)-1,ee=Math.min(Sr+yr.extraLines,bi.length),H=String(ee).length,Ke=or(bi,Ee,Sr,H,yr),At=mt(bi[Sr-1].substring(0,$r-1),Sr,H,yr),Bt=ot(" ",At.length)+"^",kt=or(bi,Sr,ee,H,yr);return[Ke,Bt,kt].filter(Boolean).join(`
`+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 R1e<"u"&&(n.parser=e,n.parse=e.parse.bind(e))})(VG);const CB=Ba(VG);var ZG={exports:{}};(function(n,e){(function(t,r){n.exports=r()})(Vf,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,hr=11,Er=12,$r=13,vr=14,bi=15,Ee=16,ee=17,H=0,Ke=1,At=2,Bt=3,kt=4;function Ft(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 Dr=g.charCodeAt(Kt);if(55296<=Dr&&Dr<=56319&&Kt<g.length-1){var rr=Dr,Fe=g.charCodeAt(Kt+1);return 56320<=Fe&&Fe<=57343?(rr-55296)*1024+(Fe-56320)+65536:rr}if(56320<=Dr&&Dr<=57343&&Kt>=1){var rr=g.charCodeAt(Kt-1),Fe=Dr;return 55296<=rr&&rr<=56319?(rr-55296)*1024+(Fe-56320)+65536:Fe}return Dr}function Fn(g,Kt,Dr){var rr=[g].concat(Kt).concat([Dr]),Fe=rr[rr.length-2],ce=Dr,xe=rr.lastIndexOf(vr);if(xe>1&&rr.slice(1,xe).every(function(rt){return rt==St})&&[St,$r,ee].indexOf(g)==-1)return At;var Ie=rr.lastIndexOf(Rt);if(Ie>0&&rr.slice(1,Ie).every(function(rt){return rt==Rt})&&[Er,Rt].indexOf(Fe)==-1)return rr.filter(function(rt){return rt==Rt}).length%2==1?Bt:kt;if(Fe==ze&&ce==it)return H;if(Fe==ot||Fe==ze||Fe==it)return ce==vr&&Kt.every(function(rt){return rt==St})?At:Ke;if(ce==ot||ce==ze||ce==it)return Ke;if(Fe==mt&&(ce==mt||ce==or||ce==yn||ce==tr))return H;if((Fe==yn||Fe==or)&&(ce==or||ce==gn))return H;if((Fe==tr||Fe==gn)&&ce==gn)return H;if(ce==St||ce==bi)return H;if(ce==zt)return H;if(Fe==Er)return H;var je=rr.indexOf(St)!=-1?rr.lastIndexOf(St)-1:rr.length-2;return[$r,ee].indexOf(rr[je])!=-1&&rr.slice(je+1,-1).every(function(rt){return rt==St})&&ce==vr||Fe==bi&&[Ee,ee].indexOf(ce)!=-1?H:Kt.indexOf(Rt)!=-1?At:Fe==Rt&&ce==Rt?H: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 Dr=kn(fn(g,Kt)),rr=[],Fe=Kt+1;Fe<g.length;Fe++)if(!Ft(g,Fe-1)){var ce=kn(fn(g,Fe));if(Fn(Dr,rr,ce))return Fe;rr.push(ce)}return g.length},this.splitGraphemes=function(g){for(var Kt=[],Dr=0,rr;(rr=this.nextBreak(g,Dr))<g.length;)Kt.push(g.slice(Dr,rr)),Dr=rr;return Dr<g.length&&Kt.push(g.slice(Dr)),Kt},this.iterateGraphemes=function(g){var Kt=0,Dr={next:(function(){var rr,Fe;return(Fe=this.nextBreak(g,Kt))<g.length?(rr=g.slice(Kt,Fe),Kt=Fe,{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&&(Dr[Symbol.iterator]=function(){return Dr}),Dr},this.countGraphemes=function(g){for(var Kt=0,Dr=0,rr;(rr=this.nextBreak(g,Dr))<g.length;)Dr=rr,Kt++;return Dr<g.length&&Kt++,Kt};function kn(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?Er: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(hr,Er,$r,vr){vr=zt({},gn,vr);var bi=hr.split(/\r\n?|\n|\f/),Ee=Math.max(1,Er-vr.extraLines)-1,ee=Math.min(Er+vr.extraLines,bi.length),H=String(ee).length,Ke=or(bi,Ee,Er,H,vr),At=mt(bi[Er-1].substring(0,$r-1),Er,H,vr),Bt=ot(" ",At.length)+"^",kt=or(bi,Er,ee,H,vr);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},Q={"{":L.LEFT_BRACE,"}":L.RIGHT_BRACE,"[":L.LEFT_BRACKET,"]":L.RIGHT_BRACKET,":":L.COLON,",":L.COMMA},V={true:L.TRUE,false:L.FALSE,null:L.NULL},$={_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 se(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)===`
`+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(":")}},D={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},Q={"{":D.LEFT_BRACE,"}":D.RIGHT_BRACE,"[":D.LEFT_BRACKET,"]":D.RIGHT_BRACKET,":":D.COLON,",":D.COMMA},V={true:D.TRUE,false:D.FALSE,null:D.NULL},$={_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 se(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 Q?{type:Q[ot],line:ze,column:it+1,index:Se+1,value:null}:null}function we(ge,Se,ze,it){for(var ot in V)if(V.hasOwnProperty(ot)&&ge.substr(Se,ot.length)===ot)return{type:V[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=$._START_;Se<ge.length;){var Rt=ge.charAt(Se);switch(St){case $._START_:{if(Rt==='"')Se++,St=$.START_QUOTE_OR_CHAR;else return null;break}case $.START_QUOTE_OR_CHAR:{if(Rt==="\\")Se++,St=$.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 $.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=$.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(se(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(se(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},Qe={_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:" "},He=['"',"\\","/"];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(He.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=Qe._START_;ze<Se.length;){var zt=Se[ze];switch(Rt){case Qe._START_:{if(zt.type===L.LEFT_BRACE)ot=zt,Rt=Qe.OPEN_OBJECT,ze++;else return null;break}case Qe.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=Vt(ge,Se,ze,it);St.children.push(mt.value),Rt=Qe.PROPERTY,ze=mt.index;break}case Qe.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=Qe.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 Qe.COMMA:{var or=Vt(ge,Se,ze,it);or?(ze=or.index,St.children.push(or.value),Rt=Qe.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 Vt(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=qt(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=qt(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=qt(ge,Se,ze,it);ze=or.index,St.children.push(or.value),Rt=gt.VALUE;break}}st(ge,Se,it)}function Yt(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 qt(ge,Se,ze,it){var ot=Se[ze],St=Yt.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=qt(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})})(YG);var D1e=YG.exports;const F1e=Ba(D1e);function Bn(){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
`)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 Q?{type:Q[ot],line:ze,column:it+1,index:Se+1,value:null}:null}function we(ge,Se,ze,it){for(var ot in V)if(V.hasOwnProperty(ot)&&ge.substr(Se,ot.length)===ot)return{type:V[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=$._START_;Se<ge.length;){var Rt=ge.charAt(Se);switch(St){case $._START_:{if(Rt==='"')Se++,St=$.START_QUOTE_OR_CHAR;else return null;break}case $.START_QUOTE_OR_CHAR:{if(Rt==="\\")Se++,St=$.ESCAPE;else{if(Rt==='"')return Se++,{type:D.STRING,line:ze,column:it+Se-ot,index:Se,value:ge.slice(ot,Se)};Se++}break}case $.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=$.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(se(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(se(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:D.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},Qe={_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:" "},He=['"',"\\","/"];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(He.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=Qe._START_;ze<Se.length;){var zt=Se[ze];switch(Rt){case Qe._START_:{if(zt.type===D.LEFT_BRACE)ot=zt,Rt=Qe.OPEN_OBJECT,ze++;else return null;break}case Qe.OPEN_OBJECT:{if(zt.type===D.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=Vt(ge,Se,ze,it);St.children.push(mt.value),Rt=Qe.PROPERTY,ze=mt.index;break}case Qe.PROPERTY:{if(zt.type===D.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===D.COMMA?(Rt=Qe.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 Qe.COMMA:{var or=Vt(ge,Se,ze,it);or?(ze=or.index,St.children.push(or.value),Rt=Qe.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 Vt(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===D.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===D.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=qt(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===D.LEFT_BRACKET)ot=zt,Rt=gt.OPEN_ARRAY,ze++;else return null;break}case gt.OPEN_ARRAY:{if(zt.type===D.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=qt(ge,Se,ze,it);ze=mt.index,St.children.push(mt.value),Rt=gt.VALUE;break}case gt.VALUE:{if(zt.type===D.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===D.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=qt(ge,Se,ze,it);ze=or.index,St.children.push(or.value),Rt=gt.VALUE;break}}st(ge,Se,it)}function Yt(ge,Se,ze,it){var ot=Se[ze],St=null;switch(ot.type){case D.STRING:{St=Xe(ge.slice(ot.loc.start.offset+1,ot.loc.end.offset-1));break}case D.NUMBER:{St=Number(ot.value);break}case D.TRUE:{St=!0;break}case D.FALSE:{St=!1;break}case D.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 qt(ge,Se,ze,it){var ot=Se[ze],St=Yt.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=qt(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})})(ZG);var z1e=ZG.exports;const j1e=Ba(z1e);function In(){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:W6e({},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(V6e.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}(EB.PureComponent||EB.Component);Ax.default=eEe;var cx={};Object.defineProperty(cx,"__esModule",{value:!0});cx.EditableInput=void 0;var tEe=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}}(),OB=Qn,O6=i$(OB),nEe=Vs,rEe=i$(nEe);function i$(n){return n&&n.__esModule?n:{default:n}}function iEe(n,e,t){return e in n?Object.defineProperty(n,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):n[e]=t,n}function oEe(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function aEe(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 sEe(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 lEe=1,o$=38,uEe=40,AEe=[o$,uEe],cEe=function(e){return AEe.indexOf(e)>-1},dEe=function(e){return Number(String(e).replace(/%/g,""))},hEe=1,fEe=cx.EditableInput=function(n){sEe(e,n);function e(t){oEe(this,e);var r=aEe(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=dEe(i.target.value);if(!isNaN(o)&&cEe(i.keyCode)){var a=r.getArrowOffset(),s=i.keyCode===o$?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-"+hEe++,r}return tEe(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 iEe({},this.props.label,r)}},{key:"getArrowOffset",value:function(){return this.props.arrowOffset||lEe}},{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,rEe.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 O6.default.createElement("div",{style:i.wrap},O6.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?O6.default.createElement("label",{htmlFor:this.inputId,style:i.label,onMouseDown:this.handleMouseDown},this.props.label):null)}}]),e}(OB.PureComponent||OB.Component);cx.default=fEe;var dx= Line truncated
rgba(`+i.r+","+i.g+","+i.b+", 1) 100%)"},pointer:{left:0,top:i.a*100+"%"}},overwrite:Y6e({},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(eEe.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);Ax.default=iEe;var cx={};Object.defineProperty(cx,"__esModule",{value:!0});cx.EditableInput=void 0;var oEe=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=Gn,O6=l$(BB),aEe=Vs,sEe=l$(aEe);function l$(n){return n&&n.__esModule?n:{default:n}}function lEe(n,e,t){return e in n?Object.defineProperty(n,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):n[e]=t,n}function uEe(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function AEe(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 cEe(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 dEe=1,u$=38,hEe=40,fEe=[u$,hEe],pEe=function(e){return fEe.indexOf(e)>-1},mEe=function(e){return Number(String(e).replace(/%/g,""))},gEe=1,yEe=cx.EditableInput=function(n){cEe(e,n);function e(t){uEe(this,e);var r=AEe(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=mEe(i.target.value);if(!isNaN(o)&&pEe(i.keyCode)){var a=r.getArrowOffset(),s=i.keyCode===u$?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-"+gEe++,r}return oEe(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 lEe({},this.props.label,r)}},{key:"getArrowOffset",value:function(){return this.props.arrowOffset||dEe}},{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,sEe.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 O6.default.createElement("div",{style:i.wrap},O6.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?O6.default.createElement("label",{htmlFor:this.inputId,style:i.label,onMouseDown:this.handleMouseDown},this.props.label):null)}}]),e}(BB.PureComponent||BB.Component);cx.default=yEe;var dx= Line truncated
.hue-horizontal {
background: linear-gradient(to right, #f00 0%, #ff0 17%, #0f0
33%, #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);
@@ -767,8 +767,8 @@ Expecting `+he.join(", ")+", got '"+this.terminals_[se]+"'":Qe="Parse error on l
background: -webkit-linear-gradient(to top, #f00 0%, #ff0 17%,
#0f0 33%, #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);
}
`),Gg.default.createElement("div",{style:a.pointer},this.props.pointer?Gg.default.createElement(this.props.pointer,this.props):Gg.default.createElement("div",{style:a.slider}))))}}]),e}(BB.PureComponent||BB.Component);dx.default=xEe;var hx={};Object.defineProperty(hx,"__esModule",{value:!0});hx.Raised=void 0;var wEe=Qn,B6=sM(wEe),MEe=Fh,J2=sM(MEe),SEe=Vs,EEe=sM(SEe),OEe=e$,BEe=sM(OEe);function sM(n){return n&&n.__esModule?n:{default:n}}var pk=hx.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,EEe.default)((0,BEe.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 B6.default.createElement("div",{style:d.wrap},B6.default.createElement("div",{style:d.bg}),B6.default.createElement("div",{style:d.content},o))};pk.propTypes={background:J2.default.string,zDepth:J2.default.oneOf([0,1,2,3,4,5]),radius:J2.default.number,styles:J2.default.object};pk.defaultProps={background:"#fff",zDepth:1,radius:2,styles:{}};hx.default=pk;var fx={},IEe=Rh,kEe=function(){return IEe.Date.now()},TEe=kEe,KEe=/\s/;function PEe(n){for(var e=n.length;e--&&KEe.test(n.charAt(e)););return e}var LEe=PEe,DEe=LEe,FEe=/^\s+/;function UEe(n){return n&&n.slice(0,DEe(n)+1).replace(FEe,"")}var REe=UEe,zEe=REe,qL=qd,jEe=rM,HL=NaN,NEe=/^[-+]0x[0-9a-f]+$/i,WEe=/^0b[01]+$/i,GEe=/^0o[0-7]+$/i,QEe=parseInt;function $Ee(n){if(typeof n=="number")return n;if(jEe(n))return HL;if(qL(n)){var e=typeof n.valueOf=="function"?n.valueOf():n;n=qL(e)?e+"":e}if(typeof n!="string")return n===0?n:+n;n=zEe(n);var t=WEe.test(n);return t||GEe.test(n)?QEe(n.slice(2),t?2:8):NEe.test(n)?HL:+n}var YEe=$Ee,qEe=qd,I6=TEe,VL=YEe,HEe="Expected a function",VEe=Math.max,ZEe=Math.min;function XEe(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(HEe);e=VL(e)||0,qEe(t)&&(C=!!t.leading,O="maxWait"in t,o=O?VEe(VL(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($,e),C?P(fe):a}function Q(fe){var X=fe-d,oe=fe-f,Ce=e-X;return O?ZEe(Ce,o-oe):Ce}function V(fe){var X=fe-d,oe=fe-f;return d===void 0||X>=e||X<0||O&&oe>=o}function $(){var fe=I6();if(V(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 se(){return s===void 0?a:N(I6())}function pe(){var fe=I6(),X=V(fe);if(r=arguments,i=this,d=fe,X){if(s===void 0)return L(d);if(O)return clearTimeout(s),s=setTimeout($,e),P(d)}return s===void 0&&(s=setTimeout($,e)),a}return pe.cancel=Z,pe.flush=se,pe}var s$=XEe,JEe=s$,eOe=qd,tOe="Expected a function";function nOe(n,e,t){var r=!0,i=!0;if(typeof n!="function")throw new TypeError(tOe);return eOe(t)&&(r="leading"in t?!!t.leading:r,i="trailing"in t?!!t.trailing:i),JEe(n,e,{leading:r,maxWait:e,trailing:i})}var rOe=nOe,mk={};Object.defineProperty(mk,"__esModule",{value:!0});mk.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(fx,"__esModule",{value:!0});fx.Saturation=void 0;var iOe=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=Qn,$0=gk(IB),oOe=Vs,aOe=gk(oOe),sOe=rOe,lOe=gk(sOe),uOe=mk,AOe=cOe(uOe);function cOe(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 gk(n){return n&&n.__esModule?n:{default:n}}function dOe(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function hOe(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 fOe(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 $0.default.createElement("div",{style:C.color,ref:function(E){return r.container=E},onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},$0.default.createElement("style",null,`
`),Gg.default.createElement("div",{style:a.pointer},this.props.pointer?Gg.default.createElement(this.props.pointer,this.props):Gg.default.createElement("div",{style:a.slider}))))}}]),e}(IB.PureComponent||IB.Component);dx.default=EEe;var hx={};Object.defineProperty(hx,"__esModule",{value:!0});hx.Raised=void 0;var OEe=Gn,B6=sM(OEe),BEe=Lh,J2=sM(BEe),IEe=Vs,kEe=sM(IEe),TEe=i$,KEe=sM(TEe);function sM(n){return n&&n.__esModule?n:{default:n}}var mk=hx.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,kEe.default)((0,KEe.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 B6.default.createElement("div",{style:d.wrap},B6.default.createElement("div",{style:d.bg}),B6.default.createElement("div",{style:d.content},o))};mk.propTypes={background:J2.default.string,zDepth:J2.default.oneOf([0,1,2,3,4,5]),radius:J2.default.number,styles:J2.default.object};mk.defaultProps={background:"#fff",zDepth:1,radius:2,styles:{}};hx.default=mk;var fx={},PEe=Rh,DEe=function(){return PEe.Date.now()},FEe=DEe,LEe=/\s/;function UEe(n){for(var e=n.length;e--&&LEe.test(n.charAt(e)););return e}var REe=UEe,zEe=REe,jEe=/^\s+/;function NEe(n){return n&&n.slice(0,zEe(n)+1).replace(jEe,"")}var WEe=NEe,GEe=WEe,VD=qd,QEe=rM,ZD=NaN,$Ee=/^[-+]0x[0-9a-f]+$/i,YEe=/^0b[01]+$/i,qEe=/^0o[0-7]+$/i,HEe=parseInt;function VEe(n){if(typeof n=="number")return n;if(QEe(n))return ZD;if(VD(n)){var e=typeof n.valueOf=="function"?n.valueOf():n;n=VD(e)?e+"":e}if(typeof n!="string")return n===0?n:+n;n=GEe(n);var t=YEe.test(n);return t||qEe.test(n)?HEe(n.slice(2),t?2:8):$Ee.test(n)?ZD:+n}var ZEe=VEe,XEe=qd,I6=FEe,XD=ZEe,JEe="Expected a function",eOe=Math.max,tOe=Math.min;function nOe(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(JEe);e=XD(e)||0,XEe(t)&&(C=!!t.leading,O="maxWait"in t,o=O?eOe(XD(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 D(fe){return f=fe,s=setTimeout($,e),C?P(fe):a}function Q(fe){var X=fe-d,oe=fe-f,Ce=e-X;return O?tOe(Ce,o-oe):Ce}function V(fe){var X=fe-d,oe=fe-f;return d===void 0||X>=e||X<0||O&&oe>=o}function $(){var fe=I6();if(V(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 se(){return s===void 0?a:N(I6())}function pe(){var fe=I6(),X=V(fe);if(r=arguments,i=this,d=fe,X){if(s===void 0)return D(d);if(O)return clearTimeout(s),s=setTimeout($,e),P(d)}return s===void 0&&(s=setTimeout($,e)),a}return pe.cancel=Z,pe.flush=se,pe}var c$=nOe,rOe=c$,iOe=qd,oOe="Expected a function";function aOe(n,e,t){var r=!0,i=!0;if(typeof n!="function")throw new TypeError(oOe);return iOe(t)&&(r="leading"in t?!!t.leading:r,i="trailing"in t?!!t.trailing:i),rOe(n,e,{leading:r,maxWait:e,trailing:i})}var sOe=aOe,gk={};Object.defineProperty(gk,"__esModule",{value:!0});gk.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(fx,"__esModule",{value:!0});fx.Saturation=void 0;var lOe=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=Gn,Y0=yk(kB),uOe=Vs,AOe=yk(uOe),cOe=sOe,dOe=yk(cOe),hOe=gk,fOe=pOe(hOe);function pOe(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 yk(n){return n&&n.__esModule?n:{default:n}}function mOe(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function gOe(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 yOe(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));
background: linear-gradient(to right, #fff, rgba(255,255,255,0));
@@ -777,14 +777,14 @@ Expecting `+he.join(", ")+", got '"+this.terminals_[se]+"'":Qe="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));
}
`),$0.default.createElement("div",{style:C.white,className:"saturation-white"},$0.default.createElement("div",{style:C.black,className:"saturation-black"}),$0.default.createElement("div",{style:C.pointer},this.props.pointer?$0.default.createElement(this.props.pointer,this.props):$0.default.createElement("div",{style:C.circle}))))}}]),e}(IB.PureComponent||IB.Component);fx.default=pOe;var px={},zA={},mOe=UQ,gOe=FQ,yOe=gQ,vOe=sd;function COe(n,e){var t=vOe(n)?mOe:gOe;return t(n,yOe(e))}var _Oe=COe,bOe=_Oe,l$={exports:{}};(function(n,e){(function(t,r){n.exports=r()})(Vf,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=Qe(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}(kB.PureComponent||kB.Component);fx.default=vOe;var px={},zA={},COe=NQ,_Oe=jQ,bOe=_Q,xOe=sd;function wOe(n,e){var t=xOe(n)?COe:_Oe;return t(n,bOe(e))}var MOe=wOe,SOe=MOe,d$={exports:{}};(function(n,e){(function(t,r){n.exports=r()})(Vf,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=Qe(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="#"+D(this._r,this._g,this._b,this._a),ze=Se,it=this._gradientType?"GradientType = 1, ":"";if(ge){var ot=o(ge);ze="#"+D(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" />
<title>${t}</title>
<meta name="viewport" content="initial-scale=1,maximum-scale=1,user-scalable=no" />
<script src="https://unpkg.com/maplibre-gl@${mD}/dist/maplibre-gl.js"><\/script>
<link href="https://unpkg.com/maplibre-gl@${mD}/dist/maplibre-gl.css" rel="stylesheet" />
<script src="https://unpkg.com/maplibre-gl@${vF}/dist/maplibre-gl.js"><\/script>
<link href="https://unpkg.com/maplibre-gl@${vF}/dist/maplibre-gl.css" rel="stylesheet" />
<style>
body { margin: 0; padding: 0; }
#map { position: absolute; top: 0; bottom: 0; width: 100%; }
@@ -801,11 +801,11 @@ Expecting `+he.join(", ")+", got '"+this.terminals_[se]+"'":Qe="Parse error on l
<\/script>
</body>
</html>
`),i=(kr().s[8]++,new Blob([r],{type:"text/html;charset=utf-8"})),o=(kr().s[9]++,this.exportName());kr().s[10]++,h8e.saveAs(i,o+".html")}async saveStyle(){kr().f[3]++;const e=(kr().s[11]++,this.tokenizedStyle());let t=(kr().s[12]++,this.props.fileHandle);if(kr().s[13]++,t==null)if(kr().b[2][0]++,kr().s[14]++,t=await this.createFileHandle(),kr().s[15]++,this.props.onSetFileHandle(t),kr().s[16]++,t==null){kr().b[3][0]++,kr().s[17]++;return}else kr().b[3][1]++;else kr().b[2][1]++;const r=(kr().s[18]++,await t.createWritable());kr().s[19]++,await r.write(e),kr().s[20]++,await r.close(),kr().s[21]++,this.props.onOpenToggle()}async saveStyleAs(){kr().f[4]++;const e=(kr().s[22]++,this.tokenizedStyle()),t=(kr().s[23]++,await this.createFileHandle());if(kr().s[24]++,this.props.onSetFileHandle(t),kr().s[25]++,t==null){kr().b[4][0]++,kr().s[26]++;return}else kr().b[4][1]++;const r=(kr().s[27]++,await t.createWritable());kr().s[28]++,await r.write(e),kr().s[29]++,await r.close(),kr().s[30]++,this.props.onOpenToggle()}async createFileHandle(){kr().f[5]++;const e=(kr().s[31]++,{types:[{description:"json",accept:{"application/json":[".json"]}}],suggestedName:this.exportName()}),t=(kr().s[32]++,await window.showSaveFilePicker(e));return kr().s[33]++,this.props.onSetFileHandle(t),kr().s[34]++,t}changeMetadataProperty(e,t){kr().f[6]++;const r=(kr().s[35]++,{...this.props.mapStyle,metadata:{...this.props.mapStyle.metadata,[e]:t}});kr().s[36]++,this.props.onStyleChanged(r)}render(){kr().f[7]++;const e=(kr().s[37]++,this.props.t),t=(kr().s[38]++,B$(e));return kr().s[39]++,G.jsx(m0,{"data-wd-key":"modal:export",isOpen:this.props.isOpen,onOpenToggle:this.props.onOpenToggle,title:e("Save Style"),className:"maputnik-export-modal",children:G.jsxs("section",{className:"maputnik-modal-section",children:[G.jsx("h1",{children:e("Save Style")}),G.jsx("p",{children:e("Save the JSON style to your computer.")}),G.jsxs("div",{children:[G.jsx(kf,{label:t.maputnik.maptiler_access_token.label,fieldSpec:t.maputnik.maptiler_access_token,value:(kr().b[5][0]++,this.props.mapStyle.metadata||(kr().b[5][1]++,{}))["maputnik:openmaptiles_access_token"],onChange:this.changeMetadataProperty.bind(this,"maputnik:openmaptiles_access_token")}),G.jsx(kf,{label:t.maputnik.thunderforest_access_token.label,fieldSpec:t.maputnik.thunderforest_access_token,value:(kr().b[6][0]++,this.props.mapStyle.metadata||(kr().b[6][1]++,{}))["maputnik:thunderforest_access_token"],onChange:this.changeMetadataProperty.bind(this,"maputnik:thunderforest_access_token")}),G.jsx(kf,{label:t.maputnik.stadia_access_token.label,fieldSpec:t.maputnik.stadia_access_token,value:(kr().b[7][0]++,this.props.mapStyle.metadata||(kr().b[7][1]++,{}))["maputnik:stadia_access_token"],onChange:this.changeMetadataProperty.bind(this,"maputnik:stadia_access_token")})]}),G.jsxs("div",{className:"maputnik-modal-export-buttons",children:[G.jsxs(Na,{onClick:this.saveStyle.bind(this),children:[G.jsx(lO,{}),e("Save")]}),G.jsxs(Na,{onClick:this.saveStyleAs.bind(this),children:[G.jsx(lO,{}),e("Save as")]}),G.jsxs(Na,{onClick:this.createHtml.bind(this),children:[G.jsx(bre,{}),e("Create HTML")]})]})]})})}}const S8e=(kr().s[40]++,Wo()(M8e));function O5(){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 O5=function(){return a},a}O5();class L$ extends Sn.Component{render(){return O5().f[0]++,O5().s[0]++,G.jsx(Eb,{label:this.props.label,children:G.jsx(g$,{...this.props})})}}function B5(){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 Line truncated
`)>=0)return!1;return!0}function Ske(n,e){var t;if(n.indent===" ")t=" ";else if(typeof n.indent=="number"&&n.indent>0)t=Tf.call(Array(n.indent+1)," ");else return null;return{base:t,prev:Tf.call(Array(e+1),t)}}function UB(n,e){if(n.length===0)return"";var t=`
`),i=(dr().s[9]++,new Blob([r],{type:"text/html;charset=utf-8"})),o=(dr().s[10]++,this.exportName());dr().s[11]++,yF.saveAs(i,o+".html")}async saveStyle(){dr().f[3]++;const e=(dr().s[12]++,this.tokenizedStyle());if(dr().s[13]++,CF)dr().b[2][1]++;else{dr().b[2][0]++;const i=(dr().s[14]++,new Blob([e],{type:"application/json;charset=utf-8"})),o=(dr().s[15]++,this.exportName());dr().s[16]++,yF.saveAs(i,o+".json"),dr().s[17]++;return}let t=(dr().s[18]++,this.props.fileHandle);if(dr().s[19]++,t==null)if(dr().b[3][0]++,dr().s[20]++,t=await this.createFileHandle(),dr().s[21]++,this.props.onSetFileHandle(t),dr().s[22]++,t==null){dr().b[4][0]++,dr().s[23]++;return}else dr().b[4][1]++;else dr().b[3][1]++;const r=(dr().s[24]++,await t.createWritable());dr().s[25]++,await r.write(e),dr().s[26]++,await r.close(),dr().s[27]++,this.props.onOpenToggle()}async saveStyleAs(){dr().f[4]++;const e=(dr().s[28]++,this.tokenizedStyle()),t=(dr().s[29]++,await this.createFileHandle());if(dr().s[30]++,this.props.onSetFileHandle(t),dr().s[31]++,t==null){dr().b[5][0]++,dr().s[32]++;return}else dr().b[5][1]++;const r=(dr().s[33]++,await t.createWritable());dr().s[34]++,await r.write(e),dr().s[35]++,await r.close(),dr().s[36]++,this.props.onOpenToggle()}async createFileHandle(){dr().f[5]++;const e=(dr().s[37]++,{types:[{description:"json",accept:{"application/json":[".json"]}}],suggestedName:this.exportName()}),t=(dr().s[38]++,await window.showSaveFilePicker(e));return dr().s[39]++,this.props.onSetFileHandle(t),dr().s[40]++,t}changeMetadataProperty(e,t){dr().f[6]++;const r=(dr().s[41]++,{...this.props.mapStyle,metadata:{...this.props.mapStyle.metadata,[e]:t}});dr().s[42]++,this.props.onStyleChanged(r)}render(){dr().f[7]++;const e=(dr().s[43]++,this.props.t),t=(dr().s[44]++,K$(e));return dr().s[45]++,G.jsx(g0,{"data-wd-key":"modal:export",isOpen:this.props.isOpen,onOpenToggle:this.props.onOpenToggle,title:e("Save Style"),className:"maputnik-export-modal",children:G.jsxs("section",{className:"maputnik-modal-section",children:[G.jsx("h1",{children:e("Save Style")}),G.jsx("p",{children:e("Save the JSON style to your computer.")}),G.jsxs("div",{children:[G.jsx(kf,{label:t.maputnik.maptiler_access_token.label,fieldSpec:t.maputnik.maptiler_access_token,value:(dr().b[6][0]++,this.props.mapStyle.metadata||(dr().b[6][1]++,{}))["maputnik:openmaptiles_access_token"],onChange:this.changeMetadataProperty.bind(this,"maputnik:openmaptiles_access_token")}),G.jsx(kf,{label:t.maputnik.thunderforest_access_token.label,fieldSpec:t.maputnik.thunderforest_access_token,value:(dr().b[7][0]++,this.props.mapStyle.metadata||(dr().b[7][1]++,{}))["maputnik:thunderforest_access_token"],onChange:this.changeMetadataProperty.bind(this,"maputnik:thunderforest_access_token")}),G.jsx(kf,{label:t.maputnik.stadia_access_token.label,fieldSpec:t.maputnik.stadia_access_token,value:(dr().b[8][0]++,this.props.mapStyle.metadata||(dr().b[8][1]++,{}))["maputnik:stadia_access_token"],onChange:this.changeMetadataProperty.bind(this,"maputnik:stadia_access_token")})]}),G.jsxs("div",{className:"maputnik-modal-export-buttons",children:[G.jsxs(Ta,{onClick:this.saveStyle.bind(this),children:[G.jsx(uO,{}),e("Save")]}),(dr().b[9][0]++,CF&&(dr().b[9][1]++,G.jsxs(Ta,{onClick:this.saveStyleAs.bind(this),children:[G.jsx(uO,{}),e("Save as")]}))),G.jsxs(Ta,{onClick:this.createHtml.bind(this),children:[G.jsx(Sre,{}),e("Create HTML")]})]})]})})}}const B8e=(dr().s[46]++,Wo()(O8e));function O5(){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 O5=function(){return a},a}O5();class R$ extends Sn.Component{render(){return O5().f[0]++,O5().s[0]++,G.jsx(Eb,{label:this.props.label,children:G.jsx(_$,{...this.props})})}}function B5(){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,col Line truncated
`)>=0)return!1;return!0}function Wke(n,e){var t;if(n.indent===" ")t=" ";else if(typeof n.indent=="number"&&n.indent>0)t=Tf.call(Array(n.indent+1)," ");else return null;return{base:t,prev:Tf.call(Array(e+1),t)}}function RB(n,e){if(n.length===0)return"";var t=`
`+e.prev+e.base;return t+Tf.call(n,","+t)+`
`+e.prev}function i3(n,e){var t=FB(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 N6=="function"?N6(n):[],a;if(wv){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||wv&&a["$"+d]instanceof Symbol||(Y$.call(/[^\w$]/,d)?r.push(e(d,n)+": "+e(n[d],n)):r.push(d+": "+e(n[d],n))));if(typeof N6=="function")for(var f=0;f<o.length;f++)q$.call(n,o[f])&&r.push("["+e(o[f])+"]: "+e(n[o[f]],n));return r}var J$=Yv,qv=HIe,Eke=lke,Oke=Cx,o3=J$("%WeakMap%",!0),a3=J$("%Map%",!0),Bke=qv("WeakMap.prototype.get",!0),Ike=qv("WeakMap.prototype.set",!0),kke=qv("WeakMap.prototype.has",!0),Tke=qv("Map.prototype.get",!0),Kke=qv("Map.prototype.set",!0),Pke=qv("Map.prototype.has",!0),kk=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},Lke=function(n,e){var t=kk(n,e);return t&&t.value},Dke=function(n,e,t){var r=kk(n,e);r?r.value=t:n.next={key:e,next:n.next,value:t}},Fke=function(n,e){return!!kk(n,e)},Uke=function(){var e,t,r,i={assert:function(o){if(!i.has(o))throw new Oke("Side channel does not contain "+Eke(o))},get:function(o){if(o3&&o&&(typeof o=="object"||typeof o=="function")){if(e)return Bke(e,o)}else if(a3){if(t)return Tke(t,o)}else if(r)return Lke(r,o)},has:function(o){if(o3&&o&&(typeof o=="object"||typeof o=="function")){if(e)return kke(e,o)}else if(a3){if(t)return Pke(t,o)}else if(r)return Fke(r,o);return!1},set:function(o,a){o3&&o&&(typeof o=="object"||typeof o=="function")?(e||(e=new o3),Ike(e,o,a)):a3?(t||(t=new a3),Kke(t,o,a)):(r||(r={key:{},next:null}),Dke(r,o,a))}};return i},Rke=String.prototype.replace,zke=/%20/g,G6={RFC1738:"RFC1738",RFC3986:"RFC3986"},Tk={default:G6.RFC3986,formatters:{RFC1738:function(n){return Rke.call(n,zke,"+")},RFC3986:function(n){return String(n)}},RFC1738:G6.RFC1738,RFC3986:G6.RFC3986},jke=Tk,Q6=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}(),Nke=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}}},eY=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},Wke=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)||!Q6.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=eY(e,r)),s1(e)&&s1(t)?(t.forEach(function(o,a){if(Q6.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 Q6.call(o,a)?o[a]=n(o[a],s,r):o[a]=s,o},i)},Gke=function(e,t){return Object.keys(t).reduce(function(r,i){return r[i]=t[i],r},e)},Qke=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}},$ke=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===jke.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},Yke=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 Nke(t),e},qke=function(e){return Object.prototype.toString.call(e)==="[object RegExp]"},Hke=function(e){return!e||typeof e!="object"?!1:!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))},Vke=function(e,t){return[].concat(e,t)},Zke=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)},tY={arrayToObject:eY,assign:Gke,combine:Vke,compact:Yke,decode:Qke,encode:$ke,isBuffer:Hke,isRegExp:qke,maybeMap:Zke,merge:Wke},nY=Uke,P3=tY,F_=Tk,Xke=Object.prototype.hasOwnProperty,rY={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},If=Array.isArray,Jke=Array.prototype.push,iY=function(n,e){Jke.apply(n,If(e)?e:[e])},e9e=Date.prototype.toISOString,jD=F_.default,Hl={addQueryPrefix:!1,allowDots:!1,allowEmptyArrays:!1,arrayFormat:"in Line truncated
`," "],x9e=["{","}","|","\\","^","`"].concat(b9e),zB=["'"].concat(x9e),ND=["%","/","?",";","#"].concat(zB),WD=["/","?","#"],w9e=255,GD=/^[+a-z0-9A-Z_-]{0,63}$/,M9e=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,S9e={javascript:!0,"javascript:":!0},jB={javascript:!0,"javascript:":!0},ov={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},NB=g9e;function bx(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=_9e.exec(s);if(d)return this.path=s,this.href=s,this.pathname=d[1],d[2]?(this.search=d[2],e?this.query=NB.parse(this.search.substr(1)):this.query=this.search.substr(1)):e&&(this.search="",this.query={}),this}var f=v9e.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&&jB[f])&&(s=s.substr(2),this.slashes=!0)}if(!jB[f]&&(O||f&&!ov[f])){for(var E=-1,P=0;P<WD.length;P++){var L=s.indexOf(WD[P]);L!==-1&&(E===-1||L<E)&&(E=L)}var Q,V;E===-1?V=s.lastIndexOf("@"):V=s.lastIndexOf("@",E),V!==-1&&(Q=s.slice(0,V),s=s.slice(V+1),this.auth=decodeURIComponent(Q)),E=-1;for(var P=0;P<ND.length;P++){var L=s.indexOf(ND[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 $=this.hostname[0]==="["&&this.hostname[this.hostname.length-1]==="]";if(!$)for(var N=this.hostname.split(/\./),P=0,Z=N.length;P<Z;P++){var se=N[P];if(se&&!se.match(GD)){for(var pe="",fe=0,X=se.length;fe<X;fe++)se.charCodeAt(fe)>127?pe+="x":pe+=se[fe];if(!pe.match(GD)){var oe=N.slice(0,P),Ce=N.slice(P+1),we=se.match(M9e);we&&(oe.push(we[1]),Ce.unshift(we[2])),Ce.length&&(s="/"+Ce.join(".")+s),this.hostname=oe.join(".");break}}}this.hostname.length>w9e?this.hostname="":this.hostname=this.hostname.toLowerCase(),$||(this.hostname=y9e.toASCII(this.hostname));var Te=this.port?":"+this.port:"",Pe=this.hostname||"";this.host=Pe+Te,this.href+=this.host,$&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),s[0]!=="/"&&(s="/"+s))}if(!S9e[C])for(var P=0,Z=zB.length;P<Z;P++){var he=zB[P];if(s.indexOf(he)!==-1){var Qe=encodeURIComponent(he);Qe===he&&(Qe=escape(he)),s=s.split(he).join(Qe)}}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=NB.parse(this.query)),s=s.slice(0,gt)):e&&(this.search="",this.query={}),s&&(this.pathname=s),ov[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 E9e(n){return typeof n=="string"&&(n=bx(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=NB.stringify(this.query,{arrayFormat:"repeat",addQueryPrefix:!1}));var a=this.search||o&&"?"+o||"";return e&&e.substr(-1)!==":"&&(e+=":"),this.slashes||(!e||ov[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 O9e(n,e){return bx(n,!1,!0).resolve(e)}Nd.prototype.resolve=function(n){return this.resolveObject(bx(n,!1,!0)).format()};function B9e(n,e){return n?bx(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 ov[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(!ov[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&&!jB[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 i3(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 W6=="function"?W6(n):[],a;if(wv){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||wv&&a["$"+d]instanceof Symbol||(X$.call(/[^\w$]/,d)?r.push(e(d,n)+": "+e(n[d],n)):r.push(d+": "+e(n[d],n))));if(typeof W6=="function")for(var f=0;f<o.length;f++)J$.call(n,o[f])&&r.push("["+e(o[f])+"]: "+e(n[o[f]],n));return r}var iY=Yv,qv=dke,Gke=Mke,Qke=Cx,o3=iY("%WeakMap%",!0),a3=iY("%Map%",!0),$ke=qv("WeakMap.prototype.get",!0),Yke=qv("WeakMap.prototype.set",!0),qke=qv("WeakMap.prototype.has",!0),Hke=qv("Map.prototype.get",!0),Vke=qv("Map.prototype.set",!0),Zke=qv("Map.prototype.has",!0),Tk=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},Xke=function(n,e){var t=Tk(n,e);return t&&t.value},Jke=function(n,e,t){var r=Tk(n,e);r?r.value=t:n.next={key:e,next:n.next,value:t}},e9e=function(n,e){return!!Tk(n,e)},t9e=function(){var e,t,r,i={assert:function(o){if(!i.has(o))throw new Qke("Side channel does not contain "+Gke(o))},get:function(o){if(o3&&o&&(typeof o=="object"||typeof o=="function")){if(e)return $ke(e,o)}else if(a3){if(t)return Hke(t,o)}else if(r)return Xke(r,o)},has:function(o){if(o3&&o&&(typeof o=="object"||typeof o=="function")){if(e)return qke(e,o)}else if(a3){if(t)return Zke(t,o)}else if(r)return e9e(r,o);return!1},set:function(o,a){o3&&o&&(typeof o=="object"||typeof o=="function")?(e||(e=new o3),Yke(e,o,a)):a3?(t||(t=new a3),Vke(t,o,a)):(r||(r={key:{},next:null}),Jke(r,o,a))}};return i},n9e=String.prototype.replace,r9e=/%20/g,Q6={RFC1738:"RFC1738",RFC3986:"RFC3986"},Kk={default:Q6.RFC3986,formatters:{RFC1738:function(n){return n9e.call(n,r9e,"+")},RFC3986:function(n){return String(n)}},RFC1738:Q6.RFC1738,RFC3986:Q6.RFC3986},i9e=Kk,$6=Object.prototype.hasOwnProperty,l1=Array.isArray,xf=function(){for(var n=[],e=0;e<256;++e)n.push("%"+((e<16?"0":"")+e.toString(16)).toUpperCase());return n}(),o9e=function(e){for(;e.length>1;){var t=e.pop(),r=t.obj[t.prop];if(l1(r)){for(var i=[],o=0;o<r.length;++o)typeof r[o]<"u"&&i.push(r[o]);t.obj[t.prop]=i}}},oY=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},a9e=function n(e,t,r){if(!t)return e;if(typeof t!="object"){if(l1(e))e.push(t);else if(e&&typeof e=="object")(r&&(r.plainObjects||r.allowPrototypes)||!$6.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 l1(e)&&!l1(t)&&(i=oY(e,r)),l1(e)&&l1(t)?(t.forEach(function(o,a){if($6.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 $6.call(o,a)?o[a]=n(o[a],s,r):o[a]=s,o},i)},s9e=function(e,t){return Object.keys(t).reduce(function(r,i){return r[i]=t[i],r},e)},l9e=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}},u9e=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===i9e.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},A9e=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 o9e(t),e},c9e=function(e){return Object.prototype.toString.call(e)==="[object RegExp]"},d9e=function(e){return!e||typeof e!="object"?!1:!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))},h9e=function(e,t){return[].concat(e,t)},f9e=function(e,t){if(l1(e)){for(var r=[],i=0;i<e.length;i+=1)r.push(t(e[i]));return r}return t(e)},aY={arrayToObject:oY,assign:s9e,combine:h9e,compact:A9e,decode:l9e,encode:u9e,isBuffer:d9e,isRegExp:c9e,maybeMap:f9e,merge:a9e},sY=t9e,P3=aY,L_=Kk,p9e=Object.prototype.hasOwnProperty,lY={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},If=Array.isArray,m9e=Array.prototype.push,uY=function(n,e){m9e.apply(n,If(e)?e:[e])},g9e=Date.prototype.toISOString,QF=L_.default,Hl={addQueryPrefix:!1,allowDots:!1,allowEmptyArrays:!1,arrayFormat:"in Line truncated
`," "],z9e=["{","}","|","\\","^","`"].concat(R9e),jB=["'"].concat(z9e),$F=["%","/","?",";","#"].concat(jB),YF=["/","?","#"],j9e=255,qF=/^[+a-z0-9A-Z_-]{0,63}$/,N9e=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,W9e={javascript:!0,"javascript:":!0},NB={javascript:!0,"javascript:":!0},ov={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},WB=P9e;function bx(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=U9e.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=F9e.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&&!ov[f])){for(var E=-1,P=0;P<YF.length;P++){var D=s.indexOf(YF[P]);D!==-1&&(E===-1||D<E)&&(E=D)}var Q,V;E===-1?V=s.lastIndexOf("@"):V=s.lastIndexOf("@",E),V!==-1&&(Q=s.slice(0,V),s=s.slice(V+1),this.auth=decodeURIComponent(Q)),E=-1;for(var P=0;P<$F.length;P++){var D=s.indexOf($F[P]);D!==-1&&(E===-1||D<E)&&(E=D)}E===-1&&(E=s.length),this.host=s.slice(0,E),s=s.slice(E),this.parseHost(),this.hostname=this.hostname||"";var $=this.hostname[0]==="["&&this.hostname[this.hostname.length-1]==="]";if(!$)for(var N=this.hostname.split(/\./),P=0,Z=N.length;P<Z;P++){var se=N[P];if(se&&!se.match(qF)){for(var pe="",fe=0,X=se.length;fe<X;fe++)se.charCodeAt(fe)>127?pe+="x":pe+=se[fe];if(!pe.match(qF)){var oe=N.slice(0,P),Ce=N.slice(P+1),we=se.match(N9e);we&&(oe.push(we[1]),Ce.unshift(we[2])),Ce.length&&(s="/"+Ce.join(".")+s),this.hostname=oe.join(".");break}}}this.hostname.length>j9e?this.hostname="":this.hostname=this.hostname.toLowerCase(),$||(this.hostname=D9e.toASCII(this.hostname));var Te=this.port?":"+this.port:"",Pe=this.hostname||"";this.host=Pe+Te,this.href+=this.host,$&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),s[0]!=="/"&&(s="/"+s))}if(!W9e[C])for(var P=0,Z=jB.length;P<Z;P++){var he=jB[P];if(s.indexOf(he)!==-1){var Qe=encodeURIComponent(he);Qe===he&&(Qe=escape(he)),s=s.split(he).join(Qe)}}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),ov[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 G9e(n){return typeof n=="string"&&(n=bx(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||ov[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 Q9e(n,e){return bx(n,!1,!0).resolve(e)}Nd.prototype.resolve=function(n){return this.resolveObject(bx(n,!1,!0)).format()};function $9e(n,e){return n?bx(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 ov[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(!ov[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
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
@@ -818,10 +818,10 @@ MERCHANTABLITY OR NON-INFRINGEMENT.
See the Apache Version 2.0 License for specific language governing permissions
and limitations under the License.
***************************************************************************** */var WB=function(n,e){return WB=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])},WB(n,e)};function cY(n,e){WB(n,e);function t(){this.constructor=n}n.prototype=e===null?Object.create(e):(t.prototype=e.prototype,new t)}function U9e(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 R9e(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 z9e(){for(var n=[],e=0;e<arguments.length;e++)n=n.concat(R9e(arguments[e]));return n}var dY=function(){function n(e,t){this.target=t,this.type=e}return n}(),j9e=function(n){cY(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}(dY),N9e=function(n){cY(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}(dY);/*!
***************************************************************************** */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 mY(n,e){GB(n,e);function t(){this.constructor=n}n.prototype=e===null?Object.create(e):(t.prototype=e.prototype,new t)}function tTe(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 nTe(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 rTe(){for(var n=[],e=0;e<arguments.length;e++)n=n.concat(nTe(arguments[e]));return n}var gY=function(){function n(e,t){this.target=t,this.type=e}return n}(),iTe=function(n){mY(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}(gY),oTe=function(n){mY(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}(gY);/*!
* Reconnecting WebSocket
* by Pedro Ladaria <pedro.ladaria@gmail.com>
* https://github.com/pladaria/reconnecting-websocket
* License MIT
*/var W9e=function(){if(typeof WebSocket<"u")return WebSocket},G9e=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},Q9e=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=U9e(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-B_i7fJQQ.js.map
*/var aTe=function(){if(typeof WebSocket<"u")return WebSocket},sTe=function(n){return typeof n<"u"&&!!n&&n.CLOSING===2},H0={maxReconnectionDelay:1e4,minReconnectionDelay:1e3+Math.random()*4e3,minUptime:5e3,reconnectionDelayGrowFactor:1.3,connectionTimeout:4e3,maxRetries:1/0,maxEnqueuedMessages:1/0,startClosed:!1,debug:!1},lTe=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?H0.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?H0.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=tTe(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-B2XuuGjW.js.map
@@ -1 +1 @@
{"version":3,"mappings":"ijDAAA;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,CAAC,OAAUA,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,CAAI,GAAW,OAAOL,GAAlB,UAAkC,OAAOA,GAApB,YAA6BA,GAAN,KAAc,YAAM,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,KAAY,IAAAU,KAAcV,EAAE,MAAX,SAAiBa,EAAEb,EAAE,KAAcA,EAAE,MAAX,SAAiBY,EAAE,GAAGZ,EAAE,KAAKA,EAAIM,GAAA,KAAKN,EAAEU,CAAC,GAAG,CAACF,GAAE,eAAeE,CAAC,IAAIC,EAAED,CAAC,EAAEV,EAAEU,CAAC,GAAO,IAAAI,EAAE,UAAU,OAAO,EAAK,GAAIA,IAAJ,EAAMH,EAAE,SAASV,UAAU,EAAEa,EAAE,CAAC,QAAQC,EAAE,MAAMD,CAAC,EAAEE,EAAE,EAAEA,EAAEF,EAAEE,IAAMD,EAAAC,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,GAAM,GAAOlB,IAAP,KAAWkB,EAAA,eAAeD,EAAE,CAAC,IAAK,SAAS,IAAK,SAAWC,EAAA,GAAG,MAAM,IAAK,SAAS,OAAOlB,EAAE,SAAS,CAAC,KAAKb,GAAE,KAAKC,GAAI8B,EAAA,EAAE,CAAC,CAAC,GAAGA,EAAS,OAAAA,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,EAA4B,GAAxBE,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,WAAsB,IAAIpB,EAAEoB,EAAE,KAAKpB,CAAC,EAAEmB,EAAE,EAAE,EAAEF,EAAEjB,EAAE,KAAK,GAAG,MAAQiB,IAAE,MAAMG,EAAEL,EAAEW,GAAET,EAAEE,GAAG,EAAED,GAAGS,GAAEV,EAAEZ,EAAEC,EAAEc,EAAEJ,CAAC,UAAqBC,IAAX,SAAmB,MAAAZ,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,CAAI,GAAMN,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,CAAC,GAAG,CAACuB,GAAEvB,CAAC,EAAE,MAAM,MAAM,uEAAuE,EAAS,OAAAA,CAAC,CAAC,EAAoBiC,GAAA,UAAA7B,GAAmLine truncated
{"version":3,"mappings":"ijDAAA;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,CAAC,OAAUA,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,CAAI,GAAW,OAAOL,GAAlB,UAAkC,OAAOA,GAApB,YAA6BA,GAAN,KAAc,YAAM,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,KAAY,IAAAU,KAAcV,EAAE,MAAX,SAAiBa,EAAEb,EAAE,KAAcA,EAAE,MAAX,SAAiBY,EAAE,GAAGZ,EAAE,KAAKA,EAAIM,GAAA,KAAKN,EAAEU,CAAC,GAAG,CAACF,GAAE,eAAeE,CAAC,IAAIC,EAAED,CAAC,EAAEV,EAAEU,CAAC,GAAO,IAAAI,EAAE,UAAU,OAAO,EAAK,GAAIA,IAAJ,EAAMH,EAAE,SAASV,UAAU,EAAEa,EAAE,CAAC,QAAQC,EAAE,MAAMD,CAAC,EAAEE,EAAE,EAAEA,EAAEF,EAAEE,IAAMD,EAAAC,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,GAAM,GAAOlB,IAAP,KAAWkB,EAAA,eAAeD,EAAE,CAAC,IAAK,SAAS,IAAK,SAAWC,EAAA,GAAG,MAAM,IAAK,SAAS,OAAOlB,EAAE,SAAS,CAAC,KAAKb,GAAE,KAAKC,GAAI8B,EAAA,EAAE,CAAC,CAAC,GAAGA,EAAS,OAAAA,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,EAA4B,GAAxBE,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,WAAsB,IAAIpB,EAAEoB,EAAE,KAAKpB,CAAC,EAAEmB,EAAE,EAAE,EAAEF,EAAEjB,EAAE,KAAK,GAAG,MAAQiB,IAAE,MAAMG,EAAEL,EAAEW,GAAET,EAAEE,GAAG,EAAED,GAAGS,GAAEV,EAAEZ,EAAEC,EAAEc,EAAEJ,CAAC,UAAqBC,IAAX,SAAmB,MAAAZ,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,CAAI,GAAMN,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,CAAC,GAAG,CAACuB,GAAEvB,CAAC,EAAE,MAAM,MAAM,uEAAuE,EAAS,OAAAA,CAAC,CAAC,EAAoBiC,GAAA,UAAA7B,GAAmLine truncated
+1 -1
View File
@@ -37,7 +37,7 @@
}
</style>
<script type="module" crossorigin src="/maputnik/assets/index-B_i7fJQQ.js"></script>
<script type="module" crossorigin src="/maputnik/assets/index-B2XuuGjW.js"></script>
<link rel="stylesheet" crossorigin href="/maputnik/assets/index-DPkkFSSg.css">
</head>
<body>