Newer
Older
nocode-AR / docs / assets / index.89e9055c.js
@Satou Fumiya Satou Fumiya on 30 Aug 2022 259 KB fix:rallylist url
const mc=function(){const i=document.createElement("link").relList;if(i&&i.supports&&i.supports("modulepreload"))return;for(const l of document.querySelectorAll('link[rel="modulepreload"]'))a(l);new MutationObserver(l=>{for(const c of l)if(c.type==="childList")for(const h of c.addedNodes)h.tagName==="LINK"&&h.rel==="modulepreload"&&a(h)}).observe(document,{childList:!0,subtree:!0});function s(l){const c={};return l.integrity&&(c.integrity=l.integrity),l.referrerpolicy&&(c.referrerPolicy=l.referrerpolicy),l.crossorigin==="use-credentials"?c.credentials="include":l.crossorigin==="anonymous"?c.credentials="omit":c.credentials="same-origin",c}function a(l){if(l.ep)return;l.ep=!0;const c=s(l);fetch(l.href,c)}};mc();function Zs(e,i){const s=Object.create(null),a=e.split(",");for(let l=0;l<a.length;l++)s[a[l]]=!0;return i?l=>!!s[l.toLowerCase()]:l=>!!s[l]}const gc="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",vc=Zs(gc);function qa(e){return!!e||e===""}function Ns(e){if(ot(e)){const i={};for(let s=0;s<e.length;s++){const a=e[s],l=qt(a)?Ac(a):Ns(a);if(l)for(const c in l)i[c]=l[c]}return i}else{if(qt(e))return e;if(Dt(e))return e}}const yc=/;(?![^(]*\))/g,wc=/:(.+)/;function Ac(e){const i={};return e.split(yc).forEach(s=>{if(s){const a=s.split(wc);a.length>1&&(i[a[0].trim()]=a[1].trim())}}),i}function _e(e){let i="";if(qt(e))i=e;else if(ot(e))for(let s=0;s<e.length;s++){const a=_e(e[s]);a&&(i+=a+" ")}else if(Dt(e))for(const s in e)e[s]&&(i+=s+" ");return i.trim()}function xc(e,i){if(e.length!==i.length)return!1;let s=!0;for(let a=0;s&&a<e.length;a++)s=lo(e[a],i[a]);return s}function lo(e,i){if(e===i)return!0;let s=ea(e),a=ea(i);if(s||a)return s&&a?e.getTime()===i.getTime():!1;if(s=bi(e),a=bi(i),s||a)return e===i;if(s=ot(e),a=ot(i),s||a)return s&&a?xc(e,i):!1;if(s=Dt(e),a=Dt(i),s||a){if(!s||!a)return!1;const l=Object.keys(e).length,c=Object.keys(i).length;if(l!==c)return!1;for(const h in e){const p=e.hasOwnProperty(h),d=i.hasOwnProperty(h);if(p&&!d||!p&&d||!lo(e[h],i[h]))return!1}}return String(e)===String(i)}const xn=e=>qt(e)?e:e==null?"":ot(e)||Dt(e)&&(e.toString===Qa||!rt(e.toString))?JSON.stringify(e,$a,2):String(e),$a=(e,i)=>i&&i.__v_isRef?$a(e,i.value):Fn(i)?{[`Map(${i.size})`]:[...i.entries()].reduce((s,[a,l])=>(s[`${a} =>`]=l,s),{})}:Ga(i)?{[`Set(${i.size})`]:[...i.values()]}:Dt(i)&&!ot(i)&&!Xa(i)?String(i):i,St={},Dn=[],be=()=>{},bc=()=>!1,Pc=/^on[^a-z]/,vo=e=>Pc.test(e),Ds=e=>e.startsWith("onUpdate:"),ne=Object.assign,Fs=(e,i)=>{const s=e.indexOf(i);s>-1&&e.splice(s,1)},Lc=Object.prototype.hasOwnProperty,gt=(e,i)=>Lc.call(e,i),ot=Array.isArray,Fn=e=>ki(e)==="[object Map]",Ga=e=>ki(e)==="[object Set]",ea=e=>ki(e)==="[object Date]",rt=e=>typeof e=="function",qt=e=>typeof e=="string",bi=e=>typeof e=="symbol",Dt=e=>e!==null&&typeof e=="object",Ya=e=>Dt(e)&&rt(e.then)&&rt(e.catch),Qa=Object.prototype.toString,ki=e=>Qa.call(e),Tc=e=>ki(e).slice(8,-1),Xa=e=>ki(e)==="[object Object]",Hs=e=>qt(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,io=Zs(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),yo=e=>{const i=Object.create(null);return s=>i[s]||(i[s]=e(s))},Cc=/-(\w)/g,Oe=yo(e=>e.replace(Cc,(i,s)=>s?s.toUpperCase():"")),Ec=/\B([A-Z])/g,$n=yo(e=>e.replace(Ec,"-$1").toLowerCase()),wo=yo(e=>e.charAt(0).toUpperCase()+e.slice(1)),ls=yo(e=>e?`on${wo(e)}`:""),Pi=(e,i)=>!Object.is(e,i),oo=(e,i)=>{for(let s=0;s<e.length;s++)e[s](i)},uo=(e,i,s)=>{Object.defineProperty(e,i,{configurable:!0,enumerable:!1,value:s})},_s=e=>{const i=parseFloat(e);return isNaN(i)?e:i};let na;const Sc=()=>na||(na=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});let Ie;class Mc{constructor(i=!1){this.active=!0,this.effects=[],this.cleanups=[],!i&&Ie&&(this.parent=Ie,this.index=(Ie.scopes||(Ie.scopes=[])).push(this)-1)}run(i){if(this.active){const s=Ie;try{return Ie=this,i()}finally{Ie=s}}}on(){Ie=this}off(){Ie=this.parent}stop(i){if(this.active){let s,a;for(s=0,a=this.effects.length;s<a;s++)this.effects[s].stop();for(s=0,a=this.cleanups.length;s<a;s++)this.cleanups[s]();if(this.scopes)for(s=0,a=this.scopes.length;s<a;s++)this.scopes[s].stop(!0);if(this.parent&&!i){const l=this.parent.scopes.pop();l&&l!==this&&(this.parent.scopes[this.index]=l,l.index=this.index)}this.active=!1}}}function kc(e,i=Ie){i&&i.active&&i.effects.push(e)}const Us=e=>{const i=new Set(e);return i.w=0,i.n=0,i},Ja=e=>(e.w&an)>0,tl=e=>(e.n&an)>0,Ic=({deps:e})=>{if(e.length)for(let i=0;i<e.length;i++)e[i].w|=an},Bc=e=>{const{deps:i}=e;if(i.length){let s=0;for(let a=0;a<i.length;a++){const l=i[a];Ja(l)&&!tl(l)?l.delete(e):i[s++]=l,l.w&=~an,l.n&=~an}i.length=s}},ms=new WeakMap;let mi=0,an=1;const gs=30;let we;const wn=Symbol(""),vs=Symbol("");class js{constructor(i,s=null,a){this.fn=i,this.scheduler=s,this.active=!0,this.deps=[],this.parent=void 0,kc(this,a)}run(){if(!this.active)return this.fn();let i=we,s=sn;for(;i;){if(i===this)return;i=i.parent}try{return this.parent=we,we=this,sn=!0,an=1<<++mi,mi<=gs?Ic(this):ia(this),this.fn()}finally{mi<=gs&&Bc(this),an=1<<--mi,we=this.parent,sn=s,this.parent=void 0,this.deferStop&&this.stop()}}stop(){we===this?this.deferStop=!0:this.active&&(ia(this),this.onStop&&this.onStop(),this.active=!1)}}function ia(e){const{deps:i}=e;if(i.length){for(let s=0;s<i.length;s++)i[s].delete(e);i.length=0}}let sn=!0;const el=[];function Gn(){el.push(sn),sn=!1}function Yn(){const e=el.pop();sn=e===void 0?!0:e}function he(e,i,s){if(sn&&we){let a=ms.get(e);a||ms.set(e,a=new Map);let l=a.get(s);l||a.set(s,l=Us()),nl(l)}}function nl(e,i){let s=!1;mi<=gs?tl(e)||(e.n|=an,s=!Ja(e)):s=!e.has(we),s&&(e.add(we),we.deps.push(e))}function Ke(e,i,s,a,l,c){const h=ms.get(e);if(!h)return;let p=[];if(i==="clear")p=[...h.values()];else if(s==="length"&&ot(e))h.forEach((d,m)=>{(m==="length"||m>=a)&&p.push(d)});else switch(s!==void 0&&p.push(h.get(s)),i){case"add":ot(e)?Hs(s)&&p.push(h.get("length")):(p.push(h.get(wn)),Fn(e)&&p.push(h.get(vs)));break;case"delete":ot(e)||(p.push(h.get(wn)),Fn(e)&&p.push(h.get(vs)));break;case"set":Fn(e)&&p.push(h.get(wn));break}if(p.length===1)p[0]&&ys(p[0]);else{const d=[];for(const m of p)m&&d.push(...m);ys(Us(d))}}function ys(e,i){const s=ot(e)?e:[...e];for(const a of s)a.computed&&oa(a);for(const a of s)a.computed||oa(a)}function oa(e,i){(e!==we||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}const Oc=Zs("__proto__,__v_isRef,__isVue"),il=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(bi)),Rc=Ws(),zc=Ws(!1,!0),Zc=Ws(!0),sa=Nc();function Nc(){const e={};return["includes","indexOf","lastIndexOf"].forEach(i=>{e[i]=function(...s){const a=Pt(this);for(let c=0,h=this.length;c<h;c++)he(a,"get",c+"");const l=a[i](...s);return l===-1||l===!1?a[i](...s.map(Pt)):l}}),["push","pop","shift","unshift","splice"].forEach(i=>{e[i]=function(...s){Gn();const a=Pt(this)[i].apply(this,s);return Yn(),a}}),e}function Ws(e=!1,i=!1){return function(a,l,c){if(l==="__v_isReactive")return!e;if(l==="__v_isReadonly")return e;if(l==="__v_isShallow")return i;if(l==="__v_raw"&&c===(e?i?th:ll:i?al:rl).get(a))return a;const h=ot(a);if(!e&&h&&gt(sa,l))return Reflect.get(sa,l,c);const p=Reflect.get(a,l,c);return(bi(l)?il.has(l):Oc(l))||(e||he(a,"get",l),i)?p:Wt(p)?h&&Hs(l)?p:p.value:Dt(p)?e?ul(p):me(p):p}}const Dc=ol(),Fc=ol(!0);function ol(e=!1){return function(s,a,l,c){let h=s[a];if(Li(h)&&Wt(h)&&!Wt(l))return!1;if(!e&&!Li(l)&&(ws(l)||(l=Pt(l),h=Pt(h)),!ot(s)&&Wt(h)&&!Wt(l)))return h.value=l,!0;const p=ot(s)&&Hs(a)?Number(a)<s.length:gt(s,a),d=Reflect.set(s,a,l,c);return s===Pt(c)&&(p?Pi(l,h)&&Ke(s,"set",a,l):Ke(s,"add",a,l)),d}}function Hc(e,i){const s=gt(e,i);e[i];const a=Reflect.deleteProperty(e,i);return a&&s&&Ke(e,"delete",i,void 0),a}function Uc(e,i){const s=Reflect.has(e,i);return(!bi(i)||!il.has(i))&&he(e,"has",i),s}function jc(e){return he(e,"iterate",ot(e)?"length":wn),Reflect.ownKeys(e)}const sl={get:Rc,set:Dc,deleteProperty:Hc,has:Uc,ownKeys:jc},Wc={get:Zc,set(e,i){return!0},deleteProperty(e,i){return!0}},Kc=ne({},sl,{get:zc,set:Fc}),Ks=e=>e,Ao=e=>Reflect.getPrototypeOf(e);function Xi(e,i,s=!1,a=!1){e=e.__v_raw;const l=Pt(e),c=Pt(i);s||(i!==c&&he(l,"get",i),he(l,"get",c));const{has:h}=Ao(l),p=a?Ks:s?$s:Ti;if(h.call(l,i))return p(e.get(i));if(h.call(l,c))return p(e.get(c));e!==l&&e.get(i)}function Ji(e,i=!1){const s=this.__v_raw,a=Pt(s),l=Pt(e);return i||(e!==l&&he(a,"has",e),he(a,"has",l)),e===l?s.has(e):s.has(e)||s.has(l)}function to(e,i=!1){return e=e.__v_raw,!i&&he(Pt(e),"iterate",wn),Reflect.get(e,"size",e)}function ra(e){e=Pt(e);const i=Pt(this);return Ao(i).has.call(i,e)||(i.add(e),Ke(i,"add",e,e)),this}function aa(e,i){i=Pt(i);const s=Pt(this),{has:a,get:l}=Ao(s);let c=a.call(s,e);c||(e=Pt(e),c=a.call(s,e));const h=l.call(s,e);return s.set(e,i),c?Pi(i,h)&&Ke(s,"set",e,i):Ke(s,"add",e,i),this}function la(e){const i=Pt(this),{has:s,get:a}=Ao(i);let l=s.call(i,e);l||(e=Pt(e),l=s.call(i,e)),a&&a.call(i,e);const c=i.delete(e);return l&&Ke(i,"delete",e,void 0),c}function ua(){const e=Pt(this),i=e.size!==0,s=e.clear();return i&&Ke(e,"clear",void 0,void 0),s}function eo(e,i){return function(a,l){const c=this,h=c.__v_raw,p=Pt(h),d=i?Ks:e?$s:Ti;return!e&&he(p,"iterate",wn),h.forEach((m,v)=>a.call(l,d(m),d(v),c))}}function no(e,i,s){return function(...a){const l=this.__v_raw,c=Pt(l),h=Fn(c),p=e==="entries"||e===Symbol.iterator&&h,d=e==="keys"&&h,m=l[e](...a),v=s?Ks:i?$s:Ti;return!i&&he(c,"iterate",d?vs:wn),{next(){const{value:y,done:A}=m.next();return A?{value:y,done:A}:{value:p?[v(y[0]),v(y[1])]:v(y),done:A}},[Symbol.iterator](){return this}}}}function Xe(e){return function(...i){return e==="delete"?!1:this}}function Vc(){const e={get(c){return Xi(this,c)},get size(){return to(this)},has:Ji,add:ra,set:aa,delete:la,clear:ua,forEach:eo(!1,!1)},i={get(c){return Xi(this,c,!1,!0)},get size(){return to(this)},has:Ji,add:ra,set:aa,delete:la,clear:ua,forEach:eo(!1,!0)},s={get(c){return Xi(this,c,!0)},get size(){return to(this,!0)},has(c){return Ji.call(this,c,!0)},add:Xe("add"),set:Xe("set"),delete:Xe("delete"),clear:Xe("clear"),forEach:eo(!0,!1)},a={get(c){return Xi(this,c,!0,!0)},get size(){return to(this,!0)},has(c){return Ji.call(this,c,!0)},add:Xe("add"),set:Xe("set"),delete:Xe("delete"),clear:Xe("clear"),forEach:eo(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(c=>{e[c]=no(c,!1,!1),s[c]=no(c,!0,!1),i[c]=no(c,!1,!0),a[c]=no(c,!0,!0)}),[e,s,i,a]}const[qc,$c,Gc,Yc]=Vc();function Vs(e,i){const s=i?e?Yc:Gc:e?$c:qc;return(a,l,c)=>l==="__v_isReactive"?!e:l==="__v_isReadonly"?e:l==="__v_raw"?a:Reflect.get(gt(s,l)&&l in a?s:a,l,c)}const Qc={get:Vs(!1,!1)},Xc={get:Vs(!1,!0)},Jc={get:Vs(!0,!1)},rl=new WeakMap,al=new WeakMap,ll=new WeakMap,th=new WeakMap;function eh(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function nh(e){return e.__v_skip||!Object.isExtensible(e)?0:eh(Tc(e))}function me(e){return Li(e)?e:qs(e,!1,sl,Qc,rl)}function ih(e){return qs(e,!1,Kc,Xc,al)}function ul(e){return qs(e,!0,Wc,Jc,ll)}function qs(e,i,s,a,l){if(!Dt(e)||e.__v_raw&&!(i&&e.__v_isReactive))return e;const c=l.get(e);if(c)return c;const h=nh(e);if(h===0)return e;const p=new Proxy(e,h===2?a:s);return l.set(e,p),p}function Hn(e){return Li(e)?Hn(e.__v_raw):!!(e&&e.__v_isReactive)}function Li(e){return!!(e&&e.__v_isReadonly)}function ws(e){return!!(e&&e.__v_isShallow)}function cl(e){return Hn(e)||Li(e)}function Pt(e){const i=e&&e.__v_raw;return i?Pt(i):e}function hl(e){return uo(e,"__v_skip",!0),e}const Ti=e=>Dt(e)?me(e):e,$s=e=>Dt(e)?ul(e):e;function fl(e){sn&&we&&(e=Pt(e),nl(e.dep||(e.dep=Us())))}function dl(e,i){e=Pt(e),e.dep&&ys(e.dep)}function Wt(e){return!!(e&&e.__v_isRef===!0)}function Q(e){return pl(e,!1)}function oh(e){return pl(e,!0)}function pl(e,i){return Wt(e)?e:new sh(e,i)}class sh{constructor(i,s){this.__v_isShallow=s,this.dep=void 0,this.__v_isRef=!0,this._rawValue=s?i:Pt(i),this._value=s?i:Ti(i)}get value(){return fl(this),this._value}set value(i){i=this.__v_isShallow?i:Pt(i),Pi(i,this._rawValue)&&(this._rawValue=i,this._value=this.__v_isShallow?i:Ti(i),dl(this))}}function it(e){return Wt(e)?e.value:e}const rh={get:(e,i,s)=>it(Reflect.get(e,i,s)),set:(e,i,s,a)=>{const l=e[i];return Wt(l)&&!Wt(s)?(l.value=s,!0):Reflect.set(e,i,s,a)}};function _l(e){return Hn(e)?e:new Proxy(e,rh)}class ah{constructor(i,s,a,l){this._setter=s,this.dep=void 0,this.__v_isRef=!0,this._dirty=!0,this.effect=new js(i,()=>{this._dirty||(this._dirty=!0,dl(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!l,this.__v_isReadonly=a}get value(){const i=Pt(this);return fl(i),(i._dirty||!i._cacheable)&&(i._dirty=!1,i._value=i.effect.run()),i._value}set value(i){this._setter(i)}}function lh(e,i,s=!1){let a,l;const c=rt(e);return c?(a=e,l=be):(a=e.get,l=e.set),new ah(a,l,c||!l,s)}function rn(e,i,s,a){let l;try{l=a?e(...a):e()}catch(c){xo(c,i,s)}return l}function Pe(e,i,s,a){if(rt(e)){const c=rn(e,i,s,a);return c&&Ya(c)&&c.catch(h=>{xo(h,i,s)}),c}const l=[];for(let c=0;c<e.length;c++)l.push(Pe(e[c],i,s,a));return l}function xo(e,i,s,a=!0){const l=i?i.vnode:null;if(i){let c=i.parent;const h=i.proxy,p=s;for(;c;){const m=c.ec;if(m){for(let v=0;v<m.length;v++)if(m[v](e,h,p)===!1)return}c=c.parent}const d=i.appContext.config.errorHandler;if(d){rn(d,null,10,[e,h,p]);return}}uh(e,s,l,a)}function uh(e,i,s,a=!0){console.error(e)}let co=!1,As=!1;const ue=[];let Ue=0;const vi=[];let gi=null,zn=0;const yi=[];let tn=null,Zn=0;const ml=Promise.resolve();let Gs=null,xs=null;function Ys(e){const i=Gs||ml;return e?i.then(this?e.bind(this):e):i}function ch(e){let i=Ue+1,s=ue.length;for(;i<s;){const a=i+s>>>1;Ci(ue[a])<e?i=a+1:s=a}return i}function gl(e){(!ue.length||!ue.includes(e,co&&e.allowRecurse?Ue+1:Ue))&&e!==xs&&(e.id==null?ue.push(e):ue.splice(ch(e.id),0,e),vl())}function vl(){!co&&!As&&(As=!0,Gs=ml.then(Al))}function hh(e){const i=ue.indexOf(e);i>Ue&&ue.splice(i,1)}function yl(e,i,s,a){ot(e)?s.push(...e):(!i||!i.includes(e,e.allowRecurse?a+1:a))&&s.push(e),vl()}function fh(e){yl(e,gi,vi,zn)}function dh(e){yl(e,tn,yi,Zn)}function bo(e,i=null){if(vi.length){for(xs=i,gi=[...new Set(vi)],vi.length=0,zn=0;zn<gi.length;zn++)gi[zn]();gi=null,zn=0,xs=null,bo(e,i)}}function wl(e){if(bo(),yi.length){const i=[...new Set(yi)];if(yi.length=0,tn){tn.push(...i);return}for(tn=i,tn.sort((s,a)=>Ci(s)-Ci(a)),Zn=0;Zn<tn.length;Zn++)tn[Zn]();tn=null,Zn=0}}const Ci=e=>e.id==null?1/0:e.id;function Al(e){As=!1,co=!0,bo(e),ue.sort((s,a)=>Ci(s)-Ci(a));const i=be;try{for(Ue=0;Ue<ue.length;Ue++){const s=ue[Ue];s&&s.active!==!1&&rn(s,null,14)}}finally{Ue=0,ue.length=0,wl(),co=!1,Gs=null,(ue.length||vi.length||yi.length)&&Al(e)}}function ph(e,i,...s){if(e.isUnmounted)return;const a=e.vnode.props||St;let l=s;const c=i.startsWith("update:"),h=c&&i.slice(7);if(h&&h in a){const v=`${h==="modelValue"?"model":h}Modifiers`,{number:y,trim:A}=a[v]||St;A&&(l=s.map(E=>E.trim())),y&&(l=s.map(_s))}let p,d=a[p=ls(i)]||a[p=ls(Oe(i))];!d&&c&&(d=a[p=ls($n(i))]),d&&Pe(d,e,6,l);const m=a[p+"Once"];if(m){if(!e.emitted)e.emitted={};else if(e.emitted[p])return;e.emitted[p]=!0,Pe(m,e,6,l)}}function xl(e,i,s=!1){const a=i.emitsCache,l=a.get(e);if(l!==void 0)return l;const c=e.emits;let h={},p=!1;if(!rt(e)){const d=m=>{const v=xl(m,i,!0);v&&(p=!0,ne(h,v))};!s&&i.mixins.length&&i.mixins.forEach(d),e.extends&&d(e.extends),e.mixins&&e.mixins.forEach(d)}return!c&&!p?(a.set(e,null),null):(ot(c)?c.forEach(d=>h[d]=null):ne(h,c),a.set(e,h),h)}function Po(e,i){return!e||!vo(i)?!1:(i=i.slice(2).replace(/Once$/,""),gt(e,i[0].toLowerCase()+i.slice(1))||gt(e,$n(i))||gt(e,i))}let Ae=null,Lo=null;function ho(e){const i=Ae;return Ae=e,Lo=e&&e.type.__scopeId||null,i}function Pn(e){Lo=e}function Ln(){Lo=null}function on(e,i=Ae,s){if(!i||e._n)return e;const a=(...l)=>{a._d&&ya(-1);const c=ho(i),h=e(...l);return ho(c),a._d&&ya(1),h};return a._n=!0,a._c=!0,a._d=!0,a}function us(e){const{type:i,vnode:s,proxy:a,withProxy:l,props:c,propsOptions:[h],slots:p,attrs:d,emit:m,render:v,renderCache:y,data:A,setupState:E,ctx:M,inheritAttrs:R}=e;let H,j;const Y=ho(e);try{if(s.shapeFlag&4){const dt=l||a;H=Be(v.call(dt,dt,y,c,E,A,M)),j=d}else{const dt=i;H=Be(dt.length>1?dt(c,{attrs:d,slots:p,emit:m}):dt(c,null)),j=i.props?d:_h(d)}}catch(dt){wi.length=0,xo(dt,e,1),H=kt(bn)}let X=H;if(j&&R!==!1){const dt=Object.keys(j),{shapeFlag:Ot}=X;dt.length&&Ot&7&&(h&&dt.some(Ds)&&(j=mh(j,h)),X=jn(X,j))}return s.dirs&&(X=jn(X),X.dirs=X.dirs?X.dirs.concat(s.dirs):s.dirs),s.transition&&(X.transition=s.transition),H=X,ho(Y),H}const _h=e=>{let i;for(const s in e)(s==="class"||s==="style"||vo(s))&&((i||(i={}))[s]=e[s]);return i},mh=(e,i)=>{const s={};for(const a in e)(!Ds(a)||!(a.slice(9)in i))&&(s[a]=e[a]);return s};function gh(e,i,s){const{props:a,children:l,component:c}=e,{props:h,children:p,patchFlag:d}=i,m=c.emitsOptions;if(i.dirs||i.transition)return!0;if(s&&d>=0){if(d&1024)return!0;if(d&16)return a?ca(a,h,m):!!h;if(d&8){const v=i.dynamicProps;for(let y=0;y<v.length;y++){const A=v[y];if(h[A]!==a[A]&&!Po(m,A))return!0}}}else return(l||p)&&(!p||!p.$stable)?!0:a===h?!1:a?h?ca(a,h,m):!0:!!h;return!1}function ca(e,i,s){const a=Object.keys(i);if(a.length!==Object.keys(e).length)return!0;for(let l=0;l<a.length;l++){const c=a[l];if(i[c]!==e[c]&&!Po(s,c))return!0}return!1}function vh({vnode:e,parent:i},s){for(;i&&i.subTree===e;)(e=i.vnode).el=s,i=i.parent}const yh=e=>e.__isSuspense;function wh(e,i){i&&i.pendingBranch?ot(e)?i.effects.push(...e):i.effects.push(e):dh(e)}function de(e,i){if(Gt){let s=Gt.provides;const a=Gt.parent&&Gt.parent.provides;a===s&&(s=Gt.provides=Object.create(a)),s[e]=i}}function $t(e,i,s=!1){const a=Gt||Ae;if(a){const l=a.parent==null?a.vnode.appContext&&a.vnode.appContext.provides:a.parent.provides;if(l&&e in l)return l[e];if(arguments.length>1)return s&&rt(i)?i.call(a.proxy):i}}function Ah(e,i){return Qs(e,null,i)}const ha={};function Un(e,i,s){return Qs(e,i,s)}function Qs(e,i,{immediate:s,deep:a,flush:l,onTrack:c,onTrigger:h}=St){const p=Gt;let d,m=!1,v=!1;if(Wt(e)?(d=()=>e.value,m=ws(e)):Hn(e)?(d=()=>e,a=!0):ot(e)?(v=!0,m=e.some(j=>Hn(j)||ws(j)),d=()=>e.map(j=>{if(Wt(j))return j.value;if(Hn(j))return yn(j);if(rt(j))return rn(j,p,2)})):rt(e)?i?d=()=>rn(e,p,2):d=()=>{if(!(p&&p.isUnmounted))return y&&y(),Pe(e,p,3,[A])}:d=be,i&&a){const j=d;d=()=>yn(j())}let y,A=j=>{y=H.onStop=()=>{rn(j,p,4)}};if(Si)return A=be,i?s&&Pe(i,p,3,[d(),v?[]:void 0,A]):d(),be;let E=v?[]:ha;const M=()=>{if(!!H.active)if(i){const j=H.run();(a||m||(v?j.some((Y,X)=>Pi(Y,E[X])):Pi(j,E)))&&(y&&y(),Pe(i,p,3,[j,E===ha?void 0:E,A]),E=j)}else H.run()};M.allowRecurse=!!i;let R;l==="sync"?R=M:l==="post"?R=()=>ae(M,p&&p.suspense):R=()=>fh(M);const H=new js(d,R);return i?s?M():E=H.run():l==="post"?ae(H.run.bind(H),p&&p.suspense):H.run(),()=>{H.stop(),p&&p.scope&&Fs(p.scope.effects,H)}}function xh(e,i,s){const a=this.proxy,l=qt(e)?e.includes(".")?bl(a,e):()=>a[e]:e.bind(a,a);let c;rt(i)?c=i:(c=i.handler,s=i);const h=Gt;Wn(this);const p=Qs(l,c.bind(a),s);return h?Wn(h):An(),p}function bl(e,i){const s=i.split(".");return()=>{let a=e;for(let l=0;l<s.length&&a;l++)a=a[s[l]];return a}}function yn(e,i){if(!Dt(e)||e.__v_skip||(i=i||new Set,i.has(e)))return e;if(i.add(e),Wt(e))yn(e.value,i);else if(ot(e))for(let s=0;s<e.length;s++)yn(e[s],i);else if(Ga(e)||Fn(e))e.forEach(s=>{yn(s,i)});else if(Xa(e))for(const s in e)yn(e[s],i);return e}function To(e){return rt(e)?{setup:e,name:e.name}:e}const so=e=>!!e.type.__asyncLoader,Pl=e=>e.type.__isKeepAlive;function bh(e,i){Ll(e,"a",i)}function Ph(e,i){Ll(e,"da",i)}function Ll(e,i,s=Gt){const a=e.__wdc||(e.__wdc=()=>{let l=s;for(;l;){if(l.isDeactivated)return;l=l.parent}return e()});if(Co(i,a,s),s){let l=s.parent;for(;l&&l.parent;)Pl(l.parent.vnode)&&Lh(a,i,s,l),l=l.parent}}function Lh(e,i,s,a){const l=Co(i,e,a,!0);Js(()=>{Fs(a[i],l)},s)}function Co(e,i,s=Gt,a=!1){if(s){const l=s[e]||(s[e]=[]),c=i.__weh||(i.__weh=(...h)=>{if(s.isUnmounted)return;Gn(),Wn(s);const p=Pe(i,s,e,h);return An(),Yn(),p});return a?l.unshift(c):l.push(c),c}}const Ve=e=>(i,s=Gt)=>(!Si||e==="sp")&&Co(e,i,s),Th=Ve("bm"),Xs=Ve("m"),Ch=Ve("bu"),Eh=Ve("u"),Sh=Ve("bum"),Js=Ve("um"),Mh=Ve("sp"),kh=Ve("rtg"),Ih=Ve("rtc");function Bh(e,i=Gt){Co("ec",e,i)}function We(e,i){const s=Ae;if(s===null)return e;const a=So(s)||s.proxy,l=e.dirs||(e.dirs=[]);for(let c=0;c<i.length;c++){let[h,p,d,m=St]=i[c];rt(h)&&(h={mounted:h,updated:h}),h.deep&&yn(p),l.push({dir:h,instance:a,value:p,oldValue:void 0,arg:d,modifiers:m})}return e}function pn(e,i,s,a){const l=e.dirs,c=i&&i.dirs;for(let h=0;h<l.length;h++){const p=l[h];c&&(p.oldValue=c[h].value);let d=p.dir[a];d&&(Gn(),Pe(d,s,8,[e.el,p,e,i]),Yn())}}const Tl="components";function Cl(e,i){return Rh(Tl,e,!0,i)||e}const Oh=Symbol();function Rh(e,i,s=!0,a=!1){const l=Ae||Gt;if(l){const c=l.type;if(e===Tl){const p=hf(c,!1);if(p&&(p===i||p===Oe(i)||p===wo(Oe(i))))return c}const h=fa(l[e]||c[e],i)||fa(l.appContext[e],i);return!h&&a?c:h}}function fa(e,i){return e&&(e[i]||e[Oe(i)]||e[wo(Oe(i))])}function tr(e,i,s,a){let l;const c=s&&s[a];if(ot(e)||qt(e)){l=new Array(e.length);for(let h=0,p=e.length;h<p;h++)l[h]=i(e[h],h,void 0,c&&c[h])}else if(typeof e=="number"){l=new Array(e);for(let h=0;h<e;h++)l[h]=i(h+1,h,void 0,c&&c[h])}else if(Dt(e))if(e[Symbol.iterator])l=Array.from(e,(h,p)=>i(h,p,void 0,c&&c[p]));else{const h=Object.keys(e);l=new Array(h.length);for(let p=0,d=h.length;p<d;p++){const m=h[p];l[p]=i(e[m],m,p,c&&c[p])}}else l=[];return s&&(s[a]=l),l}const bs=e=>e?Hl(e)?So(e)||e.proxy:bs(e.parent):null,fo=ne(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>bs(e.parent),$root:e=>bs(e.root),$emit:e=>e.emit,$options:e=>Sl(e),$forceUpdate:e=>e.f||(e.f=()=>gl(e.update)),$nextTick:e=>e.n||(e.n=Ys.bind(e.proxy)),$watch:e=>xh.bind(e)}),zh={get({_:e},i){const{ctx:s,setupState:a,data:l,props:c,accessCache:h,type:p,appContext:d}=e;let m;if(i[0]!=="$"){const E=h[i];if(E!==void 0)switch(E){case 1:return a[i];case 2:return l[i];case 4:return s[i];case 3:return c[i]}else{if(a!==St&&gt(a,i))return h[i]=1,a[i];if(l!==St&&gt(l,i))return h[i]=2,l[i];if((m=e.propsOptions[0])&&gt(m,i))return h[i]=3,c[i];if(s!==St&&gt(s,i))return h[i]=4,s[i];Ps&&(h[i]=0)}}const v=fo[i];let y,A;if(v)return i==="$attrs"&&he(e,"get",i),v(e);if((y=p.__cssModules)&&(y=y[i]))return y;if(s!==St&&gt(s,i))return h[i]=4,s[i];if(A=d.config.globalProperties,gt(A,i))return A[i]},set({_:e},i,s){const{data:a,setupState:l,ctx:c}=e;return l!==St&&gt(l,i)?(l[i]=s,!0):a!==St&&gt(a,i)?(a[i]=s,!0):gt(e.props,i)||i[0]==="$"&&i.slice(1)in e?!1:(c[i]=s,!0)},has({_:{data:e,setupState:i,accessCache:s,ctx:a,appContext:l,propsOptions:c}},h){let p;return!!s[h]||e!==St&&gt(e,h)||i!==St&&gt(i,h)||(p=c[0])&&gt(p,h)||gt(a,h)||gt(fo,h)||gt(l.config.globalProperties,h)},defineProperty(e,i,s){return s.get!=null?e._.accessCache[i]=0:gt(s,"value")&&this.set(e,i,s.value,null),Reflect.defineProperty(e,i,s)}};let Ps=!0;function Zh(e){const i=Sl(e),s=e.proxy,a=e.ctx;Ps=!1,i.beforeCreate&&da(i.beforeCreate,e,"bc");const{data:l,computed:c,methods:h,watch:p,provide:d,inject:m,created:v,beforeMount:y,mounted:A,beforeUpdate:E,updated:M,activated:R,deactivated:H,beforeDestroy:j,beforeUnmount:Y,destroyed:X,unmounted:dt,render:Ot,renderTracked:Ft,renderTriggered:ie,errorCaptured:oe,serverPrefetch:Ht,expose:Yt,inheritAttrs:ft,components:Lt,directives:le,filters:Rt}=i;if(m&&Nh(m,a,null,e.appContext.config.unwrapInjectedRef),h)for(const pt in h){const U=h[pt];rt(U)&&(a[pt]=U.bind(s))}if(l){const pt=l.call(s,s);Dt(pt)&&(e.data=me(pt))}if(Ps=!0,c)for(const pt in c){const U=c[pt],Kt=rt(U)?U.bind(s,s):rt(U.get)?U.get.bind(s,s):be,et=!rt(U)&&rt(U.set)?U.set.bind(s):be,ct=ee({get:Kt,set:et});Object.defineProperty(a,pt,{enumerable:!0,configurable:!0,get:()=>ct.value,set:It=>ct.value=It})}if(p)for(const pt in p)El(p[pt],a,s,pt);if(d){const pt=rt(d)?d.call(s):d;Reflect.ownKeys(pt).forEach(U=>{de(U,pt[U])})}v&&da(v,e,"c");function ut(pt,U){ot(U)?U.forEach(Kt=>pt(Kt.bind(s))):U&&pt(U.bind(s))}if(ut(Th,y),ut(Xs,A),ut(Ch,E),ut(Eh,M),ut(bh,R),ut(Ph,H),ut(Bh,oe),ut(Ih,Ft),ut(kh,ie),ut(Sh,Y),ut(Js,dt),ut(Mh,Ht),ot(Yt))if(Yt.length){const pt=e.exposed||(e.exposed={});Yt.forEach(U=>{Object.defineProperty(pt,U,{get:()=>s[U],set:Kt=>s[U]=Kt})})}else e.exposed||(e.exposed={});Ot&&e.render===be&&(e.render=Ot),ft!=null&&(e.inheritAttrs=ft),Lt&&(e.components=Lt),le&&(e.directives=le)}function Nh(e,i,s=be,a=!1){ot(e)&&(e=Ls(e));for(const l in e){const c=e[l];let h;Dt(c)?"default"in c?h=$t(c.from||l,c.default,!0):h=$t(c.from||l):h=$t(c),Wt(h)&&a?Object.defineProperty(i,l,{enumerable:!0,configurable:!0,get:()=>h.value,set:p=>h.value=p}):i[l]=h}}function da(e,i,s){Pe(ot(e)?e.map(a=>a.bind(i.proxy)):e.bind(i.proxy),i,s)}function El(e,i,s,a){const l=a.includes(".")?bl(s,a):()=>s[a];if(qt(e)){const c=i[e];rt(c)&&Un(l,c)}else if(rt(e))Un(l,e.bind(s));else if(Dt(e))if(ot(e))e.forEach(c=>El(c,i,s,a));else{const c=rt(e.handler)?e.handler.bind(s):i[e.handler];rt(c)&&Un(l,c,e)}}function Sl(e){const i=e.type,{mixins:s,extends:a}=i,{mixins:l,optionsCache:c,config:{optionMergeStrategies:h}}=e.appContext,p=c.get(i);let d;return p?d=p:!l.length&&!s&&!a?d=i:(d={},l.length&&l.forEach(m=>po(d,m,h,!0)),po(d,i,h)),c.set(i,d),d}function po(e,i,s,a=!1){const{mixins:l,extends:c}=i;c&&po(e,c,s,!0),l&&l.forEach(h=>po(e,h,s,!0));for(const h in i)if(!(a&&h==="expose")){const p=Dh[h]||s&&s[h];e[h]=p?p(e[h],i[h]):i[h]}return e}const Dh={data:pa,props:mn,emits:mn,methods:mn,computed:mn,beforeCreate:te,created:te,beforeMount:te,mounted:te,beforeUpdate:te,updated:te,beforeDestroy:te,beforeUnmount:te,destroyed:te,unmounted:te,activated:te,deactivated:te,errorCaptured:te,serverPrefetch:te,components:mn,directives:mn,watch:Hh,provide:pa,inject:Fh};function pa(e,i){return i?e?function(){return ne(rt(e)?e.call(this,this):e,rt(i)?i.call(this,this):i)}:i:e}function Fh(e,i){return mn(Ls(e),Ls(i))}function Ls(e){if(ot(e)){const i={};for(let s=0;s<e.length;s++)i[e[s]]=e[s];return i}return e}function te(e,i){return e?[...new Set([].concat(e,i))]:i}function mn(e,i){return e?ne(ne(Object.create(null),e),i):i}function Hh(e,i){if(!e)return i;if(!i)return e;const s=ne(Object.create(null),e);for(const a in i)s[a]=te(e[a],i[a]);return s}function Uh(e,i,s,a=!1){const l={},c={};uo(c,Eo,1),e.propsDefaults=Object.create(null),Ml(e,i,l,c);for(const h in e.propsOptions[0])h in l||(l[h]=void 0);s?e.props=a?l:ih(l):e.type.props?e.props=l:e.props=c,e.attrs=c}function jh(e,i,s,a){const{props:l,attrs:c,vnode:{patchFlag:h}}=e,p=Pt(l),[d]=e.propsOptions;let m=!1;if((a||h>0)&&!(h&16)){if(h&8){const v=e.vnode.dynamicProps;for(let y=0;y<v.length;y++){let A=v[y];if(Po(e.emitsOptions,A))continue;const E=i[A];if(d)if(gt(c,A))E!==c[A]&&(c[A]=E,m=!0);else{const M=Oe(A);l[M]=Ts(d,p,M,E,e,!1)}else E!==c[A]&&(c[A]=E,m=!0)}}}else{Ml(e,i,l,c)&&(m=!0);let v;for(const y in p)(!i||!gt(i,y)&&((v=$n(y))===y||!gt(i,v)))&&(d?s&&(s[y]!==void 0||s[v]!==void 0)&&(l[y]=Ts(d,p,y,void 0,e,!0)):delete l[y]);if(c!==p)for(const y in c)(!i||!gt(i,y)&&!0)&&(delete c[y],m=!0)}m&&Ke(e,"set","$attrs")}function Ml(e,i,s,a){const[l,c]=e.propsOptions;let h=!1,p;if(i)for(let d in i){if(io(d))continue;const m=i[d];let v;l&&gt(l,v=Oe(d))?!c||!c.includes(v)?s[v]=m:(p||(p={}))[v]=m:Po(e.emitsOptions,d)||(!(d in a)||m!==a[d])&&(a[d]=m,h=!0)}if(c){const d=Pt(s),m=p||St;for(let v=0;v<c.length;v++){const y=c[v];s[y]=Ts(l,d,y,m[y],e,!gt(m,y))}}return h}function Ts(e,i,s,a,l,c){const h=e[s];if(h!=null){const p=gt(h,"default");if(p&&a===void 0){const d=h.default;if(h.type!==Function&&rt(d)){const{propsDefaults:m}=l;s in m?a=m[s]:(Wn(l),a=m[s]=d.call(null,i),An())}else a=d}h[0]&&(c&&!p?a=!1:h[1]&&(a===""||a===$n(s))&&(a=!0))}return a}function kl(e,i,s=!1){const a=i.propsCache,l=a.get(e);if(l)return l;const c=e.props,h={},p=[];let d=!1;if(!rt(e)){const v=y=>{d=!0;const[A,E]=kl(y,i,!0);ne(h,A),E&&p.push(...E)};!s&&i.mixins.length&&i.mixins.forEach(v),e.extends&&v(e.extends),e.mixins&&e.mixins.forEach(v)}if(!c&&!d)return a.set(e,Dn),Dn;if(ot(c))for(let v=0;v<c.length;v++){const y=Oe(c[v]);_a(y)&&(h[y]=St)}else if(c)for(const v in c){const y=Oe(v);if(_a(y)){const A=c[v],E=h[y]=ot(A)||rt(A)?{type:A}:A;if(E){const M=va(Boolean,E.type),R=va(String,E.type);E[0]=M>-1,E[1]=R<0||M<R,(M>-1||gt(E,"default"))&&p.push(y)}}}const m=[h,p];return a.set(e,m),m}function _a(e){return e[0]!=="$"}function ma(e){const i=e&&e.toString().match(/^\s*function (\w+)/);return i?i[1]:e===null?"null":""}function ga(e,i){return ma(e)===ma(i)}function va(e,i){return ot(i)?i.findIndex(s=>ga(s,e)):rt(i)&&ga(i,e)?0:-1}const Il=e=>e[0]==="_"||e==="$stable",er=e=>ot(e)?e.map(Be):[Be(e)],Wh=(e,i,s)=>{if(i._n)return i;const a=on((...l)=>er(i(...l)),s);return a._c=!1,a},Bl=(e,i,s)=>{const a=e._ctx;for(const l in e){if(Il(l))continue;const c=e[l];if(rt(c))i[l]=Wh(l,c,a);else if(c!=null){const h=er(c);i[l]=()=>h}}},Ol=(e,i)=>{const s=er(i);e.slots.default=()=>s},Kh=(e,i)=>{if(e.vnode.shapeFlag&32){const s=i._;s?(e.slots=Pt(i),uo(i,"_",s)):Bl(i,e.slots={})}else e.slots={},i&&Ol(e,i);uo(e.slots,Eo,1)},Vh=(e,i,s)=>{const{vnode:a,slots:l}=e;let c=!0,h=St;if(a.shapeFlag&32){const p=i._;p?s&&p===1?c=!1:(ne(l,i),!s&&p===1&&delete l._):(c=!i.$stable,Bl(i,l)),h=i}else i&&(Ol(e,i),h={default:1});if(c)for(const p in l)!Il(p)&&!(p in h)&&delete l[p]};function Rl(){return{app:null,config:{isNativeTag:bc,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let qh=0;function $h(e,i){return function(a,l=null){rt(a)||(a=Object.assign({},a)),l!=null&&!Dt(l)&&(l=null);const c=Rl(),h=new Set;let p=!1;const d=c.app={_uid:qh++,_component:a,_props:l,_container:null,_context:c,_instance:null,version:df,get config(){return c.config},set config(m){},use(m,...v){return h.has(m)||(m&&rt(m.install)?(h.add(m),m.install(d,...v)):rt(m)&&(h.add(m),m(d,...v))),d},mixin(m){return c.mixins.includes(m)||c.mixins.push(m),d},component(m,v){return v?(c.components[m]=v,d):c.components[m]},directive(m,v){return v?(c.directives[m]=v,d):c.directives[m]},mount(m,v,y){if(!p){const A=kt(a,l);return A.appContext=c,v&&i?i(A,m):e(A,m,y),p=!0,d._container=m,m.__vue_app__=d,So(A.component)||A.component.proxy}},unmount(){p&&(e(null,d._container),delete d._container.__vue_app__)},provide(m,v){return c.provides[m]=v,d}};return d}}function Cs(e,i,s,a,l=!1){if(ot(e)){e.forEach((A,E)=>Cs(A,i&&(ot(i)?i[E]:i),s,a,l));return}if(so(a)&&!l)return;const c=a.shapeFlag&4?So(a.component)||a.component.proxy:a.el,h=l?null:c,{i:p,r:d}=e,m=i&&i.r,v=p.refs===St?p.refs={}:p.refs,y=p.setupState;if(m!=null&&m!==d&&(qt(m)?(v[m]=null,gt(y,m)&&(y[m]=null)):Wt(m)&&(m.value=null)),rt(d))rn(d,p,12,[h,v]);else{const A=qt(d),E=Wt(d);if(A||E){const M=()=>{if(e.f){const R=A?v[d]:d.value;l?ot(R)&&Fs(R,c):ot(R)?R.includes(c)||R.push(c):A?(v[d]=[c],gt(y,d)&&(y[d]=v[d])):(d.value=[c],e.k&&(v[e.k]=d.value))}else A?(v[d]=h,gt(y,d)&&(y[d]=h)):E&&(d.value=h,e.k&&(v[e.k]=h))};h?(M.id=-1,ae(M,s)):M()}}}const ae=wh;function Gh(e){return Yh(e)}function Yh(e,i){const s=Sc();s.__VUE__=!0;const{insert:a,remove:l,patchProp:c,createElement:h,createText:p,createComment:d,setText:m,setElementText:v,parentNode:y,nextSibling:A,setScopeId:E=be,cloneNode:M,insertStaticContent:R}=e,H=(_,w,T,B=null,k=null,C=null,N=!1,O=null,Z=!!w.dynamicChildren)=>{if(_===w)return;_&&!di(_,w)&&(B=W(_),At(_,k,C,!0),_=null),w.patchFlag===-2&&(Z=!1,w.dynamicChildren=null);const{type:I,ref:q,shapeFlag:K}=w;switch(I){case nr:j(_,w,T,B);break;case bn:Y(_,w,T,B);break;case ro:_==null&&X(w,T,B,N);break;case pe:le(_,w,T,B,k,C,N,O,Z);break;default:K&1?Ft(_,w,T,B,k,C,N,O,Z):K&6?Rt(_,w,T,B,k,C,N,O,Z):(K&64||K&128)&&I.process(_,w,T,B,k,C,N,O,Z,yt)}q!=null&&k&&Cs(q,_&&_.ref,C,w||_,!w)},j=(_,w,T,B)=>{if(_==null)a(w.el=p(w.children),T,B);else{const k=w.el=_.el;w.children!==_.children&&m(k,w.children)}},Y=(_,w,T,B)=>{_==null?a(w.el=d(w.children||""),T,B):w.el=_.el},X=(_,w,T,B)=>{[_.el,_.anchor]=R(_.children,w,T,B,_.el,_.anchor)},dt=({el:_,anchor:w},T,B)=>{let k;for(;_&&_!==w;)k=A(_),a(_,T,B),_=k;a(w,T,B)},Ot=({el:_,anchor:w})=>{let T;for(;_&&_!==w;)T=A(_),l(_),_=T;l(w)},Ft=(_,w,T,B,k,C,N,O,Z)=>{N=N||w.type==="svg",_==null?ie(w,T,B,k,C,N,O,Z):Yt(_,w,k,C,N,O,Z)},ie=(_,w,T,B,k,C,N,O)=>{let Z,I;const{type:q,props:K,shapeFlag:G,transition:tt,patchFlag:ht,dirs:bt}=_;if(_.el&&M!==void 0&&ht===-1)Z=_.el=M(_.el);else{if(Z=_.el=h(_.type,C,K&&K.is,K),G&8?v(Z,_.children):G&16&&Ht(_.children,Z,null,B,k,C&&q!=="foreignObject",N,O),bt&&pn(_,null,B,"created"),K){for(const Ct in K)Ct!=="value"&&!io(Ct)&&c(Z,Ct,null,K[Ct],C,_.children,B,k,D);"value"in K&&c(Z,"value",null,K.value),(I=K.onVnodeBeforeMount)&&ke(I,B,_)}oe(Z,_,_.scopeId,N,B)}bt&&pn(_,null,B,"beforeMount");const Tt=(!k||k&&!k.pendingBranch)&&tt&&!tt.persisted;Tt&&tt.beforeEnter(Z),a(Z,w,T),((I=K&&K.onVnodeMounted)||Tt||bt)&&ae(()=>{I&&ke(I,B,_),Tt&&tt.enter(Z),bt&&pn(_,null,B,"mounted")},k)},oe=(_,w,T,B,k)=>{if(T&&E(_,T),B)for(let C=0;C<B.length;C++)E(_,B[C]);if(k){let C=k.subTree;if(w===C){const N=k.vnode;oe(_,N,N.scopeId,N.slotScopeIds,k.parent)}}},Ht=(_,w,T,B,k,C,N,O,Z=0)=>{for(let I=Z;I<_.length;I++){const q=_[I]=O?en(_[I]):Be(_[I]);H(null,q,w,T,B,k,C,N,O)}},Yt=(_,w,T,B,k,C,N)=>{const O=w.el=_.el;let{patchFlag:Z,dynamicChildren:I,dirs:q}=w;Z|=_.patchFlag&16;const K=_.props||St,G=w.props||St;let tt;T&&_n(T,!1),(tt=G.onVnodeBeforeUpdate)&&ke(tt,T,w,_),q&&pn(w,_,T,"beforeUpdate"),T&&_n(T,!0);const ht=k&&w.type!=="foreignObject";if(I?ft(_.dynamicChildren,I,O,T,B,ht,C):N||Kt(_,w,O,null,T,B,ht,C,!1),Z>0){if(Z&16)Lt(O,w,K,G,T,B,k);else if(Z&2&&K.class!==G.class&&c(O,"class",null,G.class,k),Z&4&&c(O,"style",K.style,G.style,k),Z&8){const bt=w.dynamicProps;for(let Tt=0;Tt<bt.length;Tt++){const Ct=bt[Tt],se=K[Ct],$e=G[Ct];($e!==se||Ct==="value")&&c(O,Ct,se,$e,k,_.children,T,B,D)}}Z&1&&_.children!==w.children&&v(O,w.children)}else!N&&I==null&&Lt(O,w,K,G,T,B,k);((tt=G.onVnodeUpdated)||q)&&ae(()=>{tt&&ke(tt,T,w,_),q&&pn(w,_,T,"updated")},B)},ft=(_,w,T,B,k,C,N)=>{for(let O=0;O<w.length;O++){const Z=_[O],I=w[O],q=Z.el&&(Z.type===pe||!di(Z,I)||Z.shapeFlag&70)?y(Z.el):T;H(Z,I,q,null,B,k,C,N,!0)}},Lt=(_,w,T,B,k,C,N)=>{if(T!==B){for(const O in B){if(io(O))continue;const Z=B[O],I=T[O];Z!==I&&O!=="value"&&c(_,O,I,Z,N,w.children,k,C,D)}if(T!==St)for(const O in T)!io(O)&&!(O in B)&&c(_,O,T[O],null,N,w.children,k,C,D);"value"in B&&c(_,"value",T.value,B.value)}},le=(_,w,T,B,k,C,N,O,Z)=>{const I=w.el=_?_.el:p(""),q=w.anchor=_?_.anchor:p("");let{patchFlag:K,dynamicChildren:G,slotScopeIds:tt}=w;tt&&(O=O?O.concat(tt):tt),_==null?(a(I,T,B),a(q,T,B),Ht(w.children,T,q,k,C,N,O,Z)):K>0&&K&64&&G&&_.dynamicChildren?(ft(_.dynamicChildren,G,T,k,C,N,O),(w.key!=null||k&&w===k.subTree)&&zl(_,w,!0)):Kt(_,w,T,q,k,C,N,O,Z)},Rt=(_,w,T,B,k,C,N,O,Z)=>{w.slotScopeIds=O,_==null?w.shapeFlag&512?k.ctx.activate(w,T,B,N,Z):ge(w,T,B,k,C,N,Z):ut(_,w,Z)},ge=(_,w,T,B,k,C,N)=>{const O=_.component=rf(_,B,k);if(Pl(_)&&(O.ctx.renderer=yt),af(O),O.asyncDep){if(k&&k.registerDep(O,pt),!_.el){const Z=O.subTree=kt(bn);Y(null,Z,w,T)}return}pt(O,_,w,T,k,C,N)},ut=(_,w,T)=>{const B=w.component=_.component;if(gh(_,w,T))if(B.asyncDep&&!B.asyncResolved){U(B,w,T);return}else B.next=w,hh(B.update),B.update();else w.el=_.el,B.vnode=w},pt=(_,w,T,B,k,C,N)=>{const O=()=>{if(_.isMounted){let{next:q,bu:K,u:G,parent:tt,vnode:ht}=_,bt=q,Tt;_n(_,!1),q?(q.el=ht.el,U(_,q,N)):q=ht,K&&oo(K),(Tt=q.props&&q.props.onVnodeBeforeUpdate)&&ke(Tt,tt,q,ht),_n(_,!0);const Ct=us(_),se=_.subTree;_.subTree=Ct,H(se,Ct,y(se.el),W(se),_,k,C),q.el=Ct.el,bt===null&&vh(_,Ct.el),G&&ae(G,k),(Tt=q.props&&q.props.onVnodeUpdated)&&ae(()=>ke(Tt,tt,q,ht),k)}else{let q;const{el:K,props:G}=w,{bm:tt,m:ht,parent:bt}=_,Tt=so(w);if(_n(_,!1),tt&&oo(tt),!Tt&&(q=G&&G.onVnodeBeforeMount)&&ke(q,bt,w),_n(_,!0),K&&J){const Ct=()=>{_.subTree=us(_),J(K,_.subTree,_,k,null)};Tt?w.type.__asyncLoader().then(()=>!_.isUnmounted&&Ct()):Ct()}else{const Ct=_.subTree=us(_);H(null,Ct,T,B,_,k,C),w.el=Ct.el}if(ht&&ae(ht,k),!Tt&&(q=G&&G.onVnodeMounted)){const Ct=w;ae(()=>ke(q,bt,Ct),k)}(w.shapeFlag&256||bt&&so(bt.vnode)&&bt.vnode.shapeFlag&256)&&_.a&&ae(_.a,k),_.isMounted=!0,w=T=B=null}},Z=_.effect=new js(O,()=>gl(I),_.scope),I=_.update=()=>Z.run();I.id=_.uid,_n(_,!0),I()},U=(_,w,T)=>{w.component=_;const B=_.vnode.props;_.vnode=w,_.next=null,jh(_,w.props,B,T),Vh(_,w.children,T),Gn(),bo(void 0,_.update),Yn()},Kt=(_,w,T,B,k,C,N,O,Z=!1)=>{const I=_&&_.children,q=_?_.shapeFlag:0,K=w.children,{patchFlag:G,shapeFlag:tt}=w;if(G>0){if(G&128){ct(I,K,T,B,k,C,N,O,Z);return}else if(G&256){et(I,K,T,B,k,C,N,O,Z);return}}tt&8?(q&16&&D(I,k,C),K!==I&&v(T,K)):q&16?tt&16?ct(I,K,T,B,k,C,N,O,Z):D(I,k,C,!0):(q&8&&v(T,""),tt&16&&Ht(K,T,B,k,C,N,O,Z))},et=(_,w,T,B,k,C,N,O,Z)=>{_=_||Dn,w=w||Dn;const I=_.length,q=w.length,K=Math.min(I,q);let G;for(G=0;G<K;G++){const tt=w[G]=Z?en(w[G]):Be(w[G]);H(_[G],tt,T,null,k,C,N,O,Z)}I>q?D(_,k,C,!0,!1,K):Ht(w,T,B,k,C,N,O,Z,K)},ct=(_,w,T,B,k,C,N,O,Z)=>{let I=0;const q=w.length;let K=_.length-1,G=q-1;for(;I<=K&&I<=G;){const tt=_[I],ht=w[I]=Z?en(w[I]):Be(w[I]);if(di(tt,ht))H(tt,ht,T,null,k,C,N,O,Z);else break;I++}for(;I<=K&&I<=G;){const tt=_[K],ht=w[G]=Z?en(w[G]):Be(w[G]);if(di(tt,ht))H(tt,ht,T,null,k,C,N,O,Z);else break;K--,G--}if(I>K){if(I<=G){const tt=G+1,ht=tt<q?w[tt].el:B;for(;I<=G;)H(null,w[I]=Z?en(w[I]):Be(w[I]),T,ht,k,C,N,O,Z),I++}}else if(I>G)for(;I<=K;)At(_[I],k,C,!0),I++;else{const tt=I,ht=I,bt=new Map;for(I=ht;I<=G;I++){const Jt=w[I]=Z?en(w[I]):Be(w[I]);Jt.key!=null&&bt.set(Jt.key,I)}let Tt,Ct=0;const se=G-ht+1;let $e=!1,Jn=0;const Re=new Array(se);for(I=0;I<se;I++)Re[I]=0;for(I=tt;I<=K;I++){const Jt=_[I];if(Ct>=se){At(Jt,k,C,!0);continue}let Qt;if(Jt.key!=null)Qt=bt.get(Jt.key);else for(Tt=ht;Tt<=G;Tt++)if(Re[Tt-ht]===0&&di(Jt,w[Tt])){Qt=Tt;break}Qt===void 0?At(Jt,k,C,!0):(Re[Qt-ht]=I+1,Qt>=Jn?Jn=Qt:$e=!0,H(Jt,w[Qt],T,null,k,C,N,O,Z),Ct++)}const ti=$e?Qh(Re):Dn;for(Tt=ti.length-1,I=se-1;I>=0;I--){const Jt=ht+I,Qt=w[Jt],Bi=Jt+1<q?w[Jt+1].el:B;Re[I]===0?H(null,Qt,T,Bi,k,C,N,O,Z):$e&&(Tt<0||I!==ti[Tt]?It(Qt,T,Bi,2):Tt--)}}},It=(_,w,T,B,k=null)=>{const{el:C,type:N,transition:O,children:Z,shapeFlag:I}=_;if(I&6){It(_.component.subTree,w,T,B);return}if(I&128){_.suspense.move(w,T,B);return}if(I&64){N.move(_,w,T,yt);return}if(N===pe){a(C,w,T);for(let K=0;K<Z.length;K++)It(Z[K],w,T,B);a(_.anchor,w,T);return}if(N===ro){dt(_,w,T);return}if(B!==2&&I&1&&O)if(B===0)O.beforeEnter(C),a(C,w,T),ae(()=>O.enter(C),k);else{const{leave:K,delayLeave:G,afterLeave:tt}=O,ht=()=>a(C,w,T),bt=()=>{K(C,()=>{ht(),tt&&tt()})};G?G(C,ht,bt):bt()}else a(C,w,T)},At=(_,w,T,B=!1,k=!1)=>{const{type:C,props:N,ref:O,children:Z,dynamicChildren:I,shapeFlag:q,patchFlag:K,dirs:G}=_;if(O!=null&&Cs(O,null,T,_,!0),q&256){w.ctx.deactivate(_);return}const tt=q&1&&G,ht=!so(_);let bt;if(ht&&(bt=N&&N.onVnodeBeforeUnmount)&&ke(bt,w,_),q&6)F(_.component,T,B);else{if(q&128){_.suspense.unmount(T,B);return}tt&&pn(_,null,w,"beforeUnmount"),q&64?_.type.remove(_,w,T,k,yt,B):I&&(C!==pe||K>0&&K&64)?D(I,w,T,!1,!0):(C===pe&&K&384||!k&&q&16)&&D(Z,w,T),B&&xt(_)}(ht&&(bt=N&&N.onVnodeUnmounted)||tt)&&ae(()=>{bt&&ke(bt,w,_),tt&&pn(_,null,w,"unmounted")},T)},xt=_=>{const{type:w,el:T,anchor:B,transition:k}=_;if(w===pe){P(T,B);return}if(w===ro){Ot(_);return}const C=()=>{l(T),k&&!k.persisted&&k.afterLeave&&k.afterLeave()};if(_.shapeFlag&1&&k&&!k.persisted){const{leave:N,delayLeave:O}=k,Z=()=>N(T,C);O?O(_.el,C,Z):Z()}else C()},P=(_,w)=>{let T;for(;_!==w;)T=A(_),l(_),_=T;l(w)},F=(_,w,T)=>{const{bum:B,scope:k,update:C,subTree:N,um:O}=_;B&&oo(B),k.stop(),C&&(C.active=!1,At(N,_,w,T)),O&&ae(O,w),ae(()=>{_.isUnmounted=!0},w),w&&w.pendingBranch&&!w.isUnmounted&&_.asyncDep&&!_.asyncResolved&&_.suspenseId===w.pendingId&&(w.deps--,w.deps===0&&w.resolve())},D=(_,w,T,B=!1,k=!1,C=0)=>{for(let N=C;N<_.length;N++)At(_[N],w,T,B,k)},W=_=>_.shapeFlag&6?W(_.component.subTree):_.shapeFlag&128?_.suspense.next():A(_.anchor||_.el),vt=(_,w,T)=>{_==null?w._vnode&&At(w._vnode,null,null,!0):H(w._vnode||null,_,w,null,null,null,T),wl(),w._vnode=_},yt={p:H,um:At,m:It,r:xt,mt:ge,mc:Ht,pc:Kt,pbc:ft,n:W,o:e};let nt,J;return i&&([nt,J]=i(yt)),{render:vt,hydrate:nt,createApp:$h(vt,nt)}}function _n({effect:e,update:i},s){e.allowRecurse=i.allowRecurse=s}function zl(e,i,s=!1){const a=e.children,l=i.children;if(ot(a)&&ot(l))for(let c=0;c<a.length;c++){const h=a[c];let p=l[c];p.shapeFlag&1&&!p.dynamicChildren&&((p.patchFlag<=0||p.patchFlag===32)&&(p=l[c]=en(l[c]),p.el=h.el),s||zl(h,p))}}function Qh(e){const i=e.slice(),s=[0];let a,l,c,h,p;const d=e.length;for(a=0;a<d;a++){const m=e[a];if(m!==0){if(l=s[s.length-1],e[l]<m){i[a]=l,s.push(a);continue}for(c=0,h=s.length-1;c<h;)p=c+h>>1,e[s[p]]<m?c=p+1:h=p;m<e[s[c]]&&(c>0&&(i[a]=s[c-1]),s[c]=a)}}for(c=s.length,h=s[c-1];c-- >0;)s[c]=h,h=i[h];return s}const Xh=e=>e.__isTeleport,pe=Symbol(void 0),nr=Symbol(void 0),bn=Symbol(void 0),ro=Symbol(void 0),wi=[];let xe=null;function Bt(e=!1){wi.push(xe=e?null:[])}function Jh(){wi.pop(),xe=wi[wi.length-1]||null}let Ei=1;function ya(e){Ei+=e}function Zl(e){return e.dynamicChildren=Ei>0?xe||Dn:null,Jh(),Ei>0&&xe&&xe.push(e),e}function Zt(e,i,s,a,l,c){return Zl(x(e,i,s,a,l,c,!0))}function Nl(e,i,s,a,l){return Zl(kt(e,i,s,a,l,!0))}function Es(e){return e?e.__v_isVNode===!0:!1}function di(e,i){return e.type===i.type&&e.key===i.key}const Eo="__vInternal",Dl=({key:e})=>e!=null?e:null,ao=({ref:e,ref_key:i,ref_for:s})=>e!=null?qt(e)||Wt(e)||rt(e)?{i:Ae,r:e,k:i,f:!!s}:e:null;function x(e,i=null,s=null,a=0,l=null,c=e===pe?0:1,h=!1,p=!1){const d={__v_isVNode:!0,__v_skip:!0,type:e,props:i,key:i&&Dl(i),ref:i&&ao(i),scopeId:Lo,slotScopeIds:null,children:s,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:c,patchFlag:a,dynamicProps:l,dynamicChildren:null,appContext:null};return p?(ir(d,s),c&128&&e.normalize(d)):s&&(d.shapeFlag|=qt(s)?8:16),Ei>0&&!h&&xe&&(d.patchFlag>0||c&6)&&d.patchFlag!==32&&xe.push(d),d}const kt=tf;function tf(e,i=null,s=null,a=0,l=null,c=!1){if((!e||e===Oh)&&(e=bn),Es(e)){const p=jn(e,i,!0);return s&&ir(p,s),Ei>0&&!c&&xe&&(p.shapeFlag&6?xe[xe.indexOf(e)]=p:xe.push(p)),p.patchFlag|=-2,p}if(ff(e)&&(e=e.__vccOpts),i){i=ef(i);let{class:p,style:d}=i;p&&!qt(p)&&(i.class=_e(p)),Dt(d)&&(cl(d)&&!ot(d)&&(d=ne({},d)),i.style=Ns(d))}const h=qt(e)?1:yh(e)?128:Xh(e)?64:Dt(e)?4:rt(e)?2:0;return x(e,i,s,a,l,h,c,!0)}function ef(e){return e?cl(e)||Eo in e?ne({},e):e:null}function jn(e,i,s=!1){const{props:a,ref:l,patchFlag:c,children:h}=e,p=i?nf(a||{},i):a;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:p,key:p&&Dl(p),ref:i&&i.ref?s&&l?ot(l)?l.concat(ao(i)):[l,ao(i)]:ao(i):l,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:h,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:i&&e.type!==pe?c===-1?16:c|16:c,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&jn(e.ssContent),ssFallback:e.ssFallback&&jn(e.ssFallback),el:e.el,anchor:e.anchor}}function Vt(e=" ",i=0){return kt(nr,null,e,i)}function Fl(e,i){const s=kt(ro,null,e);return s.staticCount=i,s}function je(e="",i=!1){return i?(Bt(),Nl(bn,null,e)):kt(bn,null,e)}function Be(e){return e==null||typeof e=="boolean"?kt(bn):ot(e)?kt(pe,null,e.slice()):typeof e=="object"?en(e):kt(nr,null,String(e))}function en(e){return e.el===null||e.memo?e:jn(e)}function ir(e,i){let s=0;const{shapeFlag:a}=e;if(i==null)i=null;else if(ot(i))s=16;else if(typeof i=="object")if(a&65){const l=i.default;l&&(l._c&&(l._d=!1),ir(e,l()),l._c&&(l._d=!0));return}else{s=32;const l=i._;!l&&!(Eo in i)?i._ctx=Ae:l===3&&Ae&&(Ae.slots._===1?i._=1:(i._=2,e.patchFlag|=1024))}else rt(i)?(i={default:i,_ctx:Ae},s=32):(i=String(i),a&64?(s=16,i=[Vt(i)]):s=8);e.children=i,e.shapeFlag|=s}function nf(...e){const i={};for(let s=0;s<e.length;s++){const a=e[s];for(const l in a)if(l==="class")i.class!==a.class&&(i.class=_e([i.class,a.class]));else if(l==="style")i.style=Ns([i.style,a.style]);else if(vo(l)){const c=i[l],h=a[l];h&&c!==h&&!(ot(c)&&c.includes(h))&&(i[l]=c?[].concat(c,h):h)}else l!==""&&(i[l]=a[l])}return i}function ke(e,i,s,a=null){Pe(e,i,7,[s,a])}const of=Rl();let sf=0;function rf(e,i,s){const a=e.type,l=(i?i.appContext:e.appContext)||of,c={uid:sf++,vnode:e,type:a,parent:i,appContext:l,root:null,next:null,subTree:null,effect:null,update:null,scope:new Mc(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:i?i.provides:Object.create(l.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:kl(a,l),emitsOptions:xl(a,l),emit:null,emitted:null,propsDefaults:St,inheritAttrs:a.inheritAttrs,ctx:St,data:St,props:St,attrs:St,slots:St,refs:St,setupState:St,setupContext:null,suspense:s,suspenseId:s?s.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return c.ctx={_:c},c.root=i?i.root:c,c.emit=ph.bind(null,c),e.ce&&e.ce(c),c}let Gt=null;const Wn=e=>{Gt=e,e.scope.on()},An=()=>{Gt&&Gt.scope.off(),Gt=null};function Hl(e){return e.vnode.shapeFlag&4}let Si=!1;function af(e,i=!1){Si=i;const{props:s,children:a}=e.vnode,l=Hl(e);Uh(e,s,l,i),Kh(e,a);const c=l?lf(e,i):void 0;return Si=!1,c}function lf(e,i){const s=e.type;e.accessCache=Object.create(null),e.proxy=hl(new Proxy(e.ctx,zh));const{setup:a}=s;if(a){const l=e.setupContext=a.length>1?cf(e):null;Wn(e),Gn();const c=rn(a,e,0,[e.props,l]);if(Yn(),An(),Ya(c)){if(c.then(An,An),i)return c.then(h=>{wa(e,h,i)}).catch(h=>{xo(h,e,0)});e.asyncDep=c}else wa(e,c,i)}else Ul(e,i)}function wa(e,i,s){rt(i)?e.type.__ssrInlineRender?e.ssrRender=i:e.render=i:Dt(i)&&(e.setupState=_l(i)),Ul(e,s)}let Aa;function Ul(e,i,s){const a=e.type;if(!e.render){if(!i&&Aa&&!a.render){const l=a.template;if(l){const{isCustomElement:c,compilerOptions:h}=e.appContext.config,{delimiters:p,compilerOptions:d}=a,m=ne(ne({isCustomElement:c,delimiters:p},h),d);a.render=Aa(l,m)}}e.render=a.render||be}Wn(e),Gn(),Zh(e),Yn(),An()}function uf(e){return new Proxy(e.attrs,{get(i,s){return he(e,"get","$attrs"),i[s]}})}function cf(e){const i=a=>{e.exposed=a||{}};let s;return{get attrs(){return s||(s=uf(e))},slots:e.slots,emit:e.emit,expose:i}}function So(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(_l(hl(e.exposed)),{get(i,s){if(s in i)return i[s];if(s in fo)return fo[s](e)}}))}function hf(e,i=!0){return rt(e)?e.displayName||e.name:e.name||i&&e.__name}function ff(e){return rt(e)&&"__vccOpts"in e}const ee=(e,i)=>lh(e,i,Si);function ce(e,i,s){const a=arguments.length;return a===2?Dt(i)&&!ot(i)?Es(i)?kt(e,null,[i]):kt(e,i):kt(e,null,i):(a>3?s=Array.prototype.slice.call(arguments,2):a===3&&Es(s)&&(s=[s]),kt(e,i,s))}const df="3.2.37",pf="http://www.w3.org/2000/svg",gn=typeof document<"u"?document:null,xa=gn&&gn.createElement("template"),_f={insert:(e,i,s)=>{i.insertBefore(e,s||null)},remove:e=>{const i=e.parentNode;i&&i.removeChild(e)},createElement:(e,i,s,a)=>{const l=i?gn.createElementNS(pf,e):gn.createElement(e,s?{is:s}:void 0);return e==="select"&&a&&a.multiple!=null&&l.setAttribute("multiple",a.multiple),l},createText:e=>gn.createTextNode(e),createComment:e=>gn.createComment(e),setText:(e,i)=>{e.nodeValue=i},setElementText:(e,i)=>{e.textContent=i},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>gn.querySelector(e),setScopeId(e,i){e.setAttribute(i,"")},cloneNode(e){const i=e.cloneNode(!0);return"_value"in e&&(i._value=e._value),i},insertStaticContent(e,i,s,a,l,c){const h=s?s.previousSibling:i.lastChild;if(l&&(l===c||l.nextSibling))for(;i.insertBefore(l.cloneNode(!0),s),!(l===c||!(l=l.nextSibling)););else{xa.innerHTML=a?`<svg>${e}</svg>`:e;const p=xa.content;if(a){const d=p.firstChild;for(;d.firstChild;)p.appendChild(d.firstChild);p.removeChild(d)}i.insertBefore(p,s)}return[h?h.nextSibling:i.firstChild,s?s.previousSibling:i.lastChild]}};function mf(e,i,s){const a=e._vtc;a&&(i=(i?[i,...a]:[...a]).join(" ")),i==null?e.removeAttribute("class"):s?e.setAttribute("class",i):e.className=i}function gf(e,i,s){const a=e.style,l=qt(s);if(s&&!l){for(const c in s)Ss(a,c,s[c]);if(i&&!qt(i))for(const c in i)s[c]==null&&Ss(a,c,"")}else{const c=a.display;l?i!==s&&(a.cssText=s):i&&e.removeAttribute("style"),"_vod"in e&&(a.display=c)}}const ba=/\s*!important$/;function Ss(e,i,s){if(ot(s))s.forEach(a=>Ss(e,i,a));else if(s==null&&(s=""),i.startsWith("--"))e.setProperty(i,s);else{const a=vf(e,i);ba.test(s)?e.setProperty($n(a),s.replace(ba,""),"important"):e[a]=s}}const Pa=["Webkit","Moz","ms"],cs={};function vf(e,i){const s=cs[i];if(s)return s;let a=Oe(i);if(a!=="filter"&&a in e)return cs[i]=a;a=wo(a);for(let l=0;l<Pa.length;l++){const c=Pa[l]+a;if(c in e)return cs[i]=c}return i}const La="http://www.w3.org/1999/xlink";function yf(e,i,s,a,l){if(a&&i.startsWith("xlink:"))s==null?e.removeAttributeNS(La,i.slice(6,i.length)):e.setAttributeNS(La,i,s);else{const c=vc(i);s==null||c&&!qa(s)?e.removeAttribute(i):e.setAttribute(i,c?"":s)}}function wf(e,i,s,a,l,c,h){if(i==="innerHTML"||i==="textContent"){a&&h(a,l,c),e[i]=s==null?"":s;return}if(i==="value"&&e.tagName!=="PROGRESS"&&!e.tagName.includes("-")){e._value=s;const d=s==null?"":s;(e.value!==d||e.tagName==="OPTION")&&(e.value=d),s==null&&e.removeAttribute(i);return}let p=!1;if(s===""||s==null){const d=typeof e[i];d==="boolean"?s=qa(s):s==null&&d==="string"?(s="",p=!0):d==="number"&&(s=0,p=!0)}try{e[i]=s}catch{}p&&e.removeAttribute(i)}const[jl,Af]=(()=>{let e=Date.now,i=!1;if(typeof window<"u"){Date.now()>document.createEvent("Event").timeStamp&&(e=performance.now.bind(performance));const s=navigator.userAgent.match(/firefox\/(\d+)/i);i=!!(s&&Number(s[1])<=53)}return[e,i]})();let Ms=0;const xf=Promise.resolve(),bf=()=>{Ms=0},Pf=()=>Ms||(xf.then(bf),Ms=jl());function vn(e,i,s,a){e.addEventListener(i,s,a)}function Lf(e,i,s,a){e.removeEventListener(i,s,a)}function Tf(e,i,s,a,l=null){const c=e._vei||(e._vei={}),h=c[i];if(a&&h)h.value=a;else{const[p,d]=Cf(i);if(a){const m=c[i]=Ef(a,l);vn(e,p,m,d)}else h&&(Lf(e,p,h,d),c[i]=void 0)}}const Ta=/(?:Once|Passive|Capture)$/;function Cf(e){let i;if(Ta.test(e)){i={};let s;for(;s=e.match(Ta);)e=e.slice(0,e.length-s[0].length),i[s[0].toLowerCase()]=!0}return[$n(e.slice(2)),i]}function Ef(e,i){const s=a=>{const l=a.timeStamp||jl();(Af||l>=s.attached-1)&&Pe(Sf(a,s.value),i,5,[a])};return s.value=e,s.attached=Pf(),s}function Sf(e,i){if(ot(i)){const s=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{s.call(e),e._stopped=!0},i.map(a=>l=>!l._stopped&&a&&a(l))}else return i}const Ca=/^on[a-z]/,Mf=(e,i,s,a,l=!1,c,h,p,d)=>{i==="class"?mf(e,a,l):i==="style"?gf(e,s,a):vo(i)?Ds(i)||Tf(e,i,s,a,h):(i[0]==="."?(i=i.slice(1),!0):i[0]==="^"?(i=i.slice(1),!1):kf(e,i,a,l))?wf(e,i,a,c,h,p,d):(i==="true-value"?e._trueValue=a:i==="false-value"&&(e._falseValue=a),yf(e,i,a,l))};function kf(e,i,s,a){return a?!!(i==="innerHTML"||i==="textContent"||i in e&&Ca.test(i)&&rt(s)):i==="spellcheck"||i==="draggable"||i==="translate"||i==="form"||i==="list"&&e.tagName==="INPUT"||i==="type"&&e.tagName==="TEXTAREA"||Ca.test(i)&&qt(s)?!1:i in e}const _o=e=>{const i=e.props["onUpdate:modelValue"]||!1;return ot(i)?s=>oo(i,s):i};function If(e){e.target.composing=!0}function Ea(e){const i=e.target;i.composing&&(i.composing=!1,i.dispatchEvent(new Event("input")))}const Wl={created(e,{modifiers:{lazy:i,trim:s,number:a}},l){e._assign=_o(l);const c=a||l.props&&l.props.type==="number";vn(e,i?"change":"input",h=>{if(h.target.composing)return;let p=e.value;s&&(p=p.trim()),c&&(p=_s(p)),e._assign(p)}),s&&vn(e,"change",()=>{e.value=e.value.trim()}),i||(vn(e,"compositionstart",If),vn(e,"compositionend",Ea),vn(e,"change",Ea))},mounted(e,{value:i}){e.value=i==null?"":i},beforeUpdate(e,{value:i,modifiers:{lazy:s,trim:a,number:l}},c){if(e._assign=_o(c),e.composing||document.activeElement===e&&e.type!=="range"&&(s||a&&e.value.trim()===i||(l||e.type==="number")&&_s(e.value)===i))return;const h=i==null?"":i;e.value!==h&&(e.value=h)}},ks={created(e,{value:i},s){e.checked=lo(i,s.props.value),e._assign=_o(s),vn(e,"change",()=>{e._assign(Bf(e))})},beforeUpdate(e,{value:i,oldValue:s},a){e._assign=_o(a),i!==s&&(e.checked=lo(i,a.props.value))}};function Bf(e){return"_value"in e?e._value:e.value}const Of=["ctrl","shift","alt","meta"],Rf={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,i)=>Of.some(s=>e[`${s}Key`]&&!i.includes(s))},Kn=(e,i)=>(s,...a)=>{for(let l=0;l<i.length;l++){const c=Rf[i[l]];if(c&&c(s,i))return}return e(s,...a)},mo={beforeMount(e,{value:i},{transition:s}){e._vod=e.style.display==="none"?"":e.style.display,s&&i?s.beforeEnter(e):pi(e,i)},mounted(e,{value:i},{transition:s}){s&&i&&s.enter(e)},updated(e,{value:i,oldValue:s},{transition:a}){!i!=!s&&(a?i?(a.beforeEnter(e),pi(e,!0),a.enter(e)):a.leave(e,()=>{pi(e,!1)}):pi(e,i))},beforeUnmount(e,{value:i}){pi(e,i)}};function pi(e,i){e.style.display=i?e._vod:"none"}const zf=ne({patchProp:Mf},_f);let Sa;function Zf(){return Sa||(Sa=Gh(zf))}const Nf=(...e)=>{const i=Zf().createApp(...e),{mount:s}=i;return i.mount=a=>{const l=Df(a);if(!l)return;const c=i._component;!rt(c)&&!c.render&&!c.template&&(c.template=l.innerHTML),l.innerHTML="";const h=s(l,!1,l instanceof SVGElement);return l instanceof Element&&(l.removeAttribute("v-cloak"),l.setAttribute("data-v-app","")),h},i};function Df(e){return qt(e)?document.querySelector(e):e}const qe=(e,i)=>{const s=e.__vccOpts||e;for(const[a,l]of i)s[a]=l;return s},Ff=e=>(Pn("data-v-a4abd224"),e=e(),Ln(),e),Hf={id:"app"},Uf={class:"sticky top-0 z-10 h-[88px] flex justify-between items-center bg-white shadow-md"},jf=Ff(()=>x("img",{src:"",alt:""},null,-1)),Wf={__name:"App",setup(e){return(i,s)=>{const a=Cl("router-view");return Bt(),Zt("div",Hf,[x("header",Uf,[x("h1",{class:"text-3xl ml-[4%] hover:cursor-pointer",onClick:s[0]||(s[0]=l=>i.$router.push("./"))},"nocode-AR"),jf]),kt(a)])}}},Kf=qe(Wf,[["__scopeId","data-v-a4abd224"]]);/*!
  * vue-router v4.1.3
  * (c) 2022 Eduardo San Martin Morote
  * @license MIT
  */const Nn=typeof window<"u";function Vf(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const Et=Object.assign;function hs(e,i){const s={};for(const a in i){const l=i[a];s[a]=Le(l)?l.map(e):e(l)}return s}const Ai=()=>{},Le=Array.isArray,qf=/\/$/,$f=e=>e.replace(qf,"");function fs(e,i,s="/"){let a,l={},c="",h="";const p=i.indexOf("#");let d=i.indexOf("?");return p<d&&p>=0&&(d=-1),d>-1&&(a=i.slice(0,d),c=i.slice(d+1,p>-1?p:i.length),l=e(c)),p>-1&&(a=a||i.slice(0,p),h=i.slice(p,i.length)),a=Xf(a!=null?a:i,s),{fullPath:a+(c&&"?")+c+h,path:a,query:l,hash:h}}function Gf(e,i){const s=i.query?e(i.query):"";return i.path+(s&&"?")+s+(i.hash||"")}function Ma(e,i){return!i||!e.toLowerCase().startsWith(i.toLowerCase())?e:e.slice(i.length)||"/"}function Yf(e,i,s){const a=i.matched.length-1,l=s.matched.length-1;return a>-1&&a===l&&Vn(i.matched[a],s.matched[l])&&Kl(i.params,s.params)&&e(i.query)===e(s.query)&&i.hash===s.hash}function Vn(e,i){return(e.aliasOf||e)===(i.aliasOf||i)}function Kl(e,i){if(Object.keys(e).length!==Object.keys(i).length)return!1;for(const s in e)if(!Qf(e[s],i[s]))return!1;return!0}function Qf(e,i){return Le(e)?ka(e,i):Le(i)?ka(i,e):e===i}function ka(e,i){return Le(i)?e.length===i.length&&e.every((s,a)=>s===i[a]):e.length===1&&e[0]===i}function Xf(e,i){if(e.startsWith("/"))return e;if(!e)return i;const s=i.split("/"),a=e.split("/");let l=s.length-1,c,h;for(c=0;c<a.length;c++)if(h=a[c],h!==".")if(h==="..")l>1&&l--;else break;return s.slice(0,l).join("/")+"/"+a.slice(c-(c===a.length?1:0)).join("/")}var Mi;(function(e){e.pop="pop",e.push="push"})(Mi||(Mi={}));var xi;(function(e){e.back="back",e.forward="forward",e.unknown=""})(xi||(xi={}));function Jf(e){if(!e)if(Nn){const i=document.querySelector("base");e=i&&i.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),$f(e)}const td=/^[^#]+#/;function ed(e,i){return e.replace(td,"#")+i}function nd(e,i){const s=document.documentElement.getBoundingClientRect(),a=e.getBoundingClientRect();return{behavior:i.behavior,left:a.left-s.left-(i.left||0),top:a.top-s.top-(i.top||0)}}const Mo=()=>({left:window.pageXOffset,top:window.pageYOffset});function id(e){let i;if("el"in e){const s=e.el,a=typeof s=="string"&&s.startsWith("#"),l=typeof s=="string"?a?document.getElementById(s.slice(1)):document.querySelector(s):s;if(!l)return;i=nd(l,e)}else i=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(i):window.scrollTo(i.left!=null?i.left:window.pageXOffset,i.top!=null?i.top:window.pageYOffset)}function Ia(e,i){return(history.state?history.state.position-i:-1)+e}const Is=new Map;function od(e,i){Is.set(e,i)}function sd(e){const i=Is.get(e);return Is.delete(e),i}let rd=()=>location.protocol+"//"+location.host;function Vl(e,i){const{pathname:s,search:a,hash:l}=i,c=e.indexOf("#");if(c>-1){let p=l.includes(e.slice(c))?e.slice(c).length:1,d=l.slice(p);return d[0]!=="/"&&(d="/"+d),Ma(d,"")}return Ma(s,e)+a+l}function ad(e,i,s,a){let l=[],c=[],h=null;const p=({state:A})=>{const E=Vl(e,location),M=s.value,R=i.value;let H=0;if(A){if(s.value=E,i.value=A,h&&h===M){h=null;return}H=R?A.position-R.position:0}else a(E);l.forEach(j=>{j(s.value,M,{delta:H,type:Mi.pop,direction:H?H>0?xi.forward:xi.back:xi.unknown})})};function d(){h=s.value}function m(A){l.push(A);const E=()=>{const M=l.indexOf(A);M>-1&&l.splice(M,1)};return c.push(E),E}function v(){const{history:A}=window;!A.state||A.replaceState(Et({},A.state,{scroll:Mo()}),"")}function y(){for(const A of c)A();c=[],window.removeEventListener("popstate",p),window.removeEventListener("beforeunload",v)}return window.addEventListener("popstate",p),window.addEventListener("beforeunload",v),{pauseListeners:d,listen:m,destroy:y}}function Ba(e,i,s,a=!1,l=!1){return{back:e,current:i,forward:s,replaced:a,position:window.history.length,scroll:l?Mo():null}}function ld(e){const{history:i,location:s}=window,a={value:Vl(e,s)},l={value:i.state};l.value||c(a.value,{back:null,current:a.value,forward:null,position:i.length-1,replaced:!0,scroll:null},!0);function c(d,m,v){const y=e.indexOf("#"),A=y>-1?(s.host&&document.querySelector("base")?e:e.slice(y))+d:rd()+e+d;try{i[v?"replaceState":"pushState"](m,"",A),l.value=m}catch(E){console.error(E),s[v?"replace":"assign"](A)}}function h(d,m){const v=Et({},i.state,Ba(l.value.back,d,l.value.forward,!0),m,{position:l.value.position});c(d,v,!0),a.value=d}function p(d,m){const v=Et({},l.value,i.state,{forward:d,scroll:Mo()});c(v.current,v,!0);const y=Et({},Ba(a.value,d,null),{position:v.position+1},m);c(d,y,!1),a.value=d}return{location:a,state:l,push:p,replace:h}}function ud(e){e=Jf(e);const i=ld(e),s=ad(e,i.state,i.location,i.replace);function a(c,h=!0){h||s.pauseListeners(),history.go(c)}const l=Et({location:"",base:e,go:a,createHref:ed.bind(null,e)},i,s);return Object.defineProperty(l,"location",{enumerable:!0,get:()=>i.location.value}),Object.defineProperty(l,"state",{enumerable:!0,get:()=>i.state.value}),l}function cd(e){return typeof e=="string"||e&&typeof e=="object"}function ql(e){return typeof e=="string"||typeof e=="symbol"}const Je={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},$l=Symbol("");var Oa;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(Oa||(Oa={}));function qn(e,i){return Et(new Error,{type:e,[$l]:!0},i)}function He(e,i){return e instanceof Error&&$l in e&&(i==null||!!(e.type&i))}const Ra="[^/]+?",hd={sensitive:!1,strict:!1,start:!0,end:!0},fd=/[.+*?^${}()[\]/\\]/g;function dd(e,i){const s=Et({},hd,i),a=[];let l=s.start?"^":"";const c=[];for(const m of e){const v=m.length?[]:[90];s.strict&&!m.length&&(l+="/");for(let y=0;y<m.length;y++){const A=m[y];let E=40+(s.sensitive?.25:0);if(A.type===0)y||(l+="/"),l+=A.value.replace(fd,"\\$&"),E+=40;else if(A.type===1){const{value:M,repeatable:R,optional:H,regexp:j}=A;c.push({name:M,repeatable:R,optional:H});const Y=j||Ra;if(Y!==Ra){E+=10;try{new RegExp(`(${Y})`)}catch(dt){throw new Error(`Invalid custom RegExp for param "${M}" (${Y}): `+dt.message)}}let X=R?`((?:${Y})(?:/(?:${Y}))*)`:`(${Y})`;y||(X=H&&m.length<2?`(?:/${X})`:"/"+X),H&&(X+="?"),l+=X,E+=20,H&&(E+=-8),R&&(E+=-20),Y===".*"&&(E+=-50)}v.push(E)}a.push(v)}if(s.strict&&s.end){const m=a.length-1;a[m][a[m].length-1]+=.7000000000000001}s.strict||(l+="/?"),s.end?l+="$":s.strict&&(l+="(?:/|$)");const h=new RegExp(l,s.sensitive?"":"i");function p(m){const v=m.match(h),y={};if(!v)return null;for(let A=1;A<v.length;A++){const E=v[A]||"",M=c[A-1];y[M.name]=E&&M.repeatable?E.split("/"):E}return y}function d(m){let v="",y=!1;for(const A of e){(!y||!v.endsWith("/"))&&(v+="/"),y=!1;for(const E of A)if(E.type===0)v+=E.value;else if(E.type===1){const{value:M,repeatable:R,optional:H}=E,j=M in m?m[M]:"";if(Le(j)&&!R)throw new Error(`Provided param "${M}" is an array but it is not repeatable (* or + modifiers)`);const Y=Le(j)?j.join("/"):j;if(!Y)if(H)A.length<2&&(v.endsWith("/")?v=v.slice(0,-1):y=!0);else throw new Error(`Missing required param "${M}"`);v+=Y}}return v||"/"}return{re:h,score:a,keys:c,parse:p,stringify:d}}function pd(e,i){let s=0;for(;s<e.length&&s<i.length;){const a=i[s]-e[s];if(a)return a;s++}return e.length<i.length?e.length===1&&e[0]===40+40?-1:1:e.length>i.length?i.length===1&&i[0]===40+40?1:-1:0}function _d(e,i){let s=0;const a=e.score,l=i.score;for(;s<a.length&&s<l.length;){const c=pd(a[s],l[s]);if(c)return c;s++}if(Math.abs(l.length-a.length)===1){if(za(a))return 1;if(za(l))return-1}return l.length-a.length}function za(e){const i=e[e.length-1];return e.length>0&&i[i.length-1]<0}const md={type:0,value:""},gd=/[a-zA-Z0-9_]/;function vd(e){if(!e)return[[]];if(e==="/")return[[md]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function i(E){throw new Error(`ERR (${s})/"${m}": ${E}`)}let s=0,a=s;const l=[];let c;function h(){c&&l.push(c),c=[]}let p=0,d,m="",v="";function y(){!m||(s===0?c.push({type:0,value:m}):s===1||s===2||s===3?(c.length>1&&(d==="*"||d==="+")&&i(`A repeatable param (${m}) must be alone in its segment. eg: '/:ids+.`),c.push({type:1,value:m,regexp:v,repeatable:d==="*"||d==="+",optional:d==="*"||d==="?"})):i("Invalid state to consume buffer"),m="")}function A(){m+=d}for(;p<e.length;){if(d=e[p++],d==="\\"&&s!==2){a=s,s=4;continue}switch(s){case 0:d==="/"?(m&&y(),h()):d===":"?(y(),s=1):A();break;case 4:A(),s=a;break;case 1:d==="("?s=2:gd.test(d)?A():(y(),s=0,d!=="*"&&d!=="?"&&d!=="+"&&p--);break;case 2:d===")"?v[v.length-1]=="\\"?v=v.slice(0,-1)+d:s=3:v+=d;break;case 3:y(),s=0,d!=="*"&&d!=="?"&&d!=="+"&&p--,v="";break;default:i("Unknown state");break}}return s===2&&i(`Unfinished custom RegExp for param "${m}"`),y(),h(),l}function yd(e,i,s){const a=dd(vd(e.path),s),l=Et(a,{record:e,parent:i,children:[],alias:[]});return i&&!l.record.aliasOf==!i.record.aliasOf&&i.children.push(l),l}function wd(e,i){const s=[],a=new Map;i=Na({strict:!1,end:!0,sensitive:!1},i);function l(v){return a.get(v)}function c(v,y,A){const E=!A,M=xd(v);M.aliasOf=A&&A.record;const R=Na(i,v),H=[M];if("alias"in v){const X=typeof v.alias=="string"?[v.alias]:v.alias;for(const dt of X)H.push(Et({},M,{components:A?A.record.components:M.components,path:dt,aliasOf:A?A.record:M}))}let j,Y;for(const X of H){const{path:dt}=X;if(y&&dt[0]!=="/"){const Ot=y.record.path,Ft=Ot[Ot.length-1]==="/"?"":"/";X.path=y.record.path+(dt&&Ft+dt)}if(j=yd(X,y,R),A?A.alias.push(j):(Y=Y||j,Y!==j&&Y.alias.push(j),E&&v.name&&!Za(j)&&h(v.name)),M.children){const Ot=M.children;for(let Ft=0;Ft<Ot.length;Ft++)c(Ot[Ft],j,A&&A.children[Ft])}A=A||j,d(j)}return Y?()=>{h(Y)}:Ai}function h(v){if(ql(v)){const y=a.get(v);y&&(a.delete(v),s.splice(s.indexOf(y),1),y.children.forEach(h),y.alias.forEach(h))}else{const y=s.indexOf(v);y>-1&&(s.splice(y,1),v.record.name&&a.delete(v.record.name),v.children.forEach(h),v.alias.forEach(h))}}function p(){return s}function d(v){let y=0;for(;y<s.length&&_d(v,s[y])>=0&&(v.record.path!==s[y].record.path||!Gl(v,s[y]));)y++;s.splice(y,0,v),v.record.name&&!Za(v)&&a.set(v.record.name,v)}function m(v,y){let A,E={},M,R;if("name"in v&&v.name){if(A=a.get(v.name),!A)throw qn(1,{location:v});R=A.record.name,E=Et(Ad(y.params,A.keys.filter(Y=>!Y.optional).map(Y=>Y.name)),v.params),M=A.stringify(E)}else if("path"in v)M=v.path,A=s.find(Y=>Y.re.test(M)),A&&(E=A.parse(M),R=A.record.name);else{if(A=y.name?a.get(y.name):s.find(Y=>Y.re.test(y.path)),!A)throw qn(1,{location:v,currentLocation:y});R=A.record.name,E=Et({},y.params,v.params),M=A.stringify(E)}const H=[];let j=A;for(;j;)H.unshift(j.record),j=j.parent;return{name:R,path:M,params:E,matched:H,meta:Pd(H)}}return e.forEach(v=>c(v)),{addRoute:c,resolve:m,removeRoute:h,getRoutes:p,getRecordMatcher:l}}function Ad(e,i){const s={};for(const a of i)a in e&&(s[a]=e[a]);return s}function xd(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:bd(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}}}function bd(e){const i={},s=e.props||!1;if("component"in e)i.default=s;else for(const a in e.components)i[a]=typeof s=="boolean"?s:s[a];return i}function Za(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function Pd(e){return e.reduce((i,s)=>Et(i,s.meta),{})}function Na(e,i){const s={};for(const a in e)s[a]=a in i?i[a]:e[a];return s}function Gl(e,i){return i.children.some(s=>s===e||Gl(e,s))}const Yl=/#/g,Ld=/&/g,Td=/\//g,Cd=/=/g,Ed=/\?/g,Ql=/\+/g,Sd=/%5B/g,Md=/%5D/g,Xl=/%5E/g,kd=/%60/g,Jl=/%7B/g,Id=/%7C/g,tu=/%7D/g,Bd=/%20/g;function or(e){return encodeURI(""+e).replace(Id,"|").replace(Sd,"[").replace(Md,"]")}function Od(e){return or(e).replace(Jl,"{").replace(tu,"}").replace(Xl,"^")}function Bs(e){return or(e).replace(Ql,"%2B").replace(Bd,"+").replace(Yl,"%23").replace(Ld,"%26").replace(kd,"`").replace(Jl,"{").replace(tu,"}").replace(Xl,"^")}function Rd(e){return Bs(e).replace(Cd,"%3D")}function zd(e){return or(e).replace(Yl,"%23").replace(Ed,"%3F")}function Zd(e){return e==null?"":zd(e).replace(Td,"%2F")}function go(e){try{return decodeURIComponent(""+e)}catch{}return""+e}function Nd(e){const i={};if(e===""||e==="?")return i;const a=(e[0]==="?"?e.slice(1):e).split("&");for(let l=0;l<a.length;++l){const c=a[l].replace(Ql," "),h=c.indexOf("="),p=go(h<0?c:c.slice(0,h)),d=h<0?null:go(c.slice(h+1));if(p in i){let m=i[p];Le(m)||(m=i[p]=[m]),m.push(d)}else i[p]=d}return i}function Da(e){let i="";for(let s in e){const a=e[s];if(s=Rd(s),a==null){a!==void 0&&(i+=(i.length?"&":"")+s);continue}(Le(a)?a.map(c=>c&&Bs(c)):[a&&Bs(a)]).forEach(c=>{c!==void 0&&(i+=(i.length?"&":"")+s,c!=null&&(i+="="+c))})}return i}function Dd(e){const i={};for(const s in e){const a=e[s];a!==void 0&&(i[s]=Le(a)?a.map(l=>l==null?null:""+l):a==null?a:""+a)}return i}const Fd=Symbol(""),Fa=Symbol(""),sr=Symbol(""),eu=Symbol(""),Os=Symbol("");function _i(){let e=[];function i(a){return e.push(a),()=>{const l=e.indexOf(a);l>-1&&e.splice(l,1)}}function s(){e=[]}return{add:i,list:()=>e,reset:s}}function nn(e,i,s,a,l){const c=a&&(a.enterCallbacks[l]=a.enterCallbacks[l]||[]);return()=>new Promise((h,p)=>{const d=y=>{y===!1?p(qn(4,{from:s,to:i})):y instanceof Error?p(y):cd(y)?p(qn(2,{from:i,to:y})):(c&&a.enterCallbacks[l]===c&&typeof y=="function"&&c.push(y),h())},m=e.call(a&&a.instances[l],i,s,d);let v=Promise.resolve(m);e.length<3&&(v=v.then(d)),v.catch(y=>p(y))})}function ds(e,i,s,a){const l=[];for(const c of e)for(const h in c.components){let p=c.components[h];if(!(i!=="beforeRouteEnter"&&!c.instances[h]))if(Hd(p)){const m=(p.__vccOpts||p)[i];m&&l.push(nn(m,s,a,c,h))}else{let d=p();l.push(()=>d.then(m=>{if(!m)return Promise.reject(new Error(`Couldn't resolve component "${h}" at "${c.path}"`));const v=Vf(m)?m.default:m;c.components[h]=v;const A=(v.__vccOpts||v)[i];return A&&nn(A,s,a,c,h)()}))}}return l}function Hd(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function Ha(e){const i=$t(sr),s=$t(eu),a=ee(()=>i.resolve(it(e.to))),l=ee(()=>{const{matched:d}=a.value,{length:m}=d,v=d[m-1],y=s.matched;if(!v||!y.length)return-1;const A=y.findIndex(Vn.bind(null,v));if(A>-1)return A;const E=Ua(d[m-2]);return m>1&&Ua(v)===E&&y[y.length-1].path!==E?y.findIndex(Vn.bind(null,d[m-2])):A}),c=ee(()=>l.value>-1&&Kd(s.params,a.value.params)),h=ee(()=>l.value>-1&&l.value===s.matched.length-1&&Kl(s.params,a.value.params));function p(d={}){return Wd(d)?i[it(e.replace)?"replace":"push"](it(e.to)).catch(Ai):Promise.resolve()}return{route:a,href:ee(()=>a.value.href),isActive:c,isExactActive:h,navigate:p}}const Ud=To({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:Ha,setup(e,{slots:i}){const s=me(Ha(e)),{options:a}=$t(sr),l=ee(()=>({[ja(e.activeClass,a.linkActiveClass,"router-link-active")]:s.isActive,[ja(e.exactActiveClass,a.linkExactActiveClass,"router-link-exact-active")]:s.isExactActive}));return()=>{const c=i.default&&i.default(s);return e.custom?c:ce("a",{"aria-current":s.isExactActive?e.ariaCurrentValue:null,href:s.href,onClick:s.navigate,class:l.value},c)}}}),jd=Ud;function Wd(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const i=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(i))return}return e.preventDefault&&e.preventDefault(),!0}}function Kd(e,i){for(const s in i){const a=i[s],l=e[s];if(typeof a=="string"){if(a!==l)return!1}else if(!Le(l)||l.length!==a.length||a.some((c,h)=>c!==l[h]))return!1}return!0}function Ua(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const ja=(e,i,s)=>e!=null?e:i!=null?i:s,Vd=To({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:i,slots:s}){const a=$t(Os),l=ee(()=>e.route||a.value),c=$t(Fa,0),h=ee(()=>{let m=it(c);const{matched:v}=l.value;let y;for(;(y=v[m])&&!y.components;)m++;return m}),p=ee(()=>l.value.matched[h.value]);de(Fa,ee(()=>h.value+1)),de(Fd,p),de(Os,l);const d=Q();return Un(()=>[d.value,p.value,e.name],([m,v,y],[A,E,M])=>{v&&(v.instances[y]=m,E&&E!==v&&m&&m===A&&(v.leaveGuards.size||(v.leaveGuards=E.leaveGuards),v.updateGuards.size||(v.updateGuards=E.updateGuards))),m&&v&&(!E||!Vn(v,E)||!A)&&(v.enterCallbacks[y]||[]).forEach(R=>R(m))},{flush:"post"}),()=>{const m=l.value,v=e.name,y=p.value,A=y&&y.components[v];if(!A)return Wa(s.default,{Component:A,route:m});const E=y.props[v],M=E?E===!0?m.params:typeof E=="function"?E(m):E:null,H=ce(A,Et({},M,i,{onVnodeUnmounted:j=>{j.component.isUnmounted&&(y.instances[v]=null)},ref:d}));return Wa(s.default,{Component:H,route:m})||H}}});function Wa(e,i){if(!e)return null;const s=e(i);return s.length===1?s[0]:s}const qd=Vd;function $d(e){const i=wd(e.routes,e),s=e.parseQuery||Nd,a=e.stringifyQuery||Da,l=e.history,c=_i(),h=_i(),p=_i(),d=oh(Je);let m=Je;Nn&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const v=hs.bind(null,P=>""+P),y=hs.bind(null,Zd),A=hs.bind(null,go);function E(P,F){let D,W;return ql(P)?(D=i.getRecordMatcher(P),W=F):W=P,i.addRoute(W,D)}function M(P){const F=i.getRecordMatcher(P);F&&i.removeRoute(F)}function R(){return i.getRoutes().map(P=>P.record)}function H(P){return!!i.getRecordMatcher(P)}function j(P,F){if(F=Et({},F||d.value),typeof P=="string"){const J=fs(s,P,F.path),_=i.resolve({path:J.path},F),w=l.createHref(J.fullPath);return Et(J,_,{params:A(_.params),hash:go(J.hash),redirectedFrom:void 0,href:w})}let D;if("path"in P)D=Et({},P,{path:fs(s,P.path,F.path).path});else{const J=Et({},P.params);for(const _ in J)J[_]==null&&delete J[_];D=Et({},P,{params:y(P.params)}),F.params=y(F.params)}const W=i.resolve(D,F),vt=P.hash||"";W.params=v(A(W.params));const yt=Gf(a,Et({},P,{hash:Od(vt),path:W.path})),nt=l.createHref(yt);return Et({fullPath:yt,hash:vt,query:a===Da?Dd(P.query):P.query||{}},W,{redirectedFrom:void 0,href:nt})}function Y(P){return typeof P=="string"?fs(s,P,d.value.path):Et({},P)}function X(P,F){if(m!==P)return qn(8,{from:F,to:P})}function dt(P){return ie(P)}function Ot(P){return dt(Et(Y(P),{replace:!0}))}function Ft(P){const F=P.matched[P.matched.length-1];if(F&&F.redirect){const{redirect:D}=F;let W=typeof D=="function"?D(P):D;return typeof W=="string"&&(W=W.includes("?")||W.includes("#")?W=Y(W):{path:W},W.params={}),Et({query:P.query,hash:P.hash,params:"path"in W?{}:P.params},W)}}function ie(P,F){const D=m=j(P),W=d.value,vt=P.state,yt=P.force,nt=P.replace===!0,J=Ft(D);if(J)return ie(Et(Y(J),{state:vt,force:yt,replace:nt}),F||D);const _=D;_.redirectedFrom=F;let w;return!yt&&Yf(a,W,D)&&(w=qn(16,{to:_,from:W}),et(W,W,!0,!1)),(w?Promise.resolve(w):Ht(_,W)).catch(T=>He(T)?He(T,2)?T:Kt(T):pt(T,_,W)).then(T=>{if(T){if(He(T,2))return ie(Et({replace:nt},Y(T.to),{state:vt,force:yt}),F||_)}else T=ft(_,W,!0,nt,vt);return Yt(_,W,T),T})}function oe(P,F){const D=X(P,F);return D?Promise.reject(D):Promise.resolve()}function Ht(P,F){let D;const[W,vt,yt]=Gd(P,F);D=ds(W.reverse(),"beforeRouteLeave",P,F);for(const J of W)J.leaveGuards.forEach(_=>{D.push(nn(_,P,F))});const nt=oe.bind(null,P,F);return D.push(nt),Rn(D).then(()=>{D=[];for(const J of c.list())D.push(nn(J,P,F));return D.push(nt),Rn(D)}).then(()=>{D=ds(vt,"beforeRouteUpdate",P,F);for(const J of vt)J.updateGuards.forEach(_=>{D.push(nn(_,P,F))});return D.push(nt),Rn(D)}).then(()=>{D=[];for(const J of P.matched)if(J.beforeEnter&&!F.matched.includes(J))if(Le(J.beforeEnter))for(const _ of J.beforeEnter)D.push(nn(_,P,F));else D.push(nn(J.beforeEnter,P,F));return D.push(nt),Rn(D)}).then(()=>(P.matched.forEach(J=>J.enterCallbacks={}),D=ds(yt,"beforeRouteEnter",P,F),D.push(nt),Rn(D))).then(()=>{D=[];for(const J of h.list())D.push(nn(J,P,F));return D.push(nt),Rn(D)}).catch(J=>He(J,8)?J:Promise.reject(J))}function Yt(P,F,D){for(const W of p.list())W(P,F,D)}function ft(P,F,D,W,vt){const yt=X(P,F);if(yt)return yt;const nt=F===Je,J=Nn?history.state:{};D&&(W||nt?l.replace(P.fullPath,Et({scroll:nt&&J&&J.scroll},vt)):l.push(P.fullPath,vt)),d.value=P,et(P,F,D,nt),Kt()}let Lt;function le(){Lt||(Lt=l.listen((P,F,D)=>{if(!xt.listening)return;const W=j(P),vt=Ft(W);if(vt){ie(Et(vt,{replace:!0}),W).catch(Ai);return}m=W;const yt=d.value;Nn&&od(Ia(yt.fullPath,D.delta),Mo()),Ht(W,yt).catch(nt=>He(nt,12)?nt:He(nt,2)?(ie(nt.to,W).then(J=>{He(J,20)&&!D.delta&&D.type===Mi.pop&&l.go(-1,!1)}).catch(Ai),Promise.reject()):(D.delta&&l.go(-D.delta,!1),pt(nt,W,yt))).then(nt=>{nt=nt||ft(W,yt,!1),nt&&(D.delta&&!He(nt,8)?l.go(-D.delta,!1):D.type===Mi.pop&&He(nt,20)&&l.go(-1,!1)),Yt(W,yt,nt)}).catch(Ai)}))}let Rt=_i(),ge=_i(),ut;function pt(P,F,D){Kt(P);const W=ge.list();return W.length?W.forEach(vt=>vt(P,F,D)):console.error(P),Promise.reject(P)}function U(){return ut&&d.value!==Je?Promise.resolve():new Promise((P,F)=>{Rt.add([P,F])})}function Kt(P){return ut||(ut=!P,le(),Rt.list().forEach(([F,D])=>P?D(P):F()),Rt.reset()),P}function et(P,F,D,W){const{scrollBehavior:vt}=e;if(!Nn||!vt)return Promise.resolve();const yt=!D&&sd(Ia(P.fullPath,0))||(W||!D)&&history.state&&history.state.scroll||null;return Ys().then(()=>vt(P,F,yt)).then(nt=>nt&&id(nt)).catch(nt=>pt(nt,P,F))}const ct=P=>l.go(P);let It;const At=new Set,xt={currentRoute:d,listening:!0,addRoute:E,removeRoute:M,hasRoute:H,getRoutes:R,resolve:j,options:e,push:dt,replace:Ot,go:ct,back:()=>ct(-1),forward:()=>ct(1),beforeEach:c.add,beforeResolve:h.add,afterEach:p.add,onError:ge.add,isReady:U,install(P){const F=this;P.component("RouterLink",jd),P.component("RouterView",qd),P.config.globalProperties.$router=F,Object.defineProperty(P.config.globalProperties,"$route",{enumerable:!0,get:()=>it(d)}),Nn&&!It&&d.value===Je&&(It=!0,dt(l.location).catch(vt=>{}));const D={};for(const vt in Je)D[vt]=ee(()=>d.value[vt]);P.provide(sr,F),P.provide(eu,me(D)),P.provide(Os,d);const W=P.unmount;At.add(P),P.unmount=function(){At.delete(P),At.size<1&&(m=Je,Lt&&Lt(),Lt=null,d.value=Je,It=!1,ut=!1),W()}}};return xt}function Rn(e){return e.reduce((i,s)=>i.then(()=>s()),Promise.resolve())}function Gd(e,i){const s=[],a=[],l=[],c=Math.max(i.matched.length,e.matched.length);for(let h=0;h<c;h++){const p=i.matched[h];p&&(e.matched.find(m=>Vn(m,p))?a.push(p):s.push(p));const d=e.matched[h];d&&(i.matched.find(m=>Vn(m,d))||l.push(d))}return[s,a,l]}const Yd={},Qd=x("div",{class:"flex justify-center items-center w-full h-20 mb-8 text-center border-b-2 border-black"},[x("div",{class:"text-4xl"},"nocode-AR")],-1),Xd=x("h3",{class:"text-4xl mb-12 text-center"},"\u30ED\u30B0\u30A4\u30F3",-1),Jd={class:"flex flex-col justify-around items-center mb-4"},tp=x("input",{id:"email",type:"email",name:"email",placeholder:"\u30E1\u30FC\u30EB\u30A2\u30C9\u30EC\u30B9",class:"focus:border-blue-500 appearance-none border rounded-2xl w-1/2 h-16 mb-8 py-2 px-3 text-gray-700 leading-tight focus:outline-none",autocomplete:"email",required:""},null,-1),ep=x("input",{id:"password",type:"password",name:"password",placeholder:"\u30D1\u30B9\u30EF\u30FC\u30C9",class:"focus:border-blue-500 appearance-none border rounded-2xl w-1/2 h-16 mb-8 py-2 px-3 text-gray-700 leading-tight focus:outline-none",autocomplete:"current-password",required:""},null,-1),np=x("p",{class:"text-center"},[Vt(" \u3059\u3067\u306B\u767B\u9332\u3057\u3066\u3044\u308B\u5834\u5408\uFF1A"),x("a",{href:"",class:"text-blue-600"},"\u30ED\u30B0\u30A4\u30F3"),Vt(),x("br"),x("br"),x("a",{href:"",class:"text-blue-600"},"Web\u30B5\u30A4\u30C8\u306B\u623B\u308B")],-1);function ip(e,i){return Bt(),Zt("div",null,[Qd,Xd,x("div",Jd,[tp,ep,x("button",{to:"/rallylist",type:"submit",value:"\u30ED\u30B0\u30A4\u30F3",class:"w-[250px] h-[60px] text-white text-2xl text-center bg-black rounded-[20px]",onClick:i[0]||(i[0]=s=>e.$router.push("/rallylink"))}," \u30ED\u30B0\u30A4\u30F3 ")]),np])}const op=qe(Yd,[["render",ip]]),sp={},rp=x("div",{class:"flex justify-center items-center w-full h-20 mb-8 text-center border-b-2 border-black"},[x("div",{class:"text-4xl"},"nocode-AR")],-1),ap=x("h3",{class:"text-4xl mb-12 text-center"},"\u30E6\u30FC\u30B6\u30FC\u767B\u9332",-1),lp={class:"flex flex-col justify-around items-center mb-4"},up=x("input",{id:"email",type:"email",name:"email",placeholder:"\u30E1\u30FC\u30EB\u30A2\u30C9\u30EC\u30B9",class:"focus:border-blue-500 appearance-none border rounded-2xl w-1/2 h-16 mb-8 py-2 px-3 text-gray-700 leading-tight focus:outline-none",autocomplete:"email",required:""},null,-1),cp=x("input",{id:"password",type:"password",name:"password",placeholder:"\u30D1\u30B9\u30EF\u30FC\u30C9",class:"focus:border-blue-500 appearance-none border rounded-2xl w-1/2 h-16 mb-8 py-2 px-3 text-gray-700 leading-tight focus:outline-none",autocomplete:"current-password",required:""},null,-1),hp=x("div",{class:"text-center"},[Vt(" \u30D1\u30B9\u30EF\u30FC\u30C9\u3092\u5FD8\u308C\u305F\u5834\u5408\uFF1A"),x("a",{href:"",class:"text-blue-600"},"\u30D1\u30B9\u30EF\u30FC\u30C9\u30EA\u30BB\u30C3\u30C8"),x("br"),x("br"),Vt(" \u307E\u3060\u30E6\u30FC\u30B6\u30FC\u3092\u767B\u9332\u3057\u3066\u3044\u306A\u3044\u5834\u5408\uFF1A"),x("a",{href:"",class:"text-blue-600"},"\u30E6\u30FC\u30B6\u30FC\u767B\u9332"),x("br"),x("br"),x("a",{href:"",class:"text-blue-600"},"Web\u30B5\u30A4\u30C8\u306B\u623B\u308B")],-1);function fp(e,i){return Bt(),Zt("div",null,[rp,ap,x("div",lp,[up,cp,x("button",{to:"/rallylist",type:"submit",value:"\u30E6\u30FC\u30B6\u30FC\u767B\u9332",class:"w-[250px] h-[60px] text-white text-2xl text-center bg-black rounded-[20px]",onClick:i[0]||(i[0]=s=>e.$router.push("/rallylist"))}," \u30E6\u30FC\u30B6\u30FC\u767B\u9332 ")]),hp])}const dp=qe(sp,[["render",fp]]);const Te=e=>(Pn("data-v-711256eb"),e=e(),Ln(),e),pp={class:"flex-1"},_p={key:0,class:"w-[70%] h-[80%] z-40 overflow-auto position-center bg-white border border-black"},mp={class:"flex flex-col items-center mb-10"},gp=Te(()=>x("h2",{class:"text-center text-xl my-5"},"1. \u30B9\u30BF\u30F3\u30D7\u30E9\u30EA\u30FC\u540D\u3092\u6C7A\u3081\u308B",-1)),vp={key:0},yp=Te(()=>x("h2",{class:"text-center text-xl my-5"},"2. \u4F5C\u6210\u3059\u308B\u578B\u3092\u6C7A\u3081\u308B",-1)),wp={key:0},Ap={class:"flex justify-around items-center mb-10"},xp={class:"flex flex-col justify-center items-center"},bp=["checked"],Pp=Te(()=>x("p",{class:"w-full position-center text-center text-lg"},[Vt("\u30DE\u30FC\u30AB\u30FC\u30D9\u30FC\u30B9"),x("br"),Vt("AR")],-1)),Lp=[Pp],Tp=Te(()=>x("p",{class:"text-center"},[Vt(" \u5229\u7528\u30B7\u30FC\u30F3"),x("br"),Vt(" \u300C\u30B7\u30E7\u30C3\u30D4\u30F3\u30B0\u30E2\u30FC\u30EB\u300D\u30FB\u300C\u5B66\u6821\u300D\u30FB\u300C\u6C34\u65CF\u9928\u300D\u306A\u3069 ")],-1)),Cp={class:"flex flex-col justify-center items-center"},Ep=["checked"],Sp=Te(()=>x("p",{class:"w-full position-center text-center text-lg"},[Vt("\u30ED\u30B1\u30FC\u30B7\u30E7\u30F3\u30D9\u30FC\u30B9"),x("br"),Vt("AR")],-1)),Mp=[Sp],kp=Te(()=>x("p",{class:"text-center"},[Vt(" \u5229\u7528\u30B7\u30FC\u30F3"),x("br"),Vt(" \u300C\u30B4\u30EB\u30D5\u5834\u300D\u30FB\u300C\u5EFA\u7BC9\u7269\u30FB\u5EFA\u7269\u300D\u30FB\u300C\u89B3\u5149\u5730\u300D\u306A\u3069 ")],-1)),Ip={class:"w-3/4 m-auto mt-10 flex-1"},Bp=Te(()=>x("h2",{class:"text-2xl ml-[3%]"},"\u30B9\u30BF\u30F3\u30D7\u30E9\u30EA\u30FC\u4E00\u89A7",-1)),Op={class:"table-fixed mb-10 w-full"},Rp=Te(()=>x("thead",null,[x("tr",null,[x("th",{class:"w-1/6 h-auto border px-4 py-4"}),x("th",{class:"w-1/4 h-auto border px-4 py-4"},"\u30BF\u30A4\u30C8\u30EB"),x("th",{class:"w-1/6 h-auto border px-4 py-4"},"\u516C\u958B\u72B6\u6CC1"),x("th",{class:"w-1/6 h-auto border px-4 py-4"},"AR\u578B"),x("th",{class:"w-1/6 h-auto border px-4 py-4"},"\u7DE8\u96C6")])],-1)),zp=Te(()=>x("td",{class:"border"},[x("img",{src:""})],-1)),Zp={class:"border px-4 py-2"},Np=Te(()=>x("td",{class:"border px-4 py-2"},"\u975E\u516C\u958B",-1)),Dp={class:"border px-4 py-2"},Fp={class:"border px-4 py-2"},Hp=Te(()=>x("br",null,null,-1)),Up=["onClick"],jp={class:"flex justify-center items-center"},Wp={__name:"RallyList",setup(e){let i=Q(!1),s=Q("");const a=()=>{i.value=!i.value,p.value="",d.value="",s.value=!1,c.value=!1,h.value=!1},l=me({rallys:[]});let c=Q(!1),h=Q(!1),p=Q(""),d=Q("");const m=()=>{!p.value&!d.value?(c.value=!0,h.value=!0):p.value?d.value?(l.rallys.push({title:p.value,arType:d.value}),a()):(c.value=!1,h.value=!0):(c.value=!0,h.value=!1)},v=y=>{confirm("\u672C\u5F53\u306B\u524A\u9664\u3057\u307E\u3059\u304B?")&&l.rallys.splice(y,1)};return(y,A)=>(Bt(),Zt("div",pp,[it(i)?(Bt(),Zt("div",_p,[x("button",{class:"text-4xl absolute top-3 right-5",onClick:a},"\xD7"),x("div",mp,[gp,We(x("textarea",{id:"title","onUpdate:modelValue":A[0]||(A[0]=E=>Wt(p)?p.value=E:p=E),rows:"1",class:_e(["w-[80%] h-10 text-xl py-1 px-3 text-center border border-black bottom-1",{error:it(c)}])},null,2),[[Wl,it(p)]]),it(c)?(Bt(),Zt("span",vp,"\xD7\u30B9\u30BF\u30F3\u30D7\u30E9\u30EA\u30FC\u306E\u30BF\u30A4\u30C8\u30EB\u304C\u5165\u529B\u3055\u308C\u3066\u3044\u307E\u305B\u3093")):je("",!0)]),x("div",null,[yp,it(h)?(Bt(),Zt("span",wp,"\xD7\u30B9\u30BF\u30F3\u30D7\u30E9\u30EA\u30FC\u306E\u30BF\u30A4\u30D7\u304C\u9078\u629E\u3055\u308C\u3066\u3044\u307E\u305B\u3093")):je("",!0),x("div",Ap,[x("div",xp,[We(x("input",{id:"marker","onUpdate:modelValue":A[1]||(A[1]=E=>Wt(d)?d.value=E:d=E),type:"radio",checked:it(s),value:"\u30DE\u30FC\u30AB\u30FC\u578B",name:"ARtype",class:"opacity-0"},null,8,bp),[[ks,it(d)]]),x("label",{for:"marker",class:_e(["w-[90%] h-[35vmin] mb-5 rounded-xl btn-gray",{error:it(h)}])},Lp,2),Tp]),x("div",Cp,[We(x("input",{id:"location","onUpdate:modelValue":A[2]||(A[2]=E=>Wt(d)?d.value=E:d=E),type:"radio",checked:it(s),value:"\u30ED\u30B1\u30FC\u30B7\u30E7\u30F3\u578B",name:"ARtype",class:"opacity-0"},null,8,Ep),[[ks,it(d)]]),x("label",{for:"location",class:_e(["relative w-[90%] h-[35vmin] mb-5 rounded-xl btn-gray",{error:it(h)}])},Mp,2),kp])])]),x("button",{class:"w-48 h-10 mb-10 relative left-1/2 -translate-x-[50%] btn-gray",onClick:A[3]||(A[3]=E=>m())},"\u4F5C\u6210\u3059\u308B")])):je("",!0),x("div",Ip,[x("div",{class:"flex justify-between items-center mb-5"},[Bp,x("button",{class:"w-48 h-12 mr-[3%] btn-gray",onClick:a},"\uFF0B\u65B0\u898F\u4F5C\u6210")]),x("table",Op,[Rp,x("tbody",null,[(Bt(!0),Zt(pe,null,tr(l.rallys,(E,M)=>(Bt(),Zt("tr",{key:E},[zp,x("td",Zp,xn(E.title),1),Np,x("td",Dp,xn(E.arType),1),x("td",Fp,[x("button",{class:"btn-gray mb-3 w-4/5",onClick:A[4]||(A[4]=R=>y.$router.push("/edit"))},"\u7DE8\u96C6\u3059\u308B"),Hp,x("button",{class:"btn-gray mb-3 w-4/5",onClick:R=>v(M)},"\u524A\u9664\u3059\u308B",8,Up)])]))),128))])]),x("div",jp,[je("",!0)])])]))}},Kp=qe(Wp,[["__scopeId","data-v-711256eb"]]),Vp="/gitbucket/Fumiya238/nocode-AR/pages/rallylist/assets/settings.b423b069.png",qp="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAYAAADDPmHLAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAADsQAAA7EB9YPtSQAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAAj/SURBVHic7Z1brFXFGcd/UPGCilqpChwv9QZUDYqtMWrkItGq8RJtqyRG4KWvtk8m3qAPjdA+4YtRo0Z9MK1vpTEmarzFVqN4w3uRFqXcBan1AsjBh+9M3GfvWbPW7DUza+0z3y+Zlw1nvm9m/dfc1zegKIqiKIqiKIqiKIqiKIqijHHGRchzFnAOMAQcCxwYIM9NwOPARwHySsEM4EZgSoC89gBbgA3AG8A7AfIMziTgD8A6YH+k9D9gWqoC1WAI+JJ49bAOWAYcnqg8pdwEbCVegTvT4jRFqsUS0tTFFmBhojJZGQ/8iTSFNWlOkpLVYx5p62QF8iyS8+c+nO03fQ78MU2xgnA34nNKESTlpgJHdgP3A5cgA0ClPuOQulwAPIAMCm11n6w7mIS9z38bOC2VExkzHVhDb/1vJtHAcJnF+DuIMJQ0TMIugrtSGP83vc2+vvnpmU5vd/BJbKOz6FXd/bGNKoU8SO/zOMsnA9/pw2zLb3/1zEMJh63uz/XJwFcAtpW4tzzzUMJhq3uv1VJfAUy2/LbDMw8lHNssv/3EJwNfAdg2j4Y981DCYat7rw2+RpYQlfagAsicA5p2oEGmIjt3AA8DGxv0ZWBYSe+8c9A4ELgFOV9gyvAVssJ5SHNu9U3381gZ09igC+AqZLWsaFftM+Bm4pyUikUtAeQyBpgJPAX8DTjZ8f+GgEeA54CzE/jVOGNdAD9G3og1wGUefzcHWA08im5rj2JQuoAJwO+BnRQ398PAYyNp2PH/do7kNSFpCaqjY4AuFgDv4j5B8zpwYcff/Bx4ueRvPgZ+naQEfqgARjgN2RxxPcSNwG+xd33jkAe8viSPp4EzI5bDl+wFcBgyhfuW4oe2G/G9yqGViSP5fePIbw9wH/a9kdRkK4DxyJRts8WnzrQK98i/iOORQaAr78+RNYUf1ShHXbIUwBzgTYsvnekD4JcBbM1Ftl1dtt7Hb5YRkqwEMIS8la5Ru3krQy5zm9Zmi8NundamDlkIwPTLX1vsm7SX+P3ykcBywo03QjCmBWBG5v+x2O1Mz+B5Fq4mpyNvu8sn14wjJEkFsLTL2PaIts4FXsJdyf+i2bl5lTWH1xi95hCa7i+Qlka0xU+Rh26M3RbBxhSkKd9HcaX+H+kSDopg35cJyJu+jWJ/h5E1ihMi2F/eYWcX0jpF5VhkQHRB4HwnIIO3XRRX5D5kEHhcYNshMPsO31Hsv9l2Pjiw7bnIl9NTA+ebjGuBtbib0hexH0tvG2cDz+Muyzrg+ob8ax23466s9cANDNYePcCv6P2KqjtF7a8HhaK+cx/SXE5szLP6HAzcQXG38EVzrrWH3bhH0KHHGimZjXRdrlYge1wCiD2CjsVkygeEKoARygQQewQdkiozGRVAF90CcC2z7kcOdV7XiKdurqF8JmMrW/Z0C+Be5PRuWci555DP1ZtmBvAkbl83IGsn91j+LXtsAgA5o38ro8/v22YKjwLHpHUZgKOQfn6vw7+vkZU6E7ql6d3UVlIkAMM0yreAdyJiCRGVtIwDkKXfstiIq5Cl805UABbKBGD4BfAP3JX+EXBlRF/nI/GQXD68AVxc8PcqAAtVBQCyGngzEjvY9RCeBs4I6OOplB843U758TAVgAUfARgOpdrBzZXAETV8M3ZcMxMfOyoAC/0IwHAKYd7Mbnxamp955KsCsFBHAIb5SKDKfvvmTs4D/lmS14fAFX34qQKwEEIA8MPBzX5G51BttrGDerMNFYCFUAIwHIXMvV1LzJ3z84nIQ3XF+DfrDV4BmCyoACyEFoDhDKSPdrUGn46ksn4+1KdgKgALsQRgWIB8uOF6yLa0lvAHTlsngLEeHwDkyPgs4HfILl0ZXyHX35wJPBHRL2WE2C1AJ0dTvE8/TPwDp61rAdpASgEYFtH7IBYlsNs6AeTQBdjYWvG3MU+uAlBGUAFkjgogc1QAmaMCyBwVQOaoADJHBZA5KoDMUQFkjgogc1QAmdNGAbQh8FMsxnLZ+sZ2dm8VcFJEm5dbbF4e0d5UiiOfZU9RiBgTDyBGiJhUAjgEuBMJa2cro4aIQWINlh3cvJGwQaJSCKBKhNNlgW0OLFXCxL2E583YDmIK4BzgBUv+nWk98JtA9pIzhAQlnBc43yrhVUKd24shANd5w85ubTlyyUVILkI+iokeQHMGoz+guDuCjSoBluqGig0pACPcLxz+moHtiX3acHFHh43txB08s4zRhYoZLHo28YJFhxJAlWDRq5E3NBbdwaLvimirkVOtV1EecfNZ/MLF1xXA6cDfS3wy4eJjXyfTbXdM3RdgqPL9nrkwosr3e/0KwFwY4fru0MQL0AsjIlDlypgdlF8Z4ysAnytjTumrZP2TlQAMVb7h/4Dih+ojgHmUxx5w2YpNlgKAH97KsigetreyigB8ro0LeUGVL9kKwOATx8f0yy4BVIk/5DPeiE32AjBUieRlRuZXWv7tCqpdHZv6gqoyVABdXEZ5PABbt1HWlXyMTEnbhgrAQtVonlVSmy6osqECcGAucnLF8y1Kbb6gqhMVQAWqRPTuTK8C5zfiqT+1BNDGI2ExMHH9rkbuGyjiv0igiPOBVxL4NXAMagvQiW3bOdY2bQpqtQBNLmA0xV6kkv4CLEFawUeQSx2yI0cBGDYT5zzDQJHLGEApQAWQOb4CsA36VETNYat7r4G578PbZvntaM88lHDYLsva4pOBrwA2Wn5rw9VtuWKr+00+GfgKYLXltxs881DCYav712Mb7b7QcQ8wPbZRpYeZ9O5xrE1heCm9q09rSHcIUpELqt6j9zncmcL44dgPR65BW4IUzMT+8DeRcCl7ocUB0x08CFyKbKOG/KAzV8YhdXkp8BD2re1hGhiLrbA4EivtYLCWbVcgPqeqn0bqZjxpRbAfmJuiYDWZT7r6GEYefqOLcQuRjZUUBV6cpki1WEKauthEi6bghyEfJX5CvALvQkKttJ1puK+8r5vWIqP9IAO+GIO0s5Ave4eQwUuIK903Ao8jJ3MHgelIyzglQF57kBZ2A7IQ926APBVFURRFURRFURRFURRFUZR8+B4b7IwsKd9jbQAAAABJRU5ErkJggg==",$p="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAYAAADDPmHLAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAADdgAAA3YBfdWCzAAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAAqSSURBVHic7Z1djF1VFcd/q3y10NYGhCpoK2mhJSIlfIRCYuRBpaICMWqiqaYJDz42GmhRsEEQbSTBYEQxfhAqqJAIlAJqAUFqG6SGIhCgUD5aSqGUD4FCwdL5+7D3TMqk096ZOWuvfe7ll9yXdmat/91rzdrnnrvPWiaJbsXMpgBTgEN38wLYtJvXBkkbyiovh3VTApjZGGA2cGZ+zWjI9FpgaX7dK6mvIbvhtD4BzGwc8GlSwL8IHOLs8kVgGSkZ7pC0zdmfK61NADM7GlgEfB7YP0jGW8CtwEWSHg7SMCpalwBmdihwETAP2CtWzQB9wNXAIkkbo8UMh9YkgJlNABYC3ybuL35PvA1cDiyW9N9oMZ1QfQKY2T7At0jl/uBgOZ3yCnAJcIWkd6LF7I6qE8DMjgWuB46I1jJCngG+Kml1tJChGBMtYCjM7MvAStobfICPAfeY2dejhQxFdQlgiR+Q/vJr3euHw1jgWjO7xMwsWsxgqtoCzOwAYAnwpWgtTiwF5kraGi2kn2oSwMymkhZoVrQWZx4CzpD0TLQQqCQB8sXectpzlT9atgCnSVoTLSQ8AcxsMrAa+GiokPJsBE6U9EKkiNCLQDPbD7iR3gs+wEeAG/MahBH9KeBK4ORgDZHMBn4dKSAsAczsO6T7+b3ON8xsQZTzkGsAM5sD3EI9X+ZE0wecKemW0o6LJ4CZHQncB3ygqOP6eQOYLemRkk4jtoAreD/4u2ICaW2KUjQBzOw00umd99k1p5rZ6SUdFtsC8nm9+4m907cOeIz3HvqE9x4SnQlMD1GXeBiYVezcoaQiL+CbgAq/3gVWAOcCM4ahdUb+nRXZRmnd84rFpVDwxwLrCy5gH3AdMK0B7dOyrb6C+p8FxnZTApxbcPHuIt1ibfo9nJhtl3ofC7oiAYADgVcLLNiOEosGLMi+vN/Pq8CB3u+nxKeAecAkZx9bgbMk/cTZD9nHWdmnJ5MocKe0RAKc5Wz/BeAUScuc/QyQfZ2SfXvivXa+HwPN7GDSInkl2tvAqZL+5WR/t5jZScDdpItcD/qAD0na4mTfvQJ8wdnH2VHBB8i+z3Z0MYa0hq4OPPEsYYsl/cHRfkdkDYsdXbhuA25bgJntD7wEjHMwv550Y6eKhy7yoY61wFQH89uAD0p6y8G2awX4LD7BB7igluADZC0XOJkfR1pLFzwTwKt0PQBc62R7NFxL0uaB2zbgmQCnONm9WJ4fXUZI1nSxk3mvtXS9BngDGN+w2TeBg1VpU4bcrGILcEDDprdKmtCwTcCpApjZeJoPPsDyWoMPkLUtdzA9Pq9p43htAR92snuTk90m8dLosqZeCXDonn9kRHj8dTWNl0aXNW1TBfgfsNnBbtNsJmltmlZVAA+xz9d49T+YrPF5B9M9nwCb9vwj1eChtVUJMNnBZhvKfz8eWj3W1C0BPPbAiQ42vfDQ6rGmbgnwmoNNr08WHnho9VhTtwTw6JHX6wng0newTRVgYu4hVDVZo8cW0KoK4CIWOMnJbpN4aWxVAjztZNf9kGQDeGl0WVOXbwPNbCJpz2q6L94GSR6nbhrDzNaThlQ0iYBJkl5v2K5PBchCPTJ2ipkd52C3EbK2poMP8LRH8MH3QIjX6Zj5TnabwEub11q2MgHmmll1zSSzprlO5luZACuc7I7B9xj2SFmM33r+08mu65GwvUjfinl1/zxd0l+cbA8LM/sccJuT+ZeByZJ2eBh3qwBZ8FIv+8A1ZjbN0X5HZA3XOLq42Sv44P9k0J8dbR8ILDOzsIZT2feyrMWLGxxtuz8cui9pzJpnkP5K6rHn8m3ZUOT3thSY4+hmK+mpILeHYFwrQA6K9/N7c4A7zcx7XuAA2ded+AYf4E/eT0C5dwnLe+Ra/LuCbiD14f+Pp5P8ce9mfG747EwfcJSkxz2duDeIkPQkvtcC/UwBVprZ/FyeG8XM9jWz+aQ5Rt7BB7jJO/hAsSZRx1OuuZKAp4CvkSvcKLVbtvVU4fdwUpHYlHCSF/L2wgsoYA1p0OThI9B7eP7dNQG67y4Vl5KdQk8GVhVxtmseJO3dnXQKPQM4JkBjP5+U5Hb3b2eKdgs3s+uBrxRz2E5ulFRsalrpBJgGPArsU8xpu9gOHK0SF3+Zot3ClT4R/KKkz5bxq5LBh5iBEQeRunZ7N49sG6+Tehu/VNJp8YERkl4GflTabwv4cengQ9zMIM+uWm3kWeBISW+XdhwyNUzp/vb3InxXyvkRwYfAyaF5kvZ9wAkhAuphDXC8ggIRNjcwv+FzovxXxDlRwYfgyaGS/kE6UNGr3Cbp75ECahgePZM0Un3vUCHl2QEco8JzAgcTPTsYSY8Bv4nWEcDvooMPFVQAGDhhs440PLEXeBOYruDR8VBBBQCQ9CLgPu6lIi6tIfhQSQWAgfbyjwOHRWtx5nngCElvRguBSioAgFI//O9H6yjAolqCDxVVABgYL7uG2MMYnjwMHCvHBz2GSzUVAEBpXu650TocWVBT8KGyCtCPmf0NxykZQdwh6TPRIgZTawIcQ9oKqqpQo6CPdL/f7THvkVLlAkt6ELg6WkeD/L7G4EOlFQDAzA4jfSzcP1rLKNlG+q5/Y7SQXVFlBQCQ9BxwWbSOBvhprcGHiisADIyeWYdTo+QCbCGd83sjWshQVFsBACRtBS6M1jEKLqw5+FB5BQAws71JT/UcFa1lmKwlnfF/N1rI7qi6AgDkBVwYrWMELKw9+NCCCtCPmd0FnBqto0PukfSpaBGd0KYEOIF0iLTp9rNN0/9o9+poIZ1Q/RbQj6R/A3+M1tEB17Ul+NCiCgBgZlNJF1f7RWsZgneAmZKeiRbSKa2pAACS1gM/i9axG37epuBDyyoAgJlNIt0cOihayyBeId30cRnt4kWrKgBAXmCvMe2j4YdtCz60sAIAmNk+pEYT4a1iM0+RWroVbVbZBK2rAACStgPnRevYie+2MfjQ0grQj5mtAk4OlnGvpGgNI6aVFWAnani4tAYNI6bVCSBpFWW6kA7FDZJWBvofNa3eAgDMbDrwCOU7j20HPi7picJ+G6XVFQBA0jrglwGur2x78KELKgAMdB57Et+5BDvzGunhzuJNnZqm9RUAQjqPhXT08qArKgCAmY0l9QH27jy2AZgR1dSpabqiAgDkgJxfwFVYRy8PuqYCwEDnsdWk+QQe3A+cENnUqWm6pgJAkc5joR29POiqBACQdDdwi4PpWyXd5WA3lK7aAvoxs6NInceaGlRVRUcvD7quAgBIepRmO4/9thuDD11aAQDMbDLp5ND4UZraSrrps3n0quqjKysAQA5YE53HLu3W4EMXVwAY6Dz2BGkY1EjYROro9VZzquqiaysANNJ5bFE3Bx+6vALAQOexB4BPDPNXHyJ19OprXlU9dHUFgFF1HlvQ7cGHHqgA/ZjZcqDTLl23S+q2LmW7pJcSYBbpXv6eql4fcJycp5DXQtdvAf3kgC7p4EeX9ErwoYcqAAx0HnsCGDfEj2wjfex7rpyqWHqmAkBHnccu66XgQ49VAAAzm0C6RXzIoP96kXTLt+qmTk3TUxUAIAd4V4+VnddrwYfeG9QEgKSrcg/C+fmfLpd0VaSmKP4P1YzrQxP3nD0AAAAASUVORK5CYII=",Gp="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAABYgAAAWIBXyfQUwAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAAMTSURBVHic7ZrLbhNBEEWPhP1X7CDYhCRYCIgUkPgmlrw2/FYCKHFiHiGssgsSLNotdcbz6EdV9SBzpd7E0zN1b9+uqeoMbA+mwBz4APwAVsBB1YgMEJK+Av40xqpeaHoYIh2Or5ViFMcd4C7wGvhOP+lwvKkRrBRySYfjvnnUhZAg7cclMLENPw8pe9qPn8D5wDVvLUmkImelfwEfgX3gCLgZuH509i8lPV3f5ynD5Edj/1x7vwMesEnikE3yN2xuh6r2l1rpJtpW/jfwCidaVftrkfboIn+Ec1gV++eQviKetEcfeXDbK/xNtfixIu0xRH6Kgf2tSXsMkQdF+9ci7RFDHpTsPwe+EUf6EvfK2UEu8XS96p43rmuz/45EAF+wJ+0RSx5g1hKXSDxtAlyjR9ojhTzA+8a1YsXP445ADqUe0IJU8mr29+hKQi8lH7LGs45nveiZY1L8WIiQQx4Mix9NEXLJmxQ/ITREyCUPlWp/SRFKyINx7R9CQoRS8ub2b6JEhFLyULH1DZEjggR5qGj/JlJEkCJf3f5NxIggRR4Ua/8S9IkgSR42a//R/Nurq46X7CfUa/8QC2C5Hg8j5wyd1ZesPBjav7may4S5XSKUkgcj+7dZ+SzxHhpls0n279rHi4x7SYugbn/pbA2yIqjaX4O8h4QIE9yKq9j/SUuA0kdfpSKo2n+FLnmPEhFU7R8KkEJ+BpysxyxyTpcIfVtN1f4Ae8AF7lWXku2XQUApr8lUEUZZ+8Nt50jVCW0ijLb238OJcA48ypgfI8IE97mriP3nwCfS9qw2hkQQtX/unoW8xigWfSKI2j9XgJLGKPcZ/o103fhbUeu7iyN+htsOuYGluicWQ620efYvbYykzxNMs39pb6BxnmB28ClNPmfbNO9xgZH9Ncjnnicc4F7bx8C9jPnJKCWv2VKr4z958oNftMzX/pRGDBIrFxZYW0cebguwdeTBFTlL0s8TquGfTlil2Grypdl6F/f16GfkW2ITlGbrkiOwUaA0W4cCnMqGZoPSbL2Pa0pOGc+RWjT+AsmJsk2ntCxhAAAAAElFTkSuQmCC";const Yp={},ko=e=>(Pn("data-v-a02ba483"),e=e(),Ln(),e),Qp={class:"fixed overflow-x-hidden z-0 w-[88px] h-full flex justify-center items-start bg-white shadow-md"},Xp={class:"top-[88px] pt-5"},Jp=ko(()=>x("img",{src:Vp},null,-1)),t_=ko(()=>x("img",{src:qp},null,-1)),e_=ko(()=>x("img",{src:$p},null,-1)),n_=ko(()=>x("img",{src:Gp},null,-1));function i_(e,i){const s=Cl("router-link");return Bt(),Zt("div",null,[x("aside",Qp,[x("div",Xp,[x("ul",null,[x("li",null,[kt(s,{to:"/edit",replace:"","exact-active-class":"link--active"},{default:on(()=>[Jp]),_:1})]),x("li",null,[kt(s,{to:"/setting-ar",replace:"","exact-active-class":"link--active"},{default:on(()=>[t_]),_:1})]),x("li",null,[kt(s,{to:"/spotlist",replace:"","exact-active-class":"link--active"},{default:on(()=>[e_]),_:1})]),x("li",null,[kt(s,{to:"/public",replace:"","exact-active-class":"link--active",class:"link-active"},{default:on(()=>[n_]),_:1})])])])])])}const Ii=qe(Yp,[["render",i_],["__scopeId","data-v-a02ba483"]]);const Io=e=>(Pn("data-v-29772637"),e=e(),Ln(),e),o_=Fl('<div class="w-2/4 m-auto mt-10 bg-gray-300" data-v-29772637><h2 class="bg-black text-white text-xl mb-5 px-2" data-v-29772637>\u57FA\u672C\u60C5\u5831</h2><div class="w-[90%] m-auto overflow-auto" data-v-29772637><div class="mb-5" data-v-29772637><h3 class="mb-2 px-3" data-v-29772637>\u30B9\u30BF\u30F3\u30D7\u30E9\u30EA\u30FC\u540D</h3><form data-v-29772637><textarea name="title" rows="1" class="w-full py-1 px-3" data-v-29772637></textarea></form></div><div class="mb-5" data-v-29772637><h3 class="mb-2 px-3" data-v-29772637>\u30AD\u30E3\u30C3\u30C1\u30B3\u30D4\u30FC</h3><form data-v-29772637><textarea name="cc" rows="1" class="w-full py-1 px-3" data-v-29772637></textarea></form></div><div class="mb-5" data-v-29772637><h3 class="mb-2 px-3" data-v-29772637>\u7D39\u4ECB\u6587</h3><form data-v-29772637><textarea name="introduction" rows="5" class="w-full py-1 px-3" data-v-29772637></textarea></form></div></div></div>',1),s_={class:"w-2/4 m-auto mt-10 mb-14 bg-gray-300"},r_=Io(()=>x("h2",{class:"bg-black text-white text-xl mb-5 px-2"},"\u753B\u50CF\u60C5\u5831",-1)),a_={class:"flex flex-col justify-center items-center"},l_=["onDrop"],u_=["src"],c_={key:0,class:"text-[#aaa] text-center"},h_=Vt(" \u753B\u50CF\u3092\u30C9\u30E9\u30C3\u30B0\uFF06\u30C9\u30ED\u30C3\u30D7 "),f_=Io(()=>x("br",null,null,-1)),d_=Vt("\u307E\u305F\u306F\u30AF\u30EA\u30C3\u30AF\u3067\u30D5\u30A1\u30A4\u30EB\u9078\u629E "),p_=[h_,f_,d_],__=Io(()=>x("div",{class:"w-[90%] m-auto overflow-auto"},null,-1)),m_=Io(()=>x("div",{class:"flex justify-center items-center"},[x("button",{class:"w-48 h-12 mb-10 btn-gray"},"\u4FDD\u5B58")],-1)),g_={__name:"Edit",setup(e){window.onbeforeunload=v=>{v.returnValue="\u672C\u5F53\u306B\u30DA\u30FC\u30B8\u3092\u9589\u3058\u307E\u3059\u304B\uFF1F"};let i=Q(!1),s=Q(""),a=Q("");const l=Q(""),c=()=>{i.value=!0},h=()=>{i.value=!1},p=v=>{const y=new FileReader;y.onload=A=>{s.value=A.target.result},y.readAsDataURL(v)},d=v=>{i.value=!1,l.value=v.dataTransfer.files,p(l.value[0]),a.value=l.value[0].name},m=v=>{l.value=v.target.files||v.dataTransfer.files,p(l.value[0]),a.value=l.value[0].name};return(v,y)=>(Bt(),Zt("div",null,[kt(Ii),o_,x("div",s_,[r_,x("div",a_,[x("div",{class:_e(["flex flex-col justify-center items-center w-[40vmin] h-[40vmin] bg-[#eee] mb-5 relative",{enter:it(i)}]),onDragenter:c,onDragleave:h,onDragover:y[0]||(y[0]=Kn(()=>{},["prevent"])),onDrop:Kn(d,["prevent"])},[We(x("img",{src:it(s),class:"py-2 object-cover max-h-[40vmin] max-w-[40vmin]"},null,8,u_),[[mo,it(s)]]),x("p",null,xn(it(a)),1),x("input",{ref:"preview",type:"file",accept:".jpeg, .png, .gif",class:"w-full h-full absolute top-0 left-0 opacity-0 cursor-pointer",onChange:m},null,544),it(s)?je("",!0):(Bt(),Zt("p",c_,p_))],42,l_)]),__]),m_]))}},v_=qe(g_,[["__scopeId","data-v-29772637"]]);/**
 * Vue 3 Carousel 0.1.40
 * (c) 2022
 * @license MIT
 */const re={itemsToShow:1,itemsToScroll:1,modelValue:0,transition:300,autoplay:0,snapAlign:"center",wrapAround:!1,pauseAutoplayOnHover:!1,mouseDrag:!0,touchDrag:!0,dir:"ltr",breakpoints:void 0};function y_(e,i){let s;return function(...a){s&&clearTimeout(s),s=setTimeout(()=>{e(...a),s=null},i)}}function w_(e,i){let s;return function(...a){const l=this;s||(e.apply(l,a),s=!0,setTimeout(()=>s=!1,i))}}function A_(e){var i,s,a;return e?((s=(i=e[0])===null||i===void 0?void 0:i.type)===null||s===void 0?void 0:s.name)==="CarouselSlide"?e:((a=e[0])===null||a===void 0?void 0:a.children)||[]:[]}function x_(e,i){if(e.wrapAround)return i-1;switch(e.snapAlign){case"start":return i-e.itemsToShow;case"end":return i-1;case"center":case"center-odd":return i-Math.ceil(e.itemsToShow/2);case"center-even":return i-Math.ceil(e.itemsToShow/2);default:return 0}}function b_(e){if(e.wrapAround)return 0;switch(e.snapAlign){case"start":return 0;case"end":return e.itemsToShow-1;case"center":case"center-odd":return Math.floor((e.itemsToShow-1)/2);case"center-even":return Math.floor((e.itemsToShow-2)/2);default:return 0}}function Ka(e,i,s,a){return e.wrapAround?i:Math.min(Math.max(i,a),s)}function P_({slidesBuffer:e,currentSlide:i,snapAlign:s,itemsToShow:a,wrapAround:l,slidesCount:c}){let h=e.indexOf(i);if(h===-1&&(h=e.indexOf(Math.ceil(i))),s==="center"||s==="center-odd"?h-=(a-1)/2:s==="center-even"?h-=(a-2)/2:s==="end"&&(h-=a-1),!l){const p=c-a,d=0;h=Math.max(Math.min(h,p),d)}return h}var L_=To({name:"Carousel",props:{itemsToShow:{default:re.itemsToShow,type:Number},itemsToScroll:{default:re.itemsToScroll,type:Number},wrapAround:{default:re.wrapAround,type:Boolean},snapAlign:{default:re.snapAlign,validator(e){return["start","end","center","center-even","center-odd"].includes(e)}},transition:{default:re.transition,type:Number},breakpoints:{default:re.breakpoints,type:Object},autoplay:{default:re.autoplay,type:Number},pauseAutoplayOnHover:{default:re.pauseAutoplayOnHover,type:Boolean},modelValue:{default:void 0,type:Number},mouseDrag:{default:re.mouseDrag,type:Boolean},touchDrag:{default:re.touchDrag,type:Boolean},dir:{default:re.dir,validator(e){return["rtl","ltr"].includes(e)}},settings:{default(){return{}},type:Object}},setup(e,{slots:i,emit:s,expose:a}){var l;const c=Q(null),h=Q([]),p=Q([]),d=Q(0),m=Q(1),v=Q(null),y=Q(null);let A=Q({}),E=Object.assign({},re);const M=me(Object.assign({},E)),R=Q((l=M.modelValue)!==null&&l!==void 0?l:0),H=Q(0),j=Q(0),Y=Q(0),X=Q(0);de("config",M),de("slidesBuffer",p),de("slidesCount",m),de("currentSlide",R),de("maxSlide",Y),de("minSlide",X);function dt(){const C=Object.assign(Object.assign({},e),e.settings);A=Q(Object.assign({},C.breakpoints)),E=Object.assign(Object.assign({},C),{settings:void 0,breakpoints:void 0}),Ft(E)}function Ot(){const C=Object.keys(A.value).map(O=>Number(O)).sort((O,Z)=>+Z-+O);let N=Object.assign({},E);C.some(O=>window.matchMedia(`(min-width: ${O}px)`).matches?(N=Object.assign(Object.assign({},N),A.value[O]),!0):!1),Ft(N)}function Ft(C){for(let N in C)M[N]=C[N]}const ie=y_(()=>{A.value&&(Ot(),Ht()),oe()},16);function oe(){if(!c.value)return;const C=c.value.getBoundingClientRect();d.value=C.width/M.itemsToShow}function Ht(){m.value=Math.max(h.value.length,1),!(m.value<=0)&&(j.value=Math.ceil((m.value-1)/2),Y.value=x_(M,m.value),X.value=b_(M),R.value=Ka(M,R.value,Y.value,X.value))}function Yt(){const C=[...Array(m.value).keys()];if(M.wrapAround&&M.itemsToShow+1<=m.value){let Z=(M.itemsToShow!==1?Math.round((m.value-M.itemsToShow)/2):0)-R.value;if(M.snapAlign==="end"?Z+=Math.floor(M.itemsToShow-1):(M.snapAlign==="center"||M.snapAlign==="center-odd")&&Z++,Z<0)for(let I=Z;I<0;I++)C.push(Number(C.shift()));else for(let I=0;I<Z;I++)C.unshift(Number(C.pop()))}p.value=C}Xs(()=>{A.value&&(Ot(),Ht()),Ys(()=>setTimeout(oe,16)),M.autoplay&&M.autoplay>0&&It(),window.addEventListener("resize",ie,{passive:!0})}),Js(()=>{y.value&&clearTimeout(y.value),At(!1)});let ft=!1;const Lt={x:0,y:0},le={x:0,y:0},Rt=me({x:0,y:0}),ge=Q(!1),ut=Q(!1),pt=()=>{ut.value=!0},U=()=>{ut.value=!1};function Kt(C){ft=C.type==="touchstart",!(!ft&&C.button!==0||xt.value)&&(ge.value=!0,Lt.x=ft?C.touches[0].clientX:C.clientX,Lt.y=ft?C.touches[0].clientY:C.clientY,document.addEventListener(ft?"touchmove":"mousemove",et,!0),document.addEventListener(ft?"touchend":"mouseup",ct,!0))}const et=w_(C=>{le.x=ft?C.touches[0].clientX:C.clientX,le.y=ft?C.touches[0].clientY:C.clientY;const N=le.x-Lt.x,O=le.y-Lt.y;Rt.y=O,Rt.x=N},16);function ct(){ge.value=!1;const C=M.dir==="rtl"?-1:1,N=Math.sign(Rt.x)*.4,O=Math.round(Rt.x/d.value+N)*C;let Z=Ka(M,R.value-O,Y.value,X.value);if(O){const I=q=>{q.stopPropagation(),window.removeEventListener("click",I,!0)};window.addEventListener("click",I,!0)}P(Z),Rt.x=0,Rt.y=0,document.removeEventListener(ft?"touchmove":"mousemove",et,!0),document.removeEventListener(ft?"touchend":"mouseup",ct,!0)}function It(){v.value=setInterval(()=>{M.pauseAutoplayOnHover&&ut.value||F()},M.autoplay)}function At(C=!0){!v.value||(clearInterval(v.value),C&&It())}const xt=Q(!1);function P(C,N=!1){if(At(),R.value===C||xt.value)return;const O=m.value-1;if(C>O)return P(C-m.value);if(C<0)return P(C+m.value);xt.value=!0,H.value=R.value,R.value=C,N||s("update:modelValue",R.value),y.value=setTimeout(()=>{M.wrapAround&&Yt(),xt.value=!1},M.transition)}function F(){let C=R.value+M.itemsToScroll;M.wrapAround||(C=Math.min(C,Y.value)),P(C)}function D(){let C=R.value-M.itemsToScroll;M.wrapAround||(C=Math.max(C,X.value)),P(C)}const W={slideTo:P,next:F,prev:D};de("nav",W);const vt=ee(()=>P_({slidesBuffer:p.value,itemsToShow:M.itemsToShow,snapAlign:M.snapAlign,wrapAround:Boolean(M.wrapAround),currentSlide:R.value,slidesCount:m.value}));de("slidesToScroll",vt);const yt=ee(()=>{const C=M.dir==="rtl"?-1:1,N=vt.value*d.value*C;return{transform:`translateX(${Rt.x-N}px)`,transition:`${xt.value?M.transition:0}ms`}});function nt(){dt()}function J(){dt(),Ot(),Ht(),Yt(),oe()}function _(){Ht(),Yt()}Un(()=>Object.values(e),J),nt(),Ah(()=>{const C=m.value!==h.value.length;e.modelValue!==void 0&&R.value!==e.modelValue&&P(Number(e.modelValue),!0),C&&_()});const w={config:M,slidesBuffer:p,slidesCount:m,slideWidth:d,currentSlide:R,maxSlide:Y,minSlide:X,middleSlide:j};a({updateBreakpointsConfigs:Ot,updateSlidesData:Ht,updateSlideWidth:oe,updateSlidesBuffer:Yt,initCarousel:nt,restartCarousel:J,updateCarousel:_,slideTo:P,next:F,prev:D,nav:W,data:w});const T=i.default||i.slides,B=i.addons,k=me(w);return()=>{const C=A_(T==null?void 0:T(k)),N=(B==null?void 0:B(k))||[];h.value=C,C.forEach((I,q)=>I.props.index=q);const O=ce("ol",{class:"carousel__track",style:yt.value,onMousedown:M.mouseDrag?Kt:null,onTouchstart:M.touchDrag?Kt:null},C),Z=ce("div",{class:"carousel__viewport"},O);return ce("section",{ref:c,class:{carousel:!0,"carousel--rtl":M.dir==="rtl"},dir:M.dir,"aria-label":"Gallery",onMouseenter:pt,onMouseleave:U},[Z,N])}}});const T_={arrowUp:"M7.41 15.41L12 10.83l4.59 4.58L18 14l-6-6-6 6z",arrowDown:"M7.41 8.59L12 13.17l4.59-4.58L18 10l-6 6-6-6 1.41-1.41z",arrowRight:"M8.59 16.59L13.17 12 8.59 7.41 10 6l6 6-6 6-1.41-1.41z",arrowLeft:"M15.41 16.59L10.83 12l4.58-4.59L14 6l-6 6 6 6 1.41-1.41z"},Rs=e=>{const i=e.name;if(!i||typeof i!="string")return;const s=T_[i],a=ce("path",{d:s}),l=e.title||i,c=ce("title",null,i);return ce("svg",{class:"carousel__icon",viewBox:"0 0 24 24",role:"img",ariaLabel:l},[c,a])};Rs.props={name:String,title:String};const C_=(e,{slots:i,attrs:s})=>{const{next:a,prev:l}=i,c=$t("config",me(Object.assign({},re))),h=$t("maxSlide",Q(1)),p=$t("minSlide",Q(1)),d=$t("currentSlide",Q(1)),m=$t("nav",{}),v=c.dir==="rtl",y=ce("button",{type:"button",class:["carousel__prev",!c.wrapAround&&d.value<=p.value&&"carousel__prev--in-active",s==null?void 0:s.class],"aria-label":"Navigate to previous slide",onClick:m.prev},(l==null?void 0:l())||ce(Rs,{name:v?"arrowRight":"arrowLeft"})),A=ce("button",{type:"button",class:["carousel__next",!c.wrapAround&&d.value>=h.value&&"carousel__next--in-active",s==null?void 0:s.class],"aria-label":"Navigate to next slide",onClick:m.next},(a==null?void 0:a())||ce(Rs,{name:v?"arrowLeft":"arrowRight"}));return[y,A]};var E_=To({name:"CarouselSlide",props:{index:{type:Number,default:1}},setup(e,{slots:i}){const s=$t("config",me(Object.assign({},re))),a=$t("slidesBuffer",Q([])),l=$t("currentSlide",Q(0)),c=$t("slidesToScroll",Q(0)),h=Q(e.index);s.wrapAround&&(p(),Un(a,p));function p(){h.value=a.value.indexOf(e.index)}const d=ee(()=>{const E=s.itemsToShow;return{width:`${1/E*100}%`,order:h.value.toString()}}),m=()=>e.index===l.value,v=()=>{const E=Math.ceil(c.value),M=Math.floor(c.value+s.itemsToShow);return a.value.slice(E,M).includes(e.index)},y=()=>e.index===a.value[Math.ceil(c.value)-1],A=()=>e.index===a.value[Math.floor(c.value+s.itemsToShow)];return()=>{var E;return ce("li",{style:d.value,class:{carousel__slide:!0,"carousel__slide--active":m(),"carousel__slide--visible":v(),"carousel__slide--prev":y(),"carousel__slide--next":A()}},(E=i.default)===null||E===void 0?void 0:E.call(i))}}});const Bo=e=>(Pn("data-v-e5af4a7c"),e=e(),Ln(),e),S_={class:"w-2/4 m-auto mt-10 mb-14 bg-gray-300"},M_=Bo(()=>x("h2",{class:"bg-black text-white text-xl mb-5 px-2"},"AR\u30AD\u30E3\u30E9\u30AF\u30BF\u30FC\u9078\u629E",-1)),k_={class:"flex flex-col justify-center items-center mt-20"},I_={class:"carousel__item w-5/6 h-full flex-col"},B_=["src"],O_=["id","value"],R_=["for"],z_={id:"model-preview",class:"w-4/5 mb-10 object-cover"},Z_={class:"w-2/4 m-auto mt-10 mb-14 bg-gray-300"},N_=Bo(()=>x("h2",{class:"bg-black text-white text-xl mb-5 px-2"},"AR\u30AD\u30E3\u30E9\u30AF\u30BF\u30FC\u30A2\u30C3\u30D7\u30ED\u30FC\u30C9",-1)),D_={class:"flex flex-col justify-center items-center"},F_=["onDrop"],H_=["src"],U_={key:0,class:"text-[#aaa] text-center"},j_=Vt(" \u30AD\u30E3\u30E9\u30AF\u30BF\u30FC\u3092\u30C9\u30E9\u30C3\u30B0\uFF06\u30C9\u30ED\u30C3\u30D7 "),W_=Bo(()=>x("br",null,null,-1)),K_=Vt("\u307E\u305F\u306F\u30AF\u30EA\u30C3\u30AF\u3067\u30D5\u30A1\u30A4\u30EB\u9078\u629E "),V_=[j_,W_,K_],q_=Bo(()=>x("div",{class:"flex justify-center items-center"},[x("button",{class:"w-48 h-12 mb-10 btn-gray"},"\u4FDD\u5B58")],-1)),$_={__name:"SettingAR",setup(e){let i=Q(!1);const s=R=>{const H=document.getElementById("model-preview");i.value=!0,R.target.value==="tpl-0"?H.src=c[0]:R.target.value==="tpl-1"?H.src=c[1]:H.src=c[2]},a=()=>{const R=document.getElementById("model-preview");R.src="";for(const H of document.getElementsByName("model-tpl"))H.checked=!1;i.value=!1},l={0:{itemsToShow:1},750:{itemsToShow:2.1}};let c=["./images/tpl-1.png","./images/tpl-2.png","./images/tpl-3.png"];window.onbeforeunload=R=>{R.returnValue="\u672C\u5F53\u306B\u30DA\u30FC\u30B8\u3092\u9589\u3058\u307E\u3059\u304B\uFF1F"};let h=Q(!1),p=Q(""),d=Q("");const m=Q(""),v=()=>{h.value=!0},y=()=>{h.value=!1},A=R=>{const H=new FileReader;H.onload=j=>{p.value=j.target.result},H.readAsDataURL(R)},E=R=>{h.value=!1,m.value=R.dataTransfer.files,A(m.value[0]),d.value=m.value[0].name},M=R=>{m.value=R.target.files||R.dataTransfer.files,A(m.value[0]),d.value=m.value[0].name};return(R,H)=>(Bt(),Zt("div",null,[kt(Ii),x("div",S_,[M_,x("div",k_,[kt(it(L_),{"wrap-around":!0,breakpoints:l,class:"mb-10"},{addons:on(()=>[kt(it(C_))]),default:on(()=>[(Bt(!0),Zt(pe,null,tr(it(c),(j,Y)=>(Bt(),Nl(it(E_),{key:j},{default:on(()=>[x("div",I_,[x("img",{src:j,class:"object-cover"},null,8,B_),We(x("input",{id:"tpl"+Y,"onUpdate:modelValue":H[0]||(H[0]=X=>R.tpl=X),type:"radio",name:"model-tpl",value:"tpl-"+Y,class:"opacity-0",onChange:s},null,40,O_),[[ks,R.tpl]]),x("label",{for:"tpl"+Y,class:"w-20 btn-gray text-center text-xl"}," \u9078\u629E ",8,R_)])]),_:2},1024))),128))]),_:1}),We(x("img",z_,null,512),[[mo,it(i)]]),x("button",{class:"btn-gray mb-8 text-xl p-3",onClick:a},"\u30EA\u30BB\u30C3\u30C8")])]),x("div",Z_,[N_,x("div",D_,[x("div",{class:_e(["flex flex-col justify-center items-center w-[40vmin] h-[40vmin] bg-[#eee] mb-5 relative",{enter:it(h)}]),onDragenter:v,onDragleave:y,onDragover:H[1]||(H[1]=Kn(()=>{},["prevent"])),onDrop:Kn(E,["prevent"])},[We(x("img",{src:it(p),class:"py-2 object-cover max-h-[40vmin] max-w-[40vmin]"},null,8,H_),[[mo,it(p)]]),x("p",null,xn(it(d)),1),x("input",{ref:"preview",type:"file",accept:".gltf .obj",class:"w-full h-full absolute top-0 left-0 opacity-0 cursor-pointer",onChange:M},null,544),it(p)?je("",!0):(Bt(),Zt("p",U_,V_))],42,F_)])]),q_]))}},G_=qe($_,[["__scopeId","data-v-e5af4a7c"]]);var Y_=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},zs={exports:{}};/* @preserve
 * Leaflet 1.8.0, a JS library for interactive maps. https://leafletjs.com
 * (c) 2010-2022 Vladimir Agafonkin, (c) 2010-2011 CloudMade
 */(function(e,i){(function(s,a){a(i)})(Y_,function(s){var a="1.8.0";function l(t){var n,o,r,u;for(o=1,r=arguments.length;o<r;o++){u=arguments[o];for(n in u)t[n]=u[n]}return t}var c=Object.create||function(){function t(){}return function(n){return t.prototype=n,new t}}();function h(t,n){var o=Array.prototype.slice;if(t.bind)return t.bind.apply(t,o.call(arguments,1));var r=o.call(arguments,2);return function(){return t.apply(n,r.length?r.concat(o.call(arguments)):arguments)}}var p=0;function d(t){return"_leaflet_id"in t||(t._leaflet_id=++p),t._leaflet_id}function m(t,n,o){var r,u,f,g;return g=function(){r=!1,u&&(f.apply(o,u),u=!1)},f=function(){r?u=arguments:(t.apply(o,arguments),setTimeout(g,n),r=!0)},f}function v(t,n,o){var r=n[1],u=n[0],f=r-u;return t===r&&o?t:((t-u)%f+f)%f+u}function y(){return!1}function A(t,n){if(n===!1)return t;var o=Math.pow(10,n===void 0?6:n);return Math.round(t*o)/o}function E(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}function M(t){return E(t).split(/\s+/)}function R(t,n){Object.prototype.hasOwnProperty.call(t,"options")||(t.options=t.options?c(t.options):{});for(var o in n)t.options[o]=n[o];return t.options}function H(t,n,o){var r=[];for(var u in t)r.push(encodeURIComponent(o?u.toUpperCase():u)+"="+encodeURIComponent(t[u]));return(!n||n.indexOf("?")===-1?"?":"&")+r.join("&")}var j=/\{ *([\w_ -]+) *\}/g;function Y(t,n){return t.replace(j,function(o,r){var u=n[r];if(u===void 0)throw new Error("No value provided for variable "+o);return typeof u=="function"&&(u=u(n)),u})}var X=Array.isArray||function(t){return Object.prototype.toString.call(t)==="[object Array]"};function dt(t,n){for(var o=0;o<t.length;o++)if(t[o]===n)return o;return-1}var Ot="data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs=";function Ft(t){return window["webkit"+t]||window["moz"+t]||window["ms"+t]}var ie=0;function oe(t){var n=+new Date,o=Math.max(0,16-(n-ie));return ie=n+o,window.setTimeout(t,o)}var Ht=window.requestAnimationFrame||Ft("RequestAnimationFrame")||oe,Yt=window.cancelAnimationFrame||Ft("CancelAnimationFrame")||Ft("CancelRequestAnimationFrame")||function(t){window.clearTimeout(t)};function ft(t,n,o){if(o&&Ht===oe)t.call(n);else return Ht.call(window,h(t,n))}function Lt(t){t&&Yt.call(window,t)}var le={__proto__:null,extend:l,create:c,bind:h,get lastId(){return p},stamp:d,throttle:m,wrapNum:v,falseFn:y,formatNum:A,trim:E,splitWords:M,setOptions:R,getParamString:H,template:Y,isArray:X,indexOf:dt,emptyImageUrl:Ot,requestFn:Ht,cancelFn:Yt,requestAnimFrame:ft,cancelAnimFrame:Lt};function Rt(){}Rt.extend=function(t){var n=function(){R(this),this.initialize&&this.initialize.apply(this,arguments),this.callInitHooks()},o=n.__super__=this.prototype,r=c(o);r.constructor=n,n.prototype=r;for(var u in this)Object.prototype.hasOwnProperty.call(this,u)&&u!=="prototype"&&u!=="__super__"&&(n[u]=this[u]);return t.statics&&l(n,t.statics),t.includes&&(ge(t.includes),l.apply(null,[r].concat(t.includes))),l(r,t),delete r.statics,delete r.includes,r.options&&(r.options=o.options?c(o.options):{},l(r.options,t.options)),r._initHooks=[],r.callInitHooks=function(){if(!this._initHooksCalled){o.callInitHooks&&o.callInitHooks.call(this),this._initHooksCalled=!0;for(var f=0,g=r._initHooks.length;f<g;f++)r._initHooks[f].call(this)}},n},Rt.include=function(t){var n=this.prototype.options;return l(this.prototype,t),t.options&&(this.prototype.options=n,this.mergeOptions(t.options)),this},Rt.mergeOptions=function(t){return l(this.prototype.options,t),this},Rt.addInitHook=function(t){var n=Array.prototype.slice.call(arguments,1),o=typeof t=="function"?t:function(){this[t].apply(this,n)};return this.prototype._initHooks=this.prototype._initHooks||[],this.prototype._initHooks.push(o),this};function ge(t){if(!(typeof L>"u"||!L||!L.Mixin)){t=X(t)?t:[t];for(var n=0;n<t.length;n++)t[n]===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 ut={on:function(t,n,o){if(typeof t=="object")for(var r in t)this._on(r,t[r],n);else{t=M(t);for(var u=0,f=t.length;u<f;u++)this._on(t[u],n,o)}return this},off:function(t,n,o){if(!arguments.length)delete this._events;else if(typeof t=="object")for(var r in t)this._off(r,t[r],n);else{t=M(t);for(var u=arguments.length===1,f=0,g=t.length;f<g;f++)u?this._off(t[f]):this._off(t[f],n,o)}return this},_on:function(t,n,o){if(typeof n!="function"){console.warn("wrong listener type: "+typeof n);return}this._events=this._events||{};var r=this._events[t];r||(r=[],this._events[t]=r),o===this&&(o=void 0);for(var u={fn:n,ctx:o},f=r,g=0,b=f.length;g<b;g++)if(f[g].fn===n&&f[g].ctx===o)return;f.push(u)},_off:function(t,n,o){var r,u,f;if(!!this._events&&(r=this._events[t],!!r)){if(arguments.length===1){if(this._firingCount)for(u=0,f=r.length;u<f;u++)r[u].fn=y;delete this._events[t];return}if(o===this&&(o=void 0),typeof n!="function"){console.warn("wrong listener type: "+typeof n);return}for(u=0,f=r.length;u<f;u++){var g=r[u];if(g.ctx===o&&g.fn===n){this._firingCount&&(g.fn=y,this._events[t]=r=r.slice()),r.splice(u,1);return}}console.warn("listener not found")}},fire:function(t,n,o){if(!this.listens(t,o))return this;var r=l({},n,{type:t,target:this,sourceTarget:n&&n.sourceTarget||this});if(this._events){var u=this._events[t];if(u){this._firingCount=this._firingCount+1||1;for(var f=0,g=u.length;f<g;f++){var b=u[f];b.fn.call(b.ctx||this,r)}this._firingCount--}}return o&&this._propagateEvent(r),this},listens:function(t,n){typeof t!="string"&&console.warn('"string" type argument expected');var o=this._events&&this._events[t];if(o&&o.length)return!0;if(n){for(var r in this._eventParents)if(this._eventParents[r].listens(t,n))return!0}return!1},once:function(t,n,o){if(typeof t=="object"){for(var r in t)this.once(r,t[r],n);return this}var u=h(function(){this.off(t,n,o).off(t,u,o)},this);return this.on(t,n,o).on(t,u,o)},addEventParent:function(t){return this._eventParents=this._eventParents||{},this._eventParents[d(t)]=t,this},removeEventParent:function(t){return this._eventParents&&delete this._eventParents[d(t)],this},_propagateEvent:function(t){for(var n in this._eventParents)this._eventParents[n].fire(t.type,l({layer:t.target,propagatedFrom:t.target},t),!0)}};ut.addEventListener=ut.on,ut.removeEventListener=ut.clearAllEventListeners=ut.off,ut.addOneTimeEventListener=ut.once,ut.fireEvent=ut.fire,ut.hasEventListeners=ut.listens;var pt=Rt.extend(ut);function U(t,n,o){this.x=o?Math.round(t):t,this.y=o?Math.round(n):n}var Kt=Math.trunc||function(t){return t>0?Math.floor(t):Math.ceil(t)};U.prototype={clone:function(){return new U(this.x,this.y)},add:function(t){return this.clone()._add(et(t))},_add:function(t){return this.x+=t.x,this.y+=t.y,this},subtract:function(t){return this.clone()._subtract(et(t))},_subtract:function(t){return this.x-=t.x,this.y-=t.y,this},divideBy:function(t){return this.clone()._divideBy(t)},_divideBy:function(t){return this.x/=t,this.y/=t,this},multiplyBy:function(t){return this.clone()._multiplyBy(t)},_multiplyBy:function(t){return this.x*=t,this.y*=t,this},scaleBy:function(t){return new U(this.x*t.x,this.y*t.y)},unscaleBy:function(t){return new U(this.x/t.x,this.y/t.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=Kt(this.x),this.y=Kt(this.y),this},distanceTo:function(t){t=et(t);var n=t.x-this.x,o=t.y-this.y;return Math.sqrt(n*n+o*o)},equals:function(t){return t=et(t),t.x===this.x&&t.y===this.y},contains:function(t){return t=et(t),Math.abs(t.x)<=Math.abs(this.x)&&Math.abs(t.y)<=Math.abs(this.y)},toString:function(){return"Point("+A(this.x)+", "+A(this.y)+")"}};function et(t,n,o){return t instanceof U?t:X(t)?new U(t[0],t[1]):t==null?t:typeof t=="object"&&"x"in t&&"y"in t?new U(t.x,t.y):new U(t,n,o)}function ct(t,n){if(!!t)for(var o=n?[t,n]:t,r=0,u=o.length;r<u;r++)this.extend(o[r])}ct.prototype={extend:function(t){return t=et(t),!this.min&&!this.max?(this.min=t.clone(),this.max=t.clone()):(this.min.x=Math.min(t.x,this.min.x),this.max.x=Math.max(t.x,this.max.x),this.min.y=Math.min(t.y,this.min.y),this.max.y=Math.max(t.y,this.max.y)),this},getCenter:function(t){return new U((this.min.x+this.max.x)/2,(this.min.y+this.max.y)/2,t)},getBottomLeft:function(){return new U(this.min.x,this.max.y)},getTopRight:function(){return new U(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(t){var n,o;return typeof t[0]=="number"||t instanceof U?t=et(t):t=It(t),t instanceof ct?(n=t.min,o=t.max):n=o=t,n.x>=this.min.x&&o.x<=this.max.x&&n.y>=this.min.y&&o.y<=this.max.y},intersects:function(t){t=It(t);var n=this.min,o=this.max,r=t.min,u=t.max,f=u.x>=n.x&&r.x<=o.x,g=u.y>=n.y&&r.y<=o.y;return f&&g},overlaps:function(t){t=It(t);var n=this.min,o=this.max,r=t.min,u=t.max,f=u.x>n.x&&r.x<o.x,g=u.y>n.y&&r.y<o.y;return f&&g},isValid:function(){return!!(this.min&&this.max)}};function It(t,n){return!t||t instanceof ct?t:new ct(t,n)}function At(t,n){if(!!t)for(var o=n?[t,n]:t,r=0,u=o.length;r<u;r++)this.extend(o[r])}At.prototype={extend:function(t){var n=this._southWest,o=this._northEast,r,u;if(t instanceof P)r=t,u=t;else if(t instanceof At){if(r=t._southWest,u=t._northEast,!r||!u)return this}else return t?this.extend(F(t)||xt(t)):this;return!n&&!o?(this._southWest=new P(r.lat,r.lng),this._northEast=new P(u.lat,u.lng)):(n.lat=Math.min(r.lat,n.lat),n.lng=Math.min(r.lng,n.lng),o.lat=Math.max(u.lat,o.lat),o.lng=Math.max(u.lng,o.lng)),this},pad:function(t){var n=this._southWest,o=this._northEast,r=Math.abs(n.lat-o.lat)*t,u=Math.abs(n.lng-o.lng)*t;return new At(new P(n.lat-r,n.lng-u),new P(o.lat+r,o.lng+u))},getCenter:function(){return new P((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 P(this.getNorth(),this.getWest())},getSouthEast:function(){return new P(this.getSouth(),this.getEast())},getWest:function(){return this._southWest.lng},getSouth:function(){return this._southWest.lat},getEast:function(){return this._northEast.lng},getNorth:function(){return this._northEast.lat},contains:function(t){typeof t[0]=="number"||t instanceof P||"lat"in t?t=F(t):t=xt(t);var n=this._southWest,o=this._northEast,r,u;return t instanceof At?(r=t.getSouthWest(),u=t.getNorthEast()):r=u=t,r.lat>=n.lat&&u.lat<=o.lat&&r.lng>=n.lng&&u.lng<=o.lng},intersects:function(t){t=xt(t);var n=this._southWest,o=this._northEast,r=t.getSouthWest(),u=t.getNorthEast(),f=u.lat>=n.lat&&r.lat<=o.lat,g=u.lng>=n.lng&&r.lng<=o.lng;return f&&g},overlaps:function(t){t=xt(t);var n=this._southWest,o=this._northEast,r=t.getSouthWest(),u=t.getNorthEast(),f=u.lat>n.lat&&r.lat<o.lat,g=u.lng>n.lng&&r.lng<o.lng;return f&&g},toBBoxString:function(){return[this.getWest(),this.getSouth(),this.getEast(),this.getNorth()].join(",")},equals:function(t,n){return t?(t=xt(t),this._southWest.equals(t.getSouthWest(),n)&&this._northEast.equals(t.getNorthEast(),n)):!1},isValid:function(){return!!(this._southWest&&this._northEast)}};function xt(t,n){return t instanceof At?t:new At(t,n)}function P(t,n,o){if(isNaN(t)||isNaN(n))throw new Error("Invalid LatLng object: ("+t+", "+n+")");this.lat=+t,this.lng=+n,o!==void 0&&(this.alt=+o)}P.prototype={equals:function(t,n){if(!t)return!1;t=F(t);var o=Math.max(Math.abs(this.lat-t.lat),Math.abs(this.lng-t.lng));return o<=(n===void 0?1e-9:n)},toString:function(t){return"LatLng("+A(this.lat,t)+", "+A(this.lng,t)+")"},distanceTo:function(t){return W.distance(this,F(t))},wrap:function(){return W.wrapLatLng(this)},toBounds:function(t){var n=180*t/40075017,o=n/Math.cos(Math.PI/180*this.lat);return xt([this.lat-n,this.lng-o],[this.lat+n,this.lng+o])},clone:function(){return new P(this.lat,this.lng,this.alt)}};function F(t,n,o){return t instanceof P?t:X(t)&&typeof t[0]!="object"?t.length===3?new P(t[0],t[1],t[2]):t.length===2?new P(t[0],t[1]):null:t==null?t:typeof t=="object"&&"lat"in t?new P(t.lat,"lng"in t?t.lng:t.lon,t.alt):n===void 0?null:new P(t,n,o)}var D={latLngToPoint:function(t,n){var o=this.projection.project(t),r=this.scale(n);return this.transformation._transform(o,r)},pointToLatLng:function(t,n){var o=this.scale(n),r=this.transformation.untransform(t,o);return this.projection.unproject(r)},project:function(t){return this.projection.project(t)},unproject:function(t){return this.projection.unproject(t)},scale:function(t){return 256*Math.pow(2,t)},zoom:function(t){return Math.log(t/256)/Math.LN2},getProjectedBounds:function(t){if(this.infinite)return null;var n=this.projection.bounds,o=this.scale(t),r=this.transformation.transform(n.min,o),u=this.transformation.transform(n.max,o);return new ct(r,u)},infinite:!1,wrapLatLng:function(t){var n=this.wrapLng?v(t.lng,this.wrapLng,!0):t.lng,o=this.wrapLat?v(t.lat,this.wrapLat,!0):t.lat,r=t.alt;return new P(o,n,r)},wrapLatLngBounds:function(t){var n=t.getCenter(),o=this.wrapLatLng(n),r=n.lat-o.lat,u=n.lng-o.lng;if(r===0&&u===0)return t;var f=t.getSouthWest(),g=t.getNorthEast(),b=new P(f.lat-r,f.lng-u),S=new P(g.lat-r,g.lng-u);return new At(b,S)}},W=l({},D,{wrapLng:[-180,180],R:6371e3,distance:function(t,n){var o=Math.PI/180,r=t.lat*o,u=n.lat*o,f=Math.sin((n.lat-t.lat)*o/2),g=Math.sin((n.lng-t.lng)*o/2),b=f*f+Math.cos(r)*Math.cos(u)*g*g,S=2*Math.atan2(Math.sqrt(b),Math.sqrt(1-b));return this.R*S}}),vt=6378137,yt={R:vt,MAX_LATITUDE:85.0511287798,project:function(t){var n=Math.PI/180,o=this.MAX_LATITUDE,r=Math.max(Math.min(o,t.lat),-o),u=Math.sin(r*n);return new U(this.R*t.lng*n,this.R*Math.log((1+u)/(1-u))/2)},unproject:function(t){var n=180/Math.PI;return new P((2*Math.atan(Math.exp(t.y/this.R))-Math.PI/2)*n,t.x*n/this.R)},bounds:function(){var t=vt*Math.PI;return new ct([-t,-t],[t,t])}()};function nt(t,n,o,r){if(X(t)){this._a=t[0],this._b=t[1],this._c=t[2],this._d=t[3];return}this._a=t,this._b=n,this._c=o,this._d=r}nt.prototype={transform:function(t,n){return this._transform(t.clone(),n)},_transform:function(t,n){return n=n||1,t.x=n*(this._a*t.x+this._b),t.y=n*(this._c*t.y+this._d),t},untransform:function(t,n){return n=n||1,new U((t.x/n-this._b)/this._a,(t.y/n-this._d)/this._c)}};function J(t,n,o,r){return new nt(t,n,o,r)}var _=l({},W,{code:"EPSG:3857",projection:yt,transformation:function(){var t=.5/(Math.PI*yt.R);return J(t,.5,-t,.5)}()}),w=l({},_,{code:"EPSG:900913"});function T(t){return document.createElementNS("http://www.w3.org/2000/svg",t)}function B(t,n){var o="",r,u,f,g,b,S;for(r=0,f=t.length;r<f;r++){for(b=t[r],u=0,g=b.length;u<g;u++)S=b[u],o+=(u?"L":"M")+S.x+" "+S.y;o+=n?$.svg?"z":"x":""}return o||"M0 0"}var k=document.documentElement.style,C="ActiveXObject"in window,N=C&&!document.addEventListener,O="msLaunchUri"in navigator&&!("documentMode"in document),Z=Ce("webkit"),I=Ce("android"),q=Ce("android 2")||Ce("android 3"),K=parseInt(/WebKit\/([0-9]+)|$/.exec(navigator.userAgent)[1],10),G=I&&Ce("Google")&&K<537&&!("AudioNode"in window),tt=!!window.opera,ht=!O&&Ce("chrome"),bt=Ce("gecko")&&!Z&&!tt&&!C,Tt=!ht&&Ce("safari"),Ct=Ce("phantom"),se="OTransition"in k,$e=navigator.platform.indexOf("Win")===0,Jn=C&&"transition"in k,Re="WebKitCSSMatrix"in window&&"m11"in new window.WebKitCSSMatrix&&!q,ti="MozPerspective"in k,Jt=!window.L_DISABLE_3D&&(Jn||Re||ti)&&!se&&!Ct,Qt=typeof orientation<"u"||Ce("mobile"),Bi=Qt&&Z,nu=Qt&&Re,rr=!window.PointerEvent&&window.MSPointerEvent,ar=!!(window.PointerEvent||rr),lr="ontouchstart"in window||!!window.TouchEvent,iu=!window.L_NO_TOUCH&&(lr||ar),ou=Qt&&tt,su=Qt&&bt,ru=(window.devicePixelRatio||window.screen.deviceXDPI/window.screen.logicalXDPI)>1,au=function(){var t=!1;try{var n=Object.defineProperty({},"passive",{get:function(){t=!0}});window.addEventListener("testPassiveEventSupport",y,n),window.removeEventListener("testPassiveEventSupport",y,n)}catch{}return t}(),lu=function(){return!!document.createElement("canvas").getContext}(),Oo=!!(document.createElementNS&&T("svg").createSVGRect),uu=!!Oo&&function(){var t=document.createElement("div");return t.innerHTML="<svg/>",(t.firstChild&&t.firstChild.namespaceURI)==="http://www.w3.org/2000/svg"}(),cu=!Oo&&function(){try{var t=document.createElement("div");t.innerHTML='<v:shape adj="1"/>';var n=t.firstChild;return n.style.behavior="url(#default#VML)",n&&typeof n.adj=="object"}catch{return!1}}();function Ce(t){return navigator.userAgent.toLowerCase().indexOf(t)>=0}var $={ie:C,ielt9:N,edge:O,webkit:Z,android:I,android23:q,androidStock:G,opera:tt,chrome:ht,gecko:bt,safari:Tt,phantom:Ct,opera12:se,win:$e,ie3d:Jn,webkit3d:Re,gecko3d:ti,any3d:Jt,mobile:Qt,mobileWebkit:Bi,mobileWebkit3d:nu,msPointer:rr,pointer:ar,touch:iu,touchNative:lr,mobileOpera:ou,mobileGecko:su,retina:ru,passiveEvents:au,canvas:lu,svg:Oo,vml:cu,inlineSvg:uu},ur=$.msPointer?"MSPointerDown":"pointerdown",cr=$.msPointer?"MSPointerMove":"pointermove",hr=$.msPointer?"MSPointerUp":"pointerup",fr=$.msPointer?"MSPointerCancel":"pointercancel",Ro={touchstart:ur,touchmove:cr,touchend:hr,touchcancel:fr},dr={touchstart:mu,touchmove:Oi,touchend:Oi,touchcancel:Oi},Tn={},pr=!1;function hu(t,n,o){return n==="touchstart"&&_u(),dr[n]?(o=dr[n].bind(this,o),t.addEventListener(Ro[n],o,!1),o):(console.warn("wrong event specified:",n),L.Util.falseFn)}function fu(t,n,o){if(!Ro[n]){console.warn("wrong event specified:",n);return}t.removeEventListener(Ro[n],o,!1)}function du(t){Tn[t.pointerId]=t}function pu(t){Tn[t.pointerId]&&(Tn[t.pointerId]=t)}function _r(t){delete Tn[t.pointerId]}function _u(){pr||(document.addEventListener(ur,du,!0),document.addEventListener(cr,pu,!0),document.addEventListener(hr,_r,!0),document.addEventListener(fr,_r,!0),pr=!0)}function Oi(t,n){if(n.pointerType!==(n.MSPOINTER_TYPE_MOUSE||"mouse")){n.touches=[];for(var o in Tn)n.touches.push(Tn[o]);n.changedTouches=[n],t(n)}}function mu(t,n){n.MSPOINTER_TYPE_TOUCH&&n.pointerType===n.MSPOINTER_TYPE_TOUCH&&Xt(n),Oi(t,n)}function gu(t){var n={},o,r;for(r in t)o=t[r],n[r]=o&&o.bind?o.bind(t):o;return t=n,n.type="dblclick",n.detail=2,n.isTrusted=!1,n._simulated=!0,n}var vu=200;function yu(t,n){t.addEventListener("dblclick",n);var o=0,r;function u(f){if(f.detail!==1){r=f.detail;return}if(!(f.pointerType==="mouse"||f.sourceCapabilities&&!f.sourceCapabilities.firesTouchEvents)){var g=Date.now();g-o<=vu?(r++,r===2&&n(gu(f))):r=1,o=g}}return t.addEventListener("click",u),{dblclick:n,simDblclick:u}}function wu(t,n){t.removeEventListener("dblclick",n.dblclick),t.removeEventListener("click",n.simDblclick)}var zo=Zi(["transform","webkitTransform","OTransform","MozTransform","msTransform"]),ei=Zi(["webkitTransition","transition","OTransition","MozTransition","msTransition"]),mr=ei==="webkitTransition"||ei==="OTransition"?ei+"End":"transitionend";function gr(t){return typeof t=="string"?document.getElementById(t):t}function ni(t,n){var o=t.style[n]||t.currentStyle&&t.currentStyle[n];if((!o||o==="auto")&&document.defaultView){var r=document.defaultView.getComputedStyle(t,null);o=r?r[n]:null}return o==="auto"?null:o}function wt(t,n,o){var r=document.createElement(t);return r.className=n||"",o&&o.appendChild(r),r}function zt(t){var n=t.parentNode;n&&n.removeChild(t)}function Ri(t){for(;t.firstChild;)t.removeChild(t.firstChild)}function Cn(t){var n=t.parentNode;n&&n.lastChild!==t&&n.appendChild(t)}function En(t){var n=t.parentNode;n&&n.firstChild!==t&&n.insertBefore(t,n.firstChild)}function Zo(t,n){if(t.classList!==void 0)return t.classList.contains(n);var o=zi(t);return o.length>0&&new RegExp("(^|\\s)"+n+"(\\s|$)").test(o)}function at(t,n){if(t.classList!==void 0)for(var o=M(n),r=0,u=o.length;r<u;r++)t.classList.add(o[r]);else if(!Zo(t,n)){var f=zi(t);No(t,(f?f+" ":"")+n)}}function Nt(t,n){t.classList!==void 0?t.classList.remove(n):No(t,E((" "+zi(t)+" ").replace(" "+n+" "," ")))}function No(t,n){t.className.baseVal===void 0?t.className=n:t.className.baseVal=n}function zi(t){return t.correspondingElement&&(t=t.correspondingElement),t.className.baseVal===void 0?t.className:t.className.baseVal}function fe(t,n){"opacity"in t.style?t.style.opacity=n:"filter"in t.style&&Au(t,n)}function Au(t,n){var o=!1,r="DXImageTransform.Microsoft.Alpha";try{o=t.filters.item(r)}catch{if(n===1)return}n=Math.round(n*100),o?(o.Enabled=n!==100,o.Opacity=n):t.style.filter+=" progid:"+r+"(opacity="+n+")"}function Zi(t){for(var n=document.documentElement.style,o=0;o<t.length;o++)if(t[o]in n)return t[o];return!1}function ln(t,n,o){var r=n||new U(0,0);t.style[zo]=($.ie3d?"translate("+r.x+"px,"+r.y+"px)":"translate3d("+r.x+"px,"+r.y+"px,0)")+(o?" scale("+o+")":"")}function Ut(t,n){t._leaflet_pos=n,$.any3d?ln(t,n):(t.style.left=n.x+"px",t.style.top=n.y+"px")}function un(t){return t._leaflet_pos||new U(0,0)}var ii,oi,Do;if("onselectstart"in document)ii=function(){st(window,"selectstart",Xt)},oi=function(){Mt(window,"selectstart",Xt)};else{var si=Zi(["userSelect","WebkitUserSelect","OUserSelect","MozUserSelect","msUserSelect"]);ii=function(){if(si){var t=document.documentElement.style;Do=t[si],t[si]="none"}},oi=function(){si&&(document.documentElement.style[si]=Do,Do=void 0)}}function Fo(){st(window,"dragstart",Xt)}function Ho(){Mt(window,"dragstart",Xt)}var Ni,Uo;function jo(t){for(;t.tabIndex===-1;)t=t.parentNode;!t.style||(Di(),Ni=t,Uo=t.style.outline,t.style.outline="none",st(window,"keydown",Di))}function Di(){!Ni||(Ni.style.outline=Uo,Ni=void 0,Uo=void 0,Mt(window,"keydown",Di))}function vr(t){do t=t.parentNode;while((!t.offsetWidth||!t.offsetHeight)&&t!==document.body);return t}function Wo(t){var n=t.getBoundingClientRect();return{x:n.width/t.offsetWidth||1,y:n.height/t.offsetHeight||1,boundingClientRect:n}}var xu={__proto__:null,TRANSFORM:zo,TRANSITION:ei,TRANSITION_END:mr,get:gr,getStyle:ni,create:wt,remove:zt,empty:Ri,toFront:Cn,toBack:En,hasClass:Zo,addClass:at,removeClass:Nt,setClass:No,getClass:zi,setOpacity:fe,testProp:Zi,setTransform:ln,setPosition:Ut,getPosition:un,get disableTextSelection(){return ii},get enableTextSelection(){return oi},disableImageDrag:Fo,enableImageDrag:Ho,preventOutline:jo,restoreOutline:Di,getSizedParentNode:vr,getScale:Wo};function st(t,n,o,r){if(n&&typeof n=="object")for(var u in n)Vo(t,u,n[u],o);else{n=M(n);for(var f=0,g=n.length;f<g;f++)Vo(t,n[f],o,r)}return this}var Ee="_leaflet_events";function Mt(t,n,o,r){if(arguments.length===1)yr(t),delete t[Ee];else if(n&&typeof n=="object")for(var u in n)qo(t,u,n[u],o);else if(n=M(n),arguments.length===2)yr(t,function(b){return dt(n,b)!==-1});else for(var f=0,g=n.length;f<g;f++)qo(t,n[f],o,r);return this}function yr(t,n){for(var o in t[Ee]){var r=o.split(/\d/)[0];(!n||n(r))&&qo(t,r,null,null,o)}}var Ko={mouseenter:"mouseover",mouseleave:"mouseout",wheel:!("onwheel"in window)&&"mousewheel"};function Vo(t,n,o,r){var u=n+d(o)+(r?"_"+d(r):"");if(t[Ee]&&t[Ee][u])return this;var f=function(b){return o.call(r||t,b||window.event)},g=f;!$.touchNative&&$.pointer&&n.indexOf("touch")===0?f=hu(t,n,f):$.touch&&n==="dblclick"?f=yu(t,f):"addEventListener"in t?n==="touchstart"||n==="touchmove"||n==="wheel"||n==="mousewheel"?t.addEventListener(Ko[n]||n,f,$.passiveEvents?{passive:!1}:!1):n==="mouseenter"||n==="mouseleave"?(f=function(b){b=b||window.event,Go(t,b)&&g(b)},t.addEventListener(Ko[n],f,!1)):t.addEventListener(n,g,!1):t.attachEvent("on"+n,f),t[Ee]=t[Ee]||{},t[Ee][u]=f}function qo(t,n,o,r,u){u=u||n+d(o)+(r?"_"+d(r):"");var f=t[Ee]&&t[Ee][u];if(!f)return this;!$.touchNative&&$.pointer&&n.indexOf("touch")===0?fu(t,n,f):$.touch&&n==="dblclick"?wu(t,f):"removeEventListener"in t?t.removeEventListener(Ko[n]||n,f,!1):t.detachEvent("on"+n,f),t[Ee][u]=null}function cn(t){return t.stopPropagation?t.stopPropagation():t.originalEvent?t.originalEvent._stopped=!0:t.cancelBubble=!0,this}function $o(t){return Vo(t,"wheel",cn),this}function ri(t){return st(t,"mousedown touchstart dblclick contextmenu",cn),t._leaflet_disable_click=!0,this}function Xt(t){return t.preventDefault?t.preventDefault():t.returnValue=!1,this}function hn(t){return Xt(t),cn(t),this}function wr(t,n){if(!n)return new U(t.clientX,t.clientY);var o=Wo(n),r=o.boundingClientRect;return new U((t.clientX-r.left)/o.x-n.clientLeft,(t.clientY-r.top)/o.y-n.clientTop)}var bu=$.win&&$.chrome?2*window.devicePixelRatio:$.gecko?window.devicePixelRatio:1;function Ar(t){return $.edge?t.wheelDeltaY/2:t.deltaY&&t.deltaMode===0?-t.deltaY/bu:t.deltaY&&t.deltaMode===1?-t.deltaY*20:t.deltaY&&t.deltaMode===2?-t.deltaY*60:t.deltaX||t.deltaZ?0:t.wheelDelta?(t.wheelDeltaY||t.wheelDelta)/2:t.detail&&Math.abs(t.detail)<32765?-t.detail*20:t.detail?t.detail/-32765*60:0}function Go(t,n){var o=n.relatedTarget;if(!o)return!0;try{for(;o&&o!==t;)o=o.parentNode}catch{return!1}return o!==t}var Pu={__proto__:null,on:st,off:Mt,stopPropagation:cn,disableScrollPropagation:$o,disableClickPropagation:ri,preventDefault:Xt,stop:hn,getMousePosition:wr,getWheelDelta:Ar,isExternalTarget:Go,addListener:st,removeListener:Mt},xr=pt.extend({run:function(t,n,o,r){this.stop(),this._el=t,this._inProgress=!0,this._duration=o||.25,this._easeOutPower=1/Math.max(r||.5,.2),this._startPos=un(t),this._offset=n.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=ft(this._animate,this),this._step()},_step:function(t){var n=+new Date-this._startTime,o=this._duration*1e3;n<o?this._runFrame(this._easeOut(n/o),t):(this._runFrame(1),this._complete())},_runFrame:function(t,n){var o=this._startPos.add(this._offset.multiplyBy(t));n&&o._round(),Ut(this._el,o),this.fire("step")},_complete:function(){Lt(this._animId),this._inProgress=!1,this.fire("end")},_easeOut:function(t){return 1-Math.pow(1-t,this._easeOutPower)}}),_t=pt.extend({options:{crs:_,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(t,n){n=R(this,n),this._handlers=[],this._layers={},this._zoomBoundLayers={},this._sizeChanged=!0,this._initContainer(t),this._initLayout(),this._onResize=h(this._onResize,this),this._initEvents(),n.maxBounds&&this.setMaxBounds(n.maxBounds),n.zoom!==void 0&&(this._zoom=this._limitZoom(n.zoom)),n.center&&n.zoom!==void 0&&this.setView(F(n.center),n.zoom,{reset:!0}),this.callInitHooks(),this._zoomAnimated=ei&&$.any3d&&!$.mobileOpera&&this.options.zoomAnimation,this._zoomAnimated&&(this._createAnimProxy(),st(this._proxy,mr,this._catchTransitionEnd,this)),this._addLayers(this.options.layers)},setView:function(t,n,o){if(n=n===void 0?this._zoom:this._limitZoom(n),t=this._limitCenter(F(t),n,this.options.maxBounds),o=o||{},this._stop(),this._loaded&&!o.reset&&o!==!0){o.animate!==void 0&&(o.zoom=l({animate:o.animate},o.zoom),o.pan=l({animate:o.animate,duration:o.duration},o.pan));var r=this._zoom!==n?this._tryAnimatedZoom&&this._tryAnimatedZoom(t,n,o.zoom):this._tryAnimatedPan(t,o.pan);if(r)return clearTimeout(this._sizeTimer),this}return this._resetView(t,n),this},setZoom:function(t,n){return this._loaded?this.setView(this.getCenter(),t,{zoom:n}):(this._zoom=t,this)},zoomIn:function(t,n){return t=t||($.any3d?this.options.zoomDelta:1),this.setZoom(this._zoom+t,n)},zoomOut:function(t,n){return t=t||($.any3d?this.options.zoomDelta:1),this.setZoom(this._zoom-t,n)},setZoomAround:function(t,n,o){var r=this.getZoomScale(n),u=this.getSize().divideBy(2),f=t instanceof U?t:this.latLngToContainerPoint(t),g=f.subtract(u).multiplyBy(1-1/r),b=this.containerPointToLatLng(u.add(g));return this.setView(b,n,{zoom:o})},_getBoundsCenterZoom:function(t,n){n=n||{},t=t.getBounds?t.getBounds():xt(t);var o=et(n.paddingTopLeft||n.padding||[0,0]),r=et(n.paddingBottomRight||n.padding||[0,0]),u=this.getBoundsZoom(t,!1,o.add(r));if(u=typeof n.maxZoom=="number"?Math.min(n.maxZoom,u):u,u===1/0)return{center:t.getCenter(),zoom:u};var f=r.subtract(o).divideBy(2),g=this.project(t.getSouthWest(),u),b=this.project(t.getNorthEast(),u),S=this.unproject(g.add(b).divideBy(2).add(f),u);return{center:S,zoom:u}},fitBounds:function(t,n){if(t=xt(t),!t.isValid())throw new Error("Bounds are not valid.");var o=this._getBoundsCenterZoom(t,n);return this.setView(o.center,o.zoom,n)},fitWorld:function(t){return this.fitBounds([[-90,-180],[90,180]],t)},panTo:function(t,n){return this.setView(t,this._zoom,{pan:n})},panBy:function(t,n){if(t=et(t).round(),n=n||{},!t.x&&!t.y)return this.fire("moveend");if(n.animate!==!0&&!this.getSize().contains(t))return this._resetView(this.unproject(this.project(this.getCenter()).add(t)),this.getZoom()),this;if(this._panAnim||(this._panAnim=new xr,this._panAnim.on({step:this._onPanTransitionStep,end:this._onPanTransitionEnd},this)),n.noMoveStart||this.fire("movestart"),n.animate!==!1){at(this._mapPane,"leaflet-pan-anim");var o=this._getMapPanePos().subtract(t).round();this._panAnim.run(this._mapPane,o,n.duration||.25,n.easeLinearity)}else this._rawPanBy(t),this.fire("move").fire("moveend");return this},flyTo:function(t,n,o){if(o=o||{},o.animate===!1||!$.any3d)return this.setView(t,n,o);this._stop();var r=this.project(this.getCenter()),u=this.project(t),f=this.getSize(),g=this._zoom;t=F(t),n=n===void 0?g:n;var b=Math.max(f.x,f.y),S=b*this.getZoomScale(g,n),z=u.distanceTo(r)||1,V=1.42,lt=V*V;function mt(jt){var Qi=jt?-1:1,fc=jt?S:b,dc=S*S-b*b+Qi*lt*lt*z*z,pc=2*fc*lt*z,as=dc/pc,ta=Math.sqrt(as*as+1)-as,_c=ta<1e-9?-18:Math.log(ta);return _c}function Fe(jt){return(Math.exp(jt)-Math.exp(-jt))/2}function dn(jt){return(Math.exp(jt)+Math.exp(-jt))/2}function Yi(jt){return Fe(jt)/dn(jt)}var Qe=mt(0);function rs(jt){return b*(dn(Qe)/dn(Qe+V*jt))}function lc(jt){return b*(dn(Qe)*Yi(Qe+V*jt)-Fe(Qe))/lt}function uc(jt){return 1-Math.pow(1-jt,1.5)}var cc=Date.now(),Xr=(mt(1)-Qe)/V,hc=o.duration?1e3*o.duration:1e3*Xr*.8;function Jr(){var jt=(Date.now()-cc)/hc,Qi=uc(jt)*Xr;jt<=1?(this._flyToFrame=ft(Jr,this),this._move(this.unproject(r.add(u.subtract(r).multiplyBy(lc(Qi)/z)),g),this.getScaleZoom(b/rs(Qi),g),{flyTo:!0})):this._move(t,n)._moveEnd(!0)}return this._moveStart(!0,o.noMoveStart),Jr.call(this),this},flyToBounds:function(t,n){var o=this._getBoundsCenterZoom(t,n);return this.flyTo(o.center,o.zoom,n)},setMaxBounds:function(t){if(t=xt(t),t.isValid())this.options.maxBounds&&this.off("moveend",this._panInsideMaxBounds);else return this.options.maxBounds=null,this.off("moveend",this._panInsideMaxBounds);return this.options.maxBounds=t,this._loaded&&this._panInsideMaxBounds(),this.on("moveend",this._panInsideMaxBounds)},setMinZoom:function(t){var n=this.options.minZoom;return this.options.minZoom=t,this._loaded&&n!==t&&(this.fire("zoomlevelschange"),this.getZoom()<this.options.minZoom)?this.setZoom(t):this},setMaxZoom:function(t){var n=this.options.maxZoom;return this.options.maxZoom=t,this._loaded&&n!==t&&(this.fire("zoomlevelschange"),this.getZoom()>this.options.maxZoom)?this.setZoom(t):this},panInsideBounds:function(t,n){this._enforcingBounds=!0;var o=this.getCenter(),r=this._limitCenter(o,this._zoom,xt(t));return o.equals(r)||this.panTo(r,n),this._enforcingBounds=!1,this},panInside:function(t,n){n=n||{};var o=et(n.paddingTopLeft||n.padding||[0,0]),r=et(n.paddingBottomRight||n.padding||[0,0]),u=this.project(this.getCenter()),f=this.project(t),g=this.getPixelBounds(),b=It([g.min.add(o),g.max.subtract(r)]),S=b.getSize();if(!b.contains(f)){this._enforcingBounds=!0;var z=f.subtract(b.getCenter()),V=b.extend(f).getSize().subtract(S);u.x+=z.x<0?-V.x:V.x,u.y+=z.y<0?-V.y:V.y,this.panTo(this.unproject(u),n),this._enforcingBounds=!1}return this},invalidateSize:function(t){if(!this._loaded)return this;t=l({animate:!1,pan:!0},t===!0?{animate:!0}:t);var n=this.getSize();this._sizeChanged=!0,this._lastCenter=null;var o=this.getSize(),r=n.divideBy(2).round(),u=o.divideBy(2).round(),f=r.subtract(u);return!f.x&&!f.y?this:(t.animate&&t.pan?this.panBy(f):(t.pan&&this._rawPanBy(f),this.fire("move"),t.debounceMoveend?(clearTimeout(this._sizeTimer),this._sizeTimer=setTimeout(h(this.fire,this,"moveend"),200)):this.fire("moveend")),this.fire("resize",{oldSize:n,newSize:o}))},stop:function(){return this.setZoom(this._limitZoom(this._zoom)),this.options.zoomSnap||this.fire("viewreset"),this._stop()},locate:function(t){if(t=this._locateOptions=l({timeout:1e4,watch:!1},t),!("geolocation"in navigator))return this._handleGeolocationError({code:0,message:"Geolocation not supported."}),this;var n=h(this._handleGeolocationResponse,this),o=h(this._handleGeolocationError,this);return t.watch?this._locationWatchId=navigator.geolocation.watchPosition(n,o,t):navigator.geolocation.getCurrentPosition(n,o,t),this},stopLocate:function(){return navigator.geolocation&&navigator.geolocation.clearWatch&&navigator.geolocation.clearWatch(this._locationWatchId),this._locateOptions&&(this._locateOptions.setView=!1),this},_handleGeolocationError:function(t){if(!!this._container._leaflet_id){var n=t.code,o=t.message||(n===1?"permission denied":n===2?"position unavailable":"timeout");this._locateOptions.setView&&!this._loaded&&this.fitWorld(),this.fire("locationerror",{code:n,message:"Geolocation error: "+o+"."})}},_handleGeolocationResponse:function(t){if(!!this._container._leaflet_id){var n=t.coords.latitude,o=t.coords.longitude,r=new P(n,o),u=r.toBounds(t.coords.accuracy*2),f=this._locateOptions;if(f.setView){var g=this.getBoundsZoom(u);this.setView(r,f.maxZoom?Math.min(g,f.maxZoom):g)}var b={latlng:r,bounds:u,timestamp:t.timestamp};for(var S in t.coords)typeof t.coords[S]=="number"&&(b[S]=t.coords[S]);this.fire("locationfound",b)}},addHandler:function(t,n){if(!n)return this;var o=this[t]=new n(this);return this._handlers.push(o),this.options[t]&&o.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(),zt(this._mapPane),this._clearControlPos&&this._clearControlPos(),this._resizeRequest&&(Lt(this._resizeRequest),this._resizeRequest=null),this._clearHandlers(),this._loaded&&this.fire("unload");var t;for(t in this._layers)this._layers[t].remove();for(t in this._panes)zt(this._panes[t]);return this._layers=[],this._panes=[],delete this._mapPane,delete this._renderer,this},createPane:function(t,n){var o="leaflet-pane"+(t?" leaflet-"+t.replace("Pane","")+"-pane":""),r=wt("div",o,n||this._mapPane);return t&&(this._panes[t]=r),r},getCenter:function(){return this._checkIfLoaded(),this._lastCenter&&!this._moved()?this._lastCenter:this.layerPointToLatLng(this._getCenterLayerPoint())},getZoom:function(){return this._zoom},getBounds:function(){var t=this.getPixelBounds(),n=this.unproject(t.getBottomLeft()),o=this.unproject(t.getTopRight());return new At(n,o)},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(t,n,o){t=xt(t),o=et(o||[0,0]);var r=this.getZoom()||0,u=this.getMinZoom(),f=this.getMaxZoom(),g=t.getNorthWest(),b=t.getSouthEast(),S=this.getSize().subtract(o),z=It(this.project(b,r),this.project(g,r)).getSize(),V=$.any3d?this.options.zoomSnap:1,lt=S.x/z.x,mt=S.y/z.y,Fe=n?Math.max(lt,mt):Math.min(lt,mt);return r=this.getScaleZoom(Fe,r),V&&(r=Math.round(r/(V/100))*(V/100),r=n?Math.ceil(r/V)*V:Math.floor(r/V)*V),Math.max(u,Math.min(f,r))},getSize:function(){return(!this._size||this._sizeChanged)&&(this._size=new U(this._container.clientWidth||0,this._container.clientHeight||0),this._sizeChanged=!1),this._size.clone()},getPixelBounds:function(t,n){var o=this._getTopLeftPoint(t,n);return new ct(o,o.add(this.getSize()))},getPixelOrigin:function(){return this._checkIfLoaded(),this._pixelOrigin},getPixelWorldBounds:function(t){return this.options.crs.getProjectedBounds(t===void 0?this.getZoom():t)},getPane:function(t){return typeof t=="string"?this._panes[t]:t},getPanes:function(){return this._panes},getContainer:function(){return this._container},getZoomScale:function(t,n){var o=this.options.crs;return n=n===void 0?this._zoom:n,o.scale(t)/o.scale(n)},getScaleZoom:function(t,n){var o=this.options.crs;n=n===void 0?this._zoom:n;var r=o.zoom(t*o.scale(n));return isNaN(r)?1/0:r},project:function(t,n){return n=n===void 0?this._zoom:n,this.options.crs.latLngToPoint(F(t),n)},unproject:function(t,n){return n=n===void 0?this._zoom:n,this.options.crs.pointToLatLng(et(t),n)},layerPointToLatLng:function(t){var n=et(t).add(this.getPixelOrigin());return this.unproject(n)},latLngToLayerPoint:function(t){var n=this.project(F(t))._round();return n._subtract(this.getPixelOrigin())},wrapLatLng:function(t){return this.options.crs.wrapLatLng(F(t))},wrapLatLngBounds:function(t){return this.options.crs.wrapLatLngBounds(xt(t))},distance:function(t,n){return this.options.crs.distance(F(t),F(n))},containerPointToLayerPoint:function(t){return et(t).subtract(this._getMapPanePos())},layerPointToContainerPoint:function(t){return et(t).add(this._getMapPanePos())},containerPointToLatLng:function(t){var n=this.containerPointToLayerPoint(et(t));return this.layerPointToLatLng(n)},latLngToContainerPoint:function(t){return this.layerPointToContainerPoint(this.latLngToLayerPoint(F(t)))},mouseEventToContainerPoint:function(t){return wr(t,this._container)},mouseEventToLayerPoint:function(t){return this.containerPointToLayerPoint(this.mouseEventToContainerPoint(t))},mouseEventToLatLng:function(t){return this.layerPointToLatLng(this.mouseEventToLayerPoint(t))},_initContainer:function(t){var n=this._container=gr(t);if(n){if(n._leaflet_id)throw new Error("Map container is already initialized.")}else throw new Error("Map container not found.");st(n,"scroll",this._onScroll,this),this._containerId=d(n)},_initLayout:function(){var t=this._container;this._fadeAnimated=this.options.fadeAnimation&&$.any3d,at(t,"leaflet-container"+($.touch?" leaflet-touch":"")+($.retina?" leaflet-retina":"")+($.ielt9?" leaflet-oldie":"")+($.safari?" leaflet-safari":"")+(this._fadeAnimated?" leaflet-fade-anim":""));var n=ni(t,"position");n!=="absolute"&&n!=="relative"&&n!=="fixed"&&(t.style.position="relative"),this._initPanes(),this._initControlPos&&this._initControlPos()},_initPanes:function(){var t=this._panes={};this._paneRenderers={},this._mapPane=this.createPane("mapPane",this._container),Ut(this._mapPane,new U(0,0)),this.createPane("tilePane"),this.createPane("overlayPane"),this.createPane("shadowPane"),this.createPane("markerPane"),this.createPane("tooltipPane"),this.createPane("popupPane"),this.options.markerZoomAnimation||(at(t.markerPane,"leaflet-zoom-hide"),at(t.shadowPane,"leaflet-zoom-hide"))},_resetView:function(t,n){Ut(this._mapPane,new U(0,0));var o=!this._loaded;this._loaded=!0,n=this._limitZoom(n),this.fire("viewprereset");var r=this._zoom!==n;this._moveStart(r,!1)._move(t,n)._moveEnd(r),this.fire("viewreset"),o&&this.fire("load")},_moveStart:function(t,n){return t&&this.fire("zoomstart"),n||this.fire("movestart"),this},_move:function(t,n,o,r){n===void 0&&(n=this._zoom);var u=this._zoom!==n;return this._zoom=n,this._lastCenter=t,this._pixelOrigin=this._getNewPixelOrigin(t),r?o&&o.pinch&&this.fire("zoom",o):((u||o&&o.pinch)&&this.fire("zoom",o),this.fire("move",o)),this},_moveEnd:function(t){return t&&this.fire("zoomend"),this.fire("moveend")},_stop:function(){return Lt(this._flyToFrame),this._panAnim&&this._panAnim.stop(),this},_rawPanBy:function(t){Ut(this._mapPane,this._getMapPanePos().subtract(t))},_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(t){this._targets={},this._targets[d(this._container)]=this;var n=t?Mt:st;n(this._container,"click dblclick mousedown mouseup mouseover mouseout mousemove contextmenu keypress keydown keyup",this._handleDOMEvent,this),this.options.trackResize&&n(window,"resize",this._onResize,this),$.any3d&&this.options.transform3DLimit&&(t?this.off:this.on).call(this,"moveend",this._onMoveEnd)},_onResize:function(){Lt(this._resizeRequest),this._resizeRequest=ft(function(){this.invalidateSize({debounceMoveend:!0})},this)},_onScroll:function(){this._container.scrollTop=0,this._container.scrollLeft=0},_onMoveEnd:function(){var t=this._getMapPanePos();Math.max(Math.abs(t.x),Math.abs(t.y))>=this.options.transform3DLimit&&this._resetView(this.getCenter(),this.getZoom())},_findEventTargets:function(t,n){for(var o=[],r,u=n==="mouseout"||n==="mouseover",f=t.target||t.srcElement,g=!1;f;){if(r=this._targets[d(f)],r&&(n==="click"||n==="preclick")&&this._draggableMoved(r)){g=!0;break}if(r&&r.listens(n,!0)&&(u&&!Go(f,t)||(o.push(r),u))||f===this._container)break;f=f.parentNode}return!o.length&&!g&&!u&&this.listens(n,!0)&&(o=[this]),o},_isClickDisabled:function(t){for(;t!==this._container;){if(t._leaflet_disable_click)return!0;t=t.parentNode}},_handleDOMEvent:function(t){var n=t.target||t.srcElement;if(!(!this._loaded||n._leaflet_disable_events||t.type==="click"&&this._isClickDisabled(n))){var o=t.type;o==="mousedown"&&jo(n),this._fireDOMEvent(t,o)}},_mouseEvents:["click","dblclick","mouseover","mouseout","contextmenu"],_fireDOMEvent:function(t,n,o){if(t.type==="click"){var r=l({},t);r.type="preclick",this._fireDOMEvent(r,r.type,o)}var u=this._findEventTargets(t,n);if(o){for(var f=[],g=0;g<o.length;g++)o[g].listens(n,!0)&&f.push(o[g]);u=f.concat(u)}if(!!u.length){n==="contextmenu"&&Xt(t);var b=u[0],S={originalEvent:t};if(t.type!=="keypress"&&t.type!=="keydown"&&t.type!=="keyup"){var z=b.getLatLng&&(!b._radius||b._radius<=10);S.containerPoint=z?this.latLngToContainerPoint(b.getLatLng()):this.mouseEventToContainerPoint(t),S.layerPoint=this.containerPointToLayerPoint(S.containerPoint),S.latlng=z?b.getLatLng():this.layerPointToLatLng(S.layerPoint)}for(g=0;g<u.length;g++)if(u[g].fire(n,S,!0),S.originalEvent._stopped||u[g].options.bubblingMouseEvents===!1&&dt(this._mouseEvents,n)!==-1)return}},_draggableMoved:function(t){return t=t.dragging&&t.dragging.enabled()?t:this,t.dragging&&t.dragging.moved()||this.boxZoom&&this.boxZoom.moved()},_clearHandlers:function(){for(var t=0,n=this._handlers.length;t<n;t++)this._handlers[t].disable()},whenReady:function(t,n){return this._loaded?t.call(n||this,{target:this}):this.on("load",t,n),this},_getMapPanePos:function(){return un(this._mapPane)||new U(0,0)},_moved:function(){var t=this._getMapPanePos();return t&&!t.equals([0,0])},_getTopLeftPoint:function(t,n){var o=t&&n!==void 0?this._getNewPixelOrigin(t,n):this.getPixelOrigin();return o.subtract(this._getMapPanePos())},_getNewPixelOrigin:function(t,n){var o=this.getSize()._divideBy(2);return this.project(t,n)._subtract(o)._add(this._getMapPanePos())._round()},_latLngToNewLayerPoint:function(t,n,o){var r=this._getNewPixelOrigin(o,n);return this.project(t,n)._subtract(r)},_latLngBoundsToNewLayerBounds:function(t,n,o){var r=this._getNewPixelOrigin(o,n);return It([this.project(t.getSouthWest(),n)._subtract(r),this.project(t.getNorthWest(),n)._subtract(r),this.project(t.getSouthEast(),n)._subtract(r),this.project(t.getNorthEast(),n)._subtract(r)])},_getCenterLayerPoint:function(){return this.containerPointToLayerPoint(this.getSize()._divideBy(2))},_getCenterOffset:function(t){return this.latLngToLayerPoint(t).subtract(this._getCenterLayerPoint())},_limitCenter:function(t,n,o){if(!o)return t;var r=this.project(t,n),u=this.getSize().divideBy(2),f=new ct(r.subtract(u),r.add(u)),g=this._getBoundsOffset(f,o,n);return g.round().equals([0,0])?t:this.unproject(r.add(g),n)},_limitOffset:function(t,n){if(!n)return t;var o=this.getPixelBounds(),r=new ct(o.min.add(t),o.max.add(t));return t.add(this._getBoundsOffset(r,n))},_getBoundsOffset:function(t,n,o){var r=It(this.project(n.getNorthEast(),o),this.project(n.getSouthWest(),o)),u=r.min.subtract(t.min),f=r.max.subtract(t.max),g=this._rebound(u.x,-f.x),b=this._rebound(u.y,-f.y);return new U(g,b)},_rebound:function(t,n){return t+n>0?Math.round(t-n)/2:Math.max(0,Math.ceil(t))-Math.max(0,Math.floor(n))},_limitZoom:function(t){var n=this.getMinZoom(),o=this.getMaxZoom(),r=$.any3d?this.options.zoomSnap:1;return r&&(t=Math.round(t/r)*r),Math.max(n,Math.min(o,t))},_onPanTransitionStep:function(){this.fire("move")},_onPanTransitionEnd:function(){Nt(this._mapPane,"leaflet-pan-anim"),this.fire("moveend")},_tryAnimatedPan:function(t,n){var o=this._getCenterOffset(t)._trunc();return(n&&n.animate)!==!0&&!this.getSize().contains(o)?!1:(this.panBy(o,n),!0)},_createAnimProxy:function(){var t=this._proxy=wt("div","leaflet-proxy leaflet-zoom-animated");this._panes.mapPane.appendChild(t),this.on("zoomanim",function(n){var o=zo,r=this._proxy.style[o];ln(this._proxy,this.project(n.center,n.zoom),this.getZoomScale(n.zoom,1)),r===this._proxy.style[o]&&this._animatingZoom&&this._onZoomTransitionEnd()},this),this.on("load moveend",this._animMoveEnd,this),this._on("unload",this._destroyAnimProxy,this)},_destroyAnimProxy:function(){zt(this._proxy),this.off("load moveend",this._animMoveEnd,this),delete this._proxy},_animMoveEnd:function(){var t=this.getCenter(),n=this.getZoom();ln(this._proxy,this.project(t,n),this.getZoomScale(n,1))},_catchTransitionEnd:function(t){this._animatingZoom&&t.propertyName.indexOf("transform")>=0&&this._onZoomTransitionEnd()},_nothingToAnimate:function(){return!this._container.getElementsByClassName("leaflet-zoom-animated").length},_tryAnimatedZoom:function(t,n,o){if(this._animatingZoom)return!0;if(o=o||{},!this._zoomAnimated||o.animate===!1||this._nothingToAnimate()||Math.abs(n-this._zoom)>this.options.zoomAnimationThreshold)return!1;var r=this.getZoomScale(n),u=this._getCenterOffset(t)._divideBy(1-1/r);return o.animate!==!0&&!this.getSize().contains(u)?!1:(ft(function(){this._moveStart(!0,!1)._animateZoom(t,n,!0)},this),!0)},_animateZoom:function(t,n,o,r){!this._mapPane||(o&&(this._animatingZoom=!0,this._animateToCenter=t,this._animateToZoom=n,at(this._mapPane,"leaflet-zoom-anim")),this.fire("zoomanim",{center:t,zoom:n,noUpdate:r}),this._tempFireZoomEvent||(this._tempFireZoomEvent=this._zoom!==this._animateToZoom),this._move(this._animateToCenter,this._animateToZoom,void 0,!0),setTimeout(h(this._onZoomTransitionEnd,this),250))},_onZoomTransitionEnd:function(){!this._animatingZoom||(this._mapPane&&Nt(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 Lu(t,n){return new _t(t,n)}var ve=Rt.extend({options:{position:"topright"},initialize:function(t){R(this,t)},getPosition:function(){return this.options.position},setPosition:function(t){var n=this._map;return n&&n.removeControl(this),this.options.position=t,n&&n.addControl(this),this},getContainer:function(){return this._container},addTo:function(t){this.remove(),this._map=t;var n=this._container=this.onAdd(t),o=this.getPosition(),r=t._controlCorners[o];return at(n,"leaflet-control"),o.indexOf("bottom")!==-1?r.insertBefore(n,r.firstChild):r.appendChild(n),this._map.on("unload",this.remove,this),this},remove:function(){return this._map?(zt(this._container),this.onRemove&&this.onRemove(this._map),this._map.off("unload",this.remove,this),this._map=null,this):this},_refocusOnMap:function(t){this._map&&t&&t.screenX>0&&t.screenY>0&&this._map.getContainer().focus()}}),ai=function(t){return new ve(t)};_t.include({addControl:function(t){return t.addTo(this),this},removeControl:function(t){return t.remove(),this},_initControlPos:function(){var t=this._controlCorners={},n="leaflet-",o=this._controlContainer=wt("div",n+"control-container",this._container);function r(u,f){var g=n+u+" "+n+f;t[u+f]=wt("div",g,o)}r("top","left"),r("top","right"),r("bottom","left"),r("bottom","right")},_clearControlPos:function(){for(var t in this._controlCorners)zt(this._controlCorners[t]);zt(this._controlContainer),delete this._controlCorners,delete this._controlContainer}});var br=ve.extend({options:{collapsed:!0,position:"topright",autoZIndex:!0,hideSingleBase:!1,sortLayers:!1,sortFunction:function(t,n,o,r){return o<r?-1:r<o?1:0}},initialize:function(t,n,o){R(this,o),this._layerControlInputs=[],this._layers=[],this._lastZIndex=0,this._handlingClick=!1;for(var r in t)this._addLayer(t[r],r);for(r in n)this._addLayer(n[r],r,!0)},onAdd:function(t){this._initLayout(),this._update(),this._map=t,t.on("zoomend",this._checkDisabledLayers,this);for(var n=0;n<this._layers.length;n++)this._layers[n].layer.on("add remove",this._onLayerChange,this);return this._container},addTo:function(t){return ve.prototype.addTo.call(this,t),this._expandIfNotCollapsed()},onRemove:function(){this._map.off("zoomend",this._checkDisabledLayers,this);for(var t=0;t<this._layers.length;t++)this._layers[t].layer.off("add remove",this._onLayerChange,this)},addBaseLayer:function(t,n){return this._addLayer(t,n),this._map?this._update():this},addOverlay:function(t,n){return this._addLayer(t,n,!0),this._map?this._update():this},removeLayer:function(t){t.off("add remove",this._onLayerChange,this);var n=this._getLayer(d(t));return n&&this._layers.splice(this._layers.indexOf(n),1),this._map?this._update():this},expand:function(){at(this._container,"leaflet-control-layers-expanded"),this._section.style.height=null;var t=this._map.getSize().y-(this._container.offsetTop+50);return t<this._section.clientHeight?(at(this._section,"leaflet-control-layers-scrollbar"),this._section.style.height=t+"px"):Nt(this._section,"leaflet-control-layers-scrollbar"),this._checkDisabledLayers(),this},collapse:function(){return Nt(this._container,"leaflet-control-layers-expanded"),this},_initLayout:function(){var t="leaflet-control-layers",n=this._container=wt("div",t),o=this.options.collapsed;n.setAttribute("aria-haspopup",!0),ri(n),$o(n);var r=this._section=wt("section",t+"-list");o&&(this._map.on("click",this.collapse,this),st(n,{mouseenter:function(){st(r,"click",Xt),this.expand(),setTimeout(function(){Mt(r,"click",Xt)})},mouseleave:this.collapse},this));var u=this._layersLink=wt("a",t+"-toggle",n);u.href="#",u.title="Layers",u.setAttribute("role","button"),st(u,"click",Xt),st(u,"focus",this.expand,this),o||this.expand(),this._baseLayersList=wt("div",t+"-base",r),this._separator=wt("div",t+"-separator",r),this._overlaysList=wt("div",t+"-overlays",r),n.appendChild(r)},_getLayer:function(t){for(var n=0;n<this._layers.length;n++)if(this._layers[n]&&d(this._layers[n].layer)===t)return this._layers[n]},_addLayer:function(t,n,o){this._map&&t.on("add remove",this._onLayerChange,this),this._layers.push({layer:t,name:n,overlay:o}),this.options.sortLayers&&this._layers.sort(h(function(r,u){return this.options.sortFunction(r.layer,u.layer,r.name,u.name)},this)),this.options.autoZIndex&&t.setZIndex&&(this._lastZIndex++,t.setZIndex(this._lastZIndex)),this._expandIfNotCollapsed()},_update:function(){if(!this._container)return this;Ri(this._baseLayersList),Ri(this._overlaysList),this._layerControlInputs=[];var t,n,o,r,u=0;for(o=0;o<this._layers.length;o++)r=this._layers[o],this._addItem(r),n=n||r.overlay,t=t||!r.overlay,u+=r.overlay?0:1;return this.options.hideSingleBase&&(t=t&&u>1,this._baseLayersList.style.display=t?"":"none"),this._separator.style.display=n&&t?"":"none",this},_onLayerChange:function(t){this._handlingClick||this._update();var n=this._getLayer(d(t.target)),o=n.overlay?t.type==="add"?"overlayadd":"overlayremove":t.type==="add"?"baselayerchange":null;o&&this._map.fire(o,n)},_createRadioElement:function(t,n){var o='<input type="radio" class="leaflet-control-layers-selector" name="'+t+'"'+(n?' checked="checked"':"")+"/>",r=document.createElement("div");return r.innerHTML=o,r.firstChild},_addItem:function(t){var n=document.createElement("label"),o=this._map.hasLayer(t.layer),r;t.overlay?(r=document.createElement("input"),r.type="checkbox",r.className="leaflet-control-layers-selector",r.defaultChecked=o):r=this._createRadioElement("leaflet-base-layers_"+d(this),o),this._layerControlInputs.push(r),r.layerId=d(t.layer),st(r,"click",this._onInputClick,this);var u=document.createElement("span");u.innerHTML=" "+t.name;var f=document.createElement("span");n.appendChild(f),f.appendChild(r),f.appendChild(u);var g=t.overlay?this._overlaysList:this._baseLayersList;return g.appendChild(n),this._checkDisabledLayers(),n},_onInputClick:function(){var t=this._layerControlInputs,n,o,r=[],u=[];this._handlingClick=!0;for(var f=t.length-1;f>=0;f--)n=t[f],o=this._getLayer(n.layerId).layer,n.checked?r.push(o):n.checked||u.push(o);for(f=0;f<u.length;f++)this._map.hasLayer(u[f])&&this._map.removeLayer(u[f]);for(f=0;f<r.length;f++)this._map.hasLayer(r[f])||this._map.addLayer(r[f]);this._handlingClick=!1,this._refocusOnMap()},_checkDisabledLayers:function(){for(var t=this._layerControlInputs,n,o,r=this._map.getZoom(),u=t.length-1;u>=0;u--)n=t[u],o=this._getLayer(n.layerId).layer,n.disabled=o.options.minZoom!==void 0&&r<o.options.minZoom||o.options.maxZoom!==void 0&&r>o.options.maxZoom},_expandIfNotCollapsed:function(){return this._map&&!this.options.collapsed&&this.expand(),this}}),Tu=function(t,n,o){return new br(t,n,o)},Yo=ve.extend({options:{position:"topleft",zoomInText:'<span aria-hidden="true">+</span>',zoomInTitle:"Zoom in",zoomOutText:'<span aria-hidden="true">&#x2212;</span>',zoomOutTitle:"Zoom out"},onAdd:function(t){var n="leaflet-control-zoom",o=wt("div",n+" leaflet-bar"),r=this.options;return this._zoomInButton=this._createButton(r.zoomInText,r.zoomInTitle,n+"-in",o,this._zoomIn),this._zoomOutButton=this._createButton(r.zoomOutText,r.zoomOutTitle,n+"-out",o,this._zoomOut),this._updateDisabled(),t.on("zoomend zoomlevelschange",this._updateDisabled,this),o},onRemove:function(t){t.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(t){!this._disabled&&this._map._zoom<this._map.getMaxZoom()&&this._map.zoomIn(this._map.options.zoomDelta*(t.shiftKey?3:1))},_zoomOut:function(t){!this._disabled&&this._map._zoom>this._map.getMinZoom()&&this._map.zoomOut(this._map.options.zoomDelta*(t.shiftKey?3:1))},_createButton:function(t,n,o,r,u){var f=wt("a",o,r);return f.innerHTML=t,f.href="#",f.title=n,f.setAttribute("role","button"),f.setAttribute("aria-label",n),ri(f),st(f,"click",hn),st(f,"click",u,this),st(f,"click",this._refocusOnMap,this),f},_updateDisabled:function(){var t=this._map,n="leaflet-disabled";Nt(this._zoomInButton,n),Nt(this._zoomOutButton,n),this._zoomInButton.setAttribute("aria-disabled","false"),this._zoomOutButton.setAttribute("aria-disabled","false"),(this._disabled||t._zoom===t.getMinZoom())&&(at(this._zoomOutButton,n),this._zoomOutButton.setAttribute("aria-disabled","true")),(this._disabled||t._zoom===t.getMaxZoom())&&(at(this._zoomInButton,n),this._zoomInButton.setAttribute("aria-disabled","true"))}});_t.mergeOptions({zoomControl:!0}),_t.addInitHook(function(){this.options.zoomControl&&(this.zoomControl=new Yo,this.addControl(this.zoomControl))});var Cu=function(t){return new Yo(t)},Pr=ve.extend({options:{position:"bottomleft",maxWidth:100,metric:!0,imperial:!0},onAdd:function(t){var n="leaflet-control-scale",o=wt("div",n),r=this.options;return this._addScales(r,n+"-line",o),t.on(r.updateWhenIdle?"moveend":"move",this._update,this),t.whenReady(this._update,this),o},onRemove:function(t){t.off(this.options.updateWhenIdle?"moveend":"move",this._update,this)},_addScales:function(t,n,o){t.metric&&(this._mScale=wt("div",n,o)),t.imperial&&(this._iScale=wt("div",n,o))},_update:function(){var t=this._map,n=t.getSize().y/2,o=t.distance(t.containerPointToLatLng([0,n]),t.containerPointToLatLng([this.options.maxWidth,n]));this._updateScales(o)},_updateScales:function(t){this.options.metric&&t&&this._updateMetric(t),this.options.imperial&&t&&this._updateImperial(t)},_updateMetric:function(t){var n=this._getRoundNum(t),o=n<1e3?n+" m":n/1e3+" km";this._updateScale(this._mScale,o,n/t)},_updateImperial:function(t){var n=t*3.2808399,o,r,u;n>5280?(o=n/5280,r=this._getRoundNum(o),this._updateScale(this._iScale,r+" mi",r/o)):(u=this._getRoundNum(n),this._updateScale(this._iScale,u+" ft",u/n))},_updateScale:function(t,n,o){t.style.width=Math.round(this.options.maxWidth*o)+"px",t.innerHTML=n},_getRoundNum:function(t){var n=Math.pow(10,(Math.floor(t)+"").length-1),o=t/n;return o=o>=10?10:o>=5?5:o>=3?3:o>=2?2:1,n*o}}),Eu=function(t){return new Pr(t)},Su='<svg aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="12" height="8"><path fill="#4C7BE1" d="M0 0h12v4H0z"/><path fill="#FFD500" d="M0 4h12v3H0z"/><path fill="#E0BC00" d="M0 7h12v1H0z"/></svg>',Qo=ve.extend({options:{position:"bottomright",prefix:'<a href="https://leafletjs.com" title="A JavaScript library for interactive maps">'+($.inlineSvg?Su+" ":"")+"Leaflet</a>"},initialize:function(t){R(this,t),this._attributions={}},onAdd:function(t){t.attributionControl=this,this._container=wt("div","leaflet-control-attribution"),ri(this._container);for(var n in t._layers)t._layers[n].getAttribution&&this.addAttribution(t._layers[n].getAttribution());return this._update(),t.on("layeradd",this._addAttribution,this),this._container},onRemove:function(t){t.off("layeradd",this._addAttribution,this)},_addAttribution:function(t){t.layer.getAttribution&&(this.addAttribution(t.layer.getAttribution()),t.layer.once("remove",function(){this.removeAttribution(t.layer.getAttribution())},this))},setPrefix:function(t){return this.options.prefix=t,this._update(),this},addAttribution:function(t){return t?(this._attributions[t]||(this._attributions[t]=0),this._attributions[t]++,this._update(),this):this},removeAttribution:function(t){return t?(this._attributions[t]&&(this._attributions[t]--,this._update()),this):this},_update:function(){if(!!this._map){var t=[];for(var n in this._attributions)this._attributions[n]&&t.push(n);var o=[];this.options.prefix&&o.push(this.options.prefix),t.length&&o.push(t.join(", ")),this._container.innerHTML=o.join(' <span aria-hidden="true">|</span> ')}}});_t.mergeOptions({attributionControl:!0}),_t.addInitHook(function(){this.options.attributionControl&&new Qo().addTo(this)});var Mu=function(t){return new Qo(t)};ve.Layers=br,ve.Zoom=Yo,ve.Scale=Pr,ve.Attribution=Qo,ai.layers=Tu,ai.zoom=Cu,ai.scale=Eu,ai.attribution=Mu;var Se=Rt.extend({initialize:function(t){this._map=t},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}});Se.addTo=function(t,n){return t.addHandler(n,this),this};var ku={Events:ut},Lr=$.touch?"touchstart mousedown":"mousedown",Ge=pt.extend({options:{clickTolerance:3},initialize:function(t,n,o,r){R(this,r),this._element=t,this._dragStartTarget=n||t,this._preventOutline=o},enable:function(){this._enabled||(st(this._dragStartTarget,Lr,this._onDown,this),this._enabled=!0)},disable:function(){!this._enabled||(Ge._dragging===this&&this.finishDrag(!0),Mt(this._dragStartTarget,Lr,this._onDown,this),this._enabled=!1,this._moved=!1)},_onDown:function(t){if(!!this._enabled&&(this._moved=!1,!Zo(this._element,"leaflet-zoom-anim"))){if(t.touches&&t.touches.length!==1){Ge._dragging===this&&this.finishDrag();return}if(!(Ge._dragging||t.shiftKey||t.which!==1&&t.button!==1&&!t.touches)&&(Ge._dragging=this,this._preventOutline&&jo(this._element),Fo(),ii(),!this._moving)){this.fire("down");var n=t.touches?t.touches[0]:t,o=vr(this._element);this._startPoint=new U(n.clientX,n.clientY),this._startPos=un(this._element),this._parentScale=Wo(o);var r=t.type==="mousedown";st(document,r?"mousemove":"touchmove",this._onMove,this),st(document,r?"mouseup":"touchend touchcancel",this._onUp,this)}}},_onMove:function(t){if(!!this._enabled){if(t.touches&&t.touches.length>1){this._moved=!0;return}var n=t.touches&&t.touches.length===1?t.touches[0]:t,o=new U(n.clientX,n.clientY)._subtract(this._startPoint);!o.x&&!o.y||Math.abs(o.x)+Math.abs(o.y)<this.options.clickTolerance||(o.x/=this._parentScale.x,o.y/=this._parentScale.y,Xt(t),this._moved||(this.fire("dragstart"),this._moved=!0,at(document.body,"leaflet-dragging"),this._lastTarget=t.target||t.srcElement,window.SVGElementInstance&&this._lastTarget instanceof window.SVGElementInstance&&(this._lastTarget=this._lastTarget.correspondingUseElement),at(this._lastTarget,"leaflet-drag-target")),this._newPos=this._startPos.add(o),this._moving=!0,this._lastEvent=t,this._updatePosition())}},_updatePosition:function(){var t={originalEvent:this._lastEvent};this.fire("predrag",t),Ut(this._element,this._newPos),this.fire("drag",t)},_onUp:function(){!this._enabled||this.finishDrag()},finishDrag:function(t){Nt(document.body,"leaflet-dragging"),this._lastTarget&&(Nt(this._lastTarget,"leaflet-drag-target"),this._lastTarget=null),Mt(document,"mousemove touchmove",this._onMove,this),Mt(document,"mouseup touchend touchcancel",this._onUp,this),Ho(),oi(),this._moved&&this._moving&&this.fire("dragend",{noInertia:t,distance:this._newPos.distanceTo(this._startPos)}),this._moving=!1,Ge._dragging=!1}});function Tr(t,n){if(!n||!t.length)return t.slice();var o=n*n;return t=Ou(t,o),t=Bu(t,o),t}function Cr(t,n,o){return Math.sqrt(li(t,n,o,!0))}function Iu(t,n,o){return li(t,n,o)}function Bu(t,n){var o=t.length,r=typeof Uint8Array!=void 0+""?Uint8Array:Array,u=new r(o);u[0]=u[o-1]=1,Xo(t,u,n,0,o-1);var f,g=[];for(f=0;f<o;f++)u[f]&&g.push(t[f]);return g}function Xo(t,n,o,r,u){var f=0,g,b,S;for(b=r+1;b<=u-1;b++)S=li(t[b],t[r],t[u],!0),S>f&&(g=b,f=S);f>o&&(n[g]=1,Xo(t,n,o,r,g),Xo(t,n,o,g,u))}function Ou(t,n){for(var o=[t[0]],r=1,u=0,f=t.length;r<f;r++)Ru(t[r],t[u])>n&&(o.push(t[r]),u=r);return u<f-1&&o.push(t[f-1]),o}var Er;function Sr(t,n,o,r,u){var f=r?Er:fn(t,o),g=fn(n,o),b,S,z;for(Er=g;;){if(!(f|g))return[t,n];if(f&g)return!1;b=f||g,S=Fi(t,n,b,o,u),z=fn(S,o),b===f?(t=S,f=z):(n=S,g=z)}}function Fi(t,n,o,r,u){var f=n.x-t.x,g=n.y-t.y,b=r.min,S=r.max,z,V;return o&8?(z=t.x+f*(S.y-t.y)/g,V=S.y):o&4?(z=t.x+f*(b.y-t.y)/g,V=b.y):o&2?(z=S.x,V=t.y+g*(S.x-t.x)/f):o&1&&(z=b.x,V=t.y+g*(b.x-t.x)/f),new U(z,V,u)}function fn(t,n){var o=0;return t.x<n.min.x?o|=1:t.x>n.max.x&&(o|=2),t.y<n.min.y?o|=4:t.y>n.max.y&&(o|=8),o}function Ru(t,n){var o=n.x-t.x,r=n.y-t.y;return o*o+r*r}function li(t,n,o,r){var u=n.x,f=n.y,g=o.x-u,b=o.y-f,S=g*g+b*b,z;return S>0&&(z=((t.x-u)*g+(t.y-f)*b)/S,z>1?(u=o.x,f=o.y):z>0&&(u+=g*z,f+=b*z)),g=t.x-u,b=t.y-f,r?g*g+b*b:new U(u,f)}function ze(t){return!X(t[0])||typeof t[0][0]!="object"&&typeof t[0][0]<"u"}function Mr(t){return console.warn("Deprecated use of _flat, please use L.LineUtil.isFlat instead."),ze(t)}var zu={__proto__:null,simplify:Tr,pointToSegmentDistance:Cr,closestPointOnSegment:Iu,clipSegment:Sr,_getEdgeIntersection:Fi,_getBitCode:fn,_sqClosestPointOnSegment:li,isFlat:ze,_flat:Mr};function kr(t,n,o){var r,u=[1,4,2,8],f,g,b,S,z,V,lt,mt;for(f=0,V=t.length;f<V;f++)t[f]._code=fn(t[f],n);for(b=0;b<4;b++){for(lt=u[b],r=[],f=0,V=t.length,g=V-1;f<V;g=f++)S=t[f],z=t[g],S._code&lt?z._code&lt||(mt=Fi(z,S,lt,n,o),mt._code=fn(mt,n),r.push(mt)):(z._code&lt&&(mt=Fi(z,S,lt,n,o),mt._code=fn(mt,n),r.push(mt)),r.push(S));t=r}return t}var Zu={__proto__:null,clipPolygon:kr},Jo={project:function(t){return new U(t.lng,t.lat)},unproject:function(t){return new P(t.y,t.x)},bounds:new ct([-180,-90],[180,90])},ts={R:6378137,R_MINOR:6356752314245179e-9,bounds:new ct([-2003750834279e-5,-1549657073972e-5],[2003750834279e-5,1876465623138e-5]),project:function(t){var n=Math.PI/180,o=this.R,r=t.lat*n,u=this.R_MINOR/o,f=Math.sqrt(1-u*u),g=f*Math.sin(r),b=Math.tan(Math.PI/4-r/2)/Math.pow((1-g)/(1+g),f/2);return r=-o*Math.log(Math.max(b,1e-10)),new U(t.lng*n*o,r)},unproject:function(t){for(var n=180/Math.PI,o=this.R,r=this.R_MINOR/o,u=Math.sqrt(1-r*r),f=Math.exp(-t.y/o),g=Math.PI/2-2*Math.atan(f),b=0,S=.1,z;b<15&&Math.abs(S)>1e-7;b++)z=u*Math.sin(g),z=Math.pow((1-z)/(1+z),u/2),S=Math.PI/2-2*Math.atan(f*z)-g,g+=S;return new P(g*n,t.x*n/o)}},Nu={__proto__:null,LonLat:Jo,Mercator:ts,SphericalMercator:yt},Du=l({},W,{code:"EPSG:3395",projection:ts,transformation:function(){var t=.5/(Math.PI*ts.R);return J(t,.5,-t,.5)}()}),Ir=l({},W,{code:"EPSG:4326",projection:Jo,transformation:J(1/180,1,-1/180,.5)}),Fu=l({},D,{projection:Jo,transformation:J(1,0,-1,0),scale:function(t){return Math.pow(2,t)},zoom:function(t){return Math.log(t)/Math.LN2},distance:function(t,n){var o=n.lng-t.lng,r=n.lat-t.lat;return Math.sqrt(o*o+r*r)},infinite:!0});D.Earth=W,D.EPSG3395=Du,D.EPSG3857=_,D.EPSG900913=w,D.EPSG4326=Ir,D.Simple=Fu;var ye=pt.extend({options:{pane:"overlayPane",attribution:null,bubblingMouseEvents:!0},addTo:function(t){return t.addLayer(this),this},remove:function(){return this.removeFrom(this._map||this._mapToAdd)},removeFrom:function(t){return t&&t.removeLayer(this),this},getPane:function(t){return this._map.getPane(t?this.options[t]||t:this.options.pane)},addInteractiveTarget:function(t){return this._map._targets[d(t)]=this,this},removeInteractiveTarget:function(t){return delete this._map._targets[d(t)],this},getAttribution:function(){return this.options.attribution},_layerAdd:function(t){var n=t.target;if(!!n.hasLayer(this)){if(this._map=n,this._zoomAnimated=n._zoomAnimated,this.getEvents){var o=this.getEvents();n.on(o,this),this.once("remove",function(){n.off(o,this)},this)}this.onAdd(n),this.fire("add"),n.fire("layeradd",{layer:this})}}});_t.include({addLayer:function(t){if(!t._layerAdd)throw new Error("The provided object is not a Layer.");var n=d(t);return this._layers[n]?this:(this._layers[n]=t,t._mapToAdd=this,t.beforeAdd&&t.beforeAdd(this),this.whenReady(t._layerAdd,t),this)},removeLayer:function(t){var n=d(t);return this._layers[n]?(this._loaded&&t.onRemove(this),delete this._layers[n],this._loaded&&(this.fire("layerremove",{layer:t}),t.fire("remove")),t._map=t._mapToAdd=null,this):this},hasLayer:function(t){return d(t)in this._layers},eachLayer:function(t,n){for(var o in this._layers)t.call(n,this._layers[o]);return this},_addLayers:function(t){t=t?X(t)?t:[t]:[];for(var n=0,o=t.length;n<o;n++)this.addLayer(t[n])},_addZoomLimit:function(t){(!isNaN(t.options.maxZoom)||!isNaN(t.options.minZoom))&&(this._zoomBoundLayers[d(t)]=t,this._updateZoomLevels())},_removeZoomLimit:function(t){var n=d(t);this._zoomBoundLayers[n]&&(delete this._zoomBoundLayers[n],this._updateZoomLevels())},_updateZoomLevels:function(){var t=1/0,n=-1/0,o=this._getZoomSpan();for(var r in this._zoomBoundLayers){var u=this._zoomBoundLayers[r].options;t=u.minZoom===void 0?t:Math.min(t,u.minZoom),n=u.maxZoom===void 0?n:Math.max(n,u.maxZoom)}this._layersMaxZoom=n===-1/0?void 0:n,this._layersMinZoom=t===1/0?void 0:t,o!==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 Sn=ye.extend({initialize:function(t,n){R(this,n),this._layers={};var o,r;if(t)for(o=0,r=t.length;o<r;o++)this.addLayer(t[o])},addLayer:function(t){var n=this.getLayerId(t);return this._layers[n]=t,this._map&&this._map.addLayer(t),this},removeLayer:function(t){var n=t in this._layers?t:this.getLayerId(t);return this._map&&this._layers[n]&&this._map.removeLayer(this._layers[n]),delete this._layers[n],this},hasLayer:function(t){var n=typeof t=="number"?t:this.getLayerId(t);return n in this._layers},clearLayers:function(){return this.eachLayer(this.removeLayer,this)},invoke:function(t){var n=Array.prototype.slice.call(arguments,1),o,r;for(o in this._layers)r=this._layers[o],r[t]&&r[t].apply(r,n);return this},onAdd:function(t){this.eachLayer(t.addLayer,t)},onRemove:function(t){this.eachLayer(t.removeLayer,t)},eachLayer:function(t,n){for(var o in this._layers)t.call(n,this._layers[o]);return this},getLayer:function(t){return this._layers[t]},getLayers:function(){var t=[];return this.eachLayer(t.push,t),t},setZIndex:function(t){return this.invoke("setZIndex",t)},getLayerId:function(t){return d(t)}}),Hu=function(t,n){return new Sn(t,n)},Mn=Sn.extend({addLayer:function(t){return this.hasLayer(t)?this:(t.addEventParent(this),Sn.prototype.addLayer.call(this,t),this.fire("layeradd",{layer:t}))},removeLayer:function(t){return this.hasLayer(t)?(t in this._layers&&(t=this._layers[t]),t.removeEventParent(this),Sn.prototype.removeLayer.call(this,t),this.fire("layerremove",{layer:t})):this},setStyle:function(t){return this.invoke("setStyle",t)},bringToFront:function(){return this.invoke("bringToFront")},bringToBack:function(){return this.invoke("bringToBack")},getBounds:function(){var t=new At;for(var n in this._layers){var o=this._layers[n];t.extend(o.getBounds?o.getBounds():o.getLatLng())}return t}}),Uu=function(t,n){return new Mn(t,n)},kn=Rt.extend({options:{popupAnchor:[0,0],tooltipAnchor:[0,0],crossOrigin:!1},initialize:function(t){R(this,t)},createIcon:function(t){return this._createIcon("icon",t)},createShadow:function(t){return this._createIcon("shadow",t)},_createIcon:function(t,n){var o=this._getIconUrl(t);if(!o){if(t==="icon")throw new Error("iconUrl not set in Icon options (see the docs).");return null}var r=this._createImg(o,n&&n.tagName==="IMG"?n:null);return this._setIconStyles(r,t),(this.options.crossOrigin||this.options.crossOrigin==="")&&(r.crossOrigin=this.options.crossOrigin===!0?"":this.options.crossOrigin),r},_setIconStyles:function(t,n){var o=this.options,r=o[n+"Size"];typeof r=="number"&&(r=[r,r]);var u=et(r),f=et(n==="shadow"&&o.shadowAnchor||o.iconAnchor||u&&u.divideBy(2,!0));t.className="leaflet-marker-"+n+" "+(o.className||""),f&&(t.style.marginLeft=-f.x+"px",t.style.marginTop=-f.y+"px"),u&&(t.style.width=u.x+"px",t.style.height=u.y+"px")},_createImg:function(t,n){return n=n||document.createElement("img"),n.src=t,n},_getIconUrl:function(t){return $.retina&&this.options[t+"RetinaUrl"]||this.options[t+"Url"]}});function ju(t){return new kn(t)}var ui=kn.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(t){return typeof ui.imagePath!="string"&&(ui.imagePath=this._detectIconPath()),(this.options.imagePath||ui.imagePath)+kn.prototype._getIconUrl.call(this,t)},_stripUrl:function(t){var n=function(o,r,u){var f=r.exec(o);return f&&f[u]};return t=n(t,/^url\((['"])?(.+)\1\)$/,2),t&&n(t,/^(.*)marker-icon\.png$/,1)},_detectIconPath:function(){var t=wt("div","leaflet-default-icon-path",document.body),n=ni(t,"background-image")||ni(t,"backgroundImage");if(document.body.removeChild(t),n=this._stripUrl(n),n)return n;var o=document.querySelector('link[href$="leaflet.css"]');return o?o.href.substring(0,o.href.length-11-1):""}}),Br=Se.extend({initialize:function(t){this._marker=t},addHooks:function(){var t=this._marker._icon;this._draggable||(this._draggable=new Ge(t,t,!0)),this._draggable.on({dragstart:this._onDragStart,predrag:this._onPreDrag,drag:this._onDrag,dragend:this._onDragEnd},this).enable(),at(t,"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&&Nt(this._marker._icon,"leaflet-marker-draggable")},moved:function(){return this._draggable&&this._draggable._moved},_adjustPan:function(t){var n=this._marker,o=n._map,r=this._marker.options.autoPanSpeed,u=this._marker.options.autoPanPadding,f=un(n._icon),g=o.getPixelBounds(),b=o.getPixelOrigin(),S=It(g.min._subtract(b).add(u),g.max._subtract(b).subtract(u));if(!S.contains(f)){var z=et((Math.max(S.max.x,f.x)-S.max.x)/(g.max.x-S.max.x)-(Math.min(S.min.x,f.x)-S.min.x)/(g.min.x-S.min.x),(Math.max(S.max.y,f.y)-S.max.y)/(g.max.y-S.max.y)-(Math.min(S.min.y,f.y)-S.min.y)/(g.min.y-S.min.y)).multiplyBy(r);o.panBy(z,{animate:!1}),this._draggable._newPos._add(z),this._draggable._startPos._add(z),Ut(n._icon,this._draggable._newPos),this._onDrag(t),this._panRequest=ft(this._adjustPan.bind(this,t))}},_onDragStart:function(){this._oldLatLng=this._marker.getLatLng(),this._marker.closePopup&&this._marker.closePopup(),this._marker.fire("movestart").fire("dragstart")},_onPreDrag:function(t){this._marker.options.autoPan&&(Lt(this._panRequest),this._panRequest=ft(this._adjustPan.bind(this,t)))},_onDrag:function(t){var n=this._marker,o=n._shadow,r=un(n._icon),u=n._map.layerPointToLatLng(r);o&&Ut(o,r),n._latlng=u,t.latlng=u,t.oldLatLng=this._oldLatLng,n.fire("move",t).fire("drag",t)},_onDragEnd:function(t){Lt(this._panRequest),delete this._oldLatLng,this._marker.fire("moveend").fire("dragend",t)}}),Hi=ye.extend({options:{icon:new ui,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(t,n){R(this,n),this._latlng=F(t)},onAdd:function(t){this._zoomAnimated=this._zoomAnimated&&t.options.markerZoomAnimation,this._zoomAnimated&&t.on("zoomanim",this._animateZoom,this),this._initIcon(),this.update()},onRemove:function(t){this.dragging&&this.dragging.enabled()&&(this.options.draggable=!0,this.dragging.removeHooks()),delete this.dragging,this._zoomAnimated&&t.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(t){var n=this._latlng;return this._latlng=F(t),this.update(),this.fire("move",{oldLatLng:n,latlng:this._latlng})},setZIndexOffset:function(t){return this.options.zIndexOffset=t,this.update()},getIcon:function(){return this.options.icon},setIcon:function(t){return this.options.icon=t,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 t=this._map.latLngToLayerPoint(this._latlng).round();this._setPos(t)}return this},_initIcon:function(){var t=this.options,n="leaflet-zoom-"+(this._zoomAnimated?"animated":"hide"),o=t.icon.createIcon(this._icon),r=!1;o!==this._icon&&(this._icon&&this._removeIcon(),r=!0,t.title&&(o.title=t.title),o.tagName==="IMG"&&(o.alt=t.alt||"")),at(o,n),t.keyboard&&(o.tabIndex="0",o.setAttribute("role","button")),this._icon=o,t.riseOnHover&&this.on({mouseover:this._bringToFront,mouseout:this._resetZIndex}),this.options.autoPanOnFocus&&st(o,"focus",this._panOnFocus,this);var u=t.icon.createShadow(this._shadow),f=!1;u!==this._shadow&&(this._removeShadow(),f=!0),u&&(at(u,n),u.alt=""),this._shadow=u,t.opacity<1&&this._updateOpacity(),r&&this.getPane().appendChild(this._icon),this._initInteraction(),u&&f&&this.getPane(t.shadowPane).appendChild(this._shadow)},_removeIcon:function(){this.options.riseOnHover&&this.off({mouseover:this._bringToFront,mouseout:this._resetZIndex}),this.options.autoPanOnFocus&&Mt(this._icon,"focus",this._panOnFocus,this),zt(this._icon),this.removeInteractiveTarget(this._icon),this._icon=null},_removeShadow:function(){this._shadow&&zt(this._shadow),this._shadow=null},_setPos:function(t){this._icon&&Ut(this._icon,t),this._shadow&&Ut(this._shadow,t),this._zIndex=t.y+this.options.zIndexOffset,this._resetZIndex()},_updateZIndex:function(t){this._icon&&(this._icon.style.zIndex=this._zIndex+t)},_animateZoom:function(t){var n=this._map._latLngToNewLayerPoint(this._latlng,t.zoom,t.center).round();this._setPos(n)},_initInteraction:function(){if(!!this.options.interactive&&(at(this._icon,"leaflet-interactive"),this.addInteractiveTarget(this._icon),Br)){var t=this.options.draggable;this.dragging&&(t=this.dragging.enabled(),this.dragging.disable()),this.dragging=new Br(this),t&&this.dragging.enable()}},setOpacity:function(t){return this.options.opacity=t,this._map&&this._updateOpacity(),this},_updateOpacity:function(){var t=this.options.opacity;this._icon&&fe(this._icon,t),this._shadow&&fe(this._shadow,t)},_bringToFront:function(){this._updateZIndex(this.options.riseOffset)},_resetZIndex:function(){this._updateZIndex(0)},_panOnFocus:function(){var t=this._map;if(!!t){var n=this.options.icon.options,o=n.iconSize?et(n.iconSize):et(0,0),r=n.iconAnchor?et(n.iconAnchor):et(0,0);t.panInside(this._latlng,{paddingTopLeft:r,paddingBottomRight:o.subtract(r)})}},_getPopupAnchor:function(){return this.options.icon.options.popupAnchor},_getTooltipAnchor:function(){return this.options.icon.options.tooltipAnchor}});function Wu(t,n){return new Hi(t,n)}var Ye=ye.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(t){this._renderer=t.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(t){return R(this,t),this._renderer&&(this._renderer._updateStyle(this),this.options.stroke&&t&&Object.prototype.hasOwnProperty.call(t,"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)}}),Ui=Ye.extend({options:{fill:!0,radius:10},initialize:function(t,n){R(this,n),this._latlng=F(t),this._radius=this.options.radius},setLatLng:function(t){var n=this._latlng;return this._latlng=F(t),this.redraw(),this.fire("move",{oldLatLng:n,latlng:this._latlng})},getLatLng:function(){return this._latlng},setRadius:function(t){return this.options.radius=this._radius=t,this.redraw()},getRadius:function(){return this._radius},setStyle:function(t){var n=t&&t.radius||this._radius;return Ye.prototype.setStyle.call(this,t),this.setRadius(n),this},_project:function(){this._point=this._map.latLngToLayerPoint(this._latlng),this._updateBounds()},_updateBounds:function(){var t=this._radius,n=this._radiusY||t,o=this._clickTolerance(),r=[t+o,n+o];this._pxBounds=new ct(this._point.subtract(r),this._point.add(r))},_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(t){return t.distanceTo(this._point)<=this._radius+this._clickTolerance()}});function Ku(t,n){return new Ui(t,n)}var es=Ui.extend({initialize:function(t,n,o){if(typeof n=="number"&&(n=l({},o,{radius:n})),R(this,n),this._latlng=F(t),isNaN(this.options.radius))throw new Error("Circle radius cannot be NaN");this._mRadius=this.options.radius},setRadius:function(t){return this._mRadius=t,this.redraw()},getRadius:function(){return this._mRadius},getBounds:function(){var t=[this._radius,this._radiusY||this._radius];return new At(this._map.layerPointToLatLng(this._point.subtract(t)),this._map.layerPointToLatLng(this._point.add(t)))},setStyle:Ye.prototype.setStyle,_project:function(){var t=this._latlng.lng,n=this._latlng.lat,o=this._map,r=o.options.crs;if(r.distance===W.distance){var u=Math.PI/180,f=this._mRadius/W.R/u,g=o.project([n+f,t]),b=o.project([n-f,t]),S=g.add(b).divideBy(2),z=o.unproject(S).lat,V=Math.acos((Math.cos(f*u)-Math.sin(n*u)*Math.sin(z*u))/(Math.cos(n*u)*Math.cos(z*u)))/u;(isNaN(V)||V===0)&&(V=f/Math.cos(Math.PI/180*n)),this._point=S.subtract(o.getPixelOrigin()),this._radius=isNaN(V)?0:S.x-o.project([z,t-V]).x,this._radiusY=S.y-g.y}else{var lt=r.unproject(r.project(this._latlng).subtract([this._mRadius,0]));this._point=o.latLngToLayerPoint(this._latlng),this._radius=this._point.x-o.latLngToLayerPoint(lt).x}this._updateBounds()}});function Vu(t,n,o){return new es(t,n,o)}var Ze=Ye.extend({options:{smoothFactor:1,noClip:!1},initialize:function(t,n){R(this,n),this._setLatLngs(t)},getLatLngs:function(){return this._latlngs},setLatLngs:function(t){return this._setLatLngs(t),this.redraw()},isEmpty:function(){return!this._latlngs.length},closestLayerPoint:function(t){for(var n=1/0,o=null,r=li,u,f,g=0,b=this._parts.length;g<b;g++)for(var S=this._parts[g],z=1,V=S.length;z<V;z++){u=S[z-1],f=S[z];var lt=r(t,u,f,!0);lt<n&&(n=lt,o=r(t,u,f))}return o&&(o.distance=Math.sqrt(n)),o},getCenter:function(){if(!this._map)throw new Error("Must add layer to map before using getCenter()");var t,n,o,r,u,f,g,b=this._rings[0],S=b.length;if(!S)return null;for(t=0,n=0;t<S-1;t++)n+=b[t].distanceTo(b[t+1])/2;if(n===0)return this._map.layerPointToLatLng(b[0]);for(t=0,r=0;t<S-1;t++)if(u=b[t],f=b[t+1],o=u.distanceTo(f),r+=o,r>n)return g=(r-n)/o,this._map.layerPointToLatLng([f.x-g*(f.x-u.x),f.y-g*(f.y-u.y)])},getBounds:function(){return this._bounds},addLatLng:function(t,n){return n=n||this._defaultShape(),t=F(t),n.push(t),this._bounds.extend(t),this.redraw()},_setLatLngs:function(t){this._bounds=new At,this._latlngs=this._convertLatLngs(t)},_defaultShape:function(){return ze(this._latlngs)?this._latlngs:this._latlngs[0]},_convertLatLngs:function(t){for(var n=[],o=ze(t),r=0,u=t.length;r<u;r++)o?(n[r]=F(t[r]),this._bounds.extend(n[r])):n[r]=this._convertLatLngs(t[r]);return n},_project:function(){var t=new ct;this._rings=[],this._projectLatlngs(this._latlngs,this._rings,t),this._bounds.isValid()&&t.isValid()&&(this._rawPxBounds=t,this._updateBounds())},_updateBounds:function(){var t=this._clickTolerance(),n=new U(t,t);!this._rawPxBounds||(this._pxBounds=new ct([this._rawPxBounds.min.subtract(n),this._rawPxBounds.max.add(n)]))},_projectLatlngs:function(t,n,o){var r=t[0]instanceof P,u=t.length,f,g;if(r){for(g=[],f=0;f<u;f++)g[f]=this._map.latLngToLayerPoint(t[f]),o.extend(g[f]);n.push(g)}else for(f=0;f<u;f++)this._projectLatlngs(t[f],n,o)},_clipPoints:function(){var t=this._renderer._bounds;if(this._parts=[],!(!this._pxBounds||!this._pxBounds.intersects(t))){if(this.options.noClip){this._parts=this._rings;return}var n=this._parts,o,r,u,f,g,b,S;for(o=0,u=0,f=this._rings.length;o<f;o++)for(S=this._rings[o],r=0,g=S.length;r<g-1;r++)b=Sr(S[r],S[r+1],t,r,!0),b&&(n[u]=n[u]||[],n[u].push(b[0]),(b[1]!==S[r+1]||r===g-2)&&(n[u].push(b[1]),u++))}},_simplifyPoints:function(){for(var t=this._parts,n=this.options.smoothFactor,o=0,r=t.length;o<r;o++)t[o]=Tr(t[o],n)},_update:function(){!this._map||(this._clipPoints(),this._simplifyPoints(),this._updatePath())},_updatePath:function(){this._renderer._updatePoly(this)},_containsPoint:function(t,n){var o,r,u,f,g,b,S=this._clickTolerance();if(!this._pxBounds||!this._pxBounds.contains(t))return!1;for(o=0,f=this._parts.length;o<f;o++)for(b=this._parts[o],r=0,g=b.length,u=g-1;r<g;u=r++)if(!(!n&&r===0)&&Cr(t,b[u],b[r])<=S)return!0;return!1}});function qu(t,n){return new Ze(t,n)}Ze._flat=Mr;var In=Ze.extend({options:{fill:!0},isEmpty:function(){return!this._latlngs.length||!this._latlngs[0].length},getCenter:function(){if(!this._map)throw new Error("Must add layer to map before using getCenter()");var t,n,o,r,u,f,g,b,S,z=this._rings[0],V=z.length;if(!V)return null;for(f=g=b=0,t=0,n=V-1;t<V;n=t++)o=z[t],r=z[n],u=o.y*r.x-r.y*o.x,g+=(o.x+r.x)*u,b+=(o.y+r.y)*u,f+=u*3;return f===0?S=z[0]:S=[g/f,b/f],this._map.layerPointToLatLng(S)},_convertLatLngs:function(t){var n=Ze.prototype._convertLatLngs.call(this,t),o=n.length;return o>=2&&n[0]instanceof P&&n[0].equals(n[o-1])&&n.pop(),n},_setLatLngs:function(t){Ze.prototype._setLatLngs.call(this,t),ze(this._latlngs)&&(this._latlngs=[this._latlngs])},_defaultShape:function(){return ze(this._latlngs[0])?this._latlngs[0]:this._latlngs[0][0]},_clipPoints:function(){var t=this._renderer._bounds,n=this.options.weight,o=new U(n,n);if(t=new ct(t.min.subtract(o),t.max.add(o)),this._parts=[],!(!this._pxBounds||!this._pxBounds.intersects(t))){if(this.options.noClip){this._parts=this._rings;return}for(var r=0,u=this._rings.length,f;r<u;r++)f=kr(this._rings[r],t,!0),f.length&&this._parts.push(f)}},_updatePath:function(){this._renderer._updatePoly(this,!0)},_containsPoint:function(t){var n=!1,o,r,u,f,g,b,S,z;if(!this._pxBounds||!this._pxBounds.contains(t))return!1;for(f=0,S=this._parts.length;f<S;f++)for(o=this._parts[f],g=0,z=o.length,b=z-1;g<z;b=g++)r=o[g],u=o[b],r.y>t.y!=u.y>t.y&&t.x<(u.x-r.x)*(t.y-r.y)/(u.y-r.y)+r.x&&(n=!n);return n||Ze.prototype._containsPoint.call(this,t,!0)}});function $u(t,n){return new In(t,n)}var Ne=Mn.extend({initialize:function(t,n){R(this,n),this._layers={},t&&this.addData(t)},addData:function(t){var n=X(t)?t:t.features,o,r,u;if(n){for(o=0,r=n.length;o<r;o++)u=n[o],(u.geometries||u.geometry||u.features||u.coordinates)&&this.addData(u);return this}var f=this.options;if(f.filter&&!f.filter(t))return this;var g=ns(t,f);return g?(g.feature=Ki(t),g.defaultOptions=g.options,this.resetStyle(g),f.onEachFeature&&f.onEachFeature(t,g),this.addLayer(g)):this},resetStyle:function(t){return t===void 0?this.eachLayer(this.resetStyle,this):(t.options=l({},t.defaultOptions),this._setLayerStyle(t,this.options.style),this)},setStyle:function(t){return this.eachLayer(function(n){this._setLayerStyle(n,t)},this)},_setLayerStyle:function(t,n){t.setStyle&&(typeof n=="function"&&(n=n(t.feature)),t.setStyle(n))}});function ns(t,n){var o=t.type==="Feature"?t.geometry:t,r=o?o.coordinates:null,u=[],f=n&&n.pointToLayer,g=n&&n.coordsToLatLng||is,b,S,z,V;if(!r&&!o)return null;switch(o.type){case"Point":return b=g(r),Or(f,t,b,n);case"MultiPoint":for(z=0,V=r.length;z<V;z++)b=g(r[z]),u.push(Or(f,t,b,n));return new Mn(u);case"LineString":case"MultiLineString":return S=ji(r,o.type==="LineString"?0:1,g),new Ze(S,n);case"Polygon":case"MultiPolygon":return S=ji(r,o.type==="Polygon"?1:2,g),new In(S,n);case"GeometryCollection":for(z=0,V=o.geometries.length;z<V;z++){var lt=ns({geometry:o.geometries[z],type:"Feature",properties:t.properties},n);lt&&u.push(lt)}return new Mn(u);default:throw new Error("Invalid GeoJSON object.")}}function Or(t,n,o,r){return t?t(n,o):new Hi(o,r&&r.markersInheritOptions&&r)}function is(t){return new P(t[1],t[0],t[2])}function ji(t,n,o){for(var r=[],u=0,f=t.length,g;u<f;u++)g=n?ji(t[u],n-1,o):(o||is)(t[u]),r.push(g);return r}function os(t,n){return t=F(t),t.alt!==void 0?[A(t.lng,n),A(t.lat,n),A(t.alt,n)]:[A(t.lng,n),A(t.lat,n)]}function Wi(t,n,o,r){for(var u=[],f=0,g=t.length;f<g;f++)u.push(n?Wi(t[f],n-1,o,r):os(t[f],r));return!n&&o&&u.push(u[0]),u}function Bn(t,n){return t.feature?l({},t.feature,{geometry:n}):Ki(n)}function Ki(t){return t.type==="Feature"||t.type==="FeatureCollection"?t:{type:"Feature",properties:{},geometry:t}}var ss={toGeoJSON:function(t){return Bn(this,{type:"Point",coordinates:os(this.getLatLng(),t)})}};Hi.include(ss),es.include(ss),Ui.include(ss),Ze.include({toGeoJSON:function(t){var n=!ze(this._latlngs),o=Wi(this._latlngs,n?1:0,!1,t);return Bn(this,{type:(n?"Multi":"")+"LineString",coordinates:o})}}),In.include({toGeoJSON:function(t){var n=!ze(this._latlngs),o=n&&!ze(this._latlngs[0]),r=Wi(this._latlngs,o?2:n?1:0,!0,t);return n||(r=[r]),Bn(this,{type:(o?"Multi":"")+"Polygon",coordinates:r})}}),Sn.include({toMultiPoint:function(t){var n=[];return this.eachLayer(function(o){n.push(o.toGeoJSON(t).geometry.coordinates)}),Bn(this,{type:"MultiPoint",coordinates:n})},toGeoJSON:function(t){var n=this.feature&&this.feature.geometry&&this.feature.geometry.type;if(n==="MultiPoint")return this.toMultiPoint(t);var o=n==="GeometryCollection",r=[];return this.eachLayer(function(u){if(u.toGeoJSON){var f=u.toGeoJSON(t);if(o)r.push(f.geometry);else{var g=Ki(f);g.type==="FeatureCollection"?r.push.apply(r,g.features):r.push(g)}}}),o?Bn(this,{geometries:r,type:"GeometryCollection"}):{type:"FeatureCollection",features:r}}});function Rr(t,n){return new Ne(t,n)}var Gu=Rr,Vi=ye.extend({options:{opacity:1,alt:"",interactive:!1,crossOrigin:!1,errorOverlayUrl:"",zIndex:1,className:""},initialize:function(t,n,o){this._url=t,this._bounds=xt(n),R(this,o)},onAdd:function(){this._image||(this._initImage(),this.options.opacity<1&&this._updateOpacity()),this.options.interactive&&(at(this._image,"leaflet-interactive"),this.addInteractiveTarget(this._image)),this.getPane().appendChild(this._image),this._reset()},onRemove:function(){zt(this._image),this.options.interactive&&this.removeInteractiveTarget(this._image)},setOpacity:function(t){return this.options.opacity=t,this._image&&this._updateOpacity(),this},setStyle:function(t){return t.opacity&&this.setOpacity(t.opacity),this},bringToFront:function(){return this._map&&Cn(this._image),this},bringToBack:function(){return this._map&&En(this._image),this},setUrl:function(t){return this._url=t,this._image&&(this._image.src=t),this},setBounds:function(t){return this._bounds=xt(t),this._map&&this._reset(),this},getEvents:function(){var t={zoom:this._reset,viewreset:this._reset};return this._zoomAnimated&&(t.zoomanim=this._animateZoom),t},setZIndex:function(t){return this.options.zIndex=t,this._updateZIndex(),this},getBounds:function(){return this._bounds},getElement:function(){return this._image},_initImage:function(){var t=this._url.tagName==="IMG",n=this._image=t?this._url:wt("img");if(at(n,"leaflet-image-layer"),this._zoomAnimated&&at(n,"leaflet-zoom-animated"),this.options.className&&at(n,this.options.className),n.onselectstart=y,n.onmousemove=y,n.onload=h(this.fire,this,"load"),n.onerror=h(this._overlayOnError,this,"error"),(this.options.crossOrigin||this.options.crossOrigin==="")&&(n.crossOrigin=this.options.crossOrigin===!0?"":this.options.crossOrigin),this.options.zIndex&&this._updateZIndex(),t){this._url=n.src;return}n.src=this._url,n.alt=this.options.alt},_animateZoom:function(t){var n=this._map.getZoomScale(t.zoom),o=this._map._latLngBoundsToNewLayerBounds(this._bounds,t.zoom,t.center).min;ln(this._image,o,n)},_reset:function(){var t=this._image,n=new ct(this._map.latLngToLayerPoint(this._bounds.getNorthWest()),this._map.latLngToLayerPoint(this._bounds.getSouthEast())),o=n.getSize();Ut(t,n.min),t.style.width=o.x+"px",t.style.height=o.y+"px"},_updateOpacity:function(){fe(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 t=this.options.errorOverlayUrl;t&&this._url!==t&&(this._url=t,this._image.src=t)},getCenter:function(){return this._bounds.getCenter()}}),Yu=function(t,n,o){return new Vi(t,n,o)},zr=Vi.extend({options:{autoplay:!0,loop:!0,keepAspectRatio:!0,muted:!1,playsInline:!0},_initImage:function(){var t=this._url.tagName==="VIDEO",n=this._image=t?this._url:wt("video");if(at(n,"leaflet-image-layer"),this._zoomAnimated&&at(n,"leaflet-zoom-animated"),this.options.className&&at(n,this.options.className),n.onselectstart=y,n.onmousemove=y,n.onloadeddata=h(this.fire,this,"load"),t){for(var o=n.getElementsByTagName("source"),r=[],u=0;u<o.length;u++)r.push(o[u].src);this._url=o.length>0?r:[n.src];return}X(this._url)||(this._url=[this._url]),!this.options.keepAspectRatio&&Object.prototype.hasOwnProperty.call(n.style,"objectFit")&&(n.style.objectFit="fill"),n.autoplay=!!this.options.autoplay,n.loop=!!this.options.loop,n.muted=!!this.options.muted,n.playsInline=!!this.options.playsInline;for(var f=0;f<this._url.length;f++){var g=wt("source");g.src=this._url[f],n.appendChild(g)}}});function Qu(t,n,o){return new zr(t,n,o)}var Zr=Vi.extend({_initImage:function(){var t=this._image=this._url;at(t,"leaflet-image-layer"),this._zoomAnimated&&at(t,"leaflet-zoom-animated"),this.options.className&&at(t,this.options.className),t.onselectstart=y,t.onmousemove=y}});function Xu(t,n,o){return new Zr(t,n,o)}var Me=ye.extend({options:{interactive:!1,offset:[0,0],className:"",pane:void 0},initialize:function(t,n){R(this,t),this._source=n},openOn:function(t){return t=arguments.length?t:this._source._map,t.hasLayer(this)||t.addLayer(this),this},close:function(){return this._map&&this._map.removeLayer(this),this},toggle:function(t){return this._map?this.close():(arguments.length?this._source=t:t=this._source,this._prepareOpen(),this.openOn(t._map)),this},onAdd:function(t){this._zoomAnimated=t._zoomAnimated,this._container||this._initLayout(),t._fadeAnimated&&fe(this._container,0),clearTimeout(this._removeTimeout),this.getPane().appendChild(this._container),this.update(),t._fadeAnimated&&fe(this._container,1),this.bringToFront(),this.options.interactive&&(at(this._container,"leaflet-interactive"),this.addInteractiveTarget(this._container))},onRemove:function(t){t._fadeAnimated?(fe(this._container,0),this._removeTimeout=setTimeout(h(zt,void 0,this._container),200)):zt(this._container),this.options.interactive&&(Nt(this._container,"leaflet-interactive"),this.removeInteractiveTarget(this._container))},getLatLng:function(){return this._latlng},setLatLng:function(t){return this._latlng=F(t),this._map&&(this._updatePosition(),this._adjustPan()),this},getContent:function(){return this._content},setContent:function(t){return this._content=t,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 t={zoom:this._updatePosition,viewreset:this._updatePosition};return this._zoomAnimated&&(t.zoomanim=this._animateZoom),t},isOpen:function(){return!!this._map&&this._map.hasLayer(this)},bringToFront:function(){return this._map&&Cn(this._container),this},bringToBack:function(){return this._map&&En(this._container),this},_prepareOpen:function(t){var n=this._source;if(!n._map)return!1;if(n instanceof Mn){n=null;var o=this._source._layers;for(var r in o)if(o[r]._map){n=o[r];break}if(!n)return!1;this._source=n}if(!t)if(n.getCenter)t=n.getCenter();else if(n.getLatLng)t=n.getLatLng();else if(n.getBounds)t=n.getBounds().getCenter();else throw new Error("Unable to get source layer LatLng.");return this.setLatLng(t),this._map&&this.update(),!0},_updateContent:function(){if(!!this._content){var t=this._contentNode,n=typeof this._content=="function"?this._content(this._source||this):this._content;if(typeof n=="string")t.innerHTML=n;else{for(;t.hasChildNodes();)t.removeChild(t.firstChild);t.appendChild(n)}this.fire("contentupdate")}},_updatePosition:function(){if(!!this._map){var t=this._map.latLngToLayerPoint(this._latlng),n=et(this.options.offset),o=this._getAnchor();this._zoomAnimated?Ut(this._container,t.add(o)):n=n.add(t).add(o);var r=this._containerBottom=-n.y,u=this._containerLeft=-Math.round(this._containerWidth/2)+n.x;this._container.style.bottom=r+"px",this._container.style.left=u+"px"}},_getAnchor:function(){return[0,0]}});_t.include({_initOverlay:function(t,n,o,r){var u=n;return u instanceof t||(u=new t(r).setContent(n)),o&&u.setLatLng(o),u}}),ye.include({_initOverlay:function(t,n,o,r){var u=o;return u instanceof t?(R(u,r),u._source=this):(u=n&&!r?n:new t(r,this),u.setContent(o)),u}});var qi=Me.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(t){return t=arguments.length?t:this._source._map,!t.hasLayer(this)&&t._popup&&t._popup.options.autoClose&&t.removeLayer(t._popup),t._popup=this,Me.prototype.openOn.call(this,t)},onAdd:function(t){Me.prototype.onAdd.call(this,t),t.fire("popupopen",{popup:this}),this._source&&(this._source.fire("popupopen",{popup:this},!0),this._source instanceof Ye||this._source.on("preclick",cn))},onRemove:function(t){Me.prototype.onRemove.call(this,t),t.fire("popupclose",{popup:this}),this._source&&(this._source.fire("popupclose",{popup:this},!0),this._source instanceof Ye||this._source.off("preclick",cn))},getEvents:function(){var t=Me.prototype.getEvents.call(this);return(this.options.closeOnClick!==void 0?this.options.closeOnClick:this._map.options.closePopupOnClick)&&(t.preclick=this.close),this.options.keepInView&&(t.moveend=this._adjustPan),t},_initLayout:function(){var t="leaflet-popup",n=this._container=wt("div",t+" "+(this.options.className||"")+" leaflet-zoom-animated"),o=this._wrapper=wt("div",t+"-content-wrapper",n);if(this._contentNode=wt("div",t+"-content",o),ri(n),$o(this._contentNode),st(n,"contextmenu",cn),this._tipContainer=wt("div",t+"-tip-container",n),this._tip=wt("div",t+"-tip",this._tipContainer),this.options.closeButton){var r=this._closeButton=wt("a",t+"-close-button",n);r.setAttribute("role","button"),r.setAttribute("aria-label","Close popup"),r.href="#close",r.innerHTML='<span aria-hidden="true">&#215;</span>',st(r,"click",this.close,this)}},_updateLayout:function(){var t=this._contentNode,n=t.style;n.width="",n.whiteSpace="nowrap";var o=t.offsetWidth;o=Math.min(o,this.options.maxWidth),o=Math.max(o,this.options.minWidth),n.width=o+1+"px",n.whiteSpace="",n.height="";var r=t.offsetHeight,u=this.options.maxHeight,f="leaflet-popup-scrolled";u&&r>u?(n.height=u+"px",at(t,f)):Nt(t,f),this._containerWidth=this._container.offsetWidth},_animateZoom:function(t){var n=this._map._latLngToNewLayerPoint(this._latlng,t.zoom,t.center),o=this._getAnchor();Ut(this._container,n.add(o))},_adjustPan:function(t){if(!!this.options.autoPan){this._map._panAnim&&this._map._panAnim.stop();var n=this._map,o=parseInt(ni(this._container,"marginBottom"),10)||0,r=this._container.offsetHeight+o,u=this._containerWidth,f=new U(this._containerLeft,-r-this._containerBottom);f._add(un(this._container));var g=n.layerPointToContainerPoint(f),b=et(this.options.autoPanPadding),S=et(this.options.autoPanPaddingTopLeft||b),z=et(this.options.autoPanPaddingBottomRight||b),V=n.getSize(),lt=0,mt=0;g.x+u+z.x>V.x&&(lt=g.x+u-V.x+z.x),g.x-lt-S.x<0&&(lt=g.x-S.x),g.y+r+z.y>V.y&&(mt=g.y+r-V.y+z.y),g.y-mt-S.y<0&&(mt=g.y-S.y),(lt||mt)&&n.fire("autopanstart").panBy([lt,mt],{animate:t&&t.type==="moveend"})}},_getAnchor:function(){return et(this._source&&this._source._getPopupAnchor?this._source._getPopupAnchor():[0,0])}}),Ju=function(t,n){return new qi(t,n)};_t.mergeOptions({closePopupOnClick:!0}),_t.include({openPopup:function(t,n,o){return this._initOverlay(qi,t,n,o).openOn(this),this},closePopup:function(t){return t=arguments.length?t:this._popup,t&&t.close(),this}}),ye.include({bindPopup:function(t,n){return this._popup=this._initOverlay(qi,this._popup,t,n),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(t){return this._popup&&this._popup._prepareOpen(t)&&this._popup.openOn(this._map),this},closePopup:function(){return this._popup&&this._popup.close(),this},togglePopup:function(){return this._popup&&this._popup.toggle(this),this},isPopupOpen:function(){return this._popup?this._popup.isOpen():!1},setPopupContent:function(t){return this._popup&&this._popup.setContent(t),this},getPopup:function(){return this._popup},_openPopup:function(t){if(!(!this._popup||!this._map)){hn(t);var n=t.layer||t.target;if(this._popup._source===n&&!(n instanceof Ye)){this._map.hasLayer(this._popup)?this.closePopup():this.openPopup(t.latlng);return}this._popup._source=n,this.openPopup(t.latlng)}},_movePopup:function(t){this._popup.setLatLng(t.latlng)},_onKeyPress:function(t){t.originalEvent.keyCode===13&&this._openPopup(t)}});var $i=Me.extend({options:{pane:"tooltipPane",offset:[0,0],direction:"auto",permanent:!1,sticky:!1,opacity:.9},onAdd:function(t){Me.prototype.onAdd.call(this,t),this.setOpacity(this.options.opacity),t.fire("tooltipopen",{tooltip:this}),this._source&&(this.addEventParent(this._source),this._source.fire("tooltipopen",{tooltip:this},!0))},onRemove:function(t){Me.prototype.onRemove.call(this,t),t.fire("tooltipclose",{tooltip:this}),this._source&&(this.removeEventParent(this._source),this._source.fire("tooltipclose",{tooltip:this},!0))},getEvents:function(){var t=Me.prototype.getEvents.call(this);return this.options.permanent||(t.preclick=this.close),t},_initLayout:function(){var t="leaflet-tooltip",n=t+" "+(this.options.className||"")+" leaflet-zoom-"+(this._zoomAnimated?"animated":"hide");this._contentNode=this._container=wt("div",n)},_updateLayout:function(){},_adjustPan:function(){},_setPosition:function(t){var n,o,r=this._map,u=this._container,f=r.latLngToContainerPoint(r.getCenter()),g=r.layerPointToContainerPoint(t),b=this.options.direction,S=u.offsetWidth,z=u.offsetHeight,V=et(this.options.offset),lt=this._getAnchor();b==="top"?(n=S/2,o=z):b==="bottom"?(n=S/2,o=0):b==="center"?(n=S/2,o=z/2):b==="right"?(n=0,o=z/2):b==="left"?(n=S,o=z/2):g.x<f.x?(b="right",n=0,o=z/2):(b="left",n=S+(V.x+lt.x)*2,o=z/2),t=t.subtract(et(n,o,!0)).add(V).add(lt),Nt(u,"leaflet-tooltip-right"),Nt(u,"leaflet-tooltip-left"),Nt(u,"leaflet-tooltip-top"),Nt(u,"leaflet-tooltip-bottom"),at(u,"leaflet-tooltip-"+b),Ut(u,t)},_updatePosition:function(){var t=this._map.latLngToLayerPoint(this._latlng);this._setPosition(t)},setOpacity:function(t){this.options.opacity=t,this._container&&fe(this._container,t)},_animateZoom:function(t){var n=this._map._latLngToNewLayerPoint(this._latlng,t.zoom,t.center);this._setPosition(n)},_getAnchor:function(){return et(this._source&&this._source._getTooltipAnchor&&!this.options.sticky?this._source._getTooltipAnchor():[0,0])}}),tc=function(t,n){return new $i(t,n)};_t.include({openTooltip:function(t,n,o){return this._initOverlay($i,t,n,o).openOn(this),this},closeTooltip:function(t){return t.close(),this}}),ye.include({bindTooltip:function(t,n){return this._tooltip&&this.isTooltipOpen()&&this.unbindTooltip(),this._tooltip=this._initOverlay($i,this._tooltip,t,n),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(t){if(!(!t&&this._tooltipHandlersAdded)){var n=t?"off":"on",o={remove:this.closeTooltip,move:this._moveTooltip};this._tooltip.options.permanent?o.add=this._openTooltip:(o.mouseover=this._openTooltip,o.mouseout=this.closeTooltip,o.click=this._openTooltip),this._tooltip.options.sticky&&(o.mousemove=this._moveTooltip),this[n](o),this._tooltipHandlersAdded=!t}},openTooltip:function(t){return this._tooltip&&this._tooltip._prepareOpen(t)&&this._tooltip.openOn(this._map),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(t){return this._tooltip&&this._tooltip.setContent(t),this},getTooltip:function(){return this._tooltip},_openTooltip:function(t){!this._tooltip||!this._map||this._map.dragging&&this._map.dragging.moving()||(this._tooltip._source=t.layer||t.target,this.openTooltip(this._tooltip.options.sticky?t.latlng:void 0))},_moveTooltip:function(t){var n=t.latlng,o,r;this._tooltip.options.sticky&&t.originalEvent&&(o=this._map.mouseEventToContainerPoint(t.originalEvent),r=this._map.containerPointToLayerPoint(o),n=this._map.layerPointToLatLng(r)),this._tooltip.setLatLng(n)}});var Nr=kn.extend({options:{iconSize:[12,12],html:!1,bgPos:null,className:"leaflet-div-icon"},createIcon:function(t){var n=t&&t.tagName==="DIV"?t:document.createElement("div"),o=this.options;if(o.html instanceof Element?(Ri(n),n.appendChild(o.html)):n.innerHTML=o.html!==!1?o.html:"",o.bgPos){var r=et(o.bgPos);n.style.backgroundPosition=-r.x+"px "+-r.y+"px"}return this._setIconStyles(n,"icon"),n},createShadow:function(){return null}});function ec(t){return new Nr(t)}kn.Default=ui;var ci=ye.extend({options:{tileSize:256,opacity:1,updateWhenIdle:$.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(t){R(this,t)},onAdd:function(){this._initContainer(),this._levels={},this._tiles={},this._resetView()},beforeAdd:function(t){t._addZoomLimit(this)},onRemove:function(t){this._removeAllTiles(),zt(this._container),t._removeZoomLimit(this),this._container=null,this._tileZoom=void 0},bringToFront:function(){return this._map&&(Cn(this._container),this._setAutoZIndex(Math.max)),this},bringToBack:function(){return this._map&&(En(this._container),this._setAutoZIndex(Math.min)),this},getContainer:function(){return this._container},setOpacity:function(t){return this.options.opacity=t,this._updateOpacity(),this},setZIndex:function(t){return this.options.zIndex=t,this._updateZIndex(),this},isLoading:function(){return this._loading},redraw:function(){if(this._map){this._removeAllTiles();var t=this._clampZoom(this._map.getZoom());t!==this._tileZoom&&(this._tileZoom=t,this._updateLevels()),this._update()}return this},getEvents:function(){var t={viewprereset:this._invalidateAll,viewreset:this._resetView,zoom:this._resetView,moveend:this._onMoveEnd};return this.options.updateWhenIdle||(this._onMove||(this._onMove=m(this._onMoveEnd,this.options.updateInterval,this)),t.move=this._onMove),this._zoomAnimated&&(t.zoomanim=this._animateZoom),t},createTile:function(){return document.createElement("div")},getTileSize:function(){var t=this.options.tileSize;return t instanceof U?t:new U(t,t)},_updateZIndex:function(){this._container&&this.options.zIndex!==void 0&&this.options.zIndex!==null&&(this._container.style.zIndex=this.options.zIndex)},_setAutoZIndex:function(t){for(var n=this.getPane().children,o=-t(-1/0,1/0),r=0,u=n.length,f;r<u;r++)f=n[r].style.zIndex,n[r]!==this._container&&f&&(o=t(o,+f));isFinite(o)&&(this.options.zIndex=o+t(-1,1),this._updateZIndex())},_updateOpacity:function(){if(!!this._map&&!$.ielt9){fe(this._container,this.options.opacity);var t=+new Date,n=!1,o=!1;for(var r in this._tiles){var u=this._tiles[r];if(!(!u.current||!u.loaded)){var f=Math.min(1,(t-u.loaded)/200);fe(u.el,f),f<1?n=!0:(u.active?o=!0:this._onOpaqueTile(u),u.active=!0)}}o&&!this._noPrune&&this._pruneTiles(),n&&(Lt(this._fadeFrame),this._fadeFrame=ft(this._updateOpacity,this))}},_onOpaqueTile:y,_initContainer:function(){this._container||(this._container=wt("div","leaflet-layer "+(this.options.className||"")),this._updateZIndex(),this.options.opacity<1&&this._updateOpacity(),this.getPane().appendChild(this._container))},_updateLevels:function(){var t=this._tileZoom,n=this.options.maxZoom;if(t!==void 0){for(var o in this._levels)o=Number(o),this._levels[o].el.children.length||o===t?(this._levels[o].el.style.zIndex=n-Math.abs(t-o),this._onUpdateLevel(o)):(zt(this._levels[o].el),this._removeTilesAtZoom(o),this._onRemoveLevel(o),delete this._levels[o]);var r=this._levels[t],u=this._map;return r||(r=this._levels[t]={},r.el=wt("div","leaflet-tile-container leaflet-zoom-animated",this._container),r.el.style.zIndex=n,r.origin=u.project(u.unproject(u.getPixelOrigin()),t).round(),r.zoom=t,this._setZoomTransform(r,u.getCenter(),u.getZoom()),y(r.el.offsetWidth),this._onCreateLevel(r)),this._level=r,r}},_onUpdateLevel:y,_onRemoveLevel:y,_onCreateLevel:y,_pruneTiles:function(){if(!!this._map){var t,n,o=this._map.getZoom();if(o>this.options.maxZoom||o<this.options.minZoom){this._removeAllTiles();return}for(t in this._tiles)n=this._tiles[t],n.retain=n.current;for(t in this._tiles)if(n=this._tiles[t],n.current&&!n.active){var r=n.coords;this._retainParent(r.x,r.y,r.z,r.z-5)||this._retainChildren(r.x,r.y,r.z,r.z+2)}for(t in this._tiles)this._tiles[t].retain||this._removeTile(t)}},_removeTilesAtZoom:function(t){for(var n in this._tiles)this._tiles[n].coords.z===t&&this._removeTile(n)},_removeAllTiles:function(){for(var t in this._tiles)this._removeTile(t)},_invalidateAll:function(){for(var t in this._levels)zt(this._levels[t].el),this._onRemoveLevel(Number(t)),delete this._levels[t];this._removeAllTiles(),this._tileZoom=void 0},_retainParent:function(t,n,o,r){var u=Math.floor(t/2),f=Math.floor(n/2),g=o-1,b=new U(+u,+f);b.z=+g;var S=this._tileCoordsToKey(b),z=this._tiles[S];return z&&z.active?(z.retain=!0,!0):(z&&z.loaded&&(z.retain=!0),g>r?this._retainParent(u,f,g,r):!1)},_retainChildren:function(t,n,o,r){for(var u=2*t;u<2*t+2;u++)for(var f=2*n;f<2*n+2;f++){var g=new U(u,f);g.z=o+1;var b=this._tileCoordsToKey(g),S=this._tiles[b];if(S&&S.active){S.retain=!0;continue}else S&&S.loaded&&(S.retain=!0);o+1<r&&this._retainChildren(u,f,o+1,r)}},_resetView:function(t){var n=t&&(t.pinch||t.flyTo);this._setView(this._map.getCenter(),this._map.getZoom(),n,n)},_animateZoom:function(t){this._setView(t.center,t.zoom,!0,t.noUpdate)},_clampZoom:function(t){var n=this.options;return n.minNativeZoom!==void 0&&t<n.minNativeZoom?n.minNativeZoom:n.maxNativeZoom!==void 0&&n.maxNativeZoom<t?n.maxNativeZoom:t},_setView:function(t,n,o,r){var u=Math.round(n);this.options.maxZoom!==void 0&&u>this.options.maxZoom||this.options.minZoom!==void 0&&u<this.options.minZoom?u=void 0:u=this._clampZoom(u);var f=this.options.updateWhenZooming&&u!==this._tileZoom;(!r||f)&&(this._tileZoom=u,this._abortLoading&&this._abortLoading(),this._updateLevels(),this._resetGrid(),u!==void 0&&this._update(t),o||this._pruneTiles(),this._noPrune=!!o),this._setZoomTransforms(t,n)},_setZoomTransforms:function(t,n){for(var o in this._levels)this._setZoomTransform(this._levels[o],t,n)},_setZoomTransform:function(t,n,o){var r=this._map.getZoomScale(o,t.zoom),u=t.origin.multiplyBy(r).subtract(this._map._getNewPixelOrigin(n,o)).round();$.any3d?ln(t.el,u,r):Ut(t.el,u)},_resetGrid:function(){var t=this._map,n=t.options.crs,o=this._tileSize=this.getTileSize(),r=this._tileZoom,u=this._map.getPixelWorldBounds(this._tileZoom);u&&(this._globalTileRange=this._pxBoundsToTileRange(u)),this._wrapX=n.wrapLng&&!this.options.noWrap&&[Math.floor(t.project([0,n.wrapLng[0]],r).x/o.x),Math.ceil(t.project([0,n.wrapLng[1]],r).x/o.y)],this._wrapY=n.wrapLat&&!this.options.noWrap&&[Math.floor(t.project([n.wrapLat[0],0],r).y/o.x),Math.ceil(t.project([n.wrapLat[1],0],r).y/o.y)]},_onMoveEnd:function(){!this._map||this._map._animatingZoom||this._update()},_getTiledPixelBounds:function(t){var n=this._map,o=n._animatingZoom?Math.max(n._animateToZoom,n.getZoom()):n.getZoom(),r=n.getZoomScale(o,this._tileZoom),u=n.project(t,this._tileZoom).floor(),f=n.getSize().divideBy(r*2);return new ct(u.subtract(f),u.add(f))},_update:function(t){var n=this._map;if(!!n){var o=this._clampZoom(n.getZoom());if(t===void 0&&(t=n.getCenter()),this._tileZoom!==void 0){var r=this._getTiledPixelBounds(t),u=this._pxBoundsToTileRange(r),f=u.getCenter(),g=[],b=this.options.keepBuffer,S=new ct(u.getBottomLeft().subtract([b,-b]),u.getTopRight().add([b,-b]));if(!(isFinite(u.min.x)&&isFinite(u.min.y)&&isFinite(u.max.x)&&isFinite(u.max.y)))throw new Error("Attempted to load an infinite number of tiles");for(var z in this._tiles){var V=this._tiles[z].coords;(V.z!==this._tileZoom||!S.contains(new U(V.x,V.y)))&&(this._tiles[z].current=!1)}if(Math.abs(o-this._tileZoom)>1){this._setView(t,o);return}for(var lt=u.min.y;lt<=u.max.y;lt++)for(var mt=u.min.x;mt<=u.max.x;mt++){var Fe=new U(mt,lt);if(Fe.z=this._tileZoom,!!this._isValidTile(Fe)){var dn=this._tiles[this._tileCoordsToKey(Fe)];dn?dn.current=!0:g.push(Fe)}}if(g.sort(function(Qe,rs){return Qe.distanceTo(f)-rs.distanceTo(f)}),g.length!==0){this._loading||(this._loading=!0,this.fire("loading"));var Yi=document.createDocumentFragment();for(mt=0;mt<g.length;mt++)this._addTile(g[mt],Yi);this._level.el.appendChild(Yi)}}}},_isValidTile:function(t){var n=this._map.options.crs;if(!n.infinite){var o=this._globalTileRange;if(!n.wrapLng&&(t.x<o.min.x||t.x>o.max.x)||!n.wrapLat&&(t.y<o.min.y||t.y>o.max.y))return!1}if(!this.options.bounds)return!0;var r=this._tileCoordsToBounds(t);return xt(this.options.bounds).overlaps(r)},_keyToBounds:function(t){return this._tileCoordsToBounds(this._keyToTileCoords(t))},_tileCoordsToNwSe:function(t){var n=this._map,o=this.getTileSize(),r=t.scaleBy(o),u=r.add(o),f=n.unproject(r,t.z),g=n.unproject(u,t.z);return[f,g]},_tileCoordsToBounds:function(t){var n=this._tileCoordsToNwSe(t),o=new At(n[0],n[1]);return this.options.noWrap||(o=this._map.wrapLatLngBounds(o)),o},_tileCoordsToKey:function(t){return t.x+":"+t.y+":"+t.z},_keyToTileCoords:function(t){var n=t.split(":"),o=new U(+n[0],+n[1]);return o.z=+n[2],o},_removeTile:function(t){var n=this._tiles[t];!n||(zt(n.el),delete this._tiles[t],this.fire("tileunload",{tile:n.el,coords:this._keyToTileCoords(t)}))},_initTile:function(t){at(t,"leaflet-tile");var n=this.getTileSize();t.style.width=n.x+"px",t.style.height=n.y+"px",t.onselectstart=y,t.onmousemove=y,$.ielt9&&this.options.opacity<1&&fe(t,this.options.opacity)},_addTile:function(t,n){var o=this._getTilePos(t),r=this._tileCoordsToKey(t),u=this.createTile(this._wrapCoords(t),h(this._tileReady,this,t));this._initTile(u),this.createTile.length<2&&ft(h(this._tileReady,this,t,null,u)),Ut(u,o),this._tiles[r]={el:u,coords:t,current:!0},n.appendChild(u),this.fire("tileloadstart",{tile:u,coords:t})},_tileReady:function(t,n,o){n&&this.fire("tileerror",{error:n,tile:o,coords:t});var r=this._tileCoordsToKey(t);o=this._tiles[r],o&&(o.loaded=+new Date,this._map._fadeAnimated?(fe(o.el,0),Lt(this._fadeFrame),this._fadeFrame=ft(this._updateOpacity,this)):(o.active=!0,this._pruneTiles()),n||(at(o.el,"leaflet-tile-loaded"),this.fire("tileload",{tile:o.el,coords:t})),this._noTilesToLoad()&&(this._loading=!1,this.fire("load"),$.ielt9||!this._map._fadeAnimated?ft(this._pruneTiles,this):setTimeout(h(this._pruneTiles,this),250)))},_getTilePos:function(t){return t.scaleBy(this.getTileSize()).subtract(this._level.origin)},_wrapCoords:function(t){var n=new U(this._wrapX?v(t.x,this._wrapX):t.x,this._wrapY?v(t.y,this._wrapY):t.y);return n.z=t.z,n},_pxBoundsToTileRange:function(t){var n=this.getTileSize();return new ct(t.min.unscaleBy(n).floor(),t.max.unscaleBy(n).ceil().subtract([1,1]))},_noTilesToLoad:function(){for(var t in this._tiles)if(!this._tiles[t].loaded)return!1;return!0}});function nc(t){return new ci(t)}var On=ci.extend({options:{minZoom:0,maxZoom:18,subdomains:"abc",errorTileUrl:"",zoomOffset:0,tms:!1,zoomReverse:!1,detectRetina:!1,crossOrigin:!1,referrerPolicy:!1},initialize:function(t,n){this._url=t,n=R(this,n),n.detectRetina&&$.retina&&n.maxZoom>0&&(n.tileSize=Math.floor(n.tileSize/2),n.zoomReverse?(n.zoomOffset--,n.minZoom++):(n.zoomOffset++,n.maxZoom--),n.minZoom=Math.max(0,n.minZoom)),typeof n.subdomains=="string"&&(n.subdomains=n.subdomains.split("")),this.on("tileunload",this._onTileRemove)},setUrl:function(t,n){return this._url===t&&n===void 0&&(n=!0),this._url=t,n||this.redraw(),this},createTile:function(t,n){var o=document.createElement("img");return st(o,"load",h(this._tileOnLoad,this,n,o)),st(o,"error",h(this._tileOnError,this,n,o)),(this.options.crossOrigin||this.options.crossOrigin==="")&&(o.crossOrigin=this.options.crossOrigin===!0?"":this.options.crossOrigin),typeof this.options.referrerPolicy=="string"&&(o.referrerPolicy=this.options.referrerPolicy),o.alt="",o.setAttribute("role","presentation"),o.src=this.getTileUrl(t),o},getTileUrl:function(t){var n={r:$.retina?"@2x":"",s:this._getSubdomain(t),x:t.x,y:t.y,z:this._getZoomForUrl()};if(this._map&&!this._map.options.crs.infinite){var o=this._globalTileRange.max.y-t.y;this.options.tms&&(n.y=o),n["-y"]=o}return Y(this._url,l(n,this.options))},_tileOnLoad:function(t,n){$.ielt9?setTimeout(h(t,this,null,n),0):t(null,n)},_tileOnError:function(t,n,o){var r=this.options.errorTileUrl;r&&n.getAttribute("src")!==r&&(n.src=r),t(o,n)},_onTileRemove:function(t){t.tile.onload=null},_getZoomForUrl:function(){var t=this._tileZoom,n=this.options.maxZoom,o=this.options.zoomReverse,r=this.options.zoomOffset;return o&&(t=n-t),t+r},_getSubdomain:function(t){var n=Math.abs(t.x+t.y)%this.options.subdomains.length;return this.options.subdomains[n]},_abortLoading:function(){var t,n;for(t in this._tiles)if(this._tiles[t].coords.z!==this._tileZoom&&(n=this._tiles[t].el,n.onload=y,n.onerror=y,!n.complete)){n.src=Ot;var o=this._tiles[t].coords;zt(n),delete this._tiles[t],this.fire("tileabort",{tile:n,coords:o})}},_removeTile:function(t){var n=this._tiles[t];if(!!n)return n.el.setAttribute("src",Ot),ci.prototype._removeTile.call(this,t)},_tileReady:function(t,n,o){if(!(!this._map||o&&o.getAttribute("src")===Ot))return ci.prototype._tileReady.call(this,t,n,o)}});function Dr(t,n){return new On(t,n)}var Fr=On.extend({defaultWmsParams:{service:"WMS",request:"GetMap",layers:"",styles:"",format:"image/jpeg",transparent:!1,version:"1.1.1"},options:{crs:null,uppercase:!1},initialize:function(t,n){this._url=t;var o=l({},this.defaultWmsParams);for(var r in n)r in this.options||(o[r]=n[r]);n=R(this,n);var u=n.detectRetina&&$.retina?2:1,f=this.getTileSize();o.width=f.x*u,o.height=f.y*u,this.wmsParams=o},onAdd:function(t){this._crs=this.options.crs||t.options.crs,this._wmsVersion=parseFloat(this.wmsParams.version);var n=this._wmsVersion>=1.3?"crs":"srs";this.wmsParams[n]=this._crs.code,On.prototype.onAdd.call(this,t)},getTileUrl:function(t){var n=this._tileCoordsToNwSe(t),o=this._crs,r=It(o.project(n[0]),o.project(n[1])),u=r.min,f=r.max,g=(this._wmsVersion>=1.3&&this._crs===Ir?[u.y,u.x,f.y,f.x]:[u.x,u.y,f.x,f.y]).join(","),b=On.prototype.getTileUrl.call(this,t);return b+H(this.wmsParams,b,this.options.uppercase)+(this.options.uppercase?"&BBOX=":"&bbox=")+g},setParams:function(t,n){return l(this.wmsParams,t),n||this.redraw(),this}});function ic(t,n){return new Fr(t,n)}On.WMS=Fr,Dr.wms=ic;var De=ye.extend({options:{padding:.1},initialize:function(t){R(this,t),d(this),this._layers=this._layers||{}},onAdd:function(){this._container||(this._initContainer(),this._zoomAnimated&&at(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 t={viewreset:this._reset,zoom:this._onZoom,moveend:this._update,zoomend:this._onZoomEnd};return this._zoomAnimated&&(t.zoomanim=this._onAnimZoom),t},_onAnimZoom:function(t){this._updateTransform(t.center,t.zoom)},_onZoom:function(){this._updateTransform(this._map.getCenter(),this._map.getZoom())},_updateTransform:function(t,n){var o=this._map.getZoomScale(n,this._zoom),r=this._map.getSize().multiplyBy(.5+this.options.padding),u=this._map.project(this._center,n),f=r.multiplyBy(-o).add(u).subtract(this._map._getNewPixelOrigin(t,n));$.any3d?ln(this._container,f,o):Ut(this._container,f)},_reset:function(){this._update(),this._updateTransform(this._center,this._zoom);for(var t in this._layers)this._layers[t]._reset()},_onZoomEnd:function(){for(var t in this._layers)this._layers[t]._project()},_updatePaths:function(){for(var t in this._layers)this._layers[t]._update()},_update:function(){var t=this.options.padding,n=this._map.getSize(),o=this._map.containerPointToLayerPoint(n.multiplyBy(-t)).round();this._bounds=new ct(o,o.add(n.multiplyBy(1+t*2)).round()),this._center=this._map.getCenter(),this._zoom=this._map.getZoom()}}),Hr=De.extend({options:{tolerance:0},getEvents:function(){var t=De.prototype.getEvents.call(this);return t.viewprereset=this._onViewPreReset,t},_onViewPreReset:function(){this._postponeUpdatePaths=!0},onAdd:function(){De.prototype.onAdd.call(this),this._draw()},_initContainer:function(){var t=this._container=document.createElement("canvas");st(t,"mousemove",this._onMouseMove,this),st(t,"click dblclick mousedown mouseup contextmenu",this._onClick,this),st(t,"mouseout",this._handleMouseOut,this),t._leaflet_disable_events=!0,this._ctx=t.getContext("2d")},_destroyContainer:function(){Lt(this._redrawRequest),delete this._ctx,zt(this._container),Mt(this._container),delete this._container},_updatePaths:function(){if(!this._postponeUpdatePaths){var t;this._redrawBounds=null;for(var n in this._layers)t=this._layers[n],t._update();this._redraw()}},_update:function(){if(!(this._map._animatingZoom&&this._bounds)){De.prototype._update.call(this);var t=this._bounds,n=this._container,o=t.getSize(),r=$.retina?2:1;Ut(n,t.min),n.width=r*o.x,n.height=r*o.y,n.style.width=o.x+"px",n.style.height=o.y+"px",$.retina&&this._ctx.scale(2,2),this._ctx.translate(-t.min.x,-t.min.y),this.fire("update")}},_reset:function(){De.prototype._reset.call(this),this._postponeUpdatePaths&&(this._postponeUpdatePaths=!1,this._updatePaths())},_initPath:function(t){this._updateDashArray(t),this._layers[d(t)]=t;var n=t._order={layer:t,prev:this._drawLast,next:null};this._drawLast&&(this._drawLast.next=n),this._drawLast=n,this._drawFirst=this._drawFirst||this._drawLast},_addPath:function(t){this._requestRedraw(t)},_removePath:function(t){var n=t._order,o=n.next,r=n.prev;o?o.prev=r:this._drawLast=r,r?r.next=o:this._drawFirst=o,delete t._order,delete this._layers[d(t)],this._requestRedraw(t)},_updatePath:function(t){this._extendRedrawBounds(t),t._project(),t._update(),this._requestRedraw(t)},_updateStyle:function(t){this._updateDashArray(t),this._requestRedraw(t)},_updateDashArray:function(t){if(typeof t.options.dashArray=="string"){var n=t.options.dashArray.split(/[, ]+/),o=[],r,u;for(u=0;u<n.length;u++){if(r=Number(n[u]),isNaN(r))return;o.push(r)}t.options._dashArray=o}else t.options._dashArray=t.options.dashArray},_requestRedraw:function(t){!this._map||(this._extendRedrawBounds(t),this._redrawRequest=this._redrawRequest||ft(this._redraw,this))},_extendRedrawBounds:function(t){if(t._pxBounds){var n=(t.options.weight||0)+1;this._redrawBounds=this._redrawBounds||new ct,this._redrawBounds.extend(t._pxBounds.min.subtract([n,n])),this._redrawBounds.extend(t._pxBounds.max.add([n,n]))}},_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 t=this._redrawBounds;if(t){var n=t.getSize();this._ctx.clearRect(t.min.x,t.min.y,n.x,n.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 t,n=this._redrawBounds;if(this._ctx.save(),n){var o=n.getSize();this._ctx.beginPath(),this._ctx.rect(n.min.x,n.min.y,o.x,o.y),this._ctx.clip()}this._drawing=!0;for(var r=this._drawFirst;r;r=r.next)t=r.layer,(!n||t._pxBounds&&t._pxBounds.intersects(n))&&t._updatePath();this._drawing=!1,this._ctx.restore()},_updatePoly:function(t,n){if(!!this._drawing){var o,r,u,f,g=t._parts,b=g.length,S=this._ctx;if(!!b){for(S.beginPath(),o=0;o<b;o++){for(r=0,u=g[o].length;r<u;r++)f=g[o][r],S[r?"lineTo":"moveTo"](f.x,f.y);n&&S.closePath()}this._fillStroke(S,t)}}},_updateCircle:function(t){if(!(!this._drawing||t._empty())){var n=t._point,o=this._ctx,r=Math.max(Math.round(t._radius),1),u=(Math.max(Math.round(t._radiusY),1)||r)/r;u!==1&&(o.save(),o.scale(1,u)),o.beginPath(),o.arc(n.x,n.y/u,r,0,Math.PI*2,!1),u!==1&&o.restore(),this._fillStroke(o,t)}},_fillStroke:function(t,n){var o=n.options;o.fill&&(t.globalAlpha=o.fillOpacity,t.fillStyle=o.fillColor||o.color,t.fill(o.fillRule||"evenodd")),o.stroke&&o.weight!==0&&(t.setLineDash&&t.setLineDash(n.options&&n.options._dashArray||[]),t.globalAlpha=o.opacity,t.lineWidth=o.weight,t.strokeStyle=o.color,t.lineCap=o.lineCap,t.lineJoin=o.lineJoin,t.stroke())},_onClick:function(t){for(var n=this._map.mouseEventToLayerPoint(t),o,r,u=this._drawFirst;u;u=u.next)o=u.layer,o.options.interactive&&o._containsPoint(n)&&(!(t.type==="click"||t.type==="preclick")||!this._map._draggableMoved(o))&&(r=o);this._fireEvent(r?[r]:!1,t)},_onMouseMove:function(t){if(!(!this._map||this._map.dragging.moving()||this._map._animatingZoom)){var n=this._map.mouseEventToLayerPoint(t);this._handleMouseHover(t,n)}},_handleMouseOut:function(t){var n=this._hoveredLayer;n&&(Nt(this._container,"leaflet-interactive"),this._fireEvent([n],t,"mouseout"),this._hoveredLayer=null,this._mouseHoverThrottled=!1)},_handleMouseHover:function(t,n){if(!this._mouseHoverThrottled){for(var o,r,u=this._drawFirst;u;u=u.next)o=u.layer,o.options.interactive&&o._containsPoint(n)&&(r=o);r!==this._hoveredLayer&&(this._handleMouseOut(t),r&&(at(this._container,"leaflet-interactive"),this._fireEvent([r],t,"mouseover"),this._hoveredLayer=r)),this._fireEvent(this._hoveredLayer?[this._hoveredLayer]:!1,t),this._mouseHoverThrottled=!0,setTimeout(h(function(){this._mouseHoverThrottled=!1},this),32)}},_fireEvent:function(t,n,o){this._map._fireDOMEvent(n,o||n.type,t)},_bringToFront:function(t){var n=t._order;if(!!n){var o=n.next,r=n.prev;if(o)o.prev=r;else return;r?r.next=o:o&&(this._drawFirst=o),n.prev=this._drawLast,this._drawLast.next=n,n.next=null,this._drawLast=n,this._requestRedraw(t)}},_bringToBack:function(t){var n=t._order;if(!!n){var o=n.next,r=n.prev;if(r)r.next=o;else return;o?o.prev=r:r&&(this._drawLast=r),n.prev=null,n.next=this._drawFirst,this._drawFirst.prev=n,this._drawFirst=n,this._requestRedraw(t)}}});function Ur(t){return $.canvas?new Hr(t):null}var hi=function(){try{return document.namespaces.add("lvml","urn:schemas-microsoft-com:vml"),function(t){return document.createElement("<lvml:"+t+' class="lvml">')}}catch{}return function(t){return document.createElement("<"+t+' xmlns="urn:schemas-microsoft.com:vml" class="lvml">')}}(),oc={_initContainer:function(){this._container=wt("div","leaflet-vml-container")},_update:function(){this._map._animatingZoom||(De.prototype._update.call(this),this.fire("update"))},_initPath:function(t){var n=t._container=hi("shape");at(n,"leaflet-vml-shape "+(this.options.className||"")),n.coordsize="1 1",t._path=hi("path"),n.appendChild(t._path),this._updateStyle(t),this._layers[d(t)]=t},_addPath:function(t){var n=t._container;this._container.appendChild(n),t.options.interactive&&t.addInteractiveTarget(n)},_removePath:function(t){var n=t._container;zt(n),t.removeInteractiveTarget(n),delete this._layers[d(t)]},_updateStyle:function(t){var n=t._stroke,o=t._fill,r=t.options,u=t._container;u.stroked=!!r.stroke,u.filled=!!r.fill,r.stroke?(n||(n=t._stroke=hi("stroke")),u.appendChild(n),n.weight=r.weight+"px",n.color=r.color,n.opacity=r.opacity,r.dashArray?n.dashStyle=X(r.dashArray)?r.dashArray.join(" "):r.dashArray.replace(/( *, *)/g," "):n.dashStyle="",n.endcap=r.lineCap.replace("butt","flat"),n.joinstyle=r.lineJoin):n&&(u.removeChild(n),t._stroke=null),r.fill?(o||(o=t._fill=hi("fill")),u.appendChild(o),o.color=r.fillColor||r.color,o.opacity=r.fillOpacity):o&&(u.removeChild(o),t._fill=null)},_updateCircle:function(t){var n=t._point.round(),o=Math.round(t._radius),r=Math.round(t._radiusY||o);this._setPath(t,t._empty()?"M0 0":"AL "+n.x+","+n.y+" "+o+","+r+" 0,"+65535*360)},_setPath:function(t,n){t._path.v=n},_bringToFront:function(t){Cn(t._container)},_bringToBack:function(t){En(t._container)}},Gi=$.vml?hi:T,fi=De.extend({_initContainer:function(){this._container=Gi("svg"),this._container.setAttribute("pointer-events","none"),this._rootGroup=Gi("g"),this._container.appendChild(this._rootGroup)},_destroyContainer:function(){zt(this._container),Mt(this._container),delete this._container,delete this._rootGroup,delete this._svgSize},_update:function(){if(!(this._map._animatingZoom&&this._bounds)){De.prototype._update.call(this);var t=this._bounds,n=t.getSize(),o=this._container;(!this._svgSize||!this._svgSize.equals(n))&&(this._svgSize=n,o.setAttribute("width",n.x),o.setAttribute("height",n.y)),Ut(o,t.min),o.setAttribute("viewBox",[t.min.x,t.min.y,n.x,n.y].join(" ")),this.fire("update")}},_initPath:function(t){var n=t._path=Gi("path");t.options.className&&at(n,t.options.className),t.options.interactive&&at(n,"leaflet-interactive"),this._updateStyle(t),this._layers[d(t)]=t},_addPath:function(t){this._rootGroup||this._initContainer(),this._rootGroup.appendChild(t._path),t.addInteractiveTarget(t._path)},_removePath:function(t){zt(t._path),t.removeInteractiveTarget(t._path),delete this._layers[d(t)]},_updatePath:function(t){t._project(),t._update()},_updateStyle:function(t){var n=t._path,o=t.options;!n||(o.stroke?(n.setAttribute("stroke",o.color),n.setAttribute("stroke-opacity",o.opacity),n.setAttribute("stroke-width",o.weight),n.setAttribute("stroke-linecap",o.lineCap),n.setAttribute("stroke-linejoin",o.lineJoin),o.dashArray?n.setAttribute("stroke-dasharray",o.dashArray):n.removeAttribute("stroke-dasharray"),o.dashOffset?n.setAttribute("stroke-dashoffset",o.dashOffset):n.removeAttribute("stroke-dashoffset")):n.setAttribute("stroke","none"),o.fill?(n.setAttribute("fill",o.fillColor||o.color),n.setAttribute("fill-opacity",o.fillOpacity),n.setAttribute("fill-rule",o.fillRule||"evenodd")):n.setAttribute("fill","none"))},_updatePoly:function(t,n){this._setPath(t,B(t._parts,n))},_updateCircle:function(t){var n=t._point,o=Math.max(Math.round(t._radius),1),r=Math.max(Math.round(t._radiusY),1)||o,u="a"+o+","+r+" 0 1,0 ",f=t._empty()?"M0 0":"M"+(n.x-o)+","+n.y+u+o*2+",0 "+u+-o*2+",0 ";this._setPath(t,f)},_setPath:function(t,n){t._path.setAttribute("d",n)},_bringToFront:function(t){Cn(t._path)},_bringToBack:function(t){En(t._path)}});$.vml&&fi.include(oc);function jr(t){return $.svg||$.vml?new fi(t):null}_t.include({getRenderer:function(t){var n=t.options.renderer||this._getPaneRenderer(t.options.pane)||this.options.renderer||this._renderer;return n||(n=this._renderer=this._createRenderer()),this.hasLayer(n)||this.addLayer(n),n},_getPaneRenderer:function(t){if(t==="overlayPane"||t===void 0)return!1;var n=this._paneRenderers[t];return n===void 0&&(n=this._createRenderer({pane:t}),this._paneRenderers[t]=n),n},_createRenderer:function(t){return this.options.preferCanvas&&Ur(t)||jr(t)}});var Wr=In.extend({initialize:function(t,n){In.prototype.initialize.call(this,this._boundsToLatLngs(t),n)},setBounds:function(t){return this.setLatLngs(this._boundsToLatLngs(t))},_boundsToLatLngs:function(t){return t=xt(t),[t.getSouthWest(),t.getNorthWest(),t.getNorthEast(),t.getSouthEast()]}});function sc(t,n){return new Wr(t,n)}fi.create=Gi,fi.pointsToPath=B,Ne.geometryToLayer=ns,Ne.coordsToLatLng=is,Ne.coordsToLatLngs=ji,Ne.latLngToCoords=os,Ne.latLngsToCoords=Wi,Ne.getFeature=Bn,Ne.asFeature=Ki,_t.mergeOptions({boxZoom:!0});var Kr=Se.extend({initialize:function(t){this._map=t,this._container=t._container,this._pane=t._panes.overlayPane,this._resetStateTimeout=0,t.on("unload",this._destroy,this)},addHooks:function(){st(this._container,"mousedown",this._onMouseDown,this)},removeHooks:function(){Mt(this._container,"mousedown",this._onMouseDown,this)},moved:function(){return this._moved},_destroy:function(){zt(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(t){if(!t.shiftKey||t.which!==1&&t.button!==1)return!1;this._clearDeferredResetState(),this._resetState(),ii(),Fo(),this._startPoint=this._map.mouseEventToContainerPoint(t),st(document,{contextmenu:hn,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseMove:function(t){this._moved||(this._moved=!0,this._box=wt("div","leaflet-zoom-box",this._container),at(this._container,"leaflet-crosshair"),this._map.fire("boxzoomstart")),this._point=this._map.mouseEventToContainerPoint(t);var n=new ct(this._point,this._startPoint),o=n.getSize();Ut(this._box,n.min),this._box.style.width=o.x+"px",this._box.style.height=o.y+"px"},_finish:function(){this._moved&&(zt(this._box),Nt(this._container,"leaflet-crosshair")),oi(),Ho(),Mt(document,{contextmenu:hn,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseUp:function(t){if(!(t.which!==1&&t.button!==1)&&(this._finish(),!!this._moved)){this._clearDeferredResetState(),this._resetStateTimeout=setTimeout(h(this._resetState,this),0);var n=new At(this._map.containerPointToLatLng(this._startPoint),this._map.containerPointToLatLng(this._point));this._map.fitBounds(n).fire("boxzoomend",{boxZoomBounds:n})}},_onKeyDown:function(t){t.keyCode===27&&(this._finish(),this._clearDeferredResetState(),this._resetState())}});_t.addInitHook("addHandler","boxZoom",Kr),_t.mergeOptions({doubleClickZoom:!0});var Vr=Se.extend({addHooks:function(){this._map.on("dblclick",this._onDoubleClick,this)},removeHooks:function(){this._map.off("dblclick",this._onDoubleClick,this)},_onDoubleClick:function(t){var n=this._map,o=n.getZoom(),r=n.options.zoomDelta,u=t.originalEvent.shiftKey?o-r:o+r;n.options.doubleClickZoom==="center"?n.setZoom(u):n.setZoomAround(t.containerPoint,u)}});_t.addInitHook("addHandler","doubleClickZoom",Vr),_t.mergeOptions({dragging:!0,inertia:!0,inertiaDeceleration:3400,inertiaMaxSpeed:1/0,easeLinearity:.2,worldCopyJump:!1,maxBoundsViscosity:0});var qr=Se.extend({addHooks:function(){if(!this._draggable){var t=this._map;this._draggable=new Ge(t._mapPane,t._container),this._draggable.on({dragstart:this._onDragStart,drag:this._onDrag,dragend:this._onDragEnd},this),this._draggable.on("predrag",this._onPreDragLimit,this),t.options.worldCopyJump&&(this._draggable.on("predrag",this._onPreDragWrap,this),t.on("zoomend",this._onZoomEnd,this),t.whenReady(this._onZoomEnd,this))}at(this._map._container,"leaflet-grab leaflet-touch-drag"),this._draggable.enable(),this._positions=[],this._times=[]},removeHooks:function(){Nt(this._map._container,"leaflet-grab"),Nt(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 t=this._map;if(t._stop(),this._map.options.maxBounds&&this._map.options.maxBoundsViscosity){var n=xt(this._map.options.maxBounds);this._offsetLimit=It(this._map.latLngToContainerPoint(n.getNorthWest()).multiplyBy(-1),this._map.latLngToContainerPoint(n.getSouthEast()).multiplyBy(-1).add(this._map.getSize())),this._viscosity=Math.min(1,Math.max(0,this._map.options.maxBoundsViscosity))}else this._offsetLimit=null;t.fire("movestart").fire("dragstart"),t.options.inertia&&(this._positions=[],this._times=[])},_onDrag:function(t){if(this._map.options.inertia){var n=this._lastTime=+new Date,o=this._lastPos=this._draggable._absPos||this._draggable._newPos;this._positions.push(o),this._times.push(n),this._prunePositions(n)}this._map.fire("move",t).fire("drag",t)},_prunePositions:function(t){for(;this._positions.length>1&&t-this._times[0]>50;)this._positions.shift(),this._times.shift()},_onZoomEnd:function(){var t=this._map.getSize().divideBy(2),n=this._map.latLngToLayerPoint([0,0]);this._initialWorldOffset=n.subtract(t).x,this._worldWidth=this._map.getPixelWorldBounds().getSize().x},_viscousLimit:function(t,n){return t-(t-n)*this._viscosity},_onPreDragLimit:function(){if(!(!this._viscosity||!this._offsetLimit)){var t=this._draggable._newPos.subtract(this._draggable._startPos),n=this._offsetLimit;t.x<n.min.x&&(t.x=this._viscousLimit(t.x,n.min.x)),t.y<n.min.y&&(t.y=this._viscousLimit(t.y,n.min.y)),t.x>n.max.x&&(t.x=this._viscousLimit(t.x,n.max.x)),t.y>n.max.y&&(t.y=this._viscousLimit(t.y,n.max.y)),this._draggable._newPos=this._draggable._startPos.add(t)}},_onPreDragWrap:function(){var t=this._worldWidth,n=Math.round(t/2),o=this._initialWorldOffset,r=this._draggable._newPos.x,u=(r-n+o)%t+n-o,f=(r+n+o)%t-n-o,g=Math.abs(u+o)<Math.abs(f+o)?u:f;this._draggable._absPos=this._draggable._newPos.clone(),this._draggable._newPos.x=g},_onDragEnd:function(t){var n=this._map,o=n.options,r=!o.inertia||t.noInertia||this._times.length<2;if(n.fire("dragend",t),r)n.fire("moveend");else{this._prunePositions(+new Date);var u=this._lastPos.subtract(this._positions[0]),f=(this._lastTime-this._times[0])/1e3,g=o.easeLinearity,b=u.multiplyBy(g/f),S=b.distanceTo([0,0]),z=Math.min(o.inertiaMaxSpeed,S),V=b.multiplyBy(z/S),lt=z/(o.inertiaDeceleration*g),mt=V.multiplyBy(-lt/2).round();!mt.x&&!mt.y?n.fire("moveend"):(mt=n._limitOffset(mt,n.options.maxBounds),ft(function(){n.panBy(mt,{duration:lt,easeLinearity:g,noMoveStart:!0,animate:!0})}))}}});_t.addInitHook("addHandler","dragging",qr),_t.mergeOptions({keyboard:!0,keyboardPanDelta:80});var $r=Se.extend({keyCodes:{left:[37],right:[39],down:[40],up:[38],zoomIn:[187,107,61,171],zoomOut:[189,109,54,173]},initialize:function(t){this._map=t,this._setPanDelta(t.options.keyboardPanDelta),this._setZoomDelta(t.options.zoomDelta)},addHooks:function(){var t=this._map._container;t.tabIndex<=0&&(t.tabIndex="0"),st(t,{focus:this._onFocus,blur:this._onBlur,mousedown:this._onMouseDown},this),this._map.on({focus:this._addHooks,blur:this._removeHooks},this)},removeHooks:function(){this._removeHooks(),Mt(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 t=document.body,n=document.documentElement,o=t.scrollTop||n.scrollTop,r=t.scrollLeft||n.scrollLeft;this._map._container.focus(),window.scrollTo(r,o)}},_onFocus:function(){this._focused=!0,this._map.fire("focus")},_onBlur:function(){this._focused=!1,this._map.fire("blur")},_setPanDelta:function(t){var n=this._panKeys={},o=this.keyCodes,r,u;for(r=0,u=o.left.length;r<u;r++)n[o.left[r]]=[-1*t,0];for(r=0,u=o.right.length;r<u;r++)n[o.right[r]]=[t,0];for(r=0,u=o.down.length;r<u;r++)n[o.down[r]]=[0,t];for(r=0,u=o.up.length;r<u;r++)n[o.up[r]]=[0,-1*t]},_setZoomDelta:function(t){var n=this._zoomKeys={},o=this.keyCodes,r,u;for(r=0,u=o.zoomIn.length;r<u;r++)n[o.zoomIn[r]]=t;for(r=0,u=o.zoomOut.length;r<u;r++)n[o.zoomOut[r]]=-t},_addHooks:function(){st(document,"keydown",this._onKeyDown,this)},_removeHooks:function(){Mt(document,"keydown",this._onKeyDown,this)},_onKeyDown:function(t){if(!(t.altKey||t.ctrlKey||t.metaKey)){var n=t.keyCode,o=this._map,r;if(n in this._panKeys)(!o._panAnim||!o._panAnim._inProgress)&&(r=this._panKeys[n],t.shiftKey&&(r=et(r).multiplyBy(3)),o.panBy(r),o.options.maxBounds&&o.panInsideBounds(o.options.maxBounds));else if(n in this._zoomKeys)o.setZoom(o.getZoom()+(t.shiftKey?3:1)*this._zoomKeys[n]);else if(n===27&&o._popup&&o._popup.options.closeOnEscapeKey)o.closePopup();else return;hn(t)}}});_t.addInitHook("addHandler","keyboard",$r),_t.mergeOptions({scrollWheelZoom:!0,wheelDebounceTime:40,wheelPxPerZoomLevel:60});var Gr=Se.extend({addHooks:function(){st(this._map._container,"wheel",this._onWheelScroll,this),this._delta=0},removeHooks:function(){Mt(this._map._container,"wheel",this._onWheelScroll,this)},_onWheelScroll:function(t){var n=Ar(t),o=this._map.options.wheelDebounceTime;this._delta+=n,this._lastMousePos=this._map.mouseEventToContainerPoint(t),this._startTime||(this._startTime=+new Date);var r=Math.max(o-(+new Date-this._startTime),0);clearTimeout(this._timer),this._timer=setTimeout(h(this._performZoom,this),r),hn(t)},_performZoom:function(){var t=this._map,n=t.getZoom(),o=this._map.options.zoomSnap||0;t._stop();var r=this._delta/(this._map.options.wheelPxPerZoomLevel*4),u=4*Math.log(2/(1+Math.exp(-Math.abs(r))))/Math.LN2,f=o?Math.ceil(u/o)*o:u,g=t._limitZoom(n+(this._delta>0?f:-f))-n;this._delta=0,this._startTime=null,g&&(t.options.scrollWheelZoom==="center"?t.setZoom(n+g):t.setZoomAround(this._lastMousePos,n+g))}});_t.addInitHook("addHandler","scrollWheelZoom",Gr);var rc=600;_t.mergeOptions({tapHold:$.touchNative&&$.safari&&$.mobile,tapTolerance:15});var Yr=Se.extend({addHooks:function(){st(this._map._container,"touchstart",this._onDown,this)},removeHooks:function(){Mt(this._map._container,"touchstart",this._onDown,this)},_onDown:function(t){if(clearTimeout(this._holdTimeout),t.touches.length===1){var n=t.touches[0];this._startPos=this._newPos=new U(n.clientX,n.clientY),this._holdTimeout=setTimeout(h(function(){this._cancel(),this._isTapValid()&&(st(document,"touchend",Xt),st(document,"touchend touchcancel",this._cancelClickPrevent),this._simulateEvent("contextmenu",n))},this),rc),st(document,"touchend touchcancel contextmenu",this._cancel,this),st(document,"touchmove",this._onMove,this)}},_cancelClickPrevent:function t(){Mt(document,"touchend",Xt),Mt(document,"touchend touchcancel",t)},_cancel:function(){clearTimeout(this._holdTimeout),Mt(document,"touchend touchcancel contextmenu",this._cancel,this),Mt(document,"touchmove",this._onMove,this)},_onMove:function(t){var n=t.touches[0];this._newPos=new U(n.clientX,n.clientY)},_isTapValid:function(){return this._newPos.distanceTo(this._startPos)<=this._map.options.tapTolerance},_simulateEvent:function(t,n){var o=new MouseEvent(t,{bubbles:!0,cancelable:!0,view:window,screenX:n.screenX,screenY:n.screenY,clientX:n.clientX,clientY:n.clientY});o._simulated=!0,n.target.dispatchEvent(o)}});_t.addInitHook("addHandler","tapHold",Yr),_t.mergeOptions({touchZoom:$.touch,bounceAtZoomLimits:!0});var Qr=Se.extend({addHooks:function(){at(this._map._container,"leaflet-touch-zoom"),st(this._map._container,"touchstart",this._onTouchStart,this)},removeHooks:function(){Nt(this._map._container,"leaflet-touch-zoom"),Mt(this._map._container,"touchstart",this._onTouchStart,this)},_onTouchStart:function(t){var n=this._map;if(!(!t.touches||t.touches.length!==2||n._animatingZoom||this._zooming)){var o=n.mouseEventToContainerPoint(t.touches[0]),r=n.mouseEventToContainerPoint(t.touches[1]);this._centerPoint=n.getSize()._divideBy(2),this._startLatLng=n.containerPointToLatLng(this._centerPoint),n.options.touchZoom!=="center"&&(this._pinchStartLatLng=n.containerPointToLatLng(o.add(r)._divideBy(2))),this._startDist=o.distanceTo(r),this._startZoom=n.getZoom(),this._moved=!1,this._zooming=!0,n._stop(),st(document,"touchmove",this._onTouchMove,this),st(document,"touchend touchcancel",this._onTouchEnd,this),Xt(t)}},_onTouchMove:function(t){if(!(!t.touches||t.touches.length!==2||!this._zooming)){var n=this._map,o=n.mouseEventToContainerPoint(t.touches[0]),r=n.mouseEventToContainerPoint(t.touches[1]),u=o.distanceTo(r)/this._startDist;if(this._zoom=n.getScaleZoom(u,this._startZoom),!n.options.bounceAtZoomLimits&&(this._zoom<n.getMinZoom()&&u<1||this._zoom>n.getMaxZoom()&&u>1)&&(this._zoom=n._limitZoom(this._zoom)),n.options.touchZoom==="center"){if(this._center=this._startLatLng,u===1)return}else{var f=o._add(r)._divideBy(2)._subtract(this._centerPoint);if(u===1&&f.x===0&&f.y===0)return;this._center=n.unproject(n.project(this._pinchStartLatLng,this._zoom).subtract(f),this._zoom)}this._moved||(n._moveStart(!0,!1),this._moved=!0),Lt(this._animRequest);var g=h(n._move,n,this._center,this._zoom,{pinch:!0,round:!1});this._animRequest=ft(g,this,!0),Xt(t)}},_onTouchEnd:function(){if(!this._moved||!this._zooming){this._zooming=!1;return}this._zooming=!1,Lt(this._animRequest),Mt(document,"touchmove",this._onTouchMove,this),Mt(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))}});_t.addInitHook("addHandler","touchZoom",Qr),_t.BoxZoom=Kr,_t.DoubleClickZoom=Vr,_t.Drag=qr,_t.Keyboard=$r,_t.ScrollWheelZoom=Gr,_t.TapHold=Yr,_t.TouchZoom=Qr,s.Bounds=ct,s.Browser=$,s.CRS=D,s.Canvas=Hr,s.Circle=es,s.CircleMarker=Ui,s.Class=Rt,s.Control=ve,s.DivIcon=Nr,s.DivOverlay=Me,s.DomEvent=Pu,s.DomUtil=xu,s.Draggable=Ge,s.Evented=pt,s.FeatureGroup=Mn,s.GeoJSON=Ne,s.GridLayer=ci,s.Handler=Se,s.Icon=kn,s.ImageOverlay=Vi,s.LatLng=P,s.LatLngBounds=At,s.Layer=ye,s.LayerGroup=Sn,s.LineUtil=zu,s.Map=_t,s.Marker=Hi,s.Mixin=ku,s.Path=Ye,s.Point=U,s.PolyUtil=Zu,s.Polygon=In,s.Polyline=Ze,s.Popup=qi,s.PosAnimation=xr,s.Projection=Nu,s.Rectangle=Wr,s.Renderer=De,s.SVG=fi,s.SVGOverlay=Zr,s.TileLayer=On,s.Tooltip=$i,s.Transformation=nt,s.Util=le,s.VideoOverlay=zr,s.bind=h,s.bounds=It,s.canvas=Ur,s.circle=Vu,s.circleMarker=Ku,s.control=ai,s.divIcon=ec,s.extend=l,s.featureGroup=Uu,s.geoJSON=Rr,s.geoJson=Gu,s.gridLayer=nc,s.icon=ju,s.imageOverlay=Yu,s.latLng=F,s.latLngBounds=xt,s.layerGroup=Hu,s.map=Lu,s.marker=Wu,s.point=et,s.polygon=$u,s.polyline=qu,s.popup=Ju,s.rectangle=sc,s.setOptions=R,s.stamp=d,s.svg=jr,s.svgOverlay=Xu,s.tileLayer=Dr,s.tooltip=tc,s.transformation=J,s.version=a,s.videoOverlay=Qu;var ac=window.L;s.noConflict=function(){return window.L=ac,this},window.L=s})})(zs,zs.exports);const ps=zs.exports;const Qn=e=>(Pn("data-v-ffdd771a"),e=e(),Ln(),e),Q_=Fl('<div class="w-2/4 m-auto mt-10 bg-gray-300" data-v-ffdd771a><h2 class="bg-black text-white text-xl mb-5 px-2" data-v-ffdd771a>\u57FA\u672C\u60C5\u5831</h2><div class="w-[90%] m-auto overflow-auto" data-v-ffdd771a><div class="mb-5" data-v-ffdd771a><h3 class="mb-2 px-3" data-v-ffdd771a>\u30B9\u30DD\u30C3\u30C8\u540D</h3><form data-v-ffdd771a><textarea name="title" rows="1" class="w-full py-1 px-3" data-v-ffdd771a></textarea></form></div></div></div>',1),X_={class:"w-2/4 m-auto mt-10 mb-14 bg-gray-300"},J_=Qn(()=>x("h2",{class:"bg-black text-white text-xl mb-5 px-2"},"\u753B\u50CF\u60C5\u5831",-1)),tm={class:"flex flex-col justify-center items-center"},em=["onDrop"],nm=["src"],im={key:0,class:"text-[#aaa] text-center"},om=Vt(" \u753B\u50CF\u3092\u30C9\u30E9\u30C3\u30B0\uFF06\u30C9\u30ED\u30C3\u30D7 "),sm=Qn(()=>x("br",null,null,-1)),rm=Vt("\u307E\u305F\u306F\u30AF\u30EA\u30C3\u30AF\u3067\u30D5\u30A1\u30A4\u30EB\u9078\u629E "),am=[om,sm,rm],lm=Qn(()=>x("div",{class:"w-[90%] m-auto overflow-auto"},null,-1)),um={class:"w-2/4 m-auto mt-10 mb-14 bg-gray-300"},cm=Qn(()=>x("h2",{class:"bg-black text-white text-xl px-2"},"\u4F4D\u7F6E\u60C5\u5831\u306E\u8A2D\u5B9A",-1)),hm={id:"map",ref:"map",class:"h-[400px]"},fm=Qn(()=>x("div",{class:"w-[90%] m-auto overflow-auto"},null,-1)),dm=Qn(()=>x("div",{class:"flex justify-center items-center"},[x("button",{class:"w-48 h-12 mb-10 btn-gray"},"\u4FDD\u5B58")],-1)),pm={__name:"Spot",setup(e){let i=Q(),s=Q();Xs(()=>{let A=ps.map("map").fitWorld();ps.tileLayer("https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png",{attribution:'&copy; <a href="http://osm.org/copyright">OpenStreetMap</a> contributors',maxZoom:15,tileSize:512,zoomOffset:-1}).addTo(A),A.setView([38.575,136.984],5);let E;A.on("click",function(M){E&&A.removeLayer(E),E=ps.marker(M.latlng).addTo(A),E.bindPopup("\u7DEF\u5EA6:"+M.latlng.lat+"<br>\u7D4C\u5EA6:"+M.latlng.lng).openPopup(),i.value=M.latlng.lat,s.value=M.latlng.lng})});let a=Q(!1),l=Q(""),c=Q("");const h=Q(""),p=()=>{a.value=!0},d=()=>{a.value=!1},m=A=>{const E=new FileReader;E.onload=M=>{l.value=M.target.result},E.readAsDataURL(A)},v=A=>{a.value=!1,h.value=A.dataTransfer.files,m(h.value[0]),c.value=h.value[0].name},y=A=>{h.value=A.target.files||A.dataTransfer.files,m(h.value[0]),c.value=h.value[0].name};return(A,E)=>(Bt(),Zt("div",null,[kt(Ii),Q_,x("div",X_,[J_,x("div",tm,[x("div",{class:_e(["flex flex-col justify-center items-center w-[40vmin] h-[40vmin] bg-[#eee] mb-5 relative",{enter:it(a)}]),onDragenter:p,onDragleave:d,onDragover:E[0]||(E[0]=Kn(()=>{},["prevent"])),onDrop:Kn(v,["prevent"])},[We(x("img",{src:it(l),class:"py-2 object-cover max-h-[40vmin] max-w-[40vmin]"},null,8,nm),[[mo,it(l)]]),x("p",null,xn(it(c)),1),x("input",{ref:"preview",type:"file",accept:".jpeg, .png, .gif",class:"w-full h-full absolute top-0 left-0 opacity-0 cursor-pointer",onChange:y},null,544),it(l)?je("",!0):(Bt(),Zt("p",im,am))],42,em)]),lm]),x("div",um,[cm,x("div",hm,null,512),x("p",null,xn("\u7DEF\u5EA6:"+it(i)+"\u7D4C\u5EA6:"+it(s)),1),fm]),dm]))}},_m=qe(pm,[["__scopeId","data-v-ffdd771a"]]);const Xn=e=>(Pn("data-v-1efa1a7c"),e=e(),Ln(),e),mm={class:"flex-1"},gm={key:0,class:"w-[60%] h-[70%] z-40 overflow-auto position-center bg-white border border-black"},vm={class:"h-full flex flex-col items-center justify-around mb-10"},ym=Xn(()=>x("h2",{class:"text-center text-xl my-5"},"\u30B9\u30C3\u30DD\u30C8\u540D\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",-1)),wm={key:0},Am={class:"w-3/4 m-auto mt-10 flex-1"},xm=Xn(()=>x("h2",{class:"text-2xl ml-[3%]"},"\u30B9\u30DD\u30C3\u30C8\u4E00\u89A7",-1)),bm={class:"table-fixed mb-10 w-full"},Pm=Xn(()=>x("thead",null,[x("tr",null,[x("th",{class:"w-1/6 h-auto border px-4 py-4"}),x("th",{class:"w-2/3 h-auto border px-4 py-4"},"\u30B9\u30DD\u30C3\u30C8\u540D"),x("th",{class:"h-auto border px-4 py-4"},"\u7DE8\u96C6")])],-1)),Lm=Xn(()=>x("td",{class:"border px-4 py-2"},[x("img",{src:""})],-1)),Tm={class:"border px-4 py-2"},Cm={class:"border px-4 py-2"},Em=Xn(()=>x("br",null,null,-1)),Sm=["onClick"],Mm=Xn(()=>x("div",{class:"flex justify-center items-center"},[x("button",{class:"btn-gray w-56 h-16 m-auto"},"\u3082\u3063\u3068\u898B\u308B")],-1)),km={__name:"SpotList",setup(e){let i=Q(!1);const s=()=>{i.value=!i.value,c.value="",l.value=!1},a=me({spots:[]});let l=Q(!1),c=Q("");const h=()=>{c.value===""?l.value=!0:(a.spots.push({name:c.value}),s())},p=d=>{console.log(d),confirm("\u672C\u5F53\u306B\u524A\u9664\u3057\u307E\u3059\u304B?")&&a.spots.splice(d,1)};return(d,m)=>(Bt(),Zt("div",mm,[kt(Ii),it(i)?(Bt(),Zt("div",gm,[x("button",{class:"text-4xl absolute top-3 right-5",onClick:s},"\xD7"),x("div",vm,[ym,We(x("textarea",{id:"title","onUpdate:modelValue":m[0]||(m[0]=v=>Wt(c)?c.value=v:c=v),rows:"1",class:_e(["w-[80%] h-10 text-xl py-1 px-3 text-center border border-black bottom-1",{error:it(l)}])},null,2),[[Wl,it(c)]]),it(l)?(Bt(),Zt("span",wm,"\xD7\u30B9\u30DD\u30C3\u30C8\u306E\u540D\u524D\u304C\u5165\u529B\u3055\u308C\u3066\u3044\u307E\u305B\u3093")):je("",!0),x("button",{class:"w-48 h-10 mb-10 btn-gray",onClick:m[1]||(m[1]=v=>h())},"\u4F5C\u6210\u3059\u308B")])])):je("",!0),x("div",Am,[x("div",{class:"flex justify-between items-center mb-5"},[xm,x("button",{class:"btn-gray w-48 h-12 mr-[3%]",onClick:s},"\uFF0B\u65B0\u898F\u4F5C\u6210")]),x("table",bm,[Pm,x("tbody",null,[(Bt(!0),Zt(pe,null,tr(a.spots,(v,y)=>(Bt(),Zt("tr",{key:v},[Lm,x("td",Tm,xn(v.name),1),x("td",Cm,[x("button",{class:"btn-gray mb-3 w-4/5",onClick:m[2]||(m[2]=A=>d.$router.push("/spot"))},"\u7DE8\u96C6\u3059\u308B"),Em,x("button",{class:"btn-gray",onClick:A=>p(y)},"\u524A\u9664\u3059\u308B",8,Sm)])]))),128))])]),Mm])]))}},Im=qe(km,[["__scopeId","data-v-1efa1a7c"]]),Va="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAMAAACdt4HsAAAAA3NCSVQICAjb4U/gAAAACXBIWXMAAAFEAAABRAFNDLVcAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAARRQTFRF////AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAATuftfQAAAFt0Uk5TAAEDBAUGBwgKEBIVGBobHR4iIycoLDI0N0BFS05RV1lhZWdoamttb3F0dXZ/gomYm6GiqKytrq+zvL6/wcPExcbN0dXZ29/j5Obn6Onq7e7v8vT19vf4+/z9/sWqISEAAAGxSURBVFjD7ZdbWxJRFIY/NA8JOmplqHiINBMKrUAtz9hhPBB4THv////ogsdmhtmzhxnuivd2sd4Z1rd5WFsKkStVXSJYUzyFBtE8LMT2V7Byk497PjE0pqz92QugVXRMNYAP8HXMJlgHmhHPABg+gP1hi6AKFBUtUPY7fMpEC1zAsQn04hIqpvKzUu3H9X37QzaB5h/gdbj65vbvnGMEegv38x21zJYvKJtgWpI24WomWFuhS8G6JD3ZhbNJf8m5BBqvpkcHbIIz4FCSNPYNTp76Su+A83H/9zSxBfwelyQ9b8GXIa+0AywrTlAG+DwoSZr7BR+90ikwESvI/QTYfilJWgXehwKyC7TY+cNKKtBGrwItNXsUaKJcc3sSyNDTF/zbgvzeXYi9fALBkemP6SiB4NgkOE4gmK2H++uziYY4EqJ/kPonsX8S/x+BbdEM4ACuQWBbdQMUgapBYFu2/Uw1H3e+DoFt3fe9f7EFXGRNA4m9cHgUzBOtdNtfiYrEeunybj6FyEyt1742brWUCwwlZfoeKdP3SJm+R8r0faRL30+q9IPvkCL9ICnSlyT9Afwy1MlUGrZ6AAAAAElFTkSuQmCC";const Bm={class:"w-2/4 m-auto mt-10 bg-gray-300 mb-10"},Om=x("h2",{class:"bg-black text-white text-xl mb-5 px-2"},"\u516C\u958B\u60C5\u5831",-1),Rm={class:"w-[90%] m-auto overflow-auto"},zm={class:"mb-5"},Zm=x("h3",{class:"mb-2 px-3"},"\u30C6\u30B9\u30C8\u7528URL",-1),Nm={class:"w-full py-1 px-3 bg-white h-12 flex justify-between items-center relative"},Dm=x("p",null,"http://fhheuahfaewfignkewn.com",-1),Fm={class:"mb-5"},Hm=x("h3",{class:"mb-2 px-3"},"\u516C\u958B\u7528URL",-1),Um={class:"w-full py-1 px-3 bg-white h-12 flex justify-between items-center relative"},jm=x("p",null,"https://hogehoge.com",-1),Wm=x("div",{class:"flex justify-center items-center"},[x("button",{class:"w-48 h-12 mb-10 btn-gray"},"\u516C\u958B\u3059\u308B")],-1),Km={__name:"Public",setup(e){const i="http://hogehoge.com",s="http://fhheuahfaewfignkewn.com";let a=Q(!1),l=Q(!1);const c=h=>{navigator.clipboard.writeText(h).then(()=>{h===s?(a.value=!0,setTimeout(function(){a.value=!1}.bind(this),2e3)):(l.value=!0,setTimeout(function(){l.value=!1}.bind(this),2e3))}).catch(p=>{console.error(p)})};return(h,p)=>(Bt(),Zt("div",null,[kt(Ii),x("div",Bm,[Om,x("div",Rm,[x("div",zm,[Zm,x("div",Nm,[Dm,x("img",{class:"h-8 object-cover cursor-pointer hover:h-10 hover:transition-[.3s]",src:Va,onClick:p[0]||(p[0]=d=>c(s))}),x("span",{class:_e(["absolute z-10 -top-5 right-0 text-sm opacity-0 transition-[.3s]",{copyAction:it(a)}])}," \u30B3\u30D4\u30FC\u3057\u307E\u3057\u305F ",2)])]),x("div",Fm,[Hm,x("div",Um,[jm,x("img",{class:"h-8 object-cover cursor-pointer hover:h-10 hover:transition-[.3s]",src:Va,onClick:p[1]||(p[1]=d=>c(i))}),x("span",{class:_e(["absolute z-10 -top-5 right-0 text-sm opacity-0 transition-[.3s]",{copyAction:it(l)}])}," \u30B3\u30D4\u30FC\u3057\u307E\u3057\u305F ",2)])])])]),Wm]))}},Vm=[{path:"/login",component:op},{path:"/singup",component:dp},{path:"/rallylist",component:Kp},{path:"/edit",component:v_},{path:"/setting-ar",component:G_},{path:"/spot",component:_m},{path:"/spotlist",name:"spotlist",component:Im},{path:"/public",component:Km}],qm=$d({history:ud("/gitbucket/Fumiya238/nocode-AR/pages/rallylist/"),routes:Vm});Nf(Kf).use(qm).mount("#app");