1import{_ as B,a as Nl}from"./index-7981e740.js";import{w as be,a as S,j as Ge,b as jl,i as mr,S as Ul,K as br,X as _r,n as Fl}from"./p-465d9e32-a2caadb5.js";const Zl=(n,s,l)=>{const c=n.get(s);c?c.includes(l)||c.push(l):n.set(s,[l])},Gl=(n,s)=>{let l;return(...c)=>{l&&clearTimeout(l),l=setTimeout(()=>{l=0,n(...c)},s)}},Hl=n=>!("isConnected"in n)||n.isConnected,vr=Gl(n=>{for(let s of n.keys())n.set(s,n.get(s).filter(Hl))},2e3),Vl=()=>{if(typeof br!="function")return{};const n=new Map;return{dispose:()=>n.clear(),get:s=>{const l=br();l&&Zl(n,s,l)},set:s=>{const l=n.get(s);l&&n.set(s,l.filter(_r)),vr(n)},reset:()=>{n.forEach(s=>s.forEach(_r)),vr(n)}}},Ti=n=>typeof n=="function"?n():n,ql=(n,s=(l,c)=>l!==c)=>{const l=Ti(n);let c=new Map(Object.entries(l??{}));const i={dispose:[],get:[],set:[],reset:[]},o=()=>{var w;c=new Map(Object.entries((w=Ti(n))!==null&&w!==void 0?w:{})),i.reset.forEach(k=>k())},r=()=>{i.dispose.forEach(w=>w()),o()},h=w=>(i.get.forEach(k=>k(w)),c.get(w)),u=(w,k)=>{const O=c.get(w);s(k,O,w)&&(c.set(w,k),i.set.forEach(M=>M(w,k,O)))},f=typeof Proxy>"u"?{}:new Proxy(l,{get(w,k){return h(k)},ownKeys(w){return Array.from(c.keys())},getOwnPropertyDescriptor(){return{enumerable:!0,configurable:!0}},has(w,k){return c.has(k)},set(w,k,O){return u(k,O),!0}}),g=(w,k)=>(i[w].push(k),()=>{Wl(i[w],k)});return{state:f,get:h,set:u,on:g,onChange:(w,k)=>{const O=g("set",(Z,R)=>{Z===w&&k(R)}),M=g("reset",()=>k(Ti(n)[w]));return()=>{O(),M()}},use:(...w)=>{const k=w.reduce((O,M)=>(M.set&&O.push(g("set",M.set)),M.get&&O.push(g("get",M.get)),M.reset&&O.push(g("reset",M.reset)),M.dispose&&O.push(g("dispose",M.dispose)),O),[]);return()=>k.forEach(O=>O())},dispose:r,reset:o,forceUpdate:w=>{const k=c.get(w);i.set.forEach(O=>O(w,k,k))}}},Wl=(n,s)=>{const l=n.indexOf(s);l>=0&&(n[l]=n[n.length-1],n.length--)},et=(n,s)=>{const l=ql(n,s);return l.use(Vl()),l},Yl=1e4,{state:oe,onChange:Xl}=et({display:!1,timeout:Yl,message:void 0,type:void 0});Xl("message",()=>{oe.message&&(oe.display=!0,setInterval(()=>{oe.display=!1,oe.message=void 0},oe.timeout))});const Kl=":host{display:block;z-index:9999 !important;position:absolute;right:0.875rem;top:1rem}",qr=class{constructor(n){be(this,n)}render(){return oe.display&&S("modus-toast",{type:oe.type},oe.message)}};qr.style=Kl;const{state:re,onChange:Lp}=et({freeBaseStations:0,vrsBaseStations:0,smartStations:0,isVrsIncluded:!1,isRtxIncluded:!0}),{state:ee,onChange:kp}=et({hideButtons:!1,loadingMessage:null,hideResultPopup:!1,shouldAddDrawTool:!0,cancellationToken:null}),$l=":host{display:block}.base-station-count-container{width:177px;bottom:103px;left:10px;padding:10px;font-family:Arial, Helvetica, sans-serif;border-radius:4px;z-index:1000;position:absolute;display:flex}.group{padding:3px 0}.group .label{display:inline-block;width:18px;font-style:italic;color:#888}.group:nth-child(n+2){margin-left:18px}.group .value{display:inline-block;font-weight:700;font-size:12px;margin-left:6px}.bottom-placer{position:absolute;bottom:25px;left:0;width:100%;height:10px}",Wr=class{constructor(n){be(this,n)}render(){return S("div",{class:`base-station-count-container ${ee.hideButtons?"bottom-placer":""}`},S("div",{class:"group"},S("span",{class:"label"},S("svg",{xmlns:"http://www.w3.org/2000/svg",width:"15",height:"15",fill:"cyan",class:"mi-solid mi-flag",viewBox:"0 0 15 20"},S("path",{d:"m15 4-.93-1.52a.998.998 0 0 0-.85-.48H4c-.55 0-1 .45-1 1v18c0 .55.45 1 1 1s1-.45 1-1v-7h9l.72 1.45a1 1 0 0 0 .89.55h4.38c.55 0 1-.45 1-1V5c0-.55-.45-1-1-1h-5Z"}))),S("span",{id:"longitude",class:"value"},re.freeBaseStations)),ee.hideButtons?null:S("div",{class:"group"},S("span",{class:"label"},S("svg",{xmlns:"http://www.w3.org/2000/svg",width:"15",height:"15",fill:"purple",class:"mi-solid mi-flag",viewBox:"0 0 15 20"},S("path",{d:"m15 4-.93-1.52a.998.998 0 0 0-.85-.48H4c-.55 0-1 .45-1 1v18c0 .55.45 1 1 1s1-.45 1-1v-7h9l.72 1.45a1 1 0 0 0 .89.55h4.38c.55 0 1-.45 1-1V5c0-.55-.45-1-1-1h-5Z"}))),S("span",{id:"latitude",class:"value"},re.isVrsIncluded?re.vrsBaseStations:0)),S("div",{class:"group"},S("span",{class:"label"},S("svg",{xmlns:"http://www.w3.org/2000/svg",width:"15",height:"15",fill:"green",class:"mi-solid mi-flag",viewBox:"0 0 15 20"},S("path",{d:"m15 4-.93-1.52a.998.998 0 0 0-.85-.48H4c-.55 0-1 .45-1 1v18c0 .55.45 1 1 1s1-.45 1-1v-7h9l.72 1.45a1 1 0 0 0 .89.55h4.38c.55 0 1-.45 1-1V5c0-.55-.45-1-1-1h-5Z"}))),S("span",{id:"latitude",class:"value"},re.smartStations)))}};Wr.style=$l;var Ui=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Fi(n,s,l){return l={path:s,exports:{},require:function(c,i){return Jl()}},n(l,l.exports),l.exports}function Jl(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}var y=Fi(function(n,s){/* @preserve 2 * Leaflet 1.9.4, a JS library for interactive maps. https://leafletjs.com 3 * (c) 2010-2023 Vladimir Agafonkin, (c) 2010-2011 CloudMade 4 */(function(l,c){c(s)})(Ui,function(l){var c="1.9.4";function i(e){var t,a,d,p;for(a=1,d=arguments.length;a<d;a++){p=arguments[a];for(t in p)e[t]=p[t]}return e}var o=Object.create||function(){function e(){}return function(t){return e.prototype=t,new e}}();function r(e,t){var a=Array.prototype.slice;
4if(e.bind)return e.bind.apply(e,a.call(arguments,1));var d=a.call(arguments,2);return function(){return e.apply(t,d.length?d.concat(a.call(arguments)):arguments)}}var h=0;function u(e){return"_leaflet_id"in e||(e._leaflet_id=++h),e._leaflet_id}function f(e,t,a){var d,p,m,v;return v=function(){d=!1,p&&(m.apply(a,p),p=!1)},m=function(){d?p=arguments:(e.apply(a,arguments),setTimeout(v,t),d=!0)},m}function g(e,t,a){var d=t[1],p=t[0],m=d-p;return e===d&&a?e:((e-p)%m+m)%m+p}function b(){return!1}function _(e,t){if(t===!1)return e;var a=Math.pow(10,t===void 0?6:t);return Math.round(e*a)/a}function x(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function w(e){return x(e).split(/\s+/)}function k(e,t){Object.prototype.hasOwnProperty.call(e,"options")||(e.options=e.options?o(e.options):{});for(var a in t)e.options[a]=t[a];return e.options}function O(e,t,a){var d=[];for(var p in e)d.push(encodeURIComponent(a?p.toUpperCase():p)+"="+encodeURIComponent(e[p]));return(!t||t.indexOf("?")===-1?"?":"&")+d.join("&")}var M=/\{ *([\w_ -]+) *\}/g;function Z(e,t){return e.replace(M,function(a,d){var p=t[d];if(p===void 0)throw new Error("No value provided for variable "+a);return typeof p=="function"&&(p=p(t)),p})}var R=Array.isArray||function(e){return Object.prototype.toString.call(e)==="[object Array]"};function fe(e,t){for(var a=0;a<e.length;a++)if(e[a]===t)return a;return-1}var ge="data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs=";function _e(e){return window["webkit"+e]||window["moz"+e]||window["ms"+e]}var He=0;function zt(e){var t=+new Date,a=Math.max(0,16-(t-He));return He=t+a,window.setTimeout(e,a)}var Ho=window.requestAnimationFrame||_e("RequestAnimationFrame")||zt,nn=window.cancelAnimationFrame||_e("CancelAnimationFrame")||_e("CancelRequestAnimationFrame")||function(e){window.clearTimeout(e)};function ve(e,t,a){if(a&&Ho===zt)e.call(t);else return Ho.call(window,r(e,t))}function Pe(e){e&&nn.call(window,e)}var ps={__proto__:null,extend:i,create:o,bind:r,get lastId(){return h},stamp:u,throttle:f,wrapNum:g,falseFn:b,formatNum:_,trim:x,splitWords:w,setOptions:k,getParamString:O,template:Z,isArray:R,indexOf:fe,emptyImageUrl:ge,requestFn:Ho,cancelFn:nn,requestAnimFrame:ve,cancelAnimFrame:Pe};function Ve(){}Ve.extend=function(e){var t=function(){k(this),this.initialize&&this.initialize.apply(this,arguments),this.callInitHooks()},a=t.__super__=this.prototype,d=o(a);d.constructor=t,t.prototype=d;for(var p in this)Object.prototype.hasOwnProperty.call(this,p)&&p!=="prototype"&&p!=="__super__"&&(t[p]=this[p]);return e.statics&&i(t,e.statics),e.includes&&(us(e.includes),i.apply(null,[d].concat(e.includes))),i(d,e),delete d.statics,delete d.includes,d.options&&(d.options=a.options?o(a.options):{},i(d.options,e.options)),d._initHooks=[],d.callInitHooks=function(){if(!this._initHooksCalled){a.callInitHooks&&a.callInitHooks.call(this),this._initHooksCalled=!0;for(var m=0,v=d._initHooks.length;m<v;m++)d._initHooks[m].call(this)}},t},Ve.include=function(e){var t=this.prototype.options;return i(this.prototype,e),e.options&&(this.prototype.options=t,this.mergeOptions(e.options)),this},Ve.mergeOptions=function(e){return i(this.prototype.options,e),this},Ve.addInitHook=function(e){var t=Array.prototype.slice.call(arguments,1),a=typeof e=="function"?e:function(){this[e].apply(this,t)};return this.prototype._initHooks=this.prototype._initHooks||[],this.prototype._initHooks.push(a),this};function us(e){if(!(typeof L>"u"||!L||!L.Mixin)){e=R(e)?e:[e];for(var t=0;t<e.length;
4t++)e[t]===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 Te={on:function(e,t,a){if(typeof e=="object")for(var d in e)this._on(d,e[d],t);else{e=w(e);for(var p=0,m=e.length;p<m;p++)this._on(e[p],t,a)}return this},off:function(e,t,a){if(!arguments.length)delete this._events;else if(typeof e=="object")for(var d in e)this._off(d,e[d],t);else{e=w(e);for(var p=arguments.length===1,m=0,v=e.length;m<v;m++)p?this._off(e[m]):this._off(e[m],t,a)}return this},_on:function(e,t,a,d){if(typeof t!="function"){console.warn("wrong listener type: "+typeof t);return}if(this._listens(e,t,a)===!1){a===this&&(a=void 0);var p={fn:t,ctx:a};d&&(p.once=!0),this._events=this._events||{},this._events[e]=this._events[e]||[],this._events[e].push(p)}},_off:function(e,t,a){var d,p,m;if(this._events&&(d=this._events[e],!!d)){if(arguments.length===1){if(this._firingCount)for(p=0,m=d.length;p<m;p++)d[p].fn=b;delete this._events[e];return}if(typeof t!="function"){console.warn("wrong listener type: "+typeof t);return}var v=this._listens(e,t,a);if(v!==!1){var T=d[v];this._firingCount&&(T.fn=b,this._events[e]=d=d.slice()),d.splice(v,1)}}},fire:function(e,t,a){if(!this.listens(e,a))return this;var d=i({},t,{type:e,target:this,sourceTarget:t&&t.sourceTarget||this});if(this._events){var p=this._events[e];if(p){this._firingCount=this._firingCount+1||1;for(var m=0,v=p.length;m<v;m++){var T=p[m],E=T.fn;T.once&&this.off(e,E,T.ctx),E.call(T.ctx||this,d)}this._firingCount--}}return a&&this._propagateEvent(d),this},listens:function(e,t,a,d){typeof e!="string"&&console.warn('"string" type argument expected');var p=t;typeof t!="function"&&(d=!!t,p=void 0,a=void 0);var m=this._events&&this._events[e];if(m&&m.length&&this._listens(e,p,a)!==!1)return!0;if(d){for(var v in this._eventParents)if(this._eventParents[v].listens(e,t,a,d))return!0}return!1},_listens:function(e,t,a){if(!this._events)return!1;var d=this._events[e]||[];if(!t)return!!d.length;a===this&&(a=void 0);for(var p=0,m=d.length;p<m;p++)if(d[p].fn===t&&d[p].ctx===a)return p;return!1},once:function(e,t,a){if(typeof e=="object")for(var d in e)this._on(d,e[d],t,!0);else{e=w(e);for(var p=0,m=e.length;p<m;p++)this._on(e[p],t,a,!0)}return this},addEventParent:function(e){return this._eventParents=this._eventParents||{},this._eventParents[u(e)]=e,this},removeEventParent:function(e){return this._eventParents&&delete this._eventParents[u(e)],this},_propagateEvent:function(e){for(var t in this._eventParents)this._eventParents[t].fire(e.type,i({layer:e.target,propagatedFrom:e.target},e),!0)}};Te.addEventListener=Te.on,Te.removeEventListener=Te.clearAllEventListeners=Te.off,Te.addOneTimeEventListener=Te.once,Te.fireEvent=Te.fire,Te.hasEventListeners=Te.listens;var Ot=Ve.extend(Te);function j(e,t,a){this.x=a?Math.round(e):e,this.y=a?Math.round(t):t}var rn=Math.trunc||function(e){return e>0?Math.floor(e):Math.ceil(e)};j.prototype={clone:function(){return new j(this.x,this.y)},add:function(e){return this.clone()._add(N(e))},_add:function(e){return this.x+=e.x,this.y+=e.y,this},subtract:function(e){return this.clone()._subtract(N(e))},_subtract:function(e){return this.x-=e.x,this.y-=e.y,this},divideBy:function(e){return this.clone()._divideBy(e)},_divideBy:function(e){return this.x/=e,this.y/=e,this},multiplyBy:function(e){return this.clone()._multiplyBy(e)},_multiplyBy:function(e){return this.x*=e,this.y*=e,this},scaleBy:function(e){return new j(this.x*e.x,this.y*e.y)},unscaleBy:function(e){return new j(this.x/e.x,this.y/e.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=rn(this.x),this.y=rn(this.y),this},distanceTo:function(e){e=N(e);var t=e.x-this.x,a=e.y-this.y;return Math.sqrt(t*t+a*a)},equals:function(e){return e=N(e),e.x===this.x&&e.y===this.y},contains:function(e){return e=N(e),Math.abs(e.x)<=Math.abs(this.x)&&Math.abs(e.y)<=Math.abs(this.y)},toString:function(){return"Point("+_(this.x)+", "+_(this.y)+")"}};function N(e,t,a){return e instanceof j?e:R(e)?new j(e[0],e[1]):e==null?e:typeof e=="object"&&"x"in e&&"y"in e?new j(e.x,e.y):new j(e,t,a)}function J(e,t){if(e)for(var a=t?[e,t]:e,d=0,p=a.length;d<p;d++)this.extend(a[d])}J.prototype={extend:function(e){var t,a;if(!e)return this;if(e instanceof j||typeof e[0]=="number"||"x"in e)t=a=N(e);else if(e=ye(e),t=e.min,a=e.max,!t||!a)return this;return!this.min&&!this.max?(this.min=t.clone(),this.max=a.clone()):(this.min.x=Math.min(t.x,this.min.x),this.max.x=Math.max(a.x,this.max.x),this.min.y=Math.min(t.y,this.min.y),this.max.y=Math.max(a.y,this.max.y)),this},getCenter:function(e){return N((this.min.x+this.max.x)/2,(this.min.y+this.max.y)/2,e)},getBottomLeft:function(){return N(this.min.x,this.max.y)},getTopRight:function(){return N(this.max.x,this.min.y)},getTopLeft:function(){return this.min},getBottomRight:function(){return this.max},getSize:function(){return this.max.subtract(this.min)},contains:function(e){var t,a;return typeof e[0]=="number"||e instanceof j?e=N(e):e=ye(e),e instanceof J?(t=e.min,a=e.max):t=a=e,t.x>=this.min.x&&a.x<=this.max.x&&t.y>=this.min.y&&a.y<=this.max.y},intersects:function(e){e=ye(e);var t=this.min,a=this.max,d=e.min,p=e.max,m=p.x>=t.x&&d.x<=a.x,v=p.y>=t.y&&d.y<=a.y;return m&&v},overlaps:function(e){e=ye(e);var t=this.min,a=this.max,d=e.min,p=e.max,m=p.x>t.x&&d.x<a.x,v=p.y>t.y&&d.y<a.y;return m&&v},isValid:function(){return!!(this.min&&this.max)},pad:function(e){var t=this.min,a=this.max,d=Math.abs(t.x-a.x)*e,p=Math.abs(t.y-a.y)*e;return ye(N(t.x-d,t.y-p),N(a.x+d,a.y+p))},equals:function(e){return e?(e=ye(e),this.min.equals(e.getTopLeft())&&this.max.equals(e.getBottomRight())):!1}};function ye(e,t){return!e||e instanceof J?e:new J(e,t)}function xe(e,t){if(e)for(var a=t?[e,t]:e,d=0,p=a.length;d<p;d++)this.extend(a[d])}xe.prototype={extend:function(e){var t=this._southWest,a=this._northEast,d,p;if(e instanceof K)d=e,p=e;else if(e instanceof xe){if(d=e._southWest,p=e._northEast,!d||!p)return this}else return e?this.extend(W(e)||ae(e)):this;return!t&&!a?(this._southWest=new K(d.lat,d.lng),this._northEast=new K(p.lat,p.lng)):(t.lat=Math.min(d.lat,t.lat),t.lng=Math.min(d.lng,t.lng),a.lat=Math.max(p.lat,a.lat),a.lng=Math.max(p.lng,a.lng)),this},pad:function(e){var t=this._southWest,a=this._northEast,d=Math.abs(t.lat-a.lat)*e,p=Math.abs(t.lng-a.lng)*e;return new xe(new K(t.lat-d,t.lng-p),new K(a.lat+d,a.lng+p))},getCenter:function(){return new K((this._southWest.lat+this._northEast.lat)/2,(this._southWest.lng+this._northEast.lng)/2)},getSouthWest:function(){return this._southWest},getNorthEast:function(){return this._northEast},getNorthWest:function(){return new K(this.getNorth(),this.getWest())},getSouthEast:function(){return new K(this.getSouth(),this.getEast())},getWest:function(){return this._southWest.lng},getSouth:function(){return this._southWest.lat}
4,getEast:function(){return this._northEast.lng},getNorth:function(){return this._northEast.lat},contains:function(e){typeof e[0]=="number"||e instanceof K||"lat"in e?e=W(e):e=ae(e);var t=this._southWest,a=this._northEast,d,p;return e instanceof xe?(d=e.getSouthWest(),p=e.getNorthEast()):d=p=e,d.lat>=t.lat&&p.lat<=a.lat&&d.lng>=t.lng&&p.lng<=a.lng},intersects:function(e){e=ae(e);var t=this._southWest,a=this._northEast,d=e.getSouthWest(),p=e.getNorthEast(),m=p.lat>=t.lat&&d.lat<=a.lat,v=p.lng>=t.lng&&d.lng<=a.lng;return m&&v},overlaps:function(e){e=ae(e);var t=this._southWest,a=this._northEast,d=e.getSouthWest(),p=e.getNorthEast(),m=p.lat>t.lat&&d.lat<a.lat,v=p.lng>t.lng&&d.lng<a.lng;return m&&v},toBBoxString:function(){return[this.getWest(),this.getSouth(),this.getEast(),this.getNorth()].join(",")},equals:function(e,t){return e?(e=ae(e),this._southWest.equals(e.getSouthWest(),t)&&this._northEast.equals(e.getNorthEast(),t)):!1},isValid:function(){return!!(this._southWest&&this._northEast)}};function ae(e,t){return e instanceof xe?e:new xe(e,t)}function K(e,t,a){if(isNaN(e)||isNaN(t))throw new Error("Invalid LatLng object: ("+e+", "+t+")");this.lat=+e,this.lng=+t,a!==void 0&&(this.alt=+a)}K.prototype={equals:function(e,t){if(!e)return!1;e=W(e);var a=Math.max(Math.abs(this.lat-e.lat),Math.abs(this.lng-e.lng));return a<=(t===void 0?1e-9:t)},toString:function(e){return"LatLng("+_(this.lat,e)+", "+_(this.lng,e)+")"},distanceTo:function(e){return tt.distance(this,W(e))},wrap:function(){return tt.wrapLatLng(this)},toBounds:function(e){var t=180*e/40075017,a=t/Math.cos(Math.PI/180*this.lat);return ae([this.lat-t,this.lng-a],[this.lat+t,this.lng+a])},clone:function(){return new K(this.lat,this.lng,this.alt)}};function W(e,t,a){return e instanceof K?e:R(e)&&typeof e[0]!="object"?e.length===3?new K(e[0],e[1],e[2]):e.length===2?new K(e[0],e[1]):null:e==null?e:typeof e=="object"&&"lat"in e?new K(e.lat,"lng"in e?e.lng:e.lon,e.alt):t===void 0?null:new K(e,t,a)}var qe={latLngToPoint:function(e,t){var a=this.projection.project(e),d=this.scale(t);return this.transformation._transform(a,d)},pointToLatLng:function(e,t){var a=this.scale(t),d=this.transformation.untransform(e,a);return this.projection.unproject(d)},project:function(e){return this.projection.project(e)},unproject:function(e){return this.projection.unproject(e)},scale:function(e){return 256*Math.pow(2,e)},zoom:function(e){return Math.log(e/256)/Math.LN2},getProjectedBounds:function(e){if(this.infinite)return null;var t=this.projection.bounds,a=this.scale(e),d=this.transformation.transform(t.min,a),p=this.transformation.transform(t.max,a);return new J(d,p)},infinite:!1,wrapLatLng:function(e){var t=this.wrapLng?g(e.lng,this.wrapLng,!0):e.lng,a=this.wrapLat?g(e.lat,this.wrapLat,!0):e.lat,d=e.alt;return new K(a,t,d)},wrapLatLngBounds:function(e){var t=e.getCenter(),a=this.wrapLatLng(t),d=t.lat-a.lat,p=t.lng-a.lng;if(d===0&&p===0)return e;
4var m=e.getSouthWest(),v=e.getNorthEast(),T=new K(m.lat-d,m.lng-p),E=new K(v.lat-d,v.lng-p);return new xe(T,E)}},tt=i({},qe,{wrapLng:[-180,180],R:6371e3,distance:function(e,t){var a=Math.PI/180,d=e.lat*a,p=t.lat*a,m=Math.sin((t.lat-e.lat)*a/2),v=Math.sin((t.lng-e.lng)*a/2),T=m*m+Math.cos(d)*Math.cos(p)*v*v,E=2*Math.atan2(Math.sqrt(T),Math.sqrt(1-T));return this.R*E}}),an=6378137,Vo={R:an,MAX_LATITUDE:85.0511287798,project:function(e){var t=Math.PI/180,a=this.MAX_LATITUDE,d=Math.max(Math.min(a,e.lat),-a),p=Math.sin(d*t);return new j(this.R*e.lng*t,this.R*Math.log((1+p)/(1-p))/2)},unproject:function(e){var t=180/Math.PI;return new K((2*Math.atan(Math.exp(e.y/this.R))-Math.PI/2)*t,e.x*t/this.R)},bounds:function(){var e=an*Math.PI;return new J([-e,-e],[e,e])}()};function qo(e,t,a,d){if(R(e)){this._a=e[0],this._b=e[1],this._c=e[2],this._d=e[3];return}this._a=e,this._b=t,this._c=a,this._d=d}qo.prototype={transform:function(e,t){return this._transform(e.clone(),t)},_transform:function(e,t){return t=t||1,e.x=t*(this._a*e.x+this._b),e.y=t*(this._c*e.y+this._d),e},untransform:function(e,t){return t=t||1,new j((e.x/t-this._b)/this._a,(e.y/t-this._d)/this._c)}};function Dt(e,t,a,d){return new qo(e,t,a,d)}var Wo=i({},tt,{code:"EPSG:3857",projection:Vo,transformation:function(){var e=.5/(Math.PI*Vo.R);return Dt(e,.5,-e,.5)}()}),fs=i({},Wo,{code:"EPSG:900913"});function sn(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function ln(e,t){var a="",d,p,m,v,T,E;for(d=0,m=e.length;d<m;d++){for(T=e[d],p=0,v=T.length;p<v;p++)E=T[p],a+=(p?"L":"M")+E.x+" "+E.y;a+=t?D.svg?"z":"x":""}return a||"M0 0"}var Yo=document.documentElement.style,Jt="ActiveXObject"in window,gs=Jt&&!document.addEventListener,cn="msLaunchUri"in navigator&&!("documentMode"in document),Xo=Ne("webkit"),dn=Ne("android"),hn=Ne("android 2")||Ne("android 3"),ms=parseInt(/WebKit\/([0-9]+)|$/.exec(navigator.userAgent)[1],10),bs=dn&&Ne("Google")&&ms<537&&!("AudioNode"in window),Ko=!!window.opera,pn=!cn&&Ne("chrome"),un=Ne("gecko")&&!Xo&&!Ko&&!Jt,_s=!pn&&Ne("safari"),fn=Ne("phantom"),gn="OTransition"in Yo,vs=navigator.platform.indexOf("Win")===0,mn=Jt&&"transition"in Yo,$o="WebKitCSSMatrix"in window&&"m11"in new window.WebKitCSSMatrix&&!hn,bn="MozPerspective"in Yo,ys=!window.L_DISABLE_3D&&(mn||$o||bn)&&!gn&&!fn,It=typeof orientation<"u"||Ne("mobile"),xs=It&&Xo,ws=It&&$o,_n=!window.PointerEvent&&window.MSPointerEvent,vn=!!(window.PointerEvent||_n),yn="ontouchstart"in window||!!window.TouchEvent,Ls=!window.L_NO_TOUCH&&(yn||vn),ks=It&&Ko,Ts=It&&un,Es=(window.devicePixelRatio||window.screen.deviceXDPI/window.screen.logicalXDPI)>1,Cs=function(){var e=!1;try{var t=Object.defineProperty({},"passive",{get:function(){e=!0}});window.addEventListener("testPassiveEventSupport",b,t),window.removeEventListener("testPassiveEventSupport",b,t)}catch{}return e}(),Ps=function(){return!!document.createElement("canvas").getContext}(),Jo=!!(document.createElementNS&&sn("svg").createSVGRect),Ss=!!Jo&&function(){var e=document.createElement("div");return e.innerHTML="<svg/>",(e.firstChild&&e.firstChild.namespaceURI)==="http://www.w3.org/2000/svg"}(),Ms=!Jo&&function(){try{var e=document.createElement("div");e.innerHTML='<v:shape adj="1"/>';var t=e.firstChild;return t.style.behavior="url(#default#VML)",t&&typeof t.adj=="object"}catch{return!1}}(),zs=navigator.platform.indexOf("Mac")===0,Os=navigator.platform.indexOf("Linux")===0;function Ne(e){return navigator.userAgent.toLowerCase().indexOf(e)>=0}var D={ie:Jt,ielt9:gs,edge:cn,webkit:Xo,android:dn,android23:hn,androidStock:bs,opera:Ko,chrome:pn,gecko:un,safari:_s,phantom:fn,opera12:gn,win:vs,ie3d:mn,webkit3d:$o,gecko3d:bn,any3d:ys,mobile:It,mobileWebkit:xs,mobileWebkit3d:ws,msPointer:_n,pointer:vn,touch:Ls,touchNative:yn,mobileOpera:ks,mobileGecko:Ts,retina:Es,passiveEvents:Cs,canvas:Ps,svg:Jo,vml:Ms,inlineSvg:Ss,mac:zs,linux:Os},xn=D.msPointer?"MSPointerDown":"pointerdown",wn=D.msPointer?"MSPointerMove":"pointermove",Ln=D.msPointer?"MSPointerUp":"pointerup",kn=D.msPointer?"MSPointerCancel":"pointercancel",Qo={touchstart:xn,touchmove:wn,touchend:Ln,touchcancel:kn},Tn={touchstart:Ns,touchmove:Qt,touchend:Qt,touchcancel:Qt},bt={},En=!1;function Ds(e,t,a){return t==="touchstart"&&Bs(),Tn[t]?(a=Tn[t].bind(this,a),e.addEventListener(Qo[t],a,!1),a):(console.warn("wrong event specified:",t),b)}function Is(e,t,a){if(!Qo[t]){console.warn("wrong event specified:",t);return}e.removeEventListener(Qo[t],a,!1)}function Rs(e){bt[e.pointerId]=e}function As(e){bt[e.pointerId]&&(bt[e.pointerId]=e)}function Cn(e){delete bt[e.pointerId]}function Bs(){En||(document.addEventListener(xn,Rs,!0),document.addEventListener(wn,As,!0),document.addEventListener(Ln,Cn,!0),document.addEventListener(kn,Cn,!0),En=!0)}function Qt(e,t){if(t.pointerType!==(t.MSPOINTER_TYPE_MOUSE||"mouse")){t.touches=[];for(var a in bt)t.touches.push(bt[a]);t.changedTouches=[t],e(t)}}function Ns(e,t){t.MSPOINTER_TYPE_TOUCH&&t.pointerType===t.MSPOINTER_TYPE_TOUCH&&ue(t),Qt(e,t)}function js(e){var t={},a,d;for(d in e)a=e[d],t[d]=a&&a.bind?a.bind(e):a;return e=t,t.type="dblclick",t.detail=2,t.isTrusted=!1,t._simulated=!0,t}var Us=200;function Fs(e,t){e.addEventListener("dblclick",t);var a=0,d;function p(m){if(m.detail!==1){d=m.detail;return}if(!(m.pointerType==="mouse"||m.sourceCapabilities&&!m.sourceCapabilities.firesTouchEvents)){var v=On(m);if(!(v.some(function(E){return E instanceof HTMLLabelElement&&E.attributes.for})&&!v.some(function(E){return E instanceof HTMLInputElement||E instanceof HTMLSelectElement}))){var T=Date.now();T-a<=Us?(d++,d===2&&t(js(m))):d=1,a=T}}}return e.addEventListener("click",p),{dblclick:t,simDblclick:p}}function Zs(e,t){e.removeEventListener("dblclick",t.dblclick),e.removeEventListener("click",t.simDblclick)}var ei=oo(["transform","webkitTransform","OTransform","MozTransform","msTransform"]),Rt=oo(["webkitTransition","transition","OTransition","MozTransition","msTransition"]),Pn=Rt==="webkitTransition"||Rt==="OTransition"?Rt+"End":"transitionend";function Sn(e){return typeof e=="string"?document.getElementById(e):e}function At(e,t){var a=e.style[t]||e.currentStyle&&e.currentStyle[t];if((!a||a==="auto")&&document.defaultView){var d=document.defaultView.getComputedStyle(e,null);a=d?d[t]:null}return a==="auto"?null:a}function X(e,t,a){var d=document.createElement(e);return d.className=t||"",a&&a.appendChild(d),d}function Q(e){var t=e.parentNode;t&&t.removeChild(e)}function eo(e){for(;e.firstChild;)e.removeChild(e.firstChild)}function _t(e){var t=e.parentNode;t&&t.lastChild!==e&&t.appendChild(e)}function vt(e){var t=e.parentNode;t&&t.firstChild!==e&&t.insertBefore(e,t.firstChild)}function ti(e,t){if(e.classList!==void 0)return e.classList.contains(t);var a=to(e);return a.length>0&&new RegExp("(^|\\s)"+t+"(\\s|$)").test(a)}function G(e,t){if(e.classList!==void 0)for(var a=w(t),d=0,p=a.length;d<p;d++)e.classList.add(a[d]);else if(!ti(e,t)){var m=to(e);oi(e,(m?m+" ":"")+t)}}function ne(e,t){e.classList!==void 0?e.classList.remove(t):oi(e,x((" "+to(e)+" ").replace(" "+t+" "," ")))}function oi(e,t){e.className.baseVal===void 0?e.className=t:e.className.baseVal=t}function to(e){return e.correspondingElement&&(e=e.correspondingElement),e.className.baseVal===void 0?e.className:e.className.baseVal}function Se(e,t){"opacity"in e.style?e.style.opacity=t:"filter"in e.style&&Gs(e,t)}function Gs(e,t){var a=!1,d="DXImageTransform.Microsoft.Alpha";try{a=e.filters.item(d)}catch{if(t===1)return}t=Math.round(t*100),a?(a.Enabled=t!==100,a.Opacity=t):e.style.filter+=" progid:"+d+"(opacity="+t+")"}function oo(e){for(var t=document.documentElement.style,a=0;a<e.length;a++)if(e[a]in t)return e[a];return!1}function st(e,t,a){var d=t||new j(0,0);e.style[ei]=(D.ie3d?"translate("+d.x+"px,"+d.y+"px)":"translate3d("+d.x+"px,"+d.y+"px,0)")+(a?" scale("+a+")":"")}function se(e,t){e._leaflet_pos=t,D.any3d?st(e,t):(e.style.left=t.x+"px",e.style.top=t.y+"px")}function lt(e){return e._leaflet_pos||new j(0,0)}var Bt,Nt,ii;if("onselectstart"in document)Bt=function(){U(window,"selectstart",ue)},Nt=function(){$(window,"selectstart",ue)};else{var jt=oo(["userSelect","WebkitUserSelect","OUserSelect","MozUserSelect","msUserSelect"]);Bt=function(){if(jt){var e=document.documentElement.style;ii=e[jt],e[jt]="none"}},Nt=function(){jt&&(document.documentElement.style[jt]=ii,ii=void 0)}}function ni(){U(window,"dragstart",ue)}function ri(){$(window,"dragstart",ue)}var io,ai;function si(e){for(;e.tabIndex===-1;)e=e.parentNode;e.style&&(no(),io=e,ai=e.style.outlineStyle,e.style.outlineStyle="none",U(window,"keydown",no))}function no(){io&&(io.style.outlineStyle=ai,io=void 0,ai=void 0,$(window,"keydown",no))}function Mn(e){do e=e.parentNode;while((!e.offsetWidth||!e.offsetHeight)&&e!==document.body);return e}function li(e){var t=e.getBoundingClientRect();return{x:t.width/e.offsetWidth||1,y:t.height/e.offsetHeight||1,boundingClientRect:t}}var Hs={__proto__:null,TRANSFORM:ei,TRANSITION:Rt,TRANSITION_END:Pn,get:Sn,getStyle:At,create:X,remove:Q,empty:eo,toFront:_t,toBack:vt,hasClass:ti,addClass:G,removeClass:ne,setClass:oi,getClass:to,setOpacity:Se,testProp:oo,setTransform:st,setPosition:se,getPosition:lt,get disableTextSelection(){return Bt},get enableTextSelection(){return Nt},disableImageDrag:ni,enableImageDrag:ri,preventOutline:si,restoreOutline:no,getSizedParentNode:Mn,getScale:li};function U(e,t,a,d){if(t&&typeof t=="object")for(var p in t)di(e,p,t[p],a);else{t=w(t);for(var m=0,v=t.length;m<v;m++)di(e,t[m],a,d)}return this}var je="_leaflet_events";function $(e,t,a,d){if(arguments.length===1)zn(e),delete e[je];
4else if(t&&typeof t=="object")for(var p in t)hi(e,p,t[p],a);else if(t=w(t),arguments.length===2)zn(e,function(T){return fe(t,T)!==-1});else for(var m=0,v=t.length;m<v;m++)hi(e,t[m],a,d);return this}function zn(e,t){for(var a in e[je]){var d=a.split(/\d/)[0];(!t||t(d))&&hi(e,d,null,null,a)}}var ci={mouseenter:"mouseover",mouseleave:"mouseout",wheel:!("onwheel"in window)&&"mousewheel"};function di(e,t,a,d){var p=t+u(a)+(d?"_"+u(d):"");if(e[je]&&e[je][p])return this;var m=function(T){return a.call(d||e,T||window.event)},v=m;!D.touchNative&&D.pointer&&t.indexOf("touch")===0?m=Ds(e,t,m):D.touch&&t==="dblclick"?m=Fs(e,m):"addEventListener"in e?t==="touchstart"||t==="touchmove"||t==="wheel"||t==="mousewheel"?e.addEventListener(ci[t]||t,m,D.passiveEvents?{passive:!1}:!1):t==="mouseenter"||t==="mouseleave"?(m=function(T){T=T||window.event,ui(e,T)&&v(T)},e.addEventListener(ci[t],m,!1)):e.addEventListener(t,v,!1):e.attachEvent("on"+t,m),e[je]=e[je]||{},e[je][p]=m}function hi(e,t,a,d,p){p=p||t+u(a)+(d?"_"+u(d):"");var m=e[je]&&e[je][p];if(!m)return this;!D.touchNative&&D.pointer&&t.indexOf("touch")===0?Is(e,t,m):D.touch&&t==="dblclick"?Zs(e,m):"removeEventListener"in e?e.removeEventListener(ci[t]||t,m,!1):e.detachEvent("on"+t,m),e[je][p]=null}function ct(e){return e.stopPropagation?e.stopPropagation():e.originalEvent?e.originalEvent._stopped=!0:e.cancelBubble=!0,this}function pi(e){return di(e,"wheel",ct),this}function Ut(e){return U(e,"mousedown touchstart dblclick contextmenu",ct),e._leaflet_disable_click=!0,this}function ue(e){return e.preventDefault?e.preventDefault():e.returnValue=!1,this}function dt(e){return ue(e),ct(e),this}function On(e){if(e.composedPath)return e.composedPath();for(var t=[],a=e.target;a;)t.push(a),a=a.parentNode;return t}function Dn(e,t){if(!t)return new j(e.clientX,e.clientY);var a=li(t),d=a.boundingClientRect;return new j((e.clientX-d.left)/a.x-t.clientLeft,(e.clientY-d.top)/a.y-t.clientTop)}var Vs=D.linux&&D.chrome?window.devicePixelRatio:D.mac?window.devicePixelRatio*3:window.devicePixelRatio>0?2*window.devicePixelRatio:1;function In(e){return D.edge?e.wheelDeltaY/2:e.deltaY&&e.deltaMode===0?-e.deltaY/Vs:e.deltaY&&e.deltaMode===1?-e.deltaY*20:e.deltaY&&e.deltaMode===2?-e.deltaY*60:e.deltaX||e.deltaZ?0:e.wheelDelta?(e.wheelDeltaY||e.wheelDelta)/2:e.detail&&Math.abs(e.detail)<32765?-e.detail*20:e.detail?e.detail/-32765*60:0}function ui(e,t){var a=t.relatedTarget;if(!a)return!0;try{for(;a&&a!==e;)a=a.parentNode}catch{return!1}return a!==e}var qs={__proto__:null,on:U,off:$,stopPropagation:ct,disableScrollPropagation:pi,disableClickPropagation:Ut,preventDefault:ue,stop:dt,getPropagationPath:On,getMousePosition:Dn,getWheelDelta:In,isExternalTarget:ui,addListener:U,removeListener:$},Rn=Ot.extend({run:function(e,t,a,d){this.stop(),this._el=e,this._inProgress=!0,this._duration=a||.25,this._easeOutPower=1/Math.max(d||.5,.2),this._startPos=lt(e),this._offset=t.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=ve(this._animate,this),this._step()},_step:function(e){var t=+new Date-this._startTime,a=this._duration*1e3;t<a?this._runFrame(this._easeOut(t/a),e):(this._runFrame(1),this._complete())},_runFrame:function(e,t){var a=this._startPos.add(this._offset.multiplyBy(e));t&&a._round(),se(this._el,a),this.fire("step")},_complete:function(){Pe(this._animId),this._inProgress=!1,this.fire("end")},_easeOut:function(e){return 1-Math.pow(1-e,this._easeOutPower)}}),Y=Ot.extend({options:{crs:Wo,center:void 0,zoom:void 0,minZoom:void 0,maxZoom:void 0,layers:[],maxBounds:void 0,renderer:void 0,zoomAnimation:!0,zoomAnimationThreshold:4,fadeAnimation:!0,markerZoomAnimation:!0,transform3DLimit:8388608,zoomSnap:1,zoomDelta:1,trackResize:!0},initialize:function(e,t){t=k(this,t),this._handlers=[],this._layers={},this._zoomBoundLayers={},this._sizeChanged=!0,this._initContainer(e),this._initLayout(),this._onResize=r(this._onResize,this),this._initEvents(),t.maxBounds&&this.setMaxBounds(t.maxBounds),t.zoom!==void 0&&(this._zoom=this._limitZoom(t.zoom)),t.center&&t.zoom!==void 0&&this.setView(W(t.center),t.zoom,{reset:!0}),this.callInitHooks(),this._zoomAnimated=Rt&&D.any3d&&!D.mobileOpera&&this.options.zoomAnimation,this._zoomAnimated&&(this._createAnimProxy(),U(this._proxy,Pn,this._catchTransitionEnd,this)),this._addLayers(this.options.layers)}
4,setView:function(e,t,a){if(t=t===void 0?this._zoom:this._limitZoom(t),e=this._limitCenter(W(e),t,this.options.maxBounds),a=a||{},this._stop(),this._loaded&&!a.reset&&a!==!0){a.animate!==void 0&&(a.zoom=i({animate:a.animate},a.zoom),a.pan=i({animate:a.animate,duration:a.duration},a.pan));var d=this._zoom!==t?this._tryAnimatedZoom&&this._tryAnimatedZoom(e,t,a.zoom):this._tryAnimatedPan(e,a.pan);if(d)return clearTimeout(this._sizeTimer),this}return this._resetView(e,t,a.pan&&a.pan.noMoveStart),this},setZoom:function(e,t){return this._loaded?this.setView(this.getCenter(),e,{zoom:t}):(this._zoom=e,this)},zoomIn:function(e,t){return e=e||(D.any3d?this.options.zoomDelta:1),this.setZoom(this._zoom+e,t)},zoomOut:function(e,t){return e=e||(D.any3d?this.options.zoomDelta:1),this.setZoom(this._zoom-e,t)},setZoomAround:function(e,t,a){var d=this.getZoomScale(t),p=this.getSize().divideBy(2),m=e instanceof j?e:this.latLngToContainerPoint(e),v=m.subtract(p).multiplyBy(1-1/d),T=this.containerPointToLatLng(p.add(v));return this.setView(T,t,{zoom:a})},_getBoundsCenterZoom:function(e,t){t=t||{},e=e.getBounds?e.getBounds():ae(e);var a=N(t.paddingTopLeft||t.padding||[0,0]),d=N(t.paddingBottomRight||t.padding||[0,0]),p=this.getBoundsZoom(e,!1,a.add(d));if(p=typeof t.maxZoom=="number"?Math.min(t.maxZoom,p):p,p===1/0)return{center:e.getCenter(),zoom:p};
4var m=d.subtract(a).divideBy(2),v=this.project(e.getSouthWest(),p),T=this.project(e.getNorthEast(),p),E=this.unproject(v.add(T).divideBy(2).add(m),p);return{center:E,zoom:p}},fitBounds:function(e,t){if(e=ae(e),!e.isValid())throw new Error("Bounds are not valid.");var a=this._getBoundsCenterZoom(e,t);return this.setView(a.center,a.zoom,t)},fitWorld:function(e){return this.fitBounds([[-90,-180],[90,180]],e)},panTo:function(e,t){return this.setView(e,this._zoom,{pan:t})},panBy:function(e,t){if(e=N(e).round(),t=t||{},!e.x&&!e.y)return this.fire("moveend");if(t.animate!==!0&&!this.getSize().contains(e))return this._resetView(this.unproject(this.project(this.getCenter()).add(e)),this.getZoom()),this;if(this._panAnim||(this._panAnim=new Rn,this._panAnim.on({step:this._onPanTransitionStep,end:this._onPanTransitionEnd},this)),t.noMoveStart||this.fire("movestart"),t.animate!==!1){G(this._mapPane,"leaflet-pan-anim");var a=this._getMapPanePos().subtract(e).round();this._panAnim.run(this._mapPane,a,t.duration||.25,t.easeLinearity)}else this._rawPanBy(e),this.fire("move").fire("moveend");return this},flyTo:function(e,t,a){if(a=a||{},a.animate===!1||!D.any3d)return this.setView(e,t,a);this._stop();var d=this.project(this.getCenter()),p=this.project(e),m=this.getSize(),v=this._zoom;e=W(e),t=t===void 0?v:t;var T=Math.max(m.x,m.y),E=T*this.getZoomScale(v,t),P=p.distanceTo(d)||1,z=1.42,I=z*z;function q(le){var bo=le?-1:1,Il=le?E:T,Rl=E*E-T*T+bo*I*I*P*P,Al=2*Il*I*P,ki=Rl/Al,gr=Math.sqrt(ki*ki+1)-ki,Bl=gr<1e-9?-18:Math.log(gr);return Bl}function me(le){return(Math.exp(le)-Math.exp(-le))/2}function pe(le){return(Math.exp(le)+Math.exp(-le))/2}function ze(le){return me(le)/pe(le)}var we=q(0);function Tt(le){return T*(pe(we)/pe(we+z*le))}function Ml(le){return T*(pe(we)*ze(we+z*le)-me(we))/I}function zl(le){return 1-Math.pow(1-le,1.5)}var Ol=Date.now(),ur=(q(1)-we)/z,Dl=a.duration?1e3*a.duration:1e3*ur*.8;function fr(){var le=(Date.now()-Ol)/Dl,bo=zl(le)*ur;le<=1?(this._flyToFrame=ve(fr,this),this._move(this.unproject(d.add(p.subtract(d).multiplyBy(Ml(bo)/P)),v),this.getScaleZoom(T/Tt(bo),v),{flyTo:!0})):this._move(e,t)._moveEnd(!0)}return this._moveStart(!0,a.noMoveStart),fr.call(this),this},flyToBounds:function(e,t){var a=this._getBoundsCenterZoom(e,t);return this.flyTo(a.center,a.zoom,t)},setMaxBounds:function(e){return e=ae(e),this.listens("moveend",this._panInsideMaxBounds)&&this.off("moveend",this._panInsideMaxBounds),e.isValid()?(this.options.maxBounds=e,this._loaded&&this._panInsideMaxBounds(),this.on("moveend",this._panInsideMaxBounds)):(this.options.maxBounds=null,this)},setMinZoom:function(e){var t=this.options.minZoom;return this.options.minZoom=e,this._loaded&&t!==e&&(this.fire("zoomlevelschange"),this.getZoom()<this.options.minZoom)?this.setZoom(e):this},setMaxZoom:function(e){var t=this.options.maxZoom;return this.options.maxZoom=e,this._loaded&&t!==e&&(this.fire("zoomlevelschange"),this.getZoom()>this.options.maxZoom)?this.setZoom(e):this},panInsideBounds:function(e,t){this._enforcingBounds=!0;var a=this.getCenter(),d=this._limitCenter(a,this._zoom,ae(e));return a.equals(d)||this.panTo(d,t),this._enforcingBounds=!1,this},panInside:function(e,t){t=t||{};var a=N(t.paddingTopLeft||t.padding||[0,0]),d=N(t.paddingBottomRight||t.padding||[0,0]),p=this.project(this.getCenter()),m=this.project(e),v=this.getPixelBounds(),T=ye([v.min.add(a),v.max.subtract(d)]),E=T.getSize();if(!T.contains(m)){this._enforcingBounds=!0;var P=m.subtract(T.getCenter()),z=T.extend(m).getSize().subtract(E);p.x+=P.x<0?-z.x:z.x,p.y+=P.y<0?-z.y:z.y,this.panTo(this.unproject(p),t),this._enforcingBounds=!1}return this},invalidateSize:function(e){if(!this._loaded)return this;e=i({animate:!1,pan:!0},e===!0?{animate:!0}:e);var t=this.getSize();this._sizeChanged=!0,this._lastCenter=null;var a=this.getSize(),d=t.divideBy(2).round(),p=a.divideBy(2).round(),m=d.subtract(p);return!m.x&&!m.y?this:(e.animate&&e.pan?this.panBy(m):(e.pan&&this._rawPanBy(m),this.fire("move"),e.debounceMoveend?(clearTimeout(this._sizeTimer),this._sizeTimer=setTimeout(r(this.fire,this,"moveend"),200)):this.fire("moveend")),this.fire("resize",{oldSize:t,newSize:a}))},stop:function(){return this.setZoom(this._limitZoom(this._zoom)),this.options.zoomSnap||this.fire("viewreset"),this._stop()},locate:function(e){if(e=this._locateOptions=i({timeout:1e4,watch:!1},e),!("geolocation"in navigator))return this._handleGeolocationError({code:0,message:"Geolocation not supported."}),this;var t=r(this._handleGeolocationResponse,this),a=r(this._handleGeolocationError,this);return e.watch?this._locationWatchId=navigator.geolocation.watchPosition(t,a,e):navigator.geolocation.getCurrentPosition(t,a,e),this},stopLocate:function(){return navigator.geolocation&&navigator.geolocation.clearWatch&&navigator.geolocation.clearWatch(this._locationWatchId),this._locateOptions&&(this._locateOptions.setView=!1),this},_handleGeolocationError:function(e){if(this._container._leaflet_id){var t=e.code,a=e.message||(t===1?"permission denied":t===2?"position unavailable":"timeout");this._locateOptions.setView&&!this._loaded&&this.fitWorld(),this.fire("locationerror",{code:t,message:"Geolocation error: "+a+"."})}},_handleGeolocationResponse:function(e){if(this._container._leaflet_id){var t=e.coords.latitude,a=e.coords.longitude,d=new K(t,a),p=d.toBounds(e.coords.accuracy*2),m=this._locateOptions;if(m.setView){var v=this.getBoundsZoom(p);this.setView(d,m.maxZoom?Math.min(v,m.maxZoom):v)}var T={latlng:d,bounds:p,timestamp:e.timestamp};for(var E in e.coords)typeof e.coords[E]=="number"&&(T[E]=e.coords[E]);this.fire("locationfound",T)}},addHandler:function(e,t){if(!t)return this;var a=this[e]=new t(this);return this._handlers.push(a),this.options[e]&&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(),Q(this._mapPane),this._clearControlPos&&this._clearControlPos(),this._resizeRequest&&(Pe(this._resizeRequest),this._resizeRequest=null),this._clearHandlers(),this._loaded&&this.fire("unload");var e;
4for(e in this._layers)this._layers[e].remove();for(e in this._panes)Q(this._panes[e]);return this._layers=[],this._panes=[],delete this._mapPane,delete this._renderer,this},createPane:function(e,t){var a="leaflet-pane"+(e?" leaflet-"+e.replace("Pane","")+"-pane":""),d=X("div",a,t||this._mapPane);return e&&(this._panes[e]=d),d},getCenter:function(){return this._checkIfLoaded(),this._lastCenter&&!this._moved()?this._lastCenter.clone():this.layerPointToLatLng(this._getCenterLayerPoint())},getZoom:function(){return this._zoom},getBounds:function(){var e=this.getPixelBounds(),t=this.unproject(e.getBottomLeft()),a=this.unproject(e.getTopRight());return new xe(t,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(e,t,a){e=ae(e),a=N(a||[0,0]);var d=this.getZoom()||0,p=this.getMinZoom(),m=this.getMaxZoom(),v=e.getNorthWest(),T=e.getSouthEast(),E=this.getSize().subtract(a),P=ye(this.project(T,d),this.project(v,d)).getSize(),z=D.any3d?this.options.zoomSnap:1,I=E.x/P.x,q=E.y/P.y,me=t?Math.max(I,q):Math.min(I,q);return d=this.getScaleZoom(me,d),z&&(d=Math.round(d/(z/100))*(z/100),d=t?Math.ceil(d/z)*z:Math.floor(d/z)*z),Math.max(p,Math.min(m,d))},getSize:function(){return(!this._size||this._sizeChanged)&&(this._size=new j(this._container.clientWidth||0,this._container.clientHeight||0),this._sizeChanged=!1),this._size.clone()},getPixelBounds:function(e,t){var a=this._getTopLeftPoint(e,t);return new J(a,a.add(this.getSize()))},getPixelOrigin:function(){return this._checkIfLoaded(),this._pixelOrigin},getPixelWorldBounds:function(e){return this.options.crs.getProjectedBounds(e===void 0?this.getZoom():e)},getPane:function(e){return typeof e=="string"?this._panes[e]:e},getPanes:function(){return this._panes},getContainer:function(){return this._container},getZoomScale:function(e,t){var a=this.options.crs;return t=t===void 0?this._zoom:t,a.scale(e)/a.scale(t)},getScaleZoom:function(e,t){var a=this.options.crs;t=t===void 0?this._zoom:t;var d=a.zoom(e*a.scale(t));return isNaN(d)?1/0:d},project:function(e,t){return t=t===void 0?this._zoom:t,this.options.crs.latLngToPoint(W(e),t)},unproject:function(e,t){return t=t===void 0?this._zoom:t,this.options.crs.pointToLatLng(N(e),t)},layerPointToLatLng:function(e){var t=N(e).add(this.getPixelOrigin());return this.unproject(t)},latLngToLayerPoint:function(e){var t=this.project(W(e))._round();return t._subtract(this.getPixelOrigin())},wrapLatLng:function(e){return this.options.crs.wrapLatLng(W(e))},wrapLatLngBounds:function(e){return this.options.crs.wrapLatLngBounds(ae(e))},distance:function(e,t){return this.options.crs.distance(W(e),W(t))},containerPointToLayerPoint:function(e){return N(e).subtract(this._getMapPanePos())},layerPointToContainerPoint:function(e){return N(e).add(this._getMapPanePos())},containerPointToLatLng:function(e){var t=this.containerPointToLayerPoint(N(e));return this.layerPointToLatLng(t)},latLngToContainerPoint:function(e){return this.layerPointToContainerPoint(this.latLngToLayerPoint(W(e)))},mouseEventToContainerPoint:function(e){return Dn(e,this._container)},mouseEventToLayerPoint:function(e){return this.containerPointToLayerPoint(this.mouseEventToContainerPoint(e))},mouseEventToLatLng:function(e){return this.layerPointToLatLng(this.mouseEventToLayerPoint(e))},_initContainer:function(e){var t=this._container=Sn(e);if(t){if(t._leaflet_id)throw new Error("Map container is already initialized.")}else throw new Error("Map container not found.");U(t,"scroll",this._onScroll,this),this._containerId=u(t)},_initLayout:function(){var e=this._container;this._fadeAnimated=this.options.fadeAnimation&&D.any3d,G(e,"leaflet-container"+(D.touch?" leaflet-touch":"")+(D.retina?" leaflet-retina":"")+(D.ielt9?" leaflet-oldie":"")+(D.safari?" leaflet-safari":"")+(this._fadeAnimated?" leaflet-fade-anim":""));var t=At(e,"position");t!=="absolute"&&t!=="relative"&&t!=="fixed"&&t!=="sticky"&&(e.style.position="relative"),this._initPanes(),this._initControlPos&&this._initControlPos()},_initPanes:function(){var e=this._panes={};this._paneRenderers={},this._mapPane=this.createPane("mapPane",this._container),se(this._mapPane,new j(0,0)),this.createPane("tilePane"),this.createPane("overlayPane"),this.createPane("shadowPane"),this.createPane("markerPane"),this.createPane("tooltipPane"),this.createPane("popupPane"),this.options.markerZoomAnimation||(G(e.markerPane,"leaflet-zoom-hide"),G(e.shadowPane,"leaflet-zoom-hide"))},_resetView:function(e,t,a){se(this._mapPane,new j(0,0));var d=!this._loaded;this._loaded=!0,t=this._limitZoom(t),this.fire("viewprereset");var p=this._zoom!==t;this._moveStart(p,a)._move(e,t)._moveEnd(p),this.fire("viewreset"),d&&this.fire("load")},_moveStart:function(e,t){return e&&this.fire("zoomstart"),t||this.fire("movestart"),this},_move:function(e,t,a,d){t===void 0&&(t=this._zoom);var p=this._zoom!==t;return this._zoom=t,this._lastCenter=e,this._pixelOrigin=this._getNewPixelOrigin(e),d?a&&a.pinch&&this.fire("zoom",a):((p||a&&a.pinch)&&this.fire("zoom",a),this.fire("move",a)),this},_moveEnd:function(e){return e&&this.fire("zoomend"),this.fire("moveend")},_stop:function(){return Pe(this._flyToFrame),this._panAnim&&this._panAnim.stop(),this},_rawPanBy:function(e){se(this._mapPane,this._getMapPanePos().subtract(e))},_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(e){this._targets={},this._targets[u(this._container)]=this;var t=e?$:U;t(this._container,"click dblclick mousedown mouseup mouseover mouseout mousemove contextmenu keypress keydown keyup",this._handleDOMEvent,this),this.options.trackResize&&t(window,"resize",this._onResize,this),D.any3d&&this.options.transform3DLimit&&(e?this.off:this.on).call(this,"moveend",this._onMoveEnd)},_onResize:function(){Pe(this._resizeRequest),this._resizeRequest=ve(function(){this.invalidateSize({debounceMoveend:!0})},this)},_onScroll:function(){this._container.scrollTop=0,this._container.scrollLeft=0},_onMoveEnd:function(){var e=this._getMapPanePos();Math.max(Math.abs(e.x),Math.abs(e.y))>=this.options.transform3DLimit&&this._resetView(this.getCenter(),this.getZoom())},_findEventTargets:function(e,t){for(var a=[],d,p=t==="mouseout"||t==="mouseover",m=e.target||e.srcElement,v=!1;m;){if(d=this._targets[u(m)],d&&(t==="click"||t==="preclick")&&this._draggableMoved(d)){v=!0;break}if(d&&d.listens(t,!0)&&(p&&!ui(m,e)||(a.push(d),p))||m===this._container)break;m=m.parentNode}return!a.length&&!v&&!p&&this.listens(t,!0)&&(a=[this]),a},_isClickDisabled:function(e){for(;e&&e!==this._container;){if(e._leaflet_disable_click)return!0;e=e.parentNode}},_handleDOMEvent:function(e){var t=e.target||e.srcElement;if(!(!this._loaded||t._leaflet_disable_events||e.type==="click"&&this._isCl
4ickDisabled(t))){var a=e.type;a==="mousedown"&&si(t),this._fireDOMEvent(e,a)}},_mouseEvents:["click","dblclick","mouseover","mouseout","contextmenu"],_fireDOMEvent:function(e,t,a){if(e.type==="click"){var d=i({},e);d.type="preclick",this._fireDOMEvent(d,d.type,a)}var p=this._findEventTargets(e,t);if(a){for(var m=[],v=0;v<a.length;v++)a[v].listens(t,!0)&&m.push(a[v]);p=m.concat(p)}if(p.length){t==="contextmenu"&&ue(e);var T=p[0],E={originalEvent:e};if(e.type!=="keypress"&&e.type!=="keydown"&&e.type!=="keyup"){var P=T.getLatLng&&(!T._radius||T._radius<=10);E.containerPoint=P?this.latLngToContainerPoint(T.getLatLng()):this.mouseEventToContainerPoint(e),E.layerPoint=this.containerPointToLayerPoint(E.containerPoint),E.latlng=P?T.getLatLng():this.layerPointToLatLng(E.layerPoint)}for(v=0;v<p.length;v++)if(p[v].fire(t,E,!0),E.originalEvent._stopped||p[v].options.bubblingMouseEvents===!1&&fe(this._mouseEvents,t)!==-1)return}},_draggableMoved:function(e){return e=e.dragging&&e.dragging.enabled()?e:this,e.dragging&&e.dragging.moved()||this.boxZoom&&this.boxZoom.moved()},_clearHandlers:function(){for(var e=0,t=this._handlers.length;e<t;e++)this._handlers[e].disable()},whenReady:function(e,t){return this._loaded?e.call(t||this,{target:this}):this.on("load",e,t),this},_getMapPanePos:function(){return lt(this._mapPane)||new j(0,0)},_moved:function(){var e=this._getMapPanePos();return e&&!e.equals([0,0])},_getTopLeftPoint:function(e,t){var a=e&&t!==void 0?this._getNewPixelOrigin(e,t):this.getPixelOrigin();return a.subtract(this._getMapPanePos())},_getNewPixelOrigin:function(e,t){var a=this.getSize()._divideBy(2);return this.project(e,t)._subtract(a)._add(this._getMapPanePos())._round()},_latLngToNewLayerPoint:function(e,t,a){var d=this._getNewPixelOrigin(a,t);return this.project(e,t)._subtract(d)},_latLngBoundsToNewLayerBounds:function(e,t,a){var d=this._getNewPixelOrigin(a,t);
4return ye([this.project(e.getSouthWest(),t)._subtract(d),this.project(e.getNorthWest(),t)._subtract(d),this.project(e.getSouthEast(),t)._subtract(d),this.project(e.getNorthEast(),t)._subtract(d)])},_getCenterLayerPoint:function(){return this.containerPointToLayerPoint(this.getSize()._divideBy(2))},_getCenterOffset:function(e){return this.latLngToLayerPoint(e).subtract(this._getCenterLayerPoint())},_limitCenter:function(e,t,a){if(!a)return e;var d=this.project(e,t),p=this.getSize().divideBy(2),m=new J(d.subtract(p),d.add(p)),v=this._getBoundsOffset(m,a,t);return Math.abs(v.x)<=1&&Math.abs(v.y)<=1?e:this.unproject(d.add(v),t)},_limitOffset:function(e,t){if(!t)return e;var a=this.getPixelBounds(),d=new J(a.min.add(e),a.max.add(e));return e.add(this._getBoundsOffset(d,t))},_getBoundsOffset:function(e,t,a){var d=ye(this.project(t.getNorthEast(),a),this.project(t.getSouthWest(),a)),p=d.min.subtract(e.min),m=d.max.subtract(e.max),v=this._rebound(p.x,-m.x),T=this._rebound(p.y,-m.y);return new j(v,T)},_rebound:function(e,t){return e+t>0?Math.round(e-t)/2:Math.max(0,Math.ceil(e))-Math.max(0,Math.floor(t))},_limitZoom:function(e){var t=this.getMinZoom(),a=this.getMaxZoom(),d=D.any3d?this.options.zoomSnap:1;return d&&(e=Math.round(e/d)*d),Math.max(t,Math.min(a,e))},_onPanTransitionStep:function(){this.fire("move")},_onPanTransitionEnd:function(){ne(this._mapPane,"leaflet-pan-anim"),this.fire("moveend")},_tryAnimatedPan:function(e,t){var a=this._getCenterOffset(e)._trunc();return(t&&t.animate)!==!0&&!this.getSize().contains(a)?!1:(this.panBy(a,t),!0)},_createAnimProxy:function(){var e=this._proxy=X("div","leaflet-proxy leaflet-zoom-animated");this._panes.mapPane.appendChild(e),this.on("zoomanim",function(t){var a=ei,d=this._proxy.style[a];st(this._proxy,this.project(t.center,t.zoom),this.getZoomScale(t.zoom,1)),d===this._proxy.style[a]&&this._animatingZoom&&this._onZoomTransitionEnd()},this),this.on("load moveend",this._animMoveEnd,this),this._on("unload",this._destroyAnimProxy,this)},_destroyAnimProxy:function(){Q(this._proxy),this.off("load moveend",this._animMoveEnd,this),delete this._proxy},_animMoveEnd:function(){var e=this.getCenter(),t=this.getZoom();st(this._proxy,this.project(e,t),this.getZoomScale(t,1))},_catchTransitionEnd:function(e){this._animatingZoom&&e.propertyName.indexOf("transform")>=0&&this._onZoomTransitionEnd()},_nothingToAnimate:function(){return!this._container.getElementsByClassName("leaflet-zoom-animated").length},_tryAnimatedZoom:function(e,t,a){if(this._animatingZoom)return!0;if(a=a||{},!this._zoomAnimated||a.animate===!1||this._nothingToAnimate()||Math.abs(t-this._zoom)>this.options.zoomAnimationThreshold)return!1;var d=this.getZoomScale(t),p=this._getCenterOffset(e)._divideBy(1-1/d);return a.animate!==!0&&!this.getSize().contains(p)?!1:(ve(function(){this._moveStart(!0,a.noMoveStart||!1)._animateZoom(e,t,!0)},this),!0)},_animateZoom:function(e,t,a,d){this._mapPane&&(a&&(this._animatingZoom=!0,this._animateToCenter=e,this._animateToZoom=t,G(this._mapPane,"leaflet-zoom-anim")),this.fire("zoomanim",{center:e,zoom:t,noUpdate:d}),this._tempFireZoomEvent||(this._tempFireZoomEvent=this._zoom!==this._animateToZoom),this._move(this._animateToCenter,this._animateToZoom,void 0,!0),setTimeout(r(this._onZoomTransitionEnd,this),250))},_onZoomTransitionEnd:function(){this._animatingZoom&&(this._mapPane&&ne(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 Ws(e,t){return new Y(e,t)}var De=Ve.extend({options:{position:"topright"},initialize:function(e){k(this,e)},getPosition:function(){return this.options.position},setPosition:function(e){var t=this._map;return t&&t.removeControl(this),this.options.position=e,t&&t.addControl(this),this},getContainer:function(){return this._container},addTo:function(e){this.remove(),this._map=e;var t=this._container=this.onAdd(e),a=this.getPosition(),d=e._controlCorners[a];return G(t,"leaflet-control"),a.indexOf("bottom")!==-1?d.insertBefore(t,d.firstChild):d.appendChild(t),this._map.on("unload",this.remove,this),this},remove:function(){return this._map?(Q(this._container),this.onRemove&&this.onRemove(this._map),this._map.off("unload",this.remove,this),this._map=null,this):this},_refocusOnMap:function(e){this._map&&e&&e.screenX>0&&e.screenY>0&&this._map.getContainer().focus()}}),Ft=function(e){return new De(e)};Y.include({addControl:function(e){return e.addTo(this),this},removeControl:function(e){return e.remove(),this}
vendor: 7,385 bytes, line 4
4,_initControlPos:function(){var e=this._controlCorners={},t="leaflet-",a=this._controlContainer=X("div",t+"control-container",this._container);function d(p,m){var v=t+p+" "+t+m;e[p+m]=X("div",v,a)}d("top","left"),d("top","right"),d("bottom","left"),d("bottom","right")},_clearControlPos:function(){for(var e in this._controlCorners)Q(this._controlCorners[e]);Q(this._controlContainer),delete this._controlCorners,delete this._controlContainer}});var An=De.extend({options:{collapsed:!0,position:"topright",autoZIndex:!0,hideSingleBase:!1,sortLayers:!1,sortFunction:function(e,t,a,d){return a<d?-1:d<a?1:0}},initialize:function(e,t,a){k(this,a),this._layerControlInputs=[],this._layers=[],this._lastZIndex=0,this._handlingClick=!1,this._preventClick=!1;for(var d in e)this._addLayer(e[d],d);for(d in t)this._addLayer(t[d],d,!0)},onAdd:function(e){this._initLayout(),this._update(),this._map=e,e.on("zoomend",this._checkDisabledLayers,this);for(var t=0;t<this._layers.length;t++)this._layers[t].layer.on("add remove",this._onLayerChange,this);return this._container},addTo:function(e){return De.prototype.addTo.call(this,e),this._expandIfNotCollapsed()},onRemove:function(){this._map.off("zoomend",this._checkDisabledLayers,this);for(var e=0;e<this._layers.length;e++)this._layers[e].layer.off("add remove",this._onLayerChange,this)},addBaseLayer:function(e,t){return this._addLayer(e,t),this._map?this._update():this},addOverlay:function(e,t){return this._addLayer(e,t,!0),this._map?this._update():this},removeLayer:function(e){e.off("add remove",this._onLayerChange,this);var t=this._getLayer(u(e));return t&&this._layers.splice(this._layers.indexOf(t),1),this._map?this._update():this},expand:function(){G(this._container,"leaflet-control-layers-expanded"),this._section.style.height=null;var e=this._map.getSize().y-(this._container.offsetTop+50);return e<this._section.clientHeight?(G(this._section,"leaflet-control-layers-scrollbar"),this._section.style.height=e+"px"):ne(this._section,"leaflet-control-layers-scrollbar"),this._checkDisabledLayers(),this},collapse:function(){return ne(this._container,"leaflet-control-layers-expanded"),this},_initLayout:function(){var e="leaflet-control-layers",t=this._container=X("div",e),a=this.options.collapsed;t.setAttribute("aria-haspopup",!0),Ut(t),pi(t);var d=this._section=X("section",e+"-list");a&&(this._map.on("click",this.collapse,this),U(t,{mouseenter:this._expandSafely,mouseleave:this.collapse},this));var p=this._layersLink=X("a",e+"-toggle",t);p.href="#",p.title="Layers",p.setAttribute("role","button"),U(p,{keydown:function(m){m.keyCode===13&&this._expandSafely()},click:function(m){ue(m),this._expandSafely()}},this),a||this.expand(),this._baseLayersList=X("div",e+"-base",d),this._separator=X("div",e+"-separator",d),this._overlaysList=X("div",e+"-overlays",d),t.appendChild(d)},_getLayer:function(e){for(var t=0;t<this._layers.length;t++)if(this._layers[t]&&u(this._layers[t].layer)===e)return this._layers[t]},_addLayer:function(e,t,a){this._map&&e.on("add remove",this._onLayerChange,this),this._layers.push({layer:e,name:t,overlay:a}),this.options.sortLayers&&this._layers.sort(r(function(d,p){return this.options.sortFunction(d.layer,p.layer,d.name,p.name)},this)),this.options.autoZIndex&&e.setZIndex&&(this._lastZIndex++,e.setZIndex(this._lastZIndex)),this._expandIfNotCollapsed()},_update:function(){if(!this._container)return this;eo(this._baseLayersList),eo(this._overlaysList),this._layerControlInputs=[];var e,t,a,d,p=0;for(a=0;a<this._layers.length;a++)d=this._layers[a],this._addItem(d),t=t||d.overlay,e=e||!d.overlay,p+=d.overlay?0:1;return this.options.hideSingleBase&&(e=e&&p>1,this._baseLayersList.style.display=e?"":"none"),this._separator.style.display=t&&e?"":"none",this},_onLayerChange:function(e){this._handlingClick||this._update();var t=this._getLayer(u(e.target)),a=t.overlay?e.type==="add"?"overlayadd":"overlayremove":e.type==="add"?"baselayerchange":null;a&&this._map.fire(a,t)},_createRadioElement:function(e,t){var a='<input type="radio" class="leaflet-control-layers-selector" name="'+e+'"'+(t?' checked="checked"':"")+"/>",d=document.createElement("div");return d.innerHTML=a,d.firstChild},_addItem:function(e){var t=document.createElement("label"),a=this._map.hasLayer(e.layer),d;e.overlay?(d=document.createElement("input"),d.type="checkbox",d.className="leaflet-control-layers-selector",d.defaultChecked=a):d=this._createRadioElement("leaflet-base-layers_"+u(this),a),this._layerControlInputs.push(d),d.layerId=u(e.layer),U(d,"click",this._onInputClick,this);var p=document.createElement("span");p.innerHTML=" "+e.name;var m=document.createElement("span");t.appendChild(m),m.appendChild(d),m.appendChild(p);var v=e.overlay?this._overlaysList:this._baseLayersList;return v.appendChild(t),this._checkDisabledLayers(),t},_onInputClick:function(){if(!this._preventClick){var e=this._layerControlInputs,t,a,d=[],p=[];this._handlingClick=!0;for(var m=e.length-1;m>=0;m--)t=e[m],a=this._getLayer(t.layerId).layer,t.checked?d.push(a):t.checked||p.push(a);for(m=0;m<p.length;m++)this._map.hasLayer(p[m])&&this._map.removeLayer(p[m]);for(m=0;m<d.length;m++)this._map.hasLayer(d[m])||this._map.addLayer(d[m]);this._handlingClick=!1,this._refocusOnMap()}},_checkDisabledLayers:function(){for(var e=this._layerControlInputs,t,a,d=this._map.getZoom(),p=e.length-1;p>=0;p--)t=e[p],a=this._getLayer(t.layerId).layer,t.disabled=a.options.minZoom!==void 0&&d<a.options.minZoom||a.options.maxZoom!==void 0&&d>a.options.maxZoom},_expandIfNotCollapsed:function(){return this._map&&!this.options.collapsed&&this.expand(),this},_expandSafely:function(){var e=this._section;this._preventClick=!0,U(e,"click",ue),this.expand();var t=this;setTimeout(function(){$(e,"click",ue),t._preventClick=!1})}}),Ys=function(e,t,a){return new An(e,t,a)},fi=De.extend({options:{position:"topleft",zoomInText:'<span aria-hidden="true">+</span>',zoomInTitle:"Zoom in",zoomOutText:'<span aria-hidden="true">−</span>',zoomOutTitle:"Zoom out"},onAdd:function(e){var t="leaflet-control-zoom",a=X("div",t+" leaflet-bar"),d=this.options;return this._zoomInButton=this._createButton(d.zoomInText,d.zoomInTitle,t+"-in",a,this._zoomIn),this._zoomOutButton=this._createButton(d.zoomOutText,d.zoomOutTitle,t+"-out",a,this._zoomOut),this._updateDisabled(),e.on("zoomend zoomlevelschange",this._updateDisabled,this),a},onRemove:function(e){e.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(e){!this._disabled&&this._map._zoom<this._map.getMaxZoom()&&this._map.zoomIn(this._map.options.zoomDelta*(e.shiftKey?3:1))},_zoomOut:function(e){!this._disabled&&this._map._zoom>this._map.getMinZoom()&&this._map.zoomOut(this._map.options.zoomDelta*(e.shiftKey?3:1))},_createButton:function(e,t,a,d,p){var m=X("a",a,d);return m.innerHTML=e,m.href="#",m.title=t,m.setAttribute("role","button"),m.setAttribute("aria-label",t),Ut(m),U(m,"click",dt),U(m,"click",p,this),U(m,"click",this._refocusOnMap,this),m},_updateDisabled:function(){var e=this._map,t="leaflet-disabled";ne(this._zoomInButton,t),ne(this._zoomOutButton,t),this._zoomInButton.setAttribute("aria-disabled","false"),this._zoomOutButton.setAttribute("aria-disabled","false"),(this._disabled||e._zoom===e.getMin
4Zoom())&&(G(this._zoomOutButton,t),this._zoomOutButton.setAttribute("aria-disabled","true")),(this._disabled||e._zoom===e.getMaxZoom())&&(G(this._zoomInButton,t),this._zoomInButton.setAttribute("aria-disabled","true"))}});Y.mergeOptions({zoomControl:!0}),Y.addInitHook(function(){this.options.zoomControl&&(this.zoomControl=new fi,this.addControl(this.zoomControl))});var Xs=function(e){return new fi(e)},Bn=De.extend({options:{position:"bottomleft",maxWidth:100,metric:!0,imperial:!0},onAdd:function(e){var t="leaflet-control-scale",a=X("div",t),d=this.options;return this._addScales(d,t+"-line",a),e.on(d.updateWhenIdle?"moveend":"move",this._update,this),e.whenReady(this._update,this),a},onRemove:function(e){e.off(this.options.updateWhenIdle?"moveend":"move",this._update,this)},_addScales:function(e,t,a){e.metric&&(this._mScale=X("div",t,a)),e.imperial&&(this._iScale=X("div",t,a))},_update:function(){var e=this._map,t=e.getSize().y/2,a=e.distance(e.containerPointToLatLng([0,t]),e.containerPointToLatLng([this.options.maxWidth,t]));this._updateScales(a)},_updateScales:function(e){this.options.metric&&e&&this._updateMetric(e),this.options.imperial&&e&&this._updateImperial(e)},_updateMetric:function(e){var t=this._getRoundNum(e),a=t<1e3?t+" m":t/1e3+" km";this._updateScale(this._mScale,a,t/e)},_updateImperial:function(e){var t=e*3.2808399,a,d,p;t>5280?(a=t/5280,d=this._getRoundNum(a),this._updateScale(this._iScale,d+" mi",d/a)):(p=this._getRoundNum(t),this._updateScale(this._iScale,p+" ft",p/t))},_updateScale:function(e,t,a){e.style.width=Math.round(this.options.maxWidth*a)+"px",e.innerHTML=t},_getRoundNum:function(e){var t=Math.pow(10,(Math.floor(e)+"").length-1),a=e/t;return a=a>=10?10:a>=5?5:a>=3?3:a>=2?2:1,t*a}}),Ks=function(e){return new Bn(e)},$s='<svg aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="12" height="8" viewBox="0 0 12 8" class="leaflet-attribution-flag"><path fill="#4C7BE1" d="M0 0h12v4H0z"/><path fill="#FFD500" d="M0 4h12v3H0z"/><path fill="#E0BC00" d="M0 7h12v1H0z"/></svg>',gi=De.extend({options:{position:"bottomright",prefix:'<a href="https://leafletjs.com" title="A JavaScript library for interactive maps">'+(D.inlineSvg?$s+" ":"")+"Leaflet</a>"},initialize:function(e){k(this,e),this._attributions={}},onAdd:function(e){e.attributionControl=this,this._container=X("div","leaflet-control-attribution"),Ut(this._container);for(var t in e._layers)e._layers[t].getAttribution&&this.addAttribution(e._layers[t].getAttribution());return this._update(),e.on("layeradd",this._addAttribution,this),this._container},onRemove:function(e){e.off("layeradd",this._addAttribution,this)},_addAttribution:function(e){e.layer.getAttribution&&(this.addAttribution(e.layer.getAttribution()),e.layer.once("remove",function(){this.removeAttribution(e.layer.getAttribution())},this))},setPrefix:function(e){return this.options.prefix=e,this._update(),this},addAttribution:function(e){return e?(this._attributions[e]||(this._attributions[e]=0),this._attributions[e]++,this._update(),this):this},removeAttribution:function(e){return e?(this._attributions[e]&&(this._attributions[e]--,this._update()),this):this},_update:function(){if(this._map){var e=[];for(var t in this._attributions)this._attributions[t]&&e.push(t);var a=[];this.options.prefix&&a.push(this.options.prefix),e.length&&a.push(e.join(", ")),this._container.innerHTML=a.join(' <span aria-hidden="true">|</span> ')}}});Y.mergeOptions({attributionControl:!0}),Y.addInitHook(function(){this.options.attributionControl&&new gi().addTo(this)});var Js=function(e){return new gi(e)};De.Layers=An,De.Zoom=fi,De.Scale=Bn,De.Attribution=gi,Ft.layers=Ys,Ft.zoom=Xs,Ft.scale=Ks,Ft.attribution=Js;var Ue=Ve.extend({initialize:function(e){this._map=e},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}});Ue.addTo=function(e,t){return e.addHandler(t,this),this};var Qs={Events:Te},Nn=D.touch?"touchstart mousedown":"mousedown",ot=Ot.extend({options:{clickTolerance:3},initialize:function(e,t,a,d){k(this,d),this._element=e,this._dragStartTarget=t||e,this._preventOutline=a},enable:function(){this._enabled||(U(this._dragStartTarget,Nn,this._onDown,this),this._enabled=!0)},disable:function(){this._enabled&&(ot._dragging===this&&this.finishDrag(!0),$(this._dragStartTarget,Nn,this._onDown,this),this._enabled=!1,this._moved=!1)},_onDown:function(e){if(this._enabled&&(this._moved=!1,!ti(this._element,"leaflet-zoom-anim"))){if(e.touches&&e.touches.length!==1){ot._dragging===this&&this.finishDrag();return}if(!(ot._dragging||e.shiftKey||e.which!==1&&e.button!==1&&!e.touches)&&(ot._dragging=this,this._preventOutline&&si(this._element),ni(),Bt(),!this._moving)){this.fire("down");var t=e.touches?e.touches[0]:e,a=Mn(this._element);this._startPoint=new j(t.clientX,t.clientY),this._startPos=lt(this._element),this._parentScale=li(a);var d=e.type==="mousedown";U(document,d?"mousemove":"touchmove",this._onMove,this),U(document,d?"mouseup":"touchend touchcancel",this._onUp,this)}}},_onMove:function(e){if(this._enabled){if(e.touches&&e.touches.length>1){this._moved=!0;return}var t=e.touches&&e.touches.length===1?e.touches[0]:e,a=new j(t.clientX,t.clientY)._subtract(this._startPoint);!a.x&&!a.y||Math.abs(a.x)+Math.abs(a.y)<this.options.clickTolerance||(a.x/=this._parentScale.x,a.y/=this._parentScale.y,ue(e),this._moved||(this.fire("dragstart"),this._moved=!0,G(document.body,"leaflet-dragging"),this._lastTarget=e.target||e.srcElement,window.SVGElementInstance&&this._lastTarget instanceof window.SVGElementInstance&&(this._lastTarget=this._lastTarget.correspondingUseElement),G(this._lastTarget,"leaflet-drag-target")),this._newPos=this._startPos.add(a),this._moving=!0,this._lastEvent=e,this._updatePosition())}},_updatePosition:function(){var e={originalEvent:this._lastEvent};this.fire("predrag",e),se(this._element,this._newPos),this.fire("drag",e)},_onUp:function(){this._enabled&&this.finishDrag()},finishDrag:function(e){ne(document.body,"leaflet-dragging"),this._lastTarget&&(ne(this._lastTarget,"leaflet-drag-target"),this._lastTarget=null),$(document,"mousemove touchmove",this._onMove,this),$(document,"mouseup touchend touchcancel",this._onUp,this),ri(),Nt();var t=this._moved&&this._moving;this._moving=!1,ot._dragging=!1,t&&this.fire("dragend",{noInertia:e,distance:this._newPos.distanceTo(this._startPos)})}});function jn(e,t,a){var d,p=[1,4,2,8],m,v,T,E,P,z,I,q;for(m=0,z=e.length;m<z;m++)e[m]._code=ht(e[m],t);for(T=0;T<4;T++){for(I=p[T],d=[],m=0,z=e.length,v=z-1;m<z;v=m++)E=e[m],P=e[v],E._code&I?P._code&I||(q=ro(P,E,I,t,a),q._code=ht(q,t),d.push(q)):(P._code&I&&(q=ro(P,E,I,t,a),q._code=ht(q,t),d.push(q)),d.push(E));e=d}return e}function Un(e,t){var a,d,p,m,v,T,E,P,z;if(!e||e.length===0)throw new Error("latlngs not passed");Me(e)||(console.warn("latlngs are not flat! Only the first ring will be used"),e=e[0]);var I=W([0,0]),q=ae(e),me=q.getNorthWest().distanceTo(q.getSouthWest
4())*q.getNorthEast().distanceTo(q.getNorthWest());me<1700&&(I=mi(e));var pe=e.length,ze=[];for(a=0;a<pe;a++){var we=W(e[a]);ze.push(t.project(W([we.lat-I.lat,we.lng-I.lng])))}for(T=E=P=0,a=0,d=pe-1;a<pe;d=a++)p=ze[a],m=ze[d],v=p.y*m.x-m.y*p.x,E+=(p.x+m.x)*v,P+=(p.y+m.y)*v,T+=v*3;T===0?z=ze[0]:z=[E/T,P/T];var Tt=t.unproject(N(z));return W([Tt.lat+I.lat,Tt.lng+I.lng])}function mi(e){for(var t=0,a=0,d=0,p=0;p<e.length;p++){var m=W(e[p]);t+=m.lat,a+=m.lng,d++}return W([t/d,a/d])}var el={__proto__:null,clipPolygon:jn,polygonCenter:Un,centroid:mi};function Fn(e,t){if(!t||!e.length)return e.slice();var a=t*t;return e=il(e,a),e=ol(e,a),e}function Zn(e,t,a){return Math.sqrt(Zt(e,t,a,!0))}function tl(e,t,a){return Zt(e,t,a)}function ol(e,t){var a=e.length,d=typeof Uint8Array!=void 0+""?Uint8Array:Array,p=new d(a);p[0]=p[a-1]=1,bi(e,p,t,0,a-1);var m,v=[];for(m=0;m<a;m++)p[m]&&v.push(e[m]);return v}function bi(e,t,a,d,p){var m=0,v,T,E;for(T=d+1;T<=p-1;T++)E=Zt(e[T],e[d],e[p],!0),E>m&&(v=T,m=E);m>a&&(t[v]=1,bi(e,t,a,d,v),bi(e,t,a,v,p))}function il(e,t){for(var a=[e[0]],d=1,p=0,m=e.length;d<m;d++)nl(e[d],e[p])>t&&(a.push(e[d]),p=d);return p<m-1&&a.push(e[m-1]),a}var Gn;function Hn(e,t,a,d,p){var m=d?Gn:ht(e,a),v=ht(t,a),T,E,P;for(Gn=v;;){if(!(m|v))return[e,t];if(m&v)return!1;T=m||v,E=ro(e,t,T,a,p),P=ht(E,a),T===m?(e=E,m=P):(t=E,v=P)}}function ro(e,t,a,d,p){var m=t.x-e.x,v=t.y-e.y,T=d.min,E=d.max,P,z;return a&8?(P=e.x+m*(E.y-e.y)/v,z=E.y):a&4?(P=e.x+m*(T.y-e.y)/v,z=T.y):a&2?(P=E.x,z=e.y+v*(E.x-e.x)/m):a&1&&(P=T.x,z=e.y+v*(T.x-e.x)/m),new j(P,z,p)}function ht(e,t){var a=0;return e.x<t.min.x?a|=1:e.x>t.max.x&&(a|=2),e.y<t.min.y?a|=4:e.y>t.max.y&&(a|=8),a}function nl(e,t){var a=t.x-e.x,d=t.y-e.y;return a*a+d*d}function Zt(e,t,a,d){var p=t.x,m=t.y,v=a.x-p,T=a.y-m,E=v*v+T*T,P;return E>0&&(P=((e.x-p)*v+(e.y-m)*T)/E,P>1?(p=a.x,m=a.y):P>0&&(p+=v*P,m+=T*P)),v=e.x-p,T=e.y-m,d?v*v+T*T:new j(p,m)}function Me(e){return!R(e[0])||typeof e[0][0]!="object"&&typeof e[0][0]<"u"}function Vn(e){return console.warn("Deprecated use of _flat, please use L.LineUtil.isFlat instead."),Me(e)}function qn(e,t){var a,d,p,m,v,T,E,P;if(!e||e.length===0)throw new Error("latlngs not passed");Me(e)||(console.warn("latlngs are not flat! Only the first ring will be used"),e=e[0]);var z=W([0,0]),I=ae(e),q=I.getNorthWest().distanceTo(I.getSouthWest
4())*I.getNorthEast().distanceTo(I.getNorthWest());q<1700&&(z=mi(e));var me=e.length,pe=[];for(a=0;a<me;a++){var ze=W(e[a]);pe.push(t.project(W([ze.lat-z.lat,ze.lng-z.lng])))}for(a=0,d=0;a<me-1;a++)d+=pe[a].distanceTo(pe[a+1])/2;if(d===0)P=pe[0];else for(a=0,m=0;a<me-1;a++)if(v=pe[a],T=pe[a+1],p=v.distanceTo(T),m+=p,m>d){E=(m-d)/p,P=[T.x-E*(T.x-v.x),T.y-E*(T.y-v.y)];break}var we=t.unproject(N(P));return W([we.lat+z.lat,we.lng+z.lng])}var rl={__proto__:null,simplify:Fn,pointToSegmentDistance:Zn,closestPointOnSegment:tl,clipSegment:Hn,_getEdgeIntersection:ro,_getBitCode:ht,_sqClosestPointOnSegment:Zt,isFlat:Me,_flat:Vn,polylineCenter:qn},_i={project:function(e){return new j(e.lng,e.lat)},unproject:function(e){return new K(e.y,e.x)},bounds:new J([-180,-90],[180,90])},vi={R:6378137,R_MINOR:6356752314245179e-9,bounds:new J([-2003750834279e-5,-1549657073972e-5],[2003750834279e-5,1876465623138e-5]),project:function(e){var t=Math.PI/180,a=this.R,d=e.lat*t,p=this.R_MINOR/a,m=Math.sqrt(1-p*p),v=m*Math.sin(d),T=Math.tan(Math.PI/4-d/2)/Math.pow((1-v)/(1+v),m/2);return d=-a*Math.log(Math.max(T,1e-10)),new j(e.lng*t*a,d)},unproject:function(e){for(var t=180/Math.PI,a=this.R,d=this.R_MINOR/a,p=Math.sqrt(1-d*d),m=Math.exp(-e.y/a),v=Math.PI/2-2*Math.atan(m),T=0,E=.1,P;T<15&&Math.abs(E)>1e-7;T++)P=p*Math.sin(v),P=Math.pow((1-P)/(1+P),p/2),E=Math.PI/2-2*Math.atan(m*P)-v,v+=E;return new K(v*t,e.x*t/a)}},al={__proto__:null,LonLat:_i,Mercator:vi,SphericalMercator:Vo},sl=i({},tt,{code:"EPSG:3395",projection:vi,transformation:function(){var e=.5/(Math.PI*vi.R);return Dt(e,.5,-e,.5)}()}),Wn=i({},tt,{code:"EPSG:4326",projection:_i,transformation:Dt(1/180,1,-1/180,.5)}),ll=i({},qe,{projection:_i,transformation:Dt(1,0,-1,0),scale:function(e){return Math.pow(2,e)},zoom:function(e){return Math.log(e)/Math.LN2},distance:function(e,t){var a=t.lng-e.lng,d=t.lat-e.lat;return Math.sqrt(a*a+d*d)},infinite:!0});qe.Earth=tt,qe.EPSG3395=sl,qe.EPSG3857=Wo,qe.EPSG900913=fs,qe.EPSG4326=Wn,qe.Simple=ll;var Ie=Ot.extend({options:{pane:"overlayPane",attribution:null,bubblingMouseEvents:!0},addTo:function(e){return e.addLayer(this),this},remove:function(){return this.removeFrom(this._map||this._mapToAdd)},removeFrom:function(e){return e&&e.removeLayer(this),this},getPane:function(e){return this._map.getPane(e?this.options[e]||e:this.options.pane)},addInteractiveTarget:function(e){return this._map._targets[u(e)]=this,this},removeInteractiveTarget:function(e){return delete this._map._targets[u(e)],this},getAttribution:function(){return this.options.attribution},_layerAdd:function(e){var t=e.target;if(t.hasLayer(this)){if(this._map=t,this._zoomAnimated=t._zoomAnimated,this.getEvents){var a=this.getEvents();t.on(a,this),this.once("remove",function(){t.off(a,this)},this)}this.onAdd(t),this.fire("add"),t.fire("layeradd",{layer:this})}}});Y.include({addLayer:function(e){if(!e._layerAdd)throw new Error("The provided object is not a Layer.");var t=u(e);return this._layers[t]?this:(this._layers[t]=e,e._mapToAdd=this,e.beforeAdd&&e.beforeAdd(this),this.whenReady(e._layerAdd,e),this)},removeLayer:function(e){var t=u(e);return this._layers[t]?(this._loaded&&e.onRemove(this),delete this._layers[t],this._loaded&&(this.fire("layerremove",{layer:e}),e.fire("remove")),e._map=e._mapToAdd=null,this):this},hasLayer:function(e){return u(e)in this._layers},eachLayer:function(e,t){for(var a in this._layers)e.call(t,this._layers[a]);return this},_addLayers:function(e){e=e?R(e)?e:[e]:[];for(var t=0,a=e.length;t<a;t++)this.addLayer(e[t])},_addZoomLimit:function(e){(!isNaN(e.options.maxZoom)||!isNaN(e.options.minZoom))&&(this._zoomBoundLayers[u(e)]=e,this._updateZoomLevels())},_removeZoomLimit:function(e){var t=u(e);
4this._zoomBoundLayers[t]&&(delete this._zoomBoundLayers[t],this._updateZoomLevels())},_updateZoomLevels:function(){var e=1/0,t=-1/0,a=this._getZoomSpan();for(var d in this._zoomBoundLayers){var p=this._zoomBoundLayers[d].options;e=p.minZoom===void 0?e:Math.min(e,p.minZoom),t=p.maxZoom===void 0?t:Math.max(t,p.maxZoom)}this._layersMaxZoom=t===-1/0?void 0:t,this._layersMinZoom=e===1/0?void 0:e,a!==this._getZoomSpan()&&this.fire("zoomlevelschange"),this.options.maxZoom===void 0&&this._layersMaxZoom&&this.getZoom()>this._layersMaxZoom&&this.setZoom(this._layersMaxZoom),this.options.minZoom===void 0&&this._layersMinZoom&&this.getZoom()<this._layersMinZoom&&this.setZoom(this._layersMinZoom)}});var yt=Ie.extend({initialize:function(e,t){k(this,t),this._layers={};var a,d;if(e)for(a=0,d=e.length;a<d;a++)this.addLayer(e[a])},addLayer:function(e){var t=this.getLayerId(e);return this._layers[t]=e,this._map&&this._map.addLayer(e),this},removeLayer:function(e){var t=e in this._layers?e:this.getLayerId(e);return this._map&&this._layers[t]&&this._map.removeLayer(this._layers[t]),delete this._layers[t],this},hasLayer:function(e){var t=typeof e=="number"?e:this.getLayerId(e);return t in this._layers},clearLayers:function(){return this.eachLayer(this.removeLayer,this)},invoke:function(e){var t=Array.prototype.slice.call(arguments,1),a,d;for(a in this._layers)d=this._layers[a],d[e]&&d[e].apply(d,t);return this},onAdd:function(e){this.eachLayer(e.addLayer,e)},onRemove:function(e){this.eachLayer(e.removeLayer,e)},eachLayer:function(e,t){for(var a in this._layers)e.call(t,this._layers[a]);return this},getLayer:function(e){return this._layers[e]},getLayers:function(){var e=[];return this.eachLayer(e.push,e),e},setZIndex:function(e){return this.invoke("setZIndex",e)},getLayerId:function(e){return u(e)}}),cl=function(e,t){return new yt(e,t)},We=yt.extend({addLayer:function(e){return this.hasLayer(e)?this:(e.addEventParent(this),yt.prototype.addLayer.call(this,e),this.fire("layeradd",{layer:e}))},removeLayer:function(e){return this.hasLayer(e)?(e in this._layers&&(e=this._layers[e]),e.removeEventParent(this),yt.prototype.removeLayer.call(this,e),this.fire("layerremove",{layer:e})):this},setStyle:function(e){return this.invoke("setStyle",e)},bringToFront:function(){return this.invoke("bringToFront")},bringToBack:function(){return this.invoke("bringToBack")},getBounds:function(){var e=new xe;for(var t in this._layers){var a=this._layers[t];e.extend(a.getBounds?a.getBounds():a.getLatLng())}return e}}),dl=function(e,t){return new We(e,t)},xt=Ve.extend({options:{popupAnchor:[0,0],tooltipAnchor:[0,0],crossOrigin:!1},initialize:function(e){k(this,e)},createIcon:function(e){return this._createIcon("icon",e)},createShadow:function(e){return this._createIcon("shadow",e)},_createIcon:function(e,t){var a=this._getIconUrl(e);if(!a){if(e==="icon")throw new Error("iconUrl not set in Icon options (see the docs).");return null}var d=this._createImg(a,t&&t.tagName==="IMG"?t:null);return this._setIconStyles(d,e),(this.options.crossOrigin||this.options.crossOrigin==="")&&(d.crossOrigin=this.options.crossOrigin===!0?"":this.options.crossOrigin),d},_setIconStyles:function(e,t){var a=this.options,d=a[t+"Size"];typeof d=="number"&&(d=[d,d]);var p=N(d),m=N(t==="shadow"&&a.shadowAnchor||a.iconAnchor||p&&p.divideBy(2,!0));e.className="leaflet-marker-"+t+" "+(a.className||""),m&&(e.style.marginLeft=-m.x+"px",e.style.marginTop=-m.y+"px"),p&&(e.style.width=p.x+"px",e.style.height=p.y+"px")},_createImg:function(e,t){return t=t||document.createElement("img"),t.src=e,t},_getIconUrl:function(e){return D.retina&&this.options[e+"RetinaUrl"]||this.options[e+"Url"]}});function hl(e){return new xt(e)}var Gt=xt.extend({options:{iconUrl:"marker-icon.png",iconRetinaUrl:"marker-icon-2x.png",shadowUrl:"marker-shadow.png",iconSize:[25,41],iconAnchor:[12,41],popupAnchor:[1,-34],tooltipAnchor:[16,-28],shadowSize:[41,41]},_getIconUrl:function(e){return typeof Gt.imagePath!="string"&&(Gt.imagePath=this._detectIconPath()),(this.options.imagePath||Gt.imagePath)+xt.prototype._getIconUrl.call(this,e)},_stripUrl:function(e){var t=function(a,d,p){var m=d.exec(a);return m&&m[p]};return e=t(e,/^url\((['"])?(.+)\1\)$/,2),e&&t(e,/^(.*)marker-icon\.png$/,1)},_detectIconPath:function(){var e=X("div","leaflet-default-icon-path",document.body),t=At(e,"background-image")||At(e,"backgroundImage");if(document.body.removeChild(e),t=this._stripUrl(t),t)return t;var a=document.querySelector('link[href$="leaflet.css"]');return a?a.href.substring(0,a.href.length-11-1):""}}),Yn=Ue.extend({initialize:function(e){this._marker=e},addHooks:function(){var e=this._marker._icon;this._draggable||(this._draggable=new ot(e,e,!0)),this._draggable.on({dragstart:this._onDragStart,predrag:this._onPreDrag,drag:this._onDrag,dragend:this._onDragEnd},this).enable(),G(e,"leaflet-marker-draggable")},removeHooks:function(){this._draggable.off({dragstart:this._onDragStart,predrag:this._onPreDrag,drag:this._onDrag,dragend:this._onDragEnd},this).disable(),this._marker._icon&&ne(this._marker._icon,"leaflet-marker-draggable")},moved:function(){return this._draggable&&this._draggable._moved},_adjustPan:function(e){var t=this._marker,a=t._map,d=this._marker.options.autoPanSpeed,p=this._marker.options.autoPanPadding,m=lt(t._icon),v=a.getPixelBounds(),T=a.getPixelOrigin(),E=ye(v.min._subtract(T).add(p),v.max._subtract(T).subtract(p));if(!E.contains(m)){var P=N((Math.max(E.max.x,m.x)-E.max.x)/(v.max.x-E.max.x)-(Math.min(E.min.x,m.x)-E.min.x)/(v.min.x-E.min.x),(Math.max(E.max.y,m.y)-E.max.y)/(v.max.y-E.max.y)-(Math.min(E.min.y,m.y)-E.min.y)/(v.min.y-E.min.y)).multiplyBy(d);a.panBy(P,{animate:!1}),this._draggable._newPos._add(P),this._draggable._startPos._add(P),se(t._icon,this._draggable._newPos),this._onDrag(e),this._panRequest=ve(this._adjustPan.bind(this,e))}},_onDragStart:function(){this._oldLatLng=this._marker.getLatLng(),this._marker.closePopup&&this._marker.closePopup(),this._marker.fire("movestart").fire("dragstart")},_onPreDrag:function(e){this._marker.options.autoPan&&(Pe(this._panRequest),this._panRequest=ve(this._adjustPan.bind(this,e)))},_onDrag:function(e){var t=this._marker,a=t._shadow,d=lt(t._icon),p=t._map.layerPointToLatLng(d);a&&se(a,d),t._latlng=p,e.latlng=p,e.oldLatLng=this._oldLatLng,t.fire("move",e).fire("drag",e)},_onDragEnd:function(e){Pe(this._panRequest),delete this._oldLatLng,this._marker.fire("moveend").fire("dragend",e)}}),ao=Ie.extend({options:{icon:new Gt,interactive:!0,keyboard:!0,title:"",alt:"Marker",zIndexOffset:0,opacity:1,riseOnHover:!1,riseOffset:250,pane:"markerPane",shadowPane:"shadowPane",bubblingMouseEvents:!1,autoPanOnFocus:!0,draggable:!1,autoPan:!1,autoPanPadding:[50,50],autoPanSpeed:10},initialize:function(e,t){k(this,t),this._latlng=W(e)},onAdd:function(e){this._zoomAnimated=this._zoomAnimated&&e.options.markerZoomAnimation,this._zoomAnimated&&e.on("zoomanim",this._animateZoom,this),this._initIcon(),this.update()},onRemove:function(e){this.dragging&&this.dragging.enabled()&&(this.options.draggable=!0,this.dragging.removeHooks()),delete this.dragging,this._zoomAnimated&&e.off("zoomanim",this._animateZoom,this),this._removeIcon(),this._removeShadow()},getEvents:function(){return{zoom:this.update,viewreset:this.update}},getLatLng:function(){return this._latlng},setLatLng:function(e){var t=this._latlng;return this._latlng=W(e),this.update(),this.fire("move",{oldLatLng:t,latlng:this._latlng})},setZIndexOffset:function(e){return this.options.zIndexOffset=e,this.update()},getIcon:function(){return this.options.icon},setIcon:function(e){return this.options.icon=e,this._map&&(this._initIcon(),this.update()),this._popup&&this.bindPopup(this._popup,this._popup.options),this},getElement:function(){return this._icon},update:function(){if(this._icon&&this._map){var e=this._map.latLngToLayerPoint(this._latlng).round();this._setPos(e)}return this},_initIcon:function(){var e=this.options,t="leaflet-zoom-"+(this._zoomAnimated?"animated":"hide"),a=e.icon.createIcon(this._icon),d=!1;a!==this._icon&&(this._icon&&this._removeIcon(),d=!0,e.title&&(a.title=e.title),a.tagName==="IMG"&&(a.alt=e.alt||"")),G(a,t),e.keyboard&&(a.tabIndex="0",a.setAttribute("role","button")),this._icon=a,e.riseOnHover&&this.on({mouseover:this._bringToFront,mouseout:this._resetZIndex}),this.options.autoPanOnFocus&&U(a,"focus",this._panOnFocus,this);var p=e.icon.createShadow(this._shadow),m=!1;p!==this._shadow&&(this._removeShadow(),m=!0),p&&(G(p,t),p.alt=""),this._shadow=p,e.opacity<1&&this._updateOpacity(),d&&this.getPane().appendChild(this._icon),this._initInteraction(),p&&m&&this.getPane(e.shadowPane).appendChild(this._shadow)},_removeIcon:function(){this.options.riseOnHover&&this.off({mouseover:this._bringToFront,mouseout:this._resetZIndex}
vendor: 5,618 bytes, line 4
4),this.options.autoPanOnFocus&&$(this._icon,"focus",this._panOnFocus,this),Q(this._icon),this.removeInteractiveTarget(this._icon),this._icon=null},_removeShadow:function(){this._shadow&&Q(this._shadow),this._shadow=null},_setPos:function(e){this._icon&&se(this._icon,e),this._shadow&&se(this._shadow,e),this._zIndex=e.y+this.options.zIndexOffset,this._resetZIndex()},_updateZIndex:function(e){this._icon&&(this._icon.style.zIndex=this._zIndex+e)},_animateZoom:function(e){var t=this._map._latLngToNewLayerPoint(this._latlng,e.zoom,e.center).round();this._setPos(t)},_initInteraction:function(){if(this.options.interactive&&(G(this._icon,"leaflet-interactive"),this.addInteractiveTarget(this._icon),Yn)){var e=this.options.draggable;this.dragging&&(e=this.dragging.enabled(),this.dragging.disable()),this.dragging=new Yn(this),e&&this.dragging.enable()}},setOpacity:function(e){return this.options.opacity=e,this._map&&this._updateOpacity(),this},_updateOpacity:function(){var e=this.options.opacity;this._icon&&Se(this._icon,e),this._shadow&&Se(this._shadow,e)},_bringToFront:function(){this._updateZIndex(this.options.riseOffset)},_resetZIndex:function(){this._updateZIndex(0)},_panOnFocus:function(){var e=this._map;if(e){var t=this.options.icon.options,a=t.iconSize?N(t.iconSize):N(0,0),d=t.iconAnchor?N(t.iconAnchor):N(0,0);e.panInside(this._latlng,{paddingTopLeft:d,paddingBottomRight:a.subtract(d)})}},_getPopupAnchor:function(){return this.options.icon.options.popupAnchor},_getTooltipAnchor:function(){return this.options.icon.options.tooltipAnchor}});function pl(e,t){return new ao(e,t)}var it=Ie.extend({options:{stroke:!0,color:"#3388ff",weight:3,opacity:1,lineCap:"round",lineJoin:"round",dashArray:null,dashOffset:null,fill:!1,fillColor:null,fillOpacity:.2,fillRule:"evenodd",interactive:!0,bubblingMouseEvents:!0},beforeAdd:function(e){this._renderer=e.getRenderer(this)},onAdd:function(){this._renderer._initPath(this),this._reset(),this._renderer._addPath(this)},onRemove:function(){this._renderer._removePath(this)},redraw:function(){return this._map&&this._renderer._updatePath(this),this},setStyle:function(e){return k(this,e),this._renderer&&(this._renderer._updateStyle(this),this.options.stroke&&e&&Object.prototype.hasOwnProperty.call(e,"weight")&&this._updateBounds()),this},bringToFront:function(){return this._renderer&&this._renderer._bringToFront(this),this},bringToBack:function(){return this._renderer&&this._renderer._bringToBack(this),this},getElement:function(){return this._path},_reset:function(){this._project(),this._update()},_clickTolerance:function(){return(this.options.stroke?this.options.weight/2:0)+(this._renderer.options.tolerance||0)}}),so=it.extend({options:{fill:!0,radius:10},initialize:function(e,t){k(this,t),this._latlng=W(e),this._radius=this.options.radius},setLatLng:function(e){var t=this._latlng;return this._latlng=W(e),this.redraw(),this.fire("move",{oldLatLng:t,latlng:this._latlng})},getLatLng:function(){return this._latlng},setRadius:function(e){return this.options.radius=this._radius=e,this.redraw()},getRadius:function(){return this._radius},setStyle:function(e){var t=e&&e.radius||this._radius;return it.prototype.setStyle.call(this,e),this.setRadius(t),this},_project:function(){this._point=this._map.latLngToLayerPoint(this._latlng),this._updateBounds()},_updateBounds:function(){var e=this._radius,t=this._radiusY||e,a=this._clickTolerance(),d=[e+a,t+a];this._pxBounds=new J(this._point.subtract(d),this._point.add(d))},_update:function(){this._map&&this._updatePath()},_updatePath:function(){this._renderer._updateCircle(this)},_empty:function(){return this._radius&&!this._renderer._bounds.intersects(this._pxBounds)},_containsPoint:function(e){return e.distanceTo(this._point)<=this._radius+this._clickTolerance()}});function ul(e,t){return new so(e,t)}var yi=so.extend({initialize:function(e,t,a){if(typeof t=="number"&&(t=i({},a,{radius:t})),k(this,t),this._latlng=W(e),isNaN(this.options.radius))throw new Error("Circle radius cannot be NaN");this._mRadius=this.options.radius},setRadius:function(e){return this._mRadius=e,this.redraw()},getRadius:function(){return this._mRadius},getBounds:function(){var e=[this._radius,this._radiusY||this._radius];return new xe(this._map.layerPointToLatLng(this._point.subtract(e)),this._map.layerPointToLatLng(this._point.add(e)))},setStyle:it.prototype.setStyle,_project:function(){var e=this._latlng.lng,t=this._latlng.lat,a=this._map,d=a.options.crs;if(d.distance===tt.distance){var p=Math.PI/180,m=this._mRadius/tt.R/p,v=a.project([t+m,e]),T=a.project([t-m,e]),E=v.add(T).divideBy(2),P=a.unproject(E).lat,z=Math.acos((Math.cos(m*p)-Math.sin(t*p)*Math.sin(P*p))/(Math.cos(t*p)*Math.cos(P*p)))/p;(isNaN(z)||z===0)&&(z=m/Math.cos(Math.PI/180*t)),this._point=E.subtract(a.getPixelOrigin()),this._radius=isNaN(z)?0:E.x-a.project([P,e-z]).x,this._radiusY=E.y-v.y}else{var I=d.unproject(d.project(this._latlng).subtract([this._mRadius,0]));this._point=a.latLngToLayerPoint(this._latlng),this._radius=this._point.x-a.latLngToLayerPoint(I).x}this._updateBounds()}});function fl(e,t,a){return new yi(e,t,a)}var Ye=it.extend({options:{smoothFactor:1,noClip:!1},initialize:function(e,t){k(this,t),this._setLatLngs(e)},getLatLngs:function(){return this._latlngs},setLatLngs:function(e){return this._setLatLngs(e),this.redraw()},isEmpty:function(){return!this._latlngs.length},closestLayerPoint:function(e){for(var t=1/0,a=null,d=Zt,p,m,v=0,T=this._parts.length;v<T;v++)for(var E=this._parts[v],P=1,z=E.length;P<z;P++){p=E[P-1],m=E[P];var I=d(e,p,m,!0);I<t&&(t=I,a=d(e,p,m))}return a&&(a.distance=Math.sqrt(t)),a}
4,getCenter:function(){if(!this._map)throw new Error("Must add layer to map before using getCenter()");return qn(this._defaultShape(),this._map.options.crs)},getBounds:function(){return this._bounds},addLatLng:function(e,t){return t=t||this._defaultShape(),e=W(e),t.push(e),this._bounds.extend(e),this.redraw()},_setLatLngs:function(e){this._bounds=new xe,this._latlngs=this._convertLatLngs(e)},_defaultShape:function(){return Me(this._latlngs)?this._latlngs:this._latlngs[0]},_convertLatLngs:function(e){for(var t=[],a=Me(e),d=0,p=e.length;d<p;d++)a?(t[d]=W(e[d]),this._bounds.extend(t[d])):t[d]=this._convertLatLngs(e[d]);return t},_project:function(){var e=new J;this._rings=[],this._projectLatlngs(this._latlngs,this._rings,e),this._bounds.isValid()&&e.isValid()&&(this._rawPxBounds=e,this._updateBounds())},_updateBounds:function(){var e=this._clickTolerance(),t=new j(e,e);this._rawPxBounds&&(this._pxBounds=new J([this._rawPxBounds.min.subtract(t),this._rawPxBounds.max.add(t)]))},_projectLatlngs:function(e,t,a){var d=e[0]instanceof K,p=e.length,m,v;if(d){for(v=[],m=0;m<p;m++)v[m]=this._map.latLngToLayerPoint(e[m]),a.extend(v[m]);t.push(v)}else for(m=0;m<p;m++)this._projectLatlngs(e[m],t,a)},_clipPoints:function(){var e=this._renderer._bounds;if(this._parts=[],!(!this._pxBounds||!this._pxBounds.intersects(e))){if(this.options.noClip){this._parts=this._rings;return}var t=this._parts,a,d,p,m,v,T,E;for(a=0,p=0,m=this._rings.length;a<m;a++)for(E=this._rings[a],d=0,v=E.length;d<v-1;d++)T=Hn(E[d],E[d+1],e,d,!0),T&&(t[p]=t[p]||[],t[p].push(T[0]),(T[1]!==E[d+1]||d===v-2)&&(t[p].push(T[1]),p++))}},_simplifyPoints:function(){for(var e=this._parts,t=this.options.smoothFactor,a=0,d=e.length;a<d;a++)e[a]=Fn(e[a],t)},_update:function(){this._map&&(this._clipPoints(),this._simplifyPoints(),this._updatePath())},_updatePath:function(){this._renderer._updatePoly(this)},_containsPoint:function(e,t){var a,d,p,m,v,T,E=this._clickTolerance();if(!this._pxBounds||!this._pxBounds.contains(e))return!1;for(a=0,m=this._parts.length;a<m;a++)for(T=this._parts[a],d=0,v=T.length,p=v-1;d<v;p=d++)if(!(!t&&d===0)&&Zn(e,T[p],T[d])<=E)return!0;return!1}});function gl(e,t){return new Ye(e,t)}Ye._flat=Vn;var wt=Ye.extend({options:{fill:!0},isEmpty:function(){return!this._latlngs.length||!this._latlngs[0].length}
4,getCenter:function(){if(!this._map)throw new Error("Must add layer to map before using getCenter()");return Un(this._defaultShape(),this._map.options.crs)},_convertLatLngs:function(e){var t=Ye.prototype._convertLatLngs.call(this,e),a=t.length;return a>=2&&t[0]instanceof K&&t[0].equals(t[a-1])&&t.pop(),t},_setLatLngs:function(e){Ye.prototype._setLatLngs.call(this,e),Me(this._latlngs)&&(this._latlngs=[this._latlngs])},_defaultShape:function(){return Me(this._latlngs[0])?this._latlngs[0]:this._latlngs[0][0]},_clipPoints:function(){var e=this._renderer._bounds,t=this.options.weight,a=new j(t,t);if(e=new J(e.min.subtract(a),e.max.add(a)),this._parts=[],!(!this._pxBounds||!this._pxBounds.intersects(e))){if(this.options.noClip){this._parts=this._rings;return}for(var d=0,p=this._rings.length,m;d<p;d++)m=jn(this._rings[d],e,!0),m.length&&this._parts.push(m)}},_updatePath:function(){this._renderer._updatePoly(this,!0)},_containsPoint:function(e){var t=!1,a,d,p,m,v,T,E,P;if(!this._pxBounds||!this._pxBounds.contains(e))return!1;for(m=0,E=this._parts.length;m<E;m++)for(a=this._parts[m],v=0,P=a.length,T=P-1;v<P;T=v++)d=a[v],p=a[T],d.y>e.y!=p.y>e.y&&e.x<(p.x-d.x)*(e.y-d.y)/(p.y-d.y)+d.x&&(t=!t);return t||Ye.prototype._containsPoint.call(this,e,!0)}});function ml(e,t){return new wt(e,t)}var Xe=We.extend({initialize:function(e,t){k(this,t),this._layers={},e&&this.addData(e)},addData:function(e){var t=R(e)?e:e.features,a,d,p;if(t){for(a=0,d=t.length;a<d;a++)p=t[a],(p.geometries||p.geometry||p.features||p.coordinates)&&this.addData(p);return this}var m=this.options;if(m.filter&&!m.filter(e))return this;var v=lo(e,m);return v?(v.feature=po(e),v.defaultOptions=v.options,this.resetStyle(v),m.onEachFeature&&m.onEachFeature(e,v),this.addLayer(v)):this},resetStyle:function(e){return e===void 0?this.eachLayer(this.resetStyle,this):(e.options=i({},e.defaultOptions),this._setLayerStyle(e,this.options.style),this)},setStyle:function(e){return this.eachLayer(function(t){this._setLayerStyle(t,e)},this)},_setLayerStyle:function(e,t){e.setStyle&&(typeof t=="function"&&(t=t(e.feature)),e.setStyle(t))}});function lo(e,t){var a=e.type==="Feature"?e.geometry:e,d=a?a.coordinates:null,p=[],m=t&&t.pointToLayer,v=t&&t.coordsToLatLng||xi,T,E,P,z;if(!d&&!a)return null;switch(a.type){case"Point":return T=v(d),Xn(m,e,T,t);case"MultiPoint":for(P=0,z=d.length;P<z;P++)T=v(d[P]),p.push(Xn(m,e,T,t));return new We(p);case"LineString":case"MultiLineString":return E=co(d,a.type==="LineString"?0:1,v),new Ye(E,t);case"Polygon":case"MultiPolygon":return E=co(d,a.type==="Polygon"?1:2,v),new wt(E,t);case"GeometryCollection":for(P=0,z=a.geometries.length;P<z;P++){var I=lo({geometry:a.geometries[P],type:"Feature",properties:e.properties},t);I&&p.push(I)}return new We(p);case"FeatureCollection":for(P=0,z=a.features.length;P<z;P++){var q=lo(a.features[P],t);q&&p.push(q)}return new We(p);default:throw new Error("Invalid GeoJSON object.")}}function Xn(e,t,a,d){return e?e(t,a):new ao(a,d&&d.markersInheritOptions&&d)}function xi(e){return new K(e[1],e[0],e[2])}function co(e,t,a){for(var d=[],p=0,m=e.length,v;p<m;p++)v=t?co(e[p],t-1,a):(a||xi)(e[p]),d.push(v);return d}function wi(e,t){return e=W(e),e.alt!==void 0?[_(e.lng,t),_(e.lat,t),_(e.alt,t)]:[_(e.lng,t),_(e.lat,t)]}function ho(e,t,a,d){for(var p=[],m=0,v=e.length;m<v;m++)p.push(t?ho(e[m],Me(e[m])?0:t-1,a,d):wi(e[m],d));return!t&&a&&p.length>0&&p.push(p[0].slice()),p}function Lt(e,t){return e.feature?i({},e.feature,{geometry:t}):po(t)}function po(e){return e.type==="Feature"||e.type==="FeatureCollection"?e:{type:"Feature",properties:{},geometry:e}}var Li={toGeoJSON:function(e){return Lt(this,{type:"Point",coordinates:wi(this.getLatLng(),e)})}};ao.include(Li),yi.include(Li),so.include(Li),Ye.include({toGeoJSON:function(e){var t=!Me(this._latlngs),a=ho(this._latlngs,t?1:0,!1,e);return Lt(this,{type:(t?"Multi":"")+"LineString",coordinates:a})}}),wt.include({toGeoJSON:function(e){var t=!Me(this._latlngs),a=t&&!Me(this._latlngs[0]),d=ho(this._latlngs,a?2:t?1:0,!0,e);return t||(d=[d]),Lt(this,{type:(a?"Multi":"")+"Polygon",coordinates:d})}}),yt.include({toMultiPoint:function(e){var t=[];return this.eachLayer(function(a){t.push(a.toGeoJSON(e).geometry.coordinates)}),Lt(this,{type:"MultiPoint",coordinates:t})},toGeoJSON:function(e){var t=this.feature&&this.feature.geometry&&this.feature.geometry.type;if(t==="MultiPoint")return this.toMultiPoint(e);var a=t==="GeometryCollection",d=[];return this.eachLayer(function(p){if(p.toGeoJSON){var m=p.toGeoJSON(e);if(a)d.push(m.geometry);else{var v=po(m);v.type==="FeatureCollection"?d.push.apply(d,v.features):d.push(v)}}}),a?Lt(this,{geometries:d,type:"GeometryCollection"}):{type:"FeatureCollection",features:d}}});function Kn(e,t){return new Xe(e,t)}var bl=Kn,uo=Ie.extend({options:{opacity:1,alt:"",interactive:!1,crossOrigin:!1,errorOverlayUrl:"",zIndex:1,className:""},initialize:function(e,t,a){this._url=e,this._bounds=ae(t),k(this,a)},onAdd:function(){this._image||(this._initImage(),this.options.opacity<1&&this._updateOpacity()),this.options.interactive&&(G(this._image,"leaflet-interactive"),this.addInteractiveTarget(this._image)),this.getPane().appendChild(this._image),this._reset()},onRemove:function(){Q(this._image),this.options.interactive&&this.removeInteractiveTarget(this._image)},setOpacity:function(e){return this.options.opacity=e,this._image&&this._updateOpacity(),this},setStyle:function(e){return e.opacity&&this.setOpacity(e.opacity),this},bringToFront:function(){return this._map&&_t(this._image),this},bringToBack:function(){return this._map&&vt(this._image),this},setUrl:function(e){return this._url=e,this._image&&(this._image.src=e),this},setBounds:function(e){return this._bounds=ae(e),this._map&&this._reset(),this},getEvents:function(){var e={zoom:this._reset,viewreset:this._reset};return this._zoomAnimated&&(e.zoomanim=this._animateZoom),e},setZIndex:function(e){return this.options.zIndex=e,this._updateZIndex(),this},getBounds:function(){return this._bounds},getElement:function(){return this._image},_initImage:function(){var e=this._url.tagName==="IMG",t=this._image=e?this._url:X("img");if(G(t,"leaflet-image-layer"),this._zoomAnimated&&G(t,"leaflet-zoom-animated"),this.options.className&&G(t,this.options.className),t.onselectstart=b,t.onmousemove=b,t.onload=r(this.fire,this,"load"),t.onerror=r(this._overlayOnError,this,"error"),(this.options.crossOrigin||this.options.crossOrigin==="")&&(t.crossOrigin=this.options.crossOrigin===!0?"":this.options.crossOrigin),this.options.zIndex&&this._updateZIndex(),e){this._url=t.src;return}t.src=this._url,t.alt=this.options.alt},_animateZoom:function(e){var t=this._map.getZoomScale(e.zoom),a=this._map._latLngBoundsToNewLayerBounds(this._bounds,e.zoom,e.center).min;st(this._image,a,t)},_reset:function(){var e=this._image,t=new J(this._map.latLngToLayerPoint(this._bounds.getNorthWest()),this._map.latLngToLayerPoint(this._bounds.getSouthEast())),a=t.getSize();se(e,t.min),e.style.width=a.x+"px",e.style.height=a.y+"px"},_updateOpacity:function(){Se(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 e=this.options.errorOverlayUrl;e&&this._url!==e&&(this._url=e,this._image.src=e)},getCenter:function(){return this._bounds.getCenter()}}),_l=function(e,t,a){return new uo(e,t,a)},$n=uo.extend({options:{autoplay:!0,loop:!0,keepAspectRatio:!0,muted:!1,playsInl
4ine:!0},_initImage:function(){var e=this._url.tagName==="VIDEO",t=this._image=e?this._url:X("video");if(G(t,"leaflet-image-layer"),this._zoomAnimated&&G(t,"leaflet-zoom-animated"),this.options.className&&G(t,this.options.className),t.onselectstart=b,t.onmousemove=b,t.onloadeddata=r(this.fire,this,"load"),e){for(var a=t.getElementsByTagName("source"),d=[],p=0;p<a.length;p++)d.push(a[p].src);this._url=a.length>0?d:[t.src];return}R(this._url)||(this._url=[this._url]),!this.options.keepAspectRatio&&Object.prototype.hasOwnProperty.call(t.style,"objectFit")&&(t.style.objectFit="fill"),t.autoplay=!!this.options.autoplay,t.loop=!!this.options.loop,t.muted=!!this.options.muted,t.playsInline=!!this.options.playsInline;for(var m=0;m<this._url.length;m++){var v=X("source");v.src=this._url[m],t.appendChild(v)}}});function vl(e,t,a){return new $n(e,t,a)}var Jn=uo.extend({_initImage:function(){var e=this._image=this._url;G(e,"leaflet-image-layer"),this._zoomAnimated&&G(e,"leaflet-zoom-animated"),this.options.className&&G(e,this.options.className),e.onselectstart=b,e.onmousemove=b}});function yl(e,t,a){return new Jn(e,t,a)}var Fe=Ie.extend({options:{interactive:!1,offset:[0,0],className:"",pane:void 0,content:""},initialize:function(e,t){e&&(e instanceof K||R(e))?(this._latlng=W(e),k(this,t)):(k(this,e),this._source=t),this.options.content&&(this._content=this.options.content)},openOn:function(e){return e=arguments.length?e:this._source._map,e.hasLayer(this)||e.addLayer(this),this},close:function(){return this._map&&this._map.removeLayer(this),this},toggle:function(e){return this._map?this.close():(arguments.length?this._source=e:e=this._source,this._prepareOpen(),this.openOn(e._map)),this},onAdd:function(e){this._zoomAnimated=e._zoomAnimated,this._container||this._initLayout(),e._fadeAnimated&&Se(this._container,0),clearTimeout(this._removeTimeout),this.getPane().appendChild(this._container),this.update(),e._fadeAnimated&&Se(this._container,1),this.bringToFront(),this.options.interactive&&(G(this._container,"leaflet-interactive"),this.addInteractiveTarget(this._container))},onRemove:function(e){e._fadeAnimated?(Se(this._container,0),this._removeTimeout=setTimeout(r(Q,void 0,this._container),200)):Q(this._container),this.options.interactive&&(ne(this._container,"leaflet-interactive"),this.removeInteractiveTarget(this._container))},getLatLng:function(){return this._latlng},setLatLng:function(e){return this._latlng=W(e),this._map&&(this._updatePosition(),this._adjustPan()),this},getContent:function(){return this._content},setContent:function(e){return this._content=e,this.update(),this},getElement:function(){return this._container},update:function(){this._map&&(this._container.style.visibility="hidden",this._updateContent(),this._updateLayout(),this._updatePosition(),this._container.style.visibility="",this._adjustPan())},getEvents:function(){var e={zoom:this._updatePosition,viewreset:this._updatePosition};return this._zoomAnimated&&(e.zoomanim=this._animateZoom),e},isOpen:function(){return!!this._map&&this._map.hasLayer(this)},bringToFront:function(){return this._map&&_t(this._container),this},bringToBack:function(){return this._map&&vt(this._container),this},_prepareOpen:function(e){var t=this._source;if(!t._map)return!1;if(t instanceof We){t=null;var a=this._source._layers;for(var d in a)if(a[d]._map){t=a[d];break}if(!t)return!1;this._source=t}if(!e)if(t.getCenter)e=t.getCenter();else if(t.getLatLng)e=t.getLatLng();else if(t.getBounds)e=t.getBounds().getCenter();else throw new Error("Unable to get source layer LatLng.");return this.setLatLng(e),this._map&&this.update(),!0},_updateContent:function(){if(this._content){var e=this._contentNode,t=typeof this._content=="function"?this._content(this._source||this):this._content;if(typeof t=="string")e.innerHTML=t;else{for(;e.hasChildNodes();)e.removeChild(e.firstChild);e.appendChild(t)}this.fire("contentupdate")}},_updatePosition:function(){if(this._map){var e=this._map.latLngToLayerPoint(this._latlng),t=N(this.options.offset),a=this._getAnchor();this._zoomAnimated?se(this._container,e.add(a)):t=t.add(e).add(a);var d=this._containerBottom=-t.y,p=this._containerLeft=-Math.round(this._containerWidth/2)+t.x;this._container.style.bottom=d+"px",this._container.style.left=p+"px"}},_getAnchor:function(){return[0,0]}});Y.include({_initOverlay:function(e,t,a,d){var p=t;
4return p instanceof e||(p=new e(d).setContent(t)),a&&p.setLatLng(a),p}}),Ie.include({_initOverlay:function(e,t,a,d){var p=a;return p instanceof e?(k(p,d),p._source=this):(p=t&&!d?t:new e(d,this),p.setContent(a)),p}});var fo=Fe.extend({options:{pane:"popupPane",offset:[0,7],maxWidth:300,minWidth:50,maxHeight:null,autoPan:!0,autoPanPaddingTopLeft:null,autoPanPaddingBottomRight:null,autoPanPadding:[5,5],keepInView:!1,closeButton:!0,autoClose:!0,closeOnEscapeKey:!0,className:""},openOn:function(e){return e=arguments.length?e:this._source._map,!e.hasLayer(this)&&e._popup&&e._popup.options.autoClose&&e.removeLayer(e._popup),e._popup=this,Fe.prototype.openOn.call(this,e)},onAdd:function(e){Fe.prototype.onAdd.call(this,e),e.fire("popupopen",{popup:this}),this._source&&(this._source.fire("popupopen",{popup:this},!0),this._source instanceof it||this._source.on("preclick",ct))},onRemove:function(e){Fe.prototype.onRemove.call(this,e),e.fire("popupclose",{popup:this}),this._source&&(this._source.fire("popupclose",{popup:this},!0),this._source instanceof it||this._source.off("preclick",ct))},getEvents:function(){var e=Fe.prototype.getEvents.call(this);return(this.options.closeOnClick!==void 0?this.options.closeOnClick:this._map.options.closePopupOnClick)&&(e.preclick=this.close),this.options.keepInView&&(e.moveend=this._adjustPan),e},_initLayout:function(){var e="leaflet-popup",t=this._container=X("div",e+" "+(this.options.className||"")+" leaflet-zoom-animated"),a=this._wrapper=X("div",e+"-content-wrapper",t);if(this._contentNode=X("div",e+"-content",a),Ut(t),pi(this._contentNode),U(t,"contextmenu",ct),this._tipContainer=X("div",e+"-tip-container",t),this._tip=X("div",e+"-tip",this._tipContainer),this.options.closeButton){var d=this._closeButton=X("a",e+"-close-button",t);d.setAttribute("role","button"),d.setAttribute("aria-label","Close popup"),d.href="#close",d.innerHTML='<span aria-hidden="true">×</span>',U(d,"click",function(p){ue(p),this.close()},this)}},_updateLayout:function(){var e=this._contentNode,t=e.style;t.width="",t.whiteSpace="nowrap";var a=e.offsetWidth;a=Math.min(a,this.options.maxWidth),a=Math.max(a,this.options.minWidth),t.width=a+1+"px",t.whiteSpace="",t.height="";var d=e.offsetHeight,p=this.options.maxHeight,m="leaflet-popup-scrolled";p&&d>p?(t.height=p+"px",G(e,m)):ne(e,m),this._containerWidth=this._container.offsetWidth},_animateZoom:function(e){var t=this._map._latLngToNewLayerPoint(this._latlng,e.zoom,e.center),a=this._getAnchor();se(this._container,t.add(a))},_adjustPan:function(){if(this.options.autoPan){if(this._map._panAnim&&this._map._panAnim.stop(),this._autopanning){this._autopanning=!1;return}var e=this._map,t=parseInt(At(this._container,"marginBottom"),10)||0,a=this._container.offsetHeight+t,d=this._containerWidth,p=new j(this._containerLeft,-a-this._containerBottom);p._add(lt(this._container));var m=e.layerPointToContainerPoint(p),v=N(this.options.autoPanPadding),T=N(this.options.autoPanPaddingTopLeft||v),E=N(this.options.autoPanPaddingBottomRight||v),P=e.getSize(),z=0,I=0;m.x+d+E.x>P.x&&(z=m.x+d-P.x+E.x),m.x-z-T.x<0&&(z=m.x-T.x),m.y+a+E.y>P.y&&(I=m.y+a-P.y+E.y),m.y-I-T.y<0&&(I=m.y-T.y),(z||I)&&(this.options.keepInView&&(this._autopanning=!0),e.fire("autopanstart").panBy([z,I]))}},_getAnchor:function(){return N(this._source&&this._source._getPopupAnchor?this._source._getPopupAnchor():[0,0])}}),xl=function(e,t){return new fo(e,t)};Y.mergeOptions({closePopupOnClick:!0}),Y.include({openPopup:function(e,t,a){return this._initOverlay(fo,e,t,a).openOn(this),this},closePopup:function(e){return e=arguments.length?e:this._popup,e&&e.close(),this}}),Ie.include({bindPopup:function(e,t){return this._popup=this._initOverlay(fo,this._popup,e,t),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(e){return this._popup&&(this instanceof We||(this._popup._source=this),this._popup._prepareOpen(e||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}
4,setPopupContent:function(e){return this._popup&&this._popup.setContent(e),this},getPopup:function(){return this._popup},_openPopup:function(e){if(!(!this._popup||!this._map)){dt(e);var t=e.layer||e.target;if(this._popup._source===t&&!(t instanceof it)){this._map.hasLayer(this._popup)?this.closePopup():this.openPopup(e.latlng);return}this._popup._source=t,this.openPopup(e.latlng)}},_movePopup:function(e){this._popup.setLatLng(e.latlng)},_onKeyPress:function(e){e.originalEvent.keyCode===13&&this._openPopup(e)}});var go=Fe.extend({options:{pane:"tooltipPane",offset:[0,0],direction:"auto",permanent:!1,sticky:!1,opacity:.9},onAdd:function(e){Fe.prototype.onAdd.call(this,e),this.setOpacity(this.options.opacity),e.fire("tooltipopen",{tooltip:this}),this._source&&(this.addEventParent(this._source),this._source.fire("tooltipopen",{tooltip:this},!0))},onRemove:function(e){Fe.prototype.onRemove.call(this,e),e.fire("tooltipclose",{tooltip:this}),this._source&&(this.removeEventParent(this._source),this._source.fire("tooltipclose",{tooltip:this},!0))},getEvents:function(){var e=Fe.prototype.getEvents.call(this);return this.options.permanent||(e.preclick=this.close),e},_initLayout:function(){var e="leaflet-tooltip",t=e+" "+(this.options.className||"")+" leaflet-zoom-"+(this._zoomAnimated?"animated":"hide");this._contentNode=this._container=X("div",t),this._container.setAttribute("role","tooltip"),this._container.setAttribute("id","leaflet-tooltip-"+u(this))},_updateLayout:function(){},_adjustPan:function(){},_setPosition:function(e){var t,a,d=this._map,p=this._container,m=d.latLngToContainerPoint(d.getCenter()),v=d.layerPointToContainerPoint(e),T=this.options.direction,E=p.offsetWidth,P=p.offsetHeight,z=N(this.options.offset),I=this._getAnchor();T==="top"?(t=E/2,a=P):T==="bottom"?(t=E/2,a=0):T==="center"?(t=E/2,a=P/2):T==="right"?(t=0,a=P/2):T==="left"?(t=E,a=P/2):v.x<m.x?(T="right",t=0,a=P/2):(T="left",t=E+(z.x+I.x)*2,a=P/2),e=e.subtract(N(t,a,!0)).add(z).add(I),ne(p,"leaflet-tooltip-right"),ne(p,"leaflet-tooltip-left"),ne(p,"leaflet-tooltip-top"),ne(p,"leaflet-tooltip-bottom"),G(p,"leaflet-tooltip-"+T),se(p,e)},_updatePosition:function(){var e=this._map.latLngToLayerPoint(this._latlng);this._setPosition(e)},setOpacity:function(e){this.options.opacity=e,this._container&&Se(this._container,e)},_animateZoom:function(e){var t=this._map._latLngToNewLayerPoint(this._latlng,e.zoom,e.center);this._setPosition(t)},_getAnchor:function(){return N(this._source&&this._source._getTooltipAnchor&&!this.options.sticky?this._source._getTooltipAnchor():[0,0])}}),wl=function(e,t){return new go(e,t)};Y.include({openTooltip:function(e,t,a){return this._initOverlay(go,e,t,a).openOn(this),this},closeTooltip:function(e){return e.close(),this}}),Ie.include({bindTooltip:function(e,t){return this._tooltip&&this.isTooltipOpen()&&this.unbindTooltip(),this._tooltip=this._initOverlay(go,this._tooltip,e,t),this._initTooltipInteractions(),this._tooltip.options.permanent&&this._map&&this._map.hasLayer(this)&&this.openTooltip(),this},unbindTooltip:function(){return this._tooltip&&(this._initTooltipInteractions(!0),this.closeTooltip(),this._tooltip=null),this},_initTooltipInteractions:function(e){if(!(!e&&this._tooltipHandlersAdded)){var t=e?"off":"on",a={remove:this.closeTooltip,move:this._moveTooltip};this._tooltip.options.permanent?a.add=this._openTooltip:(a.mouseover=this._openTooltip,a.mouseout=this.closeTooltip,a.click=this._openTooltip,this._map?this._addFocusListeners():a.add=this._addFocusListeners),this._tooltip.options.sticky&&(a.mousemove=this._moveTooltip),this[t](a),this._tooltipHandlersAdded=!e}},openTooltip:function(e){return this._tooltip&&(this instanceof We||(this._tooltip._source=this),this._tooltip._prepareOpen(e)&&(this._tooltip.openOn(this._map),this.getElement?this._setAriaDescribedByOnLayer(this):this.eachLayer&&this.eachLayer(this._setAriaDescribedByOnLayer,this))),this},closeTooltip:function(){if(this._tooltip)return this._tooltip.close()},toggleTooltip:function(){return this._tooltip&&this._tooltip.toggle(this),this},isTooltipOpen:function(){return this._tooltip.isOpen()},setTooltipContent:function(e){return this._tooltip&&this._tooltip.setContent(e),this},getTooltip:function(){return this._tooltip},_addFocusListeners:function(){this.getElement?this._addFocusListenersOnLayer(this):this.eachLayer&&this.eachLayer(this._addFocusListenersOnLayer,this)},_addFocusListenersOnLayer:function(e){var t=typeof e.getElement=="function"&&e.getElement();t&&(U(t,"focus",function(){this._tooltip._source=e,this.openTooltip()},this),U(t,"blur",this.closeTooltip,this))},_setAriaDescribedByOnLayer:function(e){var t=typeof e.getElement=="function"&&e.getElement();t&&t.setAttribute("aria-describedby",this._tooltip._container.id)},_openTooltip:function(e){if(!(!this._tooltip||!this._map)){if(this._map.dragging&&this._map.dragging.moving()&&!this._openOnceFlag){this._openOnceFlag=!0;var t=this;this._map.once("moveend",function(){t._openOnceFlag=!1,t._openTooltip(e)});return}this._tooltip._source=e.layer||e.target,this.openTooltip(this._tooltip.options.sticky?e.latlng:void 0)}},_moveTooltip:function(e){var t=e.latlng,a,d;this._tooltip.options.sticky&&e.originalEvent&&(a=this._map.mouseEventToContainerPoint(e.originalEvent),d=this._map.containerPointToLayerPoint(a),t=this._map.layerPointToLatLng(d)),this._tooltip.setLatLng(t)}});var Qn=xt.extend({options:{iconSize:[12,12],html:!1,bgPos:null,className:"leaflet-div-icon"},createIcon:function(e){var t=e&&e.tagName==="DIV"?e:document.createElement("div"),a=this.options;if(a.html instanceof Element?(eo(t),t.appendChild(a.html)):t.innerHTML=a.html!==!1?a.html:"",a.bgPos){var d=N(a.bgPos);t.style.backgroundPosition=-d.x+"px "+-d.y+"px"}return this._setIconStyles(t,"icon"),t},createShadow:function(){return null}});function Ll(e){return new Qn(e)}xt.Default=Gt;var Ht=Ie.extend({options:{tileSize:256,opacity:1,updateWhenIdle:D.mobile,updateWhenZooming:!0,updateInterval:200,zIndex:1,bounds:null,minZoom:0,maxZoom:void 0,maxNativeZoom:void 0,minNativeZoom:void 0,noWrap:!1,pane:"tilePane",className:"",keepBuffer:2},initialize:function(e){k(this,e)},onAdd:function(){this._initContainer(),this._levels={},this._tiles={},this._resetView()},beforeAdd:function(e){e._addZoomLimit(this)},onRemove:function(e){this._removeAllTiles(),Q(this._container),e._removeZoomLimit(this),this._container=null,this._tileZoom=void 0},bringToFront:function(){return this._map&&(_t(this._container),this._setAutoZIndex(Math.max)),this},bringToBack:function(){return this._map&&(vt(this._container),this._setAutoZIndex(Math.min)),this},getContainer:function(){return this._container},setOpacity:function(e){return this.options.opacity=e,this._updateOpacity(),this},setZIndex:function(e){return this.options.zIndex=e,this._updateZIndex(),this},isLoading:function(){return this._loading},redraw:function(){if(this._map){this._removeAllTiles();var e=this._clampZoom(this._map.getZoom());e!==this._tileZoom&&(this._tileZoom=e,this._updateLevels()),this._update()}return this},getEvents:function(){var e={viewprereset:this._invalidateAll,viewreset:this._resetView,zoom:this._resetView,moveend:this._onMoveEnd};return this.options.updateWhenIdle||(this._onMove||(this._onMove=f(this._onMoveEnd,this.options.updateInterval,this)),e.move=this._onMove),this._zoomAnimated&&(e.zoomanim=this._animateZoom),e},createTile:function(){return document.createElement("div")},getTileSize:function(){var e=this.options.tileSize;return e instanceof j?e:new j(e,e)},_updateZIndex:function(){this._container&&this.options.zIndex!==void 0&&this.options.zIndex!==null&&(this._container.style.zIndex=this.options.zIndex)},_setAutoZIndex:function(e){for(var t=this.getPane().children,a=-e(-1/0,1/0),d=0,p=t.length,m;d<p;
4d++)m=t[d].style.zIndex,t[d]!==this._container&&m&&(a=e(a,+m));isFinite(a)&&(this.options.zIndex=a+e(-1,1),this._updateZIndex())},_updateOpacity:function(){if(this._map&&!D.ielt9){Se(this._container,this.options.opacity);var e=+new Date,t=!1,a=!1;for(var d in this._tiles){var p=this._tiles[d];if(!(!p.current||!p.loaded)){var m=Math.min(1,(e-p.loaded)/200);Se(p.el,m),m<1?t=!0:(p.active?a=!0:this._onOpaqueTile(p),p.active=!0)}}a&&!this._noPrune&&this._pruneTiles(),t&&(Pe(this._fadeFrame),this._fadeFrame=ve(this._updateOpacity,this))}},_onOpaqueTile:b,_initContainer:function(){this._container||(this._container=X("div","leaflet-layer "+(this.options.className||"")),this._updateZIndex(),this.options.opacity<1&&this._updateOpacity(),this.getPane().appendChild(this._container))},_updateLevels:function(){var e=this._tileZoom,t=this.options.maxZoom;if(e!==void 0){for(var a in this._levels)a=Number(a),this._levels[a].el.children.length||a===e?(this._levels[a].el.style.zIndex=t-Math.abs(e-a),this._onUpdateLevel(a)):(Q(this._levels[a].el),this._removeTilesAtZoom(a),this._onRemoveLevel(a),delete this._levels[a]);var d=this._levels[e],p=this._map;return d||(d=this._levels[e]={},d.el=X("div","leaflet-tile-container leaflet-zoom-animated",this._container),d.el.style.zIndex=t,d.origin=p.project(p.unproject(p.getPixelOrigin()),e).round(),d.zoom=e,this._setZoomTransform(d,p.getCenter(),p.getZoom()),this._onCreateLevel(d)),this._level=d,d}},_onUpdateLevel:b,_onRemoveLevel:b,_onCreateLevel:b,_pruneTiles:function(){if(this._map){var e,t,a=this._map.getZoom();if(a>this.options.maxZoom||a<this.options.minZoom){this._removeAllTiles();return}for(e in this._tiles)t=this._tiles[e],t.retain=t.current;for(e in this._tiles)if(t=this._tiles[e],t.current&&!t.active){var d=t.coords;this._retainParent(d.x,d.y,d.z,d.z-5)||this._retainChildren(d.x,d.y,d.z,d.z+2)}for(e in this._tiles)this._tiles[e].retain||this._removeTile(e)}},_removeTilesAtZoom:function(e){for(var t in this._tiles)this._tiles[t].coords.z===e&&this._removeTile(t)},_removeAllTiles:function(){for(var e in this._tiles)this._removeTile(e)},_invalidateAll:function(){for(var e in this._levels)Q(this._levels[e].el),this._onRemoveLevel(Number(e)),delete this._levels[e];this._removeAllTiles(),this._tileZoom=void 0},_retainParent:function(e,t,a,d){var p=Math.floor(e/2),m=Math.floor(t/2),v=a-1,T=new j(+p,+m);T.z=+v;var E=this._tileCoordsToKey(T),P=this._tiles[E];return P&&P.active?(P.retain=!0,!0):(P&&P.loaded&&(P.retain=!0),v>d?this._retainParent(p,m,v,d):!1)},_retainChildren:function(e,t,a,d){for(var p=2*e;p<2*e+2;p++)for(var m=2*t;m<2*t+2;m++){var v=new j(p,m);v.z=a+1;var T=this._tileCoordsToKey(v),E=this._tiles[T];if(E&&E.active){E.retain=!0;continue}else E&&E.loaded&&(E.retain=!0);a+1<d&&this._retainChildren(p,m,a+1,d)}},_resetView:function(e){var t=e&&(e.pinch||e.flyTo);this._setView(this._map.getCenter(),this._map.getZoom(),t,t)},_animateZoom:function(e){this._setView(e.center,e.zoom,!0,e.noUpdate)},_clampZoom:function(e){var t=this.options;return t.minNativeZoom!==void 0&&e<t.minNativeZoom?t.minNativeZoom:t.maxNativeZoom!==void 0&&t.maxNativeZoom<e?t.maxNativeZoom:e},_setView:function(e,t,a,d){var p=Math.round(t);this.options.maxZoom!==void 0&&p>this.options.maxZoom||this.options.minZoom!==void 0&&p<this.options.minZoom?p=void 0:p=this._clampZoom(p);var m=this.options.updateWhenZooming&&p!==this._tileZoom;(!d||m)&&(this._tileZoom=p,this._abortLoading&&this._abortLoading(),this._updateLevels(),this._resetGrid(),p!==void 0&&this._update(e),a||this._pruneTiles(),this._noPrune=!!a),this._setZoomTransforms(e,t)},_setZoomTransforms:function(e,t){for(var a in this._levels)this._setZoomTransform(this._levels[a],e,t)},_setZoomTransform:function(e,t,a){var d=this._map.getZoomScale(a,e.zoom),p=e.origin.multiplyBy(d).subtract(this._map._getNewPixelOrigin(t,a)).round();D.any3d?st(e.el,p,d):se(e.el,p)},_resetGrid:function(){var e=this._map,t=e.options.crs,a=this._tileSize=this.getTileSize(),d=this._tileZoom,p=this._map.getPixelWorldBounds(this._tileZoom);p&&(this._globalTileRange=this._pxBoundsToTileRange(p)),this._wrapX=t.wrapLng&&!this.options.noWrap&&[Math.floor(e.project([0,t.wrapLng[0]],d).x/a.x),Math.ceil(e.project([0,t.wrapLng[1]],d).x/a.y)],this._wrapY=t.wrapLat&&!this.options.noWrap&&[Math.floor(e.project([t.wrapLat[0],0],d).y/a.x),Math.ceil(e.project([t.wrapLat[1],0],d).y/a.y)]},_onMoveEnd:function(){!this._map||this._map._animatingZoom||this._update()},_getTiledPixelBounds:function(e){var t=this._map,a=t._animatingZoom?Math.max(t._animateToZoom,t.getZoom()):t.getZoom(),d=t.getZoomScale(a,this._tileZoom),p=t.project(e,this._tileZoom).floor(),m=t.getSize().divideBy(d*2);
vendor: 8,719 bytes, line 4
4return new J(p.subtract(m),p.add(m))},_update:function(e){var t=this._map;if(t){var a=this._clampZoom(t.getZoom());if(e===void 0&&(e=t.getCenter()),this._tileZoom!==void 0){var d=this._getTiledPixelBounds(e),p=this._pxBoundsToTileRange(d),m=p.getCenter(),v=[],T=this.options.keepBuffer,E=new J(p.getBottomLeft().subtract([T,-T]),p.getTopRight().add([T,-T]));if(!(isFinite(p.min.x)&&isFinite(p.min.y)&&isFinite(p.max.x)&&isFinite(p.max.y)))throw new Error("Attempted to load an infinite number of tiles");for(var P in this._tiles){var z=this._tiles[P].coords;(z.z!==this._tileZoom||!E.contains(new j(z.x,z.y)))&&(this._tiles[P].current=!1)}if(Math.abs(a-this._tileZoom)>1){this._setView(e,a);return}for(var I=p.min.y;I<=p.max.y;I++)for(var q=p.min.x;q<=p.max.x;q++){var me=new j(q,I);if(me.z=this._tileZoom,!!this._isValidTile(me)){var pe=this._tiles[this._tileCoordsToKey(me)];pe?pe.current=!0:v.push(me)}}if(v.sort(function(we,Tt){return we.distanceTo(m)-Tt.distanceTo(m)}),v.length!==0){this._loading||(this._loading=!0,this.fire("loading"));var ze=document.createDocumentFragment();for(q=0;q<v.length;q++)this._addTile(v[q],ze);this._level.el.appendChild(ze)}}}},_isValidTile:function(e){var t=this._map.options.crs;if(!t.infinite){var a=this._globalTileRange;if(!t.wrapLng&&(e.x<a.min.x||e.x>a.max.x)||!t.wrapLat&&(e.y<a.min.y||e.y>a.max.y))return!1}if(!this.options.bounds)return!0;var d=this._tileCoordsToBounds(e);return ae(this.options.bounds).overlaps(d)},_keyToBounds:function(e){return this._tileCoordsToBounds(this._keyToTileCoords(e))},_tileCoordsToNwSe:function(e){var t=this._map,a=this.getTileSize(),d=e.scaleBy(a),p=d.add(a),m=t.unproject(d,e.z),v=t.unproject(p,e.z);return[m,v]},_tileCoordsToBounds:function(e){var t=this._tileCoordsToNwSe(e),a=new xe(t[0],t[1]);return this.options.noWrap||(a=this._map.wrapLatLngBounds(a)),a},_tileCoordsToKey:function(e){return e.x+":"+e.y+":"+e.z},_keyToTileCoords:function(e){var t=e.split(":"),a=new j(+t[0],+t[1]);return a.z=+t[2],a},_removeTile:function(e){var t=this._tiles[e];t&&(Q(t.el),delete this._tiles[e],this.fire("tileunload",{tile:t.el,coords:this._keyToTileCoords(e)}))},_initTile:function(e){G(e,"leaflet-tile");var t=this.getTileSize();e.style.width=t.x+"px",e.style.height=t.y+"px",e.onselectstart=b,e.onmousemove=b,D.ielt9&&this.options.opacity<1&&Se(e,this.options.opacity)},_addTile:function(e,t){var a=this._getTilePos(e),d=this._tileCoordsToKey(e),p=this.createTile(this._wrapCoords(e),r(this._tileReady,this,e));this._initTile(p),this.createTile.length<2&&ve(r(this._tileReady,this,e,null,p)),se(p,a),this._tiles[d]={el:p,coords:e,current:!0},t.appendChild(p),this.fire("tileloadstart",{tile:p,coords:e})},_tileReady:function(e,t,a){t&&this.fire("tileerror",{error:t,tile:a,coords:e});var d=this._tileCoordsToKey(e);a=this._tiles[d],a&&(a.loaded=+new Date,this._map._fadeAnimated?(Se(a.el,0),Pe(this._fadeFrame),this._fadeFrame=ve(this._updateOpacity,this)):(a.active=!0,this._pruneTiles()),t||(G(a.el,"leaflet-tile-loaded"),this.fire("tileload",{tile:a.el,coords:e})),this._noTilesToLoad()&&(this._loading=!1,this.fire("load"),D.ielt9||!this._map._fadeAnimated?ve(this._pruneTiles,this):setTimeout(r(this._pruneTiles,this),250)))},_getTilePos:function(e){return e.scaleBy(this.getTileSize()).subtract(this._level.origin)},_wrapCoords:function(e){var t=new j(this._wrapX?g(e.x,this._wrapX):e.x,this._wrapY?g(e.y,this._wrapY):e.y);return t.z=e.z,t},_pxBoundsToTileRange:function(e){var t=this.getTileSize();return new J(e.min.unscaleBy(t).floor(),e.max.unscaleBy(t).ceil().subtract([1,1]))},_noTilesToLoad:function(){for(var e in this._tiles)if(!this._tiles[e].loaded)return!1;return!0}});function kl(e){return new Ht(e)}var kt=Ht.extend({options:{minZoom:0,maxZoom:18,subdomains:"abc",errorTileUrl:"",zoomOffset:0,tms:!1,zoomReverse:!1,detectRetina:!1,crossOrigin:!1,referrerPolicy:!1},initialize:function(e,t){this._url=e,t=k(this,t),t.detectRetina&&D.retina&&t.maxZoom>0?(t.tileSize=Math.floor(t.tileSize/2),t.zoomReverse?(t.zoomOffset--,t.minZoom=Math.min(t.maxZoom,t.minZoom+1)):(t.zoomOffset++,t.maxZoom=Math.max(t.minZoom,t.maxZoom-1)),t.minZoom=Math.max(0,t.minZoom)):t.zoomReverse?t.minZoom=Math.min(t.maxZoom,t.minZoom):t.maxZoom=Math.max(t.minZoom,t.maxZoom),typeof t.subdomains=="string"&&(t.subdomains=t.subdomains.split("")),this.on("tileunload",this._onTileRemove)},setUrl:function(e,t){return this._url===e&&t===void 0&&(t=!0),this._url=e,t||this.redraw(),this},createTile:function(e,t){var a=document.createElement("img");return U(a,"load",r(this._tileOnLoad,this,t,a)),U(a,"error",r(this._tileOnError,this,t,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(e),a},getTileUrl:function(e){var t={r:D.retina?"@2x":"",s:this._getSubdomain(e),x:e.x,y:e.y,z:this._getZoomForUrl()};if(this._map&&!this._map.options.crs.infinite){var a=this._globalTileRange.max.y-e.y;this.options.tms&&(t.y=a),t["-y"]=a}return Z(this._url,i(t,this.options))},_tileOnLoad:function(e,t){D.ielt9?setTimeout(r(e,this,null,t),0):e(null,t)},_tileOnError:function(e,t,a){var d=this.options.errorTileUrl;d&&t.getAttribute("src")!==d&&(t.src=d),e(a,t)},_onTileRemove:function(e){e.tile.onload=null},_getZoomForUrl:function(){var e=this._tileZoom,t=this.options.maxZoom,a=this.options.zoomReverse,d=this.options.zoomOffset;return a&&(e=t-e),e+d},_getSubdomain:function(e){var t=Math.abs(e.x+e.y)%this.options.subdomains.length;return this.options.subdomains[t]},_abortLoading:function(){var e,t;for(e in this._tiles)if(this._tiles[e].coords.z!==this._tileZoom&&(t=this._tiles[e].el,t.onload=b,t.onerror=b,!t.complete)){t.src=ge;var a=this._tiles[e].coords;Q(t),delete this._tiles[e],this.fire("tileabort",{tile:t,coords:a})}},_removeTile:function(e){var t=this._tiles[e];if(t)return t.el.setAttribute("src",ge),Ht.prototype._removeTile.call(this,e)},_tileReady:function(e,t,a){if(!(!this._map||a&&a.getAttribute("src")===ge))return Ht.prototype._tileReady.call(this,e,t,a)}});function er(e,t){return new kt(e,t)}var tr=kt.extend({defaultWmsParams:{service:"WMS",request:"GetMap",layers:"",styles:"",format:"image/jpeg",transparent:!1,version:"1.1.1"},options:{crs:null,uppercase:!1},initialize:function(e,t){this._url=e;var a=i({},this.defaultWmsParams);for(var d in t)d in this.options||(a[d]=t[d]);t=k(this,t);var p=t.detectRetina&&D.retina?2:1,m=this.getTileSize();a.width=m.x*p,a.height=m.y*p,this.wmsParams=a},onAdd:function(e){this._crs=this.options.crs||e.options.crs,this._wmsVersion=parseFloat(this.wmsParams.version);var t=this._wmsVersion>=1.3?"crs":"srs";this.wmsParams[t]=this._crs.code,kt.prototype.onAdd.call(this,e)},getTileUrl:function(e){var t=this._tileCoordsToNwSe(e),a=this._crs,d=ye(a.project(t[0]),a.project(t[1])),p=d.min,m=d.max,v=(this._wmsVersion>=1.3&&this._crs===Wn?[p.y,p.x,m.y,m.x]:[p.x,p.y,m.x,m.y]).join(","),T=kt.prototype.getTileUrl.call(this,e);return T+O(this.wmsParams,T,this.options.uppercase)+(this.options.uppercase?"&BBOX=":"&bbox=")+v},setParams:function(e,t){return i(this.wmsParams,e),t||this.redraw(),this}});function Tl(e,t){return new tr(e,t)}kt.WMS=tr,er.wms=Tl;var Ke=Ie.extend({options:{padding:.1},initialize:function(e){k(this,e),u(this),this._layers=this._layers||{}},onAdd:function(){this._container||(this._initContainer(),G(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 e={viewreset:this._reset,zoom:this._onZoom,moveend:this._update,zoomend:this._onZoomEnd};return this._zoomAnimated&&(e.zoomanim=this._onAnimZoom),e},_onAnimZoom:function(e){this._updateTransform(e.center,e.zoom)},_onZoom:function(){this._updateTransform(this._map.getCenter(),this._map.getZoom())},_updateTransform:function(e,t){var a=this._map.getZoomScale(t,this._zoom),d=this._map.getSize().multiplyBy(.5+this.options.padding),p=this._map.project(this._center,t),m=d.multiplyBy(-a).add(p).subtract(this._map._getNewPixelOrigin(e,t));D.any3d?st(this._container,m,a):se(this._container,m)},_reset:function(){this._update(),this._updateTransform(this._center,this._zoom);for(var e in this._layers)this._layers[e]._reset()},_onZoomEnd:function(){for(var e in this._layers)this._layers[e]._project()},_updatePaths:function(){for(var e in this._layers)this._layers[e]._update()},_update:function(){var e=this.options.padding,t=this._map.getSize(),a=this._map.containerPointToLayerPoint(t.multiplyBy(-e)).round();
4this._bounds=new J(a,a.add(t.multiplyBy(1+e*2)).round()),this._center=this._map.getCenter(),this._zoom=this._map.getZoom()}}),or=Ke.extend({options:{tolerance:0},getEvents:function(){var e=Ke.prototype.getEvents.call(this);return e.viewprereset=this._onViewPreReset,e},_onViewPreReset:function(){this._postponeUpdatePaths=!0},onAdd:function(){Ke.prototype.onAdd.call(this),this._draw()},_initContainer:function(){var e=this._container=document.createElement("canvas");U(e,"mousemove",this._onMouseMove,this),U(e,"click dblclick mousedown mouseup contextmenu",this._onClick,this),U(e,"mouseout",this._handleMouseOut,this),e._leaflet_disable_events=!0,this._ctx=e.getContext("2d")},_destroyContainer:function(){Pe(this._redrawRequest),delete this._ctx,Q(this._container),$(this._container),delete this._container},_updatePaths:function(){if(!this._postponeUpdatePaths){var e;this._redrawBounds=null;for(var t in this._layers)e=this._layers[t],e._update();this._redraw()}},_update:function(){if(!(this._map._animatingZoom&&this._bounds)){Ke.prototype._update.call(this);var e=this._bounds,t=this._container,a=e.getSize(),d=D.retina?2:1;se(t,e.min),t.width=d*a.x,t.height=d*a.y,t.style.width=a.x+"px",t.style.height=a.y+"px",D.retina&&this._ctx.scale(2,2),this._ctx.translate(-e.min.x,-e.min.y),this.fire("update")}},_reset:function(){Ke.prototype._reset.call(this),this._postponeUpdatePaths&&(this._postponeUpdatePaths=!1,this._updatePaths())},_initPath:function(e){this._updateDashArray(e),this._layers[u(e)]=e;var t=e._order={layer:e,prev:this._drawLast,next:null};this._drawLast&&(this._drawLast.next=t),this._drawLast=t,this._drawFirst=this._drawFirst||this._drawLast},_addPath:function(e){this._requestRedraw(e)},_removePath:function(e){var t=e._order,a=t.next,d=t.prev;a?a.prev=d:this._drawLast=d,d?d.next=a:this._drawFirst=a,delete e._order,delete this._layers[u(e)],this._requestRedraw(e)},_updatePath:function(e){this._extendRedrawBounds(e),e._project(),e._update(),this._requestRedraw(e)},_updateStyle:function(e){this._updateDashArray(e),this._requestRedraw(e)},_updateDashArray:function(e){if(typeof e.options.dashArray=="string"){var t=e.options.dashArray.split(/[, ]+/),a=[],d,p;for(p=0;p<t.length;p++){if(d=Number(t[p]),isNaN(d))return;a.push(d)}e.options._dashArray=a}else e.options._dashArray=e.options.dashArray},_requestRedraw:function(e){this._map&&(this._extendRedrawBounds(e),this._redrawRequest=this._redrawRequest||ve(this._redraw,this))},_extendRedrawBounds:function(e){if(e._pxBounds){var t=(e.options.weight||0)+1;this._redrawBounds=this._redrawBounds||new J,this._redrawBounds.extend(e._pxBounds.min.subtract([t,t])),this._redrawBounds.extend(e._pxBounds.max.add([t,t]))}},_redraw:function(){this._redrawRequest=null,this._redrawBounds&&(this._redrawBounds.min._floor(),this._redrawBounds.max._ceil()),this._clear(),this._draw(),this._redrawBounds=null},_clear:function(){var e=this._redrawBounds;if(e){var t=e.getSize();this._ctx.clearRect(e.min.x,e.min.y,t.x,t.y)}else this._ctx.save(),this._ctx.setTransform(1,0,0,1,0,0),this._ctx.clearRect(0,0,this._container.width,this._container.height),this._ctx.restore()},_draw:function(){var e,t=this._redrawBounds;if(this._ctx.save(),t){var a=t.getSize();this._ctx.beginPath(),this._ctx.rect(t.min.x,t.min.y,a.x,a.y),this._ctx.clip()}this._drawing=!0;for(var d=this._drawFirst;d;d=d.next)e=d.layer,(!t||e._pxBounds&&e._pxBounds.intersects(t))&&e._updatePath();this._drawing=!1,this._ctx.restore()},_updatePoly:function(e,t){if(this._drawing){var a,d,p,m,v=e._parts,T=v.length,E=this._ctx;if(T){for(E.beginPath(),a=0;a<T;a++){for(d=0,p=v[a].length;d<p;d++)m=v[a][d],E[d?"lineTo":"moveTo"](m.x,m.y);t&&E.closePath()}this._fillStroke(E,e)}}},_updateCircle:function(e){if(!(!this._drawing||e._empty())){var t=e._point,a=this._ctx,d=Math.max(Math.round(e._radius),1),p=(Math.max(Math.round(e._radiusY),1)||d)/d;p!==1&&(a.save(),a.scale(1,p)),a.beginPath(),a.arc(t.x,t.y/p,d,0,Math.PI*2,!1),p!==1&&a.restore(),this._fillStroke(a,e)}},_fillStroke:function(e,t){var a=t.options;a.fill&&(e.globalAlpha=a.fillOpacity,e.fillStyle=a.fillColor||a.color,e.fill(a.fillRule||"evenodd")),a.stroke&&a.weight!==0&&(e.setLineDash&&e.setLineDash(t.options&&t.options._dashArray||[]),e.globalAlpha=a.opacity,e.lineWidth=a.weight,e.strokeStyle=a.color,e.lineCap=a.lineCap,e.lineJoin=a.lineJoin,e.stroke())},_onClick:function(e){for(var t=this._map.mouseEventToLayerPoint(e),a,d,p=this._drawFirst;p;p=p.next)a=p.layer,a.options.interactive&&a._containsPoint(t)&&(!(e.type==="click"||e.type==="preclick")||!this._map._draggableMoved(a))&&(d=a);this._fireEvent(d?[d]:!1,e)},_onMouseMove:function(e){if(!(!this._map||this._map.dragging.moving()||this._map._animatingZoom)){var t=this._map.mouseEventToLayerPoint(e);this._handleMouseHover(e,t)}},_handleMouseOut:function(e){var t=this._hoveredLayer;t&&(ne(this._container,"leaflet-interactive"),this._fireEvent([t],e,"mouseout"),this._hoveredLayer=null,this._mouseHoverThrottled=!1)},_handleMouseHover:function(e,t){if(!this._mouseHoverThrottled){for(var a,d,p=this._drawFirst;p;p=p.next)a=p.layer,a.options.interactive&&a._containsPoint(t)&&(d=a);d!==this._hoveredLayer&&(this._handleMouseOut(e),d&&(G(this._container,"leaflet-interactive"),this._fireEvent([d],e,"mouseover"),this._hoveredLayer=d)),this._fireEvent(this._hoveredLayer?[this._hoveredLayer]:!1,e),this._mouseHoverThrottled=!0,setTimeout(r(function(){this._mouseHoverThrottled=!1},this),32)}},_fireEvent:function(e,t,a){this._map._fireDOMEvent(t,a||t.type,e)},_bringToFront:function(e){var t=e._order;if(t){var a=t.next,d=t.prev;if(a)a.prev=d;else return;d?d.next=a:a&&(this._drawFirst=a),t.prev=this._drawLast,this._drawLast.next=t,t.next=null,this._drawLast=t,this._requestRedraw(e)}},_bringToBack:function(e){var t=e._order;if(t){var a=t.next,d=t.prev;if(d)d.next=a;else return;a?a.prev=d:d&&(this._drawLast=d),t.prev=null,t.next=this._drawFirst,this._drawFirst.prev=t,this._drawFirst=t,this._requestRedraw(e)}}});function ir(e){return D.canvas?new or(e):null}var Vt=function(){try{return document.namespaces.add("lvml","urn:schemas-microsoft-com:vml"),function(e){return document.createElement("<lvml:"+e+' class="lvml">')}}catch{}return function(e){return document.createElement("<"+e+' xmlns="urn:schemas-microsoft.com:vml" class="lvml">')}}(),El={_initContainer:function(){this._container=X("div","leaflet-vml-container")},_update:function(){this._map._animatingZoom||(Ke.prototype._update.call(this),this.fire("update"))},_initPath:function(e){var t=e._container=Vt("shape");G(t,"leaflet-vml-shape "+(this.options.className||"")),t.coordsize="1 1",e._path=Vt("path"),t.appendChild(e._path),this._updateStyle(e),this._layers[u(e)]=e},_addPath:function(e){var t=e._container;this._container.appendChild(t),e.options.interactive&&e.addInteractiveTarget(t)},_removePath:function(e){var t=e._container;Q(t),e.removeInteractiveTarget(t),delete this._layers[u(e)]},_updateStyle:function(e){var t=e._stroke,a=e._fill,d=e.options,p=e._container;p.stroked=!!d.stroke,p.filled=!!d.fill,d.stroke?(t||(t=e._stroke=Vt("stroke")),p.appendChild(t),t.weight=d.weight+"px",t.color=d.color,t.opacity=d.opacity,d.dashArray?t.dashStyle=R(d.dashArray)?d.dashArray.join(" "):d.dashArray.replace(/( *, *)/g," "):t.dashStyle="",t.endcap=d.lineCap.replace("butt","flat"),t.joinstyle=d.lineJoin):t&&(p.removeChild(t),e._stroke=null),d.fill?(a||(a=e._fill=Vt("fill")),p.appendChild(a),a.color=d.fillColor||d.color,a.opacity=d.fillOpacity):a&&(p.removeChild(a),e._fill=null)},_updateCircle:function(e){var t=e._point.round(),a=Math.round(e._radius),d=Math.round(e._radiusY||a);this._setPath(e,e._empty()?"M0 0":"AL "+t.x+","+t.y+" "+a+","+d+" 0,"+65535*360)},_setPath:function(e,t){e._path.v=t},_bringToFront:function(e){_t(e._container)},_bringToBack:function(e){vt(e._container)}},mo=D.vml?Vt:sn,qt=Ke.extend({_initContainer:function(){this._container=mo("svg"),this._container.setAttribute("pointer-events","none"),this._rootGroup=mo("g"),this._container.appendChild(this._rootGroup)},_destroyContainer:function(){Q(this._container),$(this._container),delete this._container,delete this._rootGroup,delete this._svgSize},_update:function(){if(!(this._map._animatingZoom&&this._bounds)){Ke.prototype._update.call(this);var e=this._bounds,t=e.getSize(),a=this._container;(!this._svgSize||!this._svgSize.equals(t))&&(this._svgSize=t,a.setAttribute("width",t.x),a.setAttribute("height",t.y)),se(a,e.min),a.setAttribute("viewBox",[e.min.x,e.min.y,t.x,t.y].join(" ")),this.fire("update")}},_initPath:function(e){var t=e._path=mo("path");e.options.className&&G(t,e.options.className),e.options.interactive&&G(t,"leaflet-interactive"),this._updateStyle(e),this._layers[u(e)]=e},_addPath:function(e){this._rootGroup||this._initContainer(),this._rootGroup.appendChild(e._path),e.addInteractiveTarget(e._path)},_removePath:function(e){Q(e._path),e.removeInteractiveTarget(e._path),delete this._layers[u(e)]},_updatePath:function(e){e._project(),e._update()},_updateStyle:function(e){var t=e._path,a=e.options;t&&(a.stroke?(t.setAttribute("stroke",a.color),t.setAttribute("stroke-opacity",a.opacity),t.setAttribute("stroke-width",a.weight),t.setAttribute("stroke-linecap",a.lineCap),t.setAttribute("stroke-linejoin",a.lineJoin),a.dashArray?t.setAttribute("stroke-dasharray",a.dashArray):t.removeAttribute("stroke-dasharray"),a.dashOffset?t.setAttribute("stroke-dashoffset",a.dashOffset):t.removeAttribute("stroke-dashoffset")):t.setAttribute("stroke","none"),a.fill?(t.setAttribute("fill",a.fillColor||a.color),t.setAttribute("fill-opacity",a.fillOpacity),t.setAttribute("fill-rule",a.fillRule||"evenodd")):t.setAttribute("fill","none"))},_updatePoly:function(e,t){this._setPath(e,ln(e._parts,t))},_updateCircle:function(e){var t=e._point,a=Math.max(Math.round(e._radius),1),d=Math.max(Math.round(e._radiusY),1)||a,p="a"+a+","+d+" 0 1,0 ",m=e._empty()?"M0 0":"M"+(t.x-a)+","+t.y+p+a*2+",0 "+p+-a*2+",0 ";this._setPath(e,m)},_setPath:function(e,t){e._path.setAttribute("d",t)},_bringToFront:function(e){_t(e._path)},_bringToBack:function(e){vt(e._path)}});D.vml&&qt.include(El);function nr(e){return D.svg||D.vml?new qt(e):null}Y.include({getRenderer:function(e){var t=e.options.renderer||this._getPaneRenderer(e.options.pane)||this.options.renderer||this._renderer;return t||(t=this._renderer=this._createRenderer()),this.hasLayer(t)||this.addLayer(t),t},_getPaneRenderer:function(e){if(e==="overlayPane"||e===void 0)return!1;var t=this._paneRenderers[e];return t===void 0&&(t=this._createRenderer({pane:e}),this._paneRenderers[e]=t),t},_createRenderer:function(e){return this.options.preferCanvas&&ir(e)||nr(e)}});var rr=wt.extend({initialize:function(e,t){wt.prototype.initialize.call(this,this._boundsToLatLngs(e),t)},setBounds:function(e){return this.setLatLngs(this._boundsToLatLngs(e))}
vendor: 6,228 bytes, line 4
4,_boundsToLatLngs:function(e){return e=ae(e),[e.getSouthWest(),e.getNorthWest(),e.getNorthEast(),e.getSouthEast()]}});function Cl(e,t){return new rr(e,t)}qt.create=mo,qt.pointsToPath=ln,Xe.geometryToLayer=lo,Xe.coordsToLatLng=xi,Xe.coordsToLatLngs=co,Xe.latLngToCoords=wi,Xe.latLngsToCoords=ho,Xe.getFeature=Lt,Xe.asFeature=po,Y.mergeOptions({boxZoom:!0});var ar=Ue.extend({initialize:function(e){this._map=e,this._container=e._container,this._pane=e._panes.overlayPane,this._resetStateTimeout=0,e.on("unload",this._destroy,this)},addHooks:function(){U(this._container,"mousedown",this._onMouseDown,this)},removeHooks:function(){$(this._container,"mousedown",this._onMouseDown,this)},moved:function(){return this._moved},_destroy:function(){Q(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(e){if(!e.shiftKey||e.which!==1&&e.button!==1)return!1;this._clearDeferredResetState(),this._resetState(),Bt(),ni(),this._startPoint=this._map.mouseEventToContainerPoint(e),U(document,{contextmenu:dt,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseMove:function(e){this._moved||(this._moved=!0,this._box=X("div","leaflet-zoom-box",this._container),G(this._container,"leaflet-crosshair"),this._map.fire("boxzoomstart")),this._point=this._map.mouseEventToContainerPoint(e);var t=new J(this._point,this._startPoint),a=t.getSize();se(this._box,t.min),this._box.style.width=a.x+"px",this._box.style.height=a.y+"px"},_finish:function(){this._moved&&(Q(this._box),ne(this._container,"leaflet-crosshair")),Nt(),ri(),$(document,{contextmenu:dt,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseUp:function(e){if(!(e.which!==1&&e.button!==1)&&(this._finish(),!!this._moved)){this._clearDeferredResetState(),this._resetStateTimeout=setTimeout(r(this._resetState,this),0);var t=new xe(this._map.containerPointToLatLng(this._startPoint),this._map.containerPointToLatLng(this._point));this._map.fitBounds(t).fire("boxzoomend",{boxZoomBounds:t})}},_onKeyDown:function(e){e.keyCode===27&&(this._finish(),this._clearDeferredResetState(),this._resetState())}});Y.addInitHook("addHandler","boxZoom",ar),Y.mergeOptions({doubleClickZoom:!0});var sr=Ue.extend({addHooks:function(){this._map.on("dblclick",this._onDoubleClick,this)},removeHooks:function(){this._map.off("dblclick",this._onDoubleClick,this)},_onDoubleClick:function(e){var t=this._map,a=t.getZoom(),d=t.options.zoomDelta,p=e.originalEvent.shiftKey?a-d:a+d;t.options.doubleClickZoom==="center"?t.setZoom(p):t.setZoomAround(e.containerPoint,p)}});Y.addInitHook("addHandler","doubleClickZoom",sr),Y.mergeOptions({dragging:!0,inertia:!0,inertiaDeceleration:3400,inertiaMaxSpeed:1/0,easeLinearity:.2,worldCopyJump:!1,maxBoundsViscosity:0});var lr=Ue.extend({addHooks:function(){if(!this._draggable){var e=this._map;this._draggable=new ot(e._mapPane,e._container),this._draggable.on({dragstart:this._onDragStart,drag:this._onDrag,dragend:this._onDragEnd},this),this._draggable.on("predrag",this._onPreDragLimit,this),e.options.worldCopyJump&&(this._draggable.on("predrag",this._onPreDragWrap,this),e.on("zoomend",this._onZoomEnd,this),e.whenReady(this._onZoomEnd,this))}G(this._map._container,"leaflet-grab leaflet-touch-drag"),this._draggable.enable(),this._positions=[],this._times=[]},removeHooks:function(){ne(this._map._container,"leaflet-grab"),ne(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 e=this._map;if(e._stop(),this._map.options.maxBounds&&this._map.options.maxBoundsViscosity){var t=ae(this._map.options.maxBounds);this._offsetLimit=ye(this._map.latLngToContainerPoint(t.getNorthWest()).multiplyBy(-1),this._map.latLngToContainerPoint(t.getSouthEast()).multiplyBy(-1).add(this._map.getSize())),this._viscosity=Math.min(1,Math.max(0,this._map.options.maxBoundsViscosity))}else this._offsetLimit=null;e.fire("movestart").fire("dragstart"),e.options.inertia&&(this._positions=[],this._times=[])},_onDrag:function(e){if(this._map.options.inertia){var t=this._lastTime=+new Date,a=this._lastPos=this._draggable._absPos||this._draggable._newPos;this._positions.push(a),this._times.push(t),this._prunePositions(t)}this._map.fire("move",e).fire("drag",e)},_prunePositions:function(e){for(;this._positions.length>1&&e-this._times[0]>50;)this._positions.shift(),this._times.shift()},_onZoomEnd:function(){var e=this._map.getSize().divideBy(2),t=this._map.latLngToLayerPoint([0,0]);this._initialWorldOffset=t.subtract(e).x,this._worldWidth=this._map.getPixelWorldBounds().getSize().x},_viscousLimit:function(e,t){return e-(e-t)*this._viscosity},_onPreDragLimit:function(){if(!(!this._viscosity||!this._offsetLimit)){var e=this._draggable._newPos.subtract(this._draggable._startPos),t=this._offsetLimit;e.x<t.min.x&&(e.x=this._viscousLimit(e.x,t.min.x)),e.y<t.min.y&&(e.y=this._viscousLimit(e.y,t.min.y)),e.x>t.max.x&&(e.x=this._viscousLimit(e.x,t.max.x)),e.y>t.max.y&&(e.y=this._viscousLimit(e.y,t.max.y)),this._draggable._newPos=this._draggable._startPos.add(e)}},_onPreDragWrap:function(){var e=this._worldWidth,t=Math.round(e/2),a=this._initialWorldOffset,d=this._draggable._newPos.x,p=(d-t+a)%e+t-a,m=(d+t+a)%e-t-a,v=Math.abs(p+a)<Math.abs(m+a)?p:m;this._draggable._absPos=this._draggable._newPos.clone(),this._draggable._newPos.x=v},_onDragEnd:function(e){var t=this._map,a=t.options,d=!a.inertia||e.noInertia||this._times.length<2;if(t.fire("dragend",e),d)t.fire("moveend");else{this._prunePositions(+new Date);var p=this._lastPos.subtract(this._positions[0]),m=(this._lastTime-this._times[0])/1e3,v=a.easeLinearity,T=p.multiplyBy(v/m),E=T.distanceTo([0,0]),P=Math.min(a.inertiaMaxSpeed,E),z=T.multiplyBy(P/E),I=P/(a.inertiaDeceleration*v),q=z.multiplyBy(-I/2).round();!q.x&&!q.y?t.fire("moveend"):(q=t._limitOffset(q,t.options.maxBounds),ve(function(){t.panBy(q,{duration:I,easeLinearity:v,noMoveStart:!0,animate:!0})}
4))}}});Y.addInitHook("addHandler","dragging",lr),Y.mergeOptions({keyboard:!0,keyboardPanDelta:80});var cr=Ue.extend({keyCodes:{left:[37],right:[39],down:[40],up:[38],zoomIn:[187,107,61,171],zoomOut:[189,109,54,173]},initialize:function(e){this._map=e,this._setPanDelta(e.options.keyboardPanDelta),this._setZoomDelta(e.options.zoomDelta)},addHooks:function(){var e=this._map._container;e.tabIndex<=0&&(e.tabIndex="0"),U(e,{focus:this._onFocus,blur:this._onBlur,mousedown:this._onMouseDown},this),this._map.on({focus:this._addHooks,blur:this._removeHooks},this)},removeHooks:function(){this._removeHooks(),$(this._map._container,{focus:this._onFocus,blur:this._onBlur,mousedown:this._onMouseDown},this),this._map.off({focus:this._addHooks,blur:this._removeHooks},this)},_onMouseDown:function(){if(!this._focused){var e=document.body,t=document.documentElement,a=e.scrollTop||t.scrollTop,d=e.scrollLeft||t.scrollLeft;this._map._container.focus(),window.scrollTo(d,a)}},_onFocus:function(){this._focused=!0,this._map.fire("focus")},_onBlur:function(){this._focused=!1,this._map.fire("blur")},_setPanDelta:function(e){var t=this._panKeys={},a=this.keyCodes,d,p;for(d=0,p=a.left.length;d<p;d++)t[a.left[d]]=[-1*e,0];for(d=0,p=a.right.length;d<p;d++)t[a.right[d]]=[e,0];for(d=0,p=a.down.length;d<p;d++)t[a.down[d]]=[0,e];for(d=0,p=a.up.length;d<p;d++)t[a.up[d]]=[0,-1*e]},_setZoomDelta:function(e){var t=this._zoomKeys={},a=this.keyCodes,d,p;for(d=0,p=a.zoomIn.length;d<p;d++)t[a.zoomIn[d]]=e;for(d=0,p=a.zoomOut.length;d<p;d++)t[a.zoomOut[d]]=-e},_addHooks:function(){U(document,"keydown",this._onKeyDown,this)},_removeHooks:function(){$(document,"keydown",this._onKeyDown,this)},_onKeyDown:function(e){if(!(e.altKey||e.ctrlKey||e.metaKey)){var t=e.keyCode,a=this._map,d;if(t in this._panKeys){if(!a._panAnim||!a._panAnim._inProgress)if(d=this._panKeys[t],e.shiftKey&&(d=N(d).multiplyBy(3)),a.options.maxBounds&&(d=a._limitOffset(N(d),a.options.maxBounds)),a.options.worldCopyJump){var p=a.wrapLatLng(a.unproject(a.project(a.getCenter()).add(d)));a.panTo(p)}else a.panBy(d)}else if(t in this._zoomKeys)a.setZoom(a.getZoom()+(e.shiftKey?3:1)*this._zoomKeys[t]);else if(t===27&&a._popup&&a._popup.options.closeOnEscapeKey)a.closePopup();else return;dt(e)}}});Y.addInitHook("addHandler","keyboard",cr),Y.mergeOptions({scrollWheelZoom:!0,wheelDebounceTime:40,wheelPxPerZoomLevel:60});var dr=Ue.extend({addHooks:function(){U(this._map._container,"wheel",this._onWheelScroll,this),this._delta=0},removeHooks:function(){$(this._map._container,"wheel",this._onWheelScroll,this)},_onWheelScroll:function(e){var t=In(e),a=this._map.options.wheelDebounceTime;this._delta+=t,this._lastMousePos=this._map.mouseEventToContainerPoint(e),this._startTime||(this._startTime=+new Date);var d=Math.max(a-(+new Date-this._startTime),0);clearTimeout(this._timer),this._timer=setTimeout(r(this._performZoom,this),d),dt(e)},_performZoom:function(){var e=this._map,t=e.getZoom(),a=this._map.options.zoomSnap||0;e._stop();var d=this._delta/(this._map.options.wheelPxPerZoomLevel*4),p=4*Math.log(2/(1+Math.exp(-Math.abs(d))))/Math.LN2,m=a?Math.ceil(p/a)*a:p,v=e._limitZoom(t+(this._delta>0?m:-m))-t;this._delta=0,this._startTime=null,v&&(e.options.scrollWheelZoom==="center"?e.setZoom(t+v):e.setZoomAround(this._lastMousePos,t+v))}});Y.addInitHook("addHandler","scrollWheelZoom",dr);var Pl=600;Y.mergeOptions({tapHold:D.touchNative&&D.safari&&D.mobile,tapTolerance:15});var hr=Ue.extend({addHooks:function(){U(this._map._container,"touchstart",this._onDown,this)},removeHooks:function(){$(this._map._container,"touchstart",this._onDown,this)},_onDown:function(e){if(clearTimeout(this._holdTimeout),e.touches.length===1){var t=e.touches[0];this._startPos=this._newPos=new j(t.clientX,t.clientY),this._holdTimeout=setTimeout(r(function(){this._cancel(),this._isTapValid()&&(U(document,"touchend",ue),U(document,"touchend touchcancel",this._cancelClickPrevent),this._simulateEvent("contextmenu",t))},this),Pl),U(document,"touchend touchcancel contextmenu",this._cancel,this),U(document,"touchmove",this._onMove,this)}},_cancelClickPrevent:function e(){$(document,"touchend",ue),$(document,"touchend touchcancel",e)},_cancel:function(){clearTimeout(this._holdTimeout),$(document,"touchend touchcancel contextmenu",this._cancel,this),$(document,"touchmove",this._onMove,this)},_onMove:function(e){var t=e.touches[0];this._newPos=new j(t.clientX,t.clientY)},_isTapValid:function(){return this._newPos.distanceTo(this._startPos)<=this._map.options.tapTolerance},_simulateEvent:function(e,t){var a=new MouseEvent(e,{bubbles:!0,cancelable:!0,view:window,screenX:t.screenX,screenY:t.screenY,clientX:t.clientX,clientY:t.clientY});a._simulated=!0,t.target.dispatchEvent(a)}});Y.addInitHook("addHandler","tapHold",hr),Y.mergeOptions({touchZoom:D.touch,bounceAtZoomLimits:!0});var pr=Ue.extend({addHooks:function(){G(this._map._container,"leaflet-touch-zoom"),U(this._map._container,"touchstart",this._onTouchStart,this)},removeHooks:function(){ne(this._map._container,"leaflet-touch-zoom"),$(this._map._container,"touchstart",this._onTouchStart,this)},_onTouchStart:function(e){var t=this._map;if(!(!e.touches||e.touches.length!==2||t._animatingZoom||this._zooming)){var a=t.mouseEventToContainerPoint(e.touches[0]),d=t.mouseEventToContainerPoint(e.touches[1]);this._centerPoint=t.getSize()._divideBy(2),this._startLatLng=t.containerPointToLatLng(this._centerPoint),t.options.touchZoom!=="center"&&(this._pinchStartLatLng=t.containerPointToLatLng(
4a.add(d)._divideBy(2))),this._startDist=a.distanceTo(d),this._startZoom=t.getZoom(),this._moved=!1,this._zooming=!0,t._stop(),U(document,"touchmove",this._onTouchMove,this),U(document,"touchend touchcancel",this._onTouchEnd,this),ue(e)}},_onTouchMove:function(e){if(!(!e.touches||e.touches.length!==2||!this._zooming)){var t=this._map,a=t.mouseEventToContainerPoint(e.touches[0]),d=t.mouseEventToContainerPoint(e.touches[1]),p=a.distanceTo(d)/this._startDist;if(this._zoom=t.getScaleZoom(p,this._startZoom),!t.options.bounceAtZoomLimits&&(this._zoom<t.getMinZoom()&&p<1||this._zoom>t.getMaxZoom()&&p>1)&&(this._zoom=t._limitZoom(this._zoom)),t.options.touchZoom==="center"){if(this._center=this._startLatLng,p===1)return}else{var m=a._add(d)._divideBy(2)._subtract(this._centerPoint);if(p===1&&m.x===0&&m.y===0)return;this._center=t.unproject(t.project(this._pinchStartLatLng,this._zoom).subtract(m),this._zoom)}this._moved||(t._moveStart(!0,!1),this._moved=!0),Pe(this._animRequest);var v=r(t._move,t,this._center,this._zoom,{pinch:!0,round:!1},void 0);this._animRequest=ve(v,this,!0),ue(e)}},_onTouchEnd:function(){if(!this._moved||!this._zooming){this._zooming=!1;return}this._zooming=!1,Pe(this._animRequest),$(document,"touchmove",this._onTouchMove,this),$(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))}});Y.addInitHook("addHandler","touchZoom",pr),Y.BoxZoom=ar,Y.DoubleClickZoom=sr,Y.Drag=lr,Y.Keyboard=cr,Y.ScrollWheelZoom=dr,Y.TapHold=hr,Y.TouchZoom=pr,l.Bounds=J,l.Browser=D,l.CRS=qe,l.Canvas=or,l.Circle=yi,l.CircleMarker=so,l.Class=Ve,l.Control=De,l.DivIcon=Qn,l.DivOverlay=Fe,l.DomEvent=qs,l.DomUtil=Hs,l.Draggable=ot,l.Evented=Ot,l.FeatureGroup=We,l.GeoJSON=Xe,l.GridLayer=Ht,l.Handler=Ue,l.Icon=xt,l.ImageOverlay=uo,l.LatLng=K,l.LatLngBounds=xe,l.Layer=Ie,l.LayerGroup=yt,l.LineUtil=rl,l.Map=Y,l.Marker=ao,l.Mixin=Qs,l.Path=it,l.Point=j,l.PolyUtil=el,l.Polygon=wt,l.Polyline=Ye,l.Popup=fo,l.PosAnimation=Rn,l.Projection=al,l.Rectangle=rr,l.Renderer=Ke,l.SVG=qt,l.SVGOverlay=Jn,l.TileLayer=kt,l.Tooltip=go,l.Transformation=qo,l.Util=ps,l.VideoOverlay=$n,l.bind=r,l.bounds=ye,l.canvas=ir,l.circle=fl,l.circleMarker=ul,l.control=Ft,l.divIcon=Ll,l.extend=i,l.featureGroup=dl,l.geoJSON=Kn,l.geoJson=bl,l.gridLayer=kl,l.icon=hl,l.imageOverlay=_l,l.latLng=W,l.latLngBounds=ae,l.layerGroup=cl,l.map=Ws,l.marker=pl,l.point=N,l.polygon=ml,l.polyline=gl,l.popup=xl,l.rectangle=Cl,l.setOptions=k,l.stamp=u,l.svg=nr,l.svgOverlay=yl,l.tileLayer=er,l.tooltip=wl,l.transformation=Dt,l.version=c,l.videoOverlay=vl;var Sl=window.L;l.noConflict=function(){return window.L=Sl,this},window.L=l})});(function(n,s,l){function c(i,o){for(;(i=i.parentElement)&&!i.classList.contains(o););return i}L.drawVersion="1.0.4",L.Draw={},L.drawLocal={draw:{toolbar:{actions:{title:"Cancel drawing",text:"Cancel"},finish:{title:"Finish drawing",text:"Finish"},undo:{title:"Delete last point drawn",text:"Delete last point"},buttons:{polyline:"Draw a polyline",polygon:"Draw a polygon",rectangle:"Draw a rectangle",circle:"Draw a circle",marker:"Draw a marker",circlemarker:"Draw a circlemarker"}},handlers:{circle:{tooltip:{start:"Click and drag to draw circle."},radius:"Radius"},circlemarker:{tooltip:{start:"Click map to place circle marker."}},marker:{tooltip:{start:"Click map to place marker."}},polygon:{tooltip:{start:"Click to start drawing shape.",cont:"Click to continue drawing shape.",end:"Click first point to close this shape."}},polyline:{error:"<strong>Error:</strong> shape edges cannot cross!",tooltip:{start:"Click to start drawing line.",cont:"Click to continue drawing line.",end:"Click last point to finish line."}},rectangle:{tooltip:{start:"Click and drag to draw rectangle."}},simpleshape:{tooltip:{end:"Release mouse to finish drawing."}}}},edit:{toolbar:{actions:{save:{title:"Save changes",text:"Save"},cancel:{title:"Cancel editing, discards all changes",text:"Cancel"}
vendor: 63,991 bytes, line 4
4,clearAll:{title:"Clear all layers",text:"Clear All"}},buttons:{edit:"Edit layers",editDisabled:"No layers to edit",remove:"Delete layers",removeDisabled:"No layers to delete"}},handlers:{edit:{tooltip:{text:"Drag handles or markers to edit features.",subtext:"Click cancel to undo changes."}},remove:{tooltip:{text:"Click on a feature to remove."}}}}},L.Draw.Event={},L.Draw.Event.CREATED="draw:created",L.Draw.Event.EDITED="draw:edited",L.Draw.Event.DELETED="draw:deleted",L.Draw.Event.DRAWSTART="draw:drawstart",L.Draw.Event.DRAWSTOP="draw:drawstop",L.Draw.Event.DRAWVERTEX="draw:drawvertex",L.Draw.Event.EDITSTART="draw:editstart",L.Draw.Event.EDITMOVE="draw:editmove",L.Draw.Event.EDITRESIZE="draw:editresize",L.Draw.Event.EDITVERTEX="draw:editvertex",L.Draw.Event.EDITSTOP="draw:editstop",L.Draw.Event.DELETESTART="draw:deletestart",L.Draw.Event.DELETESTOP="draw:deletestop",L.Draw.Event.TOOLBAROPENED="draw:toolbaropened",L.Draw.Event.TOOLBARCLOSED="draw:toolbarclosed",L.Draw.Event.MARKERCONTEXT="draw:markercontext",L.Draw=L.Draw||{},L.Draw.Feature=L.Handler.extend({initialize:function(i,o){this._map=i,this._container=i._container,this._overlayPane=i._panes.overlayPane,this._popupPane=i._panes.popupPane,o&&o.shapeOptions&&(o.shapeOptions=L.Util.extend({},this.options.shapeOptions,o.shapeOptions)),L.setOptions(this,o);var r=L.version.split(".");parseInt(r[0],10)===1&&parseInt(r[1],10)>=2?L.Draw.Feature.include(L.Evented.prototype):L.Draw.Feature.include(L.Mixin.Events)},enable:function(){this._enabled||(L.Handler.prototype.enable.call(this),this.fire("enabled",{handler:this.type}),this._map.fire(L.Draw.Event.DRAWSTART,{layerType:this.type}))},disable:function(){this._enabled&&(L.Handler.prototype.disable.call(this),this._map.fire(L.Draw.Event.DRAWSTOP,{layerType:this.type}),this.fire("disabled",{handler:this.type}))},addHooks:function(){var i=this._map;i&&(L.DomUtil.disableTextSelection(),i.getContainer().focus(),this._tooltip=new L.Draw.Tooltip(this._map),L.DomEvent.on(this._container,"keyup",this._cancelDrawing,this))},removeHooks:function(){this._map&&(L.DomUtil.enableTextSelection(),this._tooltip.dispose(),this._tooltip=null,L.DomEvent.off(this._container,"keyup",this._cancelDrawing,this))},setOptions:function(i){L.setOptions(this,i)},_fireCreatedEvent:function(i){this._map.fire(L.Draw.Event.CREATED,{layer:i,layerType:this.type})},_cancelDrawing:function(i){i.keyCode===27&&(this._map.fire("draw:canceled",{layerType:this.type}),this.disable())}}),L.Draw.Polyline=L.Draw.Feature.extend({statics:{TYPE:"polyline"},Poly:L.Polyline,options:{allowIntersection:!0,repeatMode:!1,drawError:{color:"#b00b00",timeout:2500},icon:new L.DivIcon({iconSize:new L.Point(8,8),className:"leaflet-div-icon leaflet-editing-icon"}),touchIcon:new L.DivIcon({iconSize:new L.Point(20,20),className:"leaflet-div-icon leaflet-editing-icon leaflet-touch-icon"}),guidelineDistance:20,maxGuideLineLength:4e3,shapeOptions:{stroke:!0,color:"#3388ff",weight:4,opacity:.5,fill:!1,clickable:!0},metric:!0,feet:!0,nautic:!1,showLength:!0,zIndexOffset:2e3,factor:1,maxPoints:0},initialize:function(i,o){L.Browser.touch&&(this.options.icon=this.options.touchIcon),this.options.drawError.message=L.drawLocal.draw.handlers.polyline.error,o&&o.drawError&&(o.drawError=L.Util.extend({},this.options.drawError,o.drawError)),this.type=L.Draw.Polyline.TYPE,L.Draw.Feature.prototype.initialize.call(this,i,o)},addHooks:function(){L.Draw.Feature.prototype.addHooks.call(this),this._map&&(this._markers=[],this._markerGroup=new L.LayerGroup,this._map.addLayer(this._markerGroup),this._poly=new L.Polyline([],this.options.shapeOptions),this._tooltip.updateContent(this._getTooltipText()),this._mouseMarker||(this._mouseMarker=L.marker(this._map.getCenter(),{icon:L.divIcon({className:"leaflet-mouse-marker",iconAnchor:[20,20],iconSize:[40,40]}),opacity:0,zIndexOffset:this.options.zIndexOffset})),this._mouseMarker.on("mouseout",this._onMouseOut,this).on("mousemove",this._onMouseMove,this).on("mousedown",this._onMouseDown,this).on("mouseup",this._onMouseUp,this).addTo(this._map),this._map.on("mouseup",this._onMouseUp,this).on("mousemove",this._onMouseMove,this).on("zoomlevelschange",this._onZoomEnd,this).on("touchstart",this._onTouch,this).on("zoomend",this._onZoomEnd,this))},removeHooks:function(){L.Draw.Feature.prototype.removeHooks.call(this),this._clearHideErrorTimeout(),this._cleanUpShape(),this._map.removeLayer(this._markerGroup),delete this._markerGroup,delete this._markers,this._map.removeLayer(this._poly),delete this._poly,this._mouseMarker.off("mousedown",this._onMouseDown,this).off("mouseout",this._onMouseOut,this).off("mouseup",this._onMouseUp,this).off("mousemove",this._onMouseMove,this),this._map.removeLayer(this._mouseMarker),delete this._mouseMarker,this._clearGuides(),this._map.off("mouseup",this._onMouseUp,this).off("mousemove",this._onMouseMove,this).off("zoomlevelschange",this._onZoomEnd,this).off("zoomend",this._onZoomEnd,this).off("touchstart",this._onTouch,this).off("click",this._onTouch,this)},deleteLastVertex:function(){if(!(this._markers.length<=1)){var i=this._markers.pop(),o=this._poly,r=o.getLatLngs(),h=r.splice(-1,1)[0];this._poly.setLatLngs(r),this._markerGroup.removeLayer(i),o.getLatLngs().length<2&&this._map.removeLayer(o),this._vertexChanged(h,!1)}},addVertex:function(i){if(this._markers.length>=2&&!this.options.allowIntersection&&this._poly.newLatLngIntersects(i))return void this._showErrorTooltip();this._errorShown&&this._hideErrorTooltip(),this._markers.push(this._createMarker(i)),this._poly.addLatLng(i),this._poly.getLatLngs().length===2&&this._map.addLayer(this._poly),this._vertexChanged(i,!0)},completeShape:function(){this._markers.length<=1||!this._shapeIsValid()||(this._fireCreatedEvent(),this.disable(),this.options.repeatMode&&this.enable())},_finishShape:function(){var i=this._poly._defaultShape?this._poly._defaultShape():this._poly.getLatLngs(),o=this._poly.newLatLngIntersects(i[i.length-1]);if(!this.options.allowIntersection&&o||!this._shapeIsValid())return void this._showErrorTooltip();this._fireCreatedEvent(),this.disable(),this.options.repeatMode&&this.enable()},_shapeIsValid:function(){return!0},_onZoomEnd:function(){this._markers!==null&&this._updateGuide()},_onMouseMove:function(i){var o=this._map.mouseEventToLayerPoint(i.originalEvent),r=this._map.layerPointToLatLng(o);this._currentLatLng=r,this._updateTooltip(r),this._updateGuide(o),this._mouseMarker.setLatLng(r),L.DomEvent.preventDefault(i.originalEvent)},_vertexChanged:function(i,o){this._map.fire(L.Draw.Event.DRAWVERTEX,{layers:this._markerGroup}),this._updateFinishHandler(),this._updateRunningMeasure(i,o),this._clearGuides(),this._updateTooltip()},_onMouseDown:function(i){if(!this._clickHandled&&!this._touchHandled&&!this._disableMarkers){this._onMouseMove(i),this._clickHandled=!0,this._disableNewMarkers();var o=i.originalEvent,r=o.clientX,h=o.clientY;this._startPoint.call(this,r,h)}},_startPoint:function(i,o){this._mouseDownOrigin=L.point(i,o)},_onMouseUp:function(i){var o=i.originalEvent,r=o.clientX,h=o.clientY;this._endPoint.call(this,r,h,i),this._clickHandled=null},_endPoint:function(i,o,r){if(this._mouseDownOrigin){var h=L.point(i,o).distanceTo(this._mouseDownOrigin),u=this._calculateFinishDistance(r.latlng);this.options.maxPoints>1&&this.options.maxPoints==this._markers.length+1?(this.addVertex(r.latlng),this._finishShape()):u<10&&L.Browser.touch?this._finishShape():Math.abs(h)<9*(n.devicePixelRatio||1)&&this.addVertex(r.latlng),this._enableNewMarkers()}this._mouseDownOrigin=null},_onTouch:function(i){var o,r,h=i.originalEvent;!h.touches||!h.touches[0]||this._clickHandled||this._touchHandled||this._disableMarkers||(o=h.touches[0].clientX,r=h.touches[0].clientY,this._disableNewMarkers(),this._touchHandled=!0,this._startPoint.call(this,o,r),this._endPoint.call(this,o,r,i),this._touchHandled=null),this._clickHandled=null},_onMouseOut:function(){this._tooltip&&this._tooltip._onMouseOut.call(this._tooltip)},_calculateFinishDistance:function(i){var o;if(this._markers.length>0){var r;if(this.type===L.Draw.Polyline.TYPE)r=this._markers[this._markers.length-1];else{if(this.type!==L.Draw.Polygon.TYPE)return 1/0;r=this._markers[0]}var h=this._map.latLngToContainerPoint(r.getLatLng()),u=new L.Marker(i,{icon:this.options.icon,zIndexOffset:2*this.options.zIndexOffset}),f=this._map.latLngToContainerPoint(u.getLatLng());o=h.distanceTo(f)}else o=1/0;return o},_updateFinishHandler:function(){var i=this._markers.length;i>1&&this._markers[i-1].on("click",this._finishShape,this),i>2&&this._markers[i-2].off("click",this._finishShape,this)},_createMarker:function(i){var o=new L.Marker(i,{icon:this.options.icon,zIndexOffset:2*this.options.zIndexOffset});return this._markerGroup.addLayer(o),o},_updateGuide:function(i){var o=this._markers?this._markers.length:0;o>0&&(i=i||this._map.latLngToLayerPoint(this._currentLatLng),this._clearGuides(),this._drawGuide(this._map.latLngToLayerPoint(this._markers[o-1].getLatLng()),i))},_updateTooltip:function(i){var o=this._getTooltipText();i&&this._tooltip.updatePosition(i),this._errorShown||this._tooltip.updateContent(o)},_drawGuide:function(i,o){var r,h,u,f=Math.floor(Math.sqrt(Math.pow(o.x-i.x,2)+Math.pow(o.y-i.y,2))),g=this.options.guidelineDistance,b=this.options.maxGuideLineLength,_=f>b?f-b:g;for(this._guidesContainer||(this._guidesContainer=L.DomUtil.create("div","leaflet-draw-guides",this._overlayPane));_<f;_+=this.options.guidelineDistance)r=_/f,h={x:Math.floor(i.x*(1-r)+r*o.x),y:Math.floor(i.y*(1-r)+r*o.y)},u=L.DomUtil.create("div","leaflet-draw-guide-dash",this._guidesContainer),u.style.backgroundColor=this._errorShown?this.options.drawError.color:this.options.shapeOptions.color,L.DomUtil.setPosition(u,h)},_updateGuideColor:function(i){if(this._guidesContainer)for(var o=0,r=this._guidesContainer.childNodes.length;o<r;o++)this._guidesContainer.childNodes[o].style.backgroundColor=i},_clearGuides:function(){if(this._guidesContainer)for(;this._guidesContainer.firstChild;)this._guidesContainer.removeChild(this._guidesContainer.firstChild)},_getTooltipText:function(){var i,o,r=this.options.showLength;return this._markers.length===0?i={text:L.drawLocal.draw.handlers.polyline.tooltip.start}:(o=r?this._getMeasurementString():"",i=this._markers.length===1?{text:L.drawLocal.draw.handlers.polyline.tooltip.cont,subtext:o}:{text:L.drawLocal.draw.handlers.polyline.tooltip.end,subtext:o}),i},_updateRunningMeasure:function(i,o){var r,h,u=this._markers.length;this._markers.length===1?this._measurementRunningTotal=0:(r=u-(o?2:1),h=L.GeometryUtil.isVersion07x()?i.distanceTo(this._markers[r].getLatLng())*(this.options.factor||1):this._map.distance(i,this._markers[r].getLatLng())*(this.options.factor||1),this._measurementRunningTotal+=h*(o?1:-1))},_getMeasurementString:function(){var i,o=this._currentLatLng,r=this._markers[this._markers.length-1].getLatLng();return i=L.GeometryUtil.isVersion07x()?r&&o&&o.distanceTo?this._measurementRunningTotal+o.distanceTo(r)*(this.options.factor||1):this._measurementRunningTotal||0:r&&o?this._measurementRunningTotal+this._map.distance(o,r)*(this.options.factor||1):this._measurementRunningTotal||0,L.GeometryUtil.readableDistance(i,this.options.metric,this.options.feet,this.options.nautic,this.options.precision)},_showErrorTooltip:function(){this._errorShown=!0,this._tooltip.showAsError().updateContent({text:this.options.drawError.message}),this._updateGuideColor(this.options.drawError.color),this._poly.setStyle({color:this.options.drawError.color}),this._clearHideErrorTimeout(),this._hideErrorTimeout=setTimeout(L.Util.bind(this._hideErrorTooltip,this),this.options.drawError.timeout)},_hideErrorTooltip:function(){this._errorShown=!1,this._clearHideErrorTimeout(),this._tooltip.removeError().updateContent(this._getTooltipText()),this._updateGuideColor(this.options.shapeOptions.color),this._poly.setStyle({color:this.options.shapeOptions.color})},_clearHideErrorTimeout:function(){this._hideErrorTimeout&&(clearTimeout(this._hideErrorTimeout),this._hideErrorTimeout=null)},_disableNewMarkers:function(){this._disableMarkers=!0},_enableNewMarkers:function(){setTimeout(function(){this._disableMarkers=!1}.bind(this),50)},_cleanUpShape:function(){this._markers.length>1&&this._markers[this._markers.length-1].off("click",this._finishShape,this)},_fireCreatedEvent:function(){var i=new this.Poly(this._poly.getLatLngs(),this.options.shapeOptions);L.Draw.Feature.prototype._fireCreatedEvent.call(this,i)}}),L.Draw.Polygon=L.Draw.Polyline.extend({statics:{TYPE:"polygon"},Poly:L.Polygon,options:{showArea:!1,showLength:!1,shapeOptions:{stroke:!0,color:"#3388ff",weight:4,opacity:.5,fill:!0,fillColor:null,fillOpacity:.2,clickable:!0},metric:!0,feet:!0,nautic:!1,precision:{}},initialize:function(i,o){L.Draw.Polyline.prototype.initialize.call(this,i,o),this.type=L.Draw.Polygon.TYPE},_updateFinishHandler:function(){var i=this._markers.length;i===1&&this._markers[0].on("click",this._finishShape,this),i>2&&(this._markers[i-1].on("dblclick",this._finishShape,this),i>3&&this._markers[i-2].off("dblclick",this._finishShape,this))},_getTooltipText:function(){var i,o;return this._markers.length===0?i=L.drawLocal.draw.handlers.polygon.tooltip.start:this._markers.length<3?(i=L.drawLocal.draw.handlers.polygon.tooltip.cont,o=this._getMeasurementString()):(i=L.drawLocal.draw.handlers.polygon.tooltip.end,o=this._getMeasurementString()),{text:i,subtext:o}},_getMeasurementString:function(){var i=this._area,o="";return i||this.options.showLength?(this.options.showLength&&(o=L.Draw.Polyline.prototype._getMeasurementString.call(this)),i&&(o+="<br>"+L.GeometryUtil.readableArea(i,this.options.metric,this.options.precision)),o):null},_shapeIsValid:function(){return this._markers.length>=3},_vertexChanged:function(i,o){var r;!this.options.allowIntersection&&this.options.showArea&&(r=this._poly.getLatLngs(),this._area=L.GeometryUtil.geodesicArea(r)),L.Draw.Polyline.prototype._vertexChanged.call(this,i,o)},_cleanUpShape:function(){var i=this._markers.length;i>0&&(this._markers[0].off("click",this._finishShape,this),i>2&&this._markers[i-1].off("dblclick",this._finishShape,this))}}),L.SimpleShape={},L.Draw.SimpleShape=L.Draw.Feature.extend({options:{repeatMode:!1},initialize:function(i,o){this._endLabelText=L.drawLocal.draw.handlers.simpleshape.tooltip.end,L.Draw.Feature.prototype.initialize.call(this,i,o)},addHooks:function(){L.Draw.Feature.prototype.addHooks.call(this),this._map&&(this._mapDraggable=this._map.dragging.enabled(),this._mapDraggable&&this._map.dragging.disable(),this._container.style.cursor="crosshair",this._tooltip.updateContent({text:this._initialLabelText}),this._map.on("mousedown",this._onMouseDown,this).on("mousemove",this._onMouseMove,this).on("touchstart",this._onMouseDown,this).on("touchmove",this._onMouseMove,this),s.addEventListener("touchstart",L.DomEvent.preventDefault,{passive:!1}))},removeHooks:function(){L.Draw.Feature.prototype.removeHooks.call(this),this._map&&(this._mapDraggable&&this._map.dragging.enable(),this._container.style.cursor="",this._map.off("mousedown",this._onMouseDown,this).off("mousemove",this._onMouseMove,this).off("touchstart",this._onMouseDown,this).off("touchmove",this._onMouseMove,this),L.DomEvent.off(s,"mouseup",this._onMouseUp,this),L.DomEvent.off(s,"touchend",this._onMouseUp,this),s.removeEventListener("touchstart",L.DomEvent.preventDefault),this._shape&&(this._map.removeLayer(this._shape),delete this._shape)),this._isDrawing=!1},_getTooltipText:function(){return{text:this._endLabelText}},_onMouseDown:function(i){this._isDrawing=!0,this._startLatLng=i.latlng,L.DomEvent.on(s,"mouseup",this._onMouseUp,this).on(s,"touchend",this._onMouseUp,this).preventDefault(i.originalEvent)},_onMouseMove:function(i){var o=i.latlng;this._tooltip.updatePosition(o),this._isDrawing&&(this._tooltip.updateContent(this._getTooltipText()),this._drawShape(o))},_onMouseUp:function(){this._shape&&this._fireCreatedEvent(),this.disable(),this.options.repeatMode&&this.enable()}}),L.Draw.Rectangle=L.Draw.SimpleShape.extend({statics:{TYPE:"rectangle"},options:{shapeOptions:{stroke:!0,color:"#3388ff",weight:4,opacity:.5,fill:!0,fillColor:null,fillOpacity:.2,clickable:!0},showArea:!0,metric:!0},initialize:function(i,o){this.type=L.Draw.Rectangle.TYPE,this._initialLabelText=L.drawLocal.draw.handlers.rectangle.tooltip.start,L.Draw.SimpleShape.prototype.initialize.call(this,i,o)},disable:function(){this._enabled&&(this._isCurrentlyTwoClickDrawing=!1,L.Draw.SimpleShape.prototype.disable.call(this))},_onMouseUp:function(i){if(!this._shape&&!this._isCurrentlyTwoClickDrawing)return void(this._isCurrentlyTwoClickDrawing=!0);this._isCurrentlyTwoClickDrawing&&!c(i.target,"leaflet-pane")||L.Draw.SimpleShape.prototype._onMouseUp.call(this)},_drawShape:function(i){this._shape?this._shape.setBounds(new L.LatLngBounds(this._startLatLng,i)):(this._shape=new L.Rectangle(new L.LatLngBounds(this._startLatLng,i),this.options.shapeOptions),this._map.addLayer(this._shape))},_fireCreatedEvent:function(){var i=new L.Rectangle(this._shape.getBounds(),this.options.shapeOptions);L.Draw.SimpleShape.prototype._fireCreatedEvent.call(this,i)},_getTooltipText:function(){var i,o,r,h=L.Draw.SimpleShape.prototype._getTooltipText.call(this),u=this._shape,f=this.options.showArea;return u&&(i=this._shape._defaultShape?this._shape._defaultShape():this._shape.getLatLngs(),o=L.GeometryUtil.geodesicArea(i),r=f?L.GeometryUtil.readableArea(o,this.options.metric):""),{text:h.text,subtext:r}}}),L.Draw.Marker=L.Draw.Feature.extend({statics:{TYPE:"marker"},options:{icon:new L.Icon.Default,repeatMode:!1,zIndexOffset:2e3},initialize:function(i,o){this.type=L.Draw.Marker.TYPE,this._initialLabelText=L.drawLocal.draw.handlers.marker.tooltip.start,L.Draw.Feature.prototype.initialize.call(this,i,o)},addHooks:function(){L.Draw.Feature.prototype.addHooks.call(this),this._map&&(this._tooltip.updateContent({text:this._initialLabelText}),this._mouseMarker||(this._mouseMarker=L.marker(this._map.getCenter(),{icon:L.divIcon({className:"leaflet-mouse-marker",iconAnchor:[20,20],iconSize:[40,40]}),opacity:0,zIndexOffset:this.options.zIndexOffset})),this._mouseMarker.on("click",this._onClick,this).addTo(this._map),this._map.on("mousemove",this._onMouseMove,this),this._map.on("click",this._onTouch,this))},removeHooks:function(){L.Draw.Feature.prototype.removeHooks.call(this),this._map&&(this._map.off("click",this._onClick,this).off("click",this._onTouch,this),this._marker&&(this._marker.off("click",this._onClick,this),this._map.removeLayer(this._marker),delete this._marker),this._mouseMarker.off("click",this._onClick,this),this._map.removeLayer(this._mouseMarker),delete this._mouseMarker,this._map.off("mousemove",this._onMouseMove,this))},_onMouseMove:function(i){var o=i.latlng;this._tooltip.updatePosition(o),this._mouseMarker.setLatLng(o),this._marker?(o=this._mouseMarker.getLatLng(),this._marker.setLatLng(o)):(this._marker=this._createMarker(o),this._marker.on("click",this._onClick,this),this._map.on("click",this._onClick,this).addLayer(this._marker))},_createMarker:function(i){return new L.Marker(i,{icon:this.options.icon,zIndexOffset:this.options.zIndexOffset})},_onClick:function(){this._fireCreatedEvent(),this.disable(),this.options.repeatMode&&this.enable()},_onTouch:function(i){this._onMouseMove(i),this._onClick()},_fireCreatedEvent:function(){var i=new L.Marker.Touch(this._marker.getLatLng(),{icon:this.options.icon});L.Draw.Feature.prototype._fireCreatedEvent.call(this,i)}}),L.Draw.CircleMarker=L.Draw.Marker.extend({statics:{TYPE:"circlemarker"},options:{stroke:!0,color:"#3388ff",weight:4,opacity:.5,fill:!0,fillColor:null,fillOpacity:.2,clickable:!0,zIndexOffset:2e3},initialize:function(i,o){this.type=L.Draw.CircleMarker.TYPE,this._initialLabelText=L.drawLocal.draw.handlers.circlemarker.tooltip.start,L.Draw.Feature.prototype.initialize.call(this,i,o)},_fireCreatedEvent:function(){var i=new L.CircleMarker(this._marker.getLatLng(),this.options);L.Draw.Feature.prototype._fireCreatedEvent.call(this,i)},_createMarker:function(i){return new L.CircleMarker(i,this.options)}}),L.Draw.Circle=L.Draw.SimpleShape.extend({statics:{TYPE:"circle"},options:{shapeOptions:{stroke:!0,color:"#3388ff",weight:4,opacity:.5,fill:!0,fillColor:null,fillOpacity:.2,clickable:!0},showRadius:!0,metric:!0,feet:!0,nautic:!1},initialize:function(i,o){this.type=L.Draw.Circle.TYPE,this._initialLabelText=L.drawLocal.draw.handlers.circle.tooltip.start,L.Draw.SimpleShape.prototype.initialize.call(this,i,o)},_drawShape:function(i){if(L.GeometryUtil.isVersion07x())var o=this._startLatLng.distanceTo(i);else var o=this._map.distance(this._startLatLng,i);this._shape?this._shape.setRadius(o):(this._shape=new L.Circle(this._startLatLng,o,this.options.shapeOptions),this._map.addLayer(this._shape))},_fireCreatedEvent:function(){var i=new L.Circle(this._startLatLng,this._shape.getRadius(),this.options.shapeOptions);L.Draw.SimpleShape.prototype._fireCreatedEvent.call(this,i)},_onMouseMove:function(i){var o,r=i.latlng,h=this.options.showRadius,u=this.options.metric;if(this._tooltip.updatePosition(r),this._isDrawing){this._drawShape(r),o=this._shape.getRadius().toFixed(1);var f="";h&&(f=L.drawLocal.draw.handlers.circle.radius+": "+L.GeometryUtil.readableDistance(o,u,this.options.feet,this.options.nautic)),this._tooltip.updateContent({text:this._endLabelText,subtext:f})}}}),L.Edit=L.Edit||{},L.Edit.Marker=L.Handler.extend({initialize:function(i,o){this._marker=i,L.setOptions(this,o)},addHooks:function(){var i=this._marker;i.dragging.enable(),i.on("dragend",this._onDragEnd,i),this._toggleMarkerHighlight()},removeHooks:function(){var i=this._marker;i.dragging.disable(),i.off("dragend",this._onDragEnd,i),this._toggleMarkerHighlight()},_onDragEnd:function(i){var o=i.target;o.edited=!0,this._map.fire(L.Draw.Event.EDITMOVE,{layer:o})},_toggleMarkerHighlight:function(){var i=this._marker._icon;i&&(i.style.display="none",L.DomUtil.hasClass(i,"leaflet-edit-marker-selected")?(L.DomUtil.removeClass(i,"leaflet-edit-marker-selected"),this._offsetMarker(i,-4)):(L.DomUtil.addClass(i,"leaflet-edit-marker-selected"),this._offsetMarker(i,4)),i.style.display="")},_offsetMarker:function(i,o){var r=parseInt(i.style.marginTop,10)-o,h=parseInt(i.style.marginLeft,10)-o;i.style.marginTop=r+"px",i.style.marginLeft=h+"px"}}),L.Marker.addInitHook(function(){L.Edit.Marker&&(this.editing=new L.Edit.Marker(this),this.options.editable&&this.editing.enable())}),L.Edit=L.Edit||{},L.Edit.Poly=L.Handler.extend({initialize:function(i){this.latlngs=[i._latlngs],i._holes&&(this.latlngs=this.latlngs.concat(i._holes)),this._poly=i,this._poly.on("revert-edited",this._updateLatLngs,this)},_defaultShape:function(){return L.Polyline._flat?L.Polyline._flat(this._poly._latlngs)?this._poly._latlngs:this._poly._latlngs[0]:this._poly._latlngs},_eachVertexHandler:function(i){for(var o=0;o<this._verticesHandlers.length;o++)i(this._verticesHandlers[o])},addHooks:function(){this._initHandlers(),this._eachVertexHandler(function(i){i.addHooks()})},removeHooks:function(){this._eachVertexHandler(function(i){i.removeHooks()})},updateMarkers:function(){this._eachVertexHandler(function(i){i.updateMarkers()})},_initHandlers:function(){this._verticesHandlers=[];for(var i=0;i<this.latlngs.length;i++)this._verticesHandlers.push(new L.Edit.PolyVerticesEdit(this._poly,this.latlngs[i],this._poly.options.poly))},_updateLatLngs:function(i){this.latlngs=[i.layer._latlngs],i.layer._holes&&(this.latlngs=this.latlngs.concat(i.layer._holes))}}),L.Edit.PolyVerticesEdit=L.Handler.extend({options:{icon:new L.DivIcon({iconSize:new L.Point(8,8),className:"leaflet-div-icon leaflet-editing-icon"}),touchIcon:new L.DivIcon({iconSize:new L.Point(20,20),className:"leaflet-div-icon leaflet-editing-icon leaflet-touch-icon"}),drawError:{color:"#b00b00",timeout:1e3}},initialize:function(i,o,r){L.Browser.touch&&(this.options.icon=this.options.touchIcon),this._poly=i,r&&r.drawError&&(r.drawError=L.Util.extend({},this.options.drawError,r.drawError)),this._latlngs=o,L.setOptions(this,r)},_defaultShape:function(){return L.Polyline._flat?L.Polyline._flat(this._latlngs)?this._latlngs:this._latlngs[0]:this._latlngs},addHooks:function(){var i=this._poly,o=i._path;i instanceof L.Polygon||(i.options.fill=!1,i.options.editing&&(i.options.editing.fill=!1)),o&&i.options.editing&&i.options.editing.className&&(i.options.original.className&&i.options.original.className.split(" ").forEach(function(r){L.DomUtil.removeClass(o,r)}),i.options.editing.className.split(" ").forEach(function(r){L.DomUtil.addClass(o,r)})),i.setStyle(i.options.editing),this._poly._map&&(this._map=this._poly._map,this._markerGroup||this._initMarkers(),this._poly._map.addLayer(this._markerGroup))},removeHooks:function(){var i=this._poly,o=i._path;o&&i.options.editing&&i.options.editing.className&&(i.options.editing.className.split(" ").forEach(function(r){L.DomUtil.removeClass(o,r)}),i.options.original.className&&i.options.original.className.split(" ").forEach(function(r){L.DomUtil.addClass(o,r)})),i.setStyle(i.options.original),i._map&&(i._map.removeLayer(this._markerGroup),delete this._markerGroup,delete this._markers)},updateMarkers:function(){this._markerGroup.clearLayers(),this._initMarkers()},_initMarkers:function(){this._markerGroup||(this._markerGroup=new L.LayerGroup),this._markers=[];var i,o,r,h,u=this._defaultShape();for(i=0,r=u.length;i<r;i++)h=this._createMarker(u[i],i),h.on("click",this._onMarkerClick,this),h.on("contextmenu",this._onContextMenu,this),this._markers.push(h);var f,g;for(i=0,o=r-1;i<r;o=i++)(i!==0||L.Polygon&&this._poly instanceof L.Polygon)&&(f=this._markers[o],g=this._markers[i],this._createMiddleMarker(f,g),this._updatePrevNext(f,g))},_createMarker:function(i,o){var r=new L.Marker.Touch(i,{draggable:!0,icon:this.options.icon});return r._origLatLng=i,r._index=o,r.on("dragstart",this._onMarkerDragStart,this).on("drag",this._onMarkerDrag,this).on("dragend",this._fireEdit,this).on("touchmove",this._onTouchMove,this).on("touchend",this._fireEdit,this).on("MSPointerMove",this._onTouchMove,this).on("MSPointerUp",this._fireEdit,this),this._markerGroup.addLayer(r),r},_onMarkerDragStart:function(){this._poly.fire("editstart")},_spliceLatLngs:function(){var i=this._defaultShape(),o=[].splice.apply(i,arguments);return this._poly._convertLatLngs(i,!0),this._poly.redraw(),o},_removeMarker:function(i){var o=i._index;this._markerGroup.removeLayer(i),this._markers.splice(o,1),this._spliceLatLngs(o,1),this._updateIndexes(o,-1),i.off("dragstart",this._onMarkerDragStart,this).off("drag",this._onMarkerDrag,this).off("dragend",this._fireEdit,this).off("touchmove",this._onMarkerDrag,this).off("touchend",this._fireEdit,this).off("click",this._onMarkerClick,this).off("MSPointerMove",this._onTouchMove,this).off("MSPointerUp",this._fireEdit,this)},_fireEdit:function(){this._poly.edited=!0,this._poly.fire("edit"),this._poly._map.fire(L.Draw.Event.EDITVERTEX,{layers:this._markerGroup,poly:this._poly})},_onMarkerDrag:function(i){var o=i.target,r=this._poly,h=L.LatLngUtil.cloneLatLng(o._origLatLng);if(L.extend(o._origLatLng,o._latlng),r.options.poly){var u=r._map._editTooltip;if(!r.options.poly.allowIntersection&&r.intersects()){L.extend(o._origLatLng,h),o.setLatLng(h);var f=r.options.color;r.setStyle({color:this.options.drawError.color}),u&&u.updateContent({text:L.drawLocal.draw.handlers.polyline.error}),setTimeout(function(){r.setStyle({color:f}),u&&u.updateContent({text:L.drawLocal.edit.handlers.edit.tooltip.text,subtext:L.drawLocal.edit.handlers.edit.tooltip.subtext})},1e3)}}o._middleLeft&&o._middleLeft.setLatLng(this._getMiddleLatLng(o._prev,o)),o._middleRight&&o._middleRight.setLatLng(this._getMiddleLatLng(o,o._next)),this._poly._bounds._southWest=L.latLng(1/0,1/0),this._poly._bounds._northEast=L.latLng(-1/0,-1/0);var g=this._poly.getLatLngs();this._poly._convertLatLngs(g,!0),this._poly.redraw(),this._poly.fire("editdrag")},_onMarkerClick:function(i){var o=L.Polygon&&this._poly instanceof L.Polygon?4:3,r=i.target;this._defaultShape().length<o||(this._removeMarker(r),this._updatePrevNext(r._prev,r._next),r._middleLeft&&this._markerGroup.removeLayer(r._middleLeft),r._middleRight&&this._markerGroup.removeLayer(r._middleRight),r._prev&&r._next?this._createMiddleMarker(r._prev,r._next):r._prev?r._next||(r._prev._middleRight=null):r._next._middleLeft=null,this._fireEdit())},_onContextMenu:function(i){var o=i.target;this._poly._map.fire(L.Draw.Event.MARKERCONTEXT,{marker:o,layers:this._markerGroup,poly:this._poly}),L.DomEvent.stopPropagation},_onTouchMove:function(i){var o=this._map.mouseEventToLayerPoint(i.originalEvent.touches[0]),r=this._map.layerPointToLatLng(o),h=i.target;L.extend(h._origLatLng,r),h._middleLeft&&h._middleLeft.setLatLng(this._getMiddleLatLng(h._prev,h)),h._middleRight&&h._middleRight.setLatLng(this._getMiddleLatLng(h,h._next)),this._poly.redraw(),this.updateMarkers()},_updateIndexes:function(i,o){this._markerGroup.eachLayer(function(r){r._index>i&&(r._index+=o)})},_createMiddleMarker:function(i,o){var r,h,u,f=this._getMiddleLatLng(i,o),g=this._createMarker(f);g.setOpacity(.6),i._middleRight=o._middleLeft=g,h=function(){g.off("touchmove",h,this);var b=o._index;g._index=b,g.off("click",r,this).on("click",this._onMarkerClick,this),f.lat=g.getLatLng().lat,f.lng=g.getLatLng().lng,this._spliceLatLngs(b,0,f),this._markers.splice(b,0,g),g.setOpacity(1),this._updateIndexes(b,1),o._index++,this._updatePrevNext(i,g),this._updatePrevNext(g,o),this._poly.fire("editstart")},u=function(){g.off("dragstart",h,this),g.off("dragend",u,this),g.off("touchmove",h,this),this._createMiddleMarker(i,g),this._createMiddleMarker(g,o)},r=function(){h.call(this),u.call(this),this._fireEdit()},g.on("click",r,this).on("dragstart",h,this).on("dragend",u,this).on("touchmove",h,this),this._markerGroup.addLayer(g)},_updatePrevNext:function(i,o){i&&(i._next=o),o&&(o._prev=i)},_getMiddleLatLng:function(i,o){var r=this._poly._map,h=r.project(i.getLatLng()),u=r.project(o.getLatLng());return r.unproject(h._add(u)._divideBy(2))}}),L.Polyline.addInitHook(function(){this.editing||(L.Edit.Poly&&(this.editing=new L.Edit.Poly(this),this.options.editable&&this.editing.enable()),this.on("add",function(){this.editing&&this.editing.enabled()&&this.editing.addHooks()}),this.on("remove",function(){this.editing&&this.editing.enabled()&&this.editing.removeHooks()}))}),L.Edit=L.Edit||{},L.Edit.SimpleShape=L.Handler.extend({options:{moveIcon:new L.DivIcon({iconSize:new L.Point(8,8),className:"leaflet-div-icon leaflet-editing-icon leaflet-edit-move"}),resizeIcon:new L.DivIcon({iconSize:new L.Point(8,8),className:"leaflet-div-icon leaflet-editing-icon leaflet-edit-resize"}),touchMoveIcon:new L.DivIcon({iconSize:new L.Point(20,20),className:"leaflet-div-icon leaflet-editing-icon leaflet-edit-move leaflet-touch-icon"}),touchResizeIcon:new L.DivIcon({iconSize:new L.Point(20,20),className:"leaflet-div-icon leaflet-editing-icon leaflet-edit-resize leaflet-touch-icon"})},initialize:function(i,o){L.Browser.touch&&(this.options.moveIcon=this.options.touchMoveIcon,this.options.resizeIcon=this.options.touchResizeIcon),this._shape=i,L.Util.setOptions(this,o)},addHooks:function(){var i=this._shape;this._shape._map&&(this._map=this._shape._map,i.setStyle(i.options.editing),i._map&&(this._map=i._map,this._markerGroup||this._initMarkers(),this._map.addLayer(this._markerGroup)))},removeHooks:function(){var i=this._shape;if(i.setStyle(i.options.original),i._map){this._unbindMarker(this._moveMarker);for(var o=0,r=this._resizeMarkers.length;o<r;o++)this._unbindMarker(this._resizeMarkers[o]);this._resizeMarkers=null,this._map.removeLayer(this._markerGroup),delete this._markerGroup}this._map=null},updateMarkers:function(){this._markerGroup.clearLayers(),this._initMarkers()},_initMarkers:function(){this._markerGroup||(this._markerGroup=new L.LayerGroup),this._createMoveMarker(),this._createResizeMarker()},_createMoveMarker:function(){},_createResizeMarker:function(){},_createMarker:function(i,o){var r=new L.Marker.Touch(i,{draggable:!0,icon:o,zIndexOffset:10});return this._bindMarker(r),this._markerGroup.addLayer(r),r},_bindMarker:function(i){i.on("dragstart",this._onMarkerDragStart,this).on("drag",this._onMarkerDrag,this).on("dragend",this._onMarkerDragEnd,this).on("touchstart",this._onTouchStart,this).on("touchmove",this._onTouchMove,this).on("MSPointerMove",this._onTouchMove,this).on("touchend",this._onTouchEnd,this).on("MSPointerUp",this._onTouchEnd,this)},_unbindMarker:function(i){i.off("dragstart",this._onMarkerDragStart,this).off("drag",this._onMarkerDrag,this).off("dragend",this._onMarkerDragEnd,this).off("touchstart",this._onTouchStart,this).off("touchmove",this._onTouchMove,this).off("MSPointerMove",this._onTouchMove,this).off("touchend",this._onTouchEnd,this).off("MSPointerUp",this._onTouchEnd,this)},_onMarkerDragStart:function(i){i.target.setOpacity(0),this._shape.fire("editstart")},_fireEdit:function(){this._shape.edited=!0,this._shape.fire("edit")},_onMarkerDrag:function(i){var o=i.target,r=o.getLatLng();o===this._moveMarker?this._move(r):this._resize(r),this._shape.redraw(),this._shape.fire("editdrag")},_onMarkerDragEnd:function(i){i.target.setOpacity(1),this._fireEdit()},_onTouchStart:function(i){if(L.Edit.SimpleShape.prototype._onMarkerDragStart.call(this,i),typeof this._getCorners=="function"){var o=this._getCorners(),r=i.target,h=r._cornerIndex;r.setOpacity(0),this._oppositeCorner=o[(h+2)%4],this._toggleCornerMarkers(0,h)}this._shape.fire("editstart")},_onTouchMove:function(i){var o=this._map.mouseEventToLayerPoint(i.originalEvent.touches[0]),r=this._map.layerPointToLatLng(o);return i.target===this._moveMarker?this._move(r):this._resize(r),this._shape.redraw(),!1},_onTouchEnd:function(i){i.target.setOpacity(1),this.updateMarkers(),this._fireEdit()},_move:function(){},_resize:function(){}}),L.Edit=L.Edit||{},L.Edit.Rectangle=L.Edit.SimpleShape.extend({_createMoveMarker:function(){var i=this._shape.getBounds(),o=i.getCenter();this._moveMarker=this._createMarker(o,this.options.moveIcon)},_createResizeMarker:function(){var i=this._getCorners();this._resizeMarkers=[];for(var o=0,r=i.length;o<r;o++)this._resizeMarkers.push(this._createMarker(i[o],this.options.resizeIcon)),this._resizeMarkers[o]._cornerIndex=o},_onMarkerDragStart:function(i){L.Edit.SimpleShape.prototype._onMarkerDragStart.call(this,i);var o=this._getCorners(),r=i.target,h=r._cornerIndex;this._oppositeCorner=o[(h+2)%4],this._toggleCornerMarkers(0,h)},_onMarkerDragEnd:function(i){var o,r,h=i.target;h===this._moveMarker&&(o=this._shape.getBounds(),r=o.getCenter(),h.setLatLng(r)),this._toggleCornerMarkers(1),this._repositionCornerMarkers(),L.Edit.SimpleShape.prototype._onMarkerDragEnd.call(this,i)},_move:function(i){for(var o,r=this._shape._defaultShape?this._shape._defaultShape():this._shape.getLatLngs(),h=this._shape.getBounds(),u=h.getCenter(),f=[],g=0,b=r.length;g<b;g++)o=[r[g].lat-u.lat,r[g].lng-u.lng],f.push([i.lat+o[0],i.lng+o[1]]);this._shape.setLatLngs(f),this._repositionCornerMarkers(),this._map.fire(L.Draw.Event.EDITMOVE,{layer:this._shape})},_resize:function(i){var o;this._shape.setBounds(L.latLngBounds(i,this._oppositeCorner)),o=this._shape.getBounds(),this._moveMarker.setLatLng(o.getCenter()),this._map.fire(L.Draw.Event.EDITRESIZE,{layer:this._shape})},_getCorners:function(){var i=this._shape.getBounds();return[i.getNorthWest(),i.getNorthEast(),i.getSouthEast(),i.getSouthWest()]},_toggleCornerMarkers:function(i){for(var o=0,r=this._resizeMarkers.length;o<r;o++)this._resizeMarkers[o].setOpacity(i)},_repositionCornerMarkers:function(){for(var i=this._getCorners(),o=0,r=this._resizeMarkers.length;o<r;o++)this._resizeMarkers[o].setLatLng(i[o])}}),L.Rectangle.addInitHook(function(){L.Edit.Rectangle&&(this.editing=new L.Edit.Rectangle(this),this.options.editable&&this.editing.enable())}),L.Edit=L.Edit||{},L.Edit.CircleMarker=L.Edit.SimpleShape.extend({_createMoveMarker:function(){var i=this._shape.getLatLng();this._moveMarker=this._createMarker(i,this.options.moveIcon)},_createResizeMarker:function(){this._resizeMarkers=[]},_move:function(i){if(this._resizeMarkers.length){var o=this._getResizeMarkerPoint(i);this._resizeMarkers[0].setLatLng(o)}this._shape.setLatLng(i),this._map.fire(L.Draw.Event.EDITMOVE,{layer:this._shape})}}),L.CircleMarker.addInitHook(function(){L.Edit.CircleMarker&&(this.editing=new L.Edit.CircleMarker(this),this.options.editable&&this.editing.enable()),this.on("add",function(){this.editing&&this.editing.enabled()&&this.editing.addHooks()}),this.on("remove",function(){this.editing&&this.editing.enabled()&&this.editing.removeHooks()})}),L.Edit=L.Edit||{},L.Edit.Circle=L.Edit.CircleMarker.extend({_createResizeMarker:function(){var i=this._shape.getLatLng(),o=this._getResizeMarkerPoint(i);this._resizeMarkers=[],this._resizeMarkers.push(this._createMarker(o,this.options.resizeIcon))},_getResizeMarkerPoint:function(i){var o=this._shape._radius*Math.cos(Math.PI/4),r=this._map.project(i);return this._map.unproject([r.x+o,r.y-o])},_resize:function(i){var o=this._moveMarker.getLatLng();L.GeometryUtil.isVersion07x()?radius=o.distanceTo(i):radius=this._map.distance(o,i),this._shape.setRadius(radius),this._map.editTooltip&&this._map._editTooltip.updateContent({text:L.drawLocal.edit.handlers.edit.tooltip.subtext+"<br />"+L.drawLocal.edit.handlers.edit.tooltip.text,subtext:L.drawLocal.draw.handlers.circle.radius+": "+L.GeometryUtil.readableDistance(radius,!0,this.options.feet,this.options.nautic)}),this._shape.setRadius(radius),this._map.fire(L.Draw.Event.EDITRESIZE,{layer:this._shape})}}),L.Circle.addInitHook(function(){L.Edit.Circle&&(this.editing=new L.Edit.Circle(this),this.options.editable&&this.editing.enable())}),L.Map.mergeOptions({touchExtend:!0}),L.Map.TouchExtend=L.Handler.extend({initialize:function(i){this._map=i,this._container=i._container,this._pane=i._panes.overlayPane},addHooks:function(){L.DomEvent.on(this._container,"touchstart",this._onTouchStart,this),L.DomEvent.on(this._container,"touchend",this._onTouchEnd,this),L.DomEvent.on(this._container,"touchmove",this._onTouchMove,this),this._detectIE()?(L.DomEvent.on(this._container,"MSPointerDown",this._onTouchStart,this),L.DomEvent.on(this._container,"MSPointerUp",this._onTouchEnd,this),L.DomEvent.on(this._container,"MSPointerMove",this._onTouchMove,this),L.DomEvent.on(this._container,"MSPointerCancel",this._onTouchCancel,this)):(L.DomEvent.on(this._container,"touchcancel",this._onTouchCancel,this),L.DomEvent.on(this._container,"touchleave",this._onTouchLeave,this))},removeHooks:function(){L.DomEvent.off(this._container,"touchstart",this._onTouchStart,this),L.DomEvent.off(this._container,"touchend",this._onTouchEnd,this),L.DomEvent.off(this._container,"touchmove",this._onTouchMove,this),this._detectIE()?(L.DomEvent.off(this._container,"MSPointerDown",this._onTouchStart,this),L.DomEvent.off(this._container,"MSPointerUp",this._onTouchEnd,this),L.DomEvent.off(this._container,"MSPointerMove",this._onTouchMove,this),L.DomEvent.off(this._container,"MSPointerCancel",this._onTouchCancel,this)):(L.DomEvent.off(this._container,"touchcancel",this._onTouchCancel,this),L.DomEvent.off(this._container,"touchleave",this._onTouchLeave,this))},_touchEvent:function(i,o){var r={};if(i.touches!==void 0){if(!i.touches.length)return;r=i.touches[0]}else if(i.pointerType!=="touch"||(r=i,!this._filterClick(i)))return;var h=this._map.mouseEventToContainerPoint(r),u=this._map.mouseEventToLayerPoint(r),f=this._map.layerPointToLatLng(u);this._map.fire(o,{latlng:f,layerPoint:u,containerPoint:h,pageX:r.pageX,pageY:r.pageY,originalEvent:i})},_filterClick:function(i){var o=i.timeStamp||i.originalEvent.timeStamp,r=L.DomEvent._lastClick&&o-L.DomEvent._lastClick;return r&&r>100&&r<500||i.target._simulatedClick&&!i._simulated?(L.DomEvent.stop(i),!1):(L.DomEvent._lastClick=o,!0)},_onTouchStart:function(i){this._map._loaded&&this._touchEvent(i,"touchstart")},_onTouchEnd:function(i){this._map._loaded&&this._touchEvent(i,"touchend")},_onTouchCancel:function(i){if(this._map._loaded){var o="touchcancel";this._detectIE()&&(o="pointercancel"),this._touchEvent(i,o)}},_onTouchLeave:function(i){this._map._loaded&&this._touchEvent(i,"touchleave")},_onTouchMove:function(i){this._map._loaded&&this._touchEvent(i,"touchmove")},_detectIE:function(){var i=n.navigator.userAgent,o=i.indexOf("MSIE ");if(o>0)return parseInt(i.substring(o+5,i.indexOf(".",o)),10);if(i.indexOf("Trident/")>0){var r=i.indexOf("rv:");return parseInt(i.substring(r+3,i.indexOf(".",r)),10)}var h=i.indexOf("Edge/");return h>0&&parseInt(i.substring(h+5,i.indexOf(".",h)),10)}}),L.Map.addInitHook("addHandler","touchExtend",L.Map.TouchExtend),L.Marker.Touch=L.Marker.extend({_initInteraction:function(){return this.addInteractiveTarget?L.Marker.prototype._initInteraction.apply(this):this._initInteractionLegacy()},_initInteractionLegacy:function(){if(this.options.clickable){var i=this._icon,o=["dblclick","mousedown","mouseover","mouseout","contextmenu","touchstart","touchend","touchmove"];this._detectIE?o.concat(["MSPointerDown","MSPointerUp","MSPointerMove","MSPointerCancel"]):o.concat(["touchcancel"]),L.DomUtil.addClass(i,"leaflet-clickable"),L.DomEvent.on(i,"click",this._onMouseClick,this),L.DomEvent.on(i,"keypress",this._onKeyPress,this);for(var r=0;r<o.length;r++)L.DomEvent.on(i,o[r],this._fireMouseEvent,this);L.Handler.MarkerDrag&&(this.dragging=new L.Handler.MarkerDrag(this),this.options.draggable&&this.dragging.enable())}},_detectIE:function(){var i=n.navigator.userAgent,o=i.indexOf("MSIE ");if(o>0)return parseInt(i.substring(o+5,i.indexOf(".",o)),10);if(i.indexOf("Trident/")>0){var r=i.indexOf("rv:");return parseInt(i.substring(r+3,i.indexOf(".",r)),10)}var h=i.indexOf("Edge/");return h>0&&parseInt(i.substring(h+5,i.indexOf(".",h)),10)}}),L.LatLngUtil={cloneLatLngs:function(i){for(var o=[],r=0,h=i.length;r<h;r++)Array.isArray(i[r])?o.push(L.LatLngUtil.cloneLatLngs(i[r])):o.push(this.cloneLatLng(i[r]));return o},cloneLatLng:function(i){return L.latLng(i.lat,i.lng)}},function(){var i={km:2,ha:2,m:0,mi:2,ac:2,yd:0,ft:0,nm:2};L.GeometryUtil=L.extend(L.GeometryUtil||{},{geodesicArea:function(o){var r,h,u=o.length,f=0,g=Math.PI/180;if(u>2){for(var b=0;b<u;b++)r=o[b],h=o[(b+1)%u],f+=(h.lng-r.lng)*g*(2+Math.sin(r.lat*g)+Math.sin(h.lat*g));f=6378137*f*6378137/2}return Math.abs(f)},formattedNumber:function(o,r){var h=parseFloat(o).toFixed(r),u=L.drawLocal.format&&L.drawLocal.format.numeric,f=u&&u.delimiters,g=f&&f.thousands,b=f&&f.decimal;if(g||b){var _=h.split(".");h=g?_[0].replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1"+g):_[0],b=b||".",_.length>1&&(h=h+b+_[1])}return h},readableArea:function(o,r,g){var u,f,g=L.Util.extend({},i,g);return r?(f=["ha","m"],type=typeof r,type==="string"?f=[r]:type!=="boolean"&&(f=r),u=o>=1e6&&f.indexOf("km")!==-1?L.GeometryUtil.formattedNumber(1e-6*o,g.km)+" km²":o>=1e4&&f.indexOf("ha")!==-1?L.GeometryUtil.formattedNumber(1e-4*o,g.ha)+" ha":L.GeometryUtil.formattedNumber(o,g.m)+" m²"):(o/=.836127,u=o>=3097600?L.GeometryUtil.formattedNumber(o/3097600,g.mi)+" mi²":o>=4840?L.GeometryUtil.formattedNumber(o/4840,g.ac)+" acres":L.GeometryUtil.formattedNumber(o,g.yd)+" yd²"),u},readableDistance:function(o,r,h,u,b){var g,b=L.Util.extend({},i,b);switch(r?typeof r=="string"?r:"metric":h?"feet":u?"nauticalMile":"yards"){case"metric":g=o>1e3?L.GeometryUtil.formattedNumber(o/1e3,b.km)+" km":L.GeometryUtil.formattedNumber(o,b.m)+" m";break;case"feet":o*=3.28083,g=L.GeometryUtil.formattedNumber(o,b.ft)+" ft";break;case"nauticalMile":o*=.53996,g=L.GeometryUtil.formattedNumber(o/1e3,b.nm)+" nm";break;case"yards":default:o*=1.09361,g=o>1760?L.GeometryUtil.formattedNumber(o/1760,b.mi)+" miles":L.GeometryUtil.formattedNumber(o,b.yd)+" yd"}return g},isVersion07x:function(){var o=L.version.split(".");return parseInt(o[0],10)===0&&parseInt(o[1],10)===7}})}(),L.Util.extend(L.LineUtil,{segmentsIntersect:function(i,o,r,h){return this._checkCounterclockwise(i,r,h)!==this._checkCounterclockwise(o,r,h)&&this._checkCounterclockwise(i,o,r)!==this._checkCounterclockwise(i,o,h)},_checkCounterclockwise:function(i,o,r){return(r.y-i.y)*(o.x-i.x)>(o.y-i.y)*(r.x-i.x)}}),L.Polyline.include({intersects:function(){var i,o,r,h=this._getProjectedPoints(),u=h?h.length:0;if(this._tooFewPointsForIntersection())return!1;for(i=u-1;i>=3;i--)if(o=h[i-1],r=h[i],this._lineSegmentsIntersectsRange(o,r,i-2))return!0;return!1},newLatLngIntersects:function(i,o){return!!this._map&&this.newPointIntersects(this._map.latLngToLayerPoint(i),o)},newPointIntersects:function(i,o){var r=this._getProjectedPoints(),h=r?r.length:0,u=r?r[h-1]:null,f=h-2;return!this._tooFewPointsForIntersection(1)&&this._lineSegmentsIntersectsRange(u,i,f,o?1:0)},_tooFewPointsForIntersection:function(i){var o=this._getProjectedPoints(),r=o?o.length:0;return r+=i||0,!o||r<=3},_lineSegmentsIntersectsRange:function(i,o,r,h){var u,f,g=this._getProjectedPoints();h=h||0;for(var b=r;b>h;b--)if(u=g[b-1],f=g[b],L.LineUtil.segmentsIntersect(i,o,u,f))return!0;return!1},_getProjectedPoints:function(){if(!this._defaultShape)return this._originalPoints;for(var i=[],o=this._defaultShape(),r=0;r<o.length;r++)i.push(this._map.latLngToLayerPoint(o[r]));return i}}),L.Polygon.include({intersects:function(){var i,o,r,h,u=this._getProjectedPoints();return!this._tooFewPointsForIntersection()&&(!!L.Polyline.prototype.intersects.call(this)||(i=u.length,o=u[0],r=u[i-1],h=i-2,this._lineSegmentsIntersectsRange(r,o,h,1)))}}),L.Control.Draw=L.Control.extend({options:{position:"topleft",draw:{},edit:!1},initialize:function(i){if(L.version<"0.7")throw new Error("Leaflet.draw 0.2.3+ requires Leaflet 0.7.0+. Download latest from https://github.com/Leaflet/Leaflet/");L.Control.prototype.initialize.call(this,i);var o;this._toolbars={},L.DrawToolbar&&this.options.draw&&(o=new L.DrawToolbar(this.options.draw),this._toolbars[L.DrawToolbar.TYPE]=o,this._toolbars[L.DrawToolbar.TYPE].on("enable",this._toolbarEnabled,this)),L.EditToolbar&&this.options.edit&&(o=new L.EditToolbar(this.options.edit),this._toolbars[L.EditToolbar.TYPE]=o,this._toolbars[L.EditToolbar.TYPE].on("enable",this._toolbarEnabled,this)),L.toolbar=this},onAdd:function(i){var o,r=L.DomUtil.create("div","leaflet-draw"),h=!1;for(var u in this._toolbars)this._toolbars.hasOwnProperty(u)&&(o=this._toolbars[u].addToolbar(i))&&(h||(L.DomUtil.hasClass(o,"leaflet-draw-toolbar-top")||L.DomUtil.addClass(o.childNodes[0],"leaflet-draw-toolbar-top"),h=!0),r.appendChild(o));return r},onRemove:function(){for(var i in this._toolbars)this._toolbars.hasOwnProperty(i)&&this._toolbars[i].removeToolbar()},setDrawingOptions:function(i){for(var o in this._toolbars)this._toolbars[o]instanceof L.DrawToolbar&&this._toolbars[o].setOptions(i)},_toolbarEnabled:function(i){var o=i.target;for(var r in this._toolbars)this._toolbars[r]!==o&&this._toolbars[r].disable()}}),L.Map.mergeOptions({drawControlTooltips:!0,drawControl:!1}),L.Map.addInitHook(function(){this.options.drawControl&&(this.drawControl=new L.Control.Draw,this.addControl(this.drawControl))}),L.Toolbar=L.Class.extend({initialize:function(i){L.setOptions(this,i),this._modes={},this._actionButtons=[],this._activeMode=null;var o=L.version.split(".");parseInt(o[0],10)===1&&parseInt(o[1],10)>=2?L.Toolbar.include(L.Evented.prototype):L.Toolbar.include(L.Mixin.Events)},enabled:function(){return this._activeMode!==null},disable:function(){this.enabled()&&this._activeMode.handler.disable()},addToolbar:function(i){var o,r=L.DomUtil.create("div","leaflet-draw-section"),h=0,u=this._toolbarClass||"",f=this.getModeHandlers(i);for(this._toolbarContainer=L.DomUtil.create("div","leaflet-draw-toolbar leaflet-bar"),this._map=i,o=0;o<f.length;o++)f[o].enabled&&this._initModeHandler(f[o].handler,this._toolbarContainer,h++,u,f[o].title);if(h)return this._lastButtonIndex=--h,this._actionsContainer=L.DomUtil.create("ul","leaflet-draw-actions"),r.appendChild(this._toolbarContainer),r.appendChild(this._actionsContainer),r},removeToolbar:function(){for(var i in this._modes)this._modes.hasOwnProperty(i)&&(this._disposeButton(this._modes[i].button,this._modes[i].handler.enable,this._modes[i].handler),this._modes[i].handler.disable(),this._modes[i].handler.off("enabled",this._handlerActivated,this).off("disabled",this._handlerDeactivated,this));this._modes={};for(var o=0,r=this._actionButtons.length;o<r;o++)this._disposeButton(this._actionButtons[o].button,this._actionButtons[o].callback,this);this._actionButtons=[],this._actionsContainer=null},_initModeHandler:function(i,o,r,h,u){var f=i.type;this._modes[f]={},this._modes[f].handler=i,this._modes[f].button=this._createButton({type:f,title:u,className:h+"-"+f,container:o,callback:this._modes[f].handler.enable,context:this._modes[f].handler}),this._modes[f].buttonIndex=r,this._modes[f].handler.on("enabled",this._handlerActivated,this).on("disabled",this._handlerDeactivated,this)},_detectIOS:function(){return/iPad|iPhone|iPod/.test(navigator.userAgent)&&!n.MSStream},_createButton:function(i){var o=L.DomUtil.create("a",i.className||"",i.container),r=L.DomUtil.create("span","sr-only",i.container);o.href="#",o.appendChild(r),i.title&&(o.title=i.title,r.innerHTML=i.title),i.text&&(o.innerHTML=i.text,r.innerHTML=i.text);var h=this._detectIOS()?"touchstart":"click";return L.DomEvent.on(o,"click",L.DomEvent.stopPropagation).on(o,"mousedown",L.DomEvent.stopPropagation).on(o,"dblclick",L.DomEvent.stopPropagation).on(o,"touchstart",L.DomEvent.stopPropagation).on(o,"click",L.DomEvent.preventDefault).on(o,h,i.callback,i.context),o},_disposeButton:function(i,o){var r=this._detectIOS()?"touchstart":"click";L.DomEvent.off(i,"click",L.DomEvent.stopPropagation).off(i,"mousedown",L.DomEvent.stopPropagation).off(i,"dblclick",L.DomEvent.stopPropagation).off(i,"touchstart",L.DomEvent.stopPropagation).off(i,"click",L.DomEvent.preventDefault).off(i,r,o)},_handlerActivated:function(i){this.disable(),this._activeMode=this._modes[i.handler],L.DomUtil.addClass(this._activeMode.button,"leaflet-draw-toolbar-button-enabled"),this._showActionsToolbar(),this.fire("enable")},_handlerDeactivated:function(){this._hideActionsToolbar(),L.DomUtil.removeClass(this._activeMode.button,"leaflet-draw-toolbar-button-enabled"),this._activeMode=null,this.fire("disable")},_createActions:function(i){var o,r,h,u,f=this._actionsContainer,g=this.getActions(i),b=g.length;for(r=0,h=this._actionButtons.length;r<h;r++)this._disposeButton(this._actionButtons[r].button,this._actionButtons[r].callback);for(this._actionButtons=[];f.firstChild;)f.removeChild(f.firstChild);for(var _=0;_<b;_++)"enabled"in g[_]&&!g[_].enabled||(o=L.DomUtil.create("li","",f),u=this._createButton({title:g[_].title,text:g[_].text,container:o,callback:g[_].callback,context:g[_].context}),this._actionButtons.push({button:u,callback:g[_].callback}))},_showActionsToolbar:function(){var i=this._activeMode.buttonIndex,o=this._lastButtonIndex,r=this._activeMode.button.offsetTop-1;this._createActions(this._activeMode.handler),this._actionsContainer.style.top=r+"px",i===0&&(L.DomUtil.addClass(this._toolbarContainer,"leaflet-draw-toolbar-notop"),L.DomUtil.addClass(this._actionsContainer,"leaflet-draw-actions-top")),i===o&&(L.DomUtil.addClass(this._toolbarContainer,"leaflet-draw-toolbar-nobottom"),L.DomUtil.addClass(this._actionsContainer,"leaflet-draw-actions-bottom")),this._actionsContainer.style.display="block",this._map.fire(L.Draw.Event.TOOLBAROPENED)},_hideActionsToolbar:function(){this._actionsContainer.style.display="none",L.DomUtil.removeClass(this._toolbarContainer,"leaflet-draw-toolbar-notop"),L.DomUtil.removeClass(this._toolbarContainer,"leaflet-draw-toolbar-nobottom"),L.DomUtil.removeClass(this._actionsContainer,"leaflet-draw-actions-top"),L.DomUtil.removeClass(this._actionsContainer,"leaflet-draw-actions-bottom"),this._map.fire(L.Draw.Event.TOOLBARCLOSED)}}),L.Draw=L.Draw||{},L.Draw.Tooltip=L.Class.extend({initialize:function(i){this._map=i,this._popupPane=i._panes.popupPane,this._visible=!1,this._container=i.options.drawControlTooltips?L.DomUtil.create("div","leaflet-draw-tooltip",this._popupPane):null,this._singleLineLabel=!1,this._map.on("mouseout",this._onMouseOut,this)},dispose:function(){this._map.off("mouseout",this._onMouseOut,this),this._container&&(this._popupPane.removeChild(this._container),this._container=null)},updateContent:function(i){return this._container?(i.subtext=i.subtext||"",i.subtext.length!==0||this._singleLineLabel?i.subtext.length>0&&this._singleLineLabel&&(L.DomUtil.removeClass(this._container,"leaflet-draw-tooltip-single"),this._singleLineLabel=!1):(L.DomUtil.addClass(this._container,"leaflet-draw-tooltip-single"),this._singleLineLabel=!0),this._container.innerHTML=(i.subtext.length>0?'<span class="leaflet-draw-tooltip-subtext">'+i.subtext+"</span><br />":"")+"<span>"+i.text+"</span>",i.text||i.subtext?(this._visible=!0,this._container.style.visibility="inherit"):(this._visible=!1,this._container.style.visibility="hidden"),this):this},updatePosition:function(i){var o=this._map.latLngToLayerPoint(i),r=this._container;return this._container&&(this._visible&&(r.style.visibility="inherit"),L.DomUtil.setPosition(r,o)),this},showAsError:function(){return this._container&&L.DomUtil.addClass(this._container,"leaflet-error-draw-tooltip"),this},removeError:function(){return this._container&&L.DomUtil.removeClass(this._container,"leaflet-error-draw-tooltip"),this},_onMouseOut:function(){this._container&&(this._container.style.visibility="hidden")}}),L.DrawToolbar=L.Toolbar.extend({statics:{TYPE:"draw"},options:{polyline:{},polygon:{},rectangle:{},circle:{},marker:{},circlemarker:{}},initialize:function(i){for(var o in this.options)this.options.hasOwnProperty(o)&&i[o]&&(i[o]=L.extend({},this.options[o],i[o]));this._toolbarClass="leaflet-draw-draw",L.Toolbar.prototype.initialize.call(this,i)},getModeHandlers:function(i){return[{enabled:this.options.polyline,handler:new L.Draw.Polyline(i,this.options.polyline),title:L.drawLocal.draw.toolbar.buttons.polyline},{enabled:this.options.polygon,handler:new L.Draw.Polygon(i,this.options.polygon),title:L.drawLocal.draw.toolbar.buttons.polygon},{enabled:this.options.rectangle,handler:new L.Draw.Rectangle(i,this.options.rectangle),title:L.drawLocal.draw.toolbar.buttons.rectangle},{enabled:this.options.circle,handler:new L.Draw.Circle(i,this.options.circle),title:L.drawLocal.draw.toolbar.buttons.circle},{enabled:this.options.marker,handler:new L.Draw.Marker(i,this.options.marker),title:L.drawLocal.draw.toolbar.buttons.marker},{enabled:this.options.circlemarker,handler:new L.Draw.CircleMarker(i,this.options.circlemarker),title:L.drawLocal.draw.toolbar.buttons.circlemarker}]},getActions:function(i){return[{enabled:i.completeShape,title:L.drawLocal.draw.toolbar.finish.title,text:L.drawLocal.draw.toolbar.finish.text,callback:i.completeShape,context:i},{enabled:i.deleteLastVertex,title:L.drawLocal.draw.toolbar.undo.title,text:L.drawLocal.draw.toolbar.undo.text,callback:i.deleteLastVertex,context:i},{title:L.drawLocal.draw.toolbar.actions.title,text:L.drawLocal.draw.toolbar.actions.text,callback:this.disable,context:this}]},setOptions:function(i){L.setOptions(this,i);for(var o in this._modes)this._modes.hasOwnProperty(o)&&i.hasOwnProperty(o)&&this._modes[o].handler.setOptions(i[o])}}),L.EditToolbar=L.Toolbar.extend({statics:{TYPE:"edit"},options:{edit:{selectedPathOptions:{dashArray:"10, 10",fill:!0,fillColor:"#fe57a1",fillOpacity:.1,maintainColor:!1}},remove:{},poly:null,featureGroup:null},initialize:function(i){i.edit&&(i.edit.selectedPathOptions===void 0&&(i.edit.selectedPathOptions=this.options.edit.selectedPathOptions),i.edit.selectedPathOptions=L.extend({},this.options.edit.selectedPathOptions,i.edit.selectedPathOptions)),i.remove&&(i.remove=L.extend({},this.options.remove,i.remove)),i.poly&&(i.poly=L.extend({},this.options.poly,i.poly)),this._toolbarClass="leaflet-draw-edit",L.Toolbar.prototype.initialize.call(this,i),this._selectedFeatureCount=0},getModeHandlers:function(i){var o=this.options.featureGroup;return[{enabled:this.options.edit,handler:new L.EditToolbar.Edit(i,{featureGroup:o,selectedPathOptions:this.options.edit.selectedPathOptions,poly:this.options.poly}),title:L.drawLocal.edit.toolbar.buttons.edit},{enabled:this.options.remove,handler:new L.EditToolbar.Delete(i,{featureGroup:o}),title:L.drawLocal.edit.toolbar.buttons.remove}]},getActions:function(i){var o=[{title:L.drawLocal.edit.toolbar.actions.save.title,text:L.drawLocal.edit.toolbar.actions.save.text,callback:this._save,context:this},{title:L.drawLocal.edit.toolbar.actions.cancel.title,text:L.drawLocal.edit.toolbar.actions.cancel.text,callback:this.disable,context:this}];return i.removeAllLayers&&o.push({title:L.drawLocal.edit.toolbar.actions.clearAll.title,text:L.drawLocal.edit.toolbar.actions.clearAll.text,callback:this._clearAllLayers,context:this}),o},addToolbar:function(i){var o=L.Toolbar.prototype.addToolbar.call(this,i);return this._checkDisabled(),this.options.featureGroup.on("layeradd layerremove",this._checkDisabled,this),o},removeToolbar:function(){this.options.featureGroup.off("layeradd layerremove",this._checkDisabled,this),L.Toolbar.prototype.removeToolbar.call(this)},disable:function(){this.enabled()&&(this._activeMode.handler.revertLayers(),L.Toolbar.prototype.disable.call(this))},_save:function(){this._activeMode.handler.save(),this._activeMode&&this._activeMode.handler.disable()},_clearAllLayers:function(){this._activeMode.handler.removeAllLayers(),this._activeMode&&this._activeMode.handler.disable()},_checkDisabled:function(){var i,o=this.options.featureGroup,r=o.getLayers().length!==0;this.options.edit&&(i=this._modes[L.EditToolbar.Edit.TYPE].button,r?L.DomUtil.removeClass(i,"leaflet-disabled"):L.DomUtil.addClass(i,"leaflet-disabled"),i.setAttribute("title",r?L.drawLocal.edit.toolbar.buttons.edit:L.drawLocal.edit.toolbar.buttons.editDisabled)),this.options.remove&&(i=this._modes[L.EditToolbar.Delete.TYPE].button,r?L.DomUtil.removeClass(i,"leaflet-disabled"):L.DomUtil.addClass(i,"leaflet-disabled"),i.setAttribute("title",r?L.drawLocal.edit.toolbar.buttons.remove:L.drawLocal.edit.toolbar.buttons.removeDisabled))}}),L.EditToolbar.Edit=L.Handler.extend({statics:{TYPE:"edit"},initialize:function(i,o){if(L.Handler.prototype.initialize.call(this,i),L.setOptions(this,o),this._featureGroup=o.featureGroup,!(this._featureGroup instanceof L.FeatureGroup))throw new Error("options.featureGroup must be a L.FeatureGroup");this._uneditedLayerProps={},this.type=L.EditToolbar.Edit.TYPE;var r=L.version.split(".");parseInt(r[0],10)===1&&parseInt(r[1],10)>=2?L.EditToolbar.Edit.include(L.Evented.prototype):L.EditToolbar.Edit.include(L.Mixin.Events)},enable:function(){!this._enabled&&this._hasAvailableLayers()&&(this.fire("enabled",{handler:this.type}),this._map.fire(L.Draw.Event.EDITSTART,{handler:this.type}),L.Handler.prototype.enable.call(this),this._featureGroup.on("layeradd",this._enableLayerEdit,this).on("layerremove",this._disableLayerEdit,this))},disable:function(){this._enabled&&(this._featureGroup.off("layeradd",this._enableLayerEdit,this).off("layerremove",this._disableLayerEdit,this),L.Handler.prototype.disable.call(this),this._map.fire(L.Draw.Event.EDITSTOP,{handler:this.type}),this.fire("disabled",{handler:this.type}))},addHooks:function(){var i=this._map;i&&(i.getContainer().focus(),this._featureGroup.eachLayer(this._enableLayerEdit,this),this._tooltip=new L.Draw.Tooltip(this._map),this._tooltip.updateContent({text:L.drawLocal.edit.handlers.edit.tooltip.text,subtext:L.drawLocal.edit.handlers.edit.tooltip.subtext}),i._editTooltip=this._tooltip,this._updateTooltip(),this._map.on("mousemove",this._onMouseMove,this).on("touchmove",this._onMouseMove,this).on("MSPointerMove",this._onMouseMove,this).on(L.Draw.Event.EDITVERTEX,this._updateTooltip,this))},removeHooks:function(){this._map&&(this._featureGroup.eachLayer(this._disableLayerEdit,this),this._uneditedLayerProps={},this._tooltip.dispose(),this._tooltip=null,this._map.off("mousemove",this._onMouseMove,this).off("touchmove",this._onMouseMove,this).off("MSPointerMove",this._onMouseMove,this).off(L.Draw.Event.EDITVERTEX,this._updateTooltip,this))},revertLayers:function(){this._featureGroup.eachLayer(function(i){this._revertLayer(i)},this)},save:function(){var i=new L.LayerGroup;this._featureGroup.eachLayer(function(o){o.edited&&(i.addLayer(o),o.edited=!1)}),this._map.fire(L.Draw.Event.EDITED,{layers:i})},_backupLayer:function(i){var o=L.Util.stamp(i);this._uneditedLayerProps[o]||(i instanceof L.Polyline||i instanceof L.Polygon||i instanceof L.Rectangle?this._uneditedLayerProps[o]={latlngs:L.LatLngUtil.cloneLatLngs(i.getLatLngs())}:i instanceof L.Circle?this._uneditedLayerProps[o]={latlng:L.LatLngUtil.cloneLatLng(i.getLatLng()),radius:i.getRadius()}:(i instanceof L.Marker||i instanceof L.CircleMarker)&&(this._uneditedLayerProps[o]={latlng:L.LatLngUtil.cloneLatLng(i.getLatLng())}))},_getTooltipText:function(){return{text:L.drawLocal.edit.handlers.edit.tooltip.text,subtext:L.drawLocal.edit.handlers.edit.tooltip.subtext}},_updateTooltip:function(){this._tooltip.updateContent(this._getTooltipText())},_revertLayer:function(i){var o=L.Util.stamp(i);i.edited=!1,this._uneditedLayerProps.hasOwnProperty(o)&&(i instanceof L.Polyline||i instanceof L.Polygon||i instanceof L.Rectangle?i.setLatLngs(this._uneditedLayerProps[o].latlngs):i instanceof L.Circle?(i.setLatLng(this._uneditedLayerProps[o].latlng),i.setRadius(this._uneditedLayerProps[o].radius)):(i instanceof L.Marker||i instanceof L.CircleMarker)&&i.setLatLng(this._uneditedLayerProps[o].latlng),i.fire("revert-edited",{layer:i}))},_enableLayerEdit:function(i){var o,r,h=i.layer||i.target||i;this._backupLayer(h),this.options.poly&&(r=L.Util.extend({},this.options.poly),h.options.poly=r),this.options.selectedPathOptions&&(o=L.Util.extend({},this.options.selectedPathOptions),o.maintainColor&&(o.color=h.options.color,o.fillColor=h.options.fillColor),h.options.original=L.extend({},h.options),h.options.editing=o),h instanceof L.Marker?(h.editing&&h.editing.enable(),h.dragging.enable(),h.on("dragend",this._onMarkerDragEnd).on("touchmove",this._onTouchMove,this).on("MSPointerMove",this._onTouchMove,this).on("touchend",this._onMarkerDragEnd,this).on("MSPointerUp",this._onMarkerDragEnd,this)):h.editing.enable()},_disableLayerEdit:function(i){var o=i.layer||i.target||i;o.edited=!1,o.editing&&o.editing.disable(),delete o.options.editing,delete o.options.original,this._selectedPathOptions&&(o instanceof L.Marker?this._toggleMarkerHighlight(o):(o.setStyle(o.options.previousOptions),delete o.options.previousOptions)),o instanceof L.Marker?(o.dragging.disable(),o.off("dragend",this._onMarkerDragEnd,this).off("touchmove",this._onTouchMove,this).off("MSPointerMove",this._onTouchMove,this).off("touchend",this._onMarkerDragEnd,this).off("MSPointerUp",this._onMarkerDragEnd,this)):o.editing.disable()},_onMouseMove:function(i){this._tooltip.updatePosition(i.latlng)},_onMarkerDragEnd:function(i){var o=i.target;o.edited=!0,this._map.fire(L.Draw.Event.EDITMOVE,{layer:o})},_onTouchMove:function(i){var o=i.originalEvent.changedTouches[0],r=this._map.mouseEventToLayerPoint(o),h=this._map.layerPointToLatLng(r);i.target.setLatLng(h)},_hasAvailableLayers:function(){return this._featureGroup.getLayers().length!==0}}),L.EditToolbar.Delete=L.Handler.extend({statics:{TYPE:"remove"},initialize:function(i,o){if(L.Handler.prototype.initialize.call(this,i),L.Util.setOptions(this,o),this._deletableLayers=this.options.featureGroup,!(this._deletableLayers instanceof L.FeatureGroup))throw new Error("options.featureGroup must be a L.FeatureGroup");this.type=L.EditToolbar.Delete.TYPE;var r=L.version.split(".");parseInt(r[0],10)===1&&parseInt(r[1],10)>=2?L.EditToolbar.Delete.include(L.Evented.prototype):L.EditToolbar.Delete.include(L.Mixin.Events)},enable:function(){!this._enabled&&this._hasAvailableLayers()&&(this.fire("enabled",{handler:this.t
4ype}),this._map.fire(L.Draw.Event.DELETESTART,{handler:this.type}),L.Handler.prototype.enable.call(this),this._deletableLayers.on("layeradd",this._enableLayerDelete,this).on("layerremove",this._disableLayerDelete,this))},disable:function(){this._enabled&&(this._deletableLayers.off("layeradd",this._enableLayerDelete,this).off("layerremove",this._disableLayerDelete,this),L.Handler.prototype.disable.call(this),this._map.fire(L.Draw.Event.DELETESTOP,{handler:this.type}),this.fire("disabled",{handler:this.type}))},addHooks:function(){var i=this._map;i&&(i.getContainer().focus(),this._deletableLayers.eachLayer(this._enableLayerDelete,this),this._deletedLayers=new L.LayerGroup,this._tooltip=new L.Draw.Tooltip(this._map),this._tooltip.updateContent({text:L.drawLocal.edit.handlers.remove.tooltip.text}),this._map.on("mousemove",this._onMouseMove,this))},removeHooks:function(){this._map&&(this._deletableLayers.eachLayer(this._disableLayerDelete,this),this._deletedLayers=null,this._tooltip.dispose(),this._tooltip=null,this._map.off("mousemove",this._onMouseMove,this))},revertLayers:function(){this._deletedLayers.eachLayer(function(i){this._deletableLayers.addLayer(i),i.fire("revert-deleted",{layer:i})},this)},save:function(){this._map.fire(L.Draw.Event.DELETED,{layers:this._deletedLayers})},removeAllLayers:function(){this._deletableLayers.eachLayer(function(i){this._removeLayer({layer:i})},this),this.save()},_enableLayerDelete:function(i){(i.layer||i.target||i).on("click",this._removeLayer,this)},_disableLayerDelete:function(i){var o=i.layer||i.target||i;o.off("click",this._removeLayer,this),this._deletedLayers.removeLayer(o)},_removeLayer:function(i){var o=i.layer||i.target||i;this._deletableLayers.removeLayer(o),this._deletedLayers.addLayer(o),o.fire("deleted")},_onMouseMove:function(i){this._tooltip.updatePosition(i.latlng)},_hasAvailableLayers:function(){return this._deletableLayers.getLayers().length!==0}})})(window,document);Fi(function(n,s){(function(l,c){c(s)})(Ui,function(l){var c=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(o){L.Util.setOptions(this,o),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 r=L.DomUtil.TRANSITION&&this.options.animate;L.extend(this,r?this._withAnimation:this._noAnimation),this._markerCluster=r?L.MarkerCluster:L.MarkerClusterNonAnimated},addLayer:function(o){if(o instanceof L.LayerGroup)return this.addLayers([o]);if(!o.getLatLng)return this._nonPointGroup.addLayer(o),this.fire("layeradd",{layer:o}),this;if(!this._map)return this._needsClustering.push(o),this.fire("layeradd",{layer:o}),this;if(this.hasLayer(o))return this;this._unspiderfy&&this._unspiderfy(),this._addLayer(o,this._maxZoom),this.fire("layeradd",{layer:o}),this._topClusterLevel._recalculateBounds(),this._refreshClustersIcons();var r=o,h=this._zoom;if(o.__parent)for(;r.__parent._zoom>=h;)r=r.__parent;return this._currentShownBounds.contains(r.getLatLng())&&(this.options.animateAddingMarkers?this._animationAddLayer(o,r):this._animationAddLayerNonAnimated(o,r)),this},removeLayer:function(o){return o instanceof L.LayerGroup?this.removeLayers([o]):o.getLatLng?this._map?o.__parent?(this._unspiderfy&&(this._unspiderfy(),this._unspiderfyLayer(o)),this._removeLayer(o,!0),this.fire("layerremove",{layer:o}),this._topClusterLevel._recalculateBounds(),this._refreshClustersIcons(),o.off(this._childMarkerEventHandlers,this),this._featureGroup.hasLayer(o)&&(this._featureGroup.removeLayer(o),o.clusterShow&&o.clusterShow()),this):this:(!this._arraySplice(this._needsClustering,o)&&this.hasLayer(o)&&this._needsRemoving.push({layer:o,latlng:o._latlng}),this.fire("layerremove",{layer:o}),this):(this._nonPointGroup.removeLayer(o),this.fire("layerremove",{layer:o}),this)},addLayers:function(o,r){if(!L.Util.isArray(o))return this.addLayer(o);var h=this._featureGroup,u=this._nonPointGroup,f=this.options.chunkedLoading,g=this.options.chunkInterval,b=this.options.chunkProgress,_=o.length,x=0,w=!0,k;if(this._map){var O=new Date().getTime(),M=L.bind(function(){var R=new Date().getTime();for(this._map&&this._unspiderfy&&this._unspiderfy();x<_;x++){if(f&&x%200===0){var fe=new Date().getTime()-R;if(fe>g)break}if(k=o[x],k instanceof L.LayerGroup){w&&(o=o.slice(),w=!1),this._extractNonGroupLayers(k,o),_=o.length;continue}if(!k.getLatLng){u.addLayer(k),r||this.fire("layeradd",{layer:k});continue}if(!this.hasLayer(k)&&(this._addLayer(k,this._maxZoom),r||this.fire("layeradd",{layer:k}),k.__parent&&k.__parent.getChildCount()===2)){var ge=k.__parent.getAllChildMarkers(),_e=ge[0]===k?ge[1]:ge[0];h.removeLayer(_e)}}
4b&&b(x,_,new Date().getTime()-O),x===_?(this._topClusterLevel._recalculateBounds(),this._refreshClustersIcons(),this._topClusterLevel._recursivelyAddChildrenToMap(null,this._zoom,this._currentShownBounds)):setTimeout(M,this.options.chunkDelay)},this);M()}else for(var Z=this._needsClustering;x<_;x++){if(k=o[x],k instanceof L.LayerGroup){w&&(o=o.slice(),w=!1),this._extractNonGroupLayers(k,o),_=o.length;continue}if(!k.getLatLng){u.addLayer(k);continue}this.hasLayer(k)||Z.push(k)}return this},removeLayers:function(o){var r,h,u=o.length,f=this._featureGroup,g=this._nonPointGroup,b=!0;if(!this._map){for(r=0;r<u;r++){if(h=o[r],h instanceof L.LayerGroup){b&&(o=o.slice(),b=!1),this._extractNonGroupLayers(h,o),u=o.length;continue}this._arraySplice(this._needsClustering,h),g.removeLayer(h),this.hasLayer(h)&&this._needsRemoving.push({layer:h,latlng:h._latlng}),this.fire("layerremove",{layer:h})}return this}if(this._unspiderfy){this._unspiderfy();var _=o.slice(),x=u;for(r=0;r<x;r++){if(h=_[r],h instanceof L.LayerGroup){this._extractNonGroupLayers(h,_),x=_.length;continue}this._unspiderfyLayer(h)}}for(r=0;r<u;r++){if(h=o[r],h instanceof L.LayerGroup){b&&(o=o.slice(),b=!1),this._extractNonGroupLayers(h,o),u=o.length;continue}if(!h.__parent){g.removeLayer(h),this.fire("layerremove",{layer:h});continue}this._removeLayer(h,!0,!0),this.fire("layerremove",{layer:h}),f.hasLayer(h)&&(f.removeLayer(h),h.clusterShow&&h.clusterShow())}return this._topClusterLevel._recalculateBounds(),this._refreshClustersIcons(),this._topClusterLevel._recursivelyAddChildrenToMap(null,this._zoom,this._currentShownBounds),this},clearLayers:function(){return this._map||(this._needsClustering=[],this._needsRemoving=[],delete this._gridClusters,delete this._gridUnclustered),this._noanimationUnspiderfy&&this._noanimationUnspiderfy(),this._featureGroup.clearLayers(),this._nonPointGroup.clearLayers(),this.eachLayer(function(o){o.off(this._childMarkerEventHandlers,this),delete o.__parent},this),this._map&&this._generateInitialClusters(),this},getBounds:function(){var o=new L.LatLngBounds;this._topClusterLevel&&o.extend(this._topClusterLevel._bounds);for(var r=this._needsClustering.length-1;r>=0;r--)o.extend(this._needsClustering[r].getLatLng());return o.extend(this._nonPointGroup.getBounds()),o},eachLayer:function(o,r){var h=this._needsClustering.slice(),u=this._needsRemoving,f,g,b;for(this._topClusterLevel&&this._topClusterLevel.getAllChildMarkers(h),g=h.length-1;g>=0;g--){for(f=!0,b=u.length-1;b>=0;b--)if(u[b].layer===h[g]){f=!1;break}f&&o.call(r,h[g])}this._nonPointGroup.eachLayer(o,r)},getLayers:function(){var o=[];return this.eachLayer(function(r){o.push(r)}),o},getLayer:function(o){var r=null;return o=parseInt(o,10),this.eachLayer(function(h){L.stamp(h)===o&&(r=h)}),r},hasLayer:function(o){if(!o)return!1;var r,h=this._needsClustering;for(r=h.length-1;r>=0;r--)if(h[r]===o)return!0;for(h=this._needsRemoving,r=h.length-1;r>=0;r--)if(h[r].layer===o)return!1;return!!(o.__parent&&o.__parent._group===this)||this._nonPointGroup.hasLayer(o)},zoomToShowLayer:function(o,r){var h=this._map;typeof r!="function"&&(r=function(){});var u=function(){(h.hasLayer(o)||h.hasLayer(o.__parent))&&!this._inZoomAnimation&&(this._map.off("moveend",u,this),this.off("animationend",u,this),h.hasLayer(o)?r():o.__parent._icon&&(this.once("spiderfied",r,this),o.__parent.spiderfy()))};o._icon&&this._map.getBounds().contains(o.getLatLng())?r():o.__parent._zoom<Math.round(this._map._zoom)?(this._map.on("moveend",u,this),this._map.panTo(o.getLatLng())):(this._map.on("moveend",u,this),this.on("animationend",u,this),o.__parent.zoomToBounds())},onAdd:function(o){this._map=o;var r,h,u;if(!isFinite(this._map.getMaxZoom()))throw"Map has no maxZoom specified";for(this._featureGroup.addTo(o),this._nonPointGroup.addTo(o),this._gridClusters||this._generateInitialClusters(),this._maxLat=o.options.crs.projection.MAX_LATITUDE,r=0,h=this._needsRemoving.length;r<h;r++)u=this._needsRemoving[r],u.newlatlng=u.layer._latlng,u.layer._latlng=u.latlng;for(r=0,h=this._needsRemoving.length;r<h;r++)u=this._needsRemoving[r],this._removeLayer(u.layer,!0),u.layer._latlng=u.newlatlng;this._needsRemoving=[],this._zoom=Math.round(this._map._zoom),this._currentShownBounds=this._getExpandedVisibleBounds(),this._map.on("zoomend",this._zoomEnd,this),this._map.on("moveend",this._moveEnd,this),this._spiderfierOnAdd&&this._spiderfierOnAdd(),this._bindEvents(),h=this._needsClustering,this._needsClustering=[],this.addLayers(h,!0)},onRemove:function(o){o.off("zoomend",this._zoomEnd,this),o.off("moveend",this._moveEnd,this),this._unbindEvents(),this._map._mapPane.className=this._map._mapPane.className.replace(" leaflet-cluster-anim",""),this._spiderfierOnRemove&&this._spiderfierOnRemove(),delete this._maxLat,this._hideCoverage(),this._featureGroup.remove(),this._nonPointGroup.remove(),this._featureGroup.clearLayers(),this._map=null},getVisibleParent:function(o){for(var r=o;r&&!r._icon;)r=r.__parent;return r||null},_arraySplice:function(o,r){for(var h=o.length-1;h>=0;h--)if(o[h]===r)return o.splice(h,1),!0},_removeFromGridUnclustered:function(o,r){for(var h=this._map,u=this._gridUnclustered,f=Math.floor(this._map.getMinZoom());r>=f&&u[r].removeObject(o,h.project(o.getLatLng(),r));r--);},_childMarkerDragStart:function(o){o.target.__dragStart=o.target._latlng}
4,_childMarkerMoved:function(o){if(!this._ignoreMove&&!o.target.__dragStart){var r=o.target._popup&&o.target._popup.isOpen();this._moveChild(o.target,o.oldLatLng,o.latlng),r&&o.target.openPopup()}},_moveChild:function(o,r,h){o._latlng=r,this.removeLayer(o),o._latlng=h,this.addLayer(o)},_childMarkerDragEnd:function(o){var r=o.target.__dragStart;delete o.target.__dragStart,r&&this._moveChild(o.target,r,o.target._latlng)},_removeLayer:function(o,r,h){var u=this._gridClusters,f=this._gridUnclustered,g=this._featureGroup,b=this._map,_=Math.floor(this._map.getMinZoom());r&&this._removeFromGridUnclustered(o,this._maxZoom);var x=o.__parent,w=x._markers,k;for(this._arraySplice(w,o);x&&(x._childCount--,x._boundsNeedUpdate=!0,!(x._zoom<_));)r&&x._childCount<=1?(k=x._markers[0]===o?x._markers[1]:x._markers[0],u[x._zoom].removeObject(x,b.project(x._cLatLng,x._zoom)),f[x._zoom].addObject(k,b.project(k.getLatLng(),x._zoom)),this._arraySplice(x.__parent._childClusters,x),x.__parent._markers.push(k),k.__parent=x.__parent,x._icon&&(g.removeLayer(x),h||g.addLayer(k))):x._iconNeedsUpdate=!0,x=x.__parent;delete o.__parent},_isOrIsParent:function(o,r){for(;r;){if(o===r)return!0;r=r.parentNode}return!1},fire:function(o,r,h){if(r&&r.layer instanceof L.MarkerCluster){if(r.originalEvent&&this._isOrIsParent(r.layer._icon,r.originalEvent.relatedTarget))return;o="cluster"+o}L.FeatureGroup.prototype.fire.call(this,o,r,h)},listens:function(o,r){return L.FeatureGroup.prototype.listens.call(this,o,r)||L.FeatureGroup.prototype.listens.call(this,"cluster"+o,r)},_defaultIconCreateFunction:function(o){var r=o.getChildCount(),h=" marker-cluster-";return r<10?h+="small":r<100?h+="medium":h+="large",new L.DivIcon({html:"<div><span>"+r+"</span></div>",className:"marker-cluster"+h,iconSize:new L.Point(40,40)})},_bindEvents:function(){var o=this._map,r=this.options.spiderfyOnMaxZoom,h=this.options.showCoverageOnHover,u=this.options.zoomToBoundsOnClick,f=this.options.spiderfyOnEveryZoom;(r||u||f)&&this.on("clusterclick clusterkeypress",this._zoomOrSpiderfy,this),h&&(this.on("clustermouseover",this._showCoverage,this),this.on("clustermouseout",this._hideCoverage,this),o.on("zoomend",this._hideCoverage,this))},_zoomOrSpiderfy:function(o){var r=o.layer,h=r;if(!(o.type==="clusterkeypress"&&o.originalEvent&&o.originalEvent.keyCode!==13)){for(;h._childClusters.length===1;)h=h._childClusters[0];h._zoom===this._maxZoom&&h._childCount===r._childCount&&this.options.spiderfyOnMaxZoom?r.spiderfy():this.options.zoomToBoundsOnClick&&r.zoomToBounds(),this.options.spiderfyOnEveryZoom&&r.spiderfy(),o.originalEvent&&o.originalEvent.keyCode===13&&this._map._container.focus()}},_showCoverage:function(o){var r=this._map;this._inZoomAnimation||(this._shownPolygon&&r.removeLayer(this._shownPolygon),o.layer.getChildCount()>2&&o.layer!==this._spiderfied&&(this._shownPolygon=new L.Polygon(o.layer.getConvexHull(),this.options.polygonOptions),r.addLayer(this._shownPolygon)))},_hideCoverage:function(){this._shownPolygon&&(this._map.removeLayer(this._shownPolygon),this._shownPolygon=null)},_unbindEvents:function(){var o=this.options.spiderfyOnMaxZoom,r=this.options.showCoverageOnHover,h=this.options.zoomToBoundsOnClick,u=this.options.spiderfyOnEveryZoom,f=this._map;(o||h||u)&&this.off("clusterclick clusterkeypress",this._zoomOrSpiderfy,this),r&&(this.off("clustermouseover",this._showCoverage,this),this.off("clustermouseout",this._hideCoverage,this),f.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 o=this._getExpandedVisibleBounds();this._topClusterLevel._recursivelyRemoveChildrenFromMap(this._currentShownBounds,Math.floor(this._map.getMinZoom()),this._zoom,o),this._topClusterLevel._recursivelyAddChildrenToMap(null,Math.round(this._map._zoom),o),this._currentShownBounds=o}},_generateInitialClusters:function(){var o=Math.ceil(this._map.getMaxZoom()),r=Math.floor(this._map.getMinZoom()),h=this.options.maxClusterRadius,u=h;typeof h!="function"&&(u=function(){return h}),this.options.disableClusteringAtZoom!==null&&(o=this.options.disableClusteringAtZoom-1),this._maxZoom=o,this._gridClusters={},this._gridUnclustered={};for(var f=o;f>=r;f--)this._gridClusters[f]=new L.DistanceGrid(u(f)),this._gridUnclustered[f]=new L.DistanceGrid(u(f));this._topClusterLevel=new this._markerCluster(this,r-1)},_addLayer:function(o,r){var h=this._gridClusters,u=this._gridUnclustered,f=Math.floor(this._map.getMinZoom()),g,b;
4for(this.options.singleMarkerMode&&this._overrideMarkerIcon(o),o.on(this._childMarkerEventHandlers,this);r>=f;r--){g=this._map.project(o.getLatLng(),r);var _=h[r].getNearObject(g);if(_){_._addChild(o),o.__parent=_;return}if(_=u[r].getNearObject(g),_){var x=_.__parent;x&&this._removeLayer(_,!1);var w=new this._markerCluster(this,r,_,o);h[r].addObject(w,this._map.project(w._cLatLng,r)),_.__parent=w,o.__parent=w;var k=w;for(b=r-1;b>x._zoom;b--)k=new this._markerCluster(this,b,k),h[b].addObject(k,this._map.project(_.getLatLng(),b));x._addChild(k),this._removeFromGridUnclustered(_,r);return}u[r].addObject(o,g)}this._topClusterLevel._addChild(o),o.__parent=this._topClusterLevel},_refreshClustersIcons:function(){this._featureGroup.eachLayer(function(o){o instanceof L.MarkerCluster&&o._iconNeedsUpdate&&o._updateIcon()})},_enqueue:function(o){this._queue.push(o),this._queueTimeout||(this._queueTimeout=setTimeout(L.bind(this._processQueue,this),300))},_processQueue:function(){for(var o=0;o<this._queue.length;o++)this._queue[o].call(this);this._queue.length=0,clearTimeout(this._queueTimeout),this._queueTimeout=null},_mergeSplitClusters:function(){var o=Math.round(this._map._zoom);this._processQueue(),this._zoom<o&&this._currentShownBounds.intersects(this._getExpandedVisibleBounds())?(this._animationStart(),this._topClusterLevel._recursivelyRemoveChildrenFromMap(this._currentShownBounds,Math.floor(this._map.getMinZoom()),this._zoom,this._getExpandedVisibleBounds()),this._animationZoomIn(this._zoom,o)):this._zoom>o?(this._animationStart(),this._animationZoomOut(this._zoom,o)):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(o){var r=this._maxLat;return r!==void 0&&(o.getNorth()>=r&&(o._northEast.lat=1/0),o.getSouth()<=-r&&(o._southWest.lat=-1/0)),o},_animationAddLayerNonAnimated:function(o,r){if(r===o)this._featureGroup.addLayer(o);else if(r._childCount===2){r._addToMap();var h=r.getAllChildMarkers();this._featureGroup.removeLayer(h[0]),this._featureGroup.removeLayer(h[1])}else r._updateIcon()},_extractNonGroupLayers:function(o,r){var h=o.getLayers(),u=0,f;for(r=r||[];u<h.length;u++){if(f=h[u],f instanceof L.LayerGroup){this._extractNonGroupLayers(f,r);continue}r.push(f)}return r},_overrideMarkerIcon:function(o){var r=o.options.icon=this.options.iconCreateFunction({getChildCount:function(){return 1},getAllChildMarkers:function(){return[o]}});return r}});L.MarkerClusterGroup.include({_mapBoundsInfinite:new L.LatLngBounds(new L.LatLng(-1/0,-1/0),new L.LatLng(1/0,1/0))}),L.MarkerClusterGroup.include({_noAnimation:{_animationStart:function(){},_animationZoomIn:function(o,r){this._topClusterLevel._recursivelyRemoveChildrenFromMap(this._currentShownBounds,Math.floor(this._map.getMinZoom()),o),this._topClusterLevel._recursivelyAddChildrenToMap(null,r,this._getExpandedVisibleBounds()),this.fire("animationend")},_animationZoomOut:function(o,r){this._topClusterLevel._recursivelyRemoveChildrenFromMap(this._currentShownBounds,Math.floor(this._map.getMinZoom()),o),this._topClusterLevel._recursivelyAddChildrenToMap(null,r,this._getExpandedVisibleBounds()),this.fire("animationend")},_animationAddLayer:function(o,r){this._animationAddLayerNonAnimated(o,r)}},_withAnimation:{_animationStart:function(){this._map._mapPane.className+=" leaflet-cluster-anim",this._inZoomAnimation++},_animationZoomIn:function(o,r){var h=this._getExpandedVisibleBounds(),u=this._featureGroup,f=Math.floor(this._map.getMinZoom()),g;this._ignoreMove=!0,this._topClusterLevel._recursively(h,o,f,function(b){var _=b._latlng,x=b._markers,w;for(h.contains(_)||(_=null),b._isSingleParent()&&o+1===r?(u.removeLayer(b),b._recursivelyAddChildrenToMap(null,r,h)):(b.clusterHide(),b._recursivelyAddChildrenToMap(_,r,h)),g=x.length-1;g>=0;g--)w=x[g],h.contains(w._latlng)||u.removeLayer(w)}),this._forceLayout(),this._topClusterLevel._recursivelyBecomeVisible(h,r),u.eachLayer(function(b){!(b instanceof L.MarkerCluster)&&b._icon&&b.clusterShow()}),this._topClusterLevel._recursively(h,o,r,function(b){b._recursivelyRestoreChildPositions(r)}),this._ignoreMove=!1,this._enqueue(function(){this._topClusterLevel._recursively(h,o,f,function(b){u.removeLayer(b),b.clusterShow()}),this._animationEnd()})},_animationZoomOut:function(o,r){this._animationZoomOutSingle(this._topClusterLevel,o-1,r),this._topClusterLevel._recursivelyAddChildrenToMap(null,r,this._getExpandedVisibleBounds()),this._topClusterLevel._recursivelyRemoveChildrenFromMap(this._currentShownBounds,Math.floor(this._map.getMinZoom()),o,this._getExpandedVisibleBounds())},_animationAddLayer:function(o,r){var h=this,u=this._featureGroup;u.addLayer(o),r!==o&&(r._childCount>2?(r._updateIcon(),this._forceLayout(),this._animationStart(),o._setPos(this._map.latLngToLayerPoint(r.getLatLng())),o.clusterHide(),this._enqueue(function(){u.removeLayer(o),o.clusterShow(),h._animationEnd()})):(this._forceLayout(),h._animationStart(),h._animationZoomOutSingle(r,this._map.getMaxZoom(),this._zoom)))}},_animationZoomOutSingle:function(o,r,h){var u=this._getExpandedVisibleBounds(),f=Math.floor(this._map.getMinZoom());o._recursivelyAnimateChildrenInAndAddSelfToMap(u,f,r+1,h);var g=this;this._forceLayout(),o._recursivelyBecomeVisible(u,h),this._enqueue(function(){if(o._childCount===1){var b=o._markers[0];this._ignoreMove=!0,b.setLatLng(b.getLatLng()),this._ignoreMove=!1,b.clusterShow&&b.clusterShow()}else o._recursively(u,h,f,function(_){_._recursivelyRemoveChildrenFromMap(u,f,r+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(o){return new L.MarkerClusterGroup(o)};
4var i=L.MarkerCluster=L.Marker.extend({options:L.Icon.prototype.options,initialize:function(o,r,h,u){L.Marker.prototype.initialize.call(this,h?h._cLatLng||h.getLatLng():new L.LatLng(0,0),{icon:this,pane:o.options.clusterPane}),this._group=o,this._zoom=r,this._markers=[],this._childClusters=[],this._childCount=0,this._iconNeedsUpdate=!0,this._boundsNeedUpdate=!0,this._bounds=new L.LatLngBounds,h&&this._addChild(h),u&&this._addChild(u)},getAllChildMarkers:function(o,r){o=o||[];for(var h=this._childClusters.length-1;h>=0;h--)this._childClusters[h].getAllChildMarkers(o,r);for(var u=this._markers.length-1;u>=0;u--)r&&this._markers[u].__dragStart||o.push(this._markers[u]);return o},getChildCount:function(){return this._childCount},zoomToBounds:function(o){for(var r=this._childClusters.slice(),h=this._group._map,u=h.getBoundsZoom(this._bounds),f=this._zoom+1,g=h.getZoom(),b;r.length>0&&u>f;){f++;var _=[];for(b=0;b<r.length;b++)_=_.concat(r[b]._childClusters);r=_}u>f?this._group._map.setView(this._latlng,f):u<=g?this._group._map.setVie
vendor: 2,520 bytes, line 4
4w(this._latlng,g+1):this._group._map.fitBounds(this._bounds,o)},getBounds:function(){var o=new L.LatLngBounds;return o.extend(this._bounds),o},_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(o,r){this._iconNeedsUpdate=!0,this._boundsNeedUpdate=!0,this._setClusterCenter(o),o instanceof L.MarkerCluster?(r||(this._childClusters.push(o),o.__parent=this),this._childCount+=o._childCount):(r||this._markers.push(o),this._childCount++),this.__parent&&this.__parent._addChild(o,!0)},_setClusterCenter:function(o){this._cLatLng||(this._cLatLng=o._cLatLng||o._latlng)},_resetBounds:function(){var o=this._bounds;o._southWest&&(o._southWest.lat=1/0,o._southWest.lng=1/0),o._northEast&&(o._northEast.lat=-1/0,o._northEast.lng=-1/0)},_recalculateBounds:function(){var o=this._markers,r=this._childClusters,h=0,u=0,f=this._childCount,g,b,_,x;if(f!==0){for(this._resetBounds(),g=0;g<o.length;g++)_=o[g]._latlng,this._bounds.extend(_),h+=_.lat,u+=_.lng;for(g=0;g<r.length;g++)b=r[g],b._boundsNeedUpdate&&b._recalculateBounds(),this._bounds.extend(b._bounds),_=b._wLatLng,x=b._childCount,h+=_.lat*x,u+=_.lng*x;this._latlng=this._wLatLng=new L.LatLng(h/f,u/f),this._boundsNeedUpdate=!1}},_addToMap:function(o){o&&(this._backupLatlng=this._latlng,this.setLatLng(o)),this._group._featureGroup.addLayer(this)},_recursivelyAnimateChildrenIn:function(o,r,h){this._recursively(o,this._group._map.getMinZoom(),h-1,function(u){var f=u._markers,g,b;for(g=f.length-1;g>=0;g--)b=f[g],b._icon&&(b._setPos(r),b.clusterHide())},function(u){var f=u._childClusters,g,b;for(g=f.length-1;g>=0;g--)b=f[g],b._icon&&(b._setPos(r),b.clusterHide())})},_recursivelyAnimateChildrenInAndAddSelfToMap:function(o,r,h,u){this._recursively(o,u,r,function(f){f._recursivelyAnimateChildrenIn(o,f._group._map.latLngToLayerPoint(f.getLatLng()).round(),h),f._isSingleParent()&&h-1===u?(f.clusterShow(),f._recursivelyRemoveChildrenFromMap(o,r,h)):f.clusterHide(),f._addToMap()})},_recursivelyBecomeVisible:function(o,r){this._recursively(o,this._group._map.getMinZoom(),r,null,function(h){h.clusterShow()})},_recursivelyAddChildrenToMap:function(o,r,h){this._recursively(h,this._group._map.getMinZoom()-1,r,function(u){if(r!==u._zoom)for(var f=u._markers.length-1;f>=0;f--){var g=u._markers[f];
4h.contains(g._latlng)&&(o&&(g._backupLatlng=g.getLatLng(),g.setLatLng(o),g.clusterHide&&g.clusterHide()),u._group._featureGroup.addLayer(g))}},function(u){u._addToMap(o)})},_recursivelyRestoreChildPositions:function(o){for(var r=this._markers.length-1;r>=0;r--){var h=this._markers[r];h._backupLatlng&&(h.setLatLng(h._backupLatlng),delete h._backupLatlng)}if(o-1===this._zoom)for(var u=this._childClusters.length-1;u>=0;u--)this._childClusters[u]._restorePosition();else for(var f=this._childClusters.length-1;f>=0;f--)this._childClusters[f]._recursivelyRestoreChildPositions(o)},_restorePosition:function(){this._backupLatlng&&(this.setLatLng(this._backupLatlng),delete this._backupLatlng)},_recursivelyRemoveChildrenFromMap:function(o,r,h,u){var f,g;this._recursively(o,r-1,h-1,function(b){for(g=b._markers.length-1;g>=0;g--)f=b._markers[g],(!u||!u.contains(f._latlng))&&(b._group._featureGroup.removeLayer(f),f.clusterShow&&f.clusterShow())},function(b){for(g=b._childClusters.length-1;g>=0;g--)f=b._childClusters[g],(!u||!u.contains(f._latlng))&&(b._group._featureGroup.removeLayer(f),f.clusterShow&&f.clusterShow())})},_recursively:function(o,r,h,u,f){var g=this._childClusters,b=this._zoom,_,x;if(r<=b&&(u&&u(this),f&&b===h&&f(this)),b<r||b<h)for(_=g.length-1;_>=0;_--)x=g[_],x._boundsNeedUpdate&&x._recalculateBounds(),o.intersects(x._bounds)&&x._recursively(o,r,h,u,f)},_isSingleParent:function(){return this._childClusters.length>0&&this._childClusters[0]._childCount===this._childCount}});L.Marker.include({clusterHide:function(){var o=this.options.opacity;return this.setOpacity(0),this.options.opacity=o,this},clusterShow:function(){return this.setOpacity(this.options.opacity)}}),L.DistanceGrid=function(o){this._cellSize=o,this._sqCellSize=o*o,this._grid={},this._objectPoint={}},L.DistanceGrid.prototype={addObject:function(o,r){var h=this._getCoord(r.x),u=this._getCoord(r.y),f=this._grid,g=f[u]=f[u]||{},b=g[h]=g[h]||[],_=L.Util.stamp(o);this._objectPoint[_]=r,b.push(o)},updateObject:function(o,r){this.removeObject(o),this.addObject(o,r)},removeObject:function(o,r){var h=this._getCoord(r.x),u=this._getCoord(r.y),f=this._grid,g=f[u]=f[u]||{},b=g[h]=g[h]||[],_,x;for(delete this._objectPoint[L.Util.stamp(o)],_=0,x=b.length;_<x;_++)if(b[_]===o)return b.splice(_,1),x===1&&delete g[h],!0},eachObject:function(o,r){var h,u,f,g,b,_,x,w=this._grid;for(h in w){b=w[h];for(u in b)for(_=b[u],f=0,g=_.length;f<g;f++)x=o.call(r,_[f]),x&&(f--,g--)}},getNearObject:function(o){var r=this._getCoord(o.x),h=this._getCoord(o.y),u,f,g,b,_,x,w,k,O=this._objectPoint,M=this._sqCellSize,Z=null;for(u=h-1;u<=h+1;u++)if(b=this._grid[u],b){for(f=r-1;f<=r+1;f++)if(_=b[f],_)for(g=0,x=_.length;g<x;g++)w=_[g],k=this._sqDist(O[L.Util.stamp(w)],o),(k<M||k<=M&&Z===null)&&(M=k,Z=w)}return Z},_getCoord:function(o){var r=Math.floor(o/this._cellSize);return isFinite(r)?r:o},_sqDist:function(o,r){var h=r.x-o.x,u=r.y-o.y;return h*h+u*u}},function(){L.QuickHull={getDistant:function(o,r){var h=r[1].lat-r[0].lat,u=r[0].lng-r[1].lng;return u*(o.lat-r[0].lat)+h*(o.lng-r[0].lng)},findMostDistantPointFromBaseLine:function(o,r){var h=0,u=null,f=[],g,b,_;for(g=r.length-1;g>=0;g--){if(b=r[g],_=this.getDistant(b,o),_>0)f.push(b);else continue;_>h&&(h=_,u=b)}return{maxPoint:u,newPoints:f}},buildConvexHull:function(o,r){var h=[],u=this.findMostDistantPointFromBaseLine(o,r);return u.maxPoint?(h=h.concat(this.buildConvexHull([o[0],u.maxPoint],u.newPoints)),h=h.concat(this.buildConvexHull([u.maxPoint,o[1]],u.newPoints)),h):[o[0]]},getConvexHull:function(o){var r=!1,h=!1,u=!1,f=!1,g=null,b=null,_=null,x=null,w=null,k=null,O;for(O=o.length-1;O>=0;O--){var M=o[O];(r===!1||M.lat>r)&&(g=M,r=M.lat),(h===!1||M.lat<h)&&(b=M,h=M.lat),(u===!1||M.lng>u)&&(_=M,u=M.lng),(f===!1||M.lng<f)&&(x=M,f=M.lng)}h!==r?(k=b,w=g):(k=x,w=_);var Z=[].concat(this.buildConvexHull([k,w],o),this.buildConvexHull([w,k],o));return Z}}}(),L.MarkerCluster.include({getConvexHull:function(){var o=this.getAllChildMarkers(),r=[],h,u;for(u=o.length-1;u>=0;u--)h=o[u].getLatLng(),r.push(h);return L.QuickHull.getConvexHull(r)}}),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 o=this.getAllChildMarkers(null,!0),r=this._group,h=r._map,u=h.latLngToLayerPoint(this._latlng),f;this._group._unspiderfy(),this._group._spiderfied=this,this._group.options.spiderfyShapePositions?f
vendor: 3,797 bytes, line 4
4=this._group.options.spiderfyShapePositions(o.length,u):o.length>=this._circleSpiralSwitchover?f=this._generatePointsSpiral(o.length,u):(u.y+=10,f=this._generatePointsCircle(o.length,u)),this._animationSpiderfy(o,f)}},unspiderfy:function(o){this._group._inZoomAnimation||(this._animationUnspiderfy(o),this._group._spiderfied=null)},_generatePointsCircle:function(o,r){var h=this._group.options.spiderfyDistanceMultiplier*this._circleFootSeparation*(2+o),u=h/this._2PI,f=this._2PI/o,g=[],b,_;for(u=Math.max(u,35),g.length=o,b=0;b<o;b++)_=this._circleStartAngle+b*f,g[b]=new L.Point(r.x+u*Math.cos(_),r.y+u*Math.sin(_))._round();return g},_generatePointsSpiral:function(o,r){var h=this._group.options.spiderfyDistanceMultiplier,u=h*this._spiralLengthStart,f=h*this._spiralFootSeparation,g=h*this._spiralLengthFactor*this._2PI,b=0,_=[],x;for(_.length=o,x=o;x>=0;x--)x<o&&(_[x]=new L.Point(r.x+u*Math.cos(b),r.y+u*Math.sin(b))._round()),b+=f/u+x*5e-4,u+=g/b;return _},_noanimationUnspiderfy:function(){var o=this._group,r=o._map,h=o._featureGroup,u=this.getAllChildMarkers(null,!0),f,g;for(o._ignoreMove=!0,this.setOpacity(1),g=u.length-1;g>=0;g--)f=u[g],h.removeLayer(f),f._preSpiderfyLatlng&&(f.setLatLng(f._preSpiderfyLatlng),delete f._preSpiderfyLatlng),f.setZIndexOffset&&f.setZIndexOffset(0),f._spiderLeg&&(r.removeLayer(f._spiderLeg),delete f._spiderLeg);o.fire("unspiderfied",{cluster:this,markers:u}),o._ignoreMove=!1,o._spiderfied=null}}),L.MarkerClusterNonAnimated=L.MarkerCluster.extend({_animationSpiderfy:function(o,r){var h=this._group,u=h._map,f=h._featureGroup,g=this._group.options.spiderLegPolylineOptions,b,_,x,w;for(h._ignoreMove=!0,b=0;b<o.length;b++)w=u.layerPointToLatLng(r[b]),_=o[b],x=new L.Polyline([this._latlng,w],g),u.addLayer(x),_._spiderLeg=x,_._preSpiderfyLatlng=_._latlng,_.setLatLng(w),_.setZIndexOffset&&_.setZIndexOffset(1e6),f.addLayer(_);this.setOpacity(.3),h._ignoreMove=!1,h.fire("spiderfied",{cluster:this,markers:o})},_animationUnspiderfy:function(){this._noanimationUnspiderfy()}}),L.MarkerCluster.include({_animationSpiderfy:function(o,r){var h=this,u=this._group,f=u._map,g=u._featureGroup,b=this._latlng,_=f.latLngToLayerPoint(b),x=L.Path.SVG,w=L.extend({},this._group.options.spiderLegPolylineOptions),k=w.opacity,O,M,Z,R,fe,ge;for(k===void 0&&(k=L.MarkerClusterGroup.prototype.options.spiderLegPolylineOptions.opacity),x?(w.opacity=0,w.className=(w.className||"")+" leaflet-cluster-spider-leg"):w.opacity=k,u._ignoreMove=!0,O=0;O<o.length;O++)M=o[O],ge=f.layerPointToLatLng(r[O]),Z=new L.Polyline([b,ge],w),f.addLayer(Z),M._spiderLeg=Z,x&&(R=Z._path,fe=R.getTotalLength()+.1,R.style.strokeDasharray=fe,R.style.strokeDashoffset=fe),M.setZIndexOffset&&M.setZIndexOffset(1e6),M.clusterHide&&M.clusterHide(),g.addLayer(M),M._setPos&&M._setPos(_);for(u._forceLayout(),u._animationStart(),O=o.length-1;O>=0;O--)ge=f.layerPointToLatLng(r[O]),M=o[O],M._preSpiderfyLatlng=M._latlng,M.setLatLng(ge),M.clusterShow&&M.clusterShow(),x&&(Z=M._spiderLeg,R=Z._path,R.style.strokeDashoffset=0,Z.setStyle({opacity:k}));this.setOpacity(.3),u._ignoreMove=!1,setTimeout(function(){u._animationEnd(),u.fire("spiderfied",{cluster:h,markers:o})},200)},_animationUnspiderfy:function(o){var r=this,h=this._group,u=h._map,f=h._featureGroup,g=o?u._latLngToNewLayerPoint(this._latlng,o.zoom,o.center):u.latLngToLayerPoint(this._latlng),b=this.getAllChildMarkers(null,!0),_=L.Path.SVG,x,w,k,O,M,Z;for(h._ignoreMove=!0,h._animationStart(),this.setOpacity(1),w=b.length-1;w>=0;w--)x=b[w],x._preSpiderfyLatlng&&(x.closePopup(),x.setLatLng(x._preSpiderfyLatlng),delete x._preSpiderfyLatlng,Z=!0,x._setPos&&(x._setPos(g),Z=!1),x.clusterHide&&(x.clusterHide(),Z=!1),Z&&f.removeLayer(x),_&&(k=x._spiderLeg,O=k._path,M=O.getTotalLength()+.1,O.style.strokeDashoffset=M,k.setStyle({opacity:0}
4)));h._ignoreMove=!1,setTimeout(function(){var R=0;for(w=b.length-1;w>=0;w--)x=b[w],x._spiderLeg&&R++;for(w=b.length-1;w>=0;w--)x=b[w],x._spiderLeg&&(x.clusterShow&&x.clusterShow(),x.setZIndexOffset&&x.setZIndexOffset(0),R>1&&f.removeLayer(x),u.removeLayer(x._spiderLeg),delete x._spiderLeg);h._animationEnd(),h.fire("unspiderfied",{cluster:r,markers:b})},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(o){L.DomUtil.hasClass(this._map._mapPane,"leaflet-touching")||(this._map.off("zoomanim",this._unspiderfyZoomAnim,this),this._unspiderfy(o))},_unspiderfyWrapper:function(){this._unspiderfy()},_unspiderfy:function(o){this._spiderfied&&this._spiderfied.unspiderfy(o)},_noanimationUnspiderfy:function(){this._spiderfied&&this._spiderfied._noanimationUnspiderfy()},_unspiderfyLayer:function(o){o._spiderLeg&&(this._featureGroup.removeLayer(o),o.clusterShow&&o.clusterShow(),o.setZIndexOffset&&o.setZIndexOffset(0),this._map.removeLayer(o._spiderLeg),delete o._spiderLeg)}}),L.MarkerClusterGroup.include({refreshClusters:function(o){return o?o instanceof L.MarkerClusterGroup?o=o._topClusterLevel.getAllChildMarkers():o instanceof L.LayerGroup?o=o._layers:o instanceof L.MarkerCluster?o=o.getAllChildMarkers():o instanceof L.Marker&&(o=[o]):o=this._topClusterLevel.getAllChildMarkers(),this._flagParentsIconsNeedUpdate(o),this._refreshClustersIcons(),this.options.singleMarkerMode&&this._refreshSingleMarkerModeMarkers(o),this},_flagParentsIconsNeedUpdate:function(o){var r,h;for(r in o)for(h=o[r].__parent;h;)h._iconNeedsUpdate=!0,h=h.__parent},_refreshSingleMarkerModeMarkers:function(o){var r,h;for(r in o)h=o[r],this.hasLayer(h)&&h.setIcon(this._overrideMarkerIcon(h))}}),L.Marker.include({refreshIconOptions:function(o,r){var h=this.options.icon;return L.setOptions(h,o),this.setIcon(h),r&&this.__parent&&this.__parent._group.refreshClusters(this),this}}),l.MarkerClusterGroup=c,l.MarkerCluster=i,Object.defineProperty(l,"__esModule",{value:!0})})});Fi(function(n,s){/*! 5Copyright (c) 2016 Dominik Moritz 6 7This file is part of the leaflet locate control. It is licensed under the MIT license. 8You can find the project at: https://github.com/domoritz/leaflet-locatecontrol 9*/(function(l,c){typeof c<"u"&&c.L?n.exports=l(L):n.exports=l(y),typeof c<"u"&&c.L&&(c.L.Control.Locate=l(L))})(function(l){const c=(f,g,b)=>{b=b.split(" "),b.forEach(function(_){l.DomUtil[f].call(this,g,_)})},i=(f,g)=>c("addClass",f,g),o=(f,g)=>c("removeClass",f,g),r=l.Marker.extend({initialize(f,g){l.Util.setOptions(this,g),this._latlng=f,this.createIcon()},createIcon(){const f=this.options;let g="";f.color!==void 0&&(g+=`stroke:${f.color};`),f.weight!==void 0&&(g+=`stroke-width:${f.weight};`),f.fillColor!==void 0&&(g+=`fill:${f.fillColor};`),f.fillOpacity!==void 0&&(g+=`fill-opacity:${f.fillOpacity};`),f.opacity!==void 0&&(g+=`opacity:${f.opacity};`);const b=this._getIconSVG(f,g);this._locationIcon=l.divIcon({className:b.className,html:b.svg,iconSize:[b.w,b.h]}),this.setIcon(this._locationIcon)},_getIconSVG(f,g){const b=f.radius,_=f.weight,x=b+_,w=x*2;return{className:"leaflet-control-locate-location",svg:`<svg xmlns="http://www.w3.org/2000/svg" width="${w}" height="${w}" version="1.1" viewBox="-${x} -${x} ${w} ${w}"><circle r="`+b+'" style="'+g+'" /></svg>',w,h:w}},setStyle(f){l.Util.setOptions(this,f),this.createIcon()}}),h=r.extend({initialize(f,g,b){l.Util.setOptions(this,b),this._latlng=f,this._heading=g,this.createIcon()},setHeading(f){this._heading=f},_getIconSVG(f,g){const b=f.radius,_=f.width+f.weight,x=(b+f.depth+f.weight)*2,w=`M0,0 l${f.width/2},${f.depth} l-${_},0 z`,k=`transform: rotate(${this._heading}deg)`;return{className:"leaflet-control-locate-heading",svg:`<svg xmlns="http://www.w3.org/2000/svg" width="${_}" height="${x}" version="1.1" viewBox="-${_/2} 0 ${_} ${x}" style="${k}"><path d="`+w+'" style="'+g+'" /></svg>',w:_,h:x}}}),u=l.Control.extend({options:{position:"topleft",layer:void 0,setVie
9w:"untilPanOrZoom",keepCurrentZoomLevel:!1,initialZoomLevel:!1,getLocationBounds(f){return f.bounds},flyTo:!1,clickBehavior:{inView:"stop",outOfView:"setView",inViewNotFollowing:"inView"},returnToPrevBounds:!1,cacheLocation:!0,drawCircle:!0,drawMarker:!0,showCompass:!0,markerClass:r,compassClass:h,circleStyle:{className:"leaflet-control-locate-circle",color:"#136AEC",fillColor:"#136AEC",fillOpacity:.15,weight:0},markerStyle:{className:"leaflet-control-locate-marker",color:"#fff",fillColor:"#2A93EE",fillOpacity:1,weight:3,opacity:1,radius:9},compassStyle:{fillColor:"#2A93EE",fillOpacity:1,weight:0,color:"#fff",opacity:1,radius:9,width:9,depth:6},followCircleStyle:{},followMarkerStyle:{},followCompassStyle:{},icon:"leaflet-control-locate-location-arrow",iconLoading:"leaflet-control-locate-spinner",iconElementTag:"span",textElementTag:"small",circlePadding:[0,0],metric:!0,createButtonCallback(f,g){const b=l.DomUtil.create("a","leaflet-bar-part leaflet-bar-part-single",f);b.title=g.strings.title,b.href="#",b.setAttribute("role","button");const _=l.DomUtil.create(g.iconElementTag,g.icon,b);if(g.strings.text!==void 0){const x=l.DomUtil.create(g.textElementTag,"leaflet-locate-text",b);x.textContent=g.strings.text,b.classList.add("leaflet-locate-text-active"),b.parentNode.style.display="flex",g.icon.length>0&&_.classList.add("leaflet-locate-icon")}return{link:b,icon:_}},onLocationError(f,g){alert(f.message)},onLocationOutsideMapBounds(f){f.stop(),alert(f.options.strings.outsideMapBoundsMsg)},showPopup:!0,strings:{title:"Show me where I am",metersUnit:"meters",feetUnit:"feet",popup:"You are within {distance} {unit} from this point",outsideMapBoundsMsg:"You seem located outside the boundaries of the map"},locateOptions:{maxZoom:1/0,watch:!0,setView:!1}},initialize(f){for(const g in f)typeof this.options[g]=="object"?l.extend(this.options[g],f[g]):this.options[g]=f[g];this.options.followMarkerStyle=l.extend({},this.options.markerStyle,this.options.followMarkerStyle),this.options.followCircleStyle=l.extend({},this.options.circleStyle,this.options.followCircleStyle),this.options.followCompassStyle=l.extend({},this.options.compassStyle,this.options.followCompassStyle)},onAdd(f){const g=l.DomUtil.create("div","leaflet-control-locate leaflet-bar leaflet-control");this._container=g,this._map=f,this._layer=this.options.layer||new l.LayerGroup,this._layer.addTo(f),this._event=void 0,this._compassHeading=null,this._prevBounds=null;const b=this.options.createButtonCallback(g,this.options);return this._link=b.link,this._icon=b.icon,l.DomEvent.on(this._link,"click",function(_){l.DomEvent.stopPropagation(_),l.DomEvent.preventDefault(_),this._onClick()},this).on(this._link,"dblclick",l.DomEvent.stopPropagation),this._resetVariables(),this._map.on("unload",this._unload,this),g},_onClick(){this._justClicked=!0;const f=this._isFollowing();if(this._userPanned=!1,this._userZoomed=!1,this._active&&!this._event)this.stop();else if(this._active){const g=this.options.clickBehavior;let b=g.outOfView;switch(this._map.getBounds().contains(this._event.latlng)&&(b=f?g.inView:g.inViewNotFollowing),g[b]&&(b=g[b]),b){case"setView":this.setView();break;case"stop":this.stop(),this.options.returnToPrevBounds&&(this.options.flyTo?this._map.flyToBounds:this._map.fitBounds).bind(this._map)(this._prevBounds);break}}else this.options.returnToPrevBounds&&(this._prevBounds=this._map.getBounds()),this.start();this._updateContainerStyle()},start(){this._activate(),this._event&&(this._drawMarker(this._map),this.options.setView&&this.setView()),this._updateContainerStyle()},stop(){this._deactivate(),this._cleanClasses(),this._resetVariables(),this._removeMarker()},stopFollowing(){this._userPanned=!0,this._updateContainerStyle(),this._drawMarker()},_activate(){if(!(this._active||!this._map)&&(this._map.locate(this.options.locateOptions),this._map.fire("locateactivate",this),this._active=!0,this._map.on("locationfound",this._onLocationFound,this),this._map.on("locationerror",this._onLocationError,this),this._map.on("dragstart",this._onDrag,this),this._map.on("zoomstart",this._onZoom,this),this._map.on("zoomend",this._onZoomEnd,this),this.options.showCompass)){const f="ondeviceorientationabsolute"in window;if(f||"ondeviceorientation"in window){const g=this,b=function(){l.DomEvent.on(window,f?"deviceorientationabsolute":"deviceorientation",g._onDeviceOrientation,g)};DeviceOrientationEvent&&typeof DeviceOrientationEvent.requestPermission=="function"?DeviceOrientationEvent.requestPermission().then(function(_){_==="granted"&&b()}):b()}}},_deactivate(){!this._active||!this._map||(this._map.stopLocate(),this._map.fire("locatedeactivate",this),this._active=!1,this.options.cacheLocation||(this._event=void 0),this._map.off("locationfound",this._onLocationFound,this),this._map.off("locationerror",this._onLocationError,this),this._map.off("dragstart",this._onDrag,this),this._map.off("zoomstart",this._onZoom,this),this._map.off("zoomend",this._onZoomEnd,this),this.options.showCompass&&(this._compassHeading=null,"ondeviceorientationabsolute"in window?l.DomEvent.off(window,"deviceorientationabsolute",this._onDeviceOrientation,this):"ondeviceorientation"in window&&l.DomEvent.off(window,"deviceorientation",this._onDeviceOrientation,this)))}
9,setView(){if(this._drawMarker(),this._isOutsideMapBounds())this._event=void 0,this.options.onLocationOutsideMapBounds(this);else if(this._justClicked&&this.options.initialZoomLevel!==!1){var f=this.options.flyTo?this._map.flyTo:this._map.setView;f.bind(this._map)([this._event.latitude,this._event.longitude],this.options.initialZoomLevel)}else if(this.options.keepCurrentZoomLevel){var f=this.options.flyTo?this._map.flyTo:this._map.panTo;f.bind(this._map)([this._event.latitude,this._event.longitude])}else{var f=this.options.flyTo?this._map.flyToBounds:this._map.fitBounds;this._ignoreEvent=!0,f.bind(this._map)(this.options.getLocationBounds(this._event),{padding:this.options.circlePadding,maxZoom:this.options.initialZoomLevel||this.options.locateOptions.maxZoom}),l.Util.requestAnimFrame(function(){this._ignoreEvent=!1},this)}},_drawCompass(){if(!this._event)return;const f=this._event.latlng;if(this.options.showCompass&&f&&this._compassHeading!==null){const g=this._isFollowing()?this.options.followCompassStyle:this.options.compassStyle;this._compass?(this._compass.setLatLng(f),this._compass.setHeading(this._compassHeading),this._compass.setStyle&&this._compass.setStyle(g)):this._compass=new this.options.compassClass(f,this._compassHeading,g).addTo(this._layer)}this._compass&&(!this.options.showCompass||this._compassHeading===null)&&(this._compass.removeFrom(this._layer),this._compass=null)},_drawMarker(){this._event.accuracy===void 0&&(this._event.accuracy=0);const f=this._event.accuracy,g=this._event.latlng;if(this.options.drawCircle){const k=this._isFollowing()?this.options.followCircleStyle:this.options.circleStyle;this._circle?this._circle.setLatLng(g).setRadius(f).setStyle(k):this._circle=l.circle(g,f,k).addTo(this._layer)}let b,_;if(this.options.metric?(b=f.toFixed(0),_=this.options.strings.metersUnit):(b=(f*3.2808399).toFixed(0),_=this.options.strings.feetUnit),this.options.drawMarker){const k=this._isFollowing()?this.options.followMarkerStyle:this.options.markerStyle;this._marker?(this._marker.setLatLng(g),this._marker.setStyle&&this._marker.setStyle(k)):this._marker=new this.options.markerClass(g,k).addTo(this._layer)}this._drawCompass();const x=this.options.strings.popup;function w(){return typeof x=="string"?l.Util.template(x,{distance:b,unit:_}):typeof x=="function"?x({distance:b,unit:_}):x}this.options.showPopup&&x&&this._marker&&this._marker.bindPopup(w())._popup.setLatLng(g),this.options.showPopup&&x&&this._compass&&this._compass.bindPopup(w())._popup.setLatLng(g)},_removeMarker(){this._layer.clearLayers(),this._marker=void 0,this._circle=void 0},_unload(){this.stop(),this._map.off("unload",this._unload,this)},_setCompassHeading(f){!isNaN(parseFloat(f))&&isFinite(f)?(f=Math.round(f),this._compassHeading=f,l.Util.requestAnimFrame(this._drawCompass,this)):this._compassHeading=null},_onCompassNeedsCalibration(){this._setCompassHeading()},_onDeviceOrientation(f){this._active&&(f.webkitCompassHeading?this._setCompassHeading(f.webkitCompassHeading):f.absolute&&f.alpha&&this._setCompassHeading(360-f.alpha))},_onLocationError(f){f.code==3&&this.options.locateOptions.watch||(this.stop(),this.options.onLocationError(f,this))},_onLocationFound(f){if(!(this._event&&this._event.latlng.lat===f.latlng.lat&&this._event.latlng.lng===f.latlng.lng&&this._event.accuracy===f.accuracy)&&this._active){switch(this._event=f,this._drawMarker(),this._updateContainerStyle(),this.options.setView){case"once":this._justClicked&&this.setView();break;case"untilPan":this._userPanned||this.setView();break;case"untilPanOrZoom":!this._userPanned&&!this._userZoomed&&this.setView();break;case"always":this.setView();break}this._justClicked=!1}},_onDrag(){this._event&&!this._ignoreEvent&&(this._userPanned=!0,this._updateContainerStyle(),this._drawMarker())},_onZoom(){this._event&&!this._ignoreEvent&&(this._userZoomed=!0,this._updateContainerStyle(),this._drawMarker())},_onZoomEnd(){this._event&&this._drawCompass(),this._event&&!this._ignoreEvent&&this._marker&&!this._map.getBounds().pad(-.3).contains(this._marker.getLatLng())&&(this._userPanned=!0,this._updateContainerStyle(),this._drawMarker())},_isFollowing(){if(!this._active)return!1;if(this.options.setView==="always")return!0;
9if(this.options.setView==="untilPan")return!this._userPanned;if(this.options.setView==="untilPanOrZoom")return!this._userPanned&&!this._userZoomed},_isOutsideMapBounds(){return this._event===void 0?!1:this._map.options.maxBounds&&!this._map.options.maxBounds.contains(this._event.latlng)},_updateContainerStyle(){this._container&&(this._active&&!this._event?this._setClasses("requesting"):this._isFollowing()?this._setClasses("following"):this._active?this._setClasses("active"):this._cleanClasses())},_setClasses(f){f=="requesting"?(o(this._container,"active following"),i(this._container,"requesting"),o(this._icon,this.options.icon),i(this._icon,this.options.iconLoading)):f=="active"?(o(this._container,"requesting following"),i(this._container,"active"),o(this._icon,this.options.iconLoading),i(this._icon,this.options.icon)):f=="following"&&(o(this._container,"requesting"),i(this._container,"active following"),o(this._icon,this.options.iconLoading),i(this._icon,this.options.icon))},_cleanClasses(){l.DomUtil.removeClass(this._container,"requesting"),l.DomUtil.removeClass(this._container,"active"),l.DomUtil.removeClass(this._container,"following"),o(this._icon,this.options.iconLoading),i(this._icon,this.options.icon)},_resetVariables(){this._active=!1,this._justClicked=!1,this._userPanned=!1,this._userZoomed=!1}});return l.control.locate=f=>new l.Control.Locate(f),u},window)});(function(n,s,l){L.AwesomeMarkers={},L.AwesomeMarkers.version="2.0.1",L.AwesomeMarkers.Icon=L.Icon.extend({options:{iconSize:[35,45],iconAnchor:[17,42],popupAnchor:[1,-32],shadowAnchor:[10,12],shadowSize:[36,16],className:"awesome-marker",prefix:"glyphicon",spinClass:"fa-spin",extraClasses:"",icon:"home",markerColor:"blue",iconColor:"white"},initialize:function(c){c=L.Util.setOptions(this,c)},createIcon:function(){var c=s.createElement("div"),i=this.options;return i.icon&&(c.innerHTML=this._createInner()),i.bgPos&&(c.style.backgroundPosition=-i.bgPos.x+"px "+-i.bgPos.y+"px"),this._setIconStyles(c,"icon-"+i.markerColor),c},_createInner:function(){var c,i="",o="",r="",h=this.options;return h.icon.slice(0,h.prefix.length+1)===h.prefix+"-"?c=h.icon:c=h.prefix+"-"+h.icon,h.spin&&typeof h.spinClass=="string"&&(i=h.spinClass),h.iconColor&&(h.iconColor==="white"||h.iconColor==="black"?o="icon-"+h.iconColor:r="style='color: "+h.iconColor+"' "),"<i "+r+"class='"+h.extraClasses+" "+h.prefix+" "+c+" "+i+" "+o+"'></i>"},_setIconStyles:function(c,i){var o=this.options,r=L.point(o[i==="shadow"?"shadowSize":"iconSize"]),h;i==="shadow"?h=L.point(o.shadowAnchor||o.iconAnchor):h=L.point(o.iconAnchor),!h&&r&&(h=r.divideBy(2,!0)),c.className="awesome-marker-"+i+" "+o.className,h&&(c.style.marginLeft=-h.x+"px",c.style.marginTop=-h.y+"px"),r&&(c.style.width=r.x+"px",c.style.height=r.y+"px")},createShadow:function(){var c=s.createElement("div");return this._setIconStyles(c,"shadow"),c}}),L.AwesomeMarkers.icon=function(c){return new L.AwesomeMarkers.Icon(c)}})(Ui,document);var Ql=0,ec=/[&<>"'`]/g,tc=/[&<>"'`]/,oc={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`"};function ic(n){return oc[n]}function nc(n){return n==null?"":n?(n=""+n,tc.test(n)?n.replace(ec,ic):n):n+""}function yr(n,s,l,c,i){var o="_l_geocoder_"+Ql++;s[i||"callback"]=o,window[o]=y.Util.bind(l,c);var r=document.createElement("script");r.type="text/javascript",r.src=n+Yr(s),r.id=o,document.getElementsByTagName("head")[0].appendChild(r)}function de(n,s,l){var c=new XMLHttpRequest;c.onreadystatechange=function(){if(c.readyState===4){var i;if(c.status!==200&&c.status!==304)i="";else if(typeof c.response=="string")try{i=JSON.parse(c.response)}catch{i=c.response}else i=c.response;l(i)}},c.open("GET",n+Yr(s),!0),c.responseType="json",c.setRequestHeader("Accept","application/json"),c.send(null)}function rc(n,s){return n.replace(/\{ *([\w_]+) *\}/g,function(l,c){var i=s[c];return i===void 0?i="":typeof i=="function"&&(i=i(s)),nc(i)})}function Yr(n,s,l){var c=[];for(var i in n){var o=encodeURIComponent(l?i.toUpperCase():i),r=n[i];if(!y.Util.isArray(r))c.push(o+"="+encodeURIComponent(r));else for(var h=0;h<r.length;h++)c.push(o+"="+encodeURIComponent(r[h]))}return(!s||s.indexOf("?")===-1?"?":"&")+c.join("&")}var Xr=y.Class.extend({options:{service_url:"https://geocode.arcgis.com/arcgis/rest/services/World/GeocodeServer"},initialize:function(n,s){y.setOptions(this,s),this._accessToken=n},geocode:function(n,s,l){var c={SingleLine:n,outFields:"Addr_Type",forStorage:!1,maxLocations:10,f:"json"};this._key&&this._key.length&&(c.token=this._key),de(this.options.service_url+"/findAddressCandidates",y.extend(c,this.options.geocodingQueryParams),function(i){var o=[],r,h,u;if(i.candidates&&i.candidates.length)for(var f=0;f<=i.candidates.length-1;f++)r=i.candidates[f],h=y.latLng(r.location.y,r.location.x),u=y.latLngBounds(y.latLng(r.extent.ymax,r.extent.xmax),y.latLng(r.extent.ymin,r.extent.xmin)),o[f]={name:r.address,bbox:u,center:h};s.call(l,o)})},suggest:function(n,s,l){return this.geocode(n,s,l)},reverse:function(n,s,l,c){var i={location:encodeURIComponent(n.lng)+","+encodeURIComponent(n.lat),distance:100,f:"json"};de(this.options.service_url+"/reverseGeocode",i,function(o){var r=[],h;o&&!o.error&&(h=y.latLng(o.location.y,o.location.x),r.push({name:o.address.Match_addr,center:h,bounds:y.latLngBounds(h,h)})),l.call(c,r)})}});function ac(n,s){return new Xr(n,s)}var Kr=y.Class.extend({initialize:function(n){this.key=n},geocode:function(n,s,l){yr("https://dev.virtualearth.net/REST/v1/Locations",{query:n,key:this.key},function(c){var i=[];if(c.resourceSets.length>0)for(var o=c.resourceSets[0].resources.length-1;o>=0;o--){var r=c.resourceSets[0].resources[o],h=r.bbox;i[o]={name:r.name,bbox:y.latLngBounds([h[0],h[1]],[h[2],h[3]]),center:y.latLng(r.point.coordinates)}}s.call(l,i)},this,"jsonp")},reverse:function(n,s,l,c){yr("//dev.virtualearth.net/REST/v1/Locations/"+n.lat+","+n.lng,{key:this.key},function(i){for(var o=[],r=i.resourceSets[0].resources.length-1;r>=0;r--){var h=i.resourceSets[0].resources[r],u=h.bbox;o[r]={name:h.name,bbox:y.latLngBounds([u[0],u[1]],[u[2],u[3]]),center:y.latLng(h.point.coordinates)}}l.call(c,o)},this,"jsonp")}});function sc(n){return new Kr(n)}var $r=y.Class.extend({options:{serviceUrl:"https://maps.googleapis.com/ma
9ps/api/geocode/json",geocodingQueryParams:{},reverseQueryParams:{}},initialize:function(n,s){this._key=n,y.setOptions(this,s),this.options.serviceUrl=this.options.service_url||this.options.serviceUrl},geocode:function(n,s,l){var c={address:n};this._key&&this._key.length&&(c.key=this._key),c=y.Util.extend(c,this.options.geocodingQueryParams),de(this.options.serviceUrl,c,function(i){var o=[],r,h,u;if(i.results&&i.results.length)for(var f=0;f<=i.results.length-1;f++)r=i.results[f],h=y.latLng(r.geometry.location),u=y.latLngBounds(y.latLng(r.geometry.viewport.northeast),y.latLng(r.geometry.viewport.southwest)),o[f]={name:r.formatted_address,bbox:u,center:h,properties:r.address_components};s.call(l,o)})},reverse:function(n,s,l,c){var i={latlng:encodeURIComponent(n.lat)+","+encodeURIComponent(n.lng)};i=y.Util.extend(i,this.options.reverseQueryParams),this._key&&this._key.length&&(i.key=this._key),de(this.options.serviceUrl,i,function(o){var r=[],h,u,f;if(o.results&&o.results.length)for(var g=0;g<=o.results.length-1;g++)h=o.results[g],u=y.latLng(h.geometry.location),f=y.latLngBounds(y.latLng(h.geometry.viewport.northeast),y.latLng(h.geometry.viewport.southwest)),r[g]={name:h.formatted_address,bbox:f,center:u,properties:h.address_components};l.call(c,r)})}});function lc(n,s){return new $r(n,s)}var Jr=y.Class.extend({options:{geocodeUrl:"http://geocoder.api.here.com/6.2/geocode.json",reverseGeocodeUrl:"http://reverse.geocoder.api.here.com/6.2/reversegeocode.json",app_id:"<insert your app_id here>",app_code:"<insert your app_code here>",geocodingQueryParams:{},reverseQueryParams:{}},initialize:function(n){y.setOptions(this,n)},geocode:function(n,s,l){var c={searchtext:n,gen:9,app_id:this.options.app_id,app_code:this.options.app_code,jsonattributes:1};c=y.Util.extend(c,this.options.geocodingQueryParams),this.getJSON(this.options.geocodeUrl,c,s,l)},reverse:function(n,s,l,c){var i={prox:encodeURIComponent(n.lat)+","+encodeURIComponent(n.lng),mode:"retrieveAddresses",app_id:this.options.app_id,app_code:this.options.app_code,gen:9,jsonattributes:1};i=y.Util.extend(i,this.options.reverseQueryParams),this.getJSON(this.options.reverseGeocodeUrl,i,l,c)},getJSON:function(n,s,l,c){de(n,s,function(i){var o=[],r,h,u;if(i.response.view&&i.response.view.length)for(var f=0;f<=i.response.view[0].result.length-1;f++)r=i.response.view[0].result[f].location,h=y.latLng(r.displayPosition.latitude,r.displayPosition.longitude),u=y.latLngBounds(y.latLng(r.mapView.topLeft.latitude,r.mapView.topLeft.longitude),y.latLng(r.mapView.bottomRight.latitude,r.mapView.bottomRight.longitude)),o[f]={name:r.address.label,bbox:u,center:h};l.call(c,o)})}});function cc(n){return new Jr(n)}var Qr=y.Class.extend({options:{next:void 0,sizeInMeters:1e4},initialize:function(n){y.Util.setOptions(this,n)},geocode:function(n,s,l){var c,i;if((c=n.match(/^([NS])\s*(\d{1,3}(?:\.\d*)?)\W*([EW])\s*(\d{1,3}(?:\.\d*)?)$/))?i=y.latLng((/N/i.test(c[1])?1:-1)*parseFloat(c[2]),(/E/i.test(c[3])?1:-1)*parseFloat(c[4])):(c=n.match(/^(\d{1,3}(?:\.\d*)?)\s*([NS])\W*(\d{1,3}(?:\.\d*)?)\s*([EW])$/))?i=y.latLng((/N/i.test(c[2])?1:-1)*parseFloat(c[1]),(/E/i.test(c[4])?1:-1)*parseFloat(c[3])):(c=n.match(/^([NS])\s*(\d{1,3})°?\s*(\d{1,3}(?:\.\d*)?)?['â²]?\W*([EW])\s*(\d{1,3})°?\s*(\d{1,3}(?:\.\d*)?)?['â²]?$/))?i=y.latLng((/N/i.test(c[1])?1:-1)*(parseFloat(c[2])+parseFloat(c[3]/60)),(/E/i.test(c[4])?1:-1)*(parseFloat(c[5])+parseFloat(c[6]/60))):(c=n.match(/^(\d{1,3})°?\s*(\d{1,3}(?:\.\d*)?)?['â²]?\s*([NS])\W*(\d{1,3})°?\s*(\d{1,3}(?:\.\d*)?)?['â²]?\s*([EW])$/))?i=y.latLng((/N/i.test(c[3])?1:-1)*(parseFloat(c[1])+parseFloat(c[2]/60)),(/E/i.test(c[6])?1:-1)*(parseFloat(c[4])+parseFloat(c[5]/60))):(c=n.match(/^([NS])\s*(\d{1,3})°?\s*(\d{1,2})['â²]?\s*(\d{1,3}(?:\.\d*)?)?["â³]?\W*([EW])\s*(\d{1,3})°?\s*(\d{1,2})['â²]?\s*(\d{1,3}(?:\.\d*)?)?["â³]?$/))?i=y.latLng((/N/i.test(c[1])?1:-1)*(parseFloat(c[2])+parseFloat(c[3]/60+parseFloat(c[4]/3600))),(/E/i.test(c[5])?1:-1)*(parseFloat(c[6])+parseFloat(c[7]/60)+parseFloat(c[8]/3600))):(c=n.match(/^(\d{1,3})°?\s*(\d{1,2})['â²]?\s*(\d{1,3}(?:\.\d*)?)?["â³]\s*([NS])\W*(\d{1,3})°?\s*(\d{1,2})['â²]?\s*(\d{1,3}(?:\.\d*)?)?["â³]?\s*([EW])$/))?i=y.latLng((/N/i.test(c[4])?1:-1)*(
9parseFloat(c[1])+parseFloat(c[2]/60+parseFloat(c[3]/3600))),(/E/i.test(c[8])?1:-1)*(parseFloat(c[5])+parseFloat(c[6]/60)+parseFloat(c[7]/3600))):(c=n.match(/^\s*([+-]?\d+(?:\.\d*)?)\s*[\s,]\s*([+-]?\d+(?:\.\d*)?)\s*$/))&&(i=y.latLng(parseFloat(c[1]),parseFloat(c[2]))),i){var o=[{name:n,center:i,bbox:i.toBounds(this.options.sizeInMeters)}];s.call(l,o)}else this.options.next&&this.options.next.geocode(n,s,l)}});function dc(n){return new Qr(n)}var ea=y.Class.extend({options:{serviceUrl:"https://api.mapbox.com/geocoding/v5/mapbox.places/",geocodingQueryParams:{},reverseQueryParams:{}},initialize:function(n,s){y.setOptions(this,s),this.options.geocodingQueryParams.access_token=n,this.options.reverseQueryParams.access_token=n},geocode:function(n,s,l){var c=this.options.geocodingQueryParams;c.proximity!==void 0&&c.proximity.lat!==void 0&&c.proximity.lng!==void 0&&(c.proximity=c.proximity.lng+","+c.proximity.lat),de(this.options.serviceUrl+encodeURIComponent(n)+".json",c,function(i){var o=[],r,h,u;if(i.features&&i.features.length)for(var f=0;f<=i.features.length-1;f++){r=i.features[f],h=y.latLng(r.center.reverse()),r.bbox?u=y.latLngBounds(y.latLng(r.bbox.slice(0,2).reverse()),y.latLng(r.bbox.slice(2,4).reverse())):u=y.latLngBounds(h,h);for(var g={text:r.text,address:r.address},b=0;b<(r.context||[]).length;b++){var _=r.context[b].id.split(".")[0];g[_]=r.context[b].text}o[f]={name:r.place_name,bbox:u,center:h,properties:g}}s.call(l,o)})},suggest:function(n,s,l){return this.geocode(n,s,l)},reverse:function(n,s,l,c){de(this.options.serviceUrl+encodeURIComponent(n.lng)+","+encodeURIComponent(n.lat)+".json",this.options.reverseQueryParams,function(i){var o=[],r,h,u;if(i.features&&i.features.length)for(var f=0;f<=i.features.length-1;f++)r=i.features[f],h=y.latLng(r.center.reverse()),r.bbox?u=y.latLngBounds(y.latLng(r.bbox.slice(0,2).reverse()),y.latLng(r.bbox.slice(2,4).reverse())):u=y.latLngBounds(h,h),o[f]={name:r.place_name,bbox:u,center:h};l.call(c,o)})}});function hc(n,s){return new ea(n,s)}var ta=y.Class.extend({options:{serviceUrl:"https://www.mapquestapi.com/geocoding/v1"},initialize:function(n,s){this._key=decodeURIComponent(n),y.Util.setOptions(this,s)},_formatName:function(){var n=[],s;for(s=0;s<arguments.length;s++)arguments[s]&&n.push(arguments[s]);return n.join(", ")},geocode:function(n,s,l){de(this.options.serviceUrl+"/address",{key:this._key,location:n,limit:5,outFormat:"json"},y.bind(function(c){var i=[],o,r;if(c.results&&c.results[0].locations)for(var h=c.results[0].locations.length-1;h>=0;h--)o=c.results[0].locations[h],r=y.latLng(o.latLng),i[h]={name:this._formatName(o.street,o.adminArea4,o.adminArea3,o.adminArea1),bbox:y.latLngBounds(r,r),center:r};s.call(l,i)},this))},reverse:function(n,s,l,c){de(this.options.serviceUrl+"/reverse",{key:this._key,location:n.lat+","+n.lng,outputFormat:"json"},y.bind(function(i){var o=[],r,h;if(i.results&&i.results[0].locations)for(var u=i.results[0].locations.length-1;u>=0;u--)r=i.results[0].locations[u],h=y.latLng(r.latLng),o[u]={name:this._formatName(r.street,r.adminArea4,r.adminArea3,r.adminArea1),bbox:y.latLngBounds(h,h),center:h};l.call(c,o)},this))}});function pc(n,s){return new ta(n,s)}var oa=y.Class.extend({options:{userId:"<insert your userId here>",apiKey:"<insert your apiKey here>",serviceUrl:"https://neutrinoapi.com/"},initialize:function(n){y.Util.setOptions(this,n)},geocode:function(n,s,l){de(this.options.serviceUrl+"geocode-address",{apiKey:this.options.apiKey,userId:this.options.userId,address:n.split(/\s+/).join(".")},function(c){var i=[],o,r;c.locations&&(c.geometry=c.locations[0],o=y.latLng(c.geometry.latitude,c.geometry.longitude),r=y.latLngBounds(o,o),i[0]={name:c.geometry.address,bbox:r,center:o}),s.call(l,i)})},suggest:function(n,s,l){return this.geocode(n,s,l)},reverse:function(n,s,l,c){de(this.options.serviceUrl+"geocode-reverse",{apiKey:this.options.apiKey,userId:this.options.userId,latitude:n.lat,longitude:n.lng},function(i){var o=[],r,h;i.status.status==200&&i.found&&(r=y.latLng(n.lat,n.lng),h=y.latLngBounds(r,r),o[0]={name:i.address,bbox:h,center:r}),l.call(c,o)})}});function uc(n){return new oa(n)}var Zi=y.Class.extend({options:{serviceUrl:"https://nominatim.openstreetmap.org/",geocodingQueryParams:{},reverseQueryParams:{},htmlTemplate:function(n){var s=n.address,l=[];return(s.road||s.building)&&l.push("{building} {road} {house_number}"),(s.city||s.town||s.village||s.hamlet)&&l.push('<span class="'+(l.length>
90?"leaflet-control-geocoder-address-detail":"")+'">{postcode} {city} {town} {village} {hamlet}</span>'),(s.state||s.country)&&l.push('<span class="'+(l.length>0?"leaflet-control-geocoder-address-context":"")+'">{state} {country}</span>'),rc(l.join("<br/>"),s)}},initialize:function(n){y.Util.setOptions(this,n)},geocode:function(n,s,l){de(this.options.serviceUrl+"search",y.extend({q:n,limit:5,format:"json",addressdetails:1},this.options.geocodingQueryParams),y.bind(function(c){for(var i=[],o=c.length-1;o>=0;o--){for(var r=c[o].boundingbox,h=0;h<4;h++)r[h]=parseFloat(r[h]);i[o]={icon:c[o].icon,name:c[o].display_name,html:this.options.htmlTemplate?this.options.htmlTemplate(c[o]):void 0,bbox:y.latLngBounds([r[0],r[2]],[r[1],r[3]]),center:y.latLng(c[o].lat,c[o].lon),properties:c[o]}}s.call(l,i)},this))},reverse:function(n,s,l,c){de(this.options.serviceUrl+"reverse",y.extend({lat:n.lat,lon:n.lng,zoom:Math.round(Math.log(s/256)/Math.log(2)),addressdetails:1,format:"json"},this.options.reverseQueryParams),y.bind(function(i){var o=[],r;i&&i.lat&&i.lon&&(r=y.latLng(i.lat,i.lon),o.push({name:i.display_name,html:this.options.htmlTemplate?this.options.htmlTemplate(i):void 0,center:r,bounds:y.latLngBounds(r,r),properties:i})),l.call(c,o)},this))}});function fc(n){return new Zi(n)}var ia=y.Class.extend({options:{OpenLocationCode:void 0,codeLength:void 0},initialize:function(n){y.setOptions(this,n)},geocode:function(n,s,l){try{var c=this.options.OpenLocationCode.decode(n),i={name:n,center:y.latLng(c.latitudeCenter,c.longitudeCenter),bbox:y.latLngBounds(y.latLng(c.latitudeLo,c.longitudeLo),y.latLng(c.latitudeHi,c.longitudeHi))};s.call(l,[i])}catch(o){console.warn(o),s.call(l,[])}},reverse:function(n,s,l,c){try{var i=this.options.OpenLocationCode.encode(n.lat,n.lng,this.options.codeLength),o={name:i,center:y.latLng(n.lat,n.lng),bbox:y.latLngBounds(y.latLng(n.lat,n.lng),y.latLng(n.lat,n.lng))};l.call(c,[o])}catch(r){console.warn(r),l.call(c,[])}}});function gc(n){return new ia(n)}var Ro=y.Class.extend({options:{serviceUrl:"https://api.geocode.earth/v1",geocodingQueryParams:{},reverseQueryParams:{}},initialize:function(n,s){y.Util.setOptions(this,s),this._apiKey=n,this._lastSuggest=0},geocode:function(n,s,l){var c=this;de(this.options.serviceUrl+"/search",y.extend({api_key:this._apiKey,text:n},this.options.geocodingQueryParams),function(i){s.call(l,c._parseResults(i,"bbox"))})},suggest:function(n,s,l){var c=this;de(this.options.serviceUrl+"/autocomplete",y.extend({api_key:this._apiKey,text:n},this.options.geocodingQueryParams),y.bind(function(i){i.geocoding.timestamp>this._lastSuggest&&(this._lastSuggest=i.geocoding.timestamp,s.call(l,c._parseResults(i,"bbox")))},this))},reverse:function(n,s,l,c){var i=this;de(this.options.serviceUrl+"/reverse",y.extend({api_key:this._apiKey,"point.lat":n.lat,"point.lon":n.lng},this.options.reverseQueryParams),function(o){l.call(c,i._parseResults(o,"bounds"))})},_parseResults:function(n,s){var l=[];return y.geoJson(n,{pointToLayer:function(c,i){return y.circleMarker(i)},onEachFeature:function(c,i){var o={},r,h;i.getBounds?(r=i.getBounds(),h=r.getCenter()):i.feature.bbox?(h=i.getLatLng(),r=y.latLngBounds(y.GeoJSON.coordsToLatLng(i.feature.bbox.slice(0,2)),y.GeoJSON.coordsToLatLng(i.feature.bbox.slice(2,4)))):(h=i.getLatLng(),r=y.latLngBounds(h,h)),o.name=i.feature.properties.label,o.center=h,o[s]=r,o.properties=i.feature.properties,l.push(o)}}),l}});function Gi(n,s){return new Ro(n,s)}var mc=Ro,bc=Gi,na=Ro,_c=Gi,ra=na.extend({options:{serviceUrl:"https://api.openrouteservice.org/geocode"}});function vc(n,s){return new ra(n,s)}var aa=y.Class.extend({options:{serviceUrl:"https://photon.komoot.de/api/",reverseUrl:"https://photon.komoot.de/reverse/",nameProperties:["name","street","suburb","hamlet","town","city","state","country"]},initialize:function(n){y.setOptions(this,n)},geocode:function(n,s,l){var c=y.extend({q:n},this.options.geocodingQueryParams);de(this.options.serviceUrl,c,y.bind(function(i){s.call(l,this._decodeFeatures(i))},this))},suggest:function(n,s,l){return this.geocode(n,s,l)},reverse:function(n,s,l,c){var i=y.extend({lat:n.lat,lon:n.lng},this.options.reverseQueryParams);de(this.options.reverseUrl,i,y.bind(function(o){l.call(c,this._decodeFeatures(o))},this))},_decodeFeatures:function(n){var s=[],l,c,i,o,r,h;if(n&&n.features)for(l=0;l<n.features.length;l++)c=n.features[l],i=c.geometry.coordinates,o=y.latLng(i[1],i[0]),r=c.properties.extent,r?h=y.latLngBounds([r[1],r[0]],[r[3],r[2]]):h=y.latLngBounds(o,o),s.push({name:this._decodeFeatureName(c),html:this.options.htmlTemplate?this.options.htmlTemplate(c):void 0,center:o,bbox:h,properties:c.properties});return s},_decodeFeatureName:function(n){return(this.options.nameProperties||[]).map(function(s){return n.properties[s]}).filter(function(s){return!!s}).join(", ")}});function yc(n){return new aa(n)}var sa=y.Class.extend({options:{serviceUrl:"https://api.what3words.com/v2/"},initialize:function(n){this._accessToken=n},geocode:function(n,s,l){de(this.options.serviceUrl+"forward",{key:this._accessToken,addr:n.split(/\s+/).join(".")},function(c){var i=[],o,r;c.geometry&&(o=y.latLng(c.geometry.lat,c.geometry.lng),r=y.latLngBounds(o,o),i[0]={name:c.words,bbox:r,center:o}),s.call(l,i)})},suggest:function(n,s,l){return this.geocode(n,s,l)},reverse:function(n,s,l,c){de(this.options.serviceUrl+"reverse",{key:this._accessToken,coords:[n.lat,n.lng].join(",")},function(i){var o=[],r,h;i.status.status==200&&(r=y.latLng(i.geometry.lat,i.geometry.lng),h=y.latLngBounds(r,r),o[0]={n
9ame:i.words,bbox:h,center:r}),l.call(c,o)})}});function xc(n){return new sa(n)}const wc=Object.freeze({__proto__:null,ArcGis:Xr,arcgis:ac,Bing:Kr,bing:sc,Google:$r,google:lc,HERE:Jr,here:cc,LatLng:Qr,latLng:dc,Mapbox:ea,mapbox:hc,MapQuest:ta,mapQuest:pc,Neutrino:oa,neutrino:uc,Nominatim:Zi,nominatim:fc,OpenLocationCode:ia,openLocationCode:gc,Pelias:Ro,pelias:Gi,GeocodeEarth:mc,geocodeEarth:bc,Mapzen:na,mapzen:_c,Openrouteservice:ra,openrouteservice:vc,Photon:aa,photon:yc,What3Words:sa,what3words:xc});var Ao=y.Control.extend({options:{showUniqueResult:!0,showResultIcons:!1,collapsed:!0,expand:"touch",position:"topright",placeholder:"Search...",errorMessage:"Nothing found.",queryMinLength:1,suggestMinLength:3,suggestTimeout:250,defaultMarkGeocode:!0},includes:y.Evented.prototype||y.Mixin.Events,initialize:function(n){y.Util.setOptions(this,n),this.options.geocoder||(this.options.geocoder=new Zi),this._requestCount=0},addThrobberClass:function(){y.DomUtil.addClass(this._container,"leaflet-control-geocoder-throbber")},removeThrobberClass:function(){y.DomUtil.removeClass(this._container,"leaflet-control-geocoder-throbber")},onAdd:function(n){var s="leaflet-control-geocoder",l=y.DomUtil.create("div",s+" leaflet-bar"),c=y.DomUtil.create("button",s+"-icon",l),i=this._form=y.DomUtil.create("div",s+"-form",l),o;return this._map=n,this._container=l,c.innerHTML=" ",c.type="button",o=this._input=y.DomUtil.create("input","",i),o.type="text",o.placeholder=this.options.placeholder,y.DomEvent.disableClickPropagation(o),this._errorElement=y.DomUtil.create("div",s+"-form-no-error",l),this._errorElement.innerHTML=this.options.errorMessage,this._alts=y.DomUtil.create("ul",s+"-alternatives leaflet-control-geocoder-alternatives-minimized",l),y.DomEvent.disableClickPropagation(this._alts),y.DomEvent.addListener(o,"keydown",this._keydown,this),this.options.geocoder.suggest&&y.DomEvent.addListener(o,"input",this._change,this),y.DomEvent.addListener(o,"blur",function(){this.options.collapsed&&!this._preventBlurCollapse&&this._collapse(),this._preventBlurCollapse=!1},this),this.options.collapsed?this.options.expand==="click"?y.DomEvent.addListener(l,"click",function(r){r.button===0&&r.detail!==2&&this._toggle()},this):y.Browser.touch&&this.options.expand==="touch"?y.DomEvent.addListener(l,"touchstart mousedown",function(r){this._toggle(),r.preventDefault(),r.stopPropagation()},this):(y.DomEvent.addListener(l,"mouseover",this._expand,this),y.DomEvent.addListener(l,"mouseout",this._collapse,this),this._map.on("movestart",this._collapse,this)):(this._expand(),y.Browser.touch?y.DomEvent.addListener(l,"touchstart",function(){this._geocode()},this):y.DomEvent.addListener(l,"click",function(){this._geocode()},this)),this.options.defaultMarkGeocode&&this.on("markgeocode",this.markGeocode,this),this.on("startgeocode",this.addThrobberClass,this),this.on("finishgeocode",this.removeThrobberClass,this),this.on("startsuggest",this.addThrobberClass,this),this.on("finishsuggest",this.removeThrobberClass,this),y.DomEvent.disableClickPropagation(l),l},_geocodeResult:function(n,s){if(!s&&this.options.showUniqueResult&&n.length===1)this._geocodeResultSelected(n[0]);else if(n.length>0){this._alts.innerHTML="",this._results=n,y.DomUtil.removeClass(this._alts,"leaflet-control-geocoder-alternatives-minimized"),y.DomUtil.addClass(this._container,"leaflet-control-geocoder-options-open");for(var l=0;l<n.length;l++)this._alts.appendChild(this._createAlt(n[l],l))}else y.DomUtil.addClass(this._container,"leaflet-control-geocoder-options-error"),y.DomUtil.addClass(this._errorElement,"leaflet-control-geocoder-error")},markGeocode:function(n){return n=n.geocode||n,this._map.fitBounds(n.bbox),this._geocodeMarker&&this._map.removeLayer(this._geocodeMarker),this._geocodeMarker=new y.Marker(n.center).bindPopup(n.html||n.name).addTo(this._map).openPopup(),this},_geocode:function(n){var s=this._input.value;if(!(!n&&s.length<this.options.queryMinLength)){var l=++this._requestCount,c=n?"suggest":"geocode",i={input:s};this._lastGeocode=s,n||this._clearResults(),this.fire("start"+c,i),this.options.geocoder[c](s,function(o){l===this._requestCount&&(i.results=o,this.fire("finish"+c,i),this._geocodeResult(o,n))},this)}},_geocodeResultSelected:function(n){this.fire("markgeocode",{geocode:n})},_toggle:function(){y.DomUtil.hasClass(this._container,"leaflet-control-geocoder-expanded")?this._collapse():this._expand()},_expand:function(){y.DomUtil.addClass(this._container,"leaflet-control-geocoder-expanded"),this._input.select(),this.fire("exp
9and")},_collapse:function(){y.DomUtil.removeClass(this._container,"leaflet-control-geocoder-expanded"),y.DomUtil.addClass(this._alts,"leaflet-control-geocoder-alternatives-minimized"),y.DomUtil.removeClass(this._errorElement,"leaflet-control-geocoder-error"),y.DomUtil.removeClass(this._container,"leaflet-control-geocoder-options-open"),y.DomUtil.removeClass(this._container,"leaflet-control-geocoder-options-error"),this._input.blur(),this.fire("collapse")},_clearResults:function(){y.DomUtil.addClass(this._alts,"leaflet-control-geocoder-alternatives-minimized"),this._selection=null,y.DomUtil.removeClass(this._errorElement,"leaflet-control-geocoder-error"),y.DomUtil.removeClass(this._container,"leaflet-control-geocoder-options-open"),y.DomUtil.removeClass(this._container,"leaflet-control-geocoder-options-error")},_createAlt:function(n,s){var l=y.DomUtil.create("li",""),c=y.DomUtil.create("a","",l),i=this.options.showResultIcons&&n.icon?y.DomUtil.create("img","",c):null,o=n.html?void 0:document.createTextNode(n.name),r=function(u){this._preventBlurCollapse=!0,y.DomEvent.stop(u),this._geocodeResultSelected(n),y.DomEvent.on(l,"click",function(){this.options.collapsed?this._collapse():this._clearResults()},this)};return i&&(i.src=n.icon),l.setAttribute("data-result-index",s),n.html?c.innerHTML=c.innerHTML+n.html:c.appendChild(o),y.DomEvent.addListener(l,"mousedown touchstart",r,this),l},_keydown:function(n){var s=this,l=function(o){s._selection&&(y.DomUtil.removeClass(s._selection,"leaflet-control-geocoder-selected"),s._selection=s._selection[o>0?"nextSibling":"previousSibling"]),s._selection||(s._selection=s._alts[o>0?"firstChild":"lastChild"]),s._selection&&y.DomUtil.addClass(s._selection,"leaflet-control-geocoder-selected")};switch(n.keyCode){case 27:this.options.collapsed?this._collapse():this._clearResults();break;case 38:l(-1);break;case 40:l(1);break;case 13:if(this._selection){var c=parseInt(this._selection.getAttribute("data-result-index"),10);this._geocodeResultSelected(this._results[c]),this._clearResults()}else this._geocode();break;default:return}y.DomEvent.preventDefault(n)},_change:function(){var n=this._input.value;n!==this._lastGeocode&&(clearTimeout(this._suggestTimeout),n.length>=this.options.suggestMinLength?this._suggestTimeout=setTimeout(y.bind(function(){this._geocode(!0)},this),this.options.suggestTimeout):this._clearResults())}});function Lc(n){return new Ao(n)}y.Util.extend(Ao,wc);y.Util.extend(y.Control,{Geocoder:Ao,geocoder:Lc});const H={TRAJECTORY_UPLOADED:"trajectory uploaded",TRAJECTORY_DRAWN:"trajectory drawn",VIRTUAL_BASE_STATION:"virtualBaseStation",OBJECT:"object",NUMBER:"number",TRAJECTORY_LINE:"polyline",TRAJECTORY_POINT:"marker",TRAJECTORY_POLYGON:"polygon",QUALITY_INDEX_FAIL:"Fail",QUALITY_INDEX_MARGINAL:"Marginal",PPRTX_FAST:"PP-RTX Fast",PPRTX_STD:"PP-RTX Standard",PPRTX2_FAST:"PP-RTX2 Fast",PPRTX2_STD:"PP-RTX2 Standard",PPRTX_FAST_INFO:"Degraded solution expected for data collected in critical GNSS environments, e.g. Urban territory for land mobile mapping.",PPRTX_STD_INFO:"Good solution expected for long datasets (> 25 min) in open sky same as for short datasets (> 10min < 25min) in open sky if BDS-III signals are present. Degraded solution expected for data collected in critical GNSS environments (e.g. urban environment) and for short data sets (< 25 min) without additional Beidou-III signals.",SMARTBASE_PROCESSING:"Smart Base Processing",SINGLEBASE_PROCESSING:"Single Base Processing",STYLE_CHANGE_TRIGGERED:"Style Change Triggered",REFRESH_CLICK_TRIGGERED:"Refresh Change Triggered",VRS_DISCLAIMER:'Usage of Trimble VRSNow stations require a valid subscription. Please contact [email protected] or go to "https://positioningservices.trimble.com/en/contact" if you have questions.',NONE:"NONE",PREVIEW:"Import Trajectory",SINGLEBASE_BASE_STATION_RADIUS_IN_KM:30,PPRTX_FAST_TRAJECTORY_DURATION:"> 10 min",PPRTX_FAST_GNSS_ENVIRONMENT:"Open Sky",PPRTX_STD_TRAJECTORY_DURATION:"> 10 min with BDS-III, > 25 min without BDS-III",PPRTX_STD_GNSS_ENVIRONMENT:"Open Sky",SINGLE_SMART_BASE_TRAJECTORY_DURATION:"None",SINGLE_SMART_BASE_GNSS_ENVIRONMENT:"All",VEHICLE_TYPE_MESSAGE:{LAND:"[Land Mission Detected]",MARINE:"[Marine Mission Detected]",AIR_CREWED:"[Airborne Crewed Mission Detected]",AIR_UNCREWED:"[Airborne Uncrewed Mission Detected]"}},_o="http://localhost:5087",kc={apiUrl:`${_o}/api`,rtxPolygonFetchUrl:`${_o}/api/plotting/rtx-polygon`,baseStationFetchUrl:`${_o}/api/plotting/basestation`,runSmartSelectUrl:`${_o}/api/smartbase/run-smartselect`},vo="https://stg-gnssaugplanner.trimble.com/tgap",Tc={apiUrl:`${vo}/api`,rtxPolygonFetchUrl:`${vo}/api/plotting/rtx-polygon`,baseStationFetchUrl:`${vo}/api/plotting/basestation`,runSmartSelectUrl:`${vo}/api/smartbase/run-smartselect`},yo="https://stg-gnssaugplanner.trimble.com/tgap",Ec={apiUrl:`${yo}/api`,rtxPolygonFetchUrl:`${yo}/api/plotting/rtx-polygon`,baseStationFetchUrl:`${yo}/api/plotting/basestation`,runSmartSelectUrl:`${yo}/api/smartbase/run-smartselect`},xo="https://gnssaugplanner.trimble.com/tgap",Cc={apiUrl:`${xo}/api`,rtxPolygonFetchUrl:`${xo}/api/plotting/rtx-polygon`,baseStationFetchUrl:`${xo}/api/plotting/basestation`,runSmartSelectUrl:`${xo}/api/smartbase/run-smartselect`},Pc={local:kc,dev:Tc,stg:Ec,prod:Cc},Hi=Pc[Fl.appEnv],at={DEFAULT:"Something went wrong!",API_ERROR_DEFAULT:"Error occurred during the API call",FILE_UPLOAD_ERROR:"Error in file upload"};function la(n,s){return function(){return n.apply(s,arguments)}}const{toString:Sc}=Object.prototype,{getPrototypeOf:Vi}=Object,Bo=(n=>s=>{const l=Sc.call(s);return n[l]||(n[l]=l.slice(8,-1).toLowerCase())})(Object.create(null)),Be=n=>(n=n.toLowerCase(),s=>Bo(s)===n),No=n=>s=>typeof s===n,{isArray:St}=Array,Yt=No("undefined");function Mc(n){return n!==null&&!Yt(n)&&n.constructor!==null&&!Yt(n.constructor)&&Oe(n.constructor.isBuffer)&&n.constructor.isBuffer(n)}const ca=Be("ArrayBuffer");function zc(n){let s;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?s=ArrayBuffer.isView(n):s=n&&n.buffer&&ca(n.buffer),s}const Oc=No("string"),Oe=No("function"),da=No("number"),jo=n=>n!==null&&typeof n=="object",Dc=n=>n===!0||n===!1,ko=n=>{if(Bo(n)!=="object")return!1;const s=Vi(n);
vendor: 8,681 bytes, line 9
9return(s===null||s===Object.prototype||Object.getPrototypeOf(s)===null)&&!(Symbol.toStringTag in n)&&!(Symbol.iterator in n)},Ic=Be("Date"),Rc=Be("File"),Ac=Be("Blob"),Bc=Be("FileList"),Nc=n=>jo(n)&&Oe(n.pipe),jc=n=>{let s;return n&&(typeof FormData=="function"&&n instanceof FormData||Oe(n.append)&&((s=Bo(n))==="formdata"||s==="object"&&Oe(n.toString)&&n.toString()==="[object FormData]"))},Uc=Be("URLSearchParams"),[Fc,Zc,Gc,Hc]=["ReadableStream","Request","Response","Headers"].map(Be),Vc=n=>n.trim?n.trim():n.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Kt(n,s,{allOwnKeys:l=!1}={}){if(n===null||typeof n>"u")return;let c,i;if(typeof n!="object"&&(n=[n]),St(n))for(c=0,i=n.length;c<i;c++)s.call(null,n[c],c,n);else{const o=l?Object.getOwnPropertyNames(n):Object.keys(n),r=o.length;let h;for(c=0;c<r;c++)h=o[c],s.call(null,n[h],h,n)}}function ha(n,s){s=s.toLowerCase();const l=Object.keys(n);let c=l.length,i;for(;c-- >0;)if(i=l[c],s===i.toLowerCase())return i;return null}const pa=(()=>typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global)(),ua=n=>!Yt(n)&&n!==pa;function zi(){const{caseless:n}=ua(this)&&this||{},s={},l=(c,i)=>{const o=n&&ha(s,i)||i;ko(s[o])&&ko(c)?s[o]=zi(s[o],c):ko(c)?s[o]=zi({},c):St(c)?s[o]=c.slice():s[o]=c};for(let c=0,i=arguments.length;c<i;c++)arguments[c]&&Kt(arguments[c],l);return s}const qc=(n,s,l,{allOwnKeys:c}={})=>(Kt(s,(i,o)=>{l&&Oe(i)?n[o]=la(i,l):n[o]=i},{allOwnKeys:c}),n),Wc=n=>(n.charCodeAt(0)===65279&&(n=n.slice(1)),n),Yc=(n,s,l,c)=>{n.prototype=Object.create(s.prototype,c),n.prototype.constructor=n,Object.defineProperty(n,"super",{value:s.prototype}),l&&Object.assign(n.prototype,l)},Xc=(n,s,l,c)=>{let i,o,r;const h={};if(s=s||{},n==null)return s;do{for(i=Object.getOwnPropertyNames(n),o=i.length;o-- >0;)r=i[o],(!c||c(r,n,s))&&!h[r]&&(s[r]=n[r],h[r]=!0);n=l!==!1&&Vi(n)}while(n&&(!l||l(n,s))&&n!==Object.prototype);return s},Kc=(n,s,l)=>{n=String(n),(l===void 0||l>n.length)&&(l=n.length),l-=s.length;const c=n.indexOf(s,l);return c!==-1&&c===l},$c=n=>{if(!n)return null;if(St(n))return n;let s=n.length;if(!da(s))return null;const l=new Array(s);for(;s-- >0;)l[s]=n[s];return l},Jc=(n=>s=>n&&s instanceof n)(typeof Uint8Array<"u"&&Vi(Uint8Array)),Qc=(n,s)=>{const c=(n&&n[Symbol.iterator]).call(n);let i;for(;(i=c.next())&&!i.done;){const o=i.value;s.call(n,o[0],o[1])}},ed=(n,s)=>{let l;const c=[];for(;(l=n.exec(s))!==null;)c.push(l);return c},td=Be("HTMLFormElement"),od=n=>n.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(l,c,i){return c.toUpperCase()+i}),xr=(({hasOwnProperty:n})=>(s,l)=>n.call(s,l))(Object.prototype),id=Be("RegExp"),fa=(n,s)=>{const l=Object.getOwnPropertyDescriptors(n),c={};Kt(l,(i,o)=>{let r;(r=s(i,o,n))!==!1&&(c[o]=r||i)}),Object.defineProperties(n,c)},nd=n=>{fa(n,(s,l)=>{if(Oe(n)&&["arguments","caller","callee"].indexOf(l)!==-1)return!1;const c=n[l];if(Oe(c)){if(s.enumerable=!1,"writable"in s){s.writable=!1;return}s.set||(s.set=()=>{throw Error("Can not rewrite read-only method '"+l+"'")})}})},rd=(n,s)=>{const l={},c=i=>{i.forEach(o=>{l[o]=!0})};return St(n)?c(n):c(String(n).split(s)),l},ad=()=>{},sd=(n,s)=>n!=null&&Number.isFinite(n=+n)?n:s,Ei="abcdefghijklmnopqrstuvwxyz",wr="0123456789",ga={DIGIT:wr,ALPHA:Ei,ALPHA_DIGIT:Ei+Ei.toUpperCase()+wr},ld=(n=16,s=ga.ALPHA_DIGIT)=>{let l="";const{length:c}=s;for(;n--;)l+=s[Math.random()*c|0];return l};function cd(n){return!!(n&&Oe(n.append)&&n[Symbol.toStringTag]==="FormData"&&n[Symbol.iterator])}const dd=n=>{const s=new Array(10),l=(c,i)=>{if(jo(c)){if(s.indexOf(c)>=0)return;if(!("toJSON"in c)){s[i]=c;const o=St(c)?[]:{};return Kt(c,(r,h)=>{const u=l(r,i+1);!Yt(u)&&(o[h]=u)}),s[i]=void 0,o}}return c};return l(n,0)},hd=Be("AsyncFunction"),pd=n=>n&&(jo(n)||Oe(n))&&Oe(n.then)&&Oe(n.catch),C={isArray:St,isArrayBuffer:ca,isBuffer:Mc,isFormData:jc,isArrayBufferView:zc,isString:Oc,isNumber:da,isBoolean:Dc,isObject:jo,isPlainObject:ko,isReadableStream:Fc,isRequest:Zc,isResponse:Gc,isHeaders:Hc,isUndefined:Yt,isDate:Ic,isFile:Rc,isBlob:Ac,isRegExp:id,isFunction:Oe,isStream:Nc,isURLSearchParams:Uc,isTypedArray:Jc,isFileList:Bc,forEach:Kt,merge:zi,extend:qc,trim:Vc,stripBOM:Wc,inherits:Yc,toFlatObject:Xc,kindOf:Bo,kindOfTest:Be,endsWith:Kc,toArray:$c,forEachEntry:Qc,matchAll:ed,isHTMLForm:td,hasOwnProperty:xr,hasOwnProp:xr,reduceDescriptors:fa,freezeMethods:nd,toObjectSet:rd,toCamelCase:od,noop:ad,toFiniteNumber:sd,findKey:ha,global:pa,isContextDefined:ua,ALPHABET:ga,generateString:ld,isSpecCompliantForm:cd,toJSONObject:dd,isAsyncFn:hd,isThenable:pd};function F(n,s,l,c,i){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=n,this.name="AxiosError",s&&(this.code=s),l&&(this.config=l),c&&(this.request=c),i&&(this.response=i)}C.inherits(F,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:C.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const ma=F.prototype,ba={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(n=>{ba[n]={value:n}});Object.defineProperties(F,ba);Object.defineProperty(ma,"isAxiosError",{value:!0});F.from=(n,s,l,c,i,o)=>{const r=Object.create(ma);return C.toFlatObject(n,r,function(u){return u!==Error.prototype},h=>h!=="isAxiosError"),F.call(r,n.message,s,l,c,i),r.cause=n,r.name=n.name,o&&Object.assign(r,o),r};const ud=null;function Oi(n){return C.isPlainObject(n)||C.isArray(n)}function _a(n){return C.endsWith(n,"[]")?n.slice(0,-2):n}function Lr(n,s,l){return n?n.concat(s).map(function(i,o){return i=_a(i),!l&&o?"["+i+"]":i}).join(l?".":""):s}function fd(n){return C.isArray(n)&&!n.some(Oi)}const gd=C.toFlatObject(C,{},null,function(s){return/^is[A-Z]/.test(s)});function Uo(n,s,l){if(!C.isObject(n))throw new TypeError("target must be an object");s=s||new FormData,l=C.toFlatObject(l,{metaTokens:!0,dots:!1,indexes:!1},!1,function(k,O){return!C.isUndefined(O[k])});const c=l.metaTokens,i=l.visitor||g,o=l.dots,r=l.indexes,u=(l.Blob||typeof Blob<"u"&&Blob)&&C.isSpecCompliantForm(s);if(!C.isFunction(i))throw new TypeError("visitor must be a function");function f(w){if(w===null)return"";if(C.isDate(w))return w.toISOString();if(!u&&C.isBlob(w))throw new F("Blob is not supported. Use a Buffer instead.");return C.isArrayBuffer(w)||C.isTypedArray(w)?u&&typeof Blob=="function"?new Blob([w]):Buffer.from(w):w}function g(w,k,O){let M=w;if(w&&!O&&typeof w=="object"){if(C.endsWith(k,"{}"))k=c?k:k.slice(0,-2),w=JSON.stringify(w);else if(C.isArray(w)&&fd(w)||(C.isFileList(w)||C.endsWith(k,"[]"))&&(M=C.toArray(w)))return k=_a(k),M.forEach(function(R,fe){!(C.isUndefined(R)||R===null)&&s.append(r===!0?Lr([k],fe,o):r===null?k:k+"[]",f(R))}),!1}return Oi(w)?!0:(s.append(Lr(O,k,o),f(w)),!1)}const b=[],_=Object.assign(gd,{defaultVisitor:g,convertValue:f,isVisitable:Oi});function x(w,k){if(!C.isUndefined(w)){if(b.indexOf(w)!==-1)throw Error("Circular reference detected in "+k.join("."));b.push(w),C.forEach(w,function(M,Z){(!(C.isUndefined(M)||M===null)&&i.call(s,M,C.isString(Z)?Z.trim():Z,k,_))===!0&&x(M,k?k.concat(Z):[Z])}),b.pop()}}if(!C.isObject(n))throw new TypeError("data must be an object");return x(n),s}function kr(n){const s={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(n).replace(/[!'()~]|%20|%00/g,function(c){return s[c]})}function qi(n,s){this._pairs=[],n&&Uo(n,this,s)}const va=qi.prototype;va.append=function(s,l){this._pairs.push([s,l])};va.toString=function(s){const l=s?function(c){return s.call(this,c,kr)}:kr;return this._pairs.map(function(i){return l(i[0])+"="+l(i[1])},"").join("&")};function md(n){return encodeURIComponent(n).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function ya(n,s,l){if(!s)return n;const c=l&&l.encode||md,i=l&&l.serialize;let o;if(i?o=i(s,l):o=C.isURLSearchParams(s)?s.toString():new qi(s,l).toString(c),o){const r=n.indexOf("#");r!==-1&&(n=n.slice(0,r)),n+=(n.indexOf("?")===-1?"?":"&")+o}return n}class Tr{constructor(){this.handlers=[]}use(s,l,c){return this.handlers.push({fulfilled:s,rejected:l,synchronous:c?c.synchronous:!1,runWhen:c?c.runWhen:null}),this.handlers.length-1}eject(s){this.handlers[s]&&(this.handlers[s]=null)}clear(){this.handlers&&(this.handlers=[])}
9forEach(s){C.forEach(this.handlers,function(c){c!==null&&s(c)})}}const xa={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},bd=typeof URLSearchParams<"u"?URLSearchParams:qi,_d=typeof FormData<"u"?FormData:null,vd=typeof Blob<"u"?Blob:null,yd={isBrowser:!0,classes:{URLSearchParams:bd,FormData:_d,Blob:vd},protocols:["http","https","file","blob","url","data"]},Wi=typeof window<"u"&&typeof document<"u",xd=(n=>Wi&&["ReactNative","NativeScript","NS"].indexOf(n)<0)(typeof navigator<"u"&&navigator.product),wd=(()=>typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function")(),Ld=Wi&&window.location.href||"http://localhost",kd=Object.freeze({__proto__:null,hasBrowserEnv:Wi,hasStandardBrowserWebWorkerEnv:wd,hasStandardBrowserEnv:xd,origin:Ld}),Ae={...kd,...yd};function Td(n,s){return Uo(n,new Ae.classes.URLSearchParams,Object.assign({visitor:function(l,c,i,o){return Ae.isNode&&C.isBuffer(l)?(this.append(c,l.toString("base64")),!1):o.defaultVisitor.apply(this,arguments)}},s))}function Ed(n){return C.matchAll(/\w+|\[(\w*)]/g,n).map(s=>s[0]==="[]"?"":s[1]||s[0])}function Cd(n){const s={},l=Object.keys(n);let c;const i=l.length;let o;for(c=0;c<i;c++)o=l[c],s[o]=n[o];return s}function wa(n){function s(l,c,i,o){let r=l[o++];if(r==="__proto__")return!0;const h=Number.isFinite(+r),u=o>=l.length;return r=!r&&C.isArray(i)?i.length:r,u?(C.hasOwnProp(i,r)?i[r]=[i[r],c]:i[r]=c,!h):((!i[r]||!C.isObject(i[r]))&&(i[r]=[]),s(l,c,i[r],o)&&C.isArray(i[r])&&(i[r]=Cd(i[r])),!h)}if(C.isFormData(n)&&C.isFunction(n.entries)){const l={};
vendor: 4,141 bytes, lines 9-10
9return C.forEachEntry(n,(c,i)=>{s(Ed(c),i,l,0)}),l}return null}function Pd(n,s,l){if(C.isString(n))try{return(s||JSON.parse)(n),C.trim(n)}catch(c){if(c.name!=="SyntaxError")throw c}return(l||JSON.stringify)(n)}const $t={transitional:xa,adapter:["xhr","http","fetch"],transformRequest:[function(s,l){const c=l.getContentType()||"",i=c.indexOf("application/json")>-1,o=C.isObject(s);if(o&&C.isHTMLForm(s)&&(s=new FormData(s)),C.isFormData(s))return i?JSON.stringify(wa(s)):s;if(C.isArrayBuffer(s)||C.isBuffer(s)||C.isStream(s)||C.isFile(s)||C.isBlob(s)||C.isReadableStream(s))return s;if(C.isArrayBufferView(s))return s.buffer;if(C.isURLSearchParams(s))return l.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),s.toString();let h;if(o){if(c.indexOf("application/x-www-form-urlencoded")>-1)return Td(s,this.formSerializer).toString();if((h=C.isFileList(s))||c.indexOf("multipart/form-data")>-1){const u=this.env&&this.env.FormData;return Uo(h?{"files[]":s}:s,u&&new u,this.formSerializer)}}return o||i?(l.setContentType("application/json",!1),Pd(s)):s}],transformResponse:[function(s){const l=this.transitional||$t.transitional,c=l&&l.forcedJSONParsing,i=this.responseType==="json";if(C.isResponse(s)||C.isReadableStream(s))return s;if(s&&C.isString(s)&&(c&&!this.responseType||i)){const r=!(l&&l.silentJSONParsing)&&i;try{return JSON.parse(s)}catch(h){if(r)throw h.name==="SyntaxError"?F.from(h,F.ERR_BAD_RESPONSE,this,null,this.response):h}}return s}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Ae.classes.FormData,Blob:Ae.classes.Blob},validateStatus:function(s){return s>=200&&s<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};C.forEach(["delete","get","head","post","put","patch"],n=>{$t.headers[n]={}});const Sd=C.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),Md=n=>{const s={};let l,c,i;return n&&n.split(` 10`).forEach(function(r){i=r.indexOf(":"),l=r.substring(0,i).trim().toLowerCase(),c=r.substring(i+1).trim(),!(!l||s[l]&&Sd[l])&&(l==="set-cookie"?s[l]?s[l].push(c):s[l]=[c]:s[l]=s[l]?s[l]+", "+c:c)}),s},Er=Symbol("internals");function Wt(n){return n&&String(n).trim().toLowerCase()}function To(n){return n===!1||n==null?n:C.isArray(n)?n.map(To):String(n)}function zd(n){const s=Object.create(null),l=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let c;for(;c=l.exec(n);)s[c[1]]=c[2];return s}const Od=n=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(n.trim());function Ci(n,s,l,c,i){if(C.isFunction(c))return c.call(this,s,l);if(i&&(s=l),!!C.isString(s)){if(C.isString(c))return s.indexOf(c)!==-1;if(C.isRegExp(c))return c.test(s)}}function Dd(n){return n.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(s,l,c)=>l.toUpperCase()+c)}function Id(n,s){const l=C.toCamelCase(" "+s);["get","set","has"].forEach(c=>{Object.defineProperty(n,c+l,{value:function(i,o,r){return this[c].call(this,s,i,o,r)},configurable:!0})})}class ke{constructor(s){s&&this.set(s)}set(s,l,c){const i=this;function o(h,u,f){const g=Wt(u);if(!g)throw new Error("header name must be a non-empty string");const b=C.findKey(i,g);(!b||i[b]===void 0||f===!0||f===void 0&&i[b]!==!1)&&(i[b||u]=To(h))}const r=(h,u)=>C.forEach(h,(f,g)=>o(f,g,u));if(C.isPlainObject(s)||s instanceof this.constructor)r(s,l);else if(C.isString(s)&&(s=s.trim())&&!Od(s))r(Md(s),l);else if(C.isHeaders(s))for(const[h,u]of s.entries())o(u,h,c);else s!=null&&o(l,s,c);return this}get(s,l){if(s=Wt(s),s){const c=C.findKey(this,s);if(c){const i=this[c];if(!l)return i;if(l===!0)return zd(i);if(C.isFunction(l))return l.call(this,i,c);if(C.isRegExp(l))return l.exec(i);throw new TypeError("parser must be boolean|regexp|function")}}}has(s,l){if(s=Wt(s),s){const c=C.findKey(this,s);return!!(c&&this[c]!==void 0&&(!l||Ci(this,this[c],c,l)))}return!1}delete(s,l){const c=this;let i=!1;function o(r){if(r=Wt(r),r){const h=C.findKey(c,r);h&&(!l||Ci(c,c[h],h,l))&&(delete c[h],i=!0)}}
vendor: 1,399 bytes, lines 10-11
10return C.isArray(s)?s.forEach(o):o(s),i}clear(s){const l=Object.keys(this);let c=l.length,i=!1;for(;c--;){const o=l[c];(!s||Ci(this,this[o],o,s,!0))&&(delete this[o],i=!0)}return i}normalize(s){const l=this,c={};return C.forEach(this,(i,o)=>{const r=C.findKey(c,o);if(r){l[r]=To(i),delete l[o];return}const h=s?Dd(o):String(o).trim();h!==o&&delete l[o],l[h]=To(i),c[h]=!0}),this}concat(...s){return this.constructor.concat(this,...s)}toJSON(s){const l=Object.create(null);return C.forEach(this,(c,i)=>{c!=null&&c!==!1&&(l[i]=s&&C.isArray(c)?c.join(", "):c)}),l}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([s,l])=>s+": "+l).join(` 11`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(s){return s instanceof this?s:new this(s)}static concat(s,...l){const c=new this(s);return l.forEach(i=>c.set(i)),c}static accessor(s){const c=(this[Er]=this[Er]={accessors:{}}).accessors,i=this.prototype;function o(r){const h=Wt(r);c[h]||(Id(i,r),c[h]=!0)}return C.isArray(s)?s.forEach(o):o(s),this}}ke.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);C.reduceDescriptors(ke.prototype,({value:n},s)=>{let l=s[0].toUpperCase()+s.slice(1);return{get:()=>n,set(c){this[l]=c}}});C.freezeMethods(ke);function Pi(n,s){const l=this||$t,c=s||l,i=ke.from(c.headers);let o=c.data;
11return C.forEach(n,function(h){o=h.call(l,o,i.normalize(),s?s.status:void 0)}),i.normalize(),o}function La(n){return!!(n&&n.__CANCEL__)}function Mt(n,s,l){F.call(this,n??"canceled",F.ERR_CANCELED,s,l),this.name="CanceledError"}C.inherits(Mt,F,{__CANCEL__:!0});function ka(n,s,l){const c=l.config.validateStatus;!l.status||!c||c(l.status)?n(l):s(new F("Request failed with status code "+l.status,[F.ERR_BAD_REQUEST,F.ERR_BAD_RESPONSE][Math.floor(l.status/100)-4],l.config,l.request,l))}function Rd(n){const s=/^([-+\w]{1,25})(:?\/\/|:)/.exec(n);return s&&s[1]||""}function Ad(n,s){n=n||10;const l=new Array(n),c=new Array(n);let i=0,o=0,r;return s=s!==void 0?s:1e3,function(u){const f=Date.now(),g=c[o];r||(r=f),l[i]=u,c[i]=f;let b=o,_=0;for(;b!==i;)_+=l[b++],b=b%n;if(i=(i+1)%n,i===o&&(o=(o+1)%n),f-r<s)return;const x=g&&f-g;return x?Math.round(_*1e3/x):void 0}}function Bd(n,s){let l=0;const c=1e3/s;let i=null;return function(){const r=this===!0,h=Date.now();if(r||h-l>c)return i&&(clearTimeout(i),i=null),l=h,n.apply(null,arguments);i||(i=setTimeout(()=>(i=null,l=Date.now(),n.apply(null,arguments)),c-(h-l)))}}const Co=(n,s,l=3)=>{let c=0;const i=Ad(50,250);return Bd(o=>{const r=o.loaded,h=o.lengthComputable?o.total:void 0,u=r-c,f=i(u),g=r<=h;c=r;const b={loaded:r,total:h,progress:h?r/h:void 0,bytes:u,rate:f||void 0,estimated:f&&h&&g?(h-r)/f:void 0,event:o,lengthComputable:h!=null};b[s?"download":"upload"]=!0,n(b)},l)},Nd=Ae.hasStandardBrowserEnv?function(){const s=/(msie|trident)/i.test(navigator.userAgent),l=document.createElement("a");let c;function i(o){let r=o;return s&&(l.setAttribute("href",r),r=l.href),l.setAttribute("href",r),{href:l.href,protocol:l.protocol?l.protocol.replace(/:$/,""):"",host:l.host,search:l.search?l.search.replace(/^\?/,""):"",hash:l.hash?l.hash.replace(/^#/,""):"",hostname:l.hostname,port:l.port,pathname:l.pathname.charAt(0)==="/"?l.pathname:"/"+l.pathname}}return c=i(window.location.href),function(r){const h=C.isString(r)?i(r):r;return h.protocol===c.protocol&&h.host===c.host}}():function(){return function(){return!0}}(),jd=Ae.hasStandardBrowserEnv?{write(n,s,l,c,i,o){const r=[n+"="+encodeURIComponent(s)];C.isNumber(l)&&r.push("expires="+new Date(l).toGMTString()),C.isString(c)&&r.push("path="+c),C.isString(i)&&r.push("domain="+i),o===!0&&r.push("secure"),document.cookie=r.join("; ")},read(n){const s=document.cookie.match(new RegExp("(^|;\\s*)("+n+")=([^;]*)"));return s?decodeURIComponent(s[3]):null},remove(n){this.write(n,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function Ud(n){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(n)}function Fd(n,s){return s?n.replace(/\/?\/$/,"")+"/"+s.replace(/^\/+/,""):n}function Ta(n,s){return n&&!Ud(s)?Fd(n,s):s}const Cr=n=>n instanceof ke?{...n}:n;function gt(n,s){s=s||{};const l={};function c(f,g,b){return C.isPlainObject(f)&&C.isPlainObject(g)?C.merge.call({caseless:b},f,g):C.isPlainObject(g)?C.merge({},g):C.isArray(g)?g.slice():g}function i(f,g,b){if(C.isUndefined(g)){if(!C.isUndefined(f))return c(void 0,f,b)}else return c(f,g,b)}function o(f,g){if(!C.isUndefined(g))return c(void 0,g)}function r(f,g){if(C.isUndefined(g)){if(!C.isUndefined(f))return c(void 0,f)}else return c(void 0,g)}function h(f,g,b){if(b in s)return c(f,g);if(b in n)return c(void 0,f)}const u={url:o,method:o,data:o,baseURL:r,transformRequest:r,transformResponse:r,paramsSerializer:r,timeout:r,timeoutMessage:r,withCredentials:r,withXSRFToken:r,adapter:r,responseType:r,xsrfCookieName:r,xsrfHeaderName:r,onUploadProgress:r,onDownloadProgress:r,decompress:r,maxContentLength:r,maxBodyLength:r,beforeRedirect:r,transport:r,httpAgent:r,httpsAgent:r,cancelToken:r,socketPath:r,responseEncoding:r,validateStatus:h,headers:(f,g)=>i(Cr(f),Cr(g),!0)};
11return C.forEach(Object.keys(Object.assign({},n,s)),function(g){const b=u[g]||i,_=b(n[g],s[g],g);C.isUndefined(_)&&b!==h||(l[g]=_)}),l}const Ea=n=>{const s=gt({},n);let{data:l,withXSRFToken:c,xsrfHeaderName:i,xsrfCookieName:o,headers:r,auth:h}=s;s.headers=r=ke.from(r),s.url=ya(Ta(s.baseURL,s.url),n.params,n.paramsSerializer),h&&r.set("Authorization","Basic "+btoa((h.username||"")+":"+(h.password?unescape(encodeURIComponent(h.password)):"")));let u;if(C.isFormData(l)){if(Ae.hasStandardBrowserEnv||Ae.hasStandardBrowserWebWorkerEnv)r.setContentType(void 0);else if((u=r.getContentType())!==!1){const[f,...g]=u?u.split(";").map(b=>b.trim()).filter(Boolean):[];r.setContentType([f||"multipart/form-data",...g].join("; "))}}if(Ae.hasStandardBrowserEnv&&(c&&C.isFunction(c)&&(c=c(s)),c||c!==!1&&Nd(s.url))){const f=i&&o&&jd.read(o);f&&r.set(i,f)}return s},Zd=typeof XMLHttpRequest<"u",Gd=Zd&&function(n){return new Promise(function(l,c){const i=Ea(n);let o=i.data;const r=ke.from(i.headers).normalize();let{responseType:h}=i,u;function f(){i.cancelToken&&i.cancelToken.unsubscribe(u),i.signal&&i.signal.removeEventListener("abort",u)}let g=new XMLHttpRequest;g.open(i.method.toUpperCase(),i.url,!0),g.timeout=i.timeout;function b(){if(!g)return;const x=ke.from("getAllResponseHeaders"in g&&g.getAllResponseHeaders()),k={data:!h||h==="text"||h==="json"?g.responseText:g.response,status:g.status,statusText:g.statusText,headers:x,config:n,request:g};ka(function(M){l(M),f()},function(M){c(M),f()},k),g=null}"onloadend"in g?g.onloadend=b:g.onreadystatechange=function(){!g||g.readyState!==4||g.status===0&&!(g.responseURL&&g.responseURL.indexOf("file:")===0)||setTimeout(b)},g.onabort=function(){g&&(c(new F("Request aborted",F.ECONNABORTED,i,g)),g=null)},g.onerror=function(){c(new F("Network Error",F.ERR_NETWORK,i,g)),g=null},g.ontimeout=function(){let w=i.timeout?"timeout of "+i.timeout+"ms exceeded":"timeout exceeded";const k=i.transitional||xa;i.timeoutErrorMessage&&(w=i.timeoutErrorMessage),c(new F(w,k.clarifyTimeoutError?F.ETIMEDOUT:F.ECONNABORTED,i,g)),g=null},o===void 0&&r.setContentType(null),"setRequestHeader"in g&&C.forEach(r.toJSON(),function(w,k){g.setRequestHeader(k,w)}),C.isUndefined(i.withCredentials)||(g.withCredentials=!!i.withCredentials),h&&h!=="json"&&(g.responseType=i.responseType),typeof i.onDownloadProgress=="function"&&g.addEventListener("progress",Co(i.onDownloadProgress,!0)),typeof i.onUploadProgress=="function"&&g.upload&&g.upload.addEventListener("progress",Co(i.onUploadProgress)),(i.cancelToken||i.signal)&&(u=x=>{g&&(c(!x||x.type?new Mt(null,n,g):x),g.abort(),g=null)},i.cancelToken&&i.cancelToken.subscribe(u),i.signal&&(i.signal.aborted?u():i.signal.addEventListener("abort",u)));const _=Rd(i.url);if(_&&Ae.protocols.indexOf(_)===-1){c(new F("Unsupported protocol "+_+":",F.ERR_BAD_REQUEST,n));return}g.send(o||null)})},Hd=(n,s)=>{let l=new AbortController,c;const i=function(u){if(!c){c=!0,r();const f=u instanceof Error?u:this.reason;l.abort(f instanceof F?f:new Mt(f instanceof Error?f.message:f))}};let o=s&&setTimeout(()=>{i(new F(`timeout ${s} of ms exceeded`,F.ETIMEDOUT))},s);const r=()=>{n&&(o&&clearTimeout(o),o=null,n.forEach(u=>{u&&(u.removeEventListener?u.removeEventListener("abort",i):u.unsubscribe(i))}),n=null)};n.forEach(u=>u&&u.addEventListener&&u.addEventListener("abort",i));const{signal:h}=l;return h.unsubscribe=r,[h,()=>{o&&clearTimeout(o),o=null}]},Vd=function*(n,s){let l=n.byteLength;if(!s||l<s){yield n;return}let c=0,i;for(;c<l;)i=c+s,yield n.slice(c,i),c=i},qd=async function*(n,s,l){for await(const c of n)yield*Vd(ArrayBuffer.isView(c)?c:await l(String(c)),s)},Pr=(n,s,l,c,i)=>{const o=qd(n,s,i);let r=0;return new ReadableStream({type:"bytes",async pull(h){const{done:u,value:f}=await o.next();if(u){h.close(),c();return}let g=f.byteLength;l&&l(r+=g),h.enqueue(new Uint8Array(f))},cancel(h){return c(h),o.return()}},{highWaterMark:2})},Sr=(n,s)=>{const l=n!=null;return c=>setTimeout(()=>s({lengthComputable:l,total:n,loaded:c}))},Fo=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",Ca=Fo&&typeof ReadableStream=="function",Di=Fo&&(typeof TextEncoder=="function"?(n=>s=>n.encode(s))(new TextEncoder):async n=>new Uint8Array(await new Response(n).arrayBuffer())),Wd=Ca&&(()=>{let n=!1;
11const s=new Request(Ae.origin,{body:new ReadableStream,method:"POST",get duplex(){return n=!0,"half"}}).headers.has("Content-Type");return n&&!s})(),Mr=64*1024,Ii=Ca&&!!(()=>{try{return C.isReadableStream(new Response("").body)}catch{}})(),Po={stream:Ii&&(n=>n.body)};Fo&&(n=>{["text","arrayBuffer","blob","formData","stream"].forEach(s=>{!Po[s]&&(Po[s]=C.isFunction(n[s])?l=>l[s]():(l,c)=>{throw new F(`Response type '${s}' is not supported`,F.ERR_NOT_SUPPORT,c)})})})(new Response);const Yd=async n=>{if(n==null)return 0;if(C.isBlob(n))return n.size;if(C.isSpecCompliantForm(n))return(await new Request(n).arrayBuffer()).byteLength;if(C.isArrayBufferView(n))return n.byteLength;if(C.isURLSearchParams(n)&&(n=n+""),C.isString(n))return(await Di(n)).byteLength},Xd=async(n,s)=>{const l=C.toFiniteNumber(n.getContentLength());return l??Yd(s)},Kd=Fo&&(async n=>{let{url:s,method:l,data:c,signal:i,cancelToken:o,timeout:r,onDownloadProgress:h,onUploadProgress:u,responseType:f,headers:g,withCredentials:b="same-origin",fetchOptions:_}=Ea(n);f=f?(f+"").toLowerCase():"text";let[x,w]=i||o||r?Hd([i,o],r):[],k,O;const M=()=>{!k&&setTimeout(()=>{x&&x.unsubscribe()}),k=!0};let Z;try{if(u&&Wd&&l!=="get"&&l!=="head"&&(Z=await Xd(g,c))!==0){let _e=new Request(s,{method:"POST",body:c,duplex:"half"}),He;C.isFormData(c)&&(He=_e.headers.get("content-type"))&&g.setContentType(He),_e.body&&(c=Pr(_e.body,Mr,Sr(Z,Co(u)),null,Di))}C.isString(b)||(b=b?"cors":"omit"),O=new Request(s,{..._,signal:x,method:l.toUpperCase(),headers:g.normalize().toJSON(),body:c,duplex:"half",withCredentials:b});let R=await fetch(O);const fe=Ii&&(f==="stream"||f==="response");if(Ii&&(h||fe)){const _e={};["status","statusText","headers"].forEach(zt=>{_e[zt]=R[zt]});const He=C.toFiniteNumber(R.headers.get("content-length"));R=new Response(Pr(R.body,Mr,h&&Sr(He,Co(h,!0)),fe&&M,Di),_e)}f=f||"text";let ge=await Po[C.findKey(Po,f)||"text"](R,n);return!fe&&M(),w&&w(),await new Promise((_e,He)=>{ka(_e,He,{data:ge,headers:ke.from(R.headers),status:R.status,statusText:R.statusText,config:n,request:O})})}catch(R){throw M(),R&&R.name==="TypeError"&&/fetch/i.test(R.message)?Object.assign(new F("Network Error",F.ERR_NETWORK,n,O),{cause:R.cause||R}):F.from(R,R&&R.code,n,O)}}),Ri={http:ud,xhr:Gd,fetch:Kd};C.forEach(Ri,(n,s)=>{if(n){try{Object.defineProperty(n,"name",{value:s})}catch{}Object.defineProperty(n,"adapterName",{value:s})}});const zr=n=>`- ${n}`,$d=n=>C.isFunction(n)||n===null||n===!1,Pa={getAdapter:n=>{n=C.isArray(n)?n:[n];const{length:s}=n;let l,c;const i={};for(let o=0;o<s;o++){l=n[o];let r;if(c=l,!$d(l)&&(c=Ri[(r=String(l)).toLowerCase()],c===void 0))throw new F(`Unknown adapter '${r}'`);if(c)break;i[r||"#"+o]=c}if(!c){const o=Object.entries(i).map(([h,u])=>`adapter ${h} `+(u===!1?"is not supported by the environment":"is not available in the build"));let r=s?o.length>1?`since : 12`+o.map(zr).join(` 13`):" "+zr(o[0]):"as no adapter specified";throw new F("There is no suitable adapter to dispatch the request "+r,"ERR_NOT_SUPPORT")}return c},adapters:Ri};function Si(n){if(n.cancelToken&&n.cancelToken.throwIfRequested(),n.signal&&n.signal.aborted)throw new Mt(null,n)}function Or(n){return Si(n),n.headers=ke.from(n.headers),n.data=Pi.call(n,n.transformRequest),["post","put","patch"].indexOf(n.method)!==-1&&n.headers.setContentType("application/x-www-form-urlencoded",!1),Pa.getAdapter(n.adapter||$t.adapter)(n).then(function(c){return Si(n),c.data=Pi.call(n,n.transformResponse,c),c.headers=ke.from(c.headers),c},function(c){return La(c)||(Si(n),c&&c.response&&(c.response.data=Pi.call(n,n.transformResponse,c.response),c.response.headers=ke.from(c.response.headers))),Promise.reject(c)})}const Sa="1.7.2",Yi={};["object","boolean","number","function","string","symbol"].forEach((n,s)=>{Yi[n]=function(c){return typeof c===n||"a"+(s<1?"n ":" ")+n}});const Dr={};Yi.transitional=function(s,l,c){function i(o,r){return"[Axios v"+Sa+"] Transitional option '"+o+"'"+r+(c?". "+c:"")}return(o,r,h)=>{if(s===!1)throw new F(i(r," has been removed"+(l?" in "+l:"")),F.ERR_DEPRECATED);return l&&!Dr[r]&&(Dr[r]=!0,console.warn(i(r," has been deprecated since v"+l+" and will be removed in the near future"))),s?s(o,r,h):!0}};function Jd(n,s,l){if(typeof n!="object")throw new F("options must be an object",F.ERR_BAD_OPTION_VALUE);const c=Object.keys(n);let i=c.length;for(;i-- >0;){const o=c[i],r=s[o];if(r){const h=n[o],u=h===void 0||r(h,o,n);if(u!==!0)throw new F("option "+o+" must be "+u,F.ERR_BAD_OPTION_VALUE);continue}if(l!==!0)throw new F("Unknown option "+o,F.ERR_BAD_OPTION)}}const Ai={assertOptions:Jd,validators:Yi},nt=Ai.validators;class ft{constructor(s){this.defaults=s,this.interceptors={request:new Tr,response:new Tr}}async request(s,l){try{return await this._request(s,l)}catch(c){if(c instanceof Error){let i;Error.captureStackTrace?Error.captureStackTrace(i={}):i=new Error;const o=i.stack?i.stack.replace(/^.+\n/,""):"";try{c.stack?o&&!String(c.stack).endsWith(o.replace(/^.+\n.+\n/,""))&&(c.stack+=` 14`+o):c.stack=o}catch{}}throw c}}_request(s,l){typeof s=="string"?(l=l||{},l.url=s):l=s||{},l=gt(this.defaults,l);const{transitional:c,paramsSerializer:i,headers:o}=l;c!==void 0&&Ai.assertOptions(c,{silentJSONParsing:nt.transitional(nt.boolean),forcedJSONParsing:nt.transitional(nt.boolean),clarifyTimeoutError:nt.transitional(nt.boolean)}
vendor: 2,599 bytes, line 14
14,!1),i!=null&&(C.isFunction(i)?l.paramsSerializer={serialize:i}:Ai.assertOptions(i,{encode:nt.function,serialize:nt.function},!0)),l.method=(l.method||this.defaults.method||"get").toLowerCase();let r=o&&C.merge(o.common,o[l.method]);o&&C.forEach(["delete","get","head","post","put","patch","common"],w=>{delete o[w]}),l.headers=ke.concat(r,o);const h=[];let u=!0;this.interceptors.request.forEach(function(k){typeof k.runWhen=="function"&&k.runWhen(l)===!1||(u=u&&k.synchronous,h.unshift(k.fulfilled,k.rejected))});const f=[];this.interceptors.response.forEach(function(k){f.push(k.fulfilled,k.rejected)});let g,b=0,_;if(!u){const w=[Or.bind(this),void 0];for(w.unshift.apply(w,h),w.push.apply(w,f),_=w.length,g=Promise.resolve(l);b<_;)g=g.then(w[b++],w[b++]);return g}_=h.length;let x=l;for(b=0;b<_;){const w=h[b++],k=h[b++];try{x=w(x)}catch(O){k.call(this,O);break}}try{g=Or.call(this,x)}catch(w){return Promise.reject(w)}for(b=0,_=f.length;b<_;)g=g.then(f[b++],f[b++]);return g}getUri(s){s=gt(this.defaults,s);const l=Ta(s.baseURL,s.url);return ya(l,s.params,s.paramsSerializer)}}C.forEach(["delete","get","head","options"],function(s){ft.prototype[s]=function(l,c){return this.request(gt(c||{},{method:s,url:l,data:(c||{}).data}))}});C.forEach(["post","put","patch"],function(s){function l(c){return function(o,r,h){return this.request(gt(h||{},{method:s,headers:c?{"Content-Type":"multipart/form-data"}:{},url:o,data:r}))}}ft.prototype[s]=l(),ft.prototype[s+"Form"]=l(!0)});class Xi{constructor(s){if(typeof s!="function")throw new TypeError("executor must be a function.");let l;this.promise=new Promise(function(o){l=o});const c=this;this.promise.then(i=>{if(!c._listeners)return;let o=c._listeners.length;for(;o-- >0;)c._listeners[o](i);c._listeners=null}),this.promise.then=i=>{let o;const r=new Promise(h=>{c.subscribe(h),o=h}).then(i);return r.cancel=function(){c.unsubscribe(o)},r},s(function(o,r,h){c.reason||(c.reason=new Mt(o,r,h),l(c.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(s){if(this.reason){s(this.reason);return}this._listeners?this._listeners.push(s):this._listeners=[s]}unsubscribe(s){if(!this._listeners)return;const l=this._listeners.indexOf(s);l!==-1&&this._listeners.splice(l,1)}static source(){let s;return{token:new Xi(function(i){s=i}),cancel:s}}}function Qd(n){return function(l){return n.apply(null,l)}}function eh(n){return C.isObject(n)&&n.isAxiosError===!0}const Bi={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,Parti
14alContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Bi).forEach(([n,s])=>{Bi[s]=n});function Ma(n){const s=new ft(n),l=la(ft.prototype.request,s);return C.extend(l,ft.prototype,s,{allOwnKeys:!0}),C.extend(l,s,null,{allOwnKeys:!0}),l.create=function(i){return Ma(gt(n,i))},l}const ie=Ma($t);ie.Axios=ft;ie.CanceledError=Mt;ie.CancelToken=Xi;ie.isCancel=La;ie.VERSION=Sa;ie.toFormData=Uo;ie.AxiosError=F;ie.Cancel=ie.CanceledError;ie.all=function(s){return Promise.all(s)};ie.spread=Qd;ie.isAxiosError=eh;ie.mergeConfig=gt;ie.AxiosHeaders=ke;ie.formToJSON=n=>wa(C.isHTMLForm(n)?new FormData(n):n);ie.getAdapter=Pa.getAdapter;ie.HttpStatusCode=Bi;ie.default=ie;class th{async executeRequest(s){const l=ie.create(),c=ie.CancelToken.source();ee.cancellationToken=c;try{return(await l.request({url:s.apiURL,method:s.method,data:s.body,headers:s.headers,cancelToken:c.token})).data}catch(i){if(ie.isCancel(i))window.dispatchEvent(new Event("triggerMapRefresh"));else if(i.code==401)window.localStorage.clear(),window.location.reload();else return oe.message=at.DEFAULT,oe.type="danger",{status:"Failure",message:"failure"}}}}const Ki=new th;var So;(function(n){n.Yes="Yes",n.No="No"})(So||(So={}));var ce;(function(n){n.None="none",n.Block="block"})(ce||(ce={}));const{state:he,onChange:oh}=et({vrsStationsLayerId:null,rtxPolygonLayerId:null,smartSelectLayerGroup:y.featureGroup(),freeBaseStationsLayerGroup:y.markerClusterGroup(),vrsBaseStationLayerGroup:y.markerClusterGroup()});oh("vrsStationsLayerId",n=>{console.log(n),window.dispatchEvent(new Event("layerToggleInit"))});const ih={baseStationPopupHtml:"<dl><dt style='font-weight: 600'>BaseStationID</dt><dd>Lat: latValue°</dd><dd>Long: lngValue°</dd></dl>"},Ir=(n,s)=>{var l="",c=new XMLHttpRequest;return c.open("GET",n,!1),c.onreadystatechange=function(){if(c.readyState===4&&(c.status===200||c.status==0)){var i=c.responseText;l=i}},c.send(null),l=s?za(l,s):l,l},za=(n,s)=>(Object.keys(s).forEach(function(l){n=n.replace(l,s[l])}),n),Eo=n=>{let s="";return s=za(ih.baseStationPopupHtml,n),s};class nh{plotNetworkPolygonAndStations(s,l){var c=s.quality.qualityIndex,i=c==H.QUALITY_INDEX_FAIL,o=c==H.QUALITY_INDEX_MARGINAL,r=i?"red":o?"yellow":"green",h=i?"red":o?"orange":"green";let u=this.drawNetwork(s.convexHullPoints.map(g=>g.coordinates),r);this.plotNetworkStations(l,{icon:"flag",spin:!1,iconColor:h});let f={id:"Virtual Base Station",coordinates:[s.quality.vrsPosition.lat,s.quality.vrsPosition.lng]};return this.plotNetworkStations([f],{icon:"star",spin:!0,iconColor:h}),u}plotNetworkStations(s,l){var c=y.AwesomeMarkers.icon({icon:l.icon,spin:!0,markerColor:l.iconColor,prefix:"glyphicon"});s.forEach(i=>{const o={BaseStationID:i.id,lngValue:i.coordinates[1],latValue:i.coordinates[0]};he.smartSelectLayerGroup.addLayer(y.marker(i.coordinates,{icon:c}).bindPopup(Eo(o)).setZIndexOffset(999))})}getNetworkStationsFeatures(s){let l=[];return s.forEach(c=>{l.push({type:"Feature",properties:{type:"base-station"},geometry:{type:"Point",coordinates:c}})}),l}drawNetwork(s,l){let c=y.polygon(s,{color:l}).addTo(V._map);return he.smartSelectLayerGroup.addLayer(c),c}getNetworkDetails(s,l){var c={firstBestProcessingOption:s.firstBestProcessingMode,secondBestProcessingOption:s.secondBestProcessingMode,qualityIndex:s.qual
14ity.qualityIndex,maxBaselineToNearSt:s.quality.maxBLineToNearStn,maxBaselineToASB:s.quality.maxBLineToASB,interStationDist:s.quality.interStationDist,stationsUsed:s.quality.numStations,trajectoryInsideNetwork:s.quality.insidePolygon?So.Yes:So.No,isSmartBaseConsidered:ce.Block,disclaimer:"Actual SmartBase⢠results may vary from preview.",isPolygonMessageDisplayed:ce.None,isWarningMessageDisplayed:ce.None,popupCoordinates:[s.quality.vrsPosition.lng,s.quality.vrsPosition.lat],singleBaseDisplay:s.secondBestProcessingMode==H.SINGLEBASE_PROCESSING?"block":"none",VRSNowDisclaimerDisplay:re.isVrsIncluded?"block":"none",VRSNowDisclaimer:'Usage of Trimble VRSNow stations require a valid subscription. Please contact [email protected] or go to "https://positioningservices.trimble.com/en/contact" if you have questions.',isNetworkDetected:!0};return s.quality.failCondition&&(c.isNetworkDetected=!1,c.isWarningMessageDisplayed=ce.Block,c.warningMessage="Warning : The SmartBase⢠is poor because "+s.quality.failCondition+" Results will not be better than downloading the nearest base station."),l=="Polygon"&&(c.isPolygonMessageDisplayed=ce.Block,c.polygonWarningMessage=" For best results, use a polyline or import a trajectory file."),c}handleSingleBaseBaseStationPlotting(s){this.plotNetworkStations([s.singleBaseBaseStation],{icon:"flag",spin:!1,iconColor:"cadetblue"});let l=y.circle(Ce._trajectoryCenter,{stroke:!0,radius:3e4,color:"#474747",fillColor:"#474747",fillOpacity:.2,dashArray:[7,10],weight:3});return he.smartSelectLayerGroup.addLayer(l),l}handleStaticResponseStationPlotting(s){this.plotNetworkStations([s.nearestBaseStation],{icon:"flag",spin:!1,iconColor:"red"});let l=y.circle(Ce._trajectoryCenter,{stroke:!0,radius:3e4,color:"#FFFF00",fillColor:"#FFFF00",fillOpacity:.2,dashArray:[7,10],weight:3});return he.smartSelectLayerGroup.addLayer(l),l}}const wo=new nh,$e={LINESTRING:"LineString",POLYGON:"Polygon",NETWORK:{STATIONS:{LAYER:"SmartBaseNetworkPointsLayer",SOURCE:"SmartBaseNetworkPointsSource"},VIRTUAL_BASE_STATION:{LAYER:"SmartBaseNetworkVirtualBaseStationLayer",SOURCE:"SmartBaseNetworkVirtualBaseStationSource"},SINGLEBASE_BASE_STATION:{LAYER:"SingleBaseBaseStationLayer",SOURCE:"SingleBaseBaseStationSource"},SINGLEBASE_BASE_STATION_RADIUS_POLYGON:{POLYGON_FILL_LAYER:"SingleBaseBaseStationRadiusLayer",POLYGON_OUTLINE_LAYER:"SingleBaseBaseStationRadiusOutlineLayer",SOURCE:"SingleBaseBaseStationRadiusLayerSource"},POLYGON:{POLYGON_FILL_LAYER:"SmartBaseNetworkPolygonLayer",POLYGON_OUTLINE_LAYER:"SmartBaseNetworkPolygonOutlineLayer",SOURCE:"SmartBaseNetworkPolygonSource"}},BASE_STATIONS:{FREE:{TYPE:"FREE",SOURCE:"FreeBaseStationSource",CLUSTERED_LAYER:"FreeBaseStationsClusteredLayer",UNCLUSTERED_LAYER:"FreeBaseStationsUnClusteredLayer",CLUSTER_COUNT_LAYER:"FreeBaseStationsUnClusterCountLayer"},VRS:{TYPE:"VRS",SOURCE:"VRSBaseStationSource",CLUSTERED_LAYER:"VRSBaseStationsClusteredLayer",UNCLUSTERED_LAYER:"VRSBaseStationsUnClusteredLayer",CLUSTER_COUNT_LAYER:"VRSBaseStationsUnClusterCountLayer"}},TRAJECTORY:{LINE:{source:"trajectoryLineSource",layer:"trajectoryLineLayer"},POINT:{source:"trajectoryPointSource",layer:"trajectoryPointLayer"},POLYGON:{source:"trajectoryPolygonSource",layer:"trajectoryPolygonLayer",fillLayer:"trajectoryPolygonFillLayer"},UPLOADED_POINT:{source:"uploadedTrajectorySource",layer:"uploadedTrajectoryPointsLayer"},UPLOADED_LINE:{source:"uploadedTrajectorySource",layer:"uploadedTrajectoryLineLayer"},UPLOADED_CIRCLE:{source:"uploadedTrajectorySource",layer:"uploadedTrajectoryCircleLayer"}},RTX_POLYGON:{US:{POLYGON_FILL_LAYER:"USRTXPolygonFillLayer",POLYGON_OUTLINE_LAYER:"USRTXPolygonOutlineLayer",SOURCE:"USRTXPolygonSource"},EU:{POLYGON_FILL_LAYER:"EURTXPolygonFillLayer",POLYGON_OUTLINE_LAYER:"EURTXPolygonOutlineLayer",SOURCE:"EURTXPolygonSource"}},LAYER_TOGGLE:{LABEL:{VRS:"Trimble Augmentation Stations",RTX:"RTX Fast Regions"}}};class rh{addPointLayer(s){let l=y.marker(s).setZIndexOffset(999);he.smartSelectLayerGroup.addLayer(l)}addLineLayer(s,l){this.addDotLayer(s,l);var c=y.polyline(s,Object.assign(Object.assign({},l),{smoothFactor:2})).addTo(V._map);return he.smartSelectLayerGroup.addLayer(c),c}
14addDotLayer(s,l){s.forEach(c=>{var i=y.circleMarker(c,{color:l.color,radius:2,fill:!0,fillOpacity:.3});he.smartSelectLayerGroup.addLayer(i).addTo(V._map)})}}class ah extends rh{constructor(){super(...arguments),this._drawnTrajectoryDetails={source:[],layer:[]},this.removeTrajectoryLayersAndSource=()=>{he.smartSelectLayerGroup.clearLayers()},this.drawTrajectory=(s,l)=>({[H.TRAJECTORY_POINT]:()=>this.addTrajectoryPointLayer(l[0]),[H.TRAJECTORY_LINE]:()=>this.addTrajectoryLineLayer(l)})[s]()}addTrajectoryPointLayer(s){return this.addPointLayer(s),this._drawnTrajectoryDetails.layer.push($e.TRAJECTORY.POINT.layer),this._drawnTrajectoryDetails.source.push($e.TRAJECTORY.POINT.source),$e.TRAJECTORY.POINT.layer}addTrajectoryLineLayer(s){let l={color:"#d51ddb",dashArray:[7,10],weight:3},c=this.addLineLayer(s,l);return this._drawnTrajectoryDetails.layer.push($e.TRAJECTORY.LINE.layer),this._drawnTrajectoryDetails.source.push($e.TRAJECTORY.LINE.source),c}}const Mo=new ah;class sh{constructor(){this._networkDetails=null,this._trajectoryCoordinates=null,this._trajectoryCenter=null,this._vehicleType=null}performSmartBaseOperations(s,l,c){var i,o,r,h;let u=c,f;var g=s.smartSelectResult;this._vehicleType=(i=g.vehicleType)!==null&&i!==void 0?i:null,this._networkDetails=g.secondBestProcessingMode==H.SMARTBASE_PROCESSING?wo.getNetworkDetails(g,l):this.getProcessingModes(g);let b=this.getSingleBaseDetails(g);this._networkDetails=Object.assign(Object.assign({},this._networkDetails),b),this._networkDetails.singleSmartBaseDisplay=g.secondBestProcessingMode!="None"?"block":"none",this.setFirstTrajectoryDurationAndRecommendedGnssEnv(g),this.setSecondTrajectoryDurationAndRecommendedGnssEnv(g),s.smartSelectResult.trajectoryCenter!=null&&(this._trajectoryCenter=[s.smartSelectResult.trajectoryCenter[0],s.smartSelectResult.trajectoryCenter[1]]),this._networkDetails.isFirstProcessingMessageAvailable=g.firstBestProcessingMessage?ce.Block:ce.None,this._networkDetails.isSecondProcessingMessageAvailable=g.secondBestProcessingMessage?ce.Block:ce.None,this._networkDetails.firstProcessingMessage=(o=g.firstBestProcessingMessage)!==null&&o!==void 0?o:null,this._networkDetails.secondProcessingMessage=(r=g.secondBestProcessingMessage)!==null&&r!==void 0?r:null,this._networkDetails.vehicleType=this._vehicleType?H.VEHICLE_TYPE_MESSAGE[g.vehicleType]:null,this._networkDetails.isVehicleTypeAvailable=g.vehicleType?ce.Block:ce.None,this._networkDetails.isTrajectoryStatic=g.isTrajectoryStatic?ce.Block:ce.None,this._networkDetails.isSmartSelectDetailsAvailable=g.isTrajectoryStatic?ce.None:ce.Block,this._networkDetails.isNearestBaseStationAvailable=g.nearestBaseStationDistance?ce.Block:ce.None,this._networkDetails.nearestBaseStationDistance=g.nearestBaseStationDistance,this._networkDetails.nearestBaseStationName=(h=g.nearestBaseStation)===null||h===void 0?void 0:h.id,this.flyToBounds(s),V._map.once("zoomend",()=>{var _,x;s.trajectoryCoordinates!=null?(this._trajectoryCoordinates||(f=Mo.drawTrajectory(l,s.trajectoryCoordinates)),this._trajectoryCoordinates=s.trajectoryCoordinates,this._vehicleType=(_=g.vehicleType)!==null&&_!==void 0?_:null):this._trajectoryCoordinates&&(f=Mo.drawTrajectory(l,this._trajectoryCoordinates)),(g.secondBestProcessingMode==H.SMARTBASE_PROCESSING||g.firstBestProcessingMode==H.SMARTBASE_PROCESSING)&&(u=wo.plotNetworkPolygonAndStations(g,g.network),re.smartStations=g.quality.numStations),(g.secondBestProcessingMode==H.SINGLEBASE_PROCESSING||g.firstBestProcessingMode==H.SINGLEBASE_PROCESSING)&&(u=wo.handleSingleBaseBaseStationPlotting(g)),g.isTrajectoryStatic&&g.nearestBaseStationDistance&&(u=wo.handleStaticResponseStationPlotting(g)),window.dispatchEvent(new CustomEvent("tgapResultRetrieval",{detail:this._networkDetails})),V.drawPopup((x=s.trajectoryCoordinates)!==null&&x!==void 0?x:V._trajectoryCoords,l,u??f,this._networkDetails)})}setFirstTrajectoryDurationAndRecommendedGnssEnv(s){let l=this.getTrajectoryDurationAndRecommendedGnssEnv(s.firstBestProcessingMode);l!=null&&(this._networkDetails.firstBestTrajectoryDuration=l.trajectoryDuration,this._networkDetails.firstBestRecommendedGnssEnvironment=l.recommendedGnssEnvironment)}setSecondTrajectoryDurationAndRecommendedGnssEnv(s){if(s.secondBestProcessingMode=="None")return;let l=this.getTrajectoryDurationAndRecommendedGnssEnv(s.secondBestProcessingMode);l!=null&&(this._networkDetails.secondBestTrajectoryDuration=l.trajectoryDuration,this._networkDetails.secondBestRecommendedGnssEnvironment=l.recommendedGnssEnvironment)}getTrajectoryDurationAndRecommendedGnssEnv(s){let l=null;return s==H.SINGLEBASE_PROCESSING||s==H.SMARTBASE_PROCESSING?l={trajectoryDuration:H.SINGLE_SMART_BASE_TRAJECTORY_DURATION,recommendedGnssEnvironment:H.SINGLE_SMART_BASE_GNSS_ENVIRONMENT}:s==H.PPRTX_FAST||s==H.PPRTX2_FAST?l={trajectoryDuration:H.PPRTX_FAST_TRAJECTORY_DURATION,recommendedGnssEnvironment:H.PPRTX_FAST_GNSS_ENVIRONMENT}:(s==H.PPRTX_STD||s==H.PPRTX2_STD)&&(l={trajectoryDuration:H.PPRTX_STD_TRAJECTORY_DURATION,recommendedGnssEnvironment:H.PPRTX_STD_GNSS_ENVIRONMENT}),l}
14getTrajectoryOrNetworkBounds(s){return y.polyline(s).getBounds()}getSingleBaseBounds(){let s=y.circle(Ce._trajectoryCenter,{stroke:!0,radius:3e4,color:"#FFFF00",fillColor:"#FFFF00",fillOpacity:.2,dashArray:[7,10],weight:3});s.addTo(V._map);let l=s.getBounds();return s.remove(),l}getStaticTrajectoryBounds(){let s=y.circle(Ce._trajectoryCenter,{stroke:!0,radius:1e5,color:"#FFFF00",fillColor:"#FFFF00",fillOpacity:.2,dashArray:[7,10],weight:3});s.addTo(V._map);let l=s.getBounds();return s.remove(),l}flyToBounds(s){var l=s.smartSelectResult;let c;l.isTrajectoryStatic&&l.nearestBaseStationDistance?c=this.getStaticTrajectoryBounds():l.secondBestProcessingMode==H.SINGLEBASE_PROCESSING||l.firstBestProcessingMode==H.SINGLEBASE_PROCESSING?c=this.getSingleBaseBounds():l.network?(c=l.network.map(i=>i.coordinates),c=this.getTrajectoryOrNetworkBounds(c)):s.trajectoryCoordinates?c=this.getTrajectoryOrNetworkBounds(s.trajectoryCoordinates):c=y.latLngBounds(V._trajectoryCoords,V._trajectoryCoords),V._map.flyToBounds(c)}getProcessingModes(s){var l;return{isNetworkDetected:!1,firstBestProcessingOption:s.firstBestProcessingMode,secondBestProcessingOption:(l=s.secondBestProcessingMode)!==null&&l!==void 0?l:H.NONE,isSmartBaseConsidered:ce.None,VRSNowDisclaimerDisplay:re.isVrsIncluded?"block":"none",VRSNowDisclaimer:H.VRS_DISCLAIMER}}getSingleBaseDetails(s){var l;return s.secondBestProcessingMode==H.SINGLEBASE_PROCESSING||s.firstBestProcessingMode==H.SINGLEBASE_PROCESSING?{singleBaseDisplay:"block",singleBaseStationName:(l=s.singleBaseBaseStation)===null||l===void 0?void 0:l.id,singleBaseStationDistance:s.singleBaseBaseStationDistance}:{singleBaseDisplay:"none"}}async performSmartSelectOperations(s,l,c){var i,o=null,r=new Headers;if(r.append("Authorization",`Bearer ${window.localStorage.getItem("accessToken")}`),this._trajectoryCoordinates){let f=this.getTrajectoryRequestObject();o=JSON.stringify(f),r.append("Content-Type","application/json; charset=UTF-8")}else s?.[0]instanceof File?(o=new FormData,Array.from(s).forEach(f=>{o.append("trajectoryFiles",f)}),o.append("includeVrs",re.isVrsIncluded),o.append("includeRtx",re.isRtxIncluded)):(o=JSON.stringify(s),r.append("Content-Type","application/json; charset=UTF-8"));let h={apiURL:Hi.runSmartSelectUrl,method:"POST",body:o,headers:r};var u=await Ki.executeRequest(h);return u.status=="Success"?(this.smartBaseResult=u.body.smartbaseResult,l=l??(((i=u.body.trajectoryCoordinates)===null||i===void 0?void 0:i.length)==1?"marker":"polyline"),this.performSmartBaseOperations(u.body,l,c)):(oe.message=at.DEFAULT,oe.type="danger",ee.shouldAddDrawTool=!1,window.dispatchEvent(new Event("triggerMapRefresh"))),u.body}getTrajectoryRequestObject(){let s=[];return this._trajectoryCoordinates.forEach(c=>{s.push({lng:parseFloat(c[1]),lat:parseFloat(c[0]),alt:100})}),{includeVrs:re.isVrsIncluded,includeRtx:re.isRtxIncluded,trajectory:s,vehicleType:this._vehicleType}}}const Ce=new sh;class lh{constructor(){this._trajectoryRequestObject=[]}getTrajectoryObjectForRequest(){this._trajectoryRequestObject=[];let s=V._trajectoryShape,l=V._trajectoryCoords;if(s==H.TRAJECTORY_POLYGON||s==H.TRAJECTORY_LINE){let i=[];i=s==H.TRAJECTORY_POLYGON?l[0]:l,i.forEach(o=>{this._trajectoryRequestObjectBuilder(o)}),this._trajectoryRequestObject=i}else if(s==H.TRAJECTORY_POINT){let i=[l.lng,l.lat];this._trajectoryRequestObjectBuilder(i)}return{includeVrs:re.isVrsIncluded,includeRtx:re.isRtxIncluded,trajectory:this._trajectoryRequestObject}}_trajectoryRequestObjectBuilder(s){this._trajectoryRequestObject.push({lat:parseFloat(s[1]),lng:parseFloat(s[0]),alt:100})}}const ch=new lh;class dh{async onDrawCreate(){var s=ch.getTrajectoryObjectForRequest();try{var l=await Ce.performSmartSelectOperations(s,V._trajectoryShape,V._trajectoryLayerId);return l}catch(c){console.log(at.DEFAULT,c),oe.message=at.DEFAULT,oe.type="danger"}}}const hh=new dh,ph=(n,s)=>({[H.TRAJECTORY_POINT]:()=>uh(n),[H.TRAJECTORY_POLYGON]:()=>fh(n),[H.TRAJECTORY_LINE]:()=>gh(n),virtualBaseStation:()=>n})[s](),uh=n=>[n.lat,n.lng],fh=n=>{var s=[],l=[],c=[];n[0].forEach(u=>{l.push(parseFloat(u[0])),c.push(parseFloat(u[1]))});var i=Math.min(...l),o=Math.max(...l),r=Math.min(...c),h=Math.max(...c);return s[0]=i+(o-i)/2,s[1]=r+(h-r)/2,s},gh=n=>
14n[((n.length-1)/2).toFixed()],{state:Pt,onChange:Tp}=et({isImportPopupButtonToBeShown:!0});class mh{constructor(){this._center=y.latLng([45,-10]),this._zoomLevel=2.5,this._minZoomLevel=1,this._htmlPath={networkDetailsPopup:"",previewPopup:""},this.drawPopup=(s,l,c,i={})=>{this._networkDetails=i,this._popupCoordinates=ph(s,l);const o=Object.keys(this._networkDetails).length==0?Ir(this._htmlPath.previewPopup,null):Ir(this._htmlPath.networkDetailsPopup,this._networkDetails);ee.hideResultPopup||(c.bindPopup(o).addTo(this._map),c.openPopup(),c.on("popupopen",()=>{this._previewSmartBasePopUp=c.getPopup()})),this._trajectoryCoords=s.length?s:this._trajectoryCoords,this._trajectoryLayerId=c,this._trajectoryShape=l,Object.keys(this._networkDetails).length==0&&document.getElementById("previewPopupButton").addEventListener("click",()=>{this._previewSmartBasePopUp.remove()})},this.resetTrajectoryDetails=()=>{this._trajectoryCoords=null,this._trajectoryLayerId="",this._trajectoryShape="",this._networkDetails=null,Ce._trajectoryCoordinates=null}}async mapInitialization(s,l){var c,i,o;this._mapSetterOptions={center:(c=l?.center)!==null&&c!==void 0?c:this._center,zoom:(i=l?.zoom)!==null&&i!==void 0?i:this._zoomLevel,minzoom:(o=l?.minZoom)!==null&&o!==void 0?o:this._minZoomLevel},s&&(this._mapElement=s,this._map=y.map(s,this._mapSetterOptions)),await this.loadOtherMapFeatures(),he.smartSelectLayerGroup.addTo(this._map)}async loadOtherMapFeatures(){const s=new Ao;ee.hideButtons||s.addTo(this._map),ee.hideButtons||this.addDrawTool(),y.control.scale({imperial:!1,position:"bottomright"}).addTo(this._map),this._map.on("draw:created",async l=>{this.handleDrawCreated(l)})}handleDrawCreated(s={}){var l;this._drawnLayerDetails?s=this._drawnLayerDetails:this._drawnLayerDetails=s;let c=s?.layer;var i=s.layerType;this._trajectoryLayerId=he.smartSelectLayerGroup.addLayer(c);let o=(l=s.layer._latlngs)!==null&&l!==void 0?l:s.layer._latlng;this._trajectoryCoords=o,this._trajectoryShape=i,Pt.isImportPopupButtonToBeShown=!1,window.dispatchEvent(new Event("onDrawCreated"))}async onPreviewClicked(){var s,l,c;let i=await hh.onDrawCreate();re.smartStations=(c=(l=(s=i?.smartSelectResult)===null||s===void 0?void 0:s.quality)===null||l===void 0?void 0:l.numStations)!==null&&c!==void 0?c:0}removeDrawTool(){this._drawControl&&this._map.removeControl(this._drawControl)}setDefaultView(s,l){let c=s??this._center,i=l??this._zoomLevel;
14this._map.setView(c,i)}addDrawTool(){this._drawControl=new y.Control.Draw({position:"topleft",draw:{rectangle:!1,circle:!1,circlemarker:!1,polygon:{shapeOptions:{color:"#FF00FF"}},polyline:{shapeOptions:{color:"#FF00FF"}}}}),this._map.addControl(this._drawControl)}removeLayer(s){this._map.removeLayer(s)}addLayer(s){s&&this._map.addLayer(s)}setHtmlPaths(s){this._htmlPath=s}changeMapHeight(){this._map.invalidateSize()}}const V=new mh,{state:ut,onChange:Ep}=et({allMarkers:[],freeMarkers:[]}),bh=".custom-buttons:hover,#btn-find-base-station:hover{cursor:pointer;background-color:#eceef8}:host{display:block;float:right;top:135px;right:15px}modus-modal{font-size:12px !important;position:absolute;z-index:9999}modus-modal .header{color:red}modus-modal .content{margin:auto}#inputtext{height:30vh;width:100%}.modal-content{padding:15px}.row{display:flex}.row-title{font-weight:900;margin-right:20px;margin-left:23px;width:20%}.row-content{display:flex;width:99%}.modal-footer{margin-top:20px !important;border:solid 1px #c7bbbb;padding:15px}#btn-find-base-station{background-color:rgba(0, 0, 0, 0.05);box-shadow:0 1px 4px 1px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.16);background-color:white;border:none;border-top-right-radius:4px;border-top-left-radius:4px;z-index:999;position:absolute;right:0.8rem;top:4rem;border:2px solid rgba(0, 0, 0, 0.2);background-clip:padding-box}.file-name-container{height:fit-content;min-height:20px;max-height:120px;overflow:auto;margin-top:13px;z-index:9999}.alert-close-button{position:absolute}.mi-remove-circle:hover{cursor:pointer}.mi-remove-circle{position:absolute;right:19px}.modal-backdrop{background-color:transparent;position:absolute;top:0px;left:0px;width:100vw;height:100vh}.modal-content{font-size:12px}.import-popup-drop-zone{font-size:12px}",Oa=class{constructor(n){be(this,n),this.errorText="",this.baseStationIdEntered=""}async findBaseStation(){let n=null;n=re.isVrsIncluded?ut.allMarkers[this.baseStationIdEntered.toLocaleUpperCase()]:ut.freeMarkers[this.baseStationIdEntered.toLocaleUpperCase()],n?(V.setDefaultView(y.latLng([n._latlng.lat,n._latlng.lng]),12),n.openPopup(),this.modusModal.close()):this.errorText="Could not find "+this.baseStationIdEntered.toLocaleUpperCase()}onBaseStationIdChange(n){this.baseStationIdEntered=n.detail;let s=this.validateBaseStationId();this.baseStationFindButton.disabled=!s,this.errorText=s?"":"ID must consist of 4 alphanumeric characters only"}modusModalOnClosed(){this.errorText="",this.baseStationIdEntered=""}onBaseStationFindClick(){ee.cancellationToken.cancel("Request cancelled"),this.modusModal.open(),this.baseStationFindButton=this.modusModal.shadowRoot.querySelector(".footer").getElementsByTagName("modus-button")[0],this.baseStationFindButton.disabled=!this.validateBaseStationId()}validateBaseStationId(){return!!(this.baseStationIdEntered&&this.baseStationIdEntered.length===4)}render(){return S("div",null,S("button",{id:"btn-find-base-station",color:"primary",onClick:()=>this.onBaseStationFindClick(),part:"find-bases-station",title:"Find specific base station"},S("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"23",fill:"currentColor",class:"mi-solid mi-flag",viewBox:"0 0 24 24"},S("path",{d:"m15 4-.93-1.52a.998.998 0 0 0-.85-.48H4c-.55 0-1 .45-1 1v18c0 .55.45 1 1 1s1-.45 1-1v-7h9l.72 1.45a1 1 0 0 0 .89.55h4.38c.55 0 1-.45 1-1V5c0-.55-.45-1-1-1h-5Z"}))),S("modus-modal",{ref:n=>this.modusModal=n,"header-text":"Base Station Finder","primary-button-text":"FIND","primary-button-aria-label":"Find",backdrop:"static",zIndex:"9999"},S("modus-text-input",{label:"Base Station ID",size:"large","error-text":this.errorText,value:this.baseStationIdEntered.toLocaleUpperCase()})))}};Oa.style=bh;class _h{async fetchBaseStationCoordinates(){var s;let l={apiURL:Hi.baseStationFetchUrl,method:"GET",headers:{"Content-Type":"application/json; charset=UTF-8"}},c=await Ki.executeRequest(l);return c.status=="Success"?this.baseStationsForPlotting=c.body:(oe.message=(s=c.message)!==null&&s!==void 0?s:at.DEFAULT,oe.type="danger"),this.baseStationsForPlotting}}const vh=new _h,yh=":host{display:block}",Da=class{constructor(n){be(this,n)}async handleBaseComponentLoaded(){var n,s,l,c,i,o,r=y.AwesomeMarkers.icon({icon:"flag",markerColor:"blue",prefix:"glyphicon"}
14),h=y.AwesomeMarkers.icon({icon:"flag",markerColor:"darkpurple",prefix:"glyphicon"});let u=await vh.fetchBaseStationCoordinates();re.freeBaseStations=(l=(s=(n=u?.freeBaseStations)===null||n===void 0?void 0:n.features)===null||s===void 0?void 0:s.length)!==null&&l!==void 0?l:0,re.vrsBaseStations=(o=(i=(c=u?.vrsBaseStations)===null||c===void 0?void 0:c.features)===null||i===void 0?void 0:i.length)!==null&&o!==void 0?o:0;const f=y.markerClusterGroup({showCoverageOnHover:!1,iconCreateFunction:b=>{var _=b.getChildCount(),x=" free-marker-cluster-";return _<10?x+="small":_<100?x+="medium":x+="large",new y.DivIcon({html:"<div><span>"+_+"</span></div>",className:"marker-cluster"+x,iconSize:new y.Point(40,40)})}}),g=y.markerClusterGroup({showCoverageOnHover:!1,iconCreateFunction:b=>{var _=b.getChildCount(),x=" vrs-marker-cluster-";return _<10?x+="small":_<100?x+="medium":x+="large",new y.DivIcon({html:"<div><span>"+_+"</span></div>",className:"marker-cluster"+x,iconSize:new y.Point(40,40)})}});y.geoJSON(u?.freeBaseStations,{pointToLayer:function(b,_){const x=b.properties.id,w={BaseStationID:x,lngValue:_.lng,latValue:_.lat};return ut.freeMarkers[x.toLocaleUpperCase()]=y.marker(_,{icon:r}).bindPopup(Eo(w)),ut.allMarkers[x.toLocaleUpperCase()]=y.marker(_,{icon:r}).bindPopup(Eo(w)),f.addLayer(ut.allMarkers[x.toLocaleUpperCase()])}}).addTo(V._map),y.geoJSON(u?.vrsBaseStations,{pointToLayer:function(b,_){const x=b.properties.id,w={BaseStationID:x,lngValue:_.lng,latValue:_.lat};return ut.allMarkers[x.toLocaleUpperCase()]=y.marker(_,{icon:h}).bindPopup(Eo(w)),he.vrsStationsLayerId=g.addLayer(ut.allMarkers[x.toLocaleUpperCase()]),he.vrsStationsLayerId}}),V._map.addLayer(f),he.freeBaseStationsLayerGroup=f,he.vrsBaseStationLayerGroup=g}render(){return null}};Da.style=yh;const xh="",Ia=class{constructor(n){be(this,n)}handleBaseComponentLoaded(){y.control.locate({position:"topright",strings:{title:"Show my location"},showPopup:!1,flyTo:!0}).addTo(V._map)}render(){return null}};Ia.style=xh;const{state:rt,onChange:Cp}=et({isLoading:!1}),{state:Ze,onChange:Pp}=et({trajectoryFiles:[]}),wh=".custom-buttons:hover,#btn-import-popup:hover{cursor:pointer;background-color:#eceef8}:host{display:block;float:right;top:135px;right:15px}modus-modal,.modus-modal{font-size:12px !important;position:absolute;z-index:99999}.header{font-size:1.5rem}#inputtext{height:30vh;width:100%}.modal-content{padding:15px}.row{display:flex}.row-title{font-weight:900;margin-right:20px;margin-left:23px;width:20%}.row-content{display:flex;width:99%}.modal-footer{margin-top:20px !important;border:solid 1px #c7bbbb;padding:15px}#btn-import-popup{background-color:rgba(0, 0, 0, 0.05);box-shadow:0 1px 4px 1px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.16);background-color:white;border-top-right-radius:4px;border-top-left-radius:4px;z-index:999;position:absolute;right:0.8rem;top:1rem;border:2px solid rgba(0, 0, 0, 0.2);background-clip:padding-box;font-size:1.3rem}.file-name-container{height:fit-content;min-height:20px;max-height:120px;overflow:auto;margin-top:13px}.alert-close-button{position:absolute}.mi-remove-circle:hover{cursor:pointer}.mi-remove-circle{position:absolute;right:19px}.modal-content{font-size:12px}.import-popup-drop-zone{font-size:12px}.drop-zone-description{font-size:0.875rem}",Ra=class{constructor(n){be(this,n),this.networkDetailsFetched=Ge(this,"networkDetailsFetched",7),this.emitSecondProcessingMode=Ge(this,"emitSecondProcessingMode",7),this.firstProcessingModeEvent=Ge(this,"firstProcessingModeEvent",7),this.triggerMapRefresh=Ge(this,"triggerMapRefresh",7),this.plottedData=void 0,this.currentTrajectoryFile=void 0}modusModalOnClosed(){this.previewButtonElement.disabled=!0,this.previewButtonElement.innerHTML=H.PREVIEW,Ze.trajectoryFiles.forEach(n=>this.modusDropzone.removeFile(n.name)),Ze.trajectoryFiles=[]}async onImportPopupPreviewClick(n){this.previewButtonElement.disabled=!0,this.previewButtonElement.innerHTML='<modus-spinner color="white" size=".5rem"></modus-spinner> Import Trajectory';try{rt.isLoading=!0;let s;n?.type==="triggerRerun"?s=await Ce.performSmartSelectOperations():s=await Ce.performSmartSelectOperations(Ze.trajectoryFiles),s&&(Pt.isImportPopupButtonToBeShown=!1,this.networkDetailsFetched.emit()),rt.isLoading=!1}catch{oe.message=at.DEFAULT,oe.type="danger"}this.modusModal.close()}async integratorFileUpload(n){var s;try{rt.isLoading=!0;var l=await Ce.performSmartSelectOperations(n.detail);Pt.isImportPopupButtonToBeShown=!1,this.networkDetailsFetched.emit(),Ce.performSmartBaseOperations(l,((s=l?.trajectoryCoordinates[0])===null||s===void 0?void 0:s.length)==1?H.TRAJECTORY_POINT:H.TRAJECTORY_LINE),this.emitSecondProcessingMode.emit(l.smartSelectResult.secondBestProcessingMode),this.firstProcessingModeEvent.emit(l.smartSelectResult.firstBestProcessingMode),rt.isLoading=!1}catch{}}removeTrajectoryFile(n){var s;this.modusDropzone.removeFile((s=Ze.trajectoryFiles[n])===null||s===void 0?void 0:s.name),Ze.trajectoryFiles.splice(n,1),Ze.trajectoryFiles.length=0}componentDidLoad(){this.modusDropzone.addEventListener("files",n=>{const[s,l]=n.detail;l?(oe.message=l??at.DEFAULT,oe.type="danger"):(this.previewButtonElement.disabled=s.length==0,s.length>=0&&(Ze.trajectoryFiles=[...s]))})}onImportButtonClick(){var n,s,l;this.modusModal.open(),this.previewButtonElement=(l=(s=(n=this.modusModal)===null||n===void 0?void 0:n.shadowRoot)===null||s===void 0?void 0:s.querySelector(".footer"))===null||l===void 0?void 0:l.getElementsByTagName("modus-button")[0],this.previewButtonElement.disabled=!0}render(){var n,s;return S("div",null,S("button",{id:"btn-import-popup",color:"primary",onClick:()=>this.onImportButtonClick(),part:"import",title:"Import Your Own Trajectory",style:{display:Pt.isImportPopupButtonToBeShown&&!ee.hideButtons?"block":"none"}},S("svg",{xmlns:"http://www.w3.org/2000/svg",width:"19",height:"23",fill:"
14currentColor",class:"mi-outline mi-file",viewBox:"0 0 24 24"},S("path",{d:"M19.71 7.71 14.3 2.3a.99.99 0 0 0-.71-.29H6c-1.1 0-2 .9-2 2v16c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V8.42c0-.27-.11-.52-.29-.71ZM14 5l3 3h-3V5Zm4 15H6V4h6v5c0 .55.45 1 1 1h5v10Z"}))),S("modus-modal",{ref:l=>this.modusModal=l,class:"modus-modal-static","header-text":"Import Trajectory","primary-button-text":"Import Trajectory","primary-button-aria-label":"btn-preview",backdrop:"static",zIndex:"9999",style:{"font-size":"1.3rem"}},S("div",{class:"modal-content"},S("div",{class:"modal-backdrop"}),S("h3",null,"Supported Formats"),S("div",{class:"formats-container"},S("dl",{class:"row"},S("span",{class:"row-title"},"CSV"),S("span",{class:"row-content"},"latitude (°), longitude (°), altitude (m)")),S("dl",{class:"row"},S("span",{class:"row-title"},"NMEA GGA"),S("span",{class:"row-content"},"$GPGGA or $INGGA")),S("dl",{class:"row"},S("span",{class:"row-title"},"POSPac ASCII"),S("span",{class:"row-content"},"GPS Week; GPS Seconds of Week; EcefX (m); EcefY (m); EcefZ (m)")),S("dl",{class:"row"},S("span",{class:"row-title"},"TBC"),S("span",{class:"row-content"},"Start GPS Week; Start GPS Seconds Of Week; End GPS Week; End GPS Time Seconds Of Week; EcefX (m); EcefY (m); EcefZ (m)")),S("dl",{class:"row"},S("span",{class:"row-title"},"Rover Files"),S("span",{class:"row-content"},"Applanix POS, T04 and Rinex Files")),S("dl",{class:"row"},S("span",{class:"row-title"},"KML"),S("span",{class:"row-content"},"KML Coordinates")))),S("div",null,S("small",{class:"drop-zone-description"},"NOTE: Only 300 files are allowed to be uploaded"),S("modus-file-dropzone",{ref:l=>this.modusDropzone=l,"dropzone-Height":"80px","dropzone-Width":"96.8%",multiple:"true","max-file-count":"300",className:"import-popup-drop-zone"}),S("div",{class:"file-name-container"},((n=Ze.trajectoryFiles)===null||n===void 0?void 0:n.length)>0&&((s=Ze.trajectoryFiles)===null||s===void 0?void 0:s.map((l,c)=>S("div",null,S("modus-list",null,S("modus-list-item",null,l?.name,S("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",fill:"var(--modus-btn-primary-bg, #0063a3)",class:"mi-solid mi-remove-circle",viewBox:"0 0 24 24",onClick:()=>this.removeTrajectoryFile(c)},S("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2Zm4 11H8c-.55 0-1-.45-1-1s.45-1 1-1h8c.55 0 1 .45 1 1s-.45 1-1 1Z"})))))))))))}};Ra.style=wh;const Lh=":host{display:block}.map-panel{width:159px;bottom:31px;left:10px;padding:10px;background-color:#fff;font-family:Arial, Helvetica, sans-serif;border-radius:4px;z-index:1000;position:absolute}.group{padding:3px 0}.group .label{display:inline-block;width:65px;font-style:italic;color:#888}.group .value{display:inline-block}",Aa=class{constructor(n){be(this,n),this.latitude="46.753963",this.longitude="-44.359034"}handleBaseComponentLoaded(){V._map.on("mousemove",n=>{this.latitude=n.latlng.lat.toFixed(6),this.longitude=n.latlng.lng.toFixed(6)})}render(){return S("div",{class:"map-panel"},S("div",{class:"group"},S("span",{class:"label"},"Longitude:"),S("span",{id:"longitude",class:"value"},this.longitude)),S("div",{class:"group"},S("span",{class:"label"},"Latitude:"),S("span",{id:"latitude",class:"value"},this.latitude)))}};Aa.style=Lh;const kh=":host{display:block}",Ba=class{constructor(n){be(this,n),this.triggerRerun=Ge(this,"triggerRerun",7)}layerToggleInit(){const n=`<span class='vrs-now-legend'></span><span>${$e.LAYER_TOGGLE.LABEL.VRS}</span>`,s=`<span class='rtx-fast-legend'></span><span>${$e.LAYER_TOGGLE.LABEL.RTX}</span>`;let l={[n]:he.vrsStationsLayerId,[s]:he.rtxPolygonLayerId};ee.hideButtons||y.control.layers(null,l).addTo(V._map),V._map.on("overlayadd",c=>{this.handleLayerToggle(!0,!0,c)}),V._map.on("overlayremove",c=>{this.handleLayerToggle(!1,!1,c)})}handleLayerToggle(n,s,l){l.name.includes($e.LAYER_TOGGLE.LABEL.VRS)&&(re.isVrsIncluded=n),l.name.includes($e.LAYER_TOGGLE.LABEL.RTX)&&(re.isRtxIncluded=s),V._drawnLayerDetails&&(this.clearSmartSelectTrajectory(),V.handleDrawCreated()),Ce._trajectoryCoordinates&&(this.clearSmartSelectTrajectory(),this.triggerRerun.emit())}clearSmartSelectTrajectory(){Ce._networkDetails=null,re.smartStations=0,Mo.removeTrajectoryLayersAndSource()}render(){return null}};Ba.style=kh;const Th=":host{position:absolute;top:40%;left:37%;z-index:9999}.loading-message{font-size:1rem;font-weight:600}.loader-container{top:50%;left:50%;transform:translate(-42%, -50%);width:100vw;display:flex;justify-content:center;align-items:center;flex-direction:column}.spinner-component{display:flex;justify-content:center}",Na=class{constructor(n){be(this,n)}render(){return S("div",{class:"loader-container"},S("modus-spinner",{class:"spinner-component",size:"5rem"}),ee.loadingMessage?S("div",{class:"loading-message"},ee.loadingMessage):null)}};Na.style=Th;const Eh=":host{display:block}",ja=class{constructor(n){be(this,n)}handleBaseComponentLoaded(){var n=y.tileLayer("https://tile.openstreetmap.de/{z}/{x}/{y}.png",{maxZoom:18,attribution:'© <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors',noWrap:!0}).addTo(V._map);let s=y.tileLayer("https://tile.osm.ch/switzerland/{z}/{x}/{y}.png",{attribution:'© <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors',noWrap:!0}),l=y.tileLayer("https://{s}.tile.opentopomap.org/{z}/{x}/{y}.png",{attribution:'Map data: © <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors, <a href="http://viewfinderpanoramas.org">SRTM</a> | Map style: © <a href="https://opentopomap.org">OpenTopoMap</a> (<a href="https://creativecommons.org/licenses/by-sa/3.0/">CC-BY-SA</a>)',noWrap:!0}),c=y.tileLayer("https://basemap.nationalmap.gov/arcgis/rest/services/USGSImageryTopo/MapServer/tile/{z}/{y}/{x}",{attribution:'Tiles courtesy of the <a href="https://usgs.gov/">U.S. Geological Survey</a>',noWrap:!0}),i={Transportation:n,Terrain:s,Topographic:l,"Imagery Topo":c};y.control.layers(i).addTo(V._map)}render(){return S(jl,null,S("slot",null))}};ja.style=Eh;const Ch=`@charset "UTF-8";:host{display:block;--leaflet-margin-top:6.5rem;--body-font-size:1rem}#map{font-size:12px}body{font-family:inherit !important}.leaflet-draw-toolbar a{background-image:url(../../www/global/assets/images/spritesheet.svg);background-repeat:no-repeat;color:transparent !important}.free-marker-cluster-small{background-color:rgba(0, 150, 175, 0.25)}.free-marker-cluster-small div{background-color:rgb(0, 160, 175);color:#fff}.free-marker-cluster-medium{background-color:rgba(0, 120, 175, 0.25)}.free-marker-cluster-medium div{background-color:rgb(0, 140, 175);color:#fff}.free-marker-cluster-large{background-color:rgba(0, 90, 175, 0.25)}.free-marker-cluster-large div{background-color:rgb(0, 110, 175);color:#fff}.vrs-marker-cluster-small{background-color:rgba(145, 150, 175, 0.25)}.vrs-marker-cluster-small div{background-color:rgb(137, 113, 206);color:#fff}.vrs-marker-cluster-medium{background-color:rgba(145, 120, 175, 0.25)}.vrs-marker-cluster-medium div{background-color:rgb(145, 110, 245);color:#fff}.vrs-marker-cluster-large{background-color:rgba(145, 122, 245, 0.25)}.vrs-marker-cluster-large div{background-color:rgb(109, 67, 229);color:#fff}.awesome-marker i{font-size:14px !important;margin:10px 11px !important}.network-details{width:100%}.network-details-header{text-align:center;font-size:var(--body-font-size) !important;line-height:1.5;font-weight:bold;text-align:center;padding:8px 4px}.network-details-row{width:27%;font-size:var(--body-font-size) !important;color:#3e3f3a;text-align:center}.quality-table{width:100%}.network-warning{color:red;margin:18px 0;font-size:var(--body-font-size) !important;text-align:center}.network-footer{text-align:center;font-size:var(--body-font-size) !important;font-style:italic}.network-pprtx{color:green}#modal-outline{padding:10px}.modal-footer,.modal-content{padding:15px}.modal-header{border-bottom:1px solid #eee;background-color:#3e3f3a;-webkit-border-top-left-radius:5px;-webkit-border-top-right-radius:5px;-moz-border-radius-topleft:5px;-moz-border-radius-topright:5px;border-top-left-radius:5px;border-top-right-radius:5px;
14display:flex}#modal-title{color:#fff;font-family:"Roboto", "Helvetica Neue", Helvetica, Arial, sans-serif;font-size:18px;margin-left:10px}#rePreviewPopupButton{left:39%;position:relative;display:flex;margin-top:7px;background-color:var(--modus-btn-primary-bg, #0063a3);color:var(--modus-btn-primary-color, #fff);font-size:14px;height:33px;width:83px;padding-top:7px;padding-right:0px;padding-left:8px;font-weight:600;border:none;border-radius:9px}#previewPopupButton{background-color:var(--modus-btn-primary-bg, #0063a3);color:var(--modus-btn-primary-color, #fff);font-size:14px;height:33px;width:83px;padding-top:2px;padding-left:5px;font-weight:600;border:none;border-radius:9px;margin-top:5px}#rePreviewPopupButton:hover{cursor:pointer;background-color:var(--modus-btn-primary-bg, #217cbb)}.glyphicon-star{animation:spin-animation 2s infinite linear;display:inline-block}.leaflet-touch .leaflet-control-layers-toggle{width:30px !important;height:30px !important}@keyframes spin-animation{0%{transform:rotate(0deg)}100%{transform:rotate(359deg)}}table{margin-top:1em !important}.leaflet-popup-content{margin:13px 13px !important;font:16px/1.5 "Helvetica Neue", Arial, Helvetica, sans-serif !important}.leaflet-top.leaflet-right .leaflet-control-layers:nth-child(3) .leaflet-control-layers-toggle{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 1 0 10 10A10.03 10.03 0 0 0 12 2Zm0 18.3a8.21 8.21 0 0 1-2.8-.5 3.07 3.07 0 0 0 .8-1.3c.1-.3-.2-1-.2-1.1a9.132 9.132 0 0 0-1-1.3c-.2-.1 0-.9 0-1.4s-1.1-.8-1.5-1c-.4-.3-.6.8-1 .6-.5-.2-.4-.9-.5-1.5 0-.4-1.1-.5-1.7-.6a7.99 7.99 0 0 1 5.5-7.6l-.1.1c-.5.4-1 0-.8 1.2.1 1.1-.1 1.7.8 1.8a5.354 5.354 0 0 0 1.8 0c.6 0 .6 1.5.7 1.6a5.08 5.08 0 0 0 3.1 2.8c.5.1-.5 1.1-1.2 1.4s-1.3.4-1.4 1.1 1 .3 1.3.4 1.5.6 1.9-.1c.5-.7 2.5-.4 2.3-1.2-.4-1.6 2.3-2.4 1.5-3.4a6.817 6.817 0 0 1-.2-1.8 7.786 7.786 0 0 1 .9 3.7 8.283 8.283 0 0 1-8.2 8.1Z'/%3E%3C/svg%3E") !important}.leaflet-retina .leaflet-control-layers-toggle{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath d='M20.46 11.14c.65.39.65 1.33 0 1.72l-7.43 4.43c-.63.38-1.42.38-2.05 0l-7.43-4.43c-.65-.39-.65-1.33 0-1.72.28-.17.62-.17.9 0l6.53 3.89c.63.38 1.42.38 2.05 0l6.53-3.89c.28-.17.62-.17.9 0Zm-9.48-8.43L3.54 7.14c-.65.39-.65 1.33 0 1.72l7.43 4.43c.63.38 1.42.38 2.05 0l7.43-4.43c.65-.39.65-1.33 0-1.72l-7.43-4.43c-.63-.38-1.42-.38-2.05 0Zm2.05 16.32c-.63.38-1.42.38-2.05 0l-6.53-3.89a.858.858 0 0 0-.9 0c-.65.39-.65 1.33 0 1.72l7.43 4.43c.63.38 1.42.38 2.05 0l7.43-4.43c.65-.39.65-1.33 0-1.72a.858.858 0 0 0-.9 0l-6.53 3.89Z'/%3E%3C/svg%3E") !important}.leaflet-right{margin-top:var(--leaflet-margin-top) !important}.header{font-size:1.5rem}.legend,.rtx-fast-legend,.vrs-now-legend{height:10px;width:10px;margin:0px 2px;border-radius:50%;display:inline-block}.vrs-now-legend{background-color:#917af5}.rtx-fast-legend{background-color:#ffa604}/*! 15 * Bootstrap v3.3.7 (http://getbootstrap.com) 16 * Copyright 2011-2016 Twitter, Inc. 17 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) 18 *//*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */html{font-family:sans-serif;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%}body{margin:0}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}a{background-color:transparent}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:700}dfn{font-style:italic}h1{margin:0.67em 0;font-size:2em}mark{color:#000;background:#ff0}small{font-size:80%}sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}sup{top:-0.5em}sub{bottom:-0.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:1em 40px}hr{height:0;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box}pre{overflow:auto}
18code,kbd,pre,samp{font-family:monospace, monospace;font-size:1em}button,input,optgroup,select,textarea{margin:0;font:inherit;color:inherit}button{overflow:visible}button,select{text-transform:none}button,html input[type=button],input[type=reset],input[type=submit]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}button::-moz-focus-inner,input::-moz-focus-inner{padding:0;border:0}input{line-height:normal}input[type=checkbox],input[type=radio]{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;padding:0}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{height:auto}input[type=search]{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;-webkit-appearance:textfield}input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration{-webkit-appearance:none}fieldset{padding:0.35em 0.625em 0.75em;margin:0 2px;border:1px solid silver}legend{padding:0;border:0}textarea{overflow:auto}optgroup{font-weight:700}table{border-spacing:0;border-collapse:collapse}td,th{padding:0}/*! Source: https://github.com/h5bp/html5-boilerplate/blob/master/src/css/main.css */@media print{*,:after,:before{color:#000 !important;text-shadow:none !important;background:0 0 !important;-webkit-box-shadow:none !important;box-shadow:none !important}a,a:visited{text-decoration:underline}a[href]:after{content:" (" attr(href) ")"}abbr[title]:after{content:" (" attr(title) ")"}a[href^="javascript:"]:after,a[href^="#"]:after{content:""}blockquote,pre{border:1px solid #999;page-break-inside:avoid}thead{display:table-header-group}img,tr{page-break-inside:avoid}img{max-width:100% !important}h2,h3,p{orphans:3;widows:3}h2,h3{page-break-after:avoid}.navbar{display:none}.btn>.caret,.dropup>.btn>.caret{border-top-color:#000 !important}.label{border:1px solid #000}.table{border-collapse:collapse !important}.table td,.table th{background-color:#fff !important}.table-bordered td,.table-bordered th{border:1px solid #ddd !important}}@font-face{font-family:"Glyphicons Halflings";src:url(../fonts/glyphicons-halflings-regular.eot);src:url(../fonts/glyphicons-halflings-regular.eot?#iefix) format("embedded-opentype"), url(../fonts/glyphicons-halflings-regular.woff2) format("woff2"), url(../fonts/glyphicons-halflings-regular.woff) format("woff"), url(../fonts/glyphicons-halflings-regular.ttf) format("truetype"), url(../fonts/glyphicons-halflings-regular.svg#glyphicons_halflingsregular) format("svg")}.glyphicon{position:relative;top:1px;display:inline-block;font-family:"Glyphicons Halflings";font-style:normal;font-weight:400;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.glyphicon-asterisk:before{content:"*"}.glyphicon-plus:before{content:"+"}.glyphicon-eur:before,.glyphicon-euro:before{content:"â¬"}.glyphicon-minus:before{content:"â"}.glyphicon-cloud:before{content:"â"}.glyphicon-envelope:before{content:"â"}.glyphicon-pencil:before{content:"â"}.glyphicon-glass:before{content:"\\e001"}.glyphicon-music:before{content:"\\e002"}.glyphicon-search:before{content:"\\e003"}.glyphicon-heart:before{content:"\\e005"}.glyphicon-star:before{content:"\\e006"}.glyphicon-star-empty:before{content:"\\e007"}.glyphicon-user:before{content:"\\e008"}.glyphicon-film:before{content:"\\e009"}.glyphicon-th-large:before{content:"\\e010"}.glyphicon-th:before{content:"\\e011"}.glyphicon-th-list:before{content:"\\e012"}.glyphicon-ok:before{content:"\\e013"}.glyphicon-remove:before{content:"\\e014"}.glyphicon-zoom-in:before{content:"\\e015"}.glyphicon-zoom-out:before{content:"\\e016"}.glyphicon-off:before{content:"\\e017"}.glyphicon-signal:before{content:"\\e018"}.glyphicon-cog:before{content:"\\e019"}.glyphicon-trash:before{content:"\\e020"}.glyphicon-home:before{content:"\\e021"}.glyphicon-file:before{content:"\\e022"}.glyphicon-time:before{content:"\\e023"}.glyphicon-road:before{content:"\\e024"}.glyphicon-download-alt:before{content:"\\e025"}.glyphicon-download:before{content:"\\e026"}.glyphicon-upload:before{content:"\\e027"}.glyphicon-inbox:before{content:"\\e028"}.glyphicon-play-circle:before{content:"\\e029"}.glyphicon-repeat:before{content:"\\e030"}.glyphicon-refresh:before{content:"\\e031"}.glyphicon-list-alt:before{content:"\\e032"}.glyphicon-lock:before{content:"\\e033"}.glyphicon-flag:before{content:"\\e034"}.glyphicon-headphones:before{content:"\\e035"}.glyphicon-volume-off:before{content:"\\e036"}.glyphicon-volume-down:before{content:"\\e037"}.glyphicon-volume-up:before{content:"\\e038"}.glyphicon-qrcode:before{content:"\\e039"}.glyphicon-barcode:before{content:"\\e040"}.glyphicon-tag:before{content:"\\e041"}.glyphicon-tags:before{content:"\\e042"}.glyphicon-book:before{content:"\\e043"}.glyphicon-bookmark:before{content:"\\e044"}.glyphicon-print:before{content:"\\e045"}.glyphicon-camera:before{content:"\\e046"}.glyphicon-font:before{content:"\\e047"}.glyphicon-bold:before{content:"\\e048"}.glyphicon-italic:before{content:"\\e049"}.glyphicon-text-height:before{content:"\\e050"}.glyphicon-text-width:before{content:"\\e051"}.glyphicon-align-left:before{content:"\\e052"}.glyphicon-align-center:before{content:"\\e053"}.glyphicon-align-right:before{content:"\\e054"}.glyphicon-align-justify:before{content:"\\e055"}.glyphicon-list:before{content:"\\e056"}.glyphicon-indent-left:before{content:"\\e057"}.glyphicon-indent-right:before{content:"\\e058"}.glyphicon-facetime-video:before{content:"\\e059"}.glyphicon-picture:before{content:"\\e060"}.glyphicon-map-marker:before{content:"\\e062"}.glyphicon-adjust:before{content:"\\e063"}.glyphicon-tint:before{content:"\\e064"}.glyphicon-edit:before{content:"\\e065"}.glyphicon-share:before{content:"\\e066"}.glyphicon-check:before{content:"\\e067"}.glyphicon-move:before{content:"\\e068"}.glyphicon-step-backward:before{content:"\\e069"}.glyphicon-fast-backward:before{content:"\\e070"}.glyphicon-backward:before{content:"\\e071"}.glyphicon-play:before{content:"\\e072"}.glyphicon-pause:before{content:"\\e073"}.glyphicon-stop:before{content:"\\e074"}.glyphicon-forward:before{content:"\\e075"}.glyphicon-fast-forward:before{content:"\\e076"}.glyphicon-step-forward:before{content:"\\e077"}.glyphicon-eject:before{content:"\\e078"}.glyphicon-chevron-left:before{content:"\\e079"}.glyphicon-chevron-right:before{content:"\\e080"}.glyphicon-plus-sign:before{content:"\\e081"}.glyphicon-minus-sign:before{content:"\\e082"}.glyphicon-remove-sign:before{content:"\\e083"}.glyphicon-ok-sign:before{content:"\\e084"}.glyphicon-question-sign:before{content:"\\e085"}.glyphicon-info-sign:before{content:"\\e086"}.glyphicon-screenshot:before{content:"\\e087"}.glyphicon-remove-circle:before{content:"\\e088"}.glyphicon-ok-circle:before{content:"\\e089"}.glyphicon-ban-circle:before{content:"\\e090"}.glyphicon-arrow-left:before{content:"\\e091"}.glyphicon-arrow-right:before{content:"\\e092"}.glyphicon-arrow-up:before{content:"\\e093"}.glyphicon-arrow-down:before{content:"\\e094"}.glyphicon-share-alt:before{content:"\\e095"}.glyphicon-resize-full:before{content:"\\e096"}.glyphicon-resize-small:before{content:"\\e097"}.glyphicon-exclamation-sign:before{content:"\\e101"}.glyphicon-gift:before{content:"\\e102"}.glyphicon-leaf:before{content:"\\e103"}.glyphicon-fire:before{content:"\\e104"}.glyphicon-eye-open:before{content:"\\e105"}
18.glyphicon-eye-close:before{content:"\\e106"}.glyphicon-warning-sign:before{content:"\\e107"}.glyphicon-plane:before{content:"\\e108"}.glyphicon-calendar:before{content:"\\e109"}.glyphicon-random:before{content:"\\e110"}.glyphicon-comment:before{content:"\\e111"}.glyphicon-magnet:before{content:"\\e112"}.glyphicon-chevron-up:before{content:"\\e113"}.glyphicon-chevron-down:before{content:"\\e114"}.glyphicon-retweet:before{content:"\\e115"}.glyphicon-shopping-cart:before{content:"\\e116"}.glyphicon-folder-close:before{content:"\\e117"}.glyphicon-folder-open:before{content:"\\e118"}.glyphicon-resize-vertical:before{content:"\\e119"}.glyphicon-resize-horizontal:before{content:"\\e120"}.glyphicon-hdd:before{content:"\\e121"}.glyphicon-bullhorn:before{content:"\\e122"}.glyphicon-bell:before{content:"\\e123"}.glyphicon-certificate:before{content:"\\e124"}.glyphicon-thumbs-up:before{content:"\\e125"}.glyphicon-thumbs-down:before{content:"\\e126"}.glyphicon-hand-right:before{content:"\\e127"}.glyphicon-hand-left:before{content:"\\e128"}.glyphicon-hand-up:before{content:"\\e129"}.glyphicon-hand-down:before{content:"\\e130"}.glyphicon-circle-arrow-right:before{content:"\\e131"}.glyphicon-circle-arrow-left:before{content:"\\e132"}.glyphicon-circle-arrow-up:before{content:"\\e133"}.glyphicon-circle-arrow-down:before{content:"\\e134"}.glyphicon-globe:before{content:"\\e135"}.glyphicon-wrench:before{content:"\\e136"}.glyphicon-tasks:before{content:"\\e137"}.glyphicon-filter:before{content:"\\e138"}.glyphicon-briefcase:before{content:"\\e139"}.glyphicon-fullscreen:before{content:"\\e140"}.glyphicon-dashboard:before{content:"\\e141"}.glyphicon-paperclip:before{content:"\\e142"}.glyphicon-heart-empty:before{content:"\\e143"}.glyphicon-link:before{content:"\\e144"}.glyphicon-phone:before{content:"\\e145"}.glyphicon-pushpin:before{content:"\\e146"}.glyphicon-usd:before{content:"\\e148"}.glyphicon-gbp:before{content:"\\e149"}.glyphicon-sort:before{content:"\\e150"}.glyphicon-sort-by-alphabet:before{content:"\\e151"}.glyphicon-sort-by-alphabet-alt:before{content:"\\e152"}.glyphicon-sort-by-order:before{content:"\\e153"}.glyphicon-sort-by-order-alt:before{content:"\\e154"}.glyphicon-sort-by-attributes:before{content:"\\e155"}.glyphicon-sort-by-attributes-alt:before{content:"\\e156"}.glyphicon-unchecked:before{content:"\\e157"}.glyphicon-expand:before{content:"\\e158"}.glyphicon-collapse-down:before{content:"\\e159"}.glyphicon-collapse-up:before{content:"\\e160"}.glyphicon-log-in:before{content:"\\e161"}.glyphicon-flash:before{content:"\\e162"}.glyphicon-log-out:before{content:"\\e163"}.glyphicon-new-window:before{content:"\\e164"}.glyphicon-record:before{content:"\\e165"}.glyphicon-save:before{content:"\\e166"}.glyphicon-open:before{content:"\\e167"}.glyphicon-saved:before{content:"\\e168"}.glyphicon-import:before{content:"\\e169"}.glyphicon-export:before{content:"\\e170"}.glyphicon-send:before{content:"\\e171"}.glyphicon-floppy-disk:before{content:"\\e172"}.glyphicon-floppy-saved:before{content:"\\e173"}.glyphicon-floppy-remove:before{content:"\\e174"}.glyphicon-floppy-save:before{content:"\\e175"}.glyphicon-floppy-open:before{content:"\\e176"}.glyphicon-credit-card:before{content:"\\e177"}.glyphicon-transfer:before{content:"\\e178"}.glyphicon-cutlery:before{content:"\\e179"}.glyphicon-header:before{content:"\\e180"}.glyphicon-compressed:before{content:"\\e181"}.glyphicon-earphone:before{content:"\\e182"}.glyphicon-phone-alt:before{content:"\\e183"}.glyphicon-tower:before{content:"\\e184"}.glyphicon-stats:before{content:"\\e185"}.glyphicon-sd-video:before{content:"\\e186"}.glyphicon-hd-video:before{content:"\\e187"}.glyphicon-subtitles:before{content:"\\e188"}.glyphicon-sound-stereo:before{content:"\\e189"}.glyphicon-sound-dolby:before{content:"\\e190"}.glyphicon-sound-5-1:before{content:"\\e191"}.glyphicon-sound-6-1:before{content:"\\e192"}.glyphicon-sound-7-1:before{content:"\\e193"}.glyphicon-copyright-mark:before{content:"\\e194"}.glyphicon-registration-mark:before{content:"\\e195"}.glyphicon-cloud-download:before{content:"\\e197"}.glyphicon-cloud-upload:before{content:"\\e198"}.glyphicon-tree-conifer:before{content:"\\e199"}.glyphicon-tree-deciduous:before{content:"\\e200"}.glyphicon-cd:before{content:"\\e201"}.glyphicon-save-file:before{content:"\\e202"}.glyphicon-open-file:before{content:"\\e203"}.glyphicon-level-up:before{content:"\\e204"}.glyphicon-copy:before{content:"\\e205"}.glyphicon-paste:before{content:"\\e206"}.glyphicon-alert:before{content:"\\e209"}
18.glyphicon-equalizer:before{content:"\\e210"}.glyphicon-king:before{content:"\\e211"}.glyphicon-queen:before{content:"\\e212"}.glyphicon-pawn:before{content:"\\e213"}.glyphicon-bishop:before{content:"\\e214"}.glyphicon-knight:before{content:"\\e215"}.glyphicon-baby-formula:before{content:"\\e216"}.glyphicon-tent:before{content:"âº"}.glyphicon-blackboard:before{content:"\\e218"}.glyphicon-bed:before{content:"\\e219"}.glyphicon-apple:before{content:"\\f8ff"}.glyphicon-erase:before{content:"\\e221"}.glyphicon-hourglass:before{content:"â"}.glyphicon-lamp:before{content:"\\e223"}.glyphicon-duplicate:before{content:"\\e224"}.glyphicon-piggy-bank:before{content:"\\e225"}.glyphicon-scissors:before{content:"\\e226"}.glyphicon-bitcoin:before{content:"\\e227"}.glyphicon-btc:before{content:"\\e227"}.glyphicon-xbt:before{content:"\\e227"}.glyphicon-yen:before{content:"Â¥"}.glyphicon-jpy:before{content:"Â¥"}.glyphicon-ruble:before{content:"â½"}.glyphicon-rub:before{content:"â½"}.glyphicon-scale:before{content:"\\e230"}.glyphicon-ice-lolly:before{content:"\\e231"}.glyphicon-ice-lolly-tasted:before{content:"\\e232"}.glyphicon-education:before{content:"\\e233"}.glyphicon-option-horizontal:before{content:"\\e234"}.glyphicon-option-vertical:before{content:"\\e235"}.glyphicon-menu-hamburger:before{content:"\\e236"}.glyphicon-modal-window:before{content:"\\e237"}.glyphicon-oil:before{content:"\\e238"}.glyphicon-grain:before{content:"\\e239"}.glyphicon-sunglasses:before{content:"\\e240"}.glyphicon-text-size:before{content:"\\e241"}.glyphicon-text-color:before{content:"\\e242"}.glyphicon-text-background:before{content:"\\e243"}.glyphicon-object-align-top:before{content:"\\e244"}.glyphicon-object-align-bottom:before{content:"\\e245"}.glyphicon-object-align-horizontal:before{content:"\\e246"}.glyphicon-object-align-left:before{content:"\\e247"}.glyphicon-object-align-vertical:before{content:"\\e248"}.glyphicon-object-align-right:before{content:"\\e249"}.glyphicon-triangle-right:before{content:"\\e250"}.glyphicon-triangle-left:before{content:"\\e251"}.glyphicon-triangle-bottom:before{content:"\\e252"}.glyphicon-triangle-top:before{content:"\\e253"}.glyphicon-console:before{content:"\\e254"}.glyphicon-superscript:before{content:"\\e255"}.glyphicon-subscript:before{content:"\\e256"}.glyphicon-menu-left:before{content:"\\e257"}.glyphicon-menu-right:before{content:"\\e258"}.glyphicon-menu-down:before{content:"\\e259"}.glyphicon-menu-up:before{content:"\\e260"}*{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}:after,:before{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}html{font-size:10px;-webkit-tap-highlight-color:rgba(0, 0, 0, 0)}body{font-size:14px;line-height:1.42857143;color:#333;background-color:#fff}button,input,select,textarea{font-family:inherit;font-size:inherit;line-height:inherit}a{color:#337ab7;text-decoration:none}a:focus,a:hover{color:#23527c;text-decoration:underline}a:focus{outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}figure{margin:0}img{vertical-align:middle}.carousel-inner>.item>a>img,.carousel-inner>.item>img,.img-responsive,.thumbnail a>img,.thumbnail>img{display:block;max-width:100%;height:auto}.img-rounded{border-radius:6px}.img-thumbnail{display:inline-block;max-width:100%;height:auto;padding:4px;line-height:1.42857143;background-color:#fff;border:1px solid #ddd;border-radius:4px;-webkit-transition:all 0.2s ease-in-out;-o-transition:all 0.2s ease-in-out;transition:all 0.2s ease-in-out}.img-circle{border-radius:50%}hr{margin-top:20px;margin-bottom:20px;border:0;border-top:1px solid #eee}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}.sr-only-focusable:active,.sr-only-focusable:focus{position:static;width:auto;height:auto;margin:0;overflow:visible;clip:auto}[role=button]{cursor:pointer}.h1,.h2,.h3,.h4,.h5,.h6,h1,h2,h3,h4,h5,h6{font-family:inherit;font-weight:500;line-height:1.1;color:inherit}.h1 .small,.h1 small,.h2 .small,.h2 small,.h3 .small,.h3 small,.h4 .small,.h4 small,.h5 .small,.h5 small,.h6 .small,.h6 small,h1 .small,h1 small,h2 .small,h2 small,h3 .small,h3 small,h4 .small,h4 small,h5 .small,h5 small,h6 .small,h6 small{font-weight:400;line-height:1;
18color:#777}.h1,.h2,.h3,h1,h2,h3{margin-top:20px;margin-bottom:10px}.h1 .small,.h1 small,.h2 .small,.h2 small,.h3 .small,.h3 small,h1 .small,h1 small,h2 .small,h2 small,h3 .small,h3 small{font-size:65%}.h4,.h5,.h6,h4,h5,h6{margin-top:10px;margin-bottom:10px}.h4 .small,.h4 small,.h5 .small,.h5 small,.h6 .small,.h6 small,h4 .small,h4 small,h5 .small,h5 small,h6 .small,h6 small{font-size:75%}.h1,h1{font-size:36px}.h2,h2{font-size:30px}.h3,h3{font-size:24px}.h4,h4{font-size:18px}.h5,h5{font-size:14px}.h6,h6{font-size:12px}p{margin:0 0 10px}.lead{margin-bottom:20px;font-size:16px;font-weight:300;line-height:1.4}@media (min-width: 768px){.lead{font-size:21px}}.small,small{font-size:85%}.mark,mark{padding:0.2em;background-color:#fcf8e3}.text-left{text-align:left}.text-right{text-align:right}.text-center{text-align:center}.text-justify{text-align:justify}.text-nowrap{white-space:nowrap}.text-lowercase{text-transform:lowercase}.text-uppercase{text-transform:uppercase}.text-capitalize{text-transform:capitalize}.text-muted{color:#777}.text-primary{color:#337ab7}a.text-primary:focus,a.text-primary:hover{color:#286090}.text-success{color:#3c763d}a.text-success:focus,a.text-success:hover{color:#2b542c}.text-info{color:#31708f}a.text-info:focus,a.text-info:hover{color:#245269}.text-warning{color:#8a6d3b}a.text-warning:focus,a.text-warning:hover{color:#66512c}.text-danger{color:#a94442}a.text-danger:focus,a.text-danger:hover{color:#843534}.bg-primary{color:#fff;background-color:#337ab7}a.bg-primary:focus,a.bg-primary:hover{background-color:#286090}.bg-success{background-color:#dff0d8}a.bg-success:focus,a.bg-success:hover{background-color:#c1e2b3}.bg-info{background-color:#d9edf7}a.bg-info:focus,a.bg-info:hover{background-color:#afd9ee}.bg-warning{background-color:#fcf8e3}a.bg-warning:focus,a.bg-warning:hover{background-color:#f7ecb5}.bg-danger{background-color:#f2dede}a.bg-danger:focus,a.bg-danger:hover{background-color:#e4b9b9}.page-header{padding-bottom:9px;margin:40px 0 20px;border-bottom:1px solid #eee}ol,ul{margin-top:0;margin-bottom:10px}ol ol,ol ul,ul ol,ul ul{margin-bottom:0}.list-unstyled{padding-left:0;list-style:none}.list-inline{padding-left:0;margin-left:-5px;list-style:none}.list-inline>li{display:inline-block;padding-right:5px;padding-left:5px}dl{margin-top:0;margin-bottom:20px}dd,dt{line-height:1.42857143}dt{font-weight:700}dd{margin-left:0}@media (min-width: 768px){.dl-horizontal dt{float:left;width:160px;overflow:hidden;clear:left;text-align:right;text-overflow:ellipsis;white-space:nowrap}.dl-horizontal dd{margin-left:180px}}abbr[data-original-title],abbr[title]{cursor:help;border-bottom:1px dotted #777}.initialism{font-size:90%;text-transform:uppercase}blockquote{padding:10px 20px;margin:0 0 20px;font-size:17.5px;border-left:5px solid #eee}blockquote ol:last-child,blockquote p:last-child,blockquote ul:last-child{margin-bottom:0}blockquote .small,blockquote footer,blockquote small{display:block;font-size:80%;line-height:1.42857143;color:#777}blockquote .small:before,blockquote footer:before,blockquote small:before{content:"â "}.blockquote-reverse,blockquote.pull-right{padding-right:15px;padding-left:0;text-align:right;border-right:5px solid #eee;border-left:0}.blockquote-reverse .small:before,.blockquote-reverse footer:before,.blockquote-reverse small:before,blockquote.pull-right .small:before,blockquote.pull-right footer:before,blockquote.pull-right small:before{content:""}.blockquote-reverse .small:after,.blockquote-reverse footer:after,.blockquote-reverse small:after,blockquote.pull-right .small:after,blockquote.pull-right footer:after,blockquote.pull-right small:after{content:" â"}address{margin-bottom:20px;font-style:normal;line-height:1.42857143}code,kbd,pre,samp{font-family:Menlo, Monaco, Consolas, "Courier New", monospace}code{padding:2px 4px;font-size:90%;color:#c7254e;background-color:#f9f2f4;border-radius:4px}kbd{padding:2px 4px;font-size:90%;color:#fff;background-color:#333;border-radius:3px;-webkit-box-shadow:inset 0 -1px 0 rgba(0, 0, 0, 0.25);box-shadow:inset 0 -1px 0 rgba(0, 0, 0, 0.25)}kbd kbd{padding:0;font-size:100%;font-weight:700;-webkit-box-shadow:none;box-shadow:none}pre{display:block;padding:9.5px;margin:0 0 10px;font-size:13px;line-height:1.42857143;color:#333;word-break:break-all;word-wrap:break-word;background-color:#f5f5f5;border:1px solid #ccc;border-radius:4px}pre code{padding:0;font-size:inherit;color:inherit;white-space:pre-wrap;background-color:transparent;border-radius:0}.pre-scrollable{max-height:340px;overflow-y:scroll}.container{padding-right:15px;padding-left:15px;margin-right:auto;margin-left:auto}@media (min-width: 768px){.container{width:750px}}@media (min-width: 992px){.container{width:970px}}@media (min-width: 1200px){.container{width:1170px}}
18.container-fluid{padding-right:15px;padding-left:15px;margin-right:auto;margin-left:auto}.row{margin-right:-15px;margin-left:-15px}.col-lg-1,.col-lg-10,.col-lg-11,.col-lg-12,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-md-1,.col-md-10,.col-md-11,.col-md-12,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-sm-1,.col-sm-10,.col-sm-11,.col-sm-12,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-xs-1,.col-xs-10,.col-xs-11,.col-xs-12,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9{position:relative;min-height:1px;padding-right:15px;padding-left:15px}.col-xs-1,.col-xs-10,.col-xs-11,.col-xs-12,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9{float:left}.col-xs-12{width:100%}.col-xs-11{width:91.66666667%}.col-xs-10{width:83.33333333%}.col-xs-9{width:75%}.col-xs-8{width:66.66666667%}.col-xs-7{width:58.33333333%}.col-xs-6{width:50%}.col-xs-5{width:41.66666667%}.col-xs-4{width:33.33333333%}.col-xs-3{width:25%}.col-xs-2{width:16.66666667%}.col-xs-1{width:8.33333333%}.col-xs-pull-12{right:100%}.col-xs-pull-11{right:91.66666667%}.col-xs-pull-10{right:83.33333333%}.col-xs-pull-9{right:75%}.col-xs-pull-8{right:66.66666667%}.col-xs-pull-7{right:58.33333333%}.col-xs-pull-6{right:50%}.col-xs-pull-5{right:41.66666667%}.col-xs-pull-4{right:33.33333333%}.col-xs-pull-3{right:25%}.col-xs-pull-2{right:16.66666667%}.col-xs-pull-1{right:8.33333333%}.col-xs-pull-0{right:auto}.col-xs-push-12{left:100%}.col-xs-push-11{left:91.66666667%}.col-xs-push-10{left:83.33333333%}.col-xs-push-9{left:75%}.col-xs-push-8{left:66.66666667%}.col-xs-push-7{left:58.33333333%}.col-xs-push-6{left:50%}.col-xs-push-5{left:41.66666667%}.col-xs-push-4{left:33.33333333%}.col-xs-push-3{left:25%}.col-xs-push-2{left:16.66666667%}.col-xs-push-1{left:8.33333333%}.col-xs-push-0{left:auto}.col-xs-offset-12{margin-left:100%}.col-xs-offset-11{margin-left:91.66666667%}.col-xs-offset-10{margin-left:83.33333333%}.col-xs-offset-9{margin-left:75%}.col-xs-offset-8{margin-left:66.66666667%}.col-xs-offset-7{margin-left:58.33333333%}.col-xs-offset-6{margin-left:50%}.col-xs-offset-5{margin-left:41.66666667%}.col-xs-offset-4{margin-left:33.33333333%}.col-xs-offset-3{margin-left:25%}.col-xs-offset-2{margin-left:16.66666667%}.col-xs-offset-1{margin-left:8.33333333%}.col-xs-offset-0{margin-left:0}@media (min-width: 768px){.col-sm-1,.col-sm-10,.col-sm-11,.col-sm-12,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9{float:left}.col-sm-12{width:100%}.col-sm-11{width:91.66666667%}.col-sm-10{width:83.33333333%}.col-sm-9{width:75%}.col-sm-8{width:66.66666667%}.col-sm-7{width:58.33333333%}.col-sm-6{width:50%}.col-sm-5{width:41.66666667%}.col-sm-4{width:33.33333333%}.col-sm-3{width:25%}.col-sm-2{width:16.66666667%}.col-sm-1{width:8.33333333%}.col-sm-pull-12{right:100%}.col-sm-pull-11{right:91.66666667%}.col-sm-pull-10{right:83.33333333%}.col-sm-pull-9{right:75%}.col-sm-pull-8{right:66.66666667%}.col-sm-pull-7{right:58.33333333%}.col-sm-pull-6{right:50%}.col-sm-pull-5{right:41.66666667%}.col-sm-pull-4{right:33.33333333%}.col-sm-pull-3{right:25%}.col-sm-pull-2{right:16.66666667%}.col-sm-pull-1{right:8.33333333%}.col-sm-pull-0{right:auto}.col-sm-push-12{left:100%}.col-sm-push-11{left:91.66666667%}.col-sm-push-10{left:83.33333333%}.col-sm-push-9{left:75%}.col-sm-push-8{left:66.66666667%}.col-sm-push-7{left:58.33333333%}.col-sm-push-6{left:50%}.col-sm-push-5{left:41.66666667%}.col-sm-push-4{left:33.33333333%}.col-sm-push-3{left:25%}.col-sm-push-2{left:16.66666667%}.col-sm-push-1{left:8.33333333%}.col-sm-push-0{left:auto}.col-sm-offset-12{margin-left:100%}.col-sm-offset-11{margin-left:91.66666667%}.col-sm-offset-10{margin-left:83.33333333%}.col-sm-offset-9{margin-left:75%}.col-sm-offset-8{margin-left:66.66666667%}.col-sm-offset-7{margin-left:58.33333333%}.col-sm-offset-6{margin-left:50%}.col-sm-offset-5{margin-left:41.66666667%}.col-sm-offset-4{margin-left:33.33333333%}.col-sm-offset-3{margin-left:25%}.col-sm-offset-2{margin-left:16.66666667%}.col-sm-offset-1{margin-left:8.33333333%}.col-sm-offset-0{margin-left:0}}@media (min-width: 992px){.col-md-1,.col-md-10,.col-md-11,.col-md-12,.col-md-2,.col-md-3,.col
18-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9{float:left}.col-md-12{width:100%}.col-md-11{width:91.66666667%}.col-md-10{width:83.33333333%}.col-md-9{width:75%}.col-md-8{width:66.66666667%}.col-md-7{width:58.33333333%}.col-md-6{width:50%}.col-md-5{width:41.66666667%}.col-md-4{width:33.33333333%}.col-md-3{width:25%}.col-md-2{width:16.66666667%}.col-md-1{width:8.33333333%}.col-md-pull-12{right:100%}.col-md-pull-11{right:91.66666667%}.col-md-pull-10{right:83.33333333%}.col-md-pull-9{right:75%}.col-md-pull-8{right:66.66666667%}.col-md-pull-7{right:58.33333333%}.col-md-pull-6{right:50%}.col-md-pull-5{right:41.66666667%}.col-md-pull-4{right:33.33333333%}.col-md-pull-3{right:25%}.col-md-pull-2{right:16.66666667%}.col-md-pull-1{right:8.33333333%}.col-md-pull-0{right:auto}.col-md-push-12{left:100%}.col-md-push-11{left:91.66666667%}.col-md-push-10{left:83.33333333%}.col-md-push-9{left:75%}.col-md-push-8{left:66.66666667%}.col-md-push-7{left:58.33333333%}.col-md-push-6{left:50%}.col-md-push-5{left:41.66666667%}.col-md-push-4{left:33.33333333%}.col-md-push-3{left:25%}.col-md-push-2{left:16.66666667%}.col-md-push-1{left:8.33333333%}.col-md-push-0{left:auto}.col-md-offset-12{margin-left:100%}.col-md-offset-11{margin-left:91.66666667%}.col-md-offset-10{margin-left:83.33333333%}.col-md-offset-9{margin-left:75%}.col-md-offset-8{margin-left:66.66666667%}.col-md-offset-7{margin-left:58.33333333%}.col-md-offset-6{margin-left:50%}.col-md-offset-5{margin-left:41.66666667%}.col-md-offset-4{margin-left:33.33333333%}.col-md-offset-3{margin-left:25%}.col-md-offset-2{margin-left:16.66666667%}.col-md-offset-1{margin-left:8.33333333%}.col-md-offset-0{margin-left:0}}@media (min-width: 1200px){.col-lg-1,.col-lg-10,.col-lg-11,.col-lg-12,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9{float:left}.col-lg-12{width:100%}.col-lg-11{width:91.66666667%}.col-lg-10{width:83.33333333%}.col-lg-9{width:75%}.col-lg-8{width:66.66666667%}.col-lg-7{width:58.33333333%}.col-lg-6{width:50%}.col-lg-5{width:41.66666667%}.col-lg-4{width:33.33333333%}.col-lg-3{width:25%}.col-lg-2{width:16.66666667%}.col-lg-1{width:8.33333333%}.col-lg-pull-12{right:100%}.col-lg-pull-11{right:91.66666667%}.col-lg-pull-10{right:83.33333333%}.col-lg-pull-9{right:75%}.col-lg-pull-8{right:66.66666667%}.col-lg-pull-7{right:58.33333333%}.col-lg-pull-6{right:50%}.col-lg-pull-5{right:41.66666667%}.col-lg-pull-4{right:33.33333333%}.col-lg-pull-3{right:25%}.col-lg-pull-2{right:16.66666667%}.col-lg-pull-1{right:8.33333333%}.col-lg-pull-0{right:auto}.col-lg-push-12{left:100%}.col-lg-push-11{left:91.66666667%}.col-lg-push-10{left:83.33333333%}.col-lg-push-9{left:75%}.col-lg-push-8{left:66.66666667%}.col-lg-push-7{left:58.33333333%}.col-lg-push-6{left:50%}.col-lg-push-5{left:41.66666667%}.col-lg-push-4{left:33.33333333%}.col-lg-push-3{left:25%}.col-lg-push-2{left:16.66666667%}.col-lg-push-1{left:8.33333333%}.col-lg-push-0{left:auto}.col-lg-offset-12{margin-left:100%}.col-lg-offset-11{margin-left:91.66666667%}.col-lg-offset-10{margin-left:83.33333333%}.col-lg-offset-9{margin-left:75%}.col-lg-offset-8{margin-left:66.66666667%}.col-lg-offset-7{margin-left:58.33333333%}.col-lg-offset-6{margin-left:50%}.col-lg-offset-5{margin-left:41.66666667%}.col-lg-offset-4{margin-left:33.33333333%}.col-lg-offset-3{margin-left:25%}.col-lg-offset-2{margin-left:16.66666667%}.col-lg-offset-1{margin-left:8.33333333%}.col-lg-offset-0{margin-left:0}}table{background-color:transparent}caption{padding-top:8px;padding-bottom:8px;color:#777;text-align:left}th{text-align:left}.table{width:100%;max-width:100%;margin-bottom:20px}.table>tbody>tr>td,.table>tbody>tr>th,.table>tfoot>tr>td,.table>tfoot>tr>th,.table>thead>tr>td,.table>thead>tr>th{padding:8px;line-height:1.42857143;vertical-align:top;border-top:1px solid #ddd}.table>thead>tr>th{vertical-align:bottom;border-bottom:2px solid #ddd}.table>caption+thead>tr:first-child>td,.table>caption+thead>tr:first-child>th,.table>colgroup+thead>tr:first-child>td,.table>colgroup+thead>tr:first-child>th,.table>thead:first-child>tr:first-child>td,.table>thead:first-child>tr:first-child>th{border-top:0}.table>tbody+tbody{border-top:2px solid #ddd}.table .table{background-color:#fff}.table-condensed>tbody>tr>td,.table-condensed>tbody>tr>th,.table-condensed>tfoot>tr>td,.table-condensed>tfoot>tr>th,.table-condensed>thead>tr>td,.table-condensed>thead>tr>th{padding:5px}.table-bordered{border:1px solid #ddd}.table-bordered>tbody>tr>td,.table-bordered>tbody>tr>th,.table-bordered>tfoot>tr>td,.table-bordered>tfoot>tr>th,.table-bordered>thead>tr>td,.table-bordered>thead>tr>th{border:1px solid #ddd}.table-bordered>thead>tr>td,.table-bordered>thead>tr>th{border-bottom-width:2px}.table-striped>tbody>tr:nth-of-type(odd){background-color:#f9f9f9}.table-hover>tbody>tr:hover{background-color:#f5f5f5}table col[class*=col-]{position:static;display:table-column;float:none}table td[class*=col-],table th[class*=col-]{position:static;display:table-cell;float:none}.table>tbody>tr.active>td,.table>tbody>tr.active>th,.table>tbody>tr>td.active,.table>tbody>tr>th.active,.table>tfoot>tr.active>td,.table>tfoot>tr.active>th,.table>tfoot>tr>td.active,.table>tfoot>tr>th.active,.table>thead>tr.active>td,.table>thead>tr.active>th,.table>thead>tr>td.active,.table>thead>tr>th.active{background-color:#f5f5f5}.table-hover>tbody>tr.active:hover>td,.table-hover>tbody>tr.active:hover>th,.table-hover>tbody>tr:hover>.active,.table-hover>tbody>tr>td.active:hover,.table-hover>tbody>tr>th.active:hover{background-color:#e8e8e8}.table>tbody>tr.success>td,.table>tbody>tr.success>th,.table>tbody>tr>td.success,.table>tbody>tr>th.success,.table>tfoot>tr.success>td,.table>tfoot>tr.success>th,.table>tfoot>tr>td.success,.table>tfoot>tr>th.success,.table>thead>tr.success>td,.table>thead>tr.success>th,.table>thead>tr>td.success,.table>thead>tr>th.success{background-color:#dff0d8}.table-hover>tbody>tr.success:hover>td,.table-hover>tbody>tr.success:hover>th,.table-hover>tbody>tr:hover>.success,.table-hover>tbody>tr>td.success:hover,.table-hover>tbody>tr>th.success:hover{background-color:#d0e9c6}.table>tbody>tr.info>td,.table>tbody>tr.info>th,.table>tbody>tr>td.info,.table>tbody>tr>th.info,.table>tfoot>tr.info>td,.table>tfoot>tr.info>th,.table>tfoot>tr>td.info,.table>tfoot>tr>th.info,.table>thead>tr.info>td,.table>thead>tr.info>th,.table>thead>tr>td.info,.table>thead>tr>th.info{background-color:#d9edf7}.table-hover>tbody>tr.info:hover>td,.table-hover>tbody>tr.info:hover>th,.table-hover>tbody>tr:hover>.info,.table-hover>tbody>tr>td.info:hover,.table-hover>tbody>tr>th.info:hover{background-color:#c4e3f3}.table>tbody>tr.warning>td,.table>tbody>tr.warning>th,.table>tbody>tr>td.warning,.table>tbody>tr>th.warning,.table>tfoot>tr.warning>td,.table>tfoot>tr.warning>th,.table>tfoot>tr>td.warning,.table>tfoot>tr>th.warning,.table>thead>tr.warning>td,.table>thead>tr.warning>th,.table>thead>tr>td.warning,.table>thead>tr>th.warning{background-color:#fcf8e3}.table-hover>tbody>tr.warning:hover>td,.table-hover>tbody>tr.warning:hover>th,.table-hover>tbody>tr:hover>.warning,.table-hover>tbody>tr>td.warning:hover,.table-hover>tbody>tr>th.warning:hover{background-color:#faf2cc}.table>tbody>tr.danger>td,.table>tbody>tr.danger>th,.table>tbody>tr>td.danger,.table>tbody>tr>th.danger,.table>tfoot>tr.danger>td,.table>tfoot>tr.danger>th,.table>tfoot>tr>td.danger,.table>tfoot>tr>th.danger,.table>thead>tr.danger>td,.table>thead>tr.danger>th,.table>thead>tr>td.danger,.table>thead>tr>th.danger{background-color:#f2dede}.table-hover>tbody>tr.danger:hover>td,.table-hover>tbody>tr.danger:hover>th,.table-hover>tbody>tr:hover>.danger,.table-hover>tbody>tr>td.danger:hover,.table-hover>tbody>tr>th.danger:hover{background-color:#ebcccc}.table-responsive{min-height:0.01%;overflow-x:auto}@media screen and (max-width: 767px){.table-responsive{width:100%;margin-bottom:15px;overflow-y:hidden;-ms-overflow-style:-ms-autohiding-scrollbar;border:1px solid #ddd}.table-responsive>.table{margin-bottom:0}.table-responsive>.table>tbody>tr>td,.table-responsive>.table>tbody>tr>th,.table-responsive>.table>tfoot>tr>td,.table-responsive>.table>tfoot>tr>th,.table-responsive>.table>thead>tr>td,.table-responsive>.table>thead>tr>th{white-space:nowrap}.table-responsive>.table-bordered{border:0}.table-responsive>.table-bordered>tbody>tr>td:first-child,.table-responsive>.table-bordered>tbody>tr>th:first-child,.table-responsive>.table-bordered>tfoot>tr>td:first-child,.table-responsive>.table-bordered>tfoot>tr>th:first-child,.table-responsive>.table-bordered>thead>tr>td:first-child,.table-responsive>.table-bordered>thead>tr>th:first-child{border-left:0}.table-responsive>.table-bordered>tbody>tr>td:last-child,.table-responsive>.table-bordered>tbody>tr>th:last-child,.table-responsive>.table-bordered>tfoot>tr>td:last-child,.table-responsive>.table-bordered>tfoot>tr>th:last-child,.table-responsive>.table-bordered>thead>tr>td:last-child,.table-responsive>.table-bordered>thead>tr>th:last-child{border-right:0}.table-responsive>.table-bordered>tbody>tr:last-child>td,.table-responsive>.table-bordered>tbody>tr:last-child>th,.table-responsive>.table-bordered>tfoot>tr:last-child>td,.table-responsive>.table-bordered>tfoot>tr:last-child>th{border-bottom:0}}fieldset{min-width:0;padding:0;margin:0;border:0}legend{display:block;width:100%;padding:0;margin-bottom:20px;font-size:21px;line-height:inherit;color:#333;border:0;border-bottom:1px solid #e5e5e5}label{display:inline-block;max-width:100%;margin-bottom:5px;font-weight:700}input[type=search]{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}input[type=checkbox],input[type=radio]{margin:4px 0 0;margin-top:1px\\9;line-height:normal}input[type=file]{display:block}input[type=range]{display:block;width:100%}select[multiple],select[size]{height:auto}input[type=file]:focus,input[type=checkbox]:focus,input[type=radio]:focus{outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}output{display:block;padding-top:7px;font-size:14px;line-height:1.42857143;color:#555}.form-control{display:block;width:100%;height:34px;padding:6px 12px;font-size:14px;line-height:1.42857143;color:#555;background-color:#fff;background-image:none;border:1px solid #ccc;border-radius:4px;-webkit-box-shadow:inset 0 1px 1px rgba(0, 0, 0, 0.075);box-shadow:inset 0 1px 1px rgba(0, 0, 0, 0.075);-webkit-transition:border-color ease-in-out 0.15s, -webkit-box-shadow ease-in-out 0.15s;-o-transition:border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;transition:border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s}.form-control:focus{border-color:#66afe9;outline:0;-webkit-box-shadow:inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.6);box-shadow:inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.6)}.form-control::-moz-placeholder{color:#999;opacity:1}.form-control:-ms-input-placeholder{color:#999}.form-control::-webkit-input-placeholder{color:#999}.form-control::-ms-expand{background-color:transparent;border:0}.form-control[disabled],.form-control[readonly],fieldset[disabled] .form-control{background-color:#eee;opacity:1}.form-control[disabled],fieldset[disabled] .form-control{cursor:not-allowed}textarea.form-control{height:auto}input[type=search]{-webkit-appearance:none}@media screen and (-webkit-min-device-pixel-ratio: 0){input[type=date].form-control,input[type=time].form-control,input[type=datetime-local].form-control,input[type=month].form-control{line-height:34px}.input-group-sm input[type=date],.input-group-sm input[type=time],.input-group-sm input[type=datetime-local],.input-group-sm input[type=month],input[type=date].input-sm,input[type=time].input-sm,input[type=datetime-local].input-sm,input[type=month].input-sm{line-height:30px}.input-group-lg input[type=date],.input-group-lg input[type=time],.input-group-lg input[type=datetime-local],.input-group-lg input[type=month],input[type=date].input-lg,input[type=time].input-lg,input[type=datetime-local].input-lg,input[type=month].input-lg{line-height:46px}}.form-group{margin-bottom:15px}.checkbox,.radio{position:relative;display:block;margin-top:10px;margin-bottom:10px}.checkbox label,.radio label{min-height:20px;padding-left:20px;margin-bottom:0;font-weight:400;cursor:pointer}.checkbox input[type=checkbox],.checkbox-inline input[type=checkbox],.radio input[type=radio],.radio-inline input[type=radio]{position:absolute;margin-top:4px\\9;margin-left:-20px}.checkbox+.checkbox,.radio+.radio{margin-top:-5px}.checkbox-inline,.radio-inline{position:relative;display:inline-block;padding-left:20px;margin-bottom:0;font-weight:400;vertical-align:middle;cursor:pointer}.checkbox-inline+.checkbox-inline,.radio-inline+.radio-inline{margin-top:0;margin-left:10px}fieldset[disabled] input[type=checkbox],fieldset[disabled] input[type=radio],input[type=checkbox].disabled,input[type=checkbox][disabled],input[type=radio].disabled,input[type=radio][disabled]{cursor:not-allowed}.checkbox-inline.disabled,.radio-inline.disabled,fieldset[disabled] .checkbox-inline,fieldset[disabled] .radio-inline{cursor:not-allowed}.checkbox.disabled label,.radio.disabled label,fieldset[disabled] .checkbox label,fieldset[disabled] .radio label{cursor:not-allowed}.form-control-static{min-height:34px;padding-top:7px;padding-bottom:7px;margin-bottom:0}.form-control-static.input-lg,.form-control-static.input-sm{padding-right:0;padding-left:0}.input-sm{height:30px;padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}select.input-sm{height:30px;line-height:30px}select[multiple].input-sm,textarea.input-sm{height:auto}.form-group-sm .form-control{height:30px;padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}.form-group-sm select.form-control{height:30px;line-height:30px}.form-group-sm select[multiple].form-control,.form-group-sm textarea.form-control{height:auto}.form-group-sm .form-control-static{height:30px;min-height:32px;padding:6px 10px;font-size:12px;line-height:1.5}.input-lg{height:46px;padding:10px 16px;font-size:18px;line-height:1.3333333;border-radius:6px}select.input-lg{height:46px;line-height:46px}select[multiple].input-lg,textarea.input-lg{height:auto}.form-group-lg .form-control{height:46px;padding:10px 16px;font-size:18px;line-height:1.3333333;border-radius:6px}.form-group-lg select.form-control{height:46px;line-height:46px}.form-group-lg select[multiple].form-control,.form-group-lg textarea.form-control{height:auto}.form-group-lg .form-control-static{height:46px;min-height:38px;padding:11px 16px;font-size:18px;line-height:1.3333333}.has-feedback{position:relative}.has-feedback .form-control{padding-right:42.5px}.form-control-feedback{position:absolute;top:0;right:0;z-index:2;display:block;width:34px;height:34px;line-height:34px;text-align:center;pointer-events:none}.form-group-lg .form-control+.form-control-feedback,.input-group-lg+.form-control-feedback,.input-lg+.form-control-feedback{width:46px;height:46px;line-height:46px}.form-group-sm .form-control+.form-control-feedback,.input-group-sm+.form-control-feedback,.input-sm+.form-control-feedback{width:30px;height:30px;line-height:30px}.has-success .checkbox,.has-success .checkbox-inline,.has-success .control-label,.has-success .help-block,.has-success .radio,.has-success .radio-inline,.has-success.checkbox label,.has-success.checkbox-inline label,.has-success.radio label,.has-success.radio-inline label{color:#3c763d}.has-success .form-control{border-color:#3c763d;-webkit-box-shadow:inset 0 1px 1px rgba(0, 0, 0, 0.075);box-shadow:inset 0 1px 1px rgba(0, 0, 0, 0.075)}.has-success .form-control:focus{border-color:#2b542c;-webkit-box-shadow:inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #67b168;box-shadow:inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #67b168}.has-success .input-group-addon{color:#3c763d;background-color:#dff0d8;border-color:#3c763d}.has-success .form-control-feedback{color:#3c763d}.has-warning .checkbox,.has-warning .checkbox-inline,.has-warning .control-label,.has-warning .help-block,.has-warning .radio,.has-warning .radio-inline,.has-warning.checkbox label,.has-warning.checkbox-inline label,.has-warning.radio label,.has-warning.radio-inline label{color:#8a6d3b}.has-warning .form-control{border-color:#8a6d3b;-webkit-box-shadow:inset 0 1px 1px rgba(0, 0, 0, 0.075);box-shadow:inset 0 1px 1px rgba(0, 0, 0, 0.075)}.has-warning .form-control:focus{bord
18er-color:#66512c;-webkit-box-shadow:inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #c0a16b;box-shadow:inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #c0a16b}.has-warning .input-group-addon{color:#8a6d3b;background-color:#fcf8e3;border-color:#8a6d3b}.has-warning .form-control-feedback{color:#8a6d3b}.has-error .checkbox,.has-error .checkbox-inline,.has-error .control-label,.has-error .help-block,.has-error .radio,.has-error .radio-inline,.has-error.checkbox label,.has-error.checkbox-inline label,.has-error.radio label,.has-error.radio-inline label{color:#a94442}.has-error .form-control{border-color:#a94442;-webkit-box-shadow:inset 0 1px 1px rgba(0, 0, 0, 0.075);box-shadow:inset 0 1px 1px rgba(0, 0, 0, 0.075)}.has-error .form-control:focus{border-color:#843534;-webkit-box-shadow:inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #ce8483;box-shadow:inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #ce8483}.has-error .input-group-addon{color:#a94442;background-color:#f2dede;border-color:#a94442}.has-error .form-control-feedback{color:#a94442}.has-feedback label~.form-control-feedback{top:25px}.has-feedback label.sr-only~.form-control-feedback{top:0}.help-block{display:block;margin-top:5px;margin-bottom:10px;color:#737373}
18@media (min-width: 768px){.form-inline .form-group{display:inline-block;margin-bottom:0;vertical-align:middle}.form-inline .form-control{display:inline-block;width:auto;vertical-align:middle}.form-inline .form-control-static{display:inline-block}.form-inline .input-group{display:inline-table;vertical-align:middle}.form-inline .input-group .form-control,.form-inline .input-group .input-group-addon,.form-inline .input-group .input-group-btn{width:auto}.form-inline .input-group>.form-control{width:100%}.form-inline .control-label{margin-bottom:0;vertical-align:middle}.form-inline .checkbox,.form-inline .radio{display:inline-block;margin-top:0;margin-bottom:0;vertical-align:middle}.form-inline .checkbox label,.form-inline .radio label{padding-left:0}.form-inline .checkbox input[type=checkbox],.form-inline .radio input[type=radio]{position:relative;margin-left:0}.form-inline .has-feedback .form-control-feedback{top:0}}.form-horizontal .checkbox,.form-horizontal .checkbox-inline,.form-horizontal .radio,.form-horizontal .radio-inline{padding-top:7px;margin-top:0;margin-bottom:0}.form-horizontal .checkbox,.form-horizontal .radio{min-height:27px}.form-horizontal .form-group{margin-right:-15px;margin-left:-15px}@media (min-width: 768px){.form-horizontal .control-label{padding-top:7px;margin-bottom:0;text-align:right}}.form-horizontal .has-feedback .form-control-feedback{right:15px}@media (min-width: 768px){.form-horizontal .form-group-lg .control-label{padding-top:11px;font-size:18px}}@media (min-width: 768px){.form-horizontal .form-group-sm .control-label{padding-top:6px;font-size:12px}}.btn{display:inline-block;padding:6px 12px;margin-bottom:0;font-size:14px;font-weight:400;line-height:1.42857143;text-align:center;white-space:nowrap;vertical-align:middle;-ms-touch-action:manipulation;touch-action:manipulation;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background-image:none;border:1px solid transparent;border-radius:4px}.btn.active.focus,.btn.active:focus,.btn.focus,.btn:active.focus,.btn:active:focus,.btn:focus{outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}.btn.focus,.btn:focus,.btn:hover{color:#333;text-decoration:none}.btn.active,.btn:active{background-image:none;outline:0;-webkit-box-shadow:inset 0 3px 5px rgba(0, 0, 0, 0.125);box-shadow:inset 0 3px 5px rgba(0, 0, 0, 0.125)}.btn.disabled,.btn[disabled],fieldset[disabled] .btn{cursor:not-allowed;filter:alpha(opacity=65);-webkit-box-shadow:none;box-shadow:none;opacity:0.65}a.btn.disabled,fieldset[disabled] a.btn{pointer-events:none}.btn-default{color:#333;background-color:#fff;border-color:#ccc}.btn-default.focus,.btn-default:focus{color:#333;background-color:#e6e6e6;border-color:#8c8c8c}.btn-default:hover{color:#333;background-color:#e6e6e6;border-color:#adadad}.btn-default.active,.btn-default:active,.open>.dropdown-toggle.btn-default{color:#333;background-color:#e6e6e6;border-color:#adadad}.btn-default.active.focus,.btn-default.active:focus,.btn-default.active:hover,.btn-default:active.focus,.btn-default:active:focus,.btn-default:active:hover,.open>.dropdown-toggle.btn-default.focus,.open>.dropdown-toggle.btn-default:focus,.open>.dropdown-toggle.btn-default:hover{color:#333;background-color:#d4d4d4;border-color:#8c8c8c}.btn-default.active,.btn-default:active,.open>.dropdown-toggle.btn-default{background-image:none}.btn-default.disabled.focus,.btn-default.disabled:focus,.btn-default.disabled:hover,.btn-default[disabled].focus,.btn-default[disabled]:focus,.btn-default[disabled]:hover,fieldset[disabled] .btn-default.focus,fieldset[disabled] .btn-default:focus,fieldset[disabled] .btn-default:hover{background-color:#fff;border-color:#ccc}.btn-default .badge{color:#fff;background-color:#333}.btn-primary{color:#fff;background-color:#337ab7;border-color:#2e6da4}.btn-primary.focus,.btn-primary:focus{color:#fff;background-color:#286090;border-color:#122b40}.btn-primary:hover{color:#fff;background-color:#286090;border-color:#204d74}.btn-primary.active,.btn-primary:active,.open>.dropdown-toggle.btn-primary{color:#fff;background-color:#286090;border-color:#204d74}.btn-primary.active.focus,.btn-primary.active:focus,.btn-primary.active:hover,.btn-primary:active.focus,.btn-primary:active:focus,.btn-primary:active:hover,.open>.dropdown-toggle.btn-primary.focus,.open>.dropdown-toggle.btn-primary:focus,.open>.dropdown-toggle.btn-primary:hover{color:#fff;background-color:#204d74;border-color:#122b40}
18.btn-primary.active,.btn-primary:active,.open>.dropdown-toggle.btn-primary{background-image:none}.btn-primary.disabled.focus,.btn-primary.disabled:focus,.btn-primary.disabled:hover,.btn-primary[disabled].focus,.btn-primary[disabled]:focus,.btn-primary[disabled]:hover,fieldset[disabled] .btn-primary.focus,fieldset[disabled] .btn-primary:focus,fieldset[disabled] .btn-primary:hover{background-color:#337ab7;border-color:#2e6da4}.btn-primary .badge{color:#337ab7;background-color:#fff}.btn-success{color:#fff;background-color:#5cb85c;border-color:#4cae4c}.btn-success.focus,.btn-success:focus{color:#fff;background-color:#449d44;border-color:#255625}.btn-success:hover{color:#fff;background-color:#449d44;border-color:#398439}.btn-success.active,.btn-success:active,.open>.dropdown-toggle.btn-success{color:#fff;background-color:#449d44;border-color:#398439}.btn-success.active.focus,.btn-success.active:focus,.btn-success.active:hover,.btn-success:active.focus,.btn-success:active:focus,.btn-success:active:hover,.open>.dropdown-toggle.btn-success.focus,.open>.dropdown-toggle.btn-success:focus,.open>.dropdown-toggle.btn-success:hover{color:#fff;background-color:#398439;border-color:#255625}.btn-success.active,.btn-success:active,.open>.dropdown-toggle.btn-success{background-image:none}.btn-success.disabled.focus,.btn-success.disabled:focus,.btn-success.disabled:hover,.btn-success[disabled].focus,.btn-success[disabled]:focus,.btn-success[disabled]:hover,fieldset[disabled] .btn-success.focus,fieldset[disabled] .btn-success:focus,fieldset[disabled] .btn-success:hover{background-color:#5cb85c;border-color:#4cae4c}.btn-success .badge{color:#5cb85c;background-color:#fff}.btn-info{color:#fff;background-color:#5bc0de;border-color:#46b8da}.btn-info.focus,.btn-info:focus{color:#fff;background-color:#31b0d5;border-color:#1b6d85}.btn-info:hover{color:#fff;background-color:#31b0d5;border-color:#269abc}.btn-info.active,.btn-info:active,.open>.dropdown-toggle.btn-info{color:#fff;background-color:#31b0d5;border-color:#269abc}.btn-info.active.focus,.btn-info.active:focus,.btn-info.active:hover,.btn-info:active.focus,.btn-info:active:focus,.btn-info:active:hover,.open>.dropdown-toggle.btn-info.focus,.open>.dropdown-toggle.btn-info:focus,.open>.dropdown-toggle.btn-info:hover{color:#fff;background-color:#269abc;border-color:#1b6d85}.btn-info.active,.btn-info:active,.open>.dropdown-toggle.btn-info{background-image:none}.btn-info.disabled.focus,.btn-info.disabled:focus,.btn-info.disabled:hover,.btn-info[disabled].focus,.btn-info[disabled]:focus,.btn-info[disabled]:hover,fieldset[disabled] .btn-info.focus,fieldset[disabled] .btn-info:focus,fieldset[disabled] .btn-info:hover{background-color:#5bc0de;border-color:#46b8da}.btn-info .badge{color:#5bc0de;background-color:#fff}.btn-warning{color:#fff;background-color:#f0ad4e;border-color:#eea236}.btn-warning.focus,.btn-warning:focus{color:#fff;background-color:#ec971f;border-color:#985f0d}.btn-warning:hover{color:#fff;background-color:#ec971f;border-color:#d58512}.btn-warning.active,.btn-warning:active,.open>.dropdown-toggle.btn-warning{color:#fff;background-color:#ec971f;border-color:#d58512}.btn-warning.active.focus,.btn-warning.active:focus,.btn-warning.active:hover,.btn-warning:active.focus,.btn-warning:active:focus,.btn-warning:active:hover,.open>.dropdown-toggle.btn-warning.focus,.open>.dropdown-toggle.btn-warning:focus,.open>.dropdown-toggle.btn-warning:hover{color:#fff;background-color:#d58512;border-color:#985f0d}.btn-warning.active,.btn-warning:active,.open>.dropdown-toggle.btn-warning{background-image:none}.btn-warning.disabled.focus,.btn-warning.disabled:focus,.btn-warning.disabled:hover,.btn-warning[disabled].focus,.btn-warning[disabled]:focus,.btn-warning[disabled]:hover,fieldset[disabled] .btn-warning.focus,fieldset[disabled] .btn-warning:focus,fieldset[disabled] .btn-warning:hover{background-color:#f0ad4e;border-color:#eea236}.btn-warning .badge{color:#f0ad4e;background-color:#fff}.btn-danger{color:#fff;background-color:#d9534f;border-color:#d43f3a}.btn-danger.focus,.btn-danger:focus{color:#fff;background-color:#c9302c;border-color:#761c19}.btn-danger:hover{color:#fff;background-color:#c9302c;border-color:#ac2925}.btn-danger.active,.btn-danger:active,.open>.dropdown-toggle.btn-danger{color:#fff;background-color:#c9302c;border-color:#ac2925}.btn-danger.active.focus,.btn-danger.active:focus,.btn-danger.active:hover,.btn-danger:active.focus,.btn-danger:active:focus,.btn-danger:active:hover,.open>.dropdown-toggle.btn-danger.focus,.open>.dropdown-toggle.btn-danger:focus,.open>.dropdown-toggle.btn-danger:hover{color:#fff;background-color:#ac2925;border-color:#761c19}.btn-danger.active,.btn-danger:active,.open>.dropdown-toggle.btn-danger{background-image:none}.btn-danger.disabled.focus,.btn-danger.disabled:focus,.btn-danger.disabled:hover,.btn-danger[disabled].focus,.btn-danger[disabled]:focus,.btn-danger[disabled]:hover,fieldset[disabled] .btn-danger.focus,fieldset[disabled] .btn-danger:focus,fieldset[disabled] .btn-danger:hover{background-color:#d9534f;border-color:#d43f3a}.btn-danger .badge{color:#d9534f;background-color:#fff}.btn-link{font-weight:400;color:#337ab7;border-radius:0}.btn-link,.btn-link.active,.btn-link:active,.btn-link[disabled],fieldset[disabled] .btn-link{background-color:transparent;-webkit-box-shadow:none;box-shadow:none}.btn-link,.btn-link:active,.btn-link:focus,.btn-link:hover{border-color:transparent}.btn-link:focus,.btn-link:hover{color:#23527c;text-decoration:underline;background-color:transparent}.btn-link[disabled]:focus,.btn-link[disabled]:hover,fieldset[disabled] .btn-link:focus,fieldset[disabled] .btn-link:hover{color:#7
1877;text-decoration:none}.btn-group-lg>.btn,.btn-lg{padding:10px 16px;font-size:18px;line-height:1.3333333;border-radius:6px}.btn-group-sm>.btn,.btn-sm{padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}.btn-group-xs>.btn,.btn-xs{padding:1px 5px;font-size:12px;line-height:1.5;border-radius:3px}.btn-block{display:block;width:100%}.btn-block+.btn-block{margin-top:5px}input[type=button].btn-block,input[type=reset].btn-block,input[type=submit].btn-block{width:100%}.fade{opacity:0;-webkit-transition:opacity 0.15s linear;-o-transition:opacity 0.15s linear;transition:opacity 0.15s linear}.fade.in{opacity:1}.collapse{display:none}.collapse.in{display:block}tr.collapse.in{display:table-row}tbody.collapse.in{display:table-row-group}.collapsing{position:relative;height:0;overflow:hidden;-webkit-transition-timing-function:ease;-o-transition-timing-function:ease;transition-timing-function:ease;-webkit-transition-duration:0.35s;-o-transition-duration:0.35s;transition-duration:0.35s;-webkit-transition-property:height, visibility;-o-transition-property:height, visibility;transition-property:height, visibility}.caret{display:inline-block;width:0;height:0;margin-left:2px;vertical-align:middle;border-top:4px dashed;border-top:4px solid\\9;border-right:4px solid transparent;border-left:4px solid transparent}.dropdown,.dropup{position:relative}.dropdown-toggle:focus{outline:0}.dropdown-menu{position:absolute;top:100%;left:0;z-index:1000;display:none;float:left;min-width:160px;padding:5px 0;margin:2px 0 0;font-size:14px;text-align:left;list-style:none;background-color:#fff;-webkit-background-clip:padding-box;background-clip:padding-box;border:1px solid #ccc;border:1px solid rgba(0, 0, 0, 0.15);border-radius:4px;-webkit-box-shadow:0 6px 12px rgba(0, 0, 0, 0.175);box-shadow:0 6px 12px rgba(0, 0, 0, 0.175)}.dropdown-menu.pull-right{right:0;left:auto}.dropdown-menu .divider{height:1px;margin:9px 0;overflow:hidden;background-color:#e5e5e5}.dropdown-menu>li>a{display:block;padding:3px 20px;clear:both;font-weight:400;line-height:1.42857143;color:#333;white-space:nowrap}.dropdown-menu>li>a:focus,.dropdown-menu>li>a:hover{color:#262626;text-decoration:none;background-color:#f5f5f5}.dropdown-menu>.active>a,.dropdown-menu>.active>a:focus,.dropdown-menu>.active>a:hover{color:#fff;text-decoration:none;background-color:#337ab7;outline:0}.dropdown-menu>.disabled>a,.dropdown-menu>.disabled>a:focus,.dropdown-menu>.disabled>a:hover{color:#777}.dropdown-menu>.disabled>a:focus,.dropdown-menu>.disabled>a:hover{text-decoration:none;cursor:not-allowed;background-color:transparent;background-image:none;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.open>.dropdown-menu{display:block}.open>a{outline:0}.dropdown-menu-right{right:0;left:auto}.dropdown-menu-left{right:auto;left:0}.dropdown-header{display:block;padding:3px 20px;font-size:12px;line-height:1.42857143;color:#777;white-space:nowrap}.dropdown-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:990}.pull-right>.dropdown-menu{right:0;left:auto}.dropup .caret,.navbar-fixed-bottom .dropdown .caret{content:"";border-top:0;border-bottom:4px dashed;border-bottom:4px solid\\9}.dropup .dropdown-menu,.navbar-fixed-bottom .dropdown .dropdown-menu{top:auto;bottom:100%;margin-bottom:2px}@media (min-width: 768px){.navbar-right .dropdown-menu{right:0;left:auto}.navbar-right .dropdown-menu-left{right:auto;left:0}}.btn-group,.btn-group-vertical{position:relative;display:inline-block;vertical-align:middle}.btn-group-vertical>.btn,.btn-group>.btn{position:relative;float:left}.btn-group-vertical>.btn.active,.btn-group-vertical>.btn:active,.btn-group-vertical>.btn:focus,.btn-group-vertical>.btn:hover,.btn-group>.btn.active,.btn-group>.btn:active,.btn-group>.btn:focus,.btn-group>.btn:hover{z-index:2}.btn-group .btn+.btn,.btn-group .btn+.btn-group,.btn-group .btn-group+.btn,.btn-group .btn-group+.btn-group{margin-left:-1px}.btn-toolbar{margin-left:-5px}.btn-toolbar .btn,.btn-toolbar .btn-group,.btn-toolbar .input-group{float:left}.btn-toolbar>.btn,.btn-toolbar>.btn-group,.btn-toolbar>.input-group{margin-left:5px}.btn-group>.btn:not(:first-child):not(:last-child):not(.dropdown-toggle){border-radius:0}.btn-group>.btn:first-child{margin-left:0}.btn-group>.btn:first-child:not(:last-child):not(.dropdown-toggle){border-top-right-radius:0;border-bottom-right-radius:0}.btn-group>.btn:last-child:not(:first-child),.btn-group>.dropdown-toggle:not(:first-child){border-top-left-radius:0;border-bottom-left-radius:0}.btn-group>.btn-group{float:left}.btn-group>.btn-group:not(:first-child):not(:last-child)>.btn{border-radius:0}.btn-group>.btn-group:first-child:not(:last-child)>.btn:last-child,.btn-group>.btn-group:first-child:not(:last-child)>.dropdown-toggle{border-top-right-radius:0;border-bottom-right-radius:0}.btn-group>.btn-group:last-child:not(:first-child)>.btn:first-child{border-top-left-radius:0;border-bottom-left-radius:0}.btn-group .dropdown-toggle:active,.btn-group.open .dropdown-toggle{outline:0}.btn-group>.btn+.dropdown-toggle{padding-right:8px;padding-left:8px}.btn-group>.btn-lg+.dropdown-toggle{padding-right:12px;padding-left:12px}
18.btn-group.open .dropdown-toggle{-webkit-box-shadow:inset 0 3px 5px rgba(0, 0, 0, 0.125);box-shadow:inset 0 3px 5px rgba(0, 0, 0, 0.125)}.btn-group.open .dropdown-toggle.btn-link{-webkit-box-shadow:none;box-shadow:none}.btn .caret{margin-left:0}.btn-lg .caret{border-width:5px 5px 0;border-bottom-width:0}.dropup .btn-lg .caret{border-width:0 5px 5px}.btn-group-vertical>.btn,.btn-group-vertical>.btn-group,.btn-group-vertical>.btn-group>.btn{display:block;float:none;width:100%;max-width:100%}.btn-group-vertical>.btn-group>.btn{float:none}.btn-group-vertical>.btn+.btn,.btn-group-vertical>.btn+.btn-group,.btn-group-vertical>.btn-group+.btn,.btn-group-vertical>.btn-group+.btn-group{margin-top:-1px;margin-left:0}.btn-group-vertical>.btn:not(:first-child):not(:last-child){border-radius:0}.btn-group-vertical>.btn:first-child:not(:last-child){border-top-left-radius:4px;border-top-right-radius:4px;border-bottom-right-radius:0;border-bottom-left-radius:0}.btn-group-vertical>.btn:last-child:not(:first-child){border-top-left-radius:0;border-top-right-radius:0;border-bottom-right-radius:4px;border-bottom-left-radius:4px}.btn-group-vertical>.btn-group:not(:first-child):not(:last-child)>.btn{border-radius:0}.btn-group-vertical>.btn-group:first-child:not(:last-child)>.btn:last-child,.btn-group-vertical>.btn-group:first-child:not(:last-child)>.dropdown-toggle{border-bottom-right-radius:0;border-bottom-left-radius:0}.btn-group-vertical>.btn-group:last-child:not(:first-child)>.btn:first-child{border-top-left-radius:0;border-top-right-radius:0}.btn-group-justified{display:table;width:100%;table-layout:fixed;border-collapse:separate}.btn-group-justified>.btn,.btn-group-justified>.btn-group{display:table-cell;float:none;width:1%}.btn-group-justified>.btn-group .btn{width:100%}.btn-group-justified>.btn-group .dropdown-menu{left:auto}[data-toggle=buttons]>.btn input[type=checkbox],[data-toggle=buttons]>.btn input[type=radio],[data-toggle=buttons]>.btn-group>.btn input[type=checkbox],[data-toggle=buttons]>.btn-group>.btn input[type=radio]{position:absolute;clip:rect(0, 0, 0, 0);pointer-events:none}.input-group{position:relative;display:table;border-collapse:separate}.input-group[class*=col-]{float:none;padding-right:0;padding-left:0}.input-group .form-control{position:relative;z-index:2;float:left;width:100%;margin-bottom:0}.input-group .form-control:focus{z-index:3}.input-group-lg>.form-control,.input-group-lg>.input-group-addon,.input-group-lg>.input-group-btn>.btn{height:46px;padding:10px 16px;font-size:18px;line-height:1.3333333;border-radius:6px}select.input-group-lg>.form-control,select.input-group-lg>.input-group-addon,select.input-group-lg>.input-group-btn>.btn{height:46px;line-height:46px}select[multiple].input-group-lg>.form-control,select[multiple].input-group-lg>.input-group-addon,select[multiple].input-group-lg>.input-group-btn>.btn,textarea.input-group-lg>.form-control,textarea.input-group-lg>.input-group-addon,textarea.input-group-lg>.input-group-btn>.btn{height:auto}.input-group-sm>.form-control,.input-group-sm>.input-group-addon,.input-group-sm>.input-group-btn>.btn{height:30px;padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}select.input-group-sm>.form-control,select.input-group-sm>.input-group-addon,select.input-group-sm>.input-group-btn>.btn{height:30px;line-height:30px}select[multiple].input-group-sm>.form-control,select[multiple].input-group-sm>.input-group-addon,select[multiple].input-group-sm>.input-group-btn>.btn,textarea.input-group-sm>.form-control,textarea.input-group-sm>.input-group-addon,textarea.input-group-sm>.input-group-btn>.btn{height:auto}.input-group .form-control,.input-group-addon,.input-group-btn{display:table-cell}
18.input-group .form-control:not(:first-child):not(:last-child),.input-group-addon:not(:first-child):not(:last-child),.input-group-btn:not(:first-child):not(:last-child){border-radius:0}.input-group-addon,.input-group-btn{width:1%;white-space:nowrap;vertical-align:middle}.input-group-addon{padding:6px 12px;font-size:14px;font-weight:400;line-height:1;color:#555;text-align:center;background-color:#eee;border:1px solid #ccc;border-radius:4px}.input-group-addon.input-sm{padding:5px 10px;font-size:12px;border-radius:3px}.input-group-addon.input-lg{padding:10px 16px;font-size:18px;border-radius:6px}.input-group-addon input[type=checkbox],.input-group-addon input[type=radio]{margin-top:0}.input-group .form-control:first-child,.input-group-addon:first-child,.input-group-btn:first-child>.btn,.input-group-btn:first-child>.btn-group>.btn,.input-group-btn:first-child>.dropdown-toggle,.input-group-btn:last-child>.btn-group:not(:last-child)>.btn,.input-group-btn:last-child>.btn:not(:last-child):not(.dropdown-toggle){border-top-right-radius:0;border-bottom-right-radius:0}.input-group-addon:first-child{border-right:0}.input-group .form-control:last-child,.input-group-addon:last-child,.input-group-btn:first-child>.btn-group:not(:first-child)>.btn,.input-group-btn:first-child>.btn:not(:first-child),.input-group-btn:last-child>.btn,.input-group-btn:last-child>.btn-group>.btn,.input-group-btn:last-child>.dropdown-toggle{border-top-left-radius:0;border-bottom-left-radius:0}.input-group-addon:last-child{border-left:0}.input-group-btn{position:relative;font-size:0;white-space:nowrap}.input-group-btn>.btn{position:relative}.input-group-btn>.btn+.btn{margin-left:-1px}.input-group-btn>.btn:active,.input-group-btn>.btn:focus,.input-group-btn>.btn:hover{z-index:2}.input-group-btn:first-child>.btn,.input-group-btn:first-child>.btn-group{margin-right:-1px}.input-group-btn:last-child>.btn,.input-group-btn:last-child>.btn-group{z-index:2;margin-left:-1px}.nav{padding-left:0;margin-bottom:0;list-style:none}.nav>li{position:relative;display:block}.nav>li>a{position:relative;display:block;padding:10px 15px}.nav>li>a:focus,.nav>li>a:hover{text-decoration:none;background-color:#eee}.nav>li.disabled>a{color:#777}.nav>li.disabled>a:focus,.nav>li.disabled>a:hover{color:#777;text-decoration:none;cursor:not-allowed;background-color:transparent}.nav .open>a,.nav .open>a:focus,.nav .open>a:hover{background-color:#eee;border-color:#337ab7}.nav .nav-divider{height:1px;margin:9px 0;overflow:hidden;background-color:#e5e5e5}.nav>li>a>img{max-width:none}.nav-tabs{border-bottom:1px solid #ddd}.nav-tabs>li{float:left;margin-bottom:-1px}.nav-tabs>li>a{margin-right:2px;line-height:1.42857143;border:1px solid transparent;border-radius:4px 4px 0 0}.nav-tabs>li>a:hover{border-color:#eee #eee #ddd}.nav-tabs>li.active>a,.nav-tabs>li.active>a:focus,.nav-tabs>li.active>a:hover{color:#555;cursor:default;background-color:#fff;border:1px solid #ddd;border-bottom-color:transparent}.nav-tabs.nav-justified{width:100%;border-bottom:0}.nav-tabs.nav-justified>li{float:none}.nav-tabs.nav-justified>li>a{margin-bottom:5px;text-align:center}.nav-tabs.nav-justified>.dropdown .dropdown-menu{top:auto;left:auto}@media (min-width: 768px){.nav-tabs.nav-justified>li{display:table-cell;width:1%}.nav-tabs.nav-justified>li>a{margin-bottom:0}}.nav-tabs.nav-justified>li>a{margin-right:0;border-radius:4px}.nav-tabs.nav-justified>.active>a,.nav-tabs.nav-justified>.active>a:focus,.nav-tabs.nav-justified>.active>a:hover{border:1px solid #ddd}@media (min-width: 768px){.nav-tabs.nav-justified>li>a{border-bottom:1px solid #ddd;border-radius:4px 4px 0 0}.nav-tabs.nav-justified>.active>a,.nav-tabs.nav-justified>.active>a:focus,.nav-tabs.nav-justified>.active>a:hover{border-bottom-color:#fff}}.nav-pills>li{float:left}.nav-pills>li>a{border-radius:4px}.nav-pills>li+li{margin-left:2px}.nav-pills>li.active>a,.nav-pills>li.active>a:focus,.nav-pills>li.active>a:hover{color:#fff;background-color:#337ab7}.nav-stacked>li{float:none}.nav-stacked>li+li{margin-top:2px;margin-left:0}.nav-justified{width:100%}.nav-justified>li{float:none}.nav-justified>li>a{margin-bottom:5px;text-align:center}.nav-justified>.dropdown .dropdown-menu{top:auto;left:auto}@media (min-width: 768px){.nav-justified>li{display:table-cell;width:1%}.nav-justified>li>a{margin-bottom:0}}.nav-tabs-justified{border-bottom:0}.nav-tabs-justified>li>a{margin-right:0;border-radius:4px}.nav-tabs-justified>.active>a,.nav-tabs-justified>.active>a:focus,.nav-tabs-justified>.active>a:hover{border:1px solid #ddd}@media (min-width: 768px){.nav-tabs-justified>li>a{border-bottom:1px solid #ddd;border-radius:4px 4px 0 0}.nav-tabs-justified>.active>a,.nav-tabs-justified>.active>a:focus,.nav-tabs-justified>.active>a:hover{border-bottom-color:#fff}}.tab-content>.tab-pane{display:none}.tab-content>.active{display:block}.nav-tabs .dropdown-menu{margin-top:-1px;border-top-left-radius:0;border-top-right-radius:0}.navbar{position:relative;min-height:50px;margin-bottom:20px;border:1px solid transparent}@media (min-width: 768px){.navbar{border-radius:4px}}@media (min-width: 768px){.navbar-header{float:left}}.navbar-collapse{padding-right:15px;padding-left:15px;overflow-x:visible;-webkit-overflow-scrolling:touch;border-top:1px solid transparent;-webkit-box-shadow:inset 0 1px 0 rgba(255, 255, 255, 0.1);box-shadow:inset 0 1px 0 rgba(255, 255, 255, 0.1)}.navbar-collapse.in{overflow-y:auto}@media (min-width: 768px){.navbar-collapse{width:auto;border-top:0;-webkit-box-shadow:none;box-shadow:none}.navbar-collapse.collapse{display:block !important;height:auto !important;padding-bottom:0;overflow:visible !important}.navbar-collapse.in{overflow-y:visible}.navbar-fixed-bottom .navbar-collapse,.navbar-fixed-top .navbar-collapse,.navbar-static-top .navbar-collapse{padding-right:0;padding-left:0}}.navbar-fixed-bottom .navbar-collapse,.navbar-fixed-top .navbar-collapse{max-height:340px}@media (max-device-width: 480px) and (orientation: landscape){.n
18avbar-fixed-bottom .navbar-collapse,.navbar-fixed-top .navbar-collapse{max-height:200px}}.container-fluid>.navbar-collapse,.container-fluid>.navbar-header,.container>.navbar-collapse,.container>.navbar-header{margin-right:-15px;margin-left:-15px}@media (min-width: 768px){.container-fluid>.navbar-collapse,.container-fluid>.navbar-header,.container>.navbar-collapse,.container>.navbar-header{margin-right:0;margin-left:0}}.navbar-static-top{z-index:1000;border-width:0 0 1px}@media (min-width: 768px){.navbar-static-top{border-radius:0}}.navbar-fixed-bottom,.navbar-fixed-top{position:fixed;right:0;left:0;z-index:1030}@media (min-width: 768px){.navbar-fixed-bottom,.navbar-fixed-top{border-radius:0}}.navbar-fixed-top{top:0;border-width:0 0 1px}.navbar-fixed-bottom{bottom:0;margin-bottom:0;border-width:1px 0 0}.navbar-brand{float:left;height:50px;padding:15px 15px;font-size:18px;line-height:20px}.navbar-brand:focus,.navbar-brand:hover{text-decoration:none}.navbar-brand>img{display:block}@media (min-width: 768px){.navbar>.container .navbar-brand,.navbar>.container-fluid .navbar-brand{margin-left:-15px}}.navbar-toggle{position:relative;float:right;padding:9px 10px;margin-top:8px;margin-right:15px;margin-bottom:8px;background-color:transparent;background-image:none;border:1px solid transparent;border-radius:4px}.navbar-toggle:focus{outline:0}.navbar-toggle .icon-bar{display:block;width:22px;height:2px;border-radius:1px}.navbar-toggle .icon-bar+.icon-bar{margin-top:4px}@media (min-width: 768px){.navbar-toggle{display:none}}.navbar-nav{margin:7.5px -15px}.navbar-nav>li>a{padding-top:10px;padding-bottom:10px;line-height:20px}@media (max-width: 767px){.navbar-nav .open .dropdown-menu{position:static;float:none;width:auto;margin-top:0;background-color:transparent;border:0;-webkit-box-shadow:none;box-shadow:none}.navbar-nav .open .dropdown-menu .dropdown-header,.navbar-nav .open .dropdown-menu>li>a{padding:5px 15px 5px 25px}.navbar-nav .open .dropdown-menu>li>a{line-height:20px}.navbar-nav .open .dropdown-menu>li>a:focus,.navbar-nav .open .dropdown-menu>li>a:hover{background-image:none}}@media (min-width: 768px){.navbar-nav{float:left;margin:0}.navbar-nav>li{float:left}.navbar-nav>li>a{padding-top:15px;padding-bottom:15px}}.navbar-form{padding:10px 15px;margin-top:8px;margin-right:-15px;margin-bottom:8px;margin-left:-15px;border-top:1px solid transparent;border-bottom:1px solid transparent;-webkit-box-shadow:inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 0 rgba(255, 255, 255, 0.1);box-shadow:inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 0 rgba(255, 255, 255, 0.1)}
18@media (min-width: 768px){.navbar-form .form-group{display:inline-block;margin-bottom:0;vertical-align:middle}.navbar-form .form-control{display:inline-block;width:auto;vertical-align:middle}.navbar-form .form-control-static{display:inline-block}.navbar-form .input-group{display:inline-table;vertical-align:middle}.navbar-form .input-group .form-control,.navbar-form .input-group .input-group-addon,.navbar-form .input-group .input-group-btn{width:auto}.navbar-form .input-group>.form-control{width:100%}.navbar-form .control-label{margin-bottom:0;vertical-align:middle}.navbar-form .checkbox,.navbar-form .radio{display:inline-block;margin-top:0;margin-bottom:0;vertical-align:middle}.navbar-form .checkbox label,.navbar-form .radio label{padding-left:0}.navbar-form .checkbox input[type=checkbox],.navbar-form .radio input[type=radio]{position:relative;margin-left:0}.navbar-form .has-feedback .form-control-feedback{top:0}}@media (max-width: 767px){.navbar-form .form-group{margin-bottom:5px}.navbar-form .form-group:last-child{margin-bottom:0}}@media (min-width: 768px){.navbar-form{width:auto;padding-top:0;padding-bottom:0;margin-right:0;margin-left:0;border:0;-webkit-box-shadow:none;box-shadow:none}}.navbar-nav>li>.dropdown-menu{margin-top:0;border-top-left-radius:0;border-top-right-radius:0}.navbar-fixed-bottom .navbar-nav>li>.dropdown-menu{margin-bottom:0;border-top-left-radius:4px;border-top-right-radius:4px;border-bottom-right-radius:0;border-bottom-left-radius:0}.navbar-btn{margin-top:8px;margin-bottom:8px}.navbar-btn.btn-sm{margin-top:10px;margin-bottom:10px}.navbar-btn.btn-xs{margin-top:14px;margin-bottom:14px}.navbar-text{margin-top:15px;margin-bottom:15px}@media (min-width: 768px){.navbar-text{float:left;margin-right:15px;margin-left:15px}}@media (min-width: 768px){.navbar-left{float:left !important}.navbar-right{float:right !important;margin-right:-15px}.navbar-right~.navbar-right{margin-right:0}}.navbar-default{background-color:#f8f8f8;border-color:#e7e7e7}.navbar-default .navbar-brand{color:#777}.navbar-default .navbar-brand:focus,.navbar-default .navbar-brand:hover{color:#5e5e5e;background-color:transparent}.navbar-default .navbar-text{color:#777}.navbar-default .navbar-nav>li>a{color:#777}.navbar-default .navbar-nav>li>a:focus,.navbar-default .navbar-nav>li>a:hover{color:#333;background-color:transparent}.navbar-default .navbar-nav>.active>a,.navbar-default .navbar-nav>.active>a:focus,.navbar-default .navbar-nav>.active>a:hover{color:#555;background-color:#e7e7e7}.navbar-default .navbar-nav>.disabled>a,.navbar-default .navbar-nav>.disabled>a:focus,.navbar-default .navbar-nav>.disabled>a:hover{color:#ccc;background-color:transparent}.navbar-default .navbar-toggle{border-color:#ddd}.navbar-default .navbar-toggle:focus,.navbar-default .navbar-toggle:hover{background-color:#ddd}.navbar-default .navbar-toggle .icon-bar{background-color:#888}.navbar-default .navbar-collapse,.navbar-default .navbar-form{border-color:#e7e7e7}.navbar-default .navbar-nav>.open>a,.navbar-default .navbar-nav>.open>a:focus,.navbar-default .navbar-nav>.open>a:hover{color:#555;background-color:#e7e7e7}@media (max-width: 767px){.navbar-default .navbar-nav .open .dropdown-menu>li>a{color:#777}.navbar-default .navbar-nav .open .dropdown-menu>li>a:focus,.navbar-default .navbar-nav .open .dropdown-menu>li>a:hover{color:#333;background-color:transparent}.navbar-default .navbar-nav .open .dropdown-menu>.active>a,.navbar-default .navbar-nav .open .dropdown-menu>.active>a:focus,.navbar-default .navbar-nav .open .dropdown-menu>.active>a:hover{color:#555;background-color:#e7e7e7}.navbar-default .navbar-nav .open .dropdown-menu>.disabled>a,.navbar-default .navbar-nav .open .dropdown-menu>.disabled>a:focus,.navbar-default .navbar-nav .open .dropdown-menu>.disabled>a:hover{color:#ccc;background-color:transparent}}.navbar-default .navbar-link{color:#777}.navbar-default .navbar-link:hover{color:#333}.navbar-default .btn-link{color:#777}.navbar-default .btn-link:focus,.navbar-default .btn-link:hover{color:#333}.navbar-default .btn-link[disabled]:focus,.navbar-default .btn-link[disabled]:hover,fieldset[disabled] .navbar-default .btn-link:focus,fieldset[disabled] .navbar-default .btn-link:hover{color:#ccc}.navbar-inverse{background-color:#222;border-color:#080808}.navbar-inverse .navbar-brand{color:#9d9d9d}.navbar-inverse .navbar-brand:focus,.navbar-inverse .navbar-brand:hover{color:#fff;background-color:transparent}.navbar-inverse .navbar-text{color:#9d9d9d}.navbar-inverse .navbar-nav>li>a{color:#9d9d9d}.navbar-inverse .navbar-nav>li>a:focus,.navbar-inverse .navbar-nav>li>a:hover{color:#fff;background-color:transparent}.navbar-inverse .navbar-nav>.active>a,.navbar-inverse .navbar-nav>.active>a:focus,.navbar-inverse .navbar-nav>.active>a:hover{color:#fff;background-color:#080808}.navbar-inverse .navbar-nav>.disabled>a,.navbar-inverse .navbar-nav>.disabled>a:focus,.navbar-inverse .navbar-nav>.disabled>a:hover{color:#444;background-color:transparent}.navbar-inverse .navbar-toggle{border-color:#333}.navbar-inverse .navbar-toggle:focus,.navbar-inverse .navbar-toggle:hover{background-color:#333}
18.navbar-inverse .navbar-toggle .icon-bar{background-color:#fff}.navbar-inverse .navbar-collapse,.navbar-inverse .navbar-form{border-color:#101010}.navbar-inverse .navbar-nav>.open>a,.navbar-inverse .navbar-nav>.open>a:focus,.navbar-inverse .navbar-nav>.open>a:hover{color:#fff;background-color:#080808}@media (max-width: 767px){.navbar-inverse .navbar-nav .open .dropdown-menu>.dropdown-header{border-color:#080808}.navbar-inverse .navbar-nav .open .dropdown-menu .divider{background-color:#080808}.navbar-inverse .navbar-nav .open .dropdown-menu>li>a{color:#9d9d9d}.navbar-inverse .navbar-nav .open .dropdown-menu>li>a:focus,.navbar-inverse .navbar-nav .open .dropdown-menu>li>a:hover{color:#fff;background-color:transparent}.navbar-inverse .navbar-nav .open .dropdown-menu>.active>a,.navbar-inverse .navbar-nav .open .dropdown-menu>.active>a:focus,.navbar-inverse .navbar-nav .open .dropdown-menu>.active>a:hover{color:#fff;background-color:#080808}.navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a,.navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a:focus,.navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a:hover{color:#444;background-color:transparent}}.navbar-inverse .navbar-link{color:#9d9d9d}.navbar-inverse .navbar-link:hover{color:#fff}.navbar-inverse .btn-link{color:#9d9d9d}.navbar-inverse .btn-link:focus,.navbar-inverse .btn-link:hover{color:#fff}.navbar-inverse .btn-link[disabled]:focus,.navbar-inverse .btn-link[disabled]:hover,fieldset[disabled] .navbar-inverse .btn-link:focus,fieldset[disabled] .navbar-inverse .btn-link:hover{color:#444}.breadcrumb{padding:8px 15px;margin-bottom:20px;list-style:none;background-color:#f5f5f5;border-radius:4px}.breadcrumb>li{display:inline-block}.breadcrumb>li+li:before{padding:0 5px;color:#ccc;content:"/Â "}.breadcrumb>.active{color:#777}.pagination{display:inline-block;padding-left:0;margin:20px 0;border-radius:4px}.pagination>li{display:inline}.pagination>li>a,.pagination>li>span{position:relative;float:left;padding:6px 12px;margin-left:-1px;line-height:1.42857143;color:#337ab7;text-decoration:none;background-color:#fff;border:1px solid #ddd}.pagination>li:first-child>a,.pagination>li:first-child>span{margin-left:0;border-top-left-radius:4px;border-bottom-left-radius:4px}.pagination>li:last-child>a,.pagination>li:last-child>span{border-top-right-radius:4px;border-bottom-right-radius:4px}.pagination>li>a:focus,.pagination>li>a:hover,.pagination>li>span:focus,.pagination>li>span:hover{z-index:2;color:#23527c;background-color:#eee;border-color:#ddd}.pagination>.active>a,.pagination>.active>a:focus,.pagination>.active>a:hover,.pagination>.active>span,.pagination>.active>span:focus,.pagination>.active>span:hover{z-index:3;color:#fff;cursor:default;background-color:#337ab7;border-color:#337ab7}.pagination>.disabled>a,.pagination>.disabled>a:focus,.pagination>.disabled>a:hover,.pagination>.disabled>span,.pagination>.disabled>span:focus,.pagination>.disabled>span:hover{color:#777;cursor:not-allowed;background-color:#fff;border-color:#ddd}.pagination-lg>li>a,.pagination-lg>li>span{padding:10px 16px;font-size:18px;line-height:1.3333333}.pagination-lg>li:first-child>a,.pagination-lg>li:first-child>span{border-top-left-radius:6px;border-bottom-left-radius:6px}.pagination-lg>li:last-child>a,.pagination-lg>li:last-child>span{border-top-right-radius:6px;border-bottom-right-radius:6px}.pagination-sm>li>a,.pagination-sm>li>span{padding:5px 10px;font-size:12px;line-height:1.5}.pagination-sm>li:first-child>a,.pagination-sm>li:first-child>span{border-top-left-radius:3px;border-bottom-left-radius:3px}.pagination-sm>li:last-child>a,.pagination-sm>li:last-child>span{border-top-right-radius:3px;border-bottom-right-radius:3px}.pager{padding-left:0;margin:20px 0;text-align:center;list-style:none}.pager li{display:inline}.pager li>a,.pager li>span{display:inline-block;padding:5px 14px;background-color:#fff;border:1px solid #ddd;border-radius:15px}.pager li>a:focus,.pager li>a:hover{text-decoration:none;background-color:#eee}.pager .next>a,.pager .next>span{float:right}.pager .previous>a,.pager .previous>span{float:left}.pager .disabled>a,.pager .disabled>a:focus,.pager .disabled>a:hover,.pager .disabled>
18span{color:#777;cursor:not-allowed;background-color:#fff}.label{display:inline;padding:0.2em 0.6em 0.3em;font-size:75%;font-weight:700;line-height:1;color:#fff;text-align:center;white-space:nowrap;vertical-align:baseline;border-radius:0.25em}a.label:focus,a.label:hover{color:#fff;text-decoration:none;cursor:pointer}.label:empty{display:none}.btn .label{position:relative;top:-1px}.label-default{background-color:#777}.label-default[href]:focus,.label-default[href]:hover{background-color:#5e5e5e}.label-primary{background-color:#337ab7}.label-primary[href]:focus,.label-primary[href]:hover{background-color:#286090}.label-success{background-color:#5cb85c}.label-success[href]:focus,.label-success[href]:hover{background-color:#449d44}.label-info{background-color:#5bc0de}.label-info[href]:focus,.label-info[href]:hover{background-color:#31b0d5}.label-warning{background-color:#f0ad4e}.label-warning[href]:focus,.label-warning[href]:hover{background-color:#ec971f}.label-danger{background-color:#d9534f}.label-danger[href]:focus,.label-danger[href]:hover{background-color:#c9302c}.badge{display:inline-block;min-width:10px;padding:3px 7px;font-size:12px;font-weight:700;line-height:1;color:#fff;text-align:center;white-space:nowrap;vertical-align:middle;background-color:#777;border-radius:10px}.badge:empty{display:none}.btn .badge{position:relative;top:-1px}.btn-group-xs>.btn .badge,.btn-xs .badge{top:0;padding:1px 5px}a.badge:focus,a.badge:hover{color:#fff;text-decoration:none;cursor:pointer}.list-group-item.active>.badge,.nav-pills>.active>a>.badge{color:#337ab7;background-color:#fff}.list-group-item>.badge{float:right}.list-group-item>.badge+.badge{margin-right:5px}.nav-pills>li>a>.badge{margin-left:3px}.jumbotron{padding-top:30px;padding-bottom:30px;margin-bottom:30px;color:inherit;background-color:#eee}.jumbotron .h1,.jumbotron h1{color:inherit}.jumbotron p{margin-bottom:15px;font-size:21px;font-weight:200}.jumbotron>hr{border-top-color:#d5d5d5}.container .jumbotron,.container-fluid .jumbotron{padding-right:15px;padding-left:15px;border-radius:6px}.jumbotron .container{max-width:100%}@media screen and (min-width: 768px){.jumbotron{padding-top:48px;padding-bottom:48px}.container .jumbotron,.container-fluid .jumbotron{padding-right:60px;padding-left:60px}.jumbotron .h1,.jumbotron h1{font-size:63px}}.thumbnail{display:block;padding:4px;margin-bottom:20px;line-height:1.42857143;background-color:#fff;border:1px solid #ddd;border-radius:4px;-webkit-transition:border 0.2s ease-in-out;-o-transition:border 0.2s ease-in-out;transition:border 0.2s ease-in-out}.thumbnail a>img,.thumbnail>img{margin-right:auto;margin-left:auto}a.thumbnail.active,a.thumbnail:focus,a.thumbnail:hover{border-color:#337ab7}.thumbnail .caption{padding:9px;color:#333}.alert{padding:15px;margin-bottom:20px;border:1px solid transparent;border-radius:4px}.alert h4{margin-top:0;color:inherit}.alert .alert-link{font-weight:700}.alert>p,.alert>ul{margin-bottom:0}.alert>p+p{margin-top:5px}.alert-dismissable,.alert-dismissible{padding-right:35px}.alert-dismissable .close,.alert-dismissible .close{position:relative;top:-2px;right:-21px;color:inherit}.alert-success{color:#3c763d;background-color:#dff0d8;border-color:#d6e9c6}.alert-success hr{border-top-color:#c9e2b3}.alert-success .alert-link{color:#2b542c}.alert-info{color:#31708f;background-color:#d9edf7;border-color:#bce8f1}.alert-info hr{border-top-color:#a6e1ec}.alert-info .alert-link{color:#245269}.alert-warning{color:#8a6d3b;background-color:#fcf8e3;border-color:#faebcc}.alert-warning hr{border-top-color:#f7e1b5}.alert-warning .alert-link{color:#66512c}.alert-danger{color:#a94442;background-color:#f2dede;border-color:#ebccd1}.alert-danger hr{border-top-color:#e4b9c0}.alert-danger .alert-link{color:#843534}@-webkit-keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}@-o-keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}@keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}.progress{height:20px;margin-bottom:20px;overflow:hidden;background-color:#f5f5f5;border-radius:4px;-webkit-box-shadow:inset 0 1px 2px rgba(0, 0, 0, 0.1);box-shadow:inset 0 1px 2px rgba(0, 0, 0, 0.1)}.progress-bar{float:left;width:0;height:100%;font-size:12px;line-height:20px;color:#fff;text-align:center;background-color:#337ab7;-webkit-box-shadow:inset 0 -1px 0 rgba(0, 0, 0, 0.15);box-shadow:inset 0 -1px 0 rgba(0, 0, 0, 0.15);-webkit-transition:width 0.6s ease;-o-transition:width 0.6s ease;transition:width 0.6s ease}.progress-bar-striped,.progress-striped .progress-bar{background-image:-webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);background-image:-o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);background-image:linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);-webkit-background-size:40px 40px;background-size:40px 40px}.progress-bar.active,.progress.active .progress-bar{-webkit-animation:progress-bar-stripes 2s linear infinite;-o-animation:progress-bar-stripes 2s linear infinite;animation:progress-bar-stripes 2s linear infinite}.progress-bar-success{background-color:#5cb85c}.progress-striped .progress-bar-success{background-image:-webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);background-image:-o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);background-image:linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent)}.progress-bar-info{background-color:#5bc0de}.progress-striped .progress-bar-info{background-image:-webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);background-image:-o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);background-image:linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent)}.progress-bar-warning{background-color:#f0ad4e}.progress-striped .progress-bar-warning{background-image:-webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);background-image:-o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);background-image:linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent)}.progress-bar-danger{background-color:#d9534f}.progress-striped .progress-bar-danger{background-image:-webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);background-image:-o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);background-image:linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent)}.media{margin-top:15px}.media:first-child{margin-top:0}.media,.media-body{overflow:hidden;zoom:1}.media-body{width:10000px}.media-object{display:block}.media-object.img-thumbnail{max-width:none}.media-right,.media>.pull-right{padding-left:10px}.media-left,.media>.pull-left{padding-right:10px}.media-body,.media-left,.media-right{display:table-cell;vertical-align:top}.media-middle{vertical-align:middle}.media-bottom{vertical-align:bottom}.media-heading{margin-top:0;margin-bottom:5px}.media-list{padding-left:0;list-style:none}.list-group{padding-left:0;margin-bottom:20px}.list-group-item{position:relative;display:block;padding:10px 15px;margin-bottom:-1px;background-color:#fff;border:1px solid #ddd}.list-group-item:first-child{border-top-left-radius:4px;border-top-right-radius:4px}.list-group-item:last-child{margin-bottom:0;border-bottom-right-radius:4px;border-bottom-left-radius:4px}a.list-group-item,button.list-group-item{color:#555}a.list-group-item .list-group-item-heading,button.list-group-item .list-group-item-heading{color:#333}a.list-group-item:focus,a.list-group-item:hover,button.list-group-item:focus,button.list-group-item:hover{color:#555;text-decoration:none;background-color:#f5f5f5}button.list-group-item{width:100%;text-align:left}.list-group-item.disabled,.list-group-item.disabled:focus,.list-group-item.disabled:hover{color:#7
1877;cursor:not-allowed;background-color:#eee}.list-group-item.disabled .list-group-item-heading,.list-group-item.disabled:focus .list-group-item-heading,.list-group-item.disabled:hover .list-group-item-heading{color:inherit}.list-group-item.disabled .list-group-item-text,.list-group-item.disabled:focus .list-group-item-text,.list-group-item.disabled:hover .list-group-item-text{color:#777}.list-group-item.active,.list-group-item.active:focus,.list-group-item.active:hover{z-index:2;color:#fff;background-color:#337ab7;border-color:#337ab7}.list-group-item.active .list-group-item-heading,.list-group-item.active .list-group-item-heading>.small,.list-group-item.active .list-group-item-heading>small,.list-group-item.active:focus .list-group-item-heading,.list-group-item.active:focus .list-group-item-heading>.small,.list-group-item.active:focus .list-group-item-heading>small,.list-group-item.active:hover .list-group-item-heading,.list-group-item.active:hover .list-group-item-heading>.small,.list-group-item.active:hover .list-group-item-heading>small{color:inherit}.list-group-item.active .list-group-item-text,.list-group-item.active:focus .list-group-item-text,.list-group-item.active:hover .list-group-item-text{color:#c7ddef}.list-group-item-success{color:#3c763d;background-color:#dff0d8}a.list-group-item-success,button.list-group-item-success{color:#3c763d}a.list-group-item-success .list-group-item-heading,button.list-group-item-success .list-group-item-heading{color:inherit}a.list-group-item-success:focus,a.list-group-item-success:hover,button.list-group-item-success:focus,button.list-group-item-success:hover{color:#3c763d;background-color:#d0e9c6}a.list-group-item-success.active,a.list-group-item-success.active:focus,a.list-group-item-success.active:hover,button.list-group-item-success.active,button.list-group-item-success.active:focus,button.list-group-item-success.active:hover{color:#fff;background-color:#3c763d;border-color:#3c763d}.list-group-item-info{color:#31708f;background-color:#d9edf7}a.list-group-item-info,button.list-group-item-info{color:#31708f}a.list-group-item-info .list-group-item-heading,button.list-group-item-info .list-group-item-heading{color:inherit}a.list-group-item-info:focus,a.list-group-item-info:hover,button.list-group-item-info:focus,button.list-group-item-info:hover{color:#31708f;background-color:#c4e3f3}a.list-group-item-info.active,a.list-group-item-info.active:focus,a.list-group-item-info.active:hover,button.list-group-item-info.active,button.list-group-item-info.active:focus,button.list-group-item-info.active:hover{color:#fff;background-color:#31708f;border-color:#31708f}.list-group-item-warning{color:#8a6d3b;background-color:#fcf8e3}a.list-group-item-warning,button.list-group-item-warning{color:#8a6d3b}a.list-group-item-warning .list-group-item-heading,button.list-group-item-warning .list-group-item-heading{color:inherit}a.list-group-item-warning:focus,a.list-group-item-warning:hover,button.list-group-item-warning:focus,button.list-group-item-warning:hover{color:#8a6d3b;background-color:#faf2cc}a.list-group-item-warning.active,a.list-group-item-warning.active:focus,a.list-group-item-warning.active:hover,button.list-group-item-warning.active,button.list-group-item-warning.active:focus,button.list-group-item-warning.active:hover{color:#fff;background-color:#8a6d3b;border-color:#8a6d3b}.list-group-item-danger{color:#a94442;background-color:#f2dede}a.list-group-item-danger,button.list-group-item-danger{color:#a94442}a.list-group-item-danger .list-group-item-heading,button.list-group-item-danger .list-group-item-heading{color:inherit}a.list-group-item-danger:focus,a.list-group-item-danger:hover,button.list-group-item-danger:focus,button.list-group-item-danger:hover{color:#a94442;background-color:#ebcccc}a.list-group-item-danger.active,a.list-group-item-danger.active:focus,a.list-group-item-danger.active:hover,button.list-group-item-danger.active,button.list-group-item-danger.active:focus,button.list-group-item-danger.active:hover{color:#fff;background-color:#a94442;border-color:#a94442}.list-group-item-heading{margin-top:0;margin-bottom:5px}.list-group-item-text{margin-bottom:0;line-height:1.3}.panel{margin-bottom:20px;background-color:#fff;border:1px solid transparent;border-radius:4px;-webkit-box-shadow:0 1px 1px rgba(0, 0, 0, 0.05);box-shadow:0 1px 1px rgba(0, 0, 0, 0.05)}.panel-body{padding:15px}.panel-heading{padding:10px 15px;border-bottom:1px solid transparent;border-top-left-radius:3px;border-top-right-radius:3px}.panel-heading>.dropdown .dropdown-toggle{color:inherit}.panel-title{margin-top:0;margin-bottom:0;font-size:16px;color:inherit}.panel-title>.small,.panel-title>.small>a,.panel-title>a,.panel-title>small,.panel-title>small>a{color:inherit}.panel-footer{padding:10px 15px;background-color:#f5f5f5;border-top:1px solid #ddd;border-bottom-right-radius:3px;border-bottom-left-radius:3px}.panel>.list-group,.panel>.panel-collapse>.list-group{margin-bottom:0}.panel>.list-group .list-group-item,.panel>.panel-collapse>.list-group .list-group-item{border-width:1px 0;border-radius:0}.panel>.list-group:first-child .list-group-item:first-child,.panel>.panel-collapse>.list-group:first-child .list-group-item:first-child{border-top:0;border-top-left-radius:3px;border-top-right-radius:3px}.panel>.list-group:last-child .list-group-item:last-child,.panel>.panel-collapse>.list-group:last-child .list-group-item:last-child{border-bottom:0;border-bottom-right-radius:3px;border-bottom-left-radius:3px}.panel>.panel-heading+.panel-collapse>.list-group .list-group-item:first-child{border-top-left-radius:0;border-top-right-radius:0}.panel-heading+.list-group .list-group-item:first-child{border-top-width:0}.list-group+.panel-footer{border-top-width:0}.panel>.panel-collapse>.table,.panel>.table,.panel>.table-responsive>.table{margin-bottom:0}.panel>.panel-collapse>.table caption,.panel>.table caption,.panel>.table-responsive>.table caption{padding-right:15px;padding-left:15px}.panel>.table-responsive:first-child>.table:first-child,.panel>.table:first-child{border-top-left-radius:3px;border-top-right-radius:3px}.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child,.panel>.table:first-child>tbody:first-child>tr:first-child,.panel>.table:first-child>thead:first-child>tr:first-child{border-top-left-radius:3px;border-top-right-radius:3px}.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child td:first-child,.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child th:first-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child td:first-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child th:first-child,.panel>.table:first-child>tbody:first-child>tr:first-child td:first-child,.panel>.table:first-child>tbody:first-child>tr:first-child th:first-child,.panel>.table:first-child>thead:first-child>tr:first-child td:first-child,.panel>.table:first-child>thead:first-child>tr:first-child th:first-child{border-top-left-radius:3px}.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child td:last-child,.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child th:last-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child td:last-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child th:last-child,.panel>.table:first-child>tbody:first-child>tr:first-child td:last-child,.panel>.table:first-child>tbody:first-child>tr:first-child th:last-child,.panel>.table:first-child>thead:first-child>tr:first-child td:last-child,.panel>.table:first-child>thead:first-child>tr:first-child th:last-child{border-top-right-radius:3px}.panel>.table-responsive:last-child>.table:last-child,.panel>.table:last-child{border-bottom-right-radius:3px;border-bottom-left-radius:3px}.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child,.panel>.table:last-child>tbody:last-child>tr:last-child,.panel>.table:last-child>tfoot:last-child>tr:last-child{border-bottom-right-radius:3px;border-bottom-left-radius:3px}.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child td:first-child,.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child th:first-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child td:first-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child th:first-child,.panel>.table:last-child>tbody:last-child>tr:last-child td:first-child,.panel>.table:last-child>tbody:last-child>tr:last-child th:first-child,.panel>.table:last-child>tfoot:last-child>tr:last-child td:first-child,.panel>.table:last-child>tfoot:last-child>tr:last-child th:first-child{border-bottom-left-radius:3px}.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child td:last-child,.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child th:last-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child td:last-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child th:last-child,.panel>.table:last-child>tbody:last-child>tr:last-child td:last-child,.panel>.table:last-child>tbody:last-child>tr:last-child th:last-child,.panel>.table:last-child>tfoot:last-child>tr:last-child td:last-child,.panel>.table:last-child>tfoot:last-child>tr:last-child th:last-child{border-bottom-right-radius:3px}.panel>.panel-body+.table,.panel>.panel-body+.table-responsive,.panel>.table+.panel-body,.panel>.table-responsive+.panel-body{border-top:1px solid #ddd}.panel>.table>tbody:first-child>tr:first-child td,.panel>.table>tbody:first-child>tr:first-child th{border-top:0}.panel>.table-bordered,.panel>.table-responsive>.table-bordered{border:0}.panel>.table-bordered>tbody>tr>td:first-child,.panel>.table-bordered>tbody>tr>th:first-child,.panel>.table-bordered>tfoot>tr>td:first-child,.panel>.table-bordered>tfoot>tr>th:first-child,.panel>.table-bordered>thead>tr>td:first-child,.panel>.table-bordered>thead>tr>th:first-child,.panel>.table-responsive>.table-bordered>tbody>tr>td:first-child,.panel>.table-responsive>.table-bordered>tbody>tr>th:first-child,.panel>.table-responsive>.table-bordered>tfoot>tr>td:first-child,.panel>.table-responsive>.table-bordered>tfoot>tr>th:first-child,.panel>.table-responsive>.table-bordered>thead>tr>td:first-child,.panel>.table-responsive>.table-bordered>thead>tr>th:first-child{border-left:0}.panel>.table-bordered>tbody>tr>td:last-child,.panel>.table-bordered>tbody>tr>th:last-child,.panel>.table-bordered>tfoot>tr>td:last-child,.panel>.table-bordered>tfoot>tr>th:last-child,.panel>.table-bordered>thead>tr>td:last-child,.panel>.table-bordered>thead>tr>th:last-child,.panel>.table-responsive>.table-bordered>tbody>tr>td:last-child,.panel>.table-responsive>.table-bordered>tbody>tr>th:last-child,.panel>.table-responsive>.table-bordered>tfoot>tr>td:last-child,.panel>.table-responsive>.table-bordered>tfoot>tr>th:last-child,.panel>.table-responsive>.table-bordered>thead>tr>td:last-child,.panel>.table-responsive>.table-bordered>thead>tr>th:last-child{border-right:0}.panel>.table-bordered>tbody>tr:first-child>td,.panel>.table-bordered>tbody>tr:first-child>th,.panel>.table-bordered>thead>tr:first-child>td,.panel>.table-bordered>thead>tr:first-child>th,.panel>.table-responsive>.table-bordered>tbody>tr:first-child>td,.panel>.table-responsive>.table-bordered>tbody>tr:first-child>th,.panel>.table-responsive>.table-bordered>thead>tr:first-child>td,.panel>.table-responsive>.table-bordered>thead>tr:first-child>th{border-bottom:0}.panel>.table-bordered>tbody>tr:last-child>td,.panel>.table-bordered>tbody>tr:last-child>th,.panel>.table-bordered>tfoot>tr:last-child>td,.panel>.table-bordered>tfoot>tr:last-child>th,.panel>.table-responsive>.table-bordered>tbody>tr:last-child>td,.panel>.table-responsive>.table-bordered>tbody>tr:last-child>th,.panel>.table-responsive>.table-bordered>tfoot>tr:last-child>td,.panel>.table-responsive>.table-bordered>tfoot>tr:last-child>th{border-bottom:0}.panel>.table-responsive{margin-bottom:0;border:0}.panel-group{margin-bottom:20px}.panel-group .panel{margin-bottom:0;border-radius:4px}.panel-group .panel+.panel{margin-top:5px}.panel-group .panel-heading{border-bottom:0}.panel-group .panel-heading+.panel-collapse>.list-group,.panel-group .panel-heading+.panel-collapse>.panel-body{border-top:1px solid #ddd}.panel-group .panel-footer{border-top:0}.panel-group .panel-footer+.panel-collapse .panel-body{border-bottom:1px solid #ddd}.panel-default{border-color:#ddd}.panel-default>.panel-heading{color:#333;background-color:#f5f5f5;border-color:#ddd}.panel-default>.panel-heading+.panel-collapse>.panel-body{border-top-color:#ddd}.panel-default>.panel-heading .badge{color:#f5f5f5;background-color:#333}.panel-default>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#ddd}.panel-primary{border-color:#337ab7}.panel-primary>.panel-heading{color:#fff;background-color:#337ab7;border-color:#337ab7}.panel-primary>.panel-heading+.panel-collapse>.panel-body{border-top-color:#337ab7}.panel-primary>.panel-heading .badge{color:#337ab7;background-color:#fff}.panel-primary>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#337ab7}.panel-success{border-color:#d6e9c6}.panel-success>.panel-heading{color:#3c763d;background-color:#dff0d8;border-color:#d6e9c6}.panel-success>.panel-heading+.panel-collapse>.panel-body{border-top-color:#d6e9c6}.panel-success>.panel-heading .badge{color:#dff0d8;background-color:#3c763d}.panel-success>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#d6e9c6}.panel-info{border-color:#bce8f1}.panel-info>.panel-heading{color:#31708f;background-color:#d9edf7;border-color:#bce8f1}.panel-info>.panel-heading+.panel-collapse>.panel-body{border-top-color:#bce8f1}.panel-info>.panel-heading .badge{color:#d9edf7;background-color:#31708f}.panel-info>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#bce8f1}.panel-warning{border-color:#faebcc}.panel-warning>.panel-heading{color:#8a6d3b;background-color:#fcf8e3;border-color:#faebcc}.panel-warning>.panel-heading+.panel-collapse>.panel-body{border-top-color:#faebcc}.panel-warning>.panel-heading .badge{color:#fcf8e3;background-color:#8a6d3b}.panel-warning>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#faebcc}.panel-danger{border-color:#ebccd1}.panel-danger>.panel-heading{color:#a94442;background-color:#f2dede;border-color:#ebccd1}.panel-danger>.panel-heading+.panel-collapse>.panel-body{border-top-color:#ebccd1}.panel-danger>.panel-heading .badge{color:#f2dede;background-color:#a94442}.panel-danger>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#ebccd1}.embed-responsive{position:relative;display:block;height:0;padding:0;overflow:hidden}.embed-responsive .embed-responsive-item,.embed-responsive embed,.embed-responsive iframe,.embed-responsive object,.embed-responsive video{position:absolute;top:0;bottom:0;left:0;width:100%;height:100%;border:0}.embed-responsive-16by9{padding-bottom:56.25%}.embed-responsive-4by3{padding-bottom:75%}.well{min-height:20px;padding:19px;margin-bottom:20px;background-color:#f5f5f5;border:1px solid #e3e3e3;border-radius:4px;-webkit-box-shadow:inset 0 1px 1px rgba(0, 0, 0, 0.05);box-shadow:inset 0 1px 1px rgba(0, 0, 0, 0.05)}.well blockquote{border-color:#ddd;border-color:rgba(0, 0, 0, 0.15)}.well-lg{padding:24px;border-radius:6px}.well-sm{padding:9px;border-radius:3px}.close{float:right;font-size:21px;font-weight:700;line-height:1;color:#000;text-shadow:0 1px 0 #fff;filter:alpha(opacity=20);opacity:0.2}.close:focus,.close:hover{color:#000;text-decoration:none;cursor:pointer;filter:alpha(opacity=50);opacity:0.5}button.close{-webkit-appearance:none;padding:0;cursor:pointer;background:0 0;border:0}.modal-open{overflow:hidden}.modal{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1050;display:none;overflow:hidden;-webkit-overflow-scrolling:touch;outli
18ne:0}.modal.fade .modal-dialog{-webkit-transition:-webkit-transform 0.3s ease-out;-o-transition:-o-transform 0.3s ease-out;transition:transform 0.3s ease-out;-webkit-transform:translate(0, -25%);-ms-transform:translate(0, -25%);-o-transform:translate(0, -25%);transform:translate(0, -25%)}.modal.in .modal-dialog{-webkit-transform:translate(0, 0);-ms-transform:translate(0, 0);-o-transform:translate(0, 0);transform:translate(0, 0)}.modal-open .modal{overflow-x:hidden;overflow-y:auto}.modal-dialog{position:relative;width:auto;margin:10px}.modal-content{position:relative;background-color:#fff;-webkit-background-clip:padding-box;background-clip:padding-box;border:1px solid #999;border:1px solid rgba(0, 0, 0, 0.2);border-radius:6px;outline:0;-webkit-box-shadow:0 3px 9px rgba(0, 0, 0, 0.5);box-shadow:0 3px 9px rgba(0, 0, 0, 0.5)}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1040;background-color:#000}.modal-backdrop.fade{filter:alpha(opacity=0);opacity:0}.modal-backdrop.in{filter:alpha(opacity=50);opacity:0.5}.modal-header{padding:15px;border-bottom:1px solid #e5e5e5}.modal-header .close{margin-top:-2px}.modal-title{margin:0;line-height:1.42857143}.modal-body{position:relative;padding:15px}.modal-footer{padding:15px;text-align:right;border-top:1px solid #e5e5e5}.modal-footer .btn+.btn{margin-bottom:0;margin-left:5px}.modal-footer .btn-group .btn+.btn{margin-left:-1px}.modal-footer .btn-block+.btn-block{margin-left:0}.modal-scrollbar-measure{position:absolute;top:-9999px;width:50px;height:50px;overflow:scroll}@media (min-width: 768px){.modal-dialog{width:600px;margin:30px auto}.modal-content{-webkit-box-shadow:0 5px 15px rgba(0, 0, 0, 0.5);box-shadow:0 5px 15px rgba(0, 0, 0, 0.5)}.modal-sm{width:300px}}@media (min-width: 992px){.modal-lg{width:900px}}.tooltip{position:absolute;z-index:1070;display:block;font-family:"Helvetica Neue", Helvetica, Arial, sans-serif;font-size:12px;font-style:normal;font-weight:400;line-height:1.42857143;text-align:left;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;letter-spacing:normal;word-break:normal;word-spacing:normal;word-wrap:normal;white-space:normal;filter:alpha(opacity=0);opacity:0;line-break:auto}.tooltip.in{filter:alpha(opacity=90);opacity:0.9}.tooltip.top{padding:5px 0;margin-top:-3px}.tooltip.right{padding:0 5px;margin-left:3px}.tooltip.bottom{padding:5px 0;margin-top:3px}.tooltip.left{padding:0 5px;margin-left:-3px}.tooltip-inner{max-width:200px;padding:3px 8px;color:#fff;text-align:center;background-color:#000;border-radius:4px}.tooltip-arrow{position:absolute;width:0;height:0;border-color:transparent;border-style:solid}.tooltip.top .tooltip-arrow{bottom:0;left:50%;margin-left:-5px;border-width:5px 5px 0;border-top-color:#000}.tooltip.top-left .tooltip-arrow{right:5px;bottom:0;margin-bottom:-5px;border-width:5px 5px 0;border-top-color:#000}.tooltip.top-right .tooltip-arrow{bottom:0;left:5px;margin-bottom:-5px;border-width:5px 5px 0;border-top-color:#000}.tooltip.right .tooltip-arrow{top:50%;left:0;margin-top:-5px;border-width:5px 5px 5px 0;border-right-color:#000}.tooltip.left .tooltip-arrow{top:50%;right:0;margin-top:-5px;border-width:5px 0 5px 5px;border-left-color:#000}.tooltip.bottom .tooltip-arrow{top:0;left:50%;margin-left:-5px;border-width:0 5px 5px;border-bottom-color:#000}.tooltip.bottom-left .tooltip-arrow{top:0;right:5px;margin-top:-5px;border-width:0 5px 5px;border-bottom-color:#000}.tooltip.bottom-right .tooltip-arrow{top:0;left:5px;margin-top:-5px;border-width:0 5px 5px;border-bottom-color:#000}.popover{position:absolute;top:0;left:0;z-index:1060;display:none;max-width:276px;padding:1px;font-family:"Helvetica Neue", Helvetica, Arial, sans-serif;font-size:14px;font-style:normal;font-weight:400;line-height:1.42857143;text-align:left;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;letter-spacing:normal;word-break:normal;word-spacing:normal;word-wrap:normal;white-space:normal;background-color:#fff;-webkit-background-clip:padding-box;background-clip:padding-box;border:1px solid #ccc;border:1px solid rgba(0, 0, 0, 0.2);border-radius:6px;-webkit-box-shadow:0 5px 10px rgba(0, 0, 0, 0.2);box-shadow:0 5px 10px rgba(0, 0, 0, 0.2);line-break:auto}.popover.top{margin-top:-10px}.popover.right{margin-left:10px}.popover.bottom{margin-top:10px}.popover.left{margin-left:-10px}.popover-title{padding:8px 14px;margin:0;font-size:14px;background-color:#f7f7f7;border-bottom:1px solid #ebebeb;border-radius:5px 5px 0 0}.popover-content{padding:9px 14px}.popover>.arrow,.popover>.arrow:after{position:absolute;display:block;width:0;height:0;border-color:transparent;border-style:solid}.popover>.arrow{border-width:11px}.popover>.arrow:after{content:"";border-width:10px}.popover.top>.arrow{bottom:-11px;left:50%;margin-left:-11px;border-top-color:#999;border-top-color:rgba(0, 0, 0, 0.25);border-bottom-width:0}.popover.top>.arrow:after{bottom:1px;margin-left:-10px;content:" ";border-top-color:#fff;border-bottom-width:0}.popover.right>.arrow{top:50%;left:-11px;margin-top:-11px;border-right-color:#999;border-right-color:rgba(0, 0, 0, 0.25);border-left-width:0}.popover.right>.arrow:after{bottom:-10px;left:1px;content:" ";border-right-color:#fff;border-left-width:0}.popover.bottom>.arrow{top:-11px;left:50%;margin-left:-11px;border-top-width:0;border-bottom-color:#999;border-bottom-color:rgba(0, 0, 0, 0.25)}.popover.bottom>.arrow:after{top:1px;margin-left:-10px;content:" ";border-top-width:0;border-bottom-color:#fff}.popover.left>.arrow{top:50%;right:-11px;margin-top:-11px;border-right-width:0;border-left-color:#999;border-left-color:rgba(0, 0, 0, 0.25)}.popover.left>.arrow:after{right:1px;bottom:-10px;content:" ";border-right-width:0;border-left-color:#fff}.carousel{position:relative}.carousel-inner{position:relative;width:100%;overflow:hidden}.carousel-inner>.item{position:relative;display:none;-webkit-transition:0.6s ease-in-out left;-o-transition:0.6s ease-in-out left;transition:0.6s ease-in-out left}.carousel-inner>.item>a>img,.carousel-inner>.item>img{line-height:1}@media all and (transform-3d), (-webkit-transform-3d){.carousel-inner>.item{-webkit-transition:-webkit-transform 0.6s ease-in-out;-o-transition:-o-transform 0.6s ease-in-out;transition:transform 0.6s ease-in-out;-webkit-backface-visibility:hidden;backface-visibility:hidden;-webkit-perspective:1000px;perspective:1000px}.carousel-inner>.item.active.right,.carousel-inner>.item.next{left:0;-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0)}.carousel-inner>.item.active.left,.carousel-inner>.item.prev{left:0;-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0)}.carousel-inner>.item.active,.carousel-inner>.item.next.left,.carousel-inner>.item.prev.right{left:0;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}.carousel-inner>.active,.carousel-inner>.next,.carousel-inner>.prev{display:block}
18.carousel-inner>.active{left:0}.carousel-inner>.next,.carousel-inner>.prev{position:absolute;top:0;width:100%}.carousel-inner>.next{left:100%}.carousel-inner>.prev{left:-100%}.carousel-inner>.next.left,.carousel-inner>.prev.right{left:0}.carousel-inner>.active.left{left:-100%}.carousel-inner>.active.right{left:100%}.carousel-control{position:absolute;top:0;bottom:0;left:0;width:15%;font-size:20px;color:#fff;text-align:center;text-shadow:0 1px 2px rgba(0, 0, 0, 0.6);background-color:rgba(0, 0, 0, 0);filter:alpha(opacity=50);opacity:0.5}.carousel-control.left{background-image:-webkit-linear-gradient(left, rgba(0, 0, 0, 0.5) 0, rgba(0, 0, 0, 0.0001) 100%);background-image:-o-linear-gradient(left, rgba(0, 0, 0, 0.5) 0, rgba(0, 0, 0, 0.0001) 100%);background-image:-webkit-gradient(linear, left top, right top, from(rgba(0, 0, 0, 0.5)), to(rgba(0, 0, 0, 0.0001)));background-image:linear-gradient(to right, rgba(0, 0, 0, 0.5) 0, rgba(0, 0, 0, 0.0001) 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr="#80000000", endColorstr="#00000000", GradientType=1);background-repeat:repeat-x}.carousel-control.right{right:0;left:auto;background-image:-webkit-linear-gradient(left, rgba(0, 0, 0, 0.0001) 0, rgba(0, 0, 0, 0.5) 100%);background-image:-o-linear-gradient(left, rgba(0, 0, 0, 0.0001) 0, rgba(0, 0, 0, 0.5) 100%);background-image:-webkit-gradient(linear, left top, right top, from(rgba(0, 0, 0, 0.0001)), to(rgba(0, 0, 0, 0.5)));background-image:linear-gradient(to right, rgba(0, 0, 0, 0.0001) 0, rgba(0, 0, 0, 0.5) 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr="#00000000", endColorstr="#80000000", GradientType=1);background-repeat:repeat-x}.carousel-control:focus,.carousel-control:hover{color:#fff;text-decoration:none;filter:alpha(opacity=90);outline:0;opacity:0.9}.carousel-control .glyphicon-chevron-left,.carousel-control .glyphicon-chevron-right,.carousel-control .icon-next,.carousel-control .icon-prev{position:absolute;top:50%;z-index:5;display:inline-block;margin-top:-10px}.carousel-control .glyphicon-chevron-left,.carousel-control .icon-prev{left:50%;margin-left:-10px}.carousel-control .glyphicon-chevron-right,.carousel-control .icon-next{right:50%;margin-right:-10px}.carousel-control .icon-next,.carousel-control .icon-prev{width:20px;height:20px;font-family:serif;line-height:1}.carousel-control .icon-prev:before{content:"â¹"}.carousel-control .icon-next:before{content:"âº"}.carousel-indicators{position:absolute;bottom:10px;left:50%;z-index:15;width:60%;padding-left:0;margin-left:-30%;text-align:center;list-style:none}.carousel-indicators li{display:inline-block;width:10px;height:10px;margin:1px;text-indent:-999px;cursor:pointer;background-color:#000009;background-color:rgba(0, 0, 0, 0);border:1px solid #fff;border-radius:10px}.carousel-indicators .active{width:12px;height:12px;margin:0;background-color:#fff}.carousel-caption{position:absolute;right:15%;bottom:20px;left:15%;z-index:10;padding-top:20px;padding-bottom:20px;color:#fff;text-align:center;text-shadow:0 1px 2px rgba(0, 0, 0, 0.6)}.carousel-caption .btn{text-shadow:none}@media screen and (min-width: 768px){.carousel-control .glyphicon-chevron-left,.carousel-control .glyphicon-chevron-right,.carousel-control .icon-next,.carousel-control .icon-prev{width:30px;height:30px;margin-top:-10px;font-size:30px}.carousel-control .glyphicon-chevron-left,.carousel-control .icon-prev{margin-left:-10px}.carousel-control .glyphicon-chevron-right,.carousel-control .icon-next{margin-right:-10px}.carousel-caption{right:20%;left:20%;padding-bottom:30px}.carousel-indicators{bottom:20px}}.btn-group-vertical>.btn-group:after,.btn-group-vertical>.btn-group:before,.btn-toolbar:after,.btn-toolbar:before,.clearfix:after,.clearfix:before,.container-fluid:after,.container-fluid:before,.container:after,.container:before,.dl-horizontal dd:after,.dl-horizontal dd:before,.form-horizontal .form-group:after,.form-horizontal .form-group:before,.modal-footer:after,.modal-footer:before,.modal-header:after,.modal-header:before,.nav:after,.nav:before,.navbar-collapse:after,.navbar-collapse:before,.navbar-header:after,.navbar-header:before,.navbar:after,.navbar:before,.pager:after,.pager:before,.panel-body:after,.panel-body:before,.row:after,.row:before{display:table;content:" "}.btn-group-vertical>.btn-group:after,.btn-toolbar:after,.clearfix:after,.container-fluid:after,.container:after,.dl-horizontal dd:after,.form-horizontal .form-group:after,.modal-footer:after,.modal-header:after,.nav:after,.navbar-collapse:after,.navbar-header:after,.navbar:after,.pager:after,.panel-body:after,.row:after{clear:both}.center-block{display:block;margin-right:auto;margin-left:auto}.pull-right{float:right !important}.pull-left{float:left !important}.hide{display:none !important}.show{display:block !important}.invisible{visibility:hidden}.text-hide{font:0/0 a;color:transparent;text-shadow:none;background-color:transparent;border:0}.hidden{display:none !important}.affix{position:fixed}@-ms-viewport{width:device-width}.visible-lg,.visible-md,.visible-sm,.visible-xs{display:none !important}.visible-lg-block,.visible-lg-inline,.visible-lg-inline-block,.visible-md-block,.visible-md-inline,.visible-md-inline-block,.visible-sm-block,.visible-sm-inline,.visible-sm-inline-block,.visible-xs-block,.visible-xs-inline,.visible-xs-inline-block{display:none !important}@media (max-width: 767px){.visible-xs{display:block !important}table.visible-xs{display:table !important}tr.visible-xs{display:table-row !important}td.visible-xs,th.visible-xs{display:table-cell !important}}@media (max-width: 767px){.visible-xs-block{display:block !important}}@media (max-width: 767px){.visible-xs-inline{display:inline !important}}@media (max-width: 767px){.visible-xs-inline-block{display:inline-block !important}}@media (min-width: 768px) and (max-width: 991px){.visible-sm{display:block !important}table.visible-sm{display:table !important}tr.visible-sm{display:table-row !important}td.visible-sm,th.visible-sm{display:table-cell !important}}@media (min-width: 768px) and (max-width: 991px){.visible-sm-block{display:block !important}}@media (min-width: 768px) and (max-width: 991px){.visible-sm-inline{display:inline !important}}@media (min-width: 768px) and (max-width: 991px){.visible-sm-inline-block{display:inline-block !important}}@media (min-width: 992px) and (max-width: 1199px){.visible-md{display:block !important}table.visible-md{display:table !important}tr.visible-md{display:table-row !important}td.visible-md,th.visible-md{display:table-cell !important}}@media (min-width: 992px) and (max-width: 1199px){.visible-md-block{display:block !important}}@media (min-width: 992px) and (max-width: 1199px){.visible-md-inline{display:inline !important}}@media (min-width: 992px) and (max-width: 1199px){.visible-md-inline-block{display:inline-block !important}}@media (min-width: 1200px){.visible-lg{display:block !important}table.visible-lg{display:table !important}tr.visible-lg{display:table-row !important}td.visible-lg,th.visible-lg{display:table-cell !important}}@media (min-width: 1200px){.visible-lg-block{display:block !important}}@media (min-width: 1200px){.visible-lg-inline{display:inline !important}}@media (min-width: 1200px){.visible-lg-inline-block{display:inline-block !important}}@media (max-width: 767px){.hidden-xs{display:none !important}}@media (min-width: 768px) and (max-width: 991px){.hidden-sm{display:none !important}}@media (min-width: 992px) and (max-width: 1199px){.hidden-md{display:none !important}}@media (min-width: 1200px){.hidden-lg{display:none !important}}.visible-print{display:none !important}@media print{.visible-print{display:block !important}table.visible-print{display:table !important}tr.visible-print{display:table-row !important}td.visible-print,th.visible-print{display:table-cell !important}}.visible-print-block{display:none !important}@media print{.visible-print-block{display:block !important}}.visible-print-inline{display:none !important}@media print{.visible-print-inline{display:inline !important}}.visible-print-inline-block{display:none !important}@media print{.visible-print-inline-block{display:inline-block !important}}@media print{.hidden-print{display:none !important}}.leaflet-control-geocoder{border-radius:4px;background:white;min-width:26px;min-height:26px}.leaflet-touch .leaflet-control-geocoder{min-width:30px;min-height:30px}.leaflet-control-geocoder a,.leaflet-control-geocoder .leaflet-control-geocoder-icon{border-bottom:none;display:inline-block}.leaflet-control-geocoder .leaflet-control-geocoder-alternatives a{width:inherit;height:inherit;line-height:inherit}.leaflet-control-geocoder a:hover,.leaflet-control-geocoder .leaflet-control-geocoder-icon:hover{border-bottom:none;display:inline-block}.leaflet-control-geocoder-form{display:none;vertical-align:middle}.leaflet-control-geocoder-expanded .leaflet-control-geocoder-form{display:inline-block}.leaflet-control-geocoder-form input{font-size:120%;border:0;background-color:transparent;width:246px}.leaflet-control-geocoder-icon{border-radius:4px;width:26px;height:26px;border:none;background-color:white;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12.2 13l3.4 6.6c.6 1.1 2.5-.4 2-1.2l-4-6.2z'/%3E%3Ccircle cx='10.8' cy='8.9' r='3.9' fill='none' stroke='%23000' stroke-width='1.5'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:center;cursor:pointer}.leaflet-touch .leaflet-control-geocoder-icon{width:30px;height:30px}.leaflet-control-geocoder-throbber .leaflet-control-geocoder-icon{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' stroke='%23000' stroke-linecap='round' stroke-width='1.6' viewBox='0 0 24 24'%3E%3Cdefs/%3E%3Cg%3E%3Cpath stroke-opacity='.1' d='M14 8.4l3-5'/%3E%3Cpath stroke-opacity='.2' d='M15.6 10l5-3'/%3E%3Cpath stroke-opacity='.3' d='M16.2 12H22'/%3E%3Cpath stroke-opacity='.4' d='M15.6 14l5 3m-6.5-1.4l2.9 5'/%3E%3Cpath stroke-opacity='.5' d='M12 16.2V22m-2-6.4l-3 5'/%3E%3Cpath stroke-opacity='.6' d='M8.4 14l-5 3'/%3E%3Cpath stroke-opacity='.7' d='M7.8 12H2'/%3E%3Cpath stroke-opacity='.8' d='M8.4 10l-5-3'/%3E%3Cpath stroke-opacity='.9' d='M10 8.4l-3-5'/%3E%3Cpath d='M12 7.8V2'/%3E%3CanimateTransform attributeName='transform' calcMode='discrete' dur='1s' repeatCount='indefinite' type='rotate' values='0 12 12;30 12 12;60 12 12;90 12 12;120 12 12;150 12 12;180 12 12;210 12 12;240 12 12;270 12 12;300 12 12;330 12 12'/%3E%3C/g%3E%3C/svg%3E")}.leaflet-control-geocoder-form-no-error{display:none}.leaflet-control-geocoder-form input:focus{outline:none}.leaflet-control-geocoder-form button{display:none}.leaflet-control-geocoder-error{margin-top:8px;margin-left:8px;display:block;color:#444}.leaflet-control-geocoder-alternatives{display:block;width:272px;list-style:none;padding:0;margin:0}.leaflet-control-geocoder-alternatives-minimized{display:none;height:0}.leaflet-control-geocoder-alternatives li{white-space:nowrap;display:block;overflow:hidden;padding:5px 8px;text-overflow:ellipsis;border-bottom:1px solid #ccc;cursor:pointer}.leaflet-control-geocoder-alternatives li a,.leaflet-control-geocoder-alternatives li a:hover{width:inherit;height:inherit;line-height:inherit;background:inherit;border-radius:inherit;text-align:left}.leaflet-control-geocoder-alternatives li:last-child{border-bottom:none}.leaflet-control-geocoder-alternatives li:hover,.leaflet-control-geocoder-selected{background-color:#f5f5f5}
18.leaflet-control-geocoder-address-context{color:#666}.leaflet-cluster-anim .leaflet-marker-icon,.leaflet-cluster-anim .leaflet-marker-shadow{-webkit-transition:-webkit-transform 0.3s ease-out, opacity 0.3s ease-in;-moz-transition:-moz-transform 0.3s ease-out, opacity 0.3s ease-in;-o-transition:-o-transform 0.3s ease-out, opacity 0.3s ease-in;transition:transform 0.3s ease-out, opacity 0.3s ease-in}.leaflet-cluster-spider-leg{-webkit-transition:-webkit-stroke-dashoffset 0.3s ease-out, -webkit-stroke-opacity 0.3s ease-in;-moz-transition:-moz-stroke-dashoffset 0.3s ease-out, -moz-stroke-opacity 0.3s ease-in;-o-transition:-o-stroke-dashoffset 0.3s ease-out, -o-stroke-opacity 0.3s ease-in;transition:stroke-dashoffset 0.3s ease-out, stroke-opacity 0.3s ease-in}.marker-cluster-small{background-color:rgba(181, 226, 140, 0.6)}.marker-cluster-small div{background-color:rgba(110, 204, 57, 0.6)}.marker-cluster-medium{background-color:rgba(241, 211, 87, 0.6)}.marker-cluster-medium div{background-color:rgba(240, 194, 12, 0.6)}.marker-cluster-large{background-color:rgba(253, 156, 115, 0.6)}.marker-cluster-large div{background-color:rgba(241, 128, 23, 0.6)}.leaflet-oldie .marker-cluster-small{background-color:rgb(181, 226, 140)}.leaflet-oldie .marker-cluster-small div{background-color:rgb(110, 204, 57)}.leaflet-oldie .marker-cluster-medium{background-color:rgb(241, 211, 87)}.leaflet-oldie .marker-cluster-medium div{background-color:rgb(240, 194, 12)}.leaflet-oldie .marker-cluster-large{background-color:rgb(253, 156, 115)}.leaflet-oldie .marker-cluster-large div{background-color:rgb(241, 128, 23)}.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-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,.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}.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, 0.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-tile{will-change:opacity}.leaflet-fade-anim .leaflet-popup{opacity:0;-webkit-transition:opacity 0.2s linear;-moz-transition:opacity 0.2s linear;transition:opacity 0.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}.leaflet-zoom-anim .leaflet-zoom-animated{will-change:transform}.leaflet-zoom-anim .leaflet-zoom-animated{-webkit-transition:-webkit-transform 0.25s cubic-bezier(0, 0, 0.25, 1);-moz-transition:-moz-transform 0.25s cubic-bezier(0, 0, 0.25, 1);transition:transform 0.25s cubic-bezier(0, 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:0}.leaflet-container a{color:#0078A8}.leaflet-container a.leaflet-active{outline:2px solid orange}.leaflet-zoom-box{border:2px dotted #38f;background:rgba(255, 255, 255, 0.5)}.leaflet-container{font:12px/1.5 "Helvetica Neue", Arial, Helvetica, sans-serif}.leaflet-bar{box-shadow:0 1px 5px rgba(0, 0, 0, 0.65);border-radius:4px}.leaflet-bar a,.leaflet-bar a:hover{background-color:#fff;border-bottom:1px solid #ccc;width:26px;height:26px;line-height:26px;
18display:block;text-align:center;text-decoration:none;color:black}.leaflet-bar a,.leaflet-control-layers-toggle{background-position:50% 50%;background-repeat:no-repeat;display:block}.leaflet-bar a:hover{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:bold 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 rgba(0, 0, 0, 0.4);background:#fff;border-radius:5px}.leaflet-control-layers-toggle{background-image:url(../../www/global/assets/images/layers.png);width:36px;height:36px}.leaflet-retina .leaflet-control-layers-toggle{background-image:url(../../www/global/assets/images/layers-2x.png);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}.leaflet-control-layers-separator{height:0;border-top:1px solid #ddd;margin:5px -10px 5px -6px}.leaflet-default-icon-path{background-image:url(../../www/global/assets/images/marker-icon.png)}.leaflet-container .leaflet-control-attribution{background:#fff;background:rgba(255, 255, 255, 0.7);margin:0}.leaflet-control-attribution,.leaflet-control-scale-line{padding:0 5px;color:#333}.leaflet-control-attribution a{text-decoration:none}.leaflet-control-attribution a:hover{text-decoration:underline}.leaflet-container .leaflet-control-attribution,.leaflet-container .leaflet-control-scale{font-size:11px}.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;font-size:11px;white-space:nowrap;overflow:hidden;-moz-box-sizing:border-box;box-sizing:border-box;background:#fff;background:rgba(255, 255, 255, 0.5)}.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, 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 19px;line-height:1.4}.leaflet-popup-content p{margin:18px 0}.leaflet-popup-tip-container{width:40px;height:20px;position:absolute;left:50%;margin-left:-20px;overflow:hidden;pointer-events:none}.leaflet-popup-tip{width:17px;height:17px;padding:1px;margin:-10px auto 0;-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg)}.leaflet-popup-content-wrapper,.leaflet-popup-tip{background:white;color:#333;box-shadow:0 3px 14px rgba(0, 0, 0, 0.4)}.leaflet-container a.leaflet-popup-close-button{position:absolute;top:0;right:0;padding:4px 4px 0 0;border:none;text-align:center;width:18px;height:14px;font:16px/14px Tahoma, Verdana, sans-serif;color:#c3c3c3;text-decoration:none;font-weight:bold;background:transparent}.leaflet-container a.leaflet-popup-close-button:hover{color:#999}.leaflet-popup-scrolled{overflow:auto;border-bottom:1px solid #ddd;border-top:1px solid #ddd}.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=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678)}.leaflet-oldie .leaflet-popup-tip-container{margin-top:-1px}.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 rgba(0, 0, 0, 0.4)}.leaflet-tooltip.leaflet-clickable{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}.awesome-marker{background:url(../../www/global/assets/images/markers-soft.png) no-repeat 0 0;width:35px;height:46px;position:absolute;
18left:0;top:0;display:block;text-align:center}.awesome-marker-shadow{background:url(../../www/global/assets/images/markers-shadow.png) no-repeat 0 0;width:36px;height:16px}@media (min--moz-device-pixel-ratio: 1.5), (-o-min-device-pixel-ratio: 3/2), (-webkit-min-device-pixel-ratio: 1.5), (min-device-pixel-ratio: 1.5), (min-resolution: 1.5dppx){.awesome-marker{background-size:720px 46px}.awesome-marker-shadow{background-image:url(../../www/global/assets/images/[email protected]);background-size:35px 16px}}.awesome-marker i{color:#333;margin-top:10px;display:inline-block;font-size:14px}.awesome-marker .icon-white{color:#fff}.awesome-marker-icon-red{background-position:0 0}.awesome-marker-icon-darkred{background-position:-180px 0}.awesome-marker-icon-lightred{background-position:-360px 0}.awesome-marker-icon-orange{background-position:-36px 0}.awesome-marker-icon-beige{background-position:-396px 0}.awesome-marker-icon-green{background-position:-72px 0}.awesome-marker-icon-darkgreen{background-position:-252px 0}.awesome-marker-icon-lightgreen{background-position:-432px 0}.awesome-marker-icon-blue{background-position:-108px 0}.awesome-marker-icon-darkblue{background-position:-216px 0}.awesome-marker-icon-lightblue{background-position:-468px 0}.awesome-marker-icon-purple{background-position:-144px 0}.awesome-marker-icon-darkpurple{background-position:-288px 0}.awesome-marker-icon-pink{background-position:-504px 0}.awesome-marker-icon-cadetblue{background-position:-324px 0}.awesome-marker-icon-white{background-position:-574px 0}.awesome-marker-icon-gray{background-position:-648px 0}.awesome-marker-icon-lightgray{background-position:-612px 0}.awesome-marker-icon-black{background-position:-682px 0}.leaflet-draw-section{position:relative}.leaflet-draw-toolbar{margin-top:12px}.leaflet-draw-toolbar-top{margin-top:0}.leaflet-draw-toolbar-notop a:first-child{border-top-right-radius:0}.leaflet-draw-toolbar-nobottom a:last-child{border-bottom-right-radius:0}.leaflet-draw-toolbar a{background-image:url(../../www/global/assets/images/spritesheet.png);background-image:linear-gradient(transparent, transparent), url(../../www/global/assets/images/spritesheet.svg);background-repeat:no-repeat;background-size:300px 30px;background-clip:padding-box}.leaflet-retina .leaflet-draw-toolbar a{background-image:url(../../www/global/assets/images/spritesheet-2x.png);background-image:linear-gradient(transparent, transparent), url(../../www/global/assets/images/spritesheet.svg)}.leaflet-draw a{display:block;text-align:center;text-decoration:none}.leaflet-draw a .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}.leaflet-draw-actions{display:none;list-style:none;margin:0;padding:0;position:absolute;left:26px;top:0;white-space:nowrap}.leaflet-touch .leaflet-draw-actions{left:32px}.leaflet-right .leaflet-draw-actions{right:26px;left:auto}.leaflet-touch .leaflet-right .leaflet-draw-actions{right:32px;left:auto}.leaflet-draw-actions li{display:inline-block}.leaflet-draw-actions li:first-child a{border-left:none}.leaflet-draw-actions li:last-child a{-webkit-border-radius:0 4px 4px 0;border-radius:0 4px 4px 0}.leaflet-right .leaflet-draw-actions li:last-child a{-webkit-border-radius:0;border-radius:0}.leaflet-right .leaflet-draw-actions li:first-child a{-webkit-border-radius:4px 0 0 4px;border-radius:4px 0 0 4px}.leaflet-draw-actions a{background-color:#919187;border-left:1px solid #AAA;color:#FFF;font:11px/19px "Helvetica Neue", Arial, Helvetica, sans-serif;line-height:28px;text-decoration:none;padding-left:10px;padding-right:10px;height:28px}.leaflet-touch .leaflet-draw-actions a{font-size:12px;line-height:30px;height:30px}.leaflet-draw-actions-bottom{margin-top:0}.leaflet-draw-actions-top{margin-top:1px}.leaflet-draw-actions-top a,.leaflet-draw-actions-bottom a{height:27px;line-height:27px}.leaflet-draw-actions a:hover{background-color:#A0A098}.leaflet-draw-actions-top.leaflet-draw-actions-bottom a{height:26px;line-height:26px}.leaflet-draw-toolbar .leaflet-draw-draw-polyline{background-position:-2px -2px}.leaflet-touch .leaflet-draw-toolbar .leaflet-draw-draw-polyline{background-position:0 -1px}.leaflet-draw-toolbar .leaflet-draw-draw-polygon{background-position:-31px -2px}.leaflet-touch .leaflet-draw-toolbar .leaflet-draw-draw-polygon{background-position:-29px -1px}.leaflet-draw-toolbar .leaflet-draw-draw-rectangle{background-position:-62px -2px}.leaflet-touch .leaflet-draw-toolbar .leaflet-draw-draw-rectangle{background-position:-60px -1px}.leaflet-draw-toolbar .leaflet-draw-draw-circle{background-position:-92px -2px}.leaflet-touch .leaflet-draw-toolbar .leaflet-draw-draw-circle{background-position:-90px -1px}.leaflet-draw-toolbar .leaflet-draw-draw-marker{background-position:-122px -2px}.leaflet-touch .leaflet-draw-toolbar .leaflet-draw-draw-marker{background-position:-120px -1px}.leaflet-draw-toolbar .leaflet-draw-draw-circlemarker{background-position:-273px -2px}.leaflet-touch .leaflet-draw-toolbar .leaflet-draw-draw-circlemarker{background-position:-271px -1px}.leaflet-draw-toolbar .leaflet-draw-edit-edit{background-position:-152px -2px}.leaflet-touch .leaflet-draw-toolbar .leaflet-draw-edit-edit{background-position:-150px -1px}.leaflet-draw-toolbar .leaflet-draw-edit-remove{background-position:-182px -2px}.leaflet-touch .leaflet-draw-toolbar .leaflet-draw-edit-remove{background-position:-180px -1px}.leaflet-draw-toolbar .leaflet-draw-edit-edit.leaflet-disabled{background-position:-212px -2px}.leaflet-touch .leaflet-draw-toolbar .leaflet-draw-edit-edit.leaflet-disabled{background-position:-210
18px -1px}.leaflet-draw-toolbar .leaflet-draw-edit-remove.leaflet-disabled{background-position:-242px -2px}.leaflet-touch .leaflet-draw-toolbar .leaflet-draw-edit-remove.leaflet-disabled{background-position:-240px -2px}.leaflet-mouse-marker{background-color:#fff;cursor:crosshair}.leaflet-draw-tooltip{background:rgb(54, 54, 54);background:rgba(0, 0, 0, 0.5);border:1px solid transparent;-webkit-border-radius:4px;border-radius:4px;color:#fff;font:12px/18px "Helvetica Neue", Arial, Helvetica, sans-serif;margin-left:20px;margin-top:-21px;padding:4px 8px;position:absolute;visibility:hidden;white-space:nowrap;z-index:6}.leaflet-draw-tooltip:before{border-right:6px solid black;border-right-color:rgba(0, 0, 0, 0.5);border-top:6px solid transparent;border-bottom:6px solid transparent;content:"";position:absolute;top:7px;left:-7px}.leaflet-error-draw-tooltip{background-color:#F2DEDE;border:1px solid #E6B6BD;color:#B94A48}.leaflet-error-draw-tooltip:before{border-right-color:#E6B6BD}.leaflet-draw-tooltip-single{margin-top:-12px}.leaflet-draw-tooltip-subtext{color:#f8d5e4}.leaflet-draw-guide-dash{font-size:1%;opacity:0.6;position:absolute;width:5px;height:5px}.leaflet-edit-marker-selected{background-color:rgba(254, 87, 161, 0.1);border:4px dashed rgba(254, 87, 161, 0.6);-webkit-border-radius:4px;border-radius:4px;box-sizing:content-box}.leaflet-edit-move{cursor:move}.leaflet-edit-resize{cursor:pointer}.leaflet-oldie .leaflet-draw-toolbar{border:1px solid #999}.leaflet-draw-section{position:relative}.leaflet-draw-toolbar{margin-top:12px}.leaflet-draw-toolbar-top{margin-top:0}.leaflet-draw-toolbar-notop a:first-child{border-top-right-radius:0}.leaflet-draw-toolbar-nobottom a:last-child{border-bottom-right-radius:0}.leaflet-draw-toolbar a{background-image:url(../../www/global/assets/images/spritesheet.png);background-image:linear-gradient(transparent, transparent), url(../../www/global/assets/images/spritesheet.svg);background-repeat:no-repeat;background-size:300px 30px;background-clip:padding-box}.leaflet-retina .leaflet-draw-toolbar a{background-image:url(../../www/global/assets/images/spritesheet-2x.png);background-image:linear-gradient(transparent, transparent), url(../../www/global/assets/images/spritesheet.svg)}.leaflet-draw a{display:block;text-align:center;text-decoration:none}.leaflet-draw a .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}.leaflet-draw-actions{display:none;list-style:none;margin:0;padding:0;position:absolute;left:26px;top:0;white-space:nowrap}.leaflet-touch .leaflet-draw-actions{left:32px}.leaflet-right .leaflet-draw-actions{right:26px;left:auto}.leaflet-touch .leaflet-right .leaflet-draw-actions{right:32px;left:auto}.leaflet-draw-actions li{display:inline-block}.leaflet-draw-actions li:first-child a{border-left:0}.leaflet-draw-actions li:last-child a{-webkit-border-radius:0 4px 4px 0;border-radius:0 4px 4px 0}.leaflet-right .leaflet-draw-actions li:last-child a{-webkit-border-radius:0;border-radius:0}.leaflet-right .leaflet-draw-actions li:first-child a{-webkit-border-radius:4px 0 0 4px;border-radius:4px 0 0 4px}.leaflet-draw-actions a{background-color:#919187;border-left:1px solid #AAA;color:#FFF;font:11px/19px "Helvetica Neue", Arial, Helvetica, sans-serif;line-height:28px;text-decoration:none;padding-left:10px;padding-right:10px;height:28px}.leaflet-touch .leaflet-draw-actions a{font-size:12px;line-height:30px;height:30px}.leaflet-draw-actions-bottom{margin-top:0}.leaflet-draw-actions-top{margin-top:1px}.leaflet-draw-actions-top a,.leaflet-draw-actions-bottom a{height:27px;line-height:27px}.leaflet-draw-actions a:hover{background-color:#a0a098}.leaflet-draw-actions-top.leaflet-draw-actions-bottom a{height:26px;line-height:26px}.leaflet-draw-toolbar .leaflet-draw-draw-polyline{background-position:-2px -2px}.leaflet-touch .leaflet-draw-toolbar .leaflet-draw-draw-polyline{background-position:0 -1px}.leaflet-draw-toolbar .leaflet-draw-draw-polygon{background-position:-31px -2px}.leaflet-touch .leaflet-draw-toolbar .leaflet-draw-draw-polygon{background-position:-29px -1px}.leaflet-draw-toolbar .leaflet-draw-draw-rectangle{background-position:-62px -2px}.leaflet-touch .leaflet-draw-toolbar .leaflet-draw-draw-rectangle{background-position:-60px -1px}.leaflet-draw-toolbar .leaflet-draw-draw-circle{background-position:-92px -2px}.leaflet-touch .leaflet-draw-toolbar .leaflet-draw-draw-circle{background-position:-90px -1px}.leaflet-draw-toolbar .leaflet-draw-draw-marker{background-position:-122px -2px}.leaflet-touch .leaflet-draw-toolbar .leaflet-draw-draw-marker{background-position:-120px -1px}.leaflet-draw-toolbar .leaflet-draw-draw-circlemarker{background-position:-273px -2px}.leaflet-touch .leaflet-draw-toolbar .leaflet-draw-draw-circlemarker{background-position:-271px -1px}.leaflet-draw-toolbar .leaflet-draw-edit-edit{background-position:-152px -2px}.leaflet-touch .leaflet-draw-toolbar .leaflet-draw-edit-edit{background-position:-150px -1px}.leaflet-draw-toolbar .leaflet-draw-edit-remove{background-position:-182px -2px}.leaflet-touch .leaflet-draw-toolbar .leaflet-draw-edit-remove{background-position:-180px -1px}.leaflet-draw-toolbar .leaflet-draw-edit-edit.leaflet-disabled{background-position:-212px -2px}.leaflet-touch .leaflet-draw-toolbar .leaflet-draw-edit-edit.leaflet-disabled{background-position:-210
18px -1px}.leaflet-draw-toolbar .leaflet-draw-edit-remove.leaflet-disabled{background-position:-242px -2px}.leaflet-touch .leaflet-draw-toolbar .leaflet-draw-edit-remove.leaflet-disabled{background-position:-240px -2px}.leaflet-mouse-marker{background-color:#fff;cursor:crosshair}.leaflet-draw-tooltip{background:#363636;background:rgba(0, 0, 0, 0.5);border:1px solid transparent;-webkit-border-radius:4px;border-radius:4px;color:#fff;font:12px/18px "Helvetica Neue", Arial, Helvetica, sans-serif;margin-left:20px;margin-top:-21px;padding:4px 8px;position:absolute;visibility:hidden;white-space:nowrap;z-index:6}.leaflet-draw-tooltip:before{border-right:6px solid black;border-right-color:rgba(0, 0, 0, 0.5);border-top:6px solid transparent;border-bottom:6px solid transparent;content:"";position:absolute;top:7px;left:-7px}.leaflet-error-draw-tooltip{background-color:#f2dede;border:1px solid #e6b6bd;color:#b94a48}.leaflet-error-draw-tooltip:before{border-right-color:#e6b6bd}.leaflet-draw-tooltip-single{margin-top:-12px}.leaflet-draw-tooltip-subtext{color:#f8d5e4}.leaflet-draw-guide-dash{font-size:1%;opacity:0.6;position:absolute;width:5px;height:5px}.leaflet-edit-marker-selected{background-color:rgba(254, 87, 161, 0.1);border:4px dashed rgba(254, 87, 161, 0.6);-webkit-border-radius:4px;border-radius:4px;box-sizing:content-box}.leaflet-edit-move{cursor:move}.leaflet-edit-resize{cursor:pointer}.leaflet-oldie .leaflet-draw-toolbar{border:1px solid #999}.leaflet-control-locate a{cursor:pointer}.leaflet-control-locate a .leaflet-control-locate-location-arrow{display:inline-block;width:16px;height:16px;margin:7px;background-image:url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="black" d="M445 4 29 195c-48 23-32 93 19 93h176v176c0 51 70 67 93 19L508 67c16-38-25-79-63-63z"/></svg>')}.leaflet-control-locate a .leaflet-control-locate-spinner{display:inline-block;width:16px;height:16px;margin:7px;background-image:url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="black" d="M304 48a48 48 0 1 1-96 0 48 48 0 0 1 96 0zm-48 368a48 48 0 1 0 0 96 48 48 0 0 0 0-96zm208-208a48 48 0 1 0 0 96 48 48 0 0 0 0-96zM96 256a48 48 0 1 0-96 0 48 48 0 0 0 96 0zm13 99a48 48 0 1 0 0 96 48 48 0 0 0 0-96zm294 0a48 48 0 1 0 0 96 48 48 0 0 0 0-96zM109 61a48 48 0 1 0 0 96 48 48 0 0 0 0-96z"/></svg>');animation:leaflet-control-locate-spin 2s linear infinite}.leaflet-control-locate.active a .leaflet-control-locate-location-arrow{background-image:url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="rgb(32, 116, 182)" d="M445 4 29 195c-48 23-32 93 19 93h176v176c0 51 70 67 93 19L508 67c16-38-25-79-63-63z"/></svg>')}.leaflet-control-locate.following a .leaflet-control-locate-location-arrow{background-image:url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="rgb(252, 132, 40)" d="M445 4 29 195c-48 23-32 93 19 93h176v176c0 51 70 67 93 19L508 67c16-38-25-79-63-63z"/></svg>')}.leaflet-touch .leaflet-bar .leaflet-locate-text-active{width:100%;max-width:200px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;padding:0 10px}.leaflet-touch .leaflet-bar .leaflet-locate-text-active .leaflet-locate-icon{padding:0 5px 0 0}.leaflet-control-locate-location circle{animation:leaflet-control-locate-throb 4s ease infinite}@keyframes leaflet-control-locate-throb{0%{stroke-width:1}50%{stroke-width:3;transform:scale(0.8, 0.8)}100%{stroke-width:1}}@keyframes leaflet-control-locate-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}/*! 19 * Bootstrap v3.0.0 20 * 21 * Copyright 2013 Twitter, Inc 22 * Licensed under the Apache License v2.0 23 * http://www.apache.org/licenses/LICENSE-2.0 24 * 25 * Designed and built with all the love in the world @twitter by @mdo and @fat. 26 */article,aside,details,figcaption,figure,footer,header,hgroup,main,nav,section,summary{display:block}audio,canvas,video{display:inline-block}audio:not([controls]){display:none;height:0}[hidden]{display:none}html{font-family:sans-serif;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%}body{margin:0}a:focus{outline:thin dotted}a:active,a:hover{outline:0}h1{font-size:2em;
26margin:0.67em 0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:bold}dfn{font-style:italic}hr{-moz-box-sizing:content-box;box-sizing:content-box;height:0}mark{background:#ff0;color:#000}code,kbd,pre,samp{font-family:monospace, serif;font-size:1em}pre{white-space:pre-wrap}q{quotes:"â" "â" "â" "â"}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-0.5em}sub{bottom:-0.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:0}fieldset{border:1px solid #c0c0c0;margin:0 2px;padding:0.35em 0.625em 0.75em}legend{border:0;padding:0}button,input,select,textarea{font-family:inherit;font-size:100%;margin:0}button,input{line-height:normal}button,select{text-transform:none}button,html input[type=button],input[type=reset],input[type=submit]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}input[type=checkbox],input[type=radio]{box-sizing:border-box;padding:0}input[type=search]{-webkit-appearance:textfield;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box}input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration{-webkit-appearance:none}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}textarea{overflow:auto;vertical-align:top}table{border-collapse:collapse;border-spacing:0}*,*:before,*:after{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}html{font-size:62.5%;-webkit-tap-highlight-color:rgba(0, 0, 0, 0)}body{font-size:14px;line-height:1.428571429;color:#333333;background-color:#ffffff}input,button,select,textarea{font-family:inherit;font-size:inherit;line-height:inherit}button,input,select[multiple],textarea{background-image:none}a{color:#428bca;text-decoration:none}a:hover,a:focus{color:#2a6496;text-decoration:underline}a:focus{outline:thin dotted #333;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}img{vertical-align:middle}.img-responsive{display:block;max-width:100%;height:auto}.img-rounded{border-radius:6px}.img-thumbnail{padding:4px;line-height:1.428571429;background-color:#ffffff;border:1px solid #dddddd;border-radius:4px;-webkit-transition:all 0.2s ease-in-out;transition:all 0.2s ease-in-out;display:inline-block;max-width:100%;height:auto}.img-circle{border-radius:50%}hr{margin-top:20px;margin-bottom:20px;border:0;border-top:1px solid #eeeeee}.sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);border:0}@font-face{font-family:"Glyphicons Halflings";src:url("../fonts/glyphicons-halflings-regular.eot");src:url("../fonts/glyphicons-halflings-regular.eot?#iefix") format("embedded-opentype"), url("../fonts/glyphicons-halflings-regular.woff") format("woff"), url("../fonts/glyphicons-halflings-regular.ttf") format("truetype"), url("../fonts/glyphicons-halflings-regular.svg#glyphicons-halflingsregular") format("svg")}.glyphicon{position:relative;top:1px;display:inline-block;font-family:"Glyphicons Halflings";font-style:normal;font-weight:normal;line-height:1;-webkit-font-smoothing:antialiased}.glyphicon-asterisk:before{content:"*"}.glyphicon-plus:before{content:"+"}.glyphicon-euro:before{content:"â¬"}.glyphicon-minus:before{content:"â"}.glyphicon-cloud:before{content:"â"}.glyphicon-envelope:before{content:"â"}.glyphicon-pencil:before{content:"â"}.glyphicon-glass:before{content:"\\e001"}.glyphicon-music:before{content:"\\e002"}.glyphicon-search:before{content:"\\e003"}.glyphicon-heart:before{content:"\\e005"}.glyphicon-star:before{content:"\\e006"}.glyphicon-star-empty:before{content:"\\e007"}.glyphicon-user:before{content:"\\e008"}.glyphicon-film:before{content:"\\e009"}.glyphicon-th-large:before{content:"\\e010"}.glyphicon-th:before{content:"\\e011"}.glyphicon-th-list:before{content:"\\e012"}.glyphicon-ok:before{content:"\\e013"}.glyphicon-remove:before{content:"\\e014"}.glyphicon-zoom-in:before{content:"\\e015"}.glyphicon-zoom-out:before{content:"\\e016"}.glyphicon-off:before{content:"\\e017"}.glyphicon-signal:before{content:"\\e018"}.glyphicon-cog:before{content:"\\e019"}.glyphicon-trash:before{content:"\\e020"}.glyphicon-home:before{content:"\\e021"}.glyphicon-file:before{content:"\\e022"}.glyphicon-time:before{content:"\\e023"}.glyphicon-road:before{content:"\\e024"}.glyphicon-download-alt:before{content:"\\e025"}.glyphicon-download:before{content:"\\e026"}.glyphicon-upload:before{content:"\\e027"}.glyphicon-inbox:before{content:"\\e028"}.glyphicon-play-circle:before{content:"\\e029"}.glyphicon-repeat:before{content:"\\e030"}.glyphicon-refresh:before{content:"\\e031"}.glyphicon-list-alt:before{content:"\\e032"}.glyphicon-flag:before{content:"\\e034"}.glyphicon-headphones:before{content:"\\e035"}.glyphicon-volume-off:before{content:"\\e036"}.glyphicon-volume-down:before{content:"\\e037"}.glyphicon-volume-up:before{content:"\\e038"}.glyphicon-qrcode:before{content:"\\e039"}.glyphicon-barcode:before{content:"\\e040"}.glyphicon-tag:before{content:"\\e041"}.glyphicon-tags:before{content:"\\e042"}.glyphicon-book:before{content:"\\e043"}.glyphicon-print:before{content:"\\e045"}.glyphicon-font:before{content:"\\e047"}.glyphicon-bold:before{content:"\\e048"}.glyphicon-italic:before{content:"\\e049"}.glyphicon-text-height:before{content:"\\e050"}.glyphicon-text-width:before{content:"\\e051"}.glyphicon-align-left:before{content:"\\e052"}.glyphicon-align-center:before{content:"\\e053"}.glyphicon-align-right:before{content:"\\e054"}.glyphicon-align-justify:before{content:"\\e055"}.glyphicon-list:before{content:"\\e056"}.glyphicon-indent-left:before{content:"\\e057"}.glyphicon-indent-right:before{content:"\\e058"}.glyphicon-facetime-video:before{content:"\\e059"}.glyphicon-picture:before{content:"\\e060"}.glyphicon-map-marker:before{content:"\\e062"}.glyphicon-adjust:before{content:"\\e063"}.glyphicon-tint:before{content:"\\e064"}.glyphicon-edit:before{content:"\\e065"}.glyphicon-share:before{content:"\\e066"}.glyphicon-check:before{content:"\\e067"}.glyphicon-move:before{content:"\\e068"}.glyphicon-step-backward:before{content:"\\e069"}.glyphicon-fast-backward:before{content:"\\e070"}.glyphicon-backward:before{content:"\\e071"}.glyphicon-play:before{content:"\\e072"}.glyphicon-pause:before{content:"\\e073"}.glyphicon-stop:before{content:"\\e074"}.glyphicon-forward:before{content:"\\e075"}.glyphicon-fast-forward:before{content:"\\e076"}.glyphicon-step-forward:before{content:"\\e077"}.glyphicon-eject:before{content:"\\e078"}.glyphicon-chevron-left:before{content:"\\e079"}.glyphicon-chevron-right:before{content:"\\e080"}.glyphicon-plus-sign:before{content:"\\e081"}.glyphicon-minus-sign:before{content:"\\e082"}.glyphicon-remove-sign:before{content:"\\e083"}.glyphicon-ok-sign:before{content:"\\e084"}.glyphicon-question-sign:before{content:"\\e085"}.glyphicon-info-sign:before{content:"\\e086"}.glyphicon-screenshot:before{content:"\\e087"}.glyphicon-remove-circle:before{content:"\\e088"}.glyphicon-ok-circle:before{content:"\\e089"}.glyphicon-ban-circle:before{content:"\\e090"}.glyphicon-arrow-left:before{content:"\\e091"}.glyphicon-arrow-right:before{content:"\\e092"}.glyphicon-arrow-up:before{content:"\\e093"}.glyphicon-arrow-down:before{content:"\\e094"}.glyphicon-share-alt:before{content:"\\e095"}.glyphicon-resize-full:before{content:"\\e096"}.glyphicon-resize-small:before{content:"\\e097"}.glyphicon-exclamation-sign:before{content:"\\e101"}.glyphicon-gift:before{content:"\\e102"}.glyphicon-leaf:before{content:"\\e103"}.glyphicon-eye-open:before{content:"\\e105"}
26.glyphicon-eye-close:before{content:"\\e106"}.glyphicon-warning-sign:before{content:"\\e107"}.glyphicon-plane:before{content:"\\e108"}.glyphicon-random:before{content:"\\e110"}.glyphicon-comment:before{content:"\\e111"}.glyphicon-magnet:before{content:"\\e112"}.glyphicon-chevron-up:before{content:"\\e113"}.glyphicon-chevron-down:before{content:"\\e114"}.glyphicon-retweet:before{content:"\\e115"}.glyphicon-shopping-cart:before{content:"\\e116"}.glyphicon-folder-close:before{content:"\\e117"}.glyphicon-folder-open:before{content:"\\e118"}.glyphicon-resize-vertical:before{content:"\\e119"}.glyphicon-resize-horizontal:before{content:"\\e120"}.glyphicon-hdd:before{content:"\\e121"}.glyphicon-bullhorn:before{content:"\\e122"}.glyphicon-certificate:before{content:"\\e124"}.glyphicon-thumbs-up:before{content:"\\e125"}.glyphicon-thumbs-down:before{content:"\\e126"}.glyphicon-hand-right:before{content:"\\e127"}.glyphicon-hand-left:before{content:"\\e128"}.glyphicon-hand-up:before{content:"\\e129"}.glyphicon-hand-down:before{content:"\\e130"}.glyphicon-circle-arrow-right:before{content:"\\e131"}.glyphicon-circle-arrow-left:before{content:"\\e132"}.glyphicon-circle-arrow-up:before{content:"\\e133"}.glyphicon-circle-arrow-down:before{content:"\\e134"}.glyphicon-globe:before{content:"\\e135"}.glyphicon-tasks:before{content:"\\e137"}.glyphicon-filter:before{content:"\\e138"}.glyphicon-fullscreen:before{content:"\\e140"}.glyphicon-dashboard:before{content:"\\e141"}.glyphicon-heart-empty:before{content:"\\e143"}.glyphicon-link:before{content:"\\e144"}.glyphicon-phone:before{content:"\\e145"}.glyphicon-usd:before{content:"\\e148"}.glyphicon-gbp:before{content:"\\e149"}.glyphicon-sort:before{content:"\\e150"}.glyphicon-sort-by-alphabet:before{content:"\\e151"}.glyphicon-sort-by-alphabet-alt:before{content:"\\e152"}.glyphicon-sort-by-order:before{content:"\\e153"}.glyphicon-sort-by-order-alt:before{content:"\\e154"}.glyphicon-sort-by-attributes:before{content:"\\e155"}.glyphicon-sort-by-attributes-alt:before{content:"\\e156"}.glyphicon-unchecked:before{content:"\\e157"}.glyphicon-expand:before{content:"\\e158"}.glyphicon-collapse-down:before{content:"\\e159"}.glyphicon-collapse-up:before{content:"\\e160"}.glyphicon-log-in:before{content:"\\e161"}.glyphicon-flash:before{content:"\\e162"}.glyphicon-log-out:before{content:"\\e163"}.glyphicon-new-window:before{content:"\\e164"}.glyphicon-record:before{content:"\\e165"}.glyphicon-save:before{content:"\\e166"}.glyphicon-open:before{content:"\\e167"}.glyphicon-saved:before{content:"\\e168"}.glyphicon-import:before{content:"\\e169"}.glyphicon-export:before{content:"\\e170"}.glyphicon-send:before{content:"\\e171"}.glyphicon-floppy-disk:before{content:"\\e172"}.glyphicon-floppy-saved:before{content:"\\e173"}.glyphicon-floppy-remove:before{content:"\\e174"}.glyphicon-floppy-save:before{content:"\\e175"}.glyphicon-floppy-open:before{content:"\\e176"}.glyphicon-credit-card:before{content:"\\e177"}.glyphicon-transfer:before{content:"\\e178"}.glyphicon-cutlery:before{content:"\\e179"}.glyphicon-header:before{content:"\\e180"}.glyphicon-compressed:before{content:"\\e181"}.glyphicon-earphone:before{content:"\\e182"}.glyphicon-phone-alt:before{content:"\\e183"}.glyphicon-tower:before{content:"\\e184"}.glyphicon-stats:before{content:"\\e185"}.glyphicon-sd-video:before{content:"\\e186"}.glyphicon-hd-video:before{content:"\\e187"}.glyphicon-subtitles:before{content:"\\e188"}.glyphicon-sound-stereo:before{content:"\\e189"}.glyphicon-sound-dolby:before{content:"\\e190"}.glyphicon-sound-5-1:before{content:"\\e191"}.glyphicon-sound-6-1:before{content:"\\e192"}.glyphicon-sound-7-1:before{content:"\\e193"}.glyphicon-copyright-mark:before{content:"\\e194"}.glyphicon-registration-mark:before{content:"\\e195"}.glyphicon-cloud-download:before{content:"\\e197"}.glyphicon-cloud-upload:before{content:"\\e198"}.glyphicon-tree-conifer:before{content:"\\e199"}.glyphicon-tree-deciduous:before{content:"\\e200"}.glyphicon-briefcase:before{content:"ð¼"}.glyphicon-calendar:before{content:"ð
"}.glyphicon-pushpin:before{content:"ð"}.glyphicon-paperclip:before{content:"ð"}.glyphicon-camera:before{content:"ð·"}.glyphicon-lock:before{content:"ð"}.glyphicon-bell:before{content:"ð"}.glyphicon-bookmark:before{content:"ð"}.glyphicon-fire:before{content:"ð¥"}.glyphicon-wrench:before{content:"ð§"}`,Ua=class{constructor(n){be(this,n),this.baseComponentLoaded=Ge(this,"baseComponentLoaded",7),this.networkDetailsFetched=Ge(this,"networkDetailsFetched",7),this.latitude=void 0,this.longitude=void 0,this.height=void 0,this.width=void 0,this.centerLat=void 0,this.centerLng=void 0,this.zoom=void 0,this.minZoom=void 0}async onPreviewButtonClick(){await V.onPreviewClicked(),this.networkDetailsFetched.emit()}componentWillLoad(){const n=document.createElement("link");n.rel="stylesheet",n.href="https://netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap-glyphicons.css",document.head.appendChild(n)}async componentDidLoad(){let n={networkDetailsPopup:mr("../global/assets/html/network-details-popup.html"),previewPopup:mr("../global/assets/html/preview-popup.html")};V.setHtmlPaths(n),rt.isLoading=!0;const s=this.el.shadowRoot.querySelector("#map"),l=this.buildMapSetters();await V.mapInitialization(s,l),this.baseComponentLoaded.emit(),rt.isLoading=!1,s.style.setProperty("--leaflet-margin-top",ee.hideButtons?"0.1rem":"6.5rem"),s.style.setProperty("--body-font-size",ee.hideButtons?"0.775rem":"1rem")}buildMapSetters(){let n={latitude:this.latitude?Number(this.latitude):this.latitude,longitude:this.longitude?Number(this.longitude):this.longitude,zoom:this.zoom?Number(this.zoom):this.zoom,minZoom:this.minZoom?Number(this.minZoom):this.minZoom};return this.centerLat&&this.centerLng&&(n.center=this.centerLat&&this.centerLng?y.latLng([Number(this.centerLat),Number(this.centerLng)]):null),n}inputFileChange(){V.changeMapHeight()}render(){return S("div",{id:"map",style:{height:this.height,width:this.width}},rt.isLoading&&S("div",{class:"loading-component"},S("loading-component",null)),ee.hideButtons?null:S("div",null,S("base-station-finder",null),S("current-location",null),S("lat-lng-indicators",null)),S("layer-toggle",null),S("alert-toast",null),S("refresh-map",null),S("base-station-count",null),S("base-stations-plotter",null),S("rtx-polygon-plotter",null),S("map-styles",null),S("import-popup",null),S("refresh-map",null),S("warning-modal",null))}get el(){return Ul(this)}static get watchers(){return{height:["inputFileChange"]}}};Ua.style=Ch;const{state:pt,onChange:Sp}=et({isRefreshTriggered:!1,isRefreshButtonToBeShown:!1}),Ph=".custom-buttons:hover,#refresh:hover{cursor:pointer;background-color:#eceef8}:host{display:block;float:right;top:135px;right:15px}#refresh{background-color:rgba(0, 0, 0, 0.05);box-shadow:0 1px 4px 1px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.16);background-color:white;border:none;border-top-right-radius:4px;border-top-left-radius:4px;z-index:999;position:absolute;right:0.8rem;top:1rem;border:2px solid rgba(0, 0, 0, 0.2);background-clip:padding-box}",Fa=class{constructor(n){be(this,n),this.refreshClick=Ge(this,"refreshClick",7),this.openWarningModal=Ge(this,"openWarningModal",7)}async showRefreshButton(){pt.isRefreshButtonToBeShown=!0,V.removeDrawTool()}resetNetworkLayersAndRemovePopup(){Pt.isImportPopupButtonToBeShown=!1}onRefreshButtonClicked(){this.openWarningModal.emit(),ee.shouldAddDrawTool=!0,pt.isRefreshTriggered=!0}resetMapLayers(){pt.isRefreshTriggered&&(this.refreshClick.emit(),re.smartStations=0,pt.isRefreshButtonToBeShown=!1,Ce._networkDetails=null,V._drawnLayerDetails=null,Ze.trajectoryFiles=[],Mo.removeTrajectoryLayersAndSource(),ee.shouldAddDrawTool&&!ee.hideButtons&&V.addDrawTool(),V.resetTrajectoryDetails(),V.removeLayer(he.vrsBaseStationLayerGroup),V.addLayer(he.rtxPolygonLayerId),V.setDefaultView(),pt.isRefreshTriggered=!1,Pt.isImportPopupButtonToBeShown=!0,rt.isLoading=!1)}triggerMapRefresh(){pt.isRefreshTriggered=!0,this.resetMapLayers()}render(){return S("div",null,S("button",{id:"refresh",class:"map-buttons refresh",onClick:()=>this.onRefreshButtonClicked(),style:{display:pt.isRefreshButtonToBeShown&&!ee.hideButtons?"block":"none"}},S("svg",{xmlns:"http://www.w3.org/2000/svg",width:"19",height:"23",fill:"
26currentColor",class:"mi-solid mi-update",viewBox:"0 0 24 24"},S("path",{d:"M4 11.99H2.21c-.45 0-.67-.54-.35-.85l2.79-2.8c.2-.2.51-.2.71 0l2.79 2.79c.31.32.09.86-.36.86H6c0 3.31 2.69 6 6 6 .79 0 1.56-.15 2.25-.44.36-.15.77-.04 1.04.23.51.51.33 1.37-.34 1.64-.91.37-1.91.57-2.95.57-4.42 0-8-3.58-8-8Zm14 0c0-3.31-2.69-6-6-6-.79 0-1.56.15-2.25.44-.36.15-.77.04-1.04-.23-.51-.51-.33-1.37.34-1.64.91-.37 1.91-.57 2.95-.57 4.42 0 8 3.58 8 8h1.79c.45 0 .67.54.35.85l-2.79 2.79c-.2.2-.51.2-.71 0l-2.79-2.79a.5.5 0 0 1 .36-.85H18Z"}))))}};Fa.style=Ph;class Sh{async fetchRTXCoordinates(){var s;let l={apiURL:Hi.rtxPolygonFetchUrl,method:"GET",headers:{"Content-Type":"application/json; charset=UTF-8"}},c=await Ki.executeRequest(l);return c.status=="Success"?this.rtxPolygonsForPlotting=c.body:(oe.message=(s=c.message)!==null&&s!==void 0?s:at.DEFAULT,oe.type="danger"),this.rtxPolygonsForPlotting}}const Mh=new Sh,zh=":host{display:block}",Za=class{constructor(n){be(this,n)}async handleBaseComponentLoaded(){var n,s,l,c,i,o,r,h;let u=await Mh.fetchRTXCoordinates(),f=(c=(l=(s=(n=u[0])===null||n===void 0?void 0:n.data)===null||s===void 0?void 0:s.features[0])===null||l===void 0?void 0:l.geometry)===null||c===void 0?void 0:c.coordinates[0],g=(h=(r=(o=(i=u[1])===null||i===void 0?void 0:i.data)===null||o===void 0?void 0:o.features[0])===null||r===void 0?void 0:r.geometry)===null||h===void 0?void 0:h.coordinates[0],b=y.polygon([f,g],{color:"orange",stroke:!0,dashArray:[7,10],fillOpacity:.2,weight:3}),_=y.layerGroup([b]).addTo(V._map);he.rtxPolygonLayerId=_}render(){return null}};Za.style=zh;const Oh="modus-web-components";let Et,Ga,Zo,Ha=!1,zo=!1,$i=!1,Ee=!1,Ni=!1;const Qe=(n,s="")=>()=>{},Dh=(n,s)=>()=>{},Ih="{visibility:hidden}.hydrated{visibility:inherit}",Rr="http://www.w3.org/1999/xlink",Ar={},Rh="http://www.w3.org/2000/svg",Ah="http://www.w3.org/1999/xhtml",Bh=n=>n!=null,Ji=n=>(n=typeof n,n==="object"||n==="function");function Va(n){var s,l,c;return(c=(l=(s=n.head)===null||s===void 0?void 0:s.querySelector('meta[name="csp-nonce"]'))===null||l===void 0?void 0:l.getAttribute("content"))!==null&&c!==void 0?c:void 0}const qa=(n,s,...l)=>{let c=null,i=null,o=null,r=!1,h=!1;const u=[],f=b=>{for(let _=0;_<b.length;_++)c=b[_],Array.isArray(c)?f(c):c!=null&&typeof c!="boolean"&&((r=typeof n!="function"&&!Ji(c))&&(c=String(c)),r&&h?u[u.length-1].t+=c:u.push(r?Oo(null,c):c),h=r)};if(f(l),s){s.key&&(i=s.key),s.name&&(o=s.name);{const b=s.className||s.class;b&&(s.class=typeof b!="object"?b:Object.keys(b).filter(_=>b[_]).join(" "))}}if(typeof n=="function")return n(s===null?{}:s,u,Uh);const g=Oo(n,null);return g.i=s,u.length>0&&(g.o=u),g.l=i,g.u=o,g},Oo=(n,s)=>{const l={p:0,g:n,t:s,k:null,o:null};return l.i=null,l.l=null,l.u=null,l},Nh={},jh=n=>n&&n.g===Nh,Uh={forEach:(n,s)=>n.map(Br).forEach(s),map:(n,s)=>n.map(Br).map(s).map(Fh)},Br=n=>({vattrs:n.i,vchildren:n.o,vkey:n.l,vname:n.u,vtag:n.g,vtext:n.t}),Fh=n=>{if(typeof n.vtag=="function"){const l=Object.assign({},n.vattrs);return n.vkey&&(l.key=n.vkey),n.vname&&(l.name=n.vname),qa(n.vtag,l,...n.vchildren||[])}const s=Oo(n.vtag,n.vtext);return s.i=n.vattrs,s.o=n.vchildren,s.l=n.vkey,s.u=n.vname,s},Zh=(n,s)=>n!=null&&!Ji(n)?s&4?n==="false"?!1:n===""||!!n:s&2?parseFloat(n):s&1?String(n):n:n,Gh=n=>mt(n)._,Mp=(n,s,l)=>{const c=Gh(n);return{emit:i=>Wa(c,s,{bubbles:!!(l&4),composed:!!(l&2),cancelable:!!(l&1),detail:i})}},Wa=(n,s,l)=>{const c=te.ce(s,l);return n.dispatchEvent(c),c},Nr=new WeakMap,Hh=(n,s,l)=>{let c=Io.get(n);up&&l?(c=c||new CSSStyleSheet,typeof c=="string"?c=s:c.replaceSync(s)):c=s,Io.set(n,c)},Vh=(n,s,l,c)=>{var i;let o=Ya(s);const r=Io.get(o);if(n=n.nodeType===11?n:Le,r)if(typeof r=="string"){n=n.head||n;let h=Nr.get(n),u;if(h||Nr.set(n,h=new Set),!h.has(o)){{u=Le.createElement("style"),u.innerHTML=r;const f=(i=te.M)!==null&&i!==void 0?i:Va(Le);f!=null&&u.setAttribute("nonce",f),n.insertBefore(u,n.querySelector("link"))}h&&h.add(o)}}else n.adoptedStyleSheets.includes(r)||(n.adoptedStyleSheets=[...n.adoptedStyleSheets,r]);return o},qh=n=>{const s=n.S,l=n._,c=s.p,i=Qe("attachStyles",s.T),o=Vh(l.shadowRoot?l.shadowRoot:l.getRootNode(),s);c&10&&(l["s-sc"]=o,l.classList.add(o+"-h")),i()},Ya=(n,s)=>"sc-"+n.T,jr=(n,s,l,c,i,o)=>
26{if(l!==c){let r=Gr(n,s),h=s.toLowerCase();if(s==="class"){const u=n.classList,f=Ur(l),g=Ur(c);u.remove(...f.filter(b=>b&&!g.includes(b))),u.add(...g.filter(b=>b&&!f.includes(b)))}else if(s==="style"){for(const u in l)(!c||c[u]==null)&&(u.includes("-")?n.style.removeProperty(u):n.style[u]="");for(const u in c)(!l||c[u]!==l[u])&&(u.includes("-")?n.style.setProperty(u,c[u]):n.style[u]=c[u])}else if(s!=="key")if(s==="ref")c&&c(n);else if(!r&&s[0]==="o"&&s[1]==="n")s[2]==="-"?s=s.slice(3):Gr(Go,h)?s=h.slice(2):s=h[2]+s.slice(3),l&&te.rel(n,s,l,!1),c&&te.ael(n,s,c,!1);else{const u=Ji(c);if((r||u&&c!==null)&&!i)try{if(n.tagName.includes("-"))n[s]=c;else{const g=c??"";s==="list"?r=!1:(l==null||n[s]!=g)&&(n[s]=g)}}catch{}let f=!1;h!==(h=h.replace(/^xlink\:?/,""))&&(s=h,f=!0),c==null||c===!1?(c!==!1||n.getAttribute(s)==="")&&(f?n.removeAttributeNS(Rr,s):n.removeAttribute(s)):(!r||o&4||i)&&!u&&(c=c===!0?"":c,f?n.setAttributeNS(Rr,s,c):n.setAttribute(s,c))}}},Wh=/\s/,Ur=n=>n?n.split(Wh):[],Xa=(n,s,l,c)=>{const i=s.k.nodeType===11&&s.k.host?s.k.host:s.k,o=n&&n.i||Ar,r=s.i||Ar;for(c in o)c in r||jr(i,c,o[c],void 0,l,s.p);for(c in r)jr(i,c,o[c],r[c],l,s.p)},Do=(n,s,l,c)=>{const i=s.o[l];let o=0,r,h,u;if(Ha||($i=!0,i.g==="slot"&&(Et&&c.classList.add(Et+"-s"),i.p|=i.o?2:1)),i.t!==null)r=i.k=Le.createTextNode(i.t);else if(i.p&1)r=i.k=Le.createTextNode("");else{if(Ee||(Ee=i.g==="svg"),r=i.k=Le.createElementNS(Ee?Rh:Ah,i.p&2?"slot-fb":i.g),Ee&&i.g==="foreignObject"&&(Ee=!1),Xa(null,i,Ee),Bh(Et)&&r["s-si"]!==Et&&r.classList.add(r["s-si"]=Et),i.o)for(o=0;o<i.o.length;++o)h=Do(n,i,o,r),h&&r.appendChild(h);i.g==="svg"?Ee=!1:r.tagName==="foreignObject"&&(Ee=!0)}return r["s-hn"]=Zo,i.p&3&&(r["s-sr"]=!0,r["s-cr"]=Ga,r["s-sn"]=i.u||"",u=n&&n.o&&n.o[l],u&&u.g===i.g&&n.k&&Xt(n.k,!1)),r},Xt=(n,s)=>{te.p|=1;const l=n.childNodes;for(let c=l.length-1;c>=0;c--){const i=l[c];i["s-hn"]!==Zo&&i["s-ol"]&&(Ja(i).insertBefore(i,Qi(i)),i["s-ol"].remove(),i["s-ol"]=void 0,$i=!0),s&&Xt(i,s)}te.p&=-2},Ka=(n,s,l,c,i,o)=>{let r=n["s-cr"]&&n["s-cr"].parentNode||n,h;for(r.shadowRoot&&r.tagName===Zo&&(r=r.shadowRoot);i<=o;++i)c[i]&&(h=Do(null,l,i,n),h&&(c[i].k=h,r.insertBefore(h,Qi(s))))},$a=(n,s,l)=>{for(let c=s;c<=l;++c){const i=n[c];if(i){const o=i.k;ts(i),o&&(zo=!0,o["s-ol"]?o["s-ol"].remove():Xt(o,!0),o.remove())}}},Yh=(n,s,l,c)=>{let i=0,o=0,r=0,h=0,u=s.length-1,f=s[0],g=s[u],b=c.length-1,_=c[0],x=c[b],w,k;for(;i<=u&&o<=b;)if(f==null)f=s[++i];else if(g==null)g=s[--u];else if(_==null)_=c[++o];else if(x==null)x=c[--b];else if(Lo(f,_))Ct(f,_),f=s[++i],_=c[++o];else if(Lo(g,x))Ct(g,x),g=s[--u],x=c[--b];else if(Lo(f,x))(f.g==="slot"||x.g==="slot")&&Xt(f.k.parentNode,!1),Ct(f,x),n.insertBefore(f.k,g.k.nextSibling),f=s[++i],x=c[--b];else if(Lo(g,_))(f.g==="slot"||x.g==="slot")&&Xt(g.k.parentNode,!1),Ct(g,_),n.insertBefore(g.k,f.k),g=s[--u],_=c[++o];else{for(r=-1,h=i;h<=u;++h)if(s[h]&&s[h].l!==null&&s[h].l===_.l){r=h;break}r>=0?(k=s[r],k.g!==_.g?w=Do(s&&s[o],l,r,n):(Ct(k,_),s[r]=void 0,w=k.k),_=c[++o]):(w=Do(s&&s[o],l,o,n),_=c[++o]),w&&Ja(f.k).insertBefore(w,Qi(f.k))}i>u?Ka(n,c[b+1]==null?null:c[b+1].k,l,c,o,b):o>b&&$a(s,i,u)},Lo=(n,s)=>n.g===s.g?n.g==="slot"?n.u===s.u:n.l===s.l:!1,Qi=n=>n&&n["s-ol"]||n,Ja=n=>(n["s-ol"]?n["s-ol"]:n).parentNode,Ct=(n,s)=>{const l=s.k=n.k,c=n.o,i=s.o,o=s.g,r=s.t;let h;r===null?(Ee=o==="svg"?!0:o==="foreignObject"?!1:Ee,o==="slot"||Xa(n,s,Ee),c!==null&&i!==null?Yh(l,c,s,i):i!==null?(n.t!==null&&(l.textContent=""),Ka(l,null,s,i,0,i.length-1)):c!==null&&$a(c,0,c.length-1),Ee&&o==="svg"&&(Ee=!1)):(h=l["s-cr"])?h.parentNode.textContent=r:n.t!==r&&(l.data=r)},Qa=n=>{const s=n.childNodes;let l,c,i,o,r,h;for(c=0,i=s.length;c<i;c++)if(l=s[c],l.nodeType===1){if(l["s-sr"]){for(r=l["s-sn"],l.hidden=!1,o=0;o<i;o++)if(h=s[o].nodeType,s[o]["s-hn"]!==l["s-hn"]||r!==""){if(h===1&&r===s[o].getAttribute("slot")){l.hidden=!0;break}}else if(h===1||h===3&&s[o].textContent.trim()!==""){l.hidden=!0;break}}Qa(l)}},Re=[],es=n=>{let s,l,c,i,o,r,h=0;const u=n.childNodes,f=u.length;for(;h<f;h++){if(s=u[h],s["s-sr"]&&(l=s["s-cr"])&&l.parentNode)for(c=l.parentNode.childNodes,i=s["s-sn"],r=c.length-1;r>=0;r--)l=c[r],!l["s-cn"]&&!l["s-nr"]&&l["s-hn"]!==s["s-hn"]&&(Fr(l,i)?(o=Re.find(g=>g.C===l),zo=!0,l["s-sn"]=l["s-sn"]||i,o?o.P=s:Re.push({P:s,C:l}),l["s-sr"]&&Re.map(g=>{Fr(g.C,l["s-sn"])&&(o=Re.find(b=>b.C===l),o&&!g.P&&(g.P=o.P))})):Re.some(g=>g.C===l)||Re.push({C:l}));s.nodeType===1&&es(s)}},Fr=(n,s)=>n.nodeType===1?n.getAttribute("slot")===null&&s===""||n.getAttribute("slot")===s:n["s-sn"]===s?!0:s==="",ts=n=>{n.i&&n.i.ref&&n.i.ref(null),n.o&&n.o.map(ts)},Xh=(n,s)=>{const l=n._,c=n.S,i=n.O||Oo(null,null),o=jh(s)?s:qa(null,null,s);Zo=l.tagName,c.I&&(o.i=o.i||{},c.I.map(([r,h])=>o.i[h]=l[r])),o.g=null,o.p|=4,n.O=o,o.k=i.k=l.shadowRoot||l,Et=l["s-sc"],Ga=l["s-cr"],Ha=(c.p&1)!==0,zo=!1,Ct(i,o);{if(te.p|=1,$i){es(o.k);let r,h,u,f,g,b,_=0;for(;_<Re.length;_++)r=Re[_],h=r.C,h["s-ol"]||(u=Le.createTextNode(""),u["s-nr"]=h,h.parentNode.insertBefore(h["s-ol"]=u,h));for(_=0;_<Re.length;_++)if(r=Re[_],h=r.C,r.P){for(f=r.P.parentNode,g=r.P.nextSibling,u=h["s-ol"];u=u.previousSibling;)if(b=u["s-nr"],b&&b["s-sn"]===h["s-sn"]&&f===b.parentNode&&(b=b.nextSibling,!b||!b["s-nr"])){g=b;break}(!g&&f!==h.parentNode||h.nextSibling!==g)&&h!==g&&(!h["s-hn"]&&h["s-ol"]&&(h["s-hn"]=h["s-ol"].parentNode.nodeName),f.insertBefore(h,g))}else h.nodeType===1&&(h.hidden=!0)}zo&&Qa(o.k),te.p&=-2,Re.length=0}},os=(n,s)=>{s&&!n.A&&s["s-p"]&&s["s-p"].push(new Promise(l=>n.A=l))},en=(n,s)=>{if(n.p|=16,n.p&4){n.p|=512;return}return os(n,n.j),gp(()=>Kh(n,s))},Kh=(n,s)=>{const l=Qe("scheduleUpdate",n.S.T),c=n.N;let i;return s?(n.p|=256,n.F&&(n.F.map(([o,r])=>Je(c,o,r)),n.F=void 0),i=Je(c,"componentWillLoad")):i=Je(c,"componentWillUpdate"),i=Zr(i,()=>Je(c,"componentWillRender")),l(),Zr(i,()=>Jh(n,c,s))},Zr=(n,s)=>$h(n)?n.then(s):s(),$h=n=>n instanceof Promise||n&&n.then&&typeof n.then=="function",Jh=async(n,s,l)=>{var c;const i=n._,o=Qe("update",n.S.T),r=i["s-rc"];l&&qh(n);const h=Qe("render",n.S.T);Qh(n,s),r&&(r.map(u=>u()),i["s-rc"]=void 0),h(),o();{const u=(c=i["s-p"])!==null&&c!==void 0?c:[],f=()=>ep(n);u.length===0?f():(Promise.all(u).then(f),n.p|=4,u.length=0)}},Qh=(n,s,l)=>{try{s=s.render(),n.p&=-17,n.p|=2,Xh(n,s)}catch(c){A(c,n._)}return null},ep=n=>{const s=n.S.T,l=n._,c=Qe("postUpdate",s),i=n.N,o=n.j;Je(i,"componentDidRender"),n.p&64?(Je(i,"componentDidUpdate"),c()):(n.p|=64,ns(l),Je(i,"componentDidLoad"),c(),n.B(l),o||is()),n.D(l),n.A&&(n.A(),n.A=void 0),n.p&512&&on(()=>
26en(n,!1)),n.p&=-517},is=n=>{ns(Le.documentElement),on(()=>Wa(Go,"appload",{detail:{namespace:Oh}}))},Je=(n,s,l)=>{if(n&&n[s])try{return n[s](l)}catch(c){A(c)}},ns=n=>n.classList.add("hydrated"),tp=(n,s)=>mt(n).U.get(s),op=(n,s,l,c)=>{const i=mt(n),o=i._,r=i.U.get(s),h=i.p,u=i.N;l=Zh(l,c.H[s][0]);const f=Number.isNaN(r)&&Number.isNaN(l),g=l!==r&&!f;if((!(h&8)||r===void 0)&&g&&(i.U.set(s,l),u)){if(c.G&&h&128){const b=c.G[s];b&&b.map(_=>{try{u[_](l,r,s)}catch(x){A(x,o)}})}(h&18)===2&&en(i,!1)}},rs=(n,s,l)=>{if(s.H){n.watchers&&(s.G=n.watchers);const c=Object.entries(s.H),i=n.prototype;if(c.map(([o,[r]])=>{r&31||l&2&&r&32?Object.defineProperty(i,o,{get(){return tp(this,o)},set(h){op(this,o,h,s)},configurable:!0,enumerable:!0}):l&1&&r&64&&Object.defineProperty(i,o,{value(...h){const u=mt(this);return u.V.then(()=>u.N[o](...h))}})}),l&1){const o=new Map;i.attributeChangedCallback=function(r,h,u){te.jmp(()=>{const f=o.get(r);if(this.hasOwnProperty(f))u=this[f],delete this[f];else if(i.hasOwnProperty(f)&&typeof this[f]=="number"&&this[f]==u)return;this[f]=u===null&&typeof this[f]=="boolean"?!1:u})},n.observedAttributes=c.filter(([r,h])=>h[0]&15).map(([r,h])=>{const u=h[1]||r;return o.set(u,r),h[0]&512&&s.I.push([r,u]),u})}}return n},ip=async(n,s,l,c,i)=>{if(!(s.p&32)){s.p|=32;{if(i=pp(l),i.then){const u=Dh();i=await i,u()}i.isProxied||(l.G=i.watchers,rs(i,l,2),i.isProxied=!0);const h=Qe("createInstance",l.T);s.p|=8;try{new i(s)}catch(u){A(u)}s.p&=-9,s.p|=128,h(),as(s.N)}if(i.style){let h=i.style;const u=Ya(l);if(!Io.has(u)){const f=Qe("registerStyles",l.T);Hh(u,h,!!(l.p&1)),f()}}}const o=s.j,r=()=>en(s,!0);o&&o["s-rc"]?o["s-rc"].push(r):r()},as=n=>{Je(n,"connectedCallback")},np=n=>{if(!(te.p&1)){const s=mt(n),l=s.S,c=Qe("connectedCallback",l.T);if(s.p&1)ss(n,s,l.Z),as(s.N);else{s.p|=1,l.p&12&&rp(n);{let i=n;for(;i=i.parentNode||i.host;)if(i["s-p"]){os(s,s.j=i);break}}l.H&&Object.entries(l.H).map(([i,[o]])=>{if(o&31&&n.hasOwnProperty(i)){const r=n[i];delete n[i],n[i]=r}}),ip(n,s,l)}c()}},rp=n=>{const s=n["s-cr"]=Le.createComment("");s["s-cn"]=!0,n.insertBefore(s,n.firstChild)},ap=n=>{if(!(te.p&1)){const s=mt(n),l=s.N;s.$&&(s.$.map(c=>c()),s.$=void 0),Je(l,"disconnectedCallback")}},sp=(n,s={})=>{var l;const c=Qe(),i=[],o=s.exclude||[],r=Go.customElements,h=Le.head,u=h.querySelector("meta[charset]"),f=Le.createElement("style"),g=[];let b,_=!0;Object.assign(te,s),te.W=new URL(s.resourcesUrl||"./",Le.baseURI).href,n.map(x=>{x[1].map(w=>{const k={p:w[0],T:w[1],H:w[2],Z:w[3]};k.H=w[2],k.Z=w[3],k.I=[],k.G={};const O=k.T,M=class extends HTMLElement{constructor(Z){super(Z),Z=this,hp(Z,k),k.p&1&&Z.attachShadow({mode:"open"})}connectedCallback(){b&&(clearTimeout(b),b=null),_?g.push(this):te.jmp(()=>np(this))}disconnectedCallback(){te.jmp(()=>ap(this))}componentOnReady(){return mt(this).Y}};k.X=x[0],!o.includes(O)&&!r.get(O)&&(i.push(O),r.define(O,rs(M,k,1)))})});{f.innerHTML=i+Ih,f.setAttribute("data-styles","");const x=(l=te.M)!==null&&l!==void 0?l:Va(Le);x!=null&&f.setAttribute("nonce",x),h.insertBefore(f,u?u.nextSibling:h.firstChild)}_=!1,g.length?g.map(x=>x.connectedCallback()):te.jmp(()=>b=setTimeout(is,30)),c()},zp=(n,s)=>s,ss=(n,s,l,c)=>{l&&l.map(([i,o,r])=>{const h=cp(n,i),u=lp(s,r),f=dp(i);te.ael(h,o,u,f),(s.$=s.$||[]).push(()=>te.rel(h,o,u,f))})},lp=(n,s)=>l=>{try{n.p&256?n.N[s](l):(n.F=n.F||[]).push([s,l])}catch(c){A(c)}},cp=(n,s)=>s&4?Le:n,dp=n=>(n&2)!==0,tn=new WeakMap,mt=n=>tn.get(n),Op=(n,s)=>tn.set(s.N=n,s),hp=(n,s)=>{const l={p:0,_:n,S:s,U:new Map};return l.V=new Promise(c=>l.D=c),l.Y=new Promise(c=>l.B=c),n["s-p"]=[],n["s-rc"]=[],ss(n,l,s.Z),tn.set(n,l)},Gr=(n,s)=>s in n,A=(n,s)=>(0,console.error)(n,s),Mi=new Map,pp=(n,s,l)=>{const c=n.T.replace(/-/g,"_"),i=n.X,o=Mi.get(i);if(o)return o[c];if(!l||!BUILD.hotModuleReplacement){const r=h=>(Mi.set(i,h),h[c]);switch(i){case"modus-accordion":return B(()=>import("./p-82241b3e-1254dfe8.js"),["assets/p-82241b3e-1254dfe8.js","assets/p-465d9e32-a2caadb5.js","assets/index-7981e740.js"]).then(r,A);case"modus-accordion-item":return B(()=>import("./p-30c71522-76e578e2.js"),["assets/p-30c71522-76e578e2.js","assets/p-13e94cb4-c3b699c7.js","assets/p-465d9e32-a2caadb5.js","assets/index-7981e740.js"]).then(r,A);case"modus-alert":return B(()=>import("./p-23ed6269-5b5db99a.js"),["assets/p-23ed6269-5b5db99a.js","assets/p-8b57f57e-0b8904dd.js","assets/p-47ff9662-f00ab673.js","assets/p-465d9e32-a2caadb5.js","assets/index-7981e740.js"]).then(r,A);case"modus-autocomplete":return B(()=>import("./p-805ef73c-78d7f08a.js"),["assets/p-805ef73c-78d7f08a.js","assets/p-33bfb6f5-d2545a21.js","assets/p-465d9e32-a2caadb5.js","assets/index-7981e740.js"]).then(r,A);case"modus-breadcrumb":return B(()=>import("./p-575961b9-92891b78.js"),["assets/p-575961b9-92891b78.js","assets/p-465d9e32-a2caadb5.js","assets/index-7981e740.js"]).then(r,A);case"modus-card":return B(()=>import("./p-cd58d75a-1d550907.js"),["assets/p-cd58d75a-1d550907.js","assets/p-465d9e32-a2caadb5.js","assets/index-7981e740.js"]).then(r,A);case"modus-chip":return B(()=>import("./p-79684b2a-2dc955c9.js"),["assets/p-79684b2a-2dc955c9.js","assets/p-7d69d303-2caf5df8.js","assets/p-50cd1eec-c6e8
261ff6.js","assets/p-465d9e32-a2caadb5.js","assets/index-7981e740.js"]).then(r,A);case"modus-data-table":return B(()=>import("./p-d0f580c6-09471f84.js"),["assets/p-d0f580c6-09471f84.js","assets/p-214a5c6f-1a5223f5.js","assets/p-30b42948-1ebdd349.js","assets/p-d58e8b24-7ae95e25.js","assets/p-50cd1eec-c6e81ff6.js","assets/p-47ff9662-f00ab673.js","assets/p-13e94cb4-c3b699c7.js","assets/p-2cece4b0-61df98c0.js","assets/p-8b57f57e-0b8904dd.js","assets/p-4f22684e-ba5f63b1.js","assets/p-13c71d52-e55221f4.js","assets/p-7d69d303-2caf5df8.js","assets/p-33bfb6f5-d2545a21.js","assets/p-61332697-09359291.js","assets/p-6cce9db4-c0067211.js","assets/p-465d9e32-a2caadb5.js","assets/index-7981e740.js"]).then(r,A);case"modus-date-input":return B(()=>import("./p-1e34ae16-b9f1472b.js"),["assets/p-1e34ae16-b9f1472b.js","assets/p-30b42948-1ebdd349.js","assets/p-d58e8b24-7ae95e25.js","assets/p-50cd1eec-c6e81ff6.js","assets/p-47ff9662-f00ab673.js","assets/p-13e94cb4-c3b699c7.js","assets/p-2cece4b0-61df98c0.js","assets/p-8b57f57e-0b8904dd.js","assets/p-4f22684e-ba5f63b1.js","assets/p-13c71d52-e55221f4.js","assets/p-7d69d303-2caf5df8.js","assets/p-33bfb6f5-d2545a21.js","assets/p-214a5c6f-1a5223f5.js","assets/p-61332697-09359291.js","assets/p-6cce9db4-c0067211.js","assets/p-74959968-d2a91e61.js","assets/p-465d9e32-a2caadb5.js","assets/index-7981e740.js"]).then(r,A);case"modus-date-picker":return B(()=>import("./p-88b87ce6-3fd06f06.js"),["assets/p-88b87ce6-3fd06f06.js","assets/p-30b42948-1ebdd349.js","assets/p-d58e8b24-7ae95e25.js","assets/p-50cd1eec-c6e81ff6.js","assets/p-47ff9662-f00ab673.js","assets/p-13e94cb4-c3b699c7.js","assets/p-2cece4b0-61df98c0.js","assets/p-8b57f57e-0b8904dd.js","assets/p-4f22684e-ba5f63b1.js","assets/p-13c71d52-e55221f4.js","assets/p-7d69d303-2caf5df8.js","assets/p-33bfb6f5-d2545a21.js","assets/p-214a5c6f-1a5223f5.js","assets/p-61332697-09359291.js","assets/p-6cce9db4-c0067211.js","assets/p-74959968-d2a91e61.js","assets/p-465d9e32-a2caadb5.js","assets/index-7981e740.js"]).then(r,A);case"modus-file-dropzone":return B(()=>import("./p-50628ff1-5a5c59ca.js"),["assets/p-50628ff1-5a5c59ca.js","assets/p-d58e8b24-7ae95e25.js","assets/p-465d9e32-a2caadb5.js","assets/index-7981e740.js"]).then(r,A);case"modus-icon":return B(()=>import("./p-9bae0efe-b0926522.js"),["assets/p-9bae0efe-b0926522.js","assets/p-30b42948-1ebdd349.js","assets/p-d58e8b24-7ae95e25.js","assets/p-50cd1eec-c6e81ff6.js","assets/p-47ff9662-f00ab673.js","assets/p-13e94cb4-c3b699c7.js","assets/p-2cece4b0-61df98c0.js","assets/p-8b57f57e-0b8904dd.js","assets/p-4f22684e-ba5f63b1.js","assets/p-13c71d52-e55221f4.js","assets/p-7d69d303-2caf5df8.js","assets/p-33bfb6f5-d2545a21.js","assets/p-214a5c6f-1a5223f5.js","assets/p-61332697-09359291.js","assets/p-6cce9db4-c0067211.js","assets/p-465d9e32-a2caadb5.js","assets/index-7981e740.js"]).then(r,A);case"modus-list":return B(()=>import("./p-664ecc95-d72163ed.js"),["assets/p-664ecc95-d72163ed.js","assets/p-465d9e32-a2caadb5.js","assets/index-7981e740.js"]).then(r,A);case"modus-list-item":return B(()=>import("./p-0d28dd05-59b29086.js"),["assets/p-0d28dd05-59b29086.js","assets/p-50cd1eec-c6e81ff6.js","assets/p-465d9e32-a2caadb5.js","assets/index-7981e740.js"]).then(r,A);case"modus-message":return B(()=>import("./p-5b414d2f-22cd0b24.js"),["assets/p-5b414d2f-22cd0b24.js","assets/p-47ff9662-f00ab673.js","assets/p-4f22684e-ba5f63b1.js","assets/p-30b42948-1ebdd349.js","assets/p-d58e8b24-7ae95e25.js","assets/p-50cd1eec-c6e81ff6.js","assets/p-13e94cb4-c3b699c7.js","assets/p-2cece4b0-61df98c0.js","assets/p-8b57f57e-0b8904dd.js","assets/p-13c71d52-e55221f4.js","assets/p-7d69d303-2caf5df8.js","assets/p-33bfb6f5-d2545a21.js","assets/p-214a5c6f-1a5223f5.js","assets/p-61332697-09359291.js","assets/p-6cce9db4-c0067211.js","assets/p-465d9e32-a2caadb5.js","assets/index-7981e740.js"]).then(r,A);case"modus-modal":return B(()=>import("./p-b7b507c7-a00bcba4.js"),["assets/p-b7b507c7-a00bcba4.js","assets/p-8b57f57e-0b8904dd.js","assets/p-465d9e32-a2caadb5.js","assets/index-7981e740.js"]).then(r,A);case"modus-navbar":return B(()=>import("./p-6887c92d-fedf3500.js"),["assets/p-6887c92d-fedf3500.js","assets/p-30b42948-1ebdd349.js","assets/p-d58e8b24-7ae95e25.js","assets/p-50cd1eec-c6e8
261ff6.js","assets/p-47ff9662-f00ab673.js","assets/p-13e94cb4-c3b699c7.js","assets/p-2cece4b0-61df98c0.js","assets/p-8b57f57e-0b8904dd.js","assets/p-4f22684e-ba5f63b1.js","assets/p-13c71d52-e55221f4.js","assets/p-7d69d303-2caf5df8.js","assets/p-33bfb6f5-d2545a21.js","assets/p-214a5c6f-1a5223f5.js","assets/p-61332697-09359291.js","assets/p-6cce9db4-c0067211.js","assets/p-9fa192b7-6203ff85.js","assets/p-465d9e32-a2caadb5.js","assets/index-7981e740.js"]).then(r,A);case"modus-number-input":return B(()=>import("./p-e24588a0-356429f3.js"),["assets/p-e24588a0-356429f3.js","assets/p-465d9e32-a2caadb5.js","assets/index-7981e740.js"]).then(r,A);case"modus-progress-bar":return B(()=>import("./p-7342083e-b2d58faf.js"),["assets/p-7342083e-b2d58faf.js","assets/p-465d9e32-a2caadb5.js","assets/index-7981e740.js"]).then(r,A);case"modus-radio-group":return B(()=>import("./p-7537aa87-619e6952.js"),["assets/p-7537aa87-619e6952.js","assets/p-465d9e32-a2caadb5.js","assets/index-7981e740.js"]).then(r,A);case"modus-side-navigation":return B(()=>import("./p-cddc2b1c-86181b93.js"),["assets/p-cddc2b1c-86181b93.js","assets/p-61332697-09359291.js","assets/p-465d9e32-a2caadb5.js","assets/index-7981e740.js"]).then(r,A);case"modus-slider":return B(()=>import("./p-fe7d5dd4-ad7699cf.js"),["assets/p-fe7d5dd4-ad7699cf.js","assets/p-465d9e32-a2caadb5.js","assets/index-7981e740.js"]).then(r,A);case"modus-spinner":return B(()=>import("./p-412842dd-a04a7d73.js"),["assets/p-412842dd-a04a7d73.js","assets/p-465d9e32-a2caadb5.js","assets/index-7981e740.js"]).then(r,A);case"modus-switch":return B(()=>import("./p-fc0217fc-c597f3ca.js"),["assets/p-fc0217fc-c597f3ca.js","assets/p-465d9e32-a2caadb5.js","assets/index-7981e740.js"]).then(r,A);case"modus-table":return B(()=>import("./p-843ac96d-13e89867.js"),["assets/p-843ac96d-13e89867.js","assets/p-fd78deb6-8806af44.js","assets/p-13e94cb4-c3b699c7.js","assets/p-214a5c6f-1a5223f5.js","assets/p-465d9e32-a2caadb5.js","assets/index-7981e740.js"]).then(r,A);case"modus-tabs":return B(()=>import("./p-afb4673a-27691d38.js"),["assets/p-afb4673a-27691d38.js","assets/p-465d9e32-a2caadb5.js","assets/index-7981e740.js"]).then(r,A);case"modus-time-picker":return B(()=>import("./p-a252bb01-b3d9450b.js"),["assets/p-a252bb01-b3d9450b.js","assets/p-465d9e32-a2caadb5.js","assets/index-7981e740.js"]).then(r,A);case"modus-toast":return B(()=>import("./p-09d164ac-ec662252.js"),["assets/p-09d164ac-ec662252.js","assets/p-47ff9662-f00ab673.js","assets/p-4f22684e-ba5f63b1.js","assets/p-8b57f57e-0b8904dd.js","assets/p-465d9e32-a2caadb5.js","assets/index-7981e740.js"]).then(r,A);case"modus-tree-view":return B(()=>import("./p-64cb4c28-5d128368.js"),["assets/p-64cb4c28-5d128368.js","assets/p-9a3d09c8-f48eb21b.js","assets/p-465d9e32-a2caadb5.js","assets/index-7981e740.js"]).then(r,A);case"modus-tree-view-item":return B(()=>import("./p-cb694b5e-fb40ad68.js"),["assets/p-cb694b5e-fb40ad68.js","assets/p-30b42948-1ebdd349.js","assets/p-d58e8b24-7ae95e25.js","assets/p-50cd1eec-c6e81ff6.js","assets/p-47ff9662-f00ab673.js","assets/p-13e94cb4-c3b699c7.js","assets/p-2cece4b0-61df98c0.js","assets/p-8b57f57e-0b8904dd.js","assets/p-4f22684e-ba5f63b1.js","assets/p-13c71d52-e55221f4.js","assets/p-7d69d303-2caf5df8.js","assets/p-33bfb6f5-d2545a21.js","assets/p-214a5c6f-1a5223f5.js","assets/p-61332697-09359291.js","assets/p-6cce9db4-c0067211.js","assets/p-9a3d09c8-f48eb21b.js","assets/p-465d9e32-a2caadb5.js","assets/index-7981e740.js"]).then(r,A);case"modus-badge":return B(()=>import("./p-3d5e5fee-c6984833.js"),["assets/p-3d5e5fee-c6984833.js","assets/p-465d9e32-a2caadb5.js","assets/index-7981e740.js"]).then(r,A);case"modus-navbar-apps-menu_6":return B(()=>import("./p-063a91cc-0af6bd26.js"),["assets/p-063a91cc-0af6bd26.js","assets/p-8b57f57e-0b8904dd.js","assets/p-465d9e32-a2caadb5.js","assets/index-7981e740.js"]).then(r,A);case"modus-pagination_4":return B(()=>import("./p-8f683bfa-73ed88f7.js"),["assets/p-8f683bfa-73ed88f7.js","assets/p-2cece4b0-61df98c0.js","assets/p-61332697-09359291.js","assets/p-9fa192b7-6203ff85.js","assets/p-465d9e32-a2caadb5.js","assets/index-7981e740.js"]).then(r,A);case"modus-side-navigation-item":return B(()=>import("./p-822752da-598d3516.js"),["assets/p-822752da-598d3516.js","assets/p-30b42948-1ebdd349.js","assets/p-d58e8b24-7ae95e25.js","assets/p-50cd1eec-c6e8
261ff6.js","assets/p-47ff9662-f00ab673.js","assets/p-13e94cb4-c3b699c7.js","assets/p-2cece4b0-61df98c0.js","assets/p-8b57f57e-0b8904dd.js","assets/p-4f22684e-ba5f63b1.js","assets/p-13c71d52-e55221f4.js","assets/p-7d69d303-2caf5df8.js","assets/p-33bfb6f5-d2545a21.js","assets/p-214a5c6f-1a5223f5.js","assets/p-61332697-09359291.js","assets/p-6cce9db4-c0067211.js","assets/p-465d9e32-a2caadb5.js","assets/index-7981e740.js"]).then(r,A);case"modus-dropdown":return B(()=>import("./p-577be225-49863167.js"),["assets/p-577be225-49863167.js","assets/p-465d9e32-a2caadb5.js","assets/index-7981e740.js"]).then(r,A);case"modus-table-columns-visibility_2":return B(()=>import("./p-b1b84317-a52bdc13.js"),["assets/p-b1b84317-a52bdc13.js","assets/p-fd78deb6-8806af44.js","assets/p-465d9e32-a2caadb5.js","assets/index-7981e740.js"]).then(r,A);case"modus-text-input":return B(()=>import("./p-07a9a4ef-13ab754f.js"),["assets/p-07a9a4ef-13ab754f.js","assets/p-33bfb6f5-d2545a21.js","assets/p-8b57f57e-0b8904dd.js","assets/p-6cce9db4-c0067211.js","assets/p-465d9e32-a2caadb5.js","assets/index-7981e740.js"]).then(r,A);case"modus-button":return B(()=>import("./p-56ed1eb7-566cb1f7.js"),["assets/p-56ed1eb7-566cb1f7.js","assets/p-30b42948-1ebdd349.js","assets/p-d58e8b24-7ae95e25.js","assets/p-50cd1eec-c6e81ff6.js","assets/p-47ff9662-f00ab673.js","assets/p-13e94cb4-c3b699c7.js","assets/p-2cece4b0-61df98c0.js","assets/p-8b57f57e-0b8904dd.js","assets/p-4f22684e-ba5f63b1.js","assets/p-13c71d52-e55221f4.js","assets/p-7d69d303-2caf5df8.js","assets/p-33bfb6f5-d2545a21.js","assets/p-214a5c6f-1a5223f5.js","assets/p-61332697-09359291.js","assets/p-6cce9db4-c0067211.js","assets/p-465d9e32-a2caadb5.js","assets/index-7981e740.js"]).then(r,A);case"modus-tooltip":return B(()=>import("./p-b8bd02ad-c0542427.js"),["assets/p-b8bd02ad-c0542427.js","assets/p-465d9e32-a2caadb5.js","assets/index-7981e740.js"]).then(r,A);case"modus-checkbox":return B(()=>import("./p-cabc56e5-88aaf115.js"),["assets/p-cabc56e5-88aaf115.js","assets/p-50cd1eec-c6e81ff6.js","assets/p-13c71d52-e55221f4.js","assets/p-465d9e32-a2caadb5.js","assets/index-7981e740.js"]).then(r,A)}}return Nl(Object.assign({
26"./p-169d094d.entry.js":()=>B(()=>Promise.resolve().then(()=>yp),void 0),
26"./p-4ef7c05f.entry.js":()=>B(()=>import("./p-4ef7c05f.entry-cede24d6.js").then(r=>r.p),["assets/p-4ef7c05f.entry-cede24d6.js","assets/index-7981e740.js","assets/p-465d9e32-a2caadb5.js"]),
26"./p-5740717a.entry.js":()=>B(()=>import("./p-5740717a.entry-a3e3d323.js").then(r=>r.p),["assets/p-5740717a.entry-a3e3d323.js","assets/index-7981e740.js"]),
26"./p-7110b6a6.entry.js":()=>B(()=>import("./p-7110b6a6.entry-0767c7c3.js").then(r=>r.p),["assets/p-7110b6a6.entry-0767c7c3.js","assets/index-7981e740.js","assets/p-465d9e32-a2caadb5.js"]),
26"./p-78d20b7b.entry.js":()=>B(()=>import("./p-78d20b7b.entry-569080cc.js").then(r=>r.p),["assets/p-78d20b7b.entry-569080cc.js","assets/index-7981e740.js","assets/p-465d9e32-a2caadb5.js"]),
26"./p-cc223ab8.entry.js":()=>B(()=>import("./p-cc223ab8.entry-5fc1ca0e.js").then(r=>r.p),["assets/p-cc223ab8.entry-5fc1ca0e.js","assets/index-7981e740.js","assets/p-465d9e32-a2caadb5.js"])
26}),`./${i}.entry.js`).then(r=>(Mi.set(i,r),r[c]),A)},Io=new Map,Go=typeof window<"u"?window:{},Le=Go.document||{head:{}},te={p:0,W:"",jmp:n=>n(),raf:n=>requestAnimationFrame(n),ael:(n,s,l,c)=>n.addEventListener(s,l,c),rel:(n,s,l,c)=>n.removeEventListener(s,l,c),ce:(n,s)=>new CustomEvent(n,s)},ls=n=>Promise.resolve(n),up=(()=>{try{return new CSSStyleSheet,typeof new CSSStyleSheet().replaceSync=="function"}catch{}return!1})(),Hr=[],cs=[],fp=(n,s)=>l=>{n.push(l),Ni||(Ni=!0,s&&te.p&4?on(ji):te.raf(ji))},Vr=n=>{for(let s=0;s<n.length;s++)try{n[s](performance.now())}catch(l){A(l)}n.length=0},ji=()=>{Vr(Hr),Vr(cs),(Ni=Hr.length>0)&&te.raf(ji)},on=n=>ls().then(n),gp=fp(cs,!0),mp=()=>ls(),bp=(n,s)=>typeof window>"u"?Promise.resolve():mp().then(()=>sp(JSON.parse('[["modus-navbar",[[1,"modus-navbar",{"apps":[16],"buttons":[1040],"enableSearchOverlay":[4,"enable-search-overlay"],"logoOptions":[16],"profileMenuOptions":[1040],"reverse":[4],"searchTooltip":[16],"showAppsMenu":[4,"show-apps-menu"],"showMainMenu":[4,"show-main-menu"],"showNotifications":[4,"show-notifications"],"showPendoPlaceholder":[4,"show-pendo-placeholder"],"showSearch":[4,"show-search"],"showShadow":[4,"show-shadow"],"showHelp":[4,"show-help"],"helpUrl":[1,"help-url"],"variant":[1],"appsMenuVisible":[32],"mainMenuVisible":[32],"notificationsMenuVisible":[32],"profileMenuVisible":[32],"slots":[32],"componentId":[32],"searchOverlayVisible":[32],"openButtonMenuId":[32],"hideMainMenu":[64]},[[4,"click","documentClickHandler"],[0,"linkClick","linkClickHandler"],[0,"signOutClick","signOutClickHandler"]]]]],["modus-table",[[1,"modus-table",{"columns":[1040],"data":[1040],"hover":[4],"columnResize":[4,"column-resize"],"fullWidth":[4,"full-width"],"sort":[4],"showSortIconOnHover":[4,"show-sort-icon-on-hover"],"pagination":[4],"pageSizeList":[16],"summaryRow":[4,"summary-row"],"toolbarOptions":[16],"toolbar":[4],"displayOptions":[16],"rowSelection":[4,"row-selection"],"rowSelectionOptions":[16],"columnReorder":[4,"column-reorder"],"rowsExpandable":[4,"rows-expandable"],"maxHeight":[1,"max-height"],"maxWidth":[1,"max-width"],"columnSizing":[32],"columnSizingInfo":[32],"expanded":[32],"sorting":[32],"table":[32],"paginationState":[32],"columnVisibility":[32],"columnOrder":[32],"itemDragState":[32],"dragAndDropObj":[32],"rowSelectionState":[32],"getColumnData":[64],"toggleColumnVisibility":[64]},[[4,"click","documentClickHandler"]]]]],["modus-data-table",[[1,"modus-data-table",{"columns":[1040],"data":[1040],"displayOptions":[16],"rowActions":[16],"selectionOptions":[16],"sortOptions":[16],"allSelected":[32],"sortState":[32]}]]],["modus-side-navigation",[[1,"modus-side-navigation",{"data":[16],"maxWidth":[1,"max-width"],"mode":[1],"expanded":[1540],"targetContent":[1,"target-content"],"_navigationLevels":[32]},[[4,"click","documentClickHandler"],[0,"_sideNavItemAdded","handleItemAdded"],[0,"_sideNavItemRemoved","handleItemRemoved"],[0,"sideNavItemFocus","handleItemFocus"],[0,"sideNavItemClicked","handleItemClick"]]]]],["modus-tree-view-item",[[1,"modus-tree-view-item",{"disabled":[4],"draggableItem":[4,"draggable-item"],"droppableItem":[4,"droppable-item"],"editable":[1028],"label":[1537],"nodeId":[513,"node-id"],"tabIndexValue":[1032,"tab-index-value"],"childrenIds":[32],"forceUpdate":[32],"slots":[32],"focusItem":[64],"focusCheckbox":[64],"initTreeViewItem":[64],"updateComponent":[64]}]]],["modus-autocomplete",[[1,"modus-autocomplete",{"ariaLabel":[1,"aria-label"],"clearable":[4],"disabled":[4],"dropdownMaxHeight":[1,"dropdown-max-height"],"dropdownZIndex":[1,"dropdown-z-index"],"errorText":[1,"error-text"],"includeSearchIcon":[4,"include-search-icon"],"label":[1],"noResultsFoundText":[1,"no-results-found-text"],"noResultsFoundSubtext":[1,"no-results-found-subtext"],"options":[1040],"placeholder":[1],"readOnly":[4,"read-only"],"required":[4],"showNoResultsFoundMessage":[4,"show-no-results-found-message"],"size":[1],"value":[1],"containsSlottedElements":[32],"hasFocus":[32],"visibleOptions":[32],"customOptions":[32],"visibleCustomOptions":[32]},[[4,"click","outsideElementClickHandler"]]]]],["modus-modal",[[1,"modus-modal",{"ariaLabel":[1,"aria-label"],"headerText":[1,"header-text"],"primaryButtonAriaLabel":[1,"primary-button-aria-label"],"primaryButtonDisabled":[4,"primary-button-disabled"],"primaryButtonText":[1,"primary-button-text"],"secondaryButtonAriaLabel":[1,"secondary-button-aria-label"],"secondaryButtonDisabled":[4,"secondary-button-disabled"],"secondaryButtonText":[1,"secondary-button-text"],"zIndex":[1,"z-index"],"backdrop":[1],"visible":[32],"close":[64],"open":[64]},[[4,"keydown","documentKeyHandler"]]]]],["modus-accordion",[[1,"modus-accordion",{"ariaLabel":[1,"aria-label"]}]]],["modus-accordion-item",[[1,"modus-accordion-item",{"disabled":[4],"expanded":[1028],"headerText":[1,"header-text"],"size":[1]}]]],["modus-alert",[[1,"modus-alert",{"ariaLabel":[1,"aria-label"],"dismissible":[4],"message":[1],"type":[1]}
26,[[0,"keyup","elementKeyupHandler"]]]]],["modus-breadcrumb",[[1,"modus-breadcrumb",{"ariaLabel":[1,"aria-label"],"crumbs":[16]}]]],["modus-card",[[1,"modus-card",{"ariaLabel":[1,"aria-label"],"height":[1],"width":[1],"borderRadius":[1,"border-radius"],"showCardBorder":[4,"show-card-border"],"showShadowOnHover":[4,"show-shadow-on-hover"]}]]],["modus-chip",[[1,"modus-chip",{"ariaLabel":[1,"aria-label"],"chipStyle":[1,"chip-style"],"disabled":[4],"hasError":[4,"has-error"],"imageUrl":[1,"image-url"],"showCheckmark":[4,"show-checkmark"],"showClose":[4,"show-close"],"size":[1],"value":[1]},[[0,"keyup","elementKeyupHandler"],[0,"keydown","elementKeydownHandler"]]]]],["modus-date-input",[[1,"modus-date-input",{"allowedCharsRegex":[1,"allowed-chars-regex"],"ariaLabel":[1,"aria-label"],"autoFocusInput":[4,"auto-focus-input"],"disabled":[4],"disableValidation":[4,"disable-validation"],"errorText":[1,"error-text"],"fillerDate":[1,"filler-date"],"format":[1],"altFormats":[1,"alt-formats"],"helperText":[8,"helper-text"],"label":[1],"placeholder":[1],"readOnly":[4,"read-only"],"required":[4],"showCalendarIcon":[4,"show-calendar-icon"],"size":[1],"type":[1],"validText":[1,"valid-text"],"value":[1025],"_dateDisplay":[32],"focusInput":[64]}]]],["modus-date-picker",[[1,"modus-date-picker",{"label":[1],"_forceUpdate":[32],"_showCalendar":[32],"_showYearArrows":[32]},[[0,"calendarIconClicked","handleCalendarIconClick"],[4,"click","handleClickOutside"],[0,"valueChange","handleDateInputValue"],[0,"dateInputBlur","handleDateInputBlur"]]]]],["modus-file-dropzone",[[1,"modus-file-dropzone",{"ariaLabel":[1,"aria-label"],"description":[1],"dropzoneHeight":[1,"dropzone-height"],"dropzoneWidth":[1,"dropzone-width"],"includeStateIcon":[4,"include-state-icon"],"label":[1],"maxFileCount":[2,"max-file-count"],"maxFileNameLength":[2,"max-file-name-length"],"maxTotalFileSizeBytes":[2,"max-total-file-size-bytes"],"multiple":[4],"dropzoneFiles":[32],"error":[32],"fileDraggedOver":[32],"addFile":[64],"getError":[64],"getFiles":[64],"removeFile":[64]},[[0,"keydown","elementKeydownHandler"]]]]],["modus-icon",[[1,"modus-icon",{"name":[1],"size":[1],"color":[1]}]]],["modus-list",[[1,"modus-list"]]],["modus-list-item",[[1,"modus-list-item",{"disabled":[4],"selected":[4],"size":[1],"type":[1]}]]],["modus-message",[[1,"modus-message",{"ariaLabel":[1,"aria-label"],"icon":[1],"type":[1]}]]],["modus-number-input",[[1,"modus-number-input",{"ariaLabel":[1,"aria-label"],"disabled":[4],"errorText":[1,"error-text"],"helperText":[1,"helper-text"],"label":[1],"maxValue":[2,"max-value"],"minValue":[2,"min-value"],"placeholder":[1],"readOnly":[4,"read-only"],"required":[4],"size":[1],"step":[2],"textAlign":[1,"text-align"],"validText":[1,"valid-text"],"value":[1025]}]]],["modus-progress-bar",[[1,"modus-progress-bar",{"ariaLabel":[1,"aria-label"],"backgroundColor":[1,"background-color"],"color":[1],"maxValue":[2,"max-value"],"minValue":[2,"min-value"],"size":[1],"text":[1],"textColor":[1,"text-color"],"value":[2]}]]],["modus-radio-group",[[1,"modus-radio-group",{"ariaLabel":[1,"aria-label"],"checkedId":[1025,"checked-id"],"name":[1],"radioButtons":[1040]}]]],["modus-slider",[[1,"modus-slider",{"ariaLabel":[1,"aria-label"],"disabled":[4],"label":[1],"maxValue":[2,"max-value"],"minValue":[2,"min-value"],"value":[1025]}]]],["modus-spinner",[[1,"modus-spinner",{"color":[1],"size":[1]}]]],["modus-switch",[[1,"modus-switch",{"ariaLabel":[1,"aria-label"],"checked":[1028],"disabled":[4],"label":[1]},[[0,"keydown","elementKeydownHandler"],[0,"keyup","elementKeyupHandler"]]]]],["modus-tabs",[[1,"modus-tabs",{"fullWidth":[4,"full-width"],"ariaLabel":[1,"aria-label"],"size":[1],"tabs":[1040]}]]],["modus-time-picker",[[1,"modus-time-picker",{"ampm":[4],"allowedCharsRegex":[1,"allowed-chars-regex"],"ariaLabel":[1,"aria-label"],"autoFormat":[4,"auto-format"],"autoFocusInput":[4,"auto-focus-input"],"disabled":[4],"disableValidation":[4,"disable-validation"],"errorText":[1,"error-text"],"helperText":[1,"helper-text"],"label":[1],"min":[1],"max":[1],"placeholder":[1],"readOnly":[4,"read-only"],"required":[4],"size":[1],"validText":[1,"valid-text"],"value":[1],"_timeDisplay":[32],"focu
26sInput":[64]}]]],["modus-toast",[[1,"modus-toast",{"ariaLabel":[1,"aria-label"],"dismissible":[4],"showIcon":[4,"show-icon"],"type":[1]}]]],["modus-tree-view",[[1,"modus-tree-view",{"checkboxSelection":[4,"checkbox-selection"],"checkedItems":[1040],"disableTabbing":[1028,"disable-tabbing"],"expandedItems":[1040],"multiCheckboxSelection":[4,"multi-checkbox-selection"],"multiSelection":[4,"multi-selection"],"selectedItems":[1040],"size":[1],"itemDragState":[32]},[[4,"click","handleDocumentClick"],[0,"itemAdded","handleItemAdded"]]]]],["modus-side-navigation-item",[[1,"modus-side-navigation-item",{"disabled":[4],"disableSelection":[1540,"disable-selection"],"expanded":[1540],"label":[1],"menuIcon":[1,"menu-icon"],"selected":[1540],"showExpandIcon":[1540,"show-expand-icon"],"focusItem":[64]}]]],["modus-badge",[[1,"modus-badge",{"ariaLabel":[1,"aria-label"],"color":[1],"size":[1],"type":[1]}]]],["modus-dropdown",[[1,"modus-dropdown",{"animateList":[4,"animate-list"],"ariaLabel":[1,"aria-label"],"customPlacement":[16],"disabled":[4],"placement":[1],"toggleElementId":[1,"toggle-element-id"],"visible":[32]},[[4,"click","documentClickHandler"]]]]],["modus-button",[[1,"modus-button",{"ariaLabel":[1,"aria-label"],"buttonStyle":[1,"button-style"],"color":[1],"disabled":[4],"iconOnly":[1,"icon-only"],"leftIcon":[1,"left-icon"],"rightIcon":[1,"right-icon"],"size":[1],"showCaret":[4,"show-caret"],"pressed":[32],"focusButton":[64]},[[0,"keyup","elementKeyupHandler"]]]]],["modus-checkbox",[[1,"modus-checkbox",{"ariaLabel":[1,"aria-label"],"checked":[1028],"disabled":[4],"indeterminate":[1028],"label":[1],"tabIndexValue":[1032,"tab-index-value"],"stopPropagation":[4,"stop-propagation"],"focusCheckbox":[64]},[[0,"keydown","elementKeydownHandler"]]]]],["modus-table-columns-visibility_2",[[1,"modus-table-dropdown-menu",{"table":[16],"options":[16],"show":[32]},[[4,"click","handleClickOutside"]]],[1,"modus-table-columns-visibility",{"table":[16],"columnsVisibility":[16],"showDropdown":[4,"show-dropdown"],"menuIconContainerRef":[16],"toggleDropdown":[16],"columnsVisibilityState":[32]}]]],["modus-pagination_4",[[1,"modus-table-toolbar",{"table":[16],"options":[16]}],[1,"modus-pagination",{"ariaLabel":[1,"aria-label"],"activePage":[1026,"active-page"],"maxPage":[2,"max-page"],"minPage":[2,"min-page"],"prevPageButtonText":[1,"prev-page-button-text"],"nextPageButtonText":[1,"next-page-button-text"],"size":[1],"pages":[32]}],[1,"modus-select",{"ariaLabel":[1,"aria-label"],"disabled":[4],"errorText":[1,"error-text"],"helperText":[1,"helper-text"],"label":[1],"options":[16],"optionsDisplayProp":[1,"options-display-prop"],"required":[4],"size":[1],"validText":[1,"valid-text"],"value":[16],"internalValue":[32],"optionIdMap":[32]}],[0,"modus-table-filler-column",{"cellBorderless":[4,"cell-borderless"],"summaryRow":[4,"summary-row"],"targetTable":[16],"showFillerTable":[32]}]]],["modus-text-input",[[1,"modus-text-input",{"ariaLabel":[1,"aria-label"],"autoFocusInput":[4,"auto-focus-input"],"clearable":[4],"disabled":[4],"errorText":[1,"error-text"],"helperText":[1,"helper-text"],"includeSearchIcon":[4,"include-search-icon"],"includePasswordTextToggle":[4,"include-password-text-toggle"],"inputmode":[1],"label":[1],"maxLength":[2,"max-length"],"minLength":[2,"min-length"],"placeholder":[1],"readOnly":[4,"read-only"],"required":[4],"size":[1],"textAlign":[1,"text-align"],"type":[1],"validText":[1,"valid-text"],"value":[1],"focusInput":[64]}]]],["modus-tooltip",[[1,"modus-tooltip",{"ariaLabel":[1,"aria-label"],"position":[1],"text":[1],"disabled":[4]}]]],["modus-navbar-apps-menu_6",[[0,"modus-navbar-search-overlay"],[1,"modus-navbar-apps-menu",{"apps":[16],"reverse":[4]}],[4,"modus-navbar-button-menu",{"reverse":[4]}],[1,"modus-navbar-main-menu",{"navbarId":[1,"navbar-id"],"containerLayout":[32]}],[1,"modus-navbar-notifications-menu",{"reverse":[4]}],[1,"modus-navbar-profile-menu",{"avatarUrl":[1,"avatar-url"],"email":[1],"initials":[1],"links":[16],"reverse":[4],"username":[1],"variant":[1]}]]]]'),s)),_p=":host{display:block}",ds=class{constructor(n){be(this,n),this.fileUploadEvent=Ge(this,"fileUploadEvent",7),this.inputFile=void 0,this.secondProcessingMode="PP-RTX",this.hidebuttons=void 0,this.height=void 0,this.width=void 0,this.centerLat=void 0,this.centerLng=void 0,this.zoom=void 0,this.minZoom=void 0,this.loadingmessage=void 0,this.hideresultpopup=void 0}inputFileChange(n){this.fileUploadEvent.emit(n)}async setInputFiles(n){this.inputFile=n}cancelSmartSelectRequest(){ee.cancellationToken.cancel("Request cancelled")}listenSecondProcessingMode(n){this.secondProcessingMode=n.detail}componentWillLoad(){ee.hideButtons=this.hidebuttons==="true",ee.hideResultPopup=this.hideresultpopup==="true",ee.loadingMessage=this.loadingmessage,bp()}componentDidRender(){}render(){return[S("maps-component",{height:this.height,width:this.width,centerLat:this.centerLat,centerLng:this.centerLng,zoom:this.zoom,minZoom:this.minZoom})]}static get watchers(){return{inputFile:["inputFileChange"]}}};ds.style=_p;const vp=":host{display:block;position:absolute;z-index:9999 !important}.warning-modal-container{width:100vw;height:100vh}.modus-modal{z-index:9999 !important}",hs=class{constructor(n){be(this,n)}onModalPrimaryButtonClick(){this.modusModal.close()}onCancelClick(){this.modusModal.close()}showModal(){this.modusModal.open()}render(){return S("modus-modal",{ref:n=>this.modusModal=n,"header-text":"Warning","primary-button-text":"OK","secondary-button-text":"CANCEL","primary-button-aria-label":"Change Style","secondary-button-aria-label":"Cancel",backdrop:"static",zIndex:"999999"},S("p",null,"This will clear your trajectory and project information."),S("p",null," Are you sure you want to continue?"))}};hs.style=vp;const yp=Object.freeze(Object.defineProperty({__proto__:null,alert_toast:qr,base_station_count:Wr,base_station_finder:Oa,base_stations_plotter:Da,current_location:Ia,import_popup:Ra,lat_lng_indicators:Aa,layer_toggle:Ba,loading_component:Na,map_styles:ja,maps_component:Ua,refresh_map:Fa,rtx_polygon_plotter:Za,trimble_gnss_aug_planner:ds,warning_modal:hs},Symbol.toStringTag,{value:"Module"}));
26export{Gh as a,zp as c,Nh as d,qa as h,Op as m,yp as p,Mp as v};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.