forked from Simnation/Main
5 lines
145 KiB
JavaScript
5 lines
145 KiB
JavaScript
![]() |
import{c as Uo}from"./_commonjsHelpers.c10bf6cb.js";function Go(Wt,Ut){for(var l=0;l<Ut.length;l++){const Q=Ut[l];if(typeof Q!="string"&&!Array.isArray(Q)){for(const w in Q)if(w!=="default"&&!(w in Wt)){const st=Object.getOwnPropertyDescriptor(Q,w);st&&Object.defineProperty(Wt,w,st.get?st:{enumerable:!0,get:()=>Q[w]})}}}return Object.freeze(Object.defineProperty(Wt,Symbol.toStringTag,{value:"Module"}))}var ce={exports:{}};/* @preserve
|
||
|
* Leaflet 1.9.2, a JS library for interactive maps. https://leafletjs.com
|
||
|
* (c) 2010-2022 Vladimir Agafonkin, (c) 2010-2011 CloudMade
|
||
|
*/(function(Wt,Ut){(function(l,Q){Q(Ut)})(Uo,function(l){var Q="1.9.2";function w(t){var e,i,n,o;for(i=1,n=arguments.length;i<n;i++){o=arguments[i];for(e in o)t[e]=o[e]}return t}var st=Object.create||function(){function t(){}return function(e){return t.prototype=e,new t}}();function C(t,e){var i=Array.prototype.slice;if(t.bind)return t.bind.apply(t,i.call(arguments,1));var n=i.call(arguments,2);return function(){return t.apply(e,n.length?n.concat(i.call(arguments)):arguments)}}var Xe=0;function x(t){return"_leaflet_id"in t||(t._leaflet_id=++Xe),t._leaflet_id}function Je(t,e,i){var n,o,s,r;return r=function(){n=!1,o&&(s.apply(i,o),o=!1)},s=function(){n?o=arguments:(t.apply(i,arguments),setTimeout(r,e),n=!0)},s}function Mt(t,e,i){var n=e[1],o=e[0],s=n-o;return t===n&&i?t:((t-o)%s+s)%s+o}function Z(){return!1}function K(t,e){if(e===!1)return t;var i=Math.pow(10,e===void 0?6:e);return Math.round(t*i)/i}function fe(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}function lt(t){return fe(t).split(/\s+/)}function S(t,e){Object.prototype.hasOwnProperty.call(t,"options")||(t.options=t.options?st(t.options):{});for(var i in e)t.options[i]=e[i];return t.options}function $e(t,e,i){var n=[];for(var o in t)n.push(encodeURIComponent(i?o.toUpperCase():o)+"="+encodeURIComponent(t[o]));return(!e||e.indexOf("?")===-1?"?":"&")+n.join("&")}var mn=/\{ *([\w_ -]+) *\}/g;function Qe(t,e){return t.replace(mn,function(i,n){var o=e[n];if(o===void 0)throw new Error("No value provided for variable "+i);return typeof o=="function"&&(o=o(e)),o})}var V=Array.isArray||function(t){return Object.prototype.toString.call(t)==="[object Array]"};function de(t,e){for(var i=0;i<t.length;i++)if(t[i]===e)return i;return-1}var Gt="data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs=";function _e(t){return window["webkit"+t]||window["moz"+t]||window["ms"+t]}var ti=0;function ei(t){var e=+new Date,i=Math.max(0,16-(e-ti));return ti=e+i,window.setTimeout(t,i)}var me=window.requestAnimationFrame||_e("RequestAnimationFrame")||ei,ii=window.cancelAnimationFrame||_e("CancelAnimationFrame")||_e("CancelRequestAnimationFrame")||function(t){window.clearTimeout(t)};function N(t,e,i){if(i&&me===ei)t.call(e);else return me.call(window,C(t,e))}function F(t){t&&ii.call(window,t)}var pn={__proto__:null,extend:w,create:st,bind:C,get lastId(){return Xe},stamp:x,throttle:Je,wrapNum:Mt,falseFn:Z,formatNum:K,trim:fe,splitWords:lt,setOptions:S,getParamString:$e,template:Qe,isArray:V,indexOf:de,emptyImageUrl:Gt,requestFn:me,cancelFn:ii,requestAnimFrame:N,cancelAnimFrame:F};function tt(){}tt.extend=function(t){var e=function(){S(this),this.initialize&&this.initialize.apply(this,arguments),this.callInitHooks()},i=e.__super__=this.prototype,n=st(i);n.constructor=e,e.prototype=n;for(var o in this)Object.prototype.hasOwnProperty.call(this,o)&&o!=="prototype"&&o!=="__super__"&&(e[o]=this[o]);return t.statics&&w(e,t.statics),t.includes&&(vn(t.includes),w.apply(null,[n].concat(t.includes))),w(n,t),delete n.statics,delete n.includes,n.options&&(n.options=i.options?st(i.options):{},w(n.options,t.options)),n._initHooks=[],n.callInitHooks=function(){if(!this._initHooksCalled){i.callInitHooks&&i.callInitHooks.call(this),this._initHooksCalled=!0;for(var s=0,r=n._initHooks.length;s<r;s++)n._initHooks[s].call(this)}},e},tt.include=function(t){var e=this.prototype.options;return w(this.prototype,t),t.options&&(this.prototype.options=e,this.mergeOptions(t.options)),this},tt.mergeOptions=function(t){return w(this.prototype.options,t),this},tt.addInitHook=function(t){var e=Array.prototype.slice.call(arguments,1),i=typeof t=="function"?t:function(){this[t].apply(this,e)};return this.prototype._initHooks=this.prototype._initHooks||[],this.prototype._initHooks.push(i),this};function vn(t){if(!(typeof L>"u"||!L||!L.Mixin)){t=V(t)?t:[t];for(var e=0;e<t.length;e++)t[e]===L.Mixin.Events&&console.warn("Deprecated include of L.Mixin.Events: this property will be removed in future releases, please inherit from L.Evented instead.",new Error().stack)}}var H={on:function(t,e,i){if(typeof t=="object")for(var n
|