From 8c8c7bae972655dc298ca589341345033840e6db Mon Sep 17 00:00:00 2001 From: Alexis Seurin Date: Fri, 26 Jul 2024 10:38:29 +0200 Subject: [PATCH] Updates --- .../{index-CEseI6lS.js => index-DRs2rJHb.js} | 46 +++++++++---------- assets/index-EdwF7H2a.css | 1 + assets/index-d-j9l5xf.css | 1 - index.html | 4 +- 4 files changed, 26 insertions(+), 26 deletions(-) rename assets/{index-CEseI6lS.js => index-DRs2rJHb.js} (65%) create mode 100644 assets/index-EdwF7H2a.css delete mode 100644 assets/index-d-j9l5xf.css diff --git a/assets/index-CEseI6lS.js b/assets/index-DRs2rJHb.js similarity index 65% rename from assets/index-CEseI6lS.js rename to assets/index-DRs2rJHb.js index 95aa003..38d3725 100644 --- a/assets/index-CEseI6lS.js +++ b/assets/index-DRs2rJHb.js @@ -1,4 +1,4 @@ -function c_(e,t){for(var i=0;io[l]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const l of document.querySelectorAll('link[rel="modulepreload"]'))o(l);new MutationObserver(l=>{for(const s of l)if(s.type==="childList")for(const u of s.addedNodes)u.tagName==="LINK"&&u.rel==="modulepreload"&&o(u)}).observe(document,{childList:!0,subtree:!0});function i(l){const s={};return l.integrity&&(s.integrity=l.integrity),l.referrerPolicy&&(s.referrerPolicy=l.referrerPolicy),l.crossOrigin==="use-credentials"?s.credentials="include":l.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function o(l){if(l.ep)return;l.ep=!0;const s=i(l);fetch(l.href,s)}})();var fn=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function rd(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Jo(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var i=function o(){return this instanceof o?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};i.prototype=t.prototype}else i={};return Object.defineProperty(i,"__esModule",{value:!0}),Object.keys(e).forEach(function(o){var l=Object.getOwnPropertyDescriptor(e,o);Object.defineProperty(i,o,l.get?l:{enumerable:!0,get:function(){return e[o]}})}),i}var od={exports:{}},es={},sd={exports:{}},X={};/** +function c_(e,t){for(var i=0;io[l]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const l of document.querySelectorAll('link[rel="modulepreload"]'))o(l);new MutationObserver(l=>{for(const s of l)if(s.type==="childList")for(const u of s.addedNodes)u.tagName==="LINK"&&u.rel==="modulepreload"&&o(u)}).observe(document,{childList:!0,subtree:!0});function i(l){const s={};return l.integrity&&(s.integrity=l.integrity),l.referrerPolicy&&(s.referrerPolicy=l.referrerPolicy),l.crossOrigin==="use-credentials"?s.credentials="include":l.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function o(l){if(l.ep)return;l.ep=!0;const s=i(l);fetch(l.href,s)}})();var fn=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function rd(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function es(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var i=function o(){return this instanceof o?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};i.prototype=t.prototype}else i={};return Object.defineProperty(i,"__esModule",{value:!0}),Object.keys(e).forEach(function(o){var l=Object.getOwnPropertyDescriptor(e,o);Object.defineProperty(i,o,l.get?l:{enumerable:!0,get:function(){return e[o]}})}),i}var od={exports:{}},ts={},sd={exports:{}},X={};/** * @license React * react.production.min.js * @@ -6,7 +6,7 @@ function c_(e,t){for(var i=0;i>>1,ee=z[V];if(0>>1;Vl(ne,B))Gl(Ve,ne)?(z[V]=Ve,z[G]=B,V=G):(z[V]=ne,z[se]=B,V=se);else if(Gl(Ve,B))z[V]=Ve,z[G]=B,V=G;else break e}}return q}function l(z,q){var B=z.sortIndex-q.sortIndex;return B!==0?B:z.id-q.id}if(typeof performance=="object"&&typeof performance.now=="function"){var s=performance;e.unstable_now=function(){return s.now()}}else{var u=Date,h=u.now();e.unstable_now=function(){return u.now()-h}}var f=[],p=[],g=1,v=null,w=3,S=!1,E=!1,k=!1,A=typeof setTimeout=="function"?setTimeout:null,y=typeof clearTimeout=="function"?clearTimeout:null,x=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function C(z){for(var q=i(p);q!==null;){if(q.callback===null)o(p);else if(q.startTime<=z)o(p),q.sortIndex=q.expirationTime,t(f,q);else break;q=i(p)}}function N(z){if(k=!1,C(z),!E)if(i(f)!==null)E=!0,Ne(I);else{var q=i(p);q!==null&&jt(N,q.startTime-z)}}function I(z,q){E=!1,k&&(k=!1,y(F),F=-1),S=!0;var B=w;try{for(C(q),v=i(f);v!==null&&(!(v.expirationTime>q)||z&&!re());){var V=v.callback;if(typeof V=="function"){v.callback=null,w=v.priorityLevel;var ee=V(v.expirationTime<=q);q=e.unstable_now(),typeof ee=="function"?v.callback=ee:v===i(f)&&o(f),C(q)}else o(f);v=i(f)}if(v!==null)var Se=!0;else{var se=i(p);se!==null&&jt(N,se.startTime-q),Se=!1}return Se}finally{v=null,w=B,S=!1}}var b=!1,Z=null,F=-1,ae=5,Q=-1;function re(){return!(e.unstable_now()-Qz||125V?(z.sortIndex=B,t(p,z),i(f)===null&&z===i(p)&&(k?(y(F),F=-1):k=!0,jt(N,B-V))):(z.sortIndex=ee,t(f,z),E||S||(E=!0,Ne(I))),z},e.unstable_shouldYield=re,e.unstable_wrapCallback=function(z){var q=w;return function(){var B=w;w=q;try{return z.apply(this,arguments)}finally{w=B}}}})(gd);vd.exports=gd;var j_=vd.exports;/** + */(function(e){function t(z,q){var B=z.length;z.push(q);e:for(;0>>1,ee=z[V];if(0>>1;Vl(ne,B))Gl(We,ne)?(z[V]=We,z[G]=B,V=G):(z[V]=ne,z[ae]=B,V=ae);else if(Gl(We,B))z[V]=We,z[G]=B,V=G;else break e}}return q}function l(z,q){var B=z.sortIndex-q.sortIndex;return B!==0?B:z.id-q.id}if(typeof performance=="object"&&typeof performance.now=="function"){var s=performance;e.unstable_now=function(){return s.now()}}else{var u=Date,h=u.now();e.unstable_now=function(){return u.now()-h}}var f=[],m=[],v=1,g=null,y=3,S=!1,E=!1,k=!1,I=typeof setTimeout=="function"?setTimeout:null,x=typeof clearTimeout=="function"?clearTimeout:null,w=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function C(z){for(var q=i(m);q!==null;){if(q.callback===null)o(m);else if(q.startTime<=z)o(m),q.sortIndex=q.expirationTime,t(f,q);else break;q=i(m)}}function N(z){if(k=!1,C(z),!E)if(i(f)!==null)E=!0,Se(A);else{var q=i(m);q!==null&&jt(N,q.startTime-z)}}function A(z,q){E=!1,k&&(k=!1,x(R),R=-1),S=!0;var B=y;try{for(C(q),g=i(f);g!==null&&(!(g.expirationTime>q)||z&&!se());){var V=g.callback;if(typeof V=="function"){g.callback=null,y=g.priorityLevel;var ee=V(g.expirationTime<=q);q=e.unstable_now(),typeof ee=="function"?g.callback=ee:g===i(f)&&o(f),C(q)}else o(f);g=i(f)}if(g!==null)var Ce=!0;else{var ae=i(m);ae!==null&&jt(N,ae.startTime-q),Ce=!1}return Ce}finally{g=null,y=B,S=!1}}var b=!1,F=null,R=-1,oe=5,Q=-1;function se(){return!(e.unstable_now()-Qz||125V?(z.sortIndex=B,t(m,z),i(f)===null&&z===i(m)&&(k?(x(R),R=-1):k=!0,jt(N,B-V))):(z.sortIndex=ee,t(f,z),E||S||(E=!0,Se(A))),z},e.unstable_shouldYield=se,e.unstable_wrapCallback=function(z){var q=y;return function(){var B=y;y=q;try{return z.apply(this,arguments)}finally{y=B}}}})(gd);vd.exports=gd;var j_=vd.exports;/** * @license React * react-dom.production.min.js * @@ -30,14 +30,14 @@ function c_(e,t){for(var i=0;i"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),ka=Object.prototype.hasOwnProperty,A_=/^[: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]*$/,Fc={},Hc={};function B_(e){return ka.call(Hc,e)?!0:ka.call(Fc,e)?!1:A_.test(e)?Hc[e]=!0:(Fc[e]=!0,!1)}function R_(e,t,i,o){if(i!==null&&i.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return o?!1:i!==null?!i.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function Z_(e,t,i,o){if(t===null||typeof t>"u"||R_(e,t,i,o))return!0;if(o)return!1;if(i!==null)switch(i.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function Ue(e,t,i,o,l,s,u){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=o,this.attributeNamespace=l,this.mustUseProperty=i,this.propertyName=e,this.type=t,this.sanitizeURL=s,this.removeEmptyString=u}var Ie={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Ie[e]=new Ue(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];Ie[t]=new Ue(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){Ie[e]=new Ue(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Ie[e]=new Ue(e,2,!1,e,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(e){Ie[e]=new Ue(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){Ie[e]=new Ue(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){Ie[e]=new Ue(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){Ie[e]=new Ue(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){Ie[e]=new Ue(e,5,!1,e.toLowerCase(),null,!1,!1)});var El=/[\-:]([a-z])/g;function Ml(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-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(e){var t=e.replace(El,Ml);Ie[t]=new Ue(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(El,Ml);Ie[t]=new Ue(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(El,Ml);Ie[t]=new Ue(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){Ie[e]=new Ue(e,1,!1,e.toLowerCase(),null,!1,!1)});Ie.xlinkHref=new Ue("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){Ie[e]=new Ue(e,1,!1,e.toLowerCase(),null,!0,!0)});function Nl(e,t,i,o){var l=Ie.hasOwnProperty(t)?Ie[t]:null;(l!==null?l.type!==0:o||!(2"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),ka=Object.prototype.hasOwnProperty,A_=/^[: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]*$/,Fc={},Hc={};function B_(e){return ka.call(Hc,e)?!0:ka.call(Fc,e)?!1:A_.test(e)?Hc[e]=!0:(Fc[e]=!0,!1)}function R_(e,t,i,o){if(i!==null&&i.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return o?!1:i!==null?!i.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function Z_(e,t,i,o){if(t===null||typeof t>"u"||R_(e,t,i,o))return!0;if(o)return!1;if(i!==null)switch(i.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function Ue(e,t,i,o,l,s,u){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=o,this.attributeNamespace=l,this.mustUseProperty=i,this.propertyName=e,this.type=t,this.sanitizeURL=s,this.removeEmptyString=u}var Ie={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Ie[e]=new Ue(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];Ie[t]=new Ue(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){Ie[e]=new Ue(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Ie[e]=new Ue(e,2,!1,e,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(e){Ie[e]=new Ue(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){Ie[e]=new Ue(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){Ie[e]=new Ue(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){Ie[e]=new Ue(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){Ie[e]=new Ue(e,5,!1,e.toLowerCase(),null,!1,!1)});var El=/[\-:]([a-z])/g;function Ml(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-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(e){var t=e.replace(El,Ml);Ie[t]=new Ue(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(El,Ml);Ie[t]=new Ue(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(El,Ml);Ie[t]=new Ue(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){Ie[e]=new Ue(e,1,!1,e.toLowerCase(),null,!1,!1)});Ie.xlinkHref=new Ue("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){Ie[e]=new Ue(e,1,!1,e.toLowerCase(),null,!0,!0)});function Nl(e,t,i,o){var l=Ie.hasOwnProperty(t)?Ie[t]:null;(l!==null?l.type!==0:o||!(2h||l[u]!==s[h]){var f=` -`+l[u].replace(" at new "," at ");return e.displayName&&f.includes("")&&(f=f.replace("",e.displayName)),f}while(1<=u&&0<=h);break}}}finally{ea=!1,Error.prepareStackTrace=i}return(e=e?e.displayName||e.name:"")?Ki(e):""}function D_(e){switch(e.tag){case 5:return Ki(e.type);case 16:return Ki("Lazy");case 13:return Ki("Suspense");case 19:return Ki("SuspenseList");case 0:case 2:case 15:return e=ta(e.type,!1),e;case 11:return e=ta(e.type.render,!1),e;case 1:return e=ta(e.type,!0),e;default:return""}}function Na(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case $n:return"Fragment";case Qn:return"Portal";case Ta:return"Profiler";case zl:return"StrictMode";case Ea:return"Suspense";case Ma:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case xd:return(e.displayName||"Context")+".Consumer";case wd:return(e._context.displayName||"Context")+".Provider";case Ol:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case jl:return t=e.displayName||null,t!==null?t:Na(e.type)||"Memo";case Xt:t=e._payload,e=e._init;try{return Na(e(t))}catch{}}return null}function b_(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Na(t);case 8:return t===zl?"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 t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function pn(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Pd(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function F_(e){var t=Pd(e)?"checked":"value",i=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),o=""+e[t];if(!e.hasOwnProperty(t)&&typeof i<"u"&&typeof i.get=="function"&&typeof i.set=="function"){var l=i.get,s=i.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return l.call(this)},set:function(u){o=""+u,s.call(this,u)}}),Object.defineProperty(e,t,{enumerable:i.enumerable}),{getValue:function(){return o},setValue:function(u){o=""+u},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Jr(e){e._valueTracker||(e._valueTracker=F_(e))}function Sd(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var i=t.getValue(),o="";return e&&(o=Pd(e)?e.checked?"true":"false":e.value),e=o,e!==i?(t.setValue(e),!0):!1}function Eo(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function za(e,t){var i=t.checked;return _e({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:i??e._wrapperState.initialChecked})}function Wc(e,t){var i=t.defaultValue==null?"":t.defaultValue,o=t.checked!=null?t.checked:t.defaultChecked;i=pn(t.value!=null?t.value:i),e._wrapperState={initialChecked:o,initialValue:i,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function Cd(e,t){t=t.checked,t!=null&&Nl(e,"checked",t,!1)}function Oa(e,t){Cd(e,t);var i=pn(t.value),o=t.type;if(i!=null)o==="number"?(i===0&&e.value===""||e.value!=i)&&(e.value=""+i):e.value!==""+i&&(e.value=""+i);else if(o==="submit"||o==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?ja(e,t.type,i):t.hasOwnProperty("defaultValue")&&ja(e,t.type,pn(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Vc(e,t,i){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var o=t.type;if(!(o!=="submit"&&o!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,i||t===e.value||(e.value=t),e.defaultValue=t}i=e.name,i!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,i!==""&&(e.name=i)}function ja(e,t,i){(t!=="number"||Eo(e.ownerDocument)!==e)&&(i==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+i&&(e.defaultValue=""+i))}var Qi=Array.isArray;function li(e,t,i,o){if(e=e.options,t){t={};for(var l=0;l"+t.valueOf().toString()+"",t=eo.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function ur(e,t){if(t){var i=e.firstChild;if(i&&i===e.lastChild&&i.nodeType===3){i.nodeValue=t;return}}e.textContent=t}var Xi={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},H_=["Webkit","ms","Moz","O"];Object.keys(Xi).forEach(function(e){H_.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Xi[t]=Xi[e]})});function Md(e,t,i){return t==null||typeof t=="boolean"||t===""?"":i||typeof t!="number"||t===0||Xi.hasOwnProperty(e)&&Xi[e]?(""+t).trim():t+"px"}function Nd(e,t){e=e.style;for(var i in t)if(t.hasOwnProperty(i)){var o=i.indexOf("--")===0,l=Md(i,t[i],o);i==="float"&&(i="cssFloat"),o?e.setProperty(i,l):e[i]=l}}var U_=_e({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Ba(e,t){if(t){if(U_[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(j(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(j(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(j(61))}if(t.style!=null&&typeof t.style!="object")throw Error(j(62))}}function Ra(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Za=null;function Il(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Da=null,ui=null,ci=null;function Kc(e){if(e=Er(e)){if(typeof Da!="function")throw Error(j(280));var t=e.stateNode;t&&(t=os(t),Da(e.stateNode,e.type,t))}}function zd(e){ui?ci?ci.push(e):ci=[e]:ui=e}function Od(){if(ui){var e=ui,t=ci;if(ci=ui=null,Kc(e),t)for(e=0;e>>=0,e===0?32:31-(ev(e)/tv|0)|0}var to=64,no=4194304;function $i(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function Oo(e,t){var i=e.pendingLanes;if(i===0)return 0;var o=0,l=e.suspendedLanes,s=e.pingedLanes,u=i&268435455;if(u!==0){var h=u&~l;h!==0?o=$i(h):(s&=u,s!==0&&(o=$i(s)))}else u=i&~l,u!==0?o=$i(u):s!==0&&(o=$i(s));if(o===0)return 0;if(t!==0&&t!==o&&!(t&l)&&(l=o&-o,s=t&-t,l>=s||l===16&&(s&4194240)!==0))return t;if(o&4&&(o|=i&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=o;0i;i++)t.push(e);return t}function kr(e,t,i){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-wt(t),e[t]=i}function ov(e,t){var i=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var o=e.eventTimes;for(e=e.expirationTimes;0=er),ih=" ",rh=!1;function Xd(e,t){switch(e){case"keyup":return jv.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Jd(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Yn=!1;function Av(e,t){switch(e){case"compositionend":return Jd(t);case"keypress":return t.which!==32?null:(rh=!0,ih);case"textInput":return e=t.data,e===ih&&rh?null:e;default:return null}}function Bv(e,t){if(Yn)return e==="compositionend"||!Hl&&Xd(e,t)?(e=$d(),yo=Dl=nn=null,Yn=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:i,offset:t-e};e=o}e:{for(;i;){if(i.nextSibling){i=i.nextSibling;break e}i=i.parentNode}i=void 0}i=lh(i)}}function rf(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?rf(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function of(){for(var e=window,t=Eo();t instanceof e.HTMLIFrameElement;){try{var i=typeof t.contentWindow.location.href=="string"}catch{i=!1}if(i)e=t.contentWindow;else break;t=Eo(e.document)}return t}function Ul(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function Vv(e){var t=of(),i=e.focusedElem,o=e.selectionRange;if(t!==i&&i&&i.ownerDocument&&rf(i.ownerDocument.documentElement,i)){if(o!==null&&Ul(i)){if(t=o.start,e=o.end,e===void 0&&(e=t),"selectionStart"in i)i.selectionStart=t,i.selectionEnd=Math.min(e,i.value.length);else if(e=(t=i.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var l=i.textContent.length,s=Math.min(o.start,l);o=o.end===void 0?s:Math.min(o.end,l),!e.extend&&s>o&&(l=o,o=s,s=l),l=uh(i,s);var u=uh(i,o);l&&u&&(e.rangeCount!==1||e.anchorNode!==l.node||e.anchorOffset!==l.offset||e.focusNode!==u.node||e.focusOffset!==u.offset)&&(t=t.createRange(),t.setStart(l.node,l.offset),e.removeAllRanges(),s>o?(e.addRange(t),e.extend(u.node,u.offset)):(t.setEnd(u.node,u.offset),e.addRange(t)))}}for(t=[],e=i;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof i.focus=="function"&&i.focus(),i=0;i=document.documentMode,Xn=null,Va=null,nr=null,qa=!1;function ch(e,t,i){var o=i.window===i?i.document:i.nodeType===9?i:i.ownerDocument;qa||Xn==null||Xn!==Eo(o)||(o=Xn,"selectionStart"in o&&Ul(o)?o={start:o.selectionStart,end:o.selectionEnd}:(o=(o.ownerDocument&&o.ownerDocument.defaultView||window).getSelection(),o={anchorNode:o.anchorNode,anchorOffset:o.anchorOffset,focusNode:o.focusNode,focusOffset:o.focusOffset}),nr&&mr(nr,o)||(nr=o,o=Ao(Va,"onSelect"),0ti||(e.current=Xa[ti],Xa[ti]=null,ti--)}function ue(e,t){ti++,Xa[ti]=e.current,e.current=t}var mn={},Ze=vn(mn),Qe=vn(!1),On=mn;function mi(e,t){var i=e.type.contextTypes;if(!i)return mn;var o=e.stateNode;if(o&&o.__reactInternalMemoizedUnmaskedChildContext===t)return o.__reactInternalMemoizedMaskedChildContext;var l={},s;for(s in i)l[s]=t[s];return o&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=l),l}function $e(e){return e=e.childContextTypes,e!=null}function Ro(){he(Qe),he(Ze)}function vh(e,t,i){if(Ze.current!==mn)throw Error(j(168));ue(Ze,t),ue(Qe,i)}function pf(e,t,i){var o=e.stateNode;if(t=t.childContextTypes,typeof o.getChildContext!="function")return i;o=o.getChildContext();for(var l in o)if(!(l in t))throw Error(j(108,b_(e)||"Unknown",l));return _e({},i,o)}function Zo(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||mn,On=Ze.current,ue(Ze,e),ue(Qe,Qe.current),!0}function gh(e,t,i){var o=e.stateNode;if(!o)throw Error(j(169));i?(e=pf(e,t,On),o.__reactInternalMemoizedMergedChildContext=e,he(Qe),he(Ze),ue(Ze,e)):he(Qe),ue(Qe,i)}var Dt=null,ss=!1,ma=!1;function mf(e){Dt===null?Dt=[e]:Dt.push(e)}function ig(e){ss=!0,mf(e)}function gn(){if(!ma&&Dt!==null){ma=!0;var e=0,t=oe;try{var i=Dt;for(oe=1;e>=u,l-=u,bt=1<<32-wt(t)+l|i<F?(ae=Z,Z=null):ae=Z.sibling;var Q=w(y,Z,C[F],N);if(Q===null){Z===null&&(Z=ae);break}e&&Z&&Q.alternate===null&&t(y,Z),x=s(Q,x,F),b===null?I=Q:b.sibling=Q,b=Q,Z=ae}if(F===C.length)return i(y,Z),de&&Sn(y,F),I;if(Z===null){for(;FF?(ae=Z,Z=null):ae=Z.sibling;var re=w(y,Z,Q.value,N);if(re===null){Z===null&&(Z=ae);break}e&&Z&&re.alternate===null&&t(y,Z),x=s(re,x,F),b===null?I=re:b.sibling=re,b=re,Z=ae}if(Q.done)return i(y,Z),de&&Sn(y,F),I;if(Z===null){for(;!Q.done;F++,Q=C.next())Q=v(y,Q.value,N),Q!==null&&(x=s(Q,x,F),b===null?I=Q:b.sibling=Q,b=Q);return de&&Sn(y,F),I}for(Z=o(y,Z);!Q.done;F++,Q=C.next())Q=S(Z,y,F,Q.value,N),Q!==null&&(e&&Q.alternate!==null&&Z.delete(Q.key===null?F:Q.key),x=s(Q,x,F),b===null?I=Q:b.sibling=Q,b=Q);return e&&Z.forEach(function(Pe){return t(y,Pe)}),de&&Sn(y,F),I}function A(y,x,C,N){if(typeof C=="object"&&C!==null&&C.type===$n&&C.key===null&&(C=C.props.children),typeof C=="object"&&C!==null){switch(C.$$typeof){case Xr:e:{for(var I=C.key,b=x;b!==null;){if(b.key===I){if(I=C.type,I===$n){if(b.tag===7){i(y,b.sibling),x=l(b,C.props.children),x.return=y,y=x;break e}}else if(b.elementType===I||typeof I=="object"&&I!==null&&I.$$typeof===Xt&&xh(I)===b.type){i(y,b.sibling),x=l(b,C.props),x.ref=Vi(y,b,C),x.return=y,y=x;break e}i(y,b);break}else t(y,b);b=b.sibling}C.type===$n?(x=zn(C.props.children,y.mode,N,C.key),x.return=y,y=x):(N=To(C.type,C.key,C.props,null,y.mode,N),N.ref=Vi(y,x,C),N.return=y,y=N)}return u(y);case Qn:e:{for(b=C.key;x!==null;){if(x.key===b)if(x.tag===4&&x.stateNode.containerInfo===C.containerInfo&&x.stateNode.implementation===C.implementation){i(y,x.sibling),x=l(x,C.children||[]),x.return=y,y=x;break e}else{i(y,x);break}else t(y,x);x=x.sibling}x=Pa(C,y.mode,N),x.return=y,y=x}return u(y);case Xt:return b=C._init,A(y,x,b(C._payload),N)}if(Qi(C))return E(y,x,C,N);if(bi(C))return k(y,x,C,N);uo(y,C)}return typeof C=="string"&&C!==""||typeof C=="number"?(C=""+C,x!==null&&x.tag===6?(i(y,x.sibling),x=l(x,C),x.return=y,y=x):(i(y,x),x=La(C,y.mode,N),x.return=y,y=x),u(y)):i(y,x)}return A}var vi=yf(!0),wf=yf(!1),Fo=vn(null),Ho=null,ri=null,Gl=null;function Kl(){Gl=ri=Ho=null}function Ql(e){var t=Fo.current;he(Fo),e._currentValue=t}function tl(e,t,i){for(;e!==null;){var o=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,o!==null&&(o.childLanes|=t)):o!==null&&(o.childLanes&t)!==t&&(o.childLanes|=t),e===i)break;e=e.return}}function di(e,t){Ho=e,Gl=ri=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(Ke=!0),e.firstContext=null)}function dt(e){var t=e._currentValue;if(Gl!==e)if(e={context:e,memoizedValue:t,next:null},ri===null){if(Ho===null)throw Error(j(308));ri=e,Ho.dependencies={lanes:0,firstContext:e}}else ri=ri.next=e;return t}var Tn=null;function $l(e){Tn===null?Tn=[e]:Tn.push(e)}function xf(e,t,i,o){var l=t.interleaved;return l===null?(i.next=i,$l(t)):(i.next=l.next,l.next=i),t.interleaved=i,Vt(e,o)}function Vt(e,t){e.lanes|=t;var i=e.alternate;for(i!==null&&(i.lanes|=t),i=e,e=e.return;e!==null;)e.childLanes|=t,i=e.alternate,i!==null&&(i.childLanes|=t),i=e,e=e.return;return i.tag===3?i.stateNode:null}var Jt=!1;function Yl(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Lf(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Ht(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function un(e,t,i){var o=e.updateQueue;if(o===null)return null;if(o=o.shared,te&2){var l=o.pending;return l===null?t.next=t:(t.next=l.next,l.next=t),o.pending=t,Vt(e,i)}return l=o.interleaved,l===null?(t.next=t,$l(o)):(t.next=l.next,l.next=t),o.interleaved=t,Vt(e,i)}function xo(e,t,i){if(t=t.updateQueue,t!==null&&(t=t.shared,(i&4194240)!==0)){var o=t.lanes;o&=e.pendingLanes,i|=o,t.lanes=i,Bl(e,i)}}function Lh(e,t){var i=e.updateQueue,o=e.alternate;if(o!==null&&(o=o.updateQueue,i===o)){var l=null,s=null;if(i=i.firstBaseUpdate,i!==null){do{var u={eventTime:i.eventTime,lane:i.lane,tag:i.tag,payload:i.payload,callback:i.callback,next:null};s===null?l=s=u:s=s.next=u,i=i.next}while(i!==null);s===null?l=s=t:s=s.next=t}else l=s=t;i={baseState:o.baseState,firstBaseUpdate:l,lastBaseUpdate:s,shared:o.shared,effects:o.effects},e.updateQueue=i;return}e=i.lastBaseUpdate,e===null?i.firstBaseUpdate=t:e.next=t,i.lastBaseUpdate=t}function Uo(e,t,i,o){var l=e.updateQueue;Jt=!1;var s=l.firstBaseUpdate,u=l.lastBaseUpdate,h=l.shared.pending;if(h!==null){l.shared.pending=null;var f=h,p=f.next;f.next=null,u===null?s=p:u.next=p,u=f;var g=e.alternate;g!==null&&(g=g.updateQueue,h=g.lastBaseUpdate,h!==u&&(h===null?g.firstBaseUpdate=p:h.next=p,g.lastBaseUpdate=f))}if(s!==null){var v=l.baseState;u=0,g=p=f=null,h=s;do{var w=h.lane,S=h.eventTime;if((o&w)===w){g!==null&&(g=g.next={eventTime:S,lane:0,tag:h.tag,payload:h.payload,callback:h.callback,next:null});e:{var E=e,k=h;switch(w=t,S=i,k.tag){case 1:if(E=k.payload,typeof E=="function"){v=E.call(S,v,w);break e}v=E;break e;case 3:E.flags=E.flags&-65537|128;case 0:if(E=k.payload,w=typeof E=="function"?E.call(S,v,w):E,w==null)break e;v=_e({},v,w);break e;case 2:Jt=!0}}h.callback!==null&&h.lane!==0&&(e.flags|=64,w=l.effects,w===null?l.effects=[h]:w.push(h))}else S={eventTime:S,lane:w,tag:h.tag,payload:h.payload,callback:h.callback,next:null},g===null?(p=g=S,f=v):g=g.next=S,u|=w;if(h=h.next,h===null){if(h=l.shared.pending,h===null)break;w=h,h=w.next,w.next=null,l.lastBaseUpdate=w,l.shared.pending=null}}while(!0);if(g===null&&(f=v),l.baseState=f,l.firstBaseUpdate=p,l.lastBaseUpdate=g,t=l.shared.interleaved,t!==null){l=t;do u|=l.lane,l=l.next;while(l!==t)}else s===null&&(l.shared.lanes=0);An|=u,e.lanes=u,e.memoizedState=v}}function Ph(e,t,i){if(e=t.effects,t.effects=null,e!==null)for(t=0;ti?i:4,e(!0);var o=va.transition;va.transition={};try{e(!1),t()}finally{oe=i,va.transition=o}}function Df(){return ft().memoizedState}function ag(e,t,i){var o=hn(e);if(i={lane:o,action:i,hasEagerState:!1,eagerState:null,next:null},bf(e))Ff(t,i);else if(i=xf(e,t,i,o),i!==null){var l=Fe();xt(i,e,o,l),Hf(i,t,o)}}function lg(e,t,i){var o=hn(e),l={lane:o,action:i,hasEagerState:!1,eagerState:null,next:null};if(bf(e))Ff(t,l);else{var s=e.alternate;if(e.lanes===0&&(s===null||s.lanes===0)&&(s=t.lastRenderedReducer,s!==null))try{var u=t.lastRenderedState,h=s(u,i);if(l.hasEagerState=!0,l.eagerState=h,Lt(h,u)){var f=t.interleaved;f===null?(l.next=l,$l(t)):(l.next=f.next,f.next=l),t.interleaved=l;return}}catch{}finally{}i=xf(e,t,l,o),i!==null&&(l=Fe(),xt(i,e,o,l),Hf(i,t,o))}}function bf(e){var t=e.alternate;return e===me||t!==null&&t===me}function Ff(e,t){ir=Vo=!0;var i=e.pending;i===null?t.next=t:(t.next=i.next,i.next=t),e.pending=t}function Hf(e,t,i){if(i&4194240){var o=t.lanes;o&=e.pendingLanes,i|=o,t.lanes=i,Bl(e,i)}}var qo={readContext:dt,useCallback:Ae,useContext:Ae,useEffect:Ae,useImperativeHandle:Ae,useInsertionEffect:Ae,useLayoutEffect:Ae,useMemo:Ae,useReducer:Ae,useRef:Ae,useState:Ae,useDebugValue:Ae,useDeferredValue:Ae,useTransition:Ae,useMutableSource:Ae,useSyncExternalStore:Ae,useId:Ae,unstable_isNewReconciler:!1},ug={readContext:dt,useCallback:function(e,t){return Mt().memoizedState=[e,t===void 0?null:t],e},useContext:dt,useEffect:Ch,useImperativeHandle:function(e,t,i){return i=i!=null?i.concat([e]):null,Po(4194308,4,If.bind(null,t,e),i)},useLayoutEffect:function(e,t){return Po(4194308,4,e,t)},useInsertionEffect:function(e,t){return Po(4,2,e,t)},useMemo:function(e,t){var i=Mt();return t=t===void 0?null:t,e=e(),i.memoizedState=[e,t],e},useReducer:function(e,t,i){var o=Mt();return t=i!==void 0?i(t):t,o.memoizedState=o.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},o.queue=e,e=e.dispatch=ag.bind(null,me,e),[o.memoizedState,e]},useRef:function(e){var t=Mt();return e={current:e},t.memoizedState=e},useState:Sh,useDebugValue:ou,useDeferredValue:function(e){return Mt().memoizedState=e},useTransition:function(){var e=Sh(!1),t=e[0];return e=sg.bind(null,e[1]),Mt().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,i){var o=me,l=Mt();if(de){if(i===void 0)throw Error(j(407));i=i()}else{if(i=t(),Me===null)throw Error(j(349));In&30||kf(o,t,i)}l.memoizedState=i;var s={value:i,getSnapshot:t};return l.queue=s,Ch(Ef.bind(null,o,s,e),[e]),o.flags|=2048,Pr(9,Tf.bind(null,o,s,i,t),void 0,null),i},useId:function(){var e=Mt(),t=Me.identifierPrefix;if(de){var i=Ft,o=bt;i=(o&~(1<<32-wt(o)-1)).toString(32)+i,t=":"+t+"R"+i,i=xr++,0")&&(f=f.replace("",e.displayName)),f}while(1<=u&&0<=h);break}}}finally{ea=!1,Error.prepareStackTrace=i}return(e=e?e.displayName||e.name:"")?Qi(e):""}function D_(e){switch(e.tag){case 5:return Qi(e.type);case 16:return Qi("Lazy");case 13:return Qi("Suspense");case 19:return Qi("SuspenseList");case 0:case 2:case 15:return e=ta(e.type,!1),e;case 11:return e=ta(e.type.render,!1),e;case 1:return e=ta(e.type,!0),e;default:return""}}function Na(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Yn:return"Fragment";case $n:return"Portal";case Ta:return"Profiler";case zl:return"StrictMode";case Ea:return"Suspense";case Ma:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case xd:return(e.displayName||"Context")+".Consumer";case wd:return(e._context.displayName||"Context")+".Provider";case Ol:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case jl:return t=e.displayName||null,t!==null?t:Na(e.type)||"Memo";case Xt:t=e._payload,e=e._init;try{return Na(e(t))}catch{}}return null}function b_(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Na(t);case 8:return t===zl?"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 t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function pn(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Pd(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function F_(e){var t=Pd(e)?"checked":"value",i=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),o=""+e[t];if(!e.hasOwnProperty(t)&&typeof i<"u"&&typeof i.get=="function"&&typeof i.set=="function"){var l=i.get,s=i.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return l.call(this)},set:function(u){o=""+u,s.call(this,u)}}),Object.defineProperty(e,t,{enumerable:i.enumerable}),{getValue:function(){return o},setValue:function(u){o=""+u},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function eo(e){e._valueTracker||(e._valueTracker=F_(e))}function Sd(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var i=t.getValue(),o="";return e&&(o=Pd(e)?e.checked?"true":"false":e.value),e=o,e!==i?(t.setValue(e),!0):!1}function Mo(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function za(e,t){var i=t.checked;return ve({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:i??e._wrapperState.initialChecked})}function Wc(e,t){var i=t.defaultValue==null?"":t.defaultValue,o=t.checked!=null?t.checked:t.defaultChecked;i=pn(t.value!=null?t.value:i),e._wrapperState={initialChecked:o,initialValue:i,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function Cd(e,t){t=t.checked,t!=null&&Nl(e,"checked",t,!1)}function Oa(e,t){Cd(e,t);var i=pn(t.value),o=t.type;if(i!=null)o==="number"?(i===0&&e.value===""||e.value!=i)&&(e.value=""+i):e.value!==""+i&&(e.value=""+i);else if(o==="submit"||o==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?ja(e,t.type,i):t.hasOwnProperty("defaultValue")&&ja(e,t.type,pn(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Vc(e,t,i){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var o=t.type;if(!(o!=="submit"&&o!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,i||t===e.value||(e.value=t),e.defaultValue=t}i=e.name,i!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,i!==""&&(e.name=i)}function ja(e,t,i){(t!=="number"||Mo(e.ownerDocument)!==e)&&(i==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+i&&(e.defaultValue=""+i))}var $i=Array.isArray;function ui(e,t,i,o){if(e=e.options,t){t={};for(var l=0;l"+t.valueOf().toString()+"",t=to.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function cr(e,t){if(t){var i=e.firstChild;if(i&&i===e.lastChild&&i.nodeType===3){i.nodeValue=t;return}}e.textContent=t}var Ji={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},H_=["Webkit","ms","Moz","O"];Object.keys(Ji).forEach(function(e){H_.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Ji[t]=Ji[e]})});function Md(e,t,i){return t==null||typeof t=="boolean"||t===""?"":i||typeof t!="number"||t===0||Ji.hasOwnProperty(e)&&Ji[e]?(""+t).trim():t+"px"}function Nd(e,t){e=e.style;for(var i in t)if(t.hasOwnProperty(i)){var o=i.indexOf("--")===0,l=Md(i,t[i],o);i==="float"&&(i="cssFloat"),o?e.setProperty(i,l):e[i]=l}}var U_=ve({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Ba(e,t){if(t){if(U_[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(j(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(j(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(j(61))}if(t.style!=null&&typeof t.style!="object")throw Error(j(62))}}function Ra(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Za=null;function Il(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Da=null,ci=null,hi=null;function Kc(e){if(e=Mr(e)){if(typeof Da!="function")throw Error(j(280));var t=e.stateNode;t&&(t=ss(t),Da(e.stateNode,e.type,t))}}function zd(e){ci?hi?hi.push(e):hi=[e]:ci=e}function Od(){if(ci){var e=ci,t=hi;if(hi=ci=null,Kc(e),t)for(e=0;e>>=0,e===0?32:31-(ev(e)/tv|0)|0}var no=64,io=4194304;function Yi(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function jo(e,t){var i=e.pendingLanes;if(i===0)return 0;var o=0,l=e.suspendedLanes,s=e.pingedLanes,u=i&268435455;if(u!==0){var h=u&~l;h!==0?o=Yi(h):(s&=u,s!==0&&(o=Yi(s)))}else u=i&~l,u!==0?o=Yi(u):s!==0&&(o=Yi(s));if(o===0)return 0;if(t!==0&&t!==o&&!(t&l)&&(l=o&-o,s=t&-t,l>=s||l===16&&(s&4194240)!==0))return t;if(o&4&&(o|=i&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=o;0i;i++)t.push(e);return t}function Tr(e,t,i){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-wt(t),e[t]=i}function ov(e,t){var i=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var o=e.eventTimes;for(e=e.expirationTimes;0=tr),ih=" ",rh=!1;function Xd(e,t){switch(e){case"keyup":return jv.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Jd(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Xn=!1;function Av(e,t){switch(e){case"compositionend":return Jd(t);case"keypress":return t.which!==32?null:(rh=!0,ih);case"textInput":return e=t.data,e===ih&&rh?null:e;default:return null}}function Bv(e,t){if(Xn)return e==="compositionend"||!Hl&&Xd(e,t)?(e=$d(),wo=Dl=nn=null,Xn=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:i,offset:t-e};e=o}e:{for(;i;){if(i.nextSibling){i=i.nextSibling;break e}i=i.parentNode}i=void 0}i=lh(i)}}function rf(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?rf(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function of(){for(var e=window,t=Mo();t instanceof e.HTMLIFrameElement;){try{var i=typeof t.contentWindow.location.href=="string"}catch{i=!1}if(i)e=t.contentWindow;else break;t=Mo(e.document)}return t}function Ul(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function Vv(e){var t=of(),i=e.focusedElem,o=e.selectionRange;if(t!==i&&i&&i.ownerDocument&&rf(i.ownerDocument.documentElement,i)){if(o!==null&&Ul(i)){if(t=o.start,e=o.end,e===void 0&&(e=t),"selectionStart"in i)i.selectionStart=t,i.selectionEnd=Math.min(e,i.value.length);else if(e=(t=i.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var l=i.textContent.length,s=Math.min(o.start,l);o=o.end===void 0?s:Math.min(o.end,l),!e.extend&&s>o&&(l=o,o=s,s=l),l=uh(i,s);var u=uh(i,o);l&&u&&(e.rangeCount!==1||e.anchorNode!==l.node||e.anchorOffset!==l.offset||e.focusNode!==u.node||e.focusOffset!==u.offset)&&(t=t.createRange(),t.setStart(l.node,l.offset),e.removeAllRanges(),s>o?(e.addRange(t),e.extend(u.node,u.offset)):(t.setEnd(u.node,u.offset),e.addRange(t)))}}for(t=[],e=i;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof i.focus=="function"&&i.focus(),i=0;i=document.documentMode,Jn=null,Va=null,ir=null,qa=!1;function ch(e,t,i){var o=i.window===i?i.document:i.nodeType===9?i:i.ownerDocument;qa||Jn==null||Jn!==Mo(o)||(o=Jn,"selectionStart"in o&&Ul(o)?o={start:o.selectionStart,end:o.selectionEnd}:(o=(o.ownerDocument&&o.ownerDocument.defaultView||window).getSelection(),o={anchorNode:o.anchorNode,anchorOffset:o.anchorOffset,focusNode:o.focusNode,focusOffset:o.focusOffset}),ir&&_r(ir,o)||(ir=o,o=Bo(Va,"onSelect"),0ni||(e.current=Xa[ni],Xa[ni]=null,ni--)}function ue(e,t){ni++,Xa[ni]=e.current,e.current=t}var mn={},Ze=vn(mn),Ke=vn(!1),On=mn;function _i(e,t){var i=e.type.contextTypes;if(!i)return mn;var o=e.stateNode;if(o&&o.__reactInternalMemoizedUnmaskedChildContext===t)return o.__reactInternalMemoizedMaskedChildContext;var l={},s;for(s in i)l[s]=t[s];return o&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=l),l}function Qe(e){return e=e.childContextTypes,e!=null}function Zo(){he(Ke),he(Ze)}function vh(e,t,i){if(Ze.current!==mn)throw Error(j(168));ue(Ze,t),ue(Ke,i)}function pf(e,t,i){var o=e.stateNode;if(t=t.childContextTypes,typeof o.getChildContext!="function")return i;o=o.getChildContext();for(var l in o)if(!(l in t))throw Error(j(108,b_(e)||"Unknown",l));return ve({},i,o)}function Do(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||mn,On=Ze.current,ue(Ze,e),ue(Ke,Ke.current),!0}function gh(e,t,i){var o=e.stateNode;if(!o)throw Error(j(169));i?(e=pf(e,t,On),o.__reactInternalMemoizedMergedChildContext=e,he(Ke),he(Ze),ue(Ze,e)):he(Ke),ue(Ke,i)}var Dt=null,as=!1,ma=!1;function mf(e){Dt===null?Dt=[e]:Dt.push(e)}function ig(e){as=!0,mf(e)}function gn(){if(!ma&&Dt!==null){ma=!0;var e=0,t=re;try{var i=Dt;for(re=1;e>=u,l-=u,bt=1<<32-wt(t)+l|i<R?(oe=F,F=null):oe=F.sibling;var Q=y(x,F,C[R],N);if(Q===null){F===null&&(F=oe);break}e&&F&&Q.alternate===null&&t(x,F),w=s(Q,w,R),b===null?A=Q:b.sibling=Q,b=Q,F=oe}if(R===C.length)return i(x,F),de&&Sn(x,R),A;if(F===null){for(;RR?(oe=F,F=null):oe=F.sibling;var se=y(x,F,Q.value,N);if(se===null){F===null&&(F=oe);break}e&&F&&se.alternate===null&&t(x,F),w=s(se,w,R),b===null?A=se:b.sibling=se,b=se,F=oe}if(Q.done)return i(x,F),de&&Sn(x,R),A;if(F===null){for(;!Q.done;R++,Q=C.next())Q=g(x,Q.value,N),Q!==null&&(w=s(Q,w,R),b===null?A=Q:b.sibling=Q,b=Q);return de&&Sn(x,R),A}for(F=o(x,F);!Q.done;R++,Q=C.next())Q=S(F,x,R,Q.value,N),Q!==null&&(e&&Q.alternate!==null&&F.delete(Q.key===null?R:Q.key),w=s(Q,w,R),b===null?A=Q:b.sibling=Q,b=Q);return e&&F.forEach(function(fe){return t(x,fe)}),de&&Sn(x,R),A}function I(x,w,C,N){if(typeof C=="object"&&C!==null&&C.type===Yn&&C.key===null&&(C=C.props.children),typeof C=="object"&&C!==null){switch(C.$$typeof){case Jr:e:{for(var A=C.key,b=w;b!==null;){if(b.key===A){if(A=C.type,A===Yn){if(b.tag===7){i(x,b.sibling),w=l(b,C.props.children),w.return=x,x=w;break e}}else if(b.elementType===A||typeof A=="object"&&A!==null&&A.$$typeof===Xt&&xh(A)===b.type){i(x,b.sibling),w=l(b,C.props),w.ref=qi(x,b,C),w.return=x,x=w;break e}i(x,b);break}else t(x,b);b=b.sibling}C.type===Yn?(w=zn(C.props.children,x.mode,N,C.key),w.return=x,x=w):(N=Eo(C.type,C.key,C.props,null,x.mode,N),N.ref=qi(x,w,C),N.return=x,x=N)}return u(x);case $n:e:{for(b=C.key;w!==null;){if(w.key===b)if(w.tag===4&&w.stateNode.containerInfo===C.containerInfo&&w.stateNode.implementation===C.implementation){i(x,w.sibling),w=l(w,C.children||[]),w.return=x,x=w;break e}else{i(x,w);break}else t(x,w);w=w.sibling}w=Pa(C,x.mode,N),w.return=x,x=w}return u(x);case Xt:return b=C._init,I(x,w,b(C._payload),N)}if($i(C))return E(x,w,C,N);if(Fi(C))return k(x,w,C,N);co(x,C)}return typeof C=="string"&&C!==""||typeof C=="number"?(C=""+C,w!==null&&w.tag===6?(i(x,w.sibling),w=l(w,C),w.return=x,x=w):(i(x,w),w=La(C,x.mode,N),w.return=x,x=w),u(x)):i(x,w)}return I}var gi=yf(!0),wf=yf(!1),Ho=vn(null),Uo=null,oi=null,Gl=null;function Kl(){Gl=oi=Uo=null}function Ql(e){var t=Ho.current;he(Ho),e._currentValue=t}function tl(e,t,i){for(;e!==null;){var o=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,o!==null&&(o.childLanes|=t)):o!==null&&(o.childLanes&t)!==t&&(o.childLanes|=t),e===i)break;e=e.return}}function fi(e,t){Uo=e,Gl=oi=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(Ge=!0),e.firstContext=null)}function dt(e){var t=e._currentValue;if(Gl!==e)if(e={context:e,memoizedValue:t,next:null},oi===null){if(Uo===null)throw Error(j(308));oi=e,Uo.dependencies={lanes:0,firstContext:e}}else oi=oi.next=e;return t}var Tn=null;function $l(e){Tn===null?Tn=[e]:Tn.push(e)}function xf(e,t,i,o){var l=t.interleaved;return l===null?(i.next=i,$l(t)):(i.next=l.next,l.next=i),t.interleaved=i,Vt(e,o)}function Vt(e,t){e.lanes|=t;var i=e.alternate;for(i!==null&&(i.lanes|=t),i=e,e=e.return;e!==null;)e.childLanes|=t,i=e.alternate,i!==null&&(i.childLanes|=t),i=e,e=e.return;return i.tag===3?i.stateNode:null}var Jt=!1;function Yl(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Lf(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Ht(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function un(e,t,i){var o=e.updateQueue;if(o===null)return null;if(o=o.shared,te&2){var l=o.pending;return l===null?t.next=t:(t.next=l.next,l.next=t),o.pending=t,Vt(e,i)}return l=o.interleaved,l===null?(t.next=t,$l(o)):(t.next=l.next,l.next=t),o.interleaved=t,Vt(e,i)}function Lo(e,t,i){if(t=t.updateQueue,t!==null&&(t=t.shared,(i&4194240)!==0)){var o=t.lanes;o&=e.pendingLanes,i|=o,t.lanes=i,Bl(e,i)}}function Lh(e,t){var i=e.updateQueue,o=e.alternate;if(o!==null&&(o=o.updateQueue,i===o)){var l=null,s=null;if(i=i.firstBaseUpdate,i!==null){do{var u={eventTime:i.eventTime,lane:i.lane,tag:i.tag,payload:i.payload,callback:i.callback,next:null};s===null?l=s=u:s=s.next=u,i=i.next}while(i!==null);s===null?l=s=t:s=s.next=t}else l=s=t;i={baseState:o.baseState,firstBaseUpdate:l,lastBaseUpdate:s,shared:o.shared,effects:o.effects},e.updateQueue=i;return}e=i.lastBaseUpdate,e===null?i.firstBaseUpdate=t:e.next=t,i.lastBaseUpdate=t}function Wo(e,t,i,o){var l=e.updateQueue;Jt=!1;var s=l.firstBaseUpdate,u=l.lastBaseUpdate,h=l.shared.pending;if(h!==null){l.shared.pending=null;var f=h,m=f.next;f.next=null,u===null?s=m:u.next=m,u=f;var v=e.alternate;v!==null&&(v=v.updateQueue,h=v.lastBaseUpdate,h!==u&&(h===null?v.firstBaseUpdate=m:h.next=m,v.lastBaseUpdate=f))}if(s!==null){var g=l.baseState;u=0,v=m=f=null,h=s;do{var y=h.lane,S=h.eventTime;if((o&y)===y){v!==null&&(v=v.next={eventTime:S,lane:0,tag:h.tag,payload:h.payload,callback:h.callback,next:null});e:{var E=e,k=h;switch(y=t,S=i,k.tag){case 1:if(E=k.payload,typeof E=="function"){g=E.call(S,g,y);break e}g=E;break e;case 3:E.flags=E.flags&-65537|128;case 0:if(E=k.payload,y=typeof E=="function"?E.call(S,g,y):E,y==null)break e;g=ve({},g,y);break e;case 2:Jt=!0}}h.callback!==null&&h.lane!==0&&(e.flags|=64,y=l.effects,y===null?l.effects=[h]:y.push(h))}else S={eventTime:S,lane:y,tag:h.tag,payload:h.payload,callback:h.callback,next:null},v===null?(m=v=S,f=g):v=v.next=S,u|=y;if(h=h.next,h===null){if(h=l.shared.pending,h===null)break;y=h,h=y.next,y.next=null,l.lastBaseUpdate=y,l.shared.pending=null}}while(!0);if(v===null&&(f=g),l.baseState=f,l.firstBaseUpdate=m,l.lastBaseUpdate=v,t=l.shared.interleaved,t!==null){l=t;do u|=l.lane,l=l.next;while(l!==t)}else s===null&&(l.shared.lanes=0);An|=u,e.lanes=u,e.memoizedState=g}}function Ph(e,t,i){if(e=t.effects,t.effects=null,e!==null)for(t=0;ti?i:4,e(!0);var o=va.transition;va.transition={};try{e(!1),t()}finally{re=i,va.transition=o}}function Df(){return ft().memoizedState}function ag(e,t,i){var o=hn(e);if(i={lane:o,action:i,hasEagerState:!1,eagerState:null,next:null},bf(e))Ff(t,i);else if(i=xf(e,t,i,o),i!==null){var l=Fe();xt(i,e,o,l),Hf(i,t,o)}}function lg(e,t,i){var o=hn(e),l={lane:o,action:i,hasEagerState:!1,eagerState:null,next:null};if(bf(e))Ff(t,l);else{var s=e.alternate;if(e.lanes===0&&(s===null||s.lanes===0)&&(s=t.lastRenderedReducer,s!==null))try{var u=t.lastRenderedState,h=s(u,i);if(l.hasEagerState=!0,l.eagerState=h,Lt(h,u)){var f=t.interleaved;f===null?(l.next=l,$l(t)):(l.next=f.next,f.next=l),t.interleaved=l;return}}catch{}finally{}i=xf(e,t,l,o),i!==null&&(l=Fe(),xt(i,e,o,l),Hf(i,t,o))}}function bf(e){var t=e.alternate;return e===_e||t!==null&&t===_e}function Ff(e,t){rr=qo=!0;var i=e.pending;i===null?t.next=t:(t.next=i.next,i.next=t),e.pending=t}function Hf(e,t,i){if(i&4194240){var o=t.lanes;o&=e.pendingLanes,i|=o,t.lanes=i,Bl(e,i)}}var Go={readContext:dt,useCallback:Ae,useContext:Ae,useEffect:Ae,useImperativeHandle:Ae,useInsertionEffect:Ae,useLayoutEffect:Ae,useMemo:Ae,useReducer:Ae,useRef:Ae,useState:Ae,useDebugValue:Ae,useDeferredValue:Ae,useTransition:Ae,useMutableSource:Ae,useSyncExternalStore:Ae,useId:Ae,unstable_isNewReconciler:!1},ug={readContext:dt,useCallback:function(e,t){return Mt().memoizedState=[e,t===void 0?null:t],e},useContext:dt,useEffect:Ch,useImperativeHandle:function(e,t,i){return i=i!=null?i.concat([e]):null,So(4194308,4,If.bind(null,t,e),i)},useLayoutEffect:function(e,t){return So(4194308,4,e,t)},useInsertionEffect:function(e,t){return So(4,2,e,t)},useMemo:function(e,t){var i=Mt();return t=t===void 0?null:t,e=e(),i.memoizedState=[e,t],e},useReducer:function(e,t,i){var o=Mt();return t=i!==void 0?i(t):t,o.memoizedState=o.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},o.queue=e,e=e.dispatch=ag.bind(null,_e,e),[o.memoizedState,e]},useRef:function(e){var t=Mt();return e={current:e},t.memoizedState=e},useState:Sh,useDebugValue:ou,useDeferredValue:function(e){return Mt().memoizedState=e},useTransition:function(){var e=Sh(!1),t=e[0];return e=sg.bind(null,e[1]),Mt().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,i){var o=_e,l=Mt();if(de){if(i===void 0)throw Error(j(407));i=i()}else{if(i=t(),Ne===null)throw Error(j(349));In&30||kf(o,t,i)}l.memoizedState=i;var s={value:i,getSnapshot:t};return l.queue=s,Ch(Ef.bind(null,o,s,e),[e]),o.flags|=2048,Sr(9,Tf.bind(null,o,s,i,t),void 0,null),i},useId:function(){var e=Mt(),t=Ne.identifierPrefix;if(de){var i=Ft,o=bt;i=(o&~(1<<32-wt(o)-1)).toString(32)+i,t=":"+t+"R"+i,i=Lr++,0<\/script>",e=e.removeChild(e.firstChild)):typeof o.is=="string"?e=u.createElement(i,{is:o.is}):(e=u.createElement(i),i==="select"&&(u=e,o.multiple?u.multiple=!0:o.size&&(u.size=o.size))):e=u.createElementNS(e,i),e[Nt]=t,e[gr]=o,Xf(e,t,!1,!1),t.stateNode=e;e:{switch(u=Ra(i,o),i){case"dialog":ce("cancel",e),ce("close",e),l=o;break;case"iframe":case"object":case"embed":ce("load",e),l=o;break;case"video":case"audio":for(l=0;lwi&&(t.flags|=128,o=!0,qi(s,!1),t.lanes=4194304)}else{if(!o)if(e=Wo(u),e!==null){if(t.flags|=128,o=!0,i=e.updateQueue,i!==null&&(t.updateQueue=i,t.flags|=4),qi(s,!0),s.tail===null&&s.tailMode==="hidden"&&!u.alternate&&!de)return Be(t),null}else 2*ye()-s.renderingStartTime>wi&&i!==1073741824&&(t.flags|=128,o=!0,qi(s,!1),t.lanes=4194304);s.isBackwards?(u.sibling=t.child,t.child=u):(i=s.last,i!==null?i.sibling=u:t.child=u,s.last=u)}return s.tail!==null?(t=s.tail,s.rendering=t,s.tail=t.sibling,s.renderingStartTime=ye(),t.sibling=null,i=pe.current,ue(pe,o?i&1|2:i&1),t):(Be(t),null);case 22:case 23:return hu(),o=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==o&&(t.flags|=8192),o&&t.mode&1?Xe&1073741824&&(Be(t),t.subtreeFlags&6&&(t.flags|=8192)):Be(t),null;case 24:return null;case 25:return null}throw Error(j(156,t.tag))}function vg(e,t){switch(Vl(t),t.tag){case 1:return $e(t.type)&&Ro(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return gi(),he(Qe),he(Ze),eu(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Jl(t),null;case 13:if(he(pe),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(j(340));_i()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return he(pe),null;case 4:return gi(),null;case 10:return Ql(t.type._context),null;case 22:case 23:return hu(),null;case 24:return null;default:return null}}var ho=!1,Re=!1,gg=typeof WeakSet=="function"?WeakSet:Set,D=null;function oi(e,t){var i=e.ref;if(i!==null)if(typeof i=="function")try{i(null)}catch(o){ve(e,t,o)}else i.current=null}function cl(e,t,i){try{i()}catch(o){ve(e,t,o)}}var Bh=!1;function yg(e,t){if(Ga=jo,e=of(),Ul(e)){if("selectionStart"in e)var i={start:e.selectionStart,end:e.selectionEnd};else e:{i=(i=e.ownerDocument)&&i.defaultView||window;var o=i.getSelection&&i.getSelection();if(o&&o.rangeCount!==0){i=o.anchorNode;var l=o.anchorOffset,s=o.focusNode;o=o.focusOffset;try{i.nodeType,s.nodeType}catch{i=null;break e}var u=0,h=-1,f=-1,p=0,g=0,v=e,w=null;t:for(;;){for(var S;v!==i||l!==0&&v.nodeType!==3||(h=u+l),v!==s||o!==0&&v.nodeType!==3||(f=u+o),v.nodeType===3&&(u+=v.nodeValue.length),(S=v.firstChild)!==null;)w=v,v=S;for(;;){if(v===e)break t;if(w===i&&++p===l&&(h=u),w===s&&++g===o&&(f=u),(S=v.nextSibling)!==null)break;v=w,w=v.parentNode}v=S}i=h===-1||f===-1?null:{start:h,end:f}}else i=null}i=i||{start:0,end:0}}else i=null;for(Ka={focusedElem:e,selectionRange:i},jo=!1,D=t;D!==null;)if(t=D,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,D=e;else for(;D!==null;){t=D;try{var E=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(E!==null){var k=E.memoizedProps,A=E.memoizedState,y=t.stateNode,x=y.getSnapshotBeforeUpdate(t.elementType===t.type?k:vt(t.type,k),A);y.__reactInternalSnapshotBeforeUpdate=x}break;case 3:var C=t.stateNode.containerInfo;C.nodeType===1?C.textContent="":C.nodeType===9&&C.documentElement&&C.removeChild(C.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(j(163))}}catch(N){ve(t,t.return,N)}if(e=t.sibling,e!==null){e.return=t.return,D=e;break}D=t.return}return E=Bh,Bh=!1,E}function rr(e,t,i){var o=t.updateQueue;if(o=o!==null?o.lastEffect:null,o!==null){var l=o=o.next;do{if((l.tag&e)===e){var s=l.destroy;l.destroy=void 0,s!==void 0&&cl(t,i,s)}l=l.next}while(l!==o)}}function us(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var i=t=t.next;do{if((i.tag&e)===e){var o=i.create;i.destroy=o()}i=i.next}while(i!==t)}}function hl(e){var t=e.ref;if(t!==null){var i=e.stateNode;switch(e.tag){case 5:e=i;break;default:e=i}typeof t=="function"?t(e):t.current=e}}function tp(e){var t=e.alternate;t!==null&&(e.alternate=null,tp(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Nt],delete t[gr],delete t[Ya],delete t[tg],delete t[ng])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function np(e){return e.tag===5||e.tag===3||e.tag===4}function Rh(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||np(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function dl(e,t,i){var o=e.tag;if(o===5||o===6)e=e.stateNode,t?i.nodeType===8?i.parentNode.insertBefore(e,t):i.insertBefore(e,t):(i.nodeType===8?(t=i.parentNode,t.insertBefore(e,i)):(t=i,t.appendChild(e)),i=i._reactRootContainer,i!=null||t.onclick!==null||(t.onclick=Bo));else if(o!==4&&(e=e.child,e!==null))for(dl(e,t,i),e=e.sibling;e!==null;)dl(e,t,i),e=e.sibling}function fl(e,t,i){var o=e.tag;if(o===5||o===6)e=e.stateNode,t?i.insertBefore(e,t):i.appendChild(e);else if(o!==4&&(e=e.child,e!==null))for(fl(e,t,i),e=e.sibling;e!==null;)fl(e,t,i),e=e.sibling}var Oe=null,gt=!1;function Yt(e,t,i){for(i=i.child;i!==null;)ip(e,t,i),i=i.sibling}function ip(e,t,i){if(zt&&typeof zt.onCommitFiberUnmount=="function")try{zt.onCommitFiberUnmount(ts,i)}catch{}switch(i.tag){case 5:Re||oi(i,t);case 6:var o=Oe,l=gt;Oe=null,Yt(e,t,i),Oe=o,gt=l,Oe!==null&&(gt?(e=Oe,i=i.stateNode,e.nodeType===8?e.parentNode.removeChild(i):e.removeChild(i)):Oe.removeChild(i.stateNode));break;case 18:Oe!==null&&(gt?(e=Oe,i=i.stateNode,e.nodeType===8?pa(e.parentNode,i):e.nodeType===1&&pa(e,i),fr(e)):pa(Oe,i.stateNode));break;case 4:o=Oe,l=gt,Oe=i.stateNode.containerInfo,gt=!0,Yt(e,t,i),Oe=o,gt=l;break;case 0:case 11:case 14:case 15:if(!Re&&(o=i.updateQueue,o!==null&&(o=o.lastEffect,o!==null))){l=o=o.next;do{var s=l,u=s.destroy;s=s.tag,u!==void 0&&(s&2||s&4)&&cl(i,t,u),l=l.next}while(l!==o)}Yt(e,t,i);break;case 1:if(!Re&&(oi(i,t),o=i.stateNode,typeof o.componentWillUnmount=="function"))try{o.props=i.memoizedProps,o.state=i.memoizedState,o.componentWillUnmount()}catch(h){ve(i,t,h)}Yt(e,t,i);break;case 21:Yt(e,t,i);break;case 22:i.mode&1?(Re=(o=Re)||i.memoizedState!==null,Yt(e,t,i),Re=o):Yt(e,t,i);break;default:Yt(e,t,i)}}function Zh(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var i=e.stateNode;i===null&&(i=e.stateNode=new gg),t.forEach(function(o){var l=Eg.bind(null,e,o);i.has(o)||(i.add(o),o.then(l,l))})}}function _t(e,t){var i=t.deletions;if(i!==null)for(var o=0;ol&&(l=u),o&=~s}if(o=l,o=ye()-o,o=(120>o?120:480>o?480:1080>o?1080:1920>o?1920:3e3>o?3e3:4320>o?4320:1960*xg(o/1960))-o,10e?16:e,rn===null)var o=!1;else{if(e=rn,rn=null,Qo=0,te&6)throw Error(j(331));var l=te;for(te|=4,D=e.current;D!==null;){var s=D,u=s.child;if(D.flags&16){var h=s.deletions;if(h!==null){for(var f=0;fye()-uu?Nn(e,0):lu|=i),Ye(e,t)}function hp(e,t){t===0&&(e.mode&1?(t=no,no<<=1,!(no&130023424)&&(no=4194304)):t=1);var i=Fe();e=Vt(e,t),e!==null&&(kr(e,t,i),Ye(e,i))}function Tg(e){var t=e.memoizedState,i=0;t!==null&&(i=t.retryLane),hp(e,i)}function Eg(e,t){var i=0;switch(e.tag){case 13:var o=e.stateNode,l=e.memoizedState;l!==null&&(i=l.retryLane);break;case 19:o=e.stateNode;break;default:throw Error(j(314))}o!==null&&o.delete(t),hp(e,i)}var dp;dp=function(e,t,i){if(e!==null)if(e.memoizedProps!==t.pendingProps||Qe.current)Ke=!0;else{if(!(e.lanes&i)&&!(t.flags&128))return Ke=!1,mg(e,t,i);Ke=!!(e.flags&131072)}else Ke=!1,de&&t.flags&1048576&&_f(t,bo,t.index);switch(t.lanes=0,t.tag){case 2:var o=t.type;So(e,t),e=t.pendingProps;var l=mi(t,Ze.current);di(t,i),l=nu(null,t,o,e,l,i);var s=iu();return t.flags|=1,typeof l=="object"&&l!==null&&typeof l.render=="function"&&l.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,$e(o)?(s=!0,Zo(t)):s=!1,t.memoizedState=l.state!==null&&l.state!==void 0?l.state:null,Yl(t),l.updater=ls,t.stateNode=l,l._reactInternals=t,il(t,o,e,i),t=sl(null,t,o,!0,s,i)):(t.tag=0,de&&s&&Wl(t),be(null,t,l,i),t=t.child),t;case 16:o=t.elementType;e:{switch(So(e,t),e=t.pendingProps,l=o._init,o=l(o._payload),t.type=o,l=t.tag=Ng(o),e=vt(o,e),l){case 0:t=ol(null,t,o,e,i);break e;case 1:t=jh(null,t,o,e,i);break e;case 11:t=zh(null,t,o,e,i);break e;case 14:t=Oh(null,t,o,vt(o.type,e),i);break e}throw Error(j(306,o,""))}return t;case 0:return o=t.type,l=t.pendingProps,l=t.elementType===o?l:vt(o,l),ol(e,t,o,l,i);case 1:return o=t.type,l=t.pendingProps,l=t.elementType===o?l:vt(o,l),jh(e,t,o,l,i);case 3:e:{if(Qf(t),e===null)throw Error(j(387));o=t.pendingProps,s=t.memoizedState,l=s.element,Lf(e,t),Uo(t,o,null,i);var u=t.memoizedState;if(o=u.element,s.isDehydrated)if(s={element:o,isDehydrated:!1,cache:u.cache,pendingSuspenseBoundaries:u.pendingSuspenseBoundaries,transitions:u.transitions},t.updateQueue.baseState=s,t.memoizedState=s,t.flags&256){l=yi(Error(j(423)),t),t=Ih(e,t,o,i,l);break e}else if(o!==l){l=yi(Error(j(424)),t),t=Ih(e,t,o,i,l);break e}else for(Je=ln(t.stateNode.containerInfo.firstChild),et=t,de=!0,yt=null,i=wf(t,null,o,i),t.child=i;i;)i.flags=i.flags&-3|4096,i=i.sibling;else{if(_i(),o===l){t=qt(e,t,i);break e}be(e,t,o,i)}t=t.child}return t;case 5:return Pf(t),e===null&&el(t),o=t.type,l=t.pendingProps,s=e!==null?e.memoizedProps:null,u=l.children,Qa(o,l)?u=null:s!==null&&Qa(o,s)&&(t.flags|=32),Kf(e,t),be(e,t,u,i),t.child;case 6:return e===null&&el(t),null;case 13:return $f(e,t,i);case 4:return Xl(t,t.stateNode.containerInfo),o=t.pendingProps,e===null?t.child=vi(t,null,o,i):be(e,t,o,i),t.child;case 11:return o=t.type,l=t.pendingProps,l=t.elementType===o?l:vt(o,l),zh(e,t,o,l,i);case 7:return be(e,t,t.pendingProps,i),t.child;case 8:return be(e,t,t.pendingProps.children,i),t.child;case 12:return be(e,t,t.pendingProps.children,i),t.child;case 10:e:{if(o=t.type._context,l=t.pendingProps,s=t.memoizedProps,u=l.value,ue(Fo,o._currentValue),o._currentValue=u,s!==null)if(Lt(s.value,u)){if(s.children===l.children&&!Qe.current){t=qt(e,t,i);break e}}else for(s=t.child,s!==null&&(s.return=t);s!==null;){var h=s.dependencies;if(h!==null){u=s.child;for(var f=h.firstContext;f!==null;){if(f.context===o){if(s.tag===1){f=Ht(-1,i&-i),f.tag=2;var p=s.updateQueue;if(p!==null){p=p.shared;var g=p.pending;g===null?f.next=f:(f.next=g.next,g.next=f),p.pending=f}}s.lanes|=i,f=s.alternate,f!==null&&(f.lanes|=i),tl(s.return,i,t),h.lanes|=i;break}f=f.next}}else if(s.tag===10)u=s.type===t.type?null:s.child;else if(s.tag===18){if(u=s.return,u===null)throw Error(j(341));u.lanes|=i,h=u.alternate,h!==null&&(h.lanes|=i),tl(u,i,t),u=s.sibling}else u=s.child;if(u!==null)u.return=s;else for(u=s;u!==null;){if(u===t){u=null;break}if(s=u.sibling,s!==null){s.return=u.return,u=s;break}u=u.return}s=u}be(e,t,l.children,i),t=t.child}return t;case 9:return l=t.type,o=t.pendingProps.children,di(t,i),l=dt(l),o=o(l),t.flags|=1,be(e,t,o,i),t.child;case 14:return o=t.type,l=vt(o,t.pendingProps),l=vt(o.type,l),Oh(e,t,o,l,i);case 15:return qf(e,t,t.type,t.pendingProps,i);case 17:return o=t.type,l=t.pendingProps,l=t.elementType===o?l:vt(o,l),So(e,t),t.tag=1,$e(o)?(e=!0,Zo(t)):e=!1,di(t,i),Uf(t,o,l),il(t,o,l,i),sl(null,t,o,!0,e,i);case 19:return Yf(e,t,i);case 22:return Gf(e,t,i)}throw Error(j(156,t.tag))};function fp(e,t){return Dd(e,t)}function Mg(e,t,i,o){this.tag=e,this.key=i,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=o,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function ct(e,t,i,o){return new Mg(e,t,i,o)}function fu(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Ng(e){if(typeof e=="function")return fu(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Ol)return 11;if(e===jl)return 14}return 2}function dn(e,t){var i=e.alternate;return i===null?(i=ct(e.tag,t,e.key,e.mode),i.elementType=e.elementType,i.type=e.type,i.stateNode=e.stateNode,i.alternate=e,e.alternate=i):(i.pendingProps=t,i.type=e.type,i.flags=0,i.subtreeFlags=0,i.deletions=null),i.flags=e.flags&14680064,i.childLanes=e.childLanes,i.lanes=e.lanes,i.child=e.child,i.memoizedProps=e.memoizedProps,i.memoizedState=e.memoizedState,i.updateQueue=e.updateQueue,t=e.dependencies,i.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},i.sibling=e.sibling,i.index=e.index,i.ref=e.ref,i}function To(e,t,i,o,l,s){var u=2;if(o=e,typeof e=="function")fu(e)&&(u=1);else if(typeof e=="string")u=5;else e:switch(e){case $n:return zn(i.children,l,s,t);case zl:u=8,l|=8;break;case Ta:return e=ct(12,i,t,l|2),e.elementType=Ta,e.lanes=s,e;case Ea:return e=ct(13,i,t,l),e.elementType=Ea,e.lanes=s,e;case Ma:return e=ct(19,i,t,l),e.elementType=Ma,e.lanes=s,e;case Ld:return hs(i,l,s,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case wd:u=10;break e;case xd:u=9;break e;case Ol:u=11;break e;case jl:u=14;break e;case Xt:u=16,o=null;break e}throw Error(j(130,e==null?e:typeof e,""))}return t=ct(u,i,t,l),t.elementType=e,t.type=o,t.lanes=s,t}function zn(e,t,i,o){return e=ct(7,e,o,t),e.lanes=i,e}function hs(e,t,i,o){return e=ct(22,e,o,t),e.elementType=Ld,e.lanes=i,e.stateNode={isHidden:!1},e}function La(e,t,i){return e=ct(6,e,null,t),e.lanes=i,e}function Pa(e,t,i){return t=ct(4,e.children!==null?e.children:[],e.key,t),t.lanes=i,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function zg(e,t,i,o,l){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=ia(0),this.expirationTimes=ia(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=ia(0),this.identifierPrefix=o,this.onRecoverableError=l,this.mutableSourceEagerHydrationData=null}function pu(e,t,i,o,l,s,u,h,f){return e=new zg(e,t,i,h,f),t===1?(t=1,s===!0&&(t|=8)):t=0,s=ct(3,null,null,t),e.current=s,s.stateNode=e,s.memoizedState={element:o,isDehydrated:i,cache:null,transitions:null,pendingSuspenseBoundaries:null},Yl(s),e}function Og(e,t,i){var o=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(vp)}catch(e){console.error(e)}}vp(),_d.exports=it;var gp=_d.exports,qh=gp;Ca.createRoot=qh.createRoot,Ca.hydrateRoot=qh.hydrateRoot;/** +`+s.stack}return{value:e,source:t,stack:l,digest:null}}function wa(e,t,i){return{value:e,source:null,stack:i??null,digest:t??null}}function rl(e,t){try{console.error(t.value)}catch(i){setTimeout(function(){throw i})}}var dg=typeof WeakMap=="function"?WeakMap:Map;function Wf(e,t,i){i=Ht(-1,i),i.tag=3,i.payload={element:null};var o=t.value;return i.callback=function(){Qo||(Qo=!0,pl=o),rl(e,t)},i}function Vf(e,t,i){i=Ht(-1,i),i.tag=3;var o=e.type.getDerivedStateFromError;if(typeof o=="function"){var l=t.value;i.payload=function(){return o(l)},i.callback=function(){rl(e,t)}}var s=e.stateNode;return s!==null&&typeof s.componentDidCatch=="function"&&(i.callback=function(){rl(e,t),typeof o!="function"&&(cn===null?cn=new Set([this]):cn.add(this));var u=t.stack;this.componentDidCatch(t.value,{componentStack:u!==null?u:""})}),i}function Eh(e,t,i){var o=e.pingCache;if(o===null){o=e.pingCache=new dg;var l=new Set;o.set(t,l)}else l=o.get(t),l===void 0&&(l=new Set,o.set(t,l));l.has(i)||(l.add(i),e=kg.bind(null,e,t,i),t.then(e,e))}function Mh(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function Nh(e,t,i,o,l){return e.mode&1?(e.flags|=65536,e.lanes=l,e):(e===t?e.flags|=65536:(e.flags|=128,i.flags|=131072,i.flags&=-52805,i.tag===1&&(i.alternate===null?i.tag=17:(t=Ht(-1,1),t.tag=2,un(i,t,1))),i.lanes|=1),e)}var fg=Gt.ReactCurrentOwner,Ge=!1;function be(e,t,i,o){t.child=e===null?wf(t,null,i,o):gi(t,e.child,i,o)}function zh(e,t,i,o,l){i=i.render;var s=t.ref;return fi(t,l),o=nu(e,t,i,o,s,l),i=iu(),e!==null&&!Ge?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~l,qt(e,t,l)):(de&&i&&Wl(t),t.flags|=1,be(e,t,o,l),t.child)}function Oh(e,t,i,o,l){if(e===null){var s=i.type;return typeof s=="function"&&!fu(s)&&s.defaultProps===void 0&&i.compare===null&&i.defaultProps===void 0?(t.tag=15,t.type=s,qf(e,t,s,o,l)):(e=Eo(i.type,null,o,t,t.mode,l),e.ref=t.ref,e.return=t,t.child=e)}if(s=e.child,!(e.lanes&l)){var u=s.memoizedProps;if(i=i.compare,i=i!==null?i:_r,i(u,o)&&e.ref===t.ref)return qt(e,t,l)}return t.flags|=1,e=dn(s,o),e.ref=t.ref,e.return=t,t.child=e}function qf(e,t,i,o,l){if(e!==null){var s=e.memoizedProps;if(_r(s,o)&&e.ref===t.ref)if(Ge=!1,t.pendingProps=o=s,(e.lanes&l)!==0)e.flags&131072&&(Ge=!0);else return t.lanes=e.lanes,qt(e,t,l)}return ol(e,t,i,o,l)}function Gf(e,t,i){var o=t.pendingProps,l=o.children,s=e!==null?e.memoizedState:null;if(o.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},ue(ai,Xe),Xe|=i;else{if(!(i&1073741824))return e=s!==null?s.baseLanes|i:i,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,ue(ai,Xe),Xe|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},o=s!==null?s.baseLanes:i,ue(ai,Xe),Xe|=o}else s!==null?(o=s.baseLanes|i,t.memoizedState=null):o=i,ue(ai,Xe),Xe|=o;return be(e,t,l,i),t.child}function Kf(e,t){var i=t.ref;(e===null&&i!==null||e!==null&&e.ref!==i)&&(t.flags|=512,t.flags|=2097152)}function ol(e,t,i,o,l){var s=Qe(i)?On:Ze.current;return s=_i(t,s),fi(t,l),i=nu(e,t,i,o,s,l),o=iu(),e!==null&&!Ge?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~l,qt(e,t,l)):(de&&o&&Wl(t),t.flags|=1,be(e,t,i,l),t.child)}function jh(e,t,i,o,l){if(Qe(i)){var s=!0;Do(t)}else s=!1;if(fi(t,l),t.stateNode===null)Co(e,t),Uf(t,i,o),il(t,i,o,l),o=!0;else if(e===null){var u=t.stateNode,h=t.memoizedProps;u.props=h;var f=u.context,m=i.contextType;typeof m=="object"&&m!==null?m=dt(m):(m=Qe(i)?On:Ze.current,m=_i(t,m));var v=i.getDerivedStateFromProps,g=typeof v=="function"||typeof u.getSnapshotBeforeUpdate=="function";g||typeof u.UNSAFE_componentWillReceiveProps!="function"&&typeof u.componentWillReceiveProps!="function"||(h!==o||f!==m)&&Th(t,u,o,m),Jt=!1;var y=t.memoizedState;u.state=y,Wo(t,o,u,l),f=t.memoizedState,h!==o||y!==f||Ke.current||Jt?(typeof v=="function"&&(nl(t,i,v,o),f=t.memoizedState),(h=Jt||kh(t,i,h,o,y,f,m))?(g||typeof u.UNSAFE_componentWillMount!="function"&&typeof u.componentWillMount!="function"||(typeof u.componentWillMount=="function"&&u.componentWillMount(),typeof u.UNSAFE_componentWillMount=="function"&&u.UNSAFE_componentWillMount()),typeof u.componentDidMount=="function"&&(t.flags|=4194308)):(typeof u.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=o,t.memoizedState=f),u.props=o,u.state=f,u.context=m,o=h):(typeof u.componentDidMount=="function"&&(t.flags|=4194308),o=!1)}else{u=t.stateNode,Lf(e,t),h=t.memoizedProps,m=t.type===t.elementType?h:vt(t.type,h),u.props=m,g=t.pendingProps,y=u.context,f=i.contextType,typeof f=="object"&&f!==null?f=dt(f):(f=Qe(i)?On:Ze.current,f=_i(t,f));var S=i.getDerivedStateFromProps;(v=typeof S=="function"||typeof u.getSnapshotBeforeUpdate=="function")||typeof u.UNSAFE_componentWillReceiveProps!="function"&&typeof u.componentWillReceiveProps!="function"||(h!==g||y!==f)&&Th(t,u,o,f),Jt=!1,y=t.memoizedState,u.state=y,Wo(t,o,u,l);var E=t.memoizedState;h!==g||y!==E||Ke.current||Jt?(typeof S=="function"&&(nl(t,i,S,o),E=t.memoizedState),(m=Jt||kh(t,i,m,o,y,E,f)||!1)?(v||typeof u.UNSAFE_componentWillUpdate!="function"&&typeof u.componentWillUpdate!="function"||(typeof u.componentWillUpdate=="function"&&u.componentWillUpdate(o,E,f),typeof u.UNSAFE_componentWillUpdate=="function"&&u.UNSAFE_componentWillUpdate(o,E,f)),typeof u.componentDidUpdate=="function"&&(t.flags|=4),typeof u.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof u.componentDidUpdate!="function"||h===e.memoizedProps&&y===e.memoizedState||(t.flags|=4),typeof u.getSnapshotBeforeUpdate!="function"||h===e.memoizedProps&&y===e.memoizedState||(t.flags|=1024),t.memoizedProps=o,t.memoizedState=E),u.props=o,u.state=E,u.context=f,o=m):(typeof u.componentDidUpdate!="function"||h===e.memoizedProps&&y===e.memoizedState||(t.flags|=4),typeof u.getSnapshotBeforeUpdate!="function"||h===e.memoizedProps&&y===e.memoizedState||(t.flags|=1024),o=!1)}return sl(e,t,i,o,s,l)}function sl(e,t,i,o,l,s){Kf(e,t);var u=(t.flags&128)!==0;if(!o&&!u)return l&&gh(t,i,!1),qt(e,t,s);o=t.stateNode,fg.current=t;var h=u&&typeof i.getDerivedStateFromError!="function"?null:o.render();return t.flags|=1,e!==null&&u?(t.child=gi(t,e.child,null,s),t.child=gi(t,null,h,s)):be(e,t,h,s),t.memoizedState=o.state,l&&gh(t,i,!0),t.child}function Qf(e){var t=e.stateNode;t.pendingContext?vh(e,t.pendingContext,t.pendingContext!==t.context):t.context&&vh(e,t.context,!1),Xl(e,t.containerInfo)}function Ih(e,t,i,o,l){return vi(),ql(l),t.flags|=256,be(e,t,i,o),t.child}var al={dehydrated:null,treeContext:null,retryLane:0};function ll(e){return{baseLanes:e,cachePool:null,transitions:null}}function $f(e,t,i){var o=t.pendingProps,l=me.current,s=!1,u=(t.flags&128)!==0,h;if((h=u)||(h=e!==null&&e.memoizedState===null?!1:(l&2)!==0),h?(s=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(l|=1),ue(me,l&1),e===null)return el(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?(t.mode&1?e.data==="$!"?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(u=o.children,e=o.fallback,s?(o=t.mode,s=t.child,u={mode:"hidden",children:u},!(o&1)&&s!==null?(s.childLanes=0,s.pendingProps=u):s=ds(u,o,0,null),e=zn(e,o,i,null),s.return=t,e.return=t,s.sibling=e,t.child=s,t.child.memoizedState=ll(i),t.memoizedState=al,e):su(t,u));if(l=e.memoizedState,l!==null&&(h=l.dehydrated,h!==null))return pg(e,t,u,o,h,l,i);if(s){s=o.fallback,u=t.mode,l=e.child,h=l.sibling;var f={mode:"hidden",children:o.children};return!(u&1)&&t.child!==l?(o=t.child,o.childLanes=0,o.pendingProps=f,t.deletions=null):(o=dn(l,f),o.subtreeFlags=l.subtreeFlags&14680064),h!==null?s=dn(h,s):(s=zn(s,u,i,null),s.flags|=2),s.return=t,o.return=t,o.sibling=s,t.child=o,o=s,s=t.child,u=e.child.memoizedState,u=u===null?ll(i):{baseLanes:u.baseLanes|i,cachePool:null,transitions:u.transitions},s.memoizedState=u,s.childLanes=e.childLanes&~i,t.memoizedState=al,o}return s=e.child,e=s.sibling,o=dn(s,{mode:"visible",children:o.children}),!(t.mode&1)&&(o.lanes=i),o.return=t,o.sibling=null,e!==null&&(i=t.deletions,i===null?(t.deletions=[e],t.flags|=16):i.push(e)),t.child=o,t.memoizedState=null,o}function su(e,t){return t=ds({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function ho(e,t,i,o){return o!==null&&ql(o),gi(t,e.child,null,i),e=su(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function pg(e,t,i,o,l,s,u){if(i)return t.flags&256?(t.flags&=-257,o=wa(Error(j(422))),ho(e,t,u,o)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(s=o.fallback,l=t.mode,o=ds({mode:"visible",children:o.children},l,0,null),s=zn(s,l,u,null),s.flags|=2,o.return=t,s.return=t,o.sibling=s,t.child=o,t.mode&1&&gi(t,e.child,null,u),t.child.memoizedState=ll(u),t.memoizedState=al,s);if(!(t.mode&1))return ho(e,t,u,null);if(l.data==="$!"){if(o=l.nextSibling&&l.nextSibling.dataset,o)var h=o.dgst;return o=h,s=Error(j(419)),o=wa(s,o,void 0),ho(e,t,u,o)}if(h=(u&e.childLanes)!==0,Ge||h){if(o=Ne,o!==null){switch(u&-u){case 4:l=2;break;case 16:l=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:l=32;break;case 536870912:l=268435456;break;default:l=0}l=l&(o.suspendedLanes|u)?0:l,l!==0&&l!==s.retryLane&&(s.retryLane=l,Vt(e,l),xt(o,e,l,-1))}return du(),o=wa(Error(j(421))),ho(e,t,u,o)}return l.data==="$?"?(t.flags|=128,t.child=e.child,t=Tg.bind(null,e),l._reactRetry=t,null):(e=s.treeContext,Je=ln(l.nextSibling),et=t,de=!0,yt=null,e!==null&&(lt[ut++]=bt,lt[ut++]=Ft,lt[ut++]=jn,bt=e.id,Ft=e.overflow,jn=t),t=su(t,o.children),t.flags|=4096,t)}function Ah(e,t,i){e.lanes|=t;var o=e.alternate;o!==null&&(o.lanes|=t),tl(e.return,t,i)}function xa(e,t,i,o,l){var s=e.memoizedState;s===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:o,tail:i,tailMode:l}:(s.isBackwards=t,s.rendering=null,s.renderingStartTime=0,s.last=o,s.tail=i,s.tailMode=l)}function Yf(e,t,i){var o=t.pendingProps,l=o.revealOrder,s=o.tail;if(be(e,t,o.children,i),o=me.current,o&2)o=o&1|2,t.flags|=128;else{if(e!==null&&e.flags&128)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&Ah(e,i,t);else if(e.tag===19)Ah(e,i,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}o&=1}if(ue(me,o),!(t.mode&1))t.memoizedState=null;else switch(l){case"forwards":for(i=t.child,l=null;i!==null;)e=i.alternate,e!==null&&Vo(e)===null&&(l=i),i=i.sibling;i=l,i===null?(l=t.child,t.child=null):(l=i.sibling,i.sibling=null),xa(t,!1,l,i,s);break;case"backwards":for(i=null,l=t.child,t.child=null;l!==null;){if(e=l.alternate,e!==null&&Vo(e)===null){t.child=l;break}e=l.sibling,l.sibling=i,i=l,l=e}xa(t,!0,i,null,s);break;case"together":xa(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Co(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function qt(e,t,i){if(e!==null&&(t.dependencies=e.dependencies),An|=t.lanes,!(i&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(j(153));if(t.child!==null){for(e=t.child,i=dn(e,e.pendingProps),t.child=i,i.return=t;e.sibling!==null;)e=e.sibling,i=i.sibling=dn(e,e.pendingProps),i.return=t;i.sibling=null}return t.child}function mg(e,t,i){switch(t.tag){case 3:Qf(t),vi();break;case 5:Pf(t);break;case 1:Qe(t.type)&&Do(t);break;case 4:Xl(t,t.stateNode.containerInfo);break;case 10:var o=t.type._context,l=t.memoizedProps.value;ue(Ho,o._currentValue),o._currentValue=l;break;case 13:if(o=t.memoizedState,o!==null)return o.dehydrated!==null?(ue(me,me.current&1),t.flags|=128,null):i&t.child.childLanes?$f(e,t,i):(ue(me,me.current&1),e=qt(e,t,i),e!==null?e.sibling:null);ue(me,me.current&1);break;case 19:if(o=(i&t.childLanes)!==0,e.flags&128){if(o)return Yf(e,t,i);t.flags|=128}if(l=t.memoizedState,l!==null&&(l.rendering=null,l.tail=null,l.lastEffect=null),ue(me,me.current),o)break;return null;case 22:case 23:return t.lanes=0,Gf(e,t,i)}return qt(e,t,i)}var Xf,ul,Jf,ep;Xf=function(e,t){for(var i=t.child;i!==null;){if(i.tag===5||i.tag===6)e.appendChild(i.stateNode);else if(i.tag!==4&&i.child!==null){i.child.return=i,i=i.child;continue}if(i===t)break;for(;i.sibling===null;){if(i.return===null||i.return===t)return;i=i.return}i.sibling.return=i.return,i=i.sibling}};ul=function(){};Jf=function(e,t,i,o){var l=e.memoizedProps;if(l!==o){e=t.stateNode,En(Ot.current);var s=null;switch(i){case"input":l=za(e,l),o=za(e,o),s=[];break;case"select":l=ve({},l,{value:void 0}),o=ve({},o,{value:void 0}),s=[];break;case"textarea":l=Ia(e,l),o=Ia(e,o),s=[];break;default:typeof l.onClick!="function"&&typeof o.onClick=="function"&&(e.onclick=Ro)}Ba(i,o);var u;i=null;for(m in l)if(!o.hasOwnProperty(m)&&l.hasOwnProperty(m)&&l[m]!=null)if(m==="style"){var h=l[m];for(u in h)h.hasOwnProperty(u)&&(i||(i={}),i[u]="")}else m!=="dangerouslySetInnerHTML"&&m!=="children"&&m!=="suppressContentEditableWarning"&&m!=="suppressHydrationWarning"&&m!=="autoFocus"&&(ur.hasOwnProperty(m)?s||(s=[]):(s=s||[]).push(m,null));for(m in o){var f=o[m];if(h=l!=null?l[m]:void 0,o.hasOwnProperty(m)&&f!==h&&(f!=null||h!=null))if(m==="style")if(h){for(u in h)!h.hasOwnProperty(u)||f&&f.hasOwnProperty(u)||(i||(i={}),i[u]="");for(u in f)f.hasOwnProperty(u)&&h[u]!==f[u]&&(i||(i={}),i[u]=f[u])}else i||(s||(s=[]),s.push(m,i)),i=f;else m==="dangerouslySetInnerHTML"?(f=f?f.__html:void 0,h=h?h.__html:void 0,f!=null&&h!==f&&(s=s||[]).push(m,f)):m==="children"?typeof f!="string"&&typeof f!="number"||(s=s||[]).push(m,""+f):m!=="suppressContentEditableWarning"&&m!=="suppressHydrationWarning"&&(ur.hasOwnProperty(m)?(f!=null&&m==="onScroll"&&ce("scroll",e),s||h===f||(s=[])):(s=s||[]).push(m,f))}i&&(s=s||[]).push("style",i);var m=s;(t.updateQueue=m)&&(t.flags|=4)}};ep=function(e,t,i,o){i!==o&&(t.flags|=4)};function Gi(e,t){if(!de)switch(e.tailMode){case"hidden":t=e.tail;for(var i=null;t!==null;)t.alternate!==null&&(i=t),t=t.sibling;i===null?e.tail=null:i.sibling=null;break;case"collapsed":i=e.tail;for(var o=null;i!==null;)i.alternate!==null&&(o=i),i=i.sibling;o===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:o.sibling=null}}function Be(e){var t=e.alternate!==null&&e.alternate.child===e.child,i=0,o=0;if(t)for(var l=e.child;l!==null;)i|=l.lanes|l.childLanes,o|=l.subtreeFlags&14680064,o|=l.flags&14680064,l.return=e,l=l.sibling;else for(l=e.child;l!==null;)i|=l.lanes|l.childLanes,o|=l.subtreeFlags,o|=l.flags,l.return=e,l=l.sibling;return e.subtreeFlags|=o,e.childLanes=i,t}function _g(e,t,i){var o=t.pendingProps;switch(Vl(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Be(t),null;case 1:return Qe(t.type)&&Zo(),Be(t),null;case 3:return o=t.stateNode,yi(),he(Ke),he(Ze),eu(),o.pendingContext&&(o.context=o.pendingContext,o.pendingContext=null),(e===null||e.child===null)&&(uo(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,yt!==null&&(vl(yt),yt=null))),ul(e,t),Be(t),null;case 5:Jl(t);var l=En(xr.current);if(i=t.type,e!==null&&t.stateNode!=null)Jf(e,t,i,o,l),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!o){if(t.stateNode===null)throw Error(j(166));return Be(t),null}if(e=En(Ot.current),uo(t)){o=t.stateNode,i=t.type;var s=t.memoizedProps;switch(o[Nt]=t,o[yr]=s,e=(t.mode&1)!==0,i){case"dialog":ce("cancel",o),ce("close",o);break;case"iframe":case"object":case"embed":ce("load",o);break;case"video":case"audio":for(l=0;l<\/script>",e=e.removeChild(e.firstChild)):typeof o.is=="string"?e=u.createElement(i,{is:o.is}):(e=u.createElement(i),i==="select"&&(u=e,o.multiple?u.multiple=!0:o.size&&(u.size=o.size))):e=u.createElementNS(e,i),e[Nt]=t,e[yr]=o,Xf(e,t,!1,!1),t.stateNode=e;e:{switch(u=Ra(i,o),i){case"dialog":ce("cancel",e),ce("close",e),l=o;break;case"iframe":case"object":case"embed":ce("load",e),l=o;break;case"video":case"audio":for(l=0;lxi&&(t.flags|=128,o=!0,Gi(s,!1),t.lanes=4194304)}else{if(!o)if(e=Vo(u),e!==null){if(t.flags|=128,o=!0,i=e.updateQueue,i!==null&&(t.updateQueue=i,t.flags|=4),Gi(s,!0),s.tail===null&&s.tailMode==="hidden"&&!u.alternate&&!de)return Be(t),null}else 2*we()-s.renderingStartTime>xi&&i!==1073741824&&(t.flags|=128,o=!0,Gi(s,!1),t.lanes=4194304);s.isBackwards?(u.sibling=t.child,t.child=u):(i=s.last,i!==null?i.sibling=u:t.child=u,s.last=u)}return s.tail!==null?(t=s.tail,s.rendering=t,s.tail=t.sibling,s.renderingStartTime=we(),t.sibling=null,i=me.current,ue(me,o?i&1|2:i&1),t):(Be(t),null);case 22:case 23:return hu(),o=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==o&&(t.flags|=8192),o&&t.mode&1?Xe&1073741824&&(Be(t),t.subtreeFlags&6&&(t.flags|=8192)):Be(t),null;case 24:return null;case 25:return null}throw Error(j(156,t.tag))}function vg(e,t){switch(Vl(t),t.tag){case 1:return Qe(t.type)&&Zo(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return yi(),he(Ke),he(Ze),eu(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Jl(t),null;case 13:if(he(me),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(j(340));vi()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return he(me),null;case 4:return yi(),null;case 10:return Ql(t.type._context),null;case 22:case 23:return hu(),null;case 24:return null;default:return null}}var fo=!1,Re=!1,gg=typeof WeakSet=="function"?WeakSet:Set,D=null;function si(e,t){var i=e.ref;if(i!==null)if(typeof i=="function")try{i(null)}catch(o){ge(e,t,o)}else i.current=null}function cl(e,t,i){try{i()}catch(o){ge(e,t,o)}}var Bh=!1;function yg(e,t){if(Ga=Io,e=of(),Ul(e)){if("selectionStart"in e)var i={start:e.selectionStart,end:e.selectionEnd};else e:{i=(i=e.ownerDocument)&&i.defaultView||window;var o=i.getSelection&&i.getSelection();if(o&&o.rangeCount!==0){i=o.anchorNode;var l=o.anchorOffset,s=o.focusNode;o=o.focusOffset;try{i.nodeType,s.nodeType}catch{i=null;break e}var u=0,h=-1,f=-1,m=0,v=0,g=e,y=null;t:for(;;){for(var S;g!==i||l!==0&&g.nodeType!==3||(h=u+l),g!==s||o!==0&&g.nodeType!==3||(f=u+o),g.nodeType===3&&(u+=g.nodeValue.length),(S=g.firstChild)!==null;)y=g,g=S;for(;;){if(g===e)break t;if(y===i&&++m===l&&(h=u),y===s&&++v===o&&(f=u),(S=g.nextSibling)!==null)break;g=y,y=g.parentNode}g=S}i=h===-1||f===-1?null:{start:h,end:f}}else i=null}i=i||{start:0,end:0}}else i=null;for(Ka={focusedElem:e,selectionRange:i},Io=!1,D=t;D!==null;)if(t=D,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,D=e;else for(;D!==null;){t=D;try{var E=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(E!==null){var k=E.memoizedProps,I=E.memoizedState,x=t.stateNode,w=x.getSnapshotBeforeUpdate(t.elementType===t.type?k:vt(t.type,k),I);x.__reactInternalSnapshotBeforeUpdate=w}break;case 3:var C=t.stateNode.containerInfo;C.nodeType===1?C.textContent="":C.nodeType===9&&C.documentElement&&C.removeChild(C.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(j(163))}}catch(N){ge(t,t.return,N)}if(e=t.sibling,e!==null){e.return=t.return,D=e;break}D=t.return}return E=Bh,Bh=!1,E}function or(e,t,i){var o=t.updateQueue;if(o=o!==null?o.lastEffect:null,o!==null){var l=o=o.next;do{if((l.tag&e)===e){var s=l.destroy;l.destroy=void 0,s!==void 0&&cl(t,i,s)}l=l.next}while(l!==o)}}function cs(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var i=t=t.next;do{if((i.tag&e)===e){var o=i.create;i.destroy=o()}i=i.next}while(i!==t)}}function hl(e){var t=e.ref;if(t!==null){var i=e.stateNode;switch(e.tag){case 5:e=i;break;default:e=i}typeof t=="function"?t(e):t.current=e}}function tp(e){var t=e.alternate;t!==null&&(e.alternate=null,tp(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Nt],delete t[yr],delete t[Ya],delete t[tg],delete t[ng])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function np(e){return e.tag===5||e.tag===3||e.tag===4}function Rh(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||np(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function dl(e,t,i){var o=e.tag;if(o===5||o===6)e=e.stateNode,t?i.nodeType===8?i.parentNode.insertBefore(e,t):i.insertBefore(e,t):(i.nodeType===8?(t=i.parentNode,t.insertBefore(e,i)):(t=i,t.appendChild(e)),i=i._reactRootContainer,i!=null||t.onclick!==null||(t.onclick=Ro));else if(o!==4&&(e=e.child,e!==null))for(dl(e,t,i),e=e.sibling;e!==null;)dl(e,t,i),e=e.sibling}function fl(e,t,i){var o=e.tag;if(o===5||o===6)e=e.stateNode,t?i.insertBefore(e,t):i.appendChild(e);else if(o!==4&&(e=e.child,e!==null))for(fl(e,t,i),e=e.sibling;e!==null;)fl(e,t,i),e=e.sibling}var Oe=null,gt=!1;function Yt(e,t,i){for(i=i.child;i!==null;)ip(e,t,i),i=i.sibling}function ip(e,t,i){if(zt&&typeof zt.onCommitFiberUnmount=="function")try{zt.onCommitFiberUnmount(ns,i)}catch{}switch(i.tag){case 5:Re||si(i,t);case 6:var o=Oe,l=gt;Oe=null,Yt(e,t,i),Oe=o,gt=l,Oe!==null&&(gt?(e=Oe,i=i.stateNode,e.nodeType===8?e.parentNode.removeChild(i):e.removeChild(i)):Oe.removeChild(i.stateNode));break;case 18:Oe!==null&&(gt?(e=Oe,i=i.stateNode,e.nodeType===8?pa(e.parentNode,i):e.nodeType===1&&pa(e,i),pr(e)):pa(Oe,i.stateNode));break;case 4:o=Oe,l=gt,Oe=i.stateNode.containerInfo,gt=!0,Yt(e,t,i),Oe=o,gt=l;break;case 0:case 11:case 14:case 15:if(!Re&&(o=i.updateQueue,o!==null&&(o=o.lastEffect,o!==null))){l=o=o.next;do{var s=l,u=s.destroy;s=s.tag,u!==void 0&&(s&2||s&4)&&cl(i,t,u),l=l.next}while(l!==o)}Yt(e,t,i);break;case 1:if(!Re&&(si(i,t),o=i.stateNode,typeof o.componentWillUnmount=="function"))try{o.props=i.memoizedProps,o.state=i.memoizedState,o.componentWillUnmount()}catch(h){ge(i,t,h)}Yt(e,t,i);break;case 21:Yt(e,t,i);break;case 22:i.mode&1?(Re=(o=Re)||i.memoizedState!==null,Yt(e,t,i),Re=o):Yt(e,t,i);break;default:Yt(e,t,i)}}function Zh(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var i=e.stateNode;i===null&&(i=e.stateNode=new gg),t.forEach(function(o){var l=Eg.bind(null,e,o);i.has(o)||(i.add(o),o.then(l,l))})}}function _t(e,t){var i=t.deletions;if(i!==null)for(var o=0;ol&&(l=u),o&=~s}if(o=l,o=we()-o,o=(120>o?120:480>o?480:1080>o?1080:1920>o?1920:3e3>o?3e3:4320>o?4320:1960*xg(o/1960))-o,10e?16:e,rn===null)var o=!1;else{if(e=rn,rn=null,$o=0,te&6)throw Error(j(331));var l=te;for(te|=4,D=e.current;D!==null;){var s=D,u=s.child;if(D.flags&16){var h=s.deletions;if(h!==null){for(var f=0;fwe()-uu?Nn(e,0):lu|=i),$e(e,t)}function hp(e,t){t===0&&(e.mode&1?(t=io,io<<=1,!(io&130023424)&&(io=4194304)):t=1);var i=Fe();e=Vt(e,t),e!==null&&(Tr(e,t,i),$e(e,i))}function Tg(e){var t=e.memoizedState,i=0;t!==null&&(i=t.retryLane),hp(e,i)}function Eg(e,t){var i=0;switch(e.tag){case 13:var o=e.stateNode,l=e.memoizedState;l!==null&&(i=l.retryLane);break;case 19:o=e.stateNode;break;default:throw Error(j(314))}o!==null&&o.delete(t),hp(e,i)}var dp;dp=function(e,t,i){if(e!==null)if(e.memoizedProps!==t.pendingProps||Ke.current)Ge=!0;else{if(!(e.lanes&i)&&!(t.flags&128))return Ge=!1,mg(e,t,i);Ge=!!(e.flags&131072)}else Ge=!1,de&&t.flags&1048576&&_f(t,Fo,t.index);switch(t.lanes=0,t.tag){case 2:var o=t.type;Co(e,t),e=t.pendingProps;var l=_i(t,Ze.current);fi(t,i),l=nu(null,t,o,e,l,i);var s=iu();return t.flags|=1,typeof l=="object"&&l!==null&&typeof l.render=="function"&&l.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Qe(o)?(s=!0,Do(t)):s=!1,t.memoizedState=l.state!==null&&l.state!==void 0?l.state:null,Yl(t),l.updater=us,t.stateNode=l,l._reactInternals=t,il(t,o,e,i),t=sl(null,t,o,!0,s,i)):(t.tag=0,de&&s&&Wl(t),be(null,t,l,i),t=t.child),t;case 16:o=t.elementType;e:{switch(Co(e,t),e=t.pendingProps,l=o._init,o=l(o._payload),t.type=o,l=t.tag=Ng(o),e=vt(o,e),l){case 0:t=ol(null,t,o,e,i);break e;case 1:t=jh(null,t,o,e,i);break e;case 11:t=zh(null,t,o,e,i);break e;case 14:t=Oh(null,t,o,vt(o.type,e),i);break e}throw Error(j(306,o,""))}return t;case 0:return o=t.type,l=t.pendingProps,l=t.elementType===o?l:vt(o,l),ol(e,t,o,l,i);case 1:return o=t.type,l=t.pendingProps,l=t.elementType===o?l:vt(o,l),jh(e,t,o,l,i);case 3:e:{if(Qf(t),e===null)throw Error(j(387));o=t.pendingProps,s=t.memoizedState,l=s.element,Lf(e,t),Wo(t,o,null,i);var u=t.memoizedState;if(o=u.element,s.isDehydrated)if(s={element:o,isDehydrated:!1,cache:u.cache,pendingSuspenseBoundaries:u.pendingSuspenseBoundaries,transitions:u.transitions},t.updateQueue.baseState=s,t.memoizedState=s,t.flags&256){l=wi(Error(j(423)),t),t=Ih(e,t,o,i,l);break e}else if(o!==l){l=wi(Error(j(424)),t),t=Ih(e,t,o,i,l);break e}else for(Je=ln(t.stateNode.containerInfo.firstChild),et=t,de=!0,yt=null,i=wf(t,null,o,i),t.child=i;i;)i.flags=i.flags&-3|4096,i=i.sibling;else{if(vi(),o===l){t=qt(e,t,i);break e}be(e,t,o,i)}t=t.child}return t;case 5:return Pf(t),e===null&&el(t),o=t.type,l=t.pendingProps,s=e!==null?e.memoizedProps:null,u=l.children,Qa(o,l)?u=null:s!==null&&Qa(o,s)&&(t.flags|=32),Kf(e,t),be(e,t,u,i),t.child;case 6:return e===null&&el(t),null;case 13:return $f(e,t,i);case 4:return Xl(t,t.stateNode.containerInfo),o=t.pendingProps,e===null?t.child=gi(t,null,o,i):be(e,t,o,i),t.child;case 11:return o=t.type,l=t.pendingProps,l=t.elementType===o?l:vt(o,l),zh(e,t,o,l,i);case 7:return be(e,t,t.pendingProps,i),t.child;case 8:return be(e,t,t.pendingProps.children,i),t.child;case 12:return be(e,t,t.pendingProps.children,i),t.child;case 10:e:{if(o=t.type._context,l=t.pendingProps,s=t.memoizedProps,u=l.value,ue(Ho,o._currentValue),o._currentValue=u,s!==null)if(Lt(s.value,u)){if(s.children===l.children&&!Ke.current){t=qt(e,t,i);break e}}else for(s=t.child,s!==null&&(s.return=t);s!==null;){var h=s.dependencies;if(h!==null){u=s.child;for(var f=h.firstContext;f!==null;){if(f.context===o){if(s.tag===1){f=Ht(-1,i&-i),f.tag=2;var m=s.updateQueue;if(m!==null){m=m.shared;var v=m.pending;v===null?f.next=f:(f.next=v.next,v.next=f),m.pending=f}}s.lanes|=i,f=s.alternate,f!==null&&(f.lanes|=i),tl(s.return,i,t),h.lanes|=i;break}f=f.next}}else if(s.tag===10)u=s.type===t.type?null:s.child;else if(s.tag===18){if(u=s.return,u===null)throw Error(j(341));u.lanes|=i,h=u.alternate,h!==null&&(h.lanes|=i),tl(u,i,t),u=s.sibling}else u=s.child;if(u!==null)u.return=s;else for(u=s;u!==null;){if(u===t){u=null;break}if(s=u.sibling,s!==null){s.return=u.return,u=s;break}u=u.return}s=u}be(e,t,l.children,i),t=t.child}return t;case 9:return l=t.type,o=t.pendingProps.children,fi(t,i),l=dt(l),o=o(l),t.flags|=1,be(e,t,o,i),t.child;case 14:return o=t.type,l=vt(o,t.pendingProps),l=vt(o.type,l),Oh(e,t,o,l,i);case 15:return qf(e,t,t.type,t.pendingProps,i);case 17:return o=t.type,l=t.pendingProps,l=t.elementType===o?l:vt(o,l),Co(e,t),t.tag=1,Qe(o)?(e=!0,Do(t)):e=!1,fi(t,i),Uf(t,o,l),il(t,o,l,i),sl(null,t,o,!0,e,i);case 19:return Yf(e,t,i);case 22:return Gf(e,t,i)}throw Error(j(156,t.tag))};function fp(e,t){return Dd(e,t)}function Mg(e,t,i,o){this.tag=e,this.key=i,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=o,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function ct(e,t,i,o){return new Mg(e,t,i,o)}function fu(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Ng(e){if(typeof e=="function")return fu(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Ol)return 11;if(e===jl)return 14}return 2}function dn(e,t){var i=e.alternate;return i===null?(i=ct(e.tag,t,e.key,e.mode),i.elementType=e.elementType,i.type=e.type,i.stateNode=e.stateNode,i.alternate=e,e.alternate=i):(i.pendingProps=t,i.type=e.type,i.flags=0,i.subtreeFlags=0,i.deletions=null),i.flags=e.flags&14680064,i.childLanes=e.childLanes,i.lanes=e.lanes,i.child=e.child,i.memoizedProps=e.memoizedProps,i.memoizedState=e.memoizedState,i.updateQueue=e.updateQueue,t=e.dependencies,i.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},i.sibling=e.sibling,i.index=e.index,i.ref=e.ref,i}function Eo(e,t,i,o,l,s){var u=2;if(o=e,typeof e=="function")fu(e)&&(u=1);else if(typeof e=="string")u=5;else e:switch(e){case Yn:return zn(i.children,l,s,t);case zl:u=8,l|=8;break;case Ta:return e=ct(12,i,t,l|2),e.elementType=Ta,e.lanes=s,e;case Ea:return e=ct(13,i,t,l),e.elementType=Ea,e.lanes=s,e;case Ma:return e=ct(19,i,t,l),e.elementType=Ma,e.lanes=s,e;case Ld:return ds(i,l,s,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case wd:u=10;break e;case xd:u=9;break e;case Ol:u=11;break e;case jl:u=14;break e;case Xt:u=16,o=null;break e}throw Error(j(130,e==null?e:typeof e,""))}return t=ct(u,i,t,l),t.elementType=e,t.type=o,t.lanes=s,t}function zn(e,t,i,o){return e=ct(7,e,o,t),e.lanes=i,e}function ds(e,t,i,o){return e=ct(22,e,o,t),e.elementType=Ld,e.lanes=i,e.stateNode={isHidden:!1},e}function La(e,t,i){return e=ct(6,e,null,t),e.lanes=i,e}function Pa(e,t,i){return t=ct(4,e.children!==null?e.children:[],e.key,t),t.lanes=i,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function zg(e,t,i,o,l){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=ia(0),this.expirationTimes=ia(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=ia(0),this.identifierPrefix=o,this.onRecoverableError=l,this.mutableSourceEagerHydrationData=null}function pu(e,t,i,o,l,s,u,h,f){return e=new zg(e,t,i,h,f),t===1?(t=1,s===!0&&(t|=8)):t=0,s=ct(3,null,null,t),e.current=s,s.stateNode=e,s.memoizedState={element:o,isDehydrated:i,cache:null,transitions:null,pendingSuspenseBoundaries:null},Yl(s),e}function Og(e,t,i){var o=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(vp)}catch(e){console.error(e)}}vp(),_d.exports=it;var gp=_d.exports,qh=gp;Ca.createRoot=qh.createRoot,Ca.hydrateRoot=qh.hydrateRoot;/** * @remix-run/router v1.18.0 * * Copyright (c) Remix Software Inc. @@ -46,7 +46,7 @@ Error generating stack: `+s.message+` * LICENSE.md file in the root directory of this source tree. * * @license MIT - */function Xo(){return Xo=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u")throw new Error(t)}function Zg(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function Dg(){return Math.random().toString(36).substr(2,8)}function Kh(e,t){return{usr:e.state,key:e.key,idx:t}}function gl(e,t,i,o){return i===void 0&&(i=null),Xo({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?gu(t):t,{state:i,key:t&&t.key||o||Dg()})}function wp(e){let{pathname:t="/",search:i="",hash:o=""}=e;return i&&i!=="?"&&(t+=i.charAt(0)==="?"?i:"?"+i),o&&o!=="#"&&(t+=o.charAt(0)==="#"?o:"#"+o),t}function gu(e){let t={};if(e){let i=e.indexOf("#");i>=0&&(t.hash=e.substr(i),e=e.substr(0,i));let o=e.indexOf("?");o>=0&&(t.search=e.substr(o),e=e.substr(0,o)),e&&(t.pathname=e)}return t}function bg(e,t,i,o){o===void 0&&(o={});let{window:l=document.defaultView,v5Compat:s=!1}=o,u=l.history,h=Mn.Pop,f=null,p=g();p==null&&(p=0,u.replaceState(Xo({},u.state,{idx:p}),""));function g(){return(u.state||{idx:null}).idx}function v(){h=Mn.Pop;let A=g(),y=A==null?null:A-p;p=A,f&&f({action:h,location:k.location,delta:y})}function w(A,y){h=Mn.Push;let x=gl(k.location,A,y);i&&i(x,A),p=g()+1;let C=Kh(x,p),N=k.createHref(x);try{u.pushState(C,"",N)}catch(I){if(I instanceof DOMException&&I.name==="DataCloneError")throw I;l.location.assign(N)}s&&f&&f({action:h,location:k.location,delta:1})}function S(A,y){h=Mn.Replace;let x=gl(k.location,A,y);i&&i(x,A),p=g();let C=Kh(x,p),N=k.createHref(x);u.replaceState(C,"",N),s&&f&&f({action:h,location:k.location,delta:0})}function E(A){let y=l.location.origin!=="null"?l.location.origin:l.location.href,x=typeof A=="string"?A:wp(A);return x=x.replace(/ $/,"%20"),yp(y,"No window.location.(origin|href) available to create URL for href: "+x),new URL(x,y)}let k={get action(){return h},get location(){return e(l,u)},listen(A){if(f)throw new Error("A history only accepts one active listener");return l.addEventListener(Gh,v),f=A,()=>{l.removeEventListener(Gh,v),f=null}},createHref(A){return t(l,A)},createURL:E,encodeLocation(A){let y=E(A);return{pathname:y.pathname,search:y.search,hash:y.hash}},push:w,replace:S,go(A){return u.go(A)}};return k}var Qh;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(Qh||(Qh={}));function Fg(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let i=t.endsWith("/")?t.length-1:t.length,o=e.charAt(i);return o&&o!=="/"?null:e.slice(i)||"/"}const xp=["post","put","patch","delete"];new Set(xp);const Hg=["get",...xp];new Set(Hg);/** + */function Jo(){return Jo=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u")throw new Error(t)}function Zg(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function Dg(){return Math.random().toString(36).substr(2,8)}function Kh(e,t){return{usr:e.state,key:e.key,idx:t}}function gl(e,t,i,o){return i===void 0&&(i=null),Jo({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?gu(t):t,{state:i,key:t&&t.key||o||Dg()})}function wp(e){let{pathname:t="/",search:i="",hash:o=""}=e;return i&&i!=="?"&&(t+=i.charAt(0)==="?"?i:"?"+i),o&&o!=="#"&&(t+=o.charAt(0)==="#"?o:"#"+o),t}function gu(e){let t={};if(e){let i=e.indexOf("#");i>=0&&(t.hash=e.substr(i),e=e.substr(0,i));let o=e.indexOf("?");o>=0&&(t.search=e.substr(o),e=e.substr(0,o)),e&&(t.pathname=e)}return t}function bg(e,t,i,o){o===void 0&&(o={});let{window:l=document.defaultView,v5Compat:s=!1}=o,u=l.history,h=Mn.Pop,f=null,m=v();m==null&&(m=0,u.replaceState(Jo({},u.state,{idx:m}),""));function v(){return(u.state||{idx:null}).idx}function g(){h=Mn.Pop;let I=v(),x=I==null?null:I-m;m=I,f&&f({action:h,location:k.location,delta:x})}function y(I,x){h=Mn.Push;let w=gl(k.location,I,x);i&&i(w,I),m=v()+1;let C=Kh(w,m),N=k.createHref(w);try{u.pushState(C,"",N)}catch(A){if(A instanceof DOMException&&A.name==="DataCloneError")throw A;l.location.assign(N)}s&&f&&f({action:h,location:k.location,delta:1})}function S(I,x){h=Mn.Replace;let w=gl(k.location,I,x);i&&i(w,I),m=v();let C=Kh(w,m),N=k.createHref(w);u.replaceState(C,"",N),s&&f&&f({action:h,location:k.location,delta:0})}function E(I){let x=l.location.origin!=="null"?l.location.origin:l.location.href,w=typeof I=="string"?I:wp(I);return w=w.replace(/ $/,"%20"),yp(x,"No window.location.(origin|href) available to create URL for href: "+w),new URL(w,x)}let k={get action(){return h},get location(){return e(l,u)},listen(I){if(f)throw new Error("A history only accepts one active listener");return l.addEventListener(Gh,g),f=I,()=>{l.removeEventListener(Gh,g),f=null}},createHref(I){return t(l,I)},createURL:E,encodeLocation(I){let x=E(I);return{pathname:x.pathname,search:x.search,hash:x.hash}},push:y,replace:S,go(I){return u.go(I)}};return k}var Qh;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(Qh||(Qh={}));function Fg(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let i=t.endsWith("/")?t.length-1:t.length,o=e.charAt(i);return o&&o!=="/"?null:e.slice(i)||"/"}const xp=["post","put","patch","delete"];new Set(xp);const Hg=["get",...xp];new Set(Hg);/** * React Router v6.25.1 * * Copyright (c) Remix Software Inc. @@ -55,7 +55,7 @@ Error generating stack: `+s.message+` * LICENSE.md file in the root directory of this source tree. * * @license MIT - */function yl(){return yl=Object.assign?Object.assign.bind():function(e){for(var t=1;t({basename:f,navigator:s,static:u,future:yl({v7_relativeSplatPath:!1},h)}),[f,h,s,u]);typeof o=="string"&&(o=gu(o));let{pathname:g="/",search:v="",hash:w="",state:S=null,key:E="default"}=o,k=U.useMemo(()=>{let A=Fg(g,f);return A==null?null:{location:{pathname:A,search:v,hash:w,state:S,key:E},navigationType:l}},[f,g,v,w,S,E,l]);return k==null?null:U.createElement(Ug.Provider,{value:p},U.createElement(Lp.Provider,{children:i,value:k}))}new Promise(()=>{});/** + */function yl(){return yl=Object.assign?Object.assign.bind():function(e){for(var t=1;t({basename:f,navigator:s,static:u,future:yl({v7_relativeSplatPath:!1},h)}),[f,h,s,u]);typeof o=="string"&&(o=gu(o));let{pathname:v="/",search:g="",hash:y="",state:S=null,key:E="default"}=o,k=H.useMemo(()=>{let I=Fg(v,f);return I==null?null:{location:{pathname:I,search:g,hash:y,state:S,key:E},navigationType:l}},[f,v,g,y,S,E,l]);return k==null?null:H.createElement(Ug.Provider,{value:m},H.createElement(Lp.Provider,{children:i,value:k}))}new Promise(()=>{});/** * React Router DOM v6.25.1 * * Copyright (c) Remix Software Inc. @@ -64,27 +64,27 @@ Error generating stack: `+s.message+` * LICENSE.md file in the root directory of this source tree. * * @license MIT - */const qg="6";try{window.__reactRouterVersion=qg}catch{}const Gg="startTransition",$h=k_[Gg];function Kg(e){let{basename:t,children:i,future:o,window:l}=e,s=U.useRef();s.current==null&&(s.current=Rg({window:l,v5Compat:!0}));let u=s.current,[h,f]=U.useState({action:u.action,location:u.location}),{v7_startTransition:p}=o||{},g=U.useCallback(v=>{p&&$h?$h(()=>f(v)):f(v)},[f,p]);return U.useLayoutEffect(()=>u.listen(g),[u,g]),U.createElement(Vg,{basename:t,children:i,location:h.location,navigationType:h.action,navigator:u,future:o})}var Yh;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(Yh||(Yh={}));var Xh;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(Xh||(Xh={}));function yu(e,t){const i=U.useRef(t);U.useEffect(function(){t!==i.current&&e.attributionControl!=null&&(i.current!=null&&e.attributionControl.removeAttribution(i.current),t!=null&&e.attributionControl.addAttribution(t)),i.current=t},[e,t])}function Qg(e,t,i){t.center!==i.center&&e.setLatLng(t.center),t.radius!=null&&t.radius!==i.radius&&e.setRadius(t.radius)}const Pp=1;function Sp(e){return Object.freeze({__version:Pp,map:e})}function wu(e,t){return Object.freeze({...e,...t})}const xu=U.createContext(null),Lu=xu.Provider;function Nr(){const e=U.useContext(xu);if(e==null)throw new Error("No context provided: useLeafletContext() can only be used in a descendant of ");return e}function Pu(e){function t(i,o){const{instance:l,context:s}=e(i).current;return U.useImperativeHandle(o,()=>l),i.children==null?null:ar.createElement(Lu,{value:s},i.children)}return U.forwardRef(t)}function Cp(e){function t(i,o){const[l,s]=U.useState(!1),{instance:u}=e(i,s).current;U.useImperativeHandle(o,()=>u),U.useEffect(function(){l&&u.update()},[u,l,i.children]);const h=u._contentNode;return h?gp.createPortal(i.children,h):null}return U.forwardRef(t)}function Su(e){function t(i,o){const{instance:l}=e(i).current;return U.useImperativeHandle(o,()=>l),null}return U.forwardRef(t)}function kp(e){return function(i){const o=Nr(),l=e(i,o),{instance:s}=l.current,u=U.useRef(i.position),{position:h}=i;return U.useEffect(function(){return s.addTo(o.map),function(){s.remove()}},[o.map,s]),U.useEffect(function(){h!=null&&h!==u.current&&(s.setPosition(h),u.current=h)},[s,h]),l}}function _s(e,t){const i=U.useRef();U.useEffect(function(){return t!=null&&e.instance.on(t),i.current=t,function(){i.current!=null&&e.instance.off(i.current),i.current=null}},[e,t])}function zr(e,t){const i=e.pane??t.pane;return i?{...e,pane:i}:e}function Tp(e,t){return function(o,l){const s=Nr(),u=e(zr(o,s),s);return yu(s.map,o.attribution),_s(u.current,o.eventHandlers),t(u.current,s,o,l),u}}var wl={exports:{}};/* @preserve + */const qg="6";try{window.__reactRouterVersion=qg}catch{}const Gg="startTransition",$h=k_[Gg];function Kg(e){let{basename:t,children:i,future:o,window:l}=e,s=H.useRef();s.current==null&&(s.current=Rg({window:l,v5Compat:!0}));let u=s.current,[h,f]=H.useState({action:u.action,location:u.location}),{v7_startTransition:m}=o||{},v=H.useCallback(g=>{m&&$h?$h(()=>f(g)):f(g)},[f,m]);return H.useLayoutEffect(()=>u.listen(v),[u,v]),H.createElement(Vg,{basename:t,children:i,location:h.location,navigationType:h.action,navigator:u,future:o})}var Yh;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(Yh||(Yh={}));var Xh;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(Xh||(Xh={}));function yu(e,t){const i=H.useRef(t);H.useEffect(function(){t!==i.current&&e.attributionControl!=null&&(i.current!=null&&e.attributionControl.removeAttribution(i.current),t!=null&&e.attributionControl.addAttribution(t)),i.current=t},[e,t])}function Qg(e,t,i){t.center!==i.center&&e.setLatLng(t.center),t.radius!=null&&t.radius!==i.radius&&e.setRadius(t.radius)}const Pp=1;function Sp(e){return Object.freeze({__version:Pp,map:e})}function wu(e,t){return Object.freeze({...e,...t})}const xu=H.createContext(null),Lu=xu.Provider;function zr(){const e=H.useContext(xu);if(e==null)throw new Error("No context provided: useLeafletContext() can only be used in a descendant of ");return e}function Pu(e){function t(i,o){const{instance:l,context:s}=e(i).current;return H.useImperativeHandle(o,()=>l),i.children==null?null:lr.createElement(Lu,{value:s},i.children)}return H.forwardRef(t)}function Cp(e){function t(i,o){const[l,s]=H.useState(!1),{instance:u}=e(i,s).current;H.useImperativeHandle(o,()=>u),H.useEffect(function(){l&&u.update()},[u,l,i.children]);const h=u._contentNode;return h?gp.createPortal(i.children,h):null}return H.forwardRef(t)}function Su(e){function t(i,o){const{instance:l}=e(i).current;return H.useImperativeHandle(o,()=>l),null}return H.forwardRef(t)}function kp(e){return function(i){const o=zr(),l=e(i,o),{instance:s}=l.current,u=H.useRef(i.position),{position:h}=i;return H.useEffect(function(){return s.addTo(o.map),function(){s.remove()}},[o.map,s]),H.useEffect(function(){h!=null&&h!==u.current&&(s.setPosition(h),u.current=h)},[s,h]),l}}function vs(e,t){const i=H.useRef();H.useEffect(function(){return t!=null&&e.instance.on(t),i.current=t,function(){i.current!=null&&e.instance.off(i.current),i.current=null}},[e,t])}function Or(e,t){const i=e.pane??t.pane;return i?{...e,pane:i}:e}function Tp(e,t){return function(o,l){const s=zr(),u=e(Or(o,s),s);return yu(s.map,o.attribution),vs(u.current,o.eventHandlers),t(u.current,s,o,l),u}}var wl={exports:{}};/* @preserve * Leaflet 1.9.4, a JS library for interactive maps. https://leafletjs.com * (c) 2010-2023 Vladimir Agafonkin, (c) 2010-2011 CloudMade - */(function(e,t){(function(i,o){o(t)})(fn,function(i){var o="1.9.4";function l(n){var r,a,c,d;for(a=1,c=arguments.length;a"u"||!L||!L.Mixin)){n=C(n)?n:[n];for(var r=0;r0?Math.floor(n):Math.ceil(n)};z.prototype={clone:function(){return new z(this.x,this.y)},add:function(n){return this.clone()._add(B(n))},_add:function(n){return this.x+=n.x,this.y+=n.y,this},subtract:function(n){return this.clone()._subtract(B(n))},_subtract:function(n){return this.x-=n.x,this.y-=n.y,this},divideBy:function(n){return this.clone()._divideBy(n)},_divideBy:function(n){return this.x/=n,this.y/=n,this},multiplyBy:function(n){return this.clone()._multiplyBy(n)},_multiplyBy:function(n){return this.x*=n,this.y*=n,this},scaleBy:function(n){return new z(this.x*n.x,this.y*n.y)},unscaleBy:function(n){return new z(this.x/n.x,this.y/n.y)},round:function(){return this.clone()._round()},_round:function(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this},floor:function(){return this.clone()._floor()},_floor:function(){return this.x=Math.floor(this.x),this.y=Math.floor(this.y),this},ceil:function(){return this.clone()._ceil()},_ceil:function(){return this.x=Math.ceil(this.x),this.y=Math.ceil(this.y),this},trunc:function(){return this.clone()._trunc()},_trunc:function(){return this.x=q(this.x),this.y=q(this.y),this},distanceTo:function(n){n=B(n);var r=n.x-this.x,a=n.y-this.y;return Math.sqrt(r*r+a*a)},equals:function(n){return n=B(n),n.x===this.x&&n.y===this.y},contains:function(n){return n=B(n),Math.abs(n.x)<=Math.abs(this.x)&&Math.abs(n.y)<=Math.abs(this.y)},toString:function(){return"Point("+w(this.x)+", "+w(this.y)+")"}};function B(n,r,a){return n instanceof z?n:C(n)?new z(n[0],n[1]):n==null?n:typeof n=="object"&&"x"in n&&"y"in n?new z(n.x,n.y):new z(n,r,a)}function V(n,r){if(n)for(var a=r?[n,r]:n,c=0,d=a.length;c=this.min.x&&a.x<=this.max.x&&r.y>=this.min.y&&a.y<=this.max.y},intersects:function(n){n=ee(n);var r=this.min,a=this.max,c=n.min,d=n.max,m=d.x>=r.x&&c.x<=a.x,P=d.y>=r.y&&c.y<=a.y;return m&&P},overlaps:function(n){n=ee(n);var r=this.min,a=this.max,c=n.min,d=n.max,m=d.x>r.x&&c.xr.y&&c.y=r.lat&&d.lat<=a.lat&&c.lng>=r.lng&&d.lng<=a.lng},intersects:function(n){n=se(n);var r=this._southWest,a=this._northEast,c=n.getSouthWest(),d=n.getNorthEast(),m=d.lat>=r.lat&&c.lat<=a.lat,P=d.lng>=r.lng&&c.lng<=a.lng;return m&&P},overlaps:function(n){n=se(n);var r=this._southWest,a=this._northEast,c=n.getSouthWest(),d=n.getNorthEast(),m=d.lat>r.lat&&c.latr.lng&&c.lng1,Jp=function(){var n=!1;try{var r=Object.defineProperty({},"passive",{get:function(){n=!0}});window.addEventListener("testPassiveEventSupport",v,r),window.removeEventListener("testPassiveEventSupport",v,r)}catch{}return n}(),em=function(){return!!document.createElement("canvas").getContext}(),Cs=!!(document.createElementNS&&Mu("svg").createSVGRect),tm=!!Cs&&function(){var n=document.createElement("div");return n.innerHTML="",(n.firstChild&&n.firstChild.namespaceURI)==="http://www.w3.org/2000/svg"}(),nm=!Cs&&function(){try{var n=document.createElement("div");n.innerHTML='';var r=n.firstChild;return r.style.behavior="url(#default#VML)",r&&typeof r.adj=="object"}catch{return!1}}(),im=navigator.platform.indexOf("Mac")===0,rm=navigator.platform.indexOf("Linux")===0;function St(n){return navigator.userAgent.toLowerCase().indexOf(n)>=0}var H={ie:Or,ielt9:Fp,edge:zu,webkit:Ls,android:Ou,android23:ju,androidStock:Up,opera:Ps,chrome:Iu,gecko:Au,safari:Wp,phantom:Bu,opera12:Ru,win:Vp,ie3d:Zu,webkit3d:Ss,gecko3d:Du,any3d:qp,mobile:Ti,mobileWebkit:Gp,mobileWebkit3d:Kp,msPointer:bu,pointer:Fu,touch:Qp,touchNative:Hu,mobileOpera:$p,mobileGecko:Yp,retina:Xp,passiveEvents:Jp,canvas:em,svg:Cs,vml:nm,inlineSvg:tm,mac:im,linux:rm},Uu=H.msPointer?"MSPointerDown":"pointerdown",Wu=H.msPointer?"MSPointerMove":"pointermove",Vu=H.msPointer?"MSPointerUp":"pointerup",qu=H.msPointer?"MSPointerCancel":"pointercancel",ks={touchstart:Uu,touchmove:Wu,touchend:Vu,touchcancel:qu},Gu={touchstart:cm,touchmove:jr,touchend:jr,touchcancel:jr},Dn={},Ku=!1;function om(n,r,a){return r==="touchstart"&&um(),Gu[r]?(a=Gu[r].bind(this,a),n.addEventListener(ks[r],a,!1),a):(console.warn("wrong event specified:",r),v)}function sm(n,r,a){if(!ks[r]){console.warn("wrong event specified:",r);return}n.removeEventListener(ks[r],a,!1)}function am(n){Dn[n.pointerId]=n}function lm(n){Dn[n.pointerId]&&(Dn[n.pointerId]=n)}function Qu(n){delete Dn[n.pointerId]}function um(){Ku||(document.addEventListener(Uu,am,!0),document.addEventListener(Wu,lm,!0),document.addEventListener(Vu,Qu,!0),document.addEventListener(qu,Qu,!0),Ku=!0)}function jr(n,r){if(r.pointerType!==(r.MSPOINTER_TYPE_MOUSE||"mouse")){r.touches=[];for(var a in Dn)r.touches.push(Dn[a]);r.changedTouches=[r],n(r)}}function cm(n,r){r.MSPOINTER_TYPE_TOUCH&&r.pointerType===r.MSPOINTER_TYPE_TOUCH&&ze(r),jr(n,r)}function hm(n){var r={},a,c;for(c in n)a=n[c],r[c]=a&&a.bind?a.bind(n):a;return n=r,r.type="dblclick",r.detail=2,r.isTrusted=!1,r._simulated=!0,r}var dm=200;function fm(n,r){n.addEventListener("dblclick",r);var a=0,c;function d(m){if(m.detail!==1){c=m.detail;return}if(!(m.pointerType==="mouse"||m.sourceCapabilities&&!m.sourceCapabilities.firesTouchEvents)){var P=ec(m);if(!(P.some(function(M){return M instanceof HTMLLabelElement&&M.attributes.for})&&!P.some(function(M){return M instanceof HTMLInputElement||M instanceof HTMLSelectElement}))){var T=Date.now();T-a<=dm?(c++,c===2&&r(hm(m))):c=1,a=T}}}return n.addEventListener("click",d),{dblclick:r,simDblclick:d}}function pm(n,r){n.removeEventListener("dblclick",r.dblclick),n.removeEventListener("click",r.simDblclick)}var Ts=Br(["transform","webkitTransform","OTransform","MozTransform","msTransform"]),Ei=Br(["webkitTransition","transition","OTransition","MozTransition","msTransition"]),$u=Ei==="webkitTransition"||Ei==="OTransition"?Ei+"End":"transitionend";function Yu(n){return typeof n=="string"?document.getElementById(n):n}function Mi(n,r){var a=n.style[r]||n.currentStyle&&n.currentStyle[r];if((!a||a==="auto")&&document.defaultView){var c=document.defaultView.getComputedStyle(n,null);a=c?c[r]:null}return a==="auto"?null:a}function ie(n,r,a){var c=document.createElement(n);return c.className=r||"",a&&a.appendChild(c),c}function fe(n){var r=n.parentNode;r&&r.removeChild(n)}function Ir(n){for(;n.firstChild;)n.removeChild(n.firstChild)}function bn(n){var r=n.parentNode;r&&r.lastChild!==n&&r.appendChild(n)}function Fn(n){var r=n.parentNode;r&&r.firstChild!==n&&r.insertBefore(n,r.firstChild)}function Es(n,r){if(n.classList!==void 0)return n.classList.contains(r);var a=Ar(n);return a.length>0&&new RegExp("(^|\\s)"+r+"(\\s|$)").test(a)}function $(n,r){if(n.classList!==void 0)for(var a=E(r),c=0,d=a.length;c0?2*window.devicePixelRatio:1;function nc(n){return H.edge?n.wheelDeltaY/2:n.deltaY&&n.deltaMode===0?-n.deltaY/vm:n.deltaY&&n.deltaMode===1?-n.deltaY*20:n.deltaY&&n.deltaMode===2?-n.deltaY*60:n.deltaX||n.deltaZ?0:n.wheelDelta?(n.wheelDeltaY||n.wheelDelta)/2:n.detail&&Math.abs(n.detail)<32765?-n.detail*20:n.detail?n.detail/-32765*60:0}function bs(n,r){var a=r.relatedTarget;if(!a)return!0;try{for(;a&&a!==n;)a=a.parentNode}catch{return!1}return a!==n}var gm={__proto__:null,on:K,off:le,stopPropagation:xn,disableScrollPropagation:Ds,disableClickPropagation:ji,preventDefault:ze,stop:Ln,getPropagationPath:ec,getMousePosition:tc,getWheelDelta:nc,isExternalTarget:bs,addListener:K,removeListener:le},ic=jt.extend({run:function(n,r,a,c){this.stop(),this._el=n,this._inProgress=!0,this._duration=a||.25,this._easeOutPower=1/Math.max(c||.5,.2),this._startPos=wn(n),this._offset=r.subtract(this._startPos),this._startTime=+new Date,this.fire("start"),this._animate()},stop:function(){this._inProgress&&(this._step(!0),this._complete())},_animate:function(){this._animId=re(this._animate,this),this._step()},_step:function(n){var r=+new Date-this._startTime,a=this._duration*1e3;rthis.options.maxZoom)?this.setZoom(n):this},panInsideBounds:function(n,r){this._enforcingBounds=!0;var a=this.getCenter(),c=this._limitCenter(a,this._zoom,se(n));return a.equals(c)||this.panTo(c,r),this._enforcingBounds=!1,this},panInside:function(n,r){r=r||{};var a=B(r.paddingTopLeft||r.padding||[0,0]),c=B(r.paddingBottomRight||r.padding||[0,0]),d=this.project(this.getCenter()),m=this.project(n),P=this.getPixelBounds(),T=ee([P.min.add(a),P.max.subtract(c)]),M=T.getSize();if(!T.contains(m)){this._enforcingBounds=!0;var O=m.subtract(T.getCenter()),R=T.extend(m).getSize().subtract(M);d.x+=O.x<0?-R.x:R.x,d.y+=O.y<0?-R.y:R.y,this.panTo(this.unproject(d),r),this._enforcingBounds=!1}return this},invalidateSize:function(n){if(!this._loaded)return this;n=l({animate:!1,pan:!0},n===!0?{animate:!0}:n);var r=this.getSize();this._sizeChanged=!0,this._lastCenter=null;var a=this.getSize(),c=r.divideBy(2).round(),d=a.divideBy(2).round(),m=c.subtract(d);return!m.x&&!m.y?this:(n.animate&&n.pan?this.panBy(m):(n.pan&&this._rawPanBy(m),this.fire("move"),n.debounceMoveend?(clearTimeout(this._sizeTimer),this._sizeTimer=setTimeout(u(this.fire,this,"moveend"),200)):this.fire("moveend")),this.fire("resize",{oldSize:r,newSize:a}))},stop:function(){return this.setZoom(this._limitZoom(this._zoom)),this.options.zoomSnap||this.fire("viewreset"),this._stop()},locate:function(n){if(n=this._locateOptions=l({timeout:1e4,watch:!1},n),!("geolocation"in navigator))return this._handleGeolocationError({code:0,message:"Geolocation not supported."}),this;var r=u(this._handleGeolocationResponse,this),a=u(this._handleGeolocationError,this);return n.watch?this._locationWatchId=navigator.geolocation.watchPosition(r,a,n):navigator.geolocation.getCurrentPosition(r,a,n),this},stopLocate:function(){return navigator.geolocation&&navigator.geolocation.clearWatch&&navigator.geolocation.clearWatch(this._locationWatchId),this._locateOptions&&(this._locateOptions.setView=!1),this},_handleGeolocationError:function(n){if(this._container._leaflet_id){var r=n.code,a=n.message||(r===1?"permission denied":r===2?"position unavailable":"timeout");this._locateOptions.setView&&!this._loaded&&this.fitWorld(),this.fire("locationerror",{code:r,message:"Geolocation error: "+a+"."})}},_handleGeolocationResponse:function(n){if(this._container._leaflet_id){var r=n.coords.latitude,a=n.coords.longitude,c=new ne(r,a),d=c.toBounds(n.coords.accuracy*2),m=this._locateOptions;if(m.setView){var P=this.getBoundsZoom(d);this.setView(c,m.maxZoom?Math.min(P,m.maxZoom):P)}var T={latlng:c,bounds:d,timestamp:n.timestamp};for(var M in n.coords)typeof n.coords[M]=="number"&&(T[M]=n.coords[M]);this.fire("locationfound",T)}},addHandler:function(n,r){if(!r)return this;var a=this[n]=new r(this);return this._handlers.push(a),this.options[n]&&a.enable(),this},remove:function(){if(this._initEvents(!0),this.options.maxBounds&&this.off("moveend",this._panInsideMaxBounds),this._containerId!==this._container._leaflet_id)throw new Error("Map container is being reused by another instance");try{delete this._container._leaflet_id,delete this._containerId}catch{this._container._leaflet_id=void 0,this._containerId=void 0}this._locationWatchId!==void 0&&this.stopLocate(),this._stop(),fe(this._mapPane),this._clearControlPos&&this._clearControlPos(),this._resizeRequest&&(Pe(this._resizeRequest),this._resizeRequest=null),this._clearHandlers(),this._loaded&&this.fire("unload");var n;for(n in this._layers)this._layers[n].remove();for(n in this._panes)fe(this._panes[n]);return this._layers=[],this._panes=[],delete this._mapPane,delete this._renderer,this},createPane:function(n,r){var a="leaflet-pane"+(n?" leaflet-"+n.replace("Pane","")+"-pane":""),c=ie("div",a,r||this._mapPane);return n&&(this._panes[n]=c),c},getCenter:function(){return this._checkIfLoaded(),this._lastCenter&&!this._moved()?this._lastCenter.clone():this.layerPointToLatLng(this._getCenterLayerPoint())},getZoom:function(){return this._zoom},getBounds:function(){var n=this.getPixelBounds(),r=this.unproject(n.getBottomLeft()),a=this.unproject(n.getTopRight());return new Se(r,a)},getMinZoom:function(){return this.options.minZoom===void 0?this._layersMinZoom||0:this.options.minZoom},getMaxZoom:function(){return this.options.maxZoom===void 0?this._layersMaxZoom===void 0?1/0:this._layersMaxZoom:this.options.maxZoom},getBoundsZoom:function(n,r,a){n=se(n),a=B(a||[0,0]);var c=this.getZoom()||0,d=this.getMinZoom(),m=this.getMaxZoom(),P=n.getNorthWest(),T=n.getSouthEast(),M=this.getSize().subtract(a),O=ee(this.project(T,c),this.project(P,c)).getSize(),R=H.any3d?this.options.zoomSnap:1,W=M.x/O.x,Y=M.y/O.y,De=r?Math.max(W,Y):Math.min(W,Y);return c=this.getScaleZoom(De,c),R&&(c=Math.round(c/(R/100))*(R/100),c=r?Math.ceil(c/R)*R:Math.floor(c/R)*R),Math.max(d,Math.min(m,c))},getSize:function(){return(!this._size||this._sizeChanged)&&(this._size=new z(this._container.clientWidth||0,this._container.clientHeight||0),this._sizeChanged=!1),this._size.clone()},getPixelBounds:function(n,r){var a=this._getTopLeftPoint(n,r);return new V(a,a.add(this.getSize()))},getPixelOrigin:function(){return this._checkIfLoaded(),this._pixelOrigin},getPixelWorldBounds:function(n){return this.options.crs.getProjectedBounds(n===void 0?this.getZoom():n)},getPane:function(n){return typeof n=="string"?this._panes[n]:n},getPanes:function(){return this._panes},getContainer:function(){return this._container},getZoomScale:function(n,r){var a=this.options.crs;return r=r===void 0?this._zoom:r,a.scale(n)/a.scale(r)},getScaleZoom:function(n,r){var a=this.options.crs;r=r===void 0?this._zoom:r;var c=a.zoom(n*a.scale(r));return isNaN(c)?1/0:c},project:function(n,r){return r=r===void 0?this._zoom:r,this.options.crs.latLngToPoint(G(n),r)},unproject:function(n,r){return r=r===void 0?this._zoom:r,this.options.crs.pointToLatLng(B(n),r)},layerPointToLatLng:function(n){var r=B(n).add(this.getPixelOrigin());return this.unproject(r)},latLngToLayerPoint:function(n){var r=this.project(G(n))._round();return r._subtract(this.getPixelOrigin())},wrapLatLng:function(n){return this.options.crs.wrapLatLng(G(n))},wrapLatLngBounds:function(n){return this.options.crs.wrapLatLngBounds(se(n))},distance:function(n,r){return this.options.crs.distance(G(n),G(r))},containerPointToLayerPoint:function(n){return B(n).subtract(this._getMapPanePos())},layerPointToContainerPoint:function(n){return B(n).add(this._getMapPanePos())},containerPointToLatLng:function(n){var r=this.containerPointToLayerPoint(B(n));return this.layerPointToLatLng(r)},latLngToContainerPoint:function(n){return this.layerPointToContainerPoint(this.latLngToLayerPoint(G(n)))},mouseEventToContainerPoint:function(n){return tc(n,this._container)},mouseEventToLayerPoint:function(n){return this.containerPointToLayerPoint(this.mouseEventToContainerPoint(n))},mouseEventToLatLng:function(n){return this.layerPointToLatLng(this.mouseEventToLayerPoint(n))},_initContainer:function(n){var r=this._container=Yu(n);if(r){if(r._leaflet_id)throw new Error("Map container is already initialized.")}else throw new Error("Map container not found.");K(r,"scroll",this._onScroll,this),this._containerId=f(r)},_initLayout:function(){var n=this._container;this._fadeAnimated=this.options.fadeAnimation&&H.any3d,$(n,"leaflet-container"+(H.touch?" leaflet-touch":"")+(H.retina?" leaflet-retina":"")+(H.ielt9?" leaflet-oldie":"")+(H.safari?" leaflet-safari":"")+(this._fadeAnimated?" leaflet-fade-anim":""));var r=Mi(n,"position");r!=="absolute"&&r!=="relative"&&r!=="fixed"&&r!=="sticky"&&(n.style.position="relative"),this._initPanes(),this._initControlPos&&this._initControlPos()},_initPanes:function(){var n=this._panes={};this._paneRenderers={},this._mapPane=this.createPane("mapPane",this._container),we(this._mapPane,new z(0,0)),this.createPane("tilePane"),this.createPane("overlayPane"),this.createPane("shadowPane"),this.createPane("markerPane"),this.createPane("tooltipPane"),this.createPane("popupPane"),this.options.markerZoomAnimation||($(n.markerPane,"leaflet-zoom-hide"),$(n.shadowPane,"leaflet-zoom-hide"))},_resetView:function(n,r,a){we(this._mapPane,new z(0,0));var c=!this._loaded;this._loaded=!0,r=this._limitZoom(r),this.fire("viewprereset");var d=this._zoom!==r;this._moveStart(d,a)._move(n,r)._moveEnd(d),this.fire("viewreset"),c&&this.fire("load")},_moveStart:function(n,r){return n&&this.fire("zoomstart"),r||this.fire("movestart"),this},_move:function(n,r,a,c){r===void 0&&(r=this._zoom);var d=this._zoom!==r;return this._zoom=r,this._lastCenter=n,this._pixelOrigin=this._getNewPixelOrigin(n),c?a&&a.pinch&&this.fire("zoom",a):((d||a&&a.pinch)&&this.fire("zoom",a),this.fire("move",a)),this},_moveEnd:function(n){return n&&this.fire("zoomend"),this.fire("moveend")},_stop:function(){return Pe(this._flyToFrame),this._panAnim&&this._panAnim.stop(),this},_rawPanBy:function(n){we(this._mapPane,this._getMapPanePos().subtract(n))},_getZoomSpan:function(){return this.getMaxZoom()-this.getMinZoom()},_panInsideMaxBounds:function(){this._enforcingBounds||this.panInsideBounds(this.options.maxBounds)},_checkIfLoaded:function(){if(!this._loaded)throw new Error("Set map center and zoom first.")},_initEvents:function(n){this._targets={},this._targets[f(this._container)]=this;var r=n?le:K;r(this._container,"click dblclick mousedown mouseup mouseover mouseout mousemove contextmenu keypress keydown keyup",this._handleDOMEvent,this),this.options.trackResize&&r(window,"resize",this._onResize,this),H.any3d&&this.options.transform3DLimit&&(n?this.off:this.on).call(this,"moveend",this._onMoveEnd)},_onResize:function(){Pe(this._resizeRequest),this._resizeRequest=re(function(){this.invalidateSize({debounceMoveend:!0})},this)},_onScroll:function(){this._container.scrollTop=0,this._container.scrollLeft=0},_onMoveEnd:function(){var n=this._getMapPanePos();Math.max(Math.abs(n.x),Math.abs(n.y))>=this.options.transform3DLimit&&this._resetView(this.getCenter(),this.getZoom())},_findEventTargets:function(n,r){for(var a=[],c,d=r==="mouseout"||r==="mouseover",m=n.target||n.srcElement,P=!1;m;){if(c=this._targets[f(m)],c&&(r==="click"||r==="preclick")&&this._draggableMoved(c)){P=!0;break}if(c&&c.listens(r,!0)&&(d&&!bs(m,n)||(a.push(c),d))||m===this._container)break;m=m.parentNode}return!a.length&&!P&&!d&&this.listens(r,!0)&&(a=[this]),a},_isClickDisabled:function(n){for(;n&&n!==this._container;){if(n._leaflet_disable_click)return!0;n=n.parentNode}},_handleDOMEvent:function(n){var r=n.target||n.srcElement;if(!(!this._loaded||r._leaflet_disable_events||n.type==="click"&&this._isClickDisabled(r))){var a=n.type;a==="mousedown"&&Is(r),this._fireDOMEvent(n,a)}},_mouseEvents:["click","dblclick","mouseover","mouseout","contextmenu"],_fireDOMEvent:function(n,r,a){if(n.type==="click"){var c=l({},n);c.type="preclick",this._fireDOMEvent(c,c.type,a)}var d=this._findEventTargets(n,r);if(a){for(var m=[],P=0;P0?Math.round(n-r)/2:Math.max(0,Math.ceil(n))-Math.max(0,Math.floor(r))},_limitZoom:function(n){var r=this.getMinZoom(),a=this.getMaxZoom(),c=H.any3d?this.options.zoomSnap:1;return c&&(n=Math.round(n/c)*c),Math.max(r,Math.min(a,n))},_onPanTransitionStep:function(){this.fire("move")},_onPanTransitionEnd:function(){ge(this._mapPane,"leaflet-pan-anim"),this.fire("moveend")},_tryAnimatedPan:function(n,r){var a=this._getCenterOffset(n)._trunc();return(r&&r.animate)!==!0&&!this.getSize().contains(a)?!1:(this.panBy(a,r),!0)},_createAnimProxy:function(){var n=this._proxy=ie("div","leaflet-proxy leaflet-zoom-animated");this._panes.mapPane.appendChild(n),this.on("zoomanim",function(r){var a=Ts,c=this._proxy.style[a];yn(this._proxy,this.project(r.center,r.zoom),this.getZoomScale(r.zoom,1)),c===this._proxy.style[a]&&this._animatingZoom&&this._onZoomTransitionEnd()},this),this.on("load moveend",this._animMoveEnd,this),this._on("unload",this._destroyAnimProxy,this)},_destroyAnimProxy:function(){fe(this._proxy),this.off("load moveend",this._animMoveEnd,this),delete this._proxy},_animMoveEnd:function(){var n=this.getCenter(),r=this.getZoom();yn(this._proxy,this.project(n,r),this.getZoomScale(r,1))},_catchTransitionEnd:function(n){this._animatingZoom&&n.propertyName.indexOf("transform")>=0&&this._onZoomTransitionEnd()},_nothingToAnimate:function(){return!this._container.getElementsByClassName("leaflet-zoom-animated").length},_tryAnimatedZoom:function(n,r,a){if(this._animatingZoom)return!0;if(a=a||{},!this._zoomAnimated||a.animate===!1||this._nothingToAnimate()||Math.abs(r-this._zoom)>this.options.zoomAnimationThreshold)return!1;var c=this.getZoomScale(r),d=this._getCenterOffset(n)._divideBy(1-1/c);return a.animate!==!0&&!this.getSize().contains(d)?!1:(re(function(){this._moveStart(!0,a.noMoveStart||!1)._animateZoom(n,r,!0)},this),!0)},_animateZoom:function(n,r,a,c){this._mapPane&&(a&&(this._animatingZoom=!0,this._animateToCenter=n,this._animateToZoom=r,$(this._mapPane,"leaflet-zoom-anim")),this.fire("zoomanim",{center:n,zoom:r,noUpdate:c}),this._tempFireZoomEvent||(this._tempFireZoomEvent=this._zoom!==this._animateToZoom),this._move(this._animateToCenter,this._animateToZoom,void 0,!0),setTimeout(u(this._onZoomTransitionEnd,this),250))},_onZoomTransitionEnd:function(){this._animatingZoom&&(this._mapPane&&ge(this._mapPane,"leaflet-zoom-anim"),this._animatingZoom=!1,this._move(this._animateToCenter,this._animateToZoom,void 0,!0),this._tempFireZoomEvent&&this.fire("zoom"),delete this._tempFireZoomEvent,this.fire("move"),this._moveEnd(!0))}});function ym(n,r){return new J(n,r)}var pt=We.extend({options:{position:"topright"},initialize:function(n){k(this,n)},getPosition:function(){return this.options.position},setPosition:function(n){var r=this._map;return r&&r.removeControl(this),this.options.position=n,r&&r.addControl(this),this},getContainer:function(){return this._container},addTo:function(n){this.remove(),this._map=n;var r=this._container=this.onAdd(n),a=this.getPosition(),c=n._controlCorners[a];return $(r,"leaflet-control"),a.indexOf("bottom")!==-1?c.insertBefore(r,c.firstChild):c.appendChild(r),this._map.on("unload",this.remove,this),this},remove:function(){return this._map?(fe(this._container),this.onRemove&&this.onRemove(this._map),this._map.off("unload",this.remove,this),this._map=null,this):this},_refocusOnMap:function(n){this._map&&n&&n.screenX>0&&n.screenY>0&&this._map.getContainer().focus()}}),Ii=function(n){return new pt(n)};J.include({addControl:function(n){return n.addTo(this),this},removeControl:function(n){return n.remove(),this},_initControlPos:function(){var n=this._controlCorners={},r="leaflet-",a=this._controlContainer=ie("div",r+"control-container",this._container);function c(d,m){var P=r+d+" "+r+m;n[d+m]=ie("div",P,a)}c("top","left"),c("top","right"),c("bottom","left"),c("bottom","right")},_clearControlPos:function(){for(var n in this._controlCorners)fe(this._controlCorners[n]);fe(this._controlContainer),delete this._controlCorners,delete this._controlContainer}});var rc=pt.extend({options:{collapsed:!0,position:"topright",autoZIndex:!0,hideSingleBase:!1,sortLayers:!1,sortFunction:function(n,r,a,c){return a1,this._baseLayersList.style.display=n?"":"none"),this._separator.style.display=r&&n?"":"none",this},_onLayerChange:function(n){this._handlingClick||this._update();var r=this._getLayer(f(n.target)),a=r.overlay?n.type==="add"?"overlayadd":"overlayremove":n.type==="add"?"baselayerchange":null;a&&this._map.fire(a,r)},_createRadioElement:function(n,r){var a='",c=document.createElement("div");return c.innerHTML=a,c.firstChild},_addItem:function(n){var r=document.createElement("label"),a=this._map.hasLayer(n.layer),c;n.overlay?(c=document.createElement("input"),c.type="checkbox",c.className="leaflet-control-layers-selector",c.defaultChecked=a):c=this._createRadioElement("leaflet-base-layers_"+f(this),a),this._layerControlInputs.push(c),c.layerId=f(n.layer),K(c,"click",this._onInputClick,this);var d=document.createElement("span");d.innerHTML=" "+n.name;var m=document.createElement("span");r.appendChild(m),m.appendChild(c),m.appendChild(d);var P=n.overlay?this._overlaysList:this._baseLayersList;return P.appendChild(r),this._checkDisabledLayers(),r},_onInputClick:function(){if(!this._preventClick){var n=this._layerControlInputs,r,a,c=[],d=[];this._handlingClick=!0;for(var m=n.length-1;m>=0;m--)r=n[m],a=this._getLayer(r.layerId).layer,r.checked?c.push(a):r.checked||d.push(a);for(m=0;m=0;d--)r=n[d],a=this._getLayer(r.layerId).layer,r.disabled=a.options.minZoom!==void 0&&ca.options.maxZoom},_expandIfNotCollapsed:function(){return this._map&&!this.options.collapsed&&this.expand(),this},_expandSafely:function(){var n=this._section;this._preventClick=!0,K(n,"click",ze),this.expand();var r=this;setTimeout(function(){le(n,"click",ze),r._preventClick=!1})}}),wm=function(n,r,a){return new rc(n,r,a)},Fs=pt.extend({options:{position:"topleft",zoomInText:'',zoomInTitle:"Zoom in",zoomOutText:'',zoomOutTitle:"Zoom out"},onAdd:function(n){var r="leaflet-control-zoom",a=ie("div",r+" leaflet-bar"),c=this.options;return this._zoomInButton=this._createButton(c.zoomInText,c.zoomInTitle,r+"-in",a,this._zoomIn),this._zoomOutButton=this._createButton(c.zoomOutText,c.zoomOutTitle,r+"-out",a,this._zoomOut),this._updateDisabled(),n.on("zoomend zoomlevelschange",this._updateDisabled,this),a},onRemove:function(n){n.off("zoomend zoomlevelschange",this._updateDisabled,this)},disable:function(){return this._disabled=!0,this._updateDisabled(),this},enable:function(){return this._disabled=!1,this._updateDisabled(),this},_zoomIn:function(n){!this._disabled&&this._map._zoomthis._map.getMinZoom()&&this._map.zoomOut(this._map.options.zoomDelta*(n.shiftKey?3:1))},_createButton:function(n,r,a,c,d){var m=ie("a",a,c);return m.innerHTML=n,m.href="#",m.title=r,m.setAttribute("role","button"),m.setAttribute("aria-label",r),ji(m),K(m,"click",Ln),K(m,"click",d,this),K(m,"click",this._refocusOnMap,this),m},_updateDisabled:function(){var n=this._map,r="leaflet-disabled";ge(this._zoomInButton,r),ge(this._zoomOutButton,r),this._zoomInButton.setAttribute("aria-disabled","false"),this._zoomOutButton.setAttribute("aria-disabled","false"),(this._disabled||n._zoom===n.getMinZoom())&&($(this._zoomOutButton,r),this._zoomOutButton.setAttribute("aria-disabled","true")),(this._disabled||n._zoom===n.getMaxZoom())&&($(this._zoomInButton,r),this._zoomInButton.setAttribute("aria-disabled","true"))}});J.mergeOptions({zoomControl:!0}),J.addInitHook(function(){this.options.zoomControl&&(this.zoomControl=new Fs,this.addControl(this.zoomControl))});var xm=function(n){return new Fs(n)},oc=pt.extend({options:{position:"bottomleft",maxWidth:100,metric:!0,imperial:!0},onAdd:function(n){var r="leaflet-control-scale",a=ie("div",r),c=this.options;return this._addScales(c,r+"-line",a),n.on(c.updateWhenIdle?"moveend":"move",this._update,this),n.whenReady(this._update,this),a},onRemove:function(n){n.off(this.options.updateWhenIdle?"moveend":"move",this._update,this)},_addScales:function(n,r,a){n.metric&&(this._mScale=ie("div",r,a)),n.imperial&&(this._iScale=ie("div",r,a))},_update:function(){var n=this._map,r=n.getSize().y/2,a=n.distance(n.containerPointToLatLng([0,r]),n.containerPointToLatLng([this.options.maxWidth,r]));this._updateScales(a)},_updateScales:function(n){this.options.metric&&n&&this._updateMetric(n),this.options.imperial&&n&&this._updateImperial(n)},_updateMetric:function(n){var r=this._getRoundNum(n),a=r<1e3?r+" m":r/1e3+" km";this._updateScale(this._mScale,a,r/n)},_updateImperial:function(n){var r=n*3.2808399,a,c,d;r>5280?(a=r/5280,c=this._getRoundNum(a),this._updateScale(this._iScale,c+" mi",c/a)):(d=this._getRoundNum(r),this._updateScale(this._iScale,d+" ft",d/r))},_updateScale:function(n,r,a){n.style.width=Math.round(this.options.maxWidth*a)+"px",n.innerHTML=r},_getRoundNum:function(n){var r=Math.pow(10,(Math.floor(n)+"").length-1),a=n/r;return a=a>=10?10:a>=5?5:a>=3?3:a>=2?2:1,r*a}}),Lm=function(n){return new oc(n)},Pm='',Hs=pt.extend({options:{position:"bottomright",prefix:''+(H.inlineSvg?Pm+" ":"")+"Leaflet"},initialize:function(n){k(this,n),this._attributions={}},onAdd:function(n){n.attributionControl=this,this._container=ie("div","leaflet-control-attribution"),ji(this._container);for(var r in n._layers)n._layers[r].getAttribution&&this.addAttribution(n._layers[r].getAttribution());return this._update(),n.on("layeradd",this._addAttribution,this),this._container},onRemove:function(n){n.off("layeradd",this._addAttribution,this)},_addAttribution:function(n){n.layer.getAttribution&&(this.addAttribution(n.layer.getAttribution()),n.layer.once("remove",function(){this.removeAttribution(n.layer.getAttribution())},this))},setPrefix:function(n){return this.options.prefix=n,this._update(),this},addAttribution:function(n){return n?(this._attributions[n]||(this._attributions[n]=0),this._attributions[n]++,this._update(),this):this},removeAttribution:function(n){return n?(this._attributions[n]&&(this._attributions[n]--,this._update()),this):this},_update:function(){if(this._map){var n=[];for(var r in this._attributions)this._attributions[r]&&n.push(r);var a=[];this.options.prefix&&a.push(this.options.prefix),n.length&&a.push(n.join(", ")),this._container.innerHTML=a.join(' ')}}});J.mergeOptions({attributionControl:!0}),J.addInitHook(function(){this.options.attributionControl&&new Hs().addTo(this)});var Sm=function(n){return new Hs(n)};pt.Layers=rc,pt.Zoom=Fs,pt.Scale=oc,pt.Attribution=Hs,Ii.layers=wm,Ii.zoom=xm,Ii.scale=Lm,Ii.attribution=Sm;var kt=We.extend({initialize:function(n){this._map=n},enable:function(){return this._enabled?this:(this._enabled=!0,this.addHooks(),this)},disable:function(){return this._enabled?(this._enabled=!1,this.removeHooks(),this):this},enabled:function(){return!!this._enabled}});kt.addTo=function(n,r){return n.addHandler(r,this),this};var Cm={Events:Ne},sc=H.touch?"touchstart mousedown":"mousedown",Qt=jt.extend({options:{clickTolerance:3},initialize:function(n,r,a,c){k(this,c),this._element=n,this._dragStartTarget=r||n,this._preventOutline=a},enable:function(){this._enabled||(K(this._dragStartTarget,sc,this._onDown,this),this._enabled=!0)},disable:function(){this._enabled&&(Qt._dragging===this&&this.finishDrag(!0),le(this._dragStartTarget,sc,this._onDown,this),this._enabled=!1,this._moved=!1)},_onDown:function(n){if(this._enabled&&(this._moved=!1,!Es(this._element,"leaflet-zoom-anim"))){if(n.touches&&n.touches.length!==1){Qt._dragging===this&&this.finishDrag();return}if(!(Qt._dragging||n.shiftKey||n.which!==1&&n.button!==1&&!n.touches)&&(Qt._dragging=this,this._preventOutline&&Is(this._element),zs(),Ni(),!this._moving)){this.fire("down");var r=n.touches?n.touches[0]:n,a=Xu(this._element);this._startPoint=new z(r.clientX,r.clientY),this._startPos=wn(this._element),this._parentScale=As(a);var c=n.type==="mousedown";K(document,c?"mousemove":"touchmove",this._onMove,this),K(document,c?"mouseup":"touchend touchcancel",this._onUp,this)}}},_onMove:function(n){if(this._enabled){if(n.touches&&n.touches.length>1){this._moved=!0;return}var r=n.touches&&n.touches.length===1?n.touches[0]:n,a=new z(r.clientX,r.clientY)._subtract(this._startPoint);!a.x&&!a.y||Math.abs(a.x)+Math.abs(a.y)m&&(P=T,m=M);m>a&&(r[P]=1,Ws(n,r,a,c,P),Ws(n,r,a,P,d))}function Mm(n,r){for(var a=[n[0]],c=1,d=0,m=n.length;cr&&(a.push(n[c]),d=c);return dr.max.x&&(a|=2),n.yr.max.y&&(a|=8),a}function Nm(n,r){var a=r.x-n.x,c=r.y-n.y;return a*a+c*c}function Ai(n,r,a,c){var d=r.x,m=r.y,P=a.x-d,T=a.y-m,M=P*P+T*T,O;return M>0&&(O=((n.x-d)*P+(n.y-m)*T)/M,O>1?(d=a.x,m=a.y):O>0&&(d+=P*O,m+=T*O)),P=n.x-d,T=n.y-m,c?P*P+T*T:new z(d,m)}function st(n){return!C(n[0])||typeof n[0][0]!="object"&&typeof n[0][0]<"u"}function fc(n){return console.warn("Deprecated use of _flat, please use L.LineUtil.isFlat instead."),st(n)}function pc(n,r){var a,c,d,m,P,T,M,O;if(!n||n.length===0)throw new Error("latlngs not passed");st(n)||(console.warn("latlngs are not flat! Only the first ring will be used"),n=n[0]);var R=G([0,0]),W=se(n),Y=W.getNorthWest().distanceTo(W.getSouthWest())*W.getNorthEast().distanceTo(W.getNorthWest());Y<1700&&(R=Us(n));var De=n.length,Te=[];for(a=0;ac){M=(m-c)/d,O=[T.x-M*(T.x-P.x),T.y-M*(T.y-P.y)];break}var qe=r.unproject(B(O));return G([qe.lat+R.lat,qe.lng+R.lng])}var zm={__proto__:null,simplify:uc,pointToSegmentDistance:cc,closestPointOnSegment:Tm,clipSegment:dc,_getEdgeIntersection:Dr,_getBitCode:Pn,_sqClosestPointOnSegment:Ai,isFlat:st,_flat:fc,polylineCenter:pc},Vs={project:function(n){return new z(n.lng,n.lat)},unproject:function(n){return new ne(n.y,n.x)},bounds:new V([-180,-90],[180,90])},qs={R:6378137,R_MINOR:6356752314245179e-9,bounds:new V([-2003750834279e-5,-1549657073972e-5],[2003750834279e-5,1876465623138e-5]),project:function(n){var r=Math.PI/180,a=this.R,c=n.lat*r,d=this.R_MINOR/a,m=Math.sqrt(1-d*d),P=m*Math.sin(c),T=Math.tan(Math.PI/4-c/2)/Math.pow((1-P)/(1+P),m/2);return c=-a*Math.log(Math.max(T,1e-10)),new z(n.lng*r*a,c)},unproject:function(n){for(var r=180/Math.PI,a=this.R,c=this.R_MINOR/a,d=Math.sqrt(1-c*c),m=Math.exp(-n.y/a),P=Math.PI/2-2*Math.atan(m),T=0,M=.1,O;T<15&&Math.abs(M)>1e-7;T++)O=d*Math.sin(P),O=Math.pow((1-O)/(1+O),d/2),M=Math.PI/2-2*Math.atan(m*O)-P,P+=M;return new ne(P*r,n.x*r/a)}},Om={__proto__:null,LonLat:Vs,Mercator:qs,SphericalMercator:gs},jm=l({},Kt,{code:"EPSG:3395",projection:qs,transformation:function(){var n=.5/(Math.PI*qs.R);return ki(n,.5,-n,.5)}()}),mc=l({},Kt,{code:"EPSG:4326",projection:Vs,transformation:ki(1/180,1,-1/180,.5)}),Im=l({},Ve,{projection:Vs,transformation:ki(1,0,-1,0),scale:function(n){return Math.pow(2,n)},zoom:function(n){return Math.log(n)/Math.LN2},distance:function(n,r){var a=r.lng-n.lng,c=r.lat-n.lat;return Math.sqrt(a*a+c*c)},infinite:!0});Ve.Earth=Kt,Ve.EPSG3395=jm,Ve.EPSG3857=ws,Ve.EPSG900913=bp,Ve.EPSG4326=mc,Ve.Simple=Im;var mt=jt.extend({options:{pane:"overlayPane",attribution:null,bubblingMouseEvents:!0},addTo:function(n){return n.addLayer(this),this},remove:function(){return this.removeFrom(this._map||this._mapToAdd)},removeFrom:function(n){return n&&n.removeLayer(this),this},getPane:function(n){return this._map.getPane(n?this.options[n]||n:this.options.pane)},addInteractiveTarget:function(n){return this._map._targets[f(n)]=this,this},removeInteractiveTarget:function(n){return delete this._map._targets[f(n)],this},getAttribution:function(){return this.options.attribution},_layerAdd:function(n){var r=n.target;if(r.hasLayer(this)){if(this._map=r,this._zoomAnimated=r._zoomAnimated,this.getEvents){var a=this.getEvents();r.on(a,this),this.once("remove",function(){r.off(a,this)},this)}this.onAdd(r),this.fire("add"),r.fire("layeradd",{layer:this})}}});J.include({addLayer:function(n){if(!n._layerAdd)throw new Error("The provided object is not a Layer.");var r=f(n);return this._layers[r]?this:(this._layers[r]=n,n._mapToAdd=this,n.beforeAdd&&n.beforeAdd(this),this.whenReady(n._layerAdd,n),this)},removeLayer:function(n){var r=f(n);return this._layers[r]?(this._loaded&&n.onRemove(this),delete this._layers[r],this._loaded&&(this.fire("layerremove",{layer:n}),n.fire("remove")),n._map=n._mapToAdd=null,this):this},hasLayer:function(n){return f(n)in this._layers},eachLayer:function(n,r){for(var a in this._layers)n.call(r,this._layers[a]);return this},_addLayers:function(n){n=n?C(n)?n:[n]:[];for(var r=0,a=n.length;rthis._layersMaxZoom&&this.setZoom(this._layersMaxZoom),this.options.minZoom===void 0&&this._layersMinZoom&&this.getZoom()=2&&r[0]instanceof ne&&r[0].equals(r[a-1])&&r.pop(),r},_setLatLngs:function(n){At.prototype._setLatLngs.call(this,n),st(this._latlngs)&&(this._latlngs=[this._latlngs])},_defaultShape:function(){return st(this._latlngs[0])?this._latlngs[0]:this._latlngs[0][0]},_clipPoints:function(){var n=this._renderer._bounds,r=this.options.weight,a=new z(r,r);if(n=new V(n.min.subtract(a),n.max.add(a)),this._parts=[],!(!this._pxBounds||!this._pxBounds.intersects(n))){if(this.options.noClip){this._parts=this._rings;return}for(var c=0,d=this._rings.length,m;cn.y!=d.y>n.y&&n.x<(d.x-c.x)*(n.y-c.y)/(d.y-c.y)+c.x&&(r=!r);return r||At.prototype._containsPoint.call(this,n,!0)}});function Hm(n,r){return new Wn(n,r)}var Bt=It.extend({initialize:function(n,r){k(this,r),this._layers={},n&&this.addData(n)},addData:function(n){var r=C(n)?n:n.features,a,c,d;if(r){for(a=0,c=r.length;a0&&d.push(d[0].slice()),d}function Vn(n,r){return n.feature?l({},n.feature,{geometry:r}):Vr(r)}function Vr(n){return n.type==="Feature"||n.type==="FeatureCollection"?n:{type:"Feature",properties:{},geometry:n}}var $s={toGeoJSON:function(n){return Vn(this,{type:"Point",coordinates:Qs(this.getLatLng(),n)})}};br.include($s),Gs.include($s),Fr.include($s),At.include({toGeoJSON:function(n){var r=!st(this._latlngs),a=Wr(this._latlngs,r?1:0,!1,n);return Vn(this,{type:(r?"Multi":"")+"LineString",coordinates:a})}}),Wn.include({toGeoJSON:function(n){var r=!st(this._latlngs),a=r&&!st(this._latlngs[0]),c=Wr(this._latlngs,a?2:r?1:0,!0,n);return r||(c=[c]),Vn(this,{type:(a?"Multi":"")+"Polygon",coordinates:c})}}),Hn.include({toMultiPoint:function(n){var r=[];return this.eachLayer(function(a){r.push(a.toGeoJSON(n).geometry.coordinates)}),Vn(this,{type:"MultiPoint",coordinates:r})},toGeoJSON:function(n){var r=this.feature&&this.feature.geometry&&this.feature.geometry.type;if(r==="MultiPoint")return this.toMultiPoint(n);var a=r==="GeometryCollection",c=[];return this.eachLayer(function(d){if(d.toGeoJSON){var m=d.toGeoJSON(n);if(a)c.push(m.geometry);else{var P=Vr(m);P.type==="FeatureCollection"?c.push.apply(c,P.features):c.push(P)}}}),a?Vn(this,{geometries:c,type:"GeometryCollection"}):{type:"FeatureCollection",features:c}}});function gc(n,r){return new Bt(n,r)}var Um=gc,qr=mt.extend({options:{opacity:1,alt:"",interactive:!1,crossOrigin:!1,errorOverlayUrl:"",zIndex:1,className:""},initialize:function(n,r,a){this._url=n,this._bounds=se(r),k(this,a)},onAdd:function(){this._image||(this._initImage(),this.options.opacity<1&&this._updateOpacity()),this.options.interactive&&($(this._image,"leaflet-interactive"),this.addInteractiveTarget(this._image)),this.getPane().appendChild(this._image),this._reset()},onRemove:function(){fe(this._image),this.options.interactive&&this.removeInteractiveTarget(this._image)},setOpacity:function(n){return this.options.opacity=n,this._image&&this._updateOpacity(),this},setStyle:function(n){return n.opacity&&this.setOpacity(n.opacity),this},bringToFront:function(){return this._map&&bn(this._image),this},bringToBack:function(){return this._map&&Fn(this._image),this},setUrl:function(n){return this._url=n,this._image&&(this._image.src=n),this},setBounds:function(n){return this._bounds=se(n),this._map&&this._reset(),this},getEvents:function(){var n={zoom:this._reset,viewreset:this._reset};return this._zoomAnimated&&(n.zoomanim=this._animateZoom),n},setZIndex:function(n){return this.options.zIndex=n,this._updateZIndex(),this},getBounds:function(){return this._bounds},getElement:function(){return this._image},_initImage:function(){var n=this._url.tagName==="IMG",r=this._image=n?this._url:ie("img");if($(r,"leaflet-image-layer"),this._zoomAnimated&&$(r,"leaflet-zoom-animated"),this.options.className&&$(r,this.options.className),r.onselectstart=v,r.onmousemove=v,r.onload=u(this.fire,this,"load"),r.onerror=u(this._overlayOnError,this,"error"),(this.options.crossOrigin||this.options.crossOrigin==="")&&(r.crossOrigin=this.options.crossOrigin===!0?"":this.options.crossOrigin),this.options.zIndex&&this._updateZIndex(),n){this._url=r.src;return}r.src=this._url,r.alt=this.options.alt},_animateZoom:function(n){var r=this._map.getZoomScale(n.zoom),a=this._map._latLngBoundsToNewLayerBounds(this._bounds,n.zoom,n.center).min;yn(this._image,a,r)},_reset:function(){var n=this._image,r=new V(this._map.latLngToLayerPoint(this._bounds.getNorthWest()),this._map.latLngToLayerPoint(this._bounds.getSouthEast())),a=r.getSize();we(n,r.min),n.style.width=a.x+"px",n.style.height=a.y+"px"},_updateOpacity:function(){ot(this._image,this.options.opacity)},_updateZIndex:function(){this._image&&this.options.zIndex!==void 0&&this.options.zIndex!==null&&(this._image.style.zIndex=this.options.zIndex)},_overlayOnError:function(){this.fire("error");var n=this.options.errorOverlayUrl;n&&this._url!==n&&(this._url=n,this._image.src=n)},getCenter:function(){return this._bounds.getCenter()}}),Wm=function(n,r,a){return new qr(n,r,a)},yc=qr.extend({options:{autoplay:!0,loop:!0,keepAspectRatio:!0,muted:!1,playsInline:!0},_initImage:function(){var n=this._url.tagName==="VIDEO",r=this._image=n?this._url:ie("video");if($(r,"leaflet-image-layer"),this._zoomAnimated&&$(r,"leaflet-zoom-animated"),this.options.className&&$(r,this.options.className),r.onselectstart=v,r.onmousemove=v,r.onloadeddata=u(this.fire,this,"load"),n){for(var a=r.getElementsByTagName("source"),c=[],d=0;d0?c:[r.src];return}C(this._url)||(this._url=[this._url]),!this.options.keepAspectRatio&&Object.prototype.hasOwnProperty.call(r.style,"objectFit")&&(r.style.objectFit="fill"),r.autoplay=!!this.options.autoplay,r.loop=!!this.options.loop,r.muted=!!this.options.muted,r.playsInline=!!this.options.playsInline;for(var m=0;md?(r.height=d+"px",$(n,m)):ge(n,m),this._containerWidth=this._container.offsetWidth},_animateZoom:function(n){var r=this._map._latLngToNewLayerPoint(this._latlng,n.zoom,n.center),a=this._getAnchor();we(this._container,r.add(a))},_adjustPan:function(){if(this.options.autoPan){if(this._map._panAnim&&this._map._panAnim.stop(),this._autopanning){this._autopanning=!1;return}var n=this._map,r=parseInt(Mi(this._container,"marginBottom"),10)||0,a=this._container.offsetHeight+r,c=this._containerWidth,d=new z(this._containerLeft,-a-this._containerBottom);d._add(wn(this._container));var m=n.layerPointToContainerPoint(d),P=B(this.options.autoPanPadding),T=B(this.options.autoPanPaddingTopLeft||P),M=B(this.options.autoPanPaddingBottomRight||P),O=n.getSize(),R=0,W=0;m.x+c+M.x>O.x&&(R=m.x+c-O.x+M.x),m.x-R-T.x<0&&(R=m.x-T.x),m.y+a+M.y>O.y&&(W=m.y+a-O.y+M.y),m.y-W-T.y<0&&(W=m.y-T.y),(R||W)&&(this.options.keepInView&&(this._autopanning=!0),n.fire("autopanstart").panBy([R,W]))}},_getAnchor:function(){return B(this._source&&this._source._getPopupAnchor?this._source._getPopupAnchor():[0,0])}}),Gm=function(n,r){return new Gr(n,r)};J.mergeOptions({closePopupOnClick:!0}),J.include({openPopup:function(n,r,a){return this._initOverlay(Gr,n,r,a).openOn(this),this},closePopup:function(n){return n=arguments.length?n:this._popup,n&&n.close(),this}}),mt.include({bindPopup:function(n,r){return this._popup=this._initOverlay(Gr,this._popup,n,r),this._popupHandlersAdded||(this.on({click:this._openPopup,keypress:this._onKeyPress,remove:this.closePopup,move:this._movePopup}),this._popupHandlersAdded=!0),this},unbindPopup:function(){return this._popup&&(this.off({click:this._openPopup,keypress:this._onKeyPress,remove:this.closePopup,move:this._movePopup}),this._popupHandlersAdded=!1,this._popup=null),this},openPopup:function(n){return this._popup&&(this instanceof It||(this._popup._source=this),this._popup._prepareOpen(n||this._latlng)&&this._popup.openOn(this._map)),this},closePopup:function(){return this._popup&&this._popup.close(),this},togglePopup:function(){return this._popup&&this._popup.toggle(this),this},isPopupOpen:function(){return this._popup?this._popup.isOpen():!1},setPopupContent:function(n){return this._popup&&this._popup.setContent(n),this},getPopup:function(){return this._popup},_openPopup:function(n){if(!(!this._popup||!this._map)){Ln(n);var r=n.layer||n.target;if(this._popup._source===r&&!(r instanceof $t)){this._map.hasLayer(this._popup)?this.closePopup():this.openPopup(n.latlng);return}this._popup._source=r,this.openPopup(n.latlng)}},_movePopup:function(n){this._popup.setLatLng(n.latlng)},_onKeyPress:function(n){n.originalEvent.keyCode===13&&this._openPopup(n)}});var Kr=Tt.extend({options:{pane:"tooltipPane",offset:[0,0],direction:"auto",permanent:!1,sticky:!1,opacity:.9},onAdd:function(n){Tt.prototype.onAdd.call(this,n),this.setOpacity(this.options.opacity),n.fire("tooltipopen",{tooltip:this}),this._source&&(this.addEventParent(this._source),this._source.fire("tooltipopen",{tooltip:this},!0))},onRemove:function(n){Tt.prototype.onRemove.call(this,n),n.fire("tooltipclose",{tooltip:this}),this._source&&(this.removeEventParent(this._source),this._source.fire("tooltipclose",{tooltip:this},!0))},getEvents:function(){var n=Tt.prototype.getEvents.call(this);return this.options.permanent||(n.preclick=this.close),n},_initLayout:function(){var n="leaflet-tooltip",r=n+" "+(this.options.className||"")+" leaflet-zoom-"+(this._zoomAnimated?"animated":"hide");this._contentNode=this._container=ie("div",r),this._container.setAttribute("role","tooltip"),this._container.setAttribute("id","leaflet-tooltip-"+f(this))},_updateLayout:function(){},_adjustPan:function(){},_setPosition:function(n){var r,a,c=this._map,d=this._container,m=c.latLngToContainerPoint(c.getCenter()),P=c.layerPointToContainerPoint(n),T=this.options.direction,M=d.offsetWidth,O=d.offsetHeight,R=B(this.options.offset),W=this._getAnchor();T==="top"?(r=M/2,a=O):T==="bottom"?(r=M/2,a=0):T==="center"?(r=M/2,a=O/2):T==="right"?(r=0,a=O/2):T==="left"?(r=M,a=O/2):P.xthis.options.maxZoom||ac?this._retainParent(d,m,P,c):!1)},_retainChildren:function(n,r,a,c){for(var d=2*n;d<2*n+2;d++)for(var m=2*r;m<2*r+2;m++){var P=new z(d,m);P.z=a+1;var T=this._tileCoordsToKey(P),M=this._tiles[T];if(M&&M.active){M.retain=!0;continue}else M&&M.loaded&&(M.retain=!0);a+1this.options.maxZoom||this.options.minZoom!==void 0&&d1){this._setView(n,a);return}for(var W=d.min.y;W<=d.max.y;W++)for(var Y=d.min.x;Y<=d.max.x;Y++){var De=new z(Y,W);if(De.z=this._tileZoom,!!this._isValidTile(De)){var Te=this._tiles[this._tileCoordsToKey(De)];Te?Te.current=!0:P.push(De)}}if(P.sort(function(qe,Gn){return qe.distanceTo(m)-Gn.distanceTo(m)}),P.length!==0){this._loading||(this._loading=!0,this.fire("loading"));var at=document.createDocumentFragment();for(Y=0;Ya.max.x)||!r.wrapLat&&(n.ya.max.y))return!1}if(!this.options.bounds)return!0;var c=this._tileCoordsToBounds(n);return se(this.options.bounds).overlaps(c)},_keyToBounds:function(n){return this._tileCoordsToBounds(this._keyToTileCoords(n))},_tileCoordsToNwSe:function(n){var r=this._map,a=this.getTileSize(),c=n.scaleBy(a),d=c.add(a),m=r.unproject(c,n.z),P=r.unproject(d,n.z);return[m,P]},_tileCoordsToBounds:function(n){var r=this._tileCoordsToNwSe(n),a=new Se(r[0],r[1]);return this.options.noWrap||(a=this._map.wrapLatLngBounds(a)),a},_tileCoordsToKey:function(n){return n.x+":"+n.y+":"+n.z},_keyToTileCoords:function(n){var r=n.split(":"),a=new z(+r[0],+r[1]);return a.z=+r[2],a},_removeTile:function(n){var r=this._tiles[n];r&&(fe(r.el),delete this._tiles[n],this.fire("tileunload",{tile:r.el,coords:this._keyToTileCoords(n)}))},_initTile:function(n){$(n,"leaflet-tile");var r=this.getTileSize();n.style.width=r.x+"px",n.style.height=r.y+"px",n.onselectstart=v,n.onmousemove=v,H.ielt9&&this.options.opacity<1&&ot(n,this.options.opacity)},_addTile:function(n,r){var a=this._getTilePos(n),c=this._tileCoordsToKey(n),d=this.createTile(this._wrapCoords(n),u(this._tileReady,this,n));this._initTile(d),this.createTile.length<2&&re(u(this._tileReady,this,n,null,d)),we(d,a),this._tiles[c]={el:d,coords:n,current:!0},r.appendChild(d),this.fire("tileloadstart",{tile:d,coords:n})},_tileReady:function(n,r,a){r&&this.fire("tileerror",{error:r,tile:a,coords:n});var c=this._tileCoordsToKey(n);a=this._tiles[c],a&&(a.loaded=+new Date,this._map._fadeAnimated?(ot(a.el,0),Pe(this._fadeFrame),this._fadeFrame=re(this._updateOpacity,this)):(a.active=!0,this._pruneTiles()),r||($(a.el,"leaflet-tile-loaded"),this.fire("tileload",{tile:a.el,coords:n})),this._noTilesToLoad()&&(this._loading=!1,this.fire("load"),H.ielt9||!this._map._fadeAnimated?re(this._pruneTiles,this):setTimeout(u(this._pruneTiles,this),250)))},_getTilePos:function(n){return n.scaleBy(this.getTileSize()).subtract(this._level.origin)},_wrapCoords:function(n){var r=new z(this._wrapX?g(n.x,this._wrapX):n.x,this._wrapY?g(n.y,this._wrapY):n.y);return r.z=n.z,r},_pxBoundsToTileRange:function(n){var r=this.getTileSize();return new V(n.min.unscaleBy(r).floor(),n.max.unscaleBy(r).ceil().subtract([1,1]))},_noTilesToLoad:function(){for(var n in this._tiles)if(!this._tiles[n].loaded)return!1;return!0}});function $m(n){return new Ri(n)}var qn=Ri.extend({options:{minZoom:0,maxZoom:18,subdomains:"abc",errorTileUrl:"",zoomOffset:0,tms:!1,zoomReverse:!1,detectRetina:!1,crossOrigin:!1,referrerPolicy:!1},initialize:function(n,r){this._url=n,r=k(this,r),r.detectRetina&&H.retina&&r.maxZoom>0?(r.tileSize=Math.floor(r.tileSize/2),r.zoomReverse?(r.zoomOffset--,r.minZoom=Math.min(r.maxZoom,r.minZoom+1)):(r.zoomOffset++,r.maxZoom=Math.max(r.minZoom,r.maxZoom-1)),r.minZoom=Math.max(0,r.minZoom)):r.zoomReverse?r.minZoom=Math.min(r.maxZoom,r.minZoom):r.maxZoom=Math.max(r.minZoom,r.maxZoom),typeof r.subdomains=="string"&&(r.subdomains=r.subdomains.split("")),this.on("tileunload",this._onTileRemove)},setUrl:function(n,r){return this._url===n&&r===void 0&&(r=!0),this._url=n,r||this.redraw(),this},createTile:function(n,r){var a=document.createElement("img");return K(a,"load",u(this._tileOnLoad,this,r,a)),K(a,"error",u(this._tileOnError,this,r,a)),(this.options.crossOrigin||this.options.crossOrigin==="")&&(a.crossOrigin=this.options.crossOrigin===!0?"":this.options.crossOrigin),typeof this.options.referrerPolicy=="string"&&(a.referrerPolicy=this.options.referrerPolicy),a.alt="",a.src=this.getTileUrl(n),a},getTileUrl:function(n){var r={r:H.retina?"@2x":"",s:this._getSubdomain(n),x:n.x,y:n.y,z:this._getZoomForUrl()};if(this._map&&!this._map.options.crs.infinite){var a=this._globalTileRange.max.y-n.y;this.options.tms&&(r.y=a),r["-y"]=a}return x(this._url,l(r,this.options))},_tileOnLoad:function(n,r){H.ielt9?setTimeout(u(n,this,null,r),0):n(null,r)},_tileOnError:function(n,r,a){var c=this.options.errorTileUrl;c&&r.getAttribute("src")!==c&&(r.src=c),n(a,r)},_onTileRemove:function(n){n.tile.onload=null},_getZoomForUrl:function(){var n=this._tileZoom,r=this.options.maxZoom,a=this.options.zoomReverse,c=this.options.zoomOffset;return a&&(n=r-n),n+c},_getSubdomain:function(n){var r=Math.abs(n.x+n.y)%this.options.subdomains.length;return this.options.subdomains[r]},_abortLoading:function(){var n,r;for(n in this._tiles)if(this._tiles[n].coords.z!==this._tileZoom&&(r=this._tiles[n].el,r.onload=v,r.onerror=v,!r.complete)){r.src=I;var a=this._tiles[n].coords;fe(r),delete this._tiles[n],this.fire("tileabort",{tile:r,coords:a})}},_removeTile:function(n){var r=this._tiles[n];if(r)return r.el.setAttribute("src",I),Ri.prototype._removeTile.call(this,n)},_tileReady:function(n,r,a){if(!(!this._map||a&&a.getAttribute("src")===I))return Ri.prototype._tileReady.call(this,n,r,a)}});function Lc(n,r){return new qn(n,r)}var Pc=qn.extend({defaultWmsParams:{service:"WMS",request:"GetMap",layers:"",styles:"",format:"image/jpeg",transparent:!1,version:"1.1.1"},options:{crs:null,uppercase:!1},initialize:function(n,r){this._url=n;var a=l({},this.defaultWmsParams);for(var c in r)c in this.options||(a[c]=r[c]);r=k(this,r);var d=r.detectRetina&&H.retina?2:1,m=this.getTileSize();a.width=m.x*d,a.height=m.y*d,this.wmsParams=a},onAdd:function(n){this._crs=this.options.crs||n.options.crs,this._wmsVersion=parseFloat(this.wmsParams.version);var r=this._wmsVersion>=1.3?"crs":"srs";this.wmsParams[r]=this._crs.code,qn.prototype.onAdd.call(this,n)},getTileUrl:function(n){var r=this._tileCoordsToNwSe(n),a=this._crs,c=ee(a.project(r[0]),a.project(r[1])),d=c.min,m=c.max,P=(this._wmsVersion>=1.3&&this._crs===mc?[d.y,d.x,m.y,m.x]:[d.x,d.y,m.x,m.y]).join(","),T=qn.prototype.getTileUrl.call(this,n);return T+A(this.wmsParams,T,this.options.uppercase)+(this.options.uppercase?"&BBOX=":"&bbox=")+P},setParams:function(n,r){return l(this.wmsParams,n),r||this.redraw(),this}});function Ym(n,r){return new Pc(n,r)}qn.WMS=Pc,Lc.wms=Ym;var Rt=mt.extend({options:{padding:.1},initialize:function(n){k(this,n),f(this),this._layers=this._layers||{}},onAdd:function(){this._container||(this._initContainer(),$(this._container,"leaflet-zoom-animated")),this.getPane().appendChild(this._container),this._update(),this.on("update",this._updatePaths,this)},onRemove:function(){this.off("update",this._updatePaths,this),this._destroyContainer()},getEvents:function(){var n={viewreset:this._reset,zoom:this._onZoom,moveend:this._update,zoomend:this._onZoomEnd};return this._zoomAnimated&&(n.zoomanim=this._onAnimZoom),n},_onAnimZoom:function(n){this._updateTransform(n.center,n.zoom)},_onZoom:function(){this._updateTransform(this._map.getCenter(),this._map.getZoom())},_updateTransform:function(n,r){var a=this._map.getZoomScale(r,this._zoom),c=this._map.getSize().multiplyBy(.5+this.options.padding),d=this._map.project(this._center,r),m=c.multiplyBy(-a).add(d).subtract(this._map._getNewPixelOrigin(n,r));H.any3d?yn(this._container,m,a):we(this._container,m)},_reset:function(){this._update(),this._updateTransform(this._center,this._zoom);for(var n in this._layers)this._layers[n]._reset()},_onZoomEnd:function(){for(var n in this._layers)this._layers[n]._project()},_updatePaths:function(){for(var n in this._layers)this._layers[n]._update()},_update:function(){var n=this.options.padding,r=this._map.getSize(),a=this._map.containerPointToLayerPoint(r.multiplyBy(-n)).round();this._bounds=new V(a,a.add(r.multiplyBy(1+n*2)).round()),this._center=this._map.getCenter(),this._zoom=this._map.getZoom()}}),Sc=Rt.extend({options:{tolerance:0},getEvents:function(){var n=Rt.prototype.getEvents.call(this);return n.viewprereset=this._onViewPreReset,n},_onViewPreReset:function(){this._postponeUpdatePaths=!0},onAdd:function(){Rt.prototype.onAdd.call(this),this._draw()},_initContainer:function(){var n=this._container=document.createElement("canvas");K(n,"mousemove",this._onMouseMove,this),K(n,"click dblclick mousedown mouseup contextmenu",this._onClick,this),K(n,"mouseout",this._handleMouseOut,this),n._leaflet_disable_events=!0,this._ctx=n.getContext("2d")},_destroyContainer:function(){Pe(this._redrawRequest),delete this._ctx,fe(this._container),le(this._container),delete this._container},_updatePaths:function(){if(!this._postponeUpdatePaths){var n;this._redrawBounds=null;for(var r in this._layers)n=this._layers[r],n._update();this._redraw()}},_update:function(){if(!(this._map._animatingZoom&&this._bounds)){Rt.prototype._update.call(this);var n=this._bounds,r=this._container,a=n.getSize(),c=H.retina?2:1;we(r,n.min),r.width=c*a.x,r.height=c*a.y,r.style.width=a.x+"px",r.style.height=a.y+"px",H.retina&&this._ctx.scale(2,2),this._ctx.translate(-n.min.x,-n.min.y),this.fire("update")}},_reset:function(){Rt.prototype._reset.call(this),this._postponeUpdatePaths&&(this._postponeUpdatePaths=!1,this._updatePaths())},_initPath:function(n){this._updateDashArray(n),this._layers[f(n)]=n;var r=n._order={layer:n,prev:this._drawLast,next:null};this._drawLast&&(this._drawLast.next=r),this._drawLast=r,this._drawFirst=this._drawFirst||this._drawLast},_addPath:function(n){this._requestRedraw(n)},_removePath:function(n){var r=n._order,a=r.next,c=r.prev;a?a.prev=c:this._drawLast=c,c?c.next=a:this._drawFirst=a,delete n._order,delete this._layers[f(n)],this._requestRedraw(n)},_updatePath:function(n){this._extendRedrawBounds(n),n._project(),n._update(),this._requestRedraw(n)},_updateStyle:function(n){this._updateDashArray(n),this._requestRedraw(n)},_updateDashArray:function(n){if(typeof n.options.dashArray=="string"){var r=n.options.dashArray.split(/[, ]+/),a=[],c,d;for(d=0;d')}}catch{}return function(n){return document.createElement("<"+n+' xmlns="urn:schemas-microsoft.com:vml" class="lvml">')}}(),Xm={_initContainer:function(){this._container=ie("div","leaflet-vml-container")},_update:function(){this._map._animatingZoom||(Rt.prototype._update.call(this),this.fire("update"))},_initPath:function(n){var r=n._container=Zi("shape");$(r,"leaflet-vml-shape "+(this.options.className||"")),r.coordsize="1 1",n._path=Zi("path"),r.appendChild(n._path),this._updateStyle(n),this._layers[f(n)]=n},_addPath:function(n){var r=n._container;this._container.appendChild(r),n.options.interactive&&n.addInteractiveTarget(r)},_removePath:function(n){var r=n._container;fe(r),n.removeInteractiveTarget(r),delete this._layers[f(n)]},_updateStyle:function(n){var r=n._stroke,a=n._fill,c=n.options,d=n._container;d.stroked=!!c.stroke,d.filled=!!c.fill,c.stroke?(r||(r=n._stroke=Zi("stroke")),d.appendChild(r),r.weight=c.weight+"px",r.color=c.color,r.opacity=c.opacity,c.dashArray?r.dashStyle=C(c.dashArray)?c.dashArray.join(" "):c.dashArray.replace(/( *, *)/g," "):r.dashStyle="",r.endcap=c.lineCap.replace("butt","flat"),r.joinstyle=c.lineJoin):r&&(d.removeChild(r),n._stroke=null),c.fill?(a||(a=n._fill=Zi("fill")),d.appendChild(a),a.color=c.fillColor||c.color,a.opacity=c.fillOpacity):a&&(d.removeChild(a),n._fill=null)},_updateCircle:function(n){var r=n._point.round(),a=Math.round(n._radius),c=Math.round(n._radiusY||a);this._setPath(n,n._empty()?"M0 0":"AL "+r.x+","+r.y+" "+a+","+c+" 0,"+65535*360)},_setPath:function(n,r){n._path.v=r},_bringToFront:function(n){bn(n._container)},_bringToBack:function(n){Fn(n._container)}},Qr=H.vml?Zi:Mu,Di=Rt.extend({_initContainer:function(){this._container=Qr("svg"),this._container.setAttribute("pointer-events","none"),this._rootGroup=Qr("g"),this._container.appendChild(this._rootGroup)},_destroyContainer:function(){fe(this._container),le(this._container),delete this._container,delete this._rootGroup,delete this._svgSize},_update:function(){if(!(this._map._animatingZoom&&this._bounds)){Rt.prototype._update.call(this);var n=this._bounds,r=n.getSize(),a=this._container;(!this._svgSize||!this._svgSize.equals(r))&&(this._svgSize=r,a.setAttribute("width",r.x),a.setAttribute("height",r.y)),we(a,n.min),a.setAttribute("viewBox",[n.min.x,n.min.y,r.x,r.y].join(" ")),this.fire("update")}},_initPath:function(n){var r=n._path=Qr("path");n.options.className&&$(r,n.options.className),n.options.interactive&&$(r,"leaflet-interactive"),this._updateStyle(n),this._layers[f(n)]=n},_addPath:function(n){this._rootGroup||this._initContainer(),this._rootGroup.appendChild(n._path),n.addInteractiveTarget(n._path)},_removePath:function(n){fe(n._path),n.removeInteractiveTarget(n._path),delete this._layers[f(n)]},_updatePath:function(n){n._project(),n._update()},_updateStyle:function(n){var r=n._path,a=n.options;r&&(a.stroke?(r.setAttribute("stroke",a.color),r.setAttribute("stroke-opacity",a.opacity),r.setAttribute("stroke-width",a.weight),r.setAttribute("stroke-linecap",a.lineCap),r.setAttribute("stroke-linejoin",a.lineJoin),a.dashArray?r.setAttribute("stroke-dasharray",a.dashArray):r.removeAttribute("stroke-dasharray"),a.dashOffset?r.setAttribute("stroke-dashoffset",a.dashOffset):r.removeAttribute("stroke-dashoffset")):r.setAttribute("stroke","none"),a.fill?(r.setAttribute("fill",a.fillColor||a.color),r.setAttribute("fill-opacity",a.fillOpacity),r.setAttribute("fill-rule",a.fillRule||"evenodd")):r.setAttribute("fill","none"))},_updatePoly:function(n,r){this._setPath(n,Nu(n._parts,r))},_updateCircle:function(n){var r=n._point,a=Math.max(Math.round(n._radius),1),c=Math.max(Math.round(n._radiusY),1)||a,d="a"+a+","+c+" 0 1,0 ",m=n._empty()?"M0 0":"M"+(r.x-a)+","+r.y+d+a*2+",0 "+d+-a*2+",0 ";this._setPath(n,m)},_setPath:function(n,r){n._path.setAttribute("d",r)},_bringToFront:function(n){bn(n._path)},_bringToBack:function(n){Fn(n._path)}});H.vml&&Di.include(Xm);function kc(n){return H.svg||H.vml?new Di(n):null}J.include({getRenderer:function(n){var r=n.options.renderer||this._getPaneRenderer(n.options.pane)||this.options.renderer||this._renderer;return r||(r=this._renderer=this._createRenderer()),this.hasLayer(r)||this.addLayer(r),r},_getPaneRenderer:function(n){if(n==="overlayPane"||n===void 0)return!1;var r=this._paneRenderers[n];return r===void 0&&(r=this._createRenderer({pane:n}),this._paneRenderers[n]=r),r},_createRenderer:function(n){return this.options.preferCanvas&&Cc(n)||kc(n)}});var Tc=Wn.extend({initialize:function(n,r){Wn.prototype.initialize.call(this,this._boundsToLatLngs(n),r)},setBounds:function(n){return this.setLatLngs(this._boundsToLatLngs(n))},_boundsToLatLngs:function(n){return n=se(n),[n.getSouthWest(),n.getNorthWest(),n.getNorthEast(),n.getSouthEast()]}});function Jm(n,r){return new Tc(n,r)}Di.create=Qr,Di.pointsToPath=Nu,Bt.geometryToLayer=Hr,Bt.coordsToLatLng=Ks,Bt.coordsToLatLngs=Ur,Bt.latLngToCoords=Qs,Bt.latLngsToCoords=Wr,Bt.getFeature=Vn,Bt.asFeature=Vr,J.mergeOptions({boxZoom:!0});var Ec=kt.extend({initialize:function(n){this._map=n,this._container=n._container,this._pane=n._panes.overlayPane,this._resetStateTimeout=0,n.on("unload",this._destroy,this)},addHooks:function(){K(this._container,"mousedown",this._onMouseDown,this)},removeHooks:function(){le(this._container,"mousedown",this._onMouseDown,this)},moved:function(){return this._moved},_destroy:function(){fe(this._pane),delete this._pane},_resetState:function(){this._resetStateTimeout=0,this._moved=!1},_clearDeferredResetState:function(){this._resetStateTimeout!==0&&(clearTimeout(this._resetStateTimeout),this._resetStateTimeout=0)},_onMouseDown:function(n){if(!n.shiftKey||n.which!==1&&n.button!==1)return!1;this._clearDeferredResetState(),this._resetState(),Ni(),zs(),this._startPoint=this._map.mouseEventToContainerPoint(n),K(document,{contextmenu:Ln,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseMove:function(n){this._moved||(this._moved=!0,this._box=ie("div","leaflet-zoom-box",this._container),$(this._container,"leaflet-crosshair"),this._map.fire("boxzoomstart")),this._point=this._map.mouseEventToContainerPoint(n);var r=new V(this._point,this._startPoint),a=r.getSize();we(this._box,r.min),this._box.style.width=a.x+"px",this._box.style.height=a.y+"px"},_finish:function(){this._moved&&(fe(this._box),ge(this._container,"leaflet-crosshair")),zi(),Os(),le(document,{contextmenu:Ln,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseUp:function(n){if(!(n.which!==1&&n.button!==1)&&(this._finish(),!!this._moved)){this._clearDeferredResetState(),this._resetStateTimeout=setTimeout(u(this._resetState,this),0);var r=new Se(this._map.containerPointToLatLng(this._startPoint),this._map.containerPointToLatLng(this._point));this._map.fitBounds(r).fire("boxzoomend",{boxZoomBounds:r})}},_onKeyDown:function(n){n.keyCode===27&&(this._finish(),this._clearDeferredResetState(),this._resetState())}});J.addInitHook("addHandler","boxZoom",Ec),J.mergeOptions({doubleClickZoom:!0});var Mc=kt.extend({addHooks:function(){this._map.on("dblclick",this._onDoubleClick,this)},removeHooks:function(){this._map.off("dblclick",this._onDoubleClick,this)},_onDoubleClick:function(n){var r=this._map,a=r.getZoom(),c=r.options.zoomDelta,d=n.originalEvent.shiftKey?a-c:a+c;r.options.doubleClickZoom==="center"?r.setZoom(d):r.setZoomAround(n.containerPoint,d)}});J.addInitHook("addHandler","doubleClickZoom",Mc),J.mergeOptions({dragging:!0,inertia:!0,inertiaDeceleration:3400,inertiaMaxSpeed:1/0,easeLinearity:.2,worldCopyJump:!1,maxBoundsViscosity:0});var Nc=kt.extend({addHooks:function(){if(!this._draggable){var n=this._map;this._draggable=new Qt(n._mapPane,n._container),this._draggable.on({dragstart:this._onDragStart,drag:this._onDrag,dragend:this._onDragEnd},this),this._draggable.on("predrag",this._onPreDragLimit,this),n.options.worldCopyJump&&(this._draggable.on("predrag",this._onPreDragWrap,this),n.on("zoomend",this._onZoomEnd,this),n.whenReady(this._onZoomEnd,this))}$(this._map._container,"leaflet-grab leaflet-touch-drag"),this._draggable.enable(),this._positions=[],this._times=[]},removeHooks:function(){ge(this._map._container,"leaflet-grab"),ge(this._map._container,"leaflet-touch-drag"),this._draggable.disable()},moved:function(){return this._draggable&&this._draggable._moved},moving:function(){return this._draggable&&this._draggable._moving},_onDragStart:function(){var n=this._map;if(n._stop(),this._map.options.maxBounds&&this._map.options.maxBoundsViscosity){var r=se(this._map.options.maxBounds);this._offsetLimit=ee(this._map.latLngToContainerPoint(r.getNorthWest()).multiplyBy(-1),this._map.latLngToContainerPoint(r.getSouthEast()).multiplyBy(-1).add(this._map.getSize())),this._viscosity=Math.min(1,Math.max(0,this._map.options.maxBoundsViscosity))}else this._offsetLimit=null;n.fire("movestart").fire("dragstart"),n.options.inertia&&(this._positions=[],this._times=[])},_onDrag:function(n){if(this._map.options.inertia){var r=this._lastTime=+new Date,a=this._lastPos=this._draggable._absPos||this._draggable._newPos;this._positions.push(a),this._times.push(r),this._prunePositions(r)}this._map.fire("move",n).fire("drag",n)},_prunePositions:function(n){for(;this._positions.length>1&&n-this._times[0]>50;)this._positions.shift(),this._times.shift()},_onZoomEnd:function(){var n=this._map.getSize().divideBy(2),r=this._map.latLngToLayerPoint([0,0]);this._initialWorldOffset=r.subtract(n).x,this._worldWidth=this._map.getPixelWorldBounds().getSize().x},_viscousLimit:function(n,r){return n-(n-r)*this._viscosity},_onPreDragLimit:function(){if(!(!this._viscosity||!this._offsetLimit)){var n=this._draggable._newPos.subtract(this._draggable._startPos),r=this._offsetLimit;n.xr.max.x&&(n.x=this._viscousLimit(n.x,r.max.x)),n.y>r.max.y&&(n.y=this._viscousLimit(n.y,r.max.y)),this._draggable._newPos=this._draggable._startPos.add(n)}},_onPreDragWrap:function(){var n=this._worldWidth,r=Math.round(n/2),a=this._initialWorldOffset,c=this._draggable._newPos.x,d=(c-r+a)%n+r-a,m=(c+r+a)%n-r-a,P=Math.abs(d+a)0?m:-m))-r;this._delta=0,this._startTime=null,P&&(n.options.scrollWheelZoom==="center"?n.setZoom(r+P):n.setZoomAround(this._lastMousePos,r+P))}});J.addInitHook("addHandler","scrollWheelZoom",Oc);var e_=600;J.mergeOptions({tapHold:H.touchNative&&H.safari&&H.mobile,tapTolerance:15});var jc=kt.extend({addHooks:function(){K(this._map._container,"touchstart",this._onDown,this)},removeHooks:function(){le(this._map._container,"touchstart",this._onDown,this)},_onDown:function(n){if(clearTimeout(this._holdTimeout),n.touches.length===1){var r=n.touches[0];this._startPos=this._newPos=new z(r.clientX,r.clientY),this._holdTimeout=setTimeout(u(function(){this._cancel(),this._isTapValid()&&(K(document,"touchend",ze),K(document,"touchend touchcancel",this._cancelClickPrevent),this._simulateEvent("contextmenu",r))},this),e_),K(document,"touchend touchcancel contextmenu",this._cancel,this),K(document,"touchmove",this._onMove,this)}},_cancelClickPrevent:function n(){le(document,"touchend",ze),le(document,"touchend touchcancel",n)},_cancel:function(){clearTimeout(this._holdTimeout),le(document,"touchend touchcancel contextmenu",this._cancel,this),le(document,"touchmove",this._onMove,this)},_onMove:function(n){var r=n.touches[0];this._newPos=new z(r.clientX,r.clientY)},_isTapValid:function(){return this._newPos.distanceTo(this._startPos)<=this._map.options.tapTolerance},_simulateEvent:function(n,r){var a=new MouseEvent(n,{bubbles:!0,cancelable:!0,view:window,screenX:r.screenX,screenY:r.screenY,clientX:r.clientX,clientY:r.clientY});a._simulated=!0,r.target.dispatchEvent(a)}});J.addInitHook("addHandler","tapHold",jc),J.mergeOptions({touchZoom:H.touch,bounceAtZoomLimits:!0});var Ic=kt.extend({addHooks:function(){$(this._map._container,"leaflet-touch-zoom"),K(this._map._container,"touchstart",this._onTouchStart,this)},removeHooks:function(){ge(this._map._container,"leaflet-touch-zoom"),le(this._map._container,"touchstart",this._onTouchStart,this)},_onTouchStart:function(n){var r=this._map;if(!(!n.touches||n.touches.length!==2||r._animatingZoom||this._zooming)){var a=r.mouseEventToContainerPoint(n.touches[0]),c=r.mouseEventToContainerPoint(n.touches[1]);this._centerPoint=r.getSize()._divideBy(2),this._startLatLng=r.containerPointToLatLng(this._centerPoint),r.options.touchZoom!=="center"&&(this._pinchStartLatLng=r.containerPointToLatLng(a.add(c)._divideBy(2))),this._startDist=a.distanceTo(c),this._startZoom=r.getZoom(),this._moved=!1,this._zooming=!0,r._stop(),K(document,"touchmove",this._onTouchMove,this),K(document,"touchend touchcancel",this._onTouchEnd,this),ze(n)}},_onTouchMove:function(n){if(!(!n.touches||n.touches.length!==2||!this._zooming)){var r=this._map,a=r.mouseEventToContainerPoint(n.touches[0]),c=r.mouseEventToContainerPoint(n.touches[1]),d=a.distanceTo(c)/this._startDist;if(this._zoom=r.getScaleZoom(d,this._startZoom),!r.options.bounceAtZoomLimits&&(this._zoomr.getMaxZoom()&&d>1)&&(this._zoom=r._limitZoom(this._zoom)),r.options.touchZoom==="center"){if(this._center=this._startLatLng,d===1)return}else{var m=a._add(c)._divideBy(2)._subtract(this._centerPoint);if(d===1&&m.x===0&&m.y===0)return;this._center=r.unproject(r.project(this._pinchStartLatLng,this._zoom).subtract(m),this._zoom)}this._moved||(r._moveStart(!0,!1),this._moved=!0),Pe(this._animRequest);var P=u(r._move,r,this._center,this._zoom,{pinch:!0,round:!1},void 0);this._animRequest=re(P,this,!0),ze(n)}},_onTouchEnd:function(){if(!this._moved||!this._zooming){this._zooming=!1;return}this._zooming=!1,Pe(this._animRequest),le(document,"touchmove",this._onTouchMove,this),le(document,"touchend touchcancel",this._onTouchEnd,this),this._map.options.zoomAnimation?this._map._animateZoom(this._center,this._map._limitZoom(this._zoom),!0,this._map.options.zoomSnap):this._map._resetView(this._center,this._map._limitZoom(this._zoom))}});J.addInitHook("addHandler","touchZoom",Ic),J.BoxZoom=Ec,J.DoubleClickZoom=Mc,J.Drag=Nc,J.Keyboard=zc,J.ScrollWheelZoom=Oc,J.TapHold=jc,J.TouchZoom=Ic,i.Bounds=V,i.Browser=H,i.CRS=Ve,i.Canvas=Sc,i.Circle=Gs,i.CircleMarker=Fr,i.Class=We,i.Control=pt,i.DivIcon=xc,i.DivOverlay=Tt,i.DomEvent=gm,i.DomUtil=_m,i.Draggable=Qt,i.Evented=jt,i.FeatureGroup=It,i.GeoJSON=Bt,i.GridLayer=Ri,i.Handler=kt,i.Icon=Un,i.ImageOverlay=qr,i.LatLng=ne,i.LatLngBounds=Se,i.Layer=mt,i.LayerGroup=Hn,i.LineUtil=zm,i.Map=J,i.Marker=br,i.Mixin=Cm,i.Path=$t,i.Point=z,i.PolyUtil=km,i.Polygon=Wn,i.Polyline=At,i.Popup=Gr,i.PosAnimation=ic,i.Projection=Om,i.Rectangle=Tc,i.Renderer=Rt,i.SVG=Di,i.SVGOverlay=wc,i.TileLayer=qn,i.Tooltip=Kr,i.Transformation=ys,i.Util=Pt,i.VideoOverlay=yc,i.bind=u,i.bounds=ee,i.canvas=Cc,i.circle=bm,i.circleMarker=Dm,i.control=Ii,i.divIcon=Qm,i.extend=l,i.featureGroup=Bm,i.geoJSON=gc,i.geoJson=Um,i.gridLayer=$m,i.icon=Rm,i.imageOverlay=Wm,i.latLng=G,i.latLngBounds=se,i.layerGroup=Am,i.map=ym,i.marker=Zm,i.point=B,i.polygon=Hm,i.polyline=Fm,i.popup=Gm,i.rectangle=Jm,i.setOptions=k,i.stamp=f,i.svg=kc,i.svgOverlay=qm,i.tileLayer=Lc,i.tooltip=Km,i.transformation=ki,i.version=o,i.videoOverlay=Vm;var t_=window.L;i.noConflict=function(){return window.L=t_,this},window.L=i})})(wl,wl.exports);var nt=wl.exports;const Jh=rd(nt);function Ep(e){return e.split(" ").filter(Boolean)}function Mp(e,t){Ep(t).forEach(i=>{nt.DomUtil.addClass(e,i)})}function Np(e,t){Ep(t).forEach(i=>{nt.DomUtil.removeClass(e,i)})}function $g(e,t,i){e!=null&&i!==t&&(t!=null&&t.length>0&&Np(e,t),i!=null&&i.length>0&&Mp(e,i))}function Si(e,t,i){return Object.freeze({instance:e,context:t,container:i})}function Ci(e,t){return t==null?function(o,l){const s=U.useRef();return s.current||(s.current=e(o,l)),s}:function(o,l){const s=U.useRef();s.current||(s.current=e(o,l));const u=U.useRef(o),{instance:h}=s.current;return U.useEffect(function(){u.current!==o&&(t(h,o,u.current),u.current=o)},[h,o,l]),s}}function Cu(e,t){U.useEffect(function(){return(t.layerContainer??t.map).addLayer(e.instance),function(){var s;(s=t.layerContainer)==null||s.removeLayer(e.instance),t.map.removeLayer(e.instance)}},[t,e])}function ku(e){return function(i){const o=Nr(),l=e(zr(i,o),o);return yu(o.map,i.attribution),_s(l.current,i.eventHandlers),Cu(l.current,o),l}}function zp(e,t){const i=U.useRef();U.useEffect(function(){if(t.pathOptions!==i.current){const l=t.pathOptions??{};e.instance.setStyle(l),i.current=l}},[e,t])}function Op(e){return function(i){const o=Nr(),l=e(zr(i,o),o);return _s(l.current,i.eventHandlers),Cu(l.current,o),zp(l.current,i),l}}function Yg(e){function t(l,s){return Si(e(l),s)}const i=Ci(t),o=kp(i);return Su(o)}function jp(e,t){const i=Ci(e,t),o=ku(i);return Pu(o)}function Ip(e,t){const i=Ci(e),o=Tp(i,t);return Cp(o)}function Ap(e,t){const i=Ci(e,t),o=Op(i);return Pu(o)}function Bp(e,t){const i=Ci(e,t),o=ku(i);return Su(o)}function Rp(e,t,i){const{opacity:o,zIndex:l}=t;o!=null&&o!==i.opacity&&e.setOpacity(o),l!=null&&l!==i.zIndex&&e.setZIndex(l)}function Xg(e,t,i){t.bounds instanceof nt.LatLngBounds&&t.bounds!==i.bounds&&e.setBounds(t.bounds),t.opacity!=null&&t.opacity!==i.opacity&&e.setOpacity(t.opacity),t.zIndex!=null&&t.zIndex!==i.zIndex&&e.setZIndex(t.zIndex)}const Jg=Object.freeze(Object.defineProperty({__proto__:null,CONTEXT_VERSION:Pp,LeafletContext:xu,LeafletProvider:Lu,addClassName:Mp,createContainerComponent:Pu,createControlComponent:Yg,createControlHook:kp,createDivOverlayComponent:Cp,createDivOverlayHook:Tp,createElementHook:Ci,createElementObject:Si,createLayerComponent:jp,createLayerHook:ku,createLeafComponent:Su,createLeafletContext:Sp,createOverlayComponent:Ip,createPathComponent:Ap,createPathHook:Op,createTileLayerComponent:Bp,extendContext:wu,removeClassName:Np,updateCircle:Qg,updateClassName:$g,updateGridLayer:Rp,updateMediaOverlay:Xg,useAttribution:yu,useEventHandlers:_s,useLayerLifecycle:Cu,useLeafletContext:Nr,usePathOptions:zp,withPane:zr},Symbol.toStringTag,{value:"Module"}));function xl(){return xl=Object.assign||function(e){for(var t=1;t(S==null?void 0:S.map)??null,[S]);const k=U.useCallback(y=>{if(y!==null&&S===null){const x=new nt.Map(y,g);i!=null&&p!=null?x.setView(i,p):e!=null&&x.fitBounds(e,t),f!=null&&x.whenReady(f),E(Sp(x))}},[]);U.useEffect(()=>()=>{S==null||S.map.remove()},[S]);const A=S?ar.createElement(Lu,{value:S},o):u??null;return ar.createElement("div",xl({},w,{ref:k}),A)}const t0=U.forwardRef(e0),ed=jp(function({position:t,...i},o){const l=new nt.Marker(t,i);return Si(l,wu(o,{overlayContainer:l}))},function(t,i,o){i.position!==o.position&&t.setLatLng(i.position),i.icon!=null&&i.icon!==o.icon&&t.setIcon(i.icon),i.zIndexOffset!=null&&i.zIndexOffset!==o.zIndexOffset&&t.setZIndexOffset(i.zIndexOffset),i.opacity!=null&&i.opacity!==o.opacity&&t.setOpacity(i.opacity),t.dragging!=null&&i.draggable!==o.draggable&&(i.draggable===!0?t.dragging.enable():t.dragging.disable())}),n0=Ap(function({positions:t,...i},o){const l=new nt.Polyline(t,i);return Si(l,wu(o,{overlayContainer:l}))},function(t,i,o){i.positions!==o.positions&&t.setLatLngs(i.positions)}),td=Ip(function(t,i){const o=new nt.Popup(t,i.overlayContainer);return Si(o,i)},function(t,i,{position:o},l){U.useEffect(function(){const{instance:u}=t;function h(p){p.popup===u&&(u.update(),l(!0))}function f(p){p.popup===u&&l(!1)}return i.map.on({popupopen:h,popupclose:f}),i.overlayContainer==null?(o!=null&&u.setLatLng(o),u.openOn(i.map)):i.overlayContainer.bindPopup(u),function(){var g;i.map.off({popupopen:h,popupclose:f}),(g=i.overlayContainer)==null||g.unbindPopup(),i.map.removeLayer(u)}},[t,i,l,o])}),i0=Bp(function({url:t,...i},o){const l=new nt.TileLayer(t,zr(i,o));return Si(l,o)},function(t,i,o){Rp(t,i,o);const{url:l}=i;l!=null&&l!==o.url&&t.setUrl(l)});var Zp={};const r0=Jo(Jg);var nd={exports:{}};(function(e,t){(function(i,o){o(t)})(fn,function(i){var o=L.MarkerClusterGroup=L.FeatureGroup.extend({options:{maxClusterRadius:80,iconCreateFunction:null,clusterPane:L.Marker.prototype.options.pane,spiderfyOnEveryZoom:!1,spiderfyOnMaxZoom:!0,showCoverageOnHover:!0,zoomToBoundsOnClick:!0,singleMarkerMode:!1,disableClusteringAtZoom:null,removeOutsideVisibleBounds:!0,animate:!0,animateAddingMarkers:!1,spiderfyShapePositions:null,spiderfyDistanceMultiplier:1,spiderLegPolylineOptions:{weight:1.5,color:"#222",opacity:.5},chunkedLoading:!1,chunkInterval:200,chunkDelay:50,chunkProgress:null,polygonOptions:{}},initialize:function(s){L.Util.setOptions(this,s),this.options.iconCreateFunction||(this.options.iconCreateFunction=this._defaultIconCreateFunction),this._featureGroup=L.featureGroup(),this._featureGroup.addEventParent(this),this._nonPointGroup=L.featureGroup(),this._nonPointGroup.addEventParent(this),this._inZoomAnimation=0,this._needsClustering=[],this._needsRemoving=[],this._currentShownBounds=null,this._queue=[],this._childMarkerEventHandlers={dragstart:this._childMarkerDragStart,move:this._childMarkerMoved,dragend:this._childMarkerDragEnd};var u=L.DomUtil.TRANSITION&&this.options.animate;L.extend(this,u?this._withAnimation:this._noAnimation),this._markerCluster=u?L.MarkerCluster:L.MarkerClusterNonAnimated},addLayer:function(s){if(s instanceof L.LayerGroup)return this.addLayers([s]);if(!s.getLatLng)return this._nonPointGroup.addLayer(s),this.fire("layeradd",{layer:s}),this;if(!this._map)return this._needsClustering.push(s),this.fire("layeradd",{layer:s}),this;if(this.hasLayer(s))return this;this._unspiderfy&&this._unspiderfy(),this._addLayer(s,this._maxZoom),this.fire("layeradd",{layer:s}),this._topClusterLevel._recalculateBounds(),this._refreshClustersIcons();var u=s,h=this._zoom;if(s.__parent)for(;u.__parent._zoom>=h;)u=u.__parent;return this._currentShownBounds.contains(u.getLatLng())&&(this.options.animateAddingMarkers?this._animationAddLayer(s,u):this._animationAddLayerNonAnimated(s,u)),this},removeLayer:function(s){return s instanceof L.LayerGroup?this.removeLayers([s]):s.getLatLng?this._map?s.__parent?(this._unspiderfy&&(this._unspiderfy(),this._unspiderfyLayer(s)),this._removeLayer(s,!0),this.fire("layerremove",{layer:s}),this._topClusterLevel._recalculateBounds(),this._refreshClustersIcons(),s.off(this._childMarkerEventHandlers,this),this._featureGroup.hasLayer(s)&&(this._featureGroup.removeLayer(s),s.clusterShow&&s.clusterShow()),this):this:(!this._arraySplice(this._needsClustering,s)&&this.hasLayer(s)&&this._needsRemoving.push({layer:s,latlng:s._latlng}),this.fire("layerremove",{layer:s}),this):(this._nonPointGroup.removeLayer(s),this.fire("layerremove",{layer:s}),this)},addLayers:function(s,u){if(!L.Util.isArray(s))return this.addLayer(s);var h=this._featureGroup,f=this._nonPointGroup,p=this.options.chunkedLoading,g=this.options.chunkInterval,v=this.options.chunkProgress,w=s.length,S=0,E=!0,k;if(this._map){var A=new Date().getTime(),y=L.bind(function(){var C=new Date().getTime();for(this._map&&this._unspiderfy&&this._unspiderfy();Sg)break}if(k=s[S],k instanceof L.LayerGroup){E&&(s=s.slice(),E=!1),this._extractNonGroupLayers(k,s),w=s.length;continue}if(!k.getLatLng){f.addLayer(k),u||this.fire("layeradd",{layer:k});continue}if(!this.hasLayer(k)&&(this._addLayer(k,this._maxZoom),u||this.fire("layeradd",{layer:k}),k.__parent&&k.__parent.getChildCount()===2)){var I=k.__parent.getAllChildMarkers(),b=I[0]===k?I[1]:I[0];h.removeLayer(b)}}v&&v(S,w,new Date().getTime()-A),S===w?(this._topClusterLevel._recalculateBounds(),this._refreshClustersIcons(),this._topClusterLevel._recursivelyAddChildrenToMap(null,this._zoom,this._currentShownBounds)):setTimeout(y,this.options.chunkDelay)},this);y()}else for(var x=this._needsClustering;S=0;u--)s.extend(this._needsClustering[u].getLatLng());return s.extend(this._nonPointGroup.getBounds()),s},eachLayer:function(s,u){var h=this._needsClustering.slice(),f=this._needsRemoving,p,g,v;for(this._topClusterLevel&&this._topClusterLevel.getAllChildMarkers(h),g=h.length-1;g>=0;g--){for(p=!0,v=f.length-1;v>=0;v--)if(f[v].layer===h[g]){p=!1;break}p&&s.call(u,h[g])}this._nonPointGroup.eachLayer(s,u)},getLayers:function(){var s=[];return this.eachLayer(function(u){s.push(u)}),s},getLayer:function(s){var u=null;return s=parseInt(s,10),this.eachLayer(function(h){L.stamp(h)===s&&(u=h)}),u},hasLayer:function(s){if(!s)return!1;var u,h=this._needsClustering;for(u=h.length-1;u>=0;u--)if(h[u]===s)return!0;for(h=this._needsRemoving,u=h.length-1;u>=0;u--)if(h[u].layer===s)return!1;return!!(s.__parent&&s.__parent._group===this)||this._nonPointGroup.hasLayer(s)},zoomToShowLayer:function(s,u){var h=this._map;typeof u!="function"&&(u=function(){});var f=function(){(h.hasLayer(s)||h.hasLayer(s.__parent))&&!this._inZoomAnimation&&(this._map.off("moveend",f,this),this.off("animationend",f,this),h.hasLayer(s)?u():s.__parent._icon&&(this.once("spiderfied",u,this),s.__parent.spiderfy()))};s._icon&&this._map.getBounds().contains(s.getLatLng())?u():s.__parent._zoom=0;h--)if(s[h]===u)return s.splice(h,1),!0},_removeFromGridUnclustered:function(s,u){for(var h=this._map,f=this._gridUnclustered,p=Math.floor(this._map.getMinZoom());u>=p&&f[u].removeObject(s,h.project(s.getLatLng(),u));u--);},_childMarkerDragStart:function(s){s.target.__dragStart=s.target._latlng},_childMarkerMoved:function(s){if(!this._ignoreMove&&!s.target.__dragStart){var u=s.target._popup&&s.target._popup.isOpen();this._moveChild(s.target,s.oldLatLng,s.latlng),u&&s.target.openPopup()}},_moveChild:function(s,u,h){s._latlng=u,this.removeLayer(s),s._latlng=h,this.addLayer(s)},_childMarkerDragEnd:function(s){var u=s.target.__dragStart;delete s.target.__dragStart,u&&this._moveChild(s.target,u,s.target._latlng)},_removeLayer:function(s,u,h){var f=this._gridClusters,p=this._gridUnclustered,g=this._featureGroup,v=this._map,w=Math.floor(this._map.getMinZoom());u&&this._removeFromGridUnclustered(s,this._maxZoom);var S=s.__parent,E=S._markers,k;for(this._arraySplice(E,s);S&&(S._childCount--,S._boundsNeedUpdate=!0,!(S._zoom"+u+"",className:"marker-cluster"+h,iconSize:new L.Point(40,40)})},_bindEvents:function(){var s=this._map,u=this.options.spiderfyOnMaxZoom,h=this.options.showCoverageOnHover,f=this.options.zoomToBoundsOnClick,p=this.options.spiderfyOnEveryZoom;(u||f||p)&&this.on("clusterclick clusterkeypress",this._zoomOrSpiderfy,this),h&&(this.on("clustermouseover",this._showCoverage,this),this.on("clustermouseout",this._hideCoverage,this),s.on("zoomend",this._hideCoverage,this))},_zoomOrSpiderfy:function(s){var u=s.layer,h=u;if(!(s.type==="clusterkeypress"&&s.originalEvent&&s.originalEvent.keyCode!==13)){for(;h._childClusters.length===1;)h=h._childClusters[0];h._zoom===this._maxZoom&&h._childCount===u._childCount&&this.options.spiderfyOnMaxZoom?u.spiderfy():this.options.zoomToBoundsOnClick&&u.zoomToBounds(),this.options.spiderfyOnEveryZoom&&u.spiderfy(),s.originalEvent&&s.originalEvent.keyCode===13&&this._map._container.focus()}},_showCoverage:function(s){var u=this._map;this._inZoomAnimation||(this._shownPolygon&&u.removeLayer(this._shownPolygon),s.layer.getChildCount()>2&&s.layer!==this._spiderfied&&(this._shownPolygon=new L.Polygon(s.layer.getConvexHull(),this.options.polygonOptions),u.addLayer(this._shownPolygon)))},_hideCoverage:function(){this._shownPolygon&&(this._map.removeLayer(this._shownPolygon),this._shownPolygon=null)},_unbindEvents:function(){var s=this.options.spiderfyOnMaxZoom,u=this.options.showCoverageOnHover,h=this.options.zoomToBoundsOnClick,f=this.options.spiderfyOnEveryZoom,p=this._map;(s||h||f)&&this.off("clusterclick clusterkeypress",this._zoomOrSpiderfy,this),u&&(this.off("clustermouseover",this._showCoverage,this),this.off("clustermouseout",this._hideCoverage,this),p.off("zoomend",this._hideCoverage,this))},_zoomEnd:function(){this._map&&(this._mergeSplitClusters(),this._zoom=Math.round(this._map._zoom),this._currentShownBounds=this._getExpandedVisibleBounds())},_moveEnd:function(){if(!this._inZoomAnimation){var s=this._getExpandedVisibleBounds();this._topClusterLevel._recursivelyRemoveChildrenFromMap(this._currentShownBounds,Math.floor(this._map.getMinZoom()),this._zoom,s),this._topClusterLevel._recursivelyAddChildrenToMap(null,Math.round(this._map._zoom),s),this._currentShownBounds=s}},_generateInitialClusters:function(){var s=Math.ceil(this._map.getMaxZoom()),u=Math.floor(this._map.getMinZoom()),h=this.options.maxClusterRadius,f=h;typeof h!="function"&&(f=function(){return h}),this.options.disableClusteringAtZoom!==null&&(s=this.options.disableClusteringAtZoom-1),this._maxZoom=s,this._gridClusters={},this._gridUnclustered={};for(var p=s;p>=u;p--)this._gridClusters[p]=new L.DistanceGrid(f(p)),this._gridUnclustered[p]=new L.DistanceGrid(f(p));this._topClusterLevel=new this._markerCluster(this,u-1)},_addLayer:function(s,u){var h=this._gridClusters,f=this._gridUnclustered,p=Math.floor(this._map.getMinZoom()),g,v;for(this.options.singleMarkerMode&&this._overrideMarkerIcon(s),s.on(this._childMarkerEventHandlers,this);u>=p;u--){g=this._map.project(s.getLatLng(),u);var w=h[u].getNearObject(g);if(w){w._addChild(s),s.__parent=w;return}if(w=f[u].getNearObject(g),w){var S=w.__parent;S&&this._removeLayer(w,!1);var E=new this._markerCluster(this,u,w,s);h[u].addObject(E,this._map.project(E._cLatLng,u)),w.__parent=E,s.__parent=E;var k=E;for(v=u-1;v>S._zoom;v--)k=new this._markerCluster(this,v,k),h[v].addObject(k,this._map.project(w.getLatLng(),v));S._addChild(k),this._removeFromGridUnclustered(w,u);return}f[u].addObject(s,g)}this._topClusterLevel._addChild(s),s.__parent=this._topClusterLevel},_refreshClustersIcons:function(){this._featureGroup.eachLayer(function(s){s instanceof L.MarkerCluster&&s._iconNeedsUpdate&&s._updateIcon()})},_enqueue:function(s){this._queue.push(s),this._queueTimeout||(this._queueTimeout=setTimeout(L.bind(this._processQueue,this),300))},_processQueue:function(){for(var s=0;ss?(this._animationStart(),this._animationZoomOut(this._zoom,s)):this._moveEnd()},_getExpandedVisibleBounds:function(){if(this.options.removeOutsideVisibleBounds){if(L.Browser.mobile)return this._checkBoundsMaxLat(this._map.getBounds())}else return this._mapBoundsInfinite;return this._checkBoundsMaxLat(this._map.getBounds().pad(1))},_checkBoundsMaxLat:function(s){var u=this._maxLat;return u!==void 0&&(s.getNorth()>=u&&(s._northEast.lat=1/0),s.getSouth()<=-u&&(s._southWest.lat=-1/0)),s},_animationAddLayerNonAnimated:function(s,u){if(u===s)this._featureGroup.addLayer(s);else if(u._childCount===2){u._addToMap();var h=u.getAllChildMarkers();this._featureGroup.removeLayer(h[0]),this._featureGroup.removeLayer(h[1])}else u._updateIcon()},_extractNonGroupLayers:function(s,u){var h=s.getLayers(),f=0,p;for(u=u||[];f=0;g--)E=S[g],h.contains(E._latlng)||f.removeLayer(E)}),this._forceLayout(),this._topClusterLevel._recursivelyBecomeVisible(h,u),f.eachLayer(function(v){!(v instanceof L.MarkerCluster)&&v._icon&&v.clusterShow()}),this._topClusterLevel._recursively(h,s,u,function(v){v._recursivelyRestoreChildPositions(u)}),this._ignoreMove=!1,this._enqueue(function(){this._topClusterLevel._recursively(h,s,p,function(v){f.removeLayer(v),v.clusterShow()}),this._animationEnd()})},_animationZoomOut:function(s,u){this._animationZoomOutSingle(this._topClusterLevel,s-1,u),this._topClusterLevel._recursivelyAddChildrenToMap(null,u,this._getExpandedVisibleBounds()),this._topClusterLevel._recursivelyRemoveChildrenFromMap(this._currentShownBounds,Math.floor(this._map.getMinZoom()),s,this._getExpandedVisibleBounds())},_animationAddLayer:function(s,u){var h=this,f=this._featureGroup;f.addLayer(s),u!==s&&(u._childCount>2?(u._updateIcon(),this._forceLayout(),this._animationStart(),s._setPos(this._map.latLngToLayerPoint(u.getLatLng())),s.clusterHide(),this._enqueue(function(){f.removeLayer(s),s.clusterShow(),h._animationEnd()})):(this._forceLayout(),h._animationStart(),h._animationZoomOutSingle(u,this._map.getMaxZoom(),this._zoom)))}},_animationZoomOutSingle:function(s,u,h){var f=this._getExpandedVisibleBounds(),p=Math.floor(this._map.getMinZoom());s._recursivelyAnimateChildrenInAndAddSelfToMap(f,p,u+1,h);var g=this;this._forceLayout(),s._recursivelyBecomeVisible(f,h),this._enqueue(function(){if(s._childCount===1){var v=s._markers[0];this._ignoreMove=!0,v.setLatLng(v.getLatLng()),this._ignoreMove=!1,v.clusterShow&&v.clusterShow()}else s._recursively(f,h,p,function(w){w._recursivelyRemoveChildrenFromMap(f,p,u+1)});g._animationEnd()})},_animationEnd:function(){this._map&&(this._map._mapPane.className=this._map._mapPane.className.replace(" leaflet-cluster-anim","")),this._inZoomAnimation--,this.fire("animationend")},_forceLayout:function(){L.Util.falseFn(document.body.offsetWidth)}}),L.markerClusterGroup=function(s){return new L.MarkerClusterGroup(s)};var l=L.MarkerCluster=L.Marker.extend({options:L.Icon.prototype.options,initialize:function(s,u,h,f){L.Marker.prototype.initialize.call(this,h?h._cLatLng||h.getLatLng():new L.LatLng(0,0),{icon:this,pane:s.options.clusterPane}),this._group=s,this._zoom=u,this._markers=[],this._childClusters=[],this._childCount=0,this._iconNeedsUpdate=!0,this._boundsNeedUpdate=!0,this._bounds=new L.LatLngBounds,h&&this._addChild(h),f&&this._addChild(f)},getAllChildMarkers:function(s,u){s=s||[];for(var h=this._childClusters.length-1;h>=0;h--)this._childClusters[h].getAllChildMarkers(s,u);for(var f=this._markers.length-1;f>=0;f--)u&&this._markers[f].__dragStart||s.push(this._markers[f]);return s},getChildCount:function(){return this._childCount},zoomToBounds:function(s){for(var u=this._childClusters.slice(),h=this._group._map,f=h.getBoundsZoom(this._bounds),p=this._zoom+1,g=h.getZoom(),v;u.length>0&&f>p;){p++;var w=[];for(v=0;vp?this._group._map.setView(this._latlng,p):f<=g?this._group._map.setView(this._latlng,g+1):this._group._map.fitBounds(this._bounds,s)},getBounds:function(){var s=new L.LatLngBounds;return s.extend(this._bounds),s},_updateIcon:function(){this._iconNeedsUpdate=!0,this._icon&&this.setIcon(this)},createIcon:function(){return this._iconNeedsUpdate&&(this._iconObj=this._group.options.iconCreateFunction(this),this._iconNeedsUpdate=!1),this._iconObj.createIcon()},createShadow:function(){return this._iconObj.createShadow()},_addChild:function(s,u){this._iconNeedsUpdate=!0,this._boundsNeedUpdate=!0,this._setClusterCenter(s),s instanceof L.MarkerCluster?(u||(this._childClusters.push(s),s.__parent=this),this._childCount+=s._childCount):(u||this._markers.push(s),this._childCount++),this.__parent&&this.__parent._addChild(s,!0)},_setClusterCenter:function(s){this._cLatLng||(this._cLatLng=s._cLatLng||s._latlng)},_resetBounds:function(){var s=this._bounds;s._southWest&&(s._southWest.lat=1/0,s._southWest.lng=1/0),s._northEast&&(s._northEast.lat=-1/0,s._northEast.lng=-1/0)},_recalculateBounds:function(){var s=this._markers,u=this._childClusters,h=0,f=0,p=this._childCount,g,v,w,S;if(p!==0){for(this._resetBounds(),g=0;g=0;g--)v=p[g],v._icon&&(v._setPos(u),v.clusterHide())},function(f){var p=f._childClusters,g,v;for(g=p.length-1;g>=0;g--)v=p[g],v._icon&&(v._setPos(u),v.clusterHide())})},_recursivelyAnimateChildrenInAndAddSelfToMap:function(s,u,h,f){this._recursively(s,f,u,function(p){p._recursivelyAnimateChildrenIn(s,p._group._map.latLngToLayerPoint(p.getLatLng()).round(),h),p._isSingleParent()&&h-1===f?(p.clusterShow(),p._recursivelyRemoveChildrenFromMap(s,u,h)):p.clusterHide(),p._addToMap()})},_recursivelyBecomeVisible:function(s,u){this._recursively(s,this._group._map.getMinZoom(),u,null,function(h){h.clusterShow()})},_recursivelyAddChildrenToMap:function(s,u,h){this._recursively(h,this._group._map.getMinZoom()-1,u,function(f){if(u!==f._zoom)for(var p=f._markers.length-1;p>=0;p--){var g=f._markers[p];h.contains(g._latlng)&&(s&&(g._backupLatlng=g.getLatLng(),g.setLatLng(s),g.clusterHide&&g.clusterHide()),f._group._featureGroup.addLayer(g))}},function(f){f._addToMap(s)})},_recursivelyRestoreChildPositions:function(s){for(var u=this._markers.length-1;u>=0;u--){var h=this._markers[u];h._backupLatlng&&(h.setLatLng(h._backupLatlng),delete h._backupLatlng)}if(s-1===this._zoom)for(var f=this._childClusters.length-1;f>=0;f--)this._childClusters[f]._restorePosition();else for(var p=this._childClusters.length-1;p>=0;p--)this._childClusters[p]._recursivelyRestoreChildPositions(s)},_restorePosition:function(){this._backupLatlng&&(this.setLatLng(this._backupLatlng),delete this._backupLatlng)},_recursivelyRemoveChildrenFromMap:function(s,u,h,f){var p,g;this._recursively(s,u-1,h-1,function(v){for(g=v._markers.length-1;g>=0;g--)p=v._markers[g],(!f||!f.contains(p._latlng))&&(v._group._featureGroup.removeLayer(p),p.clusterShow&&p.clusterShow())},function(v){for(g=v._childClusters.length-1;g>=0;g--)p=v._childClusters[g],(!f||!f.contains(p._latlng))&&(v._group._featureGroup.removeLayer(p),p.clusterShow&&p.clusterShow())})},_recursively:function(s,u,h,f,p){var g=this._childClusters,v=this._zoom,w,S;if(u<=v&&(f&&f(this),p&&v===h&&p(this)),v=0;w--)S=g[w],S._boundsNeedUpdate&&S._recalculateBounds(),s.intersects(S._bounds)&&S._recursively(s,u,h,f,p)},_isSingleParent:function(){return this._childClusters.length>0&&this._childClusters[0]._childCount===this._childCount}});L.Marker.include({clusterHide:function(){var s=this.options.opacity;return this.setOpacity(0),this.options.opacity=s,this},clusterShow:function(){return this.setOpacity(this.options.opacity)}}),L.DistanceGrid=function(s){this._cellSize=s,this._sqCellSize=s*s,this._grid={},this._objectPoint={}},L.DistanceGrid.prototype={addObject:function(s,u){var h=this._getCoord(u.x),f=this._getCoord(u.y),p=this._grid,g=p[f]=p[f]||{},v=g[h]=g[h]||[],w=L.Util.stamp(s);this._objectPoint[w]=u,v.push(s)},updateObject:function(s,u){this.removeObject(s),this.addObject(s,u)},removeObject:function(s,u){var h=this._getCoord(u.x),f=this._getCoord(u.y),p=this._grid,g=p[f]=p[f]||{},v=g[h]=g[h]||[],w,S;for(delete this._objectPoint[L.Util.stamp(s)],w=0,S=v.length;w=0;g--){if(v=u[g],w=this.getDistant(v,s),w>0)p.push(v);else continue;w>h&&(h=w,f=v)}return{maxPoint:f,newPoints:p}},buildConvexHull:function(s,u){var h=[],f=this.findMostDistantPointFromBaseLine(s,u);return f.maxPoint?(h=h.concat(this.buildConvexHull([s[0],f.maxPoint],f.newPoints)),h=h.concat(this.buildConvexHull([f.maxPoint,s[1]],f.newPoints)),h):[s[0]]},getConvexHull:function(s){var u=!1,h=!1,f=!1,p=!1,g=null,v=null,w=null,S=null,E=null,k=null,A;for(A=s.length-1;A>=0;A--){var y=s[A];(u===!1||y.lat>u)&&(g=y,u=y.lat),(h===!1||y.latf)&&(w=y,f=y.lng),(p===!1||y.lng=0;f--)h=s[f].getLatLng(),u.push(h);return L.QuickHull.getConvexHull(u)}}),L.MarkerCluster.include({_2PI:Math.PI*2,_circleFootSeparation:25,_circleStartAngle:0,_spiralFootSeparation:28,_spiralLengthStart:11,_spiralLengthFactor:5,_circleSpiralSwitchover:9,spiderfy:function(){if(!(this._group._spiderfied===this||this._group._inZoomAnimation)){var s=this.getAllChildMarkers(null,!0),u=this._group,h=u._map,f=h.latLngToLayerPoint(this._latlng),p;this._group._unspiderfy(),this._group._spiderfied=this,this._group.options.spiderfyShapePositions?p=this._group.options.spiderfyShapePositions(s.length,f):s.length>=this._circleSpiralSwitchover?p=this._generatePointsSpiral(s.length,f):(f.y+=10,p=this._generatePointsCircle(s.length,f)),this._animationSpiderfy(s,p)}},unspiderfy:function(s){this._group._inZoomAnimation||(this._animationUnspiderfy(s),this._group._spiderfied=null)},_generatePointsCircle:function(s,u){var h=this._group.options.spiderfyDistanceMultiplier*this._circleFootSeparation*(2+s),f=h/this._2PI,p=this._2PI/s,g=[],v,w;for(f=Math.max(f,35),g.length=s,v=0;v=0;S--)S=0;g--)p=f[g],h.removeLayer(p),p._preSpiderfyLatlng&&(p.setLatLng(p._preSpiderfyLatlng),delete p._preSpiderfyLatlng),p.setZIndexOffset&&p.setZIndexOffset(0),p._spiderLeg&&(u.removeLayer(p._spiderLeg),delete p._spiderLeg);s.fire("unspiderfied",{cluster:this,markers:f}),s._ignoreMove=!1,s._spiderfied=null}}),L.MarkerClusterNonAnimated=L.MarkerCluster.extend({_animationSpiderfy:function(s,u){var h=this._group,f=h._map,p=h._featureGroup,g=this._group.options.spiderLegPolylineOptions,v,w,S,E;for(h._ignoreMove=!0,v=0;v=0;A--)I=p.layerPointToLatLng(u[A]),y=s[A],y._preSpiderfyLatlng=y._latlng,y.setLatLng(I),y.clusterShow&&y.clusterShow(),S&&(x=y._spiderLeg,C=x._path,C.style.strokeDashoffset=0,x.setStyle({opacity:k}));this.setOpacity(.3),f._ignoreMove=!1,setTimeout(function(){f._animationEnd(),f.fire("spiderfied",{cluster:h,markers:s})},200)},_animationUnspiderfy:function(s){var u=this,h=this._group,f=h._map,p=h._featureGroup,g=s?f._latLngToNewLayerPoint(this._latlng,s.zoom,s.center):f.latLngToLayerPoint(this._latlng),v=this.getAllChildMarkers(null,!0),w=L.Path.SVG,S,E,k,A,y,x;for(h._ignoreMove=!0,h._animationStart(),this.setOpacity(1),E=v.length-1;E>=0;E--)S=v[E],S._preSpiderfyLatlng&&(S.closePopup(),S.setLatLng(S._preSpiderfyLatlng),delete S._preSpiderfyLatlng,x=!0,S._setPos&&(S._setPos(g),x=!1),S.clusterHide&&(S.clusterHide(),x=!1),x&&p.removeLayer(S),w&&(k=S._spiderLeg,A=k._path,y=A.getTotalLength()+.1,A.style.strokeDashoffset=y,k.setStyle({opacity:0})));h._ignoreMove=!1,setTimeout(function(){var C=0;for(E=v.length-1;E>=0;E--)S=v[E],S._spiderLeg&&C++;for(E=v.length-1;E>=0;E--)S=v[E],S._spiderLeg&&(S.clusterShow&&S.clusterShow(),S.setZIndexOffset&&S.setZIndexOffset(0),C>1&&p.removeLayer(S),f.removeLayer(S._spiderLeg),delete S._spiderLeg);h._animationEnd(),h.fire("unspiderfied",{cluster:u,markers:v})},200)}}),L.MarkerClusterGroup.include({_spiderfied:null,unspiderfy:function(){this._unspiderfy.apply(this,arguments)},_spiderfierOnAdd:function(){this._map.on("click",this._unspiderfyWrapper,this),this._map.options.zoomAnimation&&this._map.on("zoomstart",this._unspiderfyZoomStart,this),this._map.on("zoomend",this._noanimationUnspiderfy,this),L.Browser.touch||this._map.getRenderer(this)},_spiderfierOnRemove:function(){this._map.off("click",this._unspiderfyWrapper,this),this._map.off("zoomstart",this._unspiderfyZoomStart,this),this._map.off("zoomanim",this._unspiderfyZoomAnim,this),this._map.off("zoomend",this._noanimationUnspiderfy,this),this._noanimationUnspiderfy()},_unspiderfyZoomStart:function(){this._map&&this._map.on("zoomanim",this._unspiderfyZoomAnim,this)},_unspiderfyZoomAnim:function(s){L.DomUtil.hasClass(this._map._mapPane,"leaflet-touching")||(this._map.off("zoomanim",this._unspiderfyZoomAnim,this),this._unspiderfy(s))},_unspiderfyWrapper:function(){this._unspiderfy()},_unspiderfy:function(s){this._spiderfied&&this._spiderfied.unspiderfy(s)},_noanimationUnspiderfy:function(){this._spiderfied&&this._spiderfied._noanimationUnspiderfy()},_unspiderfyLayer:function(s){s._spiderLeg&&(this._featureGroup.removeLayer(s),s.clusterShow&&s.clusterShow(),s.setZIndexOffset&&s.setZIndexOffset(0),this._map.removeLayer(s._spiderLeg),delete s._spiderLeg)}}),L.MarkerClusterGroup.include({refreshClusters:function(s){return s?s instanceof L.MarkerClusterGroup?s=s._topClusterLevel.getAllChildMarkers():s instanceof L.LayerGroup?s=s._layers:s instanceof L.MarkerCluster?s=s.getAllChildMarkers():s instanceof L.Marker&&(s=[s]):s=this._topClusterLevel.getAllChildMarkers(),this._flagParentsIconsNeedUpdate(s),this._refreshClustersIcons(),this.options.singleMarkerMode&&this._refreshSingleMarkerModeMarkers(s),this},_flagParentsIconsNeedUpdate:function(s){var u,h;for(u in s)for(h=s[u].__parent;h;)h._iconNeedsUpdate=!0,h=h.__parent},_refreshSingleMarkerModeMarkers:function(s){var u,h;for(u in s)h=s[u],this.hasLayer(h)&&h.setIcon(this._overrideMarkerIcon(h))}}),L.Marker.include({refreshIconOptions:function(s,u){var h=this.options.icon;return L.setOptions(h,s),this.setIcon(h),u&&this.__parent&&this.__parent._group.refreshClusters(this),this}}),i.MarkerClusterGroup=o,i.MarkerCluster=l,Object.defineProperty(i,"__esModule",{value:!0})})})(nd,nd.exports);const o0="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAABSCAMAAAAhFXfZAAAC91BMVEVMaXEzeak2f7I4g7g3g7cua5gzeKg8hJo3grY4g7c3grU0gLI2frE0daAubJc2gbQwd6QzeKk2gLMtd5sxdKIua5g1frA2f7IydaM0e6w2fq41fK01eqo3grgubJgta5cxdKI1f7AydaQydaMxc6EubJgvbJkwcZ4ubZkwcJwubZgubJcydqUydKIxapgubJctbJcubZcubJcvbJYubJcvbZkubJctbJctbZcubJg2f7AubJcrbZcubJcubJcua5g3grY0fq8ubJcubJdEkdEwhsw6i88vhswuhcsuhMtBjMgthMsrg8srgss6is8qgcs8i9A9iMYtg8spgcoogMo7hcMngMonf8olfso4gr8kfck5iM8jfMk4iM8he8k1fro7itAgesk2hs8eecgzfLcofssdeMg0hc4cd8g2hcsxeLQbdsgZdcgxeLImfcszhM0vda4xgckzhM4xg84wf8Yxgs4udKsvfcQucqhUndROmdM1fK0wcZ8vb5w0eqpQm9MzeKhXoNVcpdYydKNWn9VZotVKltJFjsIwcJ1Rms9OlslLmtH///8+kc9epdYzd6dbo9VHkMM2f7FHmNBClM8ydqVcpNY9hro3gLM9hLczealQmcw3fa46f7A8gLMxc6I3eagyc6FIldJMl9JSnNRSntNNl9JPnNJFi75UnM9ZodVKksg8kM45jc09e6ZHltFBk883gbRBh7pDk9EwcaBzn784g7dKkcY2i81Om9M7j85Llc81is09g7Q4grY/j9A0eqxKmdFFltBEjcXf6fFImdBCiLxJl9FGlNFBi78yiMxVndEvbpo6js74+vx+psPP3+o/ks5HkcpGmNCjwdZCkNDM3ehYoNJEls+lxNkxh8xHks0+jdC1zd5Lg6r+/v/H2ufz9/o3jM3t8/edvdM/k89Th61OiLBSjbZklbaTt9BfptdjmL1AicBHj8hGk9FAgK1dkLNTjLRekrdClc/k7fM0icy0y9tgp9c4jc2NtM9Dlc8zicxeXZn3AAAAQ3RSTlMAHDdTb4yPA+LtnEQmC4L2EmHqB7XA0d0sr478x4/Yd5i1zOfyPkf1sLVq4Nh3FvjxopQ2/STNuFzUwFIwxKaejILpIBEV9wAABhVJREFUeF6s1NdyFEcYBeBeoQIhRAkLlRDGrhIgY3BJL8CVeKzuyXFzzjkn5ZxzzuScg3PO8cKzu70JkO0LfxdTU//pM9vTu7Xgf6KqOVTb9X7toRrVEfBf1HTVjZccrT/2by1VV928Yty9ZbVuucdz90frG8DBjl9pVApbOstvmMuvVgaNXSfAAd6pGxpy6yxf5ph43pS/4f3uoaGm2rdu72S9xzOvMymkZFq/ptDrk90mhW7e4zl7HLzhxGWPR20xmSxJ/VqldG5m9XhaVOA1DadsNh3Pu5L2N6QtPO/32JpqQBVVk20oy/Pi2s23WEvyfHbe1thadVQttvm7Llf65gGmXK67XtupyoM7HQhmXdLS8oGWJNeOJ3C5fG5XCEJnkez3/oFdsvgJ4l2ANZwhrJKk/7OSXa+3Vw2WJMlKnGkobouYk6T0TyX30klOUnTD9HJ5qpckL3EW/w4XF3Xd0FGywXUrstrclVsqz5Pd/sXFYyDnPdrLcQODmGOK47IZb4CmibmMn+MYRzFZ5jg33ZL/EJrWcszHmANy3ARBK/IXtciJy8VsitPSdE3uuHxzougojcUdr8/32atnz/ev3f/K5wtpxUTpcaI45zusVDpYtZi+jg0oU9b3x74h7+n9ABvYEZeKaVq0sh0AtLKsFtqNBdeT0MrSzwwlq9+x6xAO4tgOtSzbCjrNQQiNvQUbUEubvzBUeGw26yDCsRHCoLkTHDa7IdOLIThs/gHvChszh2CimE8peRs47cxANI0lYNB5y1DljpOF0IhzBDPOZnDOqYYbeGKECbPzWnXludPphw5c2YBq5zlwXphIbO4VDCZ0gnPfUO1TwZoYwAs2ExPCedAu9DAjfQUjzITQb3jNj0KG2Sgt6BHaQUdYzWz+XmBktOHwanXjaSTcwwziBcuMOtwBmqPrTOxFQR/DRKKPqyur0aiW6cULYsx6tBm0jXpR/AUWR6HRq9WVW6MRhIq5jLyjbaCTDCijyYJNpCajdyobP/eTw0iexBAKkJ3gA5KcQb2zBXsIBckn+xVv8jkZSaEFHE+jFEleAEfayRU0MouNoBmB/L50Ai/HSLIHxcrpCvnhSQAuakKp2C/YbCylJjXRVy/z3+Kv/RrNcCo+WUzlVEhzKffnTQnxeN9fWF88fiNCUdSTsaufaChKWInHeysygfpIqagoakW+vV20J8uyl6TyNKEZWV4oRSPyCkWpgOLSbkCObT8o2r6tlG58HQquf6O0v50tB7JM7F4EORd2dx/K0w/KHsVkLPaoYrwgP/y7krr3SSMA4zj+OBgmjYkxcdIJQyQRKgg2viX9Hddi9UBb29LrKR7CVVEEEXWojUkXNyfTNDE14W9gbHJNuhjDettN3ZvbOvdOqCD3Jp/9l+/wJE+9PkYGjx/fqkys3S2rMozM/o2106rfMUINo6hVqz+eu/hd1c4xTg0TAfy5kV+4UG6+IthHTU9woWmxuKNbTfuCSfovBCxq7EtHqvYL4Sm6F8GVxsSXHMQ07TOi1DKtZxjWaaIyi4CXWjxPccUw8WVbMYY5wxC1mzEyXMJWkllpRloi+Kkoq69sxBTlElF6aAxYUbjXNlhlDZilDnM4U5SlN5biRsRHnbx3mbeWjEh4mEyiuJDl5XcWVmX5GvNkFgLWZM5qwsop4/AWfLhU1cR7k1VVvcYCWRkOI6Xy5gmnphCYIkvzuNYzHzosq2oNk2RtSs8khfUOfHIDgR6ysYBaMpl4uEgk2U/oJTs9AaTSwma7dT69geAE2ZpEjUsn2ieJNHeKfrI3EcAGJ2ZaNgVuC8EBctCLc57P5u5led6IOBkIYkuQMrmmjChs4VkfOerHqSBkPzZlhe06RslZ3zMjk2sscqKwY0RcjKK+LWbzd7KiHhkncs/siFJ+V5eXxD34B8nVuJEpGJNmxN2gH3vSvp7J70tF+D1Ej8qUJD1TkErAND2GZwTFg/LubvmgiBG3SOvdlsqFQrkEzJCL1rstlnVFROixZoDDSuXQFHESwVGlcuQcMb/b42NgjLowh5MTDFE3vNB5qStRIErdCQEh6pLPR92anSUb/wAIhldAaDMpGgAAAABJRU5ErkJggg==",s0=Object.freeze(Object.defineProperty({__proto__:null,default:o0},Symbol.toStringTag,{value:"Module"})),a0=Jo(s0),l0="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAApCAYAAADAk4LOAAAFgUlEQVR4Aa1XA5BjWRTN2oW17d3YaZtr2962HUzbDNpjszW24mRt28p47v7zq/bXZtrp/lWnXr337j3nPCe85NcypgSFdugCpW5YoDAMRaIMqRi6aKq5E3YqDQO3qAwjVWrD8Ncq/RBpykd8oZUb/kaJutow8r1aP9II0WmLKLIsJyv1w/kqw9Ch2MYdB++12Onxee/QMwvf4/Dk/Lfp/i4nxTXtOoQ4pW5Aj7wpici1A9erdAN2OH64x8OSP9j3Ft3b7aWkTg/Fm91siTra0f9on5sQr9INejH6CUUUpavjFNq1B+Oadhxmnfa8RfEmN8VNAsQhPqF55xHkMzz3jSmChWU6f7/XZKNH+9+hBLOHYozuKQPxyMPUKkrX/K0uWnfFaJGS1QPRtZsOPtr3NsW0uyh6NNCOkU3Yz+bXbT3I8G3xE5EXLXtCXbbqwCO9zPQYPRTZ5vIDXD7U+w7rFDEoUUf7ibHIR4y6bLVPXrz8JVZEql13trxwue/uDivd3fkWRbS6/IA2bID4uk0UpF1N8qLlbBlXs4Ee7HLTfV1j54APvODnSfOWBqtKVvjgLKzF5YdEk5ewRkGlK0i33Eofffc7HT56jD7/6U+qH3Cx7SBLNntH5YIPvODnyfIXZYRVDPqgHtLs5ABHD3YzLuespb7t79FY34DjMwrVrcTuwlT55YMPvOBnRrJ4VXTdNnYug5ucHLBjEpt30701A3Ts+HEa73u6dT3FNWwflY86eMHPk+Yu+i6pzUpRrW7SNDg5JHR4KapmM5Wv2E8Tfcb1HoqqHMHU+uWDD7zg54mz5/2BSnizi9T1Dg4QQXLToGNCkb6tb1NU+QAlGr1++eADrzhn/u8Q2YZhQVlZ5+CAOtqfbhmaUCS1ezNFVm2imDbPmPng5wmz+gwh+oHDce0eUtQ6OGDIyR0uUhUsoO3vfDmmgOezH0mZN59x7MBi++WDL1g/eEiU3avlidO671bkLfwbw5XV2P8Pzo0ydy4t2/0eu33xYSOMOD8hTf4CrBtGMSoXfPLchX+J0ruSePw3LZeK0juPJbYzrhkH0io7B3k164hiGvawhOKMLkrQLyVpZg8rHFW7E2uHOL888IBPlNZ1FPzstSJM694fWr6RwpvcJK60+0HCILTBzZLFNdtAzJaohze60T8qBzyh5ZuOg5e7uwQppofEmf2++DYvmySqGBuKaicF1blQjhuHdvCIMvp8whTTfZzI7RldpwtSzL+F1+wkdZ2TBOW2gIF88PBTzD/gpeREAMEbxnJcaJHNHrpzji0gQCS6hdkEeYt9DF/2qPcEC8RM28Hwmr3sdNyht00byAut2k3gufWNtgtOEOFGUwcXWNDbdNbpgBGxEvKkOQsxivJx33iow0Vw5S6SVTrpVq11ysA2Rp7gTfPfktc6zhtXBBC+adRLshf6sG2RfHPZ5EAc4sVZ83yCN00Fk/4kggu40ZTvIEm5g24qtU4KjBrx/BTTH8ifVASAG7gKrnWxJDcU7x8X6Ecczhm3o6YicvsLXWfh3Ch1W0k8x0nXF+0fFxgt4phz8QvypiwCCFKMqXCnqXExjq10beH+UUA7+nG6mdG/Pu0f3LgFcGrl2s0kNNjpmoJ9o4B29CMO8dMT4Q5ox8uitF6fqsrJOr8qnwNbRzv6hSnG5wP+64C7h9lp30hKNtKdWjtdkbuPA19nJ7Tz3zR/ibgARbhb4AlhavcBebmTHcFl2fvYEnW0ox9xMxKBS8btJ+KiEbq9zA4RthQXDhPa0T9TEe69gWupwc6uBUphquXgf+/FrIjweHQS4/pduMe5ERUMHUd9xv8ZR98CxkS4F2n3EUrUZ10EYNw7BWm9x1GiPssi3GgiGRDKWRYZfXlON+dfNbM+GgIwYdwAAAAASUVORK5CYII=",u0=Object.freeze(Object.defineProperty({__proto__:null,default:l0},Symbol.toStringTag,{value:"Module"})),c0=Jo(u0),h0="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACkAAAApCAQAAAACach9AAACMUlEQVR4Ae3ShY7jQBAE0Aoz/f9/HTMzhg1zrdKUrJbdx+Kd2nD8VNudfsL/Th///dyQN2TH6f3y/BGpC379rV+S+qqetBOxImNQXL8JCAr2V4iMQXHGNJxeCfZXhSRBcQMfvkOWUdtfzlLgAENmZDcmo2TVmt8OSM2eXxBp3DjHSMFutqS7SbmemzBiR+xpKCNUIRkdkkYxhAkyGoBvyQFEJEefwSmmvBfJuJ6aKqKWnAkvGZOaZXTUgFqYULWNSHUckZuR1HIIimUExutRxwzOLROIG4vKmCKQt364mIlhSyzAf1m9lHZHJZrlAOMMztRRiKimp/rpdJDc9Awry5xTZCte7FHtuS8wJgeYGrex28xNTd086Dik7vUMscQOa8y4DoGtCCSkAKlNwpgNtphjrC6MIHUkR6YWxxs6Sc5xqn222mmCRFzIt8lEdKx+ikCtg91qS2WpwVfBelJCiQJwvzixfI9cxZQWgiSJelKnwBElKYtDOb2MFbhmUigbReQBV0Cg4+qMXSxXSyGUn4UbF8l+7qdSGnTC0XLCmahIgUHLhLOhpVCtw4CzYXvLQWQbJNmxoCsOKAxSgBJno75avolkRw8iIAFcsdc02e9iyCd8tHwmeSSoKTowIgvscSGZUOA7PuCN5b2BX9mQM7S0wYhMNU74zgsPBj3HU7wguAfnxxjFQGBE6pwN+GjME9zHY7zGp8wVxMShYX9NXvEWD3HbwJf4giO4CFIQxXScH1/TM+04kkBiAAAAAElFTkSuQmCC",d0=Object.freeze(Object.defineProperty({__proto__:null,default:h0},Symbol.toStringTag,{value:"Module"})),f0=Jo(d0);var ai=fn&&fn.__assign||function(){return ai=Object.assign||function(e){for(var t,i=1,o=arguments.length;i{switch(e){case"Subway":return x0;case"Tram":return L0;case"Bus":return P0;default:return Dp}},C0=e=>nt.divIcon({html:`${e.getChildCount()}`,className:"custom-marker-cluster",iconSize:nt.point(35,35,!0)}),k0=(e,t)=>e.find(i=>i.stop_id===t),T0=(e,t)=>e.find(i=>i.route_short_name===t),E0=(e,t)=>e>=mo.minLat&&e<=mo.maxLat&&t>=mo.minLon&&t<=mo.maxLon,M0=(e,t,i,o)=>{const s=(i-e)*(Math.PI/180),u=(o-t)*(Math.PI/180),h=Math.sin(s/2)*Math.sin(s/2)+Math.cos(e*(Math.PI/180))*Math.cos(i*(Math.PI/180))*Math.sin(u/2)*Math.sin(u/2);return 6371e3*(2*Math.atan2(Math.sqrt(h),Math.sqrt(1-h)))},N0=(e,t,i,o)=>{let l=0,s=null,u=!1;const h=k0(o,t);if(!h)return console.error(`Start stop not found for pointId: ${t}`),[0,0];const f=[h.stop_coordinates.lat,h.stop_coordinates.lon];for(const p of e.shape.geometry.coordinates)for(const g of p){const v=[g[1],g[0]];if(u){if(s){const w=M0(s[0],s[1],v[0],v[1]);if(l+w>=i){const E=(i-l)/w;return z0(s,v,E)}l+=w}s=v}else if(v[0]===f[0]&&v[1]===f[1]){u=!0,s=v;continue}}return s||f},z0=(e,t,i)=>{const o=e[0]+(t[0]-e[0])*i,l=e[1]+(t[1]-e[1])*i;return[o,l]},O0=({stops:e,routes:t,trains:i})=>{const o=t.flatMap((h,f)=>h.shape.geometry.coordinates.map((p,g)=>{const v=p.map(w=>[w[1],w[0]]);return _.jsx(n0,{positions:v,color:`#${h.route_color}`,weight:5,opacity:.7,lineJoin:"round",lineCap:"round"},`${f}-${g}`)})),s=i.flatMap(h=>{const f=T0(t,h.lineid);if(!f)return console.error(`Route not found for train lineid: ${h.lineid}`),[];let p;try{typeof h.vehiclepositions=="string"?p=JSON.parse(h.vehiclepositions):p=h.vehiclepositions}catch(v){return console.error(`Error parsing vehicle positions for train lineid: ${h.lineid}`,v),console.error(`Invalid JSON: ${h.vehiclepositions}`),[]}if(!Array.isArray(p))return console.error(`Vehicle positions are not an array for train lineid: ${h.lineid}`,p),[];const g=id(f.route_type);return p.map(v=>{const w=N0(f,v.pointId,v.distanceFromPoint,e);if(!E0(w[0],w[1]))return console.error(`Train position out of Belgium bounds for train: ${h.lineid}, pointId: ${v.pointId}`),null;const S=E=>{const k=id(E);return Jh.divIcon({html:` -
- + */(function(e,t){(function(i,o){o(t)})(fn,function(i){var o="1.9.4";function l(n){var r,a,c,d;for(a=1,c=arguments.length;a"u"||!L||!L.Mixin)){n=C(n)?n:[n];for(var r=0;r0?Math.floor(n):Math.ceil(n)};z.prototype={clone:function(){return new z(this.x,this.y)},add:function(n){return this.clone()._add(B(n))},_add:function(n){return this.x+=n.x,this.y+=n.y,this},subtract:function(n){return this.clone()._subtract(B(n))},_subtract:function(n){return this.x-=n.x,this.y-=n.y,this},divideBy:function(n){return this.clone()._divideBy(n)},_divideBy:function(n){return this.x/=n,this.y/=n,this},multiplyBy:function(n){return this.clone()._multiplyBy(n)},_multiplyBy:function(n){return this.x*=n,this.y*=n,this},scaleBy:function(n){return new z(this.x*n.x,this.y*n.y)},unscaleBy:function(n){return new z(this.x/n.x,this.y/n.y)},round:function(){return this.clone()._round()},_round:function(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this},floor:function(){return this.clone()._floor()},_floor:function(){return this.x=Math.floor(this.x),this.y=Math.floor(this.y),this},ceil:function(){return this.clone()._ceil()},_ceil:function(){return this.x=Math.ceil(this.x),this.y=Math.ceil(this.y),this},trunc:function(){return this.clone()._trunc()},_trunc:function(){return this.x=q(this.x),this.y=q(this.y),this},distanceTo:function(n){n=B(n);var r=n.x-this.x,a=n.y-this.y;return Math.sqrt(r*r+a*a)},equals:function(n){return n=B(n),n.x===this.x&&n.y===this.y},contains:function(n){return n=B(n),Math.abs(n.x)<=Math.abs(this.x)&&Math.abs(n.y)<=Math.abs(this.y)},toString:function(){return"Point("+y(this.x)+", "+y(this.y)+")"}};function B(n,r,a){return n instanceof z?n:C(n)?new z(n[0],n[1]):n==null?n:typeof n=="object"&&"x"in n&&"y"in n?new z(n.x,n.y):new z(n,r,a)}function V(n,r){if(n)for(var a=r?[n,r]:n,c=0,d=a.length;c=this.min.x&&a.x<=this.max.x&&r.y>=this.min.y&&a.y<=this.max.y},intersects:function(n){n=ee(n);var r=this.min,a=this.max,c=n.min,d=n.max,p=d.x>=r.x&&c.x<=a.x,P=d.y>=r.y&&c.y<=a.y;return p&&P},overlaps:function(n){n=ee(n);var r=this.min,a=this.max,c=n.min,d=n.max,p=d.x>r.x&&c.xr.y&&c.y=r.lat&&d.lat<=a.lat&&c.lng>=r.lng&&d.lng<=a.lng},intersects:function(n){n=ae(n);var r=this._southWest,a=this._northEast,c=n.getSouthWest(),d=n.getNorthEast(),p=d.lat>=r.lat&&c.lat<=a.lat,P=d.lng>=r.lng&&c.lng<=a.lng;return p&&P},overlaps:function(n){n=ae(n);var r=this._southWest,a=this._northEast,c=n.getSouthWest(),d=n.getNorthEast(),p=d.lat>r.lat&&c.latr.lng&&c.lng1,Jp=function(){var n=!1;try{var r=Object.defineProperty({},"passive",{get:function(){n=!0}});window.addEventListener("testPassiveEventSupport",g,r),window.removeEventListener("testPassiveEventSupport",g,r)}catch{}return n}(),em=function(){return!!document.createElement("canvas").getContext}(),Cs=!!(document.createElementNS&&Mu("svg").createSVGRect),tm=!!Cs&&function(){var n=document.createElement("div");return n.innerHTML="",(n.firstChild&&n.firstChild.namespaceURI)==="http://www.w3.org/2000/svg"}(),nm=!Cs&&function(){try{var n=document.createElement("div");n.innerHTML='';var r=n.firstChild;return r.style.behavior="url(#default#VML)",r&&typeof r.adj=="object"}catch{return!1}}(),im=navigator.platform.indexOf("Mac")===0,rm=navigator.platform.indexOf("Linux")===0;function St(n){return navigator.userAgent.toLowerCase().indexOf(n)>=0}var U={ie:jr,ielt9:Fp,edge:zu,webkit:Ls,android:Ou,android23:ju,androidStock:Up,opera:Ps,chrome:Iu,gecko:Au,safari:Wp,phantom:Bu,opera12:Ru,win:Vp,ie3d:Zu,webkit3d:Ss,gecko3d:Du,any3d:qp,mobile:Ei,mobileWebkit:Gp,mobileWebkit3d:Kp,msPointer:bu,pointer:Fu,touch:Qp,touchNative:Hu,mobileOpera:$p,mobileGecko:Yp,retina:Xp,passiveEvents:Jp,canvas:em,svg:Cs,vml:nm,inlineSvg:tm,mac:im,linux:rm},Uu=U.msPointer?"MSPointerDown":"pointerdown",Wu=U.msPointer?"MSPointerMove":"pointermove",Vu=U.msPointer?"MSPointerUp":"pointerup",qu=U.msPointer?"MSPointerCancel":"pointercancel",ks={touchstart:Uu,touchmove:Wu,touchend:Vu,touchcancel:qu},Gu={touchstart:cm,touchmove:Ir,touchend:Ir,touchcancel:Ir},bn={},Ku=!1;function om(n,r,a){return r==="touchstart"&&um(),Gu[r]?(a=Gu[r].bind(this,a),n.addEventListener(ks[r],a,!1),a):(console.warn("wrong event specified:",r),g)}function sm(n,r,a){if(!ks[r]){console.warn("wrong event specified:",r);return}n.removeEventListener(ks[r],a,!1)}function am(n){bn[n.pointerId]=n}function lm(n){bn[n.pointerId]&&(bn[n.pointerId]=n)}function Qu(n){delete bn[n.pointerId]}function um(){Ku||(document.addEventListener(Uu,am,!0),document.addEventListener(Wu,lm,!0),document.addEventListener(Vu,Qu,!0),document.addEventListener(qu,Qu,!0),Ku=!0)}function Ir(n,r){if(r.pointerType!==(r.MSPOINTER_TYPE_MOUSE||"mouse")){r.touches=[];for(var a in bn)r.touches.push(bn[a]);r.changedTouches=[r],n(r)}}function cm(n,r){r.MSPOINTER_TYPE_TOUCH&&r.pointerType===r.MSPOINTER_TYPE_TOUCH&&ze(r),Ir(n,r)}function hm(n){var r={},a,c;for(c in n)a=n[c],r[c]=a&&a.bind?a.bind(n):a;return n=r,r.type="dblclick",r.detail=2,r.isTrusted=!1,r._simulated=!0,r}var dm=200;function fm(n,r){n.addEventListener("dblclick",r);var a=0,c;function d(p){if(p.detail!==1){c=p.detail;return}if(!(p.pointerType==="mouse"||p.sourceCapabilities&&!p.sourceCapabilities.firesTouchEvents)){var P=ec(p);if(!(P.some(function(M){return M instanceof HTMLLabelElement&&M.attributes.for})&&!P.some(function(M){return M instanceof HTMLInputElement||M instanceof HTMLSelectElement}))){var T=Date.now();T-a<=dm?(c++,c===2&&r(hm(p))):c=1,a=T}}}return n.addEventListener("click",d),{dblclick:r,simDblclick:d}}function pm(n,r){n.removeEventListener("dblclick",r.dblclick),n.removeEventListener("click",r.simDblclick)}var Ts=Rr(["transform","webkitTransform","OTransform","MozTransform","msTransform"]),Mi=Rr(["webkitTransition","transition","OTransition","MozTransition","msTransition"]),$u=Mi==="webkitTransition"||Mi==="OTransition"?Mi+"End":"transitionend";function Yu(n){return typeof n=="string"?document.getElementById(n):n}function Ni(n,r){var a=n.style[r]||n.currentStyle&&n.currentStyle[r];if((!a||a==="auto")&&document.defaultView){var c=document.defaultView.getComputedStyle(n,null);a=c?c[r]:null}return a==="auto"?null:a}function ie(n,r,a){var c=document.createElement(n);return c.className=r||"",a&&a.appendChild(c),c}function pe(n){var r=n.parentNode;r&&r.removeChild(n)}function Ar(n){for(;n.firstChild;)n.removeChild(n.firstChild)}function Fn(n){var r=n.parentNode;r&&r.lastChild!==n&&r.appendChild(n)}function Hn(n){var r=n.parentNode;r&&r.firstChild!==n&&r.insertBefore(n,r.firstChild)}function Es(n,r){if(n.classList!==void 0)return n.classList.contains(r);var a=Br(n);return a.length>0&&new RegExp("(^|\\s)"+r+"(\\s|$)").test(a)}function $(n,r){if(n.classList!==void 0)for(var a=E(r),c=0,d=a.length;c0?2*window.devicePixelRatio:1;function nc(n){return U.edge?n.wheelDeltaY/2:n.deltaY&&n.deltaMode===0?-n.deltaY/vm:n.deltaY&&n.deltaMode===1?-n.deltaY*20:n.deltaY&&n.deltaMode===2?-n.deltaY*60:n.deltaX||n.deltaZ?0:n.wheelDelta?(n.wheelDeltaY||n.wheelDelta)/2:n.detail&&Math.abs(n.detail)<32765?-n.detail*20:n.detail?n.detail/-32765*60:0}function bs(n,r){var a=r.relatedTarget;if(!a)return!0;try{for(;a&&a!==n;)a=a.parentNode}catch{return!1}return a!==n}var gm={__proto__:null,on:K,off:le,stopPropagation:xn,disableScrollPropagation:Ds,disableClickPropagation:Ii,preventDefault:ze,stop:Ln,getPropagationPath:ec,getMousePosition:tc,getWheelDelta:nc,isExternalTarget:bs,addListener:K,removeListener:le},ic=jt.extend({run:function(n,r,a,c){this.stop(),this._el=n,this._inProgress=!0,this._duration=a||.25,this._easeOutPower=1/Math.max(c||.5,.2),this._startPos=wn(n),this._offset=r.subtract(this._startPos),this._startTime=+new Date,this.fire("start"),this._animate()},stop:function(){this._inProgress&&(this._step(!0),this._complete())},_animate:function(){this._animId=se(this._animate,this),this._step()},_step:function(n){var r=+new Date-this._startTime,a=this._duration*1e3;rthis.options.maxZoom)?this.setZoom(n):this},panInsideBounds:function(n,r){this._enforcingBounds=!0;var a=this.getCenter(),c=this._limitCenter(a,this._zoom,ae(n));return a.equals(c)||this.panTo(c,r),this._enforcingBounds=!1,this},panInside:function(n,r){r=r||{};var a=B(r.paddingTopLeft||r.padding||[0,0]),c=B(r.paddingBottomRight||r.padding||[0,0]),d=this.project(this.getCenter()),p=this.project(n),P=this.getPixelBounds(),T=ee([P.min.add(a),P.max.subtract(c)]),M=T.getSize();if(!T.contains(p)){this._enforcingBounds=!0;var O=p.subtract(T.getCenter()),Z=T.extend(p).getSize().subtract(M);d.x+=O.x<0?-Z.x:Z.x,d.y+=O.y<0?-Z.y:Z.y,this.panTo(this.unproject(d),r),this._enforcingBounds=!1}return this},invalidateSize:function(n){if(!this._loaded)return this;n=l({animate:!1,pan:!0},n===!0?{animate:!0}:n);var r=this.getSize();this._sizeChanged=!0,this._lastCenter=null;var a=this.getSize(),c=r.divideBy(2).round(),d=a.divideBy(2).round(),p=c.subtract(d);return!p.x&&!p.y?this:(n.animate&&n.pan?this.panBy(p):(n.pan&&this._rawPanBy(p),this.fire("move"),n.debounceMoveend?(clearTimeout(this._sizeTimer),this._sizeTimer=setTimeout(u(this.fire,this,"moveend"),200)):this.fire("moveend")),this.fire("resize",{oldSize:r,newSize:a}))},stop:function(){return this.setZoom(this._limitZoom(this._zoom)),this.options.zoomSnap||this.fire("viewreset"),this._stop()},locate:function(n){if(n=this._locateOptions=l({timeout:1e4,watch:!1},n),!("geolocation"in navigator))return this._handleGeolocationError({code:0,message:"Geolocation not supported."}),this;var r=u(this._handleGeolocationResponse,this),a=u(this._handleGeolocationError,this);return n.watch?this._locationWatchId=navigator.geolocation.watchPosition(r,a,n):navigator.geolocation.getCurrentPosition(r,a,n),this},stopLocate:function(){return navigator.geolocation&&navigator.geolocation.clearWatch&&navigator.geolocation.clearWatch(this._locationWatchId),this._locateOptions&&(this._locateOptions.setView=!1),this},_handleGeolocationError:function(n){if(this._container._leaflet_id){var r=n.code,a=n.message||(r===1?"permission denied":r===2?"position unavailable":"timeout");this._locateOptions.setView&&!this._loaded&&this.fitWorld(),this.fire("locationerror",{code:r,message:"Geolocation error: "+a+"."})}},_handleGeolocationResponse:function(n){if(this._container._leaflet_id){var r=n.coords.latitude,a=n.coords.longitude,c=new ne(r,a),d=c.toBounds(n.coords.accuracy*2),p=this._locateOptions;if(p.setView){var P=this.getBoundsZoom(d);this.setView(c,p.maxZoom?Math.min(P,p.maxZoom):P)}var T={latlng:c,bounds:d,timestamp:n.timestamp};for(var M in n.coords)typeof n.coords[M]=="number"&&(T[M]=n.coords[M]);this.fire("locationfound",T)}},addHandler:function(n,r){if(!r)return this;var a=this[n]=new r(this);return this._handlers.push(a),this.options[n]&&a.enable(),this},remove:function(){if(this._initEvents(!0),this.options.maxBounds&&this.off("moveend",this._panInsideMaxBounds),this._containerId!==this._container._leaflet_id)throw new Error("Map container is being reused by another instance");try{delete this._container._leaflet_id,delete this._containerId}catch{this._container._leaflet_id=void 0,this._containerId=void 0}this._locationWatchId!==void 0&&this.stopLocate(),this._stop(),pe(this._mapPane),this._clearControlPos&&this._clearControlPos(),this._resizeRequest&&(fe(this._resizeRequest),this._resizeRequest=null),this._clearHandlers(),this._loaded&&this.fire("unload");var n;for(n in this._layers)this._layers[n].remove();for(n in this._panes)pe(this._panes[n]);return this._layers=[],this._panes=[],delete this._mapPane,delete this._renderer,this},createPane:function(n,r){var a="leaflet-pane"+(n?" leaflet-"+n.replace("Pane","")+"-pane":""),c=ie("div",a,r||this._mapPane);return n&&(this._panes[n]=c),c},getCenter:function(){return this._checkIfLoaded(),this._lastCenter&&!this._moved()?this._lastCenter.clone():this.layerPointToLatLng(this._getCenterLayerPoint())},getZoom:function(){return this._zoom},getBounds:function(){var n=this.getPixelBounds(),r=this.unproject(n.getBottomLeft()),a=this.unproject(n.getTopRight());return new Ce(r,a)},getMinZoom:function(){return this.options.minZoom===void 0?this._layersMinZoom||0:this.options.minZoom},getMaxZoom:function(){return this.options.maxZoom===void 0?this._layersMaxZoom===void 0?1/0:this._layersMaxZoom:this.options.maxZoom},getBoundsZoom:function(n,r,a){n=ae(n),a=B(a||[0,0]);var c=this.getZoom()||0,d=this.getMinZoom(),p=this.getMaxZoom(),P=n.getNorthWest(),T=n.getSouthEast(),M=this.getSize().subtract(a),O=ee(this.project(T,c),this.project(P,c)).getSize(),Z=U.any3d?this.options.zoomSnap:1,W=M.x/O.x,Y=M.y/O.y,De=r?Math.max(W,Y):Math.min(W,Y);return c=this.getScaleZoom(De,c),Z&&(c=Math.round(c/(Z/100))*(Z/100),c=r?Math.ceil(c/Z)*Z:Math.floor(c/Z)*Z),Math.max(d,Math.min(p,c))},getSize:function(){return(!this._size||this._sizeChanged)&&(this._size=new z(this._container.clientWidth||0,this._container.clientHeight||0),this._sizeChanged=!1),this._size.clone()},getPixelBounds:function(n,r){var a=this._getTopLeftPoint(n,r);return new V(a,a.add(this.getSize()))},getPixelOrigin:function(){return this._checkIfLoaded(),this._pixelOrigin},getPixelWorldBounds:function(n){return this.options.crs.getProjectedBounds(n===void 0?this.getZoom():n)},getPane:function(n){return typeof n=="string"?this._panes[n]:n},getPanes:function(){return this._panes},getContainer:function(){return this._container},getZoomScale:function(n,r){var a=this.options.crs;return r=r===void 0?this._zoom:r,a.scale(n)/a.scale(r)},getScaleZoom:function(n,r){var a=this.options.crs;r=r===void 0?this._zoom:r;var c=a.zoom(n*a.scale(r));return isNaN(c)?1/0:c},project:function(n,r){return r=r===void 0?this._zoom:r,this.options.crs.latLngToPoint(G(n),r)},unproject:function(n,r){return r=r===void 0?this._zoom:r,this.options.crs.pointToLatLng(B(n),r)},layerPointToLatLng:function(n){var r=B(n).add(this.getPixelOrigin());return this.unproject(r)},latLngToLayerPoint:function(n){var r=this.project(G(n))._round();return r._subtract(this.getPixelOrigin())},wrapLatLng:function(n){return this.options.crs.wrapLatLng(G(n))},wrapLatLngBounds:function(n){return this.options.crs.wrapLatLngBounds(ae(n))},distance:function(n,r){return this.options.crs.distance(G(n),G(r))},containerPointToLayerPoint:function(n){return B(n).subtract(this._getMapPanePos())},layerPointToContainerPoint:function(n){return B(n).add(this._getMapPanePos())},containerPointToLatLng:function(n){var r=this.containerPointToLayerPoint(B(n));return this.layerPointToLatLng(r)},latLngToContainerPoint:function(n){return this.layerPointToContainerPoint(this.latLngToLayerPoint(G(n)))},mouseEventToContainerPoint:function(n){return tc(n,this._container)},mouseEventToLayerPoint:function(n){return this.containerPointToLayerPoint(this.mouseEventToContainerPoint(n))},mouseEventToLatLng:function(n){return this.layerPointToLatLng(this.mouseEventToLayerPoint(n))},_initContainer:function(n){var r=this._container=Yu(n);if(r){if(r._leaflet_id)throw new Error("Map container is already initialized.")}else throw new Error("Map container not found.");K(r,"scroll",this._onScroll,this),this._containerId=f(r)},_initLayout:function(){var n=this._container;this._fadeAnimated=this.options.fadeAnimation&&U.any3d,$(n,"leaflet-container"+(U.touch?" leaflet-touch":"")+(U.retina?" leaflet-retina":"")+(U.ielt9?" leaflet-oldie":"")+(U.safari?" leaflet-safari":"")+(this._fadeAnimated?" leaflet-fade-anim":""));var r=Ni(n,"position");r!=="absolute"&&r!=="relative"&&r!=="fixed"&&r!=="sticky"&&(n.style.position="relative"),this._initPanes(),this._initControlPos&&this._initControlPos()},_initPanes:function(){var n=this._panes={};this._paneRenderers={},this._mapPane=this.createPane("mapPane",this._container),xe(this._mapPane,new z(0,0)),this.createPane("tilePane"),this.createPane("overlayPane"),this.createPane("shadowPane"),this.createPane("markerPane"),this.createPane("tooltipPane"),this.createPane("popupPane"),this.options.markerZoomAnimation||($(n.markerPane,"leaflet-zoom-hide"),$(n.shadowPane,"leaflet-zoom-hide"))},_resetView:function(n,r,a){xe(this._mapPane,new z(0,0));var c=!this._loaded;this._loaded=!0,r=this._limitZoom(r),this.fire("viewprereset");var d=this._zoom!==r;this._moveStart(d,a)._move(n,r)._moveEnd(d),this.fire("viewreset"),c&&this.fire("load")},_moveStart:function(n,r){return n&&this.fire("zoomstart"),r||this.fire("movestart"),this},_move:function(n,r,a,c){r===void 0&&(r=this._zoom);var d=this._zoom!==r;return this._zoom=r,this._lastCenter=n,this._pixelOrigin=this._getNewPixelOrigin(n),c?a&&a.pinch&&this.fire("zoom",a):((d||a&&a.pinch)&&this.fire("zoom",a),this.fire("move",a)),this},_moveEnd:function(n){return n&&this.fire("zoomend"),this.fire("moveend")},_stop:function(){return fe(this._flyToFrame),this._panAnim&&this._panAnim.stop(),this},_rawPanBy:function(n){xe(this._mapPane,this._getMapPanePos().subtract(n))},_getZoomSpan:function(){return this.getMaxZoom()-this.getMinZoom()},_panInsideMaxBounds:function(){this._enforcingBounds||this.panInsideBounds(this.options.maxBounds)},_checkIfLoaded:function(){if(!this._loaded)throw new Error("Set map center and zoom first.")},_initEvents:function(n){this._targets={},this._targets[f(this._container)]=this;var r=n?le:K;r(this._container,"click dblclick mousedown mouseup mouseover mouseout mousemove contextmenu keypress keydown keyup",this._handleDOMEvent,this),this.options.trackResize&&r(window,"resize",this._onResize,this),U.any3d&&this.options.transform3DLimit&&(n?this.off:this.on).call(this,"moveend",this._onMoveEnd)},_onResize:function(){fe(this._resizeRequest),this._resizeRequest=se(function(){this.invalidateSize({debounceMoveend:!0})},this)},_onScroll:function(){this._container.scrollTop=0,this._container.scrollLeft=0},_onMoveEnd:function(){var n=this._getMapPanePos();Math.max(Math.abs(n.x),Math.abs(n.y))>=this.options.transform3DLimit&&this._resetView(this.getCenter(),this.getZoom())},_findEventTargets:function(n,r){for(var a=[],c,d=r==="mouseout"||r==="mouseover",p=n.target||n.srcElement,P=!1;p;){if(c=this._targets[f(p)],c&&(r==="click"||r==="preclick")&&this._draggableMoved(c)){P=!0;break}if(c&&c.listens(r,!0)&&(d&&!bs(p,n)||(a.push(c),d))||p===this._container)break;p=p.parentNode}return!a.length&&!P&&!d&&this.listens(r,!0)&&(a=[this]),a},_isClickDisabled:function(n){for(;n&&n!==this._container;){if(n._leaflet_disable_click)return!0;n=n.parentNode}},_handleDOMEvent:function(n){var r=n.target||n.srcElement;if(!(!this._loaded||r._leaflet_disable_events||n.type==="click"&&this._isClickDisabled(r))){var a=n.type;a==="mousedown"&&Is(r),this._fireDOMEvent(n,a)}},_mouseEvents:["click","dblclick","mouseover","mouseout","contextmenu"],_fireDOMEvent:function(n,r,a){if(n.type==="click"){var c=l({},n);c.type="preclick",this._fireDOMEvent(c,c.type,a)}var d=this._findEventTargets(n,r);if(a){for(var p=[],P=0;P0?Math.round(n-r)/2:Math.max(0,Math.ceil(n))-Math.max(0,Math.floor(r))},_limitZoom:function(n){var r=this.getMinZoom(),a=this.getMaxZoom(),c=U.any3d?this.options.zoomSnap:1;return c&&(n=Math.round(n/c)*c),Math.max(r,Math.min(a,n))},_onPanTransitionStep:function(){this.fire("move")},_onPanTransitionEnd:function(){ye(this._mapPane,"leaflet-pan-anim"),this.fire("moveend")},_tryAnimatedPan:function(n,r){var a=this._getCenterOffset(n)._trunc();return(r&&r.animate)!==!0&&!this.getSize().contains(a)?!1:(this.panBy(a,r),!0)},_createAnimProxy:function(){var n=this._proxy=ie("div","leaflet-proxy leaflet-zoom-animated");this._panes.mapPane.appendChild(n),this.on("zoomanim",function(r){var a=Ts,c=this._proxy.style[a];yn(this._proxy,this.project(r.center,r.zoom),this.getZoomScale(r.zoom,1)),c===this._proxy.style[a]&&this._animatingZoom&&this._onZoomTransitionEnd()},this),this.on("load moveend",this._animMoveEnd,this),this._on("unload",this._destroyAnimProxy,this)},_destroyAnimProxy:function(){pe(this._proxy),this.off("load moveend",this._animMoveEnd,this),delete this._proxy},_animMoveEnd:function(){var n=this.getCenter(),r=this.getZoom();yn(this._proxy,this.project(n,r),this.getZoomScale(r,1))},_catchTransitionEnd:function(n){this._animatingZoom&&n.propertyName.indexOf("transform")>=0&&this._onZoomTransitionEnd()},_nothingToAnimate:function(){return!this._container.getElementsByClassName("leaflet-zoom-animated").length},_tryAnimatedZoom:function(n,r,a){if(this._animatingZoom)return!0;if(a=a||{},!this._zoomAnimated||a.animate===!1||this._nothingToAnimate()||Math.abs(r-this._zoom)>this.options.zoomAnimationThreshold)return!1;var c=this.getZoomScale(r),d=this._getCenterOffset(n)._divideBy(1-1/c);return a.animate!==!0&&!this.getSize().contains(d)?!1:(se(function(){this._moveStart(!0,a.noMoveStart||!1)._animateZoom(n,r,!0)},this),!0)},_animateZoom:function(n,r,a,c){this._mapPane&&(a&&(this._animatingZoom=!0,this._animateToCenter=n,this._animateToZoom=r,$(this._mapPane,"leaflet-zoom-anim")),this.fire("zoomanim",{center:n,zoom:r,noUpdate:c}),this._tempFireZoomEvent||(this._tempFireZoomEvent=this._zoom!==this._animateToZoom),this._move(this._animateToCenter,this._animateToZoom,void 0,!0),setTimeout(u(this._onZoomTransitionEnd,this),250))},_onZoomTransitionEnd:function(){this._animatingZoom&&(this._mapPane&&ye(this._mapPane,"leaflet-zoom-anim"),this._animatingZoom=!1,this._move(this._animateToCenter,this._animateToZoom,void 0,!0),this._tempFireZoomEvent&&this.fire("zoom"),delete this._tempFireZoomEvent,this.fire("move"),this._moveEnd(!0))}});function ym(n,r){return new J(n,r)}var pt=Ye.extend({options:{position:"topright"},initialize:function(n){k(this,n)},getPosition:function(){return this.options.position},setPosition:function(n){var r=this._map;return r&&r.removeControl(this),this.options.position=n,r&&r.addControl(this),this},getContainer:function(){return this._container},addTo:function(n){this.remove(),this._map=n;var r=this._container=this.onAdd(n),a=this.getPosition(),c=n._controlCorners[a];return $(r,"leaflet-control"),a.indexOf("bottom")!==-1?c.insertBefore(r,c.firstChild):c.appendChild(r),this._map.on("unload",this.remove,this),this},remove:function(){return this._map?(pe(this._container),this.onRemove&&this.onRemove(this._map),this._map.off("unload",this.remove,this),this._map=null,this):this},_refocusOnMap:function(n){this._map&&n&&n.screenX>0&&n.screenY>0&&this._map.getContainer().focus()}}),Ai=function(n){return new pt(n)};J.include({addControl:function(n){return n.addTo(this),this},removeControl:function(n){return n.remove(),this},_initControlPos:function(){var n=this._controlCorners={},r="leaflet-",a=this._controlContainer=ie("div",r+"control-container",this._container);function c(d,p){var P=r+d+" "+r+p;n[d+p]=ie("div",P,a)}c("top","left"),c("top","right"),c("bottom","left"),c("bottom","right")},_clearControlPos:function(){for(var n in this._controlCorners)pe(this._controlCorners[n]);pe(this._controlContainer),delete this._controlCorners,delete this._controlContainer}});var rc=pt.extend({options:{collapsed:!0,position:"topright",autoZIndex:!0,hideSingleBase:!1,sortLayers:!1,sortFunction:function(n,r,a,c){return a1,this._baseLayersList.style.display=n?"":"none"),this._separator.style.display=r&&n?"":"none",this},_onLayerChange:function(n){this._handlingClick||this._update();var r=this._getLayer(f(n.target)),a=r.overlay?n.type==="add"?"overlayadd":"overlayremove":n.type==="add"?"baselayerchange":null;a&&this._map.fire(a,r)},_createRadioElement:function(n,r){var a='",c=document.createElement("div");return c.innerHTML=a,c.firstChild},_addItem:function(n){var r=document.createElement("label"),a=this._map.hasLayer(n.layer),c;n.overlay?(c=document.createElement("input"),c.type="checkbox",c.className="leaflet-control-layers-selector",c.defaultChecked=a):c=this._createRadioElement("leaflet-base-layers_"+f(this),a),this._layerControlInputs.push(c),c.layerId=f(n.layer),K(c,"click",this._onInputClick,this);var d=document.createElement("span");d.innerHTML=" "+n.name;var p=document.createElement("span");r.appendChild(p),p.appendChild(c),p.appendChild(d);var P=n.overlay?this._overlaysList:this._baseLayersList;return P.appendChild(r),this._checkDisabledLayers(),r},_onInputClick:function(){if(!this._preventClick){var n=this._layerControlInputs,r,a,c=[],d=[];this._handlingClick=!0;for(var p=n.length-1;p>=0;p--)r=n[p],a=this._getLayer(r.layerId).layer,r.checked?c.push(a):r.checked||d.push(a);for(p=0;p=0;d--)r=n[d],a=this._getLayer(r.layerId).layer,r.disabled=a.options.minZoom!==void 0&&ca.options.maxZoom},_expandIfNotCollapsed:function(){return this._map&&!this.options.collapsed&&this.expand(),this},_expandSafely:function(){var n=this._section;this._preventClick=!0,K(n,"click",ze),this.expand();var r=this;setTimeout(function(){le(n,"click",ze),r._preventClick=!1})}}),wm=function(n,r,a){return new rc(n,r,a)},Fs=pt.extend({options:{position:"topleft",zoomInText:'',zoomInTitle:"Zoom in",zoomOutText:'',zoomOutTitle:"Zoom out"},onAdd:function(n){var r="leaflet-control-zoom",a=ie("div",r+" leaflet-bar"),c=this.options;return this._zoomInButton=this._createButton(c.zoomInText,c.zoomInTitle,r+"-in",a,this._zoomIn),this._zoomOutButton=this._createButton(c.zoomOutText,c.zoomOutTitle,r+"-out",a,this._zoomOut),this._updateDisabled(),n.on("zoomend zoomlevelschange",this._updateDisabled,this),a},onRemove:function(n){n.off("zoomend zoomlevelschange",this._updateDisabled,this)},disable:function(){return this._disabled=!0,this._updateDisabled(),this},enable:function(){return this._disabled=!1,this._updateDisabled(),this},_zoomIn:function(n){!this._disabled&&this._map._zoomthis._map.getMinZoom()&&this._map.zoomOut(this._map.options.zoomDelta*(n.shiftKey?3:1))},_createButton:function(n,r,a,c,d){var p=ie("a",a,c);return p.innerHTML=n,p.href="#",p.title=r,p.setAttribute("role","button"),p.setAttribute("aria-label",r),Ii(p),K(p,"click",Ln),K(p,"click",d,this),K(p,"click",this._refocusOnMap,this),p},_updateDisabled:function(){var n=this._map,r="leaflet-disabled";ye(this._zoomInButton,r),ye(this._zoomOutButton,r),this._zoomInButton.setAttribute("aria-disabled","false"),this._zoomOutButton.setAttribute("aria-disabled","false"),(this._disabled||n._zoom===n.getMinZoom())&&($(this._zoomOutButton,r),this._zoomOutButton.setAttribute("aria-disabled","true")),(this._disabled||n._zoom===n.getMaxZoom())&&($(this._zoomInButton,r),this._zoomInButton.setAttribute("aria-disabled","true"))}});J.mergeOptions({zoomControl:!0}),J.addInitHook(function(){this.options.zoomControl&&(this.zoomControl=new Fs,this.addControl(this.zoomControl))});var xm=function(n){return new Fs(n)},oc=pt.extend({options:{position:"bottomleft",maxWidth:100,metric:!0,imperial:!0},onAdd:function(n){var r="leaflet-control-scale",a=ie("div",r),c=this.options;return this._addScales(c,r+"-line",a),n.on(c.updateWhenIdle?"moveend":"move",this._update,this),n.whenReady(this._update,this),a},onRemove:function(n){n.off(this.options.updateWhenIdle?"moveend":"move",this._update,this)},_addScales:function(n,r,a){n.metric&&(this._mScale=ie("div",r,a)),n.imperial&&(this._iScale=ie("div",r,a))},_update:function(){var n=this._map,r=n.getSize().y/2,a=n.distance(n.containerPointToLatLng([0,r]),n.containerPointToLatLng([this.options.maxWidth,r]));this._updateScales(a)},_updateScales:function(n){this.options.metric&&n&&this._updateMetric(n),this.options.imperial&&n&&this._updateImperial(n)},_updateMetric:function(n){var r=this._getRoundNum(n),a=r<1e3?r+" m":r/1e3+" km";this._updateScale(this._mScale,a,r/n)},_updateImperial:function(n){var r=n*3.2808399,a,c,d;r>5280?(a=r/5280,c=this._getRoundNum(a),this._updateScale(this._iScale,c+" mi",c/a)):(d=this._getRoundNum(r),this._updateScale(this._iScale,d+" ft",d/r))},_updateScale:function(n,r,a){n.style.width=Math.round(this.options.maxWidth*a)+"px",n.innerHTML=r},_getRoundNum:function(n){var r=Math.pow(10,(Math.floor(n)+"").length-1),a=n/r;return a=a>=10?10:a>=5?5:a>=3?3:a>=2?2:1,r*a}}),Lm=function(n){return new oc(n)},Pm='',Hs=pt.extend({options:{position:"bottomright",prefix:''+(U.inlineSvg?Pm+" ":"")+"Leaflet"},initialize:function(n){k(this,n),this._attributions={}},onAdd:function(n){n.attributionControl=this,this._container=ie("div","leaflet-control-attribution"),Ii(this._container);for(var r in n._layers)n._layers[r].getAttribution&&this.addAttribution(n._layers[r].getAttribution());return this._update(),n.on("layeradd",this._addAttribution,this),this._container},onRemove:function(n){n.off("layeradd",this._addAttribution,this)},_addAttribution:function(n){n.layer.getAttribution&&(this.addAttribution(n.layer.getAttribution()),n.layer.once("remove",function(){this.removeAttribution(n.layer.getAttribution())},this))},setPrefix:function(n){return this.options.prefix=n,this._update(),this},addAttribution:function(n){return n?(this._attributions[n]||(this._attributions[n]=0),this._attributions[n]++,this._update(),this):this},removeAttribution:function(n){return n?(this._attributions[n]&&(this._attributions[n]--,this._update()),this):this},_update:function(){if(this._map){var n=[];for(var r in this._attributions)this._attributions[r]&&n.push(r);var a=[];this.options.prefix&&a.push(this.options.prefix),n.length&&a.push(n.join(", ")),this._container.innerHTML=a.join(' ')}}});J.mergeOptions({attributionControl:!0}),J.addInitHook(function(){this.options.attributionControl&&new Hs().addTo(this)});var Sm=function(n){return new Hs(n)};pt.Layers=rc,pt.Zoom=Fs,pt.Scale=oc,pt.Attribution=Hs,Ai.layers=wm,Ai.zoom=xm,Ai.scale=Lm,Ai.attribution=Sm;var kt=Ye.extend({initialize:function(n){this._map=n},enable:function(){return this._enabled?this:(this._enabled=!0,this.addHooks(),this)},disable:function(){return this._enabled?(this._enabled=!1,this.removeHooks(),this):this},enabled:function(){return!!this._enabled}});kt.addTo=function(n,r){return n.addHandler(r,this),this};var Cm={Events:Se},sc=U.touch?"touchstart mousedown":"mousedown",Qt=jt.extend({options:{clickTolerance:3},initialize:function(n,r,a,c){k(this,c),this._element=n,this._dragStartTarget=r||n,this._preventOutline=a},enable:function(){this._enabled||(K(this._dragStartTarget,sc,this._onDown,this),this._enabled=!0)},disable:function(){this._enabled&&(Qt._dragging===this&&this.finishDrag(!0),le(this._dragStartTarget,sc,this._onDown,this),this._enabled=!1,this._moved=!1)},_onDown:function(n){if(this._enabled&&(this._moved=!1,!Es(this._element,"leaflet-zoom-anim"))){if(n.touches&&n.touches.length!==1){Qt._dragging===this&&this.finishDrag();return}if(!(Qt._dragging||n.shiftKey||n.which!==1&&n.button!==1&&!n.touches)&&(Qt._dragging=this,this._preventOutline&&Is(this._element),zs(),zi(),!this._moving)){this.fire("down");var r=n.touches?n.touches[0]:n,a=Xu(this._element);this._startPoint=new z(r.clientX,r.clientY),this._startPos=wn(this._element),this._parentScale=As(a);var c=n.type==="mousedown";K(document,c?"mousemove":"touchmove",this._onMove,this),K(document,c?"mouseup":"touchend touchcancel",this._onUp,this)}}},_onMove:function(n){if(this._enabled){if(n.touches&&n.touches.length>1){this._moved=!0;return}var r=n.touches&&n.touches.length===1?n.touches[0]:n,a=new z(r.clientX,r.clientY)._subtract(this._startPoint);!a.x&&!a.y||Math.abs(a.x)+Math.abs(a.y)p&&(P=T,p=M);p>a&&(r[P]=1,Ws(n,r,a,c,P),Ws(n,r,a,P,d))}function Mm(n,r){for(var a=[n[0]],c=1,d=0,p=n.length;cr&&(a.push(n[c]),d=c);return dr.max.x&&(a|=2),n.yr.max.y&&(a|=8),a}function Nm(n,r){var a=r.x-n.x,c=r.y-n.y;return a*a+c*c}function Bi(n,r,a,c){var d=r.x,p=r.y,P=a.x-d,T=a.y-p,M=P*P+T*T,O;return M>0&&(O=((n.x-d)*P+(n.y-p)*T)/M,O>1?(d=a.x,p=a.y):O>0&&(d+=P*O,p+=T*O)),P=n.x-d,T=n.y-p,c?P*P+T*T:new z(d,p)}function st(n){return!C(n[0])||typeof n[0][0]!="object"&&typeof n[0][0]<"u"}function fc(n){return console.warn("Deprecated use of _flat, please use L.LineUtil.isFlat instead."),st(n)}function pc(n,r){var a,c,d,p,P,T,M,O;if(!n||n.length===0)throw new Error("latlngs not passed");st(n)||(console.warn("latlngs are not flat! Only the first ring will be used"),n=n[0]);var Z=G([0,0]),W=ae(n),Y=W.getNorthWest().distanceTo(W.getSouthWest())*W.getNorthEast().distanceTo(W.getNorthWest());Y<1700&&(Z=Us(n));var De=n.length,Ee=[];for(a=0;ac){M=(p-c)/d,O=[T.x-M*(T.x-P.x),T.y-M*(T.y-P.y)];break}var Ve=r.unproject(B(O));return G([Ve.lat+Z.lat,Ve.lng+Z.lng])}var zm={__proto__:null,simplify:uc,pointToSegmentDistance:cc,closestPointOnSegment:Tm,clipSegment:dc,_getEdgeIntersection:br,_getBitCode:Pn,_sqClosestPointOnSegment:Bi,isFlat:st,_flat:fc,polylineCenter:pc},Vs={project:function(n){return new z(n.lng,n.lat)},unproject:function(n){return new ne(n.y,n.x)},bounds:new V([-180,-90],[180,90])},qs={R:6378137,R_MINOR:6356752314245179e-9,bounds:new V([-2003750834279e-5,-1549657073972e-5],[2003750834279e-5,1876465623138e-5]),project:function(n){var r=Math.PI/180,a=this.R,c=n.lat*r,d=this.R_MINOR/a,p=Math.sqrt(1-d*d),P=p*Math.sin(c),T=Math.tan(Math.PI/4-c/2)/Math.pow((1-P)/(1+P),p/2);return c=-a*Math.log(Math.max(T,1e-10)),new z(n.lng*r*a,c)},unproject:function(n){for(var r=180/Math.PI,a=this.R,c=this.R_MINOR/a,d=Math.sqrt(1-c*c),p=Math.exp(-n.y/a),P=Math.PI/2-2*Math.atan(p),T=0,M=.1,O;T<15&&Math.abs(M)>1e-7;T++)O=d*Math.sin(P),O=Math.pow((1-O)/(1+O),d/2),M=Math.PI/2-2*Math.atan(p*O)-P,P+=M;return new ne(P*r,n.x*r/a)}},Om={__proto__:null,LonLat:Vs,Mercator:qs,SphericalMercator:gs},jm=l({},Kt,{code:"EPSG:3395",projection:qs,transformation:function(){var n=.5/(Math.PI*qs.R);return Ti(n,.5,-n,.5)}()}),mc=l({},Kt,{code:"EPSG:4326",projection:Vs,transformation:Ti(1/180,1,-1/180,.5)}),Im=l({},We,{projection:Vs,transformation:Ti(1,0,-1,0),scale:function(n){return Math.pow(2,n)},zoom:function(n){return Math.log(n)/Math.LN2},distance:function(n,r){var a=r.lng-n.lng,c=r.lat-n.lat;return Math.sqrt(a*a+c*c)},infinite:!0});We.Earth=Kt,We.EPSG3395=jm,We.EPSG3857=ws,We.EPSG900913=bp,We.EPSG4326=mc,We.Simple=Im;var mt=jt.extend({options:{pane:"overlayPane",attribution:null,bubblingMouseEvents:!0},addTo:function(n){return n.addLayer(this),this},remove:function(){return this.removeFrom(this._map||this._mapToAdd)},removeFrom:function(n){return n&&n.removeLayer(this),this},getPane:function(n){return this._map.getPane(n?this.options[n]||n:this.options.pane)},addInteractiveTarget:function(n){return this._map._targets[f(n)]=this,this},removeInteractiveTarget:function(n){return delete this._map._targets[f(n)],this},getAttribution:function(){return this.options.attribution},_layerAdd:function(n){var r=n.target;if(r.hasLayer(this)){if(this._map=r,this._zoomAnimated=r._zoomAnimated,this.getEvents){var a=this.getEvents();r.on(a,this),this.once("remove",function(){r.off(a,this)},this)}this.onAdd(r),this.fire("add"),r.fire("layeradd",{layer:this})}}});J.include({addLayer:function(n){if(!n._layerAdd)throw new Error("The provided object is not a Layer.");var r=f(n);return this._layers[r]?this:(this._layers[r]=n,n._mapToAdd=this,n.beforeAdd&&n.beforeAdd(this),this.whenReady(n._layerAdd,n),this)},removeLayer:function(n){var r=f(n);return this._layers[r]?(this._loaded&&n.onRemove(this),delete this._layers[r],this._loaded&&(this.fire("layerremove",{layer:n}),n.fire("remove")),n._map=n._mapToAdd=null,this):this},hasLayer:function(n){return f(n)in this._layers},eachLayer:function(n,r){for(var a in this._layers)n.call(r,this._layers[a]);return this},_addLayers:function(n){n=n?C(n)?n:[n]:[];for(var r=0,a=n.length;rthis._layersMaxZoom&&this.setZoom(this._layersMaxZoom),this.options.minZoom===void 0&&this._layersMinZoom&&this.getZoom()=2&&r[0]instanceof ne&&r[0].equals(r[a-1])&&r.pop(),r},_setLatLngs:function(n){At.prototype._setLatLngs.call(this,n),st(this._latlngs)&&(this._latlngs=[this._latlngs])},_defaultShape:function(){return st(this._latlngs[0])?this._latlngs[0]:this._latlngs[0][0]},_clipPoints:function(){var n=this._renderer._bounds,r=this.options.weight,a=new z(r,r);if(n=new V(n.min.subtract(a),n.max.add(a)),this._parts=[],!(!this._pxBounds||!this._pxBounds.intersects(n))){if(this.options.noClip){this._parts=this._rings;return}for(var c=0,d=this._rings.length,p;cn.y!=d.y>n.y&&n.x<(d.x-c.x)*(n.y-c.y)/(d.y-c.y)+c.x&&(r=!r);return r||At.prototype._containsPoint.call(this,n,!0)}});function Hm(n,r){return new Vn(n,r)}var Bt=It.extend({initialize:function(n,r){k(this,r),this._layers={},n&&this.addData(n)},addData:function(n){var r=C(n)?n:n.features,a,c,d;if(r){for(a=0,c=r.length;a0&&d.push(d[0].slice()),d}function qn(n,r){return n.feature?l({},n.feature,{geometry:r}):qr(r)}function qr(n){return n.type==="Feature"||n.type==="FeatureCollection"?n:{type:"Feature",properties:{},geometry:n}}var $s={toGeoJSON:function(n){return qn(this,{type:"Point",coordinates:Qs(this.getLatLng(),n)})}};Fr.include($s),Gs.include($s),Hr.include($s),At.include({toGeoJSON:function(n){var r=!st(this._latlngs),a=Vr(this._latlngs,r?1:0,!1,n);return qn(this,{type:(r?"Multi":"")+"LineString",coordinates:a})}}),Vn.include({toGeoJSON:function(n){var r=!st(this._latlngs),a=r&&!st(this._latlngs[0]),c=Vr(this._latlngs,a?2:r?1:0,!0,n);return r||(c=[c]),qn(this,{type:(a?"Multi":"")+"Polygon",coordinates:c})}}),Un.include({toMultiPoint:function(n){var r=[];return this.eachLayer(function(a){r.push(a.toGeoJSON(n).geometry.coordinates)}),qn(this,{type:"MultiPoint",coordinates:r})},toGeoJSON:function(n){var r=this.feature&&this.feature.geometry&&this.feature.geometry.type;if(r==="MultiPoint")return this.toMultiPoint(n);var a=r==="GeometryCollection",c=[];return this.eachLayer(function(d){if(d.toGeoJSON){var p=d.toGeoJSON(n);if(a)c.push(p.geometry);else{var P=qr(p);P.type==="FeatureCollection"?c.push.apply(c,P.features):c.push(P)}}}),a?qn(this,{geometries:c,type:"GeometryCollection"}):{type:"FeatureCollection",features:c}}});function gc(n,r){return new Bt(n,r)}var Um=gc,Gr=mt.extend({options:{opacity:1,alt:"",interactive:!1,crossOrigin:!1,errorOverlayUrl:"",zIndex:1,className:""},initialize:function(n,r,a){this._url=n,this._bounds=ae(r),k(this,a)},onAdd:function(){this._image||(this._initImage(),this.options.opacity<1&&this._updateOpacity()),this.options.interactive&&($(this._image,"leaflet-interactive"),this.addInteractiveTarget(this._image)),this.getPane().appendChild(this._image),this._reset()},onRemove:function(){pe(this._image),this.options.interactive&&this.removeInteractiveTarget(this._image)},setOpacity:function(n){return this.options.opacity=n,this._image&&this._updateOpacity(),this},setStyle:function(n){return n.opacity&&this.setOpacity(n.opacity),this},bringToFront:function(){return this._map&&Fn(this._image),this},bringToBack:function(){return this._map&&Hn(this._image),this},setUrl:function(n){return this._url=n,this._image&&(this._image.src=n),this},setBounds:function(n){return this._bounds=ae(n),this._map&&this._reset(),this},getEvents:function(){var n={zoom:this._reset,viewreset:this._reset};return this._zoomAnimated&&(n.zoomanim=this._animateZoom),n},setZIndex:function(n){return this.options.zIndex=n,this._updateZIndex(),this},getBounds:function(){return this._bounds},getElement:function(){return this._image},_initImage:function(){var n=this._url.tagName==="IMG",r=this._image=n?this._url:ie("img");if($(r,"leaflet-image-layer"),this._zoomAnimated&&$(r,"leaflet-zoom-animated"),this.options.className&&$(r,this.options.className),r.onselectstart=g,r.onmousemove=g,r.onload=u(this.fire,this,"load"),r.onerror=u(this._overlayOnError,this,"error"),(this.options.crossOrigin||this.options.crossOrigin==="")&&(r.crossOrigin=this.options.crossOrigin===!0?"":this.options.crossOrigin),this.options.zIndex&&this._updateZIndex(),n){this._url=r.src;return}r.src=this._url,r.alt=this.options.alt},_animateZoom:function(n){var r=this._map.getZoomScale(n.zoom),a=this._map._latLngBoundsToNewLayerBounds(this._bounds,n.zoom,n.center).min;yn(this._image,a,r)},_reset:function(){var n=this._image,r=new V(this._map.latLngToLayerPoint(this._bounds.getNorthWest()),this._map.latLngToLayerPoint(this._bounds.getSouthEast())),a=r.getSize();xe(n,r.min),n.style.width=a.x+"px",n.style.height=a.y+"px"},_updateOpacity:function(){ot(this._image,this.options.opacity)},_updateZIndex:function(){this._image&&this.options.zIndex!==void 0&&this.options.zIndex!==null&&(this._image.style.zIndex=this.options.zIndex)},_overlayOnError:function(){this.fire("error");var n=this.options.errorOverlayUrl;n&&this._url!==n&&(this._url=n,this._image.src=n)},getCenter:function(){return this._bounds.getCenter()}}),Wm=function(n,r,a){return new Gr(n,r,a)},yc=Gr.extend({options:{autoplay:!0,loop:!0,keepAspectRatio:!0,muted:!1,playsInline:!0},_initImage:function(){var n=this._url.tagName==="VIDEO",r=this._image=n?this._url:ie("video");if($(r,"leaflet-image-layer"),this._zoomAnimated&&$(r,"leaflet-zoom-animated"),this.options.className&&$(r,this.options.className),r.onselectstart=g,r.onmousemove=g,r.onloadeddata=u(this.fire,this,"load"),n){for(var a=r.getElementsByTagName("source"),c=[],d=0;d0?c:[r.src];return}C(this._url)||(this._url=[this._url]),!this.options.keepAspectRatio&&Object.prototype.hasOwnProperty.call(r.style,"objectFit")&&(r.style.objectFit="fill"),r.autoplay=!!this.options.autoplay,r.loop=!!this.options.loop,r.muted=!!this.options.muted,r.playsInline=!!this.options.playsInline;for(var p=0;pd?(r.height=d+"px",$(n,p)):ye(n,p),this._containerWidth=this._container.offsetWidth},_animateZoom:function(n){var r=this._map._latLngToNewLayerPoint(this._latlng,n.zoom,n.center),a=this._getAnchor();xe(this._container,r.add(a))},_adjustPan:function(){if(this.options.autoPan){if(this._map._panAnim&&this._map._panAnim.stop(),this._autopanning){this._autopanning=!1;return}var n=this._map,r=parseInt(Ni(this._container,"marginBottom"),10)||0,a=this._container.offsetHeight+r,c=this._containerWidth,d=new z(this._containerLeft,-a-this._containerBottom);d._add(wn(this._container));var p=n.layerPointToContainerPoint(d),P=B(this.options.autoPanPadding),T=B(this.options.autoPanPaddingTopLeft||P),M=B(this.options.autoPanPaddingBottomRight||P),O=n.getSize(),Z=0,W=0;p.x+c+M.x>O.x&&(Z=p.x+c-O.x+M.x),p.x-Z-T.x<0&&(Z=p.x-T.x),p.y+a+M.y>O.y&&(W=p.y+a-O.y+M.y),p.y-W-T.y<0&&(W=p.y-T.y),(Z||W)&&(this.options.keepInView&&(this._autopanning=!0),n.fire("autopanstart").panBy([Z,W]))}},_getAnchor:function(){return B(this._source&&this._source._getPopupAnchor?this._source._getPopupAnchor():[0,0])}}),Gm=function(n,r){return new Kr(n,r)};J.mergeOptions({closePopupOnClick:!0}),J.include({openPopup:function(n,r,a){return this._initOverlay(Kr,n,r,a).openOn(this),this},closePopup:function(n){return n=arguments.length?n:this._popup,n&&n.close(),this}}),mt.include({bindPopup:function(n,r){return this._popup=this._initOverlay(Kr,this._popup,n,r),this._popupHandlersAdded||(this.on({click:this._openPopup,keypress:this._onKeyPress,remove:this.closePopup,move:this._movePopup}),this._popupHandlersAdded=!0),this},unbindPopup:function(){return this._popup&&(this.off({click:this._openPopup,keypress:this._onKeyPress,remove:this.closePopup,move:this._movePopup}),this._popupHandlersAdded=!1,this._popup=null),this},openPopup:function(n){return this._popup&&(this instanceof It||(this._popup._source=this),this._popup._prepareOpen(n||this._latlng)&&this._popup.openOn(this._map)),this},closePopup:function(){return this._popup&&this._popup.close(),this},togglePopup:function(){return this._popup&&this._popup.toggle(this),this},isPopupOpen:function(){return this._popup?this._popup.isOpen():!1},setPopupContent:function(n){return this._popup&&this._popup.setContent(n),this},getPopup:function(){return this._popup},_openPopup:function(n){if(!(!this._popup||!this._map)){Ln(n);var r=n.layer||n.target;if(this._popup._source===r&&!(r instanceof $t)){this._map.hasLayer(this._popup)?this.closePopup():this.openPopup(n.latlng);return}this._popup._source=r,this.openPopup(n.latlng)}},_movePopup:function(n){this._popup.setLatLng(n.latlng)},_onKeyPress:function(n){n.originalEvent.keyCode===13&&this._openPopup(n)}});var Qr=Tt.extend({options:{pane:"tooltipPane",offset:[0,0],direction:"auto",permanent:!1,sticky:!1,opacity:.9},onAdd:function(n){Tt.prototype.onAdd.call(this,n),this.setOpacity(this.options.opacity),n.fire("tooltipopen",{tooltip:this}),this._source&&(this.addEventParent(this._source),this._source.fire("tooltipopen",{tooltip:this},!0))},onRemove:function(n){Tt.prototype.onRemove.call(this,n),n.fire("tooltipclose",{tooltip:this}),this._source&&(this.removeEventParent(this._source),this._source.fire("tooltipclose",{tooltip:this},!0))},getEvents:function(){var n=Tt.prototype.getEvents.call(this);return this.options.permanent||(n.preclick=this.close),n},_initLayout:function(){var n="leaflet-tooltip",r=n+" "+(this.options.className||"")+" leaflet-zoom-"+(this._zoomAnimated?"animated":"hide");this._contentNode=this._container=ie("div",r),this._container.setAttribute("role","tooltip"),this._container.setAttribute("id","leaflet-tooltip-"+f(this))},_updateLayout:function(){},_adjustPan:function(){},_setPosition:function(n){var r,a,c=this._map,d=this._container,p=c.latLngToContainerPoint(c.getCenter()),P=c.layerPointToContainerPoint(n),T=this.options.direction,M=d.offsetWidth,O=d.offsetHeight,Z=B(this.options.offset),W=this._getAnchor();T==="top"?(r=M/2,a=O):T==="bottom"?(r=M/2,a=0):T==="center"?(r=M/2,a=O/2):T==="right"?(r=0,a=O/2):T==="left"?(r=M,a=O/2):P.xthis.options.maxZoom||ac?this._retainParent(d,p,P,c):!1)},_retainChildren:function(n,r,a,c){for(var d=2*n;d<2*n+2;d++)for(var p=2*r;p<2*r+2;p++){var P=new z(d,p);P.z=a+1;var T=this._tileCoordsToKey(P),M=this._tiles[T];if(M&&M.active){M.retain=!0;continue}else M&&M.loaded&&(M.retain=!0);a+1this.options.maxZoom||this.options.minZoom!==void 0&&d1){this._setView(n,a);return}for(var W=d.min.y;W<=d.max.y;W++)for(var Y=d.min.x;Y<=d.max.x;Y++){var De=new z(Y,W);if(De.z=this._tileZoom,!!this._isValidTile(De)){var Ee=this._tiles[this._tileCoordsToKey(De)];Ee?Ee.current=!0:P.push(De)}}if(P.sort(function(Ve,Kn){return Ve.distanceTo(p)-Kn.distanceTo(p)}),P.length!==0){this._loading||(this._loading=!0,this.fire("loading"));var at=document.createDocumentFragment();for(Y=0;Ya.max.x)||!r.wrapLat&&(n.ya.max.y))return!1}if(!this.options.bounds)return!0;var c=this._tileCoordsToBounds(n);return ae(this.options.bounds).overlaps(c)},_keyToBounds:function(n){return this._tileCoordsToBounds(this._keyToTileCoords(n))},_tileCoordsToNwSe:function(n){var r=this._map,a=this.getTileSize(),c=n.scaleBy(a),d=c.add(a),p=r.unproject(c,n.z),P=r.unproject(d,n.z);return[p,P]},_tileCoordsToBounds:function(n){var r=this._tileCoordsToNwSe(n),a=new Ce(r[0],r[1]);return this.options.noWrap||(a=this._map.wrapLatLngBounds(a)),a},_tileCoordsToKey:function(n){return n.x+":"+n.y+":"+n.z},_keyToTileCoords:function(n){var r=n.split(":"),a=new z(+r[0],+r[1]);return a.z=+r[2],a},_removeTile:function(n){var r=this._tiles[n];r&&(pe(r.el),delete this._tiles[n],this.fire("tileunload",{tile:r.el,coords:this._keyToTileCoords(n)}))},_initTile:function(n){$(n,"leaflet-tile");var r=this.getTileSize();n.style.width=r.x+"px",n.style.height=r.y+"px",n.onselectstart=g,n.onmousemove=g,U.ielt9&&this.options.opacity<1&&ot(n,this.options.opacity)},_addTile:function(n,r){var a=this._getTilePos(n),c=this._tileCoordsToKey(n),d=this.createTile(this._wrapCoords(n),u(this._tileReady,this,n));this._initTile(d),this.createTile.length<2&&se(u(this._tileReady,this,n,null,d)),xe(d,a),this._tiles[c]={el:d,coords:n,current:!0},r.appendChild(d),this.fire("tileloadstart",{tile:d,coords:n})},_tileReady:function(n,r,a){r&&this.fire("tileerror",{error:r,tile:a,coords:n});var c=this._tileCoordsToKey(n);a=this._tiles[c],a&&(a.loaded=+new Date,this._map._fadeAnimated?(ot(a.el,0),fe(this._fadeFrame),this._fadeFrame=se(this._updateOpacity,this)):(a.active=!0,this._pruneTiles()),r||($(a.el,"leaflet-tile-loaded"),this.fire("tileload",{tile:a.el,coords:n})),this._noTilesToLoad()&&(this._loading=!1,this.fire("load"),U.ielt9||!this._map._fadeAnimated?se(this._pruneTiles,this):setTimeout(u(this._pruneTiles,this),250)))},_getTilePos:function(n){return n.scaleBy(this.getTileSize()).subtract(this._level.origin)},_wrapCoords:function(n){var r=new z(this._wrapX?v(n.x,this._wrapX):n.x,this._wrapY?v(n.y,this._wrapY):n.y);return r.z=n.z,r},_pxBoundsToTileRange:function(n){var r=this.getTileSize();return new V(n.min.unscaleBy(r).floor(),n.max.unscaleBy(r).ceil().subtract([1,1]))},_noTilesToLoad:function(){for(var n in this._tiles)if(!this._tiles[n].loaded)return!1;return!0}});function $m(n){return new Zi(n)}var Gn=Zi.extend({options:{minZoom:0,maxZoom:18,subdomains:"abc",errorTileUrl:"",zoomOffset:0,tms:!1,zoomReverse:!1,detectRetina:!1,crossOrigin:!1,referrerPolicy:!1},initialize:function(n,r){this._url=n,r=k(this,r),r.detectRetina&&U.retina&&r.maxZoom>0?(r.tileSize=Math.floor(r.tileSize/2),r.zoomReverse?(r.zoomOffset--,r.minZoom=Math.min(r.maxZoom,r.minZoom+1)):(r.zoomOffset++,r.maxZoom=Math.max(r.minZoom,r.maxZoom-1)),r.minZoom=Math.max(0,r.minZoom)):r.zoomReverse?r.minZoom=Math.min(r.maxZoom,r.minZoom):r.maxZoom=Math.max(r.minZoom,r.maxZoom),typeof r.subdomains=="string"&&(r.subdomains=r.subdomains.split("")),this.on("tileunload",this._onTileRemove)},setUrl:function(n,r){return this._url===n&&r===void 0&&(r=!0),this._url=n,r||this.redraw(),this},createTile:function(n,r){var a=document.createElement("img");return K(a,"load",u(this._tileOnLoad,this,r,a)),K(a,"error",u(this._tileOnError,this,r,a)),(this.options.crossOrigin||this.options.crossOrigin==="")&&(a.crossOrigin=this.options.crossOrigin===!0?"":this.options.crossOrigin),typeof this.options.referrerPolicy=="string"&&(a.referrerPolicy=this.options.referrerPolicy),a.alt="",a.src=this.getTileUrl(n),a},getTileUrl:function(n){var r={r:U.retina?"@2x":"",s:this._getSubdomain(n),x:n.x,y:n.y,z:this._getZoomForUrl()};if(this._map&&!this._map.options.crs.infinite){var a=this._globalTileRange.max.y-n.y;this.options.tms&&(r.y=a),r["-y"]=a}return w(this._url,l(r,this.options))},_tileOnLoad:function(n,r){U.ielt9?setTimeout(u(n,this,null,r),0):n(null,r)},_tileOnError:function(n,r,a){var c=this.options.errorTileUrl;c&&r.getAttribute("src")!==c&&(r.src=c),n(a,r)},_onTileRemove:function(n){n.tile.onload=null},_getZoomForUrl:function(){var n=this._tileZoom,r=this.options.maxZoom,a=this.options.zoomReverse,c=this.options.zoomOffset;return a&&(n=r-n),n+c},_getSubdomain:function(n){var r=Math.abs(n.x+n.y)%this.options.subdomains.length;return this.options.subdomains[r]},_abortLoading:function(){var n,r;for(n in this._tiles)if(this._tiles[n].coords.z!==this._tileZoom&&(r=this._tiles[n].el,r.onload=g,r.onerror=g,!r.complete)){r.src=A;var a=this._tiles[n].coords;pe(r),delete this._tiles[n],this.fire("tileabort",{tile:r,coords:a})}},_removeTile:function(n){var r=this._tiles[n];if(r)return r.el.setAttribute("src",A),Zi.prototype._removeTile.call(this,n)},_tileReady:function(n,r,a){if(!(!this._map||a&&a.getAttribute("src")===A))return Zi.prototype._tileReady.call(this,n,r,a)}});function Lc(n,r){return new Gn(n,r)}var Pc=Gn.extend({defaultWmsParams:{service:"WMS",request:"GetMap",layers:"",styles:"",format:"image/jpeg",transparent:!1,version:"1.1.1"},options:{crs:null,uppercase:!1},initialize:function(n,r){this._url=n;var a=l({},this.defaultWmsParams);for(var c in r)c in this.options||(a[c]=r[c]);r=k(this,r);var d=r.detectRetina&&U.retina?2:1,p=this.getTileSize();a.width=p.x*d,a.height=p.y*d,this.wmsParams=a},onAdd:function(n){this._crs=this.options.crs||n.options.crs,this._wmsVersion=parseFloat(this.wmsParams.version);var r=this._wmsVersion>=1.3?"crs":"srs";this.wmsParams[r]=this._crs.code,Gn.prototype.onAdd.call(this,n)},getTileUrl:function(n){var r=this._tileCoordsToNwSe(n),a=this._crs,c=ee(a.project(r[0]),a.project(r[1])),d=c.min,p=c.max,P=(this._wmsVersion>=1.3&&this._crs===mc?[d.y,d.x,p.y,p.x]:[d.x,d.y,p.x,p.y]).join(","),T=Gn.prototype.getTileUrl.call(this,n);return T+I(this.wmsParams,T,this.options.uppercase)+(this.options.uppercase?"&BBOX=":"&bbox=")+P},setParams:function(n,r){return l(this.wmsParams,n),r||this.redraw(),this}});function Ym(n,r){return new Pc(n,r)}Gn.WMS=Pc,Lc.wms=Ym;var Rt=mt.extend({options:{padding:.1},initialize:function(n){k(this,n),f(this),this._layers=this._layers||{}},onAdd:function(){this._container||(this._initContainer(),$(this._container,"leaflet-zoom-animated")),this.getPane().appendChild(this._container),this._update(),this.on("update",this._updatePaths,this)},onRemove:function(){this.off("update",this._updatePaths,this),this._destroyContainer()},getEvents:function(){var n={viewreset:this._reset,zoom:this._onZoom,moveend:this._update,zoomend:this._onZoomEnd};return this._zoomAnimated&&(n.zoomanim=this._onAnimZoom),n},_onAnimZoom:function(n){this._updateTransform(n.center,n.zoom)},_onZoom:function(){this._updateTransform(this._map.getCenter(),this._map.getZoom())},_updateTransform:function(n,r){var a=this._map.getZoomScale(r,this._zoom),c=this._map.getSize().multiplyBy(.5+this.options.padding),d=this._map.project(this._center,r),p=c.multiplyBy(-a).add(d).subtract(this._map._getNewPixelOrigin(n,r));U.any3d?yn(this._container,p,a):xe(this._container,p)},_reset:function(){this._update(),this._updateTransform(this._center,this._zoom);for(var n in this._layers)this._layers[n]._reset()},_onZoomEnd:function(){for(var n in this._layers)this._layers[n]._project()},_updatePaths:function(){for(var n in this._layers)this._layers[n]._update()},_update:function(){var n=this.options.padding,r=this._map.getSize(),a=this._map.containerPointToLayerPoint(r.multiplyBy(-n)).round();this._bounds=new V(a,a.add(r.multiplyBy(1+n*2)).round()),this._center=this._map.getCenter(),this._zoom=this._map.getZoom()}}),Sc=Rt.extend({options:{tolerance:0},getEvents:function(){var n=Rt.prototype.getEvents.call(this);return n.viewprereset=this._onViewPreReset,n},_onViewPreReset:function(){this._postponeUpdatePaths=!0},onAdd:function(){Rt.prototype.onAdd.call(this),this._draw()},_initContainer:function(){var n=this._container=document.createElement("canvas");K(n,"mousemove",this._onMouseMove,this),K(n,"click dblclick mousedown mouseup contextmenu",this._onClick,this),K(n,"mouseout",this._handleMouseOut,this),n._leaflet_disable_events=!0,this._ctx=n.getContext("2d")},_destroyContainer:function(){fe(this._redrawRequest),delete this._ctx,pe(this._container),le(this._container),delete this._container},_updatePaths:function(){if(!this._postponeUpdatePaths){var n;this._redrawBounds=null;for(var r in this._layers)n=this._layers[r],n._update();this._redraw()}},_update:function(){if(!(this._map._animatingZoom&&this._bounds)){Rt.prototype._update.call(this);var n=this._bounds,r=this._container,a=n.getSize(),c=U.retina?2:1;xe(r,n.min),r.width=c*a.x,r.height=c*a.y,r.style.width=a.x+"px",r.style.height=a.y+"px",U.retina&&this._ctx.scale(2,2),this._ctx.translate(-n.min.x,-n.min.y),this.fire("update")}},_reset:function(){Rt.prototype._reset.call(this),this._postponeUpdatePaths&&(this._postponeUpdatePaths=!1,this._updatePaths())},_initPath:function(n){this._updateDashArray(n),this._layers[f(n)]=n;var r=n._order={layer:n,prev:this._drawLast,next:null};this._drawLast&&(this._drawLast.next=r),this._drawLast=r,this._drawFirst=this._drawFirst||this._drawLast},_addPath:function(n){this._requestRedraw(n)},_removePath:function(n){var r=n._order,a=r.next,c=r.prev;a?a.prev=c:this._drawLast=c,c?c.next=a:this._drawFirst=a,delete n._order,delete this._layers[f(n)],this._requestRedraw(n)},_updatePath:function(n){this._extendRedrawBounds(n),n._project(),n._update(),this._requestRedraw(n)},_updateStyle:function(n){this._updateDashArray(n),this._requestRedraw(n)},_updateDashArray:function(n){if(typeof n.options.dashArray=="string"){var r=n.options.dashArray.split(/[, ]+/),a=[],c,d;for(d=0;d')}}catch{}return function(n){return document.createElement("<"+n+' xmlns="urn:schemas-microsoft.com:vml" class="lvml">')}}(),Xm={_initContainer:function(){this._container=ie("div","leaflet-vml-container")},_update:function(){this._map._animatingZoom||(Rt.prototype._update.call(this),this.fire("update"))},_initPath:function(n){var r=n._container=Di("shape");$(r,"leaflet-vml-shape "+(this.options.className||"")),r.coordsize="1 1",n._path=Di("path"),r.appendChild(n._path),this._updateStyle(n),this._layers[f(n)]=n},_addPath:function(n){var r=n._container;this._container.appendChild(r),n.options.interactive&&n.addInteractiveTarget(r)},_removePath:function(n){var r=n._container;pe(r),n.removeInteractiveTarget(r),delete this._layers[f(n)]},_updateStyle:function(n){var r=n._stroke,a=n._fill,c=n.options,d=n._container;d.stroked=!!c.stroke,d.filled=!!c.fill,c.stroke?(r||(r=n._stroke=Di("stroke")),d.appendChild(r),r.weight=c.weight+"px",r.color=c.color,r.opacity=c.opacity,c.dashArray?r.dashStyle=C(c.dashArray)?c.dashArray.join(" "):c.dashArray.replace(/( *, *)/g," "):r.dashStyle="",r.endcap=c.lineCap.replace("butt","flat"),r.joinstyle=c.lineJoin):r&&(d.removeChild(r),n._stroke=null),c.fill?(a||(a=n._fill=Di("fill")),d.appendChild(a),a.color=c.fillColor||c.color,a.opacity=c.fillOpacity):a&&(d.removeChild(a),n._fill=null)},_updateCircle:function(n){var r=n._point.round(),a=Math.round(n._radius),c=Math.round(n._radiusY||a);this._setPath(n,n._empty()?"M0 0":"AL "+r.x+","+r.y+" "+a+","+c+" 0,"+65535*360)},_setPath:function(n,r){n._path.v=r},_bringToFront:function(n){Fn(n._container)},_bringToBack:function(n){Hn(n._container)}},$r=U.vml?Di:Mu,bi=Rt.extend({_initContainer:function(){this._container=$r("svg"),this._container.setAttribute("pointer-events","none"),this._rootGroup=$r("g"),this._container.appendChild(this._rootGroup)},_destroyContainer:function(){pe(this._container),le(this._container),delete this._container,delete this._rootGroup,delete this._svgSize},_update:function(){if(!(this._map._animatingZoom&&this._bounds)){Rt.prototype._update.call(this);var n=this._bounds,r=n.getSize(),a=this._container;(!this._svgSize||!this._svgSize.equals(r))&&(this._svgSize=r,a.setAttribute("width",r.x),a.setAttribute("height",r.y)),xe(a,n.min),a.setAttribute("viewBox",[n.min.x,n.min.y,r.x,r.y].join(" ")),this.fire("update")}},_initPath:function(n){var r=n._path=$r("path");n.options.className&&$(r,n.options.className),n.options.interactive&&$(r,"leaflet-interactive"),this._updateStyle(n),this._layers[f(n)]=n},_addPath:function(n){this._rootGroup||this._initContainer(),this._rootGroup.appendChild(n._path),n.addInteractiveTarget(n._path)},_removePath:function(n){pe(n._path),n.removeInteractiveTarget(n._path),delete this._layers[f(n)]},_updatePath:function(n){n._project(),n._update()},_updateStyle:function(n){var r=n._path,a=n.options;r&&(a.stroke?(r.setAttribute("stroke",a.color),r.setAttribute("stroke-opacity",a.opacity),r.setAttribute("stroke-width",a.weight),r.setAttribute("stroke-linecap",a.lineCap),r.setAttribute("stroke-linejoin",a.lineJoin),a.dashArray?r.setAttribute("stroke-dasharray",a.dashArray):r.removeAttribute("stroke-dasharray"),a.dashOffset?r.setAttribute("stroke-dashoffset",a.dashOffset):r.removeAttribute("stroke-dashoffset")):r.setAttribute("stroke","none"),a.fill?(r.setAttribute("fill",a.fillColor||a.color),r.setAttribute("fill-opacity",a.fillOpacity),r.setAttribute("fill-rule",a.fillRule||"evenodd")):r.setAttribute("fill","none"))},_updatePoly:function(n,r){this._setPath(n,Nu(n._parts,r))},_updateCircle:function(n){var r=n._point,a=Math.max(Math.round(n._radius),1),c=Math.max(Math.round(n._radiusY),1)||a,d="a"+a+","+c+" 0 1,0 ",p=n._empty()?"M0 0":"M"+(r.x-a)+","+r.y+d+a*2+",0 "+d+-a*2+",0 ";this._setPath(n,p)},_setPath:function(n,r){n._path.setAttribute("d",r)},_bringToFront:function(n){Fn(n._path)},_bringToBack:function(n){Hn(n._path)}});U.vml&&bi.include(Xm);function kc(n){return U.svg||U.vml?new bi(n):null}J.include({getRenderer:function(n){var r=n.options.renderer||this._getPaneRenderer(n.options.pane)||this.options.renderer||this._renderer;return r||(r=this._renderer=this._createRenderer()),this.hasLayer(r)||this.addLayer(r),r},_getPaneRenderer:function(n){if(n==="overlayPane"||n===void 0)return!1;var r=this._paneRenderers[n];return r===void 0&&(r=this._createRenderer({pane:n}),this._paneRenderers[n]=r),r},_createRenderer:function(n){return this.options.preferCanvas&&Cc(n)||kc(n)}});var Tc=Vn.extend({initialize:function(n,r){Vn.prototype.initialize.call(this,this._boundsToLatLngs(n),r)},setBounds:function(n){return this.setLatLngs(this._boundsToLatLngs(n))},_boundsToLatLngs:function(n){return n=ae(n),[n.getSouthWest(),n.getNorthWest(),n.getNorthEast(),n.getSouthEast()]}});function Jm(n,r){return new Tc(n,r)}bi.create=$r,bi.pointsToPath=Nu,Bt.geometryToLayer=Ur,Bt.coordsToLatLng=Ks,Bt.coordsToLatLngs=Wr,Bt.latLngToCoords=Qs,Bt.latLngsToCoords=Vr,Bt.getFeature=qn,Bt.asFeature=qr,J.mergeOptions({boxZoom:!0});var Ec=kt.extend({initialize:function(n){this._map=n,this._container=n._container,this._pane=n._panes.overlayPane,this._resetStateTimeout=0,n.on("unload",this._destroy,this)},addHooks:function(){K(this._container,"mousedown",this._onMouseDown,this)},removeHooks:function(){le(this._container,"mousedown",this._onMouseDown,this)},moved:function(){return this._moved},_destroy:function(){pe(this._pane),delete this._pane},_resetState:function(){this._resetStateTimeout=0,this._moved=!1},_clearDeferredResetState:function(){this._resetStateTimeout!==0&&(clearTimeout(this._resetStateTimeout),this._resetStateTimeout=0)},_onMouseDown:function(n){if(!n.shiftKey||n.which!==1&&n.button!==1)return!1;this._clearDeferredResetState(),this._resetState(),zi(),zs(),this._startPoint=this._map.mouseEventToContainerPoint(n),K(document,{contextmenu:Ln,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseMove:function(n){this._moved||(this._moved=!0,this._box=ie("div","leaflet-zoom-box",this._container),$(this._container,"leaflet-crosshair"),this._map.fire("boxzoomstart")),this._point=this._map.mouseEventToContainerPoint(n);var r=new V(this._point,this._startPoint),a=r.getSize();xe(this._box,r.min),this._box.style.width=a.x+"px",this._box.style.height=a.y+"px"},_finish:function(){this._moved&&(pe(this._box),ye(this._container,"leaflet-crosshair")),Oi(),Os(),le(document,{contextmenu:Ln,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseUp:function(n){if(!(n.which!==1&&n.button!==1)&&(this._finish(),!!this._moved)){this._clearDeferredResetState(),this._resetStateTimeout=setTimeout(u(this._resetState,this),0);var r=new Ce(this._map.containerPointToLatLng(this._startPoint),this._map.containerPointToLatLng(this._point));this._map.fitBounds(r).fire("boxzoomend",{boxZoomBounds:r})}},_onKeyDown:function(n){n.keyCode===27&&(this._finish(),this._clearDeferredResetState(),this._resetState())}});J.addInitHook("addHandler","boxZoom",Ec),J.mergeOptions({doubleClickZoom:!0});var Mc=kt.extend({addHooks:function(){this._map.on("dblclick",this._onDoubleClick,this)},removeHooks:function(){this._map.off("dblclick",this._onDoubleClick,this)},_onDoubleClick:function(n){var r=this._map,a=r.getZoom(),c=r.options.zoomDelta,d=n.originalEvent.shiftKey?a-c:a+c;r.options.doubleClickZoom==="center"?r.setZoom(d):r.setZoomAround(n.containerPoint,d)}});J.addInitHook("addHandler","doubleClickZoom",Mc),J.mergeOptions({dragging:!0,inertia:!0,inertiaDeceleration:3400,inertiaMaxSpeed:1/0,easeLinearity:.2,worldCopyJump:!1,maxBoundsViscosity:0});var Nc=kt.extend({addHooks:function(){if(!this._draggable){var n=this._map;this._draggable=new Qt(n._mapPane,n._container),this._draggable.on({dragstart:this._onDragStart,drag:this._onDrag,dragend:this._onDragEnd},this),this._draggable.on("predrag",this._onPreDragLimit,this),n.options.worldCopyJump&&(this._draggable.on("predrag",this._onPreDragWrap,this),n.on("zoomend",this._onZoomEnd,this),n.whenReady(this._onZoomEnd,this))}$(this._map._container,"leaflet-grab leaflet-touch-drag"),this._draggable.enable(),this._positions=[],this._times=[]},removeHooks:function(){ye(this._map._container,"leaflet-grab"),ye(this._map._container,"leaflet-touch-drag"),this._draggable.disable()},moved:function(){return this._draggable&&this._draggable._moved},moving:function(){return this._draggable&&this._draggable._moving},_onDragStart:function(){var n=this._map;if(n._stop(),this._map.options.maxBounds&&this._map.options.maxBoundsViscosity){var r=ae(this._map.options.maxBounds);this._offsetLimit=ee(this._map.latLngToContainerPoint(r.getNorthWest()).multiplyBy(-1),this._map.latLngToContainerPoint(r.getSouthEast()).multiplyBy(-1).add(this._map.getSize())),this._viscosity=Math.min(1,Math.max(0,this._map.options.maxBoundsViscosity))}else this._offsetLimit=null;n.fire("movestart").fire("dragstart"),n.options.inertia&&(this._positions=[],this._times=[])},_onDrag:function(n){if(this._map.options.inertia){var r=this._lastTime=+new Date,a=this._lastPos=this._draggable._absPos||this._draggable._newPos;this._positions.push(a),this._times.push(r),this._prunePositions(r)}this._map.fire("move",n).fire("drag",n)},_prunePositions:function(n){for(;this._positions.length>1&&n-this._times[0]>50;)this._positions.shift(),this._times.shift()},_onZoomEnd:function(){var n=this._map.getSize().divideBy(2),r=this._map.latLngToLayerPoint([0,0]);this._initialWorldOffset=r.subtract(n).x,this._worldWidth=this._map.getPixelWorldBounds().getSize().x},_viscousLimit:function(n,r){return n-(n-r)*this._viscosity},_onPreDragLimit:function(){if(!(!this._viscosity||!this._offsetLimit)){var n=this._draggable._newPos.subtract(this._draggable._startPos),r=this._offsetLimit;n.xr.max.x&&(n.x=this._viscousLimit(n.x,r.max.x)),n.y>r.max.y&&(n.y=this._viscousLimit(n.y,r.max.y)),this._draggable._newPos=this._draggable._startPos.add(n)}},_onPreDragWrap:function(){var n=this._worldWidth,r=Math.round(n/2),a=this._initialWorldOffset,c=this._draggable._newPos.x,d=(c-r+a)%n+r-a,p=(c+r+a)%n-r-a,P=Math.abs(d+a)0?p:-p))-r;this._delta=0,this._startTime=null,P&&(n.options.scrollWheelZoom==="center"?n.setZoom(r+P):n.setZoomAround(this._lastMousePos,r+P))}});J.addInitHook("addHandler","scrollWheelZoom",Oc);var e_=600;J.mergeOptions({tapHold:U.touchNative&&U.safari&&U.mobile,tapTolerance:15});var jc=kt.extend({addHooks:function(){K(this._map._container,"touchstart",this._onDown,this)},removeHooks:function(){le(this._map._container,"touchstart",this._onDown,this)},_onDown:function(n){if(clearTimeout(this._holdTimeout),n.touches.length===1){var r=n.touches[0];this._startPos=this._newPos=new z(r.clientX,r.clientY),this._holdTimeout=setTimeout(u(function(){this._cancel(),this._isTapValid()&&(K(document,"touchend",ze),K(document,"touchend touchcancel",this._cancelClickPrevent),this._simulateEvent("contextmenu",r))},this),e_),K(document,"touchend touchcancel contextmenu",this._cancel,this),K(document,"touchmove",this._onMove,this)}},_cancelClickPrevent:function n(){le(document,"touchend",ze),le(document,"touchend touchcancel",n)},_cancel:function(){clearTimeout(this._holdTimeout),le(document,"touchend touchcancel contextmenu",this._cancel,this),le(document,"touchmove",this._onMove,this)},_onMove:function(n){var r=n.touches[0];this._newPos=new z(r.clientX,r.clientY)},_isTapValid:function(){return this._newPos.distanceTo(this._startPos)<=this._map.options.tapTolerance},_simulateEvent:function(n,r){var a=new MouseEvent(n,{bubbles:!0,cancelable:!0,view:window,screenX:r.screenX,screenY:r.screenY,clientX:r.clientX,clientY:r.clientY});a._simulated=!0,r.target.dispatchEvent(a)}});J.addInitHook("addHandler","tapHold",jc),J.mergeOptions({touchZoom:U.touch,bounceAtZoomLimits:!0});var Ic=kt.extend({addHooks:function(){$(this._map._container,"leaflet-touch-zoom"),K(this._map._container,"touchstart",this._onTouchStart,this)},removeHooks:function(){ye(this._map._container,"leaflet-touch-zoom"),le(this._map._container,"touchstart",this._onTouchStart,this)},_onTouchStart:function(n){var r=this._map;if(!(!n.touches||n.touches.length!==2||r._animatingZoom||this._zooming)){var a=r.mouseEventToContainerPoint(n.touches[0]),c=r.mouseEventToContainerPoint(n.touches[1]);this._centerPoint=r.getSize()._divideBy(2),this._startLatLng=r.containerPointToLatLng(this._centerPoint),r.options.touchZoom!=="center"&&(this._pinchStartLatLng=r.containerPointToLatLng(a.add(c)._divideBy(2))),this._startDist=a.distanceTo(c),this._startZoom=r.getZoom(),this._moved=!1,this._zooming=!0,r._stop(),K(document,"touchmove",this._onTouchMove,this),K(document,"touchend touchcancel",this._onTouchEnd,this),ze(n)}},_onTouchMove:function(n){if(!(!n.touches||n.touches.length!==2||!this._zooming)){var r=this._map,a=r.mouseEventToContainerPoint(n.touches[0]),c=r.mouseEventToContainerPoint(n.touches[1]),d=a.distanceTo(c)/this._startDist;if(this._zoom=r.getScaleZoom(d,this._startZoom),!r.options.bounceAtZoomLimits&&(this._zoomr.getMaxZoom()&&d>1)&&(this._zoom=r._limitZoom(this._zoom)),r.options.touchZoom==="center"){if(this._center=this._startLatLng,d===1)return}else{var p=a._add(c)._divideBy(2)._subtract(this._centerPoint);if(d===1&&p.x===0&&p.y===0)return;this._center=r.unproject(r.project(this._pinchStartLatLng,this._zoom).subtract(p),this._zoom)}this._moved||(r._moveStart(!0,!1),this._moved=!0),fe(this._animRequest);var P=u(r._move,r,this._center,this._zoom,{pinch:!0,round:!1},void 0);this._animRequest=se(P,this,!0),ze(n)}},_onTouchEnd:function(){if(!this._moved||!this._zooming){this._zooming=!1;return}this._zooming=!1,fe(this._animRequest),le(document,"touchmove",this._onTouchMove,this),le(document,"touchend touchcancel",this._onTouchEnd,this),this._map.options.zoomAnimation?this._map._animateZoom(this._center,this._map._limitZoom(this._zoom),!0,this._map.options.zoomSnap):this._map._resetView(this._center,this._map._limitZoom(this._zoom))}});J.addInitHook("addHandler","touchZoom",Ic),J.BoxZoom=Ec,J.DoubleClickZoom=Mc,J.Drag=Nc,J.Keyboard=zc,J.ScrollWheelZoom=Oc,J.TapHold=jc,J.TouchZoom=Ic,i.Bounds=V,i.Browser=U,i.CRS=We,i.Canvas=Sc,i.Circle=Gs,i.CircleMarker=Hr,i.Class=Ye,i.Control=pt,i.DivIcon=xc,i.DivOverlay=Tt,i.DomEvent=gm,i.DomUtil=_m,i.Draggable=Qt,i.Evented=jt,i.FeatureGroup=It,i.GeoJSON=Bt,i.GridLayer=Zi,i.Handler=kt,i.Icon=Wn,i.ImageOverlay=Gr,i.LatLng=ne,i.LatLngBounds=Ce,i.Layer=mt,i.LayerGroup=Un,i.LineUtil=zm,i.Map=J,i.Marker=Fr,i.Mixin=Cm,i.Path=$t,i.Point=z,i.PolyUtil=km,i.Polygon=Vn,i.Polyline=At,i.Popup=Kr,i.PosAnimation=ic,i.Projection=Om,i.Rectangle=Tc,i.Renderer=Rt,i.SVG=bi,i.SVGOverlay=wc,i.TileLayer=Gn,i.Tooltip=Qr,i.Transformation=ys,i.Util=Pt,i.VideoOverlay=yc,i.bind=u,i.bounds=ee,i.canvas=Cc,i.circle=bm,i.circleMarker=Dm,i.control=Ai,i.divIcon=Qm,i.extend=l,i.featureGroup=Bm,i.geoJSON=gc,i.geoJson=Um,i.gridLayer=$m,i.icon=Rm,i.imageOverlay=Wm,i.latLng=G,i.latLngBounds=ae,i.layerGroup=Am,i.map=ym,i.marker=Zm,i.point=B,i.polygon=Hm,i.polyline=Fm,i.popup=Gm,i.rectangle=Jm,i.setOptions=k,i.stamp=f,i.svg=kc,i.svgOverlay=qm,i.tileLayer=Lc,i.tooltip=Km,i.transformation=Ti,i.version=o,i.videoOverlay=Vm;var t_=window.L;i.noConflict=function(){return window.L=t_,this},window.L=i})})(wl,wl.exports);var nt=wl.exports;const Jh=rd(nt);function Ep(e){return e.split(" ").filter(Boolean)}function Mp(e,t){Ep(t).forEach(i=>{nt.DomUtil.addClass(e,i)})}function Np(e,t){Ep(t).forEach(i=>{nt.DomUtil.removeClass(e,i)})}function $g(e,t,i){e!=null&&i!==t&&(t!=null&&t.length>0&&Np(e,t),i!=null&&i.length>0&&Mp(e,i))}function Ci(e,t,i){return Object.freeze({instance:e,context:t,container:i})}function ki(e,t){return t==null?function(o,l){const s=H.useRef();return s.current||(s.current=e(o,l)),s}:function(o,l){const s=H.useRef();s.current||(s.current=e(o,l));const u=H.useRef(o),{instance:h}=s.current;return H.useEffect(function(){u.current!==o&&(t(h,o,u.current),u.current=o)},[h,o,l]),s}}function Cu(e,t){H.useEffect(function(){return(t.layerContainer??t.map).addLayer(e.instance),function(){var s;(s=t.layerContainer)==null||s.removeLayer(e.instance),t.map.removeLayer(e.instance)}},[t,e])}function ku(e){return function(i){const o=zr(),l=e(Or(i,o),o);return yu(o.map,i.attribution),vs(l.current,i.eventHandlers),Cu(l.current,o),l}}function zp(e,t){const i=H.useRef();H.useEffect(function(){if(t.pathOptions!==i.current){const l=t.pathOptions??{};e.instance.setStyle(l),i.current=l}},[e,t])}function Op(e){return function(i){const o=zr(),l=e(Or(i,o),o);return vs(l.current,i.eventHandlers),Cu(l.current,o),zp(l.current,i),l}}function Yg(e){function t(l,s){return Ci(e(l),s)}const i=ki(t),o=kp(i);return Su(o)}function jp(e,t){const i=ki(e,t),o=ku(i);return Pu(o)}function Ip(e,t){const i=ki(e),o=Tp(i,t);return Cp(o)}function Ap(e,t){const i=ki(e,t),o=Op(i);return Pu(o)}function Bp(e,t){const i=ki(e,t),o=ku(i);return Su(o)}function Rp(e,t,i){const{opacity:o,zIndex:l}=t;o!=null&&o!==i.opacity&&e.setOpacity(o),l!=null&&l!==i.zIndex&&e.setZIndex(l)}function Xg(e,t,i){t.bounds instanceof nt.LatLngBounds&&t.bounds!==i.bounds&&e.setBounds(t.bounds),t.opacity!=null&&t.opacity!==i.opacity&&e.setOpacity(t.opacity),t.zIndex!=null&&t.zIndex!==i.zIndex&&e.setZIndex(t.zIndex)}const Jg=Object.freeze(Object.defineProperty({__proto__:null,CONTEXT_VERSION:Pp,LeafletContext:xu,LeafletProvider:Lu,addClassName:Mp,createContainerComponent:Pu,createControlComponent:Yg,createControlHook:kp,createDivOverlayComponent:Cp,createDivOverlayHook:Tp,createElementHook:ki,createElementObject:Ci,createLayerComponent:jp,createLayerHook:ku,createLeafComponent:Su,createLeafletContext:Sp,createOverlayComponent:Ip,createPathComponent:Ap,createPathHook:Op,createTileLayerComponent:Bp,extendContext:wu,removeClassName:Np,updateCircle:Qg,updateClassName:$g,updateGridLayer:Rp,updateMediaOverlay:Xg,useAttribution:yu,useEventHandlers:vs,useLayerLifecycle:Cu,useLeafletContext:zr,usePathOptions:zp,withPane:Or},Symbol.toStringTag,{value:"Module"}));function xl(){return xl=Object.assign||function(e){for(var t=1;t(S==null?void 0:S.map)??null,[S]);const k=H.useCallback(x=>{if(x!==null&&S===null){const w=new nt.Map(x,v);i!=null&&m!=null?w.setView(i,m):e!=null&&w.fitBounds(e,t),f!=null&&w.whenReady(f),E(Sp(w))}},[]);H.useEffect(()=>()=>{S==null||S.map.remove()},[S]);const I=S?lr.createElement(Lu,{value:S},o):u??null;return lr.createElement("div",xl({},y,{ref:k}),I)}const t0=H.forwardRef(e0),ed=jp(function({position:t,...i},o){const l=new nt.Marker(t,i);return Ci(l,wu(o,{overlayContainer:l}))},function(t,i,o){i.position!==o.position&&t.setLatLng(i.position),i.icon!=null&&i.icon!==o.icon&&t.setIcon(i.icon),i.zIndexOffset!=null&&i.zIndexOffset!==o.zIndexOffset&&t.setZIndexOffset(i.zIndexOffset),i.opacity!=null&&i.opacity!==o.opacity&&t.setOpacity(i.opacity),t.dragging!=null&&i.draggable!==o.draggable&&(i.draggable===!0?t.dragging.enable():t.dragging.disable())}),n0=Ap(function({positions:t,...i},o){const l=new nt.Polyline(t,i);return Ci(l,wu(o,{overlayContainer:l}))},function(t,i,o){i.positions!==o.positions&&t.setLatLngs(i.positions)}),td=Ip(function(t,i){const o=new nt.Popup(t,i.overlayContainer);return Ci(o,i)},function(t,i,{position:o},l){H.useEffect(function(){const{instance:u}=t;function h(m){m.popup===u&&(u.update(),l(!0))}function f(m){m.popup===u&&l(!1)}return i.map.on({popupopen:h,popupclose:f}),i.overlayContainer==null?(o!=null&&u.setLatLng(o),u.openOn(i.map)):i.overlayContainer.bindPopup(u),function(){var v;i.map.off({popupopen:h,popupclose:f}),(v=i.overlayContainer)==null||v.unbindPopup(),i.map.removeLayer(u)}},[t,i,l,o])}),i0=Bp(function({url:t,...i},o){const l=new nt.TileLayer(t,Or(i,o));return Ci(l,o)},function(t,i,o){Rp(t,i,o);const{url:l}=i;l!=null&&l!==o.url&&t.setUrl(l)});var Zp={};const r0=es(Jg);var nd={exports:{}};(function(e,t){(function(i,o){o(t)})(fn,function(i){var o=L.MarkerClusterGroup=L.FeatureGroup.extend({options:{maxClusterRadius:80,iconCreateFunction:null,clusterPane:L.Marker.prototype.options.pane,spiderfyOnEveryZoom:!1,spiderfyOnMaxZoom:!0,showCoverageOnHover:!0,zoomToBoundsOnClick:!0,singleMarkerMode:!1,disableClusteringAtZoom:null,removeOutsideVisibleBounds:!0,animate:!0,animateAddingMarkers:!1,spiderfyShapePositions:null,spiderfyDistanceMultiplier:1,spiderLegPolylineOptions:{weight:1.5,color:"#222",opacity:.5},chunkedLoading:!1,chunkInterval:200,chunkDelay:50,chunkProgress:null,polygonOptions:{}},initialize:function(s){L.Util.setOptions(this,s),this.options.iconCreateFunction||(this.options.iconCreateFunction=this._defaultIconCreateFunction),this._featureGroup=L.featureGroup(),this._featureGroup.addEventParent(this),this._nonPointGroup=L.featureGroup(),this._nonPointGroup.addEventParent(this),this._inZoomAnimation=0,this._needsClustering=[],this._needsRemoving=[],this._currentShownBounds=null,this._queue=[],this._childMarkerEventHandlers={dragstart:this._childMarkerDragStart,move:this._childMarkerMoved,dragend:this._childMarkerDragEnd};var u=L.DomUtil.TRANSITION&&this.options.animate;L.extend(this,u?this._withAnimation:this._noAnimation),this._markerCluster=u?L.MarkerCluster:L.MarkerClusterNonAnimated},addLayer:function(s){if(s instanceof L.LayerGroup)return this.addLayers([s]);if(!s.getLatLng)return this._nonPointGroup.addLayer(s),this.fire("layeradd",{layer:s}),this;if(!this._map)return this._needsClustering.push(s),this.fire("layeradd",{layer:s}),this;if(this.hasLayer(s))return this;this._unspiderfy&&this._unspiderfy(),this._addLayer(s,this._maxZoom),this.fire("layeradd",{layer:s}),this._topClusterLevel._recalculateBounds(),this._refreshClustersIcons();var u=s,h=this._zoom;if(s.__parent)for(;u.__parent._zoom>=h;)u=u.__parent;return this._currentShownBounds.contains(u.getLatLng())&&(this.options.animateAddingMarkers?this._animationAddLayer(s,u):this._animationAddLayerNonAnimated(s,u)),this},removeLayer:function(s){return s instanceof L.LayerGroup?this.removeLayers([s]):s.getLatLng?this._map?s.__parent?(this._unspiderfy&&(this._unspiderfy(),this._unspiderfyLayer(s)),this._removeLayer(s,!0),this.fire("layerremove",{layer:s}),this._topClusterLevel._recalculateBounds(),this._refreshClustersIcons(),s.off(this._childMarkerEventHandlers,this),this._featureGroup.hasLayer(s)&&(this._featureGroup.removeLayer(s),s.clusterShow&&s.clusterShow()),this):this:(!this._arraySplice(this._needsClustering,s)&&this.hasLayer(s)&&this._needsRemoving.push({layer:s,latlng:s._latlng}),this.fire("layerremove",{layer:s}),this):(this._nonPointGroup.removeLayer(s),this.fire("layerremove",{layer:s}),this)},addLayers:function(s,u){if(!L.Util.isArray(s))return this.addLayer(s);var h=this._featureGroup,f=this._nonPointGroup,m=this.options.chunkedLoading,v=this.options.chunkInterval,g=this.options.chunkProgress,y=s.length,S=0,E=!0,k;if(this._map){var I=new Date().getTime(),x=L.bind(function(){var C=new Date().getTime();for(this._map&&this._unspiderfy&&this._unspiderfy();Sv)break}if(k=s[S],k instanceof L.LayerGroup){E&&(s=s.slice(),E=!1),this._extractNonGroupLayers(k,s),y=s.length;continue}if(!k.getLatLng){f.addLayer(k),u||this.fire("layeradd",{layer:k});continue}if(!this.hasLayer(k)&&(this._addLayer(k,this._maxZoom),u||this.fire("layeradd",{layer:k}),k.__parent&&k.__parent.getChildCount()===2)){var A=k.__parent.getAllChildMarkers(),b=A[0]===k?A[1]:A[0];h.removeLayer(b)}}g&&g(S,y,new Date().getTime()-I),S===y?(this._topClusterLevel._recalculateBounds(),this._refreshClustersIcons(),this._topClusterLevel._recursivelyAddChildrenToMap(null,this._zoom,this._currentShownBounds)):setTimeout(x,this.options.chunkDelay)},this);x()}else for(var w=this._needsClustering;S=0;u--)s.extend(this._needsClustering[u].getLatLng());return s.extend(this._nonPointGroup.getBounds()),s},eachLayer:function(s,u){var h=this._needsClustering.slice(),f=this._needsRemoving,m,v,g;for(this._topClusterLevel&&this._topClusterLevel.getAllChildMarkers(h),v=h.length-1;v>=0;v--){for(m=!0,g=f.length-1;g>=0;g--)if(f[g].layer===h[v]){m=!1;break}m&&s.call(u,h[v])}this._nonPointGroup.eachLayer(s,u)},getLayers:function(){var s=[];return this.eachLayer(function(u){s.push(u)}),s},getLayer:function(s){var u=null;return s=parseInt(s,10),this.eachLayer(function(h){L.stamp(h)===s&&(u=h)}),u},hasLayer:function(s){if(!s)return!1;var u,h=this._needsClustering;for(u=h.length-1;u>=0;u--)if(h[u]===s)return!0;for(h=this._needsRemoving,u=h.length-1;u>=0;u--)if(h[u].layer===s)return!1;return!!(s.__parent&&s.__parent._group===this)||this._nonPointGroup.hasLayer(s)},zoomToShowLayer:function(s,u){var h=this._map;typeof u!="function"&&(u=function(){});var f=function(){(h.hasLayer(s)||h.hasLayer(s.__parent))&&!this._inZoomAnimation&&(this._map.off("moveend",f,this),this.off("animationend",f,this),h.hasLayer(s)?u():s.__parent._icon&&(this.once("spiderfied",u,this),s.__parent.spiderfy()))};s._icon&&this._map.getBounds().contains(s.getLatLng())?u():s.__parent._zoom=0;h--)if(s[h]===u)return s.splice(h,1),!0},_removeFromGridUnclustered:function(s,u){for(var h=this._map,f=this._gridUnclustered,m=Math.floor(this._map.getMinZoom());u>=m&&f[u].removeObject(s,h.project(s.getLatLng(),u));u--);},_childMarkerDragStart:function(s){s.target.__dragStart=s.target._latlng},_childMarkerMoved:function(s){if(!this._ignoreMove&&!s.target.__dragStart){var u=s.target._popup&&s.target._popup.isOpen();this._moveChild(s.target,s.oldLatLng,s.latlng),u&&s.target.openPopup()}},_moveChild:function(s,u,h){s._latlng=u,this.removeLayer(s),s._latlng=h,this.addLayer(s)},_childMarkerDragEnd:function(s){var u=s.target.__dragStart;delete s.target.__dragStart,u&&this._moveChild(s.target,u,s.target._latlng)},_removeLayer:function(s,u,h){var f=this._gridClusters,m=this._gridUnclustered,v=this._featureGroup,g=this._map,y=Math.floor(this._map.getMinZoom());u&&this._removeFromGridUnclustered(s,this._maxZoom);var S=s.__parent,E=S._markers,k;for(this._arraySplice(E,s);S&&(S._childCount--,S._boundsNeedUpdate=!0,!(S._zoom"+u+"
",className:"marker-cluster"+h,iconSize:new L.Point(40,40)})},_bindEvents:function(){var s=this._map,u=this.options.spiderfyOnMaxZoom,h=this.options.showCoverageOnHover,f=this.options.zoomToBoundsOnClick,m=this.options.spiderfyOnEveryZoom;(u||f||m)&&this.on("clusterclick clusterkeypress",this._zoomOrSpiderfy,this),h&&(this.on("clustermouseover",this._showCoverage,this),this.on("clustermouseout",this._hideCoverage,this),s.on("zoomend",this._hideCoverage,this))},_zoomOrSpiderfy:function(s){var u=s.layer,h=u;if(!(s.type==="clusterkeypress"&&s.originalEvent&&s.originalEvent.keyCode!==13)){for(;h._childClusters.length===1;)h=h._childClusters[0];h._zoom===this._maxZoom&&h._childCount===u._childCount&&this.options.spiderfyOnMaxZoom?u.spiderfy():this.options.zoomToBoundsOnClick&&u.zoomToBounds(),this.options.spiderfyOnEveryZoom&&u.spiderfy(),s.originalEvent&&s.originalEvent.keyCode===13&&this._map._container.focus()}},_showCoverage:function(s){var u=this._map;this._inZoomAnimation||(this._shownPolygon&&u.removeLayer(this._shownPolygon),s.layer.getChildCount()>2&&s.layer!==this._spiderfied&&(this._shownPolygon=new L.Polygon(s.layer.getConvexHull(),this.options.polygonOptions),u.addLayer(this._shownPolygon)))},_hideCoverage:function(){this._shownPolygon&&(this._map.removeLayer(this._shownPolygon),this._shownPolygon=null)},_unbindEvents:function(){var s=this.options.spiderfyOnMaxZoom,u=this.options.showCoverageOnHover,h=this.options.zoomToBoundsOnClick,f=this.options.spiderfyOnEveryZoom,m=this._map;(s||h||f)&&this.off("clusterclick clusterkeypress",this._zoomOrSpiderfy,this),u&&(this.off("clustermouseover",this._showCoverage,this),this.off("clustermouseout",this._hideCoverage,this),m.off("zoomend",this._hideCoverage,this))},_zoomEnd:function(){this._map&&(this._mergeSplitClusters(),this._zoom=Math.round(this._map._zoom),this._currentShownBounds=this._getExpandedVisibleBounds())},_moveEnd:function(){if(!this._inZoomAnimation){var s=this._getExpandedVisibleBounds();this._topClusterLevel._recursivelyRemoveChildrenFromMap(this._currentShownBounds,Math.floor(this._map.getMinZoom()),this._zoom,s),this._topClusterLevel._recursivelyAddChildrenToMap(null,Math.round(this._map._zoom),s),this._currentShownBounds=s}},_generateInitialClusters:function(){var s=Math.ceil(this._map.getMaxZoom()),u=Math.floor(this._map.getMinZoom()),h=this.options.maxClusterRadius,f=h;typeof h!="function"&&(f=function(){return h}),this.options.disableClusteringAtZoom!==null&&(s=this.options.disableClusteringAtZoom-1),this._maxZoom=s,this._gridClusters={},this._gridUnclustered={};for(var m=s;m>=u;m--)this._gridClusters[m]=new L.DistanceGrid(f(m)),this._gridUnclustered[m]=new L.DistanceGrid(f(m));this._topClusterLevel=new this._markerCluster(this,u-1)},_addLayer:function(s,u){var h=this._gridClusters,f=this._gridUnclustered,m=Math.floor(this._map.getMinZoom()),v,g;for(this.options.singleMarkerMode&&this._overrideMarkerIcon(s),s.on(this._childMarkerEventHandlers,this);u>=m;u--){v=this._map.project(s.getLatLng(),u);var y=h[u].getNearObject(v);if(y){y._addChild(s),s.__parent=y;return}if(y=f[u].getNearObject(v),y){var S=y.__parent;S&&this._removeLayer(y,!1);var E=new this._markerCluster(this,u,y,s);h[u].addObject(E,this._map.project(E._cLatLng,u)),y.__parent=E,s.__parent=E;var k=E;for(g=u-1;g>S._zoom;g--)k=new this._markerCluster(this,g,k),h[g].addObject(k,this._map.project(y.getLatLng(),g));S._addChild(k),this._removeFromGridUnclustered(y,u);return}f[u].addObject(s,v)}this._topClusterLevel._addChild(s),s.__parent=this._topClusterLevel},_refreshClustersIcons:function(){this._featureGroup.eachLayer(function(s){s instanceof L.MarkerCluster&&s._iconNeedsUpdate&&s._updateIcon()})},_enqueue:function(s){this._queue.push(s),this._queueTimeout||(this._queueTimeout=setTimeout(L.bind(this._processQueue,this),300))},_processQueue:function(){for(var s=0;ss?(this._animationStart(),this._animationZoomOut(this._zoom,s)):this._moveEnd()},_getExpandedVisibleBounds:function(){if(this.options.removeOutsideVisibleBounds){if(L.Browser.mobile)return this._checkBoundsMaxLat(this._map.getBounds())}else return this._mapBoundsInfinite;return this._checkBoundsMaxLat(this._map.getBounds().pad(1))},_checkBoundsMaxLat:function(s){var u=this._maxLat;return u!==void 0&&(s.getNorth()>=u&&(s._northEast.lat=1/0),s.getSouth()<=-u&&(s._southWest.lat=-1/0)),s},_animationAddLayerNonAnimated:function(s,u){if(u===s)this._featureGroup.addLayer(s);else if(u._childCount===2){u._addToMap();var h=u.getAllChildMarkers();this._featureGroup.removeLayer(h[0]),this._featureGroup.removeLayer(h[1])}else u._updateIcon()},_extractNonGroupLayers:function(s,u){var h=s.getLayers(),f=0,m;for(u=u||[];f=0;v--)E=S[v],h.contains(E._latlng)||f.removeLayer(E)}),this._forceLayout(),this._topClusterLevel._recursivelyBecomeVisible(h,u),f.eachLayer(function(g){!(g instanceof L.MarkerCluster)&&g._icon&&g.clusterShow()}),this._topClusterLevel._recursively(h,s,u,function(g){g._recursivelyRestoreChildPositions(u)}),this._ignoreMove=!1,this._enqueue(function(){this._topClusterLevel._recursively(h,s,m,function(g){f.removeLayer(g),g.clusterShow()}),this._animationEnd()})},_animationZoomOut:function(s,u){this._animationZoomOutSingle(this._topClusterLevel,s-1,u),this._topClusterLevel._recursivelyAddChildrenToMap(null,u,this._getExpandedVisibleBounds()),this._topClusterLevel._recursivelyRemoveChildrenFromMap(this._currentShownBounds,Math.floor(this._map.getMinZoom()),s,this._getExpandedVisibleBounds())},_animationAddLayer:function(s,u){var h=this,f=this._featureGroup;f.addLayer(s),u!==s&&(u._childCount>2?(u._updateIcon(),this._forceLayout(),this._animationStart(),s._setPos(this._map.latLngToLayerPoint(u.getLatLng())),s.clusterHide(),this._enqueue(function(){f.removeLayer(s),s.clusterShow(),h._animationEnd()})):(this._forceLayout(),h._animationStart(),h._animationZoomOutSingle(u,this._map.getMaxZoom(),this._zoom)))}},_animationZoomOutSingle:function(s,u,h){var f=this._getExpandedVisibleBounds(),m=Math.floor(this._map.getMinZoom());s._recursivelyAnimateChildrenInAndAddSelfToMap(f,m,u+1,h);var v=this;this._forceLayout(),s._recursivelyBecomeVisible(f,h),this._enqueue(function(){if(s._childCount===1){var g=s._markers[0];this._ignoreMove=!0,g.setLatLng(g.getLatLng()),this._ignoreMove=!1,g.clusterShow&&g.clusterShow()}else s._recursively(f,h,m,function(y){y._recursivelyRemoveChildrenFromMap(f,m,u+1)});v._animationEnd()})},_animationEnd:function(){this._map&&(this._map._mapPane.className=this._map._mapPane.className.replace(" leaflet-cluster-anim","")),this._inZoomAnimation--,this.fire("animationend")},_forceLayout:function(){L.Util.falseFn(document.body.offsetWidth)}}),L.markerClusterGroup=function(s){return new L.MarkerClusterGroup(s)};var l=L.MarkerCluster=L.Marker.extend({options:L.Icon.prototype.options,initialize:function(s,u,h,f){L.Marker.prototype.initialize.call(this,h?h._cLatLng||h.getLatLng():new L.LatLng(0,0),{icon:this,pane:s.options.clusterPane}),this._group=s,this._zoom=u,this._markers=[],this._childClusters=[],this._childCount=0,this._iconNeedsUpdate=!0,this._boundsNeedUpdate=!0,this._bounds=new L.LatLngBounds,h&&this._addChild(h),f&&this._addChild(f)},getAllChildMarkers:function(s,u){s=s||[];for(var h=this._childClusters.length-1;h>=0;h--)this._childClusters[h].getAllChildMarkers(s,u);for(var f=this._markers.length-1;f>=0;f--)u&&this._markers[f].__dragStart||s.push(this._markers[f]);return s},getChildCount:function(){return this._childCount},zoomToBounds:function(s){for(var u=this._childClusters.slice(),h=this._group._map,f=h.getBoundsZoom(this._bounds),m=this._zoom+1,v=h.getZoom(),g;u.length>0&&f>m;){m++;var y=[];for(g=0;gm?this._group._map.setView(this._latlng,m):f<=v?this._group._map.setView(this._latlng,v+1):this._group._map.fitBounds(this._bounds,s)},getBounds:function(){var s=new L.LatLngBounds;return s.extend(this._bounds),s},_updateIcon:function(){this._iconNeedsUpdate=!0,this._icon&&this.setIcon(this)},createIcon:function(){return this._iconNeedsUpdate&&(this._iconObj=this._group.options.iconCreateFunction(this),this._iconNeedsUpdate=!1),this._iconObj.createIcon()},createShadow:function(){return this._iconObj.createShadow()},_addChild:function(s,u){this._iconNeedsUpdate=!0,this._boundsNeedUpdate=!0,this._setClusterCenter(s),s instanceof L.MarkerCluster?(u||(this._childClusters.push(s),s.__parent=this),this._childCount+=s._childCount):(u||this._markers.push(s),this._childCount++),this.__parent&&this.__parent._addChild(s,!0)},_setClusterCenter:function(s){this._cLatLng||(this._cLatLng=s._cLatLng||s._latlng)},_resetBounds:function(){var s=this._bounds;s._southWest&&(s._southWest.lat=1/0,s._southWest.lng=1/0),s._northEast&&(s._northEast.lat=-1/0,s._northEast.lng=-1/0)},_recalculateBounds:function(){var s=this._markers,u=this._childClusters,h=0,f=0,m=this._childCount,v,g,y,S;if(m!==0){for(this._resetBounds(),v=0;v=0;v--)g=m[v],g._icon&&(g._setPos(u),g.clusterHide())},function(f){var m=f._childClusters,v,g;for(v=m.length-1;v>=0;v--)g=m[v],g._icon&&(g._setPos(u),g.clusterHide())})},_recursivelyAnimateChildrenInAndAddSelfToMap:function(s,u,h,f){this._recursively(s,f,u,function(m){m._recursivelyAnimateChildrenIn(s,m._group._map.latLngToLayerPoint(m.getLatLng()).round(),h),m._isSingleParent()&&h-1===f?(m.clusterShow(),m._recursivelyRemoveChildrenFromMap(s,u,h)):m.clusterHide(),m._addToMap()})},_recursivelyBecomeVisible:function(s,u){this._recursively(s,this._group._map.getMinZoom(),u,null,function(h){h.clusterShow()})},_recursivelyAddChildrenToMap:function(s,u,h){this._recursively(h,this._group._map.getMinZoom()-1,u,function(f){if(u!==f._zoom)for(var m=f._markers.length-1;m>=0;m--){var v=f._markers[m];h.contains(v._latlng)&&(s&&(v._backupLatlng=v.getLatLng(),v.setLatLng(s),v.clusterHide&&v.clusterHide()),f._group._featureGroup.addLayer(v))}},function(f){f._addToMap(s)})},_recursivelyRestoreChildPositions:function(s){for(var u=this._markers.length-1;u>=0;u--){var h=this._markers[u];h._backupLatlng&&(h.setLatLng(h._backupLatlng),delete h._backupLatlng)}if(s-1===this._zoom)for(var f=this._childClusters.length-1;f>=0;f--)this._childClusters[f]._restorePosition();else for(var m=this._childClusters.length-1;m>=0;m--)this._childClusters[m]._recursivelyRestoreChildPositions(s)},_restorePosition:function(){this._backupLatlng&&(this.setLatLng(this._backupLatlng),delete this._backupLatlng)},_recursivelyRemoveChildrenFromMap:function(s,u,h,f){var m,v;this._recursively(s,u-1,h-1,function(g){for(v=g._markers.length-1;v>=0;v--)m=g._markers[v],(!f||!f.contains(m._latlng))&&(g._group._featureGroup.removeLayer(m),m.clusterShow&&m.clusterShow())},function(g){for(v=g._childClusters.length-1;v>=0;v--)m=g._childClusters[v],(!f||!f.contains(m._latlng))&&(g._group._featureGroup.removeLayer(m),m.clusterShow&&m.clusterShow())})},_recursively:function(s,u,h,f,m){var v=this._childClusters,g=this._zoom,y,S;if(u<=g&&(f&&f(this),m&&g===h&&m(this)),g=0;y--)S=v[y],S._boundsNeedUpdate&&S._recalculateBounds(),s.intersects(S._bounds)&&S._recursively(s,u,h,f,m)},_isSingleParent:function(){return this._childClusters.length>0&&this._childClusters[0]._childCount===this._childCount}});L.Marker.include({clusterHide:function(){var s=this.options.opacity;return this.setOpacity(0),this.options.opacity=s,this},clusterShow:function(){return this.setOpacity(this.options.opacity)}}),L.DistanceGrid=function(s){this._cellSize=s,this._sqCellSize=s*s,this._grid={},this._objectPoint={}},L.DistanceGrid.prototype={addObject:function(s,u){var h=this._getCoord(u.x),f=this._getCoord(u.y),m=this._grid,v=m[f]=m[f]||{},g=v[h]=v[h]||[],y=L.Util.stamp(s);this._objectPoint[y]=u,g.push(s)},updateObject:function(s,u){this.removeObject(s),this.addObject(s,u)},removeObject:function(s,u){var h=this._getCoord(u.x),f=this._getCoord(u.y),m=this._grid,v=m[f]=m[f]||{},g=v[h]=v[h]||[],y,S;for(delete this._objectPoint[L.Util.stamp(s)],y=0,S=g.length;y=0;v--){if(g=u[v],y=this.getDistant(g,s),y>0)m.push(g);else continue;y>h&&(h=y,f=g)}return{maxPoint:f,newPoints:m}},buildConvexHull:function(s,u){var h=[],f=this.findMostDistantPointFromBaseLine(s,u);return f.maxPoint?(h=h.concat(this.buildConvexHull([s[0],f.maxPoint],f.newPoints)),h=h.concat(this.buildConvexHull([f.maxPoint,s[1]],f.newPoints)),h):[s[0]]},getConvexHull:function(s){var u=!1,h=!1,f=!1,m=!1,v=null,g=null,y=null,S=null,E=null,k=null,I;for(I=s.length-1;I>=0;I--){var x=s[I];(u===!1||x.lat>u)&&(v=x,u=x.lat),(h===!1||x.latf)&&(y=x,f=x.lng),(m===!1||x.lng=0;f--)h=s[f].getLatLng(),u.push(h);return L.QuickHull.getConvexHull(u)}}),L.MarkerCluster.include({_2PI:Math.PI*2,_circleFootSeparation:25,_circleStartAngle:0,_spiralFootSeparation:28,_spiralLengthStart:11,_spiralLengthFactor:5,_circleSpiralSwitchover:9,spiderfy:function(){if(!(this._group._spiderfied===this||this._group._inZoomAnimation)){var s=this.getAllChildMarkers(null,!0),u=this._group,h=u._map,f=h.latLngToLayerPoint(this._latlng),m;this._group._unspiderfy(),this._group._spiderfied=this,this._group.options.spiderfyShapePositions?m=this._group.options.spiderfyShapePositions(s.length,f):s.length>=this._circleSpiralSwitchover?m=this._generatePointsSpiral(s.length,f):(f.y+=10,m=this._generatePointsCircle(s.length,f)),this._animationSpiderfy(s,m)}},unspiderfy:function(s){this._group._inZoomAnimation||(this._animationUnspiderfy(s),this._group._spiderfied=null)},_generatePointsCircle:function(s,u){var h=this._group.options.spiderfyDistanceMultiplier*this._circleFootSeparation*(2+s),f=h/this._2PI,m=this._2PI/s,v=[],g,y;for(f=Math.max(f,35),v.length=s,g=0;g=0;S--)S=0;v--)m=f[v],h.removeLayer(m),m._preSpiderfyLatlng&&(m.setLatLng(m._preSpiderfyLatlng),delete m._preSpiderfyLatlng),m.setZIndexOffset&&m.setZIndexOffset(0),m._spiderLeg&&(u.removeLayer(m._spiderLeg),delete m._spiderLeg);s.fire("unspiderfied",{cluster:this,markers:f}),s._ignoreMove=!1,s._spiderfied=null}}),L.MarkerClusterNonAnimated=L.MarkerCluster.extend({_animationSpiderfy:function(s,u){var h=this._group,f=h._map,m=h._featureGroup,v=this._group.options.spiderLegPolylineOptions,g,y,S,E;for(h._ignoreMove=!0,g=0;g=0;I--)A=m.layerPointToLatLng(u[I]),x=s[I],x._preSpiderfyLatlng=x._latlng,x.setLatLng(A),x.clusterShow&&x.clusterShow(),S&&(w=x._spiderLeg,C=w._path,C.style.strokeDashoffset=0,w.setStyle({opacity:k}));this.setOpacity(.3),f._ignoreMove=!1,setTimeout(function(){f._animationEnd(),f.fire("spiderfied",{cluster:h,markers:s})},200)},_animationUnspiderfy:function(s){var u=this,h=this._group,f=h._map,m=h._featureGroup,v=s?f._latLngToNewLayerPoint(this._latlng,s.zoom,s.center):f.latLngToLayerPoint(this._latlng),g=this.getAllChildMarkers(null,!0),y=L.Path.SVG,S,E,k,I,x,w;for(h._ignoreMove=!0,h._animationStart(),this.setOpacity(1),E=g.length-1;E>=0;E--)S=g[E],S._preSpiderfyLatlng&&(S.closePopup(),S.setLatLng(S._preSpiderfyLatlng),delete S._preSpiderfyLatlng,w=!0,S._setPos&&(S._setPos(v),w=!1),S.clusterHide&&(S.clusterHide(),w=!1),w&&m.removeLayer(S),y&&(k=S._spiderLeg,I=k._path,x=I.getTotalLength()+.1,I.style.strokeDashoffset=x,k.setStyle({opacity:0})));h._ignoreMove=!1,setTimeout(function(){var C=0;for(E=g.length-1;E>=0;E--)S=g[E],S._spiderLeg&&C++;for(E=g.length-1;E>=0;E--)S=g[E],S._spiderLeg&&(S.clusterShow&&S.clusterShow(),S.setZIndexOffset&&S.setZIndexOffset(0),C>1&&m.removeLayer(S),f.removeLayer(S._spiderLeg),delete S._spiderLeg);h._animationEnd(),h.fire("unspiderfied",{cluster:u,markers:g})},200)}}),L.MarkerClusterGroup.include({_spiderfied:null,unspiderfy:function(){this._unspiderfy.apply(this,arguments)},_spiderfierOnAdd:function(){this._map.on("click",this._unspiderfyWrapper,this),this._map.options.zoomAnimation&&this._map.on("zoomstart",this._unspiderfyZoomStart,this),this._map.on("zoomend",this._noanimationUnspiderfy,this),L.Browser.touch||this._map.getRenderer(this)},_spiderfierOnRemove:function(){this._map.off("click",this._unspiderfyWrapper,this),this._map.off("zoomstart",this._unspiderfyZoomStart,this),this._map.off("zoomanim",this._unspiderfyZoomAnim,this),this._map.off("zoomend",this._noanimationUnspiderfy,this),this._noanimationUnspiderfy()},_unspiderfyZoomStart:function(){this._map&&this._map.on("zoomanim",this._unspiderfyZoomAnim,this)},_unspiderfyZoomAnim:function(s){L.DomUtil.hasClass(this._map._mapPane,"leaflet-touching")||(this._map.off("zoomanim",this._unspiderfyZoomAnim,this),this._unspiderfy(s))},_unspiderfyWrapper:function(){this._unspiderfy()},_unspiderfy:function(s){this._spiderfied&&this._spiderfied.unspiderfy(s)},_noanimationUnspiderfy:function(){this._spiderfied&&this._spiderfied._noanimationUnspiderfy()},_unspiderfyLayer:function(s){s._spiderLeg&&(this._featureGroup.removeLayer(s),s.clusterShow&&s.clusterShow(),s.setZIndexOffset&&s.setZIndexOffset(0),this._map.removeLayer(s._spiderLeg),delete s._spiderLeg)}}),L.MarkerClusterGroup.include({refreshClusters:function(s){return s?s instanceof L.MarkerClusterGroup?s=s._topClusterLevel.getAllChildMarkers():s instanceof L.LayerGroup?s=s._layers:s instanceof L.MarkerCluster?s=s.getAllChildMarkers():s instanceof L.Marker&&(s=[s]):s=this._topClusterLevel.getAllChildMarkers(),this._flagParentsIconsNeedUpdate(s),this._refreshClustersIcons(),this.options.singleMarkerMode&&this._refreshSingleMarkerModeMarkers(s),this},_flagParentsIconsNeedUpdate:function(s){var u,h;for(u in s)for(h=s[u].__parent;h;)h._iconNeedsUpdate=!0,h=h.__parent},_refreshSingleMarkerModeMarkers:function(s){var u,h;for(u in s)h=s[u],this.hasLayer(h)&&h.setIcon(this._overrideMarkerIcon(h))}}),L.Marker.include({refreshIconOptions:function(s,u){var h=this.options.icon;return L.setOptions(h,s),this.setIcon(h),u&&this.__parent&&this.__parent._group.refreshClusters(this),this}}),i.MarkerClusterGroup=o,i.MarkerCluster=l,Object.defineProperty(i,"__esModule",{value:!0})})})(nd,nd.exports);const o0="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAABSCAMAAAAhFXfZAAAC91BMVEVMaXEzeak2f7I4g7g3g7cua5gzeKg8hJo3grY4g7c3grU0gLI2frE0daAubJc2gbQwd6QzeKk2gLMtd5sxdKIua5g1frA2f7IydaM0e6w2fq41fK01eqo3grgubJgta5cxdKI1f7AydaQydaMxc6EubJgvbJkwcZ4ubZkwcJwubZgubJcydqUydKIxapgubJctbJcubZcubJcvbJYubJcvbZkubJctbJctbZcubJg2f7AubJcrbZcubJcubJcua5g3grY0fq8ubJcubJdEkdEwhsw6i88vhswuhcsuhMtBjMgthMsrg8srgss6is8qgcs8i9A9iMYtg8spgcoogMo7hcMngMonf8olfso4gr8kfck5iM8jfMk4iM8he8k1fro7itAgesk2hs8eecgzfLcofssdeMg0hc4cd8g2hcsxeLQbdsgZdcgxeLImfcszhM0vda4xgckzhM4xg84wf8Yxgs4udKsvfcQucqhUndROmdM1fK0wcZ8vb5w0eqpQm9MzeKhXoNVcpdYydKNWn9VZotVKltJFjsIwcJ1Rms9OlslLmtH///8+kc9epdYzd6dbo9VHkMM2f7FHmNBClM8ydqVcpNY9hro3gLM9hLczealQmcw3fa46f7A8gLMxc6I3eagyc6FIldJMl9JSnNRSntNNl9JPnNJFi75UnM9ZodVKksg8kM45jc09e6ZHltFBk883gbRBh7pDk9EwcaBzn784g7dKkcY2i81Om9M7j85Llc81is09g7Q4grY/j9A0eqxKmdFFltBEjcXf6fFImdBCiLxJl9FGlNFBi78yiMxVndEvbpo6js74+vx+psPP3+o/ks5HkcpGmNCjwdZCkNDM3ehYoNJEls+lxNkxh8xHks0+jdC1zd5Lg6r+/v/H2ufz9/o3jM3t8/edvdM/k89Th61OiLBSjbZklbaTt9BfptdjmL1AicBHj8hGk9FAgK1dkLNTjLRekrdClc/k7fM0icy0y9tgp9c4jc2NtM9Dlc8zicxeXZn3AAAAQ3RSTlMAHDdTb4yPA+LtnEQmC4L2EmHqB7XA0d0sr478x4/Yd5i1zOfyPkf1sLVq4Nh3FvjxopQ2/STNuFzUwFIwxKaejILpIBEV9wAABhVJREFUeF6s1NdyFEcYBeBeoQIhRAkLlRDGrhIgY3BJL8CVeKzuyXFzzjkn5ZxzzuScg3PO8cKzu70JkO0LfxdTU//pM9vTu7Xgf6KqOVTb9X7toRrVEfBf1HTVjZccrT/2by1VV928Yty9ZbVuucdz90frG8DBjl9pVApbOstvmMuvVgaNXSfAAd6pGxpy6yxf5ph43pS/4f3uoaGm2rdu72S9xzOvMymkZFq/ptDrk90mhW7e4zl7HLzhxGWPR20xmSxJ/VqldG5m9XhaVOA1DadsNh3Pu5L2N6QtPO/32JpqQBVVk20oy/Pi2s23WEvyfHbe1thadVQttvm7Llf65gGmXK67XtupyoM7HQhmXdLS8oGWJNeOJ3C5fG5XCEJnkez3/oFdsvgJ4l2ANZwhrJKk/7OSXa+3Vw2WJMlKnGkobouYk6T0TyX30klOUnTD9HJ5qpckL3EW/w4XF3Xd0FGywXUrstrclVsqz5Pd/sXFYyDnPdrLcQODmGOK47IZb4CmibmMn+MYRzFZ5jg33ZL/EJrWcszHmANy3ARBK/IXtciJy8VsitPSdE3uuHxzougojcUdr8/32atnz/ev3f/K5wtpxUTpcaI45zusVDpYtZi+jg0oU9b3x74h7+n9ABvYEZeKaVq0sh0AtLKsFtqNBdeT0MrSzwwlq9+x6xAO4tgOtSzbCjrNQQiNvQUbUEubvzBUeGw26yDCsRHCoLkTHDa7IdOLIThs/gHvChszh2CimE8peRs47cxANI0lYNB5y1DljpOF0IhzBDPOZnDOqYYbeGKECbPzWnXludPphw5c2YBq5zlwXphIbO4VDCZ0gnPfUO1TwZoYwAs2ExPCedAu9DAjfQUjzITQb3jNj0KG2Sgt6BHaQUdYzWz+XmBktOHwanXjaSTcwwziBcuMOtwBmqPrTOxFQR/DRKKPqyur0aiW6cULYsx6tBm0jXpR/AUWR6HRq9WVW6MRhIq5jLyjbaCTDCijyYJNpCajdyobP/eTw0iexBAKkJ3gA5KcQb2zBXsIBckn+xVv8jkZSaEFHE+jFEleAEfayRU0MouNoBmB/L50Ai/HSLIHxcrpCvnhSQAuakKp2C/YbCylJjXRVy/z3+Kv/RrNcCo+WUzlVEhzKffnTQnxeN9fWF88fiNCUdSTsaufaChKWInHeysygfpIqagoakW+vV20J8uyl6TyNKEZWV4oRSPyCkWpgOLSbkCObT8o2r6tlG58HQquf6O0v50tB7JM7F4EORd2dx/K0w/KHsVkLPaoYrwgP/y7krr3SSMA4zj+OBgmjYkxcdIJQyQRKgg2viX9Hddi9UBb29LrKR7CVVEEEXWojUkXNyfTNDE14W9gbHJNuhjDettN3ZvbOvdOqCD3Jp/9l+/wJE+9PkYGjx/fqkys3S2rMozM/o2106rfMUINo6hVqz+eu/hd1c4xTg0TAfy5kV+4UG6+IthHTU9woWmxuKNbTfuCSfovBCxq7EtHqvYL4Sm6F8GVxsSXHMQ07TOi1DKtZxjWaaIyi4CXWjxPccUw8WVbMYY5wxC1mzEyXMJWkllpRloi+Kkoq69sxBTlElF6aAxYUbjXNlhlDZilDnM4U5SlN5biRsRHnbx3mbeWjEh4mEyiuJDl5XcWVmX5GvNkFgLWZM5qwsop4/AWfLhU1cR7k1VVvcYCWRkOI6Xy5gmnphCYIkvzuNYzHzosq2oNk2RtSs8khfUOfHIDgR6ysYBaMpl4uEgk2U/oJTs9AaTSwma7dT69geAE2ZpEjUsn2ieJNHeKfrI3EcAGJ2ZaNgVuC8EBctCLc57P5u5led6IOBkIYkuQMrmmjChs4VkfOerHqSBkPzZlhe06RslZ3zMjk2sscqKwY0RcjKK+LWbzd7KiHhkncs/siFJ+V5eXxD34B8nVuJEpGJNmxN2gH3vSvp7J70tF+D1Ej8qUJD1TkErAND2GZwTFg/LubvmgiBG3SOvdlsqFQrkEzJCL1rstlnVFROixZoDDSuXQFHESwVGlcuQcMb/b42NgjLowh5MTDFE3vNB5qStRIErdCQEh6pLPR92anSUb/wAIhldAaDMpGgAAAABJRU5ErkJggg==",s0=Object.freeze(Object.defineProperty({__proto__:null,default:o0},Symbol.toStringTag,{value:"Module"})),a0=es(s0),l0="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAApCAYAAADAk4LOAAAFgUlEQVR4Aa1XA5BjWRTN2oW17d3YaZtr2962HUzbDNpjszW24mRt28p47v7zq/bXZtrp/lWnXr337j3nPCe85NcypgSFdugCpW5YoDAMRaIMqRi6aKq5E3YqDQO3qAwjVWrD8Ncq/RBpykd8oZUb/kaJutow8r1aP9II0WmLKLIsJyv1w/kqw9Ch2MYdB++12Onxee/QMwvf4/Dk/Lfp/i4nxTXtOoQ4pW5Aj7wpici1A9erdAN2OH64x8OSP9j3Ft3b7aWkTg/Fm91siTra0f9on5sQr9INejH6CUUUpavjFNq1B+Oadhxmnfa8RfEmN8VNAsQhPqF55xHkMzz3jSmChWU6f7/XZKNH+9+hBLOHYozuKQPxyMPUKkrX/K0uWnfFaJGS1QPRtZsOPtr3NsW0uyh6NNCOkU3Yz+bXbT3I8G3xE5EXLXtCXbbqwCO9zPQYPRTZ5vIDXD7U+w7rFDEoUUf7ibHIR4y6bLVPXrz8JVZEql13trxwue/uDivd3fkWRbS6/IA2bID4uk0UpF1N8qLlbBlXs4Ee7HLTfV1j54APvODnSfOWBqtKVvjgLKzF5YdEk5ewRkGlK0i33Eofffc7HT56jD7/6U+qH3Cx7SBLNntH5YIPvODnyfIXZYRVDPqgHtLs5ABHD3YzLuespb7t79FY34DjMwrVrcTuwlT55YMPvOBnRrJ4VXTdNnYug5ucHLBjEpt30701A3Ts+HEa73u6dT3FNWwflY86eMHPk+Yu+i6pzUpRrW7SNDg5JHR4KapmM5Wv2E8Tfcb1HoqqHMHU+uWDD7zg54mz5/2BSnizi9T1Dg4QQXLToGNCkb6tb1NU+QAlGr1++eADrzhn/u8Q2YZhQVlZ5+CAOtqfbhmaUCS1ezNFVm2imDbPmPng5wmz+gwh+oHDce0eUtQ6OGDIyR0uUhUsoO3vfDmmgOezH0mZN59x7MBi++WDL1g/eEiU3avlidO671bkLfwbw5XV2P8Pzo0ydy4t2/0eu33xYSOMOD8hTf4CrBtGMSoXfPLchX+J0ruSePw3LZeK0juPJbYzrhkH0io7B3k164hiGvawhOKMLkrQLyVpZg8rHFW7E2uHOL888IBPlNZ1FPzstSJM694fWr6RwpvcJK60+0HCILTBzZLFNdtAzJaohze60T8qBzyh5ZuOg5e7uwQppofEmf2++DYvmySqGBuKaicF1blQjhuHdvCIMvp8whTTfZzI7RldpwtSzL+F1+wkdZ2TBOW2gIF88PBTzD/gpeREAMEbxnJcaJHNHrpzji0gQCS6hdkEeYt9DF/2qPcEC8RM28Hwmr3sdNyht00byAut2k3gufWNtgtOEOFGUwcXWNDbdNbpgBGxEvKkOQsxivJx33iow0Vw5S6SVTrpVq11ysA2Rp7gTfPfktc6zhtXBBC+adRLshf6sG2RfHPZ5EAc4sVZ83yCN00Fk/4kggu40ZTvIEm5g24qtU4KjBrx/BTTH8ifVASAG7gKrnWxJDcU7x8X6Ecczhm3o6YicvsLXWfh3Ch1W0k8x0nXF+0fFxgt4phz8QvypiwCCFKMqXCnqXExjq10beH+UUA7+nG6mdG/Pu0f3LgFcGrl2s0kNNjpmoJ9o4B29CMO8dMT4Q5ox8uitF6fqsrJOr8qnwNbRzv6hSnG5wP+64C7h9lp30hKNtKdWjtdkbuPA19nJ7Tz3zR/ibgARbhb4AlhavcBebmTHcFl2fvYEnW0ox9xMxKBS8btJ+KiEbq9zA4RthQXDhPa0T9TEe69gWupwc6uBUphquXgf+/FrIjweHQS4/pduMe5ERUMHUd9xv8ZR98CxkS4F2n3EUrUZ10EYNw7BWm9x1GiPssi3GgiGRDKWRYZfXlON+dfNbM+GgIwYdwAAAAASUVORK5CYII=",u0=Object.freeze(Object.defineProperty({__proto__:null,default:l0},Symbol.toStringTag,{value:"Module"})),c0=es(u0),h0="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACkAAAApCAQAAAACach9AAACMUlEQVR4Ae3ShY7jQBAE0Aoz/f9/HTMzhg1zrdKUrJbdx+Kd2nD8VNudfsL/Th///dyQN2TH6f3y/BGpC379rV+S+qqetBOxImNQXL8JCAr2V4iMQXHGNJxeCfZXhSRBcQMfvkOWUdtfzlLgAENmZDcmo2TVmt8OSM2eXxBp3DjHSMFutqS7SbmemzBiR+xpKCNUIRkdkkYxhAkyGoBvyQFEJEefwSmmvBfJuJ6aKqKWnAkvGZOaZXTUgFqYULWNSHUckZuR1HIIimUExutRxwzOLROIG4vKmCKQt364mIlhSyzAf1m9lHZHJZrlAOMMztRRiKimp/rpdJDc9Awry5xTZCte7FHtuS8wJgeYGrex28xNTd086Dik7vUMscQOa8y4DoGtCCSkAKlNwpgNtphjrC6MIHUkR6YWxxs6Sc5xqn222mmCRFzIt8lEdKx+ikCtg91qS2WpwVfBelJCiQJwvzixfI9cxZQWgiSJelKnwBElKYtDOb2MFbhmUigbReQBV0Cg4+qMXSxXSyGUn4UbF8l+7qdSGnTC0XLCmahIgUHLhLOhpVCtw4CzYXvLQWQbJNmxoCsOKAxSgBJno75avolkRw8iIAFcsdc02e9iyCd8tHwmeSSoKTowIgvscSGZUOA7PuCN5b2BX9mQM7S0wYhMNU74zgsPBj3HU7wguAfnxxjFQGBE6pwN+GjME9zHY7zGp8wVxMShYX9NXvEWD3HbwJf4giO4CFIQxXScH1/TM+04kkBiAAAAAElFTkSuQmCC",d0=Object.freeze(Object.defineProperty({__proto__:null,default:h0},Symbol.toStringTag,{value:"Module"})),f0=es(d0);var li=fn&&fn.__assign||function(){return li=Object.assign||function(e){for(var t,i=1,o=arguments.length;i{switch(e){case"Subway":return x0;case"Tram":return L0;case"Bus":return P0;default:return Dp}},C0=e=>nt.divIcon({html:`${e.getChildCount()}`,className:"custom-marker-cluster",iconSize:nt.point(35,35,!0)}),k0=(e,t)=>e.find(i=>i.stop_id===t),T0=(e,t)=>e.find(i=>i.route_short_name===t),E0=(e,t)=>e>=_o.minLat&&e<=_o.maxLat&&t>=_o.minLon&&t<=_o.maxLon,M0=(e,t,i,o)=>{const s=(i-e)*(Math.PI/180),u=(o-t)*(Math.PI/180),h=Math.sin(s/2)*Math.sin(s/2)+Math.cos(e*(Math.PI/180))*Math.cos(i*(Math.PI/180))*Math.sin(u/2)*Math.sin(u/2);return 6371e3*(2*Math.atan2(Math.sqrt(h),Math.sqrt(1-h)))},N0=(e,t,i,o)=>{let l=0,s=null,u=!1;const h=k0(o,t);if(!h)return console.error(`Start stop not found for pointId: ${t}`),[0,0];const f=[h.stop_coordinates.lat,h.stop_coordinates.lon];for(const m of e.shape.geometry.coordinates)for(const v of m){const g=[v[1],v[0]];if(u){if(s){const y=M0(s[0],s[1],g[0],g[1]);if(l+y>=i){const E=(i-l)/y;return z0(s,g,E)}l+=y}s=g}else if(g[0]===f[0]&&g[1]===f[1]){u=!0,s=g;continue}}return s||f},z0=(e,t,i)=>{const o=e[0]+(t[0]-e[0])*i,l=e[1]+(t[1]-e[1])*i;return[o,l]},O0=({stops:e,routes:t,trains:i,loading:o})=>{const[l,s]=H.useState(!1);if(H.useEffect(()=>{o||setTimeout(()=>s(!0),100)},[o]),o||!l)return;const u=t.flatMap((v,g)=>v.shape.geometry.coordinates.map((y,S)=>{const E=y.map(k=>[k[1],k[0]]);return _.jsx(n0,{positions:E,color:`#${v.route_color}`,weight:5,opacity:.7,lineJoin:"round",lineCap:"round",className:"fade-in"},`${g}-${S}`)})),f=i.flatMap(v=>{const g=T0(t,v.lineid);if(!g)return console.error(`Route not found for train lineid: ${v.lineid}`),[];let y;try{typeof v.vehiclepositions=="string"?y=JSON.parse(v.vehiclepositions):y=v.vehiclepositions}catch(E){return console.error(`Error parsing vehicle positions for train lineid: ${v.lineid}`,E),console.error(`Invalid JSON: ${v.vehiclepositions}`),[]}if(!Array.isArray(y))return console.error(`Vehicle positions are not an array for train lineid: ${v.lineid}`,y),[];const S=id(g.route_type);return y.map(E=>{const k=N0(g,E.pointId,E.distanceFromPoint,e);if(!E0(k[0],k[1]))return console.error(`Train position out of Belgium bounds for train: ${v.lineid}, pointId: ${E.pointId}`),null;const I=x=>{const w=id(x);return Jh.divIcon({html:` +
+
-
- ${h.lineid.startsWith("T")||h.lineid.startsWith("M")?h.lineid.slice(1):h.lineid} +
+ ${v.lineid.startsWith("T")||v.lineid.startsWith("M")?v.lineid.slice(1):v.lineid}
- `})};return _.jsx(_.Fragment,{children:_.jsx(ed,{position:w,icon:S(f.route_type),zIndexOffset:1e3,children:_.jsx(td,{children:_.jsxs("div",{className:"popup-content",children:[_.jsx("img",{src:g,alt:f.route_type}),_.jsx("div",{className:"device-name",children:f.route_type}),h.lineid&&_.jsx(_.Fragment,{children:_.jsx("div",{className:"lines-section",children:_.jsxs("div",{className:"list-columns",children:[_.jsx("div",{className:"titles",children:_.jsx("h4",{children:"Line"})}),_.jsx("div",{className:"list-columns__item",children:_.jsx("div",{className:"rows",children:_.jsx("div",{className:`line-column line--big line-${h.lineid.startsWith("T")||h.lineid.startsWith("M")?h.lineid.slice(1):h.lineid}`,children:h.lineid.startsWith("T")||h.lineid.startsWith("M")?h.lineid.slice(1):h.lineid})})})]})})}),_.jsxs("div",{className:"info-grid",children:[_.jsx("div",{className:"info-label",children:"Direction ID"}),_.jsx("div",{className:"info-value",children:v.directionId}),_.jsx("div",{className:"info-label",children:"Point ID"}),_.jsx("div",{className:"info-value",children:v.pointId}),_.jsx("div",{className:"info-label",children:"Distance from Point"}),_.jsx("div",{className:"info-value",children:v.distanceFromPoint})]})]})})},`${h.lineid}-${v.pointId}`)})}).filter(Boolean)}),u=h=>{const p=[...new Set(h.ordersAndLineIds.map(g=>g.lineid).filter(Boolean))].map(g=>` -
- ${g.startsWith("T")||g.startsWith("M")?g.slice(1):g} + `})};return _.jsx(_.Fragment,{children:_.jsx(ed,{position:k,icon:I(g.route_type),zIndexOffset:1e3,children:_.jsx(td,{children:_.jsxs("div",{className:"popup-content",children:[_.jsx("img",{src:S,alt:g.route_type}),_.jsx("div",{className:"device-name",children:g.route_type}),v.lineid&&_.jsx(_.Fragment,{children:_.jsx("div",{className:"lines-section",children:_.jsxs("div",{className:"list-columns",children:[_.jsx("div",{className:"titles",children:_.jsx("h4",{children:"Line"})}),_.jsx("div",{className:"list-columns__item",children:_.jsx("div",{className:"rows",children:_.jsx("div",{className:`line-column line--big line-${v.lineid.startsWith("T")||v.lineid.startsWith("M")?v.lineid.slice(1):v.lineid}`,children:v.lineid.startsWith("T")||v.lineid.startsWith("M")?v.lineid.slice(1):v.lineid})})})]})})}),_.jsxs("div",{className:"info-grid",children:[_.jsx("div",{className:"info-label",children:"Direction ID"}),_.jsx("div",{className:"info-value",children:E.directionId}),_.jsx("div",{className:"info-label",children:"Point ID"}),_.jsx("div",{className:"info-value",children:E.pointId}),_.jsx("div",{className:"info-label",children:"Distance from Point"}),_.jsx("div",{className:"info-value",children:E.distanceFromPoint})]})]})})},`${v.lineid}-${E.pointId}`)})}).filter(Boolean)}),m=v=>{const y=[...new Set(v.ordersAndLineIds.map(S=>S.lineid).filter(Boolean))].map(S=>` +
+ ${S.startsWith("T")||S.startsWith("M")?S.slice(1):S}
`).join("");return Jh.divIcon({html:` -
+
- ${p} + ${y}
- `,className:"custom-stop-icon",iconSize:nt.point(35,35,!0)})};return _.jsxs(t0,{className:"map-container",center:[50.84045,4.34878],zoom:13,minZoom:1,maxZoom:19,children:[_.jsx(i0,{url:"https://{s}.tile.openstreetmap.fr/hot/{z}/{x}/{y}.png",maxZoom:19}),_.jsxs(w0,{chunkedLoading:!0,iconCreateFunction:C0,children:[e.map((h,f)=>_.jsx(ed,{position:[h.stop_coordinates.lat,h.stop_coordinates.lon],icon:u(h),children:_.jsx(td,{children:_.jsxs("div",{className:"popup-content",children:[_.jsx("img",{src:Pl,alt:"Stop"}),_.jsxs("div",{className:"device-name",children:[h.stop_name.fr,_.jsx("div",{className:"device-name italic",children:h.stop_name.fr===h.stop_name.nl?null:h.stop_name.nl})]}),h.stop_id&&_.jsx(_.Fragment,{children:h.ordersAndLineIds.some(p=>p.lineid||p.order)&&_.jsx("div",{className:"lines-section",children:_.jsxs("div",{className:"list-columns",children:[_.jsxs("div",{className:"titles",children:[h.ordersAndLineIds.some(p=>p.lineid)&&_.jsx("h4",{children:"Line"}),h.ordersAndLineIds.some(p=>p.order)&&_.jsx("h4",{children:"Order"})]}),h.ordersAndLineIds.map((p,g)=>(p.lineid||p.order)&&_.jsxs("div",{className:"list-columns__item",children:[_.jsx("div",{className:"rows",children:p.lineid&&_.jsx("div",{className:`line-column line--big line-${p.lineid.startsWith("T")||p.lineid.startsWith("M")?p.lineid.slice(1):p.lineid}`,children:p.lineid.startsWith("T")||p.lineid.startsWith("M")?p.lineid.slice(1):p.lineid})}),_.jsx("div",{className:"rows",children:p.order&&_.jsx("div",{className:"order-column",children:p.order})})]},g))]})})}),_.jsxs("div",{className:"info-grid",children:[h.stop_id&&_.jsxs(_.Fragment,{children:[_.jsx("div",{className:"info-label",children:"ID"}),_.jsx("div",{className:"info-value",children:h.stop_id})]}),h.stop_coordinates.lon&&_.jsxs(_.Fragment,{children:[_.jsx("div",{className:"info-label",children:"Longitude"}),_.jsx("div",{className:"info-value",children:h.stop_coordinates.lon})]}),h.stop_coordinates.lat&&_.jsxs(_.Fragment,{children:[_.jsx("div",{className:"info-label",children:"Latitude"}),_.jsx("div",{className:"info-value",children:h.stop_coordinates.lat})]}),h.parent_station&&_.jsxs(_.Fragment,{children:[_.jsx("div",{className:"info-label",children:"Parent Station"}),_.jsx("div",{className:"info-value",children:h.parent_station})]})]})]})})},f)),o]}),s,_.jsx("div",{className:"leaflet-top leaflet-right",children:_.jsxs("div",{className:"leaflet-control-info leaflet-control",children:[_.jsx("button",{id:"infoButton",title:"Map Information",children:_.jsx("img",{src:S0,alt:"Information"})}),_.jsxs("div",{id:"infoTooltip",className:"leaflet-info-tooltip",children:[_.jsxs("a",{href:"https://leafletjs.com",title:"A JavaScript library for interactive maps",children:[_.jsxs("svg",{"aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",width:"12",height:"8",viewBox:"0 0 12 8",className:"leaflet-attribution-flag",children:[_.jsx("path",{fill:"#4C7BE1",d:"M0 0h12v4H0z"}),_.jsx("path",{fill:"#FFD500",d:"M0 4h12v3H0z"}),_.jsx("path",{fill:"#E0BC00",d:"M0 7h12v1H0z"})]})," Leaflet"]}),_.jsx("span",{"aria-hidden":"true",children:"|"})," ©",_.jsx("a",{href:"https://www.openstreetmap.org/copyright",children:"OpenStreetMap"})," contributors, Tiles courtesy of Humanitarian OpenStreetMap Team (HOT)"]})]})})]})},Sa=({icon:e,label:t,count:i})=>_.jsxs("div",{className:"stat-item",children:[_.jsx("img",{src:e,alt:t,className:"stat-icon"}),_.jsxs("span",{children:[i," ",t]})]}),j0="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20height='24px'%20viewBox='0%20-960%20960%20960'%20width='24px'%20fill='%23000000'%3e%3cpath%20d='M480-496%20296-312l-88-88%20272-272%20272%20272-88%2088-184-184Z'/%3e%3c/svg%3e",I0="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20height='24px'%20viewBox='0%20-960%20960%20960'%20width='24px'%20fill='%23000000'%3e%3cpath%20d='M480-312%20208-584l88-88%20184%20184%20184-184%2088%2088-272%20272Z'/%3e%3c/svg%3e",A0=({isLineDisplayVisible:e,toggleStatsVisibility:t})=>_.jsxs("div",{className:"bottom-stats",children:[_.jsxs("div",{className:"lines-section",children:[_.jsx("h4",{children:"Subway"}),_.jsxs("div",{className:"list-lines",children:[_.jsx("div",{className:"list-lines__item",children:_.jsx("div",{className:"line line--big line-1",role:"button",children:_.jsx("span",{children:"1"})})}),_.jsx("div",{className:"list-lines__item",children:_.jsx("div",{className:"line line--big line-2",role:"button",children:_.jsx("span",{children:"2"})})}),_.jsx("div",{className:"list-lines__item",children:_.jsx("div",{className:"line line--big line-5",role:"button",children:_.jsx("span",{children:"5"})})}),_.jsx("div",{className:"list-lines__item",children:_.jsx("div",{className:"line line--big line-6",role:"button",children:_.jsx("span",{children:"6"})})})]})]}),e&&_.jsxs("div",{className:"lines-section",children:[_.jsx("h4",{children:"Tram"}),_.jsxs("div",{className:"list-lines",children:[_.jsx("div",{className:"list-lines__item",children:_.jsx("div",{className:"line line--big line-3",role:"button",children:_.jsx("span",{children:"3"})})}),_.jsx("div",{className:"list-lines__item",children:_.jsx("div",{className:"line line--big line-4",role:"button",children:_.jsx("span",{children:"4"})})}),_.jsx("div",{className:"list-lines__item",children:_.jsx("div",{className:"line line--big line-7",role:"button",children:_.jsx("span",{children:"7"})})}),_.jsx("div",{className:"list-lines__item",children:_.jsx("div",{className:"line line--big line-8",role:"button",children:_.jsx("span",{children:"8"})})}),_.jsx("div",{className:"list-lines__item",children:_.jsx("div",{className:"line line--big line-9",role:"button",children:_.jsx("span",{children:"9"})})}),_.jsx("div",{className:"list-lines__item",children:_.jsx("div",{className:"line line--big line-18",role:"button",children:_.jsx("span",{children:"18"})})}),_.jsx("div",{className:"list-lines__item",children:_.jsx("div",{className:"line line--big line-19",role:"button",children:_.jsx("span",{children:"19"})})}),_.jsx("div",{className:"list-lines__item",children:_.jsx("div",{className:"line line--big line-25",role:"button",children:_.jsx("span",{children:"25"})})}),_.jsx("div",{className:"list-lines__item",children:_.jsx("div",{className:"line line--big line-39",role:"button",children:_.jsx("span",{children:"39"})})}),_.jsx("div",{className:"list-lines__item",children:_.jsx("div",{className:"line line--big line-44",role:"button",children:_.jsx("span",{children:"44"})})}),_.jsx("div",{className:"list-lines__item",children:_.jsx("div",{className:"line line--big line-51",role:"button",children:_.jsx("span",{children:"51"})})}),_.jsx("div",{className:"list-lines__item",children:_.jsx("div",{className:"line line--big line-55",role:"button",children:_.jsx("span",{children:"55"})})}),_.jsx("div",{className:"list-lines__item",children:_.jsx("div",{className:"line line--big line-62",role:"button",children:_.jsx("span",{children:"62"})})}),_.jsx("div",{className:"list-lines__item",children:_.jsx("div",{className:"line line--big line-81",role:"button",children:_.jsx("span",{children:"81"})})}),_.jsx("div",{className:"list-lines__item",children:_.jsx("div",{className:"line line--big line-82",role:"button",children:_.jsx("span",{children:"82"})})}),_.jsx("div",{className:"list-lines__item",children:_.jsx("div",{className:"line line--big line-92",role:"button",children:_.jsx("span",{children:"92"})})}),_.jsx("div",{className:"list-lines__item",children:_.jsx("div",{className:"line line--big line-93",role:"button",children:_.jsx("span",{children:"93"})})}),_.jsx("div",{className:"list-lines__item",children:_.jsx("div",{className:"line line--big line-97",role:"button",children:_.jsx("span",{children:"97"})})})]}),_.jsx("h4",{children:"Bus"}),_.jsxs("div",{className:"list-lines",children:[_.jsx("div",{className:"list-lines__item",children:_.jsx("div",{className:"line line--big line-12",role:"button",children:_.jsx("span",{children:"12"})})}),_.jsx("div",{className:"list-lines__item",children:_.jsx("div",{className:"line line--big line-13",role:"button",children:_.jsx("span",{children:"13"})})}),_.jsx("div",{className:"list-lines__item",children:_.jsx("div",{className:"line line--big line-14",role:"button",children:_.jsx("span",{children:"14"})})}),_.jsx("div",{className:"list-lines__item",children:_.jsx("div",{className:"line line--big line-17",role:"button",children:_.jsx("span",{children:"17"})})}),_.jsx("div",{className:"list-lines__item",children:_.jsx("div",{className:"line line--big line-20",role:"button",children:_.jsx("span",{children:"20"})})}),_.jsx("div",{className:"list-lines__item",children:_.jsx("div",{className:"line line--big line-21",role:"button",children:_.jsx("span",{children:"21"})})}),_.jsx("div",{className:"list-lines__item",children:_.jsx("div",{className:"line line--big line-27",role:"button",children:_.jsx("span",{children:"27"})})}),_.jsx("div",{className:"list-lines__item",children:_.jsx("div",{className:"line line--big line-28",role:"button",children:_.jsx("span",{children:"28"})})}),_.jsx("div",{className:"list-lines__item",children:_.jsx("div",{className:"line line--big line-29",role:"button",children:_.jsx("span",{children:"29"})})}),_.jsx("div",{className:"list-lines__item",children:_.jsx("div",{className:"line line--big line-33",role:"button",children:_.jsx("span",{children:"33"})})}),_.jsx("div",{className:"list-lines__item",children:_.jsx("div",{className:"line line--big line-34",role:"button",children:_.jsx("span",{children:"34"})})}),_.jsx("div",{className:"list-lines__item",children:_.jsx("div",{className:"line line--big line-36",role:"button",children:_.jsx("span",{children:"36"})})}),_.jsx("div",{className:"list-lines__item",children:_.jsx("div",{className:"line line--big line-37",role:"button",children:_.jsx("span",{children:"37"})})}),_.jsx("div",{className:"list-lines__item",children:_.jsx("div",{className:"line line--big line-38",role:"button",children:_.jsx("span",{children:"38"})})}),_.jsx("div",{className:"list-lines__item",children:_.jsx("div",{className:"line line--big line-41",role:"button",children:_.jsx("span",{children:"41"})})}),_.jsx("div",{className:"list-lines__item",children:_.jsx("div",{className:"line line--big line-42",role:"button",children:_.jsx("span",{children:"42"})})}),_.jsx("div",{className:"list-lines__item",children:_.jsx("div",{className:"line line--big line-43",role:"button",children:_.jsx("span",{children:"43"})})}),_.jsx("div",{className:"list-lines__item",children:_.jsx("div",{className:"line line--big line-45",role:"button",children:_.jsx("span",{children:"45"})})}),_.jsx("div",{className:"list-lines__item",children:_.jsx("div",{className:"line line--big line-46",role:"button",children:_.jsx("span",{children:"46"})})}),_.jsx("div",{className:"list-lines__item",children:_.jsx("div",{className:"line line--big line-47",role:"button",children:_.jsx("span",{children:"47"})})}),_.jsx("div",{className:"list-lines__item",children:_.jsx("div",{className:"line line--big line-48",role:"button",children:_.jsx("span",{children:"48"})})}),_.jsx("div",{className:"list-lines__item",children:_.jsx("div",{className:"line line--big line-49",role:"button",children:_.jsx("span",{children:"49"})})}),_.jsx("div",{className:"list-lines__item",children:_.jsx("div",{className:"line line--big line-50",role:"button",children:_.jsx("span",{children:"50"})})}),_.jsx("div",{className:"list-lines__item",children:_.jsx("div",{className:"line line--big line-52",role:"button",children:_.jsx("span",{children:"52"})})}),_.jsx("div",{className:"list-lines__item",children:_.jsx("div",{className:"line line--big line-53",role:"button",children:_.jsx("span",{children:"53"})})}),_.jsx("div",{className:"list-lines__item",children:_.jsx("div",{className:"line line--big line-54",role:"button",children:_.jsx("span",{children:"54"})})}),_.jsx("div",{className:"list-lines__item",children:_.jsx("div",{className:"line line--big line-56",role:"button",children:_.jsx("span",{children:"56"})})}),_.jsx("div",{className:"list-lines__item",children:_.jsx("div",{className:"line line--big line-57",role:"button",children:_.jsx("span",{children:"57"})})}),_.jsx("div",{className:"list-lines__item",children:_.jsx("div",{className:"line line--big line-58",role:"button",children:_.jsx("span",{children:"58"})})}),_.jsx("div",{className:"list-lines__item",children:_.jsx("div",{className:"line line--big line-59",role:"button",children:_.jsx("span",{children:"59"})})}),_.jsx("div",{className:"list-lines__item",children:_.jsx("div",{className:"line line--big line-60",role:"button",children:_.jsx("span",{children:"60"})})}),_.jsx("div",{className:"list-lines__item",children:_.jsx("div",{className:"line line--big line-61",role:"button",children:_.jsx("span",{children:"61"})})}),_.jsx("div",{className:"list-lines__item",children:_.jsx("div",{className:"line line--big line-63",role:"button",children:_.jsx("span",{children:"63"})})}),_.jsx("div",{className:"list-lines__item",children:_.jsx("div",{className:"line line--big line-64",role:"button",children:_.jsx("span",{children:"64"})})}),_.jsx("div",{className:"list-lines__item",children:_.jsx("div",{className:"line line--big line-65",role:"button",children:_.jsx("span",{children:"65"})})}),_.jsx("div",{className:"list-lines__item",children:_.jsx("div",{className:"line line--big line-66",role:"button",children:_.jsx("span",{children:"66"})})}),_.jsx("div",{className:"list-lines__item",children:_.jsx("div",{className:"line line--big line-69",role:"button",children:_.jsx("span",{children:"69"})})}),_.jsx("div",{className:"list-lines__item",children:_.jsx("div",{className:"line line--big line-71",role:"button",children:_.jsx("span",{children:"71"})})}),_.jsx("div",{className:"list-lines__item",children:_.jsx("div",{className:"line line--big line-72",role:"button",children:_.jsx("span",{children:"72"})})}),_.jsx("div",{className:"list-lines__item",children:_.jsx("div",{className:"line line--big line-73",role:"button",children:_.jsx("span",{children:"73"})})}),_.jsx("div",{className:"list-lines__item",children:_.jsx("div",{className:"line line--big line-74",role:"button",children:_.jsx("span",{children:"74"})})}),_.jsx("div",{className:"list-lines__item",children:_.jsx("div",{className:"line line--big line-75",role:"button",children:_.jsx("span",{children:"75"})})}),_.jsx("div",{className:"list-lines__item",children:_.jsx("div",{className:"line line--big line-76",role:"button",children:_.jsx("span",{children:"76"})})}),_.jsx("div",{className:"list-lines__item",children:_.jsx("div",{className:"line line--big line-77",role:"button",children:_.jsx("span",{children:"77"})})}),_.jsx("div",{className:"list-lines__item",children:_.jsx("div",{className:"line line--big line-78",role:"button",children:_.jsx("span",{children:"78"})})}),_.jsx("div",{className:"list-lines__item",children:_.jsx("div",{className:"line line--big line-79",role:"button",children:_.jsx("span",{children:"79"})})}),_.jsx("div",{className:"list-lines__item",children:_.jsx("div",{className:"line line--big line-80",role:"button",children:_.jsx("span",{children:"80"})})}),_.jsx("div",{className:"list-lines__item",children:_.jsx("div",{className:"line line--big line-83",role:"button",children:_.jsx("span",{children:"83"})})}),_.jsx("div",{className:"list-lines__item",children:_.jsx("div",{className:"line line--big line-86",role:"button",children:_.jsx("span",{children:"86"})})}),_.jsx("div",{className:"list-lines__item",children:_.jsx("div",{className:"line line--big line-87",role:"button",children:_.jsx("span",{children:"87"})})}),_.jsx("div",{className:"list-lines__item",children:_.jsx("div",{className:"line line--big line-88",role:"button",children:_.jsx("span",{children:"88"})})}),_.jsx("div",{className:"list-lines__item",children:_.jsx("div",{className:"line line--big line-89",role:"button",children:_.jsx("span",{children:"89"})})}),_.jsx("div",{className:"list-lines__item",children:_.jsx("div",{className:"line line--big line-95",role:"button",children:_.jsx("span",{children:"95"})})})]})]}),_.jsx("button",{className:"toggle-stats-button",onClick:t,children:_.jsx("img",{src:e?I0:j0,alt:"toggle arrow"})})]}),B0="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20height='24px'%20viewBox='0%20-960%20960%20960'%20width='24px'%20fill='%23000000'%3e%3cpath%20d='M160-160v-640h80v640h-80Zm280%200v-160h80v160h-80Zm280%200v-640h80v640h-80ZM440-400v-160h80v160h-80Zm0-240v-160h80v160h-80Z'/%3e%3c/svg%3e";function R0(){const[e,t]=U.useState([]),[i,o]=U.useState([]),[l,s]=U.useState([]),[u,h]=U.useState(!1),[f,p]=U.useState(!1),g=U.useCallback(k=>{s(k)},[]);U.useEffect(()=>{Promise.all([fetch("data/gtfs-routes-production.json").then(y=>y.json()),fetch("data/gtfs-stops-production.json").then(y=>y.json()),fetch("data/vehicle-position-rt-production.json").then(y=>y.json()),fetch("data/stop-details-production.json").then(y=>y.json()),fetch("data/stops-by-line-production.json").then(y=>y.json())]).then(([y,x,C,N,I])=>{console.log("Routes, stops, and trains loaded");const b=x.map(Z=>{const F=N.find(re=>re.id===Z.stop_id),ae=F?JSON.parse(F.name.replace(/\\/g,"")):{fr:Z.stop_name,nl:Z.stop_name},Q=[];return I.forEach(re=>{const Pt=JSON.parse(re.points).find(We=>We.id===Z.stop_id);Pt&&Q.push({order:Pt.order,lineid:re.lineid})}),{...Z,stop_name:ae,ordersAndLineIds:Q}});t(y),o(b),g(C),h(!0)}).catch(y=>{console.error("Error loading data:",y)});const k=()=>{fetch("data/vehicle-position-rt-production.json").then(y=>y.json()).then(y=>{console.log("Trains loaded:",y),s(y)}).catch(y=>{console.error("Error loading trains:",y)})};k();const A=setInterval(k,2e4);return()=>clearInterval(A)},[g]);const{RouteCount:v,stopCount:w,trainCount:S}=U.useMemo(()=>{const k=e.length,A=i.length,y=l.length;return{RouteCount:k,stopCount:A,trainCount:y}},[e,i,l]),E=()=>{p(!f)};return _.jsxs("div",{className:"app-container",children:[_.jsx("div",{className:"top-left-text",children:_.jsx("span",{children:"Public transport map"})}),_.jsxs("div",{className:"bottom-left-stats",children:[_.jsx(Sa,{icon:B0,label:"lines",count:v}),_.jsx(Sa,{icon:Pl,label:"stops",count:w}),_.jsx(Sa,{icon:Dp,label:"trams, subways and buses",count:S})]}),_.jsx(A0,{isLineDisplayVisible:f,toggleStatsVisibility:E}),u&&_.jsx(O0,{routes:e,stops:i,trains:l})]})}Ca.createRoot(document.getElementById("root")).render(_.jsx(ar.StrictMode,{children:_.jsx(Kg,{children:_.jsx(R0,{})})})); + `,className:"custom-stop-icon",iconSize:nt.point(35,35,!0)})};return _.jsxs(t0,{className:"map-container fade-in",center:[50.84045,4.34878],zoom:13,minZoom:1,maxZoom:19,children:[_.jsx(i0,{url:"https://{s}.tile.openstreetmap.fr/hot/{z}/{x}/{y}.png",maxZoom:19}),_.jsxs(w0,{chunkedLoading:!0,iconCreateFunction:C0,children:[e.map((v,g)=>_.jsx(ed,{position:[v.stop_coordinates.lat,v.stop_coordinates.lon],icon:m(v),children:_.jsx(td,{children:_.jsxs("div",{className:"popup-content",children:[_.jsx("img",{src:Pl,alt:"Stop"}),_.jsxs("div",{className:"device-name",children:[v.stop_name.fr,_.jsx("div",{className:"device-name italic",children:v.stop_name.fr===v.stop_name.nl?null:v.stop_name.nl})]}),v.stop_id&&_.jsx(_.Fragment,{children:v.ordersAndLineIds.some(y=>y.lineid||y.order)&&_.jsx("div",{className:"lines-section",children:_.jsxs("div",{className:"list-columns",children:[_.jsxs("div",{className:"titles",children:[v.ordersAndLineIds.some(y=>y.lineid)&&_.jsx("h4",{children:"Line"}),v.ordersAndLineIds.some(y=>y.order)&&_.jsx("h4",{children:"Order"})]}),v.ordersAndLineIds.map((y,S)=>(y.lineid||y.order)&&_.jsxs("div",{className:"list-columns__item",children:[_.jsx("div",{className:"rows",children:y.lineid&&_.jsx("div",{className:`line-column line--big line-${y.lineid.startsWith("T")||y.lineid.startsWith("M")?y.lineid.slice(1):y.lineid}`,children:y.lineid.startsWith("T")||y.lineid.startsWith("M")?y.lineid.slice(1):y.lineid})}),_.jsx("div",{className:"rows",children:y.order&&_.jsx("div",{className:"order-column",children:y.order})})]},S))]})})}),_.jsxs("div",{className:"info-grid",children:[v.stop_id&&_.jsxs(_.Fragment,{children:[_.jsx("div",{className:"info-label",children:"ID"}),_.jsx("div",{className:"info-value",children:v.stop_id})]}),v.stop_coordinates.lon&&_.jsxs(_.Fragment,{children:[_.jsx("div",{className:"info-label",children:"Longitude"}),_.jsx("div",{className:"info-value",children:v.stop_coordinates.lon})]}),v.stop_coordinates.lat&&_.jsxs(_.Fragment,{children:[_.jsx("div",{className:"info-label",children:"Latitude"}),_.jsx("div",{className:"info-value",children:v.stop_coordinates.lat})]}),v.parent_station&&_.jsxs(_.Fragment,{children:[_.jsx("div",{className:"info-label",children:"Parent Station"}),_.jsx("div",{className:"info-value",children:v.parent_station})]})]})]})})},g)),u]}),f,_.jsx("div",{className:"leaflet-top fade-in leaflet-right",children:_.jsxs("div",{className:"leaflet-control-info leaflet-control",children:[_.jsx("button",{id:"infoButton",title:"Map Information",children:_.jsx("img",{src:S0,alt:"Information"})}),_.jsxs("div",{id:"infoTooltip",className:"leaflet-info-tooltip",children:[_.jsxs("a",{href:"https://leafletjs.com",title:"A JavaScript library for interactive maps",children:[_.jsxs("svg",{"aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",width:"12",height:"8",viewBox:"0 0 12 8",className:"leaflet-attribution-flag",children:[_.jsx("path",{fill:"#4C7BE1",d:"M0 0h12v4H0z"}),_.jsx("path",{fill:"#FFD500",d:"M0 4h12v3H0z"}),_.jsx("path",{fill:"#E0BC00",d:"M0 7h12v1H0z"})]})," Leaflet"]}),_.jsx("span",{"aria-hidden":"true",children:"|"})," ©",_.jsx("a",{href:"https://www.openstreetmap.org/copyright",children:"OpenStreetMap"})," contributors, Tiles courtesy of Humanitarian OpenStreetMap Team (HOT)"]})]})})]})},Sa=({icon:e,label:t,count:i})=>_.jsxs("div",{className:"stat-item",children:[_.jsx("img",{src:e,alt:t,className:"stat-icon"}),_.jsxs("span",{children:[i," ",t]})]}),j0="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20height='24px'%20viewBox='0%20-960%20960%20960'%20width='24px'%20fill='%23000000'%3e%3cpath%20d='M480-496%20296-312l-88-88%20272-272%20272%20272-88%2088-184-184Z'/%3e%3c/svg%3e",I0="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20height='24px'%20viewBox='0%20-960%20960%20960'%20width='24px'%20fill='%23000000'%3e%3cpath%20d='M480-312%20208-584l88-88%20184%20184%20184-184%2088%2088-272%20272Z'/%3e%3c/svg%3e",A0=({isLineDisplayVisible:e,toggleStatsVisibility:t})=>_.jsxs("div",{className:"bottom-stats",children:[_.jsxs("div",{className:"lines-section",children:[_.jsx("h4",{children:"Subway"}),_.jsxs("div",{className:"list-lines",children:[_.jsx("div",{className:"list-lines__item",children:_.jsx("div",{className:"line line--big line-1",role:"button",children:_.jsx("span",{children:"1"})})}),_.jsx("div",{className:"list-lines__item",children:_.jsx("div",{className:"line line--big line-2",role:"button",children:_.jsx("span",{children:"2"})})}),_.jsx("div",{className:"list-lines__item",children:_.jsx("div",{className:"line line--big line-5",role:"button",children:_.jsx("span",{children:"5"})})}),_.jsx("div",{className:"list-lines__item",children:_.jsx("div",{className:"line line--big line-6",role:"button",children:_.jsx("span",{children:"6"})})})]})]}),e&&_.jsxs("div",{className:"lines-section",children:[_.jsx("h4",{children:"Tram"}),_.jsxs("div",{className:"list-lines",children:[_.jsx("div",{className:"list-lines__item",children:_.jsx("div",{className:"line line--big line-3",role:"button",children:_.jsx("span",{children:"3"})})}),_.jsx("div",{className:"list-lines__item",children:_.jsx("div",{className:"line line--big line-4",role:"button",children:_.jsx("span",{children:"4"})})}),_.jsx("div",{className:"list-lines__item",children:_.jsx("div",{className:"line line--big line-7",role:"button",children:_.jsx("span",{children:"7"})})}),_.jsx("div",{className:"list-lines__item",children:_.jsx("div",{className:"line line--big line-8",role:"button",children:_.jsx("span",{children:"8"})})}),_.jsx("div",{className:"list-lines__item",children:_.jsx("div",{className:"line line--big line-9",role:"button",children:_.jsx("span",{children:"9"})})}),_.jsx("div",{className:"list-lines__item",children:_.jsx("div",{className:"line line--big line-18",role:"button",children:_.jsx("span",{children:"18"})})}),_.jsx("div",{className:"list-lines__item",children:_.jsx("div",{className:"line line--big line-19",role:"button",children:_.jsx("span",{children:"19"})})}),_.jsx("div",{className:"list-lines__item",children:_.jsx("div",{className:"line line--big line-25",role:"button",children:_.jsx("span",{children:"25"})})}),_.jsx("div",{className:"list-lines__item",children:_.jsx("div",{className:"line line--big line-39",role:"button",children:_.jsx("span",{children:"39"})})}),_.jsx("div",{className:"list-lines__item",children:_.jsx("div",{className:"line line--big line-44",role:"button",children:_.jsx("span",{children:"44"})})}),_.jsx("div",{className:"list-lines__item",children:_.jsx("div",{className:"line line--big line-51",role:"button",children:_.jsx("span",{children:"51"})})}),_.jsx("div",{className:"list-lines__item",children:_.jsx("div",{className:"line line--big line-55",role:"button",children:_.jsx("span",{children:"55"})})}),_.jsx("div",{className:"list-lines__item",children:_.jsx("div",{className:"line line--big line-62",role:"button",children:_.jsx("span",{children:"62"})})}),_.jsx("div",{className:"list-lines__item",children:_.jsx("div",{className:"line line--big line-81",role:"button",children:_.jsx("span",{children:"81"})})}),_.jsx("div",{className:"list-lines__item",children:_.jsx("div",{className:"line line--big line-82",role:"button",children:_.jsx("span",{children:"82"})})}),_.jsx("div",{className:"list-lines__item",children:_.jsx("div",{className:"line line--big line-92",role:"button",children:_.jsx("span",{children:"92"})})}),_.jsx("div",{className:"list-lines__item",children:_.jsx("div",{className:"line line--big line-93",role:"button",children:_.jsx("span",{children:"93"})})}),_.jsx("div",{className:"list-lines__item",children:_.jsx("div",{className:"line line--big line-97",role:"button",children:_.jsx("span",{children:"97"})})})]}),_.jsx("h4",{children:"Bus"}),_.jsxs("div",{className:"list-lines",children:[_.jsx("div",{className:"list-lines__item",children:_.jsx("div",{className:"line line--big line-12",role:"button",children:_.jsx("span",{children:"12"})})}),_.jsx("div",{className:"list-lines__item",children:_.jsx("div",{className:"line line--big line-13",role:"button",children:_.jsx("span",{children:"13"})})}),_.jsx("div",{className:"list-lines__item",children:_.jsx("div",{className:"line line--big line-14",role:"button",children:_.jsx("span",{children:"14"})})}),_.jsx("div",{className:"list-lines__item",children:_.jsx("div",{className:"line line--big line-17",role:"button",children:_.jsx("span",{children:"17"})})}),_.jsx("div",{className:"list-lines__item",children:_.jsx("div",{className:"line line--big line-20",role:"button",children:_.jsx("span",{children:"20"})})}),_.jsx("div",{className:"list-lines__item",children:_.jsx("div",{className:"line line--big line-21",role:"button",children:_.jsx("span",{children:"21"})})}),_.jsx("div",{className:"list-lines__item",children:_.jsx("div",{className:"line line--big line-27",role:"button",children:_.jsx("span",{children:"27"})})}),_.jsx("div",{className:"list-lines__item",children:_.jsx("div",{className:"line line--big line-28",role:"button",children:_.jsx("span",{children:"28"})})}),_.jsx("div",{className:"list-lines__item",children:_.jsx("div",{className:"line line--big line-29",role:"button",children:_.jsx("span",{children:"29"})})}),_.jsx("div",{className:"list-lines__item",children:_.jsx("div",{className:"line line--big line-33",role:"button",children:_.jsx("span",{children:"33"})})}),_.jsx("div",{className:"list-lines__item",children:_.jsx("div",{className:"line line--big line-34",role:"button",children:_.jsx("span",{children:"34"})})}),_.jsx("div",{className:"list-lines__item",children:_.jsx("div",{className:"line line--big line-36",role:"button",children:_.jsx("span",{children:"36"})})}),_.jsx("div",{className:"list-lines__item",children:_.jsx("div",{className:"line line--big line-37",role:"button",children:_.jsx("span",{children:"37"})})}),_.jsx("div",{className:"list-lines__item",children:_.jsx("div",{className:"line line--big line-38",role:"button",children:_.jsx("span",{children:"38"})})}),_.jsx("div",{className:"list-lines__item",children:_.jsx("div",{className:"line line--big line-41",role:"button",children:_.jsx("span",{children:"41"})})}),_.jsx("div",{className:"list-lines__item",children:_.jsx("div",{className:"line line--big line-42",role:"button",children:_.jsx("span",{children:"42"})})}),_.jsx("div",{className:"list-lines__item",children:_.jsx("div",{className:"line line--big line-43",role:"button",children:_.jsx("span",{children:"43"})})}),_.jsx("div",{className:"list-lines__item",children:_.jsx("div",{className:"line line--big line-45",role:"button",children:_.jsx("span",{children:"45"})})}),_.jsx("div",{className:"list-lines__item",children:_.jsx("div",{className:"line line--big line-46",role:"button",children:_.jsx("span",{children:"46"})})}),_.jsx("div",{className:"list-lines__item",children:_.jsx("div",{className:"line line--big line-47",role:"button",children:_.jsx("span",{children:"47"})})}),_.jsx("div",{className:"list-lines__item",children:_.jsx("div",{className:"line line--big line-48",role:"button",children:_.jsx("span",{children:"48"})})}),_.jsx("div",{className:"list-lines__item",children:_.jsx("div",{className:"line line--big line-49",role:"button",children:_.jsx("span",{children:"49"})})}),_.jsx("div",{className:"list-lines__item",children:_.jsx("div",{className:"line line--big line-50",role:"button",children:_.jsx("span",{children:"50"})})}),_.jsx("div",{className:"list-lines__item",children:_.jsx("div",{className:"line line--big line-52",role:"button",children:_.jsx("span",{children:"52"})})}),_.jsx("div",{className:"list-lines__item",children:_.jsx("div",{className:"line line--big line-53",role:"button",children:_.jsx("span",{children:"53"})})}),_.jsx("div",{className:"list-lines__item",children:_.jsx("div",{className:"line line--big line-54",role:"button",children:_.jsx("span",{children:"54"})})}),_.jsx("div",{className:"list-lines__item",children:_.jsx("div",{className:"line line--big line-56",role:"button",children:_.jsx("span",{children:"56"})})}),_.jsx("div",{className:"list-lines__item",children:_.jsx("div",{className:"line line--big line-57",role:"button",children:_.jsx("span",{children:"57"})})}),_.jsx("div",{className:"list-lines__item",children:_.jsx("div",{className:"line line--big line-58",role:"button",children:_.jsx("span",{children:"58"})})}),_.jsx("div",{className:"list-lines__item",children:_.jsx("div",{className:"line line--big line-59",role:"button",children:_.jsx("span",{children:"59"})})}),_.jsx("div",{className:"list-lines__item",children:_.jsx("div",{className:"line line--big line-60",role:"button",children:_.jsx("span",{children:"60"})})}),_.jsx("div",{className:"list-lines__item",children:_.jsx("div",{className:"line line--big line-61",role:"button",children:_.jsx("span",{children:"61"})})}),_.jsx("div",{className:"list-lines__item",children:_.jsx("div",{className:"line line--big line-63",role:"button",children:_.jsx("span",{children:"63"})})}),_.jsx("div",{className:"list-lines__item",children:_.jsx("div",{className:"line line--big line-64",role:"button",children:_.jsx("span",{children:"64"})})}),_.jsx("div",{className:"list-lines__item",children:_.jsx("div",{className:"line line--big line-65",role:"button",children:_.jsx("span",{children:"65"})})}),_.jsx("div",{className:"list-lines__item",children:_.jsx("div",{className:"line line--big line-66",role:"button",children:_.jsx("span",{children:"66"})})}),_.jsx("div",{className:"list-lines__item",children:_.jsx("div",{className:"line line--big line-69",role:"button",children:_.jsx("span",{children:"69"})})}),_.jsx("div",{className:"list-lines__item",children:_.jsx("div",{className:"line line--big line-71",role:"button",children:_.jsx("span",{children:"71"})})}),_.jsx("div",{className:"list-lines__item",children:_.jsx("div",{className:"line line--big line-72",role:"button",children:_.jsx("span",{children:"72"})})}),_.jsx("div",{className:"list-lines__item",children:_.jsx("div",{className:"line line--big line-73",role:"button",children:_.jsx("span",{children:"73"})})}),_.jsx("div",{className:"list-lines__item",children:_.jsx("div",{className:"line line--big line-74",role:"button",children:_.jsx("span",{children:"74"})})}),_.jsx("div",{className:"list-lines__item",children:_.jsx("div",{className:"line line--big line-75",role:"button",children:_.jsx("span",{children:"75"})})}),_.jsx("div",{className:"list-lines__item",children:_.jsx("div",{className:"line line--big line-76",role:"button",children:_.jsx("span",{children:"76"})})}),_.jsx("div",{className:"list-lines__item",children:_.jsx("div",{className:"line line--big line-77",role:"button",children:_.jsx("span",{children:"77"})})}),_.jsx("div",{className:"list-lines__item",children:_.jsx("div",{className:"line line--big line-78",role:"button",children:_.jsx("span",{children:"78"})})}),_.jsx("div",{className:"list-lines__item",children:_.jsx("div",{className:"line line--big line-79",role:"button",children:_.jsx("span",{children:"79"})})}),_.jsx("div",{className:"list-lines__item",children:_.jsx("div",{className:"line line--big line-80",role:"button",children:_.jsx("span",{children:"80"})})}),_.jsx("div",{className:"list-lines__item",children:_.jsx("div",{className:"line line--big line-83",role:"button",children:_.jsx("span",{children:"83"})})}),_.jsx("div",{className:"list-lines__item",children:_.jsx("div",{className:"line line--big line-86",role:"button",children:_.jsx("span",{children:"86"})})}),_.jsx("div",{className:"list-lines__item",children:_.jsx("div",{className:"line line--big line-87",role:"button",children:_.jsx("span",{children:"87"})})}),_.jsx("div",{className:"list-lines__item",children:_.jsx("div",{className:"line line--big line-88",role:"button",children:_.jsx("span",{children:"88"})})}),_.jsx("div",{className:"list-lines__item",children:_.jsx("div",{className:"line line--big line-89",role:"button",children:_.jsx("span",{children:"89"})})}),_.jsx("div",{className:"list-lines__item",children:_.jsx("div",{className:"line line--big line-95",role:"button",children:_.jsx("span",{children:"95"})})})]})]}),_.jsx("button",{className:"toggle-stats-button",onClick:t,children:_.jsx("img",{src:e?I0:j0,alt:"toggle arrow"})})]}),B0="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20height='24px'%20viewBox='0%20-960%20960%20960'%20width='24px'%20fill='%23000000'%3e%3cpath%20d='M160-160v-640h80v640h-80Zm280%200v-160h80v160h-80Zm280%200v-640h80v640h-80ZM440-400v-160h80v160h-80Zm0-240v-160h80v160h-80Z'/%3e%3c/svg%3e";function R0(){const[e,t]=H.useState([]),[i,o]=H.useState([]),[l,s]=H.useState([]),[u,h]=H.useState(!1),[f,m]=H.useState(!1),v=H.useCallback(k=>{s(k)},[]);H.useEffect(()=>{(async()=>{try{const[w,C,N,A,b]=await Promise.all([fetch("data/gtfs-routes-production.json").then(R=>R.json()),fetch("data/gtfs-stops-production.json").then(R=>R.json()),fetch("data/vehicle-position-rt-production.json").then(R=>R.json()),fetch("data/stop-details-production.json").then(R=>R.json()),fetch("data/stops-by-line-production.json").then(R=>R.json())]),F=C.map(R=>{const oe=A.find(fe=>fe.id===R.stop_id),Q=oe?JSON.parse(oe.name.replace(/\\/g,"")):{fr:R.stop_name,nl:R.stop_name},se=b.reduce((fe,Pt)=>{const Dn=JSON.parse(Pt.points).find(Se=>Se.id===R.stop_id);return Dn&&fe.push({order:Dn.order,lineid:Pt.lineid}),fe},[]);return{...R,stop_name:Q,ordersAndLineIds:se}});t(w),o(F),v(N),h(!0)}catch(w){console.error("Error loading data:",w)}})();const I=async()=>{try{const C=await(await fetch("data/vehicle-position-rt-production.json")).json();v(C)}catch(w){console.error("Error loading trains:",w)}};I();const x=setInterval(I,2e4);return()=>clearInterval(x)},[v]);const{RouteCount:g,stopCount:y,trainCount:S}=H.useMemo(()=>({RouteCount:e.length,stopCount:i.length,trainCount:l.length}),[e,i,l]),E=H.useCallback(()=>{m(k=>!k)},[]);return _.jsxs("div",{className:"app-container",children:[_.jsx("div",{className:"top-left-text",children:_.jsx("span",{children:"Public transport map"})}),_.jsxs("div",{className:"bottom-left-stats",children:[_.jsx(Sa,{icon:B0,label:"lines",count:g}),_.jsx(Sa,{icon:Pl,label:"stops",count:y}),_.jsx(Sa,{icon:Dp,label:"trams, subways and buses",count:S})]}),_.jsx(A0,{isLineDisplayVisible:f,toggleStatsVisibility:E}),u&&_.jsx(O0,{routes:e,stops:i,trains:l,loading:!u})]})}Ca.createRoot(document.getElementById("root")).render(_.jsx(lr.StrictMode,{children:_.jsx(Kg,{children:_.jsx(H.Suspense,{fallback:_.jsx("div",{children:"Loading..."}),children:_.jsx(R0,{})})})})); diff --git a/assets/index-EdwF7H2a.css b/assets/index-EdwF7H2a.css new file mode 100644 index 0000000..c6d3f2d --- /dev/null +++ b/assets/index-EdwF7H2a.css @@ -0,0 +1 @@ +.leaflet-cluster-anim .leaflet-marker-icon,.leaflet-cluster-anim .leaflet-marker-shadow{-webkit-transition:-webkit-transform .3s ease-out,opacity .3s ease-in;-moz-transition:-moz-transform .3s ease-out,opacity .3s ease-in;-o-transition:-o-transform .3s ease-out,opacity .3s ease-in;transition:transform .3s ease-out,opacity .3s ease-in}.leaflet-cluster-spider-leg{-webkit-transition:-webkit-stroke-dashoffset .3s ease-out,-webkit-stroke-opacity .3s ease-in;-moz-transition:-moz-stroke-dashoffset .3s ease-out,-moz-stroke-opacity .3s ease-in;-o-transition:-o-stroke-dashoffset .3s ease-out,-o-stroke-opacity .3s ease-in;transition:stroke-dashoffset .3s ease-out,stroke-opacity .3s ease-in}.marker-cluster-small{background-color:#b5e28c99}.marker-cluster-small div{background-color:#6ecc3999}.marker-cluster-medium{background-color:#f1d35799}.marker-cluster-medium div{background-color:#f0c20c99}.marker-cluster-large{background-color:#fd9c7399}.marker-cluster-large div{background-color:#f1801799}.leaflet-oldie .marker-cluster-small{background-color:#b5e28c}.leaflet-oldie .marker-cluster-small div{background-color:#6ecc39}.leaflet-oldie .marker-cluster-medium{background-color:#f1d357}.leaflet-oldie .marker-cluster-medium div{background-color:#f0c20c}.leaflet-oldie .marker-cluster-large{background-color:#fd9c73}.leaflet-oldie .marker-cluster-large div{background-color:#f18017}.marker-cluster{background-clip:padding-box;border-radius:20px}.marker-cluster div{width:30px;height:30px;margin-left:5px;margin-top:5px;text-align:center;border-radius:15px;font:12px Helvetica Neue,Arial,Helvetica,sans-serif}.marker-cluster span{line-height:30px}.leaflet-container{height:90vh;width:90%;border-radius:1rem;overflow:hidden;box-shadow:0 4px 8px #0000001a}.leaflet-popup-content,.leaflet-tooltip,.leaflet-control-layers label{font-family:Noto Sans,sans-serif!important;font-weight:400}.leaflet-control-zoom{border:transparent!important}.leaflet-control-zoom-in,.leaflet-control-zoom-out{background-color:#fff!important;color:transparent!important;width:40px;height:40px;display:flex;align-items:center;justify-content:center;border-radius:12px!important;box-shadow:0 4px 12px #00000026;cursor:pointer;margin:4px;background-repeat:no-repeat;background-position:center}.leaflet-control-zoom-in{background-image:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20height='24px'%20viewBox='0%20-960%20960%20960'%20width='24px'%20fill='%23000000'%3e%3cpath%20d='M417-417H166v-126h251v-251h126v251h251v126H543v251H417v-251Z'/%3e%3c/svg%3e")}.leaflet-control-zoom-out{background-image:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20height='24px'%20viewBox='0%20-960%20960%20960'%20width='24px'%20fill='%23000000'%3e%3cpath%20d='M166-417v-126h628v126H166Z'/%3e%3c/svg%3e")}.leaflet-control-zoom-in:hover,.leaflet-control-zoom-out:hover{background-color:#555}.leaflet-control-info{border:transparent!important}.line-id{text-align:center!important;font-weight:700!important;margin-bottom:5px!important}#infoButton{background-color:#fff!important;color:transparent!important;width:40px;height:40px;display:flex;align-items:center;justify-content:center;border-radius:12px!important;box-shadow:0 4px 12px #00000026;cursor:pointer;margin:4px;background-repeat:no-repeat;background-position:center;background-image:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20height='24px'%20viewBox='0%20-960%20960%20960'%20width='24px'%20fill='%23000000'%3e%3cpath%20d='M425-265h110v-255H425v255Zm55-315q25.5%200%2042.75-17.25T540-640q0-25.5-17.25-42.75T480-700q-25.5%200-42.75%2017.25T420-640q0%2025.5%2017.25%2042.75T480-580Zm0%20534q-91%200-169.99-34.08-78.98-34.09-137.41-92.52-58.43-58.43-92.52-137.41Q46-389%2046-480q0-91%2034.08-169.99%2034.09-78.98%2092.52-137.41%2058.43-58.43%20137.41-92.52Q389-914%20480-914q91%200%20169.99%2034.08%2078.98%2034.09%20137.41%2092.52%2058.43%2058.43%2092.52%20137.41Q914-571%20914-480q0%2091-34.08%20169.99-34.09%2078.98-92.52%20137.41-58.43%2058.43-137.41%2092.52Q571-46%20480-46Zm0-126q130%200%20219-89t89-219q0-130-89-219t-219-89q-130%200-219%2089t-89%20219q0%20130%2089%20219t219%2089Zm0-308Z'/%3e%3c/svg%3e")}#infoButton:hover{background-color:#555}#infoTooltip{display:none;position:absolute;top:40px;right:0;background:#fff;border:1px solid #ccc;padding:10px;border-radius:5px;box-shadow:0 4px 8px #0000001a;font-family:Noto Sans,sans-serif!important;font-weight:400;z-index:1000}#infoButton:hover+#infoTooltip,#infoTooltip:hover{display:block}.leaflet-control-attribution{display:none!important}.custom-marker-cluster{background-color:#fff;border-radius:12px;color:#fff;display:flex;align-items:center;justify-content:center;font-family:Noto Sans,sans-serif;font-size:14px;font-weight:700;text-align:center;width:40px;height:40px;border:1px solid #ddd;box-shadow:0 4px 12px #00000026;padding:3px;animation:fadeIn .3s ease-in-out;transition:transform .2s}.custom-marker-cluster:hover{transform:scale(1.1)}.cluster-icon{font-size:1.2rem;font-weight:700;color:#007bff;width:100%;justify-content:center;text-align:center}.map-container{height:100vh;width:100%}.leaflet-popup-content-wrapper{padding:0!important;background:none!important;border:none!important;box-shadow:none!important}.leaflet-marker-icon.leaflet-div-icon.leaflet-zoom-animated.leaflet-interactive{width:0px!important;height:0px!important}.leaflet-popup-content{display:flex;flex-direction:column;gap:12px;width:320px;padding:16px;background-color:transparent!important}.leaflet-popup-tip-container,.leaflet-popup-close-button{display:none!important}.popup-content{display:flex;flex-direction:column;gap:12px;padding:16px;border-radius:12px;background-color:#fff;box-shadow:0 4px 12px #00000026;animation:fadeIn .3s ease-in-out}.popup-content img{width:60px;height:60px;margin:0 auto 16px;border-radius:12px;object-fit:cover;box-shadow:0 2px 8px #0003}.device-name{font-size:22px;font-weight:700;text-align:center;color:#007bff}.italic{font-size:20px;font-weight:500;text-align:center;color:#007bff;font-style:italic}.lines-section{display:flex;flex-direction:column}.titles,.rows{display:flex;justify-content:center;align-items:center;margin-bottom:5px;width:100%}.titles h4{width:50%;text-align:center}.list-columns{display:flex;flex-direction:column;margin:auto;align-items:center;width:70%}.list-columns__item{display:flex;justify-content:center;align-items:center;width:100%;margin-bottom:5px}.line-column{width:50%;text-align:center;align-items:center}.order-column{font-size:14px;font-weight:700;color:#000;width:50%;text-align:center;align-items:center}.info-grid{display:grid;grid-template-columns:auto 1fr;gap:8px 12px}.info-grid .info-label{font-weight:700;color:#555;text-align:right}.info-grid .info-value{color:#333;padding-left:8px}.info-grid .info-id{font-style:italic}.description-title{font-weight:700}.popup-content .description{font-size:14px;color:#555;line-height:1.6;margin-top:16px;padding-top:8px;border-top:1px solid #333}@keyframes fadeIn{0%{opacity:0;transform:scale(.95)}to{opacity:1;transform:scale(1)}}.fade-in{opacity:0;animation:fadeInkeyframes 1.5s forwards}@keyframes fadeInkeyframes{to{opacity:1}}.custom-icon-wrapper{position:relative;display:inline-block;background-color:#fff;width:40px;height:40px;display:flex;align-items:center;justify-content:center;border-radius:12px;box-shadow:0 4px 12px #00000026;cursor:pointer;margin:4px;background-repeat:no-repeat;background-position:center;font-family:Noto Sans,sans-serif}.custom-icon-img{width:38px;height:38px}.custom-icon-label{position:absolute;bottom:25px;left:20px;display:flex;flex-direction:row;align-items:center;justify-content:center;background:transparent;border-radius:12px!important;color:#fff;font-weight:700;white-space:nowrap}.custom-icon-label .line-column{transform:translate(-50%);margin-right:1px}.last-stop .popup-content{border:2px solid red;padding:10px}.list-lines{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}.list-lines__item{display:flex}.line--big{display:flex;align-items:center;justify-content:center;width:25px;height:25px;font-weight:700;font-size:16px;color:#fff;cursor:pointer;border-radius:.2em}.toggle-stats-button{background-color:#fff;color:#fff;border:none;cursor:pointer}.toggle-stats-button:hover{background-color:#fff}.line{border-radius:.2em}.line-1{background:#b5378c;color:#fff}.line-2{background:#ed6c23;color:#fff}.line-5{background:#f6a90b;color:#fff}.line-6{background:#0066a3;color:#fff}.line-3{background:#b4bd10;color:#000}.line-4{background:#ea4f80;color:#000}.line-7{background:#efe048;color:#000}.line-8{background:#169fdb;color:#fff}.line-9{background:#c44f97;color:#fff}.line-18{background:#91bee7;color:#000}.line-19{background:#e43c2e;color:#fff}.line-25{background:#a12944;color:#fff}.line-39{background:#e43c2e;color:#fff}.line-44,.line-51,.line-55{background:#f3c300;color:#000}.line-62{background:#f29dc3;color:#000}.line-81{background:#4c8b33;color:#fff}.line-82{background:#91bee7;color:#000}.line-92{background:#e43c2e;color:#fff}.line-93{background:#ed7807;color:#fff}.line-97{background:#a12944;color:#fff}.line-12{background:#4c8b33;color:#fff}.line-13{background:#91bee7;color:#000}.line-14{background:#f29dc3;color:#000}.line-17{background:#e43c2e;color:#fff}.line-20{background:#f3c300;color:#000}.line-21{background:#ffdc01;color:#000}.line-27{background:#91bee7;color:#000}.line-28{background:#e43c2e;color:#fff}.line-29{background:#ed7807;color:#fff}.line-33{background:#f29dc3;color:#000}.line-34{background:#f3c300;color:#000}.line-36{background:#91bee7;color:#000}.line-37{background:#306196;color:#fff}.line-38{background:#a67cb0;color:#fff}.line-41{background:#91bee7;color:#000}.line-42{background:#4c8b33;color:#fff}.line-43{background:#9b6018;color:#fff}.line-45{background:#a67cb0;color:#fff}.line-46{background:#e43c2e;color:#fff}.line-47{background:#a67cb0;color:#fff}.line-48{background:#ed7807;color:#fff}.line-49{background:#306196;color:#fff}.line-50{background:#b4bd10;color:#000}.line-52{background:#ffdc01;color:#000}.line-53{background:#4c8b33;color:#fff}.line-54{background:#e43c2e;color:#fff}.line-56{background:#ed7807;color:#fff}.line-57{background:#e43c2e;color:#fff}.line-58{background:#4c8b33;color:#fff}.line-59{background:#9b6018;color:#fff}.line-60{background:#f29dc3;color:#000}.line-61{background:#ffdc01;color:#000}.line-63{background:#91bee7;color:#000}.line-64{background:#e43c2e;color:#fff}.line-65{background:#f3c300;color:#000}.line-66{background:#306196;color:#fff}.line-69{background:#ed7807;color:#fff}.line-71{background:#4c8b33;color:#fff}.line-72,.line-73{background:#f29dc3;color:#000}.line-74{background:#a67cb0;color:#fff}.line-75,.line-76{background:#ffdc01;color:#000}.line-77{background:#4c8b33;color:#fff}.line-78{background:#a67cb0;color:#fff}.line-79{background:#306196;color:#fff}.line-80{background:#4c8b33;color:#fff}.line-83{background:#b4bd10;color:#000}.line-86{background:#306196;color:#fff}.line-87{background:#4c8b33;color:#fff}.line-88{background:#a12944;color:#fff}.line-89{background:#b4bd10;color:#000}.line-95{background:#306196;color:#fff}.stat-item{display:flex;align-items:center;gap:8px}.stat-icon{width:24px;height:24px}*{box-sizing:border-box;margin:0;padding:0}body{font-family:Noto Sans,sans-serif}#root{height:100vh;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:1em;color:#333;background-color:#f3e4d7}.app-container{position:relative;height:100vh;width:100%}.top-left-text{position:absolute;transform:translate(-50%);top:10px;left:50%;background-color:#fff;padding:8px 16px;border-radius:8px;box-shadow:0 2px 4px #0000001a;font-size:20px;font-weight:700;color:#333;z-index:1000}.bottom-left-stats{position:absolute;transform:translate(-10%);bottom:10px;left:5%;display:flex;flex-direction:column;font-weight:700;gap:8px;background-color:#fff;padding:8px 16px;border-radius:8px;box-shadow:0 2px 4px #0000001a;font-size:16px;color:#333;z-index:1000}.bottom-stats{position:absolute;transform:translate(-20%);bottom:10px;left:50%;display:flex;flex-direction:column;font-weight:700;gap:8px;background-color:#fff;padding:8px 16px;border-radius:8px;box-shadow:0 2px 4px #0000001a;font-size:16px;color:#333;z-index:1000}.leaflet-pane,.leaflet-tile,.leaflet-marker-icon,.leaflet-marker-shadow,.leaflet-tile-container,.leaflet-pane>svg,.leaflet-pane>canvas,.leaflet-zoom-box,.leaflet-image-layer,.leaflet-layer{position:absolute;left:0;top:0}.leaflet-container{overflow:hidden}.leaflet-tile,.leaflet-marker-icon,.leaflet-marker-shadow{-webkit-user-select:none;-moz-user-select:none;user-select:none;-webkit-user-drag:none}.leaflet-tile::selection{background:transparent}.leaflet-safari .leaflet-tile{image-rendering:-webkit-optimize-contrast}.leaflet-safari .leaflet-tile-container{width:1600px;height:1600px;-webkit-transform-origin:0 0}.leaflet-marker-icon,.leaflet-marker-shadow{display:block}.leaflet-container .leaflet-overlay-pane svg{max-width:none!important;max-height:none!important}.leaflet-container .leaflet-marker-pane img,.leaflet-container .leaflet-shadow-pane img,.leaflet-container .leaflet-tile-pane img,.leaflet-container img.leaflet-image-layer,.leaflet-container .leaflet-tile{max-width:none!important;max-height:none!important;width:auto;padding:0}.leaflet-container img.leaflet-tile{mix-blend-mode:plus-lighter}.leaflet-container.leaflet-touch-zoom{-ms-touch-action:pan-x pan-y;touch-action:pan-x pan-y}.leaflet-container.leaflet-touch-drag{-ms-touch-action:pinch-zoom;touch-action:none;touch-action:pinch-zoom}.leaflet-container.leaflet-touch-drag.leaflet-touch-zoom{-ms-touch-action:none;touch-action:none}.leaflet-container{-webkit-tap-highlight-color:transparent}.leaflet-container a{-webkit-tap-highlight-color:rgba(51,181,229,.4)}.leaflet-tile{filter:inherit;visibility:hidden}.leaflet-tile-loaded{visibility:inherit}.leaflet-zoom-box{width:0;height:0;-moz-box-sizing:border-box;box-sizing:border-box;z-index:800}.leaflet-overlay-pane svg{-moz-user-select:none}.leaflet-pane{z-index:400}.leaflet-tile-pane{z-index:200}.leaflet-overlay-pane{z-index:400}.leaflet-shadow-pane{z-index:500}.leaflet-marker-pane{z-index:600}.leaflet-tooltip-pane{z-index:650}.leaflet-popup-pane{z-index:700}.leaflet-map-pane canvas{z-index:100}.leaflet-map-pane svg{z-index:200}.leaflet-vml-shape{width:1px;height:1px}.lvml{behavior:url(#default#VML);display:inline-block;position:absolute}.leaflet-control{position:relative;z-index:800;pointer-events:visiblePainted;pointer-events:auto}.leaflet-top,.leaflet-bottom{position:absolute;z-index:1000;pointer-events:none}.leaflet-top{top:0}.leaflet-right{right:0}.leaflet-bottom{bottom:0}.leaflet-left{left:0}.leaflet-control{float:left;clear:both}.leaflet-right .leaflet-control{float:right}.leaflet-top .leaflet-control{margin-top:10px}.leaflet-bottom .leaflet-control{margin-bottom:10px}.leaflet-left .leaflet-control{margin-left:10px}.leaflet-right .leaflet-control{margin-right:10px}.leaflet-fade-anim .leaflet-popup{opacity:0;-webkit-transition:opacity .2s linear;-moz-transition:opacity .2s linear;transition:opacity .2s linear}.leaflet-fade-anim .leaflet-map-pane .leaflet-popup{opacity:1}.leaflet-zoom-animated{-webkit-transform-origin:0 0;-ms-transform-origin:0 0;transform-origin:0 0}svg.leaflet-zoom-animated{will-change:transform}.leaflet-zoom-anim .leaflet-zoom-animated{-webkit-transition:-webkit-transform .25s cubic-bezier(0,0,.25,1);-moz-transition:-moz-transform .25s cubic-bezier(0,0,.25,1);transition:transform .25s cubic-bezier(0,0,.25,1)}.leaflet-zoom-anim .leaflet-tile,.leaflet-pan-anim .leaflet-tile{-webkit-transition:none;-moz-transition:none;transition:none}.leaflet-zoom-anim .leaflet-zoom-hide{visibility:hidden}.leaflet-interactive{cursor:pointer}.leaflet-grab{cursor:-webkit-grab;cursor:-moz-grab;cursor:grab}.leaflet-crosshair,.leaflet-crosshair .leaflet-interactive{cursor:crosshair}.leaflet-popup-pane,.leaflet-control{cursor:auto}.leaflet-dragging .leaflet-grab,.leaflet-dragging .leaflet-grab .leaflet-interactive,.leaflet-dragging .leaflet-marker-draggable{cursor:move;cursor:-webkit-grabbing;cursor:-moz-grabbing;cursor:grabbing}.leaflet-marker-icon,.leaflet-marker-shadow,.leaflet-image-layer,.leaflet-pane>svg path,.leaflet-tile-container{pointer-events:none}.leaflet-marker-icon.leaflet-interactive,.leaflet-image-layer.leaflet-interactive,.leaflet-pane>svg path.leaflet-interactive,svg.leaflet-image-layer.leaflet-interactive path{pointer-events:visiblePainted;pointer-events:auto}.leaflet-container{background:#ddd;outline-offset:1px}.leaflet-container a{color:#0078a8}.leaflet-zoom-box{border:2px dotted #38f;background:#ffffff80}.leaflet-container{font-family:Helvetica Neue,Arial,Helvetica,sans-serif;font-size:12px;font-size:.75rem;line-height:1.5}.leaflet-bar{box-shadow:0 1px 5px #000000a6;border-radius:4px}.leaflet-bar a{background-color:#fff;border-bottom:1px solid #ccc;width:26px;height:26px;line-height:26px;display:block;text-align:center;text-decoration:none;color:#000}.leaflet-bar a,.leaflet-control-layers-toggle{background-position:50% 50%;background-repeat:no-repeat;display:block}.leaflet-bar a:hover,.leaflet-bar a:focus{background-color:#f4f4f4}.leaflet-bar a:first-child{border-top-left-radius:4px;border-top-right-radius:4px}.leaflet-bar a:last-child{border-bottom-left-radius:4px;border-bottom-right-radius:4px;border-bottom:none}.leaflet-bar a.leaflet-disabled{cursor:default;background-color:#f4f4f4;color:#bbb}.leaflet-touch .leaflet-bar a{width:30px;height:30px;line-height:30px}.leaflet-touch .leaflet-bar a:first-child{border-top-left-radius:2px;border-top-right-radius:2px}.leaflet-touch .leaflet-bar a:last-child{border-bottom-left-radius:2px;border-bottom-right-radius:2px}.leaflet-control-zoom-in,.leaflet-control-zoom-out{font:700 18px Lucida Console,Monaco,monospace;text-indent:1px}.leaflet-touch .leaflet-control-zoom-in,.leaflet-touch .leaflet-control-zoom-out{font-size:22px}.leaflet-control-layers{box-shadow:0 1px 5px #0006;background:#fff;border-radius:5px}.leaflet-control-layers-toggle{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAQAAAADQ4RFAAACf0lEQVR4AY1UM3gkARTePdvdoTxXKc+qTl3aU5U6b2Kbkz3Gtq3Zw6ziLGNPzrYx7946Tr6/ee/XeCQ4D3ykPtL5tHno4n0d/h3+xfuWHGLX81cn7r0iTNzjr7LrlxCqPtkbTQEHeqOrTy4Yyt3VCi/IOB0v7rVC7q45Q3Gr5K6jt+3Gl5nCoDD4MtO+j96Wu8atmhGqcNGHObuf8OM/x3AMx38+4Z2sPqzCxRFK2aF2e5Jol56XTLyggAMTL56XOMoS1W4pOyjUcGGQdZxU6qRh7B9Zp+PfpOFlqt0zyDZckPi1ttmIp03jX8gyJ8a/PG2yutpS/Vol7peZIbZcKBAEEheEIAgFbDkz5H6Zrkm2hVWGiXKiF4Ycw0RWKdtC16Q7qe3X4iOMxruonzegJzWaXFrU9utOSsLUmrc0YjeWYjCW4PDMADElpJSSQ0vQvA1Tm6/JlKnqFs1EGyZiFCqnRZTEJJJiKRYzVYzJck2Rm6P4iH+cmSY0YzimYa8l0EtTODFWhcMIMVqdsI2uiTvKmTisIDHJ3od5GILVhBCarCfVRmo4uTjkhrhzkiBV7SsaqS+TzrzM1qpGGUFt28pIySQHR6h7F6KSwGWm97ay+Z+ZqMcEjEWebE7wxCSQwpkhJqoZA5ivCdZDjJepuJ9IQjGGUmuXJdBFUygxVqVsxFsLMbDe8ZbDYVCGKxs+W080max1hFCarCfV+C1KATwcnvE9gRRuMP2prdbWGowm1KB1y+zwMMENkM755cJ2yPDtqhTI6ED1M/82yIDtC/4j4BijjeObflpO9I9MwXTCsSX8jWAFeHr05WoLTJ5G8IQVS/7vwR6ohirYM7f6HzYpogfS3R2OAAAAAElFTkSuQmCC);width:36px;height:36px}.leaflet-retina .leaflet-control-layers-toggle{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADQAAAA0CAQAAABvcdNgAAAEsklEQVR4AWL4TydIhpZK1kpWOlg0w3ZXP6D2soBtG42jeI6ZmQTHzAxiTbSJsYLjO9HhP+WOmcuhciVnmHVQcJnp7DFvScowZorad/+V/fVzMdMT2g9Cv9guXGv/7pYOrXh2U+RRR3dSd9JRx6bIFc/ekqHI29JC6pJ5ZEh1yWkhkbcFeSjxgx3L2m1cb1C7bceyxA+CNjT/Ifff+/kDk2u/w/33/IeCMOSaWZ4glosqT3DNnNZQ7Cs58/3Ce5HL78iZH/vKVIaYlqzfdLu8Vi7dnvUbEza5Idt36tquZFldl6N5Z/POLof0XLK61mZCmJSWjVF9tEjUluu74IUXvgttuVIHE7YxSkaYhJZam7yiM9Pv82JYfl9nptxZaxMJE4YSPty+vF0+Y2up9d3wwijfjZbabqm/3bZ9ecKHsiGmRflnn1MW4pjHf9oLufyn2z3y1D6n8g8TZhxyzipLNPnAUpsOiuWimg52psrTZYnOWYNDTMuWBWa0tJb4rgq1UvmutpaYEbZlwU3CLJm/ayYjHW5/h7xWLn9Hh1vepDkyf7dE7MtT5LR4e7yYpHrkhOUpEfssBLq2pPhAqoSWKUkk7EDqkmK6RrCEzqDjhNDWNE+XSMvkJRDWlZTmCW0l0PHQGRZY5t1L83kT0Y3l2SItk5JAWHl2dCOBm+fPu3fo5/3v61RMCO9Jx2EEYYhb0rmNQMX/vm7gqOEJLcXTGw3CAuRNeyaPWwjR8PRqKQ1PDA/dpv+on9Shox52WFnx0KY8onHayrJzm87i5h9xGw/tfkev0jGsQizqezUKjk12hBMKJ4kbCqGPVNXudyyrShovGw5CgxsRICxF6aRmSjlBnHRzg7Gx8fKqEubI2rahQYdR1YgDIRQO7JvQyD52hoIQx0mxa0ODtW2Iozn1le2iIRdzwWewedyZzewidueOGqlsn1MvcnQpuVwLGG3/IR1hIKxCjelIDZ8ldqWz25jWAsnldEnK0Zxro19TGVb2ffIZEsIO89EIEDvKMPrzmBOQcKQ+rroye6NgRRxqR4U8EAkz0CL6uSGOm6KQCdWjvjRiSP1BPalCRS5iQYiEIvxuBMJEWgzSoHADcVMuN7IuqqTeyUPq22qFimFtxDyBBJEwNyt6TM88blFHao/6tWWhuuOM4SAK4EI4QmFHA+SEyWlp4EQoJ13cYGzMu7yszEIBOm2rVmHUNqwAIQabISNMRstmdhNWcFLsSm+0tjJH1MdRxO5Nx0WDMhCtgD6OKgZeljJqJKc9po8juskR9XN0Y1lZ3mWjLR9JCO1jRDMd0fpYC2VnvjBSEFg7wBENc0R9HFlb0xvF1+TBEpF68d+DHR6IOWVv2BECtxo46hOFUBd/APU57WIoEwJhIi2CdpyZX0m93BZicktMj1AS9dClteUFAUNUIEygRZCtik5zSxI9MubTBH1GOiHsiLJ3OCoSZkILa9PxiN0EbvhsAo8tdAf9Seepd36lGWHmtNANTv5Jd0z4QYyeo/UEJqxKRpg5LZx6btLPsOaEmdMyxYdlc8LMaJnikDlhclqmPiQnTEpLUIZEwkRagjYkEibQErwhkTAKCLQEbUgkzJQWc/0PstHHcfEdQ+UAAAAASUVORK5CYII=);background-size:26px 26px}.leaflet-touch .leaflet-control-layers-toggle{width:44px;height:44px}.leaflet-control-layers .leaflet-control-layers-list,.leaflet-control-layers-expanded .leaflet-control-layers-toggle{display:none}.leaflet-control-layers-expanded .leaflet-control-layers-list{display:block;position:relative}.leaflet-control-layers-expanded{padding:6px 10px 6px 6px;color:#333;background:#fff}.leaflet-control-layers-scrollbar{overflow-y:scroll;overflow-x:hidden;padding-right:5px}.leaflet-control-layers-selector{margin-top:2px;position:relative;top:1px}.leaflet-control-layers label{display:block;font-size:13px;font-size:1.08333em}.leaflet-control-layers-separator{height:0;border-top:1px solid #ddd;margin:5px -10px 5px -6px}.leaflet-default-icon-path{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAApCAYAAADAk4LOAAAFgUlEQVR4Aa1XA5BjWRTN2oW17d3YaZtr2962HUzbDNpjszW24mRt28p47v7zq/bXZtrp/lWnXr337j3nPCe85NcypgSFdugCpW5YoDAMRaIMqRi6aKq5E3YqDQO3qAwjVWrD8Ncq/RBpykd8oZUb/kaJutow8r1aP9II0WmLKLIsJyv1w/kqw9Ch2MYdB++12Onxee/QMwvf4/Dk/Lfp/i4nxTXtOoQ4pW5Aj7wpici1A9erdAN2OH64x8OSP9j3Ft3b7aWkTg/Fm91siTra0f9on5sQr9INejH6CUUUpavjFNq1B+Oadhxmnfa8RfEmN8VNAsQhPqF55xHkMzz3jSmChWU6f7/XZKNH+9+hBLOHYozuKQPxyMPUKkrX/K0uWnfFaJGS1QPRtZsOPtr3NsW0uyh6NNCOkU3Yz+bXbT3I8G3xE5EXLXtCXbbqwCO9zPQYPRTZ5vIDXD7U+w7rFDEoUUf7ibHIR4y6bLVPXrz8JVZEql13trxwue/uDivd3fkWRbS6/IA2bID4uk0UpF1N8qLlbBlXs4Ee7HLTfV1j54APvODnSfOWBqtKVvjgLKzF5YdEk5ewRkGlK0i33Eofffc7HT56jD7/6U+qH3Cx7SBLNntH5YIPvODnyfIXZYRVDPqgHtLs5ABHD3YzLuespb7t79FY34DjMwrVrcTuwlT55YMPvOBnRrJ4VXTdNnYug5ucHLBjEpt30701A3Ts+HEa73u6dT3FNWwflY86eMHPk+Yu+i6pzUpRrW7SNDg5JHR4KapmM5Wv2E8Tfcb1HoqqHMHU+uWDD7zg54mz5/2BSnizi9T1Dg4QQXLToGNCkb6tb1NU+QAlGr1++eADrzhn/u8Q2YZhQVlZ5+CAOtqfbhmaUCS1ezNFVm2imDbPmPng5wmz+gwh+oHDce0eUtQ6OGDIyR0uUhUsoO3vfDmmgOezH0mZN59x7MBi++WDL1g/eEiU3avlidO671bkLfwbw5XV2P8Pzo0ydy4t2/0eu33xYSOMOD8hTf4CrBtGMSoXfPLchX+J0ruSePw3LZeK0juPJbYzrhkH0io7B3k164hiGvawhOKMLkrQLyVpZg8rHFW7E2uHOL888IBPlNZ1FPzstSJM694fWr6RwpvcJK60+0HCILTBzZLFNdtAzJaohze60T8qBzyh5ZuOg5e7uwQppofEmf2++DYvmySqGBuKaicF1blQjhuHdvCIMvp8whTTfZzI7RldpwtSzL+F1+wkdZ2TBOW2gIF88PBTzD/gpeREAMEbxnJcaJHNHrpzji0gQCS6hdkEeYt9DF/2qPcEC8RM28Hwmr3sdNyht00byAut2k3gufWNtgtOEOFGUwcXWNDbdNbpgBGxEvKkOQsxivJx33iow0Vw5S6SVTrpVq11ysA2Rp7gTfPfktc6zhtXBBC+adRLshf6sG2RfHPZ5EAc4sVZ83yCN00Fk/4kggu40ZTvIEm5g24qtU4KjBrx/BTTH8ifVASAG7gKrnWxJDcU7x8X6Ecczhm3o6YicvsLXWfh3Ch1W0k8x0nXF+0fFxgt4phz8QvypiwCCFKMqXCnqXExjq10beH+UUA7+nG6mdG/Pu0f3LgFcGrl2s0kNNjpmoJ9o4B29CMO8dMT4Q5ox8uitF6fqsrJOr8qnwNbRzv6hSnG5wP+64C7h9lp30hKNtKdWjtdkbuPA19nJ7Tz3zR/ibgARbhb4AlhavcBebmTHcFl2fvYEnW0ox9xMxKBS8btJ+KiEbq9zA4RthQXDhPa0T9TEe69gWupwc6uBUphquXgf+/FrIjweHQS4/pduMe5ERUMHUd9xv8ZR98CxkS4F2n3EUrUZ10EYNw7BWm9x1GiPssi3GgiGRDKWRYZfXlON+dfNbM+GgIwYdwAAAAASUVORK5CYII=)}.leaflet-container .leaflet-control-attribution{background:#fff;background:#fffc;margin:0}.leaflet-control-attribution,.leaflet-control-scale-line{padding:0 5px;color:#333;line-height:1.4}.leaflet-control-attribution a{text-decoration:none}.leaflet-control-attribution a:hover,.leaflet-control-attribution a:focus{text-decoration:underline}.leaflet-attribution-flag{display:inline!important;vertical-align:baseline!important;width:1em;height:.6669em}.leaflet-left .leaflet-control-scale{margin-left:5px}.leaflet-bottom .leaflet-control-scale{margin-bottom:5px}.leaflet-control-scale-line{border:2px solid #777;border-top:none;line-height:1.1;padding:2px 5px 1px;white-space:nowrap;-moz-box-sizing:border-box;box-sizing:border-box;background:#fffc;text-shadow:1px 1px #fff}.leaflet-control-scale-line:not(:first-child){border-top:2px solid #777;border-bottom:none;margin-top:-2px}.leaflet-control-scale-line:not(:first-child):not(:last-child){border-bottom:2px solid #777}.leaflet-touch .leaflet-control-attribution,.leaflet-touch .leaflet-control-layers,.leaflet-touch .leaflet-bar{box-shadow:none}.leaflet-touch .leaflet-control-layers,.leaflet-touch .leaflet-bar{border:2px solid rgba(0,0,0,.2);background-clip:padding-box}.leaflet-popup{position:absolute;text-align:center;margin-bottom:20px}.leaflet-popup-content-wrapper{padding:1px;text-align:left;border-radius:12px}.leaflet-popup-content{margin:13px 24px 13px 20px;line-height:1.3;font-size:13px;font-size:1.08333em;min-height:1px}.leaflet-popup-content p{margin:1.3em 0}.leaflet-popup-tip-container{width:40px;height:20px;position:absolute;left:50%;margin-top:-1px;margin-left:-20px;overflow:hidden;pointer-events:none}.leaflet-popup-tip{width:17px;height:17px;padding:1px;margin:-10px auto 0;pointer-events:auto;-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg)}.leaflet-popup-content-wrapper,.leaflet-popup-tip{background:#fff;color:#333;box-shadow:0 3px 14px #0006}.leaflet-container a.leaflet-popup-close-button{position:absolute;top:0;right:0;border:none;text-align:center;width:24px;height:24px;font:16px/24px Tahoma,Verdana,sans-serif;color:#757575;text-decoration:none;background:transparent}.leaflet-container a.leaflet-popup-close-button:hover,.leaflet-container a.leaflet-popup-close-button:focus{color:#585858}.leaflet-popup-scrolled{overflow:auto}.leaflet-oldie .leaflet-popup-content-wrapper{-ms-zoom:1}.leaflet-oldie .leaflet-popup-tip{width:24px;margin:0 auto;-ms-filter:"progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678)";filter:progid:DXImageTransform.Microsoft.Matrix(M11=.70710678,M12=.70710678,M21=-.70710678,M22=.70710678)}.leaflet-oldie .leaflet-control-zoom,.leaflet-oldie .leaflet-control-layers,.leaflet-oldie .leaflet-popup-content-wrapper,.leaflet-oldie .leaflet-popup-tip{border:1px solid #999}.leaflet-div-icon{background:#fff;border:1px solid #666}.leaflet-tooltip{position:absolute;padding:6px;background-color:#fff;border:1px solid #fff;border-radius:3px;color:#222;white-space:nowrap;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none;box-shadow:0 1px 3px #0006}.leaflet-tooltip.leaflet-interactive{cursor:pointer;pointer-events:auto}.leaflet-tooltip-top:before,.leaflet-tooltip-bottom:before,.leaflet-tooltip-left:before,.leaflet-tooltip-right:before{position:absolute;pointer-events:none;border:6px solid transparent;background:transparent;content:""}.leaflet-tooltip-bottom{margin-top:6px}.leaflet-tooltip-top{margin-top:-6px}.leaflet-tooltip-bottom:before,.leaflet-tooltip-top:before{left:50%;margin-left:-6px}.leaflet-tooltip-top:before{bottom:0;margin-bottom:-12px;border-top-color:#fff}.leaflet-tooltip-bottom:before{top:0;margin-top:-12px;margin-left:-6px;border-bottom-color:#fff}.leaflet-tooltip-left{margin-left:-6px}.leaflet-tooltip-right{margin-left:6px}.leaflet-tooltip-left:before,.leaflet-tooltip-right:before{top:50%;margin-top:-6px}.leaflet-tooltip-left:before{right:0;margin-right:-12px;border-left-color:#fff}.leaflet-tooltip-right:before{left:0;margin-left:-12px;border-right-color:#fff}@media print{.leaflet-control{-webkit-print-color-adjust:exact;print-color-adjust:exact}} diff --git a/assets/index-d-j9l5xf.css b/assets/index-d-j9l5xf.css deleted file mode 100644 index a7db7eb..0000000 --- a/assets/index-d-j9l5xf.css +++ /dev/null @@ -1 +0,0 @@ -.leaflet-cluster-anim .leaflet-marker-icon,.leaflet-cluster-anim .leaflet-marker-shadow{-webkit-transition:-webkit-transform .3s ease-out,opacity .3s ease-in;-moz-transition:-moz-transform .3s ease-out,opacity .3s ease-in;-o-transition:-o-transform .3s ease-out,opacity .3s ease-in;transition:transform .3s ease-out,opacity .3s ease-in}.leaflet-cluster-spider-leg{-webkit-transition:-webkit-stroke-dashoffset .3s ease-out,-webkit-stroke-opacity .3s ease-in;-moz-transition:-moz-stroke-dashoffset .3s ease-out,-moz-stroke-opacity .3s ease-in;-o-transition:-o-stroke-dashoffset .3s ease-out,-o-stroke-opacity .3s ease-in;transition:stroke-dashoffset .3s ease-out,stroke-opacity .3s ease-in}.marker-cluster-small{background-color:#b5e28c99}.marker-cluster-small div{background-color:#6ecc3999}.marker-cluster-medium{background-color:#f1d35799}.marker-cluster-medium div{background-color:#f0c20c99}.marker-cluster-large{background-color:#fd9c7399}.marker-cluster-large div{background-color:#f1801799}.leaflet-oldie .marker-cluster-small{background-color:#b5e28c}.leaflet-oldie .marker-cluster-small div{background-color:#6ecc39}.leaflet-oldie .marker-cluster-medium{background-color:#f1d357}.leaflet-oldie .marker-cluster-medium div{background-color:#f0c20c}.leaflet-oldie .marker-cluster-large{background-color:#fd9c73}.leaflet-oldie .marker-cluster-large div{background-color:#f18017}.marker-cluster{background-clip:padding-box;border-radius:20px}.marker-cluster div{width:30px;height:30px;margin-left:5px;margin-top:5px;text-align:center;border-radius:15px;font:12px Helvetica Neue,Arial,Helvetica,sans-serif}.marker-cluster span{line-height:30px}.leaflet-container{height:90vh;width:90%;border-radius:1rem;overflow:hidden;box-shadow:0 4px 8px #0000001a}.leaflet-popup-content,.leaflet-tooltip,.leaflet-control-layers label{font-family:Noto Sans,sans-serif!important;font-weight:400}.leaflet-control-zoom{border:transparent!important}.leaflet-control-zoom-in,.leaflet-control-zoom-out{background-color:#fff!important;color:transparent!important;width:40px;height:40px;display:flex;align-items:center;justify-content:center;border-radius:12px!important;box-shadow:0 4px 12px #00000026;cursor:pointer;margin:4px;background-repeat:no-repeat;background-position:center}.leaflet-control-zoom-in{background-image:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20height='24px'%20viewBox='0%20-960%20960%20960'%20width='24px'%20fill='%23000000'%3e%3cpath%20d='M417-417H166v-126h251v-251h126v251h251v126H543v251H417v-251Z'/%3e%3c/svg%3e")}.leaflet-control-zoom-out{background-image:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20height='24px'%20viewBox='0%20-960%20960%20960'%20width='24px'%20fill='%23000000'%3e%3cpath%20d='M166-417v-126h628v126H166Z'/%3e%3c/svg%3e")}.leaflet-control-zoom-in:hover,.leaflet-control-zoom-out:hover{background-color:#555}.leaflet-control-info{border:transparent!important}.line-id{text-align:center!important;font-weight:700!important;margin-bottom:5px!important}#infoButton{background-color:#fff!important;color:transparent!important;width:40px;height:40px;display:flex;align-items:center;justify-content:center;border-radius:12px!important;box-shadow:0 4px 12px #00000026;cursor:pointer;margin:4px;background-repeat:no-repeat;background-position:center;background-image:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20height='24px'%20viewBox='0%20-960%20960%20960'%20width='24px'%20fill='%23000000'%3e%3cpath%20d='M425-265h110v-255H425v255Zm55-315q25.5%200%2042.75-17.25T540-640q0-25.5-17.25-42.75T480-700q-25.5%200-42.75%2017.25T420-640q0%2025.5%2017.25%2042.75T480-580Zm0%20534q-91%200-169.99-34.08-78.98-34.09-137.41-92.52-58.43-58.43-92.52-137.41Q46-389%2046-480q0-91%2034.08-169.99%2034.09-78.98%2092.52-137.41%2058.43-58.43%20137.41-92.52Q389-914%20480-914q91%200%20169.99%2034.08%2078.98%2034.09%20137.41%2092.52%2058.43%2058.43%2092.52%20137.41Q914-571%20914-480q0%2091-34.08%20169.99-34.09%2078.98-92.52%20137.41-58.43%2058.43-137.41%2092.52Q571-46%20480-46Zm0-126q130%200%20219-89t89-219q0-130-89-219t-219-89q-130%200-219%2089t-89%20219q0%20130%2089%20219t219%2089Zm0-308Z'/%3e%3c/svg%3e")}#infoButton:hover{background-color:#555}#infoTooltip{display:none;position:absolute;top:40px;right:0;background:#fff;border:1px solid #ccc;padding:10px;border-radius:5px;box-shadow:0 4px 8px #0000001a;font-family:Noto Sans,sans-serif!important;font-weight:400;z-index:1000}#infoButton:hover+#infoTooltip,#infoTooltip:hover{display:block}.leaflet-control-attribution{display:none!important}.custom-marker-cluster{background-color:#fff;border-radius:12px;color:#fff;display:flex;align-items:center;justify-content:center;font-family:Noto Sans,sans-serif;font-size:14px;font-weight:700;text-align:center;width:40px;height:40px;border:1px solid #ddd;box-shadow:0 4px 12px #00000026;padding:3px;animation:fadeIn .3s ease-in-out;transition:transform .2s}.custom-marker-cluster:hover{transform:scale(1.1)}.cluster-icon{font-size:1.2rem;font-weight:700;color:#007bff;width:100%;justify-content:center;text-align:center}.map-container{height:100vh;width:100%}.leaflet-popup-content-wrapper{padding:0!important;background:none!important;border:none!important;box-shadow:none!important}.leaflet-marker-icon.leaflet-div-icon.leaflet-zoom-animated.leaflet-interactive{width:0px!important;height:0px!important}.leaflet-popup-content{display:flex;flex-direction:column;gap:12px;width:320px;padding:16px;background-color:transparent!important}.leaflet-popup-tip-container,.leaflet-popup-close-button{display:none!important}.popup-content{display:flex;flex-direction:column;gap:12px;padding:16px;border-radius:12px;background-color:#fff;box-shadow:0 4px 12px #00000026;animation:fadeIn .3s ease-in-out}.popup-content img{width:60px;height:60px;margin:0 auto 16px;border-radius:12px;object-fit:cover;box-shadow:0 2px 8px #0003}.device-name{font-size:22px;font-weight:700;text-align:center;color:#007bff}.italic{font-size:20px;font-weight:500;text-align:center;color:#007bff;font-style:italic}.lines-section{display:flex;flex-direction:column}.titles,.rows{display:flex;justify-content:center;align-items:center;margin-bottom:5px;width:100%}.titles h4{width:50%;text-align:center}.list-columns{display:flex;flex-direction:column;margin:auto;align-items:center;width:70%}.list-columns__item{display:flex;justify-content:center;align-items:center;width:100%;margin-bottom:5px}.line-column{width:50%;text-align:center;align-items:center}.order-column{font-size:14px;font-weight:700;color:#000;width:50%;text-align:center;align-items:center}.info-grid{display:grid;grid-template-columns:auto 1fr;gap:8px 12px}.info-grid .info-label{font-weight:700;color:#555;text-align:right}.info-grid .info-value{color:#333;padding-left:8px}.info-grid .info-id{font-style:italic}.description-title{font-weight:700}.popup-content .description{font-size:14px;color:#555;line-height:1.6;margin-top:16px;padding-top:8px;border-top:1px solid #333}@keyframes fadeIn{0%{opacity:0;transform:scale(.95)}to{opacity:1;transform:scale(1)}}.custom-icon-wrapper{position:relative;display:inline-block;background-color:#fff;width:40px;height:40px;display:flex;align-items:center;justify-content:center;border-radius:12px;box-shadow:0 4px 12px #00000026;cursor:pointer;margin:4px;background-repeat:no-repeat;background-position:center;font-family:Noto Sans,sans-serif}.custom-icon-img{width:38px;height:38px}.custom-icon-label{position:absolute;bottom:25px;left:20px;display:flex;flex-direction:row;align-items:center;justify-content:center;background:transparent;border-radius:12px!important;color:#fff;font-weight:700;white-space:nowrap}.custom-icon-label .line-column{transform:translate(-50%);margin-right:1px}.last-stop .popup-content{border:2px solid red;padding:10px}.list-lines{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}.list-lines__item{display:flex}.line--big{display:flex;align-items:center;justify-content:center;width:25px;height:25px;font-weight:700;font-size:16px;color:#fff;cursor:pointer;border-radius:.2em}.toggle-stats-button{background-color:#fff;color:#fff;border:none;cursor:pointer}.toggle-stats-button:hover{background-color:#fff}.line{border-radius:.2em}.line-1{background:#b5378c;color:#fff}.line-2{background:#ed6c23;color:#fff}.line-5{background:#f6a90b;color:#fff}.line-6{background:#0066a3;color:#fff}.line-3{background:#b4bd10;color:#000}.line-4{background:#ea4f80;color:#000}.line-7{background:#efe048;color:#000}.line-8{background:#169fdb;color:#fff}.line-9{background:#c44f97;color:#fff}.line-18{background:#91bee7;color:#000}.line-19{background:#e43c2e;color:#fff}.line-25{background:#a12944;color:#fff}.line-39{background:#e43c2e;color:#fff}.line-44,.line-51,.line-55{background:#f3c300;color:#000}.line-62{background:#f29dc3;color:#000}.line-81{background:#4c8b33;color:#fff}.line-82{background:#91bee7;color:#000}.line-92{background:#e43c2e;color:#fff}.line-93{background:#ed7807;color:#fff}.line-97{background:#a12944;color:#fff}.line-12{background:#4c8b33;color:#fff}.line-13{background:#91bee7;color:#000}.line-14{background:#f29dc3;color:#000}.line-17{background:#e43c2e;color:#fff}.line-20{background:#f3c300;color:#000}.line-21{background:#ffdc01;color:#000}.line-27{background:#91bee7;color:#000}.line-28{background:#e43c2e;color:#fff}.line-29{background:#ed7807;color:#fff}.line-33{background:#f29dc3;color:#000}.line-34{background:#f3c300;color:#000}.line-36{background:#91bee7;color:#000}.line-37{background:#306196;color:#fff}.line-38{background:#a67cb0;color:#fff}.line-41{background:#91bee7;color:#000}.line-42{background:#4c8b33;color:#fff}.line-43{background:#9b6018;color:#fff}.line-45{background:#a67cb0;color:#fff}.line-46{background:#e43c2e;color:#fff}.line-47{background:#a67cb0;color:#fff}.line-48{background:#ed7807;color:#fff}.line-49{background:#306196;color:#fff}.line-50{background:#b4bd10;color:#000}.line-52{background:#ffdc01;color:#000}.line-53{background:#4c8b33;color:#fff}.line-54{background:#e43c2e;color:#fff}.line-56{background:#ed7807;color:#fff}.line-57{background:#e43c2e;color:#fff}.line-58{background:#4c8b33;color:#fff}.line-59{background:#9b6018;color:#fff}.line-60{background:#f29dc3;color:#000}.line-61{background:#ffdc01;color:#000}.line-63{background:#91bee7;color:#000}.line-64{background:#e43c2e;color:#fff}.line-65{background:#f3c300;color:#000}.line-66{background:#306196;color:#fff}.line-69{background:#ed7807;color:#fff}.line-71{background:#4c8b33;color:#fff}.line-72,.line-73{background:#f29dc3;color:#000}.line-74{background:#a67cb0;color:#fff}.line-75,.line-76{background:#ffdc01;color:#000}.line-77{background:#4c8b33;color:#fff}.line-78{background:#a67cb0;color:#fff}.line-79{background:#306196;color:#fff}.line-80{background:#4c8b33;color:#fff}.line-83{background:#b4bd10;color:#000}.line-86{background:#306196;color:#fff}.line-87{background:#4c8b33;color:#fff}.line-88{background:#a12944;color:#fff}.line-89{background:#b4bd10;color:#000}.line-95{background:#306196;color:#fff}.stat-item{display:flex;align-items:center;gap:8px}.stat-icon{width:24px;height:24px}*{box-sizing:border-box;margin:0;padding:0}body{font-family:Noto Sans,sans-serif}#root{height:100vh;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:1em;color:#333;background-color:#f3e4d7}.app-container{position:relative;height:100vh;width:100%}.top-left-text{position:absolute;transform:translate(-50%);top:10px;left:50%;background-color:#fff;padding:8px 16px;border-radius:8px;box-shadow:0 2px 4px #0000001a;font-size:20px;font-weight:700;color:#333;z-index:1000}.bottom-left-stats{position:absolute;transform:translate(-10%);bottom:10px;left:5%;display:flex;flex-direction:column;font-weight:700;gap:8px;background-color:#fff;padding:8px 16px;border-radius:8px;box-shadow:0 2px 4px #0000001a;font-size:16px;color:#333;z-index:1000}.bottom-stats{position:absolute;transform:translate(-20%);bottom:10px;left:50%;display:flex;flex-direction:column;font-weight:700;gap:8px;background-color:#fff;padding:8px 16px;border-radius:8px;box-shadow:0 2px 4px #0000001a;font-size:16px;color:#333;z-index:1000}.leaflet-pane,.leaflet-tile,.leaflet-marker-icon,.leaflet-marker-shadow,.leaflet-tile-container,.leaflet-pane>svg,.leaflet-pane>canvas,.leaflet-zoom-box,.leaflet-image-layer,.leaflet-layer{position:absolute;left:0;top:0}.leaflet-container{overflow:hidden}.leaflet-tile,.leaflet-marker-icon,.leaflet-marker-shadow{-webkit-user-select:none;-moz-user-select:none;user-select:none;-webkit-user-drag:none}.leaflet-tile::selection{background:transparent}.leaflet-safari .leaflet-tile{image-rendering:-webkit-optimize-contrast}.leaflet-safari .leaflet-tile-container{width:1600px;height:1600px;-webkit-transform-origin:0 0}.leaflet-marker-icon,.leaflet-marker-shadow{display:block}.leaflet-container .leaflet-overlay-pane svg{max-width:none!important;max-height:none!important}.leaflet-container .leaflet-marker-pane img,.leaflet-container .leaflet-shadow-pane img,.leaflet-container .leaflet-tile-pane img,.leaflet-container img.leaflet-image-layer,.leaflet-container .leaflet-tile{max-width:none!important;max-height:none!important;width:auto;padding:0}.leaflet-container img.leaflet-tile{mix-blend-mode:plus-lighter}.leaflet-container.leaflet-touch-zoom{-ms-touch-action:pan-x pan-y;touch-action:pan-x pan-y}.leaflet-container.leaflet-touch-drag{-ms-touch-action:pinch-zoom;touch-action:none;touch-action:pinch-zoom}.leaflet-container.leaflet-touch-drag.leaflet-touch-zoom{-ms-touch-action:none;touch-action:none}.leaflet-container{-webkit-tap-highlight-color:transparent}.leaflet-container a{-webkit-tap-highlight-color:rgba(51,181,229,.4)}.leaflet-tile{filter:inherit;visibility:hidden}.leaflet-tile-loaded{visibility:inherit}.leaflet-zoom-box{width:0;height:0;-moz-box-sizing:border-box;box-sizing:border-box;z-index:800}.leaflet-overlay-pane svg{-moz-user-select:none}.leaflet-pane{z-index:400}.leaflet-tile-pane{z-index:200}.leaflet-overlay-pane{z-index:400}.leaflet-shadow-pane{z-index:500}.leaflet-marker-pane{z-index:600}.leaflet-tooltip-pane{z-index:650}.leaflet-popup-pane{z-index:700}.leaflet-map-pane canvas{z-index:100}.leaflet-map-pane svg{z-index:200}.leaflet-vml-shape{width:1px;height:1px}.lvml{behavior:url(#default#VML);display:inline-block;position:absolute}.leaflet-control{position:relative;z-index:800;pointer-events:visiblePainted;pointer-events:auto}.leaflet-top,.leaflet-bottom{position:absolute;z-index:1000;pointer-events:none}.leaflet-top{top:0}.leaflet-right{right:0}.leaflet-bottom{bottom:0}.leaflet-left{left:0}.leaflet-control{float:left;clear:both}.leaflet-right .leaflet-control{float:right}.leaflet-top .leaflet-control{margin-top:10px}.leaflet-bottom .leaflet-control{margin-bottom:10px}.leaflet-left .leaflet-control{margin-left:10px}.leaflet-right .leaflet-control{margin-right:10px}.leaflet-fade-anim .leaflet-popup{opacity:0;-webkit-transition:opacity .2s linear;-moz-transition:opacity .2s linear;transition:opacity .2s linear}.leaflet-fade-anim .leaflet-map-pane .leaflet-popup{opacity:1}.leaflet-zoom-animated{-webkit-transform-origin:0 0;-ms-transform-origin:0 0;transform-origin:0 0}svg.leaflet-zoom-animated{will-change:transform}.leaflet-zoom-anim .leaflet-zoom-animated{-webkit-transition:-webkit-transform .25s cubic-bezier(0,0,.25,1);-moz-transition:-moz-transform .25s cubic-bezier(0,0,.25,1);transition:transform .25s cubic-bezier(0,0,.25,1)}.leaflet-zoom-anim .leaflet-tile,.leaflet-pan-anim .leaflet-tile{-webkit-transition:none;-moz-transition:none;transition:none}.leaflet-zoom-anim .leaflet-zoom-hide{visibility:hidden}.leaflet-interactive{cursor:pointer}.leaflet-grab{cursor:-webkit-grab;cursor:-moz-grab;cursor:grab}.leaflet-crosshair,.leaflet-crosshair .leaflet-interactive{cursor:crosshair}.leaflet-popup-pane,.leaflet-control{cursor:auto}.leaflet-dragging .leaflet-grab,.leaflet-dragging .leaflet-grab .leaflet-interactive,.leaflet-dragging .leaflet-marker-draggable{cursor:move;cursor:-webkit-grabbing;cursor:-moz-grabbing;cursor:grabbing}.leaflet-marker-icon,.leaflet-marker-shadow,.leaflet-image-layer,.leaflet-pane>svg path,.leaflet-tile-container{pointer-events:none}.leaflet-marker-icon.leaflet-interactive,.leaflet-image-layer.leaflet-interactive,.leaflet-pane>svg path.leaflet-interactive,svg.leaflet-image-layer.leaflet-interactive path{pointer-events:visiblePainted;pointer-events:auto}.leaflet-container{background:#ddd;outline-offset:1px}.leaflet-container a{color:#0078a8}.leaflet-zoom-box{border:2px dotted #38f;background:#ffffff80}.leaflet-container{font-family:Helvetica Neue,Arial,Helvetica,sans-serif;font-size:12px;font-size:.75rem;line-height:1.5}.leaflet-bar{box-shadow:0 1px 5px #000000a6;border-radius:4px}.leaflet-bar a{background-color:#fff;border-bottom:1px solid #ccc;width:26px;height:26px;line-height:26px;display:block;text-align:center;text-decoration:none;color:#000}.leaflet-bar a,.leaflet-control-layers-toggle{background-position:50% 50%;background-repeat:no-repeat;display:block}.leaflet-bar a:hover,.leaflet-bar a:focus{background-color:#f4f4f4}.leaflet-bar a:first-child{border-top-left-radius:4px;border-top-right-radius:4px}.leaflet-bar a:last-child{border-bottom-left-radius:4px;border-bottom-right-radius:4px;border-bottom:none}.leaflet-bar a.leaflet-disabled{cursor:default;background-color:#f4f4f4;color:#bbb}.leaflet-touch .leaflet-bar a{width:30px;height:30px;line-height:30px}.leaflet-touch .leaflet-bar a:first-child{border-top-left-radius:2px;border-top-right-radius:2px}.leaflet-touch .leaflet-bar a:last-child{border-bottom-left-radius:2px;border-bottom-right-radius:2px}.leaflet-control-zoom-in,.leaflet-control-zoom-out{font:700 18px Lucida Console,Monaco,monospace;text-indent:1px}.leaflet-touch .leaflet-control-zoom-in,.leaflet-touch .leaflet-control-zoom-out{font-size:22px}.leaflet-control-layers{box-shadow:0 1px 5px #0006;background:#fff;border-radius:5px}.leaflet-control-layers-toggle{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAQAAAADQ4RFAAACf0lEQVR4AY1UM3gkARTePdvdoTxXKc+qTl3aU5U6b2Kbkz3Gtq3Zw6ziLGNPzrYx7946Tr6/ee/XeCQ4D3ykPtL5tHno4n0d/h3+xfuWHGLX81cn7r0iTNzjr7LrlxCqPtkbTQEHeqOrTy4Yyt3VCi/IOB0v7rVC7q45Q3Gr5K6jt+3Gl5nCoDD4MtO+j96Wu8atmhGqcNGHObuf8OM/x3AMx38+4Z2sPqzCxRFK2aF2e5Jol56XTLyggAMTL56XOMoS1W4pOyjUcGGQdZxU6qRh7B9Zp+PfpOFlqt0zyDZckPi1ttmIp03jX8gyJ8a/PG2yutpS/Vol7peZIbZcKBAEEheEIAgFbDkz5H6Zrkm2hVWGiXKiF4Ycw0RWKdtC16Q7qe3X4iOMxruonzegJzWaXFrU9utOSsLUmrc0YjeWYjCW4PDMADElpJSSQ0vQvA1Tm6/JlKnqFs1EGyZiFCqnRZTEJJJiKRYzVYzJck2Rm6P4iH+cmSY0YzimYa8l0EtTODFWhcMIMVqdsI2uiTvKmTisIDHJ3od5GILVhBCarCfVRmo4uTjkhrhzkiBV7SsaqS+TzrzM1qpGGUFt28pIySQHR6h7F6KSwGWm97ay+Z+ZqMcEjEWebE7wxCSQwpkhJqoZA5ivCdZDjJepuJ9IQjGGUmuXJdBFUygxVqVsxFsLMbDe8ZbDYVCGKxs+W080max1hFCarCfV+C1KATwcnvE9gRRuMP2prdbWGowm1KB1y+zwMMENkM755cJ2yPDtqhTI6ED1M/82yIDtC/4j4BijjeObflpO9I9MwXTCsSX8jWAFeHr05WoLTJ5G8IQVS/7vwR6ohirYM7f6HzYpogfS3R2OAAAAAElFTkSuQmCC);width:36px;height:36px}.leaflet-retina .leaflet-control-layers-toggle{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADQAAAA0CAQAAABvcdNgAAAEsklEQVR4AWL4TydIhpZK1kpWOlg0w3ZXP6D2soBtG42jeI6ZmQTHzAxiTbSJsYLjO9HhP+WOmcuhciVnmHVQcJnp7DFvScowZorad/+V/fVzMdMT2g9Cv9guXGv/7pYOrXh2U+RRR3dSd9JRx6bIFc/ekqHI29JC6pJ5ZEh1yWkhkbcFeSjxgx3L2m1cb1C7bceyxA+CNjT/Ifff+/kDk2u/w/33/IeCMOSaWZ4glosqT3DNnNZQ7Cs58/3Ce5HL78iZH/vKVIaYlqzfdLu8Vi7dnvUbEza5Idt36tquZFldl6N5Z/POLof0XLK61mZCmJSWjVF9tEjUluu74IUXvgttuVIHE7YxSkaYhJZam7yiM9Pv82JYfl9nptxZaxMJE4YSPty+vF0+Y2up9d3wwijfjZbabqm/3bZ9ecKHsiGmRflnn1MW4pjHf9oLufyn2z3y1D6n8g8TZhxyzipLNPnAUpsOiuWimg52psrTZYnOWYNDTMuWBWa0tJb4rgq1UvmutpaYEbZlwU3CLJm/ayYjHW5/h7xWLn9Hh1vepDkyf7dE7MtT5LR4e7yYpHrkhOUpEfssBLq2pPhAqoSWKUkk7EDqkmK6RrCEzqDjhNDWNE+XSMvkJRDWlZTmCW0l0PHQGRZY5t1L83kT0Y3l2SItk5JAWHl2dCOBm+fPu3fo5/3v61RMCO9Jx2EEYYhb0rmNQMX/vm7gqOEJLcXTGw3CAuRNeyaPWwjR8PRqKQ1PDA/dpv+on9Shox52WFnx0KY8onHayrJzm87i5h9xGw/tfkev0jGsQizqezUKjk12hBMKJ4kbCqGPVNXudyyrShovGw5CgxsRICxF6aRmSjlBnHRzg7Gx8fKqEubI2rahQYdR1YgDIRQO7JvQyD52hoIQx0mxa0ODtW2Iozn1le2iIRdzwWewedyZzewidueOGqlsn1MvcnQpuVwLGG3/IR1hIKxCjelIDZ8ldqWz25jWAsnldEnK0Zxro19TGVb2ffIZEsIO89EIEDvKMPrzmBOQcKQ+rroye6NgRRxqR4U8EAkz0CL6uSGOm6KQCdWjvjRiSP1BPalCRS5iQYiEIvxuBMJEWgzSoHADcVMuN7IuqqTeyUPq22qFimFtxDyBBJEwNyt6TM88blFHao/6tWWhuuOM4SAK4EI4QmFHA+SEyWlp4EQoJ13cYGzMu7yszEIBOm2rVmHUNqwAIQabISNMRstmdhNWcFLsSm+0tjJH1MdRxO5Nx0WDMhCtgD6OKgZeljJqJKc9po8juskR9XN0Y1lZ3mWjLR9JCO1jRDMd0fpYC2VnvjBSEFg7wBENc0R9HFlb0xvF1+TBEpF68d+DHR6IOWVv2BECtxo46hOFUBd/APU57WIoEwJhIi2CdpyZX0m93BZicktMj1AS9dClteUFAUNUIEygRZCtik5zSxI9MubTBH1GOiHsiLJ3OCoSZkILa9PxiN0EbvhsAo8tdAf9Seepd36lGWHmtNANTv5Jd0z4QYyeo/UEJqxKRpg5LZx6btLPsOaEmdMyxYdlc8LMaJnikDlhclqmPiQnTEpLUIZEwkRagjYkEibQErwhkTAKCLQEbUgkzJQWc/0PstHHcfEdQ+UAAAAASUVORK5CYII=);background-size:26px 26px}.leaflet-touch .leaflet-control-layers-toggle{width:44px;height:44px}.leaflet-control-layers .leaflet-control-layers-list,.leaflet-control-layers-expanded .leaflet-control-layers-toggle{display:none}.leaflet-control-layers-expanded .leaflet-control-layers-list{display:block;position:relative}.leaflet-control-layers-expanded{padding:6px 10px 6px 6px;color:#333;background:#fff}.leaflet-control-layers-scrollbar{overflow-y:scroll;overflow-x:hidden;padding-right:5px}.leaflet-control-layers-selector{margin-top:2px;position:relative;top:1px}.leaflet-control-layers label{display:block;font-size:13px;font-size:1.08333em}.leaflet-control-layers-separator{height:0;border-top:1px solid #ddd;margin:5px -10px 5px -6px}.leaflet-default-icon-path{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAApCAYAAADAk4LOAAAFgUlEQVR4Aa1XA5BjWRTN2oW17d3YaZtr2962HUzbDNpjszW24mRt28p47v7zq/bXZtrp/lWnXr337j3nPCe85NcypgSFdugCpW5YoDAMRaIMqRi6aKq5E3YqDQO3qAwjVWrD8Ncq/RBpykd8oZUb/kaJutow8r1aP9II0WmLKLIsJyv1w/kqw9Ch2MYdB++12Onxee/QMwvf4/Dk/Lfp/i4nxTXtOoQ4pW5Aj7wpici1A9erdAN2OH64x8OSP9j3Ft3b7aWkTg/Fm91siTra0f9on5sQr9INejH6CUUUpavjFNq1B+Oadhxmnfa8RfEmN8VNAsQhPqF55xHkMzz3jSmChWU6f7/XZKNH+9+hBLOHYozuKQPxyMPUKkrX/K0uWnfFaJGS1QPRtZsOPtr3NsW0uyh6NNCOkU3Yz+bXbT3I8G3xE5EXLXtCXbbqwCO9zPQYPRTZ5vIDXD7U+w7rFDEoUUf7ibHIR4y6bLVPXrz8JVZEql13trxwue/uDivd3fkWRbS6/IA2bID4uk0UpF1N8qLlbBlXs4Ee7HLTfV1j54APvODnSfOWBqtKVvjgLKzF5YdEk5ewRkGlK0i33Eofffc7HT56jD7/6U+qH3Cx7SBLNntH5YIPvODnyfIXZYRVDPqgHtLs5ABHD3YzLuespb7t79FY34DjMwrVrcTuwlT55YMPvOBnRrJ4VXTdNnYug5ucHLBjEpt30701A3Ts+HEa73u6dT3FNWwflY86eMHPk+Yu+i6pzUpRrW7SNDg5JHR4KapmM5Wv2E8Tfcb1HoqqHMHU+uWDD7zg54mz5/2BSnizi9T1Dg4QQXLToGNCkb6tb1NU+QAlGr1++eADrzhn/u8Q2YZhQVlZ5+CAOtqfbhmaUCS1ezNFVm2imDbPmPng5wmz+gwh+oHDce0eUtQ6OGDIyR0uUhUsoO3vfDmmgOezH0mZN59x7MBi++WDL1g/eEiU3avlidO671bkLfwbw5XV2P8Pzo0ydy4t2/0eu33xYSOMOD8hTf4CrBtGMSoXfPLchX+J0ruSePw3LZeK0juPJbYzrhkH0io7B3k164hiGvawhOKMLkrQLyVpZg8rHFW7E2uHOL888IBPlNZ1FPzstSJM694fWr6RwpvcJK60+0HCILTBzZLFNdtAzJaohze60T8qBzyh5ZuOg5e7uwQppofEmf2++DYvmySqGBuKaicF1blQjhuHdvCIMvp8whTTfZzI7RldpwtSzL+F1+wkdZ2TBOW2gIF88PBTzD/gpeREAMEbxnJcaJHNHrpzji0gQCS6hdkEeYt9DF/2qPcEC8RM28Hwmr3sdNyht00byAut2k3gufWNtgtOEOFGUwcXWNDbdNbpgBGxEvKkOQsxivJx33iow0Vw5S6SVTrpVq11ysA2Rp7gTfPfktc6zhtXBBC+adRLshf6sG2RfHPZ5EAc4sVZ83yCN00Fk/4kggu40ZTvIEm5g24qtU4KjBrx/BTTH8ifVASAG7gKrnWxJDcU7x8X6Ecczhm3o6YicvsLXWfh3Ch1W0k8x0nXF+0fFxgt4phz8QvypiwCCFKMqXCnqXExjq10beH+UUA7+nG6mdG/Pu0f3LgFcGrl2s0kNNjpmoJ9o4B29CMO8dMT4Q5ox8uitF6fqsrJOr8qnwNbRzv6hSnG5wP+64C7h9lp30hKNtKdWjtdkbuPA19nJ7Tz3zR/ibgARbhb4AlhavcBebmTHcFl2fvYEnW0ox9xMxKBS8btJ+KiEbq9zA4RthQXDhPa0T9TEe69gWupwc6uBUphquXgf+/FrIjweHQS4/pduMe5ERUMHUd9xv8ZR98CxkS4F2n3EUrUZ10EYNw7BWm9x1GiPssi3GgiGRDKWRYZfXlON+dfNbM+GgIwYdwAAAAASUVORK5CYII=)}.leaflet-container .leaflet-control-attribution{background:#fff;background:#fffc;margin:0}.leaflet-control-attribution,.leaflet-control-scale-line{padding:0 5px;color:#333;line-height:1.4}.leaflet-control-attribution a{text-decoration:none}.leaflet-control-attribution a:hover,.leaflet-control-attribution a:focus{text-decoration:underline}.leaflet-attribution-flag{display:inline!important;vertical-align:baseline!important;width:1em;height:.6669em}.leaflet-left .leaflet-control-scale{margin-left:5px}.leaflet-bottom .leaflet-control-scale{margin-bottom:5px}.leaflet-control-scale-line{border:2px solid #777;border-top:none;line-height:1.1;padding:2px 5px 1px;white-space:nowrap;-moz-box-sizing:border-box;box-sizing:border-box;background:#fffc;text-shadow:1px 1px #fff}.leaflet-control-scale-line:not(:first-child){border-top:2px solid #777;border-bottom:none;margin-top:-2px}.leaflet-control-scale-line:not(:first-child):not(:last-child){border-bottom:2px solid #777}.leaflet-touch .leaflet-control-attribution,.leaflet-touch .leaflet-control-layers,.leaflet-touch .leaflet-bar{box-shadow:none}.leaflet-touch .leaflet-control-layers,.leaflet-touch .leaflet-bar{border:2px solid rgba(0,0,0,.2);background-clip:padding-box}.leaflet-popup{position:absolute;text-align:center;margin-bottom:20px}.leaflet-popup-content-wrapper{padding:1px;text-align:left;border-radius:12px}.leaflet-popup-content{margin:13px 24px 13px 20px;line-height:1.3;font-size:13px;font-size:1.08333em;min-height:1px}.leaflet-popup-content p{margin:1.3em 0}.leaflet-popup-tip-container{width:40px;height:20px;position:absolute;left:50%;margin-top:-1px;margin-left:-20px;overflow:hidden;pointer-events:none}.leaflet-popup-tip{width:17px;height:17px;padding:1px;margin:-10px auto 0;pointer-events:auto;-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg)}.leaflet-popup-content-wrapper,.leaflet-popup-tip{background:#fff;color:#333;box-shadow:0 3px 14px #0006}.leaflet-container a.leaflet-popup-close-button{position:absolute;top:0;right:0;border:none;text-align:center;width:24px;height:24px;font:16px/24px Tahoma,Verdana,sans-serif;color:#757575;text-decoration:none;background:transparent}.leaflet-container a.leaflet-popup-close-button:hover,.leaflet-container a.leaflet-popup-close-button:focus{color:#585858}.leaflet-popup-scrolled{overflow:auto}.leaflet-oldie .leaflet-popup-content-wrapper{-ms-zoom:1}.leaflet-oldie .leaflet-popup-tip{width:24px;margin:0 auto;-ms-filter:"progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678)";filter:progid:DXImageTransform.Microsoft.Matrix(M11=.70710678,M12=.70710678,M21=-.70710678,M22=.70710678)}.leaflet-oldie .leaflet-control-zoom,.leaflet-oldie .leaflet-control-layers,.leaflet-oldie .leaflet-popup-content-wrapper,.leaflet-oldie .leaflet-popup-tip{border:1px solid #999}.leaflet-div-icon{background:#fff;border:1px solid #666}.leaflet-tooltip{position:absolute;padding:6px;background-color:#fff;border:1px solid #fff;border-radius:3px;color:#222;white-space:nowrap;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none;box-shadow:0 1px 3px #0006}.leaflet-tooltip.leaflet-interactive{cursor:pointer;pointer-events:auto}.leaflet-tooltip-top:before,.leaflet-tooltip-bottom:before,.leaflet-tooltip-left:before,.leaflet-tooltip-right:before{position:absolute;pointer-events:none;border:6px solid transparent;background:transparent;content:""}.leaflet-tooltip-bottom{margin-top:6px}.leaflet-tooltip-top{margin-top:-6px}.leaflet-tooltip-bottom:before,.leaflet-tooltip-top:before{left:50%;margin-left:-6px}.leaflet-tooltip-top:before{bottom:0;margin-bottom:-12px;border-top-color:#fff}.leaflet-tooltip-bottom:before{top:0;margin-top:-12px;margin-left:-6px;border-bottom-color:#fff}.leaflet-tooltip-left{margin-left:-6px}.leaflet-tooltip-right{margin-left:6px}.leaflet-tooltip-left:before,.leaflet-tooltip-right:before{top:50%;margin-top:-6px}.leaflet-tooltip-left:before{right:0;margin-right:-12px;border-left-color:#fff}.leaflet-tooltip-right:before{left:0;margin-left:-12px;border-right-color:#fff}@media print{.leaflet-control{-webkit-print-color-adjust:exact;print-color-adjust:exact}} diff --git a/index.html b/index.html index d72967e..e8f1056 100644 --- a/index.html +++ b/index.html @@ -8,8 +8,8 @@ Public Transport Map - - + +